@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240424.0 → 0.0.0-nightly-20240426.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +23 -0
- package/package.json +5 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1656(){const _0x5b9923=['adapter','get','useFillerType','getChild','_makeTape','_setConversion','isSuggestion','activeChange','_cleanUp','isBlock','isReady','_initInteractions','createAttributeElement','ck-suggestion-preview-marker-','nextSibling','isAdded','insert','map','_data','keys','markerToData','createRange','createUIElement','addMarker:revision-suggestion:deletion','resolve','find','getAttribute','comment','markerName','removeMarker:revision','distance','compare','processor','destroy','parse','isNavigationMode','data-revision-','element','markers','modelRange','name','isAddSuggestion','5KhDoLw','isEnabled','offsetSize','for','_update','elementToAttribute','consumable','collaboration.channelId','listenTo','softBreak','span','markerToHighlight','hasAttribute','_revisions','change:activeChange','object','done','isOnRoot','isBefore','data','abs','startIndex','createPositionBefore','return','editor','ck-revision-history-root-','ck-suggestion-marker-merge','addRevision','attributesAfter','getRoot','isEqual','ck-revision-history-root--active','end','356152GaETXJ','marked','checkAttribute','insertion','all','28022229rYDfAE','model','conversion','ck-suggestion-marker-split','authors','backward','affectsData','ck-revision-history-root-remove','children','length','forEach','bottom','266HcXLzW','showStack','index','enableReadOnlyMode','revision','viewItem','execute','diffData','revisionHistoryAttachChange','addHighlight','_changeIdToChange','_setDistance','push','_findChangeIdFromDomTarget','editing','updatePosition','init','change:isReady','createPositionFromPath','enqueueChange','item','elementStart','markersStart','writer','config','unshift','_threeWayMerge','maxOffset','consume','_getViewObj','high','getWalker','getRevision','requires','revision:','ck-suggestion-preview-marker','bind','change:activeView','split','addMarker:revision-suggestion:insertion','81326TqtlkG','removeMarker:revision-suggestion','getClientRects','next','_markInsertions','toData','mapViewToDom','clear','_step','set','vid','wrap','changes','change:isEnabled','revision-comment:','_makeModelFromTape','diff','_removeUnsupportedChanges','markerRange','from','toModel','ck-revision-history-root-add','previousPosition','deletion','RevisionsRepository','type','isLimit','-new','then','WidgetToolbarRepository','downcastDispatcher','ck-suggestion-marker--active','newRevisionId','showNextChange','attributes','getRevisionData','getItems','merge','hasClass','4790064MVqdHM','vid_end','domConverter','nextPosition','isContent','_processTape','markersEnd','createRevision','ck-suggestion-marker-','1449069vHuAzg','_joinTapes','repository','detachRoot','activeView','_appendChild','getRootNames','getAttributes','showPreviousChange','start','removeAttribute','getIndex','_removeRevisionMarkers','highest','upcast','refresh','isAtStart','isCollapsed','userId','slice','843516CuTcmr','_cleanMarkers','POSITIVE_INFINITY','commands','_balloon','oldRevisionId','_removeMissingPairs','restoreRevision','revision-suggestion:','addRoot','top','left','setAttribute','right','removeClass','addMarker:revision','includes','nodeAfter','filter','domEvent','insertions','roots','observeMarkers','concat','getDomRoot','element:pre','suggestion','_getChangeFromId','values','range','schema','_getDiff','document','plugins','toViewPosition','suggestion:','mousedown','add','isAttached','code','_markMismatchedRemovedTags','revision-suggestion','revision-start','uiElement','view','side','RevisionViewer','createRangeIn','isAtEnd','addClass','indexOf','parent','ck-editor__editable__overlay','selection','bindElementToMarker','loadRevisionData','mouseover','_sortAndFilterDiffChanges','first','revisionHistoryLabel','deletions','currentChangeNumber','getCustomProperty','revision-viewer','_changeView','attributesBefore','vid_start','unbindElementFromMarkerName','delete','isRemoveSuggestion','forceDisabled','isAfter','change:numberOfChanges','dataToMarker','error','stop','default','shift','toViewRange','forward','string','_getRevisionsRange','editingDowncast','addRevisionData','pop','has','numberOfChanges','revision-end','change','markerNameToElements','_refreshStartEndIndex','target','startsWith','locale','rootName','pluginName','toViewElement','mapper','getRevisionRootsAttributes','data-change-id','_setChanges','changeId','isObject','flat','attachChange','low','findIndex','revisionHistory','test','dataDowncast','185720mlqZBI','_makeModelFromViewString','splice','reconvertMarker','sort','endIndex','level','isIncorrect','isInline','_markMarkers','_markSuggestions','pairId','text','removeMarker','isRemoved','_activeViewTarget','catch','attribute:vid','_fixObsoleteTags','ck-suggestion-marker','elementEnd','_getViewForChange','restoreRevisionCallback','remove'];_0x1656=function(){return _0x5b9923;};return _0x1656();}const _0x2f871f=_0x4b8b;(function(_0x18f492,_0x46fb76){const _0x7f3c4b=_0x4b8b,_0x38f033=_0x18f492();while(!![]){try{const _0x5bb63b=-parseInt(_0x7f3c4b(0x1ff))/0x1+-parseInt(_0x7f3c4b(0x1cf))/0x2+-parseInt(_0x7f3c4b(0x1f6))/0x3+parseInt(_0x7f3c4b(0x196))/0x4*(parseInt(_0x7f3c4b(0x175))/0x5)+-parseInt(_0x7f3c4b(0xc5))/0x6+parseInt(_0x7f3c4b(0x1a7))/0x7*(parseInt(_0x7f3c4b(0x133))/0x8)+parseInt(_0x7f3c4b(0x19b))/0x9;if(_0x5bb63b===_0x46fb76)break;else _0x38f033['push'](_0x38f033['shift']());}catch(_0x52804c){_0x38f033['push'](_0x38f033['shift']());}}}(_0x1656,0xd16b7));import{Plugin as _0x4054d1,Command as _0x3cfec1}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0xd784eb}from'ckeditor5/src/utils.js';function _0x4b8b(_0x1da759,_0x5c5d1c){const _0x16566c=_0x1656();return _0x4b8b=function(_0x4b8b60,_0x287fa9){_0x4b8b60=_0x4b8b60-0xc0;let _0x3b6f27=_0x16566c[_0x4b8b60];return _0x3b6f27;},_0x4b8b(_0x1da759,_0x5c5d1c);}import{ContextualBalloon as _0x384eea}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2cfbcb,Element as _0x2a4298,Text as _0x501c14,ViewDocumentFragment as _0x326877,ViewText as _0x14f5d5,ViewElement as _0x3bd2f1,ViewContainerElement as _0x240074,ViewAttributeElement as _0x48e901,ViewEmptyElement as _0x1ddf8a,ViewRawElement as _0x2c4ebf,ViewUIElement as _0x53eaa4}from'ckeditor5/src/engine.js';import{Users as _0x3d0ae6,getMarkerDomElement as _0x118f0d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1a677b from'./ui/revisionviewer/changedetailsview.js';import _0x31f013 from'./revisionsrepository.js';import _0x2c0de6 from'./changeitem.js';import{default as _0x43b58d}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x230687}from'lodash-es';const tt={'c':_0x240074,'a':_0x48e901,'e':_0x1ddf8a,'r':_0x2c4ebf,'u':_0x53eaa4};export default class d extends _0x4054d1{static get[_0x2f871f(0x124)](){const _0x54d7b5=_0x2f871f;return _0x54d7b5(0xf3);}static get[_0x2f871f(0x1c8)](){return[_0x3d0ae6,_0x384eea,_0x31f013];}constructor(_0x1a2fb5){const _0x5bec93=_0x2f871f;super(_0x1a2fb5),this[_0x5bec93(0x201)]=this[_0x5bec93(0x18d)][_0x5bec93(0xe6)][_0x5bec93(0x14c)](_0x5bec93(0x1e7)),this[_0x5bec93(0x1d8)](_0x5bec93(0x152),null),this[_0x5bec93(0x1d8)](_0x5bec93(0x203),null),this[_0x5bec93(0x142)]=null,this[_0x5bec93(0x1d8)](_0x5bec93(0x1df),null),this[_0x5bec93(0x1d8)](_0x5bec93(0x155),!0x1),this[_0x5bec93(0x1d8)](_0x5bec93(0x176),!0x0),this['on'](_0x5bec93(0x1dc),(_0x206e67,_0x5efa22,_0x142ca7)=>{const _0x165c15=_0x5bec93;this[_0x165c15(0x152)]=null,this[_0x165c15(0x203)]=null,this[_0x165c15(0x18d)][_0x165c15(0x1b5)][_0x165c15(0xf1)][_0x165c15(0x11d)](_0x4d4658=>{const _0x18e1bf=_0x165c15;for(const _0x33341f of this[_0x18e1bf(0x18d)][_0x18e1bf(0x1b5)][_0x18e1bf(0xf1)][_0x18e1bf(0xe5)][_0x18e1bf(0xda)])_0x142ca7?_0x4d4658[_0x18e1bf(0xd3)](_0x18e1bf(0xf9),_0x33341f):_0x4d4658[_0x18e1bf(0xf6)](_0x18e1bf(0xf9),_0x33341f);});}),this[_0x5bec93(0x1cb)](_0x5bec93(0x16e))['to'](this,_0x5bec93(0x152),_0x508718=>null!==_0x508718),this[_0x5bec93(0x1cb)](_0x5bec93(0x102))['to'](this,_0x5bec93(0x155),this,_0x5bec93(0x1df),this,_0x5bec93(0x152),(_0xe836c1,_0x258d58,_0x40d892)=>_0xe836c1&&_0x40d892?_0x258d58[_0x5bec93(0x1db)][_0x5bec93(0x20a)](_0x40d892):0x0),this[_0x5bec93(0x1cb)](_0x5bec93(0x11b))['to'](this,_0x5bec93(0x155),this,_0x5bec93(0x1df),(_0x938a62,_0x53afa2)=>_0x938a62?_0x53afa2[_0x5bec93(0x1db)][_0x5bec93(0x1a4)]:0x0),this[_0x5bec93(0x105)]=null,this[_0x5bec93(0x1b1)]=new Map(),this[_0x5bec93(0x14b)]=null,this[_0x5bec93(0xc9)]=this[_0x5bec93(0x18d)][_0x5bec93(0xe6)][_0x5bec93(0x14c)](_0x384eea);}[_0x2f871f(0x1b7)](){const _0x2d016e=_0x2f871f,_0x2cabe7=this[_0x2d016e(0x18d)],_0x2195ee=new ShowChangeCommand(_0x2cabe7,{'direction':_0x2d016e(0x1a0)}),_0x16534f=new ShowChangeCommand(_0x2cabe7,{'direction':_0x2d016e(0x114)});(_0x2cabe7[_0x2d016e(0xc8)][_0x2d016e(0xea)](_0x2d016e(0x207),_0x2195ee),_0x2cabe7[_0x2d016e(0xc8)][_0x2d016e(0xea)](_0x2d016e(0x1f0),_0x16534f),_0x2cabe7[_0x2d016e(0xc8)][_0x2d016e(0xea)](_0x2d016e(0xcc),new RestoreRevisionCommand(_0x2cabe7)),this['on'](_0x2d016e(0x10d),()=>{const _0x26d73a=_0x2d016e;_0x2195ee[_0x26d73a(0xc0)](),_0x16534f[_0x26d73a(0xc0)]();}),this[_0x2d016e(0x150)](),this[_0x2d016e(0x156)](),_0x2cabe7[_0x2d016e(0x1aa)](_0x2d016e(0x104)),_0x2cabe7[_0x2d016e(0xe6)][_0x2d016e(0x11a)](_0x2d016e(0x1ec)))&&_0x2cabe7[_0x2d016e(0xe6)][_0x2d016e(0x14c)](_0x2d016e(0x1ec))[_0x2d016e(0x10b)](_0x2d016e(0x104));}async[_0x2f871f(0x1f2)](_0x4ac35c){const _0x2a8f7d=_0x2f871f;await this[_0x2a8f7d(0xfc)](_0x4ac35c);const _0x1f026b={};for(const _0x3e67ef in _0x4ac35c[_0x2a8f7d(0x1ae)]){if(_0x4ac35c[_0x2a8f7d(0x1ae)][_0x3e67ef][_0x2a8f7d(0x12d)]&&!_0x4ac35c[_0x2a8f7d(0x1ae)][_0x3e67ef][_0x2a8f7d(0x12d)][_0x2a8f7d(0xeb)])continue;const _0x2ce9b5=this[_0x2a8f7d(0x20b)](JSON[_0x2a8f7d(0x16d)](_0x4ac35c[_0x2a8f7d(0x1ae)][_0x3e67ef][_0x2a8f7d(0xd9)])),_0x49feca=this[_0x2a8f7d(0x18d)][_0x2a8f7d(0x1b5)][_0x2a8f7d(0xf1)][_0x2a8f7d(0xe5)],_0x2c15f5=new _0x326877(_0x49feca,_0x2ce9b5[_0x2a8f7d(0x15c)](_0x4d9344=>this[_0x2a8f7d(0x1c4)](_0x4d9344)));this[_0x2a8f7d(0x18d)][_0x2a8f7d(0x188)][_0x2a8f7d(0x16b)][_0x2a8f7d(0x14d)](_0x2a8f7d(0x197)),_0x1f026b[_0x3e67ef]=this[_0x2a8f7d(0x18d)][_0x2a8f7d(0x188)][_0x2a8f7d(0x16b)][_0x2a8f7d(0x1d4)](_0x2c15f5),this[_0x2a8f7d(0x18d)][_0x2a8f7d(0x188)][_0x2a8f7d(0x16b)][_0x2a8f7d(0x14d)](_0x2a8f7d(0x111));}return _0x1f026b;}async[_0x2f871f(0x127)](_0x228998){const _0x501e12=_0x2f871f;await this[_0x501e12(0xfc)](_0x228998);const _0x17c803={};for(const _0x43a940 in _0x228998[_0x501e12(0x1ae)])_0x228998[_0x501e12(0x1ae)][_0x43a940][_0x501e12(0x12d)]&&!_0x228998[_0x501e12(0x1ae)][_0x43a940][_0x501e12(0x12d)][_0x501e12(0xeb)]||(_0x17c803[_0x43a940]=_0x228998[_0x501e12(0x1ae)][_0x43a940][_0x501e12(0x191)]||{});return _0x17c803;}[_0x2f871f(0x20b)](_0x3c2a01){const _0x1e93fc=_0x2f871f;return(_0x3c2a01=_0x3c2a01[_0x1e93fc(0xd7)](_0x43c3ff=>!_0x43c3ff[_0x1e93fc(0x173)]||_0x1e93fc(0xef)!==_0x43c3ff[_0x1e93fc(0x173)]&&_0x1e93fc(0x11c)!==_0x43c3ff[_0x1e93fc(0x173)]))[_0x1e93fc(0x1a5)](_0x409ffb=>{const _0x50afb8=_0x1e93fc;_0x50afb8(0x115)!=typeof _0x409ffb&&(_0x409ffb[_0x50afb8(0x1a3)]=this[_0x50afb8(0x20b)](_0x409ffb[_0x50afb8(0x1a3)]),_0x409ffb[_0x50afb8(0x1f1)]=_0x409ffb[_0x50afb8(0x1f1)][_0x50afb8(0xd7)](_0x1b5b52=>!_0x1b5b52[0x0][_0x50afb8(0x121)](_0x50afb8(0x16f))));}),_0x3c2a01;}async[_0x2f871f(0x16a)](_0x4256ca,_0x3e0291,_0x4e6577=!0x1){const _0x1529af=_0x2f871f;if(!this[_0x1529af(0x176)])return;const _0x415f55=this[_0x1529af(0x1df)],_0x581bd6=this[_0x1529af(0x201)],_0x1ced60=_0x1529af(0x115)==typeof _0x4256ca?_0x581bd6[_0x1529af(0x1c7)](_0x4256ca):_0x4256ca,_0x397539=_0x1529af(0x115)==typeof _0x3e0291?_0x581bd6[_0x1529af(0x1c7)](_0x3e0291):_0x3e0291,_0x33fa1a=_0x1ced60['id'],_0x331ed5=_0x397539?_0x397539['id']:null;if(!_0x4e6577&&this[_0x1529af(0x1df)]&&this[_0x1529af(0x1df)][_0x1529af(0x1ef)]===_0x33fa1a&&this[_0x1529af(0x1df)][_0x1529af(0xca)]===_0x331ed5)return Promise[_0x1529af(0x163)]();this[_0x1529af(0x155)]=!0x1,this[_0x1529af(0x203)]=null,this[_0x1529af(0x152)]=null,this[_0x1529af(0x1df)]=new _0x43b58d(_0x33fa1a,_0x331ed5);const _0x3b3c76=this[_0x1529af(0x116)](_0x1ced60,_0x397539,!0x0)[_0x1529af(0x15c)](_0x136f2a=>this[_0x1529af(0xfc)](_0x136f2a));return _0x3b3c76[_0x1529af(0x1b3)](new Promise(_0x53dde9=>{setTimeout(_0x53dde9,0x14);})),Promise[_0x1529af(0x19a)](_0x3b3c76)[_0x1529af(0x1eb)](()=>{const _0x14fc5c=_0x1529af;if(!this[_0x14fc5c(0x176)])return;this[_0x14fc5c(0x153)]();const _0x441052=this[_0x14fc5c(0xe4)](_0x33fa1a,_0x331ed5);for(const _0x2c2ec9 of _0x441052[_0x14fc5c(0x1db)])this[_0x14fc5c(0x1b1)][_0x14fc5c(0x1d8)](_0x2c2ec9['id'],_0x2c2ec9);this[_0x14fc5c(0x18d)][_0x14fc5c(0x19c)][_0x14fc5c(0x1ba)]({'isUndoable':!0x1},_0x16dbb5=>{const _0x20a150=_0x14fc5c;for(const _0x18b618 of this[_0x20a150(0x18d)][_0x20a150(0x19c)][_0x20a150(0xe5)][_0x20a150(0x205)]())_0x16dbb5[_0x20a150(0x202)](_0x18b618);for(const _0x500ea7 of Object[_0x20a150(0x15e)](_0x441052[_0x20a150(0x19c)])){const _0x3a3f34=_0x16dbb5[_0x20a150(0xce)](_0x500ea7);for(const _0x18e80a of Object[_0x20a150(0x15e)](_0x441052[_0x20a150(0x1f1)][_0x500ea7]))_0x16dbb5[_0x20a150(0xd1)](_0x18e80a,_0x441052[_0x20a150(0x1f1)][_0x500ea7][_0x18e80a],_0x3a3f34);_0x16dbb5[_0x20a150(0x15b)](_0x441052[_0x20a150(0x19c)][_0x500ea7],_0x3a3f34,0x0);}}),this[_0x14fc5c(0x1df)][_0x14fc5c(0x129)](this[_0x14fc5c(0xfe)](_0x441052[_0x14fc5c(0x1db)])),this[_0x14fc5c(0x155)]=!0x0;})[_0x1529af(0x143)](_0x4330b2=>{const _0x356183=_0x1529af;console[_0x356183(0x10f)](_0x4330b2),this[_0x356183(0x153)](),_0x415f55&&(this[_0x356183(0x1df)]=_0x415f55),this[_0x356183(0x155)]=!0x0;});}[_0x2f871f(0x118)](_0x542c5d,_0x34a207){const _0x1d3cf4=_0x2f871f,_0x49358c=this[_0x1d3cf4(0x201)][_0x1d3cf4(0x1fd)](_0x542c5d);return _0x49358c['on'](_0x1d3cf4(0x179),(_0x1a453f,_0x599f01,_0x34248b)=>_0x34a207(_0x599f01,_0x34248b,_0x49358c)),this[_0x1d3cf4(0x201)][_0x1d3cf4(0x190)](_0x49358c),_0x49358c;}[_0x2f871f(0xfc)](_0x4a2e49){const _0x878517=_0x2f871f;if(!_0x4a2e49||_0x4a2e49[_0x878517(0x1ae)])return Promise[_0x878517(0x163)]();{const _0x53fa24=this[_0x878517(0x18d)][_0x878517(0x1bf)][_0x878517(0x14c)](_0x878517(0x17c));return this[_0x878517(0x14b)][_0x878517(0x1c7)]({'channelId':_0x53fa24,'revisionId':_0x4a2e49['id']})[_0x878517(0x1eb)](_0xebdabc=>{const _0x35d06d=_0x878517;_0x4a2e49[_0x35d06d(0x179)]({'diffData':_0xebdabc[_0x35d06d(0x1ae)]},!0x0);});}}[_0x2f871f(0x153)](){const _0x5aa9c2=_0x2f871f;this[_0x5aa9c2(0x152)]=null,this[_0x5aa9c2(0xc6)](),this[_0x5aa9c2(0x105)]&&this[_0x5aa9c2(0x105)][_0x5aa9c2(0x16c)](),this[_0x5aa9c2(0x105)]=null,this[_0x5aa9c2(0x1b1)][_0x5aa9c2(0x1d6)](),this[_0x5aa9c2(0x18d)][_0x5aa9c2(0x19c)][_0x5aa9c2(0x1ba)]({'isUndoable':!0x1},_0x889063=>{const _0xf4cd43=_0x5aa9c2;for(const _0x5be379 of this[_0xf4cd43(0x18d)][_0xf4cd43(0x19c)][_0xf4cd43(0xe5)][_0xf4cd43(0x205)]())_0x889063[_0xf4cd43(0x202)](_0x5be379);});}[_0x2f871f(0xfe)](_0x25f1d2){const _0x35b538=_0x2f871f,_0x48eb17=[],_0x49b3de=new Map();for(const _0x4b49e0 of this[_0x35b538(0x18d)][_0x35b538(0x19c)][_0x35b538(0xe5)][_0x35b538(0x205)]()){const _0xf74315=this[_0x35b538(0x18d)][_0x35b538(0x1b5)][_0x35b538(0xf1)][_0x35b538(0xdd)](_0x4b49e0);if(!_0xf74315)continue;const _0x1c2af4=_0xf74315[_0x35b538(0x1d1)]()[_0x35b538(0x1bb)](0x0);_0x1c2af4&&(_0x48eb17[_0x35b538(0x1b3)](_0x4b49e0),_0x49b3de[_0x35b538(0x1d8)](_0x4b49e0,_0x1c2af4));}return _0x48eb17[_0x35b538(0x137)]((_0x18184b,_0x14ef6d)=>{const _0x3be014=_0x35b538,_0x12ca3c=_0x49b3de[_0x3be014(0x14c)](_0x18184b),_0x2cd4b7=_0x49b3de[_0x3be014(0x14c)](_0x14ef6d);return _0x12ca3c['y']-_0x2cd4b7['y']||_0x12ca3c['x']-_0x2cd4b7['x'];}),(_0x25f1d2=_0x25f1d2[_0x35b538(0xd7)](_0x3d071e=>_0x48eb17[_0x35b538(0xd5)](_0x3d071e[_0x35b538(0x123)])))[_0x35b538(0x137)]((_0x45c550,_0x2a8434)=>_0x48eb17[_0x35b538(0xf7)](_0x45c550[_0x35b538(0x123)])-_0x48eb17[_0x35b538(0xf7)](_0x2a8434[_0x35b538(0x123)])),_0x25f1d2;}[_0x2f871f(0x14f)](_0x4824da){const _0x49d26f=_0x2f871f,_0x2106aa=Array[_0x49d26f(0x1e2)](_0x4824da[_0x49d26f(0x171)])[_0x49d26f(0xd7)](([_0x98a8bd,_0x2ddec5])=>_0x98a8bd[_0x49d26f(0x121)](_0x49d26f(0x1c9))&&!_0x2ddec5[_0x49d26f(0xc2)]),_0x4b1bc8=Array[_0x49d26f(0x1e2)](this[_0x49d26f(0x18d)][_0x49d26f(0x19c)][_0x49d26f(0xf4)](_0x4824da)[_0x49d26f(0x1c6)]({'singleCharacters':!0x0}));if(0x0!=_0x2106aa[_0x49d26f(0x1a4)])for(const _0x4bcf54 of _0x4b1bc8){const [_0x1d6b26,_0x117674]=_0x2106aa[0x0],[,_0x14b426,_0x591840]=_0x1d6b26[_0x49d26f(0x1cd)](':');if(_0x117674[_0x49d26f(0x195)][_0x49d26f(0x193)](_0x4bcf54[_0x49d26f(0x1f9)])&&_0x2106aa[_0x49d26f(0x112)](),(_0x4bcf54[_0x49d26f(0x1e5)][_0x49d26f(0x193)](_0x117674[_0x49d26f(0x208)])||_0x4bcf54[_0x49d26f(0x1e5)][_0x49d26f(0x10c)](_0x117674[_0x49d26f(0x208)]))&&(_0x49d26f(0x199)==_0x14b426?_0x4bcf54[_0x49d26f(0x15a)]={'userId':_0x591840}:_0x49d26f(0x1e6)==_0x14b426&&(_0x4bcf54[_0x49d26f(0x141)]={'userId':_0x591840})),0x0==_0x2106aa[_0x49d26f(0x1a4)])break;}return _0x4b1bc8;}[_0x2f871f(0x11f)](_0x28d538){const _0x1a183f=_0x2f871f,_0x2e0f17=new Map();for(let _0x2f41c9=0x0;_0x2f41c9<_0x28d538[_0x1a183f(0x1a4)];_0x2f41c9++)_0x1a183f(0x13f)===_0x28d538[_0x2f41c9][_0x1a183f(0x1e8)]?(_0x28d538[_0x2f41c9][_0x1a183f(0x1bb)][_0x1a183f(0x18a)]=_0x2f41c9,_0x28d538[_0x2f41c9][_0x1a183f(0x1bb)][_0x1a183f(0x138)]=_0x2f41c9):(_0x1a183f(0x1bc)===_0x28d538[_0x2f41c9][_0x1a183f(0x1e8)]?_0x28d538[_0x2f41c9][_0x1a183f(0x1bb)][_0x1a183f(0x18a)]=_0x2f41c9:_0x1a183f(0x147)===_0x28d538[_0x2f41c9][_0x1a183f(0x1e8)]&&(_0x28d538[_0x2f41c9][_0x1a183f(0x1bb)][_0x1a183f(0x138)]=_0x2f41c9),_0x2e0f17[_0x1a183f(0x1d8)](_0x28d538[_0x2f41c9]['id'],_0x2f41c9));for(const _0x332779 of _0x2e0f17[_0x1a183f(0xe1)]())_0x1a183f(0x1bc)===_0x28d538[_0x332779][_0x1a183f(0x1e8)]?_0x28d538[_0x332779][_0x1a183f(0x1bb)][_0x1a183f(0x138)]=_0x2e0f17[_0x1a183f(0x14c)](_0x28d538[_0x332779][_0x1a183f(0x13e)]):_0x1a183f(0x147)===_0x28d538[_0x332779][_0x1a183f(0x1e8)]&&(_0x28d538[_0x332779][_0x1a183f(0x1bb)][_0x1a183f(0x18a)]=_0x2e0f17[_0x1a183f(0x14c)](_0x28d538[_0x332779][_0x1a183f(0x13e)]));}[_0x2f871f(0x1fb)](_0x31ffa0){const _0x333a98=_0x2f871f;for(let _0x5d7266=0x0;_0x5d7266<_0x31ffa0[_0x333a98(0x1a4)];_0x5d7266++){if(_0x333a98(0x1bc)===_0x31ffa0[_0x5d7266][_0x333a98(0x1e8)])_0x31ffa0[_0x5d7266][_0x333a98(0x1bb)][_0x333a98(0x18a)]=_0x5d7266;else{if(_0x333a98(0x147)===_0x31ffa0[_0x5d7266][_0x333a98(0x1e8)]){_0x31ffa0[_0x5d7266][_0x333a98(0x1bb)][_0x333a98(0x138)]=_0x5d7266;const _0x472351=_0x31ffa0[_0x5d7266][_0x333a98(0x1bb)][_0x333a98(0x18a)];_0x31ffa0[_0x472351][_0x333a98(0x13e)]=_0x31ffa0[_0x5d7266]['id'],_0x31ffa0[_0x5d7266][_0x333a98(0x13e)]=_0x31ffa0[_0x472351]['id'];}else _0x31ffa0[_0x5d7266][_0x333a98(0x1bb)][_0x333a98(0x18a)]=_0x5d7266,_0x31ffa0[_0x5d7266][_0x333a98(0x1bb)][_0x333a98(0x138)]=_0x5d7266,_0x31ffa0[_0x5d7266][_0x333a98(0x13e)]=null;}_0x31ffa0[_0x5d7266][_0x333a98(0x1bd)]||(_0x31ffa0[_0x5d7266][_0x333a98(0x1bd)]=[],_0x31ffa0[_0x5d7266][_0x333a98(0x1fc)]=[]);}}[_0x2f871f(0x1d3)](_0xe2a8b7,_0x261961){const _0x18be70=_0x2f871f,_0x298c07=_0xe2a8b7[_0x18be70(0xd7)](_0x1180c7=>!_0x1180c7[_0x18be70(0x15a)]);for(let _0x38764d=0x0;_0x38764d<_0x261961[_0x18be70(0x1a4)];_0x38764d++)_0x261961[_0x38764d][_0x18be70(0x15a)]&&(_0x298c07[_0x38764d][_0x18be70(0x15a)]=_0x261961[_0x38764d][_0x18be70(0x15a)]);}[_0x2f871f(0x134)](_0x199d6e){const _0x3179e3=_0x2f871f,_0x35e128=JSON[_0x3179e3(0x16d)](_0x199d6e),_0x5f4c22=this[_0x3179e3(0x18d)][_0x3179e3(0x1b5)][_0x3179e3(0xf1)][_0x3179e3(0xe5)],_0x6c2e1d=new _0x326877(_0x5f4c22,_0x35e128[_0x3179e3(0x15c)](_0x31e812=>this[_0x3179e3(0x1c4)](_0x31e812)));return this[_0x3179e3(0x18d)][_0x3179e3(0x188)][_0x3179e3(0x1e3)](_0x6c2e1d);}[_0x2f871f(0x1c4)](_0x14414e){const _0x43ed3e=_0x2f871f,_0x46cffa=this[_0x43ed3e(0x18d)][_0x43ed3e(0x1b5)][_0x43ed3e(0xf1)][_0x43ed3e(0xe5)];if(_0x43ed3e(0x115)==typeof _0x14414e)return new _0x14f5d5(_0x46cffa,_0x14414e);{const _0x1252fa=_0x14414e[_0x43ed3e(0x1a3)][_0x43ed3e(0x15c)](_0x3fbce4=>this[_0x43ed3e(0x1c4)](_0x3fbce4));return new(tt[_0x14414e[(_0x43ed3e(0x1e8))]]||_0x3bd2f1)(_0x46cffa,_0x14414e[_0x43ed3e(0x173)],_0x14414e[_0x43ed3e(0x1f1)],_0x1252fa);}}[_0x2f871f(0xe4)](_0x26ba96,_0x353395=null){const _0x46d2dc=_0x2f871f,_0x8825aa=this[_0x46d2dc(0x201)][_0x46d2dc(0x1c7)](_0x26ba96),_0x247359=_0x353395?this[_0x46d2dc(0x201)][_0x46d2dc(0x1c7)](_0x353395):null,_0x2c9333=this[_0x46d2dc(0x116)](_0x8825aa,_0x247359),_0x585f20=_0x2c9333[_0x2c9333[_0x46d2dc(0x1a4)]-0x1],_0x400d96=new Map(),_0x2bf4d6={'model':{},'attributes':{},'changes':[]},_0x36d90e=new Set(),_0x3865b5=new Map();for(let _0x26f494=_0x2c9333[_0x46d2dc(0x1a4)]-0x1;_0x26f494>=0x0;_0x26f494--){const _0x202e19=_0x2c9333[_0x26f494];for(const _0x1e9d24 of Object[_0x46d2dc(0x15e)](_0x202e19[_0x46d2dc(0x1ae)]))if(_0x202e19[_0x46d2dc(0x1ae)][_0x1e9d24][_0x46d2dc(0x12d)]){const _0xf1397e=_0x202e19[_0x46d2dc(0x1ae)][_0x1e9d24][_0x46d2dc(0x12d)];_0xf1397e[_0x46d2dc(0xeb)]?(_0x36d90e[_0x46d2dc(0xea)](_0x1e9d24),_0x3865b5[_0x46d2dc(0x11a)](_0x1e9d24)&&_0x3865b5[_0x46d2dc(0x14c)](_0x1e9d24)[_0x46d2dc(0xc3)]==_0xf1397e[_0x46d2dc(0xc3)]?_0x3865b5[_0x46d2dc(0x109)](_0x1e9d24):_0x3865b5[_0x46d2dc(0x1d8)](_0x1e9d24,_0xf1397e)):_0x3865b5[_0x46d2dc(0x11a)](_0x1e9d24)?(_0x36d90e[_0x46d2dc(0x109)](_0x1e9d24),_0x3865b5[_0x46d2dc(0x109)](_0x1e9d24)):(_0x36d90e[_0x46d2dc(0xea)](_0x1e9d24),_0x3865b5[_0x46d2dc(0x1d8)](_0x1e9d24,_0xf1397e));}else _0x36d90e[_0x46d2dc(0xea)](_0x1e9d24);}for(const _0x4355bb of _0x36d90e){const _0x1d02a1=_0x3865b5[_0x46d2dc(0x11a)](_0x4355bb)&&!_0x3865b5[_0x46d2dc(0x14c)](_0x4355bb)[_0x46d2dc(0xeb)];let _0x4017b8=_0x1d02a1?_0x2c9333[_0x46d2dc(0x1a4)]-0x1:0x0;const _0x584de0=_0x1d02a1?-0x1:0x1;for(;_0x2c9333[_0x4017b8];){const _0x247db4=_0x2c9333[_0x4017b8];if(_0x247db4[_0x46d2dc(0x1ae)][_0x4355bb]){const _0x4a5381=_0x1d02a1?_0x247db4[_0x46d2dc(0x1ae)][_0x4355bb][_0x46d2dc(0x106)]:_0x247db4[_0x46d2dc(0x1ae)][_0x4355bb][_0x46d2dc(0x191)];_0x2bf4d6[_0x46d2dc(0x1f1)][_0x4355bb]=_0x4a5381?_0x230687(_0x4a5381):{};break;}_0x4017b8+=_0x584de0;}}for(const _0x37b5ce of _0x2c9333){_0x37b5ce[_0x46d2dc(0x19c)]={};for(const _0x25b65b of _0x37b5ce[_0x46d2dc(0x19f)])_0x400d96[_0x46d2dc(0x1d8)](_0x25b65b['id'],_0x25b65b);for(const _0x165ef0 of _0x36d90e){const _0x55d5c5=_0x37b5ce[_0x46d2dc(0x1ae)][_0x165ef0]?_0x37b5ce[_0x46d2dc(0x1ae)][_0x165ef0][_0x46d2dc(0xd9)]:'[]',_0x690984=_0x37b5ce[_0x46d2dc(0x1ae)][_0x165ef0]?_0x37b5ce[_0x46d2dc(0x1ae)][_0x165ef0][_0x46d2dc(0x101)]:'[]';_0x37b5ce[_0x46d2dc(0x19c)][_0x165ef0]={'insertions':this[_0x46d2dc(0x134)](_0x55d5c5),'deletions':this[_0x46d2dc(0x134)](_0x690984)};}}for(const _0x53e502 of _0x36d90e){let _0x481384=null,_0x22f891=0x0;const _0x4929c2=new Map(Array[_0x46d2dc(0x1e2)](_0x8825aa[_0x46d2dc(0x19c)][_0x53e502][_0x46d2dc(0xd9)][_0x46d2dc(0x171)])[_0x46d2dc(0xd7)](([_0x435a0e])=>!_0x435a0e[_0x46d2dc(0x121)](_0x46d2dc(0x1c9))));let _0x215e96=0x0;for(const _0x22423d of _0x2c9333){const _0x2bc32c=this[_0x46d2dc(0x14f)](_0x22423d[_0x46d2dc(0x19c)][_0x53e502][_0x46d2dc(0xd9)]);_0x22423d==_0x8825aa?(_0x481384=_0x2bc32c,_0x22f891=_0x481384[_0x46d2dc(0x1a4)],_0x481384[_0x46d2dc(0x1a5)](_0x5b7772=>{_0x5b7772['id']=_0x215e96++;}),this[_0x46d2dc(0x1fb)](_0x481384)):this[_0x46d2dc(0x1d3)](_0x481384,_0x2bc32c);const _0x55b2f1=_0x481384[_0x46d2dc(0xd7)](_0x2664ae=>!_0x2664ae[_0x46d2dc(0x15a)])[_0x46d2dc(0x15c)](_0x277c77=>_0x277c77['id']);let _0x2d083d=0x0;const _0x3c2f92=this[_0x46d2dc(0x14f)](_0x22423d[_0x46d2dc(0x19c)][_0x53e502][_0x46d2dc(0x101)]);_0x3c2f92[_0x46d2dc(0x1a5)](_0x1e937e=>{const _0x50eab9=_0x46d2dc;_0x1e937e[_0x50eab9(0x141)]?_0x1e937e['id']=_0x22f891++:_0x1e937e['id']=_0x55b2f1[_0x2d083d++];}),this[_0x46d2dc(0x1fb)](_0x3c2f92),this[_0x46d2dc(0x1b2)](_0x481384,_0x46d2dc(0x15a)),this[_0x46d2dc(0x1b2)](_0x3c2f92,_0x46d2dc(0x141)),_0x22423d==_0x8825aa&&this[_0x46d2dc(0x13c)](_0x481384,_0x4929c2),_0x481384=this[_0x46d2dc(0x200)](_0x481384,_0x3c2f92),this[_0x46d2dc(0x11f)](_0x481384),this[_0x46d2dc(0x1b2)](_0x481384,_0x46d2dc(0x141));}_0x481384=_0x481384[_0x46d2dc(0xd7)](_0x51ee0f=>!(_0x51ee0f[_0x46d2dc(0x15a)]&&_0x51ee0f[_0x46d2dc(0x141)]));const _0x53f2ca=new Map(_0x585f20[_0x46d2dc(0x19c)][_0x53e502][_0x46d2dc(0x101)][_0x46d2dc(0x171)]),_0x1bab3d=new Set(_0x4929c2[_0x46d2dc(0x15e)]());for(const _0x1b95de of _0x53f2ca[_0x46d2dc(0x15e)]())_0x1bab3d[_0x46d2dc(0x109)](_0x1b95de);this[_0x46d2dc(0x13d)](_0x481384,_0x1bab3d),this[_0x46d2dc(0x145)](_0x481384),_0x481384=this[_0x46d2dc(0xcb)](_0x481384),_0x481384=this[_0x46d2dc(0xed)](_0x481384),_0x481384=this[_0x46d2dc(0x1e0)](_0x481384);const {root:_0x576fbd,changes:_0x525dfd}=this[_0x46d2dc(0x1de)](_0x481384,_0x400d96,_0x53e502);_0x2bf4d6[_0x46d2dc(0x19c)][_0x53e502]=_0x576fbd;const _0x4cb7a8=_0x3865b5[_0x46d2dc(0x14c)](_0x53e502);if(_0x4cb7a8){const _0x20df66=_0x400d96[_0x46d2dc(0x14c)](_0x4cb7a8[_0x46d2dc(0xc3)]),_0x12f00f=new _0x2c0de6({'author':_0x20df66,'type':_0x4cb7a8[_0x46d2dc(0xeb)]?_0x46d2dc(0xea):_0x46d2dc(0x14a),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x53e502});_0x525dfd[_0x46d2dc(0x1c0)](_0x12f00f),_0x2bf4d6[_0x46d2dc(0x1f1)][_0x53e502][_0x46d2dc(0x1af)]=_0x12f00f['id'];}_0x2bf4d6[_0x46d2dc(0x1db)]=_0x2bf4d6[_0x46d2dc(0x1db)][_0x46d2dc(0xdc)](_0x525dfd);}return _0x2bf4d6;}[_0x2f871f(0x13c)](_0x1af86c,_0x12c321){const _0x18b9e4=_0x2f871f;for(let _0x6f9c5c=0x0;_0x6f9c5c<_0x1af86c[_0x18b9e4(0x1a4)];_0x6f9c5c++)for(const [_0x48b637,_0x54c508]of _0x12c321)_0x54c508[_0x18b9e4(0x208)][_0x18b9e4(0x193)](_0x1af86c[_0x6f9c5c][_0x18b9e4(0x1e5)])&&_0x1af86c[_0x6f9c5c][_0x18b9e4(0x1bd)][_0x18b9e4(0x1b3)](_0x48b637),_0x54c508[_0x18b9e4(0x195)][_0x18b9e4(0x193)](_0x1af86c[_0x6f9c5c][_0x18b9e4(0x1f9)])&&_0x1af86c[_0x6f9c5c][_0x18b9e4(0x1fc)][_0x18b9e4(0x1b3)](_0x48b637);}[_0x2f871f(0x200)](_0x3ff09b,_0x612771){const _0x496881=_0x2f871f;let _0x1037e1=[],_0x29fe62=0x0,_0x18cd01=0x0;for(;_0x29fe62<_0x3ff09b[_0x496881(0x1a4)]||_0x18cd01<_0x612771[_0x496881(0x1a4)];){const _0x2c6f0c=_0x3ff09b[_0x29fe62]||{},_0x443426=_0x612771[_0x18cd01]||{};if(_0x2c6f0c['id']==_0x443426['id'])_0x29fe62++,_0x18cd01++,_0x1037e1[_0x496881(0x1b3)](_0x2c6f0c);else{if(_0x443426[_0x496881(0x141)]&&_0x2c6f0c[_0x496881(0x15a)]){const {commonTape:_0x20e0bf,iEnd:_0x14e53a,jEnd:_0x3d7d94}=this[_0x496881(0x1c1)](_0x3ff09b,_0x29fe62,_0x612771,_0x18cd01);_0x1037e1=_0x1037e1[_0x496881(0xdc)](_0x20e0bf),_0x29fe62=_0x14e53a,_0x18cd01=_0x3d7d94;}else _0x443426[_0x496881(0x141)]?(_0x18cd01++,_0x1037e1[_0x496881(0x1b3)](_0x443426)):(_0x29fe62++,_0x1037e1[_0x496881(0x1b3)](_0x2c6f0c));}}return _0x1037e1;}[_0x2f871f(0x13d)](_0x39412b,_0x4f2090){const _0x49888f=_0x2f871f,_0x27cb2c=[];for(let _0x229bac=0x0;_0x229bac<_0x39412b[_0x49888f(0x1a4)];_0x229bac++){for(let _0x2ad6f3=0x0;_0x2ad6f3<_0x39412b[_0x229bac][_0x49888f(0x1bd)][_0x49888f(0x1a4)];_0x2ad6f3++){const _0x2ea5c5=_0x39412b[_0x229bac][_0x49888f(0x1bd)][_0x2ad6f3];if(!_0x4f2090[_0x49888f(0x11a)](_0x2ea5c5))continue;const {group:_0x2350a5,type:_0x2f42e7,authorId:_0x58729f}=_0xd87add(_0x2ea5c5);_0x49888f(0xee)!=_0x2350a5||_0x49888f(0x199)!=_0x2f42e7&&_0x49888f(0x1e6)!=_0x2f42e7||(_0x27cb2c[_0x49888f(0x1c0)]({'type':_0x2f42e7,'name':_0x2ea5c5,'userId':_0x58729f}),_0x39412b[_0x229bac][_0x49888f(0x1bd)][_0x49888f(0x135)](_0x2ad6f3,0x1),_0x2ad6f3--);}_0x57ab6f(_0x39412b[_0x229bac]);for(let _0x2b9a0b=0x0;_0x2b9a0b<_0x39412b[_0x229bac][_0x49888f(0x1fc)][_0x49888f(0x1a4)];_0x2b9a0b++){const _0x5a6e3f=_0x39412b[_0x229bac][_0x49888f(0x1fc)][_0x2b9a0b];if(!_0x4f2090[_0x49888f(0x11a)](_0x5a6e3f))continue;const {group:_0x51c9ba,type:_0x301e72}=_0xd87add(_0x5a6e3f);if(_0x49888f(0xee)!=_0x51c9ba||_0x49888f(0x199)!=_0x301e72&&_0x49888f(0x1e6)!=_0x301e72)continue;_0x39412b[_0x229bac][_0x49888f(0x1fc)][_0x49888f(0x135)](_0x2b9a0b,0x1),_0x2b9a0b--;const _0x2aac8d=_0x27cb2c[_0x49888f(0x12f)](_0x404283=>_0x404283[_0x49888f(0x173)]==_0x5a6e3f);_0x2aac8d>-0x1&&_0x27cb2c[_0x49888f(0x135)](_0x2aac8d,0x1);}}function _0xd87add(_0x26e13d){const _0x178aa5=_0x49888f,_0x14e628=_0x26e13d[_0x178aa5(0x1cd)](':');return{'group':_0x14e628[0x0],'type':_0x14e628[0x1],'subType':_0x14e628[_0x178aa5(0x1a4)]>=0x5?_0x14e628[0x2]:null,'id':_0x14e628[_0x178aa5(0x1a4)]<0x5?_0x14e628[0x2]:_0x14e628[0x3],'authorId':_0x14e628[_0x178aa5(0x1a4)]<0x5?_0x14e628[0x3]:_0x14e628[0x4],'markerCount':0x6==_0x14e628[_0x178aa5(0x1a4)]?_0x14e628[0x5]:null};}function _0x57ab6f(_0x22694c){const _0x2600cf=_0x49888f;for(let _0x36cd50=0x0;_0x36cd50<_0x27cb2c[_0x2600cf(0x1a4)];_0x36cd50++){if(_0x22694c[_0x2600cf(0x15a)]&&_0x2600cf(0x199)==_0x27cb2c[_0x36cd50][_0x2600cf(0x1e8)])return _0x22694c[_0x2600cf(0x174)]=_0x27cb2c[_0x36cd50],void delete _0x22694c[_0x2600cf(0x15a)];if(!_0x22694c[_0x2600cf(0x15a)]&&!_0x22694c[_0x2600cf(0x141)]&&_0x2600cf(0x1e6)==_0x27cb2c[_0x36cd50][_0x2600cf(0x1e8)])return void(_0x22694c[_0x2600cf(0x10a)]=_0x27cb2c[_0x36cd50]);}}}[_0x2f871f(0x1b2)](_0x46e01c,_0x1146bd){const _0x4ca450=_0x2f871f;let _0x4de1e2=0x0,_0x3eea40=!0x1;const _0x2013dc=new Map();for(const _0x5150b8 of _0x46e01c)_0x5150b8[_0x1146bd]?_0x3eea40&&(_0x4de1e2++,_0x3eea40=!0x1):(_0x4de1e2++,_0x3eea40=!0x0),_0x2013dc[_0x4ca450(0x1d8)](_0x5150b8['id'],_0x4de1e2);for(let _0x188e3d=0x0;_0x188e3d<_0x46e01c[_0x4ca450(0x1a4)];_0x188e3d++){if(_0x4ca450(0x141)==_0x1146bd&&_0x46e01c[_0x188e3d][_0x4ca450(0x15a)]||_0x4ca450(0x15a)==_0x1146bd&&_0x46e01c[_0x188e3d][_0x4ca450(0x141)])continue;if(_0x4ca450(0x13f)==_0x46e01c[_0x188e3d][_0x4ca450(0x1e8)]){_0x46e01c[_0x188e3d][_0x4ca450(0x169)]=0x0;continue;}const _0x4d648a=_0x2013dc[_0x4ca450(0x14c)](_0x46e01c[_0x188e3d][_0x4ca450(0x13e)]),_0x2d2153=_0x2013dc[_0x4ca450(0x14c)](_0x46e01c[_0x188e3d]['id']);_0x46e01c[_0x188e3d][_0x4ca450(0x169)]=_0x4d648a-_0x2d2153;}}[_0x2f871f(0x116)](_0x56be57,_0x151558,_0x45b32c=!0x1){const _0x324d0a=_0x2f871f,_0x148a89=[];let _0x37956d=this[_0x324d0a(0x201)][_0x324d0a(0x20a)](_0x56be57),_0x34bc7f=this[_0x324d0a(0x201)][_0x324d0a(0x20a)](_0x151558);for(-0x1==_0x34bc7f&&(_0x34bc7f=this[_0x324d0a(0x201)][_0x324d0a(0x182)][_0x324d0a(0x1a4)],_0x45b32c=!0x1);_0x37956d<_0x34bc7f;)_0x148a89[_0x324d0a(0x1b3)](this[_0x324d0a(0x201)][_0x324d0a(0x1c7)](_0x37956d)),_0x37956d++;return _0x45b32c&&_0x148a89[_0x324d0a(0x1b3)](this[_0x324d0a(0x201)][_0x324d0a(0x1c7)](_0x37956d)),_0x148a89;}[_0x2f871f(0x1c1)](_0x192554,_0x4a91ab,_0x245fd8,_0x4c26a1){const _0x4e7e10=_0x2f871f,_0x34d95a=this[_0x4e7e10(0x18d)][_0x4e7e10(0x19c)][_0x4e7e10(0xe3)];let _0xa2da8b=_0x4a91ab;for(;_0x192554[_0xa2da8b]&&_0x192554[_0xa2da8b][_0x4e7e10(0x15a)];)_0xa2da8b++;let _0x1da4e3=_0x4c26a1;for(;_0x245fd8[_0x1da4e3]&&_0x245fd8[_0x1da4e3][_0x4e7e10(0x141)];)_0x1da4e3++;_0x319ebc(_0x192554,_0x4a91ab,_0xa2da8b),_0x319ebc(_0x245fd8,_0x4c26a1,_0x1da4e3);const _0x143bc5=_0x245fd8[_0x4e7e10(0xc4)](_0x4c26a1,_0x1da4e3)[_0x4e7e10(0xdc)](_0x192554[_0x4e7e10(0xc4)](_0x4a91ab,_0xa2da8b));return _0x143bc5[_0x4e7e10(0x137)]((_0x1ab5ce,_0x4d8c77)=>_0x1ab5ce[_0x4e7e10(0xf2)]!=_0x4d8c77[_0x4e7e10(0xf2)]?_0x1ab5ce[_0x4e7e10(0xf2)]-_0x4d8c77[_0x4e7e10(0xf2)]:_0x1ab5ce[_0x4e7e10(0x139)]!=_0x4d8c77[_0x4e7e10(0x139)]?_0x1ab5ce[_0x4e7e10(0x139)]-_0x4d8c77[_0x4e7e10(0x139)]:_0x1ab5ce[_0x4e7e10(0x169)]!=_0x4d8c77[_0x4e7e10(0x169)]?_0x4d8c77[_0x4e7e10(0x169)]-_0x1ab5ce[_0x4e7e10(0x169)]:!!_0x1ab5ce[_0x4e7e10(0x15a)]!=!!_0x4d8c77[_0x4e7e10(0x15a)]?-0x1==_0x1ab5ce[_0x4e7e10(0xf2)]||0x0==_0x1ab5ce[_0x4e7e10(0xf2)]?_0x1ab5ce[_0x4e7e10(0x15a)]?-0x1:0x1:_0x1ab5ce[_0x4e7e10(0x15a)]?0x1:-0x1:_0x1ab5ce[_0x4e7e10(0x1a9)]-_0x4d8c77[_0x4e7e10(0x1a9)]),{'commonTape':_0x143bc5,'iEnd':_0xa2da8b,'jEnd':_0x1da4e3};function _0x319ebc(_0x296f49,_0x34a840,_0x5e0320){const _0x277659=_0x4e7e10;let _0x4c70e4=-0x1,_0xe81105=Number[_0x277659(0xc7)],_0x433514=!0x0;for(let _0x256613=_0x34a840;_0x256613<_0x5e0320;_0x256613++)if(_0x34d95a[_0x277659(0x13b)](_0x296f49[_0x256613][_0x277659(0x1bb)])||(_0x433514=!0x1),_0x296f49[_0x256613][_0x277659(0x1bb)][_0x277659(0x18a)]<_0x34a840&&(_0x4c70e4=_0x256613),_0x296f49[_0x256613][_0x277659(0x1bb)][_0x277659(0x138)]>=_0x5e0320){_0xe81105=_0x256613;break;}_0x433514&&(_0x4c70e4=_0x5e0320-0x1);for(let _0x368e6c=_0x34a840;_0x368e6c<_0x5e0320;_0x368e6c++)_0x296f49[_0x368e6c][_0x277659(0xf2)]=_0x368e6c<=_0x4c70e4?-0x1:_0x368e6c<_0xe81105?0x0:0x1,_0x296f49[_0x368e6c][_0x277659(0x1a9)]=_0x368e6c;let _0x1b1b04=0x0;for(let _0x261667=_0x34a840;_0x261667<=_0x4c70e4;_0x261667++)0x0==_0x296f49[_0x261667][_0x277659(0x169)]?_0x296f49[_0x261667][_0x277659(0x139)]=_0x1b1b04:(_0x1b1b04++,_0x296f49[_0x261667][_0x277659(0x139)]=_0x1b1b04,_0x1b1b04++);for(let _0x21355f=_0x34a840;_0x21355f<_0x5e0320;_0x21355f++)0x0==_0x296f49[_0x21355f][_0x277659(0xf2)]&&(_0x296f49[_0x21355f][_0x277659(0x139)]=_0x1b1b04);_0x1b1b04=0x0;for(let _0x221d0c=_0x5e0320-0x1;_0x221d0c>=_0xe81105;_0x221d0c--)0x0==_0x296f49[_0x221d0c][_0x277659(0x169)]?_0x296f49[_0x221d0c][_0x277659(0x139)]=_0x1b1b04:(_0x1b1b04--,_0x296f49[_0x221d0c][_0x277659(0x139)]=_0x1b1b04,_0x1b1b04--);}}[_0x2f871f(0x145)](_0x2c5d7a){const _0x45808e=_0x2f871f,_0x26fe07=new Map(),_0x23a617=this[_0x45808e(0x18d)][_0x45808e(0x19c)][_0x45808e(0xe3)];for(let _0x26d2e9=0x1;_0x26d2e9<_0x2c5d7a[_0x45808e(0x1a4)];_0x26d2e9++){let _0x5d6c80,_0x503359,_0x4325a2;const _0x7de287=_0x2c5d7a[_0x26d2e9],_0x5b83f3=_0x2c5d7a[_0x26d2e9-0x1];if(_0x45808e(0x13f)==_0x7de287[_0x45808e(0x1e8)])continue;if(_0x7de287[_0x45808e(0x1e8)]!=_0x5b83f3[_0x45808e(0x1e8)])continue;if(!_0x23a617[_0x45808e(0x154)](_0x5b83f3[_0x45808e(0x1bb)])||_0x23a617[_0x45808e(0x1e9)](_0x5b83f3[_0x45808e(0x1bb)]))continue;if(!_0x23a617[_0x45808e(0x154)](_0x7de287[_0x45808e(0x1bb)])||_0x23a617[_0x45808e(0x1e9)](_0x7de287[_0x45808e(0x1bb)]))continue;if((_0x2c5d7a[_0x26d2e9][_0x45808e(0x15a)]||_0x2c5d7a[_0x26d2e9][_0x45808e(0x174)])&&_0x2c5d7a[_0x26d2e9-0x1][_0x45808e(0x141)])_0x5d6c80=_0x2c5d7a[_0x26d2e9],_0x503359=_0x2c5d7a[_0x26d2e9-0x1],_0x4325a2=_0x26d2e9-0x1;else{if(!_0x2c5d7a[_0x26d2e9][_0x45808e(0x141)]||!_0x2c5d7a[_0x26d2e9-0x1][_0x45808e(0x15a)]&&!_0x2c5d7a[_0x26d2e9-0x1][_0x45808e(0x174)])continue;_0x5d6c80=_0x2c5d7a[_0x26d2e9-0x1],_0x503359=_0x2c5d7a[_0x26d2e9],_0x4325a2=_0x26d2e9;}const _0x11bf0f=_0x5d6c80[_0x45808e(0x139)]==_0x503359[_0x45808e(0x139)],_0x54ce41=Math[_0x45808e(0x189)](_0x5d6c80[_0x45808e(0x139)])<Math[_0x45808e(0x189)](_0x503359[_0x45808e(0x139)])&&0x0==_0x503359[_0x45808e(0x169)];(_0x11bf0f||_0x54ce41)&&(_0x26fe07[_0x45808e(0x1d8)](_0x503359['id'],_0x5d6c80['id']),_0x2c5d7a[_0x45808e(0x135)](_0x4325a2,0x1),_0x26d2e9--,_0x5d6c80[_0x45808e(0x15a)]=!0x1);}for(let _0x44e9d2=0x0;_0x44e9d2<_0x2c5d7a[_0x45808e(0x1a4)];_0x44e9d2++)_0x26fe07[_0x45808e(0x11a)](_0x2c5d7a[_0x44e9d2][_0x45808e(0x13e)])&&(_0x2c5d7a[_0x44e9d2][_0x45808e(0x13e)]=_0x26fe07[_0x45808e(0x14c)](_0x2c5d7a[_0x44e9d2][_0x45808e(0x13e)]));}[_0x2f871f(0xcb)](_0x73ae73){const _0x2dd55a=_0x2f871f,_0x57431e=new Set(_0x73ae73[_0x2dd55a(0x15c)](_0x68e618=>_0x68e618['id']));for(let _0x52303d=0x0;_0x52303d<_0x73ae73[_0x2dd55a(0x1a4)];_0x52303d++)_0x57431e[_0x2dd55a(0x11a)](_0x73ae73[_0x52303d][_0x2dd55a(0x13e)])||0x0==_0x73ae73[_0x52303d][_0x2dd55a(0x169)]||(_0x73ae73[_0x52303d][_0x2dd55a(0x13a)]=!0x0);return _0x73ae73[_0x2dd55a(0xd7)](_0x24da81=>!_0x24da81[_0x2dd55a(0x13a)]);}[_0x2f871f(0xed)](_0x17fa15){const _0x33b15a=_0x2f871f,_0x458853=new Set();for(let _0x488298=0x0;_0x488298<_0x17fa15[_0x33b15a(0x1a4)];_0x488298++){if(_0x458853[_0x33b15a(0x11a)](_0x17fa15[_0x488298]['id'])&&_0x17fa15[_0x488298][_0x33b15a(0x141)]&&(_0x17fa15[_0x488298][_0x33b15a(0x13a)]=!0x0),_0x17fa15[_0x488298][_0x33b15a(0x13a)])continue;if(0x0==_0x17fa15[_0x488298][_0x33b15a(0x169)])continue;if(_0x33b15a(0x1bc)!=_0x17fa15[_0x488298][_0x33b15a(0x1e8)])continue;if(null==_0x17fa15[_0x488298][_0x33b15a(0x13e)])continue;let _0xcefd92=_0x488298+0x1,_0x5bcca6=0x0;for(;_0x17fa15[_0xcefd92]['id']!=_0x17fa15[_0x488298][_0x33b15a(0x13e)];)_0x33b15a(0x1bc)==_0x17fa15[_0xcefd92][_0x33b15a(0x1e8)]?_0x5bcca6++:_0x33b15a(0x147)==_0x17fa15[_0xcefd92][_0x33b15a(0x1e8)]&&_0x5bcca6--,_0xcefd92++;if(0x0!=_0x5bcca6){if(_0x17fa15[_0x488298][_0x33b15a(0x141)])_0x17fa15[_0x488298][_0x33b15a(0x13a)]=!0x0;else{for(;_0xcefd92!=_0x488298;)_0x17fa15[_0xcefd92][_0x33b15a(0x141)]&&0x0!=_0x17fa15[_0xcefd92][_0x33b15a(0x169)]&&(_0x17fa15[_0xcefd92][_0x33b15a(0x13a)]=!0x0,_0x458853[_0x33b15a(0xea)](_0x17fa15[_0xcefd92][_0x33b15a(0x13e)])),_0xcefd92--;}}}return _0x17fa15[_0x33b15a(0xd7)](_0x482bcf=>!_0x482bcf[_0x33b15a(0x13a)]);}[_0x2f871f(0x1e0)](_0x2f0cee){const _0x31a218=_0x2f871f,_0x557710=this[_0x31a218(0x18d)][_0x31a218(0x19c)][_0x31a218(0xe3)];for(let _0x31678a=0x0;_0x31678a<_0x2f0cee[_0x31a218(0x1a4)];_0x31678a++){if(!(_0x2f0cee[_0x31678a][_0x31a218(0x15a)]||_0x2f0cee[_0x31678a][_0x31a218(0x174)]||_0x2f0cee[_0x31678a][_0x31a218(0x141)]||_0x2f0cee[_0x31678a][_0x31a218(0x10a)]))continue;if(0x0==_0x2f0cee[_0x31678a][_0x31a218(0x169)])continue;const _0xd2db27=_0x2f0cee[_0x31678a][_0x31a218(0x1bb)];_0x557710[_0x31a218(0x154)](_0xd2db27)||_0x557710[_0x31a218(0x1e9)](_0xd2db27)||(_0x2f0cee[_0x31678a][_0x31a218(0x15a)]&&delete _0x2f0cee[_0x31678a][_0x31a218(0x15a)],_0x2f0cee[_0x31678a][_0x31a218(0x174)]&&delete _0x2f0cee[_0x31678a][_0x31a218(0x174)],_0x2f0cee[_0x31678a][_0x31a218(0x10a)]&&delete _0x2f0cee[_0x31678a][_0x31a218(0x10a)],_0x2f0cee[_0x31678a][_0x31a218(0x141)]&&(_0x2f0cee[_0x31678a][_0x31a218(0x13a)]=!0x0));}return _0x2f0cee[_0x31a218(0xd7)](_0x3f46e3=>!_0x3f46e3[_0x31a218(0x13a)]);}[_0x2f871f(0x1de)](_0x172be4,_0x1efa10,_0x5168cc){const _0x3ed813=_0x2f871f,_0x135881=new _0x2cfbcb(),_0x2ba66e=[],_0x13d377=new Map(),_0x1bbb11=this[_0x3ed813(0x18d)][_0x3ed813(0x19c)],_0xf68ba0=_0x1bbb11[_0x3ed813(0xe3)],_0x488aa0=[_0x135881],_0xe6db5f={},_0x305eb3={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x7d8a1b=null;const _0x4bef5d=[0x0];for(let _0x7833bc=0x0;_0x7833bc<_0x172be4[_0x3ed813(0x1a4)];_0x7833bc++){let _0x5200cf,_0x1d4c91;if(_0x3ed813(0x1bc)===_0x172be4[_0x7833bc][_0x3ed813(0x1e8)]){_0x5200cf=_0x1bbb11[_0x3ed813(0x1b9)](_0x135881,_0x4bef5d);const _0x491759=new _0x2a4298(_0x172be4[_0x7833bc][_0x3ed813(0x1bb)][_0x3ed813(0x173)],_0x172be4[_0x7833bc][_0x3ed813(0x1bb)][_0x3ed813(0x206)]());_0x488aa0[0x0][_0x3ed813(0x204)](_0x491759),_0x4bef5d[_0x3ed813(0x1b3)](0x0),_0x488aa0[_0x3ed813(0x1c0)](_0x491759),_0x1d4c91=_0x1bbb11[_0x3ed813(0x1b9)](_0x135881,_0x4bef5d),_0x7d8a1b=null;}else{if(_0x3ed813(0x147)===_0x172be4[_0x7833bc][_0x3ed813(0x1e8)])_0x488aa0[_0x3ed813(0x112)](),_0x5200cf=_0x1bbb11[_0x3ed813(0x1b9)](_0x135881,_0x4bef5d),_0x4bef5d[_0x3ed813(0x119)](),_0x4bef5d[_0x4bef5d[_0x3ed813(0x1a4)]-0x1]++,_0x1d4c91=_0x1bbb11[_0x3ed813(0x1b9)](_0x135881,_0x4bef5d),_0x7d8a1b=null;else{if(_0x5200cf=_0x1bbb11[_0x3ed813(0x1b9)](_0x135881,_0x4bef5d),_0x7d8a1b&&_0x1d13a8(_0x7d8a1b,_0x172be4[_0x7833bc][_0x3ed813(0x1bb)]))_0x7d8a1b[_0x3ed813(0x15d)]+=_0x172be4[_0x7833bc][_0x3ed813(0x1bb)][_0x3ed813(0x188)];else{const _0x57fd60=new _0x501c14(_0x172be4[_0x7833bc][_0x3ed813(0x1bb)][_0x3ed813(0x188)],_0x172be4[_0x7833bc][_0x3ed813(0x1bb)][_0x3ed813(0x206)]());_0x488aa0[0x0][_0x3ed813(0x204)](_0x57fd60),_0x7d8a1b=_0x57fd60;}_0x4bef5d[_0x4bef5d[_0x3ed813(0x1a4)]-0x1]+=_0x172be4[_0x7833bc][_0x3ed813(0x1bb)][_0x3ed813(0x177)],_0x1d4c91=_0x1bbb11[_0x3ed813(0x1b9)](_0x135881,_0x4bef5d);}}for(const _0x3eb312 of _0x172be4[_0x7833bc][_0x3ed813(0x1bd)])_0x13d377[_0x3ed813(0x1d8)](_0x3eb312,{'start':_0x5200cf,'end':null});_0x15d967(_0x3ed813(0x10a),_0x7833bc,_0x5200cf,_0x1d4c91),_0x15d967(_0x3ed813(0x174),_0x7833bc,_0x5200cf,_0x1d4c91),_0x15d967(_0x3ed813(0x141),_0x7833bc,_0x5200cf,_0x1d4c91),_0x15d967(_0x3ed813(0x15a),_0x7833bc,_0x5200cf,_0x1d4c91);for(const _0x55679c of _0x172be4[_0x7833bc][_0x3ed813(0x1fc)]){_0x13d377[_0x3ed813(0x14c)](_0x55679c)[_0x3ed813(0x195)]=_0x1d4c91;}}for(const [_0x4159c4,_0x572daa]of _0x13d377){const _0x54f689=this[_0x3ed813(0x18d)][_0x3ed813(0x19c)][_0x3ed813(0x160)](_0x572daa[_0x3ed813(0x208)],_0x572daa[_0x3ed813(0x195)]);_0x135881[_0x3ed813(0x171)][_0x3ed813(0x1d8)](_0x4159c4,_0x54f689);}return _0x2ba66e[_0x3ed813(0x137)]((_0x1fd6da,_0x3e6110)=>{const _0x19afa0=_0x3ed813,_0x291074=_0x135881[_0x19afa0(0x171)][_0x19afa0(0x14c)](_0x19afa0(0x1c9)+_0x1fd6da['id']),_0x42d92a=_0x135881[_0x19afa0(0x171)][_0x19afa0(0x14c)](_0x19afa0(0x1c9)+_0x3e6110['id']);return _0x291074[_0x19afa0(0x208)][_0x19afa0(0x187)](_0x42d92a[_0x19afa0(0x208)])?-0x1:_0x291074[_0x19afa0(0x208)][_0x19afa0(0x10c)](_0x42d92a[_0x19afa0(0x208)])?0x1:_0x291074[_0x19afa0(0x195)][_0x19afa0(0x187)](_0x42d92a[_0x19afa0(0x195)])?-0x1:_0x291074[_0x19afa0(0x195)][_0x19afa0(0x10c)](_0x42d92a[_0x19afa0(0x195)])?0x1:_0x19afa0(0xea)===_0x1fd6da[_0x19afa0(0x1e8)]?-0x1:0x1;}),{'root':_0x135881,'changes':_0x2ba66e};function _0x15d967(_0x4c1a31,_0x5a8bd4,_0x1ceaba,_0x3cb7c4){const _0x3ffdbc=_0x3ed813,_0x181ff5=!!_0x172be4[_0x5a8bd4][_0x4c1a31],_0x41078a=_0x181ff5?_0x172be4[_0x5a8bd4][_0x4c1a31][_0x3ffdbc(0xc3)]:null,_0x4432ed=_0x5a8bd4===_0x172be4[_0x3ffdbc(0x1a4)]-0x1,_0x1e2f8f=_0x305eb3[_0x4c1a31][0x0],_0x2dcce4=_0xf68ba0[_0x3ffdbc(0x12b)](_0x172be4[_0x5a8bd4][_0x3ffdbc(0x1bb)]);!_0xe6db5f[_0x4c1a31]&&_0x181ff5?_0xe6db5f[_0x4c1a31]={'start':_0x1ceaba,'tapeItem':_0x172be4[_0x5a8bd4],'userId':_0x41078a,'type':_0x4c1a31}:_0xe6db5f[_0x4c1a31]&&!_0x181ff5?(_0xe6db5f[_0x4c1a31][_0x3ffdbc(0x195)]=_0x1ceaba,_0x459997(_0xe6db5f[_0x4c1a31]),_0xe6db5f[_0x4c1a31]=null):_0xe6db5f[_0x4c1a31]&&_0x181ff5&&_0xe6db5f[_0x4c1a31][_0x3ffdbc(0xc3)]!==_0x41078a&&(_0xe6db5f[_0x4c1a31][_0x3ffdbc(0x195)]=_0x1ceaba,_0x1e2f8f&&_0x1e2f8f[_0x3ffdbc(0xc3)]===_0xe6db5f[_0x4c1a31][_0x3ffdbc(0xc3)]||_0x459997(_0xe6db5f[_0x4c1a31]),_0xe6db5f[_0x4c1a31]={'start':_0x1ceaba,'tapeItem':_0x172be4[_0x5a8bd4],'userId':_0x41078a,'type':_0x4c1a31}),_0xe6db5f[_0x4c1a31]&&_0x2dcce4&&(_0x3ffdbc(0x1bc)!==_0x172be4[_0x5a8bd4][_0x3ffdbc(0x1e8)]||_0x1e2f8f&&_0x1e2f8f[_0x3ffdbc(0xc3)]===_0x41078a||_0x305eb3[_0x4c1a31][_0x3ffdbc(0x1c0)]({'userId':_0x41078a,'object':_0x172be4[_0x5a8bd4][_0x3ffdbc(0x1bb)],'change':_0xe6db5f[_0x4c1a31]}),_0x3ffdbc(0x147)===_0x172be4[_0x5a8bd4][_0x3ffdbc(0x1e8)]&&_0x1e2f8f&&_0x1e2f8f[_0x3ffdbc(0x184)]===_0x172be4[_0x5a8bd4][_0x3ffdbc(0x1bb)]&&(_0x305eb3[_0x4c1a31][_0x3ffdbc(0x112)](),_0xe6db5f[_0x4c1a31]=_0x1e2f8f[_0x3ffdbc(0x11d)])),_0xe6db5f[_0x4c1a31]&&_0x4432ed&&(_0xe6db5f[_0x4c1a31][_0x3ffdbc(0x195)]=_0x3cb7c4,_0x459997(_0xe6db5f[_0x4c1a31]),_0xe6db5f[_0x4c1a31]=null);}function _0x459997({start:_0x31ec32,end:_0x22d9c7,tapeItem:_0xae064b,userId:_0x2a195c,type:_0x438d94}){const _0x3a1ef0=_0x3ed813,_0x3e7132=_0xae064b[_0x3a1ef0(0x1bb)],_0x1539f7=_0x1bbb11[_0x3a1ef0(0xe3)][_0x3a1ef0(0x154)](_0x3e7132)&&!_0x1bbb11[_0x3a1ef0(0xe3)][_0x3a1ef0(0x1e9)](_0x3e7132),_0x66ab46=_0x31ec32[_0x3a1ef0(0xd6)]==_0x22d9c7[_0x3a1ef0(0xf8)]&&_0x22d9c7[_0x3a1ef0(0xc1)];if(_0x1539f7&&_0x66ab46)return;const _0x24345e=_0x1bbb11[_0x3a1ef0(0x160)](_0x31ec32,_0x22d9c7),_0x1ad9a8=_0x1efa10[_0x3a1ef0(0x14c)](_0x2a195c),_0x284e6f=new _0x2c0de6({'author':_0x1ad9a8,'type':_0x3a1ef0(0x15a)==_0x438d94||_0x3a1ef0(0x174)==_0x438d94?_0x3a1ef0(0xea):_0x3a1ef0(0x14a),'data':{'isSuggestion':_0x3a1ef0(0x174)==_0x438d94||_0x3a1ef0(0x10a)==_0x438d94},'createdAt':new Date(),'rootName':_0x5168cc});_0x2ba66e[_0x3a1ef0(0x1b3)](_0x284e6f),_0x135881[_0x3a1ef0(0x171)][_0x3a1ef0(0x1d8)](_0x3a1ef0(0x1c9)+_0x284e6f['id'],_0x24345e);}function _0x1d13a8(_0x2f7fbb,_0x14293a){const _0x34f815=_0x3ed813,_0x16856a=_0x2f7fbb[_0x34f815(0x206)](),_0x1e92c1=_0x14293a[_0x34f815(0x206)]();for(const _0x2148bc of _0x16856a){if(_0x2148bc[0x1]!==_0x14293a[_0x34f815(0x165)](_0x2148bc[0x0]))return!0x1;_0x1e92c1[_0x34f815(0x1d2)]();}return _0x1e92c1[_0x34f815(0x1d2)]()[_0x34f815(0x185)];}}[_0x2f871f(0x150)](){const _0x4d61c8=_0x2f871f;this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x20d))[_0x4d61c8(0x10e)]({'view':_0x4d61c8(0x1ab)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x117))[_0x4d61c8(0x180)]({'model':_0x4d61c8(0x1ab),'view':_0xcb65f4=>{const _0x2054e0=_0x4d61c8,_0x43cde9=_0xcb65f4[_0x2054e0(0x167)][_0x2054e0(0x1cd)](':')[0x1],_0x548b10=this[_0x2054e0(0xe0)](_0x43cde9);if(!_0x548b10)return null;const _0x254f19=_0x2054e0(0xea)==_0x548b10[_0x2054e0(0x1e8)]?_0x2054e0(0x199):_0x2054e0(0x1e6),_0x2c3577=[_0x2054e0(0x146),_0x2054e0(0x1fe)+_0x254f19];return _0x548b10[_0x2054e0(0x188)][_0x2054e0(0x151)]&&_0x2c3577[_0x2054e0(0x1b3)](_0x2054e0(0x1fe)+_0x254f19+_0x2054e0(0x1ea)),this[_0x2054e0(0x152)]==_0x548b10&&_0x2c3577[_0x2054e0(0x1b3)](_0x2054e0(0x1ee)),{'classes':_0x2c3577,'attributes':{'data-change-id':_0x43cde9}};}}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x20d))[_0x4d61c8(0xea)](_0x11cc15=>{const _0x58ea8d=_0x4d61c8;_0x11cc15['on'](_0x58ea8d(0xde),(_0x2eef9b,_0x247e48,_0x127076)=>{const _0x1692bd=_0x58ea8d,_0x148a78=_0x247e48[_0x1692bd(0x1ac)][_0x1692bd(0x14e)](0x0);if(!_0x148a78||!_0x148a78['is'](_0x1692bd(0x170),_0x1692bd(0xec)))return;if(!_0x127076[_0x1692bd(0x17b)][_0x1692bd(0x1c3)](_0x148a78,{'attributes':[_0x1692bd(0x107),_0x1692bd(0x1f7)]}))return;const _0x3e49aa=_0x247e48[_0x1692bd(0x172)][_0x1692bd(0x208)][_0x1692bd(0xd6)];_0x127076[_0x1692bd(0x1be)][_0x1692bd(0xd1)](_0x1692bd(0x107),_0x148a78[_0x1692bd(0x165)](_0x1692bd(0x107)),_0x3e49aa),_0x127076[_0x1692bd(0x1be)][_0x1692bd(0xd1)](_0x1692bd(0x1f7),_0x148a78[_0x1692bd(0x165)](_0x1692bd(0x1f7)),_0x3e49aa);},{'priority':_0x58ea8d(0x12e)});}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x20d))[_0x4d61c8(0xea)](_0x45d8d7=>{const _0x44bfcf=_0x4d61c8;_0x45d8d7['on'](_0x44bfcf(0x170),(_0xebf177,_0x52f18c,_0xbd4c4d)=>{const _0x155b8a=_0x44bfcf;if(!_0xbd4c4d[_0x155b8a(0x17b)][_0x155b8a(0x1c3)](_0x52f18c[_0x155b8a(0x1ac)],{'attributes':[_0x155b8a(0x107),_0x155b8a(0x1f7)]}))return;if(_0x52f18c[_0x155b8a(0x172)][_0x155b8a(0xc2)])return;const _0x22bc67=_0x52f18c[_0x155b8a(0x172)][_0x155b8a(0x208)][_0x155b8a(0xd6)];_0x22bc67[_0x155b8a(0x181)](_0x155b8a(0x107))||_0x22bc67[_0x155b8a(0x181)](_0x155b8a(0x1d9))||(_0xbd4c4d[_0x155b8a(0x1be)][_0x155b8a(0xd1)](_0x155b8a(0x107),_0x52f18c[_0x155b8a(0x1ac)][_0x155b8a(0x165)](_0x155b8a(0x107)),_0x22bc67),_0xbd4c4d[_0x155b8a(0x1be)][_0x155b8a(0xd1)](_0x155b8a(0x1f7),_0x52f18c[_0x155b8a(0x1ac)][_0x155b8a(0x165)](_0x155b8a(0x1f7)),_0x22bc67));},{'priority':_0x44bfcf(0x12e)});}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x20d))[_0x4d61c8(0x17a)]({'view':{'name':_0x4d61c8(0x17f),'attributes':{'vid':!0x0}},'model':{'key':_0x4d61c8(0x1d9),'value':_0x1fc43e=>_0x1fc43e[_0x4d61c8(0x165)](_0x4d61c8(0x1d9))}}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19c)][_0x4d61c8(0xe3)]['on'](_0x4d61c8(0x198),(_0x493b66,[,_0x22c800])=>{const _0x4b1aa2=_0x4d61c8;[_0x4b1aa2(0x107),_0x4b1aa2(0x1f7),_0x4b1aa2(0x1d9)][_0x4b1aa2(0xd5)](_0x22c800)&&(_0x493b66[_0x4b1aa2(0x18c)]=!0x0,_0x493b66[_0x4b1aa2(0x110)]());},{'priority':_0x4d61c8(0x20c)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x132))[_0x4d61c8(0xea)](_0x3a928b=>{const _0x402eef=_0x4d61c8;_0x3a928b['on'](_0x402eef(0x144),(_0x344972,_0x4a689d,_0xe0fc1c)=>{const _0x43b681=_0x402eef;if('\x20'!=_0x4a689d[_0x43b681(0x1bb)][_0x43b681(0x188)]||_0x4a689d[_0x43b681(0x1bb)][_0x43b681(0xf8)][_0x43b681(0x1c2)]>0x1)return;if(!_0xe0fc1c[_0x43b681(0x17b)][_0x43b681(0x1c3)](_0x4a689d[_0x43b681(0x1bb)],_0x344972[_0x43b681(0x173)]))return;const _0x1c8161=_0xe0fc1c[_0x43b681(0x1be)],_0x5aa446=_0xe0fc1c[_0x43b681(0x126)][_0x43b681(0x113)](_0x4a689d[_0x43b681(0xe2)]);_0x1c8161[_0x43b681(0x1da)](_0x5aa446,_0x1c8161[_0x43b681(0x157)](_0x43b681(0x17f)));});}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x132))[_0x4d61c8(0x15f)]({'model':_0x4d61c8(0x1ab)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x1b5)][_0x4d61c8(0x1ed)]['on'](_0x4d61c8(0xd4),function(_0x3a07fc){const _0x1d9cc9=_0x4d61c8,_0x1bc841=_0x3a07fc[_0x1d9cc9(0xe6)][_0x1d9cc9(0x14c)](_0x1d9cc9(0xf3));return(_0x3fd935,_0x454878,_0x4f0604)=>{const _0x34eb78=_0x1d9cc9,_0xd3f94d=_0x454878[_0x34eb78(0x167)][_0x34eb78(0x1cd)](':')[0x1],_0x5d4a2c=_0x1bc841[_0x34eb78(0xe0)](_0xd3f94d);if(!_0x5d4a2c)return null;const _0x524400=_0x34eb78(0xea)==_0x5d4a2c[_0x34eb78(0x1e8)]?_0x34eb78(0x1cd):_0x34eb78(0x1f4);if(!_0x4f0604[_0x34eb78(0x17b)][_0x34eb78(0x131)](_0x454878[_0x34eb78(0x1e1)],_0x3fd935[_0x34eb78(0x173)]))return;const _0x22279c=_0x454878[_0x34eb78(0x1e1)][_0x34eb78(0x1c6)](),_0x4a9f46=_0x454878[_0x34eb78(0x1e1)][_0x34eb78(0x208)],_0x34da03=_0x3a07fc[_0x34eb78(0x19c)][_0x34eb78(0xe3)];let _0x2102c7=null,_0x49efe6=null,_0x116836=!0x1,_0x57c93a=!0x1;for(const _0x38a790 of _0x22279c){const _0x12bd0f=_0x38a790[_0x34eb78(0x1bb)];_0x116836=_0x116836||_0x34da03[_0x34eb78(0x1fa)](_0x12bd0f);const _0x19ea9f=_0x4f0604[_0x34eb78(0x126)][_0x34eb78(0x125)](_0x12bd0f);if(_0x19ea9f&&_0x19ea9f[_0x34eb78(0x103)](_0x34eb78(0x1b0)))return;_0x34eb78(0x147)==_0x38a790[_0x34eb78(0x1e8)]&&(_0x34da03[_0x34eb78(0x154)](_0x12bd0f)&&!_0x34da03[_0x34eb78(0x1e9)](_0x12bd0f)&&(_0x12bd0f[_0x34eb78(0x159)]||_0x4a9f46[_0x34eb78(0xf5)]?_0x2102c7&&_0x2102c7[_0x34eb78(0xf8)]==_0x12bd0f||(_0x2102c7=_0x12bd0f,_0x377515(_0x38a790[_0x34eb78(0x1e5)]),_0x57c93a=!0x0):_0x49efe6=_0x49efe6||_0x38a790[_0x34eb78(0x1e5)]));}function _0x377515(_0x2e839f){const _0x48ddf6=_0x34eb78,_0xdcd54e=_0x4f0604[_0x48ddf6(0x1be)][_0x48ddf6(0x161)](_0x48ddf6(0x17f),{'class':_0x48ddf6(0x1fe)+_0x524400}),_0x1c010b=_0x4f0604[_0x48ddf6(0x126)][_0x48ddf6(0xe7)](_0x2e839f);_0x5d4a2c[_0x48ddf6(0x188)][_0x48ddf6(0x151)]&&_0x4f0604[_0x48ddf6(0x1be)][_0x48ddf6(0xf6)](_0x48ddf6(0x1fe)+_0x524400+_0x48ddf6(0x1ea),_0xdcd54e),_0x1bc841[_0x48ddf6(0x152)]==_0x5d4a2c&&_0x4f0604[_0x48ddf6(0x1be)][_0x48ddf6(0xf6)](_0x48ddf6(0x1ee),_0xdcd54e),_0x4f0604[_0x48ddf6(0x1be)][_0x48ddf6(0x15b)](_0x1c010b,_0xdcd54e),_0x4f0604[_0x48ddf6(0x126)][_0x48ddf6(0xfb)](_0xdcd54e,_0x454878[_0x48ddf6(0x167)]);}_0x116836||_0x57c93a||!_0x49efe6||_0x377515(_0x49efe6);};}(this[_0x4d61c8(0x18d)]),{'priority':_0x4d61c8(0x1c5)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x1b5)][_0x4d61c8(0x1ed)]['on'](_0x4d61c8(0x168),(_0x3f4e4b,_0x3b9920,_0x56d4e9)=>{const _0x5dfca8=_0x4d61c8,_0x2a8eba=_0x56d4e9[_0x5dfca8(0x126)][_0x5dfca8(0x11e)](_0x3b9920[_0x5dfca8(0x167)]);if(_0x2a8eba){for(const _0x2fffcd of _0x2a8eba)(_0x2fffcd[_0x5dfca8(0x1f5)](_0x5dfca8(0x19e))||_0x2fffcd[_0x5dfca8(0x1f5)](_0x5dfca8(0x18f)))&&(_0x56d4e9[_0x5dfca8(0x126)][_0x5dfca8(0x108)](_0x2fffcd,_0x3b9920[_0x5dfca8(0x167)]),_0x56d4e9[_0x5dfca8(0x1be)][_0x5dfca8(0x14a)](_0x2fffcd));}},{'priority':_0x4d61c8(0x1c5)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x1b5)][_0x4d61c8(0x1ed)]['on'](_0x4d61c8(0xd4),(_0x40804c,_0x23db90,_0x2aa6bf)=>{const _0x3c3c41=_0x4d61c8,_0x5a0fbf=_0x23db90[_0x3c3c41(0x167)][_0x3c3c41(0x1cd)](':')[0x1],_0x1d1103=this[_0x3c3c41(0xe0)](_0x5a0fbf);if(!_0x1d1103)return null;const _0x1123b9=_0x3c3c41(0xea)==_0x1d1103[_0x3c3c41(0x1e8)]?_0x3c3c41(0x1cd):_0x3c3c41(0x1f4);if(_0x2aa6bf[_0x3c3c41(0x17b)][_0x3c3c41(0x131)](_0x23db90[_0x3c3c41(0x1e1)],_0x40804c[_0x3c3c41(0x173)]))for(const _0xf230fe of _0x23db90[_0x3c3c41(0x1e1)][_0x3c3c41(0x1f3)]()){if(!_0xf230fe['is'](_0x3c3c41(0x170),_0x3c3c41(0x17e)))continue;const _0x429cdc=_0x2aa6bf[_0x3c3c41(0x1be)][_0x3c3c41(0x161)](_0x3c3c41(0x17f),{'class':_0x3c3c41(0x1fe)+_0x1123b9}),_0x542c23=_0x2aa6bf[_0x3c3c41(0x126)][_0x3c3c41(0xe7)](this[_0x3c3c41(0x18d)][_0x3c3c41(0x19c)][_0x3c3c41(0x18b)](_0xf230fe));_0x1d1103[_0x3c3c41(0x188)][_0x3c3c41(0x151)]&&_0x2aa6bf[_0x3c3c41(0x1be)][_0x3c3c41(0xf6)](_0x3c3c41(0x1fe)+_0x1123b9+_0x3c3c41(0x1ea),_0x429cdc),this[_0x3c3c41(0x152)]==_0x1d1103&&_0x2aa6bf[_0x3c3c41(0x1be)][_0x3c3c41(0xf6)](_0x3c3c41(0x1ee),_0x429cdc),_0x2aa6bf[_0x3c3c41(0x1be)][_0x3c3c41(0x15b)](_0x542c23,_0x429cdc),_0x2aa6bf[_0x3c3c41(0x126)][_0x3c3c41(0xfb)](_0x429cdc,_0x23db90[_0x3c3c41(0x167)]);}},{'priority':_0x4d61c8(0x1c5)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19c)][_0x4d61c8(0xe5)]['on'](_0x4d61c8(0x11d),()=>{const _0x522f11=_0x4d61c8;this[_0x522f11(0x18d)][_0x522f11(0x1b5)][_0x522f11(0xf1)][_0x522f11(0x11d)](_0x3dfa76=>{const _0x10ef7d=_0x522f11;for(const _0x380a23 of this[_0x10ef7d(0x18d)][_0x10ef7d(0x19c)][_0x10ef7d(0xe5)][_0x10ef7d(0x205)]()){const _0x25d8f1=this[_0x10ef7d(0x18d)][_0x10ef7d(0x19c)][_0x10ef7d(0xe5)][_0x10ef7d(0x192)](_0x380a23),_0x5ece06=this[_0x10ef7d(0x18d)][_0x10ef7d(0x1b5)][_0x10ef7d(0xf1)][_0x10ef7d(0xe5)][_0x10ef7d(0x192)](_0x380a23);if(_0x5ece06){const _0x11019d=_0x25d8f1[_0x10ef7d(0x165)](_0x10ef7d(0x1af));if(_0x3dfa76[_0x10ef7d(0x209)](_0x10ef7d(0x128),_0x5ece06),_0x3dfa76[_0x10ef7d(0xd3)](_0x10ef7d(0x1e4),_0x5ece06),_0x3dfa76[_0x10ef7d(0xd3)](_0x10ef7d(0x1a2),_0x5ece06),_0x3dfa76[_0x10ef7d(0xd3)](_0x10ef7d(0x194),_0x5ece06),_0x11019d){const _0x57b74d=this[_0x10ef7d(0xe0)](_0x11019d);if(!_0x57b74d)return null;_0x3dfa76[_0x10ef7d(0xd1)](_0x10ef7d(0x128),_0x11019d,_0x5ece06),_0x3dfa76[_0x10ef7d(0xf6)](_0x10ef7d(0x18e)+_0x57b74d[_0x10ef7d(0x1e8)],_0x5ece06),this[_0x10ef7d(0x152)]==_0x57b74d&&_0x3dfa76[_0x10ef7d(0xf6)](_0x10ef7d(0x194),_0x5ece06);}}}});}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x20d))[_0x4d61c8(0x10e)]({'view':_0x4d61c8(0x166),'model':_0x483d97=>_0x4d61c8(0x1dd)+_0x483d97,'converterPriority':_0x4d61c8(0x20c)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x20d))[_0x4d61c8(0x10e)]({'view':_0x4d61c8(0xdf),'model':_0x527e38=>_0x4d61c8(0xcd)+_0x527e38,'converterPriority':_0x4d61c8(0x20c)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x132))[_0x4d61c8(0x15f)]({'model':_0x4d61c8(0xee),'view':_0x277c66=>({'name':_0x4d61c8(0xe8)+_0x277c66,'group':_0x4d61c8(0xee)}),'converterPriority':_0x4d61c8(0x20c)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x19d)][_0x4d61c8(0x178)](_0x4d61c8(0x117))[_0x4d61c8(0x180)]({'model':_0x4d61c8(0xee),'view':_0x390c66=>{const _0x132471=_0x4d61c8,_0x12e15a=_0x390c66[_0x132471(0x167)][_0x132471(0x1cd)](':')[0x1];return _0x132471(0x199)!=_0x12e15a&&_0x132471(0x1e6)!=_0x12e15a?null:{'classes':[_0x132471(0x1ca),_0x132471(0x158)+_0x12e15a]};}}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x1b5)][_0x4d61c8(0x1ed)]['on'](_0x4d61c8(0x162),et(this[_0x4d61c8(0x18d)],_0x4d61c8(0x1f4)),{'priority':_0x4d61c8(0x1c5)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x1b5)][_0x4d61c8(0x1ed)]['on'](_0x4d61c8(0x1ce),et(this[_0x4d61c8(0x18d)],_0x4d61c8(0x1cd)),{'priority':_0x4d61c8(0x1c5)}),this[_0x4d61c8(0x18d)][_0x4d61c8(0x1b5)][_0x4d61c8(0x1ed)]['on'](_0x4d61c8(0x1d0),(_0x27db6b,_0x37ec73,_0x227205)=>{const _0xceb28e=_0x4d61c8,_0x4d0bc0=_0x227205[_0xceb28e(0x126)][_0xceb28e(0x11e)](_0x37ec73[_0xceb28e(0x167)]);if(_0x4d0bc0){for(const _0x3f36b0 of _0x4d0bc0)_0x3f36b0['is'](_0xceb28e(0xf0))&&(_0x227205[_0xceb28e(0x126)][_0xceb28e(0x108)](_0x3f36b0,_0x37ec73[_0xceb28e(0x167)]),_0x227205[_0xceb28e(0x1be)][_0xceb28e(0x14a)](_0x3f36b0));}},{'priority':_0x4d61c8(0x1c5)});}[_0x2f871f(0xe0)](_0x472a2e){const _0x55b2a3=_0x2f871f;return this[_0x55b2a3(0x1b1)][_0x55b2a3(0x14c)](_0x472a2e);}[_0x2f871f(0x148)](_0x310e92){const _0x1bb2a6=_0x2f871f;return this[_0x1bb2a6(0x105)]&&this[_0x1bb2a6(0x105)][_0x1bb2a6(0x16c)](),this[_0x1bb2a6(0x105)]=new _0x1a677b(this[_0x1bb2a6(0x18d)][_0x1bb2a6(0x122)],_0x310e92),this[_0x1bb2a6(0x105)];}[_0x2f871f(0x156)](){const _0x3b2d38=_0x2f871f;this[_0x3b2d38(0x18d)][_0x3b2d38(0x19c)][_0x3b2d38(0xe5)][_0x3b2d38(0xfa)][_0x3b2d38(0xdb)](_0x3b2d38(0x1ab)),this['on'](_0x3b2d38(0x1cc),(_0x4acb68,_0x57caca,_0x26cb3a,_0x3a1527)=>{const _0x4e0733=_0x3b2d38;_0x3a1527&&this[_0x4e0733(0xc9)][_0x4e0733(0x14a)](_0x3a1527),_0x26cb3a&&(this[_0x4e0733(0xc9)][_0x4e0733(0xea)]({'view':_0x26cb3a,'stackId':_0x4e0733(0x100),'position':{'target':()=>{const _0x27dda4=_0x4e0733,_0x3a5ef3=this[_0x27dda4(0x18d)][_0x27dda4(0x1b5)],_0x5741ab=this[_0x27dda4(0xe0)](_0x26cb3a[_0x27dda4(0x12a)]);let _0x4dd146;if(_0x5741ab[_0x27dda4(0x188)][_0x27dda4(0x186)]){const _0x146335=_0x3a5ef3[_0x27dda4(0xf1)][_0x27dda4(0xdd)](_0x5741ab[_0x27dda4(0x123)]);_0x4dd146=Array[_0x27dda4(0x1e2)](_0x146335[_0x27dda4(0x1d1)]());}else{const _0x5ce875=this[_0x27dda4(0x18d)][_0x27dda4(0x19c)][_0x27dda4(0x171)][_0x27dda4(0x14c)](_0x27dda4(0x1c9)+_0x26cb3a[_0x27dda4(0x12a)]);_0x4dd146=Array[_0x27dda4(0x1e2)](_0x3a5ef3[_0x27dda4(0x126)][_0x27dda4(0x11e)](_0x5ce875[_0x27dda4(0x173)]))[_0x27dda4(0x15c)](_0x32d25a=>_0x3a5ef3[_0x27dda4(0xf1)][_0x27dda4(0x1f8)][_0x27dda4(0x1d5)](_0x32d25a))[_0x27dda4(0x15c)](_0x3fa842=>Array[_0x27dda4(0x1e2)](_0x3fa842[_0x27dda4(0x1d1)]()))[_0x27dda4(0x12c)]();}if(!this[_0x27dda4(0x142)])return _0x4dd146[0x0];return _0x4dd146[_0x27dda4(0x164)](_0x7fd66a=>_0x7fd66a[_0x27dda4(0xcf)]-0x3<=this[_0x27dda4(0x142)]['y']&&_0x7fd66a[_0x27dda4(0x1a6)]+0x3>=this[_0x27dda4(0x142)]['y']&&_0x7fd66a[_0x27dda4(0xd0)]-0x3<=this[_0x27dda4(0x142)]['x']&&_0x7fd66a[_0x27dda4(0xd2)]+0x3>=this[_0x27dda4(0x142)]['x'])||_0x4dd146[0x0];}}}),this[_0x4e0733(0xc9)][_0x4e0733(0x1a8)](_0x4e0733(0x100)));}),this['on'](_0x3b2d38(0x183),(_0x27ce4d,_0x3cc9b0,_0x3a4719,_0x67405f)=>{const _0x104535=_0x3b2d38;this[_0x104535(0x203)]=_0x3a4719?this[_0x104535(0x148)](_0x3a4719):null,this[_0x104535(0x18d)][_0x104535(0x19c)][_0x104535(0x11d)](()=>{const _0x507e48=_0x104535,_0x116bd2=this[_0x507e48(0x18d)][_0x507e48(0x1b5)];_0x67405f&&(_0x67405f[_0x507e48(0x188)][_0x507e48(0x186)]?_0x116bd2[_0x507e48(0xf1)][_0x507e48(0x11d)](_0x4949e5=>{const _0x3c5b6a=_0x507e48;_0x4949e5[_0x3c5b6a(0xd3)](_0x3c5b6a(0x194),_0x116bd2[_0x3c5b6a(0xf1)][_0x3c5b6a(0xe5)][_0x3c5b6a(0x192)](_0x67405f[_0x3c5b6a(0x123)]));}):_0x116bd2[_0x507e48(0x136)](_0x507e48(0x1c9)+_0x67405f['id'])),_0x3a4719&&(_0x3a4719[_0x507e48(0x188)][_0x507e48(0x186)]?_0x116bd2[_0x507e48(0xf1)][_0x507e48(0x11d)](_0x23dfec=>{const _0x362dfd=_0x507e48;_0x23dfec[_0x362dfd(0xf6)](_0x362dfd(0x194),_0x116bd2[_0x362dfd(0xf1)][_0x362dfd(0xe5)][_0x362dfd(0x192)](_0x3a4719[_0x362dfd(0x123)]));}):_0x116bd2[_0x507e48(0x136)](_0x507e48(0x1c9)+_0x3a4719['id']));});}),this[_0x3b2d38(0x17d)](this[_0x3b2d38(0x18d)][_0x3b2d38(0x1b5)][_0x3b2d38(0xf1)][_0x3b2d38(0xe5)],_0x3b2d38(0xfd),(_0x1ed6f5,_0x2c48cf)=>{const _0x144302=_0x3b2d38;if(this[_0x144302(0x152)])return;const _0x2723ba=this[_0x144302(0x1b4)](_0x2c48cf[_0x144302(0x120)]),_0x2b870c=this[_0x144302(0x1b1)][_0x144302(0x14c)](_0x2723ba);_0x2b870c?(this[_0x144302(0x142)]={'x':_0x2c48cf[_0x144302(0xd8)]['x'],'y':_0x2c48cf[_0x144302(0xd8)]['y']},this[_0x144302(0x203)]=this[_0x144302(0x148)](_0x2b870c)):(this[_0x144302(0x142)]=null,this[_0x144302(0x203)]=null);}),this[_0x3b2d38(0x17d)](this[_0x3b2d38(0x18d)][_0x3b2d38(0x1b5)][_0x3b2d38(0xf1)][_0x3b2d38(0xe5)],_0x3b2d38(0xe9),(_0x485d31,_0x3e9799)=>{const _0xe06040=_0x3b2d38,_0x511bf0=this[_0xe06040(0x1b4)](_0x3e9799[_0xe06040(0x120)]),_0x3ccd36=this[_0xe06040(0x1b1)][_0xe06040(0x14c)](_0x511bf0);_0x3ccd36?(this[_0xe06040(0x142)]={'x':_0x3e9799[_0xe06040(0xd8)]['x'],'y':_0x3e9799[_0xe06040(0xd8)]['y']},_0x3ccd36===this[_0xe06040(0x152)]?this[_0xe06040(0xc9)][_0xe06040(0x1b6)]():this[_0xe06040(0x152)]=_0x3ccd36):(this[_0xe06040(0x142)]=null,this[_0xe06040(0x152)]=null);});}[_0x2f871f(0x1b4)](_0x3def88){const _0x3c4634=_0x2f871f;do{const _0x521d14=_0x3def88[_0x3c4634(0x165)](_0x3c4634(0x128));if(_0x521d14)return _0x521d14;_0x3def88=_0x3def88[_0x3c4634(0xf8)];}while(_0x3def88);return null;}[_0x2f871f(0xc6)](){const _0x39ad7d=_0x2f871f;this[_0x39ad7d(0x18d)][_0x39ad7d(0x19c)][_0x39ad7d(0x11d)](_0x139894=>{const _0x41b781=_0x39ad7d;for(const _0x4115df of this[_0x41b781(0x18d)][_0x41b781(0x19c)][_0x41b781(0x171)])_0x139894[_0x41b781(0x140)](_0x4115df);});}}function et(_0x2ca2c0,_0x5429e6){return(_0x457cbb,_0x45bd6f,_0xf697f9)=>{const _0x57fa55=_0x4b8b;if(!_0xf697f9[_0x57fa55(0x17b)][_0x57fa55(0x131)](_0x45bd6f[_0x57fa55(0x1e1)],_0x457cbb[_0x57fa55(0x173)]))return;const _0x5bc598=_0x45bd6f[_0x57fa55(0x1e1)][_0x57fa55(0x1c6)](),_0x1ea6cf=_0x45bd6f[_0x57fa55(0x1e1)][_0x57fa55(0x208)],_0xf05a43=_0x2ca2c0[_0x57fa55(0x19c)][_0x57fa55(0xe3)];let _0x477c80=null,_0x23a904=null,_0x278bac=!0x1,_0x37ab6=!0x1;for(const _0x4b78f0 of _0x5bc598){const _0x5cadd6=_0x4b78f0[_0x57fa55(0x1bb)];_0x278bac=_0x278bac||_0xf05a43[_0x57fa55(0x1fa)](_0x5cadd6);const _0x4c7eee=_0xf697f9[_0x57fa55(0x126)][_0x57fa55(0x125)](_0x5cadd6);if(_0x4c7eee&&_0x4c7eee[_0x57fa55(0x103)](_0x57fa55(0x1b0)))return;_0x57fa55(0x147)==_0x4b78f0[_0x57fa55(0x1e8)]&&(_0xf05a43[_0x57fa55(0x154)](_0x5cadd6)&&!_0xf05a43[_0x57fa55(0x1e9)](_0x5cadd6)&&(_0x5cadd6[_0x57fa55(0x159)]||_0x1ea6cf[_0x57fa55(0xf5)]?_0x477c80&&_0x477c80[_0x57fa55(0xf8)]==_0x5cadd6||(_0x477c80=_0x5cadd6,_0x841764(_0x4b78f0[_0x57fa55(0x1e5)]),_0x37ab6=!0x0):_0x23a904=_0x23a904||_0x4b78f0[_0x57fa55(0x1e5)]));}function _0x841764(_0xd821b8){const _0x53e806=_0x57fa55,_0x144902=_0xf697f9[_0x53e806(0x126)][_0x53e806(0xe7)](_0xd821b8),_0xaf6a20=_0xf697f9[_0x53e806(0x1be)][_0x53e806(0x161)](_0x53e806(0x17f),{'class':_0x53e806(0x158)+_0x5429e6});_0xf697f9[_0x53e806(0x1be)][_0x53e806(0x15b)](_0x144902,_0xaf6a20),_0xf697f9[_0x53e806(0x126)][_0x53e806(0xfb)](_0xaf6a20,_0x45bd6f[_0x53e806(0x167)]);}_0x278bac||_0x37ab6||!_0x23a904||_0x841764(_0x23a904);};}export class RestoreRevisionCommand extends _0x3cfec1{constructor(_0x5c3b6b){const _0x36a64b=_0x2f871f;super(_0x5c3b6b);const _0xccc26d=_0x5c3b6b[_0x36a64b(0xe6)][_0x36a64b(0x14c)](d);this[_0x36a64b(0x1a1)]=!0x1,this[_0x36a64b(0x17d)](_0xccc26d,_0x36a64b(0x1b8),()=>this[_0x36a64b(0xc0)]()),this[_0x36a64b(0x17d)](_0xccc26d,_0x36a64b(0x1dc),()=>this[_0x36a64b(0xc0)]());}[_0x2f871f(0x1ad)](){const _0x580eb3=_0x2f871f,_0x48e385=this[_0x580eb3(0x18d)],_0x3aa2f4=_0x48e385[_0x580eb3(0xe6)][_0x580eb3(0x14c)](d),_0x220a04=_0x3aa2f4[_0x580eb3(0x155)]?_0x3aa2f4[_0x580eb3(0x1df)][_0x580eb3(0x1ef)]:null;_0x48e385[_0x580eb3(0x1bf)][_0x580eb3(0x14c)](_0x580eb3(0x130))[_0x580eb3(0x149)](_0x220a04);}[_0x2f871f(0xc0)](){const _0xf1524e=_0x2f871f,{isReady:_0x4ebd28,isEnabled:_0x2fd114}=this[_0xf1524e(0x18d)][_0xf1524e(0xe6)][_0xf1524e(0x14c)](d);this[_0xf1524e(0x176)]=_0x4ebd28&&_0x2fd114;}}export class ShowChangeCommand extends _0x3cfec1{constructor(_0x414219,{direction:_0x2408b1}){const _0x4f37ab=_0x2f871f;super(_0x414219);const _0x2954a2=_0x414219[_0x4f37ab(0xe6)][_0x4f37ab(0x14c)](d);this[_0x4f37ab(0x1a1)]=!0x1,this[_0x4f37ab(0x1d7)]=_0x4f37ab(0x114)===_0x2408b1?0x1:-0x1,this[_0x4f37ab(0x17d)](_0x2954a2,_0x4f37ab(0x1b8),()=>this[_0x4f37ab(0xc0)]()),this[_0x4f37ab(0x17d)](_0x2954a2,_0x4f37ab(0x1dc),()=>this[_0x4f37ab(0xc0)]()),this[_0x4f37ab(0x17d)](_0x2954a2,_0x4f37ab(0x183),()=>this[_0x4f37ab(0xc0)]());}[_0x2f871f(0x1ad)](){const _0x306498=_0x2f871f,_0x264158=this[_0x306498(0x18d)],_0x4cb338=_0x264158[_0x306498(0xe6)][_0x306498(0x14c)](d),{isNavigationMode:_0x212db8,currentChangeNumber:_0x2a6b3f}=_0x4cb338;let _0x39e8ec;if(_0x4cb338[_0x306498(0x152)]=_0x212db8?_0x4cb338[_0x306498(0x1df)][_0x306498(0x1db)][_0x306498(0x14c)](_0x2a6b3f+this[_0x306498(0x1d7)]):_0x4cb338[_0x306498(0x1df)][_0x306498(0x1db)][_0x306498(0xff)],_0x4cb338[_0x306498(0x152)][_0x306498(0x188)][_0x306498(0x186)])_0x39e8ec=_0x264158[_0x306498(0x1b5)][_0x306498(0xf1)][_0x306498(0xdd)](_0x4cb338[_0x306498(0x152)][_0x306498(0x123)]);else{const _0x5dc4ad=_0x264158[_0x306498(0x19c)][_0x306498(0x171)][_0x306498(0x14c)](_0x306498(0x1c9)+_0x4cb338[_0x306498(0x152)]['id']);_0x39e8ec=_0x118f0d(_0x264158[_0x306498(0x1b5)],_0x5dc4ad);}_0xd784eb({'target':_0x39e8ec,'viewportOffset':0x28});}[_0x2f871f(0xc0)](){const _0x317a03=_0x2f871f,{isNavigationMode:_0x25e9a9,currentChangeNumber:_0x52002f,numberOfChanges:_0xfa1002,isReady:_0x3725eb,isEnabled:_0xdb20f5}=this[_0x317a03(0x18d)][_0x317a03(0xe6)][_0x317a03(0x14c)](d);this[_0x317a03(0x176)]=!!(_0xdb20f5&&_0x3725eb&&_0xfa1002)&&(!_0x25e9a9||(0x1===this[_0x317a03(0x1d7)]?_0x52002f<_0xfa1002-0x1:_0x52002f>0x0));}}
|
|
23
|
+
const _0x31e91d=_0x5a64;(function(_0x5b1824,_0x51ed28){const _0x58fe01=_0x5a64,_0x33bf84=_0x5b1824();while(!![]){try{const _0x60751c=parseInt(_0x58fe01(0xb7))/0x1+parseInt(_0x58fe01(0x158))/0x2+parseInt(_0x58fe01(0x11e))/0x3+parseInt(_0x58fe01(0x1b1))/0x4+parseInt(_0x58fe01(0x1cc))/0x5*(parseInt(_0x58fe01(0x1a2))/0x6)+-parseInt(_0x58fe01(0x19d))/0x7+-parseInt(_0x58fe01(0x1e0))/0x8*(parseInt(_0x58fe01(0xd1))/0x9);if(_0x60751c===_0x51ed28)break;else _0x33bf84['push'](_0x33bf84['shift']());}catch(_0x370d69){_0x33bf84['push'](_0x33bf84['shift']());}}}(_0x3b49,0x99c42));import{Plugin as _0x332980,Command as _0x7735e4}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0xd94ad}from'ckeditor5/src/utils.js';function _0x5a64(_0xd853d5,_0x419f9c){const _0x3b4964=_0x3b49();return _0x5a64=function(_0x5a6427,_0x43f1c3){_0x5a6427=_0x5a6427-0x97;let _0x4b392a=_0x3b4964[_0x5a6427];return _0x4b392a;},_0x5a64(_0xd853d5,_0x419f9c);}import{ContextualBalloon as _0x107588}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2f5a90,Element as _0x132ca4,Text as _0x3f20ce,ViewDocumentFragment as _0x19808f,ViewText as _0x594a82,ViewElement as _0x520f70,ViewContainerElement as _0x246418,ViewAttributeElement as _0x39bb30,ViewEmptyElement as _0x1cc4be,ViewRawElement as _0x61977b,ViewUIElement as _0x858fa7}from'ckeditor5/src/engine.js';import{Users as _0x512985,getMarkerDomElement as _0x515964}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x6896da from'./ui/revisionviewer/changedetailsview.js';import _0x1e1a60 from'./revisionsrepository.js';function _0x3b49(){const _0x202fb0=['consume','getRevision','clear','_refreshStartEndIndex','changes','_step','212924VdrRkn','toViewElement','bind','ck-revision-history-root-','markerName','useFillerType','bindElementToMarker','_getViewForChange','target','createUIElement','addClass','viewItem','attributes','activeView','roots','userId','numberOfChanges','remove','revision-viewer','commands','createPositionBefore','_setDistance','span','change:numberOfChanges','pluginName','highest','type','attachChange','elementStart','restoreRevision','getAttributes','getRootNames','revisionHistoryAttachChange','isSuggestion','getItems','range','ck-suggestion-marker-merge','isBlock','addMarker:revision','isAtStart','createRevision','removeMarker:revision-suggestion','_makeTape','parent','refresh','execute','revision-start','isRemoved','getAttribute','setAttribute','default','_removeUnsupportedChanges','find','unshift','isIncorrect','RevisionViewer','mouseover','detachRoot','startIndex','ck-suggestion-marker-','removeAttribute','ck-suggestion-preview-marker','isReady','rootName','domEvent','data','addRevisionData','plugins','revisionHistoryLabel','8777818MuInnT','_setConversion','first','stop','RevisionsRepository','36EyjXQS','loadRevisionData','diffData','markers','insertion','level','nextSibling','-new','backward','activeChange','pop','isEnabled','high','markersStart','markersEnd','1297876mciCXb','_removeRevisionMarkers','config','includes','ck-revision-history-root--active','children','_removeMissingPairs','insert','POSITIVE_INFINITY','change:activeView','mousedown','_fixObsoleteTags','keys','isEqual','pairId','addRevision','text','WidgetToolbarRepository','isCollapsed','compare','vid_start','ck-suggestion-preview-marker-','_changeView','deletions','from','consumable','repository','679030EkImQG','isAttached','removeMarker:revision','conversion','_markMismatchedRemovedTags','_getViewObj','insertions','attribute:vid','endIndex','addMarker:revision-suggestion:insertion','nodeAfter','getRevisionRootsAttributes','side','dataToMarker','add','ck-revision-history-root-remove','newRevisionId','_getDiff','abs','model','8bOcbVv','catch','mapViewToDom','change','suggestion:','hasAttribute','_markSuggestions','getDomRoot','revision-suggestion','nextPosition','push','bottom','set','_cleanUp','toViewPosition','isBefore','data-revision-','_initInteractions','_markInsertions','modelRange','revision-suggestion:','_getChangeFromId','oldRevisionId','isContent','getIndex','editingDowncast','deletion','isAtEnd','right','editor','indexOf','all','_data','change:activeChange','isObject','domConverter','markerRange','1137640aBlQEP','changeId','_update','_balloon','revision','maxOffset','addHighlight','startsWith','findIndex','flat','index','forward','return','forceDisabled','authors','removeClass','ck-editor__editable__overlay','affectsData','error','isInline','_threeWayMerge','object','getClientRects','element','showPreviousChange','change:isEnabled','15477669lQtmns','view','_makeModelFromTape','length','processor','then','split','isAdded','elementEnd','toViewRange','removeMarker','_activeViewTarget','document','createAttributeElement','showNextChange','item','isNavigationMode','checkAttribute','ck-suggestion-marker--active','distance','wrap','_getRevisionsRange','dataDowncast','_processTape','forEach','splice','merge','_setChanges','concat','markerNameToElements','_sortAndFilterDiffChanges','ck-suggestion-marker','revision:','top','observeMarkers','_changeIdToChange','uiElement','next','values','attributesAfter','suggestion','downcastDispatcher','map','comment','selection','_findChangeIdFromDomTarget','diff','addMarker:revision-suggestion:deletion','vid_end','addRoot','element:pre','start','enqueueChange','upcast','_cleanMarkers','isRemoveSuggestion','ck-revision-history-root-add','softBreak','previousPosition','shift','hasClass','data-change-id','isAfter','test','revision-comment:','getChild','vid','requires','editing','delete','init','toData','for','sort','createRangeIn','destroy','marked','3660402hjVJHt','isAddSuggestion','currentChangeNumber','elementToAttribute','filter','getWalker','_appendChild','revisionHistory','isLimit','string','listenTo','markerToData','schema','done','enableReadOnlyMode','toModel','locale','revision-end','mapper','change:isReady','_revisions','attributesBefore','adapter','name','code','_joinTapes','getRoot','slice','left','reconvertMarker','get','collaboration.channelId','restoreRevisionCallback','_markMarkers','ck-suggestion-marker-split','markerToHighlight','isOnRoot','createRange','updatePosition','getRevisionData','parse','has','writer','low','showStack','_makeModelFromViewString','offsetSize','unbindElementFromMarkerName','end','resolve','getCustomProperty','createPositionFromPath'];_0x3b49=function(){return _0x202fb0;};return _0x3b49();}import _0x268d2b from'./changeitem.js';import{default as _0x53e7ea}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x2975ae}from'lodash-es';const tt={'c':_0x246418,'a':_0x39bb30,'e':_0x1cc4be,'r':_0x61977b,'u':_0x858fa7};export default class d extends _0x332980{static get[_0x31e91d(0x170)](){const _0x4c3973=_0x31e91d;return _0x4c3973(0x18f);}static get[_0x31e91d(0x114)](){return[_0x512985,_0x107588,_0x1e1a60];}constructor(_0x21714d){const _0x3ef0c6=_0x31e91d;super(_0x21714d),this[_0x3ef0c6(0x1cb)]=this[_0x3ef0c6(0xaf)][_0x3ef0c6(0x19b)][_0x3ef0c6(0x13c)](_0x3ef0c6(0x1a1)),this[_0x3ef0c6(0x9e)](_0x3ef0c6(0x1ab),null),this[_0x3ef0c6(0x9e)](_0x3ef0c6(0x165),null),this[_0x3ef0c6(0xdc)]=null,this[_0x3ef0c6(0x9e)](_0x3ef0c6(0xff),null),this[_0x3ef0c6(0x9e)](_0x3ef0c6(0x196),!0x1),this[_0x3ef0c6(0x9e)](_0x3ef0c6(0x1ad),!0x0),this['on'](_0x3ef0c6(0xd0),(_0x3458ac,_0x4adfd9,_0x3a0e53)=>{const _0x466346=_0x3ef0c6;this[_0x466346(0x1ab)]=null,this[_0x466346(0x165)]=null,this[_0x466346(0xaf)][_0x466346(0x115)][_0x466346(0xd2)][_0x466346(0x1e3)](_0x364564=>{const _0x590012=_0x466346;for(const _0x527c32 of this[_0x590012(0xaf)][_0x590012(0x115)][_0x590012(0xd2)][_0x590012(0xdd)][_0x590012(0x166)])_0x3a0e53?_0x364564[_0x590012(0xc6)](_0x590012(0xc7),_0x527c32):_0x364564[_0x590012(0x162)](_0x590012(0xc7),_0x527c32);});}),this[_0x3ef0c6(0x15a)](_0x3ef0c6(0xe1))['to'](this,_0x3ef0c6(0x1ab),_0x5a7e4e=>null!==_0x5a7e4e),this[_0x3ef0c6(0x15a)](_0x3ef0c6(0x120))['to'](this,_0x3ef0c6(0x196),this,_0x3ef0c6(0xff),this,_0x3ef0c6(0x1ab),(_0x585cc6,_0x127ec7,_0x201ff1)=>_0x585cc6&&_0x201ff1?_0x127ec7[_0x3ef0c6(0x156)][_0x3ef0c6(0xaa)](_0x201ff1):0x0),this[_0x3ef0c6(0x15a)](_0x3ef0c6(0x168))['to'](this,_0x3ef0c6(0x196),this,_0x3ef0c6(0xff),(_0xa311b7,_0x54002d)=>_0xa311b7?_0x54002d[_0x3ef0c6(0x156)][_0x3ef0c6(0xd4)]:0x0),this[_0x3ef0c6(0x1c7)]=null,this[_0x3ef0c6(0xf4)]=new Map(),this[_0x3ef0c6(0x134)]=null,this[_0x3ef0c6(0xba)]=this[_0x3ef0c6(0xaf)][_0x3ef0c6(0x19b)][_0x3ef0c6(0x13c)](_0x107588);}[_0x31e91d(0x117)](){const _0x1018db=_0x31e91d,_0x49a21b=this[_0x1018db(0xaf)],_0x37ae49=new ShowChangeCommand(_0x49a21b,{'direction':_0x1018db(0x1aa)}),_0x17857e=new ShowChangeCommand(_0x49a21b,{'direction':_0x1018db(0xc2)});(_0x49a21b[_0x1018db(0x16b)][_0x1018db(0x1da)](_0x1018db(0xcf),_0x37ae49),_0x49a21b[_0x1018db(0x16b)][_0x1018db(0x1da)](_0x1018db(0xdf),_0x17857e),_0x49a21b[_0x1018db(0x16b)][_0x1018db(0x1da)](_0x1018db(0x175),new RestoreRevisionCommand(_0x49a21b)),this['on'](_0x1018db(0x16f),()=>{const _0x285e97=_0x1018db;_0x37ae49[_0x285e97(0x184)](),_0x17857e[_0x285e97(0x184)]();}),this[_0x1018db(0x19e)](),this[_0x1018db(0xa3)](),_0x49a21b[_0x1018db(0x12c)](_0x1018db(0x16a)),_0x49a21b[_0x1018db(0x19b)][_0x1018db(0x147)](_0x1018db(0x1c2)))&&_0x49a21b[_0x1018db(0x19b)][_0x1018db(0x13c)](_0x1018db(0x1c2))[_0x1018db(0xc4)](_0x1018db(0x16a));}async[_0x31e91d(0x145)](_0x97c81d){const _0x30d3d6=_0x31e91d;await this[_0x30d3d6(0x1a3)](_0x97c81d);const _0x198db8={};for(const _0x576b73 in _0x97c81d[_0x30d3d6(0x1a4)]){if(_0x97c81d[_0x30d3d6(0x1a4)][_0x576b73][_0x30d3d6(0x173)]&&!_0x97c81d[_0x30d3d6(0x1a4)][_0x576b73][_0x30d3d6(0x173)][_0x30d3d6(0x1cd)])continue;const _0xd42709=this[_0x30d3d6(0x1b2)](JSON[_0x30d3d6(0x146)](_0x97c81d[_0x30d3d6(0x1a4)][_0x576b73][_0x30d3d6(0x1d2)])),_0x333970=this[_0x30d3d6(0xaf)][_0x30d3d6(0x115)][_0x30d3d6(0xd2)][_0x30d3d6(0xdd)],_0x14a478=new _0x19808f(_0x333970,_0xd42709[_0x30d3d6(0xfb)](_0x53b683=>this[_0x30d3d6(0x1d1)](_0x53b683)));this[_0x30d3d6(0xaf)][_0x30d3d6(0x199)][_0x30d3d6(0xd5)][_0x30d3d6(0x15d)](_0x30d3d6(0x11d)),_0x198db8[_0x576b73]=this[_0x30d3d6(0xaf)][_0x30d3d6(0x199)][_0x30d3d6(0xd5)][_0x30d3d6(0x118)](_0x14a478),this[_0x30d3d6(0xaf)][_0x30d3d6(0x199)][_0x30d3d6(0xd5)][_0x30d3d6(0x15d)](_0x30d3d6(0x18a));}return _0x198db8;}async[_0x31e91d(0x1d7)](_0x3cfc96){const _0x1cd4fb=_0x31e91d;await this[_0x1cd4fb(0x1a3)](_0x3cfc96);const _0x707dc={};for(const _0x3bf42e in _0x3cfc96[_0x1cd4fb(0x1a4)])_0x3cfc96[_0x1cd4fb(0x1a4)][_0x3bf42e][_0x1cd4fb(0x173)]&&!_0x3cfc96[_0x1cd4fb(0x1a4)][_0x3bf42e][_0x1cd4fb(0x173)][_0x1cd4fb(0x1cd)]||(_0x707dc[_0x3bf42e]=_0x3cfc96[_0x1cd4fb(0x1a4)][_0x3bf42e][_0x1cd4fb(0xf8)]||{});return _0x707dc;}[_0x31e91d(0x1b2)](_0x564c8b){const _0x428c5a=_0x31e91d;return(_0x564c8b=_0x564c8b[_0x428c5a(0x122)](_0x9e4e3=>!_0x9e4e3[_0x428c5a(0x135)]||_0x428c5a(0x186)!==_0x9e4e3[_0x428c5a(0x135)]&&_0x428c5a(0x12f)!==_0x9e4e3[_0x428c5a(0x135)]))[_0x428c5a(0xe9)](_0x3449e7=>{const _0x430aa6=_0x428c5a;_0x430aa6(0x127)!=typeof _0x3449e7&&(_0x3449e7[_0x430aa6(0x1b6)]=this[_0x430aa6(0x1b2)](_0x3449e7[_0x430aa6(0x1b6)]),_0x3449e7[_0x430aa6(0x164)]=_0x3449e7[_0x430aa6(0x164)][_0x430aa6(0x122)](_0x384a5e=>!_0x384a5e[0x0][_0x430aa6(0xbe)](_0x430aa6(0xa2))));}),_0x564c8b;}async[_0x31e91d(0x1c4)](_0x54c1f4,_0x2fed65,_0x21b4d5=!0x1){const _0xc18765=_0x31e91d;if(!this[_0xc18765(0x1ad)])return;const _0x231564=this[_0xc18765(0xff)],_0x118f15=this[_0xc18765(0x1cb)],_0x4c9129=_0xc18765(0x127)==typeof _0x54c1f4?_0x118f15[_0xc18765(0x153)](_0x54c1f4):_0x54c1f4,_0x58c98a=_0xc18765(0x127)==typeof _0x2fed65?_0x118f15[_0xc18765(0x153)](_0x2fed65):_0x2fed65,_0x3d9c30=_0x4c9129['id'],_0x539bc2=_0x58c98a?_0x58c98a['id']:null;if(!_0x21b4d5&&this[_0xc18765(0xff)]&&this[_0xc18765(0xff)][_0xc18765(0x1dc)]===_0x3d9c30&&this[_0xc18765(0xff)][_0xc18765(0xa8)]===_0x539bc2)return Promise[_0xc18765(0x14f)]();this[_0xc18765(0x196)]=!0x1,this[_0xc18765(0x165)]=null,this[_0xc18765(0x1ab)]=null,this[_0xc18765(0xff)]=new _0x53e7ea(_0x3d9c30,_0x539bc2);const _0xc2df35=this[_0xc18765(0xe6)](_0x4c9129,_0x58c98a,!0x0)[_0xc18765(0xfb)](_0x1f2e33=>this[_0xc18765(0x1a3)](_0x1f2e33));return _0xc2df35[_0xc18765(0x9c)](new Promise(_0x297bb3=>{setTimeout(_0x297bb3,0x14);})),Promise[_0xc18765(0xb1)](_0xc2df35)[_0xc18765(0xd6)](()=>{const _0x10bceb=_0xc18765;if(!this[_0x10bceb(0x1ad)])return;this[_0x10bceb(0x9f)]();const _0x3cd44a=this[_0x10bceb(0x1dd)](_0x3d9c30,_0x539bc2);for(const _0x40b031 of _0x3cd44a[_0x10bceb(0x156)])this[_0x10bceb(0xf4)][_0x10bceb(0x9e)](_0x40b031['id'],_0x40b031);this[_0x10bceb(0xaf)][_0x10bceb(0x1df)][_0x10bceb(0x105)]({'isUndoable':!0x1},_0x418143=>{const _0x55bdd5=_0x10bceb;for(const _0x12c531 of this[_0x55bdd5(0xaf)][_0x55bdd5(0x1df)][_0x55bdd5(0xdd)][_0x55bdd5(0x177)]())_0x418143[_0x55bdd5(0x191)](_0x12c531);for(const _0x3cafa7 of Object[_0x55bdd5(0x1bd)](_0x3cd44a[_0x55bdd5(0x1df)])){const _0x533d9a=_0x418143[_0x55bdd5(0x102)](_0x3cafa7);for(const _0x40d97a of Object[_0x55bdd5(0x1bd)](_0x3cd44a[_0x55bdd5(0x164)][_0x3cafa7]))_0x418143[_0x55bdd5(0x189)](_0x40d97a,_0x3cd44a[_0x55bdd5(0x164)][_0x3cafa7][_0x40d97a],_0x533d9a);_0x418143[_0x55bdd5(0x1b8)](_0x3cd44a[_0x55bdd5(0x1df)][_0x3cafa7],_0x533d9a,0x0);}}),this[_0x10bceb(0xff)][_0x10bceb(0xec)](this[_0x10bceb(0xef)](_0x3cd44a[_0x10bceb(0x156)])),this[_0x10bceb(0x196)]=!0x0;})[_0xc18765(0x1e1)](_0x202218=>{const _0x483b4a=_0xc18765;console[_0x483b4a(0xc9)](_0x202218),this[_0x483b4a(0x9f)](),_0x231564&&(this[_0x483b4a(0xff)]=_0x231564),this[_0x483b4a(0x196)]=!0x0;});}[_0x31e91d(0x19a)](_0x2e55cf,_0x57a0be){const _0x48215c=_0x31e91d,_0x4d5853=this[_0x48215c(0x1cb)][_0x48215c(0x180)](_0x2e55cf);return _0x4d5853['on'](_0x48215c(0xb9),(_0x3490f0,_0x4b7340,_0x4e0481)=>_0x57a0be(_0x4b7340,_0x4e0481,_0x4d5853)),this[_0x48215c(0x1cb)][_0x48215c(0x1c0)](_0x4d5853),_0x4d5853;}[_0x31e91d(0x1a3)](_0x2b6b33){const _0x387bbb=_0x31e91d;if(!_0x2b6b33||_0x2b6b33[_0x387bbb(0x1a4)])return Promise[_0x387bbb(0x14f)]();{const _0x2d368e=this[_0x387bbb(0xaf)][_0x387bbb(0x1b3)][_0x387bbb(0x13c)](_0x387bbb(0x13d));return this[_0x387bbb(0x134)][_0x387bbb(0x153)]({'channelId':_0x2d368e,'revisionId':_0x2b6b33['id']})[_0x387bbb(0xd6)](_0x47eeb3=>{const _0x155cdc=_0x387bbb;_0x2b6b33[_0x155cdc(0xb9)]({'diffData':_0x47eeb3[_0x155cdc(0x1a4)]},!0x0);});}}[_0x31e91d(0x9f)](){const _0x418162=_0x31e91d;this[_0x418162(0x1ab)]=null,this[_0x418162(0x107)](),this[_0x418162(0x1c7)]&&this[_0x418162(0x1c7)][_0x418162(0x11c)](),this[_0x418162(0x1c7)]=null,this[_0x418162(0xf4)][_0x418162(0x154)](),this[_0x418162(0xaf)][_0x418162(0x1df)][_0x418162(0x105)]({'isUndoable':!0x1},_0x251b8e=>{const _0x4ff9ea=_0x418162;for(const _0x1f753d of this[_0x4ff9ea(0xaf)][_0x4ff9ea(0x1df)][_0x4ff9ea(0xdd)][_0x4ff9ea(0x177)]())_0x251b8e[_0x4ff9ea(0x191)](_0x1f753d);});}[_0x31e91d(0xef)](_0x1ce44c){const _0x21ea8c=_0x31e91d,_0xa98529=[],_0x3bbe43=new Map();for(const _0x1f884f of this[_0x21ea8c(0xaf)][_0x21ea8c(0x1df)][_0x21ea8c(0xdd)][_0x21ea8c(0x177)]()){const _0x4e1820=this[_0x21ea8c(0xaf)][_0x21ea8c(0x115)][_0x21ea8c(0xd2)][_0x21ea8c(0x99)](_0x1f884f);if(!_0x4e1820)continue;const _0x818fd2=_0x4e1820[_0x21ea8c(0xcd)]()[_0x21ea8c(0xe0)](0x0);_0x818fd2&&(_0xa98529[_0x21ea8c(0x9c)](_0x1f884f),_0x3bbe43[_0x21ea8c(0x9e)](_0x1f884f,_0x818fd2));}return _0xa98529[_0x21ea8c(0x11a)]((_0x3599ef,_0x196161)=>{const _0x4f8ac2=_0x21ea8c,_0x36b455=_0x3bbe43[_0x4f8ac2(0x13c)](_0x3599ef),_0x55cae8=_0x3bbe43[_0x4f8ac2(0x13c)](_0x196161);return _0x36b455['y']-_0x55cae8['y']||_0x36b455['x']-_0x55cae8['x'];}),(_0x1ce44c=_0x1ce44c[_0x21ea8c(0x122)](_0x55bd7d=>_0xa98529[_0x21ea8c(0x1b4)](_0x55bd7d[_0x21ea8c(0x197)])))[_0x21ea8c(0x11a)]((_0x4a7c37,_0x281586)=>_0xa98529[_0x21ea8c(0xb0)](_0x4a7c37[_0x21ea8c(0x197)])-_0xa98529[_0x21ea8c(0xb0)](_0x281586[_0x21ea8c(0x197)])),_0x1ce44c;}[_0x31e91d(0x182)](_0x108ba8){const _0x1a0071=_0x31e91d,_0x33b153=Array[_0x1a0071(0x1c9)](_0x108ba8[_0x1a0071(0x1a5)])[_0x1a0071(0x122)](([_0xe752ca,_0x196d2d])=>_0xe752ca[_0x1a0071(0xbe)](_0x1a0071(0xf1))&&!_0x196d2d[_0x1a0071(0x1c3)]),_0x1d3bf0=Array[_0x1a0071(0x1c9)](this[_0x1a0071(0xaf)][_0x1a0071(0x1df)][_0x1a0071(0x11b)](_0x108ba8)[_0x1a0071(0x123)]({'singleCharacters':!0x0}));if(0x0!=_0x33b153[_0x1a0071(0xd4)])for(const _0x8f5133 of _0x1d3bf0){const [_0x53d237,_0x5cc519]=_0x33b153[0x0],[,_0x1ea218,_0x18a820]=_0x53d237[_0x1a0071(0xd7)](':');if(_0x5cc519[_0x1a0071(0x14e)][_0x1a0071(0x1be)](_0x8f5133[_0x1a0071(0x9b)])&&_0x33b153[_0x1a0071(0x10c)](),(_0x8f5133[_0x1a0071(0x10b)][_0x1a0071(0x1be)](_0x5cc519[_0x1a0071(0x104)])||_0x8f5133[_0x1a0071(0x10b)][_0x1a0071(0x10f)](_0x5cc519[_0x1a0071(0x104)]))&&(_0x1a0071(0x1a6)==_0x1ea218?_0x8f5133[_0x1a0071(0xd8)]={'userId':_0x18a820}:_0x1a0071(0xac)==_0x1ea218&&(_0x8f5133[_0x1a0071(0x187)]={'userId':_0x18a820})),0x0==_0x33b153[_0x1a0071(0xd4)])break;}return _0x1d3bf0;}[_0x31e91d(0x155)](_0x54b1d7){const _0x372b08=_0x31e91d,_0x2a52a0=new Map();for(let _0x1b3f87=0x0;_0x1b3f87<_0x54b1d7[_0x372b08(0xd4)];_0x1b3f87++)_0x372b08(0x1c1)===_0x54b1d7[_0x1b3f87][_0x372b08(0x172)]?(_0x54b1d7[_0x1b3f87][_0x372b08(0xe0)][_0x372b08(0x192)]=_0x1b3f87,_0x54b1d7[_0x1b3f87][_0x372b08(0xe0)][_0x372b08(0x1d4)]=_0x1b3f87):(_0x372b08(0x174)===_0x54b1d7[_0x1b3f87][_0x372b08(0x172)]?_0x54b1d7[_0x1b3f87][_0x372b08(0xe0)][_0x372b08(0x192)]=_0x1b3f87:_0x372b08(0xd9)===_0x54b1d7[_0x1b3f87][_0x372b08(0x172)]&&(_0x54b1d7[_0x1b3f87][_0x372b08(0xe0)][_0x372b08(0x1d4)]=_0x1b3f87),_0x2a52a0[_0x372b08(0x9e)](_0x54b1d7[_0x1b3f87]['id'],_0x1b3f87));for(const _0x2d3783 of _0x2a52a0[_0x372b08(0xf7)]())_0x372b08(0x174)===_0x54b1d7[_0x2d3783][_0x372b08(0x172)]?_0x54b1d7[_0x2d3783][_0x372b08(0xe0)][_0x372b08(0x1d4)]=_0x2a52a0[_0x372b08(0x13c)](_0x54b1d7[_0x2d3783][_0x372b08(0x1bf)]):_0x372b08(0xd9)===_0x54b1d7[_0x2d3783][_0x372b08(0x172)]&&(_0x54b1d7[_0x2d3783][_0x372b08(0xe0)][_0x372b08(0x192)]=_0x2a52a0[_0x372b08(0x13c)](_0x54b1d7[_0x2d3783][_0x372b08(0x1bf)]));}[_0x31e91d(0xe8)](_0x564a3d){const _0x2f2221=_0x31e91d;for(let _0x2609eb=0x0;_0x2609eb<_0x564a3d[_0x2f2221(0xd4)];_0x2609eb++){if(_0x2f2221(0x174)===_0x564a3d[_0x2609eb][_0x2f2221(0x172)])_0x564a3d[_0x2609eb][_0x2f2221(0xe0)][_0x2f2221(0x192)]=_0x2609eb;else{if(_0x2f2221(0xd9)===_0x564a3d[_0x2609eb][_0x2f2221(0x172)]){_0x564a3d[_0x2609eb][_0x2f2221(0xe0)][_0x2f2221(0x1d4)]=_0x2609eb;const _0x3b825d=_0x564a3d[_0x2609eb][_0x2f2221(0xe0)][_0x2f2221(0x192)];_0x564a3d[_0x3b825d][_0x2f2221(0x1bf)]=_0x564a3d[_0x2609eb]['id'],_0x564a3d[_0x2609eb][_0x2f2221(0x1bf)]=_0x564a3d[_0x3b825d]['id'];}else _0x564a3d[_0x2609eb][_0x2f2221(0xe0)][_0x2f2221(0x192)]=_0x2609eb,_0x564a3d[_0x2609eb][_0x2f2221(0xe0)][_0x2f2221(0x1d4)]=_0x2609eb,_0x564a3d[_0x2609eb][_0x2f2221(0x1bf)]=null;}_0x564a3d[_0x2609eb][_0x2f2221(0x1af)]||(_0x564a3d[_0x2609eb][_0x2f2221(0x1af)]=[],_0x564a3d[_0x2609eb][_0x2f2221(0x1b0)]=[]);}}[_0x31e91d(0xa4)](_0x190f47,_0x5e5603){const _0x2cfc10=_0x31e91d,_0x12445b=_0x190f47[_0x2cfc10(0x122)](_0x448bba=>!_0x448bba[_0x2cfc10(0xd8)]);for(let _0x10c559=0x0;_0x10c559<_0x5e5603[_0x2cfc10(0xd4)];_0x10c559++)_0x5e5603[_0x10c559][_0x2cfc10(0xd8)]&&(_0x12445b[_0x10c559][_0x2cfc10(0xd8)]=_0x5e5603[_0x10c559][_0x2cfc10(0xd8)]);}[_0x31e91d(0x14b)](_0x15ad4b){const _0x1c406d=_0x31e91d,_0x30161b=JSON[_0x1c406d(0x146)](_0x15ad4b),_0x19ecc7=this[_0x1c406d(0xaf)][_0x1c406d(0x115)][_0x1c406d(0xd2)][_0x1c406d(0xdd)],_0x365853=new _0x19808f(_0x19ecc7,_0x30161b[_0x1c406d(0xfb)](_0x8ddfa=>this[_0x1c406d(0x1d1)](_0x8ddfa)));return this[_0x1c406d(0xaf)][_0x1c406d(0x199)][_0x1c406d(0x12d)](_0x365853);}[_0x31e91d(0x1d1)](_0x12dc13){const _0x15f9d2=_0x31e91d,_0x231fd9=this[_0x15f9d2(0xaf)][_0x15f9d2(0x115)][_0x15f9d2(0xd2)][_0x15f9d2(0xdd)];if(_0x15f9d2(0x127)==typeof _0x12dc13)return new _0x594a82(_0x231fd9,_0x12dc13);{const _0x7414aa=_0x12dc13[_0x15f9d2(0x1b6)][_0x15f9d2(0xfb)](_0x73fbdd=>this[_0x15f9d2(0x1d1)](_0x73fbdd));return new(tt[_0x12dc13[(_0x15f9d2(0x172))]]||_0x520f70)(_0x231fd9,_0x12dc13[_0x15f9d2(0x135)],_0x12dc13[_0x15f9d2(0x164)],_0x7414aa);}}[_0x31e91d(0x1dd)](_0x38db7a,_0x18b20a=null){const _0x5afe8f=_0x31e91d,_0x174d7a=this[_0x5afe8f(0x1cb)][_0x5afe8f(0x153)](_0x38db7a),_0x24af8a=_0x18b20a?this[_0x5afe8f(0x1cb)][_0x5afe8f(0x153)](_0x18b20a):null,_0x35495d=this[_0x5afe8f(0xe6)](_0x174d7a,_0x24af8a),_0x27d25d=_0x35495d[_0x35495d[_0x5afe8f(0xd4)]-0x1],_0x34b21e=new Map(),_0x104008={'model':{},'attributes':{},'changes':[]},_0x598d31=new Set(),_0x12804b=new Map();for(let _0x5340a8=_0x35495d[_0x5afe8f(0xd4)]-0x1;_0x5340a8>=0x0;_0x5340a8--){const _0x417af0=_0x35495d[_0x5340a8];for(const _0x5c3b12 of Object[_0x5afe8f(0x1bd)](_0x417af0[_0x5afe8f(0x1a4)]))if(_0x417af0[_0x5afe8f(0x1a4)][_0x5c3b12][_0x5afe8f(0x173)]){const _0x4cafbf=_0x417af0[_0x5afe8f(0x1a4)][_0x5c3b12][_0x5afe8f(0x173)];_0x4cafbf[_0x5afe8f(0x1cd)]?(_0x598d31[_0x5afe8f(0x1da)](_0x5c3b12),_0x12804b[_0x5afe8f(0x147)](_0x5c3b12)&&_0x12804b[_0x5afe8f(0x13c)](_0x5c3b12)[_0x5afe8f(0x167)]==_0x4cafbf[_0x5afe8f(0x167)]?_0x12804b[_0x5afe8f(0x116)](_0x5c3b12):_0x12804b[_0x5afe8f(0x9e)](_0x5c3b12,_0x4cafbf)):_0x12804b[_0x5afe8f(0x147)](_0x5c3b12)?(_0x598d31[_0x5afe8f(0x116)](_0x5c3b12),_0x12804b[_0x5afe8f(0x116)](_0x5c3b12)):(_0x598d31[_0x5afe8f(0x1da)](_0x5c3b12),_0x12804b[_0x5afe8f(0x9e)](_0x5c3b12,_0x4cafbf));}else _0x598d31[_0x5afe8f(0x1da)](_0x5c3b12);}for(const _0x77b2c8 of _0x598d31){const _0x37723c=_0x12804b[_0x5afe8f(0x147)](_0x77b2c8)&&!_0x12804b[_0x5afe8f(0x13c)](_0x77b2c8)[_0x5afe8f(0x1cd)];let _0x332d13=_0x37723c?_0x35495d[_0x5afe8f(0xd4)]-0x1:0x0;const _0x4ad887=_0x37723c?-0x1:0x1;for(;_0x35495d[_0x332d13];){const _0x1310c3=_0x35495d[_0x332d13];if(_0x1310c3[_0x5afe8f(0x1a4)][_0x77b2c8]){const _0x6bfbb9=_0x37723c?_0x1310c3[_0x5afe8f(0x1a4)][_0x77b2c8][_0x5afe8f(0x133)]:_0x1310c3[_0x5afe8f(0x1a4)][_0x77b2c8][_0x5afe8f(0xf8)];_0x104008[_0x5afe8f(0x164)][_0x77b2c8]=_0x6bfbb9?_0x2975ae(_0x6bfbb9):{};break;}_0x332d13+=_0x4ad887;}}for(const _0x11f5d6 of _0x35495d){_0x11f5d6[_0x5afe8f(0x1df)]={};for(const _0x324538 of _0x11f5d6[_0x5afe8f(0xc5)])_0x34b21e[_0x5afe8f(0x9e)](_0x324538['id'],_0x324538);for(const _0x369d2c of _0x598d31){const _0x42aff0=_0x11f5d6[_0x5afe8f(0x1a4)][_0x369d2c]?_0x11f5d6[_0x5afe8f(0x1a4)][_0x369d2c][_0x5afe8f(0x1d2)]:'[]',_0x570fec=_0x11f5d6[_0x5afe8f(0x1a4)][_0x369d2c]?_0x11f5d6[_0x5afe8f(0x1a4)][_0x369d2c][_0x5afe8f(0x1c8)]:'[]';_0x11f5d6[_0x5afe8f(0x1df)][_0x369d2c]={'insertions':this[_0x5afe8f(0x14b)](_0x42aff0),'deletions':this[_0x5afe8f(0x14b)](_0x570fec)};}}for(const _0x343e8c of _0x598d31){let _0xcafdd7=null,_0x3a2e6f=0x0;const _0x6079d0=new Map(Array[_0x5afe8f(0x1c9)](_0x174d7a[_0x5afe8f(0x1df)][_0x343e8c][_0x5afe8f(0x1d2)][_0x5afe8f(0x1a5)])[_0x5afe8f(0x122)](([_0x8fd3db])=>!_0x8fd3db[_0x5afe8f(0xbe)](_0x5afe8f(0xf1))));let _0x4b82b1=0x0;for(const _0x1e05c7 of _0x35495d){const _0x306aa5=this[_0x5afe8f(0x182)](_0x1e05c7[_0x5afe8f(0x1df)][_0x343e8c][_0x5afe8f(0x1d2)]);_0x1e05c7==_0x174d7a?(_0xcafdd7=_0x306aa5,_0x3a2e6f=_0xcafdd7[_0x5afe8f(0xd4)],_0xcafdd7[_0x5afe8f(0xe9)](_0x1993d4=>{_0x1993d4['id']=_0x4b82b1++;}),this[_0x5afe8f(0xe8)](_0xcafdd7)):this[_0x5afe8f(0xa4)](_0xcafdd7,_0x306aa5);const _0x5a134f=_0xcafdd7[_0x5afe8f(0x122)](_0x35c204=>!_0x35c204[_0x5afe8f(0xd8)])[_0x5afe8f(0xfb)](_0x5db771=>_0x5db771['id']);let _0x5076d0=0x0;const _0x1c809c=this[_0x5afe8f(0x182)](_0x1e05c7[_0x5afe8f(0x1df)][_0x343e8c][_0x5afe8f(0x1c8)]);_0x1c809c[_0x5afe8f(0xe9)](_0x44cc4e=>{const _0x4cfe43=_0x5afe8f;_0x44cc4e[_0x4cfe43(0x187)]?_0x44cc4e['id']=_0x3a2e6f++:_0x44cc4e['id']=_0x5a134f[_0x5076d0++];}),this[_0x5afe8f(0xe8)](_0x1c809c),this[_0x5afe8f(0x16d)](_0xcafdd7,_0x5afe8f(0xd8)),this[_0x5afe8f(0x16d)](_0x1c809c,_0x5afe8f(0x187)),_0x1e05c7==_0x174d7a&&this[_0x5afe8f(0x13f)](_0xcafdd7,_0x6079d0),_0xcafdd7=this[_0x5afe8f(0x137)](_0xcafdd7,_0x1c809c),this[_0x5afe8f(0x155)](_0xcafdd7),this[_0x5afe8f(0x16d)](_0xcafdd7,_0x5afe8f(0x187));}_0xcafdd7=_0xcafdd7[_0x5afe8f(0x122)](_0x5736f1=>!(_0x5736f1[_0x5afe8f(0xd8)]&&_0x5736f1[_0x5afe8f(0x187)]));const _0x5ec07f=new Map(_0x27d25d[_0x5afe8f(0x1df)][_0x343e8c][_0x5afe8f(0x1c8)][_0x5afe8f(0x1a5)]),_0x4cc2db=new Set(_0x6079d0[_0x5afe8f(0x1bd)]());for(const _0x168f32 of _0x5ec07f[_0x5afe8f(0x1bd)]())_0x4cc2db[_0x5afe8f(0x116)](_0x168f32);this[_0x5afe8f(0x98)](_0xcafdd7,_0x4cc2db),this[_0x5afe8f(0x1bc)](_0xcafdd7),_0xcafdd7=this[_0x5afe8f(0x1b7)](_0xcafdd7),_0xcafdd7=this[_0x5afe8f(0x1d0)](_0xcafdd7),_0xcafdd7=this[_0x5afe8f(0x18b)](_0xcafdd7);const {root:_0x2deed4,changes:_0x153576}=this[_0x5afe8f(0xd3)](_0xcafdd7,_0x34b21e,_0x343e8c);_0x104008[_0x5afe8f(0x1df)][_0x343e8c]=_0x2deed4;const _0x3e8c5d=_0x12804b[_0x5afe8f(0x13c)](_0x343e8c);if(_0x3e8c5d){const _0x436d45=_0x34b21e[_0x5afe8f(0x13c)](_0x3e8c5d[_0x5afe8f(0x167)]),_0x509746=new _0x268d2b({'author':_0x436d45,'type':_0x3e8c5d[_0x5afe8f(0x1cd)]?_0x5afe8f(0x1da):_0x5afe8f(0x169),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x343e8c});_0x153576[_0x5afe8f(0x18d)](_0x509746),_0x104008[_0x5afe8f(0x164)][_0x343e8c][_0x5afe8f(0x178)]=_0x509746['id'];}_0x104008[_0x5afe8f(0x156)]=_0x104008[_0x5afe8f(0x156)][_0x5afe8f(0xed)](_0x153576);}return _0x104008;}[_0x31e91d(0x13f)](_0x11b7b6,_0x5f1718){const _0x2e3ee0=_0x31e91d;for(let _0x17b555=0x0;_0x17b555<_0x11b7b6[_0x2e3ee0(0xd4)];_0x17b555++)for(const [_0xd5045d,_0x1ca67c]of _0x5f1718)_0x1ca67c[_0x2e3ee0(0x104)][_0x2e3ee0(0x1be)](_0x11b7b6[_0x17b555][_0x2e3ee0(0x10b)])&&_0x11b7b6[_0x17b555][_0x2e3ee0(0x1af)][_0x2e3ee0(0x9c)](_0xd5045d),_0x1ca67c[_0x2e3ee0(0x14e)][_0x2e3ee0(0x1be)](_0x11b7b6[_0x17b555][_0x2e3ee0(0x9b)])&&_0x11b7b6[_0x17b555][_0x2e3ee0(0x1b0)][_0x2e3ee0(0x9c)](_0xd5045d);}[_0x31e91d(0x137)](_0x79d621,_0x32655e){const _0x53c208=_0x31e91d;let _0x3c923c=[],_0x49d43b=0x0,_0x597397=0x0;for(;_0x49d43b<_0x79d621[_0x53c208(0xd4)]||_0x597397<_0x32655e[_0x53c208(0xd4)];){const _0xb829d=_0x79d621[_0x49d43b]||{},_0x1b60f5=_0x32655e[_0x597397]||{};if(_0xb829d['id']==_0x1b60f5['id'])_0x49d43b++,_0x597397++,_0x3c923c[_0x53c208(0x9c)](_0xb829d);else{if(_0x1b60f5[_0x53c208(0x187)]&&_0xb829d[_0x53c208(0xd8)]){const {commonTape:_0x134d7d,iEnd:_0x5a2ce9,jEnd:_0x2f41b2}=this[_0x53c208(0xcb)](_0x79d621,_0x49d43b,_0x32655e,_0x597397);_0x3c923c=_0x3c923c[_0x53c208(0xed)](_0x134d7d),_0x49d43b=_0x5a2ce9,_0x597397=_0x2f41b2;}else _0x1b60f5[_0x53c208(0x187)]?(_0x597397++,_0x3c923c[_0x53c208(0x9c)](_0x1b60f5)):(_0x49d43b++,_0x3c923c[_0x53c208(0x9c)](_0xb829d));}}return _0x3c923c;}[_0x31e91d(0x98)](_0xbe57d6,_0x160547){const _0x5c7914=_0x31e91d,_0x3c9d9e=[];for(let _0x58a48f=0x0;_0x58a48f<_0xbe57d6[_0x5c7914(0xd4)];_0x58a48f++){for(let _0xcd021a=0x0;_0xcd021a<_0xbe57d6[_0x58a48f][_0x5c7914(0x1af)][_0x5c7914(0xd4)];_0xcd021a++){const _0x7719d2=_0xbe57d6[_0x58a48f][_0x5c7914(0x1af)][_0xcd021a];if(!_0x160547[_0x5c7914(0x147)](_0x7719d2))continue;const {group:_0x322ac8,type:_0x481a36,authorId:_0x3fb622}=_0x2f1821(_0x7719d2);_0x5c7914(0x9a)!=_0x322ac8||_0x5c7914(0x1a6)!=_0x481a36&&_0x5c7914(0xac)!=_0x481a36||(_0x3c9d9e[_0x5c7914(0x18d)]({'type':_0x481a36,'name':_0x7719d2,'userId':_0x3fb622}),_0xbe57d6[_0x58a48f][_0x5c7914(0x1af)][_0x5c7914(0xea)](_0xcd021a,0x1),_0xcd021a--);}_0x5547d5(_0xbe57d6[_0x58a48f]);for(let _0xd0c10a=0x0;_0xd0c10a<_0xbe57d6[_0x58a48f][_0x5c7914(0x1b0)][_0x5c7914(0xd4)];_0xd0c10a++){const _0x32c443=_0xbe57d6[_0x58a48f][_0x5c7914(0x1b0)][_0xd0c10a];if(!_0x160547[_0x5c7914(0x147)](_0x32c443))continue;const {group:_0x2a6670,type:_0x5e6ee5}=_0x2f1821(_0x32c443);if(_0x5c7914(0x9a)!=_0x2a6670||_0x5c7914(0x1a6)!=_0x5e6ee5&&_0x5c7914(0xac)!=_0x5e6ee5)continue;_0xbe57d6[_0x58a48f][_0x5c7914(0x1b0)][_0x5c7914(0xea)](_0xd0c10a,0x1),_0xd0c10a--;const _0x9e1477=_0x3c9d9e[_0x5c7914(0xbf)](_0x52aa06=>_0x52aa06[_0x5c7914(0x135)]==_0x32c443);_0x9e1477>-0x1&&_0x3c9d9e[_0x5c7914(0xea)](_0x9e1477,0x1);}}function _0x2f1821(_0x3a0b48){const _0x73efe5=_0x5c7914,_0x311500=_0x3a0b48[_0x73efe5(0xd7)](':');return{'group':_0x311500[0x0],'type':_0x311500[0x1],'subType':_0x311500[_0x73efe5(0xd4)]>=0x5?_0x311500[0x2]:null,'id':_0x311500[_0x73efe5(0xd4)]<0x5?_0x311500[0x2]:_0x311500[0x3],'authorId':_0x311500[_0x73efe5(0xd4)]<0x5?_0x311500[0x3]:_0x311500[0x4],'markerCount':0x6==_0x311500[_0x73efe5(0xd4)]?_0x311500[0x5]:null};}function _0x5547d5(_0x4e8d6b){const _0x3cfae3=_0x5c7914;for(let _0x347fa6=0x0;_0x347fa6<_0x3c9d9e[_0x3cfae3(0xd4)];_0x347fa6++){if(_0x4e8d6b[_0x3cfae3(0xd8)]&&_0x3cfae3(0x1a6)==_0x3c9d9e[_0x347fa6][_0x3cfae3(0x172)])return _0x4e8d6b[_0x3cfae3(0x11f)]=_0x3c9d9e[_0x347fa6],void delete _0x4e8d6b[_0x3cfae3(0xd8)];if(!_0x4e8d6b[_0x3cfae3(0xd8)]&&!_0x4e8d6b[_0x3cfae3(0x187)]&&_0x3cfae3(0xac)==_0x3c9d9e[_0x347fa6][_0x3cfae3(0x172)])return void(_0x4e8d6b[_0x3cfae3(0x108)]=_0x3c9d9e[_0x347fa6]);}}}[_0x31e91d(0x16d)](_0x1b7170,_0x5385bf){const _0xc5bd8=_0x31e91d;let _0x54eb7e=0x0,_0x504e21=!0x1;const _0x1805f1=new Map();for(const _0x2fd600 of _0x1b7170)_0x2fd600[_0x5385bf]?_0x504e21&&(_0x54eb7e++,_0x504e21=!0x1):(_0x54eb7e++,_0x504e21=!0x0),_0x1805f1[_0xc5bd8(0x9e)](_0x2fd600['id'],_0x54eb7e);for(let _0x568310=0x0;_0x568310<_0x1b7170[_0xc5bd8(0xd4)];_0x568310++){if(_0xc5bd8(0x187)==_0x5385bf&&_0x1b7170[_0x568310][_0xc5bd8(0xd8)]||_0xc5bd8(0xd8)==_0x5385bf&&_0x1b7170[_0x568310][_0xc5bd8(0x187)])continue;if(_0xc5bd8(0x1c1)==_0x1b7170[_0x568310][_0xc5bd8(0x172)]){_0x1b7170[_0x568310][_0xc5bd8(0xe4)]=0x0;continue;}const _0x947d92=_0x1805f1[_0xc5bd8(0x13c)](_0x1b7170[_0x568310][_0xc5bd8(0x1bf)]),_0x392453=_0x1805f1[_0xc5bd8(0x13c)](_0x1b7170[_0x568310]['id']);_0x1b7170[_0x568310][_0xc5bd8(0xe4)]=_0x947d92-_0x392453;}}[_0x31e91d(0xe6)](_0x46f25b,_0x58b709,_0x1e7655=!0x1){const _0x8560d1=_0x31e91d,_0x5f392f=[];let _0x1ffe43=this[_0x8560d1(0x1cb)][_0x8560d1(0xaa)](_0x46f25b),_0x66aabb=this[_0x8560d1(0x1cb)][_0x8560d1(0xaa)](_0x58b709);for(-0x1==_0x66aabb&&(_0x66aabb=this[_0x8560d1(0x1cb)][_0x8560d1(0x132)][_0x8560d1(0xd4)],_0x1e7655=!0x1);_0x1ffe43<_0x66aabb;)_0x5f392f[_0x8560d1(0x9c)](this[_0x8560d1(0x1cb)][_0x8560d1(0x153)](_0x1ffe43)),_0x1ffe43++;return _0x1e7655&&_0x5f392f[_0x8560d1(0x9c)](this[_0x8560d1(0x1cb)][_0x8560d1(0x153)](_0x1ffe43)),_0x5f392f;}[_0x31e91d(0xcb)](_0x3e095c,_0x137138,_0x48a371,_0x5dc573){const _0x3ecf46=_0x31e91d,_0x3babd7=this[_0x3ecf46(0xaf)][_0x3ecf46(0x1df)][_0x3ecf46(0x12a)];let _0x52ae03=_0x137138;for(;_0x3e095c[_0x52ae03]&&_0x3e095c[_0x52ae03][_0x3ecf46(0xd8)];)_0x52ae03++;let _0x3218bd=_0x5dc573;for(;_0x48a371[_0x3218bd]&&_0x48a371[_0x3218bd][_0x3ecf46(0x187)];)_0x3218bd++;_0x44c314(_0x3e095c,_0x137138,_0x52ae03),_0x44c314(_0x48a371,_0x5dc573,_0x3218bd);const _0x27349c=_0x48a371[_0x3ecf46(0x139)](_0x5dc573,_0x3218bd)[_0x3ecf46(0xed)](_0x3e095c[_0x3ecf46(0x139)](_0x137138,_0x52ae03));return _0x27349c[_0x3ecf46(0x11a)]((_0x273dc6,_0x343933)=>_0x273dc6[_0x3ecf46(0x1d8)]!=_0x343933[_0x3ecf46(0x1d8)]?_0x273dc6[_0x3ecf46(0x1d8)]-_0x343933[_0x3ecf46(0x1d8)]:_0x273dc6[_0x3ecf46(0x1a7)]!=_0x343933[_0x3ecf46(0x1a7)]?_0x273dc6[_0x3ecf46(0x1a7)]-_0x343933[_0x3ecf46(0x1a7)]:_0x273dc6[_0x3ecf46(0xe4)]!=_0x343933[_0x3ecf46(0xe4)]?_0x343933[_0x3ecf46(0xe4)]-_0x273dc6[_0x3ecf46(0xe4)]:!!_0x273dc6[_0x3ecf46(0xd8)]!=!!_0x343933[_0x3ecf46(0xd8)]?-0x1==_0x273dc6[_0x3ecf46(0x1d8)]||0x0==_0x273dc6[_0x3ecf46(0x1d8)]?_0x273dc6[_0x3ecf46(0xd8)]?-0x1:0x1:_0x273dc6[_0x3ecf46(0xd8)]?0x1:-0x1:_0x273dc6[_0x3ecf46(0xc1)]-_0x343933[_0x3ecf46(0xc1)]),{'commonTape':_0x27349c,'iEnd':_0x52ae03,'jEnd':_0x3218bd};function _0x44c314(_0x504648,_0x7bd37b,_0x2e7075){const _0x5cafbd=_0x3ecf46;let _0xc3b5e7=-0x1,_0x58e7b3=Number[_0x5cafbd(0x1b9)],_0x253a90=!0x0;for(let _0x1f1275=_0x7bd37b;_0x1f1275<_0x2e7075;_0x1f1275++)if(_0x3babd7[_0x5cafbd(0xca)](_0x504648[_0x1f1275][_0x5cafbd(0xe0)])||(_0x253a90=!0x1),_0x504648[_0x1f1275][_0x5cafbd(0xe0)][_0x5cafbd(0x192)]<_0x7bd37b&&(_0xc3b5e7=_0x1f1275),_0x504648[_0x1f1275][_0x5cafbd(0xe0)][_0x5cafbd(0x1d4)]>=_0x2e7075){_0x58e7b3=_0x1f1275;break;}_0x253a90&&(_0xc3b5e7=_0x2e7075-0x1);for(let _0x45e027=_0x7bd37b;_0x45e027<_0x2e7075;_0x45e027++)_0x504648[_0x45e027][_0x5cafbd(0x1d8)]=_0x45e027<=_0xc3b5e7?-0x1:_0x45e027<_0x58e7b3?0x0:0x1,_0x504648[_0x45e027][_0x5cafbd(0xc1)]=_0x45e027;let _0x595155=0x0;for(let _0x3a0fce=_0x7bd37b;_0x3a0fce<=_0xc3b5e7;_0x3a0fce++)0x0==_0x504648[_0x3a0fce][_0x5cafbd(0xe4)]?_0x504648[_0x3a0fce][_0x5cafbd(0x1a7)]=_0x595155:(_0x595155++,_0x504648[_0x3a0fce][_0x5cafbd(0x1a7)]=_0x595155,_0x595155++);for(let _0x15223d=_0x7bd37b;_0x15223d<_0x2e7075;_0x15223d++)0x0==_0x504648[_0x15223d][_0x5cafbd(0x1d8)]&&(_0x504648[_0x15223d][_0x5cafbd(0x1a7)]=_0x595155);_0x595155=0x0;for(let _0x5319f8=_0x2e7075-0x1;_0x5319f8>=_0x58e7b3;_0x5319f8--)0x0==_0x504648[_0x5319f8][_0x5cafbd(0xe4)]?_0x504648[_0x5319f8][_0x5cafbd(0x1a7)]=_0x595155:(_0x595155--,_0x504648[_0x5319f8][_0x5cafbd(0x1a7)]=_0x595155,_0x595155--);}}[_0x31e91d(0x1bc)](_0x1a432d){const _0x73609e=_0x31e91d,_0xb2c93a=new Map(),_0x2b8344=this[_0x73609e(0xaf)][_0x73609e(0x1df)][_0x73609e(0x12a)];for(let _0x42a7f4=0x1;_0x42a7f4<_0x1a432d[_0x73609e(0xd4)];_0x42a7f4++){let _0x1f5b1a,_0x4ab95e,_0x1777fb;const _0x3dc883=_0x1a432d[_0x42a7f4],_0xef6f05=_0x1a432d[_0x42a7f4-0x1];if(_0x73609e(0x1c1)==_0x3dc883[_0x73609e(0x172)])continue;if(_0x3dc883[_0x73609e(0x172)]!=_0xef6f05[_0x73609e(0x172)])continue;if(!_0x2b8344[_0x73609e(0x17d)](_0xef6f05[_0x73609e(0xe0)])||_0x2b8344[_0x73609e(0x126)](_0xef6f05[_0x73609e(0xe0)]))continue;if(!_0x2b8344[_0x73609e(0x17d)](_0x3dc883[_0x73609e(0xe0)])||_0x2b8344[_0x73609e(0x126)](_0x3dc883[_0x73609e(0xe0)]))continue;if((_0x1a432d[_0x42a7f4][_0x73609e(0xd8)]||_0x1a432d[_0x42a7f4][_0x73609e(0x11f)])&&_0x1a432d[_0x42a7f4-0x1][_0x73609e(0x187)])_0x1f5b1a=_0x1a432d[_0x42a7f4],_0x4ab95e=_0x1a432d[_0x42a7f4-0x1],_0x1777fb=_0x42a7f4-0x1;else{if(!_0x1a432d[_0x42a7f4][_0x73609e(0x187)]||!_0x1a432d[_0x42a7f4-0x1][_0x73609e(0xd8)]&&!_0x1a432d[_0x42a7f4-0x1][_0x73609e(0x11f)])continue;_0x1f5b1a=_0x1a432d[_0x42a7f4-0x1],_0x4ab95e=_0x1a432d[_0x42a7f4],_0x1777fb=_0x42a7f4;}const _0x3e5dc9=_0x1f5b1a[_0x73609e(0x1a7)]==_0x4ab95e[_0x73609e(0x1a7)],_0x14f0ca=Math[_0x73609e(0x1de)](_0x1f5b1a[_0x73609e(0x1a7)])<Math[_0x73609e(0x1de)](_0x4ab95e[_0x73609e(0x1a7)])&&0x0==_0x4ab95e[_0x73609e(0xe4)];(_0x3e5dc9||_0x14f0ca)&&(_0xb2c93a[_0x73609e(0x9e)](_0x4ab95e['id'],_0x1f5b1a['id']),_0x1a432d[_0x73609e(0xea)](_0x1777fb,0x1),_0x42a7f4--,_0x1f5b1a[_0x73609e(0xd8)]=!0x1);}for(let _0x1c654c=0x0;_0x1c654c<_0x1a432d[_0x73609e(0xd4)];_0x1c654c++)_0xb2c93a[_0x73609e(0x147)](_0x1a432d[_0x1c654c][_0x73609e(0x1bf)])&&(_0x1a432d[_0x1c654c][_0x73609e(0x1bf)]=_0xb2c93a[_0x73609e(0x13c)](_0x1a432d[_0x1c654c][_0x73609e(0x1bf)]));}[_0x31e91d(0x1b7)](_0x40940b){const _0x1ad205=_0x31e91d,_0x5432c4=new Set(_0x40940b[_0x1ad205(0xfb)](_0x3f1053=>_0x3f1053['id']));for(let _0x1a39ac=0x0;_0x1a39ac<_0x40940b[_0x1ad205(0xd4)];_0x1a39ac++)_0x5432c4[_0x1ad205(0x147)](_0x40940b[_0x1a39ac][_0x1ad205(0x1bf)])||0x0==_0x40940b[_0x1a39ac][_0x1ad205(0xe4)]||(_0x40940b[_0x1a39ac][_0x1ad205(0x18e)]=!0x0);return _0x40940b[_0x1ad205(0x122)](_0x10b4db=>!_0x10b4db[_0x1ad205(0x18e)]);}[_0x31e91d(0x1d0)](_0x302cb6){const _0x59bbc7=_0x31e91d,_0x226553=new Set();for(let _0x232f27=0x0;_0x232f27<_0x302cb6[_0x59bbc7(0xd4)];_0x232f27++){if(_0x226553[_0x59bbc7(0x147)](_0x302cb6[_0x232f27]['id'])&&_0x302cb6[_0x232f27][_0x59bbc7(0x187)]&&(_0x302cb6[_0x232f27][_0x59bbc7(0x18e)]=!0x0),_0x302cb6[_0x232f27][_0x59bbc7(0x18e)])continue;if(0x0==_0x302cb6[_0x232f27][_0x59bbc7(0xe4)])continue;if(_0x59bbc7(0x174)!=_0x302cb6[_0x232f27][_0x59bbc7(0x172)])continue;if(null==_0x302cb6[_0x232f27][_0x59bbc7(0x1bf)])continue;let _0x4de6ac=_0x232f27+0x1,_0x116315=0x0;for(;_0x302cb6[_0x4de6ac]['id']!=_0x302cb6[_0x232f27][_0x59bbc7(0x1bf)];)_0x59bbc7(0x174)==_0x302cb6[_0x4de6ac][_0x59bbc7(0x172)]?_0x116315++:_0x59bbc7(0xd9)==_0x302cb6[_0x4de6ac][_0x59bbc7(0x172)]&&_0x116315--,_0x4de6ac++;if(0x0!=_0x116315){if(_0x302cb6[_0x232f27][_0x59bbc7(0x187)])_0x302cb6[_0x232f27][_0x59bbc7(0x18e)]=!0x0;else{for(;_0x4de6ac!=_0x232f27;)_0x302cb6[_0x4de6ac][_0x59bbc7(0x187)]&&0x0!=_0x302cb6[_0x4de6ac][_0x59bbc7(0xe4)]&&(_0x302cb6[_0x4de6ac][_0x59bbc7(0x18e)]=!0x0,_0x226553[_0x59bbc7(0x1da)](_0x302cb6[_0x4de6ac][_0x59bbc7(0x1bf)])),_0x4de6ac--;}}}return _0x302cb6[_0x59bbc7(0x122)](_0x578784=>!_0x578784[_0x59bbc7(0x18e)]);}[_0x31e91d(0x18b)](_0x13c99d){const _0x233108=_0x31e91d,_0x4cd2fd=this[_0x233108(0xaf)][_0x233108(0x1df)][_0x233108(0x12a)];for(let _0x34f9f2=0x0;_0x34f9f2<_0x13c99d[_0x233108(0xd4)];_0x34f9f2++){if(!(_0x13c99d[_0x34f9f2][_0x233108(0xd8)]||_0x13c99d[_0x34f9f2][_0x233108(0x11f)]||_0x13c99d[_0x34f9f2][_0x233108(0x187)]||_0x13c99d[_0x34f9f2][_0x233108(0x108)]))continue;if(0x0==_0x13c99d[_0x34f9f2][_0x233108(0xe4)])continue;const _0x37efbf=_0x13c99d[_0x34f9f2][_0x233108(0xe0)];_0x4cd2fd[_0x233108(0x17d)](_0x37efbf)||_0x4cd2fd[_0x233108(0x126)](_0x37efbf)||(_0x13c99d[_0x34f9f2][_0x233108(0xd8)]&&delete _0x13c99d[_0x34f9f2][_0x233108(0xd8)],_0x13c99d[_0x34f9f2][_0x233108(0x11f)]&&delete _0x13c99d[_0x34f9f2][_0x233108(0x11f)],_0x13c99d[_0x34f9f2][_0x233108(0x108)]&&delete _0x13c99d[_0x34f9f2][_0x233108(0x108)],_0x13c99d[_0x34f9f2][_0x233108(0x187)]&&(_0x13c99d[_0x34f9f2][_0x233108(0x18e)]=!0x0));}return _0x13c99d[_0x233108(0x122)](_0x76f0f4=>!_0x76f0f4[_0x233108(0x18e)]);}[_0x31e91d(0xd3)](_0x3152e0,_0x5f4acb,_0xe8773){const _0x4a24c4=_0x31e91d,_0x336990=new _0x2f5a90(),_0x2e72ad=[],_0x4317ed=new Map(),_0x3c68ec=this[_0x4a24c4(0xaf)][_0x4a24c4(0x1df)],_0x501637=_0x3c68ec[_0x4a24c4(0x12a)],_0x5f496b=[_0x336990],_0x3b4ff1={},_0x49ddc7={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3b47cb=null;const _0x131ad0=[0x0];for(let _0x24d937=0x0;_0x24d937<_0x3152e0[_0x4a24c4(0xd4)];_0x24d937++){let _0x57c3e6,_0x3e0970;if(_0x4a24c4(0x174)===_0x3152e0[_0x24d937][_0x4a24c4(0x172)]){_0x57c3e6=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0);const _0x114438=new _0x132ca4(_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x135)],_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x176)]());_0x5f496b[0x0][_0x4a24c4(0x124)](_0x114438),_0x131ad0[_0x4a24c4(0x9c)](0x0),_0x5f496b[_0x4a24c4(0x18d)](_0x114438),_0x3e0970=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0),_0x3b47cb=null;}else{if(_0x4a24c4(0xd9)===_0x3152e0[_0x24d937][_0x4a24c4(0x172)])_0x5f496b[_0x4a24c4(0x10c)](),_0x57c3e6=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0),_0x131ad0[_0x4a24c4(0x1ac)](),_0x131ad0[_0x131ad0[_0x4a24c4(0xd4)]-0x1]++,_0x3e0970=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0),_0x3b47cb=null;else{if(_0x57c3e6=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0),_0x3b47cb&&_0x2f72df(_0x3b47cb,_0x3152e0[_0x24d937][_0x4a24c4(0xe0)]))_0x3b47cb[_0x4a24c4(0xb2)]+=_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x199)];else{const _0x34e17b=new _0x3f20ce(_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x199)],_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x176)]());_0x5f496b[0x0][_0x4a24c4(0x124)](_0x34e17b),_0x3b47cb=_0x34e17b;}_0x131ad0[_0x131ad0[_0x4a24c4(0xd4)]-0x1]+=_0x3152e0[_0x24d937][_0x4a24c4(0xe0)][_0x4a24c4(0x14c)],_0x3e0970=_0x3c68ec[_0x4a24c4(0x151)](_0x336990,_0x131ad0);}}for(const _0x2b364b of _0x3152e0[_0x24d937][_0x4a24c4(0x1af)])_0x4317ed[_0x4a24c4(0x9e)](_0x2b364b,{'start':_0x57c3e6,'end':null});_0x216055(_0x4a24c4(0x108),_0x24d937,_0x57c3e6,_0x3e0970),_0x216055(_0x4a24c4(0x11f),_0x24d937,_0x57c3e6,_0x3e0970),_0x216055(_0x4a24c4(0x187),_0x24d937,_0x57c3e6,_0x3e0970),_0x216055(_0x4a24c4(0xd8),_0x24d937,_0x57c3e6,_0x3e0970);for(const _0x528005 of _0x3152e0[_0x24d937][_0x4a24c4(0x1b0)]){_0x4317ed[_0x4a24c4(0x13c)](_0x528005)[_0x4a24c4(0x14e)]=_0x3e0970;}}for(const [_0x5c5fdb,_0x2b2625]of _0x4317ed){const _0x29654b=this[_0x4a24c4(0xaf)][_0x4a24c4(0x1df)][_0x4a24c4(0x143)](_0x2b2625[_0x4a24c4(0x104)],_0x2b2625[_0x4a24c4(0x14e)]);_0x336990[_0x4a24c4(0x1a5)][_0x4a24c4(0x9e)](_0x5c5fdb,_0x29654b);}return _0x2e72ad[_0x4a24c4(0x11a)]((_0x35b1f7,_0x50451e)=>{const _0x4a5775=_0x4a24c4,_0x4b0d95=_0x336990[_0x4a5775(0x1a5)][_0x4a5775(0x13c)](_0x4a5775(0xf1)+_0x35b1f7['id']),_0x5a0357=_0x336990[_0x4a5775(0x1a5)][_0x4a5775(0x13c)](_0x4a5775(0xf1)+_0x50451e['id']);return _0x4b0d95[_0x4a5775(0x104)][_0x4a5775(0xa1)](_0x5a0357[_0x4a5775(0x104)])?-0x1:_0x4b0d95[_0x4a5775(0x104)][_0x4a5775(0x10f)](_0x5a0357[_0x4a5775(0x104)])?0x1:_0x4b0d95[_0x4a5775(0x14e)][_0x4a5775(0xa1)](_0x5a0357[_0x4a5775(0x14e)])?-0x1:_0x4b0d95[_0x4a5775(0x14e)][_0x4a5775(0x10f)](_0x5a0357[_0x4a5775(0x14e)])?0x1:_0x4a5775(0x1da)===_0x35b1f7[_0x4a5775(0x172)]?-0x1:0x1;}),{'root':_0x336990,'changes':_0x2e72ad};function _0x216055(_0x178062,_0xb9d313,_0x56fb90,_0x4d53f6){const _0x1ba015=_0x4a24c4,_0x154df6=!!_0x3152e0[_0xb9d313][_0x178062],_0x58c91b=_0x154df6?_0x3152e0[_0xb9d313][_0x178062][_0x1ba015(0x167)]:null,_0x586733=_0xb9d313===_0x3152e0[_0x1ba015(0xd4)]-0x1,_0x19ff64=_0x49ddc7[_0x178062][0x0],_0x1e8e7e=_0x501637[_0x1ba015(0xb4)](_0x3152e0[_0xb9d313][_0x1ba015(0xe0)]);!_0x3b4ff1[_0x178062]&&_0x154df6?_0x3b4ff1[_0x178062]={'start':_0x56fb90,'tapeItem':_0x3152e0[_0xb9d313],'userId':_0x58c91b,'type':_0x178062}:_0x3b4ff1[_0x178062]&&!_0x154df6?(_0x3b4ff1[_0x178062][_0x1ba015(0x14e)]=_0x56fb90,_0x4a7ded(_0x3b4ff1[_0x178062]),_0x3b4ff1[_0x178062]=null):_0x3b4ff1[_0x178062]&&_0x154df6&&_0x3b4ff1[_0x178062][_0x1ba015(0x167)]!==_0x58c91b&&(_0x3b4ff1[_0x178062][_0x1ba015(0x14e)]=_0x56fb90,_0x19ff64&&_0x19ff64[_0x1ba015(0x167)]===_0x3b4ff1[_0x178062][_0x1ba015(0x167)]||_0x4a7ded(_0x3b4ff1[_0x178062]),_0x3b4ff1[_0x178062]={'start':_0x56fb90,'tapeItem':_0x3152e0[_0xb9d313],'userId':_0x58c91b,'type':_0x178062}),_0x3b4ff1[_0x178062]&&_0x1e8e7e&&(_0x1ba015(0x174)!==_0x3152e0[_0xb9d313][_0x1ba015(0x172)]||_0x19ff64&&_0x19ff64[_0x1ba015(0x167)]===_0x58c91b||_0x49ddc7[_0x178062][_0x1ba015(0x18d)]({'userId':_0x58c91b,'object':_0x3152e0[_0xb9d313][_0x1ba015(0xe0)],'change':_0x3b4ff1[_0x178062]}),_0x1ba015(0xd9)===_0x3152e0[_0xb9d313][_0x1ba015(0x172)]&&_0x19ff64&&_0x19ff64[_0x1ba015(0xcc)]===_0x3152e0[_0xb9d313][_0x1ba015(0xe0)]&&(_0x49ddc7[_0x178062][_0x1ba015(0x10c)](),_0x3b4ff1[_0x178062]=_0x19ff64[_0x1ba015(0x1e3)])),_0x3b4ff1[_0x178062]&&_0x586733&&(_0x3b4ff1[_0x178062][_0x1ba015(0x14e)]=_0x4d53f6,_0x4a7ded(_0x3b4ff1[_0x178062]),_0x3b4ff1[_0x178062]=null);}function _0x4a7ded({start:_0x592829,end:_0x1e76a7,tapeItem:_0x125b90,userId:_0x20efa0,type:_0x2f8545}){const _0xf97e1f=_0x4a24c4,_0x3beb0d=_0x125b90[_0xf97e1f(0xe0)],_0x20a4b5=_0x3c68ec[_0xf97e1f(0x12a)][_0xf97e1f(0x17d)](_0x3beb0d)&&!_0x3c68ec[_0xf97e1f(0x12a)][_0xf97e1f(0x126)](_0x3beb0d),_0x299256=_0x592829[_0xf97e1f(0x1d6)]==_0x1e76a7[_0xf97e1f(0x183)]&&_0x1e76a7[_0xf97e1f(0x17f)];if(_0x20a4b5&&_0x299256)return;const _0x4993c6=_0x3c68ec[_0xf97e1f(0x143)](_0x592829,_0x1e76a7),_0x371106=_0x5f4acb[_0xf97e1f(0x13c)](_0x20efa0),_0x46f604=new _0x268d2b({'author':_0x371106,'type':_0xf97e1f(0xd8)==_0x2f8545||_0xf97e1f(0x11f)==_0x2f8545?_0xf97e1f(0x1da):_0xf97e1f(0x169),'data':{'isSuggestion':_0xf97e1f(0x11f)==_0x2f8545||_0xf97e1f(0x108)==_0x2f8545},'createdAt':new Date(),'rootName':_0xe8773});_0x2e72ad[_0xf97e1f(0x9c)](_0x46f604),_0x336990[_0xf97e1f(0x1a5)][_0xf97e1f(0x9e)](_0xf97e1f(0xf1)+_0x46f604['id'],_0x4993c6);}function _0x2f72df(_0x1a238f,_0x48c124){const _0x4c16e4=_0x4a24c4,_0x4c35d1=_0x1a238f[_0x4c16e4(0x176)](),_0x3c7797=_0x48c124[_0x4c16e4(0x176)]();for(const _0x4b05a8 of _0x4c35d1){if(_0x4b05a8[0x1]!==_0x48c124[_0x4c16e4(0x188)](_0x4b05a8[0x0]))return!0x1;_0x3c7797[_0x4c16e4(0xf6)]();}return _0x3c7797[_0x4c16e4(0xf6)]()[_0x4c16e4(0x12b)];}}[_0x31e91d(0x19e)](){const _0x14c48a=_0x31e91d;this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x1d9)]({'view':_0x14c48a(0xbb)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0xab))[_0x14c48a(0x141)]({'model':_0x14c48a(0xbb),'view':_0x430fb6=>{const _0x3c84a6=_0x14c48a,_0x526b77=_0x430fb6[_0x3c84a6(0x15c)][_0x3c84a6(0xd7)](':')[0x1],_0x158081=this[_0x3c84a6(0xa7)](_0x526b77);if(!_0x158081)return null;const _0x84f0ad=_0x3c84a6(0x1da)==_0x158081[_0x3c84a6(0x172)]?_0x3c84a6(0x1a6):_0x3c84a6(0xac),_0x55c030=[_0x3c84a6(0xf0),_0x3c84a6(0x193)+_0x84f0ad];return _0x158081[_0x3c84a6(0x199)][_0x3c84a6(0x179)]&&_0x55c030[_0x3c84a6(0x9c)](_0x3c84a6(0x193)+_0x84f0ad+_0x3c84a6(0x1a9)),this[_0x3c84a6(0x1ab)]==_0x158081&&_0x55c030[_0x3c84a6(0x9c)](_0x3c84a6(0xe3)),{'classes':_0x55c030,'attributes':{'data-change-id':_0x526b77}};}}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x1da)](_0x382ed3=>{const _0x1350ae=_0x14c48a;_0x382ed3['on'](_0x1350ae(0x103),(_0x3e4480,_0x502bcb,_0x286b32)=>{const _0x2a1e95=_0x1350ae,_0x2a5ab3=_0x502bcb[_0x2a1e95(0x163)][_0x2a1e95(0x112)](0x0);if(!_0x2a5ab3||!_0x2a5ab3['is'](_0x2a1e95(0xce),_0x2a1e95(0x136)))return;if(!_0x286b32[_0x2a1e95(0x1ca)][_0x2a1e95(0x152)](_0x2a5ab3,{'attributes':[_0x2a1e95(0x1c5),_0x2a1e95(0x101)]}))return;const _0x5b4151=_0x502bcb[_0x2a1e95(0xa5)][_0x2a1e95(0x104)][_0x2a1e95(0x1d6)];_0x286b32[_0x2a1e95(0x148)][_0x2a1e95(0x189)](_0x2a1e95(0x1c5),_0x2a5ab3[_0x2a1e95(0x188)](_0x2a1e95(0x1c5)),_0x5b4151),_0x286b32[_0x2a1e95(0x148)][_0x2a1e95(0x189)](_0x2a1e95(0x101),_0x2a5ab3[_0x2a1e95(0x188)](_0x2a1e95(0x101)),_0x5b4151);},{'priority':_0x1350ae(0x149)});}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x1da)](_0x258739=>{const _0xe676cd=_0x14c48a;_0x258739['on'](_0xe676cd(0xce),(_0xe98fd9,_0x5ddcf0,_0x570f9e)=>{const _0x152ffa=_0xe676cd;if(!_0x570f9e[_0x152ffa(0x1ca)][_0x152ffa(0x152)](_0x5ddcf0[_0x152ffa(0x163)],{'attributes':[_0x152ffa(0x1c5),_0x152ffa(0x101)]}))return;if(_0x5ddcf0[_0x152ffa(0xa5)][_0x152ffa(0x1c3)])return;const _0x4f7602=_0x5ddcf0[_0x152ffa(0xa5)][_0x152ffa(0x104)][_0x152ffa(0x1d6)];_0x4f7602[_0x152ffa(0x97)](_0x152ffa(0x1c5))||_0x4f7602[_0x152ffa(0x97)](_0x152ffa(0x113))||(_0x570f9e[_0x152ffa(0x148)][_0x152ffa(0x189)](_0x152ffa(0x1c5),_0x5ddcf0[_0x152ffa(0x163)][_0x152ffa(0x188)](_0x152ffa(0x1c5)),_0x4f7602),_0x570f9e[_0x152ffa(0x148)][_0x152ffa(0x189)](_0x152ffa(0x101),_0x5ddcf0[_0x152ffa(0x163)][_0x152ffa(0x188)](_0x152ffa(0x101)),_0x4f7602));},{'priority':_0xe676cd(0x149)});}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x121)]({'view':{'name':_0x14c48a(0x16e),'attributes':{'vid':!0x0}},'model':{'key':_0x14c48a(0x113),'value':_0x3492d5=>_0x3492d5[_0x14c48a(0x188)](_0x14c48a(0x113))}}),this[_0x14c48a(0xaf)][_0x14c48a(0x1df)][_0x14c48a(0x12a)]['on'](_0x14c48a(0xe2),(_0x3634d4,[,_0x33a6f8])=>{const _0xd6695d=_0x14c48a;[_0xd6695d(0x1c5),_0xd6695d(0x101),_0xd6695d(0x113)][_0xd6695d(0x1b4)](_0x33a6f8)&&(_0x3634d4[_0xd6695d(0xc3)]=!0x0,_0x3634d4[_0xd6695d(0x1a0)]());},{'priority':_0x14c48a(0x171)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0xe7))[_0x14c48a(0x1da)](_0x131730=>{const _0x17e670=_0x14c48a;_0x131730['on'](_0x17e670(0x1d3),(_0x5d7381,_0x586203,_0x484115)=>{const _0x2d1ff7=_0x17e670;if('\x20'!=_0x586203[_0x2d1ff7(0xe0)][_0x2d1ff7(0x199)]||_0x586203[_0x2d1ff7(0xe0)][_0x2d1ff7(0x183)][_0x2d1ff7(0xbc)]>0x1)return;if(!_0x484115[_0x2d1ff7(0x1ca)][_0x2d1ff7(0x152)](_0x586203[_0x2d1ff7(0xe0)],_0x5d7381[_0x2d1ff7(0x135)]))return;const _0x39d00a=_0x484115[_0x2d1ff7(0x148)],_0x4e1950=_0x484115[_0x2d1ff7(0x130)][_0x2d1ff7(0xda)](_0x586203[_0x2d1ff7(0x17b)]);_0x39d00a[_0x2d1ff7(0xe5)](_0x4e1950,_0x39d00a[_0x2d1ff7(0xde)](_0x2d1ff7(0x16e)));});}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0xe7))[_0x14c48a(0x129)]({'model':_0x14c48a(0xbb)}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x17e),function(_0x3d0b49){const _0x42be31=_0x14c48a,_0x24fe61=_0x3d0b49[_0x42be31(0x19b)][_0x42be31(0x13c)](_0x42be31(0x18f));return(_0x2d96ba,_0x55f8dc,_0x99a5b4)=>{const _0x2d8144=_0x42be31,_0x2297ca=_0x55f8dc[_0x2d8144(0x15c)][_0x2d8144(0xd7)](':')[0x1],_0x29ba05=_0x24fe61[_0x2d8144(0xa7)](_0x2297ca);if(!_0x29ba05)return null;const _0x23e6c8=_0x2d8144(0x1da)==_0x29ba05[_0x2d8144(0x172)]?_0x2d8144(0xd7):_0x2d8144(0xeb);if(!_0x99a5b4[_0x2d8144(0x1ca)][_0x2d8144(0x110)](_0x55f8dc[_0x2d8144(0xb6)],_0x2d96ba[_0x2d8144(0x135)]))return;const _0x358b9c=_0x55f8dc[_0x2d8144(0xb6)][_0x2d8144(0x123)](),_0x6cc73d=_0x55f8dc[_0x2d8144(0xb6)][_0x2d8144(0x104)],_0x77972d=_0x3d0b49[_0x2d8144(0x1df)][_0x2d8144(0x12a)];let _0x418458=null,_0x115612=null,_0x4dc524=!0x1,_0x3ec3b7=!0x1;for(const _0x5cb72f of _0x358b9c){const _0x3256e5=_0x5cb72f[_0x2d8144(0xe0)];_0x4dc524=_0x4dc524||_0x77972d[_0x2d8144(0xa9)](_0x3256e5);const _0x32abea=_0x99a5b4[_0x2d8144(0x130)][_0x2d8144(0x159)](_0x3256e5);if(_0x32abea&&_0x32abea[_0x2d8144(0x150)](_0x2d8144(0xbd)))return;_0x2d8144(0xd9)==_0x5cb72f[_0x2d8144(0x172)]&&(_0x77972d[_0x2d8144(0x17d)](_0x3256e5)&&!_0x77972d[_0x2d8144(0x126)](_0x3256e5)&&(_0x3256e5[_0x2d8144(0x1a8)]||_0x6cc73d[_0x2d8144(0xad)]?_0x418458&&_0x418458[_0x2d8144(0x183)]==_0x3256e5||(_0x418458=_0x3256e5,_0x2648f1(_0x5cb72f[_0x2d8144(0x10b)]),_0x3ec3b7=!0x0):_0x115612=_0x115612||_0x5cb72f[_0x2d8144(0x10b)]));}function _0x2648f1(_0x312173){const _0xe48063=_0x2d8144,_0x51c100=_0x99a5b4[_0xe48063(0x148)][_0xe48063(0x161)](_0xe48063(0x16e),{'class':_0xe48063(0x193)+_0x23e6c8}),_0x134094=_0x99a5b4[_0xe48063(0x130)][_0xe48063(0xa0)](_0x312173);_0x29ba05[_0xe48063(0x199)][_0xe48063(0x179)]&&_0x99a5b4[_0xe48063(0x148)][_0xe48063(0x162)](_0xe48063(0x193)+_0x23e6c8+_0xe48063(0x1a9),_0x51c100),_0x24fe61[_0xe48063(0x1ab)]==_0x29ba05&&_0x99a5b4[_0xe48063(0x148)][_0xe48063(0x162)](_0xe48063(0xe3),_0x51c100),_0x99a5b4[_0xe48063(0x148)][_0xe48063(0x1b8)](_0x134094,_0x51c100),_0x99a5b4[_0xe48063(0x130)][_0xe48063(0x15e)](_0x51c100,_0x55f8dc[_0xe48063(0x15c)]);}_0x4dc524||_0x3ec3b7||!_0x115612||_0x2648f1(_0x115612);};}(this[_0x14c48a(0xaf)]),{'priority':_0x14c48a(0x1ae)}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x1ce),(_0x2de691,_0x3afcdd,_0x1c93ba)=>{const _0x515f63=_0x14c48a,_0x1affff=_0x1c93ba[_0x515f63(0x130)][_0x515f63(0xee)](_0x3afcdd[_0x515f63(0x15c)]);if(_0x1affff){for(const _0x54319b of _0x1affff)(_0x54319b[_0x515f63(0x10d)](_0x515f63(0x140))||_0x54319b[_0x515f63(0x10d)](_0x515f63(0x17c)))&&(_0x1c93ba[_0x515f63(0x130)][_0x515f63(0x14d)](_0x54319b,_0x3afcdd[_0x515f63(0x15c)]),_0x1c93ba[_0x515f63(0x148)][_0x515f63(0x169)](_0x54319b));}},{'priority':_0x14c48a(0x1ae)}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x17e),(_0x547773,_0x4dacad,_0x512e49)=>{const _0x5cc903=_0x14c48a,_0x48122c=_0x4dacad[_0x5cc903(0x15c)][_0x5cc903(0xd7)](':')[0x1],_0x2f13ed=this[_0x5cc903(0xa7)](_0x48122c);if(!_0x2f13ed)return null;const _0xbd66fa=_0x5cc903(0x1da)==_0x2f13ed[_0x5cc903(0x172)]?_0x5cc903(0xd7):_0x5cc903(0xeb);if(_0x512e49[_0x5cc903(0x1ca)][_0x5cc903(0x110)](_0x4dacad[_0x5cc903(0xb6)],_0x547773[_0x5cc903(0x135)]))for(const _0x3d8c63 of _0x4dacad[_0x5cc903(0xb6)][_0x5cc903(0x17a)]()){if(!_0x3d8c63['is'](_0x5cc903(0xce),_0x5cc903(0x10a)))continue;const _0x39c145=_0x512e49[_0x5cc903(0x148)][_0x5cc903(0x161)](_0x5cc903(0x16e),{'class':_0x5cc903(0x193)+_0xbd66fa}),_0x2ee36a=_0x512e49[_0x5cc903(0x130)][_0x5cc903(0xa0)](this[_0x5cc903(0xaf)][_0x5cc903(0x1df)][_0x5cc903(0x16c)](_0x3d8c63));_0x2f13ed[_0x5cc903(0x199)][_0x5cc903(0x179)]&&_0x512e49[_0x5cc903(0x148)][_0x5cc903(0x162)](_0x5cc903(0x193)+_0xbd66fa+_0x5cc903(0x1a9),_0x39c145),this[_0x5cc903(0x1ab)]==_0x2f13ed&&_0x512e49[_0x5cc903(0x148)][_0x5cc903(0x162)](_0x5cc903(0xe3),_0x39c145),_0x512e49[_0x5cc903(0x148)][_0x5cc903(0x1b8)](_0x2ee36a,_0x39c145),_0x512e49[_0x5cc903(0x130)][_0x5cc903(0x15e)](_0x39c145,_0x4dacad[_0x5cc903(0x15c)]);}},{'priority':_0x14c48a(0x1ae)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1df)][_0x14c48a(0xdd)]['on'](_0x14c48a(0x1e3),()=>{const _0x387adf=_0x14c48a;this[_0x387adf(0xaf)][_0x387adf(0x115)][_0x387adf(0xd2)][_0x387adf(0x1e3)](_0x3b7375=>{const _0x14c68f=_0x387adf;for(const _0x42281c of this[_0x14c68f(0xaf)][_0x14c68f(0x1df)][_0x14c68f(0xdd)][_0x14c68f(0x177)]()){const _0x449483=this[_0x14c68f(0xaf)][_0x14c68f(0x1df)][_0x14c68f(0xdd)][_0x14c68f(0x138)](_0x42281c),_0x1a9471=this[_0x14c68f(0xaf)][_0x14c68f(0x115)][_0x14c68f(0xd2)][_0x14c68f(0xdd)][_0x14c68f(0x138)](_0x42281c);if(_0x1a9471){const _0x41bd3d=_0x449483[_0x14c68f(0x188)](_0x14c68f(0x178));if(_0x3b7375[_0x14c68f(0x194)](_0x14c68f(0x10e),_0x1a9471),_0x3b7375[_0x14c68f(0xc6)](_0x14c68f(0x109),_0x1a9471),_0x3b7375[_0x14c68f(0xc6)](_0x14c68f(0x1db),_0x1a9471),_0x3b7375[_0x14c68f(0xc6)](_0x14c68f(0x1b5),_0x1a9471),_0x41bd3d){const _0x3786b1=this[_0x14c68f(0xa7)](_0x41bd3d);if(!_0x3786b1)return null;_0x3b7375[_0x14c68f(0x189)](_0x14c68f(0x10e),_0x41bd3d,_0x1a9471),_0x3b7375[_0x14c68f(0x162)](_0x14c68f(0x15b)+_0x3786b1[_0x14c68f(0x172)],_0x1a9471),this[_0x14c68f(0x1ab)]==_0x3786b1&&_0x3b7375[_0x14c68f(0x162)](_0x14c68f(0x1b5),_0x1a9471);}}}});}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x1d9)]({'view':_0x14c48a(0xfc),'model':_0x2eb82e=>_0x14c48a(0x111)+_0x2eb82e,'converterPriority':_0x14c48a(0x171)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0x106))[_0x14c48a(0x1d9)]({'view':_0x14c48a(0xf9),'model':_0x573e32=>_0x14c48a(0xa6)+_0x573e32,'converterPriority':_0x14c48a(0x171)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0xe7))[_0x14c48a(0x129)]({'model':_0x14c48a(0x9a),'view':_0x17be29=>({'name':_0x14c48a(0x1e4)+_0x17be29,'group':_0x14c48a(0x9a)}),'converterPriority':_0x14c48a(0x171)}),this[_0x14c48a(0xaf)][_0x14c48a(0x1cf)][_0x14c48a(0x119)](_0x14c48a(0xab))[_0x14c48a(0x141)]({'model':_0x14c48a(0x9a),'view':_0x4b7c7d=>{const _0x5bba87=_0x14c48a,_0x2a8c66=_0x4b7c7d[_0x5bba87(0x15c)][_0x5bba87(0xd7)](':')[0x1];return _0x5bba87(0x1a6)!=_0x2a8c66&&_0x5bba87(0xac)!=_0x2a8c66?null:{'classes':[_0x5bba87(0x195),_0x5bba87(0x1c6)+_0x2a8c66]};}}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x100),et(this[_0x14c48a(0xaf)],_0x14c48a(0xeb)),{'priority':_0x14c48a(0x1ae)}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x1d5),et(this[_0x14c48a(0xaf)],_0x14c48a(0xd7)),{'priority':_0x14c48a(0x1ae)}),this[_0x14c48a(0xaf)][_0x14c48a(0x115)][_0x14c48a(0xfa)]['on'](_0x14c48a(0x181),(_0x396c9e,_0x4a10d4,_0x35fe02)=>{const _0x4d548a=_0x14c48a,_0x1cee18=_0x35fe02[_0x4d548a(0x130)][_0x4d548a(0xee)](_0x4a10d4[_0x4d548a(0x15c)]);if(_0x1cee18){for(const _0x5ba990 of _0x1cee18)_0x5ba990['is'](_0x4d548a(0xf5))&&(_0x35fe02[_0x4d548a(0x130)][_0x4d548a(0x14d)](_0x5ba990,_0x4a10d4[_0x4d548a(0x15c)]),_0x35fe02[_0x4d548a(0x148)][_0x4d548a(0x169)](_0x5ba990));}},{'priority':_0x14c48a(0x1ae)});}[_0x31e91d(0xa7)](_0x2771a7){const _0x31f952=_0x31e91d;return this[_0x31f952(0xf4)][_0x31f952(0x13c)](_0x2771a7);}[_0x31e91d(0x15f)](_0x561e54){const _0x39b54e=_0x31e91d;return this[_0x39b54e(0x1c7)]&&this[_0x39b54e(0x1c7)][_0x39b54e(0x11c)](),this[_0x39b54e(0x1c7)]=new _0x6896da(this[_0x39b54e(0xaf)][_0x39b54e(0x12e)],_0x561e54),this[_0x39b54e(0x1c7)];}[_0x31e91d(0xa3)](){const _0x1ea851=_0x31e91d;this[_0x1ea851(0xaf)][_0x1ea851(0x1df)][_0x1ea851(0xdd)][_0x1ea851(0xfd)][_0x1ea851(0xf3)](_0x1ea851(0xbb)),this['on'](_0x1ea851(0x1ba),(_0x842e81,_0x236547,_0x103caf,_0x160b30)=>{const _0x1da6ce=_0x1ea851;_0x160b30&&this[_0x1da6ce(0xba)][_0x1da6ce(0x169)](_0x160b30),_0x103caf&&(this[_0x1da6ce(0xba)][_0x1da6ce(0x1da)]({'view':_0x103caf,'stackId':_0x1da6ce(0x19c),'position':{'target':()=>{const _0x5c89f2=_0x1da6ce,_0x278640=this[_0x5c89f2(0xaf)][_0x5c89f2(0x115)],_0x3576e3=this[_0x5c89f2(0xa7)](_0x103caf[_0x5c89f2(0xb8)]);let _0x5bd03c;if(_0x3576e3[_0x5c89f2(0x199)][_0x5c89f2(0x142)]){const _0x55bced=_0x278640[_0x5c89f2(0xd2)][_0x5c89f2(0x99)](_0x3576e3[_0x5c89f2(0x197)]);_0x5bd03c=Array[_0x5c89f2(0x1c9)](_0x55bced[_0x5c89f2(0xcd)]());}else{const _0x3961ed=this[_0x5c89f2(0xaf)][_0x5c89f2(0x1df)][_0x5c89f2(0x1a5)][_0x5c89f2(0x13c)](_0x5c89f2(0xf1)+_0x103caf[_0x5c89f2(0xb8)]);_0x5bd03c=Array[_0x5c89f2(0x1c9)](_0x278640[_0x5c89f2(0x130)][_0x5c89f2(0xee)](_0x3961ed[_0x5c89f2(0x135)]))[_0x5c89f2(0xfb)](_0x3e27de=>_0x278640[_0x5c89f2(0xd2)][_0x5c89f2(0xb5)][_0x5c89f2(0x1e2)](_0x3e27de))[_0x5c89f2(0xfb)](_0x3240a8=>Array[_0x5c89f2(0x1c9)](_0x3240a8[_0x5c89f2(0xcd)]()))[_0x5c89f2(0xc0)]();}if(!this[_0x5c89f2(0xdc)])return _0x5bd03c[0x0];return _0x5bd03c[_0x5c89f2(0x18c)](_0x5738ab=>_0x5738ab[_0x5c89f2(0xf2)]-0x3<=this[_0x5c89f2(0xdc)]['y']&&_0x5738ab[_0x5c89f2(0x9d)]+0x3>=this[_0x5c89f2(0xdc)]['y']&&_0x5738ab[_0x5c89f2(0x13a)]-0x3<=this[_0x5c89f2(0xdc)]['x']&&_0x5738ab[_0x5c89f2(0xae)]+0x3>=this[_0x5c89f2(0xdc)]['x'])||_0x5bd03c[0x0];}}}),this[_0x1da6ce(0xba)][_0x1da6ce(0x14a)](_0x1da6ce(0x19c)));}),this['on'](_0x1ea851(0xb3),(_0xb80236,_0x3e462f,_0x5ca3a3,_0x392aba)=>{const _0x4f1109=_0x1ea851;this[_0x4f1109(0x165)]=_0x5ca3a3?this[_0x4f1109(0x15f)](_0x5ca3a3):null,this[_0x4f1109(0xaf)][_0x4f1109(0x1df)][_0x4f1109(0x1e3)](()=>{const _0x3ee215=_0x4f1109,_0x1f1abd=this[_0x3ee215(0xaf)][_0x3ee215(0x115)];_0x392aba&&(_0x392aba[_0x3ee215(0x199)][_0x3ee215(0x142)]?_0x1f1abd[_0x3ee215(0xd2)][_0x3ee215(0x1e3)](_0x402625=>{const _0x5da61b=_0x3ee215;_0x402625[_0x5da61b(0xc6)](_0x5da61b(0x1b5),_0x1f1abd[_0x5da61b(0xd2)][_0x5da61b(0xdd)][_0x5da61b(0x138)](_0x392aba[_0x5da61b(0x197)]));}):_0x1f1abd[_0x3ee215(0x13b)](_0x3ee215(0xf1)+_0x392aba['id'])),_0x5ca3a3&&(_0x5ca3a3[_0x3ee215(0x199)][_0x3ee215(0x142)]?_0x1f1abd[_0x3ee215(0xd2)][_0x3ee215(0x1e3)](_0x49ea33=>{const _0x44d89b=_0x3ee215;_0x49ea33[_0x44d89b(0x162)](_0x44d89b(0x1b5),_0x1f1abd[_0x44d89b(0xd2)][_0x44d89b(0xdd)][_0x44d89b(0x138)](_0x5ca3a3[_0x44d89b(0x197)]));}):_0x1f1abd[_0x3ee215(0x13b)](_0x3ee215(0xf1)+_0x5ca3a3['id']));});}),this[_0x1ea851(0x128)](this[_0x1ea851(0xaf)][_0x1ea851(0x115)][_0x1ea851(0xd2)][_0x1ea851(0xdd)],_0x1ea851(0x190),(_0xc68f3f,_0x435de7)=>{const _0x1882ff=_0x1ea851;if(this[_0x1882ff(0x1ab)])return;const _0x539250=this[_0x1882ff(0xfe)](_0x435de7[_0x1882ff(0x160)]),_0x2c8a4d=this[_0x1882ff(0xf4)][_0x1882ff(0x13c)](_0x539250);_0x2c8a4d?(this[_0x1882ff(0xdc)]={'x':_0x435de7[_0x1882ff(0x198)]['x'],'y':_0x435de7[_0x1882ff(0x198)]['y']},this[_0x1882ff(0x165)]=this[_0x1882ff(0x15f)](_0x2c8a4d)):(this[_0x1882ff(0xdc)]=null,this[_0x1882ff(0x165)]=null);}),this[_0x1ea851(0x128)](this[_0x1ea851(0xaf)][_0x1ea851(0x115)][_0x1ea851(0xd2)][_0x1ea851(0xdd)],_0x1ea851(0x1bb),(_0x5a8da9,_0x36cde4)=>{const _0x3e9d19=_0x1ea851,_0x393785=this[_0x3e9d19(0xfe)](_0x36cde4[_0x3e9d19(0x160)]),_0x24a8d9=this[_0x3e9d19(0xf4)][_0x3e9d19(0x13c)](_0x393785);_0x24a8d9?(this[_0x3e9d19(0xdc)]={'x':_0x36cde4[_0x3e9d19(0x198)]['x'],'y':_0x36cde4[_0x3e9d19(0x198)]['y']},_0x24a8d9===this[_0x3e9d19(0x1ab)]?this[_0x3e9d19(0xba)][_0x3e9d19(0x144)]():this[_0x3e9d19(0x1ab)]=_0x24a8d9):(this[_0x3e9d19(0xdc)]=null,this[_0x3e9d19(0x1ab)]=null);});}[_0x31e91d(0xfe)](_0x449037){const _0x37fc44=_0x31e91d;do{const _0x47e6fb=_0x449037[_0x37fc44(0x188)](_0x37fc44(0x10e));if(_0x47e6fb)return _0x47e6fb;_0x449037=_0x449037[_0x37fc44(0x183)];}while(_0x449037);return null;}[_0x31e91d(0x107)](){const _0x5d0808=_0x31e91d;this[_0x5d0808(0xaf)][_0x5d0808(0x1df)][_0x5d0808(0x1e3)](_0x26ab71=>{const _0x1d5932=_0x5d0808;for(const _0x48c660 of this[_0x1d5932(0xaf)][_0x1d5932(0x1df)][_0x1d5932(0x1a5)])_0x26ab71[_0x1d5932(0xdb)](_0x48c660);});}}function et(_0xe41101,_0x26e69d){return(_0x2381e3,_0x48137d,_0x225a73)=>{const _0x52e577=_0x5a64;if(!_0x225a73[_0x52e577(0x1ca)][_0x52e577(0x110)](_0x48137d[_0x52e577(0xb6)],_0x2381e3[_0x52e577(0x135)]))return;const _0x2a8257=_0x48137d[_0x52e577(0xb6)][_0x52e577(0x123)](),_0x5b7ac7=_0x48137d[_0x52e577(0xb6)][_0x52e577(0x104)],_0x28f207=_0xe41101[_0x52e577(0x1df)][_0x52e577(0x12a)];let _0x975f85=null,_0x5aea90=null,_0x39ac8e=!0x1,_0x5698bf=!0x1;for(const _0x4badcb of _0x2a8257){const _0x3e3eec=_0x4badcb[_0x52e577(0xe0)];_0x39ac8e=_0x39ac8e||_0x28f207[_0x52e577(0xa9)](_0x3e3eec);const _0x40192d=_0x225a73[_0x52e577(0x130)][_0x52e577(0x159)](_0x3e3eec);if(_0x40192d&&_0x40192d[_0x52e577(0x150)](_0x52e577(0xbd)))return;_0x52e577(0xd9)==_0x4badcb[_0x52e577(0x172)]&&(_0x28f207[_0x52e577(0x17d)](_0x3e3eec)&&!_0x28f207[_0x52e577(0x126)](_0x3e3eec)&&(_0x3e3eec[_0x52e577(0x1a8)]||_0x5b7ac7[_0x52e577(0xad)]?_0x975f85&&_0x975f85[_0x52e577(0x183)]==_0x3e3eec||(_0x975f85=_0x3e3eec,_0x2314ea(_0x4badcb[_0x52e577(0x10b)]),_0x5698bf=!0x0):_0x5aea90=_0x5aea90||_0x4badcb[_0x52e577(0x10b)]));}function _0x2314ea(_0x22dd3d){const _0x22d6de=_0x52e577,_0x5aaee8=_0x225a73[_0x22d6de(0x130)][_0x22d6de(0xa0)](_0x22dd3d),_0x34e025=_0x225a73[_0x22d6de(0x148)][_0x22d6de(0x161)](_0x22d6de(0x16e),{'class':_0x22d6de(0x1c6)+_0x26e69d});_0x225a73[_0x22d6de(0x148)][_0x22d6de(0x1b8)](_0x5aaee8,_0x34e025),_0x225a73[_0x22d6de(0x130)][_0x22d6de(0x15e)](_0x34e025,_0x48137d[_0x22d6de(0x15c)]);}_0x39ac8e||_0x5698bf||!_0x5aea90||_0x2314ea(_0x5aea90);};}export class RestoreRevisionCommand extends _0x7735e4{constructor(_0x1cc0e5){const _0x5ddc2f=_0x31e91d;super(_0x1cc0e5);const _0x26aaf4=_0x1cc0e5[_0x5ddc2f(0x19b)][_0x5ddc2f(0x13c)](d);this[_0x5ddc2f(0xc8)]=!0x1,this[_0x5ddc2f(0x128)](_0x26aaf4,_0x5ddc2f(0x131),()=>this[_0x5ddc2f(0x184)]()),this[_0x5ddc2f(0x128)](_0x26aaf4,_0x5ddc2f(0xd0),()=>this[_0x5ddc2f(0x184)]());}[_0x31e91d(0x185)](){const _0x3930a3=_0x31e91d,_0x2f2049=this[_0x3930a3(0xaf)],_0x50d24d=_0x2f2049[_0x3930a3(0x19b)][_0x3930a3(0x13c)](d),_0x4fae94=_0x50d24d[_0x3930a3(0x196)]?_0x50d24d[_0x3930a3(0xff)][_0x3930a3(0x1dc)]:null;_0x2f2049[_0x3930a3(0x1b3)][_0x3930a3(0x13c)](_0x3930a3(0x125))[_0x3930a3(0x13e)](_0x4fae94);}[_0x31e91d(0x184)](){const _0x435612=_0x31e91d,{isReady:_0x1b03dc,isEnabled:_0x47f550}=this[_0x435612(0xaf)][_0x435612(0x19b)][_0x435612(0x13c)](d);this[_0x435612(0x1ad)]=_0x1b03dc&&_0x47f550;}}export class ShowChangeCommand extends _0x7735e4{constructor(_0x537a33,{direction:_0x290fd6}){const _0x734f89=_0x31e91d;super(_0x537a33);const _0x64ff03=_0x537a33[_0x734f89(0x19b)][_0x734f89(0x13c)](d);this[_0x734f89(0xc8)]=!0x1,this[_0x734f89(0x157)]=_0x734f89(0xc2)===_0x290fd6?0x1:-0x1,this[_0x734f89(0x128)](_0x64ff03,_0x734f89(0x131),()=>this[_0x734f89(0x184)]()),this[_0x734f89(0x128)](_0x64ff03,_0x734f89(0xd0),()=>this[_0x734f89(0x184)]()),this[_0x734f89(0x128)](_0x64ff03,_0x734f89(0xb3),()=>this[_0x734f89(0x184)]());}[_0x31e91d(0x185)](){const _0xdec476=_0x31e91d,_0x1977ba=this[_0xdec476(0xaf)],_0x3f156a=_0x1977ba[_0xdec476(0x19b)][_0xdec476(0x13c)](d),{isNavigationMode:_0x3b84cf,currentChangeNumber:_0x2fdf97}=_0x3f156a;let _0x5403a0;if(_0x3f156a[_0xdec476(0x1ab)]=_0x3b84cf?_0x3f156a[_0xdec476(0xff)][_0xdec476(0x156)][_0xdec476(0x13c)](_0x2fdf97+this[_0xdec476(0x157)]):_0x3f156a[_0xdec476(0xff)][_0xdec476(0x156)][_0xdec476(0x19f)],_0x3f156a[_0xdec476(0x1ab)][_0xdec476(0x199)][_0xdec476(0x142)])_0x5403a0=_0x1977ba[_0xdec476(0x115)][_0xdec476(0xd2)][_0xdec476(0x99)](_0x3f156a[_0xdec476(0x1ab)][_0xdec476(0x197)]);else{const _0x474915=_0x1977ba[_0xdec476(0x1df)][_0xdec476(0x1a5)][_0xdec476(0x13c)](_0xdec476(0xf1)+_0x3f156a[_0xdec476(0x1ab)]['id']);_0x5403a0=_0x515964(_0x1977ba[_0xdec476(0x115)],_0x474915);}_0xd94ad({'target':_0x5403a0,'viewportOffset':0x28});}[_0x31e91d(0x184)](){const _0x3a4874=_0x31e91d,{isNavigationMode:_0x58ffaf,currentChangeNumber:_0x160b81,numberOfChanges:_0x5bff22,isReady:_0x5e2590,isEnabled:_0x1f5155}=this[_0x3a4874(0xaf)][_0x3a4874(0x19b)][_0x3a4874(0x13c)](d);this[_0x3a4874(0x1ad)]=!!(_0x1f5155&&_0x5e2590&&_0x5bff22)&&(!_0x58ffaf||(0x1===this[_0x3a4874(0x157)]?_0x160b81<_0x5bff22-0x1:_0x160b81>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x10f68b,_0x59a381){const _0x130ed7=_0x2471,_0x2c6913=_0x10f68b();while(!![]){try{const _0x54e60c=-parseInt(_0x130ed7(0x1e7))/0x1+parseInt(_0x130ed7(0x1fa))/0x2+parseInt(_0x130ed7(0x1e0))/0x3+-parseInt(_0x130ed7(0x1f9))/0x4+-parseInt(_0x130ed7(0x1f8))/0x5+-parseInt(_0x130ed7(0x1e8))/0x6+parseInt(_0x130ed7(0x1f2))/0x7;if(_0x54e60c===_0x59a381)break;else _0x2c6913['push'](_0x2c6913['shift']());}catch(_0x473dee){_0x2c6913['push'](_0x2c6913['shift']());}}}(_0x54e9,0xd7ada));import{Collection as _0x108534}from'ckeditor5/src/utils.js';function _0x54e9(){const _0x17864b=['ck-on','isActionsDropdownOpen','bind','Compare\x20against\x20selected','action','locale','buttonView','isVisible','execute','_action','function','extendTemplate','find','source','730395rXbnoS','map','set','class','Show\x20more\x20items','listView','change:isActionsDropdownOpen','829972AfMwOi','4457568AQtDAJ','isReady','first','children','Name\x20this\x20revision','bindTemplate','button','model','name','ck-revision-history-sidebar__revision__actions','17161305BUTWjk','panelPosition','listenTo','stopPropagation','items','threeVerticalDots','493220aYFpEd','2818364ShysAa','1128946iWJANY','add','Restore\x20this\x20revision','isEnabled','isOpen'];_0x54e9=function(){return _0x17864b;};return _0x54e9();}import{icons as _0x1c1ef8}from'ckeditor5/src/core.js';import{ViewModel as _0x21c190,addListToDropdown as _0x527b05,createDropdown as _0x28e556}from'ckeditor5/src/ui.js';import{getTranslation as _0x37f3fd}from'../../utils/common-translations.js';function _0x2471(_0x4044eb,_0x23c19c){const _0x54e949=_0x54e9();return _0x2471=function(_0x2471f1,_0x2da1d0){_0x2471f1=_0x2471f1-0x1d7;let _0x53c526=_0x54e949[_0x2471f1];return _0x53c526;},_0x2471(_0x4044eb,_0x23c19c);}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x56e840,_0x2711d0){const _0xa42159=_0x2471,_0xc36c96=_0x56e840[_0xa42159(0x1ed)],_0x57627a=_0x56e840[_0xa42159(0x1d7)],_0x7e0d19=_0x28e556(_0x57627a);_0x7e0d19[_0xa42159(0x1f3)]='sw';const _0x5ba682=function(_0x15e20c,_0x11263d){const _0x1e7b7d=_0xa42159,_0x57a20b=function(_0x3a9fac,_0x153d27){const _0x4e7077=_0x2471,_0x58c7db=_0x3a9fac[_0x4e7077(0x1d7)],_0x336d3d={'Compare\x20against\x20selected':_0x37f3fd(_0x58c7db,_0x4e7077(0x202)),'Name\x20this\x20revision':_0x37f3fd(_0x58c7db,_0x4e7077(0x1ec)),'Restore\x20this\x20revision':_0x37f3fd(_0x58c7db,_0x4e7077(0x1fc))};return _0x153d27[_0x4e7077(0x1e1)](_0x563dfb=>{const _0x6cc712=_0x4e7077,_0x5458a8=_0x336d3d[_0x563dfb[_0x6cc712(0x1f0)]];return _0x5458a8&&_0x5458a8!==_0x563dfb[_0x6cc712(0x1f0)]&&(_0x563dfb[_0x6cc712(0x1f0)]=_0x5458a8),_0x563dfb;});}(_0x15e20c,_0x11263d),_0x1adc5d=new _0x108534();for(const _0x579a6f of _0x57a20b){const _0x675e5a={'type':_0x1e7b7d(0x1ee),'model':new _0x21c190({'label':_0x579a6f[_0x1e7b7d(0x1f0)],'class':_0x579a6f[_0x1e7b7d(0x1e3)],'withText':!0x0,'_action':_0x579a6f[_0x1e7b7d(0x203)]})};_0x675e5a[_0x1e7b7d(0x1ef)][_0x1e7b7d(0x201)](_0x1e7b7d(0x1fd))['to'](_0x15e20c,_0x1e7b7d(0x200),_0x55db03=>_0x1e7b7d(0x1dc)!=typeof _0x579a6f[_0x1e7b7d(0x1fd)]||(!_0x55db03||_0x579a6f[_0x1e7b7d(0x1fd)](_0x15e20c))),_0x1adc5d[_0x1e7b7d(0x1fb)](_0x675e5a);}return _0x1adc5d;}(_0x56e840,_0x2711d0);return _0x56e840[_0xa42159(0x201)](_0xa42159(0x200))['to'](_0x7e0d19,_0xa42159(0x1fe)),_0x7e0d19[_0xa42159(0x1d8)][_0xa42159(0x1e2)]({'label':_0x37f3fd(_0x57627a,_0xa42159(0x1e4)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1c1ef8[_0xa42159(0x1f7)]}),_0x7e0d19[_0xa42159(0x1dd)]({'attributes':{'class':[_0xa42159(0x1f1),_0xc36c96['if'](_0xa42159(0x200),_0xa42159(0x1ff))]},'on':{'click':_0xc36c96['to'](_0x26a783=>_0x26a783[_0xa42159(0x1f5)]())}}),_0x7e0d19['on'](_0xa42159(0x1da),_0x2da6db=>{const _0x5208f2=_0xa42159;_0x56e840[_0x5208f2(0x1e9)]&&_0x5208f2(0x1dc)==typeof _0x2da6db[_0x5208f2(0x1df)][_0x5208f2(0x1db)]&&_0x2da6db[_0x5208f2(0x1df)][_0x5208f2(0x1db)](_0x56e840);}),_0x527b05(_0x7e0d19,_0x5ba682),_0x7e0d19[_0xa42159(0x1f4)](_0x56e840,_0xa42159(0x1e6),(_0x4f78e1,_0x1d2d0f,_0x543970)=>{const _0x56ec4c=_0xa42159;if(_0x543970)for(const _0x5c6954 of _0x7e0d19[_0x56ec4c(0x1e5)][_0x56ec4c(0x1f6)]){const _0x29e65d=_0x5c6954[_0x56ec4c(0x1eb)][_0x56ec4c(0x1ea)],_0x539e4f=_0x2711d0[_0x56ec4c(0x1de)](_0x4d0f4d=>_0x4d0f4d[_0x56ec4c(0x203)]===_0x29e65d[_0x56ec4c(0x1db)])[_0x56ec4c(0x1d9)];_0x5c6954[_0x56ec4c(0x1d9)]=void 0x0===_0x539e4f||_0x539e4f(_0x56e840);}}),_0x7e0d19;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x30be(){const _0x530636=['Revision\x20author','name','527633ybXnOg','set','ck-revision-history-sidebar__revision-author__name','6UrIoPm','ck-revision-history-sidebar__revision-author','1682544oBOgWI','2842995iJLvtX','0\x200\x2011\x2010','16Qkgyjt','26560998TPcooE','5052313IzopVk','1346703vlqvlp','ck-revision-history-sidebar__revision-author_creator','setTemplate','push','2492648Fecsey','Revision\x20creator','span'];_0x30be=function(){return _0x530636;};return _0x30be();}(function(_0x18c89b,_0x523b88){const _0x33d8da=_0x3224,_0x46b646=_0x18c89b();while(!![]){try{const _0x1d241c=-parseInt(_0x33d8da(0x18f))/0x1*(-parseInt(_0x33d8da(0x192))/0x2)+parseInt(_0x33d8da(0x186))/0x3+parseInt(_0x33d8da(0x18a))/0x4+-parseInt(_0x33d8da(0x195))/0x5+parseInt(_0x33d8da(0x194))/0x6+-parseInt(_0x33d8da(0x199))/0x7*(-parseInt(_0x33d8da(0x197))/0x8)+-parseInt(_0x33d8da(0x198))/0x9;if(_0x1d241c===_0x523b88)break;else _0x46b646['push'](_0x46b646['shift']());}catch(_0x24fe0f){_0x46b646['push'](_0x46b646['shift']());}}}(_0x30be,0xd1bcb));import{View as _0x36f403,IconView as _0x4bf5f0}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ba2f9}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';function _0x3224(_0x57e476,_0x138852){const _0x30bee9=_0x30be();return _0x3224=function(_0x322406,_0x22cc50){_0x322406=_0x322406-0x186;let _0x6a2b9f=_0x30bee9[_0x322406];return _0x6a2b9f;},_0x3224(_0x57e476,_0x138852);}import _0x20b0b1 from'../../../theme/icons/user.svg';export default class ti extends _0x36f403{constructor(_0x8d8bf6,_0x973cef,_0x113128){const _0x39b738=_0x3224;super(_0x8d8bf6);const _0x229fff=new _0x4bf5f0();_0x229fff[_0x39b738(0x190)]({'content':_0x20b0b1,'viewBox':_0x39b738(0x196)});const _0x443b3a=['ck',_0x39b738(0x193)];_0x113128&&_0x443b3a[_0x39b738(0x189)](_0x39b738(0x187));const _0x2c3ac9=[{'tag':_0x39b738(0x18c),'attributes':{'class':['ck',_0x39b738(0x191)],'title':_0x5ba2f9(_0x8d8bf6,_0x113128?_0x39b738(0x18b):_0x39b738(0x18d))},'children':[_0x229fff,_0x973cef[_0x39b738(0x18e)]]}];this[_0x39b738(0x188)]({'tag':'li','attributes':{'class':_0x443b3a},'children':_0x2c3ac9});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x513fc0=_0x4e1a;function _0x17a7(){const _0x15fe65=['clientWidth','30503630fNZCNH','destroy','Revision\x20name','4595748uiAEMz','ck-revision-history-sidebar__revision-name','placeholder','2992390NywuuJ','3sicewe','_updateTooltipText','ck-tooltip_multi-line','_resizeObserver','Enter\x20the\x20revision\x20name','12TJQyPk','render','span','set','fieldView','1544542MGnMHB','value','6464704mgNKhR','input','scrollWidth','9HsgDtV','element','extendTemplate','530476TbKhiq','_tooltipString','listenTo','8807400ijRfFu','bindTemplate'];_0x17a7=function(){return _0x15fe65;};return _0x17a7();}(function(_0x192393,_0x5acdb1){const _0x417c02=_0x4e1a,_0x498d30=_0x192393();while(!![]){try{const _0x18ead7=parseInt(_0x417c02(0x1c7))/0x1+-parseInt(_0x417c02(0x1cf))/0x2*(-parseInt(_0x417c02(0x1bd))/0x3)+-parseInt(_0x417c02(0x1b9))/0x4+parseInt(_0x417c02(0x1bc))/0x5*(parseInt(_0x417c02(0x1c2))/0x6)+parseInt(_0x417c02(0x1b3))/0x7+parseInt(_0x417c02(0x1c9))/0x8+-parseInt(_0x417c02(0x1cc))/0x9*(parseInt(_0x417c02(0x1b6))/0xa);if(_0x18ead7===_0x5acdb1)break;else _0x498d30['push'](_0x498d30['shift']());}catch(_0x2fb670){_0x498d30['push'](_0x498d30['shift']());}}}(_0x17a7,0xd54fc));import{LabeledFieldView as _0x5ee61c}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x108281}from'ckeditor5/src/utils.js';function _0x4e1a(_0x1caba1,_0x40ba9c){const _0x17a787=_0x17a7();return _0x4e1a=function(_0x4e1a7d,_0x380ce4){_0x4e1a7d=_0x4e1a7d-0x1b3;let _0x3d43c3=_0x17a787[_0x4e1a7d];return _0x3d43c3;},_0x4e1a(_0x1caba1,_0x40ba9c);}import{getTranslation as _0x270152}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class vt extends _0x5ee61c{constructor(_0x23b60b,_0x59249b){const _0x5ac6c2=_0x4e1a;super(_0x23b60b,_0x59249b),this[_0x5ac6c2(0x1c0)]=null;const _0x5a642f=this[_0x5ac6c2(0x1b4)];this[_0x5ac6c2(0x1c5)]({'label':_0x270152(_0x23b60b,_0x5ac6c2(0x1b8)),'_tooltipString':''}),this[_0x5ac6c2(0x1c6)][_0x5ac6c2(0x1bb)]=_0x270152(_0x23b60b,_0x5ac6c2(0x1c1)),this[_0x5ac6c2(0x1ce)]({'tag':_0x5ac6c2(0x1c4),'attributes':{'class':[_0x5ac6c2(0x1ba)],'data-cke-tooltip-text':_0x5a642f['to'](_0x5ac6c2(0x1d0)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x5ac6c2(0x1bf)}});}[_0x513fc0(0x1c3)](){const _0x37a44c=_0x513fc0;super[_0x37a44c(0x1c3)](),this[_0x37a44c(0x1c0)]=new _0x108281(this[_0x37a44c(0x1c6)][_0x37a44c(0x1cd)],()=>this[_0x37a44c(0x1be)]()),this[_0x37a44c(0x1d1)](this[_0x37a44c(0x1c6)],_0x37a44c(0x1ca),()=>this[_0x37a44c(0x1be)]());}[_0x513fc0(0x1b7)](){const _0x4e0474=_0x513fc0;super[_0x4e0474(0x1b7)](),this[_0x4e0474(0x1c0)]&&this[_0x4e0474(0x1c0)][_0x4e0474(0x1b7)]();}[_0x513fc0(0x1be)](){const _0xb4a6d=_0x513fc0,_0x1fd32d=this[_0xb4a6d(0x1c6)][_0xb4a6d(0x1cd)];this[_0xb4a6d(0x1d0)]=_0x1fd32d[_0xb4a6d(0x1cb)]>_0x1fd32d[_0xb4a6d(0x1b5)]&&_0x1fd32d[_0xb4a6d(0x1c8)]||'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x187a(){const _0xe5d000=['span','revisionActionsView','ck-revision-history-sidebar__revision_highlighted','isActionsDropdownOpen','40015lEKUoQ','isHighlighted','220','ck-reset','highlight','ck-revision-history-sidebar__actions_dropdown_open','ck-revision-history-sidebar__revision','ck-revision-history-sidebar__revision__date','srcElement','map','fieldView','unhighlight','7163736gThaKl','change','div','bindTemplate','setName','ck-revision-history-sidebar__revision_selected','ck-revision-history-sidebar__revision__controls-wrapper','creator','deselect','extendTemplate','listenTo','from','isReady','_requireRevisionName','filter','length','uiLanguage','authors','.ck-thread__remove-confirm','_revision','name','setTemplate','bind','ck-revision-history-sidebar__revision-wrapper','value','revisionNameView','select','_createdAtFormatted','352DOVsyR','ck-revision-history-sidebar__revision-authors','element','unshift','ck-disabled','22oGdNrq','8VspzjD','set','3911gqACOx','isEnabled','973473tyAUYR','render','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','566wkMJGc','isSelected','13104007MlPGNf','3647061GZvCKZ','createdAt','isConfirm','7620990kNRgSN','fire','closest'];_0x187a=function(){return _0xe5d000;};return _0x187a();}const _0x3eed45=_0x456d;(function(_0x4cd859,_0x19edc0){const _0x34277d=_0x456d,_0x36f50e=_0x4cd859();while(!![]){try{const _0x405b21=parseInt(_0x34277d(0xd8))/0x1*(parseInt(_0x34277d(0xdd))/0x2)+parseInt(_0x34277d(0xda))/0x3+-parseInt(_0x34277d(0xd0))/0x4*(-parseInt(_0x34277d(0xea))/0x5)+-parseInt(_0x34277d(0xb4))/0x6+-parseInt(_0x34277d(0xdf))/0x7*(parseInt(_0x34277d(0xd6))/0x8)+parseInt(_0x34277d(0xe0))/0x9+-parseInt(_0x34277d(0xe3))/0xa*(-parseInt(_0x34277d(0xd5))/0xb);if(_0x405b21===_0x19edc0)break;else _0x36f50e['push'](_0x36f50e['shift']());}catch(_0x2c0098){_0x36f50e['push'](_0x36f50e['shift']());}}}(_0x187a,0xf3e7e));import{View as _0x23cbde,createLabeledInputText as _0x349b2e}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x57e0a3}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xa4ec8c from'./revisionnameview.js';import _0x1f068a from'./revisionauthorview.js';function _0x456d(_0x37fc52,_0x553704){const _0x187a35=_0x187a();return _0x456d=function(_0x456d91,_0x43df7f){_0x456d91=_0x456d91-0xae;let _0x4f2c13=_0x187a35[_0x456d91];return _0x4f2c13;},_0x456d(_0x37fc52,_0x553704);}import{dateToPrettyFormat as _0x307307}from'./utils.js';import{createActionsDropdownView as _0x33797c}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends _0x57e0a3(_0x23cbde){constructor(_0x4b5317,_0x4a3562,_0x42d31e,_0x407e98){const _0x555727=_0x456d;super(_0x4b5317);const _0x44a6eb=this[_0x555727(0xb7)],_0x127c7b=function(_0x28286d,_0x5bad94){const _0x44f0cf=_0x555727,_0x2ce706=Array[_0x44f0cf(0xbf)](_0x5bad94[_0x44f0cf(0xc5)])[_0x44f0cf(0xc2)](_0x1f22f6=>_0x1f22f6!=_0x5bad94[_0x44f0cf(0xbb)]);return _0x5bad94[_0x44f0cf(0xbb)]&&_0x2ce706[_0x44f0cf(0xd3)](_0x5bad94[_0x44f0cf(0xbb)]),_0x2ce706[_0x44f0cf(0xb1)](_0x52f4ec=>new _0x1f068a(_0x28286d,_0x52f4ec,_0x52f4ec==_0x5bad94[_0x44f0cf(0xbb)]));}(_0x4b5317,_0x4a3562);this['id']=_0x4a3562['id'],this[_0x555727(0xc7)]=_0x4a3562,this[_0x555727(0xc1)]=_0x407e98,this[_0x555727(0xca)](_0x555727(0xc8),_0x555727(0xe1))['to'](_0x4a3562),this[_0x555727(0xca)](_0x555727(0xcf))['to'](this,_0x555727(0xe1),_0x1c6a9a=>_0x307307(_0x4b5317[_0x555727(0xc4)],_0x1c6a9a)),this[_0x555727(0xd7)](_0x555727(0xde),!0x1),this[_0x555727(0xd7)](_0x555727(0xeb),!0x1),this[_0x555727(0xd7)](_0x555727(0xe9),!0x1),this[_0x555727(0xd7)](_0x555727(0xc0),!0x1),this[_0x555727(0xd7)](_0x555727(0xd9),!0x1),this[_0x555727(0xcd)]=new _0xa4ec8c(_0x4b5317,_0x349b2e),this[_0x555727(0xcd)][_0x555727(0xb2)][_0x555727(0xbd)]({'attributes':{'maxlength':_0x555727(0xec)}}),this[_0x555727(0xcd)][_0x555727(0xb2)][_0x555727(0xca)](_0x555727(0xcc))['to'](this,_0x555727(0xc8),_0x5c8e7e=>_0x5c8e7e||this[_0x555727(0xcf)]),this[_0x555727(0xcd)][_0x555727(0xca)](_0x555727(0xd9))['to'](this,_0x555727(0xde),this,_0x555727(0xd9),(_0x2ae14e,_0x4c8d42)=>_0x2ae14e&&_0x4c8d42),this[_0x555727(0xe7)]=_0x42d31e&&_0x42d31e[_0x555727(0xc3)]?_0x33797c(this,_0x42d31e):'',this[_0x555727(0xe7)]&&this[_0x555727(0xe7)][_0x555727(0xca)](_0x555727(0xd9))['to'](this),this[_0x555727(0xc9)]({'tag':_0x555727(0xb6),'attributes':{'class':['ck',_0x555727(0xed),_0x555727(0xcb),_0x44a6eb['if'](_0x555727(0xe2),_0x555727(0xdc))]},'children':[{'tag':_0x555727(0xb6),'attributes':{'class':['ck',_0x555727(0xed),_0x555727(0xae),_0x44a6eb['if'](_0x555727(0xd9),_0x555727(0xd4),_0x4fc3d8=>!_0x4fc3d8),_0x44a6eb['if'](_0x555727(0xde),_0x555727(0xb9)),_0x44a6eb['if'](_0x555727(0xeb),_0x555727(0xe8)),_0x44a6eb['if'](_0x555727(0xe9),_0x555727(0xef))]},'children':[this[_0x555727(0xcd)],{'tag':_0x555727(0xe6),'attributes':{'class':['ck',_0x555727(0xaf)]},'children':[{'text':_0x44a6eb['to'](_0x555727(0xcf))}]},{'tag':_0x555727(0xb6),'attributes':{'class':['ck',_0x555727(0xba)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x555727(0xd1)]},'children':_0x127c7b}]},this[_0x555727(0xe7)]],'on':{'click':_0x44a6eb['to'](_0x3d6eb6=>{const _0x21386f=_0x555727;_0x3d6eb6[_0x21386f(0xb0)][_0x21386f(0xe5)](_0x21386f(0xc6))||this[_0x21386f(0xc0)]&&this[_0x21386f(0xd9)]&&this[_0x21386f(0xe4)](_0x21386f(0xce),{'id':this['id']});})}}]});}[_0x3eed45(0xdb)](){const _0x1787f7=_0x3eed45;super[_0x1787f7(0xdb)]();const _0x5c0a07=this[_0x1787f7(0xcd)][_0x1787f7(0xb2)][_0x1787f7(0xd2)];this[_0x1787f7(0xbe)](_0x5c0a07,_0x1787f7(0xb5),()=>{const _0x5a0efa=_0x1787f7;this[_0x5a0efa(0xc1)]&&!_0x5c0a07[_0x5a0efa(0xcc)]||this[_0x5a0efa(0xe4)](_0x5a0efa(0xb8),{'id':this['id'],'name':_0x5c0a07[_0x5a0efa(0xcc)]}),_0x5c0a07[_0x5a0efa(0xcc)]||(_0x5c0a07[_0x5a0efa(0xcc)]=this[_0x5a0efa(0xc8)]?this[_0x5a0efa(0xc8)]:this[_0x5a0efa(0xcf)]);});}[_0x3eed45(0xce)](){const _0x152b7d=_0x3eed45;this[_0x152b7d(0xde)]=!0x0;}[_0x3eed45(0xbc)](){const _0x5a7365=_0x3eed45;this[_0x5a7365(0xde)]=!0x1;}[_0x3eed45(0xee)](){const _0x530bea=_0x3eed45;this[_0x530bea(0xeb)]=!0x0;}[_0x3eed45(0xb3)](){const _0x579e62=_0x3eed45;this[_0x579e62(0xeb)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4e8d(_0x373b76,_0x4626f4){const _0x37b4ee=_0x37b4();return _0x4e8d=function(_0x4e8dd9,_0x425a3e){_0x4e8dd9=_0x4e8dd9-0x11f;let _0x5c0bfc=_0x37b4ee[_0x4e8dd9];return _0x5c0bfc;},_0x4e8d(_0x373b76,_0x4626f4);}const _0x2f7ead=_0x4e8d;(function(_0x1fadba,_0x30b7f2){const _0x350789=_0x4e8d,_0x58ef6e=_0x1fadba();while(!![]){try{const _0x53c560=-parseInt(_0x350789(0x12e))/0x1*(-parseInt(_0x350789(0x11f))/0x2)+parseInt(_0x350789(0x133))/0x3+parseInt(_0x350789(0x136))/0x4+-parseInt(_0x350789(0x121))/0x5+-parseInt(_0x350789(0x124))/0x6*(parseInt(_0x350789(0x131))/0x7)+parseInt(_0x350789(0x123))/0x8+-parseInt(_0x350789(0x129))/0x9;if(_0x53c560===_0x30b7f2)break;else _0x58ef6e['push'](_0x58ef6e['shift']());}catch(_0x3d5fb5){_0x58ef6e['push'](_0x58ef6e['shift']());}}}(_0x37b4,0xd4e43));import{View as _0x2c1165}from'ckeditor5/src/ui.js';function _0x37b4(){const _0x599f15=['span','8195280YbtXPv','72ZAAlAw','isVisible','set','true','ck-revision-history-sidebar__subrevision-collapser__inner','25527690WzZKVI','toggle','setTemplate','ck-revision-history-sidebar__subrevision-collapser','ck-revision-history-sidebar__subrevision-collapser_collapsed','31RDRMWj','ck-hidden','click','307650bViZvM','false','4362756SAlIOj','_isCollapsed','button','6942280KkOsLy','8850GeAyUv','bindTemplate','577970DSxWRi'];_0x37b4=function(){return _0x599f15;};return _0x37b4();}import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x2c1165{constructor(_0xfa4a6){const _0x4c99fa=_0x4e8d;super(_0xfa4a6);const _0x486c4b=this[_0x4c99fa(0x120)];this[_0x4c99fa(0x126)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x4c99fa(0x12b)]({'tag':_0x4c99fa(0x122),'attributes':{'class':['ck',_0x4c99fa(0x12c),_0x486c4b['if'](_0x4c99fa(0x125),_0x4c99fa(0x12f),_0x15bd97=>!_0x15bd97),_0x486c4b['if'](_0x4c99fa(0x134),_0x4c99fa(0x12d))],'role':_0x4c99fa(0x135),'aria-pressed':_0x486c4b['to'](_0x4c99fa(0x134),_0x4700d4=>_0x4700d4?_0x4c99fa(0x132):_0x4c99fa(0x127))},'children':[{'tag':_0x4c99fa(0x122),'attributes':{'class':['ck',_0x4c99fa(0x128)]}}],'on':{'click':_0x486c4b['to'](_0x4c99fa(0x130))}});}[_0x2f7ead(0x12a)](){const _0x17a1c4=_0x2f7ead;this[_0x17a1c4(0x134)]=!this[_0x17a1c4(0x134)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x238205=_0x24cd;(function(_0x137d24,_0x4e43e8){const _0x54e0ef=_0x24cd,_0x1a3474=_0x137d24();while(!![]){try{const _0x3c422b=-parseInt(_0x54e0ef(0x183))/0x1+parseInt(_0x54e0ef(0x171))/0x2+parseInt(_0x54e0ef(0x182))/0x3*(-parseInt(_0x54e0ef(0x18c))/0x4)+parseInt(_0x54e0ef(0x180))/0x5+-parseInt(_0x54e0ef(0x172))/0x6*(parseInt(_0x54e0ef(0x170))/0x7)+parseInt(_0x54e0ef(0x178))/0x8+parseInt(_0x54e0ef(0x177))/0x9*(parseInt(_0x54e0ef(0x17f))/0xa);if(_0x3c422b===_0x4e43e8)break;else _0x1a3474['push'](_0x1a3474['shift']());}catch(_0x2dc5d5){_0x1a3474['push'](_0x1a3474['shift']());}}}(_0x3411,0x4f809));import{View as _0x7624af}from'ckeditor5/src/ui.js';import _0x210abc from'./revisionauthorview.js';function _0x24cd(_0x4640e8,_0x4b08aa){const _0x3411d9=_0x3411();return _0x24cd=function(_0x24cdf4,_0x3e519f){_0x24cdf4=_0x24cdf4-0x16f;let _0x55db16=_0x3411d9[_0x24cdf4];return _0x55db16;},_0x24cd(_0x4640e8,_0x4b08aa);}import{dateToPrettyFormat as _0x196d83}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x7624af{constructor(_0x1bd1fe,_0xb52993,_0x2a7916){const _0x53b897=_0x24cd;super(_0x1bd1fe);const _0x3c2d98=this[_0x53b897(0x174)];this['id']=_0xb52993['id'],this[_0x53b897(0x176)](_0x53b897(0x16f))['to'](_0xb52993),this[_0x53b897(0x188)](_0x53b897(0x17c),!0x1),this[_0x53b897(0x176)](_0x53b897(0x186))['to'](this,_0x53b897(0x16f),_0x295e76=>_0x295e76?_0x196d83(_0x1bd1fe[_0x53b897(0x17a)],_0x295e76):void 0x0),this[_0x53b897(0x179)]=_0x2a7916,this[_0x53b897(0x187)]({'tag':_0x53b897(0x184),'attributes':{'class':['ck',_0x53b897(0x18b),_0x53b897(0x175),_0x53b897(0x17d),_0x3c2d98['if'](_0x53b897(0x17c),_0x53b897(0x189))]},'children':[{'tag':_0x53b897(0x17e),'attributes':{'class':['ck',_0x53b897(0x173)]},'children':[{'text':_0x3c2d98['to'](_0x53b897(0x186))}]},{'tag':'ul','attributes':{'class':['ck',_0x53b897(0x185)]},'children':[new _0x210abc(_0x1bd1fe,_0xb52993[_0x53b897(0x17b)],!0x0)]}],'on':{'click':_0x3c2d98['to'](this[_0x53b897(0x181)][_0x53b897(0x176)](this))}});}[_0x238205(0x181)](){const _0x1beb84=_0x238205;this[_0x1beb84(0x17c)]=!0x0,this[_0x1beb84(0x18d)](_0x1beb84(0x181),{'parentId':this[_0x1beb84(0x179)]});}[_0x238205(0x18a)](){const _0x2baa06=_0x238205;this[_0x2baa06(0x17c)]=!0x1;}}function _0x3411(){const _0x4732dc=['4kYtEtg','fire','createdAt','7dhdAif','308948yCNThS','670482ppAfzh','ck-revision-history-sidebar__revision__date','bindTemplate','ck-revision-history-sidebar__revision','bind','9846NOYNxe','3526744lbrIIj','_parentRevisionId','uiLanguage','creator','isSelected','ck-revision-history-sidebar__subrevision','span','70MYFDGT','255680iCDyaG','select','141801OzIdhw','169456DSLxEN','div','ck-revision-history-sidebar__revision-authors','_createdAtFormatted','setTemplate','set','ck-revision-history-sidebar__revision_selected','deselect','ck-reset'];_0x3411=function(){return _0x4732dc;};return _0x3411();}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x560f(_0x283872,_0x3bd37e){var _0x1694c5=_0x1694();return _0x560f=function(_0x560f08,_0x424bd1){_0x560f08=_0x560f08-0x163;var _0x4ee2b2=_0x1694c5[_0x560f08];return _0x4ee2b2;},_0x560f(_0x283872,_0x3bd37e);}(function(_0x1a7ea2,_0x1428bf){var _0x5a45ee=_0x560f,_0x23c2cf=_0x1a7ea2();while(!![]){try{var _0xcf1001=-parseInt(_0x5a45ee(0x164))/0x1+-parseInt(_0x5a45ee(0x167))/0x2+parseInt(_0x5a45ee(0x168))/0x3*(-parseInt(_0x5a45ee(0x169))/0x4)+parseInt(_0x5a45ee(0x165))/0x5*(-parseInt(_0x5a45ee(0x163))/0x6)+-parseInt(_0x5a45ee(0x16d))/0x7+parseInt(_0x5a45ee(0x16a))/0x8+parseInt(_0x5a45ee(0x16c))/0x9;if(_0xcf1001===_0x1428bf)break;else _0x23c2cf['push'](_0x23c2cf['shift']());}catch(_0x9c54f3){_0x23c2cf['push'](_0x23c2cf['shift']());}}}(_0x1694,0x4bfcd));export function dateToPrettyFormat(_0x4e21ff,_0x343106){var _0x215864=_0x560f;return _0x343106[_0x215864(0x16e)](_0x4e21ff,{'month':_0x215864(0x166),'day':_0x215864(0x16b)})+',\x20'+_0x343106[_0x215864(0x16f)](_0x4e21ff,{'hour':_0x215864(0x16b),'minute':_0x215864(0x16b)});}function _0x1694(){var _0x815c09=['4667920pXoavI','numeric','12874815iozkOZ','4062135iQvftX','toLocaleDateString','toLocaleTimeString','462OOIhLw','314920zhOMFw','16180fgMfgJ','long','808416GXbBsD','525hmgfUL','3524stnECD'];_0x1694=function(){return _0x815c09;};return _0x1694();}
|