@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231004.0 → 0.0.0-nightly-20231006.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 (31) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +6 -6
  3. package/src/changeitem.js +1 -1
  4. package/src/editor/revisionviewereditor.js +1 -1
  5. package/src/editor/revisionviewereditorui.js +1 -1
  6. package/src/editor/revisionviewereditoruiview.js +1 -1
  7. package/src/revision.js +1 -1
  8. package/src/revisiondiff.js +1 -1
  9. package/src/revisionhistory.js +1 -1
  10. package/src/revisionsrepository.js +1 -1
  11. package/src/revisiontracker.js +1 -1
  12. package/src/revisionviewer.js +1 -1
  13. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  14. package/src/ui/revision/revisionauthorview.js +1 -1
  15. package/src/ui/revision/revisionnameview.js +1 -1
  16. package/src/ui/revision/revisionview.js +1 -1
  17. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  18. package/src/ui/revision/subrevisionview.js +1 -1
  19. package/src/ui/revision/utils.js +1 -1
  20. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  22. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  26. package/src/ui/revisionssidebar/utils.js +1 -1
  27. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  28. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  29. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  31. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9c80=['dataToMarker','high','processor','data','revisionHistory','restoreRevision','_makeTape','span','_markMarkers','adapter','restoreRevisionCallback','addRevision','_removeUnsupportedChanges','markersEnd','removeMarker:revision','target','getRevision','addRoot','insertions','_sortAndFilterDiffChanges','find','getClientRects','done','toModel','revision-viewer','getIndex','data-change-id','getCustomProperty','sort','_update','attributesAfter','_step','offsetSize','push','isReady','oldRevisionId','delete','hasClass','attachChange','suggestion','domEvent','elementEnd','downcastDispatcher','requires','showNextChange','end','getAttribute','parse','distance','includes','pairId','activeView','length','markerNameToElements','_getDiff','unbindElementFromMarkerName','index','wrap','_initInteractions','slice','createAttributeElement','maxOffset','revision-start','mousedown','isEqual','addHighlight','_markMismatchedRemovedTags','isAtEnd','return','removeMarker','markerRange','attributes','hasAttribute','all','ck-suggestion-marker--active','insertion','previousPosition','_cleanUp','getRevisionRootsAttributes','elementStart','markerName','splice','refresh','plugins','locale','POSITIVE_INFINITY','ck-revision-history-root--active','repository','deletions','from','then','keys','upcast','observeMarkers','config','vid','ck-suggestion-marker-split','isAfter','writer','toViewRange','isLimit','execute','enableReadOnlyMode','revision:','createRevision','consumable','map','suggestion:','createPositionFromPath','shift','change:isReady','filter','_makeModelFromTape','_findChangeIdFromDomTarget','code','document','abs','change','init','error','toViewElement','range','_appendChild','model','getAttributes','useFillerType','values','for','loadRevisionData','isRemoveSuggestion','isInline','_balloon','item','_getRevisionsRange','getDomRoot','_cleanMarkers','removeClass','indexOf','pop','unshift','revisionHistoryAttachChange','isBefore','isBlock','compare','mouseover','mapper','_makeModelFromViewString','userId','_markSuggestions','_changeView','detachRoot','_markInsertions','change:isEnabled','getRootNames','name','forEach','numberOfChanges','bind','isSuggestion','markersStart','isIncorrect','addMarker:revision-suggestion:deletion','_getViewObj','resolve','attributesBefore','test','viewItem','next','ck-editor__editable__overlay','editingDowncast','isAddSuggestion','conversion','editor','_threeWayMerge','backward','roots','enqueueChange','markers','addMarker:revision-suggestion:insertion','ck-suggestion-marker-merge','vid_end','add','ck-revision-history-root-remove','changes','createRange','createUIElement','_setDistance','_getChangeFromId','_removeRevisionMarkers','createPositionBefore','nodeAfter','element','remove','toViewPosition','_processTape','has','attribute:vid','insert','string','children','revisionHistoryLabel','_removeMissingPairs','side','isRemoved','diffData','updatePosition','WidgetToolbarRepository','merge','reconvertMarker','markerToHighlight','diff','consume','ck-suggestion-marker-','bindElementToMarker','view','activeChange','RevisionsRepository','deletion','isObject','revision-suggestion','isOnRoot','createRangeIn','isEnabled','removeMarker:revision-suggestion','set','findIndex','-new','isAttached','schema','removeAttribute','RevisionViewer','softBreak','data-revision-','highest','text','start','default','nextPosition','_activeViewTarget','uiElement','isAdded','destroy','getChild','get','ck-revision-history-root-add','level','markerToData','newRevisionId','showStack','_refreshStartEndIndex','bottom','_changeIdToChange','showPreviousChange','clear','vid_start','editing','first','rootName','type','currentChangeNumber','addClass','flat','startIndex','endIndex','_data','listenTo','ck-suggestion-preview-marker-','collaboration.channelId','concat','setAttribute','selection','forward','commands','_fixObsoleteTags','low','parent','changeId','element:pre','_getViewForChange','stop','ck-suggestion-marker','getRoot','_revisions','split','startsWith','isContent','dataDowncast','modelRange','revision','nextSibling'];(function(_0x132fd4,_0x9c80d4){const _0x3878d9=function(_0x50f4b5){while(--_0x50f4b5){_0x132fd4['push'](_0x132fd4['shift']());}};_0x3878d9(++_0x9c80d4);}(_0x9c80,0xb4));const _0x3878=function(_0x132fd4,_0x9c80d4){_0x132fd4=_0x132fd4-0x0;let _0x3878d9=_0x9c80[_0x132fd4];return _0x3878d9;};import{Plugin as _0x1fa2b3,Command as _0x3e15ab}from'ckeditor5/src/core';import{scrollViewportToShowTarget as _0x483bb9}from'ckeditor5/src/utils';import{ContextualBalloon as _0x447fd1}from'ckeditor5/src/ui';import{DocumentFragment as _0x423ec4,Element as _0x1babb1,Text as _0x3d0803,ViewDocumentFragment as _0x26868d,ViewText as _0x34a9fe,ViewElement as _0x120c4a,ViewContainerElement as _0x3c693a,ViewAttributeElement as _0x63f4a9,ViewEmptyElement as _0x366ea0,ViewRawElement as _0x4c8340,ViewUIElement as _0x269adb}from'ckeditor5/src/engine';import{Users as _0x4af7d7,getMarkerDomElement as _0xbc3fb0}from'ckeditor5-collaboration/src/collaboration-core';import _0x1fb614 from'./ui/revisionviewer/changedetailsview';import _0x1890ae from'./revisionsrepository';import _0x2cd055 from'./changeitem';import{default as _0x3324a3}from'./revisiondiff';import'../theme/revisionviewer.css';import{cloneDeep as _0x3d95ca}from'lodash-es';const tt={'c':_0x3c693a,'a':_0x63f4a9,'e':_0x366ea0,'r':_0x4c8340,'u':_0x269adb};export default class d extends _0x1fa2b3{static get['pluginName'](){return _0x3878('0x32');}static get[_0x3878('0x99')](){return[_0x4af7d7,_0x447fd1,_0x1890ae];}constructor(_0x9e5321){super(_0x9e5321),this[_0x3878('0xc5')]=this[_0x3878('0x11a')]['plugins'][_0x3878('0x3f')](_0x3878('0x24')),this['set'](_0x3878('0x23'),null),this['set'](_0x3878('0xa1'),null),this[_0x3878('0x3a')]=null,this[_0x3878('0x2c')]('diff',null),this['set'](_0x3878('0x90'),!0x1),this[_0x3878('0x2c')](_0x3878('0x2a'),!0x0),this['on'](_0x3878('0x106'),(_0x2d6404,_0x1ee9c5,_0x5e3138)=>{this['activeChange']=null,this[_0x3878('0xa1')]=null,this[_0x3878('0x11a')]['editing']['view']['change'](_0x44df6c=>{for(const _0x1d0b02 of this[_0x3878('0x11a')][_0x3878('0x4b')][_0x3878('0x22')][_0x3878('0xe1')][_0x3878('0x11d')])_0x5e3138?_0x44df6c[_0x3878('0xf6')](_0x3878('0x116'),_0x1d0b02):_0x44df6c[_0x3878('0x50')](_0x3878('0x116'),_0x1d0b02);});}),this[_0x3878('0x10b')]('isNavigationMode')['to'](this,_0x3878('0x23'),_0x24fbc8=>null!==_0x24fbc8),this[_0x3878('0x10b')](_0x3878('0x4f'))['to'](this,_0x3878('0x90'),this,_0x3878('0x1e'),this,'activeChange',(_0xed065e,_0x3af010,_0x5b7651)=>_0xed065e&&_0x5b7651?_0x3af010[_0x3878('0x3')][_0x3878('0x87')](_0x5b7651):0x0),this[_0x3878('0x10b')](_0x3878('0x10a'))['to'](this,_0x3878('0x90'),this,_0x3878('0x1e'),(_0x873003,_0x13abfe)=>_0x873003?_0x13abfe[_0x3878('0x3')][_0x3878('0xa2')]:0x0),this['_changeView']=null,this[_0x3878('0x47')]=new Map(),this[_0x3878('0x77')]=null,this[_0x3878('0xf1')]=this[_0x3878('0x11a')][_0x3878('0xc1')]['get'](_0x447fd1);}[_0x3878('0xe4')](){const _0x3a3104=this['editor'],_0x11cc5c=new ShowChangeCommand(_0x3a3104,{'direction':_0x3878('0x11c')}),_0x14f4b8=new ShowChangeCommand(_0x3a3104,{'direction':_0x3878('0x5b')});(_0x3a3104[_0x3878('0x5c')][_0x3878('0x1')](_0x3878('0x48'),_0x11cc5c),_0x3a3104[_0x3878('0x5c')][_0x3878('0x1')](_0x3878('0x9a'),_0x14f4b8),_0x3a3104['commands'][_0x3878('0x1')](_0x3878('0x73'),new RestoreRevisionCommand(_0x3a3104)),this['on']('change:numberOfChanges',()=>{_0x11cc5c[_0x3878('0xc0')](),_0x14f4b8[_0x3878('0xc0')]();}),this['_setConversion'](),this[_0x3878('0xa8')](),_0x3a3104[_0x3878('0xd4')](_0x3878('0x86')),_0x3a3104[_0x3878('0xc1')][_0x3878('0xf')]('WidgetToolbarRepository'))&&_0x3a3104[_0x3878('0xc1')][_0x3878('0x3f')](_0x3878('0x1a'))['forceDisabled'](_0x3878('0x86'));}async['getRevisionData'](_0x1e92a3){await this[_0x3878('0xee')](_0x1e92a3);const _0x47f429={};for(const _0x2ee180 in _0x1e92a3[_0x3878('0x18')]){if(_0x1e92a3[_0x3878('0x18')][_0x2ee180][_0x3878('0x94')]&&!_0x1e92a3['diffData'][_0x2ee180][_0x3878('0x94')]['isAttached'])continue;const _0x2f361b=this[_0x3878('0x8')](JSON['parse'](_0x1e92a3[_0x3878('0x18')][_0x2ee180][_0x3878('0x80')])),_0x12525d=this[_0x3878('0x11a')][_0x3878('0x4b')][_0x3878('0x22')]['document'],_0x347d3a=new _0x26868d(_0x12525d,_0x2f361b[_0x3878('0xd8')](_0x98f106=>this['_getViewObj'](_0x98f106)));this[_0x3878('0x11a')][_0x3878('0x71')][_0x3878('0x70')][_0x3878('0xeb')]('marked'),_0x47f429[_0x2ee180]=this[_0x3878('0x11a')][_0x3878('0x71')]['processor']['toData'](_0x347d3a),this[_0x3878('0x11a')][_0x3878('0x71')][_0x3878('0x70')][_0x3878('0xeb')](_0x3878('0x38'));}return _0x47f429;}async[_0x3878('0xbc')](_0x40a939){await this[_0x3878('0xee')](_0x40a939);const _0x234d7e={};for(const _0x3f0cd2 in _0x40a939[_0x3878('0x18')])_0x40a939[_0x3878('0x18')][_0x3f0cd2][_0x3878('0x94')]&&!_0x40a939[_0x3878('0x18')][_0x3f0cd2][_0x3878('0x94')]['isAttached']||(_0x234d7e[_0x3f0cd2]=_0x40a939[_0x3878('0x18')][_0x3f0cd2][_0x3878('0x8c')]||{});return _0x234d7e;}[_0x3878('0x8')](_0x5bbd16){return(_0x5bbd16=_0x5bbd16['filter'](_0x569f03=>!_0x569f03[_0x3878('0x108')]||_0x3878('0xac')!==_0x569f03['name']&&'revision-end'!==_0x569f03['name']))[_0x3878('0x109')](_0x24d99d=>{_0x3878('0x12')!=typeof _0x24d99d&&(_0x24d99d['children']=this[_0x3878('0x8')](_0x24d99d['children']),_0x24d99d[_0x3878('0xb5')]=_0x24d99d[_0x3878('0xb5')][_0x3878('0xdd')](_0x3ef192=>!_0x3ef192[0x0]['startsWith'](_0x3878('0x34'))));}),_0x5bbd16;}async[_0x3878('0xfd')](_0x4bbd1e,_0x37890e,_0x6cf3f1=!0x1){if(!this['isEnabled'])return;const _0x35086d=this['diff'],_0x5c6677=this[_0x3878('0xc5')],_0x56a8f7=_0x3878('0x12')==typeof _0x4bbd1e?_0x5c6677['getRevision'](_0x4bbd1e):_0x4bbd1e,_0x5265f9=_0x3878('0x12')==typeof _0x37890e?_0x5c6677[_0x3878('0x7e')](_0x37890e):_0x37890e,_0x458767=_0x56a8f7['id'],_0x2210bb=_0x5265f9?_0x5265f9['id']:null;if(!_0x6cf3f1&&this[_0x3878('0x1e')]&&this[_0x3878('0x1e')][_0x3878('0x43')]===_0x458767&&this['diff'][_0x3878('0x91')]===_0x2210bb)return Promise[_0x3878('0x111')]();this['isReady']=!0x1,this[_0x3878('0xa1')]=null,this[_0x3878('0x23')]=null,this[_0x3878('0x1e')]=new _0x3324a3(_0x458767,_0x2210bb);const _0x5dc8ca=this[_0x3878('0xf3')](_0x56a8f7,_0x5265f9,!0x0)['map'](_0x5ac786=>this['loadRevisionData'](_0x5ac786));return _0x5dc8ca['push'](new Promise(_0x55f21b=>{setTimeout(_0x55f21b,0x14);})),Promise[_0x3878('0xb7')](_0x5dc8ca)[_0x3878('0xc8')](()=>{if(!this[_0x3878('0x2a')])return;this[_0x3878('0xbb')]();const _0x597b04=this['_getDiff'](_0x458767,_0x2210bb);for(const _0x151664 of _0x597b04[_0x3878('0x3')])this['_changeIdToChange'][_0x3878('0x2c')](_0x151664['id'],_0x151664);this[_0x3878('0x11a')][_0x3878('0xe9')][_0x3878('0x11e')]({'isUndoable':!0x1},_0x2d0522=>{for(const _0x573563 of this[_0x3878('0x11a')]['model'][_0x3878('0xe1')]['getRootNames']())_0x2d0522['detachRoot'](_0x573563);for(const _0x20ad86 of Object['keys'](_0x597b04[_0x3878('0xe9')])){const _0x1c98c6=_0x2d0522[_0x3878('0x7f')](_0x20ad86);for(const _0x22b65d of Object['keys'](_0x597b04[_0x3878('0xb5')][_0x20ad86]))_0x2d0522[_0x3878('0x59')](_0x22b65d,_0x597b04[_0x3878('0xb5')][_0x20ad86][_0x22b65d],_0x1c98c6);_0x2d0522[_0x3878('0x11')](_0x597b04[_0x3878('0xe9')][_0x20ad86],_0x1c98c6,0x0);}}),this[_0x3878('0x1e')]['_setChanges'](this['_sortAndFilterDiffChanges'](_0x597b04[_0x3878('0x3')])),this['isReady']=!0x0;})['catch'](_0xf8d5b5=>{console[_0x3878('0xe5')](_0xf8d5b5),this['_cleanUp'](),_0x35086d&&(this[_0x3878('0x1e')]=_0x35086d),this[_0x3878('0x90')]=!0x0;});}['addRevisionData'](_0x1da938,_0x43d316){const _0x5a8b1d=this[_0x3878('0xc5')][_0x3878('0xd6')](_0x1da938);return _0x5a8b1d['on'](_0x3878('0x8b'),(_0x4e3c5c,_0x50ca6c,_0x5524cc)=>_0x43d316(_0x50ca6c,_0x5524cc,_0x5a8b1d)),this['repository'][_0x3878('0x79')](_0x5a8b1d),_0x5a8b1d;}[_0x3878('0xee')](_0x5f20ed){if(!_0x5f20ed||_0x5f20ed[_0x3878('0x18')])return Promise[_0x3878('0x111')]();{const _0x58675b=this['editor'][_0x3878('0xcc')]['get'](_0x3878('0x57'));return this[_0x3878('0x77')][_0x3878('0x7e')]({'channelId':_0x58675b,'revisionId':_0x5f20ed['id']})[_0x3878('0xc8')](_0x2f894a=>{_0x5f20ed[_0x3878('0x8b')]({'diffData':_0x2f894a[_0x3878('0x18')]},!0x0);});}}['_cleanUp'](){this[_0x3878('0x23')]=null,this['_cleanMarkers'](),this[_0x3878('0x103')]&&this[_0x3878('0x103')][_0x3878('0x3d')](),this[_0x3878('0x103')]=null,this[_0x3878('0x47')][_0x3878('0x49')](),this[_0x3878('0x11a')][_0x3878('0xe9')][_0x3878('0x11e')]({'isUndoable':!0x1},_0x53a4c2=>{for(const _0x8d3ff3 of this[_0x3878('0x11a')]['model'][_0x3878('0xe1')][_0x3878('0x107')]())_0x53a4c2[_0x3878('0x104')](_0x8d3ff3);});}[_0x3878('0x81')](_0x433149){const _0x8df21c=[],_0x64d51a=new Map();for(const _0x326cf7 of this['editor'][_0x3878('0xe9')]['document']['getRootNames']()){const _0x24383f=this[_0x3878('0x11a')]['editing']['view']['getDomRoot'](_0x326cf7);if(!_0x24383f)continue;const _0x3ab644=_0x24383f[_0x3878('0x83')]()['item'](0x0);_0x3ab644&&(_0x8df21c[_0x3878('0x8f')](_0x326cf7),_0x64d51a['set'](_0x326cf7,_0x3ab644));}return _0x8df21c['sort']((_0x5d7411,_0x5896e9)=>{const _0x13dc06=_0x64d51a[_0x3878('0x3f')](_0x5d7411),_0x5dfc1a=_0x64d51a[_0x3878('0x3f')](_0x5896e9);return _0x13dc06['y']-_0x5dfc1a['y']||_0x13dc06['x']-_0x5dfc1a['x'];}),(_0x433149=_0x433149[_0x3878('0xdd')](_0xb9aff=>_0x8df21c[_0x3878('0x9f')](_0xb9aff['rootName'])))[_0x3878('0x8a')]((_0x2655de,_0x525206)=>_0x8df21c[_0x3878('0xf7')](_0x2655de['rootName'])-_0x8df21c[_0x3878('0xf7')](_0x525206[_0x3878('0x4d')])),_0x433149;}['_makeTape'](_0x343fda){const _0x391d6d=Array['from'](_0x343fda[_0x3878('0x11f')])[_0x3878('0xdd')](([_0x409a30,_0x19095e])=>_0x409a30[_0x3878('0x68')]('revision:')&&!_0x19095e['isCollapsed']),_0x146fad=Array['from'](this[_0x3878('0x11a')]['model'][_0x3878('0x29')](_0x343fda)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x391d6d[_0x3878('0xa2')])for(const _0x3c2b8a of _0x146fad){const [_0x25a8fe,_0x14bab2]=_0x391d6d[0x0],[,_0x517c8c,_0xf40925]=_0x25a8fe[_0x3878('0x67')](':');if(_0x14bab2[_0x3878('0x9b')]['isEqual'](_0x3c2b8a[_0x3878('0x39')])&&_0x391d6d[_0x3878('0xdb')](),(_0x3c2b8a[_0x3878('0xba')][_0x3878('0xae')](_0x14bab2[_0x3878('0x37')])||_0x3c2b8a[_0x3878('0xba')][_0x3878('0xcf')](_0x14bab2[_0x3878('0x37')]))&&(_0x3878('0xb9')==_0x517c8c?_0x3c2b8a['isAdded']={'userId':_0xf40925}:_0x3878('0x25')==_0x517c8c&&(_0x3c2b8a[_0x3878('0x17')]={'userId':_0xf40925})),0x0==_0x391d6d[_0x3878('0xa2')])break;}return _0x146fad;}[_0x3878('0x45')](_0x517c22){const _0x3e3071=new Map();for(let _0x24c454=0x0;_0x24c454<_0x517c22[_0x3878('0xa2')];_0x24c454++)_0x3878('0x36')===_0x517c22[_0x24c454][_0x3878('0x4e')]?(_0x517c22[_0x24c454][_0x3878('0xf2')][_0x3878('0x52')]=_0x24c454,_0x517c22[_0x24c454][_0x3878('0xf2')][_0x3878('0x53')]=_0x24c454):(_0x3878('0xbd')===_0x517c22[_0x24c454][_0x3878('0x4e')]?_0x517c22[_0x24c454][_0x3878('0xf2')]['startIndex']=_0x24c454:_0x3878('0x97')===_0x517c22[_0x24c454][_0x3878('0x4e')]&&(_0x517c22[_0x24c454][_0x3878('0xf2')][_0x3878('0x53')]=_0x24c454),_0x3e3071[_0x3878('0x2c')](_0x517c22[_0x24c454]['id'],_0x24c454));for(const _0x56150b of _0x3e3071[_0x3878('0xec')]())_0x3878('0xbd')===_0x517c22[_0x56150b][_0x3878('0x4e')]?_0x517c22[_0x56150b]['item'][_0x3878('0x53')]=_0x3e3071['get'](_0x517c22[_0x56150b]['pairId']):_0x3878('0x97')===_0x517c22[_0x56150b]['type']&&(_0x517c22[_0x56150b]['item'][_0x3878('0x52')]=_0x3e3071[_0x3878('0x3f')](_0x517c22[_0x56150b][_0x3878('0xa0')]));}['_processTape'](_0x5727b4){for(let _0x214043=0x0;_0x214043<_0x5727b4[_0x3878('0xa2')];_0x214043++){if(_0x3878('0xbd')===_0x5727b4[_0x214043]['type'])_0x5727b4[_0x214043][_0x3878('0xf2')]['startIndex']=_0x214043;else{if(_0x3878('0x97')===_0x5727b4[_0x214043][_0x3878('0x4e')]){_0x5727b4[_0x214043][_0x3878('0xf2')]['endIndex']=_0x214043;const _0x164d30=_0x5727b4[_0x214043][_0x3878('0xf2')][_0x3878('0x52')];_0x5727b4[_0x164d30]['pairId']=_0x5727b4[_0x214043]['id'],_0x5727b4[_0x214043][_0x3878('0xa0')]=_0x5727b4[_0x164d30]['id'];}else _0x5727b4[_0x214043][_0x3878('0xf2')][_0x3878('0x52')]=_0x214043,_0x5727b4[_0x214043]['item'][_0x3878('0x53')]=_0x214043,_0x5727b4[_0x214043][_0x3878('0xa0')]=null;}_0x5727b4[_0x214043][_0x3878('0x10d')]||(_0x5727b4[_0x214043]['markersStart']=[],_0x5727b4[_0x214043][_0x3878('0x7b')]=[]);}}['_markInsertions'](_0x359a4c,_0x22bb17){const _0x6e89d8=_0x359a4c[_0x3878('0xdd')](_0x187073=>!_0x187073['isAdded']);for(let _0x4ab073=0x0;_0x4ab073<_0x22bb17[_0x3878('0xa2')];_0x4ab073++)_0x22bb17[_0x4ab073][_0x3878('0x3c')]&&(_0x6e89d8[_0x4ab073][_0x3878('0x3c')]=_0x22bb17[_0x4ab073]['isAdded']);}['_makeModelFromViewString'](_0x25bc82){const _0x56196e=JSON[_0x3878('0x9d')](_0x25bc82),_0x5b3107=this[_0x3878('0x11a')]['editing']['view'][_0x3878('0xe1')],_0x1e466a=new _0x26868d(_0x5b3107,_0x56196e[_0x3878('0xd8')](_0x56bbe5=>this[_0x3878('0x110')](_0x56bbe5)));return this['editor'][_0x3878('0x71')][_0x3878('0x85')](_0x1e466a);}[_0x3878('0x110')](_0x4331db){const _0x5b8d96=this['editor']['editing'][_0x3878('0x22')][_0x3878('0xe1')];if(_0x3878('0x12')==typeof _0x4331db)return new _0x34a9fe(_0x5b8d96,_0x4331db);{const _0x4ba9cb=_0x4331db[_0x3878('0x13')][_0x3878('0xd8')](_0x4e7d43=>this[_0x3878('0x110')](_0x4e7d43));return new(tt[_0x4331db[(_0x3878('0x4e'))]]||_0x120c4a)(_0x5b8d96,_0x4331db[_0x3878('0x108')],_0x4331db[_0x3878('0xb5')],_0x4ba9cb);}}[_0x3878('0xa4')](_0x28accf,_0x5f5a22=null){const _0x59a369=this[_0x3878('0xc5')]['getRevision'](_0x28accf),_0x12e23d=_0x5f5a22?this[_0x3878('0xc5')][_0x3878('0x7e')](_0x5f5a22):null,_0x3f4c46=this[_0x3878('0xf3')](_0x59a369,_0x12e23d),_0x572399=_0x3f4c46[_0x3f4c46[_0x3878('0xa2')]-0x1],_0x5ee812=new Map(),_0x4dbf8c={'model':{},'attributes':{},'changes':[]},_0x5bc62c=new Set(),_0x3dd1a2=new Map();for(let _0x150a11=_0x3f4c46[_0x3878('0xa2')]-0x1;_0x150a11>=0x0;_0x150a11--){const _0x3d8a6c=_0x3f4c46[_0x150a11];for(const _0x338fa8 of Object[_0x3878('0xc9')](_0x3d8a6c[_0x3878('0x18')]))if(_0x3d8a6c[_0x3878('0x18')][_0x338fa8][_0x3878('0x94')]){const _0x597b4d=_0x3d8a6c[_0x3878('0x18')][_0x338fa8][_0x3878('0x94')];_0x597b4d['isAttached']?(_0x5bc62c[_0x3878('0x1')](_0x338fa8),_0x3dd1a2[_0x3878('0xf')](_0x338fa8)&&_0x3dd1a2[_0x3878('0x3f')](_0x338fa8)['userId']==_0x597b4d[_0x3878('0x101')]?_0x3dd1a2[_0x3878('0x92')](_0x338fa8):_0x3dd1a2['set'](_0x338fa8,_0x597b4d)):_0x3dd1a2[_0x3878('0xf')](_0x338fa8)?(_0x5bc62c[_0x3878('0x92')](_0x338fa8),_0x3dd1a2[_0x3878('0x92')](_0x338fa8)):(_0x5bc62c[_0x3878('0x1')](_0x338fa8),_0x3dd1a2[_0x3878('0x2c')](_0x338fa8,_0x597b4d));}else _0x5bc62c[_0x3878('0x1')](_0x338fa8);}for(const _0x16f712 of _0x5bc62c){const _0x4c065e=_0x3dd1a2['has'](_0x16f712)&&!_0x3dd1a2[_0x3878('0x3f')](_0x16f712)[_0x3878('0x2f')];let _0x56640=_0x4c065e?_0x3f4c46[_0x3878('0xa2')]-0x1:0x0;const _0x3951de=_0x4c065e?-0x1:0x1;for(;_0x3f4c46[_0x56640];){const _0x18070a=_0x3f4c46[_0x56640];if(_0x18070a[_0x3878('0x18')][_0x16f712]){const _0x454c45=_0x4c065e?_0x18070a[_0x3878('0x18')][_0x16f712][_0x3878('0x112')]:_0x18070a[_0x3878('0x18')][_0x16f712]['attributesAfter'];_0x4dbf8c['attributes'][_0x16f712]=_0x454c45?_0x3d95ca(_0x454c45):{};break;}_0x56640+=_0x3951de;}}for(const _0x1d42c9 of _0x3f4c46){_0x1d42c9['model']={};for(const _0x4bdb95 of _0x1d42c9['authors'])_0x5ee812['set'](_0x4bdb95['id'],_0x4bdb95);for(const _0x58b92c of _0x5bc62c){const _0x5a00f9=_0x1d42c9[_0x3878('0x18')][_0x58b92c]?_0x1d42c9[_0x3878('0x18')][_0x58b92c][_0x3878('0x80')]:'[]',_0x10f72a=_0x1d42c9[_0x3878('0x18')][_0x58b92c]?_0x1d42c9[_0x3878('0x18')][_0x58b92c][_0x3878('0xc6')]:'[]';_0x1d42c9[_0x3878('0xe9')][_0x58b92c]={'insertions':this[_0x3878('0x100')](_0x5a00f9),'deletions':this[_0x3878('0x100')](_0x10f72a)};}}for(const _0x19a884 of _0x5bc62c){let _0x4022b8=null,_0x59c478=0x0;const _0x21ba0e=new Map(Array[_0x3878('0xc7')](_0x59a369[_0x3878('0xe9')][_0x19a884][_0x3878('0x80')][_0x3878('0x11f')])[_0x3878('0xdd')](([_0x5e1022])=>!_0x5e1022[_0x3878('0x68')](_0x3878('0xd5'))));let _0x1869d8=0x0;for(const _0x3248d5 of _0x3f4c46){const _0x41f08c=this[_0x3878('0x74')](_0x3248d5[_0x3878('0xe9')][_0x19a884][_0x3878('0x80')]);_0x3248d5==_0x59a369?(_0x4022b8=_0x41f08c,_0x59c478=_0x4022b8['length'],_0x4022b8[_0x3878('0x109')](_0x4700a1=>{_0x4700a1['id']=_0x1869d8++;}),this[_0x3878('0xe')](_0x4022b8)):this[_0x3878('0x105')](_0x4022b8,_0x41f08c);const _0x2d9e67=_0x4022b8['filter'](_0x454bfc=>!_0x454bfc[_0x3878('0x3c')])[_0x3878('0xd8')](_0x29eed9=>_0x29eed9['id']);let _0x4bc8c6=0x0;const _0x4857a6=this[_0x3878('0x74')](_0x3248d5[_0x3878('0xe9')][_0x19a884][_0x3878('0xc6')]);_0x4857a6[_0x3878('0x109')](_0x44b60c=>{_0x44b60c[_0x3878('0x17')]?_0x44b60c['id']=_0x59c478++:_0x44b60c['id']=_0x2d9e67[_0x4bc8c6++];}),this[_0x3878('0xe')](_0x4857a6),this[_0x3878('0x6')](_0x4022b8,_0x3878('0x3c')),this[_0x3878('0x6')](_0x4857a6,_0x3878('0x17')),_0x3248d5==_0x59a369&&this[_0x3878('0x76')](_0x4022b8,_0x21ba0e),_0x4022b8=this['_joinTapes'](_0x4022b8,_0x4857a6),this['_refreshStartEndIndex'](_0x4022b8),this[_0x3878('0x6')](_0x4022b8,_0x3878('0x17'));}_0x4022b8=_0x4022b8[_0x3878('0xdd')](_0x4b9d2e=>!(_0x4b9d2e[_0x3878('0x3c')]&&_0x4b9d2e[_0x3878('0x17')]));const _0x2422a9=new Map(_0x572399[_0x3878('0xe9')][_0x19a884][_0x3878('0xc6')][_0x3878('0x11f')]),_0x52c9a7=new Set(_0x21ba0e[_0x3878('0xc9')]());for(const _0x32e77a of _0x2422a9['keys']())_0x52c9a7[_0x3878('0x92')](_0x32e77a);this[_0x3878('0x102')](_0x4022b8,_0x52c9a7),this[_0x3878('0x5d')](_0x4022b8),_0x4022b8=this[_0x3878('0x15')](_0x4022b8),_0x4022b8=this[_0x3878('0xb0')](_0x4022b8),_0x4022b8=this['_removeUnsupportedChanges'](_0x4022b8);const {root:_0x2111dc,changes:_0x12dc46}=this['_makeModelFromTape'](_0x4022b8,_0x5ee812,_0x19a884);_0x4dbf8c[_0x3878('0xe9')][_0x19a884]=_0x2111dc;const _0x36a2a2=_0x3dd1a2[_0x3878('0x3f')](_0x19a884);if(_0x36a2a2){const _0x2f7044=_0x5ee812[_0x3878('0x3f')](_0x36a2a2[_0x3878('0x101')]),_0x13ee9f=new _0x2cd055({'author':_0x2f7044,'type':_0x36a2a2[_0x3878('0x2f')]?_0x3878('0x1'):_0x3878('0xc'),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x19a884});_0x12dc46['unshift'](_0x13ee9f),_0x4dbf8c[_0x3878('0xb5')][_0x19a884]['revisionHistoryAttachChange']=_0x13ee9f['id'];}_0x4dbf8c[_0x3878('0x3')]=_0x4dbf8c[_0x3878('0x3')][_0x3878('0x58')](_0x12dc46);}return _0x4dbf8c;}[_0x3878('0x76')](_0x134f5c,_0x7229da){for(let _0x57cf61=0x0;_0x57cf61<_0x134f5c['length'];_0x57cf61++)for(const [_0x1f4e9d,_0x3c1271]of _0x7229da)_0x3c1271['start'][_0x3878('0xae')](_0x134f5c[_0x57cf61][_0x3878('0xba')])&&_0x134f5c[_0x57cf61][_0x3878('0x10d')][_0x3878('0x8f')](_0x1f4e9d),_0x3c1271[_0x3878('0x9b')][_0x3878('0xae')](_0x134f5c[_0x57cf61][_0x3878('0x39')])&&_0x134f5c[_0x57cf61][_0x3878('0x7b')]['push'](_0x1f4e9d);}['_joinTapes'](_0x38c4c2,_0x3f02b8){let _0x414165=[],_0x38890a=0x0,_0x38520a=0x0;for(;_0x38890a<_0x38c4c2[_0x3878('0xa2')]||_0x38520a<_0x3f02b8[_0x3878('0xa2')];){const _0x3f2731=_0x38c4c2[_0x38890a]||{},_0x3dcc6c=_0x3f02b8[_0x38520a]||{};if(_0x3f2731['id']==_0x3dcc6c['id'])_0x38890a++,_0x38520a++,_0x414165['push'](_0x3f2731);else{if(_0x3dcc6c['isRemoved']&&_0x3f2731[_0x3878('0x3c')]){const {commonTape:_0x135145,iEnd:_0x323705,jEnd:_0x50eab6}=this[_0x3878('0x11b')](_0x38c4c2,_0x38890a,_0x3f02b8,_0x38520a);_0x414165=_0x414165[_0x3878('0x58')](_0x135145),_0x38890a=_0x323705,_0x38520a=_0x50eab6;}else _0x3dcc6c['isRemoved']?(_0x38520a++,_0x414165[_0x3878('0x8f')](_0x3dcc6c)):(_0x38890a++,_0x414165[_0x3878('0x8f')](_0x3f2731));}}return _0x414165;}['_markSuggestions'](_0x236c94,_0x2d813e){const _0x3d307b=[];for(let _0x3f28cd=0x0;_0x3f28cd<_0x236c94['length'];_0x3f28cd++){for(let _0x361b4c=0x0;_0x361b4c<_0x236c94[_0x3f28cd]['markersStart'][_0x3878('0xa2')];_0x361b4c++){const _0x58de03=_0x236c94[_0x3f28cd][_0x3878('0x10d')][_0x361b4c];if(!_0x2d813e[_0x3878('0xf')](_0x58de03))continue;const {group:_0x41af76,type:_0x26c6ee,authorId:_0x1f8314}=_0x2a1722(_0x58de03);_0x3878('0x27')!=_0x41af76||_0x3878('0xb9')!=_0x26c6ee&&'deletion'!=_0x26c6ee||(_0x3d307b[_0x3878('0xf9')]({'type':_0x26c6ee,'name':_0x58de03,'userId':_0x1f8314}),_0x236c94[_0x3f28cd][_0x3878('0x10d')]['splice'](_0x361b4c,0x1),_0x361b4c--);}_0x3c4eb1(_0x236c94[_0x3f28cd]);for(let _0x297738=0x0;_0x297738<_0x236c94[_0x3f28cd][_0x3878('0x7b')][_0x3878('0xa2')];_0x297738++){const _0x2ce228=_0x236c94[_0x3f28cd][_0x3878('0x7b')][_0x297738];if(!_0x2d813e[_0x3878('0xf')](_0x2ce228))continue;const {group:_0x1299de,type:_0x29b0b7}=_0x2a1722(_0x2ce228);if(_0x3878('0x27')!=_0x1299de||_0x3878('0xb9')!=_0x29b0b7&&'deletion'!=_0x29b0b7)continue;_0x236c94[_0x3f28cd][_0x3878('0x7b')][_0x3878('0xbf')](_0x297738,0x1),_0x297738--;const _0xb7f38=_0x3d307b[_0x3878('0x2d')](_0x5a6f2a=>_0x5a6f2a['name']==_0x2ce228);_0xb7f38>-0x1&&_0x3d307b[_0x3878('0xbf')](_0xb7f38,0x1);}}function _0x2a1722(_0x20bd5a){const _0xb5da4b=_0x20bd5a[_0x3878('0x67')](':');return{'group':_0xb5da4b[0x0],'type':_0xb5da4b[0x1],'subType':_0xb5da4b[_0x3878('0xa2')]>=0x5?_0xb5da4b[0x2]:null,'id':_0xb5da4b[_0x3878('0xa2')]<0x5?_0xb5da4b[0x2]:_0xb5da4b[0x3],'authorId':_0xb5da4b[_0x3878('0xa2')]<0x5?_0xb5da4b[0x3]:_0xb5da4b[0x4],'markerCount':0x6==_0xb5da4b[_0x3878('0xa2')]?_0xb5da4b[0x5]:null};}function _0x3c4eb1(_0x1ddf2b){for(let _0x4e096b=0x0;_0x4e096b<_0x3d307b[_0x3878('0xa2')];_0x4e096b++){if(_0x1ddf2b[_0x3878('0x3c')]&&'insertion'==_0x3d307b[_0x4e096b]['type'])return _0x1ddf2b[_0x3878('0x118')]=_0x3d307b[_0x4e096b],void delete _0x1ddf2b[_0x3878('0x3c')];if(!_0x1ddf2b[_0x3878('0x3c')]&&!_0x1ddf2b[_0x3878('0x17')]&&_0x3878('0x25')==_0x3d307b[_0x4e096b]['type'])return void(_0x1ddf2b[_0x3878('0xef')]=_0x3d307b[_0x4e096b]);}}}[_0x3878('0x6')](_0x720699,_0x21e383){let _0x409f46=0x0,_0x246655=!0x1;const _0x56c573=new Map();for(const _0x78230d of _0x720699)_0x78230d[_0x21e383]?_0x246655&&(_0x409f46++,_0x246655=!0x1):(_0x409f46++,_0x246655=!0x0),_0x56c573[_0x3878('0x2c')](_0x78230d['id'],_0x409f46);for(let _0xed1af2=0x0;_0xed1af2<_0x720699['length'];_0xed1af2++){if(_0x3878('0x17')==_0x21e383&&_0x720699[_0xed1af2][_0x3878('0x3c')]||'isAdded'==_0x21e383&&_0x720699[_0xed1af2][_0x3878('0x17')])continue;if(_0x3878('0x36')==_0x720699[_0xed1af2][_0x3878('0x4e')]){_0x720699[_0xed1af2][_0x3878('0x9e')]=0x0;continue;}const _0x123739=_0x56c573[_0x3878('0x3f')](_0x720699[_0xed1af2][_0x3878('0xa0')]),_0x40ed3c=_0x56c573[_0x3878('0x3f')](_0x720699[_0xed1af2]['id']);_0x720699[_0xed1af2][_0x3878('0x9e')]=_0x123739-_0x40ed3c;}}[_0x3878('0xf3')](_0x5b4aff,_0x1d9ea9,_0x3c8326=!0x1){const _0x405568=[];let _0x15b0e0=this[_0x3878('0xc5')][_0x3878('0x87')](_0x5b4aff),_0xe67f26=this[_0x3878('0xc5')][_0x3878('0x87')](_0x1d9ea9);for(-0x1==_0xe67f26&&(_0xe67f26=this[_0x3878('0xc5')][_0x3878('0x66')][_0x3878('0xa2')],_0x3c8326=!0x1);_0x15b0e0<_0xe67f26;)_0x405568['push'](this[_0x3878('0xc5')]['getRevision'](_0x15b0e0)),_0x15b0e0++;return _0x3c8326&&_0x405568[_0x3878('0x8f')](this['repository'][_0x3878('0x7e')](_0x15b0e0)),_0x405568;}[_0x3878('0x11b')](_0xa92686,_0x10b732,_0x5d03ad,_0x284a13){const _0x568cd5=this[_0x3878('0x11a')][_0x3878('0xe9')][_0x3878('0x30')];let _0x4ea46e=_0x10b732;for(;_0xa92686[_0x4ea46e]&&_0xa92686[_0x4ea46e][_0x3878('0x3c')];)_0x4ea46e++;let _0x4daaca=_0x284a13;for(;_0x5d03ad[_0x4daaca]&&_0x5d03ad[_0x4daaca]['isRemoved'];)_0x4daaca++;_0x1d4f64(_0xa92686,_0x10b732,_0x4ea46e),_0x1d4f64(_0x5d03ad,_0x284a13,_0x4daaca);const _0x5c04dc=_0x5d03ad[_0x3878('0xa9')](_0x284a13,_0x4daaca)[_0x3878('0x58')](_0xa92686[_0x3878('0xa9')](_0x10b732,_0x4ea46e));return _0x5c04dc[_0x3878('0x8a')]((_0x5cb572,_0x4c0fc6)=>_0x5cb572[_0x3878('0x16')]!=_0x4c0fc6['side']?_0x5cb572[_0x3878('0x16')]-_0x4c0fc6['side']:_0x5cb572[_0x3878('0x41')]!=_0x4c0fc6[_0x3878('0x41')]?_0x5cb572['level']-_0x4c0fc6[_0x3878('0x41')]:_0x5cb572['distance']!=_0x4c0fc6[_0x3878('0x9e')]?_0x4c0fc6['distance']-_0x5cb572['distance']:!!_0x5cb572[_0x3878('0x3c')]!=!!_0x4c0fc6['isAdded']?-0x1==_0x5cb572[_0x3878('0x16')]||0x0==_0x5cb572[_0x3878('0x16')]?_0x5cb572[_0x3878('0x3c')]?-0x1:0x1:_0x5cb572['isAdded']?0x1:-0x1:_0x5cb572[_0x3878('0xa6')]-_0x4c0fc6['index']),{'commonTape':_0x5c04dc,'iEnd':_0x4ea46e,'jEnd':_0x4daaca};function _0x1d4f64(_0x3f2019,_0x2897da,_0x405b24){let _0x2c726a=-0x1,_0x1205ed=Number[_0x3878('0xc3')],_0x24f1c8=!0x0;for(let _0x2965c2=_0x2897da;_0x2965c2<_0x405b24;_0x2965c2++)if(_0x568cd5[_0x3878('0xf0')](_0x3f2019[_0x2965c2][_0x3878('0xf2')])||(_0x24f1c8=!0x1),_0x3f2019[_0x2965c2][_0x3878('0xf2')][_0x3878('0x52')]<_0x2897da&&(_0x2c726a=_0x2965c2),_0x3f2019[_0x2965c2]['item']['endIndex']>=_0x405b24){_0x1205ed=_0x2965c2;break;}_0x24f1c8&&(_0x2c726a=_0x405b24-0x1);for(let _0x54ca64=_0x2897da;_0x54ca64<_0x405b24;_0x54ca64++)_0x3f2019[_0x54ca64][_0x3878('0x16')]=_0x54ca64<=_0x2c726a?-0x1:_0x54ca64<_0x1205ed?0x0:0x1,_0x3f2019[_0x54ca64][_0x3878('0xa6')]=_0x54ca64;let _0xc7647d=0x0;for(let _0x2af8a0=_0x2897da;_0x2af8a0<=_0x2c726a;_0x2af8a0++)0x0==_0x3f2019[_0x2af8a0][_0x3878('0x9e')]?_0x3f2019[_0x2af8a0][_0x3878('0x41')]=_0xc7647d:(_0xc7647d++,_0x3f2019[_0x2af8a0]['level']=_0xc7647d,_0xc7647d++);for(let _0xaf5022=_0x2897da;_0xaf5022<_0x405b24;_0xaf5022++)0x0==_0x3f2019[_0xaf5022][_0x3878('0x16')]&&(_0x3f2019[_0xaf5022][_0x3878('0x41')]=_0xc7647d);_0xc7647d=0x0;for(let _0x59c274=_0x405b24-0x1;_0x59c274>=_0x1205ed;_0x59c274--)0x0==_0x3f2019[_0x59c274][_0x3878('0x9e')]?_0x3f2019[_0x59c274][_0x3878('0x41')]=_0xc7647d:(_0xc7647d--,_0x3f2019[_0x59c274][_0x3878('0x41')]=_0xc7647d,_0xc7647d--);}}['_fixObsoleteTags'](_0x5dd62e){const _0x595ad6=new Map(),_0x21c949=this[_0x3878('0x11a')][_0x3878('0xe9')][_0x3878('0x30')];for(let _0x5db15f=0x1;_0x5db15f<_0x5dd62e[_0x3878('0xa2')];_0x5db15f++){let _0x609189,_0x47d84e,_0x80f20a;const _0x2f5af4=_0x5dd62e[_0x5db15f],_0x4fa87f=_0x5dd62e[_0x5db15f-0x1];if(_0x3878('0x36')==_0x2f5af4[_0x3878('0x4e')])continue;if(_0x2f5af4[_0x3878('0x4e')]!=_0x4fa87f[_0x3878('0x4e')])continue;if(!_0x21c949[_0x3878('0xfc')](_0x4fa87f[_0x3878('0xf2')])||_0x21c949[_0x3878('0xd2')](_0x4fa87f['item']))continue;if(!_0x21c949['isBlock'](_0x2f5af4[_0x3878('0xf2')])||_0x21c949['isLimit'](_0x2f5af4[_0x3878('0xf2')]))continue;if((_0x5dd62e[_0x5db15f][_0x3878('0x3c')]||_0x5dd62e[_0x5db15f]['isAddSuggestion'])&&_0x5dd62e[_0x5db15f-0x1][_0x3878('0x17')])_0x609189=_0x5dd62e[_0x5db15f],_0x47d84e=_0x5dd62e[_0x5db15f-0x1],_0x80f20a=_0x5db15f-0x1;else{if(!_0x5dd62e[_0x5db15f]['isRemoved']||!_0x5dd62e[_0x5db15f-0x1]['isAdded']&&!_0x5dd62e[_0x5db15f-0x1][_0x3878('0x118')])continue;_0x609189=_0x5dd62e[_0x5db15f-0x1],_0x47d84e=_0x5dd62e[_0x5db15f],_0x80f20a=_0x5db15f;}const _0x36b778=_0x609189[_0x3878('0x41')]==_0x47d84e['level'],_0x32d646=Math[_0x3878('0xe2')](_0x609189['level'])<Math[_0x3878('0xe2')](_0x47d84e[_0x3878('0x41')])&&0x0==_0x47d84e[_0x3878('0x9e')];(_0x36b778||_0x32d646)&&(_0x595ad6['set'](_0x47d84e['id'],_0x609189['id']),_0x5dd62e[_0x3878('0xbf')](_0x80f20a,0x1),_0x5db15f--,_0x609189[_0x3878('0x3c')]=!0x1);}for(let _0x332d22=0x0;_0x332d22<_0x5dd62e['length'];_0x332d22++)_0x595ad6[_0x3878('0xf')](_0x5dd62e[_0x332d22][_0x3878('0xa0')])&&(_0x5dd62e[_0x332d22]['pairId']=_0x595ad6[_0x3878('0x3f')](_0x5dd62e[_0x332d22]['pairId']));}[_0x3878('0x15')](_0x5f163e){const _0x1fdd9e=new Set(_0x5f163e[_0x3878('0xd8')](_0x319c88=>_0x319c88['id']));for(let _0x21f95b=0x0;_0x21f95b<_0x5f163e[_0x3878('0xa2')];_0x21f95b++)_0x1fdd9e['has'](_0x5f163e[_0x21f95b][_0x3878('0xa0')])||0x0==_0x5f163e[_0x21f95b]['distance']||(_0x5f163e[_0x21f95b][_0x3878('0x10e')]=!0x0);return _0x5f163e[_0x3878('0xdd')](_0x44885e=>!_0x44885e[_0x3878('0x10e')]);}[_0x3878('0xb0')](_0x92151d){const _0x515418=new Set();for(let _0x411104=0x0;_0x411104<_0x92151d[_0x3878('0xa2')];_0x411104++){if(_0x515418[_0x3878('0xf')](_0x92151d[_0x411104]['id'])&&_0x92151d[_0x411104][_0x3878('0x17')]&&(_0x92151d[_0x411104][_0x3878('0x10e')]=!0x0),_0x92151d[_0x411104][_0x3878('0x10e')])continue;if(0x0==_0x92151d[_0x411104][_0x3878('0x9e')])continue;if(_0x3878('0xbd')!=_0x92151d[_0x411104]['type'])continue;if(null==_0x92151d[_0x411104]['pairId'])continue;let _0x320b55=_0x411104+0x1,_0x353c06=0x0;for(;_0x92151d[_0x320b55]['id']!=_0x92151d[_0x411104][_0x3878('0xa0')];)_0x3878('0xbd')==_0x92151d[_0x320b55][_0x3878('0x4e')]?_0x353c06++:_0x3878('0x97')==_0x92151d[_0x320b55][_0x3878('0x4e')]&&_0x353c06--,_0x320b55++;if(0x0!=_0x353c06){if(_0x92151d[_0x411104][_0x3878('0x17')])_0x92151d[_0x411104]['isIncorrect']=!0x0;else for(;_0x320b55!=_0x411104;)_0x92151d[_0x320b55][_0x3878('0x17')]&&0x0!=_0x92151d[_0x320b55][_0x3878('0x9e')]&&(_0x92151d[_0x320b55][_0x3878('0x10e')]=!0x0,_0x515418[_0x3878('0x1')](_0x92151d[_0x320b55]['pairId'])),_0x320b55--;}}return _0x92151d[_0x3878('0xdd')](_0x4d075d=>!_0x4d075d[_0x3878('0x10e')]);}[_0x3878('0x7a')](_0x218841){const _0x2e7985=this[_0x3878('0x11a')][_0x3878('0xe9')]['schema'];for(let _0x369a1b=0x0;_0x369a1b<_0x218841['length'];_0x369a1b++){if(!(_0x218841[_0x369a1b]['isAdded']||_0x218841[_0x369a1b][_0x3878('0x118')]||_0x218841[_0x369a1b][_0x3878('0x17')]||_0x218841[_0x369a1b][_0x3878('0xef')]))continue;if(0x0==_0x218841[_0x369a1b]['distance'])continue;const _0x319c8a=_0x218841[_0x369a1b][_0x3878('0xf2')];_0x2e7985[_0x3878('0xfc')](_0x319c8a)||_0x2e7985[_0x3878('0xd2')](_0x319c8a)||(_0x218841[_0x369a1b][_0x3878('0x3c')]&&delete _0x218841[_0x369a1b][_0x3878('0x3c')],_0x218841[_0x369a1b][_0x3878('0x118')]&&delete _0x218841[_0x369a1b][_0x3878('0x118')],_0x218841[_0x369a1b][_0x3878('0xef')]&&delete _0x218841[_0x369a1b][_0x3878('0xef')],_0x218841[_0x369a1b][_0x3878('0x17')]&&(_0x218841[_0x369a1b]['isIncorrect']=!0x0));}return _0x218841['filter'](_0x426030=>!_0x426030['isIncorrect']);}[_0x3878('0xde')](_0x42ec07,_0x3298e1,_0x52a0b3){const _0x33c7c0=new _0x423ec4(),_0x51249c=[],_0x5e8053=new Map(),_0x2cb8fa=this[_0x3878('0x11a')][_0x3878('0xe9')],_0x2ca3e0=_0x2cb8fa[_0x3878('0x30')],_0x143b34=[_0x33c7c0],_0x108104={},_0x1bf075={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4117a4=null;const _0x1dbdad=[0x0];for(let _0x473573=0x0;_0x473573<_0x42ec07[_0x3878('0xa2')];_0x473573++){let _0x33faa2,_0x500793;if('elementStart'===_0x42ec07[_0x473573][_0x3878('0x4e')]){_0x33faa2=_0x2cb8fa[_0x3878('0xda')](_0x33c7c0,_0x1dbdad);const _0x52d95b=new _0x1babb1(_0x42ec07[_0x473573][_0x3878('0xf2')][_0x3878('0x108')],_0x42ec07[_0x473573]['item'][_0x3878('0xea')]());_0x143b34[0x0]['_appendChild'](_0x52d95b),_0x1dbdad['push'](0x0),_0x143b34['unshift'](_0x52d95b),_0x500793=_0x2cb8fa[_0x3878('0xda')](_0x33c7c0,_0x1dbdad),_0x4117a4=null;}else{if(_0x3878('0x97')===_0x42ec07[_0x473573][_0x3878('0x4e')])_0x143b34[_0x3878('0xdb')](),_0x33faa2=_0x2cb8fa['createPositionFromPath'](_0x33c7c0,_0x1dbdad),_0x1dbdad[_0x3878('0xf8')](),_0x1dbdad[_0x1dbdad[_0x3878('0xa2')]-0x1]++,_0x500793=_0x2cb8fa[_0x3878('0xda')](_0x33c7c0,_0x1dbdad),_0x4117a4=null;else{if(_0x33faa2=_0x2cb8fa[_0x3878('0xda')](_0x33c7c0,_0x1dbdad),_0x4117a4&&_0xc492a6(_0x4117a4,_0x42ec07[_0x473573]['item']))_0x4117a4[_0x3878('0x54')]+=_0x42ec07[_0x473573][_0x3878('0xf2')]['data'];else{const _0x35fb0b=new _0x3d0803(_0x42ec07[_0x473573][_0x3878('0xf2')][_0x3878('0x71')],_0x42ec07[_0x473573][_0x3878('0xf2')][_0x3878('0xea')]());_0x143b34[0x0][_0x3878('0xe8')](_0x35fb0b),_0x4117a4=_0x35fb0b;}_0x1dbdad[_0x1dbdad['length']-0x1]+=_0x42ec07[_0x473573]['item'][_0x3878('0x8e')],_0x500793=_0x2cb8fa[_0x3878('0xda')](_0x33c7c0,_0x1dbdad);}}for(const _0x15a585 of _0x42ec07[_0x473573][_0x3878('0x10d')])_0x5e8053[_0x3878('0x2c')](_0x15a585,{'start':_0x33faa2,'end':null});_0x501166(_0x3878('0xef'),_0x473573,_0x33faa2,_0x500793),_0x501166(_0x3878('0x118'),_0x473573,_0x33faa2,_0x500793),_0x501166(_0x3878('0x17'),_0x473573,_0x33faa2,_0x500793),_0x501166(_0x3878('0x3c'),_0x473573,_0x33faa2,_0x500793);for(const _0x3f4fa7 of _0x42ec07[_0x473573][_0x3878('0x7b')]){_0x5e8053['get'](_0x3f4fa7)['end']=_0x500793;}}for(const [_0x191635,_0x2cfdc9]of _0x5e8053){const _0x22074f=this[_0x3878('0x11a')][_0x3878('0xe9')][_0x3878('0x4')](_0x2cfdc9['start'],_0x2cfdc9['end']);_0x33c7c0[_0x3878('0x11f')][_0x3878('0x2c')](_0x191635,_0x22074f);}return _0x51249c[_0x3878('0x8a')]((_0x2fc197,_0x5c588d)=>{const _0x48203c=_0x33c7c0[_0x3878('0x11f')][_0x3878('0x3f')](_0x3878('0xd5')+_0x2fc197['id']),_0x20efda=_0x33c7c0['markers']['get']('revision:'+_0x5c588d['id']);return _0x48203c[_0x3878('0x37')]['isBefore'](_0x20efda[_0x3878('0x37')])?-0x1:_0x48203c[_0x3878('0x37')][_0x3878('0xcf')](_0x20efda[_0x3878('0x37')])?0x1:_0x48203c[_0x3878('0x9b')][_0x3878('0xfb')](_0x20efda[_0x3878('0x9b')])?-0x1:_0x48203c[_0x3878('0x9b')]['isAfter'](_0x20efda[_0x3878('0x9b')])?0x1:_0x3878('0x1')===_0x2fc197[_0x3878('0x4e')]?-0x1:0x1;}),{'root':_0x33c7c0,'changes':_0x51249c};function _0x501166(_0x48e595,_0x858b02,_0x5a8355,_0x20f232){const _0x5ce907=!!_0x42ec07[_0x858b02][_0x48e595],_0x5f4eda=_0x5ce907?_0x42ec07[_0x858b02][_0x48e595][_0x3878('0x101')]:null,_0x3869f0=_0x858b02===_0x42ec07['length']-0x1,_0x47a043=_0x1bf075[_0x48e595][0x0],_0x2891a6=_0x2ca3e0[_0x3878('0x26')](_0x42ec07[_0x858b02][_0x3878('0xf2')]);!_0x108104[_0x48e595]&&_0x5ce907?_0x108104[_0x48e595]={'start':_0x5a8355,'tapeItem':_0x42ec07[_0x858b02],'userId':_0x5f4eda,'type':_0x48e595}:_0x108104[_0x48e595]&&!_0x5ce907?(_0x108104[_0x48e595][_0x3878('0x9b')]=_0x5a8355,_0x5c065a(_0x108104[_0x48e595]),_0x108104[_0x48e595]=null):_0x108104[_0x48e595]&&_0x5ce907&&_0x108104[_0x48e595][_0x3878('0x101')]!==_0x5f4eda&&(_0x108104[_0x48e595]['end']=_0x5a8355,_0x47a043&&_0x47a043[_0x3878('0x101')]===_0x108104[_0x48e595][_0x3878('0x101')]||_0x5c065a(_0x108104[_0x48e595]),_0x108104[_0x48e595]={'start':_0x5a8355,'tapeItem':_0x42ec07[_0x858b02],'userId':_0x5f4eda,'type':_0x48e595}),_0x108104[_0x48e595]&&_0x2891a6&&(_0x3878('0xbd')!==_0x42ec07[_0x858b02]['type']||_0x47a043&&_0x47a043[_0x3878('0x101')]===_0x5f4eda||_0x1bf075[_0x48e595]['unshift']({'userId':_0x5f4eda,'object':_0x42ec07[_0x858b02][_0x3878('0xf2')],'change':_0x108104[_0x48e595]}),_0x3878('0x97')===_0x42ec07[_0x858b02][_0x3878('0x4e')]&&_0x47a043&&_0x47a043['object']===_0x42ec07[_0x858b02][_0x3878('0xf2')]&&(_0x1bf075[_0x48e595][_0x3878('0xdb')](),_0x108104[_0x48e595]=_0x47a043[_0x3878('0xe3')])),_0x108104[_0x48e595]&&_0x3869f0&&(_0x108104[_0x48e595][_0x3878('0x9b')]=_0x20f232,_0x5c065a(_0x108104[_0x48e595]),_0x108104[_0x48e595]=null);}function _0x5c065a({start:_0x377630,end:_0x875614,tapeItem:_0x5ae8b7,userId:_0x10ac50,type:_0x213481}){const _0x1d403f=_0x5ae8b7['item'],_0x4f61f0=_0x2cb8fa[_0x3878('0x30')]['isBlock'](_0x1d403f)&&!_0x2cb8fa[_0x3878('0x30')][_0x3878('0xd2')](_0x1d403f),_0x105176=_0x377630['nodeAfter']==_0x875614[_0x3878('0x5f')]&&_0x875614['isAtStart'];if(_0x4f61f0&&_0x105176)return;const _0x3e3174=_0x2cb8fa[_0x3878('0x4')](_0x377630,_0x875614),_0xc8ff03=_0x3298e1['get'](_0x10ac50),_0xfb330f=new _0x2cd055({'author':_0xc8ff03,'type':'isAdded'==_0x213481||_0x3878('0x118')==_0x213481?_0x3878('0x1'):_0x3878('0xc'),'data':{'isSuggestion':_0x3878('0x118')==_0x213481||'isRemoveSuggestion'==_0x213481},'createdAt':new Date(),'rootName':_0x52a0b3});_0x51249c[_0x3878('0x8f')](_0xfb330f),_0x33c7c0[_0x3878('0x11f')]['set']('revision:'+_0xfb330f['id'],_0x3e3174);}function _0xc492a6(_0x27abb2,_0x3f7145){const _0x53c9c4=_0x27abb2[_0x3878('0xea')](),_0x21ed17=_0x3f7145[_0x3878('0xea')]();for(const _0x3fe6a9 of _0x53c9c4){if(_0x3fe6a9[0x1]!==_0x3f7145[_0x3878('0x9c')](_0x3fe6a9[0x0]))return!0x1;_0x21ed17[_0x3878('0x115')]();}return _0x21ed17['next']()[_0x3878('0x84')];}}['_setConversion'](){this[_0x3878('0x11a')][_0x3878('0x119')][_0x3878('0xed')]('upcast')[_0x3878('0x6e')]({'view':'revision'}),this[_0x3878('0x11a')]['conversion'][_0x3878('0xed')](_0x3878('0x117'))[_0x3878('0x1d')]({'model':'revision','view':_0x39ed6f=>{const _0x3a6a62=_0x39ed6f[_0x3878('0xbe')][_0x3878('0x67')](':')[0x1],_0xefbc84=this[_0x3878('0x7')](_0x3a6a62);if(!_0xefbc84)return null;const _0x6c10d6='add'==_0xefbc84[_0x3878('0x4e')]?'insertion':_0x3878('0x25'),_0x28f538=[_0x3878('0x64'),'ck-suggestion-marker-'+_0x6c10d6];return _0xefbc84[_0x3878('0x71')]['isSuggestion']&&_0x28f538[_0x3878('0x8f')](_0x3878('0x20')+_0x6c10d6+_0x3878('0x2e')),this[_0x3878('0x23')]==_0xefbc84&&_0x28f538[_0x3878('0x8f')](_0x3878('0xb8')),{'classes':_0x28f538,'attributes':{'data-change-id':_0x3a6a62}};}}),this[_0x3878('0x11a')][_0x3878('0x119')]['for']('upcast')[_0x3878('0x1')](_0x573fc4=>{_0x573fc4['on'](_0x3878('0x61'),(_0x30ed89,_0x63a457,_0x36f11b)=>{const _0x4a677c=_0x63a457[_0x3878('0x114')][_0x3878('0x3e')](0x0);if(!_0x4a677c||!_0x4a677c['is'](_0x3878('0xb'),_0x3878('0xe0')))return;if(!_0x36f11b[_0x3878('0xd7')]['consume'](_0x4a677c,{'attributes':[_0x3878('0x4a'),_0x3878('0x0')]}))return;const _0x8e1fe2=_0x63a457[_0x3878('0x6b')][_0x3878('0x37')][_0x3878('0xa')];_0x36f11b[_0x3878('0xd0')][_0x3878('0x59')]('vid_start',_0x4a677c[_0x3878('0x9c')](_0x3878('0x4a')),_0x8e1fe2),_0x36f11b['writer']['setAttribute']('vid_end',_0x4a677c[_0x3878('0x9c')](_0x3878('0x0')),_0x8e1fe2);},{'priority':_0x3878('0x5e')});}),this[_0x3878('0x11a')][_0x3878('0x119')][_0x3878('0xed')](_0x3878('0xca'))[_0x3878('0x1')](_0x20db4f=>{_0x20db4f['on']('element',(_0x3742a6,_0x1622e2,_0x5b2d1c)=>{if(!_0x5b2d1c[_0x3878('0xd7')][_0x3878('0x1f')](_0x1622e2['viewItem'],{'attributes':[_0x3878('0x4a'),_0x3878('0x0')]}))return;if(_0x1622e2[_0x3878('0x6b')]['isCollapsed'])return;const _0x184dfe=_0x1622e2[_0x3878('0x6b')][_0x3878('0x37')][_0x3878('0xa')];_0x184dfe[_0x3878('0xb6')](_0x3878('0x4a'))||_0x184dfe[_0x3878('0xb6')](_0x3878('0xcd'))||(_0x5b2d1c[_0x3878('0xd0')][_0x3878('0x59')]('vid_start',_0x1622e2[_0x3878('0x114')]['getAttribute'](_0x3878('0x4a')),_0x184dfe),_0x5b2d1c[_0x3878('0xd0')][_0x3878('0x59')](_0x3878('0x0'),_0x1622e2['viewItem'][_0x3878('0x9c')](_0x3878('0x0')),_0x184dfe));},{'priority':'low'});}),this[_0x3878('0x11a')][_0x3878('0x119')][_0x3878('0xed')](_0x3878('0xca'))['elementToAttribute']({'view':{'name':_0x3878('0x75'),'attributes':{'vid':!0x0}},'model':{'key':_0x3878('0xcd'),'value':_0x28b142=>_0x28b142[_0x3878('0x9c')](_0x3878('0xcd'))}}),this[_0x3878('0x11a')][_0x3878('0xe9')][_0x3878('0x30')]['on']('checkAttribute',(_0x1b14a4,[,_0x10ffde])=>{['vid_start',_0x3878('0x0'),_0x3878('0xcd')][_0x3878('0x9f')](_0x10ffde)&&(_0x1b14a4[_0x3878('0xb2')]=!0x0,_0x1b14a4[_0x3878('0x63')]());},{'priority':_0x3878('0x35')}),this[_0x3878('0x11a')]['conversion']['for'](_0x3878('0x6a'))[_0x3878('0x1')](_0x3a45b7=>{_0x3a45b7['on'](_0x3878('0x10'),(_0x57f358,_0x54fa4c,_0x49e714)=>{if('\x20'!=_0x54fa4c[_0x3878('0xf2')][_0x3878('0x71')]||_0x54fa4c[_0x3878('0xf2')]['parent'][_0x3878('0xab')]>0x1)return;if(!_0x49e714['consumable'][_0x3878('0x1f')](_0x54fa4c[_0x3878('0xf2')],_0x57f358['name']))return;const _0x125805=_0x49e714[_0x3878('0xd0')],_0x4e4c68=_0x49e714[_0x3878('0xff')][_0x3878('0xd1')](_0x54fa4c[_0x3878('0xe7')]);_0x125805[_0x3878('0xa7')](_0x4e4c68,_0x125805[_0x3878('0xaa')]('span'));});}),this['editor'][_0x3878('0x119')]['for'](_0x3878('0x6a'))[_0x3878('0x42')]({'model':'revision'}),this['editor'][_0x3878('0x4b')][_0x3878('0x98')]['on']('addMarker:revision',function(_0x25c97c){const _0x169bf2=_0x25c97c[_0x3878('0xc1')][_0x3878('0x3f')]('RevisionViewer');return(_0xed5aff,_0x53d668,_0x593a97)=>{const _0x55bf47=_0x53d668[_0x3878('0xbe')]['split'](':')[0x1],_0x329b02=_0x169bf2[_0x3878('0x7')](_0x55bf47);if(!_0x329b02)return null;const _0x5c4db=_0x3878('0x1')==_0x329b02['type']?_0x3878('0x67'):_0x3878('0x1b');if(!_0x593a97[_0x3878('0xd7')][_0x3878('0x113')](_0x53d668['markerRange'],_0xed5aff[_0x3878('0x108')]))return;const _0x403b68=_0x53d668[_0x3878('0xb4')]['getWalker'](),_0x9fc6a5=_0x53d668['markerRange'][_0x3878('0x37')],_0x174e32=_0x25c97c[_0x3878('0xe9')][_0x3878('0x30')];let _0x2d8555=null,_0x269c17=null,_0x198652=!0x1,_0x4e70c9=!0x1;for(const _0x1ceef8 of _0x403b68){const _0x474575=_0x1ceef8[_0x3878('0xf2')];_0x198652=_0x198652||_0x174e32[_0x3878('0x69')](_0x474575);const _0x45ae3f=_0x593a97[_0x3878('0xff')]['toViewElement'](_0x474575);if(_0x45ae3f&&_0x45ae3f[_0x3878('0x89')](_0x3878('0xaf')))return;_0x3878('0x97')==_0x1ceef8['type']&&(_0x174e32['isBlock'](_0x474575)&&!_0x174e32[_0x3878('0xd2')](_0x474575)&&(_0x474575[_0x3878('0x6d')]||_0x9fc6a5[_0x3878('0xb1')]?_0x2d8555&&_0x2d8555['parent']==_0x474575||(_0x2d8555=_0x474575,_0x1486d5(_0x1ceef8[_0x3878('0xba')]),_0x4e70c9=!0x0):_0x269c17=_0x269c17||_0x1ceef8[_0x3878('0xba')]));}function _0x1486d5(_0x4ae7a7){const _0x530d7b=_0x593a97[_0x3878('0xd0')][_0x3878('0x5')](_0x3878('0x75'),{'class':_0x3878('0x20')+_0x5c4db}),_0x28a837=_0x593a97[_0x3878('0xff')][_0x3878('0xd')](_0x4ae7a7);_0x329b02[_0x3878('0x71')]['isSuggestion']&&_0x593a97[_0x3878('0xd0')]['addClass'](_0x3878('0x20')+_0x5c4db+_0x3878('0x2e'),_0x530d7b),_0x169bf2['activeChange']==_0x329b02&&_0x593a97[_0x3878('0xd0')][_0x3878('0x50')](_0x3878('0xb8'),_0x530d7b),_0x593a97[_0x3878('0xd0')][_0x3878('0x11')](_0x28a837,_0x530d7b),_0x593a97[_0x3878('0xff')]['bindElementToMarker'](_0x530d7b,_0x53d668[_0x3878('0xbe')]);}_0x198652||_0x4e70c9||!_0x269c17||_0x1486d5(_0x269c17);};}(this['editor']),{'priority':_0x3878('0x6f')}),this['editor'][_0x3878('0x4b')][_0x3878('0x98')]['on'](_0x3878('0x7c'),(_0xdab1c3,_0x4eca6f,_0x5c2c94)=>{const _0x115c2e=_0x5c2c94['mapper']['markerNameToElements'](_0x4eca6f['markerName']);if(_0x115c2e)for(const _0x394b03 of _0x115c2e)(_0x394b03[_0x3878('0x93')](_0x3878('0xce'))||_0x394b03[_0x3878('0x93')](_0x3878('0x121')))&&(_0x5c2c94[_0x3878('0xff')][_0x3878('0xa5')](_0x394b03,_0x4eca6f[_0x3878('0xbe')]),_0x5c2c94[_0x3878('0xd0')]['remove'](_0x394b03));},{'priority':_0x3878('0x6f')}),this['editor'][_0x3878('0x4b')][_0x3878('0x98')]['on']('addMarker:revision',(_0x59f51f,_0x2804f8,_0x3b9126)=>{const _0x1af81a=_0x2804f8[_0x3878('0xbe')][_0x3878('0x67')](':')[0x1],_0x29243e=this[_0x3878('0x7')](_0x1af81a);if(!_0x29243e)return null;const _0x3e199c=_0x3878('0x1')==_0x29243e[_0x3878('0x4e')]?_0x3878('0x67'):'merge';if(_0x3b9126['consumable']['test'](_0x2804f8[_0x3878('0xb4')],_0x59f51f[_0x3878('0x108')]))for(const _0x39cfa2 of _0x2804f8['markerRange']['getItems']()){if(!_0x39cfa2['is'](_0x3878('0xb'),_0x3878('0x33')))continue;const _0x393cf1=_0x3b9126[_0x3878('0xd0')][_0x3878('0x5')](_0x3878('0x75'),{'class':_0x3878('0x20')+_0x3e199c}),_0x582ff1=_0x3b9126[_0x3878('0xff')][_0x3878('0xd')](this[_0x3878('0x11a')][_0x3878('0xe9')][_0x3878('0x9')](_0x39cfa2));_0x29243e['data'][_0x3878('0x10c')]&&_0x3b9126[_0x3878('0xd0')]['addClass'](_0x3878('0x20')+_0x3e199c+_0x3878('0x2e'),_0x393cf1),this['activeChange']==_0x29243e&&_0x3b9126[_0x3878('0xd0')][_0x3878('0x50')]('ck-suggestion-marker--active',_0x393cf1),_0x3b9126[_0x3878('0xd0')][_0x3878('0x11')](_0x582ff1,_0x393cf1),_0x3b9126[_0x3878('0xff')][_0x3878('0x21')](_0x393cf1,_0x2804f8['markerName']);}},{'priority':_0x3878('0x6f')}),this[_0x3878('0x11a')][_0x3878('0xe9')][_0x3878('0xe1')]['on'](_0x3878('0xe3'),()=>{this[_0x3878('0x11a')]['editing']['view'][_0x3878('0xe3')](_0x685bd7=>{for(const _0x505903 of this[_0x3878('0x11a')][_0x3878('0xe9')]['document'][_0x3878('0x107')]()){const _0x334f2d=this[_0x3878('0x11a')][_0x3878('0xe9')]['document'][_0x3878('0x65')](_0x505903),_0x1ab114=this[_0x3878('0x11a')][_0x3878('0x4b')][_0x3878('0x22')][_0x3878('0xe1')]['getRoot'](_0x505903);if(_0x1ab114){const _0x56517b=_0x334f2d[_0x3878('0x9c')](_0x3878('0xfa'));if(_0x685bd7[_0x3878('0x31')](_0x3878('0x88'),_0x1ab114),_0x685bd7['removeClass'](_0x3878('0x40'),_0x1ab114),_0x685bd7[_0x3878('0xf6')](_0x3878('0x2'),_0x1ab114),_0x685bd7[_0x3878('0xf6')]('ck-revision-history-root--active',_0x1ab114),_0x56517b){const _0x48ea6d=this[_0x3878('0x7')](_0x56517b);if(!_0x48ea6d)return null;_0x685bd7['setAttribute'](_0x3878('0x88'),_0x56517b,_0x1ab114),_0x685bd7['addClass']('ck-revision-history-root-'+_0x48ea6d[_0x3878('0x4e')],_0x1ab114),this['activeChange']==_0x48ea6d&&_0x685bd7[_0x3878('0x50')](_0x3878('0xc4'),_0x1ab114);}}}});}),this[_0x3878('0x11a')][_0x3878('0x119')][_0x3878('0xed')]('upcast')[_0x3878('0x6e')]({'view':'comment','model':_0x3e5b48=>'revision-comment:'+_0x3e5b48,'converterPriority':_0x3878('0x35')}),this[_0x3878('0x11a')][_0x3878('0x119')][_0x3878('0xed')](_0x3878('0xca'))[_0x3878('0x6e')]({'view':_0x3878('0x95'),'model':_0x5cbae2=>'revision-suggestion:'+_0x5cbae2,'converterPriority':_0x3878('0x35')}),this[_0x3878('0x11a')][_0x3878('0x119')][_0x3878('0xed')](_0x3878('0x6a'))[_0x3878('0x42')]({'model':'revision-suggestion','view':_0x32faaf=>({'name':_0x3878('0xd9')+_0x32faaf,'group':_0x3878('0x27')}),'converterPriority':_0x3878('0x35')}),this[_0x3878('0x11a')][_0x3878('0x119')][_0x3878('0xed')](_0x3878('0x117'))[_0x3878('0x1d')]({'model':_0x3878('0x27'),'view':_0x15cfea=>{const _0x1f928a=_0x15cfea[_0x3878('0xbe')]['split'](':')[0x1];return _0x3878('0xb9')!=_0x1f928a&&_0x3878('0x25')!=_0x1f928a?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1f928a]};}}),this['editor'][_0x3878('0x4b')][_0x3878('0x98')]['on'](_0x3878('0x10f'),et(this[_0x3878('0x11a')],_0x3878('0x1b')),{'priority':_0x3878('0x6f')}),this[_0x3878('0x11a')][_0x3878('0x4b')][_0x3878('0x98')]['on'](_0x3878('0x120'),et(this['editor'],_0x3878('0x67')),{'priority':_0x3878('0x6f')}),this[_0x3878('0x11a')][_0x3878('0x4b')]['downcastDispatcher']['on'](_0x3878('0x2b'),(_0x10a075,_0x26d62c,_0x1fc57b)=>{const _0x556d69=_0x1fc57b[_0x3878('0xff')][_0x3878('0xa3')](_0x26d62c[_0x3878('0xbe')]);if(_0x556d69)for(const _0x4bdaf8 of _0x556d69)_0x4bdaf8['is'](_0x3878('0x3b'))&&(_0x1fc57b[_0x3878('0xff')][_0x3878('0xa5')](_0x4bdaf8,_0x26d62c['markerName']),_0x1fc57b[_0x3878('0xd0')][_0x3878('0xc')](_0x4bdaf8));},{'priority':_0x3878('0x6f')});}[_0x3878('0x7')](_0x2030e3){return this[_0x3878('0x47')][_0x3878('0x3f')](_0x2030e3);}[_0x3878('0x62')](_0x59ce5c){return this[_0x3878('0x103')]&&this[_0x3878('0x103')][_0x3878('0x3d')](),this[_0x3878('0x103')]=new _0x1fb614(this[_0x3878('0x11a')][_0x3878('0xc2')],_0x59ce5c),this[_0x3878('0x103')];}[_0x3878('0xa8')](){this[_0x3878('0x11a')][_0x3878('0xe9')][_0x3878('0xe1')][_0x3878('0x5a')][_0x3878('0xcb')](_0x3878('0x6c')),this['on']('change:activeView',(_0x4f92b2,_0x1ec535,_0x5d19cb,_0x2249ee)=>{_0x2249ee&&this[_0x3878('0xf1')][_0x3878('0xc')](_0x2249ee),_0x5d19cb&&(this[_0x3878('0xf1')][_0x3878('0x1')]({'view':_0x5d19cb,'stackId':_0x3878('0x14'),'position':{'target':()=>{const _0x392d2c=this[_0x3878('0x11a')][_0x3878('0x4b')],_0x1bc5c7=this[_0x3878('0x7')](_0x5d19cb[_0x3878('0x60')]);let _0x4b0b48;if(_0x1bc5c7['data'][_0x3878('0x28')]){const _0x417c8f=_0x392d2c[_0x3878('0x22')][_0x3878('0xf4')](_0x1bc5c7['rootName']);_0x4b0b48=Array[_0x3878('0xc7')](_0x417c8f['getClientRects']());}else{const _0x559d51=this['editor']['model'][_0x3878('0x11f')]['get'](_0x3878('0xd5')+_0x5d19cb[_0x3878('0x60')]);_0x4b0b48=Array[_0x3878('0xc7')](_0x392d2c[_0x3878('0xff')][_0x3878('0xa3')](_0x559d51[_0x3878('0x108')]))['map'](_0x5c268e=>_0x392d2c[_0x3878('0x22')]['domConverter']['mapViewToDom'](_0x5c268e))[_0x3878('0xd8')](_0x5125db=>Array['from'](_0x5125db[_0x3878('0x83')]()))[_0x3878('0x51')]();}if(!this['_activeViewTarget'])return _0x4b0b48[0x0];return _0x4b0b48[_0x3878('0x82')](_0x4a5b10=>_0x4a5b10['top']-0x3<=this[_0x3878('0x3a')]['y']&&_0x4a5b10[_0x3878('0x46')]+0x3>=this[_0x3878('0x3a')]['y']&&_0x4a5b10['left']-0x3<=this[_0x3878('0x3a')]['x']&&_0x4a5b10['right']+0x3>=this[_0x3878('0x3a')]['x'])||_0x4b0b48[0x0];}}}),this[_0x3878('0xf1')][_0x3878('0x44')](_0x3878('0x14')));}),this['on']('change:activeChange',(_0x1a0b0b,_0x517bb2,_0x28be5b,_0x563b49)=>{this[_0x3878('0xa1')]=_0x28be5b?this[_0x3878('0x62')](_0x28be5b):null,this[_0x3878('0x11a')]['model'][_0x3878('0xe3')](()=>{const _0x59f24c=this['editor']['editing'];_0x563b49&&(_0x563b49[_0x3878('0x71')][_0x3878('0x28')]?_0x59f24c[_0x3878('0x22')]['change'](_0x4c656c=>{_0x4c656c[_0x3878('0xf6')](_0x3878('0xc4'),_0x59f24c[_0x3878('0x22')][_0x3878('0xe1')][_0x3878('0x65')](_0x563b49[_0x3878('0x4d')]));}):_0x59f24c[_0x3878('0x1c')](_0x3878('0xd5')+_0x563b49['id'])),_0x28be5b&&(_0x28be5b['data'][_0x3878('0x28')]?_0x59f24c[_0x3878('0x22')][_0x3878('0xe3')](_0x35b98f=>{_0x35b98f[_0x3878('0x50')](_0x3878('0xc4'),_0x59f24c[_0x3878('0x22')][_0x3878('0xe1')]['getRoot'](_0x28be5b[_0x3878('0x4d')]));}):_0x59f24c['reconvertMarker']('revision:'+_0x28be5b['id']));});}),this[_0x3878('0x55')](this['editor']['editing'][_0x3878('0x22')][_0x3878('0xe1')],_0x3878('0xfe'),(_0x40ca96,_0x2c1056)=>{if(this[_0x3878('0x23')])return;const _0x508065=this['_findChangeIdFromDomTarget'](_0x2c1056[_0x3878('0x7d')]),_0x1bb239=this[_0x3878('0x47')][_0x3878('0x3f')](_0x508065);_0x1bb239?(this[_0x3878('0x3a')]={'x':_0x2c1056[_0x3878('0x96')]['x'],'y':_0x2c1056[_0x3878('0x96')]['y']},this['activeView']=this['_getViewForChange'](_0x1bb239)):(this[_0x3878('0x3a')]=null,this[_0x3878('0xa1')]=null);}),this['listenTo'](this[_0x3878('0x11a')][_0x3878('0x4b')][_0x3878('0x22')][_0x3878('0xe1')],_0x3878('0xad'),(_0x84f97c,_0x22def8)=>{const _0x21169f=this[_0x3878('0xdf')](_0x22def8['target']),_0x1826f8=this[_0x3878('0x47')][_0x3878('0x3f')](_0x21169f);_0x1826f8?(this[_0x3878('0x3a')]={'x':_0x22def8[_0x3878('0x96')]['x'],'y':_0x22def8[_0x3878('0x96')]['y']},_0x1826f8===this[_0x3878('0x23')]?this[_0x3878('0xf1')][_0x3878('0x19')]():this[_0x3878('0x23')]=_0x1826f8):(this[_0x3878('0x3a')]=null,this[_0x3878('0x23')]=null);});}[_0x3878('0xdf')](_0x3b55af){do{const _0x462d4e=_0x3b55af[_0x3878('0x9c')](_0x3878('0x88'));if(_0x462d4e)return _0x462d4e;_0x3b55af=_0x3b55af[_0x3878('0x5f')];}while(_0x3b55af);return null;}[_0x3878('0xf5')](){this[_0x3878('0x11a')][_0x3878('0xe9')][_0x3878('0xe3')](_0x328737=>{for(const _0x3304ae of this[_0x3878('0x11a')]['model'][_0x3878('0x11f')])_0x328737[_0x3878('0xb3')](_0x3304ae);});}}function et(_0x1a1727,_0x2d23cd){return(_0x20fd1b,_0x353895,_0x2094fa)=>{if(!_0x2094fa['consumable'][_0x3878('0x113')](_0x353895[_0x3878('0xb4')],_0x20fd1b[_0x3878('0x108')]))return;const _0x82f1fa=_0x353895['markerRange']['getWalker'](),_0x2a6f96=_0x353895[_0x3878('0xb4')][_0x3878('0x37')],_0x510a58=_0x1a1727['model'][_0x3878('0x30')];let _0x5ea958=null,_0x37b995=null,_0xad02b6=!0x1,_0x54a75e=!0x1;for(const _0x53f9c6 of _0x82f1fa){const _0x1d1453=_0x53f9c6[_0x3878('0xf2')];_0xad02b6=_0xad02b6||_0x510a58['isContent'](_0x1d1453);const _0x2d84cc=_0x2094fa[_0x3878('0xff')][_0x3878('0xe6')](_0x1d1453);if(_0x2d84cc&&_0x2d84cc[_0x3878('0x89')](_0x3878('0xaf')))return;_0x3878('0x97')==_0x53f9c6['type']&&(_0x510a58[_0x3878('0xfc')](_0x1d1453)&&!_0x510a58[_0x3878('0xd2')](_0x1d1453)&&(_0x1d1453['nextSibling']||_0x2a6f96[_0x3878('0xb1')]?_0x5ea958&&_0x5ea958[_0x3878('0x5f')]==_0x1d1453||(_0x5ea958=_0x1d1453,_0x5eabfc(_0x53f9c6[_0x3878('0xba')]),_0x54a75e=!0x0):_0x37b995=_0x37b995||_0x53f9c6[_0x3878('0xba')]));}function _0x5eabfc(_0x488514){const _0x53e53d=_0x2094fa[_0x3878('0xff')][_0x3878('0xd')](_0x488514),_0x4dfde1=_0x2094fa[_0x3878('0xd0')][_0x3878('0x5')](_0x3878('0x75'),{'class':_0x3878('0x56')+_0x2d23cd});_0x2094fa[_0x3878('0xd0')][_0x3878('0x11')](_0x53e53d,_0x4dfde1),_0x2094fa[_0x3878('0xff')][_0x3878('0x21')](_0x4dfde1,_0x353895[_0x3878('0xbe')]);}_0xad02b6||_0x54a75e||!_0x37b995||_0x5eabfc(_0x37b995);};}export class RestoreRevisionCommand extends _0x3e15ab{constructor(_0x1baffd){super(_0x1baffd);const _0x1900a0=_0x1baffd['plugins'][_0x3878('0x3f')](d);this['affectsData']=!0x1,this['listenTo'](_0x1900a0,_0x3878('0xdc'),()=>this[_0x3878('0xc0')]()),this[_0x3878('0x55')](_0x1900a0,_0x3878('0x106'),()=>this['refresh']());}[_0x3878('0xd3')](){const _0x41e6a9=this[_0x3878('0x11a')],_0x102819=_0x41e6a9['plugins'][_0x3878('0x3f')](d),_0x8ac2d1=_0x102819['isReady']?_0x102819[_0x3878('0x1e')][_0x3878('0x43')]:null;_0x41e6a9['config'][_0x3878('0x3f')](_0x3878('0x72'))[_0x3878('0x78')](_0x8ac2d1);}['refresh'](){const {isReady:_0xd284e5,isEnabled:_0x5d68a5}=this[_0x3878('0x11a')]['plugins'][_0x3878('0x3f')](d);this[_0x3878('0x2a')]=_0xd284e5&&_0x5d68a5;}}export class ShowChangeCommand extends _0x3e15ab{constructor(_0x1b9ea1,{direction:_0x52a376}){super(_0x1b9ea1);const _0x16043d=_0x1b9ea1['plugins'][_0x3878('0x3f')](d);this['affectsData']=!0x1,this[_0x3878('0x8d')]=_0x3878('0x5b')===_0x52a376?0x1:-0x1,this['listenTo'](_0x16043d,_0x3878('0xdc'),()=>this[_0x3878('0xc0')]()),this[_0x3878('0x55')](_0x16043d,_0x3878('0x106'),()=>this[_0x3878('0xc0')]()),this[_0x3878('0x55')](_0x16043d,'change:activeChange',()=>this[_0x3878('0xc0')]());}[_0x3878('0xd3')](){const _0x2be5d7=this[_0x3878('0x11a')],_0x1649c4=_0x2be5d7[_0x3878('0xc1')]['get'](d),{isNavigationMode:_0x51a6ee,currentChangeNumber:_0x45bdc9}=_0x1649c4;let _0x14fe8c;if(_0x1649c4[_0x3878('0x23')]=_0x51a6ee?_0x1649c4[_0x3878('0x1e')][_0x3878('0x3')][_0x3878('0x3f')](_0x45bdc9+this['_step']):_0x1649c4[_0x3878('0x1e')][_0x3878('0x3')][_0x3878('0x4c')],_0x1649c4[_0x3878('0x23')][_0x3878('0x71')][_0x3878('0x28')])_0x14fe8c=_0x2be5d7[_0x3878('0x4b')][_0x3878('0x22')][_0x3878('0xf4')](_0x1649c4[_0x3878('0x23')]['rootName']);else{const _0x138b52=_0x2be5d7[_0x3878('0xe9')][_0x3878('0x11f')][_0x3878('0x3f')](_0x3878('0xd5')+_0x1649c4['activeChange']['id']);_0x14fe8c=_0xbc3fb0(_0x2be5d7[_0x3878('0x4b')],_0x138b52);}_0x483bb9({'target':_0x14fe8c,'viewportOffset':0x28});}[_0x3878('0xc0')](){const {isNavigationMode:_0x115a2f,currentChangeNumber:_0x20684b,numberOfChanges:_0x466854,isReady:_0x29a334,isEnabled:_0x3b5de8}=this[_0x3878('0x11a')]['plugins'][_0x3878('0x3f')](d);this['isEnabled']=!!(_0x3b5de8&&_0x29a334&&_0x466854)&&(!_0x115a2f||(0x1===this['_step']?_0x20684b<_0x466854-0x1:_0x20684b>0x0));}}
