@ckeditor/ckeditor5-revision-history 44.3.0-alpha.2 → 44.3.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x31a551=_0x46c0;(function(_0x39836c,_0x2654c4){const _0x10922f=_0x46c0,_0x16c928=_0x39836c();while(!![]){try{const _0x4c6e6b=-parseInt(_0x10922f(0x309))/0x1*(-parseInt(_0x10922f(0x2ce))/0x2)+-parseInt(_0x10922f(0x237))/0x3*(parseInt(_0x10922f(0x24d))/0x4)+-parseInt(_0x10922f(0x2ad))/0x5*(parseInt(_0x10922f(0x2fc))/0x6)+parseInt(_0x10922f(0x238))/0x7*(-parseInt(_0x10922f(0x1cf))/0x8)+parseInt(_0x10922f(0x21f))/0x9*(parseInt(_0x10922f(0x228))/0xa)+parseInt(_0x10922f(0x280))/0xb*(-parseInt(_0x10922f(0x289))/0xc)+parseInt(_0x10922f(0x2dd))/0xd*(parseInt(_0x10922f(0x2c3))/0xe);if(_0x4c6e6b===_0x2654c4)break;else _0x16c928['push'](_0x16c928['shift']());}catch(_0x3016b3){_0x16c928['push'](_0x16c928['shift']());}}}(_0x44ce,0x552ac));import{Plugin as _0x473e89,Command as _0x59b3f9}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2515b3}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x28c613}from'ckeditor5/src/ui.js';function _0x46c0(_0x39030b,_0x1f8ccc){const _0x44ce95=_0x44ce();return _0x46c0=function(_0x46c034,_0x5a1c5d){_0x46c034=_0x46c034-0x1cd;let _0x1347e3=_0x44ce95[_0x46c034];return _0x1347e3;},_0x46c0(_0x39030b,_0x1f8ccc);}import{DocumentFragment as _0x56e7b6,Element as _0x405b33,Text as _0x403fb3,ViewDocumentFragment as _0x29be32,ViewText as _0x4607ac,ViewElement as _0x1464b3,ViewContainerElement as _0x1f614c,ViewAttributeElement as _0x203645,ViewEmptyElement as _0x22251a,ViewRawElement as _0x17243c,ViewUIElement as _0x2ed9d4}from'ckeditor5/src/engine.js';import{Users as _0x5b5f73,getMarkerDomElement as _0x192d44}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3137fc from'./ui/revisionviewer/changedetailsview.js';function _0x44ce(){const _0x5d0a3f=['9TBvXAP','addMarker:revision','bottom','pop','slice','newRevisionId','_balloon','ck-revision-history-root-','showPreviousChange','1470730NuUEZl','flat','revision-comment:','_revisions','revision','span','forward','deletion','element:pre','getDomRoot','isBlock','find','mouseover','index','getClientRects','348774rmaOlh','7mNXRWV','getAttributes','isAfter','data-revision-','isOnRoot','_getRevisionsRange','adapter','range','markerName','mapper','markerNameToElements','toViewPosition','attributesBefore','text','done','unshift','elementToAttribute','view','collaboration.channelId','change:numberOfChanges','test','16rlVaSZ','previousPosition','refresh','revision-suggestion','suggestion','left','listenTo','findIndex','_joinTapes','_markMarkers','plugins','markers','abs','revisionHistoryAttachChange','remove','_changeIdToChange','isPremiumPlugin','attachChange','RevisionsRepository','offsetSize','delete','ck-revision-history-root--active','removeAttribute','indexOf','_step','_getDiff','_markSuggestions','selection','_markInsertions','getRevisionRootsAttributes','isBefore','bind','change:activeChange','insert','revision:','_getViewForChange','createRevision','isReady','isCollapsed','data-change-id','insertion','sort','_activeViewTarget','change:isReady','dataDowncast','_makeTape','pairId','revision-end','_makeModelFromViewString','shift','merge','33cqnZFI','getAttribute','backward','isAtStart','clear','getRoot','elementEnd','add','commands','1659144VuRKWd','ck-suggestion-marker','createAttributeElement','_threeWayMerge','deletions','from','isContent','includes','wrap','_cleanMarkers','_setConversion','children','editor','changes','reconvertMarker','addRevisionData','vid','_update','showNextChange','_appendChild','_findChangeIdFromDomTarget','-new','execute','code','updatePosition','RevisionViewer','isAddSuggestion','isInline','removeMarker:revision-suggestion','set','push','highest','removeClass','elementStart','isEnabled','createPositionFromPath','3075655JdFMuS','object','authors','distance','revisionHistory','_removeMissingPairs','getWalker','ck-suggestion-marker-','getIndex','item','schema','split','markersEnd','_removeUnsupportedChanges','element','ck-suggestion-marker--active','createPositionBefore','error','_markMismatchedRemovedTags','name','_getViewObj','revision-start','14koXHsD','level','for','setAttribute','processor','default','nodeAfter','attributesAfter','getChild','change:isEnabled','forEach','18stGMGj','removeMarker:revision','createRange','isSuggestion','conversion','addMarker:revision-suggestion:insertion','parse','model','oldRevisionId','bindElementToMarker','editing','_cleanUp','string','change','domConverter','22413781moDXLC','markerToData','return','useFillerType','affectsData','document','roots','vid_end','nextPosition','keys','resolve','isIncorrect','enableReadOnlyMode','filter','low','splice','map','ck-revision-history-root-add','concat','catch','top','vid_start','detachRoot','isObject','removeMarker','start','isEqual','rootName','startIndex','writer','_setDistance','6WUgHEY','upcast','getRootNames','first','init','toModel','WidgetToolbarRepository','compare','_setChanges','destroy','_sortAndFilterDiffChanges','end','markerRange','576XVEZjF','forceDisabled','_removeRevisionMarkers','high','diffData','changeId','revisionHistoryLabel','showStack','next','_processTape','_initInteractions','isRemoveSuggestion','suggestion:','_data','side','numberOfChanges','restoreRevisionCallback','isAttached','domEvent','getLaterVisibleRevision','activeView','ck-suggestion-preview-marker-','markerToHighlight','modelRange','addHighlight','editingDowncast','toViewElement','hasAttribute','260808avYoxZ','endIndex','restoreRevision','ck-suggestion-marker-merge','comment','maxOffset','attribute:vid','markersStart','toViewRange','_getChangeFromId','hasClass','pluginName','then','addMarker:revision-suggestion:deletion','ck-suggestion-marker-split','has','consumable','isAdded','userId','all','ck-suggestion-preview-marker','isOfficialPlugin','type','change:activeView','locale','diff','isNavigationMode','target','_makeModelFromTape','activeChange','_fixObsoleteTags','createRangeIn','ck-revision-history-root-remove','softBreak','data','values','length','unbindElementFromMarkerName','attributes','startsWith','_changeView','repository','observeMarkers','getRevision','dataToMarker','addRevision','revision-suggestion:','insertions','stop','loadRevisionData','isAtEnd','nextSibling','POSITIVE_INFINITY','isRemoved','isLimit','getCustomProperty','getRevisionData','get','addClass','consume','mousedown','getItems','ck-editor__editable__overlay','revision-viewer','_refreshStartEndIndex','right','enqueueChange','uiElement','marked','viewItem','requires','mapViewToDom','config','currentChangeNumber','parent','downcastDispatcher','toData','checkAttribute','createUIElement','addRoot'];_0x44ce=function(){return _0x5d0a3f;};return _0x44ce();}import _0xaeb468 from'./revisionsrepository.js';import _0x534bf0 from'./changeitem.js';import{default as _0x4f1883}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x5240af}from'lodash-es';const Y={'c':_0x1f614c,'a':_0x203645,'e':_0x22251a,'r':_0x17243c,'u':_0x2ed9d4};export default class d extends _0x473e89{static get[_0x31a551(0x1da)](){const _0x40b8e4=_0x31a551;return _0x40b8e4(0x2a2);}static get[_0x31a551(0x1e4)](){return!0x0;}static get[_0x31a551(0x25d)](){return!0x0;}static get[_0x31a551(0x215)](){return[_0x5b5f73,_0x28c613,_0xaeb468];}constructor(_0x3cb3da){const _0x2a77fa=_0x31a551;super(_0x3cb3da),this[_0x2a77fa(0x1f8)]=this[_0x2a77fa(0x295)][_0x2a77fa(0x257)][_0x2a77fa(0x208)](_0x2a77fa(0x25f)),this[_0x2a77fa(0x2a6)](_0x2a77fa(0x1ec),null),this[_0x2a77fa(0x2a6)](_0x2a77fa(0x31d),null),this[_0x2a77fa(0x277)]=null,this[_0x2a77fa(0x2a6)](_0x2a77fa(0x1e8),null),this[_0x2a77fa(0x2a6)](_0x2a77fa(0x272),!0x1),this[_0x2a77fa(0x2a6)](_0x2a77fa(0x2ab),!0x0),this['on'](_0x2a77fa(0x2cc),(_0x522cf0,_0x489cda,_0x1c66a2)=>{const _0x49ffc8=_0x2a77fa;this[_0x49ffc8(0x1ec)]=null,this[_0x49ffc8(0x31d)]=null,this[_0x49ffc8(0x295)][_0x49ffc8(0x2d8)][_0x49ffc8(0x249)][_0x49ffc8(0x2db)](_0x53e61e=>{const _0x3c75e7=_0x49ffc8;for(const _0x369a14 of this[_0x3c75e7(0x295)][_0x3c75e7(0x2d8)][_0x3c75e7(0x249)][_0x3c75e7(0x2e2)][_0x3c75e7(0x2e3)])_0x1c66a2?_0x53e61e[_0x3c75e7(0x2a9)](_0x3c75e7(0x20d),_0x369a14):_0x53e61e[_0x3c75e7(0x209)](_0x3c75e7(0x20d),_0x369a14);});}),this[_0x2a77fa(0x26c)](_0x2a77fa(0x1e9))['to'](this,_0x2a77fa(0x1ec),_0x36f240=>null!==_0x36f240),this[_0x2a77fa(0x26c)](_0x2a77fa(0x218))['to'](this,_0x2a77fa(0x272),this,_0x2a77fa(0x1e8),this,_0x2a77fa(0x1ec),(_0x16aa55,_0x4963af,_0x74969)=>_0x16aa55&&_0x74969?_0x4963af[_0x2a77fa(0x296)][_0x2a77fa(0x2b5)](_0x74969):0x0),this[_0x2a77fa(0x26c)](_0x2a77fa(0x318))['to'](this,_0x2a77fa(0x272),this,_0x2a77fa(0x1e8),(_0x2b0345,_0x30dfc5)=>_0x2b0345?_0x30dfc5[_0x2a77fa(0x296)][_0x2a77fa(0x1f3)]:0x0),this[_0x2a77fa(0x1f7)]=null,this[_0x2a77fa(0x25c)]=new Map(),this[_0x2a77fa(0x23e)]=null,this[_0x2a77fa(0x225)]=this[_0x2a77fa(0x295)][_0x2a77fa(0x257)][_0x2a77fa(0x208)](_0x28c613);}[_0x31a551(0x300)](){const _0x1967e4=_0x31a551,_0x7c8c20=this[_0x1967e4(0x295)],_0x37aefc=new ShowChangeCommand(_0x7c8c20,{'direction':_0x1967e4(0x282)}),_0x3ca990=new ShowChangeCommand(_0x7c8c20,{'direction':_0x1967e4(0x22e)});(_0x7c8c20[_0x1967e4(0x288)][_0x1967e4(0x287)](_0x1967e4(0x227),_0x37aefc),_0x7c8c20[_0x1967e4(0x288)][_0x1967e4(0x287)](_0x1967e4(0x29b),_0x3ca990),_0x7c8c20[_0x1967e4(0x288)][_0x1967e4(0x287)](_0x1967e4(0x1d1),new RestoreRevisionCommand(_0x7c8c20)),this['on'](_0x1967e4(0x24b),()=>{const _0x162261=_0x1967e4;_0x37aefc[_0x162261(0x24f)](),_0x3ca990[_0x162261(0x24f)]();}),this[_0x1967e4(0x293)](),this[_0x1967e4(0x313)](),_0x7c8c20[_0x1967e4(0x2e9)](_0x1967e4(0x20e)),_0x7c8c20[_0x1967e4(0x257)][_0x1967e4(0x1de)](_0x1967e4(0x302)))&&_0x7c8c20[_0x1967e4(0x257)][_0x1967e4(0x208)](_0x1967e4(0x302))[_0x1967e4(0x30a)](_0x1967e4(0x20e));}async[_0x31a551(0x207)](_0x51a88a){const _0x5cf6a9=_0x31a551;await this[_0x5cf6a9(0x200)](_0x51a88a);const _0x5ef2b6={};for(const _0x466702 in _0x51a88a[_0x5cf6a9(0x30d)]){if(_0x51a88a[_0x5cf6a9(0x30d)][_0x466702][_0x5cf6a9(0x25e)]&&!_0x51a88a[_0x5cf6a9(0x30d)][_0x466702][_0x5cf6a9(0x25e)][_0x5cf6a9(0x31a)])continue;const _0x14ef53=this[_0x5cf6a9(0x30b)](JSON[_0x5cf6a9(0x2d4)](_0x51a88a[_0x5cf6a9(0x30d)][_0x466702][_0x5cf6a9(0x1fe)])),_0x44714f=this[_0x5cf6a9(0x295)][_0x5cf6a9(0x2d8)][_0x5cf6a9(0x249)][_0x5cf6a9(0x2e2)],_0x4a1c12=new _0x29be32(_0x44714f,_0x14ef53[_0x5cf6a9(0x2ed)](_0xccbe41=>this[_0x5cf6a9(0x2c1)](_0xccbe41)));this[_0x5cf6a9(0x295)][_0x5cf6a9(0x1f1)][_0x5cf6a9(0x2c7)][_0x5cf6a9(0x2e0)](_0x5cf6a9(0x213)),_0x5ef2b6[_0x466702]=this[_0x5cf6a9(0x295)][_0x5cf6a9(0x1f1)][_0x5cf6a9(0x2c7)][_0x5cf6a9(0x21b)](_0x4a1c12),this[_0x5cf6a9(0x295)][_0x5cf6a9(0x1f1)][_0x5cf6a9(0x2c7)][_0x5cf6a9(0x2e0)](_0x5cf6a9(0x2c8));}return _0x5ef2b6;}async[_0x31a551(0x26a)](_0x2d8be0){const _0x44728f=_0x31a551;await this[_0x44728f(0x200)](_0x2d8be0);const _0x297f2c={};for(const _0x319292 in _0x2d8be0[_0x44728f(0x30d)])_0x2d8be0[_0x44728f(0x30d)][_0x319292][_0x44728f(0x25e)]&&!_0x2d8be0[_0x44728f(0x30d)][_0x319292][_0x44728f(0x25e)][_0x44728f(0x31a)]||(_0x297f2c[_0x319292]=_0x2d8be0[_0x44728f(0x30d)][_0x319292][_0x44728f(0x2ca)]||{});return _0x297f2c;}[_0x31a551(0x30b)](_0x49e445){const _0x5032b5=_0x31a551;return(_0x49e445=_0x49e445[_0x5032b5(0x2ea)](_0x5cff33=>!_0x5cff33[_0x5032b5(0x2c0)]||_0x5032b5(0x2c2)!==_0x5cff33[_0x5032b5(0x2c0)]&&_0x5032b5(0x27c)!==_0x5cff33[_0x5032b5(0x2c0)]))[_0x5032b5(0x2cd)](_0x2fbed5=>{const _0x112ece=_0x5032b5;_0x112ece(0x2da)!=typeof _0x2fbed5&&(_0x2fbed5[_0x112ece(0x294)]=this[_0x112ece(0x30b)](_0x2fbed5[_0x112ece(0x294)]),_0x2fbed5[_0x112ece(0x1f5)]=_0x2fbed5[_0x112ece(0x1f5)][_0x112ece(0x2ea)](_0x11f7b4=>!_0x11f7b4[0x0][_0x112ece(0x1f6)](_0x112ece(0x23b))));}),_0x49e445;}async[_0x31a551(0x303)](_0x3aa25e,_0x1fd562,_0x3a9e79=!0x1){const _0x44babc=_0x31a551;if(!this[_0x44babc(0x2ab)])return;const _0x31ec48=this[_0x44babc(0x1e8)],_0x56597d=this[_0x44babc(0x1f8)],_0x3b0e11=_0x44babc(0x2da)==typeof _0x3aa25e?_0x56597d[_0x44babc(0x1fa)](_0x3aa25e):_0x3aa25e,_0x3eb68c=_0x44babc(0x2da)==typeof _0x1fd562?_0x56597d[_0x44babc(0x1fa)](_0x1fd562):_0x1fd562,_0x426dd1=_0x3b0e11['id'],_0x55d474=_0x3eb68c?_0x3eb68c['id']:null;if(!_0x3a9e79&&this[_0x44babc(0x1e8)]&&this[_0x44babc(0x1e8)][_0x44babc(0x224)]===_0x426dd1&&this[_0x44babc(0x1e8)][_0x44babc(0x2d6)]===_0x55d474)return Promise[_0x44babc(0x2e7)]();this[_0x44babc(0x272)]=!0x1,this[_0x44babc(0x31d)]=null,this[_0x44babc(0x1ec)]=null,this[_0x44babc(0x1e8)]=new _0x4f1883(_0x426dd1,_0x55d474);const _0x47e544=this[_0x44babc(0x23d)](_0x3b0e11,_0x3eb68c,!0x0)[_0x44babc(0x2ed)](_0x4db9f1=>this[_0x44babc(0x200)](_0x4db9f1));return _0x47e544[_0x44babc(0x2a7)](new Promise(_0x576bf1=>{setTimeout(_0x576bf1,0x14);})),Promise[_0x44babc(0x1e2)](_0x47e544)[_0x44babc(0x1db)](()=>{const _0x15096e=_0x44babc;if(!this[_0x15096e(0x2ab)])return;this[_0x15096e(0x2d9)]();const _0x4851e0=this[_0x15096e(0x266)](_0x426dd1,_0x55d474);for(const _0x5bae7e of _0x4851e0[_0x15096e(0x296)])this[_0x15096e(0x25c)][_0x15096e(0x2a6)](_0x5bae7e['id'],_0x5bae7e);this[_0x15096e(0x295)][_0x15096e(0x2d5)][_0x15096e(0x211)]({'isUndoable':!0x1},_0x96eb09=>{const _0x593ac7=_0x15096e;for(const _0x14635f of this[_0x593ac7(0x295)][_0x593ac7(0x2d5)][_0x593ac7(0x2e2)][_0x593ac7(0x2fe)]())_0x96eb09[_0x593ac7(0x2f3)](_0x14635f);for(const _0x4a66e2 of Object[_0x593ac7(0x2e6)](_0x4851e0[_0x593ac7(0x2d5)])){const _0x56c7ac=_0x96eb09[_0x593ac7(0x21e)](_0x4a66e2);for(const _0x348c58 of Object[_0x593ac7(0x2e6)](_0x4851e0[_0x593ac7(0x1f5)][_0x4a66e2]))_0x96eb09[_0x593ac7(0x2c6)](_0x348c58,_0x4851e0[_0x593ac7(0x1f5)][_0x4a66e2][_0x348c58],_0x56c7ac);_0x96eb09[_0x593ac7(0x26e)](_0x4851e0[_0x593ac7(0x2d5)][_0x4a66e2],_0x56c7ac,0x0);}}),this[_0x15096e(0x1e8)][_0x15096e(0x304)](this[_0x15096e(0x306)](_0x4851e0[_0x15096e(0x296)])),this[_0x15096e(0x272)]=!0x0;})[_0x44babc(0x2f0)](_0x575480=>{const _0x1c89ff=_0x44babc;console[_0x1c89ff(0x2be)](_0x575480),this[_0x1c89ff(0x2d9)](),_0x31ec48&&(this[_0x1c89ff(0x1e8)]=_0x31ec48),this[_0x1c89ff(0x272)]=!0x0;});}[_0x31a551(0x298)](_0x576fcb,_0x43d596){const _0x20a77f=_0x31a551,_0x3d4534=this[_0x20a77f(0x1f8)][_0x20a77f(0x271)](_0x576fcb);return _0x3d4534['on'](_0x20a77f(0x29a),(_0x11ebab,_0x467614,_0x4b4c63)=>_0x43d596(_0x467614,_0x4b4c63,_0x3d4534)),this[_0x20a77f(0x1f8)][_0x20a77f(0x1fc)](_0x3d4534),_0x3d4534;}[_0x31a551(0x200)](_0x1f99d2){const _0x468006=_0x31a551;if(!_0x1f99d2||_0x1f99d2[_0x468006(0x30d)])return Promise[_0x468006(0x2e7)]();{const _0x3725c4=this[_0x468006(0x295)][_0x468006(0x217)][_0x468006(0x208)](_0x468006(0x24a));return this[_0x468006(0x23e)][_0x468006(0x1fa)]({'channelId':_0x3725c4,'revisionId':_0x1f99d2['id']})[_0x468006(0x1db)](_0x2b1240=>{const _0xad3d0c=_0x468006;_0x1f99d2[_0xad3d0c(0x29a)]({'diffData':_0x2b1240[_0xad3d0c(0x30d)]},!0x0);});}}[_0x31a551(0x2d9)](){const _0x2bcfdb=_0x31a551;this[_0x2bcfdb(0x1ec)]=null,this[_0x2bcfdb(0x292)](),this[_0x2bcfdb(0x1f7)]&&this[_0x2bcfdb(0x1f7)][_0x2bcfdb(0x305)](),this[_0x2bcfdb(0x1f7)]=null,this[_0x2bcfdb(0x25c)][_0x2bcfdb(0x284)](),this[_0x2bcfdb(0x295)][_0x2bcfdb(0x2d5)][_0x2bcfdb(0x211)]({'isUndoable':!0x1},_0x30c2a6=>{const _0x4090d6=_0x2bcfdb;for(const _0x3df15c of this[_0x4090d6(0x295)][_0x4090d6(0x2d5)][_0x4090d6(0x2e2)][_0x4090d6(0x2fe)]())_0x30c2a6[_0x4090d6(0x2f3)](_0x3df15c);});}[_0x31a551(0x306)](_0x32159c){const _0x3b5ff5=_0x31a551,_0x5c8127=[],_0xf3519d=new Map();for(const _0x26febc of this[_0x3b5ff5(0x295)][_0x3b5ff5(0x2d5)][_0x3b5ff5(0x2e2)][_0x3b5ff5(0x2fe)]()){const _0x3e5fef=this[_0x3b5ff5(0x295)][_0x3b5ff5(0x2d8)][_0x3b5ff5(0x249)][_0x3b5ff5(0x231)](_0x26febc);if(!_0x3e5fef)continue;const _0x5bbd52=_0x3e5fef[_0x3b5ff5(0x236)]()[_0x3b5ff5(0x2b6)](0x0);_0x5bbd52&&(_0x5c8127[_0x3b5ff5(0x2a7)](_0x26febc),_0xf3519d[_0x3b5ff5(0x2a6)](_0x26febc,_0x5bbd52));}return _0x5c8127[_0x3b5ff5(0x276)]((_0xbd418e,_0x47f192)=>{const _0xe0c3c6=_0x3b5ff5,_0x5128ab=_0xf3519d[_0xe0c3c6(0x208)](_0xbd418e),_0xdd02a6=_0xf3519d[_0xe0c3c6(0x208)](_0x47f192);return _0x5128ab['y']-_0xdd02a6['y']||_0x5128ab['x']-_0xdd02a6['x'];}),(_0x32159c=_0x32159c[_0x3b5ff5(0x2ea)](_0x1cb7ad=>_0x5c8127[_0x3b5ff5(0x290)](_0x1cb7ad[_0x3b5ff5(0x2f8)])))[_0x3b5ff5(0x276)]((_0x4aff89,_0x47ccda)=>_0x5c8127[_0x3b5ff5(0x264)](_0x4aff89[_0x3b5ff5(0x2f8)])-_0x5c8127[_0x3b5ff5(0x264)](_0x47ccda[_0x3b5ff5(0x2f8)])),_0x32159c;}[_0x31a551(0x27a)](_0x37b178){const _0x2f340c=_0x31a551,_0x3c2a5f=Array[_0x2f340c(0x28e)](_0x37b178[_0x2f340c(0x258)])[_0x2f340c(0x2ea)](([_0x59942c,_0x81dcce])=>_0x59942c[_0x2f340c(0x1f6)](_0x2f340c(0x26f))&&!_0x81dcce[_0x2f340c(0x273)]),_0x3a6de1=Array[_0x2f340c(0x28e)](this[_0x2f340c(0x295)][_0x2f340c(0x2d5)][_0x2f340c(0x1ee)](_0x37b178)[_0x2f340c(0x2b3)]({'singleCharacters':!0x0}));if(0x0!=_0x3c2a5f[_0x2f340c(0x1f3)])for(const _0x316d1c of _0x3a6de1){const [_0x105fa1,_0x47522e]=_0x3c2a5f[0x0],[,_0x4779de,_0x363e83]=_0x105fa1[_0x2f340c(0x2b8)](':');if(_0x47522e[_0x2f340c(0x307)][_0x2f340c(0x2f7)](_0x316d1c[_0x2f340c(0x2e5)])&&_0x3c2a5f[_0x2f340c(0x27e)](),(_0x316d1c[_0x2f340c(0x24e)][_0x2f340c(0x2f7)](_0x47522e[_0x2f340c(0x2f6)])||_0x316d1c[_0x2f340c(0x24e)][_0x2f340c(0x23a)](_0x47522e[_0x2f340c(0x2f6)]))&&(_0x2f340c(0x275)==_0x4779de?_0x316d1c[_0x2f340c(0x1e0)]={'userId':_0x363e83}:_0x2f340c(0x22f)==_0x4779de&&(_0x316d1c[_0x2f340c(0x204)]={'userId':_0x363e83})),0x0==_0x3c2a5f[_0x2f340c(0x1f3)])break;}return _0x3a6de1;}[_0x31a551(0x20f)](_0x55d8a5){const _0x44ef39=_0x31a551,_0x29a853=new Map();for(let _0x430a15=0x0;_0x430a15<_0x55d8a5[_0x44ef39(0x1f3)];_0x430a15++)_0x44ef39(0x245)===_0x55d8a5[_0x430a15][_0x44ef39(0x1e5)]?(_0x55d8a5[_0x430a15][_0x44ef39(0x2b6)][_0x44ef39(0x2f9)]=_0x430a15,_0x55d8a5[_0x430a15][_0x44ef39(0x2b6)][_0x44ef39(0x1d0)]=_0x430a15):(_0x44ef39(0x2aa)===_0x55d8a5[_0x430a15][_0x44ef39(0x1e5)]?_0x55d8a5[_0x430a15][_0x44ef39(0x2b6)][_0x44ef39(0x2f9)]=_0x430a15:_0x44ef39(0x286)===_0x55d8a5[_0x430a15][_0x44ef39(0x1e5)]&&(_0x55d8a5[_0x430a15][_0x44ef39(0x2b6)][_0x44ef39(0x1d0)]=_0x430a15),_0x29a853[_0x44ef39(0x2a6)](_0x55d8a5[_0x430a15]['id'],_0x430a15));for(const _0x3ad47a of _0x29a853[_0x44ef39(0x1f2)]())_0x44ef39(0x2aa)===_0x55d8a5[_0x3ad47a][_0x44ef39(0x1e5)]?_0x55d8a5[_0x3ad47a][_0x44ef39(0x2b6)][_0x44ef39(0x1d0)]=_0x29a853[_0x44ef39(0x208)](_0x55d8a5[_0x3ad47a][_0x44ef39(0x27b)]):_0x44ef39(0x286)===_0x55d8a5[_0x3ad47a][_0x44ef39(0x1e5)]&&(_0x55d8a5[_0x3ad47a][_0x44ef39(0x2b6)][_0x44ef39(0x2f9)]=_0x29a853[_0x44ef39(0x208)](_0x55d8a5[_0x3ad47a][_0x44ef39(0x27b)]));}[_0x31a551(0x312)](_0x4a308e){const _0x1d53d6=_0x31a551;for(let _0x1b895a=0x0;_0x1b895a<_0x4a308e[_0x1d53d6(0x1f3)];_0x1b895a++){if(_0x1d53d6(0x2aa)===_0x4a308e[_0x1b895a][_0x1d53d6(0x1e5)])_0x4a308e[_0x1b895a][_0x1d53d6(0x2b6)][_0x1d53d6(0x2f9)]=_0x1b895a;else{if(_0x1d53d6(0x286)===_0x4a308e[_0x1b895a][_0x1d53d6(0x1e5)]){_0x4a308e[_0x1b895a][_0x1d53d6(0x2b6)][_0x1d53d6(0x1d0)]=_0x1b895a;const _0x5cb8c0=_0x4a308e[_0x1b895a][_0x1d53d6(0x2b6)][_0x1d53d6(0x2f9)];_0x4a308e[_0x5cb8c0][_0x1d53d6(0x27b)]=_0x4a308e[_0x1b895a]['id'],_0x4a308e[_0x1b895a][_0x1d53d6(0x27b)]=_0x4a308e[_0x5cb8c0]['id'];}else _0x4a308e[_0x1b895a][_0x1d53d6(0x2b6)][_0x1d53d6(0x2f9)]=_0x1b895a,_0x4a308e[_0x1b895a][_0x1d53d6(0x2b6)][_0x1d53d6(0x1d0)]=_0x1b895a,_0x4a308e[_0x1b895a][_0x1d53d6(0x27b)]=null;}_0x4a308e[_0x1b895a][_0x1d53d6(0x1d6)]||(_0x4a308e[_0x1b895a][_0x1d53d6(0x1d6)]=[],_0x4a308e[_0x1b895a][_0x1d53d6(0x2b9)]=[]);}}[_0x31a551(0x269)](_0x1ad586,_0x5d03d6){const _0x3d1bf2=_0x31a551,_0x4b1448=_0x1ad586[_0x3d1bf2(0x2ea)](_0x3f300a=>!_0x3f300a[_0x3d1bf2(0x1e0)]);for(let _0x602ba8=0x0;_0x602ba8<_0x5d03d6[_0x3d1bf2(0x1f3)];_0x602ba8++)_0x5d03d6[_0x602ba8][_0x3d1bf2(0x1e0)]&&(_0x4b1448[_0x602ba8][_0x3d1bf2(0x1e0)]=_0x5d03d6[_0x602ba8][_0x3d1bf2(0x1e0)]);}[_0x31a551(0x27d)](_0x1f8382){const _0x479fd3=_0x31a551,_0x15b646=JSON[_0x479fd3(0x2d4)](_0x1f8382),_0x59ad1e=this[_0x479fd3(0x295)][_0x479fd3(0x2d8)][_0x479fd3(0x249)][_0x479fd3(0x2e2)],_0x451ca6=new _0x29be32(_0x59ad1e,_0x15b646[_0x479fd3(0x2ed)](_0x4cb7d8=>this[_0x479fd3(0x2c1)](_0x4cb7d8)));return this[_0x479fd3(0x295)][_0x479fd3(0x1f1)][_0x479fd3(0x301)](_0x451ca6);}[_0x31a551(0x2c1)](_0x2c4499){const _0xd051f9=_0x31a551,_0x33707d=this[_0xd051f9(0x295)][_0xd051f9(0x2d8)][_0xd051f9(0x249)][_0xd051f9(0x2e2)];if(_0xd051f9(0x2da)==typeof _0x2c4499)return new _0x4607ac(_0x33707d,_0x2c4499);{const _0x20541e=_0x2c4499[_0xd051f9(0x294)][_0xd051f9(0x2ed)](_0x3ad880=>this[_0xd051f9(0x2c1)](_0x3ad880));return new(Y[_0x2c4499[(_0xd051f9(0x1e5))]]||_0x1464b3)(_0x33707d,_0x2c4499[_0xd051f9(0x2c0)],_0x2c4499[_0xd051f9(0x1f5)],_0x20541e);}}[_0x31a551(0x266)](_0x6eac49,_0x2de735=null){const _0x14131c=_0x31a551,_0x1c9b93=this[_0x14131c(0x1f8)][_0x14131c(0x1fa)](_0x6eac49),_0x11ad74=_0x2de735?this[_0x14131c(0x1f8)][_0x14131c(0x1fa)](_0x2de735):null,_0x176f7a=this[_0x14131c(0x23d)](_0x1c9b93,_0x11ad74),_0xa45a80=_0x176f7a[_0x176f7a[_0x14131c(0x1f3)]-0x1],_0x3a4e8c=new Map(),_0x52c2dc={'model':{},'attributes':{},'changes':[]},_0x1bf6bf=new Set(),_0x218882=new Map();for(let _0x506284=_0x176f7a[_0x14131c(0x1f3)]-0x1;_0x506284>=0x0;_0x506284--){const _0x503ec1=_0x176f7a[_0x506284];for(const _0x3f7777 of Object[_0x14131c(0x2e6)](_0x503ec1[_0x14131c(0x30d)]))if(_0x503ec1[_0x14131c(0x30d)][_0x3f7777][_0x14131c(0x25e)]){const _0x2d8040=_0x503ec1[_0x14131c(0x30d)][_0x3f7777][_0x14131c(0x25e)];_0x2d8040[_0x14131c(0x31a)]?(_0x1bf6bf[_0x14131c(0x287)](_0x3f7777),_0x218882[_0x14131c(0x1de)](_0x3f7777)&&_0x218882[_0x14131c(0x208)](_0x3f7777)[_0x14131c(0x1e1)]==_0x2d8040[_0x14131c(0x1e1)]?_0x218882[_0x14131c(0x261)](_0x3f7777):_0x218882[_0x14131c(0x2a6)](_0x3f7777,_0x2d8040)):_0x218882[_0x14131c(0x1de)](_0x3f7777)?(_0x1bf6bf[_0x14131c(0x261)](_0x3f7777),_0x218882[_0x14131c(0x261)](_0x3f7777)):(_0x1bf6bf[_0x14131c(0x287)](_0x3f7777),_0x218882[_0x14131c(0x2a6)](_0x3f7777,_0x2d8040));}else _0x1bf6bf[_0x14131c(0x287)](_0x3f7777);}for(const _0x131dff of _0x1bf6bf){const _0x408e3c=_0x218882[_0x14131c(0x1de)](_0x131dff)&&!_0x218882[_0x14131c(0x208)](_0x131dff)[_0x14131c(0x31a)];let _0x2dddf2=_0x408e3c?_0x176f7a[_0x14131c(0x1f3)]-0x1:0x0;const _0x5afa91=_0x408e3c?-0x1:0x1;for(;_0x176f7a[_0x2dddf2];){const _0x292c30=_0x176f7a[_0x2dddf2];if(_0x292c30[_0x14131c(0x30d)][_0x131dff]){const _0x5df3ee=_0x408e3c?_0x292c30[_0x14131c(0x30d)][_0x131dff][_0x14131c(0x244)]:_0x292c30[_0x14131c(0x30d)][_0x131dff][_0x14131c(0x2ca)];_0x52c2dc[_0x14131c(0x1f5)][_0x131dff]=_0x5df3ee?_0x5240af(_0x5df3ee):{};break;}_0x2dddf2+=_0x5afa91;}}for(const _0x187015 of _0x176f7a){_0x187015[_0x14131c(0x2d5)]={};for(const _0x1ec387 of _0x187015[_0x14131c(0x2af)])_0x3a4e8c[_0x14131c(0x2a6)](_0x1ec387['id'],_0x1ec387);for(const _0x5a83a5 of _0x1bf6bf){const _0x38abb5=_0x187015[_0x14131c(0x30d)][_0x5a83a5]?_0x187015[_0x14131c(0x30d)][_0x5a83a5][_0x14131c(0x1fe)]:'[]',_0xd954c5=_0x187015[_0x14131c(0x30d)][_0x5a83a5]?_0x187015[_0x14131c(0x30d)][_0x5a83a5][_0x14131c(0x28d)]:'[]';_0x187015[_0x14131c(0x2d5)][_0x5a83a5]={'insertions':this[_0x14131c(0x27d)](_0x38abb5),'deletions':this[_0x14131c(0x27d)](_0xd954c5)};}}for(const _0x4099d7 of _0x1bf6bf){let _0x269f82=null,_0x291e24=0x0;const _0x3bd1f3=new Map(Array[_0x14131c(0x28e)](_0x1c9b93[_0x14131c(0x2d5)][_0x4099d7][_0x14131c(0x1fe)][_0x14131c(0x258)])[_0x14131c(0x2ea)](([_0x24cd21])=>!_0x24cd21[_0x14131c(0x1f6)](_0x14131c(0x26f))));let _0x12d028=0x0;for(const _0x1a92a6 of _0x176f7a){const _0x49eabc=this[_0x14131c(0x27a)](_0x1a92a6[_0x14131c(0x2d5)][_0x4099d7][_0x14131c(0x1fe)]);_0x1a92a6==_0x1c9b93?(_0x269f82=_0x49eabc,_0x291e24=_0x269f82[_0x14131c(0x1f3)],_0x269f82[_0x14131c(0x2cd)](_0xaacb71=>{_0xaacb71['id']=_0x12d028++;}),this[_0x14131c(0x312)](_0x269f82)):this[_0x14131c(0x269)](_0x269f82,_0x49eabc);const _0x447fb0=_0x269f82[_0x14131c(0x2ea)](_0x3700b7=>!_0x3700b7[_0x14131c(0x1e0)])[_0x14131c(0x2ed)](_0x3d35b4=>_0x3d35b4['id']);let _0x548208=0x0;const _0x105bec=this[_0x14131c(0x27a)](_0x1a92a6[_0x14131c(0x2d5)][_0x4099d7][_0x14131c(0x28d)]);_0x105bec[_0x14131c(0x2cd)](_0x214cef=>{const _0x503037=_0x14131c;_0x214cef[_0x503037(0x204)]?_0x214cef['id']=_0x291e24++:_0x214cef['id']=_0x447fb0[_0x548208++];}),this[_0x14131c(0x312)](_0x105bec),this[_0x14131c(0x2fb)](_0x269f82,_0x14131c(0x1e0)),this[_0x14131c(0x2fb)](_0x105bec,_0x14131c(0x204)),_0x1a92a6==_0x1c9b93&&this[_0x14131c(0x256)](_0x269f82,_0x3bd1f3),_0x269f82=this[_0x14131c(0x255)](_0x269f82,_0x105bec),this[_0x14131c(0x20f)](_0x269f82),this[_0x14131c(0x2fb)](_0x269f82,_0x14131c(0x204));}_0x269f82=_0x269f82[_0x14131c(0x2ea)](_0x5a2a46=>!(_0x5a2a46[_0x14131c(0x1e0)]&&_0x5a2a46[_0x14131c(0x204)]));const _0x3848fd=new Map(_0xa45a80[_0x14131c(0x2d5)][_0x4099d7][_0x14131c(0x28d)][_0x14131c(0x258)]),_0x153c7c=new Set(_0x3bd1f3[_0x14131c(0x2e6)]());for(const _0x469d8d of _0x3848fd[_0x14131c(0x2e6)]())_0x153c7c[_0x14131c(0x261)](_0x469d8d);this[_0x14131c(0x267)](_0x269f82,_0x153c7c),this[_0x14131c(0x1ed)](_0x269f82),_0x269f82=this[_0x14131c(0x2b2)](_0x269f82),_0x269f82=this[_0x14131c(0x2bf)](_0x269f82),_0x269f82=this[_0x14131c(0x2ba)](_0x269f82);const {root:_0x1a6264,changes:_0x3c2fc7}=this[_0x14131c(0x1eb)](_0x269f82,_0x3a4e8c,_0x4099d7);_0x52c2dc[_0x14131c(0x2d5)][_0x4099d7]=_0x1a6264;const _0x5ad497=_0x218882[_0x14131c(0x208)](_0x4099d7);if(_0x5ad497){const _0x323b37=_0x3a4e8c[_0x14131c(0x208)](_0x5ad497[_0x14131c(0x1e1)]),_0x5819f5=new _0x534bf0({'author':_0x323b37,'type':_0x5ad497[_0x14131c(0x31a)]?_0x14131c(0x287):_0x14131c(0x25b),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4099d7});_0x3c2fc7[_0x14131c(0x247)](_0x5819f5),_0x52c2dc[_0x14131c(0x1f5)][_0x4099d7][_0x14131c(0x25a)]=_0x5819f5['id'];}_0x52c2dc[_0x14131c(0x296)]=_0x52c2dc[_0x14131c(0x296)][_0x14131c(0x2ef)](_0x3c2fc7);}return _0x52c2dc;}[_0x31a551(0x256)](_0x309770,_0x4b45f6){const _0x3238d8=_0x31a551;for(let _0x3cc9ea=0x0;_0x3cc9ea<_0x309770[_0x3238d8(0x1f3)];_0x3cc9ea++)for(const [_0x1461ca,_0x5d835a]of _0x4b45f6)_0x5d835a[_0x3238d8(0x2f6)][_0x3238d8(0x2f7)](_0x309770[_0x3cc9ea][_0x3238d8(0x24e)])&&_0x309770[_0x3cc9ea][_0x3238d8(0x1d6)][_0x3238d8(0x2a7)](_0x1461ca),_0x5d835a[_0x3238d8(0x307)][_0x3238d8(0x2f7)](_0x309770[_0x3cc9ea][_0x3238d8(0x2e5)])&&_0x309770[_0x3cc9ea][_0x3238d8(0x2b9)][_0x3238d8(0x2a7)](_0x1461ca);}[_0x31a551(0x255)](_0x1d2d8c,_0x3c5e98){const _0x521810=_0x31a551;let _0xed9d26=[],_0x2da92a=0x0,_0x5dbe80=0x0;for(;_0x2da92a<_0x1d2d8c[_0x521810(0x1f3)]||_0x5dbe80<_0x3c5e98[_0x521810(0x1f3)];){const _0x1aa8aa=_0x1d2d8c[_0x2da92a]||{},_0x549b66=_0x3c5e98[_0x5dbe80]||{};if(_0x1aa8aa['id']==_0x549b66['id'])_0x2da92a++,_0x5dbe80++,_0xed9d26[_0x521810(0x2a7)](_0x1aa8aa);else{if(_0x549b66[_0x521810(0x204)]&&_0x1aa8aa[_0x521810(0x1e0)]){const {commonTape:_0x4aa9a2,iEnd:_0x5d1f40,jEnd:_0x184e6d}=this[_0x521810(0x28c)](_0x1d2d8c,_0x2da92a,_0x3c5e98,_0x5dbe80);_0xed9d26=_0xed9d26[_0x521810(0x2ef)](_0x4aa9a2),_0x2da92a=_0x5d1f40,_0x5dbe80=_0x184e6d;}else _0x549b66[_0x521810(0x204)]?(_0x5dbe80++,_0xed9d26[_0x521810(0x2a7)](_0x549b66)):(_0x2da92a++,_0xed9d26[_0x521810(0x2a7)](_0x1aa8aa));}}return _0xed9d26;}[_0x31a551(0x267)](_0x47025e,_0x29db09){const _0x3943cd=_0x31a551,_0x19d97f=[];for(let _0x26fde1=0x0;_0x26fde1<_0x47025e[_0x3943cd(0x1f3)];_0x26fde1++){for(let _0x3465be=0x0;_0x3465be<_0x47025e[_0x26fde1][_0x3943cd(0x1d6)][_0x3943cd(0x1f3)];_0x3465be++){const _0x526f09=_0x47025e[_0x26fde1][_0x3943cd(0x1d6)][_0x3465be];if(!_0x29db09[_0x3943cd(0x1de)](_0x526f09))continue;const {group:_0x2e99f6,type:_0x47be92,authorId:_0x4f9fd5}=_0x8283b2(_0x526f09);_0x3943cd(0x250)!=_0x2e99f6||_0x3943cd(0x275)!=_0x47be92&&_0x3943cd(0x22f)!=_0x47be92||(_0x19d97f[_0x3943cd(0x247)]({'type':_0x47be92,'name':_0x526f09,'userId':_0x4f9fd5}),_0x47025e[_0x26fde1][_0x3943cd(0x1d6)][_0x3943cd(0x2ec)](_0x3465be,0x1),_0x3465be--);}_0x514cac(_0x47025e[_0x26fde1]);for(let _0x4af4ba=0x0;_0x4af4ba<_0x47025e[_0x26fde1][_0x3943cd(0x2b9)][_0x3943cd(0x1f3)];_0x4af4ba++){const _0x25bb8f=_0x47025e[_0x26fde1][_0x3943cd(0x2b9)][_0x4af4ba];if(!_0x29db09[_0x3943cd(0x1de)](_0x25bb8f))continue;const {group:_0x588087,type:_0x550b95}=_0x8283b2(_0x25bb8f);if(_0x3943cd(0x250)!=_0x588087||_0x3943cd(0x275)!=_0x550b95&&_0x3943cd(0x22f)!=_0x550b95)continue;_0x47025e[_0x26fde1][_0x3943cd(0x2b9)][_0x3943cd(0x2ec)](_0x4af4ba,0x1),_0x4af4ba--;const _0x22887b=_0x19d97f[_0x3943cd(0x254)](_0x204c89=>_0x204c89[_0x3943cd(0x2c0)]==_0x25bb8f);_0x22887b>-0x1&&_0x19d97f[_0x3943cd(0x2ec)](_0x22887b,0x1);}}function _0x8283b2(_0x2398c3){const _0x53acc7=_0x3943cd,_0x57125d=_0x2398c3[_0x53acc7(0x2b8)](':');return{'group':_0x57125d[0x0],'type':_0x57125d[0x1],'subType':_0x57125d[_0x53acc7(0x1f3)]>=0x5?_0x57125d[0x2]:null,'id':_0x57125d[_0x53acc7(0x1f3)]<0x5?_0x57125d[0x2]:_0x57125d[0x3],'authorId':_0x57125d[_0x53acc7(0x1f3)]<0x5?_0x57125d[0x3]:_0x57125d[0x4],'markerCount':0x6==_0x57125d[_0x53acc7(0x1f3)]?_0x57125d[0x5]:null};}function _0x514cac(_0x5b78fa){const _0x365ce6=_0x3943cd;for(let _0x2d718d=0x0;_0x2d718d<_0x19d97f[_0x365ce6(0x1f3)];_0x2d718d++){if(_0x5b78fa[_0x365ce6(0x1e0)]&&_0x365ce6(0x275)==_0x19d97f[_0x2d718d][_0x365ce6(0x1e5)])return _0x5b78fa[_0x365ce6(0x2a3)]=_0x19d97f[_0x2d718d],void delete _0x5b78fa[_0x365ce6(0x1e0)];if(!_0x5b78fa[_0x365ce6(0x1e0)]&&!_0x5b78fa[_0x365ce6(0x204)]&&_0x365ce6(0x22f)==_0x19d97f[_0x2d718d][_0x365ce6(0x1e5)])return void(_0x5b78fa[_0x365ce6(0x314)]=_0x19d97f[_0x2d718d]);}}}[_0x31a551(0x2fb)](_0xc4174c,_0x1e17f0){const _0xf228da=_0x31a551;let _0x4e79e4=0x0,_0x286223=!0x1;const _0x25bb99=new Map();for(const _0x4c6834 of _0xc4174c)_0x4c6834[_0x1e17f0]?_0x286223&&(_0x4e79e4++,_0x286223=!0x1):(_0x4e79e4++,_0x286223=!0x0),_0x25bb99[_0xf228da(0x2a6)](_0x4c6834['id'],_0x4e79e4);for(let _0x1cb29c=0x0;_0x1cb29c<_0xc4174c[_0xf228da(0x1f3)];_0x1cb29c++){if(_0xf228da(0x204)==_0x1e17f0&&_0xc4174c[_0x1cb29c][_0xf228da(0x1e0)]||_0xf228da(0x1e0)==_0x1e17f0&&_0xc4174c[_0x1cb29c][_0xf228da(0x204)])continue;if(_0xf228da(0x245)==_0xc4174c[_0x1cb29c][_0xf228da(0x1e5)]){_0xc4174c[_0x1cb29c][_0xf228da(0x2b0)]=0x0;continue;}const _0x1a22b4=_0x25bb99[_0xf228da(0x208)](_0xc4174c[_0x1cb29c][_0xf228da(0x27b)]),_0x59bafd=_0x25bb99[_0xf228da(0x208)](_0xc4174c[_0x1cb29c]['id']);_0xc4174c[_0x1cb29c][_0xf228da(0x2b0)]=_0x1a22b4-_0x59bafd;}}[_0x31a551(0x23d)](_0x3974b0,_0xb93687,_0x57c8f0=!0x1){const _0x1408f6=_0x31a551,_0x2bf7ab=[];let _0x1a15c7=this[_0x1408f6(0x1f8)][_0x1408f6(0x2b5)](_0x3974b0),_0xaf2789=this[_0x1408f6(0x1f8)][_0x1408f6(0x2b5)](_0xb93687);for(-0x1==_0xaf2789&&(_0xaf2789=this[_0x1408f6(0x1f8)][_0x1408f6(0x22b)][_0x1408f6(0x1f3)],_0x57c8f0=!0x1);_0x1a15c7<_0xaf2789;)_0x2bf7ab[_0x1408f6(0x2a7)](this[_0x1408f6(0x1f8)][_0x1408f6(0x1fa)](_0x1a15c7)),_0x1a15c7++;return _0x57c8f0&&_0x2bf7ab[_0x1408f6(0x2a7)](this[_0x1408f6(0x1f8)][_0x1408f6(0x1fa)](_0x1a15c7)),_0x2bf7ab;}[_0x31a551(0x28c)](_0xd8e4dd,_0x498643,_0x36abb6,_0x45f0e2){const _0x35d21e=_0x31a551,_0x513361=this[_0x35d21e(0x295)][_0x35d21e(0x2d5)][_0x35d21e(0x2b7)];let _0x350629=_0x498643;for(;_0xd8e4dd[_0x350629]&&_0xd8e4dd[_0x350629][_0x35d21e(0x1e0)];)_0x350629++;let _0x141aeb=_0x45f0e2;for(;_0x36abb6[_0x141aeb]&&_0x36abb6[_0x141aeb][_0x35d21e(0x204)];)_0x141aeb++;_0x35cb85(_0xd8e4dd,_0x498643,_0x350629),_0x35cb85(_0x36abb6,_0x45f0e2,_0x141aeb);const _0x9147e4=_0x36abb6[_0x35d21e(0x223)](_0x45f0e2,_0x141aeb)[_0x35d21e(0x2ef)](_0xd8e4dd[_0x35d21e(0x223)](_0x498643,_0x350629));return _0x9147e4[_0x35d21e(0x276)]((_0x32a892,_0x2a4292)=>_0x32a892[_0x35d21e(0x317)]!=_0x2a4292[_0x35d21e(0x317)]?_0x32a892[_0x35d21e(0x317)]-_0x2a4292[_0x35d21e(0x317)]:_0x32a892[_0x35d21e(0x2c4)]!=_0x2a4292[_0x35d21e(0x2c4)]?_0x32a892[_0x35d21e(0x2c4)]-_0x2a4292[_0x35d21e(0x2c4)]:_0x32a892[_0x35d21e(0x2b0)]!=_0x2a4292[_0x35d21e(0x2b0)]?_0x2a4292[_0x35d21e(0x2b0)]-_0x32a892[_0x35d21e(0x2b0)]:!!_0x32a892[_0x35d21e(0x1e0)]!=!!_0x2a4292[_0x35d21e(0x1e0)]?-0x1==_0x32a892[_0x35d21e(0x317)]||0x0==_0x32a892[_0x35d21e(0x317)]?_0x32a892[_0x35d21e(0x1e0)]?-0x1:0x1:_0x32a892[_0x35d21e(0x1e0)]?0x1:-0x1:_0x32a892[_0x35d21e(0x235)]-_0x2a4292[_0x35d21e(0x235)]),{'commonTape':_0x9147e4,'iEnd':_0x350629,'jEnd':_0x141aeb};function _0x35cb85(_0x16532f,_0x3a882f,_0x2fff67){const _0x307df4=_0x35d21e;let _0x481671=-0x1,_0xbb1215=Number[_0x307df4(0x203)],_0x54c0cb=!0x0;for(let _0xc898=_0x3a882f;_0xc898<_0x2fff67;_0xc898++)if(_0x513361[_0x307df4(0x2a4)](_0x16532f[_0xc898][_0x307df4(0x2b6)])||(_0x54c0cb=!0x1),_0x16532f[_0xc898][_0x307df4(0x2b6)][_0x307df4(0x2f9)]<_0x3a882f&&(_0x481671=_0xc898),_0x16532f[_0xc898][_0x307df4(0x2b6)][_0x307df4(0x1d0)]>=_0x2fff67){_0xbb1215=_0xc898;break;}_0x54c0cb&&(_0x481671=_0x2fff67-0x1);for(let _0x3094b1=_0x3a882f;_0x3094b1<_0x2fff67;_0x3094b1++)_0x16532f[_0x3094b1][_0x307df4(0x317)]=_0x3094b1<=_0x481671?-0x1:_0x3094b1<_0xbb1215?0x0:0x1,_0x16532f[_0x3094b1][_0x307df4(0x235)]=_0x3094b1;let _0x251db2=0x0;for(let _0x4988be=_0x3a882f;_0x4988be<=_0x481671;_0x4988be++)0x0==_0x16532f[_0x4988be][_0x307df4(0x2b0)]?_0x16532f[_0x4988be][_0x307df4(0x2c4)]=_0x251db2:(_0x251db2++,_0x16532f[_0x4988be][_0x307df4(0x2c4)]=_0x251db2,_0x251db2++);for(let _0x35e45f=_0x3a882f;_0x35e45f<_0x2fff67;_0x35e45f++)0x0==_0x16532f[_0x35e45f][_0x307df4(0x317)]&&(_0x16532f[_0x35e45f][_0x307df4(0x2c4)]=_0x251db2);_0x251db2=0x0;for(let _0x26b111=_0x2fff67-0x1;_0x26b111>=_0xbb1215;_0x26b111--)0x0==_0x16532f[_0x26b111][_0x307df4(0x2b0)]?_0x16532f[_0x26b111][_0x307df4(0x2c4)]=_0x251db2:(_0x251db2--,_0x16532f[_0x26b111][_0x307df4(0x2c4)]=_0x251db2,_0x251db2--);}}[_0x31a551(0x1ed)](_0x2c2521){const _0x802b43=_0x31a551,_0x2487b7=new Map(),_0x2a300a=this[_0x802b43(0x295)][_0x802b43(0x2d5)][_0x802b43(0x2b7)];for(let _0x184f81=0x1;_0x184f81<_0x2c2521[_0x802b43(0x1f3)];_0x184f81++){let _0x531220,_0x5ebaf2,_0x3cbdb6;const _0x3a6b17=_0x2c2521[_0x184f81],_0x575fb7=_0x2c2521[_0x184f81-0x1];if(_0x802b43(0x245)==_0x3a6b17[_0x802b43(0x1e5)])continue;if(_0x3a6b17[_0x802b43(0x1e5)]!=_0x575fb7[_0x802b43(0x1e5)])continue;if(!_0x2a300a[_0x802b43(0x232)](_0x575fb7[_0x802b43(0x2b6)])||_0x2a300a[_0x802b43(0x205)](_0x575fb7[_0x802b43(0x2b6)]))continue;if(!_0x2a300a[_0x802b43(0x232)](_0x3a6b17[_0x802b43(0x2b6)])||_0x2a300a[_0x802b43(0x205)](_0x3a6b17[_0x802b43(0x2b6)]))continue;if((_0x2c2521[_0x184f81][_0x802b43(0x1e0)]||_0x2c2521[_0x184f81][_0x802b43(0x2a3)])&&_0x2c2521[_0x184f81-0x1][_0x802b43(0x204)])_0x531220=_0x2c2521[_0x184f81],_0x5ebaf2=_0x2c2521[_0x184f81-0x1],_0x3cbdb6=_0x184f81-0x1;else{if(!_0x2c2521[_0x184f81][_0x802b43(0x204)]||!_0x2c2521[_0x184f81-0x1][_0x802b43(0x1e0)]&&!_0x2c2521[_0x184f81-0x1][_0x802b43(0x2a3)])continue;_0x531220=_0x2c2521[_0x184f81-0x1],_0x5ebaf2=_0x2c2521[_0x184f81],_0x3cbdb6=_0x184f81;}const _0x2ed6fd=_0x531220[_0x802b43(0x2c4)]==_0x5ebaf2[_0x802b43(0x2c4)],_0x30137d=Math[_0x802b43(0x259)](_0x531220[_0x802b43(0x2c4)])<Math[_0x802b43(0x259)](_0x5ebaf2[_0x802b43(0x2c4)])&&0x0==_0x5ebaf2[_0x802b43(0x2b0)];(_0x2ed6fd||_0x30137d)&&(_0x2487b7[_0x802b43(0x2a6)](_0x5ebaf2['id'],_0x531220['id']),_0x2c2521[_0x802b43(0x2ec)](_0x3cbdb6,0x1),_0x184f81--,_0x531220[_0x802b43(0x1e0)]=!0x1);}for(let _0x144686=0x0;_0x144686<_0x2c2521[_0x802b43(0x1f3)];_0x144686++)_0x2487b7[_0x802b43(0x1de)](_0x2c2521[_0x144686][_0x802b43(0x27b)])&&(_0x2c2521[_0x144686][_0x802b43(0x27b)]=_0x2487b7[_0x802b43(0x208)](_0x2c2521[_0x144686][_0x802b43(0x27b)]));}[_0x31a551(0x2b2)](_0x6dd3d4){const _0x27c8e7=_0x31a551,_0xf2b206=new Set(_0x6dd3d4[_0x27c8e7(0x2ed)](_0x4a2a84=>_0x4a2a84['id']));for(let _0x14c85b=0x0;_0x14c85b<_0x6dd3d4[_0x27c8e7(0x1f3)];_0x14c85b++)_0xf2b206[_0x27c8e7(0x1de)](_0x6dd3d4[_0x14c85b][_0x27c8e7(0x27b)])||0x0==_0x6dd3d4[_0x14c85b][_0x27c8e7(0x2b0)]||(_0x6dd3d4[_0x14c85b][_0x27c8e7(0x2e8)]=!0x0);return _0x6dd3d4[_0x27c8e7(0x2ea)](_0x186a87=>!_0x186a87[_0x27c8e7(0x2e8)]);}[_0x31a551(0x2bf)](_0x1e13f4){const _0x30ccd0=_0x31a551,_0x2ba8ba=new Set();for(let _0x40f421=0x0;_0x40f421<_0x1e13f4[_0x30ccd0(0x1f3)];_0x40f421++){if(_0x2ba8ba[_0x30ccd0(0x1de)](_0x1e13f4[_0x40f421]['id'])&&_0x1e13f4[_0x40f421][_0x30ccd0(0x204)]&&(_0x1e13f4[_0x40f421][_0x30ccd0(0x2e8)]=!0x0),_0x1e13f4[_0x40f421][_0x30ccd0(0x2e8)])continue;if(0x0==_0x1e13f4[_0x40f421][_0x30ccd0(0x2b0)])continue;if(_0x30ccd0(0x2aa)!=_0x1e13f4[_0x40f421][_0x30ccd0(0x1e5)])continue;if(null==_0x1e13f4[_0x40f421][_0x30ccd0(0x27b)])continue;let _0x3ff687=_0x40f421+0x1,_0x51c45a=0x0;for(;_0x1e13f4[_0x3ff687]['id']!=_0x1e13f4[_0x40f421][_0x30ccd0(0x27b)];)_0x30ccd0(0x2aa)==_0x1e13f4[_0x3ff687][_0x30ccd0(0x1e5)]?_0x51c45a++:_0x30ccd0(0x286)==_0x1e13f4[_0x3ff687][_0x30ccd0(0x1e5)]&&_0x51c45a--,_0x3ff687++;if(0x0!=_0x51c45a){if(_0x1e13f4[_0x40f421][_0x30ccd0(0x204)])_0x1e13f4[_0x40f421][_0x30ccd0(0x2e8)]=!0x0;else{for(;_0x3ff687!=_0x40f421;)_0x1e13f4[_0x3ff687][_0x30ccd0(0x204)]&&0x0!=_0x1e13f4[_0x3ff687][_0x30ccd0(0x2b0)]&&(_0x1e13f4[_0x3ff687][_0x30ccd0(0x2e8)]=!0x0,_0x2ba8ba[_0x30ccd0(0x287)](_0x1e13f4[_0x3ff687][_0x30ccd0(0x27b)])),_0x3ff687--;}}}return _0x1e13f4[_0x30ccd0(0x2ea)](_0x20223d=>!_0x20223d[_0x30ccd0(0x2e8)]);}[_0x31a551(0x2ba)](_0xf87ef1){const _0x12b053=_0x31a551,_0x407eee=this[_0x12b053(0x295)][_0x12b053(0x2d5)][_0x12b053(0x2b7)];for(let _0x10df03=0x0;_0x10df03<_0xf87ef1[_0x12b053(0x1f3)];_0x10df03++){if(!(_0xf87ef1[_0x10df03][_0x12b053(0x1e0)]||_0xf87ef1[_0x10df03][_0x12b053(0x2a3)]||_0xf87ef1[_0x10df03][_0x12b053(0x204)]||_0xf87ef1[_0x10df03][_0x12b053(0x314)]))continue;if(0x0==_0xf87ef1[_0x10df03][_0x12b053(0x2b0)])continue;const _0x53de88=_0xf87ef1[_0x10df03][_0x12b053(0x2b6)];_0x407eee[_0x12b053(0x232)](_0x53de88)||_0x407eee[_0x12b053(0x205)](_0x53de88)||(_0xf87ef1[_0x10df03][_0x12b053(0x1e0)]&&delete _0xf87ef1[_0x10df03][_0x12b053(0x1e0)],_0xf87ef1[_0x10df03][_0x12b053(0x2a3)]&&delete _0xf87ef1[_0x10df03][_0x12b053(0x2a3)],_0xf87ef1[_0x10df03][_0x12b053(0x314)]&&delete _0xf87ef1[_0x10df03][_0x12b053(0x314)],_0xf87ef1[_0x10df03][_0x12b053(0x204)]&&(_0xf87ef1[_0x10df03][_0x12b053(0x2e8)]=!0x0));}return _0xf87ef1[_0x12b053(0x2ea)](_0x564c81=>!_0x564c81[_0x12b053(0x2e8)]);}[_0x31a551(0x1eb)](_0x418ab2,_0x543f54,_0x2e86df){const _0xb0fe78=_0x31a551,_0x54fd53=new _0x56e7b6(),_0x21936d=[],_0xd975a6=new Map(),_0x27dd6e=this[_0xb0fe78(0x295)][_0xb0fe78(0x2d5)],_0x16e400=_0x27dd6e[_0xb0fe78(0x2b7)],_0x811ee5=[_0x54fd53],_0x340126={},_0x40360c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1854b8=null;const _0x18cff4=[0x0];for(let _0x123b88=0x0;_0x123b88<_0x418ab2[_0xb0fe78(0x1f3)];_0x123b88++)if(_0xb0fe78(0x2aa)===_0x418ab2[_0x123b88][_0xb0fe78(0x1e5)]){_0x418ab2[_0x123b88][_0xb0fe78(0x24e)]=_0x27dd6e[_0xb0fe78(0x2ac)](_0x54fd53,_0x18cff4);const _0x46a902=new _0x405b33(_0x418ab2[_0x123b88][_0xb0fe78(0x2b6)][_0xb0fe78(0x2c0)],_0x418ab2[_0x123b88][_0xb0fe78(0x2b6)][_0xb0fe78(0x239)]());_0x811ee5[0x0][_0xb0fe78(0x29c)](_0x46a902),_0x18cff4[_0xb0fe78(0x2a7)](0x0),_0x811ee5[_0xb0fe78(0x247)](_0x46a902),_0x418ab2[_0x123b88][_0xb0fe78(0x2e5)]=_0x27dd6e[_0xb0fe78(0x2ac)](_0x54fd53,_0x18cff4);}else _0xb0fe78(0x286)===_0x418ab2[_0x123b88][_0xb0fe78(0x1e5)]?(_0x811ee5[_0xb0fe78(0x27e)](),_0x418ab2[_0x123b88][_0xb0fe78(0x24e)]=_0x27dd6e[_0xb0fe78(0x2ac)](_0x54fd53,_0x18cff4),_0x18cff4[_0xb0fe78(0x222)](),_0x18cff4[_0x18cff4[_0xb0fe78(0x1f3)]-0x1]++,_0x418ab2[_0x123b88][_0xb0fe78(0x2e5)]=_0x27dd6e[_0xb0fe78(0x2ac)](_0x54fd53,_0x18cff4)):(_0x418ab2[_0x123b88][_0xb0fe78(0x24e)]=_0x27dd6e[_0xb0fe78(0x2ac)](_0x54fd53,_0x18cff4),_0x1854b8?_0x1854b8[_0xb0fe78(0x316)]+=_0x418ab2[_0x123b88][_0xb0fe78(0x2b6)][_0xb0fe78(0x1f1)]:_0x1854b8=new _0x403fb3(_0x418ab2[_0x123b88][_0xb0fe78(0x2b6)][_0xb0fe78(0x1f1)],_0x418ab2[_0x123b88][_0xb0fe78(0x2b6)][_0xb0fe78(0x239)]()),_0x418ab2[_0x123b88+0x1]&&_0xb0fe78(0x245)===_0x418ab2[_0x123b88+0x1][_0xb0fe78(0x1e5)]&&_0x378da4(_0x1854b8,_0x418ab2[_0x123b88+0x1][_0xb0fe78(0x2b6)])||(_0x811ee5[0x0][_0xb0fe78(0x29c)](_0x1854b8),_0x1854b8=null),_0x18cff4[_0x18cff4[_0xb0fe78(0x1f3)]-0x1]+=_0x418ab2[_0x123b88][_0xb0fe78(0x2b6)][_0xb0fe78(0x260)],_0x418ab2[_0x123b88][_0xb0fe78(0x2e5)]=_0x27dd6e[_0xb0fe78(0x2ac)](_0x54fd53,_0x18cff4));for(let _0x50f372=0x0;_0x50f372<_0x418ab2[_0xb0fe78(0x1f3)];_0x50f372++){const _0x1acc87=_0x418ab2[_0x50f372][_0xb0fe78(0x24e)],_0x13a51e=_0x418ab2[_0x50f372][_0xb0fe78(0x2e5)];for(const _0x5d8550 of _0x418ab2[_0x50f372][_0xb0fe78(0x1d6)])_0xd975a6[_0xb0fe78(0x2a6)](_0x5d8550,{'start':_0x1acc87,'end':null});_0x268bbb(_0xb0fe78(0x314),_0x50f372,_0x1acc87,_0x13a51e),_0x268bbb(_0xb0fe78(0x2a3),_0x50f372,_0x1acc87,_0x13a51e),_0x268bbb(_0xb0fe78(0x204),_0x50f372,_0x1acc87,_0x13a51e),_0x268bbb(_0xb0fe78(0x1e0),_0x50f372,_0x1acc87,_0x13a51e);for(const _0x35f798 of _0x418ab2[_0x50f372][_0xb0fe78(0x2b9)]){_0xd975a6[_0xb0fe78(0x208)](_0x35f798)[_0xb0fe78(0x307)]=_0x13a51e;}}for(const [_0x3c6efa,_0x23585f]of _0xd975a6){const _0x1f9672=this[_0xb0fe78(0x295)][_0xb0fe78(0x2d5)][_0xb0fe78(0x2d0)](_0x23585f[_0xb0fe78(0x2f6)],_0x23585f[_0xb0fe78(0x307)]);_0x54fd53[_0xb0fe78(0x258)][_0xb0fe78(0x2a6)](_0x3c6efa,_0x1f9672);}return _0x21936d[_0xb0fe78(0x276)]((_0xd0a764,_0x31163f)=>{const _0x59d1e6=_0xb0fe78,_0x35fc64=_0x54fd53[_0x59d1e6(0x258)][_0x59d1e6(0x208)](_0x59d1e6(0x26f)+_0xd0a764['id']),_0x44e136=_0x54fd53[_0x59d1e6(0x258)][_0x59d1e6(0x208)](_0x59d1e6(0x26f)+_0x31163f['id']);return _0x35fc64[_0x59d1e6(0x2f6)][_0x59d1e6(0x26b)](_0x44e136[_0x59d1e6(0x2f6)])?-0x1:_0x35fc64[_0x59d1e6(0x2f6)][_0x59d1e6(0x23a)](_0x44e136[_0x59d1e6(0x2f6)])?0x1:_0x35fc64[_0x59d1e6(0x307)][_0x59d1e6(0x26b)](_0x44e136[_0x59d1e6(0x307)])?-0x1:_0x35fc64[_0x59d1e6(0x307)][_0x59d1e6(0x23a)](_0x44e136[_0x59d1e6(0x307)])?0x1:_0x59d1e6(0x287)===_0xd0a764[_0x59d1e6(0x1e5)]?-0x1:0x1;}),{'root':_0x54fd53,'changes':_0x21936d};function _0x268bbb(_0x304cd7,_0x151cd0,_0x32dcf3,_0x4e528f){const _0x39e559=_0xb0fe78,_0x45abce=!!_0x418ab2[_0x151cd0][_0x304cd7],_0x35fd27=_0x45abce?_0x418ab2[_0x151cd0][_0x304cd7][_0x39e559(0x1e1)]:null,_0x384e55=_0x151cd0===_0x418ab2[_0x39e559(0x1f3)]-0x1,_0x665b39=_0x40360c[_0x304cd7][0x0],_0xf3e1a=_0x16e400[_0x39e559(0x2f4)](_0x418ab2[_0x151cd0][_0x39e559(0x2b6)]);!_0x340126[_0x304cd7]&&_0x45abce?_0x340126[_0x304cd7]={'start':_0x32dcf3,'tapeItem':_0x418ab2[_0x151cd0],'userId':_0x35fd27,'type':_0x304cd7}:_0x340126[_0x304cd7]&&!_0x45abce?(_0x340126[_0x304cd7][_0x39e559(0x307)]=_0x32dcf3,_0x142afc(_0x340126[_0x304cd7]),_0x340126[_0x304cd7]=null):_0x340126[_0x304cd7]&&_0x45abce&&_0x340126[_0x304cd7][_0x39e559(0x1e1)]!==_0x35fd27&&(_0x340126[_0x304cd7][_0x39e559(0x307)]=_0x32dcf3,_0x665b39&&_0x665b39[_0x39e559(0x1e1)]===_0x340126[_0x304cd7][_0x39e559(0x1e1)]||_0x142afc(_0x340126[_0x304cd7]),_0x340126[_0x304cd7]={'start':_0x32dcf3,'tapeItem':_0x418ab2[_0x151cd0],'userId':_0x35fd27,'type':_0x304cd7}),_0x340126[_0x304cd7]&&_0xf3e1a&&(_0x39e559(0x2aa)!==_0x418ab2[_0x151cd0][_0x39e559(0x1e5)]||_0x665b39&&_0x665b39[_0x39e559(0x1e1)]===_0x35fd27||_0x40360c[_0x304cd7][_0x39e559(0x247)]({'userId':_0x35fd27,'object':_0x418ab2[_0x151cd0][_0x39e559(0x2b6)],'change':_0x340126[_0x304cd7]}),_0x39e559(0x286)===_0x418ab2[_0x151cd0][_0x39e559(0x1e5)]&&_0x665b39&&_0x665b39[_0x39e559(0x2ae)]===_0x418ab2[_0x151cd0][_0x39e559(0x2b6)]&&(_0x40360c[_0x304cd7][_0x39e559(0x27e)](),_0x340126[_0x304cd7]=_0x665b39[_0x39e559(0x2db)])),_0x340126[_0x304cd7]&&_0x384e55&&(_0x340126[_0x304cd7][_0x39e559(0x307)]=_0x4e528f,_0x142afc(_0x340126[_0x304cd7]),_0x340126[_0x304cd7]=null);}function _0x142afc({start:_0x2cc506,end:_0x5564b6,tapeItem:_0x44d359,userId:_0x4e8961,type:_0x4e0493}){const _0x41684a=_0xb0fe78,_0x953ac9=_0x44d359[_0x41684a(0x2b6)],_0x5d2deb=_0x27dd6e[_0x41684a(0x2b7)][_0x41684a(0x232)](_0x953ac9)&&!_0x27dd6e[_0x41684a(0x2b7)][_0x41684a(0x205)](_0x953ac9),_0x3c498b=_0x2cc506[_0x41684a(0x2c9)]==_0x5564b6[_0x41684a(0x219)]&&_0x5564b6[_0x41684a(0x283)];if(_0x5d2deb&&_0x3c498b)return;const _0x2b810d=_0x27dd6e[_0x41684a(0x2d0)](_0x2cc506,_0x5564b6),_0x4c0e8e=_0x543f54[_0x41684a(0x208)](_0x4e8961),_0x2ab417=new _0x534bf0({'author':_0x4c0e8e,'type':_0x41684a(0x1e0)==_0x4e0493||_0x41684a(0x2a3)==_0x4e0493?_0x41684a(0x287):_0x41684a(0x25b),'data':{'isSuggestion':_0x41684a(0x2a3)==_0x4e0493||_0x41684a(0x314)==_0x4e0493},'createdAt':new Date(),'rootName':_0x2e86df});_0x21936d[_0x41684a(0x2a7)](_0x2ab417),_0x54fd53[_0x41684a(0x258)][_0x41684a(0x2a6)](_0x41684a(0x26f)+_0x2ab417['id'],_0x2b810d);}function _0x378da4(_0x54a9f7,_0x155bb6){const _0x4b725f=_0xb0fe78,_0x3c2409=_0x54a9f7[_0x4b725f(0x239)](),_0x4804d1=_0x155bb6[_0x4b725f(0x239)]();for(const _0x1aec22 of _0x3c2409){if(_0x1aec22[0x1]!==_0x155bb6[_0x4b725f(0x281)](_0x1aec22[0x0]))return!0x1;_0x4804d1[_0x4b725f(0x311)]();}return _0x4804d1[_0x4b725f(0x311)]()[_0x4b725f(0x246)];}}[_0x31a551(0x293)](){const _0x39b45a=_0x31a551;this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x2fd))[_0x39b45a(0x1fb)]({'view':_0x39b45a(0x22c)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x322))[_0x39b45a(0x31f)]({'model':_0x39b45a(0x22c),'view':_0x558eb6=>{const _0x5995b3=_0x39b45a,_0x3cdb5d=_0x558eb6[_0x5995b3(0x240)][_0x5995b3(0x2b8)](':')[0x1],_0x3e427e=this[_0x5995b3(0x1d8)](_0x3cdb5d);if(!_0x3e427e)return null;const _0x598316=_0x5995b3(0x287)==_0x3e427e[_0x5995b3(0x1e5)]?_0x5995b3(0x275):_0x5995b3(0x22f),_0x4a5d9c=[_0x5995b3(0x28a),_0x5995b3(0x2b4)+_0x598316];return _0x3e427e[_0x5995b3(0x1f1)][_0x5995b3(0x2d1)]&&_0x4a5d9c[_0x5995b3(0x2a7)](_0x5995b3(0x2b4)+_0x598316+_0x5995b3(0x29e)),this[_0x5995b3(0x1ec)]==_0x3e427e&&_0x4a5d9c[_0x5995b3(0x2a7)](_0x5995b3(0x2bc)),{'classes':_0x4a5d9c,'attributes':{'data-change-id':_0x3cdb5d}};}}),this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x2fd))[_0x39b45a(0x287)](_0x3d1f67=>{const _0x29f597=_0x39b45a;_0x3d1f67['on'](_0x29f597(0x230),(_0x4f1c90,_0x3b969a,_0x4b228c)=>{const _0x5764a0=_0x29f597,_0xcae612=_0x3b969a[_0x5764a0(0x214)][_0x5764a0(0x2cb)](0x0);if(!_0xcae612||!_0xcae612['is'](_0x5764a0(0x2bb),_0x5764a0(0x2a0)))return;if(!_0x4b228c[_0x5764a0(0x1df)][_0x5764a0(0x20a)](_0xcae612,{'attributes':[_0x5764a0(0x2f2),_0x5764a0(0x2e4)]}))return;const _0x1902c2=_0x3b969a[_0x5764a0(0x320)][_0x5764a0(0x2f6)][_0x5764a0(0x2c9)];_0x4b228c[_0x5764a0(0x2fa)][_0x5764a0(0x2c6)](_0x5764a0(0x2f2),_0xcae612[_0x5764a0(0x281)](_0x5764a0(0x2f2)),_0x1902c2),_0x4b228c[_0x5764a0(0x2fa)][_0x5764a0(0x2c6)](_0x5764a0(0x2e4),_0xcae612[_0x5764a0(0x281)](_0x5764a0(0x2e4)),_0x1902c2);},{'priority':_0x29f597(0x2eb)});}),this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x2fd))[_0x39b45a(0x287)](_0x28961d=>{const _0x58a7ae=_0x39b45a;_0x28961d['on'](_0x58a7ae(0x2bb),(_0x4b0ee4,_0x47bbd0,_0x14c9a9)=>{const _0x52d85c=_0x58a7ae;if(!_0x14c9a9[_0x52d85c(0x1df)][_0x52d85c(0x20a)](_0x47bbd0[_0x52d85c(0x214)],{'attributes':[_0x52d85c(0x2f2),_0x52d85c(0x2e4)]}))return;if(_0x47bbd0[_0x52d85c(0x320)][_0x52d85c(0x273)])return;const _0x1762c8=_0x47bbd0[_0x52d85c(0x320)][_0x52d85c(0x2f6)][_0x52d85c(0x2c9)];_0x1762c8[_0x52d85c(0x1ce)](_0x52d85c(0x2f2))||_0x1762c8[_0x52d85c(0x1ce)](_0x52d85c(0x299))||(_0x14c9a9[_0x52d85c(0x2fa)][_0x52d85c(0x2c6)](_0x52d85c(0x2f2),_0x47bbd0[_0x52d85c(0x214)][_0x52d85c(0x281)](_0x52d85c(0x2f2)),_0x1762c8),_0x14c9a9[_0x52d85c(0x2fa)][_0x52d85c(0x2c6)](_0x52d85c(0x2e4),_0x47bbd0[_0x52d85c(0x214)][_0x52d85c(0x281)](_0x52d85c(0x2e4)),_0x1762c8));},{'priority':_0x58a7ae(0x2eb)});}),this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x2fd))[_0x39b45a(0x248)]({'view':{'name':_0x39b45a(0x22d),'attributes':{'vid':!0x0}},'model':{'key':_0x39b45a(0x299),'value':_0x225d85=>_0x225d85[_0x39b45a(0x281)](_0x39b45a(0x299))}}),this[_0x39b45a(0x295)][_0x39b45a(0x2d5)][_0x39b45a(0x2b7)]['on'](_0x39b45a(0x21c),(_0x57a60e,[,_0x18825e])=>{const _0x527e10=_0x39b45a;[_0x527e10(0x2f2),_0x527e10(0x2e4),_0x527e10(0x299)][_0x527e10(0x290)](_0x18825e)&&(_0x57a60e[_0x527e10(0x2df)]=!0x0,_0x57a60e[_0x527e10(0x1ff)]());},{'priority':_0x39b45a(0x2a8)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x279))[_0x39b45a(0x287)](_0x3708cb=>{const _0x785360=_0x39b45a;_0x3708cb['on'](_0x785360(0x1d5),(_0x345d6c,_0x3aa5d6,_0x3abcb5)=>{const _0x713cd7=_0x785360;if('\x20'!=_0x3aa5d6[_0x713cd7(0x2b6)][_0x713cd7(0x1f1)]||_0x3aa5d6[_0x713cd7(0x2b6)][_0x713cd7(0x219)][_0x713cd7(0x1d4)]>0x1)return;if(!_0x3abcb5[_0x713cd7(0x1df)][_0x713cd7(0x20a)](_0x3aa5d6[_0x713cd7(0x2b6)],_0x345d6c[_0x713cd7(0x2c0)]))return;const _0x5e2a1a=_0x3abcb5[_0x713cd7(0x2fa)],_0x241a68=_0x3abcb5[_0x713cd7(0x241)][_0x713cd7(0x1d7)](_0x3aa5d6[_0x713cd7(0x23f)]);_0x5e2a1a[_0x713cd7(0x291)](_0x241a68,_0x5e2a1a[_0x713cd7(0x28b)](_0x713cd7(0x22d)));});}),this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x279))[_0x39b45a(0x2de)]({'model':_0x39b45a(0x22c)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d8)][_0x39b45a(0x21a)]['on'](_0x39b45a(0x220),function(_0x417553){const _0x296a5b=_0x39b45a,_0x108732=_0x417553[_0x296a5b(0x257)][_0x296a5b(0x208)](_0x296a5b(0x2a2));return(_0x5681d5,_0x3dbc91,_0x3500fa)=>{const _0x287fa8=_0x296a5b,_0x112d2b=_0x3dbc91[_0x287fa8(0x240)][_0x287fa8(0x2b8)](':')[0x1],_0x3057cb=_0x108732[_0x287fa8(0x1d8)](_0x112d2b);if(!_0x3057cb)return null;const _0x4b23fb=_0x287fa8(0x287)==_0x3057cb[_0x287fa8(0x1e5)]?_0x287fa8(0x2b8):_0x287fa8(0x27f);if(!_0x3500fa[_0x287fa8(0x1df)][_0x287fa8(0x24c)](_0x3dbc91[_0x287fa8(0x308)],_0x5681d5[_0x287fa8(0x2c0)]))return;const _0x5f1ae5=_0x3dbc91[_0x287fa8(0x308)][_0x287fa8(0x2b3)](),_0x381a9a=_0x3dbc91[_0x287fa8(0x308)][_0x287fa8(0x2f6)],_0x28ebbc=_0x417553[_0x287fa8(0x2d5)][_0x287fa8(0x2b7)];let _0x64a38e=null,_0x15c497=null,_0x3fed28=!0x1,_0x445660=!0x1;for(const _0x5a46ea of _0x5f1ae5){const _0x4472a6=_0x5a46ea[_0x287fa8(0x2b6)];_0x3fed28=_0x3fed28||_0x28ebbc[_0x287fa8(0x28f)](_0x4472a6);const _0xbccfce=_0x3500fa[_0x287fa8(0x241)][_0x287fa8(0x1cd)](_0x4472a6);if(_0xbccfce&&_0xbccfce[_0x287fa8(0x206)](_0x287fa8(0x321)))return;_0x287fa8(0x286)==_0x5a46ea[_0x287fa8(0x1e5)]&&(_0x28ebbc[_0x287fa8(0x232)](_0x4472a6)&&!_0x28ebbc[_0x287fa8(0x205)](_0x4472a6)&&(_0x4472a6[_0x287fa8(0x202)]||_0x381a9a[_0x287fa8(0x201)]?_0x64a38e&&_0x64a38e[_0x287fa8(0x219)]==_0x4472a6||(_0x64a38e=_0x4472a6,_0x432adc(_0x5a46ea[_0x287fa8(0x24e)]),_0x445660=!0x0):_0x15c497=_0x15c497||_0x5a46ea[_0x287fa8(0x24e)]));}function _0x432adc(_0x9bef73){const _0x487e2a=_0x287fa8,_0x54ef90=_0x3500fa[_0x487e2a(0x2fa)][_0x487e2a(0x21d)](_0x487e2a(0x22d),{'class':_0x487e2a(0x2b4)+_0x4b23fb}),_0x53eb27=_0x3500fa[_0x487e2a(0x241)][_0x487e2a(0x243)](_0x9bef73);_0x3057cb[_0x487e2a(0x1f1)][_0x487e2a(0x2d1)]&&_0x3500fa[_0x487e2a(0x2fa)][_0x487e2a(0x209)](_0x487e2a(0x2b4)+_0x4b23fb+_0x487e2a(0x29e),_0x54ef90),_0x108732[_0x487e2a(0x1ec)]==_0x3057cb&&_0x3500fa[_0x487e2a(0x2fa)][_0x487e2a(0x209)](_0x487e2a(0x2bc),_0x54ef90),_0x3500fa[_0x487e2a(0x2fa)][_0x487e2a(0x26e)](_0x53eb27,_0x54ef90),_0x3500fa[_0x487e2a(0x241)][_0x487e2a(0x2d7)](_0x54ef90,_0x3dbc91[_0x487e2a(0x240)]);}_0x3fed28||_0x445660||!_0x15c497||_0x432adc(_0x15c497);};}(this[_0x39b45a(0x295)]),{'priority':_0x39b45a(0x30c)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d8)][_0x39b45a(0x21a)]['on'](_0x39b45a(0x2cf),(_0x4cf3f2,_0x62c024,_0x971f66)=>{const _0x2fa1ac=_0x39b45a,_0x2e9f29=_0x971f66[_0x2fa1ac(0x241)][_0x2fa1ac(0x242)](_0x62c024[_0x2fa1ac(0x240)]);if(_0x2e9f29){for(const _0x17f6ca of _0x2e9f29)(_0x17f6ca[_0x2fa1ac(0x1d9)](_0x2fa1ac(0x1dd))||_0x17f6ca[_0x2fa1ac(0x1d9)](_0x2fa1ac(0x1d2)))&&(_0x971f66[_0x2fa1ac(0x241)][_0x2fa1ac(0x1f4)](_0x17f6ca,_0x62c024[_0x2fa1ac(0x240)]),_0x971f66[_0x2fa1ac(0x2fa)][_0x2fa1ac(0x25b)](_0x17f6ca));}},{'priority':_0x39b45a(0x30c)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d8)][_0x39b45a(0x21a)]['on'](_0x39b45a(0x220),(_0x25364f,_0x3b7916,_0x14b872)=>{const _0x42458e=_0x39b45a,_0x28286e=_0x3b7916[_0x42458e(0x240)][_0x42458e(0x2b8)](':')[0x1],_0x48b247=this[_0x42458e(0x1d8)](_0x28286e);if(!_0x48b247)return null;const _0x5a5606=_0x42458e(0x287)==_0x48b247[_0x42458e(0x1e5)]?_0x42458e(0x2b8):_0x42458e(0x27f);if(_0x14b872[_0x42458e(0x1df)][_0x42458e(0x24c)](_0x3b7916[_0x42458e(0x308)],_0x25364f[_0x42458e(0x2c0)]))for(const _0x1e3d10 of _0x3b7916[_0x42458e(0x308)][_0x42458e(0x20c)]()){if(!_0x1e3d10['is'](_0x42458e(0x2bb),_0x42458e(0x1f0)))continue;const _0x47c19f=_0x14b872[_0x42458e(0x2fa)][_0x42458e(0x21d)](_0x42458e(0x22d),{'class':_0x42458e(0x2b4)+_0x5a5606}),_0x1f1ff8=_0x14b872[_0x42458e(0x241)][_0x42458e(0x243)](this[_0x42458e(0x295)][_0x42458e(0x2d5)][_0x42458e(0x2bd)](_0x1e3d10));_0x48b247[_0x42458e(0x1f1)][_0x42458e(0x2d1)]&&_0x14b872[_0x42458e(0x2fa)][_0x42458e(0x209)](_0x42458e(0x2b4)+_0x5a5606+_0x42458e(0x29e),_0x47c19f),this[_0x42458e(0x1ec)]==_0x48b247&&_0x14b872[_0x42458e(0x2fa)][_0x42458e(0x209)](_0x42458e(0x2bc),_0x47c19f),_0x14b872[_0x42458e(0x2fa)][_0x42458e(0x26e)](_0x1f1ff8,_0x47c19f),_0x14b872[_0x42458e(0x241)][_0x42458e(0x2d7)](_0x47c19f,_0x3b7916[_0x42458e(0x240)]);}},{'priority':_0x39b45a(0x30c)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d5)][_0x39b45a(0x2e2)]['on'](_0x39b45a(0x2db),()=>{const _0x17b68b=_0x39b45a;this[_0x17b68b(0x295)][_0x17b68b(0x2d8)][_0x17b68b(0x249)][_0x17b68b(0x2db)](_0x593c3b=>{const _0x4e366e=_0x17b68b;for(const _0x2eae07 of this[_0x4e366e(0x295)][_0x4e366e(0x2d5)][_0x4e366e(0x2e2)][_0x4e366e(0x2fe)]()){const _0x9ff46a=this[_0x4e366e(0x295)][_0x4e366e(0x2d5)][_0x4e366e(0x2e2)][_0x4e366e(0x285)](_0x2eae07),_0x3266df=this[_0x4e366e(0x295)][_0x4e366e(0x2d8)][_0x4e366e(0x249)][_0x4e366e(0x2e2)][_0x4e366e(0x285)](_0x2eae07);if(_0x3266df){const _0x23239f=_0x9ff46a[_0x4e366e(0x281)](_0x4e366e(0x25a));if(_0x593c3b[_0x4e366e(0x263)](_0x4e366e(0x274),_0x3266df),_0x593c3b[_0x4e366e(0x2a9)](_0x4e366e(0x2ee),_0x3266df),_0x593c3b[_0x4e366e(0x2a9)](_0x4e366e(0x1ef),_0x3266df),_0x593c3b[_0x4e366e(0x2a9)](_0x4e366e(0x262),_0x3266df),_0x23239f){const _0x485239=this[_0x4e366e(0x1d8)](_0x23239f);if(!_0x485239)return null;_0x593c3b[_0x4e366e(0x2c6)](_0x4e366e(0x274),_0x23239f,_0x3266df),_0x593c3b[_0x4e366e(0x209)](_0x4e366e(0x226)+_0x485239[_0x4e366e(0x1e5)],_0x3266df),this[_0x4e366e(0x1ec)]==_0x485239&&_0x593c3b[_0x4e366e(0x209)](_0x4e366e(0x262),_0x3266df);}}}});}),this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x2fd))[_0x39b45a(0x1fb)]({'view':_0x39b45a(0x1d3),'model':_0x598954=>_0x39b45a(0x22a)+_0x598954,'converterPriority':_0x39b45a(0x2a8)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x2fd))[_0x39b45a(0x1fb)]({'view':_0x39b45a(0x251),'model':_0x56de62=>_0x39b45a(0x1fd)+_0x56de62,'converterPriority':_0x39b45a(0x2a8)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x279))[_0x39b45a(0x2de)]({'model':_0x39b45a(0x250),'view':_0x203452=>({'name':_0x39b45a(0x315)+_0x203452,'group':_0x39b45a(0x250)}),'converterPriority':_0x39b45a(0x2a8)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d2)][_0x39b45a(0x2c5)](_0x39b45a(0x322))[_0x39b45a(0x31f)]({'model':_0x39b45a(0x250),'view':_0xbe6a60=>{const _0x3fda8c=_0x39b45a,_0x1263d5=_0xbe6a60[_0x3fda8c(0x240)][_0x3fda8c(0x2b8)](':')[0x1];return _0x3fda8c(0x275)!=_0x1263d5&&_0x3fda8c(0x22f)!=_0x1263d5?null:{'classes':[_0x3fda8c(0x1e3),_0x3fda8c(0x31e)+_0x1263d5]};}}),this[_0x39b45a(0x295)][_0x39b45a(0x2d8)][_0x39b45a(0x21a)]['on'](_0x39b45a(0x1dc),Z(this[_0x39b45a(0x295)],_0x39b45a(0x27f)),{'priority':_0x39b45a(0x30c)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d8)][_0x39b45a(0x21a)]['on'](_0x39b45a(0x2d3),Z(this[_0x39b45a(0x295)],_0x39b45a(0x2b8)),{'priority':_0x39b45a(0x30c)}),this[_0x39b45a(0x295)][_0x39b45a(0x2d8)][_0x39b45a(0x21a)]['on'](_0x39b45a(0x2a5),(_0x3ae9d0,_0x275b03,_0x1b9efd)=>{const _0x2fedb2=_0x39b45a,_0x3cefba=_0x1b9efd[_0x2fedb2(0x241)][_0x2fedb2(0x242)](_0x275b03[_0x2fedb2(0x240)]);if(_0x3cefba){for(const _0x2094af of _0x3cefba)_0x2094af['is'](_0x2fedb2(0x212))&&(_0x1b9efd[_0x2fedb2(0x241)][_0x2fedb2(0x1f4)](_0x2094af,_0x275b03[_0x2fedb2(0x240)]),_0x1b9efd[_0x2fedb2(0x2fa)][_0x2fedb2(0x25b)](_0x2094af));}},{'priority':_0x39b45a(0x30c)});}[_0x31a551(0x1d8)](_0x384cae){const _0x23e00a=_0x31a551;return this[_0x23e00a(0x25c)][_0x23e00a(0x208)](_0x384cae);}[_0x31a551(0x270)](_0x568e22){const _0x2d8efd=_0x31a551;return this[_0x2d8efd(0x1f7)]&&this[_0x2d8efd(0x1f7)][_0x2d8efd(0x305)](),this[_0x2d8efd(0x1f7)]=new _0x3137fc(this[_0x2d8efd(0x295)][_0x2d8efd(0x1e7)],_0x568e22),this[_0x2d8efd(0x1f7)];}[_0x31a551(0x313)](){const _0x4a9749=_0x31a551;this[_0x4a9749(0x295)][_0x4a9749(0x2d5)][_0x4a9749(0x2e2)][_0x4a9749(0x268)][_0x4a9749(0x1f9)](_0x4a9749(0x22c)),this['on'](_0x4a9749(0x1e6),(_0x22577b,_0x508595,_0x21b1c8,_0x1ed60b)=>{const _0x4e5187=_0x4a9749;_0x1ed60b&&this[_0x4e5187(0x225)][_0x4e5187(0x25b)](_0x1ed60b),_0x21b1c8&&(this[_0x4e5187(0x225)][_0x4e5187(0x287)]({'view':_0x21b1c8,'stackId':_0x4e5187(0x30f),'position':{'target':()=>{const _0x31144c=_0x4e5187,_0x4b6eaf=this[_0x31144c(0x295)][_0x31144c(0x2d8)],_0x2013d4=this[_0x31144c(0x1d8)](_0x21b1c8[_0x31144c(0x30e)]);let _0x383f73;if(_0x2013d4[_0x31144c(0x1f1)][_0x31144c(0x23c)]){const _0x238f0=_0x4b6eaf[_0x31144c(0x249)][_0x31144c(0x231)](_0x2013d4[_0x31144c(0x2f8)]);_0x383f73=Array[_0x31144c(0x28e)](_0x238f0[_0x31144c(0x236)]());}else{const _0x52847f=this[_0x31144c(0x295)][_0x31144c(0x2d5)][_0x31144c(0x258)][_0x31144c(0x208)](_0x31144c(0x26f)+_0x21b1c8[_0x31144c(0x30e)]);_0x383f73=Array[_0x31144c(0x28e)](_0x4b6eaf[_0x31144c(0x241)][_0x31144c(0x242)](_0x52847f[_0x31144c(0x2c0)]))[_0x31144c(0x2ed)](_0x49d0a5=>_0x4b6eaf[_0x31144c(0x249)][_0x31144c(0x2dc)][_0x31144c(0x216)](_0x49d0a5))[_0x31144c(0x2ed)](_0x3bf93e=>Array[_0x31144c(0x28e)](_0x3bf93e[_0x31144c(0x236)]()))[_0x31144c(0x229)]();}if(!this[_0x31144c(0x277)])return _0x383f73[0x0];return _0x383f73[_0x31144c(0x233)](_0xe0d9ab=>_0xe0d9ab[_0x31144c(0x2f1)]-0x3<=this[_0x31144c(0x277)]['y']&&_0xe0d9ab[_0x31144c(0x221)]+0x3>=this[_0x31144c(0x277)]['y']&&_0xe0d9ab[_0x31144c(0x252)]-0x3<=this[_0x31144c(0x277)]['x']&&_0xe0d9ab[_0x31144c(0x210)]+0x3>=this[_0x31144c(0x277)]['x'])||_0x383f73[0x0];}}}),this[_0x4e5187(0x225)][_0x4e5187(0x310)](_0x4e5187(0x30f)));}),this['on'](_0x4a9749(0x26d),(_0x5f54ae,_0x273c7a,_0x5ae5ab,_0x20e54c)=>{const _0x437353=_0x4a9749;this[_0x437353(0x31d)]=_0x5ae5ab?this[_0x437353(0x270)](_0x5ae5ab):null,this[_0x437353(0x295)][_0x437353(0x2d5)][_0x437353(0x2db)](()=>{const _0x4ddd8c=_0x437353,_0x1fb610=this[_0x4ddd8c(0x295)][_0x4ddd8c(0x2d8)];_0x20e54c&&(_0x20e54c[_0x4ddd8c(0x1f1)][_0x4ddd8c(0x23c)]?_0x1fb610[_0x4ddd8c(0x249)][_0x4ddd8c(0x2db)](_0x28e72b=>{const _0x45be82=_0x4ddd8c;_0x28e72b[_0x45be82(0x2a9)](_0x45be82(0x262),_0x1fb610[_0x45be82(0x249)][_0x45be82(0x2e2)][_0x45be82(0x285)](_0x20e54c[_0x45be82(0x2f8)]));}):_0x1fb610[_0x4ddd8c(0x297)](_0x4ddd8c(0x26f)+_0x20e54c['id'])),_0x5ae5ab&&(_0x5ae5ab[_0x4ddd8c(0x1f1)][_0x4ddd8c(0x23c)]?_0x1fb610[_0x4ddd8c(0x249)][_0x4ddd8c(0x2db)](_0xe7fba3=>{const _0x15a474=_0x4ddd8c;_0xe7fba3[_0x15a474(0x209)](_0x15a474(0x262),_0x1fb610[_0x15a474(0x249)][_0x15a474(0x2e2)][_0x15a474(0x285)](_0x5ae5ab[_0x15a474(0x2f8)]));}):_0x1fb610[_0x4ddd8c(0x297)](_0x4ddd8c(0x26f)+_0x5ae5ab['id']));});}),this[_0x4a9749(0x253)](this[_0x4a9749(0x295)][_0x4a9749(0x2d8)][_0x4a9749(0x249)][_0x4a9749(0x2e2)],_0x4a9749(0x234),(_0x5575e7,_0x9fb72b)=>{const _0x1544b4=_0x4a9749;if(this[_0x1544b4(0x1ec)])return;const _0x69dea5=this[_0x1544b4(0x29d)](_0x9fb72b[_0x1544b4(0x1ea)]),_0x420552=this[_0x1544b4(0x25c)][_0x1544b4(0x208)](_0x69dea5);_0x420552?(this[_0x1544b4(0x277)]={'x':_0x9fb72b[_0x1544b4(0x31b)]['x'],'y':_0x9fb72b[_0x1544b4(0x31b)]['y']},this[_0x1544b4(0x31d)]=this[_0x1544b4(0x270)](_0x420552)):(this[_0x1544b4(0x277)]=null,this[_0x1544b4(0x31d)]=null);}),this[_0x4a9749(0x253)](this[_0x4a9749(0x295)][_0x4a9749(0x2d8)][_0x4a9749(0x249)][_0x4a9749(0x2e2)],_0x4a9749(0x20b),(_0x4a1d3a,_0x17d67a)=>{const _0x258ecf=_0x4a9749,_0x2393a4=this[_0x258ecf(0x29d)](_0x17d67a[_0x258ecf(0x1ea)]),_0x569a3a=this[_0x258ecf(0x25c)][_0x258ecf(0x208)](_0x2393a4);_0x569a3a?(this[_0x258ecf(0x277)]={'x':_0x17d67a[_0x258ecf(0x31b)]['x'],'y':_0x17d67a[_0x258ecf(0x31b)]['y']},_0x569a3a===this[_0x258ecf(0x1ec)]?this[_0x258ecf(0x225)][_0x258ecf(0x2a1)]():this[_0x258ecf(0x1ec)]=_0x569a3a):(this[_0x258ecf(0x277)]=null,this[_0x258ecf(0x1ec)]=null);});}[_0x31a551(0x29d)](_0x2a07c1){const _0x293399=_0x31a551;do{const _0x2482a8=_0x2a07c1[_0x293399(0x281)](_0x293399(0x274));if(_0x2482a8)return _0x2482a8;_0x2a07c1=_0x2a07c1[_0x293399(0x219)];}while(_0x2a07c1);return null;}[_0x31a551(0x292)](){const _0x157140=_0x31a551;this[_0x157140(0x295)][_0x157140(0x2d5)][_0x157140(0x2db)](_0x5027a5=>{const _0x317e04=_0x157140;for(const _0x3f35c8 of this[_0x317e04(0x295)][_0x317e04(0x2d5)][_0x317e04(0x258)])_0x5027a5[_0x317e04(0x2f5)](_0x3f35c8);});}}function Z(_0x56e416,_0x371c1f){return(_0x4c340d,_0x48e34b,_0x539996)=>{const _0x43aa9d=_0x46c0;if(!_0x539996[_0x43aa9d(0x1df)][_0x43aa9d(0x24c)](_0x48e34b[_0x43aa9d(0x308)],_0x4c340d[_0x43aa9d(0x2c0)]))return;const _0x139a3c=_0x48e34b[_0x43aa9d(0x308)][_0x43aa9d(0x2b3)](),_0x429b3b=_0x48e34b[_0x43aa9d(0x308)][_0x43aa9d(0x2f6)],_0x168425=_0x56e416[_0x43aa9d(0x2d5)][_0x43aa9d(0x2b7)];let _0x214c49=null,_0x5544ad=null,_0x55d06e=!0x1,_0x5e372c=!0x1;for(const _0x18c3ab of _0x139a3c){const _0x52d092=_0x18c3ab[_0x43aa9d(0x2b6)];_0x55d06e=_0x55d06e||_0x168425[_0x43aa9d(0x28f)](_0x52d092);const _0x5e46b2=_0x539996[_0x43aa9d(0x241)][_0x43aa9d(0x1cd)](_0x52d092);if(_0x5e46b2&&_0x5e46b2[_0x43aa9d(0x206)](_0x43aa9d(0x321)))return;_0x43aa9d(0x286)==_0x18c3ab[_0x43aa9d(0x1e5)]&&(_0x168425[_0x43aa9d(0x232)](_0x52d092)&&!_0x168425[_0x43aa9d(0x205)](_0x52d092)&&(_0x52d092[_0x43aa9d(0x202)]||_0x429b3b[_0x43aa9d(0x201)]?_0x214c49&&_0x214c49[_0x43aa9d(0x219)]==_0x52d092||(_0x214c49=_0x52d092,_0x357589(_0x18c3ab[_0x43aa9d(0x24e)]),_0x5e372c=!0x0):_0x5544ad=_0x5544ad||_0x18c3ab[_0x43aa9d(0x24e)]));}function _0x357589(_0x315865){const _0x70b4a5=_0x43aa9d,_0x42e9b5=_0x539996[_0x70b4a5(0x241)][_0x70b4a5(0x243)](_0x315865),_0x1bad00=_0x539996[_0x70b4a5(0x2fa)][_0x70b4a5(0x21d)](_0x70b4a5(0x22d),{'class':_0x70b4a5(0x31e)+_0x371c1f});_0x539996[_0x70b4a5(0x2fa)][_0x70b4a5(0x26e)](_0x42e9b5,_0x1bad00),_0x539996[_0x70b4a5(0x241)][_0x70b4a5(0x2d7)](_0x1bad00,_0x48e34b[_0x70b4a5(0x240)]);}_0x55d06e||_0x5e372c||!_0x5544ad||_0x357589(_0x5544ad);};}export class RestoreRevisionCommand extends _0x59b3f9{constructor(_0x182400){const _0x365c72=_0x31a551;super(_0x182400);const _0x20b151=_0x182400[_0x365c72(0x257)][_0x365c72(0x208)](d);this[_0x365c72(0x2e1)]=!0x1,this[_0x365c72(0x253)](_0x20b151,_0x365c72(0x278),()=>this[_0x365c72(0x24f)]()),this[_0x365c72(0x253)](_0x20b151,_0x365c72(0x2cc),()=>this[_0x365c72(0x24f)]());}[_0x31a551(0x29f)](){const _0x35677c=_0x31a551,_0x8a441e=this[_0x35677c(0x295)],_0x24c990=_0x8a441e[_0x35677c(0x257)][_0x35677c(0x208)](d),_0x44e49b=_0x24c990[_0x35677c(0x272)]?_0x24c990[_0x35677c(0x1e8)][_0x35677c(0x224)]:null;_0x8a441e[_0x35677c(0x217)][_0x35677c(0x208)](_0x35677c(0x2b1))[_0x35677c(0x319)](_0x44e49b);}[_0x31a551(0x24f)](){const _0x528ea8=_0x31a551,{isReady:_0x21b0f7,isEnabled:_0x472c12,repository:_0x2ac1aa,diff:_0x36254d}=this[_0x528ea8(0x295)][_0x528ea8(0x257)][_0x528ea8(0x208)](d),_0x708b24=_0x36254d&&_0x2ac1aa[_0x528ea8(0x31c)](_0x36254d[_0x528ea8(0x224)]);this[_0x528ea8(0x2ab)]=_0x21b0f7&&_0x472c12&&Boolean(_0x708b24);}}export class ShowChangeCommand extends _0x59b3f9{constructor(_0x345d05,{direction:_0x44f8fc}){const _0x3c227f=_0x31a551;super(_0x345d05);const _0x22f1e7=_0x345d05[_0x3c227f(0x257)][_0x3c227f(0x208)](d);this[_0x3c227f(0x2e1)]=!0x1,this[_0x3c227f(0x265)]=_0x3c227f(0x22e)===_0x44f8fc?0x1:-0x1,this[_0x3c227f(0x253)](_0x22f1e7,_0x3c227f(0x278),()=>this[_0x3c227f(0x24f)]()),this[_0x3c227f(0x253)](_0x22f1e7,_0x3c227f(0x2cc),()=>this[_0x3c227f(0x24f)]()),this[_0x3c227f(0x253)](_0x22f1e7,_0x3c227f(0x26d),()=>this[_0x3c227f(0x24f)]());}[_0x31a551(0x29f)](){const _0xd8ea95=_0x31a551,_0x514a2a=this[_0xd8ea95(0x295)],_0x1224e0=_0x514a2a[_0xd8ea95(0x257)][_0xd8ea95(0x208)](d),{isNavigationMode:_0x9b2dc8,currentChangeNumber:_0x388722}=_0x1224e0;let _0x292f2a;if(_0x1224e0[_0xd8ea95(0x1ec)]=_0x9b2dc8?_0x1224e0[_0xd8ea95(0x1e8)][_0xd8ea95(0x296)][_0xd8ea95(0x208)](_0x388722+this[_0xd8ea95(0x265)]):_0x1224e0[_0xd8ea95(0x1e8)][_0xd8ea95(0x296)][_0xd8ea95(0x2ff)],_0x1224e0[_0xd8ea95(0x1ec)][_0xd8ea95(0x1f1)][_0xd8ea95(0x23c)])_0x292f2a=_0x514a2a[_0xd8ea95(0x2d8)][_0xd8ea95(0x249)][_0xd8ea95(0x231)](_0x1224e0[_0xd8ea95(0x1ec)][_0xd8ea95(0x2f8)]);else{const _0x1c291a=_0x514a2a[_0xd8ea95(0x2d5)][_0xd8ea95(0x258)][_0xd8ea95(0x208)](_0xd8ea95(0x26f)+_0x1224e0[_0xd8ea95(0x1ec)]['id']);_0x292f2a=_0x192d44(_0x514a2a[_0xd8ea95(0x2d8)],_0x1c291a);}_0x2515b3({'target':_0x292f2a,'viewportOffset':0x28});}[_0x31a551(0x24f)](){const _0x3e1a27=_0x31a551,{isNavigationMode:_0x3fe333,currentChangeNumber:_0x523455,numberOfChanges:_0xfde3dd,isReady:_0x1ee13,isEnabled:_0x388943}=this[_0x3e1a27(0x295)][_0x3e1a27(0x257)][_0x3e1a27(0x208)](d);this[_0x3e1a27(0x2ab)]=!!(_0x388943&&_0x1ee13&&_0xfde3dd)&&(!_0x3fe333||(0x1===this[_0x3e1a27(0x265)]?_0x523455<_0xfde3dd-0x1:_0x523455>0x0));}}
|
|
23
|
+
const _0x41c01b=_0x4f83;(function(_0x3fbbc3,_0x3723a0){const _0x2f5984=_0x4f83,_0x5da230=_0x3fbbc3();while(!![]){try{const _0xf798d4=parseInt(_0x2f5984(0x1ae))/0x1*(parseInt(_0x2f5984(0x1a4))/0x2)+-parseInt(_0x2f5984(0x229))/0x3+parseInt(_0x2f5984(0x1da))/0x4+-parseInt(_0x2f5984(0x245))/0x5+parseInt(_0x2f5984(0x21a))/0x6*(-parseInt(_0x2f5984(0x2be))/0x7)+parseInt(_0x2f5984(0x213))/0x8+-parseInt(_0x2f5984(0x24b))/0x9*(-parseInt(_0x2f5984(0x1c1))/0xa);if(_0xf798d4===_0x3723a0)break;else _0x5da230['push'](_0x5da230['shift']());}catch(_0x8f320f){_0x5da230['push'](_0x5da230['shift']());}}}(_0x4f8f,0x4eefa));import{Plugin as _0x228dc6,Command as _0x988922}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2b9c2a}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3800d0}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x15e870,Element as _0x3c5661,Text as _0x513825,ViewDocumentFragment as _0x5e0bf4,ViewText as _0x108c3e,ViewElement as _0x43deff,ViewContainerElement as _0xdba6b5,ViewAttributeElement as _0x2869ee,ViewEmptyElement as _0x18c4bd,ViewRawElement as _0x1eb609,ViewUIElement as _0x5ad139}from'ckeditor5/src/engine.js';import{Users as _0x115117,getMarkerDomElement as _0x15887f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2532d3 from'./ui/revisionviewer/changedetailsview.js';import _0x5d1c82 from'./revisionsrepository.js';import _0x6b87a6 from'./changeitem.js';import{default as _0x3ea5a9}from'./revisiondiff.js';import'../theme/revisionviewer.css';function _0x4f83(_0x308291,_0x222e81){const _0x4f8f95=_0x4f8f();return _0x4f83=function(_0x4f838e,_0x1763a5){_0x4f838e=_0x4f838e-0x180;let _0x469476=_0x4f8f95[_0x4f838e];return _0x469476;},_0x4f83(_0x308291,_0x222e81);}import{cloneDeep as _0x30b3c6}from'lodash-es';const Y={'c':_0xdba6b5,'a':_0x2869ee,'e':_0x18c4bd,'r':_0x1eb609,'u':_0x5ad139};export default class d extends _0x228dc6{static get[_0x41c01b(0x211)](){const _0x3a74ec=_0x41c01b;return _0x3a74ec(0x2a3);}static get[_0x41c01b(0x200)](){return!0x0;}static get[_0x41c01b(0x1bd)](){return!0x0;}static get[_0x41c01b(0x1f7)](){return[_0x115117,_0x3800d0,_0x5d1c82];}constructor(_0xbe7e12){const _0x4313c9=_0x41c01b;super(_0xbe7e12),this[_0x4313c9(0x2cf)]=this[_0x4313c9(0x277)][_0x4313c9(0x271)][_0x4313c9(0x21c)](_0x4313c9(0x2b0)),this[_0x4313c9(0x233)](_0x4313c9(0x1e6),null),this[_0x4313c9(0x233)](_0x4313c9(0x25c),null),this[_0x4313c9(0x197)]=null,this[_0x4313c9(0x233)](_0x4313c9(0x25f),null),this[_0x4313c9(0x233)](_0x4313c9(0x1ef),!0x1),this[_0x4313c9(0x233)](_0x4313c9(0x2a4),!0x0),this['on'](_0x4313c9(0x29c),(_0x2400fa,_0x4d2d71,_0x2b9c83)=>{const _0x4d7c27=_0x4313c9;this[_0x4d7c27(0x1e6)]=null,this[_0x4d7c27(0x25c)]=null,this[_0x4d7c27(0x277)][_0x4d7c27(0x1de)][_0x4d7c27(0x2b4)][_0x4d7c27(0x18b)](_0x58b931=>{const _0x54fe46=_0x4d7c27;for(const _0x47680d of this[_0x54fe46(0x277)][_0x54fe46(0x1de)][_0x54fe46(0x2b4)][_0x54fe46(0x1e7)][_0x54fe46(0x18c)])_0x2b9c83?_0x58b931[_0x54fe46(0x244)](_0x54fe46(0x1d4),_0x47680d):_0x58b931[_0x54fe46(0x204)](_0x54fe46(0x1d4),_0x47680d);});}),this[_0x4313c9(0x1cb)](_0x4313c9(0x2b2))['to'](this,_0x4313c9(0x1e6),_0x465d5a=>null!==_0x465d5a),this[_0x4313c9(0x1cb)](_0x4313c9(0x238))['to'](this,_0x4313c9(0x1ef),this,_0x4313c9(0x25f),this,_0x4313c9(0x1e6),(_0xedd822,_0x17bc1f,_0x1e862c)=>_0xedd822&&_0x1e862c?_0x17bc1f[_0x4313c9(0x1b3)][_0x4313c9(0x23f)](_0x1e862c):0x0),this[_0x4313c9(0x1cb)](_0x4313c9(0x232))['to'](this,_0x4313c9(0x1ef),this,_0x4313c9(0x25f),(_0x24b67f,_0x3f8df3)=>_0x24b67f?_0x3f8df3[_0x4313c9(0x1b3)][_0x4313c9(0x28e)]:0x0),this[_0x4313c9(0x1ad)]=null,this[_0x4313c9(0x2d0)]=new Map(),this[_0x4313c9(0x1e2)]=null,this[_0x4313c9(0x2bc)]=this[_0x4313c9(0x277)][_0x4313c9(0x271)][_0x4313c9(0x21c)](_0x3800d0);}[_0x41c01b(0x1d1)](){const _0x531666=_0x41c01b,_0x738c9b=this[_0x531666(0x277)],_0x549702=new ShowChangeCommand(_0x738c9b,{'direction':_0x531666(0x235)}),_0x1a88ab=new ShowChangeCommand(_0x738c9b,{'direction':_0x531666(0x258)});(_0x738c9b[_0x531666(0x263)][_0x531666(0x1c7)](_0x531666(0x1f5),_0x549702),_0x738c9b[_0x531666(0x263)][_0x531666(0x1c7)](_0x531666(0x268),_0x1a88ab),_0x738c9b[_0x531666(0x263)][_0x531666(0x1c7)](_0x531666(0x1cd),new RestoreRevisionCommand(_0x738c9b)),this['on'](_0x531666(0x1bf),()=>{const _0x5c642b=_0x531666;_0x549702[_0x5c642b(0x2a2)](),_0x1a88ab[_0x5c642b(0x2a2)]();}),this[_0x531666(0x248)](),this[_0x531666(0x1d8)](),_0x738c9b[_0x531666(0x2c7)](_0x531666(0x267)),_0x738c9b[_0x531666(0x271)][_0x531666(0x2a8)](_0x531666(0x1a1)))&&_0x738c9b[_0x531666(0x271)][_0x531666(0x21c)](_0x531666(0x1a1))[_0x531666(0x22d)](_0x531666(0x267));}async[_0x41c01b(0x1d7)](_0x2306b3){const _0x475a6a=_0x41c01b;await this[_0x475a6a(0x208)](_0x2306b3);const _0x5af47f={};for(const _0x457826 in _0x2306b3[_0x475a6a(0x254)]){if(_0x2306b3[_0x475a6a(0x254)][_0x457826][_0x475a6a(0x2ba)]&&!_0x2306b3[_0x475a6a(0x254)][_0x457826][_0x475a6a(0x2ba)][_0x475a6a(0x242)])continue;const _0x4b7061=this[_0x475a6a(0x191)](JSON[_0x475a6a(0x287)](_0x2306b3[_0x475a6a(0x254)][_0x457826][_0x475a6a(0x1fd)])),_0x307061=this[_0x475a6a(0x277)][_0x475a6a(0x1de)][_0x475a6a(0x2b4)][_0x475a6a(0x1e7)],_0xd37662=new _0x5e0bf4(_0x307061,_0x4b7061[_0x475a6a(0x2ac)](_0x19681b=>this[_0x475a6a(0x198)](_0x19681b)));this[_0x475a6a(0x277)][_0x475a6a(0x1af)][_0x475a6a(0x19d)][_0x475a6a(0x2b9)](_0x475a6a(0x2b7)),_0x5af47f[_0x457826]=this[_0x475a6a(0x277)][_0x475a6a(0x1af)][_0x475a6a(0x19d)][_0x475a6a(0x26e)](_0xd37662),this[_0x475a6a(0x277)][_0x475a6a(0x1af)][_0x475a6a(0x19d)][_0x475a6a(0x2b9)](_0x475a6a(0x18e));}return _0x5af47f;}async[_0x41c01b(0x1b1)](_0x2ce9f9){const _0x44094d=_0x41c01b;await this[_0x44094d(0x208)](_0x2ce9f9);const _0x4734d1={};for(const _0xdc97a6 in _0x2ce9f9[_0x44094d(0x254)])_0x2ce9f9[_0x44094d(0x254)][_0xdc97a6][_0x44094d(0x2ba)]&&!_0x2ce9f9[_0x44094d(0x254)][_0xdc97a6][_0x44094d(0x2ba)][_0x44094d(0x242)]||(_0x4734d1[_0xdc97a6]=_0x2ce9f9[_0x44094d(0x254)][_0xdc97a6][_0x44094d(0x1c5)]||{});return _0x4734d1;}[_0x41c01b(0x191)](_0x432cf6){const _0x42b3a2=_0x41c01b;return(_0x432cf6=_0x432cf6[_0x42b3a2(0x257)](_0x58e2a6=>!_0x58e2a6[_0x42b3a2(0x25d)]||_0x42b3a2(0x195)!==_0x58e2a6[_0x42b3a2(0x25d)]&&_0x42b3a2(0x28f)!==_0x58e2a6[_0x42b3a2(0x25d)]))[_0x42b3a2(0x26c)](_0x24b8f6=>{const _0x580910=_0x42b3a2;_0x580910(0x290)!=typeof _0x24b8f6&&(_0x24b8f6[_0x580910(0x1e0)]=this[_0x580910(0x191)](_0x24b8f6[_0x580910(0x1e0)]),_0x24b8f6[_0x580910(0x185)]=_0x24b8f6[_0x580910(0x185)][_0x580910(0x257)](_0x11150b=>!_0x11150b[0x0][_0x580910(0x25e)](_0x580910(0x2ab))));}),_0x432cf6;}async[_0x41c01b(0x2cc)](_0x7eca3e,_0x48d25f,_0x4e0f0c=!0x1){const _0x5430e4=_0x41c01b;if(!this[_0x5430e4(0x2a4)])return;const _0x2196ff=this[_0x5430e4(0x25f)],_0x5dc0f9=this[_0x5430e4(0x2cf)],_0x55eebc=_0x5430e4(0x290)==typeof _0x7eca3e?_0x5dc0f9[_0x5430e4(0x1d6)](_0x7eca3e):_0x7eca3e,_0x250492=_0x5430e4(0x290)==typeof _0x48d25f?_0x5dc0f9[_0x5430e4(0x1d6)](_0x48d25f):_0x48d25f,_0x2e6df6=_0x55eebc['id'],_0x535499=_0x250492?_0x250492['id']:null;if(!_0x4e0f0c&&this[_0x5430e4(0x25f)]&&this[_0x5430e4(0x25f)][_0x5430e4(0x2cb)]===_0x2e6df6&&this[_0x5430e4(0x25f)][_0x5430e4(0x1fe)]===_0x535499)return Promise[_0x5430e4(0x22b)]();this[_0x5430e4(0x1ef)]=!0x1,this[_0x5430e4(0x25c)]=null,this[_0x5430e4(0x1e6)]=null,this[_0x5430e4(0x25f)]=new _0x3ea5a9(_0x2e6df6,_0x535499);const _0x5ab0c8=this[_0x5430e4(0x2a0)](_0x55eebc,_0x250492,!0x0)[_0x5430e4(0x2ac)](_0x5a618d=>this[_0x5430e4(0x208)](_0x5a618d));return _0x5ab0c8[_0x5430e4(0x2c3)](new Promise(_0xfbe1ae=>{setTimeout(_0xfbe1ae,0x14);})),Promise[_0x5430e4(0x214)](_0x5ab0c8)[_0x5430e4(0x27c)](()=>{const _0x4f74d6=_0x5430e4;if(!this[_0x4f74d6(0x2a4)])return;this[_0x4f74d6(0x1b8)]();const _0x41f36a=this[_0x4f74d6(0x1f9)](_0x2e6df6,_0x535499);for(const _0x4074b3 of _0x41f36a[_0x4f74d6(0x1b3)])this[_0x4f74d6(0x2d0)][_0x4f74d6(0x233)](_0x4074b3['id'],_0x4074b3);this[_0x4f74d6(0x277)][_0x4f74d6(0x194)][_0x4f74d6(0x26d)]({'isUndoable':!0x1},_0x483305=>{const _0x2e1eee=_0x4f74d6;for(const _0x1b4c19 of this[_0x2e1eee(0x277)][_0x2e1eee(0x194)][_0x2e1eee(0x1e7)][_0x2e1eee(0x292)]())_0x483305[_0x2e1eee(0x22e)](_0x1b4c19);for(const _0x36b268 of Object[_0x2e1eee(0x215)](_0x41f36a[_0x2e1eee(0x194)])){const _0x1739f8=_0x483305[_0x2e1eee(0x19b)](_0x36b268);for(const _0x4aee07 of Object[_0x2e1eee(0x215)](_0x41f36a[_0x2e1eee(0x185)][_0x36b268]))_0x483305[_0x2e1eee(0x1ab)](_0x4aee07,_0x41f36a[_0x2e1eee(0x185)][_0x36b268][_0x4aee07],_0x1739f8);_0x483305[_0x2e1eee(0x2b3)](_0x41f36a[_0x2e1eee(0x194)][_0x36b268],_0x1739f8,0x0);}}),this[_0x4f74d6(0x25f)][_0x4f74d6(0x1f0)](this[_0x4f74d6(0x26f)](_0x41f36a[_0x4f74d6(0x1b3)])),this[_0x4f74d6(0x1ef)]=!0x0;})[_0x5430e4(0x283)](_0x243398=>{const _0x3f49f2=_0x5430e4;console[_0x3f49f2(0x1c3)](_0x243398),this[_0x3f49f2(0x1b8)](),_0x2196ff&&(this[_0x3f49f2(0x25f)]=_0x2196ff),this[_0x3f49f2(0x1ef)]=!0x0;});}[_0x41c01b(0x1d0)](_0xddaf2e,_0x973d42){const _0x4a4f62=_0x41c01b,_0x42d295=this[_0x4a4f62(0x2cf)][_0x4a4f62(0x201)](_0xddaf2e);return _0x42d295['on'](_0x4a4f62(0x1c2),(_0xdd7b4a,_0x42b1c3,_0x1fe95b)=>_0x973d42(_0x42b1c3,_0x1fe95b,_0x42d295)),this[_0x4a4f62(0x2cf)][_0x4a4f62(0x193)](_0x42d295),_0x42d295;}[_0x41c01b(0x208)](_0x18bcb8){const _0x1203a8=_0x41c01b;if(!_0x18bcb8||_0x18bcb8[_0x1203a8(0x254)])return Promise[_0x1203a8(0x22b)]();{const _0x4759f5=this[_0x1203a8(0x277)][_0x1203a8(0x1f6)][_0x1203a8(0x21c)](_0x1203a8(0x24a));return this[_0x1203a8(0x1e2)][_0x1203a8(0x1d6)]({'channelId':_0x4759f5,'revisionId':_0x18bcb8['id']})[_0x1203a8(0x27c)](_0x500328=>{const _0x5911ae=_0x1203a8;_0x18bcb8[_0x5911ae(0x1c2)]({'diffData':_0x500328[_0x5911ae(0x254)]},!0x0);});}}[_0x41c01b(0x1b8)](){const _0x8113ee=_0x41c01b;this[_0x8113ee(0x1e6)]=null,this[_0x8113ee(0x24c)](),this[_0x8113ee(0x1ad)]&&this[_0x8113ee(0x1ad)][_0x8113ee(0x231)](),this[_0x8113ee(0x1ad)]=null,this[_0x8113ee(0x2d0)][_0x8113ee(0x285)](),this[_0x8113ee(0x277)][_0x8113ee(0x194)][_0x8113ee(0x26d)]({'isUndoable':!0x1},_0x57aaf6=>{const _0x42ec82=_0x8113ee;for(const _0xb94742 of this[_0x42ec82(0x277)][_0x42ec82(0x194)][_0x42ec82(0x1e7)][_0x42ec82(0x292)]())_0x57aaf6[_0x42ec82(0x22e)](_0xb94742);});}[_0x41c01b(0x26f)](_0x249c48){const _0x2f81cb=_0x41c01b,_0x28728a=[],_0x2260e1=new Map();for(const _0x540a19 of this[_0x2f81cb(0x277)][_0x2f81cb(0x194)][_0x2f81cb(0x1e7)][_0x2f81cb(0x292)]()){const _0x1665e5=this[_0x2f81cb(0x277)][_0x2f81cb(0x1de)][_0x2f81cb(0x2b4)][_0x2f81cb(0x1c6)](_0x540a19);if(!_0x1665e5)continue;const _0x5ecae9=_0x1665e5[_0x2f81cb(0x1e1)]()[_0x2f81cb(0x2c9)](0x0);_0x5ecae9&&(_0x28728a[_0x2f81cb(0x2c3)](_0x540a19),_0x2260e1[_0x2f81cb(0x233)](_0x540a19,_0x5ecae9));}return _0x28728a[_0x2f81cb(0x184)]((_0x40668c,_0x3b973a)=>{const _0x31ec4b=_0x2f81cb,_0x26e55f=_0x2260e1[_0x31ec4b(0x21c)](_0x40668c),_0x21c751=_0x2260e1[_0x31ec4b(0x21c)](_0x3b973a);return _0x26e55f['y']-_0x21c751['y']||_0x26e55f['x']-_0x21c751['x'];}),(_0x249c48=_0x249c48[_0x2f81cb(0x257)](_0x455a60=>_0x28728a[_0x2f81cb(0x1cf)](_0x455a60[_0x2f81cb(0x2bf)])))[_0x2f81cb(0x184)]((_0x276ce4,_0x411376)=>_0x28728a[_0x2f81cb(0x1eb)](_0x276ce4[_0x2f81cb(0x2bf)])-_0x28728a[_0x2f81cb(0x1eb)](_0x411376[_0x2f81cb(0x2bf)])),_0x249c48;}[_0x41c01b(0x209)](_0x2ed551){const _0x2ac1dc=_0x41c01b,_0x4bca72=Array[_0x2ac1dc(0x297)](_0x2ed551[_0x2ac1dc(0x2ca)])[_0x2ac1dc(0x257)](([_0x1e82d5,_0x19273c])=>_0x1e82d5[_0x2ac1dc(0x25e)](_0x2ac1dc(0x19c))&&!_0x19273c[_0x2ac1dc(0x228)]),_0x445d4b=Array[_0x2ac1dc(0x297)](this[_0x2ac1dc(0x277)][_0x2ac1dc(0x194)][_0x2ac1dc(0x22f)](_0x2ed551)[_0x2ac1dc(0x1b0)]({'singleCharacters':!0x0}));if(0x0!=_0x4bca72[_0x2ac1dc(0x28e)])for(const _0x35a063 of _0x445d4b){const [_0x2748de,_0x335674]=_0x4bca72[0x0],[,_0x256fcc,_0x102811]=_0x2748de[_0x2ac1dc(0x220)](':');if(_0x335674[_0x2ac1dc(0x27f)][_0x2ac1dc(0x1fa)](_0x35a063[_0x2ac1dc(0x2b6)])&&_0x4bca72[_0x2ac1dc(0x240)](),(_0x35a063[_0x2ac1dc(0x1ed)][_0x2ac1dc(0x1fa)](_0x335674[_0x2ac1dc(0x223)])||_0x35a063[_0x2ac1dc(0x1ed)][_0x2ac1dc(0x212)](_0x335674[_0x2ac1dc(0x223)]))&&(_0x2ac1dc(0x1e4)==_0x256fcc?_0x35a063[_0x2ac1dc(0x246)]={'userId':_0x102811}:_0x2ac1dc(0x296)==_0x256fcc&&(_0x35a063[_0x2ac1dc(0x1ba)]={'userId':_0x102811})),0x0==_0x4bca72[_0x2ac1dc(0x28e)])break;}return _0x445d4b;}[_0x41c01b(0x24e)](_0x3214a3){const _0x4af5ef=_0x41c01b,_0x4a6d09=new Map();for(let _0x13ce95=0x0;_0x13ce95<_0x3214a3[_0x4af5ef(0x28e)];_0x13ce95++)_0x4af5ef(0x236)===_0x3214a3[_0x13ce95][_0x4af5ef(0x28a)]?(_0x3214a3[_0x13ce95][_0x4af5ef(0x2c9)][_0x4af5ef(0x1bc)]=_0x13ce95,_0x3214a3[_0x13ce95][_0x4af5ef(0x2c9)][_0x4af5ef(0x2b5)]=_0x13ce95):(_0x4af5ef(0x266)===_0x3214a3[_0x13ce95][_0x4af5ef(0x28a)]?_0x3214a3[_0x13ce95][_0x4af5ef(0x2c9)][_0x4af5ef(0x1bc)]=_0x13ce95:_0x4af5ef(0x24f)===_0x3214a3[_0x13ce95][_0x4af5ef(0x28a)]&&(_0x3214a3[_0x13ce95][_0x4af5ef(0x2c9)][_0x4af5ef(0x2b5)]=_0x13ce95),_0x4a6d09[_0x4af5ef(0x233)](_0x3214a3[_0x13ce95]['id'],_0x13ce95));for(const _0x15e8fd of _0x4a6d09[_0x4af5ef(0x23e)]())_0x4af5ef(0x266)===_0x3214a3[_0x15e8fd][_0x4af5ef(0x28a)]?_0x3214a3[_0x15e8fd][_0x4af5ef(0x2c9)][_0x4af5ef(0x2b5)]=_0x4a6d09[_0x4af5ef(0x21c)](_0x3214a3[_0x15e8fd][_0x4af5ef(0x234)]):_0x4af5ef(0x24f)===_0x3214a3[_0x15e8fd][_0x4af5ef(0x28a)]&&(_0x3214a3[_0x15e8fd][_0x4af5ef(0x2c9)][_0x4af5ef(0x1bc)]=_0x4a6d09[_0x4af5ef(0x21c)](_0x3214a3[_0x15e8fd][_0x4af5ef(0x234)]));}[_0x41c01b(0x206)](_0x497830){const _0x148c46=_0x41c01b;for(let _0x25549f=0x0;_0x25549f<_0x497830[_0x148c46(0x28e)];_0x25549f++){if(_0x148c46(0x266)===_0x497830[_0x25549f][_0x148c46(0x28a)])_0x497830[_0x25549f][_0x148c46(0x2c9)][_0x148c46(0x1bc)]=_0x25549f;else{if(_0x148c46(0x24f)===_0x497830[_0x25549f][_0x148c46(0x28a)]){_0x497830[_0x25549f][_0x148c46(0x2c9)][_0x148c46(0x2b5)]=_0x25549f;const _0x157336=_0x497830[_0x25549f][_0x148c46(0x2c9)][_0x148c46(0x1bc)];_0x497830[_0x157336][_0x148c46(0x234)]=_0x497830[_0x25549f]['id'],_0x497830[_0x25549f][_0x148c46(0x234)]=_0x497830[_0x157336]['id'];}else _0x497830[_0x25549f][_0x148c46(0x2c9)][_0x148c46(0x1bc)]=_0x25549f,_0x497830[_0x25549f][_0x148c46(0x2c9)][_0x148c46(0x2b5)]=_0x25549f,_0x497830[_0x25549f][_0x148c46(0x234)]=null;}_0x497830[_0x25549f][_0x148c46(0x2c0)]||(_0x497830[_0x25549f][_0x148c46(0x2c0)]=[],_0x497830[_0x25549f][_0x148c46(0x19f)]=[]);}}[_0x41c01b(0x29f)](_0x33230f,_0xfc0403){const _0x3260f2=_0x41c01b,_0x234087=_0x33230f[_0x3260f2(0x257)](_0x1c94a5=>!_0x1c94a5[_0x3260f2(0x246)]);for(let _0xc2fac6=0x0;_0xc2fac6<_0xfc0403[_0x3260f2(0x28e)];_0xc2fac6++)_0xfc0403[_0xc2fac6][_0x3260f2(0x246)]&&(_0x234087[_0xc2fac6][_0x3260f2(0x246)]=_0xfc0403[_0xc2fac6][_0x3260f2(0x246)]);}[_0x41c01b(0x188)](_0x44b31b){const _0x4504ab=_0x41c01b,_0x4f111b=JSON[_0x4504ab(0x287)](_0x44b31b),_0x2e3a1c=this[_0x4504ab(0x277)][_0x4504ab(0x1de)][_0x4504ab(0x2b4)][_0x4504ab(0x1e7)],_0x47d13c=new _0x5e0bf4(_0x2e3a1c,_0x4f111b[_0x4504ab(0x2ac)](_0x27e11f=>this[_0x4504ab(0x198)](_0x27e11f)));return this[_0x4504ab(0x277)][_0x4504ab(0x1af)][_0x4504ab(0x207)](_0x47d13c);}[_0x41c01b(0x198)](_0x4e9227){const _0x3b76e6=_0x41c01b,_0x4073d5=this[_0x3b76e6(0x277)][_0x3b76e6(0x1de)][_0x3b76e6(0x2b4)][_0x3b76e6(0x1e7)];if(_0x3b76e6(0x290)==typeof _0x4e9227)return new _0x108c3e(_0x4073d5,_0x4e9227);{const _0x393933=_0x4e9227[_0x3b76e6(0x1e0)][_0x3b76e6(0x2ac)](_0x4dd9e0=>this[_0x3b76e6(0x198)](_0x4dd9e0));return new(Y[_0x4e9227[(_0x3b76e6(0x28a))]]||_0x43deff)(_0x4073d5,_0x4e9227[_0x3b76e6(0x25d)],_0x4e9227[_0x3b76e6(0x185)],_0x393933);}}[_0x41c01b(0x1f9)](_0x53eaa7,_0x50f9aa=null){const _0x35d5c6=_0x41c01b,_0x5c6f8=this[_0x35d5c6(0x2cf)][_0x35d5c6(0x1d6)](_0x53eaa7),_0x5212a1=_0x50f9aa?this[_0x35d5c6(0x2cf)][_0x35d5c6(0x1d6)](_0x50f9aa):null,_0x2635a3=this[_0x35d5c6(0x2a0)](_0x5c6f8,_0x5212a1),_0x1d555a=_0x2635a3[_0x2635a3[_0x35d5c6(0x28e)]-0x1],_0xa69764=new Map(),_0x3bf697={'model':{},'attributes':{},'changes':[]},_0x520611=new Set(),_0x262a54=new Map();for(let _0x544fe4=_0x2635a3[_0x35d5c6(0x28e)]-0x1;_0x544fe4>=0x0;_0x544fe4--){const _0x46c0c4=_0x2635a3[_0x544fe4];for(const _0x4bbd3f of Object[_0x35d5c6(0x215)](_0x46c0c4[_0x35d5c6(0x254)]))if(_0x46c0c4[_0x35d5c6(0x254)][_0x4bbd3f][_0x35d5c6(0x2ba)]){const _0x1dea49=_0x46c0c4[_0x35d5c6(0x254)][_0x4bbd3f][_0x35d5c6(0x2ba)];_0x1dea49[_0x35d5c6(0x242)]?(_0x520611[_0x35d5c6(0x1c7)](_0x4bbd3f),_0x262a54[_0x35d5c6(0x2a8)](_0x4bbd3f)&&_0x262a54[_0x35d5c6(0x21c)](_0x4bbd3f)[_0x35d5c6(0x1a7)]==_0x1dea49[_0x35d5c6(0x1a7)]?_0x262a54[_0x35d5c6(0x2bb)](_0x4bbd3f):_0x262a54[_0x35d5c6(0x233)](_0x4bbd3f,_0x1dea49)):_0x262a54[_0x35d5c6(0x2a8)](_0x4bbd3f)?(_0x520611[_0x35d5c6(0x2bb)](_0x4bbd3f),_0x262a54[_0x35d5c6(0x2bb)](_0x4bbd3f)):(_0x520611[_0x35d5c6(0x1c7)](_0x4bbd3f),_0x262a54[_0x35d5c6(0x233)](_0x4bbd3f,_0x1dea49));}else _0x520611[_0x35d5c6(0x1c7)](_0x4bbd3f);}for(const _0x5ba29f of _0x520611){const _0x2780d6=_0x262a54[_0x35d5c6(0x2a8)](_0x5ba29f)&&!_0x262a54[_0x35d5c6(0x21c)](_0x5ba29f)[_0x35d5c6(0x242)];let _0x27aec4=_0x2780d6?_0x2635a3[_0x35d5c6(0x28e)]-0x1:0x0;const _0x1da0a4=_0x2780d6?-0x1:0x1;for(;_0x2635a3[_0x27aec4];){const _0x8b268f=_0x2635a3[_0x27aec4];if(_0x8b268f[_0x35d5c6(0x254)][_0x5ba29f]){const _0x2925ab=_0x2780d6?_0x8b268f[_0x35d5c6(0x254)][_0x5ba29f][_0x35d5c6(0x23b)]:_0x8b268f[_0x35d5c6(0x254)][_0x5ba29f][_0x35d5c6(0x1c5)];_0x3bf697[_0x35d5c6(0x185)][_0x5ba29f]=_0x2925ab?_0x30b3c6(_0x2925ab):{};break;}_0x27aec4+=_0x1da0a4;}}for(const _0x5b8248 of _0x2635a3){_0x5b8248[_0x35d5c6(0x194)]={};for(const _0x24a099 of _0x5b8248[_0x35d5c6(0x261)])_0xa69764[_0x35d5c6(0x233)](_0x24a099['id'],_0x24a099);for(const _0x20a164 of _0x520611){const _0x386963=_0x5b8248[_0x35d5c6(0x254)][_0x20a164]?_0x5b8248[_0x35d5c6(0x254)][_0x20a164][_0x35d5c6(0x1fd)]:'[]',_0x144439=_0x5b8248[_0x35d5c6(0x254)][_0x20a164]?_0x5b8248[_0x35d5c6(0x254)][_0x20a164][_0x35d5c6(0x19a)]:'[]';_0x5b8248[_0x35d5c6(0x194)][_0x20a164]={'insertions':this[_0x35d5c6(0x188)](_0x386963),'deletions':this[_0x35d5c6(0x188)](_0x144439)};}}for(const _0x2ac55a of _0x520611){let _0x572806=null,_0xd6b25b=0x0;const _0x91101b=new Map(Array[_0x35d5c6(0x297)](_0x5c6f8[_0x35d5c6(0x194)][_0x2ac55a][_0x35d5c6(0x1fd)][_0x35d5c6(0x2ca)])[_0x35d5c6(0x257)](([_0x1e8270])=>!_0x1e8270[_0x35d5c6(0x25e)](_0x35d5c6(0x19c))));let _0x262805=0x0;for(const _0xd1d5a of _0x2635a3){const _0x6e19a9=this[_0x35d5c6(0x209)](_0xd1d5a[_0x35d5c6(0x194)][_0x2ac55a][_0x35d5c6(0x1fd)]);_0xd1d5a==_0x5c6f8?(_0x572806=_0x6e19a9,_0xd6b25b=_0x572806[_0x35d5c6(0x28e)],_0x572806[_0x35d5c6(0x26c)](_0x563955=>{_0x563955['id']=_0x262805++;}),this[_0x35d5c6(0x206)](_0x572806)):this[_0x35d5c6(0x29f)](_0x572806,_0x6e19a9);const _0x6cdf0e=_0x572806[_0x35d5c6(0x257)](_0x22fa4a=>!_0x22fa4a[_0x35d5c6(0x246)])[_0x35d5c6(0x2ac)](_0x3a4910=>_0x3a4910['id']);let _0x33ad05=0x0;const _0x326094=this[_0x35d5c6(0x209)](_0xd1d5a[_0x35d5c6(0x194)][_0x2ac55a][_0x35d5c6(0x19a)]);_0x326094[_0x35d5c6(0x26c)](_0x147662=>{const _0x41bf61=_0x35d5c6;_0x147662[_0x41bf61(0x1ba)]?_0x147662['id']=_0xd6b25b++:_0x147662['id']=_0x6cdf0e[_0x33ad05++];}),this[_0x35d5c6(0x206)](_0x326094),this[_0x35d5c6(0x289)](_0x572806,_0x35d5c6(0x246)),this[_0x35d5c6(0x289)](_0x326094,_0x35d5c6(0x1ba)),_0xd1d5a==_0x5c6f8&&this[_0x35d5c6(0x264)](_0x572806,_0x91101b),_0x572806=this[_0x35d5c6(0x2a1)](_0x572806,_0x326094),this[_0x35d5c6(0x24e)](_0x572806),this[_0x35d5c6(0x289)](_0x572806,_0x35d5c6(0x1ba));}_0x572806=_0x572806[_0x35d5c6(0x257)](_0x42d5fc=>!(_0x42d5fc[_0x35d5c6(0x246)]&&_0x42d5fc[_0x35d5c6(0x1ba)]));const _0x1af64b=new Map(_0x1d555a[_0x35d5c6(0x194)][_0x2ac55a][_0x35d5c6(0x19a)][_0x35d5c6(0x2ca)]),_0x3e0f26=new Set(_0x91101b[_0x35d5c6(0x215)]());for(const _0x39fa4e of _0x1af64b[_0x35d5c6(0x215)]())_0x3e0f26[_0x35d5c6(0x2bb)](_0x39fa4e);this[_0x35d5c6(0x253)](_0x572806,_0x3e0f26),this[_0x35d5c6(0x1cc)](_0x572806),_0x572806=this[_0x35d5c6(0x28c)](_0x572806),_0x572806=this[_0x35d5c6(0x1b4)](_0x572806),_0x572806=this[_0x35d5c6(0x20c)](_0x572806);const {root:_0xedffcd,changes:_0x3f87b1}=this[_0x35d5c6(0x1be)](_0x572806,_0xa69764,_0x2ac55a);_0x3bf697[_0x35d5c6(0x194)][_0x2ac55a]=_0xedffcd;const _0x589593=_0x262a54[_0x35d5c6(0x21c)](_0x2ac55a);if(_0x589593){const _0x31ae79=_0xa69764[_0x35d5c6(0x21c)](_0x589593[_0x35d5c6(0x1a7)]),_0x6bea21=new _0x6b87a6({'author':_0x31ae79,'type':_0x589593[_0x35d5c6(0x242)]?_0x35d5c6(0x1c7):_0x35d5c6(0x2d1),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2ac55a});_0x3f87b1[_0x35d5c6(0x1a8)](_0x6bea21),_0x3bf697[_0x35d5c6(0x185)][_0x2ac55a][_0x35d5c6(0x1fb)]=_0x6bea21['id'];}_0x3bf697[_0x35d5c6(0x1b3)]=_0x3bf697[_0x35d5c6(0x1b3)][_0x35d5c6(0x26b)](_0x3f87b1);}return _0x3bf697;}[_0x41c01b(0x264)](_0x3db0ed,_0x41d557){const _0x11adad=_0x41c01b;for(let _0x38b09=0x0;_0x38b09<_0x3db0ed[_0x11adad(0x28e)];_0x38b09++)for(const [_0x36233a,_0x107385]of _0x41d557)_0x107385[_0x11adad(0x223)][_0x11adad(0x1fa)](_0x3db0ed[_0x38b09][_0x11adad(0x1ed)])&&_0x3db0ed[_0x38b09][_0x11adad(0x2c0)][_0x11adad(0x2c3)](_0x36233a),_0x107385[_0x11adad(0x27f)][_0x11adad(0x1fa)](_0x3db0ed[_0x38b09][_0x11adad(0x2b6)])&&_0x3db0ed[_0x38b09][_0x11adad(0x19f)][_0x11adad(0x2c3)](_0x36233a);}[_0x41c01b(0x2a1)](_0x2f2cf0,_0x540acf){const _0x337b7c=_0x41c01b;let _0x13ac3a=[],_0x182c8c=0x0,_0x1dd2d8=0x0;for(;_0x182c8c<_0x2f2cf0[_0x337b7c(0x28e)]||_0x1dd2d8<_0x540acf[_0x337b7c(0x28e)];){const _0x13bc01=_0x2f2cf0[_0x182c8c]||{},_0x4fc5d1=_0x540acf[_0x1dd2d8]||{};if(_0x13bc01['id']==_0x4fc5d1['id'])_0x182c8c++,_0x1dd2d8++,_0x13ac3a[_0x337b7c(0x2c3)](_0x13bc01);else{if(_0x4fc5d1[_0x337b7c(0x1ba)]&&_0x13bc01[_0x337b7c(0x246)]){const {commonTape:_0x291865,iEnd:_0x245dc3,jEnd:_0x5a9b95}=this[_0x337b7c(0x1a9)](_0x2f2cf0,_0x182c8c,_0x540acf,_0x1dd2d8);_0x13ac3a=_0x13ac3a[_0x337b7c(0x26b)](_0x291865),_0x182c8c=_0x245dc3,_0x1dd2d8=_0x5a9b95;}else _0x4fc5d1[_0x337b7c(0x1ba)]?(_0x1dd2d8++,_0x13ac3a[_0x337b7c(0x2c3)](_0x4fc5d1)):(_0x182c8c++,_0x13ac3a[_0x337b7c(0x2c3)](_0x13bc01));}}return _0x13ac3a;}[_0x41c01b(0x253)](_0x4afbeb,_0x32eeb1){const _0x3a4349=_0x41c01b,_0x41982d=[];for(let _0x52b0f0=0x0;_0x52b0f0<_0x4afbeb[_0x3a4349(0x28e)];_0x52b0f0++){for(let _0x5b4fb3=0x0;_0x5b4fb3<_0x4afbeb[_0x52b0f0][_0x3a4349(0x2c0)][_0x3a4349(0x28e)];_0x5b4fb3++){const _0x3a9e90=_0x4afbeb[_0x52b0f0][_0x3a4349(0x2c0)][_0x5b4fb3];if(!_0x32eeb1[_0x3a4349(0x2a8)](_0x3a9e90))continue;const {group:_0x543603,type:_0x72d8b,authorId:_0x2cad9f}=_0x2de54f(_0x3a9e90);_0x3a4349(0x275)!=_0x543603||_0x3a4349(0x1e4)!=_0x72d8b&&_0x3a4349(0x296)!=_0x72d8b||(_0x41982d[_0x3a4349(0x1a8)]({'type':_0x72d8b,'name':_0x3a9e90,'userId':_0x2cad9f}),_0x4afbeb[_0x52b0f0][_0x3a4349(0x2c0)][_0x3a4349(0x1ff)](_0x5b4fb3,0x1),_0x5b4fb3--);}_0xc9382d(_0x4afbeb[_0x52b0f0]);for(let _0x2f96d9=0x0;_0x2f96d9<_0x4afbeb[_0x52b0f0][_0x3a4349(0x19f)][_0x3a4349(0x28e)];_0x2f96d9++){const _0x2d6cf1=_0x4afbeb[_0x52b0f0][_0x3a4349(0x19f)][_0x2f96d9];if(!_0x32eeb1[_0x3a4349(0x2a8)](_0x2d6cf1))continue;const {group:_0x56d973,type:_0x596a17}=_0x2de54f(_0x2d6cf1);if(_0x3a4349(0x275)!=_0x56d973||_0x3a4349(0x1e4)!=_0x596a17&&_0x3a4349(0x296)!=_0x596a17)continue;_0x4afbeb[_0x52b0f0][_0x3a4349(0x19f)][_0x3a4349(0x1ff)](_0x2f96d9,0x1),_0x2f96d9--;const _0x3d53c3=_0x41982d[_0x3a4349(0x282)](_0x48f56f=>_0x48f56f[_0x3a4349(0x25d)]==_0x2d6cf1);_0x3d53c3>-0x1&&_0x41982d[_0x3a4349(0x1ff)](_0x3d53c3,0x1);}}function _0x2de54f(_0x4701dd){const _0x3cabca=_0x3a4349,_0x3a42c4=_0x4701dd[_0x3cabca(0x220)](':');return{'group':_0x3a42c4[0x0],'type':_0x3a42c4[0x1],'subType':_0x3a42c4[_0x3cabca(0x28e)]>=0x5?_0x3a42c4[0x2]:null,'id':_0x3a42c4[_0x3cabca(0x28e)]<0x5?_0x3a42c4[0x2]:_0x3a42c4[0x3],'authorId':_0x3a42c4[_0x3cabca(0x28e)]<0x5?_0x3a42c4[0x3]:_0x3a42c4[0x4],'markerCount':0x6==_0x3a42c4[_0x3cabca(0x28e)]?_0x3a42c4[0x5]:null};}function _0xc9382d(_0x4f189e){const _0x3f85f4=_0x3a4349;for(let _0x56554c=0x0;_0x56554c<_0x41982d[_0x3f85f4(0x28e)];_0x56554c++){if(_0x4f189e[_0x3f85f4(0x246)]&&_0x3f85f4(0x1e4)==_0x41982d[_0x56554c][_0x3f85f4(0x28a)])return _0x4f189e[_0x3f85f4(0x294)]=_0x41982d[_0x56554c],void delete _0x4f189e[_0x3f85f4(0x246)];if(!_0x4f189e[_0x3f85f4(0x246)]&&!_0x4f189e[_0x3f85f4(0x1ba)]&&_0x3f85f4(0x296)==_0x41982d[_0x56554c][_0x3f85f4(0x28a)])return void(_0x4f189e[_0x3f85f4(0x1f4)]=_0x41982d[_0x56554c]);}}}[_0x41c01b(0x289)](_0x3e4de8,_0x259e9a){const _0x1f3754=_0x41c01b;let _0x471466=0x0,_0x22c262=!0x1;const _0x114e31=new Map();for(const _0x11ce64 of _0x3e4de8)_0x11ce64[_0x259e9a]?_0x22c262&&(_0x471466++,_0x22c262=!0x1):(_0x471466++,_0x22c262=!0x0),_0x114e31[_0x1f3754(0x233)](_0x11ce64['id'],_0x471466);for(let _0x5886e9=0x0;_0x5886e9<_0x3e4de8[_0x1f3754(0x28e)];_0x5886e9++){if(_0x1f3754(0x1ba)==_0x259e9a&&_0x3e4de8[_0x5886e9][_0x1f3754(0x246)]||_0x1f3754(0x246)==_0x259e9a&&_0x3e4de8[_0x5886e9][_0x1f3754(0x1ba)])continue;if(_0x1f3754(0x236)==_0x3e4de8[_0x5886e9][_0x1f3754(0x28a)]){_0x3e4de8[_0x5886e9][_0x1f3754(0x28b)]=0x0;continue;}const _0xfce2a=_0x114e31[_0x1f3754(0x21c)](_0x3e4de8[_0x5886e9][_0x1f3754(0x234)]),_0x405551=_0x114e31[_0x1f3754(0x21c)](_0x3e4de8[_0x5886e9]['id']);_0x3e4de8[_0x5886e9][_0x1f3754(0x28b)]=_0xfce2a-_0x405551;}}[_0x41c01b(0x2a0)](_0x51f82c,_0x4f41fd,_0x56c2a1=!0x1){const _0x4f6a99=_0x41c01b,_0x441570=[];let _0x1cafcb=this[_0x4f6a99(0x2cf)][_0x4f6a99(0x23f)](_0x51f82c),_0x15afa1=this[_0x4f6a99(0x2cf)][_0x4f6a99(0x23f)](_0x4f41fd);for(-0x1==_0x15afa1&&(_0x15afa1=this[_0x4f6a99(0x2cf)][_0x4f6a99(0x1aa)][_0x4f6a99(0x28e)],_0x56c2a1=!0x1);_0x1cafcb<_0x15afa1;)_0x441570[_0x4f6a99(0x2c3)](this[_0x4f6a99(0x2cf)][_0x4f6a99(0x1d6)](_0x1cafcb)),_0x1cafcb++;return _0x56c2a1&&_0x441570[_0x4f6a99(0x2c3)](this[_0x4f6a99(0x2cf)][_0x4f6a99(0x1d6)](_0x1cafcb)),_0x441570;}[_0x41c01b(0x1a9)](_0x5d29dc,_0x211f25,_0x1aee1a,_0xcf06fa){const _0x19ca7a=_0x41c01b,_0x186769=this[_0x19ca7a(0x277)][_0x19ca7a(0x194)][_0x19ca7a(0x1a2)];let _0xb6f024=_0x211f25;for(;_0x5d29dc[_0xb6f024]&&_0x5d29dc[_0xb6f024][_0x19ca7a(0x246)];)_0xb6f024++;let _0x4841eb=_0xcf06fa;for(;_0x1aee1a[_0x4841eb]&&_0x1aee1a[_0x4841eb][_0x19ca7a(0x1ba)];)_0x4841eb++;_0x430f32(_0x5d29dc,_0x211f25,_0xb6f024),_0x430f32(_0x1aee1a,_0xcf06fa,_0x4841eb);const _0x58f392=_0x1aee1a[_0x19ca7a(0x2c2)](_0xcf06fa,_0x4841eb)[_0x19ca7a(0x26b)](_0x5d29dc[_0x19ca7a(0x2c2)](_0x211f25,_0xb6f024));return _0x58f392[_0x19ca7a(0x184)]((_0x406e7d,_0x3421fa)=>_0x406e7d[_0x19ca7a(0x20a)]!=_0x3421fa[_0x19ca7a(0x20a)]?_0x406e7d[_0x19ca7a(0x20a)]-_0x3421fa[_0x19ca7a(0x20a)]:_0x406e7d[_0x19ca7a(0x1d9)]!=_0x3421fa[_0x19ca7a(0x1d9)]?_0x406e7d[_0x19ca7a(0x1d9)]-_0x3421fa[_0x19ca7a(0x1d9)]:_0x406e7d[_0x19ca7a(0x28b)]!=_0x3421fa[_0x19ca7a(0x28b)]?_0x3421fa[_0x19ca7a(0x28b)]-_0x406e7d[_0x19ca7a(0x28b)]:!!_0x406e7d[_0x19ca7a(0x246)]!=!!_0x3421fa[_0x19ca7a(0x246)]?-0x1==_0x406e7d[_0x19ca7a(0x20a)]||0x0==_0x406e7d[_0x19ca7a(0x20a)]?_0x406e7d[_0x19ca7a(0x246)]?-0x1:0x1:_0x406e7d[_0x19ca7a(0x246)]?0x1:-0x1:_0x406e7d[_0x19ca7a(0x1d3)]-_0x3421fa[_0x19ca7a(0x1d3)]),{'commonTape':_0x58f392,'iEnd':_0xb6f024,'jEnd':_0x4841eb};function _0x430f32(_0xc120d8,_0x4233cd,_0x3a6465){const _0x479957=_0x19ca7a;let _0x17a1eb=-0x1,_0x177a6f=Number[_0x479957(0x23a)],_0x2b113f=!0x0;for(let _0x3a1903=_0x4233cd;_0x3a1903<_0x3a6465;_0x3a1903++)if(_0x186769[_0x479957(0x272)](_0xc120d8[_0x3a1903][_0x479957(0x2c9)])||(_0x2b113f=!0x1),_0xc120d8[_0x3a1903][_0x479957(0x2c9)][_0x479957(0x1bc)]<_0x4233cd&&(_0x17a1eb=_0x3a1903),_0xc120d8[_0x3a1903][_0x479957(0x2c9)][_0x479957(0x2b5)]>=_0x3a6465){_0x177a6f=_0x3a1903;break;}_0x2b113f&&(_0x17a1eb=_0x3a6465-0x1);for(let _0x2f3ce3=_0x4233cd;_0x2f3ce3<_0x3a6465;_0x2f3ce3++)_0xc120d8[_0x2f3ce3][_0x479957(0x20a)]=_0x2f3ce3<=_0x17a1eb?-0x1:_0x2f3ce3<_0x177a6f?0x0:0x1,_0xc120d8[_0x2f3ce3][_0x479957(0x1d3)]=_0x2f3ce3;let _0x242466=0x0;for(let _0x5486e7=_0x4233cd;_0x5486e7<=_0x17a1eb;_0x5486e7++)0x0==_0xc120d8[_0x5486e7][_0x479957(0x28b)]?_0xc120d8[_0x5486e7][_0x479957(0x1d9)]=_0x242466:(_0x242466++,_0xc120d8[_0x5486e7][_0x479957(0x1d9)]=_0x242466,_0x242466++);for(let _0x3eba2e=_0x4233cd;_0x3eba2e<_0x3a6465;_0x3eba2e++)0x0==_0xc120d8[_0x3eba2e][_0x479957(0x20a)]&&(_0xc120d8[_0x3eba2e][_0x479957(0x1d9)]=_0x242466);_0x242466=0x0;for(let _0x58fd67=_0x3a6465-0x1;_0x58fd67>=_0x177a6f;_0x58fd67--)0x0==_0xc120d8[_0x58fd67][_0x479957(0x28b)]?_0xc120d8[_0x58fd67][_0x479957(0x1d9)]=_0x242466:(_0x242466--,_0xc120d8[_0x58fd67][_0x479957(0x1d9)]=_0x242466,_0x242466--);}}[_0x41c01b(0x1cc)](_0x189ccd){const _0xc07092=_0x41c01b,_0x49ea93=new Map(),_0x4e6e24=this[_0xc07092(0x277)][_0xc07092(0x194)][_0xc07092(0x1a2)];for(let _0x34f86f=0x1;_0x34f86f<_0x189ccd[_0xc07092(0x28e)];_0x34f86f++){let _0x2fe1ab,_0x42d7cf,_0x4b4305;const _0x1d7b0=_0x189ccd[_0x34f86f],_0xb938a2=_0x189ccd[_0x34f86f-0x1];if(_0xc07092(0x236)==_0x1d7b0[_0xc07092(0x28a)])continue;if(_0x1d7b0[_0xc07092(0x28a)]!=_0xb938a2[_0xc07092(0x28a)])continue;if(!_0x4e6e24[_0xc07092(0x247)](_0xb938a2[_0xc07092(0x2c9)])||_0x4e6e24[_0xc07092(0x226)](_0xb938a2[_0xc07092(0x2c9)]))continue;if(!_0x4e6e24[_0xc07092(0x247)](_0x1d7b0[_0xc07092(0x2c9)])||_0x4e6e24[_0xc07092(0x226)](_0x1d7b0[_0xc07092(0x2c9)]))continue;if((_0x189ccd[_0x34f86f][_0xc07092(0x246)]||_0x189ccd[_0x34f86f][_0xc07092(0x294)])&&_0x189ccd[_0x34f86f-0x1][_0xc07092(0x1ba)])_0x2fe1ab=_0x189ccd[_0x34f86f],_0x42d7cf=_0x189ccd[_0x34f86f-0x1],_0x4b4305=_0x34f86f-0x1;else{if(!_0x189ccd[_0x34f86f][_0xc07092(0x1ba)]||!_0x189ccd[_0x34f86f-0x1][_0xc07092(0x246)]&&!_0x189ccd[_0x34f86f-0x1][_0xc07092(0x294)])continue;_0x2fe1ab=_0x189ccd[_0x34f86f-0x1],_0x42d7cf=_0x189ccd[_0x34f86f],_0x4b4305=_0x34f86f;}const _0x118e3c=_0x2fe1ab[_0xc07092(0x1d9)]==_0x42d7cf[_0xc07092(0x1d9)],_0xf84179=Math[_0xc07092(0x219)](_0x2fe1ab[_0xc07092(0x1d9)])<Math[_0xc07092(0x219)](_0x42d7cf[_0xc07092(0x1d9)])&&0x0==_0x42d7cf[_0xc07092(0x28b)];(_0x118e3c||_0xf84179)&&(_0x49ea93[_0xc07092(0x233)](_0x42d7cf['id'],_0x2fe1ab['id']),_0x189ccd[_0xc07092(0x1ff)](_0x4b4305,0x1),_0x34f86f--,_0x2fe1ab[_0xc07092(0x246)]=!0x1);}for(let _0x37328c=0x0;_0x37328c<_0x189ccd[_0xc07092(0x28e)];_0x37328c++)_0x49ea93[_0xc07092(0x2a8)](_0x189ccd[_0x37328c][_0xc07092(0x234)])&&(_0x189ccd[_0x37328c][_0xc07092(0x234)]=_0x49ea93[_0xc07092(0x21c)](_0x189ccd[_0x37328c][_0xc07092(0x234)]));}[_0x41c01b(0x28c)](_0x5e3019){const _0x17b180=_0x41c01b,_0x20ea21=new Set(_0x5e3019[_0x17b180(0x2ac)](_0xb2dc8c=>_0xb2dc8c['id']));for(let _0x5783dd=0x0;_0x5783dd<_0x5e3019[_0x17b180(0x28e)];_0x5783dd++)_0x20ea21[_0x17b180(0x2a8)](_0x5e3019[_0x5783dd][_0x17b180(0x234)])||0x0==_0x5e3019[_0x5783dd][_0x17b180(0x28b)]||(_0x5e3019[_0x5783dd][_0x17b180(0x269)]=!0x0);return _0x5e3019[_0x17b180(0x257)](_0x462916=>!_0x462916[_0x17b180(0x269)]);}[_0x41c01b(0x1b4)](_0x4cfe87){const _0x23f6b2=_0x41c01b,_0x2cf294=new Set();for(let _0x4eb55c=0x0;_0x4eb55c<_0x4cfe87[_0x23f6b2(0x28e)];_0x4eb55c++){if(_0x2cf294[_0x23f6b2(0x2a8)](_0x4cfe87[_0x4eb55c]['id'])&&_0x4cfe87[_0x4eb55c][_0x23f6b2(0x1ba)]&&(_0x4cfe87[_0x4eb55c][_0x23f6b2(0x269)]=!0x0),_0x4cfe87[_0x4eb55c][_0x23f6b2(0x269)])continue;if(0x0==_0x4cfe87[_0x4eb55c][_0x23f6b2(0x28b)])continue;if(_0x23f6b2(0x266)!=_0x4cfe87[_0x4eb55c][_0x23f6b2(0x28a)])continue;if(null==_0x4cfe87[_0x4eb55c][_0x23f6b2(0x234)])continue;let _0x4ba715=_0x4eb55c+0x1,_0x3b3d05=0x0;for(;_0x4cfe87[_0x4ba715]['id']!=_0x4cfe87[_0x4eb55c][_0x23f6b2(0x234)];)_0x23f6b2(0x266)==_0x4cfe87[_0x4ba715][_0x23f6b2(0x28a)]?_0x3b3d05++:_0x23f6b2(0x24f)==_0x4cfe87[_0x4ba715][_0x23f6b2(0x28a)]&&_0x3b3d05--,_0x4ba715++;if(0x0!=_0x3b3d05){if(_0x4cfe87[_0x4eb55c][_0x23f6b2(0x1ba)])_0x4cfe87[_0x4eb55c][_0x23f6b2(0x269)]=!0x0;else{for(;_0x4ba715!=_0x4eb55c;)_0x4cfe87[_0x4ba715][_0x23f6b2(0x1ba)]&&0x0!=_0x4cfe87[_0x4ba715][_0x23f6b2(0x28b)]&&(_0x4cfe87[_0x4ba715][_0x23f6b2(0x269)]=!0x0,_0x2cf294[_0x23f6b2(0x1c7)](_0x4cfe87[_0x4ba715][_0x23f6b2(0x234)])),_0x4ba715--;}}}return _0x4cfe87[_0x23f6b2(0x257)](_0x2e8ea5=>!_0x2e8ea5[_0x23f6b2(0x269)]);}[_0x41c01b(0x20c)](_0x5d4ac6){const _0x424dd9=_0x41c01b,_0x18d640=this[_0x424dd9(0x277)][_0x424dd9(0x194)][_0x424dd9(0x1a2)];for(let _0x3e02fe=0x0;_0x3e02fe<_0x5d4ac6[_0x424dd9(0x28e)];_0x3e02fe++){if(!(_0x5d4ac6[_0x3e02fe][_0x424dd9(0x246)]||_0x5d4ac6[_0x3e02fe][_0x424dd9(0x294)]||_0x5d4ac6[_0x3e02fe][_0x424dd9(0x1ba)]||_0x5d4ac6[_0x3e02fe][_0x424dd9(0x1f4)]))continue;if(0x0==_0x5d4ac6[_0x3e02fe][_0x424dd9(0x28b)])continue;const _0xd6759f=_0x5d4ac6[_0x3e02fe][_0x424dd9(0x2c9)];_0x18d640[_0x424dd9(0x247)](_0xd6759f)||_0x18d640[_0x424dd9(0x226)](_0xd6759f)||(_0x5d4ac6[_0x3e02fe][_0x424dd9(0x246)]&&delete _0x5d4ac6[_0x3e02fe][_0x424dd9(0x246)],_0x5d4ac6[_0x3e02fe][_0x424dd9(0x294)]&&delete _0x5d4ac6[_0x3e02fe][_0x424dd9(0x294)],_0x5d4ac6[_0x3e02fe][_0x424dd9(0x1f4)]&&delete _0x5d4ac6[_0x3e02fe][_0x424dd9(0x1f4)],_0x5d4ac6[_0x3e02fe][_0x424dd9(0x1ba)]&&(_0x5d4ac6[_0x3e02fe][_0x424dd9(0x269)]=!0x0));}return _0x5d4ac6[_0x424dd9(0x257)](_0xf0c006=>!_0xf0c006[_0x424dd9(0x269)]);}[_0x41c01b(0x1be)](_0x1d4996,_0x1e509d,_0x5d6a03){const _0x4817b9=_0x41c01b,_0xf200ba=new _0x15e870(),_0x23d2ee=[],_0x23549a=new Map(),_0x8d4a69=this[_0x4817b9(0x277)][_0x4817b9(0x194)],_0x3b39c2=_0x8d4a69[_0x4817b9(0x1a2)],_0x58cef8=[_0xf200ba],_0x157630={},_0x5ea5e4={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3f1eae=null;const _0xdb014=[0x0];for(let _0x3791d5=0x0;_0x3791d5<_0x1d4996[_0x4817b9(0x28e)];_0x3791d5++)if(_0x4817b9(0x266)===_0x1d4996[_0x3791d5][_0x4817b9(0x28a)]){_0x1d4996[_0x3791d5][_0x4817b9(0x1ed)]=_0x8d4a69[_0x4817b9(0x1ee)](_0xf200ba,_0xdb014);const _0x12a54f=new _0x3c5661(_0x1d4996[_0x3791d5][_0x4817b9(0x2c9)][_0x4817b9(0x25d)],_0x1d4996[_0x3791d5][_0x4817b9(0x2c9)][_0x4817b9(0x1ec)]());_0x58cef8[0x0][_0x4817b9(0x1b7)](_0x12a54f),_0xdb014[_0x4817b9(0x2c3)](0x0),_0x58cef8[_0x4817b9(0x1a8)](_0x12a54f),_0x1d4996[_0x3791d5][_0x4817b9(0x2b6)]=_0x8d4a69[_0x4817b9(0x1ee)](_0xf200ba,_0xdb014);}else _0x4817b9(0x24f)===_0x1d4996[_0x3791d5][_0x4817b9(0x28a)]?(_0x58cef8[_0x4817b9(0x240)](),_0x1d4996[_0x3791d5][_0x4817b9(0x1ed)]=_0x8d4a69[_0x4817b9(0x1ee)](_0xf200ba,_0xdb014),_0xdb014[_0x4817b9(0x22c)](),_0xdb014[_0xdb014[_0x4817b9(0x28e)]-0x1]++,_0x1d4996[_0x3791d5][_0x4817b9(0x2b6)]=_0x8d4a69[_0x4817b9(0x1ee)](_0xf200ba,_0xdb014)):(_0x1d4996[_0x3791d5][_0x4817b9(0x1ed)]=_0x8d4a69[_0x4817b9(0x1ee)](_0xf200ba,_0xdb014),_0x3f1eae?_0x3f1eae[_0x4817b9(0x288)]+=_0x1d4996[_0x3791d5][_0x4817b9(0x2c9)][_0x4817b9(0x1af)]:_0x3f1eae=new _0x513825(_0x1d4996[_0x3791d5][_0x4817b9(0x2c9)][_0x4817b9(0x1af)],_0x1d4996[_0x3791d5][_0x4817b9(0x2c9)][_0x4817b9(0x1ec)]()),_0x1d4996[_0x3791d5+0x1]&&_0x4817b9(0x236)===_0x1d4996[_0x3791d5+0x1][_0x4817b9(0x28a)]&&_0x150e63(_0x3f1eae,_0x1d4996[_0x3791d5+0x1][_0x4817b9(0x2c9)])||(_0x58cef8[0x0][_0x4817b9(0x1b7)](_0x3f1eae),_0x3f1eae=null),_0xdb014[_0xdb014[_0x4817b9(0x28e)]-0x1]+=_0x1d4996[_0x3791d5][_0x4817b9(0x2c9)][_0x4817b9(0x2c1)],_0x1d4996[_0x3791d5][_0x4817b9(0x2b6)]=_0x8d4a69[_0x4817b9(0x1ee)](_0xf200ba,_0xdb014));for(let _0x35b547=0x0;_0x35b547<_0x1d4996[_0x4817b9(0x28e)];_0x35b547++){const _0x3fbd6e=_0x1d4996[_0x35b547][_0x4817b9(0x1ed)],_0x1eb482=_0x1d4996[_0x35b547][_0x4817b9(0x2b6)];for(const _0x58df99 of _0x1d4996[_0x35b547][_0x4817b9(0x2c0)])_0x23549a[_0x4817b9(0x233)](_0x58df99,{'start':_0x3fbd6e,'end':null});_0x1c93bc(_0x4817b9(0x1f4),_0x35b547,_0x3fbd6e,_0x1eb482),_0x1c93bc(_0x4817b9(0x294),_0x35b547,_0x3fbd6e,_0x1eb482),_0x1c93bc(_0x4817b9(0x1ba),_0x35b547,_0x3fbd6e,_0x1eb482),_0x1c93bc(_0x4817b9(0x246),_0x35b547,_0x3fbd6e,_0x1eb482);for(const _0x47e81c of _0x1d4996[_0x35b547][_0x4817b9(0x19f)]){_0x23549a[_0x4817b9(0x21c)](_0x47e81c)[_0x4817b9(0x27f)]=_0x1eb482;}}for(const [_0x338cdf,_0x458f2f]of _0x23549a){const _0x2be3ba=this[_0x4817b9(0x277)][_0x4817b9(0x194)][_0x4817b9(0x1a6)](_0x458f2f[_0x4817b9(0x223)],_0x458f2f[_0x4817b9(0x27f)]);_0xf200ba[_0x4817b9(0x2ca)][_0x4817b9(0x233)](_0x338cdf,_0x2be3ba);}return _0x23d2ee[_0x4817b9(0x184)]((_0x3f4e1b,_0x1ec730)=>{const _0x268b98=_0x4817b9,_0x27e80c=_0xf200ba[_0x268b98(0x2ca)][_0x268b98(0x21c)](_0x268b98(0x19c)+_0x3f4e1b['id']),_0x1f6260=_0xf200ba[_0x268b98(0x2ca)][_0x268b98(0x21c)](_0x268b98(0x19c)+_0x1ec730['id']);return _0x27e80c[_0x268b98(0x223)][_0x268b98(0x227)](_0x1f6260[_0x268b98(0x223)])?-0x1:_0x27e80c[_0x268b98(0x223)][_0x268b98(0x212)](_0x1f6260[_0x268b98(0x223)])?0x1:_0x27e80c[_0x268b98(0x27f)][_0x268b98(0x227)](_0x1f6260[_0x268b98(0x27f)])?-0x1:_0x27e80c[_0x268b98(0x27f)][_0x268b98(0x212)](_0x1f6260[_0x268b98(0x27f)])?0x1:_0x268b98(0x1c7)===_0x3f4e1b[_0x268b98(0x28a)]?-0x1:0x1;}),{'root':_0xf200ba,'changes':_0x23d2ee};function _0x1c93bc(_0x576511,_0x526986,_0x4c047b,_0x3babf6){const _0x57ff9f=_0x4817b9,_0x24e7d6=!!_0x1d4996[_0x526986][_0x576511],_0xd4e53e=_0x24e7d6?_0x1d4996[_0x526986][_0x576511][_0x57ff9f(0x1a7)]:null,_0x269f32=_0x526986===_0x1d4996[_0x57ff9f(0x28e)]-0x1,_0x34415a=_0x5ea5e4[_0x576511][0x0],_0x2c1ff2=_0x3b39c2[_0x57ff9f(0x20f)](_0x1d4996[_0x526986][_0x57ff9f(0x2c9)]);!_0x157630[_0x576511]&&_0x24e7d6?_0x157630[_0x576511]={'start':_0x4c047b,'tapeItem':_0x1d4996[_0x526986],'userId':_0xd4e53e,'type':_0x576511}:_0x157630[_0x576511]&&!_0x24e7d6?(_0x157630[_0x576511][_0x57ff9f(0x27f)]=_0x4c047b,_0x207d56(_0x157630[_0x576511]),_0x157630[_0x576511]=null):_0x157630[_0x576511]&&_0x24e7d6&&_0x157630[_0x576511][_0x57ff9f(0x1a7)]!==_0xd4e53e&&(_0x157630[_0x576511][_0x57ff9f(0x27f)]=_0x4c047b,_0x34415a&&_0x34415a[_0x57ff9f(0x1a7)]===_0x157630[_0x576511][_0x57ff9f(0x1a7)]||_0x207d56(_0x157630[_0x576511]),_0x157630[_0x576511]={'start':_0x4c047b,'tapeItem':_0x1d4996[_0x526986],'userId':_0xd4e53e,'type':_0x576511}),_0x157630[_0x576511]&&_0x2c1ff2&&(_0x57ff9f(0x266)!==_0x1d4996[_0x526986][_0x57ff9f(0x28a)]||_0x34415a&&_0x34415a[_0x57ff9f(0x1a7)]===_0xd4e53e||_0x5ea5e4[_0x576511][_0x57ff9f(0x1a8)]({'userId':_0xd4e53e,'object':_0x1d4996[_0x526986][_0x57ff9f(0x2c9)],'change':_0x157630[_0x576511]}),_0x57ff9f(0x24f)===_0x1d4996[_0x526986][_0x57ff9f(0x28a)]&&_0x34415a&&_0x34415a[_0x57ff9f(0x1f8)]===_0x1d4996[_0x526986][_0x57ff9f(0x2c9)]&&(_0x5ea5e4[_0x576511][_0x57ff9f(0x240)](),_0x157630[_0x576511]=_0x34415a[_0x57ff9f(0x18b)])),_0x157630[_0x576511]&&_0x269f32&&(_0x157630[_0x576511][_0x57ff9f(0x27f)]=_0x3babf6,_0x207d56(_0x157630[_0x576511]),_0x157630[_0x576511]=null);}function _0x207d56({start:_0x17ecbe,end:_0x3b938f,tapeItem:_0x76963d,userId:_0x40c657,type:_0x3bd0bc}){const _0x27fba0=_0x4817b9,_0x422045=_0x76963d[_0x27fba0(0x2c9)],_0x186954=_0x8d4a69[_0x27fba0(0x1a2)][_0x27fba0(0x247)](_0x422045)&&!_0x8d4a69[_0x27fba0(0x1a2)][_0x27fba0(0x226)](_0x422045),_0x5014b4=_0x17ecbe[_0x27fba0(0x21b)]==_0x3b938f[_0x27fba0(0x262)]&&_0x3b938f[_0x27fba0(0x20e)];if(_0x186954&&_0x5014b4)return;const _0x5efebd=_0x8d4a69[_0x27fba0(0x1a6)](_0x17ecbe,_0x3b938f),_0x566d83=_0x1e509d[_0x27fba0(0x21c)](_0x40c657),_0x5bdb24=new _0x6b87a6({'author':_0x566d83,'type':_0x27fba0(0x246)==_0x3bd0bc||_0x27fba0(0x294)==_0x3bd0bc?_0x27fba0(0x1c7):_0x27fba0(0x2d1),'data':{'isSuggestion':_0x27fba0(0x294)==_0x3bd0bc||_0x27fba0(0x1f4)==_0x3bd0bc},'createdAt':new Date(),'rootName':_0x5d6a03});_0x23d2ee[_0x27fba0(0x2c3)](_0x5bdb24),_0xf200ba[_0x27fba0(0x2ca)][_0x27fba0(0x233)](_0x27fba0(0x19c)+_0x5bdb24['id'],_0x5efebd);}function _0x150e63(_0x345870,_0x173958){const _0x1441d0=_0x4817b9,_0x433493=_0x345870[_0x1441d0(0x1ec)](),_0x432be4=_0x173958[_0x1441d0(0x1ec)]();for(const _0x5c1b0e of _0x433493){if(_0x5c1b0e[0x1]!==_0x173958[_0x1441d0(0x1d2)](_0x5c1b0e[0x0]))return!0x1;_0x432be4[_0x1441d0(0x186)]();}return _0x432be4[_0x1441d0(0x186)]()[_0x1441d0(0x1c9)];}}[_0x41c01b(0x248)](){const _0xf26a02=_0x41c01b;this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x250))[_0xf26a02(0x225)]({'view':_0xf26a02(0x293)}),this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x1e9))[_0xf26a02(0x1a5)]({'model':_0xf26a02(0x293),'view':_0x159c39=>{const _0x25e10a=_0xf26a02,_0x2ea5cf=_0x159c39[_0x25e10a(0x24d)][_0x25e10a(0x220)](':')[0x1],_0x388eb9=this[_0x25e10a(0x180)](_0x2ea5cf);if(!_0x388eb9)return null;const _0x56c7ff=_0x25e10a(0x1c7)==_0x388eb9[_0x25e10a(0x28a)]?_0x25e10a(0x1e4):_0x25e10a(0x296),_0x2c7996=[_0x25e10a(0x1b6),_0x25e10a(0x28d)+_0x56c7ff];return _0x388eb9[_0x25e10a(0x1af)][_0x25e10a(0x20b)]&&_0x2c7996[_0x25e10a(0x2c3)](_0x25e10a(0x28d)+_0x56c7ff+_0x25e10a(0x1c8)),this[_0x25e10a(0x1e6)]==_0x388eb9&&_0x2c7996[_0x25e10a(0x2c3)](_0x25e10a(0x273)),{'classes':_0x2c7996,'attributes':{'data-change-id':_0x2ea5cf}};}}),this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x250))[_0xf26a02(0x1c7)](_0x163aab=>{const _0x4b74c2=_0xf26a02;_0x163aab['on'](_0x4b74c2(0x1d5),(_0x3cced0,_0x8ec63c,_0x520cc0)=>{const _0x168d66=_0x4b74c2,_0xe42d4f=_0x8ec63c[_0x168d66(0x241)][_0x168d66(0x2a7)](0x0);if(!_0xe42d4f||!_0xe42d4f['is'](_0x168d66(0x23d),_0x168d66(0x222)))return;if(!_0x520cc0[_0x168d66(0x23c)][_0x168d66(0x22a)](_0xe42d4f,{'attributes':[_0x168d66(0x29e),_0x168d66(0x255)]}))return;const _0x4e841a=_0x8ec63c[_0x168d66(0x2a5)][_0x168d66(0x223)][_0x168d66(0x21b)];_0x520cc0[_0x168d66(0x298)][_0x168d66(0x1ab)](_0x168d66(0x29e),_0xe42d4f[_0x168d66(0x1d2)](_0x168d66(0x29e)),_0x4e841a),_0x520cc0[_0x168d66(0x298)][_0x168d66(0x1ab)](_0x168d66(0x255),_0xe42d4f[_0x168d66(0x1d2)](_0x168d66(0x255)),_0x4e841a);},{'priority':_0x4b74c2(0x2a9)});}),this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x250))[_0xf26a02(0x1c7)](_0x1c5587=>{const _0x4dbc6a=_0xf26a02;_0x1c5587['on'](_0x4dbc6a(0x23d),(_0xb4badf,_0x327d49,_0x162419)=>{const _0x3ddf57=_0x4dbc6a;if(!_0x162419[_0x3ddf57(0x23c)][_0x3ddf57(0x22a)](_0x327d49[_0x3ddf57(0x241)],{'attributes':[_0x3ddf57(0x29e),_0x3ddf57(0x255)]}))return;if(_0x327d49[_0x3ddf57(0x2a5)][_0x3ddf57(0x228)])return;const _0x16e0cb=_0x327d49[_0x3ddf57(0x2a5)][_0x3ddf57(0x223)][_0x3ddf57(0x21b)];_0x16e0cb[_0x3ddf57(0x274)](_0x3ddf57(0x29e))||_0x16e0cb[_0x3ddf57(0x274)](_0x3ddf57(0x2ae))||(_0x162419[_0x3ddf57(0x298)][_0x3ddf57(0x1ab)](_0x3ddf57(0x29e),_0x327d49[_0x3ddf57(0x241)][_0x3ddf57(0x1d2)](_0x3ddf57(0x29e)),_0x16e0cb),_0x162419[_0x3ddf57(0x298)][_0x3ddf57(0x1ab)](_0x3ddf57(0x255),_0x327d49[_0x3ddf57(0x241)][_0x3ddf57(0x1d2)](_0x3ddf57(0x255)),_0x16e0cb));},{'priority':_0x4dbc6a(0x2a9)});}),this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x250))[_0xf26a02(0x252)]({'view':{'name':_0xf26a02(0x280),'attributes':{'vid':!0x0}},'model':{'key':_0xf26a02(0x2ae),'value':_0xf2e274=>_0xf2e274[_0xf26a02(0x1d2)](_0xf26a02(0x2ae))}}),this[_0xf26a02(0x277)][_0xf26a02(0x194)][_0xf26a02(0x1a2)]['on'](_0xf26a02(0x1ce),(_0x3ff726,[,_0x3d532b])=>{const _0x458a22=_0xf26a02;[_0x458a22(0x29e),_0x458a22(0x255),_0x458a22(0x2ae)][_0x458a22(0x1cf)](_0x3d532b)&&(_0x3ff726[_0x458a22(0x189)]=!0x0,_0x3ff726[_0x458a22(0x2b8)]());},{'priority':_0xf26a02(0x27e)}),this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x18d))[_0xf26a02(0x1c7)](_0x306d7c=>{const _0x1eabb=_0xf26a02;_0x306d7c['on'](_0x1eabb(0x279),(_0x443428,_0x46cf18,_0x25b75d)=>{const _0x18adb0=_0x1eabb;if('\x20'!=_0x46cf18[_0x18adb0(0x2c9)][_0x18adb0(0x1af)]||_0x46cf18[_0x18adb0(0x2c9)][_0x18adb0(0x262)][_0x18adb0(0x1ac)]>0x1)return;if(!_0x25b75d[_0x18adb0(0x23c)][_0x18adb0(0x22a)](_0x46cf18[_0x18adb0(0x2c9)],_0x443428[_0x18adb0(0x25d)]))return;const _0x30147e=_0x25b75d[_0x18adb0(0x298)],_0x27bd4e=_0x25b75d[_0x18adb0(0x18a)][_0x18adb0(0x183)](_0x46cf18[_0x18adb0(0x1e3)]);_0x30147e[_0x18adb0(0x187)](_0x27bd4e,_0x30147e[_0x18adb0(0x21f)](_0x18adb0(0x280)));});}),this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x18d))[_0xf26a02(0x281)]({'model':_0xf26a02(0x293)}),this[_0xf26a02(0x277)][_0xf26a02(0x1de)][_0xf26a02(0x2c8)]['on'](_0xf26a02(0x256),function(_0x2d73db){const _0x58b123=_0xf26a02,_0x5e8b45=_0x2d73db[_0x58b123(0x271)][_0x58b123(0x21c)](_0x58b123(0x2a3));return(_0x2fd3d5,_0x24a86b,_0x763992)=>{const _0x386103=_0x58b123,_0x10e243=_0x24a86b[_0x386103(0x24d)][_0x386103(0x220)](':')[0x1],_0x2d3d98=_0x5e8b45[_0x386103(0x180)](_0x10e243);if(!_0x2d3d98)return null;const _0xb3ed2a=_0x386103(0x1c7)==_0x2d3d98[_0x386103(0x28a)]?_0x386103(0x220):_0x386103(0x221);if(!_0x763992[_0x386103(0x23c)][_0x386103(0x2aa)](_0x24a86b[_0x386103(0x205)],_0x2fd3d5[_0x386103(0x25d)]))return;const _0x292ba8=_0x24a86b[_0x386103(0x205)][_0x386103(0x1b0)](),_0x554040=_0x24a86b[_0x386103(0x205)][_0x386103(0x223)],_0x2cd99a=_0x2d73db[_0x386103(0x194)][_0x386103(0x1a2)];let _0x345198=null,_0x2be9d9=null,_0xaba1d6=!0x1,_0x4de0b7=!0x1;for(const _0x5e7ee5 of _0x292ba8){const _0x89058f=_0x5e7ee5[_0x386103(0x2c9)];_0xaba1d6=_0xaba1d6||_0x2cd99a[_0x386103(0x19e)](_0x89058f);const _0x298d96=_0x763992[_0x386103(0x18a)][_0x386103(0x27b)](_0x89058f);if(_0x298d96&&_0x298d96[_0x386103(0x29a)](_0x386103(0x1fc)))return;_0x386103(0x24f)==_0x5e7ee5[_0x386103(0x28a)]&&(_0x2cd99a[_0x386103(0x247)](_0x89058f)&&!_0x2cd99a[_0x386103(0x226)](_0x89058f)&&(_0x89058f[_0x386103(0x299)]||_0x554040[_0x386103(0x25a)]?_0x345198&&_0x345198[_0x386103(0x262)]==_0x89058f||(_0x345198=_0x89058f,_0x567c55(_0x5e7ee5[_0x386103(0x1ed)]),_0x4de0b7=!0x0):_0x2be9d9=_0x2be9d9||_0x5e7ee5[_0x386103(0x1ed)]));}function _0x567c55(_0x456864){const _0x128dc9=_0x386103,_0x458c44=_0x763992[_0x128dc9(0x298)][_0x128dc9(0x1dd)](_0x128dc9(0x280),{'class':_0x128dc9(0x28d)+_0xb3ed2a}),_0x52681c=_0x763992[_0x128dc9(0x18a)][_0x128dc9(0x20d)](_0x456864);_0x2d3d98[_0x128dc9(0x1af)][_0x128dc9(0x20b)]&&_0x763992[_0x128dc9(0x298)][_0x128dc9(0x204)](_0x128dc9(0x28d)+_0xb3ed2a+_0x128dc9(0x1c8),_0x458c44),_0x5e8b45[_0x128dc9(0x1e6)]==_0x2d3d98&&_0x763992[_0x128dc9(0x298)][_0x128dc9(0x204)](_0x128dc9(0x273),_0x458c44),_0x763992[_0x128dc9(0x298)][_0x128dc9(0x2b3)](_0x52681c,_0x458c44),_0x763992[_0x128dc9(0x18a)][_0x128dc9(0x1f2)](_0x458c44,_0x24a86b[_0x128dc9(0x24d)]);}_0xaba1d6||_0x4de0b7||!_0x2be9d9||_0x567c55(_0x2be9d9);};}(this[_0xf26a02(0x277)]),{'priority':_0xf26a02(0x2b1)}),this[_0xf26a02(0x277)][_0xf26a02(0x1de)][_0xf26a02(0x2c8)]['on'](_0xf26a02(0x1f1),(_0x38fe59,_0x5ac57d,_0x539439)=>{const _0x35f013=_0xf26a02,_0x47d760=_0x539439[_0x35f013(0x18a)][_0x35f013(0x21e)](_0x5ac57d[_0x35f013(0x24d)]);if(_0x47d760){for(const _0x5b39e8 of _0x47d760)(_0x5b39e8[_0x35f013(0x29d)](_0x35f013(0x196))||_0x5b39e8[_0x35f013(0x29d)](_0x35f013(0x1ea)))&&(_0x539439[_0x35f013(0x18a)][_0x35f013(0x27d)](_0x5b39e8,_0x5ac57d[_0x35f013(0x24d)]),_0x539439[_0x35f013(0x298)][_0x35f013(0x2d1)](_0x5b39e8));}},{'priority':_0xf26a02(0x2b1)}),this[_0xf26a02(0x277)][_0xf26a02(0x1de)][_0xf26a02(0x2c8)]['on'](_0xf26a02(0x256),(_0x526fde,_0x5654e6,_0x338df0)=>{const _0x59d44f=_0xf26a02,_0x42409f=_0x5654e6[_0x59d44f(0x24d)][_0x59d44f(0x220)](':')[0x1],_0x466131=this[_0x59d44f(0x180)](_0x42409f);if(!_0x466131)return null;const _0x53f20b=_0x59d44f(0x1c7)==_0x466131[_0x59d44f(0x28a)]?_0x59d44f(0x220):_0x59d44f(0x221);if(_0x338df0[_0x59d44f(0x23c)][_0x59d44f(0x2aa)](_0x5654e6[_0x59d44f(0x205)],_0x526fde[_0x59d44f(0x25d)]))for(const _0x3a4374 of _0x5654e6[_0x59d44f(0x205)][_0x59d44f(0x295)]()){if(!_0x3a4374['is'](_0x59d44f(0x23d),_0x59d44f(0x27a)))continue;const _0x318b3b=_0x338df0[_0x59d44f(0x298)][_0x59d44f(0x1dd)](_0x59d44f(0x280),{'class':_0x59d44f(0x28d)+_0x53f20b}),_0x139794=_0x338df0[_0x59d44f(0x18a)][_0x59d44f(0x20d)](this[_0x59d44f(0x277)][_0x59d44f(0x194)][_0x59d44f(0x25b)](_0x3a4374));_0x466131[_0x59d44f(0x1af)][_0x59d44f(0x20b)]&&_0x338df0[_0x59d44f(0x298)][_0x59d44f(0x204)](_0x59d44f(0x28d)+_0x53f20b+_0x59d44f(0x1c8),_0x318b3b),this[_0x59d44f(0x1e6)]==_0x466131&&_0x338df0[_0x59d44f(0x298)][_0x59d44f(0x204)](_0x59d44f(0x273),_0x318b3b),_0x338df0[_0x59d44f(0x298)][_0x59d44f(0x2b3)](_0x139794,_0x318b3b),_0x338df0[_0x59d44f(0x18a)][_0x59d44f(0x1f2)](_0x318b3b,_0x5654e6[_0x59d44f(0x24d)]);}},{'priority':_0xf26a02(0x2b1)}),this[_0xf26a02(0x277)][_0xf26a02(0x194)][_0xf26a02(0x1e7)]['on'](_0xf26a02(0x18b),()=>{const _0x13d3e8=_0xf26a02;this[_0x13d3e8(0x277)][_0x13d3e8(0x1de)][_0x13d3e8(0x2b4)][_0x13d3e8(0x18b)](_0x3e53fd=>{const _0x477901=_0x13d3e8;for(const _0xd65b7f of this[_0x477901(0x277)][_0x477901(0x194)][_0x477901(0x1e7)][_0x477901(0x292)]()){const _0x20fffa=this[_0x477901(0x277)][_0x477901(0x194)][_0x477901(0x1e7)][_0x477901(0x276)](_0xd65b7f),_0x4fbe4e=this[_0x477901(0x277)][_0x477901(0x1de)][_0x477901(0x2b4)][_0x477901(0x1e7)][_0x477901(0x276)](_0xd65b7f);if(_0x4fbe4e){const _0x2e2842=_0x20fffa[_0x477901(0x1d2)](_0x477901(0x1fb));if(_0x3e53fd[_0x477901(0x230)](_0x477901(0x2af),_0x4fbe4e),_0x3e53fd[_0x477901(0x244)](_0x477901(0x291),_0x4fbe4e),_0x3e53fd[_0x477901(0x244)](_0x477901(0x1c0),_0x4fbe4e),_0x3e53fd[_0x477901(0x244)](_0x477901(0x1f3),_0x4fbe4e),_0x2e2842){const _0x1bccad=this[_0x477901(0x180)](_0x2e2842);if(!_0x1bccad)return null;_0x3e53fd[_0x477901(0x1ab)](_0x477901(0x2af),_0x2e2842,_0x4fbe4e),_0x3e53fd[_0x477901(0x204)](_0x477901(0x251)+_0x1bccad[_0x477901(0x28a)],_0x4fbe4e),this[_0x477901(0x1e6)]==_0x1bccad&&_0x3e53fd[_0x477901(0x204)](_0x477901(0x1f3),_0x4fbe4e);}}}});}),this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x250))[_0xf26a02(0x225)]({'view':_0xf26a02(0x1df),'model':_0x160a2f=>_0xf26a02(0x259)+_0x160a2f,'converterPriority':_0xf26a02(0x27e)}),this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x250))[_0xf26a02(0x225)]({'view':_0xf26a02(0x1ca),'model':_0x3660b6=>_0xf26a02(0x243)+_0x3660b6,'converterPriority':_0xf26a02(0x27e)}),this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x18d))[_0xf26a02(0x281)]({'model':_0xf26a02(0x275),'view':_0x2e926f=>({'name':_0xf26a02(0x1b9)+_0x2e926f,'group':_0xf26a02(0x275)}),'converterPriority':_0xf26a02(0x27e)}),this[_0xf26a02(0x277)][_0xf26a02(0x2c4)][_0xf26a02(0x278)](_0xf26a02(0x1e9))[_0xf26a02(0x1a5)]({'model':_0xf26a02(0x275),'view':_0x287c07=>{const _0x364d0e=_0xf26a02,_0x39880c=_0x287c07[_0x364d0e(0x24d)][_0x364d0e(0x220)](':')[0x1];return _0x364d0e(0x1e4)!=_0x39880c&&_0x364d0e(0x296)!=_0x39880c?null:{'classes':[_0x364d0e(0x216),_0x364d0e(0x21d)+_0x39880c]};}}),this[_0xf26a02(0x277)][_0xf26a02(0x1de)][_0xf26a02(0x2c8)]['on'](_0xf26a02(0x249),Z(this[_0xf26a02(0x277)],_0xf26a02(0x221)),{'priority':_0xf26a02(0x2b1)}),this[_0xf26a02(0x277)][_0xf26a02(0x1de)][_0xf26a02(0x2c8)]['on'](_0xf26a02(0x217),Z(this[_0xf26a02(0x277)],_0xf26a02(0x220)),{'priority':_0xf26a02(0x2b1)}),this[_0xf26a02(0x277)][_0xf26a02(0x1de)][_0xf26a02(0x2c8)]['on'](_0xf26a02(0x265),(_0x4f2b03,_0x479f91,_0x31d3ec)=>{const _0x48970c=_0xf26a02,_0x2faac1=_0x31d3ec[_0x48970c(0x18a)][_0x48970c(0x21e)](_0x479f91[_0x48970c(0x24d)]);if(_0x2faac1){for(const _0x34ec2f of _0x2faac1)_0x34ec2f['is'](_0x48970c(0x1e5))&&(_0x31d3ec[_0x48970c(0x18a)][_0x48970c(0x27d)](_0x34ec2f,_0x479f91[_0x48970c(0x24d)]),_0x31d3ec[_0x48970c(0x298)][_0x48970c(0x2d1)](_0x34ec2f));}},{'priority':_0xf26a02(0x2b1)});}[_0x41c01b(0x180)](_0x3bc1bd){const _0x49d539=_0x41c01b;return this[_0x49d539(0x2d0)][_0x49d539(0x21c)](_0x3bc1bd);}[_0x41c01b(0x29b)](_0x34244c){const _0x26a0f7=_0x41c01b;return this[_0x26a0f7(0x1ad)]&&this[_0x26a0f7(0x1ad)][_0x26a0f7(0x231)](),this[_0x26a0f7(0x1ad)]=new _0x2532d3(this[_0x26a0f7(0x277)][_0x26a0f7(0x2bd)],_0x34244c),this[_0x26a0f7(0x1ad)];}[_0x41c01b(0x1d8)](){const _0x4d0bce=_0x41c01b;this[_0x4d0bce(0x277)][_0x4d0bce(0x194)][_0x4d0bce(0x1e7)][_0x4d0bce(0x181)][_0x4d0bce(0x2ad)](_0x4d0bce(0x293)),this['on'](_0x4d0bce(0x199),(_0x20145f,_0x1fd443,_0x3dd14d,_0x1328cc)=>{const _0x2b8bdb=_0x4d0bce;_0x1328cc&&this[_0x2b8bdb(0x2bc)][_0x2b8bdb(0x2d1)](_0x1328cc),_0x3dd14d&&(this[_0x2b8bdb(0x2bc)][_0x2b8bdb(0x1c7)]({'view':_0x3dd14d,'stackId':_0x2b8bdb(0x2a6),'position':{'target':()=>{const _0x2535c1=_0x2b8bdb,_0xa53286=this[_0x2535c1(0x277)][_0x2535c1(0x1de)],_0x282d1c=this[_0x2535c1(0x180)](_0x3dd14d[_0x2535c1(0x218)]);let _0x25fde3;if(_0x282d1c[_0x2535c1(0x1af)][_0x2535c1(0x270)]){const _0x51031a=_0xa53286[_0x2535c1(0x2b4)][_0x2535c1(0x1c6)](_0x282d1c[_0x2535c1(0x2bf)]);_0x25fde3=Array[_0x2535c1(0x297)](_0x51031a[_0x2535c1(0x1e1)]());}else{const _0x5b2010=this[_0x2535c1(0x277)][_0x2535c1(0x194)][_0x2535c1(0x2ca)][_0x2535c1(0x21c)](_0x2535c1(0x19c)+_0x3dd14d[_0x2535c1(0x218)]);_0x25fde3=Array[_0x2535c1(0x297)](_0xa53286[_0x2535c1(0x18a)][_0x2535c1(0x21e)](_0x5b2010[_0x2535c1(0x25d)]))[_0x2535c1(0x2ac)](_0x2489a8=>_0xa53286[_0x2535c1(0x2b4)][_0x2535c1(0x26a)][_0x2535c1(0x1a0)](_0x2489a8))[_0x2535c1(0x2ac)](_0x1b471c=>Array[_0x2535c1(0x297)](_0x1b471c[_0x2535c1(0x1e1)]()))[_0x2535c1(0x1e8)]();}if(!this[_0x2535c1(0x197)])return _0x25fde3[0x0];return _0x25fde3[_0x2535c1(0x260)](_0x5d01ee=>_0x5d01ee[_0x2535c1(0x239)]-0x3<=this[_0x2535c1(0x197)]['y']&&_0x5d01ee[_0x2535c1(0x192)]+0x3>=this[_0x2535c1(0x197)]['y']&&_0x5d01ee[_0x2535c1(0x202)]-0x3<=this[_0x2535c1(0x197)]['x']&&_0x5d01ee[_0x2535c1(0x1a3)]+0x3>=this[_0x2535c1(0x197)]['x'])||_0x25fde3[0x0];}}}),this[_0x2b8bdb(0x2bc)][_0x2b8bdb(0x190)](_0x2b8bdb(0x2a6)));}),this['on'](_0x4d0bce(0x210),(_0x549d02,_0x554097,_0x238b83,_0x4bb225)=>{const _0x1b5d9f=_0x4d0bce;this[_0x1b5d9f(0x25c)]=_0x238b83?this[_0x1b5d9f(0x29b)](_0x238b83):null,this[_0x1b5d9f(0x277)][_0x1b5d9f(0x194)][_0x1b5d9f(0x18b)](()=>{const _0x343050=_0x1b5d9f,_0x594674=this[_0x343050(0x277)][_0x343050(0x1de)];_0x4bb225&&(_0x4bb225[_0x343050(0x1af)][_0x343050(0x270)]?_0x594674[_0x343050(0x2b4)][_0x343050(0x18b)](_0x351783=>{const _0x3d4baa=_0x343050;_0x351783[_0x3d4baa(0x244)](_0x3d4baa(0x1f3),_0x594674[_0x3d4baa(0x2b4)][_0x3d4baa(0x1e7)][_0x3d4baa(0x276)](_0x4bb225[_0x3d4baa(0x2bf)]));}):_0x594674[_0x343050(0x237)](_0x343050(0x19c)+_0x4bb225['id'])),_0x238b83&&(_0x238b83[_0x343050(0x1af)][_0x343050(0x270)]?_0x594674[_0x343050(0x2b4)][_0x343050(0x18b)](_0x30f3e1=>{const _0x2154bc=_0x343050;_0x30f3e1[_0x2154bc(0x204)](_0x2154bc(0x1f3),_0x594674[_0x2154bc(0x2b4)][_0x2154bc(0x1e7)][_0x2154bc(0x276)](_0x238b83[_0x2154bc(0x2bf)]));}):_0x594674[_0x343050(0x237)](_0x343050(0x19c)+_0x238b83['id']));});}),this[_0x4d0bce(0x1bb)](this[_0x4d0bce(0x277)][_0x4d0bce(0x1de)][_0x4d0bce(0x2b4)][_0x4d0bce(0x1e7)],_0x4d0bce(0x2c6),(_0x5b35fd,_0x5b6f95)=>{const _0x1372d7=_0x4d0bce;if(this[_0x1372d7(0x1e6)])return;const _0x1bf3fb=this[_0x1372d7(0x182)](_0x5b6f95[_0x1372d7(0x2c5)]),_0x4b759b=this[_0x1372d7(0x2d0)][_0x1372d7(0x21c)](_0x1bf3fb);_0x4b759b?(this[_0x1372d7(0x197)]={'x':_0x5b6f95[_0x1372d7(0x1b2)]['x'],'y':_0x5b6f95[_0x1372d7(0x1b2)]['y']},this[_0x1372d7(0x25c)]=this[_0x1372d7(0x29b)](_0x4b759b)):(this[_0x1372d7(0x197)]=null,this[_0x1372d7(0x25c)]=null);}),this[_0x4d0bce(0x1bb)](this[_0x4d0bce(0x277)][_0x4d0bce(0x1de)][_0x4d0bce(0x2b4)][_0x4d0bce(0x1e7)],_0x4d0bce(0x2ce),(_0x12f4ca,_0x2ffec8)=>{const _0x474a6f=_0x4d0bce,_0x39da1b=this[_0x474a6f(0x182)](_0x2ffec8[_0x474a6f(0x2c5)]),_0x388676=this[_0x474a6f(0x2d0)][_0x474a6f(0x21c)](_0x39da1b);_0x388676?(this[_0x474a6f(0x197)]={'x':_0x2ffec8[_0x474a6f(0x1b2)]['x'],'y':_0x2ffec8[_0x474a6f(0x1b2)]['y']},_0x388676===this[_0x474a6f(0x1e6)]?this[_0x474a6f(0x2bc)][_0x474a6f(0x2cd)]():this[_0x474a6f(0x1e6)]=_0x388676):(this[_0x474a6f(0x197)]=null,this[_0x474a6f(0x1e6)]=null);});}[_0x41c01b(0x182)](_0x530ac8){const _0x4e4e8a=_0x41c01b;do{const _0x45090d=_0x530ac8[_0x4e4e8a(0x1d2)](_0x4e4e8a(0x2af));if(_0x45090d)return _0x45090d;_0x530ac8=_0x530ac8[_0x4e4e8a(0x262)];}while(_0x530ac8);return null;}[_0x41c01b(0x24c)](){const _0x41ddc7=_0x41c01b;this[_0x41ddc7(0x277)][_0x41ddc7(0x194)][_0x41ddc7(0x18b)](_0x4f61ec=>{const _0xc53e65=_0x41ddc7;for(const _0x3efbe6 of this[_0xc53e65(0x277)][_0xc53e65(0x194)][_0xc53e65(0x2ca)])_0x4f61ec[_0xc53e65(0x224)](_0x3efbe6);});}}function Z(_0x4dd682,_0x1bb0d6){return(_0x11796d,_0x3590e9,_0x2aee4c)=>{const _0x1bb29f=_0x4f83;if(!_0x2aee4c[_0x1bb29f(0x23c)][_0x1bb29f(0x2aa)](_0x3590e9[_0x1bb29f(0x205)],_0x11796d[_0x1bb29f(0x25d)]))return;const _0x386ddd=_0x3590e9[_0x1bb29f(0x205)][_0x1bb29f(0x1b0)](),_0x78b154=_0x3590e9[_0x1bb29f(0x205)][_0x1bb29f(0x223)],_0x1761e7=_0x4dd682[_0x1bb29f(0x194)][_0x1bb29f(0x1a2)];let _0x21eb99=null,_0x1bde15=null,_0x37f2a6=!0x1,_0x101987=!0x1;for(const _0xaaf160 of _0x386ddd){const _0x37ff72=_0xaaf160[_0x1bb29f(0x2c9)];_0x37f2a6=_0x37f2a6||_0x1761e7[_0x1bb29f(0x19e)](_0x37ff72);const _0x274c53=_0x2aee4c[_0x1bb29f(0x18a)][_0x1bb29f(0x27b)](_0x37ff72);if(_0x274c53&&_0x274c53[_0x1bb29f(0x29a)](_0x1bb29f(0x1fc)))return;_0x1bb29f(0x24f)==_0xaaf160[_0x1bb29f(0x28a)]&&(_0x1761e7[_0x1bb29f(0x247)](_0x37ff72)&&!_0x1761e7[_0x1bb29f(0x226)](_0x37ff72)&&(_0x37ff72[_0x1bb29f(0x299)]||_0x78b154[_0x1bb29f(0x25a)]?_0x21eb99&&_0x21eb99[_0x1bb29f(0x262)]==_0x37ff72||(_0x21eb99=_0x37ff72,_0x10ffcb(_0xaaf160[_0x1bb29f(0x1ed)]),_0x101987=!0x0):_0x1bde15=_0x1bde15||_0xaaf160[_0x1bb29f(0x1ed)]));}function _0x10ffcb(_0xde6259){const _0x4d96b0=_0x1bb29f,_0x298ddc=_0x2aee4c[_0x4d96b0(0x18a)][_0x4d96b0(0x20d)](_0xde6259),_0x2770f6=_0x2aee4c[_0x4d96b0(0x298)][_0x4d96b0(0x1dd)](_0x4d96b0(0x280),{'class':_0x4d96b0(0x21d)+_0x1bb0d6});_0x2aee4c[_0x4d96b0(0x298)][_0x4d96b0(0x2b3)](_0x298ddc,_0x2770f6),_0x2aee4c[_0x4d96b0(0x18a)][_0x4d96b0(0x1f2)](_0x2770f6,_0x3590e9[_0x4d96b0(0x24d)]);}_0x37f2a6||_0x101987||!_0x1bde15||_0x10ffcb(_0x1bde15);};}export class RestoreRevisionCommand extends _0x988922{constructor(_0x59c10d){const _0x2c2a91=_0x41c01b;super(_0x59c10d);const _0x16928a=_0x59c10d[_0x2c2a91(0x271)][_0x2c2a91(0x21c)](d);this[_0x2c2a91(0x18f)]=!0x1,this[_0x2c2a91(0x1bb)](_0x16928a,_0x2c2a91(0x1db),()=>this[_0x2c2a91(0x2a2)]()),this[_0x2c2a91(0x1bb)](_0x16928a,_0x2c2a91(0x29c),()=>this[_0x2c2a91(0x2a2)]());}[_0x41c01b(0x203)](){const _0x5a44ee=_0x41c01b,_0x225032=this[_0x5a44ee(0x277)],_0x168477=_0x225032[_0x5a44ee(0x271)][_0x5a44ee(0x21c)](d),_0x5fb748=_0x168477[_0x5a44ee(0x1ef)]?_0x168477[_0x5a44ee(0x25f)][_0x5a44ee(0x2cb)]:null;_0x225032[_0x5a44ee(0x1f6)][_0x5a44ee(0x21c)](_0x5a44ee(0x1dc))[_0x5a44ee(0x1c4)](_0x5fb748);}[_0x41c01b(0x2a2)](){const _0x778934=_0x41c01b,{isReady:_0x5ed69a,isEnabled:_0x5368e9,repository:_0x5c10c7,diff:_0x43f481}=this[_0x778934(0x277)][_0x778934(0x271)][_0x778934(0x21c)](d),_0x3323d3=_0x43f481&&_0x5c10c7[_0x778934(0x1b5)](_0x43f481[_0x778934(0x2cb)]);this[_0x778934(0x2a4)]=_0x5ed69a&&_0x5368e9&&Boolean(_0x3323d3);}}function _0x4f8f(){const _0x2e4190=['820472lIUzVC','markerToHighlight','createRange','userId','unshift','_threeWayMerge','_revisions','setAttribute','maxOffset','_changeView','1QBVuQT','data','getWalker','getRevisionRootsAttributes','domEvent','changes','_markMismatchedRemovedTags','getLaterVisibleRevision','ck-suggestion-marker','_appendChild','_cleanUp','suggestion:','isRemoved','listenTo','startIndex','isPremiumPlugin','_makeModelFromTape','change:numberOfChanges','ck-revision-history-root-remove','1506170Cqfhwx','_update','error','restoreRevisionCallback','attributesAfter','getDomRoot','add','-new','done','suggestion','bind','_fixObsoleteTags','restoreRevision','checkAttribute','includes','addRevisionData','init','getAttribute','index','ck-editor__editable__overlay','element:pre','getRevision','getRevisionData','_initInteractions','level','954464THGHdC','change:isReady','revisionHistory','createUIElement','editing','comment','children','getClientRects','adapter','range','insertion','uiElement','activeChange','document','flat','editingDowncast','ck-suggestion-marker-merge','indexOf','getAttributes','previousPosition','createPositionFromPath','isReady','_setChanges','removeMarker:revision','bindElementToMarker','ck-revision-history-root--active','isRemoveSuggestion','showPreviousChange','config','requires','object','_getDiff','isEqual','revisionHistoryAttachChange','addHighlight','insertions','oldRevisionId','splice','isOfficialPlugin','createRevision','left','execute','addClass','markerRange','_processTape','toModel','loadRevisionData','_makeTape','side','isSuggestion','_removeUnsupportedChanges','toViewPosition','isAtStart','isObject','change:activeChange','pluginName','isAfter','3111872JPJgVf','all','keys','ck-suggestion-preview-marker','addMarker:revision-suggestion:insertion','changeId','abs','79950loeTuK','nodeAfter','get','ck-suggestion-preview-marker-','markerNameToElements','createAttributeElement','split','merge','code','start','removeMarker','dataToMarker','isLimit','isBefore','isCollapsed','1262211ZIxoGN','consume','resolve','pop','forceDisabled','detachRoot','createRangeIn','removeAttribute','destroy','numberOfChanges','set','pairId','backward','text','reconvertMarker','currentChangeNumber','top','POSITIVE_INFINITY','attributesBefore','consumable','element','values','getIndex','shift','viewItem','isAttached','revision-suggestion:','removeClass','2088720bLsqiS','isAdded','isBlock','_setConversion','addMarker:revision-suggestion:deletion','collaboration.channelId','9KVZhzJ','_cleanMarkers','markerName','_refreshStartEndIndex','elementEnd','upcast','ck-revision-history-root-','elementToAttribute','_markSuggestions','diffData','vid_end','addMarker:revision','filter','forward','revision-comment:','isAtEnd','createPositionBefore','activeView','name','startsWith','diff','find','authors','parent','commands','_markMarkers','removeMarker:revision-suggestion','elementStart','revision-viewer','showNextChange','isIncorrect','domConverter','concat','forEach','enqueueChange','toData','_sortAndFilterDiffChanges','isOnRoot','plugins','isInline','ck-suggestion-marker--active','hasAttribute','revision-suggestion','getRoot','editor','for','attribute:vid','softBreak','toViewElement','then','unbindElementFromMarkerName','highest','end','span','markerToData','findIndex','catch','_step','clear','first','parse','_data','_setDistance','type','distance','_removeMissingPairs','ck-suggestion-marker-','length','revision-end','string','ck-revision-history-root-add','getRootNames','revision','isAddSuggestion','getItems','deletion','from','writer','nextSibling','getCustomProperty','_getViewForChange','change:isEnabled','hasClass','vid_start','_markInsertions','_getRevisionsRange','_joinTapes','refresh','RevisionViewer','isEnabled','modelRange','revisionHistoryLabel','getChild','has','low','test','data-revision-','map','observeMarkers','vid','data-change-id','RevisionsRepository','high','isNavigationMode','insert','view','endIndex','nextPosition','marked','stop','useFillerType','attachChange','delete','_balloon','locale','14ouOzuB','rootName','markersStart','offsetSize','slice','push','conversion','target','mouseover','enableReadOnlyMode','downcastDispatcher','item','markers','newRevisionId','compare','updatePosition','mousedown','repository','_changeIdToChange','remove','_getChangeFromId','selection','_findChangeIdFromDomTarget','toViewRange','sort','attributes','next','wrap','_makeModelFromViewString','return','mapper','change','roots','dataDowncast','default','affectsData','showStack','_removeRevisionMarkers','bottom','addRevision','model','revision-start','ck-suggestion-marker-split','_activeViewTarget','_getViewObj','change:activeView','deletions','addRoot','revision:','processor','isContent','markersEnd','mapViewToDom','WidgetToolbarRepository','schema','right'];_0x4f8f=function(){return _0x2e4190;};return _0x4f8f();}export class ShowChangeCommand extends _0x988922{constructor(_0x4bad29,{direction:_0x3eba27}){const _0xaca215=_0x41c01b;super(_0x4bad29);const _0x54e937=_0x4bad29[_0xaca215(0x271)][_0xaca215(0x21c)](d);this[_0xaca215(0x18f)]=!0x1,this[_0xaca215(0x284)]=_0xaca215(0x258)===_0x3eba27?0x1:-0x1,this[_0xaca215(0x1bb)](_0x54e937,_0xaca215(0x1db),()=>this[_0xaca215(0x2a2)]()),this[_0xaca215(0x1bb)](_0x54e937,_0xaca215(0x29c),()=>this[_0xaca215(0x2a2)]()),this[_0xaca215(0x1bb)](_0x54e937,_0xaca215(0x210),()=>this[_0xaca215(0x2a2)]());}[_0x41c01b(0x203)](){const _0x4c22b5=_0x41c01b,_0x276dd8=this[_0x4c22b5(0x277)],_0x42950d=_0x276dd8[_0x4c22b5(0x271)][_0x4c22b5(0x21c)](d),{isNavigationMode:_0x5a8d43,currentChangeNumber:_0xdd97d}=_0x42950d;let _0x28dbe3;if(_0x42950d[_0x4c22b5(0x1e6)]=_0x5a8d43?_0x42950d[_0x4c22b5(0x25f)][_0x4c22b5(0x1b3)][_0x4c22b5(0x21c)](_0xdd97d+this[_0x4c22b5(0x284)]):_0x42950d[_0x4c22b5(0x25f)][_0x4c22b5(0x1b3)][_0x4c22b5(0x286)],_0x42950d[_0x4c22b5(0x1e6)][_0x4c22b5(0x1af)][_0x4c22b5(0x270)])_0x28dbe3=_0x276dd8[_0x4c22b5(0x1de)][_0x4c22b5(0x2b4)][_0x4c22b5(0x1c6)](_0x42950d[_0x4c22b5(0x1e6)][_0x4c22b5(0x2bf)]);else{const _0x186f92=_0x276dd8[_0x4c22b5(0x194)][_0x4c22b5(0x2ca)][_0x4c22b5(0x21c)](_0x4c22b5(0x19c)+_0x42950d[_0x4c22b5(0x1e6)]['id']);_0x28dbe3=_0x15887f(_0x276dd8[_0x4c22b5(0x1de)],_0x186f92);}_0x2b9c2a({'target':_0x28dbe3,'viewportOffset':0x28});}[_0x41c01b(0x2a2)](){const _0x2fcf7b=_0x41c01b,{isNavigationMode:_0x3a4e35,currentChangeNumber:_0x59a269,numberOfChanges:_0x1c42e6,isReady:_0x4f4613,isEnabled:_0xd75ea6}=this[_0x2fcf7b(0x277)][_0x2fcf7b(0x271)][_0x2fcf7b(0x21c)](d);this[_0x2fcf7b(0x2a4)]=!!(_0xd75ea6&&_0x4f4613&&_0x1c42e6)&&(!_0x3a4e35||(0x1===this[_0x2fcf7b(0x284)]?_0x59a269<_0x1c42e6-0x1:_0x59a269>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x484134,_0x5a5560){const _0x249144=_0x27ef,_0x129213=_0x484134();while(!![]){try{const _0x44e3df=parseInt(_0x249144(0xd3))/0x1+parseInt(_0x249144(0xb8))/0x2*(-parseInt(_0x249144(0xcb))/0x3)+parseInt(_0x249144(0xa3))/0x4*(-parseInt(_0x249144(0xb0))/0x5)+-parseInt(_0x249144(0xbc))/0x6*(parseInt(_0x249144(0xb4))/0x7)+-parseInt(_0x249144(0xbf))/0x8+parseInt(_0x249144(0xb6))/0x9*(parseInt(_0x249144(0xa6))/0xa)+parseInt(_0x249144(0xb9))/0xb;if(_0x44e3df===_0x5a5560)break;else _0x129213['push'](_0x129213['shift']());}catch(_0x45049f){_0x129213['push'](_0x129213['shift']());}}}(_0x3be1,0xb4be5));import{Collection as _0x5c7470}from'ckeditor5/src/utils.js';import{icons as _0x39896d}from'ckeditor5/src/core.js';function _0x3be1(){const _0x5c2bb9=['listenTo','150676UiLTVS','14127817zLzFWO','threeVerticalDots','change:isActionsDropdownOpen','3584058eTRsRb','execute','first','5995496ieegQN','isOpen','Show\x20more\x20items','find','panelPosition','ck-revision-history-sidebar__revision__actions','children','bind','isReady','isVisible','set','isActionsDropdownOpen','18QTLbeM','button','items','model','bindTemplate','ck-on','_action','Name\x20this\x20revision','67503BzfwCt','name','action','46212txxENy','locale','function','1998060SuIgwf','isEnabled','menu','buttonView','Compare\x20against\x20selected','map','source','add','class','Restore\x20this\x20revision','5ZhZBGl','extendTemplate','listView','menuitem','7qXzIsu','stopPropagation','54WuhrKh'];_0x3be1=function(){return _0x5c2bb9;};return _0x3be1();}import{ViewModel as _0x4f1469,addListToDropdown as _0x531dde,createDropdown as _0x444093}from'ckeditor5/src/ui.js';import{getTranslation as _0x553358}from'../../utils/common-translations.js';function _0x27ef(_0x2e9aa5,_0x422c98){const _0x3be1d9=_0x3be1();return _0x27ef=function(_0x27ef04,_0x1659c9){_0x27ef04=_0x27ef04-0xa1;let _0x23afd8=_0x3be1d9[_0x27ef04];return _0x23afd8;},_0x27ef(_0x2e9aa5,_0x422c98);}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x155e8c,_0x5403e6){const _0x5b9f56=_0x27ef,_0x12c753=_0x155e8c[_0x5b9f56(0xcf)],_0x443fbb=_0x155e8c[_0x5b9f56(0xa4)],_0x3b2731=_0x444093(_0x443fbb);_0x3b2731[_0x5b9f56(0xc3)]='sw';const _0x46b622=function(_0x251e22,_0x22a69e){const _0x7fa471=_0x5b9f56,_0x23fcf4=function(_0xd88e07,_0x3a05ce){const _0x43dc1c=_0x27ef,_0x3c5c1b=_0xd88e07[_0x43dc1c(0xa4)],_0x2e071f={'Compare\x20against\x20selected':_0x553358(_0x3c5c1b,_0x43dc1c(0xaa)),'Name\x20this\x20revision':_0x553358(_0x3c5c1b,_0x43dc1c(0xd2)),'Restore\x20this\x20revision':_0x553358(_0x3c5c1b,_0x43dc1c(0xaf))};return _0x3a05ce[_0x43dc1c(0xab)](_0x2fd552=>{const _0x3c6d1f=_0x43dc1c,_0x5f26c8=_0x2e071f[_0x2fd552[_0x3c6d1f(0xa1)]];return _0x5f26c8&&_0x5f26c8!==_0x2fd552[_0x3c6d1f(0xa1)]&&(_0x2fd552[_0x3c6d1f(0xa1)]=_0x5f26c8),_0x2fd552;});}(_0x251e22,_0x22a69e),_0x15c0f2=new _0x5c7470();for(const _0x4f7047 of _0x23fcf4){const _0x2002ca={'type':_0x7fa471(0xcc),'model':new _0x4f1469({'label':_0x4f7047[_0x7fa471(0xa1)],'class':_0x4f7047[_0x7fa471(0xae)],'withText':!0x0,'role':_0x7fa471(0xb3),'_action':_0x4f7047[_0x7fa471(0xa2)]})};_0x2002ca[_0x7fa471(0xce)][_0x7fa471(0xc6)](_0x7fa471(0xa7))['to'](_0x251e22,_0x7fa471(0xca),_0x5cb0e8=>_0x7fa471(0xa5)!=typeof _0x4f7047[_0x7fa471(0xa7)]||(!_0x5cb0e8||_0x4f7047[_0x7fa471(0xa7)](_0x251e22))),_0x15c0f2[_0x7fa471(0xad)](_0x2002ca);}return _0x15c0f2;}(_0x155e8c,_0x5403e6);return _0x155e8c[_0x5b9f56(0xc6)](_0x5b9f56(0xca))['to'](_0x3b2731,_0x5b9f56(0xc0)),_0x3b2731[_0x5b9f56(0xa9)][_0x5b9f56(0xc9)]({'label':_0x553358(_0x443fbb,_0x5b9f56(0xc1)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x39896d[_0x5b9f56(0xba)]}),_0x3b2731[_0x5b9f56(0xb1)]({'attributes':{'class':[_0x5b9f56(0xc4),_0x12c753['if'](_0x5b9f56(0xca),_0x5b9f56(0xd0))]},'on':{'click':_0x12c753['to'](_0x4cbc4f=>_0x4cbc4f[_0x5b9f56(0xb5)]())}}),_0x3b2731['on'](_0x5b9f56(0xbd),_0x258366=>{const _0x269306=_0x5b9f56;_0x155e8c[_0x269306(0xc7)]&&_0x269306(0xa5)==typeof _0x258366[_0x269306(0xac)][_0x269306(0xd1)]&&_0x258366[_0x269306(0xac)][_0x269306(0xd1)](_0x155e8c);}),_0x531dde(_0x3b2731,_0x46b622,{'role':_0x5b9f56(0xa8)}),_0x3b2731[_0x5b9f56(0xb7)](_0x155e8c,_0x5b9f56(0xbb),(_0xbf8cbc,_0x67497c,_0x20210d)=>{const _0x105c16=_0x5b9f56;if(_0x20210d)for(const _0x4db711 of _0x3b2731[_0x105c16(0xb2)][_0x105c16(0xcd)]){const _0x3c4e1c=_0x4db711[_0x105c16(0xc5)][_0x105c16(0xbe)],_0x591b23=_0x5403e6[_0x105c16(0xc2)](_0x158e9e=>_0x158e9e[_0x105c16(0xa2)]===_0x3c4e1c[_0x105c16(0xd1)])[_0x105c16(0xc8)];_0x4db711[_0x105c16(0xc8)]=void 0x0===_0x591b23||_0x591b23(_0x155e8c);}}),_0x3b2731;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ea390,_0x19e941){const _0x3c8807=_0x3817,_0x2bf038=_0x4ea390();while(!![]){try{const _0x42b5a7=-parseInt(_0x3c8807(0x96))/0x1+-parseInt(_0x3c8807(0x93))/0x2+-parseInt(_0x3c8807(0x95))/0x3*(parseInt(_0x3c8807(0x8b))/0x4)+-parseInt(_0x3c8807(0x8a))/0x5+parseInt(_0x3c8807(0x92))/0x6+parseInt(_0x3c8807(0x86))/0x7*(-parseInt(_0x3c8807(0x8e))/0x8)+parseInt(_0x3c8807(0x94))/0x9*(parseInt(_0x3c8807(0x88))/0xa);if(_0x42b5a7===_0x19e941)break;else _0x2bf038['push'](_0x2bf038['shift']());}catch(_0x423507){_0x2bf038['push'](_0x2bf038['shift']());}}}(_0x1ec6,0x3ae6f));import{View as _0x4bc74b,IconView as _0x40ba2c}from'ckeditor5/src/ui.js';import{getTranslation as _0x79dd3c}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0x48bbd0 from'../../../theme/icons/user.svg';export default class ti extends _0x4bc74b{constructor(_0x5929d8,_0x4efc88,_0x4cf50f){const _0x23a606=_0x3817;super(_0x5929d8);const _0x2e1156=new _0x40ba2c();_0x2e1156[_0x23a606(0x9a)]({'content':_0x48bbd0,'viewBox':_0x23a606(0x87)});const _0x4f7cad=['ck',_0x23a606(0x8c)];_0x4cf50f&&_0x4f7cad[_0x23a606(0x90)](_0x23a606(0x97));const _0x44ee07=[{'tag':_0x23a606(0x89),'attributes':{'class':['ck',_0x23a606(0x91)],'title':_0x79dd3c(_0x5929d8,_0x4cf50f?_0x23a606(0x8f):_0x23a606(0x8d))},'children':[_0x2e1156,_0x4efc88[_0x23a606(0x99)]]}];this[_0x23a606(0x98)]({'tag':'li','attributes':{'class':_0x4f7cad},'children':_0x44ee07});}}function _0x3817(_0x282a4b,_0x2e3ad3){const _0x1ec620=_0x1ec6();return _0x3817=function(_0x38179f,_0x2179d2){_0x38179f=_0x38179f-0x86;let _0x161f0d=_0x1ec620[_0x38179f];return _0x161f0d;},_0x3817(_0x282a4b,_0x2e3ad3);}function _0x1ec6(){const _0x554bd8=['16reTlJm','Revision\x20creator','push','ck-revision-history-sidebar__revision-author__name','2293332vMtiOd','691644hcqhQo','99XhbFnc','15inkUKC','163999jIuHlV','ck-revision-history-sidebar__revision-author_creator','setTemplate','name','set','796901COMnyi','0\x200\x2011\x2010','1136540LqxcRz','span','993805cYSuid','363908JOOthK','ck-revision-history-sidebar__revision-author','Revision\x20author'];_0x1ec6=function(){return _0x554bd8;};return _0x1ec6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b8a99=_0x3ed9;function _0x17a4(){const _0x2d92de=['118789GMuWOz','ck-tooltip_multi-line','element','span','_tooltipString','_updateTooltipText','40YmBSbN','fieldView','clientWidth','5689755BGWglC','7vyvKKM','scrollWidth','Enter\x20the\x20revision\x20name','Revision\x20name','2338yuZPlU','set','destroy','listenTo','extendTemplate','bindTemplate','692xLByJb','12AgJxFS','value','8994XrCDUP','input','placeholder','12376092HtNLum','12304wahHRQ','ck-revision-history-sidebar__revision-name','36392yCuNYu','497360quxdTs','render','_resizeObserver'];_0x17a4=function(){return _0x2d92de;};return _0x17a4();}(function(_0xd0b8c4,_0x1fc9eb){const _0x5f0a8f=_0x3ed9,_0x3a0982=_0xd0b8c4();while(!![]){try{const _0x19f180=-parseInt(_0x5f0a8f(0x193))/0x1*(-parseInt(_0x5f0a8f(0x185))/0x2)+parseInt(_0x5f0a8f(0x1a0))/0x3*(-parseInt(_0x5f0a8f(0x19d))/0x4)+parseInt(_0x5f0a8f(0x186))/0x5*(-parseInt(_0x5f0a8f(0x19e))/0x6)+parseInt(_0x5f0a8f(0x197))/0x7*(parseInt(_0x5f0a8f(0x183))/0x8)+-parseInt(_0x5f0a8f(0x192))/0x9+parseInt(_0x5f0a8f(0x18f))/0xa*(parseInt(_0x5f0a8f(0x189))/0xb)+parseInt(_0x5f0a8f(0x182))/0xc;if(_0x19f180===_0x1fc9eb)break;else _0x3a0982['push'](_0x3a0982['shift']());}catch(_0x41844c){_0x3a0982['push'](_0x3a0982['shift']());}}}(_0x17a4,0x594f0));import{LabeledFieldView as _0x25b724}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x4a0f98}from'ckeditor5/src/utils.js';import{getTranslation as _0x50268e}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';function _0x3ed9(_0x5b6073,_0x254cf4){const _0x17a4c1=_0x17a4();return _0x3ed9=function(_0x3ed90a,_0x4bf1d4){_0x3ed90a=_0x3ed90a-0x181;let _0x520131=_0x17a4c1[_0x3ed90a];return _0x520131;},_0x3ed9(_0x5b6073,_0x254cf4);}export default class pt extends _0x25b724{constructor(_0x1ff79b,_0x4ea960){const _0x31255a=_0x3ed9;super(_0x1ff79b,_0x4ea960),this[_0x31255a(0x188)]=null;const _0x5b9cfa=this[_0x31255a(0x19c)];this[_0x31255a(0x198)]({'label':_0x50268e(_0x1ff79b,_0x31255a(0x196)),'_tooltipString':''}),this[_0x31255a(0x190)][_0x31255a(0x181)]=_0x50268e(_0x1ff79b,_0x31255a(0x195)),this[_0x31255a(0x19b)]({'tag':_0x31255a(0x18c),'attributes':{'class':[_0x31255a(0x184)],'data-cke-tooltip-text':_0x5b9cfa['to'](_0x31255a(0x18d)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x31255a(0x18a)}});}[_0x1b8a99(0x187)](){const _0x5ccd58=_0x1b8a99;super[_0x5ccd58(0x187)](),this[_0x5ccd58(0x188)]=new _0x4a0f98(this[_0x5ccd58(0x190)][_0x5ccd58(0x18b)],()=>this[_0x5ccd58(0x18e)]()),this[_0x5ccd58(0x19a)](this[_0x5ccd58(0x190)],_0x5ccd58(0x1a1),()=>this[_0x5ccd58(0x18e)]());}[_0x1b8a99(0x199)](){const _0x2e5458=_0x1b8a99;super[_0x2e5458(0x199)](),this[_0x2e5458(0x188)]&&this[_0x2e5458(0x188)][_0x2e5458(0x199)]();}[_0x1b8a99(0x18e)](){const _0x24f50e=_0x1b8a99,_0x19b1c1=this[_0x24f50e(0x190)][_0x24f50e(0x18b)];this[_0x24f50e(0x18d)]=_0x19b1c1[_0x24f50e(0x194)]>_0x19b1c1[_0x24f50e(0x191)]&&_0x19b1c1[_0x24f50e(0x19f)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x27f825=_0xb8bb;(function(_0x124feb,_0x49ca12){const _0x3a635b=_0xb8bb,_0x39b90=_0x124feb();while(!![]){try{const _0x205053=-parseInt(_0x3a635b(0x14f))/0x1*(-parseInt(_0x3a635b(0x160))/0x2)+-parseInt(_0x3a635b(0x152))/0x3+-parseInt(_0x3a635b(0x156))/0x4*(-parseInt(_0x3a635b(0x143))/0x5)+-parseInt(_0x3a635b(0x157))/0x6*(-parseInt(_0x3a635b(0x16c))/0x7)+-parseInt(_0x3a635b(0x158))/0x8*(-parseInt(_0x3a635b(0x149))/0x9)+-parseInt(_0x3a635b(0x154))/0xa+-parseInt(_0x3a635b(0x16d))/0xb;if(_0x205053===_0x49ca12)break;else _0x39b90['push'](_0x39b90['shift']());}catch(_0x597e01){_0x39b90['push'](_0x39b90['shift']());}}}(_0x5d66,0x3b961));function _0x5d66(){const _0x4a11e8=['_revision','listenTo','ck-revision-history-sidebar__revision_selected','isEnabled','5pjguym','span','element','from','bind','unshift','3628521qijNBr','createdAt','ck-revision-history-sidebar__actions_dropdown_open','ck-reset','ck-disabled','deselect','1Kmpyca','isHighlighted','closest','665652vlpVQa','filter','3232910xyJhLP','ck-revision-history-sidebar__revision-wrapper','1305504VSLwkF','6lEayUp','8Gyjmcr','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision-authors','name','isSelected','ck-revision-history-sidebar__revision_highlighted','value','change','745802wGtsuQ','render','fieldView','uiLanguage','fire','length','setName','.ck-thread__remove-confirm','select','ck-revision-history-sidebar__revision','_requireRevisionName','bindTemplate','2291219pSDlLR','7045753PxgjUb','unhighlight','creator','isReady','srcElement','extendTemplate','revisionNameView','map','div','set','220','isConfirm','revisionActionsView','authors','setTemplate','_createdAtFormatted','ck-revision-history-sidebar__revision__controls-wrapper','highlight','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','isActionsDropdownOpen'];_0x5d66=function(){return _0x4a11e8;};return _0x5d66();}import{View as _0xbe5f0c,createLabeledInputText as _0xd81eb2}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x346713}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5bb48f from'./revisionnameview.js';import _0x6e761d from'./revisionauthorview.js';function _0xb8bb(_0x20c406,_0x374b66){const _0x5d66cb=_0x5d66();return _0xb8bb=function(_0xb8bb63,_0x29dc5f){_0xb8bb63=_0xb8bb63-0x137;let _0x428207=_0x5d66cb[_0xb8bb63];return _0x428207;},_0xb8bb(_0x20c406,_0x374b66);}import{dateToPrettyFormat as _0x1ea645}from'./utils.js';import{createActionsDropdownView as _0x82482d}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x346713(_0xbe5f0c){constructor(_0x154004,_0x22bffe,_0x399f10,_0x1a9275){const _0xa35ed3=_0xb8bb;super(_0x154004);const _0x39f5e1=this[_0xa35ed3(0x16b)],_0xcfdf7c=function(_0x4c8467,_0x4030be){const _0x599566=_0xa35ed3,_0x4ab381=Array[_0x599566(0x146)](_0x4030be[_0x599566(0x138)])[_0x599566(0x153)](_0x145204=>_0x145204!=_0x4030be[_0x599566(0x16f)]);return _0x4030be[_0x599566(0x16f)]&&_0x4ab381[_0x599566(0x148)](_0x4030be[_0x599566(0x16f)]),_0x4ab381[_0x599566(0x174)](_0x790cf6=>new _0x6e761d(_0x4c8467,_0x790cf6,_0x790cf6==_0x4030be[_0x599566(0x16f)]));}(_0x154004,_0x22bffe);this['id']=_0x22bffe['id'],this[_0xa35ed3(0x13f)]=_0x22bffe,this[_0xa35ed3(0x16a)]=_0x1a9275,this[_0xa35ed3(0x147)](_0xa35ed3(0x15b),_0xa35ed3(0x14a))['to'](_0x22bffe),this[_0xa35ed3(0x147)](_0xa35ed3(0x13a))['to'](this,_0xa35ed3(0x14a),_0x54189a=>_0x1ea645(_0x154004[_0xa35ed3(0x163)],_0x54189a)),this[_0xa35ed3(0x176)](_0xa35ed3(0x15c),!0x1),this[_0xa35ed3(0x176)](_0xa35ed3(0x150),!0x1),this[_0xa35ed3(0x176)](_0xa35ed3(0x13e),!0x1),this[_0xa35ed3(0x176)](_0xa35ed3(0x170),!0x1),this[_0xa35ed3(0x176)](_0xa35ed3(0x142),!0x1),this[_0xa35ed3(0x173)]=new _0x5bb48f(_0x154004,_0xd81eb2),this[_0xa35ed3(0x173)][_0xa35ed3(0x162)][_0xa35ed3(0x172)]({'attributes':{'maxlength':_0xa35ed3(0x177)}}),this[_0xa35ed3(0x173)][_0xa35ed3(0x162)][_0xa35ed3(0x147)](_0xa35ed3(0x15e))['to'](this,_0xa35ed3(0x15b),_0x58b144=>_0x58b144||this[_0xa35ed3(0x13a)]),this[_0xa35ed3(0x173)][_0xa35ed3(0x147)](_0xa35ed3(0x142))['to'](this,_0xa35ed3(0x15c),this,_0xa35ed3(0x142),(_0x10dc58,_0x34c940)=>_0x10dc58&&_0x34c940),this[_0xa35ed3(0x137)]=_0x399f10&&_0x399f10[_0xa35ed3(0x165)]?_0x82482d(this,_0x399f10):'',this[_0xa35ed3(0x137)]&&this[_0xa35ed3(0x137)][_0xa35ed3(0x147)](_0xa35ed3(0x142))['to'](this),this[_0xa35ed3(0x139)]({'tag':_0xa35ed3(0x175),'attributes':{'class':['ck',_0xa35ed3(0x14c),_0xa35ed3(0x155),_0x39f5e1['if'](_0xa35ed3(0x178),_0xa35ed3(0x13d))]},'children':[{'tag':_0xa35ed3(0x175),'attributes':{'class':['ck',_0xa35ed3(0x14c),_0xa35ed3(0x169),_0x39f5e1['if'](_0xa35ed3(0x142),_0xa35ed3(0x14d),_0x3ca3fe=>!_0x3ca3fe),_0x39f5e1['if'](_0xa35ed3(0x15c),_0xa35ed3(0x141)),_0x39f5e1['if'](_0xa35ed3(0x150),_0xa35ed3(0x15d)),_0x39f5e1['if'](_0xa35ed3(0x13e),_0xa35ed3(0x14b))]},'children':[this[_0xa35ed3(0x173)],{'tag':_0xa35ed3(0x144),'attributes':{'class':['ck',_0xa35ed3(0x159)]},'children':[{'text':_0x39f5e1['to'](_0xa35ed3(0x13a))}]},{'tag':_0xa35ed3(0x175),'attributes':{'class':['ck',_0xa35ed3(0x13b)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0xa35ed3(0x15a)]},'children':_0xcfdf7c}]},this[_0xa35ed3(0x137)]],'on':{'click':_0x39f5e1['to'](_0x5a7423=>{const _0x41d7d1=_0xa35ed3;_0x5a7423[_0x41d7d1(0x171)][_0x41d7d1(0x151)](_0x41d7d1(0x167))||this[_0x41d7d1(0x170)]&&this[_0x41d7d1(0x142)]&&this[_0x41d7d1(0x164)](_0x41d7d1(0x168),{'id':this['id']});})}}]});}[_0x27f825(0x161)](){const _0x1c59af=_0x27f825;super[_0x1c59af(0x161)]();const _0x5ee4fa=this[_0x1c59af(0x173)][_0x1c59af(0x162)][_0x1c59af(0x145)];this[_0x1c59af(0x140)](_0x5ee4fa,_0x1c59af(0x15f),()=>{const _0x1ff775=_0x1c59af;this[_0x1ff775(0x16a)]&&!_0x5ee4fa[_0x1ff775(0x15e)]||this[_0x1ff775(0x164)](_0x1ff775(0x166),{'id':this['id'],'name':_0x5ee4fa[_0x1ff775(0x15e)]}),_0x5ee4fa[_0x1ff775(0x15e)]||(_0x5ee4fa[_0x1ff775(0x15e)]=this[_0x1ff775(0x15b)]?this[_0x1ff775(0x15b)]:this[_0x1ff775(0x13a)]);});}[_0x27f825(0x168)](){const _0x517351=_0x27f825;this[_0x517351(0x15c)]=!0x0;}[_0x27f825(0x14e)](){const _0x40c4a1=_0x27f825;this[_0x40c4a1(0x15c)]=!0x1;}[_0x27f825(0x13c)](){const _0x44908d=_0x27f825;this[_0x44908d(0x150)]=!0x0;}[_0x27f825(0x16e)](){const _0x494ed1=_0x27f825;this[_0x494ed1(0x150)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ba900=_0x3cfa;(function(_0x4350e4,_0x3b6379){const _0x235bff=_0x3cfa,_0x3e91ce=_0x4350e4();while(!![]){try{const _0x2a4bfb=-parseInt(_0x235bff(0xe8))/0x1+-parseInt(_0x235bff(0xf2))/0x2+-parseInt(_0x235bff(0xe2))/0x3*(parseInt(_0x235bff(0xf1))/0x4)+parseInt(_0x235bff(0xec))/0x5+parseInt(_0x235bff(0xe1))/0x6*(-parseInt(_0x235bff(0xe5))/0x7)+parseInt(_0x235bff(0xf6))/0x8+parseInt(_0x235bff(0xe7))/0x9;if(_0x2a4bfb===_0x3b6379)break;else _0x3e91ce['push'](_0x3e91ce['shift']());}catch(_0x471254){_0x3e91ce['push'](_0x3e91ce['shift']());}}}(_0x122a,0x61d20));function _0x122a(){const _0x4aa692=['setTemplate','false','64386ZOHKPr','1338009VHkFTl','click','ck-revision-history-sidebar__subrevision-collapser','119hbnzHl','button','5970114lQkqmR','175836tTzBug','_isCollapsed','isVisible','span','1324015aomWjq','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-hidden','set','true','4MWgdLY','577968JgwjoS','toggle','ck-revision-history-sidebar__subrevision-collapser__inner','bindTemplate','4526184rRIrlQ'];_0x122a=function(){return _0x4aa692;};return _0x122a();}import{View as _0x52526b}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0x3cfa(_0x4e6f92,_0x43dcb3){const _0x122a9f=_0x122a();return _0x3cfa=function(_0x3cfa7e,_0x4108ce){_0x3cfa7e=_0x3cfa7e-0xe1;let _0x448127=_0x122a9f[_0x3cfa7e];return _0x448127;},_0x3cfa(_0x4e6f92,_0x43dcb3);}export default class ss extends _0x52526b{constructor(_0x285bfc){const _0x2a03ea=_0x3cfa;super(_0x285bfc);const _0x14e48e=this[_0x2a03ea(0xf5)];this[_0x2a03ea(0xef)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x2a03ea(0xf7)]({'tag':_0x2a03ea(0xeb),'attributes':{'class':['ck',_0x2a03ea(0xe4),_0x14e48e['if'](_0x2a03ea(0xea),_0x2a03ea(0xee),_0x37d4a7=>!_0x37d4a7),_0x14e48e['if'](_0x2a03ea(0xe9),_0x2a03ea(0xed))],'role':_0x2a03ea(0xe6),'aria-pressed':_0x14e48e['to'](_0x2a03ea(0xe9),_0x4390ce=>_0x4390ce?_0x2a03ea(0xf8):_0x2a03ea(0xf0))},'children':[{'tag':_0x2a03ea(0xeb),'attributes':{'class':['ck',_0x2a03ea(0xf4)]}}],'on':{'click':_0x14e48e['to'](_0x2a03ea(0xe3))}});}[_0x3ba900(0xf3)](){const _0x3d96d6=_0x3ba900;this[_0x3d96d6(0xe9)]=!this[_0x3d96d6(0xe9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x203193=_0x4376;(function(_0x3e2bdb,_0x119d8f){const _0x3791d2=_0x4376,_0x1c50f4=_0x3e2bdb();while(!![]){try{const _0x39435c=-parseInt(_0x3791d2(0xcb))/0x1+-parseInt(_0x3791d2(0xc3))/0x2*(parseInt(_0x3791d2(0xbe))/0x3)+parseInt(_0x3791d2(0xc6))/0x4+-parseInt(_0x3791d2(0xbf))/0x5+-parseInt(_0x3791d2(0xba))/0x6+parseInt(_0x3791d2(0xd3))/0x7+parseInt(_0x3791d2(0xce))/0x8*(parseInt(_0x3791d2(0xbb))/0x9);if(_0x39435c===_0x119d8f)break;else _0x1c50f4['push'](_0x1c50f4['shift']());}catch(_0x32b34b){_0x1c50f4['push'](_0x1c50f4['shift']());}}}(_0x7b15,0x80b1f));import{View as _0x598e2a}from'ckeditor5/src/ui.js';import _0x20bbe1 from'./revisionauthorview.js';function _0x7b15(){const _0x2cb517=['2lrJMTk','bindTemplate','bind','3267884hRxDSc','createdAt','set','fire','span','715003TbioyB','ck-revision-history-sidebar__revision','uiLanguage','760JANwoV','setTemplate','ck-revision-history-sidebar__revision_selected','isSelected','ck-reset','5966058eWOvFq','_parentRevisionId','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__subrevision','creator','3908262UUnMZp','110061LNSkSl','select','deselect','37821aVPEWR','4624490uXwLMu','ck-revision-history-sidebar__revision__date','div','_createdAtFormatted'];_0x7b15=function(){return _0x2cb517;};return _0x7b15();}import{dateToPrettyFormat as _0x430e6e}from'./utils.js';import'../../../theme/revision/subrevision.css';function _0x4376(_0x31b508,_0x2f6512){const _0x7b1588=_0x7b15();return _0x4376=function(_0x43765f,_0x44bb57){_0x43765f=_0x43765f-0xb9;let _0x4e065d=_0x7b1588[_0x43765f];return _0x4e065d;},_0x4376(_0x31b508,_0x2f6512);}export default class is extends _0x598e2a{constructor(_0x4e6240,_0x58e11b,_0x1197ca){const _0x382215=_0x4376;super(_0x4e6240);const _0x1c28ea=this[_0x382215(0xc4)];this['id']=_0x58e11b['id'],this[_0x382215(0xc5)](_0x382215(0xc7))['to'](_0x58e11b),this[_0x382215(0xc8)](_0x382215(0xd1),!0x1),this[_0x382215(0xc5)](_0x382215(0xc2))['to'](this,_0x382215(0xc7),_0x3276d8=>_0x3276d8?_0x430e6e(_0x4e6240[_0x382215(0xcd)],_0x3276d8):void 0x0),this[_0x382215(0xd4)]=_0x1197ca,this[_0x382215(0xcf)]({'tag':_0x382215(0xc1),'attributes':{'class':['ck',_0x382215(0xd2),_0x382215(0xcc),_0x382215(0xd6),_0x1c28ea['if'](_0x382215(0xd1),_0x382215(0xd0))]},'children':[{'tag':_0x382215(0xca),'attributes':{'class':['ck',_0x382215(0xc0)]},'children':[{'text':_0x1c28ea['to'](_0x382215(0xc2))}]},{'tag':'ul','attributes':{'class':['ck',_0x382215(0xd5)]},'children':[new _0x20bbe1(_0x4e6240,_0x58e11b[_0x382215(0xb9)],!0x0)]}],'on':{'click':_0x1c28ea['to'](this[_0x382215(0xbc)][_0x382215(0xc5)](this))}});}[_0x203193(0xbc)](){const _0x3deeb5=_0x203193;this[_0x3deeb5(0xd1)]=!0x0,this[_0x3deeb5(0xc9)](_0x3deeb5(0xbc),{'parentId':this[_0x3deeb5(0xd4)]});}[_0x203193(0xbd)](){const _0x2bb2ff=_0x203193;this[_0x2bb2ff(0xd1)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2472(_0x3b2ecd,_0x48a7d6){var _0x5f0371=_0x5f03();return _0x2472=function(_0x24725c,_0x5eb203){_0x24725c=_0x24725c-0xb5;var _0x2fa543=_0x5f0371[_0x24725c];return _0x2fa543;},_0x2472(_0x3b2ecd,_0x48a7d6);}(function(_0x2bf07c,_0x5088d6){var _0x1f4e70=_0x2472,_0x1be7ed=_0x2bf07c();while(!![]){try{var _0x59320b=-parseInt(_0x1f4e70(0xb9))/0x1*(-parseInt(_0x1f4e70(0xb6))/0x2)+-parseInt(_0x1f4e70(0xb7))/0x3+-parseInt(_0x1f4e70(0xba))/0x4*(-parseInt(_0x1f4e70(0xb8))/0x5)+parseInt(_0x1f4e70(0xc2))/0x6*(parseInt(_0x1f4e70(0xc0))/0x7)+parseInt(_0x1f4e70(0xbd))/0x8+-parseInt(_0x1f4e70(0xbe))/0x9+-parseInt(_0x1f4e70(0xbc))/0xa*(-parseInt(_0x1f4e70(0xb5))/0xb);if(_0x59320b===_0x5088d6)break;else _0x1be7ed['push'](_0x1be7ed['shift']());}catch(_0x199589){_0x1be7ed['push'](_0x1be7ed['shift']());}}}(_0x5f03,0x737aa));export function dateToPrettyFormat(_0x5bf374,_0x22ebfd){var _0xf29955=_0x2472;return _0x22ebfd[_0xf29955(0xc1)](_0x5bf374,{'month':_0xf29955(0xbf),'day':_0xf29955(0xc3)})+',\x20'+_0x22ebfd[_0xf29955(0xbb)](_0x5bf374,{'hour':_0xf29955(0xc3),'minute':_0xf29955(0xc3)});}function _0x5f03(){var _0x2611d2=['10236WBYmOs','toLocaleTimeString','102070fHkxSo','2901048PHzJzG','6885189mVFAcn','long','7AYWoZM','toLocaleDateString','5438838dmjnIZ','numeric','550OqtYuE','210CsCrPj','2832237qhUHSH','185heahxE','2933aOcFNA'];_0x5f03=function(){return _0x2611d2;};return _0x5f03();}
|