@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250611.0 → 0.0.0-nightly-20250613.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 +7 -7
- 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/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.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/nb.js +1 -1
- package/dist/translations/nb.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/ti.js +1 -1
- package/dist/translations/ti.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/uz.js +1 -1
- package/dist/translations/uz.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 +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.d.ts +3 -2
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.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 +2 -2
- 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 +2 -2
- 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 _0xdbbef0=_0x30ee;function _0x30ee(_0x87f9b,_0xeed958){const _0x47cc54=_0x47cc();return _0x30ee=function(_0x30eea2,_0x4fc7a3){_0x30eea2=_0x30eea2-0x1e5;let _0x32bbb4=_0x47cc54[_0x30eea2];return _0x32bbb4;},_0x30ee(_0x87f9b,_0xeed958);}(function(_0x1531db,_0x597d36){const _0x39eeaa=_0x30ee,_0x142ec1=_0x1531db();while(!![]){try{const _0x55fa37=-parseInt(_0x39eeaa(0x215))/0x1*(-parseInt(_0x39eeaa(0x1fa))/0x2)+parseInt(_0x39eeaa(0x208))/0x3+-parseInt(_0x39eeaa(0x1f1))/0x4*(parseInt(_0x39eeaa(0x2d9))/0x5)+parseInt(_0x39eeaa(0x28e))/0x6+parseInt(_0x39eeaa(0x2c7))/0x7+parseInt(_0x39eeaa(0x29b))/0x8*(-parseInt(_0x39eeaa(0x2bf))/0x9)+-parseInt(_0x39eeaa(0x2e2))/0xa;if(_0x55fa37===_0x597d36)break;else _0x142ec1['push'](_0x142ec1['shift']());}catch(_0x26dc7f){_0x142ec1['push'](_0x142ec1['shift']());}}}(_0x47cc,0xe0bd6));import{Plugin as _0x49281d,Command as _0x5489ff}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x14a736}from'ckeditor5/src/utils.js';function _0x47cc(){const _0xec30c=['7181292xoNozP','RevisionHistoryUtils','showPreviousChange','editor','forEach','domEvent','showNextChange','conversion','repository','_setDistance','revision-suggestion:','forward','target','128zsXqyl','_step','_markMismatchedRemovedTags','bindElementToMarker','unbindElementFromMarkerName','revision:','change:isReady','changes','_fixObsoleteTags','vid_end','change:numberOfChanges','has','numberOfChanges','_balloon','insertion','toViewPosition','shift','execute','hasAttribute','getItems','_sortAndFilterDiffChanges','isOnRoot','_markSuggestions','elementEnd','markers','deletions','data','_threeWayMerge','previousPosition','attachChange','_changeView','push','restoreRevisionCallback','setAttribute','editingDowncast','getClientRects','993726HiJYrt','createAttributeElement','find','elementStart','isAttached','change:activeView','markerName','_setConversion','10553410fGkJhO','end','backward','getChild','RevisionViewer','addClass','return','observeMarkers','level','authors','getDomRoot','maxOffset','revision-suggestion','RevisionsRepository','plugins','_setChanges','userId','unshift','5CjHpRW','mouseover','isCollapsed','addHighlight','insert','splice','ck-suggestion-preview-marker-','oldRevisionId','WidgetToolbarRepository','13923710lFphXW','config','toViewRange','resolve','isAfter','model','viewItem','affectsData','_changeIdToChange','downcastDispatcher','indexOf','createRangeIn','slice','addMarker:revision-suggestion:insertion','attributesBefore','isAddSuggestion','hasClass','_activeViewTarget','revisionHistoryAttachChange','activeChange','bottom','isNavigationMode','item','modelRange','elementToAttribute','POSITIVE_INFINITY','markerRange','revision-comment:','_cleanMarkers','_cleanUp','updatePosition','removeMarker','high','offsetSize','next','clear','enableReadOnlyMode','removeMarker:revision-suggestion','findIndex','consumable','getIndex','removeMarker:revision','view','isBlock','addRevisionData','addMarker:revision-suggestion:deletion','revision-viewer','_processTape','delete','isAtEnd','concat','currentChangeNumber','diffData','_makeTape','_getRevisionsRange','insertions','stop','uiElement','markersEnd','createRange','nextSibling','endIndex','get','_getChangeFromId','map','merge','then','pop','listenTo','_getDiff','data-change-id','mapper','createPositionBefore','change:isEnabled','addRoot','revision','attributesAfter','type','_markMarkers','init','first','start','addMarker:revision','getRevision','loadRevisionData','4840252gZIovX','commands','detachRoot','dataDowncast','change:activeChange','ck-revision-history-root-add','showStack','rootName','wrap','505474hXoKtR','markerNameToElements','_removeMissingPairs','isRemoveSuggestion','ck-suggestion-preview-marker','remove','isAtStart','pluginName','markersStart','left','getWalker','locale','vid','side','3205974SkvyKn','parent','writer','ck-suggestion-marker-split','keys','getAttributes','name','addRevision','ck-revision-history-root-remove','span','_findChangeIdFromDomTarget','_revisions','comment','6OAAWnu','top','markerToData','restoreRevision','selection','distance','editing','index','_appendChild','requires','right','change','upcast','isEqual','isAdded','ck-suggestion-marker-','changeId','markerToHighlight','pairId','includes','diff','schema','_initInteractions','getLaterVisibleRevision','_data','string','_getViewForChange','isContent','filter','add','softBreak','element:pre','getCustomProperty','ck-suggestion-marker--active','isBefore','ck-editor__editable__overlay','-new','mousedown','flat','startIndex','roots','abs','range','_refreshStartEndIndex','for','suggestion:','isSuggestion','error','isReady','_joinTapes','attribute:vid','from','activeView','dataToMarker','refresh','catch','createRevision','attributes','document','_makeModelFromTape','getRootNames','all','nodeAfter','createPositionFromPath','text','mapViewToDom','_update','_markInsertions','ck-revision-history-root-','forceDisabled','length','removeClass','createUIElement','isObject','ck-revision-history-root--active','low','isOfficialPlugin','newRevisionId','isLimit','domConverter','highest','removeAttribute','getRevisionDocumentData','isInline','_makeModelFromViewString','nextPosition','adapter','destroy','consume','getAttribute','vid_start','test','split','compare','sort','element','_removeUnsupportedChanges','deletion','revisionHistoryLabel','isPremiumPlugin','_utils','isRemoved','startsWith','toViewElement','ck-suggestion-marker','suggestion','isEnabled','getRevisionRootsAttributes','code','done','getRoot','enqueueChange','isIncorrect','revisionHistory','ck-suggestion-marker-merge','values','checkAttribute','object','set','reconvertMarker','bind'];_0x47cc=function(){return _0xec30c;};return _0x47cc();}import{ContextualBalloon as _0x2c205c}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x43e0af,Element as _0x1e1c03,Text as _0x391001}from'ckeditor5/src/engine.js';import{Users as _0x587ccf,getMarkerDomElement as _0x2c591e}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x3382eb}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x1ce385}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x59069f}from'./revisionhistoryutils.js';import{ChangeItem as _0x33d504}from'./changeitem.js';import{RevisionDiff as _0x30139a}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x146e88}from'es-toolkit/compat';export class RevisionViewer extends _0x49281d{[_0xdbbef0(0x296)];[_0xdbbef0(0x26b)]=null;[_0xdbbef0(0x279)];[_0xdbbef0(0x2f3)];[_0xdbbef0(0x2b9)];[_0xdbbef0(0x2ea)];[_0xdbbef0(0x2a8)];static get[_0xdbbef0(0x201)](){const _0x52e9f3=_0xdbbef0;return _0x52e9f3(0x2cb);}static get[_0xdbbef0(0x261)](){return!0x0;}static get[_0xdbbef0(0x278)](){return!0x0;}static get[_0xdbbef0(0x21e)](){return[_0x587ccf,_0x2c205c,_0x1ce385,_0x59069f];}constructor(_0x1ffcd0){const _0x5be22d=_0xdbbef0;super(_0x1ffcd0),this[_0x5be22d(0x296)]=this[_0x5be22d(0x291)][_0x5be22d(0x2d5)][_0x5be22d(0x320)](_0x5be22d(0x2d4)),this[_0x5be22d(0x279)]=this[_0x5be22d(0x291)][_0x5be22d(0x2d5)][_0x5be22d(0x320)](_0x5be22d(0x28f)),this[_0x5be22d(0x28b)](_0x5be22d(0x2f5),null),this[_0x5be22d(0x28b)](_0x5be22d(0x249),null),this[_0x5be22d(0x2f3)]=null,this[_0x5be22d(0x28b)](_0x5be22d(0x229),null),this[_0x5be22d(0x28b)](_0x5be22d(0x245),!0x1),this[_0x5be22d(0x28b)](_0x5be22d(0x27f),!0x0),this['on'](_0x5be22d(0x1e5),(_0x15f196,_0x8fa5be,_0x3a38b0)=>{const _0x41b0ff=_0x5be22d;this[_0x41b0ff(0x2f5)]=null,this[_0x41b0ff(0x249)]=null,this[_0x41b0ff(0x291)][_0x41b0ff(0x21b)][_0x41b0ff(0x30c)][_0x41b0ff(0x220)](_0x170730=>{const _0x32df94=_0x41b0ff;for(const _0x21d0dd of this[_0x32df94(0x291)][_0x32df94(0x21b)][_0x32df94(0x30c)][_0x32df94(0x24f)][_0x32df94(0x23d)])_0x3a38b0?_0x170730[_0x32df94(0x25c)](_0x32df94(0x238),_0x21d0dd):_0x170730[_0x32df94(0x2cc)](_0x32df94(0x238),_0x21d0dd);});}),this[_0x5be22d(0x28d)](_0x5be22d(0x2f7))['to'](this,_0x5be22d(0x2f5),_0x43cfda=>null!==_0x43cfda),this[_0x5be22d(0x28d)](_0x5be22d(0x315))['to'](this,_0x5be22d(0x245),this,_0x5be22d(0x229),this,_0x5be22d(0x2f5),(_0x4c1ce0,_0x3377b8,_0x5bdd58)=>_0x4c1ce0&&_0x5bdd58?_0x3377b8[_0x5be22d(0x2a2)][_0x5be22d(0x30a)](_0x5bdd58):0x0),this[_0x5be22d(0x28d)](_0x5be22d(0x2a7))['to'](this,_0x5be22d(0x245),this,_0x5be22d(0x229),(_0x4e56f8,_0x1502f6)=>_0x4e56f8?_0x1502f6[_0x5be22d(0x2a2)][_0x5be22d(0x25b)]:0x0),this[_0x5be22d(0x2b9)]=null,this[_0x5be22d(0x2ea)]=new Map(),this[_0x5be22d(0x2a8)]=this[_0x5be22d(0x291)][_0x5be22d(0x2d5)][_0x5be22d(0x320)](_0x2c205c);}[_0xdbbef0(0x1eb)](){const _0x4eefab=_0xdbbef0,_0x1de9af=this[_0x4eefab(0x291)],_0x18c146=new ShowChangeCommand(_0x1de9af,{'direction':_0x4eefab(0x2c9)}),_0x2b5646=new ShowChangeCommand(_0x1de9af,{'direction':_0x4eefab(0x299)});(_0x1de9af[_0x4eefab(0x1f2)][_0x4eefab(0x232)](_0x4eefab(0x290),_0x18c146),_0x1de9af[_0x4eefab(0x1f2)][_0x4eefab(0x232)](_0x4eefab(0x294),_0x2b5646),_0x1de9af[_0x4eefab(0x1f2)][_0x4eefab(0x232)](_0x4eefab(0x218),new RestoreRevisionCommand(_0x1de9af)),this['on'](_0x4eefab(0x2a5),()=>{const _0x4912af=_0x4eefab;_0x18c146[_0x4912af(0x24b)](),_0x2b5646[_0x4912af(0x24b)]();}),this[_0x4eefab(0x2c6)](),this[_0x4eefab(0x22b)](),_0x1de9af[_0x4eefab(0x306)](_0x4eefab(0x310)),_0x1de9af[_0x4eefab(0x2d5)][_0x4eefab(0x2a6)](_0x4eefab(0x2e1)))&&_0x1de9af[_0x4eefab(0x2d5)][_0x4eefab(0x320)](_0x4eefab(0x2e1))[_0x4eefab(0x25a)](_0x4eefab(0x310));}async[_0xdbbef0(0x267)](_0x389125){const _0x38729c=_0xdbbef0;return await this[_0x38729c(0x279)][_0x38729c(0x1f0)](_0x389125,this[_0x38729c(0x26b)]),this[_0x38729c(0x279)][_0x38729c(0x267)](_0x389125);}async[_0xdbbef0(0x280)](_0x2155d2){const _0x4ad8df=_0xdbbef0;return await this[_0x4ad8df(0x279)][_0x4ad8df(0x1f0)](_0x2155d2,this[_0x4ad8df(0x26b)]),this[_0x4ad8df(0x279)][_0x4ad8df(0x280)](_0x2155d2);}async[_0xdbbef0(0x272)](_0x5365bf,_0x5525b5,_0x536a06=!0x1){const _0x32d22f=_0xdbbef0;if(!this[_0x32d22f(0x27f)])return;const _0x1a4613=this[_0x32d22f(0x229)],_0x22f1b1=this[_0x32d22f(0x296)],_0x2c9784=_0x32d22f(0x22e)==typeof _0x5365bf?_0x22f1b1[_0x32d22f(0x1ef)](_0x5365bf):_0x5365bf,_0x141d11=_0x32d22f(0x22e)==typeof _0x5525b5?_0x22f1b1[_0x32d22f(0x1ef)](_0x5525b5):_0x5525b5,_0x58f975=_0x2c9784['id'],_0x5ae36f=_0x141d11?_0x141d11['id']:null;if(!_0x536a06&&this[_0x32d22f(0x229)]&&this[_0x32d22f(0x229)][_0x32d22f(0x262)]===_0x58f975&&this[_0x32d22f(0x229)][_0x32d22f(0x2e0)]===_0x5ae36f)return Promise[_0x32d22f(0x2e5)]();this[_0x32d22f(0x245)]=!0x1,this[_0x32d22f(0x249)]=null,this[_0x32d22f(0x2f5)]=null,this[_0x32d22f(0x229)]=new _0x30139a(_0x58f975,_0x5ae36f);const _0x466d8b=this[_0x32d22f(0x318)](_0x2c9784,_0x141d11,!0x0)[_0x32d22f(0x322)](_0x4db78e=>this[_0x32d22f(0x279)][_0x32d22f(0x1f0)](_0x4db78e,this[_0x32d22f(0x26b)]));return _0x466d8b[_0x32d22f(0x2ba)](new Promise(_0x4885bb=>{setTimeout(_0x4885bb,0x14);})),Promise[_0x32d22f(0x252)](_0x466d8b)[_0x32d22f(0x324)](()=>{const _0x5036dc=_0x32d22f;if(!this[_0x5036dc(0x27f)])return;this[_0x5036dc(0x2ff)]();const _0x19bcb0=this[_0x5036dc(0x327)](_0x58f975,_0x5ae36f);for(const _0x5c8ea7 of _0x19bcb0[_0x5036dc(0x2a2)])this[_0x5036dc(0x2ea)][_0x5036dc(0x28b)](_0x5c8ea7['id'],_0x5c8ea7);this[_0x5036dc(0x291)][_0x5036dc(0x2e7)][_0x5036dc(0x284)]({'isUndoable':!0x1},_0x5a67e3=>{const _0x1d297f=_0x5036dc;for(const _0x259712 of this[_0x1d297f(0x291)][_0x1d297f(0x2e7)][_0x1d297f(0x24f)][_0x1d297f(0x251)]())_0x5a67e3[_0x1d297f(0x1f3)](_0x259712);for(const _0x1acbb5 of Object[_0x1d297f(0x20c)](_0x19bcb0[_0x1d297f(0x2e7)])){const _0x358670=_0x5a67e3[_0x1d297f(0x1e6)](_0x1acbb5);for(const _0x1c2621 of Object[_0x1d297f(0x20c)](_0x19bcb0[_0x1d297f(0x24e)][_0x1acbb5]))_0x5a67e3[_0x1d297f(0x2bc)](_0x1c2621,_0x19bcb0[_0x1d297f(0x24e)][_0x1acbb5][_0x1c2621],_0x358670);_0x5a67e3[_0x1d297f(0x2dd)](_0x19bcb0[_0x1d297f(0x2e7)][_0x1acbb5],_0x358670,0x0);}}),this[_0x5036dc(0x229)][_0x5036dc(0x2d6)](this[_0x5036dc(0x2af)](_0x19bcb0[_0x5036dc(0x2a2)])),this[_0x5036dc(0x245)]=!0x0;})[_0x32d22f(0x24c)](_0x2333db=>{const _0x1743b3=_0x32d22f;console[_0x1743b3(0x244)](_0x2333db),this[_0x1743b3(0x2ff)](),_0x1a4613&&(this[_0x1743b3(0x229)]=_0x1a4613),this[_0x1743b3(0x245)]=!0x0;});}[_0xdbbef0(0x30e)](_0x4405c1,_0x153f84){const _0x577b52=_0xdbbef0,_0x1cdb31=this[_0x577b52(0x296)][_0x577b52(0x24d)](_0x4405c1);return _0x1cdb31['on'](_0x577b52(0x257),(_0x4a754d,_0x4aec5a,_0x4912f4)=>_0x153f84(_0x4aec5a,_0x4912f4,_0x1cdb31)),this[_0x577b52(0x296)][_0x577b52(0x20f)](_0x1cdb31),_0x1cdb31;}[_0xdbbef0(0x2ff)](){const _0x2bad2c=_0xdbbef0;this[_0x2bad2c(0x2f5)]=null,this[_0x2bad2c(0x2fe)](),this[_0x2bad2c(0x2b9)]&&this[_0x2bad2c(0x2b9)][_0x2bad2c(0x26c)](),this[_0x2bad2c(0x2b9)]=null,this[_0x2bad2c(0x2ea)][_0x2bad2c(0x305)](),this[_0x2bad2c(0x291)][_0x2bad2c(0x2e7)][_0x2bad2c(0x284)]({'isUndoable':!0x1},_0x10d72a=>{const _0x27fcbf=_0x2bad2c;for(const _0x3ca66e of this[_0x27fcbf(0x291)][_0x27fcbf(0x2e7)][_0x27fcbf(0x24f)][_0x27fcbf(0x251)]())_0x10d72a[_0x27fcbf(0x1f3)](_0x3ca66e);});}[_0xdbbef0(0x2af)](_0xd329c5){const _0xd0a2a2=_0xdbbef0,_0x3ead88=[],_0x32ba34=new Map();for(const _0x577292 of this[_0xd0a2a2(0x291)][_0xd0a2a2(0x2e7)][_0xd0a2a2(0x24f)][_0xd0a2a2(0x251)]()){const _0x18af2a=this[_0xd0a2a2(0x291)][_0xd0a2a2(0x21b)][_0xd0a2a2(0x30c)][_0xd0a2a2(0x2d1)](_0x577292);if(!_0x18af2a)continue;const _0x54753a=_0x18af2a[_0xd0a2a2(0x2be)]()[_0xd0a2a2(0x2f8)](0x0);_0x54753a&&(_0x3ead88[_0xd0a2a2(0x2ba)](_0x577292),_0x32ba34[_0xd0a2a2(0x28b)](_0x577292,_0x54753a));}return _0x3ead88[_0xd0a2a2(0x273)]((_0x1dc6ee,_0x5983c7)=>{const _0x51d2c2=_0xd0a2a2,_0x22a585=_0x32ba34[_0x51d2c2(0x320)](_0x1dc6ee),_0x42fd43=_0x32ba34[_0x51d2c2(0x320)](_0x5983c7);return _0x22a585['y']-_0x42fd43['y']||_0x22a585['x']-_0x42fd43['x'];}),(_0xd329c5=_0xd329c5[_0xd0a2a2(0x231)](_0x90ffd7=>_0x3ead88[_0xd0a2a2(0x228)](_0x90ffd7[_0xd0a2a2(0x1f8)])))[_0xd0a2a2(0x273)]((_0x5d95b5,_0x1b431c)=>_0x3ead88[_0xd0a2a2(0x2ec)](_0x5d95b5[_0xd0a2a2(0x1f8)])-_0x3ead88[_0xd0a2a2(0x2ec)](_0x1b431c[_0xd0a2a2(0x1f8)])),_0xd329c5;}[_0xdbbef0(0x317)](_0x59a72a){const _0x3f5d1f=_0xdbbef0,_0x40b83d=Array[_0x3f5d1f(0x248)](_0x59a72a[_0x3f5d1f(0x2b3)])[_0x3f5d1f(0x231)](([_0x1ed5b6,_0x31997d])=>_0x1ed5b6[_0x3f5d1f(0x27b)](_0x3f5d1f(0x2a0))&&!_0x31997d[_0x3f5d1f(0x2db)]),_0xeb7a93=Array[_0x3f5d1f(0x248)](this[_0x3f5d1f(0x291)][_0x3f5d1f(0x2e7)][_0x3f5d1f(0x2ed)](_0x59a72a)[_0x3f5d1f(0x204)]({'singleCharacters':!0x0}));if(0x0!=_0x40b83d[_0x3f5d1f(0x25b)])for(const _0x3e2f10 of _0xeb7a93){const [_0x14a10d,_0x3557ce]=_0x40b83d[0x0],[,_0x1a7910,_0x220eec]=_0x14a10d[_0x3f5d1f(0x271)](':');if(_0x3557ce[_0x3f5d1f(0x2c8)][_0x3f5d1f(0x222)](_0x3e2f10[_0x3f5d1f(0x26a)])&&_0x40b83d[_0x3f5d1f(0x2ab)](),(_0x3e2f10[_0x3f5d1f(0x2b7)][_0x3f5d1f(0x222)](_0x3557ce[_0x3f5d1f(0x1ed)])||_0x3e2f10[_0x3f5d1f(0x2b7)][_0x3f5d1f(0x2e6)](_0x3557ce[_0x3f5d1f(0x1ed)]))&&(_0x3f5d1f(0x2a9)==_0x1a7910?_0x3e2f10[_0x3f5d1f(0x223)]={'userId':_0x220eec}:_0x3f5d1f(0x276)==_0x1a7910&&(_0x3e2f10[_0x3f5d1f(0x27a)]={'userId':_0x220eec})),0x0==_0x40b83d[_0x3f5d1f(0x25b)])break;}return _0xeb7a93;}[_0xdbbef0(0x240)](_0xc866fa){const _0x1bdd7b=_0xdbbef0,_0xaa727f=new Map();for(let _0x485f5f=0x0;_0x485f5f<_0xc866fa[_0x1bdd7b(0x25b)];_0x485f5f++)_0x1bdd7b(0x255)===_0xc866fa[_0x485f5f][_0x1bdd7b(0x1e9)]?(_0xc866fa[_0x485f5f][_0x1bdd7b(0x2f8)][_0x1bdd7b(0x23c)]=_0x485f5f,_0xc866fa[_0x485f5f][_0x1bdd7b(0x2f8)][_0x1bdd7b(0x31f)]=_0x485f5f):(_0x1bdd7b(0x2c2)===_0xc866fa[_0x485f5f][_0x1bdd7b(0x1e9)]?_0xc866fa[_0x485f5f][_0x1bdd7b(0x2f8)][_0x1bdd7b(0x23c)]=_0x485f5f:_0x1bdd7b(0x2b2)===_0xc866fa[_0x485f5f][_0x1bdd7b(0x1e9)]&&(_0xc866fa[_0x485f5f][_0x1bdd7b(0x2f8)][_0x1bdd7b(0x31f)]=_0x485f5f),_0xaa727f[_0x1bdd7b(0x28b)](_0xc866fa[_0x485f5f]['id'],_0x485f5f));for(const _0x28989d of _0xaa727f[_0x1bdd7b(0x288)]())_0x1bdd7b(0x2c2)===_0xc866fa[_0x28989d][_0x1bdd7b(0x1e9)]?_0xc866fa[_0x28989d][_0x1bdd7b(0x2f8)][_0x1bdd7b(0x31f)]=_0xaa727f[_0x1bdd7b(0x320)](_0xc866fa[_0x28989d][_0x1bdd7b(0x227)]):_0x1bdd7b(0x2b2)===_0xc866fa[_0x28989d][_0x1bdd7b(0x1e9)]&&(_0xc866fa[_0x28989d][_0x1bdd7b(0x2f8)][_0x1bdd7b(0x23c)]=_0xaa727f[_0x1bdd7b(0x320)](_0xc866fa[_0x28989d][_0x1bdd7b(0x227)]));}[_0xdbbef0(0x311)](_0x1c7a5c){const _0x2cb29e=_0xdbbef0;for(let _0xf89e=0x0;_0xf89e<_0x1c7a5c[_0x2cb29e(0x25b)];_0xf89e++){if(_0x2cb29e(0x2c2)===_0x1c7a5c[_0xf89e][_0x2cb29e(0x1e9)])_0x1c7a5c[_0xf89e][_0x2cb29e(0x2f8)][_0x2cb29e(0x23c)]=_0xf89e;else{if(_0x2cb29e(0x2b2)===_0x1c7a5c[_0xf89e][_0x2cb29e(0x1e9)]){_0x1c7a5c[_0xf89e][_0x2cb29e(0x2f8)][_0x2cb29e(0x31f)]=_0xf89e;const _0x47cf9c=_0x1c7a5c[_0xf89e][_0x2cb29e(0x2f8)][_0x2cb29e(0x23c)];_0x1c7a5c[_0x47cf9c][_0x2cb29e(0x227)]=_0x1c7a5c[_0xf89e]['id'],_0x1c7a5c[_0xf89e][_0x2cb29e(0x227)]=_0x1c7a5c[_0x47cf9c]['id'];}else _0x1c7a5c[_0xf89e][_0x2cb29e(0x2f8)][_0x2cb29e(0x23c)]=_0xf89e,_0x1c7a5c[_0xf89e][_0x2cb29e(0x2f8)][_0x2cb29e(0x31f)]=_0xf89e,_0x1c7a5c[_0xf89e][_0x2cb29e(0x227)]=null;}_0x1c7a5c[_0xf89e][_0x2cb29e(0x202)]||(_0x1c7a5c[_0xf89e][_0x2cb29e(0x202)]=[],_0x1c7a5c[_0xf89e][_0x2cb29e(0x31c)]=[]);}}[_0xdbbef0(0x258)](_0x544410,_0x344aea){const _0x3bb099=_0xdbbef0,_0x5dbef1=_0x544410[_0x3bb099(0x231)](_0x4e93e5=>!_0x4e93e5[_0x3bb099(0x223)]);for(let _0x36dc90=0x0;_0x36dc90<_0x344aea[_0x3bb099(0x25b)];_0x36dc90++)_0x344aea[_0x36dc90][_0x3bb099(0x223)]&&(_0x5dbef1[_0x36dc90][_0x3bb099(0x223)]=_0x344aea[_0x36dc90][_0x3bb099(0x223)]);}[_0xdbbef0(0x327)](_0x163182,_0x5c631d=null){const _0x3f9b4b=_0xdbbef0,_0x10da1d=this[_0x3f9b4b(0x296)][_0x3f9b4b(0x1ef)](_0x163182),_0x46182c=_0x5c631d?this[_0x3f9b4b(0x296)][_0x3f9b4b(0x1ef)](_0x5c631d):null,_0x5b0b8c=this[_0x3f9b4b(0x318)](_0x10da1d,_0x46182c),_0x55da5a=_0x5b0b8c[_0x5b0b8c[_0x3f9b4b(0x25b)]-0x1],_0x4fec25=new Map(),_0x437943={'model':{},'attributes':{},'changes':[]},_0x2f9023=new Set(),_0x2a2092=new Map();for(let _0x323f44=_0x5b0b8c[_0x3f9b4b(0x25b)]-0x1;_0x323f44>=0x0;_0x323f44--){const _0x4b7977=_0x5b0b8c[_0x323f44];for(const _0x2efc21 of Object[_0x3f9b4b(0x20c)](_0x4b7977[_0x3f9b4b(0x316)]))if(_0x4b7977[_0x3f9b4b(0x316)][_0x2efc21][_0x3f9b4b(0x2b8)]){const _0x5de92b=_0x4b7977[_0x3f9b4b(0x316)][_0x2efc21][_0x3f9b4b(0x2b8)];_0x5de92b[_0x3f9b4b(0x2c3)]?(_0x2f9023[_0x3f9b4b(0x232)](_0x2efc21),_0x2a2092[_0x3f9b4b(0x2a6)](_0x2efc21)&&_0x2a2092[_0x3f9b4b(0x320)](_0x2efc21)[_0x3f9b4b(0x2d7)]==_0x5de92b[_0x3f9b4b(0x2d7)]?_0x2a2092[_0x3f9b4b(0x312)](_0x2efc21):_0x2a2092[_0x3f9b4b(0x28b)](_0x2efc21,_0x5de92b)):_0x2a2092[_0x3f9b4b(0x2a6)](_0x2efc21)?(_0x2f9023[_0x3f9b4b(0x312)](_0x2efc21),_0x2a2092[_0x3f9b4b(0x312)](_0x2efc21)):(_0x2f9023[_0x3f9b4b(0x232)](_0x2efc21),_0x2a2092[_0x3f9b4b(0x28b)](_0x2efc21,_0x5de92b));}else _0x2f9023[_0x3f9b4b(0x232)](_0x2efc21);}for(const _0x58e84d of _0x2f9023){const _0x327ba9=_0x2a2092[_0x3f9b4b(0x2a6)](_0x58e84d)&&!_0x2a2092[_0x3f9b4b(0x320)](_0x58e84d)[_0x3f9b4b(0x2c3)];let _0xba0db8=_0x327ba9?_0x5b0b8c[_0x3f9b4b(0x25b)]-0x1:0x0;const _0x5994e0=_0x327ba9?-0x1:0x1;for(;_0x5b0b8c[_0xba0db8];){const _0x150e81=_0x5b0b8c[_0xba0db8];if(_0x150e81[_0x3f9b4b(0x316)][_0x58e84d]){const _0x16d3cd=_0x327ba9?_0x150e81[_0x3f9b4b(0x316)][_0x58e84d][_0x3f9b4b(0x2f0)]:_0x150e81[_0x3f9b4b(0x316)][_0x58e84d][_0x3f9b4b(0x1e8)];_0x437943[_0x3f9b4b(0x24e)][_0x58e84d]=_0x16d3cd?_0x146e88(_0x16d3cd):{};break;}_0xba0db8+=_0x5994e0;}}for(const _0x425047 of _0x5b0b8c){_0x425047[_0x3f9b4b(0x2e7)]={};for(const _0x1e0319 of _0x425047[_0x3f9b4b(0x2d0)])_0x4fec25[_0x3f9b4b(0x28b)](_0x1e0319['id'],_0x1e0319);for(const _0x3dc826 of _0x2f9023){const _0xc87cdb=_0x425047[_0x3f9b4b(0x316)][_0x3dc826]?_0x425047[_0x3f9b4b(0x316)][_0x3dc826][_0x3f9b4b(0x319)]:'[]',_0x210659=_0x425047[_0x3f9b4b(0x316)][_0x3dc826]?_0x425047[_0x3f9b4b(0x316)][_0x3dc826][_0x3f9b4b(0x2b4)]:'[]';_0x425047[_0x3f9b4b(0x2e7)][_0x3dc826]={'insertions':this[_0x3f9b4b(0x279)][_0x3f9b4b(0x269)](_0xc87cdb),'deletions':this[_0x3f9b4b(0x279)][_0x3f9b4b(0x269)](_0x210659)};}}for(const _0x42fd15 of _0x2f9023){let _0x25c656=null,_0x2a5e10=0x0;const _0x17f7a7=new Map(Array[_0x3f9b4b(0x248)](_0x10da1d[_0x3f9b4b(0x2e7)][_0x42fd15][_0x3f9b4b(0x319)][_0x3f9b4b(0x2b3)])[_0x3f9b4b(0x231)](([_0x5c6da2])=>!_0x5c6da2[_0x3f9b4b(0x27b)](_0x3f9b4b(0x2a0))));let _0x4d4a01=0x0;for(const _0x220697 of _0x5b0b8c){const _0x53e202=this[_0x3f9b4b(0x317)](_0x220697[_0x3f9b4b(0x2e7)][_0x42fd15][_0x3f9b4b(0x319)]);_0x220697==_0x10da1d?(_0x25c656=_0x53e202,_0x2a5e10=_0x25c656[_0x3f9b4b(0x25b)],_0x25c656[_0x3f9b4b(0x292)](_0x47f3ad=>{_0x47f3ad['id']=_0x4d4a01++;}),this[_0x3f9b4b(0x311)](_0x25c656)):this[_0x3f9b4b(0x258)](_0x25c656,_0x53e202);const _0x29faba=_0x25c656[_0x3f9b4b(0x231)](_0x452325=>!_0x452325[_0x3f9b4b(0x223)])[_0x3f9b4b(0x322)](_0x3255a9=>_0x3255a9['id']);let _0x242f79=0x0;const _0x46b84a=this[_0x3f9b4b(0x317)](_0x220697[_0x3f9b4b(0x2e7)][_0x42fd15][_0x3f9b4b(0x2b4)]);_0x46b84a[_0x3f9b4b(0x292)](_0x1ed941=>{const _0x52a920=_0x3f9b4b;_0x1ed941[_0x52a920(0x27a)]?_0x1ed941['id']=_0x2a5e10++:_0x1ed941['id']=_0x29faba[_0x242f79++];}),this[_0x3f9b4b(0x311)](_0x46b84a),this[_0x3f9b4b(0x297)](_0x25c656,_0x3f9b4b(0x223)),this[_0x3f9b4b(0x297)](_0x46b84a,_0x3f9b4b(0x27a)),_0x220697==_0x10da1d&&this[_0x3f9b4b(0x1ea)](_0x25c656,_0x17f7a7),_0x25c656=this[_0x3f9b4b(0x246)](_0x25c656,_0x46b84a),this[_0x3f9b4b(0x240)](_0x25c656),this[_0x3f9b4b(0x297)](_0x25c656,_0x3f9b4b(0x27a));}_0x25c656=_0x25c656[_0x3f9b4b(0x231)](_0x143d74=>!(_0x143d74[_0x3f9b4b(0x223)]&&_0x143d74[_0x3f9b4b(0x27a)]));const _0x170253=new Map(_0x55da5a[_0x3f9b4b(0x2e7)][_0x42fd15][_0x3f9b4b(0x2b4)][_0x3f9b4b(0x2b3)]),_0x2ed617=new Set(_0x17f7a7[_0x3f9b4b(0x20c)]());for(const _0x1e6661 of _0x170253[_0x3f9b4b(0x20c)]())_0x2ed617[_0x3f9b4b(0x312)](_0x1e6661);this[_0x3f9b4b(0x2b1)](_0x25c656,_0x2ed617),this[_0x3f9b4b(0x2a3)](_0x25c656),_0x25c656=this[_0x3f9b4b(0x1fc)](_0x25c656),_0x25c656=this[_0x3f9b4b(0x29d)](_0x25c656),_0x25c656=this[_0x3f9b4b(0x275)](_0x25c656);const {root:_0x488881,changes:_0x36fb55}=this[_0x3f9b4b(0x250)](_0x25c656,_0x4fec25,_0x42fd15);_0x437943[_0x3f9b4b(0x2e7)][_0x42fd15]=_0x488881;const _0x20b9b2=_0x2a2092[_0x3f9b4b(0x320)](_0x42fd15);if(_0x20b9b2){const _0x4d5d03=_0x4fec25[_0x3f9b4b(0x320)](_0x20b9b2[_0x3f9b4b(0x2d7)]),_0x10b96b=new _0x33d504({'author':_0x4d5d03,'type':_0x20b9b2[_0x3f9b4b(0x2c3)]?_0x3f9b4b(0x232):_0x3f9b4b(0x1ff),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x42fd15});_0x36fb55[_0x3f9b4b(0x2d8)](_0x10b96b),_0x437943[_0x3f9b4b(0x24e)][_0x42fd15][_0x3f9b4b(0x2f4)]=_0x10b96b['id'];}_0x437943[_0x3f9b4b(0x2a2)]=_0x437943[_0x3f9b4b(0x2a2)][_0x3f9b4b(0x314)](_0x36fb55);}return _0x437943;}[_0xdbbef0(0x1ea)](_0x1a595a,_0x50f5c9){const _0x2f7fe7=_0xdbbef0;for(let _0x56d4c1=0x0;_0x56d4c1<_0x1a595a[_0x2f7fe7(0x25b)];_0x56d4c1++)for(const [_0x525f2c,_0x3f5d57]of _0x50f5c9)!_0x3f5d57[_0x2f7fe7(0x2db)]&&_0x3f5d57[_0x2f7fe7(0x1ed)][_0x2f7fe7(0x222)](_0x1a595a[_0x56d4c1][_0x2f7fe7(0x2b7)])&&_0x1a595a[_0x56d4c1][_0x2f7fe7(0x202)][_0x2f7fe7(0x2ba)](_0x525f2c),_0x3f5d57[_0x2f7fe7(0x2c8)][_0x2f7fe7(0x222)](_0x1a595a[_0x56d4c1][_0x2f7fe7(0x26a)])&&_0x1a595a[_0x56d4c1][_0x2f7fe7(0x31c)][_0x2f7fe7(0x2ba)](_0x525f2c);}[_0xdbbef0(0x246)](_0xc22656,_0x3d93c1){const _0x22d8ec=_0xdbbef0;let _0x4fd4e7=[],_0x54cd0c=0x0,_0x538b67=0x0;for(;_0x54cd0c<_0xc22656[_0x22d8ec(0x25b)]||_0x538b67<_0x3d93c1[_0x22d8ec(0x25b)];){const _0x5e85e1=_0xc22656[_0x54cd0c]||{},_0x23288a=_0x3d93c1[_0x538b67]||{};if(_0x5e85e1['id']==_0x23288a['id'])_0x54cd0c++,_0x538b67++,_0x4fd4e7[_0x22d8ec(0x2ba)](_0x5e85e1);else{if(_0x23288a[_0x22d8ec(0x27a)]&&_0x5e85e1[_0x22d8ec(0x223)]){const {commonTape:_0x474452,iEnd:_0x36d2e9,jEnd:_0x26e8c3}=this[_0x22d8ec(0x2b6)](_0xc22656,_0x54cd0c,_0x3d93c1,_0x538b67);_0x4fd4e7=_0x4fd4e7[_0x22d8ec(0x314)](_0x474452),_0x54cd0c=_0x36d2e9,_0x538b67=_0x26e8c3;}else _0x23288a[_0x22d8ec(0x27a)]?(_0x538b67++,_0x4fd4e7[_0x22d8ec(0x2ba)](_0x23288a)):(_0x54cd0c++,_0x4fd4e7[_0x22d8ec(0x2ba)](_0x5e85e1));}}return _0x4fd4e7;}[_0xdbbef0(0x2b1)](_0x404533,_0x13efca){const _0x1e5727=_0xdbbef0,_0x3a6d55=[];for(let _0x55cb90=0x0;_0x55cb90<_0x404533[_0x1e5727(0x25b)];_0x55cb90++){for(let _0x499e1c=0x0;_0x499e1c<_0x404533[_0x55cb90][_0x1e5727(0x202)][_0x1e5727(0x25b)];_0x499e1c++){const _0x18da09=_0x404533[_0x55cb90][_0x1e5727(0x202)][_0x499e1c];if(!_0x13efca[_0x1e5727(0x2a6)](_0x18da09))continue;const {group:_0x15cbd1,type:_0x17ae9c,authorId:_0xfb4c5e}=_0x1e4632(_0x18da09);_0x1e5727(0x2d3)!=_0x15cbd1||_0x1e5727(0x2a9)!=_0x17ae9c&&_0x1e5727(0x276)!=_0x17ae9c||(_0x3a6d55[_0x1e5727(0x2d8)]({'type':_0x17ae9c,'name':_0x18da09,'userId':_0xfb4c5e}),_0x404533[_0x55cb90][_0x1e5727(0x202)][_0x1e5727(0x2de)](_0x499e1c,0x1),_0x499e1c--);}_0x4b1471(_0x404533[_0x55cb90]);for(let _0x4024fb=0x0;_0x4024fb<_0x404533[_0x55cb90][_0x1e5727(0x31c)][_0x1e5727(0x25b)];_0x4024fb++){const _0x469e1d=_0x404533[_0x55cb90][_0x1e5727(0x31c)][_0x4024fb];if(!_0x13efca[_0x1e5727(0x2a6)](_0x469e1d))continue;const {group:_0xab7b66,type:_0xb6bc54}=_0x1e4632(_0x469e1d);if(_0x1e5727(0x2d3)!=_0xab7b66||_0x1e5727(0x2a9)!=_0xb6bc54&&_0x1e5727(0x276)!=_0xb6bc54)continue;_0x404533[_0x55cb90][_0x1e5727(0x31c)][_0x1e5727(0x2de)](_0x4024fb,0x1),_0x4024fb--;const _0x288844=_0x3a6d55[_0x1e5727(0x308)](_0x17b360=>_0x17b360[_0x1e5727(0x20e)]==_0x469e1d);_0x288844>-0x1&&_0x3a6d55[_0x1e5727(0x2de)](_0x288844,0x1);}}function _0x1e4632(_0x57ba31){const _0x1fb1fe=_0x1e5727,_0x1827d6=_0x57ba31[_0x1fb1fe(0x271)](':');return{'group':_0x1827d6[0x0],'type':_0x1827d6[0x1],'subType':_0x1827d6[_0x1fb1fe(0x25b)]>=0x5?_0x1827d6[0x2]:null,'id':_0x1827d6[_0x1fb1fe(0x25b)]<0x5?_0x1827d6[0x2]:_0x1827d6[0x3],'authorId':_0x1827d6[_0x1fb1fe(0x25b)]<0x5?_0x1827d6[0x3]:_0x1827d6[0x4],'markerCount':0x6==_0x1827d6[_0x1fb1fe(0x25b)]?_0x1827d6[0x5]:null};}function _0x4b1471(_0x1dd152){const _0x5bed49=_0x1e5727;for(let _0x902f8e=0x0;_0x902f8e<_0x3a6d55[_0x5bed49(0x25b)];_0x902f8e++){if(_0x1dd152[_0x5bed49(0x223)]&&_0x5bed49(0x2a9)==_0x3a6d55[_0x902f8e][_0x5bed49(0x1e9)]&&_0x1dd152[_0x5bed49(0x223)][_0x5bed49(0x2d7)]==_0x3a6d55[_0x902f8e][_0x5bed49(0x2d7)])return _0x1dd152[_0x5bed49(0x2f1)]=_0x3a6d55[_0x902f8e],void delete _0x1dd152[_0x5bed49(0x223)];if(!_0x1dd152[_0x5bed49(0x223)]&&!_0x1dd152[_0x5bed49(0x27a)]&&_0x5bed49(0x276)==_0x3a6d55[_0x902f8e][_0x5bed49(0x1e9)])return void(_0x1dd152[_0x5bed49(0x1fd)]=_0x3a6d55[_0x902f8e]);}}}[_0xdbbef0(0x297)](_0x649523,_0xdab41){const _0x21e852=_0xdbbef0;let _0x2892ae=0x0,_0x3b0d08=!0x1;const _0x2c1813=new Map();for(const _0x419031 of _0x649523)_0x419031[_0xdab41]?_0x3b0d08&&(_0x2892ae++,_0x3b0d08=!0x1):(_0x2892ae++,_0x3b0d08=!0x0),_0x2c1813[_0x21e852(0x28b)](_0x419031['id'],_0x2892ae);for(let _0x55d17f=0x0;_0x55d17f<_0x649523[_0x21e852(0x25b)];_0x55d17f++){if(_0x21e852(0x27a)==_0xdab41&&_0x649523[_0x55d17f][_0x21e852(0x223)]||_0x21e852(0x223)==_0xdab41&&_0x649523[_0x55d17f][_0x21e852(0x27a)])continue;if(_0x21e852(0x255)==_0x649523[_0x55d17f][_0x21e852(0x1e9)]){_0x649523[_0x55d17f][_0x21e852(0x21a)]=0x0;continue;}const _0x5d203f=_0x2c1813[_0x21e852(0x320)](_0x649523[_0x55d17f][_0x21e852(0x227)]),_0x2ce985=_0x2c1813[_0x21e852(0x320)](_0x649523[_0x55d17f]['id']);_0x649523[_0x55d17f][_0x21e852(0x21a)]=_0x5d203f-_0x2ce985;}}[_0xdbbef0(0x318)](_0x568c53,_0x310fdd,_0x2fe07a=!0x1){const _0x1c4d42=_0xdbbef0,_0x42951d=[];let _0x1e8d3c=this[_0x1c4d42(0x296)][_0x1c4d42(0x30a)](_0x568c53),_0x5c0ef7=this[_0x1c4d42(0x296)][_0x1c4d42(0x30a)](_0x310fdd);for(-0x1==_0x5c0ef7&&(_0x5c0ef7=this[_0x1c4d42(0x296)][_0x1c4d42(0x213)][_0x1c4d42(0x25b)],_0x2fe07a=!0x1);_0x1e8d3c<_0x5c0ef7;)_0x42951d[_0x1c4d42(0x2ba)](this[_0x1c4d42(0x296)][_0x1c4d42(0x1ef)](_0x1e8d3c)),_0x1e8d3c++;return _0x2fe07a&&_0x42951d[_0x1c4d42(0x2ba)](this[_0x1c4d42(0x296)][_0x1c4d42(0x1ef)](_0x1e8d3c)),_0x42951d;}[_0xdbbef0(0x2b6)](_0x250516,_0x3e2eb5,_0xf94f6c,_0xad4e0e){const _0x7a1175=_0xdbbef0,_0xcc0d5c=this[_0x7a1175(0x291)][_0x7a1175(0x2e7)][_0x7a1175(0x22a)];let _0x55857f=_0x3e2eb5;for(;_0x250516[_0x55857f]&&_0x250516[_0x55857f][_0x7a1175(0x223)];)_0x55857f++;let _0x3fdd86=_0xad4e0e;for(;_0xf94f6c[_0x3fdd86]&&_0xf94f6c[_0x3fdd86][_0x7a1175(0x27a)];)_0x3fdd86++;_0x8dee89(_0x250516,_0x3e2eb5,_0x55857f),_0x8dee89(_0xf94f6c,_0xad4e0e,_0x3fdd86);const _0x2920d5=_0xf94f6c[_0x7a1175(0x2ee)](_0xad4e0e,_0x3fdd86)[_0x7a1175(0x314)](_0x250516[_0x7a1175(0x2ee)](_0x3e2eb5,_0x55857f));return _0x2920d5[_0x7a1175(0x273)]((_0x7adcf1,_0x2392b5)=>_0x7adcf1[_0x7a1175(0x207)]!=_0x2392b5[_0x7a1175(0x207)]?_0x7adcf1[_0x7a1175(0x207)]-_0x2392b5[_0x7a1175(0x207)]:_0x7adcf1[_0x7a1175(0x2cf)]!=_0x2392b5[_0x7a1175(0x2cf)]?_0x7adcf1[_0x7a1175(0x2cf)]-_0x2392b5[_0x7a1175(0x2cf)]:_0x7adcf1[_0x7a1175(0x21a)]!=_0x2392b5[_0x7a1175(0x21a)]?_0x2392b5[_0x7a1175(0x21a)]-_0x7adcf1[_0x7a1175(0x21a)]:!!_0x7adcf1[_0x7a1175(0x223)]!=!!_0x2392b5[_0x7a1175(0x223)]?-0x1==_0x7adcf1[_0x7a1175(0x207)]||0x0==_0x7adcf1[_0x7a1175(0x207)]?_0x7adcf1[_0x7a1175(0x223)]?-0x1:0x1:_0x7adcf1[_0x7a1175(0x223)]?0x1:-0x1:_0x7adcf1[_0x7a1175(0x21c)]-_0x2392b5[_0x7a1175(0x21c)]),{'commonTape':_0x2920d5,'iEnd':_0x55857f,'jEnd':_0x3fdd86};function _0x8dee89(_0x5efd54,_0xf0f7eb,_0xc74ce7){const _0x58dd9b=_0x7a1175;let _0x433a54=-0x1,_0x2c6c67=Number[_0x58dd9b(0x2fb)],_0x51f858=!0x0;for(let _0x2c29f9=_0xf0f7eb;_0x2c29f9<_0xc74ce7;_0x2c29f9++)if(_0xcc0d5c[_0x58dd9b(0x268)](_0x5efd54[_0x2c29f9][_0x58dd9b(0x2f8)])||(_0x51f858=!0x1),_0x5efd54[_0x2c29f9][_0x58dd9b(0x2f8)][_0x58dd9b(0x23c)]<_0xf0f7eb&&(_0x433a54=_0x2c29f9),_0x5efd54[_0x2c29f9][_0x58dd9b(0x2f8)][_0x58dd9b(0x31f)]>=_0xc74ce7){_0x2c6c67=_0x2c29f9;break;}_0x51f858&&(_0x433a54=_0xc74ce7-0x1);for(let _0x21ff28=_0xf0f7eb;_0x21ff28<_0xc74ce7;_0x21ff28++)_0x5efd54[_0x21ff28][_0x58dd9b(0x207)]=_0x21ff28<=_0x433a54?-0x1:_0x21ff28<_0x2c6c67?0x0:0x1,_0x5efd54[_0x21ff28][_0x58dd9b(0x21c)]=_0x21ff28;let _0x50c9ab=0x0;for(let _0x59c1d3=_0xf0f7eb;_0x59c1d3<=_0x433a54;_0x59c1d3++)0x0==_0x5efd54[_0x59c1d3][_0x58dd9b(0x21a)]?_0x5efd54[_0x59c1d3][_0x58dd9b(0x2cf)]=_0x50c9ab:(_0x50c9ab++,_0x5efd54[_0x59c1d3][_0x58dd9b(0x2cf)]=_0x50c9ab,_0x50c9ab++);for(let _0x4c2bce=_0xf0f7eb;_0x4c2bce<_0xc74ce7;_0x4c2bce++)0x0==_0x5efd54[_0x4c2bce][_0x58dd9b(0x207)]&&(_0x5efd54[_0x4c2bce][_0x58dd9b(0x2cf)]=_0x50c9ab);_0x50c9ab=0x0;for(let _0x38d2a3=_0xc74ce7-0x1;_0x38d2a3>=_0x2c6c67;_0x38d2a3--)0x0==_0x5efd54[_0x38d2a3][_0x58dd9b(0x21a)]?_0x5efd54[_0x38d2a3][_0x58dd9b(0x2cf)]=_0x50c9ab:(_0x50c9ab--,_0x5efd54[_0x38d2a3][_0x58dd9b(0x2cf)]=_0x50c9ab,_0x50c9ab--);}}[_0xdbbef0(0x2a3)](_0x1fbae6){const _0x5eea90=_0xdbbef0,_0x49d5b0=new Map(),_0x244643=this[_0x5eea90(0x291)][_0x5eea90(0x2e7)][_0x5eea90(0x22a)];for(let _0x3b8b8b=0x1;_0x3b8b8b<_0x1fbae6[_0x5eea90(0x25b)];_0x3b8b8b++){let _0x1efc2f,_0x40b30e,_0xc976e9;const _0x5d1456=_0x1fbae6[_0x3b8b8b],_0x51a92b=_0x1fbae6[_0x3b8b8b-0x1];if(_0x5eea90(0x255)==_0x5d1456[_0x5eea90(0x1e9)])continue;if(_0x5d1456[_0x5eea90(0x1e9)]!=_0x51a92b[_0x5eea90(0x1e9)])continue;if(!_0x244643[_0x5eea90(0x30d)](_0x51a92b[_0x5eea90(0x2f8)])||_0x244643[_0x5eea90(0x263)](_0x51a92b[_0x5eea90(0x2f8)]))continue;if(!_0x244643[_0x5eea90(0x30d)](_0x5d1456[_0x5eea90(0x2f8)])||_0x244643[_0x5eea90(0x263)](_0x5d1456[_0x5eea90(0x2f8)]))continue;if((_0x1fbae6[_0x3b8b8b][_0x5eea90(0x223)]||_0x1fbae6[_0x3b8b8b][_0x5eea90(0x2f1)])&&_0x1fbae6[_0x3b8b8b-0x1][_0x5eea90(0x27a)])_0x1efc2f=_0x1fbae6[_0x3b8b8b],_0x40b30e=_0x1fbae6[_0x3b8b8b-0x1],_0xc976e9=_0x3b8b8b-0x1;else{if(!_0x1fbae6[_0x3b8b8b][_0x5eea90(0x27a)]||!_0x1fbae6[_0x3b8b8b-0x1][_0x5eea90(0x223)]&&!_0x1fbae6[_0x3b8b8b-0x1][_0x5eea90(0x2f1)])continue;_0x1efc2f=_0x1fbae6[_0x3b8b8b-0x1],_0x40b30e=_0x1fbae6[_0x3b8b8b],_0xc976e9=_0x3b8b8b;}const _0x53364a=_0x1efc2f[_0x5eea90(0x2cf)]==_0x40b30e[_0x5eea90(0x2cf)],_0x4106ca=Math[_0x5eea90(0x23e)](_0x1efc2f[_0x5eea90(0x2cf)])<Math[_0x5eea90(0x23e)](_0x40b30e[_0x5eea90(0x2cf)])&&0x0==_0x40b30e[_0x5eea90(0x21a)];(_0x53364a||_0x4106ca)&&(_0x49d5b0[_0x5eea90(0x28b)](_0x40b30e['id'],_0x1efc2f['id']),_0x1fbae6[_0x5eea90(0x2de)](_0xc976e9,0x1),_0x3b8b8b--,_0x1efc2f[_0x5eea90(0x223)]=!0x1);}for(let _0x2ce6e1=0x0;_0x2ce6e1<_0x1fbae6[_0x5eea90(0x25b)];_0x2ce6e1++)_0x49d5b0[_0x5eea90(0x2a6)](_0x1fbae6[_0x2ce6e1][_0x5eea90(0x227)])&&(_0x1fbae6[_0x2ce6e1][_0x5eea90(0x227)]=_0x49d5b0[_0x5eea90(0x320)](_0x1fbae6[_0x2ce6e1][_0x5eea90(0x227)]));}[_0xdbbef0(0x1fc)](_0x1d8c8f){const _0xd8f55a=_0xdbbef0,_0x1c87ea=new Set(_0x1d8c8f[_0xd8f55a(0x322)](_0x558641=>_0x558641['id']));for(let _0x52a2b4=0x0;_0x52a2b4<_0x1d8c8f[_0xd8f55a(0x25b)];_0x52a2b4++)_0x1c87ea[_0xd8f55a(0x2a6)](_0x1d8c8f[_0x52a2b4][_0xd8f55a(0x227)])||0x0==_0x1d8c8f[_0x52a2b4][_0xd8f55a(0x21a)]||(_0x1d8c8f[_0x52a2b4][_0xd8f55a(0x285)]=!0x0);return _0x1d8c8f[_0xd8f55a(0x231)](_0x4e06a8=>!_0x4e06a8[_0xd8f55a(0x285)]);}[_0xdbbef0(0x29d)](_0x21486d){const _0x5ee9ab=_0xdbbef0,_0x35ed0f=new Set();for(let _0x5bca0a=0x0;_0x5bca0a<_0x21486d[_0x5ee9ab(0x25b)];_0x5bca0a++){if(_0x35ed0f[_0x5ee9ab(0x2a6)](_0x21486d[_0x5bca0a]['id'])&&_0x21486d[_0x5bca0a][_0x5ee9ab(0x27a)]&&(_0x21486d[_0x5bca0a][_0x5ee9ab(0x285)]=!0x0),_0x21486d[_0x5bca0a][_0x5ee9ab(0x285)])continue;if(0x0==_0x21486d[_0x5bca0a][_0x5ee9ab(0x21a)])continue;if(_0x5ee9ab(0x2c2)!=_0x21486d[_0x5bca0a][_0x5ee9ab(0x1e9)])continue;if(null==_0x21486d[_0x5bca0a][_0x5ee9ab(0x227)])continue;let _0x40788d=_0x5bca0a+0x1,_0x158ba3=0x0;for(;_0x21486d[_0x40788d]['id']!=_0x21486d[_0x5bca0a][_0x5ee9ab(0x227)];)_0x5ee9ab(0x2c2)==_0x21486d[_0x40788d][_0x5ee9ab(0x1e9)]?_0x158ba3++:_0x5ee9ab(0x2b2)==_0x21486d[_0x40788d][_0x5ee9ab(0x1e9)]&&_0x158ba3--,_0x40788d++;if(0x0!=_0x158ba3){if(_0x21486d[_0x5bca0a][_0x5ee9ab(0x27a)])_0x21486d[_0x5bca0a][_0x5ee9ab(0x285)]=!0x0;else{for(;_0x40788d!=_0x5bca0a;)_0x21486d[_0x40788d][_0x5ee9ab(0x27a)]&&0x0!=_0x21486d[_0x40788d][_0x5ee9ab(0x21a)]&&(_0x21486d[_0x40788d][_0x5ee9ab(0x285)]=!0x0,_0x35ed0f[_0x5ee9ab(0x232)](_0x21486d[_0x40788d][_0x5ee9ab(0x227)])),_0x40788d--;}}}return _0x21486d[_0x5ee9ab(0x231)](_0x536013=>!_0x536013[_0x5ee9ab(0x285)]);}[_0xdbbef0(0x275)](_0x2d501e){const _0x440281=_0xdbbef0,_0x43103c=this[_0x440281(0x291)][_0x440281(0x2e7)][_0x440281(0x22a)];for(let _0x332b33=0x0;_0x332b33<_0x2d501e[_0x440281(0x25b)];_0x332b33++){if(!(_0x2d501e[_0x332b33][_0x440281(0x223)]||_0x2d501e[_0x332b33][_0x440281(0x2f1)]||_0x2d501e[_0x332b33][_0x440281(0x27a)]||_0x2d501e[_0x332b33][_0x440281(0x1fd)]))continue;if(0x0==_0x2d501e[_0x332b33][_0x440281(0x21a)])continue;const _0x553ebd=_0x2d501e[_0x332b33][_0x440281(0x2f8)];_0x43103c[_0x440281(0x30d)](_0x553ebd)||_0x43103c[_0x440281(0x263)](_0x553ebd)||(_0x2d501e[_0x332b33][_0x440281(0x223)]&&delete _0x2d501e[_0x332b33][_0x440281(0x223)],_0x2d501e[_0x332b33][_0x440281(0x2f1)]&&delete _0x2d501e[_0x332b33][_0x440281(0x2f1)],_0x2d501e[_0x332b33][_0x440281(0x1fd)]&&delete _0x2d501e[_0x332b33][_0x440281(0x1fd)],_0x2d501e[_0x332b33][_0x440281(0x27a)]&&(_0x2d501e[_0x332b33][_0x440281(0x285)]=!0x0));}return _0x2d501e[_0x440281(0x231)](_0x26f6db=>!_0x26f6db[_0x440281(0x285)]);}[_0xdbbef0(0x250)](_0x255d9d,_0x2b8e44,_0x52e681){const _0x30f30f=_0xdbbef0,_0x23a695=new _0x43e0af(),_0x224066=[],_0xe46475=new Map(),_0x22154b=this[_0x30f30f(0x291)][_0x30f30f(0x2e7)],_0x1ca1b6=_0x22154b[_0x30f30f(0x22a)],_0x4b9ef8=[_0x23a695],_0xadc4f2={},_0x157364={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x14e349=null;const _0x2a9b5c=[0x0];for(let _0x2882f3=0x0;_0x2882f3<_0x255d9d[_0x30f30f(0x25b)];_0x2882f3++)if(_0x30f30f(0x2c2)===_0x255d9d[_0x2882f3][_0x30f30f(0x1e9)]){_0x255d9d[_0x2882f3][_0x30f30f(0x2b7)]=_0x22154b[_0x30f30f(0x254)](_0x23a695,_0x2a9b5c);const _0x2ea8ab=new _0x1e1c03(_0x255d9d[_0x2882f3][_0x30f30f(0x2f8)][_0x30f30f(0x20e)],_0x255d9d[_0x2882f3][_0x30f30f(0x2f8)][_0x30f30f(0x20d)]());_0x4b9ef8[0x0][_0x30f30f(0x21d)](_0x2ea8ab),_0x2a9b5c[_0x30f30f(0x2ba)](0x0),_0x4b9ef8[_0x30f30f(0x2d8)](_0x2ea8ab),_0x255d9d[_0x2882f3][_0x30f30f(0x26a)]=_0x22154b[_0x30f30f(0x254)](_0x23a695,_0x2a9b5c);}else _0x30f30f(0x2b2)===_0x255d9d[_0x2882f3][_0x30f30f(0x1e9)]?(_0x4b9ef8[_0x30f30f(0x2ab)](),_0x255d9d[_0x2882f3][_0x30f30f(0x2b7)]=_0x22154b[_0x30f30f(0x254)](_0x23a695,_0x2a9b5c),_0x2a9b5c[_0x30f30f(0x325)](),_0x2a9b5c[_0x2a9b5c[_0x30f30f(0x25b)]-0x1]++,_0x255d9d[_0x2882f3][_0x30f30f(0x26a)]=_0x22154b[_0x30f30f(0x254)](_0x23a695,_0x2a9b5c)):(_0x255d9d[_0x2882f3][_0x30f30f(0x2b7)]=_0x22154b[_0x30f30f(0x254)](_0x23a695,_0x2a9b5c),_0x14e349?_0x14e349[_0x30f30f(0x22d)]+=_0x255d9d[_0x2882f3][_0x30f30f(0x2f8)][_0x30f30f(0x2b5)]:_0x14e349=new _0x391001(_0x255d9d[_0x2882f3][_0x30f30f(0x2f8)][_0x30f30f(0x2b5)],_0x255d9d[_0x2882f3][_0x30f30f(0x2f8)][_0x30f30f(0x20d)]()),_0x255d9d[_0x2882f3+0x1]&&_0x30f30f(0x255)===_0x255d9d[_0x2882f3+0x1][_0x30f30f(0x1e9)]&&_0x4fbe11(_0x14e349,_0x255d9d[_0x2882f3+0x1][_0x30f30f(0x2f8)])||(_0x4b9ef8[0x0][_0x30f30f(0x21d)](_0x14e349),_0x14e349=null),_0x2a9b5c[_0x2a9b5c[_0x30f30f(0x25b)]-0x1]+=_0x255d9d[_0x2882f3][_0x30f30f(0x2f8)][_0x30f30f(0x303)],_0x255d9d[_0x2882f3][_0x30f30f(0x26a)]=_0x22154b[_0x30f30f(0x254)](_0x23a695,_0x2a9b5c));for(let _0xd670e=0x0;_0xd670e<_0x255d9d[_0x30f30f(0x25b)];_0xd670e++){const _0x49f787=_0x255d9d[_0xd670e][_0x30f30f(0x2b7)],_0x367659=_0x255d9d[_0xd670e][_0x30f30f(0x26a)];for(const _0x2a6ca4 of _0x255d9d[_0xd670e][_0x30f30f(0x202)])_0xe46475[_0x30f30f(0x28b)](_0x2a6ca4,{'start':_0x49f787,'end':null});_0x3135d9(_0x30f30f(0x1fd),_0xd670e,_0x49f787,_0x367659),_0x3135d9(_0x30f30f(0x2f1),_0xd670e,_0x49f787,_0x367659),_0x3135d9(_0x30f30f(0x27a),_0xd670e,_0x49f787,_0x367659),_0x3135d9(_0x30f30f(0x223),_0xd670e,_0x49f787,_0x367659);for(const _0xd020d0 of _0x255d9d[_0xd670e][_0x30f30f(0x31c)]){const _0x1a52da=_0xe46475[_0x30f30f(0x320)](_0xd020d0);_0x1a52da?_0x1a52da[_0x30f30f(0x2c8)]=_0x367659:_0xe46475[_0x30f30f(0x28b)](_0xd020d0,{'start':_0x367659,'end':_0x367659});}}for(const [_0x35f469,_0x46570c]of _0xe46475){const _0x553519=this[_0x30f30f(0x291)][_0x30f30f(0x2e7)][_0x30f30f(0x31d)](_0x46570c[_0x30f30f(0x1ed)],_0x46570c[_0x30f30f(0x2c8)]);_0x23a695[_0x30f30f(0x2b3)][_0x30f30f(0x28b)](_0x35f469,_0x553519);}return _0x224066[_0x30f30f(0x273)]((_0x2d1f23,_0x3d9bf6)=>{const _0x11b671=_0x30f30f,_0x1039f2=_0x23a695[_0x11b671(0x2b3)][_0x11b671(0x320)](_0x11b671(0x2a0)+_0x2d1f23['id']),_0x17660c=_0x23a695[_0x11b671(0x2b3)][_0x11b671(0x320)](_0x11b671(0x2a0)+_0x3d9bf6['id']);return _0x1039f2[_0x11b671(0x1ed)][_0x11b671(0x237)](_0x17660c[_0x11b671(0x1ed)])?-0x1:_0x1039f2[_0x11b671(0x1ed)][_0x11b671(0x2e6)](_0x17660c[_0x11b671(0x1ed)])?0x1:_0x1039f2[_0x11b671(0x2c8)][_0x11b671(0x237)](_0x17660c[_0x11b671(0x2c8)])?-0x1:_0x1039f2[_0x11b671(0x2c8)][_0x11b671(0x2e6)](_0x17660c[_0x11b671(0x2c8)])?0x1:_0x11b671(0x232)===_0x2d1f23[_0x11b671(0x1e9)]?-0x1:0x1;}),{'root':_0x23a695,'changes':_0x224066};function _0x3135d9(_0x5f2844,_0x1a8b94,_0x3f9986,_0x52b28e){const _0x533d43=_0x30f30f,_0x5282d8=!!_0x255d9d[_0x1a8b94][_0x5f2844],_0x3a8942=_0x5282d8?_0x255d9d[_0x1a8b94][_0x5f2844][_0x533d43(0x2d7)]:null,_0x1d363d=_0x1a8b94===_0x255d9d[_0x533d43(0x25b)]-0x1,_0x3a8a7c=_0x157364[_0x5f2844][0x0],_0x11b580=_0x1ca1b6[_0x533d43(0x25e)](_0x255d9d[_0x1a8b94][_0x533d43(0x2f8)]);!_0xadc4f2[_0x5f2844]&&_0x5282d8?_0xadc4f2[_0x5f2844]={'start':_0x3f9986,'tapeItem':_0x255d9d[_0x1a8b94],'userId':_0x3a8942,'type':_0x5f2844}:_0xadc4f2[_0x5f2844]&&!_0x5282d8?(_0xadc4f2[_0x5f2844][_0x533d43(0x2c8)]=_0x3f9986,_0x2e5bb2(_0xadc4f2[_0x5f2844]),_0xadc4f2[_0x5f2844]=null):_0xadc4f2[_0x5f2844]&&_0x5282d8&&_0xadc4f2[_0x5f2844][_0x533d43(0x2d7)]!==_0x3a8942&&(_0xadc4f2[_0x5f2844][_0x533d43(0x2c8)]=_0x3f9986,_0x3a8a7c&&_0x3a8a7c[_0x533d43(0x2d7)]===_0xadc4f2[_0x5f2844][_0x533d43(0x2d7)]||_0x2e5bb2(_0xadc4f2[_0x5f2844]),_0xadc4f2[_0x5f2844]={'start':_0x3f9986,'tapeItem':_0x255d9d[_0x1a8b94],'userId':_0x3a8942,'type':_0x5f2844}),_0xadc4f2[_0x5f2844]&&_0x11b580&&(_0x533d43(0x2c2)!==_0x255d9d[_0x1a8b94][_0x533d43(0x1e9)]||_0x3a8a7c&&_0x3a8a7c[_0x533d43(0x2d7)]===_0x3a8942||_0x157364[_0x5f2844][_0x533d43(0x2d8)]({'userId':_0x3a8942,'object':_0x255d9d[_0x1a8b94][_0x533d43(0x2f8)],'change':_0xadc4f2[_0x5f2844]}),_0x533d43(0x2b2)===_0x255d9d[_0x1a8b94][_0x533d43(0x1e9)]&&_0x3a8a7c&&_0x3a8a7c[_0x533d43(0x28a)]===_0x255d9d[_0x1a8b94][_0x533d43(0x2f8)]&&(_0x157364[_0x5f2844][_0x533d43(0x2ab)](),_0xadc4f2[_0x5f2844]=_0x3a8a7c[_0x533d43(0x220)])),_0xadc4f2[_0x5f2844]&&_0x1d363d&&(_0xadc4f2[_0x5f2844][_0x533d43(0x2c8)]=_0x52b28e,_0x2e5bb2(_0xadc4f2[_0x5f2844]),_0xadc4f2[_0x5f2844]=null);}function _0x2e5bb2({start:_0x1cbee0,end:_0x404892,tapeItem:_0x56bb49,userId:_0x4e6f32,type:_0x17c874}){const _0x5b1b99=_0x30f30f,_0x505494=_0x56bb49[_0x5b1b99(0x2f8)],_0x3d7b11=_0x22154b[_0x5b1b99(0x22a)][_0x5b1b99(0x30d)](_0x505494)&&!_0x22154b[_0x5b1b99(0x22a)][_0x5b1b99(0x263)](_0x505494),_0x304ca7=_0x1cbee0[_0x5b1b99(0x253)]==_0x404892[_0x5b1b99(0x209)]&&_0x404892[_0x5b1b99(0x200)];if(_0x3d7b11&&_0x304ca7)return;const _0xd9abc0=_0x22154b[_0x5b1b99(0x31d)](_0x1cbee0,_0x404892),_0x380fbe=_0x2b8e44[_0x5b1b99(0x320)](_0x4e6f32),_0x5b26f2=new _0x33d504({'author':_0x380fbe,'type':_0x5b1b99(0x223)==_0x17c874||_0x5b1b99(0x2f1)==_0x17c874?_0x5b1b99(0x232):_0x5b1b99(0x1ff),'data':{'isSuggestion':_0x5b1b99(0x2f1)==_0x17c874||_0x5b1b99(0x1fd)==_0x17c874},'createdAt':new Date(),'rootName':_0x52e681});_0x224066[_0x5b1b99(0x2ba)](_0x5b26f2),_0x23a695[_0x5b1b99(0x2b3)][_0x5b1b99(0x28b)](_0x5b1b99(0x2a0)+_0x5b26f2['id'],_0xd9abc0);}function _0x4fbe11(_0x572c36,_0x34894e){const _0x55c1a6=_0x30f30f,_0x2fb8c2=_0x572c36[_0x55c1a6(0x20d)](),_0x348748=_0x34894e[_0x55c1a6(0x20d)]();for(const _0x12a1d2 of _0x2fb8c2){if(_0x12a1d2[0x1]!==_0x34894e[_0x55c1a6(0x26e)](_0x12a1d2[0x0]))return!0x1;_0x348748[_0x55c1a6(0x304)]();}return _0x348748[_0x55c1a6(0x304)]()[_0x55c1a6(0x282)];}}[_0xdbbef0(0x2c6)](){const _0x215300=_0xdbbef0;this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x221))[_0x215300(0x24a)]({'view':_0x215300(0x1e7)}),this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x2bd))[_0x215300(0x226)]({'model':_0x215300(0x1e7),'view':_0x1803e3=>{const _0x4c4370=_0x215300,_0x37938f=_0x1803e3[_0x4c4370(0x2c5)][_0x4c4370(0x271)](':')[0x1],_0x23463f=this[_0x4c4370(0x321)](_0x37938f);if(!_0x23463f)return null;const _0x394e0b=_0x4c4370(0x232)==_0x23463f[_0x4c4370(0x1e9)]?_0x4c4370(0x2a9):_0x4c4370(0x276),_0x5b1e39=[_0x4c4370(0x27d),_0x4c4370(0x224)+_0x394e0b];return _0x23463f[_0x4c4370(0x2b5)][_0x4c4370(0x243)]&&_0x5b1e39[_0x4c4370(0x2ba)](_0x4c4370(0x224)+_0x394e0b+_0x4c4370(0x239)),this[_0x4c4370(0x2f5)]==_0x23463f&&_0x5b1e39[_0x4c4370(0x2ba)](_0x4c4370(0x236)),{'classes':_0x5b1e39,'attributes':{'data-change-id':_0x37938f}};}}),this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x221))[_0x215300(0x232)](_0x45660c=>{const _0x4c966d=_0x215300;_0x45660c['on'](_0x4c966d(0x234),(_0x20ae0b,_0x193e88,_0x2f8f7e)=>{const _0x39eb7d=_0x4c966d,_0x2d6fb7=_0x193e88[_0x39eb7d(0x2e8)][_0x39eb7d(0x2ca)](0x0);if(!_0x2d6fb7||!_0x2d6fb7['is'](_0x39eb7d(0x274),_0x39eb7d(0x281)))return;if(!_0x2f8f7e[_0x39eb7d(0x309)][_0x39eb7d(0x26d)](_0x2d6fb7,{'attributes':[_0x39eb7d(0x26f),_0x39eb7d(0x2a4)]}))return;const _0x318e88=_0x193e88[_0x39eb7d(0x2f9)][_0x39eb7d(0x1ed)][_0x39eb7d(0x253)];_0x2f8f7e[_0x39eb7d(0x20a)][_0x39eb7d(0x2bc)](_0x39eb7d(0x26f),_0x2d6fb7[_0x39eb7d(0x26e)](_0x39eb7d(0x26f)),_0x318e88),_0x2f8f7e[_0x39eb7d(0x20a)][_0x39eb7d(0x2bc)](_0x39eb7d(0x2a4),_0x2d6fb7[_0x39eb7d(0x26e)](_0x39eb7d(0x2a4)),_0x318e88);},{'priority':_0x4c966d(0x260)});}),this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x221))[_0x215300(0x232)](_0x4f3d85=>{const _0x1f9a9f=_0x215300;_0x4f3d85['on'](_0x1f9a9f(0x274),(_0x255d51,_0x3c5e1f,_0xa50642)=>{const _0x223e7d=_0x1f9a9f;if(!_0xa50642[_0x223e7d(0x309)][_0x223e7d(0x26d)](_0x3c5e1f[_0x223e7d(0x2e8)],{'attributes':[_0x223e7d(0x26f),_0x223e7d(0x2a4)]}))return;if(_0x3c5e1f[_0x223e7d(0x2f9)][_0x223e7d(0x2db)])return;const _0x29ac3e=_0x3c5e1f[_0x223e7d(0x2f9)][_0x223e7d(0x1ed)][_0x223e7d(0x253)];_0x29ac3e[_0x223e7d(0x2ad)](_0x223e7d(0x26f))||_0x29ac3e[_0x223e7d(0x2ad)](_0x223e7d(0x206))||(_0xa50642[_0x223e7d(0x20a)][_0x223e7d(0x2bc)](_0x223e7d(0x26f),_0x3c5e1f[_0x223e7d(0x2e8)][_0x223e7d(0x26e)](_0x223e7d(0x26f)),_0x29ac3e),_0xa50642[_0x223e7d(0x20a)][_0x223e7d(0x2bc)](_0x223e7d(0x2a4),_0x3c5e1f[_0x223e7d(0x2e8)][_0x223e7d(0x26e)](_0x223e7d(0x2a4)),_0x29ac3e));},{'priority':_0x1f9a9f(0x260)});}),this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x221))[_0x215300(0x2fa)]({'view':{'name':_0x215300(0x211),'attributes':{'vid':!0x0}},'model':{'key':_0x215300(0x206),'value':_0x35ca26=>_0x35ca26[_0x215300(0x26e)](_0x215300(0x206))}}),this[_0x215300(0x291)][_0x215300(0x2e7)][_0x215300(0x22a)]['on'](_0x215300(0x289),(_0x447c25,[,_0x4a3382])=>{const _0x131eae=_0x215300;[_0x131eae(0x26f),_0x131eae(0x2a4),_0x131eae(0x206)][_0x131eae(0x228)](_0x4a3382)&&(_0x447c25[_0x131eae(0x2cd)]=!0x0,_0x447c25[_0x131eae(0x31a)]());},{'priority':_0x215300(0x265)}),this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x1f4))[_0x215300(0x232)](_0x1b3869=>{const _0x2f4aea=_0x215300;_0x1b3869['on'](_0x2f4aea(0x247),(_0x4e84e8,_0x1fad78,_0xcb4d7e)=>{const _0x112c65=_0x2f4aea;if('\x20'!=_0x1fad78[_0x112c65(0x2f8)][_0x112c65(0x2b5)]||_0x1fad78[_0x112c65(0x2f8)][_0x112c65(0x209)][_0x112c65(0x2d2)]>0x1)return;if(!_0xcb4d7e[_0x112c65(0x309)][_0x112c65(0x26d)](_0x1fad78[_0x112c65(0x2f8)],_0x4e84e8[_0x112c65(0x20e)]))return;const _0x5bbc15=_0xcb4d7e[_0x112c65(0x20a)],_0x2b6619=_0xcb4d7e[_0x112c65(0x329)][_0x112c65(0x2e4)](_0x1fad78[_0x112c65(0x23f)]);_0x5bbc15[_0x112c65(0x1f9)](_0x2b6619,_0x5bbc15[_0x112c65(0x2c0)](_0x112c65(0x211)));});}),this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x1f4))[_0x215300(0x217)]({'model':_0x215300(0x1e7)}),this[_0x215300(0x291)][_0x215300(0x21b)][_0x215300(0x2eb)]['on'](_0x215300(0x1ee),function(_0xc4756){const _0x394e1b=_0x215300,_0x22b4da=_0xc4756[_0x394e1b(0x2d5)][_0x394e1b(0x320)](_0x394e1b(0x2cb));return(_0x368e85,_0x30b7f8,_0x2e6370)=>{const _0x577e43=_0x394e1b,_0x42f3f9=_0x30b7f8[_0x577e43(0x2c5)][_0x577e43(0x271)](':')[0x1],_0x3467d9=_0x22b4da[_0x577e43(0x321)](_0x42f3f9);if(!_0x3467d9)return null;const _0x7fadd8=_0x577e43(0x232)==_0x3467d9[_0x577e43(0x1e9)]?_0x577e43(0x271):_0x577e43(0x323);if(!_0x2e6370[_0x577e43(0x309)][_0x577e43(0x270)](_0x30b7f8[_0x577e43(0x2fc)],_0x368e85[_0x577e43(0x20e)]))return;const _0x2386e1=_0x30b7f8[_0x577e43(0x2fc)][_0x577e43(0x204)](),_0x2c03a0=_0x30b7f8[_0x577e43(0x2fc)][_0x577e43(0x1ed)],_0x429e1b=_0xc4756[_0x577e43(0x2e7)][_0x577e43(0x22a)];let _0x1d18ed=null,_0x513332=null,_0x20a018=!0x1,_0x1e0cdd=!0x1;for(const _0x252045 of _0x2386e1){const _0x12043a=_0x252045[_0x577e43(0x2f8)];_0x20a018=_0x20a018||_0x429e1b[_0x577e43(0x230)](_0x12043a);const _0x25758f=_0x2e6370[_0x577e43(0x329)][_0x577e43(0x27c)](_0x12043a);if(_0x25758f&&_0x25758f[_0x577e43(0x235)](_0x577e43(0x2dc)))return;_0x577e43(0x2b2)==_0x252045[_0x577e43(0x1e9)]&&(_0x429e1b[_0x577e43(0x30d)](_0x12043a)&&!_0x429e1b[_0x577e43(0x263)](_0x12043a)&&(_0x12043a[_0x577e43(0x31e)]||_0x2c03a0[_0x577e43(0x313)]?_0x1d18ed&&_0x1d18ed[_0x577e43(0x209)]==_0x12043a||(_0x1d18ed=_0x12043a,_0x32c9dd(_0x252045[_0x577e43(0x2b7)]),_0x1e0cdd=!0x0):_0x513332=_0x513332||_0x252045[_0x577e43(0x2b7)]));}function _0x32c9dd(_0x24c9c6){const _0x47da76=_0x577e43,_0x1bef1a=_0x2e6370[_0x47da76(0x20a)][_0x47da76(0x25d)](_0x47da76(0x211),{'class':_0x47da76(0x224)+_0x7fadd8}),_0x48ad85=_0x2e6370[_0x47da76(0x329)][_0x47da76(0x2aa)](_0x24c9c6);_0x3467d9[_0x47da76(0x2b5)][_0x47da76(0x243)]&&_0x2e6370[_0x47da76(0x20a)][_0x47da76(0x2cc)](_0x47da76(0x224)+_0x7fadd8+_0x47da76(0x239),_0x1bef1a),_0x22b4da[_0x47da76(0x2f5)]==_0x3467d9&&_0x2e6370[_0x47da76(0x20a)][_0x47da76(0x2cc)](_0x47da76(0x236),_0x1bef1a),_0x2e6370[_0x47da76(0x20a)][_0x47da76(0x2dd)](_0x48ad85,_0x1bef1a),_0x2e6370[_0x47da76(0x329)][_0x47da76(0x29e)](_0x1bef1a,_0x30b7f8[_0x47da76(0x2c5)]);}_0x20a018||_0x1e0cdd||!_0x513332||_0x32c9dd(_0x513332);};}(this[_0x215300(0x291)]),{'priority':_0x215300(0x302)}),this[_0x215300(0x291)][_0x215300(0x21b)][_0x215300(0x2eb)]['on'](_0x215300(0x30b),(_0x18dc28,_0x1b2690,_0x1a5f88)=>{const _0x1406a5=_0x215300,_0x4cb333=_0x1a5f88[_0x1406a5(0x329)][_0x1406a5(0x1fb)](_0x1b2690[_0x1406a5(0x2c5)]);if(_0x4cb333){for(const _0x5984ff of _0x4cb333)(_0x5984ff[_0x1406a5(0x2f2)](_0x1406a5(0x20b))||_0x5984ff[_0x1406a5(0x2f2)](_0x1406a5(0x287)))&&(_0x1a5f88[_0x1406a5(0x329)][_0x1406a5(0x29f)](_0x5984ff,_0x1b2690[_0x1406a5(0x2c5)]),_0x1a5f88[_0x1406a5(0x20a)][_0x1406a5(0x1ff)](_0x5984ff));}},{'priority':_0x215300(0x302)}),this[_0x215300(0x291)][_0x215300(0x21b)][_0x215300(0x2eb)]['on'](_0x215300(0x1ee),(_0x1a8367,_0x17cfc4,_0x5a5f0f)=>{const _0x276e73=_0x215300,_0x27fcf6=_0x17cfc4[_0x276e73(0x2c5)][_0x276e73(0x271)](':')[0x1],_0x438f83=this[_0x276e73(0x321)](_0x27fcf6);if(!_0x438f83)return null;const _0x2abc10=_0x276e73(0x232)==_0x438f83[_0x276e73(0x1e9)]?_0x276e73(0x271):_0x276e73(0x323);if(_0x5a5f0f[_0x276e73(0x309)][_0x276e73(0x270)](_0x17cfc4[_0x276e73(0x2fc)],_0x1a8367[_0x276e73(0x20e)]))for(const _0x45f0a7 of _0x17cfc4[_0x276e73(0x2fc)][_0x276e73(0x2ae)]()){if(!_0x45f0a7['is'](_0x276e73(0x274),_0x276e73(0x233)))continue;const _0x4e0789=_0x5a5f0f[_0x276e73(0x20a)][_0x276e73(0x25d)](_0x276e73(0x211),{'class':_0x276e73(0x224)+_0x2abc10}),_0x2106ef=_0x5a5f0f[_0x276e73(0x329)][_0x276e73(0x2aa)](this[_0x276e73(0x291)][_0x276e73(0x2e7)][_0x276e73(0x32a)](_0x45f0a7));_0x438f83[_0x276e73(0x2b5)][_0x276e73(0x243)]&&_0x5a5f0f[_0x276e73(0x20a)][_0x276e73(0x2cc)](_0x276e73(0x224)+_0x2abc10+_0x276e73(0x239),_0x4e0789),this[_0x276e73(0x2f5)]==_0x438f83&&_0x5a5f0f[_0x276e73(0x20a)][_0x276e73(0x2cc)](_0x276e73(0x236),_0x4e0789),_0x5a5f0f[_0x276e73(0x20a)][_0x276e73(0x2dd)](_0x2106ef,_0x4e0789),_0x5a5f0f[_0x276e73(0x329)][_0x276e73(0x29e)](_0x4e0789,_0x17cfc4[_0x276e73(0x2c5)]);}},{'priority':_0x215300(0x302)}),this[_0x215300(0x291)][_0x215300(0x2e7)][_0x215300(0x24f)]['on'](_0x215300(0x220),()=>{const _0x227e26=_0x215300;this[_0x227e26(0x291)][_0x227e26(0x21b)][_0x227e26(0x30c)][_0x227e26(0x220)](_0x1f1218=>{const _0x46848d=_0x227e26;for(const _0xf62b81 of this[_0x46848d(0x291)][_0x46848d(0x2e7)][_0x46848d(0x24f)][_0x46848d(0x251)]()){const _0x434430=this[_0x46848d(0x291)][_0x46848d(0x2e7)][_0x46848d(0x24f)][_0x46848d(0x283)](_0xf62b81),_0x590b6f=this[_0x46848d(0x291)][_0x46848d(0x21b)][_0x46848d(0x30c)][_0x46848d(0x24f)][_0x46848d(0x283)](_0xf62b81);if(_0x590b6f){const _0x4e1622=_0x434430[_0x46848d(0x26e)](_0x46848d(0x2f4));if(_0x1f1218[_0x46848d(0x266)](_0x46848d(0x328),_0x590b6f),_0x1f1218[_0x46848d(0x25c)](_0x46848d(0x1f6),_0x590b6f),_0x1f1218[_0x46848d(0x25c)](_0x46848d(0x210),_0x590b6f),_0x1f1218[_0x46848d(0x25c)](_0x46848d(0x25f),_0x590b6f),_0x4e1622){const _0x3b92f2=this[_0x46848d(0x321)](_0x4e1622);if(!_0x3b92f2)return null;_0x1f1218[_0x46848d(0x2bc)](_0x46848d(0x328),_0x4e1622,_0x590b6f),_0x1f1218[_0x46848d(0x2cc)](_0x46848d(0x259)+_0x3b92f2[_0x46848d(0x1e9)],_0x590b6f),this[_0x46848d(0x2f5)]==_0x3b92f2&&_0x1f1218[_0x46848d(0x2cc)](_0x46848d(0x25f),_0x590b6f);}}}});}),this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x221))[_0x215300(0x24a)]({'view':_0x215300(0x214),'model':_0x5660fe=>_0x215300(0x2fd)+_0x5660fe,'converterPriority':_0x215300(0x265)}),this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x221))[_0x215300(0x24a)]({'view':_0x215300(0x27e),'model':_0xca464d=>_0x215300(0x298)+_0xca464d,'converterPriority':_0x215300(0x265)}),this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x1f4))[_0x215300(0x217)]({'model':_0x215300(0x2d3),'view':_0xb2e094=>({'name':_0x215300(0x242)+_0xb2e094,'group':_0x215300(0x2d3)}),'converterPriority':_0x215300(0x265)}),this[_0x215300(0x291)][_0x215300(0x295)][_0x215300(0x241)](_0x215300(0x2bd))[_0x215300(0x226)]({'model':_0x215300(0x2d3),'view':_0x4f0598=>{const _0x5703da=_0x215300,_0x2f837d=_0x4f0598[_0x5703da(0x2c5)][_0x5703da(0x271)](':')[0x1];return _0x5703da(0x2a9)!=_0x2f837d&&_0x5703da(0x276)!=_0x2f837d?null:{'classes':[_0x5703da(0x1fe),_0x5703da(0x2df)+_0x2f837d]};}}),this[_0x215300(0x291)][_0x215300(0x21b)][_0x215300(0x2eb)]['on'](_0x215300(0x30f),Q(this[_0x215300(0x291)],_0x215300(0x323)),{'priority':_0x215300(0x302)}),this[_0x215300(0x291)][_0x215300(0x21b)][_0x215300(0x2eb)]['on'](_0x215300(0x2ef),Q(this[_0x215300(0x291)],_0x215300(0x271)),{'priority':_0x215300(0x302)}),this[_0x215300(0x291)][_0x215300(0x21b)][_0x215300(0x2eb)]['on'](_0x215300(0x307),(_0x110ff0,_0x372451,_0x5cf21f)=>{const _0x55f3c8=_0x215300,_0x5d6461=_0x5cf21f[_0x55f3c8(0x329)][_0x55f3c8(0x1fb)](_0x372451[_0x55f3c8(0x2c5)]);if(_0x5d6461){for(const _0x23bd05 of _0x5d6461)_0x23bd05['is'](_0x55f3c8(0x31b))&&(_0x5cf21f[_0x55f3c8(0x329)][_0x55f3c8(0x29f)](_0x23bd05,_0x372451[_0x55f3c8(0x2c5)]),_0x5cf21f[_0x55f3c8(0x20a)][_0x55f3c8(0x1ff)](_0x23bd05));}},{'priority':_0x215300(0x302)});}[_0xdbbef0(0x321)](_0xac7fcb){const _0xeadb48=_0xdbbef0;return this[_0xeadb48(0x2ea)][_0xeadb48(0x320)](_0xac7fcb);}[_0xdbbef0(0x22f)](_0x447788){const _0x1e2971=_0xdbbef0;return this[_0x1e2971(0x2b9)]&&this[_0x1e2971(0x2b9)][_0x1e2971(0x26c)](),this[_0x1e2971(0x2b9)]=new _0x3382eb(this[_0x1e2971(0x291)][_0x1e2971(0x205)],_0x447788),this[_0x1e2971(0x2b9)];}[_0xdbbef0(0x22b)](){const _0x240ae4=_0xdbbef0;this[_0x240ae4(0x291)][_0x240ae4(0x2e7)][_0x240ae4(0x24f)][_0x240ae4(0x219)][_0x240ae4(0x2ce)](_0x240ae4(0x1e7)),this['on'](_0x240ae4(0x2c4),(_0x9ba31c,_0x35e49a,_0x2c446b,_0x14c2e5)=>{const _0x23d104=_0x240ae4;_0x14c2e5&&this[_0x23d104(0x2a8)][_0x23d104(0x1ff)](_0x14c2e5),_0x2c446b&&(this[_0x23d104(0x2a8)][_0x23d104(0x232)]({'view':_0x2c446b,'stackId':_0x23d104(0x277),'position':{'target':()=>{const _0x35d126=_0x23d104,_0x23202f=this[_0x35d126(0x291)][_0x35d126(0x21b)],_0x25d865=this[_0x35d126(0x321)](_0x2c446b[_0x35d126(0x225)]);let _0x1a54ce;if(_0x25d865[_0x35d126(0x2b5)][_0x35d126(0x2b0)]){const _0x52fc1f=_0x23202f[_0x35d126(0x30c)][_0x35d126(0x2d1)](_0x25d865[_0x35d126(0x1f8)]);_0x1a54ce=Array[_0x35d126(0x248)](_0x52fc1f[_0x35d126(0x2be)]());}else{const _0x39a3a7=this[_0x35d126(0x291)][_0x35d126(0x2e7)][_0x35d126(0x2b3)][_0x35d126(0x320)](_0x35d126(0x2a0)+_0x2c446b[_0x35d126(0x225)]);_0x1a54ce=Array[_0x35d126(0x248)](_0x23202f[_0x35d126(0x329)][_0x35d126(0x1fb)](_0x39a3a7[_0x35d126(0x20e)]))[_0x35d126(0x322)](_0x96d013=>_0x23202f[_0x35d126(0x30c)][_0x35d126(0x264)][_0x35d126(0x256)](_0x96d013))[_0x35d126(0x322)](_0x5beffe=>Array[_0x35d126(0x248)](_0x5beffe[_0x35d126(0x2be)]()))[_0x35d126(0x23b)]();}if(!this[_0x35d126(0x2f3)])return _0x1a54ce[0x0];return _0x1a54ce[_0x35d126(0x2c1)](_0x5add50=>_0x5add50[_0x35d126(0x216)]-0x3<=this[_0x35d126(0x2f3)]['y']&&_0x5add50[_0x35d126(0x2f6)]+0x3>=this[_0x35d126(0x2f3)]['y']&&_0x5add50[_0x35d126(0x203)]-0x3<=this[_0x35d126(0x2f3)]['x']&&_0x5add50[_0x35d126(0x21f)]+0x3>=this[_0x35d126(0x2f3)]['x'])||_0x1a54ce[0x0];}}}),this[_0x23d104(0x2a8)][_0x23d104(0x1f7)](_0x23d104(0x277)));}),this['on'](_0x240ae4(0x1f5),(_0x5a56e9,_0x54f5c8,_0x351999,_0x3ae182)=>{const _0x1d5a87=_0x240ae4;this[_0x1d5a87(0x249)]=_0x351999?this[_0x1d5a87(0x22f)](_0x351999):null,this[_0x1d5a87(0x291)][_0x1d5a87(0x2e7)][_0x1d5a87(0x220)](()=>{const _0xebc15d=_0x1d5a87,_0x5e9b91=this[_0xebc15d(0x291)][_0xebc15d(0x21b)];_0x3ae182&&(_0x3ae182[_0xebc15d(0x2b5)][_0xebc15d(0x2b0)]?_0x5e9b91[_0xebc15d(0x30c)][_0xebc15d(0x220)](_0x5aff7f=>{const _0x28ef60=_0xebc15d;_0x5aff7f[_0x28ef60(0x25c)](_0x28ef60(0x25f),_0x5e9b91[_0x28ef60(0x30c)][_0x28ef60(0x24f)][_0x28ef60(0x283)](_0x3ae182[_0x28ef60(0x1f8)]));}):_0x5e9b91[_0xebc15d(0x28c)](_0xebc15d(0x2a0)+_0x3ae182['id'])),_0x351999&&(_0x351999[_0xebc15d(0x2b5)][_0xebc15d(0x2b0)]?_0x5e9b91[_0xebc15d(0x30c)][_0xebc15d(0x220)](_0x4d41f4=>{const _0x4df066=_0xebc15d;_0x4d41f4[_0x4df066(0x2cc)](_0x4df066(0x25f),_0x5e9b91[_0x4df066(0x30c)][_0x4df066(0x24f)][_0x4df066(0x283)](_0x351999[_0x4df066(0x1f8)]));}):_0x5e9b91[_0xebc15d(0x28c)](_0xebc15d(0x2a0)+_0x351999['id']));});}),this[_0x240ae4(0x326)](this[_0x240ae4(0x291)][_0x240ae4(0x21b)][_0x240ae4(0x30c)][_0x240ae4(0x24f)],_0x240ae4(0x2da),(_0x3a0afd,_0x23f6aa)=>{const _0x67f674=_0x240ae4;if(this[_0x67f674(0x2f5)])return;const _0x5d2462=this[_0x67f674(0x212)](_0x23f6aa[_0x67f674(0x29a)]),_0x417af8=this[_0x67f674(0x2ea)][_0x67f674(0x320)](_0x5d2462);_0x417af8?(this[_0x67f674(0x2f3)]={'x':_0x23f6aa[_0x67f674(0x293)]['x'],'y':_0x23f6aa[_0x67f674(0x293)]['y']},this[_0x67f674(0x249)]=this[_0x67f674(0x22f)](_0x417af8)):(this[_0x67f674(0x2f3)]=null,this[_0x67f674(0x249)]=null);}),this[_0x240ae4(0x326)](this[_0x240ae4(0x291)][_0x240ae4(0x21b)][_0x240ae4(0x30c)][_0x240ae4(0x24f)],_0x240ae4(0x23a),(_0x3d9f9a,_0x1d8c7c)=>{const _0x5ddf17=_0x240ae4,_0x5ba45b=this[_0x5ddf17(0x212)](_0x1d8c7c[_0x5ddf17(0x29a)]),_0x4d5a47=this[_0x5ddf17(0x2ea)][_0x5ddf17(0x320)](_0x5ba45b);_0x4d5a47?(this[_0x5ddf17(0x2f3)]={'x':_0x1d8c7c[_0x5ddf17(0x293)]['x'],'y':_0x1d8c7c[_0x5ddf17(0x293)]['y']},_0x4d5a47===this[_0x5ddf17(0x2f5)]?this[_0x5ddf17(0x2a8)][_0x5ddf17(0x300)]():this[_0x5ddf17(0x2f5)]=_0x4d5a47):(this[_0x5ddf17(0x2f3)]=null,this[_0x5ddf17(0x2f5)]=null);});}[_0xdbbef0(0x212)](_0x3574d2){const _0x133baf=_0xdbbef0;do{const _0x30489f=_0x3574d2[_0x133baf(0x26e)](_0x133baf(0x328));if(_0x30489f)return _0x30489f;_0x3574d2=_0x3574d2[_0x133baf(0x209)];}while(_0x3574d2);return null;}[_0xdbbef0(0x2fe)](){const _0x4c0ef9=_0xdbbef0;this[_0x4c0ef9(0x291)][_0x4c0ef9(0x2e7)][_0x4c0ef9(0x220)](_0x1c6bc6=>{const _0x24d59d=_0x4c0ef9;for(const _0x39adee of this[_0x24d59d(0x291)][_0x24d59d(0x2e7)][_0x24d59d(0x2b3)])_0x1c6bc6[_0x24d59d(0x301)](_0x39adee);});}}function Q(_0x1965a1,_0x156d61){return(_0x8518a6,_0x518882,_0x6363da)=>{const _0x4dcc3b=_0x30ee;if(!_0x6363da[_0x4dcc3b(0x309)][_0x4dcc3b(0x270)](_0x518882[_0x4dcc3b(0x2fc)],_0x8518a6[_0x4dcc3b(0x20e)]))return;const _0x16ff11=_0x518882[_0x4dcc3b(0x2fc)][_0x4dcc3b(0x204)](),_0x4f8a13=_0x518882[_0x4dcc3b(0x2fc)][_0x4dcc3b(0x1ed)],_0x3915a2=_0x1965a1[_0x4dcc3b(0x2e7)][_0x4dcc3b(0x22a)];let _0x10086e=null,_0x29f447=null,_0xcca473=!0x1,_0x295640=!0x1;for(const _0x1ead12 of _0x16ff11){const _0x562666=_0x1ead12[_0x4dcc3b(0x2f8)];_0xcca473=_0xcca473||_0x3915a2[_0x4dcc3b(0x230)](_0x562666);const _0x2c8ad5=_0x6363da[_0x4dcc3b(0x329)][_0x4dcc3b(0x27c)](_0x562666);if(_0x2c8ad5&&_0x2c8ad5[_0x4dcc3b(0x235)](_0x4dcc3b(0x2dc)))return;_0x4dcc3b(0x2b2)==_0x1ead12[_0x4dcc3b(0x1e9)]&&(_0x3915a2[_0x4dcc3b(0x30d)](_0x562666)&&!_0x3915a2[_0x4dcc3b(0x263)](_0x562666)&&(_0x562666[_0x4dcc3b(0x31e)]||_0x4f8a13[_0x4dcc3b(0x313)]?_0x10086e&&_0x10086e[_0x4dcc3b(0x209)]==_0x562666||(_0x10086e=_0x562666,_0x49ee2d(_0x1ead12[_0x4dcc3b(0x2b7)]),_0x295640=!0x0):_0x29f447=_0x29f447||_0x1ead12[_0x4dcc3b(0x2b7)]));}function _0x49ee2d(_0x28ac91){const _0x4e3ad9=_0x4dcc3b,_0x5bc413=_0x6363da[_0x4e3ad9(0x329)][_0x4e3ad9(0x2aa)](_0x28ac91),_0x2d80bf=_0x6363da[_0x4e3ad9(0x20a)][_0x4e3ad9(0x25d)](_0x4e3ad9(0x211),{'class':_0x4e3ad9(0x2df)+_0x156d61});_0x6363da[_0x4e3ad9(0x20a)][_0x4e3ad9(0x2dd)](_0x5bc413,_0x2d80bf),_0x6363da[_0x4e3ad9(0x329)][_0x4e3ad9(0x29e)](_0x2d80bf,_0x518882[_0x4e3ad9(0x2c5)]);}_0xcca473||_0x295640||!_0x29f447||_0x49ee2d(_0x29f447);};}export class RestoreRevisionCommand extends _0x5489ff{constructor(_0x2dec93){const _0xcb515f=_0xdbbef0;super(_0x2dec93);const _0x3a7bc9=_0x2dec93[_0xcb515f(0x2d5)][_0xcb515f(0x320)](RevisionViewer);this[_0xcb515f(0x2e9)]=!0x1,this[_0xcb515f(0x326)](_0x3a7bc9,_0xcb515f(0x2a1),()=>this[_0xcb515f(0x24b)]()),this[_0xcb515f(0x326)](_0x3a7bc9,_0xcb515f(0x1e5),()=>this[_0xcb515f(0x24b)]());}[_0xdbbef0(0x2ac)](){const _0xc7cdd4=_0xdbbef0,_0x538be3=this[_0xc7cdd4(0x291)],_0x3ea0d9=_0x538be3[_0xc7cdd4(0x2d5)][_0xc7cdd4(0x320)](RevisionViewer),_0x2dd33f=_0x3ea0d9[_0xc7cdd4(0x245)]?_0x3ea0d9[_0xc7cdd4(0x229)][_0xc7cdd4(0x262)]:null;_0x538be3[_0xc7cdd4(0x2e3)][_0xc7cdd4(0x320)](_0xc7cdd4(0x286))[_0xc7cdd4(0x2bb)](_0x2dd33f);}[_0xdbbef0(0x24b)](){const _0x547da5=_0xdbbef0,{isReady:_0x51110b,isEnabled:_0x1f062b,repository:_0x367bf3,diff:_0x107e84}=this[_0x547da5(0x291)][_0x547da5(0x2d5)][_0x547da5(0x320)](RevisionViewer),_0x21f726=_0x107e84&&_0x367bf3[_0x547da5(0x22c)](_0x107e84[_0x547da5(0x262)]);this[_0x547da5(0x27f)]=_0x51110b&&_0x1f062b&&Boolean(_0x21f726);}}export class ShowChangeCommand extends _0x5489ff{[_0xdbbef0(0x29c)];constructor(_0x33882a,{direction:_0x359c5d}){const _0x1190f0=_0xdbbef0;super(_0x33882a);const _0x3f03ed=_0x33882a[_0x1190f0(0x2d5)][_0x1190f0(0x320)](RevisionViewer);this[_0x1190f0(0x2e9)]=!0x1,this[_0x1190f0(0x29c)]=_0x1190f0(0x299)===_0x359c5d?0x1:-0x1,this[_0x1190f0(0x326)](_0x3f03ed,_0x1190f0(0x2a1),()=>this[_0x1190f0(0x24b)]()),this[_0x1190f0(0x326)](_0x3f03ed,_0x1190f0(0x1e5),()=>this[_0x1190f0(0x24b)]()),this[_0x1190f0(0x326)](_0x3f03ed,_0x1190f0(0x1f5),()=>this[_0x1190f0(0x24b)]());}[_0xdbbef0(0x2ac)](){const _0x3b47b9=_0xdbbef0,_0x2086c4=this[_0x3b47b9(0x291)],_0x5a3a43=_0x2086c4[_0x3b47b9(0x2d5)][_0x3b47b9(0x320)](RevisionViewer),{isNavigationMode:_0x53e794,currentChangeNumber:_0x5a2088}=_0x5a3a43;let _0x358e07;if(_0x5a3a43[_0x3b47b9(0x2f5)]=_0x53e794?_0x5a3a43[_0x3b47b9(0x229)][_0x3b47b9(0x2a2)][_0x3b47b9(0x320)](_0x5a2088+this[_0x3b47b9(0x29c)]):_0x5a3a43[_0x3b47b9(0x229)][_0x3b47b9(0x2a2)][_0x3b47b9(0x1ec)],_0x5a3a43[_0x3b47b9(0x2f5)][_0x3b47b9(0x2b5)][_0x3b47b9(0x2b0)])_0x358e07=_0x2086c4[_0x3b47b9(0x21b)][_0x3b47b9(0x30c)][_0x3b47b9(0x2d1)](_0x5a3a43[_0x3b47b9(0x2f5)][_0x3b47b9(0x1f8)]);else{const _0x4f7804=_0x2086c4[_0x3b47b9(0x2e7)][_0x3b47b9(0x2b3)][_0x3b47b9(0x320)](_0x3b47b9(0x2a0)+_0x5a3a43[_0x3b47b9(0x2f5)]['id']);_0x358e07=_0x2c591e(_0x2086c4[_0x3b47b9(0x21b)],_0x4f7804);}_0x14a736({'target':_0x358e07,'viewportOffset':0x28});}[_0xdbbef0(0x24b)](){const _0x3bfaf4=_0xdbbef0,{isNavigationMode:_0x5be1a3,currentChangeNumber:_0x15ad94,numberOfChanges:_0x53c908,isReady:_0x12f7f5,isEnabled:_0x369ed4}=this[_0x3bfaf4(0x291)][_0x3bfaf4(0x2d5)][_0x3bfaf4(0x320)](RevisionViewer);this[_0x3bfaf4(0x27f)]=!!(_0x369ed4&&_0x12f7f5&&_0x53c908)&&(!_0x5be1a3||(0x1===this[_0x3bfaf4(0x29c)]?_0x15ad94<_0x53c908-0x1:_0x15ad94>0x0));}}
|
|
23
|
+
const _0x5b5e80=_0x2175;(function(_0x1e8218,_0x4fb1c2){const _0x12b3ff=_0x2175,_0x4177d1=_0x1e8218();while(!![]){try{const _0x1fe0fc=-parseInt(_0x12b3ff(0x262))/0x1*(parseInt(_0x12b3ff(0x2cc))/0x2)+-parseInt(_0x12b3ff(0x2e5))/0x3+-parseInt(_0x12b3ff(0x240))/0x4*(-parseInt(_0x12b3ff(0x265))/0x5)+parseInt(_0x12b3ff(0x26a))/0x6*(parseInt(_0x12b3ff(0x249))/0x7)+-parseInt(_0x12b3ff(0x2c0))/0x8+parseInt(_0x12b3ff(0x28f))/0x9*(-parseInt(_0x12b3ff(0x1e7))/0xa)+-parseInt(_0x12b3ff(0x28a))/0xb*(-parseInt(_0x12b3ff(0x1e4))/0xc);if(_0x1fe0fc===_0x4fb1c2)break;else _0x4177d1['push'](_0x4177d1['shift']());}catch(_0x56ae7d){_0x4177d1['push'](_0x4177d1['shift']());}}}(_0x2cee,0x8a76f));import{Plugin as _0x44bdb6,Command as _0x4ec70b}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x546c1d}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x4ee235}from'ckeditor5/src/ui.js';function _0x2cee(){const _0x3131d2=['revisionHistoryAttachChange','getRevision','getWalker','locale','getRevisionRootsAttributes','then','abs','getCustomProperty','addMarker:revision','addMarker:revision-suggestion:insertion','elementStart','forward','diffData','activeView','removeAttribute','removeMarker','_activeViewTarget','ck-revision-history-root-','isSuggestion','ck-suggestion-preview-marker-','restoreRevision','attributes','split','data-change-id','ck-suggestion-marker-split','shift','removeMarker:revision','bind','done','_balloon','11mYfEsl','userId','_setDistance','currentChangeNumber','slice','2943342unOIlI','_findChangeIdFromDomTarget','_changeIdToChange','right','elementEnd','roots','change:isReady','find','domEvent','checkAttribute','distance','createPositionFromPath','_markMarkers','code','bottom','hasAttribute','attributesAfter','attributesBefore','revision-comment:','addClass','_fixObsoleteTags','_removeMissingPairs','setAttribute','item','createRange','enableReadOnlyMode','ck-suggestion-marker','push','markersEnd','plugins','includes','indexOf','getItems','_setConversion','deletions','suggestion','_cleanUp','softBreak','change:activeChange','isIncorrect','startIndex','ck-suggestion-marker-merge','RevisionsRepository','_makeModelFromTape','concat','isCollapsed','getClientRects','change:numberOfChanges','isAdded','7065296FnDODb','attachChange','_markSuggestions','object','change:activeView','forceDisabled','config','wrap','findIndex','revisionHistory','view','_update','46PikHMh','stop','createPositionBefore','ck-revision-history-root-add','index','map','_cleanMarkers','clear','requires','getChild','type','_makeTape','consume','suggestion:','downcastDispatcher','error','isRemoved','changes','length','isBefore','adapter','execute','_joinTapes','_makeModelFromViewString','unshift','575130IBpuzh','splice','highest','span','isContent','data','isReady','removeMarker:revision-suggestion','high','RevisionHistoryUtils','isAttached','offsetSize','_processTape','createRevision','_markMismatchedRemovedTags','comment','filter','_data','addRevision','editing','name','toViewRange','forEach','test','getLaterVisibleRevision','repository','ck-suggestion-marker--active','markers','_sortAndFilterDiffChanges','createUIElement','mousedown','reconvertMarker','_utils','mapper','delete','values','_getChangeFromId','catch','observeMarkers','element:pre','revision-viewer','_removeUnsupportedChanges','add','startsWith','flat','getAttributes','_step','attribute:vid','maxOffset','endIndex','revisionHistoryLabel','isAtStart','_initInteractions','addMarker:revision-suggestion:deletion','ck-revision-history-root-remove','addRoot','revision:','dataToMarker','target','getRevisionDocumentData','side','low','change','diff','restoreRevisionCallback','changeId','ck-editor__editable__overlay','deletion','_refreshStartEndIndex','_setChanges','POSITIVE_INFINITY','10499640Lfizyf','WidgetToolbarRepository','consumable','20Vldsjt','insert','enqueueChange','isEqual','isLimit','end','_markInsertions','from','_threeWayMerge','isBlock','ck-revision-history-root--active','markerRange','refresh','keys','vid_start','revision','writer','left','markerNameToElements','compare','pop','isRemoveSuggestion','isOfficialPlugin','isInline','markerName','editingDowncast','destroy','affectsData','isOnRoot','_getDiff','hasClass','markersStart','vid_end','conversion','isPremiumPlugin','insertions','listenTo','level','remove','pairId','editor','removeClass','showPreviousChange','backward','insertion','_changeView','getDomRoot','init','resolve','getIndex','all','getRoot','parent','mouseover','uiElement','has','domConverter','_appendChild','createRangeIn','ck-suggestion-marker-','for','commands','toViewElement','authors','createAttributeElement','showNextChange','isObject','isEnabled','toViewPosition','first','element','isAddSuggestion','rootName','set','detachRoot','bindElementToMarker','ck-suggestion-preview-marker','change:isEnabled','return','string','elementToAttribute','isNavigationMode','_getRevisionsRange','isAtEnd','revision-suggestion','getRootNames','oldRevisionId','nextSibling','vid','4krsTzP','next','RevisionViewer','viewItem','previousPosition','isAfter','_getViewForChange','markerToHighlight','numberOfChanges','14iOjNol','loadRevisionData','unbindElementFromMarkerName','addHighlight','pluginName','getAttribute','nextPosition','revision-suggestion:','sort','model','text','addRevisionData','merge','dataDowncast','start','_revisions','top','activeChange','mapViewToDom','get','modelRange','-new','showStack','nodeAfter','schema','30517CuKNhp','range','document','5537890SZvALj','upcast','markerToData','updatePosition','selection','3046326zJXJdo','newRevisionId'];_0x2cee=function(){return _0x3131d2;};return _0x2cee();}import{DocumentFragment as _0x3e21c2,Element as _0x220119,Text as _0x5a9dbd}from'ckeditor5/src/engine.js';function _0x2175(_0x59258c,_0x2cf44d){const _0x2ceed9=_0x2cee();return _0x2175=function(_0x217545,_0x35a9c8){_0x217545=_0x217545-0x1b1;let _0x255780=_0x2ceed9[_0x217545];return _0x255780;},_0x2175(_0x59258c,_0x2cf44d);}import{Users as _0x25e0da,getMarkerDomElement as _0x56d190}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x5e992a}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x273600}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x367212}from'./revisionhistoryutils.js';import{ChangeItem as _0x1bfd26}from'./changeitem.js';import{RevisionDiff as _0xfd47f3}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x10a05d}from'es-toolkit/compat';export class RevisionViewer extends _0x44bdb6{[_0x5b5e80(0x1b6)];[_0x5b5e80(0x2e0)]=null;[_0x5b5e80(0x1bd)];[_0x5b5e80(0x27c)];[_0x5b5e80(0x214)];[_0x5b5e80(0x291)];[_0x5b5e80(0x289)];static get[_0x5b5e80(0x24d)](){const _0x5a4f22=_0x5b5e80;return _0x5a4f22(0x242);}static get[_0x5b5e80(0x1fd)](){return!0x0;}static get[_0x5b5e80(0x209)](){return!0x0;}static get[_0x5b5e80(0x2d4)](){return[_0x25e0da,_0x4ee235,_0x273600,_0x367212];}constructor(_0x32a4d0){const _0x385dd9=_0x5b5e80;super(_0x32a4d0),this[_0x385dd9(0x1b6)]=this[_0x385dd9(0x20f)][_0x385dd9(0x2ac)][_0x385dd9(0x25c)](_0x385dd9(0x2b9)),this[_0x385dd9(0x1bd)]=this[_0x385dd9(0x20f)][_0x385dd9(0x2ac)][_0x385dd9(0x25c)](_0x385dd9(0x2ee)),this[_0x385dd9(0x230)](_0x385dd9(0x25a),null),this[_0x385dd9(0x230)](_0x385dd9(0x279),null),this[_0x385dd9(0x27c)]=null,this[_0x385dd9(0x230)](_0x385dd9(0x1dc),null),this[_0x385dd9(0x230)](_0x385dd9(0x2eb),!0x1),this[_0x385dd9(0x230)](_0x385dd9(0x22a),!0x0),this['on'](_0x385dd9(0x234),(_0x58445d,_0x50ee1e,_0x182678)=>{const _0x4353b2=_0x385dd9;this[_0x4353b2(0x25a)]=null,this[_0x4353b2(0x279)]=null,this[_0x4353b2(0x20f)][_0x4353b2(0x2f8)][_0x4353b2(0x2ca)][_0x4353b2(0x1db)](_0x1e01eb=>{const _0x1b413a=_0x4353b2;for(const _0x44a351 of this[_0x1b413a(0x20f)][_0x1b413a(0x2f8)][_0x1b413a(0x2ca)][_0x1b413a(0x264)][_0x1b413a(0x294)])_0x182678?_0x1e01eb[_0x1b413a(0x210)](_0x1b413a(0x1df),_0x44a351):_0x1e01eb[_0x1b413a(0x2a2)](_0x1b413a(0x1df),_0x44a351);});}),this[_0x385dd9(0x287)](_0x385dd9(0x238))['to'](this,_0x385dd9(0x25a),_0x3ac2c2=>null!==_0x3ac2c2),this[_0x385dd9(0x287)](_0x385dd9(0x28d))['to'](this,_0x385dd9(0x2eb),this,_0x385dd9(0x1dc),this,_0x385dd9(0x25a),(_0x28d837,_0x19951e,_0x139228)=>_0x28d837&&_0x139228?_0x19951e[_0x385dd9(0x2dd)][_0x385dd9(0x218)](_0x139228):0x0),this[_0x385dd9(0x287)](_0x385dd9(0x248))['to'](this,_0x385dd9(0x2eb),this,_0x385dd9(0x1dc),(_0x56e459,_0x516dd2)=>_0x56e459?_0x516dd2[_0x385dd9(0x2dd)][_0x385dd9(0x2de)]:0x0),this[_0x385dd9(0x214)]=null,this[_0x385dd9(0x291)]=new Map(),this[_0x385dd9(0x289)]=this[_0x385dd9(0x20f)][_0x385dd9(0x2ac)][_0x385dd9(0x25c)](_0x4ee235);}[_0x5b5e80(0x216)](){const _0xafcb72=_0x5b5e80,_0x34d412=this[_0xafcb72(0x20f)],_0x15c684=new ShowChangeCommand(_0x34d412,{'direction':_0xafcb72(0x212)}),_0xb2cd2=new ShowChangeCommand(_0x34d412,{'direction':_0xafcb72(0x277)});(_0x34d412[_0xafcb72(0x224)][_0xafcb72(0x1c7)](_0xafcb72(0x211),_0x15c684),_0x34d412[_0xafcb72(0x224)][_0xafcb72(0x1c7)](_0xafcb72(0x228),_0xb2cd2),_0x34d412[_0xafcb72(0x224)][_0xafcb72(0x1c7)](_0xafcb72(0x280),new RestoreRevisionCommand(_0x34d412)),this['on'](_0xafcb72(0x2be),()=>{const _0x606ac2=_0xafcb72;_0x15c684[_0x606ac2(0x1f3)](),_0xb2cd2[_0x606ac2(0x1f3)]();}),this[_0xafcb72(0x2b0)](),this[_0xafcb72(0x1d1)](),_0x34d412[_0xafcb72(0x2a8)](_0xafcb72(0x1c5)),_0x34d412[_0xafcb72(0x2ac)][_0xafcb72(0x21e)](_0xafcb72(0x1e5)))&&_0x34d412[_0xafcb72(0x2ac)][_0xafcb72(0x25c)](_0xafcb72(0x1e5))[_0xafcb72(0x2c5)](_0xafcb72(0x1c5));}async[_0x5b5e80(0x1d8)](_0x4f6d02){const _0x50413f=_0x5b5e80;return await this[_0x50413f(0x1bd)][_0x50413f(0x24a)](_0x4f6d02,this[_0x50413f(0x2e0)]),this[_0x50413f(0x1bd)][_0x50413f(0x1d8)](_0x4f6d02);}async[_0x5b5e80(0x270)](_0x26087f){const _0x911d02=_0x5b5e80;return await this[_0x911d02(0x1bd)][_0x911d02(0x24a)](_0x26087f,this[_0x911d02(0x2e0)]),this[_0x911d02(0x1bd)][_0x911d02(0x270)](_0x26087f);}async[_0x5b5e80(0x1fa)](_0x252234,_0x2a573d,_0x55e97b=!0x1){const _0x3506a5=_0x5b5e80;if(!this[_0x3506a5(0x22a)])return;const _0x24b75d=this[_0x3506a5(0x1dc)],_0x1de463=this[_0x3506a5(0x1b6)],_0x47aab4=_0x3506a5(0x236)==typeof _0x252234?_0x1de463[_0x3506a5(0x26d)](_0x252234):_0x252234,_0x35a4e4=_0x3506a5(0x236)==typeof _0x2a573d?_0x1de463[_0x3506a5(0x26d)](_0x2a573d):_0x2a573d,_0x1ca9e6=_0x47aab4['id'],_0x3a2855=_0x35a4e4?_0x35a4e4['id']:null;if(!_0x55e97b&&this[_0x3506a5(0x1dc)]&&this[_0x3506a5(0x1dc)][_0x3506a5(0x26b)]===_0x1ca9e6&&this[_0x3506a5(0x1dc)][_0x3506a5(0x23d)]===_0x3a2855)return Promise[_0x3506a5(0x217)]();this[_0x3506a5(0x2eb)]=!0x1,this[_0x3506a5(0x279)]=null,this[_0x3506a5(0x25a)]=null,this[_0x3506a5(0x1dc)]=new _0xfd47f3(_0x1ca9e6,_0x3a2855);const _0x1d9bc3=this[_0x3506a5(0x239)](_0x47aab4,_0x35a4e4,!0x0)[_0x3506a5(0x2d1)](_0x2ea46c=>this[_0x3506a5(0x1bd)][_0x3506a5(0x24a)](_0x2ea46c,this[_0x3506a5(0x2e0)]));return _0x1d9bc3[_0x3506a5(0x2aa)](new Promise(_0xea0bdd=>{setTimeout(_0xea0bdd,0x14);})),Promise[_0x3506a5(0x219)](_0x1d9bc3)[_0x3506a5(0x271)](()=>{const _0x5b21ab=_0x3506a5;if(!this[_0x5b21ab(0x22a)])return;this[_0x5b21ab(0x2b3)]();const _0x339377=this[_0x5b21ab(0x204)](_0x1ca9e6,_0x3a2855);for(const _0x1c9e72 of _0x339377[_0x5b21ab(0x2dd)])this[_0x5b21ab(0x291)][_0x5b21ab(0x230)](_0x1c9e72['id'],_0x1c9e72);this[_0x5b21ab(0x20f)][_0x5b21ab(0x252)][_0x5b21ab(0x1e9)]({'isUndoable':!0x1},_0x308050=>{const _0x3c5b47=_0x5b21ab;for(const _0x4ae2ee of this[_0x3c5b47(0x20f)][_0x3c5b47(0x252)][_0x3c5b47(0x264)][_0x3c5b47(0x23c)]())_0x308050[_0x3c5b47(0x231)](_0x4ae2ee);for(const _0x2812c1 of Object[_0x3c5b47(0x1f4)](_0x339377[_0x3c5b47(0x252)])){const _0x426fc6=_0x308050[_0x3c5b47(0x1d4)](_0x2812c1);for(const _0x5cf81b of Object[_0x3c5b47(0x1f4)](_0x339377[_0x3c5b47(0x281)][_0x2812c1]))_0x308050[_0x3c5b47(0x2a5)](_0x5cf81b,_0x339377[_0x3c5b47(0x281)][_0x2812c1][_0x5cf81b],_0x426fc6);_0x308050[_0x3c5b47(0x1e8)](_0x339377[_0x3c5b47(0x252)][_0x2812c1],_0x426fc6,0x0);}}),this[_0x5b21ab(0x1dc)][_0x5b21ab(0x1e2)](this[_0x5b21ab(0x1b9)](_0x339377[_0x5b21ab(0x2dd)])),this[_0x5b21ab(0x2eb)]=!0x0;})[_0x3506a5(0x1c2)](_0x35847b=>{const _0x1e1b6f=_0x3506a5;console[_0x1e1b6f(0x2db)](_0x35847b),this[_0x1e1b6f(0x2b3)](),_0x24b75d&&(this[_0x1e1b6f(0x1dc)]=_0x24b75d),this[_0x1e1b6f(0x2eb)]=!0x0;});}[_0x5b5e80(0x254)](_0xc4c659,_0x36f274){const _0x3cac97=_0x5b5e80,_0x3deb0a=this[_0x3cac97(0x1b6)][_0x3cac97(0x2f2)](_0xc4c659);return _0x3deb0a['on'](_0x3cac97(0x2cb),(_0x52632,_0x282034,_0xb6e267)=>_0x36f274(_0x282034,_0xb6e267,_0x3deb0a)),this[_0x3cac97(0x1b6)][_0x3cac97(0x2f7)](_0x3deb0a),_0x3deb0a;}[_0x5b5e80(0x2b3)](){const _0x57319a=_0x5b5e80;this[_0x57319a(0x25a)]=null,this[_0x57319a(0x2d2)](),this[_0x57319a(0x214)]&&this[_0x57319a(0x214)][_0x57319a(0x201)](),this[_0x57319a(0x214)]=null,this[_0x57319a(0x291)][_0x57319a(0x2d3)](),this[_0x57319a(0x20f)][_0x57319a(0x252)][_0x57319a(0x1e9)]({'isUndoable':!0x1},_0x6c3a2=>{const _0x46d90e=_0x57319a;for(const _0x453f79 of this[_0x46d90e(0x20f)][_0x46d90e(0x252)][_0x46d90e(0x264)][_0x46d90e(0x23c)]())_0x6c3a2[_0x46d90e(0x231)](_0x453f79);});}[_0x5b5e80(0x1b9)](_0x1d77c9){const _0x217ab1=_0x5b5e80,_0x25041b=[],_0x27f903=new Map();for(const _0x2b7307 of this[_0x217ab1(0x20f)][_0x217ab1(0x252)][_0x217ab1(0x264)][_0x217ab1(0x23c)]()){const _0x8bfde4=this[_0x217ab1(0x20f)][_0x217ab1(0x2f8)][_0x217ab1(0x2ca)][_0x217ab1(0x215)](_0x2b7307);if(!_0x8bfde4)continue;const _0x539bf3=_0x8bfde4[_0x217ab1(0x2bd)]()[_0x217ab1(0x2a6)](0x0);_0x539bf3&&(_0x25041b[_0x217ab1(0x2aa)](_0x2b7307),_0x27f903[_0x217ab1(0x230)](_0x2b7307,_0x539bf3));}return _0x25041b[_0x217ab1(0x251)]((_0x27f066,_0x334a12)=>{const _0x52544a=_0x217ab1,_0x2a63ff=_0x27f903[_0x52544a(0x25c)](_0x27f066),_0x223c50=_0x27f903[_0x52544a(0x25c)](_0x334a12);return _0x2a63ff['y']-_0x223c50['y']||_0x2a63ff['x']-_0x223c50['x'];}),(_0x1d77c9=_0x1d77c9[_0x217ab1(0x2f5)](_0x198c30=>_0x25041b[_0x217ab1(0x2ad)](_0x198c30[_0x217ab1(0x22f)])))[_0x217ab1(0x251)]((_0x3726cf,_0x424b1e)=>_0x25041b[_0x217ab1(0x2ae)](_0x3726cf[_0x217ab1(0x22f)])-_0x25041b[_0x217ab1(0x2ae)](_0x424b1e[_0x217ab1(0x22f)])),_0x1d77c9;}[_0x5b5e80(0x2d7)](_0x3284eb){const _0x36b387=_0x5b5e80,_0x38b0a7=Array[_0x36b387(0x1ee)](_0x3284eb[_0x36b387(0x1b8)])[_0x36b387(0x2f5)](([_0x459af5,_0x25cd19])=>_0x459af5[_0x36b387(0x1c8)](_0x36b387(0x1d5))&&!_0x25cd19[_0x36b387(0x2bc)]),_0x217aca=Array[_0x36b387(0x1ee)](this[_0x36b387(0x20f)][_0x36b387(0x252)][_0x36b387(0x221)](_0x3284eb)[_0x36b387(0x26e)]({'singleCharacters':!0x0}));if(0x0!=_0x38b0a7[_0x36b387(0x2de)])for(const _0x1328e3 of _0x217aca){const [_0x2c1ab1,_0x518544]=_0x38b0a7[0x0],[,_0x15bb77,_0x553875]=_0x2c1ab1[_0x36b387(0x282)](':');if(_0x518544[_0x36b387(0x1ec)][_0x36b387(0x1ea)](_0x1328e3[_0x36b387(0x24f)])&&_0x38b0a7[_0x36b387(0x285)](),(_0x1328e3[_0x36b387(0x244)][_0x36b387(0x1ea)](_0x518544[_0x36b387(0x257)])||_0x1328e3[_0x36b387(0x244)][_0x36b387(0x245)](_0x518544[_0x36b387(0x257)]))&&(_0x36b387(0x213)==_0x15bb77?_0x1328e3[_0x36b387(0x2bf)]={'userId':_0x553875}:_0x36b387(0x1e0)==_0x15bb77&&(_0x1328e3[_0x36b387(0x2dc)]={'userId':_0x553875})),0x0==_0x38b0a7[_0x36b387(0x2de)])break;}return _0x217aca;}[_0x5b5e80(0x1e1)](_0x241627){const _0x4576f3=_0x5b5e80,_0x5e2684=new Map();for(let _0xb432b6=0x0;_0xb432b6<_0x241627[_0x4576f3(0x2de)];_0xb432b6++)_0x4576f3(0x253)===_0x241627[_0xb432b6][_0x4576f3(0x2d6)]?(_0x241627[_0xb432b6][_0x4576f3(0x2a6)][_0x4576f3(0x2b7)]=_0xb432b6,_0x241627[_0xb432b6][_0x4576f3(0x2a6)][_0x4576f3(0x1ce)]=_0xb432b6):(_0x4576f3(0x276)===_0x241627[_0xb432b6][_0x4576f3(0x2d6)]?_0x241627[_0xb432b6][_0x4576f3(0x2a6)][_0x4576f3(0x2b7)]=_0xb432b6:_0x4576f3(0x293)===_0x241627[_0xb432b6][_0x4576f3(0x2d6)]&&(_0x241627[_0xb432b6][_0x4576f3(0x2a6)][_0x4576f3(0x1ce)]=_0xb432b6),_0x5e2684[_0x4576f3(0x230)](_0x241627[_0xb432b6]['id'],_0xb432b6));for(const _0x46b023 of _0x5e2684[_0x4576f3(0x1c0)]())_0x4576f3(0x276)===_0x241627[_0x46b023][_0x4576f3(0x2d6)]?_0x241627[_0x46b023][_0x4576f3(0x2a6)][_0x4576f3(0x1ce)]=_0x5e2684[_0x4576f3(0x25c)](_0x241627[_0x46b023][_0x4576f3(0x20e)]):_0x4576f3(0x293)===_0x241627[_0x46b023][_0x4576f3(0x2d6)]&&(_0x241627[_0x46b023][_0x4576f3(0x2a6)][_0x4576f3(0x2b7)]=_0x5e2684[_0x4576f3(0x25c)](_0x241627[_0x46b023][_0x4576f3(0x20e)]));}[_0x5b5e80(0x2f1)](_0x3f762a){const _0x1cca6c=_0x5b5e80;for(let _0x372781=0x0;_0x372781<_0x3f762a[_0x1cca6c(0x2de)];_0x372781++){if(_0x1cca6c(0x276)===_0x3f762a[_0x372781][_0x1cca6c(0x2d6)])_0x3f762a[_0x372781][_0x1cca6c(0x2a6)][_0x1cca6c(0x2b7)]=_0x372781;else{if(_0x1cca6c(0x293)===_0x3f762a[_0x372781][_0x1cca6c(0x2d6)]){_0x3f762a[_0x372781][_0x1cca6c(0x2a6)][_0x1cca6c(0x1ce)]=_0x372781;const _0x1ce7e8=_0x3f762a[_0x372781][_0x1cca6c(0x2a6)][_0x1cca6c(0x2b7)];_0x3f762a[_0x1ce7e8][_0x1cca6c(0x20e)]=_0x3f762a[_0x372781]['id'],_0x3f762a[_0x372781][_0x1cca6c(0x20e)]=_0x3f762a[_0x1ce7e8]['id'];}else _0x3f762a[_0x372781][_0x1cca6c(0x2a6)][_0x1cca6c(0x2b7)]=_0x372781,_0x3f762a[_0x372781][_0x1cca6c(0x2a6)][_0x1cca6c(0x1ce)]=_0x372781,_0x3f762a[_0x372781][_0x1cca6c(0x20e)]=null;}_0x3f762a[_0x372781][_0x1cca6c(0x206)]||(_0x3f762a[_0x372781][_0x1cca6c(0x206)]=[],_0x3f762a[_0x372781][_0x1cca6c(0x2ab)]=[]);}}[_0x5b5e80(0x1ed)](_0x3cd0bb,_0x54b85d){const _0x314735=_0x5b5e80,_0x472b96=_0x3cd0bb[_0x314735(0x2f5)](_0x6fb0d8=>!_0x6fb0d8[_0x314735(0x2bf)]);for(let _0x15face=0x0;_0x15face<_0x54b85d[_0x314735(0x2de)];_0x15face++)_0x54b85d[_0x15face][_0x314735(0x2bf)]&&(_0x472b96[_0x15face][_0x314735(0x2bf)]=_0x54b85d[_0x15face][_0x314735(0x2bf)]);}[_0x5b5e80(0x204)](_0x55a7cb,_0x526487=null){const _0x3f92c8=_0x5b5e80,_0x886c94=this[_0x3f92c8(0x1b6)][_0x3f92c8(0x26d)](_0x55a7cb),_0x2a2626=_0x526487?this[_0x3f92c8(0x1b6)][_0x3f92c8(0x26d)](_0x526487):null,_0x46e601=this[_0x3f92c8(0x239)](_0x886c94,_0x2a2626),_0x2c8736=_0x46e601[_0x46e601[_0x3f92c8(0x2de)]-0x1],_0x4915ef=new Map(),_0x409c03={'model':{},'attributes':{},'changes':[]},_0x7a4229=new Set(),_0x691f6f=new Map();for(let _0x3799be=_0x46e601[_0x3f92c8(0x2de)]-0x1;_0x3799be>=0x0;_0x3799be--){const _0xb648b8=_0x46e601[_0x3799be];for(const _0x5326f6 of Object[_0x3f92c8(0x1f4)](_0xb648b8[_0x3f92c8(0x278)]))if(_0xb648b8[_0x3f92c8(0x278)][_0x5326f6][_0x3f92c8(0x2c1)]){const _0x4c47cc=_0xb648b8[_0x3f92c8(0x278)][_0x5326f6][_0x3f92c8(0x2c1)];_0x4c47cc[_0x3f92c8(0x2ef)]?(_0x7a4229[_0x3f92c8(0x1c7)](_0x5326f6),_0x691f6f[_0x3f92c8(0x21e)](_0x5326f6)&&_0x691f6f[_0x3f92c8(0x25c)](_0x5326f6)[_0x3f92c8(0x28b)]==_0x4c47cc[_0x3f92c8(0x28b)]?_0x691f6f[_0x3f92c8(0x1bf)](_0x5326f6):_0x691f6f[_0x3f92c8(0x230)](_0x5326f6,_0x4c47cc)):_0x691f6f[_0x3f92c8(0x21e)](_0x5326f6)?(_0x7a4229[_0x3f92c8(0x1bf)](_0x5326f6),_0x691f6f[_0x3f92c8(0x1bf)](_0x5326f6)):(_0x7a4229[_0x3f92c8(0x1c7)](_0x5326f6),_0x691f6f[_0x3f92c8(0x230)](_0x5326f6,_0x4c47cc));}else _0x7a4229[_0x3f92c8(0x1c7)](_0x5326f6);}for(const _0x249768 of _0x7a4229){const _0x3b468e=_0x691f6f[_0x3f92c8(0x21e)](_0x249768)&&!_0x691f6f[_0x3f92c8(0x25c)](_0x249768)[_0x3f92c8(0x2ef)];let _0xb7db6e=_0x3b468e?_0x46e601[_0x3f92c8(0x2de)]-0x1:0x0;const _0x1737e7=_0x3b468e?-0x1:0x1;for(;_0x46e601[_0xb7db6e];){const _0xf3e4da=_0x46e601[_0xb7db6e];if(_0xf3e4da[_0x3f92c8(0x278)][_0x249768]){const _0x507667=_0x3b468e?_0xf3e4da[_0x3f92c8(0x278)][_0x249768][_0x3f92c8(0x2a0)]:_0xf3e4da[_0x3f92c8(0x278)][_0x249768][_0x3f92c8(0x29f)];_0x409c03[_0x3f92c8(0x281)][_0x249768]=_0x507667?_0x10a05d(_0x507667):{};break;}_0xb7db6e+=_0x1737e7;}}for(const _0x254022 of _0x46e601){_0x254022[_0x3f92c8(0x252)]={};for(const _0x177fc4 of _0x254022[_0x3f92c8(0x226)])_0x4915ef[_0x3f92c8(0x230)](_0x177fc4['id'],_0x177fc4);for(const _0x460de1 of _0x7a4229){const _0x57d2f6=_0x254022[_0x3f92c8(0x278)][_0x460de1]?_0x254022[_0x3f92c8(0x278)][_0x460de1][_0x3f92c8(0x20a)]:'[]',_0x23545f=_0x254022[_0x3f92c8(0x278)][_0x460de1]?_0x254022[_0x3f92c8(0x278)][_0x460de1][_0x3f92c8(0x2b1)]:'[]';_0x254022[_0x3f92c8(0x252)][_0x460de1]={'insertions':this[_0x3f92c8(0x1bd)][_0x3f92c8(0x2e3)](_0x57d2f6),'deletions':this[_0x3f92c8(0x1bd)][_0x3f92c8(0x2e3)](_0x23545f)};}}for(const _0x323788 of _0x7a4229){let _0xf1bb63=null,_0x126cd6=0x0;const _0x407441=new Map(Array[_0x3f92c8(0x1ee)](_0x886c94[_0x3f92c8(0x252)][_0x323788][_0x3f92c8(0x20a)][_0x3f92c8(0x1b8)])[_0x3f92c8(0x2f5)](([_0x3853a2])=>!_0x3853a2[_0x3f92c8(0x1c8)](_0x3f92c8(0x1d5))));let _0x30a50c=0x0;for(const _0x46d0a4 of _0x46e601){const _0xb9d1a1=this[_0x3f92c8(0x2d7)](_0x46d0a4[_0x3f92c8(0x252)][_0x323788][_0x3f92c8(0x20a)]);_0x46d0a4==_0x886c94?(_0xf1bb63=_0xb9d1a1,_0x126cd6=_0xf1bb63[_0x3f92c8(0x2de)],_0xf1bb63[_0x3f92c8(0x1b3)](_0x15dfa6=>{_0x15dfa6['id']=_0x30a50c++;}),this[_0x3f92c8(0x2f1)](_0xf1bb63)):this[_0x3f92c8(0x1ed)](_0xf1bb63,_0xb9d1a1);const _0x283e44=_0xf1bb63[_0x3f92c8(0x2f5)](_0x5b2e82=>!_0x5b2e82[_0x3f92c8(0x2bf)])[_0x3f92c8(0x2d1)](_0x5cc148=>_0x5cc148['id']);let _0x473e79=0x0;const _0xe6490f=this[_0x3f92c8(0x2d7)](_0x46d0a4[_0x3f92c8(0x252)][_0x323788][_0x3f92c8(0x2b1)]);_0xe6490f[_0x3f92c8(0x1b3)](_0x1afc00=>{const _0x4688aa=_0x3f92c8;_0x1afc00[_0x4688aa(0x2dc)]?_0x1afc00['id']=_0x126cd6++:_0x1afc00['id']=_0x283e44[_0x473e79++];}),this[_0x3f92c8(0x2f1)](_0xe6490f),this[_0x3f92c8(0x28c)](_0xf1bb63,_0x3f92c8(0x2bf)),this[_0x3f92c8(0x28c)](_0xe6490f,_0x3f92c8(0x2dc)),_0x46d0a4==_0x886c94&&this[_0x3f92c8(0x29b)](_0xf1bb63,_0x407441),_0xf1bb63=this[_0x3f92c8(0x2e2)](_0xf1bb63,_0xe6490f),this[_0x3f92c8(0x1e1)](_0xf1bb63),this[_0x3f92c8(0x28c)](_0xf1bb63,_0x3f92c8(0x2dc));}_0xf1bb63=_0xf1bb63[_0x3f92c8(0x2f5)](_0x48df29=>!(_0x48df29[_0x3f92c8(0x2bf)]&&_0x48df29[_0x3f92c8(0x2dc)]));const _0x23893e=new Map(_0x2c8736[_0x3f92c8(0x252)][_0x323788][_0x3f92c8(0x2b1)][_0x3f92c8(0x1b8)]),_0x8974c=new Set(_0x407441[_0x3f92c8(0x1f4)]());for(const _0x28d87b of _0x23893e[_0x3f92c8(0x1f4)]())_0x8974c[_0x3f92c8(0x1bf)](_0x28d87b);this[_0x3f92c8(0x2c2)](_0xf1bb63,_0x8974c),this[_0x3f92c8(0x2a3)](_0xf1bb63),_0xf1bb63=this[_0x3f92c8(0x2a4)](_0xf1bb63),_0xf1bb63=this[_0x3f92c8(0x2f3)](_0xf1bb63),_0xf1bb63=this[_0x3f92c8(0x1c6)](_0xf1bb63);const {root:_0xa93925,changes:_0xb76da4}=this[_0x3f92c8(0x2ba)](_0xf1bb63,_0x4915ef,_0x323788);_0x409c03[_0x3f92c8(0x252)][_0x323788]=_0xa93925;const _0x19ebb8=_0x691f6f[_0x3f92c8(0x25c)](_0x323788);if(_0x19ebb8){const _0x373c43=_0x4915ef[_0x3f92c8(0x25c)](_0x19ebb8[_0x3f92c8(0x28b)]),_0x3f94ac=new _0x1bfd26({'author':_0x373c43,'type':_0x19ebb8[_0x3f92c8(0x2ef)]?_0x3f92c8(0x1c7):_0x3f92c8(0x20d),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x323788});_0xb76da4[_0x3f92c8(0x2e4)](_0x3f94ac),_0x409c03[_0x3f92c8(0x281)][_0x323788][_0x3f92c8(0x26c)]=_0x3f94ac['id'];}_0x409c03[_0x3f92c8(0x2dd)]=_0x409c03[_0x3f92c8(0x2dd)][_0x3f92c8(0x2bb)](_0xb76da4);}return _0x409c03;}[_0x5b5e80(0x29b)](_0x19daf1,_0x4e04fe){const _0x37c5c8=_0x5b5e80;for(let _0x3a3d23=0x0;_0x3a3d23<_0x19daf1[_0x37c5c8(0x2de)];_0x3a3d23++)for(const [_0x203046,_0x3f3fa5]of _0x4e04fe)!_0x3f3fa5[_0x37c5c8(0x2bc)]&&_0x3f3fa5[_0x37c5c8(0x257)][_0x37c5c8(0x1ea)](_0x19daf1[_0x3a3d23][_0x37c5c8(0x244)])&&_0x19daf1[_0x3a3d23][_0x37c5c8(0x206)][_0x37c5c8(0x2aa)](_0x203046),_0x3f3fa5[_0x37c5c8(0x1ec)][_0x37c5c8(0x1ea)](_0x19daf1[_0x3a3d23][_0x37c5c8(0x24f)])&&_0x19daf1[_0x3a3d23][_0x37c5c8(0x2ab)][_0x37c5c8(0x2aa)](_0x203046);}[_0x5b5e80(0x2e2)](_0x5d890f,_0x2820a0){const _0x5afc60=_0x5b5e80;let _0x2c8d95=[],_0x1008f8=0x0,_0x414957=0x0;for(;_0x1008f8<_0x5d890f[_0x5afc60(0x2de)]||_0x414957<_0x2820a0[_0x5afc60(0x2de)];){const _0x3fd780=_0x5d890f[_0x1008f8]||{},_0x5eb68f=_0x2820a0[_0x414957]||{};if(_0x3fd780['id']==_0x5eb68f['id'])_0x1008f8++,_0x414957++,_0x2c8d95[_0x5afc60(0x2aa)](_0x3fd780);else{if(_0x5eb68f[_0x5afc60(0x2dc)]&&_0x3fd780[_0x5afc60(0x2bf)]){const {commonTape:_0x2ace30,iEnd:_0x391e92,jEnd:_0x21afc3}=this[_0x5afc60(0x1ef)](_0x5d890f,_0x1008f8,_0x2820a0,_0x414957);_0x2c8d95=_0x2c8d95[_0x5afc60(0x2bb)](_0x2ace30),_0x1008f8=_0x391e92,_0x414957=_0x21afc3;}else _0x5eb68f[_0x5afc60(0x2dc)]?(_0x414957++,_0x2c8d95[_0x5afc60(0x2aa)](_0x5eb68f)):(_0x1008f8++,_0x2c8d95[_0x5afc60(0x2aa)](_0x3fd780));}}return _0x2c8d95;}[_0x5b5e80(0x2c2)](_0x3fc451,_0x52242a){const _0xc94131=_0x5b5e80,_0x3d7e00=[];for(let _0x3ed755=0x0;_0x3ed755<_0x3fc451[_0xc94131(0x2de)];_0x3ed755++){for(let _0x170e33=0x0;_0x170e33<_0x3fc451[_0x3ed755][_0xc94131(0x206)][_0xc94131(0x2de)];_0x170e33++){const _0x3f2dc8=_0x3fc451[_0x3ed755][_0xc94131(0x206)][_0x170e33];if(!_0x52242a[_0xc94131(0x21e)](_0x3f2dc8))continue;const {group:_0x1c89a4,type:_0x40bcf0,authorId:_0x2a3015}=_0x59cb4f(_0x3f2dc8);_0xc94131(0x23b)!=_0x1c89a4||_0xc94131(0x213)!=_0x40bcf0&&_0xc94131(0x1e0)!=_0x40bcf0||(_0x3d7e00[_0xc94131(0x2e4)]({'type':_0x40bcf0,'name':_0x3f2dc8,'userId':_0x2a3015}),_0x3fc451[_0x3ed755][_0xc94131(0x206)][_0xc94131(0x2e6)](_0x170e33,0x1),_0x170e33--);}_0x1dd220(_0x3fc451[_0x3ed755]);for(let _0x3aa34e=0x0;_0x3aa34e<_0x3fc451[_0x3ed755][_0xc94131(0x2ab)][_0xc94131(0x2de)];_0x3aa34e++){const _0x570117=_0x3fc451[_0x3ed755][_0xc94131(0x2ab)][_0x3aa34e];if(!_0x52242a[_0xc94131(0x21e)](_0x570117))continue;const {group:_0x47b4d6,type:_0x23a1f0}=_0x59cb4f(_0x570117);if(_0xc94131(0x23b)!=_0x47b4d6||_0xc94131(0x213)!=_0x23a1f0&&_0xc94131(0x1e0)!=_0x23a1f0)continue;_0x3fc451[_0x3ed755][_0xc94131(0x2ab)][_0xc94131(0x2e6)](_0x3aa34e,0x1),_0x3aa34e--;const _0x5c11d8=_0x3d7e00[_0xc94131(0x2c8)](_0x3830dc=>_0x3830dc[_0xc94131(0x1b1)]==_0x570117);_0x5c11d8>-0x1&&_0x3d7e00[_0xc94131(0x2e6)](_0x5c11d8,0x1);}}function _0x59cb4f(_0x536cb2){const _0x1b3e9d=_0xc94131,_0x5b2878=_0x536cb2[_0x1b3e9d(0x282)](':');return{'group':_0x5b2878[0x0],'type':_0x5b2878[0x1],'subType':_0x5b2878[_0x1b3e9d(0x2de)]>=0x5?_0x5b2878[0x2]:null,'id':_0x5b2878[_0x1b3e9d(0x2de)]<0x5?_0x5b2878[0x2]:_0x5b2878[0x3],'authorId':_0x5b2878[_0x1b3e9d(0x2de)]<0x5?_0x5b2878[0x3]:_0x5b2878[0x4],'markerCount':0x6==_0x5b2878[_0x1b3e9d(0x2de)]?_0x5b2878[0x5]:null};}function _0x1dd220(_0x107084){const _0x22beec=_0xc94131;for(let _0x263045=0x0;_0x263045<_0x3d7e00[_0x22beec(0x2de)];_0x263045++){if(_0x107084[_0x22beec(0x2bf)]&&_0x22beec(0x213)==_0x3d7e00[_0x263045][_0x22beec(0x2d6)]&&_0x107084[_0x22beec(0x2bf)][_0x22beec(0x28b)]==_0x3d7e00[_0x263045][_0x22beec(0x28b)])return _0x107084[_0x22beec(0x22e)]=_0x3d7e00[_0x263045],void delete _0x107084[_0x22beec(0x2bf)];if(!_0x107084[_0x22beec(0x2bf)]&&!_0x107084[_0x22beec(0x2dc)]&&_0x22beec(0x1e0)==_0x3d7e00[_0x263045][_0x22beec(0x2d6)])return void(_0x107084[_0x22beec(0x1fc)]=_0x3d7e00[_0x263045]);}}}[_0x5b5e80(0x28c)](_0x350d11,_0x21b5d9){const _0xa915df=_0x5b5e80;let _0x401139=0x0,_0x1ab52f=!0x1;const _0x1e690c=new Map();for(const _0x3c0655 of _0x350d11)_0x3c0655[_0x21b5d9]?_0x1ab52f&&(_0x401139++,_0x1ab52f=!0x1):(_0x401139++,_0x1ab52f=!0x0),_0x1e690c[_0xa915df(0x230)](_0x3c0655['id'],_0x401139);for(let _0xf9a5fe=0x0;_0xf9a5fe<_0x350d11[_0xa915df(0x2de)];_0xf9a5fe++){if(_0xa915df(0x2dc)==_0x21b5d9&&_0x350d11[_0xf9a5fe][_0xa915df(0x2bf)]||_0xa915df(0x2bf)==_0x21b5d9&&_0x350d11[_0xf9a5fe][_0xa915df(0x2dc)])continue;if(_0xa915df(0x253)==_0x350d11[_0xf9a5fe][_0xa915df(0x2d6)]){_0x350d11[_0xf9a5fe][_0xa915df(0x299)]=0x0;continue;}const _0x4a8c90=_0x1e690c[_0xa915df(0x25c)](_0x350d11[_0xf9a5fe][_0xa915df(0x20e)]),_0x47738c=_0x1e690c[_0xa915df(0x25c)](_0x350d11[_0xf9a5fe]['id']);_0x350d11[_0xf9a5fe][_0xa915df(0x299)]=_0x4a8c90-_0x47738c;}}[_0x5b5e80(0x239)](_0x5ba6d5,_0x33e1bb,_0x5da0fd=!0x1){const _0xfaf644=_0x5b5e80,_0x3a0600=[];let _0xb26995=this[_0xfaf644(0x1b6)][_0xfaf644(0x218)](_0x5ba6d5),_0x5edd0f=this[_0xfaf644(0x1b6)][_0xfaf644(0x218)](_0x33e1bb);for(-0x1==_0x5edd0f&&(_0x5edd0f=this[_0xfaf644(0x1b6)][_0xfaf644(0x258)][_0xfaf644(0x2de)],_0x5da0fd=!0x1);_0xb26995<_0x5edd0f;)_0x3a0600[_0xfaf644(0x2aa)](this[_0xfaf644(0x1b6)][_0xfaf644(0x26d)](_0xb26995)),_0xb26995++;return _0x5da0fd&&_0x3a0600[_0xfaf644(0x2aa)](this[_0xfaf644(0x1b6)][_0xfaf644(0x26d)](_0xb26995)),_0x3a0600;}[_0x5b5e80(0x1ef)](_0xef0dae,_0x2b0cd6,_0x6621be,_0x1415e6){const _0x2d47e5=_0x5b5e80,_0xad821d=this[_0x2d47e5(0x20f)][_0x2d47e5(0x252)][_0x2d47e5(0x261)];let _0x4640e5=_0x2b0cd6;for(;_0xef0dae[_0x4640e5]&&_0xef0dae[_0x4640e5][_0x2d47e5(0x2bf)];)_0x4640e5++;let _0x401f51=_0x1415e6;for(;_0x6621be[_0x401f51]&&_0x6621be[_0x401f51][_0x2d47e5(0x2dc)];)_0x401f51++;_0x1e2d8e(_0xef0dae,_0x2b0cd6,_0x4640e5),_0x1e2d8e(_0x6621be,_0x1415e6,_0x401f51);const _0x28bbb8=_0x6621be[_0x2d47e5(0x28e)](_0x1415e6,_0x401f51)[_0x2d47e5(0x2bb)](_0xef0dae[_0x2d47e5(0x28e)](_0x2b0cd6,_0x4640e5));return _0x28bbb8[_0x2d47e5(0x251)]((_0x50e9df,_0x5e9579)=>_0x50e9df[_0x2d47e5(0x1d9)]!=_0x5e9579[_0x2d47e5(0x1d9)]?_0x50e9df[_0x2d47e5(0x1d9)]-_0x5e9579[_0x2d47e5(0x1d9)]:_0x50e9df[_0x2d47e5(0x20c)]!=_0x5e9579[_0x2d47e5(0x20c)]?_0x50e9df[_0x2d47e5(0x20c)]-_0x5e9579[_0x2d47e5(0x20c)]:_0x50e9df[_0x2d47e5(0x299)]!=_0x5e9579[_0x2d47e5(0x299)]?_0x5e9579[_0x2d47e5(0x299)]-_0x50e9df[_0x2d47e5(0x299)]:!!_0x50e9df[_0x2d47e5(0x2bf)]!=!!_0x5e9579[_0x2d47e5(0x2bf)]?-0x1==_0x50e9df[_0x2d47e5(0x1d9)]||0x0==_0x50e9df[_0x2d47e5(0x1d9)]?_0x50e9df[_0x2d47e5(0x2bf)]?-0x1:0x1:_0x50e9df[_0x2d47e5(0x2bf)]?0x1:-0x1:_0x50e9df[_0x2d47e5(0x2d0)]-_0x5e9579[_0x2d47e5(0x2d0)]),{'commonTape':_0x28bbb8,'iEnd':_0x4640e5,'jEnd':_0x401f51};function _0x1e2d8e(_0xfaf9ba,_0x416018,_0x478b81){const _0x107077=_0x2d47e5;let _0x3f5d5a=-0x1,_0x26d4fc=Number[_0x107077(0x1e3)],_0x22a247=!0x0;for(let _0x483d05=_0x416018;_0x483d05<_0x478b81;_0x483d05++)if(_0xad821d[_0x107077(0x1fe)](_0xfaf9ba[_0x483d05][_0x107077(0x2a6)])||(_0x22a247=!0x1),_0xfaf9ba[_0x483d05][_0x107077(0x2a6)][_0x107077(0x2b7)]<_0x416018&&(_0x3f5d5a=_0x483d05),_0xfaf9ba[_0x483d05][_0x107077(0x2a6)][_0x107077(0x1ce)]>=_0x478b81){_0x26d4fc=_0x483d05;break;}_0x22a247&&(_0x3f5d5a=_0x478b81-0x1);for(let _0x3e7bb1=_0x416018;_0x3e7bb1<_0x478b81;_0x3e7bb1++)_0xfaf9ba[_0x3e7bb1][_0x107077(0x1d9)]=_0x3e7bb1<=_0x3f5d5a?-0x1:_0x3e7bb1<_0x26d4fc?0x0:0x1,_0xfaf9ba[_0x3e7bb1][_0x107077(0x2d0)]=_0x3e7bb1;let _0x2e2dc1=0x0;for(let _0x1aed48=_0x416018;_0x1aed48<=_0x3f5d5a;_0x1aed48++)0x0==_0xfaf9ba[_0x1aed48][_0x107077(0x299)]?_0xfaf9ba[_0x1aed48][_0x107077(0x20c)]=_0x2e2dc1:(_0x2e2dc1++,_0xfaf9ba[_0x1aed48][_0x107077(0x20c)]=_0x2e2dc1,_0x2e2dc1++);for(let _0x2ea8cc=_0x416018;_0x2ea8cc<_0x478b81;_0x2ea8cc++)0x0==_0xfaf9ba[_0x2ea8cc][_0x107077(0x1d9)]&&(_0xfaf9ba[_0x2ea8cc][_0x107077(0x20c)]=_0x2e2dc1);_0x2e2dc1=0x0;for(let _0x5a4a05=_0x478b81-0x1;_0x5a4a05>=_0x26d4fc;_0x5a4a05--)0x0==_0xfaf9ba[_0x5a4a05][_0x107077(0x299)]?_0xfaf9ba[_0x5a4a05][_0x107077(0x20c)]=_0x2e2dc1:(_0x2e2dc1--,_0xfaf9ba[_0x5a4a05][_0x107077(0x20c)]=_0x2e2dc1,_0x2e2dc1--);}}[_0x5b5e80(0x2a3)](_0x375022){const _0x115a5a=_0x5b5e80,_0x4cb0ee=new Map(),_0x4fa5fc=this[_0x115a5a(0x20f)][_0x115a5a(0x252)][_0x115a5a(0x261)];for(let _0x21b83d=0x1;_0x21b83d<_0x375022[_0x115a5a(0x2de)];_0x21b83d++){let _0x5154c7,_0x427d98,_0x301537;const _0x49c40a=_0x375022[_0x21b83d],_0x22a816=_0x375022[_0x21b83d-0x1];if(_0x115a5a(0x253)==_0x49c40a[_0x115a5a(0x2d6)])continue;if(_0x49c40a[_0x115a5a(0x2d6)]!=_0x22a816[_0x115a5a(0x2d6)])continue;if(!_0x4fa5fc[_0x115a5a(0x1f0)](_0x22a816[_0x115a5a(0x2a6)])||_0x4fa5fc[_0x115a5a(0x1eb)](_0x22a816[_0x115a5a(0x2a6)]))continue;if(!_0x4fa5fc[_0x115a5a(0x1f0)](_0x49c40a[_0x115a5a(0x2a6)])||_0x4fa5fc[_0x115a5a(0x1eb)](_0x49c40a[_0x115a5a(0x2a6)]))continue;if((_0x375022[_0x21b83d][_0x115a5a(0x2bf)]||_0x375022[_0x21b83d][_0x115a5a(0x22e)])&&_0x375022[_0x21b83d-0x1][_0x115a5a(0x2dc)])_0x5154c7=_0x375022[_0x21b83d],_0x427d98=_0x375022[_0x21b83d-0x1],_0x301537=_0x21b83d-0x1;else{if(!_0x375022[_0x21b83d][_0x115a5a(0x2dc)]||!_0x375022[_0x21b83d-0x1][_0x115a5a(0x2bf)]&&!_0x375022[_0x21b83d-0x1][_0x115a5a(0x22e)])continue;_0x5154c7=_0x375022[_0x21b83d-0x1],_0x427d98=_0x375022[_0x21b83d],_0x301537=_0x21b83d;}const _0x587795=_0x5154c7[_0x115a5a(0x20c)]==_0x427d98[_0x115a5a(0x20c)],_0x19a4b5=Math[_0x115a5a(0x272)](_0x5154c7[_0x115a5a(0x20c)])<Math[_0x115a5a(0x272)](_0x427d98[_0x115a5a(0x20c)])&&0x0==_0x427d98[_0x115a5a(0x299)];(_0x587795||_0x19a4b5)&&(_0x4cb0ee[_0x115a5a(0x230)](_0x427d98['id'],_0x5154c7['id']),_0x375022[_0x115a5a(0x2e6)](_0x301537,0x1),_0x21b83d--,_0x5154c7[_0x115a5a(0x2bf)]=!0x1);}for(let _0x5d09ca=0x0;_0x5d09ca<_0x375022[_0x115a5a(0x2de)];_0x5d09ca++)_0x4cb0ee[_0x115a5a(0x21e)](_0x375022[_0x5d09ca][_0x115a5a(0x20e)])&&(_0x375022[_0x5d09ca][_0x115a5a(0x20e)]=_0x4cb0ee[_0x115a5a(0x25c)](_0x375022[_0x5d09ca][_0x115a5a(0x20e)]));}[_0x5b5e80(0x2a4)](_0x167965){const _0x497bd1=_0x5b5e80,_0x1515b7=new Set(_0x167965[_0x497bd1(0x2d1)](_0x37e2e8=>_0x37e2e8['id']));for(let _0x10c9a4=0x0;_0x10c9a4<_0x167965[_0x497bd1(0x2de)];_0x10c9a4++)_0x1515b7[_0x497bd1(0x21e)](_0x167965[_0x10c9a4][_0x497bd1(0x20e)])||0x0==_0x167965[_0x10c9a4][_0x497bd1(0x299)]||(_0x167965[_0x10c9a4][_0x497bd1(0x2b6)]=!0x0);return _0x167965[_0x497bd1(0x2f5)](_0x1f5c35=>!_0x1f5c35[_0x497bd1(0x2b6)]);}[_0x5b5e80(0x2f3)](_0x428273){const _0x2b89b7=_0x5b5e80,_0x4c4422=new Set();for(let _0x34ab3a=0x0;_0x34ab3a<_0x428273[_0x2b89b7(0x2de)];_0x34ab3a++){if(_0x4c4422[_0x2b89b7(0x21e)](_0x428273[_0x34ab3a]['id'])&&_0x428273[_0x34ab3a][_0x2b89b7(0x2dc)]&&(_0x428273[_0x34ab3a][_0x2b89b7(0x2b6)]=!0x0),_0x428273[_0x34ab3a][_0x2b89b7(0x2b6)])continue;if(0x0==_0x428273[_0x34ab3a][_0x2b89b7(0x299)])continue;if(_0x2b89b7(0x276)!=_0x428273[_0x34ab3a][_0x2b89b7(0x2d6)])continue;if(null==_0x428273[_0x34ab3a][_0x2b89b7(0x20e)])continue;let _0x23b42d=_0x34ab3a+0x1,_0x2de527=0x0;for(;_0x428273[_0x23b42d]['id']!=_0x428273[_0x34ab3a][_0x2b89b7(0x20e)];)_0x2b89b7(0x276)==_0x428273[_0x23b42d][_0x2b89b7(0x2d6)]?_0x2de527++:_0x2b89b7(0x293)==_0x428273[_0x23b42d][_0x2b89b7(0x2d6)]&&_0x2de527--,_0x23b42d++;if(0x0!=_0x2de527){if(_0x428273[_0x34ab3a][_0x2b89b7(0x2dc)])_0x428273[_0x34ab3a][_0x2b89b7(0x2b6)]=!0x0;else{for(;_0x23b42d!=_0x34ab3a;)_0x428273[_0x23b42d][_0x2b89b7(0x2dc)]&&0x0!=_0x428273[_0x23b42d][_0x2b89b7(0x299)]&&(_0x428273[_0x23b42d][_0x2b89b7(0x2b6)]=!0x0,_0x4c4422[_0x2b89b7(0x1c7)](_0x428273[_0x23b42d][_0x2b89b7(0x20e)])),_0x23b42d--;}}}return _0x428273[_0x2b89b7(0x2f5)](_0x23d183=>!_0x23d183[_0x2b89b7(0x2b6)]);}[_0x5b5e80(0x1c6)](_0x3cbf47){const _0x4e62a9=_0x5b5e80,_0x5ca9e4=this[_0x4e62a9(0x20f)][_0x4e62a9(0x252)][_0x4e62a9(0x261)];for(let _0x464c70=0x0;_0x464c70<_0x3cbf47[_0x4e62a9(0x2de)];_0x464c70++){if(!(_0x3cbf47[_0x464c70][_0x4e62a9(0x2bf)]||_0x3cbf47[_0x464c70][_0x4e62a9(0x22e)]||_0x3cbf47[_0x464c70][_0x4e62a9(0x2dc)]||_0x3cbf47[_0x464c70][_0x4e62a9(0x1fc)]))continue;if(0x0==_0x3cbf47[_0x464c70][_0x4e62a9(0x299)])continue;const _0x574456=_0x3cbf47[_0x464c70][_0x4e62a9(0x2a6)];_0x5ca9e4[_0x4e62a9(0x1f0)](_0x574456)||_0x5ca9e4[_0x4e62a9(0x1eb)](_0x574456)||(_0x3cbf47[_0x464c70][_0x4e62a9(0x2bf)]&&delete _0x3cbf47[_0x464c70][_0x4e62a9(0x2bf)],_0x3cbf47[_0x464c70][_0x4e62a9(0x22e)]&&delete _0x3cbf47[_0x464c70][_0x4e62a9(0x22e)],_0x3cbf47[_0x464c70][_0x4e62a9(0x1fc)]&&delete _0x3cbf47[_0x464c70][_0x4e62a9(0x1fc)],_0x3cbf47[_0x464c70][_0x4e62a9(0x2dc)]&&(_0x3cbf47[_0x464c70][_0x4e62a9(0x2b6)]=!0x0));}return _0x3cbf47[_0x4e62a9(0x2f5)](_0x4e4d4e=>!_0x4e4d4e[_0x4e62a9(0x2b6)]);}[_0x5b5e80(0x2ba)](_0x2fa90b,_0x3b6cd5,_0x1a98df){const _0x3be028=_0x5b5e80,_0x4994f9=new _0x3e21c2(),_0x51ea80=[],_0x3b2cde=new Map(),_0x5ee92d=this[_0x3be028(0x20f)][_0x3be028(0x252)],_0x368ee3=_0x5ee92d[_0x3be028(0x261)],_0x327048=[_0x4994f9],_0x46cfec={},_0x3b91bd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3e1ba7=null;const _0x37efb2=[0x0];for(let _0x45a75f=0x0;_0x45a75f<_0x2fa90b[_0x3be028(0x2de)];_0x45a75f++)if(_0x3be028(0x276)===_0x2fa90b[_0x45a75f][_0x3be028(0x2d6)]){_0x2fa90b[_0x45a75f][_0x3be028(0x244)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2);const _0x5dc414=new _0x220119(_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x1b1)],_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x1ca)]());_0x327048[0x0][_0x3be028(0x220)](_0x5dc414),_0x37efb2[_0x3be028(0x2aa)](0x0),_0x327048[_0x3be028(0x2e4)](_0x5dc414),_0x2fa90b[_0x45a75f][_0x3be028(0x24f)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2);}else _0x3be028(0x293)===_0x2fa90b[_0x45a75f][_0x3be028(0x2d6)]?(_0x327048[_0x3be028(0x285)](),_0x2fa90b[_0x45a75f][_0x3be028(0x244)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2),_0x37efb2[_0x3be028(0x1fb)](),_0x37efb2[_0x37efb2[_0x3be028(0x2de)]-0x1]++,_0x2fa90b[_0x45a75f][_0x3be028(0x24f)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2)):(_0x2fa90b[_0x45a75f][_0x3be028(0x244)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2),_0x3e1ba7?_0x3e1ba7[_0x3be028(0x2f6)]+=_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x2ea)]:_0x3e1ba7=new _0x5a9dbd(_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x2ea)],_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x1ca)]()),_0x2fa90b[_0x45a75f+0x1]&&_0x3be028(0x253)===_0x2fa90b[_0x45a75f+0x1][_0x3be028(0x2d6)]&&_0x3f0388(_0x3e1ba7,_0x2fa90b[_0x45a75f+0x1][_0x3be028(0x2a6)])||(_0x327048[0x0][_0x3be028(0x220)](_0x3e1ba7),_0x3e1ba7=null),_0x37efb2[_0x37efb2[_0x3be028(0x2de)]-0x1]+=_0x2fa90b[_0x45a75f][_0x3be028(0x2a6)][_0x3be028(0x2f0)],_0x2fa90b[_0x45a75f][_0x3be028(0x24f)]=_0x5ee92d[_0x3be028(0x29a)](_0x4994f9,_0x37efb2));for(let _0x358d3e=0x0;_0x358d3e<_0x2fa90b[_0x3be028(0x2de)];_0x358d3e++){const _0x121938=_0x2fa90b[_0x358d3e][_0x3be028(0x244)],_0x5d3176=_0x2fa90b[_0x358d3e][_0x3be028(0x24f)];for(const _0x2cef5d of _0x2fa90b[_0x358d3e][_0x3be028(0x206)])_0x3b2cde[_0x3be028(0x230)](_0x2cef5d,{'start':_0x121938,'end':null});_0x3e0bbb(_0x3be028(0x1fc),_0x358d3e,_0x121938,_0x5d3176),_0x3e0bbb(_0x3be028(0x22e),_0x358d3e,_0x121938,_0x5d3176),_0x3e0bbb(_0x3be028(0x2dc),_0x358d3e,_0x121938,_0x5d3176),_0x3e0bbb(_0x3be028(0x2bf),_0x358d3e,_0x121938,_0x5d3176);for(const _0x4f674c of _0x2fa90b[_0x358d3e][_0x3be028(0x2ab)]){const _0x55e3aa=_0x3b2cde[_0x3be028(0x25c)](_0x4f674c);_0x55e3aa?_0x55e3aa[_0x3be028(0x1ec)]=_0x5d3176:_0x3b2cde[_0x3be028(0x230)](_0x4f674c,{'start':_0x5d3176,'end':_0x5d3176});}}for(const [_0x3f7159,_0x45397d]of _0x3b2cde){const _0x205ca3=this[_0x3be028(0x20f)][_0x3be028(0x252)][_0x3be028(0x2a7)](_0x45397d[_0x3be028(0x257)],_0x45397d[_0x3be028(0x1ec)]);_0x4994f9[_0x3be028(0x1b8)][_0x3be028(0x230)](_0x3f7159,_0x205ca3);}return _0x51ea80[_0x3be028(0x251)]((_0x51f6b3,_0x51ad53)=>{const _0x35daa2=_0x3be028,_0x545e11=_0x4994f9[_0x35daa2(0x1b8)][_0x35daa2(0x25c)](_0x35daa2(0x1d5)+_0x51f6b3['id']),_0x742ff8=_0x4994f9[_0x35daa2(0x1b8)][_0x35daa2(0x25c)](_0x35daa2(0x1d5)+_0x51ad53['id']);return _0x545e11[_0x35daa2(0x257)][_0x35daa2(0x2df)](_0x742ff8[_0x35daa2(0x257)])?-0x1:_0x545e11[_0x35daa2(0x257)][_0x35daa2(0x245)](_0x742ff8[_0x35daa2(0x257)])?0x1:_0x545e11[_0x35daa2(0x1ec)][_0x35daa2(0x2df)](_0x742ff8[_0x35daa2(0x1ec)])?-0x1:_0x545e11[_0x35daa2(0x1ec)][_0x35daa2(0x245)](_0x742ff8[_0x35daa2(0x1ec)])?0x1:_0x35daa2(0x1c7)===_0x51f6b3[_0x35daa2(0x2d6)]?-0x1:0x1;}),{'root':_0x4994f9,'changes':_0x51ea80};function _0x3e0bbb(_0x1451c3,_0x3d08ff,_0x3dac9f,_0x10ba45){const _0x5dbbc4=_0x3be028,_0x219a1e=!!_0x2fa90b[_0x3d08ff][_0x1451c3],_0x2ede2e=_0x219a1e?_0x2fa90b[_0x3d08ff][_0x1451c3][_0x5dbbc4(0x28b)]:null,_0xb7561a=_0x3d08ff===_0x2fa90b[_0x5dbbc4(0x2de)]-0x1,_0x15f7eb=_0x3b91bd[_0x1451c3][0x0],_0x17d693=_0x368ee3[_0x5dbbc4(0x229)](_0x2fa90b[_0x3d08ff][_0x5dbbc4(0x2a6)]);!_0x46cfec[_0x1451c3]&&_0x219a1e?_0x46cfec[_0x1451c3]={'start':_0x3dac9f,'tapeItem':_0x2fa90b[_0x3d08ff],'userId':_0x2ede2e,'type':_0x1451c3}:_0x46cfec[_0x1451c3]&&!_0x219a1e?(_0x46cfec[_0x1451c3][_0x5dbbc4(0x1ec)]=_0x3dac9f,_0x2252ae(_0x46cfec[_0x1451c3]),_0x46cfec[_0x1451c3]=null):_0x46cfec[_0x1451c3]&&_0x219a1e&&_0x46cfec[_0x1451c3][_0x5dbbc4(0x28b)]!==_0x2ede2e&&(_0x46cfec[_0x1451c3][_0x5dbbc4(0x1ec)]=_0x3dac9f,_0x15f7eb&&_0x15f7eb[_0x5dbbc4(0x28b)]===_0x46cfec[_0x1451c3][_0x5dbbc4(0x28b)]||_0x2252ae(_0x46cfec[_0x1451c3]),_0x46cfec[_0x1451c3]={'start':_0x3dac9f,'tapeItem':_0x2fa90b[_0x3d08ff],'userId':_0x2ede2e,'type':_0x1451c3}),_0x46cfec[_0x1451c3]&&_0x17d693&&(_0x5dbbc4(0x276)!==_0x2fa90b[_0x3d08ff][_0x5dbbc4(0x2d6)]||_0x15f7eb&&_0x15f7eb[_0x5dbbc4(0x28b)]===_0x2ede2e||_0x3b91bd[_0x1451c3][_0x5dbbc4(0x2e4)]({'userId':_0x2ede2e,'object':_0x2fa90b[_0x3d08ff][_0x5dbbc4(0x2a6)],'change':_0x46cfec[_0x1451c3]}),_0x5dbbc4(0x293)===_0x2fa90b[_0x3d08ff][_0x5dbbc4(0x2d6)]&&_0x15f7eb&&_0x15f7eb[_0x5dbbc4(0x2c3)]===_0x2fa90b[_0x3d08ff][_0x5dbbc4(0x2a6)]&&(_0x3b91bd[_0x1451c3][_0x5dbbc4(0x285)](),_0x46cfec[_0x1451c3]=_0x15f7eb[_0x5dbbc4(0x1db)])),_0x46cfec[_0x1451c3]&&_0xb7561a&&(_0x46cfec[_0x1451c3][_0x5dbbc4(0x1ec)]=_0x10ba45,_0x2252ae(_0x46cfec[_0x1451c3]),_0x46cfec[_0x1451c3]=null);}function _0x2252ae({start:_0xbb2adb,end:_0x328da4,tapeItem:_0x507a12,userId:_0x5bcf88,type:_0x3b878c}){const _0x11b2fe=_0x3be028,_0x2e6f70=_0x507a12[_0x11b2fe(0x2a6)],_0x4bb014=_0x5ee92d[_0x11b2fe(0x261)][_0x11b2fe(0x1f0)](_0x2e6f70)&&!_0x5ee92d[_0x11b2fe(0x261)][_0x11b2fe(0x1eb)](_0x2e6f70),_0xfa9d7=_0xbb2adb[_0x11b2fe(0x260)]==_0x328da4[_0x11b2fe(0x21b)]&&_0x328da4[_0x11b2fe(0x1d0)];if(_0x4bb014&&_0xfa9d7)return;const _0x51dabe=_0x5ee92d[_0x11b2fe(0x2a7)](_0xbb2adb,_0x328da4),_0x1a5b70=_0x3b6cd5[_0x11b2fe(0x25c)](_0x5bcf88),_0x22bd75=new _0x1bfd26({'author':_0x1a5b70,'type':_0x11b2fe(0x2bf)==_0x3b878c||_0x11b2fe(0x22e)==_0x3b878c?_0x11b2fe(0x1c7):_0x11b2fe(0x20d),'data':{'isSuggestion':_0x11b2fe(0x22e)==_0x3b878c||_0x11b2fe(0x1fc)==_0x3b878c},'createdAt':new Date(),'rootName':_0x1a98df});_0x51ea80[_0x11b2fe(0x2aa)](_0x22bd75),_0x4994f9[_0x11b2fe(0x1b8)][_0x11b2fe(0x230)](_0x11b2fe(0x1d5)+_0x22bd75['id'],_0x51dabe);}function _0x3f0388(_0x144e48,_0x5d99a2){const _0x197b8a=_0x3be028,_0x28fffe=_0x144e48[_0x197b8a(0x1ca)](),_0x391935=_0x5d99a2[_0x197b8a(0x1ca)]();for(const _0x31b9c0 of _0x28fffe){if(_0x31b9c0[0x1]!==_0x5d99a2[_0x197b8a(0x24e)](_0x31b9c0[0x0]))return!0x1;_0x391935[_0x197b8a(0x241)]();}return _0x391935[_0x197b8a(0x241)]()[_0x197b8a(0x288)];}}[_0x5b5e80(0x2b0)](){const _0x75a9ff=_0x5b5e80;this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x1d6)]({'view':_0x75a9ff(0x1f6)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x200))[_0x75a9ff(0x247)]({'model':_0x75a9ff(0x1f6),'view':_0x1ec526=>{const _0x5e54e1=_0x75a9ff,_0x4337fe=_0x1ec526[_0x5e54e1(0x1ff)][_0x5e54e1(0x282)](':')[0x1],_0x50dda0=this[_0x5e54e1(0x1c1)](_0x4337fe);if(!_0x50dda0)return null;const _0x540541=_0x5e54e1(0x1c7)==_0x50dda0[_0x5e54e1(0x2d6)]?_0x5e54e1(0x213):_0x5e54e1(0x1e0),_0x495e36=[_0x5e54e1(0x2a9),_0x5e54e1(0x222)+_0x540541];return _0x50dda0[_0x5e54e1(0x2ea)][_0x5e54e1(0x27e)]&&_0x495e36[_0x5e54e1(0x2aa)](_0x5e54e1(0x222)+_0x540541+_0x5e54e1(0x25e)),this[_0x5e54e1(0x25a)]==_0x50dda0&&_0x495e36[_0x5e54e1(0x2aa)](_0x5e54e1(0x1b7)),{'classes':_0x495e36,'attributes':{'data-change-id':_0x4337fe}};}}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x1c7)](_0x4b8df3=>{const _0xd56061=_0x75a9ff;_0x4b8df3['on'](_0xd56061(0x1c4),(_0x2d596d,_0x401163,_0x4a9d77)=>{const _0x4e06bd=_0xd56061,_0x569d5e=_0x401163[_0x4e06bd(0x243)][_0x4e06bd(0x2d5)](0x0);if(!_0x569d5e||!_0x569d5e['is'](_0x4e06bd(0x22d),_0x4e06bd(0x29c)))return;if(!_0x4a9d77[_0x4e06bd(0x1e6)][_0x4e06bd(0x2d8)](_0x569d5e,{'attributes':[_0x4e06bd(0x1f5),_0x4e06bd(0x207)]}))return;const _0x20e751=_0x401163[_0x4e06bd(0x25d)][_0x4e06bd(0x257)][_0x4e06bd(0x260)];_0x4a9d77[_0x4e06bd(0x1f7)][_0x4e06bd(0x2a5)](_0x4e06bd(0x1f5),_0x569d5e[_0x4e06bd(0x24e)](_0x4e06bd(0x1f5)),_0x20e751),_0x4a9d77[_0x4e06bd(0x1f7)][_0x4e06bd(0x2a5)](_0x4e06bd(0x207),_0x569d5e[_0x4e06bd(0x24e)](_0x4e06bd(0x207)),_0x20e751);},{'priority':_0xd56061(0x1da)});}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x1c7)](_0x28660f=>{const _0x9b6431=_0x75a9ff;_0x28660f['on'](_0x9b6431(0x22d),(_0x7e6b3a,_0x56077b,_0x47c7c4)=>{const _0xd6b956=_0x9b6431;if(!_0x47c7c4[_0xd6b956(0x1e6)][_0xd6b956(0x2d8)](_0x56077b[_0xd6b956(0x243)],{'attributes':[_0xd6b956(0x1f5),_0xd6b956(0x207)]}))return;if(_0x56077b[_0xd6b956(0x25d)][_0xd6b956(0x2bc)])return;const _0x12267e=_0x56077b[_0xd6b956(0x25d)][_0xd6b956(0x257)][_0xd6b956(0x260)];_0x12267e[_0xd6b956(0x29e)](_0xd6b956(0x1f5))||_0x12267e[_0xd6b956(0x29e)](_0xd6b956(0x23f))||(_0x47c7c4[_0xd6b956(0x1f7)][_0xd6b956(0x2a5)](_0xd6b956(0x1f5),_0x56077b[_0xd6b956(0x243)][_0xd6b956(0x24e)](_0xd6b956(0x1f5)),_0x12267e),_0x47c7c4[_0xd6b956(0x1f7)][_0xd6b956(0x2a5)](_0xd6b956(0x207),_0x56077b[_0xd6b956(0x243)][_0xd6b956(0x24e)](_0xd6b956(0x207)),_0x12267e));},{'priority':_0x9b6431(0x1da)});}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x237)]({'view':{'name':_0x75a9ff(0x2e8),'attributes':{'vid':!0x0}},'model':{'key':_0x75a9ff(0x23f),'value':_0x422c52=>_0x422c52[_0x75a9ff(0x24e)](_0x75a9ff(0x23f))}}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x252)][_0x75a9ff(0x261)]['on'](_0x75a9ff(0x298),(_0xe5494d,[,_0x32a68a])=>{const _0xe6c76e=_0x75a9ff;[_0xe6c76e(0x1f5),_0xe6c76e(0x207),_0xe6c76e(0x23f)][_0xe6c76e(0x2ad)](_0x32a68a)&&(_0xe5494d[_0xe6c76e(0x235)]=!0x0,_0xe5494d[_0xe6c76e(0x2cd)]());},{'priority':_0x75a9ff(0x2e7)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x256))[_0x75a9ff(0x1c7)](_0x27fb4e=>{const _0x16dc20=_0x75a9ff;_0x27fb4e['on'](_0x16dc20(0x1cc),(_0x1d9d8c,_0x5287cf,_0x162019)=>{const _0x29b39a=_0x16dc20;if('\x20'!=_0x5287cf[_0x29b39a(0x2a6)][_0x29b39a(0x2ea)]||_0x5287cf[_0x29b39a(0x2a6)][_0x29b39a(0x21b)][_0x29b39a(0x1cd)]>0x1)return;if(!_0x162019[_0x29b39a(0x1e6)][_0x29b39a(0x2d8)](_0x5287cf[_0x29b39a(0x2a6)],_0x1d9d8c[_0x29b39a(0x1b1)]))return;const _0x29e50d=_0x162019[_0x29b39a(0x1f7)],_0x1ddb33=_0x162019[_0x29b39a(0x1be)][_0x29b39a(0x1b2)](_0x5287cf[_0x29b39a(0x263)]);_0x29e50d[_0x29b39a(0x2c7)](_0x1ddb33,_0x29e50d[_0x29b39a(0x227)](_0x29b39a(0x2e8)));});}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x256))[_0x75a9ff(0x267)]({'model':_0x75a9ff(0x1f6)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x274),function(_0xa7d528){const _0x508de5=_0x75a9ff,_0x21c411=_0xa7d528[_0x508de5(0x2ac)][_0x508de5(0x25c)](_0x508de5(0x242));return(_0x4f13d3,_0x322c83,_0x6517aa)=>{const _0x4d3c92=_0x508de5,_0x2a2fa5=_0x322c83[_0x4d3c92(0x1ff)][_0x4d3c92(0x282)](':')[0x1],_0x370c04=_0x21c411[_0x4d3c92(0x1c1)](_0x2a2fa5);if(!_0x370c04)return null;const _0x31cddb=_0x4d3c92(0x1c7)==_0x370c04[_0x4d3c92(0x2d6)]?_0x4d3c92(0x282):_0x4d3c92(0x255);if(!_0x6517aa[_0x4d3c92(0x1e6)][_0x4d3c92(0x1b4)](_0x322c83[_0x4d3c92(0x1f2)],_0x4f13d3[_0x4d3c92(0x1b1)]))return;const _0x26ee98=_0x322c83[_0x4d3c92(0x1f2)][_0x4d3c92(0x26e)](),_0x3b473a=_0x322c83[_0x4d3c92(0x1f2)][_0x4d3c92(0x257)],_0x4bb9cc=_0xa7d528[_0x4d3c92(0x252)][_0x4d3c92(0x261)];let _0xd6f56=null,_0x466b03=null,_0x331a4a=!0x1,_0x2975cf=!0x1;for(const _0x5c97e0 of _0x26ee98){const _0x31804a=_0x5c97e0[_0x4d3c92(0x2a6)];_0x331a4a=_0x331a4a||_0x4bb9cc[_0x4d3c92(0x2e9)](_0x31804a);const _0x8276f7=_0x6517aa[_0x4d3c92(0x1be)][_0x4d3c92(0x225)](_0x31804a);if(_0x8276f7&&_0x8276f7[_0x4d3c92(0x273)](_0x4d3c92(0x24c)))return;_0x4d3c92(0x293)==_0x5c97e0[_0x4d3c92(0x2d6)]&&(_0x4bb9cc[_0x4d3c92(0x1f0)](_0x31804a)&&!_0x4bb9cc[_0x4d3c92(0x1eb)](_0x31804a)&&(_0x31804a[_0x4d3c92(0x23e)]||_0x3b473a[_0x4d3c92(0x23a)]?_0xd6f56&&_0xd6f56[_0x4d3c92(0x21b)]==_0x31804a||(_0xd6f56=_0x31804a,_0x43eadc(_0x5c97e0[_0x4d3c92(0x244)]),_0x2975cf=!0x0):_0x466b03=_0x466b03||_0x5c97e0[_0x4d3c92(0x244)]));}function _0x43eadc(_0x55f3e9){const _0x877ed5=_0x4d3c92,_0x4741e9=_0x6517aa[_0x877ed5(0x1f7)][_0x877ed5(0x1ba)](_0x877ed5(0x2e8),{'class':_0x877ed5(0x222)+_0x31cddb}),_0x35aca4=_0x6517aa[_0x877ed5(0x1be)][_0x877ed5(0x22b)](_0x55f3e9);_0x370c04[_0x877ed5(0x2ea)][_0x877ed5(0x27e)]&&_0x6517aa[_0x877ed5(0x1f7)][_0x877ed5(0x2a2)](_0x877ed5(0x222)+_0x31cddb+_0x877ed5(0x25e),_0x4741e9),_0x21c411[_0x877ed5(0x25a)]==_0x370c04&&_0x6517aa[_0x877ed5(0x1f7)][_0x877ed5(0x2a2)](_0x877ed5(0x1b7),_0x4741e9),_0x6517aa[_0x877ed5(0x1f7)][_0x877ed5(0x1e8)](_0x35aca4,_0x4741e9),_0x6517aa[_0x877ed5(0x1be)][_0x877ed5(0x232)](_0x4741e9,_0x322c83[_0x877ed5(0x1ff)]);}_0x331a4a||_0x2975cf||!_0x466b03||_0x43eadc(_0x466b03);};}(this[_0x75a9ff(0x20f)]),{'priority':_0x75a9ff(0x2ed)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x286),(_0x4479a5,_0x2deffc,_0x146a13)=>{const _0x2fa61d=_0x75a9ff,_0x4ba8f7=_0x146a13[_0x2fa61d(0x1be)][_0x2fa61d(0x1f9)](_0x2deffc[_0x2fa61d(0x1ff)]);if(_0x4ba8f7){for(const _0x3a1713 of _0x4ba8f7)(_0x3a1713[_0x2fa61d(0x205)](_0x2fa61d(0x284))||_0x3a1713[_0x2fa61d(0x205)](_0x2fa61d(0x2b8)))&&(_0x146a13[_0x2fa61d(0x1be)][_0x2fa61d(0x24b)](_0x3a1713,_0x2deffc[_0x2fa61d(0x1ff)]),_0x146a13[_0x2fa61d(0x1f7)][_0x2fa61d(0x20d)](_0x3a1713));}},{'priority':_0x75a9ff(0x2ed)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x274),(_0x379b59,_0x23e0be,_0x20c867)=>{const _0x45488c=_0x75a9ff,_0x24593c=_0x23e0be[_0x45488c(0x1ff)][_0x45488c(0x282)](':')[0x1],_0x14f34=this[_0x45488c(0x1c1)](_0x24593c);if(!_0x14f34)return null;const _0x2482a6=_0x45488c(0x1c7)==_0x14f34[_0x45488c(0x2d6)]?_0x45488c(0x282):_0x45488c(0x255);if(_0x20c867[_0x45488c(0x1e6)][_0x45488c(0x1b4)](_0x23e0be[_0x45488c(0x1f2)],_0x379b59[_0x45488c(0x1b1)]))for(const _0x4057ea of _0x23e0be[_0x45488c(0x1f2)][_0x45488c(0x2af)]()){if(!_0x4057ea['is'](_0x45488c(0x22d),_0x45488c(0x2b4)))continue;const _0x5b562d=_0x20c867[_0x45488c(0x1f7)][_0x45488c(0x1ba)](_0x45488c(0x2e8),{'class':_0x45488c(0x222)+_0x2482a6}),_0x49d931=_0x20c867[_0x45488c(0x1be)][_0x45488c(0x22b)](this[_0x45488c(0x20f)][_0x45488c(0x252)][_0x45488c(0x2ce)](_0x4057ea));_0x14f34[_0x45488c(0x2ea)][_0x45488c(0x27e)]&&_0x20c867[_0x45488c(0x1f7)][_0x45488c(0x2a2)](_0x45488c(0x222)+_0x2482a6+_0x45488c(0x25e),_0x5b562d),this[_0x45488c(0x25a)]==_0x14f34&&_0x20c867[_0x45488c(0x1f7)][_0x45488c(0x2a2)](_0x45488c(0x1b7),_0x5b562d),_0x20c867[_0x45488c(0x1f7)][_0x45488c(0x1e8)](_0x49d931,_0x5b562d),_0x20c867[_0x45488c(0x1be)][_0x45488c(0x232)](_0x5b562d,_0x23e0be[_0x45488c(0x1ff)]);}},{'priority':_0x75a9ff(0x2ed)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x252)][_0x75a9ff(0x264)]['on'](_0x75a9ff(0x1db),()=>{const _0x2afc68=_0x75a9ff;this[_0x2afc68(0x20f)][_0x2afc68(0x2f8)][_0x2afc68(0x2ca)][_0x2afc68(0x1db)](_0x58fb7c=>{const _0x5445c7=_0x2afc68;for(const _0x31582b of this[_0x5445c7(0x20f)][_0x5445c7(0x252)][_0x5445c7(0x264)][_0x5445c7(0x23c)]()){const _0x208c5d=this[_0x5445c7(0x20f)][_0x5445c7(0x252)][_0x5445c7(0x264)][_0x5445c7(0x21a)](_0x31582b),_0xfcdecf=this[_0x5445c7(0x20f)][_0x5445c7(0x2f8)][_0x5445c7(0x2ca)][_0x5445c7(0x264)][_0x5445c7(0x21a)](_0x31582b);if(_0xfcdecf){const _0x119375=_0x208c5d[_0x5445c7(0x24e)](_0x5445c7(0x26c));if(_0x58fb7c[_0x5445c7(0x27a)](_0x5445c7(0x283),_0xfcdecf),_0x58fb7c[_0x5445c7(0x210)](_0x5445c7(0x2cf),_0xfcdecf),_0x58fb7c[_0x5445c7(0x210)](_0x5445c7(0x1d3),_0xfcdecf),_0x58fb7c[_0x5445c7(0x210)](_0x5445c7(0x1f1),_0xfcdecf),_0x119375){const _0x3ea6eb=this[_0x5445c7(0x1c1)](_0x119375);if(!_0x3ea6eb)return null;_0x58fb7c[_0x5445c7(0x2a5)](_0x5445c7(0x283),_0x119375,_0xfcdecf),_0x58fb7c[_0x5445c7(0x2a2)](_0x5445c7(0x27d)+_0x3ea6eb[_0x5445c7(0x2d6)],_0xfcdecf),this[_0x5445c7(0x25a)]==_0x3ea6eb&&_0x58fb7c[_0x5445c7(0x2a2)](_0x5445c7(0x1f1),_0xfcdecf);}}}});}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x1d6)]({'view':_0x75a9ff(0x2f4),'model':_0x1fe9a7=>_0x75a9ff(0x2a1)+_0x1fe9a7,'converterPriority':_0x75a9ff(0x2e7)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x266))[_0x75a9ff(0x1d6)]({'view':_0x75a9ff(0x2b2),'model':_0x37f05a=>_0x75a9ff(0x250)+_0x37f05a,'converterPriority':_0x75a9ff(0x2e7)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x256))[_0x75a9ff(0x267)]({'model':_0x75a9ff(0x23b),'view':_0x235876=>({'name':_0x75a9ff(0x2d9)+_0x235876,'group':_0x75a9ff(0x23b)}),'converterPriority':_0x75a9ff(0x2e7)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x208)][_0x75a9ff(0x223)](_0x75a9ff(0x200))[_0x75a9ff(0x247)]({'model':_0x75a9ff(0x23b),'view':_0x3c3dbc=>{const _0x3a4d7a=_0x75a9ff,_0x3ed51e=_0x3c3dbc[_0x3a4d7a(0x1ff)][_0x3a4d7a(0x282)](':')[0x1];return _0x3a4d7a(0x213)!=_0x3ed51e&&_0x3a4d7a(0x1e0)!=_0x3ed51e?null:{'classes':[_0x3a4d7a(0x233),_0x3a4d7a(0x27f)+_0x3ed51e]};}}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x1d2),Q(this[_0x75a9ff(0x20f)],_0x75a9ff(0x255)),{'priority':_0x75a9ff(0x2ed)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x275),Q(this[_0x75a9ff(0x20f)],_0x75a9ff(0x282)),{'priority':_0x75a9ff(0x2ed)}),this[_0x75a9ff(0x20f)][_0x75a9ff(0x2f8)][_0x75a9ff(0x2da)]['on'](_0x75a9ff(0x2ec),(_0x11de54,_0x32fba,_0x463659)=>{const _0x4b7910=_0x75a9ff,_0x25ca11=_0x463659[_0x4b7910(0x1be)][_0x4b7910(0x1f9)](_0x32fba[_0x4b7910(0x1ff)]);if(_0x25ca11){for(const _0x4d271a of _0x25ca11)_0x4d271a['is'](_0x4b7910(0x21d))&&(_0x463659[_0x4b7910(0x1be)][_0x4b7910(0x24b)](_0x4d271a,_0x32fba[_0x4b7910(0x1ff)]),_0x463659[_0x4b7910(0x1f7)][_0x4b7910(0x20d)](_0x4d271a));}},{'priority':_0x75a9ff(0x2ed)});}[_0x5b5e80(0x1c1)](_0x9cb2c){const _0x45a7e3=_0x5b5e80;return this[_0x45a7e3(0x291)][_0x45a7e3(0x25c)](_0x9cb2c);}[_0x5b5e80(0x246)](_0x36206b){const _0x242ec2=_0x5b5e80;return this[_0x242ec2(0x214)]&&this[_0x242ec2(0x214)][_0x242ec2(0x201)](),this[_0x242ec2(0x214)]=new _0x5e992a(this[_0x242ec2(0x20f)][_0x242ec2(0x26f)],_0x36206b),this[_0x242ec2(0x214)];}[_0x5b5e80(0x1d1)](){const _0x550036=_0x5b5e80;this[_0x550036(0x20f)][_0x550036(0x252)][_0x550036(0x264)][_0x550036(0x269)][_0x550036(0x1c3)](_0x550036(0x1f6)),this['on'](_0x550036(0x2c4),(_0x55bc8d,_0x5efbf0,_0x48ed12,_0x140f0a)=>{const _0x450820=_0x550036;_0x140f0a&&this[_0x450820(0x289)][_0x450820(0x20d)](_0x140f0a),_0x48ed12&&(this[_0x450820(0x289)][_0x450820(0x1c7)]({'view':_0x48ed12,'stackId':_0x450820(0x1cf),'position':{'target':()=>{const _0x5144af=_0x450820,_0x5b21ba=this[_0x5144af(0x20f)][_0x5144af(0x2f8)],_0x1e8a04=this[_0x5144af(0x1c1)](_0x48ed12[_0x5144af(0x1de)]);let _0x47ac82;if(_0x1e8a04[_0x5144af(0x2ea)][_0x5144af(0x203)]){const _0x188a79=_0x5b21ba[_0x5144af(0x2ca)][_0x5144af(0x215)](_0x1e8a04[_0x5144af(0x22f)]);_0x47ac82=Array[_0x5144af(0x1ee)](_0x188a79[_0x5144af(0x2bd)]());}else{const _0xbd2fad=this[_0x5144af(0x20f)][_0x5144af(0x252)][_0x5144af(0x1b8)][_0x5144af(0x25c)](_0x5144af(0x1d5)+_0x48ed12[_0x5144af(0x1de)]);_0x47ac82=Array[_0x5144af(0x1ee)](_0x5b21ba[_0x5144af(0x1be)][_0x5144af(0x1f9)](_0xbd2fad[_0x5144af(0x1b1)]))[_0x5144af(0x2d1)](_0x3c902e=>_0x5b21ba[_0x5144af(0x2ca)][_0x5144af(0x21f)][_0x5144af(0x25b)](_0x3c902e))[_0x5144af(0x2d1)](_0x29dae5=>Array[_0x5144af(0x1ee)](_0x29dae5[_0x5144af(0x2bd)]()))[_0x5144af(0x1c9)]();}if(!this[_0x5144af(0x27c)])return _0x47ac82[0x0];return _0x47ac82[_0x5144af(0x296)](_0x402c76=>_0x402c76[_0x5144af(0x259)]-0x3<=this[_0x5144af(0x27c)]['y']&&_0x402c76[_0x5144af(0x29d)]+0x3>=this[_0x5144af(0x27c)]['y']&&_0x402c76[_0x5144af(0x1f8)]-0x3<=this[_0x5144af(0x27c)]['x']&&_0x402c76[_0x5144af(0x292)]+0x3>=this[_0x5144af(0x27c)]['x'])||_0x47ac82[0x0];}}}),this[_0x450820(0x289)][_0x450820(0x25f)](_0x450820(0x1cf)));}),this['on'](_0x550036(0x2b5),(_0x180570,_0x3dd6af,_0x2d63d8,_0x4ac56d)=>{const _0x1e92f8=_0x550036;this[_0x1e92f8(0x279)]=_0x2d63d8?this[_0x1e92f8(0x246)](_0x2d63d8):null,this[_0x1e92f8(0x20f)][_0x1e92f8(0x252)][_0x1e92f8(0x1db)](()=>{const _0x3d3825=_0x1e92f8,_0x262d52=this[_0x3d3825(0x20f)][_0x3d3825(0x2f8)];_0x4ac56d&&(_0x4ac56d[_0x3d3825(0x2ea)][_0x3d3825(0x203)]?_0x262d52[_0x3d3825(0x2ca)][_0x3d3825(0x1db)](_0x7663bc=>{const _0x26fa6a=_0x3d3825;_0x7663bc[_0x26fa6a(0x210)](_0x26fa6a(0x1f1),_0x262d52[_0x26fa6a(0x2ca)][_0x26fa6a(0x264)][_0x26fa6a(0x21a)](_0x4ac56d[_0x26fa6a(0x22f)]));}):_0x262d52[_0x3d3825(0x1bc)](_0x3d3825(0x1d5)+_0x4ac56d['id'])),_0x2d63d8&&(_0x2d63d8[_0x3d3825(0x2ea)][_0x3d3825(0x203)]?_0x262d52[_0x3d3825(0x2ca)][_0x3d3825(0x1db)](_0x3b7398=>{const _0x276c66=_0x3d3825;_0x3b7398[_0x276c66(0x2a2)](_0x276c66(0x1f1),_0x262d52[_0x276c66(0x2ca)][_0x276c66(0x264)][_0x276c66(0x21a)](_0x2d63d8[_0x276c66(0x22f)]));}):_0x262d52[_0x3d3825(0x1bc)](_0x3d3825(0x1d5)+_0x2d63d8['id']));});}),this[_0x550036(0x20b)](this[_0x550036(0x20f)][_0x550036(0x2f8)][_0x550036(0x2ca)][_0x550036(0x264)],_0x550036(0x21c),(_0x25dde0,_0x55f69e)=>{const _0x346407=_0x550036;if(this[_0x346407(0x25a)])return;const _0x32ec7b=this[_0x346407(0x290)](_0x55f69e[_0x346407(0x1d7)]),_0x434548=this[_0x346407(0x291)][_0x346407(0x25c)](_0x32ec7b);_0x434548?(this[_0x346407(0x27c)]={'x':_0x55f69e[_0x346407(0x297)]['x'],'y':_0x55f69e[_0x346407(0x297)]['y']},this[_0x346407(0x279)]=this[_0x346407(0x246)](_0x434548)):(this[_0x346407(0x27c)]=null,this[_0x346407(0x279)]=null);}),this[_0x550036(0x20b)](this[_0x550036(0x20f)][_0x550036(0x2f8)][_0x550036(0x2ca)][_0x550036(0x264)],_0x550036(0x1bb),(_0x5aabb8,_0x15a222)=>{const _0x617984=_0x550036,_0x534852=this[_0x617984(0x290)](_0x15a222[_0x617984(0x1d7)]),_0x24dd45=this[_0x617984(0x291)][_0x617984(0x25c)](_0x534852);_0x24dd45?(this[_0x617984(0x27c)]={'x':_0x15a222[_0x617984(0x297)]['x'],'y':_0x15a222[_0x617984(0x297)]['y']},_0x24dd45===this[_0x617984(0x25a)]?this[_0x617984(0x289)][_0x617984(0x268)]():this[_0x617984(0x25a)]=_0x24dd45):(this[_0x617984(0x27c)]=null,this[_0x617984(0x25a)]=null);});}[_0x5b5e80(0x290)](_0xa56a6b){const _0x54f450=_0x5b5e80;do{const _0x109188=_0xa56a6b[_0x54f450(0x24e)](_0x54f450(0x283));if(_0x109188)return _0x109188;_0xa56a6b=_0xa56a6b[_0x54f450(0x21b)];}while(_0xa56a6b);return null;}[_0x5b5e80(0x2d2)](){const _0x43da78=_0x5b5e80;this[_0x43da78(0x20f)][_0x43da78(0x252)][_0x43da78(0x1db)](_0x3ac8a6=>{const _0xcd9fd3=_0x43da78;for(const _0xb23a46 of this[_0xcd9fd3(0x20f)][_0xcd9fd3(0x252)][_0xcd9fd3(0x1b8)])_0x3ac8a6[_0xcd9fd3(0x27b)](_0xb23a46);});}}function Q(_0xec5234,_0x3bd075){return(_0x15fb84,_0x4fc1ea,_0xc273ca)=>{const _0x3dd42c=_0x2175;if(!_0xc273ca[_0x3dd42c(0x1e6)][_0x3dd42c(0x1b4)](_0x4fc1ea[_0x3dd42c(0x1f2)],_0x15fb84[_0x3dd42c(0x1b1)]))return;const _0x14e666=_0x4fc1ea[_0x3dd42c(0x1f2)][_0x3dd42c(0x26e)](),_0x137c2d=_0x4fc1ea[_0x3dd42c(0x1f2)][_0x3dd42c(0x257)],_0x22af17=_0xec5234[_0x3dd42c(0x252)][_0x3dd42c(0x261)];let _0x4e73ba=null,_0x26e7c2=null,_0x5ead71=!0x1,_0x2c2190=!0x1;for(const _0x2b7110 of _0x14e666){const _0x2507c9=_0x2b7110[_0x3dd42c(0x2a6)];_0x5ead71=_0x5ead71||_0x22af17[_0x3dd42c(0x2e9)](_0x2507c9);const _0x343831=_0xc273ca[_0x3dd42c(0x1be)][_0x3dd42c(0x225)](_0x2507c9);if(_0x343831&&_0x343831[_0x3dd42c(0x273)](_0x3dd42c(0x24c)))return;_0x3dd42c(0x293)==_0x2b7110[_0x3dd42c(0x2d6)]&&(_0x22af17[_0x3dd42c(0x1f0)](_0x2507c9)&&!_0x22af17[_0x3dd42c(0x1eb)](_0x2507c9)&&(_0x2507c9[_0x3dd42c(0x23e)]||_0x137c2d[_0x3dd42c(0x23a)]?_0x4e73ba&&_0x4e73ba[_0x3dd42c(0x21b)]==_0x2507c9||(_0x4e73ba=_0x2507c9,_0x5bbb80(_0x2b7110[_0x3dd42c(0x244)]),_0x2c2190=!0x0):_0x26e7c2=_0x26e7c2||_0x2b7110[_0x3dd42c(0x244)]));}function _0x5bbb80(_0x1e7c67){const _0x2341ed=_0x3dd42c,_0x52f91b=_0xc273ca[_0x2341ed(0x1be)][_0x2341ed(0x22b)](_0x1e7c67),_0x3072f1=_0xc273ca[_0x2341ed(0x1f7)][_0x2341ed(0x1ba)](_0x2341ed(0x2e8),{'class':_0x2341ed(0x27f)+_0x3bd075});_0xc273ca[_0x2341ed(0x1f7)][_0x2341ed(0x1e8)](_0x52f91b,_0x3072f1),_0xc273ca[_0x2341ed(0x1be)][_0x2341ed(0x232)](_0x3072f1,_0x4fc1ea[_0x2341ed(0x1ff)]);}_0x5ead71||_0x2c2190||!_0x26e7c2||_0x5bbb80(_0x26e7c2);};}export class RestoreRevisionCommand extends _0x4ec70b{constructor(_0x117b6b){const _0x19dde7=_0x5b5e80;super(_0x117b6b);const _0x4fcd1b=_0x117b6b[_0x19dde7(0x2ac)][_0x19dde7(0x25c)](RevisionViewer);this[_0x19dde7(0x202)]=!0x1,this[_0x19dde7(0x20b)](_0x4fcd1b,_0x19dde7(0x295),()=>this[_0x19dde7(0x1f3)]()),this[_0x19dde7(0x20b)](_0x4fcd1b,_0x19dde7(0x234),()=>this[_0x19dde7(0x1f3)]());}[_0x5b5e80(0x2e1)](){const _0x1f3466=_0x5b5e80,_0x4954a9=this[_0x1f3466(0x20f)],_0x18b41f=_0x4954a9[_0x1f3466(0x2ac)][_0x1f3466(0x25c)](RevisionViewer),_0x2e32d5=_0x18b41f[_0x1f3466(0x2eb)]?_0x18b41f[_0x1f3466(0x1dc)][_0x1f3466(0x26b)]:null;_0x4954a9[_0x1f3466(0x2c6)][_0x1f3466(0x25c)](_0x1f3466(0x2c9))[_0x1f3466(0x1dd)](_0x2e32d5);}[_0x5b5e80(0x1f3)](){const _0x5ad387=_0x5b5e80,{isReady:_0x7e47a5,isEnabled:_0x42028d,repository:_0x4857ac,diff:_0x3a1ef4}=this[_0x5ad387(0x20f)][_0x5ad387(0x2ac)][_0x5ad387(0x25c)](RevisionViewer),_0x2084d5=_0x3a1ef4&&_0x4857ac[_0x5ad387(0x1b5)](_0x3a1ef4[_0x5ad387(0x26b)]);this[_0x5ad387(0x22a)]=_0x7e47a5&&_0x42028d&&Boolean(_0x2084d5);}}export class ShowChangeCommand extends _0x4ec70b{[_0x5b5e80(0x1cb)];constructor(_0xc5c6b2,{direction:_0x47c86b}){const _0x54870c=_0x5b5e80;super(_0xc5c6b2);const _0x2cb8ac=_0xc5c6b2[_0x54870c(0x2ac)][_0x54870c(0x25c)](RevisionViewer);this[_0x54870c(0x202)]=!0x1,this[_0x54870c(0x1cb)]=_0x54870c(0x277)===_0x47c86b?0x1:-0x1,this[_0x54870c(0x20b)](_0x2cb8ac,_0x54870c(0x295),()=>this[_0x54870c(0x1f3)]()),this[_0x54870c(0x20b)](_0x2cb8ac,_0x54870c(0x234),()=>this[_0x54870c(0x1f3)]()),this[_0x54870c(0x20b)](_0x2cb8ac,_0x54870c(0x2b5),()=>this[_0x54870c(0x1f3)]());}[_0x5b5e80(0x2e1)](){const _0x528bcd=_0x5b5e80,_0x5b53c6=this[_0x528bcd(0x20f)],_0x179180=_0x5b53c6[_0x528bcd(0x2ac)][_0x528bcd(0x25c)](RevisionViewer),{isNavigationMode:_0x1da185,currentChangeNumber:_0x15898d}=_0x179180;let _0x2d5888;if(_0x179180[_0x528bcd(0x25a)]=_0x1da185?_0x179180[_0x528bcd(0x1dc)][_0x528bcd(0x2dd)][_0x528bcd(0x25c)](_0x15898d+this[_0x528bcd(0x1cb)]):_0x179180[_0x528bcd(0x1dc)][_0x528bcd(0x2dd)][_0x528bcd(0x22c)],_0x179180[_0x528bcd(0x25a)][_0x528bcd(0x2ea)][_0x528bcd(0x203)])_0x2d5888=_0x5b53c6[_0x528bcd(0x2f8)][_0x528bcd(0x2ca)][_0x528bcd(0x215)](_0x179180[_0x528bcd(0x25a)][_0x528bcd(0x22f)]);else{const _0x442781=_0x5b53c6[_0x528bcd(0x252)][_0x528bcd(0x1b8)][_0x528bcd(0x25c)](_0x528bcd(0x1d5)+_0x179180[_0x528bcd(0x25a)]['id']);_0x2d5888=_0x56d190(_0x5b53c6[_0x528bcd(0x2f8)],_0x442781);}_0x546c1d({'target':_0x2d5888,'viewportOffset':0x28});}[_0x5b5e80(0x1f3)](){const _0x341629=_0x5b5e80,{isNavigationMode:_0x3bbe8c,currentChangeNumber:_0xd967db,numberOfChanges:_0x44f384,isReady:_0x1c2b21,isEnabled:_0x6f747a}=this[_0x341629(0x20f)][_0x341629(0x2ac)][_0x341629(0x25c)](RevisionViewer);this[_0x341629(0x22a)]=!!(_0x6f747a&&_0x1c2b21&&_0x44f384)&&(!_0x3bbe8c||(0x1===this[_0x341629(0x1cb)]?_0xd967db<_0x44f384-0x1:_0xd967db>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x237ea7,_0x5a4222){const _0x275133=_0x7c83,_0x55514b=_0x237ea7();while(!![]){try{const _0x2b5a88=-parseInt(_0x275133(0xac))/0x1+-parseInt(_0x275133(0xb5))/0x2*(parseInt(_0x275133(0xa3))/0x3)+parseInt(_0x275133(0xd1))/0x4+-parseInt(_0x275133(0xc4))/0x5*(parseInt(_0x275133(0xa9))/0x6)+-parseInt(_0x275133(0xad))/0x7+parseInt(_0x275133(0xc7))/0x8+-parseInt(_0x275133(0xc9))/0x9*(-parseInt(_0x275133(0xce))/0xa);if(_0x2b5a88===_0x5a4222)break;else _0x55514b['push'](_0x55514b['shift']());}catch(_0x3c83fa){_0x55514b['push'](_0x55514b['shift']());}}}(_0x514d,0x85e72));import{Collection as _0x33ba32}from'ckeditor5/src/utils.js';function _0x514d(){const _0x291028=['1028520KJNzGS','bind','ck-revision-history-sidebar__revision__actions','366cwmpTU','add','function','name','bindTemplate','change:isActionsDropdownOpen','114ZyGQaH','listenTo','find','197304kGVjnt','2888382LRycQE','locale','panelPosition','Restore\x20this\x20revision','extendTemplate','items','menu','stopPropagation','13046vRKcOn','isReady','map','listView','Show\x20more\x20items','ck-on','Name\x20this\x20revision','execute','Compare\x20against\x20selected','children','source','isEnabled','class','_action','buttonView','130505ToomjB','isActionsDropdownOpen','button','3974152XdjFyT','isOpen','693909VwNkgy','model','menuitem','isVisible','first','220wOBKLm','set','action'];_0x514d=function(){return _0x291028;};return _0x514d();}import{IconThreeVerticalDots as _0x59a236}from'ckeditor5/src/icons.js';import{UIModel as _0x10aadb,addListToDropdown as _0x4e449a,createDropdown as _0x391961}from'ckeditor5/src/ui.js';import{getTranslation as _0x4fd27d}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';function _0x7c83(_0x34ef85,_0x2a17d2){const _0x514df4=_0x514d();return _0x7c83=function(_0x7c83fd,_0xd27c56){_0x7c83fd=_0x7c83fd-0xa3;let _0x1d360c=_0x514df4[_0x7c83fd];return _0x1d360c;},_0x7c83(_0x34ef85,_0x2a17d2);}export function createActionsDropdownView(_0x4d4255,_0x1828b2){const _0x89da90=_0x7c83,_0x5dffce=_0x4d4255[_0x89da90(0xa7)],_0x1161f1=_0x4d4255[_0x89da90(0xae)],_0x276df1=_0x391961(_0x1161f1);_0x276df1[_0x89da90(0xaf)]='sw';const _0x12190f=function(_0x39f524,_0x46994e){const _0xe2e21c=_0x89da90,_0xfe6a38=function(_0x5cb0f2,_0x4616dd){const _0x547c85=_0x7c83,_0x590742=_0x5cb0f2[_0x547c85(0xae)],_0x1c75a1={'Compare\x20against\x20selected':_0x4fd27d(_0x590742,_0x547c85(0xbd)),'Name\x20this\x20revision':_0x4fd27d(_0x590742,_0x547c85(0xbb)),'Restore\x20this\x20revision':_0x4fd27d(_0x590742,_0x547c85(0xb0))};return _0x4616dd[_0x547c85(0xb7)](_0x40e4d5=>{const _0x4150a9=_0x547c85,_0x1dcde9=_0x1c75a1[_0x40e4d5[_0x4150a9(0xa6)]];return _0x1dcde9&&_0x1dcde9!==_0x40e4d5[_0x4150a9(0xa6)]&&(_0x40e4d5[_0x4150a9(0xa6)]=_0x1dcde9),_0x40e4d5;});}(_0x39f524,_0x46994e),_0x7b03c4=new _0x33ba32();for(const _0x550cc2 of _0xfe6a38){const _0x23ff28={'type':_0xe2e21c(0xc6),'model':new _0x10aadb({'label':_0x550cc2[_0xe2e21c(0xa6)],'class':_0x550cc2[_0xe2e21c(0xc1)],'withText':!0x0,'role':_0xe2e21c(0xcb),'_action':_0x550cc2[_0xe2e21c(0xd0)]})};_0x23ff28[_0xe2e21c(0xca)][_0xe2e21c(0xd2)](_0xe2e21c(0xc0))['to'](_0x39f524,_0xe2e21c(0xc5),_0x4e4628=>_0xe2e21c(0xa5)!=typeof _0x550cc2[_0xe2e21c(0xc0)]||(!_0x4e4628||_0x550cc2[_0xe2e21c(0xc0)](_0x39f524))),_0x7b03c4[_0xe2e21c(0xa4)](_0x23ff28);}return _0x7b03c4;}(_0x4d4255,_0x1828b2);return _0x4d4255[_0x89da90(0xd2)](_0x89da90(0xc5))['to'](_0x276df1,_0x89da90(0xc8)),_0x276df1[_0x89da90(0xc3)][_0x89da90(0xcf)]({'label':_0x4fd27d(_0x1161f1,_0x89da90(0xb9)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x59a236}),_0x276df1[_0x89da90(0xb1)]({'attributes':{'class':[_0x89da90(0xd3),_0x5dffce['if'](_0x89da90(0xc5),_0x89da90(0xba))]},'on':{'click':_0x5dffce['to'](_0x545141=>_0x545141[_0x89da90(0xb4)]())}}),_0x276df1['on'](_0x89da90(0xbc),_0x1579d8=>{const _0x581228=_0x89da90;_0x4d4255[_0x581228(0xb6)]&&_0x581228(0xa5)==typeof _0x1579d8[_0x581228(0xbf)][_0x581228(0xc2)]&&_0x1579d8[_0x581228(0xbf)][_0x581228(0xc2)](_0x4d4255);}),_0x4e449a(_0x276df1,_0x12190f,{'role':_0x89da90(0xb3)}),_0x276df1[_0x89da90(0xaa)](_0x4d4255,_0x89da90(0xa8),(_0x34332a,_0x24f78e,_0x4f2e9d)=>{const _0x277037=_0x89da90;if(_0x4f2e9d)for(const _0x57900c of _0x276df1[_0x277037(0xb8)][_0x277037(0xb2)]){const _0x20433b=_0x57900c[_0x277037(0xbe)][_0x277037(0xcd)],_0x52fbbb=_0x1828b2[_0x277037(0xab)](_0x1c4361=>_0x1c4361[_0x277037(0xd0)]===_0x20433b[_0x277037(0xc2)])[_0x277037(0xcc)];_0x57900c[_0x277037(0xcc)]=void 0x0===_0x52fbbb||_0x52fbbb(_0x4d4255);}}),_0x276df1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x49ee04,_0x25d441){const _0x5c8cd5=_0x4e71,_0x437f74=_0x49ee04();while(!![]){try{const _0x313035=-parseInt(_0x5c8cd5(0xc1))/0x1*(-parseInt(_0x5c8cd5(0xcd))/0x2)+parseInt(_0x5c8cd5(0xcb))/0x3+-parseInt(_0x5c8cd5(0xcf))/0x4+parseInt(_0x5c8cd5(0xc3))/0x5+parseInt(_0x5c8cd5(0xc4))/0x6*(-parseInt(_0x5c8cd5(0xc2))/0x7)+parseInt(_0x5c8cd5(0xc0))/0x8+-parseInt(_0x5c8cd5(0xc7))/0x9*(parseInt(_0x5c8cd5(0xbe))/0xa);if(_0x313035===_0x25d441)break;else _0x437f74['push'](_0x437f74['shift']());}catch(_0xe64858){_0x437f74['push'](_0x437f74['shift']());}}}(_0x2580,0x7fb29));import{View as _0x4da94b,IconView as _0x5d45fc}from'ckeditor5/src/ui.js';import{IconUser as _0x1d1e2c}from'ckeditor5/src/icons.js';function _0x4e71(_0x40fdc7,_0x293c40){const _0x258054=_0x2580();return _0x4e71=function(_0x4e71a0,_0x207c03){_0x4e71a0=_0x4e71a0-0xbc;let _0x277a4f=_0x258054[_0x4e71a0];return _0x277a4f;},_0x4e71(_0x40fdc7,_0x293c40);}import{getTranslation as _0x544c75}from'../../utils/common-translations.js';function _0x2580(){const _0x433b40=['name','Revision\x20creator','ck-revision-history-sidebar__revision-author_creator','5605030joqnSC','setTemplate','5452656orTHWl','417763lYNGph','133qHImyT','2552590LphTAE','172554hFFwoG','span','ck-revision-history-sidebar__revision-author','9pTsVhh','0\x200\x2011\x2010','ck-revision-history-sidebar__revision-author__name','push','2813784hVEcmv','Revision\x20author','2iCmsBn','set','3671272MeUHqf'];_0x2580=function(){return _0x433b40;};return _0x2580();}import'../../../theme/revision/revisionauthor.css';export class RevisionAuthorView extends _0x4da94b{constructor(_0x3bdaee,_0x2dc9df,_0x37b781){const _0x2aaf8c=_0x4e71;super(_0x3bdaee);const _0x3b989b=new _0x5d45fc();_0x3b989b[_0x2aaf8c(0xce)]({'content':_0x1d1e2c,'viewBox':_0x2aaf8c(0xc8)});const _0x45db9a=['ck',_0x2aaf8c(0xc6)];_0x37b781&&_0x45db9a[_0x2aaf8c(0xca)](_0x2aaf8c(0xbd));const _0x194d46=[{'tag':_0x2aaf8c(0xc5),'attributes':{'class':['ck',_0x2aaf8c(0xc9)],'title':_0x544c75(_0x3bdaee,_0x37b781?_0x2aaf8c(0xbc):_0x2aaf8c(0xcc))},'children':[_0x3b989b,_0x2dc9df[_0x2aaf8c(0xd0)]]}];this[_0x2aaf8c(0xbf)]({'tag':'li','attributes':{'class':_0x45db9a},'children':_0x194d46});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x171452=_0xd761;(function(_0xf67283,_0x4d4859){const _0x3f9eb2=_0xd761,_0x3fd90d=_0xf67283();while(!![]){try{const _0x30cce2=-parseInt(_0x3f9eb2(0x200))/0x1+-parseInt(_0x3f9eb2(0x1e8))/0x2+parseInt(_0x3f9eb2(0x1fc))/0x3+parseInt(_0x3f9eb2(0x1eb))/0x4*(-parseInt(_0x3f9eb2(0x1fa))/0x5)+parseInt(_0x3f9eb2(0x1e9))/0x6+-parseInt(_0x3f9eb2(0x1ed))/0x7+parseInt(_0x3f9eb2(0x1f0))/0x8*(parseInt(_0x3f9eb2(0x1fe))/0x9);if(_0x30cce2===_0x4d4859)break;else _0x3fd90d['push'](_0x3fd90d['shift']());}catch(_0x288bba){_0x3fd90d['push'](_0x3fd90d['shift']());}}}(_0x5c8c,0xe1ebf));import{LabeledFieldView as _0x1a5551}from'ckeditor5/src/ui.js';function _0x5c8c(){const _0x36a217=['element','2181968ZDwqAl','_tooltipString','6136053coWKCx','ck-tooltip_multi-line','input','19856zmPCgO','value','fieldView','set','clientWidth','span','ck-revision-history-sidebar__revision-name','placeholder','Enter\x20the\x20revision\x20name','Revision\x20name','10jYCxya','extendTemplate','2032275SLfHgQ','destroy','14598qaMGSL','scrollWidth','1401326IULtYk','bindTemplate','_resizeObserver','listenTo','_updateTooltipText','render','2705980ChIsOM','5664150nHuSSb'];_0x5c8c=function(){return _0x36a217;};return _0x5c8c();}import{ResizeObserver as _0x583432}from'ckeditor5/src/utils.js';function _0xd761(_0x248cae,_0x24ce1e){const _0x5c8c6e=_0x5c8c();return _0xd761=function(_0xd76154,_0x342a8c){_0xd76154=_0xd76154-0x1e5;let _0x5e2682=_0x5c8c6e[_0xd76154];return _0x5e2682;},_0xd761(_0x248cae,_0x24ce1e);}import{getTranslation as _0x35df21}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export class RevisionNameView extends _0x1a5551{[_0x171452(0x202)]=null;constructor(_0x2e587b,_0x164f06){const _0xe76995=_0x171452;super(_0x2e587b,_0x164f06);const _0x1d70e4=this[_0xe76995(0x201)];this[_0xe76995(0x1f3)]({'label':_0x35df21(_0x2e587b,_0xe76995(0x1f9)),'_tooltipString':''}),this[_0xe76995(0x1f2)][_0xe76995(0x1f7)]=_0x35df21(_0x2e587b,_0xe76995(0x1f8)),this[_0xe76995(0x1fb)]({'tag':_0xe76995(0x1f5),'attributes':{'class':[_0xe76995(0x1f6)],'data-cke-tooltip-text':_0x1d70e4['to'](_0xe76995(0x1ec)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0xe76995(0x1ee)}});}[_0x171452(0x1e7)](){const _0xf3b140=_0x171452;super[_0xf3b140(0x1e7)](),this[_0xf3b140(0x202)]=new _0x583432(this[_0xf3b140(0x1f2)][_0xf3b140(0x1ea)],()=>this[_0xf3b140(0x1e6)]()),this[_0xf3b140(0x1e5)](this[_0xf3b140(0x1f2)],_0xf3b140(0x1ef),()=>this[_0xf3b140(0x1e6)]());}[_0x171452(0x1fd)](){const _0x11b5d3=_0x171452;super[_0x11b5d3(0x1fd)](),this[_0x11b5d3(0x202)]&&this[_0x11b5d3(0x202)][_0x11b5d3(0x1fd)]();}[_0x171452(0x1e6)](){const _0x2c44ff=_0x171452,_0x57d739=this[_0x2c44ff(0x1f2)][_0x2c44ff(0x1ea)];this[_0x2c44ff(0x1ec)]=_0x57d739[_0x2c44ff(0x1ff)]>_0x57d739[_0x2c44ff(0x1f4)]&&_0x57d739[_0x2c44ff(0x1f1)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5d221b=_0x3522;(function(_0x3dd492,_0x123a5e){const _0x43b9cb=_0x3522,_0x59175e=_0x3dd492();while(!![]){try{const _0x7e4c56=-parseInt(_0x43b9cb(0x89))/0x1*(parseInt(_0x43b9cb(0x9e))/0x2)+parseInt(_0x43b9cb(0x93))/0x3+-parseInt(_0x43b9cb(0x8a))/0x4*(parseInt(_0x43b9cb(0x8c))/0x5)+parseInt(_0x43b9cb(0x75))/0x6+-parseInt(_0x43b9cb(0xa4))/0x7+parseInt(_0x43b9cb(0xac))/0x8+parseInt(_0x43b9cb(0x98))/0x9*(parseInt(_0x43b9cb(0xaa))/0xa);if(_0x7e4c56===_0x123a5e)break;else _0x59175e['push'](_0x59175e['shift']());}catch(_0x30b53e){_0x59175e['push'](_0x59175e['shift']());}}}(_0x44d9,0x4b300));import{View as _0x171378,createLabeledInputText as _0x242859}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x52b033}from'ckeditor5-collaboration/src/collaboration-core.js';import{RevisionNameView as _0xfc2dd4}from'./revisionnameview.js';import{RevisionAuthorView as _0x4191de}from'./revisionauthorview.js';function _0x3522(_0x4a604f,_0x7bd53a){const _0x44d991=_0x44d9();return _0x3522=function(_0x3522e1,_0x1b3d66){_0x3522e1=_0x3522e1-0x71;let _0x1d592f=_0x44d991[_0x3522e1];return _0x1d592f;},_0x3522(_0x4a604f,_0x7bd53a);}function _0x44d9(){const _0x5a9a05=['134424xlUDsK','filter','srcElement','map','highlight','extendTemplate','52540PDJXyb','deselect','from','listenTo','bindTemplate','ck-revision-history-sidebar__actions_dropdown_open','3451224Bctzxp','element','isSelected','ck-revision-history-sidebar__revision__controls-wrapper','span','fire','310wqnIOy','setTemplate','3297568JrSUVE','isConfirm','render','_requireRevisionName','isActionsDropdownOpen','ck-revision-history-sidebar__revision','change','ck-revision-history-sidebar__revision-authors','uiLanguage','name','1381428BPffeI','fieldView','createdAt','ck-reset','select','creator','div','ck-revision-history-sidebar__revision_selected','closest','length','ck-revision-history-sidebar__revision__date','set','220','setName','revisionNameView','ck-revision-history-sidebar__revision-wrapper','revisionActionsView','ck-disabled','authors','isReady','2gRulZE','108kwTCZK','_createdAtFormatted','76795MmTpMk','unhighlight','bind','_revision','.ck-thread__remove-confirm','isHighlighted','isEnabled','488349RImrZF','value','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','unshift','ck-revision-history-sidebar__revision_highlighted'];_0x44d9=function(){return _0x5a9a05;};return _0x44d9();}import{dateToPrettyFormat as _0x3c86a8}from'./utils.js';import{createActionsDropdownView as _0x465d6b}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export class RevisionView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x52b033(_0x171378){['id'];[_0x5d221b(0x83)];[_0x5d221b(0x85)];[_0x5d221b(0x8f)];[_0x5d221b(0xaf)];constructor(_0x33eecc,_0x1e14de,_0x217f64,_0x47687c){const _0x12e069=_0x5d221b;super(_0x33eecc);const _0x1ab32f=this[_0x12e069(0xa2)],_0x5db190=function(_0x2d9024,_0xd89c01){const _0x39cc0f=_0x12e069,_0x2a4ffa=Array[_0x39cc0f(0xa0)](_0xd89c01[_0x39cc0f(0x87)])[_0x39cc0f(0x99)](_0x204f49=>_0x204f49!=_0xd89c01[_0x39cc0f(0x7a)]);return _0xd89c01[_0x39cc0f(0x7a)]&&_0x2a4ffa[_0x39cc0f(0x96)](_0xd89c01[_0x39cc0f(0x7a)]),_0x2a4ffa[_0x39cc0f(0x9b)](_0x4e2f90=>new _0x4191de(_0x2d9024,_0x4e2f90,_0x4e2f90==_0xd89c01[_0x39cc0f(0x7a)]));}(_0x33eecc,_0x1e14de);this['id']=_0x1e14de['id'],this[_0x12e069(0x8f)]=_0x1e14de,this[_0x12e069(0xaf)]=_0x47687c,this[_0x12e069(0x8e)](_0x12e069(0x74),_0x12e069(0x77))['to'](_0x1e14de),this[_0x12e069(0x8e)](_0x12e069(0x8b))['to'](this,_0x12e069(0x77),_0x5d0e16=>_0x3c86a8(_0x33eecc[_0x12e069(0x73)],_0x5d0e16)),this[_0x12e069(0x80)](_0x12e069(0xa6),!0x1),this[_0x12e069(0x80)](_0x12e069(0x91),!0x1),this[_0x12e069(0x80)](_0x12e069(0xb0),!0x1),this[_0x12e069(0x80)](_0x12e069(0x88),!0x1),this[_0x12e069(0x80)](_0x12e069(0x92),!0x1),this[_0x12e069(0x83)]=new _0xfc2dd4(_0x33eecc,_0x242859),this[_0x12e069(0x83)][_0x12e069(0x76)][_0x12e069(0x9d)]({'attributes':{'maxlength':_0x12e069(0x81)}}),this[_0x12e069(0x83)][_0x12e069(0x76)][_0x12e069(0x8e)](_0x12e069(0x94))['to'](this,_0x12e069(0x74),_0x3f0032=>_0x3f0032||this[_0x12e069(0x8b)]),this[_0x12e069(0x83)][_0x12e069(0x8e)](_0x12e069(0x92))['to'](this,_0x12e069(0xa6),this,_0x12e069(0x92),(_0x46c3b2,_0x4f2064)=>_0x46c3b2&&_0x4f2064),this[_0x12e069(0x85)]=_0x217f64&&_0x217f64[_0x12e069(0x7e)]?_0x465d6b(this,_0x217f64):'',this[_0x12e069(0x85)]&&this[_0x12e069(0x85)][_0x12e069(0x8e)](_0x12e069(0x92))['to'](this),this[_0x12e069(0xab)]({'tag':_0x12e069(0x7b),'attributes':{'class':['ck',_0x12e069(0x78),_0x12e069(0x84),_0x1ab32f['if'](_0x12e069(0xad),_0x12e069(0x95))]},'children':[{'tag':_0x12e069(0x7b),'attributes':{'class':['ck',_0x12e069(0x78),_0x12e069(0xb1),_0x1ab32f['if'](_0x12e069(0x92),_0x12e069(0x86),_0x527e5b=>!_0x527e5b),_0x1ab32f['if'](_0x12e069(0xa6),_0x12e069(0x7c)),_0x1ab32f['if'](_0x12e069(0x91),_0x12e069(0x97)),_0x1ab32f['if'](_0x12e069(0xb0),_0x12e069(0xa3))]},'children':[this[_0x12e069(0x83)],{'tag':_0x12e069(0xa8),'attributes':{'class':['ck',_0x12e069(0x7f)]},'children':[{'text':_0x1ab32f['to'](_0x12e069(0x8b))}]},{'tag':_0x12e069(0x7b),'attributes':{'class':['ck',_0x12e069(0xa7)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x12e069(0x72)]},'children':_0x5db190}]},this[_0x12e069(0x85)]],'on':{'click':_0x1ab32f['to'](_0xb4b0f0=>{const _0x4f8478=_0x12e069;_0xb4b0f0[_0x4f8478(0x9a)][_0x4f8478(0x7d)](_0x4f8478(0x90))||this[_0x4f8478(0x88)]&&this[_0x4f8478(0x92)]&&this[_0x4f8478(0xa9)](_0x4f8478(0x79),{'id':this['id']});})}}]});}[_0x5d221b(0xae)](){const _0x2c0afa=_0x5d221b;super[_0x2c0afa(0xae)]();const _0x5881f2=this[_0x2c0afa(0x83)][_0x2c0afa(0x76)][_0x2c0afa(0xa5)];this[_0x2c0afa(0xa1)](_0x5881f2,_0x2c0afa(0x71),()=>{const _0x144283=_0x2c0afa;this[_0x144283(0xaf)]&&!_0x5881f2[_0x144283(0x94)]||this[_0x144283(0xa9)](_0x144283(0x82),{'id':this['id'],'name':_0x5881f2[_0x144283(0x94)]}),_0x5881f2[_0x144283(0x94)]||(_0x5881f2[_0x144283(0x94)]=this[_0x144283(0x74)]?this[_0x144283(0x74)]:this[_0x144283(0x8b)]);});}[_0x5d221b(0x79)](){const _0x2f9117=_0x5d221b;this[_0x2f9117(0xa6)]=!0x0;}[_0x5d221b(0x9f)](){const _0x59968e=_0x5d221b;this[_0x59968e(0xa6)]=!0x1;}[_0x5d221b(0x9c)](){const _0x26ac62=_0x5d221b;this[_0x26ac62(0x91)]=!0x0;}[_0x5d221b(0x8d)](){const _0x532805=_0x5d221b;this[_0x532805(0x91)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40ec57=_0x54e0;(function(_0x45f3e6,_0x370b1f){const _0x13ca7c=_0x54e0,_0x5f6110=_0x45f3e6();while(!![]){try{const _0x2b2052=parseInt(_0x13ca7c(0x180))/0x1*(parseInt(_0x13ca7c(0x17f))/0x2)+parseInt(_0x13ca7c(0x187))/0x3*(-parseInt(_0x13ca7c(0x17a))/0x4)+-parseInt(_0x13ca7c(0x183))/0x5+parseInt(_0x13ca7c(0x175))/0x6+parseInt(_0x13ca7c(0x189))/0x7*(-parseInt(_0x13ca7c(0x18a))/0x8)+parseInt(_0x13ca7c(0x17c))/0x9*(-parseInt(_0x13ca7c(0x174))/0xa)+parseInt(_0x13ca7c(0x181))/0xb;if(_0x2b2052===_0x370b1f)break;else _0x5f6110['push'](_0x5f6110['shift']());}catch(_0x2ca73c){_0x5f6110['push'](_0x5f6110['shift']());}}}(_0x3a3a,0x8ca60));import{View as _0x43e607}from'ckeditor5/src/ui.js';function _0x54e0(_0x5ed853,_0x493d5e){const _0x3a3ab6=_0x3a3a();return _0x54e0=function(_0x54e0e2,_0x27a695){_0x54e0e2=_0x54e0e2-0x171;let _0x4b401a=_0x3a3ab6[_0x54e0e2];return _0x4b401a;},_0x54e0(_0x5ed853,_0x493d5e);}import'../../../theme/revision/subrevisioncollapser.css';export class SubrevisionCollapserView extends _0x43e607{constructor(_0x5b5922){const _0x3f6c53=_0x54e0;super(_0x5b5922);const _0x3fd9ed=this[_0x3f6c53(0x179)];this[_0x3f6c53(0x178)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x3f6c53(0x17e)]({'tag':_0x3f6c53(0x188),'attributes':{'class':['ck',_0x3f6c53(0x182),_0x3fd9ed['if'](_0x3f6c53(0x176),_0x3f6c53(0x177),_0x1aa2f7=>!_0x1aa2f7),_0x3fd9ed['if'](_0x3f6c53(0x173),_0x3f6c53(0x17d))],'role':_0x3f6c53(0x186),'aria-pressed':_0x3fd9ed['to'](_0x3f6c53(0x173),_0x546a27=>_0x546a27?_0x3f6c53(0x172):_0x3f6c53(0x184))},'children':[{'tag':_0x3f6c53(0x188),'attributes':{'class':['ck',_0x3f6c53(0x171)]}}],'on':{'click':_0x3fd9ed['to'](_0x3f6c53(0x17b))}});}[_0x40ec57(0x185)](){const _0x49f378=_0x40ec57;this[_0x49f378(0x173)]=!this[_0x49f378(0x173)];}}function _0x3a3a(){const _0x3819de=['17773VZQdud','2168wJjXvw','ck-revision-history-sidebar__subrevision-collapser__inner','false','_isCollapsed','6310KXJGUa','5547126UzBjXe','isVisible','ck-hidden','set','bindTemplate','4DMruGA','click','2133WGpndY','ck-revision-history-sidebar__subrevision-collapser_collapsed','setTemplate','4mJCsfM','6671uCGSxj','14916627jGxUlk','ck-revision-history-sidebar__subrevision-collapser','1942880daYuNQ','true','toggle','button','1474896rsXBqh','span'];_0x3a3a=function(){return _0x3819de;};return _0x3a3a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17f5a4=_0x2976;(function(_0x1bea30,_0x5e9935){const _0xba5a0c=_0x2976,_0x55a3bb=_0x1bea30();while(!![]){try{const _0x46de22=-parseInt(_0xba5a0c(0x11c))/0x1*(-parseInt(_0xba5a0c(0x134))/0x2)+-parseInt(_0xba5a0c(0x11b))/0x3*(-parseInt(_0xba5a0c(0x11d))/0x4)+-parseInt(_0xba5a0c(0x120))/0x5+parseInt(_0xba5a0c(0x131))/0x6*(-parseInt(_0xba5a0c(0x11a))/0x7)+-parseInt(_0xba5a0c(0x133))/0x8+-parseInt(_0xba5a0c(0x125))/0x9*(parseInt(_0xba5a0c(0x11e))/0xa)+parseInt(_0xba5a0c(0x124))/0xb;if(_0x46de22===_0x5e9935)break;else _0x55a3bb['push'](_0x55a3bb['shift']());}catch(_0x142c65){_0x55a3bb['push'](_0x55a3bb['shift']());}}}(_0x5aa1,0x8045c));import{View as _0x18994a}from'ckeditor5/src/ui.js';function _0x2976(_0x528a5c,_0x4c7aa6){const _0x5aa17d=_0x5aa1();return _0x2976=function(_0x297663,_0x38ed42){_0x297663=_0x297663-0x118;let _0x28aeb1=_0x5aa17d[_0x297663];return _0x28aeb1;},_0x2976(_0x528a5c,_0x4c7aa6);}import{RevisionAuthorView as _0x1b70b2}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x51cac3}from'./utils.js';import'../../../theme/revision/subrevision.css';export class SubrevisionView extends _0x18994a{['id'];[_0x17f5a4(0x137)];constructor(_0x25413b,_0xbbd62b,_0x31a4d4){const _0x1e6688=_0x17f5a4;super(_0x25413b);const _0x4ff069=this[_0x1e6688(0x118)];this['id']=_0xbbd62b['id'],this[_0x1e6688(0x12c)](_0x1e6688(0x11f))['to'](_0xbbd62b),this[_0x1e6688(0x12f)](_0x1e6688(0x126),!0x1),this[_0x1e6688(0x12c)](_0x1e6688(0x122))['to'](this,_0x1e6688(0x11f),_0x53ec15=>_0x53ec15?_0x51cac3(_0x25413b[_0x1e6688(0x119)],_0x53ec15):void 0x0),this[_0x1e6688(0x137)]=_0x31a4d4,this[_0x1e6688(0x130)]({'tag':_0x1e6688(0x135),'attributes':{'class':['ck',_0x1e6688(0x12d),_0x1e6688(0x121),_0x1e6688(0x132),_0x4ff069['if'](_0x1e6688(0x126),_0x1e6688(0x136))]},'children':[{'tag':_0x1e6688(0x129),'attributes':{'class':['ck',_0x1e6688(0x12a)]},'children':[{'text':_0x4ff069['to'](_0x1e6688(0x122))}]},{'tag':'ul','attributes':{'class':['ck',_0x1e6688(0x12b)]},'children':[new _0x1b70b2(_0x25413b,_0xbbd62b[_0x1e6688(0x128)],!0x0)]}],'on':{'click':_0x4ff069['to'](this[_0x1e6688(0x12e)][_0x1e6688(0x12c)](this))}});}[_0x17f5a4(0x12e)](){const _0xf273f4=_0x17f5a4;this[_0xf273f4(0x126)]=!0x0,this[_0xf273f4(0x127)](_0xf273f4(0x12e),{'parentId':this[_0xf273f4(0x137)]});}[_0x17f5a4(0x123)](){const _0x416a03=_0x17f5a4;this[_0x416a03(0x126)]=!0x1;}}function _0x5aa1(){const _0x2b59ef=['ck-revision-history-sidebar__revision_selected','_parentRevisionId','bindTemplate','uiLanguage','1407TwPNiY','1679523LesgOi','4079xEMEne','4HOREHc','10pSxuPE','createdAt','854765PMxJxc','ck-revision-history-sidebar__revision','_createdAtFormatted','deselect','10108142wRyWwN','2595438xudLLS','isSelected','fire','creator','span','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision-authors','bind','ck-reset','select','set','setTemplate','15306dZrIgX','ck-revision-history-sidebar__subrevision','3733392NanFkE','238mrFJHe','div'];_0x5aa1=function(){return _0x2b59ef;};return _0x5aa1();}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x42354e,_0x59d4e1){var _0x13b608=_0x25c5,_0x271f0f=_0x42354e();while(!![]){try{var _0x3a215b=parseInt(_0x13b608(0x12f))/0x1*(-parseInt(_0x13b608(0x127))/0x2)+parseInt(_0x13b608(0x121))/0x3*(parseInt(_0x13b608(0x12d))/0x4)+parseInt(_0x13b608(0x126))/0x5+-parseInt(_0x13b608(0x128))/0x6*(-parseInt(_0x13b608(0x125))/0x7)+-parseInt(_0x13b608(0x123))/0x8*(-parseInt(_0x13b608(0x12b))/0x9)+-parseInt(_0x13b608(0x129))/0xa+parseInt(_0x13b608(0x12a))/0xb;if(_0x3a215b===_0x59d4e1)break;else _0x271f0f['push'](_0x271f0f['shift']());}catch(_0x3b5be2){_0x271f0f['push'](_0x271f0f['shift']());}}}(_0x2fdd,0x2ff37));export function dateToPrettyFormat(_0x94799c,_0x26edbc){var _0x93fb2d=_0x25c5;return _0x26edbc[_0x93fb2d(0x12e)](_0x94799c,{'month':_0x93fb2d(0x12c),'day':_0x93fb2d(0x122)})+',\x20'+_0x26edbc[_0x93fb2d(0x124)](_0x94799c,{'hour':_0x93fb2d(0x122),'minute':_0x93fb2d(0x122)});}function _0x25c5(_0x230117,_0x1c5c44){var _0x2fdd35=_0x2fdd();return _0x25c5=function(_0x25c590,_0x225d6c){_0x25c590=_0x25c590-0x121;var _0x4726a0=_0x2fdd35[_0x25c590];return _0x4726a0;},_0x25c5(_0x230117,_0x1c5c44);}function _0x2fdd(){var _0x248caf=['3dcOcxr','numeric','18064jwuwad','toLocaleTimeString','308LRyfSY','693130ClCIqJ','8282aDwVKE','17856VqelwU','3132980SBOeLR','1383525EXynIB','846BCXUMp','long','817604uzTGyk','toLocaleDateString','73oIyXOw'];_0x2fdd=function(){return _0x248caf;};return _0x2fdd();}
|