@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240623.0 → 0.0.0-nightly-20240625.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/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 +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x122b6f=_0x2360;(function(_0x2c841e,_0x4b6f62){const _0x10973d=_0x2360,_0x51e118=_0x2c841e();while(!![]){try{const _0x2ca955=parseInt(_0x10973d(0x147))/0x1*(parseInt(_0x10973d(0x1ef))/0x2)+-parseInt(_0x10973d(0x23a))/0x3*(parseInt(_0x10973d(0xf6))/0x4)+parseInt(_0x10973d(0x211))/0x5*(parseInt(_0x10973d(0x22d))/0x6)+parseInt(_0x10973d(0x243))/0x7*(-parseInt(_0x10973d(0x12c))/0x8)+-parseInt(_0x10973d(0x19f))/0x9*(-parseInt(_0x10973d(0x13f))/0xa)+-parseInt(_0x10973d(0x171))/0xb+parseInt(_0x10973d(0x19d))/0xc*(parseInt(_0x10973d(0x12a))/0xd);if(_0x2ca955===_0x4b6f62)break;else _0x51e118['push'](_0x51e118['shift']());}catch(_0x448d5c){_0x51e118['push'](_0x51e118['shift']());}}}(_0x23ed,0xa350d));function _0x23ed(){const _0x1675be=['deletion','2471147GjfyRc','_refreshStartEndIndex','enqueueChange','parse','insertion','16NDGWXq','insertions','_appendChild','reconvertMarker','values','change:activeView','markerToData','ck-editor__editable__overlay','elementToAttribute','isEqual','useFillerType','config','_processTape','isIncorrect','_update','get','toModel','forward','isInline','_revisions','bindElementToMarker','maxOffset','add','ck-suggestion-preview-marker','getAttributes','_threeWayMerge','userId','_makeModelFromTape','offsetSize','viewItem','_changeView','merge','createRangeIn','_removeMissingPairs','consume','_step','_data','activeView','isBlock','addRevisionData','ck-suggestion-marker--active','_getViewForChange','for','observeMarkers','_setChanges','adapter','ck-revision-history-root-remove','getAttribute','hasAttribute','changeId','insert','view','39NnVwjE','conversion','8MNQDDF','showNextChange','addMarker:revision','upcast','addMarker:revision-suggestion:insertion','elementEnd','detachRoot','sort','revision-start','revision:','compare','selection','dataDowncast','revisionHistoryAttachChange','roots','toViewElement','_removeUnsupportedChanges','_changeIdToChange','loadRevisionData','1290ZSXnZc','getCustomProperty','change','pop','_makeTape','ck-revision-history-root-add','nextPosition','_cleanUp','177PApbsJ','isObject','split','isContent','oldRevisionId','diff','isBefore','ck-revision-history-root-','checkAttribute','pluginName','concat','indexOf','getClientRects','uiElement','abs','vid_start','consumable','includes','revisionHistory','editingDowncast','text','createAttributeElement','newRevisionId','_getChangeFromId','getRevision','item','suggestion','suggestion:','removeAttribute','backward','catch','length','isAttached','rootName','pairId','destroy','string','mapper','highest','index','removeMarker','isCollapsed','13833160KSdpHo','getRoot','wrap','toViewPosition','listenTo','addRoot','startsWith','isAdded','bind','then','findIndex','init','hasClass','all','high','isSuggestion','createUIElement','_balloon','element:pre','getChild','createPositionFromPath','range','isRemoved','push','execute','revisionHistoryLabel','_cleanMarkers','nodeAfter','_setConversion','requires','getIndex','restoreRevision','change:activeChange','stop','nextSibling','ck-suggestion-marker-merge','isAfter','resolve','type','attributesBefore','collaboration.channelId','getRevisionData','isRemoveSuggestion','_joinTapes','2156052TYXbHA','getItems','68463KWbssh','editing','ck-suggestion-preview-marker-','showStack','span','clear','markerNameToElements','revision-end','getRootNames','domConverter','markersStart','filter','keys','_markInsertions','model','map','revision-suggestion:','dataToMarker','vid','processor','_setDistance','authors','attribute:vid','toData','attributesAfter','updatePosition','WidgetToolbarRepository','_getDiff','isOnRoot','_findChangeIdFromDomTarget','markersEnd','markerName','affectsData','change:isReady','slice','isAtEnd','remove','createPositionBefore','ck-revision-history-root--active','POSITIVE_INFINITY','shift','_getViewObj','toViewRange','ck-suggestion-marker','next','isAtStart','_markSuggestions','change:isEnabled','_initInteractions','marked','addMarker:revision-suggestion:deletion','revision','data','changes','done','removeClass','top','right','splice','revision-viewer','activeChange','showPreviousChange','_sortAndFilterDiffChanges','addHighlight','_markMarkers','addRevision','-new','commands','first','error','isLimit','domEvent','startIndex','data-revision-','low','return','test','_removeRevisionMarkers','createRange','currentChangeNumber','4396Qsknsv','getWalker','flat','attributes','setAttribute','element','_fixObsoleteTags','downcastDispatcher','writer','object','deletions','previousPosition','unshift','endIndex','level','getRevisionRootsAttributes','ck-suggestion-marker-split','document','_activeViewTarget','elementStart','set','left','plugins','parent','attachChange','enableReadOnlyMode','markerRange','data-change-id','code','schema','from','revision-comment:','ck-suggestion-marker-','bottom','512170RuvhQK','removeMarker:revision','getDomRoot','isEnabled','mousedown','target','RevisionViewer','delete','createRevision','change:numberOfChanges','end','mapViewToDom','diffData','find','removeMarker:revision-suggestion','locale','distance','side','softBreak','comment','default','name','markers','_makeModelFromViewString','repository','forceDisabled','_markMismatchedRemovedTags','start','24nNUvxJ','editor','modelRange','isReady','isNavigationMode','forEach','restoreRevisionCallback','vid_end','markerToHighlight','RevisionsRepository','revision-suggestion','_getRevisionsRange','isAddSuggestion','29682mllRll','refresh','children','numberOfChanges','addClass','has','unbindElementFromMarkerName','mouseover'];_0x23ed=function(){return _0x1675be;};return _0x23ed();}import{Plugin as _0x5563ae,Command as _0xbcb0da}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x5efcb3}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x23d20f}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2e6407,Element as _0x2b6e0a,Text as _0x2e0e24,ViewDocumentFragment as _0x2c4018,ViewText as _0x56dcf6,ViewElement as _0x26b745,ViewContainerElement as _0x28e21a,ViewAttributeElement as _0xbce1d2,ViewEmptyElement as _0x22bd84,ViewRawElement as _0xe578c2,ViewUIElement as _0x505c6f}from'ckeditor5/src/engine.js';import{Users as _0x4a3f89,getMarkerDomElement as _0x21083d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x324e5d from'./ui/revisionviewer/changedetailsview.js';import _0x1c74c5 from'./revisionsrepository.js';import _0x514544 from'./changeitem.js';import{default as _0x507793}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x51a5fd}from'lodash-es';const tt={'c':_0x28e21a,'a':_0xbce1d2,'e':_0x22bd84,'r':_0xe578c2,'u':_0x505c6f};export default class d extends _0x5563ae{static get[_0x122b6f(0x150)](){const _0x47f536=_0x122b6f;return _0x47f536(0x217);}static get[_0x122b6f(0x18e)](){return[_0x4a3f89,_0x23d20f,_0x1c74c5];}constructor(_0x5706f7){const _0x3e6069=_0x122b6f;super(_0x5706f7),this[_0x3e6069(0x229)]=this[_0x3e6069(0x22e)][_0x3e6069(0x205)][_0x3e6069(0x105)](_0x3e6069(0x236)),this[_0x3e6069(0x203)](_0x3e6069(0x1db),null),this[_0x3e6069(0x203)](_0x3e6069(0x11b),null),this[_0x3e6069(0x201)]=null,this[_0x3e6069(0x203)](_0x3e6069(0x14c),null),this[_0x3e6069(0x203)](_0x3e6069(0x230),!0x1),this[_0x3e6069(0x203)](_0x3e6069(0x214),!0x0),this['on'](_0x3e6069(0x1ce),(_0x26911c,_0x5bfb48,_0x4afb6d)=>{const _0x40e1ff=_0x3e6069;this[_0x40e1ff(0x1db)]=null,this[_0x40e1ff(0x11b)]=null,this[_0x40e1ff(0x22e)][_0x40e1ff(0x1a0)][_0x40e1ff(0x129)][_0x40e1ff(0x141)](_0x47dd06=>{const _0xfdfdb8=_0x40e1ff;for(const _0x2d563a of this[_0xfdfdb8(0x22e)][_0xfdfdb8(0x1a0)][_0xfdfdb8(0x129)][_0xfdfdb8(0x200)][_0xfdfdb8(0x13a)])_0x4afb6d?_0x47dd06[_0xfdfdb8(0x1d6)](_0xfdfdb8(0xfd),_0x2d563a):_0x47dd06[_0xfdfdb8(0x23e)](_0xfdfdb8(0xfd),_0x2d563a);});}),this[_0x3e6069(0x179)](_0x3e6069(0x231))['to'](this,_0x3e6069(0x1db),_0x42b5bd=>null!==_0x42b5bd),this[_0x3e6069(0x179)](_0x3e6069(0x1ee))['to'](this,_0x3e6069(0x230),this,_0x3e6069(0x14c),this,_0x3e6069(0x1db),(_0x1b6a24,_0x201372,_0x266c1d)=>_0x1b6a24&&_0x266c1d?_0x201372[_0x3e6069(0x1d4)][_0x3e6069(0x18f)](_0x266c1d):0x0),this[_0x3e6069(0x179)](_0x3e6069(0x23d))['to'](this,_0x3e6069(0x230),this,_0x3e6069(0x14c),(_0x1dad8b,_0x4e6f4c)=>_0x1dad8b?_0x4e6f4c[_0x3e6069(0x1d4)][_0x3e6069(0x166)]:0x0),this[_0x3e6069(0x114)]=null,this[_0x3e6069(0x13d)]=new Map(),this[_0x3e6069(0x123)]=null,this[_0x3e6069(0x182)]=this[_0x3e6069(0x22e)][_0x3e6069(0x205)][_0x3e6069(0x105)](_0x23d20f);}[_0x122b6f(0x17c)](){const _0x1942e5=_0x122b6f,_0x5fea33=this[_0x1942e5(0x22e)],_0x3c1811=new ShowChangeCommand(_0x5fea33,{'direction':_0x1942e5(0x164)}),_0x4cefe4=new ShowChangeCommand(_0x5fea33,{'direction':_0x1942e5(0x107)});(_0x5fea33[_0x1942e5(0x1e2)][_0x1942e5(0x10c)](_0x1942e5(0x1dc),_0x3c1811),_0x5fea33[_0x1942e5(0x1e2)][_0x1942e5(0x10c)](_0x1942e5(0x12d),_0x4cefe4),_0x5fea33[_0x1942e5(0x1e2)][_0x1942e5(0x10c)](_0x1942e5(0x190),new RestoreRevisionCommand(_0x5fea33)),this['on'](_0x1942e5(0x21a),()=>{const _0x2a14f0=_0x1942e5;_0x3c1811[_0x2a14f0(0x23b)](),_0x4cefe4[_0x2a14f0(0x23b)]();}),this[_0x1942e5(0x18d)](),this[_0x1942e5(0x1cf)](),_0x5fea33[_0x1942e5(0x208)](_0x1942e5(0x1da)),_0x5fea33[_0x1942e5(0x205)][_0x1942e5(0x23f)](_0x1942e5(0x1b9)))&&_0x5fea33[_0x1942e5(0x205)][_0x1942e5(0x105)](_0x1942e5(0x1b9))[_0x1942e5(0x22a)](_0x1942e5(0x1da));}async[_0x122b6f(0x19a)](_0x549949){const _0x1fb250=_0x122b6f;await this[_0x1fb250(0x13e)](_0x549949);const _0x5c0f9f={};for(const _0x2e230c in _0x549949[_0x1fb250(0x21d)]){if(_0x549949[_0x1fb250(0x21d)][_0x2e230c][_0x1fb250(0x207)]&&!_0x549949[_0x1fb250(0x21d)][_0x2e230c][_0x1fb250(0x207)][_0x1fb250(0x167)])continue;const _0x565fbe=this[_0x1fb250(0x1ec)](JSON[_0x1fb250(0xf4)](_0x549949[_0x1fb250(0x21d)][_0x2e230c][_0x1fb250(0xf7)])),_0x2cff4a=this[_0x1fb250(0x22e)][_0x1fb250(0x1a0)][_0x1fb250(0x129)][_0x1fb250(0x200)],_0xa8edd0=new _0x2c4018(_0x2cff4a,_0x565fbe[_0x1fb250(0x1ae)](_0xa9b4cf=>this[_0x1fb250(0x1c8)](_0xa9b4cf)));this[_0x1fb250(0x22e)][_0x1fb250(0x1d3)][_0x1fb250(0x1b2)][_0x1fb250(0x100)](_0x1fb250(0x1d0)),_0x5c0f9f[_0x2e230c]=this[_0x1fb250(0x22e)][_0x1fb250(0x1d3)][_0x1fb250(0x1b2)][_0x1fb250(0x1b6)](_0xa8edd0),this[_0x1fb250(0x22e)][_0x1fb250(0x1d3)][_0x1fb250(0x1b2)][_0x1fb250(0x100)](_0x1fb250(0x225));}return _0x5c0f9f;}async[_0x122b6f(0x1fe)](_0x1ba442){const _0x33207d=_0x122b6f;await this[_0x33207d(0x13e)](_0x1ba442);const _0x289cd0={};for(const _0x107044 in _0x1ba442[_0x33207d(0x21d)])_0x1ba442[_0x33207d(0x21d)][_0x107044][_0x33207d(0x207)]&&!_0x1ba442[_0x33207d(0x21d)][_0x107044][_0x33207d(0x207)][_0x33207d(0x167)]||(_0x289cd0[_0x107044]=_0x1ba442[_0x33207d(0x21d)][_0x107044][_0x33207d(0x1b7)]||{});return _0x289cd0;}[_0x122b6f(0x1ec)](_0x4d9b1e){const _0x4028be=_0x122b6f;return(_0x4d9b1e=_0x4d9b1e[_0x4028be(0x1aa)](_0x5e7a8e=>!_0x5e7a8e[_0x4028be(0x226)]||_0x4028be(0x134)!==_0x5e7a8e[_0x4028be(0x226)]&&_0x4028be(0x1a6)!==_0x5e7a8e[_0x4028be(0x226)]))[_0x4028be(0x232)](_0x380d9f=>{const _0x52655d=_0x4028be;_0x52655d(0x16b)!=typeof _0x380d9f&&(_0x380d9f[_0x52655d(0x23c)]=this[_0x52655d(0x1ec)](_0x380d9f[_0x52655d(0x23c)]),_0x380d9f[_0x52655d(0x1f2)]=_0x380d9f[_0x52655d(0x1f2)][_0x52655d(0x1aa)](_0x5358c2=>!_0x5358c2[0x0][_0x52655d(0x177)](_0x52655d(0x1e8))));}),_0x4d9b1e;}async[_0x122b6f(0x136)](_0x238f52,_0x47d251,_0x20e075=!0x1){const _0x4760c8=_0x122b6f;if(!this[_0x4760c8(0x214)])return;const _0x33e809=this[_0x4760c8(0x14c)],_0x1eb9ed=this[_0x4760c8(0x229)],_0x375a7b=_0x4760c8(0x16b)==typeof _0x238f52?_0x1eb9ed[_0x4760c8(0x15f)](_0x238f52):_0x238f52,_0x17c763=_0x4760c8(0x16b)==typeof _0x47d251?_0x1eb9ed[_0x4760c8(0x15f)](_0x47d251):_0x47d251,_0x341646=_0x375a7b['id'],_0x1173d9=_0x17c763?_0x17c763['id']:null;if(!_0x20e075&&this[_0x4760c8(0x14c)]&&this[_0x4760c8(0x14c)][_0x4760c8(0x15d)]===_0x341646&&this[_0x4760c8(0x14c)][_0x4760c8(0x14b)]===_0x1173d9)return Promise[_0x4760c8(0x196)]();this[_0x4760c8(0x230)]=!0x1,this[_0x4760c8(0x11b)]=null,this[_0x4760c8(0x1db)]=null,this[_0x4760c8(0x14c)]=new _0x507793(_0x341646,_0x1173d9);const _0x5ee552=this[_0x4760c8(0x238)](_0x375a7b,_0x17c763,!0x0)[_0x4760c8(0x1ae)](_0x48120f=>this[_0x4760c8(0x13e)](_0x48120f));return _0x5ee552[_0x4760c8(0x188)](new Promise(_0x3020ab=>{setTimeout(_0x3020ab,0x14);})),Promise[_0x4760c8(0x17e)](_0x5ee552)[_0x4760c8(0x17a)](()=>{const _0x21a40d=_0x4760c8;if(!this[_0x21a40d(0x214)])return;this[_0x21a40d(0x146)]();const _0x220849=this[_0x21a40d(0x1ba)](_0x341646,_0x1173d9);for(const _0x268934 of _0x220849[_0x21a40d(0x1d4)])this[_0x21a40d(0x13d)][_0x21a40d(0x203)](_0x268934['id'],_0x268934);this[_0x21a40d(0x22e)][_0x21a40d(0x1ad)][_0x21a40d(0xf3)]({'isUndoable':!0x1},_0x40a302=>{const _0x155fc9=_0x21a40d;for(const _0x1d8196 of this[_0x155fc9(0x22e)][_0x155fc9(0x1ad)][_0x155fc9(0x200)][_0x155fc9(0x1a7)]())_0x40a302[_0x155fc9(0x132)](_0x1d8196);for(const _0x371017 of Object[_0x155fc9(0x1ab)](_0x220849[_0x155fc9(0x1ad)])){const _0x1d56f7=_0x40a302[_0x155fc9(0x176)](_0x371017);for(const _0x329543 of Object[_0x155fc9(0x1ab)](_0x220849[_0x155fc9(0x1f2)][_0x371017]))_0x40a302[_0x155fc9(0x1f3)](_0x329543,_0x220849[_0x155fc9(0x1f2)][_0x371017][_0x329543],_0x1d56f7);_0x40a302[_0x155fc9(0x128)](_0x220849[_0x155fc9(0x1ad)][_0x371017],_0x1d56f7,0x0);}}),this[_0x21a40d(0x14c)][_0x21a40d(0x122)](this[_0x21a40d(0x1dd)](_0x220849[_0x21a40d(0x1d4)])),this[_0x21a40d(0x230)]=!0x0;})[_0x4760c8(0x165)](_0x193f33=>{const _0x3bad23=_0x4760c8;console[_0x3bad23(0x1e4)](_0x193f33),this[_0x3bad23(0x146)](),_0x33e809&&(this[_0x3bad23(0x14c)]=_0x33e809),this[_0x3bad23(0x230)]=!0x0;});}[_0x122b6f(0x11d)](_0x419575,_0x169f6c){const _0xbe4855=_0x122b6f,_0x371491=this[_0xbe4855(0x229)][_0xbe4855(0x219)](_0x419575);return _0x371491['on'](_0xbe4855(0x104),(_0xae1c7e,_0x290229,_0x375add)=>_0x169f6c(_0x290229,_0x375add,_0x371491)),this[_0xbe4855(0x229)][_0xbe4855(0x1e0)](_0x371491),_0x371491;}[_0x122b6f(0x13e)](_0x58e93f){const _0x28111d=_0x122b6f;if(!_0x58e93f||_0x58e93f[_0x28111d(0x21d)])return Promise[_0x28111d(0x196)]();{const _0x179c32=this[_0x28111d(0x22e)][_0x28111d(0x101)][_0x28111d(0x105)](_0x28111d(0x199));return this[_0x28111d(0x123)][_0x28111d(0x15f)]({'channelId':_0x179c32,'revisionId':_0x58e93f['id']})[_0x28111d(0x17a)](_0x569c61=>{const _0xf06d7a=_0x28111d;_0x58e93f[_0xf06d7a(0x104)]({'diffData':_0x569c61[_0xf06d7a(0x21d)]},!0x0);});}}[_0x122b6f(0x146)](){const _0x5e3877=_0x122b6f;this[_0x5e3877(0x1db)]=null,this[_0x5e3877(0x18b)](),this[_0x5e3877(0x114)]&&this[_0x5e3877(0x114)][_0x5e3877(0x16a)](),this[_0x5e3877(0x114)]=null,this[_0x5e3877(0x13d)][_0x5e3877(0x1a4)](),this[_0x5e3877(0x22e)][_0x5e3877(0x1ad)][_0x5e3877(0xf3)]({'isUndoable':!0x1},_0x1fdb8b=>{const _0x220dad=_0x5e3877;for(const _0x59b680 of this[_0x220dad(0x22e)][_0x220dad(0x1ad)][_0x220dad(0x200)][_0x220dad(0x1a7)]())_0x1fdb8b[_0x220dad(0x132)](_0x59b680);});}[_0x122b6f(0x1dd)](_0x29c473){const _0x22803e=_0x122b6f,_0x22f114=[],_0x4380c4=new Map();for(const _0x205b01 of this[_0x22803e(0x22e)][_0x22803e(0x1ad)][_0x22803e(0x200)][_0x22803e(0x1a7)]()){const _0x3b0552=this[_0x22803e(0x22e)][_0x22803e(0x1a0)][_0x22803e(0x129)][_0x22803e(0x213)](_0x205b01);if(!_0x3b0552)continue;const _0x4cf50d=_0x3b0552[_0x22803e(0x153)]()[_0x22803e(0x160)](0x0);_0x4cf50d&&(_0x22f114[_0x22803e(0x188)](_0x205b01),_0x4380c4[_0x22803e(0x203)](_0x205b01,_0x4cf50d));}return _0x22f114[_0x22803e(0x133)]((_0x22e6bc,_0x45d310)=>{const _0x1efe03=_0x22803e,_0x51765c=_0x4380c4[_0x1efe03(0x105)](_0x22e6bc),_0xb90caa=_0x4380c4[_0x1efe03(0x105)](_0x45d310);return _0x51765c['y']-_0xb90caa['y']||_0x51765c['x']-_0xb90caa['x'];}),(_0x29c473=_0x29c473[_0x22803e(0x1aa)](_0x4247d6=>_0x22f114[_0x22803e(0x158)](_0x4247d6[_0x22803e(0x168)])))[_0x22803e(0x133)]((_0x47c015,_0x4173fa)=>_0x22f114[_0x22803e(0x152)](_0x47c015[_0x22803e(0x168)])-_0x22f114[_0x22803e(0x152)](_0x4173fa[_0x22803e(0x168)])),_0x29c473;}[_0x122b6f(0x143)](_0xf5774e){const _0x36bd69=_0x122b6f,_0x27abe4=Array[_0x36bd69(0x20d)](_0xf5774e[_0x36bd69(0x227)])[_0x36bd69(0x1aa)](([_0x4bc4f4,_0x1c39c2])=>_0x4bc4f4[_0x36bd69(0x177)](_0x36bd69(0x135))&&!_0x1c39c2[_0x36bd69(0x170)]),_0x123458=Array[_0x36bd69(0x20d)](this[_0x36bd69(0x22e)][_0x36bd69(0x1ad)][_0x36bd69(0x116)](_0xf5774e)[_0x36bd69(0x1f0)]({'singleCharacters':!0x0}));if(0x0!=_0x27abe4[_0x36bd69(0x166)])for(const _0x33d4ab of _0x123458){const [_0x408aee,_0x207e25]=_0x27abe4[0x0],[,_0x3fbf5a,_0xe3ddb6]=_0x408aee[_0x36bd69(0x149)](':');if(_0x207e25[_0x36bd69(0x21b)][_0x36bd69(0xff)](_0x33d4ab[_0x36bd69(0x145)])&&_0x27abe4[_0x36bd69(0x1c7)](),(_0x33d4ab[_0x36bd69(0x1fa)][_0x36bd69(0xff)](_0x207e25[_0x36bd69(0x22c)])||_0x33d4ab[_0x36bd69(0x1fa)][_0x36bd69(0x195)](_0x207e25[_0x36bd69(0x22c)]))&&(_0x36bd69(0xf5)==_0x3fbf5a?_0x33d4ab[_0x36bd69(0x178)]={'userId':_0xe3ddb6}:_0x36bd69(0x242)==_0x3fbf5a&&(_0x33d4ab[_0x36bd69(0x187)]={'userId':_0xe3ddb6})),0x0==_0x27abe4[_0x36bd69(0x166)])break;}return _0x123458;}[_0x122b6f(0xf2)](_0xa740fe){const _0x529791=_0x122b6f,_0x55e214=new Map();for(let _0x1e349e=0x0;_0x1e349e<_0xa740fe[_0x529791(0x166)];_0x1e349e++)_0x529791(0x15b)===_0xa740fe[_0x1e349e][_0x529791(0x197)]?(_0xa740fe[_0x1e349e][_0x529791(0x160)][_0x529791(0x1e7)]=_0x1e349e,_0xa740fe[_0x1e349e][_0x529791(0x160)][_0x529791(0x1fc)]=_0x1e349e):(_0x529791(0x202)===_0xa740fe[_0x1e349e][_0x529791(0x197)]?_0xa740fe[_0x1e349e][_0x529791(0x160)][_0x529791(0x1e7)]=_0x1e349e:_0x529791(0x131)===_0xa740fe[_0x1e349e][_0x529791(0x197)]&&(_0xa740fe[_0x1e349e][_0x529791(0x160)][_0x529791(0x1fc)]=_0x1e349e),_0x55e214[_0x529791(0x203)](_0xa740fe[_0x1e349e]['id'],_0x1e349e));for(const _0x3e0455 of _0x55e214[_0x529791(0xfa)]())_0x529791(0x202)===_0xa740fe[_0x3e0455][_0x529791(0x197)]?_0xa740fe[_0x3e0455][_0x529791(0x160)][_0x529791(0x1fc)]=_0x55e214[_0x529791(0x105)](_0xa740fe[_0x3e0455][_0x529791(0x169)]):_0x529791(0x131)===_0xa740fe[_0x3e0455][_0x529791(0x197)]&&(_0xa740fe[_0x3e0455][_0x529791(0x160)][_0x529791(0x1e7)]=_0x55e214[_0x529791(0x105)](_0xa740fe[_0x3e0455][_0x529791(0x169)]));}[_0x122b6f(0x102)](_0x248ad7){const _0x2d9797=_0x122b6f;for(let _0xbbfbf0=0x0;_0xbbfbf0<_0x248ad7[_0x2d9797(0x166)];_0xbbfbf0++){if(_0x2d9797(0x202)===_0x248ad7[_0xbbfbf0][_0x2d9797(0x197)])_0x248ad7[_0xbbfbf0][_0x2d9797(0x160)][_0x2d9797(0x1e7)]=_0xbbfbf0;else{if(_0x2d9797(0x131)===_0x248ad7[_0xbbfbf0][_0x2d9797(0x197)]){_0x248ad7[_0xbbfbf0][_0x2d9797(0x160)][_0x2d9797(0x1fc)]=_0xbbfbf0;const _0x68c5f3=_0x248ad7[_0xbbfbf0][_0x2d9797(0x160)][_0x2d9797(0x1e7)];_0x248ad7[_0x68c5f3][_0x2d9797(0x169)]=_0x248ad7[_0xbbfbf0]['id'],_0x248ad7[_0xbbfbf0][_0x2d9797(0x169)]=_0x248ad7[_0x68c5f3]['id'];}else _0x248ad7[_0xbbfbf0][_0x2d9797(0x160)][_0x2d9797(0x1e7)]=_0xbbfbf0,_0x248ad7[_0xbbfbf0][_0x2d9797(0x160)][_0x2d9797(0x1fc)]=_0xbbfbf0,_0x248ad7[_0xbbfbf0][_0x2d9797(0x169)]=null;}_0x248ad7[_0xbbfbf0][_0x2d9797(0x1a9)]||(_0x248ad7[_0xbbfbf0][_0x2d9797(0x1a9)]=[],_0x248ad7[_0xbbfbf0][_0x2d9797(0x1bd)]=[]);}}[_0x122b6f(0x1ac)](_0x413709,_0x863d0e){const _0x13f2e9=_0x122b6f,_0x4c3f32=_0x413709[_0x13f2e9(0x1aa)](_0xb6c7f7=>!_0xb6c7f7[_0x13f2e9(0x178)]);for(let _0x26d2fa=0x0;_0x26d2fa<_0x863d0e[_0x13f2e9(0x166)];_0x26d2fa++)_0x863d0e[_0x26d2fa][_0x13f2e9(0x178)]&&(_0x4c3f32[_0x26d2fa][_0x13f2e9(0x178)]=_0x863d0e[_0x26d2fa][_0x13f2e9(0x178)]);}[_0x122b6f(0x228)](_0x350bc1){const _0x3f87a8=_0x122b6f,_0x2ae915=JSON[_0x3f87a8(0xf4)](_0x350bc1),_0x22e5f0=this[_0x3f87a8(0x22e)][_0x3f87a8(0x1a0)][_0x3f87a8(0x129)][_0x3f87a8(0x200)],_0xdca1c8=new _0x2c4018(_0x22e5f0,_0x2ae915[_0x3f87a8(0x1ae)](_0x225a0b=>this[_0x3f87a8(0x1c8)](_0x225a0b)));return this[_0x3f87a8(0x22e)][_0x3f87a8(0x1d3)][_0x3f87a8(0x106)](_0xdca1c8);}[_0x122b6f(0x1c8)](_0x11eda6){const _0xd65d3b=_0x122b6f,_0x110bcf=this[_0xd65d3b(0x22e)][_0xd65d3b(0x1a0)][_0xd65d3b(0x129)][_0xd65d3b(0x200)];if(_0xd65d3b(0x16b)==typeof _0x11eda6)return new _0x56dcf6(_0x110bcf,_0x11eda6);{const _0x4eff61=_0x11eda6[_0xd65d3b(0x23c)][_0xd65d3b(0x1ae)](_0x16376d=>this[_0xd65d3b(0x1c8)](_0x16376d));return new(tt[_0x11eda6[(_0xd65d3b(0x197))]]||_0x26b745)(_0x110bcf,_0x11eda6[_0xd65d3b(0x226)],_0x11eda6[_0xd65d3b(0x1f2)],_0x4eff61);}}[_0x122b6f(0x1ba)](_0x36449c,_0x1c30de=null){const _0x46f38d=_0x122b6f,_0x2c0e3a=this[_0x46f38d(0x229)][_0x46f38d(0x15f)](_0x36449c),_0x9308e7=_0x1c30de?this[_0x46f38d(0x229)][_0x46f38d(0x15f)](_0x1c30de):null,_0x375ac1=this[_0x46f38d(0x238)](_0x2c0e3a,_0x9308e7),_0x34fde2=_0x375ac1[_0x375ac1[_0x46f38d(0x166)]-0x1],_0x4cbd21=new Map(),_0x42aa65={'model':{},'attributes':{},'changes':[]},_0x52f916=new Set(),_0x4ad188=new Map();for(let _0x40ab8f=_0x375ac1[_0x46f38d(0x166)]-0x1;_0x40ab8f>=0x0;_0x40ab8f--){const _0xa50434=_0x375ac1[_0x40ab8f];for(const _0x4ff0bd of Object[_0x46f38d(0x1ab)](_0xa50434[_0x46f38d(0x21d)]))if(_0xa50434[_0x46f38d(0x21d)][_0x4ff0bd][_0x46f38d(0x207)]){const _0x376232=_0xa50434[_0x46f38d(0x21d)][_0x4ff0bd][_0x46f38d(0x207)];_0x376232[_0x46f38d(0x167)]?(_0x52f916[_0x46f38d(0x10c)](_0x4ff0bd),_0x4ad188[_0x46f38d(0x23f)](_0x4ff0bd)&&_0x4ad188[_0x46f38d(0x105)](_0x4ff0bd)[_0x46f38d(0x110)]==_0x376232[_0x46f38d(0x110)]?_0x4ad188[_0x46f38d(0x218)](_0x4ff0bd):_0x4ad188[_0x46f38d(0x203)](_0x4ff0bd,_0x376232)):_0x4ad188[_0x46f38d(0x23f)](_0x4ff0bd)?(_0x52f916[_0x46f38d(0x218)](_0x4ff0bd),_0x4ad188[_0x46f38d(0x218)](_0x4ff0bd)):(_0x52f916[_0x46f38d(0x10c)](_0x4ff0bd),_0x4ad188[_0x46f38d(0x203)](_0x4ff0bd,_0x376232));}else _0x52f916[_0x46f38d(0x10c)](_0x4ff0bd);}for(const _0x4f74d1 of _0x52f916){const _0x55e16d=_0x4ad188[_0x46f38d(0x23f)](_0x4f74d1)&&!_0x4ad188[_0x46f38d(0x105)](_0x4f74d1)[_0x46f38d(0x167)];let _0x52094a=_0x55e16d?_0x375ac1[_0x46f38d(0x166)]-0x1:0x0;const _0x34a896=_0x55e16d?-0x1:0x1;for(;_0x375ac1[_0x52094a];){const _0x28387e=_0x375ac1[_0x52094a];if(_0x28387e[_0x46f38d(0x21d)][_0x4f74d1]){const _0x49cd1e=_0x55e16d?_0x28387e[_0x46f38d(0x21d)][_0x4f74d1][_0x46f38d(0x198)]:_0x28387e[_0x46f38d(0x21d)][_0x4f74d1][_0x46f38d(0x1b7)];_0x42aa65[_0x46f38d(0x1f2)][_0x4f74d1]=_0x49cd1e?_0x51a5fd(_0x49cd1e):{};break;}_0x52094a+=_0x34a896;}}for(const _0x3fbeec of _0x375ac1){_0x3fbeec[_0x46f38d(0x1ad)]={};for(const _0x2f62ac of _0x3fbeec[_0x46f38d(0x1b4)])_0x4cbd21[_0x46f38d(0x203)](_0x2f62ac['id'],_0x2f62ac);for(const _0x581314 of _0x52f916){const _0x31eabb=_0x3fbeec[_0x46f38d(0x21d)][_0x581314]?_0x3fbeec[_0x46f38d(0x21d)][_0x581314][_0x46f38d(0xf7)]:'[]',_0x56141a=_0x3fbeec[_0x46f38d(0x21d)][_0x581314]?_0x3fbeec[_0x46f38d(0x21d)][_0x581314][_0x46f38d(0x1f9)]:'[]';_0x3fbeec[_0x46f38d(0x1ad)][_0x581314]={'insertions':this[_0x46f38d(0x228)](_0x31eabb),'deletions':this[_0x46f38d(0x228)](_0x56141a)};}}for(const _0x338351 of _0x52f916){let _0x2ed47f=null,_0x589d60=0x0;const _0x53b87b=new Map(Array[_0x46f38d(0x20d)](_0x2c0e3a[_0x46f38d(0x1ad)][_0x338351][_0x46f38d(0xf7)][_0x46f38d(0x227)])[_0x46f38d(0x1aa)](([_0x108acf])=>!_0x108acf[_0x46f38d(0x177)](_0x46f38d(0x135))));let _0x218450=0x0;for(const _0x5514aa of _0x375ac1){const _0x207ba5=this[_0x46f38d(0x143)](_0x5514aa[_0x46f38d(0x1ad)][_0x338351][_0x46f38d(0xf7)]);_0x5514aa==_0x2c0e3a?(_0x2ed47f=_0x207ba5,_0x589d60=_0x2ed47f[_0x46f38d(0x166)],_0x2ed47f[_0x46f38d(0x232)](_0x54923e=>{_0x54923e['id']=_0x218450++;}),this[_0x46f38d(0x102)](_0x2ed47f)):this[_0x46f38d(0x1ac)](_0x2ed47f,_0x207ba5);const _0x580c67=_0x2ed47f[_0x46f38d(0x1aa)](_0x2f650d=>!_0x2f650d[_0x46f38d(0x178)])[_0x46f38d(0x1ae)](_0x43a0aa=>_0x43a0aa['id']);let _0x590b62=0x0;const _0x523b68=this[_0x46f38d(0x143)](_0x5514aa[_0x46f38d(0x1ad)][_0x338351][_0x46f38d(0x1f9)]);_0x523b68[_0x46f38d(0x232)](_0x53758b=>{const _0x54104c=_0x46f38d;_0x53758b[_0x54104c(0x187)]?_0x53758b['id']=_0x589d60++:_0x53758b['id']=_0x580c67[_0x590b62++];}),this[_0x46f38d(0x102)](_0x523b68),this[_0x46f38d(0x1b3)](_0x2ed47f,_0x46f38d(0x178)),this[_0x46f38d(0x1b3)](_0x523b68,_0x46f38d(0x187)),_0x5514aa==_0x2c0e3a&&this[_0x46f38d(0x1df)](_0x2ed47f,_0x53b87b),_0x2ed47f=this[_0x46f38d(0x19c)](_0x2ed47f,_0x523b68),this[_0x46f38d(0xf2)](_0x2ed47f),this[_0x46f38d(0x1b3)](_0x2ed47f,_0x46f38d(0x187));}_0x2ed47f=_0x2ed47f[_0x46f38d(0x1aa)](_0x198387=>!(_0x198387[_0x46f38d(0x178)]&&_0x198387[_0x46f38d(0x187)]));const _0x3c4a34=new Map(_0x34fde2[_0x46f38d(0x1ad)][_0x338351][_0x46f38d(0x1f9)][_0x46f38d(0x227)]),_0x4e3755=new Set(_0x53b87b[_0x46f38d(0x1ab)]());for(const _0x3cf91b of _0x3c4a34[_0x46f38d(0x1ab)]())_0x4e3755[_0x46f38d(0x218)](_0x3cf91b);this[_0x46f38d(0x1cd)](_0x2ed47f,_0x4e3755),this[_0x46f38d(0x1f5)](_0x2ed47f),_0x2ed47f=this[_0x46f38d(0x117)](_0x2ed47f),_0x2ed47f=this[_0x46f38d(0x22b)](_0x2ed47f),_0x2ed47f=this[_0x46f38d(0x13c)](_0x2ed47f);const {root:_0x21852a,changes:_0x4bd343}=this[_0x46f38d(0x111)](_0x2ed47f,_0x4cbd21,_0x338351);_0x42aa65[_0x46f38d(0x1ad)][_0x338351]=_0x21852a;const _0x1596f3=_0x4ad188[_0x46f38d(0x105)](_0x338351);if(_0x1596f3){const _0x35be37=_0x4cbd21[_0x46f38d(0x105)](_0x1596f3[_0x46f38d(0x110)]),_0x4f95ed=new _0x514544({'author':_0x35be37,'type':_0x1596f3[_0x46f38d(0x167)]?_0x46f38d(0x10c):_0x46f38d(0x1c3),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x338351});_0x4bd343[_0x46f38d(0x1fb)](_0x4f95ed),_0x42aa65[_0x46f38d(0x1f2)][_0x338351][_0x46f38d(0x139)]=_0x4f95ed['id'];}_0x42aa65[_0x46f38d(0x1d4)]=_0x42aa65[_0x46f38d(0x1d4)][_0x46f38d(0x151)](_0x4bd343);}return _0x42aa65;}[_0x122b6f(0x1df)](_0x58def3,_0x2726ee){const _0x2831a5=_0x122b6f;for(let _0x2beae5=0x0;_0x2beae5<_0x58def3[_0x2831a5(0x166)];_0x2beae5++)for(const [_0x3ce19c,_0x1d96da]of _0x2726ee)_0x1d96da[_0x2831a5(0x22c)][_0x2831a5(0xff)](_0x58def3[_0x2beae5][_0x2831a5(0x1fa)])&&_0x58def3[_0x2beae5][_0x2831a5(0x1a9)][_0x2831a5(0x188)](_0x3ce19c),_0x1d96da[_0x2831a5(0x21b)][_0x2831a5(0xff)](_0x58def3[_0x2beae5][_0x2831a5(0x145)])&&_0x58def3[_0x2beae5][_0x2831a5(0x1bd)][_0x2831a5(0x188)](_0x3ce19c);}[_0x122b6f(0x19c)](_0x3f7427,_0x293e16){const _0x2ea6ee=_0x122b6f;let _0x9cb656=[],_0x164717=0x0,_0x39f2f6=0x0;for(;_0x164717<_0x3f7427[_0x2ea6ee(0x166)]||_0x39f2f6<_0x293e16[_0x2ea6ee(0x166)];){const _0x463207=_0x3f7427[_0x164717]||{},_0x409232=_0x293e16[_0x39f2f6]||{};if(_0x463207['id']==_0x409232['id'])_0x164717++,_0x39f2f6++,_0x9cb656[_0x2ea6ee(0x188)](_0x463207);else{if(_0x409232[_0x2ea6ee(0x187)]&&_0x463207[_0x2ea6ee(0x178)]){const {commonTape:_0x24ffe5,iEnd:_0x351459,jEnd:_0x3427d9}=this[_0x2ea6ee(0x10f)](_0x3f7427,_0x164717,_0x293e16,_0x39f2f6);_0x9cb656=_0x9cb656[_0x2ea6ee(0x151)](_0x24ffe5),_0x164717=_0x351459,_0x39f2f6=_0x3427d9;}else _0x409232[_0x2ea6ee(0x187)]?(_0x39f2f6++,_0x9cb656[_0x2ea6ee(0x188)](_0x409232)):(_0x164717++,_0x9cb656[_0x2ea6ee(0x188)](_0x463207));}}return _0x9cb656;}[_0x122b6f(0x1cd)](_0x255a45,_0x151feb){const _0x2ded56=_0x122b6f,_0x43f3d5=[];for(let _0x1dffd0=0x0;_0x1dffd0<_0x255a45[_0x2ded56(0x166)];_0x1dffd0++){for(let _0x353de9=0x0;_0x353de9<_0x255a45[_0x1dffd0][_0x2ded56(0x1a9)][_0x2ded56(0x166)];_0x353de9++){const _0x59e5f3=_0x255a45[_0x1dffd0][_0x2ded56(0x1a9)][_0x353de9];if(!_0x151feb[_0x2ded56(0x23f)](_0x59e5f3))continue;const {group:_0x328a3d,type:_0x345cd8,authorId:_0x1117ec}=_0x4a5b87(_0x59e5f3);_0x2ded56(0x237)!=_0x328a3d||_0x2ded56(0xf5)!=_0x345cd8&&_0x2ded56(0x242)!=_0x345cd8||(_0x43f3d5[_0x2ded56(0x1fb)]({'type':_0x345cd8,'name':_0x59e5f3,'userId':_0x1117ec}),_0x255a45[_0x1dffd0][_0x2ded56(0x1a9)][_0x2ded56(0x1d9)](_0x353de9,0x1),_0x353de9--);}_0x4e9342(_0x255a45[_0x1dffd0]);for(let _0x5eec2a=0x0;_0x5eec2a<_0x255a45[_0x1dffd0][_0x2ded56(0x1bd)][_0x2ded56(0x166)];_0x5eec2a++){const _0x1fbad7=_0x255a45[_0x1dffd0][_0x2ded56(0x1bd)][_0x5eec2a];if(!_0x151feb[_0x2ded56(0x23f)](_0x1fbad7))continue;const {group:_0x28d410,type:_0x328a8e}=_0x4a5b87(_0x1fbad7);if(_0x2ded56(0x237)!=_0x28d410||_0x2ded56(0xf5)!=_0x328a8e&&_0x2ded56(0x242)!=_0x328a8e)continue;_0x255a45[_0x1dffd0][_0x2ded56(0x1bd)][_0x2ded56(0x1d9)](_0x5eec2a,0x1),_0x5eec2a--;const _0xe40b24=_0x43f3d5[_0x2ded56(0x17b)](_0x20612d=>_0x20612d[_0x2ded56(0x226)]==_0x1fbad7);_0xe40b24>-0x1&&_0x43f3d5[_0x2ded56(0x1d9)](_0xe40b24,0x1);}}function _0x4a5b87(_0x5bea72){const _0x485cf6=_0x2ded56,_0x46f75f=_0x5bea72[_0x485cf6(0x149)](':');return{'group':_0x46f75f[0x0],'type':_0x46f75f[0x1],'subType':_0x46f75f[_0x485cf6(0x166)]>=0x5?_0x46f75f[0x2]:null,'id':_0x46f75f[_0x485cf6(0x166)]<0x5?_0x46f75f[0x2]:_0x46f75f[0x3],'authorId':_0x46f75f[_0x485cf6(0x166)]<0x5?_0x46f75f[0x3]:_0x46f75f[0x4],'markerCount':0x6==_0x46f75f[_0x485cf6(0x166)]?_0x46f75f[0x5]:null};}function _0x4e9342(_0x2fba21){const _0x6256f9=_0x2ded56;for(let _0x2a0029=0x0;_0x2a0029<_0x43f3d5[_0x6256f9(0x166)];_0x2a0029++){if(_0x2fba21[_0x6256f9(0x178)]&&_0x6256f9(0xf5)==_0x43f3d5[_0x2a0029][_0x6256f9(0x197)])return _0x2fba21[_0x6256f9(0x239)]=_0x43f3d5[_0x2a0029],void delete _0x2fba21[_0x6256f9(0x178)];if(!_0x2fba21[_0x6256f9(0x178)]&&!_0x2fba21[_0x6256f9(0x187)]&&_0x6256f9(0x242)==_0x43f3d5[_0x2a0029][_0x6256f9(0x197)])return void(_0x2fba21[_0x6256f9(0x19b)]=_0x43f3d5[_0x2a0029]);}}}[_0x122b6f(0x1b3)](_0x262c9d,_0x4682d3){const _0x35ebe4=_0x122b6f;let _0x4ebb92=0x0,_0x36559f=!0x1;const _0x3b153a=new Map();for(const _0x3c2137 of _0x262c9d)_0x3c2137[_0x4682d3]?_0x36559f&&(_0x4ebb92++,_0x36559f=!0x1):(_0x4ebb92++,_0x36559f=!0x0),_0x3b153a[_0x35ebe4(0x203)](_0x3c2137['id'],_0x4ebb92);for(let _0x169f1b=0x0;_0x169f1b<_0x262c9d[_0x35ebe4(0x166)];_0x169f1b++){if(_0x35ebe4(0x187)==_0x4682d3&&_0x262c9d[_0x169f1b][_0x35ebe4(0x178)]||_0x35ebe4(0x178)==_0x4682d3&&_0x262c9d[_0x169f1b][_0x35ebe4(0x187)])continue;if(_0x35ebe4(0x15b)==_0x262c9d[_0x169f1b][_0x35ebe4(0x197)]){_0x262c9d[_0x169f1b][_0x35ebe4(0x221)]=0x0;continue;}const _0x18144d=_0x3b153a[_0x35ebe4(0x105)](_0x262c9d[_0x169f1b][_0x35ebe4(0x169)]),_0xb84ddc=_0x3b153a[_0x35ebe4(0x105)](_0x262c9d[_0x169f1b]['id']);_0x262c9d[_0x169f1b][_0x35ebe4(0x221)]=_0x18144d-_0xb84ddc;}}[_0x122b6f(0x238)](_0x4b21a7,_0x4d9dbd,_0x24eefd=!0x1){const _0x37612a=_0x122b6f,_0x3f8fea=[];let _0x4c5d5e=this[_0x37612a(0x229)][_0x37612a(0x18f)](_0x4b21a7),_0x4d248=this[_0x37612a(0x229)][_0x37612a(0x18f)](_0x4d9dbd);for(-0x1==_0x4d248&&(_0x4d248=this[_0x37612a(0x229)][_0x37612a(0x109)][_0x37612a(0x166)],_0x24eefd=!0x1);_0x4c5d5e<_0x4d248;)_0x3f8fea[_0x37612a(0x188)](this[_0x37612a(0x229)][_0x37612a(0x15f)](_0x4c5d5e)),_0x4c5d5e++;return _0x24eefd&&_0x3f8fea[_0x37612a(0x188)](this[_0x37612a(0x229)][_0x37612a(0x15f)](_0x4c5d5e)),_0x3f8fea;}[_0x122b6f(0x10f)](_0x303fc8,_0x542e19,_0x4b1d05,_0x134670){const _0x589259=_0x122b6f,_0x29258f=this[_0x589259(0x22e)][_0x589259(0x1ad)][_0x589259(0x20c)];let _0x5af1c8=_0x542e19;for(;_0x303fc8[_0x5af1c8]&&_0x303fc8[_0x5af1c8][_0x589259(0x178)];)_0x5af1c8++;let _0x1d7a80=_0x134670;for(;_0x4b1d05[_0x1d7a80]&&_0x4b1d05[_0x1d7a80][_0x589259(0x187)];)_0x1d7a80++;_0xe5bbb1(_0x303fc8,_0x542e19,_0x5af1c8),_0xe5bbb1(_0x4b1d05,_0x134670,_0x1d7a80);const _0x362d59=_0x4b1d05[_0x589259(0x1c1)](_0x134670,_0x1d7a80)[_0x589259(0x151)](_0x303fc8[_0x589259(0x1c1)](_0x542e19,_0x5af1c8));return _0x362d59[_0x589259(0x133)]((_0x18a5cc,_0x26ebf5)=>_0x18a5cc[_0x589259(0x222)]!=_0x26ebf5[_0x589259(0x222)]?_0x18a5cc[_0x589259(0x222)]-_0x26ebf5[_0x589259(0x222)]:_0x18a5cc[_0x589259(0x1fd)]!=_0x26ebf5[_0x589259(0x1fd)]?_0x18a5cc[_0x589259(0x1fd)]-_0x26ebf5[_0x589259(0x1fd)]:_0x18a5cc[_0x589259(0x221)]!=_0x26ebf5[_0x589259(0x221)]?_0x26ebf5[_0x589259(0x221)]-_0x18a5cc[_0x589259(0x221)]:!!_0x18a5cc[_0x589259(0x178)]!=!!_0x26ebf5[_0x589259(0x178)]?-0x1==_0x18a5cc[_0x589259(0x222)]||0x0==_0x18a5cc[_0x589259(0x222)]?_0x18a5cc[_0x589259(0x178)]?-0x1:0x1:_0x18a5cc[_0x589259(0x178)]?0x1:-0x1:_0x18a5cc[_0x589259(0x16e)]-_0x26ebf5[_0x589259(0x16e)]),{'commonTape':_0x362d59,'iEnd':_0x5af1c8,'jEnd':_0x1d7a80};function _0xe5bbb1(_0x130484,_0x2bb235,_0x5be084){const _0x4869bb=_0x589259;let _0x1414d1=-0x1,_0x286c33=Number[_0x4869bb(0x1c6)],_0x927f=!0x0;for(let _0x49ff4f=_0x2bb235;_0x49ff4f<_0x5be084;_0x49ff4f++)if(_0x29258f[_0x4869bb(0x108)](_0x130484[_0x49ff4f][_0x4869bb(0x160)])||(_0x927f=!0x1),_0x130484[_0x49ff4f][_0x4869bb(0x160)][_0x4869bb(0x1e7)]<_0x2bb235&&(_0x1414d1=_0x49ff4f),_0x130484[_0x49ff4f][_0x4869bb(0x160)][_0x4869bb(0x1fc)]>=_0x5be084){_0x286c33=_0x49ff4f;break;}_0x927f&&(_0x1414d1=_0x5be084-0x1);for(let _0x2d81fd=_0x2bb235;_0x2d81fd<_0x5be084;_0x2d81fd++)_0x130484[_0x2d81fd][_0x4869bb(0x222)]=_0x2d81fd<=_0x1414d1?-0x1:_0x2d81fd<_0x286c33?0x0:0x1,_0x130484[_0x2d81fd][_0x4869bb(0x16e)]=_0x2d81fd;let _0x5a77ec=0x0;for(let _0x20982a=_0x2bb235;_0x20982a<=_0x1414d1;_0x20982a++)0x0==_0x130484[_0x20982a][_0x4869bb(0x221)]?_0x130484[_0x20982a][_0x4869bb(0x1fd)]=_0x5a77ec:(_0x5a77ec++,_0x130484[_0x20982a][_0x4869bb(0x1fd)]=_0x5a77ec,_0x5a77ec++);for(let _0x207082=_0x2bb235;_0x207082<_0x5be084;_0x207082++)0x0==_0x130484[_0x207082][_0x4869bb(0x222)]&&(_0x130484[_0x207082][_0x4869bb(0x1fd)]=_0x5a77ec);_0x5a77ec=0x0;for(let _0x3c1cad=_0x5be084-0x1;_0x3c1cad>=_0x286c33;_0x3c1cad--)0x0==_0x130484[_0x3c1cad][_0x4869bb(0x221)]?_0x130484[_0x3c1cad][_0x4869bb(0x1fd)]=_0x5a77ec:(_0x5a77ec--,_0x130484[_0x3c1cad][_0x4869bb(0x1fd)]=_0x5a77ec,_0x5a77ec--);}}[_0x122b6f(0x1f5)](_0x3c1f31){const _0x1e46f2=_0x122b6f,_0x55ce44=new Map(),_0x3b4991=this[_0x1e46f2(0x22e)][_0x1e46f2(0x1ad)][_0x1e46f2(0x20c)];for(let _0x49031f=0x1;_0x49031f<_0x3c1f31[_0x1e46f2(0x166)];_0x49031f++){let _0x357684,_0x36cb45,_0x559307;const _0x248cf6=_0x3c1f31[_0x49031f],_0x42b3f1=_0x3c1f31[_0x49031f-0x1];if(_0x1e46f2(0x15b)==_0x248cf6[_0x1e46f2(0x197)])continue;if(_0x248cf6[_0x1e46f2(0x197)]!=_0x42b3f1[_0x1e46f2(0x197)])continue;if(!_0x3b4991[_0x1e46f2(0x11c)](_0x42b3f1[_0x1e46f2(0x160)])||_0x3b4991[_0x1e46f2(0x1e5)](_0x42b3f1[_0x1e46f2(0x160)]))continue;if(!_0x3b4991[_0x1e46f2(0x11c)](_0x248cf6[_0x1e46f2(0x160)])||_0x3b4991[_0x1e46f2(0x1e5)](_0x248cf6[_0x1e46f2(0x160)]))continue;if((_0x3c1f31[_0x49031f][_0x1e46f2(0x178)]||_0x3c1f31[_0x49031f][_0x1e46f2(0x239)])&&_0x3c1f31[_0x49031f-0x1][_0x1e46f2(0x187)])_0x357684=_0x3c1f31[_0x49031f],_0x36cb45=_0x3c1f31[_0x49031f-0x1],_0x559307=_0x49031f-0x1;else{if(!_0x3c1f31[_0x49031f][_0x1e46f2(0x187)]||!_0x3c1f31[_0x49031f-0x1][_0x1e46f2(0x178)]&&!_0x3c1f31[_0x49031f-0x1][_0x1e46f2(0x239)])continue;_0x357684=_0x3c1f31[_0x49031f-0x1],_0x36cb45=_0x3c1f31[_0x49031f],_0x559307=_0x49031f;}const _0x501718=_0x357684[_0x1e46f2(0x1fd)]==_0x36cb45[_0x1e46f2(0x1fd)],_0x495c05=Math[_0x1e46f2(0x155)](_0x357684[_0x1e46f2(0x1fd)])<Math[_0x1e46f2(0x155)](_0x36cb45[_0x1e46f2(0x1fd)])&&0x0==_0x36cb45[_0x1e46f2(0x221)];(_0x501718||_0x495c05)&&(_0x55ce44[_0x1e46f2(0x203)](_0x36cb45['id'],_0x357684['id']),_0x3c1f31[_0x1e46f2(0x1d9)](_0x559307,0x1),_0x49031f--,_0x357684[_0x1e46f2(0x178)]=!0x1);}for(let _0x2f4926=0x0;_0x2f4926<_0x3c1f31[_0x1e46f2(0x166)];_0x2f4926++)_0x55ce44[_0x1e46f2(0x23f)](_0x3c1f31[_0x2f4926][_0x1e46f2(0x169)])&&(_0x3c1f31[_0x2f4926][_0x1e46f2(0x169)]=_0x55ce44[_0x1e46f2(0x105)](_0x3c1f31[_0x2f4926][_0x1e46f2(0x169)]));}[_0x122b6f(0x117)](_0x97d8e2){const _0x37fb7c=_0x122b6f,_0x3966fc=new Set(_0x97d8e2[_0x37fb7c(0x1ae)](_0x7ad2be=>_0x7ad2be['id']));for(let _0x3974b5=0x0;_0x3974b5<_0x97d8e2[_0x37fb7c(0x166)];_0x3974b5++)_0x3966fc[_0x37fb7c(0x23f)](_0x97d8e2[_0x3974b5][_0x37fb7c(0x169)])||0x0==_0x97d8e2[_0x3974b5][_0x37fb7c(0x221)]||(_0x97d8e2[_0x3974b5][_0x37fb7c(0x103)]=!0x0);return _0x97d8e2[_0x37fb7c(0x1aa)](_0x1b55c5=>!_0x1b55c5[_0x37fb7c(0x103)]);}[_0x122b6f(0x22b)](_0x34590b){const _0x385b79=_0x122b6f,_0x16e6e4=new Set();for(let _0x48dd3d=0x0;_0x48dd3d<_0x34590b[_0x385b79(0x166)];_0x48dd3d++){if(_0x16e6e4[_0x385b79(0x23f)](_0x34590b[_0x48dd3d]['id'])&&_0x34590b[_0x48dd3d][_0x385b79(0x187)]&&(_0x34590b[_0x48dd3d][_0x385b79(0x103)]=!0x0),_0x34590b[_0x48dd3d][_0x385b79(0x103)])continue;if(0x0==_0x34590b[_0x48dd3d][_0x385b79(0x221)])continue;if(_0x385b79(0x202)!=_0x34590b[_0x48dd3d][_0x385b79(0x197)])continue;if(null==_0x34590b[_0x48dd3d][_0x385b79(0x169)])continue;let _0x228da6=_0x48dd3d+0x1,_0x285ce9=0x0;for(;_0x34590b[_0x228da6]['id']!=_0x34590b[_0x48dd3d][_0x385b79(0x169)];)_0x385b79(0x202)==_0x34590b[_0x228da6][_0x385b79(0x197)]?_0x285ce9++:_0x385b79(0x131)==_0x34590b[_0x228da6][_0x385b79(0x197)]&&_0x285ce9--,_0x228da6++;if(0x0!=_0x285ce9){if(_0x34590b[_0x48dd3d][_0x385b79(0x187)])_0x34590b[_0x48dd3d][_0x385b79(0x103)]=!0x0;else{for(;_0x228da6!=_0x48dd3d;)_0x34590b[_0x228da6][_0x385b79(0x187)]&&0x0!=_0x34590b[_0x228da6][_0x385b79(0x221)]&&(_0x34590b[_0x228da6][_0x385b79(0x103)]=!0x0,_0x16e6e4[_0x385b79(0x10c)](_0x34590b[_0x228da6][_0x385b79(0x169)])),_0x228da6--;}}}return _0x34590b[_0x385b79(0x1aa)](_0x582027=>!_0x582027[_0x385b79(0x103)]);}[_0x122b6f(0x13c)](_0x2a7e02){const _0x4f9473=_0x122b6f,_0x596816=this[_0x4f9473(0x22e)][_0x4f9473(0x1ad)][_0x4f9473(0x20c)];for(let _0xf8f30d=0x0;_0xf8f30d<_0x2a7e02[_0x4f9473(0x166)];_0xf8f30d++){if(!(_0x2a7e02[_0xf8f30d][_0x4f9473(0x178)]||_0x2a7e02[_0xf8f30d][_0x4f9473(0x239)]||_0x2a7e02[_0xf8f30d][_0x4f9473(0x187)]||_0x2a7e02[_0xf8f30d][_0x4f9473(0x19b)]))continue;if(0x0==_0x2a7e02[_0xf8f30d][_0x4f9473(0x221)])continue;const _0x2e7ba5=_0x2a7e02[_0xf8f30d][_0x4f9473(0x160)];_0x596816[_0x4f9473(0x11c)](_0x2e7ba5)||_0x596816[_0x4f9473(0x1e5)](_0x2e7ba5)||(_0x2a7e02[_0xf8f30d][_0x4f9473(0x178)]&&delete _0x2a7e02[_0xf8f30d][_0x4f9473(0x178)],_0x2a7e02[_0xf8f30d][_0x4f9473(0x239)]&&delete _0x2a7e02[_0xf8f30d][_0x4f9473(0x239)],_0x2a7e02[_0xf8f30d][_0x4f9473(0x19b)]&&delete _0x2a7e02[_0xf8f30d][_0x4f9473(0x19b)],_0x2a7e02[_0xf8f30d][_0x4f9473(0x187)]&&(_0x2a7e02[_0xf8f30d][_0x4f9473(0x103)]=!0x0));}return _0x2a7e02[_0x4f9473(0x1aa)](_0x4360f3=>!_0x4360f3[_0x4f9473(0x103)]);}[_0x122b6f(0x111)](_0x3f7cfe,_0x251f9c,_0x2ba002){const _0x3ef306=_0x122b6f,_0x5be6c2=new _0x2e6407(),_0x1b2f03=[],_0x1283e4=new Map(),_0x581fc1=this[_0x3ef306(0x22e)][_0x3ef306(0x1ad)],_0x1f27e0=_0x581fc1[_0x3ef306(0x20c)],_0x5df985=[_0x5be6c2],_0x37e459={},_0x3899c0={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x30ea8c=null;const _0x7ec3d3=[0x0];for(let _0x3a98f2=0x0;_0x3a98f2<_0x3f7cfe[_0x3ef306(0x166)];_0x3a98f2++){let _0x9eaa6b,_0x1d8e69;if(_0x3ef306(0x202)===_0x3f7cfe[_0x3a98f2][_0x3ef306(0x197)]){_0x9eaa6b=_0x581fc1[_0x3ef306(0x185)](_0x5be6c2,_0x7ec3d3);const _0x3e8050=new _0x2b6e0a(_0x3f7cfe[_0x3a98f2][_0x3ef306(0x160)][_0x3ef306(0x226)],_0x3f7cfe[_0x3a98f2][_0x3ef306(0x160)][_0x3ef306(0x10e)]());_0x5df985[0x0][_0x3ef306(0xf8)](_0x3e8050),_0x7ec3d3[_0x3ef306(0x188)](0x0),_0x5df985[_0x3ef306(0x1fb)](_0x3e8050),_0x1d8e69=_0x581fc1[_0x3ef306(0x185)](_0x5be6c2,_0x7ec3d3),_0x30ea8c=null;}else{if(_0x3ef306(0x131)===_0x3f7cfe[_0x3a98f2][_0x3ef306(0x197)])_0x5df985[_0x3ef306(0x1c7)](),_0x9eaa6b=_0x581fc1[_0x3ef306(0x185)](_0x5be6c2,_0x7ec3d3),_0x7ec3d3[_0x3ef306(0x142)](),_0x7ec3d3[_0x7ec3d3[_0x3ef306(0x166)]-0x1]++,_0x1d8e69=_0x581fc1[_0x3ef306(0x185)](_0x5be6c2,_0x7ec3d3),_0x30ea8c=null;else{if(_0x9eaa6b=_0x581fc1[_0x3ef306(0x185)](_0x5be6c2,_0x7ec3d3),_0x30ea8c&&_0x536581(_0x30ea8c,_0x3f7cfe[_0x3a98f2][_0x3ef306(0x160)]))_0x30ea8c[_0x3ef306(0x11a)]+=_0x3f7cfe[_0x3a98f2][_0x3ef306(0x160)][_0x3ef306(0x1d3)];else{const _0xb4c95d=new _0x2e0e24(_0x3f7cfe[_0x3a98f2][_0x3ef306(0x160)][_0x3ef306(0x1d3)],_0x3f7cfe[_0x3a98f2][_0x3ef306(0x160)][_0x3ef306(0x10e)]());_0x5df985[0x0][_0x3ef306(0xf8)](_0xb4c95d),_0x30ea8c=_0xb4c95d;}_0x7ec3d3[_0x7ec3d3[_0x3ef306(0x166)]-0x1]+=_0x3f7cfe[_0x3a98f2][_0x3ef306(0x160)][_0x3ef306(0x112)],_0x1d8e69=_0x581fc1[_0x3ef306(0x185)](_0x5be6c2,_0x7ec3d3);}}for(const _0x4742e7 of _0x3f7cfe[_0x3a98f2][_0x3ef306(0x1a9)])_0x1283e4[_0x3ef306(0x203)](_0x4742e7,{'start':_0x9eaa6b,'end':null});_0x1e6832(_0x3ef306(0x19b),_0x3a98f2,_0x9eaa6b,_0x1d8e69),_0x1e6832(_0x3ef306(0x239),_0x3a98f2,_0x9eaa6b,_0x1d8e69),_0x1e6832(_0x3ef306(0x187),_0x3a98f2,_0x9eaa6b,_0x1d8e69),_0x1e6832(_0x3ef306(0x178),_0x3a98f2,_0x9eaa6b,_0x1d8e69);for(const _0x2eda62 of _0x3f7cfe[_0x3a98f2][_0x3ef306(0x1bd)]){_0x1283e4[_0x3ef306(0x105)](_0x2eda62)[_0x3ef306(0x21b)]=_0x1d8e69;}}for(const [_0x7e7255,_0x17fbd1]of _0x1283e4){const _0x2d8560=this[_0x3ef306(0x22e)][_0x3ef306(0x1ad)][_0x3ef306(0x1ed)](_0x17fbd1[_0x3ef306(0x22c)],_0x17fbd1[_0x3ef306(0x21b)]);_0x5be6c2[_0x3ef306(0x227)][_0x3ef306(0x203)](_0x7e7255,_0x2d8560);}return _0x1b2f03[_0x3ef306(0x133)]((_0x3de353,_0x5ed947)=>{const _0x1ea4ff=_0x3ef306,_0x6ad22f=_0x5be6c2[_0x1ea4ff(0x227)][_0x1ea4ff(0x105)](_0x1ea4ff(0x135)+_0x3de353['id']),_0x42bce1=_0x5be6c2[_0x1ea4ff(0x227)][_0x1ea4ff(0x105)](_0x1ea4ff(0x135)+_0x5ed947['id']);return _0x6ad22f[_0x1ea4ff(0x22c)][_0x1ea4ff(0x14d)](_0x42bce1[_0x1ea4ff(0x22c)])?-0x1:_0x6ad22f[_0x1ea4ff(0x22c)][_0x1ea4ff(0x195)](_0x42bce1[_0x1ea4ff(0x22c)])?0x1:_0x6ad22f[_0x1ea4ff(0x21b)][_0x1ea4ff(0x14d)](_0x42bce1[_0x1ea4ff(0x21b)])?-0x1:_0x6ad22f[_0x1ea4ff(0x21b)][_0x1ea4ff(0x195)](_0x42bce1[_0x1ea4ff(0x21b)])?0x1:_0x1ea4ff(0x10c)===_0x3de353[_0x1ea4ff(0x197)]?-0x1:0x1;}),{'root':_0x5be6c2,'changes':_0x1b2f03};function _0x1e6832(_0x366f26,_0x3d2144,_0x245138,_0x25628c){const _0x4cf428=_0x3ef306,_0x58c23c=!!_0x3f7cfe[_0x3d2144][_0x366f26],_0x51006d=_0x58c23c?_0x3f7cfe[_0x3d2144][_0x366f26][_0x4cf428(0x110)]:null,_0xc456ec=_0x3d2144===_0x3f7cfe[_0x4cf428(0x166)]-0x1,_0x3faeb9=_0x3899c0[_0x366f26][0x0],_0x353ebb=_0x1f27e0[_0x4cf428(0x148)](_0x3f7cfe[_0x3d2144][_0x4cf428(0x160)]);!_0x37e459[_0x366f26]&&_0x58c23c?_0x37e459[_0x366f26]={'start':_0x245138,'tapeItem':_0x3f7cfe[_0x3d2144],'userId':_0x51006d,'type':_0x366f26}:_0x37e459[_0x366f26]&&!_0x58c23c?(_0x37e459[_0x366f26][_0x4cf428(0x21b)]=_0x245138,_0x43ab7e(_0x37e459[_0x366f26]),_0x37e459[_0x366f26]=null):_0x37e459[_0x366f26]&&_0x58c23c&&_0x37e459[_0x366f26][_0x4cf428(0x110)]!==_0x51006d&&(_0x37e459[_0x366f26][_0x4cf428(0x21b)]=_0x245138,_0x3faeb9&&_0x3faeb9[_0x4cf428(0x110)]===_0x37e459[_0x366f26][_0x4cf428(0x110)]||_0x43ab7e(_0x37e459[_0x366f26]),_0x37e459[_0x366f26]={'start':_0x245138,'tapeItem':_0x3f7cfe[_0x3d2144],'userId':_0x51006d,'type':_0x366f26}),_0x37e459[_0x366f26]&&_0x353ebb&&(_0x4cf428(0x202)!==_0x3f7cfe[_0x3d2144][_0x4cf428(0x197)]||_0x3faeb9&&_0x3faeb9[_0x4cf428(0x110)]===_0x51006d||_0x3899c0[_0x366f26][_0x4cf428(0x1fb)]({'userId':_0x51006d,'object':_0x3f7cfe[_0x3d2144][_0x4cf428(0x160)],'change':_0x37e459[_0x366f26]}),_0x4cf428(0x131)===_0x3f7cfe[_0x3d2144][_0x4cf428(0x197)]&&_0x3faeb9&&_0x3faeb9[_0x4cf428(0x1f8)]===_0x3f7cfe[_0x3d2144][_0x4cf428(0x160)]&&(_0x3899c0[_0x366f26][_0x4cf428(0x1c7)](),_0x37e459[_0x366f26]=_0x3faeb9[_0x4cf428(0x141)])),_0x37e459[_0x366f26]&&_0xc456ec&&(_0x37e459[_0x366f26][_0x4cf428(0x21b)]=_0x25628c,_0x43ab7e(_0x37e459[_0x366f26]),_0x37e459[_0x366f26]=null);}function _0x43ab7e({start:_0x4376f1,end:_0x31d008,tapeItem:_0x1aa1b8,userId:_0x5f74c,type:_0x4b74fd}){const _0x342c9f=_0x3ef306,_0x2724f3=_0x1aa1b8[_0x342c9f(0x160)],_0x1c8b6f=_0x581fc1[_0x342c9f(0x20c)][_0x342c9f(0x11c)](_0x2724f3)&&!_0x581fc1[_0x342c9f(0x20c)][_0x342c9f(0x1e5)](_0x2724f3),_0x394feb=_0x4376f1[_0x342c9f(0x18c)]==_0x31d008[_0x342c9f(0x206)]&&_0x31d008[_0x342c9f(0x1cc)];if(_0x1c8b6f&&_0x394feb)return;const _0x2f12ce=_0x581fc1[_0x342c9f(0x1ed)](_0x4376f1,_0x31d008),_0x111f37=_0x251f9c[_0x342c9f(0x105)](_0x5f74c),_0x52d664=new _0x514544({'author':_0x111f37,'type':_0x342c9f(0x178)==_0x4b74fd||_0x342c9f(0x239)==_0x4b74fd?_0x342c9f(0x10c):_0x342c9f(0x1c3),'data':{'isSuggestion':_0x342c9f(0x239)==_0x4b74fd||_0x342c9f(0x19b)==_0x4b74fd},'createdAt':new Date(),'rootName':_0x2ba002});_0x1b2f03[_0x342c9f(0x188)](_0x52d664),_0x5be6c2[_0x342c9f(0x227)][_0x342c9f(0x203)](_0x342c9f(0x135)+_0x52d664['id'],_0x2f12ce);}function _0x536581(_0x70d076,_0x23b563){const _0x45caaf=_0x3ef306,_0xe3829c=_0x70d076[_0x45caaf(0x10e)](),_0x232574=_0x23b563[_0x45caaf(0x10e)]();for(const _0x570203 of _0xe3829c){if(_0x570203[0x1]!==_0x23b563[_0x45caaf(0x125)](_0x570203[0x0]))return!0x1;_0x232574[_0x45caaf(0x1cb)]();}return _0x232574[_0x45caaf(0x1cb)]()[_0x45caaf(0x1d5)];}}[_0x122b6f(0x18d)](){const _0x2ddc9b=_0x122b6f;this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x12f))[_0x2ddc9b(0x1b0)]({'view':_0x2ddc9b(0x1d2)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x15a))[_0x2ddc9b(0x235)]({'model':_0x2ddc9b(0x1d2),'view':_0x223549=>{const _0x3a8fd6=_0x2ddc9b,_0x484954=_0x223549[_0x3a8fd6(0x1be)][_0x3a8fd6(0x149)](':')[0x1],_0x24788b=this[_0x3a8fd6(0x15e)](_0x484954);if(!_0x24788b)return null;const _0x20b110=_0x3a8fd6(0x10c)==_0x24788b[_0x3a8fd6(0x197)]?_0x3a8fd6(0xf5):_0x3a8fd6(0x242),_0xfcc275=[_0x3a8fd6(0x1ca),_0x3a8fd6(0x20f)+_0x20b110];return _0x24788b[_0x3a8fd6(0x1d3)][_0x3a8fd6(0x180)]&&_0xfcc275[_0x3a8fd6(0x188)](_0x3a8fd6(0x20f)+_0x20b110+_0x3a8fd6(0x1e1)),this[_0x3a8fd6(0x1db)]==_0x24788b&&_0xfcc275[_0x3a8fd6(0x188)](_0x3a8fd6(0x11e)),{'classes':_0xfcc275,'attributes':{'data-change-id':_0x484954}};}}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x12f))[_0x2ddc9b(0x10c)](_0x39ad4d=>{const _0x54baa3=_0x2ddc9b;_0x39ad4d['on'](_0x54baa3(0x183),(_0x462054,_0x87138b,_0x3bb73a)=>{const _0x1b0acd=_0x54baa3,_0x1bf6ce=_0x87138b[_0x1b0acd(0x113)][_0x1b0acd(0x184)](0x0);if(!_0x1bf6ce||!_0x1bf6ce['is'](_0x1b0acd(0x1f4),_0x1b0acd(0x20b)))return;if(!_0x3bb73a[_0x1b0acd(0x157)][_0x1b0acd(0x118)](_0x1bf6ce,{'attributes':[_0x1b0acd(0x156),_0x1b0acd(0x234)]}))return;const _0x400af9=_0x87138b[_0x1b0acd(0x22f)][_0x1b0acd(0x22c)][_0x1b0acd(0x18c)];_0x3bb73a[_0x1b0acd(0x1f7)][_0x1b0acd(0x1f3)](_0x1b0acd(0x156),_0x1bf6ce[_0x1b0acd(0x125)](_0x1b0acd(0x156)),_0x400af9),_0x3bb73a[_0x1b0acd(0x1f7)][_0x1b0acd(0x1f3)](_0x1b0acd(0x234),_0x1bf6ce[_0x1b0acd(0x125)](_0x1b0acd(0x234)),_0x400af9);},{'priority':_0x54baa3(0x1e9)});}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x12f))[_0x2ddc9b(0x10c)](_0x671799=>{const _0x186163=_0x2ddc9b;_0x671799['on'](_0x186163(0x1f4),(_0x33cca6,_0x138a60,_0x3d372c)=>{const _0x3392b9=_0x186163;if(!_0x3d372c[_0x3392b9(0x157)][_0x3392b9(0x118)](_0x138a60[_0x3392b9(0x113)],{'attributes':[_0x3392b9(0x156),_0x3392b9(0x234)]}))return;if(_0x138a60[_0x3392b9(0x22f)][_0x3392b9(0x170)])return;const _0x5cc712=_0x138a60[_0x3392b9(0x22f)][_0x3392b9(0x22c)][_0x3392b9(0x18c)];_0x5cc712[_0x3392b9(0x126)](_0x3392b9(0x156))||_0x5cc712[_0x3392b9(0x126)](_0x3392b9(0x1b1))||(_0x3d372c[_0x3392b9(0x1f7)][_0x3392b9(0x1f3)](_0x3392b9(0x156),_0x138a60[_0x3392b9(0x113)][_0x3392b9(0x125)](_0x3392b9(0x156)),_0x5cc712),_0x3d372c[_0x3392b9(0x1f7)][_0x3392b9(0x1f3)](_0x3392b9(0x234),_0x138a60[_0x3392b9(0x113)][_0x3392b9(0x125)](_0x3392b9(0x234)),_0x5cc712));},{'priority':_0x186163(0x1e9)});}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x12f))[_0x2ddc9b(0xfe)]({'view':{'name':_0x2ddc9b(0x1a3),'attributes':{'vid':!0x0}},'model':{'key':_0x2ddc9b(0x1b1),'value':_0x2dfa91=>_0x2dfa91[_0x2ddc9b(0x125)](_0x2ddc9b(0x1b1))}}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x1ad)][_0x2ddc9b(0x20c)]['on'](_0x2ddc9b(0x14f),(_0x372c3f,[,_0x410753])=>{const _0x278908=_0x2ddc9b;[_0x278908(0x156),_0x278908(0x234),_0x278908(0x1b1)][_0x278908(0x158)](_0x410753)&&(_0x372c3f[_0x278908(0x1ea)]=!0x0,_0x372c3f[_0x278908(0x192)]());},{'priority':_0x2ddc9b(0x16d)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x138))[_0x2ddc9b(0x10c)](_0x20e5b6=>{const _0xf9be96=_0x2ddc9b;_0x20e5b6['on'](_0xf9be96(0x1b5),(_0x3f21fe,_0x509ca8,_0xf52669)=>{const _0xdbb37d=_0xf9be96;if('\x20'!=_0x509ca8[_0xdbb37d(0x160)][_0xdbb37d(0x1d3)]||_0x509ca8[_0xdbb37d(0x160)][_0xdbb37d(0x206)][_0xdbb37d(0x10b)]>0x1)return;if(!_0xf52669[_0xdbb37d(0x157)][_0xdbb37d(0x118)](_0x509ca8[_0xdbb37d(0x160)],_0x3f21fe[_0xdbb37d(0x226)]))return;const _0x289441=_0xf52669[_0xdbb37d(0x1f7)],_0x2e918d=_0xf52669[_0xdbb37d(0x16c)][_0xdbb37d(0x1c9)](_0x509ca8[_0xdbb37d(0x186)]);_0x289441[_0xdbb37d(0x173)](_0x2e918d,_0x289441[_0xdbb37d(0x15c)](_0xdbb37d(0x1a3)));});}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x138))[_0x2ddc9b(0xfc)]({'model':_0x2ddc9b(0x1d2)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x1a0)][_0x2ddc9b(0x1f6)]['on'](_0x2ddc9b(0x12e),function(_0x451406){const _0xc55166=_0x2ddc9b,_0x1f69b0=_0x451406[_0xc55166(0x205)][_0xc55166(0x105)](_0xc55166(0x217));return(_0xdb0a49,_0x548557,_0x133d41)=>{const _0x3d7e09=_0xc55166,_0x143df5=_0x548557[_0x3d7e09(0x1be)][_0x3d7e09(0x149)](':')[0x1],_0x708e91=_0x1f69b0[_0x3d7e09(0x15e)](_0x143df5);if(!_0x708e91)return null;const _0x1fbfc5=_0x3d7e09(0x10c)==_0x708e91[_0x3d7e09(0x197)]?_0x3d7e09(0x149):_0x3d7e09(0x115);if(!_0x133d41[_0x3d7e09(0x157)][_0x3d7e09(0x1eb)](_0x548557[_0x3d7e09(0x209)],_0xdb0a49[_0x3d7e09(0x226)]))return;const _0x933392=_0x548557[_0x3d7e09(0x209)][_0x3d7e09(0x1f0)](),_0x5f4b59=_0x548557[_0x3d7e09(0x209)][_0x3d7e09(0x22c)],_0x525820=_0x451406[_0x3d7e09(0x1ad)][_0x3d7e09(0x20c)];let _0x4f103f=null,_0x56e0c1=null,_0x300be3=!0x1,_0x593b4e=!0x1;for(const _0x56a2ca of _0x933392){const _0x318477=_0x56a2ca[_0x3d7e09(0x160)];_0x300be3=_0x300be3||_0x525820[_0x3d7e09(0x14a)](_0x318477);const _0x4e5fe6=_0x133d41[_0x3d7e09(0x16c)][_0x3d7e09(0x13b)](_0x318477);if(_0x4e5fe6&&_0x4e5fe6[_0x3d7e09(0x140)](_0x3d7e09(0x1de)))return;_0x3d7e09(0x131)==_0x56a2ca[_0x3d7e09(0x197)]&&(_0x525820[_0x3d7e09(0x11c)](_0x318477)&&!_0x525820[_0x3d7e09(0x1e5)](_0x318477)&&(_0x318477[_0x3d7e09(0x193)]||_0x5f4b59[_0x3d7e09(0x1c2)]?_0x4f103f&&_0x4f103f[_0x3d7e09(0x206)]==_0x318477||(_0x4f103f=_0x318477,_0x20643d(_0x56a2ca[_0x3d7e09(0x1fa)]),_0x593b4e=!0x0):_0x56e0c1=_0x56e0c1||_0x56a2ca[_0x3d7e09(0x1fa)]));}function _0x20643d(_0x56b101){const _0x277ef6=_0x3d7e09,_0x45f800=_0x133d41[_0x277ef6(0x1f7)][_0x277ef6(0x181)](_0x277ef6(0x1a3),{'class':_0x277ef6(0x20f)+_0x1fbfc5}),_0x2be326=_0x133d41[_0x277ef6(0x16c)][_0x277ef6(0x174)](_0x56b101);_0x708e91[_0x277ef6(0x1d3)][_0x277ef6(0x180)]&&_0x133d41[_0x277ef6(0x1f7)][_0x277ef6(0x23e)](_0x277ef6(0x20f)+_0x1fbfc5+_0x277ef6(0x1e1),_0x45f800),_0x1f69b0[_0x277ef6(0x1db)]==_0x708e91&&_0x133d41[_0x277ef6(0x1f7)][_0x277ef6(0x23e)](_0x277ef6(0x11e),_0x45f800),_0x133d41[_0x277ef6(0x1f7)][_0x277ef6(0x128)](_0x2be326,_0x45f800),_0x133d41[_0x277ef6(0x16c)][_0x277ef6(0x10a)](_0x45f800,_0x548557[_0x277ef6(0x1be)]);}_0x300be3||_0x593b4e||!_0x56e0c1||_0x20643d(_0x56e0c1);};}(this[_0x2ddc9b(0x22e)]),{'priority':_0x2ddc9b(0x17f)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x1a0)][_0x2ddc9b(0x1f6)]['on'](_0x2ddc9b(0x212),(_0x2d3ecf,_0xbcad76,_0x552b1a)=>{const _0x3c75d7=_0x2ddc9b,_0x11f1fd=_0x552b1a[_0x3c75d7(0x16c)][_0x3c75d7(0x1a5)](_0xbcad76[_0x3c75d7(0x1be)]);if(_0x11f1fd){for(const _0x5625be of _0x11f1fd)(_0x5625be[_0x3c75d7(0x17d)](_0x3c75d7(0x1ff))||_0x5625be[_0x3c75d7(0x17d)](_0x3c75d7(0x194)))&&(_0x552b1a[_0x3c75d7(0x16c)][_0x3c75d7(0x240)](_0x5625be,_0xbcad76[_0x3c75d7(0x1be)]),_0x552b1a[_0x3c75d7(0x1f7)][_0x3c75d7(0x1c3)](_0x5625be));}},{'priority':_0x2ddc9b(0x17f)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x1a0)][_0x2ddc9b(0x1f6)]['on'](_0x2ddc9b(0x12e),(_0x318a9d,_0x1cdc23,_0x33f257)=>{const _0x3e67d1=_0x2ddc9b,_0x1bd375=_0x1cdc23[_0x3e67d1(0x1be)][_0x3e67d1(0x149)](':')[0x1],_0xa7a526=this[_0x3e67d1(0x15e)](_0x1bd375);if(!_0xa7a526)return null;const _0x5200fe=_0x3e67d1(0x10c)==_0xa7a526[_0x3e67d1(0x197)]?_0x3e67d1(0x149):_0x3e67d1(0x115);if(_0x33f257[_0x3e67d1(0x157)][_0x3e67d1(0x1eb)](_0x1cdc23[_0x3e67d1(0x209)],_0x318a9d[_0x3e67d1(0x226)]))for(const _0x4d6f7d of _0x1cdc23[_0x3e67d1(0x209)][_0x3e67d1(0x19e)]()){if(!_0x4d6f7d['is'](_0x3e67d1(0x1f4),_0x3e67d1(0x223)))continue;const _0x51e266=_0x33f257[_0x3e67d1(0x1f7)][_0x3e67d1(0x181)](_0x3e67d1(0x1a3),{'class':_0x3e67d1(0x20f)+_0x5200fe}),_0xa990a3=_0x33f257[_0x3e67d1(0x16c)][_0x3e67d1(0x174)](this[_0x3e67d1(0x22e)][_0x3e67d1(0x1ad)][_0x3e67d1(0x1c4)](_0x4d6f7d));_0xa7a526[_0x3e67d1(0x1d3)][_0x3e67d1(0x180)]&&_0x33f257[_0x3e67d1(0x1f7)][_0x3e67d1(0x23e)](_0x3e67d1(0x20f)+_0x5200fe+_0x3e67d1(0x1e1),_0x51e266),this[_0x3e67d1(0x1db)]==_0xa7a526&&_0x33f257[_0x3e67d1(0x1f7)][_0x3e67d1(0x23e)](_0x3e67d1(0x11e),_0x51e266),_0x33f257[_0x3e67d1(0x1f7)][_0x3e67d1(0x128)](_0xa990a3,_0x51e266),_0x33f257[_0x3e67d1(0x16c)][_0x3e67d1(0x10a)](_0x51e266,_0x1cdc23[_0x3e67d1(0x1be)]);}},{'priority':_0x2ddc9b(0x17f)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x1ad)][_0x2ddc9b(0x200)]['on'](_0x2ddc9b(0x141),()=>{const _0x1a9d32=_0x2ddc9b;this[_0x1a9d32(0x22e)][_0x1a9d32(0x1a0)][_0x1a9d32(0x129)][_0x1a9d32(0x141)](_0x353794=>{const _0x475ceb=_0x1a9d32;for(const _0x138fd0 of this[_0x475ceb(0x22e)][_0x475ceb(0x1ad)][_0x475ceb(0x200)][_0x475ceb(0x1a7)]()){const _0x4e603b=this[_0x475ceb(0x22e)][_0x475ceb(0x1ad)][_0x475ceb(0x200)][_0x475ceb(0x172)](_0x138fd0),_0x2c8508=this[_0x475ceb(0x22e)][_0x475ceb(0x1a0)][_0x475ceb(0x129)][_0x475ceb(0x200)][_0x475ceb(0x172)](_0x138fd0);if(_0x2c8508){const _0x40e44a=_0x4e603b[_0x475ceb(0x125)](_0x475ceb(0x139));if(_0x353794[_0x475ceb(0x163)](_0x475ceb(0x20a),_0x2c8508),_0x353794[_0x475ceb(0x1d6)](_0x475ceb(0x144),_0x2c8508),_0x353794[_0x475ceb(0x1d6)](_0x475ceb(0x124),_0x2c8508),_0x353794[_0x475ceb(0x1d6)](_0x475ceb(0x1c5),_0x2c8508),_0x40e44a){const _0x412e8a=this[_0x475ceb(0x15e)](_0x40e44a);if(!_0x412e8a)return null;_0x353794[_0x475ceb(0x1f3)](_0x475ceb(0x20a),_0x40e44a,_0x2c8508),_0x353794[_0x475ceb(0x23e)](_0x475ceb(0x14e)+_0x412e8a[_0x475ceb(0x197)],_0x2c8508),this[_0x475ceb(0x1db)]==_0x412e8a&&_0x353794[_0x475ceb(0x23e)](_0x475ceb(0x1c5),_0x2c8508);}}}});}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x12f))[_0x2ddc9b(0x1b0)]({'view':_0x2ddc9b(0x224),'model':_0x4d6b3b=>_0x2ddc9b(0x20e)+_0x4d6b3b,'converterPriority':_0x2ddc9b(0x16d)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x12f))[_0x2ddc9b(0x1b0)]({'view':_0x2ddc9b(0x161),'model':_0x1afad3=>_0x2ddc9b(0x1af)+_0x1afad3,'converterPriority':_0x2ddc9b(0x16d)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x138))[_0x2ddc9b(0xfc)]({'model':_0x2ddc9b(0x237),'view':_0x300414=>({'name':_0x2ddc9b(0x162)+_0x300414,'group':_0x2ddc9b(0x237)}),'converterPriority':_0x2ddc9b(0x16d)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x12b)][_0x2ddc9b(0x120)](_0x2ddc9b(0x15a))[_0x2ddc9b(0x235)]({'model':_0x2ddc9b(0x237),'view':_0x2f67af=>{const _0x3e7f48=_0x2ddc9b,_0x208903=_0x2f67af[_0x3e7f48(0x1be)][_0x3e7f48(0x149)](':')[0x1];return _0x3e7f48(0xf5)!=_0x208903&&_0x3e7f48(0x242)!=_0x208903?null:{'classes':[_0x3e7f48(0x10d),_0x3e7f48(0x1a1)+_0x208903]};}}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x1a0)][_0x2ddc9b(0x1f6)]['on'](_0x2ddc9b(0x1d1),et(this[_0x2ddc9b(0x22e)],_0x2ddc9b(0x115)),{'priority':_0x2ddc9b(0x17f)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x1a0)][_0x2ddc9b(0x1f6)]['on'](_0x2ddc9b(0x130),et(this[_0x2ddc9b(0x22e)],_0x2ddc9b(0x149)),{'priority':_0x2ddc9b(0x17f)}),this[_0x2ddc9b(0x22e)][_0x2ddc9b(0x1a0)][_0x2ddc9b(0x1f6)]['on'](_0x2ddc9b(0x21f),(_0x498a7b,_0x5b41d4,_0x1e4316)=>{const _0x110bc6=_0x2ddc9b,_0x4c9ddf=_0x1e4316[_0x110bc6(0x16c)][_0x110bc6(0x1a5)](_0x5b41d4[_0x110bc6(0x1be)]);if(_0x4c9ddf){for(const _0x4fad5d of _0x4c9ddf)_0x4fad5d['is'](_0x110bc6(0x154))&&(_0x1e4316[_0x110bc6(0x16c)][_0x110bc6(0x240)](_0x4fad5d,_0x5b41d4[_0x110bc6(0x1be)]),_0x1e4316[_0x110bc6(0x1f7)][_0x110bc6(0x1c3)](_0x4fad5d));}},{'priority':_0x2ddc9b(0x17f)});}[_0x122b6f(0x15e)](_0x1a577f){const _0x46e98f=_0x122b6f;return this[_0x46e98f(0x13d)][_0x46e98f(0x105)](_0x1a577f);}[_0x122b6f(0x11f)](_0x53c9eb){const _0x6d2d6a=_0x122b6f;return this[_0x6d2d6a(0x114)]&&this[_0x6d2d6a(0x114)][_0x6d2d6a(0x16a)](),this[_0x6d2d6a(0x114)]=new _0x324e5d(this[_0x6d2d6a(0x22e)][_0x6d2d6a(0x220)],_0x53c9eb),this[_0x6d2d6a(0x114)];}[_0x122b6f(0x1cf)](){const _0x28deab=_0x122b6f;this[_0x28deab(0x22e)][_0x28deab(0x1ad)][_0x28deab(0x200)][_0x28deab(0x137)][_0x28deab(0x121)](_0x28deab(0x1d2)),this['on'](_0x28deab(0xfb),(_0x3a30db,_0x12baeb,_0x4038ea,_0x3d74df)=>{const _0x182808=_0x28deab;_0x3d74df&&this[_0x182808(0x182)][_0x182808(0x1c3)](_0x3d74df),_0x4038ea&&(this[_0x182808(0x182)][_0x182808(0x10c)]({'view':_0x4038ea,'stackId':_0x182808(0x18a),'position':{'target':()=>{const _0x94f194=_0x182808,_0x430078=this[_0x94f194(0x22e)][_0x94f194(0x1a0)],_0x28cac0=this[_0x94f194(0x15e)](_0x4038ea[_0x94f194(0x127)]);let _0x33e6a0;if(_0x28cac0[_0x94f194(0x1d3)][_0x94f194(0x1bb)]){const _0x55c10b=_0x430078[_0x94f194(0x129)][_0x94f194(0x213)](_0x28cac0[_0x94f194(0x168)]);_0x33e6a0=Array[_0x94f194(0x20d)](_0x55c10b[_0x94f194(0x153)]());}else{const _0x548d6a=this[_0x94f194(0x22e)][_0x94f194(0x1ad)][_0x94f194(0x227)][_0x94f194(0x105)](_0x94f194(0x135)+_0x4038ea[_0x94f194(0x127)]);_0x33e6a0=Array[_0x94f194(0x20d)](_0x430078[_0x94f194(0x16c)][_0x94f194(0x1a5)](_0x548d6a[_0x94f194(0x226)]))[_0x94f194(0x1ae)](_0xfd083c=>_0x430078[_0x94f194(0x129)][_0x94f194(0x1a8)][_0x94f194(0x21c)](_0xfd083c))[_0x94f194(0x1ae)](_0x1ef61d=>Array[_0x94f194(0x20d)](_0x1ef61d[_0x94f194(0x153)]()))[_0x94f194(0x1f1)]();}if(!this[_0x94f194(0x201)])return _0x33e6a0[0x0];return _0x33e6a0[_0x94f194(0x21e)](_0x3e9723=>_0x3e9723[_0x94f194(0x1d7)]-0x3<=this[_0x94f194(0x201)]['y']&&_0x3e9723[_0x94f194(0x210)]+0x3>=this[_0x94f194(0x201)]['y']&&_0x3e9723[_0x94f194(0x204)]-0x3<=this[_0x94f194(0x201)]['x']&&_0x3e9723[_0x94f194(0x1d8)]+0x3>=this[_0x94f194(0x201)]['x'])||_0x33e6a0[0x0];}}}),this[_0x182808(0x182)][_0x182808(0x1a2)](_0x182808(0x18a)));}),this['on'](_0x28deab(0x191),(_0x490c04,_0x179716,_0x121ec0,_0x2b46eb)=>{const _0x3d724f=_0x28deab;this[_0x3d724f(0x11b)]=_0x121ec0?this[_0x3d724f(0x11f)](_0x121ec0):null,this[_0x3d724f(0x22e)][_0x3d724f(0x1ad)][_0x3d724f(0x141)](()=>{const _0x99a30c=_0x3d724f,_0x19f596=this[_0x99a30c(0x22e)][_0x99a30c(0x1a0)];_0x2b46eb&&(_0x2b46eb[_0x99a30c(0x1d3)][_0x99a30c(0x1bb)]?_0x19f596[_0x99a30c(0x129)][_0x99a30c(0x141)](_0x551936=>{const _0x17f481=_0x99a30c;_0x551936[_0x17f481(0x1d6)](_0x17f481(0x1c5),_0x19f596[_0x17f481(0x129)][_0x17f481(0x200)][_0x17f481(0x172)](_0x2b46eb[_0x17f481(0x168)]));}):_0x19f596[_0x99a30c(0xf9)](_0x99a30c(0x135)+_0x2b46eb['id'])),_0x121ec0&&(_0x121ec0[_0x99a30c(0x1d3)][_0x99a30c(0x1bb)]?_0x19f596[_0x99a30c(0x129)][_0x99a30c(0x141)](_0x10e6c4=>{const _0x5e52ea=_0x99a30c;_0x10e6c4[_0x5e52ea(0x23e)](_0x5e52ea(0x1c5),_0x19f596[_0x5e52ea(0x129)][_0x5e52ea(0x200)][_0x5e52ea(0x172)](_0x121ec0[_0x5e52ea(0x168)]));}):_0x19f596[_0x99a30c(0xf9)](_0x99a30c(0x135)+_0x121ec0['id']));});}),this[_0x28deab(0x175)](this[_0x28deab(0x22e)][_0x28deab(0x1a0)][_0x28deab(0x129)][_0x28deab(0x200)],_0x28deab(0x241),(_0x3c4b35,_0x24303a)=>{const _0x20689e=_0x28deab;if(this[_0x20689e(0x1db)])return;const _0x51d3cc=this[_0x20689e(0x1bc)](_0x24303a[_0x20689e(0x216)]),_0x400a0f=this[_0x20689e(0x13d)][_0x20689e(0x105)](_0x51d3cc);_0x400a0f?(this[_0x20689e(0x201)]={'x':_0x24303a[_0x20689e(0x1e6)]['x'],'y':_0x24303a[_0x20689e(0x1e6)]['y']},this[_0x20689e(0x11b)]=this[_0x20689e(0x11f)](_0x400a0f)):(this[_0x20689e(0x201)]=null,this[_0x20689e(0x11b)]=null);}),this[_0x28deab(0x175)](this[_0x28deab(0x22e)][_0x28deab(0x1a0)][_0x28deab(0x129)][_0x28deab(0x200)],_0x28deab(0x215),(_0x2ab163,_0x3e67f6)=>{const _0x110715=_0x28deab,_0x5a7641=this[_0x110715(0x1bc)](_0x3e67f6[_0x110715(0x216)]),_0x204a4a=this[_0x110715(0x13d)][_0x110715(0x105)](_0x5a7641);_0x204a4a?(this[_0x110715(0x201)]={'x':_0x3e67f6[_0x110715(0x1e6)]['x'],'y':_0x3e67f6[_0x110715(0x1e6)]['y']},_0x204a4a===this[_0x110715(0x1db)]?this[_0x110715(0x182)][_0x110715(0x1b8)]():this[_0x110715(0x1db)]=_0x204a4a):(this[_0x110715(0x201)]=null,this[_0x110715(0x1db)]=null);});}[_0x122b6f(0x1bc)](_0x11bbca){const _0x3b61d9=_0x122b6f;do{const _0x224b6c=_0x11bbca[_0x3b61d9(0x125)](_0x3b61d9(0x20a));if(_0x224b6c)return _0x224b6c;_0x11bbca=_0x11bbca[_0x3b61d9(0x206)];}while(_0x11bbca);return null;}[_0x122b6f(0x18b)](){const _0x184153=_0x122b6f;this[_0x184153(0x22e)][_0x184153(0x1ad)][_0x184153(0x141)](_0x58c287=>{const _0x4c607b=_0x184153;for(const _0x1b930e of this[_0x4c607b(0x22e)][_0x4c607b(0x1ad)][_0x4c607b(0x227)])_0x58c287[_0x4c607b(0x16f)](_0x1b930e);});}}function _0x2360(_0x3b5ec1,_0x235256){const _0x23edb1=_0x23ed();return _0x2360=function(_0x236058,_0x4eb482){_0x236058=_0x236058-0xf2;let _0x292cfa=_0x23edb1[_0x236058];return _0x292cfa;},_0x2360(_0x3b5ec1,_0x235256);}function et(_0x5d407b,_0x5e035c){return(_0x52064e,_0x48f009,_0x45628d)=>{const _0x103c78=_0x2360;if(!_0x45628d[_0x103c78(0x157)][_0x103c78(0x1eb)](_0x48f009[_0x103c78(0x209)],_0x52064e[_0x103c78(0x226)]))return;const _0x5a86ab=_0x48f009[_0x103c78(0x209)][_0x103c78(0x1f0)](),_0x4437dd=_0x48f009[_0x103c78(0x209)][_0x103c78(0x22c)],_0x48d6da=_0x5d407b[_0x103c78(0x1ad)][_0x103c78(0x20c)];let _0x400321=null,_0x8518f5=null,_0x3f7fd7=!0x1,_0x33cb23=!0x1;for(const _0xbb9cdd of _0x5a86ab){const _0x411b0c=_0xbb9cdd[_0x103c78(0x160)];_0x3f7fd7=_0x3f7fd7||_0x48d6da[_0x103c78(0x14a)](_0x411b0c);const _0x3a659e=_0x45628d[_0x103c78(0x16c)][_0x103c78(0x13b)](_0x411b0c);if(_0x3a659e&&_0x3a659e[_0x103c78(0x140)](_0x103c78(0x1de)))return;_0x103c78(0x131)==_0xbb9cdd[_0x103c78(0x197)]&&(_0x48d6da[_0x103c78(0x11c)](_0x411b0c)&&!_0x48d6da[_0x103c78(0x1e5)](_0x411b0c)&&(_0x411b0c[_0x103c78(0x193)]||_0x4437dd[_0x103c78(0x1c2)]?_0x400321&&_0x400321[_0x103c78(0x206)]==_0x411b0c||(_0x400321=_0x411b0c,_0x39279c(_0xbb9cdd[_0x103c78(0x1fa)]),_0x33cb23=!0x0):_0x8518f5=_0x8518f5||_0xbb9cdd[_0x103c78(0x1fa)]));}function _0x39279c(_0x45b11c){const _0x6e7342=_0x103c78,_0x2e2fcf=_0x45628d[_0x6e7342(0x16c)][_0x6e7342(0x174)](_0x45b11c),_0x340c38=_0x45628d[_0x6e7342(0x1f7)][_0x6e7342(0x181)](_0x6e7342(0x1a3),{'class':_0x6e7342(0x1a1)+_0x5e035c});_0x45628d[_0x6e7342(0x1f7)][_0x6e7342(0x128)](_0x2e2fcf,_0x340c38),_0x45628d[_0x6e7342(0x16c)][_0x6e7342(0x10a)](_0x340c38,_0x48f009[_0x6e7342(0x1be)]);}_0x3f7fd7||_0x33cb23||!_0x8518f5||_0x39279c(_0x8518f5);};}export class RestoreRevisionCommand extends _0xbcb0da{constructor(_0x266820){const _0x3bda3f=_0x122b6f;super(_0x266820);const _0x187981=_0x266820[_0x3bda3f(0x205)][_0x3bda3f(0x105)](d);this[_0x3bda3f(0x1bf)]=!0x1,this[_0x3bda3f(0x175)](_0x187981,_0x3bda3f(0x1c0),()=>this[_0x3bda3f(0x23b)]()),this[_0x3bda3f(0x175)](_0x187981,_0x3bda3f(0x1ce),()=>this[_0x3bda3f(0x23b)]());}[_0x122b6f(0x189)](){const _0x8dfb55=_0x122b6f,_0x17e2dd=this[_0x8dfb55(0x22e)],_0x4310a5=_0x17e2dd[_0x8dfb55(0x205)][_0x8dfb55(0x105)](d),_0x5df99b=_0x4310a5[_0x8dfb55(0x230)]?_0x4310a5[_0x8dfb55(0x14c)][_0x8dfb55(0x15d)]:null;_0x17e2dd[_0x8dfb55(0x101)][_0x8dfb55(0x105)](_0x8dfb55(0x159))[_0x8dfb55(0x233)](_0x5df99b);}[_0x122b6f(0x23b)](){const _0x5935ac=_0x122b6f,{isReady:_0x3f43a9,isEnabled:_0x5276c9}=this[_0x5935ac(0x22e)][_0x5935ac(0x205)][_0x5935ac(0x105)](d);this[_0x5935ac(0x214)]=_0x3f43a9&&_0x5276c9;}}export class ShowChangeCommand extends _0xbcb0da{constructor(_0x1742d5,{direction:_0x4a36d5}){const _0x457e70=_0x122b6f;super(_0x1742d5);const _0x457ed7=_0x1742d5[_0x457e70(0x205)][_0x457e70(0x105)](d);this[_0x457e70(0x1bf)]=!0x1,this[_0x457e70(0x119)]=_0x457e70(0x107)===_0x4a36d5?0x1:-0x1,this[_0x457e70(0x175)](_0x457ed7,_0x457e70(0x1c0),()=>this[_0x457e70(0x23b)]()),this[_0x457e70(0x175)](_0x457ed7,_0x457e70(0x1ce),()=>this[_0x457e70(0x23b)]()),this[_0x457e70(0x175)](_0x457ed7,_0x457e70(0x191),()=>this[_0x457e70(0x23b)]());}[_0x122b6f(0x189)](){const _0x886657=_0x122b6f,_0x1ef66b=this[_0x886657(0x22e)],_0x4676f9=_0x1ef66b[_0x886657(0x205)][_0x886657(0x105)](d),{isNavigationMode:_0x27efe2,currentChangeNumber:_0x51f4b8}=_0x4676f9;let _0x355f23;if(_0x4676f9[_0x886657(0x1db)]=_0x27efe2?_0x4676f9[_0x886657(0x14c)][_0x886657(0x1d4)][_0x886657(0x105)](_0x51f4b8+this[_0x886657(0x119)]):_0x4676f9[_0x886657(0x14c)][_0x886657(0x1d4)][_0x886657(0x1e3)],_0x4676f9[_0x886657(0x1db)][_0x886657(0x1d3)][_0x886657(0x1bb)])_0x355f23=_0x1ef66b[_0x886657(0x1a0)][_0x886657(0x129)][_0x886657(0x213)](_0x4676f9[_0x886657(0x1db)][_0x886657(0x168)]);else{const _0xebf905=_0x1ef66b[_0x886657(0x1ad)][_0x886657(0x227)][_0x886657(0x105)](_0x886657(0x135)+_0x4676f9[_0x886657(0x1db)]['id']);_0x355f23=_0x21083d(_0x1ef66b[_0x886657(0x1a0)],_0xebf905);}_0x5efcb3({'target':_0x355f23,'viewportOffset':0x28});}[_0x122b6f(0x23b)](){const _0x27704f=_0x122b6f,{isNavigationMode:_0x5a5804,currentChangeNumber:_0x2e7c69,numberOfChanges:_0x3d1479,isReady:_0x498c39,isEnabled:_0x558a90}=this[_0x27704f(0x22e)][_0x27704f(0x205)][_0x27704f(0x105)](d);this[_0x27704f(0x214)]=!!(_0x558a90&&_0x498c39&&_0x3d1479)&&(!_0x5a5804||(0x1===this[_0x27704f(0x119)]?_0x2e7c69<_0x3d1479-0x1:_0x2e7c69>0x0));}}
|
|
23
|
+
const _0x3b94a6=_0x5e38;(function(_0x53823f,_0x3dd5c5){const _0x51f451=_0x5e38,_0x9cca66=_0x53823f();while(!![]){try{const _0x564b3c=parseInt(_0x51f451(0x221))/0x1+-parseInt(_0x51f451(0x249))/0x2+-parseInt(_0x51f451(0x1a7))/0x3*(-parseInt(_0x51f451(0x27f))/0x4)+-parseInt(_0x51f451(0x26a))/0x5*(-parseInt(_0x51f451(0x285))/0x6)+parseInt(_0x51f451(0x27b))/0x7*(parseInt(_0x51f451(0x1e4))/0x8)+-parseInt(_0x51f451(0x2e9))/0x9*(parseInt(_0x51f451(0x259))/0xa)+-parseInt(_0x51f451(0x2a6))/0xb;if(_0x564b3c===_0x3dd5c5)break;else _0x9cca66['push'](_0x9cca66['shift']());}catch(_0x578dfe){_0x9cca66['push'](_0x9cca66['shift']());}}}(_0x3857,0x397f2));import{Plugin as _0xf1e3dc,Command as _0x59a91e}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2d740a}from'ckeditor5/src/utils.js';function _0x3857(){const _0x25bd80=['roots','WidgetToolbarRepository','attachChange','newRevisionId','ck-revision-history-root-remove','from','affectsData','locale','consume','revision','_getViewObj','addClass','find','_makeModelFromViewString','bottom','isCollapsed','return','commands','_cleanMarkers','nodeAfter','toViewPosition','showNextChange','forEach','isEqual','changes','_sortAndFilterDiffChanges','collaboration.channelId','_joinTapes','267215wflSzu','level','_setChanges','bind','vid_start','markers','_data','createRangeIn','dataDowncast','currentChangeNumber','string','end','flat','markerNameToElements','toViewElement','attributesAfter','markerToData','domEvent','top','slice','attributesBefore','parent','getIndex','name','done','revisionHistoryLabel','change:activeChange','getClientRects','getAttribute','mapper','_update','attribute:vid','nextSibling','isAttached','isReady','conversion','_fixObsoleteTags','RevisionsRepository','isContent','isAddSuggestion','615832uNhdbC','_balloon','test','removeMarker:revision-suggestion','ck-revision-history-root-add','_processTape','getItems','range','POSITIVE_INFINITY','isAfter','first','isRemoveSuggestion','elementStart','model','hasAttribute','attributes','10pFSMuy','isAdded','findIndex','object','ck-suggestion-marker-split','side','values','isAtStart','has','for','loadRevisionData','_cleanUp','deletion','editor','removeAttribute','document','abs','5AyGYok','element','_removeMissingPairs','stop','createRevision','isEnabled','isSuggestion','-new','toModel','pluginName','suggestion:','get','startsWith','writer','toViewRange','marked','markerRange','37331rjfgQQ','uiElement','markerName','distance','113792MFwBCb','revision-viewer','editingDowncast','_removeRevisionMarkers','createUIElement','add','759918OFhBtq','isRemoved','then','isLimit','restoreRevision','catch','_removeUnsupportedChanges','view','span','concat','addMarker:revision-suggestion:insertion','hasClass','forceDisabled','activeChange','isIncorrect','vid_end','ck-suggestion-preview-marker-','isBlock','merge','item','insertion','resolve','sort','useFillerType','revision:','isOnRoot','_getViewForChange','downcastDispatcher','_initInteractions','high','elementEnd','createPositionFromPath','deletions','1183512kokJbK','execute','reconvertMarker','createPositionBefore','markersEnd','ck-suggestion-marker-merge','_getChangeFromId','refresh','data-change-id','_getDiff','revision-start','elementToAttribute','startIndex','insertions','ck-suggestion-marker','change','revision-suggestion','highest','length','_threeWayMerge','map','checkAttribute','_findChangeIdFromDomTarget','_appendChild','isObject','error','isBefore','_markInsertions','parse','editing','dataToMarker','selection','code','viewItem','revisionHistoryAttachChange','_markSuggestions','getDomRoot','showPreviousChange','showStack','start','all','_revisions','backward','createRange','rootName','pairId','offsetSize','getAttributes','createAttributeElement','maxOffset','ck-suggestion-marker--active','getWalker','getCustomProperty','indexOf','delete','suggestion','revision-suggestion:','element:pre','destroy','consumable','repository','changeId','low','children','change:activeView','updatePosition','_step','677691rBaDDw','ck-suggestion-marker-','_setConversion','getRootNames','removeClass','ck-revision-history-root--active','revisionHistory','change:numberOfChanges','schema','diffData','removeMarker:revision','setAttribute','includes','getRevisionData','12Fcasrr','mapViewToDom','unbindElementFromMarkerName','detachRoot','removeMarker','processor','change:isEnabled','right','oldRevisionId','getChild','restoreRevisionCallback','type','index','requires','clear','forward','_setDistance','plugins','addHighlight','isInline','comment','addMarker:revision-suggestion:deletion','endIndex','left','getRevision','getRevisionRootsAttributes','pop','_makeModelFromTape','authors','push','softBreak','markersStart','isAtEnd','revision-end','split','change:isReady','set','toData','_getRevisionsRange','compare','data-revision-','bindElementToMarker','vid','_activeViewTarget','revision-comment:','RevisionViewer','modelRange','_changeView','addRoot','enqueueChange','domConverter','wrap','default','config','text','diff','enableReadOnlyMode','init','upcast','filter','getRoot','328BfqoyY','_markMarkers','_makeTape','splice','insert','adapter','keys','data','next','addMarker:revision','shift','mouseover','numberOfChanges','addRevisionData','ck-revision-history-root-','ck-suggestion-preview-marker','userId','isNavigationMode','_markMismatchedRemovedTags','activeView','_changeIdToChange','_refreshStartEndIndex','mousedown','nextPosition','target','previousPosition','listenTo','unshift','ck-editor__editable__overlay','remove','markerToHighlight','addRevision','observeMarkers'];_0x3857=function(){return _0x25bd80;};return _0x3857();}import{ContextualBalloon as _0x445f7f}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x1b6ee0,Element as _0x53d53b,Text as _0x328b82,ViewDocumentFragment as _0x34b6bb,ViewText as _0x3769f0,ViewElement as _0x13721e,ViewContainerElement as _0x3fceec,ViewAttributeElement as _0x53bdda,ViewEmptyElement as _0x5a752b,ViewRawElement as _0x4275d2,ViewUIElement as _0x107bcf}from'ckeditor5/src/engine.js';import{Users as _0x42ccf9,getMarkerDomElement as _0x27f854}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5bb3ac from'./ui/revisionviewer/changedetailsview.js';import _0x27983c from'./revisionsrepository.js';import _0x51fd37 from'./changeitem.js';import{default as _0x43d843}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x359d2d}from'lodash-es';function _0x5e38(_0x336408,_0x44e33e){const _0x385734=_0x3857();return _0x5e38=function(_0x5e38af,_0x4d82e5){_0x5e38af=_0x5e38af-0x1a4;let _0x560e6c=_0x385734[_0x5e38af];return _0x560e6c;},_0x5e38(_0x336408,_0x44e33e);}const tt={'c':_0x3fceec,'a':_0x53bdda,'e':_0x5a752b,'r':_0x4275d2,'u':_0x107bcf};export default class d extends _0xf1e3dc{static get[_0x3b94a6(0x273)](){const _0xb878e2=_0x3b94a6;return _0xb878e2(0x1d4);}static get[_0x3b94a6(0x1b4)](){return[_0x42ccf9,_0x445f7f,_0x27983c];}constructor(_0x2d7eeb){const _0x2d8b11=_0x3b94a6;super(_0x2d7eeb),this[_0x2d8b11(0x2e2)]=this[_0x2d8b11(0x266)][_0x2d8b11(0x1b8)][_0x2d8b11(0x275)](_0x2d8b11(0x246)),this[_0x2d8b11(0x1cb)](_0x2d8b11(0x292),null),this[_0x2d8b11(0x1cb)](_0x2d8b11(0x1f7),null),this[_0x2d8b11(0x1d2)]=null,this[_0x2d8b11(0x1cb)](_0x2d8b11(0x1de),null),this[_0x2d8b11(0x1cb)](_0x2d8b11(0x243),!0x1),this[_0x2d8b11(0x1cb)](_0x2d8b11(0x26f),!0x0),this['on'](_0x2d8b11(0x1ad),(_0xfe17e9,_0x59da82,_0x1caf79)=>{const _0x21758e=_0x2d8b11;this[_0x21758e(0x292)]=null,this[_0x21758e(0x1f7)]=null,this[_0x21758e(0x266)][_0x21758e(0x2c3)][_0x21758e(0x28c)][_0x21758e(0x2b5)](_0x253329=>{const _0x2e65ab=_0x21758e;for(const _0x4bd970 of this[_0x2e65ab(0x266)][_0x2e65ab(0x2c3)][_0x2e65ab(0x28c)][_0x2e65ab(0x268)][_0x2e65ab(0x205)])_0x1caf79?_0x253329[_0x2e65ab(0x2ed)](_0x2e65ab(0x200),_0x4bd970):_0x253329[_0x2e65ab(0x210)](_0x2e65ab(0x200),_0x4bd970);});}),this[_0x2d8b11(0x224)](_0x2d8b11(0x1f5))['to'](this,_0x2d8b11(0x292),_0x4fb0e7=>null!==_0x4fb0e7),this[_0x2d8b11(0x224)](_0x2d8b11(0x22a))['to'](this,_0x2d8b11(0x243),this,_0x2d8b11(0x1de),this,_0x2d8b11(0x292),(_0x1ead4c,_0x3fb804,_0x4718c7)=>_0x1ead4c&&_0x4718c7?_0x3fb804[_0x2d8b11(0x21d)][_0x2d8b11(0x237)](_0x4718c7):0x0),this[_0x2d8b11(0x224)](_0x2d8b11(0x1f0))['to'](this,_0x2d8b11(0x243),this,_0x2d8b11(0x1de),(_0x4d6f13,_0x149af4)=>_0x4d6f13?_0x149af4[_0x2d8b11(0x21d)][_0x2d8b11(0x2b8)]:0x0),this[_0x2d8b11(0x1d6)]=null,this[_0x2d8b11(0x1f8)]=new Map(),this[_0x2d8b11(0x1e9)]=null,this[_0x2d8b11(0x24a)]=this[_0x2d8b11(0x266)][_0x2d8b11(0x1b8)][_0x2d8b11(0x275)](_0x445f7f);}[_0x3b94a6(0x1e0)](){const _0x3b7966=_0x3b94a6,_0x3bd6e8=this[_0x3b7966(0x266)],_0x13948d=new ShowChangeCommand(_0x3bd6e8,{'direction':_0x3b7966(0x2d0)}),_0x4a8675=new ShowChangeCommand(_0x3bd6e8,{'direction':_0x3b7966(0x1b6)});(_0x3bd6e8[_0x3b7966(0x216)][_0x3b7966(0x284)](_0x3b7966(0x2cb),_0x13948d),_0x3bd6e8[_0x3b7966(0x216)][_0x3b7966(0x284)](_0x3b7966(0x21a),_0x4a8675),_0x3bd6e8[_0x3b7966(0x216)][_0x3b7966(0x284)](_0x3b7966(0x289),new RestoreRevisionCommand(_0x3bd6e8)),this['on'](_0x3b7966(0x2f0),()=>{const _0x3ada2a=_0x3b7966;_0x13948d[_0x3ada2a(0x2ad)](),_0x4a8675[_0x3ada2a(0x2ad)]();}),this[_0x3b7966(0x2eb)](),this[_0x3b7966(0x2a1)](),_0x3bd6e8[_0x3b7966(0x1df)](_0x3b7966(0x280)),_0x3bd6e8[_0x3b7966(0x1b8)][_0x3b7966(0x261)](_0x3b7966(0x206)))&&_0x3bd6e8[_0x3b7966(0x1b8)][_0x3b7966(0x275)](_0x3b7966(0x206))[_0x3b7966(0x291)](_0x3b7966(0x280));}async[_0x3b94a6(0x1a6)](_0x44aa37){const _0x2a7780=_0x3b94a6;await this[_0x2a7780(0x263)](_0x44aa37);const _0x2d4a0f={};for(const _0x370a87 in _0x44aa37[_0x2a7780(0x2f2)]){if(_0x44aa37[_0x2a7780(0x2f2)][_0x370a87][_0x2a7780(0x207)]&&!_0x44aa37[_0x2a7780(0x2f2)][_0x370a87][_0x2a7780(0x207)][_0x2a7780(0x242)])continue;const _0x1ddfd2=this[_0x2a7780(0x282)](JSON[_0x2a7780(0x2c2)](_0x44aa37[_0x2a7780(0x2f2)][_0x370a87][_0x2a7780(0x2b3)])),_0x49864d=this[_0x2a7780(0x266)][_0x2a7780(0x2c3)][_0x2a7780(0x28c)][_0x2a7780(0x268)],_0x27560a=new _0x34b6bb(_0x49864d,_0x1ddfd2[_0x2a7780(0x2ba)](_0x3938f0=>this[_0x2a7780(0x20f)](_0x3938f0)));this[_0x2a7780(0x266)][_0x2a7780(0x1eb)][_0x2a7780(0x1ac)][_0x2a7780(0x29c)](_0x2a7780(0x279)),_0x2d4a0f[_0x370a87]=this[_0x2a7780(0x266)][_0x2a7780(0x1eb)][_0x2a7780(0x1ac)][_0x2a7780(0x1cc)](_0x27560a),this[_0x2a7780(0x266)][_0x2a7780(0x1eb)][_0x2a7780(0x1ac)][_0x2a7780(0x29c)](_0x2a7780(0x1db));}return _0x2d4a0f;}async[_0x3b94a6(0x1c0)](_0x9114b){const _0x49a729=_0x3b94a6;await this[_0x49a729(0x263)](_0x9114b);const _0x354e0d={};for(const _0x3acd47 in _0x9114b[_0x49a729(0x2f2)])_0x9114b[_0x49a729(0x2f2)][_0x3acd47][_0x49a729(0x207)]&&!_0x9114b[_0x49a729(0x2f2)][_0x3acd47][_0x49a729(0x207)][_0x49a729(0x242)]||(_0x354e0d[_0x3acd47]=_0x9114b[_0x49a729(0x2f2)][_0x3acd47][_0x49a729(0x230)]||{});return _0x354e0d;}[_0x3b94a6(0x282)](_0x469700){const _0x197ca2=_0x3b94a6;return(_0x469700=_0x469700[_0x197ca2(0x1e2)](_0x3a3d59=>!_0x3a3d59[_0x197ca2(0x238)]||_0x197ca2(0x2b0)!==_0x3a3d59[_0x197ca2(0x238)]&&_0x197ca2(0x1c8)!==_0x3a3d59[_0x197ca2(0x238)]))[_0x197ca2(0x21b)](_0x20cb7f=>{const _0x544ffb=_0x197ca2;_0x544ffb(0x22b)!=typeof _0x20cb7f&&(_0x20cb7f[_0x544ffb(0x2e5)]=this[_0x544ffb(0x282)](_0x20cb7f[_0x544ffb(0x2e5)]),_0x20cb7f[_0x544ffb(0x258)]=_0x20cb7f[_0x544ffb(0x258)][_0x544ffb(0x1e2)](_0x215065=>!_0x215065[0x0][_0x544ffb(0x276)](_0x544ffb(0x1cf))));}),_0x469700;}async[_0x3b94a6(0x1ce)](_0x41e63a,_0x1966a8,_0x9d70ea=!0x1){const _0x515278=_0x3b94a6;if(!this[_0x515278(0x26f)])return;const _0x4e559a=this[_0x515278(0x1de)],_0x4f4bf=this[_0x515278(0x2e2)],_0x46b4c7=_0x515278(0x22b)==typeof _0x41e63a?_0x4f4bf[_0x515278(0x1bf)](_0x41e63a):_0x41e63a,_0xde2ce5=_0x515278(0x22b)==typeof _0x1966a8?_0x4f4bf[_0x515278(0x1bf)](_0x1966a8):_0x1966a8,_0x21294d=_0x46b4c7['id'],_0x196f75=_0xde2ce5?_0xde2ce5['id']:null;if(!_0x9d70ea&&this[_0x515278(0x1de)]&&this[_0x515278(0x1de)][_0x515278(0x208)]===_0x21294d&&this[_0x515278(0x1de)][_0x515278(0x1af)]===_0x196f75)return Promise[_0x515278(0x29a)]();this[_0x515278(0x243)]=!0x1,this[_0x515278(0x1f7)]=null,this[_0x515278(0x292)]=null,this[_0x515278(0x1de)]=new _0x43d843(_0x21294d,_0x196f75);const _0x4a4b1b=this[_0x515278(0x1cd)](_0x46b4c7,_0xde2ce5,!0x0)[_0x515278(0x2ba)](_0x5ed791=>this[_0x515278(0x263)](_0x5ed791));return _0x4a4b1b[_0x515278(0x1c4)](new Promise(_0x3e7698=>{setTimeout(_0x3e7698,0x14);})),Promise[_0x515278(0x2ce)](_0x4a4b1b)[_0x515278(0x287)](()=>{const _0x43ab54=_0x515278;if(!this[_0x43ab54(0x26f)])return;this[_0x43ab54(0x264)]();const _0x9b9d5b=this[_0x43ab54(0x2af)](_0x21294d,_0x196f75);for(const _0x5cc38f of _0x9b9d5b[_0x43ab54(0x21d)])this[_0x43ab54(0x1f8)][_0x43ab54(0x1cb)](_0x5cc38f['id'],_0x5cc38f);this[_0x43ab54(0x266)][_0x43ab54(0x256)][_0x43ab54(0x1d8)]({'isUndoable':!0x1},_0x4f350e=>{const _0x439173=_0x43ab54;for(const _0x1a6f61 of this[_0x439173(0x266)][_0x439173(0x256)][_0x439173(0x268)][_0x439173(0x2ec)]())_0x4f350e[_0x439173(0x1aa)](_0x1a6f61);for(const _0x30bf11 of Object[_0x439173(0x1ea)](_0x9b9d5b[_0x439173(0x256)])){const _0x399f06=_0x4f350e[_0x439173(0x1d7)](_0x30bf11);for(const _0x15bc0c of Object[_0x439173(0x1ea)](_0x9b9d5b[_0x439173(0x258)][_0x30bf11]))_0x4f350e[_0x439173(0x1a4)](_0x15bc0c,_0x9b9d5b[_0x439173(0x258)][_0x30bf11][_0x15bc0c],_0x399f06);_0x4f350e[_0x439173(0x1e8)](_0x9b9d5b[_0x439173(0x256)][_0x30bf11],_0x399f06,0x0);}}),this[_0x43ab54(0x1de)][_0x43ab54(0x223)](this[_0x43ab54(0x21e)](_0x9b9d5b[_0x43ab54(0x21d)])),this[_0x43ab54(0x243)]=!0x0;})[_0x515278(0x28a)](_0xe177f3=>{const _0x35f82a=_0x515278;console[_0x35f82a(0x2bf)](_0xe177f3),this[_0x35f82a(0x264)](),_0x4e559a&&(this[_0x35f82a(0x1de)]=_0x4e559a),this[_0x35f82a(0x243)]=!0x0;});}[_0x3b94a6(0x1f1)](_0x39e1e1,_0x409ac5){const _0x4d5afa=_0x3b94a6,_0x263316=this[_0x4d5afa(0x2e2)][_0x4d5afa(0x26e)](_0x39e1e1);return _0x263316['on'](_0x4d5afa(0x23f),(_0x29370a,_0x50b56b,_0x20f059)=>_0x409ac5(_0x50b56b,_0x20f059,_0x263316)),this[_0x4d5afa(0x2e2)][_0x4d5afa(0x203)](_0x263316),_0x263316;}[_0x3b94a6(0x263)](_0x3af38e){const _0x2188dc=_0x3b94a6;if(!_0x3af38e||_0x3af38e[_0x2188dc(0x2f2)])return Promise[_0x2188dc(0x29a)]();{const _0x5aec60=this[_0x2188dc(0x266)][_0x2188dc(0x1dc)][_0x2188dc(0x275)](_0x2188dc(0x21f));return this[_0x2188dc(0x1e9)][_0x2188dc(0x1bf)]({'channelId':_0x5aec60,'revisionId':_0x3af38e['id']})[_0x2188dc(0x287)](_0x3bfd7d=>{const _0xbc0b3f=_0x2188dc;_0x3af38e[_0xbc0b3f(0x23f)]({'diffData':_0x3bfd7d[_0xbc0b3f(0x2f2)]},!0x0);});}}[_0x3b94a6(0x264)](){const _0x12edcf=_0x3b94a6;this[_0x12edcf(0x292)]=null,this[_0x12edcf(0x217)](),this[_0x12edcf(0x1d6)]&&this[_0x12edcf(0x1d6)][_0x12edcf(0x2e0)](),this[_0x12edcf(0x1d6)]=null,this[_0x12edcf(0x1f8)][_0x12edcf(0x1b5)](),this[_0x12edcf(0x266)][_0x12edcf(0x256)][_0x12edcf(0x1d8)]({'isUndoable':!0x1},_0x297854=>{const _0x1b0691=_0x12edcf;for(const _0x1e5a4a of this[_0x1b0691(0x266)][_0x1b0691(0x256)][_0x1b0691(0x268)][_0x1b0691(0x2ec)]())_0x297854[_0x1b0691(0x1aa)](_0x1e5a4a);});}[_0x3b94a6(0x21e)](_0x971a0a){const _0x1cb5dc=_0x3b94a6,_0x139d5a=[],_0x575987=new Map();for(const _0x58d3d2 of this[_0x1cb5dc(0x266)][_0x1cb5dc(0x256)][_0x1cb5dc(0x268)][_0x1cb5dc(0x2ec)]()){const _0x3b8183=this[_0x1cb5dc(0x266)][_0x1cb5dc(0x2c3)][_0x1cb5dc(0x28c)][_0x1cb5dc(0x2ca)](_0x58d3d2);if(!_0x3b8183)continue;const _0x2020dc=_0x3b8183[_0x1cb5dc(0x23c)]()[_0x1cb5dc(0x298)](0x0);_0x2020dc&&(_0x139d5a[_0x1cb5dc(0x1c4)](_0x58d3d2),_0x575987[_0x1cb5dc(0x1cb)](_0x58d3d2,_0x2020dc));}return _0x139d5a[_0x1cb5dc(0x29b)]((_0x2e8660,_0xfc188b)=>{const _0x134062=_0x1cb5dc,_0x4cb966=_0x575987[_0x134062(0x275)](_0x2e8660),_0x55df9c=_0x575987[_0x134062(0x275)](_0xfc188b);return _0x4cb966['y']-_0x55df9c['y']||_0x4cb966['x']-_0x55df9c['x'];}),(_0x971a0a=_0x971a0a[_0x1cb5dc(0x1e2)](_0x797cf0=>_0x139d5a[_0x1cb5dc(0x1a5)](_0x797cf0[_0x1cb5dc(0x2d2)])))[_0x1cb5dc(0x29b)]((_0x3362c6,_0x39ae57)=>_0x139d5a[_0x1cb5dc(0x2db)](_0x3362c6[_0x1cb5dc(0x2d2)])-_0x139d5a[_0x1cb5dc(0x2db)](_0x39ae57[_0x1cb5dc(0x2d2)])),_0x971a0a;}[_0x3b94a6(0x1e6)](_0x99c080){const _0x5ea800=_0x3b94a6,_0x381c55=Array[_0x5ea800(0x20a)](_0x99c080[_0x5ea800(0x226)])[_0x5ea800(0x1e2)](([_0x2e007f,_0x2031cb])=>_0x2e007f[_0x5ea800(0x276)](_0x5ea800(0x29d))&&!_0x2031cb[_0x5ea800(0x214)]),_0x178555=Array[_0x5ea800(0x20a)](this[_0x5ea800(0x266)][_0x5ea800(0x256)][_0x5ea800(0x228)](_0x99c080)[_0x5ea800(0x2d9)]({'singleCharacters':!0x0}));if(0x0!=_0x381c55[_0x5ea800(0x2b8)])for(const _0x2905af of _0x178555){const [_0x4a839d,_0x2071d3]=_0x381c55[0x0],[,_0xad1c59,_0x3b75fa]=_0x4a839d[_0x5ea800(0x1c9)](':');if(_0x2071d3[_0x5ea800(0x22c)][_0x5ea800(0x21c)](_0x2905af[_0x5ea800(0x1fb)])&&_0x381c55[_0x5ea800(0x1ee)](),(_0x2905af[_0x5ea800(0x1fd)][_0x5ea800(0x21c)](_0x2071d3[_0x5ea800(0x2cd)])||_0x2905af[_0x5ea800(0x1fd)][_0x5ea800(0x252)](_0x2071d3[_0x5ea800(0x2cd)]))&&(_0x5ea800(0x299)==_0xad1c59?_0x2905af[_0x5ea800(0x25a)]={'userId':_0x3b75fa}:_0x5ea800(0x265)==_0xad1c59&&(_0x2905af[_0x5ea800(0x286)]={'userId':_0x3b75fa})),0x0==_0x381c55[_0x5ea800(0x2b8)])break;}return _0x178555;}[_0x3b94a6(0x1f9)](_0x19493a){const _0x42d7ad=_0x3b94a6,_0x4a757c=new Map();for(let _0x2ef5a1=0x0;_0x2ef5a1<_0x19493a[_0x42d7ad(0x2b8)];_0x2ef5a1++)_0x42d7ad(0x1dd)===_0x19493a[_0x2ef5a1][_0x42d7ad(0x1b2)]?(_0x19493a[_0x2ef5a1][_0x42d7ad(0x298)][_0x42d7ad(0x2b2)]=_0x2ef5a1,_0x19493a[_0x2ef5a1][_0x42d7ad(0x298)][_0x42d7ad(0x1bd)]=_0x2ef5a1):(_0x42d7ad(0x255)===_0x19493a[_0x2ef5a1][_0x42d7ad(0x1b2)]?_0x19493a[_0x2ef5a1][_0x42d7ad(0x298)][_0x42d7ad(0x2b2)]=_0x2ef5a1:_0x42d7ad(0x2a3)===_0x19493a[_0x2ef5a1][_0x42d7ad(0x1b2)]&&(_0x19493a[_0x2ef5a1][_0x42d7ad(0x298)][_0x42d7ad(0x1bd)]=_0x2ef5a1),_0x4a757c[_0x42d7ad(0x1cb)](_0x19493a[_0x2ef5a1]['id'],_0x2ef5a1));for(const _0x24d485 of _0x4a757c[_0x42d7ad(0x25f)]())_0x42d7ad(0x255)===_0x19493a[_0x24d485][_0x42d7ad(0x1b2)]?_0x19493a[_0x24d485][_0x42d7ad(0x298)][_0x42d7ad(0x1bd)]=_0x4a757c[_0x42d7ad(0x275)](_0x19493a[_0x24d485][_0x42d7ad(0x2d3)]):_0x42d7ad(0x2a3)===_0x19493a[_0x24d485][_0x42d7ad(0x1b2)]&&(_0x19493a[_0x24d485][_0x42d7ad(0x298)][_0x42d7ad(0x2b2)]=_0x4a757c[_0x42d7ad(0x275)](_0x19493a[_0x24d485][_0x42d7ad(0x2d3)]));}[_0x3b94a6(0x24e)](_0x215ccc){const _0x203d57=_0x3b94a6;for(let _0x35b7f5=0x0;_0x35b7f5<_0x215ccc[_0x203d57(0x2b8)];_0x35b7f5++){if(_0x203d57(0x255)===_0x215ccc[_0x35b7f5][_0x203d57(0x1b2)])_0x215ccc[_0x35b7f5][_0x203d57(0x298)][_0x203d57(0x2b2)]=_0x35b7f5;else{if(_0x203d57(0x2a3)===_0x215ccc[_0x35b7f5][_0x203d57(0x1b2)]){_0x215ccc[_0x35b7f5][_0x203d57(0x298)][_0x203d57(0x1bd)]=_0x35b7f5;const _0x534d6f=_0x215ccc[_0x35b7f5][_0x203d57(0x298)][_0x203d57(0x2b2)];_0x215ccc[_0x534d6f][_0x203d57(0x2d3)]=_0x215ccc[_0x35b7f5]['id'],_0x215ccc[_0x35b7f5][_0x203d57(0x2d3)]=_0x215ccc[_0x534d6f]['id'];}else _0x215ccc[_0x35b7f5][_0x203d57(0x298)][_0x203d57(0x2b2)]=_0x35b7f5,_0x215ccc[_0x35b7f5][_0x203d57(0x298)][_0x203d57(0x1bd)]=_0x35b7f5,_0x215ccc[_0x35b7f5][_0x203d57(0x2d3)]=null;}_0x215ccc[_0x35b7f5][_0x203d57(0x1c6)]||(_0x215ccc[_0x35b7f5][_0x203d57(0x1c6)]=[],_0x215ccc[_0x35b7f5][_0x203d57(0x2aa)]=[]);}}[_0x3b94a6(0x2c1)](_0x1ff661,_0x203cfb){const _0x5eb12f=_0x3b94a6,_0x4faa06=_0x1ff661[_0x5eb12f(0x1e2)](_0x56196a=>!_0x56196a[_0x5eb12f(0x25a)]);for(let _0x10105e=0x0;_0x10105e<_0x203cfb[_0x5eb12f(0x2b8)];_0x10105e++)_0x203cfb[_0x10105e][_0x5eb12f(0x25a)]&&(_0x4faa06[_0x10105e][_0x5eb12f(0x25a)]=_0x203cfb[_0x10105e][_0x5eb12f(0x25a)]);}[_0x3b94a6(0x212)](_0x123791){const _0x24deab=_0x3b94a6,_0x30c564=JSON[_0x24deab(0x2c2)](_0x123791),_0x59aec5=this[_0x24deab(0x266)][_0x24deab(0x2c3)][_0x24deab(0x28c)][_0x24deab(0x268)],_0x48f572=new _0x34b6bb(_0x59aec5,_0x30c564[_0x24deab(0x2ba)](_0x397c8e=>this[_0x24deab(0x20f)](_0x397c8e)));return this[_0x24deab(0x266)][_0x24deab(0x1eb)][_0x24deab(0x272)](_0x48f572);}[_0x3b94a6(0x20f)](_0x52bbdb){const _0xcfc371=_0x3b94a6,_0x3334ff=this[_0xcfc371(0x266)][_0xcfc371(0x2c3)][_0xcfc371(0x28c)][_0xcfc371(0x268)];if(_0xcfc371(0x22b)==typeof _0x52bbdb)return new _0x3769f0(_0x3334ff,_0x52bbdb);{const _0x3d55c3=_0x52bbdb[_0xcfc371(0x2e5)][_0xcfc371(0x2ba)](_0x291e8a=>this[_0xcfc371(0x20f)](_0x291e8a));return new(tt[_0x52bbdb[(_0xcfc371(0x1b2))]]||_0x13721e)(_0x3334ff,_0x52bbdb[_0xcfc371(0x238)],_0x52bbdb[_0xcfc371(0x258)],_0x3d55c3);}}[_0x3b94a6(0x2af)](_0x1c8323,_0x32628c=null){const _0xf04e5a=_0x3b94a6,_0x4752ec=this[_0xf04e5a(0x2e2)][_0xf04e5a(0x1bf)](_0x1c8323),_0x8fb89d=_0x32628c?this[_0xf04e5a(0x2e2)][_0xf04e5a(0x1bf)](_0x32628c):null,_0x208f81=this[_0xf04e5a(0x1cd)](_0x4752ec,_0x8fb89d),_0x55c166=_0x208f81[_0x208f81[_0xf04e5a(0x2b8)]-0x1],_0x374b4b=new Map(),_0x1f2366={'model':{},'attributes':{},'changes':[]},_0x56ac62=new Set(),_0x316c22=new Map();for(let _0x17e4bb=_0x208f81[_0xf04e5a(0x2b8)]-0x1;_0x17e4bb>=0x0;_0x17e4bb--){const _0x1f0449=_0x208f81[_0x17e4bb];for(const _0x3cbb99 of Object[_0xf04e5a(0x1ea)](_0x1f0449[_0xf04e5a(0x2f2)]))if(_0x1f0449[_0xf04e5a(0x2f2)][_0x3cbb99][_0xf04e5a(0x207)]){const _0x5e5d7b=_0x1f0449[_0xf04e5a(0x2f2)][_0x3cbb99][_0xf04e5a(0x207)];_0x5e5d7b[_0xf04e5a(0x242)]?(_0x56ac62[_0xf04e5a(0x284)](_0x3cbb99),_0x316c22[_0xf04e5a(0x261)](_0x3cbb99)&&_0x316c22[_0xf04e5a(0x275)](_0x3cbb99)[_0xf04e5a(0x1f4)]==_0x5e5d7b[_0xf04e5a(0x1f4)]?_0x316c22[_0xf04e5a(0x2dc)](_0x3cbb99):_0x316c22[_0xf04e5a(0x1cb)](_0x3cbb99,_0x5e5d7b)):_0x316c22[_0xf04e5a(0x261)](_0x3cbb99)?(_0x56ac62[_0xf04e5a(0x2dc)](_0x3cbb99),_0x316c22[_0xf04e5a(0x2dc)](_0x3cbb99)):(_0x56ac62[_0xf04e5a(0x284)](_0x3cbb99),_0x316c22[_0xf04e5a(0x1cb)](_0x3cbb99,_0x5e5d7b));}else _0x56ac62[_0xf04e5a(0x284)](_0x3cbb99);}for(const _0x243adb of _0x56ac62){const _0x1cad30=_0x316c22[_0xf04e5a(0x261)](_0x243adb)&&!_0x316c22[_0xf04e5a(0x275)](_0x243adb)[_0xf04e5a(0x242)];let _0x4505a3=_0x1cad30?_0x208f81[_0xf04e5a(0x2b8)]-0x1:0x0;const _0x4b5e10=_0x1cad30?-0x1:0x1;for(;_0x208f81[_0x4505a3];){const _0x19b49b=_0x208f81[_0x4505a3];if(_0x19b49b[_0xf04e5a(0x2f2)][_0x243adb]){const _0x14c122=_0x1cad30?_0x19b49b[_0xf04e5a(0x2f2)][_0x243adb][_0xf04e5a(0x235)]:_0x19b49b[_0xf04e5a(0x2f2)][_0x243adb][_0xf04e5a(0x230)];_0x1f2366[_0xf04e5a(0x258)][_0x243adb]=_0x14c122?_0x359d2d(_0x14c122):{};break;}_0x4505a3+=_0x4b5e10;}}for(const _0x1657f5 of _0x208f81){_0x1657f5[_0xf04e5a(0x256)]={};for(const _0x1d79f9 of _0x1657f5[_0xf04e5a(0x1c3)])_0x374b4b[_0xf04e5a(0x1cb)](_0x1d79f9['id'],_0x1d79f9);for(const _0x2c959e of _0x56ac62){const _0x52bef4=_0x1657f5[_0xf04e5a(0x2f2)][_0x2c959e]?_0x1657f5[_0xf04e5a(0x2f2)][_0x2c959e][_0xf04e5a(0x2b3)]:'[]',_0x2695b2=_0x1657f5[_0xf04e5a(0x2f2)][_0x2c959e]?_0x1657f5[_0xf04e5a(0x2f2)][_0x2c959e][_0xf04e5a(0x2a5)]:'[]';_0x1657f5[_0xf04e5a(0x256)][_0x2c959e]={'insertions':this[_0xf04e5a(0x212)](_0x52bef4),'deletions':this[_0xf04e5a(0x212)](_0x2695b2)};}}for(const _0x346e2f of _0x56ac62){let _0x43643b=null,_0x3eacf2=0x0;const _0x57d8c8=new Map(Array[_0xf04e5a(0x20a)](_0x4752ec[_0xf04e5a(0x256)][_0x346e2f][_0xf04e5a(0x2b3)][_0xf04e5a(0x226)])[_0xf04e5a(0x1e2)](([_0x138c58])=>!_0x138c58[_0xf04e5a(0x276)](_0xf04e5a(0x29d))));let _0x2b6e44=0x0;for(const _0xc99d56 of _0x208f81){const _0x29786d=this[_0xf04e5a(0x1e6)](_0xc99d56[_0xf04e5a(0x256)][_0x346e2f][_0xf04e5a(0x2b3)]);_0xc99d56==_0x4752ec?(_0x43643b=_0x29786d,_0x3eacf2=_0x43643b[_0xf04e5a(0x2b8)],_0x43643b[_0xf04e5a(0x21b)](_0x509940=>{_0x509940['id']=_0x2b6e44++;}),this[_0xf04e5a(0x24e)](_0x43643b)):this[_0xf04e5a(0x2c1)](_0x43643b,_0x29786d);const _0x58392c=_0x43643b[_0xf04e5a(0x1e2)](_0x4c4448=>!_0x4c4448[_0xf04e5a(0x25a)])[_0xf04e5a(0x2ba)](_0x1b8ad1=>_0x1b8ad1['id']);let _0x2de866=0x0;const _0x38b022=this[_0xf04e5a(0x1e6)](_0xc99d56[_0xf04e5a(0x256)][_0x346e2f][_0xf04e5a(0x2a5)]);_0x38b022[_0xf04e5a(0x21b)](_0x575484=>{const _0xef33de=_0xf04e5a;_0x575484[_0xef33de(0x286)]?_0x575484['id']=_0x3eacf2++:_0x575484['id']=_0x58392c[_0x2de866++];}),this[_0xf04e5a(0x24e)](_0x38b022),this[_0xf04e5a(0x1b7)](_0x43643b,_0xf04e5a(0x25a)),this[_0xf04e5a(0x1b7)](_0x38b022,_0xf04e5a(0x286)),_0xc99d56==_0x4752ec&&this[_0xf04e5a(0x1e5)](_0x43643b,_0x57d8c8),_0x43643b=this[_0xf04e5a(0x220)](_0x43643b,_0x38b022),this[_0xf04e5a(0x1f9)](_0x43643b),this[_0xf04e5a(0x1b7)](_0x43643b,_0xf04e5a(0x286));}_0x43643b=_0x43643b[_0xf04e5a(0x1e2)](_0x26fa99=>!(_0x26fa99[_0xf04e5a(0x25a)]&&_0x26fa99[_0xf04e5a(0x286)]));const _0x3319c0=new Map(_0x55c166[_0xf04e5a(0x256)][_0x346e2f][_0xf04e5a(0x2a5)][_0xf04e5a(0x226)]),_0x3403a6=new Set(_0x57d8c8[_0xf04e5a(0x1ea)]());for(const _0x37f8fd of _0x3319c0[_0xf04e5a(0x1ea)]())_0x3403a6[_0xf04e5a(0x2dc)](_0x37f8fd);this[_0xf04e5a(0x2c9)](_0x43643b,_0x3403a6),this[_0xf04e5a(0x245)](_0x43643b),_0x43643b=this[_0xf04e5a(0x26c)](_0x43643b),_0x43643b=this[_0xf04e5a(0x1f6)](_0x43643b),_0x43643b=this[_0xf04e5a(0x28b)](_0x43643b);const {root:_0x1c75f8,changes:_0x1ef8f9}=this[_0xf04e5a(0x1c2)](_0x43643b,_0x374b4b,_0x346e2f);_0x1f2366[_0xf04e5a(0x256)][_0x346e2f]=_0x1c75f8;const _0x7ada4f=_0x316c22[_0xf04e5a(0x275)](_0x346e2f);if(_0x7ada4f){const _0x2f5e10=_0x374b4b[_0xf04e5a(0x275)](_0x7ada4f[_0xf04e5a(0x1f4)]),_0x3113ac=new _0x51fd37({'author':_0x2f5e10,'type':_0x7ada4f[_0xf04e5a(0x242)]?_0xf04e5a(0x284):_0xf04e5a(0x201),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x346e2f});_0x1ef8f9[_0xf04e5a(0x1ff)](_0x3113ac),_0x1f2366[_0xf04e5a(0x258)][_0x346e2f][_0xf04e5a(0x2c8)]=_0x3113ac['id'];}_0x1f2366[_0xf04e5a(0x21d)]=_0x1f2366[_0xf04e5a(0x21d)][_0xf04e5a(0x28e)](_0x1ef8f9);}return _0x1f2366;}[_0x3b94a6(0x1e5)](_0x3c88fa,_0x823dbe){const _0x3fa8b9=_0x3b94a6;for(let _0x2d70b2=0x0;_0x2d70b2<_0x3c88fa[_0x3fa8b9(0x2b8)];_0x2d70b2++)for(const [_0x381a69,_0x1e52c6]of _0x823dbe)_0x1e52c6[_0x3fa8b9(0x2cd)][_0x3fa8b9(0x21c)](_0x3c88fa[_0x2d70b2][_0x3fa8b9(0x1fd)])&&_0x3c88fa[_0x2d70b2][_0x3fa8b9(0x1c6)][_0x3fa8b9(0x1c4)](_0x381a69),_0x1e52c6[_0x3fa8b9(0x22c)][_0x3fa8b9(0x21c)](_0x3c88fa[_0x2d70b2][_0x3fa8b9(0x1fb)])&&_0x3c88fa[_0x2d70b2][_0x3fa8b9(0x2aa)][_0x3fa8b9(0x1c4)](_0x381a69);}[_0x3b94a6(0x220)](_0x4b7e96,_0x5482b4){const _0x500e13=_0x3b94a6;let _0x1568a5=[],_0x3a2df8=0x0,_0x5310c9=0x0;for(;_0x3a2df8<_0x4b7e96[_0x500e13(0x2b8)]||_0x5310c9<_0x5482b4[_0x500e13(0x2b8)];){const _0x12392b=_0x4b7e96[_0x3a2df8]||{},_0x3225dc=_0x5482b4[_0x5310c9]||{};if(_0x12392b['id']==_0x3225dc['id'])_0x3a2df8++,_0x5310c9++,_0x1568a5[_0x500e13(0x1c4)](_0x12392b);else{if(_0x3225dc[_0x500e13(0x286)]&&_0x12392b[_0x500e13(0x25a)]){const {commonTape:_0x44b8c3,iEnd:_0x11742d,jEnd:_0x5c5f63}=this[_0x500e13(0x2b9)](_0x4b7e96,_0x3a2df8,_0x5482b4,_0x5310c9);_0x1568a5=_0x1568a5[_0x500e13(0x28e)](_0x44b8c3),_0x3a2df8=_0x11742d,_0x5310c9=_0x5c5f63;}else _0x3225dc[_0x500e13(0x286)]?(_0x5310c9++,_0x1568a5[_0x500e13(0x1c4)](_0x3225dc)):(_0x3a2df8++,_0x1568a5[_0x500e13(0x1c4)](_0x12392b));}}return _0x1568a5;}[_0x3b94a6(0x2c9)](_0x2a4b6a,_0x4184f0){const _0x3abe3c=_0x3b94a6,_0x408619=[];for(let _0xe169f5=0x0;_0xe169f5<_0x2a4b6a[_0x3abe3c(0x2b8)];_0xe169f5++){for(let _0x25c074=0x0;_0x25c074<_0x2a4b6a[_0xe169f5][_0x3abe3c(0x1c6)][_0x3abe3c(0x2b8)];_0x25c074++){const _0x27f65b=_0x2a4b6a[_0xe169f5][_0x3abe3c(0x1c6)][_0x25c074];if(!_0x4184f0[_0x3abe3c(0x261)](_0x27f65b))continue;const {group:_0x3d2540,type:_0x269c3f,authorId:_0x4bf5fa}=_0x221ef5(_0x27f65b);_0x3abe3c(0x2b6)!=_0x3d2540||_0x3abe3c(0x299)!=_0x269c3f&&_0x3abe3c(0x265)!=_0x269c3f||(_0x408619[_0x3abe3c(0x1ff)]({'type':_0x269c3f,'name':_0x27f65b,'userId':_0x4bf5fa}),_0x2a4b6a[_0xe169f5][_0x3abe3c(0x1c6)][_0x3abe3c(0x1e7)](_0x25c074,0x1),_0x25c074--);}_0x49b7fe(_0x2a4b6a[_0xe169f5]);for(let _0x26c15a=0x0;_0x26c15a<_0x2a4b6a[_0xe169f5][_0x3abe3c(0x2aa)][_0x3abe3c(0x2b8)];_0x26c15a++){const _0x146902=_0x2a4b6a[_0xe169f5][_0x3abe3c(0x2aa)][_0x26c15a];if(!_0x4184f0[_0x3abe3c(0x261)](_0x146902))continue;const {group:_0x3de82d,type:_0x33330d}=_0x221ef5(_0x146902);if(_0x3abe3c(0x2b6)!=_0x3de82d||_0x3abe3c(0x299)!=_0x33330d&&_0x3abe3c(0x265)!=_0x33330d)continue;_0x2a4b6a[_0xe169f5][_0x3abe3c(0x2aa)][_0x3abe3c(0x1e7)](_0x26c15a,0x1),_0x26c15a--;const _0x31e19a=_0x408619[_0x3abe3c(0x25b)](_0x3621f9=>_0x3621f9[_0x3abe3c(0x238)]==_0x146902);_0x31e19a>-0x1&&_0x408619[_0x3abe3c(0x1e7)](_0x31e19a,0x1);}}function _0x221ef5(_0x2f2216){const _0x43b469=_0x3abe3c,_0x3658f9=_0x2f2216[_0x43b469(0x1c9)](':');return{'group':_0x3658f9[0x0],'type':_0x3658f9[0x1],'subType':_0x3658f9[_0x43b469(0x2b8)]>=0x5?_0x3658f9[0x2]:null,'id':_0x3658f9[_0x43b469(0x2b8)]<0x5?_0x3658f9[0x2]:_0x3658f9[0x3],'authorId':_0x3658f9[_0x43b469(0x2b8)]<0x5?_0x3658f9[0x3]:_0x3658f9[0x4],'markerCount':0x6==_0x3658f9[_0x43b469(0x2b8)]?_0x3658f9[0x5]:null};}function _0x49b7fe(_0x4ce8e8){const _0x48719d=_0x3abe3c;for(let _0xdaff61=0x0;_0xdaff61<_0x408619[_0x48719d(0x2b8)];_0xdaff61++){if(_0x4ce8e8[_0x48719d(0x25a)]&&_0x48719d(0x299)==_0x408619[_0xdaff61][_0x48719d(0x1b2)])return _0x4ce8e8[_0x48719d(0x248)]=_0x408619[_0xdaff61],void delete _0x4ce8e8[_0x48719d(0x25a)];if(!_0x4ce8e8[_0x48719d(0x25a)]&&!_0x4ce8e8[_0x48719d(0x286)]&&_0x48719d(0x265)==_0x408619[_0xdaff61][_0x48719d(0x1b2)])return void(_0x4ce8e8[_0x48719d(0x254)]=_0x408619[_0xdaff61]);}}}[_0x3b94a6(0x1b7)](_0x11a497,_0x255afd){const _0x444e1f=_0x3b94a6;let _0x2366c5=0x0,_0x4ce9c0=!0x1;const _0x4640e9=new Map();for(const _0x368a0f of _0x11a497)_0x368a0f[_0x255afd]?_0x4ce9c0&&(_0x2366c5++,_0x4ce9c0=!0x1):(_0x2366c5++,_0x4ce9c0=!0x0),_0x4640e9[_0x444e1f(0x1cb)](_0x368a0f['id'],_0x2366c5);for(let _0x24c0b4=0x0;_0x24c0b4<_0x11a497[_0x444e1f(0x2b8)];_0x24c0b4++){if(_0x444e1f(0x286)==_0x255afd&&_0x11a497[_0x24c0b4][_0x444e1f(0x25a)]||_0x444e1f(0x25a)==_0x255afd&&_0x11a497[_0x24c0b4][_0x444e1f(0x286)])continue;if(_0x444e1f(0x1dd)==_0x11a497[_0x24c0b4][_0x444e1f(0x1b2)]){_0x11a497[_0x24c0b4][_0x444e1f(0x27e)]=0x0;continue;}const _0x18690f=_0x4640e9[_0x444e1f(0x275)](_0x11a497[_0x24c0b4][_0x444e1f(0x2d3)]),_0x286489=_0x4640e9[_0x444e1f(0x275)](_0x11a497[_0x24c0b4]['id']);_0x11a497[_0x24c0b4][_0x444e1f(0x27e)]=_0x18690f-_0x286489;}}[_0x3b94a6(0x1cd)](_0x113ca7,_0xc912b2,_0x19314a=!0x1){const _0x4fb33c=_0x3b94a6,_0x5a04ba=[];let _0x20671d=this[_0x4fb33c(0x2e2)][_0x4fb33c(0x237)](_0x113ca7),_0x26586b=this[_0x4fb33c(0x2e2)][_0x4fb33c(0x237)](_0xc912b2);for(-0x1==_0x26586b&&(_0x26586b=this[_0x4fb33c(0x2e2)][_0x4fb33c(0x2cf)][_0x4fb33c(0x2b8)],_0x19314a=!0x1);_0x20671d<_0x26586b;)_0x5a04ba[_0x4fb33c(0x1c4)](this[_0x4fb33c(0x2e2)][_0x4fb33c(0x1bf)](_0x20671d)),_0x20671d++;return _0x19314a&&_0x5a04ba[_0x4fb33c(0x1c4)](this[_0x4fb33c(0x2e2)][_0x4fb33c(0x1bf)](_0x20671d)),_0x5a04ba;}[_0x3b94a6(0x2b9)](_0x404083,_0x51c106,_0x330e12,_0x542a24){const _0x1d5fba=_0x3b94a6,_0x413804=this[_0x1d5fba(0x266)][_0x1d5fba(0x256)][_0x1d5fba(0x2f1)];let _0xbbd1d5=_0x51c106;for(;_0x404083[_0xbbd1d5]&&_0x404083[_0xbbd1d5][_0x1d5fba(0x25a)];)_0xbbd1d5++;let _0x29307a=_0x542a24;for(;_0x330e12[_0x29307a]&&_0x330e12[_0x29307a][_0x1d5fba(0x286)];)_0x29307a++;_0x4c5ec8(_0x404083,_0x51c106,_0xbbd1d5),_0x4c5ec8(_0x330e12,_0x542a24,_0x29307a);const _0x52ab49=_0x330e12[_0x1d5fba(0x234)](_0x542a24,_0x29307a)[_0x1d5fba(0x28e)](_0x404083[_0x1d5fba(0x234)](_0x51c106,_0xbbd1d5));return _0x52ab49[_0x1d5fba(0x29b)]((_0x5dc9db,_0x1788fd)=>_0x5dc9db[_0x1d5fba(0x25e)]!=_0x1788fd[_0x1d5fba(0x25e)]?_0x5dc9db[_0x1d5fba(0x25e)]-_0x1788fd[_0x1d5fba(0x25e)]:_0x5dc9db[_0x1d5fba(0x222)]!=_0x1788fd[_0x1d5fba(0x222)]?_0x5dc9db[_0x1d5fba(0x222)]-_0x1788fd[_0x1d5fba(0x222)]:_0x5dc9db[_0x1d5fba(0x27e)]!=_0x1788fd[_0x1d5fba(0x27e)]?_0x1788fd[_0x1d5fba(0x27e)]-_0x5dc9db[_0x1d5fba(0x27e)]:!!_0x5dc9db[_0x1d5fba(0x25a)]!=!!_0x1788fd[_0x1d5fba(0x25a)]?-0x1==_0x5dc9db[_0x1d5fba(0x25e)]||0x0==_0x5dc9db[_0x1d5fba(0x25e)]?_0x5dc9db[_0x1d5fba(0x25a)]?-0x1:0x1:_0x5dc9db[_0x1d5fba(0x25a)]?0x1:-0x1:_0x5dc9db[_0x1d5fba(0x1b3)]-_0x1788fd[_0x1d5fba(0x1b3)]),{'commonTape':_0x52ab49,'iEnd':_0xbbd1d5,'jEnd':_0x29307a};function _0x4c5ec8(_0x1f14b0,_0x2c5486,_0x2f551c){const _0x616ca4=_0x1d5fba;let _0x100aa3=-0x1,_0xbb3a5c=Number[_0x616ca4(0x251)],_0x14a191=!0x0;for(let _0x2da648=_0x2c5486;_0x2da648<_0x2f551c;_0x2da648++)if(_0x413804[_0x616ca4(0x1ba)](_0x1f14b0[_0x2da648][_0x616ca4(0x298)])||(_0x14a191=!0x1),_0x1f14b0[_0x2da648][_0x616ca4(0x298)][_0x616ca4(0x2b2)]<_0x2c5486&&(_0x100aa3=_0x2da648),_0x1f14b0[_0x2da648][_0x616ca4(0x298)][_0x616ca4(0x1bd)]>=_0x2f551c){_0xbb3a5c=_0x2da648;break;}_0x14a191&&(_0x100aa3=_0x2f551c-0x1);for(let _0x2cf52e=_0x2c5486;_0x2cf52e<_0x2f551c;_0x2cf52e++)_0x1f14b0[_0x2cf52e][_0x616ca4(0x25e)]=_0x2cf52e<=_0x100aa3?-0x1:_0x2cf52e<_0xbb3a5c?0x0:0x1,_0x1f14b0[_0x2cf52e][_0x616ca4(0x1b3)]=_0x2cf52e;let _0x58e2e8=0x0;for(let _0x3a3d1a=_0x2c5486;_0x3a3d1a<=_0x100aa3;_0x3a3d1a++)0x0==_0x1f14b0[_0x3a3d1a][_0x616ca4(0x27e)]?_0x1f14b0[_0x3a3d1a][_0x616ca4(0x222)]=_0x58e2e8:(_0x58e2e8++,_0x1f14b0[_0x3a3d1a][_0x616ca4(0x222)]=_0x58e2e8,_0x58e2e8++);for(let _0x435006=_0x2c5486;_0x435006<_0x2f551c;_0x435006++)0x0==_0x1f14b0[_0x435006][_0x616ca4(0x25e)]&&(_0x1f14b0[_0x435006][_0x616ca4(0x222)]=_0x58e2e8);_0x58e2e8=0x0;for(let _0x1dd92f=_0x2f551c-0x1;_0x1dd92f>=_0xbb3a5c;_0x1dd92f--)0x0==_0x1f14b0[_0x1dd92f][_0x616ca4(0x27e)]?_0x1f14b0[_0x1dd92f][_0x616ca4(0x222)]=_0x58e2e8:(_0x58e2e8--,_0x1f14b0[_0x1dd92f][_0x616ca4(0x222)]=_0x58e2e8,_0x58e2e8--);}}[_0x3b94a6(0x245)](_0x413e04){const _0x170eaa=_0x3b94a6,_0x1b0f23=new Map(),_0x3da30c=this[_0x170eaa(0x266)][_0x170eaa(0x256)][_0x170eaa(0x2f1)];for(let _0x3e4389=0x1;_0x3e4389<_0x413e04[_0x170eaa(0x2b8)];_0x3e4389++){let _0x5746aa,_0x22d5f5,_0x26463b;const _0x4f7482=_0x413e04[_0x3e4389],_0x4681b5=_0x413e04[_0x3e4389-0x1];if(_0x170eaa(0x1dd)==_0x4f7482[_0x170eaa(0x1b2)])continue;if(_0x4f7482[_0x170eaa(0x1b2)]!=_0x4681b5[_0x170eaa(0x1b2)])continue;if(!_0x3da30c[_0x170eaa(0x296)](_0x4681b5[_0x170eaa(0x298)])||_0x3da30c[_0x170eaa(0x288)](_0x4681b5[_0x170eaa(0x298)]))continue;if(!_0x3da30c[_0x170eaa(0x296)](_0x4f7482[_0x170eaa(0x298)])||_0x3da30c[_0x170eaa(0x288)](_0x4f7482[_0x170eaa(0x298)]))continue;if((_0x413e04[_0x3e4389][_0x170eaa(0x25a)]||_0x413e04[_0x3e4389][_0x170eaa(0x248)])&&_0x413e04[_0x3e4389-0x1][_0x170eaa(0x286)])_0x5746aa=_0x413e04[_0x3e4389],_0x22d5f5=_0x413e04[_0x3e4389-0x1],_0x26463b=_0x3e4389-0x1;else{if(!_0x413e04[_0x3e4389][_0x170eaa(0x286)]||!_0x413e04[_0x3e4389-0x1][_0x170eaa(0x25a)]&&!_0x413e04[_0x3e4389-0x1][_0x170eaa(0x248)])continue;_0x5746aa=_0x413e04[_0x3e4389-0x1],_0x22d5f5=_0x413e04[_0x3e4389],_0x26463b=_0x3e4389;}const _0x589ae3=_0x5746aa[_0x170eaa(0x222)]==_0x22d5f5[_0x170eaa(0x222)],_0x3c0dfa=Math[_0x170eaa(0x269)](_0x5746aa[_0x170eaa(0x222)])<Math[_0x170eaa(0x269)](_0x22d5f5[_0x170eaa(0x222)])&&0x0==_0x22d5f5[_0x170eaa(0x27e)];(_0x589ae3||_0x3c0dfa)&&(_0x1b0f23[_0x170eaa(0x1cb)](_0x22d5f5['id'],_0x5746aa['id']),_0x413e04[_0x170eaa(0x1e7)](_0x26463b,0x1),_0x3e4389--,_0x5746aa[_0x170eaa(0x25a)]=!0x1);}for(let _0x52b1eb=0x0;_0x52b1eb<_0x413e04[_0x170eaa(0x2b8)];_0x52b1eb++)_0x1b0f23[_0x170eaa(0x261)](_0x413e04[_0x52b1eb][_0x170eaa(0x2d3)])&&(_0x413e04[_0x52b1eb][_0x170eaa(0x2d3)]=_0x1b0f23[_0x170eaa(0x275)](_0x413e04[_0x52b1eb][_0x170eaa(0x2d3)]));}[_0x3b94a6(0x26c)](_0x4feefa){const _0x41bdc6=_0x3b94a6,_0x2d0e14=new Set(_0x4feefa[_0x41bdc6(0x2ba)](_0x34472c=>_0x34472c['id']));for(let _0x5d17be=0x0;_0x5d17be<_0x4feefa[_0x41bdc6(0x2b8)];_0x5d17be++)_0x2d0e14[_0x41bdc6(0x261)](_0x4feefa[_0x5d17be][_0x41bdc6(0x2d3)])||0x0==_0x4feefa[_0x5d17be][_0x41bdc6(0x27e)]||(_0x4feefa[_0x5d17be][_0x41bdc6(0x293)]=!0x0);return _0x4feefa[_0x41bdc6(0x1e2)](_0x344ee2=>!_0x344ee2[_0x41bdc6(0x293)]);}[_0x3b94a6(0x1f6)](_0x4e03f6){const _0x2e0c43=_0x3b94a6,_0x37e6db=new Set();for(let _0x35d8b9=0x0;_0x35d8b9<_0x4e03f6[_0x2e0c43(0x2b8)];_0x35d8b9++){if(_0x37e6db[_0x2e0c43(0x261)](_0x4e03f6[_0x35d8b9]['id'])&&_0x4e03f6[_0x35d8b9][_0x2e0c43(0x286)]&&(_0x4e03f6[_0x35d8b9][_0x2e0c43(0x293)]=!0x0),_0x4e03f6[_0x35d8b9][_0x2e0c43(0x293)])continue;if(0x0==_0x4e03f6[_0x35d8b9][_0x2e0c43(0x27e)])continue;if(_0x2e0c43(0x255)!=_0x4e03f6[_0x35d8b9][_0x2e0c43(0x1b2)])continue;if(null==_0x4e03f6[_0x35d8b9][_0x2e0c43(0x2d3)])continue;let _0x5b06fb=_0x35d8b9+0x1,_0x4f824c=0x0;for(;_0x4e03f6[_0x5b06fb]['id']!=_0x4e03f6[_0x35d8b9][_0x2e0c43(0x2d3)];)_0x2e0c43(0x255)==_0x4e03f6[_0x5b06fb][_0x2e0c43(0x1b2)]?_0x4f824c++:_0x2e0c43(0x2a3)==_0x4e03f6[_0x5b06fb][_0x2e0c43(0x1b2)]&&_0x4f824c--,_0x5b06fb++;if(0x0!=_0x4f824c){if(_0x4e03f6[_0x35d8b9][_0x2e0c43(0x286)])_0x4e03f6[_0x35d8b9][_0x2e0c43(0x293)]=!0x0;else{for(;_0x5b06fb!=_0x35d8b9;)_0x4e03f6[_0x5b06fb][_0x2e0c43(0x286)]&&0x0!=_0x4e03f6[_0x5b06fb][_0x2e0c43(0x27e)]&&(_0x4e03f6[_0x5b06fb][_0x2e0c43(0x293)]=!0x0,_0x37e6db[_0x2e0c43(0x284)](_0x4e03f6[_0x5b06fb][_0x2e0c43(0x2d3)])),_0x5b06fb--;}}}return _0x4e03f6[_0x2e0c43(0x1e2)](_0x1f763e=>!_0x1f763e[_0x2e0c43(0x293)]);}[_0x3b94a6(0x28b)](_0x43e095){const _0x24626a=_0x3b94a6,_0x4927a7=this[_0x24626a(0x266)][_0x24626a(0x256)][_0x24626a(0x2f1)];for(let _0x23bfb4=0x0;_0x23bfb4<_0x43e095[_0x24626a(0x2b8)];_0x23bfb4++){if(!(_0x43e095[_0x23bfb4][_0x24626a(0x25a)]||_0x43e095[_0x23bfb4][_0x24626a(0x248)]||_0x43e095[_0x23bfb4][_0x24626a(0x286)]||_0x43e095[_0x23bfb4][_0x24626a(0x254)]))continue;if(0x0==_0x43e095[_0x23bfb4][_0x24626a(0x27e)])continue;const _0x25b779=_0x43e095[_0x23bfb4][_0x24626a(0x298)];_0x4927a7[_0x24626a(0x296)](_0x25b779)||_0x4927a7[_0x24626a(0x288)](_0x25b779)||(_0x43e095[_0x23bfb4][_0x24626a(0x25a)]&&delete _0x43e095[_0x23bfb4][_0x24626a(0x25a)],_0x43e095[_0x23bfb4][_0x24626a(0x248)]&&delete _0x43e095[_0x23bfb4][_0x24626a(0x248)],_0x43e095[_0x23bfb4][_0x24626a(0x254)]&&delete _0x43e095[_0x23bfb4][_0x24626a(0x254)],_0x43e095[_0x23bfb4][_0x24626a(0x286)]&&(_0x43e095[_0x23bfb4][_0x24626a(0x293)]=!0x0));}return _0x43e095[_0x24626a(0x1e2)](_0x3e5674=>!_0x3e5674[_0x24626a(0x293)]);}[_0x3b94a6(0x1c2)](_0x463e90,_0x316fcc,_0x1c6d10){const _0x10b883=_0x3b94a6,_0x246440=new _0x1b6ee0(),_0x3929df=[],_0x40528c=new Map(),_0xd22647=this[_0x10b883(0x266)][_0x10b883(0x256)],_0x55f87d=_0xd22647[_0x10b883(0x2f1)],_0x2c800a=[_0x246440],_0xdae568={},_0x236e1e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x23ff69=null;const _0x2fb970=[0x0];for(let _0x4e5776=0x0;_0x4e5776<_0x463e90[_0x10b883(0x2b8)];_0x4e5776++){let _0x874a71,_0xcac9ad;if(_0x10b883(0x255)===_0x463e90[_0x4e5776][_0x10b883(0x1b2)]){_0x874a71=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970);const _0x4f8067=new _0x53d53b(_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x238)],_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x2d5)]());_0x2c800a[0x0][_0x10b883(0x2bd)](_0x4f8067),_0x2fb970[_0x10b883(0x1c4)](0x0),_0x2c800a[_0x10b883(0x1ff)](_0x4f8067),_0xcac9ad=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970),_0x23ff69=null;}else{if(_0x10b883(0x2a3)===_0x463e90[_0x4e5776][_0x10b883(0x1b2)])_0x2c800a[_0x10b883(0x1ee)](),_0x874a71=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970),_0x2fb970[_0x10b883(0x1c1)](),_0x2fb970[_0x2fb970[_0x10b883(0x2b8)]-0x1]++,_0xcac9ad=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970),_0x23ff69=null;else{if(_0x874a71=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970),_0x23ff69&&_0x49f946(_0x23ff69,_0x463e90[_0x4e5776][_0x10b883(0x298)]))_0x23ff69[_0x10b883(0x227)]+=_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x1eb)];else{const _0x498ff8=new _0x328b82(_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x1eb)],_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x2d5)]());_0x2c800a[0x0][_0x10b883(0x2bd)](_0x498ff8),_0x23ff69=_0x498ff8;}_0x2fb970[_0x2fb970[_0x10b883(0x2b8)]-0x1]+=_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x2d4)],_0xcac9ad=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970);}}for(const _0x409cbe of _0x463e90[_0x4e5776][_0x10b883(0x1c6)])_0x40528c[_0x10b883(0x1cb)](_0x409cbe,{'start':_0x874a71,'end':null});_0xfb768a(_0x10b883(0x254),_0x4e5776,_0x874a71,_0xcac9ad),_0xfb768a(_0x10b883(0x248),_0x4e5776,_0x874a71,_0xcac9ad),_0xfb768a(_0x10b883(0x286),_0x4e5776,_0x874a71,_0xcac9ad),_0xfb768a(_0x10b883(0x25a),_0x4e5776,_0x874a71,_0xcac9ad);for(const _0x1c6f72 of _0x463e90[_0x4e5776][_0x10b883(0x2aa)]){_0x40528c[_0x10b883(0x275)](_0x1c6f72)[_0x10b883(0x22c)]=_0xcac9ad;}}for(const [_0x24cac7,_0x1c5267]of _0x40528c){const _0x32a82b=this[_0x10b883(0x266)][_0x10b883(0x256)][_0x10b883(0x2d1)](_0x1c5267[_0x10b883(0x2cd)],_0x1c5267[_0x10b883(0x22c)]);_0x246440[_0x10b883(0x226)][_0x10b883(0x1cb)](_0x24cac7,_0x32a82b);}return _0x3929df[_0x10b883(0x29b)]((_0x1906b7,_0x5c6fee)=>{const _0x5b0c5b=_0x10b883,_0x3d0038=_0x246440[_0x5b0c5b(0x226)][_0x5b0c5b(0x275)](_0x5b0c5b(0x29d)+_0x1906b7['id']),_0x2ee822=_0x246440[_0x5b0c5b(0x226)][_0x5b0c5b(0x275)](_0x5b0c5b(0x29d)+_0x5c6fee['id']);return _0x3d0038[_0x5b0c5b(0x2cd)][_0x5b0c5b(0x2c0)](_0x2ee822[_0x5b0c5b(0x2cd)])?-0x1:_0x3d0038[_0x5b0c5b(0x2cd)][_0x5b0c5b(0x252)](_0x2ee822[_0x5b0c5b(0x2cd)])?0x1:_0x3d0038[_0x5b0c5b(0x22c)][_0x5b0c5b(0x2c0)](_0x2ee822[_0x5b0c5b(0x22c)])?-0x1:_0x3d0038[_0x5b0c5b(0x22c)][_0x5b0c5b(0x252)](_0x2ee822[_0x5b0c5b(0x22c)])?0x1:_0x5b0c5b(0x284)===_0x1906b7[_0x5b0c5b(0x1b2)]?-0x1:0x1;}),{'root':_0x246440,'changes':_0x3929df};function _0xfb768a(_0x341819,_0x14c36a,_0x2c8eb3,_0x4ea262){const _0x38e4c5=_0x10b883,_0x2308f9=!!_0x463e90[_0x14c36a][_0x341819],_0x1c0505=_0x2308f9?_0x463e90[_0x14c36a][_0x341819][_0x38e4c5(0x1f4)]:null,_0x4cc402=_0x14c36a===_0x463e90[_0x38e4c5(0x2b8)]-0x1,_0x5e95ed=_0x236e1e[_0x341819][0x0],_0x4c13ec=_0x55f87d[_0x38e4c5(0x2be)](_0x463e90[_0x14c36a][_0x38e4c5(0x298)]);!_0xdae568[_0x341819]&&_0x2308f9?_0xdae568[_0x341819]={'start':_0x2c8eb3,'tapeItem':_0x463e90[_0x14c36a],'userId':_0x1c0505,'type':_0x341819}:_0xdae568[_0x341819]&&!_0x2308f9?(_0xdae568[_0x341819][_0x38e4c5(0x22c)]=_0x2c8eb3,_0x46abff(_0xdae568[_0x341819]),_0xdae568[_0x341819]=null):_0xdae568[_0x341819]&&_0x2308f9&&_0xdae568[_0x341819][_0x38e4c5(0x1f4)]!==_0x1c0505&&(_0xdae568[_0x341819][_0x38e4c5(0x22c)]=_0x2c8eb3,_0x5e95ed&&_0x5e95ed[_0x38e4c5(0x1f4)]===_0xdae568[_0x341819][_0x38e4c5(0x1f4)]||_0x46abff(_0xdae568[_0x341819]),_0xdae568[_0x341819]={'start':_0x2c8eb3,'tapeItem':_0x463e90[_0x14c36a],'userId':_0x1c0505,'type':_0x341819}),_0xdae568[_0x341819]&&_0x4c13ec&&(_0x38e4c5(0x255)!==_0x463e90[_0x14c36a][_0x38e4c5(0x1b2)]||_0x5e95ed&&_0x5e95ed[_0x38e4c5(0x1f4)]===_0x1c0505||_0x236e1e[_0x341819][_0x38e4c5(0x1ff)]({'userId':_0x1c0505,'object':_0x463e90[_0x14c36a][_0x38e4c5(0x298)],'change':_0xdae568[_0x341819]}),_0x38e4c5(0x2a3)===_0x463e90[_0x14c36a][_0x38e4c5(0x1b2)]&&_0x5e95ed&&_0x5e95ed[_0x38e4c5(0x25c)]===_0x463e90[_0x14c36a][_0x38e4c5(0x298)]&&(_0x236e1e[_0x341819][_0x38e4c5(0x1ee)](),_0xdae568[_0x341819]=_0x5e95ed[_0x38e4c5(0x2b5)])),_0xdae568[_0x341819]&&_0x4cc402&&(_0xdae568[_0x341819][_0x38e4c5(0x22c)]=_0x4ea262,_0x46abff(_0xdae568[_0x341819]),_0xdae568[_0x341819]=null);}function _0x46abff({start:_0x2ec078,end:_0x5b28df,tapeItem:_0x47a903,userId:_0x8d8919,type:_0x3a8e68}){const _0x488439=_0x10b883,_0xea8290=_0x47a903[_0x488439(0x298)],_0x2750ff=_0xd22647[_0x488439(0x2f1)][_0x488439(0x296)](_0xea8290)&&!_0xd22647[_0x488439(0x2f1)][_0x488439(0x288)](_0xea8290),_0x1b47a7=_0x2ec078[_0x488439(0x218)]==_0x5b28df[_0x488439(0x236)]&&_0x5b28df[_0x488439(0x260)];if(_0x2750ff&&_0x1b47a7)return;const _0x8cd65a=_0xd22647[_0x488439(0x2d1)](_0x2ec078,_0x5b28df),_0xea01d5=_0x316fcc[_0x488439(0x275)](_0x8d8919),_0x1c5b23=new _0x51fd37({'author':_0xea01d5,'type':_0x488439(0x25a)==_0x3a8e68||_0x488439(0x248)==_0x3a8e68?_0x488439(0x284):_0x488439(0x201),'data':{'isSuggestion':_0x488439(0x248)==_0x3a8e68||_0x488439(0x254)==_0x3a8e68},'createdAt':new Date(),'rootName':_0x1c6d10});_0x3929df[_0x488439(0x1c4)](_0x1c5b23),_0x246440[_0x488439(0x226)][_0x488439(0x1cb)](_0x488439(0x29d)+_0x1c5b23['id'],_0x8cd65a);}function _0x49f946(_0x5a1aaf,_0x32dc8b){const _0x207e61=_0x10b883,_0x40f678=_0x5a1aaf[_0x207e61(0x2d5)](),_0x360621=_0x32dc8b[_0x207e61(0x2d5)]();for(const _0x192ab4 of _0x40f678){if(_0x192ab4[0x1]!==_0x32dc8b[_0x207e61(0x23d)](_0x192ab4[0x0]))return!0x1;_0x360621[_0x207e61(0x1ec)]();}return _0x360621[_0x207e61(0x1ec)]()[_0x207e61(0x239)];}}[_0x3b94a6(0x2eb)](){const _0x5b0e79=_0x3b94a6;this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x2c4)]({'view':_0x5b0e79(0x20e)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x281))[_0x5b0e79(0x202)]({'model':_0x5b0e79(0x20e),'view':_0x246828=>{const _0x3a8351=_0x5b0e79,_0x5c1039=_0x246828[_0x3a8351(0x27d)][_0x3a8351(0x1c9)](':')[0x1],_0x42a19a=this[_0x3a8351(0x2ac)](_0x5c1039);if(!_0x42a19a)return null;const _0x5b6019=_0x3a8351(0x284)==_0x42a19a[_0x3a8351(0x1b2)]?_0x3a8351(0x299):_0x3a8351(0x265),_0x2160ed=[_0x3a8351(0x2b4),_0x3a8351(0x2ea)+_0x5b6019];return _0x42a19a[_0x3a8351(0x1eb)][_0x3a8351(0x270)]&&_0x2160ed[_0x3a8351(0x1c4)](_0x3a8351(0x2ea)+_0x5b6019+_0x3a8351(0x271)),this[_0x3a8351(0x292)]==_0x42a19a&&_0x2160ed[_0x3a8351(0x1c4)](_0x3a8351(0x2d8)),{'classes':_0x2160ed,'attributes':{'data-change-id':_0x5c1039}};}}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x284)](_0x3bc334=>{const _0x4854eb=_0x5b0e79;_0x3bc334['on'](_0x4854eb(0x2df),(_0x283ed8,_0x5cc04b,_0x44a5f9)=>{const _0x205da4=_0x4854eb,_0x512e23=_0x5cc04b[_0x205da4(0x2c7)][_0x205da4(0x1b0)](0x0);if(!_0x512e23||!_0x512e23['is'](_0x205da4(0x26b),_0x205da4(0x2c6)))return;if(!_0x44a5f9[_0x205da4(0x2e1)][_0x205da4(0x20d)](_0x512e23,{'attributes':[_0x205da4(0x225),_0x205da4(0x294)]}))return;const _0x44182e=_0x5cc04b[_0x205da4(0x1d5)][_0x205da4(0x2cd)][_0x205da4(0x218)];_0x44a5f9[_0x205da4(0x277)][_0x205da4(0x1a4)](_0x205da4(0x225),_0x512e23[_0x205da4(0x23d)](_0x205da4(0x225)),_0x44182e),_0x44a5f9[_0x205da4(0x277)][_0x205da4(0x1a4)](_0x205da4(0x294),_0x512e23[_0x205da4(0x23d)](_0x205da4(0x294)),_0x44182e);},{'priority':_0x4854eb(0x2e4)});}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x284)](_0x2f27ae=>{const _0x3d826d=_0x5b0e79;_0x2f27ae['on'](_0x3d826d(0x26b),(_0xb37e9,_0x1f8b55,_0x1de234)=>{const _0x57e3da=_0x3d826d;if(!_0x1de234[_0x57e3da(0x2e1)][_0x57e3da(0x20d)](_0x1f8b55[_0x57e3da(0x2c7)],{'attributes':[_0x57e3da(0x225),_0x57e3da(0x294)]}))return;if(_0x1f8b55[_0x57e3da(0x1d5)][_0x57e3da(0x214)])return;const _0x4404bc=_0x1f8b55[_0x57e3da(0x1d5)][_0x57e3da(0x2cd)][_0x57e3da(0x218)];_0x4404bc[_0x57e3da(0x257)](_0x57e3da(0x225))||_0x4404bc[_0x57e3da(0x257)](_0x57e3da(0x1d1))||(_0x1de234[_0x57e3da(0x277)][_0x57e3da(0x1a4)](_0x57e3da(0x225),_0x1f8b55[_0x57e3da(0x2c7)][_0x57e3da(0x23d)](_0x57e3da(0x225)),_0x4404bc),_0x1de234[_0x57e3da(0x277)][_0x57e3da(0x1a4)](_0x57e3da(0x294),_0x1f8b55[_0x57e3da(0x2c7)][_0x57e3da(0x23d)](_0x57e3da(0x294)),_0x4404bc));},{'priority':_0x3d826d(0x2e4)});}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x2b1)]({'view':{'name':_0x5b0e79(0x28d),'attributes':{'vid':!0x0}},'model':{'key':_0x5b0e79(0x1d1),'value':_0xe3feb1=>_0xe3feb1[_0x5b0e79(0x23d)](_0x5b0e79(0x1d1))}}),this[_0x5b0e79(0x266)][_0x5b0e79(0x256)][_0x5b0e79(0x2f1)]['on'](_0x5b0e79(0x2bb),(_0x1f43af,[,_0x40fc4f])=>{const _0x797981=_0x5b0e79;[_0x797981(0x225),_0x797981(0x294),_0x797981(0x1d1)][_0x797981(0x1a5)](_0x40fc4f)&&(_0x1f43af[_0x797981(0x215)]=!0x0,_0x1f43af[_0x797981(0x26d)]());},{'priority':_0x5b0e79(0x2b7)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x229))[_0x5b0e79(0x284)](_0x2ededf=>{const _0x2f6ceb=_0x5b0e79;_0x2ededf['on'](_0x2f6ceb(0x240),(_0x5002ca,_0x8a293c,_0x54a947)=>{const _0x30ede5=_0x2f6ceb;if('\x20'!=_0x8a293c[_0x30ede5(0x298)][_0x30ede5(0x1eb)]||_0x8a293c[_0x30ede5(0x298)][_0x30ede5(0x236)][_0x30ede5(0x2d7)]>0x1)return;if(!_0x54a947[_0x30ede5(0x2e1)][_0x30ede5(0x20d)](_0x8a293c[_0x30ede5(0x298)],_0x5002ca[_0x30ede5(0x238)]))return;const _0xeb1b21=_0x54a947[_0x30ede5(0x277)],_0x45acb3=_0x54a947[_0x30ede5(0x23e)][_0x30ede5(0x278)](_0x8a293c[_0x30ede5(0x250)]);_0xeb1b21[_0x30ede5(0x1da)](_0x45acb3,_0xeb1b21[_0x30ede5(0x2d6)](_0x30ede5(0x28d)));});}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x229))[_0x5b0e79(0x231)]({'model':_0x5b0e79(0x20e)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x1ed),function(_0x284543){const _0xfd1db8=_0x5b0e79,_0x5cc67f=_0x284543[_0xfd1db8(0x1b8)][_0xfd1db8(0x275)](_0xfd1db8(0x1d4));return(_0x55915e,_0x4755f9,_0x48ca3b)=>{const _0xc14258=_0xfd1db8,_0x57de0b=_0x4755f9[_0xc14258(0x27d)][_0xc14258(0x1c9)](':')[0x1],_0x3e5274=_0x5cc67f[_0xc14258(0x2ac)](_0x57de0b);if(!_0x3e5274)return null;const _0xb0de64=_0xc14258(0x284)==_0x3e5274[_0xc14258(0x1b2)]?_0xc14258(0x1c9):_0xc14258(0x297);if(!_0x48ca3b[_0xc14258(0x2e1)][_0xc14258(0x24b)](_0x4755f9[_0xc14258(0x27a)],_0x55915e[_0xc14258(0x238)]))return;const _0x3f5ba3=_0x4755f9[_0xc14258(0x27a)][_0xc14258(0x2d9)](),_0x417e13=_0x4755f9[_0xc14258(0x27a)][_0xc14258(0x2cd)],_0x3825ad=_0x284543[_0xc14258(0x256)][_0xc14258(0x2f1)];let _0x1f4494=null,_0x59aba1=null,_0x2e3026=!0x1,_0x41fb96=!0x1;for(const _0x50810f of _0x3f5ba3){const _0xab62f6=_0x50810f[_0xc14258(0x298)];_0x2e3026=_0x2e3026||_0x3825ad[_0xc14258(0x247)](_0xab62f6);const _0x58bb89=_0x48ca3b[_0xc14258(0x23e)][_0xc14258(0x22f)](_0xab62f6);if(_0x58bb89&&_0x58bb89[_0xc14258(0x2da)](_0xc14258(0x1b9)))return;_0xc14258(0x2a3)==_0x50810f[_0xc14258(0x1b2)]&&(_0x3825ad[_0xc14258(0x296)](_0xab62f6)&&!_0x3825ad[_0xc14258(0x288)](_0xab62f6)&&(_0xab62f6[_0xc14258(0x241)]||_0x417e13[_0xc14258(0x1c7)]?_0x1f4494&&_0x1f4494[_0xc14258(0x236)]==_0xab62f6||(_0x1f4494=_0xab62f6,_0x149b16(_0x50810f[_0xc14258(0x1fd)]),_0x41fb96=!0x0):_0x59aba1=_0x59aba1||_0x50810f[_0xc14258(0x1fd)]));}function _0x149b16(_0x4ab777){const _0x2e8f17=_0xc14258,_0x4aa112=_0x48ca3b[_0x2e8f17(0x277)][_0x2e8f17(0x283)](_0x2e8f17(0x28d),{'class':_0x2e8f17(0x2ea)+_0xb0de64}),_0x10b08f=_0x48ca3b[_0x2e8f17(0x23e)][_0x2e8f17(0x219)](_0x4ab777);_0x3e5274[_0x2e8f17(0x1eb)][_0x2e8f17(0x270)]&&_0x48ca3b[_0x2e8f17(0x277)][_0x2e8f17(0x210)](_0x2e8f17(0x2ea)+_0xb0de64+_0x2e8f17(0x271),_0x4aa112),_0x5cc67f[_0x2e8f17(0x292)]==_0x3e5274&&_0x48ca3b[_0x2e8f17(0x277)][_0x2e8f17(0x210)](_0x2e8f17(0x2d8),_0x4aa112),_0x48ca3b[_0x2e8f17(0x277)][_0x2e8f17(0x1e8)](_0x10b08f,_0x4aa112),_0x48ca3b[_0x2e8f17(0x23e)][_0x2e8f17(0x1d0)](_0x4aa112,_0x4755f9[_0x2e8f17(0x27d)]);}_0x2e3026||_0x41fb96||!_0x59aba1||_0x149b16(_0x59aba1);};}(this[_0x5b0e79(0x266)]),{'priority':_0x5b0e79(0x2a2)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x2f3),(_0xbf4fda,_0x26ce64,_0xbfb2c4)=>{const _0x136534=_0x5b0e79,_0x1f3ce5=_0xbfb2c4[_0x136534(0x23e)][_0x136534(0x22e)](_0x26ce64[_0x136534(0x27d)]);if(_0x1f3ce5){for(const _0x5d2e9e of _0x1f3ce5)(_0x5d2e9e[_0x136534(0x290)](_0x136534(0x25d))||_0x5d2e9e[_0x136534(0x290)](_0x136534(0x2ab)))&&(_0xbfb2c4[_0x136534(0x23e)][_0x136534(0x1a9)](_0x5d2e9e,_0x26ce64[_0x136534(0x27d)]),_0xbfb2c4[_0x136534(0x277)][_0x136534(0x201)](_0x5d2e9e));}},{'priority':_0x5b0e79(0x2a2)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x1ed),(_0x275deb,_0x457ab3,_0x35dced)=>{const _0x4d3451=_0x5b0e79,_0x5ed9a1=_0x457ab3[_0x4d3451(0x27d)][_0x4d3451(0x1c9)](':')[0x1],_0x30b911=this[_0x4d3451(0x2ac)](_0x5ed9a1);if(!_0x30b911)return null;const _0x189944=_0x4d3451(0x284)==_0x30b911[_0x4d3451(0x1b2)]?_0x4d3451(0x1c9):_0x4d3451(0x297);if(_0x35dced[_0x4d3451(0x2e1)][_0x4d3451(0x24b)](_0x457ab3[_0x4d3451(0x27a)],_0x275deb[_0x4d3451(0x238)]))for(const _0x100ce7 of _0x457ab3[_0x4d3451(0x27a)][_0x4d3451(0x24f)]()){if(!_0x100ce7['is'](_0x4d3451(0x26b),_0x4d3451(0x1c5)))continue;const _0x7d5493=_0x35dced[_0x4d3451(0x277)][_0x4d3451(0x283)](_0x4d3451(0x28d),{'class':_0x4d3451(0x2ea)+_0x189944}),_0x33f383=_0x35dced[_0x4d3451(0x23e)][_0x4d3451(0x219)](this[_0x4d3451(0x266)][_0x4d3451(0x256)][_0x4d3451(0x2a9)](_0x100ce7));_0x30b911[_0x4d3451(0x1eb)][_0x4d3451(0x270)]&&_0x35dced[_0x4d3451(0x277)][_0x4d3451(0x210)](_0x4d3451(0x2ea)+_0x189944+_0x4d3451(0x271),_0x7d5493),this[_0x4d3451(0x292)]==_0x30b911&&_0x35dced[_0x4d3451(0x277)][_0x4d3451(0x210)](_0x4d3451(0x2d8),_0x7d5493),_0x35dced[_0x4d3451(0x277)][_0x4d3451(0x1e8)](_0x33f383,_0x7d5493),_0x35dced[_0x4d3451(0x23e)][_0x4d3451(0x1d0)](_0x7d5493,_0x457ab3[_0x4d3451(0x27d)]);}},{'priority':_0x5b0e79(0x2a2)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x256)][_0x5b0e79(0x268)]['on'](_0x5b0e79(0x2b5),()=>{const _0x1f4915=_0x5b0e79;this[_0x1f4915(0x266)][_0x1f4915(0x2c3)][_0x1f4915(0x28c)][_0x1f4915(0x2b5)](_0x14a664=>{const _0x36faed=_0x1f4915;for(const _0x44ce63 of this[_0x36faed(0x266)][_0x36faed(0x256)][_0x36faed(0x268)][_0x36faed(0x2ec)]()){const _0x35bb35=this[_0x36faed(0x266)][_0x36faed(0x256)][_0x36faed(0x268)][_0x36faed(0x1e3)](_0x44ce63),_0x2ca371=this[_0x36faed(0x266)][_0x36faed(0x2c3)][_0x36faed(0x28c)][_0x36faed(0x268)][_0x36faed(0x1e3)](_0x44ce63);if(_0x2ca371){const _0x529354=_0x35bb35[_0x36faed(0x23d)](_0x36faed(0x2c8));if(_0x14a664[_0x36faed(0x267)](_0x36faed(0x2ae),_0x2ca371),_0x14a664[_0x36faed(0x2ed)](_0x36faed(0x24d),_0x2ca371),_0x14a664[_0x36faed(0x2ed)](_0x36faed(0x209),_0x2ca371),_0x14a664[_0x36faed(0x2ed)](_0x36faed(0x2ee),_0x2ca371),_0x529354){const _0x3bcd00=this[_0x36faed(0x2ac)](_0x529354);if(!_0x3bcd00)return null;_0x14a664[_0x36faed(0x1a4)](_0x36faed(0x2ae),_0x529354,_0x2ca371),_0x14a664[_0x36faed(0x210)](_0x36faed(0x1f2)+_0x3bcd00[_0x36faed(0x1b2)],_0x2ca371),this[_0x36faed(0x292)]==_0x3bcd00&&_0x14a664[_0x36faed(0x210)](_0x36faed(0x2ee),_0x2ca371);}}}});}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x2c4)]({'view':_0x5b0e79(0x1bb),'model':_0x49cc29=>_0x5b0e79(0x1d3)+_0x49cc29,'converterPriority':_0x5b0e79(0x2b7)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x2c4)]({'view':_0x5b0e79(0x2dd),'model':_0x3b8925=>_0x5b0e79(0x2de)+_0x3b8925,'converterPriority':_0x5b0e79(0x2b7)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x229))[_0x5b0e79(0x231)]({'model':_0x5b0e79(0x2b6),'view':_0x5ef01c=>({'name':_0x5b0e79(0x274)+_0x5ef01c,'group':_0x5b0e79(0x2b6)}),'converterPriority':_0x5b0e79(0x2b7)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x281))[_0x5b0e79(0x202)]({'model':_0x5b0e79(0x2b6),'view':_0x2fe71f=>{const _0x213ffe=_0x5b0e79,_0x3f2118=_0x2fe71f[_0x213ffe(0x27d)][_0x213ffe(0x1c9)](':')[0x1];return _0x213ffe(0x299)!=_0x3f2118&&_0x213ffe(0x265)!=_0x3f2118?null:{'classes':[_0x213ffe(0x1f3),_0x213ffe(0x295)+_0x3f2118]};}}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x1bc),et(this[_0x5b0e79(0x266)],_0x5b0e79(0x297)),{'priority':_0x5b0e79(0x2a2)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x28f),et(this[_0x5b0e79(0x266)],_0x5b0e79(0x1c9)),{'priority':_0x5b0e79(0x2a2)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x24c),(_0x3a8ef7,_0x27d23c,_0x149ff5)=>{const _0x146b03=_0x5b0e79,_0x34247d=_0x149ff5[_0x146b03(0x23e)][_0x146b03(0x22e)](_0x27d23c[_0x146b03(0x27d)]);if(_0x34247d){for(const _0x4ebe40 of _0x34247d)_0x4ebe40['is'](_0x146b03(0x27c))&&(_0x149ff5[_0x146b03(0x23e)][_0x146b03(0x1a9)](_0x4ebe40,_0x27d23c[_0x146b03(0x27d)]),_0x149ff5[_0x146b03(0x277)][_0x146b03(0x201)](_0x4ebe40));}},{'priority':_0x5b0e79(0x2a2)});}[_0x3b94a6(0x2ac)](_0x3daaac){const _0x3f14ba=_0x3b94a6;return this[_0x3f14ba(0x1f8)][_0x3f14ba(0x275)](_0x3daaac);}[_0x3b94a6(0x29f)](_0x22d7e6){const _0x3364d1=_0x3b94a6;return this[_0x3364d1(0x1d6)]&&this[_0x3364d1(0x1d6)][_0x3364d1(0x2e0)](),this[_0x3364d1(0x1d6)]=new _0x5bb3ac(this[_0x3364d1(0x266)][_0x3364d1(0x20c)],_0x22d7e6),this[_0x3364d1(0x1d6)];}[_0x3b94a6(0x2a1)](){const _0xbbc2ba=_0x3b94a6;this[_0xbbc2ba(0x266)][_0xbbc2ba(0x256)][_0xbbc2ba(0x268)][_0xbbc2ba(0x2c5)][_0xbbc2ba(0x204)](_0xbbc2ba(0x20e)),this['on'](_0xbbc2ba(0x2e6),(_0x1cd6bd,_0x1d3565,_0x41fb8c,_0x5a7a0a)=>{const _0xad079d=_0xbbc2ba;_0x5a7a0a&&this[_0xad079d(0x24a)][_0xad079d(0x201)](_0x5a7a0a),_0x41fb8c&&(this[_0xad079d(0x24a)][_0xad079d(0x284)]({'view':_0x41fb8c,'stackId':_0xad079d(0x23a),'position':{'target':()=>{const _0xfcf317=_0xad079d,_0x3afc34=this[_0xfcf317(0x266)][_0xfcf317(0x2c3)],_0x5eafcf=this[_0xfcf317(0x2ac)](_0x41fb8c[_0xfcf317(0x2e3)]);let _0x204a7b;if(_0x5eafcf[_0xfcf317(0x1eb)][_0xfcf317(0x29e)]){const _0x253dfd=_0x3afc34[_0xfcf317(0x28c)][_0xfcf317(0x2ca)](_0x5eafcf[_0xfcf317(0x2d2)]);_0x204a7b=Array[_0xfcf317(0x20a)](_0x253dfd[_0xfcf317(0x23c)]());}else{const _0x326dd1=this[_0xfcf317(0x266)][_0xfcf317(0x256)][_0xfcf317(0x226)][_0xfcf317(0x275)](_0xfcf317(0x29d)+_0x41fb8c[_0xfcf317(0x2e3)]);_0x204a7b=Array[_0xfcf317(0x20a)](_0x3afc34[_0xfcf317(0x23e)][_0xfcf317(0x22e)](_0x326dd1[_0xfcf317(0x238)]))[_0xfcf317(0x2ba)](_0x35ea83=>_0x3afc34[_0xfcf317(0x28c)][_0xfcf317(0x1d9)][_0xfcf317(0x1a8)](_0x35ea83))[_0xfcf317(0x2ba)](_0xb3177b=>Array[_0xfcf317(0x20a)](_0xb3177b[_0xfcf317(0x23c)]()))[_0xfcf317(0x22d)]();}if(!this[_0xfcf317(0x1d2)])return _0x204a7b[0x0];return _0x204a7b[_0xfcf317(0x211)](_0x35ca16=>_0x35ca16[_0xfcf317(0x233)]-0x3<=this[_0xfcf317(0x1d2)]['y']&&_0x35ca16[_0xfcf317(0x213)]+0x3>=this[_0xfcf317(0x1d2)]['y']&&_0x35ca16[_0xfcf317(0x1be)]-0x3<=this[_0xfcf317(0x1d2)]['x']&&_0x35ca16[_0xfcf317(0x1ae)]+0x3>=this[_0xfcf317(0x1d2)]['x'])||_0x204a7b[0x0];}}}),this[_0xad079d(0x24a)][_0xad079d(0x2cc)](_0xad079d(0x23a)));}),this['on'](_0xbbc2ba(0x23b),(_0x59c969,_0x37f5da,_0x34351f,_0x4324e6)=>{const _0x25d2f0=_0xbbc2ba;this[_0x25d2f0(0x1f7)]=_0x34351f?this[_0x25d2f0(0x29f)](_0x34351f):null,this[_0x25d2f0(0x266)][_0x25d2f0(0x256)][_0x25d2f0(0x2b5)](()=>{const _0x7bdbef=_0x25d2f0,_0x1e8ab7=this[_0x7bdbef(0x266)][_0x7bdbef(0x2c3)];_0x4324e6&&(_0x4324e6[_0x7bdbef(0x1eb)][_0x7bdbef(0x29e)]?_0x1e8ab7[_0x7bdbef(0x28c)][_0x7bdbef(0x2b5)](_0x3264d2=>{const _0x2a6fed=_0x7bdbef;_0x3264d2[_0x2a6fed(0x2ed)](_0x2a6fed(0x2ee),_0x1e8ab7[_0x2a6fed(0x28c)][_0x2a6fed(0x268)][_0x2a6fed(0x1e3)](_0x4324e6[_0x2a6fed(0x2d2)]));}):_0x1e8ab7[_0x7bdbef(0x2a8)](_0x7bdbef(0x29d)+_0x4324e6['id'])),_0x34351f&&(_0x34351f[_0x7bdbef(0x1eb)][_0x7bdbef(0x29e)]?_0x1e8ab7[_0x7bdbef(0x28c)][_0x7bdbef(0x2b5)](_0x31acb8=>{const _0x801f6b=_0x7bdbef;_0x31acb8[_0x801f6b(0x210)](_0x801f6b(0x2ee),_0x1e8ab7[_0x801f6b(0x28c)][_0x801f6b(0x268)][_0x801f6b(0x1e3)](_0x34351f[_0x801f6b(0x2d2)]));}):_0x1e8ab7[_0x7bdbef(0x2a8)](_0x7bdbef(0x29d)+_0x34351f['id']));});}),this[_0xbbc2ba(0x1fe)](this[_0xbbc2ba(0x266)][_0xbbc2ba(0x2c3)][_0xbbc2ba(0x28c)][_0xbbc2ba(0x268)],_0xbbc2ba(0x1ef),(_0x511291,_0x3a72b7)=>{const _0x5eaf07=_0xbbc2ba;if(this[_0x5eaf07(0x292)])return;const _0x7d0ca7=this[_0x5eaf07(0x2bc)](_0x3a72b7[_0x5eaf07(0x1fc)]),_0xc9ec26=this[_0x5eaf07(0x1f8)][_0x5eaf07(0x275)](_0x7d0ca7);_0xc9ec26?(this[_0x5eaf07(0x1d2)]={'x':_0x3a72b7[_0x5eaf07(0x232)]['x'],'y':_0x3a72b7[_0x5eaf07(0x232)]['y']},this[_0x5eaf07(0x1f7)]=this[_0x5eaf07(0x29f)](_0xc9ec26)):(this[_0x5eaf07(0x1d2)]=null,this[_0x5eaf07(0x1f7)]=null);}),this[_0xbbc2ba(0x1fe)](this[_0xbbc2ba(0x266)][_0xbbc2ba(0x2c3)][_0xbbc2ba(0x28c)][_0xbbc2ba(0x268)],_0xbbc2ba(0x1fa),(_0x13a145,_0x46ec1b)=>{const _0x257456=_0xbbc2ba,_0x144682=this[_0x257456(0x2bc)](_0x46ec1b[_0x257456(0x1fc)]),_0x2d082a=this[_0x257456(0x1f8)][_0x257456(0x275)](_0x144682);_0x2d082a?(this[_0x257456(0x1d2)]={'x':_0x46ec1b[_0x257456(0x232)]['x'],'y':_0x46ec1b[_0x257456(0x232)]['y']},_0x2d082a===this[_0x257456(0x292)]?this[_0x257456(0x24a)][_0x257456(0x2e7)]():this[_0x257456(0x292)]=_0x2d082a):(this[_0x257456(0x1d2)]=null,this[_0x257456(0x292)]=null);});}[_0x3b94a6(0x2bc)](_0x49b5de){const _0x9a398f=_0x3b94a6;do{const _0x5ed653=_0x49b5de[_0x9a398f(0x23d)](_0x9a398f(0x2ae));if(_0x5ed653)return _0x5ed653;_0x49b5de=_0x49b5de[_0x9a398f(0x236)];}while(_0x49b5de);return null;}[_0x3b94a6(0x217)](){const _0x5dbde9=_0x3b94a6;this[_0x5dbde9(0x266)][_0x5dbde9(0x256)][_0x5dbde9(0x2b5)](_0x5dcc4e=>{const _0xdd8698=_0x5dbde9;for(const _0x3043b7 of this[_0xdd8698(0x266)][_0xdd8698(0x256)][_0xdd8698(0x226)])_0x5dcc4e[_0xdd8698(0x1ab)](_0x3043b7);});}}function et(_0x5ef943,_0x571c54){return(_0xebd2bf,_0x5a1970,_0x398b25)=>{const _0x27eb1f=_0x5e38;if(!_0x398b25[_0x27eb1f(0x2e1)][_0x27eb1f(0x24b)](_0x5a1970[_0x27eb1f(0x27a)],_0xebd2bf[_0x27eb1f(0x238)]))return;const _0x3208ff=_0x5a1970[_0x27eb1f(0x27a)][_0x27eb1f(0x2d9)](),_0x188d20=_0x5a1970[_0x27eb1f(0x27a)][_0x27eb1f(0x2cd)],_0x1143c4=_0x5ef943[_0x27eb1f(0x256)][_0x27eb1f(0x2f1)];let _0x377398=null,_0x402fc2=null,_0x3e9ac8=!0x1,_0x3553a0=!0x1;for(const _0x1da682 of _0x3208ff){const _0x2e49ed=_0x1da682[_0x27eb1f(0x298)];_0x3e9ac8=_0x3e9ac8||_0x1143c4[_0x27eb1f(0x247)](_0x2e49ed);const _0x4f40c8=_0x398b25[_0x27eb1f(0x23e)][_0x27eb1f(0x22f)](_0x2e49ed);if(_0x4f40c8&&_0x4f40c8[_0x27eb1f(0x2da)](_0x27eb1f(0x1b9)))return;_0x27eb1f(0x2a3)==_0x1da682[_0x27eb1f(0x1b2)]&&(_0x1143c4[_0x27eb1f(0x296)](_0x2e49ed)&&!_0x1143c4[_0x27eb1f(0x288)](_0x2e49ed)&&(_0x2e49ed[_0x27eb1f(0x241)]||_0x188d20[_0x27eb1f(0x1c7)]?_0x377398&&_0x377398[_0x27eb1f(0x236)]==_0x2e49ed||(_0x377398=_0x2e49ed,_0xf9bf8b(_0x1da682[_0x27eb1f(0x1fd)]),_0x3553a0=!0x0):_0x402fc2=_0x402fc2||_0x1da682[_0x27eb1f(0x1fd)]));}function _0xf9bf8b(_0x2dd59d){const _0x2bfca0=_0x27eb1f,_0x18cf71=_0x398b25[_0x2bfca0(0x23e)][_0x2bfca0(0x219)](_0x2dd59d),_0x4a2bbc=_0x398b25[_0x2bfca0(0x277)][_0x2bfca0(0x283)](_0x2bfca0(0x28d),{'class':_0x2bfca0(0x295)+_0x571c54});_0x398b25[_0x2bfca0(0x277)][_0x2bfca0(0x1e8)](_0x18cf71,_0x4a2bbc),_0x398b25[_0x2bfca0(0x23e)][_0x2bfca0(0x1d0)](_0x4a2bbc,_0x5a1970[_0x2bfca0(0x27d)]);}_0x3e9ac8||_0x3553a0||!_0x402fc2||_0xf9bf8b(_0x402fc2);};}export class RestoreRevisionCommand extends _0x59a91e{constructor(_0x386c7d){const _0x2c78b2=_0x3b94a6;super(_0x386c7d);const _0x30e292=_0x386c7d[_0x2c78b2(0x1b8)][_0x2c78b2(0x275)](d);this[_0x2c78b2(0x20b)]=!0x1,this[_0x2c78b2(0x1fe)](_0x30e292,_0x2c78b2(0x1ca),()=>this[_0x2c78b2(0x2ad)]()),this[_0x2c78b2(0x1fe)](_0x30e292,_0x2c78b2(0x1ad),()=>this[_0x2c78b2(0x2ad)]());}[_0x3b94a6(0x2a7)](){const _0x129867=_0x3b94a6,_0x463165=this[_0x129867(0x266)],_0x2099c8=_0x463165[_0x129867(0x1b8)][_0x129867(0x275)](d),_0xa989a2=_0x2099c8[_0x129867(0x243)]?_0x2099c8[_0x129867(0x1de)][_0x129867(0x208)]:null;_0x463165[_0x129867(0x1dc)][_0x129867(0x275)](_0x129867(0x2ef))[_0x129867(0x1b1)](_0xa989a2);}[_0x3b94a6(0x2ad)](){const _0x7f3a97=_0x3b94a6,{isReady:_0x20ba22,isEnabled:_0x369af1}=this[_0x7f3a97(0x266)][_0x7f3a97(0x1b8)][_0x7f3a97(0x275)](d);this[_0x7f3a97(0x26f)]=_0x20ba22&&_0x369af1;}}export class ShowChangeCommand extends _0x59a91e{constructor(_0x5731fa,{direction:_0x34df0a}){const _0x5e8e93=_0x3b94a6;super(_0x5731fa);const _0xaad058=_0x5731fa[_0x5e8e93(0x1b8)][_0x5e8e93(0x275)](d);this[_0x5e8e93(0x20b)]=!0x1,this[_0x5e8e93(0x2e8)]=_0x5e8e93(0x1b6)===_0x34df0a?0x1:-0x1,this[_0x5e8e93(0x1fe)](_0xaad058,_0x5e8e93(0x1ca),()=>this[_0x5e8e93(0x2ad)]()),this[_0x5e8e93(0x1fe)](_0xaad058,_0x5e8e93(0x1ad),()=>this[_0x5e8e93(0x2ad)]()),this[_0x5e8e93(0x1fe)](_0xaad058,_0x5e8e93(0x23b),()=>this[_0x5e8e93(0x2ad)]());}[_0x3b94a6(0x2a7)](){const _0x3602d3=_0x3b94a6,_0x350b43=this[_0x3602d3(0x266)],_0x41259f=_0x350b43[_0x3602d3(0x1b8)][_0x3602d3(0x275)](d),{isNavigationMode:_0x2688db,currentChangeNumber:_0x60c73f}=_0x41259f;let _0x40f0c8;if(_0x41259f[_0x3602d3(0x292)]=_0x2688db?_0x41259f[_0x3602d3(0x1de)][_0x3602d3(0x21d)][_0x3602d3(0x275)](_0x60c73f+this[_0x3602d3(0x2e8)]):_0x41259f[_0x3602d3(0x1de)][_0x3602d3(0x21d)][_0x3602d3(0x253)],_0x41259f[_0x3602d3(0x292)][_0x3602d3(0x1eb)][_0x3602d3(0x29e)])_0x40f0c8=_0x350b43[_0x3602d3(0x2c3)][_0x3602d3(0x28c)][_0x3602d3(0x2ca)](_0x41259f[_0x3602d3(0x292)][_0x3602d3(0x2d2)]);else{const _0x3791c5=_0x350b43[_0x3602d3(0x256)][_0x3602d3(0x226)][_0x3602d3(0x275)](_0x3602d3(0x29d)+_0x41259f[_0x3602d3(0x292)]['id']);_0x40f0c8=_0x27f854(_0x350b43[_0x3602d3(0x2c3)],_0x3791c5);}_0x2d740a({'target':_0x40f0c8,'viewportOffset':0x28});}[_0x3b94a6(0x2ad)](){const _0x3ff98d=_0x3b94a6,{isNavigationMode:_0x3dd259,currentChangeNumber:_0x18f544,numberOfChanges:_0x7a8de4,isReady:_0x2298f6,isEnabled:_0x305768}=this[_0x3ff98d(0x266)][_0x3ff98d(0x1b8)][_0x3ff98d(0x275)](d);this[_0x3ff98d(0x26f)]=!!(_0x305768&&_0x2298f6&&_0x7a8de4)&&(!_0x3dd259||(0x1===this[_0x3ff98d(0x2e8)]?_0x18f544<_0x7a8de4-0x1:_0x18f544>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4316c3,_0x24fbcf){const _0x30cb9b=_0x363a,_0x290bcb=_0x4316c3();while(!![]){try{const _0x3b7bed=-parseInt(_0x30cb9b(0x130))/0x1*(parseInt(_0x30cb9b(0x153))/0x2)+parseInt(_0x30cb9b(0x157))/0x3*(-parseInt(_0x30cb9b(0x15d))/0x4)+parseInt(_0x30cb9b(0x12b))/0x5*(parseInt(_0x30cb9b(0x14b))/0x6)+-parseInt(_0x30cb9b(0x13f))/0x7+-parseInt(_0x30cb9b(0x14a))/0x8*(parseInt(_0x30cb9b(0x137))/0x9)+-parseInt(_0x30cb9b(0x151))/0xa+-parseInt(_0x30cb9b(0x141))/0xb*(-parseInt(_0x30cb9b(0x15a))/0xc);if(_0x3b7bed===_0x24fbcf)break;else _0x290bcb['push'](_0x290bcb['shift']());}catch(_0x11a4eb){_0x290bcb['push'](_0x290bcb['shift']());}}}(_0x3c6f,0x57fd2));import{Collection as _0x388308}from'ckeditor5/src/utils.js';import{icons as _0x41fd59}from'ckeditor5/src/core.js';import{ViewModel as _0xcdb80b,addListToDropdown as _0xf058a0,createDropdown as _0xe49b3c}from'ckeditor5/src/ui.js';import{getTranslation as _0xde5376}from'../../utils/common-translations.js';function _0x363a(_0x8a6150,_0x5d9cac){const _0x3c6f85=_0x3c6f();return _0x363a=function(_0x363aec,_0x5e2f90){_0x363aec=_0x363aec-0x12b;let _0x11a44e=_0x3c6f85[_0x363aec];return _0x11a44e;},_0x363a(_0x8a6150,_0x5d9cac);}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x728d52,_0x11b919){const _0x3fc9b4=_0x363a,_0x4ab753=_0x728d52[_0x3fc9b4(0x140)],_0x17359a=_0x728d52[_0x3fc9b4(0x146)],_0x3fcc43=_0xe49b3c(_0x17359a);_0x3fcc43[_0x3fc9b4(0x158)]='sw';const _0x4e0174=function(_0x10e3cb,_0x145575){const _0x34a329=_0x3fc9b4,_0x5cb954=function(_0x2a38d0,_0x1070eb){const _0x3e496d=_0x363a,_0x4553a9=_0x2a38d0[_0x3e496d(0x146)],_0x46ec05={'Compare\x20against\x20selected':_0xde5376(_0x4553a9,_0x3e496d(0x15b)),'Name\x20this\x20revision':_0xde5376(_0x4553a9,_0x3e496d(0x138)),'Restore\x20this\x20revision':_0xde5376(_0x4553a9,_0x3e496d(0x147))};return _0x1070eb[_0x3e496d(0x154)](_0x43cdd4=>{const _0x3f5177=_0x3e496d,_0x2ce3d0=_0x46ec05[_0x43cdd4[_0x3f5177(0x156)]];return _0x2ce3d0&&_0x2ce3d0!==_0x43cdd4[_0x3f5177(0x156)]&&(_0x43cdd4[_0x3f5177(0x156)]=_0x2ce3d0),_0x43cdd4;});}(_0x10e3cb,_0x145575),_0x10b963=new _0x388308();for(const _0x26a089 of _0x5cb954){const _0xe73372={'type':_0x34a329(0x13b),'model':new _0xcdb80b({'label':_0x26a089[_0x34a329(0x156)],'class':_0x26a089[_0x34a329(0x15e)],'withText':!0x0,'role':_0x34a329(0x144),'_action':_0x26a089[_0x34a329(0x13d)]})};_0xe73372[_0x34a329(0x14f)][_0x34a329(0x152)](_0x34a329(0x133))['to'](_0x10e3cb,_0x34a329(0x15c),_0x51ed75=>_0x34a329(0x159)!=typeof _0x26a089[_0x34a329(0x133)]||(!_0x51ed75||_0x26a089[_0x34a329(0x133)](_0x10e3cb))),_0x10b963[_0x34a329(0x142)](_0xe73372);}return _0x10b963;}(_0x728d52,_0x11b919);return _0x728d52[_0x3fc9b4(0x152)](_0x3fc9b4(0x15c))['to'](_0x3fcc43,_0x3fc9b4(0x155)),_0x3fcc43[_0x3fc9b4(0x14e)][_0x3fc9b4(0x12c)]({'label':_0xde5376(_0x17359a,_0x3fc9b4(0x12e)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x41fd59[_0x3fc9b4(0x131)]}),_0x3fcc43[_0x3fc9b4(0x12d)]({'attributes':{'class':[_0x3fc9b4(0x149),_0x4ab753['if'](_0x3fc9b4(0x15c),_0x3fc9b4(0x13a))]},'on':{'click':_0x4ab753['to'](_0x1c5fd9=>_0x1c5fd9[_0x3fc9b4(0x136)]())}}),_0x3fcc43['on'](_0x3fc9b4(0x134),_0xfdc9b2=>{const _0xa75fdf=_0x3fc9b4;_0x728d52[_0xa75fdf(0x145)]&&_0xa75fdf(0x159)==typeof _0xfdc9b2[_0xa75fdf(0x13c)][_0xa75fdf(0x143)]&&_0xfdc9b2[_0xa75fdf(0x13c)][_0xa75fdf(0x143)](_0x728d52);}),_0xf058a0(_0x3fcc43,_0x4e0174,{'role':_0x3fc9b4(0x135)}),_0x3fcc43[_0x3fc9b4(0x150)](_0x728d52,_0x3fc9b4(0x148),(_0x32c0c2,_0xba619c,_0x5b6dab)=>{const _0x3d19e2=_0x3fc9b4;if(_0x5b6dab)for(const _0x1b1ecf of _0x3fcc43[_0x3d19e2(0x139)][_0x3d19e2(0x14c)]){const _0x1579ba=_0x1b1ecf[_0x3d19e2(0x132)][_0x3d19e2(0x12f)],_0x47f1ff=_0x11b919[_0x3d19e2(0x13e)](_0x639676=>_0x639676[_0x3d19e2(0x13d)]===_0x1579ba[_0x3d19e2(0x143)])[_0x3d19e2(0x14d)];_0x1b1ecf[_0x3d19e2(0x14d)]=void 0x0===_0x47f1ff||_0x47f1ff(_0x728d52);}}),_0x3fcc43;}function _0x3c6f(){const _0x256a05=['buttonView','model','listenTo','734790aokuVv','bind','2PhYOel','map','isOpen','name','252723ZIbDcS','panelPosition','function','81852GYTeMF','Compare\x20against\x20selected','isActionsDropdownOpen','12juygQR','class','34030HqNrrJ','set','extendTemplate','Show\x20more\x20items','first','419448OaqvOF','threeVerticalDots','children','isEnabled','execute','menu','stopPropagation','9nARvEL','Name\x20this\x20revision','listView','ck-on','button','source','action','find','2951991JXlnyc','bindTemplate','2354fqctlx','add','_action','menuitem','isReady','locale','Restore\x20this\x20revision','change:isActionsDropdownOpen','ck-revision-history-sidebar__revision__actions','4246856mkVdCF','528juoheR','items','isVisible'];_0x3c6f=function(){return _0x256a05;};return _0x3c6f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1700f6,_0xda8224){const _0x3a442d=_0x598e,_0x556eb6=_0x1700f6();while(!![]){try{const _0x3d67b8=-parseInt(_0x3a442d(0xf1))/0x1+-parseInt(_0x3a442d(0xf8))/0x2+parseInt(_0x3a442d(0xec))/0x3*(parseInt(_0x3a442d(0xfb))/0x4)+-parseInt(_0x3a442d(0xee))/0x5+parseInt(_0x3a442d(0xfa))/0x6*(-parseInt(_0x3a442d(0xeb))/0x7)+parseInt(_0x3a442d(0xf7))/0x8*(parseInt(_0x3a442d(0xfc))/0x9)+parseInt(_0x3a442d(0xf2))/0xa;if(_0x3d67b8===_0xda8224)break;else _0x556eb6['push'](_0x556eb6['shift']());}catch(_0x1e0329){_0x556eb6['push'](_0x556eb6['shift']());}}}(_0xb615,0x30807));function _0x598e(_0x58df45,_0x12b7df){const _0xb61520=_0xb615();return _0x598e=function(_0x598e0d,_0x1f5c0a){_0x598e0d=_0x598e0d-0xeb;let _0x11e40f=_0xb61520[_0x598e0d];return _0x11e40f;},_0x598e(_0x58df45,_0x12b7df);}function _0xb615(){const _0x2e3a77=['Revision\x20author','set','ck-revision-history-sidebar__revision-author','38464pplCfT','214004MTokGK','Revision\x20creator','480KjaLoV','27904iJRTiu','531uXQXnt','ck-revision-history-sidebar__revision-author_creator','0\x200\x2011\x2010','setTemplate','15337yTmaeU','39qZyIVp','name','1529275wnvTOH','ck-revision-history-sidebar__revision-author__name','push','311304XbZPIC','7237440XTzOPV','span'];_0xb615=function(){return _0x2e3a77;};return _0xb615();}import{View as _0x254471,IconView as _0x3bc388}from'ckeditor5/src/ui.js';import{getTranslation as _0x305c98}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0x409190 from'../../../theme/icons/user.svg';export default class ti extends _0x254471{constructor(_0x1fe0f4,_0x6533ad,_0x4a163e){const _0x171457=_0x598e;super(_0x1fe0f4);const _0x4cca58=new _0x3bc388();_0x4cca58[_0x171457(0xf5)]({'content':_0x409190,'viewBox':_0x171457(0xfe)});const _0x876d4d=['ck',_0x171457(0xf6)];_0x4a163e&&_0x876d4d[_0x171457(0xf0)](_0x171457(0xfd));const _0x559e73=[{'tag':_0x171457(0xf3),'attributes':{'class':['ck',_0x171457(0xef)],'title':_0x305c98(_0x1fe0f4,_0x4a163e?_0x171457(0xf9):_0x171457(0xf4))},'children':[_0x4cca58,_0x6533ad[_0x171457(0xed)]]}];this[_0x171457(0xff)]({'tag':'li','attributes':{'class':_0x876d4d},'children':_0x559e73});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3a88(){const _0xf3407a=['destroy','span','1722944uNESbW','bindTemplate','scrollWidth','placeholder','input','extendTemplate','render','_resizeObserver','_updateTooltipText','fieldView','608CGCwhK','26940RixSSJ','_tooltipString','42pTqepZ','Revision\x20name','ck-revision-history-sidebar__revision-name','6ZGfgzV','clientWidth','1816569JPmFlv','527npyfQh','430665zhleMr','Enter\x20the\x20revision\x20name','833950dEjCAu','value','166859qCBHty','listenTo','element','ck-tooltip_multi-line','set'];_0x3a88=function(){return _0xf3407a;};return _0x3a88();}const _0x482f89=_0x4db8;function _0x4db8(_0x4008e2,_0x26ca87){const _0x3a889e=_0x3a88();return _0x4db8=function(_0x4db82a,_0x41327b){_0x4db82a=_0x4db82a-0x115;let _0x3987be=_0x3a889e[_0x4db82a];return _0x3987be;},_0x4db8(_0x4008e2,_0x26ca87);}(function(_0x49d292,_0x12b8e9){const _0x3bf657=_0x4db8,_0x520528=_0x49d292();while(!![]){try{const _0x17bb56=-parseInt(_0x3bf657(0x131))/0x1*(parseInt(_0x3bf657(0x128))/0x2)+-parseInt(_0x3bf657(0x12b))/0x3*(-parseInt(_0x3bf657(0x129))/0x4)+parseInt(_0x3bf657(0x132))/0x5*(parseInt(_0x3bf657(0x12e))/0x6)+parseInt(_0x3bf657(0x117))/0x7+-parseInt(_0x3bf657(0x11e))/0x8+parseInt(_0x3bf657(0x130))/0x9+parseInt(_0x3bf657(0x115))/0xa;if(_0x17bb56===_0x12b8e9)break;else _0x520528['push'](_0x520528['shift']());}catch(_0x2f98cd){_0x520528['push'](_0x520528['shift']());}}}(_0x3a88,0x1bd00));import{LabeledFieldView as _0x57d16a}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x334dfd}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b273e}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class kt extends _0x57d16a{constructor(_0x5ece11,_0x3270b7){const _0x565344=_0x4db8;super(_0x5ece11,_0x3270b7),this[_0x565344(0x125)]=null;const _0x5871b4=this[_0x565344(0x11f)];this[_0x565344(0x11b)]({'label':_0x1b273e(_0x5ece11,_0x565344(0x12c)),'_tooltipString':''}),this[_0x565344(0x127)][_0x565344(0x121)]=_0x1b273e(_0x5ece11,_0x565344(0x133)),this[_0x565344(0x123)]({'tag':_0x565344(0x11d),'attributes':{'class':[_0x565344(0x12d)],'data-cke-tooltip-text':_0x5871b4['to'](_0x565344(0x12a)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x565344(0x11a)}});}[_0x482f89(0x124)](){const _0x653d5=_0x482f89;super[_0x653d5(0x124)](),this[_0x653d5(0x125)]=new _0x334dfd(this[_0x653d5(0x127)][_0x653d5(0x119)],()=>this[_0x653d5(0x126)]()),this[_0x653d5(0x118)](this[_0x653d5(0x127)],_0x653d5(0x122),()=>this[_0x653d5(0x126)]());}[_0x482f89(0x11c)](){const _0x1cf370=_0x482f89;super[_0x1cf370(0x11c)](),this[_0x1cf370(0x125)]&&this[_0x1cf370(0x125)][_0x1cf370(0x11c)]();}[_0x482f89(0x126)](){const _0x119f2d=_0x482f89,_0x473405=this[_0x119f2d(0x127)][_0x119f2d(0x119)];this[_0x119f2d(0x12a)]=_0x473405[_0x119f2d(0x120)]>_0x473405[_0x119f2d(0x12f)]&&_0x473405[_0x119f2d(0x116)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0xdc4c(_0x30659f,_0x526688){const _0x584534=_0x5845();return _0xdc4c=function(_0xdc4c38,_0x3e52eb){_0xdc4c38=_0xdc4c38-0x71;let _0x22baef=_0x584534[_0xdc4c38];return _0x22baef;},_0xdc4c(_0x30659f,_0x526688);}function _0x5845(){const _0x22f49b=['ck-revision-history-sidebar__revision__controls-wrapper','set','setTemplate','23447358pPzvSX','ck-reset','uiLanguage','filter','ck-disabled','closest','isSelected','isConfirm','1088312lqtvzL','_revision','createdAt','1471990DdTiwy','revisionActionsView','isReady','isActionsDropdownOpen','deselect','7kcGzcU','div','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','3040260zAkFRl','extendTemplate','setName','listenTo','change','37852imQcrT','ck-revision-history-sidebar__revision_selected','unhighlight','.ck-thread__remove-confirm','isEnabled','length','692425HVCdhQ','authors','select','_createdAtFormatted','1398987rTrUgf','render','_requireRevisionName','from','bind','220','ck-revision-history-sidebar__revision-authors','creator','10FDRcIY','unshift','335FAJPgY','element','highlight','fieldView','bindTemplate','isHighlighted','fire','ck-revision-history-sidebar__revision-wrapper','ck-revision-history-sidebar__revision','name','span','ck-revision-history-sidebar__revision__date','srcElement','map','ck-revision-history-sidebar__revision_highlighted','revisionNameView','value','ck-revision-history-sidebar__actions_dropdown_open'];_0x5845=function(){return _0x22f49b;};return _0x5845();}const _0x5ca014=_0xdc4c;(function(_0x311980,_0x3cd49a){const _0x1ef3e1=_0xdc4c,_0x2c5afa=_0x311980();while(!![]){try{const _0x22e7ae=parseInt(_0x1ef3e1(0x7d))/0x1+parseInt(_0x1ef3e1(0xab))/0x2+parseInt(_0x1ef3e1(0x81))/0x3+parseInt(_0x1ef3e1(0x77))/0x4*(parseInt(_0x1ef3e1(0x8b))/0x5)+parseInt(_0x1ef3e1(0x72))/0x6+parseInt(_0x1ef3e1(0xb0))/0x7*(parseInt(_0x1ef3e1(0xa8))/0x8)+-parseInt(_0x1ef3e1(0xa0))/0x9*(parseInt(_0x1ef3e1(0x89))/0xa);if(_0x22e7ae===_0x3cd49a)break;else _0x2c5afa['push'](_0x2c5afa['shift']());}catch(_0x24df64){_0x2c5afa['push'](_0x2c5afa['shift']());}}}(_0x5845,0x8a3f1));import{View as _0x33322a,createLabeledInputText as _0x5178dc}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x300883}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x697c85 from'./revisionnameview.js';import _0x5421c4 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x4da297}from'./utils.js';import{createActionsDropdownView as _0x42add4}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x300883(_0x33322a){constructor(_0x2ed579,_0x4183a9,_0x8e61b,_0x8b1a){const _0x3f462e=_0xdc4c;super(_0x2ed579);const _0x4ad602=this[_0x3f462e(0x8f)],_0x340362=function(_0x4dd9c7,_0x4d1bb4){const _0x3d0fb8=_0x3f462e,_0x323aca=Array[_0x3d0fb8(0x84)](_0x4d1bb4[_0x3d0fb8(0x7e)])[_0x3d0fb8(0xa3)](_0x45c114=>_0x45c114!=_0x4d1bb4[_0x3d0fb8(0x88)]);return _0x4d1bb4[_0x3d0fb8(0x88)]&&_0x323aca[_0x3d0fb8(0x8a)](_0x4d1bb4[_0x3d0fb8(0x88)]),_0x323aca[_0x3d0fb8(0x98)](_0x5a584d=>new _0x5421c4(_0x4dd9c7,_0x5a584d,_0x5a584d==_0x4d1bb4[_0x3d0fb8(0x88)]));}(_0x2ed579,_0x4183a9);this['id']=_0x4183a9['id'],this[_0x3f462e(0xa9)]=_0x4183a9,this[_0x3f462e(0x83)]=_0x8b1a,this[_0x3f462e(0x85)](_0x3f462e(0x94),_0x3f462e(0xaa))['to'](_0x4183a9),this[_0x3f462e(0x85)](_0x3f462e(0x80))['to'](this,_0x3f462e(0xaa),_0x143716=>_0x4da297(_0x2ed579[_0x3f462e(0xa2)],_0x143716)),this[_0x3f462e(0x9e)](_0x3f462e(0xa6),!0x1),this[_0x3f462e(0x9e)](_0x3f462e(0x90),!0x1),this[_0x3f462e(0x9e)](_0x3f462e(0xae),!0x1),this[_0x3f462e(0x9e)](_0x3f462e(0xad),!0x1),this[_0x3f462e(0x9e)](_0x3f462e(0x7b),!0x1),this[_0x3f462e(0x9a)]=new _0x697c85(_0x2ed579,_0x5178dc),this[_0x3f462e(0x9a)][_0x3f462e(0x8e)][_0x3f462e(0x73)]({'attributes':{'maxlength':_0x3f462e(0x86)}}),this[_0x3f462e(0x9a)][_0x3f462e(0x8e)][_0x3f462e(0x85)](_0x3f462e(0x9b))['to'](this,_0x3f462e(0x94),_0x52133a=>_0x52133a||this[_0x3f462e(0x80)]),this[_0x3f462e(0x9a)][_0x3f462e(0x85)](_0x3f462e(0x7b))['to'](this,_0x3f462e(0xa6),this,_0x3f462e(0x7b),(_0x474278,_0x1df240)=>_0x474278&&_0x1df240),this[_0x3f462e(0xac)]=_0x8e61b&&_0x8e61b[_0x3f462e(0x7c)]?_0x42add4(this,_0x8e61b):'',this[_0x3f462e(0xac)]&&this[_0x3f462e(0xac)][_0x3f462e(0x85)](_0x3f462e(0x7b))['to'](this),this[_0x3f462e(0x9f)]({'tag':_0x3f462e(0xb1),'attributes':{'class':['ck',_0x3f462e(0xa1),_0x3f462e(0x92),_0x4ad602['if'](_0x3f462e(0xa7),_0x3f462e(0x71))]},'children':[{'tag':_0x3f462e(0xb1),'attributes':{'class':['ck',_0x3f462e(0xa1),_0x3f462e(0x93),_0x4ad602['if'](_0x3f462e(0x7b),_0x3f462e(0xa4),_0x4de5ba=>!_0x4de5ba),_0x4ad602['if'](_0x3f462e(0xa6),_0x3f462e(0x78)),_0x4ad602['if'](_0x3f462e(0x90),_0x3f462e(0x99)),_0x4ad602['if'](_0x3f462e(0xae),_0x3f462e(0x9c))]},'children':[this[_0x3f462e(0x9a)],{'tag':_0x3f462e(0x95),'attributes':{'class':['ck',_0x3f462e(0x96)]},'children':[{'text':_0x4ad602['to'](_0x3f462e(0x80))}]},{'tag':_0x3f462e(0xb1),'attributes':{'class':['ck',_0x3f462e(0x9d)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x3f462e(0x87)]},'children':_0x340362}]},this[_0x3f462e(0xac)]],'on':{'click':_0x4ad602['to'](_0x53ae43=>{const _0x497cf9=_0x3f462e;_0x53ae43[_0x497cf9(0x97)][_0x497cf9(0xa5)](_0x497cf9(0x7a))||this[_0x497cf9(0xad)]&&this[_0x497cf9(0x7b)]&&this[_0x497cf9(0x91)](_0x497cf9(0x7f),{'id':this['id']});})}}]});}[_0x5ca014(0x82)](){const _0x17e869=_0x5ca014;super[_0x17e869(0x82)]();const _0x18752d=this[_0x17e869(0x9a)][_0x17e869(0x8e)][_0x17e869(0x8c)];this[_0x17e869(0x75)](_0x18752d,_0x17e869(0x76),()=>{const _0x45d5b0=_0x17e869;this[_0x45d5b0(0x83)]&&!_0x18752d[_0x45d5b0(0x9b)]||this[_0x45d5b0(0x91)](_0x45d5b0(0x74),{'id':this['id'],'name':_0x18752d[_0x45d5b0(0x9b)]}),_0x18752d[_0x45d5b0(0x9b)]||(_0x18752d[_0x45d5b0(0x9b)]=this[_0x45d5b0(0x94)]?this[_0x45d5b0(0x94)]:this[_0x45d5b0(0x80)]);});}[_0x5ca014(0x7f)](){const _0x34a1f2=_0x5ca014;this[_0x34a1f2(0xa6)]=!0x0;}[_0x5ca014(0xaf)](){const _0xca615c=_0x5ca014;this[_0xca615c(0xa6)]=!0x1;}[_0x5ca014(0x8d)](){const _0x49aa9c=_0x5ca014;this[_0x49aa9c(0x90)]=!0x0;}[_0x5ca014(0x79)](){const _0x502078=_0x5ca014;this[_0x502078(0x90)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a25f5=_0x3b9d;function _0x3e4d(){const _0x517fb4=['set','877848dVSvtQ','882565FXOvkz','bindTemplate','ck-revision-history-sidebar__subrevision-collapser__inner','ck-hidden','15oTDqJx','isVisible','true','_isCollapsed','6997664SCooih','ck-revision-history-sidebar__subrevision-collapser_collapsed','click','2OpAEPQ','3036918LHqSRA','14521309DrWtQU','false','26584680gtamVw','setTemplate','9iLDNar','10bwjJcu','33228YpKClE','toggle','button','span','1253XAQLWY','ck-revision-history-sidebar__subrevision-collapser'];_0x3e4d=function(){return _0x517fb4;};return _0x3e4d();}(function(_0x3b89d1,_0x1a4b64){const _0x4ed20c=_0x3b9d,_0x3943df=_0x3b89d1();while(!![]){try{const _0x508fe6=-parseInt(_0x4ed20c(0x118))/0x1*(parseInt(_0x4ed20c(0x123))/0x2)+-parseInt(_0x4ed20c(0x124))/0x3+parseInt(_0x4ed20c(0x117))/0x4*(-parseInt(_0x4ed20c(0x11c))/0x5)+parseInt(_0x4ed20c(0x110))/0x6*(-parseInt(_0x4ed20c(0x114))/0x7)+parseInt(_0x4ed20c(0x120))/0x8*(parseInt(_0x4ed20c(0x10e))/0x9)+parseInt(_0x4ed20c(0x10f))/0xa*(parseInt(_0x4ed20c(0x125))/0xb)+parseInt(_0x4ed20c(0x127))/0xc;if(_0x508fe6===_0x1a4b64)break;else _0x3943df['push'](_0x3943df['shift']());}catch(_0xaf8f17){_0x3943df['push'](_0x3943df['shift']());}}}(_0x3e4d,0xd357a));import{View as _0x73acf1}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0x3b9d(_0xd48d48,_0x269fb7){const _0x3e4d56=_0x3e4d();return _0x3b9d=function(_0x3b9d4b,_0x4da7cc){_0x3b9d4b=_0x3b9d4b-0x10d;let _0x49cb67=_0x3e4d56[_0x3b9d4b];return _0x49cb67;},_0x3b9d(_0xd48d48,_0x269fb7);}export default class ss extends _0x73acf1{constructor(_0x5216ed){const _0x1fea8d=_0x3b9d;super(_0x5216ed);const _0x458f41=this[_0x1fea8d(0x119)];this[_0x1fea8d(0x116)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x1fea8d(0x10d)]({'tag':_0x1fea8d(0x113),'attributes':{'class':['ck',_0x1fea8d(0x115),_0x458f41['if'](_0x1fea8d(0x11d),_0x1fea8d(0x11b),_0x27b2ac=>!_0x27b2ac),_0x458f41['if'](_0x1fea8d(0x11f),_0x1fea8d(0x121))],'role':_0x1fea8d(0x112),'aria-pressed':_0x458f41['to'](_0x1fea8d(0x11f),_0x4c9a14=>_0x4c9a14?_0x1fea8d(0x126):_0x1fea8d(0x11e))},'children':[{'tag':_0x1fea8d(0x113),'attributes':{'class':['ck',_0x1fea8d(0x11a)]}}],'on':{'click':_0x458f41['to'](_0x1fea8d(0x122))}});}[_0x1a25f5(0x111)](){const _0x3cf36e=_0x1a25f5;this[_0x3cf36e(0x11f)]=!this[_0x3cf36e(0x11f)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xd5cbf=_0x90cf;(function(_0x5ba50f,_0x20df3a){const _0x499dba=_0x90cf,_0x39fe95=_0x5ba50f();while(!![]){try{const _0x322c79=-parseInt(_0x499dba(0x9c))/0x1+-parseInt(_0x499dba(0x9b))/0x2+parseInt(_0x499dba(0xa1))/0x3+parseInt(_0x499dba(0x9f))/0x4+parseInt(_0x499dba(0x96))/0x5+-parseInt(_0x499dba(0x92))/0x6+-parseInt(_0x499dba(0xa7))/0x7*(-parseInt(_0x499dba(0x91))/0x8);if(_0x322c79===_0x20df3a)break;else _0x39fe95['push'](_0x39fe95['shift']());}catch(_0x4562b0){_0x39fe95['push'](_0x39fe95['shift']());}}}(_0x54bb,0x2177a));import{View as _0x44210b}from'ckeditor5/src/ui.js';import _0x248318 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x1c3e86}from'./utils.js';function _0x90cf(_0x1319f8,_0x235fb4){const _0x54bbf6=_0x54bb();return _0x90cf=function(_0x90cfbd,_0x2b213f){_0x90cfbd=_0x90cfbd-0x8b;let _0x104add=_0x54bbf6[_0x90cfbd];return _0x104add;},_0x90cf(_0x1319f8,_0x235fb4);}import'../../../theme/revision/subrevision.css';export default class is extends _0x44210b{constructor(_0x554beb,_0x13cbfc,_0x43dd26){const _0x2774c1=_0x90cf;super(_0x554beb);const _0x4a04b1=this[_0x2774c1(0x8f)];this['id']=_0x13cbfc['id'],this[_0x2774c1(0x94)](_0x2774c1(0x8b))['to'](_0x13cbfc),this[_0x2774c1(0xa3)](_0x2774c1(0x90),!0x1),this[_0x2774c1(0x94)](_0x2774c1(0xa2))['to'](this,_0x2774c1(0x8b),_0x150955=>_0x150955?_0x1c3e86(_0x554beb[_0x2774c1(0x97)],_0x150955):void 0x0),this[_0x2774c1(0xa4)]=_0x43dd26,this[_0x2774c1(0x98)]({'tag':_0x2774c1(0xa5),'attributes':{'class':['ck',_0x2774c1(0x9a),_0x2774c1(0xa6),_0x2774c1(0x99),_0x4a04b1['if'](_0x2774c1(0x90),_0x2774c1(0x9e))]},'children':[{'tag':_0x2774c1(0x8e),'attributes':{'class':['ck',_0x2774c1(0x8c)]},'children':[{'text':_0x4a04b1['to'](_0x2774c1(0xa2))}]},{'tag':'ul','attributes':{'class':['ck',_0x2774c1(0x93)]},'children':[new _0x248318(_0x554beb,_0x13cbfc[_0x2774c1(0xa0)],!0x0)]}],'on':{'click':_0x4a04b1['to'](this[_0x2774c1(0x9d)][_0x2774c1(0x94)](this))}});}[_0xd5cbf(0x9d)](){const _0x5236ea=_0xd5cbf;this[_0x5236ea(0x90)]=!0x0,this[_0x5236ea(0x95)](_0x5236ea(0x9d),{'parentId':this[_0x5236ea(0xa4)]});}[_0xd5cbf(0x8d)](){const _0x112800=_0xd5cbf;this[_0x112800(0x90)]=!0x1;}}function _0x54bb(){const _0x52539e=['set','_parentRevisionId','div','ck-revision-history-sidebar__revision','3479uXHNIK','createdAt','ck-revision-history-sidebar__revision__date','deselect','span','bindTemplate','isSelected','3288EjOyVm','1160388iHDIYw','ck-revision-history-sidebar__revision-authors','bind','fire','864485SKACKb','uiLanguage','setTemplate','ck-revision-history-sidebar__subrevision','ck-reset','540666zdmpYc','38792oDQIRw','select','ck-revision-history-sidebar__revision_selected','804988nIfThH','creator','183582eoNZeR','_createdAtFormatted'];_0x54bb=function(){return _0x52539e;};return _0x54bb();}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x339901,_0x1c40ed){var _0x16cae3=_0x3741,_0x1a7422=_0x339901();while(!![]){try{var _0x108ccd=-parseInt(_0x16cae3(0xc2))/0x1+-parseInt(_0x16cae3(0xc9))/0x2+-parseInt(_0x16cae3(0xc3))/0x3+-parseInt(_0x16cae3(0xca))/0x4*(-parseInt(_0x16cae3(0xc8))/0x5)+-parseInt(_0x16cae3(0xc5))/0x6*(-parseInt(_0x16cae3(0xc0))/0x7)+parseInt(_0x16cae3(0xc4))/0x8+-parseInt(_0x16cae3(0xcc))/0x9;if(_0x108ccd===_0x1c40ed)break;else _0x1a7422['push'](_0x1a7422['shift']());}catch(_0x385463){_0x1a7422['push'](_0x1a7422['shift']());}}}(_0x2142,0xe273f));export function dateToPrettyFormat(_0x39975f,_0xa1d76b){var _0x28449d=_0x3741;return _0xa1d76b[_0x28449d(0xc1)](_0x39975f,{'month':_0x28449d(0xc6),'day':_0x28449d(0xc7)})+',\x20'+_0xa1d76b[_0x28449d(0xcb)](_0x39975f,{'hour':_0x28449d(0xc7),'minute':_0x28449d(0xc7)});}function _0x3741(_0x7b64d5,_0x25a549){var _0x21428b=_0x2142();return _0x3741=function(_0x37412e,_0x8ae65b){_0x37412e=_0x37412e-0xc0;var _0x40d44e=_0x21428b[_0x37412e];return _0x40d44e;},_0x3741(_0x7b64d5,_0x25a549);}function _0x2142(){var _0x4538c8=['2531240tYqJki','4xrnQoc','toLocaleTimeString','512280FfrkoV','14HosEaO','toLocaleDateString','541254wkIeiD','1529139pvSyZh','14498216BDrIQf','4416504zOaLLk','long','numeric','83065EDnUPd'];_0x2142=function(){return _0x4538c8;};return _0x2142();}
|