@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250121.0 → 0.0.0-nightly-20250123.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +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 +11 -8
- 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 _0x6d4512=_0x42b2;(function(_0x5393e7,_0x409add){const _0x4fc987=_0x42b2,_0x14a6d4=_0x5393e7();while(!![]){try{const _0x3780a4=parseInt(_0x4fc987(0x2f6))/0x1+-parseInt(_0x4fc987(0x1e1))/0x2*(parseInt(_0x4fc987(0x2c5))/0x3)+-parseInt(_0x4fc987(0x313))/0x4+-parseInt(_0x4fc987(0x224))/0x5*(-parseInt(_0x4fc987(0x26f))/0x6)+parseInt(_0x4fc987(0x211))/0x7+parseInt(_0x4fc987(0x1dd))/0x8+parseInt(_0x4fc987(0x252))/0x9*(-parseInt(_0x4fc987(0x28a))/0xa);if(_0x3780a4===_0x409add)break;else _0x14a6d4['push'](_0x14a6d4['shift']());}catch(_0x30abff){_0x14a6d4['push'](_0x14a6d4['shift']());}}}(_0x26f2,0x3c447));import{Plugin as _0x3982f8,Command as _0x3f8c60}from'ckeditor5/src/core.js';function _0x42b2(_0xa0d4b8,_0x33c97e){const _0x26f23e=_0x26f2();return _0x42b2=function(_0x42b275,_0x1c6301){_0x42b275=_0x42b275-0x1da;let _0xa1f840=_0x26f23e[_0x42b275];return _0xa1f840;},_0x42b2(_0xa0d4b8,_0x33c97e);}import{scrollViewportToShowTarget as _0x520a35}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0xd60724}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x3d6e6f,Element as _0x2e8853,Text as _0x4d31d1,ViewDocumentFragment as _0x25c8d6,ViewText as _0x1631d0,ViewElement as _0x226444,ViewContainerElement as _0x2589b9,ViewAttributeElement as _0x419ecc,ViewEmptyElement as _0x384db4,ViewRawElement as _0x59d6,ViewUIElement as _0x57aa2b}from'ckeditor5/src/engine.js';import{Users as _0x4150fc,getMarkerDomElement as _0x5a48e2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5c7c58 from'./ui/revisionviewer/changedetailsview.js';import _0x6d2901 from'./revisionsrepository.js';import _0x1f15e1 from'./changeitem.js';import{default as _0x58ceed}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x1ed0a4}from'lodash-es';function _0x26f2(){const _0x552f71=['isBlock','createPositionFromPath','RevisionsRepository','12966tAqAnN','data-revision-','revision-suggestion','isAtEnd','previousPosition','revision-start','toViewPosition','markerRange','revision:','refresh','mousedown','_cleanUp','map','removeMarker','filter','isAtStart','_revisions','removeMarker:revision','unbindElementFromMarkerName','isObject','change:activeView','config','keys','_makeTape','vid','_getViewForChange','_getDiff','markerNameToElements','elementEnd','remove','detachRoot','consumable','isAddSuggestion','ck-revision-history-root-','enableReadOnlyMode','affectsData','showPreviousChange','createRevision','restoreRevisionCallback','_markMismatchedRemovedTags','-new','selection','processor','change:activeChange','revision-viewer','enqueueChange','_refreshStartEndIndex','side','forEach','190118ZOVYfR','bind','backward','getItems','downcastDispatcher','for','findIndex','data-change-id','add','startIndex','_cleanMarkers','createRangeIn','pluginName','toData','element','RevisionViewer','conversion','locale','code','attributesBefore','catch','observeMarkers','change','execute','parent','_findChangeIdFromDomTarget','abs','isPremiumPlugin','getWalker','387568cvmvhm','distance','adapter','object','done','isCollapsed','ck-suggestion-marker-merge','_data','revision-suggestion:','highest','init','dataToMarker','_threeWayMerge','_appendChild','_sortAndFilterDiffChanges','userId','isRemoved','diff','getIndex','text','level','createUIElement','right','shift','range','isBefore','schema','next','3902432lJzIKY','test','createPositionBefore','nextPosition','90slCByt','view','_getChangeFromId','markerToData','softBreak','insertion','_makeModelFromTape','currentChangeNumber','isLimit','split','isAfter','attribute:vid','isOfficialPlugin','all','_balloon','repository','viewItem','isEqual','numberOfChanges','change:isEnabled','hasClass','attributesAfter','change:numberOfChanges','_step','upcast','_joinTapes','forward','bindElementToMarker','revision-end','setAttribute','markersStart','_activeViewTarget','deletions','requires','deletion','getRevision','mapper','element:pre','showStack','reconvertMarker','_makeModelFromViewString','comment','name','from','model','end','unshift','plugins','1693132nOasWX','getAttributes','getCustomProperty','data','_processTape','listenTo','pairId','high','isRemoveSuggestion','getRoot','removeMarker:revision-suggestion','target','_setConversion','insert','isEnabled','getClientRects','_changeIdToChange','_removeUnsupportedChanges','set','310145WxLnbG','addClass','_markSuggestions','authors','revisionHistoryLabel','change:isReady','_setChanges','_fixObsoleteTags','consume','isAdded','maxOffset','isInline','addMarker:revision-suggestion:insertion','suggestion:','merge','offsetSize','pop','commands','getRevisionData','_initInteractions','document','createRange','addRoot','marked','_getViewObj','addRevisionData','getDomRoot','markerName','activeView','showNextChange','changeId','removeAttribute','default','mapViewToDom','rootName','_update','top','isNavigationMode','destroy','vid_start','concat','newRevisionId','span','activeChange','sort','useFillerType','315JdRWyD','elementToAttribute','updatePosition','addHighlight','get','left','index','includes','vid_end','createAttributeElement','push','toViewRange','elementStart','startsWith','isOnRoot','POSITIVE_INFINITY','mouseover','then','isReady','editor','uiElement','parse','ck-suggestion-preview-marker-','string','slice','flat','isIncorrect','revisionHistoryAttachChange','writer','6uysmzq','addMarker:revision-suggestion:deletion','modelRange','nextSibling','ck-suggestion-preview-marker','ck-suggestion-marker--active','isSuggestion','revision-comment:','_changeView','editing','indexOf','isAttached','markerToHighlight','markers','addMarker:revision','getRootNames','checkAttribute','compare','changes','ck-revision-history-root-add','toViewElement','ck-suggestion-marker','nodeAfter','domConverter','collaboration.channelId','children','_removeRevisionMarkers','126740nurolb','getLaterVisibleRevision','getRevisionRootsAttributes','restoreRevision','getChild','ck-editor__editable__overlay','ck-revision-history-root--active','toModel','_removeMissingPairs','start','has','markersEnd','suggestion','stop','oldRevisionId','length','domEvent','ck-suggestion-marker-','low','revision','hasAttribute','item','dataDowncast','error','attachChange','_markMarkers','wrap','delete','resolve','editingDowncast','roots','revisionHistory','endIndex','getAttribute','splice','addRevision','_markInsertions','diffData','return','loadRevisionData','find','_getRevisionsRange','first','attributes','type','clear','ck-suggestion-marker-split','isContent','WidgetToolbarRepository','removeClass','_setDistance','ck-revision-history-root-remove','forceDisabled','bottom','insertions','values'];_0x26f2=function(){return _0x552f71;};return _0x26f2();}const Y={'c':_0x2589b9,'a':_0x419ecc,'e':_0x384db4,'r':_0x59d6,'u':_0x57aa2b};export default class d extends _0x3982f8{static get[_0x6d4512(0x302)](){const _0x40b123=_0x6d4512;return _0x40b123(0x305);}static get[_0x6d4512(0x1ed)](){return!0x0;}static get[_0x6d4512(0x311)](){return!0x0;}static get[_0x6d4512(0x202)](){return[_0x4150fc,_0xd60724,_0x6d2901];}constructor(_0x513ab9){const _0x79399c=_0x6d4512;super(_0x513ab9),this[_0x79399c(0x1f0)]=this[_0x79399c(0x265)][_0x79399c(0x210)][_0x79399c(0x256)](_0x79399c(0x2c4)),this[_0x79399c(0x223)](_0x79399c(0x24f),null),this[_0x79399c(0x223)](_0x79399c(0x240),null),this[_0x79399c(0x200)]=null,this[_0x79399c(0x223)](_0x79399c(0x324),null),this[_0x79399c(0x223)](_0x79399c(0x264),!0x1),this[_0x79399c(0x223)](_0x79399c(0x21f),!0x0),this['on'](_0x79399c(0x1f4),(_0x1fc6c8,_0x3d01e3,_0x130190)=>{const _0x36360b=_0x79399c;this[_0x36360b(0x24f)]=null,this[_0x36360b(0x240)]=null,this[_0x36360b(0x265)][_0x36360b(0x278)][_0x36360b(0x1e2)][_0x36360b(0x30c)](_0x309d51=>{const _0x286047=_0x36360b;for(const _0x6a6a90 of this[_0x286047(0x265)][_0x286047(0x278)][_0x286047(0x1e2)][_0x286047(0x238)][_0x286047(0x2a8)])_0x130190?_0x309d51[_0x286047(0x2bb)](_0x286047(0x28f),_0x6a6a90):_0x309d51[_0x286047(0x225)](_0x286047(0x28f),_0x6a6a90);});}),this[_0x79399c(0x2f7)](_0x79399c(0x249))['to'](this,_0x79399c(0x24f),_0x2b2b94=>null!==_0x2b2b94),this[_0x79399c(0x2f7)](_0x79399c(0x1e8))['to'](this,_0x79399c(0x264),this,_0x79399c(0x324),this,_0x79399c(0x24f),(_0x204842,_0x53d53d,_0x15453d)=>_0x204842&&_0x15453d?_0x53d53d[_0x79399c(0x281)][_0x79399c(0x325)](_0x15453d):0x0),this[_0x79399c(0x2f7)](_0x79399c(0x1f3))['to'](this,_0x79399c(0x264),this,_0x79399c(0x324),(_0x216163,_0x4b424c)=>_0x216163?_0x4b424c[_0x79399c(0x281)][_0x79399c(0x299)]:0x0),this[_0x79399c(0x277)]=null,this[_0x79399c(0x221)]=new Map(),this[_0x79399c(0x315)]=null,this[_0x79399c(0x1ef)]=this[_0x79399c(0x265)][_0x79399c(0x210)][_0x79399c(0x256)](_0xd60724);}[_0x6d4512(0x31d)](){const _0x4246cb=_0x6d4512,_0x1af1b9=this[_0x4246cb(0x265)],_0x53b7b7=new ShowChangeCommand(_0x1af1b9,{'direction':_0x4246cb(0x2f8)}),_0x53f692=new ShowChangeCommand(_0x1af1b9,{'direction':_0x4246cb(0x1fb)});(_0x1af1b9[_0x4246cb(0x235)][_0x4246cb(0x2fe)](_0x4246cb(0x2e9),_0x53b7b7),_0x1af1b9[_0x4246cb(0x235)][_0x4246cb(0x2fe)](_0x4246cb(0x241),_0x53f692),_0x1af1b9[_0x4246cb(0x235)][_0x4246cb(0x2fe)](_0x4246cb(0x28d),new RestoreRevisionCommand(_0x1af1b9)),this['on'](_0x4246cb(0x1f7),()=>{const _0x22fa35=_0x4246cb;_0x53b7b7[_0x22fa35(0x2ce)](),_0x53f692[_0x22fa35(0x2ce)]();}),this[_0x4246cb(0x21d)](),this[_0x4246cb(0x237)](),_0x1af1b9[_0x4246cb(0x2e7)](_0x4246cb(0x2f1)),_0x1af1b9[_0x4246cb(0x210)][_0x4246cb(0x294)](_0x4246cb(0x2ba)))&&_0x1af1b9[_0x4246cb(0x210)][_0x4246cb(0x256)](_0x4246cb(0x2ba))[_0x4246cb(0x2be)](_0x4246cb(0x2f1));}async[_0x6d4512(0x236)](_0x253976){const _0x45955b=_0x6d4512;await this[_0x45955b(0x2b1)](_0x253976);const _0xb98bd4={};for(const _0xff141d in _0x253976[_0x45955b(0x2af)]){if(_0x253976[_0x45955b(0x2af)][_0xff141d][_0x45955b(0x2a2)]&&!_0x253976[_0x45955b(0x2af)][_0xff141d][_0x45955b(0x2a2)][_0x45955b(0x27a)])continue;const _0x11a8ed=this[_0x45955b(0x289)](JSON[_0x45955b(0x267)](_0x253976[_0x45955b(0x2af)][_0xff141d][_0x45955b(0x2c0)])),_0x45b2c9=this[_0x45955b(0x265)][_0x45955b(0x278)][_0x45955b(0x1e2)][_0x45955b(0x238)],_0x51c15a=new _0x25c8d6(_0x45b2c9,_0x11a8ed[_0x45955b(0x2d1)](_0x2569c7=>this[_0x45955b(0x23c)](_0x2569c7)));this[_0x45955b(0x265)][_0x45955b(0x214)][_0x45955b(0x2ef)][_0x45955b(0x251)](_0x45955b(0x23b)),_0xb98bd4[_0xff141d]=this[_0x45955b(0x265)][_0x45955b(0x214)][_0x45955b(0x2ef)][_0x45955b(0x303)](_0x51c15a),this[_0x45955b(0x265)][_0x45955b(0x214)][_0x45955b(0x2ef)][_0x45955b(0x251)](_0x45955b(0x244));}return _0xb98bd4;}async[_0x6d4512(0x28c)](_0x1e3d21){const _0x52a616=_0x6d4512;await this[_0x52a616(0x2b1)](_0x1e3d21);const _0x7bc4a0={};for(const _0x5e96d6 in _0x1e3d21[_0x52a616(0x2af)])_0x1e3d21[_0x52a616(0x2af)][_0x5e96d6][_0x52a616(0x2a2)]&&!_0x1e3d21[_0x52a616(0x2af)][_0x5e96d6][_0x52a616(0x2a2)][_0x52a616(0x27a)]||(_0x7bc4a0[_0x5e96d6]=_0x1e3d21[_0x52a616(0x2af)][_0x5e96d6][_0x52a616(0x1f6)]||{});return _0x7bc4a0;}[_0x6d4512(0x289)](_0x2f3a03){const _0x4c3ad5=_0x6d4512;return(_0x2f3a03=_0x2f3a03[_0x4c3ad5(0x2d3)](_0x338fac=>!_0x338fac[_0x4c3ad5(0x20b)]||_0x4c3ad5(0x2ca)!==_0x338fac[_0x4c3ad5(0x20b)]&&_0x4c3ad5(0x1fd)!==_0x338fac[_0x4c3ad5(0x20b)]))[_0x4c3ad5(0x2f5)](_0x132fd8=>{const _0x5ee127=_0x4c3ad5;_0x5ee127(0x269)!=typeof _0x132fd8&&(_0x132fd8[_0x5ee127(0x288)]=this[_0x5ee127(0x289)](_0x132fd8[_0x5ee127(0x288)]),_0x132fd8[_0x5ee127(0x2b5)]=_0x132fd8[_0x5ee127(0x2b5)][_0x5ee127(0x2d3)](_0x5418f9=>!_0x5418f9[0x0][_0x5ee127(0x25f)](_0x5ee127(0x2c6))));}),_0x2f3a03;}async[_0x6d4512(0x280)](_0x36cedb,_0x525e4e,_0x43b2bc=!0x1){const _0x4216fc=_0x6d4512;if(!this[_0x4216fc(0x21f)])return;const _0x19ac05=this[_0x4216fc(0x324)],_0x2adaf4=this[_0x4216fc(0x1f0)],_0x4fbaf8=_0x4216fc(0x269)==typeof _0x36cedb?_0x2adaf4[_0x4216fc(0x204)](_0x36cedb):_0x36cedb,_0xb46fe4=_0x4216fc(0x269)==typeof _0x525e4e?_0x2adaf4[_0x4216fc(0x204)](_0x525e4e):_0x525e4e,_0x57bf5c=_0x4fbaf8['id'],_0x192dde=_0xb46fe4?_0xb46fe4['id']:null;if(!_0x43b2bc&&this[_0x4216fc(0x324)]&&this[_0x4216fc(0x324)][_0x4216fc(0x24d)]===_0x57bf5c&&this[_0x4216fc(0x324)][_0x4216fc(0x298)]===_0x192dde)return Promise[_0x4216fc(0x2a6)]();this[_0x4216fc(0x264)]=!0x1,this[_0x4216fc(0x240)]=null,this[_0x4216fc(0x24f)]=null,this[_0x4216fc(0x324)]=new _0x58ceed(_0x57bf5c,_0x192dde);const _0x35d196=this[_0x4216fc(0x2b3)](_0x4fbaf8,_0xb46fe4,!0x0)[_0x4216fc(0x2d1)](_0x393f6f=>this[_0x4216fc(0x2b1)](_0x393f6f));return _0x35d196[_0x4216fc(0x25c)](new Promise(_0x27806d=>{setTimeout(_0x27806d,0x14);})),Promise[_0x4216fc(0x1ee)](_0x35d196)[_0x4216fc(0x263)](()=>{const _0x4f40b2=_0x4216fc;if(!this[_0x4f40b2(0x21f)])return;this[_0x4f40b2(0x2d0)]();const _0x7c28a0=this[_0x4f40b2(0x2df)](_0x57bf5c,_0x192dde);for(const _0x1674fd of _0x7c28a0[_0x4f40b2(0x281)])this[_0x4f40b2(0x221)][_0x4f40b2(0x223)](_0x1674fd['id'],_0x1674fd);this[_0x4f40b2(0x265)][_0x4f40b2(0x20d)][_0x4f40b2(0x2f2)]({'isUndoable':!0x1},_0x13f4ad=>{const _0x56ee5e=_0x4f40b2;for(const _0x4fb430 of this[_0x56ee5e(0x265)][_0x56ee5e(0x20d)][_0x56ee5e(0x238)][_0x56ee5e(0x27e)]())_0x13f4ad[_0x56ee5e(0x2e3)](_0x4fb430);for(const _0x8f3169 of Object[_0x56ee5e(0x2db)](_0x7c28a0[_0x56ee5e(0x20d)])){const _0x17e763=_0x13f4ad[_0x56ee5e(0x23a)](_0x8f3169);for(const _0x45494b of Object[_0x56ee5e(0x2db)](_0x7c28a0[_0x56ee5e(0x2b5)][_0x8f3169]))_0x13f4ad[_0x56ee5e(0x1fe)](_0x45494b,_0x7c28a0[_0x56ee5e(0x2b5)][_0x8f3169][_0x45494b],_0x17e763);_0x13f4ad[_0x56ee5e(0x21e)](_0x7c28a0[_0x56ee5e(0x20d)][_0x8f3169],_0x17e763,0x0);}}),this[_0x4f40b2(0x324)][_0x4f40b2(0x22a)](this[_0x4f40b2(0x321)](_0x7c28a0[_0x4f40b2(0x281)])),this[_0x4f40b2(0x264)]=!0x0;})[_0x4216fc(0x30a)](_0x56b081=>{const _0xcf4695=_0x4216fc;console[_0xcf4695(0x2a1)](_0x56b081),this[_0xcf4695(0x2d0)](),_0x19ac05&&(this[_0xcf4695(0x324)]=_0x19ac05),this[_0xcf4695(0x264)]=!0x0;});}[_0x6d4512(0x23d)](_0x529510,_0x1e12f5){const _0xc1c73=_0x6d4512,_0x31db9d=this[_0xc1c73(0x1f0)][_0xc1c73(0x2ea)](_0x529510);return _0x31db9d['on'](_0xc1c73(0x247),(_0x5d7070,_0x374780,_0x495df7)=>_0x1e12f5(_0x374780,_0x495df7,_0x31db9d)),this[_0xc1c73(0x1f0)][_0xc1c73(0x2ad)](_0x31db9d),_0x31db9d;}[_0x6d4512(0x2b1)](_0x3a65b1){const _0xd251d0=_0x6d4512;if(!_0x3a65b1||_0x3a65b1[_0xd251d0(0x2af)])return Promise[_0xd251d0(0x2a6)]();{const _0x2ad21d=this[_0xd251d0(0x265)][_0xd251d0(0x2da)][_0xd251d0(0x256)](_0xd251d0(0x287));return this[_0xd251d0(0x315)][_0xd251d0(0x204)]({'channelId':_0x2ad21d,'revisionId':_0x3a65b1['id']})[_0xd251d0(0x263)](_0x2f8435=>{const _0xd7c465=_0xd251d0;_0x3a65b1[_0xd7c465(0x247)]({'diffData':_0x2f8435[_0xd7c465(0x2af)]},!0x0);});}}[_0x6d4512(0x2d0)](){const _0x2782ff=_0x6d4512;this[_0x2782ff(0x24f)]=null,this[_0x2782ff(0x300)](),this[_0x2782ff(0x277)]&&this[_0x2782ff(0x277)][_0x2782ff(0x24a)](),this[_0x2782ff(0x277)]=null,this[_0x2782ff(0x221)][_0x2782ff(0x2b7)](),this[_0x2782ff(0x265)][_0x2782ff(0x20d)][_0x2782ff(0x2f2)]({'isUndoable':!0x1},_0x2cf8ff=>{const _0x1c9cba=_0x2782ff;for(const _0x144ad9 of this[_0x1c9cba(0x265)][_0x1c9cba(0x20d)][_0x1c9cba(0x238)][_0x1c9cba(0x27e)]())_0x2cf8ff[_0x1c9cba(0x2e3)](_0x144ad9);});}[_0x6d4512(0x321)](_0x1cf356){const _0x2a0b51=_0x6d4512,_0x1bcf87=[],_0x1f5af7=new Map();for(const _0x547279 of this[_0x2a0b51(0x265)][_0x2a0b51(0x20d)][_0x2a0b51(0x238)][_0x2a0b51(0x27e)]()){const _0x1fbd81=this[_0x2a0b51(0x265)][_0x2a0b51(0x278)][_0x2a0b51(0x1e2)][_0x2a0b51(0x23e)](_0x547279);if(!_0x1fbd81)continue;const _0x46c183=_0x1fbd81[_0x2a0b51(0x220)]()[_0x2a0b51(0x29f)](0x0);_0x46c183&&(_0x1bcf87[_0x2a0b51(0x25c)](_0x547279),_0x1f5af7[_0x2a0b51(0x223)](_0x547279,_0x46c183));}return _0x1bcf87[_0x2a0b51(0x250)]((_0x34612a,_0xa5fc09)=>{const _0x10cd96=_0x2a0b51,_0x1e3cf5=_0x1f5af7[_0x10cd96(0x256)](_0x34612a),_0x164eb7=_0x1f5af7[_0x10cd96(0x256)](_0xa5fc09);return _0x1e3cf5['y']-_0x164eb7['y']||_0x1e3cf5['x']-_0x164eb7['x'];}),(_0x1cf356=_0x1cf356[_0x2a0b51(0x2d3)](_0x38419e=>_0x1bcf87[_0x2a0b51(0x259)](_0x38419e[_0x2a0b51(0x246)])))[_0x2a0b51(0x250)]((_0x19c9ba,_0x185e89)=>_0x1bcf87[_0x2a0b51(0x279)](_0x19c9ba[_0x2a0b51(0x246)])-_0x1bcf87[_0x2a0b51(0x279)](_0x185e89[_0x2a0b51(0x246)])),_0x1cf356;}[_0x6d4512(0x2dc)](_0x4e6d30){const _0x47cf1f=_0x6d4512,_0x1ba306=Array[_0x47cf1f(0x20c)](_0x4e6d30[_0x47cf1f(0x27c)])[_0x47cf1f(0x2d3)](([_0x5a4e59,_0x49b643])=>_0x5a4e59[_0x47cf1f(0x25f)](_0x47cf1f(0x2cd))&&!_0x49b643[_0x47cf1f(0x318)]),_0x57fbcc=Array[_0x47cf1f(0x20c)](this[_0x47cf1f(0x265)][_0x47cf1f(0x20d)][_0x47cf1f(0x301)](_0x4e6d30)[_0x47cf1f(0x312)]({'singleCharacters':!0x0}));if(0x0!=_0x1ba306[_0x47cf1f(0x299)])for(const _0x741c05 of _0x57fbcc){const [_0x7bb67f,_0x4dce19]=_0x1ba306[0x0],[,_0x489800,_0x573f01]=_0x7bb67f[_0x47cf1f(0x1ea)](':');if(_0x4dce19[_0x47cf1f(0x20e)][_0x47cf1f(0x1f2)](_0x741c05[_0x47cf1f(0x1e0)])&&_0x1ba306[_0x47cf1f(0x32a)](),(_0x741c05[_0x47cf1f(0x2c9)][_0x47cf1f(0x1f2)](_0x4dce19[_0x47cf1f(0x293)])||_0x741c05[_0x47cf1f(0x2c9)][_0x47cf1f(0x1eb)](_0x4dce19[_0x47cf1f(0x293)]))&&(_0x47cf1f(0x1e6)==_0x489800?_0x741c05[_0x47cf1f(0x22d)]={'userId':_0x573f01}:_0x47cf1f(0x203)==_0x489800&&(_0x741c05[_0x47cf1f(0x323)]={'userId':_0x573f01})),0x0==_0x1ba306[_0x47cf1f(0x299)])break;}return _0x57fbcc;}[_0x6d4512(0x2f3)](_0x586cd3){const _0x843d43=_0x6d4512,_0x1e311c=new Map();for(let _0xa8f1db=0x0;_0xa8f1db<_0x586cd3[_0x843d43(0x299)];_0xa8f1db++)_0x843d43(0x326)===_0x586cd3[_0xa8f1db][_0x843d43(0x2b6)]?(_0x586cd3[_0xa8f1db][_0x843d43(0x29f)][_0x843d43(0x2ff)]=_0xa8f1db,_0x586cd3[_0xa8f1db][_0x843d43(0x29f)][_0x843d43(0x2aa)]=_0xa8f1db):(_0x843d43(0x25e)===_0x586cd3[_0xa8f1db][_0x843d43(0x2b6)]?_0x586cd3[_0xa8f1db][_0x843d43(0x29f)][_0x843d43(0x2ff)]=_0xa8f1db:_0x843d43(0x2e1)===_0x586cd3[_0xa8f1db][_0x843d43(0x2b6)]&&(_0x586cd3[_0xa8f1db][_0x843d43(0x29f)][_0x843d43(0x2aa)]=_0xa8f1db),_0x1e311c[_0x843d43(0x223)](_0x586cd3[_0xa8f1db]['id'],_0xa8f1db));for(const _0x47206d of _0x1e311c[_0x843d43(0x2c1)]())_0x843d43(0x25e)===_0x586cd3[_0x47206d][_0x843d43(0x2b6)]?_0x586cd3[_0x47206d][_0x843d43(0x29f)][_0x843d43(0x2aa)]=_0x1e311c[_0x843d43(0x256)](_0x586cd3[_0x47206d][_0x843d43(0x217)]):_0x843d43(0x2e1)===_0x586cd3[_0x47206d][_0x843d43(0x2b6)]&&(_0x586cd3[_0x47206d][_0x843d43(0x29f)][_0x843d43(0x2ff)]=_0x1e311c[_0x843d43(0x256)](_0x586cd3[_0x47206d][_0x843d43(0x217)]));}[_0x6d4512(0x215)](_0x45acc1){const _0x23e9b5=_0x6d4512;for(let _0x1605cc=0x0;_0x1605cc<_0x45acc1[_0x23e9b5(0x299)];_0x1605cc++){if(_0x23e9b5(0x25e)===_0x45acc1[_0x1605cc][_0x23e9b5(0x2b6)])_0x45acc1[_0x1605cc][_0x23e9b5(0x29f)][_0x23e9b5(0x2ff)]=_0x1605cc;else{if(_0x23e9b5(0x2e1)===_0x45acc1[_0x1605cc][_0x23e9b5(0x2b6)]){_0x45acc1[_0x1605cc][_0x23e9b5(0x29f)][_0x23e9b5(0x2aa)]=_0x1605cc;const _0x3438f9=_0x45acc1[_0x1605cc][_0x23e9b5(0x29f)][_0x23e9b5(0x2ff)];_0x45acc1[_0x3438f9][_0x23e9b5(0x217)]=_0x45acc1[_0x1605cc]['id'],_0x45acc1[_0x1605cc][_0x23e9b5(0x217)]=_0x45acc1[_0x3438f9]['id'];}else _0x45acc1[_0x1605cc][_0x23e9b5(0x29f)][_0x23e9b5(0x2ff)]=_0x1605cc,_0x45acc1[_0x1605cc][_0x23e9b5(0x29f)][_0x23e9b5(0x2aa)]=_0x1605cc,_0x45acc1[_0x1605cc][_0x23e9b5(0x217)]=null;}_0x45acc1[_0x1605cc][_0x23e9b5(0x1ff)]||(_0x45acc1[_0x1605cc][_0x23e9b5(0x1ff)]=[],_0x45acc1[_0x1605cc][_0x23e9b5(0x295)]=[]);}}[_0x6d4512(0x2ae)](_0x5401e5,_0x30936){const _0x2f0a9a=_0x6d4512,_0x52d053=_0x5401e5[_0x2f0a9a(0x2d3)](_0x3b6af9=>!_0x3b6af9[_0x2f0a9a(0x22d)]);for(let _0x86562=0x0;_0x86562<_0x30936[_0x2f0a9a(0x299)];_0x86562++)_0x30936[_0x86562][_0x2f0a9a(0x22d)]&&(_0x52d053[_0x86562][_0x2f0a9a(0x22d)]=_0x30936[_0x86562][_0x2f0a9a(0x22d)]);}[_0x6d4512(0x209)](_0x2c06a4){const _0x4ff162=_0x6d4512,_0x3dbbff=JSON[_0x4ff162(0x267)](_0x2c06a4),_0x4d5b52=this[_0x4ff162(0x265)][_0x4ff162(0x278)][_0x4ff162(0x1e2)][_0x4ff162(0x238)],_0x342d63=new _0x25c8d6(_0x4d5b52,_0x3dbbff[_0x4ff162(0x2d1)](_0x1b61de=>this[_0x4ff162(0x23c)](_0x1b61de)));return this[_0x4ff162(0x265)][_0x4ff162(0x214)][_0x4ff162(0x291)](_0x342d63);}[_0x6d4512(0x23c)](_0x108a8c){const _0x41e362=_0x6d4512,_0x4a8ad7=this[_0x41e362(0x265)][_0x41e362(0x278)][_0x41e362(0x1e2)][_0x41e362(0x238)];if(_0x41e362(0x269)==typeof _0x108a8c)return new _0x1631d0(_0x4a8ad7,_0x108a8c);{const _0x4798ec=_0x108a8c[_0x41e362(0x288)][_0x41e362(0x2d1)](_0x52213e=>this[_0x41e362(0x23c)](_0x52213e));return new(Y[_0x108a8c[(_0x41e362(0x2b6))]]||_0x226444)(_0x4a8ad7,_0x108a8c[_0x41e362(0x20b)],_0x108a8c[_0x41e362(0x2b5)],_0x4798ec);}}[_0x6d4512(0x2df)](_0x2ae187,_0x18eee9=null){const _0x2a237d=_0x6d4512,_0x5cb198=this[_0x2a237d(0x1f0)][_0x2a237d(0x204)](_0x2ae187),_0x679e76=_0x18eee9?this[_0x2a237d(0x1f0)][_0x2a237d(0x204)](_0x18eee9):null,_0x49891f=this[_0x2a237d(0x2b3)](_0x5cb198,_0x679e76),_0x3f3aed=_0x49891f[_0x49891f[_0x2a237d(0x299)]-0x1],_0x41a83a=new Map(),_0x3001cd={'model':{},'attributes':{},'changes':[]},_0x4668c2=new Set(),_0x45e878=new Map();for(let _0x1ba897=_0x49891f[_0x2a237d(0x299)]-0x1;_0x1ba897>=0x0;_0x1ba897--){const _0x401f5d=_0x49891f[_0x1ba897];for(const _0x497d3f of Object[_0x2a237d(0x2db)](_0x401f5d[_0x2a237d(0x2af)]))if(_0x401f5d[_0x2a237d(0x2af)][_0x497d3f][_0x2a237d(0x2a2)]){const _0x2a8eb9=_0x401f5d[_0x2a237d(0x2af)][_0x497d3f][_0x2a237d(0x2a2)];_0x2a8eb9[_0x2a237d(0x27a)]?(_0x4668c2[_0x2a237d(0x2fe)](_0x497d3f),_0x45e878[_0x2a237d(0x294)](_0x497d3f)&&_0x45e878[_0x2a237d(0x256)](_0x497d3f)[_0x2a237d(0x322)]==_0x2a8eb9[_0x2a237d(0x322)]?_0x45e878[_0x2a237d(0x2a5)](_0x497d3f):_0x45e878[_0x2a237d(0x223)](_0x497d3f,_0x2a8eb9)):_0x45e878[_0x2a237d(0x294)](_0x497d3f)?(_0x4668c2[_0x2a237d(0x2a5)](_0x497d3f),_0x45e878[_0x2a237d(0x2a5)](_0x497d3f)):(_0x4668c2[_0x2a237d(0x2fe)](_0x497d3f),_0x45e878[_0x2a237d(0x223)](_0x497d3f,_0x2a8eb9));}else _0x4668c2[_0x2a237d(0x2fe)](_0x497d3f);}for(const _0x34730f of _0x4668c2){const _0x18953a=_0x45e878[_0x2a237d(0x294)](_0x34730f)&&!_0x45e878[_0x2a237d(0x256)](_0x34730f)[_0x2a237d(0x27a)];let _0x588d59=_0x18953a?_0x49891f[_0x2a237d(0x299)]-0x1:0x0;const _0x3033a3=_0x18953a?-0x1:0x1;for(;_0x49891f[_0x588d59];){const _0xf93688=_0x49891f[_0x588d59];if(_0xf93688[_0x2a237d(0x2af)][_0x34730f]){const _0x31dd88=_0x18953a?_0xf93688[_0x2a237d(0x2af)][_0x34730f][_0x2a237d(0x309)]:_0xf93688[_0x2a237d(0x2af)][_0x34730f][_0x2a237d(0x1f6)];_0x3001cd[_0x2a237d(0x2b5)][_0x34730f]=_0x31dd88?_0x1ed0a4(_0x31dd88):{};break;}_0x588d59+=_0x3033a3;}}for(const _0x297746 of _0x49891f){_0x297746[_0x2a237d(0x20d)]={};for(const _0x351cbd of _0x297746[_0x2a237d(0x227)])_0x41a83a[_0x2a237d(0x223)](_0x351cbd['id'],_0x351cbd);for(const _0x3b8511 of _0x4668c2){const _0x544ccb=_0x297746[_0x2a237d(0x2af)][_0x3b8511]?_0x297746[_0x2a237d(0x2af)][_0x3b8511][_0x2a237d(0x2c0)]:'[]',_0xe9b60a=_0x297746[_0x2a237d(0x2af)][_0x3b8511]?_0x297746[_0x2a237d(0x2af)][_0x3b8511][_0x2a237d(0x201)]:'[]';_0x297746[_0x2a237d(0x20d)][_0x3b8511]={'insertions':this[_0x2a237d(0x209)](_0x544ccb),'deletions':this[_0x2a237d(0x209)](_0xe9b60a)};}}for(const _0x180376 of _0x4668c2){let _0x3c0900=null,_0x59a083=0x0;const _0x3fef4d=new Map(Array[_0x2a237d(0x20c)](_0x5cb198[_0x2a237d(0x20d)][_0x180376][_0x2a237d(0x2c0)][_0x2a237d(0x27c)])[_0x2a237d(0x2d3)](([_0x5607ff])=>!_0x5607ff[_0x2a237d(0x25f)](_0x2a237d(0x2cd))));let _0x3342fb=0x0;for(const _0x4f82b3 of _0x49891f){const _0x480bdd=this[_0x2a237d(0x2dc)](_0x4f82b3[_0x2a237d(0x20d)][_0x180376][_0x2a237d(0x2c0)]);_0x4f82b3==_0x5cb198?(_0x3c0900=_0x480bdd,_0x59a083=_0x3c0900[_0x2a237d(0x299)],_0x3c0900[_0x2a237d(0x2f5)](_0x1a96e7=>{_0x1a96e7['id']=_0x3342fb++;}),this[_0x2a237d(0x215)](_0x3c0900)):this[_0x2a237d(0x2ae)](_0x3c0900,_0x480bdd);const _0xc1110f=_0x3c0900[_0x2a237d(0x2d3)](_0x581812=>!_0x581812[_0x2a237d(0x22d)])[_0x2a237d(0x2d1)](_0xe8cb52=>_0xe8cb52['id']);let _0x1653fc=0x0;const _0x1fe8eb=this[_0x2a237d(0x2dc)](_0x4f82b3[_0x2a237d(0x20d)][_0x180376][_0x2a237d(0x201)]);_0x1fe8eb[_0x2a237d(0x2f5)](_0x1dbb5b=>{const _0x42c682=_0x2a237d;_0x1dbb5b[_0x42c682(0x323)]?_0x1dbb5b['id']=_0x59a083++:_0x1dbb5b['id']=_0xc1110f[_0x1653fc++];}),this[_0x2a237d(0x215)](_0x1fe8eb),this[_0x2a237d(0x2bc)](_0x3c0900,_0x2a237d(0x22d)),this[_0x2a237d(0x2bc)](_0x1fe8eb,_0x2a237d(0x323)),_0x4f82b3==_0x5cb198&&this[_0x2a237d(0x2a3)](_0x3c0900,_0x3fef4d),_0x3c0900=this[_0x2a237d(0x1fa)](_0x3c0900,_0x1fe8eb),this[_0x2a237d(0x2f3)](_0x3c0900),this[_0x2a237d(0x2bc)](_0x3c0900,_0x2a237d(0x323));}_0x3c0900=_0x3c0900[_0x2a237d(0x2d3)](_0x4a126b=>!(_0x4a126b[_0x2a237d(0x22d)]&&_0x4a126b[_0x2a237d(0x323)]));const _0x511785=new Map(_0x3f3aed[_0x2a237d(0x20d)][_0x180376][_0x2a237d(0x201)][_0x2a237d(0x27c)]),_0x293fae=new Set(_0x3fef4d[_0x2a237d(0x2db)]());for(const _0x530882 of _0x511785[_0x2a237d(0x2db)]())_0x293fae[_0x2a237d(0x2a5)](_0x530882);this[_0x2a237d(0x226)](_0x3c0900,_0x293fae),this[_0x2a237d(0x22b)](_0x3c0900),_0x3c0900=this[_0x2a237d(0x292)](_0x3c0900),_0x3c0900=this[_0x2a237d(0x2ec)](_0x3c0900),_0x3c0900=this[_0x2a237d(0x222)](_0x3c0900);const {root:_0x225cf6,changes:_0x258275}=this[_0x2a237d(0x1e7)](_0x3c0900,_0x41a83a,_0x180376);_0x3001cd[_0x2a237d(0x20d)][_0x180376]=_0x225cf6;const _0xcc279e=_0x45e878[_0x2a237d(0x256)](_0x180376);if(_0xcc279e){const _0x25148e=_0x41a83a[_0x2a237d(0x256)](_0xcc279e[_0x2a237d(0x322)]),_0xbb3202=new _0x1f15e1({'author':_0x25148e,'type':_0xcc279e[_0x2a237d(0x27a)]?_0x2a237d(0x2fe):_0x2a237d(0x2e2),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x180376});_0x258275[_0x2a237d(0x20f)](_0xbb3202),_0x3001cd[_0x2a237d(0x2b5)][_0x180376][_0x2a237d(0x26d)]=_0xbb3202['id'];}_0x3001cd[_0x2a237d(0x281)]=_0x3001cd[_0x2a237d(0x281)][_0x2a237d(0x24c)](_0x258275);}return _0x3001cd;}[_0x6d4512(0x2a3)](_0x214139,_0x3af018){const _0x334f29=_0x6d4512;for(let _0x4a8385=0x0;_0x4a8385<_0x214139[_0x334f29(0x299)];_0x4a8385++)for(const [_0x5a3d5d,_0x53961f]of _0x3af018)_0x53961f[_0x334f29(0x293)][_0x334f29(0x1f2)](_0x214139[_0x4a8385][_0x334f29(0x2c9)])&&_0x214139[_0x4a8385][_0x334f29(0x1ff)][_0x334f29(0x25c)](_0x5a3d5d),_0x53961f[_0x334f29(0x20e)][_0x334f29(0x1f2)](_0x214139[_0x4a8385][_0x334f29(0x1e0)])&&_0x214139[_0x4a8385][_0x334f29(0x295)][_0x334f29(0x25c)](_0x5a3d5d);}[_0x6d4512(0x1fa)](_0x2955b4,_0x428b2b){const _0x321087=_0x6d4512;let _0x57cf73=[],_0x35f256=0x0,_0x1af377=0x0;for(;_0x35f256<_0x2955b4[_0x321087(0x299)]||_0x1af377<_0x428b2b[_0x321087(0x299)];){const _0x4cc0de=_0x2955b4[_0x35f256]||{},_0x56d774=_0x428b2b[_0x1af377]||{};if(_0x4cc0de['id']==_0x56d774['id'])_0x35f256++,_0x1af377++,_0x57cf73[_0x321087(0x25c)](_0x4cc0de);else{if(_0x56d774[_0x321087(0x323)]&&_0x4cc0de[_0x321087(0x22d)]){const {commonTape:_0x130bab,iEnd:_0x4e078d,jEnd:_0x1dbf21}=this[_0x321087(0x31f)](_0x2955b4,_0x35f256,_0x428b2b,_0x1af377);_0x57cf73=_0x57cf73[_0x321087(0x24c)](_0x130bab),_0x35f256=_0x4e078d,_0x1af377=_0x1dbf21;}else _0x56d774[_0x321087(0x323)]?(_0x1af377++,_0x57cf73[_0x321087(0x25c)](_0x56d774)):(_0x35f256++,_0x57cf73[_0x321087(0x25c)](_0x4cc0de));}}return _0x57cf73;}[_0x6d4512(0x226)](_0x3a2723,_0x192f0b){const _0x2848d5=_0x6d4512,_0x2721af=[];for(let _0x280a79=0x0;_0x280a79<_0x3a2723[_0x2848d5(0x299)];_0x280a79++){for(let _0x3f20b2=0x0;_0x3f20b2<_0x3a2723[_0x280a79][_0x2848d5(0x1ff)][_0x2848d5(0x299)];_0x3f20b2++){const _0x1c5a68=_0x3a2723[_0x280a79][_0x2848d5(0x1ff)][_0x3f20b2];if(!_0x192f0b[_0x2848d5(0x294)](_0x1c5a68))continue;const {group:_0x3db638,type:_0x480c7f,authorId:_0x124f81}=_0x1f872c(_0x1c5a68);_0x2848d5(0x2c7)!=_0x3db638||_0x2848d5(0x1e6)!=_0x480c7f&&_0x2848d5(0x203)!=_0x480c7f||(_0x2721af[_0x2848d5(0x20f)]({'type':_0x480c7f,'name':_0x1c5a68,'userId':_0x124f81}),_0x3a2723[_0x280a79][_0x2848d5(0x1ff)][_0x2848d5(0x2ac)](_0x3f20b2,0x1),_0x3f20b2--);}_0x34a1d4(_0x3a2723[_0x280a79]);for(let _0x1b0d8c=0x0;_0x1b0d8c<_0x3a2723[_0x280a79][_0x2848d5(0x295)][_0x2848d5(0x299)];_0x1b0d8c++){const _0x50b5d4=_0x3a2723[_0x280a79][_0x2848d5(0x295)][_0x1b0d8c];if(!_0x192f0b[_0x2848d5(0x294)](_0x50b5d4))continue;const {group:_0x8e1391,type:_0x2d8fbb}=_0x1f872c(_0x50b5d4);if(_0x2848d5(0x2c7)!=_0x8e1391||_0x2848d5(0x1e6)!=_0x2d8fbb&&_0x2848d5(0x203)!=_0x2d8fbb)continue;_0x3a2723[_0x280a79][_0x2848d5(0x295)][_0x2848d5(0x2ac)](_0x1b0d8c,0x1),_0x1b0d8c--;const _0x497b92=_0x2721af[_0x2848d5(0x2fc)](_0x572d23=>_0x572d23[_0x2848d5(0x20b)]==_0x50b5d4);_0x497b92>-0x1&&_0x2721af[_0x2848d5(0x2ac)](_0x497b92,0x1);}}function _0x1f872c(_0x106e82){const _0x97495=_0x2848d5,_0x11790d=_0x106e82[_0x97495(0x1ea)](':');return{'group':_0x11790d[0x0],'type':_0x11790d[0x1],'subType':_0x11790d[_0x97495(0x299)]>=0x5?_0x11790d[0x2]:null,'id':_0x11790d[_0x97495(0x299)]<0x5?_0x11790d[0x2]:_0x11790d[0x3],'authorId':_0x11790d[_0x97495(0x299)]<0x5?_0x11790d[0x3]:_0x11790d[0x4],'markerCount':0x6==_0x11790d[_0x97495(0x299)]?_0x11790d[0x5]:null};}function _0x34a1d4(_0xf582b8){const _0x18176d=_0x2848d5;for(let _0x55349b=0x0;_0x55349b<_0x2721af[_0x18176d(0x299)];_0x55349b++){if(_0xf582b8[_0x18176d(0x22d)]&&_0x18176d(0x1e6)==_0x2721af[_0x55349b][_0x18176d(0x2b6)])return _0xf582b8[_0x18176d(0x2e5)]=_0x2721af[_0x55349b],void delete _0xf582b8[_0x18176d(0x22d)];if(!_0xf582b8[_0x18176d(0x22d)]&&!_0xf582b8[_0x18176d(0x323)]&&_0x18176d(0x203)==_0x2721af[_0x55349b][_0x18176d(0x2b6)])return void(_0xf582b8[_0x18176d(0x219)]=_0x2721af[_0x55349b]);}}}[_0x6d4512(0x2bc)](_0x49aa05,_0x5ac834){const _0x17818b=_0x6d4512;let _0x2d3641=0x0,_0x402339=!0x1;const _0x557461=new Map();for(const _0x610770 of _0x49aa05)_0x610770[_0x5ac834]?_0x402339&&(_0x2d3641++,_0x402339=!0x1):(_0x2d3641++,_0x402339=!0x0),_0x557461[_0x17818b(0x223)](_0x610770['id'],_0x2d3641);for(let _0x287aaa=0x0;_0x287aaa<_0x49aa05[_0x17818b(0x299)];_0x287aaa++){if(_0x17818b(0x323)==_0x5ac834&&_0x49aa05[_0x287aaa][_0x17818b(0x22d)]||_0x17818b(0x22d)==_0x5ac834&&_0x49aa05[_0x287aaa][_0x17818b(0x323)])continue;if(_0x17818b(0x326)==_0x49aa05[_0x287aaa][_0x17818b(0x2b6)]){_0x49aa05[_0x287aaa][_0x17818b(0x314)]=0x0;continue;}const _0x3e1a63=_0x557461[_0x17818b(0x256)](_0x49aa05[_0x287aaa][_0x17818b(0x217)]),_0x356d05=_0x557461[_0x17818b(0x256)](_0x49aa05[_0x287aaa]['id']);_0x49aa05[_0x287aaa][_0x17818b(0x314)]=_0x3e1a63-_0x356d05;}}[_0x6d4512(0x2b3)](_0x460b1a,_0x273c88,_0x4e26ef=!0x1){const _0x36659c=_0x6d4512,_0x47c3b7=[];let _0x2035e6=this[_0x36659c(0x1f0)][_0x36659c(0x325)](_0x460b1a),_0x3f8a4c=this[_0x36659c(0x1f0)][_0x36659c(0x325)](_0x273c88);for(-0x1==_0x3f8a4c&&(_0x3f8a4c=this[_0x36659c(0x1f0)][_0x36659c(0x2d5)][_0x36659c(0x299)],_0x4e26ef=!0x1);_0x2035e6<_0x3f8a4c;)_0x47c3b7[_0x36659c(0x25c)](this[_0x36659c(0x1f0)][_0x36659c(0x204)](_0x2035e6)),_0x2035e6++;return _0x4e26ef&&_0x47c3b7[_0x36659c(0x25c)](this[_0x36659c(0x1f0)][_0x36659c(0x204)](_0x2035e6)),_0x47c3b7;}[_0x6d4512(0x31f)](_0x258143,_0x497669,_0x4e7a8c,_0x20e196){const _0x16d1a7=_0x6d4512,_0x2e9e5e=this[_0x16d1a7(0x265)][_0x16d1a7(0x20d)][_0x16d1a7(0x1db)];let _0xcf64cd=_0x497669;for(;_0x258143[_0xcf64cd]&&_0x258143[_0xcf64cd][_0x16d1a7(0x22d)];)_0xcf64cd++;let _0x1cc546=_0x20e196;for(;_0x4e7a8c[_0x1cc546]&&_0x4e7a8c[_0x1cc546][_0x16d1a7(0x323)];)_0x1cc546++;_0x4ef155(_0x258143,_0x497669,_0xcf64cd),_0x4ef155(_0x4e7a8c,_0x20e196,_0x1cc546);const _0x5f0895=_0x4e7a8c[_0x16d1a7(0x26a)](_0x20e196,_0x1cc546)[_0x16d1a7(0x24c)](_0x258143[_0x16d1a7(0x26a)](_0x497669,_0xcf64cd));return _0x5f0895[_0x16d1a7(0x250)]((_0x52743f,_0x21026d)=>_0x52743f[_0x16d1a7(0x2f4)]!=_0x21026d[_0x16d1a7(0x2f4)]?_0x52743f[_0x16d1a7(0x2f4)]-_0x21026d[_0x16d1a7(0x2f4)]:_0x52743f[_0x16d1a7(0x327)]!=_0x21026d[_0x16d1a7(0x327)]?_0x52743f[_0x16d1a7(0x327)]-_0x21026d[_0x16d1a7(0x327)]:_0x52743f[_0x16d1a7(0x314)]!=_0x21026d[_0x16d1a7(0x314)]?_0x21026d[_0x16d1a7(0x314)]-_0x52743f[_0x16d1a7(0x314)]:!!_0x52743f[_0x16d1a7(0x22d)]!=!!_0x21026d[_0x16d1a7(0x22d)]?-0x1==_0x52743f[_0x16d1a7(0x2f4)]||0x0==_0x52743f[_0x16d1a7(0x2f4)]?_0x52743f[_0x16d1a7(0x22d)]?-0x1:0x1:_0x52743f[_0x16d1a7(0x22d)]?0x1:-0x1:_0x52743f[_0x16d1a7(0x258)]-_0x21026d[_0x16d1a7(0x258)]),{'commonTape':_0x5f0895,'iEnd':_0xcf64cd,'jEnd':_0x1cc546};function _0x4ef155(_0x4d0825,_0x1d3433,_0x35cf4b){const _0x1e568e=_0x16d1a7;let _0x16a37d=-0x1,_0x11fad1=Number[_0x1e568e(0x261)],_0x5e1200=!0x0;for(let _0x2eb891=_0x1d3433;_0x2eb891<_0x35cf4b;_0x2eb891++)if(_0x2e9e5e[_0x1e568e(0x22f)](_0x4d0825[_0x2eb891][_0x1e568e(0x29f)])||(_0x5e1200=!0x1),_0x4d0825[_0x2eb891][_0x1e568e(0x29f)][_0x1e568e(0x2ff)]<_0x1d3433&&(_0x16a37d=_0x2eb891),_0x4d0825[_0x2eb891][_0x1e568e(0x29f)][_0x1e568e(0x2aa)]>=_0x35cf4b){_0x11fad1=_0x2eb891;break;}_0x5e1200&&(_0x16a37d=_0x35cf4b-0x1);for(let _0x489c00=_0x1d3433;_0x489c00<_0x35cf4b;_0x489c00++)_0x4d0825[_0x489c00][_0x1e568e(0x2f4)]=_0x489c00<=_0x16a37d?-0x1:_0x489c00<_0x11fad1?0x0:0x1,_0x4d0825[_0x489c00][_0x1e568e(0x258)]=_0x489c00;let _0x4e699c=0x0;for(let _0xdecc69=_0x1d3433;_0xdecc69<=_0x16a37d;_0xdecc69++)0x0==_0x4d0825[_0xdecc69][_0x1e568e(0x314)]?_0x4d0825[_0xdecc69][_0x1e568e(0x327)]=_0x4e699c:(_0x4e699c++,_0x4d0825[_0xdecc69][_0x1e568e(0x327)]=_0x4e699c,_0x4e699c++);for(let _0x408c88=_0x1d3433;_0x408c88<_0x35cf4b;_0x408c88++)0x0==_0x4d0825[_0x408c88][_0x1e568e(0x2f4)]&&(_0x4d0825[_0x408c88][_0x1e568e(0x327)]=_0x4e699c);_0x4e699c=0x0;for(let _0x389d6c=_0x35cf4b-0x1;_0x389d6c>=_0x11fad1;_0x389d6c--)0x0==_0x4d0825[_0x389d6c][_0x1e568e(0x314)]?_0x4d0825[_0x389d6c][_0x1e568e(0x327)]=_0x4e699c:(_0x4e699c--,_0x4d0825[_0x389d6c][_0x1e568e(0x327)]=_0x4e699c,_0x4e699c--);}}[_0x6d4512(0x22b)](_0x504b70){const _0x394194=_0x6d4512,_0x9e1740=new Map(),_0x27cad2=this[_0x394194(0x265)][_0x394194(0x20d)][_0x394194(0x1db)];for(let _0x367c1e=0x1;_0x367c1e<_0x504b70[_0x394194(0x299)];_0x367c1e++){let _0x565779,_0x461f4a,_0x553645;const _0x48ebc7=_0x504b70[_0x367c1e],_0x5a2fbc=_0x504b70[_0x367c1e-0x1];if(_0x394194(0x326)==_0x48ebc7[_0x394194(0x2b6)])continue;if(_0x48ebc7[_0x394194(0x2b6)]!=_0x5a2fbc[_0x394194(0x2b6)])continue;if(!_0x27cad2[_0x394194(0x2c2)](_0x5a2fbc[_0x394194(0x29f)])||_0x27cad2[_0x394194(0x1e9)](_0x5a2fbc[_0x394194(0x29f)]))continue;if(!_0x27cad2[_0x394194(0x2c2)](_0x48ebc7[_0x394194(0x29f)])||_0x27cad2[_0x394194(0x1e9)](_0x48ebc7[_0x394194(0x29f)]))continue;if((_0x504b70[_0x367c1e][_0x394194(0x22d)]||_0x504b70[_0x367c1e][_0x394194(0x2e5)])&&_0x504b70[_0x367c1e-0x1][_0x394194(0x323)])_0x565779=_0x504b70[_0x367c1e],_0x461f4a=_0x504b70[_0x367c1e-0x1],_0x553645=_0x367c1e-0x1;else{if(!_0x504b70[_0x367c1e][_0x394194(0x323)]||!_0x504b70[_0x367c1e-0x1][_0x394194(0x22d)]&&!_0x504b70[_0x367c1e-0x1][_0x394194(0x2e5)])continue;_0x565779=_0x504b70[_0x367c1e-0x1],_0x461f4a=_0x504b70[_0x367c1e],_0x553645=_0x367c1e;}const _0x113d7d=_0x565779[_0x394194(0x327)]==_0x461f4a[_0x394194(0x327)],_0x5b5cd2=Math[_0x394194(0x310)](_0x565779[_0x394194(0x327)])<Math[_0x394194(0x310)](_0x461f4a[_0x394194(0x327)])&&0x0==_0x461f4a[_0x394194(0x314)];(_0x113d7d||_0x5b5cd2)&&(_0x9e1740[_0x394194(0x223)](_0x461f4a['id'],_0x565779['id']),_0x504b70[_0x394194(0x2ac)](_0x553645,0x1),_0x367c1e--,_0x565779[_0x394194(0x22d)]=!0x1);}for(let _0x489b2b=0x0;_0x489b2b<_0x504b70[_0x394194(0x299)];_0x489b2b++)_0x9e1740[_0x394194(0x294)](_0x504b70[_0x489b2b][_0x394194(0x217)])&&(_0x504b70[_0x489b2b][_0x394194(0x217)]=_0x9e1740[_0x394194(0x256)](_0x504b70[_0x489b2b][_0x394194(0x217)]));}[_0x6d4512(0x292)](_0x180c94){const _0x4fe581=_0x6d4512,_0x141d05=new Set(_0x180c94[_0x4fe581(0x2d1)](_0x3f5d12=>_0x3f5d12['id']));for(let _0x25f0ec=0x0;_0x25f0ec<_0x180c94[_0x4fe581(0x299)];_0x25f0ec++)_0x141d05[_0x4fe581(0x294)](_0x180c94[_0x25f0ec][_0x4fe581(0x217)])||0x0==_0x180c94[_0x25f0ec][_0x4fe581(0x314)]||(_0x180c94[_0x25f0ec][_0x4fe581(0x26c)]=!0x0);return _0x180c94[_0x4fe581(0x2d3)](_0x1350d8=>!_0x1350d8[_0x4fe581(0x26c)]);}[_0x6d4512(0x2ec)](_0x5cd0a4){const _0x44879f=_0x6d4512,_0x44c9a8=new Set();for(let _0x1a0062=0x0;_0x1a0062<_0x5cd0a4[_0x44879f(0x299)];_0x1a0062++){if(_0x44c9a8[_0x44879f(0x294)](_0x5cd0a4[_0x1a0062]['id'])&&_0x5cd0a4[_0x1a0062][_0x44879f(0x323)]&&(_0x5cd0a4[_0x1a0062][_0x44879f(0x26c)]=!0x0),_0x5cd0a4[_0x1a0062][_0x44879f(0x26c)])continue;if(0x0==_0x5cd0a4[_0x1a0062][_0x44879f(0x314)])continue;if(_0x44879f(0x25e)!=_0x5cd0a4[_0x1a0062][_0x44879f(0x2b6)])continue;if(null==_0x5cd0a4[_0x1a0062][_0x44879f(0x217)])continue;let _0x404bb8=_0x1a0062+0x1,_0x5f0155=0x0;for(;_0x5cd0a4[_0x404bb8]['id']!=_0x5cd0a4[_0x1a0062][_0x44879f(0x217)];)_0x44879f(0x25e)==_0x5cd0a4[_0x404bb8][_0x44879f(0x2b6)]?_0x5f0155++:_0x44879f(0x2e1)==_0x5cd0a4[_0x404bb8][_0x44879f(0x2b6)]&&_0x5f0155--,_0x404bb8++;if(0x0!=_0x5f0155){if(_0x5cd0a4[_0x1a0062][_0x44879f(0x323)])_0x5cd0a4[_0x1a0062][_0x44879f(0x26c)]=!0x0;else{for(;_0x404bb8!=_0x1a0062;)_0x5cd0a4[_0x404bb8][_0x44879f(0x323)]&&0x0!=_0x5cd0a4[_0x404bb8][_0x44879f(0x314)]&&(_0x5cd0a4[_0x404bb8][_0x44879f(0x26c)]=!0x0,_0x44c9a8[_0x44879f(0x2fe)](_0x5cd0a4[_0x404bb8][_0x44879f(0x217)])),_0x404bb8--;}}}return _0x5cd0a4[_0x44879f(0x2d3)](_0x12e642=>!_0x12e642[_0x44879f(0x26c)]);}[_0x6d4512(0x222)](_0x439f89){const _0xef9d02=_0x6d4512,_0x204e6e=this[_0xef9d02(0x265)][_0xef9d02(0x20d)][_0xef9d02(0x1db)];for(let _0x447064=0x0;_0x447064<_0x439f89[_0xef9d02(0x299)];_0x447064++){if(!(_0x439f89[_0x447064][_0xef9d02(0x22d)]||_0x439f89[_0x447064][_0xef9d02(0x2e5)]||_0x439f89[_0x447064][_0xef9d02(0x323)]||_0x439f89[_0x447064][_0xef9d02(0x219)]))continue;if(0x0==_0x439f89[_0x447064][_0xef9d02(0x314)])continue;const _0x5c2262=_0x439f89[_0x447064][_0xef9d02(0x29f)];_0x204e6e[_0xef9d02(0x2c2)](_0x5c2262)||_0x204e6e[_0xef9d02(0x1e9)](_0x5c2262)||(_0x439f89[_0x447064][_0xef9d02(0x22d)]&&delete _0x439f89[_0x447064][_0xef9d02(0x22d)],_0x439f89[_0x447064][_0xef9d02(0x2e5)]&&delete _0x439f89[_0x447064][_0xef9d02(0x2e5)],_0x439f89[_0x447064][_0xef9d02(0x219)]&&delete _0x439f89[_0x447064][_0xef9d02(0x219)],_0x439f89[_0x447064][_0xef9d02(0x323)]&&(_0x439f89[_0x447064][_0xef9d02(0x26c)]=!0x0));}return _0x439f89[_0xef9d02(0x2d3)](_0x240071=>!_0x240071[_0xef9d02(0x26c)]);}[_0x6d4512(0x1e7)](_0xe8a539,_0x3ba69d,_0x3da123){const _0x4d566b=_0x6d4512,_0x13a7f3=new _0x3d6e6f(),_0x42d91d=[],_0x269d6b=new Map(),_0x561e87=this[_0x4d566b(0x265)][_0x4d566b(0x20d)],_0x1b09b2=_0x561e87[_0x4d566b(0x1db)],_0x319ac1=[_0x13a7f3],_0xbf69bc={},_0x34f717={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1bc475=null;const _0x503906=[0x0];for(let _0x4d27d8=0x0;_0x4d27d8<_0xe8a539[_0x4d566b(0x299)];_0x4d27d8++)if(_0x4d566b(0x25e)===_0xe8a539[_0x4d27d8][_0x4d566b(0x2b6)]){_0xe8a539[_0x4d27d8][_0x4d566b(0x2c9)]=_0x561e87[_0x4d566b(0x2c3)](_0x13a7f3,_0x503906);const _0x23f746=new _0x2e8853(_0xe8a539[_0x4d27d8][_0x4d566b(0x29f)][_0x4d566b(0x20b)],_0xe8a539[_0x4d27d8][_0x4d566b(0x29f)][_0x4d566b(0x212)]());_0x319ac1[0x0][_0x4d566b(0x320)](_0x23f746),_0x503906[_0x4d566b(0x25c)](0x0),_0x319ac1[_0x4d566b(0x20f)](_0x23f746),_0xe8a539[_0x4d27d8][_0x4d566b(0x1e0)]=_0x561e87[_0x4d566b(0x2c3)](_0x13a7f3,_0x503906);}else _0x4d566b(0x2e1)===_0xe8a539[_0x4d27d8][_0x4d566b(0x2b6)]?(_0x319ac1[_0x4d566b(0x32a)](),_0xe8a539[_0x4d27d8][_0x4d566b(0x2c9)]=_0x561e87[_0x4d566b(0x2c3)](_0x13a7f3,_0x503906),_0x503906[_0x4d566b(0x234)](),_0x503906[_0x503906[_0x4d566b(0x299)]-0x1]++,_0xe8a539[_0x4d27d8][_0x4d566b(0x1e0)]=_0x561e87[_0x4d566b(0x2c3)](_0x13a7f3,_0x503906)):(_0xe8a539[_0x4d27d8][_0x4d566b(0x2c9)]=_0x561e87[_0x4d566b(0x2c3)](_0x13a7f3,_0x503906),_0x1bc475?_0x1bc475[_0x4d566b(0x31a)]+=_0xe8a539[_0x4d27d8][_0x4d566b(0x29f)][_0x4d566b(0x214)]:_0x1bc475=new _0x4d31d1(_0xe8a539[_0x4d27d8][_0x4d566b(0x29f)][_0x4d566b(0x214)],_0xe8a539[_0x4d27d8][_0x4d566b(0x29f)][_0x4d566b(0x212)]()),_0xe8a539[_0x4d27d8+0x1]&&_0x4d566b(0x326)===_0xe8a539[_0x4d27d8+0x1][_0x4d566b(0x2b6)]&&_0x25f90f(_0x1bc475,_0xe8a539[_0x4d27d8+0x1][_0x4d566b(0x29f)])||(_0x319ac1[0x0][_0x4d566b(0x320)](_0x1bc475),_0x1bc475=null),_0x503906[_0x503906[_0x4d566b(0x299)]-0x1]+=_0xe8a539[_0x4d27d8][_0x4d566b(0x29f)][_0x4d566b(0x233)],_0xe8a539[_0x4d27d8][_0x4d566b(0x1e0)]=_0x561e87[_0x4d566b(0x2c3)](_0x13a7f3,_0x503906));for(let _0x351919=0x0;_0x351919<_0xe8a539[_0x4d566b(0x299)];_0x351919++){const _0x25746a=_0xe8a539[_0x351919][_0x4d566b(0x2c9)],_0x4cdd9b=_0xe8a539[_0x351919][_0x4d566b(0x1e0)];for(const _0x14ca14 of _0xe8a539[_0x351919][_0x4d566b(0x1ff)])_0x269d6b[_0x4d566b(0x223)](_0x14ca14,{'start':_0x25746a,'end':null});_0x158fe4(_0x4d566b(0x219),_0x351919,_0x25746a,_0x4cdd9b),_0x158fe4(_0x4d566b(0x2e5),_0x351919,_0x25746a,_0x4cdd9b),_0x158fe4(_0x4d566b(0x323),_0x351919,_0x25746a,_0x4cdd9b),_0x158fe4(_0x4d566b(0x22d),_0x351919,_0x25746a,_0x4cdd9b);for(const _0x753bfb of _0xe8a539[_0x351919][_0x4d566b(0x295)]){_0x269d6b[_0x4d566b(0x256)](_0x753bfb)[_0x4d566b(0x20e)]=_0x4cdd9b;}}for(const [_0x462f03,_0xab20b7]of _0x269d6b){const _0x4d2282=this[_0x4d566b(0x265)][_0x4d566b(0x20d)][_0x4d566b(0x239)](_0xab20b7[_0x4d566b(0x293)],_0xab20b7[_0x4d566b(0x20e)]);_0x13a7f3[_0x4d566b(0x27c)][_0x4d566b(0x223)](_0x462f03,_0x4d2282);}return _0x42d91d[_0x4d566b(0x250)]((_0x4dc4a0,_0x49e850)=>{const _0x37e182=_0x4d566b,_0xa29838=_0x13a7f3[_0x37e182(0x27c)][_0x37e182(0x256)](_0x37e182(0x2cd)+_0x4dc4a0['id']),_0x15269b=_0x13a7f3[_0x37e182(0x27c)][_0x37e182(0x256)](_0x37e182(0x2cd)+_0x49e850['id']);return _0xa29838[_0x37e182(0x293)][_0x37e182(0x1da)](_0x15269b[_0x37e182(0x293)])?-0x1:_0xa29838[_0x37e182(0x293)][_0x37e182(0x1eb)](_0x15269b[_0x37e182(0x293)])?0x1:_0xa29838[_0x37e182(0x20e)][_0x37e182(0x1da)](_0x15269b[_0x37e182(0x20e)])?-0x1:_0xa29838[_0x37e182(0x20e)][_0x37e182(0x1eb)](_0x15269b[_0x37e182(0x20e)])?0x1:_0x37e182(0x2fe)===_0x4dc4a0[_0x37e182(0x2b6)]?-0x1:0x1;}),{'root':_0x13a7f3,'changes':_0x42d91d};function _0x158fe4(_0x4e4e68,_0x3be25e,_0x4c8db1,_0x3b5171){const _0x220494=_0x4d566b,_0x47b5cf=!!_0xe8a539[_0x3be25e][_0x4e4e68],_0xac3ccb=_0x47b5cf?_0xe8a539[_0x3be25e][_0x4e4e68][_0x220494(0x322)]:null,_0x1a45ee=_0x3be25e===_0xe8a539[_0x220494(0x299)]-0x1,_0x36fe5c=_0x34f717[_0x4e4e68][0x0],_0x5ef3cf=_0x1b09b2[_0x220494(0x2d8)](_0xe8a539[_0x3be25e][_0x220494(0x29f)]);!_0xbf69bc[_0x4e4e68]&&_0x47b5cf?_0xbf69bc[_0x4e4e68]={'start':_0x4c8db1,'tapeItem':_0xe8a539[_0x3be25e],'userId':_0xac3ccb,'type':_0x4e4e68}:_0xbf69bc[_0x4e4e68]&&!_0x47b5cf?(_0xbf69bc[_0x4e4e68][_0x220494(0x20e)]=_0x4c8db1,_0x12663b(_0xbf69bc[_0x4e4e68]),_0xbf69bc[_0x4e4e68]=null):_0xbf69bc[_0x4e4e68]&&_0x47b5cf&&_0xbf69bc[_0x4e4e68][_0x220494(0x322)]!==_0xac3ccb&&(_0xbf69bc[_0x4e4e68][_0x220494(0x20e)]=_0x4c8db1,_0x36fe5c&&_0x36fe5c[_0x220494(0x322)]===_0xbf69bc[_0x4e4e68][_0x220494(0x322)]||_0x12663b(_0xbf69bc[_0x4e4e68]),_0xbf69bc[_0x4e4e68]={'start':_0x4c8db1,'tapeItem':_0xe8a539[_0x3be25e],'userId':_0xac3ccb,'type':_0x4e4e68}),_0xbf69bc[_0x4e4e68]&&_0x5ef3cf&&(_0x220494(0x25e)!==_0xe8a539[_0x3be25e][_0x220494(0x2b6)]||_0x36fe5c&&_0x36fe5c[_0x220494(0x322)]===_0xac3ccb||_0x34f717[_0x4e4e68][_0x220494(0x20f)]({'userId':_0xac3ccb,'object':_0xe8a539[_0x3be25e][_0x220494(0x29f)],'change':_0xbf69bc[_0x4e4e68]}),_0x220494(0x2e1)===_0xe8a539[_0x3be25e][_0x220494(0x2b6)]&&_0x36fe5c&&_0x36fe5c[_0x220494(0x316)]===_0xe8a539[_0x3be25e][_0x220494(0x29f)]&&(_0x34f717[_0x4e4e68][_0x220494(0x32a)](),_0xbf69bc[_0x4e4e68]=_0x36fe5c[_0x220494(0x30c)])),_0xbf69bc[_0x4e4e68]&&_0x1a45ee&&(_0xbf69bc[_0x4e4e68][_0x220494(0x20e)]=_0x3b5171,_0x12663b(_0xbf69bc[_0x4e4e68]),_0xbf69bc[_0x4e4e68]=null);}function _0x12663b({start:_0x531bdc,end:_0x380ca8,tapeItem:_0x4c0917,userId:_0x187e10,type:_0x439f40}){const _0x5f1ca2=_0x4d566b,_0x2c3723=_0x4c0917[_0x5f1ca2(0x29f)],_0x3634de=_0x561e87[_0x5f1ca2(0x1db)][_0x5f1ca2(0x2c2)](_0x2c3723)&&!_0x561e87[_0x5f1ca2(0x1db)][_0x5f1ca2(0x1e9)](_0x2c3723),_0x4a8ac4=_0x531bdc[_0x5f1ca2(0x285)]==_0x380ca8[_0x5f1ca2(0x30e)]&&_0x380ca8[_0x5f1ca2(0x2d4)];if(_0x3634de&&_0x4a8ac4)return;const _0x2a5837=_0x561e87[_0x5f1ca2(0x239)](_0x531bdc,_0x380ca8),_0x1bfacd=_0x3ba69d[_0x5f1ca2(0x256)](_0x187e10),_0x3c1dc4=new _0x1f15e1({'author':_0x1bfacd,'type':_0x5f1ca2(0x22d)==_0x439f40||_0x5f1ca2(0x2e5)==_0x439f40?_0x5f1ca2(0x2fe):_0x5f1ca2(0x2e2),'data':{'isSuggestion':_0x5f1ca2(0x2e5)==_0x439f40||_0x5f1ca2(0x219)==_0x439f40},'createdAt':new Date(),'rootName':_0x3da123});_0x42d91d[_0x5f1ca2(0x25c)](_0x3c1dc4),_0x13a7f3[_0x5f1ca2(0x27c)][_0x5f1ca2(0x223)](_0x5f1ca2(0x2cd)+_0x3c1dc4['id'],_0x2a5837);}function _0x25f90f(_0xe63ae6,_0x5c73d5){const _0x47c752=_0x4d566b,_0x239cb7=_0xe63ae6[_0x47c752(0x212)](),_0x429ee1=_0x5c73d5[_0x47c752(0x212)]();for(const _0x25e2b0 of _0x239cb7){if(_0x25e2b0[0x1]!==_0x5c73d5[_0x47c752(0x2ab)](_0x25e2b0[0x0]))return!0x1;_0x429ee1[_0x47c752(0x1dc)]();}return _0x429ee1[_0x47c752(0x1dc)]()[_0x47c752(0x317)];}}[_0x6d4512(0x21d)](){const _0x50d4d1=_0x6d4512;this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x1f9))[_0x50d4d1(0x31e)]({'view':_0x50d4d1(0x29d)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x2a7))[_0x50d4d1(0x27b)]({'model':_0x50d4d1(0x29d),'view':_0x5496e6=>{const _0x1caa52=_0x50d4d1,_0x3b9dc8=_0x5496e6[_0x1caa52(0x23f)][_0x1caa52(0x1ea)](':')[0x1],_0x70bed0=this[_0x1caa52(0x1e3)](_0x3b9dc8);if(!_0x70bed0)return null;const _0x33eda9=_0x1caa52(0x2fe)==_0x70bed0[_0x1caa52(0x2b6)]?_0x1caa52(0x1e6):_0x1caa52(0x203),_0x1eb2c1=[_0x1caa52(0x284),_0x1caa52(0x29b)+_0x33eda9];return _0x70bed0[_0x1caa52(0x214)][_0x1caa52(0x275)]&&_0x1eb2c1[_0x1caa52(0x25c)](_0x1caa52(0x29b)+_0x33eda9+_0x1caa52(0x2ed)),this[_0x1caa52(0x24f)]==_0x70bed0&&_0x1eb2c1[_0x1caa52(0x25c)](_0x1caa52(0x274)),{'classes':_0x1eb2c1,'attributes':{'data-change-id':_0x3b9dc8}};}}),this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x1f9))[_0x50d4d1(0x2fe)](_0x28f267=>{const _0x5aab73=_0x50d4d1;_0x28f267['on'](_0x5aab73(0x206),(_0x3c345d,_0x3b25b0,_0x5b4420)=>{const _0x92be4b=_0x5aab73,_0x63dc23=_0x3b25b0[_0x92be4b(0x1f1)][_0x92be4b(0x28e)](0x0);if(!_0x63dc23||!_0x63dc23['is'](_0x92be4b(0x304),_0x92be4b(0x308)))return;if(!_0x5b4420[_0x92be4b(0x2e4)][_0x92be4b(0x22c)](_0x63dc23,{'attributes':[_0x92be4b(0x24b),_0x92be4b(0x25a)]}))return;const _0xa2da06=_0x3b25b0[_0x92be4b(0x271)][_0x92be4b(0x293)][_0x92be4b(0x285)];_0x5b4420[_0x92be4b(0x26e)][_0x92be4b(0x1fe)](_0x92be4b(0x24b),_0x63dc23[_0x92be4b(0x2ab)](_0x92be4b(0x24b)),_0xa2da06),_0x5b4420[_0x92be4b(0x26e)][_0x92be4b(0x1fe)](_0x92be4b(0x25a),_0x63dc23[_0x92be4b(0x2ab)](_0x92be4b(0x25a)),_0xa2da06);},{'priority':_0x5aab73(0x29c)});}),this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x1f9))[_0x50d4d1(0x2fe)](_0x5c39f7=>{const _0x346fda=_0x50d4d1;_0x5c39f7['on'](_0x346fda(0x304),(_0x56c752,_0x311243,_0xfc6fa)=>{const _0x3d1ce1=_0x346fda;if(!_0xfc6fa[_0x3d1ce1(0x2e4)][_0x3d1ce1(0x22c)](_0x311243[_0x3d1ce1(0x1f1)],{'attributes':[_0x3d1ce1(0x24b),_0x3d1ce1(0x25a)]}))return;if(_0x311243[_0x3d1ce1(0x271)][_0x3d1ce1(0x318)])return;const _0x532f8f=_0x311243[_0x3d1ce1(0x271)][_0x3d1ce1(0x293)][_0x3d1ce1(0x285)];_0x532f8f[_0x3d1ce1(0x29e)](_0x3d1ce1(0x24b))||_0x532f8f[_0x3d1ce1(0x29e)](_0x3d1ce1(0x2dd))||(_0xfc6fa[_0x3d1ce1(0x26e)][_0x3d1ce1(0x1fe)](_0x3d1ce1(0x24b),_0x311243[_0x3d1ce1(0x1f1)][_0x3d1ce1(0x2ab)](_0x3d1ce1(0x24b)),_0x532f8f),_0xfc6fa[_0x3d1ce1(0x26e)][_0x3d1ce1(0x1fe)](_0x3d1ce1(0x25a),_0x311243[_0x3d1ce1(0x1f1)][_0x3d1ce1(0x2ab)](_0x3d1ce1(0x25a)),_0x532f8f));},{'priority':_0x346fda(0x29c)});}),this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x1f9))[_0x50d4d1(0x253)]({'view':{'name':_0x50d4d1(0x24e),'attributes':{'vid':!0x0}},'model':{'key':_0x50d4d1(0x2dd),'value':_0x21641e=>_0x21641e[_0x50d4d1(0x2ab)](_0x50d4d1(0x2dd))}}),this[_0x50d4d1(0x265)][_0x50d4d1(0x20d)][_0x50d4d1(0x1db)]['on'](_0x50d4d1(0x27f),(_0x3ba559,[,_0x3885e5])=>{const _0x3f671e=_0x50d4d1;[_0x3f671e(0x24b),_0x3f671e(0x25a),_0x3f671e(0x2dd)][_0x3f671e(0x259)](_0x3885e5)&&(_0x3ba559[_0x3f671e(0x2b0)]=!0x0,_0x3ba559[_0x3f671e(0x297)]());},{'priority':_0x50d4d1(0x31c)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x2a0))[_0x50d4d1(0x2fe)](_0x2615f8=>{const _0x5d0611=_0x50d4d1;_0x2615f8['on'](_0x5d0611(0x1ec),(_0x31f811,_0x208e54,_0x419c37)=>{const _0x1f0111=_0x5d0611;if('\x20'!=_0x208e54[_0x1f0111(0x29f)][_0x1f0111(0x214)]||_0x208e54[_0x1f0111(0x29f)][_0x1f0111(0x30e)][_0x1f0111(0x22e)]>0x1)return;if(!_0x419c37[_0x1f0111(0x2e4)][_0x1f0111(0x22c)](_0x208e54[_0x1f0111(0x29f)],_0x31f811[_0x1f0111(0x20b)]))return;const _0x21de7c=_0x419c37[_0x1f0111(0x26e)],_0x22eed8=_0x419c37[_0x1f0111(0x205)][_0x1f0111(0x25d)](_0x208e54[_0x1f0111(0x32b)]);_0x21de7c[_0x1f0111(0x2a4)](_0x22eed8,_0x21de7c[_0x1f0111(0x25b)](_0x1f0111(0x24e)));});}),this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x2a0))[_0x50d4d1(0x1e4)]({'model':_0x50d4d1(0x29d)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x278)][_0x50d4d1(0x2fa)]['on'](_0x50d4d1(0x27d),function(_0x785322){const _0x3da4b4=_0x50d4d1,_0x11fc28=_0x785322[_0x3da4b4(0x210)][_0x3da4b4(0x256)](_0x3da4b4(0x305));return(_0x516071,_0x5bf9da,_0x56b472)=>{const _0x158a10=_0x3da4b4,_0x48c716=_0x5bf9da[_0x158a10(0x23f)][_0x158a10(0x1ea)](':')[0x1],_0x1d26c1=_0x11fc28[_0x158a10(0x1e3)](_0x48c716);if(!_0x1d26c1)return null;const _0x4d08b2=_0x158a10(0x2fe)==_0x1d26c1[_0x158a10(0x2b6)]?_0x158a10(0x1ea):_0x158a10(0x232);if(!_0x56b472[_0x158a10(0x2e4)][_0x158a10(0x1de)](_0x5bf9da[_0x158a10(0x2cc)],_0x516071[_0x158a10(0x20b)]))return;const _0x54d79d=_0x5bf9da[_0x158a10(0x2cc)][_0x158a10(0x312)](),_0x1fab34=_0x5bf9da[_0x158a10(0x2cc)][_0x158a10(0x293)],_0x27c294=_0x785322[_0x158a10(0x20d)][_0x158a10(0x1db)];let _0x24be83=null,_0x5d70d0=null,_0x21c516=!0x1,_0x22b125=!0x1;for(const _0x266f3d of _0x54d79d){const _0x2e9f28=_0x266f3d[_0x158a10(0x29f)];_0x21c516=_0x21c516||_0x27c294[_0x158a10(0x2b9)](_0x2e9f28);const _0x69d224=_0x56b472[_0x158a10(0x205)][_0x158a10(0x283)](_0x2e9f28);if(_0x69d224&&_0x69d224[_0x158a10(0x213)](_0x158a10(0x255)))return;_0x158a10(0x2e1)==_0x266f3d[_0x158a10(0x2b6)]&&(_0x27c294[_0x158a10(0x2c2)](_0x2e9f28)&&!_0x27c294[_0x158a10(0x1e9)](_0x2e9f28)&&(_0x2e9f28[_0x158a10(0x272)]||_0x1fab34[_0x158a10(0x2c8)]?_0x24be83&&_0x24be83[_0x158a10(0x30e)]==_0x2e9f28||(_0x24be83=_0x2e9f28,_0x28f0fd(_0x266f3d[_0x158a10(0x2c9)]),_0x22b125=!0x0):_0x5d70d0=_0x5d70d0||_0x266f3d[_0x158a10(0x2c9)]));}function _0x28f0fd(_0x4a00ec){const _0x47158b=_0x158a10,_0x3aafa9=_0x56b472[_0x47158b(0x26e)][_0x47158b(0x328)](_0x47158b(0x24e),{'class':_0x47158b(0x29b)+_0x4d08b2}),_0x5970cc=_0x56b472[_0x47158b(0x205)][_0x47158b(0x2cb)](_0x4a00ec);_0x1d26c1[_0x47158b(0x214)][_0x47158b(0x275)]&&_0x56b472[_0x47158b(0x26e)][_0x47158b(0x225)](_0x47158b(0x29b)+_0x4d08b2+_0x47158b(0x2ed),_0x3aafa9),_0x11fc28[_0x47158b(0x24f)]==_0x1d26c1&&_0x56b472[_0x47158b(0x26e)][_0x47158b(0x225)](_0x47158b(0x274),_0x3aafa9),_0x56b472[_0x47158b(0x26e)][_0x47158b(0x21e)](_0x5970cc,_0x3aafa9),_0x56b472[_0x47158b(0x205)][_0x47158b(0x1fc)](_0x3aafa9,_0x5bf9da[_0x47158b(0x23f)]);}_0x21c516||_0x22b125||!_0x5d70d0||_0x28f0fd(_0x5d70d0);};}(this[_0x50d4d1(0x265)]),{'priority':_0x50d4d1(0x218)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x278)][_0x50d4d1(0x2fa)]['on'](_0x50d4d1(0x2d6),(_0x354af8,_0x3969a3,_0x32cf86)=>{const _0xb4888e=_0x50d4d1,_0x5548d9=_0x32cf86[_0xb4888e(0x205)][_0xb4888e(0x2e0)](_0x3969a3[_0xb4888e(0x23f)]);if(_0x5548d9){for(const _0x12ea6a of _0x5548d9)(_0x12ea6a[_0xb4888e(0x1f5)](_0xb4888e(0x2b8))||_0x12ea6a[_0xb4888e(0x1f5)](_0xb4888e(0x319)))&&(_0x32cf86[_0xb4888e(0x205)][_0xb4888e(0x2d7)](_0x12ea6a,_0x3969a3[_0xb4888e(0x23f)]),_0x32cf86[_0xb4888e(0x26e)][_0xb4888e(0x2e2)](_0x12ea6a));}},{'priority':_0x50d4d1(0x218)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x278)][_0x50d4d1(0x2fa)]['on'](_0x50d4d1(0x27d),(_0x5d6c51,_0x5f3d6a,_0x294f95)=>{const _0x4cb23f=_0x50d4d1,_0x8e5e17=_0x5f3d6a[_0x4cb23f(0x23f)][_0x4cb23f(0x1ea)](':')[0x1],_0x2447fe=this[_0x4cb23f(0x1e3)](_0x8e5e17);if(!_0x2447fe)return null;const _0x57292a=_0x4cb23f(0x2fe)==_0x2447fe[_0x4cb23f(0x2b6)]?_0x4cb23f(0x1ea):_0x4cb23f(0x232);if(_0x294f95[_0x4cb23f(0x2e4)][_0x4cb23f(0x1de)](_0x5f3d6a[_0x4cb23f(0x2cc)],_0x5d6c51[_0x4cb23f(0x20b)]))for(const _0x57e29c of _0x5f3d6a[_0x4cb23f(0x2cc)][_0x4cb23f(0x2f9)]()){if(!_0x57e29c['is'](_0x4cb23f(0x304),_0x4cb23f(0x1e5)))continue;const _0x38b2bd=_0x294f95[_0x4cb23f(0x26e)][_0x4cb23f(0x328)](_0x4cb23f(0x24e),{'class':_0x4cb23f(0x29b)+_0x57292a}),_0x253d3f=_0x294f95[_0x4cb23f(0x205)][_0x4cb23f(0x2cb)](this[_0x4cb23f(0x265)][_0x4cb23f(0x20d)][_0x4cb23f(0x1df)](_0x57e29c));_0x2447fe[_0x4cb23f(0x214)][_0x4cb23f(0x275)]&&_0x294f95[_0x4cb23f(0x26e)][_0x4cb23f(0x225)](_0x4cb23f(0x29b)+_0x57292a+_0x4cb23f(0x2ed),_0x38b2bd),this[_0x4cb23f(0x24f)]==_0x2447fe&&_0x294f95[_0x4cb23f(0x26e)][_0x4cb23f(0x225)](_0x4cb23f(0x274),_0x38b2bd),_0x294f95[_0x4cb23f(0x26e)][_0x4cb23f(0x21e)](_0x253d3f,_0x38b2bd),_0x294f95[_0x4cb23f(0x205)][_0x4cb23f(0x1fc)](_0x38b2bd,_0x5f3d6a[_0x4cb23f(0x23f)]);}},{'priority':_0x50d4d1(0x218)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x20d)][_0x50d4d1(0x238)]['on'](_0x50d4d1(0x30c),()=>{const _0x593e5d=_0x50d4d1;this[_0x593e5d(0x265)][_0x593e5d(0x278)][_0x593e5d(0x1e2)][_0x593e5d(0x30c)](_0x1106a1=>{const _0x2f444e=_0x593e5d;for(const _0x141023 of this[_0x2f444e(0x265)][_0x2f444e(0x20d)][_0x2f444e(0x238)][_0x2f444e(0x27e)]()){const _0x907fd2=this[_0x2f444e(0x265)][_0x2f444e(0x20d)][_0x2f444e(0x238)][_0x2f444e(0x21a)](_0x141023),_0x2b7968=this[_0x2f444e(0x265)][_0x2f444e(0x278)][_0x2f444e(0x1e2)][_0x2f444e(0x238)][_0x2f444e(0x21a)](_0x141023);if(_0x2b7968){const _0xc59a=_0x907fd2[_0x2f444e(0x2ab)](_0x2f444e(0x26d));if(_0x1106a1[_0x2f444e(0x243)](_0x2f444e(0x2fd),_0x2b7968),_0x1106a1[_0x2f444e(0x2bb)](_0x2f444e(0x282),_0x2b7968),_0x1106a1[_0x2f444e(0x2bb)](_0x2f444e(0x2bd),_0x2b7968),_0x1106a1[_0x2f444e(0x2bb)](_0x2f444e(0x290),_0x2b7968),_0xc59a){const _0x4eaf60=this[_0x2f444e(0x1e3)](_0xc59a);if(!_0x4eaf60)return null;_0x1106a1[_0x2f444e(0x1fe)](_0x2f444e(0x2fd),_0xc59a,_0x2b7968),_0x1106a1[_0x2f444e(0x225)](_0x2f444e(0x2e6)+_0x4eaf60[_0x2f444e(0x2b6)],_0x2b7968),this[_0x2f444e(0x24f)]==_0x4eaf60&&_0x1106a1[_0x2f444e(0x225)](_0x2f444e(0x290),_0x2b7968);}}}});}),this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x1f9))[_0x50d4d1(0x31e)]({'view':_0x50d4d1(0x20a),'model':_0x340542=>_0x50d4d1(0x276)+_0x340542,'converterPriority':_0x50d4d1(0x31c)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x1f9))[_0x50d4d1(0x31e)]({'view':_0x50d4d1(0x296),'model':_0x488d36=>_0x50d4d1(0x31b)+_0x488d36,'converterPriority':_0x50d4d1(0x31c)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x2a0))[_0x50d4d1(0x1e4)]({'model':_0x50d4d1(0x2c7),'view':_0x5495a5=>({'name':_0x50d4d1(0x231)+_0x5495a5,'group':_0x50d4d1(0x2c7)}),'converterPriority':_0x50d4d1(0x31c)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x306)][_0x50d4d1(0x2fb)](_0x50d4d1(0x2a7))[_0x50d4d1(0x27b)]({'model':_0x50d4d1(0x2c7),'view':_0x455f41=>{const _0x44a1d6=_0x50d4d1,_0x2339d1=_0x455f41[_0x44a1d6(0x23f)][_0x44a1d6(0x1ea)](':')[0x1];return _0x44a1d6(0x1e6)!=_0x2339d1&&_0x44a1d6(0x203)!=_0x2339d1?null:{'classes':[_0x44a1d6(0x273),_0x44a1d6(0x268)+_0x2339d1]};}}),this[_0x50d4d1(0x265)][_0x50d4d1(0x278)][_0x50d4d1(0x2fa)]['on'](_0x50d4d1(0x270),Z(this[_0x50d4d1(0x265)],_0x50d4d1(0x232)),{'priority':_0x50d4d1(0x218)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x278)][_0x50d4d1(0x2fa)]['on'](_0x50d4d1(0x230),Z(this[_0x50d4d1(0x265)],_0x50d4d1(0x1ea)),{'priority':_0x50d4d1(0x218)}),this[_0x50d4d1(0x265)][_0x50d4d1(0x278)][_0x50d4d1(0x2fa)]['on'](_0x50d4d1(0x21b),(_0x2a89a7,_0x6839b5,_0x115a72)=>{const _0x5ae9a2=_0x50d4d1,_0x2599b8=_0x115a72[_0x5ae9a2(0x205)][_0x5ae9a2(0x2e0)](_0x6839b5[_0x5ae9a2(0x23f)]);if(_0x2599b8){for(const _0x2a43cb of _0x2599b8)_0x2a43cb['is'](_0x5ae9a2(0x266))&&(_0x115a72[_0x5ae9a2(0x205)][_0x5ae9a2(0x2d7)](_0x2a43cb,_0x6839b5[_0x5ae9a2(0x23f)]),_0x115a72[_0x5ae9a2(0x26e)][_0x5ae9a2(0x2e2)](_0x2a43cb));}},{'priority':_0x50d4d1(0x218)});}[_0x6d4512(0x1e3)](_0x337e68){const _0x48eca8=_0x6d4512;return this[_0x48eca8(0x221)][_0x48eca8(0x256)](_0x337e68);}[_0x6d4512(0x2de)](_0x2ec8c2){const _0x31692c=_0x6d4512;return this[_0x31692c(0x277)]&&this[_0x31692c(0x277)][_0x31692c(0x24a)](),this[_0x31692c(0x277)]=new _0x5c7c58(this[_0x31692c(0x265)][_0x31692c(0x307)],_0x2ec8c2),this[_0x31692c(0x277)];}[_0x6d4512(0x237)](){const _0xfb7b74=_0x6d4512;this[_0xfb7b74(0x265)][_0xfb7b74(0x20d)][_0xfb7b74(0x238)][_0xfb7b74(0x2ee)][_0xfb7b74(0x30b)](_0xfb7b74(0x29d)),this['on'](_0xfb7b74(0x2d9),(_0x422a32,_0xd0a726,_0x44e85b,_0x328ac1)=>{const _0x43bf49=_0xfb7b74;_0x328ac1&&this[_0x43bf49(0x1ef)][_0x43bf49(0x2e2)](_0x328ac1),_0x44e85b&&(this[_0x43bf49(0x1ef)][_0x43bf49(0x2fe)]({'view':_0x44e85b,'stackId':_0x43bf49(0x228),'position':{'target':()=>{const _0x2247dc=_0x43bf49,_0x5cf27e=this[_0x2247dc(0x265)][_0x2247dc(0x278)],_0x3bd6c6=this[_0x2247dc(0x1e3)](_0x44e85b[_0x2247dc(0x242)]);let _0x554f6b;if(_0x3bd6c6[_0x2247dc(0x214)][_0x2247dc(0x260)]){const _0x2295bb=_0x5cf27e[_0x2247dc(0x1e2)][_0x2247dc(0x23e)](_0x3bd6c6[_0x2247dc(0x246)]);_0x554f6b=Array[_0x2247dc(0x20c)](_0x2295bb[_0x2247dc(0x220)]());}else{const _0x1bf67b=this[_0x2247dc(0x265)][_0x2247dc(0x20d)][_0x2247dc(0x27c)][_0x2247dc(0x256)](_0x2247dc(0x2cd)+_0x44e85b[_0x2247dc(0x242)]);_0x554f6b=Array[_0x2247dc(0x20c)](_0x5cf27e[_0x2247dc(0x205)][_0x2247dc(0x2e0)](_0x1bf67b[_0x2247dc(0x20b)]))[_0x2247dc(0x2d1)](_0x2e890e=>_0x5cf27e[_0x2247dc(0x1e2)][_0x2247dc(0x286)][_0x2247dc(0x245)](_0x2e890e))[_0x2247dc(0x2d1)](_0xd415f6=>Array[_0x2247dc(0x20c)](_0xd415f6[_0x2247dc(0x220)]()))[_0x2247dc(0x26b)]();}if(!this[_0x2247dc(0x200)])return _0x554f6b[0x0];return _0x554f6b[_0x2247dc(0x2b2)](_0x4fa6c2=>_0x4fa6c2[_0x2247dc(0x248)]-0x3<=this[_0x2247dc(0x200)]['y']&&_0x4fa6c2[_0x2247dc(0x2bf)]+0x3>=this[_0x2247dc(0x200)]['y']&&_0x4fa6c2[_0x2247dc(0x257)]-0x3<=this[_0x2247dc(0x200)]['x']&&_0x4fa6c2[_0x2247dc(0x329)]+0x3>=this[_0x2247dc(0x200)]['x'])||_0x554f6b[0x0];}}}),this[_0x43bf49(0x1ef)][_0x43bf49(0x207)](_0x43bf49(0x228)));}),this['on'](_0xfb7b74(0x2f0),(_0xb7e991,_0x324cfb,_0x642eea,_0x46855d)=>{const _0x123a49=_0xfb7b74;this[_0x123a49(0x240)]=_0x642eea?this[_0x123a49(0x2de)](_0x642eea):null,this[_0x123a49(0x265)][_0x123a49(0x20d)][_0x123a49(0x30c)](()=>{const _0x5b4163=_0x123a49,_0x10fcfd=this[_0x5b4163(0x265)][_0x5b4163(0x278)];_0x46855d&&(_0x46855d[_0x5b4163(0x214)][_0x5b4163(0x260)]?_0x10fcfd[_0x5b4163(0x1e2)][_0x5b4163(0x30c)](_0x56781f=>{const _0x9bcc96=_0x5b4163;_0x56781f[_0x9bcc96(0x2bb)](_0x9bcc96(0x290),_0x10fcfd[_0x9bcc96(0x1e2)][_0x9bcc96(0x238)][_0x9bcc96(0x21a)](_0x46855d[_0x9bcc96(0x246)]));}):_0x10fcfd[_0x5b4163(0x208)](_0x5b4163(0x2cd)+_0x46855d['id'])),_0x642eea&&(_0x642eea[_0x5b4163(0x214)][_0x5b4163(0x260)]?_0x10fcfd[_0x5b4163(0x1e2)][_0x5b4163(0x30c)](_0x8d5549=>{const _0x64d4ac=_0x5b4163;_0x8d5549[_0x64d4ac(0x225)](_0x64d4ac(0x290),_0x10fcfd[_0x64d4ac(0x1e2)][_0x64d4ac(0x238)][_0x64d4ac(0x21a)](_0x642eea[_0x64d4ac(0x246)]));}):_0x10fcfd[_0x5b4163(0x208)](_0x5b4163(0x2cd)+_0x642eea['id']));});}),this[_0xfb7b74(0x216)](this[_0xfb7b74(0x265)][_0xfb7b74(0x278)][_0xfb7b74(0x1e2)][_0xfb7b74(0x238)],_0xfb7b74(0x262),(_0x45bc41,_0x4f268a)=>{const _0x12469e=_0xfb7b74;if(this[_0x12469e(0x24f)])return;const _0x28ff28=this[_0x12469e(0x30f)](_0x4f268a[_0x12469e(0x21c)]),_0x49b4a6=this[_0x12469e(0x221)][_0x12469e(0x256)](_0x28ff28);_0x49b4a6?(this[_0x12469e(0x200)]={'x':_0x4f268a[_0x12469e(0x29a)]['x'],'y':_0x4f268a[_0x12469e(0x29a)]['y']},this[_0x12469e(0x240)]=this[_0x12469e(0x2de)](_0x49b4a6)):(this[_0x12469e(0x200)]=null,this[_0x12469e(0x240)]=null);}),this[_0xfb7b74(0x216)](this[_0xfb7b74(0x265)][_0xfb7b74(0x278)][_0xfb7b74(0x1e2)][_0xfb7b74(0x238)],_0xfb7b74(0x2cf),(_0x90c4f8,_0x3fbeda)=>{const _0x1f5dbb=_0xfb7b74,_0xe5d914=this[_0x1f5dbb(0x30f)](_0x3fbeda[_0x1f5dbb(0x21c)]),_0x12d0bd=this[_0x1f5dbb(0x221)][_0x1f5dbb(0x256)](_0xe5d914);_0x12d0bd?(this[_0x1f5dbb(0x200)]={'x':_0x3fbeda[_0x1f5dbb(0x29a)]['x'],'y':_0x3fbeda[_0x1f5dbb(0x29a)]['y']},_0x12d0bd===this[_0x1f5dbb(0x24f)]?this[_0x1f5dbb(0x1ef)][_0x1f5dbb(0x254)]():this[_0x1f5dbb(0x24f)]=_0x12d0bd):(this[_0x1f5dbb(0x200)]=null,this[_0x1f5dbb(0x24f)]=null);});}[_0x6d4512(0x30f)](_0x38dcba){const _0x31da9f=_0x6d4512;do{const _0x3e4c22=_0x38dcba[_0x31da9f(0x2ab)](_0x31da9f(0x2fd));if(_0x3e4c22)return _0x3e4c22;_0x38dcba=_0x38dcba[_0x31da9f(0x30e)];}while(_0x38dcba);return null;}[_0x6d4512(0x300)](){const _0x56074c=_0x6d4512;this[_0x56074c(0x265)][_0x56074c(0x20d)][_0x56074c(0x30c)](_0x220ccf=>{const _0x4dbf4f=_0x56074c;for(const _0x1707b3 of this[_0x4dbf4f(0x265)][_0x4dbf4f(0x20d)][_0x4dbf4f(0x27c)])_0x220ccf[_0x4dbf4f(0x2d2)](_0x1707b3);});}}function Z(_0x5d7dc3,_0x421f24){return(_0x2c063f,_0x544599,_0x23322e)=>{const _0xe7a8d8=_0x42b2;if(!_0x23322e[_0xe7a8d8(0x2e4)][_0xe7a8d8(0x1de)](_0x544599[_0xe7a8d8(0x2cc)],_0x2c063f[_0xe7a8d8(0x20b)]))return;const _0x4aa2c2=_0x544599[_0xe7a8d8(0x2cc)][_0xe7a8d8(0x312)](),_0x27806f=_0x544599[_0xe7a8d8(0x2cc)][_0xe7a8d8(0x293)],_0x51ac97=_0x5d7dc3[_0xe7a8d8(0x20d)][_0xe7a8d8(0x1db)];let _0x132aec=null,_0x4083bc=null,_0x4a013a=!0x1,_0x597ef9=!0x1;for(const _0x57d367 of _0x4aa2c2){const _0x315cd5=_0x57d367[_0xe7a8d8(0x29f)];_0x4a013a=_0x4a013a||_0x51ac97[_0xe7a8d8(0x2b9)](_0x315cd5);const _0x16613b=_0x23322e[_0xe7a8d8(0x205)][_0xe7a8d8(0x283)](_0x315cd5);if(_0x16613b&&_0x16613b[_0xe7a8d8(0x213)](_0xe7a8d8(0x255)))return;_0xe7a8d8(0x2e1)==_0x57d367[_0xe7a8d8(0x2b6)]&&(_0x51ac97[_0xe7a8d8(0x2c2)](_0x315cd5)&&!_0x51ac97[_0xe7a8d8(0x1e9)](_0x315cd5)&&(_0x315cd5[_0xe7a8d8(0x272)]||_0x27806f[_0xe7a8d8(0x2c8)]?_0x132aec&&_0x132aec[_0xe7a8d8(0x30e)]==_0x315cd5||(_0x132aec=_0x315cd5,_0x6e5cfe(_0x57d367[_0xe7a8d8(0x2c9)]),_0x597ef9=!0x0):_0x4083bc=_0x4083bc||_0x57d367[_0xe7a8d8(0x2c9)]));}function _0x6e5cfe(_0x57f2f5){const _0x40121e=_0xe7a8d8,_0x48b570=_0x23322e[_0x40121e(0x205)][_0x40121e(0x2cb)](_0x57f2f5),_0xff4d1b=_0x23322e[_0x40121e(0x26e)][_0x40121e(0x328)](_0x40121e(0x24e),{'class':_0x40121e(0x268)+_0x421f24});_0x23322e[_0x40121e(0x26e)][_0x40121e(0x21e)](_0x48b570,_0xff4d1b),_0x23322e[_0x40121e(0x205)][_0x40121e(0x1fc)](_0xff4d1b,_0x544599[_0x40121e(0x23f)]);}_0x4a013a||_0x597ef9||!_0x4083bc||_0x6e5cfe(_0x4083bc);};}export class RestoreRevisionCommand extends _0x3f8c60{constructor(_0x6eaa92){const _0x3fa2db=_0x6d4512;super(_0x6eaa92);const _0x1f6ff8=_0x6eaa92[_0x3fa2db(0x210)][_0x3fa2db(0x256)](d);this[_0x3fa2db(0x2e8)]=!0x1,this[_0x3fa2db(0x216)](_0x1f6ff8,_0x3fa2db(0x229),()=>this[_0x3fa2db(0x2ce)]()),this[_0x3fa2db(0x216)](_0x1f6ff8,_0x3fa2db(0x1f4),()=>this[_0x3fa2db(0x2ce)]());}[_0x6d4512(0x30d)](){const _0x26cfad=_0x6d4512,_0x174f83=this[_0x26cfad(0x265)],_0x53f0de=_0x174f83[_0x26cfad(0x210)][_0x26cfad(0x256)](d),_0xe2f56c=_0x53f0de[_0x26cfad(0x264)]?_0x53f0de[_0x26cfad(0x324)][_0x26cfad(0x24d)]:null;_0x174f83[_0x26cfad(0x2da)][_0x26cfad(0x256)](_0x26cfad(0x2a9))[_0x26cfad(0x2eb)](_0xe2f56c);}[_0x6d4512(0x2ce)](){const _0x4cfc1e=_0x6d4512,{isReady:_0x2b3784,isEnabled:_0x3b6d21,repository:_0x71eb15,diff:_0x43e744}=this[_0x4cfc1e(0x265)][_0x4cfc1e(0x210)][_0x4cfc1e(0x256)](d),_0x2c8143=_0x43e744&&_0x71eb15[_0x4cfc1e(0x28b)](_0x43e744[_0x4cfc1e(0x24d)]);this[_0x4cfc1e(0x21f)]=_0x2b3784&&_0x3b6d21&&Boolean(_0x2c8143);}}export class ShowChangeCommand extends _0x3f8c60{constructor(_0x48830c,{direction:_0x2ddfec}){const _0x3d2757=_0x6d4512;super(_0x48830c);const _0x88ee6=_0x48830c[_0x3d2757(0x210)][_0x3d2757(0x256)](d);this[_0x3d2757(0x2e8)]=!0x1,this[_0x3d2757(0x1f8)]=_0x3d2757(0x1fb)===_0x2ddfec?0x1:-0x1,this[_0x3d2757(0x216)](_0x88ee6,_0x3d2757(0x229),()=>this[_0x3d2757(0x2ce)]()),this[_0x3d2757(0x216)](_0x88ee6,_0x3d2757(0x1f4),()=>this[_0x3d2757(0x2ce)]()),this[_0x3d2757(0x216)](_0x88ee6,_0x3d2757(0x2f0),()=>this[_0x3d2757(0x2ce)]());}[_0x6d4512(0x30d)](){const _0x1c66dc=_0x6d4512,_0xcd27bf=this[_0x1c66dc(0x265)],_0x5200c2=_0xcd27bf[_0x1c66dc(0x210)][_0x1c66dc(0x256)](d),{isNavigationMode:_0x49afcc,currentChangeNumber:_0x3bcb0e}=_0x5200c2;let _0x14d15a;if(_0x5200c2[_0x1c66dc(0x24f)]=_0x49afcc?_0x5200c2[_0x1c66dc(0x324)][_0x1c66dc(0x281)][_0x1c66dc(0x256)](_0x3bcb0e+this[_0x1c66dc(0x1f8)]):_0x5200c2[_0x1c66dc(0x324)][_0x1c66dc(0x281)][_0x1c66dc(0x2b4)],_0x5200c2[_0x1c66dc(0x24f)][_0x1c66dc(0x214)][_0x1c66dc(0x260)])_0x14d15a=_0xcd27bf[_0x1c66dc(0x278)][_0x1c66dc(0x1e2)][_0x1c66dc(0x23e)](_0x5200c2[_0x1c66dc(0x24f)][_0x1c66dc(0x246)]);else{const _0x5e7ad3=_0xcd27bf[_0x1c66dc(0x20d)][_0x1c66dc(0x27c)][_0x1c66dc(0x256)](_0x1c66dc(0x2cd)+_0x5200c2[_0x1c66dc(0x24f)]['id']);_0x14d15a=_0x5a48e2(_0xcd27bf[_0x1c66dc(0x278)],_0x5e7ad3);}_0x520a35({'target':_0x14d15a,'viewportOffset':0x28});}[_0x6d4512(0x2ce)](){const _0x137284=_0x6d4512,{isNavigationMode:_0x194b4b,currentChangeNumber:_0x59cef6,numberOfChanges:_0x29c300,isReady:_0x42877b,isEnabled:_0x4b0e2a}=this[_0x137284(0x265)][_0x137284(0x210)][_0x137284(0x256)](d);this[_0x137284(0x21f)]=!!(_0x4b0e2a&&_0x42877b&&_0x29c300)&&(!_0x194b4b||(0x1===this[_0x137284(0x1f8)]?_0x59cef6<_0x29c300-0x1:_0x59cef6>0x0));}}
|
|
23
|
+
const _0x324df0=_0x1d3d;(function(_0x129744,_0x1917a4){const _0x51d3bb=_0x1d3d,_0x174606=_0x129744();while(!![]){try{const _0x4e0bbc=-parseInt(_0x51d3bb(0x1d7))/0x1+parseInt(_0x51d3bb(0x279))/0x2+parseInt(_0x51d3bb(0x1cb))/0x3*(-parseInt(_0x51d3bb(0x24b))/0x4)+-parseInt(_0x51d3bb(0x20b))/0x5*(-parseInt(_0x51d3bb(0x218))/0x6)+parseInt(_0x51d3bb(0x2c4))/0x7*(-parseInt(_0x51d3bb(0x261))/0x8)+parseInt(_0x51d3bb(0x21f))/0x9*(-parseInt(_0x51d3bb(0x254))/0xa)+parseInt(_0x51d3bb(0x2ca))/0xb;if(_0x4e0bbc===_0x1917a4)break;else _0x174606['push'](_0x174606['shift']());}catch(_0x215fe4){_0x174606['push'](_0x174606['shift']());}}}(_0x33a6,0xad9ac));import{Plugin as _0x3b1629,Command as _0x368fed}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x333ddd}from'ckeditor5/src/utils.js';function _0x1d3d(_0x42ec28,_0x8ffcbf){const _0x33a652=_0x33a6();return _0x1d3d=function(_0x1d3d86,_0x130973){_0x1d3d86=_0x1d3d86-0x1a8;let _0x386343=_0x33a652[_0x1d3d86];return _0x386343;},_0x1d3d(_0x42ec28,_0x8ffcbf);}import{ContextualBalloon as _0x204b2e}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x3d2bdf,Element as _0x176b41,Text as _0x2e793b,ViewDocumentFragment as _0x119b75,ViewText as _0x363497,ViewElement as _0x42533d,ViewContainerElement as _0x94def6,ViewAttributeElement as _0x125caf,ViewEmptyElement as _0x39683d,ViewRawElement as _0x15d9a1,ViewUIElement as _0x39c2fd}from'ckeditor5/src/engine.js';import{Users as _0xad553b,getMarkerDomElement as _0x375ec7}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x476677 from'./ui/revisionviewer/changedetailsview.js';import _0x594b22 from'./revisionsrepository.js';import _0x183dbc from'./changeitem.js';import{default as _0x324491}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x58f2ce}from'lodash-es';const Y={'c':_0x94def6,'a':_0x125caf,'e':_0x39683d,'r':_0x15d9a1,'u':_0x39c2fd};export default class d extends _0x3b1629{static get[_0x324df0(0x2c1)](){const _0x58fb7b=_0x324df0;return _0x58fb7b(0x23d);}static get[_0x324df0(0x278)](){return!0x0;}static get[_0x324df0(0x1df)](){return!0x0;}static get[_0x324df0(0x1b6)](){return[_0xad553b,_0x204b2e,_0x594b22];}constructor(_0x4df945){const _0x32be20=_0x324df0;super(_0x4df945),this[_0x32be20(0x292)]=this[_0x32be20(0x245)][_0x32be20(0x263)][_0x32be20(0x1b3)](_0x32be20(0x2f4)),this[_0x32be20(0x290)](_0x32be20(0x298),null),this[_0x32be20(0x290)](_0x32be20(0x1da),null),this[_0x32be20(0x216)]=null,this[_0x32be20(0x290)](_0x32be20(0x229),null),this[_0x32be20(0x290)](_0x32be20(0x1bd),!0x1),this[_0x32be20(0x290)](_0x32be20(0x232),!0x0),this['on'](_0x32be20(0x25d),(_0x3e87c6,_0x3dfc3d,_0x13f038)=>{const _0x383254=_0x32be20;this[_0x383254(0x298)]=null,this[_0x383254(0x1da)]=null,this[_0x383254(0x245)][_0x383254(0x1d4)][_0x383254(0x2ad)][_0x383254(0x1ac)](_0x327889=>{const _0x1927a5=_0x383254;for(const _0x4f67ce of this[_0x1927a5(0x245)][_0x1927a5(0x1d4)][_0x1927a5(0x2ad)][_0x1927a5(0x252)][_0x1927a5(0x240)])_0x13f038?_0x327889[_0x1927a5(0x2f7)](_0x1927a5(0x2ef),_0x4f67ce):_0x327889[_0x1927a5(0x2d9)](_0x1927a5(0x2ef),_0x4f67ce);});}),this[_0x32be20(0x1fc)](_0x32be20(0x1e2))['to'](this,_0x32be20(0x298),_0xef3fd5=>null!==_0xef3fd5),this[_0x32be20(0x1fc)](_0x32be20(0x207))['to'](this,_0x32be20(0x1bd),this,_0x32be20(0x229),this,_0x32be20(0x298),(_0x1319b8,_0x446035,_0x5ea995)=>_0x1319b8&&_0x5ea995?_0x446035[_0x32be20(0x28f)][_0x32be20(0x224)](_0x5ea995):0x0),this[_0x32be20(0x1fc)](_0x32be20(0x1af))['to'](this,_0x32be20(0x1bd),this,_0x32be20(0x229),(_0x3e43a6,_0x1212c5)=>_0x3e43a6?_0x1212c5[_0x32be20(0x28f)][_0x32be20(0x2d1)]:0x0),this[_0x32be20(0x22c)]=null,this[_0x32be20(0x1bb)]=new Map(),this[_0x32be20(0x1c7)]=null,this[_0x32be20(0x204)]=this[_0x32be20(0x245)][_0x32be20(0x263)][_0x32be20(0x1b3)](_0x204b2e);}[_0x324df0(0x259)](){const _0x1469d8=_0x324df0,_0x1ba46b=this[_0x1469d8(0x245)],_0x1d2239=new ShowChangeCommand(_0x1ba46b,{'direction':_0x1469d8(0x277)}),_0x17808d=new ShowChangeCommand(_0x1ba46b,{'direction':_0x1469d8(0x242)});(_0x1ba46b[_0x1469d8(0x2a2)][_0x1469d8(0x2a8)](_0x1469d8(0x206),_0x1d2239),_0x1ba46b[_0x1469d8(0x2a2)][_0x1469d8(0x2a8)](_0x1469d8(0x280),_0x17808d),_0x1ba46b[_0x1469d8(0x2a2)][_0x1469d8(0x2a8)](_0x1469d8(0x24d),new RestoreRevisionCommand(_0x1ba46b)),this['on'](_0x1469d8(0x1ab),()=>{const _0x59220b=_0x1469d8;_0x1d2239[_0x59220b(0x200)](),_0x17808d[_0x59220b(0x200)]();}),this[_0x1469d8(0x1ce)](),this[_0x1469d8(0x2d3)](),_0x1ba46b[_0x1469d8(0x217)](_0x1469d8(0x1fe)),_0x1ba46b[_0x1469d8(0x263)][_0x1469d8(0x1c2)](_0x1469d8(0x294)))&&_0x1ba46b[_0x1469d8(0x263)][_0x1469d8(0x1b3)](_0x1469d8(0x294))[_0x1469d8(0x1fd)](_0x1469d8(0x1fe));}async[_0x324df0(0x203)](_0x192fdc){const _0x427ffe=_0x324df0;await this[_0x427ffe(0x21a)](_0x192fdc);const _0x5ad52a={};for(const _0x9e29ac in _0x192fdc[_0x427ffe(0x287)]){if(_0x192fdc[_0x427ffe(0x287)][_0x9e29ac][_0x427ffe(0x243)]&&!_0x192fdc[_0x427ffe(0x287)][_0x9e29ac][_0x427ffe(0x243)][_0x427ffe(0x226)])continue;const _0x4fa296=this[_0x427ffe(0x1c4)](JSON[_0x427ffe(0x2d4)](_0x192fdc[_0x427ffe(0x287)][_0x9e29ac][_0x427ffe(0x27c)])),_0x5984b9=this[_0x427ffe(0x245)][_0x427ffe(0x1d4)][_0x427ffe(0x2ad)][_0x427ffe(0x252)],_0x9b553e=new _0x119b75(_0x5984b9,_0x4fa296[_0x427ffe(0x284)](_0x3ee194=>this[_0x427ffe(0x286)](_0x3ee194)));this[_0x427ffe(0x245)][_0x427ffe(0x222)][_0x427ffe(0x21c)][_0x427ffe(0x27b)](_0x427ffe(0x2a1)),_0x5ad52a[_0x9e29ac]=this[_0x427ffe(0x245)][_0x427ffe(0x222)][_0x427ffe(0x21c)][_0x427ffe(0x2cb)](_0x9b553e),this[_0x427ffe(0x245)][_0x427ffe(0x222)][_0x427ffe(0x21c)][_0x427ffe(0x27b)](_0x427ffe(0x2e4));}return _0x5ad52a;}async[_0x324df0(0x2e9)](_0x37179f){const _0x57ccf3=_0x324df0;await this[_0x57ccf3(0x21a)](_0x37179f);const _0x2bf0a0={};for(const _0x3b1760 in _0x37179f[_0x57ccf3(0x287)])_0x37179f[_0x57ccf3(0x287)][_0x3b1760][_0x57ccf3(0x243)]&&!_0x37179f[_0x57ccf3(0x287)][_0x3b1760][_0x57ccf3(0x243)][_0x57ccf3(0x226)]||(_0x2bf0a0[_0x3b1760]=_0x37179f[_0x57ccf3(0x287)][_0x3b1760][_0x57ccf3(0x26f)]||{});return _0x2bf0a0;}[_0x324df0(0x1c4)](_0x5d6348){const _0x29458b=_0x324df0;return(_0x5d6348=_0x5d6348[_0x29458b(0x29d)](_0x32ebf4=>!_0x32ebf4[_0x29458b(0x244)]||_0x29458b(0x266)!==_0x32ebf4[_0x29458b(0x244)]&&_0x29458b(0x1b8)!==_0x32ebf4[_0x29458b(0x244)]))[_0x29458b(0x1ec)](_0x10ed0a=>{const _0x475260=_0x29458b;_0x475260(0x225)!=typeof _0x10ed0a&&(_0x10ed0a[_0x475260(0x258)]=this[_0x475260(0x1c4)](_0x10ed0a[_0x475260(0x258)]),_0x10ed0a[_0x475260(0x1c6)]=_0x10ed0a[_0x475260(0x1c6)][_0x475260(0x29d)](_0xbd35a1=>!_0xbd35a1[0x0][_0x475260(0x1c8)](_0x475260(0x1ca))));}),_0x5d6348;}async[_0x324df0(0x26d)](_0x3c403a,_0x11de11,_0x25da48=!0x1){const _0x4f336d=_0x324df0;if(!this[_0x4f336d(0x232)])return;const _0xd7f63=this[_0x4f336d(0x229)],_0x4c8f87=this[_0x4f336d(0x292)],_0x3ac365=_0x4f336d(0x225)==typeof _0x3c403a?_0x4c8f87[_0x4f336d(0x231)](_0x3c403a):_0x3c403a,_0x1031e7=_0x4f336d(0x225)==typeof _0x11de11?_0x4c8f87[_0x4f336d(0x231)](_0x11de11):_0x11de11,_0x2a818a=_0x3ac365['id'],_0x31c33c=_0x1031e7?_0x1031e7['id']:null;if(!_0x25da48&&this[_0x4f336d(0x229)]&&this[_0x4f336d(0x229)][_0x4f336d(0x1e1)]===_0x2a818a&&this[_0x4f336d(0x229)][_0x4f336d(0x2c2)]===_0x31c33c)return Promise[_0x4f336d(0x1d6)]();this[_0x4f336d(0x1bd)]=!0x1,this[_0x4f336d(0x1da)]=null,this[_0x4f336d(0x298)]=null,this[_0x4f336d(0x229)]=new _0x324491(_0x2a818a,_0x31c33c);const _0x48a409=this[_0x4f336d(0x235)](_0x3ac365,_0x1031e7,!0x0)[_0x4f336d(0x284)](_0x44ab90=>this[_0x4f336d(0x21a)](_0x44ab90));return _0x48a409[_0x4f336d(0x2da)](new Promise(_0x444d29=>{setTimeout(_0x444d29,0x14);})),Promise[_0x4f336d(0x265)](_0x48a409)[_0x4f336d(0x2ae)](()=>{const _0x40d0c0=_0x4f336d;if(!this[_0x40d0c0(0x232)])return;this[_0x40d0c0(0x274)]();const _0x12e715=this[_0x40d0c0(0x238)](_0x2a818a,_0x31c33c);for(const _0x39e6fb of _0x12e715[_0x40d0c0(0x28f)])this[_0x40d0c0(0x1bb)][_0x40d0c0(0x290)](_0x39e6fb['id'],_0x39e6fb);this[_0x40d0c0(0x245)][_0x40d0c0(0x271)][_0x40d0c0(0x291)]({'isUndoable':!0x1},_0x18dc4a=>{const _0x535037=_0x40d0c0;for(const _0x11861b of this[_0x535037(0x245)][_0x535037(0x271)][_0x535037(0x252)][_0x535037(0x1f4)]())_0x18dc4a[_0x535037(0x28a)](_0x11861b);for(const _0x163ed9 of Object[_0x535037(0x1d0)](_0x12e715[_0x535037(0x271)])){const _0x492b1c=_0x18dc4a[_0x535037(0x24e)](_0x163ed9);for(const _0x5be0c3 of Object[_0x535037(0x1d0)](_0x12e715[_0x535037(0x1c6)][_0x163ed9]))_0x18dc4a[_0x535037(0x2bf)](_0x5be0c3,_0x12e715[_0x535037(0x1c6)][_0x163ed9][_0x5be0c3],_0x492b1c);_0x18dc4a[_0x535037(0x26c)](_0x12e715[_0x535037(0x271)][_0x163ed9],_0x492b1c,0x0);}}),this[_0x40d0c0(0x229)][_0x40d0c0(0x2c0)](this[_0x40d0c0(0x1e9)](_0x12e715[_0x40d0c0(0x28f)])),this[_0x40d0c0(0x1bd)]=!0x0;})[_0x4f336d(0x1ea)](_0x20faa4=>{const _0x211bd8=_0x4f336d;console[_0x211bd8(0x20c)](_0x20faa4),this[_0x211bd8(0x274)](),_0xd7f63&&(this[_0x211bd8(0x229)]=_0xd7f63),this[_0x211bd8(0x1bd)]=!0x0;});}[_0x324df0(0x1ee)](_0x29e57a,_0x21a5fd){const _0x408002=_0x324df0,_0x4227d1=this[_0x408002(0x292)][_0x408002(0x285)](_0x29e57a);return _0x4227d1['on'](_0x408002(0x24f),(_0x413552,_0xc0a275,_0x4b99d1)=>_0x21a5fd(_0xc0a275,_0x4b99d1,_0x4227d1)),this[_0x408002(0x292)][_0x408002(0x2a9)](_0x4227d1),_0x4227d1;}[_0x324df0(0x21a)](_0x4137ea){const _0x56c37a=_0x324df0;if(!_0x4137ea||_0x4137ea[_0x56c37a(0x287)])return Promise[_0x56c37a(0x1d6)]();{const _0x548a5f=this[_0x56c37a(0x245)][_0x56c37a(0x281)][_0x56c37a(0x1b3)](_0x56c37a(0x209));return this[_0x56c37a(0x1c7)][_0x56c37a(0x231)]({'channelId':_0x548a5f,'revisionId':_0x4137ea['id']})[_0x56c37a(0x2ae)](_0x455f3f=>{const _0xbe5164=_0x56c37a;_0x4137ea[_0xbe5164(0x24f)]({'diffData':_0x455f3f[_0xbe5164(0x287)]},!0x0);});}}[_0x324df0(0x274)](){const _0x350586=_0x324df0;this[_0x350586(0x298)]=null,this[_0x350586(0x1e7)](),this[_0x350586(0x22c)]&&this[_0x350586(0x22c)][_0x350586(0x2ba)](),this[_0x350586(0x22c)]=null,this[_0x350586(0x1bb)][_0x350586(0x2d0)](),this[_0x350586(0x245)][_0x350586(0x271)][_0x350586(0x291)]({'isUndoable':!0x1},_0x256e17=>{const _0x3cc2a3=_0x350586;for(const _0x388651 of this[_0x3cc2a3(0x245)][_0x3cc2a3(0x271)][_0x3cc2a3(0x252)][_0x3cc2a3(0x1f4)]())_0x256e17[_0x3cc2a3(0x28a)](_0x388651);});}[_0x324df0(0x1e9)](_0x3808ac){const _0x370af9=_0x324df0,_0x100b92=[],_0x481802=new Map();for(const _0x2b8799 of this[_0x370af9(0x245)][_0x370af9(0x271)][_0x370af9(0x252)][_0x370af9(0x1f4)]()){const _0x13ecd0=this[_0x370af9(0x245)][_0x370af9(0x1d4)][_0x370af9(0x2ad)][_0x370af9(0x2f0)](_0x2b8799);if(!_0x13ecd0)continue;const _0xdf4e8a=_0x13ecd0[_0x370af9(0x2b4)]()[_0x370af9(0x223)](0x0);_0xdf4e8a&&(_0x100b92[_0x370af9(0x2da)](_0x2b8799),_0x481802[_0x370af9(0x290)](_0x2b8799,_0xdf4e8a));}return _0x100b92[_0x370af9(0x23a)]((_0x2374cc,_0x2820ff)=>{const _0x2afe1f=_0x370af9,_0x51a423=_0x481802[_0x2afe1f(0x1b3)](_0x2374cc),_0x45eebf=_0x481802[_0x2afe1f(0x1b3)](_0x2820ff);return _0x51a423['y']-_0x45eebf['y']||_0x51a423['x']-_0x45eebf['x'];}),(_0x3808ac=_0x3808ac[_0x370af9(0x29d)](_0x4b6792=>_0x100b92[_0x370af9(0x24c)](_0x4b6792[_0x370af9(0x228)])))[_0x370af9(0x23a)]((_0x3e5d12,_0x9cfdc7)=>_0x100b92[_0x370af9(0x262)](_0x3e5d12[_0x370af9(0x228)])-_0x100b92[_0x370af9(0x262)](_0x9cfdc7[_0x370af9(0x228)])),_0x3808ac;}[_0x324df0(0x2c7)](_0x241746){const _0x9a1e8e=_0x324df0,_0x11e730=Array[_0x9a1e8e(0x2b3)](_0x241746[_0x9a1e8e(0x25b)])[_0x9a1e8e(0x29d)](([_0x4c4361,_0x24b7c3])=>_0x4c4361[_0x9a1e8e(0x1c8)](_0x9a1e8e(0x2cf))&&!_0x24b7c3[_0x9a1e8e(0x1f7)]),_0x591065=Array[_0x9a1e8e(0x2b3)](this[_0x9a1e8e(0x245)][_0x9a1e8e(0x271)][_0x9a1e8e(0x2e2)](_0x241746)[_0x9a1e8e(0x212)]({'singleCharacters':!0x0}));if(0x0!=_0x11e730[_0x9a1e8e(0x2d1)])for(const _0x28a498 of _0x591065){const [_0x182abe,_0x30d544]=_0x11e730[0x0],[,_0x543958,_0x28d17f]=_0x182abe[_0x9a1e8e(0x1f3)](':');if(_0x30d544[_0x9a1e8e(0x2bb)][_0x9a1e8e(0x1d1)](_0x28a498[_0x9a1e8e(0x2e1)])&&_0x11e730[_0x9a1e8e(0x28b)](),(_0x28a498[_0x9a1e8e(0x1c5)][_0x9a1e8e(0x1d1)](_0x30d544[_0x9a1e8e(0x1cf)])||_0x28a498[_0x9a1e8e(0x1c5)][_0x9a1e8e(0x2f5)](_0x30d544[_0x9a1e8e(0x1cf)]))&&(_0x9a1e8e(0x269)==_0x543958?_0x28a498[_0x9a1e8e(0x29f)]={'userId':_0x28d17f}:_0x9a1e8e(0x2ec)==_0x543958&&(_0x28a498[_0x9a1e8e(0x22b)]={'userId':_0x28d17f})),0x0==_0x11e730[_0x9a1e8e(0x2d1)])break;}return _0x591065;}[_0x324df0(0x1b9)](_0x3ca310){const _0x76368f=_0x324df0,_0x4e112b=new Map();for(let _0x1517b=0x0;_0x1517b<_0x3ca310[_0x76368f(0x2d1)];_0x1517b++)_0x76368f(0x29e)===_0x3ca310[_0x1517b][_0x76368f(0x2cc)]?(_0x3ca310[_0x1517b][_0x76368f(0x223)][_0x76368f(0x282)]=_0x1517b,_0x3ca310[_0x1517b][_0x76368f(0x223)][_0x76368f(0x25c)]=_0x1517b):(_0x76368f(0x2bd)===_0x3ca310[_0x1517b][_0x76368f(0x2cc)]?_0x3ca310[_0x1517b][_0x76368f(0x223)][_0x76368f(0x282)]=_0x1517b:_0x76368f(0x27a)===_0x3ca310[_0x1517b][_0x76368f(0x2cc)]&&(_0x3ca310[_0x1517b][_0x76368f(0x223)][_0x76368f(0x25c)]=_0x1517b),_0x4e112b[_0x76368f(0x290)](_0x3ca310[_0x1517b]['id'],_0x1517b));for(const _0x5d425b of _0x4e112b[_0x76368f(0x1c9)]())_0x76368f(0x2bd)===_0x3ca310[_0x5d425b][_0x76368f(0x2cc)]?_0x3ca310[_0x5d425b][_0x76368f(0x223)][_0x76368f(0x25c)]=_0x4e112b[_0x76368f(0x1b3)](_0x3ca310[_0x5d425b][_0x76368f(0x2b9)]):_0x76368f(0x27a)===_0x3ca310[_0x5d425b][_0x76368f(0x2cc)]&&(_0x3ca310[_0x5d425b][_0x76368f(0x223)][_0x76368f(0x282)]=_0x4e112b[_0x76368f(0x1b3)](_0x3ca310[_0x5d425b][_0x76368f(0x2b9)]));}[_0x324df0(0x21d)](_0x34d8d3){const _0x49cd66=_0x324df0;for(let _0x4c914f=0x0;_0x4c914f<_0x34d8d3[_0x49cd66(0x2d1)];_0x4c914f++){if(_0x49cd66(0x2bd)===_0x34d8d3[_0x4c914f][_0x49cd66(0x2cc)])_0x34d8d3[_0x4c914f][_0x49cd66(0x223)][_0x49cd66(0x282)]=_0x4c914f;else{if(_0x49cd66(0x27a)===_0x34d8d3[_0x4c914f][_0x49cd66(0x2cc)]){_0x34d8d3[_0x4c914f][_0x49cd66(0x223)][_0x49cd66(0x25c)]=_0x4c914f;const _0x35ebff=_0x34d8d3[_0x4c914f][_0x49cd66(0x223)][_0x49cd66(0x282)];_0x34d8d3[_0x35ebff][_0x49cd66(0x2b9)]=_0x34d8d3[_0x4c914f]['id'],_0x34d8d3[_0x4c914f][_0x49cd66(0x2b9)]=_0x34d8d3[_0x35ebff]['id'];}else _0x34d8d3[_0x4c914f][_0x49cd66(0x223)][_0x49cd66(0x282)]=_0x4c914f,_0x34d8d3[_0x4c914f][_0x49cd66(0x223)][_0x49cd66(0x25c)]=_0x4c914f,_0x34d8d3[_0x4c914f][_0x49cd66(0x2b9)]=null;}_0x34d8d3[_0x4c914f][_0x49cd66(0x24a)]||(_0x34d8d3[_0x4c914f][_0x49cd66(0x24a)]=[],_0x34d8d3[_0x4c914f][_0x49cd66(0x202)]=[]);}}[_0x324df0(0x23c)](_0x3c6ae9,_0x384c21){const _0x16e268=_0x324df0,_0x52b238=_0x3c6ae9[_0x16e268(0x29d)](_0x3ead73=>!_0x3ead73[_0x16e268(0x29f)]);for(let _0x3ec70a=0x0;_0x3ec70a<_0x384c21[_0x16e268(0x2d1)];_0x3ec70a++)_0x384c21[_0x3ec70a][_0x16e268(0x29f)]&&(_0x52b238[_0x3ec70a][_0x16e268(0x29f)]=_0x384c21[_0x3ec70a][_0x16e268(0x29f)]);}[_0x324df0(0x1f9)](_0x337e97){const _0x1dcc4e=_0x324df0,_0x121b3f=JSON[_0x1dcc4e(0x2d4)](_0x337e97),_0x5a1fb6=this[_0x1dcc4e(0x245)][_0x1dcc4e(0x1d4)][_0x1dcc4e(0x2ad)][_0x1dcc4e(0x252)],_0x1aac8c=new _0x119b75(_0x5a1fb6,_0x121b3f[_0x1dcc4e(0x284)](_0x3ea259=>this[_0x1dcc4e(0x286)](_0x3ea259)));return this[_0x1dcc4e(0x245)][_0x1dcc4e(0x222)][_0x1dcc4e(0x227)](_0x1aac8c);}[_0x324df0(0x286)](_0x4fbbce){const _0x5a61de=_0x324df0,_0x482071=this[_0x5a61de(0x245)][_0x5a61de(0x1d4)][_0x5a61de(0x2ad)][_0x5a61de(0x252)];if(_0x5a61de(0x225)==typeof _0x4fbbce)return new _0x363497(_0x482071,_0x4fbbce);{const _0xc843da=_0x4fbbce[_0x5a61de(0x258)][_0x5a61de(0x284)](_0x129e89=>this[_0x5a61de(0x286)](_0x129e89));return new(Y[_0x4fbbce[(_0x5a61de(0x2cc))]]||_0x42533d)(_0x482071,_0x4fbbce[_0x5a61de(0x244)],_0x4fbbce[_0x5a61de(0x1c6)],_0xc843da);}}[_0x324df0(0x238)](_0x29b8a9,_0x4f8271=null){const _0x4ed1ed=_0x324df0,_0x4893b3=this[_0x4ed1ed(0x292)][_0x4ed1ed(0x231)](_0x29b8a9),_0x665c2b=_0x4f8271?this[_0x4ed1ed(0x292)][_0x4ed1ed(0x231)](_0x4f8271):null,_0x31ec73=this[_0x4ed1ed(0x235)](_0x4893b3,_0x665c2b),_0x2325db=_0x31ec73[_0x31ec73[_0x4ed1ed(0x2d1)]-0x1],_0x305fe5=new Map(),_0x5b24df={'model':{},'attributes':{},'changes':[]},_0x1d9375=new Set(),_0x469d8a=new Map();for(let _0x1d9ef9=_0x31ec73[_0x4ed1ed(0x2d1)]-0x1;_0x1d9ef9>=0x0;_0x1d9ef9--){const _0xcef2c9=_0x31ec73[_0x1d9ef9];for(const _0x46c151 of Object[_0x4ed1ed(0x1d0)](_0xcef2c9[_0x4ed1ed(0x287)]))if(_0xcef2c9[_0x4ed1ed(0x287)][_0x46c151][_0x4ed1ed(0x243)]){const _0x4f0a02=_0xcef2c9[_0x4ed1ed(0x287)][_0x46c151][_0x4ed1ed(0x243)];_0x4f0a02[_0x4ed1ed(0x226)]?(_0x1d9375[_0x4ed1ed(0x2a8)](_0x46c151),_0x469d8a[_0x4ed1ed(0x1c2)](_0x46c151)&&_0x469d8a[_0x4ed1ed(0x1b3)](_0x46c151)[_0x4ed1ed(0x1b5)]==_0x4f0a02[_0x4ed1ed(0x1b5)]?_0x469d8a[_0x4ed1ed(0x2dd)](_0x46c151):_0x469d8a[_0x4ed1ed(0x290)](_0x46c151,_0x4f0a02)):_0x469d8a[_0x4ed1ed(0x1c2)](_0x46c151)?(_0x1d9375[_0x4ed1ed(0x2dd)](_0x46c151),_0x469d8a[_0x4ed1ed(0x2dd)](_0x46c151)):(_0x1d9375[_0x4ed1ed(0x2a8)](_0x46c151),_0x469d8a[_0x4ed1ed(0x290)](_0x46c151,_0x4f0a02));}else _0x1d9375[_0x4ed1ed(0x2a8)](_0x46c151);}for(const _0x9f798 of _0x1d9375){const _0xbc4829=_0x469d8a[_0x4ed1ed(0x1c2)](_0x9f798)&&!_0x469d8a[_0x4ed1ed(0x1b3)](_0x9f798)[_0x4ed1ed(0x226)];let _0x4cfae6=_0xbc4829?_0x31ec73[_0x4ed1ed(0x2d1)]-0x1:0x0;const _0x414adf=_0xbc4829?-0x1:0x1;for(;_0x31ec73[_0x4cfae6];){const _0x5b8707=_0x31ec73[_0x4cfae6];if(_0x5b8707[_0x4ed1ed(0x287)][_0x9f798]){const _0xeefd78=_0xbc4829?_0x5b8707[_0x4ed1ed(0x287)][_0x9f798][_0x4ed1ed(0x270)]:_0x5b8707[_0x4ed1ed(0x287)][_0x9f798][_0x4ed1ed(0x26f)];_0x5b24df[_0x4ed1ed(0x1c6)][_0x9f798]=_0xeefd78?_0x58f2ce(_0xeefd78):{};break;}_0x4cfae6+=_0x414adf;}}for(const _0x51d06c of _0x31ec73){_0x51d06c[_0x4ed1ed(0x271)]={};for(const _0x112696 of _0x51d06c[_0x4ed1ed(0x2b0)])_0x305fe5[_0x4ed1ed(0x290)](_0x112696['id'],_0x112696);for(const _0x5a72b6 of _0x1d9375){const _0x4bf87d=_0x51d06c[_0x4ed1ed(0x287)][_0x5a72b6]?_0x51d06c[_0x4ed1ed(0x287)][_0x5a72b6][_0x4ed1ed(0x27c)]:'[]',_0x3fbcff=_0x51d06c[_0x4ed1ed(0x287)][_0x5a72b6]?_0x51d06c[_0x4ed1ed(0x287)][_0x5a72b6][_0x4ed1ed(0x2aa)]:'[]';_0x51d06c[_0x4ed1ed(0x271)][_0x5a72b6]={'insertions':this[_0x4ed1ed(0x1f9)](_0x4bf87d),'deletions':this[_0x4ed1ed(0x1f9)](_0x3fbcff)};}}for(const _0x3415a1 of _0x1d9375){let _0x385089=null,_0x57283a=0x0;const _0x58ab4a=new Map(Array[_0x4ed1ed(0x2b3)](_0x4893b3[_0x4ed1ed(0x271)][_0x3415a1][_0x4ed1ed(0x27c)][_0x4ed1ed(0x25b)])[_0x4ed1ed(0x29d)](([_0x5dc148])=>!_0x5dc148[_0x4ed1ed(0x1c8)](_0x4ed1ed(0x2cf))));let _0x1835d4=0x0;for(const _0x37a01e of _0x31ec73){const _0x403c08=this[_0x4ed1ed(0x2c7)](_0x37a01e[_0x4ed1ed(0x271)][_0x3415a1][_0x4ed1ed(0x27c)]);_0x37a01e==_0x4893b3?(_0x385089=_0x403c08,_0x57283a=_0x385089[_0x4ed1ed(0x2d1)],_0x385089[_0x4ed1ed(0x1ec)](_0xb5abe3=>{_0xb5abe3['id']=_0x1835d4++;}),this[_0x4ed1ed(0x21d)](_0x385089)):this[_0x4ed1ed(0x23c)](_0x385089,_0x403c08);const _0x32d2a7=_0x385089[_0x4ed1ed(0x29d)](_0x17455d=>!_0x17455d[_0x4ed1ed(0x29f)])[_0x4ed1ed(0x284)](_0x3a0567=>_0x3a0567['id']);let _0x31a27c=0x0;const _0x1d38f3=this[_0x4ed1ed(0x2c7)](_0x37a01e[_0x4ed1ed(0x271)][_0x3415a1][_0x4ed1ed(0x2aa)]);_0x1d38f3[_0x4ed1ed(0x1ec)](_0x544a8f=>{const _0x328739=_0x4ed1ed;_0x544a8f[_0x328739(0x22b)]?_0x544a8f['id']=_0x57283a++:_0x544a8f['id']=_0x32d2a7[_0x31a27c++];}),this[_0x4ed1ed(0x21d)](_0x1d38f3),this[_0x4ed1ed(0x21b)](_0x385089,_0x4ed1ed(0x29f)),this[_0x4ed1ed(0x21b)](_0x1d38f3,_0x4ed1ed(0x22b)),_0x37a01e==_0x4893b3&&this[_0x4ed1ed(0x237)](_0x385089,_0x58ab4a),_0x385089=this[_0x4ed1ed(0x220)](_0x385089,_0x1d38f3),this[_0x4ed1ed(0x1b9)](_0x385089),this[_0x4ed1ed(0x21b)](_0x385089,_0x4ed1ed(0x22b));}_0x385089=_0x385089[_0x4ed1ed(0x29d)](_0x37c4bc=>!(_0x37c4bc[_0x4ed1ed(0x29f)]&&_0x37c4bc[_0x4ed1ed(0x22b)]));const _0xa711c1=new Map(_0x2325db[_0x4ed1ed(0x271)][_0x3415a1][_0x4ed1ed(0x2aa)][_0x4ed1ed(0x25b)]),_0x3fe358=new Set(_0x58ab4a[_0x4ed1ed(0x1d0)]());for(const _0x525e1d of _0xa711c1[_0x4ed1ed(0x1d0)]())_0x3fe358[_0x4ed1ed(0x2dd)](_0x525e1d);this[_0x4ed1ed(0x2e7)](_0x385089,_0x3fe358),this[_0x4ed1ed(0x23f)](_0x385089),_0x385089=this[_0x4ed1ed(0x2de)](_0x385089),_0x385089=this[_0x4ed1ed(0x2ce)](_0x385089),_0x385089=this[_0x4ed1ed(0x296)](_0x385089);const {root:_0x4a0845,changes:_0x4e37a7}=this[_0x4ed1ed(0x2a6)](_0x385089,_0x305fe5,_0x3415a1);_0x5b24df[_0x4ed1ed(0x271)][_0x3415a1]=_0x4a0845;const _0xfbc64b=_0x469d8a[_0x4ed1ed(0x1b3)](_0x3415a1);if(_0xfbc64b){const _0xf9a018=_0x305fe5[_0x4ed1ed(0x1b3)](_0xfbc64b[_0x4ed1ed(0x1b5)]),_0x4263c7=new _0x183dbc({'author':_0xf9a018,'type':_0xfbc64b[_0x4ed1ed(0x226)]?_0x4ed1ed(0x2a8):_0x4ed1ed(0x20f),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3415a1});_0x4e37a7[_0x4ed1ed(0x1f5)](_0x4263c7),_0x5b24df[_0x4ed1ed(0x1c6)][_0x3415a1][_0x4ed1ed(0x1b7)]=_0x4263c7['id'];}_0x5b24df[_0x4ed1ed(0x28f)]=_0x5b24df[_0x4ed1ed(0x28f)][_0x4ed1ed(0x1dc)](_0x4e37a7);}return _0x5b24df;}[_0x324df0(0x237)](_0x30684a,_0x2790bb){const _0x88d744=_0x324df0;for(let _0x10874b=0x0;_0x10874b<_0x30684a[_0x88d744(0x2d1)];_0x10874b++)for(const [_0x4b8d08,_0x5e8268]of _0x2790bb)_0x5e8268[_0x88d744(0x1cf)][_0x88d744(0x1d1)](_0x30684a[_0x10874b][_0x88d744(0x1c5)])&&_0x30684a[_0x10874b][_0x88d744(0x24a)][_0x88d744(0x2da)](_0x4b8d08),_0x5e8268[_0x88d744(0x2bb)][_0x88d744(0x1d1)](_0x30684a[_0x10874b][_0x88d744(0x2e1)])&&_0x30684a[_0x10874b][_0x88d744(0x202)][_0x88d744(0x2da)](_0x4b8d08);}[_0x324df0(0x220)](_0x39d991,_0x440234){const _0x2310fd=_0x324df0;let _0xfd989b=[],_0xbe5115=0x0,_0x35fccf=0x0;for(;_0xbe5115<_0x39d991[_0x2310fd(0x2d1)]||_0x35fccf<_0x440234[_0x2310fd(0x2d1)];){const _0x12368e=_0x39d991[_0xbe5115]||{},_0x33eb1d=_0x440234[_0x35fccf]||{};if(_0x12368e['id']==_0x33eb1d['id'])_0xbe5115++,_0x35fccf++,_0xfd989b[_0x2310fd(0x2da)](_0x12368e);else{if(_0x33eb1d[_0x2310fd(0x22b)]&&_0x12368e[_0x2310fd(0x29f)]){const {commonTape:_0x390857,iEnd:_0x34281d,jEnd:_0x5ccc56}=this[_0x2310fd(0x1db)](_0x39d991,_0xbe5115,_0x440234,_0x35fccf);_0xfd989b=_0xfd989b[_0x2310fd(0x1dc)](_0x390857),_0xbe5115=_0x34281d,_0x35fccf=_0x5ccc56;}else _0x33eb1d[_0x2310fd(0x22b)]?(_0x35fccf++,_0xfd989b[_0x2310fd(0x2da)](_0x33eb1d)):(_0xbe5115++,_0xfd989b[_0x2310fd(0x2da)](_0x12368e));}}return _0xfd989b;}[_0x324df0(0x2e7)](_0x2b4254,_0x1f2985){const _0x108e6d=_0x324df0,_0x357e73=[];for(let _0x206c01=0x0;_0x206c01<_0x2b4254[_0x108e6d(0x2d1)];_0x206c01++){for(let _0xc1061b=0x0;_0xc1061b<_0x2b4254[_0x206c01][_0x108e6d(0x24a)][_0x108e6d(0x2d1)];_0xc1061b++){const _0x37c4c0=_0x2b4254[_0x206c01][_0x108e6d(0x24a)][_0xc1061b];if(!_0x1f2985[_0x108e6d(0x1c2)](_0x37c4c0))continue;const {group:_0x1a83da,type:_0x37503f,authorId:_0x3cf109}=_0x194eae(_0x37c4c0);_0x108e6d(0x1d9)!=_0x1a83da||_0x108e6d(0x269)!=_0x37503f&&_0x108e6d(0x2ec)!=_0x37503f||(_0x357e73[_0x108e6d(0x1f5)]({'type':_0x37503f,'name':_0x37c4c0,'userId':_0x3cf109}),_0x2b4254[_0x206c01][_0x108e6d(0x24a)][_0x108e6d(0x2b6)](_0xc1061b,0x1),_0xc1061b--);}_0x3820a7(_0x2b4254[_0x206c01]);for(let _0x2862b7=0x0;_0x2862b7<_0x2b4254[_0x206c01][_0x108e6d(0x202)][_0x108e6d(0x2d1)];_0x2862b7++){const _0x144140=_0x2b4254[_0x206c01][_0x108e6d(0x202)][_0x2862b7];if(!_0x1f2985[_0x108e6d(0x1c2)](_0x144140))continue;const {group:_0x17db02,type:_0xf3468a}=_0x194eae(_0x144140);if(_0x108e6d(0x1d9)!=_0x17db02||_0x108e6d(0x269)!=_0xf3468a&&_0x108e6d(0x2ec)!=_0xf3468a)continue;_0x2b4254[_0x206c01][_0x108e6d(0x202)][_0x108e6d(0x2b6)](_0x2862b7,0x1),_0x2862b7--;const _0x308a76=_0x357e73[_0x108e6d(0x208)](_0x301b9a=>_0x301b9a[_0x108e6d(0x244)]==_0x144140);_0x308a76>-0x1&&_0x357e73[_0x108e6d(0x2b6)](_0x308a76,0x1);}}function _0x194eae(_0x1a09fd){const _0x2e9128=_0x108e6d,_0x1ffff7=_0x1a09fd[_0x2e9128(0x1f3)](':');return{'group':_0x1ffff7[0x0],'type':_0x1ffff7[0x1],'subType':_0x1ffff7[_0x2e9128(0x2d1)]>=0x5?_0x1ffff7[0x2]:null,'id':_0x1ffff7[_0x2e9128(0x2d1)]<0x5?_0x1ffff7[0x2]:_0x1ffff7[0x3],'authorId':_0x1ffff7[_0x2e9128(0x2d1)]<0x5?_0x1ffff7[0x3]:_0x1ffff7[0x4],'markerCount':0x6==_0x1ffff7[_0x2e9128(0x2d1)]?_0x1ffff7[0x5]:null};}function _0x3820a7(_0x2f4766){const _0x1630d2=_0x108e6d;for(let _0x15ef3c=0x0;_0x15ef3c<_0x357e73[_0x1630d2(0x2d1)];_0x15ef3c++){if(_0x2f4766[_0x1630d2(0x29f)]&&_0x1630d2(0x269)==_0x357e73[_0x15ef3c][_0x1630d2(0x2cc)])return _0x2f4766[_0x1630d2(0x256)]=_0x357e73[_0x15ef3c],void delete _0x2f4766[_0x1630d2(0x29f)];if(!_0x2f4766[_0x1630d2(0x29f)]&&!_0x2f4766[_0x1630d2(0x22b)]&&_0x1630d2(0x2ec)==_0x357e73[_0x15ef3c][_0x1630d2(0x2cc)])return void(_0x2f4766[_0x1630d2(0x1ff)]=_0x357e73[_0x15ef3c]);}}}[_0x324df0(0x21b)](_0xb57354,_0x3d9254){const _0x4bf246=_0x324df0;let _0x23fb44=0x0,_0x5baf14=!0x1;const _0x32502c=new Map();for(const _0x32aaa5 of _0xb57354)_0x32aaa5[_0x3d9254]?_0x5baf14&&(_0x23fb44++,_0x5baf14=!0x1):(_0x23fb44++,_0x5baf14=!0x0),_0x32502c[_0x4bf246(0x290)](_0x32aaa5['id'],_0x23fb44);for(let _0xed18b0=0x0;_0xed18b0<_0xb57354[_0x4bf246(0x2d1)];_0xed18b0++){if(_0x4bf246(0x22b)==_0x3d9254&&_0xb57354[_0xed18b0][_0x4bf246(0x29f)]||_0x4bf246(0x29f)==_0x3d9254&&_0xb57354[_0xed18b0][_0x4bf246(0x22b)])continue;if(_0x4bf246(0x29e)==_0xb57354[_0xed18b0][_0x4bf246(0x2cc)]){_0xb57354[_0xed18b0][_0x4bf246(0x2be)]=0x0;continue;}const _0x5cacde=_0x32502c[_0x4bf246(0x1b3)](_0xb57354[_0xed18b0][_0x4bf246(0x2b9)]),_0x58615=_0x32502c[_0x4bf246(0x1b3)](_0xb57354[_0xed18b0]['id']);_0xb57354[_0xed18b0][_0x4bf246(0x2be)]=_0x5cacde-_0x58615;}}[_0x324df0(0x235)](_0x4b0a11,_0x258d22,_0x4f60d3=!0x1){const _0xfb76ab=_0x324df0,_0x6d0c42=[];let _0x5bff42=this[_0xfb76ab(0x292)][_0xfb76ab(0x224)](_0x4b0a11),_0x25201c=this[_0xfb76ab(0x292)][_0xfb76ab(0x224)](_0x258d22);for(-0x1==_0x25201c&&(_0x25201c=this[_0xfb76ab(0x292)][_0xfb76ab(0x25a)][_0xfb76ab(0x2d1)],_0x4f60d3=!0x1);_0x5bff42<_0x25201c;)_0x6d0c42[_0xfb76ab(0x2da)](this[_0xfb76ab(0x292)][_0xfb76ab(0x231)](_0x5bff42)),_0x5bff42++;return _0x4f60d3&&_0x6d0c42[_0xfb76ab(0x2da)](this[_0xfb76ab(0x292)][_0xfb76ab(0x231)](_0x5bff42)),_0x6d0c42;}[_0x324df0(0x1db)](_0x3bf6c9,_0x220801,_0x518856,_0x5aa462){const _0x37ed3e=_0x324df0,_0x463a7b=this[_0x37ed3e(0x245)][_0x37ed3e(0x271)][_0x37ed3e(0x1ed)];let _0x24b583=_0x220801;for(;_0x3bf6c9[_0x24b583]&&_0x3bf6c9[_0x24b583][_0x37ed3e(0x29f)];)_0x24b583++;let _0x4cc3cb=_0x5aa462;for(;_0x518856[_0x4cc3cb]&&_0x518856[_0x4cc3cb][_0x37ed3e(0x22b)];)_0x4cc3cb++;_0x599267(_0x3bf6c9,_0x220801,_0x24b583),_0x599267(_0x518856,_0x5aa462,_0x4cc3cb);const _0x258c2e=_0x518856[_0x37ed3e(0x2c3)](_0x5aa462,_0x4cc3cb)[_0x37ed3e(0x1dc)](_0x3bf6c9[_0x37ed3e(0x2c3)](_0x220801,_0x24b583));return _0x258c2e[_0x37ed3e(0x23a)]((_0x1fa6ea,_0x1171e2)=>_0x1fa6ea[_0x37ed3e(0x26b)]!=_0x1171e2[_0x37ed3e(0x26b)]?_0x1fa6ea[_0x37ed3e(0x26b)]-_0x1171e2[_0x37ed3e(0x26b)]:_0x1fa6ea[_0x37ed3e(0x251)]!=_0x1171e2[_0x37ed3e(0x251)]?_0x1fa6ea[_0x37ed3e(0x251)]-_0x1171e2[_0x37ed3e(0x251)]:_0x1fa6ea[_0x37ed3e(0x2be)]!=_0x1171e2[_0x37ed3e(0x2be)]?_0x1171e2[_0x37ed3e(0x2be)]-_0x1fa6ea[_0x37ed3e(0x2be)]:!!_0x1fa6ea[_0x37ed3e(0x29f)]!=!!_0x1171e2[_0x37ed3e(0x29f)]?-0x1==_0x1fa6ea[_0x37ed3e(0x26b)]||0x0==_0x1fa6ea[_0x37ed3e(0x26b)]?_0x1fa6ea[_0x37ed3e(0x29f)]?-0x1:0x1:_0x1fa6ea[_0x37ed3e(0x29f)]?0x1:-0x1:_0x1fa6ea[_0x37ed3e(0x2f6)]-_0x1171e2[_0x37ed3e(0x2f6)]),{'commonTape':_0x258c2e,'iEnd':_0x24b583,'jEnd':_0x4cc3cb};function _0x599267(_0x1fdc34,_0x59138b,_0x4e1cfb){const _0x175c81=_0x37ed3e;let _0x3d4965=-0x1,_0x33a013=Number[_0x175c81(0x273)],_0x5ff2ae=!0x0;for(let _0x190159=_0x59138b;_0x190159<_0x4e1cfb;_0x190159++)if(_0x463a7b[_0x175c81(0x247)](_0x1fdc34[_0x190159][_0x175c81(0x223)])||(_0x5ff2ae=!0x1),_0x1fdc34[_0x190159][_0x175c81(0x223)][_0x175c81(0x282)]<_0x59138b&&(_0x3d4965=_0x190159),_0x1fdc34[_0x190159][_0x175c81(0x223)][_0x175c81(0x25c)]>=_0x4e1cfb){_0x33a013=_0x190159;break;}_0x5ff2ae&&(_0x3d4965=_0x4e1cfb-0x1);for(let _0x3b8c1a=_0x59138b;_0x3b8c1a<_0x4e1cfb;_0x3b8c1a++)_0x1fdc34[_0x3b8c1a][_0x175c81(0x26b)]=_0x3b8c1a<=_0x3d4965?-0x1:_0x3b8c1a<_0x33a013?0x0:0x1,_0x1fdc34[_0x3b8c1a][_0x175c81(0x2f6)]=_0x3b8c1a;let _0x446ffa=0x0;for(let _0x52b2b7=_0x59138b;_0x52b2b7<=_0x3d4965;_0x52b2b7++)0x0==_0x1fdc34[_0x52b2b7][_0x175c81(0x2be)]?_0x1fdc34[_0x52b2b7][_0x175c81(0x251)]=_0x446ffa:(_0x446ffa++,_0x1fdc34[_0x52b2b7][_0x175c81(0x251)]=_0x446ffa,_0x446ffa++);for(let _0x552bb9=_0x59138b;_0x552bb9<_0x4e1cfb;_0x552bb9++)0x0==_0x1fdc34[_0x552bb9][_0x175c81(0x26b)]&&(_0x1fdc34[_0x552bb9][_0x175c81(0x251)]=_0x446ffa);_0x446ffa=0x0;for(let _0x153825=_0x4e1cfb-0x1;_0x153825>=_0x33a013;_0x153825--)0x0==_0x1fdc34[_0x153825][_0x175c81(0x2be)]?_0x1fdc34[_0x153825][_0x175c81(0x251)]=_0x446ffa:(_0x446ffa--,_0x1fdc34[_0x153825][_0x175c81(0x251)]=_0x446ffa,_0x446ffa--);}}[_0x324df0(0x23f)](_0x38db2a){const _0x535cd2=_0x324df0,_0x5a01ae=new Map(),_0x48adc9=this[_0x535cd2(0x245)][_0x535cd2(0x271)][_0x535cd2(0x1ed)];for(let _0x11371d=0x1;_0x11371d<_0x38db2a[_0x535cd2(0x2d1)];_0x11371d++){let _0x21b6a7,_0x26f7ca,_0x4baea0;const _0x2fabf4=_0x38db2a[_0x11371d],_0x353ea2=_0x38db2a[_0x11371d-0x1];if(_0x535cd2(0x29e)==_0x2fabf4[_0x535cd2(0x2cc)])continue;if(_0x2fabf4[_0x535cd2(0x2cc)]!=_0x353ea2[_0x535cd2(0x2cc)])continue;if(!_0x48adc9[_0x535cd2(0x2c5)](_0x353ea2[_0x535cd2(0x223)])||_0x48adc9[_0x535cd2(0x22f)](_0x353ea2[_0x535cd2(0x223)]))continue;if(!_0x48adc9[_0x535cd2(0x2c5)](_0x2fabf4[_0x535cd2(0x223)])||_0x48adc9[_0x535cd2(0x22f)](_0x2fabf4[_0x535cd2(0x223)]))continue;if((_0x38db2a[_0x11371d][_0x535cd2(0x29f)]||_0x38db2a[_0x11371d][_0x535cd2(0x256)])&&_0x38db2a[_0x11371d-0x1][_0x535cd2(0x22b)])_0x21b6a7=_0x38db2a[_0x11371d],_0x26f7ca=_0x38db2a[_0x11371d-0x1],_0x4baea0=_0x11371d-0x1;else{if(!_0x38db2a[_0x11371d][_0x535cd2(0x22b)]||!_0x38db2a[_0x11371d-0x1][_0x535cd2(0x29f)]&&!_0x38db2a[_0x11371d-0x1][_0x535cd2(0x256)])continue;_0x21b6a7=_0x38db2a[_0x11371d-0x1],_0x26f7ca=_0x38db2a[_0x11371d],_0x4baea0=_0x11371d;}const _0x462a09=_0x21b6a7[_0x535cd2(0x251)]==_0x26f7ca[_0x535cd2(0x251)],_0x11da13=Math[_0x535cd2(0x1ba)](_0x21b6a7[_0x535cd2(0x251)])<Math[_0x535cd2(0x1ba)](_0x26f7ca[_0x535cd2(0x251)])&&0x0==_0x26f7ca[_0x535cd2(0x2be)];(_0x462a09||_0x11da13)&&(_0x5a01ae[_0x535cd2(0x290)](_0x26f7ca['id'],_0x21b6a7['id']),_0x38db2a[_0x535cd2(0x2b6)](_0x4baea0,0x1),_0x11371d--,_0x21b6a7[_0x535cd2(0x29f)]=!0x1);}for(let _0x20b1b2=0x0;_0x20b1b2<_0x38db2a[_0x535cd2(0x2d1)];_0x20b1b2++)_0x5a01ae[_0x535cd2(0x1c2)](_0x38db2a[_0x20b1b2][_0x535cd2(0x2b9)])&&(_0x38db2a[_0x20b1b2][_0x535cd2(0x2b9)]=_0x5a01ae[_0x535cd2(0x1b3)](_0x38db2a[_0x20b1b2][_0x535cd2(0x2b9)]));}[_0x324df0(0x2de)](_0x18f55e){const _0x239bfa=_0x324df0,_0x13777c=new Set(_0x18f55e[_0x239bfa(0x284)](_0x2fa8aa=>_0x2fa8aa['id']));for(let _0x1e4559=0x0;_0x1e4559<_0x18f55e[_0x239bfa(0x2d1)];_0x1e4559++)_0x13777c[_0x239bfa(0x1c2)](_0x18f55e[_0x1e4559][_0x239bfa(0x2b9)])||0x0==_0x18f55e[_0x1e4559][_0x239bfa(0x2be)]||(_0x18f55e[_0x1e4559][_0x239bfa(0x29b)]=!0x0);return _0x18f55e[_0x239bfa(0x29d)](_0x5cb0d1=>!_0x5cb0d1[_0x239bfa(0x29b)]);}[_0x324df0(0x2ce)](_0x8f1d1){const _0x1bedba=_0x324df0,_0x196911=new Set();for(let _0x4bfda6=0x0;_0x4bfda6<_0x8f1d1[_0x1bedba(0x2d1)];_0x4bfda6++){if(_0x196911[_0x1bedba(0x1c2)](_0x8f1d1[_0x4bfda6]['id'])&&_0x8f1d1[_0x4bfda6][_0x1bedba(0x22b)]&&(_0x8f1d1[_0x4bfda6][_0x1bedba(0x29b)]=!0x0),_0x8f1d1[_0x4bfda6][_0x1bedba(0x29b)])continue;if(0x0==_0x8f1d1[_0x4bfda6][_0x1bedba(0x2be)])continue;if(_0x1bedba(0x2bd)!=_0x8f1d1[_0x4bfda6][_0x1bedba(0x2cc)])continue;if(null==_0x8f1d1[_0x4bfda6][_0x1bedba(0x2b9)])continue;let _0x282819=_0x4bfda6+0x1,_0x24d6d5=0x0;for(;_0x8f1d1[_0x282819]['id']!=_0x8f1d1[_0x4bfda6][_0x1bedba(0x2b9)];)_0x1bedba(0x2bd)==_0x8f1d1[_0x282819][_0x1bedba(0x2cc)]?_0x24d6d5++:_0x1bedba(0x27a)==_0x8f1d1[_0x282819][_0x1bedba(0x2cc)]&&_0x24d6d5--,_0x282819++;if(0x0!=_0x24d6d5){if(_0x8f1d1[_0x4bfda6][_0x1bedba(0x22b)])_0x8f1d1[_0x4bfda6][_0x1bedba(0x29b)]=!0x0;else{for(;_0x282819!=_0x4bfda6;)_0x8f1d1[_0x282819][_0x1bedba(0x22b)]&&0x0!=_0x8f1d1[_0x282819][_0x1bedba(0x2be)]&&(_0x8f1d1[_0x282819][_0x1bedba(0x29b)]=!0x0,_0x196911[_0x1bedba(0x2a8)](_0x8f1d1[_0x282819][_0x1bedba(0x2b9)])),_0x282819--;}}}return _0x8f1d1[_0x1bedba(0x29d)](_0xeb5131=>!_0xeb5131[_0x1bedba(0x29b)]);}[_0x324df0(0x296)](_0x119bfb){const _0x50fa1c=_0x324df0,_0x3d27b9=this[_0x50fa1c(0x245)][_0x50fa1c(0x271)][_0x50fa1c(0x1ed)];for(let _0x33b9b5=0x0;_0x33b9b5<_0x119bfb[_0x50fa1c(0x2d1)];_0x33b9b5++){if(!(_0x119bfb[_0x33b9b5][_0x50fa1c(0x29f)]||_0x119bfb[_0x33b9b5][_0x50fa1c(0x256)]||_0x119bfb[_0x33b9b5][_0x50fa1c(0x22b)]||_0x119bfb[_0x33b9b5][_0x50fa1c(0x1ff)]))continue;if(0x0==_0x119bfb[_0x33b9b5][_0x50fa1c(0x2be)])continue;const _0x21ff10=_0x119bfb[_0x33b9b5][_0x50fa1c(0x223)];_0x3d27b9[_0x50fa1c(0x2c5)](_0x21ff10)||_0x3d27b9[_0x50fa1c(0x22f)](_0x21ff10)||(_0x119bfb[_0x33b9b5][_0x50fa1c(0x29f)]&&delete _0x119bfb[_0x33b9b5][_0x50fa1c(0x29f)],_0x119bfb[_0x33b9b5][_0x50fa1c(0x256)]&&delete _0x119bfb[_0x33b9b5][_0x50fa1c(0x256)],_0x119bfb[_0x33b9b5][_0x50fa1c(0x1ff)]&&delete _0x119bfb[_0x33b9b5][_0x50fa1c(0x1ff)],_0x119bfb[_0x33b9b5][_0x50fa1c(0x22b)]&&(_0x119bfb[_0x33b9b5][_0x50fa1c(0x29b)]=!0x0));}return _0x119bfb[_0x50fa1c(0x29d)](_0x3b65b4=>!_0x3b65b4[_0x50fa1c(0x29b)]);}[_0x324df0(0x2a6)](_0x56c81d,_0x2fd6b8,_0x37cebe){const _0x4c9d1a=_0x324df0,_0x2884d7=new _0x3d2bdf(),_0x34daf0=[],_0x3b0a51=new Map(),_0x164e11=this[_0x4c9d1a(0x245)][_0x4c9d1a(0x271)],_0xa5936d=_0x164e11[_0x4c9d1a(0x1ed)],_0x47822f=[_0x2884d7],_0x5d1726={},_0x27c301={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3afbaa=null;const _0x3d6272=[0x0];for(let _0x96652b=0x0;_0x96652b<_0x56c81d[_0x4c9d1a(0x2d1)];_0x96652b++)if(_0x4c9d1a(0x2bd)===_0x56c81d[_0x96652b][_0x4c9d1a(0x2cc)]){_0x56c81d[_0x96652b][_0x4c9d1a(0x1c5)]=_0x164e11[_0x4c9d1a(0x1c3)](_0x2884d7,_0x3d6272);const _0x32e8b3=new _0x176b41(_0x56c81d[_0x96652b][_0x4c9d1a(0x223)][_0x4c9d1a(0x244)],_0x56c81d[_0x96652b][_0x4c9d1a(0x223)][_0x4c9d1a(0x260)]());_0x47822f[0x0][_0x4c9d1a(0x1e0)](_0x32e8b3),_0x3d6272[_0x4c9d1a(0x2da)](0x0),_0x47822f[_0x4c9d1a(0x1f5)](_0x32e8b3),_0x56c81d[_0x96652b][_0x4c9d1a(0x2e1)]=_0x164e11[_0x4c9d1a(0x1c3)](_0x2884d7,_0x3d6272);}else _0x4c9d1a(0x27a)===_0x56c81d[_0x96652b][_0x4c9d1a(0x2cc)]?(_0x47822f[_0x4c9d1a(0x28b)](),_0x56c81d[_0x96652b][_0x4c9d1a(0x1c5)]=_0x164e11[_0x4c9d1a(0x1c3)](_0x2884d7,_0x3d6272),_0x3d6272[_0x4c9d1a(0x2d8)](),_0x3d6272[_0x3d6272[_0x4c9d1a(0x2d1)]-0x1]++,_0x56c81d[_0x96652b][_0x4c9d1a(0x2e1)]=_0x164e11[_0x4c9d1a(0x1c3)](_0x2884d7,_0x3d6272)):(_0x56c81d[_0x96652b][_0x4c9d1a(0x1c5)]=_0x164e11[_0x4c9d1a(0x1c3)](_0x2884d7,_0x3d6272),_0x3afbaa?_0x3afbaa[_0x4c9d1a(0x1f0)]+=_0x56c81d[_0x96652b][_0x4c9d1a(0x223)][_0x4c9d1a(0x222)]:_0x3afbaa=new _0x2e793b(_0x56c81d[_0x96652b][_0x4c9d1a(0x223)][_0x4c9d1a(0x222)],_0x56c81d[_0x96652b][_0x4c9d1a(0x223)][_0x4c9d1a(0x260)]()),_0x56c81d[_0x96652b+0x1]&&_0x4c9d1a(0x29e)===_0x56c81d[_0x96652b+0x1][_0x4c9d1a(0x2cc)]&&_0x4ae011(_0x3afbaa,_0x56c81d[_0x96652b+0x1][_0x4c9d1a(0x223)])||(_0x47822f[0x0][_0x4c9d1a(0x1e0)](_0x3afbaa),_0x3afbaa=null),_0x3d6272[_0x3d6272[_0x4c9d1a(0x2d1)]-0x1]+=_0x56c81d[_0x96652b][_0x4c9d1a(0x223)][_0x4c9d1a(0x2b5)],_0x56c81d[_0x96652b][_0x4c9d1a(0x2e1)]=_0x164e11[_0x4c9d1a(0x1c3)](_0x2884d7,_0x3d6272));for(let _0x4c92bd=0x0;_0x4c92bd<_0x56c81d[_0x4c9d1a(0x2d1)];_0x4c92bd++){const _0x4c855c=_0x56c81d[_0x4c92bd][_0x4c9d1a(0x1c5)],_0x342496=_0x56c81d[_0x4c92bd][_0x4c9d1a(0x2e1)];for(const _0x158fa4 of _0x56c81d[_0x4c92bd][_0x4c9d1a(0x24a)])_0x3b0a51[_0x4c9d1a(0x290)](_0x158fa4,{'start':_0x4c855c,'end':null});_0x1d429b(_0x4c9d1a(0x1ff),_0x4c92bd,_0x4c855c,_0x342496),_0x1d429b(_0x4c9d1a(0x256),_0x4c92bd,_0x4c855c,_0x342496),_0x1d429b(_0x4c9d1a(0x22b),_0x4c92bd,_0x4c855c,_0x342496),_0x1d429b(_0x4c9d1a(0x29f),_0x4c92bd,_0x4c855c,_0x342496);for(const _0x4a82e6 of _0x56c81d[_0x4c92bd][_0x4c9d1a(0x202)]){_0x3b0a51[_0x4c9d1a(0x1b3)](_0x4a82e6)[_0x4c9d1a(0x2bb)]=_0x342496;}}for(const [_0x3a26ed,_0x3272fe]of _0x3b0a51){const _0x38c117=this[_0x4c9d1a(0x245)][_0x4c9d1a(0x271)][_0x4c9d1a(0x2a7)](_0x3272fe[_0x4c9d1a(0x1cf)],_0x3272fe[_0x4c9d1a(0x2bb)]);_0x2884d7[_0x4c9d1a(0x25b)][_0x4c9d1a(0x290)](_0x3a26ed,_0x38c117);}return _0x34daf0[_0x4c9d1a(0x23a)]((_0x2366d7,_0x5575b9)=>{const _0xcc1a3d=_0x4c9d1a,_0x5d435f=_0x2884d7[_0xcc1a3d(0x25b)][_0xcc1a3d(0x1b3)](_0xcc1a3d(0x2cf)+_0x2366d7['id']),_0x114be9=_0x2884d7[_0xcc1a3d(0x25b)][_0xcc1a3d(0x1b3)](_0xcc1a3d(0x2cf)+_0x5575b9['id']);return _0x5d435f[_0xcc1a3d(0x1cf)][_0xcc1a3d(0x1a8)](_0x114be9[_0xcc1a3d(0x1cf)])?-0x1:_0x5d435f[_0xcc1a3d(0x1cf)][_0xcc1a3d(0x2f5)](_0x114be9[_0xcc1a3d(0x1cf)])?0x1:_0x5d435f[_0xcc1a3d(0x2bb)][_0xcc1a3d(0x1a8)](_0x114be9[_0xcc1a3d(0x2bb)])?-0x1:_0x5d435f[_0xcc1a3d(0x2bb)][_0xcc1a3d(0x2f5)](_0x114be9[_0xcc1a3d(0x2bb)])?0x1:_0xcc1a3d(0x2a8)===_0x2366d7[_0xcc1a3d(0x2cc)]?-0x1:0x1;}),{'root':_0x2884d7,'changes':_0x34daf0};function _0x1d429b(_0x435bdd,_0x5e77a0,_0xf40a1e,_0x143bf5){const _0x1d6521=_0x4c9d1a,_0x241e80=!!_0x56c81d[_0x5e77a0][_0x435bdd],_0x48d91c=_0x241e80?_0x56c81d[_0x5e77a0][_0x435bdd][_0x1d6521(0x1b5)]:null,_0xae0f6d=_0x5e77a0===_0x56c81d[_0x1d6521(0x2d1)]-0x1,_0x3f23f7=_0x27c301[_0x435bdd][0x0],_0x523bdb=_0xa5936d[_0x1d6521(0x239)](_0x56c81d[_0x5e77a0][_0x1d6521(0x223)]);!_0x5d1726[_0x435bdd]&&_0x241e80?_0x5d1726[_0x435bdd]={'start':_0xf40a1e,'tapeItem':_0x56c81d[_0x5e77a0],'userId':_0x48d91c,'type':_0x435bdd}:_0x5d1726[_0x435bdd]&&!_0x241e80?(_0x5d1726[_0x435bdd][_0x1d6521(0x2bb)]=_0xf40a1e,_0x15d435(_0x5d1726[_0x435bdd]),_0x5d1726[_0x435bdd]=null):_0x5d1726[_0x435bdd]&&_0x241e80&&_0x5d1726[_0x435bdd][_0x1d6521(0x1b5)]!==_0x48d91c&&(_0x5d1726[_0x435bdd][_0x1d6521(0x2bb)]=_0xf40a1e,_0x3f23f7&&_0x3f23f7[_0x1d6521(0x1b5)]===_0x5d1726[_0x435bdd][_0x1d6521(0x1b5)]||_0x15d435(_0x5d1726[_0x435bdd]),_0x5d1726[_0x435bdd]={'start':_0xf40a1e,'tapeItem':_0x56c81d[_0x5e77a0],'userId':_0x48d91c,'type':_0x435bdd}),_0x5d1726[_0x435bdd]&&_0x523bdb&&(_0x1d6521(0x2bd)!==_0x56c81d[_0x5e77a0][_0x1d6521(0x2cc)]||_0x3f23f7&&_0x3f23f7[_0x1d6521(0x1b5)]===_0x48d91c||_0x27c301[_0x435bdd][_0x1d6521(0x1f5)]({'userId':_0x48d91c,'object':_0x56c81d[_0x5e77a0][_0x1d6521(0x223)],'change':_0x5d1726[_0x435bdd]}),_0x1d6521(0x27a)===_0x56c81d[_0x5e77a0][_0x1d6521(0x2cc)]&&_0x3f23f7&&_0x3f23f7[_0x1d6521(0x2db)]===_0x56c81d[_0x5e77a0][_0x1d6521(0x223)]&&(_0x27c301[_0x435bdd][_0x1d6521(0x28b)](),_0x5d1726[_0x435bdd]=_0x3f23f7[_0x1d6521(0x1ac)])),_0x5d1726[_0x435bdd]&&_0xae0f6d&&(_0x5d1726[_0x435bdd][_0x1d6521(0x2bb)]=_0x143bf5,_0x15d435(_0x5d1726[_0x435bdd]),_0x5d1726[_0x435bdd]=null);}function _0x15d435({start:_0x2b1c4b,end:_0x63311d,tapeItem:_0x1c3aeb,userId:_0x180112,type:_0x1cc83c}){const _0x5c6413=_0x4c9d1a,_0x3974eb=_0x1c3aeb[_0x5c6413(0x223)],_0x17dffe=_0x164e11[_0x5c6413(0x1ed)][_0x5c6413(0x2c5)](_0x3974eb)&&!_0x164e11[_0x5c6413(0x1ed)][_0x5c6413(0x22f)](_0x3974eb),_0x5653d2=_0x2b1c4b[_0x5c6413(0x20d)]==_0x63311d[_0x5c6413(0x28c)]&&_0x63311d[_0x5c6413(0x1ae)];if(_0x17dffe&&_0x5653d2)return;const _0x5cff85=_0x164e11[_0x5c6413(0x2a7)](_0x2b1c4b,_0x63311d),_0x146e30=_0x2fd6b8[_0x5c6413(0x1b3)](_0x180112),_0x49a4d9=new _0x183dbc({'author':_0x146e30,'type':_0x5c6413(0x29f)==_0x1cc83c||_0x5c6413(0x256)==_0x1cc83c?_0x5c6413(0x2a8):_0x5c6413(0x20f),'data':{'isSuggestion':_0x5c6413(0x256)==_0x1cc83c||_0x5c6413(0x1ff)==_0x1cc83c},'createdAt':new Date(),'rootName':_0x37cebe});_0x34daf0[_0x5c6413(0x2da)](_0x49a4d9),_0x2884d7[_0x5c6413(0x25b)][_0x5c6413(0x290)](_0x5c6413(0x2cf)+_0x49a4d9['id'],_0x5cff85);}function _0x4ae011(_0x4e6d95,_0x305e06){const _0x2ce2f3=_0x4c9d1a,_0x4d453c=_0x4e6d95[_0x2ce2f3(0x260)](),_0x3b3e57=_0x305e06[_0x2ce2f3(0x260)]();for(const _0x3cff90 of _0x4d453c){if(_0x3cff90[0x1]!==_0x305e06[_0x2ce2f3(0x23e)](_0x3cff90[0x0]))return!0x1;_0x3b3e57[_0x2ce2f3(0x1e8)]();}return _0x3b3e57[_0x2ce2f3(0x1e8)]()[_0x2ce2f3(0x253)];}}[_0x324df0(0x1ce)](){const _0x569d58=_0x324df0;this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x219))[_0x569d58(0x1b1)]({'view':_0x569d58(0x1bf)}),this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x1e3))[_0x569d58(0x289)]({'model':_0x569d58(0x1bf),'view':_0x3350d3=>{const _0xe00736=_0x569d58,_0xe1759a=_0x3350d3[_0xe00736(0x2b2)][_0xe00736(0x1f3)](':')[0x1],_0x1604a9=this[_0xe00736(0x27f)](_0xe1759a);if(!_0x1604a9)return null;const _0x1ed8e7=_0xe00736(0x2a8)==_0x1604a9[_0xe00736(0x2cc)]?_0xe00736(0x269):_0xe00736(0x2ec),_0x38afdf=[_0xe00736(0x27e),_0xe00736(0x2ed)+_0x1ed8e7];return _0x1604a9[_0xe00736(0x222)][_0xe00736(0x2df)]&&_0x38afdf[_0xe00736(0x2da)](_0xe00736(0x2ed)+_0x1ed8e7+_0xe00736(0x1dd)),this[_0xe00736(0x298)]==_0x1604a9&&_0x38afdf[_0xe00736(0x2da)](_0xe00736(0x1c1)),{'classes':_0x38afdf,'attributes':{'data-change-id':_0xe1759a}};}}),this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x219))[_0x569d58(0x2a8)](_0x41615e=>{const _0x3182c7=_0x569d58;_0x41615e['on'](_0x3182c7(0x1c0),(_0x181c4e,_0x9ea21,_0x3edf6d)=>{const _0xae8ae9=_0x3182c7,_0x233717=_0x9ea21[_0xae8ae9(0x1d3)][_0xae8ae9(0x2bc)](0x0);if(!_0x233717||!_0x233717['is'](_0xae8ae9(0x2a0),_0xae8ae9(0x2f9)))return;if(!_0x3edf6d[_0xae8ae9(0x2ee)][_0xae8ae9(0x1fb)](_0x233717,{'attributes':[_0xae8ae9(0x2b8),_0xae8ae9(0x2ab)]}))return;const _0x5af417=_0x9ea21[_0xae8ae9(0x1fa)][_0xae8ae9(0x1cf)][_0xae8ae9(0x20d)];_0x3edf6d[_0xae8ae9(0x267)][_0xae8ae9(0x2bf)](_0xae8ae9(0x2b8),_0x233717[_0xae8ae9(0x23e)](_0xae8ae9(0x2b8)),_0x5af417),_0x3edf6d[_0xae8ae9(0x267)][_0xae8ae9(0x2bf)](_0xae8ae9(0x2ab),_0x233717[_0xae8ae9(0x23e)](_0xae8ae9(0x2ab)),_0x5af417);},{'priority':_0x3182c7(0x2f2)});}),this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x219))[_0x569d58(0x2a8)](_0x114268=>{const _0xbd2a7=_0x569d58;_0x114268['on'](_0xbd2a7(0x2a0),(_0x2da558,_0x1caf87,_0x1e603b)=>{const _0x1f5176=_0xbd2a7;if(!_0x1e603b[_0x1f5176(0x2ee)][_0x1f5176(0x1fb)](_0x1caf87[_0x1f5176(0x1d3)],{'attributes':[_0x1f5176(0x2b8),_0x1f5176(0x2ab)]}))return;if(_0x1caf87[_0x1f5176(0x1fa)][_0x1f5176(0x1f7)])return;const _0x28907e=_0x1caf87[_0x1f5176(0x1fa)][_0x1f5176(0x1cf)][_0x1f5176(0x20d)];_0x28907e[_0x1f5176(0x1bc)](_0x1f5176(0x2b8))||_0x28907e[_0x1f5176(0x1bc)](_0x1f5176(0x26e))||(_0x1e603b[_0x1f5176(0x267)][_0x1f5176(0x2bf)](_0x1f5176(0x2b8),_0x1caf87[_0x1f5176(0x1d3)][_0x1f5176(0x23e)](_0x1f5176(0x2b8)),_0x28907e),_0x1e603b[_0x1f5176(0x267)][_0x1f5176(0x2bf)](_0x1f5176(0x2ab),_0x1caf87[_0x1f5176(0x1d3)][_0x1f5176(0x23e)](_0x1f5176(0x2ab)),_0x28907e));},{'priority':_0xbd2a7(0x2f2)});}),this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x219))[_0x569d58(0x25f)]({'view':{'name':_0x569d58(0x248),'attributes':{'vid':!0x0}},'model':{'key':_0x569d58(0x26e),'value':_0x5d83ad=>_0x5d83ad[_0x569d58(0x23e)](_0x569d58(0x26e))}}),this[_0x569d58(0x245)][_0x569d58(0x271)][_0x569d58(0x1ed)]['on'](_0x569d58(0x1aa),(_0x150d7c,[,_0x552c7f])=>{const _0x2b3a7b=_0x569d58;[_0x2b3a7b(0x2b8),_0x2b3a7b(0x2ab),_0x2b3a7b(0x26e)][_0x2b3a7b(0x24c)](_0x552c7f)&&(_0x150d7c[_0x2b3a7b(0x230)]=!0x0,_0x150d7c[_0x2b3a7b(0x1be)]());},{'priority':_0x569d58(0x1f2)}),this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x2e0))[_0x569d58(0x2a8)](_0x204b5c=>{const _0x1d3a1a=_0x569d58;_0x204b5c['on'](_0x1d3a1a(0x2f1),(_0x33eb72,_0x32ecc1,_0x5e8257)=>{const _0x3420a1=_0x1d3a1a;if('\x20'!=_0x32ecc1[_0x3420a1(0x223)][_0x3420a1(0x222)]||_0x32ecc1[_0x3420a1(0x223)][_0x3420a1(0x28c)][_0x3420a1(0x1e5)]>0x1)return;if(!_0x5e8257[_0x3420a1(0x2ee)][_0x3420a1(0x1fb)](_0x32ecc1[_0x3420a1(0x223)],_0x33eb72[_0x3420a1(0x244)]))return;const _0x28a6e5=_0x5e8257[_0x3420a1(0x267)],_0x1d2b9c=_0x5e8257[_0x3420a1(0x20e)][_0x3420a1(0x214)](_0x32ecc1[_0x3420a1(0x25e)]);_0x28a6e5[_0x3420a1(0x1f6)](_0x1d2b9c,_0x28a6e5[_0x3420a1(0x2d5)](_0x3420a1(0x248)));});}),this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x2e0))[_0x569d58(0x2d6)]({'model':_0x569d58(0x1bf)}),this[_0x569d58(0x245)][_0x569d58(0x1d4)][_0x569d58(0x211)]['on'](_0x569d58(0x221),function(_0x56b9da){const _0x129419=_0x569d58,_0x23288b=_0x56b9da[_0x129419(0x263)][_0x129419(0x1b3)](_0x129419(0x23d));return(_0x31e30a,_0x570690,_0x22a530)=>{const _0x41835e=_0x129419,_0xf43339=_0x570690[_0x41835e(0x2b2)][_0x41835e(0x1f3)](':')[0x1],_0x28c8cb=_0x23288b[_0x41835e(0x27f)](_0xf43339);if(!_0x28c8cb)return null;const _0x58cdce=_0x41835e(0x2a8)==_0x28c8cb[_0x41835e(0x2cc)]?_0x41835e(0x1f3):_0x41835e(0x2dc);if(!_0x22a530[_0x41835e(0x2ee)][_0x41835e(0x28d)](_0x570690[_0x41835e(0x29a)],_0x31e30a[_0x41835e(0x244)]))return;const _0x38101e=_0x570690[_0x41835e(0x29a)][_0x41835e(0x212)](),_0x2294ba=_0x570690[_0x41835e(0x29a)][_0x41835e(0x1cf)],_0x31a154=_0x56b9da[_0x41835e(0x271)][_0x41835e(0x1ed)];let _0x232a43=null,_0x44618c=null,_0x1b1aec=!0x1,_0x2aa7fb=!0x1;for(const _0x19ac7f of _0x38101e){const _0x11ae08=_0x19ac7f[_0x41835e(0x223)];_0x1b1aec=_0x1b1aec||_0x31a154[_0x41835e(0x233)](_0x11ae08);const _0x2e9d72=_0x22a530[_0x41835e(0x20e)][_0x41835e(0x299)](_0x11ae08);if(_0x2e9d72&&_0x2e9d72[_0x41835e(0x2d2)](_0x41835e(0x2f8)))return;_0x41835e(0x27a)==_0x19ac7f[_0x41835e(0x2cc)]&&(_0x31a154[_0x41835e(0x2c5)](_0x11ae08)&&!_0x31a154[_0x41835e(0x22f)](_0x11ae08)&&(_0x11ae08[_0x41835e(0x26a)]||_0x2294ba[_0x41835e(0x1ad)]?_0x232a43&&_0x232a43[_0x41835e(0x28c)]==_0x11ae08||(_0x232a43=_0x11ae08,_0x408cd8(_0x19ac7f[_0x41835e(0x1c5)]),_0x2aa7fb=!0x0):_0x44618c=_0x44618c||_0x19ac7f[_0x41835e(0x1c5)]));}function _0x408cd8(_0x3f36b7){const _0x39dd42=_0x41835e,_0x55def1=_0x22a530[_0x39dd42(0x267)][_0x39dd42(0x257)](_0x39dd42(0x248),{'class':_0x39dd42(0x2ed)+_0x58cdce}),_0x28c4dc=_0x22a530[_0x39dd42(0x20e)][_0x39dd42(0x272)](_0x3f36b7);_0x28c8cb[_0x39dd42(0x222)][_0x39dd42(0x2df)]&&_0x22a530[_0x39dd42(0x267)][_0x39dd42(0x2d9)](_0x39dd42(0x2ed)+_0x58cdce+_0x39dd42(0x1dd),_0x55def1),_0x23288b[_0x39dd42(0x298)]==_0x28c8cb&&_0x22a530[_0x39dd42(0x267)][_0x39dd42(0x2d9)](_0x39dd42(0x1c1),_0x55def1),_0x22a530[_0x39dd42(0x267)][_0x39dd42(0x26c)](_0x28c4dc,_0x55def1),_0x22a530[_0x39dd42(0x20e)][_0x39dd42(0x2c9)](_0x55def1,_0x570690[_0x39dd42(0x2b2)]);}_0x1b1aec||_0x2aa7fb||!_0x44618c||_0x408cd8(_0x44618c);};}(this[_0x569d58(0x245)]),{'priority':_0x569d58(0x2a5)}),this[_0x569d58(0x245)][_0x569d58(0x1d4)][_0x569d58(0x211)]['on'](_0x569d58(0x22d),(_0xe90df,_0x49bea5,_0x255168)=>{const _0xc9b7bd=_0x569d58,_0x3d13da=_0x255168[_0xc9b7bd(0x20e)][_0xc9b7bd(0x2ac)](_0x49bea5[_0xc9b7bd(0x2b2)]);if(_0x3d13da){for(const _0x59d8e9 of _0x3d13da)(_0x59d8e9[_0xc9b7bd(0x213)](_0xc9b7bd(0x1cd))||_0x59d8e9[_0xc9b7bd(0x213)](_0xc9b7bd(0x234)))&&(_0x255168[_0xc9b7bd(0x20e)][_0xc9b7bd(0x1f1)](_0x59d8e9,_0x49bea5[_0xc9b7bd(0x2b2)]),_0x255168[_0xc9b7bd(0x267)][_0xc9b7bd(0x20f)](_0x59d8e9));}},{'priority':_0x569d58(0x2a5)}),this[_0x569d58(0x245)][_0x569d58(0x1d4)][_0x569d58(0x211)]['on'](_0x569d58(0x221),(_0x27dba9,_0x1c357b,_0x4bf2be)=>{const _0x3c1067=_0x569d58,_0x217f3d=_0x1c357b[_0x3c1067(0x2b2)][_0x3c1067(0x1f3)](':')[0x1],_0x3bd810=this[_0x3c1067(0x27f)](_0x217f3d);if(!_0x3bd810)return null;const _0x5c3452=_0x3c1067(0x2a8)==_0x3bd810[_0x3c1067(0x2cc)]?_0x3c1067(0x1f3):_0x3c1067(0x2dc);if(_0x4bf2be[_0x3c1067(0x2ee)][_0x3c1067(0x28d)](_0x1c357b[_0x3c1067(0x29a)],_0x27dba9[_0x3c1067(0x244)]))for(const _0x3d1a0b of _0x1c357b[_0x3c1067(0x29a)][_0x3c1067(0x288)]()){if(!_0x3d1a0b['is'](_0x3c1067(0x2a0),_0x3c1067(0x249)))continue;const _0x5905e0=_0x4bf2be[_0x3c1067(0x267)][_0x3c1067(0x257)](_0x3c1067(0x248),{'class':_0x3c1067(0x2ed)+_0x5c3452}),_0x237dcb=_0x4bf2be[_0x3c1067(0x20e)][_0x3c1067(0x272)](this[_0x3c1067(0x245)][_0x3c1067(0x271)][_0x3c1067(0x2e8)](_0x3d1a0b));_0x3bd810[_0x3c1067(0x222)][_0x3c1067(0x2df)]&&_0x4bf2be[_0x3c1067(0x267)][_0x3c1067(0x2d9)](_0x3c1067(0x2ed)+_0x5c3452+_0x3c1067(0x1dd),_0x5905e0),this[_0x3c1067(0x298)]==_0x3bd810&&_0x4bf2be[_0x3c1067(0x267)][_0x3c1067(0x2d9)](_0x3c1067(0x1c1),_0x5905e0),_0x4bf2be[_0x3c1067(0x267)][_0x3c1067(0x26c)](_0x237dcb,_0x5905e0),_0x4bf2be[_0x3c1067(0x20e)][_0x3c1067(0x2c9)](_0x5905e0,_0x1c357b[_0x3c1067(0x2b2)]);}},{'priority':_0x569d58(0x2a5)}),this[_0x569d58(0x245)][_0x569d58(0x271)][_0x569d58(0x252)]['on'](_0x569d58(0x1ac),()=>{const _0x1af9cd=_0x569d58;this[_0x1af9cd(0x245)][_0x1af9cd(0x1d4)][_0x1af9cd(0x2ad)][_0x1af9cd(0x1ac)](_0xc85f6=>{const _0x3eba9d=_0x1af9cd;for(const _0x5c26d9 of this[_0x3eba9d(0x245)][_0x3eba9d(0x271)][_0x3eba9d(0x252)][_0x3eba9d(0x1f4)]()){const _0x12d4e5=this[_0x3eba9d(0x245)][_0x3eba9d(0x271)][_0x3eba9d(0x252)][_0x3eba9d(0x250)](_0x5c26d9),_0x540e3f=this[_0x3eba9d(0x245)][_0x3eba9d(0x1d4)][_0x3eba9d(0x2ad)][_0x3eba9d(0x252)][_0x3eba9d(0x250)](_0x5c26d9);if(_0x540e3f){const _0x19ef20=_0x12d4e5[_0x3eba9d(0x23e)](_0x3eba9d(0x1b7));if(_0xc85f6[_0x3eba9d(0x23b)](_0x3eba9d(0x1d5),_0x540e3f),_0xc85f6[_0x3eba9d(0x2f7)](_0x3eba9d(0x2d7),_0x540e3f),_0xc85f6[_0x3eba9d(0x2f7)](_0x3eba9d(0x2a3),_0x540e3f),_0xc85f6[_0x3eba9d(0x2f7)](_0x3eba9d(0x2fa),_0x540e3f),_0x19ef20){const _0x29fa15=this[_0x3eba9d(0x27f)](_0x19ef20);if(!_0x29fa15)return null;_0xc85f6[_0x3eba9d(0x2bf)](_0x3eba9d(0x1d5),_0x19ef20,_0x540e3f),_0xc85f6[_0x3eba9d(0x2d9)](_0x3eba9d(0x276)+_0x29fa15[_0x3eba9d(0x2cc)],_0x540e3f),this[_0x3eba9d(0x298)]==_0x29fa15&&_0xc85f6[_0x3eba9d(0x2d9)](_0x3eba9d(0x2fa),_0x540e3f);}}}});}),this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x219))[_0x569d58(0x1b1)]({'view':_0x569d58(0x215),'model':_0x30bbf1=>_0x569d58(0x2ea)+_0x30bbf1,'converterPriority':_0x569d58(0x1f2)}),this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x219))[_0x569d58(0x1b1)]({'view':_0x569d58(0x2e6),'model':_0x31073b=>_0x569d58(0x1b2)+_0x31073b,'converterPriority':_0x569d58(0x1f2)}),this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x2e0))[_0x569d58(0x2d6)]({'model':_0x569d58(0x1d9),'view':_0x4f8c18=>({'name':_0x569d58(0x2e5)+_0x4f8c18,'group':_0x569d58(0x1d9)}),'converterPriority':_0x569d58(0x1f2)}),this[_0x569d58(0x245)][_0x569d58(0x295)][_0x569d58(0x241)](_0x569d58(0x1e3))[_0x569d58(0x289)]({'model':_0x569d58(0x1d9),'view':_0xa1419f=>{const _0x2ed621=_0x569d58,_0x4f8c35=_0xa1419f[_0x2ed621(0x2b2)][_0x2ed621(0x1f3)](':')[0x1];return _0x2ed621(0x269)!=_0x4f8c35&&_0x2ed621(0x2ec)!=_0x4f8c35?null:{'classes':[_0x2ed621(0x1f8),_0x2ed621(0x210)+_0x4f8c35]};}}),this[_0x569d58(0x245)][_0x569d58(0x1d4)][_0x569d58(0x211)]['on'](_0x569d58(0x1e4),Z(this[_0x569d58(0x245)],_0x569d58(0x2dc)),{'priority':_0x569d58(0x2a5)}),this[_0x569d58(0x245)][_0x569d58(0x1d4)][_0x569d58(0x211)]['on'](_0x569d58(0x2cd),Z(this[_0x569d58(0x245)],_0x569d58(0x1f3)),{'priority':_0x569d58(0x2a5)}),this[_0x569d58(0x245)][_0x569d58(0x1d4)][_0x569d58(0x211)]['on'](_0x569d58(0x236),(_0x443d52,_0x3431c3,_0x176027)=>{const _0x2fcdb0=_0x569d58,_0xfc2a56=_0x176027[_0x2fcdb0(0x20e)][_0x2fcdb0(0x2ac)](_0x3431c3[_0x2fcdb0(0x2b2)]);if(_0xfc2a56){for(const _0x32138a of _0xfc2a56)_0x32138a['is'](_0x2fcdb0(0x1b4))&&(_0x176027[_0x2fcdb0(0x20e)][_0x2fcdb0(0x1f1)](_0x32138a,_0x3431c3[_0x2fcdb0(0x2b2)]),_0x176027[_0x2fcdb0(0x267)][_0x2fcdb0(0x20f)](_0x32138a));}},{'priority':_0x569d58(0x2a5)});}[_0x324df0(0x27f)](_0x1fbc67){const _0x23d0e0=_0x324df0;return this[_0x23d0e0(0x1bb)][_0x23d0e0(0x1b3)](_0x1fbc67);}[_0x324df0(0x1eb)](_0x3bc149){const _0x599f8d=_0x324df0;return this[_0x599f8d(0x22c)]&&this[_0x599f8d(0x22c)][_0x599f8d(0x2ba)](),this[_0x599f8d(0x22c)]=new _0x476677(this[_0x599f8d(0x245)][_0x599f8d(0x246)],_0x3bc149),this[_0x599f8d(0x22c)];}[_0x324df0(0x2d3)](){const _0x5a7c10=_0x324df0;this[_0x5a7c10(0x245)][_0x5a7c10(0x271)][_0x5a7c10(0x252)][_0x5a7c10(0x20a)][_0x5a7c10(0x255)](_0x5a7c10(0x1bf)),this['on'](_0x5a7c10(0x2c6),(_0x2b1859,_0x2d58f7,_0x2bcb69,_0x45762d)=>{const _0x17cd0b=_0x5a7c10;_0x45762d&&this[_0x17cd0b(0x204)][_0x17cd0b(0x20f)](_0x45762d),_0x2bcb69&&(this[_0x17cd0b(0x204)][_0x17cd0b(0x2a8)]({'view':_0x2bcb69,'stackId':_0x17cd0b(0x275),'position':{'target':()=>{const _0x27f65a=_0x17cd0b,_0x148e59=this[_0x27f65a(0x245)][_0x27f65a(0x1d4)],_0x4f7954=this[_0x27f65a(0x27f)](_0x2bcb69[_0x27f65a(0x1d8)]);let _0xabc266;if(_0x4f7954[_0x27f65a(0x222)][_0x27f65a(0x2c8)]){const _0x4dd5bb=_0x148e59[_0x27f65a(0x2ad)][_0x27f65a(0x2f0)](_0x4f7954[_0x27f65a(0x228)]);_0xabc266=Array[_0x27f65a(0x2b3)](_0x4dd5bb[_0x27f65a(0x2b4)]());}else{const _0x5b371f=this[_0x27f65a(0x245)][_0x27f65a(0x271)][_0x27f65a(0x25b)][_0x27f65a(0x1b3)](_0x27f65a(0x2cf)+_0x2bcb69[_0x27f65a(0x1d8)]);_0xabc266=Array[_0x27f65a(0x2b3)](_0x148e59[_0x27f65a(0x20e)][_0x27f65a(0x2ac)](_0x5b371f[_0x27f65a(0x244)]))[_0x27f65a(0x284)](_0x12d41d=>_0x148e59[_0x27f65a(0x2ad)][_0x27f65a(0x22a)][_0x27f65a(0x2b7)](_0x12d41d))[_0x27f65a(0x284)](_0x63f8d4=>Array[_0x27f65a(0x2b3)](_0x63f8d4[_0x27f65a(0x2b4)]()))[_0x27f65a(0x264)]();}if(!this[_0x27f65a(0x216)])return _0xabc266[0x0];return _0xabc266[_0x27f65a(0x1de)](_0x82146b=>_0x82146b[_0x27f65a(0x297)]-0x3<=this[_0x27f65a(0x216)]['y']&&_0x82146b[_0x27f65a(0x205)]+0x3>=this[_0x27f65a(0x216)]['y']&&_0x82146b[_0x27f65a(0x1b0)]-0x3<=this[_0x27f65a(0x216)]['x']&&_0x82146b[_0x27f65a(0x283)]+0x3>=this[_0x27f65a(0x216)]['x'])||_0xabc266[0x0];}}}),this[_0x17cd0b(0x204)][_0x17cd0b(0x2f3)](_0x17cd0b(0x275)));}),this['on'](_0x5a7c10(0x1e6),(_0x3627e4,_0x1ece8b,_0x47753f,_0x522b21)=>{const _0x12b1c7=_0x5a7c10;this[_0x12b1c7(0x1da)]=_0x47753f?this[_0x12b1c7(0x1eb)](_0x47753f):null,this[_0x12b1c7(0x245)][_0x12b1c7(0x271)][_0x12b1c7(0x1ac)](()=>{const _0x2c10bb=_0x12b1c7,_0x3686c7=this[_0x2c10bb(0x245)][_0x2c10bb(0x1d4)];_0x522b21&&(_0x522b21[_0x2c10bb(0x222)][_0x2c10bb(0x2c8)]?_0x3686c7[_0x2c10bb(0x2ad)][_0x2c10bb(0x1ac)](_0x4230d3=>{const _0x454980=_0x2c10bb;_0x4230d3[_0x454980(0x2f7)](_0x454980(0x2fa),_0x3686c7[_0x454980(0x2ad)][_0x454980(0x252)][_0x454980(0x250)](_0x522b21[_0x454980(0x228)]));}):_0x3686c7[_0x2c10bb(0x201)](_0x2c10bb(0x2cf)+_0x522b21['id'])),_0x47753f&&(_0x47753f[_0x2c10bb(0x222)][_0x2c10bb(0x2c8)]?_0x3686c7[_0x2c10bb(0x2ad)][_0x2c10bb(0x1ac)](_0xc704b8=>{const _0x2ea67d=_0x2c10bb;_0xc704b8[_0x2ea67d(0x2d9)](_0x2ea67d(0x2fa),_0x3686c7[_0x2ea67d(0x2ad)][_0x2ea67d(0x252)][_0x2ea67d(0x250)](_0x47753f[_0x2ea67d(0x228)]));}):_0x3686c7[_0x2c10bb(0x201)](_0x2c10bb(0x2cf)+_0x47753f['id']));});}),this[_0x5a7c10(0x22e)](this[_0x5a7c10(0x245)][_0x5a7c10(0x1d4)][_0x5a7c10(0x2ad)][_0x5a7c10(0x252)],_0x5a7c10(0x2eb),(_0x5ee658,_0xe79fc8)=>{const _0x31811d=_0x5a7c10;if(this[_0x31811d(0x298)])return;const _0x17fbeb=this[_0x31811d(0x2af)](_0xe79fc8[_0x31811d(0x268)]),_0x4d3b05=this[_0x31811d(0x1bb)][_0x31811d(0x1b3)](_0x17fbeb);_0x4d3b05?(this[_0x31811d(0x216)]={'x':_0xe79fc8[_0x31811d(0x1ef)]['x'],'y':_0xe79fc8[_0x31811d(0x1ef)]['y']},this[_0x31811d(0x1da)]=this[_0x31811d(0x1eb)](_0x4d3b05)):(this[_0x31811d(0x216)]=null,this[_0x31811d(0x1da)]=null);}),this[_0x5a7c10(0x22e)](this[_0x5a7c10(0x245)][_0x5a7c10(0x1d4)][_0x5a7c10(0x2ad)][_0x5a7c10(0x252)],_0x5a7c10(0x1d2),(_0x465688,_0x4fca7d)=>{const _0x354f97=_0x5a7c10,_0x28d624=this[_0x354f97(0x2af)](_0x4fca7d[_0x354f97(0x268)]),_0x9d1f21=this[_0x354f97(0x1bb)][_0x354f97(0x1b3)](_0x28d624);_0x9d1f21?(this[_0x354f97(0x216)]={'x':_0x4fca7d[_0x354f97(0x1ef)]['x'],'y':_0x4fca7d[_0x354f97(0x1ef)]['y']},_0x9d1f21===this[_0x354f97(0x298)]?this[_0x354f97(0x204)][_0x354f97(0x1a9)]():this[_0x354f97(0x298)]=_0x9d1f21):(this[_0x354f97(0x216)]=null,this[_0x354f97(0x298)]=null);});}[_0x324df0(0x2af)](_0x24a308){const _0x3e18f4=_0x324df0;do{const _0x14ac98=_0x24a308[_0x3e18f4(0x23e)](_0x3e18f4(0x1d5));if(_0x14ac98)return _0x14ac98;_0x24a308=_0x24a308[_0x3e18f4(0x28c)];}while(_0x24a308);return null;}[_0x324df0(0x1e7)](){const _0x3dc04a=_0x324df0;this[_0x3dc04a(0x245)][_0x3dc04a(0x271)][_0x3dc04a(0x1ac)](_0x53ee07=>{const _0xb3ead6=_0x3dc04a;for(const _0x4bbd4a of this[_0xb3ead6(0x245)][_0xb3ead6(0x271)][_0xb3ead6(0x25b)])_0x53ee07[_0xb3ead6(0x2e3)](_0x4bbd4a);});}}function Z(_0x4fc6f2,_0x5bc5e2){return(_0x25429f,_0x2328f5,_0x48c3b8)=>{const _0x4b4af3=_0x1d3d;if(!_0x48c3b8[_0x4b4af3(0x2ee)][_0x4b4af3(0x28d)](_0x2328f5[_0x4b4af3(0x29a)],_0x25429f[_0x4b4af3(0x244)]))return;const _0x3c54d6=_0x2328f5[_0x4b4af3(0x29a)][_0x4b4af3(0x212)](),_0x61668a=_0x2328f5[_0x4b4af3(0x29a)][_0x4b4af3(0x1cf)],_0x58841b=_0x4fc6f2[_0x4b4af3(0x271)][_0x4b4af3(0x1ed)];let _0x29b8b4=null,_0x1c380a=null,_0x43b2d2=!0x1,_0x24cc68=!0x1;for(const _0x2c692c of _0x3c54d6){const _0xc99fa5=_0x2c692c[_0x4b4af3(0x223)];_0x43b2d2=_0x43b2d2||_0x58841b[_0x4b4af3(0x233)](_0xc99fa5);const _0x355f1f=_0x48c3b8[_0x4b4af3(0x20e)][_0x4b4af3(0x299)](_0xc99fa5);if(_0x355f1f&&_0x355f1f[_0x4b4af3(0x2d2)](_0x4b4af3(0x2f8)))return;_0x4b4af3(0x27a)==_0x2c692c[_0x4b4af3(0x2cc)]&&(_0x58841b[_0x4b4af3(0x2c5)](_0xc99fa5)&&!_0x58841b[_0x4b4af3(0x22f)](_0xc99fa5)&&(_0xc99fa5[_0x4b4af3(0x26a)]||_0x61668a[_0x4b4af3(0x1ad)]?_0x29b8b4&&_0x29b8b4[_0x4b4af3(0x28c)]==_0xc99fa5||(_0x29b8b4=_0xc99fa5,_0x1a2679(_0x2c692c[_0x4b4af3(0x1c5)]),_0x24cc68=!0x0):_0x1c380a=_0x1c380a||_0x2c692c[_0x4b4af3(0x1c5)]));}function _0x1a2679(_0x5c1169){const _0x536ac7=_0x4b4af3,_0x2ba162=_0x48c3b8[_0x536ac7(0x20e)][_0x536ac7(0x272)](_0x5c1169),_0xaee967=_0x48c3b8[_0x536ac7(0x267)][_0x536ac7(0x257)](_0x536ac7(0x248),{'class':_0x536ac7(0x210)+_0x5bc5e2});_0x48c3b8[_0x536ac7(0x267)][_0x536ac7(0x26c)](_0x2ba162,_0xaee967),_0x48c3b8[_0x536ac7(0x20e)][_0x536ac7(0x2c9)](_0xaee967,_0x2328f5[_0x536ac7(0x2b2)]);}_0x43b2d2||_0x24cc68||!_0x1c380a||_0x1a2679(_0x1c380a);};}export class RestoreRevisionCommand extends _0x368fed{constructor(_0x337544){const _0x9178=_0x324df0;super(_0x337544);const _0x239672=_0x337544[_0x9178(0x263)][_0x9178(0x1b3)](d);this[_0x9178(0x21e)]=!0x1,this[_0x9178(0x22e)](_0x239672,_0x9178(0x28e),()=>this[_0x9178(0x200)]()),this[_0x9178(0x22e)](_0x239672,_0x9178(0x25d),()=>this[_0x9178(0x200)]());}[_0x324df0(0x293)](){const _0x34e4e5=_0x324df0,_0x3ba4ad=this[_0x34e4e5(0x245)],_0x26eca9=_0x3ba4ad[_0x34e4e5(0x263)][_0x34e4e5(0x1b3)](d),_0x5d0b55=_0x26eca9[_0x34e4e5(0x1bd)]?_0x26eca9[_0x34e4e5(0x229)][_0x34e4e5(0x1e1)]:null;_0x3ba4ad[_0x34e4e5(0x281)][_0x34e4e5(0x1b3)](_0x34e4e5(0x27d))[_0x34e4e5(0x2a4)](_0x5d0b55);}[_0x324df0(0x200)](){const _0x43429d=_0x324df0,{isReady:_0x3aeb04,isEnabled:_0x42196f,repository:_0x14c24f,diff:_0x1533b4}=this[_0x43429d(0x245)][_0x43429d(0x263)][_0x43429d(0x1b3)](d),_0x21de84=_0x1533b4&&_0x14c24f[_0x43429d(0x2b1)](_0x1533b4[_0x43429d(0x1e1)]);this[_0x43429d(0x232)]=_0x3aeb04&&_0x42196f&&Boolean(_0x21de84);}}export class ShowChangeCommand extends _0x368fed{constructor(_0x1af358,{direction:_0x17193c}){const _0x183452=_0x324df0;super(_0x1af358);const _0x3e1e84=_0x1af358[_0x183452(0x263)][_0x183452(0x1b3)](d);this[_0x183452(0x21e)]=!0x1,this[_0x183452(0x29c)]=_0x183452(0x242)===_0x17193c?0x1:-0x1,this[_0x183452(0x22e)](_0x3e1e84,_0x183452(0x28e),()=>this[_0x183452(0x200)]()),this[_0x183452(0x22e)](_0x3e1e84,_0x183452(0x25d),()=>this[_0x183452(0x200)]()),this[_0x183452(0x22e)](_0x3e1e84,_0x183452(0x1e6),()=>this[_0x183452(0x200)]());}[_0x324df0(0x293)](){const _0x34903b=_0x324df0,_0x593f98=this[_0x34903b(0x245)],_0x2dad32=_0x593f98[_0x34903b(0x263)][_0x34903b(0x1b3)](d),{isNavigationMode:_0x2b4c14,currentChangeNumber:_0x234e6c}=_0x2dad32;let _0x1c13b7;if(_0x2dad32[_0x34903b(0x298)]=_0x2b4c14?_0x2dad32[_0x34903b(0x229)][_0x34903b(0x28f)][_0x34903b(0x1b3)](_0x234e6c+this[_0x34903b(0x29c)]):_0x2dad32[_0x34903b(0x229)][_0x34903b(0x28f)][_0x34903b(0x1cc)],_0x2dad32[_0x34903b(0x298)][_0x34903b(0x222)][_0x34903b(0x2c8)])_0x1c13b7=_0x593f98[_0x34903b(0x1d4)][_0x34903b(0x2ad)][_0x34903b(0x2f0)](_0x2dad32[_0x34903b(0x298)][_0x34903b(0x228)]);else{const _0x24cf1f=_0x593f98[_0x34903b(0x271)][_0x34903b(0x25b)][_0x34903b(0x1b3)](_0x34903b(0x2cf)+_0x2dad32[_0x34903b(0x298)]['id']);_0x1c13b7=_0x375ec7(_0x593f98[_0x34903b(0x1d4)],_0x24cf1f);}_0x333ddd({'target':_0x1c13b7,'viewportOffset':0x28});}[_0x324df0(0x200)](){const _0xe07041=_0x324df0,{isNavigationMode:_0x334f32,currentChangeNumber:_0x383baa,numberOfChanges:_0x3c35a8,isReady:_0x8bbdd4,isEnabled:_0x5e7b4e}=this[_0xe07041(0x245)][_0xe07041(0x263)][_0xe07041(0x1b3)](d);this[_0xe07041(0x232)]=!!(_0x5e7b4e&&_0x8bbdd4&&_0x3c35a8)&&(!_0x334f32||(0x1===this[_0xe07041(0x29c)]?_0x383baa<_0x3c35a8-0x1:_0x383baa>0x0));}}function _0x33a6(){const _0x1893d4=['upcast','loadRevisionData','_setDistance','processor','_processTape','affectsData','4633911LRMurX','_joinTapes','addMarker:revision','data','item','getIndex','string','isAttached','toModel','rootName','diff','domConverter','isRemoved','_changeView','removeMarker:revision','listenTo','isLimit','return','getRevision','isEnabled','isContent','ck-suggestion-marker-merge','_getRevisionsRange','removeMarker:revision-suggestion','_markMarkers','_getDiff','isObject','sort','removeAttribute','_markInsertions','RevisionViewer','getAttribute','_fixObsoleteTags','roots','for','forward','attachChange','name','editor','locale','isInline','span','softBreak','markersStart','596gjeYHk','includes','restoreRevision','addRoot','_update','getRoot','level','document','done','10Zccdgc','observeMarkers','isAddSuggestion','createUIElement','children','init','_revisions','markers','endIndex','change:isEnabled','range','elementToAttribute','getAttributes','40eTBsEb','indexOf','plugins','flat','all','revision-start','writer','target','insertion','nextSibling','side','insert','compare','vid','attributesAfter','attributesBefore','model','toViewPosition','POSITIVE_INFINITY','_cleanUp','revisionHistoryLabel','ck-revision-history-root-','backward','isOfficialPlugin','1279098CDpjis','elementEnd','useFillerType','insertions','revisionHistory','ck-suggestion-marker','_getChangeFromId','showNextChange','config','startIndex','right','map','createRevision','_getViewObj','diffData','getItems','markerToHighlight','detachRoot','shift','parent','test','change:isReady','changes','set','enqueueChange','repository','execute','WidgetToolbarRepository','conversion','_removeUnsupportedChanges','top','activeChange','toViewElement','markerRange','isIncorrect','_step','filter','text','isAdded','element','marked','commands','ck-revision-history-root-remove','restoreRevisionCallback','high','_makeModelFromTape','createRange','add','addRevision','deletions','vid_end','markerNameToElements','view','then','_findChangeIdFromDomTarget','authors','getLaterVisibleRevision','markerName','from','getClientRects','offsetSize','splice','mapViewToDom','vid_start','pairId','destroy','end','getChild','elementStart','distance','setAttribute','_setChanges','pluginName','oldRevisionId','slice','964082rQYzLz','isBlock','change:activeView','_makeTape','isOnRoot','bindElementToMarker','10830358WzcfSb','toData','type','addMarker:revision-suggestion:insertion','_markMismatchedRemovedTags','revision:','clear','length','getCustomProperty','_initInteractions','parse','createAttributeElement','markerToData','ck-revision-history-root-add','pop','addClass','push','object','merge','delete','_removeMissingPairs','isSuggestion','dataDowncast','nextPosition','createRangeIn','removeMarker','default','suggestion:','suggestion','_markSuggestions','createPositionBefore','getRevisionRootsAttributes','revision-comment:','mouseover','deletion','ck-suggestion-marker-','consumable','ck-editor__editable__overlay','getDomRoot','attribute:vid','low','showStack','RevisionsRepository','isAfter','index','removeClass','addHighlight','code','ck-revision-history-root--active','isBefore','updatePosition','checkAttribute','change:numberOfChanges','change','isAtEnd','isAtStart','numberOfChanges','left','dataToMarker','revision-suggestion:','get','uiElement','userId','requires','revisionHistoryAttachChange','revision-end','_refreshStartEndIndex','abs','_changeIdToChange','hasAttribute','isReady','stop','revision','element:pre','ck-suggestion-marker--active','has','createPositionFromPath','_removeRevisionMarkers','previousPosition','attributes','adapter','startsWith','values','data-revision-','3027hCNGcE','first','ck-suggestion-marker-split','_setConversion','start','keys','isEqual','mousedown','viewItem','editing','data-change-id','resolve','785764LVrPYP','changeId','revision-suggestion','activeView','_threeWayMerge','concat','-new','find','isPremiumPlugin','_appendChild','newRevisionId','isNavigationMode','editingDowncast','addMarker:revision-suggestion:deletion','maxOffset','change:activeChange','_cleanMarkers','next','_sortAndFilterDiffChanges','catch','_getViewForChange','forEach','schema','addRevisionData','domEvent','_data','unbindElementFromMarkerName','highest','split','getRootNames','unshift','wrap','isCollapsed','ck-suggestion-preview-marker','_makeModelFromViewString','modelRange','consume','bind','forceDisabled','revision-viewer','isRemoveSuggestion','refresh','reconvertMarker','markersEnd','getRevisionData','_balloon','bottom','showPreviousChange','currentChangeNumber','findIndex','collaboration.channelId','selection','2044285rkxAxz','error','nodeAfter','mapper','remove','ck-suggestion-preview-marker-','downcastDispatcher','getWalker','hasClass','toViewRange','comment','_activeViewTarget','enableReadOnlyMode','18LyBolx'];_0x33a6=function(){return _0x1893d4;};return _0x33a6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3d60b4,_0x316b50){const _0x4a91f2=_0xffd9,_0x122009=_0x3d60b4();while(!![]){try{const _0x518845=-parseInt(_0x4a91f2(0x14f))/0x1+parseInt(_0x4a91f2(0x150))/0x2+parseInt(_0x4a91f2(0x16e))/0x3+parseInt(_0x4a91f2(0x166))/0x4*(-parseInt(_0x4a91f2(0x171))/0x5)+-parseInt(_0x4a91f2(0x151))/0x6+parseInt(_0x4a91f2(0x14b))/0x7+-parseInt(_0x4a91f2(0x145))/0x8*(-parseInt(_0x4a91f2(0x164))/0x9);if(_0x518845===_0x316b50)break;else _0x122009['push'](_0x122009['shift']());}catch(_0x5b730c){_0x122009['push'](_0x122009['shift']());}}}(_0x41ec,0x23ad7));import{Collection as _0x2f77ff}from'ckeditor5/src/utils.js';import{icons as _0x8a7103}from'ckeditor5/src/core.js';import{ViewModel as _0x4c067e,addListToDropdown as _0x2d2617,createDropdown as _0x5873ec}from'ckeditor5/src/ui.js';function _0xffd9(_0x14425d,_0x24cfef){const _0x41ec2c=_0x41ec();return _0xffd9=function(_0xffd90e,_0x2f280c){_0xffd90e=_0xffd90e-0x144;let _0x4f0fc0=_0x41ec2c[_0xffd90e];return _0x4f0fc0;},_0xffd9(_0x14425d,_0x24cfef);}import{getTranslation as _0x19e1a6}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x16b5b0,_0x178262){const _0x4b4f46=_0xffd9,_0x3f9b9b=_0x16b5b0[_0x4b4f46(0x15a)],_0x32158b=_0x16b5b0[_0x4b4f46(0x16d)],_0x1cdbd5=_0x5873ec(_0x32158b);_0x1cdbd5[_0x4b4f46(0x15e)]='sw';const _0x2a4f2c=function(_0x134c0f,_0x3e7a34){const _0x527b79=_0x4b4f46,_0x360802=function(_0x512a93,_0x70ac12){const _0x437ace=_0xffd9,_0x6b298=_0x512a93[_0x437ace(0x16d)],_0x21a8e1={'Compare\x20against\x20selected':_0x19e1a6(_0x6b298,_0x437ace(0x14e)),'Name\x20this\x20revision':_0x19e1a6(_0x6b298,_0x437ace(0x163)),'Restore\x20this\x20revision':_0x19e1a6(_0x6b298,_0x437ace(0x165))};return _0x70ac12[_0x437ace(0x16b)](_0x4c23f6=>{const _0xc3b934=_0x437ace,_0x51ba62=_0x21a8e1[_0x4c23f6[_0xc3b934(0x172)]];return _0x51ba62&&_0x51ba62!==_0x4c23f6[_0xc3b934(0x172)]&&(_0x4c23f6[_0xc3b934(0x172)]=_0x51ba62),_0x4c23f6;});}(_0x134c0f,_0x3e7a34),_0x36dcd4=new _0x2f77ff();for(const _0x2f6a92 of _0x360802){const _0x30db4d={'type':_0x527b79(0x161),'model':new _0x4c067e({'label':_0x2f6a92[_0x527b79(0x172)],'class':_0x2f6a92[_0x527b79(0x16f)],'withText':!0x0,'role':_0x527b79(0x167),'_action':_0x2f6a92[_0x527b79(0x173)]})};_0x30db4d[_0x527b79(0x155)][_0x527b79(0x152)](_0x527b79(0x14d))['to'](_0x134c0f,_0x527b79(0x174),_0x1f2026=>_0x527b79(0x15c)!=typeof _0x2f6a92[_0x527b79(0x14d)]||(!_0x1f2026||_0x2f6a92[_0x527b79(0x14d)](_0x134c0f))),_0x36dcd4[_0x527b79(0x147)](_0x30db4d);}return _0x36dcd4;}(_0x16b5b0,_0x178262);return _0x16b5b0[_0x4b4f46(0x152)](_0x4b4f46(0x174))['to'](_0x1cdbd5,_0x4b4f46(0x168)),_0x1cdbd5[_0x4b4f46(0x153)][_0x4b4f46(0x14c)]({'label':_0x19e1a6(_0x32158b,_0x4b4f46(0x16c)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x8a7103[_0x4b4f46(0x146)]}),_0x1cdbd5[_0x4b4f46(0x15f)]({'attributes':{'class':[_0x4b4f46(0x160),_0x3f9b9b['if'](_0x4b4f46(0x174),_0x4b4f46(0x15b))]},'on':{'click':_0x3f9b9b['to'](_0x41f34d=>_0x41f34d[_0x4b4f46(0x149)]())}}),_0x1cdbd5['on'](_0x4b4f46(0x154),_0x598a26=>{const _0x52143d=_0x4b4f46;_0x16b5b0[_0x52143d(0x169)]&&_0x52143d(0x15c)==typeof _0x598a26[_0x52143d(0x158)][_0x52143d(0x16a)]&&_0x598a26[_0x52143d(0x158)][_0x52143d(0x16a)](_0x16b5b0);}),_0x2d2617(_0x1cdbd5,_0x2a4f2c,{'role':_0x4b4f46(0x162)}),_0x1cdbd5[_0x4b4f46(0x148)](_0x16b5b0,_0x4b4f46(0x159),(_0x315431,_0x535c88,_0x3fd72a)=>{const _0x4d1435=_0x4b4f46;if(_0x3fd72a)for(const _0x918c41 of _0x1cdbd5[_0x4d1435(0x156)][_0x4d1435(0x15d)]){const _0x3611be=_0x918c41[_0x4d1435(0x157)][_0x4d1435(0x170)],_0x193623=_0x178262[_0x4d1435(0x14a)](_0x55d4e9=>_0x55d4e9[_0x4d1435(0x173)]===_0x3611be[_0x4d1435(0x16a)])[_0x4d1435(0x144)];_0x918c41[_0x4d1435(0x144)]=void 0x0===_0x193623||_0x193623(_0x16b5b0);}}),_0x1cdbd5;}function _0x41ec(){const _0x4f2ec1=['9HToMEk','Restore\x20this\x20revision','37716gCzyxt','menuitem','isOpen','isReady','_action','map','Show\x20more\x20items','locale','49782HsEHxe','class','first','95kDZLlE','name','action','isActionsDropdownOpen','isVisible','1334976TkPAZq','threeVerticalDots','add','listenTo','stopPropagation','find','720846dAYWbF','set','isEnabled','Compare\x20against\x20selected','45568QeOuMh','541234lVoOSU','1117242RMRlBE','bind','buttonView','execute','model','listView','children','source','change:isActionsDropdownOpen','bindTemplate','ck-on','function','items','panelPosition','extendTemplate','ck-revision-history-sidebar__revision__actions','button','menu','Name\x20this\x20revision'];_0x41ec=function(){return _0x4f2ec1;};return _0x41ec();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x251d0c,_0x5b289){const _0x429842=_0x1663,_0x47f91d=_0x251d0c();while(!![]){try{const _0x23b6cd=-parseInt(_0x429842(0x19f))/0x1*(parseInt(_0x429842(0x19b))/0x2)+parseInt(_0x429842(0x1a8))/0x3*(-parseInt(_0x429842(0x1a0))/0x4)+parseInt(_0x429842(0x1a7))/0x5+parseInt(_0x429842(0x1a9))/0x6*(parseInt(_0x429842(0x198))/0x7)+-parseInt(_0x429842(0x19d))/0x8+parseInt(_0x429842(0x1a5))/0x9*(-parseInt(_0x429842(0x1a3))/0xa)+parseInt(_0x429842(0x1a6))/0xb*(parseInt(_0x429842(0x1a2))/0xc);if(_0x23b6cd===_0x5b289)break;else _0x47f91d['push'](_0x47f91d['shift']());}catch(_0x43cc0f){_0x47f91d['push'](_0x47f91d['shift']());}}}(_0x3c5d,0x2d288));import{View as _0x43be44,IconView as _0x20b67f}from'ckeditor5/src/ui.js';import{getTranslation as _0x20d6bf}from'../../utils/common-translations.js';function _0x1663(_0x460a60,_0x2f1752){const _0x3c5d0c=_0x3c5d();return _0x1663=function(_0x1663b2,_0x24836c){_0x1663b2=_0x1663b2-0x195;let _0x2751e2=_0x3c5d0c[_0x1663b2];return _0x2751e2;},_0x1663(_0x460a60,_0x2f1752);}import'../../../theme/revision/revisionauthor.css';function _0x3c5d(){const _0x10e68c=['Revision\x20creator','ck-revision-history-sidebar__revision-author_creator','0\x200\x2011\x2010','name','7rxzDVp','ck-revision-history-sidebar__revision-author__name','set','2wOCLPe','span','1321024MrAwxR','setTemplate','267733ZOTsJp','4aXefLC','ck-revision-history-sidebar__revision-author','12djMOcq','51310tFEqvd','Revision\x20author','351nvgSfI','6181989VTFtZZ','1569615dDufKF','808926mxjmpN','1269948LLzKor','push'];_0x3c5d=function(){return _0x10e68c;};return _0x3c5d();}import _0xafa2d2 from'../../../theme/icons/user.svg';export default class ri extends _0x43be44{constructor(_0x1ae8de,_0x4b463b,_0x229fb8){const _0xed394d=_0x1663;super(_0x1ae8de);const _0x3bd43a=new _0x20b67f();_0x3bd43a[_0xed394d(0x19a)]({'content':_0xafa2d2,'viewBox':_0xed394d(0x196)});const _0x560b3f=['ck',_0xed394d(0x1a1)];_0x229fb8&&_0x560b3f[_0xed394d(0x1aa)](_0xed394d(0x195));const _0x5c08cb=[{'tag':_0xed394d(0x19c),'attributes':{'class':['ck',_0xed394d(0x199)],'title':_0x20d6bf(_0x1ae8de,_0x229fb8?_0xed394d(0x1ab):_0xed394d(0x1a4))},'children':[_0x3bd43a,_0x4b463b[_0xed394d(0x197)]]}];this[_0xed394d(0x19e)]({'tag':'li','attributes':{'class':_0x560b3f},'children':_0x5c08cb});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x574b5c=_0xd6d4;(function(_0x52cede,_0x329c28){const _0x23631e=_0xd6d4,_0x282415=_0x52cede();while(!![]){try{const _0x4c955a=parseInt(_0x23631e(0x18a))/0x1*(parseInt(_0x23631e(0x18b))/0x2)+-parseInt(_0x23631e(0x17b))/0x3+-parseInt(_0x23631e(0x170))/0x4*(parseInt(_0x23631e(0x18e))/0x5)+parseInt(_0x23631e(0x17f))/0x6+parseInt(_0x23631e(0x178))/0x7*(parseInt(_0x23631e(0x187))/0x8)+-parseInt(_0x23631e(0x179))/0x9+-parseInt(_0x23631e(0x17d))/0xa*(-parseInt(_0x23631e(0x183))/0xb);if(_0x4c955a===_0x329c28)break;else _0x282415['push'](_0x282415['shift']());}catch(_0x1834ca){_0x282415['push'](_0x282415['shift']());}}}(_0x1c20,0xc046f));function _0xd6d4(_0x2af2da,_0x19fae5){const _0x1c209d=_0x1c20();return _0xd6d4=function(_0xd6d42b,_0x422372){_0xd6d42b=_0xd6d42b-0x16f;let _0x345e27=_0x1c209d[_0xd6d42b];return _0x345e27;},_0xd6d4(_0x2af2da,_0x19fae5);}import{LabeledFieldView as _0x19d22b}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x1243f5}from'ckeditor5/src/utils.js';function _0x1c20(){const _0x5b0e1c=['set','extendTemplate','_resizeObserver','value','element','destroy','189HBSlXS','10345905SUVxHR','span','4548930YYhMjC','render','91610ybYKmU','ck-revision-history-sidebar__revision-name','7106160lnyaHu','scrollWidth','clientWidth','Enter\x20the\x20revision\x20name','2398hqvljy','_updateTooltipText','fieldView','ck-tooltip_multi-line','61960xdwhlN','listenTo','placeholder','1nUUOGO','3036262mytEtk','input','Revision\x20name','45NsOmXq','bindTemplate','646792MDElen','_tooltipString'];_0x1c20=function(){return _0x5b0e1c;};return _0x1c20();}import{getTranslation as _0x19c840}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class at extends _0x19d22b{constructor(_0x3879bc,_0x1e06f4){const _0x3cbc6c=_0xd6d4;super(_0x3879bc,_0x1e06f4),this[_0x3cbc6c(0x174)]=null;const _0x3d02c9=this[_0x3cbc6c(0x16f)];this[_0x3cbc6c(0x172)]({'label':_0x19c840(_0x3879bc,_0x3cbc6c(0x18d)),'_tooltipString':''}),this[_0x3cbc6c(0x185)][_0x3cbc6c(0x189)]=_0x19c840(_0x3879bc,_0x3cbc6c(0x182)),this[_0x3cbc6c(0x173)]({'tag':_0x3cbc6c(0x17a),'attributes':{'class':[_0x3cbc6c(0x17e)],'data-cke-tooltip-text':_0x3d02c9['to'](_0x3cbc6c(0x171)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x3cbc6c(0x186)}});}[_0x574b5c(0x17c)](){const _0x22ac92=_0x574b5c;super[_0x22ac92(0x17c)](),this[_0x22ac92(0x174)]=new _0x1243f5(this[_0x22ac92(0x185)][_0x22ac92(0x176)],()=>this[_0x22ac92(0x184)]()),this[_0x22ac92(0x188)](this[_0x22ac92(0x185)],_0x22ac92(0x18c),()=>this[_0x22ac92(0x184)]());}[_0x574b5c(0x177)](){const _0x5b7178=_0x574b5c;super[_0x5b7178(0x177)](),this[_0x5b7178(0x174)]&&this[_0x5b7178(0x174)][_0x5b7178(0x177)]();}[_0x574b5c(0x184)](){const _0x119ff0=_0x574b5c,_0xe8449f=this[_0x119ff0(0x185)][_0x119ff0(0x176)];this[_0x119ff0(0x171)]=_0xe8449f[_0x119ff0(0x180)]>_0xe8449f[_0x119ff0(0x181)]&&_0xe8449f[_0x119ff0(0x175)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x3816(){const _0x3aa976=['ck-revision-history-sidebar__revision__controls-wrapper','length','168ptTkVt','11RGUmzb','ck-revision-history-sidebar__revision','518664fPEIPn','50067IeAMHP','filter','isConfirm','createdAt','9541sMUVYN','1227476pvdoJm','ck-revision-history-sidebar__revision-wrapper','set','ck-revision-history-sidebar__revision-authors','name','fire','unshift','327776DLYlqq','isSelected','revisionActionsView','ck-revision-history-sidebar__actions_dropdown_open','select','.ck-thread__remove-confirm','220','deselect','highlight','_revision','bind','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','fieldView','render','element','extendTemplate','5BWZzjB','setTemplate','ck-disabled','isEnabled','isHighlighted','_requireRevisionName','creator','isReady','unhighlight','ck-reset','492nxUZVg','bindTemplate','from','authors','map','revisionNameView','setName','div','change','ck-revision-history-sidebar__revision_selected','srcElement','listenTo','isActionsDropdownOpen','ck-revision-history-sidebar__revision__date','1576210lTImCs','value','closest','954285rKZgWQ','span','ck-revision-history-sidebar__revision_highlighted','_createdAtFormatted','uiLanguage'];_0x3816=function(){return _0x3aa976;};return _0x3816();}const _0x584aac=_0x4a45;(function(_0x192f3b,_0x469f26){const _0x3a2f99=_0x4a45,_0x2278f9=_0x192f3b();while(!![]){try{const _0x255d1a=-parseInt(_0x3a2f99(0x108))/0x1+-parseInt(_0x3a2f99(0xfb))/0x2+parseInt(_0x3a2f99(0xf1))/0x3+parseInt(_0x3a2f99(0x101))/0x4*(parseInt(_0x3a2f99(0x118))/0x5)+parseInt(_0x3a2f99(0xe0))/0x6*(-parseInt(_0x3a2f99(0x100))/0x7)+-parseInt(_0x3a2f99(0xf8))/0x8*(-parseInt(_0x3a2f99(0xfc))/0x9)+parseInt(_0x3a2f99(0xee))/0xa*(parseInt(_0x3a2f99(0xf9))/0xb);if(_0x255d1a===_0x469f26)break;else _0x2278f9['push'](_0x2278f9['shift']());}catch(_0x21889a){_0x2278f9['push'](_0x2278f9['shift']());}}}(_0x3816,0x30f56));import{View as _0x1e4573,createLabeledInputText as _0x55cd6f}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x4a43e5}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x45a692 from'./revisionnameview.js';import _0x39719f from'./revisionauthorview.js';import{dateToPrettyFormat as _0x58bb90}from'./utils.js';import{createActionsDropdownView as _0x1e2966}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';function _0x4a45(_0x3729fb,_0x23fea5){const _0x381636=_0x3816();return _0x4a45=function(_0x4a45b2,_0x43a614){_0x4a45b2=_0x4a45b2-0xe0;let _0x516722=_0x381636[_0x4a45b2];return _0x516722;},_0x4a45(_0x3729fb,_0x23fea5);}export default class hi extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a43e5(_0x1e4573){constructor(_0x3c5622,_0x4858b7,_0x153939,_0x2ad38d){const _0x1122b0=_0x4a45;super(_0x3c5622);const _0x5a3657=this[_0x1122b0(0xe1)],_0x5290fc=function(_0x3a1dd0,_0x3b4267){const _0x1b0581=_0x1122b0,_0x49c186=Array[_0x1b0581(0xe2)](_0x3b4267[_0x1b0581(0xe3)])[_0x1b0581(0xfd)](_0x379de6=>_0x379de6!=_0x3b4267[_0x1b0581(0x11e)]);return _0x3b4267[_0x1b0581(0x11e)]&&_0x49c186[_0x1b0581(0x107)](_0x3b4267[_0x1b0581(0x11e)]),_0x49c186[_0x1b0581(0xe4)](_0x543bcf=>new _0x39719f(_0x3a1dd0,_0x543bcf,_0x543bcf==_0x3b4267[_0x1b0581(0x11e)]));}(_0x3c5622,_0x4858b7);this['id']=_0x4858b7['id'],this[_0x1122b0(0x111)]=_0x4858b7,this[_0x1122b0(0x11d)]=_0x2ad38d,this[_0x1122b0(0x112)](_0x1122b0(0x105),_0x1122b0(0xff))['to'](_0x4858b7),this[_0x1122b0(0x112)](_0x1122b0(0xf4))['to'](this,_0x1122b0(0xff),_0x2efea4=>_0x58bb90(_0x3c5622[_0x1122b0(0xf5)],_0x2efea4)),this[_0x1122b0(0x103)](_0x1122b0(0x109),!0x1),this[_0x1122b0(0x103)](_0x1122b0(0x11c),!0x1),this[_0x1122b0(0x103)](_0x1122b0(0xec),!0x1),this[_0x1122b0(0x103)](_0x1122b0(0x11f),!0x1),this[_0x1122b0(0x103)](_0x1122b0(0x11b),!0x1),this[_0x1122b0(0xe5)]=new _0x45a692(_0x3c5622,_0x55cd6f),this[_0x1122b0(0xe5)][_0x1122b0(0x114)][_0x1122b0(0x117)]({'attributes':{'maxlength':_0x1122b0(0x10e)}}),this[_0x1122b0(0xe5)][_0x1122b0(0x114)][_0x1122b0(0x112)](_0x1122b0(0xef))['to'](this,_0x1122b0(0x105),_0x1743ab=>_0x1743ab||this[_0x1122b0(0xf4)]),this[_0x1122b0(0xe5)][_0x1122b0(0x112)](_0x1122b0(0x11b))['to'](this,_0x1122b0(0x109),this,_0x1122b0(0x11b),(_0x123c47,_0x46eb6a)=>_0x123c47&&_0x46eb6a),this[_0x1122b0(0x10a)]=_0x153939&&_0x153939[_0x1122b0(0xf7)]?_0x1e2966(this,_0x153939):'',this[_0x1122b0(0x10a)]&&this[_0x1122b0(0x10a)][_0x1122b0(0x112)](_0x1122b0(0x11b))['to'](this),this[_0x1122b0(0x119)]({'tag':_0x1122b0(0xe7),'attributes':{'class':['ck',_0x1122b0(0x121),_0x1122b0(0x102),_0x5a3657['if'](_0x1122b0(0xfe),_0x1122b0(0x113))]},'children':[{'tag':_0x1122b0(0xe7),'attributes':{'class':['ck',_0x1122b0(0x121),_0x1122b0(0xfa),_0x5a3657['if'](_0x1122b0(0x11b),_0x1122b0(0x11a),_0x98d576=>!_0x98d576),_0x5a3657['if'](_0x1122b0(0x109),_0x1122b0(0xe9)),_0x5a3657['if'](_0x1122b0(0x11c),_0x1122b0(0xf3)),_0x5a3657['if'](_0x1122b0(0xec),_0x1122b0(0x10b))]},'children':[this[_0x1122b0(0xe5)],{'tag':_0x1122b0(0xf2),'attributes':{'class':['ck',_0x1122b0(0xed)]},'children':[{'text':_0x5a3657['to'](_0x1122b0(0xf4))}]},{'tag':_0x1122b0(0xe7),'attributes':{'class':['ck',_0x1122b0(0xf6)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x1122b0(0x104)]},'children':_0x5290fc}]},this[_0x1122b0(0x10a)]],'on':{'click':_0x5a3657['to'](_0x50fd3f=>{const _0x2a86a4=_0x1122b0;_0x50fd3f[_0x2a86a4(0xea)][_0x2a86a4(0xf0)](_0x2a86a4(0x10d))||this[_0x2a86a4(0x11f)]&&this[_0x2a86a4(0x11b)]&&this[_0x2a86a4(0x106)](_0x2a86a4(0x10c),{'id':this['id']});})}}]});}[_0x584aac(0x115)](){const _0x49ec56=_0x584aac;super[_0x49ec56(0x115)]();const _0x159eb2=this[_0x49ec56(0xe5)][_0x49ec56(0x114)][_0x49ec56(0x116)];this[_0x49ec56(0xeb)](_0x159eb2,_0x49ec56(0xe8),()=>{const _0x544eaf=_0x49ec56;this[_0x544eaf(0x11d)]&&!_0x159eb2[_0x544eaf(0xef)]||this[_0x544eaf(0x106)](_0x544eaf(0xe6),{'id':this['id'],'name':_0x159eb2[_0x544eaf(0xef)]}),_0x159eb2[_0x544eaf(0xef)]||(_0x159eb2[_0x544eaf(0xef)]=this[_0x544eaf(0x105)]?this[_0x544eaf(0x105)]:this[_0x544eaf(0xf4)]);});}[_0x584aac(0x10c)](){const _0x2422df=_0x584aac;this[_0x2422df(0x109)]=!0x0;}[_0x584aac(0x10f)](){const _0x5054bb=_0x584aac;this[_0x5054bb(0x109)]=!0x1;}[_0x584aac(0x110)](){const _0x223715=_0x584aac;this[_0x223715(0x11c)]=!0x0;}[_0x584aac(0x120)](){const _0x459dd4=_0x584aac;this[_0x459dd4(0x11c)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1568(){const _0x466ac4=['606570EshcBH','true','2427570XYmzLf','249116KEaqcF','setTemplate','toggle','688826EeFtzO','4275pHaryM','false','11190fCXlCQ','isVisible','ck-revision-history-sidebar__subrevision-collapser','button','4fCqosg','span','ck-revision-history-sidebar__subrevision-collapser__inner','set','34408yRbxMZ','_isCollapsed','ck-revision-history-sidebar__subrevision-collapser_collapsed','566004spinEG','click','1141bhmoyW','bindTemplate','ck-hidden'];_0x1568=function(){return _0x466ac4;};return _0x1568();}const _0x2c0011=_0x3c32;(function(_0x43bdbb,_0x244be4){const _0x243dcd=_0x3c32,_0x6a31b9=_0x43bdbb();while(!![]){try{const _0x3f08fa=-parseInt(_0x243dcd(0x7a))/0x1+parseInt(_0x243dcd(0x7d))/0x2+-parseInt(_0x243dcd(0x79))/0x3+-parseInt(_0x243dcd(0x6b))/0x4*(-parseInt(_0x243dcd(0x77))/0x5)+-parseInt(_0x243dcd(0x72))/0x6+-parseInt(_0x243dcd(0x74))/0x7*(-parseInt(_0x243dcd(0x6f))/0x8)+-parseInt(_0x243dcd(0x7e))/0x9*(-parseInt(_0x243dcd(0x80))/0xa);if(_0x3f08fa===_0x244be4)break;else _0x6a31b9['push'](_0x6a31b9['shift']());}catch(_0x3e2f1b){_0x6a31b9['push'](_0x6a31b9['shift']());}}}(_0x1568,0x8538b));import{View as _0x22d4d5}from'ckeditor5/src/ui.js';function _0x3c32(_0x41e4e4,_0x3838d2){const _0x156827=_0x1568();return _0x3c32=function(_0x3c32a4,_0x3c6d36){_0x3c32a4=_0x3c32a4-0x69;let _0x42a9c0=_0x156827[_0x3c32a4];return _0x42a9c0;},_0x3c32(_0x41e4e4,_0x3838d2);}import'../../../theme/revision/subrevisioncollapser.css';export default class ls extends _0x22d4d5{constructor(_0x1aff92){const _0x480361=_0x3c32;super(_0x1aff92);const _0x359ccd=this[_0x480361(0x75)];this[_0x480361(0x6e)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x480361(0x7b)]({'tag':_0x480361(0x6c),'attributes':{'class':['ck',_0x480361(0x69),_0x359ccd['if'](_0x480361(0x81),_0x480361(0x76),_0x8546b7=>!_0x8546b7),_0x359ccd['if'](_0x480361(0x70),_0x480361(0x71))],'role':_0x480361(0x6a),'aria-pressed':_0x359ccd['to'](_0x480361(0x70),_0x3ac310=>_0x3ac310?_0x480361(0x7f):_0x480361(0x78))},'children':[{'tag':_0x480361(0x6c),'attributes':{'class':['ck',_0x480361(0x6d)]}}],'on':{'click':_0x359ccd['to'](_0x480361(0x73))}});}[_0x2c0011(0x7c)](){const _0x3499b3=_0x2c0011;this[_0x3499b3(0x70)]=!this[_0x3499b3(0x70)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5ef5(){const _0x5b2432=['3093237oYbwht','122376tbkXFb','194ipMHsb','bind','span','setTemplate','fire','select','3084825xgRevP','createdAt','ck-revision-history-sidebar__revision','creator','2980936Bnurcx','div','_parentRevisionId','ck-revision-history-sidebar__revision_selected','uiLanguage','isSelected','set','474198kbBcic','ck-revision-history-sidebar__subrevision','_createdAtFormatted','ck-revision-history-sidebar__revision-authors','deselect','ck-revision-history-sidebar__revision__date','ck-reset','187Lqjtga','4775778KUERgP','36xcJXCy','bindTemplate'];_0x5ef5=function(){return _0x5b2432;};return _0x5ef5();}const _0x3f704e=_0x155d;function _0x155d(_0xc36dc0,_0x433490){const _0x5ef53e=_0x5ef5();return _0x155d=function(_0x155d41,_0x44f6db){_0x155d41=_0x155d41-0x1b4;let _0x16327d=_0x5ef53e[_0x155d41];return _0x16327d;},_0x155d(_0xc36dc0,_0x433490);}(function(_0x3c2556,_0x5264b9){const _0x3be28e=_0x155d,_0x33c0ab=_0x3c2556();while(!![]){try{const _0x34a2b9=-parseInt(_0x3be28e(0x1bf))/0x1*(parseInt(_0x3be28e(0x1c5))/0x2)+parseInt(_0x3be28e(0x1c4))/0x3*(-parseInt(_0x3be28e(0x1c1))/0x4)+parseInt(_0x3be28e(0x1cb))/0x5+-parseInt(_0x3be28e(0x1b8))/0x6+parseInt(_0x3be28e(0x1c3))/0x7+parseInt(_0x3be28e(0x1cf))/0x8+-parseInt(_0x3be28e(0x1c0))/0x9;if(_0x34a2b9===_0x5264b9)break;else _0x33c0ab['push'](_0x33c0ab['shift']());}catch(_0x3658f0){_0x33c0ab['push'](_0x33c0ab['shift']());}}}(_0x5ef5,0x6a933));import{View as _0x60cf7c}from'ckeditor5/src/ui.js';import _0xf82204 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x213e1c}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class cs extends _0x60cf7c{constructor(_0x36eb5b,_0x1d9b6e,_0x2666c7){const _0x156420=_0x155d;super(_0x36eb5b);const _0x5acdfe=this[_0x156420(0x1c2)];this['id']=_0x1d9b6e['id'],this[_0x156420(0x1c6)](_0x156420(0x1cc))['to'](_0x1d9b6e),this[_0x156420(0x1b7)](_0x156420(0x1b6),!0x1),this[_0x156420(0x1c6)](_0x156420(0x1ba))['to'](this,_0x156420(0x1cc),_0x49adc5=>_0x49adc5?_0x213e1c(_0x36eb5b[_0x156420(0x1b5)],_0x49adc5):void 0x0),this[_0x156420(0x1d1)]=_0x2666c7,this[_0x156420(0x1c8)]({'tag':_0x156420(0x1d0),'attributes':{'class':['ck',_0x156420(0x1be),_0x156420(0x1cd),_0x156420(0x1b9),_0x5acdfe['if'](_0x156420(0x1b6),_0x156420(0x1b4))]},'children':[{'tag':_0x156420(0x1c7),'attributes':{'class':['ck',_0x156420(0x1bd)]},'children':[{'text':_0x5acdfe['to'](_0x156420(0x1ba))}]},{'tag':'ul','attributes':{'class':['ck',_0x156420(0x1bb)]},'children':[new _0xf82204(_0x36eb5b,_0x1d9b6e[_0x156420(0x1ce)],!0x0)]}],'on':{'click':_0x5acdfe['to'](this[_0x156420(0x1ca)][_0x156420(0x1c6)](this))}});}[_0x3f704e(0x1ca)](){const _0x3ab7af=_0x3f704e;this[_0x3ab7af(0x1b6)]=!0x0,this[_0x3ab7af(0x1c9)](_0x3ab7af(0x1ca),{'parentId':this[_0x3ab7af(0x1d1)]});}[_0x3f704e(0x1bc)](){const _0x487fc9=_0x3f704e;this[_0x487fc9(0x1b6)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x59f3(){var _0x44ad39=['toLocaleDateString','long','12684726zKkNVp','numeric','toLocaleTimeString','12sigRqs','21889668EjYsBu','2QQLmHj','2312429wMrelu','1867548cOhQNV','10yuWxHy','591129AeMOyC','11naNoBj','8MYMyDm','6671640ycwkQE','873960cCMPPc'];_0x59f3=function(){return _0x44ad39;};return _0x59f3();}(function(_0x415b1c,_0x2dae20){var _0x2f6990=_0x438b,_0x545076=_0x415b1c();while(!![]){try{var _0xa0f88e=parseInt(_0x2f6990(0x1c7))/0x1*(-parseInt(_0x2f6990(0x1c3))/0x2)+-parseInt(_0x2f6990(0x1c5))/0x3+parseInt(_0x2f6990(0x1c1))/0x4*(-parseInt(_0x2f6990(0x1cb))/0x5)+-parseInt(_0x2f6990(0x1ca))/0x6+parseInt(_0x2f6990(0x1c4))/0x7*(parseInt(_0x2f6990(0x1c9))/0x8)+-parseInt(_0x2f6990(0x1ce))/0x9*(-parseInt(_0x2f6990(0x1c6))/0xa)+parseInt(_0x2f6990(0x1c8))/0xb*(parseInt(_0x2f6990(0x1c2))/0xc);if(_0xa0f88e===_0x2dae20)break;else _0x545076['push'](_0x545076['shift']());}catch(_0x412f65){_0x545076['push'](_0x545076['shift']());}}}(_0x59f3,0xae4d3));function _0x438b(_0x114e38,_0x3e2665){var _0x59f313=_0x59f3();return _0x438b=function(_0x438b93,_0x2eaced){_0x438b93=_0x438b93-0x1c0;var _0x56df0d=_0x59f313[_0x438b93];return _0x56df0d;},_0x438b(_0x114e38,_0x3e2665);}export function dateToPrettyFormat(_0x194503,_0x108b32){var _0x1ede18=_0x438b;return _0x108b32[_0x1ede18(0x1cc)](_0x194503,{'month':_0x1ede18(0x1cd),'day':_0x1ede18(0x1cf)})+',\x20'+_0x108b32[_0x1ede18(0x1c0)](_0x194503,{'hour':_0x1ede18(0x1cf),'minute':_0x1ede18(0x1cf)});}
|