23
+ const _0x235a=['_getRevisionsRange','sort','getRevision','isAdded','comment','createRangeIn','_threeWayMerge','compare','_findChangeIdFromDomTarget','type','domConverter','revisionHistoryLabel','createUIElement','toViewElement','hasAttribute','toViewPosition','nodeAfter','element:pre','low','top','deletion','data-change-id','_removeUnsupportedChanges','addClass','getChild','activeView','isRemoveSuggestion','toData','addRevisionData','bindElementToMarker','insertion','RevisionsRepository','affectsData','startIndex','isSuggestion','_initInteractions','forward','view','isInline','isOnRoot','forEach','mouseover','destroy','clear','_markMarkers','setAttribute','createAttributeElement','add','newRevisionId','dataDowncast','addMarker:revision-suggestion:insertion','vid_start','addHighlight','attributesAfter','markers','_markSuggestions','ck-revision-history-root-remove','isCollapsed','concat','plugins','activeChange','upcast','uiElement','changeId','_fixObsoleteTags','ck-suggestion-preview-marker','flat','isAttached','endIndex','isBefore','_balloon','markersEnd','_changeIdToChange','children','split','parse','_activeViewTarget','change:activeChange','suggestion','left','ck-suggestion-marker-split','collaboration.channelId','data','next','_markMismatchedRemovedTags','isObject','config','toViewRange','default','isAfter','_getChangeFromId','distance','vid_end','schema','revision','isLimit','dataToMarker','RevisionViewer','right','span','mapper','roots','_joinTapes','revision-suggestion:','change:activeView','_makeModelFromViewString','removeMarker:revision-suggestion','ck-suggestion-marker-','name','_makeTape','high','vid','isIncorrect','find','WidgetToolbarRepository','highest','refresh','pairId','_cleanUp','ck-revision-history-root--active','editing','_removeRevisionMarkers','findIndex','revision-viewer','set','_getDiff','unshift','isContent','length','hasClass','merge','POSITIVE_INFINITY','end','showNextChange','addMarker:revision-suggestion:deletion','previousPosition','addRevision','writer','adapter','_appendChild','isReady','bottom','loadRevisionData','numberOfChanges','_setChanges','_refreshStartEndIndex','_update','elementEnd','elementStart','modelRange','changes','from','offsetSize','shift','abs','getCustomProperty','push','domEvent','selection','restoreRevisionCallback','insertions','index','values','enqueueChange','checkAttribute','removeMarker','ck-editor__editable__overlay','get','element','_step','test','repository','deletions','markerToData','createPositionFromPath','parent','_revisions','attributesBefore','model','isRemoved','pop','consume','_removeMissingPairs','resolve','markerName','conversion','return','getIndex','catch','change:isEnabled','consumable','useFillerType','isEnabled','side','oldRevisionId','pluginName','string','startsWith','currentChangeNumber','getClientRects','_processTape','data-revision-','downcastDispatcher','stop','getRootNames','markersStart','markerRange','getWalker','_markInsertions','item','isBlock','for','userId','_cleanMarkers','updatePosition','-new','nextSibling','createRange','wrap','revision:','done','restoreRevision','_sortAndFilterDiffChanges','processor','reconvertMarker','object','locale','listenTo','bind','getAttribute','mapViewToDom','_setConversion','isAddSuggestion','getRoot','observeMarkers','showPreviousChange','marked','requires','createPositionBefore','change','unbindElementFromMarkerName','markerNameToElements','nextPosition','_changeView','editingDowncast','insert','indexOf','attachChange','diffData','_getViewObj','ck-suggestion-marker--active','splice','level','detachRoot','editor','isAtEnd','attributes','removeClass','remove','isEqual','map','addRoot','then','filter','_setDistance','document','revision-suggestion','start','change:isReady','revisionHistoryAttachChange','markerToHighlight','createRevision','slice','error','has','_makeModelFromTape','getDomRoot','ck-suggestion-preview-marker-','viewItem','attribute:vid','addMarker:revision','_getViewForChange','rootName','delete','includes','commands','keys','isAtStart','getAttributes','revisionHistory','text','isNavigationMode','ck-revision-history-root-add','diff'];(function(_0x35a48b,_0x235a76){const _0x15a650=function(_0x1070a4){while(--_0x1070a4){_0x35a48b['push'](_0x35a48b['shift']());}};_0x15a650(++_0x235a76);}(_0x235a,0x145));const _0x15a6=function(_0x35a48b,_0x235a76){_0x35a48b=_0x35a48b-0x0;let _0x15a650=_0x235a[_0x35a48b];return _0x15a650;};import{Plugin as _0x484acf,Command as _0x64b08}from'ckeditor5/src/core';import{scrollViewportToShowTarget as _0x3117ae}from'ckeditor5/src/utils';import{ContextualBalloon as _0xa75035}from'ckeditor5/src/ui';import{DocumentFragment as _0x3b6f74,Element as _0x5770d2,Text as _0x4de0b2,ViewDocumentFragment as _0x1a1b45,ViewText as _0xc36790,ViewElement as _0x45b95c,ViewContainerElement as _0x24d480,ViewAttributeElement as _0x20a51d,ViewEmptyElement as _0x5989c1,ViewRawElement as _0x35bb69,ViewUIElement as _0x259bc9}from'ckeditor5/src/engine';import{Users as _0x3c63ef,getMarkerDomElement as _0x3e8826}from'ckeditor5-collaboration/src/collaboration-core';import _0x13ee47 from'./ui/revisionviewer/changedetailsview';import _0x387cb0 from'./revisionsrepository';import _0x162c8f from'./changeitem';import{default as _0x523f0d}from'./revisiondiff';import'../theme/revisionviewer.css';import{cloneDeep as _0x539880}from'lodash-es';const tt={'c':_0x24d480,'a':_0x20a51d,'e':_0x5989c1,'r':_0x35bb69,'u':_0x259bc9};export default class d extends _0x484acf{static get[_0x15a6('0xa4')](){return'RevisionViewer';}static get[_0x15a6('0xce')](){return[_0x3c63ef,_0xa75035,_0x387cb0];}constructor(_0x43bd81){super(_0x43bd81),this['repository']=this['editor'][_0x15a6('0x1c')]['get'](_0x15a6('0x0')),this[_0x15a6('0x5d')](_0x15a6('0x1d'),null),this['set'](_0x15a6('0x120'),null),this[_0x15a6('0x2d')]=null,this[_0x15a6('0x5d')](_0x15a6('0x106'),null),this['set'](_0x15a6('0x6d'),!0x1),this[_0x15a6('0x5d')](_0x15a6('0xa1'),!0x0),this['on'](_0x15a6('0x9e'),(_0x5532e6,_0xb8ad3f,_0x16c159)=>{this['activeChange']=null,this['activeView']=null,this[_0x15a6('0xdf')]['editing'][_0x15a6('0x6')][_0x15a6('0xd0')](_0x1f133c=>{for(const _0xab415b of this[_0x15a6('0xdf')][_0x15a6('0x59')][_0x15a6('0x6')][_0x15a6('0xea')][_0x15a6('0x46')])_0x16c159?_0x1f133c[_0x15a6('0xe2')](_0x15a6('0x87'),_0xab415b):_0x1f133c[_0x15a6('0x11e')](_0x15a6('0x87'),_0xab415b);});}),this[_0x15a6('0xc5')](_0x15a6('0x104'))['to'](this,_0x15a6('0x1d'),_0x1b1a87=>null!==_0x1b1a87),this[_0x15a6('0xc5')](_0x15a6('0xa7'))['to'](this,_0x15a6('0x6d'),this,_0x15a6('0x106'),this,'activeChange',(_0x89774c,_0x4c391e,_0x1e6942)=>_0x89774c&&_0x1e6942?_0x4c391e[_0x15a6('0x77')][_0x15a6('0x9c')](_0x1e6942):0x0),this['bind'](_0x15a6('0x70'))['to'](this,_0x15a6('0x6d'),this,'diff',(_0x119065,_0x142cad)=>_0x119065?_0x142cad['changes'][_0x15a6('0x61')]:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this[_0x15a6('0x6b')]=null,this[_0x15a6('0x27')]=this[_0x15a6('0xdf')]['plugins'][_0x15a6('0x88')](_0xa75035);}['init'](){const _0x2bcd18=this[_0x15a6('0xdf')],_0x504979=new ShowChangeCommand(_0x2bcd18,{'direction':'backward'}),_0x21ea4a=new ShowChangeCommand(_0x2bcd18,{'direction':_0x15a6('0x5')});(_0x2bcd18[_0x15a6('0xfe')][_0x15a6('0x10')](_0x15a6('0xcc'),_0x504979),_0x2bcd18[_0x15a6('0xfe')][_0x15a6('0x10')](_0x15a6('0x66'),_0x21ea4a),_0x2bcd18[_0x15a6('0xfe')][_0x15a6('0x10')](_0x15a6('0xbe'),new RestoreRevisionCommand(_0x2bcd18)),this['on']('change:numberOfChanges',()=>{_0x504979['refresh'](),_0x21ea4a[_0x15a6('0x55')]();}),this[_0x15a6('0xc8')](),this[_0x15a6('0x4')](),_0x2bcd18['enableReadOnlyMode'](_0x15a6('0x5c')),_0x2bcd18[_0x15a6('0x1c')][_0x15a6('0xf3')](_0x15a6('0x53')))&&_0x2bcd18[_0x15a6('0x1c')][_0x15a6('0x88')]('WidgetToolbarRepository')['forceDisabled'](_0x15a6('0x5c'));}async['getRevisionData'](_0x43f4f3){await this[_0x15a6('0x6f')](_0x43f4f3);const _0x31d2c3={};for(const _0x240bd4 in _0x43f4f3[_0x15a6('0xd9')]){if(_0x43f4f3[_0x15a6('0xd9')][_0x240bd4]['attachChange']&&!_0x43f4f3[_0x15a6('0xd9')][_0x240bd4][_0x15a6('0xd8')][_0x15a6('0x24')])continue;const _0x35e026=this[_0x15a6('0x5a')](JSON['parse'](_0x43f4f3[_0x15a6('0xd9')][_0x240bd4][_0x15a6('0x81')])),_0x234e15=this['editor'][_0x15a6('0x59')][_0x15a6('0x6')][_0x15a6('0xea')],_0x22a561=new _0x1a1b45(_0x234e15,_0x35e026[_0x15a6('0xe5')](_0x13d1c6=>this[_0x15a6('0xda')](_0x13d1c6)));this['editor'][_0x15a6('0x33')]['processor'][_0x15a6('0xa0')](_0x15a6('0xcd')),_0x31d2c3[_0x240bd4]=this['editor'][_0x15a6('0x33')][_0x15a6('0xc0')][_0x15a6('0x122')](_0x22a561),this[_0x15a6('0xdf')][_0x15a6('0x33')][_0x15a6('0xc0')][_0x15a6('0xa0')](_0x15a6('0x39'));}return _0x31d2c3;}async['getRevisionRootsAttributes'](_0x17c7c0){await this[_0x15a6('0x6f')](_0x17c7c0);const _0xadeb06={};for(const _0x26e7f8 in _0x17c7c0[_0x15a6('0xd9')])_0x17c7c0[_0x15a6('0xd9')][_0x26e7f8][_0x15a6('0xd8')]&&!_0x17c7c0[_0x15a6('0xd9')][_0x26e7f8]['attachChange'][_0x15a6('0x24')]||(_0xadeb06[_0x26e7f8]=_0x17c7c0[_0x15a6('0xd9')][_0x26e7f8]['attributesAfter']||{});return _0xadeb06;}[_0x15a6('0x5a')](_0x3745a2){return(_0x3745a2=_0x3745a2['filter'](_0x7af357=>!_0x7af357['name']||'revision-start'!==_0x7af357['name']&&'revision-end'!==_0x7af357[_0x15a6('0x4d')]))[_0x15a6('0x9')](_0x3e0aa5=>{'string'!=typeof _0x3e0aa5&&(_0x3e0aa5['children']=this[_0x15a6('0x5a')](_0x3e0aa5[_0x15a6('0x2a')]),_0x3e0aa5[_0x15a6('0xe1')]=_0x3e0aa5[_0x15a6('0xe1')]['filter'](_0x1dee8e=>!_0x1dee8e[0x0][_0x15a6('0xa6')](_0x15a6('0xaa'))));}),_0x3745a2;}async[_0x15a6('0x10e')](_0x203674,_0x305f15,_0x3edb53=!0x1){if(!this[_0x15a6('0xa1')])return;const _0x3ec5a1=this[_0x15a6('0x106')],_0x59eb74=this['repository'],_0x217c70=_0x15a6('0xa5')==typeof _0x203674?_0x59eb74['getRevision'](_0x203674):_0x203674,_0x24f9d6=_0x15a6('0xa5')==typeof _0x305f15?_0x59eb74['getRevision'](_0x305f15):_0x305f15,_0x3d5857=_0x217c70['id'],_0x267634=_0x24f9d6?_0x24f9d6['id']:null;if(!_0x3edb53&&this['diff']&&this[_0x15a6('0x106')]['newRevisionId']===_0x3d5857&&this[_0x15a6('0x106')][_0x15a6('0xa3')]===_0x267634)return Promise['resolve']();this['isReady']=!0x1,this[_0x15a6('0x120')]=null,this[_0x15a6('0x1d')]=null,this[_0x15a6('0x106')]=new _0x523f0d(_0x3d5857,_0x267634);const _0x1f8560=this[_0x15a6('0x107')](_0x217c70,_0x24f9d6,!0x0)[_0x15a6('0xe5')](_0x2124af=>this['loadRevisionData'](_0x2124af));return _0x1f8560[_0x15a6('0x7d')](new Promise(_0x33340b=>{setTimeout(_0x33340b,0x14);})),Promise['all'](_0x1f8560)[_0x15a6('0xe7')](()=>{if(!this['isEnabled'])return;this[_0x15a6('0x57')]();const _0x187df0=this[_0x15a6('0x5e')](_0x3d5857,_0x267634);for(const _0x3b0694 of _0x187df0[_0x15a6('0x77')])this[_0x15a6('0x29')][_0x15a6('0x5d')](_0x3b0694['id'],_0x3b0694);this[_0x15a6('0xdf')]['model']['enqueueChange']({'isUndoable':!0x1},_0x2ee3a6=>{for(const _0x614fb2 of this[_0x15a6('0xdf')][_0x15a6('0x93')][_0x15a6('0xea')]['getRootNames']())_0x2ee3a6[_0x15a6('0xde')](_0x614fb2);for(const _0x56ee08 of Object[_0x15a6('0xff')](_0x187df0['model'])){const _0x4d53c8=_0x2ee3a6[_0x15a6('0xe6')](_0x56ee08);for(const _0x9a936a of Object['keys'](_0x187df0['attributes'][_0x56ee08]))_0x2ee3a6[_0x15a6('0xe')](_0x9a936a,_0x187df0[_0x15a6('0xe1')][_0x56ee08][_0x9a936a],_0x4d53c8);_0x2ee3a6[_0x15a6('0xd6')](_0x187df0[_0x15a6('0x93')][_0x56ee08],_0x4d53c8,0x0);}}),this[_0x15a6('0x106')][_0x15a6('0x71')](this[_0x15a6('0xbf')](_0x187df0['changes'])),this[_0x15a6('0x6d')]=!0x0;})[_0x15a6('0x9d')](_0x59b51d=>{console[_0x15a6('0xf2')](_0x59b51d),this['_cleanUp'](),_0x3ec5a1&&(this[_0x15a6('0x106')]=_0x3ec5a1),this[_0x15a6('0x6d')]=!0x0;});}[_0x15a6('0x123')](_0x1a7141,_0x21901e){const _0x313b8f=this[_0x15a6('0x8c')][_0x15a6('0xf0')](_0x1a7141);return _0x313b8f['on'](_0x15a6('0x73'),(_0x148244,_0x4ee99f,_0x4f909d)=>_0x21901e(_0x4ee99f,_0x4f909d,_0x313b8f)),this['repository'][_0x15a6('0x69')](_0x313b8f),_0x313b8f;}[_0x15a6('0x6f')](_0x8c354a){if(!_0x8c354a||_0x8c354a[_0x15a6('0xd9')])return Promise[_0x15a6('0x98')]();{const _0x297029=this[_0x15a6('0xdf')][_0x15a6('0x37')][_0x15a6('0x88')](_0x15a6('0x32'));return this[_0x15a6('0x6b')]['getRevision']({'channelId':_0x297029,'revisionId':_0x8c354a['id']})[_0x15a6('0xe7')](_0x29e5cc=>{_0x8c354a[_0x15a6('0x73')]({'diffData':_0x29e5cc[_0x15a6('0xd9')]},!0x0);});}}[_0x15a6('0x57')](){this[_0x15a6('0x1d')]=null,this[_0x15a6('0xb6')](),this[_0x15a6('0xd4')]&&this[_0x15a6('0xd4')][_0x15a6('0xb')](),this['_changeView']=null,this[_0x15a6('0x29')][_0x15a6('0xc')](),this[_0x15a6('0xdf')]['model'][_0x15a6('0x84')]({'isUndoable':!0x1},_0x5c4870=>{for(const _0x3e4a42 of this[_0x15a6('0xdf')][_0x15a6('0x93')]['document'][_0x15a6('0xad')]())_0x5c4870[_0x15a6('0xde')](_0x3e4a42);});}['_sortAndFilterDiffChanges'](_0xb0c1b9){const _0x1fa58c=[],_0x3fb61c=new Map();for(const _0x57387a of this['editor']['model'][_0x15a6('0xea')][_0x15a6('0xad')]()){const _0x340376=this[_0x15a6('0xdf')][_0x15a6('0x59')][_0x15a6('0x6')][_0x15a6('0xf5')](_0x57387a);if(!_0x340376)continue;const _0x50b6b5=_0x340376['getClientRects']()[_0x15a6('0xb2')](0x0);_0x50b6b5&&(_0x1fa58c[_0x15a6('0x7d')](_0x57387a),_0x3fb61c[_0x15a6('0x5d')](_0x57387a,_0x50b6b5));}return _0x1fa58c[_0x15a6('0x108')]((_0x374a24,_0x339232)=>{const _0x1f93d7=_0x3fb61c['get'](_0x374a24),_0xf63a8c=_0x3fb61c[_0x15a6('0x88')](_0x339232);return _0x1f93d7['y']-_0xf63a8c['y']||_0x1f93d7['x']-_0xf63a8c['x'];}),(_0xb0c1b9=_0xb0c1b9[_0x15a6('0xe8')](_0x53e24b=>_0x1fa58c[_0x15a6('0xfd')](_0x53e24b[_0x15a6('0xfb')])))[_0x15a6('0x108')]((_0x36c83a,_0x43332b)=>_0x1fa58c[_0x15a6('0xd7')](_0x36c83a[_0x15a6('0xfb')])-_0x1fa58c[_0x15a6('0xd7')](_0x43332b[_0x15a6('0xfb')])),_0xb0c1b9;}[_0x15a6('0x4e')](_0x318aee){const _0x9a5b83=Array[_0x15a6('0x78')](_0x318aee[_0x15a6('0x17')])['filter'](([_0x5f1cde,_0x32607c])=>_0x5f1cde[_0x15a6('0xa6')]('revision:')&&!_0x32607c[_0x15a6('0x1a')]),_0x1b4a78=Array[_0x15a6('0x78')](this[_0x15a6('0xdf')][_0x15a6('0x93')][_0x15a6('0x10c')](_0x318aee)[_0x15a6('0xb0')]({'singleCharacters':!0x0}));if(0x0!=_0x9a5b83['length'])for(const _0x154a7b of _0x1b4a78){const [_0x18fa01,_0x53334e]=_0x9a5b83[0x0],[,_0x51ee8d,_0xd8b552]=_0x18fa01[_0x15a6('0x2b')](':');if(_0x53334e[_0x15a6('0x65')][_0x15a6('0xe4')](_0x154a7b['nextPosition'])&&_0x9a5b83[_0x15a6('0x7a')](),(_0x154a7b[_0x15a6('0x68')]['isEqual'](_0x53334e[_0x15a6('0xec')])||_0x154a7b[_0x15a6('0x68')][_0x15a6('0x3a')](_0x53334e[_0x15a6('0xec')]))&&(_0x15a6('0x125')==_0x51ee8d?_0x154a7b[_0x15a6('0x10a')]={'userId':_0xd8b552}:'deletion'==_0x51ee8d&&(_0x154a7b[_0x15a6('0x94')]={'userId':_0xd8b552})),0x0==_0x9a5b83[_0x15a6('0x61')])break;}return _0x1b4a78;}[_0x15a6('0x72')](_0x1e8c0c){const _0x3d94c9=new Map();for(let _0x4c7143=0x0;_0x4c7143<_0x1e8c0c['length'];_0x4c7143++)_0x15a6('0x103')===_0x1e8c0c[_0x4c7143][_0x15a6('0x110')]?(_0x1e8c0c[_0x4c7143][_0x15a6('0xb2')]['startIndex']=_0x4c7143,_0x1e8c0c[_0x4c7143][_0x15a6('0xb2')][_0x15a6('0x25')]=_0x4c7143):('elementStart'===_0x1e8c0c[_0x4c7143]['type']?_0x1e8c0c[_0x4c7143][_0x15a6('0xb2')][_0x15a6('0x2')]=_0x4c7143:_0x15a6('0x74')===_0x1e8c0c[_0x4c7143][_0x15a6('0x110')]&&(_0x1e8c0c[_0x4c7143]['item'][_0x15a6('0x25')]=_0x4c7143),_0x3d94c9[_0x15a6('0x5d')](_0x1e8c0c[_0x4c7143]['id'],_0x4c7143));for(const _0x264998 of _0x3d94c9[_0x15a6('0x83')]())'elementStart'===_0x1e8c0c[_0x264998][_0x15a6('0x110')]?_0x1e8c0c[_0x264998][_0x15a6('0xb2')][_0x15a6('0x25')]=_0x3d94c9[_0x15a6('0x88')](_0x1e8c0c[_0x264998][_0x15a6('0x56')]):_0x15a6('0x74')===_0x1e8c0c[_0x264998]['type']&&(_0x1e8c0c[_0x264998][_0x15a6('0xb2')][_0x15a6('0x2')]=_0x3d94c9[_0x15a6('0x88')](_0x1e8c0c[_0x264998][_0x15a6('0x56')]));}['_processTape'](_0x5820cc){for(let _0x224dfa=0x0;_0x224dfa<_0x5820cc[_0x15a6('0x61')];_0x224dfa++){if('elementStart'===_0x5820cc[_0x224dfa][_0x15a6('0x110')])_0x5820cc[_0x224dfa][_0x15a6('0xb2')][_0x15a6('0x2')]=_0x224dfa;else{if('elementEnd'===_0x5820cc[_0x224dfa][_0x15a6('0x110')]){_0x5820cc[_0x224dfa]['item'][_0x15a6('0x25')]=_0x224dfa;const _0x567697=_0x5820cc[_0x224dfa][_0x15a6('0xb2')][_0x15a6('0x2')];_0x5820cc[_0x567697][_0x15a6('0x56')]=_0x5820cc[_0x224dfa]['id'],_0x5820cc[_0x224dfa][_0x15a6('0x56')]=_0x5820cc[_0x567697]['id'];}else _0x5820cc[_0x224dfa][_0x15a6('0xb2')][_0x15a6('0x2')]=_0x224dfa,_0x5820cc[_0x224dfa][_0x15a6('0xb2')][_0x15a6('0x25')]=_0x224dfa,_0x5820cc[_0x224dfa][_0x15a6('0x56')]=null;}_0x5820cc[_0x224dfa]['markersStart']||(_0x5820cc[_0x224dfa][_0x15a6('0xae')]=[],_0x5820cc[_0x224dfa][_0x15a6('0x28')]=[]);}}[_0x15a6('0xb1')](_0x56c7f0,_0x2b1e90){const _0x49c7a7=_0x56c7f0['filter'](_0x28ce22=>!_0x28ce22[_0x15a6('0x10a')]);for(let _0x181346=0x0;_0x181346<_0x2b1e90['length'];_0x181346++)_0x2b1e90[_0x181346][_0x15a6('0x10a')]&&(_0x49c7a7[_0x181346][_0x15a6('0x10a')]=_0x2b1e90[_0x181346]['isAdded']);}[_0x15a6('0x4a')](_0x41bb5e){const _0x39f7b8=JSON[_0x15a6('0x2c')](_0x41bb5e),_0x4d1520=this[_0x15a6('0xdf')][_0x15a6('0x59')]['view'][_0x15a6('0xea')],_0x2d9ec3=new _0x1a1b45(_0x4d1520,_0x39f7b8[_0x15a6('0xe5')](_0x27322a=>this[_0x15a6('0xda')](_0x27322a)));return this[_0x15a6('0xdf')][_0x15a6('0x33')]['toModel'](_0x2d9ec3);}[_0x15a6('0xda')](_0x41d055){const _0x15a15e=this[_0x15a6('0xdf')]['editing'][_0x15a6('0x6')]['document'];if(_0x15a6('0xa5')==typeof _0x41d055)return new _0xc36790(_0x15a15e,_0x41d055);{const _0x32f018=_0x41d055['children']['map'](_0x47a312=>this[_0x15a6('0xda')](_0x47a312));return new(tt[_0x41d055['type']]||_0x45b95c)(_0x15a15e,_0x41d055[_0x15a6('0x4d')],_0x41d055[_0x15a6('0xe1')],_0x32f018);}}[_0x15a6('0x5e')](_0x522582,_0x2e7b52=null){const _0x4c85b3=this[_0x15a6('0x8c')]['getRevision'](_0x522582),_0x2824de=_0x2e7b52?this['repository'][_0x15a6('0x109')](_0x2e7b52):null,_0x4c7184=this[_0x15a6('0x107')](_0x4c85b3,_0x2824de),_0x2e24ea=_0x4c7184[_0x4c7184[_0x15a6('0x61')]-0x1],_0x2bc940=new Map(),_0x267760={'model':{},'attributes':{},'changes':[]},_0x579795=new Set(),_0xd42d67=new Map();for(let _0x222650=_0x4c7184[_0x15a6('0x61')]-0x1;_0x222650>=0x0;_0x222650--){const _0xf6b51=_0x4c7184[_0x222650];for(const _0x513d2b of Object[_0x15a6('0xff')](_0xf6b51[_0x15a6('0xd9')]))if(_0xf6b51['diffData'][_0x513d2b][_0x15a6('0xd8')]){const _0x2a3508=_0xf6b51[_0x15a6('0xd9')][_0x513d2b][_0x15a6('0xd8')];_0x2a3508['isAttached']?(_0x579795[_0x15a6('0x10')](_0x513d2b),_0xd42d67[_0x15a6('0xf3')](_0x513d2b)&&_0xd42d67['get'](_0x513d2b)[_0x15a6('0xb5')]==_0x2a3508[_0x15a6('0xb5')]?_0xd42d67['delete'](_0x513d2b):_0xd42d67[_0x15a6('0x5d')](_0x513d2b,_0x2a3508)):_0xd42d67[_0x15a6('0xf3')](_0x513d2b)?(_0x579795[_0x15a6('0xfc')](_0x513d2b),_0xd42d67[_0x15a6('0xfc')](_0x513d2b)):(_0x579795['add'](_0x513d2b),_0xd42d67['set'](_0x513d2b,_0x2a3508));}else _0x579795[_0x15a6('0x10')](_0x513d2b);}for(const _0x19e19a of _0x579795){const _0x3a2418=_0xd42d67[_0x15a6('0xf3')](_0x19e19a)&&!_0xd42d67[_0x15a6('0x88')](_0x19e19a)[_0x15a6('0x24')];let _0x30cdfb=_0x3a2418?_0x4c7184[_0x15a6('0x61')]-0x1:0x0;const _0x3c6281=_0x3a2418?-0x1:0x1;for(;_0x4c7184[_0x30cdfb];){const _0x3bcf3f=_0x4c7184[_0x30cdfb];if(_0x3bcf3f['diffData'][_0x19e19a]){const _0x1483c1=_0x3a2418?_0x3bcf3f[_0x15a6('0xd9')][_0x19e19a][_0x15a6('0x92')]:_0x3bcf3f[_0x15a6('0xd9')][_0x19e19a][_0x15a6('0x16')];_0x267760['attributes'][_0x19e19a]=_0x1483c1?_0x539880(_0x1483c1):{};break;}_0x30cdfb+=_0x3c6281;}}for(const _0x9bb2c0 of _0x4c7184){_0x9bb2c0[_0x15a6('0x93')]={};for(const _0x12d99c of _0x9bb2c0['authors'])_0x2bc940[_0x15a6('0x5d')](_0x12d99c['id'],_0x12d99c);for(const _0x218950 of _0x579795){const _0x41f6ff=_0x9bb2c0['diffData'][_0x218950]?_0x9bb2c0[_0x15a6('0xd9')][_0x218950][_0x15a6('0x81')]:'[]',_0x4f7ac8=_0x9bb2c0[_0x15a6('0xd9')][_0x218950]?_0x9bb2c0[_0x15a6('0xd9')][_0x218950][_0x15a6('0x8d')]:'[]';_0x9bb2c0[_0x15a6('0x93')][_0x218950]={'insertions':this[_0x15a6('0x4a')](_0x41f6ff),'deletions':this['_makeModelFromViewString'](_0x4f7ac8)};}}for(const _0x5885b6 of _0x579795){let _0x46497b=null,_0x51e126=0x0;const _0x3c8a2c=new Map(Array[_0x15a6('0x78')](_0x4c85b3[_0x15a6('0x93')][_0x5885b6]['insertions'][_0x15a6('0x17')])[_0x15a6('0xe8')](([_0x30bfea])=>!_0x30bfea[_0x15a6('0xa6')](_0x15a6('0xbc'))));let _0x1e4d3b=0x0;for(const _0x467e60 of _0x4c7184){const _0x1a2f06=this[_0x15a6('0x4e')](_0x467e60[_0x15a6('0x93')][_0x5885b6][_0x15a6('0x81')]);_0x467e60==_0x4c85b3?(_0x46497b=_0x1a2f06,_0x51e126=_0x46497b[_0x15a6('0x61')],_0x46497b['forEach'](_0x2c7654=>{_0x2c7654['id']=_0x1e4d3b++;}),this['_processTape'](_0x46497b)):this[_0x15a6('0xb1')](_0x46497b,_0x1a2f06);const _0x1fee63=_0x46497b[_0x15a6('0xe8')](_0x42458f=>!_0x42458f['isAdded'])[_0x15a6('0xe5')](_0x25ed77=>_0x25ed77['id']);let _0xe8173b=0x0;const _0xebf327=this[_0x15a6('0x4e')](_0x467e60[_0x15a6('0x93')][_0x5885b6][_0x15a6('0x8d')]);_0xebf327['forEach'](_0x38632d=>{_0x38632d[_0x15a6('0x94')]?_0x38632d['id']=_0x51e126++:_0x38632d['id']=_0x1fee63[_0xe8173b++];}),this[_0x15a6('0xa9')](_0xebf327),this[_0x15a6('0xe9')](_0x46497b,_0x15a6('0x10a')),this[_0x15a6('0xe9')](_0xebf327,'isRemoved'),_0x467e60==_0x4c85b3&&this['_markMarkers'](_0x46497b,_0x3c8a2c),_0x46497b=this[_0x15a6('0x47')](_0x46497b,_0xebf327),this[_0x15a6('0x72')](_0x46497b),this[_0x15a6('0xe9')](_0x46497b,'isRemoved');}_0x46497b=_0x46497b[_0x15a6('0xe8')](_0x513971=>!(_0x513971[_0x15a6('0x10a')]&&_0x513971[_0x15a6('0x94')]));const _0x2a42c8=new Map(_0x2e24ea[_0x15a6('0x93')][_0x5885b6][_0x15a6('0x8d')][_0x15a6('0x17')]),_0x543ded=new Set(_0x3c8a2c[_0x15a6('0xff')]());for(const _0x45e7b5 of _0x2a42c8['keys']())_0x543ded[_0x15a6('0xfc')](_0x45e7b5);this[_0x15a6('0x18')](_0x46497b,_0x543ded),this[_0x15a6('0x21')](_0x46497b),_0x46497b=this[_0x15a6('0x97')](_0x46497b),_0x46497b=this['_markMismatchedRemovedTags'](_0x46497b),_0x46497b=this[_0x15a6('0x11d')](_0x46497b);const {root:_0x5885e2,changes:_0x1f4063}=this['_makeModelFromTape'](_0x46497b,_0x2bc940,_0x5885b6);_0x267760[_0x15a6('0x93')][_0x5885b6]=_0x5885e2;const _0x4df65f=_0xd42d67[_0x15a6('0x88')](_0x5885b6);if(_0x4df65f){const _0x13cbd5=_0x2bc940[_0x15a6('0x88')](_0x4df65f[_0x15a6('0xb5')]),_0x373523=new _0x162c8f({'author':_0x13cbd5,'type':_0x4df65f[_0x15a6('0x24')]?_0x15a6('0x10'):_0x15a6('0xe3'),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5885b6});_0x1f4063['unshift'](_0x373523),_0x267760[_0x15a6('0xe1')][_0x5885b6][_0x15a6('0xee')]=_0x373523['id'];}_0x267760[_0x15a6('0x77')]=_0x267760[_0x15a6('0x77')][_0x15a6('0x1b')](_0x1f4063);}return _0x267760;}[_0x15a6('0xd')](_0x1d853c,_0x514013){for(let _0x25cc56=0x0;_0x25cc56<_0x1d853c['length'];_0x25cc56++)for(const [_0x49a25e,_0x3d6d3d]of _0x514013)_0x3d6d3d[_0x15a6('0xec')][_0x15a6('0xe4')](_0x1d853c[_0x25cc56][_0x15a6('0x68')])&&_0x1d853c[_0x25cc56][_0x15a6('0xae')]['push'](_0x49a25e),_0x3d6d3d[_0x15a6('0x65')][_0x15a6('0xe4')](_0x1d853c[_0x25cc56][_0x15a6('0xd3')])&&_0x1d853c[_0x25cc56][_0x15a6('0x28')]['push'](_0x49a25e);}[_0x15a6('0x47')](_0x338dfd,_0x5c6ac1){let _0x568202=[],_0x4d4f1e=0x0,_0x9fdac8=0x0;for(;_0x4d4f1e<_0x338dfd[_0x15a6('0x61')]||_0x9fdac8<_0x5c6ac1[_0x15a6('0x61')];){const _0x93a3f4=_0x338dfd[_0x4d4f1e]||{},_0x2d4830=_0x5c6ac1[_0x9fdac8]||{};if(_0x93a3f4['id']==_0x2d4830['id'])_0x4d4f1e++,_0x9fdac8++,_0x568202['push'](_0x93a3f4);else{if(_0x2d4830[_0x15a6('0x94')]&&_0x93a3f4['isAdded']){const {commonTape:_0x2531ef,iEnd:_0x357a21,jEnd:_0x37a5eb}=this[_0x15a6('0x10d')](_0x338dfd,_0x4d4f1e,_0x5c6ac1,_0x9fdac8);_0x568202=_0x568202[_0x15a6('0x1b')](_0x2531ef),_0x4d4f1e=_0x357a21,_0x9fdac8=_0x37a5eb;}else _0x2d4830['isRemoved']?(_0x9fdac8++,_0x568202[_0x15a6('0x7d')](_0x2d4830)):(_0x4d4f1e++,_0x568202[_0x15a6('0x7d')](_0x93a3f4));}}return _0x568202;}[_0x15a6('0x18')](_0x5c6683,_0x19a731){const _0x1c87a3=[];for(let _0x36a0b2=0x0;_0x36a0b2<_0x5c6683['length'];_0x36a0b2++){for(let _0x1a6822=0x0;_0x1a6822<_0x5c6683[_0x36a0b2]['markersStart']['length'];_0x1a6822++){const _0x48c97d=_0x5c6683[_0x36a0b2]['markersStart'][_0x1a6822];if(!_0x19a731['has'](_0x48c97d))continue;const {group:_0x37a89f,type:_0x3c0b19,authorId:_0x2aca81}=_0x584b99(_0x48c97d);_0x15a6('0xeb')!=_0x37a89f||_0x15a6('0x125')!=_0x3c0b19&&_0x15a6('0x11b')!=_0x3c0b19||(_0x1c87a3[_0x15a6('0x5f')]({'type':_0x3c0b19,'name':_0x48c97d,'userId':_0x2aca81}),_0x5c6683[_0x36a0b2][_0x15a6('0xae')][_0x15a6('0xdc')](_0x1a6822,0x1),_0x1a6822--);}_0x35e23e(_0x5c6683[_0x36a0b2]);for(let _0x168e1b=0x0;_0x168e1b<_0x5c6683[_0x36a0b2][_0x15a6('0x28')][_0x15a6('0x61')];_0x168e1b++){const _0x3e95ae=_0x5c6683[_0x36a0b2][_0x15a6('0x28')][_0x168e1b];if(!_0x19a731['has'](_0x3e95ae))continue;const {group:_0xe62f5b,type:_0x14a33e}=_0x584b99(_0x3e95ae);if(_0x15a6('0xeb')!=_0xe62f5b||_0x15a6('0x125')!=_0x14a33e&&_0x15a6('0x11b')!=_0x14a33e)continue;_0x5c6683[_0x36a0b2][_0x15a6('0x28')][_0x15a6('0xdc')](_0x168e1b,0x1),_0x168e1b--;const _0x21a317=_0x1c87a3[_0x15a6('0x5b')](_0x2e2542=>_0x2e2542[_0x15a6('0x4d')]==_0x3e95ae);_0x21a317>-0x1&&_0x1c87a3[_0x15a6('0xdc')](_0x21a317,0x1);}}function _0x584b99(_0x3d960e){const _0x5ab3f8=_0x3d960e[_0x15a6('0x2b')](':');return{'group':_0x5ab3f8[0x0],'type':_0x5ab3f8[0x1],'subType':_0x5ab3f8[_0x15a6('0x61')]>=0x5?_0x5ab3f8[0x2]:null,'id':_0x5ab3f8[_0x15a6('0x61')]<0x5?_0x5ab3f8[0x2]:_0x5ab3f8[0x3],'authorId':_0x5ab3f8[_0x15a6('0x61')]<0x5?_0x5ab3f8[0x3]:_0x5ab3f8[0x4],'markerCount':0x6==_0x5ab3f8[_0x15a6('0x61')]?_0x5ab3f8[0x5]:null};}function _0x35e23e(_0x5ef5d1){for(let _0x56dac7=0x0;_0x56dac7<_0x1c87a3['length'];_0x56dac7++){if(_0x5ef5d1['isAdded']&&'insertion'==_0x1c87a3[_0x56dac7]['type'])return _0x5ef5d1[_0x15a6('0xc9')]=_0x1c87a3[_0x56dac7],void delete _0x5ef5d1[_0x15a6('0x10a')];if(!_0x5ef5d1[_0x15a6('0x10a')]&&!_0x5ef5d1['isRemoved']&&_0x15a6('0x11b')==_0x1c87a3[_0x56dac7]['type'])return void(_0x5ef5d1[_0x15a6('0x121')]=_0x1c87a3[_0x56dac7]);}}}[_0x15a6('0xe9')](_0x2c0b91,_0x43dc9e){let _0x39ff6a=0x0,_0x178596=!0x1;const _0x5efb93=new Map();for(const _0x231523 of _0x2c0b91)_0x231523[_0x43dc9e]?_0x178596&&(_0x39ff6a++,_0x178596=!0x1):(_0x39ff6a++,_0x178596=!0x0),_0x5efb93['set'](_0x231523['id'],_0x39ff6a);for(let _0xe4b67d=0x0;_0xe4b67d<_0x2c0b91[_0x15a6('0x61')];_0xe4b67d++){if('isRemoved'==_0x43dc9e&&_0x2c0b91[_0xe4b67d][_0x15a6('0x10a')]||_0x15a6('0x10a')==_0x43dc9e&&_0x2c0b91[_0xe4b67d][_0x15a6('0x94')])continue;if(_0x15a6('0x103')==_0x2c0b91[_0xe4b67d][_0x15a6('0x110')]){_0x2c0b91[_0xe4b67d][_0x15a6('0x3c')]=0x0;continue;}const _0x2a059f=_0x5efb93[_0x15a6('0x88')](_0x2c0b91[_0xe4b67d][_0x15a6('0x56')]),_0x48cb90=_0x5efb93[_0x15a6('0x88')](_0x2c0b91[_0xe4b67d]['id']);_0x2c0b91[_0xe4b67d]['distance']=_0x2a059f-_0x48cb90;}}['_getRevisionsRange'](_0x642fbe,_0x326f56,_0x3bbad3=!0x1){const _0x541332=[];let _0x28e7e3=this[_0x15a6('0x8c')][_0x15a6('0x9c')](_0x642fbe),_0x4c619f=this['repository'][_0x15a6('0x9c')](_0x326f56);for(-0x1==_0x4c619f&&(_0x4c619f=this['repository'][_0x15a6('0x91')][_0x15a6('0x61')],_0x3bbad3=!0x1);_0x28e7e3<_0x4c619f;)_0x541332[_0x15a6('0x7d')](this[_0x15a6('0x8c')][_0x15a6('0x109')](_0x28e7e3)),_0x28e7e3++;return _0x3bbad3&&_0x541332[_0x15a6('0x7d')](this[_0x15a6('0x8c')][_0x15a6('0x109')](_0x28e7e3)),_0x541332;}['_threeWayMerge'](_0x1a90f0,_0x2e7a30,_0x4562be,_0x2814a3){const _0x3e2b3d=this[_0x15a6('0xdf')][_0x15a6('0x93')][_0x15a6('0x3e')];let _0x4bcb76=_0x2e7a30;for(;_0x1a90f0[_0x4bcb76]&&_0x1a90f0[_0x4bcb76][_0x15a6('0x10a')];)_0x4bcb76++;let _0xeafed6=_0x2814a3;for(;_0x4562be[_0xeafed6]&&_0x4562be[_0xeafed6][_0x15a6('0x94')];)_0xeafed6++;_0x1b47a1(_0x1a90f0,_0x2e7a30,_0x4bcb76),_0x1b47a1(_0x4562be,_0x2814a3,_0xeafed6);const _0x32c726=_0x4562be['slice'](_0x2814a3,_0xeafed6)[_0x15a6('0x1b')](_0x1a90f0[_0x15a6('0xf1')](_0x2e7a30,_0x4bcb76));return _0x32c726[_0x15a6('0x108')]((_0xc9c539,_0x5a9be2)=>_0xc9c539['side']!=_0x5a9be2['side']?_0xc9c539['side']-_0x5a9be2['side']:_0xc9c539[_0x15a6('0xdd')]!=_0x5a9be2[_0x15a6('0xdd')]?_0xc9c539[_0x15a6('0xdd')]-_0x5a9be2[_0x15a6('0xdd')]:_0xc9c539[_0x15a6('0x3c')]!=_0x5a9be2['distance']?_0x5a9be2['distance']-_0xc9c539['distance']:!!_0xc9c539['isAdded']!=!!_0x5a9be2['isAdded']?-0x1==_0xc9c539[_0x15a6('0xa2')]||0x0==_0xc9c539[_0x15a6('0xa2')]?_0xc9c539[_0x15a6('0x10a')]?-0x1:0x1:_0xc9c539['isAdded']?0x1:-0x1:_0xc9c539['index']-_0x5a9be2['index']),{'commonTape':_0x32c726,'iEnd':_0x4bcb76,'jEnd':_0xeafed6};function _0x1b47a1(_0x1b57b5,_0x456d57,_0x26d23e){let _0x310726=-0x1,_0x533dd7=Number[_0x15a6('0x64')],_0x422766=!0x0;for(let _0x5324c5=_0x456d57;_0x5324c5<_0x26d23e;_0x5324c5++)if(_0x3e2b3d[_0x15a6('0x7')](_0x1b57b5[_0x5324c5][_0x15a6('0xb2')])||(_0x422766=!0x1),_0x1b57b5[_0x5324c5][_0x15a6('0xb2')]['startIndex']<_0x456d57&&(_0x310726=_0x5324c5),_0x1b57b5[_0x5324c5]['item']['endIndex']>=_0x26d23e){_0x533dd7=_0x5324c5;break;}_0x422766&&(_0x310726=_0x26d23e-0x1);for(let _0x128b35=_0x456d57;_0x128b35<_0x26d23e;_0x128b35++)_0x1b57b5[_0x128b35][_0x15a6('0xa2')]=_0x128b35<=_0x310726?-0x1:_0x128b35<_0x533dd7?0x0:0x1,_0x1b57b5[_0x128b35][_0x15a6('0x82')]=_0x128b35;let _0x15726c=0x0;for(let _0x5ce086=_0x456d57;_0x5ce086<=_0x310726;_0x5ce086++)0x0==_0x1b57b5[_0x5ce086][_0x15a6('0x3c')]?_0x1b57b5[_0x5ce086][_0x15a6('0xdd')]=_0x15726c:(_0x15726c++,_0x1b57b5[_0x5ce086][_0x15a6('0xdd')]=_0x15726c,_0x15726c++);for(let _0x2e5077=_0x456d57;_0x2e5077<_0x26d23e;_0x2e5077++)0x0==_0x1b57b5[_0x2e5077]['side']&&(_0x1b57b5[_0x2e5077][_0x15a6('0xdd')]=_0x15726c);_0x15726c=0x0;for(let _0x323e86=_0x26d23e-0x1;_0x323e86>=_0x533dd7;_0x323e86--)0x0==_0x1b57b5[_0x323e86]['distance']?_0x1b57b5[_0x323e86][_0x15a6('0xdd')]=_0x15726c:(_0x15726c--,_0x1b57b5[_0x323e86][_0x15a6('0xdd')]=_0x15726c,_0x15726c--);}}[_0x15a6('0x21')](_0x3b0d6a){const _0x54c7b4=new Map(),_0x40534c=this[_0x15a6('0xdf')][_0x15a6('0x93')][_0x15a6('0x3e')];for(let _0x1b8a6a=0x1;_0x1b8a6a<_0x3b0d6a[_0x15a6('0x61')];_0x1b8a6a++){let _0x3cd103,_0x32cf22,_0x13f977;const _0x859385=_0x3b0d6a[_0x1b8a6a],_0x37f6fc=_0x3b0d6a[_0x1b8a6a-0x1];if(_0x15a6('0x103')==_0x859385[_0x15a6('0x110')])continue;if(_0x859385['type']!=_0x37f6fc[_0x15a6('0x110')])continue;if(!_0x40534c[_0x15a6('0xb3')](_0x37f6fc[_0x15a6('0xb2')])||_0x40534c[_0x15a6('0x40')](_0x37f6fc[_0x15a6('0xb2')]))continue;if(!_0x40534c[_0x15a6('0xb3')](_0x859385[_0x15a6('0xb2')])||_0x40534c[_0x15a6('0x40')](_0x859385['item']))continue;if((_0x3b0d6a[_0x1b8a6a][_0x15a6('0x10a')]||_0x3b0d6a[_0x1b8a6a][_0x15a6('0xc9')])&&_0x3b0d6a[_0x1b8a6a-0x1][_0x15a6('0x94')])_0x3cd103=_0x3b0d6a[_0x1b8a6a],_0x32cf22=_0x3b0d6a[_0x1b8a6a-0x1],_0x13f977=_0x1b8a6a-0x1;else{if(!_0x3b0d6a[_0x1b8a6a]['isRemoved']||!_0x3b0d6a[_0x1b8a6a-0x1][_0x15a6('0x10a')]&&!_0x3b0d6a[_0x1b8a6a-0x1]['isAddSuggestion'])continue;_0x3cd103=_0x3b0d6a[_0x1b8a6a-0x1],_0x32cf22=_0x3b0d6a[_0x1b8a6a],_0x13f977=_0x1b8a6a;}const _0x4f15ed=_0x3cd103[_0x15a6('0xdd')]==_0x32cf22[_0x15a6('0xdd')],_0x270f20=Math[_0x15a6('0x7b')](_0x3cd103[_0x15a6('0xdd')])<Math['abs'](_0x32cf22['level'])&&0x0==_0x32cf22['distance'];(_0x4f15ed||_0x270f20)&&(_0x54c7b4['set'](_0x32cf22['id'],_0x3cd103['id']),_0x3b0d6a[_0x15a6('0xdc')](_0x13f977,0x1),_0x1b8a6a--,_0x3cd103[_0x15a6('0x10a')]=!0x1);}for(let _0x323afd=0x0;_0x323afd<_0x3b0d6a[_0x15a6('0x61')];_0x323afd++)_0x54c7b4[_0x15a6('0xf3')](_0x3b0d6a[_0x323afd][_0x15a6('0x56')])&&(_0x3b0d6a[_0x323afd][_0x15a6('0x56')]=_0x54c7b4[_0x15a6('0x88')](_0x3b0d6a[_0x323afd][_0x15a6('0x56')]));}[_0x15a6('0x97')](_0x190750){const _0x40f6e2=new Set(_0x190750[_0x15a6('0xe5')](_0x4f4920=>_0x4f4920['id']));for(let _0x202fc1=0x0;_0x202fc1<_0x190750[_0x15a6('0x61')];_0x202fc1++)_0x40f6e2[_0x15a6('0xf3')](_0x190750[_0x202fc1][_0x15a6('0x56')])||0x0==_0x190750[_0x202fc1][_0x15a6('0x3c')]||(_0x190750[_0x202fc1][_0x15a6('0x51')]=!0x0);return _0x190750[_0x15a6('0xe8')](_0x14bf35=>!_0x14bf35[_0x15a6('0x51')]);}[_0x15a6('0x35')](_0x18fc68){const _0x306840=new Set();for(let _0x19d113=0x0;_0x19d113<_0x18fc68['length'];_0x19d113++){if(_0x306840[_0x15a6('0xf3')](_0x18fc68[_0x19d113]['id'])&&_0x18fc68[_0x19d113][_0x15a6('0x94')]&&(_0x18fc68[_0x19d113][_0x15a6('0x51')]=!0x0),_0x18fc68[_0x19d113][_0x15a6('0x51')])continue;if(0x0==_0x18fc68[_0x19d113]['distance'])continue;if(_0x15a6('0x75')!=_0x18fc68[_0x19d113]['type'])continue;if(null==_0x18fc68[_0x19d113][_0x15a6('0x56')])continue;let _0x6815f7=_0x19d113+0x1,_0x13d4c5=0x0;for(;_0x18fc68[_0x6815f7]['id']!=_0x18fc68[_0x19d113][_0x15a6('0x56')];)'elementStart'==_0x18fc68[_0x6815f7][_0x15a6('0x110')]?_0x13d4c5++:'elementEnd'==_0x18fc68[_0x6815f7][_0x15a6('0x110')]&&_0x13d4c5--,_0x6815f7++;if(0x0!=_0x13d4c5){if(_0x18fc68[_0x19d113][_0x15a6('0x94')])_0x18fc68[_0x19d113][_0x15a6('0x51')]=!0x0;else for(;_0x6815f7!=_0x19d113;)_0x18fc68[_0x6815f7][_0x15a6('0x94')]&&0x0!=_0x18fc68[_0x6815f7]['distance']&&(_0x18fc68[_0x6815f7][_0x15a6('0x51')]=!0x0,_0x306840[_0x15a6('0x10')](_0x18fc68[_0x6815f7][_0x15a6('0x56')])),_0x6815f7--;}}return _0x18fc68[_0x15a6('0xe8')](_0x114738=>!_0x114738['isIncorrect']);}[_0x15a6('0x11d')](_0x51ee0c){const _0x3ed5e6=this['editor']['model'][_0x15a6('0x3e')];for(let _0x477c1e=0x0;_0x477c1e<_0x51ee0c[_0x15a6('0x61')];_0x477c1e++){if(!(_0x51ee0c[_0x477c1e][_0x15a6('0x10a')]||_0x51ee0c[_0x477c1e]['isAddSuggestion']||_0x51ee0c[_0x477c1e][_0x15a6('0x94')]||_0x51ee0c[_0x477c1e][_0x15a6('0x121')]))continue;if(0x0==_0x51ee0c[_0x477c1e][_0x15a6('0x3c')])continue;const _0x593949=_0x51ee0c[_0x477c1e][_0x15a6('0xb2')];_0x3ed5e6[_0x15a6('0xb3')](_0x593949)||_0x3ed5e6[_0x15a6('0x40')](_0x593949)||(_0x51ee0c[_0x477c1e][_0x15a6('0x10a')]&&delete _0x51ee0c[_0x477c1e][_0x15a6('0x10a')],_0x51ee0c[_0x477c1e][_0x15a6('0xc9')]&&delete _0x51ee0c[_0x477c1e]['isAddSuggestion'],_0x51ee0c[_0x477c1e][_0x15a6('0x121')]&&delete _0x51ee0c[_0x477c1e][_0x15a6('0x121')],_0x51ee0c[_0x477c1e][_0x15a6('0x94')]&&(_0x51ee0c[_0x477c1e][_0x15a6('0x51')]=!0x0));}return _0x51ee0c[_0x15a6('0xe8')](_0x5283aa=>!_0x5283aa[_0x15a6('0x51')]);}[_0x15a6('0xf4')](_0x3d5feb,_0x4b8b8b,_0x5dcd14){const _0x5a860d=new _0x3b6f74(),_0x45fb6d=[],_0x5d94d6=new Map(),_0x465a1e=this['editor'][_0x15a6('0x93')],_0x4a8164=_0x465a1e['schema'],_0xfc4ebb=[_0x5a860d],_0x15c1f0={},_0x141c81={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x24dfd1=null;const _0x3f45fa=[0x0];for(let _0x1dac7a=0x0;_0x1dac7a<_0x3d5feb[_0x15a6('0x61')];_0x1dac7a++){let _0x262604,_0x486a73;if(_0x15a6('0x75')===_0x3d5feb[_0x1dac7a][_0x15a6('0x110')]){_0x262604=_0x465a1e[_0x15a6('0x8f')](_0x5a860d,_0x3f45fa);const _0x2a31fc=new _0x5770d2(_0x3d5feb[_0x1dac7a][_0x15a6('0xb2')][_0x15a6('0x4d')],_0x3d5feb[_0x1dac7a][_0x15a6('0xb2')]['getAttributes']());_0xfc4ebb[0x0][_0x15a6('0x6c')](_0x2a31fc),_0x3f45fa[_0x15a6('0x7d')](0x0),_0xfc4ebb[_0x15a6('0x5f')](_0x2a31fc),_0x486a73=_0x465a1e[_0x15a6('0x8f')](_0x5a860d,_0x3f45fa),_0x24dfd1=null;}else{if(_0x15a6('0x74')===_0x3d5feb[_0x1dac7a][_0x15a6('0x110')])_0xfc4ebb[_0x15a6('0x7a')](),_0x262604=_0x465a1e['createPositionFromPath'](_0x5a860d,_0x3f45fa),_0x3f45fa[_0x15a6('0x95')](),_0x3f45fa[_0x3f45fa['length']-0x1]++,_0x486a73=_0x465a1e['createPositionFromPath'](_0x5a860d,_0x3f45fa),_0x24dfd1=null;else{if(_0x262604=_0x465a1e['createPositionFromPath'](_0x5a860d,_0x3f45fa),_0x24dfd1&&_0x31ab92(_0x24dfd1,_0x3d5feb[_0x1dac7a][_0x15a6('0xb2')]))_0x24dfd1['_data']+=_0x3d5feb[_0x1dac7a][_0x15a6('0xb2')]['data'];else{const _0x8df206=new _0x4de0b2(_0x3d5feb[_0x1dac7a][_0x15a6('0xb2')][_0x15a6('0x33')],_0x3d5feb[_0x1dac7a][_0x15a6('0xb2')][_0x15a6('0x101')]());_0xfc4ebb[0x0][_0x15a6('0x6c')](_0x8df206),_0x24dfd1=_0x8df206;}_0x3f45fa[_0x3f45fa[_0x15a6('0x61')]-0x1]+=_0x3d5feb[_0x1dac7a][_0x15a6('0xb2')][_0x15a6('0x79')],_0x486a73=_0x465a1e[_0x15a6('0x8f')](_0x5a860d,_0x3f45fa);}}for(const _0x5efa73 of _0x3d5feb[_0x1dac7a][_0x15a6('0xae')])_0x5d94d6[_0x15a6('0x5d')](_0x5efa73,{'start':_0x262604,'end':null});_0x5df917(_0x15a6('0x121'),_0x1dac7a,_0x262604,_0x486a73),_0x5df917(_0x15a6('0xc9'),_0x1dac7a,_0x262604,_0x486a73),_0x5df917(_0x15a6('0x94'),_0x1dac7a,_0x262604,_0x486a73),_0x5df917('isAdded',_0x1dac7a,_0x262604,_0x486a73);for(const _0x126156 of _0x3d5feb[_0x1dac7a]['markersEnd']){_0x5d94d6[_0x15a6('0x88')](_0x126156)['end']=_0x486a73;}}for(const [_0x2a9300,_0x328bfc]of _0x5d94d6){const _0x35b325=this[_0x15a6('0xdf')][_0x15a6('0x93')][_0x15a6('0xba')](_0x328bfc[_0x15a6('0xec')],_0x328bfc[_0x15a6('0x65')]);_0x5a860d[_0x15a6('0x17')][_0x15a6('0x5d')](_0x2a9300,_0x35b325);}return _0x45fb6d[_0x15a6('0x108')]((_0x2a0491,_0x745b3c)=>{const _0x38e034=_0x5a860d[_0x15a6('0x17')][_0x15a6('0x88')](_0x15a6('0xbc')+_0x2a0491['id']),_0x35a354=_0x5a860d[_0x15a6('0x17')][_0x15a6('0x88')](_0x15a6('0xbc')+_0x745b3c['id']);return _0x38e034[_0x15a6('0xec')][_0x15a6('0x26')](_0x35a354[_0x15a6('0xec')])?-0x1:_0x38e034[_0x15a6('0xec')]['isAfter'](_0x35a354['start'])?0x1:_0x38e034[_0x15a6('0x65')][_0x15a6('0x26')](_0x35a354['end'])?-0x1:_0x38e034[_0x15a6('0x65')][_0x15a6('0x3a')](_0x35a354[_0x15a6('0x65')])?0x1:'add'===_0x2a0491[_0x15a6('0x110')]?-0x1:0x1;}),{'root':_0x5a860d,'changes':_0x45fb6d};function _0x5df917(_0x50baea,_0x23ac3d,_0x1947dc,_0x57e5c6){const _0x486f09=!!_0x3d5feb[_0x23ac3d][_0x50baea],_0x1b6c84=_0x486f09?_0x3d5feb[_0x23ac3d][_0x50baea][_0x15a6('0xb5')]:null,_0x41c0f3=_0x23ac3d===_0x3d5feb[_0x15a6('0x61')]-0x1,_0x9232df=_0x141c81[_0x50baea][0x0],_0x2cddf8=_0x4a8164[_0x15a6('0x36')](_0x3d5feb[_0x23ac3d][_0x15a6('0xb2')]);!_0x15c1f0[_0x50baea]&&_0x486f09?_0x15c1f0[_0x50baea]={'start':_0x1947dc,'tapeItem':_0x3d5feb[_0x23ac3d],'userId':_0x1b6c84,'type':_0x50baea}:_0x15c1f0[_0x50baea]&&!_0x486f09?(_0x15c1f0[_0x50baea]['end']=_0x1947dc,_0x3eaf69(_0x15c1f0[_0x50baea]),_0x15c1f0[_0x50baea]=null):_0x15c1f0[_0x50baea]&&_0x486f09&&_0x15c1f0[_0x50baea][_0x15a6('0xb5')]!==_0x1b6c84&&(_0x15c1f0[_0x50baea][_0x15a6('0x65')]=_0x1947dc,_0x9232df&&_0x9232df[_0x15a6('0xb5')]===_0x15c1f0[_0x50baea][_0x15a6('0xb5')]||_0x3eaf69(_0x15c1f0[_0x50baea]),_0x15c1f0[_0x50baea]={'start':_0x1947dc,'tapeItem':_0x3d5feb[_0x23ac3d],'userId':_0x1b6c84,'type':_0x50baea}),_0x15c1f0[_0x50baea]&&_0x2cddf8&&(_0x15a6('0x75')!==_0x3d5feb[_0x23ac3d]['type']||_0x9232df&&_0x9232df[_0x15a6('0xb5')]===_0x1b6c84||_0x141c81[_0x50baea]['unshift']({'userId':_0x1b6c84,'object':_0x3d5feb[_0x23ac3d][_0x15a6('0xb2')],'change':_0x15c1f0[_0x50baea]}),_0x15a6('0x74')===_0x3d5feb[_0x23ac3d]['type']&&_0x9232df&&_0x9232df[_0x15a6('0xc2')]===_0x3d5feb[_0x23ac3d]['item']&&(_0x141c81[_0x50baea][_0x15a6('0x7a')](),_0x15c1f0[_0x50baea]=_0x9232df[_0x15a6('0xd0')])),_0x15c1f0[_0x50baea]&&_0x41c0f3&&(_0x15c1f0[_0x50baea][_0x15a6('0x65')]=_0x57e5c6,_0x3eaf69(_0x15c1f0[_0x50baea]),_0x15c1f0[_0x50baea]=null);}function _0x3eaf69({start:_0x277495,end:_0x4c544c,tapeItem:_0x438cec,userId:_0x1be756,type:_0x63e2b8}){const _0xcf57f4=_0x438cec[_0x15a6('0xb2')],_0x1cf8a3=_0x465a1e[_0x15a6('0x3e')][_0x15a6('0xb3')](_0xcf57f4)&&!_0x465a1e[_0x15a6('0x3e')][_0x15a6('0x40')](_0xcf57f4),_0x17ba4c=_0x277495[_0x15a6('0x117')]==_0x4c544c[_0x15a6('0x90')]&&_0x4c544c[_0x15a6('0x100')];if(_0x1cf8a3&&_0x17ba4c)return;const _0x565eed=_0x465a1e[_0x15a6('0xba')](_0x277495,_0x4c544c),_0x4cc393=_0x4b8b8b[_0x15a6('0x88')](_0x1be756),_0x34192a=new _0x162c8f({'author':_0x4cc393,'type':_0x15a6('0x10a')==_0x63e2b8||_0x15a6('0xc9')==_0x63e2b8?'add':_0x15a6('0xe3'),'data':{'isSuggestion':_0x15a6('0xc9')==_0x63e2b8||'isRemoveSuggestion'==_0x63e2b8},'createdAt':new Date(),'rootName':_0x5dcd14});_0x45fb6d[_0x15a6('0x7d')](_0x34192a),_0x5a860d[_0x15a6('0x17')][_0x15a6('0x5d')]('revision:'+_0x34192a['id'],_0x565eed);}function _0x31ab92(_0x40d030,_0x3b8290){const _0x5bc8b9=_0x40d030['getAttributes'](),_0x181c50=_0x3b8290[_0x15a6('0x101')]();for(const _0x524634 of _0x5bc8b9){if(_0x524634[0x1]!==_0x3b8290['getAttribute'](_0x524634[0x0]))return!0x1;_0x181c50[_0x15a6('0x34')]();}return _0x181c50['next']()[_0x15a6('0xbd')];}}[_0x15a6('0xc8')](){this['editor'][_0x15a6('0x9a')][_0x15a6('0xb4')](_0x15a6('0x1e'))[_0x15a6('0x41')]({'view':_0x15a6('0x3f')}),this[_0x15a6('0xdf')][_0x15a6('0x9a')][_0x15a6('0xb4')](_0x15a6('0xd5'))[_0x15a6('0xef')]({'model':_0x15a6('0x3f'),'view':_0xa08c80=>{const _0x1179b0=_0xa08c80[_0x15a6('0x99')]['split'](':')[0x1],_0x205019=this['_getChangeFromId'](_0x1179b0);if(!_0x205019)return null;const _0x1f8cb8=_0x15a6('0x10')==_0x205019[_0x15a6('0x110')]?_0x15a6('0x125'):'deletion',_0x297009=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1f8cb8];return _0x205019[_0x15a6('0x33')][_0x15a6('0x3')]&&_0x297009['push'](_0x15a6('0x4c')+_0x1f8cb8+_0x15a6('0xb8')),this['activeChange']==_0x205019&&_0x297009[_0x15a6('0x7d')](_0x15a6('0xdb')),{'classes':_0x297009,'attributes':{'data-change-id':_0x1179b0}};}}),this['editor'][_0x15a6('0x9a')]['for']('upcast')[_0x15a6('0x10')](_0x4b0ea9=>{_0x4b0ea9['on'](_0x15a6('0x118'),(_0x4eaaf3,_0x38f6ef,_0x38b8aa)=>{const _0x3cc20c=_0x38f6ef[_0x15a6('0xf7')][_0x15a6('0x11f')](0x0);if(!_0x3cc20c||!_0x3cc20c['is'](_0x15a6('0x89'),'code'))return;if(!_0x38b8aa[_0x15a6('0x9f')][_0x15a6('0x96')](_0x3cc20c,{'attributes':[_0x15a6('0x14'),_0x15a6('0x3d')]}))return;const _0xf4f479=_0x38f6ef[_0x15a6('0x76')][_0x15a6('0xec')][_0x15a6('0x117')];_0x38b8aa[_0x15a6('0x6a')][_0x15a6('0xe')]('vid_start',_0x3cc20c['getAttribute'](_0x15a6('0x14')),_0xf4f479),_0x38b8aa[_0x15a6('0x6a')][_0x15a6('0xe')](_0x15a6('0x3d'),_0x3cc20c['getAttribute'](_0x15a6('0x3d')),_0xf4f479);},{'priority':_0x15a6('0x119')});}),this['editor'][_0x15a6('0x9a')][_0x15a6('0xb4')](_0x15a6('0x1e'))[_0x15a6('0x10')](_0x9d6e1a=>{_0x9d6e1a['on']('element',(_0x20d372,_0x50dce4,_0x28ee27)=>{if(!_0x28ee27[_0x15a6('0x9f')][_0x15a6('0x96')](_0x50dce4[_0x15a6('0xf7')],{'attributes':[_0x15a6('0x14'),'vid_end']}))return;if(_0x50dce4['modelRange'][_0x15a6('0x1a')])return;const _0x3c68e6=_0x50dce4[_0x15a6('0x76')][_0x15a6('0xec')]['nodeAfter'];_0x3c68e6[_0x15a6('0x115')](_0x15a6('0x14'))||_0x3c68e6[_0x15a6('0x115')]('vid')||(_0x28ee27[_0x15a6('0x6a')][_0x15a6('0xe')](_0x15a6('0x14'),_0x50dce4[_0x15a6('0xf7')][_0x15a6('0xc6')](_0x15a6('0x14')),_0x3c68e6),_0x28ee27[_0x15a6('0x6a')][_0x15a6('0xe')](_0x15a6('0x3d'),_0x50dce4[_0x15a6('0xf7')][_0x15a6('0xc6')](_0x15a6('0x3d')),_0x3c68e6));},{'priority':_0x15a6('0x119')});}),this[_0x15a6('0xdf')][_0x15a6('0x9a')][_0x15a6('0xb4')](_0x15a6('0x1e'))['elementToAttribute']({'view':{'name':_0x15a6('0x44'),'attributes':{'vid':!0x0}},'model':{'key':_0x15a6('0x50'),'value':_0x433611=>_0x433611['getAttribute'](_0x15a6('0x50'))}}),this[_0x15a6('0xdf')]['model']['schema']['on'](_0x15a6('0x85'),(_0xcd5cc6,[,_0x46c096])=>{['vid_start','vid_end',_0x15a6('0x50')]['includes'](_0x46c096)&&(_0xcd5cc6[_0x15a6('0x9b')]=!0x0,_0xcd5cc6[_0x15a6('0xac')]());},{'priority':_0x15a6('0x54')}),this[_0x15a6('0xdf')][_0x15a6('0x9a')][_0x15a6('0xb4')]('dataDowncast')[_0x15a6('0x10')](_0x3dd301=>{_0x3dd301['on'](_0x15a6('0xf8'),(_0x19a6ce,_0x4eb588,_0x299630)=>{if('\x20'!=_0x4eb588[_0x15a6('0xb2')][_0x15a6('0x33')]||_0x4eb588[_0x15a6('0xb2')]['parent']['maxOffset']>0x1)return;if(!_0x299630[_0x15a6('0x9f')]['consume'](_0x4eb588['item'],_0x19a6ce[_0x15a6('0x4d')]))return;const _0x2fa33d=_0x299630[_0x15a6('0x6a')],_0x49f0c2=_0x299630[_0x15a6('0x45')][_0x15a6('0x38')](_0x4eb588['range']);_0x2fa33d[_0x15a6('0xbb')](_0x49f0c2,_0x2fa33d[_0x15a6('0xf')](_0x15a6('0x44')));});}),this[_0x15a6('0xdf')][_0x15a6('0x9a')][_0x15a6('0xb4')](_0x15a6('0x12'))['markerToData']({'model':_0x15a6('0x3f')}),this[_0x15a6('0xdf')][_0x15a6('0x59')][_0x15a6('0xab')]['on'](_0x15a6('0xf9'),function(_0x360fc9){const _0x4ac740=_0x360fc9['plugins'][_0x15a6('0x88')](_0x15a6('0x42'));return(_0x474152,_0x287a7a,_0x351866)=>{const _0x3b4e74=_0x287a7a['markerName']['split'](':')[0x1],_0x46e40f=_0x4ac740[_0x15a6('0x3b')](_0x3b4e74);if(!_0x46e40f)return null;const _0x4123ee='add'==_0x46e40f[_0x15a6('0x110')]?_0x15a6('0x2b'):_0x15a6('0x63');if(!_0x351866[_0x15a6('0x9f')][_0x15a6('0x8b')](_0x287a7a[_0x15a6('0xaf')],_0x474152[_0x15a6('0x4d')]))return;const _0x5116e0=_0x287a7a[_0x15a6('0xaf')][_0x15a6('0xb0')](),_0x53112b=_0x287a7a[_0x15a6('0xaf')][_0x15a6('0xec')],_0x4af5f6=_0x360fc9[_0x15a6('0x93')]['schema'];let _0x4b82ba=null,_0x7ee2b0=null,_0x4b6c03=!0x1,_0x4b013f=!0x1;for(const _0xe47c9e of _0x5116e0){const _0x42d082=_0xe47c9e[_0x15a6('0xb2')];_0x4b6c03=_0x4b6c03||_0x4af5f6[_0x15a6('0x60')](_0x42d082);const _0x5d26b8=_0x351866[_0x15a6('0x45')][_0x15a6('0x114')](_0x42d082);if(_0x5d26b8&&_0x5d26b8['getCustomProperty'](_0x15a6('0x15')))return;_0x15a6('0x74')==_0xe47c9e[_0x15a6('0x110')]&&(_0x4af5f6[_0x15a6('0xb3')](_0x42d082)&&!_0x4af5f6[_0x15a6('0x40')](_0x42d082)&&(_0x42d082[_0x15a6('0xb9')]||_0x53112b[_0x15a6('0xe0')]?_0x4b82ba&&_0x4b82ba[_0x15a6('0x90')]==_0x42d082||(_0x4b82ba=_0x42d082,_0x2d40fb(_0xe47c9e[_0x15a6('0x68')]),_0x4b013f=!0x0):_0x7ee2b0=_0x7ee2b0||_0xe47c9e[_0x15a6('0x68')]));}function _0x2d40fb(_0x12212c){const _0x42b88d=_0x351866[_0x15a6('0x6a')]['createUIElement'](_0x15a6('0x44'),{'class':_0x15a6('0x4c')+_0x4123ee}),_0x48b238=_0x351866[_0x15a6('0x45')]['toViewPosition'](_0x12212c);_0x46e40f[_0x15a6('0x33')]['isSuggestion']&&_0x351866[_0x15a6('0x6a')][_0x15a6('0x11e')](_0x15a6('0x4c')+_0x4123ee+'-new',_0x42b88d),_0x4ac740['activeChange']==_0x46e40f&&_0x351866[_0x15a6('0x6a')]['addClass']('ck-suggestion-marker--active',_0x42b88d),_0x351866[_0x15a6('0x6a')][_0x15a6('0xd6')](_0x48b238,_0x42b88d),_0x351866[_0x15a6('0x45')]['bindElementToMarker'](_0x42b88d,_0x287a7a[_0x15a6('0x99')]);}_0x4b6c03||_0x4b013f||!_0x7ee2b0||_0x2d40fb(_0x7ee2b0);};}(this[_0x15a6('0xdf')]),{'priority':'high'}),this[_0x15a6('0xdf')][_0x15a6('0x59')][_0x15a6('0xab')]['on']('removeMarker:revision',(_0x2dbd1d,_0x164f96,_0x2fb662)=>{const _0x1a49aa=_0x2fb662[_0x15a6('0x45')]['markerNameToElements'](_0x164f96[_0x15a6('0x99')]);if(_0x1a49aa)for(const _0x309fa8 of _0x1a49aa)(_0x309fa8[_0x15a6('0x62')](_0x15a6('0x31'))||_0x309fa8[_0x15a6('0x62')]('ck-suggestion-marker-merge'))&&(_0x2fb662[_0x15a6('0x45')][_0x15a6('0xd1')](_0x309fa8,_0x164f96[_0x15a6('0x99')]),_0x2fb662[_0x15a6('0x6a')][_0x15a6('0xe3')](_0x309fa8));},{'priority':'high'}),this['editor'][_0x15a6('0x59')][_0x15a6('0xab')]['on'](_0x15a6('0xf9'),(_0x13f0de,_0x3346de,_0x283921)=>{const _0xa38db0=_0x3346de[_0x15a6('0x99')]['split'](':')[0x1],_0x409caf=this[_0x15a6('0x3b')](_0xa38db0);if(!_0x409caf)return null;const _0x3db725=_0x15a6('0x10')==_0x409caf['type']?_0x15a6('0x2b'):_0x15a6('0x63');if(_0x283921['consumable'][_0x15a6('0x8b')](_0x3346de[_0x15a6('0xaf')],_0x13f0de[_0x15a6('0x4d')]))for(const _0x3800c7 of _0x3346de[_0x15a6('0xaf')]['getItems']()){if(!_0x3800c7['is'](_0x15a6('0x89'),'softBreak'))continue;const _0x1bac68=_0x283921[_0x15a6('0x6a')][_0x15a6('0x113')]('span',{'class':'ck-suggestion-marker-'+_0x3db725}),_0x17b1b6=_0x283921[_0x15a6('0x45')][_0x15a6('0x116')](this[_0x15a6('0xdf')][_0x15a6('0x93')][_0x15a6('0xcf')](_0x3800c7));_0x409caf[_0x15a6('0x33')]['isSuggestion']&&_0x283921['writer'][_0x15a6('0x11e')](_0x15a6('0x4c')+_0x3db725+_0x15a6('0xb8'),_0x1bac68),this[_0x15a6('0x1d')]==_0x409caf&&_0x283921[_0x15a6('0x6a')][_0x15a6('0x11e')](_0x15a6('0xdb'),_0x1bac68),_0x283921[_0x15a6('0x6a')][_0x15a6('0xd6')](_0x17b1b6,_0x1bac68),_0x283921[_0x15a6('0x45')][_0x15a6('0x124')](_0x1bac68,_0x3346de['markerName']);}},{'priority':_0x15a6('0x4f')}),this['editor'][_0x15a6('0x93')][_0x15a6('0xea')]['on'](_0x15a6('0xd0'),()=>{this[_0x15a6('0xdf')]['editing'][_0x15a6('0x6')][_0x15a6('0xd0')](_0x226d5a=>{for(const _0x477996 of this['editor'][_0x15a6('0x93')][_0x15a6('0xea')][_0x15a6('0xad')]()){const _0x24eea7=this[_0x15a6('0xdf')][_0x15a6('0x93')][_0x15a6('0xea')][_0x15a6('0xca')](_0x477996),_0x20c875=this[_0x15a6('0xdf')][_0x15a6('0x59')]['view'][_0x15a6('0xea')][_0x15a6('0xca')](_0x477996);if(_0x20c875){const _0x4b9778=_0x24eea7['getAttribute'](_0x15a6('0xee'));if(_0x226d5a['removeAttribute'](_0x15a6('0x11c'),_0x20c875),_0x226d5a['removeClass'](_0x15a6('0x105'),_0x20c875),_0x226d5a[_0x15a6('0xe2')](_0x15a6('0x19'),_0x20c875),_0x226d5a[_0x15a6('0xe2')](_0x15a6('0x58'),_0x20c875),_0x4b9778){const _0x522138=this['_getChangeFromId'](_0x4b9778);if(!_0x522138)return null;_0x226d5a[_0x15a6('0xe')]('data-change-id',_0x4b9778,_0x20c875),_0x226d5a[_0x15a6('0x11e')]('ck-revision-history-root-'+_0x522138[_0x15a6('0x110')],_0x20c875),this['activeChange']==_0x522138&&_0x226d5a[_0x15a6('0x11e')]('ck-revision-history-root--active',_0x20c875);}}}});}),this['editor'][_0x15a6('0x9a')][_0x15a6('0xb4')](_0x15a6('0x1e'))[_0x15a6('0x41')]({'view':_0x15a6('0x10b'),'model':_0x220e4d=>'revision-comment:'+_0x220e4d,'converterPriority':'highest'}),this[_0x15a6('0xdf')][_0x15a6('0x9a')][_0x15a6('0xb4')](_0x15a6('0x1e'))[_0x15a6('0x41')]({'view':_0x15a6('0x2f'),'model':_0x371bbf=>_0x15a6('0x48')+_0x371bbf,'converterPriority':_0x15a6('0x54')}),this[_0x15a6('0xdf')][_0x15a6('0x9a')][_0x15a6('0xb4')]('dataDowncast')[_0x15a6('0x8e')]({'model':_0x15a6('0xeb'),'view':_0x342e65=>({'name':'suggestion:'+_0x342e65,'group':_0x15a6('0xeb')}),'converterPriority':_0x15a6('0x54')}),this[_0x15a6('0xdf')][_0x15a6('0x9a')][_0x15a6('0xb4')]('editingDowncast')[_0x15a6('0xef')]({'model':'revision-suggestion','view':_0x3054f5=>{const _0x40cd61=_0x3054f5['markerName']['split'](':')[0x1];return'insertion'!=_0x40cd61&&_0x15a6('0x11b')!=_0x40cd61?null:{'classes':[_0x15a6('0x22'),_0x15a6('0xf6')+_0x40cd61]};}}),this['editor'][_0x15a6('0x59')][_0x15a6('0xab')]['on'](_0x15a6('0x67'),et(this[_0x15a6('0xdf')],_0x15a6('0x63')),{'priority':_0x15a6('0x4f')}),this[_0x15a6('0xdf')][_0x15a6('0x59')][_0x15a6('0xab')]['on'](_0x15a6('0x13'),et(this[_0x15a6('0xdf')],_0x15a6('0x2b')),{'priority':_0x15a6('0x4f')}),this[_0x15a6('0xdf')][_0x15a6('0x59')][_0x15a6('0xab')]['on'](_0x15a6('0x4b'),(_0x6ac9b1,_0x9ab858,_0x1bc051)=>{const _0x13f3ac=_0x1bc051[_0x15a6('0x45')][_0x15a6('0xd2')](_0x9ab858[_0x15a6('0x99')]);if(_0x13f3ac)for(const _0x2bc3d0 of _0x13f3ac)_0x2bc3d0['is'](_0x15a6('0x1f'))&&(_0x1bc051[_0x15a6('0x45')][_0x15a6('0xd1')](_0x2bc3d0,_0x9ab858['markerName']),_0x1bc051[_0x15a6('0x6a')][_0x15a6('0xe3')](_0x2bc3d0));},{'priority':'high'});}['_getChangeFromId'](_0x5871a3){return this[_0x15a6('0x29')][_0x15a6('0x88')](_0x5871a3);}[_0x15a6('0xfa')](_0x299a95){return this['_changeView']&&this[_0x15a6('0xd4')][_0x15a6('0xb')](),this[_0x15a6('0xd4')]=new _0x13ee47(this[_0x15a6('0xdf')][_0x15a6('0xc3')],_0x299a95),this[_0x15a6('0xd4')];}[_0x15a6('0x4')](){this[_0x15a6('0xdf')][_0x15a6('0x93')][_0x15a6('0xea')][_0x15a6('0x7f')][_0x15a6('0xcb')](_0x15a6('0x3f')),this['on'](_0x15a6('0x49'),(_0x3a7b8f,_0x5154c5,_0x4e55d5,_0x2d9107)=>{_0x2d9107&&this[_0x15a6('0x27')][_0x15a6('0xe3')](_0x2d9107),_0x4e55d5&&(this[_0x15a6('0x27')]['add']({'view':_0x4e55d5,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x5be077=this[_0x15a6('0xdf')][_0x15a6('0x59')],_0x44be73=this[_0x15a6('0x3b')](_0x4e55d5[_0x15a6('0x20')]);let _0x185902;if(_0x44be73[_0x15a6('0x33')]['isOnRoot']){const _0x1c3e9f=_0x5be077[_0x15a6('0x6')]['getDomRoot'](_0x44be73[_0x15a6('0xfb')]);_0x185902=Array['from'](_0x1c3e9f[_0x15a6('0xa8')]());}else{const _0x1f0406=this[_0x15a6('0xdf')]['model'][_0x15a6('0x17')]['get'](_0x15a6('0xbc')+_0x4e55d5[_0x15a6('0x20')]);_0x185902=Array[_0x15a6('0x78')](_0x5be077[_0x15a6('0x45')][_0x15a6('0xd2')](_0x1f0406[_0x15a6('0x4d')]))[_0x15a6('0xe5')](_0x557761=>_0x5be077[_0x15a6('0x6')][_0x15a6('0x111')][_0x15a6('0xc7')](_0x557761))[_0x15a6('0xe5')](_0x3dc513=>Array[_0x15a6('0x78')](_0x3dc513[_0x15a6('0xa8')]()))[_0x15a6('0x23')]();}if(!this[_0x15a6('0x2d')])return _0x185902[0x0];return _0x185902[_0x15a6('0x52')](_0x2e067e=>_0x2e067e[_0x15a6('0x11a')]-0x3<=this[_0x15a6('0x2d')]['y']&&_0x2e067e[_0x15a6('0x6e')]+0x3>=this[_0x15a6('0x2d')]['y']&&_0x2e067e[_0x15a6('0x30')]-0x3<=this[_0x15a6('0x2d')]['x']&&_0x2e067e[_0x15a6('0x43')]+0x3>=this[_0x15a6('0x2d')]['x'])||_0x185902[0x0];}}}),this[_0x15a6('0x27')]['showStack'](_0x15a6('0x112')));}),this['on'](_0x15a6('0x2e'),(_0x1bc7c7,_0x11ba30,_0x4e772d,_0xc2d157)=>{this['activeView']=_0x4e772d?this['_getViewForChange'](_0x4e772d):null,this[_0x15a6('0xdf')][_0x15a6('0x93')][_0x15a6('0xd0')](()=>{const _0x46b207=this[_0x15a6('0xdf')][_0x15a6('0x59')];_0xc2d157&&(_0xc2d157[_0x15a6('0x33')][_0x15a6('0x8')]?_0x46b207[_0x15a6('0x6')][_0x15a6('0xd0')](_0x15d586=>{_0x15d586[_0x15a6('0xe2')](_0x15a6('0x58'),_0x46b207[_0x15a6('0x6')][_0x15a6('0xea')]['getRoot'](_0xc2d157[_0x15a6('0xfb')]));}):_0x46b207[_0x15a6('0xc1')](_0x15a6('0xbc')+_0xc2d157['id'])),_0x4e772d&&(_0x4e772d[_0x15a6('0x33')][_0x15a6('0x8')]?_0x46b207[_0x15a6('0x6')]['change'](_0x4d690a=>{_0x4d690a[_0x15a6('0x11e')](_0x15a6('0x58'),_0x46b207['view'][_0x15a6('0xea')]['getRoot'](_0x4e772d[_0x15a6('0xfb')]));}):_0x46b207[_0x15a6('0xc1')](_0x15a6('0xbc')+_0x4e772d['id']));});}),this[_0x15a6('0xc4')](this[_0x15a6('0xdf')][_0x15a6('0x59')][_0x15a6('0x6')]['document'],_0x15a6('0xa'),(_0x28ec16,_0x1f360d)=>{if(this['activeChange'])return;const _0x4e59d8=this[_0x15a6('0x10f')](_0x1f360d['target']),_0x579b49=this[_0x15a6('0x29')][_0x15a6('0x88')](_0x4e59d8);_0x579b49?(this[_0x15a6('0x2d')]={'x':_0x1f360d[_0x15a6('0x7e')]['x'],'y':_0x1f360d[_0x15a6('0x7e')]['y']},this[_0x15a6('0x120')]=this[_0x15a6('0xfa')](_0x579b49)):(this[_0x15a6('0x2d')]=null,this[_0x15a6('0x120')]=null);}),this[_0x15a6('0xc4')](this[_0x15a6('0xdf')][_0x15a6('0x59')][_0x15a6('0x6')]['document'],'mousedown',(_0x118350,_0x791565)=>{const _0x2dd9b8=this[_0x15a6('0x10f')](_0x791565['target']),_0x205b93=this[_0x15a6('0x29')]['get'](_0x2dd9b8);_0x205b93?(this[_0x15a6('0x2d')]={'x':_0x791565['domEvent']['x'],'y':_0x791565['domEvent']['y']},_0x205b93===this[_0x15a6('0x1d')]?this[_0x15a6('0x27')][_0x15a6('0xb7')]():this['activeChange']=_0x205b93):(this[_0x15a6('0x2d')]=null,this[_0x15a6('0x1d')]=null);});}[_0x15a6('0x10f')](_0x1eaddc){do{const _0x132fb3=_0x1eaddc[_0x15a6('0xc6')]('data-change-id');if(_0x132fb3)return _0x132fb3;_0x1eaddc=_0x1eaddc[_0x15a6('0x90')];}while(_0x1eaddc);return null;}[_0x15a6('0xb6')](){this[_0x15a6('0xdf')][_0x15a6('0x93')][_0x15a6('0xd0')](_0x4080ca=>{for(const _0xd3f8b7 of this['editor'][_0x15a6('0x93')][_0x15a6('0x17')])_0x4080ca[_0x15a6('0x86')](_0xd3f8b7);});}}function et(_0x4c8637,_0x124f03){return(_0x4a163b,_0x1b985a,_0x48ced2)=>{if(!_0x48ced2[_0x15a6('0x9f')]['test'](_0x1b985a[_0x15a6('0xaf')],_0x4a163b[_0x15a6('0x4d')]))return;const _0x362d5d=_0x1b985a[_0x15a6('0xaf')][_0x15a6('0xb0')](),_0x20989f=_0x1b985a[_0x15a6('0xaf')][_0x15a6('0xec')],_0x3b9cea=_0x4c8637[_0x15a6('0x93')][_0x15a6('0x3e')];let _0x44c23a=null,_0x3105fc=null,_0x30021a=!0x1,_0xac33d8=!0x1;for(const _0xb360c3 of _0x362d5d){const _0xa915b8=_0xb360c3['item'];_0x30021a=_0x30021a||_0x3b9cea['isContent'](_0xa915b8);const _0x4de138=_0x48ced2[_0x15a6('0x45')]['toViewElement'](_0xa915b8);if(_0x4de138&&_0x4de138[_0x15a6('0x7c')](_0x15a6('0x15')))return;'elementEnd'==_0xb360c3[_0x15a6('0x110')]&&(_0x3b9cea[_0x15a6('0xb3')](_0xa915b8)&&!_0x3b9cea['isLimit'](_0xa915b8)&&(_0xa915b8[_0x15a6('0xb9')]||_0x20989f['isAtEnd']?_0x44c23a&&_0x44c23a['parent']==_0xa915b8||(_0x44c23a=_0xa915b8,_0x55dc68(_0xb360c3[_0x15a6('0x68')]),_0xac33d8=!0x0):_0x3105fc=_0x3105fc||_0xb360c3['previousPosition']));}function _0x55dc68(_0x434edb){const _0x2fb52b=_0x48ced2[_0x15a6('0x45')][_0x15a6('0x116')](_0x434edb),_0x2b6c1a=_0x48ced2[_0x15a6('0x6a')][_0x15a6('0x113')]('span',{'class':'ck-suggestion-preview-marker-'+_0x124f03});_0x48ced2['writer']['insert'](_0x2fb52b,_0x2b6c1a),_0x48ced2[_0x15a6('0x45')][_0x15a6('0x124')](_0x2b6c1a,_0x1b985a[_0x15a6('0x99')]);}_0x30021a||_0xac33d8||!_0x3105fc||_0x55dc68(_0x3105fc);};}export class RestoreRevisionCommand extends _0x64b08{constructor(_0x4ff0c4){super(_0x4ff0c4);const _0x85c885=_0x4ff0c4[_0x15a6('0x1c')][_0x15a6('0x88')](d);this[_0x15a6('0x1')]=!0x1,this[_0x15a6('0xc4')](_0x85c885,_0x15a6('0xed'),()=>this[_0x15a6('0x55')]()),this[_0x15a6('0xc4')](_0x85c885,_0x15a6('0x9e'),()=>this[_0x15a6('0x55')]());}['execute'](){const _0x55709e=this[_0x15a6('0xdf')],_0x1221fa=_0x55709e[_0x15a6('0x1c')][_0x15a6('0x88')](d),_0x21957f=_0x1221fa[_0x15a6('0x6d')]?_0x1221fa[_0x15a6('0x106')][_0x15a6('0x11')]:null;_0x55709e['config'][_0x15a6('0x88')](_0x15a6('0x102'))[_0x15a6('0x80')](_0x21957f);}['refresh'](){const {isReady:_0x499ee4,isEnabled:_0x54d004}=this[_0x15a6('0xdf')][_0x15a6('0x1c')][_0x15a6('0x88')](d);this[_0x15a6('0xa1')]=_0x499ee4&&_0x54d004;}}export class ShowChangeCommand extends _0x64b08{constructor(_0xd45e59,{direction:_0x51a790}){super(_0xd45e59);const _0x19d399=_0xd45e59[_0x15a6('0x1c')][_0x15a6('0x88')](d);this[_0x15a6('0x1')]=!0x1,this[_0x15a6('0x8a')]=_0x15a6('0x5')===_0x51a790?0x1:-0x1,this[_0x15a6('0xc4')](_0x19d399,_0x15a6('0xed'),()=>this[_0x15a6('0x55')]()),this[_0x15a6('0xc4')](_0x19d399,'change:isEnabled',()=>this[_0x15a6('0x55')]()),this[_0x15a6('0xc4')](_0x19d399,'change:activeChange',()=>this[_0x15a6('0x55')]());}['execute'](){const _0x3621c7=this[_0x15a6('0xdf')],_0x234a74=_0x3621c7['plugins'][_0x15a6('0x88')](d),{isNavigationMode:_0x540958,currentChangeNumber:_0x24f992}=_0x234a74;let _0x3cd86b;if(_0x234a74[_0x15a6('0x1d')]=_0x540958?_0x234a74[_0x15a6('0x106')][_0x15a6('0x77')]['get'](_0x24f992+this['_step']):_0x234a74[_0x15a6('0x106')][_0x15a6('0x77')]['first'],_0x234a74['activeChange']['data'][_0x15a6('0x8')])_0x3cd86b=_0x3621c7[_0x15a6('0x59')][_0x15a6('0x6')][_0x15a6('0xf5')](_0x234a74[_0x15a6('0x1d')][_0x15a6('0xfb')]);else{const _0x30ca92=_0x3621c7[_0x15a6('0x93')][_0x15a6('0x17')][_0x15a6('0x88')](_0x15a6('0xbc')+_0x234a74[_0x15a6('0x1d')]['id']);_0x3cd86b=_0x3e8826(_0x3621c7[_0x15a6('0x59')],_0x30ca92);}_0x3117ae({'target':_0x3cd86b,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x430996,currentChangeNumber:_0x2b1b72,numberOfChanges:_0x25131f,isReady:_0x462caa,isEnabled:_0x2a93bc}=this[_0x15a6('0xdf')][_0x15a6('0x1c')]['get'](d);this['isEnabled']=!!(_0x2a93bc&&_0x462caa&&_0x25131f)&&(!_0x430996||(0x1===this[_0x15a6('0x8a')]?_0x2b1b72<_0x25131f-0x1:_0x2b1b72>0x0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3faf=['ck-revision-history-sidebar__revision__actions','children','add','_action','threeVerticalDots','name','buttonView','first','button','locale','find','isActionsDropdownOpen','Name\x20this\x20revision','ck-on','Show\x20more\x20items','action','source','set','function','Restore\x20this\x20revision','class','bindTemplate','bind','model','execute','change:isActionsDropdownOpen','isEnabled','extendTemplate','isVisible','listenTo','listView'];(function(_0x6d5967,_0x3fafa4){const _0x2eee82=function(_0x4f0ccb){while(--_0x4f0ccb){_0x6d5967['push'](_0x6d5967['shift']());}};_0x2eee82(++_0x3fafa4);}(_0x3faf,0x80));const _0x2eee=function(_0x6d5967,_0x3fafa4){_0x6d5967=_0x6d5967-0x0;let _0x2eee82=_0x3faf[_0x6d5967];return _0x2eee82;};import{Collection as _0x33a587}from'ckeditor5/src/utils';import{icons as _0x454f44}from'ckeditor5/src/core';import{Model as _0x2cef06,addListToDropdown as _0x1caf75,createDropdown as _0x3e986e}from'ckeditor5/src/ui';import{getTranslation as _0x140515}from'../../utils/common-translations';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0xefb9a2,_0x20968b){const _0x5ade2b=_0xefb9a2[_0x2eee('0x11')],_0x59d646=_0xefb9a2[_0x2eee('0x5')],_0x45507b=_0x3e986e(_0x59d646);_0x45507b['panelPosition']='sw';const _0x1be542=function(_0x5ac75c,_0x4229c8){const _0x56637a=function(_0x203361,_0x32c0cc){const _0x2dfd46=_0x203361['locale'],_0x4b64dc={'Compare\x20against\x20selected':_0x140515(_0x2dfd46,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x140515(_0x2dfd46,_0x2eee('0x8')),'Restore\x20this\x20revision':_0x140515(_0x2dfd46,_0x2eee('0xf'))};return _0x32c0cc['map'](_0x248f34=>{const _0x3d2d22=_0x4b64dc[_0x248f34[_0x2eee('0x1')]];return _0x3d2d22&&_0x3d2d22!==_0x248f34[_0x2eee('0x1')]&&(_0x248f34[_0x2eee('0x1')]=_0x3d2d22),_0x248f34;});}(_0x5ac75c,_0x4229c8),_0xfe59a3=new _0x33a587();for(const _0x3ede42 of _0x56637a){const _0x11b639={'type':_0x2eee('0x4'),'model':new _0x2cef06({'label':_0x3ede42[_0x2eee('0x1')],'class':_0x3ede42[_0x2eee('0x10')],'withText':!0x0,'_action':_0x3ede42[_0x2eee('0xb')]})};_0x11b639[_0x2eee('0x13')][_0x2eee('0x12')]('isEnabled')['to'](_0x5ac75c,_0x2eee('0x7'),_0x4b54c3=>_0x2eee('0xe')!=typeof _0x3ede42['isEnabled']||(!_0x4b54c3||_0x3ede42[_0x2eee('0x16')](_0x5ac75c))),_0xfe59a3[_0x2eee('0x1d')](_0x11b639);}return _0xfe59a3;}(_0xefb9a2,_0x20968b);return _0xefb9a2[_0x2eee('0x12')](_0x2eee('0x7'))['to'](_0x45507b,'isOpen'),_0x45507b[_0x2eee('0x2')][_0x2eee('0xd')]({'label':_0x140515(_0x59d646,_0x2eee('0xa')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x454f44[_0x2eee('0x0')]}),_0x45507b[_0x2eee('0x17')]({'attributes':{'class':[_0x2eee('0x1b'),_0x5ade2b['if'](_0x2eee('0x7'),_0x2eee('0x9'))]},'on':{'click':_0x5ade2b['to'](_0x140b88=>_0x140b88['stopPropagation']())}}),_0x45507b['on'](_0x2eee('0x14'),_0x270c6f=>{_0xefb9a2['isReady']&&_0x2eee('0xe')==typeof _0x270c6f[_0x2eee('0xc')][_0x2eee('0x1e')]&&_0x270c6f[_0x2eee('0xc')][_0x2eee('0x1e')](_0xefb9a2);}),_0x1caf75(_0x45507b,_0x1be542),_0x45507b[_0x2eee('0x19')](_0xefb9a2,_0x2eee('0x15'),(_0x59d248,_0x479e1d,_0x58d558)=>{if(_0x58d558)for(const _0x3a25c2 of _0x45507b[_0x2eee('0x1a')]['items']){const _0x4fd7ab=_0x3a25c2[_0x2eee('0x1c')][_0x2eee('0x3')],_0x3c6cda=_0x20968b[_0x2eee('0x6')](_0x1e1197=>_0x1e1197[_0x2eee('0xb')]===_0x4fd7ab[_0x2eee('0x1e')])['isVisible'];_0x3a25c2[_0x2eee('0x18')]=void 0x0===_0x3c6cda||_0x3c6cda(_0xefb9a2);}}),_0x45507b;}
23
+ const _0x4d65=['isReady','stopPropagation','execute','function','first','source','listenTo','name','isVisible','locale','set','isActionsDropdownOpen','threeVerticalDots','bindTemplate','add','find','Restore\x20this\x20revision','buttonView','panelPosition','bind','class','listView','action','items','_action','ck-revision-history-sidebar__revision__actions','Compare\x20against\x20selected','children','model'];(function(_0x2d1c78,_0x4d6578){const _0xcc5ea6=function(_0x380f69){while(--_0x380f69){_0x2d1c78['push'](_0x2d1c78['shift']());}};_0xcc5ea6(++_0x4d6578);}(_0x4d65,0x121));const _0xcc5e=function(_0x2d1c78,_0x4d6578){_0x2d1c78=_0x2d1c78-0x0;let _0xcc5ea6=_0x4d65[_0x2d1c78];return _0xcc5ea6;};import{Collection as _0x4343ac}from'ckeditor5/src/utils';import{icons as _0x1a8e2e}from'ckeditor5/src/core';import{Model as _0x5ef8d4,addListToDropdown as _0x3b5832,createDropdown as _0x1100a5}from'ckeditor5/src/ui';import{getTranslation as _0x192628}from'../../utils/common-translations';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x5d3101,_0x142074){const _0x7dd764=_0x5d3101[_0xcc5e('0xe')],_0x10403d=_0x5d3101[_0xcc5e('0xa')],_0x50dd64=_0x1100a5(_0x10403d);_0x50dd64[_0xcc5e('0x13')]='sw';const _0x1ddc1e=function(_0x2475da,_0x199d18){const _0x260843=function(_0x1e413b,_0xb5b28d){const _0xd867a7=_0x1e413b[_0xcc5e('0xa')],_0x1d8b0f={'Compare\x20against\x20selected':_0x192628(_0xd867a7,_0xcc5e('0x1b')),'Name\x20this\x20revision':_0x192628(_0xd867a7,'Name\x20this\x20revision'),'Restore\x20this\x20revision':_0x192628(_0xd867a7,_0xcc5e('0x11'))};return _0xb5b28d['map'](_0x3ab258=>{const _0x426004=_0x1d8b0f[_0x3ab258[_0xcc5e('0x8')]];return _0x426004&&_0x426004!==_0x3ab258[_0xcc5e('0x8')]&&(_0x3ab258[_0xcc5e('0x8')]=_0x426004),_0x3ab258;});}(_0x2475da,_0x199d18),_0x2eff17=new _0x4343ac();for(const _0x546f80 of _0x260843){const _0x55ed2c={'type':'button','model':new _0x5ef8d4({'label':_0x546f80[_0xcc5e('0x8')],'class':_0x546f80[_0xcc5e('0x15')],'withText':!0x0,'_action':_0x546f80[_0xcc5e('0x17')]})};_0x55ed2c[_0xcc5e('0x0')][_0xcc5e('0x14')]('isEnabled')['to'](_0x2475da,'isActionsDropdownOpen',_0x5725d2=>_0xcc5e('0x4')!=typeof _0x546f80['isEnabled']||(!_0x5725d2||_0x546f80['isEnabled'](_0x2475da))),_0x2eff17[_0xcc5e('0xf')](_0x55ed2c);}return _0x2eff17;}(_0x5d3101,_0x142074);return _0x5d3101[_0xcc5e('0x14')](_0xcc5e('0xc'))['to'](_0x50dd64,'isOpen'),_0x50dd64[_0xcc5e('0x12')][_0xcc5e('0xb')]({'label':_0x192628(_0x10403d,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1a8e2e[_0xcc5e('0xd')]}),_0x50dd64['extendTemplate']({'attributes':{'class':[_0xcc5e('0x1a'),_0x7dd764['if'](_0xcc5e('0xc'),'ck-on')]},'on':{'click':_0x7dd764['to'](_0x6176d5=>_0x6176d5[_0xcc5e('0x2')]())}}),_0x50dd64['on'](_0xcc5e('0x3'),_0x28b95c=>{_0x5d3101[_0xcc5e('0x1')]&&_0xcc5e('0x4')==typeof _0x28b95c[_0xcc5e('0x6')][_0xcc5e('0x19')]&&_0x28b95c['source'][_0xcc5e('0x19')](_0x5d3101);}),_0x3b5832(_0x50dd64,_0x1ddc1e),_0x50dd64[_0xcc5e('0x7')](_0x5d3101,'change:isActionsDropdownOpen',(_0x3dc86f,_0x127d23,_0x14f681)=>{if(_0x14f681)for(const _0x386bc4 of _0x50dd64[_0xcc5e('0x16')][_0xcc5e('0x18')]){const _0x167ba1=_0x386bc4[_0xcc5e('0x1c')][_0xcc5e('0x5')],_0x33758e=_0x142074[_0xcc5e('0x10')](_0x35100d=>_0x35100d['action']===_0x167ba1[_0xcc5e('0x19')])[_0xcc5e('0x9')];_0x386bc4[_0xcc5e('0x9')]=void 0x0===_0x33758e||_0x33758e(_0x5d3101);}}),_0x50dd64;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xeb95=['name','0\x200\x2011\x2010','Revision\x20author','push','ck-revision-history-sidebar__revision-author_creator','span'];(function(_0x33de8e,_0xeb9587){const _0xb098e9=function(_0x4ace95){while(--_0x4ace95){_0x33de8e['push'](_0x33de8e['shift']());}};_0xb098e9(++_0xeb9587);}(_0xeb95,0x13e));const _0xb098=function(_0x33de8e,_0xeb9587){_0x33de8e=_0x33de8e-0x0;let _0xb098e9=_0xeb95[_0x33de8e];return _0xb098e9;};import{View as _0x1a77d6,IconView as _0x1e0472}from'ckeditor5/src/ui';import{getTranslation as _0x2f6e52}from'../../utils/common-translations';import'../../../theme/revision/revisionauthor.css';import _0x176b73 from'../../../theme/icons/user.svg';export default class ti extends _0x1a77d6{constructor(_0x1df19f,_0x197602,_0x2fd8fa){super(_0x1df19f);const _0x371b01=new _0x1e0472();_0x371b01['set']({'content':_0x176b73,'viewBox':_0xb098('0x1')});const _0x36d989=['ck','ck-revision-history-sidebar__revision-author'];_0x2fd8fa&&_0x36d989[_0xb098('0x3')](_0xb098('0x4'));const _0x34afc8=[{'tag':_0xb098('0x5'),'attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':_0x2f6e52(_0x1df19f,_0x2fd8fa?'Revision\x20creator':_0xb098('0x2'))},'children':[_0x371b01,_0x197602[_0xb098('0x0')]]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x36d989},'children':_0x34afc8});}}
23
+ const _0x4cd0=['push','ck-revision-history-sidebar__revision-author','name','Revision\x20creator','ck-revision-history-sidebar__revision-author_creator','setTemplate','ck-revision-history-sidebar__revision-author__name','Revision\x20author'];(function(_0x1c8ef2,_0x4cd0f1){const _0x557261=function(_0x2b72e9){while(--_0x2b72e9){_0x1c8ef2['push'](_0x1c8ef2['shift']());}};_0x557261(++_0x4cd0f1);}(_0x4cd0,0xdc));const _0x5572=function(_0x1c8ef2,_0x4cd0f1){_0x1c8ef2=_0x1c8ef2-0x0;let _0x557261=_0x4cd0[_0x1c8ef2];return _0x557261;};import{View as _0x45c9ae,IconView as _0x49bb84}from'ckeditor5/src/ui';import{getTranslation as _0x2f422e}from'../../utils/common-translations';import'../../../theme/revision/revisionauthor.css';import _0x6e0c48 from'../../../theme/icons/user.svg';export default class ti extends _0x45c9ae{constructor(_0xaef646,_0x16a399,_0x50a792){super(_0xaef646);const _0x1e6ea3=new _0x49bb84();_0x1e6ea3['set']({'content':_0x6e0c48,'viewBox':'0\x200\x2011\x2010'});const _0x5b5a7d=['ck',_0x5572('0x5')];_0x50a792&&_0x5b5a7d[_0x5572('0x4')](_0x5572('0x0'));const _0x141886=[{'tag':'span','attributes':{'class':['ck',_0x5572('0x2')],'title':_0x2f422e(_0xaef646,_0x50a792?_0x5572('0x7'):_0x5572('0x3'))},'children':[_0x1e6ea3,_0x16a399[_0x5572('0x6')]]}];this[_0x5572('0x1')]({'tag':'li','attributes':{'class':_0x5b5a7d},'children':_0x141886});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2acd=['Revision\x20name','set'];(function(_0x5a9b7d,_0x2acde7){var _0x2ac137=function(_0x5c48a8){while(--_0x5c48a8){_0x5a9b7d['push'](_0x5a9b7d['shift']());}};_0x2ac137(++_0x2acde7);}(_0x2acd,0x1e0));var _0x2ac1=function(_0x5a9b7d,_0x2acde7){_0x5a9b7d=_0x5a9b7d-0x0;var _0x2ac137=_0x2acd[_0x5a9b7d];return _0x2ac137;};import{LabeledFieldView as _0xad3167}from'ckeditor5/src/ui';import{getTranslation as _0x43616c}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class is extends _0xad3167{constructor(_0x5be3bd,_0x427408){super(_0x5be3bd,_0x427408),this[_0x2ac1('0x1')]({'label':_0x43616c(_0x5be3bd,_0x2ac1('0x0'))}),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name']}});}}
23
+ var _0x41ea=['extendTemplate','span','set'];(function(_0x2c6b89,_0x41ea98){var _0x2528ed=function(_0x180264){while(--_0x180264){_0x2c6b89['push'](_0x2c6b89['shift']());}};_0x2528ed(++_0x41ea98);}(_0x41ea,0x11e));var _0x2528=function(_0x2c6b89,_0x41ea98){_0x2c6b89=_0x2c6b89-0x0;var _0x2528ed=_0x41ea[_0x2c6b89];return _0x2528ed;};import{LabeledFieldView as _0x2bda1c}from'ckeditor5/src/ui';import{getTranslation as _0x336ea5}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class is extends _0x2bda1c{constructor(_0x5d8858,_0x145004){super(_0x5d8858,_0x145004),this[_0x2528('0x1')]({'label':_0x336ea5(_0x5d8858,'Revision\x20name')}),this[_0x2528('0x2')]({'tag':_0x2528('0x0'),'attributes':{'class':['ck-revision-history-sidebar__revision-name']}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb016=['unhighlight','placeholder','ck-revision-history-sidebar__revision-authors','change','set','ck-revision-history-sidebar__revision-wrapper','element','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','_revision','listenTo','select','createdAt','value','map','revisionActionsView','isSelected','ck-revision-history-sidebar__revision_selected','highlight','isReady','creator','extendTemplate','unshift','setName','isEnabled','render','authors','ck-revision-history-sidebar__revision_highlighted','isHighlighted','isActionsDropdownOpen','ck-reset','bind','name','revisionNameView','ck-revision-history-sidebar__actions_dropdown_open','setTemplate','fieldView','ck-revision-history-sidebar__revision__controls-wrapper','.ck-thread__remove-confirm','srcElement','_createdAtFormatted','deselect','ck-revision-history-sidebar__revision__date','closest','span','from','div'];(function(_0x342c70,_0xb01645){const _0x28d646=function(_0x4dfcff){while(--_0x4dfcff){_0x342c70['push'](_0x342c70['shift']());}};_0x28d646(++_0xb01645);}(_0xb016,0x13f));const _0x28d6=function(_0x342c70,_0xb01645){_0x342c70=_0x342c70-0x0;let _0x28d646=_0xb016[_0x342c70];return _0x28d646;};import{View as _0x5d5038,createLabeledInputText as _0x494220}from'ckeditor5/src/ui';import{ConfirmMixin as _0x25dde3}from'ckeditor5-collaboration/src/collaboration-core';import _0x45a238 from'./revisionnameview';import _0x5b0906 from'./revisionauthorview';import{dateToPrettyFormat as _0x3f6560}from'./utils';import{createActionsDropdownView as _0x154e34}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ai extends _0x25dde3(_0x5d5038){constructor(_0x581dc0,_0x295186,_0x1bfefe){super(_0x581dc0);const _0x513043=this['bindTemplate'],_0xedafeb=function(_0x504c92,_0x17f787){const _0x59e2a5=Array[_0x28d6('0x1')](_0x17f787[_0x28d6('0x1c')])['filter'](_0x321177=>_0x321177!=_0x17f787[_0x28d6('0x16')]);return _0x17f787[_0x28d6('0x16')]&&_0x59e2a5[_0x28d6('0x18')](_0x17f787[_0x28d6('0x16')]),_0x59e2a5[_0x28d6('0x10')](_0x3e3b06=>new _0x5b0906(_0x504c92,_0x3e3b06,_0x3e3b06==_0x17f787[_0x28d6('0x16')]));}(_0x581dc0,_0x295186);this['id']=_0x295186['id'],this[_0x28d6('0xb')]=_0x295186,this['bind'](_0x28d6('0x22'),'createdAt')['to'](_0x295186),this['bind'](_0x28d6('0x2a'))['to'](this,_0x28d6('0xe'),_0x5b4a99=>_0x5b4a99?_0x3f6560(_0x581dc0['uiLanguage'],_0x5b4a99):void 0x0),this[_0x28d6('0x7')](_0x28d6('0x12'),!0x1),this[_0x28d6('0x7')](_0x28d6('0x1e'),!0x1),this['set'](_0x28d6('0x1f'),!0x1),this[_0x28d6('0x7')](_0x28d6('0x15'),!0x1),this[_0x28d6('0x7')](_0x28d6('0x1a'),!0x1),this[_0x28d6('0x23')]=new _0x45a238(_0x581dc0,_0x494220),this[_0x28d6('0x23')][_0x28d6('0x26')][_0x28d6('0x17')]({'attributes':{'maxlength':'220'}}),this[_0x28d6('0x23')][_0x28d6('0x26')][_0x28d6('0x21')](_0x28d6('0xf'),_0x28d6('0x4'))['to'](this,'name',_0x28d6('0x2a')),this[_0x28d6('0x23')][_0x28d6('0x21')](_0x28d6('0x1a'))['to'](this,'isSelected',this,'isEnabled',(_0x2005ca,_0x1dab7c)=>_0x2005ca&&_0x1dab7c),this[_0x28d6('0x11')]=_0x1bfefe&&_0x1bfefe['length']?_0x154e34(this,_0x1bfefe):'',this[_0x28d6('0x11')]&&this[_0x28d6('0x11')][_0x28d6('0x21')](_0x28d6('0x1a'))['to'](this),this[_0x28d6('0x25')]({'tag':_0x28d6('0x2'),'attributes':{'class':['ck',_0x28d6('0x20'),_0x28d6('0x8'),_0x513043['if']('isConfirm',_0x28d6('0xa'))]},'children':[{'tag':_0x28d6('0x2'),'attributes':{'class':['ck',_0x28d6('0x20'),'ck-revision-history-sidebar__revision',_0x513043['if'](_0x28d6('0x1a'),'ck-disabled',_0x4f253f=>!_0x4f253f),_0x513043['if'](_0x28d6('0x12'),_0x28d6('0x13')),_0x513043['if'](_0x28d6('0x1e'),_0x28d6('0x1d')),_0x513043['if']('isActionsDropdownOpen',_0x28d6('0x24'))]},'children':[this[_0x28d6('0x23')],{'tag':_0x28d6('0x0'),'attributes':{'class':['ck',_0x28d6('0x2c')]},'children':[{'text':_0x513043['to'](_0x28d6('0x2a'))}]},{'tag':'div','attributes':{'class':['ck',_0x28d6('0x27')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x28d6('0x5')]},'children':_0xedafeb}]},this[_0x28d6('0x11')]],'on':{'click':_0x513043['to'](_0x465639=>{_0x465639[_0x28d6('0x29')][_0x28d6('0x2d')](_0x28d6('0x28'))||this[_0x28d6('0x15')]&&this[_0x28d6('0x1a')]&&this['fire'](_0x28d6('0xd'),{'id':this['id']});})}}]});}[_0x28d6('0x1b')](){super[_0x28d6('0x1b')]();const _0x28233c=this[_0x28d6('0x23')][_0x28d6('0x26')][_0x28d6('0x9')];this[_0x28d6('0xc')](_0x28233c,_0x28d6('0x6'),()=>{this['fire'](_0x28d6('0x19'),{'id':this['id'],'name':_0x28233c[_0x28d6('0xf')]});});}[_0x28d6('0xd')](){this[_0x28d6('0x12')]=!0x0;}[_0x28d6('0x2b')](){this[_0x28d6('0x12')]=!0x1;}[_0x28d6('0x14')](){this[_0x28d6('0x1e')]=!0x0;}[_0x28d6('0x3')](){this[_0x28d6('0x1e')]=!0x1;}}
23
+ const _0x5627=['revisionNameView','set','setName','isSelected','render','bind','srcElement','createdAt','closest','change','ck-revision-history-sidebar__revision-wrapper','.ck-thread__remove-confirm','bindTemplate','creator','deselect','isConfirm','revisionActionsView','map','fire','div','isHighlighted','filter','unhighlight','ck-revision-history-sidebar__revision__controls-wrapper','isActionsDropdownOpen','from','placeholder','ck-reset','name','ck-revision-history-sidebar__revision_highlighted','_revision','ck-revision-history-sidebar__revision_selected','uiLanguage','value','ck-disabled','ck-revision-history-sidebar__revision','listenTo','fieldView','ck-revision-history-sidebar__actions_dropdown_open','unshift','element','length','ck-revision-history-sidebar__revision__date','_createdAtFormatted','isEnabled','highlight'];(function(_0x3929f1,_0x56271b){const _0x21affb=function(_0x3e0f02){while(--_0x3e0f02){_0x3929f1['push'](_0x3929f1['shift']());}};_0x21affb(++_0x56271b);}(_0x5627,0x154));const _0x21af=function(_0x3929f1,_0x56271b){_0x3929f1=_0x3929f1-0x0;let _0x21affb=_0x5627[_0x3929f1];return _0x21affb;};import{View as _0x41c6c6,createLabeledInputText as _0x5725cb}from'ckeditor5/src/ui';import{ConfirmMixin as _0x1304d4}from'ckeditor5-collaboration/src/collaboration-core';import _0x584715 from'./revisionnameview';import _0x338d14 from'./revisionauthorview';import{dateToPrettyFormat as _0x499dd6}from'./utils';import{createActionsDropdownView as _0x3d7bf1}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ai extends _0x1304d4(_0x41c6c6){constructor(_0x476564,_0x136dea,_0x5e9214){super(_0x476564);const _0x1d29d3=this[_0x21af('0x28')],_0x505e07=function(_0x40011f,_0x2b6366){const _0x3f9341=Array[_0x21af('0x7')](_0x2b6366['authors'])[_0x21af('0x3')](_0x5a247b=>_0x5a247b!=_0x2b6366['creator']);return _0x2b6366[_0x21af('0x29')]&&_0x3f9341[_0x21af('0x15')](_0x2b6366[_0x21af('0x29')]),_0x3f9341[_0x21af('0x2d')](_0x3cf9a=>new _0x338d14(_0x40011f,_0x3cf9a,_0x3cf9a==_0x2b6366[_0x21af('0x29')]));}(_0x476564,_0x136dea);this['id']=_0x136dea['id'],this[_0x21af('0xc')]=_0x136dea,this[_0x21af('0x21')](_0x21af('0xa'),'createdAt')['to'](_0x136dea),this[_0x21af('0x21')]('_createdAtFormatted')['to'](this,_0x21af('0x23'),_0x3f91f3=>_0x3f91f3?_0x499dd6(_0x476564[_0x21af('0xe')],_0x3f91f3):void 0x0),this['set'](_0x21af('0x1f'),!0x1),this[_0x21af('0x1d')](_0x21af('0x2'),!0x1),this['set'](_0x21af('0x6'),!0x1),this[_0x21af('0x1d')]('isReady',!0x1),this['set'](_0x21af('0x1a'),!0x1),this[_0x21af('0x1c')]=new _0x584715(_0x476564,_0x5725cb),this[_0x21af('0x1c')][_0x21af('0x13')]['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView'][_0x21af('0x21')](_0x21af('0xf'),_0x21af('0x8'))['to'](this,_0x21af('0xa'),_0x21af('0x19')),this[_0x21af('0x1c')][_0x21af('0x21')](_0x21af('0x1a'))['to'](this,_0x21af('0x1f'),this,_0x21af('0x1a'),(_0x7aded7,_0x121fe1)=>_0x7aded7&&_0x121fe1),this[_0x21af('0x2c')]=_0x5e9214&&_0x5e9214[_0x21af('0x17')]?_0x3d7bf1(this,_0x5e9214):'',this[_0x21af('0x2c')]&&this[_0x21af('0x2c')][_0x21af('0x21')](_0x21af('0x1a'))['to'](this),this['setTemplate']({'tag':_0x21af('0x1'),'attributes':{'class':['ck',_0x21af('0x9'),_0x21af('0x26'),_0x1d29d3['if'](_0x21af('0x2b'),'ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':_0x21af('0x1'),'attributes':{'class':['ck',_0x21af('0x9'),_0x21af('0x11'),_0x1d29d3['if']('isEnabled',_0x21af('0x10'),_0x168030=>!_0x168030),_0x1d29d3['if'](_0x21af('0x1f'),_0x21af('0xd')),_0x1d29d3['if']('isHighlighted',_0x21af('0xb')),_0x1d29d3['if'](_0x21af('0x6'),_0x21af('0x14'))]},'children':[this[_0x21af('0x1c')],{'tag':'span','attributes':{'class':['ck',_0x21af('0x18')]},'children':[{'text':_0x1d29d3['to'](_0x21af('0x19'))}]},{'tag':'div','attributes':{'class':['ck',_0x21af('0x5')]},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x505e07}]},this['revisionActionsView']],'on':{'click':_0x1d29d3['to'](_0x5289f8=>{_0x5289f8[_0x21af('0x22')][_0x21af('0x24')](_0x21af('0x27'))||this['isReady']&&this[_0x21af('0x1a')]&&this[_0x21af('0x0')]('select',{'id':this['id']});})}}]});}[_0x21af('0x20')](){super['render']();const _0x274315=this[_0x21af('0x1c')][_0x21af('0x13')][_0x21af('0x16')];this[_0x21af('0x12')](_0x274315,_0x21af('0x25'),()=>{this['fire'](_0x21af('0x1e'),{'id':this['id'],'name':_0x274315['value']});});}['select'](){this[_0x21af('0x1f')]=!0x0;}[_0x21af('0x2a')](){this[_0x21af('0x1f')]=!0x1;}[_0x21af('0x1b')](){this[_0x21af('0x2')]=!0x0;}[_0x21af('0x4')](){this[_0x21af('0x2')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37cd=['toggle','click','button','false','_isCollapsed','ck-hidden','ck-revision-history-sidebar__subrevision-collapser__inner','span','setTemplate','bindTemplate','ck-revision-history-sidebar__subrevision-collapser_collapsed'];(function(_0x28c8e9,_0x37cdbf){const _0x51eb47=function(_0x2ad6de){while(--_0x2ad6de){_0x28c8e9['push'](_0x28c8e9['shift']());}};_0x51eb47(++_0x37cdbf);}(_0x37cd,0x10f));const _0x51eb=function(_0x28c8e9,_0x37cdbf){_0x28c8e9=_0x28c8e9-0x0;let _0x51eb47=_0x37cd[_0x28c8e9];return _0x51eb47;};import{View as _0x2b8a5f}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0x2b8a5f{constructor(_0x603175){super(_0x603175);const _0x2d29ef=this[_0x51eb('0x2')];this['set']({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x51eb('0x1')]({'tag':_0x51eb('0x0'),'attributes':{'class':['ck','ck-revision-history-sidebar__subrevision-collapser',_0x2d29ef['if']('isVisible',_0x51eb('0x9'),_0xb172be=>!_0xb172be),_0x2d29ef['if'](_0x51eb('0x8'),_0x51eb('0x3'))],'role':_0x51eb('0x6'),'aria-pressed':_0x2d29ef['to']('_isCollapsed',_0x54622e=>_0x54622e?_0x51eb('0x7'):'true')},'children':[{'tag':_0x51eb('0x0'),'attributes':{'class':['ck',_0x51eb('0xa')]}}],'on':{'click':_0x2d29ef['to'](_0x51eb('0x5'))}});}[_0x51eb('0x4')](){this[_0x51eb('0x8')]=!this[_0x51eb('0x8')];}}
23
+ const _0x1445=['set','bindTemplate','ck-revision-history-sidebar__subrevision-collapser','click','false','span','ck-hidden','_isCollapsed','setTemplate','ck-revision-history-sidebar__subrevision-collapser__inner'];(function(_0xad2bfb,_0x14450f){const _0x25c078=function(_0x264356){while(--_0x264356){_0xad2bfb['push'](_0xad2bfb['shift']());}};_0x25c078(++_0x14450f);}(_0x1445,0x91));const _0x25c0=function(_0xad2bfb,_0x14450f){_0xad2bfb=_0xad2bfb-0x0;let _0x25c078=_0x1445[_0xad2bfb];return _0x25c078;};import{View as _0x46c7a4}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0x46c7a4{constructor(_0x392c5d){super(_0x392c5d);const _0x3dc93d=this[_0x25c0('0x6')];this[_0x25c0('0x5')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x25c0('0x3')]({'tag':_0x25c0('0x0'),'attributes':{'class':['ck',_0x25c0('0x7'),_0x3dc93d['if']('isVisible',_0x25c0('0x1'),_0x37d42a=>!_0x37d42a),_0x3dc93d['if'](_0x25c0('0x2'),'ck-revision-history-sidebar__subrevision-collapser_collapsed')],'role':'button','aria-pressed':_0x3dc93d['to'](_0x25c0('0x2'),_0x3b0554=>_0x3b0554?_0x25c0('0x9'):'true')},'children':[{'tag':_0x25c0('0x0'),'attributes':{'class':['ck',_0x25c0('0x4')]}}],'on':{'click':_0x3dc93d['to'](_0x25c0('0x8'))}});}['toggle'](){this[_0x25c0('0x2')]=!this[_0x25c0('0x2')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f8d=['ck-revision-history-sidebar__revision-authors','select','bind','fire','div','creator','ck-revision-history-sidebar__revision_selected','span','ck-revision-history-sidebar__revision__date','setTemplate','uiLanguage','ck-reset','createdAt','isSelected','_createdAtFormatted','_parentRevisionId','bindTemplate'];(function(_0xbf4cd3,_0x2f8db3){const _0x3f1cac=function(_0x58994d){while(--_0x58994d){_0xbf4cd3['push'](_0xbf4cd3['shift']());}};_0x3f1cac(++_0x2f8db3);}(_0x2f8d,0x96));const _0x3f1c=function(_0xbf4cd3,_0x2f8db3){_0xbf4cd3=_0xbf4cd3-0x0;let _0x3f1cac=_0x2f8d[_0xbf4cd3];return _0x3f1cac;};import{View as _0x4ad735}from'ckeditor5/src/ui';import _0x456fec from'./revisionauthorview';import{dateToPrettyFormat as _0x4e7b06}from'./utils';import'../../../theme/revision/subrevision.css';export default class ci extends _0x4ad735{constructor(_0x2d1eeb,_0x51d273,_0x5c306e){super(_0x2d1eeb);const _0x5b8052=this[_0x3f1c('0x2')];this['id']=_0x51d273['id'],this['bind'](_0x3f1c('0xf'))['to'](_0x51d273),this['set'](_0x3f1c('0x10'),!0x1),this[_0x3f1c('0x5')](_0x3f1c('0x0'))['to'](this,_0x3f1c('0xf'),_0x43f86e=>_0x43f86e?_0x4e7b06(_0x2d1eeb[_0x3f1c('0xd')],_0x43f86e):void 0x0),this['_parentRevisionId']=_0x5c306e,this[_0x3f1c('0xc')]({'tag':_0x3f1c('0x7'),'attributes':{'class':['ck',_0x3f1c('0xe'),'ck-revision-history-sidebar__revision','ck-revision-history-sidebar__subrevision',_0x5b8052['if'](_0x3f1c('0x10'),_0x3f1c('0x9'))]},'children':[{'tag':_0x3f1c('0xa'),'attributes':{'class':['ck',_0x3f1c('0xb')]},'children':[{'text':_0x5b8052['to'](_0x3f1c('0x0'))}]},{'tag':'ul','attributes':{'class':['ck',_0x3f1c('0x3')]},'children':[new _0x456fec(_0x2d1eeb,_0x51d273[_0x3f1c('0x8')],!0x0)]}],'on':{'click':_0x5b8052['to'](this[_0x3f1c('0x4')][_0x3f1c('0x5')](this))}});}[_0x3f1c('0x4')](){this[_0x3f1c('0x10')]=!0x0,this[_0x3f1c('0x6')](_0x3f1c('0x4'),{'parentId':this[_0x3f1c('0x1')]});}['deselect'](){this['isSelected']=!0x1;}}
23
+ const _0x56d8=['ck-revision-history-sidebar__subrevision','deselect','select','_parentRevisionId','div','creator','bind','ck-revision-history-sidebar__revision','createdAt','ck-revision-history-sidebar__revision_selected','span','setTemplate','ck-revision-history-sidebar__revision__date','isSelected','set','_createdAtFormatted','uiLanguage','bindTemplate'];(function(_0x4a1986,_0x56d8b1){const _0x212cd0=function(_0x4012b1){while(--_0x4012b1){_0x4a1986['push'](_0x4a1986['shift']());}};_0x212cd0(++_0x56d8b1);}(_0x56d8,0x19b));const _0x212c=function(_0x4a1986,_0x56d8b1){_0x4a1986=_0x4a1986-0x0;let _0x212cd0=_0x56d8[_0x4a1986];return _0x212cd0;};import{View as _0x1863f1}from'ckeditor5/src/ui';import _0x358a95 from'./revisionauthorview';import{dateToPrettyFormat as _0x3dbaec}from'./utils';import'../../../theme/revision/subrevision.css';export default class ci extends _0x1863f1{constructor(_0x3e344c,_0x2b60b1,_0x5038b0){super(_0x3e344c);const _0x4914bc=this[_0x212c('0x2')];this['id']=_0x2b60b1['id'],this[_0x212c('0x9')](_0x212c('0xb'))['to'](_0x2b60b1),this[_0x212c('0x11')]('isSelected',!0x1),this['bind'](_0x212c('0x0'))['to'](this,_0x212c('0xb'),_0x48b6ed=>_0x48b6ed?_0x3dbaec(_0x3e344c[_0x212c('0x1')],_0x48b6ed):void 0x0),this[_0x212c('0x6')]=_0x5038b0,this[_0x212c('0xe')]({'tag':_0x212c('0x7'),'attributes':{'class':['ck','ck-reset',_0x212c('0xa'),_0x212c('0x3'),_0x4914bc['if'](_0x212c('0x10'),_0x212c('0xc'))]},'children':[{'tag':_0x212c('0xd'),'attributes':{'class':['ck',_0x212c('0xf')]},'children':[{'text':_0x4914bc['to']('_createdAtFormatted')}]},{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':[new _0x358a95(_0x3e344c,_0x2b60b1[_0x212c('0x8')],!0x0)]}],'on':{'click':_0x4914bc['to'](this['select']['bind'](this))}});}[_0x212c('0x5')](){this[_0x212c('0x10')]=!0x0,this['fire']('select',{'parentId':this[_0x212c('0x6')]});}[_0x212c('0x4')](){this[_0x212c('0x10')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xc12e=['numeric','toLocaleDateString','long'];(function(_0x328700,_0xc12e0c){var _0x55a460=function(_0x217dd4){while(--_0x217dd4){_0x328700['push'](_0x328700['shift']());}};_0x55a460(++_0xc12e0c);}(_0xc12e,0x138));var _0x55a4=function(_0x328700,_0xc12e0c){_0x328700=_0x328700-0x0;var _0x55a460=_0xc12e[_0x328700];return _0x55a460;};export function dateToPrettyFormat(_0xffd604,_0x59af33){return _0x59af33[_0x55a4('0x1')](_0xffd604,{'month':_0x55a4('0x2'),'day':'numeric'})+',\x20'+_0x59af33['toLocaleTimeString'](_0xffd604,{'hour':_0x55a4('0x0'),'minute':_0x55a4('0x0')});}
23
+ var _0x5e6a=['long','toLocaleDateString','numeric'];(function(_0x409415,_0x5e6a9a){var _0x230ea6=function(_0x15b1ca){while(--_0x15b1ca){_0x409415['push'](_0x409415['shift']());}};_0x230ea6(++_0x5e6a9a);}(_0x5e6a,0x173));var _0x230e=function(_0x409415,_0x5e6a9a){_0x409415=_0x409415-0x0;var _0x230ea6=_0x5e6a[_0x409415];return _0x230ea6;};export function dateToPrettyFormat(_0x3618af,_0x24816d){return _0x24816d[_0x230e('0x2')](_0x3618af,{'month':_0x230e('0x1'),'day':_0x230e('0x0')})+',\x20'+_0x24816d['toLocaleTimeString'](_0x3618af,{'hour':'numeric','minute':_0x230e('0x0')});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24aa=['arrowdown','focusTracker','tab','reset','value','add','revisionName','Cancel','arrowup','_createRevisionNameInput','render','setTemplate','locale','revisionNameInputView','cancel','ck-revision-history-save-revision-form','forEach','element','focusFirst','saveButtonView','listenTo','focus','keystrokes','delegate','execute','check','_createButton','fieldView','trim','shift\x20+\x20tab','arrowright','_focusCycler','arrowleft','Name\x20of\x20the\x20revision\x20(optional)','stopPropagation','set','extendTemplate','cancelButtonView','ck-button-cancel'];(function(_0x2e8a21,_0x24aab0){const _0x54a336=function(_0x5be9c5){while(--_0x5be9c5){_0x2e8a21['push'](_0x2e8a21['shift']());}};_0x54a336(++_0x24aab0);}(_0x24aa,0x127));const _0x54a3=function(_0x2e8a21,_0x24aab0){_0x2e8a21=_0x2e8a21-0x0;let _0x54a336=_0x24aa[_0x2e8a21];return _0x54a336;};import{icons as _0x278e1b}from'ckeditor5/src/core';import{ButtonView as _0x4d486a,FocusCycler as _0x181cd4,LabeledFieldView as _0x378f2c,View as _0x34891b,ViewCollection as _0x16eff4,createLabeledInputText as _0x21faeb,injectCssTransitionDisabler as _0x13095f,submitHandler as _0x8115b0}from'ckeditor5/src/ui';import{FocusTracker as _0xd766b5,KeystrokeHandler as _0x2b6533}from'ckeditor5/src/utils';import{getTranslation as _0x121e32}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x34891b{constructor(_0x420138){super(_0x420138),this[_0x54a3('0x12')]=new _0xd766b5(),this[_0x54a3('0x0')]=new _0x2b6533(),this[_0x54a3('0xd')]('revisionNameInputValue',''),this['revisionNameInputView']=this[_0x54a3('0x1a')](),this[_0x54a3('0x24')]=this['_createButton'](_0x121e32(_0x420138,'Save'),_0x278e1b[_0x54a3('0x3')],'ck-button-save'),this[_0x54a3('0x24')]['type']='submit',this[_0x54a3('0xf')]=this['_createButton'](_0x121e32(_0x420138,_0x54a3('0x18')),_0x278e1b[_0x54a3('0x1f')],_0x54a3('0x10'),'cancel'),this['_focusables']=new _0x16eff4(),this[_0x54a3('0x9')]=new _0x181cd4({'focusables':this['_focusables'],'focusTracker':this[_0x54a3('0x12')],'keystrokeHandler':this[_0x54a3('0x0')],'actions':{'focusPrevious':_0x54a3('0x7'),'focusNext':_0x54a3('0x13')}}),this[_0x54a3('0x1c')]({'tag':'form','attributes':{'class':['ck',_0x54a3('0x20'),'ck-responsive-form'],'tabindex':'-1'},'children':[this[_0x54a3('0x1e')],this['saveButtonView'],this[_0x54a3('0xf')]]}),_0x13095f(this);}['render'](){super[_0x54a3('0x1b')](),_0x8115b0({'view':this}),([this[_0x54a3('0x1e')],this[_0x54a3('0x24')],this[_0x54a3('0xf')]][_0x54a3('0x21')](_0xa563e1=>{this['_focusables'][_0x54a3('0x16')](_0xa563e1),this[_0x54a3('0x12')]['add'](_0xa563e1[_0x54a3('0x22')]);}),this[_0x54a3('0x0')][_0x54a3('0x25')](this[_0x54a3('0x22')]));const _0x3c21d2=_0x46920a=>_0x46920a[_0x54a3('0xc')]();this[_0x54a3('0x0')][_0x54a3('0xd')](_0x54a3('0x8'),_0x3c21d2),this['keystrokes']['set'](_0x54a3('0xa'),_0x3c21d2),this[_0x54a3('0x0')][_0x54a3('0xd')](_0x54a3('0x19'),_0x3c21d2),this[_0x54a3('0x0')][_0x54a3('0xd')](_0x54a3('0x11'),_0x3c21d2);}[_0x54a3('0x26')](){this[_0x54a3('0x9')][_0x54a3('0x23')]();}get[_0x54a3('0x17')](){return this['revisionNameInputView'][_0x54a3('0x5')][_0x54a3('0x22')][_0x54a3('0x15')]['trim']();}set['revisionName'](_0x2eb5f5){this[_0x54a3('0x1e')][_0x54a3('0x5')]['element'][_0x54a3('0x15')]=_0x2eb5f5[_0x54a3('0x6')]();}[_0x54a3('0x14')](){this[_0x54a3('0x1e')][_0x54a3('0x5')][_0x54a3('0x22')]['value']='';}[_0x54a3('0x1a')](){const _0x525553=new _0x378f2c(this[_0x54a3('0x1d')],_0x21faeb),_0x28e021=_0x525553[_0x54a3('0x5')];return _0x28e021[_0x54a3('0xe')]({'attributes':{'maxlength':'220'}}),_0x525553['label']=_0x121e32(this[_0x54a3('0x1d')],_0x54a3('0xb')),_0x28e021['on']('input',()=>{this['revisionNameInputValue']=_0x28e021[_0x54a3('0x22')][_0x54a3('0x15')]['trim']();}),_0x525553;}[_0x54a3('0x4')](_0x46b8af,_0x40fd49,_0x50a689,_0x4dd01c){const _0x1c14f9=new _0x4d486a(this[_0x54a3('0x1d')]);return _0x1c14f9[_0x54a3('0xd')]({'label':_0x46b8af,'icon':_0x40fd49,'tooltip':!0x0}),_0x1c14f9[_0x54a3('0xe')]({'attributes':{'class':_0x50a689}}),_0x4dd01c&&_0x1c14f9[_0x54a3('0x1')](_0x54a3('0x2'))['to'](this,_0x4dd01c),_0x1c14f9;}}
23
+ const _0x4ab6=['arrowright','input','revisionNameInputValue','form','set','trim','_createRevisionNameInput','extendTemplate','cancelButtonView','arrowleft','submit','stopPropagation','check','ck-revision-history-save-revision-form','element','focus','delegate','Save','ck-button-save','type','focusTracker','saveButtonView','render','ck-button-cancel','execute','value','_focusCycler','setTemplate','locale','fieldView','cancel','revisionName','arrowdown','shift\x20+\x20tab','_focusables','Name\x20of\x20the\x20revision\x20(optional)','add','focusFirst','revisionNameInputView','keystrokes'];(function(_0x38a5bb,_0x4ab628){const _0x5d8e21=function(_0x177ff3){while(--_0x177ff3){_0x38a5bb['push'](_0x38a5bb['shift']());}};_0x5d8e21(++_0x4ab628);}(_0x4ab6,0x152));const _0x5d8e=function(_0x38a5bb,_0x4ab628){_0x38a5bb=_0x38a5bb-0x0;let _0x5d8e21=_0x4ab6[_0x38a5bb];return _0x5d8e21;};import{icons as _0x48b109}from'ckeditor5/src/core';import{ButtonView as _0x50096a,FocusCycler as _0x2c3130,LabeledFieldView as _0x5927a4,View as _0x5de70c,ViewCollection as _0x4f7465,createLabeledInputText as _0x270d21,injectCssTransitionDisabler as _0x1b61a1,submitHandler as _0x22ee95}from'ckeditor5/src/ui';import{FocusTracker as _0x42ad90,KeystrokeHandler as _0x477cef}from'ckeditor5/src/utils';import{getTranslation as _0x147a56}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x5de70c{constructor(_0x172b1d){super(_0x172b1d),this[_0x5d8e('0x2')]=new _0x42ad90(),this[_0x5d8e('0x15')]=new _0x477cef(),this[_0x5d8e('0x1a')]('revisionNameInputValue',''),this[_0x5d8e('0x14')]=this[_0x5d8e('0x1c')](),this[_0x5d8e('0x3')]=this['_createButton'](_0x147a56(_0x172b1d,_0x5d8e('0x27')),_0x48b109[_0x5d8e('0x22')],_0x5d8e('0x0')),this[_0x5d8e('0x3')][_0x5d8e('0x1')]=_0x5d8e('0x20'),this['cancelButtonView']=this['_createButton'](_0x147a56(_0x172b1d,'Cancel'),_0x48b109[_0x5d8e('0xc')],_0x5d8e('0x5'),'cancel'),this['_focusables']=new _0x4f7465(),this['_focusCycler']=new _0x2c3130({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this[_0x5d8e('0x15')],'actions':{'focusPrevious':_0x5d8e('0xf'),'focusNext':'tab'}}),this[_0x5d8e('0x9')]({'tag':_0x5d8e('0x19'),'attributes':{'class':['ck',_0x5d8e('0x23'),'ck-responsive-form'],'tabindex':'-1'},'children':[this[_0x5d8e('0x14')],this['saveButtonView'],this[_0x5d8e('0x1e')]]}),_0x1b61a1(this);}[_0x5d8e('0x4')](){super[_0x5d8e('0x4')](),_0x22ee95({'view':this}),([this['revisionNameInputView'],this[_0x5d8e('0x3')],this[_0x5d8e('0x1e')]]['forEach'](_0x514490=>{this[_0x5d8e('0x10')]['add'](_0x514490),this['focusTracker'][_0x5d8e('0x12')](_0x514490[_0x5d8e('0x24')]);}),this['keystrokes']['listenTo'](this[_0x5d8e('0x24')]));const _0x1be7ea=_0x796025=>_0x796025[_0x5d8e('0x21')]();this[_0x5d8e('0x15')][_0x5d8e('0x1a')](_0x5d8e('0x16'),_0x1be7ea),this['keystrokes'][_0x5d8e('0x1a')](_0x5d8e('0x1f'),_0x1be7ea),this[_0x5d8e('0x15')][_0x5d8e('0x1a')]('arrowup',_0x1be7ea),this[_0x5d8e('0x15')][_0x5d8e('0x1a')](_0x5d8e('0xe'),_0x1be7ea);}[_0x5d8e('0x25')](){this[_0x5d8e('0x8')][_0x5d8e('0x13')]();}get[_0x5d8e('0xd')](){return this['revisionNameInputView'][_0x5d8e('0xb')][_0x5d8e('0x24')][_0x5d8e('0x7')][_0x5d8e('0x1b')]();}set[_0x5d8e('0xd')](_0x2c9529){this['revisionNameInputView'][_0x5d8e('0xb')][_0x5d8e('0x24')][_0x5d8e('0x7')]=_0x2c9529[_0x5d8e('0x1b')]();}['reset'](){this['revisionNameInputView'][_0x5d8e('0xb')][_0x5d8e('0x24')][_0x5d8e('0x7')]='';}[_0x5d8e('0x1c')](){const _0x4e7a86=new _0x5927a4(this['locale'],_0x270d21),_0x430808=_0x4e7a86['fieldView'];return _0x430808[_0x5d8e('0x1d')]({'attributes':{'maxlength':'220'}}),_0x4e7a86['label']=_0x147a56(this[_0x5d8e('0xa')],_0x5d8e('0x11')),_0x430808['on'](_0x5d8e('0x17'),()=>{this[_0x5d8e('0x18')]=_0x430808[_0x5d8e('0x24')]['value'][_0x5d8e('0x1b')]();}),_0x4e7a86;}['_createButton'](_0x419975,_0x252d4b,_0x2b2f56,_0x4e3f60){const _0x499611=new _0x50096a(this['locale']);return _0x499611[_0x5d8e('0x1a')]({'label':_0x419975,'icon':_0x252d4b,'tooltip':!0x0}),_0x499611[_0x5d8e('0x1d')]({'attributes':{'class':_0x2b2f56}}),_0x4e3f60&&_0x499611[_0x5d8e('0x26')](_0x5d8e('0x6'))['to'](this,_0x4e3f60),_0x499611;}}