@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240425.0 → 0.0.0-nightly-20240427.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 +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0xceb223=_0x12a7;function _0x12a7(_0x5691f6,_0x1c3e25){const _0x15e872=_0x15e8();return _0x12a7=function(_0x12a787,_0x434d2a){_0x12a787=_0x12a787-0xf6;let _0x39f059=_0x15e872[_0x12a787];return _0x39f059;},_0x12a7(_0x5691f6,_0x1c3e25);}(function(_0x3c4305,_0x1c6702){const _0x380598=_0x12a7,_0x59dbf5=_0x3c4305();while(!![]){try{const _0x4feeba=-parseInt(_0x380598(0x13d))/0x1*(parseInt(_0x380598(0xff))/0x2)+parseInt(_0x380598(0x154))/0x3+parseInt(_0x380598(0x1f4))/0x4+parseInt(_0x380598(0x184))/0x5+-parseInt(_0x380598(0x165))/0x6+-parseInt(_0x380598(0x11c))/0x7+-parseInt(_0x380598(0x1a1))/0x8;if(_0x4feeba===_0x1c6702)break;else _0x59dbf5['push'](_0x59dbf5['shift']());}catch(_0x565c2a){_0x59dbf5['push'](_0x59dbf5['shift']());}}}(_0x15e8,0x1a94c));import{Plugin as _0x1c655c,Command as _0x3fef62}from'ckeditor5/src/core.js';function _0x15e8(){const _0x67e5a3=['name','activeView','-new','isAtEnd','removeMarker:revision','ck-revision-history-root-add','mousedown','removeAttribute','forceDisabled','WidgetToolbarRepository','domEvent','rootName','endIndex','set','hasAttribute','element','useFillerType','toViewRange','toViewElement','change:isReady','changes','addRevisionData','attributesBefore','markersEnd','plugins','getChild','change:numberOfChanges','toViewPosition','editingDowncast','editor','isAtStart','222uSmkAS','isBlock','currentChangeNumber','nextPosition','push','mapper','nextSibling','_makeTape','object','addRoot','isAdded','schema','getRevisionRootsAttributes','nodeAfter','length','markersStart','ck-suggestion-marker--active','insert','bind','ck-revision-history-root-','start','children','activeChange','getClientRects','revision:','getRevisionData','flat','has','vid','450849UTXDRQ','showStack','getAttribute','_markMismatchedRemovedTags','insertion','elementStart','revision-start','uiElement','RevisionsRepository','return','view','getAttributes','dataDowncast','removeMarker:revision-suggestion','suggestion:','filter','ck-suggestion-preview-marker','processor','clear','collaboration.channelId','data-revision-','_getViewObj','_changeView','execute','addMarker:revision-suggestion:insertion','refresh','offsetSize','createRange','_threeWayMerge','_getChangeFromId','_makeModelFromViewString','_findChangeIdFromDomTarget','comment','611qBTvrg','consume','range','enableReadOnlyMode','maxOffset','target','stop','changeId','split','oldRevisionId','ck-suggestion-marker','destroy','_getDiff','getRootNames','default','_removeMissingPairs','_markSuggestions','POSITIVE_INFINITY','deletion','upcast','_update','forward','index','436563oAmlQT','error','isNavigationMode','isEqual','getRevision','checkAttribute','_markInsertions','revision-suggestion:','text','affectsData','_makeModelFromTape','_appendChild','splice','next','_processTape','previousPosition','ck-suggestion-marker-split','283032sOqElb','isAddSuggestion','revision-comment:','createUIElement','_sortAndFilterDiffChanges','remove','_revisions','_getRevisionsRange','data-change-id','toData','isOnRoot','parse','bindElementToMarker','removeMarker','config','elementEnd','showPreviousChange','keys','parent','for','indexOf','_cleanMarkers','pairId','isRemoveSuggestion','dataToMarker','observeMarkers','findIndex','_fixObsoleteTags','setAttribute','pop','startsWith','615130kRhwjW','map','get','isAfter','createPositionBefore','test','addRevision','markers','consumable','writer','change','addClass','document','revision-suggestion','restoreRevision','createRangeIn','all','string','_cleanUp','insertions','mapViewToDom','elementToAttribute','getIndex','isEnabled','isInline','softBreak','showNextChange','startIndex','marked','487672DQuPhr','getDomRoot','toModel','RevisionViewer','createPositionFromPath','catch','ck-suggestion-marker-','change:activeChange','shift','unbindElementFromMarkerName','_setDistance','vid_start','unshift','isAttached','vid_end','modelRange','repository','isIncorrect','item','attachChange','markerToHighlight','viewItem','merge','addMarker:revision-suggestion:deletion','locale','loadRevisionData','abs','userId','revisionHistoryAttachChange','_getViewForChange','attribute:vid','detachRoot','editing','addHighlight','listenTo','selection','updatePosition','conversion','diff','restoreRevisionCallback','isBefore','span','createRevision','_setConversion','first','sort','adapter','isCollapsed','downcastDispatcher','revision','add','_joinTapes','_balloon','backward','numberOfChanges','ck-revision-history-root--active','diffData','_removeRevisionMarkers','from','attributesAfter','includes','revision-viewer','then','right','model','bottom','pluginName','change:activeView','hasClass','_initInteractions','domConverter','commands','code','deletions','ck-suggestion-marker-merge','_refreshStartEndIndex','left','isObject','low','data','ck-revision-history-root-remove','addMarker:revision','_step','322752CrFQiR','side','authors','type','getItems','removeClass','_markMarkers','markerRange','ck-editor__editable__overlay','_activeViewTarget','forEach','getRoot','markerName','requires','ck-suggestion-preview-marker-','_changeIdToChange','enqueueChange','attributes','getWalker','isSuggestion','suggestion','values','revision-end','concat','wrap','level','newRevisionId','getCustomProperty','createAttributeElement','revisionHistoryLabel','highest','slice','compare','distance','isLimit','markerNameToElements','top','init','delete','roots','markerToData','reconvertMarker','_setChanges','resolve','find','done','end','mouseover','isReady','_data','isContent','_removeUnsupportedChanges','high','element:pre','isRemoved','change:isEnabled','revisionHistory'];_0x15e8=function(){return _0x67e5a3;};return _0x15e8();}import{scrollViewportToShowTarget as _0x74a71f}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3758b5}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x44498c,Element as _0x451d80,Text as _0x282e41,ViewDocumentFragment as _0x4cc8dc,ViewText as _0x4dc631,ViewElement as _0x2ca2f2,ViewContainerElement as _0xc0373d,ViewAttributeElement as _0x6062a,ViewEmptyElement as _0x31050e,ViewRawElement as _0x474ef0,ViewUIElement as _0x11e834}from'ckeditor5/src/engine.js';import{Users as _0x495951,getMarkerDomElement as _0x4356e4}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1dcf4f from'./ui/revisionviewer/changedetailsview.js';import _0x4d59db from'./revisionsrepository.js';import _0x2a3edc from'./changeitem.js';import{default as _0x436534}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0xdd36e3}from'lodash-es';const tt={'c':_0xc0373d,'a':_0x6062a,'e':_0x31050e,'r':_0x474ef0,'u':_0x11e834};export default class d extends _0x1c655c{static get[_0xceb223(0x1e3)](){const _0x4164df=_0xceb223;return _0x4164df(0x1a4);}static get[_0xceb223(0x201)](){return[_0x495951,_0x3758b5,_0x4d59db];}constructor(_0x502b4e){const _0x5383b8=_0xceb223;super(_0x502b4e),this[_0x5383b8(0x1b1)]=this[_0x5383b8(0xfd)][_0x5383b8(0xf8)][_0x5383b8(0x186)](_0x5383b8(0x124)),this[_0x5383b8(0x23a)](_0x5383b8(0x115),null),this[_0x5383b8(0x23a)](_0x5383b8(0x22e),null),this[_0x5383b8(0x1fd)]=null,this[_0x5383b8(0x23a)](_0x5383b8(0x1c7),null),this[_0x5383b8(0x23a)](_0x5383b8(0x224),!0x1),this[_0x5383b8(0x23a)](_0x5383b8(0x19b),!0x0),this['on'](_0x5383b8(0x22b),(_0x5af952,_0x4162b6,_0x2ed0f7)=>{const _0xaf1dca=_0x5383b8;this[_0xaf1dca(0x115)]=null,this[_0xaf1dca(0x22e)]=null,this[_0xaf1dca(0xfd)][_0xaf1dca(0x1c1)][_0xaf1dca(0x126)][_0xaf1dca(0x18e)](_0x1212db=>{const _0x1bba7d=_0xaf1dca;for(const _0x2dac07 of this[_0x1bba7d(0xfd)][_0x1bba7d(0x1c1)][_0x1bba7d(0x126)][_0x1bba7d(0x190)][_0x1bba7d(0x21b)])_0x2ed0f7?_0x1212db[_0x1bba7d(0x1f9)](_0x1bba7d(0x1fc),_0x2dac07):_0x1212db[_0x1bba7d(0x18f)](_0x1bba7d(0x1fc),_0x2dac07);});}),this[_0x5383b8(0x111)](_0x5383b8(0x156))['to'](this,_0x5383b8(0x115),_0x1dd22f=>null!==_0x1dd22f),this[_0x5383b8(0x111)](_0x5383b8(0x101))['to'](this,_0x5383b8(0x224),this,_0x5383b8(0x1c7),this,_0x5383b8(0x115),(_0x3875ca,_0x2a4565,_0x1cb365)=>_0x3875ca&&_0x1cb365?_0x2a4565[_0x5383b8(0x241)][_0x5383b8(0x19a)](_0x1cb365):0x0),this[_0x5383b8(0x111)](_0x5383b8(0x1d7))['to'](this,_0x5383b8(0x224),this,_0x5383b8(0x1c7),(_0x442068,_0x5d3639)=>_0x442068?_0x5d3639[_0x5383b8(0x241)][_0x5383b8(0x10d)]:0x0),this[_0x5383b8(0x132)]=null,this[_0x5383b8(0x203)]=new Map(),this[_0x5383b8(0x1cf)]=null,this[_0x5383b8(0x1d5)]=this[_0x5383b8(0xfd)][_0x5383b8(0xf8)][_0x5383b8(0x186)](_0x3758b5);}[_0xceb223(0x219)](){const _0x647aeb=_0xceb223,_0x5ae6d=this[_0x647aeb(0xfd)],_0x2820c1=new ShowChangeCommand(_0x5ae6d,{'direction':_0x647aeb(0x1d6)}),_0x25cc42=new ShowChangeCommand(_0x5ae6d,{'direction':_0x647aeb(0x152)});(_0x5ae6d[_0x647aeb(0x1e8)][_0x647aeb(0x1d3)](_0x647aeb(0x175),_0x2820c1),_0x5ae6d[_0x647aeb(0x1e8)][_0x647aeb(0x1d3)](_0x647aeb(0x19e),_0x25cc42),_0x5ae6d[_0x647aeb(0x1e8)][_0x647aeb(0x1d3)](_0x647aeb(0x192),new RestoreRevisionCommand(_0x5ae6d)),this['on'](_0x647aeb(0xfa),()=>{const _0x58291c=_0x647aeb;_0x2820c1[_0x58291c(0x135)](),_0x25cc42[_0x58291c(0x135)]();}),this[_0x647aeb(0x1cc)](),this[_0x647aeb(0x1e6)](),_0x5ae6d[_0x647aeb(0x140)](_0x647aeb(0x1de)),_0x5ae6d[_0x647aeb(0xf8)][_0x647aeb(0x11a)](_0x647aeb(0x236)))&&_0x5ae6d[_0x647aeb(0xf8)][_0x647aeb(0x186)](_0x647aeb(0x236))[_0x647aeb(0x235)](_0x647aeb(0x1de));}async[_0xceb223(0x118)](_0x15f214){const _0x1a894d=_0xceb223;await this[_0x1a894d(0x1ba)](_0x15f214);const _0x138625={};for(const _0x40f901 in _0x15f214[_0x1a894d(0x1d9)]){if(_0x15f214[_0x1a894d(0x1d9)][_0x40f901][_0x1a894d(0x1b4)]&&!_0x15f214[_0x1a894d(0x1d9)][_0x40f901][_0x1a894d(0x1b4)][_0x1a894d(0x1ae)])continue;const _0xab3c0=this[_0x1a894d(0x1da)](JSON[_0x1a894d(0x170)](_0x15f214[_0x1a894d(0x1d9)][_0x40f901][_0x1a894d(0x197)])),_0x9d8f25=this[_0x1a894d(0xfd)][_0x1a894d(0x1c1)][_0x1a894d(0x126)][_0x1a894d(0x190)],_0x223422=new _0x4cc8dc(_0x9d8f25,_0xab3c0[_0x1a894d(0x185)](_0xd49151=>this[_0x1a894d(0x131)](_0xd49151)));this[_0x1a894d(0xfd)][_0x1a894d(0x1f0)][_0x1a894d(0x12d)][_0x1a894d(0x23d)](_0x1a894d(0x1a0)),_0x138625[_0x40f901]=this[_0x1a894d(0xfd)][_0x1a894d(0x1f0)][_0x1a894d(0x12d)][_0x1a894d(0x16e)](_0x223422),this[_0x1a894d(0xfd)][_0x1a894d(0x1f0)][_0x1a894d(0x12d)][_0x1a894d(0x23d)](_0x1a894d(0x14b));}return _0x138625;}async[_0xceb223(0x10b)](_0x20c38a){const _0x18b6e9=_0xceb223;await this[_0x18b6e9(0x1ba)](_0x20c38a);const _0x3c5300={};for(const _0x40e187 in _0x20c38a[_0x18b6e9(0x1d9)])_0x20c38a[_0x18b6e9(0x1d9)][_0x40e187][_0x18b6e9(0x1b4)]&&!_0x20c38a[_0x18b6e9(0x1d9)][_0x40e187][_0x18b6e9(0x1b4)][_0x18b6e9(0x1ae)]||(_0x3c5300[_0x40e187]=_0x20c38a[_0x18b6e9(0x1d9)][_0x40e187][_0x18b6e9(0x1dc)]||{});return _0x3c5300;}[_0xceb223(0x1da)](_0x3fb51e){const _0x6038f5=_0xceb223;return(_0x3fb51e=_0x3fb51e[_0x6038f5(0x12b)](_0x400cdf=>!_0x400cdf[_0x6038f5(0x22d)]||_0x6038f5(0x122)!==_0x400cdf[_0x6038f5(0x22d)]&&_0x6038f5(0x20a)!==_0x400cdf[_0x6038f5(0x22d)]))[_0x6038f5(0x1fe)](_0x55d74c=>{const _0x508c03=_0x6038f5;_0x508c03(0x195)!=typeof _0x55d74c&&(_0x55d74c[_0x508c03(0x114)]=this[_0x508c03(0x1da)](_0x55d74c[_0x508c03(0x114)]),_0x55d74c[_0x508c03(0x205)]=_0x55d74c[_0x508c03(0x205)][_0x508c03(0x12b)](_0x23a851=>!_0x23a851[0x0][_0x508c03(0x183)](_0x508c03(0x130))));}),_0x3fb51e;}async[_0xceb223(0x214)](_0x334057,_0x46aef7,_0x2e8572=!0x1){const _0x1474de=_0xceb223;if(!this[_0x1474de(0x19b)])return;const _0x56f4ee=this[_0x1474de(0x1c7)],_0x1badd8=this[_0x1474de(0x1b1)],_0x2162fc=_0x1474de(0x195)==typeof _0x334057?_0x1badd8[_0x1474de(0x158)](_0x334057):_0x334057,_0x2b0b3e=_0x1474de(0x195)==typeof _0x46aef7?_0x1badd8[_0x1474de(0x158)](_0x46aef7):_0x46aef7,_0x80842c=_0x2162fc['id'],_0x523a2d=_0x2b0b3e?_0x2b0b3e['id']:null;if(!_0x2e8572&&this[_0x1474de(0x1c7)]&&this[_0x1474de(0x1c7)][_0x1474de(0x20e)]===_0x80842c&&this[_0x1474de(0x1c7)][_0x1474de(0x146)]===_0x523a2d)return Promise[_0x1474de(0x21f)]();this[_0x1474de(0x224)]=!0x1,this[_0x1474de(0x22e)]=null,this[_0x1474de(0x115)]=null,this[_0x1474de(0x1c7)]=new _0x436534(_0x80842c,_0x523a2d);const _0x58f7f3=this[_0x1474de(0x16c)](_0x2162fc,_0x2b0b3e,!0x0)[_0x1474de(0x185)](_0x30351c=>this[_0x1474de(0x1ba)](_0x30351c));return _0x58f7f3[_0x1474de(0x103)](new Promise(_0x4d1a77=>{setTimeout(_0x4d1a77,0x14);})),Promise[_0x1474de(0x194)](_0x58f7f3)[_0x1474de(0x1df)](()=>{const _0x1b1bb3=_0x1474de;if(!this[_0x1b1bb3(0x19b)])return;this[_0x1b1bb3(0x196)]();const _0x14cbb5=this[_0x1b1bb3(0x149)](_0x80842c,_0x523a2d);for(const _0x193197 of _0x14cbb5[_0x1b1bb3(0x241)])this[_0x1b1bb3(0x203)][_0x1b1bb3(0x23a)](_0x193197['id'],_0x193197);this[_0x1b1bb3(0xfd)][_0x1b1bb3(0x1e1)][_0x1b1bb3(0x204)]({'isUndoable':!0x1},_0x4cb89b=>{const _0x168708=_0x1b1bb3;for(const _0x53be1e of this[_0x168708(0xfd)][_0x168708(0x1e1)][_0x168708(0x190)][_0x168708(0x14a)]())_0x4cb89b[_0x168708(0x1c0)](_0x53be1e);for(const _0x1856bd of Object[_0x168708(0x176)](_0x14cbb5[_0x168708(0x1e1)])){const _0x14daed=_0x4cb89b[_0x168708(0x108)](_0x1856bd);for(const _0x325b0d of Object[_0x168708(0x176)](_0x14cbb5[_0x168708(0x205)][_0x1856bd]))_0x4cb89b[_0x168708(0x181)](_0x325b0d,_0x14cbb5[_0x168708(0x205)][_0x1856bd][_0x325b0d],_0x14daed);_0x4cb89b[_0x168708(0x110)](_0x14cbb5[_0x168708(0x1e1)][_0x1856bd],_0x14daed,0x0);}}),this[_0x1b1bb3(0x1c7)][_0x1b1bb3(0x21e)](this[_0x1b1bb3(0x169)](_0x14cbb5[_0x1b1bb3(0x241)])),this[_0x1b1bb3(0x224)]=!0x0;})[_0x1474de(0x1a6)](_0x22bf73=>{const _0x1beac1=_0x1474de;console[_0x1beac1(0x155)](_0x22bf73),this[_0x1beac1(0x196)](),_0x56f4ee&&(this[_0x1beac1(0x1c7)]=_0x56f4ee),this[_0x1beac1(0x224)]=!0x0;});}[_0xceb223(0x242)](_0x11d960,_0x43b5a7){const _0x7d9d81=_0xceb223,_0x490aba=this[_0x7d9d81(0x1b1)][_0x7d9d81(0x1cb)](_0x11d960);return _0x490aba['on'](_0x7d9d81(0x151),(_0x32a2e6,_0x16e587,_0x415be6)=>_0x43b5a7(_0x16e587,_0x415be6,_0x490aba)),this[_0x7d9d81(0x1b1)][_0x7d9d81(0x18a)](_0x490aba),_0x490aba;}[_0xceb223(0x1ba)](_0x2fec9d){const _0x255ec7=_0xceb223;if(!_0x2fec9d||_0x2fec9d[_0x255ec7(0x1d9)])return Promise[_0x255ec7(0x21f)]();{const _0x15f67a=this[_0x255ec7(0xfd)][_0x255ec7(0x173)][_0x255ec7(0x186)](_0x255ec7(0x12f));return this[_0x255ec7(0x1cf)][_0x255ec7(0x158)]({'channelId':_0x15f67a,'revisionId':_0x2fec9d['id']})[_0x255ec7(0x1df)](_0x582b43=>{const _0x5375b3=_0x255ec7;_0x2fec9d[_0x5375b3(0x151)]({'diffData':_0x582b43[_0x5375b3(0x1d9)]},!0x0);});}}[_0xceb223(0x196)](){const _0x2010d4=_0xceb223;this[_0x2010d4(0x115)]=null,this[_0x2010d4(0x17a)](),this[_0x2010d4(0x132)]&&this[_0x2010d4(0x132)][_0x2010d4(0x148)](),this[_0x2010d4(0x132)]=null,this[_0x2010d4(0x203)][_0x2010d4(0x12e)](),this[_0x2010d4(0xfd)][_0x2010d4(0x1e1)][_0x2010d4(0x204)]({'isUndoable':!0x1},_0x1206f8=>{const _0x2d3e49=_0x2010d4;for(const _0x16489e of this[_0x2d3e49(0xfd)][_0x2d3e49(0x1e1)][_0x2d3e49(0x190)][_0x2d3e49(0x14a)]())_0x1206f8[_0x2d3e49(0x1c0)](_0x16489e);});}[_0xceb223(0x169)](_0x51ce6e){const _0x2b378f=_0xceb223,_0x92ab04=[],_0x3d85a4=new Map();for(const _0x176218 of this[_0x2b378f(0xfd)][_0x2b378f(0x1e1)][_0x2b378f(0x190)][_0x2b378f(0x14a)]()){const _0x33a097=this[_0x2b378f(0xfd)][_0x2b378f(0x1c1)][_0x2b378f(0x126)][_0x2b378f(0x1a2)](_0x176218);if(!_0x33a097)continue;const _0xc16c83=_0x33a097[_0x2b378f(0x116)]()[_0x2b378f(0x1b3)](0x0);_0xc16c83&&(_0x92ab04[_0x2b378f(0x103)](_0x176218),_0x3d85a4[_0x2b378f(0x23a)](_0x176218,_0xc16c83));}return _0x92ab04[_0x2b378f(0x1ce)]((_0x3bb3ee,_0x2fdb0e)=>{const _0xbce92=_0x2b378f,_0x26854a=_0x3d85a4[_0xbce92(0x186)](_0x3bb3ee),_0x9cf31d=_0x3d85a4[_0xbce92(0x186)](_0x2fdb0e);return _0x26854a['y']-_0x9cf31d['y']||_0x26854a['x']-_0x9cf31d['x'];}),(_0x51ce6e=_0x51ce6e[_0x2b378f(0x12b)](_0x268df5=>_0x92ab04[_0x2b378f(0x1dd)](_0x268df5[_0x2b378f(0x238)])))[_0x2b378f(0x1ce)]((_0x411087,_0x35fd41)=>_0x92ab04[_0x2b378f(0x179)](_0x411087[_0x2b378f(0x238)])-_0x92ab04[_0x2b378f(0x179)](_0x35fd41[_0x2b378f(0x238)])),_0x51ce6e;}[_0xceb223(0x106)](_0x5ba420){const _0x2816aa=_0xceb223,_0x2bc81e=Array[_0x2816aa(0x1db)](_0x5ba420[_0x2816aa(0x18b)])[_0x2816aa(0x12b)](([_0x3946b6,_0xfb9141])=>_0x3946b6[_0x2816aa(0x183)](_0x2816aa(0x117))&&!_0xfb9141[_0x2816aa(0x1d0)]),_0x5aa72c=Array[_0x2816aa(0x1db)](this[_0x2816aa(0xfd)][_0x2816aa(0x1e1)][_0x2816aa(0x193)](_0x5ba420)[_0x2816aa(0x206)]({'singleCharacters':!0x0}));if(0x0!=_0x2bc81e[_0x2816aa(0x10d)])for(const _0x28ba8c of _0x5aa72c){const [_0x1ecec7,_0xc57973]=_0x2bc81e[0x0],[,_0x2c3231,_0x234eda]=_0x1ecec7[_0x2816aa(0x145)](':');if(_0xc57973[_0x2816aa(0x222)][_0x2816aa(0x157)](_0x28ba8c[_0x2816aa(0x102)])&&_0x2bc81e[_0x2816aa(0x1a9)](),(_0x28ba8c[_0x2816aa(0x163)][_0x2816aa(0x157)](_0xc57973[_0x2816aa(0x113)])||_0x28ba8c[_0x2816aa(0x163)][_0x2816aa(0x187)](_0xc57973[_0x2816aa(0x113)]))&&(_0x2816aa(0x120)==_0x2c3231?_0x28ba8c[_0x2816aa(0x109)]={'userId':_0x234eda}:_0x2816aa(0x14f)==_0x2c3231&&(_0x28ba8c[_0x2816aa(0x22a)]={'userId':_0x234eda})),0x0==_0x2bc81e[_0x2816aa(0x10d)])break;}return _0x5aa72c;}[_0xceb223(0x1ec)](_0x1c47c9){const _0x5653bd=_0xceb223,_0x55230f=new Map();for(let _0xd0b09c=0x0;_0xd0b09c<_0x1c47c9[_0x5653bd(0x10d)];_0xd0b09c++)_0x5653bd(0x15c)===_0x1c47c9[_0xd0b09c][_0x5653bd(0x1f7)]?(_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x19f)]=_0xd0b09c,_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x239)]=_0xd0b09c):(_0x5653bd(0x121)===_0x1c47c9[_0xd0b09c][_0x5653bd(0x1f7)]?_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x19f)]=_0xd0b09c:_0x5653bd(0x174)===_0x1c47c9[_0xd0b09c][_0x5653bd(0x1f7)]&&(_0x1c47c9[_0xd0b09c][_0x5653bd(0x1b3)][_0x5653bd(0x239)]=_0xd0b09c),_0x55230f[_0x5653bd(0x23a)](_0x1c47c9[_0xd0b09c]['id'],_0xd0b09c));for(const _0x4d6736 of _0x55230f[_0x5653bd(0x209)]())_0x5653bd(0x121)===_0x1c47c9[_0x4d6736][_0x5653bd(0x1f7)]?_0x1c47c9[_0x4d6736][_0x5653bd(0x1b3)][_0x5653bd(0x239)]=_0x55230f[_0x5653bd(0x186)](_0x1c47c9[_0x4d6736][_0x5653bd(0x17b)]):_0x5653bd(0x174)===_0x1c47c9[_0x4d6736][_0x5653bd(0x1f7)]&&(_0x1c47c9[_0x4d6736][_0x5653bd(0x1b3)][_0x5653bd(0x19f)]=_0x55230f[_0x5653bd(0x186)](_0x1c47c9[_0x4d6736][_0x5653bd(0x17b)]));}[_0xceb223(0x162)](_0x3138d1){const _0x4e2eac=_0xceb223;for(let _0x870cb1=0x0;_0x870cb1<_0x3138d1[_0x4e2eac(0x10d)];_0x870cb1++){if(_0x4e2eac(0x121)===_0x3138d1[_0x870cb1][_0x4e2eac(0x1f7)])_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x19f)]=_0x870cb1;else{if(_0x4e2eac(0x174)===_0x3138d1[_0x870cb1][_0x4e2eac(0x1f7)]){_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x239)]=_0x870cb1;const _0x4aeda2=_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x19f)];_0x3138d1[_0x4aeda2][_0x4e2eac(0x17b)]=_0x3138d1[_0x870cb1]['id'],_0x3138d1[_0x870cb1][_0x4e2eac(0x17b)]=_0x3138d1[_0x4aeda2]['id'];}else _0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x19f)]=_0x870cb1,_0x3138d1[_0x870cb1][_0x4e2eac(0x1b3)][_0x4e2eac(0x239)]=_0x870cb1,_0x3138d1[_0x870cb1][_0x4e2eac(0x17b)]=null;}_0x3138d1[_0x870cb1][_0x4e2eac(0x10e)]||(_0x3138d1[_0x870cb1][_0x4e2eac(0x10e)]=[],_0x3138d1[_0x870cb1][_0x4e2eac(0xf7)]=[]);}}[_0xceb223(0x15a)](_0x12baa3,_0x1865cb){const _0x34a49c=_0xceb223,_0x55921f=_0x12baa3[_0x34a49c(0x12b)](_0x1a9bca=>!_0x1a9bca[_0x34a49c(0x109)]);for(let _0x1fcf0e=0x0;_0x1fcf0e<_0x1865cb[_0x34a49c(0x10d)];_0x1fcf0e++)_0x1865cb[_0x1fcf0e][_0x34a49c(0x109)]&&(_0x55921f[_0x1fcf0e][_0x34a49c(0x109)]=_0x1865cb[_0x1fcf0e][_0x34a49c(0x109)]);}[_0xceb223(0x13a)](_0x16ef09){const _0x141893=_0xceb223,_0x3c9a65=JSON[_0x141893(0x170)](_0x16ef09),_0x258ed3=this[_0x141893(0xfd)][_0x141893(0x1c1)][_0x141893(0x126)][_0x141893(0x190)],_0x5a8e44=new _0x4cc8dc(_0x258ed3,_0x3c9a65[_0x141893(0x185)](_0x5d94ea=>this[_0x141893(0x131)](_0x5d94ea)));return this[_0x141893(0xfd)][_0x141893(0x1f0)][_0x141893(0x1a3)](_0x5a8e44);}[_0xceb223(0x131)](_0x5295a5){const _0x15783f=_0xceb223,_0x40b662=this[_0x15783f(0xfd)][_0x15783f(0x1c1)][_0x15783f(0x126)][_0x15783f(0x190)];if(_0x15783f(0x195)==typeof _0x5295a5)return new _0x4dc631(_0x40b662,_0x5295a5);{const _0x5c94b4=_0x5295a5[_0x15783f(0x114)][_0x15783f(0x185)](_0x5df1d6=>this[_0x15783f(0x131)](_0x5df1d6));return new(tt[_0x5295a5[(_0x15783f(0x1f7))]]||_0x2ca2f2)(_0x40b662,_0x5295a5[_0x15783f(0x22d)],_0x5295a5[_0x15783f(0x205)],_0x5c94b4);}}[_0xceb223(0x149)](_0x49c87d,_0xa86aa2=null){const _0x94389e=_0xceb223,_0xe8b91e=this[_0x94389e(0x1b1)][_0x94389e(0x158)](_0x49c87d),_0xe2605f=_0xa86aa2?this[_0x94389e(0x1b1)][_0x94389e(0x158)](_0xa86aa2):null,_0x96fefc=this[_0x94389e(0x16c)](_0xe8b91e,_0xe2605f),_0x408fd8=_0x96fefc[_0x96fefc[_0x94389e(0x10d)]-0x1],_0xfe569e=new Map(),_0xcf51c8={'model':{},'attributes':{},'changes':[]},_0x52548b=new Set(),_0x5c6289=new Map();for(let _0x2ef849=_0x96fefc[_0x94389e(0x10d)]-0x1;_0x2ef849>=0x0;_0x2ef849--){const _0x126adb=_0x96fefc[_0x2ef849];for(const _0x3e8b84 of Object[_0x94389e(0x176)](_0x126adb[_0x94389e(0x1d9)]))if(_0x126adb[_0x94389e(0x1d9)][_0x3e8b84][_0x94389e(0x1b4)]){const _0x5e9f67=_0x126adb[_0x94389e(0x1d9)][_0x3e8b84][_0x94389e(0x1b4)];_0x5e9f67[_0x94389e(0x1ae)]?(_0x52548b[_0x94389e(0x1d3)](_0x3e8b84),_0x5c6289[_0x94389e(0x11a)](_0x3e8b84)&&_0x5c6289[_0x94389e(0x186)](_0x3e8b84)[_0x94389e(0x1bc)]==_0x5e9f67[_0x94389e(0x1bc)]?_0x5c6289[_0x94389e(0x21a)](_0x3e8b84):_0x5c6289[_0x94389e(0x23a)](_0x3e8b84,_0x5e9f67)):_0x5c6289[_0x94389e(0x11a)](_0x3e8b84)?(_0x52548b[_0x94389e(0x21a)](_0x3e8b84),_0x5c6289[_0x94389e(0x21a)](_0x3e8b84)):(_0x52548b[_0x94389e(0x1d3)](_0x3e8b84),_0x5c6289[_0x94389e(0x23a)](_0x3e8b84,_0x5e9f67));}else _0x52548b[_0x94389e(0x1d3)](_0x3e8b84);}for(const _0x497d94 of _0x52548b){const _0x2a6762=_0x5c6289[_0x94389e(0x11a)](_0x497d94)&&!_0x5c6289[_0x94389e(0x186)](_0x497d94)[_0x94389e(0x1ae)];let _0x3277cd=_0x2a6762?_0x96fefc[_0x94389e(0x10d)]-0x1:0x0;const _0x285d45=_0x2a6762?-0x1:0x1;for(;_0x96fefc[_0x3277cd];){const _0xf8fba=_0x96fefc[_0x3277cd];if(_0xf8fba[_0x94389e(0x1d9)][_0x497d94]){const _0x25fa15=_0x2a6762?_0xf8fba[_0x94389e(0x1d9)][_0x497d94][_0x94389e(0xf6)]:_0xf8fba[_0x94389e(0x1d9)][_0x497d94][_0x94389e(0x1dc)];_0xcf51c8[_0x94389e(0x205)][_0x497d94]=_0x25fa15?_0xdd36e3(_0x25fa15):{};break;}_0x3277cd+=_0x285d45;}}for(const _0x46d772 of _0x96fefc){_0x46d772[_0x94389e(0x1e1)]={};for(const _0x544439 of _0x46d772[_0x94389e(0x1f6)])_0xfe569e[_0x94389e(0x23a)](_0x544439['id'],_0x544439);for(const _0x1b2865 of _0x52548b){const _0x4020ae=_0x46d772[_0x94389e(0x1d9)][_0x1b2865]?_0x46d772[_0x94389e(0x1d9)][_0x1b2865][_0x94389e(0x197)]:'[]',_0x5bbbdf=_0x46d772[_0x94389e(0x1d9)][_0x1b2865]?_0x46d772[_0x94389e(0x1d9)][_0x1b2865][_0x94389e(0x1ea)]:'[]';_0x46d772[_0x94389e(0x1e1)][_0x1b2865]={'insertions':this[_0x94389e(0x13a)](_0x4020ae),'deletions':this[_0x94389e(0x13a)](_0x5bbbdf)};}}for(const _0x3f2af0 of _0x52548b){let _0x3438d2=null,_0x89afb6=0x0;const _0x513140=new Map(Array[_0x94389e(0x1db)](_0xe8b91e[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x197)][_0x94389e(0x18b)])[_0x94389e(0x12b)](([_0x3170f8])=>!_0x3170f8[_0x94389e(0x183)](_0x94389e(0x117))));let _0x3179bf=0x0;for(const _0x1d4dce of _0x96fefc){const _0x1ca130=this[_0x94389e(0x106)](_0x1d4dce[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x197)]);_0x1d4dce==_0xe8b91e?(_0x3438d2=_0x1ca130,_0x89afb6=_0x3438d2[_0x94389e(0x10d)],_0x3438d2[_0x94389e(0x1fe)](_0x48bfe5=>{_0x48bfe5['id']=_0x3179bf++;}),this[_0x94389e(0x162)](_0x3438d2)):this[_0x94389e(0x15a)](_0x3438d2,_0x1ca130);const _0x197cf6=_0x3438d2[_0x94389e(0x12b)](_0x5b0bd2=>!_0x5b0bd2[_0x94389e(0x109)])[_0x94389e(0x185)](_0x4804f3=>_0x4804f3['id']);let _0x59894d=0x0;const _0x3a731c=this[_0x94389e(0x106)](_0x1d4dce[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x1ea)]);_0x3a731c[_0x94389e(0x1fe)](_0x10169d=>{const _0x492923=_0x94389e;_0x10169d[_0x492923(0x22a)]?_0x10169d['id']=_0x89afb6++:_0x10169d['id']=_0x197cf6[_0x59894d++];}),this[_0x94389e(0x162)](_0x3a731c),this[_0x94389e(0x1ab)](_0x3438d2,_0x94389e(0x109)),this[_0x94389e(0x1ab)](_0x3a731c,_0x94389e(0x22a)),_0x1d4dce==_0xe8b91e&&this[_0x94389e(0x1fa)](_0x3438d2,_0x513140),_0x3438d2=this[_0x94389e(0x1d4)](_0x3438d2,_0x3a731c),this[_0x94389e(0x1ec)](_0x3438d2),this[_0x94389e(0x1ab)](_0x3438d2,_0x94389e(0x22a));}_0x3438d2=_0x3438d2[_0x94389e(0x12b)](_0x2dbf98=>!(_0x2dbf98[_0x94389e(0x109)]&&_0x2dbf98[_0x94389e(0x22a)]));const _0x993350=new Map(_0x408fd8[_0x94389e(0x1e1)][_0x3f2af0][_0x94389e(0x1ea)][_0x94389e(0x18b)]),_0x48f5ab=new Set(_0x513140[_0x94389e(0x176)]());for(const _0x287d6e of _0x993350[_0x94389e(0x176)]())_0x48f5ab[_0x94389e(0x21a)](_0x287d6e);this[_0x94389e(0x14d)](_0x3438d2,_0x48f5ab),this[_0x94389e(0x180)](_0x3438d2),_0x3438d2=this[_0x94389e(0x14c)](_0x3438d2),_0x3438d2=this[_0x94389e(0x11f)](_0x3438d2),_0x3438d2=this[_0x94389e(0x227)](_0x3438d2);const {root:_0x24eca5,changes:_0x190a1d}=this[_0x94389e(0x15e)](_0x3438d2,_0xfe569e,_0x3f2af0);_0xcf51c8[_0x94389e(0x1e1)][_0x3f2af0]=_0x24eca5;const _0x2c4715=_0x5c6289[_0x94389e(0x186)](_0x3f2af0);if(_0x2c4715){const _0xe7b27b=_0xfe569e[_0x94389e(0x186)](_0x2c4715[_0x94389e(0x1bc)]),_0x47adb6=new _0x2a3edc({'author':_0xe7b27b,'type':_0x2c4715[_0x94389e(0x1ae)]?_0x94389e(0x1d3):_0x94389e(0x16a),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3f2af0});_0x190a1d[_0x94389e(0x1ad)](_0x47adb6),_0xcf51c8[_0x94389e(0x205)][_0x3f2af0][_0x94389e(0x1bd)]=_0x47adb6['id'];}_0xcf51c8[_0x94389e(0x241)]=_0xcf51c8[_0x94389e(0x241)][_0x94389e(0x20b)](_0x190a1d);}return _0xcf51c8;}[_0xceb223(0x1fa)](_0x297494,_0x340fd4){const _0x5004cb=_0xceb223;for(let _0x4725d7=0x0;_0x4725d7<_0x297494[_0x5004cb(0x10d)];_0x4725d7++)for(const [_0x2562ce,_0x1a1283]of _0x340fd4)_0x1a1283[_0x5004cb(0x113)][_0x5004cb(0x157)](_0x297494[_0x4725d7][_0x5004cb(0x163)])&&_0x297494[_0x4725d7][_0x5004cb(0x10e)][_0x5004cb(0x103)](_0x2562ce),_0x1a1283[_0x5004cb(0x222)][_0x5004cb(0x157)](_0x297494[_0x4725d7][_0x5004cb(0x102)])&&_0x297494[_0x4725d7][_0x5004cb(0xf7)][_0x5004cb(0x103)](_0x2562ce);}[_0xceb223(0x1d4)](_0x162785,_0x110d22){const _0x5eeb3f=_0xceb223;let _0x155fec=[],_0x1726c8=0x0,_0xba8fd2=0x0;for(;_0x1726c8<_0x162785[_0x5eeb3f(0x10d)]||_0xba8fd2<_0x110d22[_0x5eeb3f(0x10d)];){const _0x12e648=_0x162785[_0x1726c8]||{},_0x171f8a=_0x110d22[_0xba8fd2]||{};if(_0x12e648['id']==_0x171f8a['id'])_0x1726c8++,_0xba8fd2++,_0x155fec[_0x5eeb3f(0x103)](_0x12e648);else{if(_0x171f8a[_0x5eeb3f(0x22a)]&&_0x12e648[_0x5eeb3f(0x109)]){const {commonTape:_0x4f052b,iEnd:_0x5ed161,jEnd:_0x2fddbc}=this[_0x5eeb3f(0x138)](_0x162785,_0x1726c8,_0x110d22,_0xba8fd2);_0x155fec=_0x155fec[_0x5eeb3f(0x20b)](_0x4f052b),_0x1726c8=_0x5ed161,_0xba8fd2=_0x2fddbc;}else _0x171f8a[_0x5eeb3f(0x22a)]?(_0xba8fd2++,_0x155fec[_0x5eeb3f(0x103)](_0x171f8a)):(_0x1726c8++,_0x155fec[_0x5eeb3f(0x103)](_0x12e648));}}return _0x155fec;}[_0xceb223(0x14d)](_0x5cf979,_0x4fdf6d){const _0x2fb059=_0xceb223,_0x1cb565=[];for(let _0x41ea14=0x0;_0x41ea14<_0x5cf979[_0x2fb059(0x10d)];_0x41ea14++){for(let _0x5f57b5=0x0;_0x5f57b5<_0x5cf979[_0x41ea14][_0x2fb059(0x10e)][_0x2fb059(0x10d)];_0x5f57b5++){const _0x5d5003=_0x5cf979[_0x41ea14][_0x2fb059(0x10e)][_0x5f57b5];if(!_0x4fdf6d[_0x2fb059(0x11a)](_0x5d5003))continue;const {group:_0x5bd435,type:_0x54ff72,authorId:_0x50accd}=_0x1ab6bc(_0x5d5003);_0x2fb059(0x191)!=_0x5bd435||_0x2fb059(0x120)!=_0x54ff72&&_0x2fb059(0x14f)!=_0x54ff72||(_0x1cb565[_0x2fb059(0x1ad)]({'type':_0x54ff72,'name':_0x5d5003,'userId':_0x50accd}),_0x5cf979[_0x41ea14][_0x2fb059(0x10e)][_0x2fb059(0x160)](_0x5f57b5,0x1),_0x5f57b5--);}_0x326943(_0x5cf979[_0x41ea14]);for(let _0x467794=0x0;_0x467794<_0x5cf979[_0x41ea14][_0x2fb059(0xf7)][_0x2fb059(0x10d)];_0x467794++){const _0x18a733=_0x5cf979[_0x41ea14][_0x2fb059(0xf7)][_0x467794];if(!_0x4fdf6d[_0x2fb059(0x11a)](_0x18a733))continue;const {group:_0x2a2ffa,type:_0x157100}=_0x1ab6bc(_0x18a733);if(_0x2fb059(0x191)!=_0x2a2ffa||_0x2fb059(0x120)!=_0x157100&&_0x2fb059(0x14f)!=_0x157100)continue;_0x5cf979[_0x41ea14][_0x2fb059(0xf7)][_0x2fb059(0x160)](_0x467794,0x1),_0x467794--;const _0x27c6df=_0x1cb565[_0x2fb059(0x17f)](_0x52c9ec=>_0x52c9ec[_0x2fb059(0x22d)]==_0x18a733);_0x27c6df>-0x1&&_0x1cb565[_0x2fb059(0x160)](_0x27c6df,0x1);}}function _0x1ab6bc(_0x13e712){const _0x568f16=_0x2fb059,_0x1d18fc=_0x13e712[_0x568f16(0x145)](':');return{'group':_0x1d18fc[0x0],'type':_0x1d18fc[0x1],'subType':_0x1d18fc[_0x568f16(0x10d)]>=0x5?_0x1d18fc[0x2]:null,'id':_0x1d18fc[_0x568f16(0x10d)]<0x5?_0x1d18fc[0x2]:_0x1d18fc[0x3],'authorId':_0x1d18fc[_0x568f16(0x10d)]<0x5?_0x1d18fc[0x3]:_0x1d18fc[0x4],'markerCount':0x6==_0x1d18fc[_0x568f16(0x10d)]?_0x1d18fc[0x5]:null};}function _0x326943(_0x22cbaf){const _0x4ff7e5=_0x2fb059;for(let _0x16c16a=0x0;_0x16c16a<_0x1cb565[_0x4ff7e5(0x10d)];_0x16c16a++){if(_0x22cbaf[_0x4ff7e5(0x109)]&&_0x4ff7e5(0x120)==_0x1cb565[_0x16c16a][_0x4ff7e5(0x1f7)])return _0x22cbaf[_0x4ff7e5(0x166)]=_0x1cb565[_0x16c16a],void delete _0x22cbaf[_0x4ff7e5(0x109)];if(!_0x22cbaf[_0x4ff7e5(0x109)]&&!_0x22cbaf[_0x4ff7e5(0x22a)]&&_0x4ff7e5(0x14f)==_0x1cb565[_0x16c16a][_0x4ff7e5(0x1f7)])return void(_0x22cbaf[_0x4ff7e5(0x17c)]=_0x1cb565[_0x16c16a]);}}}[_0xceb223(0x1ab)](_0x3267e4,_0x12c1dd){const _0x45f9ec=_0xceb223;let _0x5745c9=0x0,_0x4d3dbb=!0x1;const _0x3f0428=new Map();for(const _0x3ed624 of _0x3267e4)_0x3ed624[_0x12c1dd]?_0x4d3dbb&&(_0x5745c9++,_0x4d3dbb=!0x1):(_0x5745c9++,_0x4d3dbb=!0x0),_0x3f0428[_0x45f9ec(0x23a)](_0x3ed624['id'],_0x5745c9);for(let _0x413a7a=0x0;_0x413a7a<_0x3267e4[_0x45f9ec(0x10d)];_0x413a7a++){if(_0x45f9ec(0x22a)==_0x12c1dd&&_0x3267e4[_0x413a7a][_0x45f9ec(0x109)]||_0x45f9ec(0x109)==_0x12c1dd&&_0x3267e4[_0x413a7a][_0x45f9ec(0x22a)])continue;if(_0x45f9ec(0x15c)==_0x3267e4[_0x413a7a][_0x45f9ec(0x1f7)]){_0x3267e4[_0x413a7a][_0x45f9ec(0x215)]=0x0;continue;}const _0x20bf56=_0x3f0428[_0x45f9ec(0x186)](_0x3267e4[_0x413a7a][_0x45f9ec(0x17b)]),_0x4cc615=_0x3f0428[_0x45f9ec(0x186)](_0x3267e4[_0x413a7a]['id']);_0x3267e4[_0x413a7a][_0x45f9ec(0x215)]=_0x20bf56-_0x4cc615;}}[_0xceb223(0x16c)](_0x56eed2,_0x52e4c9,_0x803aa9=!0x1){const _0x27217f=_0xceb223,_0x142964=[];let _0x44730a=this[_0x27217f(0x1b1)][_0x27217f(0x19a)](_0x56eed2),_0x3932c3=this[_0x27217f(0x1b1)][_0x27217f(0x19a)](_0x52e4c9);for(-0x1==_0x3932c3&&(_0x3932c3=this[_0x27217f(0x1b1)][_0x27217f(0x16b)][_0x27217f(0x10d)],_0x803aa9=!0x1);_0x44730a<_0x3932c3;)_0x142964[_0x27217f(0x103)](this[_0x27217f(0x1b1)][_0x27217f(0x158)](_0x44730a)),_0x44730a++;return _0x803aa9&&_0x142964[_0x27217f(0x103)](this[_0x27217f(0x1b1)][_0x27217f(0x158)](_0x44730a)),_0x142964;}[_0xceb223(0x138)](_0x51b5fa,_0x58d1eb,_0x3b64bd,_0x2c379a){const _0x1a0312=_0xceb223,_0x388d8e=this[_0x1a0312(0xfd)][_0x1a0312(0x1e1)][_0x1a0312(0x10a)];let _0x122de4=_0x58d1eb;for(;_0x51b5fa[_0x122de4]&&_0x51b5fa[_0x122de4][_0x1a0312(0x109)];)_0x122de4++;let _0xdc7fe8=_0x2c379a;for(;_0x3b64bd[_0xdc7fe8]&&_0x3b64bd[_0xdc7fe8][_0x1a0312(0x22a)];)_0xdc7fe8++;_0x275940(_0x51b5fa,_0x58d1eb,_0x122de4),_0x275940(_0x3b64bd,_0x2c379a,_0xdc7fe8);const _0x1e15b9=_0x3b64bd[_0x1a0312(0x213)](_0x2c379a,_0xdc7fe8)[_0x1a0312(0x20b)](_0x51b5fa[_0x1a0312(0x213)](_0x58d1eb,_0x122de4));return _0x1e15b9[_0x1a0312(0x1ce)]((_0x1913b2,_0x2b5e01)=>_0x1913b2[_0x1a0312(0x1f5)]!=_0x2b5e01[_0x1a0312(0x1f5)]?_0x1913b2[_0x1a0312(0x1f5)]-_0x2b5e01[_0x1a0312(0x1f5)]:_0x1913b2[_0x1a0312(0x20d)]!=_0x2b5e01[_0x1a0312(0x20d)]?_0x1913b2[_0x1a0312(0x20d)]-_0x2b5e01[_0x1a0312(0x20d)]:_0x1913b2[_0x1a0312(0x215)]!=_0x2b5e01[_0x1a0312(0x215)]?_0x2b5e01[_0x1a0312(0x215)]-_0x1913b2[_0x1a0312(0x215)]:!!_0x1913b2[_0x1a0312(0x109)]!=!!_0x2b5e01[_0x1a0312(0x109)]?-0x1==_0x1913b2[_0x1a0312(0x1f5)]||0x0==_0x1913b2[_0x1a0312(0x1f5)]?_0x1913b2[_0x1a0312(0x109)]?-0x1:0x1:_0x1913b2[_0x1a0312(0x109)]?0x1:-0x1:_0x1913b2[_0x1a0312(0x153)]-_0x2b5e01[_0x1a0312(0x153)]),{'commonTape':_0x1e15b9,'iEnd':_0x122de4,'jEnd':_0xdc7fe8};function _0x275940(_0x5eb57d,_0x11135d,_0x3c989c){const _0x581d30=_0x1a0312;let _0x4b4855=-0x1,_0x2c78eb=Number[_0x581d30(0x14e)],_0x38de20=!0x0;for(let _0x14df09=_0x11135d;_0x14df09<_0x3c989c;_0x14df09++)if(_0x388d8e[_0x581d30(0x19c)](_0x5eb57d[_0x14df09][_0x581d30(0x1b3)])||(_0x38de20=!0x1),_0x5eb57d[_0x14df09][_0x581d30(0x1b3)][_0x581d30(0x19f)]<_0x11135d&&(_0x4b4855=_0x14df09),_0x5eb57d[_0x14df09][_0x581d30(0x1b3)][_0x581d30(0x239)]>=_0x3c989c){_0x2c78eb=_0x14df09;break;}_0x38de20&&(_0x4b4855=_0x3c989c-0x1);for(let _0x27c79f=_0x11135d;_0x27c79f<_0x3c989c;_0x27c79f++)_0x5eb57d[_0x27c79f][_0x581d30(0x1f5)]=_0x27c79f<=_0x4b4855?-0x1:_0x27c79f<_0x2c78eb?0x0:0x1,_0x5eb57d[_0x27c79f][_0x581d30(0x153)]=_0x27c79f;let _0x35d97c=0x0;for(let _0x26c3ba=_0x11135d;_0x26c3ba<=_0x4b4855;_0x26c3ba++)0x0==_0x5eb57d[_0x26c3ba][_0x581d30(0x215)]?_0x5eb57d[_0x26c3ba][_0x581d30(0x20d)]=_0x35d97c:(_0x35d97c++,_0x5eb57d[_0x26c3ba][_0x581d30(0x20d)]=_0x35d97c,_0x35d97c++);for(let _0x46b3a0=_0x11135d;_0x46b3a0<_0x3c989c;_0x46b3a0++)0x0==_0x5eb57d[_0x46b3a0][_0x581d30(0x1f5)]&&(_0x5eb57d[_0x46b3a0][_0x581d30(0x20d)]=_0x35d97c);_0x35d97c=0x0;for(let _0x56ca00=_0x3c989c-0x1;_0x56ca00>=_0x2c78eb;_0x56ca00--)0x0==_0x5eb57d[_0x56ca00][_0x581d30(0x215)]?_0x5eb57d[_0x56ca00][_0x581d30(0x20d)]=_0x35d97c:(_0x35d97c--,_0x5eb57d[_0x56ca00][_0x581d30(0x20d)]=_0x35d97c,_0x35d97c--);}}[_0xceb223(0x180)](_0x144b16){const _0x3fc2bf=_0xceb223,_0x104a58=new Map(),_0x55969c=this[_0x3fc2bf(0xfd)][_0x3fc2bf(0x1e1)][_0x3fc2bf(0x10a)];for(let _0x4df3d8=0x1;_0x4df3d8<_0x144b16[_0x3fc2bf(0x10d)];_0x4df3d8++){let _0x303236,_0x5c96d4,_0x32397c;const _0x12d107=_0x144b16[_0x4df3d8],_0x200477=_0x144b16[_0x4df3d8-0x1];if(_0x3fc2bf(0x15c)==_0x12d107[_0x3fc2bf(0x1f7)])continue;if(_0x12d107[_0x3fc2bf(0x1f7)]!=_0x200477[_0x3fc2bf(0x1f7)])continue;if(!_0x55969c[_0x3fc2bf(0x100)](_0x200477[_0x3fc2bf(0x1b3)])||_0x55969c[_0x3fc2bf(0x216)](_0x200477[_0x3fc2bf(0x1b3)]))continue;if(!_0x55969c[_0x3fc2bf(0x100)](_0x12d107[_0x3fc2bf(0x1b3)])||_0x55969c[_0x3fc2bf(0x216)](_0x12d107[_0x3fc2bf(0x1b3)]))continue;if((_0x144b16[_0x4df3d8][_0x3fc2bf(0x109)]||_0x144b16[_0x4df3d8][_0x3fc2bf(0x166)])&&_0x144b16[_0x4df3d8-0x1][_0x3fc2bf(0x22a)])_0x303236=_0x144b16[_0x4df3d8],_0x5c96d4=_0x144b16[_0x4df3d8-0x1],_0x32397c=_0x4df3d8-0x1;else{if(!_0x144b16[_0x4df3d8][_0x3fc2bf(0x22a)]||!_0x144b16[_0x4df3d8-0x1][_0x3fc2bf(0x109)]&&!_0x144b16[_0x4df3d8-0x1][_0x3fc2bf(0x166)])continue;_0x303236=_0x144b16[_0x4df3d8-0x1],_0x5c96d4=_0x144b16[_0x4df3d8],_0x32397c=_0x4df3d8;}const _0x4362e6=_0x303236[_0x3fc2bf(0x20d)]==_0x5c96d4[_0x3fc2bf(0x20d)],_0x27e8de=Math[_0x3fc2bf(0x1bb)](_0x303236[_0x3fc2bf(0x20d)])<Math[_0x3fc2bf(0x1bb)](_0x5c96d4[_0x3fc2bf(0x20d)])&&0x0==_0x5c96d4[_0x3fc2bf(0x215)];(_0x4362e6||_0x27e8de)&&(_0x104a58[_0x3fc2bf(0x23a)](_0x5c96d4['id'],_0x303236['id']),_0x144b16[_0x3fc2bf(0x160)](_0x32397c,0x1),_0x4df3d8--,_0x303236[_0x3fc2bf(0x109)]=!0x1);}for(let _0x2d44f0=0x0;_0x2d44f0<_0x144b16[_0x3fc2bf(0x10d)];_0x2d44f0++)_0x104a58[_0x3fc2bf(0x11a)](_0x144b16[_0x2d44f0][_0x3fc2bf(0x17b)])&&(_0x144b16[_0x2d44f0][_0x3fc2bf(0x17b)]=_0x104a58[_0x3fc2bf(0x186)](_0x144b16[_0x2d44f0][_0x3fc2bf(0x17b)]));}[_0xceb223(0x14c)](_0x141cc3){const _0x19f254=_0xceb223,_0x5125cd=new Set(_0x141cc3[_0x19f254(0x185)](_0x34236b=>_0x34236b['id']));for(let _0x306790=0x0;_0x306790<_0x141cc3[_0x19f254(0x10d)];_0x306790++)_0x5125cd[_0x19f254(0x11a)](_0x141cc3[_0x306790][_0x19f254(0x17b)])||0x0==_0x141cc3[_0x306790][_0x19f254(0x215)]||(_0x141cc3[_0x306790][_0x19f254(0x1b2)]=!0x0);return _0x141cc3[_0x19f254(0x12b)](_0x407f82=>!_0x407f82[_0x19f254(0x1b2)]);}[_0xceb223(0x11f)](_0x6d66c4){const _0x1040a4=_0xceb223,_0x414609=new Set();for(let _0x44a1f0=0x0;_0x44a1f0<_0x6d66c4[_0x1040a4(0x10d)];_0x44a1f0++){if(_0x414609[_0x1040a4(0x11a)](_0x6d66c4[_0x44a1f0]['id'])&&_0x6d66c4[_0x44a1f0][_0x1040a4(0x22a)]&&(_0x6d66c4[_0x44a1f0][_0x1040a4(0x1b2)]=!0x0),_0x6d66c4[_0x44a1f0][_0x1040a4(0x1b2)])continue;if(0x0==_0x6d66c4[_0x44a1f0][_0x1040a4(0x215)])continue;if(_0x1040a4(0x121)!=_0x6d66c4[_0x44a1f0][_0x1040a4(0x1f7)])continue;if(null==_0x6d66c4[_0x44a1f0][_0x1040a4(0x17b)])continue;let _0xc70365=_0x44a1f0+0x1,_0x2fe5e3=0x0;for(;_0x6d66c4[_0xc70365]['id']!=_0x6d66c4[_0x44a1f0][_0x1040a4(0x17b)];)_0x1040a4(0x121)==_0x6d66c4[_0xc70365][_0x1040a4(0x1f7)]?_0x2fe5e3++:_0x1040a4(0x174)==_0x6d66c4[_0xc70365][_0x1040a4(0x1f7)]&&_0x2fe5e3--,_0xc70365++;if(0x0!=_0x2fe5e3){if(_0x6d66c4[_0x44a1f0][_0x1040a4(0x22a)])_0x6d66c4[_0x44a1f0][_0x1040a4(0x1b2)]=!0x0;else{for(;_0xc70365!=_0x44a1f0;)_0x6d66c4[_0xc70365][_0x1040a4(0x22a)]&&0x0!=_0x6d66c4[_0xc70365][_0x1040a4(0x215)]&&(_0x6d66c4[_0xc70365][_0x1040a4(0x1b2)]=!0x0,_0x414609[_0x1040a4(0x1d3)](_0x6d66c4[_0xc70365][_0x1040a4(0x17b)])),_0xc70365--;}}}return _0x6d66c4[_0x1040a4(0x12b)](_0x56a806=>!_0x56a806[_0x1040a4(0x1b2)]);}[_0xceb223(0x227)](_0x4f2571){const _0x278f07=_0xceb223,_0x227f38=this[_0x278f07(0xfd)][_0x278f07(0x1e1)][_0x278f07(0x10a)];for(let _0x880b15=0x0;_0x880b15<_0x4f2571[_0x278f07(0x10d)];_0x880b15++){if(!(_0x4f2571[_0x880b15][_0x278f07(0x109)]||_0x4f2571[_0x880b15][_0x278f07(0x166)]||_0x4f2571[_0x880b15][_0x278f07(0x22a)]||_0x4f2571[_0x880b15][_0x278f07(0x17c)]))continue;if(0x0==_0x4f2571[_0x880b15][_0x278f07(0x215)])continue;const _0x47220e=_0x4f2571[_0x880b15][_0x278f07(0x1b3)];_0x227f38[_0x278f07(0x100)](_0x47220e)||_0x227f38[_0x278f07(0x216)](_0x47220e)||(_0x4f2571[_0x880b15][_0x278f07(0x109)]&&delete _0x4f2571[_0x880b15][_0x278f07(0x109)],_0x4f2571[_0x880b15][_0x278f07(0x166)]&&delete _0x4f2571[_0x880b15][_0x278f07(0x166)],_0x4f2571[_0x880b15][_0x278f07(0x17c)]&&delete _0x4f2571[_0x880b15][_0x278f07(0x17c)],_0x4f2571[_0x880b15][_0x278f07(0x22a)]&&(_0x4f2571[_0x880b15][_0x278f07(0x1b2)]=!0x0));}return _0x4f2571[_0x278f07(0x12b)](_0x556ee8=>!_0x556ee8[_0x278f07(0x1b2)]);}[_0xceb223(0x15e)](_0x2767bc,_0x3eff0f,_0xb46054){const _0x8831b4=_0xceb223,_0x253063=new _0x44498c(),_0x81e78=[],_0x1fbde2=new Map(),_0x3cf84d=this[_0x8831b4(0xfd)][_0x8831b4(0x1e1)],_0x4d9bc6=_0x3cf84d[_0x8831b4(0x10a)],_0x41c35c=[_0x253063],_0x124c85={},_0x468c9f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x595f14=null;const _0x1216d9=[0x0];for(let _0x138b6a=0x0;_0x138b6a<_0x2767bc[_0x8831b4(0x10d)];_0x138b6a++){let _0x1f55e6,_0x28639e;if(_0x8831b4(0x121)===_0x2767bc[_0x138b6a][_0x8831b4(0x1f7)]){_0x1f55e6=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9);const _0x587c4d=new _0x451d80(_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x22d)],_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x127)]());_0x41c35c[0x0][_0x8831b4(0x15f)](_0x587c4d),_0x1216d9[_0x8831b4(0x103)](0x0),_0x41c35c[_0x8831b4(0x1ad)](_0x587c4d),_0x28639e=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x595f14=null;}else{if(_0x8831b4(0x174)===_0x2767bc[_0x138b6a][_0x8831b4(0x1f7)])_0x41c35c[_0x8831b4(0x1a9)](),_0x1f55e6=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x1216d9[_0x8831b4(0x182)](),_0x1216d9[_0x1216d9[_0x8831b4(0x10d)]-0x1]++,_0x28639e=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x595f14=null;else{if(_0x1f55e6=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9),_0x595f14&&_0x3136ed(_0x595f14,_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)]))_0x595f14[_0x8831b4(0x225)]+=_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x1f0)];else{const _0x571b45=new _0x282e41(_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x1f0)],_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x127)]());_0x41c35c[0x0][_0x8831b4(0x15f)](_0x571b45),_0x595f14=_0x571b45;}_0x1216d9[_0x1216d9[_0x8831b4(0x10d)]-0x1]+=_0x2767bc[_0x138b6a][_0x8831b4(0x1b3)][_0x8831b4(0x136)],_0x28639e=_0x3cf84d[_0x8831b4(0x1a5)](_0x253063,_0x1216d9);}}for(const _0x1b6c76 of _0x2767bc[_0x138b6a][_0x8831b4(0x10e)])_0x1fbde2[_0x8831b4(0x23a)](_0x1b6c76,{'start':_0x1f55e6,'end':null});_0x48b12d(_0x8831b4(0x17c),_0x138b6a,_0x1f55e6,_0x28639e),_0x48b12d(_0x8831b4(0x166),_0x138b6a,_0x1f55e6,_0x28639e),_0x48b12d(_0x8831b4(0x22a),_0x138b6a,_0x1f55e6,_0x28639e),_0x48b12d(_0x8831b4(0x109),_0x138b6a,_0x1f55e6,_0x28639e);for(const _0x4f12a4 of _0x2767bc[_0x138b6a][_0x8831b4(0xf7)]){_0x1fbde2[_0x8831b4(0x186)](_0x4f12a4)[_0x8831b4(0x222)]=_0x28639e;}}for(const [_0x51e82b,_0x4ad00a]of _0x1fbde2){const _0x12286e=this[_0x8831b4(0xfd)][_0x8831b4(0x1e1)][_0x8831b4(0x137)](_0x4ad00a[_0x8831b4(0x113)],_0x4ad00a[_0x8831b4(0x222)]);_0x253063[_0x8831b4(0x18b)][_0x8831b4(0x23a)](_0x51e82b,_0x12286e);}return _0x81e78[_0x8831b4(0x1ce)]((_0x1d54cc,_0x5bd3fe)=>{const _0x462ffe=_0x8831b4,_0x16e52b=_0x253063[_0x462ffe(0x18b)][_0x462ffe(0x186)](_0x462ffe(0x117)+_0x1d54cc['id']),_0x437a62=_0x253063[_0x462ffe(0x18b)][_0x462ffe(0x186)](_0x462ffe(0x117)+_0x5bd3fe['id']);return _0x16e52b[_0x462ffe(0x113)][_0x462ffe(0x1c9)](_0x437a62[_0x462ffe(0x113)])?-0x1:_0x16e52b[_0x462ffe(0x113)][_0x462ffe(0x187)](_0x437a62[_0x462ffe(0x113)])?0x1:_0x16e52b[_0x462ffe(0x222)][_0x462ffe(0x1c9)](_0x437a62[_0x462ffe(0x222)])?-0x1:_0x16e52b[_0x462ffe(0x222)][_0x462ffe(0x187)](_0x437a62[_0x462ffe(0x222)])?0x1:_0x462ffe(0x1d3)===_0x1d54cc[_0x462ffe(0x1f7)]?-0x1:0x1;}),{'root':_0x253063,'changes':_0x81e78};function _0x48b12d(_0x4c8c2b,_0x431a19,_0x1a958d,_0x471f3f){const _0x4872f7=_0x8831b4,_0x28b22d=!!_0x2767bc[_0x431a19][_0x4c8c2b],_0x10063f=_0x28b22d?_0x2767bc[_0x431a19][_0x4c8c2b][_0x4872f7(0x1bc)]:null,_0x4175c7=_0x431a19===_0x2767bc[_0x4872f7(0x10d)]-0x1,_0x5e3270=_0x468c9f[_0x4c8c2b][0x0],_0x42819a=_0x4d9bc6[_0x4872f7(0x1ee)](_0x2767bc[_0x431a19][_0x4872f7(0x1b3)]);!_0x124c85[_0x4c8c2b]&&_0x28b22d?_0x124c85[_0x4c8c2b]={'start':_0x1a958d,'tapeItem':_0x2767bc[_0x431a19],'userId':_0x10063f,'type':_0x4c8c2b}:_0x124c85[_0x4c8c2b]&&!_0x28b22d?(_0x124c85[_0x4c8c2b][_0x4872f7(0x222)]=_0x1a958d,_0x51c9dd(_0x124c85[_0x4c8c2b]),_0x124c85[_0x4c8c2b]=null):_0x124c85[_0x4c8c2b]&&_0x28b22d&&_0x124c85[_0x4c8c2b][_0x4872f7(0x1bc)]!==_0x10063f&&(_0x124c85[_0x4c8c2b][_0x4872f7(0x222)]=_0x1a958d,_0x5e3270&&_0x5e3270[_0x4872f7(0x1bc)]===_0x124c85[_0x4c8c2b][_0x4872f7(0x1bc)]||_0x51c9dd(_0x124c85[_0x4c8c2b]),_0x124c85[_0x4c8c2b]={'start':_0x1a958d,'tapeItem':_0x2767bc[_0x431a19],'userId':_0x10063f,'type':_0x4c8c2b}),_0x124c85[_0x4c8c2b]&&_0x42819a&&(_0x4872f7(0x121)!==_0x2767bc[_0x431a19][_0x4872f7(0x1f7)]||_0x5e3270&&_0x5e3270[_0x4872f7(0x1bc)]===_0x10063f||_0x468c9f[_0x4c8c2b][_0x4872f7(0x1ad)]({'userId':_0x10063f,'object':_0x2767bc[_0x431a19][_0x4872f7(0x1b3)],'change':_0x124c85[_0x4c8c2b]}),_0x4872f7(0x174)===_0x2767bc[_0x431a19][_0x4872f7(0x1f7)]&&_0x5e3270&&_0x5e3270[_0x4872f7(0x107)]===_0x2767bc[_0x431a19][_0x4872f7(0x1b3)]&&(_0x468c9f[_0x4c8c2b][_0x4872f7(0x1a9)](),_0x124c85[_0x4c8c2b]=_0x5e3270[_0x4872f7(0x18e)])),_0x124c85[_0x4c8c2b]&&_0x4175c7&&(_0x124c85[_0x4c8c2b][_0x4872f7(0x222)]=_0x471f3f,_0x51c9dd(_0x124c85[_0x4c8c2b]),_0x124c85[_0x4c8c2b]=null);}function _0x51c9dd({start:_0x4fd8ea,end:_0x23f500,tapeItem:_0x3ca332,userId:_0x20ccbe,type:_0x57ee1a}){const _0x3715be=_0x8831b4,_0x431121=_0x3ca332[_0x3715be(0x1b3)],_0x36fac0=_0x3cf84d[_0x3715be(0x10a)][_0x3715be(0x100)](_0x431121)&&!_0x3cf84d[_0x3715be(0x10a)][_0x3715be(0x216)](_0x431121),_0x2ca256=_0x4fd8ea[_0x3715be(0x10c)]==_0x23f500[_0x3715be(0x177)]&&_0x23f500[_0x3715be(0xfe)];if(_0x36fac0&&_0x2ca256)return;const _0x37a872=_0x3cf84d[_0x3715be(0x137)](_0x4fd8ea,_0x23f500),_0x5df341=_0x3eff0f[_0x3715be(0x186)](_0x20ccbe),_0x2e44cc=new _0x2a3edc({'author':_0x5df341,'type':_0x3715be(0x109)==_0x57ee1a||_0x3715be(0x166)==_0x57ee1a?_0x3715be(0x1d3):_0x3715be(0x16a),'data':{'isSuggestion':_0x3715be(0x166)==_0x57ee1a||_0x3715be(0x17c)==_0x57ee1a},'createdAt':new Date(),'rootName':_0xb46054});_0x81e78[_0x3715be(0x103)](_0x2e44cc),_0x253063[_0x3715be(0x18b)][_0x3715be(0x23a)](_0x3715be(0x117)+_0x2e44cc['id'],_0x37a872);}function _0x3136ed(_0x5c4662,_0x28dd16){const _0x3acd5a=_0x8831b4,_0x1584a7=_0x5c4662[_0x3acd5a(0x127)](),_0x50d966=_0x28dd16[_0x3acd5a(0x127)]();for(const _0x19d338 of _0x1584a7){if(_0x19d338[0x1]!==_0x28dd16[_0x3acd5a(0x11e)](_0x19d338[0x0]))return!0x1;_0x50d966[_0x3acd5a(0x161)]();}return _0x50d966[_0x3acd5a(0x161)]()[_0x3acd5a(0x221)];}}[_0xceb223(0x1cc)](){const _0xbd02a4=_0xceb223;this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x17d)]({'view':_0xbd02a4(0x1d2)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0xfc))[_0xbd02a4(0x1b5)]({'model':_0xbd02a4(0x1d2),'view':_0x45b363=>{const _0xf18f89=_0xbd02a4,_0x41ea30=_0x45b363[_0xf18f89(0x200)][_0xf18f89(0x145)](':')[0x1],_0x4a7736=this[_0xf18f89(0x139)](_0x41ea30);if(!_0x4a7736)return null;const _0x2e0b34=_0xf18f89(0x1d3)==_0x4a7736[_0xf18f89(0x1f7)]?_0xf18f89(0x120):_0xf18f89(0x14f),_0x2d5905=[_0xf18f89(0x147),_0xf18f89(0x1a7)+_0x2e0b34];return _0x4a7736[_0xf18f89(0x1f0)][_0xf18f89(0x207)]&&_0x2d5905[_0xf18f89(0x103)](_0xf18f89(0x1a7)+_0x2e0b34+_0xf18f89(0x22f)),this[_0xf18f89(0x115)]==_0x4a7736&&_0x2d5905[_0xf18f89(0x103)](_0xf18f89(0x10f)),{'classes':_0x2d5905,'attributes':{'data-change-id':_0x41ea30}};}}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x1d3)](_0x575ae1=>{const _0x27caaa=_0xbd02a4;_0x575ae1['on'](_0x27caaa(0x229),(_0x224d9a,_0x2aabe7,_0x5b8de7)=>{const _0x448cf1=_0x27caaa,_0x2fd5ba=_0x2aabe7[_0x448cf1(0x1b6)][_0x448cf1(0xf9)](0x0);if(!_0x2fd5ba||!_0x2fd5ba['is'](_0x448cf1(0x23c),_0x448cf1(0x1e9)))return;if(!_0x5b8de7[_0x448cf1(0x18c)][_0x448cf1(0x13e)](_0x2fd5ba,{'attributes':[_0x448cf1(0x1ac),_0x448cf1(0x1af)]}))return;const _0x38b2b3=_0x2aabe7[_0x448cf1(0x1b0)][_0x448cf1(0x113)][_0x448cf1(0x10c)];_0x5b8de7[_0x448cf1(0x18d)][_0x448cf1(0x181)](_0x448cf1(0x1ac),_0x2fd5ba[_0x448cf1(0x11e)](_0x448cf1(0x1ac)),_0x38b2b3),_0x5b8de7[_0x448cf1(0x18d)][_0x448cf1(0x181)](_0x448cf1(0x1af),_0x2fd5ba[_0x448cf1(0x11e)](_0x448cf1(0x1af)),_0x38b2b3);},{'priority':_0x27caaa(0x1ef)});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x1d3)](_0x281b65=>{const _0x3a594c=_0xbd02a4;_0x281b65['on'](_0x3a594c(0x23c),(_0x37a1e5,_0xa352ca,_0x418040)=>{const _0x5515e8=_0x3a594c;if(!_0x418040[_0x5515e8(0x18c)][_0x5515e8(0x13e)](_0xa352ca[_0x5515e8(0x1b6)],{'attributes':[_0x5515e8(0x1ac),_0x5515e8(0x1af)]}))return;if(_0xa352ca[_0x5515e8(0x1b0)][_0x5515e8(0x1d0)])return;const _0x35d5aa=_0xa352ca[_0x5515e8(0x1b0)][_0x5515e8(0x113)][_0x5515e8(0x10c)];_0x35d5aa[_0x5515e8(0x23b)](_0x5515e8(0x1ac))||_0x35d5aa[_0x5515e8(0x23b)](_0x5515e8(0x11b))||(_0x418040[_0x5515e8(0x18d)][_0x5515e8(0x181)](_0x5515e8(0x1ac),_0xa352ca[_0x5515e8(0x1b6)][_0x5515e8(0x11e)](_0x5515e8(0x1ac)),_0x35d5aa),_0x418040[_0x5515e8(0x18d)][_0x5515e8(0x181)](_0x5515e8(0x1af),_0xa352ca[_0x5515e8(0x1b6)][_0x5515e8(0x11e)](_0x5515e8(0x1af)),_0x35d5aa));},{'priority':_0x3a594c(0x1ef)});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x199)]({'view':{'name':_0xbd02a4(0x1ca),'attributes':{'vid':!0x0}},'model':{'key':_0xbd02a4(0x11b),'value':_0x173359=>_0x173359[_0xbd02a4(0x11e)](_0xbd02a4(0x11b))}}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1e1)][_0xbd02a4(0x10a)]['on'](_0xbd02a4(0x159),(_0x13fedd,[,_0x22aba9])=>{const _0x4a5cd6=_0xbd02a4;[_0x4a5cd6(0x1ac),_0x4a5cd6(0x1af),_0x4a5cd6(0x11b)][_0x4a5cd6(0x1dd)](_0x22aba9)&&(_0x13fedd[_0x4a5cd6(0x125)]=!0x0,_0x13fedd[_0x4a5cd6(0x143)]());},{'priority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x128))[_0xbd02a4(0x1d3)](_0xfea504=>{const _0x595132=_0xbd02a4;_0xfea504['on'](_0x595132(0x1bf),(_0x345a7f,_0x258f23,_0x40f256)=>{const _0x23932b=_0x595132;if('\x20'!=_0x258f23[_0x23932b(0x1b3)][_0x23932b(0x1f0)]||_0x258f23[_0x23932b(0x1b3)][_0x23932b(0x177)][_0x23932b(0x141)]>0x1)return;if(!_0x40f256[_0x23932b(0x18c)][_0x23932b(0x13e)](_0x258f23[_0x23932b(0x1b3)],_0x345a7f[_0x23932b(0x22d)]))return;const _0x39d40b=_0x40f256[_0x23932b(0x18d)],_0x179f9e=_0x40f256[_0x23932b(0x104)][_0x23932b(0x23e)](_0x258f23[_0x23932b(0x13f)]);_0x39d40b[_0x23932b(0x20c)](_0x179f9e,_0x39d40b[_0x23932b(0x210)](_0x23932b(0x1ca)));});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x128))[_0xbd02a4(0x21c)]({'model':_0xbd02a4(0x1d2)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x1f2),function(_0x381bcf){const _0xfb9b74=_0xbd02a4,_0x3d6bbe=_0x381bcf[_0xfb9b74(0xf8)][_0xfb9b74(0x186)](_0xfb9b74(0x1a4));return(_0x2c788b,_0x194e77,_0x2fb08a)=>{const _0xfc6470=_0xfb9b74,_0x2c437c=_0x194e77[_0xfc6470(0x200)][_0xfc6470(0x145)](':')[0x1],_0x305ab6=_0x3d6bbe[_0xfc6470(0x139)](_0x2c437c);if(!_0x305ab6)return null;const _0x1e799f=_0xfc6470(0x1d3)==_0x305ab6[_0xfc6470(0x1f7)]?_0xfc6470(0x145):_0xfc6470(0x1b7);if(!_0x2fb08a[_0xfc6470(0x18c)][_0xfc6470(0x189)](_0x194e77[_0xfc6470(0x1fb)],_0x2c788b[_0xfc6470(0x22d)]))return;const _0x5532c6=_0x194e77[_0xfc6470(0x1fb)][_0xfc6470(0x206)](),_0x5719a7=_0x194e77[_0xfc6470(0x1fb)][_0xfc6470(0x113)],_0x17c474=_0x381bcf[_0xfc6470(0x1e1)][_0xfc6470(0x10a)];let _0x1ef2ca=null,_0x409999=null,_0x7d51=!0x1,_0x58edd8=!0x1;for(const _0x5937a3 of _0x5532c6){const _0x15c57e=_0x5937a3[_0xfc6470(0x1b3)];_0x7d51=_0x7d51||_0x17c474[_0xfc6470(0x226)](_0x15c57e);const _0x42a853=_0x2fb08a[_0xfc6470(0x104)][_0xfc6470(0x23f)](_0x15c57e);if(_0x42a853&&_0x42a853[_0xfc6470(0x20f)](_0xfc6470(0x1c2)))return;_0xfc6470(0x174)==_0x5937a3[_0xfc6470(0x1f7)]&&(_0x17c474[_0xfc6470(0x100)](_0x15c57e)&&!_0x17c474[_0xfc6470(0x216)](_0x15c57e)&&(_0x15c57e[_0xfc6470(0x105)]||_0x5719a7[_0xfc6470(0x230)]?_0x1ef2ca&&_0x1ef2ca[_0xfc6470(0x177)]==_0x15c57e||(_0x1ef2ca=_0x15c57e,_0x56f18a(_0x5937a3[_0xfc6470(0x163)]),_0x58edd8=!0x0):_0x409999=_0x409999||_0x5937a3[_0xfc6470(0x163)]));}function _0x56f18a(_0x2656e4){const _0x23125e=_0xfc6470,_0x2eb688=_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x168)](_0x23125e(0x1ca),{'class':_0x23125e(0x1a7)+_0x1e799f}),_0x34b440=_0x2fb08a[_0x23125e(0x104)][_0x23125e(0xfb)](_0x2656e4);_0x305ab6[_0x23125e(0x1f0)][_0x23125e(0x207)]&&_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x18f)](_0x23125e(0x1a7)+_0x1e799f+_0x23125e(0x22f),_0x2eb688),_0x3d6bbe[_0x23125e(0x115)]==_0x305ab6&&_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x18f)](_0x23125e(0x10f),_0x2eb688),_0x2fb08a[_0x23125e(0x18d)][_0x23125e(0x110)](_0x34b440,_0x2eb688),_0x2fb08a[_0x23125e(0x104)][_0x23125e(0x171)](_0x2eb688,_0x194e77[_0x23125e(0x200)]);}_0x7d51||_0x58edd8||!_0x409999||_0x56f18a(_0x409999);};}(this[_0xbd02a4(0xfd)]),{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x231),(_0xb951f3,_0x58b877,_0x2718c3)=>{const _0x336fe0=_0xbd02a4,_0x27030f=_0x2718c3[_0x336fe0(0x104)][_0x336fe0(0x217)](_0x58b877[_0x336fe0(0x200)]);if(_0x27030f){for(const _0x41710e of _0x27030f)(_0x41710e[_0x336fe0(0x1e5)](_0x336fe0(0x164))||_0x41710e[_0x336fe0(0x1e5)](_0x336fe0(0x1eb)))&&(_0x2718c3[_0x336fe0(0x104)][_0x336fe0(0x1aa)](_0x41710e,_0x58b877[_0x336fe0(0x200)]),_0x2718c3[_0x336fe0(0x18d)][_0x336fe0(0x16a)](_0x41710e));}},{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x1f2),(_0x392474,_0x32937a,_0x40f844)=>{const _0x51317b=_0xbd02a4,_0x185bc6=_0x32937a[_0x51317b(0x200)][_0x51317b(0x145)](':')[0x1],_0x183b24=this[_0x51317b(0x139)](_0x185bc6);if(!_0x183b24)return null;const _0x503817=_0x51317b(0x1d3)==_0x183b24[_0x51317b(0x1f7)]?_0x51317b(0x145):_0x51317b(0x1b7);if(_0x40f844[_0x51317b(0x18c)][_0x51317b(0x189)](_0x32937a[_0x51317b(0x1fb)],_0x392474[_0x51317b(0x22d)]))for(const _0x2279c0 of _0x32937a[_0x51317b(0x1fb)][_0x51317b(0x1f8)]()){if(!_0x2279c0['is'](_0x51317b(0x23c),_0x51317b(0x19d)))continue;const _0xb06ec6=_0x40f844[_0x51317b(0x18d)][_0x51317b(0x168)](_0x51317b(0x1ca),{'class':_0x51317b(0x1a7)+_0x503817}),_0x46683c=_0x40f844[_0x51317b(0x104)][_0x51317b(0xfb)](this[_0x51317b(0xfd)][_0x51317b(0x1e1)][_0x51317b(0x188)](_0x2279c0));_0x183b24[_0x51317b(0x1f0)][_0x51317b(0x207)]&&_0x40f844[_0x51317b(0x18d)][_0x51317b(0x18f)](_0x51317b(0x1a7)+_0x503817+_0x51317b(0x22f),_0xb06ec6),this[_0x51317b(0x115)]==_0x183b24&&_0x40f844[_0x51317b(0x18d)][_0x51317b(0x18f)](_0x51317b(0x10f),_0xb06ec6),_0x40f844[_0x51317b(0x18d)][_0x51317b(0x110)](_0x46683c,_0xb06ec6),_0x40f844[_0x51317b(0x104)][_0x51317b(0x171)](_0xb06ec6,_0x32937a[_0x51317b(0x200)]);}},{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1e1)][_0xbd02a4(0x190)]['on'](_0xbd02a4(0x18e),()=>{const _0x1b8b0a=_0xbd02a4;this[_0x1b8b0a(0xfd)][_0x1b8b0a(0x1c1)][_0x1b8b0a(0x126)][_0x1b8b0a(0x18e)](_0x5322e8=>{const _0x46e26b=_0x1b8b0a;for(const _0x2ba73e of this[_0x46e26b(0xfd)][_0x46e26b(0x1e1)][_0x46e26b(0x190)][_0x46e26b(0x14a)]()){const _0xb1021a=this[_0x46e26b(0xfd)][_0x46e26b(0x1e1)][_0x46e26b(0x190)][_0x46e26b(0x1ff)](_0x2ba73e),_0x4b2234=this[_0x46e26b(0xfd)][_0x46e26b(0x1c1)][_0x46e26b(0x126)][_0x46e26b(0x190)][_0x46e26b(0x1ff)](_0x2ba73e);if(_0x4b2234){const _0x57b860=_0xb1021a[_0x46e26b(0x11e)](_0x46e26b(0x1bd));if(_0x5322e8[_0x46e26b(0x234)](_0x46e26b(0x16d),_0x4b2234),_0x5322e8[_0x46e26b(0x1f9)](_0x46e26b(0x232),_0x4b2234),_0x5322e8[_0x46e26b(0x1f9)](_0x46e26b(0x1f1),_0x4b2234),_0x5322e8[_0x46e26b(0x1f9)](_0x46e26b(0x1d8),_0x4b2234),_0x57b860){const _0x173baa=this[_0x46e26b(0x139)](_0x57b860);if(!_0x173baa)return null;_0x5322e8[_0x46e26b(0x181)](_0x46e26b(0x16d),_0x57b860,_0x4b2234),_0x5322e8[_0x46e26b(0x18f)](_0x46e26b(0x112)+_0x173baa[_0x46e26b(0x1f7)],_0x4b2234),this[_0x46e26b(0x115)]==_0x173baa&&_0x5322e8[_0x46e26b(0x18f)](_0x46e26b(0x1d8),_0x4b2234);}}}});}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x17d)]({'view':_0xbd02a4(0x13c),'model':_0xa98a85=>_0xbd02a4(0x167)+_0xa98a85,'converterPriority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x150))[_0xbd02a4(0x17d)]({'view':_0xbd02a4(0x208),'model':_0x3bcf32=>_0xbd02a4(0x15b)+_0x3bcf32,'converterPriority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0x128))[_0xbd02a4(0x21c)]({'model':_0xbd02a4(0x191),'view':_0x2bd6fe=>({'name':_0xbd02a4(0x12a)+_0x2bd6fe,'group':_0xbd02a4(0x191)}),'converterPriority':_0xbd02a4(0x212)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c6)][_0xbd02a4(0x178)](_0xbd02a4(0xfc))[_0xbd02a4(0x1b5)]({'model':_0xbd02a4(0x191),'view':_0x2ac05b=>{const _0xc3c8f6=_0xbd02a4,_0x4d6f02=_0x2ac05b[_0xc3c8f6(0x200)][_0xc3c8f6(0x145)](':')[0x1];return _0xc3c8f6(0x120)!=_0x4d6f02&&_0xc3c8f6(0x14f)!=_0x4d6f02?null:{'classes':[_0xc3c8f6(0x12c),_0xc3c8f6(0x202)+_0x4d6f02]};}}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x1b8),et(this[_0xbd02a4(0xfd)],_0xbd02a4(0x1b7)),{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x134),et(this[_0xbd02a4(0xfd)],_0xbd02a4(0x145)),{'priority':_0xbd02a4(0x228)}),this[_0xbd02a4(0xfd)][_0xbd02a4(0x1c1)][_0xbd02a4(0x1d1)]['on'](_0xbd02a4(0x129),(_0x293cdd,_0x4a2f24,_0x54b956)=>{const _0x18e1e7=_0xbd02a4,_0x49e780=_0x54b956[_0x18e1e7(0x104)][_0x18e1e7(0x217)](_0x4a2f24[_0x18e1e7(0x200)]);if(_0x49e780){for(const _0x104591 of _0x49e780)_0x104591['is'](_0x18e1e7(0x123))&&(_0x54b956[_0x18e1e7(0x104)][_0x18e1e7(0x1aa)](_0x104591,_0x4a2f24[_0x18e1e7(0x200)]),_0x54b956[_0x18e1e7(0x18d)][_0x18e1e7(0x16a)](_0x104591));}},{'priority':_0xbd02a4(0x228)});}[_0xceb223(0x139)](_0x482bc7){const _0x448200=_0xceb223;return this[_0x448200(0x203)][_0x448200(0x186)](_0x482bc7);}[_0xceb223(0x1be)](_0x103c6d){const _0x17b652=_0xceb223;return this[_0x17b652(0x132)]&&this[_0x17b652(0x132)][_0x17b652(0x148)](),this[_0x17b652(0x132)]=new _0x1dcf4f(this[_0x17b652(0xfd)][_0x17b652(0x1b9)],_0x103c6d),this[_0x17b652(0x132)];}[_0xceb223(0x1e6)](){const _0x202720=_0xceb223;this[_0x202720(0xfd)][_0x202720(0x1e1)][_0x202720(0x190)][_0x202720(0x1c4)][_0x202720(0x17e)](_0x202720(0x1d2)),this['on'](_0x202720(0x1e4),(_0x4b592b,_0x45b6b3,_0x4ed053,_0x5658b2)=>{const _0x49e6e3=_0x202720;_0x5658b2&&this[_0x49e6e3(0x1d5)][_0x49e6e3(0x16a)](_0x5658b2),_0x4ed053&&(this[_0x49e6e3(0x1d5)][_0x49e6e3(0x1d3)]({'view':_0x4ed053,'stackId':_0x49e6e3(0x211),'position':{'target':()=>{const _0x39db7e=_0x49e6e3,_0x46ad4a=this[_0x39db7e(0xfd)][_0x39db7e(0x1c1)],_0x3a8b02=this[_0x39db7e(0x139)](_0x4ed053[_0x39db7e(0x144)]);let _0x15e8d9;if(_0x3a8b02[_0x39db7e(0x1f0)][_0x39db7e(0x16f)]){const _0x4736dc=_0x46ad4a[_0x39db7e(0x126)][_0x39db7e(0x1a2)](_0x3a8b02[_0x39db7e(0x238)]);_0x15e8d9=Array[_0x39db7e(0x1db)](_0x4736dc[_0x39db7e(0x116)]());}else{const _0x5b9197=this[_0x39db7e(0xfd)][_0x39db7e(0x1e1)][_0x39db7e(0x18b)][_0x39db7e(0x186)](_0x39db7e(0x117)+_0x4ed053[_0x39db7e(0x144)]);_0x15e8d9=Array[_0x39db7e(0x1db)](_0x46ad4a[_0x39db7e(0x104)][_0x39db7e(0x217)](_0x5b9197[_0x39db7e(0x22d)]))[_0x39db7e(0x185)](_0x60b11=>_0x46ad4a[_0x39db7e(0x126)][_0x39db7e(0x1e7)][_0x39db7e(0x198)](_0x60b11))[_0x39db7e(0x185)](_0x2de997=>Array[_0x39db7e(0x1db)](_0x2de997[_0x39db7e(0x116)]()))[_0x39db7e(0x119)]();}if(!this[_0x39db7e(0x1fd)])return _0x15e8d9[0x0];return _0x15e8d9[_0x39db7e(0x220)](_0x453959=>_0x453959[_0x39db7e(0x218)]-0x3<=this[_0x39db7e(0x1fd)]['y']&&_0x453959[_0x39db7e(0x1e2)]+0x3>=this[_0x39db7e(0x1fd)]['y']&&_0x453959[_0x39db7e(0x1ed)]-0x3<=this[_0x39db7e(0x1fd)]['x']&&_0x453959[_0x39db7e(0x1e0)]+0x3>=this[_0x39db7e(0x1fd)]['x'])||_0x15e8d9[0x0];}}}),this[_0x49e6e3(0x1d5)][_0x49e6e3(0x11d)](_0x49e6e3(0x211)));}),this['on'](_0x202720(0x1a8),(_0x3ae0a3,_0x1d6670,_0x59dcfd,_0x34fe0d)=>{const _0x443458=_0x202720;this[_0x443458(0x22e)]=_0x59dcfd?this[_0x443458(0x1be)](_0x59dcfd):null,this[_0x443458(0xfd)][_0x443458(0x1e1)][_0x443458(0x18e)](()=>{const _0x12887d=_0x443458,_0x2c905b=this[_0x12887d(0xfd)][_0x12887d(0x1c1)];_0x34fe0d&&(_0x34fe0d[_0x12887d(0x1f0)][_0x12887d(0x16f)]?_0x2c905b[_0x12887d(0x126)][_0x12887d(0x18e)](_0x4db125=>{const _0x284a73=_0x12887d;_0x4db125[_0x284a73(0x1f9)](_0x284a73(0x1d8),_0x2c905b[_0x284a73(0x126)][_0x284a73(0x190)][_0x284a73(0x1ff)](_0x34fe0d[_0x284a73(0x238)]));}):_0x2c905b[_0x12887d(0x21d)](_0x12887d(0x117)+_0x34fe0d['id'])),_0x59dcfd&&(_0x59dcfd[_0x12887d(0x1f0)][_0x12887d(0x16f)]?_0x2c905b[_0x12887d(0x126)][_0x12887d(0x18e)](_0x2d5c1d=>{const _0x419d27=_0x12887d;_0x2d5c1d[_0x419d27(0x18f)](_0x419d27(0x1d8),_0x2c905b[_0x419d27(0x126)][_0x419d27(0x190)][_0x419d27(0x1ff)](_0x59dcfd[_0x419d27(0x238)]));}):_0x2c905b[_0x12887d(0x21d)](_0x12887d(0x117)+_0x59dcfd['id']));});}),this[_0x202720(0x1c3)](this[_0x202720(0xfd)][_0x202720(0x1c1)][_0x202720(0x126)][_0x202720(0x190)],_0x202720(0x223),(_0x177af4,_0x31e35f)=>{const _0x43f117=_0x202720;if(this[_0x43f117(0x115)])return;const _0x46aa9f=this[_0x43f117(0x13b)](_0x31e35f[_0x43f117(0x142)]),_0x35676d=this[_0x43f117(0x203)][_0x43f117(0x186)](_0x46aa9f);_0x35676d?(this[_0x43f117(0x1fd)]={'x':_0x31e35f[_0x43f117(0x237)]['x'],'y':_0x31e35f[_0x43f117(0x237)]['y']},this[_0x43f117(0x22e)]=this[_0x43f117(0x1be)](_0x35676d)):(this[_0x43f117(0x1fd)]=null,this[_0x43f117(0x22e)]=null);}),this[_0x202720(0x1c3)](this[_0x202720(0xfd)][_0x202720(0x1c1)][_0x202720(0x126)][_0x202720(0x190)],_0x202720(0x233),(_0x206314,_0x2ff3f9)=>{const _0xdf3d29=_0x202720,_0x1dab50=this[_0xdf3d29(0x13b)](_0x2ff3f9[_0xdf3d29(0x142)]),_0x3f537e=this[_0xdf3d29(0x203)][_0xdf3d29(0x186)](_0x1dab50);_0x3f537e?(this[_0xdf3d29(0x1fd)]={'x':_0x2ff3f9[_0xdf3d29(0x237)]['x'],'y':_0x2ff3f9[_0xdf3d29(0x237)]['y']},_0x3f537e===this[_0xdf3d29(0x115)]?this[_0xdf3d29(0x1d5)][_0xdf3d29(0x1c5)]():this[_0xdf3d29(0x115)]=_0x3f537e):(this[_0xdf3d29(0x1fd)]=null,this[_0xdf3d29(0x115)]=null);});}[_0xceb223(0x13b)](_0x2aa4a4){const _0x16a5cb=_0xceb223;do{const _0x2e4d87=_0x2aa4a4[_0x16a5cb(0x11e)](_0x16a5cb(0x16d));if(_0x2e4d87)return _0x2e4d87;_0x2aa4a4=_0x2aa4a4[_0x16a5cb(0x177)];}while(_0x2aa4a4);return null;}[_0xceb223(0x17a)](){const _0x1e119a=_0xceb223;this[_0x1e119a(0xfd)][_0x1e119a(0x1e1)][_0x1e119a(0x18e)](_0x431f0e=>{const _0x53ad8a=_0x1e119a;for(const _0x236c8c of this[_0x53ad8a(0xfd)][_0x53ad8a(0x1e1)][_0x53ad8a(0x18b)])_0x431f0e[_0x53ad8a(0x172)](_0x236c8c);});}}function et(_0xc7e5ca,_0x2ff8e4){return(_0x29a16d,_0x21f319,_0x4b3b85)=>{const _0x10f443=_0x12a7;if(!_0x4b3b85[_0x10f443(0x18c)][_0x10f443(0x189)](_0x21f319[_0x10f443(0x1fb)],_0x29a16d[_0x10f443(0x22d)]))return;const _0x708d85=_0x21f319[_0x10f443(0x1fb)][_0x10f443(0x206)](),_0x156bf5=_0x21f319[_0x10f443(0x1fb)][_0x10f443(0x113)],_0x5a8551=_0xc7e5ca[_0x10f443(0x1e1)][_0x10f443(0x10a)];let _0x560c9c=null,_0x2d37ed=null,_0x5f5385=!0x1,_0xd550f9=!0x1;for(const _0x14a5c7 of _0x708d85){const _0x2951ef=_0x14a5c7[_0x10f443(0x1b3)];_0x5f5385=_0x5f5385||_0x5a8551[_0x10f443(0x226)](_0x2951ef);const _0x3e5860=_0x4b3b85[_0x10f443(0x104)][_0x10f443(0x23f)](_0x2951ef);if(_0x3e5860&&_0x3e5860[_0x10f443(0x20f)](_0x10f443(0x1c2)))return;_0x10f443(0x174)==_0x14a5c7[_0x10f443(0x1f7)]&&(_0x5a8551[_0x10f443(0x100)](_0x2951ef)&&!_0x5a8551[_0x10f443(0x216)](_0x2951ef)&&(_0x2951ef[_0x10f443(0x105)]||_0x156bf5[_0x10f443(0x230)]?_0x560c9c&&_0x560c9c[_0x10f443(0x177)]==_0x2951ef||(_0x560c9c=_0x2951ef,_0x523952(_0x14a5c7[_0x10f443(0x163)]),_0xd550f9=!0x0):_0x2d37ed=_0x2d37ed||_0x14a5c7[_0x10f443(0x163)]));}function _0x523952(_0x44b334){const _0x26d54f=_0x10f443,_0x2d8cf5=_0x4b3b85[_0x26d54f(0x104)][_0x26d54f(0xfb)](_0x44b334),_0x2c1f02=_0x4b3b85[_0x26d54f(0x18d)][_0x26d54f(0x168)](_0x26d54f(0x1ca),{'class':_0x26d54f(0x202)+_0x2ff8e4});_0x4b3b85[_0x26d54f(0x18d)][_0x26d54f(0x110)](_0x2d8cf5,_0x2c1f02),_0x4b3b85[_0x26d54f(0x104)][_0x26d54f(0x171)](_0x2c1f02,_0x21f319[_0x26d54f(0x200)]);}_0x5f5385||_0xd550f9||!_0x2d37ed||_0x523952(_0x2d37ed);};}export class RestoreRevisionCommand extends _0x3fef62{constructor(_0xf99b85){const _0x54f882=_0xceb223;super(_0xf99b85);const _0xc755f2=_0xf99b85[_0x54f882(0xf8)][_0x54f882(0x186)](d);this[_0x54f882(0x15d)]=!0x1,this[_0x54f882(0x1c3)](_0xc755f2,_0x54f882(0x240),()=>this[_0x54f882(0x135)]()),this[_0x54f882(0x1c3)](_0xc755f2,_0x54f882(0x22b),()=>this[_0x54f882(0x135)]());}[_0xceb223(0x133)](){const _0x5184f0=_0xceb223,_0xb27168=this[_0x5184f0(0xfd)],_0x3993fd=_0xb27168[_0x5184f0(0xf8)][_0x5184f0(0x186)](d),_0x1f8079=_0x3993fd[_0x5184f0(0x224)]?_0x3993fd[_0x5184f0(0x1c7)][_0x5184f0(0x20e)]:null;_0xb27168[_0x5184f0(0x173)][_0x5184f0(0x186)](_0x5184f0(0x22c))[_0x5184f0(0x1c8)](_0x1f8079);}[_0xceb223(0x135)](){const _0x143a1b=_0xceb223,{isReady:_0x9bafbd,isEnabled:_0x2411d9}=this[_0x143a1b(0xfd)][_0x143a1b(0xf8)][_0x143a1b(0x186)](d);this[_0x143a1b(0x19b)]=_0x9bafbd&&_0x2411d9;}}export class ShowChangeCommand extends _0x3fef62{constructor(_0x1b01aa,{direction:_0x33dab7}){const _0x160bf6=_0xceb223;super(_0x1b01aa);const _0x56c266=_0x1b01aa[_0x160bf6(0xf8)][_0x160bf6(0x186)](d);this[_0x160bf6(0x15d)]=!0x1,this[_0x160bf6(0x1f3)]=_0x160bf6(0x152)===_0x33dab7?0x1:-0x1,this[_0x160bf6(0x1c3)](_0x56c266,_0x160bf6(0x240),()=>this[_0x160bf6(0x135)]()),this[_0x160bf6(0x1c3)](_0x56c266,_0x160bf6(0x22b),()=>this[_0x160bf6(0x135)]()),this[_0x160bf6(0x1c3)](_0x56c266,_0x160bf6(0x1a8),()=>this[_0x160bf6(0x135)]());}[_0xceb223(0x133)](){const _0x13919e=_0xceb223,_0x5f2abe=this[_0x13919e(0xfd)],_0x24d3a6=_0x5f2abe[_0x13919e(0xf8)][_0x13919e(0x186)](d),{isNavigationMode:_0xf7be7f,currentChangeNumber:_0x3009d9}=_0x24d3a6;let _0x24a6a1;if(_0x24d3a6[_0x13919e(0x115)]=_0xf7be7f?_0x24d3a6[_0x13919e(0x1c7)][_0x13919e(0x241)][_0x13919e(0x186)](_0x3009d9+this[_0x13919e(0x1f3)]):_0x24d3a6[_0x13919e(0x1c7)][_0x13919e(0x241)][_0x13919e(0x1cd)],_0x24d3a6[_0x13919e(0x115)][_0x13919e(0x1f0)][_0x13919e(0x16f)])_0x24a6a1=_0x5f2abe[_0x13919e(0x1c1)][_0x13919e(0x126)][_0x13919e(0x1a2)](_0x24d3a6[_0x13919e(0x115)][_0x13919e(0x238)]);else{const _0x49d7eb=_0x5f2abe[_0x13919e(0x1e1)][_0x13919e(0x18b)][_0x13919e(0x186)](_0x13919e(0x117)+_0x24d3a6[_0x13919e(0x115)]['id']);_0x24a6a1=_0x4356e4(_0x5f2abe[_0x13919e(0x1c1)],_0x49d7eb);}_0x74a71f({'target':_0x24a6a1,'viewportOffset':0x28});}[_0xceb223(0x135)](){const _0x4d5e55=_0xceb223,{isNavigationMode:_0x490d1c,currentChangeNumber:_0x28dd41,numberOfChanges:_0x4d1958,isReady:_0x420022,isEnabled:_0xb258ec}=this[_0x4d5e55(0xfd)][_0x4d5e55(0xf8)][_0x4d5e55(0x186)](d);this[_0x4d5e55(0x19b)]=!!(_0xb258ec&&_0x420022&&_0x4d1958)&&(!_0x490d1c||(0x1===this[_0x4d5e55(0x1f3)]?_0x28dd41<_0x4d1958-0x1:_0x28dd41>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4715(){const _0x1b1db3=['map','isOpen','items','Name\x20this\x20revision','2161201ioqouJ','threeVerticalDots','set','source','isEnabled','_action','1639296KToBkL','button','isReady','function','2024208CGlUii','1921755pbWgtk','find','listView','locale','model','728040SlffbY','add','Compare\x20against\x20selected','2716088iJoqef','buttonView','extendTemplate','name','2483676XgBWZu','Restore\x20this\x20revision','isVisible','panelPosition','action','Show\x20more\x20items','first','stopPropagation','bind','ck-on','ck-revision-history-sidebar__revision__actions','children','bindTemplate','execute','isActionsDropdownOpen','change:isActionsDropdownOpen','class','listenTo'];_0x4715=function(){return _0x1b1db3;};return _0x4715();}(function(_0x38f2d7,_0x5e96bf){const _0x5b4893=_0x3db4,_0x128d77=_0x38f2d7();while(!![]){try{const _0x1fcf85=-parseInt(_0x5b4893(0x122))/0x1+parseInt(_0x5b4893(0x145))/0x2+-parseInt(_0x5b4893(0x149))/0x3+parseInt(_0x5b4893(0x125))/0x4+-parseInt(_0x5b4893(0x14a))/0x5+parseInt(_0x5b4893(0x129))/0x6+parseInt(_0x5b4893(0x13f))/0x7;if(_0x1fcf85===_0x5e96bf)break;else _0x128d77['push'](_0x128d77['shift']());}catch(_0x22ed64){_0x128d77['push'](_0x128d77['shift']());}}}(_0x4715,0x6a038));import{Collection as _0x281226}from'ckeditor5/src/utils.js';import{icons as _0x4717db}from'ckeditor5/src/core.js';import{ViewModel as _0x594d3c,addListToDropdown as _0x4db481,createDropdown as _0x45ed91}from'ckeditor5/src/ui.js';import{getTranslation as _0x3d4eda}from'../../utils/common-translations.js';function _0x3db4(_0x40a72d,_0x3614c5){const _0x4715d0=_0x4715();return _0x3db4=function(_0x3db496,_0x1ec4fb){_0x3db496=_0x3db496-0x11e;let _0x3c7977=_0x4715d0[_0x3db496];return _0x3c7977;},_0x3db4(_0x40a72d,_0x3614c5);}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x14710e,_0x2866e8){const _0x268e3b=_0x3db4,_0x5c15fc=_0x14710e[_0x268e3b(0x135)],_0x7240ea=_0x14710e[_0x268e3b(0x120)],_0x24cbf7=_0x45ed91(_0x7240ea);_0x24cbf7[_0x268e3b(0x12c)]='sw';const _0xff669f=function(_0x4ed0dd,_0x23c7af){const _0x24ff9e=_0x268e3b,_0x3c7e57=function(_0x3c4ca0,_0x32f426){const _0xc6cc0b=_0x3db4,_0x30e36f=_0x3c4ca0[_0xc6cc0b(0x120)],_0x3bf8c1={'Compare\x20against\x20selected':_0x3d4eda(_0x30e36f,_0xc6cc0b(0x124)),'Name\x20this\x20revision':_0x3d4eda(_0x30e36f,_0xc6cc0b(0x13e)),'Restore\x20this\x20revision':_0x3d4eda(_0x30e36f,_0xc6cc0b(0x12a))};return _0x32f426[_0xc6cc0b(0x13b)](_0x842192=>{const _0x438fc8=_0xc6cc0b,_0x5d2407=_0x3bf8c1[_0x842192[_0x438fc8(0x128)]];return _0x5d2407&&_0x5d2407!==_0x842192[_0x438fc8(0x128)]&&(_0x842192[_0x438fc8(0x128)]=_0x5d2407),_0x842192;});}(_0x4ed0dd,_0x23c7af),_0x2e8577=new _0x281226();for(const _0x31ea06 of _0x3c7e57){const _0x5e2bf5={'type':_0x24ff9e(0x146),'model':new _0x594d3c({'label':_0x31ea06[_0x24ff9e(0x128)],'class':_0x31ea06[_0x24ff9e(0x139)],'withText':!0x0,'_action':_0x31ea06[_0x24ff9e(0x12d)]})};_0x5e2bf5[_0x24ff9e(0x121)][_0x24ff9e(0x131)](_0x24ff9e(0x143))['to'](_0x4ed0dd,_0x24ff9e(0x137),_0x13a5bf=>_0x24ff9e(0x148)!=typeof _0x31ea06[_0x24ff9e(0x143)]||(!_0x13a5bf||_0x31ea06[_0x24ff9e(0x143)](_0x4ed0dd))),_0x2e8577[_0x24ff9e(0x123)](_0x5e2bf5);}return _0x2e8577;}(_0x14710e,_0x2866e8);return _0x14710e[_0x268e3b(0x131)](_0x268e3b(0x137))['to'](_0x24cbf7,_0x268e3b(0x13c)),_0x24cbf7[_0x268e3b(0x126)][_0x268e3b(0x141)]({'label':_0x3d4eda(_0x7240ea,_0x268e3b(0x12e)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4717db[_0x268e3b(0x140)]}),_0x24cbf7[_0x268e3b(0x127)]({'attributes':{'class':[_0x268e3b(0x133),_0x5c15fc['if'](_0x268e3b(0x137),_0x268e3b(0x132))]},'on':{'click':_0x5c15fc['to'](_0x48de9d=>_0x48de9d[_0x268e3b(0x130)]())}}),_0x24cbf7['on'](_0x268e3b(0x136),_0x1daeb8=>{const _0x1654a5=_0x268e3b;_0x14710e[_0x1654a5(0x147)]&&_0x1654a5(0x148)==typeof _0x1daeb8[_0x1654a5(0x142)][_0x1654a5(0x144)]&&_0x1daeb8[_0x1654a5(0x142)][_0x1654a5(0x144)](_0x14710e);}),_0x4db481(_0x24cbf7,_0xff669f),_0x24cbf7[_0x268e3b(0x13a)](_0x14710e,_0x268e3b(0x138),(_0x110463,_0x36e16c,_0x1da92b)=>{const _0x4c55f0=_0x268e3b;if(_0x1da92b)for(const _0x441192 of _0x24cbf7[_0x4c55f0(0x11f)][_0x4c55f0(0x13d)]){const _0x46d209=_0x441192[_0x4c55f0(0x134)][_0x4c55f0(0x12f)],_0x591343=_0x2866e8[_0x4c55f0(0x11e)](_0x35aa2d=>_0x35aa2d[_0x4c55f0(0x12d)]===_0x46d209[_0x4c55f0(0x144)])[_0x4c55f0(0x12b)];_0x441192[_0x4c55f0(0x12b)]=void 0x0===_0x591343||_0x591343(_0x14710e);}}),_0x24cbf7;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2247(_0x590f95,_0xdc77f6){const _0x46531b=_0x4653();return _0x2247=function(_0x2247a3,_0x41e7bf){_0x2247a3=_0x2247a3-0x14d;let _0x302758=_0x46531b[_0x2247a3];return _0x302758;},_0x2247(_0x590f95,_0xdc77f6);}(function(_0x55d3aa,_0x12a7bb){const _0x2328da=_0x2247,_0x393475=_0x55d3aa();while(!![]){try{const _0x4c7973=-parseInt(_0x2328da(0x151))/0x1+parseInt(_0x2328da(0x15a))/0x2+parseInt(_0x2328da(0x15f))/0x3+-parseInt(_0x2328da(0x15e))/0x4+-parseInt(_0x2328da(0x15b))/0x5+parseInt(_0x2328da(0x14e))/0x6*(-parseInt(_0x2328da(0x152))/0x7)+parseInt(_0x2328da(0x159))/0x8;if(_0x4c7973===_0x12a7bb)break;else _0x393475['push'](_0x393475['shift']());}catch(_0x33fec1){_0x393475['push'](_0x393475['shift']());}}}(_0x4653,0x19912));import{View as _0x35ede9,IconView as _0x34d18c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5d6385}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';function _0x4653(){const _0x584fb4=['600219ZGWHur','Revision\x20author','6JCFhRz','ck-revision-history-sidebar__revision-author_creator','span','204476ukgiyz','1251243FWThIO','push','name','set','ck-revision-history-sidebar__revision-author__name','ck-revision-history-sidebar__revision-author','setTemplate','4299448Bxjlae','139380EUUdhN','772230SfrqRM','0\x200\x2011\x2010','Revision\x20creator','659204WuHaBf'];_0x4653=function(){return _0x584fb4;};return _0x4653();}import _0x11e891 from'../../../theme/icons/user.svg';export default class ti extends _0x35ede9{constructor(_0x12d7c2,_0x4cb111,_0x42fe14){const _0x11082a=_0x2247;super(_0x12d7c2);const _0x1ee266=new _0x34d18c();_0x1ee266[_0x11082a(0x155)]({'content':_0x11e891,'viewBox':_0x11082a(0x15c)});const _0x445378=['ck',_0x11082a(0x157)];_0x42fe14&&_0x445378[_0x11082a(0x153)](_0x11082a(0x14f));const _0x4a6370=[{'tag':_0x11082a(0x150),'attributes':{'class':['ck',_0x11082a(0x156)],'title':_0x5d6385(_0x12d7c2,_0x42fe14?_0x11082a(0x15d):_0x11082a(0x14d))},'children':[_0x1ee266,_0x4cb111[_0x11082a(0x154)]]}];this[_0x11082a(0x158)]({'tag':'li','attributes':{'class':_0x445378},'children':_0x4a6370});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ae29b=_0x419d;(function(_0x491d92,_0x5f340d){const _0x5c50bd=_0x419d,_0x3c26ba=_0x491d92();while(!![]){try{const _0x3d42c9=parseInt(_0x5c50bd(0x89))/0x1+parseInt(_0x5c50bd(0x97))/0x2*(-parseInt(_0x5c50bd(0x8e))/0x3)+-parseInt(_0x5c50bd(0x9c))/0x4+parseInt(_0x5c50bd(0x87))/0x5*(parseInt(_0x5c50bd(0x9d))/0x6)+-parseInt(_0x5c50bd(0x8c))/0x7*(parseInt(_0x5c50bd(0x81))/0x8)+parseInt(_0x5c50bd(0x9a))/0x9*(-parseInt(_0x5c50bd(0x8a))/0xa)+parseInt(_0x5c50bd(0x92))/0xb;if(_0x3d42c9===_0x5f340d)break;else _0x3c26ba['push'](_0x3c26ba['shift']());}catch(_0x3badc5){_0x3c26ba['push'](_0x3c26ba['shift']());}}}(_0x40e5,0xbe0f8));import{LabeledFieldView as _0x595619}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x1edded}from'ckeditor5/src/utils.js';function _0x419d(_0x4f4ef7,_0x55466d){const _0x40e589=_0x40e5();return _0x419d=function(_0x419dc3,_0x53b150){_0x419dc3=_0x419dc3-0x81;let _0x3ea7aa=_0x40e589[_0x419dc3];return _0x3ea7aa;},_0x419d(_0x4f4ef7,_0x55466d);}import{getTranslation as _0x9cfd41}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class vt extends _0x595619{constructor(_0x1321f7,_0x166e19){const _0x1ce71f=_0x419d;super(_0x1321f7,_0x166e19),this[_0x1ce71f(0x90)]=null;const _0x47ee12=this[_0x1ce71f(0x93)];this[_0x1ce71f(0x91)]({'label':_0x9cfd41(_0x1321f7,_0x1ce71f(0x9f)),'_tooltipString':''}),this[_0x1ce71f(0x9e)][_0x1ce71f(0x83)]=_0x9cfd41(_0x1321f7,_0x1ce71f(0x86)),this[_0x1ce71f(0x85)]({'tag':_0x1ce71f(0x95),'attributes':{'class':[_0x1ce71f(0x96)],'data-cke-tooltip-text':_0x47ee12['to'](_0x1ce71f(0x88)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x1ce71f(0x84)}});}[_0x1ae29b(0x9b)](){const _0x116c73=_0x1ae29b;super[_0x116c73(0x9b)](),this[_0x116c73(0x90)]=new _0x1edded(this[_0x116c73(0x9e)][_0x116c73(0x98)],()=>this[_0x116c73(0x94)]()),this[_0x116c73(0x82)](this[_0x116c73(0x9e)],_0x116c73(0x8b),()=>this[_0x116c73(0x94)]());}[_0x1ae29b(0xa0)](){const _0x13cfe8=_0x1ae29b;super[_0x13cfe8(0xa0)](),this[_0x13cfe8(0x90)]&&this[_0x13cfe8(0x90)][_0x13cfe8(0xa0)]();}[_0x1ae29b(0x94)](){const _0x1f0da0=_0x1ae29b,_0x72da66=this[_0x1f0da0(0x9e)][_0x1f0da0(0x98)];this[_0x1f0da0(0x88)]=_0x72da66[_0x1f0da0(0x8d)]>_0x72da66[_0x1f0da0(0x99)]&&_0x72da66[_0x1f0da0(0x8f)]||'';}}function _0x40e5(){const _0x13bd7f=['ck-revision-history-sidebar__revision-name','327724iUlLCY','element','clientWidth','143217cgTmNJ','render','4189884dOQgEl','998850oZBFGt','fieldView','Revision\x20name','destroy','8tosekf','listenTo','placeholder','ck-tooltip_multi-line','extendTemplate','Enter\x20the\x20revision\x20name','25pjemoY','_tooltipString','413165XaMDQU','670CJuskN','input','4728871oLKjVA','scrollWidth','12kjkMEa','value','_resizeObserver','set','32753501CpgnRi','bindTemplate','_updateTooltipText','span'];_0x40e5=function(){return _0x13bd7f;};return _0x40e5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x230f74=_0x3c97;(function(_0x1aa244,_0x1cf91d){const _0x1def1a=_0x3c97,_0x183b08=_0x1aa244();while(!![]){try{const _0x2963b1=-parseInt(_0x1def1a(0x152))/0x1*(-parseInt(_0x1def1a(0x13c))/0x2)+parseInt(_0x1def1a(0x156))/0x3*(parseInt(_0x1def1a(0x131))/0x4)+parseInt(_0x1def1a(0x130))/0x5*(parseInt(_0x1def1a(0x151))/0x6)+-parseInt(_0x1def1a(0x13d))/0x7+-parseInt(_0x1def1a(0x13e))/0x8+parseInt(_0x1def1a(0x15e))/0x9*(parseInt(_0x1def1a(0x150))/0xa)+-parseInt(_0x1def1a(0x148))/0xb;if(_0x2963b1===_0x1cf91d)break;else _0x183b08['push'](_0x183b08['shift']());}catch(_0x4b8726){_0x183b08['push'](_0x183b08['shift']());}}}(_0x5ae8,0xe2d05));function _0x3c97(_0x5d4363,_0x43ab2e){const _0x5ae859=_0x5ae8();return _0x3c97=function(_0x3c977c,_0x58d4a2){_0x3c977c=_0x3c977c-0x120;let _0x29d728=_0x5ae859[_0x3c977c];return _0x29d728;},_0x3c97(_0x5d4363,_0x43ab2e);}import{View as _0x2c9acb,createLabeledInputText as _0x2d8b20}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x45ea32}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x572cf1 from'./revisionnameview.js';import _0x458a32 from'./revisionauthorview.js';import{dateToPrettyFormat as _0xb73caf}from'./utils.js';function _0x5ae8(){const _0x45c3af=['highlight','createdAt','filter','extendTemplate','render','creator','srcElement','fieldView','from','select','div','change','_createdAtFormatted','unhighlight','12955nTVXCe','2891228qTvbeb','ck-revision-history-sidebar__revision','set','value','ck-revision-history-sidebar__revision-wrapper','authors','unshift','name','.ck-thread__remove-confirm','deselect','isReady','442dWmels','11872014eekNar','11264112QyeNWS','element','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-disabled','ck-revision-history-sidebar__revision_selected','listenTo','isHighlighted','ck-revision-history-sidebar__actions_dropdown_open','revisionNameView','fire','2558270gWfEQP','closest','ck-revision-history-sidebar__revision__date','bindTemplate','setTemplate','220','_revision','span','160xZKzkj','3576WatzyN','5388nPdfWn','_requireRevisionName','uiLanguage','map','3nUyXab','bind','ck-revision-history-sidebar__revision_highlighted','ck-reset','ck-revision-history-sidebar__revision__controls-wrapper','isSelected','length','isActionsDropdownOpen','454401UiWZYM','ck-revision-history-sidebar__revision-authors','setName','isEnabled','revisionActionsView','isConfirm'];_0x5ae8=function(){return _0x45c3af;};return _0x5ae8();}import{createActionsDropdownView as _0x4d6136}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends _0x45ea32(_0x2c9acb){constructor(_0x1c30ab,_0x373570,_0x15990c,_0x24ad0d){const _0x35439f=_0x3c97;super(_0x1c30ab);const _0x255548=this[_0x35439f(0x14b)],_0x2db078=function(_0x192d3b,_0x2c3ba1){const _0x372cfe=_0x35439f,_0x47c67=Array[_0x372cfe(0x12a)](_0x2c3ba1[_0x372cfe(0x136)])[_0x372cfe(0x124)](_0x33f327=>_0x33f327!=_0x2c3ba1[_0x372cfe(0x127)]);return _0x2c3ba1[_0x372cfe(0x127)]&&_0x47c67[_0x372cfe(0x137)](_0x2c3ba1[_0x372cfe(0x127)]),_0x47c67[_0x372cfe(0x155)](_0x43c5f4=>new _0x458a32(_0x192d3b,_0x43c5f4,_0x43c5f4==_0x2c3ba1[_0x372cfe(0x127)]));}(_0x1c30ab,_0x373570);this['id']=_0x373570['id'],this[_0x35439f(0x14e)]=_0x373570,this[_0x35439f(0x153)]=_0x24ad0d,this[_0x35439f(0x157)](_0x35439f(0x138),_0x35439f(0x123))['to'](_0x373570),this[_0x35439f(0x157)](_0x35439f(0x12e))['to'](this,_0x35439f(0x123),_0x57d99f=>_0xb73caf(_0x1c30ab[_0x35439f(0x154)],_0x57d99f)),this[_0x35439f(0x133)](_0x35439f(0x15b),!0x1),this[_0x35439f(0x133)](_0x35439f(0x144),!0x1),this[_0x35439f(0x133)](_0x35439f(0x15d),!0x1),this[_0x35439f(0x133)](_0x35439f(0x13b),!0x1),this[_0x35439f(0x133)](_0x35439f(0x161),!0x1),this[_0x35439f(0x146)]=new _0x572cf1(_0x1c30ab,_0x2d8b20),this[_0x35439f(0x146)][_0x35439f(0x129)][_0x35439f(0x125)]({'attributes':{'maxlength':_0x35439f(0x14d)}}),this[_0x35439f(0x146)][_0x35439f(0x129)][_0x35439f(0x157)](_0x35439f(0x134))['to'](this,_0x35439f(0x138),_0x2a17c4=>_0x2a17c4||this[_0x35439f(0x12e)]),this[_0x35439f(0x146)][_0x35439f(0x157)](_0x35439f(0x161))['to'](this,_0x35439f(0x15b),this,_0x35439f(0x161),(_0x252ffa,_0x426071)=>_0x252ffa&&_0x426071),this[_0x35439f(0x120)]=_0x15990c&&_0x15990c[_0x35439f(0x15c)]?_0x4d6136(this,_0x15990c):'',this[_0x35439f(0x120)]&&this[_0x35439f(0x120)][_0x35439f(0x157)](_0x35439f(0x161))['to'](this),this[_0x35439f(0x14c)]({'tag':_0x35439f(0x12c),'attributes':{'class':['ck',_0x35439f(0x159),_0x35439f(0x135),_0x255548['if'](_0x35439f(0x121),_0x35439f(0x140))]},'children':[{'tag':_0x35439f(0x12c),'attributes':{'class':['ck',_0x35439f(0x159),_0x35439f(0x132),_0x255548['if'](_0x35439f(0x161),_0x35439f(0x141),_0x3fa174=>!_0x3fa174),_0x255548['if'](_0x35439f(0x15b),_0x35439f(0x142)),_0x255548['if'](_0x35439f(0x144),_0x35439f(0x158)),_0x255548['if'](_0x35439f(0x15d),_0x35439f(0x145))]},'children':[this[_0x35439f(0x146)],{'tag':_0x35439f(0x14f),'attributes':{'class':['ck',_0x35439f(0x14a)]},'children':[{'text':_0x255548['to'](_0x35439f(0x12e))}]},{'tag':_0x35439f(0x12c),'attributes':{'class':['ck',_0x35439f(0x15a)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x35439f(0x15f)]},'children':_0x2db078}]},this[_0x35439f(0x120)]],'on':{'click':_0x255548['to'](_0x38dcf2=>{const _0xffad55=_0x35439f;_0x38dcf2[_0xffad55(0x128)][_0xffad55(0x149)](_0xffad55(0x139))||this[_0xffad55(0x13b)]&&this[_0xffad55(0x161)]&&this[_0xffad55(0x147)](_0xffad55(0x12b),{'id':this['id']});})}}]});}[_0x230f74(0x126)](){const _0x5caf70=_0x230f74;super[_0x5caf70(0x126)]();const _0x181355=this[_0x5caf70(0x146)][_0x5caf70(0x129)][_0x5caf70(0x13f)];this[_0x5caf70(0x143)](_0x181355,_0x5caf70(0x12d),()=>{const _0x1f3287=_0x5caf70;this[_0x1f3287(0x153)]&&!_0x181355[_0x1f3287(0x134)]||this[_0x1f3287(0x147)](_0x1f3287(0x160),{'id':this['id'],'name':_0x181355[_0x1f3287(0x134)]}),_0x181355[_0x1f3287(0x134)]||(_0x181355[_0x1f3287(0x134)]=this[_0x1f3287(0x138)]?this[_0x1f3287(0x138)]:this[_0x1f3287(0x12e)]);});}[_0x230f74(0x12b)](){const _0x29d516=_0x230f74;this[_0x29d516(0x15b)]=!0x0;}[_0x230f74(0x13a)](){const _0x55a160=_0x230f74;this[_0x55a160(0x15b)]=!0x1;}[_0x230f74(0x122)](){const _0x2444fe=_0x230f74;this[_0x2444fe(0x144)]=!0x0;}[_0x230f74(0x12f)](){const _0x467b3e=_0x230f74;this[_0x467b3e(0x144)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x301529=_0x4780;function _0x4780(_0x59e1a0,_0x50cd11){const _0x155f31=_0x155f();return _0x4780=function(_0x47809d,_0x27ba2c){_0x47809d=_0x47809d-0x1a2;let _0xae5235=_0x155f31[_0x47809d];return _0xae5235;},_0x4780(_0x59e1a0,_0x50cd11);}(function(_0x42380b,_0x1b543c){const _0x5af1e6=_0x4780,_0x48c66f=_0x42380b();while(!![]){try{const _0x55deba=parseInt(_0x5af1e6(0x1b1))/0x1+-parseInt(_0x5af1e6(0x1b8))/0x2+parseInt(_0x5af1e6(0x1a7))/0x3*(parseInt(_0x5af1e6(0x1b4))/0x4)+-parseInt(_0x5af1e6(0x1aa))/0x5+parseInt(_0x5af1e6(0x1b0))/0x6+-parseInt(_0x5af1e6(0x1b3))/0x7+parseInt(_0x5af1e6(0x1af))/0x8*(parseInt(_0x5af1e6(0x1b9))/0x9);if(_0x55deba===_0x1b543c)break;else _0x48c66f['push'](_0x48c66f['shift']());}catch(_0x3c8ce9){_0x48c66f['push'](_0x48c66f['shift']());}}}(_0x155f,0xca1a4));function _0x155f(){const _0x381c63=['toggle','_isCollapsed','button','bindTemplate','328ONkeYl','435330rtDmOs','208545GkqQJd','isVisible','6924316REoJKb','4elxoBZ','false','ck-revision-history-sidebar__subrevision-collapser__inner','ck-revision-history-sidebar__subrevision-collapser','3028684fAGdrb','394776eGTKyy','true','ck-hidden','set','setTemplate','click','4001565nAMZTB','ck-revision-history-sidebar__subrevision-collapser_collapsed','span','410185vUexPr'];_0x155f=function(){return _0x381c63;};return _0x155f();}import{View as _0x162b78}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x162b78{constructor(_0x44439a){const _0x319a3f=_0x4780;super(_0x44439a);const _0x223bd3=this[_0x319a3f(0x1ae)];this[_0x319a3f(0x1a4)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x319a3f(0x1a5)]({'tag':_0x319a3f(0x1a9),'attributes':{'class':['ck',_0x319a3f(0x1b7),_0x223bd3['if'](_0x319a3f(0x1b2),_0x319a3f(0x1a3),_0x3c0dc3=>!_0x3c0dc3),_0x223bd3['if'](_0x319a3f(0x1ac),_0x319a3f(0x1a8))],'role':_0x319a3f(0x1ad),'aria-pressed':_0x223bd3['to'](_0x319a3f(0x1ac),_0x2cf386=>_0x2cf386?_0x319a3f(0x1b5):_0x319a3f(0x1a2))},'children':[{'tag':_0x319a3f(0x1a9),'attributes':{'class':['ck',_0x319a3f(0x1b6)]}}],'on':{'click':_0x223bd3['to'](_0x319a3f(0x1a6))}});}[_0x301529(0x1ab)](){const _0x4339de=_0x301529;this[_0x4339de(0x1ac)]=!this[_0x4339de(0x1ac)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3ada6b=_0x365c;(function(_0x3d502d,_0x4992ac){const _0x9b4f4e=_0x365c,_0x3e2809=_0x3d502d();while(!![]){try{const _0x3b2ff5=parseInt(_0x9b4f4e(0x19a))/0x1+-parseInt(_0x9b4f4e(0x185))/0x2*(-parseInt(_0x9b4f4e(0x19f))/0x3)+-parseInt(_0x9b4f4e(0x186))/0x4+-parseInt(_0x9b4f4e(0x1a0))/0x5+parseInt(_0x9b4f4e(0x198))/0x6*(-parseInt(_0x9b4f4e(0x194))/0x7)+parseInt(_0x9b4f4e(0x188))/0x8+parseInt(_0x9b4f4e(0x1a2))/0x9*(parseInt(_0x9b4f4e(0x19c))/0xa);if(_0x3b2ff5===_0x4992ac)break;else _0x3e2809['push'](_0x3e2809['shift']());}catch(_0x4ffae3){_0x3e2809['push'](_0x3e2809['shift']());}}}(_0x2a52,0x3258b));import{View as _0x5c1cc5}from'ckeditor5/src/ui.js';import _0x400a29 from'./revisionauthorview.js';function _0x2a52(){const _0x120a4d=['ck-revision-history-sidebar__revision-authors','set','isSelected','bindTemplate','div','fire','ck-revision-history-sidebar__revision__date','deselect','10409zMGrYJ','ck-revision-history-sidebar__subrevision','setTemplate','ck-revision-history-sidebar__revision','414ORRpTd','span','200411tZAaIw','ck-reset','62510clyAgG','bind','select','23595DUOwWg','1109500ymbyaI','_createdAtFormatted','252fzVaAf','uiLanguage','86zyghZo','1636912ZWgeOb','creator','1810528ZVgxak','createdAt','_parentRevisionId','ck-revision-history-sidebar__revision_selected'];_0x2a52=function(){return _0x120a4d;};return _0x2a52();}function _0x365c(_0x24687d,_0x30acd5){const _0x2a52c6=_0x2a52();return _0x365c=function(_0x365cde,_0x3d37a7){_0x365cde=_0x365cde-0x185;let _0xd5cd6b=_0x2a52c6[_0x365cde];return _0xd5cd6b;},_0x365c(_0x24687d,_0x30acd5);}import{dateToPrettyFormat as _0x57647f}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x5c1cc5{constructor(_0x1627e1,_0x1d6bfa,_0x1ec65a){const _0x4e31c8=_0x365c;super(_0x1627e1);const _0x4420b3=this[_0x4e31c8(0x18f)];this['id']=_0x1d6bfa['id'],this[_0x4e31c8(0x19d)](_0x4e31c8(0x189))['to'](_0x1d6bfa),this[_0x4e31c8(0x18d)](_0x4e31c8(0x18e),!0x1),this[_0x4e31c8(0x19d)](_0x4e31c8(0x1a1))['to'](this,_0x4e31c8(0x189),_0x39582e=>_0x39582e?_0x57647f(_0x1627e1[_0x4e31c8(0x1a3)],_0x39582e):void 0x0),this[_0x4e31c8(0x18a)]=_0x1ec65a,this[_0x4e31c8(0x196)]({'tag':_0x4e31c8(0x190),'attributes':{'class':['ck',_0x4e31c8(0x19b),_0x4e31c8(0x197),_0x4e31c8(0x195),_0x4420b3['if'](_0x4e31c8(0x18e),_0x4e31c8(0x18b))]},'children':[{'tag':_0x4e31c8(0x199),'attributes':{'class':['ck',_0x4e31c8(0x192)]},'children':[{'text':_0x4420b3['to'](_0x4e31c8(0x1a1))}]},{'tag':'ul','attributes':{'class':['ck',_0x4e31c8(0x18c)]},'children':[new _0x400a29(_0x1627e1,_0x1d6bfa[_0x4e31c8(0x187)],!0x0)]}],'on':{'click':_0x4420b3['to'](this[_0x4e31c8(0x19e)][_0x4e31c8(0x19d)](this))}});}[_0x3ada6b(0x19e)](){const _0xf18762=_0x3ada6b;this[_0xf18762(0x18e)]=!0x0,this[_0xf18762(0x191)](_0xf18762(0x19e),{'parentId':this[_0xf18762(0x18a)]});}[_0x3ada6b(0x193)](){const _0x5c0693=_0x3ada6b;this[_0x5c0693(0x18e)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5ca2(_0x19803c,_0x3bf53d){var _0x591217=_0x5912();return _0x5ca2=function(_0x5ca2b5,_0x2c6423){_0x5ca2b5=_0x5ca2b5-0x1e5;var _0x16818d=_0x591217[_0x5ca2b5];return _0x16818d;},_0x5ca2(_0x19803c,_0x3bf53d);}function _0x5912(){var _0x5bd653=['toLocaleDateString','15790YsmKeR','514PsIlrX','288EnfdVU','11035xesfFX','1626195xbIzQe','numeric','1999FFUynI','224NywsAn','706748EolVoG','long','toLocaleTimeString','1416mHRqTf','2659734WfUllA','77232jwVjIG'];_0x5912=function(){return _0x5bd653;};return _0x5912();}(function(_0x1ced9a,_0x10ca8c){var _0x2e7311=_0x5ca2,_0x54d215=_0x1ced9a();while(!![]){try{var _0x4cd8e5=parseInt(_0x2e7311(0x1f3))/0x1*(-parseInt(_0x2e7311(0x1ee))/0x2)+parseInt(_0x2e7311(0x1f1))/0x3+parseInt(_0x2e7311(0x1e6))/0x4+parseInt(_0x2e7311(0x1f0))/0x5*(-parseInt(_0x2e7311(0x1e9))/0x6)+parseInt(_0x2e7311(0x1e5))/0x7*(parseInt(_0x2e7311(0x1eb))/0x8)+-parseInt(_0x2e7311(0x1ef))/0x9*(-parseInt(_0x2e7311(0x1ed))/0xa)+parseInt(_0x2e7311(0x1ea))/0xb;if(_0x4cd8e5===_0x10ca8c)break;else _0x54d215['push'](_0x54d215['shift']());}catch(_0x1840f9){_0x54d215['push'](_0x54d215['shift']());}}}(_0x5912,0x45adf));export function dateToPrettyFormat(_0x5809e3,_0x3bdf6e){var _0x4da5e1=_0x5ca2;return _0x3bdf6e[_0x4da5e1(0x1ec)](_0x5809e3,{'month':_0x4da5e1(0x1e7),'day':_0x4da5e1(0x1f2)})+',\x20'+_0x3bdf6e[_0x4da5e1(0x1e8)](_0x5809e3,{'hour':_0x4da5e1(0x1f2),'minute':_0x4da5e1(0x1f2)});}
|