@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240429.0 → 0.0.0-nightly-20240501.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.
- package/build/revision-history.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xceb223=_0x12a7;function _0x12a7(_0x5691f6,_0x1c3e25){const _0x15e872=_0x15e8();return _0x12a7=function(_0x12a787,_0x434d2a){_0x12a787=_0x12a787-0xf6;let _0x39f059=_0x15e872[_0x12a787];return _0x39f059;},_0x12a7(_0x5691f6,_0x1c3e25);}(function(_0x3c4305,_0x1c6702){const _0x380598=_0x12a7,_0x59dbf5=_0x3c4305();while(!![]){try{const _0x4feeba=-parseInt(_0x380598(0x13d))/0x1*(parseInt(_0x380598(0xff))/0x2)+parseInt(_0x380598(0x154))/0x3+parseInt(_0x380598(0x1f4))/0x4+parseInt(_0x380598(0x184))/0x5+-parseInt(_0x380598(0x165))/0x6+-parseInt(_0x380598(0x11c))/0x7+-parseInt(_0x380598(0x1a1))/0x8;if(_0x4feeba===_0x1c6702)break;else _0x59dbf5['push'](_0x59dbf5['shift']());}catch(_0x565c2a){_0x59dbf5['push'](_0x59dbf5['shift']());}}}(_0x15e8,0x1a94c));import{Plugin as _0x1c655c,Command as _0x3fef62}from'ckeditor5/src/core.js';function _0x15e8(){const _0x67e5a3=['name','activeView','-new','isAtEnd','removeMarker:revision','ck-revision-history-root-add','mousedown','removeAttribute','forceDisabled','WidgetToolbarRepository','domEvent','rootName','endIndex','set','hasAttribute','element','useFillerType','toViewRange','toViewElement','change:isReady','changes','addRevisionData','attributesBefore','markersEnd','plugins','getChild','change:numberOfChanges','toViewPosition','editingDowncast','editor','isAtStart','222uSmkAS','isBlock','currentChangeNumber','nextPosition','push','mapper','nextSibling','_makeTape','object','addRoot','isAdded','schema','getRevisionRootsAttributes','nodeAfter','length','markersStart','ck-suggestion-marker--active','insert','bind','ck-revision-history-root-','start','children','activeChange','getClientRects','revision:','getRevisionData','flat','has','vid','450849UTXDRQ','showStack','getAttribute','_markMismatchedRemovedTags','insertion','elementStart','revision-start','uiElement','RevisionsRepository','return','view','getAttributes','dataDowncast','removeMarker:revision-suggestion','suggestion:','filter','ck-suggestion-preview-marker','processor','clear','collaboration.channelId','data-revision-','_getViewObj','_changeView','execute','addMarker:revision-suggestion:insertion','refresh','offsetSize','createRange','_threeWayMerge','_getChangeFromId','_makeModelFromViewString','_findChangeIdFromDomTarget','comment','611qBTvrg','consume','range','enableReadOnlyMode','maxOffset','target','stop','changeId','split','oldRevisionId','ck-suggestion-marker','destroy','_getDiff','getRootNames','default','_removeMissingPairs','_markSuggestions','POSITIVE_INFINITY','deletion','upcast','_update','forward','index','436563oAmlQT','error','isNavigationMode','isEqual','getRevision','checkAttribute','_markInsertions','revision-suggestion:','text','affectsData','_makeModelFromTape','_appendChild','splice','next','_processTape','previousPosition','ck-suggestion-marker-split','283032sOqElb','isAddSuggestion','revision-comment:','createUIElement','_sortAndFilterDiffChanges','remove','_revisions','_getRevisionsRange','data-change-id','toData','isOnRoot','parse','bindElementToMarker','removeMarker','config','elementEnd','showPreviousChange','keys','parent','for','indexOf','_cleanMarkers','pairId','isRemoveSuggestion','dataToMarker','observeMarkers','findIndex','_fixObsoleteTags','setAttribute','pop','startsWith','615130kRhwjW','map','get','isAfter','createPositionBefore','test','addRevision','markers','consumable','writer','change','addClass','document','revision-suggestion','restoreRevision','createRangeIn','all','string','_cleanUp','insertions','mapViewToDom','elementToAttribute','getIndex','isEnabled','isInline','softBreak','showNextChange','startIndex','marked','487672DQuPhr','getDomRoot','toModel','RevisionViewer','createPositionFromPath','catch','ck-suggestion-marker-','change:activeChange','shift','unbindElementFromMarkerName','_setDistance','vid_start','unshift','isAttached','vid_end','modelRange','repository','isIncorrect','item','attachChange','markerToHighlight','viewItem','merge','addMarker:revision-suggestion:deletion','locale','loadRevisionData','abs','userId','revisionHistoryAttachChange','_getViewForChange','attribute:vid','detachRoot','editing','addHighlight','listenTo','selection','updatePosition','conversion','diff','restoreRevisionCallback','isBefore','span','createRevision','_setConversion','first','sort','adapter','isCollapsed','downcastDispatcher','revision','add','_joinTapes','_balloon','backward','numberOfChanges','ck-revision-history-root--active','diffData','_removeRevisionMarkers','from','attributesAfter','includes','revision-viewer','then','right','model','bottom','pluginName','change:activeView','hasClass','_initInteractions','domConverter','commands','code','deletions','ck-suggestion-marker-merge','_refreshStartEndIndex','left','isObject','low','data','ck-revision-history-root-remove','addMarker:revision','_step','322752CrFQiR','side','authors','type','getItems','removeClass','_markMarkers','markerRange','ck-editor__editable__overlay','_activeViewTarget','forEach','getRoot','markerName','requires','ck-suggestion-preview-marker-','_changeIdToChange','enqueueChange','attributes','getWalker','isSuggestion','suggestion','values','revision-end','concat','wrap','level','newRevisionId','getCustomProperty','createAttributeElement','revisionHistoryLabel','highest','slice','compare','distance','isLimit','markerNameToElements','top','init','delete','roots','markerToData','reconvertMarker','_setChanges','resolve','find','done','end','mouseover','isReady','_data','isContent','_removeUnsupportedChanges','high','element:pre','isRemoved','change:isEnabled','revisionHistory'];_0x15e8=function(){return _0x67e5a3;};return _0x15e8();}import{scrollViewportToShowTarget as _0x74a71f}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3758b5}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x44498c,Element as _0x451d80,Text as _0x282e41,ViewDocumentFragment as _0x4cc8dc,ViewText as _0x4dc631,ViewElement as _0x2ca2f2,ViewContainerElement as _0xc0373d,ViewAttributeElement as _0x6062a,ViewEmptyElement as _0x31050e,ViewRawElement as _0x474ef0,ViewUIElement as _0x11e834}from'ckeditor5/src/engine.js';import{Users as _0x495951,getMarkerDomElement as _0x4356e4}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1dcf4f from'./ui/revisionviewer/changedetailsview.js';import _0x4d59db from'./revisionsrepository.js';import _0x2a3edc from'./changeitem.js';import{default as _0x436534}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0xdd36e3}from'lodash-es';const tt={'c':_0xc0373d,'a':_0x6062a,'e':_0x31050e,'r':_0x474ef0,'u':_0x11e834};export default class d extends _0x1c655c{static get[_0xceb223(0x1e3)](){const _0x4164df=_0xceb223;return _0x4164df(0x1a4);}static get[_0xceb223(0x201)](){return[_0x495951,_0x3758b5,_0x4d59db];}constructor(_0x502b4e){const _0x5383b8=_0xceb223;super(_0x502b4e),this[_0x5383b8(0x1b1)]=this[_0x5383b8(0xfd)][_0x5383b8(0xf8)][_0x5383b8(0x186)](_0x5383b8(0x124)),this[_0x5383b8(0x23a)](_0x5383b8(0x115),null),this[_0x5383b8(0x23a)](_0x5383b8(0x22e),null),this[_0x5383b8(0x1fd)]=null,this[_0x5383b8(0x23a)](_0x5383b8(0x1c7),null),this[_0x5383b8(0x23a)](_0x5383b8(0x224),!0x1),this[_0x5383b8(0x23a)](_0x5383b8(0x19b),!0x0),this['on'](_0x5383b8(0x22b),(_0x5af952,_0x4162b6,_0x2ed0f7)=>{const _0xaf1dca=_0x5383b8;this[_0xaf1dca(0x115)]=null,this[_0xaf1dca(0x22e)]=null,this[_0xaf1dca(0xfd)][_0xaf1dca(0x1c1)][_0xaf1dca(0x126)][_0xaf1dca(0x18e)](_0x1212db=>{const _0x1bba7d=_0xaf1dca;for(const _0x2dac07 of this[_0x1bba7d(0xfd)][_0x1bba7d(0x1c1)][_0x1bba7d(0x126)][_0x1bba7d(0x190)][_0x1bba7d(0x21b)])_0x2ed0f7?_0x1212db[_0x1bba7d(0x1f9)](_0x1bba7d(0x1fc),_0x2dac07):_0x1212db[_0x1bba7d(0x18f)](_0x1bba7d(0x1fc),_0x2dac07);});}),this[_0x5383b8(0x111)](_0x5383b8(0x156))['to'](this,_0x5383b8(0x115),_0x1dd22f=>null!==_0x1dd22f),this[_0x5383b8(0x111)](_0x5383b8(0x101))['to'](this,_0x5383b8(0x224),this,_0x5383b8(0x1c7),this,_0x5383b8(0x115),(_0x3875ca,_0x2a4565,_0x1cb365)=>_0x3875ca&&_0x1cb365?_0x2a4565[_0x5383b8(0x241)][_0x5383b8(0x19a)](_0x1cb365):0x0),this[_0x5383b8(0x111)](_0x5383b8(0x1d7))['to'](this,_0x5383b8(0x224),this,_0x5383b8(0x1c7),(_0x442068,_0x5d3639)=>_0x442068?_0x5d3639[_0x5383b8(0x241)][_0x5383b8(0x10d)]:0x0),this[_0x5383b8(0x132)]=null,this[_0x5383b8(0x203)]=new Map(),this[_0x5383b8(0x1cf)]=null,this[_0x5383b8(0x1d5)]=this[_0x5383b8(0xfd)][_0x5383b8(0xf8)][_0x5383b8(0x186)](_0x3758b5);}[_0xceb223(0x219)](){const _0x647aeb=_0xceb223,_0x5ae6d=this[_0x647aeb(0xfd)],_0x2820c1=new ShowChangeCommand(_0x5ae6d,{'direction':_0x647aeb(0x1d6)}),_0x25cc42=new ShowChangeCommand(_0x5ae6d,{'direction':_0x647aeb(0x152)});(_0x5ae6d[_0x647aeb(0x1e8)][_0x647aeb(0x1d3)](_0x647aeb(0x175),_0x2820c1),_0x5ae6d[_0x647aeb(0x1e8)][_0x647aeb(0x1d3)](_0x647aeb(0x19e),_0x25cc42),_0x5ae6d[_0x647aeb(0x1e8)][_0x647aeb(0x1d3)](_0x647aeb(0x192),new RestoreRevisionCommand(_0x5ae6d)),this['on'](_0x647aeb(0xfa),()=>{const _0x58291c=_0x647aeb;_0x2820c1[_0x58291c(0x135)](),_0x25cc42[_0x58291c(0x135)]();}),this[_0x647aeb(0x1cc)](),this[_0x647aeb(0x1e6)](),_0x5ae6d[_0x647aeb(0x140)](_0x647aeb(0x1de)),_0x5ae6d[_0x647aeb(0xf8)][_0x647aeb(0x11a)](_0x647aeb(0x236)))&&_0x5ae6d[_0x647aeb(0xf8)][_0x647aeb(0x186)](_0x647aeb(0x236))[_0x647aeb(0x235)](_0x647aeb(0x1de));}async[_0xceb223(0x118)](_0x15f214){const _0x1a894d=_0xceb223;await this[_0x1a894d(0x1ba)](_0x15f214);const _0x138625={};for(const _0x40f901 in _0x15f214[_0x1a894d(0x1d9)]){if(_0x15f214[_0x1a894d(0x1d9)][_0x40f901][_0x1a894d(0x1b4)]&&!_0x15f214[_0x1a894d(0x1d9)][_0x40f901][_0x1a894d(0x1b4)][_0x1a894d(0x1ae)])continue;const _0xab3c0=this[_0x1a894d(0x1da)](JSON[_0x1a894d(0x170)](_0x15f214[_0x1a894d(0x1d9)][_0x40f901][_0x1a894d(0x197)])),_0x9d8f25=this[_0x1a894d(0xfd)][_0x1a894d(0x1c1)][_0x1a894d(0x126)][_0x1a894d(0x190)],_0x223422=new _0x4cc8dc(_0x9d8f25,_0xab3c0[_0x1a894d(0x185)](_0xd49151=>this[_0x1a894d(0x131)](_0xd49151)));this[_0x1a894d(0xfd)][_0x1a894d(0x1f0)][_0x1a894d(0x12d)][_0x1a894d(0x23d)](_0x1a894d(0x1a0)),_0x138625[_0x40f901]=this[_0x1a894d(0xfd)][_0x1a894d(0x1f0)][_0x1a894d(0x12d)][_0x1a894d(0x16e)](_0x223422),this[_0x1a894d(0xfd)][_0x1a894d(0x1f0)][_0x1a894d(0x12d)][_0x1a894d(0x23d)](_0x1a894d(0x14b));}return _0x138625;}async[_0xceb223(0x10b)](_0x20c38a){const _0x18b6e9=_0xceb223;await this[_0x18b6e9(0x1ba)](_0x20c38a);const _0x3c5300={};for(const _0x40e187 in _0x20c38a[_0x18b6e9(0x1d9)])_0x20c38a[_0x18b6e9(0x1d9)][_0x40e187][_0x18b6e9(0x1b4)]&&!_0x20c38a[_0x18b6e9(0x1d9)][_0x40e187][_0x18b6e9(0x1b4)][_0x18b6e9(0x1ae)]||(_0x3c5300[_0x40e187]=_0x20c38a[_0x18b6e9(0x1d9)][_0x40e187][_0x18b6e9(0x1dc)]||{});return _0x3c5300;}[_0xceb223(0x1da)](_0x3fb51e){const _0x6038f5=_0xceb223;return(_0x3fb51e=_0x3fb51e[_0x6038f5(0x12b)](_0x400cdf=>!_0x400cdf[_0x6038f5(0x22d)]||_0x6038f5(0x122)!==_0x400cdf[_0x6038f5(0x22d)]&&_0x6038f5(0x20a)!==_0x400cdf[_0x6038f5(0x22d)]))[_0x6038f5(0x1fe)](_0x55d74c=>{const _0x508c03=_0x6038f5;_0x508c03(0x195)!=typeof _0x55d74c&&(_0x55d74c[_0x508c03(0x114)]=this[_0x508c03(0x1da)](_0x55d74c[_0x508c03(0x114)]),_0x55d74c[_0x508c03(0x205)]=_0x55d74c[_0x508c03(0x205)][_0x508c03(0x12b)](_0x23a851=>!_0x23a851[0x0][_0x508c03(0x183)](_0x508c03(0x130))));}),_0x3fb51e;}async[_0xceb223(0x214)](_0x334057,_0x46aef7,_0x2e8572=!0x1){const _0x1474de=_0xceb223;if(!this[_0x1474de(0x19b)])return;const _0x56f4ee=this[_0x1474de(0x1c7)],_0x1badd8=this[_0x1474de(0x1b1)],_0x2162fc=_0x1474de(0x195)==typeof _0x334057?_0x1badd8[_0x1474de(0x158)](_0x334057):_0x334057,_0x2b0b3e=_0x1474de(0x195)==typeof _0x46aef7?_0x1badd8[_0x1474de(0x158)](_0x46aef7):_0x46aef7,_0x80842c=_0x2162fc['id'],_0x523a2d=_0x2b0b3e?_0x2b0b3e['id']:null;if(!_0x2e8572&&this[_0x1474de(0x1c7)]&&this[_0x1474de(0x1c7)][_0x1474de(0x20e)]===_0x80842c&&this[_0x1474de(0x1c7)][_0x1474de(0x146)]===_0x523a2d)return Promise[_0x1474de(0x21f)]();this[_0x1474de(0x224)]=!0x1,this[_0x1474de(0x22e)]=null,this[_0x1474de(0x115)]=null,this[_0x1474de(0x1c7)]=new _0x436534(_0x80842c,_0x523a2d);const _0x58f7f3=this[_0x1474de(0x16c)](_0x2162fc,_0x2b0b3e,!0x0)[_0x1474de(0x185)](_0x30351c=>this[_0x1474de(0x1ba)](_0x30351c));return _0x58f7f3[_0x1474de(0x103)](new Promise(_0x4d1a77=>{setTimeout(_0x4d1a77,0x14);})),Promise[_0x1474de(0x194)](_0x58f7f3)[_0x1474de(0x1df)](()=>{const _0x1b1bb3=_0x1474de;if(!this[_0x1b1bb3(0x19b)])return;this[_0x1b1bb3(0x196)]();const _0x14cbb5=this[_0x1b1bb3(0x149)](_0x80842c,_0x523a2d);for(const _0x193197 of _0x14cbb5[_0x1b1bb3(0x241)])this[_0x1b1bb3(0x203)][_0x1b1bb3(0x23a)](_0x193197['id'],_0x193197);this[_0x1b1bb3(0xfd)][_0x1b1bb3(0x1e1)][_0x1b1bb3(0x204)]({'isUndoable':!0x1},_0x4cb89b=>{const _0x168708=_0x1b1bb3;for(const _0x53be1e of this[_0x168708(0xfd)][_0x168708(0x1e1)][_0x168708(0x190)][_0x168708(0x14a)]())_0x4cb89b[_0x168708(0x1c0)](_0x53be1e);for(const _0x1856bd of Object[_0x168708(0x176)](_0x14cbb5[_0x168708(0x1e1)])){const _0x14daed=_0x4cb89b[_0x168708(0x108)](_0x1856bd);for(const _0x325b0d of Object[_0x168708(0x176)](_0x14cbb5[_0x168708(0x205)][_0x1856bd]))_0x4cb89b[_0x168708(0x181)](_0x325b0d,_0x14cbb5[_0x168708(0x205)][_0x1856bd][_0x325b0d],_0x14daed);_0x4cb89b[_0x168708(0x110)](_0x14cbb5[_0x168708(0x1e1)][_0x1856bd],_0x14daed,0x0);}}),this[_0x1b1bb3(0x1c7)][_0x1b1bb3(0x21e)](this[_0x1b1bb3(0x169)](_0x14cbb5[_0x1b1bb3(0x241)])),this[_0x1b1bb3(0x224)]=!0x0;})[_0x1474de(0x1a6)](_0x22bf73=>{const _0x1beac1=_0x1474de;console[_0x1beac1(0x155)](_0x22bf73),this[_0x1beac1(0x196)](),_0x56f4ee&&(this[_0x1beac1(0x1c7)]=_0x56f4ee),this[_0x1beac1(0x224)]=!0x0;});}[_0xceb223(0x242)](_0x11d960,_0x43b5a7){const _0x7d9d81=_0xceb223,_0x490aba=this[_0x7d9d81(0x1b1)][_0x7d9d81(0x1cb)](_0x11d960);return _0x490aba['on'](_0x7d9d81(0x151),(_0x32a2e6,_0x16e587,_0x415be6)=>_0x43b5a7(_0x16e587,_0x415be6,_0x490aba)),this[_0x7d9d81(0x1b1)][_0x7d9d81(0x18a)](_0x490aba),_0x490aba;}[_0xceb223(0x1ba)](_0x2fec9d){const _0x255ec7=_0xceb223;if(!_0x2fec9d||_0x2fec9d[_0x255ec7(0x1d9)])return Promise[_0x255ec7(0x21f)]();{const _0x15f67a=this[_0x255ec7(0xfd)][_0x255ec7(0x173)][_0x255ec7(0x186)](_0x255ec7(0x12f));return this[_0x255ec7(0x1cf)][_0x255ec7(0x158)]({'channelId':_0x15f67a,'revisionId':_0x2fec9d['id']})[_0x255ec7(0x1df)](_0x582b43=>{const _0x5375b3=_0x255ec7;_0x2fec9d[_0x5375b3(0x151)]({'diffData':_0x582b43[_0x5375b3(0x1d9)]},!0x0);});}}[_0xceb223(0x196)](){const _0x2010d4=_0xceb223;this[_0x2010d4(0x115)]=null,this[_0x2010d4(0x17a)](),this[_0x2010d4(0x132)]&&this[_0x2010d4(0x132)][_0x2010d4(0x148)](),this[_0x2010d4(0x132)]=null,this[_0x2010d4(0x203)][_0x2010d4(0x12e)](),this[_0x2010d4(0xfd)][_0x2010d4(0x1e1)][_0x2010d4(0x204)]({'isUndoable':!0x1},_0x1206f8=>{const _0x2d3e49=_0x2010d4;for(const _0x16489e of this[_0x2d3e49(0xfd)][_0x2d3e49(0x1e1)][_0x2d3e49(0x190)][_0x2d3e49(0x14a)]())_0x1206f8[_0x2d3e49(0x1c0)](_0x16489e);});}[_0xceb223(0x169)](_0x51ce6e){const _0x2b378f=_0xceb223,_0x92ab04=[],_0x3d85a4=new Map();for(const _0x176218 of this[_0x2b378f(0xfd)][_0x2b378f(0x1e1)][_0x2b378f(0x190)][_0x2b378f(0x14a)]()){const _0x33a097=this[_0x2b378f(0xfd)][_0x2b378f(0x1c1)][_0x2b378f(0x126)][_0x2b378f(0x1a2)](_0x176218);if(!_0x33a097)continue;const _0xc16c83=_0x33a097[_0x2b378f(0x116)]()[_0x2b378f(0x1b3)](0x0);_0xc16c83&&(_0x92ab04[_0x2b378f(0x103)](_0x176218),_0x3d85a4[_0x2b378f(0x23a)](_0x176218,_0xc16c83));}return _0x92ab04[_0x2b378f(0x1ce)]((_0x3bb3ee,_0x2fdb0e)=>{const _0xbce92=_0x2b378f,_0x26854a=_0x3d85a4[_0xbce92(0x186)](_0x3bb3ee),_0x9cf31d=_0x3d85a4[_0xbce92(0x186)](_0x2fdb0e);return _0x26854a['y']-_0x9cf31d['y']||_0x26854a['x']-_0x9cf31d['x'];}),(_0x51ce6e=_0x51ce6e[_0x2b378f(0x12b)](_0x268df5=>_0x92ab04[_0x2b378f(0x1dd)](_0x268df5[_0x2b378f(0x238)])))[_0x2b378f(0x1ce)]((_0x411087,_0x35fd41)=>_0x92ab04[_0x2b378f(0x179)](_0x411087[_0x2b378f(0x238)])-_0x92ab04[_0x2b378f(0x179)](_0x35fd41[_0x2b378f(0x238)])),_0x51ce6e;}[_0xceb223(0x106)](_0x5ba420){const _0x2816aa=_0xceb223,_0x2bc81e=Array[_0x2816aa(0x1db)](_0x5ba420[_0x2816aa(0x18b)])[_0x2816aa(0x12b)](([_0x3946b6,_0xfb9141])=>_0x3946b6[_0x2816aa(0x183)](_0x2816aa(0x117))&&!_0xfb9141[_0x2816aa(0x1d0)]),_0x5aa72c=Array[_0x2816aa(0x1db)](this[_0x2816aa(0xfd)][_0x2816aa(0x1e1)][_0x2816aa(0x193)](_0x5ba420)[_0x2816aa(0x206)]({'singleCharacters':!0x0}));if(0x0!=_0x2bc81e[_0x2816aa(0x10d)])for(const _0x28ba8c of _0x5aa72c){const [_0x1ecec7,_0xc57973]=_0x2bc81e[0x0],[,_0x2c3231,_0x234eda]=_0x1ecec7[_0x2816aa(0x145)](':');if(_0xc57973[_0x2816aa(0x222)][_0x2816aa(0x157)](_0x28ba8c[_0x2816aa(0x102)])&&_0x2bc81e[_0x2816aa(0x1a9)](),(_0x28ba8c[_0x2816aa(0x163)][_0x2816aa(0x157)](_0xc57973[_0x2816aa(0x113)])||_0x28ba8c[_0x2816aa(0x163)][_0x2816aa(0x187)](_0xc57973[_0x2816aa(0x113)]))&&(_0x2816aa(0x120)==_0x2c3231?_0x28ba8c[_0x2816aa(0x109)]={'userId':_0x234eda}:_0x2816aa(0x14f)==_0x2c3231&&(_0x28ba8c[_0x2816aa(0x22a)]={'userId':_0x234eda})),0x0==_0x2bc81e[_0x2816aa(0x10d)])break;}return _0x5aa72c;}[_0xceb223(0x1ec)](_0x1c47c9){const _0x5653bd=_0xceb223,_0x55230f=new Map();for(let _0xd0b09c=0x0;_0xd0b09c<_0x1c47c9[_0x5653bd(0x10d)];_0xd0b09c++)_0x5653bd(0x15c)===_0x1c47c9[_0xd0b09c][_0x5653bd(0x1f7)]?(_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x19f)]=_0xd0b09c,_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x239)]=_0xd0b09c):(_0x5653bd(0x121)===_0x1c47c9[_0xd0b09c][_0x5653bd(0x1f7)]?_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x19f)]=_0xd0b09c:_0x5653bd(0x174)===_0x1c47c9[_0xd0b09c][_0x5653bd(0x1f7)]&&(_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x239)]=_0xd0b09c),_0x55230f[_0x5653bd(0x23a)](_0x1c47c9[_0xd0b09c]['id'],_0xd0b09c));for(const _0x4d6736 of _0x55230f[_0x5653bd(0x209)]())_0x5653bd(0x121)===_0x1c47c9[_0x4d6736][_0x5653bd(0x1f7)]?_0x1c47c9[_0x4d6736][_0x5653bd(0x1b3)][_0x5653bd(0x239)]=_0x55230f[_0x5653bd(0x186)](_0x1c47c9[_0x4d6736][_0x5653bd(0x17b)]):_0x5653bd(0x174)===_0x1c47c9[_0x4d6736][_0x5653bd(0x1f7)]&&(_0x1c47c9[_0x4d6736][_0x5653bd(0x1b3)][_0x5653bd(0x19f)]=_0x55230f[_0x5653bd(0x186)](_0x1c47c9[_0x4d6736][_0x5653bd(0x17b)]));}[_0xceb223(0x162)](_0x3138d1){const _0x4e2eac=_0xceb223;for(let _0x870cb1=0x0;_0x870cb1<_0x3138d1[_0x4e2eac(0x10d)];_0x870cb1++){if(_0x4e2eac(0x121)===_0x3138d1[_0x870cb1][_0x4e2eac(0x1f7)])_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x19f)]=_0x870cb1;else{if(_0x4e2eac(0x174)===_0x3138d1[_0x870cb1][_0x4e2eac(0x1f7)]){_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x239)]=_0x870cb1;const _0x4aeda2=_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x19f)];_0x3138d1[_0x4aeda2][_0x4e2eac(0x17b)]=_0x3138d1[_0x870cb1]['id'],_0x3138d1[_0x870cb1][_0x4e2eac(0x17b)]=_0x3138d1[_0x4aeda2]['id'];}else _0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x19f)]=_0x870cb1,_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x239)]=_0x870cb1,_0x3138d1[_0x870cb1][_0x4e2eac(0x17b)]=null;}_0x3138d1[_0x870cb1][_0x4e2eac(0x10e)]||(_0x3138d1[_0x870cb1][_0x4e2eac(0x10e)]=[],_0x3138d1[_0x870cb1][_0x4e2eac(0xf7)]=[]);}}[_0xceb223(0x15a)](_0x12baa3,_0x1865cb){const _0x34a49c=_0xceb223,_0x55921f=_0x12baa3[_0x34a49c(0x12b)](_0x1a9bca=>!_0x1a9bca[_0x34a49c(0x109)]);for(let _0x1fcf0e=0x0;_0x1fcf0e<_0x1865cb[_0x34a49c(0x10d)];_0x1fcf0e++)_0x1865cb[_0x1fcf0e][_0x34a49c(0x109)]&&(_0x55921f[_0x1fcf0e][_0x34a49c(0x109)]=_0x1865cb[_0x1fcf0e][_0x34a49c(0x109)]);}[_0xceb223(0x13a)](_0x16ef09){const _0x141893=_0xceb223,_0x3c9a65=JSON[_0x141893(0x170)](_0x16ef09),_0x258ed3=this[_0x141893(0xfd)][_0x141893(0x1c1)][_0x141893(0x126)][_0x141893(0x190)],_0x5a8e44=new _0x4cc8dc(_0x258ed3,_0x3c9a65[_0x141893(0x185)](_0x5d94ea=>this[_0x141893(0x131)](_0x5d94ea)));return this[_0x141893(0xfd)][_0x141893(0x1f0)][_0x141893(0x1a3)](_0x5a8e44);}[_0xceb223(0x131)](_0x5295a5){const _0x15783f=_0xceb223,_0x40b662=this[_0x15783f(0xfd)][_0x15783f(0x1c1)][_0x15783f(0x126)][_0x15783f(0x190)];if(_0x15783f(0x195)==typeof _0x5295a5)return new _0x4dc631(_0x40b662,_0x5295a5);{const _0x5c94b4=_0x5295a5[_0x15783f(0x114)][_0x15783f(0x185)](_0x5df1d6=>this[_0x15783f(0x131)](_0x5df1d6));return new(tt[_0x5295a5[(_0x15783f(0x1f7))]]||_0x2ca2f2)(_0x40b662,_0x5295a5[_0x15783f(0x22d)],_0x5295a5[_0x15783f(0x205)],_0x5c94b4);}}[_0xceb223(0x149)](_0x49c87d,_0xa86aa2=null){const _0x94389e=_0xceb223,_0xe8b91e=this[_0x94389e(0x1b1)][_0x94389e(0x158)](_0x49c87d),_0xe2605f=_0xa86aa2?this[_0x94389e(0x1b1)][_0x94389e(0x158)](_0xa86aa2):null,_0x96fefc=this[_0x94389e(0x16c)](_0xe8b91e,_0xe2605f),_0x408fd8=_0x96fefc[_0x96fefc[_0x94389e(0x10d)]-0x1],_0xfe569e=new Map(),_0xcf51c8={'model':{},'attributes':{},'changes':[]},_0x52548b=new Set(),_0x5c6289=new Map();for(let _0x2ef849=_0x96fefc[_0x94389e(0x10d)]-0x1;_0x2ef849>=0x0;_0x2ef849--){const _0x126adb=_0x96fefc[_0x2ef849];for(const _0x3e8b84 of Object[_0x94389e(0x176)](_0x126adb[_0x94389e(0x1d9)]))if(_0x126adb[_0x94389e(0x1d9)][_0x3e8b84][_0x94389e(0x1b4)]){const _0x5e9f67=_0x126adb[_0x94389e(0x1d9)][_0x3e8b84][_0x94389e(0x1b4)];_0x5e9f67[_0x94389e(0x1ae)]?(_0x52548b[_0x94389e(0x1d3)](_0x3e8b84),_0x5c6289[_0x94389e(0x11a)](_0x3e8b84)&&_0x5c6289[_0x94389e(0x186)](_0x3e8b84)[_0x94389e(0x1bc)]==_0x5e9f67[_0x94389e(0x1bc)]?_0x5c6289[_0x94389e(0x21a)](_0x3e8b84):_0x5c6289[_0x94389e(0x23a)](_0x3e8b84,_0x5e9f67)):_0x5c6289[_0x94389e(0x11a)](_0x3e8b84)?(_0x52548b[_0x94389e(0x21a)](_0x3e8b84),_0x5c6289[_0x94389e(0x21a)](_0x3e8b84)):(_0x52548b[_0x94389e(0x1d3)](_0x3e8b84),_0x5c6289[_0x94389e(0x23a)](_0x3e8b84,_0x5e9f67));}else _0x52548b[_0x94389e(0x1d3)](_0x3e8b84);}for(const _0x497d94 of _0x52548b){const _0x2a6762=_0x5c6289[_0x94389e(0x11a)](_0x497d94)&&!_0x5c6289[_0x94389e(0x186)](_0x497d94)[_0x94389e(0x1ae)];let _0x3277cd=_0x2a6762?_0x96fefc[_0x94389e(0x10d)]-0x1:0x0;const _0x285d45=_0x2a6762?-0x1:0x1;for(;_0x96fefc[_0x3277cd];){const _0xf8fba=_0x96fefc[_0x3277cd];if(_0xf8fba[_0x94389e(0x1d9)][_0x497d94]){const _0x25fa15=_0x2a6762?_0xf8fba[_0x94389e(0x1d9)][_0x497d94][_0x94389e(0xf6)]:_0xf8fba[_0x94389e(0x1d9)][_0x497d94][_0x94389e(0x1dc)];_0xcf51c8[_0x94389e(0x205)][_0x497d94]=_0x25fa15?_0xdd36e3(_0x25fa15):{};break;}_0x3277cd+=_0x285d45;}}for(const _0x46d772 of _0x96fefc){_0x46d772[_0x94389e(0x1e1)]={};for(const _0x544439 of _0x46d772[_0x94389e(0x1f6)])_0xfe569e[_0x94389e(0x23a)](_0x544439['id'],_0x544439);for(const _0x1b2865 of _0x52548b){const _0x4020ae=_0x46d772[_0x94389e(0x1d9)][_0x1b2865]?_0x46d772[_0x94389e(0x1d9)][_0x1b2865][_0x94389e(0x197)]:'[]',_0x5bbbdf=_0x46d772[_0x94389e(0x1d9)][_0x1b2865]?_0x46d772[_0x94389e(0x1d9)][_0x1b2865][_0x94389e(0x1ea)]:'[]';_0x46d772[_0x94389e(0x1e1)][_0x1b2865]={'insertions':this[_0x94389e(0x13a)](_0x4020ae),'deletions':this[_0x94389e(0x13a)](_0x5bbbdf)};}}for(const _0x3f2af0 of _0x52548b){let _0x3438d2=null,_0x89afb6=0x0;const _0x513140=new Map(Array[_0x94389e(0x1db)](_0xe8b91e[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x197)][_0x94389e(0x18b)])[_0x94389e(0x12b)](([_0x3170f8])=>!_0x3170f8[_0x94389e(0x183)](_0x94389e(0x117))));let _0x3179bf=0x0;for(const _0x1d4dce of _0x96fefc){const _0x1ca130=this[_0x94389e(0x106)](_0x1d4dce[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x197)]);_0x1d4dce==_0xe8b91e?(_0x3438d2=_0x1ca130,_0x89afb6=_0x3438d2[_0x94389e(0x10d)],_0x3438d2[_0x94389e(0x1fe)](_0x48bfe5=>{_0x48bfe5['id']=_0x3179bf++;}),this[_0x94389e(0x162)](_0x3438d2)):this[_0x94389e(0x15a)](_0x3438d2,_0x1ca130);const _0x197cf6=_0x3438d2[_0x94389e(0x12b)](_0x5b0bd2=>!_0x5b0bd2[_0x94389e(0x109)])[_0x94389e(0x185)](_0x4804f3=>_0x4804f3['id']);let _0x59894d=0x0;const _0x3a731c=this[_0x94389e(0x106)](_0x1d4dce[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x1ea)]);_0x3a731c[_0x94389e(0x1fe)](_0x10169d=>{const _0x492923=_0x94389e;_0x10169d[_0x492923(0x22a)]?_0x10169d['id']=_0x89afb6++:_0x10169d['id']=_0x197cf6[_0x59894d++];}),this[_0x94389e(0x162)](_0x3a731c),this[_0x94389e(0x1ab)](_0x3438d2,_0x94389e(0x109)),this[_0x94389e(0x1ab)](_0x3a731c,_0x94389e(0x22a)),_0x1d4dce==_0xe8b91e&&this[_0x94389e(0x1fa)](_0x3438d2,_0x513140),_0x3438d2=this[_0x94389e(0x1d4)](_0x3438d2,_0x3a731c),this[_0x94389e(0x1ec)](_0x3438d2),this[_0x94389e(0x1ab)](_0x3438d2,_0x94389e(0x22a));}_0x3438d2=_0x3438d2[_0x94389e(0x12b)](_0x2dbf98=>!(_0x2dbf98[_0x94389e(0x109)]&&_0x2dbf98[_0x94389e(0x22a)]));const _0x993350=new Map(_0x408fd8[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x1ea)][_0x94389e(0x18b)]),_0x48f5ab=new Set(_0x513140[_0x94389e(0x176)]());for(const _0x287d6e of _0x993350[_0x94389e(0x176)]())_0x48f5ab[_0x94389e(0x21a)](_0x287d6e);this[_0x94389e(0x14d)](_0x3438d2,_0x48f5ab),this[_0x94389e(0x180)](_0x3438d2),_0x3438d2=this[_0x94389e(0x14c)](_0x3438d2),_0x3438d2=this[_0x94389e(0x11f)](_0x3438d2),_0x3438d2=this[_0x94389e(0x227)](_0x3438d2);const {root:_0x24eca5,changes:_0x190a1d}=this[_0x94389e(0x15e)](_0x3438d2,_0xfe569e,_0x3f2af0);_0xcf51c8[_0x94389e(0x1e1)][_0x3f2af0]=_0x24eca5;const _0x2c4715=_0x5c6289[_0x94389e(0x186)](_0x3f2af0);if(_0x2c4715){const _0xe7b27b=_0xfe569e[_0x94389e(0x186)](_0x2c4715[_0x94389e(0x1bc)]),_0x47adb6=new _0x2a3edc({'author':_0xe7b27b,'type':_0x2c4715[_0x94389e(0x1ae)]?_0x94389e(0x1d3):_0x94389e(0x16a),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3f2af0});_0x190a1d[_0x94389e(0x1ad)](_0x47adb6),_0xcf51c8[_0x94389e(0x205)][_0x3f2af0][_0x94389e(0x1bd)]=_0x47adb6['id'];}_0xcf51c8[_0x94389e(0x241)]=_0xcf51c8[_0x94389e(0x241)][_0x94389e(0x20b)](_0x190a1d);}return _0xcf51c8;}[_0xceb223(0x1fa)](_0x297494,_0x340fd4){const _0x5004cb=_0xceb223;for(let _0x4725d7=0x0;_0x4725d7<_0x297494[_0x5004cb(0x10d)];_0x4725d7++)for(const [_0x2562ce,_0x1a1283]of _0x340fd4)_0x1a1283[_0x5004cb(0x113)][_0x5004cb(0x157)](_0x297494[_0x4725d7][_0x5004cb(0x163)])&&_0x297494[_0x4725d7][_0x5004cb(0x10e)][_0x5004cb(0x103)](_0x2562ce),_0x1a1283[_0x5004cb(0x222)][_0x5004cb(0x157)](_0x297494[_0x4725d7][_0x5004cb(0x102)])&&_0x297494[_0x4725d7][_0x5004cb(0xf7)][_0x5004cb(0x103)](_0x2562ce);}[_0xceb223(0x1d4)](_0x162785,_0x110d22){const _0x5eeb3f=_0xceb223;let _0x155fec=[],_0x1726c8=0x0,_0xba8fd2=0x0;for(;_0x1726c8<_0x162785[_0x5eeb3f(0x10d)]||_0xba8fd2<_0x110d22[_0x5eeb3f(0x10d)];){const _0x12e648=_0x162785[_0x1726c8]||{},_0x171f8a=_0x110d22[_0xba8fd2]||{};if(_0x12e648['id']==_0x171f8a['id'])_0x1726c8++,_0xba8fd2++,_0x155fec[_0x5eeb3f(0x103)](_0x12e648);else{if(_0x171f8a[_0x5eeb3f(0x22a)]&&_0x12e648[_0x5eeb3f(0x109)]){const {commonTape:_0x4f052b,iEnd:_0x5ed161,jEnd:_0x2fddbc}=this[_0x5eeb3f(0x138)](_0x162785,_0x1726c8,_0x110d22,_0xba8fd2);_0x155fec=_0x155fec[_0x5eeb3f(0x20b)](_0x4f052b),_0x1726c8=_0x5ed161,_0xba8fd2=_0x2fddbc;}else _0x171f8a[_0x5eeb3f(0x22a)]?(_0xba8fd2++,_0x155fec[_0x5eeb3f(0x103)](_0x171f8a)):(_0x1726c8++,_0x155fec[_0x5eeb3f(0x103)](_0x12e648));}}return _0x155fec;}[_0xceb223(0x14d)](_0x5cf979,_0x4fdf6d){const _0x2fb059=_0xceb223,_0x1cb565=[];for(let _0x41ea14=0x0;_0x41ea14<_0x5cf979[_0x2fb059(0x10d)];_0x41ea14++){for(let _0x5f57b5=0x0;_0x5f57b5<_0x5cf979[_0x41ea14][_0x2fb059(0x10e)][_0x2fb059(0x10d)];_0x5f57b5++){const _0x5d5003=_0x5cf979[_0x41ea14][_0x2fb059(0x10e)][_0x5f57b5];if(!_0x4fdf6d[_0x2fb059(0x11a)](_0x5d5003))continue;const {group:_0x5bd435,type:_0x54ff72,authorId:_0x50accd}=_0x1ab6bc(_0x5d5003);_0x2fb059(0x191)!=_0x5bd435||_0x2fb059(0x120)!=_0x54ff72&&_0x2fb059(0x14f)!=_0x54ff72||(_0x1cb565[_0x2fb059(0x1ad)]({'type':_0x54ff72,'name':_0x5d5003,'userId':_0x50accd}),_0x5cf979[_0x41ea14][_0x2fb059(0x10e)][_0x2fb059(0x160)](_0x5f57b5,0x1),_0x5f57b5--);}_0x326943(_0x5cf979[_0x41ea14]);for(let _0x467794=0x0;_0x467794<_0x5cf979[_0x41ea14][_0x2fb059(0xf7)][_0x2fb059(0x10d)];_0x467794++){const _0x18a733=_0x5cf979[_0x41ea14][_0x2fb059(0xf7)][_0x467794];if(!_0x4fdf6d[_0x2fb059(0x11a)](_0x18a733))continue;const {group:_0x2a2ffa,type:_0x157100}=_0x1ab6bc(_0x18a733);if(_0x2fb059(0x191)!=_0x2a2ffa||_0x2fb059(0x120)!=_0x157100&&_0x2fb059(0x14f)!=_0x157100)continue;_0x5cf979[_0x41ea14][_0x2fb059(0xf7)][_0x2fb059(0x160)](_0x467794,0x1),_0x467794--;const _0x27c6df=_0x1cb565[_0x2fb059(0x17f)](_0x52c9ec=>_0x52c9ec[_0x2fb059(0x22d)]==_0x18a733);_0x27c6df>-0x1&&_0x1cb565[_0x2fb059(0x160)](_0x27c6df,0x1);}}function _0x1ab6bc(_0x13e712){const _0x568f16=_0x2fb059,_0x1d18fc=_0x13e712[_0x568f16(0x145)](':');return{'group':_0x1d18fc[0x0],'type':_0x1d18fc[0x1],'subType':_0x1d18fc[_0x568f16(0x10d)]>=0x5?_0x1d18fc[0x2]:null,'id':_0x1d18fc[_0x568f16(0x10d)]<0x5?_0x1d18fc[0x2]:_0x1d18fc[0x3],'authorId':_0x1d18fc[_0x568f16(0x10d)]<0x5?_0x1d18fc[0x3]:_0x1d18fc[0x4],'markerCount':0x6==_0x1d18fc[_0x568f16(0x10d)]?_0x1d18fc[0x5]:null};}function _0x326943(_0x22cbaf){const _0x4ff7e5=_0x2fb059;for(let _0x16c16a=0x0;_0x16c16a<_0x1cb565[_0x4ff7e5(0x10d)];_0x16c16a++){if(_0x22cbaf[_0x4ff7e5(0x109)]&&_0x4ff7e5(0x120)==_0x1cb565[_0x16c16a][_0x4ff7e5(0x1f7)])return _0x22cbaf[_0x4ff7e5(0x166)]=_0x1cb565[_0x16c16a],void delete _0x22cbaf[_0x4ff7e5(0x109)];if(!_0x22cbaf[_0x4ff7e5(0x109)]&&!_0x22cbaf[_0x4ff7e5(0x22a)]&&_0x4ff7e5(0x14f)==_0x1cb565[_0x16c16a][_0x4ff7e5(0x1f7)])return void(_0x22cbaf[_0x4ff7e5(0x17c)]=_0x1cb565[_0x16c16a]);}}}[_0xceb223(0x1ab)](_0x3267e4,_0x12c1dd){const _0x45f9ec=_0xceb223;let _0x5745c9=0x0,_0x4d3dbb=!0x1;const _0x3f0428=new Map();for(const _0x3ed624 of _0x3267e4)_0x3ed624[_0x12c1dd]?_0x4d3dbb&&(_0x5745c9++,_0x4d3dbb=!0x1):(_0x5745c9++,_0x4d3dbb=!0x0),_0x3f0428[_0x45f9ec(0x23a)](_0x3ed624['id'],_0x5745c9);for(let _0x413a7a=0x0;_0x413a7a<_0x3267e4[_0x45f9ec(0x10d)];_0x413a7a++){if(_0x45f9ec(0x22a)==_0x12c1dd&&_0x3267e4[_0x413a7a][_0x45f9ec(0x109)]||_0x45f9ec(0x109)==_0x12c1dd&&_0x3267e4[_0x413a7a][_0x45f9ec(0x22a)])continue;if(_0x45f9ec(0x15c)==_0x3267e4[_0x413a7a][_0x45f9ec(0x1f7)]){_0x3267e4[_0x413a7a][_0x45f9ec(0x215)]=0x0;continue;}const _0x20bf56=_0x3f0428[_0x45f9ec(0x186)](_0x3267e4[_0x413a7a][_0x45f9ec(0x17b)]),_0x4cc615=_0x3f0428[_0x45f9ec(0x186)](_0x3267e4[_0x413a7a]['id']);_0x3267e4[_0x413a7a][_0x45f9ec(0x215)]=_0x20bf56-_0x4cc615;}}[_0xceb223(0x16c)](_0x56eed2,_0x52e4c9,_0x803aa9=!0x1){const _0x27217f=_0xceb223,_0x142964=[];let _0x44730a=this[_0x27217f(0x1b1)][_0x27217f(0x19a)](_0x56eed2),_0x3932c3=this[_0x27217f(0x1b1)][_0x27217f(0x19a)](_0x52e4c9);for(-0x1==_0x3932c3&&(_0x3932c3=this[_0x27217f(0x1b1)][_0x27217f(0x16b)][_0x27217f(0x10d)],_0x803aa9=!0x1);_0x44730a<_0x3932c3;)_0x142964[_0x27217f(0x103)](this[_0x27217f(0x1b1)][_0x27217f(0x158)](_0x44730a)),_0x44730a++;return _0x803aa9&&_0x142964[_0x27217f(0x103)](this[_0x27217f(0x1b1)][_0x27217f(0x158)](_0x44730a)),_0x142964;}[_0xceb223(0x138)](_0x51b5fa,_0x58d1eb,_0x3b64bd,_0x2c379a){const _0x1a0312=_0xceb223,_0x388d8e=this[_0x1a0312(0xfd)][_0x1a0312(0x1e1)][_0x1a0312(0x10a)];let _0x122de4=_0x58d1eb;for(;_0x51b5fa[_0x122de4]&&_0x51b5fa[_0x122de4][_0x1a0312(0x109)];)_0x122de4++;let _0xdc7fe8=_0x2c379a;for(;_0x3b64bd[_0xdc7fe8]&&_0x3b64bd[_0xdc7fe8][_0x1a0312(0x22a)];)_0xdc7fe8++;_0x275940(_0x51b5fa,_0x58d1eb,_0x122de4),_0x275940(_0x3b64bd,_0x2c379a,_0xdc7fe8);const _0x1e15b9=_0x3b64bd[_0x1a0312(0x213)](_0x2c379a,_0xdc7fe8)[_0x1a0312(0x20b)](_0x51b5fa[_0x1a0312(0x213)](_0x58d1eb,_0x122de4));return _0x1e15b9[_0x1a0312(0x1ce)]((_0x1913b2,_0x2b5e01)=>_0x1913b2[_0x1a0312(0x1f5)]!=_0x2b5e01[_0x1a0312(0x1f5)]?_0x1913b2[_0x1a0312(0x1f5)]-_0x2b5e01[_0x1a0312(0x1f5)]:_0x1913b2[_0x1a0312(0x20d)]!=_0x2b5e01[_0x1a0312(0x20d)]?_0x1913b2[_0x1a0312(0x20d)]-_0x2b5e01[_0x1a0312(0x20d)]:_0x1913b2[_0x1a0312(0x215)]!=_0x2b5e01[_0x1a0312(0x215)]?_0x2b5e01[_0x1a0312(0x215)]-_0x1913b2[_0x1a0312(0x215)]:!!_0x1913b2[_0x1a0312(0x109)]!=!!_0x2b5e01[_0x1a0312(0x109)]?-0x1==_0x1913b2[_0x1a0312(0x1f5)]||0x0==_0x1913b2[_0x1a0312(0x1f5)]?_0x1913b2[_0x1a0312(0x109)]?-0x1:0x1:_0x1913b2[_0x1a0312(0x109)]?0x1:-0x1:_0x1913b2[_0x1a0312(0x153)]-_0x2b5e01[_0x1a0312(0x153)]),{'commonTape':_0x1e15b9,'iEnd':_0x122de4,'jEnd':_0xdc7fe8};function _0x275940(_0x5eb57d,_0x11135d,_0x3c989c){const _0x581d30=_0x1a0312;let _0x4b4855=-0x1,_0x2c78eb=Number[_0x581d30(0x14e)],_0x38de20=!0x0;for(let _0x14df09=_0x11135d;_0x14df09<_0x3c989c;_0x14df09++)if(_0x388d8e[_0x581d30(0x19c)](_0x5eb57d[_0x14df09][_0x581d30(0x1b3)])||(_0x38de20=!0x1),_0x5eb57d[_0x14df09][_0x581d30(0x1b3)][_0x581d30(0x19f)]<_0x11135d&&(_0x4b4855=_0x14df09),_0x5eb57d[_0x14df09][_0x581d30(0x1b3)][_0x581d30(0x239)]>=_0x3c989c){_0x2c78eb=_0x14df09;break;}_0x38de20&&(_0x4b4855=_0x3c989c-0x1);for(let _0x27c79f=_0x11135d;_0x27c79f<_0x3c989c;_0x27c79f++)_0x5eb57d[_0x27c79f][_0x581d30(0x1f5)]=_0x27c79f<=_0x4b4855?-0x1:_0x27c79f<_0x2c78eb?0x0:0x1,_0x5eb57d[_0x27c79f][_0x581d30(0x153)]=_0x27c79f;let _0x35d97c=0x0;for(let _0x26c3ba=_0x11135d;_0x26c3ba<=_0x4b4855;_0x26c3ba++)0x0==_0x5eb57d[_0x26c3ba][_0x581d30(0x215)]?_0x5eb57d[_0x26c3ba][_0x581d30(0x20d)]=_0x35d97c:(_0x35d97c++,_0x5eb57d[_0x26c3ba][_0x581d30(0x20d)]=_0x35d97c,_0x35d97c++);for(let _0x46b3a0=_0x11135d;_0x46b3a0<_0x3c989c;_0x46b3a0++)0x0==_0x5eb57d[_0x46b3a0][_0x581d30(0x1f5)]&&(_0x5eb57d[_0x46b3a0][_0x581d30(0x20d)]=_0x35d97c);_0x35d97c=0x0;for(let _0x56ca00=_0x3c989c-0x1;_0x56ca00>=_0x2c78eb;_0x56ca00--)0x0==_0x5eb57d[_0x56ca00][_0x581d30(0x215)]?_0x5eb57d[_0x56ca00][_0x581d30(0x20d)]=_0x35d97c:(_0x35d97c--,_0x5eb57d[_0x56ca00][_0x581d30(0x20d)]=_0x35d97c,_0x35d97c--);}}[_0xceb223(0x180)](_0x144b16){const _0x3fc2bf=_0xceb223,_0x104a58=new Map(),_0x55969c=this[_0x3fc2bf(0xfd)][_0x3fc2bf(0x1e1)][_0x3fc2bf(0x10a)];for(let _0x4df3d8=0x1;_0x4df3d8<_0x144b16[_0x3fc2bf(0x10d)];_0x4df3d8++){let _0x303236,_0x5c96d4,_0x32397c;const _0x12d107=_0x144b16[_0x4df3d8],_0x200477=_0x144b16[_0x4df3d8-0x1];if(_0x3fc2bf(0x15c)==_0x12d107[_0x3fc2bf(0x1f7)])continue;if(_0x12d107[_0x3fc2bf(0x1f7)]!=_0x200477[_0x3fc2bf(0x1f7)])continue;if(!_0x55969c[_0x3fc2bf(0x100)](_0x200477[_0x3fc2bf(0x1b3)])||_0x55969c[_0x3fc2bf(0x216)](_0x200477[_0x3fc2bf(0x1b3)]))continue;if(!_0x55969c[_0x3fc2bf(0x100)](_0x12d107[_0x3fc2bf(0x1b3)])||_0x55969c[_0x3fc2bf(0x216)](_0x12d107[_0x3fc2bf(0x1b3)]))continue;if((_0x144b16[_0x4df3d8][_0x3fc2bf(0x109)]||_0x144b16[_0x4df3d8][_0x3fc2bf(0x166)])&&_0x144b16[_0x4df3d8-0x1][_0x3fc2bf(0x22a)])_0x303236=_0x144b16[_0x4df3d8],_0x5c96d4=_0x144b16[_0x4df3d8-0x1],_0x32397c=_0x4df3d8-0x1;else{if(!_0x144b16[_0x4df3d8][_0x3fc2bf(0x22a)]||!_0x144b16[_0x4df3d8-0x1][_0x3fc2bf(0x109)]&&!_0x144b16[_0x4df3d8-0x1][_0x3fc2bf(0x166)])continue;_0x303236=_0x144b16[_0x4df3d8-0x1],_0x5c96d4=_0x144b16[_0x4df3d8],_0x32397c=_0x4df3d8;}const _0x4362e6=_0x303236[_0x3fc2bf(0x20d)]==_0x5c96d4[_0x3fc2bf(0x20d)],_0x27e8de=Math[_0x3fc2bf(0x1bb)](_0x303236[_0x3fc2bf(0x20d)])<Math[_0x3fc2bf(0x1bb)](_0x5c96d4[_0x3fc2bf(0x20d)])&&0x0==_0x5c96d4[_0x3fc2bf(0x215)];(_0x4362e6||_0x27e8de)&&(_0x104a58[_0x3fc2bf(0x23a)](_0x5c96d4['id'],_0x303236['id']),_0x144b16[_0x3fc2bf(0x160)](_0x32397c,0x1),_0x4df3d8--,_0x303236[_0x3fc2bf(0x109)]=!0x1);}for(let _0x2d44f0=0x0;_0x2d44f0<_0x144b16[_0x3fc2bf(0x10d)];_0x2d44f0++)_0x104a58[_0x3fc2bf(0x11a)](_0x144b16[_0x2d44f0][_0x3fc2bf(0x17b)])&&(_0x144b16[_0x2d44f0][_0x3fc2bf(0x17b)]=_0x104a58[_0x3fc2bf(0x186)](_0x144b16[_0x2d44f0][_0x3fc2bf(0x17b)]));}[_0xceb223(0x14c)](_0x141cc3){const _0x19f254=_0xceb223,_0x5125cd=new Set(_0x141cc3[_0x19f254(0x185)](_0x34236b=>_0x34236b['id']));for(let _0x306790=0x0;_0x306790<_0x141cc3[_0x19f254(0x10d)];_0x306790++)_0x5125cd[_0x19f254(0x11a)](_0x141cc3[_0x306790][_0x19f254(0x17b)])||0x0==_0x141cc3[_0x306790][_0x19f254(0x215)]||(_0x141cc3[_0x306790][_0x19f254(0x1b2)]=!0x0);return _0x141cc3[_0x19f254(0x12b)](_0x407f82=>!_0x407f82[_0x19f254(0x1b2)]);}[_0xceb223(0x11f)](_0x6d66c4){const _0x1040a4=_0xceb223,_0x414609=new Set();for(let _0x44a1f0=0x0;_0x44a1f0<_0x6d66c4[_0x1040a4(0x10d)];_0x44a1f0++){if(_0x414609[_0x1040a4(0x11a)](_0x6d66c4[_0x44a1f0]['id'])&&_0x6d66c4[_0x44a1f0][_0x1040a4(0x22a)]&&(_0x6d66c4[_0x44a1f0][_0x1040a4(0x1b2)]=!0x0),_0x6d66c4[_0x44a1f0][_0x1040a4(0x1b2)])continue;if(0x0==_0x6d66c4[_0x44a1f0][_0x1040a4(0x215)])continue;if(_0x1040a4(0x121)!=_0x6d66c4[_0x44a1f0][_0x1040a4(0x1f7)])continue;if(null==_0x6d66c4[_0x44a1f0][_0x1040a4(0x17b)])continue;let _0xc70365=_0x44a1f0+0x1,_0x2fe5e3=0x0;for(;_0x6d66c4[_0xc70365]['id']!=_0x6d66c4[_0x44a1f0][_0x1040a4(0x17b)];)_0x1040a4(0x121)==_0x6d66c4[_0xc70365][_0x1040a4(0x1f7)]?_0x2fe5e3++:_0x1040a4(0x174)==_0x6d66c4[_0xc70365][_0x1040a4(0x1f7)]&&_0x2fe5e3--,_0xc70365++;if(0x0!=_0x2fe5e3){if(_0x6d66c4[_0x44a1f0][_0x1040a4(0x22a)])_0x6d66c4[_0x44a1f0][_0x1040a4(0x1b2)]=!0x0;else{for(;_0xc70365!=_0x44a1f0;)_0x6d66c4[_0xc70365][_0x1040a4(0x22a)]&&0x0!=_0x6d66c4[_0xc70365][_0x1040a4(0x215)]&&(_0x6d66c4[_0xc70365][_0x1040a4(0x1b2)]=!0x0,_0x414609[_0x1040a4(0x1d3)](_0x6d66c4[_0xc70365][_0x1040a4(0x17b)])),_0xc70365--;}}}return _0x6d66c4[_0x1040a4(0x12b)](_0x56a806=>!_0x56a806[_0x1040a4(0x1b2)]);}[_0xceb223(0x227)](_0x4f2571){const _0x278f07=_0xceb223,_0x227f38=this[_0x278f07(0xfd)][_0x278f07(0x1e1)][_0x278f07(0x10a)];for(let _0x880b15=0x0;_0x880b15<_0x4f2571[_0x278f07(0x10d)];_0x880b15++){if(!(_0x4f2571[_0x880b15][_0x278f07(0x109)]||_0x4f2571[_0x880b15][_0x278f07(0x166)]||_0x4f2571[_0x880b15][_0x278f07(0x22a)]||_0x4f2571[_0x880b15][_0x278f07(0x17c)]))continue;if(0x0==_0x4f2571[_0x880b15][_0x278f07(0x215)])continue;const _0x47220e=_0x4f2571[_0x880b15][_0x278f07(0x1b3)];_0x227f38[_0x278f07(0x100)](_0x47220e)||_0x227f38[_0x278f07(0x216)](_0x47220e)||(_0x4f2571[_0x880b15][_0x278f07(0x109)]&&delete _0x4f2571[_0x880b15][_0x278f07(0x109)],_0x4f2571[_0x880b15][_0x278f07(0x166)]&&delete _0x4f2571[_0x880b15][_0x278f07(0x166)],_0x4f2571[_0x880b15][_0x278f07(0x17c)]&&delete _0x4f2571[_0x880b15][_0x278f07(0x17c)],_0x4f2571[_0x880b15][_0x278f07(0x22a)]&&(_0x4f2571[_0x880b15][_0x278f07(0x1b2)]=!0x0));}return _0x4f2571[_0x278f07(0x12b)](_0x556ee8=>!_0x556ee8[_0x278f07(0x1b2)]);}[_0xceb223(0x15e)](_0x2767bc,_0x3eff0f,_0xb46054){const _0x8831b4=_0xceb223,_0x253063=new _0x44498c(),_0x81e78=[],_0x1fbde2=new Map(),_0x3cf84d=this[_0x8831b4(0xfd)][_0x8831b4(0x1e1)],_0x4d9bc6=_0x3cf84d[_0x8831b4(0x10a)],_0x41c35c=[_0x253063],_0x124c85={},_0x468c9f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x595f14=null;const _0x1216d9=[0x0];for(let _0x138b6a=0x0;_0x138b6a<_0x2767bc[_0x8831b4(0x10d)];_0x138b6a++){let _0x1f55e6,_0x28639e;if(_0x8831b4(0x121)===_0x2767bc[_0x138b6a][_0x8831b4(0x1f7)]){_0x1f55e6=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9);const _0x587c4d=new _0x451d80(_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x22d)],_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x127)]());_0x41c35c[0x0][_0x8831b4(0x15f)](_0x587c4d),_0x1216d9[_0x8831b4(0x103)](0x0),_0x41c35c[_0x8831b4(0x1ad)](_0x587c4d),_0x28639e=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x595f14=null;}else{if(_0x8831b4(0x174)===_0x2767bc[_0x138b6a][_0x8831b4(0x1f7)])_0x41c35c[_0x8831b4(0x1a9)](),_0x1f55e6=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x1216d9[_0x8831b4(0x182)](),_0x1216d9[_0x1216d9[_0x8831b4(0x10d)]-0x1]++,_0x28639e=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x595f14=null;else{if(_0x1f55e6=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x595f14&&_0x3136ed(_0x595f14,_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)]))_0x595f14[_0x8831b4(0x225)]+=_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x1f0)];else{const _0x571b45=new _0x282e41(_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x1f0)],_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x127)]());_0x41c35c[0x0][_0x8831b4(0x15f)](_0x571b45),_0x595f14=_0x571b45;}_0x1216d9[_0x1216d9[_0x8831b4(0x10d)]-0x1]+=_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x136)],_0x28639e=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9);}}for(const _0x1b6c76 of _0x2767bc[_0x138b6a][_0x8831b4(0x10e)])_0x1fbde2[_0x8831b4(0x23a)](_0x1b6c76,{'start':_0x1f55e6,'end':null});_0x48b12d(_0x8831b4(0x17c),_0x138b6a,_0x1f55e6,_0x28639e),_0x48b12d(_0x8831b4(0x166),_0x138b6a,_0x1f55e6,_0x28639e),_0x48b12d(_0x8831b4(0x22a),_0x138b6a,_0x1f55e6,_0x28639e),_0x48b12d(_0x8831b4(0x109),_0x138b6a,_0x1f55e6,_0x28639e);for(const _0x4f12a4 of _0x2767bc[_0x138b6a][_0x8831b4(0xf7)]){_0x1fbde2[_0x8831b4(0x186)](_0x4f12a4)[_0x8831b4(0x222)]=_0x28639e;}}for(const [_0x51e82b,_0x4ad00a]of _0x1fbde2){const _0x12286e=this[_0x8831b4(0xfd)][_0x8831b4(0x1e1)][_0x8831b4(0x137)](_0x4ad00a[_0x8831b4(0x113)],_0x4ad00a[_0x8831b4(0x222)]);_0x253063[_0x8831b4(0x18b)][_0x8831b4(0x23a)](_0x51e82b,_0x12286e);}return _0x81e78[_0x8831b4(0x1ce)]((_0x1d54cc,_0x5bd3fe)=>{const _0x462ffe=_0x8831b4,_0x16e52b=_0x253063[_0x462ffe(0x18b)][_0x462ffe(0x186)](_0x462ffe(0x117)+_0x1d54cc['id']),_0x437a62=_0x253063[_0x462ffe(0x18b)][_0x462ffe(0x186)](_0x462ffe(0x117)+_0x5bd3fe['id']);return _0x16e52b[_0x462ffe(0x113)][_0x462ffe(0x1c9)](_0x437a62[_0x462ffe(0x113)])?-0x1:_0x16e52b[_0x462ffe(0x113)][_0x462ffe(0x187)](_0x437a62[_0x462ffe(0x113)])?0x1:_0x16e52b[_0x462ffe(0x222)][_0x462ffe(0x1c9)](_0x437a62[_0x462ffe(0x222)])?-0x1:_0x16e52b[_0x462ffe(0x222)][_0x462ffe(0x187)](_0x437a62[_0x462ffe(0x222)])?0x1:_0x462ffe(0x1d3)===_0x1d54cc[_0x462ffe(0x1f7)]?-0x1:0x1;}),{'root':_0x253063,'changes':_0x81e78};function _0x48b12d(_0x4c8c2b,_0x431a19,_0x1a958d,_0x471f3f){const _0x4872f7=_0x8831b4,_0x28b22d=!!_0x2767bc[_0x431a19][_0x4c8c2b],_0x10063f=_0x28b22d?_0x2767bc[_0x431a19][_0x4c8c2b][_0x4872f7(0x1bc)]:null,_0x4175c7=_0x431a19===_0x2767bc[_0x4872f7(0x10d)]-0x1,_0x5e3270=_0x468c9f[_0x4c8c2b][0x0],_0x42819a=_0x4d9bc6[_0x4872f7(0x1ee)](_0x2767bc[_0x431a19][_0x4872f7(0x1b3)]);!_0x124c85[_0x4c8c2b]&&_0x28b22d?_0x124c85[_0x4c8c2b]={'start':_0x1a958d,'tapeItem':_0x2767bc[_0x431a19],'userId':_0x10063f,'type':_0x4c8c2b}:_0x124c85[_0x4c8c2b]&&!_0x28b22d?(_0x124c85[_0x4c8c2b][_0x4872f7(0x222)]=_0x1a958d,_0x51c9dd(_0x124c85[_0x4c8c2b]),_0x124c85[_0x4c8c2b]=null):_0x124c85[_0x4c8c2b]&&_0x28b22d&&_0x124c85[_0x4c8c2b][_0x4872f7(0x1bc)]!==_0x10063f&&(_0x124c85[_0x4c8c2b][_0x4872f7(0x222)]=_0x1a958d,_0x5e3270&&_0x5e3270[_0x4872f7(0x1bc)]===_0x124c85[_0x4c8c2b][_0x4872f7(0x1bc)]||_0x51c9dd(_0x124c85[_0x4c8c2b]),_0x124c85[_0x4c8c2b]={'start':_0x1a958d,'tapeItem':_0x2767bc[_0x431a19],'userId':_0x10063f,'type':_0x4c8c2b}),_0x124c85[_0x4c8c2b]&&_0x42819a&&(_0x4872f7(0x121)!==_0x2767bc[_0x431a19][_0x4872f7(0x1f7)]||_0x5e3270&&_0x5e3270[_0x4872f7(0x1bc)]===_0x10063f||_0x468c9f[_0x4c8c2b][_0x4872f7(0x1ad)]({'userId':_0x10063f,'object':_0x2767bc[_0x431a19][_0x4872f7(0x1b3)],'change':_0x124c85[_0x4c8c2b]}),_0x4872f7(0x174)===_0x2767bc[_0x431a19][_0x4872f7(0x1f7)]&&_0x5e3270&&_0x5e3270[_0x4872f7(0x107)]===_0x2767bc[_0x431a19][_0x4872f7(0x1b3)]&&(_0x468c9f[_0x4c8c2b][_0x4872f7(0x1a9)](),_0x124c85[_0x4c8c2b]=_0x5e3270[_0x4872f7(0x18e)])),_0x124c85[_0x4c8c2b]&&_0x4175c7&&(_0x124c85[_0x4c8c2b][_0x4872f7(0x222)]=_0x471f3f,_0x51c9dd(_0x124c85[_0x4c8c2b]),_0x124c85[_0x4c8c2b]=null);}function _0x51c9dd({start:_0x4fd8ea,end:_0x23f500,tapeItem:_0x3ca332,userId:_0x20ccbe,type:_0x57ee1a}){const _0x3715be=_0x8831b4,_0x431121=_0x3ca332[_0x3715be(0x1b3)],_0x36fac0=_0x3cf84d[_0x3715be(0x10a)][_0x3715be(0x100)](_0x431121)&&!_0x3cf84d[_0x3715be(0x10a)][_0x3715be(0x216)](_0x431121),_0x2ca256=_0x4fd8ea[_0x3715be(0x10c)]==_0x23f500[_0x3715be(0x177)]&&_0x23f500[_0x3715be(0xfe)];if(_0x36fac0&&_0x2ca256)return;const _0x37a872=_0x3cf84d[_0x3715be(0x137)](_0x4fd8ea,_0x23f500),_0x5df341=_0x3eff0f[_0x3715be(0x186)](_0x20ccbe),_0x2e44cc=new _0x2a3edc({'author':_0x5df341,'type':_0x3715be(0x109)==_0x57ee1a||_0x3715be(0x166)==_0x57ee1a?_0x3715be(0x1d3):_0x3715be(0x16a),'data':{'isSuggestion':_0x3715be(0x166)==_0x57ee1a||_0x3715be(0x17c)==_0x57ee1a},'createdAt':new Date(),'rootName':_0xb46054});_0x81e78[_0x3715be(0x103)](_0x2e44cc),_0x253063[_0x3715be(0x18b)][_0x3715be(0x23a)](_0x3715be(0x117)+_0x2e44cc['id'],_0x37a872);}function _0x3136ed(_0x5c4662,_0x28dd16){const _0x3acd5a=_0x8831b4,_0x1584a7=_0x5c4662[_0x3acd5a(0x127)](),_0x50d966=_0x28dd16[_0x3acd5a(0x127)]();for(const _0x19d338 of _0x1584a7){if(_0x19d338[0x1]!==_0x28dd16[_0x3acd5a(0x11e)](_0x19d338[0x0]))return!0x1;_0x50d966[_0x3acd5a(0x161)]();}return _0x50d966[_0x3acd5a(0x161)]()[_0x3acd5a(0x221)];}}[_0xceb223(0x1cc)](){const _0xbd02a4=_0xceb223;this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x17d)]({'view':_0xbd02a4(0x1d2)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0xfc))[_0xbd02a4(0x1b5)]({'model':_0xbd02a4(0x1d2),'view':_0x45b363=>{const _0xf18f89=_0xbd02a4,_0x41ea30=_0x45b363[_0xf18f89(0x200)][_0xf18f89(0x145)](':')[0x1],_0x4a7736=this[_0xf18f89(0x139)](_0x41ea30);if(!_0x4a7736)return null;const _0x2e0b34=_0xf18f89(0x1d3)==_0x4a7736[_0xf18f89(0x1f7)]?_0xf18f89(0x120):_0xf18f89(0x14f),_0x2d5905=[_0xf18f89(0x147),_0xf18f89(0x1a7)+_0x2e0b34];return _0x4a7736[_0xf18f89(0x1f0)][_0xf18f89(0x207)]&&_0x2d5905[_0xf18f89(0x103)](_0xf18f89(0x1a7)+_0x2e0b34+_0xf18f89(0x22f)),this[_0xf18f89(0x115)]==_0x4a7736&&_0x2d5905[_0xf18f89(0x103)](_0xf18f89(0x10f)),{'classes':_0x2d5905,'attributes':{'data-change-id':_0x41ea30}};}}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x1d3)](_0x575ae1=>{const _0x27caaa=_0xbd02a4;_0x575ae1['on'](_0x27caaa(0x229),(_0x224d9a,_0x2aabe7,_0x5b8de7)=>{const _0x448cf1=_0x27caaa,_0x2fd5ba=_0x2aabe7[_0x448cf1(0x1b6)][_0x448cf1(0xf9)](0x0);if(!_0x2fd5ba||!_0x2fd5ba['is'](_0x448cf1(0x23c),_0x448cf1(0x1e9)))return;if(!_0x5b8de7[_0x448cf1(0x18c)][_0x448cf1(0x13e)](_0x2fd5ba,{'attributes':[_0x448cf1(0x1ac),_0x448cf1(0x1af)]}))return;const _0x38b2b3=_0x2aabe7[_0x448cf1(0x1b0)][_0x448cf1(0x113)][_0x448cf1(0x10c)];_0x5b8de7[_0x448cf1(0x18d)][_0x448cf1(0x181)](_0x448cf1(0x1ac),_0x2fd5ba[_0x448cf1(0x11e)](_0x448cf1(0x1ac)),_0x38b2b3),_0x5b8de7[_0x448cf1(0x18d)][_0x448cf1(0x181)](_0x448cf1(0x1af),_0x2fd5ba[_0x448cf1(0x11e)](_0x448cf1(0x1af)),_0x38b2b3);},{'priority':_0x27caaa(0x1ef)});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x1d3)](_0x281b65=>{const _0x3a594c=_0xbd02a4;_0x281b65['on'](_0x3a594c(0x23c),(_0x37a1e5,_0xa352ca,_0x418040)=>{const _0x5515e8=_0x3a594c;if(!_0x418040[_0x5515e8(0x18c)][_0x5515e8(0x13e)](_0xa352ca[_0x5515e8(0x1b6)],{'attributes':[_0x5515e8(0x1ac),_0x5515e8(0x1af)]}))return;if(_0xa352ca[_0x5515e8(0x1b0)][_0x5515e8(0x1d0)])return;const _0x35d5aa=_0xa352ca[_0x5515e8(0x1b0)][_0x5515e8(0x113)][_0x5515e8(0x10c)];_0x35d5aa[_0x5515e8(0x23b)](_0x5515e8(0x1ac))||_0x35d5aa[_0x5515e8(0x23b)](_0x5515e8(0x11b))||(_0x418040[_0x5515e8(0x18d)][_0x5515e8(0x181)](_0x5515e8(0x1ac),_0xa352ca[_0x5515e8(0x1b6)][_0x5515e8(0x11e)](_0x5515e8(0x1ac)),_0x35d5aa),_0x418040[_0x5515e8(0x18d)][_0x5515e8(0x181)](_0x5515e8(0x1af),_0xa352ca[_0x5515e8(0x1b6)][_0x5515e8(0x11e)](_0x5515e8(0x1af)),_0x35d5aa));},{'priority':_0x3a594c(0x1ef)});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x199)]({'view':{'name':_0xbd02a4(0x1ca),'attributes':{'vid':!0x0}},'model':{'key':_0xbd02a4(0x11b),'value':_0x173359=>_0x173359[_0xbd02a4(0x11e)](_0xbd02a4(0x11b))}}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1e1)][_0xbd02a4(0x10a)]['on'](_0xbd02a4(0x159),(_0x13fedd,[,_0x22aba9])=>{const _0x4a5cd6=_0xbd02a4;[_0x4a5cd6(0x1ac),_0x4a5cd6(0x1af),_0x4a5cd6(0x11b)][_0x4a5cd6(0x1dd)](_0x22aba9)&&(_0x13fedd[_0x4a5cd6(0x125)]=!0x0,_0x13fedd[_0x4a5cd6(0x143)]());},{'priority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x128))[_0xbd02a4(0x1d3)](_0xfea504=>{const _0x595132=_0xbd02a4;_0xfea504['on'](_0x595132(0x1bf),(_0x345a7f,_0x258f23,_0x40f256)=>{const _0x23932b=_0x595132;if('\x20'!=_0x258f23[_0x23932b(0x1b3)][_0x23932b(0x1f0)]||_0x258f23[_0x23932b(0x1b3)][_0x23932b(0x177)][_0x23932b(0x141)]>0x1)return;if(!_0x40f256[_0x23932b(0x18c)][_0x23932b(0x13e)](_0x258f23[_0x23932b(0x1b3)],_0x345a7f[_0x23932b(0x22d)]))return;const _0x39d40b=_0x40f256[_0x23932b(0x18d)],_0x179f9e=_0x40f256[_0x23932b(0x104)][_0x23932b(0x23e)](_0x258f23[_0x23932b(0x13f)]);_0x39d40b[_0x23932b(0x20c)](_0x179f9e,_0x39d40b[_0x23932b(0x210)](_0x23932b(0x1ca)));});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x128))[_0xbd02a4(0x21c)]({'model':_0xbd02a4(0x1d2)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x1f2),function(_0x381bcf){const _0xfb9b74=_0xbd02a4,_0x3d6bbe=_0x381bcf[_0xfb9b74(0xf8)][_0xfb9b74(0x186)](_0xfb9b74(0x1a4));return(_0x2c788b,_0x194e77,_0x2fb08a)=>{const _0xfc6470=_0xfb9b74,_0x2c437c=_0x194e77[_0xfc6470(0x200)][_0xfc6470(0x145)](':')[0x1],_0x305ab6=_0x3d6bbe[_0xfc6470(0x139)](_0x2c437c);if(!_0x305ab6)return null;const _0x1e799f=_0xfc6470(0x1d3)==_0x305ab6[_0xfc6470(0x1f7)]?_0xfc6470(0x145):_0xfc6470(0x1b7);if(!_0x2fb08a[_0xfc6470(0x18c)][_0xfc6470(0x189)](_0x194e77[_0xfc6470(0x1fb)],_0x2c788b[_0xfc6470(0x22d)]))return;const _0x5532c6=_0x194e77[_0xfc6470(0x1fb)][_0xfc6470(0x206)](),_0x5719a7=_0x194e77[_0xfc6470(0x1fb)][_0xfc6470(0x113)],_0x17c474=_0x381bcf[_0xfc6470(0x1e1)][_0xfc6470(0x10a)];let _0x1ef2ca=null,_0x409999=null,_0x7d51=!0x1,_0x58edd8=!0x1;for(const _0x5937a3 of _0x5532c6){const _0x15c57e=_0x5937a3[_0xfc6470(0x1b3)];_0x7d51=_0x7d51||_0x17c474[_0xfc6470(0x226)](_0x15c57e);const _0x42a853=_0x2fb08a[_0xfc6470(0x104)][_0xfc6470(0x23f)](_0x15c57e);if(_0x42a853&&_0x42a853[_0xfc6470(0x20f)](_0xfc6470(0x1c2)))return;_0xfc6470(0x174)==_0x5937a3[_0xfc6470(0x1f7)]&&(_0x17c474[_0xfc6470(0x100)](_0x15c57e)&&!_0x17c474[_0xfc6470(0x216)](_0x15c57e)&&(_0x15c57e[_0xfc6470(0x105)]||_0x5719a7[_0xfc6470(0x230)]?_0x1ef2ca&&_0x1ef2ca[_0xfc6470(0x177)]==_0x15c57e||(_0x1ef2ca=_0x15c57e,_0x56f18a(_0x5937a3[_0xfc6470(0x163)]),_0x58edd8=!0x0):_0x409999=_0x409999||_0x5937a3[_0xfc6470(0x163)]));}function _0x56f18a(_0x2656e4){const _0x23125e=_0xfc6470,_0x2eb688=_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x168)](_0x23125e(0x1ca),{'class':_0x23125e(0x1a7)+_0x1e799f}),_0x34b440=_0x2fb08a[_0x23125e(0x104)][_0x23125e(0xfb)](_0x2656e4);_0x305ab6[_0x23125e(0x1f0)][_0x23125e(0x207)]&&_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x18f)](_0x23125e(0x1a7)+_0x1e799f+_0x23125e(0x22f),_0x2eb688),_0x3d6bbe[_0x23125e(0x115)]==_0x305ab6&&_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x18f)](_0x23125e(0x10f),_0x2eb688),_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x110)](_0x34b440,_0x2eb688),_0x2fb08a[_0x23125e(0x104)][_0x23125e(0x171)](_0x2eb688,_0x194e77[_0x23125e(0x200)]);}_0x7d51||_0x58edd8||!_0x409999||_0x56f18a(_0x409999);};}(this[_0xbd02a4(0xfd)]),{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x231),(_0xb951f3,_0x58b877,_0x2718c3)=>{const _0x336fe0=_0xbd02a4,_0x27030f=_0x2718c3[_0x336fe0(0x104)][_0x336fe0(0x217)](_0x58b877[_0x336fe0(0x200)]);if(_0x27030f){for(const _0x41710e of _0x27030f)(_0x41710e[_0x336fe0(0x1e5)](_0x336fe0(0x164))||_0x41710e[_0x336fe0(0x1e5)](_0x336fe0(0x1eb)))&&(_0x2718c3[_0x336fe0(0x104)][_0x336fe0(0x1aa)](_0x41710e,_0x58b877[_0x336fe0(0x200)]),_0x2718c3[_0x336fe0(0x18d)][_0x336fe0(0x16a)](_0x41710e));}},{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x1f2),(_0x392474,_0x32937a,_0x40f844)=>{const _0x51317b=_0xbd02a4,_0x185bc6=_0x32937a[_0x51317b(0x200)][_0x51317b(0x145)](':')[0x1],_0x183b24=this[_0x51317b(0x139)](_0x185bc6);if(!_0x183b24)return null;const _0x503817=_0x51317b(0x1d3)==_0x183b24[_0x51317b(0x1f7)]?_0x51317b(0x145):_0x51317b(0x1b7);if(_0x40f844[_0x51317b(0x18c)][_0x51317b(0x189)](_0x32937a[_0x51317b(0x1fb)],_0x392474[_0x51317b(0x22d)]))for(const _0x2279c0 of _0x32937a[_0x51317b(0x1fb)][_0x51317b(0x1f8)]()){if(!_0x2279c0['is'](_0x51317b(0x23c),_0x51317b(0x19d)))continue;const _0xb06ec6=_0x40f844[_0x51317b(0x18d)][_0x51317b(0x168)](_0x51317b(0x1ca),{'class':_0x51317b(0x1a7)+_0x503817}),_0x46683c=_0x40f844[_0x51317b(0x104)][_0x51317b(0xfb)](this[_0x51317b(0xfd)][_0x51317b(0x1e1)][_0x51317b(0x188)](_0x2279c0));_0x183b24[_0x51317b(0x1f0)][_0x51317b(0x207)]&&_0x40f844[_0x51317b(0x18d)][_0x51317b(0x18f)](_0x51317b(0x1a7)+_0x503817+_0x51317b(0x22f),_0xb06ec6),this[_0x51317b(0x115)]==_0x183b24&&_0x40f844[_0x51317b(0x18d)][_0x51317b(0x18f)](_0x51317b(0x10f),_0xb06ec6),_0x40f844[_0x51317b(0x18d)][_0x51317b(0x110)](_0x46683c,_0xb06ec6),_0x40f844[_0x51317b(0x104)][_0x51317b(0x171)](_0xb06ec6,_0x32937a[_0x51317b(0x200)]);}},{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1e1)][_0xbd02a4(0x190)]['on'](_0xbd02a4(0x18e),()=>{const _0x1b8b0a=_0xbd02a4;this[_0x1b8b0a(0xfd)][_0x1b8b0a(0x1c1)][_0x1b8b0a(0x126)][_0x1b8b0a(0x18e)](_0x5322e8=>{const _0x46e26b=_0x1b8b0a;for(const _0x2ba73e of this[_0x46e26b(0xfd)][_0x46e26b(0x1e1)][_0x46e26b(0x190)][_0x46e26b(0x14a)]()){const _0xb1021a=this[_0x46e26b(0xfd)][_0x46e26b(0x1e1)][_0x46e26b(0x190)][_0x46e26b(0x1ff)](_0x2ba73e),_0x4b2234=this[_0x46e26b(0xfd)][_0x46e26b(0x1c1)][_0x46e26b(0x126)][_0x46e26b(0x190)][_0x46e26b(0x1ff)](_0x2ba73e);if(_0x4b2234){const _0x57b860=_0xb1021a[_0x46e26b(0x11e)](_0x46e26b(0x1bd));if(_0x5322e8[_0x46e26b(0x234)](_0x46e26b(0x16d),_0x4b2234),_0x5322e8[_0x46e26b(0x1f9)](_0x46e26b(0x232),_0x4b2234),_0x5322e8[_0x46e26b(0x1f9)](_0x46e26b(0x1f1),_0x4b2234),_0x5322e8[_0x46e26b(0x1f9)](_0x46e26b(0x1d8),_0x4b2234),_0x57b860){const _0x173baa=this[_0x46e26b(0x139)](_0x57b860);if(!_0x173baa)return null;_0x5322e8[_0x46e26b(0x181)](_0x46e26b(0x16d),_0x57b860,_0x4b2234),_0x5322e8[_0x46e26b(0x18f)](_0x46e26b(0x112)+_0x173baa[_0x46e26b(0x1f7)],_0x4b2234),this[_0x46e26b(0x115)]==_0x173baa&&_0x5322e8[_0x46e26b(0x18f)](_0x46e26b(0x1d8),_0x4b2234);}}}});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x17d)]({'view':_0xbd02a4(0x13c),'model':_0xa98a85=>_0xbd02a4(0x167)+_0xa98a85,'converterPriority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x17d)]({'view':_0xbd02a4(0x208),'model':_0x3bcf32=>_0xbd02a4(0x15b)+_0x3bcf32,'converterPriority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x128))[_0xbd02a4(0x21c)]({'model':_0xbd02a4(0x191),'view':_0x2bd6fe=>({'name':_0xbd02a4(0x12a)+_0x2bd6fe,'group':_0xbd02a4(0x191)}),'converterPriority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0xfc))[_0xbd02a4(0x1b5)]({'model':_0xbd02a4(0x191),'view':_0x2ac05b=>{const _0xc3c8f6=_0xbd02a4,_0x4d6f02=_0x2ac05b[_0xc3c8f6(0x200)][_0xc3c8f6(0x145)](':')[0x1];return _0xc3c8f6(0x120)!=_0x4d6f02&&_0xc3c8f6(0x14f)!=_0x4d6f02?null:{'classes':[_0xc3c8f6(0x12c),_0xc3c8f6(0x202)+_0x4d6f02]};}}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x1b8),et(this[_0xbd02a4(0xfd)],_0xbd02a4(0x1b7)),{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x134),et(this[_0xbd02a4(0xfd)],_0xbd02a4(0x145)),{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x129),(_0x293cdd,_0x4a2f24,_0x54b956)=>{const _0x18e1e7=_0xbd02a4,_0x49e780=_0x54b956[_0x18e1e7(0x104)][_0x18e1e7(0x217)](_0x4a2f24[_0x18e1e7(0x200)]);if(_0x49e780){for(const _0x104591 of _0x49e780)_0x104591['is'](_0x18e1e7(0x123))&&(_0x54b956[_0x18e1e7(0x104)][_0x18e1e7(0x1aa)](_0x104591,_0x4a2f24[_0x18e1e7(0x200)]),_0x54b956[_0x18e1e7(0x18d)][_0x18e1e7(0x16a)](_0x104591));}},{'priority':_0xbd02a4(0x228)});}[_0xceb223(0x139)](_0x482bc7){const _0x448200=_0xceb223;return this[_0x448200(0x203)][_0x448200(0x186)](_0x482bc7);}[_0xceb223(0x1be)](_0x103c6d){const _0x17b652=_0xceb223;return this[_0x17b652(0x132)]&&this[_0x17b652(0x132)][_0x17b652(0x148)](),this[_0x17b652(0x132)]=new _0x1dcf4f(this[_0x17b652(0xfd)][_0x17b652(0x1b9)],_0x103c6d),this[_0x17b652(0x132)];}[_0xceb223(0x1e6)](){const _0x202720=_0xceb223;this[_0x202720(0xfd)][_0x202720(0x1e1)][_0x202720(0x190)][_0x202720(0x1c4)][_0x202720(0x17e)](_0x202720(0x1d2)),this['on'](_0x202720(0x1e4),(_0x4b592b,_0x45b6b3,_0x4ed053,_0x5658b2)=>{const _0x49e6e3=_0x202720;_0x5658b2&&this[_0x49e6e3(0x1d5)][_0x49e6e3(0x16a)](_0x5658b2),_0x4ed053&&(this[_0x49e6e3(0x1d5)][_0x49e6e3(0x1d3)]({'view':_0x4ed053,'stackId':_0x49e6e3(0x211),'position':{'target':()=>{const _0x39db7e=_0x49e6e3,_0x46ad4a=this[_0x39db7e(0xfd)][_0x39db7e(0x1c1)],_0x3a8b02=this[_0x39db7e(0x139)](_0x4ed053[_0x39db7e(0x144)]);let _0x15e8d9;if(_0x3a8b02[_0x39db7e(0x1f0)][_0x39db7e(0x16f)]){const _0x4736dc=_0x46ad4a[_0x39db7e(0x126)][_0x39db7e(0x1a2)](_0x3a8b02[_0x39db7e(0x238)]);_0x15e8d9=Array[_0x39db7e(0x1db)](_0x4736dc[_0x39db7e(0x116)]());}else{const _0x5b9197=this[_0x39db7e(0xfd)][_0x39db7e(0x1e1)][_0x39db7e(0x18b)][_0x39db7e(0x186)](_0x39db7e(0x117)+_0x4ed053[_0x39db7e(0x144)]);_0x15e8d9=Array[_0x39db7e(0x1db)](_0x46ad4a[_0x39db7e(0x104)][_0x39db7e(0x217)](_0x5b9197[_0x39db7e(0x22d)]))[_0x39db7e(0x185)](_0x60b11=>_0x46ad4a[_0x39db7e(0x126)][_0x39db7e(0x1e7)][_0x39db7e(0x198)](_0x60b11))[_0x39db7e(0x185)](_0x2de997=>Array[_0x39db7e(0x1db)](_0x2de997[_0x39db7e(0x116)]()))[_0x39db7e(0x119)]();}if(!this[_0x39db7e(0x1fd)])return _0x15e8d9[0x0];return _0x15e8d9[_0x39db7e(0x220)](_0x453959=>_0x453959[_0x39db7e(0x218)]-0x3<=this[_0x39db7e(0x1fd)]['y']&&_0x453959[_0x39db7e(0x1e2)]+0x3>=this[_0x39db7e(0x1fd)]['y']&&_0x453959[_0x39db7e(0x1ed)]-0x3<=this[_0x39db7e(0x1fd)]['x']&&_0x453959[_0x39db7e(0x1e0)]+0x3>=this[_0x39db7e(0x1fd)]['x'])||_0x15e8d9[0x0];}}}),this[_0x49e6e3(0x1d5)][_0x49e6e3(0x11d)](_0x49e6e3(0x211)));}),this['on'](_0x202720(0x1a8),(_0x3ae0a3,_0x1d6670,_0x59dcfd,_0x34fe0d)=>{const _0x443458=_0x202720;this[_0x443458(0x22e)]=_0x59dcfd?this[_0x443458(0x1be)](_0x59dcfd):null,this[_0x443458(0xfd)][_0x443458(0x1e1)][_0x443458(0x18e)](()=>{const _0x12887d=_0x443458,_0x2c905b=this[_0x12887d(0xfd)][_0x12887d(0x1c1)];_0x34fe0d&&(_0x34fe0d[_0x12887d(0x1f0)][_0x12887d(0x16f)]?_0x2c905b[_0x12887d(0x126)][_0x12887d(0x18e)](_0x4db125=>{const _0x284a73=_0x12887d;_0x4db125[_0x284a73(0x1f9)](_0x284a73(0x1d8),_0x2c905b[_0x284a73(0x126)][_0x284a73(0x190)][_0x284a73(0x1ff)](_0x34fe0d[_0x284a73(0x238)]));}):_0x2c905b[_0x12887d(0x21d)](_0x12887d(0x117)+_0x34fe0d['id'])),_0x59dcfd&&(_0x59dcfd[_0x12887d(0x1f0)][_0x12887d(0x16f)]?_0x2c905b[_0x12887d(0x126)][_0x12887d(0x18e)](_0x2d5c1d=>{const _0x419d27=_0x12887d;_0x2d5c1d[_0x419d27(0x18f)](_0x419d27(0x1d8),_0x2c905b[_0x419d27(0x126)][_0x419d27(0x190)][_0x419d27(0x1ff)](_0x59dcfd[_0x419d27(0x238)]));}):_0x2c905b[_0x12887d(0x21d)](_0x12887d(0x117)+_0x59dcfd['id']));});}),this[_0x202720(0x1c3)](this[_0x202720(0xfd)][_0x202720(0x1c1)][_0x202720(0x126)][_0x202720(0x190)],_0x202720(0x223),(_0x177af4,_0x31e35f)=>{const _0x43f117=_0x202720;if(this[_0x43f117(0x115)])return;const _0x46aa9f=this[_0x43f117(0x13b)](_0x31e35f[_0x43f117(0x142)]),_0x35676d=this[_0x43f117(0x203)][_0x43f117(0x186)](_0x46aa9f);_0x35676d?(this[_0x43f117(0x1fd)]={'x':_0x31e35f[_0x43f117(0x237)]['x'],'y':_0x31e35f[_0x43f117(0x237)]['y']},this[_0x43f117(0x22e)]=this[_0x43f117(0x1be)](_0x35676d)):(this[_0x43f117(0x1fd)]=null,this[_0x43f117(0x22e)]=null);}),this[_0x202720(0x1c3)](this[_0x202720(0xfd)][_0x202720(0x1c1)][_0x202720(0x126)][_0x202720(0x190)],_0x202720(0x233),(_0x206314,_0x2ff3f9)=>{const _0xdf3d29=_0x202720,_0x1dab50=this[_0xdf3d29(0x13b)](_0x2ff3f9[_0xdf3d29(0x142)]),_0x3f537e=this[_0xdf3d29(0x203)][_0xdf3d29(0x186)](_0x1dab50);_0x3f537e?(this[_0xdf3d29(0x1fd)]={'x':_0x2ff3f9[_0xdf3d29(0x237)]['x'],'y':_0x2ff3f9[_0xdf3d29(0x237)]['y']},_0x3f537e===this[_0xdf3d29(0x115)]?this[_0xdf3d29(0x1d5)][_0xdf3d29(0x1c5)]():this[_0xdf3d29(0x115)]=_0x3f537e):(this[_0xdf3d29(0x1fd)]=null,this[_0xdf3d29(0x115)]=null);});}[_0xceb223(0x13b)](_0x2aa4a4){const _0x16a5cb=_0xceb223;do{const _0x2e4d87=_0x2aa4a4[_0x16a5cb(0x11e)](_0x16a5cb(0x16d));if(_0x2e4d87)return _0x2e4d87;_0x2aa4a4=_0x2aa4a4[_0x16a5cb(0x177)];}while(_0x2aa4a4);return null;}[_0xceb223(0x17a)](){const _0x1e119a=_0xceb223;this[_0x1e119a(0xfd)][_0x1e119a(0x1e1)][_0x1e119a(0x18e)](_0x431f0e=>{const _0x53ad8a=_0x1e119a;for(const _0x236c8c of this[_0x53ad8a(0xfd)][_0x53ad8a(0x1e1)][_0x53ad8a(0x18b)])_0x431f0e[_0x53ad8a(0x172)](_0x236c8c);});}}function et(_0xc7e5ca,_0x2ff8e4){return(_0x29a16d,_0x21f319,_0x4b3b85)=>{const _0x10f443=_0x12a7;if(!_0x4b3b85[_0x10f443(0x18c)][_0x10f443(0x189)](_0x21f319[_0x10f443(0x1fb)],_0x29a16d[_0x10f443(0x22d)]))return;const _0x708d85=_0x21f319[_0x10f443(0x1fb)][_0x10f443(0x206)](),_0x156bf5=_0x21f319[_0x10f443(0x1fb)][_0x10f443(0x113)],_0x5a8551=_0xc7e5ca[_0x10f443(0x1e1)][_0x10f443(0x10a)];let _0x560c9c=null,_0x2d37ed=null,_0x5f5385=!0x1,_0xd550f9=!0x1;for(const _0x14a5c7 of _0x708d85){const _0x2951ef=_0x14a5c7[_0x10f443(0x1b3)];_0x5f5385=_0x5f5385||_0x5a8551[_0x10f443(0x226)](_0x2951ef);const _0x3e5860=_0x4b3b85[_0x10f443(0x104)][_0x10f443(0x23f)](_0x2951ef);if(_0x3e5860&&_0x3e5860[_0x10f443(0x20f)](_0x10f443(0x1c2)))return;_0x10f443(0x174)==_0x14a5c7[_0x10f443(0x1f7)]&&(_0x5a8551[_0x10f443(0x100)](_0x2951ef)&&!_0x5a8551[_0x10f443(0x216)](_0x2951ef)&&(_0x2951ef[_0x10f443(0x105)]||_0x156bf5[_0x10f443(0x230)]?_0x560c9c&&_0x560c9c[_0x10f443(0x177)]==_0x2951ef||(_0x560c9c=_0x2951ef,_0x523952(_0x14a5c7[_0x10f443(0x163)]),_0xd550f9=!0x0):_0x2d37ed=_0x2d37ed||_0x14a5c7[_0x10f443(0x163)]));}function _0x523952(_0x44b334){const _0x26d54f=_0x10f443,_0x2d8cf5=_0x4b3b85[_0x26d54f(0x104)][_0x26d54f(0xfb)](_0x44b334),_0x2c1f02=_0x4b3b85[_0x26d54f(0x18d)][_0x26d54f(0x168)](_0x26d54f(0x1ca),{'class':_0x26d54f(0x202)+_0x2ff8e4});_0x4b3b85[_0x26d54f(0x18d)][_0x26d54f(0x110)](_0x2d8cf5,_0x2c1f02),_0x4b3b85[_0x26d54f(0x104)][_0x26d54f(0x171)](_0x2c1f02,_0x21f319[_0x26d54f(0x200)]);}_0x5f5385||_0xd550f9||!_0x2d37ed||_0x523952(_0x2d37ed);};}export class RestoreRevisionCommand extends _0x3fef62{constructor(_0xf99b85){const _0x54f882=_0xceb223;super(_0xf99b85);const _0xc755f2=_0xf99b85[_0x54f882(0xf8)][_0x54f882(0x186)](d);this[_0x54f882(0x15d)]=!0x1,this[_0x54f882(0x1c3)](_0xc755f2,_0x54f882(0x240),()=>this[_0x54f882(0x135)]()),this[_0x54f882(0x1c3)](_0xc755f2,_0x54f882(0x22b),()=>this[_0x54f882(0x135)]());}[_0xceb223(0x133)](){const _0x5184f0=_0xceb223,_0xb27168=this[_0x5184f0(0xfd)],_0x3993fd=_0xb27168[_0x5184f0(0xf8)][_0x5184f0(0x186)](d),_0x1f8079=_0x3993fd[_0x5184f0(0x224)]?_0x3993fd[_0x5184f0(0x1c7)][_0x5184f0(0x20e)]:null;_0xb27168[_0x5184f0(0x173)][_0x5184f0(0x186)](_0x5184f0(0x22c))[_0x5184f0(0x1c8)](_0x1f8079);}[_0xceb223(0x135)](){const _0x143a1b=_0xceb223,{isReady:_0x9bafbd,isEnabled:_0x2411d9}=this[_0x143a1b(0xfd)][_0x143a1b(0xf8)][_0x143a1b(0x186)](d);this[_0x143a1b(0x19b)]=_0x9bafbd&&_0x2411d9;}}export class ShowChangeCommand extends _0x3fef62{constructor(_0x1b01aa,{direction:_0x33dab7}){const _0x160bf6=_0xceb223;super(_0x1b01aa);const _0x56c266=_0x1b01aa[_0x160bf6(0xf8)][_0x160bf6(0x186)](d);this[_0x160bf6(0x15d)]=!0x1,this[_0x160bf6(0x1f3)]=_0x160bf6(0x152)===_0x33dab7?0x1:-0x1,this[_0x160bf6(0x1c3)](_0x56c266,_0x160bf6(0x240),()=>this[_0x160bf6(0x135)]()),this[_0x160bf6(0x1c3)](_0x56c266,_0x160bf6(0x22b),()=>this[_0x160bf6(0x135)]()),this[_0x160bf6(0x1c3)](_0x56c266,_0x160bf6(0x1a8),()=>this[_0x160bf6(0x135)]());}[_0xceb223(0x133)](){const _0x13919e=_0xceb223,_0x5f2abe=this[_0x13919e(0xfd)],_0x24d3a6=_0x5f2abe[_0x13919e(0xf8)][_0x13919e(0x186)](d),{isNavigationMode:_0xf7be7f,currentChangeNumber:_0x3009d9}=_0x24d3a6;let _0x24a6a1;if(_0x24d3a6[_0x13919e(0x115)]=_0xf7be7f?_0x24d3a6[_0x13919e(0x1c7)][_0x13919e(0x241)][_0x13919e(0x186)](_0x3009d9+this[_0x13919e(0x1f3)]):_0x24d3a6[_0x13919e(0x1c7)][_0x13919e(0x241)][_0x13919e(0x1cd)],_0x24d3a6[_0x13919e(0x115)][_0x13919e(0x1f0)][_0x13919e(0x16f)])_0x24a6a1=_0x5f2abe[_0x13919e(0x1c1)][_0x13919e(0x126)][_0x13919e(0x1a2)](_0x24d3a6[_0x13919e(0x115)][_0x13919e(0x238)]);else{const _0x49d7eb=_0x5f2abe[_0x13919e(0x1e1)][_0x13919e(0x18b)][_0x13919e(0x186)](_0x13919e(0x117)+_0x24d3a6[_0x13919e(0x115)]['id']);_0x24a6a1=_0x4356e4(_0x5f2abe[_0x13919e(0x1c1)],_0x49d7eb);}_0x74a71f({'target':_0x24a6a1,'viewportOffset':0x28});}[_0xceb223(0x135)](){const _0x4d5e55=_0xceb223,{isNavigationMode:_0x490d1c,currentChangeNumber:_0x28dd41,numberOfChanges:_0x4d1958,isReady:_0x420022,isEnabled:_0xb258ec}=this[_0x4d5e55(0xfd)][_0x4d5e55(0xf8)][_0x4d5e55(0x186)](d);this[_0x4d5e55(0x19b)]=!!(_0xb258ec&&_0x420022&&_0x4d1958)&&(!_0x490d1c||(0x1===this[_0x4d5e55(0x1f3)]?_0x28dd41<_0x4d1958-0x1:_0x28dd41>0x0));}}
|
|
23
|
+
const _0x109569=_0x40ce;(function(_0x1095b7,_0x432edc){const _0x566f9a=_0x40ce,_0xc773de=_0x1095b7();while(!![]){try{const _0x4d9f60=parseInt(_0x566f9a(0x331))/0x1+-parseInt(_0x566f9a(0x27d))/0x2+-parseInt(_0x566f9a(0x286))/0x3+parseInt(_0x566f9a(0x2d5))/0x4+-parseInt(_0x566f9a(0x29d))/0x5+parseInt(_0x566f9a(0x2dc))/0x6*(parseInt(_0x566f9a(0x25d))/0x7)+parseInt(_0x566f9a(0x2ad))/0x8;if(_0x4d9f60===_0x432edc)break;else _0xc773de['push'](_0xc773de['shift']());}catch(_0x3afa90){_0xc773de['push'](_0xc773de['shift']());}}}(_0x1d03,0x24efb));import{Plugin as _0x2b962d,Command as _0x10b351}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x426ce7}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x303fac}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x465c75,Element as _0x445ae9,Text as _0x29d571,ViewDocumentFragment as _0x3bcd59,ViewText as _0x124e34,ViewElement as _0x11fcc1,ViewContainerElement as _0x189982,ViewAttributeElement as _0x5c0f8e,ViewEmptyElement as _0x3fbd2c,ViewRawElement as _0x441a1e,ViewUIElement as _0x571c0b}from'ckeditor5/src/engine.js';import{Users as _0x477794,getMarkerDomElement as _0x15c57a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x124a69 from'./ui/revisionviewer/changedetailsview.js';import _0x4f4b61 from'./revisionsrepository.js';import _0x3f526c from'./changeitem.js';import{default as _0x5deed4}from'./revisiondiff.js';function _0x1d03(){const _0x5c5c54=['test','getRoot','change:activeView','attachChange','values','_markInsertions','isLimit','revision-viewer','attributes','parent','revision:','destroy','change:activeChange','_setConversion','-new','add','mapViewToDom','markerName','217790trtWTY','end','removeClass','createAttributeElement','_threeWayMerge','start','_cleanMarkers','restoreRevisionCallback','adapter','451803ZRWHPT','downcastDispatcher','unbindElementFromMarkerName','revision-start','all','_removeRevisionMarkers','getRevisionData','set','item','ck-revision-history-root-add','numberOfChanges','WidgetToolbarRepository','endIndex','isSuggestion','change','stop','loadRevisionData','ck-revision-history-root-','conversion','nextSibling','markerToData','markerRange','remove','809240kCVyFm','dataDowncast','deletions','_data','_markMismatchedRemovedTags','span','_step','ck-suggestion-preview-marker','POSITIVE_INFINITY','previousPosition','compare','removeMarker:revision-suggestion','revision-suggestion:','right','mapper','startIndex','1935552WQGbLJ','vid','createUIElement','_processTape','insertion','hasAttribute','enqueueChange','roots','showStack','attributesAfter','slice','_getViewForChange','element:pre','first','index','isAtStart','has','unshift','plugins','parse','ck-suggestion-marker-','suggestion','changes','ck-suggestion-marker--active','vid_start','ck-suggestion-marker-split','useFillerType','bindElementToMarker','ck-revision-history-root-remove','init','updatePosition','_balloon','uiElement','editing','observeMarkers','resolve','affectsData','addRevisionData','revisionHistoryAttachChange','isAfter','260740xXXUIe','addMarker:revision-suggestion:insertion','isAtEnd','listenTo','shift','getCustomProperty','change:isEnabled','62058IgacMu','revisionHistoryLabel','findIndex','clear','forEach','catch','selection','revision-suggestion','activeChange','addRoot','_refreshStartEndIndex','ck-suggestion-marker-merge','sort','consumable','get','_removeMissingPairs','ck-revision-history-root--active','RevisionViewer','elementEnd','_appendChild','revision-end','model','getIndex','insertions','markers','left','showPreviousChange','editingDowncast','refresh','activeView','softBreak','document','_initInteractions','length','_makeModelFromViewString','addHighlight','change:numberOfChanges','type','_makeModelFromTape','upcast','low','config','newRevisionId','marked','getRootNames','domEvent','elementToAttribute','_getDiff','toViewPosition','data-change-id','markersEnd','flat','isBefore','getClientRects','abs','done','offsetSize','createRange','toModel','push','processor','_activeViewTarget','return','attribute:vid','side','commands','map','getAttribute','setAttribute','rootName','userId','isInline','markerNameToElements','removeMarker','indexOf','ck-editor__editable__overlay','includes','isAddSuggestion','changeId','getItems','_getRevisionsRange','merge','consume','from','reconvertMarker','110361vYkqwt','_removeUnsupportedChanges','_fixObsoleteTags','viewItem','mousedown','isOnRoot','isRemoveSuggestion','checkAttribute','collaboration.channelId','locale','wrap','keys','repository','_markSuggestions','dataToMarker','enableReadOnlyMode','isObject','getAttributes','nextPosition','requires','next','createRangeIn','splice','removeMarker:revision','range','object','pluginName','isEqual','toData','authors','maxOffset','getWalker','filter','_setDistance','for','isBlock','highest','isEnabled','insert','target','modelRange','change:isReady','deletion','restoreRevision','_revisions','split','top','text','schema','find','elementStart','isContent','nodeAfter','name','pairId','vid_end','toViewElement','addMarker:revision-suggestion:deletion','getChild','isAttached','_changeView','backward','high','_makeTape','domConverter','comment','delete','mouseover','ck-suggestion-preview-marker-','then','addClass','createRevision','isRemoved','getRevisionRootsAttributes','_findChangeIdFromDomTarget','oldRevisionId','revision-comment:','attributesBefore','_markMarkers','forward','isNavigationMode','revision','data-revision-','children','_update','view','isIncorrect','_getChangeFromId','markersStart','diff','bottom','detachRoot','concat','removeAttribute','element','_changeIdToChange','_cleanUp','isCollapsed','_getViewObj','editor','isReady','string','toViewRange','startsWith','RevisionsRepository','forceDisabled','_joinTapes','distance','default','hasClass','createPositionFromPath','isAdded','_setChanges','writer','addMarker:revision','ck-suggestion-marker','showNextChange','error','diffData','revisionHistory','bind','105VyyjIi','execute','pop','code','suggestion:','_sortAndFilterDiffChanges','getDomRoot','createPositionBefore','getRevision','markerToHighlight','addRevision','currentChangeNumber','level','data'];_0x1d03=function(){return _0x5c5c54;};return _0x1d03();}import'../theme/revisionviewer.css';import{cloneDeep as _0x18e893}from'lodash-es';const tt={'c':_0x189982,'a':_0x5c0f8e,'e':_0x3fbd2c,'r':_0x441a1e,'u':_0x571c0b};export default class d extends _0x2b962d{static get[_0x109569(0x1fe)](){const _0x2dd521=_0x109569;return _0x2dd521(0x2ed);}static get[_0x109569(0x1f7)](){return[_0x477794,_0x303fac,_0x4f4b61];}constructor(_0x14cb73){const _0x29fc3b=_0x109569;super(_0x14cb73),this[_0x29fc3b(0x1f0)]=this[_0x29fc3b(0x247)][_0x29fc3b(0x2bf)][_0x29fc3b(0x2ea)](_0x29fc3b(0x24c)),this[_0x29fc3b(0x28d)](_0x29fc3b(0x2e4),null),this[_0x29fc3b(0x28d)](_0x29fc3b(0x2f9),null),this[_0x29fc3b(0x319)]=null,this[_0x29fc3b(0x28d)](_0x29fc3b(0x23d),null),this[_0x29fc3b(0x28d)](_0x29fc3b(0x248),!0x1),this[_0x29fc3b(0x28d)](_0x29fc3b(0x209),!0x0),this['on'](_0x29fc3b(0x2db),(_0x265e3c,_0xf2e62f,_0xad9021)=>{const _0x428cf1=_0x29fc3b;this[_0x428cf1(0x2e4)]=null,this[_0x428cf1(0x2f9)]=null,this[_0x428cf1(0x247)][_0x428cf1(0x2ce)][_0x428cf1(0x239)][_0x428cf1(0x294)](_0x36eb03=>{const _0x19b04c=_0x428cf1;for(const _0x41bcc3 of this[_0x19b04c(0x247)][_0x19b04c(0x2ce)][_0x19b04c(0x239)][_0x19b04c(0x2fb)][_0x19b04c(0x2b4)])_0xad9021?_0x36eb03[_0x19b04c(0x27f)](_0x19b04c(0x327),_0x41bcc3):_0x36eb03[_0x19b04c(0x22a)](_0x19b04c(0x327),_0x41bcc3);});}),this[_0x29fc3b(0x25c)](_0x29fc3b(0x234))['to'](this,_0x29fc3b(0x2e4),_0x7c91f7=>null!==_0x7c91f7),this[_0x29fc3b(0x25c)](_0x29fc3b(0x268))['to'](this,_0x29fc3b(0x248),this,_0x29fc3b(0x23d),this,_0x29fc3b(0x2e4),(_0x21b931,_0x17959f,_0x3e2553)=>_0x21b931&&_0x3e2553?_0x17959f[_0x29fc3b(0x2c3)][_0x29fc3b(0x2f2)](_0x3e2553):0x0),this[_0x29fc3b(0x25c)](_0x29fc3b(0x290))['to'](this,_0x29fc3b(0x248),this,_0x29fc3b(0x23d),(_0x5a9c1a,_0x37ccf1)=>_0x5a9c1a?_0x37ccf1[_0x29fc3b(0x2c3)][_0x29fc3b(0x2fd)]:0x0),this[_0x29fc3b(0x220)]=null,this[_0x29fc3b(0x243)]=new Map(),this[_0x29fc3b(0x285)]=null,this[_0x29fc3b(0x2cc)]=this[_0x29fc3b(0x247)][_0x29fc3b(0x2bf)][_0x29fc3b(0x2ea)](_0x303fac);}[_0x109569(0x2ca)](){const _0x4fee9e=_0x109569,_0x26304c=this[_0x4fee9e(0x247)],_0x38d1e9=new ShowChangeCommand(_0x26304c,{'direction':_0x4fee9e(0x221)}),_0x2a002f=new ShowChangeCommand(_0x26304c,{'direction':_0x4fee9e(0x233)});(_0x26304c[_0x4fee9e(0x31d)][_0x4fee9e(0x27a)](_0x4fee9e(0x2f6),_0x38d1e9),_0x26304c[_0x4fee9e(0x31d)][_0x4fee9e(0x27a)](_0x4fee9e(0x258),_0x2a002f),_0x26304c[_0x4fee9e(0x31d)][_0x4fee9e(0x27a)](_0x4fee9e(0x20f),new RestoreRevisionCommand(_0x26304c)),this['on'](_0x4fee9e(0x300),()=>{const _0x2c918e=_0x4fee9e;_0x38d1e9[_0x2c918e(0x2f8)](),_0x2a002f[_0x2c918e(0x2f8)]();}),this[_0x4fee9e(0x278)](),this[_0x4fee9e(0x2fc)](),_0x26304c[_0x4fee9e(0x1f3)](_0x4fee9e(0x272)),_0x26304c[_0x4fee9e(0x2bf)][_0x4fee9e(0x2bd)](_0x4fee9e(0x291)))&&_0x26304c[_0x4fee9e(0x2bf)][_0x4fee9e(0x2ea)](_0x4fee9e(0x291))[_0x4fee9e(0x24d)](_0x4fee9e(0x272));}async[_0x109569(0x28c)](_0x28e706){const _0x25b00d=_0x109569;await this[_0x25b00d(0x296)](_0x28e706);const _0x2b8907={};for(const _0x4071d8 in _0x28e706[_0x25b00d(0x25a)]){if(_0x28e706[_0x25b00d(0x25a)][_0x4071d8][_0x25b00d(0x26e)]&&!_0x28e706[_0x25b00d(0x25a)][_0x4071d8][_0x25b00d(0x26e)][_0x25b00d(0x21f)])continue;const _0x57ef18=this[_0x25b00d(0x28b)](JSON[_0x25b00d(0x2c0)](_0x28e706[_0x25b00d(0x25a)][_0x4071d8][_0x25b00d(0x2f3)])),_0x243f82=this[_0x25b00d(0x247)][_0x25b00d(0x2ce)][_0x25b00d(0x239)][_0x25b00d(0x2fb)],_0x381064=new _0x3bcd59(_0x243f82,_0x57ef18[_0x25b00d(0x31e)](_0x9e085a=>this[_0x25b00d(0x246)](_0x9e085a)));this[_0x25b00d(0x247)][_0x25b00d(0x26a)][_0x25b00d(0x318)][_0x25b00d(0x2c7)](_0x25b00d(0x307)),_0x2b8907[_0x4071d8]=this[_0x25b00d(0x247)][_0x25b00d(0x26a)][_0x25b00d(0x318)][_0x25b00d(0x200)](_0x381064),this[_0x25b00d(0x247)][_0x25b00d(0x26a)][_0x25b00d(0x318)][_0x25b00d(0x2c7)](_0x25b00d(0x250));}return _0x2b8907;}async[_0x109569(0x22d)](_0x37ca1f){const _0x4fce3c=_0x109569;await this[_0x4fce3c(0x296)](_0x37ca1f);const _0x50dd67={};for(const _0x2ad7b7 in _0x37ca1f[_0x4fce3c(0x25a)])_0x37ca1f[_0x4fce3c(0x25a)][_0x2ad7b7][_0x4fce3c(0x26e)]&&!_0x37ca1f[_0x4fce3c(0x25a)][_0x2ad7b7][_0x4fce3c(0x26e)][_0x4fce3c(0x21f)]||(_0x50dd67[_0x2ad7b7]=_0x37ca1f[_0x4fce3c(0x25a)][_0x2ad7b7][_0x4fce3c(0x2b6)]||{});return _0x50dd67;}[_0x109569(0x28b)](_0x9a8ea9){const _0x559a77=_0x109569;return(_0x9a8ea9=_0x9a8ea9[_0x559a77(0x204)](_0x541691=>!_0x541691[_0x559a77(0x219)]||_0x559a77(0x289)!==_0x541691[_0x559a77(0x219)]&&_0x559a77(0x2f0)!==_0x541691[_0x559a77(0x219)]))[_0x559a77(0x2e0)](_0x48119d=>{const _0x24751=_0x559a77;_0x24751(0x249)!=typeof _0x48119d&&(_0x48119d[_0x24751(0x237)]=this[_0x24751(0x28b)](_0x48119d[_0x24751(0x237)]),_0x48119d[_0x24751(0x273)]=_0x48119d[_0x24751(0x273)][_0x24751(0x204)](_0x2acdb3=>!_0x2acdb3[0x0][_0x24751(0x24b)](_0x24751(0x236))));}),_0x9a8ea9;}async[_0x109569(0x2a7)](_0x52bc22,_0xb9897d,_0x45ee57=!0x1){const _0x69f560=_0x109569;if(!this[_0x69f560(0x209)])return;const _0x1346ba=this[_0x69f560(0x23d)],_0x44eaa3=this[_0x69f560(0x1f0)],_0x2b60bd=_0x69f560(0x249)==typeof _0x52bc22?_0x44eaa3[_0x69f560(0x265)](_0x52bc22):_0x52bc22,_0x13d8ad=_0x69f560(0x249)==typeof _0xb9897d?_0x44eaa3[_0x69f560(0x265)](_0xb9897d):_0xb9897d,_0x3a42d8=_0x2b60bd['id'],_0x61f840=_0x13d8ad?_0x13d8ad['id']:null;if(!_0x45ee57&&this[_0x69f560(0x23d)]&&this[_0x69f560(0x23d)][_0x69f560(0x306)]===_0x3a42d8&&this[_0x69f560(0x23d)][_0x69f560(0x22f)]===_0x61f840)return Promise[_0x69f560(0x2d0)]();this[_0x69f560(0x248)]=!0x1,this[_0x69f560(0x2f9)]=null,this[_0x69f560(0x2e4)]=null,this[_0x69f560(0x23d)]=new _0x5deed4(_0x3a42d8,_0x61f840);const _0x52d907=this[_0x69f560(0x32c)](_0x2b60bd,_0x13d8ad,!0x0)[_0x69f560(0x31e)](_0x7887a0=>this[_0x69f560(0x296)](_0x7887a0));return _0x52d907[_0x69f560(0x317)](new Promise(_0x4f5625=>{setTimeout(_0x4f5625,0x14);})),Promise[_0x69f560(0x28a)](_0x52d907)[_0x69f560(0x229)](()=>{const _0x577b9b=_0x69f560;if(!this[_0x577b9b(0x209)])return;this[_0x577b9b(0x244)]();const _0xe122b7=this[_0x577b9b(0x30b)](_0x3a42d8,_0x61f840);for(const _0x538de2 of _0xe122b7[_0x577b9b(0x2c3)])this[_0x577b9b(0x243)][_0x577b9b(0x28d)](_0x538de2['id'],_0x538de2);this[_0x577b9b(0x247)][_0x577b9b(0x2f1)][_0x577b9b(0x2b3)]({'isUndoable':!0x1},_0x2fd2d4=>{const _0xcccdff=_0x577b9b;for(const _0x42a6cf of this[_0xcccdff(0x247)][_0xcccdff(0x2f1)][_0xcccdff(0x2fb)][_0xcccdff(0x308)]())_0x2fd2d4[_0xcccdff(0x23f)](_0x42a6cf);for(const _0x8e87b5 of Object[_0xcccdff(0x1ef)](_0xe122b7[_0xcccdff(0x2f1)])){const _0x49379d=_0x2fd2d4[_0xcccdff(0x2e5)](_0x8e87b5);for(const _0x16995c of Object[_0xcccdff(0x1ef)](_0xe122b7[_0xcccdff(0x273)][_0x8e87b5]))_0x2fd2d4[_0xcccdff(0x320)](_0x16995c,_0xe122b7[_0xcccdff(0x273)][_0x8e87b5][_0x16995c],_0x49379d);_0x2fd2d4[_0xcccdff(0x20a)](_0xe122b7[_0xcccdff(0x2f1)][_0x8e87b5],_0x49379d,0x0);}}),this[_0x577b9b(0x23d)][_0x577b9b(0x254)](this[_0x577b9b(0x262)](_0xe122b7[_0x577b9b(0x2c3)])),this[_0x577b9b(0x248)]=!0x0;})[_0x69f560(0x2e1)](_0x49f0d5=>{const _0x4ea1f9=_0x69f560;console[_0x4ea1f9(0x259)](_0x49f0d5),this[_0x4ea1f9(0x244)](),_0x1346ba&&(this[_0x4ea1f9(0x23d)]=_0x1346ba),this[_0x4ea1f9(0x248)]=!0x0;});}[_0x109569(0x2d2)](_0x27d7f1,_0x1a8203){const _0x52b565=_0x109569,_0x4829c0=this[_0x52b565(0x1f0)][_0x52b565(0x22b)](_0x27d7f1);return _0x4829c0['on'](_0x52b565(0x238),(_0x3ab62f,_0x5242b4,_0x6cc909)=>_0x1a8203(_0x5242b4,_0x6cc909,_0x4829c0)),this[_0x52b565(0x1f0)][_0x52b565(0x267)](_0x4829c0),_0x4829c0;}[_0x109569(0x296)](_0x427e0a){const _0x661380=_0x109569;if(!_0x427e0a||_0x427e0a[_0x661380(0x25a)])return Promise[_0x661380(0x2d0)]();{const _0x3fcee2=this[_0x661380(0x247)][_0x661380(0x305)][_0x661380(0x2ea)](_0x661380(0x1ec));return this[_0x661380(0x285)][_0x661380(0x265)]({'channelId':_0x3fcee2,'revisionId':_0x427e0a['id']})[_0x661380(0x229)](_0x1dd300=>{const _0x63e09c=_0x661380;_0x427e0a[_0x63e09c(0x238)]({'diffData':_0x1dd300[_0x63e09c(0x25a)]},!0x0);});}}[_0x109569(0x244)](){const _0x217259=_0x109569;this[_0x217259(0x2e4)]=null,this[_0x217259(0x283)](),this[_0x217259(0x220)]&&this[_0x217259(0x220)][_0x217259(0x276)](),this[_0x217259(0x220)]=null,this[_0x217259(0x243)][_0x217259(0x2df)](),this[_0x217259(0x247)][_0x217259(0x2f1)][_0x217259(0x2b3)]({'isUndoable':!0x1},_0x3a8b7e=>{const _0x45c590=_0x217259;for(const _0x37a843 of this[_0x45c590(0x247)][_0x45c590(0x2f1)][_0x45c590(0x2fb)][_0x45c590(0x308)]())_0x3a8b7e[_0x45c590(0x23f)](_0x37a843);});}[_0x109569(0x262)](_0x264998){const _0x180f80=_0x109569,_0x261e10=[],_0x5ea972=new Map();for(const _0x4a93d8 of this[_0x180f80(0x247)][_0x180f80(0x2f1)][_0x180f80(0x2fb)][_0x180f80(0x308)]()){const _0x2cfef3=this[_0x180f80(0x247)][_0x180f80(0x2ce)][_0x180f80(0x239)][_0x180f80(0x263)](_0x4a93d8);if(!_0x2cfef3)continue;const _0x2dce88=_0x2cfef3[_0x180f80(0x311)]()[_0x180f80(0x28e)](0x0);_0x2dce88&&(_0x261e10[_0x180f80(0x317)](_0x4a93d8),_0x5ea972[_0x180f80(0x28d)](_0x4a93d8,_0x2dce88));}return _0x261e10[_0x180f80(0x2e8)]((_0x4da95b,_0x4af845)=>{const _0x547c07=_0x180f80,_0x48d3d0=_0x5ea972[_0x547c07(0x2ea)](_0x4da95b),_0x5a008d=_0x5ea972[_0x547c07(0x2ea)](_0x4af845);return _0x48d3d0['y']-_0x5a008d['y']||_0x48d3d0['x']-_0x5a008d['x'];}),(_0x264998=_0x264998[_0x180f80(0x204)](_0x302aec=>_0x261e10[_0x180f80(0x328)](_0x302aec[_0x180f80(0x321)])))[_0x180f80(0x2e8)]((_0x26d83c,_0x1b49cf)=>_0x261e10[_0x180f80(0x326)](_0x26d83c[_0x180f80(0x321)])-_0x261e10[_0x180f80(0x326)](_0x1b49cf[_0x180f80(0x321)])),_0x264998;}[_0x109569(0x223)](_0x2b88eb){const _0x474350=_0x109569,_0x33cf9a=Array[_0x474350(0x32f)](_0x2b88eb[_0x474350(0x2f4)])[_0x474350(0x204)](([_0x1d4567,_0x3d453b])=>_0x1d4567[_0x474350(0x24b)](_0x474350(0x275))&&!_0x3d453b[_0x474350(0x245)]),_0x40b533=Array[_0x474350(0x32f)](this[_0x474350(0x247)][_0x474350(0x2f1)][_0x474350(0x1f9)](_0x2b88eb)[_0x474350(0x203)]({'singleCharacters':!0x0}));if(0x0!=_0x33cf9a[_0x474350(0x2fd)])for(const _0x4dc4bf of _0x40b533){const [_0x3f68ea,_0x481a77]=_0x33cf9a[0x0],[,_0x4400c8,_0x150960]=_0x3f68ea[_0x474350(0x211)](':');if(_0x481a77[_0x474350(0x27e)][_0x474350(0x1ff)](_0x4dc4bf[_0x474350(0x1f6)])&&_0x33cf9a[_0x474350(0x2d9)](),(_0x4dc4bf[_0x474350(0x2a6)][_0x474350(0x1ff)](_0x481a77[_0x474350(0x282)])||_0x4dc4bf[_0x474350(0x2a6)][_0x474350(0x2d4)](_0x481a77[_0x474350(0x282)]))&&(_0x474350(0x2b1)==_0x4400c8?_0x4dc4bf[_0x474350(0x253)]={'userId':_0x150960}:_0x474350(0x20e)==_0x4400c8&&(_0x4dc4bf[_0x474350(0x22c)]={'userId':_0x150960})),0x0==_0x33cf9a[_0x474350(0x2fd)])break;}return _0x40b533;}[_0x109569(0x2e6)](_0x2666b6){const _0x11f809=_0x109569,_0x44c810=new Map();for(let _0x230b37=0x0;_0x230b37<_0x2666b6[_0x11f809(0x2fd)];_0x230b37++)_0x11f809(0x213)===_0x2666b6[_0x230b37][_0x11f809(0x301)]?(_0x2666b6[_0x230b37][_0x11f809(0x28e)][_0x11f809(0x2ac)]=_0x230b37,_0x2666b6[_0x230b37][_0x11f809(0x28e)][_0x11f809(0x292)]=_0x230b37):(_0x11f809(0x216)===_0x2666b6[_0x230b37][_0x11f809(0x301)]?_0x2666b6[_0x230b37][_0x11f809(0x28e)][_0x11f809(0x2ac)]=_0x230b37:_0x11f809(0x2ee)===_0x2666b6[_0x230b37][_0x11f809(0x301)]&&(_0x2666b6[_0x230b37][_0x11f809(0x28e)][_0x11f809(0x292)]=_0x230b37),_0x44c810[_0x11f809(0x28d)](_0x2666b6[_0x230b37]['id'],_0x230b37));for(const _0x484046 of _0x44c810[_0x11f809(0x26f)]())_0x11f809(0x216)===_0x2666b6[_0x484046][_0x11f809(0x301)]?_0x2666b6[_0x484046][_0x11f809(0x28e)][_0x11f809(0x292)]=_0x44c810[_0x11f809(0x2ea)](_0x2666b6[_0x484046][_0x11f809(0x21a)]):_0x11f809(0x2ee)===_0x2666b6[_0x484046][_0x11f809(0x301)]&&(_0x2666b6[_0x484046][_0x11f809(0x28e)][_0x11f809(0x2ac)]=_0x44c810[_0x11f809(0x2ea)](_0x2666b6[_0x484046][_0x11f809(0x21a)]));}[_0x109569(0x2b0)](_0x149fff){const _0x444f95=_0x109569;for(let _0xa3ea4d=0x0;_0xa3ea4d<_0x149fff[_0x444f95(0x2fd)];_0xa3ea4d++){if(_0x444f95(0x216)===_0x149fff[_0xa3ea4d][_0x444f95(0x301)])_0x149fff[_0xa3ea4d][_0x444f95(0x28e)][_0x444f95(0x2ac)]=_0xa3ea4d;else{if(_0x444f95(0x2ee)===_0x149fff[_0xa3ea4d][_0x444f95(0x301)]){_0x149fff[_0xa3ea4d][_0x444f95(0x28e)][_0x444f95(0x292)]=_0xa3ea4d;const _0x26ce6d=_0x149fff[_0xa3ea4d][_0x444f95(0x28e)][_0x444f95(0x2ac)];_0x149fff[_0x26ce6d][_0x444f95(0x21a)]=_0x149fff[_0xa3ea4d]['id'],_0x149fff[_0xa3ea4d][_0x444f95(0x21a)]=_0x149fff[_0x26ce6d]['id'];}else _0x149fff[_0xa3ea4d][_0x444f95(0x28e)][_0x444f95(0x2ac)]=_0xa3ea4d,_0x149fff[_0xa3ea4d][_0x444f95(0x28e)][_0x444f95(0x292)]=_0xa3ea4d,_0x149fff[_0xa3ea4d][_0x444f95(0x21a)]=null;}_0x149fff[_0xa3ea4d][_0x444f95(0x23c)]||(_0x149fff[_0xa3ea4d][_0x444f95(0x23c)]=[],_0x149fff[_0xa3ea4d][_0x444f95(0x30e)]=[]);}}[_0x109569(0x270)](_0x5b2b7e,_0x3d0d13){const _0x34f442=_0x109569,_0x572e86=_0x5b2b7e[_0x34f442(0x204)](_0x34f050=>!_0x34f050[_0x34f442(0x253)]);for(let _0x59f36e=0x0;_0x59f36e<_0x3d0d13[_0x34f442(0x2fd)];_0x59f36e++)_0x3d0d13[_0x59f36e][_0x34f442(0x253)]&&(_0x572e86[_0x59f36e][_0x34f442(0x253)]=_0x3d0d13[_0x59f36e][_0x34f442(0x253)]);}[_0x109569(0x2fe)](_0x37755d){const _0x417346=_0x109569,_0x42274d=JSON[_0x417346(0x2c0)](_0x37755d),_0x1e1513=this[_0x417346(0x247)][_0x417346(0x2ce)][_0x417346(0x239)][_0x417346(0x2fb)],_0x5593f8=new _0x3bcd59(_0x1e1513,_0x42274d[_0x417346(0x31e)](_0x3d2bdc=>this[_0x417346(0x246)](_0x3d2bdc)));return this[_0x417346(0x247)][_0x417346(0x26a)][_0x417346(0x316)](_0x5593f8);}[_0x109569(0x246)](_0x11409e){const _0x53ecbd=_0x109569,_0x5a00a0=this[_0x53ecbd(0x247)][_0x53ecbd(0x2ce)][_0x53ecbd(0x239)][_0x53ecbd(0x2fb)];if(_0x53ecbd(0x249)==typeof _0x11409e)return new _0x124e34(_0x5a00a0,_0x11409e);{const _0x111942=_0x11409e[_0x53ecbd(0x237)][_0x53ecbd(0x31e)](_0x325890=>this[_0x53ecbd(0x246)](_0x325890));return new(tt[_0x11409e[(_0x53ecbd(0x301))]]||_0x11fcc1)(_0x5a00a0,_0x11409e[_0x53ecbd(0x219)],_0x11409e[_0x53ecbd(0x273)],_0x111942);}}[_0x109569(0x30b)](_0x2a3330,_0x4702e2=null){const _0x2637f0=_0x109569,_0x290f99=this[_0x2637f0(0x1f0)][_0x2637f0(0x265)](_0x2a3330),_0x1d0cb0=_0x4702e2?this[_0x2637f0(0x1f0)][_0x2637f0(0x265)](_0x4702e2):null,_0x3caa31=this[_0x2637f0(0x32c)](_0x290f99,_0x1d0cb0),_0x7531c7=_0x3caa31[_0x3caa31[_0x2637f0(0x2fd)]-0x1],_0x1640e1=new Map(),_0x1e5464={'model':{},'attributes':{},'changes':[]},_0x2aa200=new Set(),_0xcca66b=new Map();for(let _0x19b4b2=_0x3caa31[_0x2637f0(0x2fd)]-0x1;_0x19b4b2>=0x0;_0x19b4b2--){const _0x582bd4=_0x3caa31[_0x19b4b2];for(const _0x195dc2 of Object[_0x2637f0(0x1ef)](_0x582bd4[_0x2637f0(0x25a)]))if(_0x582bd4[_0x2637f0(0x25a)][_0x195dc2][_0x2637f0(0x26e)]){const _0x157bd7=_0x582bd4[_0x2637f0(0x25a)][_0x195dc2][_0x2637f0(0x26e)];_0x157bd7[_0x2637f0(0x21f)]?(_0x2aa200[_0x2637f0(0x27a)](_0x195dc2),_0xcca66b[_0x2637f0(0x2bd)](_0x195dc2)&&_0xcca66b[_0x2637f0(0x2ea)](_0x195dc2)[_0x2637f0(0x322)]==_0x157bd7[_0x2637f0(0x322)]?_0xcca66b[_0x2637f0(0x226)](_0x195dc2):_0xcca66b[_0x2637f0(0x28d)](_0x195dc2,_0x157bd7)):_0xcca66b[_0x2637f0(0x2bd)](_0x195dc2)?(_0x2aa200[_0x2637f0(0x226)](_0x195dc2),_0xcca66b[_0x2637f0(0x226)](_0x195dc2)):(_0x2aa200[_0x2637f0(0x27a)](_0x195dc2),_0xcca66b[_0x2637f0(0x28d)](_0x195dc2,_0x157bd7));}else _0x2aa200[_0x2637f0(0x27a)](_0x195dc2);}for(const _0x2599f3 of _0x2aa200){const _0x55e759=_0xcca66b[_0x2637f0(0x2bd)](_0x2599f3)&&!_0xcca66b[_0x2637f0(0x2ea)](_0x2599f3)[_0x2637f0(0x21f)];let _0x17204a=_0x55e759?_0x3caa31[_0x2637f0(0x2fd)]-0x1:0x0;const _0x454f97=_0x55e759?-0x1:0x1;for(;_0x3caa31[_0x17204a];){const _0x124674=_0x3caa31[_0x17204a];if(_0x124674[_0x2637f0(0x25a)][_0x2599f3]){const _0x24d492=_0x55e759?_0x124674[_0x2637f0(0x25a)][_0x2599f3][_0x2637f0(0x231)]:_0x124674[_0x2637f0(0x25a)][_0x2599f3][_0x2637f0(0x2b6)];_0x1e5464[_0x2637f0(0x273)][_0x2599f3]=_0x24d492?_0x18e893(_0x24d492):{};break;}_0x17204a+=_0x454f97;}}for(const _0x819423 of _0x3caa31){_0x819423[_0x2637f0(0x2f1)]={};for(const _0x1a7fab of _0x819423[_0x2637f0(0x201)])_0x1640e1[_0x2637f0(0x28d)](_0x1a7fab['id'],_0x1a7fab);for(const _0x441544 of _0x2aa200){const _0x433406=_0x819423[_0x2637f0(0x25a)][_0x441544]?_0x819423[_0x2637f0(0x25a)][_0x441544][_0x2637f0(0x2f3)]:'[]',_0x485b78=_0x819423[_0x2637f0(0x25a)][_0x441544]?_0x819423[_0x2637f0(0x25a)][_0x441544][_0x2637f0(0x29f)]:'[]';_0x819423[_0x2637f0(0x2f1)][_0x441544]={'insertions':this[_0x2637f0(0x2fe)](_0x433406),'deletions':this[_0x2637f0(0x2fe)](_0x485b78)};}}for(const _0x1e5d8f of _0x2aa200){let _0x53ffb4=null,_0x43d512=0x0;const _0x300f74=new Map(Array[_0x2637f0(0x32f)](_0x290f99[_0x2637f0(0x2f1)][_0x1e5d8f][_0x2637f0(0x2f3)][_0x2637f0(0x2f4)])[_0x2637f0(0x204)](([_0x42b433])=>!_0x42b433[_0x2637f0(0x24b)](_0x2637f0(0x275))));let _0x5bd257=0x0;for(const _0x126e0a of _0x3caa31){const _0x4a2f8e=this[_0x2637f0(0x223)](_0x126e0a[_0x2637f0(0x2f1)][_0x1e5d8f][_0x2637f0(0x2f3)]);_0x126e0a==_0x290f99?(_0x53ffb4=_0x4a2f8e,_0x43d512=_0x53ffb4[_0x2637f0(0x2fd)],_0x53ffb4[_0x2637f0(0x2e0)](_0xf666fb=>{_0xf666fb['id']=_0x5bd257++;}),this[_0x2637f0(0x2b0)](_0x53ffb4)):this[_0x2637f0(0x270)](_0x53ffb4,_0x4a2f8e);const _0x1f4fc3=_0x53ffb4[_0x2637f0(0x204)](_0x4029e5=>!_0x4029e5[_0x2637f0(0x253)])[_0x2637f0(0x31e)](_0xa730fe=>_0xa730fe['id']);let _0x51b29c=0x0;const _0x214edf=this[_0x2637f0(0x223)](_0x126e0a[_0x2637f0(0x2f1)][_0x1e5d8f][_0x2637f0(0x29f)]);_0x214edf[_0x2637f0(0x2e0)](_0x433c92=>{const _0xe0ad5c=_0x2637f0;_0x433c92[_0xe0ad5c(0x22c)]?_0x433c92['id']=_0x43d512++:_0x433c92['id']=_0x1f4fc3[_0x51b29c++];}),this[_0x2637f0(0x2b0)](_0x214edf),this[_0x2637f0(0x205)](_0x53ffb4,_0x2637f0(0x253)),this[_0x2637f0(0x205)](_0x214edf,_0x2637f0(0x22c)),_0x126e0a==_0x290f99&&this[_0x2637f0(0x232)](_0x53ffb4,_0x300f74),_0x53ffb4=this[_0x2637f0(0x24e)](_0x53ffb4,_0x214edf),this[_0x2637f0(0x2e6)](_0x53ffb4),this[_0x2637f0(0x205)](_0x53ffb4,_0x2637f0(0x22c));}_0x53ffb4=_0x53ffb4[_0x2637f0(0x204)](_0x30856c=>!(_0x30856c[_0x2637f0(0x253)]&&_0x30856c[_0x2637f0(0x22c)]));const _0x50c32b=new Map(_0x7531c7[_0x2637f0(0x2f1)][_0x1e5d8f][_0x2637f0(0x29f)][_0x2637f0(0x2f4)]),_0x3145b9=new Set(_0x300f74[_0x2637f0(0x1ef)]());for(const _0x45efad of _0x50c32b[_0x2637f0(0x1ef)]())_0x3145b9[_0x2637f0(0x226)](_0x45efad);this[_0x2637f0(0x1f1)](_0x53ffb4,_0x3145b9),this[_0x2637f0(0x333)](_0x53ffb4),_0x53ffb4=this[_0x2637f0(0x2eb)](_0x53ffb4),_0x53ffb4=this[_0x2637f0(0x2a1)](_0x53ffb4),_0x53ffb4=this[_0x2637f0(0x332)](_0x53ffb4);const {root:_0x2f59c6,changes:_0x4262f8}=this[_0x2637f0(0x302)](_0x53ffb4,_0x1640e1,_0x1e5d8f);_0x1e5464[_0x2637f0(0x2f1)][_0x1e5d8f]=_0x2f59c6;const _0x4be673=_0xcca66b[_0x2637f0(0x2ea)](_0x1e5d8f);if(_0x4be673){const _0x8de284=_0x1640e1[_0x2637f0(0x2ea)](_0x4be673[_0x2637f0(0x322)]),_0x34b280=new _0x3f526c({'author':_0x8de284,'type':_0x4be673[_0x2637f0(0x21f)]?_0x2637f0(0x27a):_0x2637f0(0x29c),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1e5d8f});_0x4262f8[_0x2637f0(0x2be)](_0x34b280),_0x1e5464[_0x2637f0(0x273)][_0x1e5d8f][_0x2637f0(0x2d3)]=_0x34b280['id'];}_0x1e5464[_0x2637f0(0x2c3)]=_0x1e5464[_0x2637f0(0x2c3)][_0x2637f0(0x240)](_0x4262f8);}return _0x1e5464;}[_0x109569(0x232)](_0x4c65d3,_0x18ce1b){const _0x25c5be=_0x109569;for(let _0x1280bc=0x0;_0x1280bc<_0x4c65d3[_0x25c5be(0x2fd)];_0x1280bc++)for(const [_0x4098d8,_0x2286d3]of _0x18ce1b)_0x2286d3[_0x25c5be(0x282)][_0x25c5be(0x1ff)](_0x4c65d3[_0x1280bc][_0x25c5be(0x2a6)])&&_0x4c65d3[_0x1280bc][_0x25c5be(0x23c)][_0x25c5be(0x317)](_0x4098d8),_0x2286d3[_0x25c5be(0x27e)][_0x25c5be(0x1ff)](_0x4c65d3[_0x1280bc][_0x25c5be(0x1f6)])&&_0x4c65d3[_0x1280bc][_0x25c5be(0x30e)][_0x25c5be(0x317)](_0x4098d8);}[_0x109569(0x24e)](_0x5ed151,_0x19e458){const _0x893630=_0x109569;let _0x458e69=[],_0x5182fb=0x0,_0x51ffcc=0x0;for(;_0x5182fb<_0x5ed151[_0x893630(0x2fd)]||_0x51ffcc<_0x19e458[_0x893630(0x2fd)];){const _0x7e3231=_0x5ed151[_0x5182fb]||{},_0x29d966=_0x19e458[_0x51ffcc]||{};if(_0x7e3231['id']==_0x29d966['id'])_0x5182fb++,_0x51ffcc++,_0x458e69[_0x893630(0x317)](_0x7e3231);else{if(_0x29d966[_0x893630(0x22c)]&&_0x7e3231[_0x893630(0x253)]){const {commonTape:_0x43e5a4,iEnd:_0xbb0c1b,jEnd:_0x31963c}=this[_0x893630(0x281)](_0x5ed151,_0x5182fb,_0x19e458,_0x51ffcc);_0x458e69=_0x458e69[_0x893630(0x240)](_0x43e5a4),_0x5182fb=_0xbb0c1b,_0x51ffcc=_0x31963c;}else _0x29d966[_0x893630(0x22c)]?(_0x51ffcc++,_0x458e69[_0x893630(0x317)](_0x29d966)):(_0x5182fb++,_0x458e69[_0x893630(0x317)](_0x7e3231));}}return _0x458e69;}[_0x109569(0x1f1)](_0x4a5b2e,_0x229c85){const _0x251c18=_0x109569,_0x3c4353=[];for(let _0x5e0e32=0x0;_0x5e0e32<_0x4a5b2e[_0x251c18(0x2fd)];_0x5e0e32++){for(let _0x3bd65b=0x0;_0x3bd65b<_0x4a5b2e[_0x5e0e32][_0x251c18(0x23c)][_0x251c18(0x2fd)];_0x3bd65b++){const _0x2268ec=_0x4a5b2e[_0x5e0e32][_0x251c18(0x23c)][_0x3bd65b];if(!_0x229c85[_0x251c18(0x2bd)](_0x2268ec))continue;const {group:_0x12c220,type:_0x504105,authorId:_0xa29812}=_0xcaf81f(_0x2268ec);_0x251c18(0x2e3)!=_0x12c220||_0x251c18(0x2b1)!=_0x504105&&_0x251c18(0x20e)!=_0x504105||(_0x3c4353[_0x251c18(0x2be)]({'type':_0x504105,'name':_0x2268ec,'userId':_0xa29812}),_0x4a5b2e[_0x5e0e32][_0x251c18(0x23c)][_0x251c18(0x1fa)](_0x3bd65b,0x1),_0x3bd65b--);}_0x56afda(_0x4a5b2e[_0x5e0e32]);for(let _0x3dbe69=0x0;_0x3dbe69<_0x4a5b2e[_0x5e0e32][_0x251c18(0x30e)][_0x251c18(0x2fd)];_0x3dbe69++){const _0x587ed3=_0x4a5b2e[_0x5e0e32][_0x251c18(0x30e)][_0x3dbe69];if(!_0x229c85[_0x251c18(0x2bd)](_0x587ed3))continue;const {group:_0x3cd666,type:_0x30be19}=_0xcaf81f(_0x587ed3);if(_0x251c18(0x2e3)!=_0x3cd666||_0x251c18(0x2b1)!=_0x30be19&&_0x251c18(0x20e)!=_0x30be19)continue;_0x4a5b2e[_0x5e0e32][_0x251c18(0x30e)][_0x251c18(0x1fa)](_0x3dbe69,0x1),_0x3dbe69--;const _0x1e6243=_0x3c4353[_0x251c18(0x2de)](_0x5755a5=>_0x5755a5[_0x251c18(0x219)]==_0x587ed3);_0x1e6243>-0x1&&_0x3c4353[_0x251c18(0x1fa)](_0x1e6243,0x1);}}function _0xcaf81f(_0xe78b55){const _0xd95de3=_0x251c18,_0x4750b5=_0xe78b55[_0xd95de3(0x211)](':');return{'group':_0x4750b5[0x0],'type':_0x4750b5[0x1],'subType':_0x4750b5[_0xd95de3(0x2fd)]>=0x5?_0x4750b5[0x2]:null,'id':_0x4750b5[_0xd95de3(0x2fd)]<0x5?_0x4750b5[0x2]:_0x4750b5[0x3],'authorId':_0x4750b5[_0xd95de3(0x2fd)]<0x5?_0x4750b5[0x3]:_0x4750b5[0x4],'markerCount':0x6==_0x4750b5[_0xd95de3(0x2fd)]?_0x4750b5[0x5]:null};}function _0x56afda(_0x442f8e){const _0x46f9e6=_0x251c18;for(let _0x4fe265=0x0;_0x4fe265<_0x3c4353[_0x46f9e6(0x2fd)];_0x4fe265++){if(_0x442f8e[_0x46f9e6(0x253)]&&_0x46f9e6(0x2b1)==_0x3c4353[_0x4fe265][_0x46f9e6(0x301)])return _0x442f8e[_0x46f9e6(0x329)]=_0x3c4353[_0x4fe265],void delete _0x442f8e[_0x46f9e6(0x253)];if(!_0x442f8e[_0x46f9e6(0x253)]&&!_0x442f8e[_0x46f9e6(0x22c)]&&_0x46f9e6(0x20e)==_0x3c4353[_0x4fe265][_0x46f9e6(0x301)])return void(_0x442f8e[_0x46f9e6(0x1ea)]=_0x3c4353[_0x4fe265]);}}}[_0x109569(0x205)](_0x2ae53c,_0x21c935){const _0x5a8e63=_0x109569;let _0x411bc0=0x0,_0x2317d3=!0x1;const _0x6fe77e=new Map();for(const _0x352821 of _0x2ae53c)_0x352821[_0x21c935]?_0x2317d3&&(_0x411bc0++,_0x2317d3=!0x1):(_0x411bc0++,_0x2317d3=!0x0),_0x6fe77e[_0x5a8e63(0x28d)](_0x352821['id'],_0x411bc0);for(let _0x51f10a=0x0;_0x51f10a<_0x2ae53c[_0x5a8e63(0x2fd)];_0x51f10a++){if(_0x5a8e63(0x22c)==_0x21c935&&_0x2ae53c[_0x51f10a][_0x5a8e63(0x253)]||_0x5a8e63(0x253)==_0x21c935&&_0x2ae53c[_0x51f10a][_0x5a8e63(0x22c)])continue;if(_0x5a8e63(0x213)==_0x2ae53c[_0x51f10a][_0x5a8e63(0x301)]){_0x2ae53c[_0x51f10a][_0x5a8e63(0x24f)]=0x0;continue;}const _0x4f1c99=_0x6fe77e[_0x5a8e63(0x2ea)](_0x2ae53c[_0x51f10a][_0x5a8e63(0x21a)]),_0x1bef84=_0x6fe77e[_0x5a8e63(0x2ea)](_0x2ae53c[_0x51f10a]['id']);_0x2ae53c[_0x51f10a][_0x5a8e63(0x24f)]=_0x4f1c99-_0x1bef84;}}[_0x109569(0x32c)](_0x2fc70e,_0x15270f,_0x6d1217=!0x1){const _0x564f21=_0x109569,_0x5bddb8=[];let _0x632c42=this[_0x564f21(0x1f0)][_0x564f21(0x2f2)](_0x2fc70e),_0x6aaacb=this[_0x564f21(0x1f0)][_0x564f21(0x2f2)](_0x15270f);for(-0x1==_0x6aaacb&&(_0x6aaacb=this[_0x564f21(0x1f0)][_0x564f21(0x210)][_0x564f21(0x2fd)],_0x6d1217=!0x1);_0x632c42<_0x6aaacb;)_0x5bddb8[_0x564f21(0x317)](this[_0x564f21(0x1f0)][_0x564f21(0x265)](_0x632c42)),_0x632c42++;return _0x6d1217&&_0x5bddb8[_0x564f21(0x317)](this[_0x564f21(0x1f0)][_0x564f21(0x265)](_0x632c42)),_0x5bddb8;}[_0x109569(0x281)](_0x1c5e50,_0x292fdc,_0x54f1e2,_0x5bd1d5){const _0x4f93ba=_0x109569,_0x3d9677=this[_0x4f93ba(0x247)][_0x4f93ba(0x2f1)][_0x4f93ba(0x214)];let _0x58ec23=_0x292fdc;for(;_0x1c5e50[_0x58ec23]&&_0x1c5e50[_0x58ec23][_0x4f93ba(0x253)];)_0x58ec23++;let _0x46a4f0=_0x5bd1d5;for(;_0x54f1e2[_0x46a4f0]&&_0x54f1e2[_0x46a4f0][_0x4f93ba(0x22c)];)_0x46a4f0++;_0x3bfa50(_0x1c5e50,_0x292fdc,_0x58ec23),_0x3bfa50(_0x54f1e2,_0x5bd1d5,_0x46a4f0);const _0x3f1082=_0x54f1e2[_0x4f93ba(0x2b7)](_0x5bd1d5,_0x46a4f0)[_0x4f93ba(0x240)](_0x1c5e50[_0x4f93ba(0x2b7)](_0x292fdc,_0x58ec23));return _0x3f1082[_0x4f93ba(0x2e8)]((_0x40efba,_0x3a1c77)=>_0x40efba[_0x4f93ba(0x31c)]!=_0x3a1c77[_0x4f93ba(0x31c)]?_0x40efba[_0x4f93ba(0x31c)]-_0x3a1c77[_0x4f93ba(0x31c)]:_0x40efba[_0x4f93ba(0x269)]!=_0x3a1c77[_0x4f93ba(0x269)]?_0x40efba[_0x4f93ba(0x269)]-_0x3a1c77[_0x4f93ba(0x269)]:_0x40efba[_0x4f93ba(0x24f)]!=_0x3a1c77[_0x4f93ba(0x24f)]?_0x3a1c77[_0x4f93ba(0x24f)]-_0x40efba[_0x4f93ba(0x24f)]:!!_0x40efba[_0x4f93ba(0x253)]!=!!_0x3a1c77[_0x4f93ba(0x253)]?-0x1==_0x40efba[_0x4f93ba(0x31c)]||0x0==_0x40efba[_0x4f93ba(0x31c)]?_0x40efba[_0x4f93ba(0x253)]?-0x1:0x1:_0x40efba[_0x4f93ba(0x253)]?0x1:-0x1:_0x40efba[_0x4f93ba(0x2bb)]-_0x3a1c77[_0x4f93ba(0x2bb)]),{'commonTape':_0x3f1082,'iEnd':_0x58ec23,'jEnd':_0x46a4f0};function _0x3bfa50(_0x3504d3,_0x3e831f,_0x287e57){const _0x16f62b=_0x4f93ba;let _0x209c35=-0x1,_0xb9febb=Number[_0x16f62b(0x2a5)],_0x19ffc4=!0x0;for(let _0x25f9fa=_0x3e831f;_0x25f9fa<_0x287e57;_0x25f9fa++)if(_0x3d9677[_0x16f62b(0x323)](_0x3504d3[_0x25f9fa][_0x16f62b(0x28e)])||(_0x19ffc4=!0x1),_0x3504d3[_0x25f9fa][_0x16f62b(0x28e)][_0x16f62b(0x2ac)]<_0x3e831f&&(_0x209c35=_0x25f9fa),_0x3504d3[_0x25f9fa][_0x16f62b(0x28e)][_0x16f62b(0x292)]>=_0x287e57){_0xb9febb=_0x25f9fa;break;}_0x19ffc4&&(_0x209c35=_0x287e57-0x1);for(let _0x3c667e=_0x3e831f;_0x3c667e<_0x287e57;_0x3c667e++)_0x3504d3[_0x3c667e][_0x16f62b(0x31c)]=_0x3c667e<=_0x209c35?-0x1:_0x3c667e<_0xb9febb?0x0:0x1,_0x3504d3[_0x3c667e][_0x16f62b(0x2bb)]=_0x3c667e;let _0x1d92cb=0x0;for(let _0x205ad4=_0x3e831f;_0x205ad4<=_0x209c35;_0x205ad4++)0x0==_0x3504d3[_0x205ad4][_0x16f62b(0x24f)]?_0x3504d3[_0x205ad4][_0x16f62b(0x269)]=_0x1d92cb:(_0x1d92cb++,_0x3504d3[_0x205ad4][_0x16f62b(0x269)]=_0x1d92cb,_0x1d92cb++);for(let _0x4796e8=_0x3e831f;_0x4796e8<_0x287e57;_0x4796e8++)0x0==_0x3504d3[_0x4796e8][_0x16f62b(0x31c)]&&(_0x3504d3[_0x4796e8][_0x16f62b(0x269)]=_0x1d92cb);_0x1d92cb=0x0;for(let _0x40b544=_0x287e57-0x1;_0x40b544>=_0xb9febb;_0x40b544--)0x0==_0x3504d3[_0x40b544][_0x16f62b(0x24f)]?_0x3504d3[_0x40b544][_0x16f62b(0x269)]=_0x1d92cb:(_0x1d92cb--,_0x3504d3[_0x40b544][_0x16f62b(0x269)]=_0x1d92cb,_0x1d92cb--);}}[_0x109569(0x333)](_0x3ae475){const _0xb20361=_0x109569,_0x566593=new Map(),_0xd6ce=this[_0xb20361(0x247)][_0xb20361(0x2f1)][_0xb20361(0x214)];for(let _0x315b0a=0x1;_0x315b0a<_0x3ae475[_0xb20361(0x2fd)];_0x315b0a++){let _0xa4e85a,_0x283222,_0xb1812b;const _0x4a0239=_0x3ae475[_0x315b0a],_0x4195ff=_0x3ae475[_0x315b0a-0x1];if(_0xb20361(0x213)==_0x4a0239[_0xb20361(0x301)])continue;if(_0x4a0239[_0xb20361(0x301)]!=_0x4195ff[_0xb20361(0x301)])continue;if(!_0xd6ce[_0xb20361(0x207)](_0x4195ff[_0xb20361(0x28e)])||_0xd6ce[_0xb20361(0x271)](_0x4195ff[_0xb20361(0x28e)]))continue;if(!_0xd6ce[_0xb20361(0x207)](_0x4a0239[_0xb20361(0x28e)])||_0xd6ce[_0xb20361(0x271)](_0x4a0239[_0xb20361(0x28e)]))continue;if((_0x3ae475[_0x315b0a][_0xb20361(0x253)]||_0x3ae475[_0x315b0a][_0xb20361(0x329)])&&_0x3ae475[_0x315b0a-0x1][_0xb20361(0x22c)])_0xa4e85a=_0x3ae475[_0x315b0a],_0x283222=_0x3ae475[_0x315b0a-0x1],_0xb1812b=_0x315b0a-0x1;else{if(!_0x3ae475[_0x315b0a][_0xb20361(0x22c)]||!_0x3ae475[_0x315b0a-0x1][_0xb20361(0x253)]&&!_0x3ae475[_0x315b0a-0x1][_0xb20361(0x329)])continue;_0xa4e85a=_0x3ae475[_0x315b0a-0x1],_0x283222=_0x3ae475[_0x315b0a],_0xb1812b=_0x315b0a;}const _0x3b2974=_0xa4e85a[_0xb20361(0x269)]==_0x283222[_0xb20361(0x269)],_0x58c651=Math[_0xb20361(0x312)](_0xa4e85a[_0xb20361(0x269)])<Math[_0xb20361(0x312)](_0x283222[_0xb20361(0x269)])&&0x0==_0x283222[_0xb20361(0x24f)];(_0x3b2974||_0x58c651)&&(_0x566593[_0xb20361(0x28d)](_0x283222['id'],_0xa4e85a['id']),_0x3ae475[_0xb20361(0x1fa)](_0xb1812b,0x1),_0x315b0a--,_0xa4e85a[_0xb20361(0x253)]=!0x1);}for(let _0x4ac7cb=0x0;_0x4ac7cb<_0x3ae475[_0xb20361(0x2fd)];_0x4ac7cb++)_0x566593[_0xb20361(0x2bd)](_0x3ae475[_0x4ac7cb][_0xb20361(0x21a)])&&(_0x3ae475[_0x4ac7cb][_0xb20361(0x21a)]=_0x566593[_0xb20361(0x2ea)](_0x3ae475[_0x4ac7cb][_0xb20361(0x21a)]));}[_0x109569(0x2eb)](_0x2e6d02){const _0x1fab19=_0x109569,_0x12b946=new Set(_0x2e6d02[_0x1fab19(0x31e)](_0x31c541=>_0x31c541['id']));for(let _0x15efdc=0x0;_0x15efdc<_0x2e6d02[_0x1fab19(0x2fd)];_0x15efdc++)_0x12b946[_0x1fab19(0x2bd)](_0x2e6d02[_0x15efdc][_0x1fab19(0x21a)])||0x0==_0x2e6d02[_0x15efdc][_0x1fab19(0x24f)]||(_0x2e6d02[_0x15efdc][_0x1fab19(0x23a)]=!0x0);return _0x2e6d02[_0x1fab19(0x204)](_0x5640f7=>!_0x5640f7[_0x1fab19(0x23a)]);}[_0x109569(0x2a1)](_0x3a16e7){const _0x2727b2=_0x109569,_0x51d844=new Set();for(let _0x3fd358=0x0;_0x3fd358<_0x3a16e7[_0x2727b2(0x2fd)];_0x3fd358++){if(_0x51d844[_0x2727b2(0x2bd)](_0x3a16e7[_0x3fd358]['id'])&&_0x3a16e7[_0x3fd358][_0x2727b2(0x22c)]&&(_0x3a16e7[_0x3fd358][_0x2727b2(0x23a)]=!0x0),_0x3a16e7[_0x3fd358][_0x2727b2(0x23a)])continue;if(0x0==_0x3a16e7[_0x3fd358][_0x2727b2(0x24f)])continue;if(_0x2727b2(0x216)!=_0x3a16e7[_0x3fd358][_0x2727b2(0x301)])continue;if(null==_0x3a16e7[_0x3fd358][_0x2727b2(0x21a)])continue;let _0x2964a8=_0x3fd358+0x1,_0x386466=0x0;for(;_0x3a16e7[_0x2964a8]['id']!=_0x3a16e7[_0x3fd358][_0x2727b2(0x21a)];)_0x2727b2(0x216)==_0x3a16e7[_0x2964a8][_0x2727b2(0x301)]?_0x386466++:_0x2727b2(0x2ee)==_0x3a16e7[_0x2964a8][_0x2727b2(0x301)]&&_0x386466--,_0x2964a8++;if(0x0!=_0x386466){if(_0x3a16e7[_0x3fd358][_0x2727b2(0x22c)])_0x3a16e7[_0x3fd358][_0x2727b2(0x23a)]=!0x0;else{for(;_0x2964a8!=_0x3fd358;)_0x3a16e7[_0x2964a8][_0x2727b2(0x22c)]&&0x0!=_0x3a16e7[_0x2964a8][_0x2727b2(0x24f)]&&(_0x3a16e7[_0x2964a8][_0x2727b2(0x23a)]=!0x0,_0x51d844[_0x2727b2(0x27a)](_0x3a16e7[_0x2964a8][_0x2727b2(0x21a)])),_0x2964a8--;}}}return _0x3a16e7[_0x2727b2(0x204)](_0x393fdb=>!_0x393fdb[_0x2727b2(0x23a)]);}[_0x109569(0x332)](_0x5c3d5e){const _0x2d5b3e=_0x109569,_0x50cd10=this[_0x2d5b3e(0x247)][_0x2d5b3e(0x2f1)][_0x2d5b3e(0x214)];for(let _0x5cfda5=0x0;_0x5cfda5<_0x5c3d5e[_0x2d5b3e(0x2fd)];_0x5cfda5++){if(!(_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x253)]||_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x329)]||_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x22c)]||_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x1ea)]))continue;if(0x0==_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x24f)])continue;const _0x583dd3=_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x28e)];_0x50cd10[_0x2d5b3e(0x207)](_0x583dd3)||_0x50cd10[_0x2d5b3e(0x271)](_0x583dd3)||(_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x253)]&&delete _0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x253)],_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x329)]&&delete _0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x329)],_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x1ea)]&&delete _0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x1ea)],_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x22c)]&&(_0x5c3d5e[_0x5cfda5][_0x2d5b3e(0x23a)]=!0x0));}return _0x5c3d5e[_0x2d5b3e(0x204)](_0x386f02=>!_0x386f02[_0x2d5b3e(0x23a)]);}[_0x109569(0x302)](_0x981068,_0x567926,_0x27301a){const _0x2d1991=_0x109569,_0x723d81=new _0x465c75(),_0x5a7508=[],_0x23ad27=new Map(),_0x5a9dfd=this[_0x2d1991(0x247)][_0x2d1991(0x2f1)],_0x2b1213=_0x5a9dfd[_0x2d1991(0x214)],_0x3b79ca=[_0x723d81],_0x10c8ff={},_0x279544={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x447a61=null;const _0x58eda3=[0x0];for(let _0x1a20c2=0x0;_0x1a20c2<_0x981068[_0x2d1991(0x2fd)];_0x1a20c2++){let _0x1e3789,_0xea6917;if(_0x2d1991(0x216)===_0x981068[_0x1a20c2][_0x2d1991(0x301)]){_0x1e3789=_0x5a9dfd[_0x2d1991(0x252)](_0x723d81,_0x58eda3);const _0x4a7dbd=new _0x445ae9(_0x981068[_0x1a20c2][_0x2d1991(0x28e)][_0x2d1991(0x219)],_0x981068[_0x1a20c2][_0x2d1991(0x28e)][_0x2d1991(0x1f5)]());_0x3b79ca[0x0][_0x2d1991(0x2ef)](_0x4a7dbd),_0x58eda3[_0x2d1991(0x317)](0x0),_0x3b79ca[_0x2d1991(0x2be)](_0x4a7dbd),_0xea6917=_0x5a9dfd[_0x2d1991(0x252)](_0x723d81,_0x58eda3),_0x447a61=null;}else{if(_0x2d1991(0x2ee)===_0x981068[_0x1a20c2][_0x2d1991(0x301)])_0x3b79ca[_0x2d1991(0x2d9)](),_0x1e3789=_0x5a9dfd[_0x2d1991(0x252)](_0x723d81,_0x58eda3),_0x58eda3[_0x2d1991(0x25f)](),_0x58eda3[_0x58eda3[_0x2d1991(0x2fd)]-0x1]++,_0xea6917=_0x5a9dfd[_0x2d1991(0x252)](_0x723d81,_0x58eda3),_0x447a61=null;else{if(_0x1e3789=_0x5a9dfd[_0x2d1991(0x252)](_0x723d81,_0x58eda3),_0x447a61&&_0x29a230(_0x447a61,_0x981068[_0x1a20c2][_0x2d1991(0x28e)]))_0x447a61[_0x2d1991(0x2a0)]+=_0x981068[_0x1a20c2][_0x2d1991(0x28e)][_0x2d1991(0x26a)];else{const _0x3fd8d0=new _0x29d571(_0x981068[_0x1a20c2][_0x2d1991(0x28e)][_0x2d1991(0x26a)],_0x981068[_0x1a20c2][_0x2d1991(0x28e)][_0x2d1991(0x1f5)]());_0x3b79ca[0x0][_0x2d1991(0x2ef)](_0x3fd8d0),_0x447a61=_0x3fd8d0;}_0x58eda3[_0x58eda3[_0x2d1991(0x2fd)]-0x1]+=_0x981068[_0x1a20c2][_0x2d1991(0x28e)][_0x2d1991(0x314)],_0xea6917=_0x5a9dfd[_0x2d1991(0x252)](_0x723d81,_0x58eda3);}}for(const _0x33001c of _0x981068[_0x1a20c2][_0x2d1991(0x23c)])_0x23ad27[_0x2d1991(0x28d)](_0x33001c,{'start':_0x1e3789,'end':null});_0x2eb872(_0x2d1991(0x1ea),_0x1a20c2,_0x1e3789,_0xea6917),_0x2eb872(_0x2d1991(0x329),_0x1a20c2,_0x1e3789,_0xea6917),_0x2eb872(_0x2d1991(0x22c),_0x1a20c2,_0x1e3789,_0xea6917),_0x2eb872(_0x2d1991(0x253),_0x1a20c2,_0x1e3789,_0xea6917);for(const _0x4873e1 of _0x981068[_0x1a20c2][_0x2d1991(0x30e)]){_0x23ad27[_0x2d1991(0x2ea)](_0x4873e1)[_0x2d1991(0x27e)]=_0xea6917;}}for(const [_0x33966b,_0xbc13c4]of _0x23ad27){const _0x258ca2=this[_0x2d1991(0x247)][_0x2d1991(0x2f1)][_0x2d1991(0x315)](_0xbc13c4[_0x2d1991(0x282)],_0xbc13c4[_0x2d1991(0x27e)]);_0x723d81[_0x2d1991(0x2f4)][_0x2d1991(0x28d)](_0x33966b,_0x258ca2);}return _0x5a7508[_0x2d1991(0x2e8)]((_0xc3530e,_0x4abda8)=>{const _0x57a5f2=_0x2d1991,_0x2aba0f=_0x723d81[_0x57a5f2(0x2f4)][_0x57a5f2(0x2ea)](_0x57a5f2(0x275)+_0xc3530e['id']),_0x44affe=_0x723d81[_0x57a5f2(0x2f4)][_0x57a5f2(0x2ea)](_0x57a5f2(0x275)+_0x4abda8['id']);return _0x2aba0f[_0x57a5f2(0x282)][_0x57a5f2(0x310)](_0x44affe[_0x57a5f2(0x282)])?-0x1:_0x2aba0f[_0x57a5f2(0x282)][_0x57a5f2(0x2d4)](_0x44affe[_0x57a5f2(0x282)])?0x1:_0x2aba0f[_0x57a5f2(0x27e)][_0x57a5f2(0x310)](_0x44affe[_0x57a5f2(0x27e)])?-0x1:_0x2aba0f[_0x57a5f2(0x27e)][_0x57a5f2(0x2d4)](_0x44affe[_0x57a5f2(0x27e)])?0x1:_0x57a5f2(0x27a)===_0xc3530e[_0x57a5f2(0x301)]?-0x1:0x1;}),{'root':_0x723d81,'changes':_0x5a7508};function _0x2eb872(_0x42818b,_0x218757,_0x5aeede,_0x392e7f){const _0x3a2d45=_0x2d1991,_0x208db3=!!_0x981068[_0x218757][_0x42818b],_0x4e7660=_0x208db3?_0x981068[_0x218757][_0x42818b][_0x3a2d45(0x322)]:null,_0x213649=_0x218757===_0x981068[_0x3a2d45(0x2fd)]-0x1,_0x5072fa=_0x279544[_0x42818b][0x0],_0x56e992=_0x2b1213[_0x3a2d45(0x1f4)](_0x981068[_0x218757][_0x3a2d45(0x28e)]);!_0x10c8ff[_0x42818b]&&_0x208db3?_0x10c8ff[_0x42818b]={'start':_0x5aeede,'tapeItem':_0x981068[_0x218757],'userId':_0x4e7660,'type':_0x42818b}:_0x10c8ff[_0x42818b]&&!_0x208db3?(_0x10c8ff[_0x42818b][_0x3a2d45(0x27e)]=_0x5aeede,_0x1245f1(_0x10c8ff[_0x42818b]),_0x10c8ff[_0x42818b]=null):_0x10c8ff[_0x42818b]&&_0x208db3&&_0x10c8ff[_0x42818b][_0x3a2d45(0x322)]!==_0x4e7660&&(_0x10c8ff[_0x42818b][_0x3a2d45(0x27e)]=_0x5aeede,_0x5072fa&&_0x5072fa[_0x3a2d45(0x322)]===_0x10c8ff[_0x42818b][_0x3a2d45(0x322)]||_0x1245f1(_0x10c8ff[_0x42818b]),_0x10c8ff[_0x42818b]={'start':_0x5aeede,'tapeItem':_0x981068[_0x218757],'userId':_0x4e7660,'type':_0x42818b}),_0x10c8ff[_0x42818b]&&_0x56e992&&(_0x3a2d45(0x216)!==_0x981068[_0x218757][_0x3a2d45(0x301)]||_0x5072fa&&_0x5072fa[_0x3a2d45(0x322)]===_0x4e7660||_0x279544[_0x42818b][_0x3a2d45(0x2be)]({'userId':_0x4e7660,'object':_0x981068[_0x218757][_0x3a2d45(0x28e)],'change':_0x10c8ff[_0x42818b]}),_0x3a2d45(0x2ee)===_0x981068[_0x218757][_0x3a2d45(0x301)]&&_0x5072fa&&_0x5072fa[_0x3a2d45(0x1fd)]===_0x981068[_0x218757][_0x3a2d45(0x28e)]&&(_0x279544[_0x42818b][_0x3a2d45(0x2d9)](),_0x10c8ff[_0x42818b]=_0x5072fa[_0x3a2d45(0x294)])),_0x10c8ff[_0x42818b]&&_0x213649&&(_0x10c8ff[_0x42818b][_0x3a2d45(0x27e)]=_0x392e7f,_0x1245f1(_0x10c8ff[_0x42818b]),_0x10c8ff[_0x42818b]=null);}function _0x1245f1({start:_0x510b16,end:_0x2ee5eb,tapeItem:_0x17d0a2,userId:_0x42a185,type:_0x358b91}){const _0x17925b=_0x2d1991,_0x3d6d86=_0x17d0a2[_0x17925b(0x28e)],_0x334fb2=_0x5a9dfd[_0x17925b(0x214)][_0x17925b(0x207)](_0x3d6d86)&&!_0x5a9dfd[_0x17925b(0x214)][_0x17925b(0x271)](_0x3d6d86),_0x457cb7=_0x510b16[_0x17925b(0x218)]==_0x2ee5eb[_0x17925b(0x274)]&&_0x2ee5eb[_0x17925b(0x2bc)];if(_0x334fb2&&_0x457cb7)return;const _0x208d57=_0x5a9dfd[_0x17925b(0x315)](_0x510b16,_0x2ee5eb),_0x478b30=_0x567926[_0x17925b(0x2ea)](_0x42a185),_0x29d262=new _0x3f526c({'author':_0x478b30,'type':_0x17925b(0x253)==_0x358b91||_0x17925b(0x329)==_0x358b91?_0x17925b(0x27a):_0x17925b(0x29c),'data':{'isSuggestion':_0x17925b(0x329)==_0x358b91||_0x17925b(0x1ea)==_0x358b91},'createdAt':new Date(),'rootName':_0x27301a});_0x5a7508[_0x17925b(0x317)](_0x29d262),_0x723d81[_0x17925b(0x2f4)][_0x17925b(0x28d)](_0x17925b(0x275)+_0x29d262['id'],_0x208d57);}function _0x29a230(_0x285e1c,_0xac97ae){const _0x1c3733=_0x2d1991,_0x49beb3=_0x285e1c[_0x1c3733(0x1f5)](),_0x57e7e3=_0xac97ae[_0x1c3733(0x1f5)]();for(const _0x1fb3e4 of _0x49beb3){if(_0x1fb3e4[0x1]!==_0xac97ae[_0x1c3733(0x31f)](_0x1fb3e4[0x0]))return!0x1;_0x57e7e3[_0x1c3733(0x1f8)]();}return _0x57e7e3[_0x1c3733(0x1f8)]()[_0x1c3733(0x313)];}}[_0x109569(0x278)](){const _0x3f4889=_0x109569;this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x303))[_0x3f4889(0x1f2)]({'view':_0x3f4889(0x235)}),this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x2f7))[_0x3f4889(0x266)]({'model':_0x3f4889(0x235),'view':_0x5d523c=>{const _0x4830ee=_0x3f4889,_0x560250=_0x5d523c[_0x4830ee(0x27c)][_0x4830ee(0x211)](':')[0x1],_0x1a74a7=this[_0x4830ee(0x23b)](_0x560250);if(!_0x1a74a7)return null;const _0x421d03=_0x4830ee(0x27a)==_0x1a74a7[_0x4830ee(0x301)]?_0x4830ee(0x2b1):_0x4830ee(0x20e),_0x3e7dc7=[_0x4830ee(0x257),_0x4830ee(0x2c1)+_0x421d03];return _0x1a74a7[_0x4830ee(0x26a)][_0x4830ee(0x293)]&&_0x3e7dc7[_0x4830ee(0x317)](_0x4830ee(0x2c1)+_0x421d03+_0x4830ee(0x279)),this[_0x4830ee(0x2e4)]==_0x1a74a7&&_0x3e7dc7[_0x4830ee(0x317)](_0x4830ee(0x2c4)),{'classes':_0x3e7dc7,'attributes':{'data-change-id':_0x560250}};}}),this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x303))[_0x3f4889(0x27a)](_0x4f61e5=>{const _0x475303=_0x3f4889;_0x4f61e5['on'](_0x475303(0x2b9),(_0x3a2437,_0x4a1e61,_0x28fb55)=>{const _0x31c263=_0x475303,_0x446bcd=_0x4a1e61[_0x31c263(0x334)][_0x31c263(0x21e)](0x0);if(!_0x446bcd||!_0x446bcd['is'](_0x31c263(0x242),_0x31c263(0x260)))return;if(!_0x28fb55[_0x31c263(0x2e9)][_0x31c263(0x32e)](_0x446bcd,{'attributes':[_0x31c263(0x2c5),_0x31c263(0x21b)]}))return;const _0x1fe5f4=_0x4a1e61[_0x31c263(0x20c)][_0x31c263(0x282)][_0x31c263(0x218)];_0x28fb55[_0x31c263(0x255)][_0x31c263(0x320)](_0x31c263(0x2c5),_0x446bcd[_0x31c263(0x31f)](_0x31c263(0x2c5)),_0x1fe5f4),_0x28fb55[_0x31c263(0x255)][_0x31c263(0x320)](_0x31c263(0x21b),_0x446bcd[_0x31c263(0x31f)](_0x31c263(0x21b)),_0x1fe5f4);},{'priority':_0x475303(0x304)});}),this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x303))[_0x3f4889(0x27a)](_0x22955a=>{const _0x4ebda3=_0x3f4889;_0x22955a['on'](_0x4ebda3(0x242),(_0x182c14,_0x2d2d50,_0x41cbe8)=>{const _0x586669=_0x4ebda3;if(!_0x41cbe8[_0x586669(0x2e9)][_0x586669(0x32e)](_0x2d2d50[_0x586669(0x334)],{'attributes':[_0x586669(0x2c5),_0x586669(0x21b)]}))return;if(_0x2d2d50[_0x586669(0x20c)][_0x586669(0x245)])return;const _0x4e67bc=_0x2d2d50[_0x586669(0x20c)][_0x586669(0x282)][_0x586669(0x218)];_0x4e67bc[_0x586669(0x2b2)](_0x586669(0x2c5))||_0x4e67bc[_0x586669(0x2b2)](_0x586669(0x2ae))||(_0x41cbe8[_0x586669(0x255)][_0x586669(0x320)](_0x586669(0x2c5),_0x2d2d50[_0x586669(0x334)][_0x586669(0x31f)](_0x586669(0x2c5)),_0x4e67bc),_0x41cbe8[_0x586669(0x255)][_0x586669(0x320)](_0x586669(0x21b),_0x2d2d50[_0x586669(0x334)][_0x586669(0x31f)](_0x586669(0x21b)),_0x4e67bc));},{'priority':_0x4ebda3(0x304)});}),this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x303))[_0x3f4889(0x30a)]({'view':{'name':_0x3f4889(0x2a2),'attributes':{'vid':!0x0}},'model':{'key':_0x3f4889(0x2ae),'value':_0x24dc7c=>_0x24dc7c[_0x3f4889(0x31f)](_0x3f4889(0x2ae))}}),this[_0x3f4889(0x247)][_0x3f4889(0x2f1)][_0x3f4889(0x214)]['on'](_0x3f4889(0x1eb),(_0x31c7eb,[,_0x5df789])=>{const _0x3e654e=_0x3f4889;[_0x3e654e(0x2c5),_0x3e654e(0x21b),_0x3e654e(0x2ae)][_0x3e654e(0x328)](_0x5df789)&&(_0x31c7eb[_0x3e654e(0x31a)]=!0x0,_0x31c7eb[_0x3e654e(0x295)]());},{'priority':_0x3f4889(0x208)}),this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x29e))[_0x3f4889(0x27a)](_0x1fd60d=>{const _0xba6eec=_0x3f4889;_0x1fd60d['on'](_0xba6eec(0x31b),(_0x1b4014,_0x4b096b,_0x4eb00c)=>{const _0x4529f5=_0xba6eec;if('\x20'!=_0x4b096b[_0x4529f5(0x28e)][_0x4529f5(0x26a)]||_0x4b096b[_0x4529f5(0x28e)][_0x4529f5(0x274)][_0x4529f5(0x202)]>0x1)return;if(!_0x4eb00c[_0x4529f5(0x2e9)][_0x4529f5(0x32e)](_0x4b096b[_0x4529f5(0x28e)],_0x1b4014[_0x4529f5(0x219)]))return;const _0x434434=_0x4eb00c[_0x4529f5(0x255)],_0x4125a3=_0x4eb00c[_0x4529f5(0x2ab)][_0x4529f5(0x24a)](_0x4b096b[_0x4529f5(0x1fc)]);_0x434434[_0x4529f5(0x1ee)](_0x4125a3,_0x434434[_0x4529f5(0x280)](_0x4529f5(0x2a2)));});}),this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x29e))[_0x3f4889(0x29a)]({'model':_0x3f4889(0x235)}),this[_0x3f4889(0x247)][_0x3f4889(0x2ce)][_0x3f4889(0x287)]['on'](_0x3f4889(0x256),function(_0xeb0763){const _0xce3b4c=_0x3f4889,_0x2d9086=_0xeb0763[_0xce3b4c(0x2bf)][_0xce3b4c(0x2ea)](_0xce3b4c(0x2ed));return(_0x3dd7ef,_0x14bd5b,_0x272006)=>{const _0x570c1c=_0xce3b4c,_0x4674da=_0x14bd5b[_0x570c1c(0x27c)][_0x570c1c(0x211)](':')[0x1],_0x4269b2=_0x2d9086[_0x570c1c(0x23b)](_0x4674da);if(!_0x4269b2)return null;const _0x538f80=_0x570c1c(0x27a)==_0x4269b2[_0x570c1c(0x301)]?_0x570c1c(0x211):_0x570c1c(0x32d);if(!_0x272006[_0x570c1c(0x2e9)][_0x570c1c(0x26b)](_0x14bd5b[_0x570c1c(0x29b)],_0x3dd7ef[_0x570c1c(0x219)]))return;const _0x3583c0=_0x14bd5b[_0x570c1c(0x29b)][_0x570c1c(0x203)](),_0xd9c587=_0x14bd5b[_0x570c1c(0x29b)][_0x570c1c(0x282)],_0x2dfa53=_0xeb0763[_0x570c1c(0x2f1)][_0x570c1c(0x214)];let _0x10df7d=null,_0x2f99b1=null,_0x1d41ce=!0x1,_0x1af528=!0x1;for(const _0x162191 of _0x3583c0){const _0x254e93=_0x162191[_0x570c1c(0x28e)];_0x1d41ce=_0x1d41ce||_0x2dfa53[_0x570c1c(0x217)](_0x254e93);const _0x323b52=_0x272006[_0x570c1c(0x2ab)][_0x570c1c(0x21c)](_0x254e93);if(_0x323b52&&_0x323b52[_0x570c1c(0x2da)](_0x570c1c(0x2ff)))return;_0x570c1c(0x2ee)==_0x162191[_0x570c1c(0x301)]&&(_0x2dfa53[_0x570c1c(0x207)](_0x254e93)&&!_0x2dfa53[_0x570c1c(0x271)](_0x254e93)&&(_0x254e93[_0x570c1c(0x299)]||_0xd9c587[_0x570c1c(0x2d7)]?_0x10df7d&&_0x10df7d[_0x570c1c(0x274)]==_0x254e93||(_0x10df7d=_0x254e93,_0x5763d6(_0x162191[_0x570c1c(0x2a6)]),_0x1af528=!0x0):_0x2f99b1=_0x2f99b1||_0x162191[_0x570c1c(0x2a6)]));}function _0x5763d6(_0x3e12fd){const _0x30a0a5=_0x570c1c,_0x2dd1d7=_0x272006[_0x30a0a5(0x255)][_0x30a0a5(0x2af)](_0x30a0a5(0x2a2),{'class':_0x30a0a5(0x2c1)+_0x538f80}),_0x5b3971=_0x272006[_0x30a0a5(0x2ab)][_0x30a0a5(0x30c)](_0x3e12fd);_0x4269b2[_0x30a0a5(0x26a)][_0x30a0a5(0x293)]&&_0x272006[_0x30a0a5(0x255)][_0x30a0a5(0x22a)](_0x30a0a5(0x2c1)+_0x538f80+_0x30a0a5(0x279),_0x2dd1d7),_0x2d9086[_0x30a0a5(0x2e4)]==_0x4269b2&&_0x272006[_0x30a0a5(0x255)][_0x30a0a5(0x22a)](_0x30a0a5(0x2c4),_0x2dd1d7),_0x272006[_0x30a0a5(0x255)][_0x30a0a5(0x20a)](_0x5b3971,_0x2dd1d7),_0x272006[_0x30a0a5(0x2ab)][_0x30a0a5(0x2c8)](_0x2dd1d7,_0x14bd5b[_0x30a0a5(0x27c)]);}_0x1d41ce||_0x1af528||!_0x2f99b1||_0x5763d6(_0x2f99b1);};}(this[_0x3f4889(0x247)]),{'priority':_0x3f4889(0x222)}),this[_0x3f4889(0x247)][_0x3f4889(0x2ce)][_0x3f4889(0x287)]['on'](_0x3f4889(0x1fb),(_0x3ad41f,_0x2e464c,_0x2f720e)=>{const _0x37bd99=_0x3f4889,_0x59a3a4=_0x2f720e[_0x37bd99(0x2ab)][_0x37bd99(0x324)](_0x2e464c[_0x37bd99(0x27c)]);if(_0x59a3a4){for(const _0x696ed5 of _0x59a3a4)(_0x696ed5[_0x37bd99(0x251)](_0x37bd99(0x2c6))||_0x696ed5[_0x37bd99(0x251)](_0x37bd99(0x2e7)))&&(_0x2f720e[_0x37bd99(0x2ab)][_0x37bd99(0x288)](_0x696ed5,_0x2e464c[_0x37bd99(0x27c)]),_0x2f720e[_0x37bd99(0x255)][_0x37bd99(0x29c)](_0x696ed5));}},{'priority':_0x3f4889(0x222)}),this[_0x3f4889(0x247)][_0x3f4889(0x2ce)][_0x3f4889(0x287)]['on'](_0x3f4889(0x256),(_0x57ab9b,_0x5e05de,_0x2bebcd)=>{const _0x294e7d=_0x3f4889,_0x3c604b=_0x5e05de[_0x294e7d(0x27c)][_0x294e7d(0x211)](':')[0x1],_0x118cee=this[_0x294e7d(0x23b)](_0x3c604b);if(!_0x118cee)return null;const _0x386f76=_0x294e7d(0x27a)==_0x118cee[_0x294e7d(0x301)]?_0x294e7d(0x211):_0x294e7d(0x32d);if(_0x2bebcd[_0x294e7d(0x2e9)][_0x294e7d(0x26b)](_0x5e05de[_0x294e7d(0x29b)],_0x57ab9b[_0x294e7d(0x219)]))for(const _0x1aee11 of _0x5e05de[_0x294e7d(0x29b)][_0x294e7d(0x32b)]()){if(!_0x1aee11['is'](_0x294e7d(0x242),_0x294e7d(0x2fa)))continue;const _0x10e812=_0x2bebcd[_0x294e7d(0x255)][_0x294e7d(0x2af)](_0x294e7d(0x2a2),{'class':_0x294e7d(0x2c1)+_0x386f76}),_0x20eb97=_0x2bebcd[_0x294e7d(0x2ab)][_0x294e7d(0x30c)](this[_0x294e7d(0x247)][_0x294e7d(0x2f1)][_0x294e7d(0x264)](_0x1aee11));_0x118cee[_0x294e7d(0x26a)][_0x294e7d(0x293)]&&_0x2bebcd[_0x294e7d(0x255)][_0x294e7d(0x22a)](_0x294e7d(0x2c1)+_0x386f76+_0x294e7d(0x279),_0x10e812),this[_0x294e7d(0x2e4)]==_0x118cee&&_0x2bebcd[_0x294e7d(0x255)][_0x294e7d(0x22a)](_0x294e7d(0x2c4),_0x10e812),_0x2bebcd[_0x294e7d(0x255)][_0x294e7d(0x20a)](_0x20eb97,_0x10e812),_0x2bebcd[_0x294e7d(0x2ab)][_0x294e7d(0x2c8)](_0x10e812,_0x5e05de[_0x294e7d(0x27c)]);}},{'priority':_0x3f4889(0x222)}),this[_0x3f4889(0x247)][_0x3f4889(0x2f1)][_0x3f4889(0x2fb)]['on'](_0x3f4889(0x294),()=>{const _0x39f08a=_0x3f4889;this[_0x39f08a(0x247)][_0x39f08a(0x2ce)][_0x39f08a(0x239)][_0x39f08a(0x294)](_0x4327ee=>{const _0x42a72a=_0x39f08a;for(const _0x3aa9af of this[_0x42a72a(0x247)][_0x42a72a(0x2f1)][_0x42a72a(0x2fb)][_0x42a72a(0x308)]()){const _0x4dac8b=this[_0x42a72a(0x247)][_0x42a72a(0x2f1)][_0x42a72a(0x2fb)][_0x42a72a(0x26c)](_0x3aa9af),_0x262c10=this[_0x42a72a(0x247)][_0x42a72a(0x2ce)][_0x42a72a(0x239)][_0x42a72a(0x2fb)][_0x42a72a(0x26c)](_0x3aa9af);if(_0x262c10){const _0x1df3c7=_0x4dac8b[_0x42a72a(0x31f)](_0x42a72a(0x2d3));if(_0x4327ee[_0x42a72a(0x241)](_0x42a72a(0x30d),_0x262c10),_0x4327ee[_0x42a72a(0x27f)](_0x42a72a(0x28f),_0x262c10),_0x4327ee[_0x42a72a(0x27f)](_0x42a72a(0x2c9),_0x262c10),_0x4327ee[_0x42a72a(0x27f)](_0x42a72a(0x2ec),_0x262c10),_0x1df3c7){const _0x2c5e95=this[_0x42a72a(0x23b)](_0x1df3c7);if(!_0x2c5e95)return null;_0x4327ee[_0x42a72a(0x320)](_0x42a72a(0x30d),_0x1df3c7,_0x262c10),_0x4327ee[_0x42a72a(0x22a)](_0x42a72a(0x297)+_0x2c5e95[_0x42a72a(0x301)],_0x262c10),this[_0x42a72a(0x2e4)]==_0x2c5e95&&_0x4327ee[_0x42a72a(0x22a)](_0x42a72a(0x2ec),_0x262c10);}}}});}),this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x303))[_0x3f4889(0x1f2)]({'view':_0x3f4889(0x225),'model':_0x4ffab8=>_0x3f4889(0x230)+_0x4ffab8,'converterPriority':_0x3f4889(0x208)}),this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x303))[_0x3f4889(0x1f2)]({'view':_0x3f4889(0x2c2),'model':_0x530777=>_0x3f4889(0x2a9)+_0x530777,'converterPriority':_0x3f4889(0x208)}),this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x29e))[_0x3f4889(0x29a)]({'model':_0x3f4889(0x2e3),'view':_0x36f53e=>({'name':_0x3f4889(0x261)+_0x36f53e,'group':_0x3f4889(0x2e3)}),'converterPriority':_0x3f4889(0x208)}),this[_0x3f4889(0x247)][_0x3f4889(0x298)][_0x3f4889(0x206)](_0x3f4889(0x2f7))[_0x3f4889(0x266)]({'model':_0x3f4889(0x2e3),'view':_0x5d6668=>{const _0x4e986e=_0x3f4889,_0x8e586d=_0x5d6668[_0x4e986e(0x27c)][_0x4e986e(0x211)](':')[0x1];return _0x4e986e(0x2b1)!=_0x8e586d&&_0x4e986e(0x20e)!=_0x8e586d?null:{'classes':[_0x4e986e(0x2a4),_0x4e986e(0x228)+_0x8e586d]};}}),this[_0x3f4889(0x247)][_0x3f4889(0x2ce)][_0x3f4889(0x287)]['on'](_0x3f4889(0x21d),et(this[_0x3f4889(0x247)],_0x3f4889(0x32d)),{'priority':_0x3f4889(0x222)}),this[_0x3f4889(0x247)][_0x3f4889(0x2ce)][_0x3f4889(0x287)]['on'](_0x3f4889(0x2d6),et(this[_0x3f4889(0x247)],_0x3f4889(0x211)),{'priority':_0x3f4889(0x222)}),this[_0x3f4889(0x247)][_0x3f4889(0x2ce)][_0x3f4889(0x287)]['on'](_0x3f4889(0x2a8),(_0x301797,_0x121701,_0x4a9863)=>{const _0x4be769=_0x3f4889,_0x4df13e=_0x4a9863[_0x4be769(0x2ab)][_0x4be769(0x324)](_0x121701[_0x4be769(0x27c)]);if(_0x4df13e){for(const _0x3f4cf7 of _0x4df13e)_0x3f4cf7['is'](_0x4be769(0x2cd))&&(_0x4a9863[_0x4be769(0x2ab)][_0x4be769(0x288)](_0x3f4cf7,_0x121701[_0x4be769(0x27c)]),_0x4a9863[_0x4be769(0x255)][_0x4be769(0x29c)](_0x3f4cf7));}},{'priority':_0x3f4889(0x222)});}[_0x109569(0x23b)](_0x4653c1){const _0x3a30b9=_0x109569;return this[_0x3a30b9(0x243)][_0x3a30b9(0x2ea)](_0x4653c1);}[_0x109569(0x2b8)](_0x3371f7){const _0x350250=_0x109569;return this[_0x350250(0x220)]&&this[_0x350250(0x220)][_0x350250(0x276)](),this[_0x350250(0x220)]=new _0x124a69(this[_0x350250(0x247)][_0x350250(0x1ed)],_0x3371f7),this[_0x350250(0x220)];}[_0x109569(0x2fc)](){const _0x30719a=_0x109569;this[_0x30719a(0x247)][_0x30719a(0x2f1)][_0x30719a(0x2fb)][_0x30719a(0x2e2)][_0x30719a(0x2cf)](_0x30719a(0x235)),this['on'](_0x30719a(0x26d),(_0x14c901,_0x43efe2,_0x225620,_0x3e926d)=>{const _0x2e7ee9=_0x30719a;_0x3e926d&&this[_0x2e7ee9(0x2cc)][_0x2e7ee9(0x29c)](_0x3e926d),_0x225620&&(this[_0x2e7ee9(0x2cc)][_0x2e7ee9(0x27a)]({'view':_0x225620,'stackId':_0x2e7ee9(0x2dd),'position':{'target':()=>{const _0x23b204=_0x2e7ee9,_0x20d14b=this[_0x23b204(0x247)][_0x23b204(0x2ce)],_0x530623=this[_0x23b204(0x23b)](_0x225620[_0x23b204(0x32a)]);let _0x1a18e2;if(_0x530623[_0x23b204(0x26a)][_0x23b204(0x1e9)]){const _0x5e7246=_0x20d14b[_0x23b204(0x239)][_0x23b204(0x263)](_0x530623[_0x23b204(0x321)]);_0x1a18e2=Array[_0x23b204(0x32f)](_0x5e7246[_0x23b204(0x311)]());}else{const _0x24f655=this[_0x23b204(0x247)][_0x23b204(0x2f1)][_0x23b204(0x2f4)][_0x23b204(0x2ea)](_0x23b204(0x275)+_0x225620[_0x23b204(0x32a)]);_0x1a18e2=Array[_0x23b204(0x32f)](_0x20d14b[_0x23b204(0x2ab)][_0x23b204(0x324)](_0x24f655[_0x23b204(0x219)]))[_0x23b204(0x31e)](_0x33065f=>_0x20d14b[_0x23b204(0x239)][_0x23b204(0x224)][_0x23b204(0x27b)](_0x33065f))[_0x23b204(0x31e)](_0x2fb6c7=>Array[_0x23b204(0x32f)](_0x2fb6c7[_0x23b204(0x311)]()))[_0x23b204(0x30f)]();}if(!this[_0x23b204(0x319)])return _0x1a18e2[0x0];return _0x1a18e2[_0x23b204(0x215)](_0x22a872=>_0x22a872[_0x23b204(0x212)]-0x3<=this[_0x23b204(0x319)]['y']&&_0x22a872[_0x23b204(0x23e)]+0x3>=this[_0x23b204(0x319)]['y']&&_0x22a872[_0x23b204(0x2f5)]-0x3<=this[_0x23b204(0x319)]['x']&&_0x22a872[_0x23b204(0x2aa)]+0x3>=this[_0x23b204(0x319)]['x'])||_0x1a18e2[0x0];}}}),this[_0x2e7ee9(0x2cc)][_0x2e7ee9(0x2b5)](_0x2e7ee9(0x2dd)));}),this['on'](_0x30719a(0x277),(_0x3fb206,_0x1057fd,_0x5a00f9,_0x5b9c5f)=>{const _0x37eb7c=_0x30719a;this[_0x37eb7c(0x2f9)]=_0x5a00f9?this[_0x37eb7c(0x2b8)](_0x5a00f9):null,this[_0x37eb7c(0x247)][_0x37eb7c(0x2f1)][_0x37eb7c(0x294)](()=>{const _0x5a624d=_0x37eb7c,_0x5887f1=this[_0x5a624d(0x247)][_0x5a624d(0x2ce)];_0x5b9c5f&&(_0x5b9c5f[_0x5a624d(0x26a)][_0x5a624d(0x1e9)]?_0x5887f1[_0x5a624d(0x239)][_0x5a624d(0x294)](_0xf38271=>{const _0x4f0f40=_0x5a624d;_0xf38271[_0x4f0f40(0x27f)](_0x4f0f40(0x2ec),_0x5887f1[_0x4f0f40(0x239)][_0x4f0f40(0x2fb)][_0x4f0f40(0x26c)](_0x5b9c5f[_0x4f0f40(0x321)]));}):_0x5887f1[_0x5a624d(0x330)](_0x5a624d(0x275)+_0x5b9c5f['id'])),_0x5a00f9&&(_0x5a00f9[_0x5a624d(0x26a)][_0x5a624d(0x1e9)]?_0x5887f1[_0x5a624d(0x239)][_0x5a624d(0x294)](_0x5c56ec=>{const _0x452e76=_0x5a624d;_0x5c56ec[_0x452e76(0x22a)](_0x452e76(0x2ec),_0x5887f1[_0x452e76(0x239)][_0x452e76(0x2fb)][_0x452e76(0x26c)](_0x5a00f9[_0x452e76(0x321)]));}):_0x5887f1[_0x5a624d(0x330)](_0x5a624d(0x275)+_0x5a00f9['id']));});}),this[_0x30719a(0x2d8)](this[_0x30719a(0x247)][_0x30719a(0x2ce)][_0x30719a(0x239)][_0x30719a(0x2fb)],_0x30719a(0x227),(_0x1acfab,_0x1e9f17)=>{const _0x16bac3=_0x30719a;if(this[_0x16bac3(0x2e4)])return;const _0x5c2fe1=this[_0x16bac3(0x22e)](_0x1e9f17[_0x16bac3(0x20b)]),_0x22944a=this[_0x16bac3(0x243)][_0x16bac3(0x2ea)](_0x5c2fe1);_0x22944a?(this[_0x16bac3(0x319)]={'x':_0x1e9f17[_0x16bac3(0x309)]['x'],'y':_0x1e9f17[_0x16bac3(0x309)]['y']},this[_0x16bac3(0x2f9)]=this[_0x16bac3(0x2b8)](_0x22944a)):(this[_0x16bac3(0x319)]=null,this[_0x16bac3(0x2f9)]=null);}),this[_0x30719a(0x2d8)](this[_0x30719a(0x247)][_0x30719a(0x2ce)][_0x30719a(0x239)][_0x30719a(0x2fb)],_0x30719a(0x1e8),(_0x5574cf,_0x215c1b)=>{const _0x3fda7a=_0x30719a,_0xa901f6=this[_0x3fda7a(0x22e)](_0x215c1b[_0x3fda7a(0x20b)]),_0x5cb62c=this[_0x3fda7a(0x243)][_0x3fda7a(0x2ea)](_0xa901f6);_0x5cb62c?(this[_0x3fda7a(0x319)]={'x':_0x215c1b[_0x3fda7a(0x309)]['x'],'y':_0x215c1b[_0x3fda7a(0x309)]['y']},_0x5cb62c===this[_0x3fda7a(0x2e4)]?this[_0x3fda7a(0x2cc)][_0x3fda7a(0x2cb)]():this[_0x3fda7a(0x2e4)]=_0x5cb62c):(this[_0x3fda7a(0x319)]=null,this[_0x3fda7a(0x2e4)]=null);});}[_0x109569(0x22e)](_0x140c7b){const _0x49d878=_0x109569;do{const _0x1bf05e=_0x140c7b[_0x49d878(0x31f)](_0x49d878(0x30d));if(_0x1bf05e)return _0x1bf05e;_0x140c7b=_0x140c7b[_0x49d878(0x274)];}while(_0x140c7b);return null;}[_0x109569(0x283)](){const _0x168c4b=_0x109569;this[_0x168c4b(0x247)][_0x168c4b(0x2f1)][_0x168c4b(0x294)](_0x104db5=>{const _0x122feb=_0x168c4b;for(const _0x39abcf of this[_0x122feb(0x247)][_0x122feb(0x2f1)][_0x122feb(0x2f4)])_0x104db5[_0x122feb(0x325)](_0x39abcf);});}}function _0x40ce(_0x65e436,_0x35a7a1){const _0x1d03af=_0x1d03();return _0x40ce=function(_0x40ce37,_0x1f3743){_0x40ce37=_0x40ce37-0x1e8;let _0xced60a=_0x1d03af[_0x40ce37];return _0xced60a;},_0x40ce(_0x65e436,_0x35a7a1);}function et(_0x927eac,_0x4fe19a){return(_0x5626b5,_0xcd24df,_0xe6f2b)=>{const _0x182d9c=_0x40ce;if(!_0xe6f2b[_0x182d9c(0x2e9)][_0x182d9c(0x26b)](_0xcd24df[_0x182d9c(0x29b)],_0x5626b5[_0x182d9c(0x219)]))return;const _0x186a33=_0xcd24df[_0x182d9c(0x29b)][_0x182d9c(0x203)](),_0x1f327c=_0xcd24df[_0x182d9c(0x29b)][_0x182d9c(0x282)],_0x1c5c6b=_0x927eac[_0x182d9c(0x2f1)][_0x182d9c(0x214)];let _0x52a5b1=null,_0x356298=null,_0x380a4c=!0x1,_0x3da5ab=!0x1;for(const _0x1e5bf6 of _0x186a33){const _0x3527a4=_0x1e5bf6[_0x182d9c(0x28e)];_0x380a4c=_0x380a4c||_0x1c5c6b[_0x182d9c(0x217)](_0x3527a4);const _0x5d7b72=_0xe6f2b[_0x182d9c(0x2ab)][_0x182d9c(0x21c)](_0x3527a4);if(_0x5d7b72&&_0x5d7b72[_0x182d9c(0x2da)](_0x182d9c(0x2ff)))return;_0x182d9c(0x2ee)==_0x1e5bf6[_0x182d9c(0x301)]&&(_0x1c5c6b[_0x182d9c(0x207)](_0x3527a4)&&!_0x1c5c6b[_0x182d9c(0x271)](_0x3527a4)&&(_0x3527a4[_0x182d9c(0x299)]||_0x1f327c[_0x182d9c(0x2d7)]?_0x52a5b1&&_0x52a5b1[_0x182d9c(0x274)]==_0x3527a4||(_0x52a5b1=_0x3527a4,_0x5d9263(_0x1e5bf6[_0x182d9c(0x2a6)]),_0x3da5ab=!0x0):_0x356298=_0x356298||_0x1e5bf6[_0x182d9c(0x2a6)]));}function _0x5d9263(_0x3810d3){const _0x312b2b=_0x182d9c,_0x2d8614=_0xe6f2b[_0x312b2b(0x2ab)][_0x312b2b(0x30c)](_0x3810d3),_0x54d74d=_0xe6f2b[_0x312b2b(0x255)][_0x312b2b(0x2af)](_0x312b2b(0x2a2),{'class':_0x312b2b(0x228)+_0x4fe19a});_0xe6f2b[_0x312b2b(0x255)][_0x312b2b(0x20a)](_0x2d8614,_0x54d74d),_0xe6f2b[_0x312b2b(0x2ab)][_0x312b2b(0x2c8)](_0x54d74d,_0xcd24df[_0x312b2b(0x27c)]);}_0x380a4c||_0x3da5ab||!_0x356298||_0x5d9263(_0x356298);};}export class RestoreRevisionCommand extends _0x10b351{constructor(_0x1cc5ca){const _0x4f6dbf=_0x109569;super(_0x1cc5ca);const _0x577c23=_0x1cc5ca[_0x4f6dbf(0x2bf)][_0x4f6dbf(0x2ea)](d);this[_0x4f6dbf(0x2d1)]=!0x1,this[_0x4f6dbf(0x2d8)](_0x577c23,_0x4f6dbf(0x20d),()=>this[_0x4f6dbf(0x2f8)]()),this[_0x4f6dbf(0x2d8)](_0x577c23,_0x4f6dbf(0x2db),()=>this[_0x4f6dbf(0x2f8)]());}[_0x109569(0x25e)](){const _0x41c8bf=_0x109569,_0x17ae53=this[_0x41c8bf(0x247)],_0x493b54=_0x17ae53[_0x41c8bf(0x2bf)][_0x41c8bf(0x2ea)](d),_0x1b9a2d=_0x493b54[_0x41c8bf(0x248)]?_0x493b54[_0x41c8bf(0x23d)][_0x41c8bf(0x306)]:null;_0x17ae53[_0x41c8bf(0x305)][_0x41c8bf(0x2ea)](_0x41c8bf(0x25b))[_0x41c8bf(0x284)](_0x1b9a2d);}[_0x109569(0x2f8)](){const _0x3bc90d=_0x109569,{isReady:_0x2b8b1d,isEnabled:_0x580f67}=this[_0x3bc90d(0x247)][_0x3bc90d(0x2bf)][_0x3bc90d(0x2ea)](d);this[_0x3bc90d(0x209)]=_0x2b8b1d&&_0x580f67;}}export class ShowChangeCommand extends _0x10b351{constructor(_0x223f14,{direction:_0x148c06}){const _0x39c9ba=_0x109569;super(_0x223f14);const _0x2b4434=_0x223f14[_0x39c9ba(0x2bf)][_0x39c9ba(0x2ea)](d);this[_0x39c9ba(0x2d1)]=!0x1,this[_0x39c9ba(0x2a3)]=_0x39c9ba(0x233)===_0x148c06?0x1:-0x1,this[_0x39c9ba(0x2d8)](_0x2b4434,_0x39c9ba(0x20d),()=>this[_0x39c9ba(0x2f8)]()),this[_0x39c9ba(0x2d8)](_0x2b4434,_0x39c9ba(0x2db),()=>this[_0x39c9ba(0x2f8)]()),this[_0x39c9ba(0x2d8)](_0x2b4434,_0x39c9ba(0x277),()=>this[_0x39c9ba(0x2f8)]());}[_0x109569(0x25e)](){const _0x124c59=_0x109569,_0x4859af=this[_0x124c59(0x247)],_0x27860c=_0x4859af[_0x124c59(0x2bf)][_0x124c59(0x2ea)](d),{isNavigationMode:_0x4b3b75,currentChangeNumber:_0xf928af}=_0x27860c;let _0x2c2baa;if(_0x27860c[_0x124c59(0x2e4)]=_0x4b3b75?_0x27860c[_0x124c59(0x23d)][_0x124c59(0x2c3)][_0x124c59(0x2ea)](_0xf928af+this[_0x124c59(0x2a3)]):_0x27860c[_0x124c59(0x23d)][_0x124c59(0x2c3)][_0x124c59(0x2ba)],_0x27860c[_0x124c59(0x2e4)][_0x124c59(0x26a)][_0x124c59(0x1e9)])_0x2c2baa=_0x4859af[_0x124c59(0x2ce)][_0x124c59(0x239)][_0x124c59(0x263)](_0x27860c[_0x124c59(0x2e4)][_0x124c59(0x321)]);else{const _0x27efc7=_0x4859af[_0x124c59(0x2f1)][_0x124c59(0x2f4)][_0x124c59(0x2ea)](_0x124c59(0x275)+_0x27860c[_0x124c59(0x2e4)]['id']);_0x2c2baa=_0x15c57a(_0x4859af[_0x124c59(0x2ce)],_0x27efc7);}_0x426ce7({'target':_0x2c2baa,'viewportOffset':0x28});}[_0x109569(0x2f8)](){const _0x401211=_0x109569,{isNavigationMode:_0x3614cf,currentChangeNumber:_0x10aff0,numberOfChanges:_0x2fc8bb,isReady:_0x1f7c0e,isEnabled:_0x40847b}=this[_0x401211(0x247)][_0x401211(0x2bf)][_0x401211(0x2ea)](d);this[_0x401211(0x209)]=!!(_0x40847b&&_0x1f7c0e&&_0x2fc8bb)&&(!_0x3614cf||(0x1===this[_0x401211(0x2a3)]?_0x10aff0<_0x2fc8bb-0x1:_0x10aff0>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x2229d1,_0x39b9d2){const _0x4c0727=_0x9cb7,_0x544b05=_0x2229d1();while(!![]){try{const _0x5b2c6a=-parseInt(_0x4c0727(0x17e))/0x1+-parseInt(_0x4c0727(0x1a3))/0x2*(parseInt(_0x4c0727(0x174))/0x3)+-parseInt(_0x4c0727(0x188))/0x4*(-parseInt(_0x4c0727(0x18f))/0x5)+-parseInt(_0x4c0727(0x178))/0x6+parseInt(_0x4c0727(0x181))/0x7+-parseInt(_0x4c0727(0x19b))/0x8+parseInt(_0x4c0727(0x17b))/0x9*(parseInt(_0x4c0727(0x198))/0xa);if(_0x5b2c6a===_0x39b9d2)break;else _0x544b05['push'](_0x544b05['shift']());}catch(_0x263005){_0x544b05['push'](_0x544b05['shift']());}}}(_0x4621,0x279c9));function _0x9cb7(_0x1718b0,_0x334539){const _0x462112=_0x4621();return _0x9cb7=function(_0x9cb743,_0x11505a){_0x9cb743=_0x9cb743-0x174;let _0x51b197=_0x462112[_0x9cb743];return _0x51b197;},_0x9cb7(_0x1718b0,_0x334539);}function _0x4621(){const _0xe25381=['panelPosition','locale','Compare\x20against\x20selected','61202rLPHXi','9kNVVxX','isEnabled','Restore\x20this\x20revision','bind','1171860PAUauQ','model','Show\x20more\x20items','909WsxAJq','map','listenTo','160005yjBpYP','action','function','944230ESQiYy','threeVerticalDots','first','listView','extendTemplate','_action','isReady','939464qRMcNX','set','isVisible','items','bindTemplate','execute','ck-on','5DkMYRz','children','source','isOpen','ck-revision-history-sidebar__revision__actions','change:isActionsDropdownOpen','Name\x20this\x20revision','find','buttonView','43370FFunvT','stopPropagation','name','1587408cMlKMR','isActionsDropdownOpen','add','class','button'];_0x4621=function(){return _0xe25381;};return _0x4621();}import{Collection as _0x4ff880}from'ckeditor5/src/utils.js';import{icons as _0x31ece3}from'ckeditor5/src/core.js';import{ViewModel as _0x2f8fee,addListToDropdown as _0x595118,createDropdown as _0xc9ac80}from'ckeditor5/src/ui.js';import{getTranslation as _0x5a95c7}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x2fe4a1,_0x4904be){const _0x3f2a04=_0x9cb7,_0x480db8=_0x2fe4a1[_0x3f2a04(0x18c)],_0x4b600b=_0x2fe4a1[_0x3f2a04(0x1a1)],_0x2a251d=_0xc9ac80(_0x4b600b);_0x2a251d[_0x3f2a04(0x1a0)]='sw';const _0xeac496=function(_0x5e44b1,_0x337e02){const _0x30fd58=_0x3f2a04,_0x2c1edb=function(_0x1885dc,_0x2603f3){const _0x464d45=_0x9cb7,_0x221e5a=_0x1885dc[_0x464d45(0x1a1)],_0x15563a={'Compare\x20against\x20selected':_0x5a95c7(_0x221e5a,_0x464d45(0x1a2)),'Name\x20this\x20revision':_0x5a95c7(_0x221e5a,_0x464d45(0x195)),'Restore\x20this\x20revision':_0x5a95c7(_0x221e5a,_0x464d45(0x176))};return _0x2603f3[_0x464d45(0x17c)](_0x343e32=>{const _0x4f72e3=_0x464d45,_0x207c6f=_0x15563a[_0x343e32[_0x4f72e3(0x19a)]];return _0x207c6f&&_0x207c6f!==_0x343e32[_0x4f72e3(0x19a)]&&(_0x343e32[_0x4f72e3(0x19a)]=_0x207c6f),_0x343e32;});}(_0x5e44b1,_0x337e02),_0x39ed30=new _0x4ff880();for(const _0x429a67 of _0x2c1edb){const _0x2fa55e={'type':_0x30fd58(0x19f),'model':new _0x2f8fee({'label':_0x429a67[_0x30fd58(0x19a)],'class':_0x429a67[_0x30fd58(0x19e)],'withText':!0x0,'_action':_0x429a67[_0x30fd58(0x17f)]})};_0x2fa55e[_0x30fd58(0x179)][_0x30fd58(0x177)](_0x30fd58(0x175))['to'](_0x5e44b1,_0x30fd58(0x19c),_0x39a9a0=>_0x30fd58(0x180)!=typeof _0x429a67[_0x30fd58(0x175)]||(!_0x39a9a0||_0x429a67[_0x30fd58(0x175)](_0x5e44b1))),_0x39ed30[_0x30fd58(0x19d)](_0x2fa55e);}return _0x39ed30;}(_0x2fe4a1,_0x4904be);return _0x2fe4a1[_0x3f2a04(0x177)](_0x3f2a04(0x19c))['to'](_0x2a251d,_0x3f2a04(0x192)),_0x2a251d[_0x3f2a04(0x197)][_0x3f2a04(0x189)]({'label':_0x5a95c7(_0x4b600b,_0x3f2a04(0x17a)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x31ece3[_0x3f2a04(0x182)]}),_0x2a251d[_0x3f2a04(0x185)]({'attributes':{'class':[_0x3f2a04(0x193),_0x480db8['if'](_0x3f2a04(0x19c),_0x3f2a04(0x18e))]},'on':{'click':_0x480db8['to'](_0x28ec79=>_0x28ec79[_0x3f2a04(0x199)]())}}),_0x2a251d['on'](_0x3f2a04(0x18d),_0x3acba2=>{const _0x131e80=_0x3f2a04;_0x2fe4a1[_0x131e80(0x187)]&&_0x131e80(0x180)==typeof _0x3acba2[_0x131e80(0x191)][_0x131e80(0x186)]&&_0x3acba2[_0x131e80(0x191)][_0x131e80(0x186)](_0x2fe4a1);}),_0x595118(_0x2a251d,_0xeac496),_0x2a251d[_0x3f2a04(0x17d)](_0x2fe4a1,_0x3f2a04(0x194),(_0x34a5f2,_0xeef429,_0x2630ec)=>{const _0x2584f2=_0x3f2a04;if(_0x2630ec)for(const _0x3ab426 of _0x2a251d[_0x2584f2(0x184)][_0x2584f2(0x18b)]){const _0x5cc4e5=_0x3ab426[_0x2584f2(0x190)][_0x2584f2(0x183)],_0x355828=_0x4904be[_0x2584f2(0x196)](_0x18a7d5=>_0x18a7d5[_0x2584f2(0x17f)]===_0x5cc4e5[_0x2584f2(0x186)])[_0x2584f2(0x18a)];_0x3ab426[_0x2584f2(0x18a)]=void 0x0===_0x355828||_0x355828(_0x2fe4a1);}}),_0x2a251d;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x46001f,_0x4863dc){const _0x413337=_0x521b,_0x3ccff2=_0x46001f();while(!![]){try{const _0x5c107b=parseInt(_0x413337(0x1b7))/0x1+parseInt(_0x413337(0x1bf))/0x2*(parseInt(_0x413337(0x1c3))/0x3)+parseInt(_0x413337(0x1be))/0x4+parseInt(_0x413337(0x1b9))/0x5*(-parseInt(_0x413337(0x1ba))/0x6)+parseInt(_0x413337(0x1bb))/0x7*(parseInt(_0x413337(0x1c7))/0x8)+-parseInt(_0x413337(0x1c2))/0x9+-parseInt(_0x413337(0x1bd))/0xa;if(_0x5c107b===_0x4863dc)break;else _0x3ccff2['push'](_0x3ccff2['shift']());}catch(_0xbc3ecf){_0x3ccff2['push'](_0x3ccff2['shift']());}}}(_0x21ec,0xdb28f));import{View as _0x415a81,IconView as _0x1ce5f8}from'ckeditor5/src/ui.js';function _0x521b(_0x278f46,_0x4b0dce){const _0x21ec38=_0x21ec();return _0x521b=function(_0x521b78,_0x7d86e0){_0x521b78=_0x521b78-0x1b6;let _0x149999=_0x21ec38[_0x521b78];return _0x149999;},_0x521b(_0x278f46,_0x4b0dce);}import{getTranslation as _0x260f19}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0x5df1c0 from'../../../theme/icons/user.svg';function _0x21ec(){const _0x7a7b2e=['6009250zqAHTn','6630576tAWWHJ','18266ssnWSw','setTemplate','ck-revision-history-sidebar__revision-author','5107878anvqqn','15tpfvEc','set','ck-revision-history-sidebar__revision-author__name','name','442832wPqAbO','push','span','Revision\x20author','ck-revision-history-sidebar__revision-author_creator','1030050rWQNOd','Revision\x20creator','795TLvDMO','35622yqmEUt','35EMhMlr','0\x200\x2011\x2010'];_0x21ec=function(){return _0x7a7b2e;};return _0x21ec();}export default class ti extends _0x415a81{constructor(_0xdec55c,_0x30a3b7,_0x2ab9d4){const _0x1474e3=_0x521b;super(_0xdec55c);const _0x4d49e9=new _0x1ce5f8();_0x4d49e9[_0x1474e3(0x1c4)]({'content':_0x5df1c0,'viewBox':_0x1474e3(0x1bc)});const _0x282e2a=['ck',_0x1474e3(0x1c1)];_0x2ab9d4&&_0x282e2a[_0x1474e3(0x1c8)](_0x1474e3(0x1b6));const _0x29cd70=[{'tag':_0x1474e3(0x1c9),'attributes':{'class':['ck',_0x1474e3(0x1c5)],'title':_0x260f19(_0xdec55c,_0x2ab9d4?_0x1474e3(0x1b8):_0x1474e3(0x1ca))},'children':[_0x4d49e9,_0x30a3b7[_0x1474e3(0x1c6)]]}];this[_0x1474e3(0x1c0)]({'tag':'li','attributes':{'class':_0x282e2a},'children':_0x29cd70});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x443b26=_0x4553;(function(_0x3dfd15,_0x423bb5){const _0x1f4947=_0x4553,_0x16c248=_0x3dfd15();while(!![]){try{const _0x1261a2=parseInt(_0x1f4947(0xe9))/0x1+-parseInt(_0x1f4947(0xf5))/0x2*(-parseInt(_0x1f4947(0xe8))/0x3)+-parseInt(_0x1f4947(0xe3))/0x4+-parseInt(_0x1f4947(0xec))/0x5+-parseInt(_0x1f4947(0xfc))/0x6*(-parseInt(_0x1f4947(0xf3))/0x7)+-parseInt(_0x1f4947(0xf4))/0x8*(parseInt(_0x1f4947(0xf7))/0x9)+-parseInt(_0x1f4947(0xed))/0xa*(-parseInt(_0x1f4947(0xfb))/0xb);if(_0x1261a2===_0x423bb5)break;else _0x16c248['push'](_0x16c248['shift']());}catch(_0x336021){_0x16c248['push'](_0x16c248['shift']());}}}(_0x1f03,0xa01b6));import{LabeledFieldView as _0x22a66d}from'ckeditor5/src/ui.js';function _0x4553(_0x24d2b2,_0x27fe3e){const _0x1f0331=_0x1f03();return _0x4553=function(_0x4553b3,_0x4aae1a){_0x4553b3=_0x4553b3-0xe2;let _0x268cb8=_0x1f0331[_0x4553b3];return _0x268cb8;},_0x4553(_0x24d2b2,_0x27fe3e);}function _0x1f03(){const _0x57e5f7=['listenTo','175356ontuoh','602981zqbTJE','set','Revision\x20name','3759100UzpTuf','50pIDigs','bindTemplate','clientWidth','Enter\x20the\x20revision\x20name','value','placeholder','4113557FcDtbN','557416DzNGPK','4Xxonpt','_resizeObserver','99JzgJXv','element','_updateTooltipText','ck-revision-history-sidebar__revision-name','4597802IpYRRa','6rPRveW','destroy','span','_tooltipString','input','render','extendTemplate','4893524sFiurD','fieldView','scrollWidth','ck-tooltip_multi-line'];_0x1f03=function(){return _0x57e5f7;};return _0x1f03();}import{ResizeObserver as _0x586a6b}from'ckeditor5/src/utils.js';import{getTranslation as _0x523c7c}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class vt extends _0x22a66d{constructor(_0x4d205d,_0x524d55){const _0x4ae21d=_0x4553;super(_0x4d205d,_0x524d55),this[_0x4ae21d(0xf6)]=null;const _0x2fdefc=this[_0x4ae21d(0xee)];this[_0x4ae21d(0xea)]({'label':_0x523c7c(_0x4d205d,_0x4ae21d(0xeb)),'_tooltipString':''}),this[_0x4ae21d(0xe4)][_0x4ae21d(0xf2)]=_0x523c7c(_0x4d205d,_0x4ae21d(0xf0)),this[_0x4ae21d(0xe2)]({'tag':_0x4ae21d(0xfe),'attributes':{'class':[_0x4ae21d(0xfa)],'data-cke-tooltip-text':_0x2fdefc['to'](_0x4ae21d(0xff)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x4ae21d(0xe6)}});}[_0x443b26(0x101)](){const _0x31fb69=_0x443b26;super[_0x31fb69(0x101)](),this[_0x31fb69(0xf6)]=new _0x586a6b(this[_0x31fb69(0xe4)][_0x31fb69(0xf8)],()=>this[_0x31fb69(0xf9)]()),this[_0x31fb69(0xe7)](this[_0x31fb69(0xe4)],_0x31fb69(0x100),()=>this[_0x31fb69(0xf9)]());}[_0x443b26(0xfd)](){const _0x18fb7a=_0x443b26;super[_0x18fb7a(0xfd)](),this[_0x18fb7a(0xf6)]&&this[_0x18fb7a(0xf6)][_0x18fb7a(0xfd)]();}[_0x443b26(0xf9)](){const _0x391c64=_0x443b26,_0x1240b3=this[_0x391c64(0xe4)][_0x391c64(0xf8)];this[_0x391c64(0xff)]=_0x1240b3[_0x391c64(0xe5)]>_0x1240b3[_0x391c64(0xef)]&&_0x1240b3[_0x391c64(0xf1)]||'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56cccf=_0x307e;(function(_0x182be6,_0xa86555){const _0x1c0864=_0x307e,_0xfa724a=_0x182be6();while(!![]){try{const _0x407796=-parseInt(_0x1c0864(0x198))/0x1*(parseInt(_0x1c0864(0x191))/0x2)+parseInt(_0x1c0864(0x19a))/0x3*(parseInt(_0x1c0864(0x19f))/0x4)+parseInt(_0x1c0864(0x1cf))/0x5+parseInt(_0x1c0864(0x195))/0x6*(parseInt(_0x1c0864(0x1a2))/0x7)+-parseInt(_0x1c0864(0x1ba))/0x8+parseInt(_0x1c0864(0x194))/0x9+-parseInt(_0x1c0864(0x196))/0xa*(-parseInt(_0x1c0864(0x1a7))/0xb);if(_0x407796===_0xa86555)break;else _0xfa724a['push'](_0xfa724a['shift']());}catch(_0x2a2018){_0xfa724a['push'](_0xfa724a['shift']());}}}(_0x2857,0x3dcac));import{View as _0x454b79,createLabeledInputText as _0x2775d4}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x243417}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x307e(_0x43ce09,_0x7147c3){const _0x2857ab=_0x2857();return _0x307e=function(_0x307e7e,_0xff66ef){_0x307e7e=_0x307e7e-0x18e;let _0x3b26cb=_0x2857ab[_0x307e7e];return _0x3b26cb;},_0x307e(_0x43ce09,_0x7147c3);}function _0x2857(){const _0xec3422=['_requireRevisionName','ck-reset','change','ck-revision-history-sidebar__actions_dropdown_open','isSelected','highlight','revisionNameView','name','deselect','div','_createdAtFormatted','value','350940mrGzVM','fieldView','220','createdAt','20yhETan','creator','ck-revision-history-sidebar__revision','164718GZIIKW','60MVMPQw','355030FqmzCm','filter','16872KBlLfy','setName','1228551oNMkic','.ck-thread__remove-confirm','ck-revision-history-sidebar__revision-wrapper','_revision','element','4aaOOlA','uiLanguage','ck-revision-history-sidebar__revision_highlighted','71477gTBhcS','unshift','ck-disabled','isActionsDropdownOpen','ck-revision-history-sidebar__revision-authors','11sDzHYM','bind','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','unhighlight','map','render','isHighlighted','bindTemplate','isConfirm','revisionActionsView','ck-revision-history-sidebar__revision__date','closest','isEnabled','length','select','set','setTemplate','ck-revision-history-sidebar__revision_selected','extendTemplate','1710400DOKhNj','ck-revision-history-sidebar__revision__controls-wrapper','span','authors','srcElement','from','isReady','listenTo','fire'];_0x2857=function(){return _0xec3422;};return _0x2857();}import _0x36152d from'./revisionnameview.js';import _0x26b57f from'./revisionauthorview.js';import{dateToPrettyFormat as _0x2b2f95}from'./utils.js';import{createActionsDropdownView as _0x1f2c3d}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends _0x243417(_0x454b79){constructor(_0x7431c4,_0x5510ad,_0x5ea101,_0x4befff){const _0x5fbbab=_0x307e;super(_0x7431c4);const _0x429836=this[_0x5fbbab(0x1ae)],_0xd5f1c9=function(_0x1e6395,_0x203a09){const _0xf3a0b=_0x5fbbab,_0x356056=Array[_0xf3a0b(0x1bf)](_0x203a09[_0xf3a0b(0x1bd)])[_0xf3a0b(0x197)](_0x4d3936=>_0x4d3936!=_0x203a09[_0xf3a0b(0x192)]);return _0x203a09[_0xf3a0b(0x192)]&&_0x356056[_0xf3a0b(0x1a3)](_0x203a09[_0xf3a0b(0x192)]),_0x356056[_0xf3a0b(0x1ab)](_0x48d2ec=>new _0x26b57f(_0x1e6395,_0x48d2ec,_0x48d2ec==_0x203a09[_0xf3a0b(0x192)]));}(_0x7431c4,_0x5510ad);this['id']=_0x5510ad['id'],this[_0x5fbbab(0x19d)]=_0x5510ad,this[_0x5fbbab(0x1c3)]=_0x4befff,this[_0x5fbbab(0x1a8)](_0x5fbbab(0x1ca),_0x5fbbab(0x190))['to'](_0x5510ad),this[_0x5fbbab(0x1a8)](_0x5fbbab(0x1cd))['to'](this,_0x5fbbab(0x190),_0x559715=>_0x2b2f95(_0x7431c4[_0x5fbbab(0x1a0)],_0x559715)),this[_0x5fbbab(0x1b6)](_0x5fbbab(0x1c7),!0x1),this[_0x5fbbab(0x1b6)](_0x5fbbab(0x1ad),!0x1),this[_0x5fbbab(0x1b6)](_0x5fbbab(0x1a5),!0x1),this[_0x5fbbab(0x1b6)](_0x5fbbab(0x1c0),!0x1),this[_0x5fbbab(0x1b6)](_0x5fbbab(0x1b3),!0x1),this[_0x5fbbab(0x1c9)]=new _0x36152d(_0x7431c4,_0x2775d4),this[_0x5fbbab(0x1c9)][_0x5fbbab(0x18e)][_0x5fbbab(0x1b9)]({'attributes':{'maxlength':_0x5fbbab(0x18f)}}),this[_0x5fbbab(0x1c9)][_0x5fbbab(0x18e)][_0x5fbbab(0x1a8)](_0x5fbbab(0x1ce))['to'](this,_0x5fbbab(0x1ca),_0x61245f=>_0x61245f||this[_0x5fbbab(0x1cd)]),this[_0x5fbbab(0x1c9)][_0x5fbbab(0x1a8)](_0x5fbbab(0x1b3))['to'](this,_0x5fbbab(0x1c7),this,_0x5fbbab(0x1b3),(_0xf8fc6a,_0x2f77ca)=>_0xf8fc6a&&_0x2f77ca),this[_0x5fbbab(0x1b0)]=_0x5ea101&&_0x5ea101[_0x5fbbab(0x1b4)]?_0x1f2c3d(this,_0x5ea101):'',this[_0x5fbbab(0x1b0)]&&this[_0x5fbbab(0x1b0)][_0x5fbbab(0x1a8)](_0x5fbbab(0x1b3))['to'](this),this[_0x5fbbab(0x1b7)]({'tag':_0x5fbbab(0x1cc),'attributes':{'class':['ck',_0x5fbbab(0x1c4),_0x5fbbab(0x19c),_0x429836['if'](_0x5fbbab(0x1af),_0x5fbbab(0x1a9))]},'children':[{'tag':_0x5fbbab(0x1cc),'attributes':{'class':['ck',_0x5fbbab(0x1c4),_0x5fbbab(0x193),_0x429836['if'](_0x5fbbab(0x1b3),_0x5fbbab(0x1a4),_0x3df43b=>!_0x3df43b),_0x429836['if'](_0x5fbbab(0x1c7),_0x5fbbab(0x1b8)),_0x429836['if'](_0x5fbbab(0x1ad),_0x5fbbab(0x1a1)),_0x429836['if'](_0x5fbbab(0x1a5),_0x5fbbab(0x1c6))]},'children':[this[_0x5fbbab(0x1c9)],{'tag':_0x5fbbab(0x1bc),'attributes':{'class':['ck',_0x5fbbab(0x1b1)]},'children':[{'text':_0x429836['to'](_0x5fbbab(0x1cd))}]},{'tag':_0x5fbbab(0x1cc),'attributes':{'class':['ck',_0x5fbbab(0x1bb)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x5fbbab(0x1a6)]},'children':_0xd5f1c9}]},this[_0x5fbbab(0x1b0)]],'on':{'click':_0x429836['to'](_0x362d68=>{const _0x67e9e=_0x5fbbab;_0x362d68[_0x67e9e(0x1be)][_0x67e9e(0x1b2)](_0x67e9e(0x19b))||this[_0x67e9e(0x1c0)]&&this[_0x67e9e(0x1b3)]&&this[_0x67e9e(0x1c2)](_0x67e9e(0x1b5),{'id':this['id']});})}}]});}[_0x56cccf(0x1ac)](){const _0x3db21a=_0x56cccf;super[_0x3db21a(0x1ac)]();const _0x34671a=this[_0x3db21a(0x1c9)][_0x3db21a(0x18e)][_0x3db21a(0x19e)];this[_0x3db21a(0x1c1)](_0x34671a,_0x3db21a(0x1c5),()=>{const _0x288047=_0x3db21a;this[_0x288047(0x1c3)]&&!_0x34671a[_0x288047(0x1ce)]||this[_0x288047(0x1c2)](_0x288047(0x199),{'id':this['id'],'name':_0x34671a[_0x288047(0x1ce)]}),_0x34671a[_0x288047(0x1ce)]||(_0x34671a[_0x288047(0x1ce)]=this[_0x288047(0x1ca)]?this[_0x288047(0x1ca)]:this[_0x288047(0x1cd)]);});}[_0x56cccf(0x1b5)](){const _0x227554=_0x56cccf;this[_0x227554(0x1c7)]=!0x0;}[_0x56cccf(0x1cb)](){const _0x168d3a=_0x56cccf;this[_0x168d3a(0x1c7)]=!0x1;}[_0x56cccf(0x1c8)](){const _0x3832e7=_0x56cccf;this[_0x3832e7(0x1ad)]=!0x0;}[_0x56cccf(0x1aa)](){const _0x2cc670=_0x56cccf;this[_0x2cc670(0x1ad)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x570c(){const _0x29e88a=['582aBoQxR','5931jlKMRU','8177192VaAZso','_isCollapsed','bindTemplate','246813VTOjkI','setTemplate','button','click','toggle','ck-hidden','22926969iQzUmD','set','ck-revision-history-sidebar__subrevision-collapser_collapsed','false','150980YXfJzl','34jvNEQG','ck-revision-history-sidebar__subrevision-collapser__inner','isVisible','936728vBEgGM','ck-revision-history-sidebar__subrevision-collapser','span','30325xXsbkc','true'];_0x570c=function(){return _0x29e88a;};return _0x570c();}const _0x1f116=_0x4c5c;function _0x4c5c(_0x2f47d9,_0x144608){const _0x570cee=_0x570c();return _0x4c5c=function(_0x4c5c95,_0x5910ff){_0x4c5c95=_0x4c5c95-0x197;let _0x363440=_0x570cee[_0x4c5c95];return _0x363440;},_0x4c5c(_0x2f47d9,_0x144608);}(function(_0x5cae5d,_0x40a4ae){const _0x5a3afa=_0x4c5c,_0x12c9b0=_0x5cae5d();while(!![]){try{const _0x2c52d9=-parseInt(_0x5a3afa(0x1aa))/0x1+parseInt(_0x5a3afa(0x1ab))/0x2*(parseInt(_0x5a3afa(0x19c))/0x3)+-parseInt(_0x5a3afa(0x1ae))/0x4+-parseInt(_0x5a3afa(0x199))/0x5*(parseInt(_0x5a3afa(0x19b))/0x6)+parseInt(_0x5a3afa(0x1a0))/0x7+-parseInt(_0x5a3afa(0x19d))/0x8+parseInt(_0x5a3afa(0x1a6))/0x9;if(_0x2c52d9===_0x40a4ae)break;else _0x12c9b0['push'](_0x12c9b0['shift']());}catch(_0xdf2581){_0x12c9b0['push'](_0x12c9b0['shift']());}}}(_0x570c,0x97895));import{View as _0x25c955}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x25c955{constructor(_0x5b1810){const _0x42a29d=_0x4c5c;super(_0x5b1810);const _0x47dee4=this[_0x42a29d(0x19f)];this[_0x42a29d(0x1a7)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x42a29d(0x1a1)]({'tag':_0x42a29d(0x198),'attributes':{'class':['ck',_0x42a29d(0x197),_0x47dee4['if'](_0x42a29d(0x1ad),_0x42a29d(0x1a5),_0x277607=>!_0x277607),_0x47dee4['if'](_0x42a29d(0x19e),_0x42a29d(0x1a8))],'role':_0x42a29d(0x1a2),'aria-pressed':_0x47dee4['to'](_0x42a29d(0x19e),_0xc0fced=>_0xc0fced?_0x42a29d(0x1a9):_0x42a29d(0x19a))},'children':[{'tag':_0x42a29d(0x198),'attributes':{'class':['ck',_0x42a29d(0x1ac)]}}],'on':{'click':_0x47dee4['to'](_0x42a29d(0x1a3))}});}[_0x1f116(0x1a4)](){const _0x21d8cf=_0x1f116;this[_0x21d8cf(0x19e)]=!this[_0x21d8cf(0x19e)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x453b8a=_0x43d9;function _0x5983(){const _0x206e96=['ck-revision-history-sidebar__revision_selected','set','632NnRFAL','1467688tdFuGb','ck-reset','29907LzUvfk','createdAt','6sjRGXM','isSelected','227550tCMLbD','setTemplate','bindTemplate','span','_parentRevisionId','ck-revision-history-sidebar__revision__date','42890sPFfTb','ck-revision-history-sidebar__revision','bind','ck-revision-history-sidebar__subrevision','9790340Nkhbet','321216rMGUoY','select','150PdIweI','div','831805gbGRts','creator','deselect','fire','uiLanguage','_createdAtFormatted','ck-revision-history-sidebar__revision-authors'];_0x5983=function(){return _0x206e96;};return _0x5983();}(function(_0x56e090,_0x522906){const _0x5df47a=_0x43d9,_0x1d4b46=_0x56e090();while(!![]){try{const _0x3eff17=-parseInt(_0x5df47a(0x1c4))/0x1+parseInt(_0x5df47a(0x1bb))/0x2+-parseInt(_0x5df47a(0x1b3))/0x3*(parseInt(_0x5df47a(0x1af))/0x4)+parseInt(_0x5df47a(0x1b5))/0x5*(parseInt(_0x5df47a(0x1c2))/0x6)+-parseInt(_0x5df47a(0x1c0))/0x7+parseInt(_0x5df47a(0x1ae))/0x8*(parseInt(_0x5df47a(0x1b1))/0x9)+parseInt(_0x5df47a(0x1bf))/0xa;if(_0x3eff17===_0x522906)break;else _0x1d4b46['push'](_0x1d4b46['shift']());}catch(_0x49c069){_0x1d4b46['push'](_0x1d4b46['shift']());}}}(_0x5983,0xc0ad9));import{View as _0x18ddad}from'ckeditor5/src/ui.js';import _0x52b87a from'./revisionauthorview.js';function _0x43d9(_0x5cc898,_0x258170){const _0x598341=_0x5983();return _0x43d9=function(_0x43d930,_0x524ebc){_0x43d930=_0x43d930-0x1a9;let _0x5eb27c=_0x598341[_0x43d930];return _0x5eb27c;},_0x43d9(_0x5cc898,_0x258170);}import{dateToPrettyFormat as _0xa20904}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x18ddad{constructor(_0x32278e,_0x2486a0,_0x3c26ac){const _0x54bdb7=_0x43d9;super(_0x32278e);const _0xb2fafa=this[_0x54bdb7(0x1b7)];this['id']=_0x2486a0['id'],this[_0x54bdb7(0x1bd)](_0x54bdb7(0x1b2))['to'](_0x2486a0),this[_0x54bdb7(0x1ad)](_0x54bdb7(0x1b4),!0x1),this[_0x54bdb7(0x1bd)](_0x54bdb7(0x1aa))['to'](this,_0x54bdb7(0x1b2),_0x23966f=>_0x23966f?_0xa20904(_0x32278e[_0x54bdb7(0x1a9)],_0x23966f):void 0x0),this[_0x54bdb7(0x1b9)]=_0x3c26ac,this[_0x54bdb7(0x1b6)]({'tag':_0x54bdb7(0x1c3),'attributes':{'class':['ck',_0x54bdb7(0x1b0),_0x54bdb7(0x1bc),_0x54bdb7(0x1be),_0xb2fafa['if'](_0x54bdb7(0x1b4),_0x54bdb7(0x1ac))]},'children':[{'tag':_0x54bdb7(0x1b8),'attributes':{'class':['ck',_0x54bdb7(0x1ba)]},'children':[{'text':_0xb2fafa['to'](_0x54bdb7(0x1aa))}]},{'tag':'ul','attributes':{'class':['ck',_0x54bdb7(0x1ab)]},'children':[new _0x52b87a(_0x32278e,_0x2486a0[_0x54bdb7(0x1c5)],!0x0)]}],'on':{'click':_0xb2fafa['to'](this[_0x54bdb7(0x1c1)][_0x54bdb7(0x1bd)](this))}});}[_0x453b8a(0x1c1)](){const _0x31b767=_0x453b8a;this[_0x31b767(0x1b4)]=!0x0,this[_0x31b767(0x1c7)](_0x31b767(0x1c1),{'parentId':this[_0x31b767(0x1b9)]});}[_0x453b8a(0x1c6)](){const _0x19b9b4=_0x453b8a;this[_0x19b9b4(0x1b4)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1a48bb,_0x3ea268){var _0x57007e=_0x37d2,_0xd15af=_0x1a48bb();while(!![]){try{var _0x2d968f=parseInt(_0x57007e(0x158))/0x1*(parseInt(_0x57007e(0x159))/0x2)+parseInt(_0x57007e(0x15b))/0x3+parseInt(_0x57007e(0x163))/0x4+-parseInt(_0x57007e(0x160))/0x5+parseInt(_0x57007e(0x15e))/0x6+parseInt(_0x57007e(0x15d))/0x7*(parseInt(_0x57007e(0x162))/0x8)+-parseInt(_0x57007e(0x15c))/0x9*(parseInt(_0x57007e(0x157))/0xa);if(_0x2d968f===_0x3ea268)break;else _0xd15af['push'](_0xd15af['shift']());}catch(_0x213657){_0xd15af['push'](_0xd15af['shift']());}}}(_0x501f,0xd8569));function _0x37d2(_0x3e06f3,_0x13ce32){var _0x501fc0=_0x501f();return _0x37d2=function(_0x37d2e1,_0x501d8d){_0x37d2e1=_0x37d2e1-0x157;var _0x5343b7=_0x501fc0[_0x37d2e1];return _0x5343b7;},_0x37d2(_0x3e06f3,_0x13ce32);}export function dateToPrettyFormat(_0xb09aa0,_0xae60a8){var _0x14e79c=_0x37d2;return _0xae60a8[_0x14e79c(0x161)](_0xb09aa0,{'month':_0x14e79c(0x164),'day':_0x14e79c(0x15a)})+',\x20'+_0xae60a8[_0x14e79c(0x15f)](_0xb09aa0,{'hour':_0x14e79c(0x15a),'minute':_0x14e79c(0x15a)});}function _0x501f(){var _0x503f6d=['14KStrpx','numeric','4470708LFhqYU','5809221vxkpnN','2072322Ffhoqi','5541810zdRUsf','toLocaleTimeString','5019010SPgImv','toLocaleDateString','32hkKCHv','4276088ngcMWy','long','50FNlTHo','64313xuIkWh'];_0x501f=function(){return _0x503f6d;};return _0x501f();}
|