@ckeditor/ckeditor5-revision-history 44.3.0-alpha.0 → 44.3.0-alpha.1
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 +6 -6
- 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/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 +10 -10
- 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.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +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 +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x9afac4=_0x515e;(function(_0x3c9382,_0x5f0d3b){const _0x3fd5da=_0x515e,_0x2008f9=_0x3c9382();while(!![]){try{const _0x26a94b=-parseInt(_0x3fd5da(0x1b1))/0x1*(parseInt(_0x3fd5da(0x1e3))/0x2)+parseInt(_0x3fd5da(0x1cf))/0x3+-parseInt(_0x3fd5da(0x26c))/0x4+parseInt(_0x3fd5da(0x1ae))/0x5+-parseInt(_0x3fd5da(0x298))/0x6*(parseInt(_0x3fd5da(0x1e1))/0x7)+parseInt(_0x3fd5da(0x198))/0x8+parseInt(_0x3fd5da(0x231))/0x9;if(_0x26a94b===_0x5f0d3b)break;else _0x2008f9['push'](_0x2008f9['shift']());}catch(_0x4155d9){_0x2008f9['push'](_0x2008f9['shift']());}}}(_0x300b,0x4b542));import{Plugin as _0xb52177,Command as _0x23d57a}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x41230c}from'ckeditor5/src/utils.js';function _0x515e(_0x1ff19f,_0x1fd011){const _0x300b2a=_0x300b();return _0x515e=function(_0x515eb4,_0x31762f){_0x515eb4=_0x515eb4-0x158;let _0x43e358=_0x300b2a[_0x515eb4];return _0x43e358;},_0x515e(_0x1ff19f,_0x1fd011);}import{ContextualBalloon as _0x474337}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x4981ba,Element as _0x5987ce,Text as _0x24c9f9,ViewDocumentFragment as _0x3ca811,ViewText as _0x4e80ac,ViewElement as _0xf7220b,ViewContainerElement as _0x34f5c9,ViewAttributeElement as _0x31ff22,ViewEmptyElement as _0x129ea7,ViewRawElement as _0x560d44,ViewUIElement as _0x347601}from'ckeditor5/src/engine.js';import{Users as _0x261bfc,getMarkerDomElement as _0x167adb}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x276f63 from'./ui/revisionviewer/changedetailsview.js';import _0x58d334 from'./revisionsrepository.js';import _0x650fcd from'./changeitem.js';import{default as _0x418751}from'./revisiondiff.js';import'../theme/revisionviewer.css';function _0x300b(){const _0x4ecc71=['change:isEnabled','vid_end','stop','filter','_initInteractions','isEqual','startsWith','includes','data-revision-','deletions','ck-suggestion-marker','getRevisionData','unbindElementFromMarkerName','enableReadOnlyMode','ck-editor__editable__overlay','find','remove','observeMarkers','_revisions','init','setAttribute','diffData','indexOf','element','ck-suggestion-preview-marker','toViewPosition','selection','repository','_activeViewTarget','modelRange','_refreshStartEndIndex','isIncorrect','data-change-id','bind','_markMismatchedRemovedTags','_makeTape','editor','activeChange','nextPosition','length','isContent','start','_processTape','revision-comment:','backward','children','userId','469536mpSsRD','default','ck-suggestion-preview-marker-','previousPosition','addMarker:revision-suggestion:insertion','upcast','listenTo','revision-start','revision-suggestion','_removeUnsupportedChanges','_cleanUp','processor','getRoot','newRevisionId','view','getRootNames','bottom','isRemoved','execute','ck-revision-history-root-add','map','createAttributeElement','findIndex','top','nextSibling','isCollapsed','_changeIdToChange','elementStart','createPositionFromPath','document','revisionHistory','markerName','pluginName','attachChange','insert','toViewElement','isRemoveSuggestion','_markInsertions','add','mapper','_removeRevisionMarkers','concat','dataToMarker','markersStart','30qOWWoh','left','_getChangeFromId','affectsData','endIndex','insertion','range','catch','numberOfChanges','isEnabled','hasAttribute','locale','ck-revision-history-root--active','bindElementToMarker','addRoot','isAddSuggestion','addRevisionData','return','unshift','createUIElement','data','revision','suggestion:','restoreRevisionCallback','oldRevisionId','isObject','reconvertMarker','startIndex','updatePosition','forEach','offsetSize','revisionHistoryLabel','suggestion','highest','toModel','revision-suggestion:','sort','change:activeChange','isAdded','resolve','loadRevisionData','revision:','config','commands','vid','-new','_appendChild','isAfter','isBlock','comment','parent','refresh','test','_data','requires','push','_setConversion','isAttached','toData','addMarker:revision','useFillerType','changes','showNextChange','createRangeIn','enqueueChange','isNavigationMode','model','isOnRoot','forward','authors','_makeModelFromViewString','ck-revision-history-root-','downcastDispatcher','_makeModelFromTape','next','slice','clear','consumable','type','distance','_findChangeIdFromDomTarget','1080752XOeBPW','vid_start','plugins','markerRange','side','item','end','for','shift','RevisionsRepository','domEvent','_sortAndFilterDiffChanges','forceDisabled','element:pre','roots','split','collaboration.channelId','deletion','addMarker:revision-suggestion:deletion','removeMarker:revision-suggestion','done','_changeView','508375XvOQZI','_setChanges','conversion','133871jgtDjw','getClientRects','attributesBefore','toViewRange','ck-suggestion-marker-','createRange','_joinTapes','abs','removeClass','removeAttribute','nodeAfter','softBreak','compare','target','level','maxOffset','removeMarker','ck-revision-history-root-remove','dataDowncast','isBefore','markersEnd','string','error','_update','revision-end','splice','RevisionViewer','ck-suggestion-marker-split','getLaterVisibleRevision','change:isReady','26961fvqojL','mapViewToDom','addHighlight','createRevision','writer','isReady','get','from','rootName','getAttributes','isSuggestion','_getViewObj','insertions','all','getRevision','consume','_getDiff','elementEnd','150451MdGNgO','diff','8bQqoHO','isAtStart','getWalker','span','destroy','code','adapter','_getRevisionsRange','showStack','_balloon','markerToHighlight','editingDowncast','mousedown','_markSuggestions','merge','getRevisionRootsAttributes','elementToAttribute','changeId','domConverter','getItems','set','delete','change','revision-viewer','addRevision','markerToData','keys','object','getCustomProperty','_cleanMarkers','uiElement','hasClass','addClass','flat','pop','low','markerNameToElements','high','getAttribute','_threeWayMerge','currentChangeNumber','_setDistance','isAtEnd','removeMarker:revision','getChild','attributesAfter','change:activeView','has','viewItem','values','mouseover','ck-suggestion-marker--active','createPositionBefore','getIndex','isOfficialPlugin','markers','parse','isInline','POSITIVE_INFINITY','checkAttribute','_getViewForChange','WidgetToolbarRepository','schema','activeView','ck-suggestion-marker-merge','marked','getDomRoot','revisionHistoryAttachChange','isLimit','isPremiumPlugin','_removeMissingPairs','_step','change:numberOfChanges','name','first','text','detachRoot','pairId','7408107fCYAHN','index','wrap','editing','attribute:vid','right','_fixObsoleteTags','_markMarkers','attributes','then','showPreviousChange','restoreRevision'];_0x300b=function(){return _0x4ecc71;};return _0x300b();}import{cloneDeep as _0x55efc5}from'lodash-es';const Y={'c':_0x34f5c9,'a':_0x31ff22,'e':_0x129ea7,'r':_0x560d44,'u':_0x347601};export default class d extends _0xb52177{static get[_0x9afac4(0x28c)](){const _0x24305a=_0x9afac4;return _0x24305a(0x1cb);}static get[_0x9afac4(0x219)](){return!0x0;}static get[_0x9afac4(0x228)](){return!0x0;}static get[_0x9afac4(0x17d)](){return[_0x261bfc,_0x474337,_0x58d334];}constructor(_0x12d2f0){const _0x1ac13e=_0x9afac4;super(_0x12d2f0),this[_0x1ac13e(0x258)]=this[_0x1ac13e(0x261)][_0x1ac13e(0x19a)][_0x1ac13e(0x1d5)](_0x1ac13e(0x1a1)),this[_0x1ac13e(0x1f7)](_0x1ac13e(0x262),null),this[_0x1ac13e(0x1f7)](_0x1ac13e(0x222),null),this[_0x1ac13e(0x259)]=null,this[_0x1ac13e(0x1f7)](_0x1ac13e(0x1e2),null),this[_0x1ac13e(0x1f7)](_0x1ac13e(0x1d4),!0x1),this[_0x1ac13e(0x1f7)](_0x1ac13e(0x2a1),!0x0),this['on'](_0x1ac13e(0x23d),(_0x2d5e93,_0x39d7e8,_0x1737c0)=>{const _0x105ce0=_0x1ac13e;this[_0x105ce0(0x262)]=null,this[_0x105ce0(0x222)]=null,this[_0x105ce0(0x261)][_0x105ce0(0x234)][_0x105ce0(0x27a)][_0x105ce0(0x1f9)](_0x23f424=>{const _0x1aa98d=_0x105ce0;for(const _0x3b76eb of this[_0x1aa98d(0x261)][_0x1aa98d(0x234)][_0x1aa98d(0x27a)][_0x1aa98d(0x289)][_0x1aa98d(0x1a6)])_0x1737c0?_0x23f424[_0x1aa98d(0x1b9)](_0x1aa98d(0x24b),_0x3b76eb):_0x23f424[_0x1aa98d(0x203)](_0x1aa98d(0x24b),_0x3b76eb);});}),this[_0x1ac13e(0x25e)](_0x1ac13e(0x188))['to'](this,_0x1ac13e(0x262),_0x503e51=>null!==_0x503e51),this[_0x1ac13e(0x25e)](_0x1ac13e(0x20b))['to'](this,_0x1ac13e(0x1d4),this,_0x1ac13e(0x1e2),this,_0x1ac13e(0x262),(_0x2aa130,_0x5a39ad,_0x16ecd8)=>_0x2aa130&&_0x16ecd8?_0x5a39ad[_0x1ac13e(0x184)][_0x1ac13e(0x218)](_0x16ecd8):0x0),this[_0x1ac13e(0x25e)](_0x1ac13e(0x2a0))['to'](this,_0x1ac13e(0x1d4),this,_0x1ac13e(0x1e2),(_0x5e5b27,_0x176155)=>_0x5e5b27?_0x176155[_0x1ac13e(0x184)][_0x1ac13e(0x264)]:0x0),this[_0x1ac13e(0x1ad)]=null,this[_0x1ac13e(0x286)]=new Map(),this[_0x1ac13e(0x1e9)]=null,this[_0x1ac13e(0x1ec)]=this[_0x1ac13e(0x261)][_0x1ac13e(0x19a)][_0x1ac13e(0x1d5)](_0x474337);}[_0x9afac4(0x250)](){const _0x3898e7=_0x9afac4,_0x480d22=this[_0x3898e7(0x261)],_0x1b8faf=new ShowChangeCommand(_0x480d22,{'direction':_0x3898e7(0x269)}),_0xf5569f=new ShowChangeCommand(_0x480d22,{'direction':_0x3898e7(0x18b)});(_0x480d22[_0x3898e7(0x172)][_0x3898e7(0x292)](_0x3898e7(0x23b),_0x1b8faf),_0x480d22[_0x3898e7(0x172)][_0x3898e7(0x292)](_0x3898e7(0x185),_0xf5569f),_0x480d22[_0x3898e7(0x172)][_0x3898e7(0x292)](_0x3898e7(0x23c),new RestoreRevisionCommand(_0x480d22)),this['on'](_0x3898e7(0x22b),()=>{const _0x454092=_0x3898e7;_0x1b8faf[_0x454092(0x17a)](),_0xf5569f[_0x454092(0x17a)]();}),this[_0x3898e7(0x17f)](),this[_0x3898e7(0x241)](),_0x480d22[_0x3898e7(0x24a)](_0x3898e7(0x1fa)),_0x480d22[_0x3898e7(0x19a)][_0x3898e7(0x212)](_0x3898e7(0x220)))&&_0x480d22[_0x3898e7(0x19a)][_0x3898e7(0x1d5)](_0x3898e7(0x220))[_0x3898e7(0x1a4)](_0x3898e7(0x1fa));}async[_0x9afac4(0x248)](_0x28adf4){const _0x3973aa=_0x9afac4;await this[_0x3973aa(0x16f)](_0x28adf4);const _0xce57c3={};for(const _0x58e9d0 in _0x28adf4[_0x3973aa(0x252)]){if(_0x28adf4[_0x3973aa(0x252)][_0x58e9d0][_0x3973aa(0x28d)]&&!_0x28adf4[_0x3973aa(0x252)][_0x58e9d0][_0x3973aa(0x28d)][_0x3973aa(0x180)])continue;const _0x579bd9=this[_0x3973aa(0x294)](JSON[_0x3973aa(0x21b)](_0x28adf4[_0x3973aa(0x252)][_0x58e9d0][_0x3973aa(0x1db)])),_0x19be59=this[_0x3973aa(0x261)][_0x3973aa(0x234)][_0x3973aa(0x27a)][_0x3973aa(0x289)],_0x462475=new _0x3ca811(_0x19be59,_0x579bd9[_0x3973aa(0x280)](_0x53e3ce=>this[_0x3973aa(0x1da)](_0x53e3ce)));this[_0x3973aa(0x261)][_0x3973aa(0x15b)][_0x3973aa(0x277)][_0x3973aa(0x183)](_0x3973aa(0x224)),_0xce57c3[_0x58e9d0]=this[_0x3973aa(0x261)][_0x3973aa(0x15b)][_0x3973aa(0x277)][_0x3973aa(0x181)](_0x462475),this[_0x3973aa(0x261)][_0x3973aa(0x15b)][_0x3973aa(0x277)][_0x3973aa(0x183)](_0x3973aa(0x26d));}return _0xce57c3;}async[_0x9afac4(0x1f2)](_0x37d565){const _0x1de7ea=_0x9afac4;await this[_0x1de7ea(0x16f)](_0x37d565);const _0x24d79e={};for(const _0x4c714b in _0x37d565[_0x1de7ea(0x252)])_0x37d565[_0x1de7ea(0x252)][_0x4c714b][_0x1de7ea(0x28d)]&&!_0x37d565[_0x1de7ea(0x252)][_0x4c714b][_0x1de7ea(0x28d)][_0x1de7ea(0x180)]||(_0x24d79e[_0x4c714b]=_0x37d565[_0x1de7ea(0x252)][_0x4c714b][_0x1de7ea(0x210)]||{});return _0x24d79e;}[_0x9afac4(0x294)](_0x3ea62a){const _0x4cf058=_0x9afac4;return(_0x3ea62a=_0x3ea62a[_0x4cf058(0x240)](_0x41117f=>!_0x41117f[_0x4cf058(0x22c)]||_0x4cf058(0x273)!==_0x41117f[_0x4cf058(0x22c)]&&_0x4cf058(0x1c9)!==_0x41117f[_0x4cf058(0x22c)]))[_0x4cf058(0x164)](_0x126213=>{const _0x156be8=_0x4cf058;_0x156be8(0x1c6)!=typeof _0x126213&&(_0x126213[_0x156be8(0x26a)]=this[_0x156be8(0x294)](_0x126213[_0x156be8(0x26a)]),_0x126213[_0x156be8(0x239)]=_0x126213[_0x156be8(0x239)][_0x156be8(0x240)](_0x3bb1bc=>!_0x3bb1bc[0x0][_0x156be8(0x243)](_0x156be8(0x245))));}),_0x3ea62a;}async[_0x9afac4(0x1bd)](_0x353384,_0x305471,_0x5d3d85=!0x1){const _0x36bb61=_0x9afac4;if(!this[_0x36bb61(0x2a1)])return;const _0x533d29=this[_0x36bb61(0x1e2)],_0x59bd56=this[_0x36bb61(0x258)],_0x5d4296=_0x36bb61(0x1c6)==typeof _0x353384?_0x59bd56[_0x36bb61(0x1dd)](_0x353384):_0x353384,_0x4fc50b=_0x36bb61(0x1c6)==typeof _0x305471?_0x59bd56[_0x36bb61(0x1dd)](_0x305471):_0x305471,_0x1d5233=_0x5d4296['id'],_0xbe2e21=_0x4fc50b?_0x4fc50b['id']:null;if(!_0x5d3d85&&this[_0x36bb61(0x1e2)]&&this[_0x36bb61(0x1e2)][_0x36bb61(0x279)]===_0x1d5233&&this[_0x36bb61(0x1e2)][_0x36bb61(0x15f)]===_0xbe2e21)return Promise[_0x36bb61(0x16e)]();this[_0x36bb61(0x1d4)]=!0x1,this[_0x36bb61(0x222)]=null,this[_0x36bb61(0x262)]=null,this[_0x36bb61(0x1e2)]=new _0x418751(_0x1d5233,_0xbe2e21);const _0x530b00=this[_0x36bb61(0x1ea)](_0x5d4296,_0x4fc50b,!0x0)[_0x36bb61(0x280)](_0x368269=>this[_0x36bb61(0x16f)](_0x368269));return _0x530b00[_0x36bb61(0x17e)](new Promise(_0x32cd4a=>{setTimeout(_0x32cd4a,0x14);})),Promise[_0x36bb61(0x1dc)](_0x530b00)[_0x36bb61(0x23a)](()=>{const _0x7f1b72=_0x36bb61;if(!this[_0x7f1b72(0x2a1)])return;this[_0x7f1b72(0x276)]();const _0x49d331=this[_0x7f1b72(0x1df)](_0x1d5233,_0xbe2e21);for(const _0x488535 of _0x49d331[_0x7f1b72(0x184)])this[_0x7f1b72(0x286)][_0x7f1b72(0x1f7)](_0x488535['id'],_0x488535);this[_0x7f1b72(0x261)][_0x7f1b72(0x189)][_0x7f1b72(0x187)]({'isUndoable':!0x1},_0x49b363=>{const _0x336714=_0x7f1b72;for(const _0x22dd10 of this[_0x336714(0x261)][_0x336714(0x189)][_0x336714(0x289)][_0x336714(0x27b)]())_0x49b363[_0x336714(0x22f)](_0x22dd10);for(const _0x4993ad of Object[_0x336714(0x1fd)](_0x49d331[_0x336714(0x189)])){const _0x35c39b=_0x49b363[_0x336714(0x2a6)](_0x4993ad);for(const _0x104bdf of Object[_0x336714(0x1fd)](_0x49d331[_0x336714(0x239)][_0x4993ad]))_0x49b363[_0x336714(0x251)](_0x104bdf,_0x49d331[_0x336714(0x239)][_0x4993ad][_0x104bdf],_0x35c39b);_0x49b363[_0x336714(0x28e)](_0x49d331[_0x336714(0x189)][_0x4993ad],_0x35c39b,0x0);}}),this[_0x7f1b72(0x1e2)][_0x7f1b72(0x1af)](this[_0x7f1b72(0x1a3)](_0x49d331[_0x7f1b72(0x184)])),this[_0x7f1b72(0x1d4)]=!0x0;})[_0x36bb61(0x29f)](_0x52b0e6=>{const _0x45bd7b=_0x36bb61;console[_0x45bd7b(0x1c7)](_0x52b0e6),this[_0x45bd7b(0x276)](),_0x533d29&&(this[_0x45bd7b(0x1e2)]=_0x533d29),this[_0x45bd7b(0x1d4)]=!0x0;});}[_0x9afac4(0x2a8)](_0x9ebddb,_0x288f8f){const _0x3fbb22=_0x9afac4,_0x14285a=this[_0x3fbb22(0x258)][_0x3fbb22(0x1d2)](_0x9ebddb);return _0x14285a['on'](_0x3fbb22(0x1c8),(_0x403569,_0x172de1,_0x5f2519)=>_0x288f8f(_0x172de1,_0x5f2519,_0x14285a)),this[_0x3fbb22(0x258)][_0x3fbb22(0x1fb)](_0x14285a),_0x14285a;}[_0x9afac4(0x16f)](_0x43a529){const _0x665b6a=_0x9afac4;if(!_0x43a529||_0x43a529[_0x665b6a(0x252)])return Promise[_0x665b6a(0x16e)]();{const _0x1d3f55=this[_0x665b6a(0x261)][_0x665b6a(0x171)][_0x665b6a(0x1d5)](_0x665b6a(0x1a8));return this[_0x665b6a(0x1e9)][_0x665b6a(0x1dd)]({'channelId':_0x1d3f55,'revisionId':_0x43a529['id']})[_0x665b6a(0x23a)](_0x54d46d=>{const _0x40f945=_0x665b6a;_0x43a529[_0x40f945(0x1c8)]({'diffData':_0x54d46d[_0x40f945(0x252)]},!0x0);});}}[_0x9afac4(0x276)](){const _0x57c7a7=_0x9afac4;this[_0x57c7a7(0x262)]=null,this[_0x57c7a7(0x200)](),this[_0x57c7a7(0x1ad)]&&this[_0x57c7a7(0x1ad)][_0x57c7a7(0x1e7)](),this[_0x57c7a7(0x1ad)]=null,this[_0x57c7a7(0x286)][_0x57c7a7(0x193)](),this[_0x57c7a7(0x261)][_0x57c7a7(0x189)][_0x57c7a7(0x187)]({'isUndoable':!0x1},_0x2e4a36=>{const _0xb2dfe1=_0x57c7a7;for(const _0x53f941 of this[_0xb2dfe1(0x261)][_0xb2dfe1(0x189)][_0xb2dfe1(0x289)][_0xb2dfe1(0x27b)]())_0x2e4a36[_0xb2dfe1(0x22f)](_0x53f941);});}[_0x9afac4(0x1a3)](_0x1e0f9f){const _0x3e4de1=_0x9afac4,_0x1b466c=[],_0x2d9adf=new Map();for(const _0x45de87 of this[_0x3e4de1(0x261)][_0x3e4de1(0x189)][_0x3e4de1(0x289)][_0x3e4de1(0x27b)]()){const _0x2ee505=this[_0x3e4de1(0x261)][_0x3e4de1(0x234)][_0x3e4de1(0x27a)][_0x3e4de1(0x225)](_0x45de87);if(!_0x2ee505)continue;const _0x536df6=_0x2ee505[_0x3e4de1(0x1b2)]()[_0x3e4de1(0x19d)](0x0);_0x536df6&&(_0x1b466c[_0x3e4de1(0x17e)](_0x45de87),_0x2d9adf[_0x3e4de1(0x1f7)](_0x45de87,_0x536df6));}return _0x1b466c[_0x3e4de1(0x16b)]((_0x223653,_0x51f474)=>{const _0x2a1768=_0x3e4de1,_0x3bc279=_0x2d9adf[_0x2a1768(0x1d5)](_0x223653),_0x2d6a5c=_0x2d9adf[_0x2a1768(0x1d5)](_0x51f474);return _0x3bc279['y']-_0x2d6a5c['y']||_0x3bc279['x']-_0x2d6a5c['x'];}),(_0x1e0f9f=_0x1e0f9f[_0x3e4de1(0x240)](_0x1cf6ba=>_0x1b466c[_0x3e4de1(0x244)](_0x1cf6ba[_0x3e4de1(0x1d7)])))[_0x3e4de1(0x16b)]((_0x3c40c8,_0x15df8c)=>_0x1b466c[_0x3e4de1(0x253)](_0x3c40c8[_0x3e4de1(0x1d7)])-_0x1b466c[_0x3e4de1(0x253)](_0x15df8c[_0x3e4de1(0x1d7)])),_0x1e0f9f;}[_0x9afac4(0x260)](_0x3ec2b2){const _0x1a31d1=_0x9afac4,_0x35bb8c=Array[_0x1a31d1(0x1d6)](_0x3ec2b2[_0x1a31d1(0x21a)])[_0x1a31d1(0x240)](([_0x24e5bf,_0xf9e9b7])=>_0x24e5bf[_0x1a31d1(0x243)](_0x1a31d1(0x170))&&!_0xf9e9b7[_0x1a31d1(0x285)]),_0x471414=Array[_0x1a31d1(0x1d6)](this[_0x1a31d1(0x261)][_0x1a31d1(0x189)][_0x1a31d1(0x186)](_0x3ec2b2)[_0x1a31d1(0x1e5)]({'singleCharacters':!0x0}));if(0x0!=_0x35bb8c[_0x1a31d1(0x264)])for(const _0x196c02 of _0x471414){const [_0x45cd0e,_0x5bf597]=_0x35bb8c[0x0],[,_0x43afd6,_0x26de46]=_0x45cd0e[_0x1a31d1(0x1a7)](':');if(_0x5bf597[_0x1a31d1(0x19e)][_0x1a31d1(0x242)](_0x196c02[_0x1a31d1(0x263)])&&_0x35bb8c[_0x1a31d1(0x1a0)](),(_0x196c02[_0x1a31d1(0x26f)][_0x1a31d1(0x242)](_0x5bf597[_0x1a31d1(0x266)])||_0x196c02[_0x1a31d1(0x26f)][_0x1a31d1(0x176)](_0x5bf597[_0x1a31d1(0x266)]))&&(_0x1a31d1(0x29d)==_0x43afd6?_0x196c02[_0x1a31d1(0x16d)]={'userId':_0x26de46}:_0x1a31d1(0x1a9)==_0x43afd6&&(_0x196c02[_0x1a31d1(0x27d)]={'userId':_0x26de46})),0x0==_0x35bb8c[_0x1a31d1(0x264)])break;}return _0x471414;}[_0x9afac4(0x25b)](_0x440654){const _0x439ae8=_0x9afac4,_0x254e59=new Map();for(let _0x4c1a4c=0x0;_0x4c1a4c<_0x440654[_0x439ae8(0x264)];_0x4c1a4c++)_0x439ae8(0x22e)===_0x440654[_0x4c1a4c][_0x439ae8(0x195)]?(_0x440654[_0x4c1a4c][_0x439ae8(0x19d)][_0x439ae8(0x162)]=_0x4c1a4c,_0x440654[_0x4c1a4c][_0x439ae8(0x19d)][_0x439ae8(0x29c)]=_0x4c1a4c):(_0x439ae8(0x287)===_0x440654[_0x4c1a4c][_0x439ae8(0x195)]?_0x440654[_0x4c1a4c][_0x439ae8(0x19d)][_0x439ae8(0x162)]=_0x4c1a4c:_0x439ae8(0x1e0)===_0x440654[_0x4c1a4c][_0x439ae8(0x195)]&&(_0x440654[_0x4c1a4c][_0x439ae8(0x19d)][_0x439ae8(0x29c)]=_0x4c1a4c),_0x254e59[_0x439ae8(0x1f7)](_0x440654[_0x4c1a4c]['id'],_0x4c1a4c));for(const _0x11dd6a of _0x254e59[_0x439ae8(0x214)]())_0x439ae8(0x287)===_0x440654[_0x11dd6a][_0x439ae8(0x195)]?_0x440654[_0x11dd6a][_0x439ae8(0x19d)][_0x439ae8(0x29c)]=_0x254e59[_0x439ae8(0x1d5)](_0x440654[_0x11dd6a][_0x439ae8(0x230)]):_0x439ae8(0x1e0)===_0x440654[_0x11dd6a][_0x439ae8(0x195)]&&(_0x440654[_0x11dd6a][_0x439ae8(0x19d)][_0x439ae8(0x162)]=_0x254e59[_0x439ae8(0x1d5)](_0x440654[_0x11dd6a][_0x439ae8(0x230)]));}[_0x9afac4(0x267)](_0x2fb1fe){const _0x249734=_0x9afac4;for(let _0x282977=0x0;_0x282977<_0x2fb1fe[_0x249734(0x264)];_0x282977++){if(_0x249734(0x287)===_0x2fb1fe[_0x282977][_0x249734(0x195)])_0x2fb1fe[_0x282977][_0x249734(0x19d)][_0x249734(0x162)]=_0x282977;else{if(_0x249734(0x1e0)===_0x2fb1fe[_0x282977][_0x249734(0x195)]){_0x2fb1fe[_0x282977][_0x249734(0x19d)][_0x249734(0x29c)]=_0x282977;const _0x1d086c=_0x2fb1fe[_0x282977][_0x249734(0x19d)][_0x249734(0x162)];_0x2fb1fe[_0x1d086c][_0x249734(0x230)]=_0x2fb1fe[_0x282977]['id'],_0x2fb1fe[_0x282977][_0x249734(0x230)]=_0x2fb1fe[_0x1d086c]['id'];}else _0x2fb1fe[_0x282977][_0x249734(0x19d)][_0x249734(0x162)]=_0x282977,_0x2fb1fe[_0x282977][_0x249734(0x19d)][_0x249734(0x29c)]=_0x282977,_0x2fb1fe[_0x282977][_0x249734(0x230)]=null;}_0x2fb1fe[_0x282977][_0x249734(0x297)]||(_0x2fb1fe[_0x282977][_0x249734(0x297)]=[],_0x2fb1fe[_0x282977][_0x249734(0x1c5)]=[]);}}[_0x9afac4(0x291)](_0x479716,_0x44f150){const _0x410de0=_0x9afac4,_0x5cb8ce=_0x479716[_0x410de0(0x240)](_0x54fdf9=>!_0x54fdf9[_0x410de0(0x16d)]);for(let _0x4c666e=0x0;_0x4c666e<_0x44f150[_0x410de0(0x264)];_0x4c666e++)_0x44f150[_0x4c666e][_0x410de0(0x16d)]&&(_0x5cb8ce[_0x4c666e][_0x410de0(0x16d)]=_0x44f150[_0x4c666e][_0x410de0(0x16d)]);}[_0x9afac4(0x18d)](_0x5dfb75){const _0x1e7628=_0x9afac4,_0x46cc52=JSON[_0x1e7628(0x21b)](_0x5dfb75),_0x1beb61=this[_0x1e7628(0x261)][_0x1e7628(0x234)][_0x1e7628(0x27a)][_0x1e7628(0x289)],_0x3e55ea=new _0x3ca811(_0x1beb61,_0x46cc52[_0x1e7628(0x280)](_0x37c4ae=>this[_0x1e7628(0x1da)](_0x37c4ae)));return this[_0x1e7628(0x261)][_0x1e7628(0x15b)][_0x1e7628(0x169)](_0x3e55ea);}[_0x9afac4(0x1da)](_0x294da3){const _0x50d7dd=_0x9afac4,_0x1ca15d=this[_0x50d7dd(0x261)][_0x50d7dd(0x234)][_0x50d7dd(0x27a)][_0x50d7dd(0x289)];if(_0x50d7dd(0x1c6)==typeof _0x294da3)return new _0x4e80ac(_0x1ca15d,_0x294da3);{const _0x1610f9=_0x294da3[_0x50d7dd(0x26a)][_0x50d7dd(0x280)](_0x50e4e5=>this[_0x50d7dd(0x1da)](_0x50e4e5));return new(Y[_0x294da3[(_0x50d7dd(0x195))]]||_0xf7220b)(_0x1ca15d,_0x294da3[_0x50d7dd(0x22c)],_0x294da3[_0x50d7dd(0x239)],_0x1610f9);}}[_0x9afac4(0x1df)](_0x5b5580,_0x404fc7=null){const _0x52327d=_0x9afac4,_0x1eb2de=this[_0x52327d(0x258)][_0x52327d(0x1dd)](_0x5b5580),_0x264877=_0x404fc7?this[_0x52327d(0x258)][_0x52327d(0x1dd)](_0x404fc7):null,_0x4978da=this[_0x52327d(0x1ea)](_0x1eb2de,_0x264877),_0x12659=_0x4978da[_0x4978da[_0x52327d(0x264)]-0x1],_0x11efbd=new Map(),_0x2ae6b6={'model':{},'attributes':{},'changes':[]},_0x128ea5=new Set(),_0x46f8c6=new Map();for(let _0x7c60a9=_0x4978da[_0x52327d(0x264)]-0x1;_0x7c60a9>=0x0;_0x7c60a9--){const _0x25650a=_0x4978da[_0x7c60a9];for(const _0x2914d0 of Object[_0x52327d(0x1fd)](_0x25650a[_0x52327d(0x252)]))if(_0x25650a[_0x52327d(0x252)][_0x2914d0][_0x52327d(0x28d)]){const _0x2be9ba=_0x25650a[_0x52327d(0x252)][_0x2914d0][_0x52327d(0x28d)];_0x2be9ba[_0x52327d(0x180)]?(_0x128ea5[_0x52327d(0x292)](_0x2914d0),_0x46f8c6[_0x52327d(0x212)](_0x2914d0)&&_0x46f8c6[_0x52327d(0x1d5)](_0x2914d0)[_0x52327d(0x26b)]==_0x2be9ba[_0x52327d(0x26b)]?_0x46f8c6[_0x52327d(0x1f8)](_0x2914d0):_0x46f8c6[_0x52327d(0x1f7)](_0x2914d0,_0x2be9ba)):_0x46f8c6[_0x52327d(0x212)](_0x2914d0)?(_0x128ea5[_0x52327d(0x1f8)](_0x2914d0),_0x46f8c6[_0x52327d(0x1f8)](_0x2914d0)):(_0x128ea5[_0x52327d(0x292)](_0x2914d0),_0x46f8c6[_0x52327d(0x1f7)](_0x2914d0,_0x2be9ba));}else _0x128ea5[_0x52327d(0x292)](_0x2914d0);}for(const _0x2c3056 of _0x128ea5){const _0x4098be=_0x46f8c6[_0x52327d(0x212)](_0x2c3056)&&!_0x46f8c6[_0x52327d(0x1d5)](_0x2c3056)[_0x52327d(0x180)];let _0x3535a1=_0x4098be?_0x4978da[_0x52327d(0x264)]-0x1:0x0;const _0x1ce9d6=_0x4098be?-0x1:0x1;for(;_0x4978da[_0x3535a1];){const _0x418ff0=_0x4978da[_0x3535a1];if(_0x418ff0[_0x52327d(0x252)][_0x2c3056]){const _0x41d851=_0x4098be?_0x418ff0[_0x52327d(0x252)][_0x2c3056][_0x52327d(0x1b3)]:_0x418ff0[_0x52327d(0x252)][_0x2c3056][_0x52327d(0x210)];_0x2ae6b6[_0x52327d(0x239)][_0x2c3056]=_0x41d851?_0x55efc5(_0x41d851):{};break;}_0x3535a1+=_0x1ce9d6;}}for(const _0x4c39b0 of _0x4978da){_0x4c39b0[_0x52327d(0x189)]={};for(const _0x52543c of _0x4c39b0[_0x52327d(0x18c)])_0x11efbd[_0x52327d(0x1f7)](_0x52543c['id'],_0x52543c);for(const _0xa40acf of _0x128ea5){const _0x57e26c=_0x4c39b0[_0x52327d(0x252)][_0xa40acf]?_0x4c39b0[_0x52327d(0x252)][_0xa40acf][_0x52327d(0x1db)]:'[]',_0x39b578=_0x4c39b0[_0x52327d(0x252)][_0xa40acf]?_0x4c39b0[_0x52327d(0x252)][_0xa40acf][_0x52327d(0x246)]:'[]';_0x4c39b0[_0x52327d(0x189)][_0xa40acf]={'insertions':this[_0x52327d(0x18d)](_0x57e26c),'deletions':this[_0x52327d(0x18d)](_0x39b578)};}}for(const _0x555542 of _0x128ea5){let _0x5e9b93=null,_0x4b9ba0=0x0;const _0x54bf17=new Map(Array[_0x52327d(0x1d6)](_0x1eb2de[_0x52327d(0x189)][_0x555542][_0x52327d(0x1db)][_0x52327d(0x21a)])[_0x52327d(0x240)](([_0x4af11f])=>!_0x4af11f[_0x52327d(0x243)](_0x52327d(0x170))));let _0x4aa79c=0x0;for(const _0x113440 of _0x4978da){const _0x2dc7e8=this[_0x52327d(0x260)](_0x113440[_0x52327d(0x189)][_0x555542][_0x52327d(0x1db)]);_0x113440==_0x1eb2de?(_0x5e9b93=_0x2dc7e8,_0x4b9ba0=_0x5e9b93[_0x52327d(0x264)],_0x5e9b93[_0x52327d(0x164)](_0x271c67=>{_0x271c67['id']=_0x4aa79c++;}),this[_0x52327d(0x267)](_0x5e9b93)):this[_0x52327d(0x291)](_0x5e9b93,_0x2dc7e8);const _0x415a70=_0x5e9b93[_0x52327d(0x240)](_0x2f1921=>!_0x2f1921[_0x52327d(0x16d)])[_0x52327d(0x280)](_0x14ca5f=>_0x14ca5f['id']);let _0x25efa5=0x0;const _0x1de970=this[_0x52327d(0x260)](_0x113440[_0x52327d(0x189)][_0x555542][_0x52327d(0x246)]);_0x1de970[_0x52327d(0x164)](_0x3d26e3=>{const _0x3dd82a=_0x52327d;_0x3d26e3[_0x3dd82a(0x27d)]?_0x3d26e3['id']=_0x4b9ba0++:_0x3d26e3['id']=_0x415a70[_0x25efa5++];}),this[_0x52327d(0x267)](_0x1de970),this[_0x52327d(0x20c)](_0x5e9b93,_0x52327d(0x16d)),this[_0x52327d(0x20c)](_0x1de970,_0x52327d(0x27d)),_0x113440==_0x1eb2de&&this[_0x52327d(0x238)](_0x5e9b93,_0x54bf17),_0x5e9b93=this[_0x52327d(0x1b7)](_0x5e9b93,_0x1de970),this[_0x52327d(0x25b)](_0x5e9b93),this[_0x52327d(0x20c)](_0x5e9b93,_0x52327d(0x27d));}_0x5e9b93=_0x5e9b93[_0x52327d(0x240)](_0x2e9f5f=>!(_0x2e9f5f[_0x52327d(0x16d)]&&_0x2e9f5f[_0x52327d(0x27d)]));const _0x450a03=new Map(_0x12659[_0x52327d(0x189)][_0x555542][_0x52327d(0x246)][_0x52327d(0x21a)]),_0x18b30d=new Set(_0x54bf17[_0x52327d(0x1fd)]());for(const _0x509233 of _0x450a03[_0x52327d(0x1fd)]())_0x18b30d[_0x52327d(0x1f8)](_0x509233);this[_0x52327d(0x1f0)](_0x5e9b93,_0x18b30d),this[_0x52327d(0x237)](_0x5e9b93),_0x5e9b93=this[_0x52327d(0x229)](_0x5e9b93),_0x5e9b93=this[_0x52327d(0x25f)](_0x5e9b93),_0x5e9b93=this[_0x52327d(0x275)](_0x5e9b93);const {root:_0x5aaf25,changes:_0x13b7c9}=this[_0x52327d(0x190)](_0x5e9b93,_0x11efbd,_0x555542);_0x2ae6b6[_0x52327d(0x189)][_0x555542]=_0x5aaf25;const _0x32cf8f=_0x46f8c6[_0x52327d(0x1d5)](_0x555542);if(_0x32cf8f){const _0x417b1f=_0x11efbd[_0x52327d(0x1d5)](_0x32cf8f[_0x52327d(0x26b)]),_0x39a997=new _0x650fcd({'author':_0x417b1f,'type':_0x32cf8f[_0x52327d(0x180)]?_0x52327d(0x292):_0x52327d(0x24d),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x555542});_0x13b7c9[_0x52327d(0x159)](_0x39a997),_0x2ae6b6[_0x52327d(0x239)][_0x555542][_0x52327d(0x226)]=_0x39a997['id'];}_0x2ae6b6[_0x52327d(0x184)]=_0x2ae6b6[_0x52327d(0x184)][_0x52327d(0x295)](_0x13b7c9);}return _0x2ae6b6;}[_0x9afac4(0x238)](_0x28fc10,_0x13f05d){const _0x3268d7=_0x9afac4;for(let _0x2e8d49=0x0;_0x2e8d49<_0x28fc10[_0x3268d7(0x264)];_0x2e8d49++)for(const [_0x62395,_0x3bafd0]of _0x13f05d)_0x3bafd0[_0x3268d7(0x266)][_0x3268d7(0x242)](_0x28fc10[_0x2e8d49][_0x3268d7(0x26f)])&&_0x28fc10[_0x2e8d49][_0x3268d7(0x297)][_0x3268d7(0x17e)](_0x62395),_0x3bafd0[_0x3268d7(0x19e)][_0x3268d7(0x242)](_0x28fc10[_0x2e8d49][_0x3268d7(0x263)])&&_0x28fc10[_0x2e8d49][_0x3268d7(0x1c5)][_0x3268d7(0x17e)](_0x62395);}[_0x9afac4(0x1b7)](_0x2f1fee,_0x4f5d35){const _0x192d34=_0x9afac4;let _0x566931=[],_0x36df83=0x0,_0xf6357e=0x0;for(;_0x36df83<_0x2f1fee[_0x192d34(0x264)]||_0xf6357e<_0x4f5d35[_0x192d34(0x264)];){const _0x5f3995=_0x2f1fee[_0x36df83]||{},_0xb0ca50=_0x4f5d35[_0xf6357e]||{};if(_0x5f3995['id']==_0xb0ca50['id'])_0x36df83++,_0xf6357e++,_0x566931[_0x192d34(0x17e)](_0x5f3995);else{if(_0xb0ca50[_0x192d34(0x27d)]&&_0x5f3995[_0x192d34(0x16d)]){const {commonTape:_0x561319,iEnd:_0x21cc1e,jEnd:_0x3e10a}=this[_0x192d34(0x20a)](_0x2f1fee,_0x36df83,_0x4f5d35,_0xf6357e);_0x566931=_0x566931[_0x192d34(0x295)](_0x561319),_0x36df83=_0x21cc1e,_0xf6357e=_0x3e10a;}else _0xb0ca50[_0x192d34(0x27d)]?(_0xf6357e++,_0x566931[_0x192d34(0x17e)](_0xb0ca50)):(_0x36df83++,_0x566931[_0x192d34(0x17e)](_0x5f3995));}}return _0x566931;}[_0x9afac4(0x1f0)](_0x4eab17,_0x1f53e5){const _0x46895a=_0x9afac4,_0x1dc285=[];for(let _0x254404=0x0;_0x254404<_0x4eab17[_0x46895a(0x264)];_0x254404++){for(let _0x31b56f=0x0;_0x31b56f<_0x4eab17[_0x254404][_0x46895a(0x297)][_0x46895a(0x264)];_0x31b56f++){const _0x3b1155=_0x4eab17[_0x254404][_0x46895a(0x297)][_0x31b56f];if(!_0x1f53e5[_0x46895a(0x212)](_0x3b1155))continue;const {group:_0x25c9e9,type:_0x56d24c,authorId:_0x1fecbf}=_0x53adf0(_0x3b1155);_0x46895a(0x274)!=_0x25c9e9||_0x46895a(0x29d)!=_0x56d24c&&_0x46895a(0x1a9)!=_0x56d24c||(_0x1dc285[_0x46895a(0x159)]({'type':_0x56d24c,'name':_0x3b1155,'userId':_0x1fecbf}),_0x4eab17[_0x254404][_0x46895a(0x297)][_0x46895a(0x1ca)](_0x31b56f,0x1),_0x31b56f--);}_0x2748c1(_0x4eab17[_0x254404]);for(let _0xbbf620=0x0;_0xbbf620<_0x4eab17[_0x254404][_0x46895a(0x1c5)][_0x46895a(0x264)];_0xbbf620++){const _0x34463c=_0x4eab17[_0x254404][_0x46895a(0x1c5)][_0xbbf620];if(!_0x1f53e5[_0x46895a(0x212)](_0x34463c))continue;const {group:_0x3acd39,type:_0x253312}=_0x53adf0(_0x34463c);if(_0x46895a(0x274)!=_0x3acd39||_0x46895a(0x29d)!=_0x253312&&_0x46895a(0x1a9)!=_0x253312)continue;_0x4eab17[_0x254404][_0x46895a(0x1c5)][_0x46895a(0x1ca)](_0xbbf620,0x1),_0xbbf620--;const _0x1ef600=_0x1dc285[_0x46895a(0x282)](_0x463839=>_0x463839[_0x46895a(0x22c)]==_0x34463c);_0x1ef600>-0x1&&_0x1dc285[_0x46895a(0x1ca)](_0x1ef600,0x1);}}function _0x53adf0(_0x113cd){const _0x18ddd6=_0x46895a,_0x338d41=_0x113cd[_0x18ddd6(0x1a7)](':');return{'group':_0x338d41[0x0],'type':_0x338d41[0x1],'subType':_0x338d41[_0x18ddd6(0x264)]>=0x5?_0x338d41[0x2]:null,'id':_0x338d41[_0x18ddd6(0x264)]<0x5?_0x338d41[0x2]:_0x338d41[0x3],'authorId':_0x338d41[_0x18ddd6(0x264)]<0x5?_0x338d41[0x3]:_0x338d41[0x4],'markerCount':0x6==_0x338d41[_0x18ddd6(0x264)]?_0x338d41[0x5]:null};}function _0x2748c1(_0x350085){const _0xc6f8a3=_0x46895a;for(let _0x2bbce6=0x0;_0x2bbce6<_0x1dc285[_0xc6f8a3(0x264)];_0x2bbce6++){if(_0x350085[_0xc6f8a3(0x16d)]&&_0xc6f8a3(0x29d)==_0x1dc285[_0x2bbce6][_0xc6f8a3(0x195)])return _0x350085[_0xc6f8a3(0x2a7)]=_0x1dc285[_0x2bbce6],void delete _0x350085[_0xc6f8a3(0x16d)];if(!_0x350085[_0xc6f8a3(0x16d)]&&!_0x350085[_0xc6f8a3(0x27d)]&&_0xc6f8a3(0x1a9)==_0x1dc285[_0x2bbce6][_0xc6f8a3(0x195)])return void(_0x350085[_0xc6f8a3(0x290)]=_0x1dc285[_0x2bbce6]);}}}[_0x9afac4(0x20c)](_0x3e46f7,_0x567bf4){const _0x5a096c=_0x9afac4;let _0x2b9d31=0x0,_0x36c57a=!0x1;const _0x242bfa=new Map();for(const _0x3b7cad of _0x3e46f7)_0x3b7cad[_0x567bf4]?_0x36c57a&&(_0x2b9d31++,_0x36c57a=!0x1):(_0x2b9d31++,_0x36c57a=!0x0),_0x242bfa[_0x5a096c(0x1f7)](_0x3b7cad['id'],_0x2b9d31);for(let _0x4320ca=0x0;_0x4320ca<_0x3e46f7[_0x5a096c(0x264)];_0x4320ca++){if(_0x5a096c(0x27d)==_0x567bf4&&_0x3e46f7[_0x4320ca][_0x5a096c(0x16d)]||_0x5a096c(0x16d)==_0x567bf4&&_0x3e46f7[_0x4320ca][_0x5a096c(0x27d)])continue;if(_0x5a096c(0x22e)==_0x3e46f7[_0x4320ca][_0x5a096c(0x195)]){_0x3e46f7[_0x4320ca][_0x5a096c(0x196)]=0x0;continue;}const _0xfdf319=_0x242bfa[_0x5a096c(0x1d5)](_0x3e46f7[_0x4320ca][_0x5a096c(0x230)]),_0x1dc430=_0x242bfa[_0x5a096c(0x1d5)](_0x3e46f7[_0x4320ca]['id']);_0x3e46f7[_0x4320ca][_0x5a096c(0x196)]=_0xfdf319-_0x1dc430;}}[_0x9afac4(0x1ea)](_0x25c0c1,_0x5ef9e3,_0x44332a=!0x1){const _0xcb8dce=_0x9afac4,_0x237a7f=[];let _0x553c8b=this[_0xcb8dce(0x258)][_0xcb8dce(0x218)](_0x25c0c1),_0x1f1d1c=this[_0xcb8dce(0x258)][_0xcb8dce(0x218)](_0x5ef9e3);for(-0x1==_0x1f1d1c&&(_0x1f1d1c=this[_0xcb8dce(0x258)][_0xcb8dce(0x24f)][_0xcb8dce(0x264)],_0x44332a=!0x1);_0x553c8b<_0x1f1d1c;)_0x237a7f[_0xcb8dce(0x17e)](this[_0xcb8dce(0x258)][_0xcb8dce(0x1dd)](_0x553c8b)),_0x553c8b++;return _0x44332a&&_0x237a7f[_0xcb8dce(0x17e)](this[_0xcb8dce(0x258)][_0xcb8dce(0x1dd)](_0x553c8b)),_0x237a7f;}[_0x9afac4(0x20a)](_0xf5b398,_0x101356,_0x2bec8c,_0x5f2ac9){const _0x13d7b0=_0x9afac4,_0x4202e8=this[_0x13d7b0(0x261)][_0x13d7b0(0x189)][_0x13d7b0(0x221)];let _0x408f94=_0x101356;for(;_0xf5b398[_0x408f94]&&_0xf5b398[_0x408f94][_0x13d7b0(0x16d)];)_0x408f94++;let _0x3cb0da=_0x5f2ac9;for(;_0x2bec8c[_0x3cb0da]&&_0x2bec8c[_0x3cb0da][_0x13d7b0(0x27d)];)_0x3cb0da++;_0x5dae71(_0xf5b398,_0x101356,_0x408f94),_0x5dae71(_0x2bec8c,_0x5f2ac9,_0x3cb0da);const _0x278846=_0x2bec8c[_0x13d7b0(0x192)](_0x5f2ac9,_0x3cb0da)[_0x13d7b0(0x295)](_0xf5b398[_0x13d7b0(0x192)](_0x101356,_0x408f94));return _0x278846[_0x13d7b0(0x16b)]((_0x305744,_0x232efa)=>_0x305744[_0x13d7b0(0x19c)]!=_0x232efa[_0x13d7b0(0x19c)]?_0x305744[_0x13d7b0(0x19c)]-_0x232efa[_0x13d7b0(0x19c)]:_0x305744[_0x13d7b0(0x1bf)]!=_0x232efa[_0x13d7b0(0x1bf)]?_0x305744[_0x13d7b0(0x1bf)]-_0x232efa[_0x13d7b0(0x1bf)]:_0x305744[_0x13d7b0(0x196)]!=_0x232efa[_0x13d7b0(0x196)]?_0x232efa[_0x13d7b0(0x196)]-_0x305744[_0x13d7b0(0x196)]:!!_0x305744[_0x13d7b0(0x16d)]!=!!_0x232efa[_0x13d7b0(0x16d)]?-0x1==_0x305744[_0x13d7b0(0x19c)]||0x0==_0x305744[_0x13d7b0(0x19c)]?_0x305744[_0x13d7b0(0x16d)]?-0x1:0x1:_0x305744[_0x13d7b0(0x16d)]?0x1:-0x1:_0x305744[_0x13d7b0(0x232)]-_0x232efa[_0x13d7b0(0x232)]),{'commonTape':_0x278846,'iEnd':_0x408f94,'jEnd':_0x3cb0da};function _0x5dae71(_0x44378a,_0x34e776,_0x3d9462){const _0xd354ce=_0x13d7b0;let _0x3d72d5=-0x1,_0x2fde88=Number[_0xd354ce(0x21d)],_0x3b56b2=!0x0;for(let _0x4acef4=_0x34e776;_0x4acef4<_0x3d9462;_0x4acef4++)if(_0x4202e8[_0xd354ce(0x21c)](_0x44378a[_0x4acef4][_0xd354ce(0x19d)])||(_0x3b56b2=!0x1),_0x44378a[_0x4acef4][_0xd354ce(0x19d)][_0xd354ce(0x162)]<_0x34e776&&(_0x3d72d5=_0x4acef4),_0x44378a[_0x4acef4][_0xd354ce(0x19d)][_0xd354ce(0x29c)]>=_0x3d9462){_0x2fde88=_0x4acef4;break;}_0x3b56b2&&(_0x3d72d5=_0x3d9462-0x1);for(let _0x45372e=_0x34e776;_0x45372e<_0x3d9462;_0x45372e++)_0x44378a[_0x45372e][_0xd354ce(0x19c)]=_0x45372e<=_0x3d72d5?-0x1:_0x45372e<_0x2fde88?0x0:0x1,_0x44378a[_0x45372e][_0xd354ce(0x232)]=_0x45372e;let _0x14c7d3=0x0;for(let _0x12c685=_0x34e776;_0x12c685<=_0x3d72d5;_0x12c685++)0x0==_0x44378a[_0x12c685][_0xd354ce(0x196)]?_0x44378a[_0x12c685][_0xd354ce(0x1bf)]=_0x14c7d3:(_0x14c7d3++,_0x44378a[_0x12c685][_0xd354ce(0x1bf)]=_0x14c7d3,_0x14c7d3++);for(let _0x4fde6c=_0x34e776;_0x4fde6c<_0x3d9462;_0x4fde6c++)0x0==_0x44378a[_0x4fde6c][_0xd354ce(0x19c)]&&(_0x44378a[_0x4fde6c][_0xd354ce(0x1bf)]=_0x14c7d3);_0x14c7d3=0x0;for(let _0x225134=_0x3d9462-0x1;_0x225134>=_0x2fde88;_0x225134--)0x0==_0x44378a[_0x225134][_0xd354ce(0x196)]?_0x44378a[_0x225134][_0xd354ce(0x1bf)]=_0x14c7d3:(_0x14c7d3--,_0x44378a[_0x225134][_0xd354ce(0x1bf)]=_0x14c7d3,_0x14c7d3--);}}[_0x9afac4(0x237)](_0x535740){const _0x1544c7=_0x9afac4,_0x2f9b58=new Map(),_0x4dc1d0=this[_0x1544c7(0x261)][_0x1544c7(0x189)][_0x1544c7(0x221)];for(let _0x5190b7=0x1;_0x5190b7<_0x535740[_0x1544c7(0x264)];_0x5190b7++){let _0x57f59e,_0x32bc28,_0x11f5a6;const _0x469036=_0x535740[_0x5190b7],_0x365453=_0x535740[_0x5190b7-0x1];if(_0x1544c7(0x22e)==_0x469036[_0x1544c7(0x195)])continue;if(_0x469036[_0x1544c7(0x195)]!=_0x365453[_0x1544c7(0x195)])continue;if(!_0x4dc1d0[_0x1544c7(0x177)](_0x365453[_0x1544c7(0x19d)])||_0x4dc1d0[_0x1544c7(0x227)](_0x365453[_0x1544c7(0x19d)]))continue;if(!_0x4dc1d0[_0x1544c7(0x177)](_0x469036[_0x1544c7(0x19d)])||_0x4dc1d0[_0x1544c7(0x227)](_0x469036[_0x1544c7(0x19d)]))continue;if((_0x535740[_0x5190b7][_0x1544c7(0x16d)]||_0x535740[_0x5190b7][_0x1544c7(0x2a7)])&&_0x535740[_0x5190b7-0x1][_0x1544c7(0x27d)])_0x57f59e=_0x535740[_0x5190b7],_0x32bc28=_0x535740[_0x5190b7-0x1],_0x11f5a6=_0x5190b7-0x1;else{if(!_0x535740[_0x5190b7][_0x1544c7(0x27d)]||!_0x535740[_0x5190b7-0x1][_0x1544c7(0x16d)]&&!_0x535740[_0x5190b7-0x1][_0x1544c7(0x2a7)])continue;_0x57f59e=_0x535740[_0x5190b7-0x1],_0x32bc28=_0x535740[_0x5190b7],_0x11f5a6=_0x5190b7;}const _0x200069=_0x57f59e[_0x1544c7(0x1bf)]==_0x32bc28[_0x1544c7(0x1bf)],_0x3b46e3=Math[_0x1544c7(0x1b8)](_0x57f59e[_0x1544c7(0x1bf)])<Math[_0x1544c7(0x1b8)](_0x32bc28[_0x1544c7(0x1bf)])&&0x0==_0x32bc28[_0x1544c7(0x196)];(_0x200069||_0x3b46e3)&&(_0x2f9b58[_0x1544c7(0x1f7)](_0x32bc28['id'],_0x57f59e['id']),_0x535740[_0x1544c7(0x1ca)](_0x11f5a6,0x1),_0x5190b7--,_0x57f59e[_0x1544c7(0x16d)]=!0x1);}for(let _0x599747=0x0;_0x599747<_0x535740[_0x1544c7(0x264)];_0x599747++)_0x2f9b58[_0x1544c7(0x212)](_0x535740[_0x599747][_0x1544c7(0x230)])&&(_0x535740[_0x599747][_0x1544c7(0x230)]=_0x2f9b58[_0x1544c7(0x1d5)](_0x535740[_0x599747][_0x1544c7(0x230)]));}[_0x9afac4(0x229)](_0x362d14){const _0x247fb6=_0x9afac4,_0x4aa089=new Set(_0x362d14[_0x247fb6(0x280)](_0x46c545=>_0x46c545['id']));for(let _0x48da52=0x0;_0x48da52<_0x362d14[_0x247fb6(0x264)];_0x48da52++)_0x4aa089[_0x247fb6(0x212)](_0x362d14[_0x48da52][_0x247fb6(0x230)])||0x0==_0x362d14[_0x48da52][_0x247fb6(0x196)]||(_0x362d14[_0x48da52][_0x247fb6(0x25c)]=!0x0);return _0x362d14[_0x247fb6(0x240)](_0x54ee1c=>!_0x54ee1c[_0x247fb6(0x25c)]);}[_0x9afac4(0x25f)](_0x1931ff){const _0x5c35b2=_0x9afac4,_0x1892f6=new Set();for(let _0xb1a9f0=0x0;_0xb1a9f0<_0x1931ff[_0x5c35b2(0x264)];_0xb1a9f0++){if(_0x1892f6[_0x5c35b2(0x212)](_0x1931ff[_0xb1a9f0]['id'])&&_0x1931ff[_0xb1a9f0][_0x5c35b2(0x27d)]&&(_0x1931ff[_0xb1a9f0][_0x5c35b2(0x25c)]=!0x0),_0x1931ff[_0xb1a9f0][_0x5c35b2(0x25c)])continue;if(0x0==_0x1931ff[_0xb1a9f0][_0x5c35b2(0x196)])continue;if(_0x5c35b2(0x287)!=_0x1931ff[_0xb1a9f0][_0x5c35b2(0x195)])continue;if(null==_0x1931ff[_0xb1a9f0][_0x5c35b2(0x230)])continue;let _0x16fb7a=_0xb1a9f0+0x1,_0x1338b5=0x0;for(;_0x1931ff[_0x16fb7a]['id']!=_0x1931ff[_0xb1a9f0][_0x5c35b2(0x230)];)_0x5c35b2(0x287)==_0x1931ff[_0x16fb7a][_0x5c35b2(0x195)]?_0x1338b5++:_0x5c35b2(0x1e0)==_0x1931ff[_0x16fb7a][_0x5c35b2(0x195)]&&_0x1338b5--,_0x16fb7a++;if(0x0!=_0x1338b5){if(_0x1931ff[_0xb1a9f0][_0x5c35b2(0x27d)])_0x1931ff[_0xb1a9f0][_0x5c35b2(0x25c)]=!0x0;else{for(;_0x16fb7a!=_0xb1a9f0;)_0x1931ff[_0x16fb7a][_0x5c35b2(0x27d)]&&0x0!=_0x1931ff[_0x16fb7a][_0x5c35b2(0x196)]&&(_0x1931ff[_0x16fb7a][_0x5c35b2(0x25c)]=!0x0,_0x1892f6[_0x5c35b2(0x292)](_0x1931ff[_0x16fb7a][_0x5c35b2(0x230)])),_0x16fb7a--;}}}return _0x1931ff[_0x5c35b2(0x240)](_0x3f65bf=>!_0x3f65bf[_0x5c35b2(0x25c)]);}[_0x9afac4(0x275)](_0x2cd6a4){const _0x4832f8=_0x9afac4,_0xa81a0f=this[_0x4832f8(0x261)][_0x4832f8(0x189)][_0x4832f8(0x221)];for(let _0x5dda7a=0x0;_0x5dda7a<_0x2cd6a4[_0x4832f8(0x264)];_0x5dda7a++){if(!(_0x2cd6a4[_0x5dda7a][_0x4832f8(0x16d)]||_0x2cd6a4[_0x5dda7a][_0x4832f8(0x2a7)]||_0x2cd6a4[_0x5dda7a][_0x4832f8(0x27d)]||_0x2cd6a4[_0x5dda7a][_0x4832f8(0x290)]))continue;if(0x0==_0x2cd6a4[_0x5dda7a][_0x4832f8(0x196)])continue;const _0x290cb2=_0x2cd6a4[_0x5dda7a][_0x4832f8(0x19d)];_0xa81a0f[_0x4832f8(0x177)](_0x290cb2)||_0xa81a0f[_0x4832f8(0x227)](_0x290cb2)||(_0x2cd6a4[_0x5dda7a][_0x4832f8(0x16d)]&&delete _0x2cd6a4[_0x5dda7a][_0x4832f8(0x16d)],_0x2cd6a4[_0x5dda7a][_0x4832f8(0x2a7)]&&delete _0x2cd6a4[_0x5dda7a][_0x4832f8(0x2a7)],_0x2cd6a4[_0x5dda7a][_0x4832f8(0x290)]&&delete _0x2cd6a4[_0x5dda7a][_0x4832f8(0x290)],_0x2cd6a4[_0x5dda7a][_0x4832f8(0x27d)]&&(_0x2cd6a4[_0x5dda7a][_0x4832f8(0x25c)]=!0x0));}return _0x2cd6a4[_0x4832f8(0x240)](_0x58cf12=>!_0x58cf12[_0x4832f8(0x25c)]);}[_0x9afac4(0x190)](_0x32891d,_0x1b0c3e,_0x7b82d8){const _0x4847c4=_0x9afac4,_0x3f00ad=new _0x4981ba(),_0x52d9e2=[],_0x267f88=new Map(),_0x54cebb=this[_0x4847c4(0x261)][_0x4847c4(0x189)],_0x24c92b=_0x54cebb[_0x4847c4(0x221)],_0x1d8825=[_0x3f00ad],_0x3b9d88={},_0x54afdd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x182de9=null;const _0x2f0f0d=[0x0];for(let _0x4b560a=0x0;_0x4b560a<_0x32891d[_0x4847c4(0x264)];_0x4b560a++)if(_0x4847c4(0x287)===_0x32891d[_0x4b560a][_0x4847c4(0x195)]){_0x32891d[_0x4b560a][_0x4847c4(0x26f)]=_0x54cebb[_0x4847c4(0x288)](_0x3f00ad,_0x2f0f0d);const _0x2811c3=new _0x5987ce(_0x32891d[_0x4b560a][_0x4847c4(0x19d)][_0x4847c4(0x22c)],_0x32891d[_0x4b560a][_0x4847c4(0x19d)][_0x4847c4(0x1d8)]());_0x1d8825[0x0][_0x4847c4(0x175)](_0x2811c3),_0x2f0f0d[_0x4847c4(0x17e)](0x0),_0x1d8825[_0x4847c4(0x159)](_0x2811c3),_0x32891d[_0x4b560a][_0x4847c4(0x263)]=_0x54cebb[_0x4847c4(0x288)](_0x3f00ad,_0x2f0f0d);}else _0x4847c4(0x1e0)===_0x32891d[_0x4b560a][_0x4847c4(0x195)]?(_0x1d8825[_0x4847c4(0x1a0)](),_0x32891d[_0x4b560a][_0x4847c4(0x26f)]=_0x54cebb[_0x4847c4(0x288)](_0x3f00ad,_0x2f0f0d),_0x2f0f0d[_0x4847c4(0x205)](),_0x2f0f0d[_0x2f0f0d[_0x4847c4(0x264)]-0x1]++,_0x32891d[_0x4b560a][_0x4847c4(0x263)]=_0x54cebb[_0x4847c4(0x288)](_0x3f00ad,_0x2f0f0d)):(_0x32891d[_0x4b560a][_0x4847c4(0x26f)]=_0x54cebb[_0x4847c4(0x288)](_0x3f00ad,_0x2f0f0d),_0x182de9?_0x182de9[_0x4847c4(0x17c)]+=_0x32891d[_0x4b560a][_0x4847c4(0x19d)][_0x4847c4(0x15b)]:_0x182de9=new _0x24c9f9(_0x32891d[_0x4b560a][_0x4847c4(0x19d)][_0x4847c4(0x15b)],_0x32891d[_0x4b560a][_0x4847c4(0x19d)][_0x4847c4(0x1d8)]()),_0x32891d[_0x4b560a+0x1]&&_0x4847c4(0x22e)===_0x32891d[_0x4b560a+0x1][_0x4847c4(0x195)]&&_0x419cb6(_0x182de9,_0x32891d[_0x4b560a+0x1][_0x4847c4(0x19d)])||(_0x1d8825[0x0][_0x4847c4(0x175)](_0x182de9),_0x182de9=null),_0x2f0f0d[_0x2f0f0d[_0x4847c4(0x264)]-0x1]+=_0x32891d[_0x4b560a][_0x4847c4(0x19d)][_0x4847c4(0x165)],_0x32891d[_0x4b560a][_0x4847c4(0x263)]=_0x54cebb[_0x4847c4(0x288)](_0x3f00ad,_0x2f0f0d));for(let _0x3480b4=0x0;_0x3480b4<_0x32891d[_0x4847c4(0x264)];_0x3480b4++){const _0x26e76f=_0x32891d[_0x3480b4][_0x4847c4(0x26f)],_0x240667=_0x32891d[_0x3480b4][_0x4847c4(0x263)];for(const _0x892f16 of _0x32891d[_0x3480b4][_0x4847c4(0x297)])_0x267f88[_0x4847c4(0x1f7)](_0x892f16,{'start':_0x26e76f,'end':null});_0x4a225d(_0x4847c4(0x290),_0x3480b4,_0x26e76f,_0x240667),_0x4a225d(_0x4847c4(0x2a7),_0x3480b4,_0x26e76f,_0x240667),_0x4a225d(_0x4847c4(0x27d),_0x3480b4,_0x26e76f,_0x240667),_0x4a225d(_0x4847c4(0x16d),_0x3480b4,_0x26e76f,_0x240667);for(const _0x395bc4 of _0x32891d[_0x3480b4][_0x4847c4(0x1c5)]){_0x267f88[_0x4847c4(0x1d5)](_0x395bc4)[_0x4847c4(0x19e)]=_0x240667;}}for(const [_0x172616,_0x192dfe]of _0x267f88){const _0x3ad392=this[_0x4847c4(0x261)][_0x4847c4(0x189)][_0x4847c4(0x1b6)](_0x192dfe[_0x4847c4(0x266)],_0x192dfe[_0x4847c4(0x19e)]);_0x3f00ad[_0x4847c4(0x21a)][_0x4847c4(0x1f7)](_0x172616,_0x3ad392);}return _0x52d9e2[_0x4847c4(0x16b)]((_0x30fb4b,_0x29aa3e)=>{const _0x17ac4d=_0x4847c4,_0x346d94=_0x3f00ad[_0x17ac4d(0x21a)][_0x17ac4d(0x1d5)](_0x17ac4d(0x170)+_0x30fb4b['id']),_0x273bf8=_0x3f00ad[_0x17ac4d(0x21a)][_0x17ac4d(0x1d5)](_0x17ac4d(0x170)+_0x29aa3e['id']);return _0x346d94[_0x17ac4d(0x266)][_0x17ac4d(0x1c4)](_0x273bf8[_0x17ac4d(0x266)])?-0x1:_0x346d94[_0x17ac4d(0x266)][_0x17ac4d(0x176)](_0x273bf8[_0x17ac4d(0x266)])?0x1:_0x346d94[_0x17ac4d(0x19e)][_0x17ac4d(0x1c4)](_0x273bf8[_0x17ac4d(0x19e)])?-0x1:_0x346d94[_0x17ac4d(0x19e)][_0x17ac4d(0x176)](_0x273bf8[_0x17ac4d(0x19e)])?0x1:_0x17ac4d(0x292)===_0x30fb4b[_0x17ac4d(0x195)]?-0x1:0x1;}),{'root':_0x3f00ad,'changes':_0x52d9e2};function _0x4a225d(_0x304307,_0x531810,_0x272959,_0xba3ee4){const _0x197363=_0x4847c4,_0x49f380=!!_0x32891d[_0x531810][_0x304307],_0x59a779=_0x49f380?_0x32891d[_0x531810][_0x304307][_0x197363(0x26b)]:null,_0xf99ad7=_0x531810===_0x32891d[_0x197363(0x264)]-0x1,_0x2d9e0d=_0x54afdd[_0x304307][0x0],_0x4adc27=_0x24c92b[_0x197363(0x160)](_0x32891d[_0x531810][_0x197363(0x19d)]);!_0x3b9d88[_0x304307]&&_0x49f380?_0x3b9d88[_0x304307]={'start':_0x272959,'tapeItem':_0x32891d[_0x531810],'userId':_0x59a779,'type':_0x304307}:_0x3b9d88[_0x304307]&&!_0x49f380?(_0x3b9d88[_0x304307][_0x197363(0x19e)]=_0x272959,_0x485ed9(_0x3b9d88[_0x304307]),_0x3b9d88[_0x304307]=null):_0x3b9d88[_0x304307]&&_0x49f380&&_0x3b9d88[_0x304307][_0x197363(0x26b)]!==_0x59a779&&(_0x3b9d88[_0x304307][_0x197363(0x19e)]=_0x272959,_0x2d9e0d&&_0x2d9e0d[_0x197363(0x26b)]===_0x3b9d88[_0x304307][_0x197363(0x26b)]||_0x485ed9(_0x3b9d88[_0x304307]),_0x3b9d88[_0x304307]={'start':_0x272959,'tapeItem':_0x32891d[_0x531810],'userId':_0x59a779,'type':_0x304307}),_0x3b9d88[_0x304307]&&_0x4adc27&&(_0x197363(0x287)!==_0x32891d[_0x531810][_0x197363(0x195)]||_0x2d9e0d&&_0x2d9e0d[_0x197363(0x26b)]===_0x59a779||_0x54afdd[_0x304307][_0x197363(0x159)]({'userId':_0x59a779,'object':_0x32891d[_0x531810][_0x197363(0x19d)],'change':_0x3b9d88[_0x304307]}),_0x197363(0x1e0)===_0x32891d[_0x531810][_0x197363(0x195)]&&_0x2d9e0d&&_0x2d9e0d[_0x197363(0x1fe)]===_0x32891d[_0x531810][_0x197363(0x19d)]&&(_0x54afdd[_0x304307][_0x197363(0x1a0)](),_0x3b9d88[_0x304307]=_0x2d9e0d[_0x197363(0x1f9)])),_0x3b9d88[_0x304307]&&_0xf99ad7&&(_0x3b9d88[_0x304307][_0x197363(0x19e)]=_0xba3ee4,_0x485ed9(_0x3b9d88[_0x304307]),_0x3b9d88[_0x304307]=null);}function _0x485ed9({start:_0x2fbcd9,end:_0xec2985,tapeItem:_0x3545b4,userId:_0x11c380,type:_0x16e785}){const _0x79f1e=_0x4847c4,_0x545839=_0x3545b4[_0x79f1e(0x19d)],_0xe4a803=_0x54cebb[_0x79f1e(0x221)][_0x79f1e(0x177)](_0x545839)&&!_0x54cebb[_0x79f1e(0x221)][_0x79f1e(0x227)](_0x545839),_0x1e8646=_0x2fbcd9[_0x79f1e(0x1bb)]==_0xec2985[_0x79f1e(0x179)]&&_0xec2985[_0x79f1e(0x1e4)];if(_0xe4a803&&_0x1e8646)return;const _0x193464=_0x54cebb[_0x79f1e(0x1b6)](_0x2fbcd9,_0xec2985),_0xe7bb04=_0x1b0c3e[_0x79f1e(0x1d5)](_0x11c380),_0x40dba4=new _0x650fcd({'author':_0xe7bb04,'type':_0x79f1e(0x16d)==_0x16e785||_0x79f1e(0x2a7)==_0x16e785?_0x79f1e(0x292):_0x79f1e(0x24d),'data':{'isSuggestion':_0x79f1e(0x2a7)==_0x16e785||_0x79f1e(0x290)==_0x16e785},'createdAt':new Date(),'rootName':_0x7b82d8});_0x52d9e2[_0x79f1e(0x17e)](_0x40dba4),_0x3f00ad[_0x79f1e(0x21a)][_0x79f1e(0x1f7)](_0x79f1e(0x170)+_0x40dba4['id'],_0x193464);}function _0x419cb6(_0x46e268,_0xb43182){const _0x4972af=_0x4847c4,_0x591c71=_0x46e268[_0x4972af(0x1d8)](),_0x33db2d=_0xb43182[_0x4972af(0x1d8)]();for(const _0x4990b3 of _0x591c71){if(_0x4990b3[0x1]!==_0xb43182[_0x4972af(0x209)](_0x4990b3[0x0]))return!0x1;_0x33db2d[_0x4972af(0x191)]();}return _0x33db2d[_0x4972af(0x191)]()[_0x4972af(0x1ac)];}}[_0x9afac4(0x17f)](){const _0x548b10=_0x9afac4;this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x271))[_0x548b10(0x296)]({'view':_0x548b10(0x15c)}),this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x1ee))[_0x548b10(0x1ed)]({'model':_0x548b10(0x15c),'view':_0x58cc03=>{const _0x28bf44=_0x548b10,_0x1f1b53=_0x58cc03[_0x28bf44(0x28b)][_0x28bf44(0x1a7)](':')[0x1],_0x566f58=this[_0x28bf44(0x29a)](_0x1f1b53);if(!_0x566f58)return null;const _0x1df57b=_0x28bf44(0x292)==_0x566f58[_0x28bf44(0x195)]?_0x28bf44(0x29d):_0x28bf44(0x1a9),_0xaad6f9=[_0x28bf44(0x247),_0x28bf44(0x1b5)+_0x1df57b];return _0x566f58[_0x28bf44(0x15b)][_0x28bf44(0x1d9)]&&_0xaad6f9[_0x28bf44(0x17e)](_0x28bf44(0x1b5)+_0x1df57b+_0x28bf44(0x174)),this[_0x28bf44(0x262)]==_0x566f58&&_0xaad6f9[_0x28bf44(0x17e)](_0x28bf44(0x216)),{'classes':_0xaad6f9,'attributes':{'data-change-id':_0x1f1b53}};}}),this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x271))[_0x548b10(0x292)](_0x1e191e=>{const _0x27d45a=_0x548b10;_0x1e191e['on'](_0x27d45a(0x1a5),(_0x5262ee,_0x161b34,_0x2bea00)=>{const _0x3e1db8=_0x27d45a,_0x421940=_0x161b34[_0x3e1db8(0x213)][_0x3e1db8(0x20f)](0x0);if(!_0x421940||!_0x421940['is'](_0x3e1db8(0x254),_0x3e1db8(0x1e8)))return;if(!_0x2bea00[_0x3e1db8(0x194)][_0x3e1db8(0x1de)](_0x421940,{'attributes':[_0x3e1db8(0x199),_0x3e1db8(0x23e)]}))return;const _0x5822dc=_0x161b34[_0x3e1db8(0x25a)][_0x3e1db8(0x266)][_0x3e1db8(0x1bb)];_0x2bea00[_0x3e1db8(0x1d3)][_0x3e1db8(0x251)](_0x3e1db8(0x199),_0x421940[_0x3e1db8(0x209)](_0x3e1db8(0x199)),_0x5822dc),_0x2bea00[_0x3e1db8(0x1d3)][_0x3e1db8(0x251)](_0x3e1db8(0x23e),_0x421940[_0x3e1db8(0x209)](_0x3e1db8(0x23e)),_0x5822dc);},{'priority':_0x27d45a(0x206)});}),this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x271))[_0x548b10(0x292)](_0x2db7ab=>{const _0x47b68d=_0x548b10;_0x2db7ab['on'](_0x47b68d(0x254),(_0x2062bb,_0x793e01,_0x149b47)=>{const _0x1bb35b=_0x47b68d;if(!_0x149b47[_0x1bb35b(0x194)][_0x1bb35b(0x1de)](_0x793e01[_0x1bb35b(0x213)],{'attributes':[_0x1bb35b(0x199),_0x1bb35b(0x23e)]}))return;if(_0x793e01[_0x1bb35b(0x25a)][_0x1bb35b(0x285)])return;const _0x8833d8=_0x793e01[_0x1bb35b(0x25a)][_0x1bb35b(0x266)][_0x1bb35b(0x1bb)];_0x8833d8[_0x1bb35b(0x2a2)](_0x1bb35b(0x199))||_0x8833d8[_0x1bb35b(0x2a2)](_0x1bb35b(0x173))||(_0x149b47[_0x1bb35b(0x1d3)][_0x1bb35b(0x251)](_0x1bb35b(0x199),_0x793e01[_0x1bb35b(0x213)][_0x1bb35b(0x209)](_0x1bb35b(0x199)),_0x8833d8),_0x149b47[_0x1bb35b(0x1d3)][_0x1bb35b(0x251)](_0x1bb35b(0x23e),_0x793e01[_0x1bb35b(0x213)][_0x1bb35b(0x209)](_0x1bb35b(0x23e)),_0x8833d8));},{'priority':_0x47b68d(0x206)});}),this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x271))[_0x548b10(0x1f3)]({'view':{'name':_0x548b10(0x1e6),'attributes':{'vid':!0x0}},'model':{'key':_0x548b10(0x173),'value':_0x5373d2=>_0x5373d2[_0x548b10(0x209)](_0x548b10(0x173))}}),this[_0x548b10(0x261)][_0x548b10(0x189)][_0x548b10(0x221)]['on'](_0x548b10(0x21e),(_0x3cbf03,[,_0x2c8746])=>{const _0x561a46=_0x548b10;[_0x561a46(0x199),_0x561a46(0x23e),_0x561a46(0x173)][_0x561a46(0x244)](_0x2c8746)&&(_0x3cbf03[_0x561a46(0x158)]=!0x0,_0x3cbf03[_0x561a46(0x23f)]());},{'priority':_0x548b10(0x168)}),this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x1c3))[_0x548b10(0x292)](_0x522b05=>{const _0x5b0526=_0x548b10;_0x522b05['on'](_0x5b0526(0x235),(_0x3ec3d3,_0x2455c4,_0x55f180)=>{const _0x78ed87=_0x5b0526;if('\x20'!=_0x2455c4[_0x78ed87(0x19d)][_0x78ed87(0x15b)]||_0x2455c4[_0x78ed87(0x19d)][_0x78ed87(0x179)][_0x78ed87(0x1c0)]>0x1)return;if(!_0x55f180[_0x78ed87(0x194)][_0x78ed87(0x1de)](_0x2455c4[_0x78ed87(0x19d)],_0x3ec3d3[_0x78ed87(0x22c)]))return;const _0x1d1f0d=_0x55f180[_0x78ed87(0x1d3)],_0x3bb7fb=_0x55f180[_0x78ed87(0x293)][_0x78ed87(0x1b4)](_0x2455c4[_0x78ed87(0x29e)]);_0x1d1f0d[_0x78ed87(0x233)](_0x3bb7fb,_0x1d1f0d[_0x78ed87(0x281)](_0x78ed87(0x1e6)));});}),this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x1c3))[_0x548b10(0x1fc)]({'model':_0x548b10(0x15c)}),this[_0x548b10(0x261)][_0x548b10(0x234)][_0x548b10(0x18f)]['on'](_0x548b10(0x182),function(_0x3dec37){const _0xa2ceab=_0x548b10,_0x1a8927=_0x3dec37[_0xa2ceab(0x19a)][_0xa2ceab(0x1d5)](_0xa2ceab(0x1cb));return(_0xa47d12,_0x44c0fe,_0x473f26)=>{const _0x179494=_0xa2ceab,_0x1c0478=_0x44c0fe[_0x179494(0x28b)][_0x179494(0x1a7)](':')[0x1],_0x1b6b30=_0x1a8927[_0x179494(0x29a)](_0x1c0478);if(!_0x1b6b30)return null;const _0x1c4bc=_0x179494(0x292)==_0x1b6b30[_0x179494(0x195)]?_0x179494(0x1a7):_0x179494(0x1f1);if(!_0x473f26[_0x179494(0x194)][_0x179494(0x17b)](_0x44c0fe[_0x179494(0x19b)],_0xa47d12[_0x179494(0x22c)]))return;const _0x1b2215=_0x44c0fe[_0x179494(0x19b)][_0x179494(0x1e5)](),_0x399995=_0x44c0fe[_0x179494(0x19b)][_0x179494(0x266)],_0x323718=_0x3dec37[_0x179494(0x189)][_0x179494(0x221)];let _0x22efad=null,_0x172510=null,_0x37f209=!0x1,_0x4197ca=!0x1;for(const _0x4e84a5 of _0x1b2215){const _0x44c4fc=_0x4e84a5[_0x179494(0x19d)];_0x37f209=_0x37f209||_0x323718[_0x179494(0x265)](_0x44c4fc);const _0x52c029=_0x473f26[_0x179494(0x293)][_0x179494(0x28f)](_0x44c4fc);if(_0x52c029&&_0x52c029[_0x179494(0x1ff)](_0x179494(0x1d1)))return;_0x179494(0x1e0)==_0x4e84a5[_0x179494(0x195)]&&(_0x323718[_0x179494(0x177)](_0x44c4fc)&&!_0x323718[_0x179494(0x227)](_0x44c4fc)&&(_0x44c4fc[_0x179494(0x284)]||_0x399995[_0x179494(0x20d)]?_0x22efad&&_0x22efad[_0x179494(0x179)]==_0x44c4fc||(_0x22efad=_0x44c4fc,_0x41df30(_0x4e84a5[_0x179494(0x26f)]),_0x4197ca=!0x0):_0x172510=_0x172510||_0x4e84a5[_0x179494(0x26f)]));}function _0x41df30(_0x53c752){const _0x276795=_0x179494,_0x2ed845=_0x473f26[_0x276795(0x1d3)][_0x276795(0x15a)](_0x276795(0x1e6),{'class':_0x276795(0x1b5)+_0x1c4bc}),_0x2c4ad8=_0x473f26[_0x276795(0x293)][_0x276795(0x256)](_0x53c752);_0x1b6b30[_0x276795(0x15b)][_0x276795(0x1d9)]&&_0x473f26[_0x276795(0x1d3)][_0x276795(0x203)](_0x276795(0x1b5)+_0x1c4bc+_0x276795(0x174),_0x2ed845),_0x1a8927[_0x276795(0x262)]==_0x1b6b30&&_0x473f26[_0x276795(0x1d3)][_0x276795(0x203)](_0x276795(0x216),_0x2ed845),_0x473f26[_0x276795(0x1d3)][_0x276795(0x28e)](_0x2c4ad8,_0x2ed845),_0x473f26[_0x276795(0x293)][_0x276795(0x2a5)](_0x2ed845,_0x44c0fe[_0x276795(0x28b)]);}_0x37f209||_0x4197ca||!_0x172510||_0x41df30(_0x172510);};}(this[_0x548b10(0x261)]),{'priority':_0x548b10(0x208)}),this[_0x548b10(0x261)][_0x548b10(0x234)][_0x548b10(0x18f)]['on'](_0x548b10(0x20e),(_0x15b305,_0x5b6fb5,_0x2ba346)=>{const _0x48ed86=_0x548b10,_0x5013bf=_0x2ba346[_0x48ed86(0x293)][_0x48ed86(0x207)](_0x5b6fb5[_0x48ed86(0x28b)]);if(_0x5013bf){for(const _0x2bf913 of _0x5013bf)(_0x2bf913[_0x48ed86(0x202)](_0x48ed86(0x1cc))||_0x2bf913[_0x48ed86(0x202)](_0x48ed86(0x223)))&&(_0x2ba346[_0x48ed86(0x293)][_0x48ed86(0x249)](_0x2bf913,_0x5b6fb5[_0x48ed86(0x28b)]),_0x2ba346[_0x48ed86(0x1d3)][_0x48ed86(0x24d)](_0x2bf913));}},{'priority':_0x548b10(0x208)}),this[_0x548b10(0x261)][_0x548b10(0x234)][_0x548b10(0x18f)]['on'](_0x548b10(0x182),(_0x344732,_0x4d67fd,_0x2fae7c)=>{const _0x426f64=_0x548b10,_0x238824=_0x4d67fd[_0x426f64(0x28b)][_0x426f64(0x1a7)](':')[0x1],_0x28c8e1=this[_0x426f64(0x29a)](_0x238824);if(!_0x28c8e1)return null;const _0x49e58f=_0x426f64(0x292)==_0x28c8e1[_0x426f64(0x195)]?_0x426f64(0x1a7):_0x426f64(0x1f1);if(_0x2fae7c[_0x426f64(0x194)][_0x426f64(0x17b)](_0x4d67fd[_0x426f64(0x19b)],_0x344732[_0x426f64(0x22c)]))for(const _0x380c93 of _0x4d67fd[_0x426f64(0x19b)][_0x426f64(0x1f6)]()){if(!_0x380c93['is'](_0x426f64(0x254),_0x426f64(0x1bc)))continue;const _0x34ece0=_0x2fae7c[_0x426f64(0x1d3)][_0x426f64(0x15a)](_0x426f64(0x1e6),{'class':_0x426f64(0x1b5)+_0x49e58f}),_0x409a14=_0x2fae7c[_0x426f64(0x293)][_0x426f64(0x256)](this[_0x426f64(0x261)][_0x426f64(0x189)][_0x426f64(0x217)](_0x380c93));_0x28c8e1[_0x426f64(0x15b)][_0x426f64(0x1d9)]&&_0x2fae7c[_0x426f64(0x1d3)][_0x426f64(0x203)](_0x426f64(0x1b5)+_0x49e58f+_0x426f64(0x174),_0x34ece0),this[_0x426f64(0x262)]==_0x28c8e1&&_0x2fae7c[_0x426f64(0x1d3)][_0x426f64(0x203)](_0x426f64(0x216),_0x34ece0),_0x2fae7c[_0x426f64(0x1d3)][_0x426f64(0x28e)](_0x409a14,_0x34ece0),_0x2fae7c[_0x426f64(0x293)][_0x426f64(0x2a5)](_0x34ece0,_0x4d67fd[_0x426f64(0x28b)]);}},{'priority':_0x548b10(0x208)}),this[_0x548b10(0x261)][_0x548b10(0x189)][_0x548b10(0x289)]['on'](_0x548b10(0x1f9),()=>{const _0x19d19c=_0x548b10;this[_0x19d19c(0x261)][_0x19d19c(0x234)][_0x19d19c(0x27a)][_0x19d19c(0x1f9)](_0x10a7e2=>{const _0x29df48=_0x19d19c;for(const _0x37179d of this[_0x29df48(0x261)][_0x29df48(0x189)][_0x29df48(0x289)][_0x29df48(0x27b)]()){const _0xa6310a=this[_0x29df48(0x261)][_0x29df48(0x189)][_0x29df48(0x289)][_0x29df48(0x278)](_0x37179d),_0x3b98f1=this[_0x29df48(0x261)][_0x29df48(0x234)][_0x29df48(0x27a)][_0x29df48(0x289)][_0x29df48(0x278)](_0x37179d);if(_0x3b98f1){const _0x44be30=_0xa6310a[_0x29df48(0x209)](_0x29df48(0x226));if(_0x10a7e2[_0x29df48(0x1ba)](_0x29df48(0x25d),_0x3b98f1),_0x10a7e2[_0x29df48(0x1b9)](_0x29df48(0x27f),_0x3b98f1),_0x10a7e2[_0x29df48(0x1b9)](_0x29df48(0x1c2),_0x3b98f1),_0x10a7e2[_0x29df48(0x1b9)](_0x29df48(0x2a4),_0x3b98f1),_0x44be30){const _0x27807f=this[_0x29df48(0x29a)](_0x44be30);if(!_0x27807f)return null;_0x10a7e2[_0x29df48(0x251)](_0x29df48(0x25d),_0x44be30,_0x3b98f1),_0x10a7e2[_0x29df48(0x203)](_0x29df48(0x18e)+_0x27807f[_0x29df48(0x195)],_0x3b98f1),this[_0x29df48(0x262)]==_0x27807f&&_0x10a7e2[_0x29df48(0x203)](_0x29df48(0x2a4),_0x3b98f1);}}}});}),this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x271))[_0x548b10(0x296)]({'view':_0x548b10(0x178),'model':_0xd9b971=>_0x548b10(0x268)+_0xd9b971,'converterPriority':_0x548b10(0x168)}),this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x271))[_0x548b10(0x296)]({'view':_0x548b10(0x167),'model':_0x1c5da6=>_0x548b10(0x16a)+_0x1c5da6,'converterPriority':_0x548b10(0x168)}),this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x1c3))[_0x548b10(0x1fc)]({'model':_0x548b10(0x274),'view':_0x37afa9=>({'name':_0x548b10(0x15d)+_0x37afa9,'group':_0x548b10(0x274)}),'converterPriority':_0x548b10(0x168)}),this[_0x548b10(0x261)][_0x548b10(0x1b0)][_0x548b10(0x19f)](_0x548b10(0x1ee))[_0x548b10(0x1ed)]({'model':_0x548b10(0x274),'view':_0x4f1cd9=>{const _0x4c2423=_0x548b10,_0x37b652=_0x4f1cd9[_0x4c2423(0x28b)][_0x4c2423(0x1a7)](':')[0x1];return _0x4c2423(0x29d)!=_0x37b652&&_0x4c2423(0x1a9)!=_0x37b652?null:{'classes':[_0x4c2423(0x255),_0x4c2423(0x26e)+_0x37b652]};}}),this[_0x548b10(0x261)][_0x548b10(0x234)][_0x548b10(0x18f)]['on'](_0x548b10(0x1aa),Z(this[_0x548b10(0x261)],_0x548b10(0x1f1)),{'priority':_0x548b10(0x208)}),this[_0x548b10(0x261)][_0x548b10(0x234)][_0x548b10(0x18f)]['on'](_0x548b10(0x270),Z(this[_0x548b10(0x261)],_0x548b10(0x1a7)),{'priority':_0x548b10(0x208)}),this[_0x548b10(0x261)][_0x548b10(0x234)][_0x548b10(0x18f)]['on'](_0x548b10(0x1ab),(_0x55952f,_0x22ccd4,_0x39072f)=>{const _0x42c9a1=_0x548b10,_0x413381=_0x39072f[_0x42c9a1(0x293)][_0x42c9a1(0x207)](_0x22ccd4[_0x42c9a1(0x28b)]);if(_0x413381){for(const _0x4d3771 of _0x413381)_0x4d3771['is'](_0x42c9a1(0x201))&&(_0x39072f[_0x42c9a1(0x293)][_0x42c9a1(0x249)](_0x4d3771,_0x22ccd4[_0x42c9a1(0x28b)]),_0x39072f[_0x42c9a1(0x1d3)][_0x42c9a1(0x24d)](_0x4d3771));}},{'priority':_0x548b10(0x208)});}[_0x9afac4(0x29a)](_0x832a26){const _0x3ed901=_0x9afac4;return this[_0x3ed901(0x286)][_0x3ed901(0x1d5)](_0x832a26);}[_0x9afac4(0x21f)](_0x27c2cb){const _0x5f0b33=_0x9afac4;return this[_0x5f0b33(0x1ad)]&&this[_0x5f0b33(0x1ad)][_0x5f0b33(0x1e7)](),this[_0x5f0b33(0x1ad)]=new _0x276f63(this[_0x5f0b33(0x261)][_0x5f0b33(0x2a3)],_0x27c2cb),this[_0x5f0b33(0x1ad)];}[_0x9afac4(0x241)](){const _0x48502f=_0x9afac4;this[_0x48502f(0x261)][_0x48502f(0x189)][_0x48502f(0x289)][_0x48502f(0x257)][_0x48502f(0x24e)](_0x48502f(0x15c)),this['on'](_0x48502f(0x211),(_0x8d3fcb,_0x50a284,_0x2cc26e,_0x3df7ee)=>{const _0x2996ca=_0x48502f;_0x3df7ee&&this[_0x2996ca(0x1ec)][_0x2996ca(0x24d)](_0x3df7ee),_0x2cc26e&&(this[_0x2996ca(0x1ec)][_0x2996ca(0x292)]({'view':_0x2cc26e,'stackId':_0x2996ca(0x166),'position':{'target':()=>{const _0x1c2e11=_0x2996ca,_0x455add=this[_0x1c2e11(0x261)][_0x1c2e11(0x234)],_0x4b57d9=this[_0x1c2e11(0x29a)](_0x2cc26e[_0x1c2e11(0x1f4)]);let _0x491af1;if(_0x4b57d9[_0x1c2e11(0x15b)][_0x1c2e11(0x18a)]){const _0x22cc87=_0x455add[_0x1c2e11(0x27a)][_0x1c2e11(0x225)](_0x4b57d9[_0x1c2e11(0x1d7)]);_0x491af1=Array[_0x1c2e11(0x1d6)](_0x22cc87[_0x1c2e11(0x1b2)]());}else{const _0x26e459=this[_0x1c2e11(0x261)][_0x1c2e11(0x189)][_0x1c2e11(0x21a)][_0x1c2e11(0x1d5)](_0x1c2e11(0x170)+_0x2cc26e[_0x1c2e11(0x1f4)]);_0x491af1=Array[_0x1c2e11(0x1d6)](_0x455add[_0x1c2e11(0x293)][_0x1c2e11(0x207)](_0x26e459[_0x1c2e11(0x22c)]))[_0x1c2e11(0x280)](_0xdcdeb2=>_0x455add[_0x1c2e11(0x27a)][_0x1c2e11(0x1f5)][_0x1c2e11(0x1d0)](_0xdcdeb2))[_0x1c2e11(0x280)](_0x1465b9=>Array[_0x1c2e11(0x1d6)](_0x1465b9[_0x1c2e11(0x1b2)]()))[_0x1c2e11(0x204)]();}if(!this[_0x1c2e11(0x259)])return _0x491af1[0x0];return _0x491af1[_0x1c2e11(0x24c)](_0x5a3c34=>_0x5a3c34[_0x1c2e11(0x283)]-0x3<=this[_0x1c2e11(0x259)]['y']&&_0x5a3c34[_0x1c2e11(0x27c)]+0x3>=this[_0x1c2e11(0x259)]['y']&&_0x5a3c34[_0x1c2e11(0x299)]-0x3<=this[_0x1c2e11(0x259)]['x']&&_0x5a3c34[_0x1c2e11(0x236)]+0x3>=this[_0x1c2e11(0x259)]['x'])||_0x491af1[0x0];}}}),this[_0x2996ca(0x1ec)][_0x2996ca(0x1eb)](_0x2996ca(0x166)));}),this['on'](_0x48502f(0x16c),(_0x1e0346,_0x40ce15,_0x3d86a9,_0x200089)=>{const _0x1188cb=_0x48502f;this[_0x1188cb(0x222)]=_0x3d86a9?this[_0x1188cb(0x21f)](_0x3d86a9):null,this[_0x1188cb(0x261)][_0x1188cb(0x189)][_0x1188cb(0x1f9)](()=>{const _0x2ea624=_0x1188cb,_0x59e5ff=this[_0x2ea624(0x261)][_0x2ea624(0x234)];_0x200089&&(_0x200089[_0x2ea624(0x15b)][_0x2ea624(0x18a)]?_0x59e5ff[_0x2ea624(0x27a)][_0x2ea624(0x1f9)](_0x38777f=>{const _0x31a021=_0x2ea624;_0x38777f[_0x31a021(0x1b9)](_0x31a021(0x2a4),_0x59e5ff[_0x31a021(0x27a)][_0x31a021(0x289)][_0x31a021(0x278)](_0x200089[_0x31a021(0x1d7)]));}):_0x59e5ff[_0x2ea624(0x161)](_0x2ea624(0x170)+_0x200089['id'])),_0x3d86a9&&(_0x3d86a9[_0x2ea624(0x15b)][_0x2ea624(0x18a)]?_0x59e5ff[_0x2ea624(0x27a)][_0x2ea624(0x1f9)](_0x4d5d3d=>{const _0x50e570=_0x2ea624;_0x4d5d3d[_0x50e570(0x203)](_0x50e570(0x2a4),_0x59e5ff[_0x50e570(0x27a)][_0x50e570(0x289)][_0x50e570(0x278)](_0x3d86a9[_0x50e570(0x1d7)]));}):_0x59e5ff[_0x2ea624(0x161)](_0x2ea624(0x170)+_0x3d86a9['id']));});}),this[_0x48502f(0x272)](this[_0x48502f(0x261)][_0x48502f(0x234)][_0x48502f(0x27a)][_0x48502f(0x289)],_0x48502f(0x215),(_0x4ec44c,_0x490184)=>{const _0x4b03ce=_0x48502f;if(this[_0x4b03ce(0x262)])return;const _0x5980a7=this[_0x4b03ce(0x197)](_0x490184[_0x4b03ce(0x1be)]),_0x4ce92e=this[_0x4b03ce(0x286)][_0x4b03ce(0x1d5)](_0x5980a7);_0x4ce92e?(this[_0x4b03ce(0x259)]={'x':_0x490184[_0x4b03ce(0x1a2)]['x'],'y':_0x490184[_0x4b03ce(0x1a2)]['y']},this[_0x4b03ce(0x222)]=this[_0x4b03ce(0x21f)](_0x4ce92e)):(this[_0x4b03ce(0x259)]=null,this[_0x4b03ce(0x222)]=null);}),this[_0x48502f(0x272)](this[_0x48502f(0x261)][_0x48502f(0x234)][_0x48502f(0x27a)][_0x48502f(0x289)],_0x48502f(0x1ef),(_0x416c9f,_0x327725)=>{const _0xd920cd=_0x48502f,_0x55a9ca=this[_0xd920cd(0x197)](_0x327725[_0xd920cd(0x1be)]),_0x4bd060=this[_0xd920cd(0x286)][_0xd920cd(0x1d5)](_0x55a9ca);_0x4bd060?(this[_0xd920cd(0x259)]={'x':_0x327725[_0xd920cd(0x1a2)]['x'],'y':_0x327725[_0xd920cd(0x1a2)]['y']},_0x4bd060===this[_0xd920cd(0x262)]?this[_0xd920cd(0x1ec)][_0xd920cd(0x163)]():this[_0xd920cd(0x262)]=_0x4bd060):(this[_0xd920cd(0x259)]=null,this[_0xd920cd(0x262)]=null);});}[_0x9afac4(0x197)](_0x18a892){const _0x492b5f=_0x9afac4;do{const _0x2472dc=_0x18a892[_0x492b5f(0x209)](_0x492b5f(0x25d));if(_0x2472dc)return _0x2472dc;_0x18a892=_0x18a892[_0x492b5f(0x179)];}while(_0x18a892);return null;}[_0x9afac4(0x200)](){const _0x235cfc=_0x9afac4;this[_0x235cfc(0x261)][_0x235cfc(0x189)][_0x235cfc(0x1f9)](_0x3edca9=>{const _0x36f8bc=_0x235cfc;for(const _0x532185 of this[_0x36f8bc(0x261)][_0x36f8bc(0x189)][_0x36f8bc(0x21a)])_0x3edca9[_0x36f8bc(0x1c1)](_0x532185);});}}function Z(_0x398181,_0x4b1c6a){return(_0x58281e,_0xf3ec72,_0x580000)=>{const _0x13d66f=_0x515e;if(!_0x580000[_0x13d66f(0x194)][_0x13d66f(0x17b)](_0xf3ec72[_0x13d66f(0x19b)],_0x58281e[_0x13d66f(0x22c)]))return;const _0x5911c9=_0xf3ec72[_0x13d66f(0x19b)][_0x13d66f(0x1e5)](),_0x267fd7=_0xf3ec72[_0x13d66f(0x19b)][_0x13d66f(0x266)],_0xfb3f7c=_0x398181[_0x13d66f(0x189)][_0x13d66f(0x221)];let _0x42e1aa=null,_0x469fee=null,_0x1218bf=!0x1,_0xcf7ffe=!0x1;for(const _0x100e08 of _0x5911c9){const _0x5dc2ce=_0x100e08[_0x13d66f(0x19d)];_0x1218bf=_0x1218bf||_0xfb3f7c[_0x13d66f(0x265)](_0x5dc2ce);const _0x276bad=_0x580000[_0x13d66f(0x293)][_0x13d66f(0x28f)](_0x5dc2ce);if(_0x276bad&&_0x276bad[_0x13d66f(0x1ff)](_0x13d66f(0x1d1)))return;_0x13d66f(0x1e0)==_0x100e08[_0x13d66f(0x195)]&&(_0xfb3f7c[_0x13d66f(0x177)](_0x5dc2ce)&&!_0xfb3f7c[_0x13d66f(0x227)](_0x5dc2ce)&&(_0x5dc2ce[_0x13d66f(0x284)]||_0x267fd7[_0x13d66f(0x20d)]?_0x42e1aa&&_0x42e1aa[_0x13d66f(0x179)]==_0x5dc2ce||(_0x42e1aa=_0x5dc2ce,_0xa48391(_0x100e08[_0x13d66f(0x26f)]),_0xcf7ffe=!0x0):_0x469fee=_0x469fee||_0x100e08[_0x13d66f(0x26f)]));}function _0xa48391(_0x48a79a){const _0x43f175=_0x13d66f,_0x3b2b82=_0x580000[_0x43f175(0x293)][_0x43f175(0x256)](_0x48a79a),_0x39dd7f=_0x580000[_0x43f175(0x1d3)][_0x43f175(0x15a)](_0x43f175(0x1e6),{'class':_0x43f175(0x26e)+_0x4b1c6a});_0x580000[_0x43f175(0x1d3)][_0x43f175(0x28e)](_0x3b2b82,_0x39dd7f),_0x580000[_0x43f175(0x293)][_0x43f175(0x2a5)](_0x39dd7f,_0xf3ec72[_0x43f175(0x28b)]);}_0x1218bf||_0xcf7ffe||!_0x469fee||_0xa48391(_0x469fee);};}export class RestoreRevisionCommand extends _0x23d57a{constructor(_0x52cf8a){const _0x32c330=_0x9afac4;super(_0x52cf8a);const _0x6266a2=_0x52cf8a[_0x32c330(0x19a)][_0x32c330(0x1d5)](d);this[_0x32c330(0x29b)]=!0x1,this[_0x32c330(0x272)](_0x6266a2,_0x32c330(0x1ce),()=>this[_0x32c330(0x17a)]()),this[_0x32c330(0x272)](_0x6266a2,_0x32c330(0x23d),()=>this[_0x32c330(0x17a)]());}[_0x9afac4(0x27e)](){const _0x4dd4bc=_0x9afac4,_0x4f7058=this[_0x4dd4bc(0x261)],_0x2d13fa=_0x4f7058[_0x4dd4bc(0x19a)][_0x4dd4bc(0x1d5)](d),_0x18078b=_0x2d13fa[_0x4dd4bc(0x1d4)]?_0x2d13fa[_0x4dd4bc(0x1e2)][_0x4dd4bc(0x279)]:null;_0x4f7058[_0x4dd4bc(0x171)][_0x4dd4bc(0x1d5)](_0x4dd4bc(0x28a))[_0x4dd4bc(0x15e)](_0x18078b);}[_0x9afac4(0x17a)](){const _0x148897=_0x9afac4,{isReady:_0x34bd42,isEnabled:_0x464f3a,repository:_0x74f6dc,diff:_0x39c993}=this[_0x148897(0x261)][_0x148897(0x19a)][_0x148897(0x1d5)](d),_0x294598=_0x39c993&&_0x74f6dc[_0x148897(0x1cd)](_0x39c993[_0x148897(0x279)]);this[_0x148897(0x2a1)]=_0x34bd42&&_0x464f3a&&Boolean(_0x294598);}}export class ShowChangeCommand extends _0x23d57a{constructor(_0x1ec4a4,{direction:_0x2f415f}){const _0x27e101=_0x9afac4;super(_0x1ec4a4);const _0x51c396=_0x1ec4a4[_0x27e101(0x19a)][_0x27e101(0x1d5)](d);this[_0x27e101(0x29b)]=!0x1,this[_0x27e101(0x22a)]=_0x27e101(0x18b)===_0x2f415f?0x1:-0x1,this[_0x27e101(0x272)](_0x51c396,_0x27e101(0x1ce),()=>this[_0x27e101(0x17a)]()),this[_0x27e101(0x272)](_0x51c396,_0x27e101(0x23d),()=>this[_0x27e101(0x17a)]()),this[_0x27e101(0x272)](_0x51c396,_0x27e101(0x16c),()=>this[_0x27e101(0x17a)]());}[_0x9afac4(0x27e)](){const _0x5c654c=_0x9afac4,_0x55fc67=this[_0x5c654c(0x261)],_0x1e85c0=_0x55fc67[_0x5c654c(0x19a)][_0x5c654c(0x1d5)](d),{isNavigationMode:_0x5e2592,currentChangeNumber:_0x31c178}=_0x1e85c0;let _0x3c25ca;if(_0x1e85c0[_0x5c654c(0x262)]=_0x5e2592?_0x1e85c0[_0x5c654c(0x1e2)][_0x5c654c(0x184)][_0x5c654c(0x1d5)](_0x31c178+this[_0x5c654c(0x22a)]):_0x1e85c0[_0x5c654c(0x1e2)][_0x5c654c(0x184)][_0x5c654c(0x22d)],_0x1e85c0[_0x5c654c(0x262)][_0x5c654c(0x15b)][_0x5c654c(0x18a)])_0x3c25ca=_0x55fc67[_0x5c654c(0x234)][_0x5c654c(0x27a)][_0x5c654c(0x225)](_0x1e85c0[_0x5c654c(0x262)][_0x5c654c(0x1d7)]);else{const _0x51eee6=_0x55fc67[_0x5c654c(0x189)][_0x5c654c(0x21a)][_0x5c654c(0x1d5)](_0x5c654c(0x170)+_0x1e85c0[_0x5c654c(0x262)]['id']);_0x3c25ca=_0x167adb(_0x55fc67[_0x5c654c(0x234)],_0x51eee6);}_0x41230c({'target':_0x3c25ca,'viewportOffset':0x28});}[_0x9afac4(0x17a)](){const _0x3093db=_0x9afac4,{isNavigationMode:_0xe58e97,currentChangeNumber:_0x3665cc,numberOfChanges:_0x1d36d4,isReady:_0xb9ff00,isEnabled:_0x85e243}=this[_0x3093db(0x261)][_0x3093db(0x19a)][_0x3093db(0x1d5)](d);this[_0x3093db(0x2a1)]=!!(_0x85e243&&_0xb9ff00&&_0x1d36d4)&&(!_0xe58e97||(0x1===this[_0x3093db(0x22a)]?_0x3665cc<_0x1d36d4-0x1:_0x3665cc>0x0));}}
|
|
23
|
+
const _0x3e8e7d=_0x4f4f;(function(_0x3ba1c6,_0x1b2802){const _0x528455=_0x4f4f,_0x330551=_0x3ba1c6();while(!![]){try{const _0x5d5863=parseInt(_0x528455(0x18e))/0x1*(-parseInt(_0x528455(0x189))/0x2)+-parseInt(_0x528455(0x296))/0x3+parseInt(_0x528455(0x177))/0x4+parseInt(_0x528455(0x1ad))/0x5+parseInt(_0x528455(0x200))/0x6+parseInt(_0x528455(0x201))/0x7*(parseInt(_0x528455(0x182))/0x8)+-parseInt(_0x528455(0x1d0))/0x9;if(_0x5d5863===_0x1b2802)break;else _0x330551['push'](_0x330551['shift']());}catch(_0x2af1e9){_0x330551['push'](_0x330551['shift']());}}}(_0x4904,0x3f798));import{Plugin as _0x21f23f,Command as _0x21a3ec}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x9f9975}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x1d7448}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x596a02,Element as _0x12aa57,Text as _0x1b3b34,ViewDocumentFragment as _0x2c5520,ViewText as _0x5b40f7,ViewElement as _0x152233,ViewContainerElement as _0x4a153f,ViewAttributeElement as _0xaf4ece,ViewEmptyElement as _0x51b38d,ViewRawElement as _0x37ad71,ViewUIElement as _0x33cbd2}from'ckeditor5/src/engine.js';import{Users as _0x6992fb,getMarkerDomElement as _0x450a5f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4904(){const _0x32c64a=['updatePosition','_removeUnsupportedChanges','_getDiff','destroy','next','mousedown','isAttached','createRevision','test','startIndex','revision-suggestion:','adapter','oldRevisionId','roots','change:isReady','parse','ck-revision-history-root-add','uiElement','WidgetToolbarRepository','isCollapsed','isObject','isNavigationMode','suggestion','ck-suggestion-marker--active','isRemoved','reconvertMarker','getClientRects','removeAttribute','set','init','commands','error','ck-suggestion-marker','model','restoreRevision','values','getIndex','text','mapViewToDom','listenTo','attributesBefore','createPositionBefore','change','push','newRevisionId','addHighlight','editor','activeView','requires','isIncorrect','getAttribute','diff','execute','bind','_refreshStartEndIndex','isReady','_findChangeIdFromDomTarget','nodeAfter','markerToHighlight','type','getItems','done','getCustomProperty','getRevisionRootsAttributes','unbindElementFromMarkerName','_makeTape','isAtStart','comment','insertions','removeMarker','createRangeIn','item','_fixObsoleteTags','isAtEnd','_setDistance','revision-comment:','_markMismatchedRemovedTags','get','revisionHistory','data-change-id','_joinTapes','span','isBefore','toViewRange','bottom','showPreviousChange','_cleanMarkers','keys','vid','add','modelRange','revision-viewer','_getRevisionsRange','object','maxOffset','hasClass','loadRevisionData','getChild','addMarker:revision','getRevisionData','insert','remove','schema','_markMarkers','addMarker:revision-suggestion:deletion','_makeModelFromTape','isRemoveSuggestion','stop','top','detachRoot','markerNameToElements','viewItem','level','_balloon','conversion','all','revisionHistoryLabel','dataToMarker','toData','config','revision-end','createAttributeElement','change:activeView','_data','markerRange','POSITIVE_INFINITY','attributes','forEach','1284606ZeMvWA','code','addRevision','parent','element','_getViewForChange','index','_threeWayMerge','_changeIdToChange','getRevision','rootName','element:pre','_setChanges','name','change:activeChange','checkAttribute','writer','map','document','getRoot','pairId','insertion','authors','slice','splice','ck-editor__editable__overlay','refresh','high','endIndex','revision:','getAttributes','children','getDomRoot','markerName','selection','unshift','diffData','markers','consumable','removeMarker:revision-suggestion','mouseover','backward','_removeMissingPairs','showStack','revision-start','elementEnd','resolve','domConverter','upcast','isOfficialPlugin','1442600BgiaVh','highest','right','getWalker','markersEnd','getLaterVisibleRevision','end','includes','_makeModelFromViewString','forward','affectsData','24DtveaV','data','_update','dataDowncast','RevisionsRepository','isPremiumPlugin','side','4146bAAKEt','attachChange','_activeViewTarget','activeChange','data-revision-','83PAdlsc','deletions','toViewElement','catch','-new','setAttribute','createUIElement','isSuggestion','wrap','numberOfChanges','target','isEnabled','hasAttribute','abs','isEqual','low','compare','sort','createPositionFromPath','_changeView','nextSibling','length','pop','left','suggestion:','toViewPosition','_step','default','_markInsertions','distance','range','1209960NqfzMN','_setConversion','ck-suggestion-preview-marker','editing','isInline','editingDowncast','changes','plugins','_cleanUp','_appendChild','find','_getViewObj','previousPosition','then','return','addClass','clear','shift','mapper','downcastDispatcher','from','addRevisionData','startsWith','filter','attribute:vid','offsetSize','findIndex','_removeRevisionMarkers','isLimit','revision-suggestion','enqueueChange','showNextChange','attributesAfter','isBlock','view','1116450dwDYYi','change:numberOfChanges','collaboration.channelId','revision','merge','markersStart','isContent','has','isAfter','marked','deletion','ck-revision-history-root-remove','ck-revision-history-root--active','isOnRoot','_processTape','_getChangeFromId','changeId','change:isEnabled','revisionHistoryAttachChange','useFillerType','_markSuggestions','for','restoreRevisionCallback','ck-revision-history-root-','elementToAttribute','isAddSuggestion','ck-suggestion-marker-split','nextPosition','forceDisabled','string','ck-suggestion-preview-marker-','processor','locale','domEvent','pluginName','observeMarkers','repository','delete','split','first','ck-suggestion-marker-','RevisionViewer','_initInteractions','_sortAndFilterDiffChanges','addMarker:revision-suggestion:insertion','addRoot','start','ck-suggestion-marker-merge','1454010AVWuJe','325094kxDVko','isAdded','vid_start','toModel','enableReadOnlyMode','indexOf','removeClass','flat','bindElementToMarker','softBreak','createRange','markerToData','getRootNames','_revisions','elementStart','concat','consume','removeMarker:revision','userId','currentChangeNumber','vid_end'];_0x4904=function(){return _0x32c64a;};return _0x4904();}import _0x3c9eda from'./ui/revisionviewer/changedetailsview.js';import _0x54ea51 from'./revisionsrepository.js';import _0x3f419c from'./changeitem.js';import{default as _0x1334ea}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x3eb833}from'lodash-es';const Y={'c':_0x4a153f,'a':_0xaf4ece,'e':_0x51b38d,'r':_0x37ad71,'u':_0x33cbd2};export default class d extends _0x21f23f{static get[_0x3e8e7d(0x1f2)](){const _0x39328c=_0x3e8e7d;return _0x39328c(0x1f9);}static get[_0x3e8e7d(0x176)](){return!0x0;}static get[_0x3e8e7d(0x187)](){return!0x0;}static get[_0x3e8e7d(0x246)](){return[_0x6992fb,_0x1d7448,_0x54ea51];}constructor(_0x30b267){const _0x4e02a1=_0x3e8e7d;super(_0x30b267),this[_0x4e02a1(0x1f4)]=this[_0x4e02a1(0x244)][_0x4e02a1(0x1b4)][_0x4e02a1(0x263)](_0x4e02a1(0x186)),this[_0x4e02a1(0x232)](_0x4e02a1(0x18c),null),this[_0x4e02a1(0x232)](_0x4e02a1(0x245),null),this[_0x4e02a1(0x18b)]=null,this[_0x4e02a1(0x232)](_0x4e02a1(0x249),null),this[_0x4e02a1(0x232)](_0x4e02a1(0x24d),!0x1),this[_0x4e02a1(0x232)](_0x4e02a1(0x199),!0x0),this['on'](_0x4e02a1(0x1e1),(_0x466d07,_0x1f72e6,_0x2791ed)=>{const _0x2bb726=_0x4e02a1;this[_0x2bb726(0x18c)]=null,this[_0x2bb726(0x245)]=null,this[_0x2bb726(0x244)][_0x2bb726(0x1b0)][_0x2bb726(0x1cf)][_0x2bb726(0x240)](_0xfeaf1a=>{const _0x102770=_0x2bb726;for(const _0x550474 of this[_0x102770(0x244)][_0x102770(0x1b0)][_0x102770(0x1cf)][_0x102770(0x157)][_0x102770(0x223)])_0x2791ed?_0xfeaf1a[_0x102770(0x207)](_0x102770(0x15e),_0x550474):_0xfeaf1a[_0x102770(0x1bc)](_0x102770(0x15e),_0x550474);});}),this[_0x4e02a1(0x24b)](_0x4e02a1(0x22b))['to'](this,_0x4e02a1(0x18c),_0x4e4096=>null!==_0x4e4096),this[_0x4e02a1(0x24b)](_0x4e02a1(0x214))['to'](this,_0x4e02a1(0x24d),this,_0x4e02a1(0x249),this,_0x4e02a1(0x18c),(_0x10670d,_0x58a91f,_0x558dc2)=>_0x10670d&&_0x558dc2?_0x58a91f[_0x4e02a1(0x1b3)][_0x4e02a1(0x23a)](_0x558dc2):0x0),this[_0x4e02a1(0x24b)](_0x4e02a1(0x197))['to'](this,_0x4e02a1(0x24d),this,_0x4e02a1(0x249),(_0x34d6a8,_0x34d51a)=>_0x34d6a8?_0x34d51a[_0x4e02a1(0x1b3)][_0x4e02a1(0x1a3)]:0x0),this[_0x4e02a1(0x1a1)]=null,this[_0x4e02a1(0x29e)]=new Map(),this[_0x4e02a1(0x221)]=null,this[_0x4e02a1(0x287)]=this[_0x4e02a1(0x244)][_0x4e02a1(0x1b4)][_0x4e02a1(0x263)](_0x1d7448);}[_0x3e8e7d(0x233)](){const _0x40d4c5=_0x3e8e7d,_0x162c39=this[_0x40d4c5(0x244)],_0x2a3238=new ShowChangeCommand(_0x162c39,{'direction':_0x40d4c5(0x16e)}),_0x2bc23a=new ShowChangeCommand(_0x162c39,{'direction':_0x40d4c5(0x180)});(_0x162c39[_0x40d4c5(0x234)][_0x40d4c5(0x26f)](_0x40d4c5(0x26b),_0x2a3238),_0x162c39[_0x40d4c5(0x234)][_0x40d4c5(0x26f)](_0x40d4c5(0x1cc),_0x2bc23a),_0x162c39[_0x40d4c5(0x234)][_0x40d4c5(0x26f)](_0x40d4c5(0x238),new RestoreRevisionCommand(_0x162c39)),this['on'](_0x40d4c5(0x1d1),()=>{const _0x342cbd=_0x40d4c5;_0x2a3238[_0x342cbd(0x15f)](),_0x2bc23a[_0x342cbd(0x15f)]();}),this[_0x40d4c5(0x1ae)](),this[_0x40d4c5(0x1fa)](),_0x162c39[_0x40d4c5(0x205)](_0x40d4c5(0x271)),_0x162c39[_0x40d4c5(0x1b4)][_0x40d4c5(0x1d7)](_0x40d4c5(0x228)))&&_0x162c39[_0x40d4c5(0x1b4)][_0x40d4c5(0x263)](_0x40d4c5(0x228))[_0x40d4c5(0x1ec)](_0x40d4c5(0x271));}async[_0x3e8e7d(0x279)](_0x38f2f7){const _0x51f4aa=_0x3e8e7d;await this[_0x51f4aa(0x276)](_0x38f2f7);const _0xb7c174={};for(const _0x2dd44c in _0x38f2f7[_0x51f4aa(0x169)]){if(_0x38f2f7[_0x51f4aa(0x169)][_0x2dd44c][_0x51f4aa(0x18a)]&&!_0x38f2f7[_0x51f4aa(0x169)][_0x2dd44c][_0x51f4aa(0x18a)][_0x51f4aa(0x21c)])continue;const _0x47e80b=this[_0x51f4aa(0x1c8)](JSON[_0x51f4aa(0x225)](_0x38f2f7[_0x51f4aa(0x169)][_0x2dd44c][_0x51f4aa(0x25a)])),_0x1ed414=this[_0x51f4aa(0x244)][_0x51f4aa(0x1b0)][_0x51f4aa(0x1cf)][_0x51f4aa(0x157)],_0x3ace99=new _0x2c5520(_0x1ed414,_0x47e80b[_0x51f4aa(0x2a7)](_0xca3741=>this[_0x51f4aa(0x1b8)](_0xca3741)));this[_0x51f4aa(0x244)][_0x51f4aa(0x183)][_0x51f4aa(0x1ef)][_0x51f4aa(0x1e3)](_0x51f4aa(0x1d9)),_0xb7c174[_0x2dd44c]=this[_0x51f4aa(0x244)][_0x51f4aa(0x183)][_0x51f4aa(0x1ef)][_0x51f4aa(0x28c)](_0x3ace99),this[_0x51f4aa(0x244)][_0x51f4aa(0x183)][_0x51f4aa(0x1ef)][_0x51f4aa(0x1e3)](_0x51f4aa(0x1a9));}return _0xb7c174;}async[_0x3e8e7d(0x255)](_0x1a1499){const _0x211962=_0x3e8e7d;await this[_0x211962(0x276)](_0x1a1499);const _0x373a10={};for(const _0xd824ca in _0x1a1499[_0x211962(0x169)])_0x1a1499[_0x211962(0x169)][_0xd824ca][_0x211962(0x18a)]&&!_0x1a1499[_0x211962(0x169)][_0xd824ca][_0x211962(0x18a)][_0x211962(0x21c)]||(_0x373a10[_0xd824ca]=_0x1a1499[_0x211962(0x169)][_0xd824ca][_0x211962(0x1cd)]||{});return _0x373a10;}[_0x3e8e7d(0x1c8)](_0x346e72){const _0x563b2b=_0x3e8e7d;return(_0x346e72=_0x346e72[_0x563b2b(0x1c4)](_0xd27462=>!_0xd27462[_0x563b2b(0x2a3)]||_0x563b2b(0x171)!==_0xd27462[_0x563b2b(0x2a3)]&&_0x563b2b(0x28e)!==_0xd27462[_0x563b2b(0x2a3)]))[_0x563b2b(0x295)](_0x46d099=>{const _0x1f5282=_0x563b2b;_0x1f5282(0x1ed)!=typeof _0x46d099&&(_0x46d099[_0x1f5282(0x164)]=this[_0x1f5282(0x1c8)](_0x46d099[_0x1f5282(0x164)]),_0x46d099[_0x1f5282(0x294)]=_0x46d099[_0x1f5282(0x294)][_0x1f5282(0x1c4)](_0x4697d4=>!_0x4697d4[0x0][_0x1f5282(0x1c3)](_0x1f5282(0x18d))));}),_0x346e72;}async[_0x3e8e7d(0x19e)](_0x34971e,_0x3cda40,_0x57e217=!0x1){const _0x46a003=_0x3e8e7d;if(!this[_0x46a003(0x199)])return;const _0xe3013f=this[_0x46a003(0x249)],_0x2179c2=this[_0x46a003(0x1f4)],_0x4de66c=_0x46a003(0x1ed)==typeof _0x34971e?_0x2179c2[_0x46a003(0x29f)](_0x34971e):_0x34971e,_0x253e6f=_0x46a003(0x1ed)==typeof _0x3cda40?_0x2179c2[_0x46a003(0x29f)](_0x3cda40):_0x3cda40,_0x29fb7e=_0x4de66c['id'],_0x36efb9=_0x253e6f?_0x253e6f['id']:null;if(!_0x57e217&&this[_0x46a003(0x249)]&&this[_0x46a003(0x249)][_0x46a003(0x242)]===_0x29fb7e&&this[_0x46a003(0x249)][_0x46a003(0x222)]===_0x36efb9)return Promise[_0x46a003(0x173)]();this[_0x46a003(0x24d)]=!0x1,this[_0x46a003(0x245)]=null,this[_0x46a003(0x18c)]=null,this[_0x46a003(0x249)]=new _0x1334ea(_0x29fb7e,_0x36efb9);const _0x350e71=this[_0x46a003(0x272)](_0x4de66c,_0x253e6f,!0x0)[_0x46a003(0x2a7)](_0x25ea0f=>this[_0x46a003(0x276)](_0x25ea0f));return _0x350e71[_0x46a003(0x241)](new Promise(_0x48d5df=>{setTimeout(_0x48d5df,0x14);})),Promise[_0x46a003(0x289)](_0x350e71)[_0x46a003(0x1ba)](()=>{const _0x1b61b7=_0x46a003;if(!this[_0x1b61b7(0x199)])return;this[_0x1b61b7(0x1b5)]();const _0xb8a8c0=this[_0x1b61b7(0x218)](_0x29fb7e,_0x36efb9);for(const _0x3822fe of _0xb8a8c0[_0x1b61b7(0x1b3)])this[_0x1b61b7(0x29e)][_0x1b61b7(0x232)](_0x3822fe['id'],_0x3822fe);this[_0x1b61b7(0x244)][_0x1b61b7(0x237)][_0x1b61b7(0x1cb)]({'isUndoable':!0x1},_0x198031=>{const _0x32ccd3=_0x1b61b7;for(const _0x4c2976 of this[_0x32ccd3(0x244)][_0x32ccd3(0x237)][_0x32ccd3(0x157)][_0x32ccd3(0x20d)]())_0x198031[_0x32ccd3(0x283)](_0x4c2976);for(const _0x651eb1 of Object[_0x32ccd3(0x26d)](_0xb8a8c0[_0x32ccd3(0x237)])){const _0x2370f9=_0x198031[_0x32ccd3(0x1fd)](_0x651eb1);for(const _0xf428aa of Object[_0x32ccd3(0x26d)](_0xb8a8c0[_0x32ccd3(0x294)][_0x651eb1]))_0x198031[_0x32ccd3(0x193)](_0xf428aa,_0xb8a8c0[_0x32ccd3(0x294)][_0x651eb1][_0xf428aa],_0x2370f9);_0x198031[_0x32ccd3(0x27a)](_0xb8a8c0[_0x32ccd3(0x237)][_0x651eb1],_0x2370f9,0x0);}}),this[_0x1b61b7(0x249)][_0x1b61b7(0x2a2)](this[_0x1b61b7(0x1fb)](_0xb8a8c0[_0x1b61b7(0x1b3)])),this[_0x1b61b7(0x24d)]=!0x0;})[_0x46a003(0x191)](_0x48fbb2=>{const _0x243d29=_0x46a003;console[_0x243d29(0x235)](_0x48fbb2),this[_0x243d29(0x1b5)](),_0xe3013f&&(this[_0x243d29(0x249)]=_0xe3013f),this[_0x243d29(0x24d)]=!0x0;});}[_0x3e8e7d(0x1c2)](_0x43b077,_0xa4c57e){const _0xa3bd77=_0x3e8e7d,_0x1bd4fc=this[_0xa3bd77(0x1f4)][_0xa3bd77(0x21d)](_0x43b077);return _0x1bd4fc['on'](_0xa3bd77(0x184),(_0x4b3226,_0xda44b2,_0x332f7f)=>_0xa4c57e(_0xda44b2,_0x332f7f,_0x1bd4fc)),this[_0xa3bd77(0x1f4)][_0xa3bd77(0x298)](_0x1bd4fc),_0x1bd4fc;}[_0x3e8e7d(0x276)](_0x578b52){const _0x3e744a=_0x3e8e7d;if(!_0x578b52||_0x578b52[_0x3e744a(0x169)])return Promise[_0x3e744a(0x173)]();{const _0x53077e=this[_0x3e744a(0x244)][_0x3e744a(0x28d)][_0x3e744a(0x263)](_0x3e744a(0x1d2));return this[_0x3e744a(0x221)][_0x3e744a(0x29f)]({'channelId':_0x53077e,'revisionId':_0x578b52['id']})[_0x3e744a(0x1ba)](_0x3741d0=>{const _0x482b05=_0x3e744a;_0x578b52[_0x482b05(0x184)]({'diffData':_0x3741d0[_0x482b05(0x169)]},!0x0);});}}[_0x3e8e7d(0x1b5)](){const _0x24d17e=_0x3e8e7d;this[_0x24d17e(0x18c)]=null,this[_0x24d17e(0x26c)](),this[_0x24d17e(0x1a1)]&&this[_0x24d17e(0x1a1)][_0x24d17e(0x219)](),this[_0x24d17e(0x1a1)]=null,this[_0x24d17e(0x29e)][_0x24d17e(0x1bd)](),this[_0x24d17e(0x244)][_0x24d17e(0x237)][_0x24d17e(0x1cb)]({'isUndoable':!0x1},_0x30ad41=>{const _0x409f71=_0x24d17e;for(const _0x5a0e2b of this[_0x409f71(0x244)][_0x409f71(0x237)][_0x409f71(0x157)][_0x409f71(0x20d)]())_0x30ad41[_0x409f71(0x283)](_0x5a0e2b);});}[_0x3e8e7d(0x1fb)](_0x22ce25){const _0x4c830f=_0x3e8e7d,_0x5af02a=[],_0x40b560=new Map();for(const _0x5f1757 of this[_0x4c830f(0x244)][_0x4c830f(0x237)][_0x4c830f(0x157)][_0x4c830f(0x20d)]()){const _0x2ca54f=this[_0x4c830f(0x244)][_0x4c830f(0x1b0)][_0x4c830f(0x1cf)][_0x4c830f(0x165)](_0x5f1757);if(!_0x2ca54f)continue;const _0x2dec2f=_0x2ca54f[_0x4c830f(0x230)]()[_0x4c830f(0x25d)](0x0);_0x2dec2f&&(_0x5af02a[_0x4c830f(0x241)](_0x5f1757),_0x40b560[_0x4c830f(0x232)](_0x5f1757,_0x2dec2f));}return _0x5af02a[_0x4c830f(0x19f)]((_0x7bd3d3,_0x5c4878)=>{const _0x2450db=_0x4c830f,_0x3f18ab=_0x40b560[_0x2450db(0x263)](_0x7bd3d3),_0x114a65=_0x40b560[_0x2450db(0x263)](_0x5c4878);return _0x3f18ab['y']-_0x114a65['y']||_0x3f18ab['x']-_0x114a65['x'];}),(_0x22ce25=_0x22ce25[_0x4c830f(0x1c4)](_0x1978f1=>_0x5af02a[_0x4c830f(0x17e)](_0x1978f1[_0x4c830f(0x2a0)])))[_0x4c830f(0x19f)]((_0xa217e3,_0xb5ede9)=>_0x5af02a[_0x4c830f(0x206)](_0xa217e3[_0x4c830f(0x2a0)])-_0x5af02a[_0x4c830f(0x206)](_0xb5ede9[_0x4c830f(0x2a0)])),_0x22ce25;}[_0x3e8e7d(0x257)](_0xaaf94f){const _0x21d629=_0x3e8e7d,_0xa4e6ad=Array[_0x21d629(0x1c1)](_0xaaf94f[_0x21d629(0x16a)])[_0x21d629(0x1c4)](([_0x3b0d77,_0x10acdc])=>_0x3b0d77[_0x21d629(0x1c3)](_0x21d629(0x162))&&!_0x10acdc[_0x21d629(0x229)]),_0x1c1ff9=Array[_0x21d629(0x1c1)](this[_0x21d629(0x244)][_0x21d629(0x237)][_0x21d629(0x25c)](_0xaaf94f)[_0x21d629(0x17a)]({'singleCharacters':!0x0}));if(0x0!=_0xa4e6ad[_0x21d629(0x1a3)])for(const _0x3071a4 of _0x1c1ff9){const [_0x2a6467,_0xab20]=_0xa4e6ad[0x0],[,_0x59e9df,_0x2fab78]=_0x2a6467[_0x21d629(0x1f6)](':');if(_0xab20[_0x21d629(0x17d)][_0x21d629(0x19c)](_0x3071a4[_0x21d629(0x1eb)])&&_0xa4e6ad[_0x21d629(0x1be)](),(_0x3071a4[_0x21d629(0x1b9)][_0x21d629(0x19c)](_0xab20[_0x21d629(0x1fe)])||_0x3071a4[_0x21d629(0x1b9)][_0x21d629(0x1d8)](_0xab20[_0x21d629(0x1fe)]))&&(_0x21d629(0x15a)==_0x59e9df?_0x3071a4[_0x21d629(0x202)]={'userId':_0x2fab78}:_0x21d629(0x1da)==_0x59e9df&&(_0x3071a4[_0x21d629(0x22e)]={'userId':_0x2fab78})),0x0==_0xa4e6ad[_0x21d629(0x1a3)])break;}return _0x1c1ff9;}[_0x3e8e7d(0x24c)](_0xc62c95){const _0x308695=_0x3e8e7d,_0x17f55c=new Map();for(let _0x40824b=0x0;_0x40824b<_0xc62c95[_0x308695(0x1a3)];_0x40824b++)_0x308695(0x23b)===_0xc62c95[_0x40824b][_0x308695(0x251)]?(_0xc62c95[_0x40824b][_0x308695(0x25d)][_0x308695(0x21f)]=_0x40824b,_0xc62c95[_0x40824b][_0x308695(0x25d)][_0x308695(0x161)]=_0x40824b):(_0x308695(0x20f)===_0xc62c95[_0x40824b][_0x308695(0x251)]?_0xc62c95[_0x40824b][_0x308695(0x25d)][_0x308695(0x21f)]=_0x40824b:_0x308695(0x172)===_0xc62c95[_0x40824b][_0x308695(0x251)]&&(_0xc62c95[_0x40824b][_0x308695(0x25d)][_0x308695(0x161)]=_0x40824b),_0x17f55c[_0x308695(0x232)](_0xc62c95[_0x40824b]['id'],_0x40824b));for(const _0x2b47e2 of _0x17f55c[_0x308695(0x239)]())_0x308695(0x20f)===_0xc62c95[_0x2b47e2][_0x308695(0x251)]?_0xc62c95[_0x2b47e2][_0x308695(0x25d)][_0x308695(0x161)]=_0x17f55c[_0x308695(0x263)](_0xc62c95[_0x2b47e2][_0x308695(0x159)]):_0x308695(0x172)===_0xc62c95[_0x2b47e2][_0x308695(0x251)]&&(_0xc62c95[_0x2b47e2][_0x308695(0x25d)][_0x308695(0x21f)]=_0x17f55c[_0x308695(0x263)](_0xc62c95[_0x2b47e2][_0x308695(0x159)]));}[_0x3e8e7d(0x1de)](_0x3a2cff){const _0x5d2263=_0x3e8e7d;for(let _0x4d7b72=0x0;_0x4d7b72<_0x3a2cff[_0x5d2263(0x1a3)];_0x4d7b72++){if(_0x5d2263(0x20f)===_0x3a2cff[_0x4d7b72][_0x5d2263(0x251)])_0x3a2cff[_0x4d7b72][_0x5d2263(0x25d)][_0x5d2263(0x21f)]=_0x4d7b72;else{if(_0x5d2263(0x172)===_0x3a2cff[_0x4d7b72][_0x5d2263(0x251)]){_0x3a2cff[_0x4d7b72][_0x5d2263(0x25d)][_0x5d2263(0x161)]=_0x4d7b72;const _0x59a907=_0x3a2cff[_0x4d7b72][_0x5d2263(0x25d)][_0x5d2263(0x21f)];_0x3a2cff[_0x59a907][_0x5d2263(0x159)]=_0x3a2cff[_0x4d7b72]['id'],_0x3a2cff[_0x4d7b72][_0x5d2263(0x159)]=_0x3a2cff[_0x59a907]['id'];}else _0x3a2cff[_0x4d7b72][_0x5d2263(0x25d)][_0x5d2263(0x21f)]=_0x4d7b72,_0x3a2cff[_0x4d7b72][_0x5d2263(0x25d)][_0x5d2263(0x161)]=_0x4d7b72,_0x3a2cff[_0x4d7b72][_0x5d2263(0x159)]=null;}_0x3a2cff[_0x4d7b72][_0x5d2263(0x1d5)]||(_0x3a2cff[_0x4d7b72][_0x5d2263(0x1d5)]=[],_0x3a2cff[_0x4d7b72][_0x5d2263(0x17b)]=[]);}}[_0x3e8e7d(0x1aa)](_0xda2cb7,_0x492b52){const _0x205cd0=_0x3e8e7d,_0x2564e0=_0xda2cb7[_0x205cd0(0x1c4)](_0xaabd30=>!_0xaabd30[_0x205cd0(0x202)]);for(let _0x2b5bd0=0x0;_0x2b5bd0<_0x492b52[_0x205cd0(0x1a3)];_0x2b5bd0++)_0x492b52[_0x2b5bd0][_0x205cd0(0x202)]&&(_0x2564e0[_0x2b5bd0][_0x205cd0(0x202)]=_0x492b52[_0x2b5bd0][_0x205cd0(0x202)]);}[_0x3e8e7d(0x17f)](_0x2ac194){const _0x477a29=_0x3e8e7d,_0x18f4b8=JSON[_0x477a29(0x225)](_0x2ac194),_0x516610=this[_0x477a29(0x244)][_0x477a29(0x1b0)][_0x477a29(0x1cf)][_0x477a29(0x157)],_0x19572c=new _0x2c5520(_0x516610,_0x18f4b8[_0x477a29(0x2a7)](_0x10751d=>this[_0x477a29(0x1b8)](_0x10751d)));return this[_0x477a29(0x244)][_0x477a29(0x183)][_0x477a29(0x204)](_0x19572c);}[_0x3e8e7d(0x1b8)](_0x5c5f61){const _0x3eba1e=_0x3e8e7d,_0x5e7f2a=this[_0x3eba1e(0x244)][_0x3eba1e(0x1b0)][_0x3eba1e(0x1cf)][_0x3eba1e(0x157)];if(_0x3eba1e(0x1ed)==typeof _0x5c5f61)return new _0x5b40f7(_0x5e7f2a,_0x5c5f61);{const _0x1f2c18=_0x5c5f61[_0x3eba1e(0x164)][_0x3eba1e(0x2a7)](_0x3b1287=>this[_0x3eba1e(0x1b8)](_0x3b1287));return new(Y[_0x5c5f61[(_0x3eba1e(0x251))]]||_0x152233)(_0x5e7f2a,_0x5c5f61[_0x3eba1e(0x2a3)],_0x5c5f61[_0x3eba1e(0x294)],_0x1f2c18);}}[_0x3e8e7d(0x218)](_0x2f6722,_0x4e5d48=null){const _0x1220f9=_0x3e8e7d,_0x3c82d6=this[_0x1220f9(0x1f4)][_0x1220f9(0x29f)](_0x2f6722),_0x20f30c=_0x4e5d48?this[_0x1220f9(0x1f4)][_0x1220f9(0x29f)](_0x4e5d48):null,_0x801a5a=this[_0x1220f9(0x272)](_0x3c82d6,_0x20f30c),_0x886c4b=_0x801a5a[_0x801a5a[_0x1220f9(0x1a3)]-0x1],_0x2cd7da=new Map(),_0x2989b7={'model':{},'attributes':{},'changes':[]},_0x17a662=new Set(),_0x2f5f7c=new Map();for(let _0x175e4b=_0x801a5a[_0x1220f9(0x1a3)]-0x1;_0x175e4b>=0x0;_0x175e4b--){const _0x1b57bd=_0x801a5a[_0x175e4b];for(const _0x32ccc4 of Object[_0x1220f9(0x26d)](_0x1b57bd[_0x1220f9(0x169)]))if(_0x1b57bd[_0x1220f9(0x169)][_0x32ccc4][_0x1220f9(0x18a)]){const _0x4c23bb=_0x1b57bd[_0x1220f9(0x169)][_0x32ccc4][_0x1220f9(0x18a)];_0x4c23bb[_0x1220f9(0x21c)]?(_0x17a662[_0x1220f9(0x26f)](_0x32ccc4),_0x2f5f7c[_0x1220f9(0x1d7)](_0x32ccc4)&&_0x2f5f7c[_0x1220f9(0x263)](_0x32ccc4)[_0x1220f9(0x213)]==_0x4c23bb[_0x1220f9(0x213)]?_0x2f5f7c[_0x1220f9(0x1f5)](_0x32ccc4):_0x2f5f7c[_0x1220f9(0x232)](_0x32ccc4,_0x4c23bb)):_0x2f5f7c[_0x1220f9(0x1d7)](_0x32ccc4)?(_0x17a662[_0x1220f9(0x1f5)](_0x32ccc4),_0x2f5f7c[_0x1220f9(0x1f5)](_0x32ccc4)):(_0x17a662[_0x1220f9(0x26f)](_0x32ccc4),_0x2f5f7c[_0x1220f9(0x232)](_0x32ccc4,_0x4c23bb));}else _0x17a662[_0x1220f9(0x26f)](_0x32ccc4);}for(const _0x339604 of _0x17a662){const _0x3168c2=_0x2f5f7c[_0x1220f9(0x1d7)](_0x339604)&&!_0x2f5f7c[_0x1220f9(0x263)](_0x339604)[_0x1220f9(0x21c)];let _0xf6ec61=_0x3168c2?_0x801a5a[_0x1220f9(0x1a3)]-0x1:0x0;const _0x563c45=_0x3168c2?-0x1:0x1;for(;_0x801a5a[_0xf6ec61];){const _0x43e88c=_0x801a5a[_0xf6ec61];if(_0x43e88c[_0x1220f9(0x169)][_0x339604]){const _0x17e05e=_0x3168c2?_0x43e88c[_0x1220f9(0x169)][_0x339604][_0x1220f9(0x23e)]:_0x43e88c[_0x1220f9(0x169)][_0x339604][_0x1220f9(0x1cd)];_0x2989b7[_0x1220f9(0x294)][_0x339604]=_0x17e05e?_0x3eb833(_0x17e05e):{};break;}_0xf6ec61+=_0x563c45;}}for(const _0x399c49 of _0x801a5a){_0x399c49[_0x1220f9(0x237)]={};for(const _0x427fda of _0x399c49[_0x1220f9(0x15b)])_0x2cd7da[_0x1220f9(0x232)](_0x427fda['id'],_0x427fda);for(const _0x1a665b of _0x17a662){const _0x34b157=_0x399c49[_0x1220f9(0x169)][_0x1a665b]?_0x399c49[_0x1220f9(0x169)][_0x1a665b][_0x1220f9(0x25a)]:'[]',_0xdcc7aa=_0x399c49[_0x1220f9(0x169)][_0x1a665b]?_0x399c49[_0x1220f9(0x169)][_0x1a665b][_0x1220f9(0x18f)]:'[]';_0x399c49[_0x1220f9(0x237)][_0x1a665b]={'insertions':this[_0x1220f9(0x17f)](_0x34b157),'deletions':this[_0x1220f9(0x17f)](_0xdcc7aa)};}}for(const _0x2ca951 of _0x17a662){let _0x1ddcd2=null,_0x2898f3=0x0;const _0x4cfb23=new Map(Array[_0x1220f9(0x1c1)](_0x3c82d6[_0x1220f9(0x237)][_0x2ca951][_0x1220f9(0x25a)][_0x1220f9(0x16a)])[_0x1220f9(0x1c4)](([_0x5eaa50])=>!_0x5eaa50[_0x1220f9(0x1c3)](_0x1220f9(0x162))));let _0x2073bc=0x0;for(const _0x4721a7 of _0x801a5a){const _0x5dd81c=this[_0x1220f9(0x257)](_0x4721a7[_0x1220f9(0x237)][_0x2ca951][_0x1220f9(0x25a)]);_0x4721a7==_0x3c82d6?(_0x1ddcd2=_0x5dd81c,_0x2898f3=_0x1ddcd2[_0x1220f9(0x1a3)],_0x1ddcd2[_0x1220f9(0x295)](_0x557bf4=>{_0x557bf4['id']=_0x2073bc++;}),this[_0x1220f9(0x1de)](_0x1ddcd2)):this[_0x1220f9(0x1aa)](_0x1ddcd2,_0x5dd81c);const _0x1afd46=_0x1ddcd2[_0x1220f9(0x1c4)](_0x1d57ce=>!_0x1d57ce[_0x1220f9(0x202)])[_0x1220f9(0x2a7)](_0x197ae4=>_0x197ae4['id']);let _0x20f714=0x0;const _0x563422=this[_0x1220f9(0x257)](_0x4721a7[_0x1220f9(0x237)][_0x2ca951][_0x1220f9(0x18f)]);_0x563422[_0x1220f9(0x295)](_0x7366d0=>{const _0x3f2613=_0x1220f9;_0x7366d0[_0x3f2613(0x22e)]?_0x7366d0['id']=_0x2898f3++:_0x7366d0['id']=_0x1afd46[_0x20f714++];}),this[_0x1220f9(0x1de)](_0x563422),this[_0x1220f9(0x260)](_0x1ddcd2,_0x1220f9(0x202)),this[_0x1220f9(0x260)](_0x563422,_0x1220f9(0x22e)),_0x4721a7==_0x3c82d6&&this[_0x1220f9(0x27d)](_0x1ddcd2,_0x4cfb23),_0x1ddcd2=this[_0x1220f9(0x266)](_0x1ddcd2,_0x563422),this[_0x1220f9(0x24c)](_0x1ddcd2),this[_0x1220f9(0x260)](_0x1ddcd2,_0x1220f9(0x22e));}_0x1ddcd2=_0x1ddcd2[_0x1220f9(0x1c4)](_0x253a71=>!(_0x253a71[_0x1220f9(0x202)]&&_0x253a71[_0x1220f9(0x22e)]));const _0x3b2692=new Map(_0x886c4b[_0x1220f9(0x237)][_0x2ca951][_0x1220f9(0x18f)][_0x1220f9(0x16a)]),_0x1c2c2c=new Set(_0x4cfb23[_0x1220f9(0x26d)]());for(const _0x33593a of _0x3b2692[_0x1220f9(0x26d)]())_0x1c2c2c[_0x1220f9(0x1f5)](_0x33593a);this[_0x1220f9(0x1e4)](_0x1ddcd2,_0x1c2c2c),this[_0x1220f9(0x25e)](_0x1ddcd2),_0x1ddcd2=this[_0x1220f9(0x16f)](_0x1ddcd2),_0x1ddcd2=this[_0x1220f9(0x262)](_0x1ddcd2),_0x1ddcd2=this[_0x1220f9(0x217)](_0x1ddcd2);const {root:_0x3fc341,changes:_0x557301}=this[_0x1220f9(0x27f)](_0x1ddcd2,_0x2cd7da,_0x2ca951);_0x2989b7[_0x1220f9(0x237)][_0x2ca951]=_0x3fc341;const _0xc6a633=_0x2f5f7c[_0x1220f9(0x263)](_0x2ca951);if(_0xc6a633){const _0x4bedf4=_0x2cd7da[_0x1220f9(0x263)](_0xc6a633[_0x1220f9(0x213)]),_0x1b030e=new _0x3f419c({'author':_0x4bedf4,'type':_0xc6a633[_0x1220f9(0x21c)]?_0x1220f9(0x26f):_0x1220f9(0x27b),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2ca951});_0x557301[_0x1220f9(0x168)](_0x1b030e),_0x2989b7[_0x1220f9(0x294)][_0x2ca951][_0x1220f9(0x1e2)]=_0x1b030e['id'];}_0x2989b7[_0x1220f9(0x1b3)]=_0x2989b7[_0x1220f9(0x1b3)][_0x1220f9(0x210)](_0x557301);}return _0x2989b7;}[_0x3e8e7d(0x27d)](_0x55cb1c,_0x36a98e){const _0x171023=_0x3e8e7d;for(let _0x26a4b=0x0;_0x26a4b<_0x55cb1c[_0x171023(0x1a3)];_0x26a4b++)for(const [_0xdedfb8,_0x1c960c]of _0x36a98e)_0x1c960c[_0x171023(0x1fe)][_0x171023(0x19c)](_0x55cb1c[_0x26a4b][_0x171023(0x1b9)])&&_0x55cb1c[_0x26a4b][_0x171023(0x1d5)][_0x171023(0x241)](_0xdedfb8),_0x1c960c[_0x171023(0x17d)][_0x171023(0x19c)](_0x55cb1c[_0x26a4b][_0x171023(0x1eb)])&&_0x55cb1c[_0x26a4b][_0x171023(0x17b)][_0x171023(0x241)](_0xdedfb8);}[_0x3e8e7d(0x266)](_0xc9d589,_0x3987f6){const _0x5e8e36=_0x3e8e7d;let _0x5142b1=[],_0x22a06b=0x0,_0x12a046=0x0;for(;_0x22a06b<_0xc9d589[_0x5e8e36(0x1a3)]||_0x12a046<_0x3987f6[_0x5e8e36(0x1a3)];){const _0x67860e=_0xc9d589[_0x22a06b]||{},_0x3324cd=_0x3987f6[_0x12a046]||{};if(_0x67860e['id']==_0x3324cd['id'])_0x22a06b++,_0x12a046++,_0x5142b1[_0x5e8e36(0x241)](_0x67860e);else{if(_0x3324cd[_0x5e8e36(0x22e)]&&_0x67860e[_0x5e8e36(0x202)]){const {commonTape:_0x390ae1,iEnd:_0x480ae8,jEnd:_0x2e700a}=this[_0x5e8e36(0x29d)](_0xc9d589,_0x22a06b,_0x3987f6,_0x12a046);_0x5142b1=_0x5142b1[_0x5e8e36(0x210)](_0x390ae1),_0x22a06b=_0x480ae8,_0x12a046=_0x2e700a;}else _0x3324cd[_0x5e8e36(0x22e)]?(_0x12a046++,_0x5142b1[_0x5e8e36(0x241)](_0x3324cd)):(_0x22a06b++,_0x5142b1[_0x5e8e36(0x241)](_0x67860e));}}return _0x5142b1;}[_0x3e8e7d(0x1e4)](_0x4a5bf6,_0x51c930){const _0x2e3e0f=_0x3e8e7d,_0x5b84b5=[];for(let _0x306daf=0x0;_0x306daf<_0x4a5bf6[_0x2e3e0f(0x1a3)];_0x306daf++){for(let _0x41fa91=0x0;_0x41fa91<_0x4a5bf6[_0x306daf][_0x2e3e0f(0x1d5)][_0x2e3e0f(0x1a3)];_0x41fa91++){const _0x362ba4=_0x4a5bf6[_0x306daf][_0x2e3e0f(0x1d5)][_0x41fa91];if(!_0x51c930[_0x2e3e0f(0x1d7)](_0x362ba4))continue;const {group:_0x563539,type:_0x304683,authorId:_0x38091e}=_0x39378d(_0x362ba4);_0x2e3e0f(0x1ca)!=_0x563539||_0x2e3e0f(0x15a)!=_0x304683&&_0x2e3e0f(0x1da)!=_0x304683||(_0x5b84b5[_0x2e3e0f(0x168)]({'type':_0x304683,'name':_0x362ba4,'userId':_0x38091e}),_0x4a5bf6[_0x306daf][_0x2e3e0f(0x1d5)][_0x2e3e0f(0x15d)](_0x41fa91,0x1),_0x41fa91--);}_0x51496c(_0x4a5bf6[_0x306daf]);for(let _0x2191ec=0x0;_0x2191ec<_0x4a5bf6[_0x306daf][_0x2e3e0f(0x17b)][_0x2e3e0f(0x1a3)];_0x2191ec++){const _0x504cd1=_0x4a5bf6[_0x306daf][_0x2e3e0f(0x17b)][_0x2191ec];if(!_0x51c930[_0x2e3e0f(0x1d7)](_0x504cd1))continue;const {group:_0x29e70d,type:_0x25423f}=_0x39378d(_0x504cd1);if(_0x2e3e0f(0x1ca)!=_0x29e70d||_0x2e3e0f(0x15a)!=_0x25423f&&_0x2e3e0f(0x1da)!=_0x25423f)continue;_0x4a5bf6[_0x306daf][_0x2e3e0f(0x17b)][_0x2e3e0f(0x15d)](_0x2191ec,0x1),_0x2191ec--;const _0x55dd55=_0x5b84b5[_0x2e3e0f(0x1c7)](_0x493841=>_0x493841[_0x2e3e0f(0x2a3)]==_0x504cd1);_0x55dd55>-0x1&&_0x5b84b5[_0x2e3e0f(0x15d)](_0x55dd55,0x1);}}function _0x39378d(_0x5366a0){const _0x13a070=_0x2e3e0f,_0x2414b9=_0x5366a0[_0x13a070(0x1f6)](':');return{'group':_0x2414b9[0x0],'type':_0x2414b9[0x1],'subType':_0x2414b9[_0x13a070(0x1a3)]>=0x5?_0x2414b9[0x2]:null,'id':_0x2414b9[_0x13a070(0x1a3)]<0x5?_0x2414b9[0x2]:_0x2414b9[0x3],'authorId':_0x2414b9[_0x13a070(0x1a3)]<0x5?_0x2414b9[0x3]:_0x2414b9[0x4],'markerCount':0x6==_0x2414b9[_0x13a070(0x1a3)]?_0x2414b9[0x5]:null};}function _0x51496c(_0x416e3e){const _0x413b6f=_0x2e3e0f;for(let _0x56eba0=0x0;_0x56eba0<_0x5b84b5[_0x413b6f(0x1a3)];_0x56eba0++){if(_0x416e3e[_0x413b6f(0x202)]&&_0x413b6f(0x15a)==_0x5b84b5[_0x56eba0][_0x413b6f(0x251)])return _0x416e3e[_0x413b6f(0x1e9)]=_0x5b84b5[_0x56eba0],void delete _0x416e3e[_0x413b6f(0x202)];if(!_0x416e3e[_0x413b6f(0x202)]&&!_0x416e3e[_0x413b6f(0x22e)]&&_0x413b6f(0x1da)==_0x5b84b5[_0x56eba0][_0x413b6f(0x251)])return void(_0x416e3e[_0x413b6f(0x280)]=_0x5b84b5[_0x56eba0]);}}}[_0x3e8e7d(0x260)](_0x2bd964,_0x3e51d8){const _0x3f3c8c=_0x3e8e7d;let _0x339343=0x0,_0x22920e=!0x1;const _0x26fd60=new Map();for(const _0xe1404e of _0x2bd964)_0xe1404e[_0x3e51d8]?_0x22920e&&(_0x339343++,_0x22920e=!0x1):(_0x339343++,_0x22920e=!0x0),_0x26fd60[_0x3f3c8c(0x232)](_0xe1404e['id'],_0x339343);for(let _0x5d9ceb=0x0;_0x5d9ceb<_0x2bd964[_0x3f3c8c(0x1a3)];_0x5d9ceb++){if(_0x3f3c8c(0x22e)==_0x3e51d8&&_0x2bd964[_0x5d9ceb][_0x3f3c8c(0x202)]||_0x3f3c8c(0x202)==_0x3e51d8&&_0x2bd964[_0x5d9ceb][_0x3f3c8c(0x22e)])continue;if(_0x3f3c8c(0x23b)==_0x2bd964[_0x5d9ceb][_0x3f3c8c(0x251)]){_0x2bd964[_0x5d9ceb][_0x3f3c8c(0x1ab)]=0x0;continue;}const _0x36b21c=_0x26fd60[_0x3f3c8c(0x263)](_0x2bd964[_0x5d9ceb][_0x3f3c8c(0x159)]),_0x4729f0=_0x26fd60[_0x3f3c8c(0x263)](_0x2bd964[_0x5d9ceb]['id']);_0x2bd964[_0x5d9ceb][_0x3f3c8c(0x1ab)]=_0x36b21c-_0x4729f0;}}[_0x3e8e7d(0x272)](_0x57cc89,_0x2ac6bf,_0x5144b1=!0x1){const _0x29f055=_0x3e8e7d,_0x54ccb1=[];let _0x43f395=this[_0x29f055(0x1f4)][_0x29f055(0x23a)](_0x57cc89),_0x5862d9=this[_0x29f055(0x1f4)][_0x29f055(0x23a)](_0x2ac6bf);for(-0x1==_0x5862d9&&(_0x5862d9=this[_0x29f055(0x1f4)][_0x29f055(0x20e)][_0x29f055(0x1a3)],_0x5144b1=!0x1);_0x43f395<_0x5862d9;)_0x54ccb1[_0x29f055(0x241)](this[_0x29f055(0x1f4)][_0x29f055(0x29f)](_0x43f395)),_0x43f395++;return _0x5144b1&&_0x54ccb1[_0x29f055(0x241)](this[_0x29f055(0x1f4)][_0x29f055(0x29f)](_0x43f395)),_0x54ccb1;}[_0x3e8e7d(0x29d)](_0x3967fb,_0x385ea7,_0x3f7f75,_0x4cb634){const _0x506e72=_0x3e8e7d,_0x373fa0=this[_0x506e72(0x244)][_0x506e72(0x237)][_0x506e72(0x27c)];let _0x351014=_0x385ea7;for(;_0x3967fb[_0x351014]&&_0x3967fb[_0x351014][_0x506e72(0x202)];)_0x351014++;let _0x42485c=_0x4cb634;for(;_0x3f7f75[_0x42485c]&&_0x3f7f75[_0x42485c][_0x506e72(0x22e)];)_0x42485c++;_0x3fe759(_0x3967fb,_0x385ea7,_0x351014),_0x3fe759(_0x3f7f75,_0x4cb634,_0x42485c);const _0x31b88f=_0x3f7f75[_0x506e72(0x15c)](_0x4cb634,_0x42485c)[_0x506e72(0x210)](_0x3967fb[_0x506e72(0x15c)](_0x385ea7,_0x351014));return _0x31b88f[_0x506e72(0x19f)]((_0x5f97,_0x1cdc42)=>_0x5f97[_0x506e72(0x188)]!=_0x1cdc42[_0x506e72(0x188)]?_0x5f97[_0x506e72(0x188)]-_0x1cdc42[_0x506e72(0x188)]:_0x5f97[_0x506e72(0x286)]!=_0x1cdc42[_0x506e72(0x286)]?_0x5f97[_0x506e72(0x286)]-_0x1cdc42[_0x506e72(0x286)]:_0x5f97[_0x506e72(0x1ab)]!=_0x1cdc42[_0x506e72(0x1ab)]?_0x1cdc42[_0x506e72(0x1ab)]-_0x5f97[_0x506e72(0x1ab)]:!!_0x5f97[_0x506e72(0x202)]!=!!_0x1cdc42[_0x506e72(0x202)]?-0x1==_0x5f97[_0x506e72(0x188)]||0x0==_0x5f97[_0x506e72(0x188)]?_0x5f97[_0x506e72(0x202)]?-0x1:0x1:_0x5f97[_0x506e72(0x202)]?0x1:-0x1:_0x5f97[_0x506e72(0x29c)]-_0x1cdc42[_0x506e72(0x29c)]),{'commonTape':_0x31b88f,'iEnd':_0x351014,'jEnd':_0x42485c};function _0x3fe759(_0x52319d,_0x565994,_0x2f4c4f){const _0x2665ea=_0x506e72;let _0x148dd2=-0x1,_0x4f2e2b=Number[_0x2665ea(0x293)],_0x1a4ff1=!0x0;for(let _0x370dbd=_0x565994;_0x370dbd<_0x2f4c4f;_0x370dbd++)if(_0x373fa0[_0x2665ea(0x1b1)](_0x52319d[_0x370dbd][_0x2665ea(0x25d)])||(_0x1a4ff1=!0x1),_0x52319d[_0x370dbd][_0x2665ea(0x25d)][_0x2665ea(0x21f)]<_0x565994&&(_0x148dd2=_0x370dbd),_0x52319d[_0x370dbd][_0x2665ea(0x25d)][_0x2665ea(0x161)]>=_0x2f4c4f){_0x4f2e2b=_0x370dbd;break;}_0x1a4ff1&&(_0x148dd2=_0x2f4c4f-0x1);for(let _0x25a463=_0x565994;_0x25a463<_0x2f4c4f;_0x25a463++)_0x52319d[_0x25a463][_0x2665ea(0x188)]=_0x25a463<=_0x148dd2?-0x1:_0x25a463<_0x4f2e2b?0x0:0x1,_0x52319d[_0x25a463][_0x2665ea(0x29c)]=_0x25a463;let _0x575906=0x0;for(let _0xe47f03=_0x565994;_0xe47f03<=_0x148dd2;_0xe47f03++)0x0==_0x52319d[_0xe47f03][_0x2665ea(0x1ab)]?_0x52319d[_0xe47f03][_0x2665ea(0x286)]=_0x575906:(_0x575906++,_0x52319d[_0xe47f03][_0x2665ea(0x286)]=_0x575906,_0x575906++);for(let _0x1ccaa9=_0x565994;_0x1ccaa9<_0x2f4c4f;_0x1ccaa9++)0x0==_0x52319d[_0x1ccaa9][_0x2665ea(0x188)]&&(_0x52319d[_0x1ccaa9][_0x2665ea(0x286)]=_0x575906);_0x575906=0x0;for(let _0x53c535=_0x2f4c4f-0x1;_0x53c535>=_0x4f2e2b;_0x53c535--)0x0==_0x52319d[_0x53c535][_0x2665ea(0x1ab)]?_0x52319d[_0x53c535][_0x2665ea(0x286)]=_0x575906:(_0x575906--,_0x52319d[_0x53c535][_0x2665ea(0x286)]=_0x575906,_0x575906--);}}[_0x3e8e7d(0x25e)](_0x8371f5){const _0x18612a=_0x3e8e7d,_0x503504=new Map(),_0x14f57c=this[_0x18612a(0x244)][_0x18612a(0x237)][_0x18612a(0x27c)];for(let _0x336e00=0x1;_0x336e00<_0x8371f5[_0x18612a(0x1a3)];_0x336e00++){let _0x2b0e79,_0x305717,_0xa4c9bf;const _0x2f372f=_0x8371f5[_0x336e00],_0x53191e=_0x8371f5[_0x336e00-0x1];if(_0x18612a(0x23b)==_0x2f372f[_0x18612a(0x251)])continue;if(_0x2f372f[_0x18612a(0x251)]!=_0x53191e[_0x18612a(0x251)])continue;if(!_0x14f57c[_0x18612a(0x1ce)](_0x53191e[_0x18612a(0x25d)])||_0x14f57c[_0x18612a(0x1c9)](_0x53191e[_0x18612a(0x25d)]))continue;if(!_0x14f57c[_0x18612a(0x1ce)](_0x2f372f[_0x18612a(0x25d)])||_0x14f57c[_0x18612a(0x1c9)](_0x2f372f[_0x18612a(0x25d)]))continue;if((_0x8371f5[_0x336e00][_0x18612a(0x202)]||_0x8371f5[_0x336e00][_0x18612a(0x1e9)])&&_0x8371f5[_0x336e00-0x1][_0x18612a(0x22e)])_0x2b0e79=_0x8371f5[_0x336e00],_0x305717=_0x8371f5[_0x336e00-0x1],_0xa4c9bf=_0x336e00-0x1;else{if(!_0x8371f5[_0x336e00][_0x18612a(0x22e)]||!_0x8371f5[_0x336e00-0x1][_0x18612a(0x202)]&&!_0x8371f5[_0x336e00-0x1][_0x18612a(0x1e9)])continue;_0x2b0e79=_0x8371f5[_0x336e00-0x1],_0x305717=_0x8371f5[_0x336e00],_0xa4c9bf=_0x336e00;}const _0x19ec47=_0x2b0e79[_0x18612a(0x286)]==_0x305717[_0x18612a(0x286)],_0x382b44=Math[_0x18612a(0x19b)](_0x2b0e79[_0x18612a(0x286)])<Math[_0x18612a(0x19b)](_0x305717[_0x18612a(0x286)])&&0x0==_0x305717[_0x18612a(0x1ab)];(_0x19ec47||_0x382b44)&&(_0x503504[_0x18612a(0x232)](_0x305717['id'],_0x2b0e79['id']),_0x8371f5[_0x18612a(0x15d)](_0xa4c9bf,0x1),_0x336e00--,_0x2b0e79[_0x18612a(0x202)]=!0x1);}for(let _0x52756c=0x0;_0x52756c<_0x8371f5[_0x18612a(0x1a3)];_0x52756c++)_0x503504[_0x18612a(0x1d7)](_0x8371f5[_0x52756c][_0x18612a(0x159)])&&(_0x8371f5[_0x52756c][_0x18612a(0x159)]=_0x503504[_0x18612a(0x263)](_0x8371f5[_0x52756c][_0x18612a(0x159)]));}[_0x3e8e7d(0x16f)](_0x5892a4){const _0x1aa598=_0x3e8e7d,_0x1821a3=new Set(_0x5892a4[_0x1aa598(0x2a7)](_0x23b9fe=>_0x23b9fe['id']));for(let _0x30ce37=0x0;_0x30ce37<_0x5892a4[_0x1aa598(0x1a3)];_0x30ce37++)_0x1821a3[_0x1aa598(0x1d7)](_0x5892a4[_0x30ce37][_0x1aa598(0x159)])||0x0==_0x5892a4[_0x30ce37][_0x1aa598(0x1ab)]||(_0x5892a4[_0x30ce37][_0x1aa598(0x247)]=!0x0);return _0x5892a4[_0x1aa598(0x1c4)](_0x2c049d=>!_0x2c049d[_0x1aa598(0x247)]);}[_0x3e8e7d(0x262)](_0x250b9d){const _0x11e252=_0x3e8e7d,_0x173ae3=new Set();for(let _0x5da736=0x0;_0x5da736<_0x250b9d[_0x11e252(0x1a3)];_0x5da736++){if(_0x173ae3[_0x11e252(0x1d7)](_0x250b9d[_0x5da736]['id'])&&_0x250b9d[_0x5da736][_0x11e252(0x22e)]&&(_0x250b9d[_0x5da736][_0x11e252(0x247)]=!0x0),_0x250b9d[_0x5da736][_0x11e252(0x247)])continue;if(0x0==_0x250b9d[_0x5da736][_0x11e252(0x1ab)])continue;if(_0x11e252(0x20f)!=_0x250b9d[_0x5da736][_0x11e252(0x251)])continue;if(null==_0x250b9d[_0x5da736][_0x11e252(0x159)])continue;let _0x416b8f=_0x5da736+0x1,_0x52f522=0x0;for(;_0x250b9d[_0x416b8f]['id']!=_0x250b9d[_0x5da736][_0x11e252(0x159)];)_0x11e252(0x20f)==_0x250b9d[_0x416b8f][_0x11e252(0x251)]?_0x52f522++:_0x11e252(0x172)==_0x250b9d[_0x416b8f][_0x11e252(0x251)]&&_0x52f522--,_0x416b8f++;if(0x0!=_0x52f522){if(_0x250b9d[_0x5da736][_0x11e252(0x22e)])_0x250b9d[_0x5da736][_0x11e252(0x247)]=!0x0;else{for(;_0x416b8f!=_0x5da736;)_0x250b9d[_0x416b8f][_0x11e252(0x22e)]&&0x0!=_0x250b9d[_0x416b8f][_0x11e252(0x1ab)]&&(_0x250b9d[_0x416b8f][_0x11e252(0x247)]=!0x0,_0x173ae3[_0x11e252(0x26f)](_0x250b9d[_0x416b8f][_0x11e252(0x159)])),_0x416b8f--;}}}return _0x250b9d[_0x11e252(0x1c4)](_0x31e280=>!_0x31e280[_0x11e252(0x247)]);}[_0x3e8e7d(0x217)](_0x4eab93){const _0x910b34=_0x3e8e7d,_0x44e806=this[_0x910b34(0x244)][_0x910b34(0x237)][_0x910b34(0x27c)];for(let _0x5a9472=0x0;_0x5a9472<_0x4eab93[_0x910b34(0x1a3)];_0x5a9472++){if(!(_0x4eab93[_0x5a9472][_0x910b34(0x202)]||_0x4eab93[_0x5a9472][_0x910b34(0x1e9)]||_0x4eab93[_0x5a9472][_0x910b34(0x22e)]||_0x4eab93[_0x5a9472][_0x910b34(0x280)]))continue;if(0x0==_0x4eab93[_0x5a9472][_0x910b34(0x1ab)])continue;const _0x19267e=_0x4eab93[_0x5a9472][_0x910b34(0x25d)];_0x44e806[_0x910b34(0x1ce)](_0x19267e)||_0x44e806[_0x910b34(0x1c9)](_0x19267e)||(_0x4eab93[_0x5a9472][_0x910b34(0x202)]&&delete _0x4eab93[_0x5a9472][_0x910b34(0x202)],_0x4eab93[_0x5a9472][_0x910b34(0x1e9)]&&delete _0x4eab93[_0x5a9472][_0x910b34(0x1e9)],_0x4eab93[_0x5a9472][_0x910b34(0x280)]&&delete _0x4eab93[_0x5a9472][_0x910b34(0x280)],_0x4eab93[_0x5a9472][_0x910b34(0x22e)]&&(_0x4eab93[_0x5a9472][_0x910b34(0x247)]=!0x0));}return _0x4eab93[_0x910b34(0x1c4)](_0x5be946=>!_0x5be946[_0x910b34(0x247)]);}[_0x3e8e7d(0x27f)](_0x2dc405,_0x51e1a5,_0x209fe2){const _0x315a8=_0x3e8e7d,_0x5aad6a=new _0x596a02(),_0x5d2e54=[],_0x146750=new Map(),_0x406b39=this[_0x315a8(0x244)][_0x315a8(0x237)],_0x69ff72=_0x406b39[_0x315a8(0x27c)],_0x309e46=[_0x5aad6a],_0x5936e1={},_0x489c94={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x34c9cf=null;const _0x413c01=[0x0];for(let _0x242404=0x0;_0x242404<_0x2dc405[_0x315a8(0x1a3)];_0x242404++)if(_0x315a8(0x20f)===_0x2dc405[_0x242404][_0x315a8(0x251)]){_0x2dc405[_0x242404][_0x315a8(0x1b9)]=_0x406b39[_0x315a8(0x1a0)](_0x5aad6a,_0x413c01);const _0x14d394=new _0x12aa57(_0x2dc405[_0x242404][_0x315a8(0x25d)][_0x315a8(0x2a3)],_0x2dc405[_0x242404][_0x315a8(0x25d)][_0x315a8(0x163)]());_0x309e46[0x0][_0x315a8(0x1b6)](_0x14d394),_0x413c01[_0x315a8(0x241)](0x0),_0x309e46[_0x315a8(0x168)](_0x14d394),_0x2dc405[_0x242404][_0x315a8(0x1eb)]=_0x406b39[_0x315a8(0x1a0)](_0x5aad6a,_0x413c01);}else _0x315a8(0x172)===_0x2dc405[_0x242404][_0x315a8(0x251)]?(_0x309e46[_0x315a8(0x1be)](),_0x2dc405[_0x242404][_0x315a8(0x1b9)]=_0x406b39[_0x315a8(0x1a0)](_0x5aad6a,_0x413c01),_0x413c01[_0x315a8(0x1a4)](),_0x413c01[_0x413c01[_0x315a8(0x1a3)]-0x1]++,_0x2dc405[_0x242404][_0x315a8(0x1eb)]=_0x406b39[_0x315a8(0x1a0)](_0x5aad6a,_0x413c01)):(_0x2dc405[_0x242404][_0x315a8(0x1b9)]=_0x406b39[_0x315a8(0x1a0)](_0x5aad6a,_0x413c01),_0x34c9cf?_0x34c9cf[_0x315a8(0x291)]+=_0x2dc405[_0x242404][_0x315a8(0x25d)][_0x315a8(0x183)]:_0x34c9cf=new _0x1b3b34(_0x2dc405[_0x242404][_0x315a8(0x25d)][_0x315a8(0x183)],_0x2dc405[_0x242404][_0x315a8(0x25d)][_0x315a8(0x163)]()),_0x2dc405[_0x242404+0x1]&&_0x315a8(0x23b)===_0x2dc405[_0x242404+0x1][_0x315a8(0x251)]&&_0x5913b4(_0x34c9cf,_0x2dc405[_0x242404+0x1][_0x315a8(0x25d)])||(_0x309e46[0x0][_0x315a8(0x1b6)](_0x34c9cf),_0x34c9cf=null),_0x413c01[_0x413c01[_0x315a8(0x1a3)]-0x1]+=_0x2dc405[_0x242404][_0x315a8(0x25d)][_0x315a8(0x1c6)],_0x2dc405[_0x242404][_0x315a8(0x1eb)]=_0x406b39[_0x315a8(0x1a0)](_0x5aad6a,_0x413c01));for(let _0x1f7864=0x0;_0x1f7864<_0x2dc405[_0x315a8(0x1a3)];_0x1f7864++){const _0x255b21=_0x2dc405[_0x1f7864][_0x315a8(0x1b9)],_0x16959f=_0x2dc405[_0x1f7864][_0x315a8(0x1eb)];for(const _0x1459ab of _0x2dc405[_0x1f7864][_0x315a8(0x1d5)])_0x146750[_0x315a8(0x232)](_0x1459ab,{'start':_0x255b21,'end':null});_0x170597(_0x315a8(0x280),_0x1f7864,_0x255b21,_0x16959f),_0x170597(_0x315a8(0x1e9),_0x1f7864,_0x255b21,_0x16959f),_0x170597(_0x315a8(0x22e),_0x1f7864,_0x255b21,_0x16959f),_0x170597(_0x315a8(0x202),_0x1f7864,_0x255b21,_0x16959f);for(const _0x41e1ed of _0x2dc405[_0x1f7864][_0x315a8(0x17b)]){_0x146750[_0x315a8(0x263)](_0x41e1ed)[_0x315a8(0x17d)]=_0x16959f;}}for(const [_0x200a56,_0x43dcb8]of _0x146750){const _0x211f99=this[_0x315a8(0x244)][_0x315a8(0x237)][_0x315a8(0x20b)](_0x43dcb8[_0x315a8(0x1fe)],_0x43dcb8[_0x315a8(0x17d)]);_0x5aad6a[_0x315a8(0x16a)][_0x315a8(0x232)](_0x200a56,_0x211f99);}return _0x5d2e54[_0x315a8(0x19f)]((_0x3b8aec,_0x5a5ce5)=>{const _0x1b0768=_0x315a8,_0x264458=_0x5aad6a[_0x1b0768(0x16a)][_0x1b0768(0x263)](_0x1b0768(0x162)+_0x3b8aec['id']),_0x24b0da=_0x5aad6a[_0x1b0768(0x16a)][_0x1b0768(0x263)](_0x1b0768(0x162)+_0x5a5ce5['id']);return _0x264458[_0x1b0768(0x1fe)][_0x1b0768(0x268)](_0x24b0da[_0x1b0768(0x1fe)])?-0x1:_0x264458[_0x1b0768(0x1fe)][_0x1b0768(0x1d8)](_0x24b0da[_0x1b0768(0x1fe)])?0x1:_0x264458[_0x1b0768(0x17d)][_0x1b0768(0x268)](_0x24b0da[_0x1b0768(0x17d)])?-0x1:_0x264458[_0x1b0768(0x17d)][_0x1b0768(0x1d8)](_0x24b0da[_0x1b0768(0x17d)])?0x1:_0x1b0768(0x26f)===_0x3b8aec[_0x1b0768(0x251)]?-0x1:0x1;}),{'root':_0x5aad6a,'changes':_0x5d2e54};function _0x170597(_0x54c145,_0x346321,_0x17858c,_0x2aa45a){const _0x4574c8=_0x315a8,_0x371008=!!_0x2dc405[_0x346321][_0x54c145],_0x3bfd1b=_0x371008?_0x2dc405[_0x346321][_0x54c145][_0x4574c8(0x213)]:null,_0x2c379a=_0x346321===_0x2dc405[_0x4574c8(0x1a3)]-0x1,_0x266f52=_0x489c94[_0x54c145][0x0],_0xe06301=_0x69ff72[_0x4574c8(0x22a)](_0x2dc405[_0x346321][_0x4574c8(0x25d)]);!_0x5936e1[_0x54c145]&&_0x371008?_0x5936e1[_0x54c145]={'start':_0x17858c,'tapeItem':_0x2dc405[_0x346321],'userId':_0x3bfd1b,'type':_0x54c145}:_0x5936e1[_0x54c145]&&!_0x371008?(_0x5936e1[_0x54c145][_0x4574c8(0x17d)]=_0x17858c,_0x26d536(_0x5936e1[_0x54c145]),_0x5936e1[_0x54c145]=null):_0x5936e1[_0x54c145]&&_0x371008&&_0x5936e1[_0x54c145][_0x4574c8(0x213)]!==_0x3bfd1b&&(_0x5936e1[_0x54c145][_0x4574c8(0x17d)]=_0x17858c,_0x266f52&&_0x266f52[_0x4574c8(0x213)]===_0x5936e1[_0x54c145][_0x4574c8(0x213)]||_0x26d536(_0x5936e1[_0x54c145]),_0x5936e1[_0x54c145]={'start':_0x17858c,'tapeItem':_0x2dc405[_0x346321],'userId':_0x3bfd1b,'type':_0x54c145}),_0x5936e1[_0x54c145]&&_0xe06301&&(_0x4574c8(0x20f)!==_0x2dc405[_0x346321][_0x4574c8(0x251)]||_0x266f52&&_0x266f52[_0x4574c8(0x213)]===_0x3bfd1b||_0x489c94[_0x54c145][_0x4574c8(0x168)]({'userId':_0x3bfd1b,'object':_0x2dc405[_0x346321][_0x4574c8(0x25d)],'change':_0x5936e1[_0x54c145]}),_0x4574c8(0x172)===_0x2dc405[_0x346321][_0x4574c8(0x251)]&&_0x266f52&&_0x266f52[_0x4574c8(0x273)]===_0x2dc405[_0x346321][_0x4574c8(0x25d)]&&(_0x489c94[_0x54c145][_0x4574c8(0x1be)](),_0x5936e1[_0x54c145]=_0x266f52[_0x4574c8(0x240)])),_0x5936e1[_0x54c145]&&_0x2c379a&&(_0x5936e1[_0x54c145][_0x4574c8(0x17d)]=_0x2aa45a,_0x26d536(_0x5936e1[_0x54c145]),_0x5936e1[_0x54c145]=null);}function _0x26d536({start:_0x7c0e43,end:_0x3d36c2,tapeItem:_0x1c7173,userId:_0xbc6fc5,type:_0x4b2eca}){const _0x22db6a=_0x315a8,_0x3086a6=_0x1c7173[_0x22db6a(0x25d)],_0xad1e3a=_0x406b39[_0x22db6a(0x27c)][_0x22db6a(0x1ce)](_0x3086a6)&&!_0x406b39[_0x22db6a(0x27c)][_0x22db6a(0x1c9)](_0x3086a6),_0x31769b=_0x7c0e43[_0x22db6a(0x24f)]==_0x3d36c2[_0x22db6a(0x299)]&&_0x3d36c2[_0x22db6a(0x258)];if(_0xad1e3a&&_0x31769b)return;const _0x262592=_0x406b39[_0x22db6a(0x20b)](_0x7c0e43,_0x3d36c2),_0x104106=_0x51e1a5[_0x22db6a(0x263)](_0xbc6fc5),_0x262a46=new _0x3f419c({'author':_0x104106,'type':_0x22db6a(0x202)==_0x4b2eca||_0x22db6a(0x1e9)==_0x4b2eca?_0x22db6a(0x26f):_0x22db6a(0x27b),'data':{'isSuggestion':_0x22db6a(0x1e9)==_0x4b2eca||_0x22db6a(0x280)==_0x4b2eca},'createdAt':new Date(),'rootName':_0x209fe2});_0x5d2e54[_0x22db6a(0x241)](_0x262a46),_0x5aad6a[_0x22db6a(0x16a)][_0x22db6a(0x232)](_0x22db6a(0x162)+_0x262a46['id'],_0x262592);}function _0x5913b4(_0x5c0726,_0x4b3848){const _0x80a634=_0x315a8,_0x346800=_0x5c0726[_0x80a634(0x163)](),_0x5c9dc4=_0x4b3848[_0x80a634(0x163)]();for(const _0x2c6d15 of _0x346800){if(_0x2c6d15[0x1]!==_0x4b3848[_0x80a634(0x248)](_0x2c6d15[0x0]))return!0x1;_0x5c9dc4[_0x80a634(0x21a)]();}return _0x5c9dc4[_0x80a634(0x21a)]()[_0x80a634(0x253)];}}[_0x3e8e7d(0x1ae)](){const _0x3c9ed9=_0x3e8e7d;this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x175))[_0x3c9ed9(0x28b)]({'view':_0x3c9ed9(0x1d3)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x1b2))[_0x3c9ed9(0x250)]({'model':_0x3c9ed9(0x1d3),'view':_0x271dcf=>{const _0xd94cd1=_0x3c9ed9,_0x245078=_0x271dcf[_0xd94cd1(0x166)][_0xd94cd1(0x1f6)](':')[0x1],_0x4c7366=this[_0xd94cd1(0x1df)](_0x245078);if(!_0x4c7366)return null;const _0x460a4f=_0xd94cd1(0x26f)==_0x4c7366[_0xd94cd1(0x251)]?_0xd94cd1(0x15a):_0xd94cd1(0x1da),_0x5b0a2b=[_0xd94cd1(0x236),_0xd94cd1(0x1f8)+_0x460a4f];return _0x4c7366[_0xd94cd1(0x183)][_0xd94cd1(0x195)]&&_0x5b0a2b[_0xd94cd1(0x241)](_0xd94cd1(0x1f8)+_0x460a4f+_0xd94cd1(0x192)),this[_0xd94cd1(0x18c)]==_0x4c7366&&_0x5b0a2b[_0xd94cd1(0x241)](_0xd94cd1(0x22d)),{'classes':_0x5b0a2b,'attributes':{'data-change-id':_0x245078}};}}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x175))[_0x3c9ed9(0x26f)](_0x10adf5=>{const _0x176199=_0x3c9ed9;_0x10adf5['on'](_0x176199(0x2a1),(_0x496441,_0x527d99,_0x3d9a5b)=>{const _0x31efe8=_0x176199,_0x73bb12=_0x527d99[_0x31efe8(0x285)][_0x31efe8(0x277)](0x0);if(!_0x73bb12||!_0x73bb12['is'](_0x31efe8(0x29a),_0x31efe8(0x297)))return;if(!_0x3d9a5b[_0x31efe8(0x16b)][_0x31efe8(0x211)](_0x73bb12,{'attributes':[_0x31efe8(0x203),_0x31efe8(0x215)]}))return;const _0x1f78c2=_0x527d99[_0x31efe8(0x270)][_0x31efe8(0x1fe)][_0x31efe8(0x24f)];_0x3d9a5b[_0x31efe8(0x2a6)][_0x31efe8(0x193)](_0x31efe8(0x203),_0x73bb12[_0x31efe8(0x248)](_0x31efe8(0x203)),_0x1f78c2),_0x3d9a5b[_0x31efe8(0x2a6)][_0x31efe8(0x193)](_0x31efe8(0x215),_0x73bb12[_0x31efe8(0x248)](_0x31efe8(0x215)),_0x1f78c2);},{'priority':_0x176199(0x19d)});}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x175))[_0x3c9ed9(0x26f)](_0x21dac1=>{const _0x54b0a7=_0x3c9ed9;_0x21dac1['on'](_0x54b0a7(0x29a),(_0x435a9f,_0x448c71,_0x49f696)=>{const _0x1efe82=_0x54b0a7;if(!_0x49f696[_0x1efe82(0x16b)][_0x1efe82(0x211)](_0x448c71[_0x1efe82(0x285)],{'attributes':[_0x1efe82(0x203),_0x1efe82(0x215)]}))return;if(_0x448c71[_0x1efe82(0x270)][_0x1efe82(0x229)])return;const _0x3423f3=_0x448c71[_0x1efe82(0x270)][_0x1efe82(0x1fe)][_0x1efe82(0x24f)];_0x3423f3[_0x1efe82(0x19a)](_0x1efe82(0x203))||_0x3423f3[_0x1efe82(0x19a)](_0x1efe82(0x26e))||(_0x49f696[_0x1efe82(0x2a6)][_0x1efe82(0x193)](_0x1efe82(0x203),_0x448c71[_0x1efe82(0x285)][_0x1efe82(0x248)](_0x1efe82(0x203)),_0x3423f3),_0x49f696[_0x1efe82(0x2a6)][_0x1efe82(0x193)](_0x1efe82(0x215),_0x448c71[_0x1efe82(0x285)][_0x1efe82(0x248)](_0x1efe82(0x215)),_0x3423f3));},{'priority':_0x54b0a7(0x19d)});}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x175))[_0x3c9ed9(0x1e8)]({'view':{'name':_0x3c9ed9(0x267),'attributes':{'vid':!0x0}},'model':{'key':_0x3c9ed9(0x26e),'value':_0x2ff50a=>_0x2ff50a[_0x3c9ed9(0x248)](_0x3c9ed9(0x26e))}}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x237)][_0x3c9ed9(0x27c)]['on'](_0x3c9ed9(0x2a5),(_0x51a050,[,_0x4da0f0])=>{const _0x472ec9=_0x3c9ed9;[_0x472ec9(0x203),_0x472ec9(0x215),_0x472ec9(0x26e)][_0x472ec9(0x17e)](_0x4da0f0)&&(_0x51a050[_0x472ec9(0x1bb)]=!0x0,_0x51a050[_0x472ec9(0x281)]());},{'priority':_0x3c9ed9(0x178)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x185))[_0x3c9ed9(0x26f)](_0x5ce1c5=>{const _0x204e7e=_0x3c9ed9;_0x5ce1c5['on'](_0x204e7e(0x1c5),(_0xec1f7,_0x1dcf94,_0x4bcfd9)=>{const _0x108ae7=_0x204e7e;if('\x20'!=_0x1dcf94[_0x108ae7(0x25d)][_0x108ae7(0x183)]||_0x1dcf94[_0x108ae7(0x25d)][_0x108ae7(0x299)][_0x108ae7(0x274)]>0x1)return;if(!_0x4bcfd9[_0x108ae7(0x16b)][_0x108ae7(0x211)](_0x1dcf94[_0x108ae7(0x25d)],_0xec1f7[_0x108ae7(0x2a3)]))return;const _0x4a208a=_0x4bcfd9[_0x108ae7(0x2a6)],_0x520d3e=_0x4bcfd9[_0x108ae7(0x1bf)][_0x108ae7(0x269)](_0x1dcf94[_0x108ae7(0x1ac)]);_0x4a208a[_0x108ae7(0x196)](_0x520d3e,_0x4a208a[_0x108ae7(0x28f)](_0x108ae7(0x267)));});}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x185))[_0x3c9ed9(0x20c)]({'model':_0x3c9ed9(0x1d3)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x1b0)][_0x3c9ed9(0x1c0)]['on'](_0x3c9ed9(0x278),function(_0x223f3c){const _0x12f4c8=_0x3c9ed9,_0x1419e4=_0x223f3c[_0x12f4c8(0x1b4)][_0x12f4c8(0x263)](_0x12f4c8(0x1f9));return(_0x536c80,_0x4da6b2,_0x450713)=>{const _0x46c1f6=_0x12f4c8,_0x3aa778=_0x4da6b2[_0x46c1f6(0x166)][_0x46c1f6(0x1f6)](':')[0x1],_0x482e51=_0x1419e4[_0x46c1f6(0x1df)](_0x3aa778);if(!_0x482e51)return null;const _0x338dd6=_0x46c1f6(0x26f)==_0x482e51[_0x46c1f6(0x251)]?_0x46c1f6(0x1f6):_0x46c1f6(0x1d4);if(!_0x450713[_0x46c1f6(0x16b)][_0x46c1f6(0x21e)](_0x4da6b2[_0x46c1f6(0x292)],_0x536c80[_0x46c1f6(0x2a3)]))return;const _0x3c2459=_0x4da6b2[_0x46c1f6(0x292)][_0x46c1f6(0x17a)](),_0x211091=_0x4da6b2[_0x46c1f6(0x292)][_0x46c1f6(0x1fe)],_0x448340=_0x223f3c[_0x46c1f6(0x237)][_0x46c1f6(0x27c)];let _0x3d473a=null,_0x19da4f=null,_0x322999=!0x1,_0x5b125f=!0x1;for(const _0x32f420 of _0x3c2459){const _0x189843=_0x32f420[_0x46c1f6(0x25d)];_0x322999=_0x322999||_0x448340[_0x46c1f6(0x1d6)](_0x189843);const _0x1eba7c=_0x450713[_0x46c1f6(0x1bf)][_0x46c1f6(0x190)](_0x189843);if(_0x1eba7c&&_0x1eba7c[_0x46c1f6(0x254)](_0x46c1f6(0x243)))return;_0x46c1f6(0x172)==_0x32f420[_0x46c1f6(0x251)]&&(_0x448340[_0x46c1f6(0x1ce)](_0x189843)&&!_0x448340[_0x46c1f6(0x1c9)](_0x189843)&&(_0x189843[_0x46c1f6(0x1a2)]||_0x211091[_0x46c1f6(0x25f)]?_0x3d473a&&_0x3d473a[_0x46c1f6(0x299)]==_0x189843||(_0x3d473a=_0x189843,_0xbee245(_0x32f420[_0x46c1f6(0x1b9)]),_0x5b125f=!0x0):_0x19da4f=_0x19da4f||_0x32f420[_0x46c1f6(0x1b9)]));}function _0xbee245(_0x1670c5){const _0x1e218c=_0x46c1f6,_0x377580=_0x450713[_0x1e218c(0x2a6)][_0x1e218c(0x194)](_0x1e218c(0x267),{'class':_0x1e218c(0x1f8)+_0x338dd6}),_0x208266=_0x450713[_0x1e218c(0x1bf)][_0x1e218c(0x1a7)](_0x1670c5);_0x482e51[_0x1e218c(0x183)][_0x1e218c(0x195)]&&_0x450713[_0x1e218c(0x2a6)][_0x1e218c(0x1bc)](_0x1e218c(0x1f8)+_0x338dd6+_0x1e218c(0x192),_0x377580),_0x1419e4[_0x1e218c(0x18c)]==_0x482e51&&_0x450713[_0x1e218c(0x2a6)][_0x1e218c(0x1bc)](_0x1e218c(0x22d),_0x377580),_0x450713[_0x1e218c(0x2a6)][_0x1e218c(0x27a)](_0x208266,_0x377580),_0x450713[_0x1e218c(0x1bf)][_0x1e218c(0x209)](_0x377580,_0x4da6b2[_0x1e218c(0x166)]);}_0x322999||_0x5b125f||!_0x19da4f||_0xbee245(_0x19da4f);};}(this[_0x3c9ed9(0x244)]),{'priority':_0x3c9ed9(0x160)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x1b0)][_0x3c9ed9(0x1c0)]['on'](_0x3c9ed9(0x212),(_0x1b8730,_0x116fd5,_0x55a7e1)=>{const _0x50ba03=_0x3c9ed9,_0x375cb6=_0x55a7e1[_0x50ba03(0x1bf)][_0x50ba03(0x284)](_0x116fd5[_0x50ba03(0x166)]);if(_0x375cb6){for(const _0x1b4670 of _0x375cb6)(_0x1b4670[_0x50ba03(0x275)](_0x50ba03(0x1ea))||_0x1b4670[_0x50ba03(0x275)](_0x50ba03(0x1ff)))&&(_0x55a7e1[_0x50ba03(0x1bf)][_0x50ba03(0x256)](_0x1b4670,_0x116fd5[_0x50ba03(0x166)]),_0x55a7e1[_0x50ba03(0x2a6)][_0x50ba03(0x27b)](_0x1b4670));}},{'priority':_0x3c9ed9(0x160)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x1b0)][_0x3c9ed9(0x1c0)]['on'](_0x3c9ed9(0x278),(_0x138f96,_0x52d5c8,_0x110e5c)=>{const _0x54924f=_0x3c9ed9,_0xcbca41=_0x52d5c8[_0x54924f(0x166)][_0x54924f(0x1f6)](':')[0x1],_0x422955=this[_0x54924f(0x1df)](_0xcbca41);if(!_0x422955)return null;const _0x202ee9=_0x54924f(0x26f)==_0x422955[_0x54924f(0x251)]?_0x54924f(0x1f6):_0x54924f(0x1d4);if(_0x110e5c[_0x54924f(0x16b)][_0x54924f(0x21e)](_0x52d5c8[_0x54924f(0x292)],_0x138f96[_0x54924f(0x2a3)]))for(const _0x22bc89 of _0x52d5c8[_0x54924f(0x292)][_0x54924f(0x252)]()){if(!_0x22bc89['is'](_0x54924f(0x29a),_0x54924f(0x20a)))continue;const _0x3212ea=_0x110e5c[_0x54924f(0x2a6)][_0x54924f(0x194)](_0x54924f(0x267),{'class':_0x54924f(0x1f8)+_0x202ee9}),_0x2dc0e6=_0x110e5c[_0x54924f(0x1bf)][_0x54924f(0x1a7)](this[_0x54924f(0x244)][_0x54924f(0x237)][_0x54924f(0x23f)](_0x22bc89));_0x422955[_0x54924f(0x183)][_0x54924f(0x195)]&&_0x110e5c[_0x54924f(0x2a6)][_0x54924f(0x1bc)](_0x54924f(0x1f8)+_0x202ee9+_0x54924f(0x192),_0x3212ea),this[_0x54924f(0x18c)]==_0x422955&&_0x110e5c[_0x54924f(0x2a6)][_0x54924f(0x1bc)](_0x54924f(0x22d),_0x3212ea),_0x110e5c[_0x54924f(0x2a6)][_0x54924f(0x27a)](_0x2dc0e6,_0x3212ea),_0x110e5c[_0x54924f(0x1bf)][_0x54924f(0x209)](_0x3212ea,_0x52d5c8[_0x54924f(0x166)]);}},{'priority':_0x3c9ed9(0x160)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x237)][_0x3c9ed9(0x157)]['on'](_0x3c9ed9(0x240),()=>{const _0x517cdf=_0x3c9ed9;this[_0x517cdf(0x244)][_0x517cdf(0x1b0)][_0x517cdf(0x1cf)][_0x517cdf(0x240)](_0x363585=>{const _0x16a157=_0x517cdf;for(const _0x148649 of this[_0x16a157(0x244)][_0x16a157(0x237)][_0x16a157(0x157)][_0x16a157(0x20d)]()){const _0x359208=this[_0x16a157(0x244)][_0x16a157(0x237)][_0x16a157(0x157)][_0x16a157(0x158)](_0x148649),_0x8b8a3=this[_0x16a157(0x244)][_0x16a157(0x1b0)][_0x16a157(0x1cf)][_0x16a157(0x157)][_0x16a157(0x158)](_0x148649);if(_0x8b8a3){const _0x3f10a7=_0x359208[_0x16a157(0x248)](_0x16a157(0x1e2));if(_0x363585[_0x16a157(0x231)](_0x16a157(0x265),_0x8b8a3),_0x363585[_0x16a157(0x207)](_0x16a157(0x226),_0x8b8a3),_0x363585[_0x16a157(0x207)](_0x16a157(0x1db),_0x8b8a3),_0x363585[_0x16a157(0x207)](_0x16a157(0x1dc),_0x8b8a3),_0x3f10a7){const _0x73e7b9=this[_0x16a157(0x1df)](_0x3f10a7);if(!_0x73e7b9)return null;_0x363585[_0x16a157(0x193)](_0x16a157(0x265),_0x3f10a7,_0x8b8a3),_0x363585[_0x16a157(0x1bc)](_0x16a157(0x1e7)+_0x73e7b9[_0x16a157(0x251)],_0x8b8a3),this[_0x16a157(0x18c)]==_0x73e7b9&&_0x363585[_0x16a157(0x1bc)](_0x16a157(0x1dc),_0x8b8a3);}}}});}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x175))[_0x3c9ed9(0x28b)]({'view':_0x3c9ed9(0x259),'model':_0x5d6baf=>_0x3c9ed9(0x261)+_0x5d6baf,'converterPriority':_0x3c9ed9(0x178)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x175))[_0x3c9ed9(0x28b)]({'view':_0x3c9ed9(0x22c),'model':_0x3021c3=>_0x3c9ed9(0x220)+_0x3021c3,'converterPriority':_0x3c9ed9(0x178)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x185))[_0x3c9ed9(0x20c)]({'model':_0x3c9ed9(0x1ca),'view':_0x23604e=>({'name':_0x3c9ed9(0x1a6)+_0x23604e,'group':_0x3c9ed9(0x1ca)}),'converterPriority':_0x3c9ed9(0x178)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x288)][_0x3c9ed9(0x1e5)](_0x3c9ed9(0x1b2))[_0x3c9ed9(0x250)]({'model':_0x3c9ed9(0x1ca),'view':_0x33c76c=>{const _0xd06ed=_0x3c9ed9,_0x3cfa00=_0x33c76c[_0xd06ed(0x166)][_0xd06ed(0x1f6)](':')[0x1];return _0xd06ed(0x15a)!=_0x3cfa00&&_0xd06ed(0x1da)!=_0x3cfa00?null:{'classes':[_0xd06ed(0x1af),_0xd06ed(0x1ee)+_0x3cfa00]};}}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x1b0)][_0x3c9ed9(0x1c0)]['on'](_0x3c9ed9(0x27e),Z(this[_0x3c9ed9(0x244)],_0x3c9ed9(0x1d4)),{'priority':_0x3c9ed9(0x160)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x1b0)][_0x3c9ed9(0x1c0)]['on'](_0x3c9ed9(0x1fc),Z(this[_0x3c9ed9(0x244)],_0x3c9ed9(0x1f6)),{'priority':_0x3c9ed9(0x160)}),this[_0x3c9ed9(0x244)][_0x3c9ed9(0x1b0)][_0x3c9ed9(0x1c0)]['on'](_0x3c9ed9(0x16c),(_0x4bc7d0,_0x2c41ad,_0x427231)=>{const _0xb8e897=_0x3c9ed9,_0xa267b8=_0x427231[_0xb8e897(0x1bf)][_0xb8e897(0x284)](_0x2c41ad[_0xb8e897(0x166)]);if(_0xa267b8){for(const _0x41ba36 of _0xa267b8)_0x41ba36['is'](_0xb8e897(0x227))&&(_0x427231[_0xb8e897(0x1bf)][_0xb8e897(0x256)](_0x41ba36,_0x2c41ad[_0xb8e897(0x166)]),_0x427231[_0xb8e897(0x2a6)][_0xb8e897(0x27b)](_0x41ba36));}},{'priority':_0x3c9ed9(0x160)});}[_0x3e8e7d(0x1df)](_0x310398){const _0x1b7210=_0x3e8e7d;return this[_0x1b7210(0x29e)][_0x1b7210(0x263)](_0x310398);}[_0x3e8e7d(0x29b)](_0x55ed23){const _0x4e56b5=_0x3e8e7d;return this[_0x4e56b5(0x1a1)]&&this[_0x4e56b5(0x1a1)][_0x4e56b5(0x219)](),this[_0x4e56b5(0x1a1)]=new _0x3c9eda(this[_0x4e56b5(0x244)][_0x4e56b5(0x1f0)],_0x55ed23),this[_0x4e56b5(0x1a1)];}[_0x3e8e7d(0x1fa)](){const _0x2984c0=_0x3e8e7d;this[_0x2984c0(0x244)][_0x2984c0(0x237)][_0x2984c0(0x157)][_0x2984c0(0x167)][_0x2984c0(0x1f3)](_0x2984c0(0x1d3)),this['on'](_0x2984c0(0x290),(_0xb555ca,_0xa99866,_0xfa69aa,_0x2f7be9)=>{const _0x4af497=_0x2984c0;_0x2f7be9&&this[_0x4af497(0x287)][_0x4af497(0x27b)](_0x2f7be9),_0xfa69aa&&(this[_0x4af497(0x287)][_0x4af497(0x26f)]({'view':_0xfa69aa,'stackId':_0x4af497(0x28a),'position':{'target':()=>{const _0x4726f7=_0x4af497,_0x1d25a6=this[_0x4726f7(0x244)][_0x4726f7(0x1b0)],_0x17dc1e=this[_0x4726f7(0x1df)](_0xfa69aa[_0x4726f7(0x1e0)]);let _0x13e456;if(_0x17dc1e[_0x4726f7(0x183)][_0x4726f7(0x1dd)]){const _0x5b16fa=_0x1d25a6[_0x4726f7(0x1cf)][_0x4726f7(0x165)](_0x17dc1e[_0x4726f7(0x2a0)]);_0x13e456=Array[_0x4726f7(0x1c1)](_0x5b16fa[_0x4726f7(0x230)]());}else{const _0x952174=this[_0x4726f7(0x244)][_0x4726f7(0x237)][_0x4726f7(0x16a)][_0x4726f7(0x263)](_0x4726f7(0x162)+_0xfa69aa[_0x4726f7(0x1e0)]);_0x13e456=Array[_0x4726f7(0x1c1)](_0x1d25a6[_0x4726f7(0x1bf)][_0x4726f7(0x284)](_0x952174[_0x4726f7(0x2a3)]))[_0x4726f7(0x2a7)](_0x423000=>_0x1d25a6[_0x4726f7(0x1cf)][_0x4726f7(0x174)][_0x4726f7(0x23c)](_0x423000))[_0x4726f7(0x2a7)](_0x4a0061=>Array[_0x4726f7(0x1c1)](_0x4a0061[_0x4726f7(0x230)]()))[_0x4726f7(0x208)]();}if(!this[_0x4726f7(0x18b)])return _0x13e456[0x0];return _0x13e456[_0x4726f7(0x1b7)](_0x182e29=>_0x182e29[_0x4726f7(0x282)]-0x3<=this[_0x4726f7(0x18b)]['y']&&_0x182e29[_0x4726f7(0x26a)]+0x3>=this[_0x4726f7(0x18b)]['y']&&_0x182e29[_0x4726f7(0x1a5)]-0x3<=this[_0x4726f7(0x18b)]['x']&&_0x182e29[_0x4726f7(0x179)]+0x3>=this[_0x4726f7(0x18b)]['x'])||_0x13e456[0x0];}}}),this[_0x4af497(0x287)][_0x4af497(0x170)](_0x4af497(0x28a)));}),this['on'](_0x2984c0(0x2a4),(_0x32eb3a,_0x40218e,_0xa68122,_0x3f77cf)=>{const _0xe5f53a=_0x2984c0;this[_0xe5f53a(0x245)]=_0xa68122?this[_0xe5f53a(0x29b)](_0xa68122):null,this[_0xe5f53a(0x244)][_0xe5f53a(0x237)][_0xe5f53a(0x240)](()=>{const _0x13fb2f=_0xe5f53a,_0x4023cd=this[_0x13fb2f(0x244)][_0x13fb2f(0x1b0)];_0x3f77cf&&(_0x3f77cf[_0x13fb2f(0x183)][_0x13fb2f(0x1dd)]?_0x4023cd[_0x13fb2f(0x1cf)][_0x13fb2f(0x240)](_0x124bca=>{const _0x3675ff=_0x13fb2f;_0x124bca[_0x3675ff(0x207)](_0x3675ff(0x1dc),_0x4023cd[_0x3675ff(0x1cf)][_0x3675ff(0x157)][_0x3675ff(0x158)](_0x3f77cf[_0x3675ff(0x2a0)]));}):_0x4023cd[_0x13fb2f(0x22f)](_0x13fb2f(0x162)+_0x3f77cf['id'])),_0xa68122&&(_0xa68122[_0x13fb2f(0x183)][_0x13fb2f(0x1dd)]?_0x4023cd[_0x13fb2f(0x1cf)][_0x13fb2f(0x240)](_0x3df3c1=>{const _0x2adfc8=_0x13fb2f;_0x3df3c1[_0x2adfc8(0x1bc)](_0x2adfc8(0x1dc),_0x4023cd[_0x2adfc8(0x1cf)][_0x2adfc8(0x157)][_0x2adfc8(0x158)](_0xa68122[_0x2adfc8(0x2a0)]));}):_0x4023cd[_0x13fb2f(0x22f)](_0x13fb2f(0x162)+_0xa68122['id']));});}),this[_0x2984c0(0x23d)](this[_0x2984c0(0x244)][_0x2984c0(0x1b0)][_0x2984c0(0x1cf)][_0x2984c0(0x157)],_0x2984c0(0x16d),(_0x419a1d,_0x35dda3)=>{const _0x6260cc=_0x2984c0;if(this[_0x6260cc(0x18c)])return;const _0x15e5c6=this[_0x6260cc(0x24e)](_0x35dda3[_0x6260cc(0x198)]),_0x45388b=this[_0x6260cc(0x29e)][_0x6260cc(0x263)](_0x15e5c6);_0x45388b?(this[_0x6260cc(0x18b)]={'x':_0x35dda3[_0x6260cc(0x1f1)]['x'],'y':_0x35dda3[_0x6260cc(0x1f1)]['y']},this[_0x6260cc(0x245)]=this[_0x6260cc(0x29b)](_0x45388b)):(this[_0x6260cc(0x18b)]=null,this[_0x6260cc(0x245)]=null);}),this[_0x2984c0(0x23d)](this[_0x2984c0(0x244)][_0x2984c0(0x1b0)][_0x2984c0(0x1cf)][_0x2984c0(0x157)],_0x2984c0(0x21b),(_0x406df8,_0x39aa7)=>{const _0xbb7766=_0x2984c0,_0x27136d=this[_0xbb7766(0x24e)](_0x39aa7[_0xbb7766(0x198)]),_0x1e0ba9=this[_0xbb7766(0x29e)][_0xbb7766(0x263)](_0x27136d);_0x1e0ba9?(this[_0xbb7766(0x18b)]={'x':_0x39aa7[_0xbb7766(0x1f1)]['x'],'y':_0x39aa7[_0xbb7766(0x1f1)]['y']},_0x1e0ba9===this[_0xbb7766(0x18c)]?this[_0xbb7766(0x287)][_0xbb7766(0x216)]():this[_0xbb7766(0x18c)]=_0x1e0ba9):(this[_0xbb7766(0x18b)]=null,this[_0xbb7766(0x18c)]=null);});}[_0x3e8e7d(0x24e)](_0x18c994){const _0x534aa5=_0x3e8e7d;do{const _0x4c01e7=_0x18c994[_0x534aa5(0x248)](_0x534aa5(0x265));if(_0x4c01e7)return _0x4c01e7;_0x18c994=_0x18c994[_0x534aa5(0x299)];}while(_0x18c994);return null;}[_0x3e8e7d(0x26c)](){const _0x4852dc=_0x3e8e7d;this[_0x4852dc(0x244)][_0x4852dc(0x237)][_0x4852dc(0x240)](_0x374e13=>{const _0x3e3566=_0x4852dc;for(const _0x49cf09 of this[_0x3e3566(0x244)][_0x3e3566(0x237)][_0x3e3566(0x16a)])_0x374e13[_0x3e3566(0x25b)](_0x49cf09);});}}function Z(_0x41bf87,_0x326f0f){return(_0x54c21f,_0x3482ec,_0x12a5a8)=>{const _0x1f36ea=_0x4f4f;if(!_0x12a5a8[_0x1f36ea(0x16b)][_0x1f36ea(0x21e)](_0x3482ec[_0x1f36ea(0x292)],_0x54c21f[_0x1f36ea(0x2a3)]))return;const _0x5c3046=_0x3482ec[_0x1f36ea(0x292)][_0x1f36ea(0x17a)](),_0x1cf632=_0x3482ec[_0x1f36ea(0x292)][_0x1f36ea(0x1fe)],_0x16fa9c=_0x41bf87[_0x1f36ea(0x237)][_0x1f36ea(0x27c)];let _0xb63096=null,_0x22845c=null,_0x1950ba=!0x1,_0x4b1b4d=!0x1;for(const _0x44255a of _0x5c3046){const _0x379341=_0x44255a[_0x1f36ea(0x25d)];_0x1950ba=_0x1950ba||_0x16fa9c[_0x1f36ea(0x1d6)](_0x379341);const _0x457592=_0x12a5a8[_0x1f36ea(0x1bf)][_0x1f36ea(0x190)](_0x379341);if(_0x457592&&_0x457592[_0x1f36ea(0x254)](_0x1f36ea(0x243)))return;_0x1f36ea(0x172)==_0x44255a[_0x1f36ea(0x251)]&&(_0x16fa9c[_0x1f36ea(0x1ce)](_0x379341)&&!_0x16fa9c[_0x1f36ea(0x1c9)](_0x379341)&&(_0x379341[_0x1f36ea(0x1a2)]||_0x1cf632[_0x1f36ea(0x25f)]?_0xb63096&&_0xb63096[_0x1f36ea(0x299)]==_0x379341||(_0xb63096=_0x379341,_0x371c8(_0x44255a[_0x1f36ea(0x1b9)]),_0x4b1b4d=!0x0):_0x22845c=_0x22845c||_0x44255a[_0x1f36ea(0x1b9)]));}function _0x371c8(_0x1358f4){const _0x4102a4=_0x1f36ea,_0x26ab47=_0x12a5a8[_0x4102a4(0x1bf)][_0x4102a4(0x1a7)](_0x1358f4),_0xe79898=_0x12a5a8[_0x4102a4(0x2a6)][_0x4102a4(0x194)](_0x4102a4(0x267),{'class':_0x4102a4(0x1ee)+_0x326f0f});_0x12a5a8[_0x4102a4(0x2a6)][_0x4102a4(0x27a)](_0x26ab47,_0xe79898),_0x12a5a8[_0x4102a4(0x1bf)][_0x4102a4(0x209)](_0xe79898,_0x3482ec[_0x4102a4(0x166)]);}_0x1950ba||_0x4b1b4d||!_0x22845c||_0x371c8(_0x22845c);};}function _0x4f4f(_0x1e2f3b,_0xceaba8){const _0x490467=_0x4904();return _0x4f4f=function(_0x4f4f31,_0x826d8b){_0x4f4f31=_0x4f4f31-0x157;let _0x145b87=_0x490467[_0x4f4f31];return _0x145b87;},_0x4f4f(_0x1e2f3b,_0xceaba8);}export class RestoreRevisionCommand extends _0x21a3ec{constructor(_0x39c4e6){const _0xce7452=_0x3e8e7d;super(_0x39c4e6);const _0x4bdfd0=_0x39c4e6[_0xce7452(0x1b4)][_0xce7452(0x263)](d);this[_0xce7452(0x181)]=!0x1,this[_0xce7452(0x23d)](_0x4bdfd0,_0xce7452(0x224),()=>this[_0xce7452(0x15f)]()),this[_0xce7452(0x23d)](_0x4bdfd0,_0xce7452(0x1e1),()=>this[_0xce7452(0x15f)]());}[_0x3e8e7d(0x24a)](){const _0x356c25=_0x3e8e7d,_0x4571ed=this[_0x356c25(0x244)],_0x4989f6=_0x4571ed[_0x356c25(0x1b4)][_0x356c25(0x263)](d),_0x4c6d61=_0x4989f6[_0x356c25(0x24d)]?_0x4989f6[_0x356c25(0x249)][_0x356c25(0x242)]:null;_0x4571ed[_0x356c25(0x28d)][_0x356c25(0x263)](_0x356c25(0x264))[_0x356c25(0x1e6)](_0x4c6d61);}[_0x3e8e7d(0x15f)](){const _0x3a4056=_0x3e8e7d,{isReady:_0x5537a9,isEnabled:_0x308de1,repository:_0x435cfd,diff:_0x389f0a}=this[_0x3a4056(0x244)][_0x3a4056(0x1b4)][_0x3a4056(0x263)](d),_0x64f6b4=_0x389f0a&&_0x435cfd[_0x3a4056(0x17c)](_0x389f0a[_0x3a4056(0x242)]);this[_0x3a4056(0x199)]=_0x5537a9&&_0x308de1&&Boolean(_0x64f6b4);}}export class ShowChangeCommand extends _0x21a3ec{constructor(_0x4e5d3e,{direction:_0xda16d5}){const _0x48f0e3=_0x3e8e7d;super(_0x4e5d3e);const _0xe0b240=_0x4e5d3e[_0x48f0e3(0x1b4)][_0x48f0e3(0x263)](d);this[_0x48f0e3(0x181)]=!0x1,this[_0x48f0e3(0x1a8)]=_0x48f0e3(0x180)===_0xda16d5?0x1:-0x1,this[_0x48f0e3(0x23d)](_0xe0b240,_0x48f0e3(0x224),()=>this[_0x48f0e3(0x15f)]()),this[_0x48f0e3(0x23d)](_0xe0b240,_0x48f0e3(0x1e1),()=>this[_0x48f0e3(0x15f)]()),this[_0x48f0e3(0x23d)](_0xe0b240,_0x48f0e3(0x2a4),()=>this[_0x48f0e3(0x15f)]());}[_0x3e8e7d(0x24a)](){const _0x305621=_0x3e8e7d,_0x31992a=this[_0x305621(0x244)],_0x526e46=_0x31992a[_0x305621(0x1b4)][_0x305621(0x263)](d),{isNavigationMode:_0x339816,currentChangeNumber:_0x4aa967}=_0x526e46;let _0x544312;if(_0x526e46[_0x305621(0x18c)]=_0x339816?_0x526e46[_0x305621(0x249)][_0x305621(0x1b3)][_0x305621(0x263)](_0x4aa967+this[_0x305621(0x1a8)]):_0x526e46[_0x305621(0x249)][_0x305621(0x1b3)][_0x305621(0x1f7)],_0x526e46[_0x305621(0x18c)][_0x305621(0x183)][_0x305621(0x1dd)])_0x544312=_0x31992a[_0x305621(0x1b0)][_0x305621(0x1cf)][_0x305621(0x165)](_0x526e46[_0x305621(0x18c)][_0x305621(0x2a0)]);else{const _0x567d92=_0x31992a[_0x305621(0x237)][_0x305621(0x16a)][_0x305621(0x263)](_0x305621(0x162)+_0x526e46[_0x305621(0x18c)]['id']);_0x544312=_0x450a5f(_0x31992a[_0x305621(0x1b0)],_0x567d92);}_0x9f9975({'target':_0x544312,'viewportOffset':0x28});}[_0x3e8e7d(0x15f)](){const _0x5c3cc5=_0x3e8e7d,{isNavigationMode:_0xb1dbe4,currentChangeNumber:_0x3428aa,numberOfChanges:_0x6882fc,isReady:_0x52df20,isEnabled:_0x27c2fd}=this[_0x5c3cc5(0x244)][_0x5c3cc5(0x1b4)][_0x5c3cc5(0x263)](d);this[_0x5c3cc5(0x199)]=!!(_0x27c2fd&&_0x52df20&&_0x6882fc)&&(!_0xb1dbe4||(0x1===this[_0x5c3cc5(0x1a8)]?_0x3428aa<_0x6882fc-0x1:_0x3428aa>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x467224,_0x3bd0d4){const _0x46a428=_0x4876,_0x363b24=_0x467224();while(!![]){try{const _0x4b313b=parseInt(_0x46a428(0x12f))/0x1+-parseInt(_0x46a428(0x11c))/0x2+-parseInt(_0x46a428(0x12a))/0x3+parseInt(_0x46a428(0x110))/0x4*(-parseInt(_0x46a428(0x109))/0x5)+parseInt(_0x46a428(0x133))/0x6+parseInt(_0x46a428(0x115))/0x7*(parseInt(_0x46a428(0x12d))/0x8)+parseInt(_0x46a428(0x12e))/0x9;if(_0x4b313b===_0x3bd0d4)break;else _0x363b24['push'](_0x363b24['shift']());}catch(_0x339fe1){_0x363b24['push'](_0x363b24['shift']());}}}(_0x14bc,0x1b92c));import{Collection as _0x373623}from'ckeditor5/src/utils.js';function _0x4876(_0x2b7b20,_0x413d7d){const _0x14bc40=_0x14bc();return _0x4876=function(_0x487657,_0x18781e){_0x487657=_0x487657-0x107;let _0xcf61b5=_0x14bc40[_0x487657];return _0xcf61b5;},_0x4876(_0x2b7b20,_0x413d7d);}import{icons as _0x1d847c}from'ckeditor5/src/core.js';import{ViewModel as _0x4561a4,addListToDropdown as _0x3ce78a,createDropdown as _0x52bd46}from'ckeditor5/src/ui.js';import{getTranslation as _0x4d41de}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';function _0x14bc(){const _0x1e7f06=['isActionsDropdownOpen','class','1226268bMApsX','change:isActionsDropdownOpen','Compare\x20against\x20selected','stopPropagation','panelPosition','listenTo','menu','90jRRleA','threeVerticalDots','isVisible','Restore\x20this\x20revision','listView','find','first','14628FqnUNF','add','isReady','ck-revision-history-sidebar__revision__actions','model','15442fXVXjF','locale','name','action','source','Show\x20more\x20items','bindTemplate','369084SoCgNS','buttonView','menuitem','button','extendTemplate','isEnabled','items','_action','bind','function','map','set','execute','isOpen','312477UAXaOM','children','ck-on','712gKWYPG','536733QWleyq','7118PIeSuB','Name\x20this\x20revision'];_0x14bc=function(){return _0x1e7f06;};return _0x14bc();}export function createActionsDropdownView(_0x292bf7,_0x30e1fe){const _0x460fa6=_0x4876,_0x1e0afe=_0x292bf7[_0x460fa6(0x11b)],_0xb15f96=_0x292bf7[_0x460fa6(0x116)],_0x44ace5=_0x52bd46(_0xb15f96);_0x44ace5[_0x460fa6(0x137)]='sw';const _0x1a3bc3=function(_0x56abb7,_0x1074e8){const _0x4c6bb7=_0x460fa6,_0x5d21e6=function(_0x163d6c,_0x43e1e4){const _0x3646bb=_0x4876,_0x35c792=_0x163d6c[_0x3646bb(0x116)],_0x53e0d4={'Compare\x20against\x20selected':_0x4d41de(_0x35c792,_0x3646bb(0x135)),'Name\x20this\x20revision':_0x4d41de(_0x35c792,_0x3646bb(0x130)),'Restore\x20this\x20revision':_0x4d41de(_0x35c792,_0x3646bb(0x10c))};return _0x43e1e4[_0x3646bb(0x126)](_0x1df2b5=>{const _0x4b97e2=_0x3646bb,_0x36e755=_0x53e0d4[_0x1df2b5[_0x4b97e2(0x117)]];return _0x36e755&&_0x36e755!==_0x1df2b5[_0x4b97e2(0x117)]&&(_0x1df2b5[_0x4b97e2(0x117)]=_0x36e755),_0x1df2b5;});}(_0x56abb7,_0x1074e8),_0x45c456=new _0x373623();for(const _0x954913 of _0x5d21e6){const _0x26b76a={'type':_0x4c6bb7(0x11f),'model':new _0x4561a4({'label':_0x954913[_0x4c6bb7(0x117)],'class':_0x954913[_0x4c6bb7(0x132)],'withText':!0x0,'role':_0x4c6bb7(0x11e),'_action':_0x954913[_0x4c6bb7(0x118)]})};_0x26b76a[_0x4c6bb7(0x114)][_0x4c6bb7(0x124)](_0x4c6bb7(0x121))['to'](_0x56abb7,_0x4c6bb7(0x131),_0x11da43=>_0x4c6bb7(0x125)!=typeof _0x954913[_0x4c6bb7(0x121)]||(!_0x11da43||_0x954913[_0x4c6bb7(0x121)](_0x56abb7))),_0x45c456[_0x4c6bb7(0x111)](_0x26b76a);}return _0x45c456;}(_0x292bf7,_0x30e1fe);return _0x292bf7[_0x460fa6(0x124)](_0x460fa6(0x131))['to'](_0x44ace5,_0x460fa6(0x129)),_0x44ace5[_0x460fa6(0x11d)][_0x460fa6(0x127)]({'label':_0x4d41de(_0xb15f96,_0x460fa6(0x11a)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1d847c[_0x460fa6(0x10a)]}),_0x44ace5[_0x460fa6(0x120)]({'attributes':{'class':[_0x460fa6(0x113),_0x1e0afe['if'](_0x460fa6(0x131),_0x460fa6(0x12c))]},'on':{'click':_0x1e0afe['to'](_0x44c221=>_0x44c221[_0x460fa6(0x136)]())}}),_0x44ace5['on'](_0x460fa6(0x128),_0x31c924=>{const _0xe9aba=_0x460fa6;_0x292bf7[_0xe9aba(0x112)]&&_0xe9aba(0x125)==typeof _0x31c924[_0xe9aba(0x119)][_0xe9aba(0x123)]&&_0x31c924[_0xe9aba(0x119)][_0xe9aba(0x123)](_0x292bf7);}),_0x3ce78a(_0x44ace5,_0x1a3bc3,{'role':_0x460fa6(0x108)}),_0x44ace5[_0x460fa6(0x107)](_0x292bf7,_0x460fa6(0x134),(_0x19bfc4,_0xc6675,_0x3059d8)=>{const _0x656a7d=_0x460fa6;if(_0x3059d8)for(const _0x2cfe42 of _0x44ace5[_0x656a7d(0x10d)][_0x656a7d(0x122)]){const _0x19763b=_0x2cfe42[_0x656a7d(0x12b)][_0x656a7d(0x10f)],_0x299ba6=_0x30e1fe[_0x656a7d(0x10e)](_0x1fd753=>_0x1fd753[_0x656a7d(0x118)]===_0x19763b[_0x656a7d(0x123)])[_0x656a7d(0x10b)];_0x2cfe42[_0x656a7d(0x10b)]=void 0x0===_0x299ba6||_0x299ba6(_0x292bf7);}}),_0x44ace5;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x142d(){const _0x1e3d83=['18KVClDK','146085xZQOGt','ck-revision-history-sidebar__revision-author','1320LJMkpr','10xlrkBH','span','625916szuZBX','787554rczLAa','setTemplate','Revision\x20author','666618uABKYg','0\x200\x2011\x2010','3787odQlIg','ck-revision-history-sidebar__revision-author__name','set','Revision\x20creator','ck-revision-history-sidebar__revision-author_creator','5435160FInjlc','48718vhDatX','push','name'];_0x142d=function(){return _0x1e3d83;};return _0x142d();}function _0x5650(_0x1166c2,_0x4e0b21){const _0x142d8d=_0x142d();return _0x5650=function(_0x5650ea,_0x36a0c3){_0x5650ea=_0x5650ea-0xee;let _0x343715=_0x142d8d[_0x5650ea];return _0x343715;},_0x5650(_0x1166c2,_0x4e0b21);}(function(_0x18c615,_0x2b4f81){const _0x54572e=_0x5650,_0x31a5ad=_0x18c615();while(!![]){try{const _0xfcdad2=-parseInt(_0x54572e(0xfc))/0x1+-parseInt(_0x54572e(0xf8))/0x2*(parseInt(_0x54572e(0xfb))/0x3)+-parseInt(_0x54572e(0x101))/0x4+-parseInt(_0x54572e(0xff))/0x5*(-parseInt(_0x54572e(0xf0))/0x6)+parseInt(_0x54572e(0xf2))/0x7*(-parseInt(_0x54572e(0xfe))/0x8)+-parseInt(_0x54572e(0x102))/0x9+parseInt(_0x54572e(0xf7))/0xa;if(_0xfcdad2===_0x2b4f81)break;else _0x31a5ad['push'](_0x31a5ad['shift']());}catch(_0x2e6321){_0x31a5ad['push'](_0x31a5ad['shift']());}}}(_0x142d,0x223c9));import{View as _0x243d67,IconView as _0x36af86}from'ckeditor5/src/ui.js';import{getTranslation as _0x596aae}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0xe96720 from'../../../theme/icons/user.svg';export default class ti extends _0x243d67{constructor(_0x349fdb,_0x5f5012,_0x11937f){const _0x1b9d53=_0x5650;super(_0x349fdb);const _0xeea90b=new _0x36af86();_0xeea90b[_0x1b9d53(0xf4)]({'content':_0xe96720,'viewBox':_0x1b9d53(0xf1)});const _0x1df63f=['ck',_0x1b9d53(0xfd)];_0x11937f&&_0x1df63f[_0x1b9d53(0xf9)](_0x1b9d53(0xf6));const _0xf21380=[{'tag':_0x1b9d53(0x100),'attributes':{'class':['ck',_0x1b9d53(0xf3)],'title':_0x596aae(_0x349fdb,_0x11937f?_0x1b9d53(0xf5):_0x1b9d53(0xef))},'children':[_0xeea90b,_0x5f5012[_0x1b9d53(0xfa)]]}];this[_0x1b9d53(0xee)]({'tag':'li','attributes':{'class':_0x1df63f},'children':_0xf21380});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14f6c1=_0x30f9;(function(_0x1ceec0,_0x313a12){const _0x44e3c9=_0x30f9,_0x12486e=_0x1ceec0();while(!![]){try{const _0x2c4a97=-parseInt(_0x44e3c9(0x1e0))/0x1+parseInt(_0x44e3c9(0x1de))/0x2+parseInt(_0x44e3c9(0x1e1))/0x3+-parseInt(_0x44e3c9(0x1c5))/0x4+-parseInt(_0x44e3c9(0x1d8))/0x5+parseInt(_0x44e3c9(0x1d4))/0x6+-parseInt(_0x44e3c9(0x1d1))/0x7*(-parseInt(_0x44e3c9(0x1ca))/0x8);if(_0x2c4a97===_0x313a12)break;else _0x12486e['push'](_0x12486e['shift']());}catch(_0x3509e2){_0x12486e['push'](_0x12486e['shift']());}}}(_0x28f7,0x213dc));function _0x30f9(_0x3f6de0,_0x5b9fcb){const _0x28f76d=_0x28f7();return _0x30f9=function(_0x30f952,_0x3db6b2){_0x30f952=_0x30f952-0x1c5;let _0x50cf5e=_0x28f76d[_0x30f952];return _0x50cf5e;},_0x30f9(_0x3f6de0,_0x5b9fcb);}import{LabeledFieldView as _0xd0ea9c}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x585d27}from'ckeditor5/src/utils.js';import{getTranslation as _0x14e4f5}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class pt extends _0xd0ea9c{constructor(_0x1c6739,_0x44e282){const _0x3a8f38=_0x30f9;super(_0x1c6739,_0x44e282),this[_0x3a8f38(0x1c9)]=null;const _0x155fb8=this[_0x3a8f38(0x1cb)];this[_0x3a8f38(0x1d0)]({'label':_0x14e4f5(_0x1c6739,_0x3a8f38(0x1c6)),'_tooltipString':''}),this[_0x3a8f38(0x1d9)][_0x3a8f38(0x1dc)]=_0x14e4f5(_0x1c6739,_0x3a8f38(0x1cf)),this[_0x3a8f38(0x1d7)]({'tag':_0x3a8f38(0x1c8),'attributes':{'class':[_0x3a8f38(0x1ce)],'data-cke-tooltip-text':_0x155fb8['to'](_0x3a8f38(0x1d6)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x3a8f38(0x1df)}});}[_0x14f6c1(0x1d2)](){const _0x469d4f=_0x14f6c1;super[_0x469d4f(0x1d2)](),this[_0x469d4f(0x1c9)]=new _0x585d27(this[_0x469d4f(0x1d9)][_0x469d4f(0x1d3)],()=>this[_0x469d4f(0x1da)]()),this[_0x469d4f(0x1cc)](this[_0x469d4f(0x1d9)],_0x469d4f(0x1cd),()=>this[_0x469d4f(0x1da)]());}[_0x14f6c1(0x1dd)](){const _0x15c6a6=_0x14f6c1;super[_0x15c6a6(0x1dd)](),this[_0x15c6a6(0x1c9)]&&this[_0x15c6a6(0x1c9)][_0x15c6a6(0x1dd)]();}[_0x14f6c1(0x1da)](){const _0xa3fd14=_0x14f6c1,_0x296f0d=this[_0xa3fd14(0x1d9)][_0xa3fd14(0x1d3)];this[_0xa3fd14(0x1d6)]=_0x296f0d[_0xa3fd14(0x1db)]>_0x296f0d[_0xa3fd14(0x1d5)]&&_0x296f0d[_0xa3fd14(0x1c7)]||'';}}function _0x28f7(){const _0x52274b=['extendTemplate','1251265KDaUPc','fieldView','_updateTooltipText','scrollWidth','placeholder','destroy','114226umXPEc','ck-tooltip_multi-line','244513xPlkLy','273372pBDINa','994152ApxrKY','Revision\x20name','value','span','_resizeObserver','8pLIpKY','bindTemplate','listenTo','input','ck-revision-history-sidebar__revision-name','Enter\x20the\x20revision\x20name','set','4259094Akewxz','render','element','736686ourlFT','clientWidth','_tooltipString'];_0x28f7=function(){return _0x52274b;};return _0x28f7();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2de8ac=_0x123e;(function(_0x1018e2,_0x2c40e3){const _0x129c7b=_0x123e,_0x1aed80=_0x1018e2();while(!![]){try{const _0x59032a=parseInt(_0x129c7b(0x134))/0x1+parseInt(_0x129c7b(0x10a))/0x2+parseInt(_0x129c7b(0x12b))/0x3+-parseInt(_0x129c7b(0x13a))/0x4*(-parseInt(_0x129c7b(0x129))/0x5)+-parseInt(_0x129c7b(0x10e))/0x6*(parseInt(_0x129c7b(0x131))/0x7)+parseInt(_0x129c7b(0x104))/0x8+parseInt(_0x129c7b(0x118))/0x9*(-parseInt(_0x129c7b(0x12e))/0xa);if(_0x59032a===_0x2c40e3)break;else _0x1aed80['push'](_0x1aed80['shift']());}catch(_0x22a314){_0x1aed80['push'](_0x1aed80['shift']());}}}(_0x1676,0xecf34));function _0x123e(_0x40f3d7,_0x516410){const _0x167638=_0x1676();return _0x123e=function(_0x123e1f,_0x4a55ab){_0x123e1f=_0x123e1f-0xfe;let _0x9f7165=_0x167638[_0x123e1f];return _0x9f7165;},_0x123e(_0x40f3d7,_0x516410);}import{View as _0x58c4f9,createLabeledInputText as _0x5ed959}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0xc3dde1}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x14d17d from'./revisionnameview.js';function _0x1676(){const _0x6521c8=['revisionActionsView','ck-revision-history-sidebar__revision__date','220','element','fieldView','createdAt','ck-revision-history-sidebar__revision','name','closest','uiLanguage','ck-reset','extendTemplate','56555eLWPwu','setName','1435983SAUuPK','ck-revision-history-sidebar__actions_dropdown_open','bindTemplate','17446790mFPypv','select','highlight','646037tARZTU','_revision','ck-disabled','151182vmpAKT','div','length','deselect','unhighlight','filter','556AQrLaZ','ck-revision-history-sidebar__revision_highlighted','isEnabled','isConfirm','ck-revision-history-sidebar__revision__controls-wrapper','creator','revisionNameView','_requireRevisionName','render','srcElement','bind','5405688MLnIPv','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','_createdAtFormatted','change','ck-revision-history-sidebar__revision-wrapper','ck-revision-history-sidebar__revision-authors','2812782BmIHIm','span','map','isReady','102eTCngd','isActionsDropdownOpen','unshift','from','value','fire','.ck-thread__remove-confirm','setTemplate','ck-revision-history-sidebar__revision_selected','authors','9gJOLOH','listenTo','set','isSelected','isHighlighted'];_0x1676=function(){return _0x6521c8;};return _0x1676();}import _0x5f1390 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x1f6d11}from'./utils.js';import{createActionsDropdownView as _0x5327bd}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xc3dde1(_0x58c4f9){constructor(_0x267baf,_0x56f59d,_0x2eb0e5,_0xa02cb0){const _0x54011a=_0x123e;super(_0x267baf);const _0x548184=this[_0x54011a(0x12d)],_0x2b7b3=function(_0x157dbd,_0x1c8a0f){const _0x5278d2=_0x54011a,_0x245cde=Array[_0x5278d2(0x111)](_0x1c8a0f[_0x5278d2(0x117)])[_0x5278d2(0x139)](_0x24f0e5=>_0x24f0e5!=_0x1c8a0f[_0x5278d2(0xfe)]);return _0x1c8a0f[_0x5278d2(0xfe)]&&_0x245cde[_0x5278d2(0x110)](_0x1c8a0f[_0x5278d2(0xfe)]),_0x245cde[_0x5278d2(0x10c)](_0x19f8a7=>new _0x5f1390(_0x157dbd,_0x19f8a7,_0x19f8a7==_0x1c8a0f[_0x5278d2(0xfe)]));}(_0x267baf,_0x56f59d);this['id']=_0x56f59d['id'],this[_0x54011a(0x132)]=_0x56f59d,this[_0x54011a(0x100)]=_0xa02cb0,this[_0x54011a(0x103)](_0x54011a(0x124),_0x54011a(0x122))['to'](_0x56f59d),this[_0x54011a(0x103)](_0x54011a(0x106))['to'](this,_0x54011a(0x122),_0x67ac8a=>_0x1f6d11(_0x267baf[_0x54011a(0x126)],_0x67ac8a)),this[_0x54011a(0x11a)](_0x54011a(0x11b),!0x1),this[_0x54011a(0x11a)](_0x54011a(0x11c),!0x1),this[_0x54011a(0x11a)](_0x54011a(0x10f),!0x1),this[_0x54011a(0x11a)](_0x54011a(0x10d),!0x1),this[_0x54011a(0x11a)](_0x54011a(0x13c),!0x1),this[_0x54011a(0xff)]=new _0x14d17d(_0x267baf,_0x5ed959),this[_0x54011a(0xff)][_0x54011a(0x121)][_0x54011a(0x128)]({'attributes':{'maxlength':_0x54011a(0x11f)}}),this[_0x54011a(0xff)][_0x54011a(0x121)][_0x54011a(0x103)](_0x54011a(0x112))['to'](this,_0x54011a(0x124),_0x577ad2=>_0x577ad2||this[_0x54011a(0x106)]),this[_0x54011a(0xff)][_0x54011a(0x103)](_0x54011a(0x13c))['to'](this,_0x54011a(0x11b),this,_0x54011a(0x13c),(_0xe79c9f,_0x574e12)=>_0xe79c9f&&_0x574e12),this[_0x54011a(0x11d)]=_0x2eb0e5&&_0x2eb0e5[_0x54011a(0x136)]?_0x5327bd(this,_0x2eb0e5):'',this[_0x54011a(0x11d)]&&this[_0x54011a(0x11d)][_0x54011a(0x103)](_0x54011a(0x13c))['to'](this),this[_0x54011a(0x115)]({'tag':_0x54011a(0x135),'attributes':{'class':['ck',_0x54011a(0x127),_0x54011a(0x108),_0x548184['if'](_0x54011a(0x13d),_0x54011a(0x105))]},'children':[{'tag':_0x54011a(0x135),'attributes':{'class':['ck',_0x54011a(0x127),_0x54011a(0x123),_0x548184['if'](_0x54011a(0x13c),_0x54011a(0x133),_0x1a451e=>!_0x1a451e),_0x548184['if'](_0x54011a(0x11b),_0x54011a(0x116)),_0x548184['if'](_0x54011a(0x11c),_0x54011a(0x13b)),_0x548184['if'](_0x54011a(0x10f),_0x54011a(0x12c))]},'children':[this[_0x54011a(0xff)],{'tag':_0x54011a(0x10b),'attributes':{'class':['ck',_0x54011a(0x11e)]},'children':[{'text':_0x548184['to'](_0x54011a(0x106))}]},{'tag':_0x54011a(0x135),'attributes':{'class':['ck',_0x54011a(0x13e)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x54011a(0x109)]},'children':_0x2b7b3}]},this[_0x54011a(0x11d)]],'on':{'click':_0x548184['to'](_0x1b3287=>{const _0x73de1e=_0x54011a;_0x1b3287[_0x73de1e(0x102)][_0x73de1e(0x125)](_0x73de1e(0x114))||this[_0x73de1e(0x10d)]&&this[_0x73de1e(0x13c)]&&this[_0x73de1e(0x113)](_0x73de1e(0x12f),{'id':this['id']});})}}]});}[_0x2de8ac(0x101)](){const _0xd16170=_0x2de8ac;super[_0xd16170(0x101)]();const _0x335bc4=this[_0xd16170(0xff)][_0xd16170(0x121)][_0xd16170(0x120)];this[_0xd16170(0x119)](_0x335bc4,_0xd16170(0x107),()=>{const _0x22188e=_0xd16170;this[_0x22188e(0x100)]&&!_0x335bc4[_0x22188e(0x112)]||this[_0x22188e(0x113)](_0x22188e(0x12a),{'id':this['id'],'name':_0x335bc4[_0x22188e(0x112)]}),_0x335bc4[_0x22188e(0x112)]||(_0x335bc4[_0x22188e(0x112)]=this[_0x22188e(0x124)]?this[_0x22188e(0x124)]:this[_0x22188e(0x106)]);});}[_0x2de8ac(0x12f)](){const _0x446d3a=_0x2de8ac;this[_0x446d3a(0x11b)]=!0x0;}[_0x2de8ac(0x137)](){const _0x40fc31=_0x2de8ac;this[_0x40fc31(0x11b)]=!0x1;}[_0x2de8ac(0x130)](){const _0x3960f1=_0x2de8ac;this[_0x3960f1(0x11c)]=!0x0;}[_0x2de8ac(0x138)](){const _0x2f63d5=_0x2de8ac;this[_0x2f63d5(0x11c)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x19b5f1=_0x33b4;(function(_0x409bf9,_0x451d2a){const _0x1e69ae=_0x33b4,_0x246c36=_0x409bf9();while(!![]){try{const _0x157c85=-parseInt(_0x1e69ae(0x127))/0x1+parseInt(_0x1e69ae(0x11c))/0x2*(-parseInt(_0x1e69ae(0x123))/0x3)+parseInt(_0x1e69ae(0x122))/0x4*(-parseInt(_0x1e69ae(0x126))/0x5)+parseInt(_0x1e69ae(0x113))/0x6*(parseInt(_0x1e69ae(0x121))/0x7)+-parseInt(_0x1e69ae(0x11e))/0x8+-parseInt(_0x1e69ae(0x125))/0x9+parseInt(_0x1e69ae(0x119))/0xa;if(_0x157c85===_0x451d2a)break;else _0x246c36['push'](_0x246c36['shift']());}catch(_0x3615b3){_0x246c36['push'](_0x246c36['shift']());}}}(_0x27a7,0x69dd2));import{View as _0x40c1ee}from'ckeditor5/src/ui.js';function _0x27a7(){const _0x170bca=['46773vdmfDY','ck-hidden','3544173ZRJoWG','125QWTTha','685177cLsNLl','isVisible','button','true','bindTemplate','6wttPdB','ck-revision-history-sidebar__subrevision-collapser_collapsed','_isCollapsed','click','set','toggle','28617010XNIXKf','false','ck-revision-history-sidebar__subrevision-collapser','82mypbKD','setTemplate','1361760FaXFOL','ck-revision-history-sidebar__subrevision-collapser__inner','span','2156119oGbkUy','135628ARTwMj'];_0x27a7=function(){return _0x170bca;};return _0x27a7();}function _0x33b4(_0x204156,_0x1a4b2e){const _0x27a745=_0x27a7();return _0x33b4=function(_0x33b470,_0x25cceb){_0x33b470=_0x33b470-0x111;let _0x3d7d38=_0x27a745[_0x33b470];return _0x3d7d38;},_0x33b4(_0x204156,_0x1a4b2e);}import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x40c1ee{constructor(_0xa0f984){const _0x563ac6=_0x33b4;super(_0xa0f984);const _0x2ff8ac=this[_0x563ac6(0x112)];this[_0x563ac6(0x117)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x563ac6(0x11d)]({'tag':_0x563ac6(0x120),'attributes':{'class':['ck',_0x563ac6(0x11b),_0x2ff8ac['if'](_0x563ac6(0x128),_0x563ac6(0x124),_0xd0752a=>!_0xd0752a),_0x2ff8ac['if'](_0x563ac6(0x115),_0x563ac6(0x114))],'role':_0x563ac6(0x129),'aria-pressed':_0x2ff8ac['to'](_0x563ac6(0x115),_0x308aff=>_0x308aff?_0x563ac6(0x11a):_0x563ac6(0x111))},'children':[{'tag':_0x563ac6(0x120),'attributes':{'class':['ck',_0x563ac6(0x11f)]}}],'on':{'click':_0x2ff8ac['to'](_0x563ac6(0x116))}});}[_0x19b5f1(0x118)](){const _0x4eb332=_0x19b5f1;this[_0x4eb332(0x115)]=!this[_0x4eb332(0x115)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a9935=_0x58c5;(function(_0x215248,_0x2c086e){const _0x3af0c5=_0x58c5,_0x3c374c=_0x215248();while(!![]){try{const _0x1f3b15=parseInt(_0x3af0c5(0x173))/0x1*(-parseInt(_0x3af0c5(0x163))/0x2)+parseInt(_0x3af0c5(0x169))/0x3*(parseInt(_0x3af0c5(0x171))/0x4)+parseInt(_0x3af0c5(0x17a))/0x5+parseInt(_0x3af0c5(0x175))/0x6+-parseInt(_0x3af0c5(0x16a))/0x7+parseInt(_0x3af0c5(0x15e))/0x8*(-parseInt(_0x3af0c5(0x162))/0x9)+parseInt(_0x3af0c5(0x172))/0xa;if(_0x1f3b15===_0x2c086e)break;else _0x3c374c['push'](_0x3c374c['shift']());}catch(_0x366aa9){_0x3c374c['push'](_0x3c374c['shift']());}}}(_0x17de,0x7f18e));import{View as _0xdfdf64}from'ckeditor5/src/ui.js';import _0x274cb4 from'./revisionauthorview.js';function _0x58c5(_0x5a809b,_0x109fb9){const _0x17de9f=_0x17de();return _0x58c5=function(_0x58c506,_0x3d8803){_0x58c506=_0x58c506-0x15c;let _0x126d50=_0x17de9f[_0x58c506];return _0x126d50;},_0x58c5(_0x5a809b,_0x109fb9);}import{dateToPrettyFormat as _0x295491}from'./utils.js';function _0x17de(){const _0x766acf=['select','bindTemplate','18eMGMfC','1514xyzOex','ck-revision-history-sidebar__revision','span','ck-revision-history-sidebar__revision_selected','bind','setTemplate','3AtluFf','7177541yoLDXJ','_createdAtFormatted','isSelected','set','ck-revision-history-sidebar__revision__date','creator','uiLanguage','3959708tqcGfO','6229920nUlRWe','811wcxWcT','div','1559196KjEYhs','ck-revision-history-sidebar__subrevision','deselect','_parentRevisionId','ck-revision-history-sidebar__revision-authors','2630475bnlyRm','fire','ck-reset','956000znZqtL','createdAt'];_0x17de=function(){return _0x766acf;};return _0x17de();}import'../../../theme/revision/subrevision.css';export default class is extends _0xdfdf64{constructor(_0x2f30d1,_0x580f33,_0x20c87e){const _0x44b4e9=_0x58c5;super(_0x2f30d1);const _0x522267=this[_0x44b4e9(0x161)];this['id']=_0x580f33['id'],this[_0x44b4e9(0x167)](_0x44b4e9(0x15f))['to'](_0x580f33),this[_0x44b4e9(0x16d)](_0x44b4e9(0x16c),!0x1),this[_0x44b4e9(0x167)](_0x44b4e9(0x16b))['to'](this,_0x44b4e9(0x15f),_0x597ab4=>_0x597ab4?_0x295491(_0x2f30d1[_0x44b4e9(0x170)],_0x597ab4):void 0x0),this[_0x44b4e9(0x178)]=_0x20c87e,this[_0x44b4e9(0x168)]({'tag':_0x44b4e9(0x174),'attributes':{'class':['ck',_0x44b4e9(0x15d),_0x44b4e9(0x164),_0x44b4e9(0x176),_0x522267['if'](_0x44b4e9(0x16c),_0x44b4e9(0x166))]},'children':[{'tag':_0x44b4e9(0x165),'attributes':{'class':['ck',_0x44b4e9(0x16e)]},'children':[{'text':_0x522267['to'](_0x44b4e9(0x16b))}]},{'tag':'ul','attributes':{'class':['ck',_0x44b4e9(0x179)]},'children':[new _0x274cb4(_0x2f30d1,_0x580f33[_0x44b4e9(0x16f)],!0x0)]}],'on':{'click':_0x522267['to'](this[_0x44b4e9(0x160)][_0x44b4e9(0x167)](this))}});}[_0x3a9935(0x160)](){const _0x9db046=_0x3a9935;this[_0x9db046(0x16c)]=!0x0,this[_0x9db046(0x15c)](_0x9db046(0x160),{'parentId':this[_0x9db046(0x178)]});}[_0x3a9935(0x177)](){const _0x224bc7=_0x3a9935;this[_0x224bc7(0x16c)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x28cdd0,_0x2daa99){var _0x3ddcbd=_0x5679,_0x1410bf=_0x28cdd0();while(!![]){try{var _0x162df7=parseInt(_0x3ddcbd(0x19a))/0x1+-parseInt(_0x3ddcbd(0x19b))/0x2*(parseInt(_0x3ddcbd(0x19f))/0x3)+-parseInt(_0x3ddcbd(0x19e))/0x4+parseInt(_0x3ddcbd(0x19d))/0x5+parseInt(_0x3ddcbd(0x199))/0x6*(-parseInt(_0x3ddcbd(0x1a0))/0x7)+parseInt(_0x3ddcbd(0x1a1))/0x8+-parseInt(_0x3ddcbd(0x1a2))/0x9;if(_0x162df7===_0x2daa99)break;else _0x1410bf['push'](_0x1410bf['shift']());}catch(_0x45f75f){_0x1410bf['push'](_0x1410bf['shift']());}}}(_0x553c,0xf0e32));function _0x5679(_0x4ad4bc,_0x1ed238){var _0x553c61=_0x553c();return _0x5679=function(_0x567959,_0x23b721){_0x567959=_0x567959-0x199;var _0x5e193=_0x553c61[_0x567959];return _0x5e193;},_0x5679(_0x4ad4bc,_0x1ed238);}export function dateToPrettyFormat(_0x2b23ff,_0x52e16e){var _0x3e24d=_0x5679;return _0x52e16e[_0x3e24d(0x19c)](_0x2b23ff,{'month':_0x3e24d(0x1a4),'day':_0x3e24d(0x1a5)})+',\x20'+_0x52e16e[_0x3e24d(0x1a3)](_0x2b23ff,{'hour':_0x3e24d(0x1a5),'minute':_0x3e24d(0x1a5)});}function _0x553c(){var _0x1c9a2b=['9259060ipXEyh','3356672tfNVgg','574179RbbZmw','280ZupOUc','4586712ExHzRq','2924118wsgiod','toLocaleTimeString','long','numeric','93570jQkVAN','540786iAJVRy','2VRjjfs','toLocaleDateString'];_0x553c=function(){return _0x1c9a2b;};return _0x553c();}
|