@ckeditor/ckeditor5-revision-history 42.0.0-alpha.8 → 42.0.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/build/translations/fa.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/zh-cn.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/lang/translations/fa.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/zh-cn.po +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 _0x566aeb=_0xe7b1;(function(_0x3ecd3c,_0x264f2c){const _0x25720a=_0xe7b1,_0x5c2182=_0x3ecd3c();while(!![]){try{const _0x11bbc2=parseInt(_0x25720a(0x18c))/0x1+parseInt(_0x25720a(0x13f))/0x2+-parseInt(_0x25720a(0x110))/0x3+parseInt(_0x25720a(0x1ed))/0x4*(parseInt(_0x25720a(0x1d8))/0x5)+-parseInt(_0x25720a(0x205))/0x6+-parseInt(_0x25720a(0x107))/0x7*(parseInt(_0x25720a(0x187))/0x8)+parseInt(_0x25720a(0xf8))/0x9*(parseInt(_0x25720a(0x1be))/0xa);if(_0x11bbc2===_0x264f2c)break;else _0x5c2182['push'](_0x5c2182['shift']());}catch(_0x3d097d){_0x5c2182['push'](_0x5c2182['shift']());}}}(_0x4fcd,0x8fecc));import{Plugin as _0x3b9621,Command as _0x562380}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x59237d}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x2c2537}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x546450,Element as _0x8e5221,Text as _0x13e808,ViewDocumentFragment as _0xecfaf4,ViewText as _0x4fc831,ViewElement as _0x54c482,ViewContainerElement as _0x5f53c5,ViewAttributeElement as _0x1328aa,ViewEmptyElement as _0x2b3dad,ViewRawElement as _0x1b1a9e,ViewUIElement as _0x433f2e}from'ckeditor5/src/engine.js';import{Users as _0x3a265e,getMarkerDomElement as _0x56d6a0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5e9069 from'./ui/revisionviewer/changedetailsview.js';import _0x12bfe9 from'./revisionsrepository.js';import _0xedcd35 from'./changeitem.js';import{default as _0x33e26d}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x164795}from'lodash-es';function _0x4fcd(){const _0x1d7ed7=['restoreRevisionCallback','removeClass','collaboration.channelId','activeView','_markInsertions','revision-suggestion:','createRange','_processTape','addMarker:revision','merge','change:activeView','elementStart','revisionHistoryLabel','ck-suggestion-marker-merge','offsetSize','getItems','unshift','adapter','top','removeMarker:revision','2473465AKNMXk','observeMarkers','enqueueChange','backward','revision-suggestion','compare','addMarker:revision-suggestion:deletion','attachChange','updatePosition','isSuggestion','change:activeChange','revision-comment:','commands','isEqual','execute','pairId','elementToAttribute','markerRange','forEach','pop','markers','4dKQpbe','index','isLimit','data-change-id','dataDowncast','ck-suggestion-preview-marker-','mousedown','removeAttribute','highest','roots','isAtEnd','toViewRange','ck-suggestion-marker--active','downcastDispatcher','POSITIVE_INFINITY','isContent','error','showNextChange','forward','done','viewItem','concat','bind','addClass','5036148JyOSMP','low','_activeViewTarget','revision:','all','isObject','_changeView','change:isEnabled','getCustomProperty','object','oldRevisionId','getRevisionData','ck-revision-history-root--active','_makeModelFromTape','markerNameToElements','_getDiff','return','findIndex','processor','nodeAfter','values','_getViewObj','isBlock','getChild','remove','next','change','toModel','getWalker','removeMarker:revision-suggestion','_markMarkers','attributes','bottom','set','ck-editor__editable__overlay','stop','isIncorrect','then','getAttribute','addMarker:revision-suggestion:insertion','startsWith','includes','isReady','isRemoved','pluginName','checkAttribute','hasClass','isRemoveSuggestion','nextPosition','delete','insertion','createUIElement','changeId','_appendChild','getRevision','suggestion','enableReadOnlyMode','distance','deletion','numberOfChanges','init','revisionHistory','filter','children','markersEnd','isEnabled','4248603EJjRmi','toViewPosition','left','conversion','loadRevisionData','isAfter','markerToData','useFillerType','getDomRoot','maxOffset','flat','push','data-revision-','type','string','7FBlHhU','_step','start','_makeTape','getRoot','detachRoot','editor','toData','diffData','533865jKXkUo','_data','deletions','_cleanMarkers','has','domConverter','rootName','comment','createAttributeElement','indexOf','text','splice','ck-revision-history-root-remove','markerName','config','hasAttribute','userId','revision','vid_start','createPositionFromPath','_removeUnsupportedChanges','domEvent','createRangeIn','revisionHistoryAttachChange','_joinTapes','end','test','model','sort','insertions','document','split','_setConversion','createPositionBefore','ck-suggestion-marker-','isAtStart','authors','upcast','get','insert','_markSuggestions','reconvertMarker','_makeModelFromViewString','softBreak','_fixObsoleteTags','consume','bindElementToMarker','1881598JXnZzj','setAttribute','shift','_setChanges','RevisionsRepository','_update','high','dataToMarker','currentChangeNumber','addRevisionData','parent','_removeMissingPairs','keys','affectsData','isNavigationMode','_sortAndFilterDiffChanges','nextSibling','ck-revision-history-root-','editing','_getRevisionsRange','element:pre','addRoot','isAdded','diff','newRevisionId','getRevisionRootsAttributes','code','_removeRevisionMarkers','modelRange','parse','marked','_changeIdToChange','markerToHighlight','attributesAfter','ck-suggestion-marker','name','clear','right','revision-end','_getChangeFromId','startIndex','writer','element','ck-revision-history-root-add','WidgetToolbarRepository','_initInteractions','attribute:vid','catch','refresh','suggestion:','level','endIndex','destroy','isInline','vid','_refreshStartEndIndex','isBefore','locale','activeChange','item','isAddSuggestion','attributesBefore','repository','createRevision','toViewElement','isCollapsed','markersStart','_markMismatchedRemovedTags','editingDowncast','map','requires','span','7260920weeFAl','add','addRevision','restoreRevision','mapViewToDom','606885SFzFvK','range','slice','forceDisabled','target','revision-viewer','resolve','mouseover','revision-start','data','_getViewForChange','schema','from','side','uiElement','isAttached','isOnRoot','_balloon','getIndex','view','change:numberOfChanges','RevisionViewer','length','change:isReady','selection','changes','plugins','abs','addHighlight','for','find','removeMarker','elementEnd','first','getRootNames','_findChangeIdFromDomTarget','ck-suggestion-preview-marker','unbindElementFromMarkerName','ck-suggestion-marker-split','consumable','listenTo','previousPosition','_setDistance','mapper','_revisions','_cleanUp','-new','getAttributes','default','vid_end','10ftdGvp','showPreviousChange','wrap','_threeWayMerge','showStack','getClientRects'];_0x4fcd=function(){return _0x1d7ed7;};return _0x4fcd();}const tt={'c':_0x5f53c5,'a':_0x1328aa,'e':_0x2b3dad,'r':_0x1b1a9e,'u':_0x433f2e};function _0xe7b1(_0x27a63c,_0x3204a0){const _0x4fcd52=_0x4fcd();return _0xe7b1=function(_0xe7b1e0,_0x512f08){_0xe7b1e0=_0xe7b1e0-0xe3;let _0x53764b=_0x4fcd52[_0xe7b1e0];return _0x53764b;},_0xe7b1(_0x27a63c,_0x3204a0);}export default class d extends _0x3b9621{static get[_0x566aeb(0x231)](){const _0x15edd3=_0x566aeb;return _0x15edd3(0x1a1);}static get[_0x566aeb(0x185)](){return[_0x3a265e,_0x2c2537,_0x12bfe9];}constructor(_0x465ae3){const _0x5125e4=_0x566aeb;super(_0x465ae3),this[_0x5125e4(0x17d)]=this[_0x5125e4(0x10d)][_0x5125e4(0x1a6)][_0x5125e4(0x136)](_0x5125e4(0x143)),this[_0x5125e4(0x226)](_0x5125e4(0x179),null),this[_0x5125e4(0x226)](_0x5125e4(0x1c7),null),this[_0x5125e4(0x207)]=null,this[_0x5125e4(0x226)](_0x5125e4(0x156),null),this[_0x5125e4(0x226)](_0x5125e4(0x22f),!0x1),this[_0x5125e4(0x226)](_0x5125e4(0xf7),!0x0),this['on'](_0x5125e4(0x20c),(_0x15e5aa,_0x126b32,_0x1cdfa9)=>{const _0x5900b5=_0x5125e4;this[_0x5900b5(0x179)]=null,this[_0x5900b5(0x1c7)]=null,this[_0x5900b5(0x10d)][_0x5900b5(0x151)][_0x5900b5(0x19f)][_0x5900b5(0x21f)](_0x1ae34a=>{const _0x15e234=_0x5900b5;for(const _0x1741e3 of this[_0x15e234(0x10d)][_0x15e234(0x151)][_0x15e234(0x19f)][_0x15e234(0x12e)][_0x15e234(0x1f6)])_0x1cdfa9?_0x1ae34a[_0x15e234(0x1c5)](_0x15e234(0x227),_0x1741e3):_0x1ae34a[_0x15e234(0x204)](_0x15e234(0x227),_0x1741e3);});}),this[_0x5125e4(0x203)](_0x5125e4(0x14d))['to'](this,_0x5125e4(0x179),_0x594cf2=>null!==_0x594cf2),this[_0x5125e4(0x203)](_0x5125e4(0x147))['to'](this,_0x5125e4(0x22f),this,_0x5125e4(0x156),this,_0x5125e4(0x179),(_0x1f6d85,_0x2dfa3d,_0x59db10)=>_0x1f6d85&&_0x59db10?_0x2dfa3d[_0x5125e4(0x1a5)][_0x5125e4(0x19e)](_0x59db10):0x0),this[_0x5125e4(0x203)](_0x5125e4(0xf1))['to'](this,_0x5125e4(0x22f),this,_0x5125e4(0x156),(_0x20ffd7,_0x2b5a0f)=>_0x20ffd7?_0x2b5a0f[_0x5125e4(0x1a5)][_0x5125e4(0x1a2)]:0x0),this[_0x5125e4(0x20b)]=null,this[_0x5125e4(0x15e)]=new Map(),this[_0x5125e4(0x1d5)]=null,this[_0x5125e4(0x19d)]=this[_0x5125e4(0x10d)][_0x5125e4(0x1a6)][_0x5125e4(0x136)](_0x2c2537);}[_0x566aeb(0xf2)](){const _0x504bfa=_0x566aeb,_0x1eab8e=this[_0x504bfa(0x10d)],_0xad4919=new ShowChangeCommand(_0x1eab8e,{'direction':_0x504bfa(0x1db)}),_0x5cbfe5=new ShowChangeCommand(_0x1eab8e,{'direction':_0x504bfa(0x1ff)});(_0x1eab8e[_0x504bfa(0x1e4)][_0x504bfa(0x188)](_0x504bfa(0x1bf),_0xad4919),_0x1eab8e[_0x504bfa(0x1e4)][_0x504bfa(0x188)](_0x504bfa(0x1fe),_0x5cbfe5),_0x1eab8e[_0x504bfa(0x1e4)][_0x504bfa(0x188)](_0x504bfa(0x18a),new RestoreRevisionCommand(_0x1eab8e)),this['on'](_0x504bfa(0x1a0),()=>{const _0xbd870c=_0x504bfa;_0xad4919[_0xbd870c(0x16f)](),_0x5cbfe5[_0xbd870c(0x16f)]();}),this[_0x504bfa(0x130)](),this[_0x504bfa(0x16c)](),_0x1eab8e[_0x504bfa(0xee)](_0x504bfa(0x191)),_0x1eab8e[_0x504bfa(0x1a6)][_0x504bfa(0x114)](_0x504bfa(0x16b)))&&_0x1eab8e[_0x504bfa(0x1a6)][_0x504bfa(0x136)](_0x504bfa(0x16b))[_0x504bfa(0x18f)](_0x504bfa(0x191));}async[_0x566aeb(0x210)](_0x534013){const _0x5ca78c=_0x566aeb;await this[_0x5ca78c(0xfc)](_0x534013);const _0xcc2823={};for(const _0x570a90 in _0x534013[_0x5ca78c(0x10f)]){if(_0x534013[_0x5ca78c(0x10f)][_0x570a90][_0x5ca78c(0x1df)]&&!_0x534013[_0x5ca78c(0x10f)][_0x570a90][_0x5ca78c(0x1df)][_0x5ca78c(0x19b)])continue;const _0x4203a9=this[_0x5ca78c(0x15a)](JSON[_0x5ca78c(0x15c)](_0x534013[_0x5ca78c(0x10f)][_0x570a90][_0x5ca78c(0x12d)])),_0x31ffd8=this[_0x5ca78c(0x10d)][_0x5ca78c(0x151)][_0x5ca78c(0x19f)][_0x5ca78c(0x12e)],_0xb42d13=new _0xecfaf4(_0x31ffd8,_0x4203a9[_0x5ca78c(0x184)](_0x3ecb8a=>this[_0x5ca78c(0x21a)](_0x3ecb8a)));this[_0x5ca78c(0x10d)][_0x5ca78c(0x195)][_0x5ca78c(0x217)][_0x5ca78c(0xff)](_0x5ca78c(0x15d)),_0xcc2823[_0x570a90]=this[_0x5ca78c(0x10d)][_0x5ca78c(0x195)][_0x5ca78c(0x217)][_0x5ca78c(0x10e)](_0xb42d13),this[_0x5ca78c(0x10d)][_0x5ca78c(0x195)][_0x5ca78c(0x217)][_0x5ca78c(0xff)](_0x5ca78c(0x1bc));}return _0xcc2823;}async[_0x566aeb(0x158)](_0x1ac643){const _0x112519=_0x566aeb;await this[_0x112519(0xfc)](_0x1ac643);const _0x2de54c={};for(const _0x43e55b in _0x1ac643[_0x112519(0x10f)])_0x1ac643[_0x112519(0x10f)][_0x43e55b][_0x112519(0x1df)]&&!_0x1ac643[_0x112519(0x10f)][_0x43e55b][_0x112519(0x1df)][_0x112519(0x19b)]||(_0x2de54c[_0x43e55b]=_0x1ac643[_0x112519(0x10f)][_0x43e55b][_0x112519(0x160)]||{});return _0x2de54c;}[_0x566aeb(0x15a)](_0x407c63){const _0x196155=_0x566aeb;return(_0x407c63=_0x407c63[_0x196155(0xf4)](_0x354f4b=>!_0x354f4b[_0x196155(0x162)]||_0x196155(0x194)!==_0x354f4b[_0x196155(0x162)]&&_0x196155(0x165)!==_0x354f4b[_0x196155(0x162)]))[_0x196155(0x1ea)](_0x5d51e8=>{const _0x35feb4=_0x196155;_0x35feb4(0x106)!=typeof _0x5d51e8&&(_0x5d51e8[_0x35feb4(0xf5)]=this[_0x35feb4(0x15a)](_0x5d51e8[_0x35feb4(0xf5)]),_0x5d51e8[_0x35feb4(0x224)]=_0x5d51e8[_0x35feb4(0x224)][_0x35feb4(0xf4)](_0x26412b=>!_0x26412b[0x0][_0x35feb4(0x22d)](_0x35feb4(0x104))));}),_0x407c63;}async[_0x566aeb(0x1dd)](_0x11718f,_0x4e0411,_0x5debf0=!0x1){const _0x5a9f60=_0x566aeb;if(!this[_0x5a9f60(0xf7)])return;const _0x51b3eb=this[_0x5a9f60(0x156)],_0x1d9c69=this[_0x5a9f60(0x17d)],_0x3d2f16=_0x5a9f60(0x106)==typeof _0x11718f?_0x1d9c69[_0x5a9f60(0xec)](_0x11718f):_0x11718f,_0x483c7b=_0x5a9f60(0x106)==typeof _0x4e0411?_0x1d9c69[_0x5a9f60(0xec)](_0x4e0411):_0x4e0411,_0x2ce669=_0x3d2f16['id'],_0x332cb8=_0x483c7b?_0x483c7b['id']:null;if(!_0x5debf0&&this[_0x5a9f60(0x156)]&&this[_0x5a9f60(0x156)][_0x5a9f60(0x157)]===_0x2ce669&&this[_0x5a9f60(0x156)][_0x5a9f60(0x20f)]===_0x332cb8)return Promise[_0x5a9f60(0x192)]();this[_0x5a9f60(0x22f)]=!0x1,this[_0x5a9f60(0x1c7)]=null,this[_0x5a9f60(0x179)]=null,this[_0x5a9f60(0x156)]=new _0x33e26d(_0x2ce669,_0x332cb8);const _0x5b529d=this[_0x5a9f60(0x152)](_0x3d2f16,_0x483c7b,!0x0)[_0x5a9f60(0x184)](_0x591444=>this[_0x5a9f60(0xfc)](_0x591444));return _0x5b529d[_0x5a9f60(0x103)](new Promise(_0x499f43=>{setTimeout(_0x499f43,0x14);})),Promise[_0x5a9f60(0x209)](_0x5b529d)[_0x5a9f60(0x22a)](()=>{const _0x465395=_0x5a9f60;if(!this[_0x465395(0xf7)])return;this[_0x465395(0x1b9)]();const _0x2f4ad3=this[_0x465395(0x214)](_0x2ce669,_0x332cb8);for(const _0x436e64 of _0x2f4ad3[_0x465395(0x1a5)])this[_0x465395(0x15e)][_0x465395(0x226)](_0x436e64['id'],_0x436e64);this[_0x465395(0x10d)][_0x465395(0x12b)][_0x465395(0x1da)]({'isUndoable':!0x1},_0x4427d9=>{const _0x29d971=_0x465395;for(const _0x22f28b of this[_0x29d971(0x10d)][_0x29d971(0x12b)][_0x29d971(0x12e)][_0x29d971(0x1ae)]())_0x4427d9[_0x29d971(0x10c)](_0x22f28b);for(const _0x5dae20 of Object[_0x29d971(0x14b)](_0x2f4ad3[_0x29d971(0x12b)])){const _0x58368d=_0x4427d9[_0x29d971(0x154)](_0x5dae20);for(const _0x3ef198 of Object[_0x29d971(0x14b)](_0x2f4ad3[_0x29d971(0x224)][_0x5dae20]))_0x4427d9[_0x29d971(0x140)](_0x3ef198,_0x2f4ad3[_0x29d971(0x224)][_0x5dae20][_0x3ef198],_0x58368d);_0x4427d9[_0x29d971(0x137)](_0x2f4ad3[_0x29d971(0x12b)][_0x5dae20],_0x58368d,0x0);}}),this[_0x465395(0x156)][_0x465395(0x142)](this[_0x465395(0x14e)](_0x2f4ad3[_0x465395(0x1a5)])),this[_0x465395(0x22f)]=!0x0;})[_0x5a9f60(0x16e)](_0xf4a66c=>{const _0x719771=_0x5a9f60;console[_0x719771(0x1fd)](_0xf4a66c),this[_0x719771(0x1b9)](),_0x51b3eb&&(this[_0x719771(0x156)]=_0x51b3eb),this[_0x719771(0x22f)]=!0x0;});}[_0x566aeb(0x148)](_0x3f752b,_0x277f57){const _0xcee72=_0x566aeb,_0xbcaa81=this[_0xcee72(0x17d)][_0xcee72(0x17e)](_0x3f752b);return _0xbcaa81['on'](_0xcee72(0x144),(_0x4c3d1f,_0x219f14,_0x563590)=>_0x277f57(_0x219f14,_0x563590,_0xbcaa81)),this[_0xcee72(0x17d)][_0xcee72(0x189)](_0xbcaa81),_0xbcaa81;}[_0x566aeb(0xfc)](_0xf89328){const _0xc960bc=_0x566aeb;if(!_0xf89328||_0xf89328[_0xc960bc(0x10f)])return Promise[_0xc960bc(0x192)]();{const _0x3c9988=this[_0xc960bc(0x10d)][_0xc960bc(0x11e)][_0xc960bc(0x136)](_0xc960bc(0x1c6));return this[_0xc960bc(0x1d5)][_0xc960bc(0xec)]({'channelId':_0x3c9988,'revisionId':_0xf89328['id']})[_0xc960bc(0x22a)](_0x1f20e0=>{const _0x4346a8=_0xc960bc;_0xf89328[_0x4346a8(0x144)]({'diffData':_0x1f20e0[_0x4346a8(0x10f)]},!0x0);});}}[_0x566aeb(0x1b9)](){const _0x507572=_0x566aeb;this[_0x507572(0x179)]=null,this[_0x507572(0x113)](),this[_0x507572(0x20b)]&&this[_0x507572(0x20b)][_0x507572(0x173)](),this[_0x507572(0x20b)]=null,this[_0x507572(0x15e)][_0x507572(0x163)](),this[_0x507572(0x10d)][_0x507572(0x12b)][_0x507572(0x1da)]({'isUndoable':!0x1},_0x3e2755=>{const _0x4f9484=_0x507572;for(const _0x5828e2 of this[_0x4f9484(0x10d)][_0x4f9484(0x12b)][_0x4f9484(0x12e)][_0x4f9484(0x1ae)]())_0x3e2755[_0x4f9484(0x10c)](_0x5828e2);});}[_0x566aeb(0x14e)](_0x3cbdc5){const _0x537e08=_0x566aeb,_0x1047db=[],_0x57f03a=new Map();for(const _0x414411 of this[_0x537e08(0x10d)][_0x537e08(0x12b)][_0x537e08(0x12e)][_0x537e08(0x1ae)]()){const _0x345a3d=this[_0x537e08(0x10d)][_0x537e08(0x151)][_0x537e08(0x19f)][_0x537e08(0x100)](_0x414411);if(!_0x345a3d)continue;const _0x2709de=_0x345a3d[_0x537e08(0x1c3)]()[_0x537e08(0x17a)](0x0);_0x2709de&&(_0x1047db[_0x537e08(0x103)](_0x414411),_0x57f03a[_0x537e08(0x226)](_0x414411,_0x2709de));}return _0x1047db[_0x537e08(0x12c)]((_0x2d586d,_0x135aec)=>{const _0x284ba8=_0x537e08,_0x12ed03=_0x57f03a[_0x284ba8(0x136)](_0x2d586d),_0x5241fc=_0x57f03a[_0x284ba8(0x136)](_0x135aec);return _0x12ed03['y']-_0x5241fc['y']||_0x12ed03['x']-_0x5241fc['x'];}),(_0x3cbdc5=_0x3cbdc5[_0x537e08(0xf4)](_0x483add=>_0x1047db[_0x537e08(0x22e)](_0x483add[_0x537e08(0x116)])))[_0x537e08(0x12c)]((_0x2fa65b,_0x5aa984)=>_0x1047db[_0x537e08(0x119)](_0x2fa65b[_0x537e08(0x116)])-_0x1047db[_0x537e08(0x119)](_0x5aa984[_0x537e08(0x116)])),_0x3cbdc5;}[_0x566aeb(0x10a)](_0x1dd6c8){const _0x5a68ed=_0x566aeb,_0x329da9=Array[_0x5a68ed(0x198)](_0x1dd6c8[_0x5a68ed(0x1ec)])[_0x5a68ed(0xf4)](([_0x502d31,_0x3c48ee])=>_0x502d31[_0x5a68ed(0x22d)](_0x5a68ed(0x208))&&!_0x3c48ee[_0x5a68ed(0x180)]),_0x2e80c3=Array[_0x5a68ed(0x198)](this[_0x5a68ed(0x10d)][_0x5a68ed(0x12b)][_0x5a68ed(0x126)](_0x1dd6c8)[_0x5a68ed(0x221)]({'singleCharacters':!0x0}));if(0x0!=_0x329da9[_0x5a68ed(0x1a2)])for(const _0x4cee7f of _0x2e80c3){const [_0x18faec,_0x544b0e]=_0x329da9[0x0],[,_0x39726b,_0x1c9ccf]=_0x18faec[_0x5a68ed(0x12f)](':');if(_0x544b0e[_0x5a68ed(0x129)][_0x5a68ed(0x1e5)](_0x4cee7f[_0x5a68ed(0xe6)])&&_0x329da9[_0x5a68ed(0x141)](),(_0x4cee7f[_0x5a68ed(0x1b5)][_0x5a68ed(0x1e5)](_0x544b0e[_0x5a68ed(0x109)])||_0x4cee7f[_0x5a68ed(0x1b5)][_0x5a68ed(0xfd)](_0x544b0e[_0x5a68ed(0x109)]))&&(_0x5a68ed(0xe8)==_0x39726b?_0x4cee7f[_0x5a68ed(0x155)]={'userId':_0x1c9ccf}:_0x5a68ed(0xf0)==_0x39726b&&(_0x4cee7f[_0x5a68ed(0x230)]={'userId':_0x1c9ccf})),0x0==_0x329da9[_0x5a68ed(0x1a2)])break;}return _0x2e80c3;}[_0x566aeb(0x176)](_0x453587){const _0x3c3709=_0x566aeb,_0x354260=new Map();for(let _0x43c728=0x0;_0x43c728<_0x453587[_0x3c3709(0x1a2)];_0x43c728++)_0x3c3709(0x11a)===_0x453587[_0x43c728][_0x3c3709(0x105)]?(_0x453587[_0x43c728][_0x3c3709(0x17a)][_0x3c3709(0x167)]=_0x43c728,_0x453587[_0x43c728][_0x3c3709(0x17a)][_0x3c3709(0x172)]=_0x43c728):(_0x3c3709(0x1cf)===_0x453587[_0x43c728][_0x3c3709(0x105)]?_0x453587[_0x43c728][_0x3c3709(0x17a)][_0x3c3709(0x167)]=_0x43c728:_0x3c3709(0x1ac)===_0x453587[_0x43c728][_0x3c3709(0x105)]&&(_0x453587[_0x43c728][_0x3c3709(0x17a)][_0x3c3709(0x172)]=_0x43c728),_0x354260[_0x3c3709(0x226)](_0x453587[_0x43c728]['id'],_0x43c728));for(const _0x3a8e3d of _0x354260[_0x3c3709(0x219)]())_0x3c3709(0x1cf)===_0x453587[_0x3a8e3d][_0x3c3709(0x105)]?_0x453587[_0x3a8e3d][_0x3c3709(0x17a)][_0x3c3709(0x172)]=_0x354260[_0x3c3709(0x136)](_0x453587[_0x3a8e3d][_0x3c3709(0x1e7)]):_0x3c3709(0x1ac)===_0x453587[_0x3a8e3d][_0x3c3709(0x105)]&&(_0x453587[_0x3a8e3d][_0x3c3709(0x17a)][_0x3c3709(0x167)]=_0x354260[_0x3c3709(0x136)](_0x453587[_0x3a8e3d][_0x3c3709(0x1e7)]));}[_0x566aeb(0x1cb)](_0x3a1a32){const _0x268a1c=_0x566aeb;for(let _0xd5fb6a=0x0;_0xd5fb6a<_0x3a1a32[_0x268a1c(0x1a2)];_0xd5fb6a++){if(_0x268a1c(0x1cf)===_0x3a1a32[_0xd5fb6a][_0x268a1c(0x105)])_0x3a1a32[_0xd5fb6a][_0x268a1c(0x17a)][_0x268a1c(0x167)]=_0xd5fb6a;else{if(_0x268a1c(0x1ac)===_0x3a1a32[_0xd5fb6a][_0x268a1c(0x105)]){_0x3a1a32[_0xd5fb6a][_0x268a1c(0x17a)][_0x268a1c(0x172)]=_0xd5fb6a;const _0x33bc1d=_0x3a1a32[_0xd5fb6a][_0x268a1c(0x17a)][_0x268a1c(0x167)];_0x3a1a32[_0x33bc1d][_0x268a1c(0x1e7)]=_0x3a1a32[_0xd5fb6a]['id'],_0x3a1a32[_0xd5fb6a][_0x268a1c(0x1e7)]=_0x3a1a32[_0x33bc1d]['id'];}else _0x3a1a32[_0xd5fb6a][_0x268a1c(0x17a)][_0x268a1c(0x167)]=_0xd5fb6a,_0x3a1a32[_0xd5fb6a][_0x268a1c(0x17a)][_0x268a1c(0x172)]=_0xd5fb6a,_0x3a1a32[_0xd5fb6a][_0x268a1c(0x1e7)]=null;}_0x3a1a32[_0xd5fb6a][_0x268a1c(0x181)]||(_0x3a1a32[_0xd5fb6a][_0x268a1c(0x181)]=[],_0x3a1a32[_0xd5fb6a][_0x268a1c(0xf6)]=[]);}}[_0x566aeb(0x1c8)](_0x432f7a,_0x4c93df){const _0x5e5d6e=_0x566aeb,_0xe8d656=_0x432f7a[_0x5e5d6e(0xf4)](_0x1e4b39=>!_0x1e4b39[_0x5e5d6e(0x155)]);for(let _0x25861f=0x0;_0x25861f<_0x4c93df[_0x5e5d6e(0x1a2)];_0x25861f++)_0x4c93df[_0x25861f][_0x5e5d6e(0x155)]&&(_0xe8d656[_0x25861f][_0x5e5d6e(0x155)]=_0x4c93df[_0x25861f][_0x5e5d6e(0x155)]);}[_0x566aeb(0x13a)](_0x23225b){const _0x16113f=_0x566aeb,_0x56a5c4=JSON[_0x16113f(0x15c)](_0x23225b),_0x3988d7=this[_0x16113f(0x10d)][_0x16113f(0x151)][_0x16113f(0x19f)][_0x16113f(0x12e)],_0x3941e3=new _0xecfaf4(_0x3988d7,_0x56a5c4[_0x16113f(0x184)](_0x4cec8b=>this[_0x16113f(0x21a)](_0x4cec8b)));return this[_0x16113f(0x10d)][_0x16113f(0x195)][_0x16113f(0x220)](_0x3941e3);}[_0x566aeb(0x21a)](_0x24d604){const _0x115455=_0x566aeb,_0x5d9661=this[_0x115455(0x10d)][_0x115455(0x151)][_0x115455(0x19f)][_0x115455(0x12e)];if(_0x115455(0x106)==typeof _0x24d604)return new _0x4fc831(_0x5d9661,_0x24d604);{const _0x4c0d20=_0x24d604[_0x115455(0xf5)][_0x115455(0x184)](_0x2015ba=>this[_0x115455(0x21a)](_0x2015ba));return new(tt[_0x24d604[(_0x115455(0x105))]]||_0x54c482)(_0x5d9661,_0x24d604[_0x115455(0x162)],_0x24d604[_0x115455(0x224)],_0x4c0d20);}}[_0x566aeb(0x214)](_0x3e1117,_0x10afbc=null){const _0x3b39d7=_0x566aeb,_0xbcd59a=this[_0x3b39d7(0x17d)][_0x3b39d7(0xec)](_0x3e1117),_0x471ca8=_0x10afbc?this[_0x3b39d7(0x17d)][_0x3b39d7(0xec)](_0x10afbc):null,_0x433722=this[_0x3b39d7(0x152)](_0xbcd59a,_0x471ca8),_0x266561=_0x433722[_0x433722[_0x3b39d7(0x1a2)]-0x1],_0x52a57a=new Map(),_0x406722={'model':{},'attributes':{},'changes':[]},_0x42c0a6=new Set(),_0x37b5d3=new Map();for(let _0x36537b=_0x433722[_0x3b39d7(0x1a2)]-0x1;_0x36537b>=0x0;_0x36537b--){const _0x166673=_0x433722[_0x36537b];for(const _0x29c871 of Object[_0x3b39d7(0x14b)](_0x166673[_0x3b39d7(0x10f)]))if(_0x166673[_0x3b39d7(0x10f)][_0x29c871][_0x3b39d7(0x1df)]){const _0x43aab=_0x166673[_0x3b39d7(0x10f)][_0x29c871][_0x3b39d7(0x1df)];_0x43aab[_0x3b39d7(0x19b)]?(_0x42c0a6[_0x3b39d7(0x188)](_0x29c871),_0x37b5d3[_0x3b39d7(0x114)](_0x29c871)&&_0x37b5d3[_0x3b39d7(0x136)](_0x29c871)[_0x3b39d7(0x120)]==_0x43aab[_0x3b39d7(0x120)]?_0x37b5d3[_0x3b39d7(0xe7)](_0x29c871):_0x37b5d3[_0x3b39d7(0x226)](_0x29c871,_0x43aab)):_0x37b5d3[_0x3b39d7(0x114)](_0x29c871)?(_0x42c0a6[_0x3b39d7(0xe7)](_0x29c871),_0x37b5d3[_0x3b39d7(0xe7)](_0x29c871)):(_0x42c0a6[_0x3b39d7(0x188)](_0x29c871),_0x37b5d3[_0x3b39d7(0x226)](_0x29c871,_0x43aab));}else _0x42c0a6[_0x3b39d7(0x188)](_0x29c871);}for(const _0x1ca7d9 of _0x42c0a6){const _0x1686ea=_0x37b5d3[_0x3b39d7(0x114)](_0x1ca7d9)&&!_0x37b5d3[_0x3b39d7(0x136)](_0x1ca7d9)[_0x3b39d7(0x19b)];let _0x54c03a=_0x1686ea?_0x433722[_0x3b39d7(0x1a2)]-0x1:0x0;const _0x195ddd=_0x1686ea?-0x1:0x1;for(;_0x433722[_0x54c03a];){const _0x2d99ac=_0x433722[_0x54c03a];if(_0x2d99ac[_0x3b39d7(0x10f)][_0x1ca7d9]){const _0x2cff33=_0x1686ea?_0x2d99ac[_0x3b39d7(0x10f)][_0x1ca7d9][_0x3b39d7(0x17c)]:_0x2d99ac[_0x3b39d7(0x10f)][_0x1ca7d9][_0x3b39d7(0x160)];_0x406722[_0x3b39d7(0x224)][_0x1ca7d9]=_0x2cff33?_0x164795(_0x2cff33):{};break;}_0x54c03a+=_0x195ddd;}}for(const _0x1d76c4 of _0x433722){_0x1d76c4[_0x3b39d7(0x12b)]={};for(const _0x34643e of _0x1d76c4[_0x3b39d7(0x134)])_0x52a57a[_0x3b39d7(0x226)](_0x34643e['id'],_0x34643e);for(const _0x537b4c of _0x42c0a6){const _0x42fa50=_0x1d76c4[_0x3b39d7(0x10f)][_0x537b4c]?_0x1d76c4[_0x3b39d7(0x10f)][_0x537b4c][_0x3b39d7(0x12d)]:'[]',_0x4604b9=_0x1d76c4[_0x3b39d7(0x10f)][_0x537b4c]?_0x1d76c4[_0x3b39d7(0x10f)][_0x537b4c][_0x3b39d7(0x112)]:'[]';_0x1d76c4[_0x3b39d7(0x12b)][_0x537b4c]={'insertions':this[_0x3b39d7(0x13a)](_0x42fa50),'deletions':this[_0x3b39d7(0x13a)](_0x4604b9)};}}for(const _0xb2689c of _0x42c0a6){let _0x2718cf=null,_0x3ac69f=0x0;const _0x2dc76f=new Map(Array[_0x3b39d7(0x198)](_0xbcd59a[_0x3b39d7(0x12b)][_0xb2689c][_0x3b39d7(0x12d)][_0x3b39d7(0x1ec)])[_0x3b39d7(0xf4)](([_0x5a479b])=>!_0x5a479b[_0x3b39d7(0x22d)](_0x3b39d7(0x208))));let _0x13d37a=0x0;for(const _0x354a25 of _0x433722){const _0x4def5f=this[_0x3b39d7(0x10a)](_0x354a25[_0x3b39d7(0x12b)][_0xb2689c][_0x3b39d7(0x12d)]);_0x354a25==_0xbcd59a?(_0x2718cf=_0x4def5f,_0x3ac69f=_0x2718cf[_0x3b39d7(0x1a2)],_0x2718cf[_0x3b39d7(0x1ea)](_0x34f4e8=>{_0x34f4e8['id']=_0x13d37a++;}),this[_0x3b39d7(0x1cb)](_0x2718cf)):this[_0x3b39d7(0x1c8)](_0x2718cf,_0x4def5f);const _0x2f8450=_0x2718cf[_0x3b39d7(0xf4)](_0x29155f=>!_0x29155f[_0x3b39d7(0x155)])[_0x3b39d7(0x184)](_0x1147df=>_0x1147df['id']);let _0x56e2e6=0x0;const _0xd03e82=this[_0x3b39d7(0x10a)](_0x354a25[_0x3b39d7(0x12b)][_0xb2689c][_0x3b39d7(0x112)]);_0xd03e82[_0x3b39d7(0x1ea)](_0x1a212c=>{const _0x137a0d=_0x3b39d7;_0x1a212c[_0x137a0d(0x230)]?_0x1a212c['id']=_0x3ac69f++:_0x1a212c['id']=_0x2f8450[_0x56e2e6++];}),this[_0x3b39d7(0x1cb)](_0xd03e82),this[_0x3b39d7(0x1b6)](_0x2718cf,_0x3b39d7(0x155)),this[_0x3b39d7(0x1b6)](_0xd03e82,_0x3b39d7(0x230)),_0x354a25==_0xbcd59a&&this[_0x3b39d7(0x223)](_0x2718cf,_0x2dc76f),_0x2718cf=this[_0x3b39d7(0x128)](_0x2718cf,_0xd03e82),this[_0x3b39d7(0x176)](_0x2718cf),this[_0x3b39d7(0x1b6)](_0x2718cf,_0x3b39d7(0x230));}_0x2718cf=_0x2718cf[_0x3b39d7(0xf4)](_0x4e9446=>!(_0x4e9446[_0x3b39d7(0x155)]&&_0x4e9446[_0x3b39d7(0x230)]));const _0xac479e=new Map(_0x266561[_0x3b39d7(0x12b)][_0xb2689c][_0x3b39d7(0x112)][_0x3b39d7(0x1ec)]),_0x2c5982=new Set(_0x2dc76f[_0x3b39d7(0x14b)]());for(const _0x172819 of _0xac479e[_0x3b39d7(0x14b)]())_0x2c5982[_0x3b39d7(0xe7)](_0x172819);this[_0x3b39d7(0x138)](_0x2718cf,_0x2c5982),this[_0x3b39d7(0x13c)](_0x2718cf),_0x2718cf=this[_0x3b39d7(0x14a)](_0x2718cf),_0x2718cf=this[_0x3b39d7(0x182)](_0x2718cf),_0x2718cf=this[_0x3b39d7(0x124)](_0x2718cf);const {root:_0x2f4c6b,changes:_0x19a14d}=this[_0x3b39d7(0x212)](_0x2718cf,_0x52a57a,_0xb2689c);_0x406722[_0x3b39d7(0x12b)][_0xb2689c]=_0x2f4c6b;const _0x310a26=_0x37b5d3[_0x3b39d7(0x136)](_0xb2689c);if(_0x310a26){const _0x1cf83f=_0x52a57a[_0x3b39d7(0x136)](_0x310a26[_0x3b39d7(0x120)]),_0x10814d=new _0xedcd35({'author':_0x1cf83f,'type':_0x310a26[_0x3b39d7(0x19b)]?_0x3b39d7(0x188):_0x3b39d7(0x21d),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xb2689c});_0x19a14d[_0x3b39d7(0x1d4)](_0x10814d),_0x406722[_0x3b39d7(0x224)][_0xb2689c][_0x3b39d7(0x127)]=_0x10814d['id'];}_0x406722[_0x3b39d7(0x1a5)]=_0x406722[_0x3b39d7(0x1a5)][_0x3b39d7(0x202)](_0x19a14d);}return _0x406722;}[_0x566aeb(0x223)](_0x4b9f00,_0x51433b){const _0x372891=_0x566aeb;for(let _0x3453c9=0x0;_0x3453c9<_0x4b9f00[_0x372891(0x1a2)];_0x3453c9++)for(const [_0x11c50a,_0x1bc875]of _0x51433b)_0x1bc875[_0x372891(0x109)][_0x372891(0x1e5)](_0x4b9f00[_0x3453c9][_0x372891(0x1b5)])&&_0x4b9f00[_0x3453c9][_0x372891(0x181)][_0x372891(0x103)](_0x11c50a),_0x1bc875[_0x372891(0x129)][_0x372891(0x1e5)](_0x4b9f00[_0x3453c9][_0x372891(0xe6)])&&_0x4b9f00[_0x3453c9][_0x372891(0xf6)][_0x372891(0x103)](_0x11c50a);}[_0x566aeb(0x128)](_0x17c3a6,_0x47af46){const _0x274d1b=_0x566aeb;let _0x1eb093=[],_0x145d0d=0x0,_0xe06b89=0x0;for(;_0x145d0d<_0x17c3a6[_0x274d1b(0x1a2)]||_0xe06b89<_0x47af46[_0x274d1b(0x1a2)];){const _0x31183b=_0x17c3a6[_0x145d0d]||{},_0x536d4d=_0x47af46[_0xe06b89]||{};if(_0x31183b['id']==_0x536d4d['id'])_0x145d0d++,_0xe06b89++,_0x1eb093[_0x274d1b(0x103)](_0x31183b);else{if(_0x536d4d[_0x274d1b(0x230)]&&_0x31183b[_0x274d1b(0x155)]){const {commonTape:_0x52ace1,iEnd:_0x2d9637,jEnd:_0x1a1587}=this[_0x274d1b(0x1c1)](_0x17c3a6,_0x145d0d,_0x47af46,_0xe06b89);_0x1eb093=_0x1eb093[_0x274d1b(0x202)](_0x52ace1),_0x145d0d=_0x2d9637,_0xe06b89=_0x1a1587;}else _0x536d4d[_0x274d1b(0x230)]?(_0xe06b89++,_0x1eb093[_0x274d1b(0x103)](_0x536d4d)):(_0x145d0d++,_0x1eb093[_0x274d1b(0x103)](_0x31183b));}}return _0x1eb093;}[_0x566aeb(0x138)](_0x18d383,_0x46f15e){const _0x4d39b9=_0x566aeb,_0x45d12b=[];for(let _0x74687a=0x0;_0x74687a<_0x18d383[_0x4d39b9(0x1a2)];_0x74687a++){for(let _0x45c476=0x0;_0x45c476<_0x18d383[_0x74687a][_0x4d39b9(0x181)][_0x4d39b9(0x1a2)];_0x45c476++){const _0x42a1c7=_0x18d383[_0x74687a][_0x4d39b9(0x181)][_0x45c476];if(!_0x46f15e[_0x4d39b9(0x114)](_0x42a1c7))continue;const {group:_0x23a4c6,type:_0x590f65,authorId:_0x5a496c}=_0x566b5d(_0x42a1c7);_0x4d39b9(0x1dc)!=_0x23a4c6||_0x4d39b9(0xe8)!=_0x590f65&&_0x4d39b9(0xf0)!=_0x590f65||(_0x45d12b[_0x4d39b9(0x1d4)]({'type':_0x590f65,'name':_0x42a1c7,'userId':_0x5a496c}),_0x18d383[_0x74687a][_0x4d39b9(0x181)][_0x4d39b9(0x11b)](_0x45c476,0x1),_0x45c476--);}_0xaa81fa(_0x18d383[_0x74687a]);for(let _0x49373a=0x0;_0x49373a<_0x18d383[_0x74687a][_0x4d39b9(0xf6)][_0x4d39b9(0x1a2)];_0x49373a++){const _0x2b1f2f=_0x18d383[_0x74687a][_0x4d39b9(0xf6)][_0x49373a];if(!_0x46f15e[_0x4d39b9(0x114)](_0x2b1f2f))continue;const {group:_0x1273af,type:_0x46b82c}=_0x566b5d(_0x2b1f2f);if(_0x4d39b9(0x1dc)!=_0x1273af||_0x4d39b9(0xe8)!=_0x46b82c&&_0x4d39b9(0xf0)!=_0x46b82c)continue;_0x18d383[_0x74687a][_0x4d39b9(0xf6)][_0x4d39b9(0x11b)](_0x49373a,0x1),_0x49373a--;const _0x57adfe=_0x45d12b[_0x4d39b9(0x216)](_0x58e68a=>_0x58e68a[_0x4d39b9(0x162)]==_0x2b1f2f);_0x57adfe>-0x1&&_0x45d12b[_0x4d39b9(0x11b)](_0x57adfe,0x1);}}function _0x566b5d(_0x497a68){const _0x7ce9e9=_0x4d39b9,_0xc08034=_0x497a68[_0x7ce9e9(0x12f)](':');return{'group':_0xc08034[0x0],'type':_0xc08034[0x1],'subType':_0xc08034[_0x7ce9e9(0x1a2)]>=0x5?_0xc08034[0x2]:null,'id':_0xc08034[_0x7ce9e9(0x1a2)]<0x5?_0xc08034[0x2]:_0xc08034[0x3],'authorId':_0xc08034[_0x7ce9e9(0x1a2)]<0x5?_0xc08034[0x3]:_0xc08034[0x4],'markerCount':0x6==_0xc08034[_0x7ce9e9(0x1a2)]?_0xc08034[0x5]:null};}function _0xaa81fa(_0xb853aa){const _0x208acc=_0x4d39b9;for(let _0x509588=0x0;_0x509588<_0x45d12b[_0x208acc(0x1a2)];_0x509588++){if(_0xb853aa[_0x208acc(0x155)]&&_0x208acc(0xe8)==_0x45d12b[_0x509588][_0x208acc(0x105)])return _0xb853aa[_0x208acc(0x17b)]=_0x45d12b[_0x509588],void delete _0xb853aa[_0x208acc(0x155)];if(!_0xb853aa[_0x208acc(0x155)]&&!_0xb853aa[_0x208acc(0x230)]&&_0x208acc(0xf0)==_0x45d12b[_0x509588][_0x208acc(0x105)])return void(_0xb853aa[_0x208acc(0xe5)]=_0x45d12b[_0x509588]);}}}[_0x566aeb(0x1b6)](_0x1a61e2,_0x4c4643){const _0x5d8e76=_0x566aeb;let _0x107b95=0x0,_0x1e0fad=!0x1;const _0x179f48=new Map();for(const _0x4b1bcd of _0x1a61e2)_0x4b1bcd[_0x4c4643]?_0x1e0fad&&(_0x107b95++,_0x1e0fad=!0x1):(_0x107b95++,_0x1e0fad=!0x0),_0x179f48[_0x5d8e76(0x226)](_0x4b1bcd['id'],_0x107b95);for(let _0x45d7cb=0x0;_0x45d7cb<_0x1a61e2[_0x5d8e76(0x1a2)];_0x45d7cb++){if(_0x5d8e76(0x230)==_0x4c4643&&_0x1a61e2[_0x45d7cb][_0x5d8e76(0x155)]||_0x5d8e76(0x155)==_0x4c4643&&_0x1a61e2[_0x45d7cb][_0x5d8e76(0x230)])continue;if(_0x5d8e76(0x11a)==_0x1a61e2[_0x45d7cb][_0x5d8e76(0x105)]){_0x1a61e2[_0x45d7cb][_0x5d8e76(0xef)]=0x0;continue;}const _0x68a040=_0x179f48[_0x5d8e76(0x136)](_0x1a61e2[_0x45d7cb][_0x5d8e76(0x1e7)]),_0x3226ea=_0x179f48[_0x5d8e76(0x136)](_0x1a61e2[_0x45d7cb]['id']);_0x1a61e2[_0x45d7cb][_0x5d8e76(0xef)]=_0x68a040-_0x3226ea;}}[_0x566aeb(0x152)](_0x244ef9,_0x2ba3e9,_0x498eb3=!0x1){const _0x28f048=_0x566aeb,_0x573c79=[];let _0x4400ff=this[_0x28f048(0x17d)][_0x28f048(0x19e)](_0x244ef9),_0xf8187a=this[_0x28f048(0x17d)][_0x28f048(0x19e)](_0x2ba3e9);for(-0x1==_0xf8187a&&(_0xf8187a=this[_0x28f048(0x17d)][_0x28f048(0x1b8)][_0x28f048(0x1a2)],_0x498eb3=!0x1);_0x4400ff<_0xf8187a;)_0x573c79[_0x28f048(0x103)](this[_0x28f048(0x17d)][_0x28f048(0xec)](_0x4400ff)),_0x4400ff++;return _0x498eb3&&_0x573c79[_0x28f048(0x103)](this[_0x28f048(0x17d)][_0x28f048(0xec)](_0x4400ff)),_0x573c79;}[_0x566aeb(0x1c1)](_0x250a4a,_0x3e1a95,_0x3a1a20,_0x2181c8){const _0x33d72a=_0x566aeb,_0x319356=this[_0x33d72a(0x10d)][_0x33d72a(0x12b)][_0x33d72a(0x197)];let _0x50eafb=_0x3e1a95;for(;_0x250a4a[_0x50eafb]&&_0x250a4a[_0x50eafb][_0x33d72a(0x155)];)_0x50eafb++;let _0x2f7c01=_0x2181c8;for(;_0x3a1a20[_0x2f7c01]&&_0x3a1a20[_0x2f7c01][_0x33d72a(0x230)];)_0x2f7c01++;_0x2f8112(_0x250a4a,_0x3e1a95,_0x50eafb),_0x2f8112(_0x3a1a20,_0x2181c8,_0x2f7c01);const _0x6537f5=_0x3a1a20[_0x33d72a(0x18e)](_0x2181c8,_0x2f7c01)[_0x33d72a(0x202)](_0x250a4a[_0x33d72a(0x18e)](_0x3e1a95,_0x50eafb));return _0x6537f5[_0x33d72a(0x12c)]((_0x2f737f,_0x522e91)=>_0x2f737f[_0x33d72a(0x199)]!=_0x522e91[_0x33d72a(0x199)]?_0x2f737f[_0x33d72a(0x199)]-_0x522e91[_0x33d72a(0x199)]:_0x2f737f[_0x33d72a(0x171)]!=_0x522e91[_0x33d72a(0x171)]?_0x2f737f[_0x33d72a(0x171)]-_0x522e91[_0x33d72a(0x171)]:_0x2f737f[_0x33d72a(0xef)]!=_0x522e91[_0x33d72a(0xef)]?_0x522e91[_0x33d72a(0xef)]-_0x2f737f[_0x33d72a(0xef)]:!!_0x2f737f[_0x33d72a(0x155)]!=!!_0x522e91[_0x33d72a(0x155)]?-0x1==_0x2f737f[_0x33d72a(0x199)]||0x0==_0x2f737f[_0x33d72a(0x199)]?_0x2f737f[_0x33d72a(0x155)]?-0x1:0x1:_0x2f737f[_0x33d72a(0x155)]?0x1:-0x1:_0x2f737f[_0x33d72a(0x1ee)]-_0x522e91[_0x33d72a(0x1ee)]),{'commonTape':_0x6537f5,'iEnd':_0x50eafb,'jEnd':_0x2f7c01};function _0x2f8112(_0x42f2cf,_0x51f9d7,_0x36cc64){const _0x10d0fa=_0x33d72a;let _0x3c44b3=-0x1,_0x3b9e39=Number[_0x10d0fa(0x1fb)],_0x599fad=!0x0;for(let _0x1282cc=_0x51f9d7;_0x1282cc<_0x36cc64;_0x1282cc++)if(_0x319356[_0x10d0fa(0x174)](_0x42f2cf[_0x1282cc][_0x10d0fa(0x17a)])||(_0x599fad=!0x1),_0x42f2cf[_0x1282cc][_0x10d0fa(0x17a)][_0x10d0fa(0x167)]<_0x51f9d7&&(_0x3c44b3=_0x1282cc),_0x42f2cf[_0x1282cc][_0x10d0fa(0x17a)][_0x10d0fa(0x172)]>=_0x36cc64){_0x3b9e39=_0x1282cc;break;}_0x599fad&&(_0x3c44b3=_0x36cc64-0x1);for(let _0x7df3ac=_0x51f9d7;_0x7df3ac<_0x36cc64;_0x7df3ac++)_0x42f2cf[_0x7df3ac][_0x10d0fa(0x199)]=_0x7df3ac<=_0x3c44b3?-0x1:_0x7df3ac<_0x3b9e39?0x0:0x1,_0x42f2cf[_0x7df3ac][_0x10d0fa(0x1ee)]=_0x7df3ac;let _0x39dbc9=0x0;for(let _0x283a93=_0x51f9d7;_0x283a93<=_0x3c44b3;_0x283a93++)0x0==_0x42f2cf[_0x283a93][_0x10d0fa(0xef)]?_0x42f2cf[_0x283a93][_0x10d0fa(0x171)]=_0x39dbc9:(_0x39dbc9++,_0x42f2cf[_0x283a93][_0x10d0fa(0x171)]=_0x39dbc9,_0x39dbc9++);for(let _0x4a061b=_0x51f9d7;_0x4a061b<_0x36cc64;_0x4a061b++)0x0==_0x42f2cf[_0x4a061b][_0x10d0fa(0x199)]&&(_0x42f2cf[_0x4a061b][_0x10d0fa(0x171)]=_0x39dbc9);_0x39dbc9=0x0;for(let _0x55d747=_0x36cc64-0x1;_0x55d747>=_0x3b9e39;_0x55d747--)0x0==_0x42f2cf[_0x55d747][_0x10d0fa(0xef)]?_0x42f2cf[_0x55d747][_0x10d0fa(0x171)]=_0x39dbc9:(_0x39dbc9--,_0x42f2cf[_0x55d747][_0x10d0fa(0x171)]=_0x39dbc9,_0x39dbc9--);}}[_0x566aeb(0x13c)](_0x3a6a63){const _0x1d3324=_0x566aeb,_0xaeb7cd=new Map(),_0x360380=this[_0x1d3324(0x10d)][_0x1d3324(0x12b)][_0x1d3324(0x197)];for(let _0x48fc6b=0x1;_0x48fc6b<_0x3a6a63[_0x1d3324(0x1a2)];_0x48fc6b++){let _0x537100,_0x2f50ee,_0x4dc749;const _0x6fdd90=_0x3a6a63[_0x48fc6b],_0x52ebfc=_0x3a6a63[_0x48fc6b-0x1];if(_0x1d3324(0x11a)==_0x6fdd90[_0x1d3324(0x105)])continue;if(_0x6fdd90[_0x1d3324(0x105)]!=_0x52ebfc[_0x1d3324(0x105)])continue;if(!_0x360380[_0x1d3324(0x21b)](_0x52ebfc[_0x1d3324(0x17a)])||_0x360380[_0x1d3324(0x1ef)](_0x52ebfc[_0x1d3324(0x17a)]))continue;if(!_0x360380[_0x1d3324(0x21b)](_0x6fdd90[_0x1d3324(0x17a)])||_0x360380[_0x1d3324(0x1ef)](_0x6fdd90[_0x1d3324(0x17a)]))continue;if((_0x3a6a63[_0x48fc6b][_0x1d3324(0x155)]||_0x3a6a63[_0x48fc6b][_0x1d3324(0x17b)])&&_0x3a6a63[_0x48fc6b-0x1][_0x1d3324(0x230)])_0x537100=_0x3a6a63[_0x48fc6b],_0x2f50ee=_0x3a6a63[_0x48fc6b-0x1],_0x4dc749=_0x48fc6b-0x1;else{if(!_0x3a6a63[_0x48fc6b][_0x1d3324(0x230)]||!_0x3a6a63[_0x48fc6b-0x1][_0x1d3324(0x155)]&&!_0x3a6a63[_0x48fc6b-0x1][_0x1d3324(0x17b)])continue;_0x537100=_0x3a6a63[_0x48fc6b-0x1],_0x2f50ee=_0x3a6a63[_0x48fc6b],_0x4dc749=_0x48fc6b;}const _0x42cd7e=_0x537100[_0x1d3324(0x171)]==_0x2f50ee[_0x1d3324(0x171)],_0x65369c=Math[_0x1d3324(0x1a7)](_0x537100[_0x1d3324(0x171)])<Math[_0x1d3324(0x1a7)](_0x2f50ee[_0x1d3324(0x171)])&&0x0==_0x2f50ee[_0x1d3324(0xef)];(_0x42cd7e||_0x65369c)&&(_0xaeb7cd[_0x1d3324(0x226)](_0x2f50ee['id'],_0x537100['id']),_0x3a6a63[_0x1d3324(0x11b)](_0x4dc749,0x1),_0x48fc6b--,_0x537100[_0x1d3324(0x155)]=!0x1);}for(let _0x58829d=0x0;_0x58829d<_0x3a6a63[_0x1d3324(0x1a2)];_0x58829d++)_0xaeb7cd[_0x1d3324(0x114)](_0x3a6a63[_0x58829d][_0x1d3324(0x1e7)])&&(_0x3a6a63[_0x58829d][_0x1d3324(0x1e7)]=_0xaeb7cd[_0x1d3324(0x136)](_0x3a6a63[_0x58829d][_0x1d3324(0x1e7)]));}[_0x566aeb(0x14a)](_0xbf2e3d){const _0x12f841=_0x566aeb,_0x40a50a=new Set(_0xbf2e3d[_0x12f841(0x184)](_0x15f9db=>_0x15f9db['id']));for(let _0x46ea4c=0x0;_0x46ea4c<_0xbf2e3d[_0x12f841(0x1a2)];_0x46ea4c++)_0x40a50a[_0x12f841(0x114)](_0xbf2e3d[_0x46ea4c][_0x12f841(0x1e7)])||0x0==_0xbf2e3d[_0x46ea4c][_0x12f841(0xef)]||(_0xbf2e3d[_0x46ea4c][_0x12f841(0x229)]=!0x0);return _0xbf2e3d[_0x12f841(0xf4)](_0x1c4e26=>!_0x1c4e26[_0x12f841(0x229)]);}[_0x566aeb(0x182)](_0x289e03){const _0x412094=_0x566aeb,_0x169c88=new Set();for(let _0xc09128=0x0;_0xc09128<_0x289e03[_0x412094(0x1a2)];_0xc09128++){if(_0x169c88[_0x412094(0x114)](_0x289e03[_0xc09128]['id'])&&_0x289e03[_0xc09128][_0x412094(0x230)]&&(_0x289e03[_0xc09128][_0x412094(0x229)]=!0x0),_0x289e03[_0xc09128][_0x412094(0x229)])continue;if(0x0==_0x289e03[_0xc09128][_0x412094(0xef)])continue;if(_0x412094(0x1cf)!=_0x289e03[_0xc09128][_0x412094(0x105)])continue;if(null==_0x289e03[_0xc09128][_0x412094(0x1e7)])continue;let _0x486143=_0xc09128+0x1,_0xc5c601=0x0;for(;_0x289e03[_0x486143]['id']!=_0x289e03[_0xc09128][_0x412094(0x1e7)];)_0x412094(0x1cf)==_0x289e03[_0x486143][_0x412094(0x105)]?_0xc5c601++:_0x412094(0x1ac)==_0x289e03[_0x486143][_0x412094(0x105)]&&_0xc5c601--,_0x486143++;if(0x0!=_0xc5c601){if(_0x289e03[_0xc09128][_0x412094(0x230)])_0x289e03[_0xc09128][_0x412094(0x229)]=!0x0;else{for(;_0x486143!=_0xc09128;)_0x289e03[_0x486143][_0x412094(0x230)]&&0x0!=_0x289e03[_0x486143][_0x412094(0xef)]&&(_0x289e03[_0x486143][_0x412094(0x229)]=!0x0,_0x169c88[_0x412094(0x188)](_0x289e03[_0x486143][_0x412094(0x1e7)])),_0x486143--;}}}return _0x289e03[_0x412094(0xf4)](_0x5d914d=>!_0x5d914d[_0x412094(0x229)]);}[_0x566aeb(0x124)](_0x31713c){const _0xd07954=_0x566aeb,_0x189442=this[_0xd07954(0x10d)][_0xd07954(0x12b)][_0xd07954(0x197)];for(let _0x5b318b=0x0;_0x5b318b<_0x31713c[_0xd07954(0x1a2)];_0x5b318b++){if(!(_0x31713c[_0x5b318b][_0xd07954(0x155)]||_0x31713c[_0x5b318b][_0xd07954(0x17b)]||_0x31713c[_0x5b318b][_0xd07954(0x230)]||_0x31713c[_0x5b318b][_0xd07954(0xe5)]))continue;if(0x0==_0x31713c[_0x5b318b][_0xd07954(0xef)])continue;const _0x195f81=_0x31713c[_0x5b318b][_0xd07954(0x17a)];_0x189442[_0xd07954(0x21b)](_0x195f81)||_0x189442[_0xd07954(0x1ef)](_0x195f81)||(_0x31713c[_0x5b318b][_0xd07954(0x155)]&&delete _0x31713c[_0x5b318b][_0xd07954(0x155)],_0x31713c[_0x5b318b][_0xd07954(0x17b)]&&delete _0x31713c[_0x5b318b][_0xd07954(0x17b)],_0x31713c[_0x5b318b][_0xd07954(0xe5)]&&delete _0x31713c[_0x5b318b][_0xd07954(0xe5)],_0x31713c[_0x5b318b][_0xd07954(0x230)]&&(_0x31713c[_0x5b318b][_0xd07954(0x229)]=!0x0));}return _0x31713c[_0xd07954(0xf4)](_0x1b8868=>!_0x1b8868[_0xd07954(0x229)]);}[_0x566aeb(0x212)](_0x53bbf5,_0x60458d,_0xb9e1b0){const _0x193522=_0x566aeb,_0x2537bd=new _0x546450(),_0x4defd3=[],_0x1889b7=new Map(),_0x315f84=this[_0x193522(0x10d)][_0x193522(0x12b)],_0x152603=_0x315f84[_0x193522(0x197)],_0x217b3f=[_0x2537bd],_0x46d14b={},_0x572a26={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x22f033=null;const _0x58dafa=[0x0];for(let _0x5b0381=0x0;_0x5b0381<_0x53bbf5[_0x193522(0x1a2)];_0x5b0381++){let _0x159c2e,_0xfe8a40;if(_0x193522(0x1cf)===_0x53bbf5[_0x5b0381][_0x193522(0x105)]){_0x159c2e=_0x315f84[_0x193522(0x123)](_0x2537bd,_0x58dafa);const _0x3d9b74=new _0x8e5221(_0x53bbf5[_0x5b0381][_0x193522(0x17a)][_0x193522(0x162)],_0x53bbf5[_0x5b0381][_0x193522(0x17a)][_0x193522(0x1bb)]());_0x217b3f[0x0][_0x193522(0xeb)](_0x3d9b74),_0x58dafa[_0x193522(0x103)](0x0),_0x217b3f[_0x193522(0x1d4)](_0x3d9b74),_0xfe8a40=_0x315f84[_0x193522(0x123)](_0x2537bd,_0x58dafa),_0x22f033=null;}else{if(_0x193522(0x1ac)===_0x53bbf5[_0x5b0381][_0x193522(0x105)])_0x217b3f[_0x193522(0x141)](),_0x159c2e=_0x315f84[_0x193522(0x123)](_0x2537bd,_0x58dafa),_0x58dafa[_0x193522(0x1eb)](),_0x58dafa[_0x58dafa[_0x193522(0x1a2)]-0x1]++,_0xfe8a40=_0x315f84[_0x193522(0x123)](_0x2537bd,_0x58dafa),_0x22f033=null;else{if(_0x159c2e=_0x315f84[_0x193522(0x123)](_0x2537bd,_0x58dafa),_0x22f033&&_0x4c6cb0(_0x22f033,_0x53bbf5[_0x5b0381][_0x193522(0x17a)]))_0x22f033[_0x193522(0x111)]+=_0x53bbf5[_0x5b0381][_0x193522(0x17a)][_0x193522(0x195)];else{const _0x3c86f5=new _0x13e808(_0x53bbf5[_0x5b0381][_0x193522(0x17a)][_0x193522(0x195)],_0x53bbf5[_0x5b0381][_0x193522(0x17a)][_0x193522(0x1bb)]());_0x217b3f[0x0][_0x193522(0xeb)](_0x3c86f5),_0x22f033=_0x3c86f5;}_0x58dafa[_0x58dafa[_0x193522(0x1a2)]-0x1]+=_0x53bbf5[_0x5b0381][_0x193522(0x17a)][_0x193522(0x1d2)],_0xfe8a40=_0x315f84[_0x193522(0x123)](_0x2537bd,_0x58dafa);}}for(const _0x29d1df of _0x53bbf5[_0x5b0381][_0x193522(0x181)])_0x1889b7[_0x193522(0x226)](_0x29d1df,{'start':_0x159c2e,'end':null});_0x4e1985(_0x193522(0xe5),_0x5b0381,_0x159c2e,_0xfe8a40),_0x4e1985(_0x193522(0x17b),_0x5b0381,_0x159c2e,_0xfe8a40),_0x4e1985(_0x193522(0x230),_0x5b0381,_0x159c2e,_0xfe8a40),_0x4e1985(_0x193522(0x155),_0x5b0381,_0x159c2e,_0xfe8a40);for(const _0x2abdc5 of _0x53bbf5[_0x5b0381][_0x193522(0xf6)]){_0x1889b7[_0x193522(0x136)](_0x2abdc5)[_0x193522(0x129)]=_0xfe8a40;}}for(const [_0xe8f399,_0x43063d]of _0x1889b7){const _0x4f00b0=this[_0x193522(0x10d)][_0x193522(0x12b)][_0x193522(0x1ca)](_0x43063d[_0x193522(0x109)],_0x43063d[_0x193522(0x129)]);_0x2537bd[_0x193522(0x1ec)][_0x193522(0x226)](_0xe8f399,_0x4f00b0);}return _0x4defd3[_0x193522(0x12c)]((_0x2a0292,_0x1065c8)=>{const _0x434df9=_0x193522,_0xf9feeb=_0x2537bd[_0x434df9(0x1ec)][_0x434df9(0x136)](_0x434df9(0x208)+_0x2a0292['id']),_0x5d44d7=_0x2537bd[_0x434df9(0x1ec)][_0x434df9(0x136)](_0x434df9(0x208)+_0x1065c8['id']);return _0xf9feeb[_0x434df9(0x109)][_0x434df9(0x177)](_0x5d44d7[_0x434df9(0x109)])?-0x1:_0xf9feeb[_0x434df9(0x109)][_0x434df9(0xfd)](_0x5d44d7[_0x434df9(0x109)])?0x1:_0xf9feeb[_0x434df9(0x129)][_0x434df9(0x177)](_0x5d44d7[_0x434df9(0x129)])?-0x1:_0xf9feeb[_0x434df9(0x129)][_0x434df9(0xfd)](_0x5d44d7[_0x434df9(0x129)])?0x1:_0x434df9(0x188)===_0x2a0292[_0x434df9(0x105)]?-0x1:0x1;}),{'root':_0x2537bd,'changes':_0x4defd3};function _0x4e1985(_0x2d26b7,_0x496fed,_0x4cd37c,_0x28ab10){const _0x57f668=_0x193522,_0x5b4ee9=!!_0x53bbf5[_0x496fed][_0x2d26b7],_0x3a8d61=_0x5b4ee9?_0x53bbf5[_0x496fed][_0x2d26b7][_0x57f668(0x120)]:null,_0x26b90c=_0x496fed===_0x53bbf5[_0x57f668(0x1a2)]-0x1,_0x8fed1c=_0x572a26[_0x2d26b7][0x0],_0x401573=_0x152603[_0x57f668(0x20a)](_0x53bbf5[_0x496fed][_0x57f668(0x17a)]);!_0x46d14b[_0x2d26b7]&&_0x5b4ee9?_0x46d14b[_0x2d26b7]={'start':_0x4cd37c,'tapeItem':_0x53bbf5[_0x496fed],'userId':_0x3a8d61,'type':_0x2d26b7}:_0x46d14b[_0x2d26b7]&&!_0x5b4ee9?(_0x46d14b[_0x2d26b7][_0x57f668(0x129)]=_0x4cd37c,_0x5c78d5(_0x46d14b[_0x2d26b7]),_0x46d14b[_0x2d26b7]=null):_0x46d14b[_0x2d26b7]&&_0x5b4ee9&&_0x46d14b[_0x2d26b7][_0x57f668(0x120)]!==_0x3a8d61&&(_0x46d14b[_0x2d26b7][_0x57f668(0x129)]=_0x4cd37c,_0x8fed1c&&_0x8fed1c[_0x57f668(0x120)]===_0x46d14b[_0x2d26b7][_0x57f668(0x120)]||_0x5c78d5(_0x46d14b[_0x2d26b7]),_0x46d14b[_0x2d26b7]={'start':_0x4cd37c,'tapeItem':_0x53bbf5[_0x496fed],'userId':_0x3a8d61,'type':_0x2d26b7}),_0x46d14b[_0x2d26b7]&&_0x401573&&(_0x57f668(0x1cf)!==_0x53bbf5[_0x496fed][_0x57f668(0x105)]||_0x8fed1c&&_0x8fed1c[_0x57f668(0x120)]===_0x3a8d61||_0x572a26[_0x2d26b7][_0x57f668(0x1d4)]({'userId':_0x3a8d61,'object':_0x53bbf5[_0x496fed][_0x57f668(0x17a)],'change':_0x46d14b[_0x2d26b7]}),_0x57f668(0x1ac)===_0x53bbf5[_0x496fed][_0x57f668(0x105)]&&_0x8fed1c&&_0x8fed1c[_0x57f668(0x20e)]===_0x53bbf5[_0x496fed][_0x57f668(0x17a)]&&(_0x572a26[_0x2d26b7][_0x57f668(0x141)](),_0x46d14b[_0x2d26b7]=_0x8fed1c[_0x57f668(0x21f)])),_0x46d14b[_0x2d26b7]&&_0x26b90c&&(_0x46d14b[_0x2d26b7][_0x57f668(0x129)]=_0x28ab10,_0x5c78d5(_0x46d14b[_0x2d26b7]),_0x46d14b[_0x2d26b7]=null);}function _0x5c78d5({start:_0x5a7708,end:_0x50dc41,tapeItem:_0x108aa5,userId:_0x39843c,type:_0x579bc4}){const _0x2b0258=_0x193522,_0x5220b6=_0x108aa5[_0x2b0258(0x17a)],_0x141e3f=_0x315f84[_0x2b0258(0x197)][_0x2b0258(0x21b)](_0x5220b6)&&!_0x315f84[_0x2b0258(0x197)][_0x2b0258(0x1ef)](_0x5220b6),_0x2a39cb=_0x5a7708[_0x2b0258(0x218)]==_0x50dc41[_0x2b0258(0x149)]&&_0x50dc41[_0x2b0258(0x133)];if(_0x141e3f&&_0x2a39cb)return;const _0x44274e=_0x315f84[_0x2b0258(0x1ca)](_0x5a7708,_0x50dc41),_0x2113ce=_0x60458d[_0x2b0258(0x136)](_0x39843c),_0x31c6d0=new _0xedcd35({'author':_0x2113ce,'type':_0x2b0258(0x155)==_0x579bc4||_0x2b0258(0x17b)==_0x579bc4?_0x2b0258(0x188):_0x2b0258(0x21d),'data':{'isSuggestion':_0x2b0258(0x17b)==_0x579bc4||_0x2b0258(0xe5)==_0x579bc4},'createdAt':new Date(),'rootName':_0xb9e1b0});_0x4defd3[_0x2b0258(0x103)](_0x31c6d0),_0x2537bd[_0x2b0258(0x1ec)][_0x2b0258(0x226)](_0x2b0258(0x208)+_0x31c6d0['id'],_0x44274e);}function _0x4c6cb0(_0xef3a9b,_0x7b91e7){const _0x3f4eb7=_0x193522,_0x482c01=_0xef3a9b[_0x3f4eb7(0x1bb)](),_0xc58446=_0x7b91e7[_0x3f4eb7(0x1bb)]();for(const _0xbf7b36 of _0x482c01){if(_0xbf7b36[0x1]!==_0x7b91e7[_0x3f4eb7(0x22b)](_0xbf7b36[0x0]))return!0x1;_0xc58446[_0x3f4eb7(0x21e)]();}return _0xc58446[_0x3f4eb7(0x21e)]()[_0x3f4eb7(0x200)];}}[_0x566aeb(0x130)](){const _0xa77ad1=_0x566aeb;this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x135))[_0xa77ad1(0x146)]({'view':_0xa77ad1(0x121)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x183))[_0xa77ad1(0x15f)]({'model':_0xa77ad1(0x121),'view':_0x286adf=>{const _0x556b58=_0xa77ad1,_0x1b9d12=_0x286adf[_0x556b58(0x11d)][_0x556b58(0x12f)](':')[0x1],_0x2dd7ea=this[_0x556b58(0x166)](_0x1b9d12);if(!_0x2dd7ea)return null;const _0x5baeeb=_0x556b58(0x188)==_0x2dd7ea[_0x556b58(0x105)]?_0x556b58(0xe8):_0x556b58(0xf0),_0x2ef922=[_0x556b58(0x161),_0x556b58(0x132)+_0x5baeeb];return _0x2dd7ea[_0x556b58(0x195)][_0x556b58(0x1e1)]&&_0x2ef922[_0x556b58(0x103)](_0x556b58(0x132)+_0x5baeeb+_0x556b58(0x1ba)),this[_0x556b58(0x179)]==_0x2dd7ea&&_0x2ef922[_0x556b58(0x103)](_0x556b58(0x1f9)),{'classes':_0x2ef922,'attributes':{'data-change-id':_0x1b9d12}};}}),this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x135))[_0xa77ad1(0x188)](_0x169ba2=>{const _0x5a82b1=_0xa77ad1;_0x169ba2['on'](_0x5a82b1(0x153),(_0x109dc4,_0x12e019,_0x45e238)=>{const _0x821e20=_0x5a82b1,_0x110c8d=_0x12e019[_0x821e20(0x201)][_0x821e20(0x21c)](0x0);if(!_0x110c8d||!_0x110c8d['is'](_0x821e20(0x169),_0x821e20(0x159)))return;if(!_0x45e238[_0x821e20(0x1b3)][_0x821e20(0x13d)](_0x110c8d,{'attributes':[_0x821e20(0x122),_0x821e20(0x1bd)]}))return;const _0x25c024=_0x12e019[_0x821e20(0x15b)][_0x821e20(0x109)][_0x821e20(0x218)];_0x45e238[_0x821e20(0x168)][_0x821e20(0x140)](_0x821e20(0x122),_0x110c8d[_0x821e20(0x22b)](_0x821e20(0x122)),_0x25c024),_0x45e238[_0x821e20(0x168)][_0x821e20(0x140)](_0x821e20(0x1bd),_0x110c8d[_0x821e20(0x22b)](_0x821e20(0x1bd)),_0x25c024);},{'priority':_0x5a82b1(0x206)});}),this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x135))[_0xa77ad1(0x188)](_0x2787fd=>{const _0x4d7f57=_0xa77ad1;_0x2787fd['on'](_0x4d7f57(0x169),(_0x48f304,_0x3a7ac0,_0x90a6a)=>{const _0x4c52f0=_0x4d7f57;if(!_0x90a6a[_0x4c52f0(0x1b3)][_0x4c52f0(0x13d)](_0x3a7ac0[_0x4c52f0(0x201)],{'attributes':[_0x4c52f0(0x122),_0x4c52f0(0x1bd)]}))return;if(_0x3a7ac0[_0x4c52f0(0x15b)][_0x4c52f0(0x180)])return;const _0x16c76b=_0x3a7ac0[_0x4c52f0(0x15b)][_0x4c52f0(0x109)][_0x4c52f0(0x218)];_0x16c76b[_0x4c52f0(0x11f)](_0x4c52f0(0x122))||_0x16c76b[_0x4c52f0(0x11f)](_0x4c52f0(0x175))||(_0x90a6a[_0x4c52f0(0x168)][_0x4c52f0(0x140)](_0x4c52f0(0x122),_0x3a7ac0[_0x4c52f0(0x201)][_0x4c52f0(0x22b)](_0x4c52f0(0x122)),_0x16c76b),_0x90a6a[_0x4c52f0(0x168)][_0x4c52f0(0x140)](_0x4c52f0(0x1bd),_0x3a7ac0[_0x4c52f0(0x201)][_0x4c52f0(0x22b)](_0x4c52f0(0x1bd)),_0x16c76b));},{'priority':_0x4d7f57(0x206)});}),this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x135))[_0xa77ad1(0x1e8)]({'view':{'name':_0xa77ad1(0x186),'attributes':{'vid':!0x0}},'model':{'key':_0xa77ad1(0x175),'value':_0x563189=>_0x563189[_0xa77ad1(0x22b)](_0xa77ad1(0x175))}}),this[_0xa77ad1(0x10d)][_0xa77ad1(0x12b)][_0xa77ad1(0x197)]['on'](_0xa77ad1(0xe3),(_0x29277d,[,_0x383fb5])=>{const _0x3a31d2=_0xa77ad1;[_0x3a31d2(0x122),_0x3a31d2(0x1bd),_0x3a31d2(0x175)][_0x3a31d2(0x22e)](_0x383fb5)&&(_0x29277d[_0x3a31d2(0x215)]=!0x0,_0x29277d[_0x3a31d2(0x228)]());},{'priority':_0xa77ad1(0x1f5)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x1f1))[_0xa77ad1(0x188)](_0x2bcb03=>{const _0x496320=_0xa77ad1;_0x2bcb03['on'](_0x496320(0x16d),(_0x1a740f,_0x2ae4e1,_0xd12ae3)=>{const _0x218471=_0x496320;if('\x20'!=_0x2ae4e1[_0x218471(0x17a)][_0x218471(0x195)]||_0x2ae4e1[_0x218471(0x17a)][_0x218471(0x149)][_0x218471(0x101)]>0x1)return;if(!_0xd12ae3[_0x218471(0x1b3)][_0x218471(0x13d)](_0x2ae4e1[_0x218471(0x17a)],_0x1a740f[_0x218471(0x162)]))return;const _0x467485=_0xd12ae3[_0x218471(0x168)],_0x481959=_0xd12ae3[_0x218471(0x1b7)][_0x218471(0x1f8)](_0x2ae4e1[_0x218471(0x18d)]);_0x467485[_0x218471(0x1c0)](_0x481959,_0x467485[_0x218471(0x118)](_0x218471(0x186)));});}),this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x1f1))[_0xa77ad1(0xfe)]({'model':_0xa77ad1(0x121)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0x151)][_0xa77ad1(0x1fa)]['on'](_0xa77ad1(0x1cc),function(_0x1b5e6e){const _0x33921d=_0xa77ad1,_0x11169a=_0x1b5e6e[_0x33921d(0x1a6)][_0x33921d(0x136)](_0x33921d(0x1a1));return(_0x332856,_0xd803c3,_0x4ebec6)=>{const _0x1154bb=_0x33921d,_0x3bcf5b=_0xd803c3[_0x1154bb(0x11d)][_0x1154bb(0x12f)](':')[0x1],_0x586aab=_0x11169a[_0x1154bb(0x166)](_0x3bcf5b);if(!_0x586aab)return null;const _0x3da56b=_0x1154bb(0x188)==_0x586aab[_0x1154bb(0x105)]?_0x1154bb(0x12f):_0x1154bb(0x1cd);if(!_0x4ebec6[_0x1154bb(0x1b3)][_0x1154bb(0x12a)](_0xd803c3[_0x1154bb(0x1e9)],_0x332856[_0x1154bb(0x162)]))return;const _0x1e37f4=_0xd803c3[_0x1154bb(0x1e9)][_0x1154bb(0x221)](),_0x186514=_0xd803c3[_0x1154bb(0x1e9)][_0x1154bb(0x109)],_0x4e75e6=_0x1b5e6e[_0x1154bb(0x12b)][_0x1154bb(0x197)];let _0x54812d=null,_0x4c5ed5=null,_0x450eb5=!0x1,_0x10f65a=!0x1;for(const _0x122b83 of _0x1e37f4){const _0x1bdf0e=_0x122b83[_0x1154bb(0x17a)];_0x450eb5=_0x450eb5||_0x4e75e6[_0x1154bb(0x1fc)](_0x1bdf0e);const _0x8f8c8c=_0x4ebec6[_0x1154bb(0x1b7)][_0x1154bb(0x17f)](_0x1bdf0e);if(_0x8f8c8c&&_0x8f8c8c[_0x1154bb(0x20d)](_0x1154bb(0x1a8)))return;_0x1154bb(0x1ac)==_0x122b83[_0x1154bb(0x105)]&&(_0x4e75e6[_0x1154bb(0x21b)](_0x1bdf0e)&&!_0x4e75e6[_0x1154bb(0x1ef)](_0x1bdf0e)&&(_0x1bdf0e[_0x1154bb(0x14f)]||_0x186514[_0x1154bb(0x1f7)]?_0x54812d&&_0x54812d[_0x1154bb(0x149)]==_0x1bdf0e||(_0x54812d=_0x1bdf0e,_0x1cf34a(_0x122b83[_0x1154bb(0x1b5)]),_0x10f65a=!0x0):_0x4c5ed5=_0x4c5ed5||_0x122b83[_0x1154bb(0x1b5)]));}function _0x1cf34a(_0x480a0a){const _0x4fb3b7=_0x1154bb,_0x294260=_0x4ebec6[_0x4fb3b7(0x168)][_0x4fb3b7(0xe9)](_0x4fb3b7(0x186),{'class':_0x4fb3b7(0x132)+_0x3da56b}),_0x3a938d=_0x4ebec6[_0x4fb3b7(0x1b7)][_0x4fb3b7(0xf9)](_0x480a0a);_0x586aab[_0x4fb3b7(0x195)][_0x4fb3b7(0x1e1)]&&_0x4ebec6[_0x4fb3b7(0x168)][_0x4fb3b7(0x204)](_0x4fb3b7(0x132)+_0x3da56b+_0x4fb3b7(0x1ba),_0x294260),_0x11169a[_0x4fb3b7(0x179)]==_0x586aab&&_0x4ebec6[_0x4fb3b7(0x168)][_0x4fb3b7(0x204)](_0x4fb3b7(0x1f9),_0x294260),_0x4ebec6[_0x4fb3b7(0x168)][_0x4fb3b7(0x137)](_0x3a938d,_0x294260),_0x4ebec6[_0x4fb3b7(0x1b7)][_0x4fb3b7(0x13e)](_0x294260,_0xd803c3[_0x4fb3b7(0x11d)]);}_0x450eb5||_0x10f65a||!_0x4c5ed5||_0x1cf34a(_0x4c5ed5);};}(this[_0xa77ad1(0x10d)]),{'priority':_0xa77ad1(0x145)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0x151)][_0xa77ad1(0x1fa)]['on'](_0xa77ad1(0x1d7),(_0x423d26,_0x31b62e,_0x5ab3b2)=>{const _0x3acbc3=_0xa77ad1,_0x5c55e2=_0x5ab3b2[_0x3acbc3(0x1b7)][_0x3acbc3(0x213)](_0x31b62e[_0x3acbc3(0x11d)]);if(_0x5c55e2){for(const _0x20a74f of _0x5c55e2)(_0x20a74f[_0x3acbc3(0xe4)](_0x3acbc3(0x1b2))||_0x20a74f[_0x3acbc3(0xe4)](_0x3acbc3(0x1d1)))&&(_0x5ab3b2[_0x3acbc3(0x1b7)][_0x3acbc3(0x1b1)](_0x20a74f,_0x31b62e[_0x3acbc3(0x11d)]),_0x5ab3b2[_0x3acbc3(0x168)][_0x3acbc3(0x21d)](_0x20a74f));}},{'priority':_0xa77ad1(0x145)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0x151)][_0xa77ad1(0x1fa)]['on'](_0xa77ad1(0x1cc),(_0x3d9693,_0x484aa0,_0x154631)=>{const _0x3c1b9c=_0xa77ad1,_0x2f057d=_0x484aa0[_0x3c1b9c(0x11d)][_0x3c1b9c(0x12f)](':')[0x1],_0x1c6b66=this[_0x3c1b9c(0x166)](_0x2f057d);if(!_0x1c6b66)return null;const _0x3c8b58=_0x3c1b9c(0x188)==_0x1c6b66[_0x3c1b9c(0x105)]?_0x3c1b9c(0x12f):_0x3c1b9c(0x1cd);if(_0x154631[_0x3c1b9c(0x1b3)][_0x3c1b9c(0x12a)](_0x484aa0[_0x3c1b9c(0x1e9)],_0x3d9693[_0x3c1b9c(0x162)]))for(const _0x585f0 of _0x484aa0[_0x3c1b9c(0x1e9)][_0x3c1b9c(0x1d3)]()){if(!_0x585f0['is'](_0x3c1b9c(0x169),_0x3c1b9c(0x13b)))continue;const _0x14f465=_0x154631[_0x3c1b9c(0x168)][_0x3c1b9c(0xe9)](_0x3c1b9c(0x186),{'class':_0x3c1b9c(0x132)+_0x3c8b58}),_0x4ad902=_0x154631[_0x3c1b9c(0x1b7)][_0x3c1b9c(0xf9)](this[_0x3c1b9c(0x10d)][_0x3c1b9c(0x12b)][_0x3c1b9c(0x131)](_0x585f0));_0x1c6b66[_0x3c1b9c(0x195)][_0x3c1b9c(0x1e1)]&&_0x154631[_0x3c1b9c(0x168)][_0x3c1b9c(0x204)](_0x3c1b9c(0x132)+_0x3c8b58+_0x3c1b9c(0x1ba),_0x14f465),this[_0x3c1b9c(0x179)]==_0x1c6b66&&_0x154631[_0x3c1b9c(0x168)][_0x3c1b9c(0x204)](_0x3c1b9c(0x1f9),_0x14f465),_0x154631[_0x3c1b9c(0x168)][_0x3c1b9c(0x137)](_0x4ad902,_0x14f465),_0x154631[_0x3c1b9c(0x1b7)][_0x3c1b9c(0x13e)](_0x14f465,_0x484aa0[_0x3c1b9c(0x11d)]);}},{'priority':_0xa77ad1(0x145)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0x12b)][_0xa77ad1(0x12e)]['on'](_0xa77ad1(0x21f),()=>{const _0x373bf1=_0xa77ad1;this[_0x373bf1(0x10d)][_0x373bf1(0x151)][_0x373bf1(0x19f)][_0x373bf1(0x21f)](_0x35bbc8=>{const _0x5892f9=_0x373bf1;for(const _0x1edf76 of this[_0x5892f9(0x10d)][_0x5892f9(0x12b)][_0x5892f9(0x12e)][_0x5892f9(0x1ae)]()){const _0x3337f1=this[_0x5892f9(0x10d)][_0x5892f9(0x12b)][_0x5892f9(0x12e)][_0x5892f9(0x10b)](_0x1edf76),_0x38cb91=this[_0x5892f9(0x10d)][_0x5892f9(0x151)][_0x5892f9(0x19f)][_0x5892f9(0x12e)][_0x5892f9(0x10b)](_0x1edf76);if(_0x38cb91){const _0x246cdd=_0x3337f1[_0x5892f9(0x22b)](_0x5892f9(0x127));if(_0x35bbc8[_0x5892f9(0x1f4)](_0x5892f9(0x1f0),_0x38cb91),_0x35bbc8[_0x5892f9(0x1c5)](_0x5892f9(0x16a),_0x38cb91),_0x35bbc8[_0x5892f9(0x1c5)](_0x5892f9(0x11c),_0x38cb91),_0x35bbc8[_0x5892f9(0x1c5)](_0x5892f9(0x211),_0x38cb91),_0x246cdd){const _0x452b16=this[_0x5892f9(0x166)](_0x246cdd);if(!_0x452b16)return null;_0x35bbc8[_0x5892f9(0x140)](_0x5892f9(0x1f0),_0x246cdd,_0x38cb91),_0x35bbc8[_0x5892f9(0x204)](_0x5892f9(0x150)+_0x452b16[_0x5892f9(0x105)],_0x38cb91),this[_0x5892f9(0x179)]==_0x452b16&&_0x35bbc8[_0x5892f9(0x204)](_0x5892f9(0x211),_0x38cb91);}}}});}),this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x135))[_0xa77ad1(0x146)]({'view':_0xa77ad1(0x117),'model':_0x4a9aa2=>_0xa77ad1(0x1e3)+_0x4a9aa2,'converterPriority':_0xa77ad1(0x1f5)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x135))[_0xa77ad1(0x146)]({'view':_0xa77ad1(0xed),'model':_0x23f369=>_0xa77ad1(0x1c9)+_0x23f369,'converterPriority':_0xa77ad1(0x1f5)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x1f1))[_0xa77ad1(0xfe)]({'model':_0xa77ad1(0x1dc),'view':_0x4ace15=>({'name':_0xa77ad1(0x170)+_0x4ace15,'group':_0xa77ad1(0x1dc)}),'converterPriority':_0xa77ad1(0x1f5)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0xfb)][_0xa77ad1(0x1a9)](_0xa77ad1(0x183))[_0xa77ad1(0x15f)]({'model':_0xa77ad1(0x1dc),'view':_0x6dbb03=>{const _0x1810f7=_0xa77ad1,_0x5502cd=_0x6dbb03[_0x1810f7(0x11d)][_0x1810f7(0x12f)](':')[0x1];return _0x1810f7(0xe8)!=_0x5502cd&&_0x1810f7(0xf0)!=_0x5502cd?null:{'classes':[_0x1810f7(0x1b0),_0x1810f7(0x1f2)+_0x5502cd]};}}),this[_0xa77ad1(0x10d)][_0xa77ad1(0x151)][_0xa77ad1(0x1fa)]['on'](_0xa77ad1(0x1de),et(this[_0xa77ad1(0x10d)],_0xa77ad1(0x1cd)),{'priority':_0xa77ad1(0x145)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0x151)][_0xa77ad1(0x1fa)]['on'](_0xa77ad1(0x22c),et(this[_0xa77ad1(0x10d)],_0xa77ad1(0x12f)),{'priority':_0xa77ad1(0x145)}),this[_0xa77ad1(0x10d)][_0xa77ad1(0x151)][_0xa77ad1(0x1fa)]['on'](_0xa77ad1(0x222),(_0x25e850,_0x4b43fa,_0xa3907f)=>{const _0x3f60a0=_0xa77ad1,_0x5e736b=_0xa3907f[_0x3f60a0(0x1b7)][_0x3f60a0(0x213)](_0x4b43fa[_0x3f60a0(0x11d)]);if(_0x5e736b){for(const _0x13ff71 of _0x5e736b)_0x13ff71['is'](_0x3f60a0(0x19a))&&(_0xa3907f[_0x3f60a0(0x1b7)][_0x3f60a0(0x1b1)](_0x13ff71,_0x4b43fa[_0x3f60a0(0x11d)]),_0xa3907f[_0x3f60a0(0x168)][_0x3f60a0(0x21d)](_0x13ff71));}},{'priority':_0xa77ad1(0x145)});}[_0x566aeb(0x166)](_0x358d29){const _0x25be61=_0x566aeb;return this[_0x25be61(0x15e)][_0x25be61(0x136)](_0x358d29);}[_0x566aeb(0x196)](_0x26fde3){const _0x362f56=_0x566aeb;return this[_0x362f56(0x20b)]&&this[_0x362f56(0x20b)][_0x362f56(0x173)](),this[_0x362f56(0x20b)]=new _0x5e9069(this[_0x362f56(0x10d)][_0x362f56(0x178)],_0x26fde3),this[_0x362f56(0x20b)];}[_0x566aeb(0x16c)](){const _0x4471d9=_0x566aeb;this[_0x4471d9(0x10d)][_0x4471d9(0x12b)][_0x4471d9(0x12e)][_0x4471d9(0x1a4)][_0x4471d9(0x1d9)](_0x4471d9(0x121)),this['on'](_0x4471d9(0x1ce),(_0x456e11,_0x329641,_0x5bc32b,_0x5ac3c2)=>{const _0x5f0fba=_0x4471d9;_0x5ac3c2&&this[_0x5f0fba(0x19d)][_0x5f0fba(0x21d)](_0x5ac3c2),_0x5bc32b&&(this[_0x5f0fba(0x19d)][_0x5f0fba(0x188)]({'view':_0x5bc32b,'stackId':_0x5f0fba(0x1d0),'position':{'target':()=>{const _0x5c400e=_0x5f0fba,_0x2f9927=this[_0x5c400e(0x10d)][_0x5c400e(0x151)],_0x54262a=this[_0x5c400e(0x166)](_0x5bc32b[_0x5c400e(0xea)]);let _0x55658f;if(_0x54262a[_0x5c400e(0x195)][_0x5c400e(0x19c)]){const _0x18b995=_0x2f9927[_0x5c400e(0x19f)][_0x5c400e(0x100)](_0x54262a[_0x5c400e(0x116)]);_0x55658f=Array[_0x5c400e(0x198)](_0x18b995[_0x5c400e(0x1c3)]());}else{const _0x2881ff=this[_0x5c400e(0x10d)][_0x5c400e(0x12b)][_0x5c400e(0x1ec)][_0x5c400e(0x136)](_0x5c400e(0x208)+_0x5bc32b[_0x5c400e(0xea)]);_0x55658f=Array[_0x5c400e(0x198)](_0x2f9927[_0x5c400e(0x1b7)][_0x5c400e(0x213)](_0x2881ff[_0x5c400e(0x162)]))[_0x5c400e(0x184)](_0x24254c=>_0x2f9927[_0x5c400e(0x19f)][_0x5c400e(0x115)][_0x5c400e(0x18b)](_0x24254c))[_0x5c400e(0x184)](_0x15f664=>Array[_0x5c400e(0x198)](_0x15f664[_0x5c400e(0x1c3)]()))[_0x5c400e(0x102)]();}if(!this[_0x5c400e(0x207)])return _0x55658f[0x0];return _0x55658f[_0x5c400e(0x1aa)](_0xc672c7=>_0xc672c7[_0x5c400e(0x1d6)]-0x3<=this[_0x5c400e(0x207)]['y']&&_0xc672c7[_0x5c400e(0x225)]+0x3>=this[_0x5c400e(0x207)]['y']&&_0xc672c7[_0x5c400e(0xfa)]-0x3<=this[_0x5c400e(0x207)]['x']&&_0xc672c7[_0x5c400e(0x164)]+0x3>=this[_0x5c400e(0x207)]['x'])||_0x55658f[0x0];}}}),this[_0x5f0fba(0x19d)][_0x5f0fba(0x1c2)](_0x5f0fba(0x1d0)));}),this['on'](_0x4471d9(0x1e2),(_0x25dda7,_0x3d23e0,_0x1349be,_0x30ca7b)=>{const _0x34748d=_0x4471d9;this[_0x34748d(0x1c7)]=_0x1349be?this[_0x34748d(0x196)](_0x1349be):null,this[_0x34748d(0x10d)][_0x34748d(0x12b)][_0x34748d(0x21f)](()=>{const _0x49eeda=_0x34748d,_0x298f0c=this[_0x49eeda(0x10d)][_0x49eeda(0x151)];_0x30ca7b&&(_0x30ca7b[_0x49eeda(0x195)][_0x49eeda(0x19c)]?_0x298f0c[_0x49eeda(0x19f)][_0x49eeda(0x21f)](_0x5df8b8=>{const _0x2027ad=_0x49eeda;_0x5df8b8[_0x2027ad(0x1c5)](_0x2027ad(0x211),_0x298f0c[_0x2027ad(0x19f)][_0x2027ad(0x12e)][_0x2027ad(0x10b)](_0x30ca7b[_0x2027ad(0x116)]));}):_0x298f0c[_0x49eeda(0x139)](_0x49eeda(0x208)+_0x30ca7b['id'])),_0x1349be&&(_0x1349be[_0x49eeda(0x195)][_0x49eeda(0x19c)]?_0x298f0c[_0x49eeda(0x19f)][_0x49eeda(0x21f)](_0xf40054=>{const _0xe2b553=_0x49eeda;_0xf40054[_0xe2b553(0x204)](_0xe2b553(0x211),_0x298f0c[_0xe2b553(0x19f)][_0xe2b553(0x12e)][_0xe2b553(0x10b)](_0x1349be[_0xe2b553(0x116)]));}):_0x298f0c[_0x49eeda(0x139)](_0x49eeda(0x208)+_0x1349be['id']));});}),this[_0x4471d9(0x1b4)](this[_0x4471d9(0x10d)][_0x4471d9(0x151)][_0x4471d9(0x19f)][_0x4471d9(0x12e)],_0x4471d9(0x193),(_0x426059,_0x275788)=>{const _0x162c86=_0x4471d9;if(this[_0x162c86(0x179)])return;const _0x491c7f=this[_0x162c86(0x1af)](_0x275788[_0x162c86(0x190)]),_0x3d5eb6=this[_0x162c86(0x15e)][_0x162c86(0x136)](_0x491c7f);_0x3d5eb6?(this[_0x162c86(0x207)]={'x':_0x275788[_0x162c86(0x125)]['x'],'y':_0x275788[_0x162c86(0x125)]['y']},this[_0x162c86(0x1c7)]=this[_0x162c86(0x196)](_0x3d5eb6)):(this[_0x162c86(0x207)]=null,this[_0x162c86(0x1c7)]=null);}),this[_0x4471d9(0x1b4)](this[_0x4471d9(0x10d)][_0x4471d9(0x151)][_0x4471d9(0x19f)][_0x4471d9(0x12e)],_0x4471d9(0x1f3),(_0x5bc72b,_0x10523f)=>{const _0x231ac0=_0x4471d9,_0x378ae4=this[_0x231ac0(0x1af)](_0x10523f[_0x231ac0(0x190)]),_0x1c3372=this[_0x231ac0(0x15e)][_0x231ac0(0x136)](_0x378ae4);_0x1c3372?(this[_0x231ac0(0x207)]={'x':_0x10523f[_0x231ac0(0x125)]['x'],'y':_0x10523f[_0x231ac0(0x125)]['y']},_0x1c3372===this[_0x231ac0(0x179)]?this[_0x231ac0(0x19d)][_0x231ac0(0x1e0)]():this[_0x231ac0(0x179)]=_0x1c3372):(this[_0x231ac0(0x207)]=null,this[_0x231ac0(0x179)]=null);});}[_0x566aeb(0x1af)](_0x3e1586){const _0x1d6124=_0x566aeb;do{const _0x4cb05c=_0x3e1586[_0x1d6124(0x22b)](_0x1d6124(0x1f0));if(_0x4cb05c)return _0x4cb05c;_0x3e1586=_0x3e1586[_0x1d6124(0x149)];}while(_0x3e1586);return null;}[_0x566aeb(0x113)](){const _0x5358fb=_0x566aeb;this[_0x5358fb(0x10d)][_0x5358fb(0x12b)][_0x5358fb(0x21f)](_0x3c75ae=>{const _0x44fc75=_0x5358fb;for(const _0x588ce5 of this[_0x44fc75(0x10d)][_0x44fc75(0x12b)][_0x44fc75(0x1ec)])_0x3c75ae[_0x44fc75(0x1ab)](_0x588ce5);});}}function et(_0x42825e,_0x1d6fa1){return(_0x6afaa3,_0x489c8c,_0x1bae70)=>{const _0x4885d1=_0xe7b1;if(!_0x1bae70[_0x4885d1(0x1b3)][_0x4885d1(0x12a)](_0x489c8c[_0x4885d1(0x1e9)],_0x6afaa3[_0x4885d1(0x162)]))return;const _0x187df5=_0x489c8c[_0x4885d1(0x1e9)][_0x4885d1(0x221)](),_0x24cedc=_0x489c8c[_0x4885d1(0x1e9)][_0x4885d1(0x109)],_0x2eb118=_0x42825e[_0x4885d1(0x12b)][_0x4885d1(0x197)];let _0x179c5e=null,_0xed3cfa=null,_0x45502e=!0x1,_0x28a9ff=!0x1;for(const _0x43c77d of _0x187df5){const _0x17ffc7=_0x43c77d[_0x4885d1(0x17a)];_0x45502e=_0x45502e||_0x2eb118[_0x4885d1(0x1fc)](_0x17ffc7);const _0x4be03f=_0x1bae70[_0x4885d1(0x1b7)][_0x4885d1(0x17f)](_0x17ffc7);if(_0x4be03f&&_0x4be03f[_0x4885d1(0x20d)](_0x4885d1(0x1a8)))return;_0x4885d1(0x1ac)==_0x43c77d[_0x4885d1(0x105)]&&(_0x2eb118[_0x4885d1(0x21b)](_0x17ffc7)&&!_0x2eb118[_0x4885d1(0x1ef)](_0x17ffc7)&&(_0x17ffc7[_0x4885d1(0x14f)]||_0x24cedc[_0x4885d1(0x1f7)]?_0x179c5e&&_0x179c5e[_0x4885d1(0x149)]==_0x17ffc7||(_0x179c5e=_0x17ffc7,_0x3e1cc6(_0x43c77d[_0x4885d1(0x1b5)]),_0x28a9ff=!0x0):_0xed3cfa=_0xed3cfa||_0x43c77d[_0x4885d1(0x1b5)]));}function _0x3e1cc6(_0xcc46f3){const _0x998a19=_0x4885d1,_0x1035f2=_0x1bae70[_0x998a19(0x1b7)][_0x998a19(0xf9)](_0xcc46f3),_0x487243=_0x1bae70[_0x998a19(0x168)][_0x998a19(0xe9)](_0x998a19(0x186),{'class':_0x998a19(0x1f2)+_0x1d6fa1});_0x1bae70[_0x998a19(0x168)][_0x998a19(0x137)](_0x1035f2,_0x487243),_0x1bae70[_0x998a19(0x1b7)][_0x998a19(0x13e)](_0x487243,_0x489c8c[_0x998a19(0x11d)]);}_0x45502e||_0x28a9ff||!_0xed3cfa||_0x3e1cc6(_0xed3cfa);};}export class RestoreRevisionCommand extends _0x562380{constructor(_0x4992fb){const _0x55948d=_0x566aeb;super(_0x4992fb);const _0x3fc1be=_0x4992fb[_0x55948d(0x1a6)][_0x55948d(0x136)](d);this[_0x55948d(0x14c)]=!0x1,this[_0x55948d(0x1b4)](_0x3fc1be,_0x55948d(0x1a3),()=>this[_0x55948d(0x16f)]()),this[_0x55948d(0x1b4)](_0x3fc1be,_0x55948d(0x20c),()=>this[_0x55948d(0x16f)]());}[_0x566aeb(0x1e6)](){const _0x5c347e=_0x566aeb,_0x16a6ff=this[_0x5c347e(0x10d)],_0x43bbb1=_0x16a6ff[_0x5c347e(0x1a6)][_0x5c347e(0x136)](d),_0x5b9a8f=_0x43bbb1[_0x5c347e(0x22f)]?_0x43bbb1[_0x5c347e(0x156)][_0x5c347e(0x157)]:null;_0x16a6ff[_0x5c347e(0x11e)][_0x5c347e(0x136)](_0x5c347e(0xf3))[_0x5c347e(0x1c4)](_0x5b9a8f);}[_0x566aeb(0x16f)](){const _0x35afec=_0x566aeb,{isReady:_0xad7437,isEnabled:_0x503e85}=this[_0x35afec(0x10d)][_0x35afec(0x1a6)][_0x35afec(0x136)](d);this[_0x35afec(0xf7)]=_0xad7437&&_0x503e85;}}export class ShowChangeCommand extends _0x562380{constructor(_0x2bdcd2,{direction:_0x22388f}){const _0x4f3dcc=_0x566aeb;super(_0x2bdcd2);const _0x2c96d8=_0x2bdcd2[_0x4f3dcc(0x1a6)][_0x4f3dcc(0x136)](d);this[_0x4f3dcc(0x14c)]=!0x1,this[_0x4f3dcc(0x108)]=_0x4f3dcc(0x1ff)===_0x22388f?0x1:-0x1,this[_0x4f3dcc(0x1b4)](_0x2c96d8,_0x4f3dcc(0x1a3),()=>this[_0x4f3dcc(0x16f)]()),this[_0x4f3dcc(0x1b4)](_0x2c96d8,_0x4f3dcc(0x20c),()=>this[_0x4f3dcc(0x16f)]()),this[_0x4f3dcc(0x1b4)](_0x2c96d8,_0x4f3dcc(0x1e2),()=>this[_0x4f3dcc(0x16f)]());}[_0x566aeb(0x1e6)](){const _0x42327b=_0x566aeb,_0x37f8a9=this[_0x42327b(0x10d)],_0x473cea=_0x37f8a9[_0x42327b(0x1a6)][_0x42327b(0x136)](d),{isNavigationMode:_0x2ea9be,currentChangeNumber:_0x326d2c}=_0x473cea;let _0x202840;if(_0x473cea[_0x42327b(0x179)]=_0x2ea9be?_0x473cea[_0x42327b(0x156)][_0x42327b(0x1a5)][_0x42327b(0x136)](_0x326d2c+this[_0x42327b(0x108)]):_0x473cea[_0x42327b(0x156)][_0x42327b(0x1a5)][_0x42327b(0x1ad)],_0x473cea[_0x42327b(0x179)][_0x42327b(0x195)][_0x42327b(0x19c)])_0x202840=_0x37f8a9[_0x42327b(0x151)][_0x42327b(0x19f)][_0x42327b(0x100)](_0x473cea[_0x42327b(0x179)][_0x42327b(0x116)]);else{const _0x19e382=_0x37f8a9[_0x42327b(0x12b)][_0x42327b(0x1ec)][_0x42327b(0x136)](_0x42327b(0x208)+_0x473cea[_0x42327b(0x179)]['id']);_0x202840=_0x56d6a0(_0x37f8a9[_0x42327b(0x151)],_0x19e382);}_0x59237d({'target':_0x202840,'viewportOffset':0x28});}[_0x566aeb(0x16f)](){const _0x11b745=_0x566aeb,{isNavigationMode:_0x8a934b,currentChangeNumber:_0x505615,numberOfChanges:_0x4bae0b,isReady:_0x10bc7c,isEnabled:_0x5b236e}=this[_0x11b745(0x10d)][_0x11b745(0x1a6)][_0x11b745(0x136)](d);this[_0x11b745(0xf7)]=!!(_0x5b236e&&_0x10bc7c&&_0x4bae0b)&&(!_0x8a934b||(0x1===this[_0x11b745(0x108)]?_0x505615<_0x4bae0b-0x1:_0x505615>0x0));}}
|
|
23
|
+
const _0x395e85=_0x3a4c;function _0x1978(){const _0x59356f=['removeMarker:revision-suggestion','currentChangeNumber','vid','markerNameToElements','side','shift','_makeTape','map','showStack','vid_end','collaboration.channelId','domConverter','isRemoveSuggestion','hasClass','changeId','_processTape','change:activeChange','forEach','isRemoved','element','repository','end','reconvertMarker','object','RevisionViewer','ck-suggestion-marker-split','change:numberOfChanges','isAtStart','rootName','_markSuggestions','_data','addHighlight','_getChangeFromId','change:isEnabled','left','_getViewForChange','POSITIVE_INFINITY','getCustomProperty','backward','get','default','processor','range','low','maxOffset','ck-suggestion-preview-marker-','addMarker:revision','merge','checkAttribute','nodeAfter','userId','removeMarker:revision','showNextChange','resolve','suggestion:','bottom','init','createRange','error','getAttribute','isEqual','destroy','isAtEnd','revisionHistoryAttachChange','attributesBefore','ck-editor__editable__overlay','comment','uiElement','ck-suggestion-marker-merge','isIncorrect','plugins','listenTo','isNavigationMode','activeChange','clear','consume','right','getRevisionRootsAttributes','element:pre','flat','isBefore','from','_makeModelFromViewString','done','slice','insertions','oldRevisionId','vid_start','index','bindElementToMarker','_revisions','showPreviousChange','observeMarkers','bind','createPositionFromPath','level','wrap','attachChange','includes','compare','editor','isAddSuggestion','type','setAttribute','hasAttribute','pop','refresh','ck-suggestion-preview-marker','deletions','addRoot','createAttributeElement','_markMarkers','createUIElement','_joinTapes','name','_markMismatchedRemovedTags','first','high','createRangeIn','push','WidgetToolbarRepository','unbindElementFromMarkerName','children','abs','writer','isReady','insert','_removeUnsupportedChanges','endIndex','document','ck-revision-history-root--active','createPositionBefore','revision:','top','getRootNames','adapter','isCollapsed','addMarker:revision-suggestion:insertion','elementEnd','modelRange','9474480cmzxeW','change','mousedown','startIndex','_fixObsoleteTags','editingDowncast','elementToAttribute','changes','newRevisionId','split','4849128hkPOCo','nextSibling','_balloon','stop','getRevision','revision-viewer','revisionHistory','addMarker:revision-suggestion:deletion','distance','markersStart','getRoot','enqueueChange','getItems','_getViewObj','getChild','consumable','nextPosition','toModel','span','delete','text','affectsData','3541839FnKgXB','filter','schema','isAfter','getIndex','84ePXJPj','_setChanges','model','_findChangeIdFromDomTarget','ck-suggestion-marker-','authors','ck-revision-history-root-remove','diffData','addRevisionData','_update','selection','isSuggestion','length','parent','indexOf','ck-revision-history-root-add','find','domEvent','markerRange','markerToHighlight','getDomRoot','forward','view','getWalker','toViewPosition','getClientRects','useFillerType','detachRoot','_step','ck-suggestion-marker','markerToData','for','3052pgnVgf','viewItem','change:isReady','_getRevisionsRange','insertion','set','data','then','isContent','removeClass','elementStart','_cleanUp','all','_getDiff','_sortAndFilterDiffChanges','isEnabled','isAttached','requires','splice','previousPosition','restoreRevisionCallback','attribute:vid','revisionHistoryLabel','31973pzHcfD','highest','add','getAttributes','item','attributesAfter','loadRevisionData','_setConversion','toViewRange','removeMarker','commands','downcastDispatcher','mapper','activeView','code','_removeRevisionMarkers','ck-revision-history-root-','dataToMarker','-new','execute','revision-suggestion:','mapViewToDom','deletion','editing','suggestion','_changeView','isObject','pairId','softBreak','keys','start','_changeIdToChange','data-change-id','forceDisabled','revision','_initInteractions','revision-start','diff','addRevision','addClass','data-revision-','dataDowncast','ck-suggestion-marker--active','remove','unshift','isAdded','markerName','offsetSize','mouseover','_appendChild','conversion','updatePosition','findIndex','_markInsertions','48135dYqFLb','toData','roots','return','change:activeView','_cleanMarkers','next','createRevision','attributes','_removeMissingPairs','removeAttribute','pluginName','revision-comment:','revision-suggestion','_activeViewTarget','markersEnd','enableReadOnlyMode','sort','marked','catch','has','revision-end','test','isInline','isOnRoot','isLimit','3367192KRBeaJ','config','values','startsWith','toViewElement','restoreRevision','string','isBlock','RevisionsRepository','target','locale','getRevisionData','786HbfDLw','concat','numberOfChanges','_refreshStartEndIndex','24632jjmnRO','upcast','parse','markers','_threeWayMerge','_makeModelFromTape','_setDistance'];_0x1978=function(){return _0x59356f;};return _0x1978();}(function(_0x4ffec1,_0x4e87ad){const _0x20165a=_0x3a4c,_0x50b084=_0x4ffec1();while(!![]){try{const _0x2afde4=-parseInt(_0x20165a(0x2df))/0x1*(-parseInt(_0x20165a(0x2a8))/0x2)+-parseInt(_0x20165a(0x2a3))/0x3+-parseInt(_0x20165a(0x1e0))/0x4+-parseInt(_0x20165a(0x1c6))/0x5*(-parseInt(_0x20165a(0x1ec))/0x6)+-parseInt(_0x20165a(0x2c8))/0x7*(parseInt(_0x20165a(0x1f0))/0x8)+parseInt(_0x20165a(0x28d))/0x9+parseInt(_0x20165a(0x283))/0xa;if(_0x2afde4===_0x4e87ad)break;else _0x50b084['push'](_0x50b084['shift']());}catch(_0x33c473){_0x50b084['push'](_0x50b084['shift']());}}}(_0x1978,0xb118c));import{Plugin as _0x22d8a2,Command as _0xc0747d}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x4524a3}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x412bf8}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2c7ef4,Element as _0x2d12a3,Text as _0x1c0916,ViewDocumentFragment as _0x23827f,ViewText as _0x37657c,ViewElement as _0x571baf,ViewContainerElement as _0x1e0513,ViewAttributeElement as _0x5b87a6,ViewEmptyElement as _0xa3c085,ViewRawElement as _0x812349,ViewUIElement as _0x4e7b5c}from'ckeditor5/src/engine.js';import{Users as _0x47dd6d,getMarkerDomElement as _0x44a07f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5b7233 from'./ui/revisionviewer/changedetailsview.js';import _0x2af84a from'./revisionsrepository.js';import _0x4c56f4 from'./changeitem.js';import{default as _0x48d3fd}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x2fca6d}from'lodash-es';function _0x3a4c(_0x5c0e1f,_0x55b718){const _0x19780a=_0x1978();return _0x3a4c=function(_0x3a4c4e,_0x434d56){_0x3a4c4e=_0x3a4c4e-0x1b3;let _0x547820=_0x19780a[_0x3a4c4e];return _0x547820;},_0x3a4c(_0x5c0e1f,_0x55b718);}const tt={'c':_0x1e0513,'a':_0x5b87a6,'e':_0xa3c085,'r':_0x812349,'u':_0x4e7b5c};export default class d extends _0x22d8a2{static get[_0x395e85(0x1d1)](){const _0x4406e5=_0x395e85;return _0x4406e5(0x20f);}static get[_0x395e85(0x2d9)](){return[_0x47dd6d,_0x412bf8,_0x2af84a];}constructor(_0x4420e8){const _0x9bfcb6=_0x395e85;super(_0x4420e8),this[_0x9bfcb6(0x20b)]=this[_0x9bfcb6(0x25b)][_0x9bfcb6(0x23d)][_0x9bfcb6(0x21e)](_0x9bfcb6(0x1e8)),this[_0x9bfcb6(0x2cd)](_0x9bfcb6(0x240),null),this[_0x9bfcb6(0x2cd)](_0x9bfcb6(0x2ec),null),this[_0x9bfcb6(0x1d4)]=null,this[_0x9bfcb6(0x2cd)](_0x9bfcb6(0x1b5),null),this[_0x9bfcb6(0x2cd)](_0x9bfcb6(0x274),!0x1),this[_0x9bfcb6(0x2cd)](_0x9bfcb6(0x2d7),!0x0),this['on'](_0x9bfcb6(0x218),(_0x2c331d,_0x39f0b3,_0x3908aa)=>{const _0x80f682=_0x9bfcb6;this[_0x80f682(0x240)]=null,this[_0x80f682(0x2ec)]=null,this[_0x80f682(0x25b)][_0x80f682(0x2f6)][_0x80f682(0x2be)][_0x80f682(0x284)](_0x1e8d15=>{const _0x4a304e=_0x80f682;for(const _0xee7043 of this[_0x4a304e(0x25b)][_0x4a304e(0x2f6)][_0x4a304e(0x2be)][_0x4a304e(0x278)][_0x4a304e(0x1c8)])_0x3908aa?_0x1e8d15[_0x4a304e(0x2d1)](_0x4a304e(0x238),_0xee7043):_0x1e8d15[_0x4a304e(0x1b7)](_0x4a304e(0x238),_0xee7043);});}),this[_0x9bfcb6(0x254)](_0x9bfcb6(0x23f))['to'](this,_0x9bfcb6(0x240),_0x1716ba=>null!==_0x1716ba),this[_0x9bfcb6(0x254)](_0x9bfcb6(0x1f8))['to'](this,_0x9bfcb6(0x274),this,_0x9bfcb6(0x1b5),this,_0x9bfcb6(0x240),(_0x196746,_0x27d507,_0x12e838)=>_0x196746&&_0x12e838?_0x27d507[_0x9bfcb6(0x28a)][_0x9bfcb6(0x2a7)](_0x12e838):0x0),this[_0x9bfcb6(0x254)](_0x9bfcb6(0x1ee))['to'](this,_0x9bfcb6(0x274),this,_0x9bfcb6(0x1b5),(_0x1d5ec6,_0x4bc444)=>_0x1d5ec6?_0x4bc444[_0x9bfcb6(0x28a)][_0x9bfcb6(0x2b4)]:0x0),this[_0x9bfcb6(0x2f8)]=null,this[_0x9bfcb6(0x2fe)]=new Map(),this[_0x9bfcb6(0x27e)]=null,this[_0x9bfcb6(0x28f)]=this[_0x9bfcb6(0x25b)][_0x9bfcb6(0x23d)][_0x9bfcb6(0x21e)](_0x412bf8);}[_0x395e85(0x22f)](){const _0x552061=_0x395e85,_0x4de79b=this[_0x552061(0x25b)],_0x395548=new ShowChangeCommand(_0x4de79b,{'direction':_0x552061(0x21d)}),_0x440750=new ShowChangeCommand(_0x4de79b,{'direction':_0x552061(0x2bd)});(_0x4de79b[_0x552061(0x2e9)][_0x552061(0x2e1)](_0x552061(0x252),_0x395548),_0x4de79b[_0x552061(0x2e9)][_0x552061(0x2e1)](_0x552061(0x22b),_0x440750),_0x4de79b[_0x552061(0x2e9)][_0x552061(0x2e1)](_0x552061(0x1e5),new RestoreRevisionCommand(_0x4de79b)),this['on'](_0x552061(0x211),()=>{const _0x54c027=_0x552061;_0x395548[_0x54c027(0x261)](),_0x440750[_0x54c027(0x261)]();}),this[_0x552061(0x2e6)](),this[_0x552061(0x1b3)](),_0x4de79b[_0x552061(0x1d6)](_0x552061(0x292)),_0x4de79b[_0x552061(0x23d)][_0x552061(0x1da)](_0x552061(0x26f)))&&_0x4de79b[_0x552061(0x23d)][_0x552061(0x21e)](_0x552061(0x26f))[_0x552061(0x300)](_0x552061(0x292));}async[_0x395e85(0x1eb)](_0x21b209){const _0x1ccee3=_0x395e85;await this[_0x1ccee3(0x2e5)](_0x21b209);const _0x36c64c={};for(const _0x11489a in _0x21b209[_0x1ccee3(0x2af)]){if(_0x21b209[_0x1ccee3(0x2af)][_0x11489a][_0x1ccee3(0x258)]&&!_0x21b209[_0x1ccee3(0x2af)][_0x11489a][_0x1ccee3(0x258)][_0x1ccee3(0x2d8)])continue;const _0x2b00f9=this[_0x1ccee3(0x2ee)](JSON[_0x1ccee3(0x1f2)](_0x21b209[_0x1ccee3(0x2af)][_0x11489a][_0x1ccee3(0x24c)])),_0x2e97f8=this[_0x1ccee3(0x25b)][_0x1ccee3(0x2f6)][_0x1ccee3(0x2be)][_0x1ccee3(0x278)],_0x40dcef=new _0x23827f(_0x2e97f8,_0x2b00f9[_0x1ccee3(0x1fe)](_0x449c86=>this[_0x1ccee3(0x29a)](_0x449c86)));this[_0x1ccee3(0x25b)][_0x1ccee3(0x2ce)][_0x1ccee3(0x220)][_0x1ccee3(0x2c2)](_0x1ccee3(0x1d8)),_0x36c64c[_0x11489a]=this[_0x1ccee3(0x25b)][_0x1ccee3(0x2ce)][_0x1ccee3(0x220)][_0x1ccee3(0x1c7)](_0x40dcef),this[_0x1ccee3(0x25b)][_0x1ccee3(0x2ce)][_0x1ccee3(0x220)][_0x1ccee3(0x2c2)](_0x1ccee3(0x21f));}return _0x36c64c;}async[_0x395e85(0x244)](_0x3b0a66){const _0x5ca9ed=_0x395e85;await this[_0x5ca9ed(0x2e5)](_0x3b0a66);const _0x527fcf={};for(const _0x17fa15 in _0x3b0a66[_0x5ca9ed(0x2af)])_0x3b0a66[_0x5ca9ed(0x2af)][_0x17fa15][_0x5ca9ed(0x258)]&&!_0x3b0a66[_0x5ca9ed(0x2af)][_0x17fa15][_0x5ca9ed(0x258)][_0x5ca9ed(0x2d8)]||(_0x527fcf[_0x17fa15]=_0x3b0a66[_0x5ca9ed(0x2af)][_0x17fa15][_0x5ca9ed(0x2e4)]||{});return _0x527fcf;}[_0x395e85(0x2ee)](_0x1f9021){const _0x5dc70c=_0x395e85;return(_0x1f9021=_0x1f9021[_0x5dc70c(0x2a4)](_0x356008=>!_0x356008[_0x5dc70c(0x269)]||_0x5dc70c(0x1b4)!==_0x356008[_0x5dc70c(0x269)]&&_0x5dc70c(0x1db)!==_0x356008[_0x5dc70c(0x269)]))[_0x5dc70c(0x208)](_0x453b3c=>{const _0x4306f1=_0x5dc70c;_0x4306f1(0x1e6)!=typeof _0x453b3c&&(_0x453b3c[_0x4306f1(0x271)]=this[_0x4306f1(0x2ee)](_0x453b3c[_0x4306f1(0x271)]),_0x453b3c[_0x4306f1(0x1ce)]=_0x453b3c[_0x4306f1(0x1ce)][_0x4306f1(0x2a4)](_0x40aa75=>!_0x40aa75[0x0][_0x4306f1(0x1e3)](_0x4306f1(0x1b8))));}),_0x1f9021;}async[_0x395e85(0x25a)](_0x1b0e19,_0x478e63,_0x4a79ff=!0x1){const _0x6703e4=_0x395e85;if(!this[_0x6703e4(0x2d7)])return;const _0x1141a5=this[_0x6703e4(0x1b5)],_0x2aca1f=this[_0x6703e4(0x20b)],_0xde0c22=_0x6703e4(0x1e6)==typeof _0x1b0e19?_0x2aca1f[_0x6703e4(0x291)](_0x1b0e19):_0x1b0e19,_0x4c7bef=_0x6703e4(0x1e6)==typeof _0x478e63?_0x2aca1f[_0x6703e4(0x291)](_0x478e63):_0x478e63,_0x4a1c16=_0xde0c22['id'],_0x37a724=_0x4c7bef?_0x4c7bef['id']:null;if(!_0x4a79ff&&this[_0x6703e4(0x1b5)]&&this[_0x6703e4(0x1b5)][_0x6703e4(0x28b)]===_0x4a1c16&&this[_0x6703e4(0x1b5)][_0x6703e4(0x24d)]===_0x37a724)return Promise[_0x6703e4(0x22c)]();this[_0x6703e4(0x274)]=!0x1,this[_0x6703e4(0x2ec)]=null,this[_0x6703e4(0x240)]=null,this[_0x6703e4(0x1b5)]=new _0x48d3fd(_0x4a1c16,_0x37a724);const _0x14cb90=this[_0x6703e4(0x2cb)](_0xde0c22,_0x4c7bef,!0x0)[_0x6703e4(0x1fe)](_0x549156=>this[_0x6703e4(0x2e5)](_0x549156));return _0x14cb90[_0x6703e4(0x26e)](new Promise(_0x5c5564=>{setTimeout(_0x5c5564,0x14);})),Promise[_0x6703e4(0x2d4)](_0x14cb90)[_0x6703e4(0x2cf)](()=>{const _0x5befa1=_0x6703e4;if(!this[_0x5befa1(0x2d7)])return;this[_0x5befa1(0x2d3)]();const _0x2d7446=this[_0x5befa1(0x2d5)](_0x4a1c16,_0x37a724);for(const _0x392fe9 of _0x2d7446[_0x5befa1(0x28a)])this[_0x5befa1(0x2fe)][_0x5befa1(0x2cd)](_0x392fe9['id'],_0x392fe9);this[_0x5befa1(0x25b)][_0x5befa1(0x2aa)][_0x5befa1(0x298)]({'isUndoable':!0x1},_0x1f6d63=>{const _0x2f2b44=_0x5befa1;for(const _0x112a74 of this[_0x2f2b44(0x25b)][_0x2f2b44(0x2aa)][_0x2f2b44(0x278)][_0x2f2b44(0x27d)]())_0x1f6d63[_0x2f2b44(0x2c3)](_0x112a74);for(const _0x564256 of Object[_0x2f2b44(0x2fc)](_0x2d7446[_0x2f2b44(0x2aa)])){const _0x412810=_0x1f6d63[_0x2f2b44(0x264)](_0x564256);for(const _0x507005 of Object[_0x2f2b44(0x2fc)](_0x2d7446[_0x2f2b44(0x1ce)][_0x564256]))_0x1f6d63[_0x2f2b44(0x25e)](_0x507005,_0x2d7446[_0x2f2b44(0x1ce)][_0x564256][_0x507005],_0x412810);_0x1f6d63[_0x2f2b44(0x275)](_0x2d7446[_0x2f2b44(0x2aa)][_0x564256],_0x412810,0x0);}}),this[_0x5befa1(0x1b5)][_0x5befa1(0x2a9)](this[_0x5befa1(0x2d6)](_0x2d7446[_0x5befa1(0x28a)])),this[_0x5befa1(0x274)]=!0x0;})[_0x6703e4(0x1d9)](_0x26ff3d=>{const _0x373543=_0x6703e4;console[_0x373543(0x231)](_0x26ff3d),this[_0x373543(0x2d3)](),_0x1141a5&&(this[_0x373543(0x1b5)]=_0x1141a5),this[_0x373543(0x274)]=!0x0;});}[_0x395e85(0x2b0)](_0x59d2c5,_0x136bda){const _0x21ed9a=_0x395e85,_0x3eb27a=this[_0x21ed9a(0x20b)][_0x21ed9a(0x1cd)](_0x59d2c5);return _0x3eb27a['on'](_0x21ed9a(0x2b1),(_0x53a6e5,_0x1f2b28,_0x5790ca)=>_0x136bda(_0x1f2b28,_0x5790ca,_0x3eb27a)),this[_0x21ed9a(0x20b)][_0x21ed9a(0x1b6)](_0x3eb27a),_0x3eb27a;}[_0x395e85(0x2e5)](_0xdf3e29){const _0x4f3f44=_0x395e85;if(!_0xdf3e29||_0xdf3e29[_0x4f3f44(0x2af)])return Promise[_0x4f3f44(0x22c)]();{const _0x226b01=this[_0x4f3f44(0x25b)][_0x4f3f44(0x1e1)][_0x4f3f44(0x21e)](_0x4f3f44(0x201));return this[_0x4f3f44(0x27e)][_0x4f3f44(0x291)]({'channelId':_0x226b01,'revisionId':_0xdf3e29['id']})[_0x4f3f44(0x2cf)](_0x253312=>{const _0xa88edc=_0x4f3f44;_0xdf3e29[_0xa88edc(0x2b1)]({'diffData':_0x253312[_0xa88edc(0x2af)]},!0x0);});}}[_0x395e85(0x2d3)](){const _0x1cd799=_0x395e85;this[_0x1cd799(0x240)]=null,this[_0x1cd799(0x1cb)](),this[_0x1cd799(0x2f8)]&&this[_0x1cd799(0x2f8)][_0x1cd799(0x234)](),this[_0x1cd799(0x2f8)]=null,this[_0x1cd799(0x2fe)][_0x1cd799(0x241)](),this[_0x1cd799(0x25b)][_0x1cd799(0x2aa)][_0x1cd799(0x298)]({'isUndoable':!0x1},_0x280806=>{const _0x32cfa5=_0x1cd799;for(const _0x1da1bf of this[_0x32cfa5(0x25b)][_0x32cfa5(0x2aa)][_0x32cfa5(0x278)][_0x32cfa5(0x27d)]())_0x280806[_0x32cfa5(0x2c3)](_0x1da1bf);});}[_0x395e85(0x2d6)](_0x3a1a32){const _0x564cea=_0x395e85,_0x276460=[],_0x72aec8=new Map();for(const _0x1ab5cf of this[_0x564cea(0x25b)][_0x564cea(0x2aa)][_0x564cea(0x278)][_0x564cea(0x27d)]()){const _0x14293b=this[_0x564cea(0x25b)][_0x564cea(0x2f6)][_0x564cea(0x2be)][_0x564cea(0x2bc)](_0x1ab5cf);if(!_0x14293b)continue;const _0x30d813=_0x14293b[_0x564cea(0x2c1)]()[_0x564cea(0x2e3)](0x0);_0x30d813&&(_0x276460[_0x564cea(0x26e)](_0x1ab5cf),_0x72aec8[_0x564cea(0x2cd)](_0x1ab5cf,_0x30d813));}return _0x276460[_0x564cea(0x1d7)]((_0x4d12d0,_0x4201ea)=>{const _0x2e54c9=_0x564cea,_0x4df0a4=_0x72aec8[_0x2e54c9(0x21e)](_0x4d12d0),_0x2eb598=_0x72aec8[_0x2e54c9(0x21e)](_0x4201ea);return _0x4df0a4['y']-_0x2eb598['y']||_0x4df0a4['x']-_0x2eb598['x'];}),(_0x3a1a32=_0x3a1a32[_0x564cea(0x2a4)](_0x1a8111=>_0x276460[_0x564cea(0x259)](_0x1a8111[_0x564cea(0x213)])))[_0x564cea(0x1d7)]((_0x2ee834,_0xb1a190)=>_0x276460[_0x564cea(0x2b6)](_0x2ee834[_0x564cea(0x213)])-_0x276460[_0x564cea(0x2b6)](_0xb1a190[_0x564cea(0x213)])),_0x3a1a32;}[_0x395e85(0x1fd)](_0x4f036e){const _0x448ca9=_0x395e85,_0x27ee1a=Array[_0x448ca9(0x248)](_0x4f036e[_0x448ca9(0x1f3)])[_0x448ca9(0x2a4)](([_0x3adfe3,_0xf0c31b])=>_0x3adfe3[_0x448ca9(0x1e3)](_0x448ca9(0x27b))&&!_0xf0c31b[_0x448ca9(0x27f)]),_0x5b41ac=Array[_0x448ca9(0x248)](this[_0x448ca9(0x25b)][_0x448ca9(0x2aa)][_0x448ca9(0x26d)](_0x4f036e)[_0x448ca9(0x2bf)]({'singleCharacters':!0x0}));if(0x0!=_0x27ee1a[_0x448ca9(0x2b4)])for(const _0x2329fe of _0x5b41ac){const [_0x4b9499,_0x567b1a]=_0x27ee1a[0x0],[,_0x2c463d,_0x80c9c4]=_0x4b9499[_0x448ca9(0x28c)](':');if(_0x567b1a[_0x448ca9(0x20c)][_0x448ca9(0x233)](_0x2329fe[_0x448ca9(0x29d)])&&_0x27ee1a[_0x448ca9(0x1fc)](),(_0x2329fe[_0x448ca9(0x2db)][_0x448ca9(0x233)](_0x567b1a[_0x448ca9(0x2fd)])||_0x2329fe[_0x448ca9(0x2db)][_0x448ca9(0x2a6)](_0x567b1a[_0x448ca9(0x2fd)]))&&(_0x448ca9(0x2cc)==_0x2c463d?_0x2329fe[_0x448ca9(0x1bd)]={'userId':_0x80c9c4}:_0x448ca9(0x2f5)==_0x2c463d&&(_0x2329fe[_0x448ca9(0x209)]={'userId':_0x80c9c4})),0x0==_0x27ee1a[_0x448ca9(0x2b4)])break;}return _0x5b41ac;}[_0x395e85(0x1ef)](_0x5c4858){const _0x5bb2e3=_0x395e85,_0x3720e7=new Map();for(let _0x316fff=0x0;_0x316fff<_0x5c4858[_0x5bb2e3(0x2b4)];_0x316fff++)_0x5bb2e3(0x2a1)===_0x5c4858[_0x316fff][_0x5bb2e3(0x25d)]?(_0x5c4858[_0x316fff][_0x5bb2e3(0x2e3)][_0x5bb2e3(0x286)]=_0x316fff,_0x5c4858[_0x316fff][_0x5bb2e3(0x2e3)][_0x5bb2e3(0x277)]=_0x316fff):(_0x5bb2e3(0x2d2)===_0x5c4858[_0x316fff][_0x5bb2e3(0x25d)]?_0x5c4858[_0x316fff][_0x5bb2e3(0x2e3)][_0x5bb2e3(0x286)]=_0x316fff:_0x5bb2e3(0x281)===_0x5c4858[_0x316fff][_0x5bb2e3(0x25d)]&&(_0x5c4858[_0x316fff][_0x5bb2e3(0x2e3)][_0x5bb2e3(0x277)]=_0x316fff),_0x3720e7[_0x5bb2e3(0x2cd)](_0x5c4858[_0x316fff]['id'],_0x316fff));for(const _0x474d28 of _0x3720e7[_0x5bb2e3(0x1e2)]())_0x5bb2e3(0x2d2)===_0x5c4858[_0x474d28][_0x5bb2e3(0x25d)]?_0x5c4858[_0x474d28][_0x5bb2e3(0x2e3)][_0x5bb2e3(0x277)]=_0x3720e7[_0x5bb2e3(0x21e)](_0x5c4858[_0x474d28][_0x5bb2e3(0x2fa)]):_0x5bb2e3(0x281)===_0x5c4858[_0x474d28][_0x5bb2e3(0x25d)]&&(_0x5c4858[_0x474d28][_0x5bb2e3(0x2e3)][_0x5bb2e3(0x286)]=_0x3720e7[_0x5bb2e3(0x21e)](_0x5c4858[_0x474d28][_0x5bb2e3(0x2fa)]));}[_0x395e85(0x206)](_0xc57685){const _0x3bd412=_0x395e85;for(let _0x3fe6e4=0x0;_0x3fe6e4<_0xc57685[_0x3bd412(0x2b4)];_0x3fe6e4++){if(_0x3bd412(0x2d2)===_0xc57685[_0x3fe6e4][_0x3bd412(0x25d)])_0xc57685[_0x3fe6e4][_0x3bd412(0x2e3)][_0x3bd412(0x286)]=_0x3fe6e4;else{if(_0x3bd412(0x281)===_0xc57685[_0x3fe6e4][_0x3bd412(0x25d)]){_0xc57685[_0x3fe6e4][_0x3bd412(0x2e3)][_0x3bd412(0x277)]=_0x3fe6e4;const _0x4cd9cd=_0xc57685[_0x3fe6e4][_0x3bd412(0x2e3)][_0x3bd412(0x286)];_0xc57685[_0x4cd9cd][_0x3bd412(0x2fa)]=_0xc57685[_0x3fe6e4]['id'],_0xc57685[_0x3fe6e4][_0x3bd412(0x2fa)]=_0xc57685[_0x4cd9cd]['id'];}else _0xc57685[_0x3fe6e4][_0x3bd412(0x2e3)][_0x3bd412(0x286)]=_0x3fe6e4,_0xc57685[_0x3fe6e4][_0x3bd412(0x2e3)][_0x3bd412(0x277)]=_0x3fe6e4,_0xc57685[_0x3fe6e4][_0x3bd412(0x2fa)]=null;}_0xc57685[_0x3fe6e4][_0x3bd412(0x296)]||(_0xc57685[_0x3fe6e4][_0x3bd412(0x296)]=[],_0xc57685[_0x3fe6e4][_0x3bd412(0x1d5)]=[]);}}[_0x395e85(0x1c5)](_0x249131,_0x971693){const _0x4e3a3b=_0x395e85,_0x5ca093=_0x249131[_0x4e3a3b(0x2a4)](_0xccb957=>!_0xccb957[_0x4e3a3b(0x1bd)]);for(let _0x4bf6ab=0x0;_0x4bf6ab<_0x971693[_0x4e3a3b(0x2b4)];_0x4bf6ab++)_0x971693[_0x4bf6ab][_0x4e3a3b(0x1bd)]&&(_0x5ca093[_0x4bf6ab][_0x4e3a3b(0x1bd)]=_0x971693[_0x4bf6ab][_0x4e3a3b(0x1bd)]);}[_0x395e85(0x249)](_0x22edab){const _0x3c1eaf=_0x395e85,_0x3ab532=JSON[_0x3c1eaf(0x1f2)](_0x22edab),_0x201d75=this[_0x3c1eaf(0x25b)][_0x3c1eaf(0x2f6)][_0x3c1eaf(0x2be)][_0x3c1eaf(0x278)],_0x5b03f7=new _0x23827f(_0x201d75,_0x3ab532[_0x3c1eaf(0x1fe)](_0x44ffa1=>this[_0x3c1eaf(0x29a)](_0x44ffa1)));return this[_0x3c1eaf(0x25b)][_0x3c1eaf(0x2ce)][_0x3c1eaf(0x29e)](_0x5b03f7);}[_0x395e85(0x29a)](_0x4649bd){const _0x5dcbcc=_0x395e85,_0x58775d=this[_0x5dcbcc(0x25b)][_0x5dcbcc(0x2f6)][_0x5dcbcc(0x2be)][_0x5dcbcc(0x278)];if(_0x5dcbcc(0x1e6)==typeof _0x4649bd)return new _0x37657c(_0x58775d,_0x4649bd);{const _0x382e84=_0x4649bd[_0x5dcbcc(0x271)][_0x5dcbcc(0x1fe)](_0x25cd60=>this[_0x5dcbcc(0x29a)](_0x25cd60));return new(tt[_0x4649bd[(_0x5dcbcc(0x25d))]]||_0x571baf)(_0x58775d,_0x4649bd[_0x5dcbcc(0x269)],_0x4649bd[_0x5dcbcc(0x1ce)],_0x382e84);}}[_0x395e85(0x2d5)](_0x5697e2,_0x396539=null){const _0x424801=_0x395e85,_0x28ce5f=this[_0x424801(0x20b)][_0x424801(0x291)](_0x5697e2),_0x5e9265=_0x396539?this[_0x424801(0x20b)][_0x424801(0x291)](_0x396539):null,_0x5ecea5=this[_0x424801(0x2cb)](_0x28ce5f,_0x5e9265),_0x497e8d=_0x5ecea5[_0x5ecea5[_0x424801(0x2b4)]-0x1],_0x5f3ce6=new Map(),_0x484a4b={'model':{},'attributes':{},'changes':[]},_0xdd8e57=new Set(),_0x1dfc7a=new Map();for(let _0x79c6c6=_0x5ecea5[_0x424801(0x2b4)]-0x1;_0x79c6c6>=0x0;_0x79c6c6--){const _0x215e0e=_0x5ecea5[_0x79c6c6];for(const _0x56b5c0 of Object[_0x424801(0x2fc)](_0x215e0e[_0x424801(0x2af)]))if(_0x215e0e[_0x424801(0x2af)][_0x56b5c0][_0x424801(0x258)]){const _0x40f848=_0x215e0e[_0x424801(0x2af)][_0x56b5c0][_0x424801(0x258)];_0x40f848[_0x424801(0x2d8)]?(_0xdd8e57[_0x424801(0x2e1)](_0x56b5c0),_0x1dfc7a[_0x424801(0x1da)](_0x56b5c0)&&_0x1dfc7a[_0x424801(0x21e)](_0x56b5c0)[_0x424801(0x229)]==_0x40f848[_0x424801(0x229)]?_0x1dfc7a[_0x424801(0x2a0)](_0x56b5c0):_0x1dfc7a[_0x424801(0x2cd)](_0x56b5c0,_0x40f848)):_0x1dfc7a[_0x424801(0x1da)](_0x56b5c0)?(_0xdd8e57[_0x424801(0x2a0)](_0x56b5c0),_0x1dfc7a[_0x424801(0x2a0)](_0x56b5c0)):(_0xdd8e57[_0x424801(0x2e1)](_0x56b5c0),_0x1dfc7a[_0x424801(0x2cd)](_0x56b5c0,_0x40f848));}else _0xdd8e57[_0x424801(0x2e1)](_0x56b5c0);}for(const _0x46ee16 of _0xdd8e57){const _0x1eddb8=_0x1dfc7a[_0x424801(0x1da)](_0x46ee16)&&!_0x1dfc7a[_0x424801(0x21e)](_0x46ee16)[_0x424801(0x2d8)];let _0xd44774=_0x1eddb8?_0x5ecea5[_0x424801(0x2b4)]-0x1:0x0;const _0x1d7630=_0x1eddb8?-0x1:0x1;for(;_0x5ecea5[_0xd44774];){const _0x1a0b6c=_0x5ecea5[_0xd44774];if(_0x1a0b6c[_0x424801(0x2af)][_0x46ee16]){const _0x2eaf78=_0x1eddb8?_0x1a0b6c[_0x424801(0x2af)][_0x46ee16][_0x424801(0x237)]:_0x1a0b6c[_0x424801(0x2af)][_0x46ee16][_0x424801(0x2e4)];_0x484a4b[_0x424801(0x1ce)][_0x46ee16]=_0x2eaf78?_0x2fca6d(_0x2eaf78):{};break;}_0xd44774+=_0x1d7630;}}for(const _0x1f628c of _0x5ecea5){_0x1f628c[_0x424801(0x2aa)]={};for(const _0x59a77f of _0x1f628c[_0x424801(0x2ad)])_0x5f3ce6[_0x424801(0x2cd)](_0x59a77f['id'],_0x59a77f);for(const _0x15ed12 of _0xdd8e57){const _0x23f0dd=_0x1f628c[_0x424801(0x2af)][_0x15ed12]?_0x1f628c[_0x424801(0x2af)][_0x15ed12][_0x424801(0x24c)]:'[]',_0x16c977=_0x1f628c[_0x424801(0x2af)][_0x15ed12]?_0x1f628c[_0x424801(0x2af)][_0x15ed12][_0x424801(0x263)]:'[]';_0x1f628c[_0x424801(0x2aa)][_0x15ed12]={'insertions':this[_0x424801(0x249)](_0x23f0dd),'deletions':this[_0x424801(0x249)](_0x16c977)};}}for(const _0x3e95db of _0xdd8e57){let _0x22afb1=null,_0x29f204=0x0;const _0x56a426=new Map(Array[_0x424801(0x248)](_0x28ce5f[_0x424801(0x2aa)][_0x3e95db][_0x424801(0x24c)][_0x424801(0x1f3)])[_0x424801(0x2a4)](([_0x23e79c])=>!_0x23e79c[_0x424801(0x1e3)](_0x424801(0x27b))));let _0x247b5b=0x0;for(const _0x28f004 of _0x5ecea5){const _0x2da21e=this[_0x424801(0x1fd)](_0x28f004[_0x424801(0x2aa)][_0x3e95db][_0x424801(0x24c)]);_0x28f004==_0x28ce5f?(_0x22afb1=_0x2da21e,_0x29f204=_0x22afb1[_0x424801(0x2b4)],_0x22afb1[_0x424801(0x208)](_0x41c231=>{_0x41c231['id']=_0x247b5b++;}),this[_0x424801(0x206)](_0x22afb1)):this[_0x424801(0x1c5)](_0x22afb1,_0x2da21e);const _0x59aea9=_0x22afb1[_0x424801(0x2a4)](_0x173755=>!_0x173755[_0x424801(0x1bd)])[_0x424801(0x1fe)](_0x210a4c=>_0x210a4c['id']);let _0x4c7787=0x0;const _0x34b8aa=this[_0x424801(0x1fd)](_0x28f004[_0x424801(0x2aa)][_0x3e95db][_0x424801(0x263)]);_0x34b8aa[_0x424801(0x208)](_0x5ba186=>{const _0x18108d=_0x424801;_0x5ba186[_0x18108d(0x209)]?_0x5ba186['id']=_0x29f204++:_0x5ba186['id']=_0x59aea9[_0x4c7787++];}),this[_0x424801(0x206)](_0x34b8aa),this[_0x424801(0x1f6)](_0x22afb1,_0x424801(0x1bd)),this[_0x424801(0x1f6)](_0x34b8aa,_0x424801(0x209)),_0x28f004==_0x28ce5f&&this[_0x424801(0x266)](_0x22afb1,_0x56a426),_0x22afb1=this[_0x424801(0x268)](_0x22afb1,_0x34b8aa),this[_0x424801(0x1ef)](_0x22afb1),this[_0x424801(0x1f6)](_0x22afb1,_0x424801(0x209));}_0x22afb1=_0x22afb1[_0x424801(0x2a4)](_0x2223ad=>!(_0x2223ad[_0x424801(0x1bd)]&&_0x2223ad[_0x424801(0x209)]));const _0x19382f=new Map(_0x497e8d[_0x424801(0x2aa)][_0x3e95db][_0x424801(0x263)][_0x424801(0x1f3)]),_0x5531a3=new Set(_0x56a426[_0x424801(0x2fc)]());for(const _0x1719c5 of _0x19382f[_0x424801(0x2fc)]())_0x5531a3[_0x424801(0x2a0)](_0x1719c5);this[_0x424801(0x214)](_0x22afb1,_0x5531a3),this[_0x424801(0x287)](_0x22afb1),_0x22afb1=this[_0x424801(0x1cf)](_0x22afb1),_0x22afb1=this[_0x424801(0x26a)](_0x22afb1),_0x22afb1=this[_0x424801(0x276)](_0x22afb1);const {root:_0x38c41d,changes:_0x1e17bc}=this[_0x424801(0x1f5)](_0x22afb1,_0x5f3ce6,_0x3e95db);_0x484a4b[_0x424801(0x2aa)][_0x3e95db]=_0x38c41d;const _0x1fa7b7=_0x1dfc7a[_0x424801(0x21e)](_0x3e95db);if(_0x1fa7b7){const _0x466113=_0x5f3ce6[_0x424801(0x21e)](_0x1fa7b7[_0x424801(0x229)]),_0x20b644=new _0x4c56f4({'author':_0x466113,'type':_0x1fa7b7[_0x424801(0x2d8)]?_0x424801(0x2e1):_0x424801(0x1bb),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3e95db});_0x1e17bc[_0x424801(0x1bc)](_0x20b644),_0x484a4b[_0x424801(0x1ce)][_0x3e95db][_0x424801(0x236)]=_0x20b644['id'];}_0x484a4b[_0x424801(0x28a)]=_0x484a4b[_0x424801(0x28a)][_0x424801(0x1ed)](_0x1e17bc);}return _0x484a4b;}[_0x395e85(0x266)](_0x34b4ba,_0x3e7b14){const _0x21f164=_0x395e85;for(let _0x1e3a05=0x0;_0x1e3a05<_0x34b4ba[_0x21f164(0x2b4)];_0x1e3a05++)for(const [_0x24b06f,_0x2e7477]of _0x3e7b14)_0x2e7477[_0x21f164(0x2fd)][_0x21f164(0x233)](_0x34b4ba[_0x1e3a05][_0x21f164(0x2db)])&&_0x34b4ba[_0x1e3a05][_0x21f164(0x296)][_0x21f164(0x26e)](_0x24b06f),_0x2e7477[_0x21f164(0x20c)][_0x21f164(0x233)](_0x34b4ba[_0x1e3a05][_0x21f164(0x29d)])&&_0x34b4ba[_0x1e3a05][_0x21f164(0x1d5)][_0x21f164(0x26e)](_0x24b06f);}[_0x395e85(0x268)](_0xc3df5b,_0x7a1c7a){const _0x1d0066=_0x395e85;let _0x1f7a99=[],_0x5df6af=0x0,_0x334e02=0x0;for(;_0x5df6af<_0xc3df5b[_0x1d0066(0x2b4)]||_0x334e02<_0x7a1c7a[_0x1d0066(0x2b4)];){const _0x5135fa=_0xc3df5b[_0x5df6af]||{},_0x107bfa=_0x7a1c7a[_0x334e02]||{};if(_0x5135fa['id']==_0x107bfa['id'])_0x5df6af++,_0x334e02++,_0x1f7a99[_0x1d0066(0x26e)](_0x5135fa);else{if(_0x107bfa[_0x1d0066(0x209)]&&_0x5135fa[_0x1d0066(0x1bd)]){const {commonTape:_0x5f50a9,iEnd:_0x2f9783,jEnd:_0x31d7cf}=this[_0x1d0066(0x1f4)](_0xc3df5b,_0x5df6af,_0x7a1c7a,_0x334e02);_0x1f7a99=_0x1f7a99[_0x1d0066(0x1ed)](_0x5f50a9),_0x5df6af=_0x2f9783,_0x334e02=_0x31d7cf;}else _0x107bfa[_0x1d0066(0x209)]?(_0x334e02++,_0x1f7a99[_0x1d0066(0x26e)](_0x107bfa)):(_0x5df6af++,_0x1f7a99[_0x1d0066(0x26e)](_0x5135fa));}}return _0x1f7a99;}[_0x395e85(0x214)](_0x1851a6,_0x1b500f){const _0x522409=_0x395e85,_0x2581a2=[];for(let _0x1a3925=0x0;_0x1a3925<_0x1851a6[_0x522409(0x2b4)];_0x1a3925++){for(let _0x103382=0x0;_0x103382<_0x1851a6[_0x1a3925][_0x522409(0x296)][_0x522409(0x2b4)];_0x103382++){const _0x14f595=_0x1851a6[_0x1a3925][_0x522409(0x296)][_0x103382];if(!_0x1b500f[_0x522409(0x1da)](_0x14f595))continue;const {group:_0x476028,type:_0x4d4a9a,authorId:_0x2893ce}=_0x267a3b(_0x14f595);_0x522409(0x1d3)!=_0x476028||_0x522409(0x2cc)!=_0x4d4a9a&&_0x522409(0x2f5)!=_0x4d4a9a||(_0x2581a2[_0x522409(0x1bc)]({'type':_0x4d4a9a,'name':_0x14f595,'userId':_0x2893ce}),_0x1851a6[_0x1a3925][_0x522409(0x296)][_0x522409(0x2da)](_0x103382,0x1),_0x103382--);}_0x307a21(_0x1851a6[_0x1a3925]);for(let _0x57021e=0x0;_0x57021e<_0x1851a6[_0x1a3925][_0x522409(0x1d5)][_0x522409(0x2b4)];_0x57021e++){const _0x55e009=_0x1851a6[_0x1a3925][_0x522409(0x1d5)][_0x57021e];if(!_0x1b500f[_0x522409(0x1da)](_0x55e009))continue;const {group:_0x34098c,type:_0x4246a2}=_0x267a3b(_0x55e009);if(_0x522409(0x1d3)!=_0x34098c||_0x522409(0x2cc)!=_0x4246a2&&_0x522409(0x2f5)!=_0x4246a2)continue;_0x1851a6[_0x1a3925][_0x522409(0x1d5)][_0x522409(0x2da)](_0x57021e,0x1),_0x57021e--;const _0x41382d=_0x2581a2[_0x522409(0x1c4)](_0x9c87e9=>_0x9c87e9[_0x522409(0x269)]==_0x55e009);_0x41382d>-0x1&&_0x2581a2[_0x522409(0x2da)](_0x41382d,0x1);}}function _0x267a3b(_0x430d05){const _0x43e101=_0x522409,_0x54665a=_0x430d05[_0x43e101(0x28c)](':');return{'group':_0x54665a[0x0],'type':_0x54665a[0x1],'subType':_0x54665a[_0x43e101(0x2b4)]>=0x5?_0x54665a[0x2]:null,'id':_0x54665a[_0x43e101(0x2b4)]<0x5?_0x54665a[0x2]:_0x54665a[0x3],'authorId':_0x54665a[_0x43e101(0x2b4)]<0x5?_0x54665a[0x3]:_0x54665a[0x4],'markerCount':0x6==_0x54665a[_0x43e101(0x2b4)]?_0x54665a[0x5]:null};}function _0x307a21(_0x7aa53d){const _0x1c378e=_0x522409;for(let _0x118df4=0x0;_0x118df4<_0x2581a2[_0x1c378e(0x2b4)];_0x118df4++){if(_0x7aa53d[_0x1c378e(0x1bd)]&&_0x1c378e(0x2cc)==_0x2581a2[_0x118df4][_0x1c378e(0x25d)])return _0x7aa53d[_0x1c378e(0x25c)]=_0x2581a2[_0x118df4],void delete _0x7aa53d[_0x1c378e(0x1bd)];if(!_0x7aa53d[_0x1c378e(0x1bd)]&&!_0x7aa53d[_0x1c378e(0x209)]&&_0x1c378e(0x2f5)==_0x2581a2[_0x118df4][_0x1c378e(0x25d)])return void(_0x7aa53d[_0x1c378e(0x203)]=_0x2581a2[_0x118df4]);}}}[_0x395e85(0x1f6)](_0x465bf2,_0x4a7a53){const _0x42c850=_0x395e85;let _0x5b71ef=0x0,_0x448534=!0x1;const _0x161ce2=new Map();for(const _0x146a58 of _0x465bf2)_0x146a58[_0x4a7a53]?_0x448534&&(_0x5b71ef++,_0x448534=!0x1):(_0x5b71ef++,_0x448534=!0x0),_0x161ce2[_0x42c850(0x2cd)](_0x146a58['id'],_0x5b71ef);for(let _0x346f4e=0x0;_0x346f4e<_0x465bf2[_0x42c850(0x2b4)];_0x346f4e++){if(_0x42c850(0x209)==_0x4a7a53&&_0x465bf2[_0x346f4e][_0x42c850(0x1bd)]||_0x42c850(0x1bd)==_0x4a7a53&&_0x465bf2[_0x346f4e][_0x42c850(0x209)])continue;if(_0x42c850(0x2a1)==_0x465bf2[_0x346f4e][_0x42c850(0x25d)]){_0x465bf2[_0x346f4e][_0x42c850(0x295)]=0x0;continue;}const _0x414dfe=_0x161ce2[_0x42c850(0x21e)](_0x465bf2[_0x346f4e][_0x42c850(0x2fa)]),_0x6e053=_0x161ce2[_0x42c850(0x21e)](_0x465bf2[_0x346f4e]['id']);_0x465bf2[_0x346f4e][_0x42c850(0x295)]=_0x414dfe-_0x6e053;}}[_0x395e85(0x2cb)](_0x3db967,_0x40cbb5,_0x46b44=!0x1){const _0x768af3=_0x395e85,_0xcae8d8=[];let _0x4674e2=this[_0x768af3(0x20b)][_0x768af3(0x2a7)](_0x3db967),_0x1b8093=this[_0x768af3(0x20b)][_0x768af3(0x2a7)](_0x40cbb5);for(-0x1==_0x1b8093&&(_0x1b8093=this[_0x768af3(0x20b)][_0x768af3(0x251)][_0x768af3(0x2b4)],_0x46b44=!0x1);_0x4674e2<_0x1b8093;)_0xcae8d8[_0x768af3(0x26e)](this[_0x768af3(0x20b)][_0x768af3(0x291)](_0x4674e2)),_0x4674e2++;return _0x46b44&&_0xcae8d8[_0x768af3(0x26e)](this[_0x768af3(0x20b)][_0x768af3(0x291)](_0x4674e2)),_0xcae8d8;}[_0x395e85(0x1f4)](_0x29c293,_0x503038,_0x42b259,_0x314380){const _0x482160=_0x395e85,_0x128509=this[_0x482160(0x25b)][_0x482160(0x2aa)][_0x482160(0x2a5)];let _0x1331ab=_0x503038;for(;_0x29c293[_0x1331ab]&&_0x29c293[_0x1331ab][_0x482160(0x1bd)];)_0x1331ab++;let _0x1a9319=_0x314380;for(;_0x42b259[_0x1a9319]&&_0x42b259[_0x1a9319][_0x482160(0x209)];)_0x1a9319++;_0x3e76dc(_0x29c293,_0x503038,_0x1331ab),_0x3e76dc(_0x42b259,_0x314380,_0x1a9319);const _0x44df6b=_0x42b259[_0x482160(0x24b)](_0x314380,_0x1a9319)[_0x482160(0x1ed)](_0x29c293[_0x482160(0x24b)](_0x503038,_0x1331ab));return _0x44df6b[_0x482160(0x1d7)]((_0x41c16a,_0x27cd5b)=>_0x41c16a[_0x482160(0x1fb)]!=_0x27cd5b[_0x482160(0x1fb)]?_0x41c16a[_0x482160(0x1fb)]-_0x27cd5b[_0x482160(0x1fb)]:_0x41c16a[_0x482160(0x256)]!=_0x27cd5b[_0x482160(0x256)]?_0x41c16a[_0x482160(0x256)]-_0x27cd5b[_0x482160(0x256)]:_0x41c16a[_0x482160(0x295)]!=_0x27cd5b[_0x482160(0x295)]?_0x27cd5b[_0x482160(0x295)]-_0x41c16a[_0x482160(0x295)]:!!_0x41c16a[_0x482160(0x1bd)]!=!!_0x27cd5b[_0x482160(0x1bd)]?-0x1==_0x41c16a[_0x482160(0x1fb)]||0x0==_0x41c16a[_0x482160(0x1fb)]?_0x41c16a[_0x482160(0x1bd)]?-0x1:0x1:_0x41c16a[_0x482160(0x1bd)]?0x1:-0x1:_0x41c16a[_0x482160(0x24f)]-_0x27cd5b[_0x482160(0x24f)]),{'commonTape':_0x44df6b,'iEnd':_0x1331ab,'jEnd':_0x1a9319};function _0x3e76dc(_0x2d345d,_0x17dd15,_0x1e8afd){const _0x451f56=_0x482160;let _0x48186e=-0x1,_0x14ce8a=Number[_0x451f56(0x21b)],_0x24ded1=!0x0;for(let _0x4005ea=_0x17dd15;_0x4005ea<_0x1e8afd;_0x4005ea++)if(_0x128509[_0x451f56(0x1dd)](_0x2d345d[_0x4005ea][_0x451f56(0x2e3)])||(_0x24ded1=!0x1),_0x2d345d[_0x4005ea][_0x451f56(0x2e3)][_0x451f56(0x286)]<_0x17dd15&&(_0x48186e=_0x4005ea),_0x2d345d[_0x4005ea][_0x451f56(0x2e3)][_0x451f56(0x277)]>=_0x1e8afd){_0x14ce8a=_0x4005ea;break;}_0x24ded1&&(_0x48186e=_0x1e8afd-0x1);for(let _0x5851b6=_0x17dd15;_0x5851b6<_0x1e8afd;_0x5851b6++)_0x2d345d[_0x5851b6][_0x451f56(0x1fb)]=_0x5851b6<=_0x48186e?-0x1:_0x5851b6<_0x14ce8a?0x0:0x1,_0x2d345d[_0x5851b6][_0x451f56(0x24f)]=_0x5851b6;let _0x4a3c89=0x0;for(let _0x3cb8e8=_0x17dd15;_0x3cb8e8<=_0x48186e;_0x3cb8e8++)0x0==_0x2d345d[_0x3cb8e8][_0x451f56(0x295)]?_0x2d345d[_0x3cb8e8][_0x451f56(0x256)]=_0x4a3c89:(_0x4a3c89++,_0x2d345d[_0x3cb8e8][_0x451f56(0x256)]=_0x4a3c89,_0x4a3c89++);for(let _0x1bfa6d=_0x17dd15;_0x1bfa6d<_0x1e8afd;_0x1bfa6d++)0x0==_0x2d345d[_0x1bfa6d][_0x451f56(0x1fb)]&&(_0x2d345d[_0x1bfa6d][_0x451f56(0x256)]=_0x4a3c89);_0x4a3c89=0x0;for(let _0xdbb7f=_0x1e8afd-0x1;_0xdbb7f>=_0x14ce8a;_0xdbb7f--)0x0==_0x2d345d[_0xdbb7f][_0x451f56(0x295)]?_0x2d345d[_0xdbb7f][_0x451f56(0x256)]=_0x4a3c89:(_0x4a3c89--,_0x2d345d[_0xdbb7f][_0x451f56(0x256)]=_0x4a3c89,_0x4a3c89--);}}[_0x395e85(0x287)](_0x345496){const _0x28a5ce=_0x395e85,_0x2fe11b=new Map(),_0x2e5c56=this[_0x28a5ce(0x25b)][_0x28a5ce(0x2aa)][_0x28a5ce(0x2a5)];for(let _0x2b2204=0x1;_0x2b2204<_0x345496[_0x28a5ce(0x2b4)];_0x2b2204++){let _0x4e2cd2,_0x4f7ca8,_0x8fc4d5;const _0x5b0162=_0x345496[_0x2b2204],_0x27af8b=_0x345496[_0x2b2204-0x1];if(_0x28a5ce(0x2a1)==_0x5b0162[_0x28a5ce(0x25d)])continue;if(_0x5b0162[_0x28a5ce(0x25d)]!=_0x27af8b[_0x28a5ce(0x25d)])continue;if(!_0x2e5c56[_0x28a5ce(0x1e7)](_0x27af8b[_0x28a5ce(0x2e3)])||_0x2e5c56[_0x28a5ce(0x1df)](_0x27af8b[_0x28a5ce(0x2e3)]))continue;if(!_0x2e5c56[_0x28a5ce(0x1e7)](_0x5b0162[_0x28a5ce(0x2e3)])||_0x2e5c56[_0x28a5ce(0x1df)](_0x5b0162[_0x28a5ce(0x2e3)]))continue;if((_0x345496[_0x2b2204][_0x28a5ce(0x1bd)]||_0x345496[_0x2b2204][_0x28a5ce(0x25c)])&&_0x345496[_0x2b2204-0x1][_0x28a5ce(0x209)])_0x4e2cd2=_0x345496[_0x2b2204],_0x4f7ca8=_0x345496[_0x2b2204-0x1],_0x8fc4d5=_0x2b2204-0x1;else{if(!_0x345496[_0x2b2204][_0x28a5ce(0x209)]||!_0x345496[_0x2b2204-0x1][_0x28a5ce(0x1bd)]&&!_0x345496[_0x2b2204-0x1][_0x28a5ce(0x25c)])continue;_0x4e2cd2=_0x345496[_0x2b2204-0x1],_0x4f7ca8=_0x345496[_0x2b2204],_0x8fc4d5=_0x2b2204;}const _0x5f2132=_0x4e2cd2[_0x28a5ce(0x256)]==_0x4f7ca8[_0x28a5ce(0x256)],_0x3776e1=Math[_0x28a5ce(0x272)](_0x4e2cd2[_0x28a5ce(0x256)])<Math[_0x28a5ce(0x272)](_0x4f7ca8[_0x28a5ce(0x256)])&&0x0==_0x4f7ca8[_0x28a5ce(0x295)];(_0x5f2132||_0x3776e1)&&(_0x2fe11b[_0x28a5ce(0x2cd)](_0x4f7ca8['id'],_0x4e2cd2['id']),_0x345496[_0x28a5ce(0x2da)](_0x8fc4d5,0x1),_0x2b2204--,_0x4e2cd2[_0x28a5ce(0x1bd)]=!0x1);}for(let _0x1e7f56=0x0;_0x1e7f56<_0x345496[_0x28a5ce(0x2b4)];_0x1e7f56++)_0x2fe11b[_0x28a5ce(0x1da)](_0x345496[_0x1e7f56][_0x28a5ce(0x2fa)])&&(_0x345496[_0x1e7f56][_0x28a5ce(0x2fa)]=_0x2fe11b[_0x28a5ce(0x21e)](_0x345496[_0x1e7f56][_0x28a5ce(0x2fa)]));}[_0x395e85(0x1cf)](_0x45af68){const _0x344069=_0x395e85,_0x1ae2be=new Set(_0x45af68[_0x344069(0x1fe)](_0x3dcb68=>_0x3dcb68['id']));for(let _0x36c7d2=0x0;_0x36c7d2<_0x45af68[_0x344069(0x2b4)];_0x36c7d2++)_0x1ae2be[_0x344069(0x1da)](_0x45af68[_0x36c7d2][_0x344069(0x2fa)])||0x0==_0x45af68[_0x36c7d2][_0x344069(0x295)]||(_0x45af68[_0x36c7d2][_0x344069(0x23c)]=!0x0);return _0x45af68[_0x344069(0x2a4)](_0x12eeb1=>!_0x12eeb1[_0x344069(0x23c)]);}[_0x395e85(0x26a)](_0x25979b){const _0x293e71=_0x395e85,_0x455920=new Set();for(let _0x3bd23f=0x0;_0x3bd23f<_0x25979b[_0x293e71(0x2b4)];_0x3bd23f++){if(_0x455920[_0x293e71(0x1da)](_0x25979b[_0x3bd23f]['id'])&&_0x25979b[_0x3bd23f][_0x293e71(0x209)]&&(_0x25979b[_0x3bd23f][_0x293e71(0x23c)]=!0x0),_0x25979b[_0x3bd23f][_0x293e71(0x23c)])continue;if(0x0==_0x25979b[_0x3bd23f][_0x293e71(0x295)])continue;if(_0x293e71(0x2d2)!=_0x25979b[_0x3bd23f][_0x293e71(0x25d)])continue;if(null==_0x25979b[_0x3bd23f][_0x293e71(0x2fa)])continue;let _0x1f3071=_0x3bd23f+0x1,_0x47bbf1=0x0;for(;_0x25979b[_0x1f3071]['id']!=_0x25979b[_0x3bd23f][_0x293e71(0x2fa)];)_0x293e71(0x2d2)==_0x25979b[_0x1f3071][_0x293e71(0x25d)]?_0x47bbf1++:_0x293e71(0x281)==_0x25979b[_0x1f3071][_0x293e71(0x25d)]&&_0x47bbf1--,_0x1f3071++;if(0x0!=_0x47bbf1){if(_0x25979b[_0x3bd23f][_0x293e71(0x209)])_0x25979b[_0x3bd23f][_0x293e71(0x23c)]=!0x0;else{for(;_0x1f3071!=_0x3bd23f;)_0x25979b[_0x1f3071][_0x293e71(0x209)]&&0x0!=_0x25979b[_0x1f3071][_0x293e71(0x295)]&&(_0x25979b[_0x1f3071][_0x293e71(0x23c)]=!0x0,_0x455920[_0x293e71(0x2e1)](_0x25979b[_0x1f3071][_0x293e71(0x2fa)])),_0x1f3071--;}}}return _0x25979b[_0x293e71(0x2a4)](_0xde413e=>!_0xde413e[_0x293e71(0x23c)]);}[_0x395e85(0x276)](_0x4a6ac1){const _0x3bdf5a=_0x395e85,_0x4ae870=this[_0x3bdf5a(0x25b)][_0x3bdf5a(0x2aa)][_0x3bdf5a(0x2a5)];for(let _0x44805e=0x0;_0x44805e<_0x4a6ac1[_0x3bdf5a(0x2b4)];_0x44805e++){if(!(_0x4a6ac1[_0x44805e][_0x3bdf5a(0x1bd)]||_0x4a6ac1[_0x44805e][_0x3bdf5a(0x25c)]||_0x4a6ac1[_0x44805e][_0x3bdf5a(0x209)]||_0x4a6ac1[_0x44805e][_0x3bdf5a(0x203)]))continue;if(0x0==_0x4a6ac1[_0x44805e][_0x3bdf5a(0x295)])continue;const _0x51a277=_0x4a6ac1[_0x44805e][_0x3bdf5a(0x2e3)];_0x4ae870[_0x3bdf5a(0x1e7)](_0x51a277)||_0x4ae870[_0x3bdf5a(0x1df)](_0x51a277)||(_0x4a6ac1[_0x44805e][_0x3bdf5a(0x1bd)]&&delete _0x4a6ac1[_0x44805e][_0x3bdf5a(0x1bd)],_0x4a6ac1[_0x44805e][_0x3bdf5a(0x25c)]&&delete _0x4a6ac1[_0x44805e][_0x3bdf5a(0x25c)],_0x4a6ac1[_0x44805e][_0x3bdf5a(0x203)]&&delete _0x4a6ac1[_0x44805e][_0x3bdf5a(0x203)],_0x4a6ac1[_0x44805e][_0x3bdf5a(0x209)]&&(_0x4a6ac1[_0x44805e][_0x3bdf5a(0x23c)]=!0x0));}return _0x4a6ac1[_0x3bdf5a(0x2a4)](_0x45b1c3=>!_0x45b1c3[_0x3bdf5a(0x23c)]);}[_0x395e85(0x1f5)](_0x3569a3,_0x2d0001,_0x202de4){const _0x127722=_0x395e85,_0x2bd470=new _0x2c7ef4(),_0x25c0e5=[],_0x39ae04=new Map(),_0x5487e1=this[_0x127722(0x25b)][_0x127722(0x2aa)],_0x1b38e2=_0x5487e1[_0x127722(0x2a5)],_0x4b888a=[_0x2bd470],_0x472765={},_0x1b9bf2={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x7dac39=null;const _0x21b39b=[0x0];for(let _0x25f9ad=0x0;_0x25f9ad<_0x3569a3[_0x127722(0x2b4)];_0x25f9ad++){let _0x202144,_0x330e0f;if(_0x127722(0x2d2)===_0x3569a3[_0x25f9ad][_0x127722(0x25d)]){_0x202144=_0x5487e1[_0x127722(0x255)](_0x2bd470,_0x21b39b);const _0x22086=new _0x2d12a3(_0x3569a3[_0x25f9ad][_0x127722(0x2e3)][_0x127722(0x269)],_0x3569a3[_0x25f9ad][_0x127722(0x2e3)][_0x127722(0x2e2)]());_0x4b888a[0x0][_0x127722(0x1c1)](_0x22086),_0x21b39b[_0x127722(0x26e)](0x0),_0x4b888a[_0x127722(0x1bc)](_0x22086),_0x330e0f=_0x5487e1[_0x127722(0x255)](_0x2bd470,_0x21b39b),_0x7dac39=null;}else{if(_0x127722(0x281)===_0x3569a3[_0x25f9ad][_0x127722(0x25d)])_0x4b888a[_0x127722(0x1fc)](),_0x202144=_0x5487e1[_0x127722(0x255)](_0x2bd470,_0x21b39b),_0x21b39b[_0x127722(0x260)](),_0x21b39b[_0x21b39b[_0x127722(0x2b4)]-0x1]++,_0x330e0f=_0x5487e1[_0x127722(0x255)](_0x2bd470,_0x21b39b),_0x7dac39=null;else{if(_0x202144=_0x5487e1[_0x127722(0x255)](_0x2bd470,_0x21b39b),_0x7dac39&&_0x1a5a50(_0x7dac39,_0x3569a3[_0x25f9ad][_0x127722(0x2e3)]))_0x7dac39[_0x127722(0x215)]+=_0x3569a3[_0x25f9ad][_0x127722(0x2e3)][_0x127722(0x2ce)];else{const _0x3a113a=new _0x1c0916(_0x3569a3[_0x25f9ad][_0x127722(0x2e3)][_0x127722(0x2ce)],_0x3569a3[_0x25f9ad][_0x127722(0x2e3)][_0x127722(0x2e2)]());_0x4b888a[0x0][_0x127722(0x1c1)](_0x3a113a),_0x7dac39=_0x3a113a;}_0x21b39b[_0x21b39b[_0x127722(0x2b4)]-0x1]+=_0x3569a3[_0x25f9ad][_0x127722(0x2e3)][_0x127722(0x1bf)],_0x330e0f=_0x5487e1[_0x127722(0x255)](_0x2bd470,_0x21b39b);}}for(const _0x2fe33d of _0x3569a3[_0x25f9ad][_0x127722(0x296)])_0x39ae04[_0x127722(0x2cd)](_0x2fe33d,{'start':_0x202144,'end':null});_0x3846b0(_0x127722(0x203),_0x25f9ad,_0x202144,_0x330e0f),_0x3846b0(_0x127722(0x25c),_0x25f9ad,_0x202144,_0x330e0f),_0x3846b0(_0x127722(0x209),_0x25f9ad,_0x202144,_0x330e0f),_0x3846b0(_0x127722(0x1bd),_0x25f9ad,_0x202144,_0x330e0f);for(const _0x5b6a91 of _0x3569a3[_0x25f9ad][_0x127722(0x1d5)]){_0x39ae04[_0x127722(0x21e)](_0x5b6a91)[_0x127722(0x20c)]=_0x330e0f;}}for(const [_0x57a544,_0x2b4cef]of _0x39ae04){const _0x3a2e45=this[_0x127722(0x25b)][_0x127722(0x2aa)][_0x127722(0x230)](_0x2b4cef[_0x127722(0x2fd)],_0x2b4cef[_0x127722(0x20c)]);_0x2bd470[_0x127722(0x1f3)][_0x127722(0x2cd)](_0x57a544,_0x3a2e45);}return _0x25c0e5[_0x127722(0x1d7)]((_0x4e61f6,_0x4fb416)=>{const _0xdea692=_0x127722,_0x51a89c=_0x2bd470[_0xdea692(0x1f3)][_0xdea692(0x21e)](_0xdea692(0x27b)+_0x4e61f6['id']),_0x329bf=_0x2bd470[_0xdea692(0x1f3)][_0xdea692(0x21e)](_0xdea692(0x27b)+_0x4fb416['id']);return _0x51a89c[_0xdea692(0x2fd)][_0xdea692(0x247)](_0x329bf[_0xdea692(0x2fd)])?-0x1:_0x51a89c[_0xdea692(0x2fd)][_0xdea692(0x2a6)](_0x329bf[_0xdea692(0x2fd)])?0x1:_0x51a89c[_0xdea692(0x20c)][_0xdea692(0x247)](_0x329bf[_0xdea692(0x20c)])?-0x1:_0x51a89c[_0xdea692(0x20c)][_0xdea692(0x2a6)](_0x329bf[_0xdea692(0x20c)])?0x1:_0xdea692(0x2e1)===_0x4e61f6[_0xdea692(0x25d)]?-0x1:0x1;}),{'root':_0x2bd470,'changes':_0x25c0e5};function _0x3846b0(_0x2c8e89,_0x4e8187,_0xbe6bdd,_0x585390){const _0x4cc37f=_0x127722,_0x9c6712=!!_0x3569a3[_0x4e8187][_0x2c8e89],_0x2d035c=_0x9c6712?_0x3569a3[_0x4e8187][_0x2c8e89][_0x4cc37f(0x229)]:null,_0x16e1ab=_0x4e8187===_0x3569a3[_0x4cc37f(0x2b4)]-0x1,_0x2e947f=_0x1b9bf2[_0x2c8e89][0x0],_0x18a51d=_0x1b38e2[_0x4cc37f(0x2f9)](_0x3569a3[_0x4e8187][_0x4cc37f(0x2e3)]);!_0x472765[_0x2c8e89]&&_0x9c6712?_0x472765[_0x2c8e89]={'start':_0xbe6bdd,'tapeItem':_0x3569a3[_0x4e8187],'userId':_0x2d035c,'type':_0x2c8e89}:_0x472765[_0x2c8e89]&&!_0x9c6712?(_0x472765[_0x2c8e89][_0x4cc37f(0x20c)]=_0xbe6bdd,_0x4544d8(_0x472765[_0x2c8e89]),_0x472765[_0x2c8e89]=null):_0x472765[_0x2c8e89]&&_0x9c6712&&_0x472765[_0x2c8e89][_0x4cc37f(0x229)]!==_0x2d035c&&(_0x472765[_0x2c8e89][_0x4cc37f(0x20c)]=_0xbe6bdd,_0x2e947f&&_0x2e947f[_0x4cc37f(0x229)]===_0x472765[_0x2c8e89][_0x4cc37f(0x229)]||_0x4544d8(_0x472765[_0x2c8e89]),_0x472765[_0x2c8e89]={'start':_0xbe6bdd,'tapeItem':_0x3569a3[_0x4e8187],'userId':_0x2d035c,'type':_0x2c8e89}),_0x472765[_0x2c8e89]&&_0x18a51d&&(_0x4cc37f(0x2d2)!==_0x3569a3[_0x4e8187][_0x4cc37f(0x25d)]||_0x2e947f&&_0x2e947f[_0x4cc37f(0x229)]===_0x2d035c||_0x1b9bf2[_0x2c8e89][_0x4cc37f(0x1bc)]({'userId':_0x2d035c,'object':_0x3569a3[_0x4e8187][_0x4cc37f(0x2e3)],'change':_0x472765[_0x2c8e89]}),_0x4cc37f(0x281)===_0x3569a3[_0x4e8187][_0x4cc37f(0x25d)]&&_0x2e947f&&_0x2e947f[_0x4cc37f(0x20e)]===_0x3569a3[_0x4e8187][_0x4cc37f(0x2e3)]&&(_0x1b9bf2[_0x2c8e89][_0x4cc37f(0x1fc)](),_0x472765[_0x2c8e89]=_0x2e947f[_0x4cc37f(0x284)])),_0x472765[_0x2c8e89]&&_0x16e1ab&&(_0x472765[_0x2c8e89][_0x4cc37f(0x20c)]=_0x585390,_0x4544d8(_0x472765[_0x2c8e89]),_0x472765[_0x2c8e89]=null);}function _0x4544d8({start:_0x3fa211,end:_0x4d0416,tapeItem:_0x3279fb,userId:_0x286d24,type:_0x4f0bf9}){const _0x358bcd=_0x127722,_0x55fed1=_0x3279fb[_0x358bcd(0x2e3)],_0x1e0b2e=_0x5487e1[_0x358bcd(0x2a5)][_0x358bcd(0x1e7)](_0x55fed1)&&!_0x5487e1[_0x358bcd(0x2a5)][_0x358bcd(0x1df)](_0x55fed1),_0x23d327=_0x3fa211[_0x358bcd(0x228)]==_0x4d0416[_0x358bcd(0x2b5)]&&_0x4d0416[_0x358bcd(0x212)];if(_0x1e0b2e&&_0x23d327)return;const _0x1742de=_0x5487e1[_0x358bcd(0x230)](_0x3fa211,_0x4d0416),_0x4666c0=_0x2d0001[_0x358bcd(0x21e)](_0x286d24),_0x244e49=new _0x4c56f4({'author':_0x4666c0,'type':_0x358bcd(0x1bd)==_0x4f0bf9||_0x358bcd(0x25c)==_0x4f0bf9?_0x358bcd(0x2e1):_0x358bcd(0x1bb),'data':{'isSuggestion':_0x358bcd(0x25c)==_0x4f0bf9||_0x358bcd(0x203)==_0x4f0bf9},'createdAt':new Date(),'rootName':_0x202de4});_0x25c0e5[_0x358bcd(0x26e)](_0x244e49),_0x2bd470[_0x358bcd(0x1f3)][_0x358bcd(0x2cd)](_0x358bcd(0x27b)+_0x244e49['id'],_0x1742de);}function _0x1a5a50(_0x4bc70f,_0x2658b6){const _0x12d7e2=_0x127722,_0x163245=_0x4bc70f[_0x12d7e2(0x2e2)](),_0x5b61c9=_0x2658b6[_0x12d7e2(0x2e2)]();for(const _0x1c0081 of _0x163245){if(_0x1c0081[0x1]!==_0x2658b6[_0x12d7e2(0x232)](_0x1c0081[0x0]))return!0x1;_0x5b61c9[_0x12d7e2(0x1cc)]();}return _0x5b61c9[_0x12d7e2(0x1cc)]()[_0x12d7e2(0x24a)];}}[_0x395e85(0x2e6)](){const _0x44789a=_0x395e85;this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x1f1))[_0x44789a(0x2f0)]({'view':_0x44789a(0x301)}),this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x288))[_0x44789a(0x2bb)]({'model':_0x44789a(0x301),'view':_0x2de5b3=>{const _0x8a2ae=_0x44789a,_0x42b733=_0x2de5b3[_0x8a2ae(0x1be)][_0x8a2ae(0x28c)](':')[0x1],_0x577b1f=this[_0x8a2ae(0x217)](_0x42b733);if(!_0x577b1f)return null;const _0x3ad9b3=_0x8a2ae(0x2e1)==_0x577b1f[_0x8a2ae(0x25d)]?_0x8a2ae(0x2cc):_0x8a2ae(0x2f5),_0xb0362b=[_0x8a2ae(0x2c5),_0x8a2ae(0x2ac)+_0x3ad9b3];return _0x577b1f[_0x8a2ae(0x2ce)][_0x8a2ae(0x2b3)]&&_0xb0362b[_0x8a2ae(0x26e)](_0x8a2ae(0x2ac)+_0x3ad9b3+_0x8a2ae(0x2f1)),this[_0x8a2ae(0x240)]==_0x577b1f&&_0xb0362b[_0x8a2ae(0x26e)](_0x8a2ae(0x1ba)),{'classes':_0xb0362b,'attributes':{'data-change-id':_0x42b733}};}}),this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x1f1))[_0x44789a(0x2e1)](_0x415fcd=>{const _0xf057e2=_0x44789a;_0x415fcd['on'](_0xf057e2(0x245),(_0x1c28d5,_0x123d21,_0x5229ee)=>{const _0x25a0bf=_0xf057e2,_0x5f3745=_0x123d21[_0x25a0bf(0x2c9)][_0x25a0bf(0x29b)](0x0);if(!_0x5f3745||!_0x5f3745['is'](_0x25a0bf(0x20a),_0x25a0bf(0x2ed)))return;if(!_0x5229ee[_0x25a0bf(0x29c)][_0x25a0bf(0x242)](_0x5f3745,{'attributes':[_0x25a0bf(0x24e),_0x25a0bf(0x200)]}))return;const _0x4393a2=_0x123d21[_0x25a0bf(0x282)][_0x25a0bf(0x2fd)][_0x25a0bf(0x228)];_0x5229ee[_0x25a0bf(0x273)][_0x25a0bf(0x25e)](_0x25a0bf(0x24e),_0x5f3745[_0x25a0bf(0x232)](_0x25a0bf(0x24e)),_0x4393a2),_0x5229ee[_0x25a0bf(0x273)][_0x25a0bf(0x25e)](_0x25a0bf(0x200),_0x5f3745[_0x25a0bf(0x232)](_0x25a0bf(0x200)),_0x4393a2);},{'priority':_0xf057e2(0x222)});}),this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x1f1))[_0x44789a(0x2e1)](_0x4e6b53=>{const _0x43df8d=_0x44789a;_0x4e6b53['on'](_0x43df8d(0x20a),(_0x2506cd,_0x1df5ac,_0x5cbf1b)=>{const _0x128279=_0x43df8d;if(!_0x5cbf1b[_0x128279(0x29c)][_0x128279(0x242)](_0x1df5ac[_0x128279(0x2c9)],{'attributes':[_0x128279(0x24e),_0x128279(0x200)]}))return;if(_0x1df5ac[_0x128279(0x282)][_0x128279(0x27f)])return;const _0x40b3a6=_0x1df5ac[_0x128279(0x282)][_0x128279(0x2fd)][_0x128279(0x228)];_0x40b3a6[_0x128279(0x25f)](_0x128279(0x24e))||_0x40b3a6[_0x128279(0x25f)](_0x128279(0x1f9))||(_0x5cbf1b[_0x128279(0x273)][_0x128279(0x25e)](_0x128279(0x24e),_0x1df5ac[_0x128279(0x2c9)][_0x128279(0x232)](_0x128279(0x24e)),_0x40b3a6),_0x5cbf1b[_0x128279(0x273)][_0x128279(0x25e)](_0x128279(0x200),_0x1df5ac[_0x128279(0x2c9)][_0x128279(0x232)](_0x128279(0x200)),_0x40b3a6));},{'priority':_0x43df8d(0x222)});}),this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x1f1))[_0x44789a(0x289)]({'view':{'name':_0x44789a(0x29f),'attributes':{'vid':!0x0}},'model':{'key':_0x44789a(0x1f9),'value':_0x8fdd49=>_0x8fdd49[_0x44789a(0x232)](_0x44789a(0x1f9))}}),this[_0x44789a(0x25b)][_0x44789a(0x2aa)][_0x44789a(0x2a5)]['on'](_0x44789a(0x227),(_0x33e60b,[,_0x3b8943])=>{const _0x90e9a0=_0x44789a;[_0x90e9a0(0x24e),_0x90e9a0(0x200),_0x90e9a0(0x1f9)][_0x90e9a0(0x259)](_0x3b8943)&&(_0x33e60b[_0x90e9a0(0x1c9)]=!0x0,_0x33e60b[_0x90e9a0(0x290)]());},{'priority':_0x44789a(0x2e0)}),this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x1b9))[_0x44789a(0x2e1)](_0x648d46=>{const _0x23919d=_0x44789a;_0x648d46['on'](_0x23919d(0x2dd),(_0x127dff,_0x430570,_0x426ba5)=>{const _0x2544ea=_0x23919d;if('\x20'!=_0x430570[_0x2544ea(0x2e3)][_0x2544ea(0x2ce)]||_0x430570[_0x2544ea(0x2e3)][_0x2544ea(0x2b5)][_0x2544ea(0x223)]>0x1)return;if(!_0x426ba5[_0x2544ea(0x29c)][_0x2544ea(0x242)](_0x430570[_0x2544ea(0x2e3)],_0x127dff[_0x2544ea(0x269)]))return;const _0x844a3c=_0x426ba5[_0x2544ea(0x273)],_0x3dc882=_0x426ba5[_0x2544ea(0x2eb)][_0x2544ea(0x2e7)](_0x430570[_0x2544ea(0x221)]);_0x844a3c[_0x2544ea(0x257)](_0x3dc882,_0x844a3c[_0x2544ea(0x265)](_0x2544ea(0x29f)));});}),this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x1b9))[_0x44789a(0x2c6)]({'model':_0x44789a(0x301)}),this[_0x44789a(0x25b)][_0x44789a(0x2f6)][_0x44789a(0x2ea)]['on'](_0x44789a(0x225),function(_0x1af87d){const _0x1b5a8a=_0x44789a,_0x5da8e9=_0x1af87d[_0x1b5a8a(0x23d)][_0x1b5a8a(0x21e)](_0x1b5a8a(0x20f));return(_0x229dd6,_0x33d56d,_0x76670e)=>{const _0x346f10=_0x1b5a8a,_0x46faff=_0x33d56d[_0x346f10(0x1be)][_0x346f10(0x28c)](':')[0x1],_0x1d82b9=_0x5da8e9[_0x346f10(0x217)](_0x46faff);if(!_0x1d82b9)return null;const _0x1f4dee=_0x346f10(0x2e1)==_0x1d82b9[_0x346f10(0x25d)]?_0x346f10(0x28c):_0x346f10(0x226);if(!_0x76670e[_0x346f10(0x29c)][_0x346f10(0x1dc)](_0x33d56d[_0x346f10(0x2ba)],_0x229dd6[_0x346f10(0x269)]))return;const _0x37cef2=_0x33d56d[_0x346f10(0x2ba)][_0x346f10(0x2bf)](),_0x301be9=_0x33d56d[_0x346f10(0x2ba)][_0x346f10(0x2fd)],_0x5e1e80=_0x1af87d[_0x346f10(0x2aa)][_0x346f10(0x2a5)];let _0x491baf=null,_0x55e411=null,_0x1583dc=!0x1,_0x4dc4be=!0x1;for(const _0x1a3fd3 of _0x37cef2){const _0x33512b=_0x1a3fd3[_0x346f10(0x2e3)];_0x1583dc=_0x1583dc||_0x5e1e80[_0x346f10(0x2d0)](_0x33512b);const _0x40b091=_0x76670e[_0x346f10(0x2eb)][_0x346f10(0x1e4)](_0x33512b);if(_0x40b091&&_0x40b091[_0x346f10(0x21c)](_0x346f10(0x216)))return;_0x346f10(0x281)==_0x1a3fd3[_0x346f10(0x25d)]&&(_0x5e1e80[_0x346f10(0x1e7)](_0x33512b)&&!_0x5e1e80[_0x346f10(0x1df)](_0x33512b)&&(_0x33512b[_0x346f10(0x28e)]||_0x301be9[_0x346f10(0x235)]?_0x491baf&&_0x491baf[_0x346f10(0x2b5)]==_0x33512b||(_0x491baf=_0x33512b,_0x55a220(_0x1a3fd3[_0x346f10(0x2db)]),_0x4dc4be=!0x0):_0x55e411=_0x55e411||_0x1a3fd3[_0x346f10(0x2db)]));}function _0x55a220(_0x1da7d8){const _0x1ae7e5=_0x346f10,_0x29eb98=_0x76670e[_0x1ae7e5(0x273)][_0x1ae7e5(0x267)](_0x1ae7e5(0x29f),{'class':_0x1ae7e5(0x2ac)+_0x1f4dee}),_0x2c6030=_0x76670e[_0x1ae7e5(0x2eb)][_0x1ae7e5(0x2c0)](_0x1da7d8);_0x1d82b9[_0x1ae7e5(0x2ce)][_0x1ae7e5(0x2b3)]&&_0x76670e[_0x1ae7e5(0x273)][_0x1ae7e5(0x1b7)](_0x1ae7e5(0x2ac)+_0x1f4dee+_0x1ae7e5(0x2f1),_0x29eb98),_0x5da8e9[_0x1ae7e5(0x240)]==_0x1d82b9&&_0x76670e[_0x1ae7e5(0x273)][_0x1ae7e5(0x1b7)](_0x1ae7e5(0x1ba),_0x29eb98),_0x76670e[_0x1ae7e5(0x273)][_0x1ae7e5(0x275)](_0x2c6030,_0x29eb98),_0x76670e[_0x1ae7e5(0x2eb)][_0x1ae7e5(0x250)](_0x29eb98,_0x33d56d[_0x1ae7e5(0x1be)]);}_0x1583dc||_0x4dc4be||!_0x55e411||_0x55a220(_0x55e411);};}(this[_0x44789a(0x25b)]),{'priority':_0x44789a(0x26c)}),this[_0x44789a(0x25b)][_0x44789a(0x2f6)][_0x44789a(0x2ea)]['on'](_0x44789a(0x22a),(_0x5f19ac,_0x2d82d6,_0x18e109)=>{const _0x403c8d=_0x44789a,_0x27fed8=_0x18e109[_0x403c8d(0x2eb)][_0x403c8d(0x1fa)](_0x2d82d6[_0x403c8d(0x1be)]);if(_0x27fed8){for(const _0x4efb19 of _0x27fed8)(_0x4efb19[_0x403c8d(0x204)](_0x403c8d(0x210))||_0x4efb19[_0x403c8d(0x204)](_0x403c8d(0x23b)))&&(_0x18e109[_0x403c8d(0x2eb)][_0x403c8d(0x270)](_0x4efb19,_0x2d82d6[_0x403c8d(0x1be)]),_0x18e109[_0x403c8d(0x273)][_0x403c8d(0x1bb)](_0x4efb19));}},{'priority':_0x44789a(0x26c)}),this[_0x44789a(0x25b)][_0x44789a(0x2f6)][_0x44789a(0x2ea)]['on'](_0x44789a(0x225),(_0x4780d1,_0x2816a3,_0x1f766c)=>{const _0x499712=_0x44789a,_0x521abe=_0x2816a3[_0x499712(0x1be)][_0x499712(0x28c)](':')[0x1],_0x16b84d=this[_0x499712(0x217)](_0x521abe);if(!_0x16b84d)return null;const _0x3b3d43=_0x499712(0x2e1)==_0x16b84d[_0x499712(0x25d)]?_0x499712(0x28c):_0x499712(0x226);if(_0x1f766c[_0x499712(0x29c)][_0x499712(0x1dc)](_0x2816a3[_0x499712(0x2ba)],_0x4780d1[_0x499712(0x269)]))for(const _0x5628ae of _0x2816a3[_0x499712(0x2ba)][_0x499712(0x299)]()){if(!_0x5628ae['is'](_0x499712(0x20a),_0x499712(0x2fb)))continue;const _0x5826e6=_0x1f766c[_0x499712(0x273)][_0x499712(0x267)](_0x499712(0x29f),{'class':_0x499712(0x2ac)+_0x3b3d43}),_0x108434=_0x1f766c[_0x499712(0x2eb)][_0x499712(0x2c0)](this[_0x499712(0x25b)][_0x499712(0x2aa)][_0x499712(0x27a)](_0x5628ae));_0x16b84d[_0x499712(0x2ce)][_0x499712(0x2b3)]&&_0x1f766c[_0x499712(0x273)][_0x499712(0x1b7)](_0x499712(0x2ac)+_0x3b3d43+_0x499712(0x2f1),_0x5826e6),this[_0x499712(0x240)]==_0x16b84d&&_0x1f766c[_0x499712(0x273)][_0x499712(0x1b7)](_0x499712(0x1ba),_0x5826e6),_0x1f766c[_0x499712(0x273)][_0x499712(0x275)](_0x108434,_0x5826e6),_0x1f766c[_0x499712(0x2eb)][_0x499712(0x250)](_0x5826e6,_0x2816a3[_0x499712(0x1be)]);}},{'priority':_0x44789a(0x26c)}),this[_0x44789a(0x25b)][_0x44789a(0x2aa)][_0x44789a(0x278)]['on'](_0x44789a(0x284),()=>{const _0x171734=_0x44789a;this[_0x171734(0x25b)][_0x171734(0x2f6)][_0x171734(0x2be)][_0x171734(0x284)](_0x42dac9=>{const _0x52e9b5=_0x171734;for(const _0x532a11 of this[_0x52e9b5(0x25b)][_0x52e9b5(0x2aa)][_0x52e9b5(0x278)][_0x52e9b5(0x27d)]()){const _0xb38280=this[_0x52e9b5(0x25b)][_0x52e9b5(0x2aa)][_0x52e9b5(0x278)][_0x52e9b5(0x297)](_0x532a11),_0x3ee181=this[_0x52e9b5(0x25b)][_0x52e9b5(0x2f6)][_0x52e9b5(0x2be)][_0x52e9b5(0x278)][_0x52e9b5(0x297)](_0x532a11);if(_0x3ee181){const _0xe34989=_0xb38280[_0x52e9b5(0x232)](_0x52e9b5(0x236));if(_0x42dac9[_0x52e9b5(0x1d0)](_0x52e9b5(0x2ff),_0x3ee181),_0x42dac9[_0x52e9b5(0x2d1)](_0x52e9b5(0x2b7),_0x3ee181),_0x42dac9[_0x52e9b5(0x2d1)](_0x52e9b5(0x2ae),_0x3ee181),_0x42dac9[_0x52e9b5(0x2d1)](_0x52e9b5(0x279),_0x3ee181),_0xe34989){const _0x5ebf10=this[_0x52e9b5(0x217)](_0xe34989);if(!_0x5ebf10)return null;_0x42dac9[_0x52e9b5(0x25e)](_0x52e9b5(0x2ff),_0xe34989,_0x3ee181),_0x42dac9[_0x52e9b5(0x1b7)](_0x52e9b5(0x2ef)+_0x5ebf10[_0x52e9b5(0x25d)],_0x3ee181),this[_0x52e9b5(0x240)]==_0x5ebf10&&_0x42dac9[_0x52e9b5(0x1b7)](_0x52e9b5(0x279),_0x3ee181);}}}});}),this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x1f1))[_0x44789a(0x2f0)]({'view':_0x44789a(0x239),'model':_0x29f628=>_0x44789a(0x1d2)+_0x29f628,'converterPriority':_0x44789a(0x2e0)}),this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x1f1))[_0x44789a(0x2f0)]({'view':_0x44789a(0x2f7),'model':_0x7c810=>_0x44789a(0x2f3)+_0x7c810,'converterPriority':_0x44789a(0x2e0)}),this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x1b9))[_0x44789a(0x2c6)]({'model':_0x44789a(0x1d3),'view':_0x1db097=>({'name':_0x44789a(0x22d)+_0x1db097,'group':_0x44789a(0x1d3)}),'converterPriority':_0x44789a(0x2e0)}),this[_0x44789a(0x25b)][_0x44789a(0x1c2)][_0x44789a(0x2c7)](_0x44789a(0x288))[_0x44789a(0x2bb)]({'model':_0x44789a(0x1d3),'view':_0x2cccd6=>{const _0x1903a8=_0x44789a,_0x509368=_0x2cccd6[_0x1903a8(0x1be)][_0x1903a8(0x28c)](':')[0x1];return _0x1903a8(0x2cc)!=_0x509368&&_0x1903a8(0x2f5)!=_0x509368?null:{'classes':[_0x1903a8(0x262),_0x1903a8(0x224)+_0x509368]};}}),this[_0x44789a(0x25b)][_0x44789a(0x2f6)][_0x44789a(0x2ea)]['on'](_0x44789a(0x294),et(this[_0x44789a(0x25b)],_0x44789a(0x226)),{'priority':_0x44789a(0x26c)}),this[_0x44789a(0x25b)][_0x44789a(0x2f6)][_0x44789a(0x2ea)]['on'](_0x44789a(0x280),et(this[_0x44789a(0x25b)],_0x44789a(0x28c)),{'priority':_0x44789a(0x26c)}),this[_0x44789a(0x25b)][_0x44789a(0x2f6)][_0x44789a(0x2ea)]['on'](_0x44789a(0x1f7),(_0x38fd58,_0x32618a,_0x47855a)=>{const _0x467949=_0x44789a,_0x52e81a=_0x47855a[_0x467949(0x2eb)][_0x467949(0x1fa)](_0x32618a[_0x467949(0x1be)]);if(_0x52e81a){for(const _0x22483c of _0x52e81a)_0x22483c['is'](_0x467949(0x23a))&&(_0x47855a[_0x467949(0x2eb)][_0x467949(0x270)](_0x22483c,_0x32618a[_0x467949(0x1be)]),_0x47855a[_0x467949(0x273)][_0x467949(0x1bb)](_0x22483c));}},{'priority':_0x44789a(0x26c)});}[_0x395e85(0x217)](_0x26867d){const _0x5a74bd=_0x395e85;return this[_0x5a74bd(0x2fe)][_0x5a74bd(0x21e)](_0x26867d);}[_0x395e85(0x21a)](_0x2a8565){const _0x2b9e5b=_0x395e85;return this[_0x2b9e5b(0x2f8)]&&this[_0x2b9e5b(0x2f8)][_0x2b9e5b(0x234)](),this[_0x2b9e5b(0x2f8)]=new _0x5b7233(this[_0x2b9e5b(0x25b)][_0x2b9e5b(0x1ea)],_0x2a8565),this[_0x2b9e5b(0x2f8)];}[_0x395e85(0x1b3)](){const _0x3ba571=_0x395e85;this[_0x3ba571(0x25b)][_0x3ba571(0x2aa)][_0x3ba571(0x278)][_0x3ba571(0x2b2)][_0x3ba571(0x253)](_0x3ba571(0x301)),this['on'](_0x3ba571(0x1ca),(_0x19c511,_0x4011ab,_0x5a3cbb,_0x51bd89)=>{const _0x2f9636=_0x3ba571;_0x51bd89&&this[_0x2f9636(0x28f)][_0x2f9636(0x1bb)](_0x51bd89),_0x5a3cbb&&(this[_0x2f9636(0x28f)][_0x2f9636(0x2e1)]({'view':_0x5a3cbb,'stackId':_0x2f9636(0x2de),'position':{'target':()=>{const _0x2972cf=_0x2f9636,_0x1f675f=this[_0x2972cf(0x25b)][_0x2972cf(0x2f6)],_0x93fd48=this[_0x2972cf(0x217)](_0x5a3cbb[_0x2972cf(0x205)]);let _0x146ded;if(_0x93fd48[_0x2972cf(0x2ce)][_0x2972cf(0x1de)]){const _0x864596=_0x1f675f[_0x2972cf(0x2be)][_0x2972cf(0x2bc)](_0x93fd48[_0x2972cf(0x213)]);_0x146ded=Array[_0x2972cf(0x248)](_0x864596[_0x2972cf(0x2c1)]());}else{const _0x100e6a=this[_0x2972cf(0x25b)][_0x2972cf(0x2aa)][_0x2972cf(0x1f3)][_0x2972cf(0x21e)](_0x2972cf(0x27b)+_0x5a3cbb[_0x2972cf(0x205)]);_0x146ded=Array[_0x2972cf(0x248)](_0x1f675f[_0x2972cf(0x2eb)][_0x2972cf(0x1fa)](_0x100e6a[_0x2972cf(0x269)]))[_0x2972cf(0x1fe)](_0x45b79d=>_0x1f675f[_0x2972cf(0x2be)][_0x2972cf(0x202)][_0x2972cf(0x2f4)](_0x45b79d))[_0x2972cf(0x1fe)](_0x535225=>Array[_0x2972cf(0x248)](_0x535225[_0x2972cf(0x2c1)]()))[_0x2972cf(0x246)]();}if(!this[_0x2972cf(0x1d4)])return _0x146ded[0x0];return _0x146ded[_0x2972cf(0x2b8)](_0xd0bd60=>_0xd0bd60[_0x2972cf(0x27c)]-0x3<=this[_0x2972cf(0x1d4)]['y']&&_0xd0bd60[_0x2972cf(0x22e)]+0x3>=this[_0x2972cf(0x1d4)]['y']&&_0xd0bd60[_0x2972cf(0x219)]-0x3<=this[_0x2972cf(0x1d4)]['x']&&_0xd0bd60[_0x2972cf(0x243)]+0x3>=this[_0x2972cf(0x1d4)]['x'])||_0x146ded[0x0];}}}),this[_0x2f9636(0x28f)][_0x2f9636(0x1ff)](_0x2f9636(0x2de)));}),this['on'](_0x3ba571(0x207),(_0x44010e,_0x2f37f9,_0xd72ac4,_0x5b9ca9)=>{const _0x4c66b3=_0x3ba571;this[_0x4c66b3(0x2ec)]=_0xd72ac4?this[_0x4c66b3(0x21a)](_0xd72ac4):null,this[_0x4c66b3(0x25b)][_0x4c66b3(0x2aa)][_0x4c66b3(0x284)](()=>{const _0x471ab2=_0x4c66b3,_0x1e082f=this[_0x471ab2(0x25b)][_0x471ab2(0x2f6)];_0x5b9ca9&&(_0x5b9ca9[_0x471ab2(0x2ce)][_0x471ab2(0x1de)]?_0x1e082f[_0x471ab2(0x2be)][_0x471ab2(0x284)](_0x403e27=>{const _0x335c90=_0x471ab2;_0x403e27[_0x335c90(0x2d1)](_0x335c90(0x279),_0x1e082f[_0x335c90(0x2be)][_0x335c90(0x278)][_0x335c90(0x297)](_0x5b9ca9[_0x335c90(0x213)]));}):_0x1e082f[_0x471ab2(0x20d)](_0x471ab2(0x27b)+_0x5b9ca9['id'])),_0xd72ac4&&(_0xd72ac4[_0x471ab2(0x2ce)][_0x471ab2(0x1de)]?_0x1e082f[_0x471ab2(0x2be)][_0x471ab2(0x284)](_0x26b9a0=>{const _0x1742a6=_0x471ab2;_0x26b9a0[_0x1742a6(0x1b7)](_0x1742a6(0x279),_0x1e082f[_0x1742a6(0x2be)][_0x1742a6(0x278)][_0x1742a6(0x297)](_0xd72ac4[_0x1742a6(0x213)]));}):_0x1e082f[_0x471ab2(0x20d)](_0x471ab2(0x27b)+_0xd72ac4['id']));});}),this[_0x3ba571(0x23e)](this[_0x3ba571(0x25b)][_0x3ba571(0x2f6)][_0x3ba571(0x2be)][_0x3ba571(0x278)],_0x3ba571(0x1c0),(_0x52129f,_0x1e707d)=>{const _0x37df2a=_0x3ba571;if(this[_0x37df2a(0x240)])return;const _0xf7a377=this[_0x37df2a(0x2ab)](_0x1e707d[_0x37df2a(0x1e9)]),_0x5256e9=this[_0x37df2a(0x2fe)][_0x37df2a(0x21e)](_0xf7a377);_0x5256e9?(this[_0x37df2a(0x1d4)]={'x':_0x1e707d[_0x37df2a(0x2b9)]['x'],'y':_0x1e707d[_0x37df2a(0x2b9)]['y']},this[_0x37df2a(0x2ec)]=this[_0x37df2a(0x21a)](_0x5256e9)):(this[_0x37df2a(0x1d4)]=null,this[_0x37df2a(0x2ec)]=null);}),this[_0x3ba571(0x23e)](this[_0x3ba571(0x25b)][_0x3ba571(0x2f6)][_0x3ba571(0x2be)][_0x3ba571(0x278)],_0x3ba571(0x285),(_0x2d2092,_0x3af732)=>{const _0x6f8466=_0x3ba571,_0x4415fa=this[_0x6f8466(0x2ab)](_0x3af732[_0x6f8466(0x1e9)]),_0x49ef7a=this[_0x6f8466(0x2fe)][_0x6f8466(0x21e)](_0x4415fa);_0x49ef7a?(this[_0x6f8466(0x1d4)]={'x':_0x3af732[_0x6f8466(0x2b9)]['x'],'y':_0x3af732[_0x6f8466(0x2b9)]['y']},_0x49ef7a===this[_0x6f8466(0x240)]?this[_0x6f8466(0x28f)][_0x6f8466(0x1c3)]():this[_0x6f8466(0x240)]=_0x49ef7a):(this[_0x6f8466(0x1d4)]=null,this[_0x6f8466(0x240)]=null);});}[_0x395e85(0x2ab)](_0x5c57e1){const _0x5c0022=_0x395e85;do{const _0x2f7e58=_0x5c57e1[_0x5c0022(0x232)](_0x5c0022(0x2ff));if(_0x2f7e58)return _0x2f7e58;_0x5c57e1=_0x5c57e1[_0x5c0022(0x2b5)];}while(_0x5c57e1);return null;}[_0x395e85(0x1cb)](){const _0x4b8132=_0x395e85;this[_0x4b8132(0x25b)][_0x4b8132(0x2aa)][_0x4b8132(0x284)](_0x41d2f8=>{const _0x540946=_0x4b8132;for(const _0xcb8176 of this[_0x540946(0x25b)][_0x540946(0x2aa)][_0x540946(0x1f3)])_0x41d2f8[_0x540946(0x2e8)](_0xcb8176);});}}function et(_0x4db78f,_0x421e3b){return(_0x25932c,_0x28a340,_0x1fea1c)=>{const _0x2b62b1=_0x3a4c;if(!_0x1fea1c[_0x2b62b1(0x29c)][_0x2b62b1(0x1dc)](_0x28a340[_0x2b62b1(0x2ba)],_0x25932c[_0x2b62b1(0x269)]))return;const _0x5a5086=_0x28a340[_0x2b62b1(0x2ba)][_0x2b62b1(0x2bf)](),_0x1f941a=_0x28a340[_0x2b62b1(0x2ba)][_0x2b62b1(0x2fd)],_0x3244f8=_0x4db78f[_0x2b62b1(0x2aa)][_0x2b62b1(0x2a5)];let _0x44a9b8=null,_0x4a88cc=null,_0x302fc1=!0x1,_0x2f2476=!0x1;for(const _0x38e921 of _0x5a5086){const _0x53bd65=_0x38e921[_0x2b62b1(0x2e3)];_0x302fc1=_0x302fc1||_0x3244f8[_0x2b62b1(0x2d0)](_0x53bd65);const _0x32b3f2=_0x1fea1c[_0x2b62b1(0x2eb)][_0x2b62b1(0x1e4)](_0x53bd65);if(_0x32b3f2&&_0x32b3f2[_0x2b62b1(0x21c)](_0x2b62b1(0x216)))return;_0x2b62b1(0x281)==_0x38e921[_0x2b62b1(0x25d)]&&(_0x3244f8[_0x2b62b1(0x1e7)](_0x53bd65)&&!_0x3244f8[_0x2b62b1(0x1df)](_0x53bd65)&&(_0x53bd65[_0x2b62b1(0x28e)]||_0x1f941a[_0x2b62b1(0x235)]?_0x44a9b8&&_0x44a9b8[_0x2b62b1(0x2b5)]==_0x53bd65||(_0x44a9b8=_0x53bd65,_0x5303d2(_0x38e921[_0x2b62b1(0x2db)]),_0x2f2476=!0x0):_0x4a88cc=_0x4a88cc||_0x38e921[_0x2b62b1(0x2db)]));}function _0x5303d2(_0x1fd702){const _0xfdb3a0=_0x2b62b1,_0xf55488=_0x1fea1c[_0xfdb3a0(0x2eb)][_0xfdb3a0(0x2c0)](_0x1fd702),_0x4d98=_0x1fea1c[_0xfdb3a0(0x273)][_0xfdb3a0(0x267)](_0xfdb3a0(0x29f),{'class':_0xfdb3a0(0x224)+_0x421e3b});_0x1fea1c[_0xfdb3a0(0x273)][_0xfdb3a0(0x275)](_0xf55488,_0x4d98),_0x1fea1c[_0xfdb3a0(0x2eb)][_0xfdb3a0(0x250)](_0x4d98,_0x28a340[_0xfdb3a0(0x1be)]);}_0x302fc1||_0x2f2476||!_0x4a88cc||_0x5303d2(_0x4a88cc);};}export class RestoreRevisionCommand extends _0xc0747d{constructor(_0x2d1a3e){const _0x44654c=_0x395e85;super(_0x2d1a3e);const _0xd186aa=_0x2d1a3e[_0x44654c(0x23d)][_0x44654c(0x21e)](d);this[_0x44654c(0x2a2)]=!0x1,this[_0x44654c(0x23e)](_0xd186aa,_0x44654c(0x2ca),()=>this[_0x44654c(0x261)]()),this[_0x44654c(0x23e)](_0xd186aa,_0x44654c(0x218),()=>this[_0x44654c(0x261)]());}[_0x395e85(0x2f2)](){const _0x30857d=_0x395e85,_0x2827fb=this[_0x30857d(0x25b)],_0x2a37aa=_0x2827fb[_0x30857d(0x23d)][_0x30857d(0x21e)](d),_0x58e910=_0x2a37aa[_0x30857d(0x274)]?_0x2a37aa[_0x30857d(0x1b5)][_0x30857d(0x28b)]:null;_0x2827fb[_0x30857d(0x1e1)][_0x30857d(0x21e)](_0x30857d(0x293))[_0x30857d(0x2dc)](_0x58e910);}[_0x395e85(0x261)](){const _0x5f1e7a=_0x395e85,{isReady:_0x3b8443,isEnabled:_0x184c95}=this[_0x5f1e7a(0x25b)][_0x5f1e7a(0x23d)][_0x5f1e7a(0x21e)](d);this[_0x5f1e7a(0x2d7)]=_0x3b8443&&_0x184c95;}}export class ShowChangeCommand extends _0xc0747d{constructor(_0x578a6b,{direction:_0x2c09bb}){const _0x44f603=_0x395e85;super(_0x578a6b);const _0x153099=_0x578a6b[_0x44f603(0x23d)][_0x44f603(0x21e)](d);this[_0x44f603(0x2a2)]=!0x1,this[_0x44f603(0x2c4)]=_0x44f603(0x2bd)===_0x2c09bb?0x1:-0x1,this[_0x44f603(0x23e)](_0x153099,_0x44f603(0x2ca),()=>this[_0x44f603(0x261)]()),this[_0x44f603(0x23e)](_0x153099,_0x44f603(0x218),()=>this[_0x44f603(0x261)]()),this[_0x44f603(0x23e)](_0x153099,_0x44f603(0x207),()=>this[_0x44f603(0x261)]());}[_0x395e85(0x2f2)](){const _0xb36c65=_0x395e85,_0x3b4eea=this[_0xb36c65(0x25b)],_0x586d92=_0x3b4eea[_0xb36c65(0x23d)][_0xb36c65(0x21e)](d),{isNavigationMode:_0x47a338,currentChangeNumber:_0x196949}=_0x586d92;let _0x20aec7;if(_0x586d92[_0xb36c65(0x240)]=_0x47a338?_0x586d92[_0xb36c65(0x1b5)][_0xb36c65(0x28a)][_0xb36c65(0x21e)](_0x196949+this[_0xb36c65(0x2c4)]):_0x586d92[_0xb36c65(0x1b5)][_0xb36c65(0x28a)][_0xb36c65(0x26b)],_0x586d92[_0xb36c65(0x240)][_0xb36c65(0x2ce)][_0xb36c65(0x1de)])_0x20aec7=_0x3b4eea[_0xb36c65(0x2f6)][_0xb36c65(0x2be)][_0xb36c65(0x2bc)](_0x586d92[_0xb36c65(0x240)][_0xb36c65(0x213)]);else{const _0x1ab758=_0x3b4eea[_0xb36c65(0x2aa)][_0xb36c65(0x1f3)][_0xb36c65(0x21e)](_0xb36c65(0x27b)+_0x586d92[_0xb36c65(0x240)]['id']);_0x20aec7=_0x44a07f(_0x3b4eea[_0xb36c65(0x2f6)],_0x1ab758);}_0x4524a3({'target':_0x20aec7,'viewportOffset':0x28});}[_0x395e85(0x261)](){const _0x2994d0=_0x395e85,{isNavigationMode:_0x3e8651,currentChangeNumber:_0x3a61d3,numberOfChanges:_0x274769,isReady:_0x4aa117,isEnabled:_0x556bd0}=this[_0x2994d0(0x25b)][_0x2994d0(0x23d)][_0x2994d0(0x21e)](d);this[_0x2994d0(0x2d7)]=!!(_0x556bd0&&_0x4aa117&&_0x274769)&&(!_0x3e8651||(0x1===this[_0x2994d0(0x2c4)]?_0x3a61d3<_0x274769-0x1:_0x3a61d3>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x27af(_0x493a67,_0x13f1a7){const _0x2982ab=_0x2982();return _0x27af=function(_0x27af79,_0x36ebaf){_0x27af79=_0x27af79-0x1bf;let _0x56132e=_0x2982ab[_0x27af79];return _0x56132e;},_0x27af(_0x493a67,_0x13f1a7);}(function(_0x341831,_0x47415b){const _0x13bab6=_0x27af,_0xcf8021=_0x341831();while(!![]){try{const _0x1a9616=parseInt(_0x13bab6(0x1e9))/0x1+-parseInt(_0x13bab6(0x1eb))/0x2*(-parseInt(_0x13bab6(0x1dc))/0x3)+-parseInt(_0x13bab6(0x1e1))/0x4+parseInt(_0x13bab6(0x1cc))/0x5*(parseInt(_0x13bab6(0x1cf))/0x6)+parseInt(_0x13bab6(0x1d8))/0x7*(-parseInt(_0x13bab6(0x1c1))/0x8)+parseInt(_0x13bab6(0x1e2))/0x9+-parseInt(_0x13bab6(0x1d6))/0xa;if(_0x1a9616===_0x47415b)break;else _0xcf8021['push'](_0xcf8021['shift']());}catch(_0x2f7265){_0xcf8021['push'](_0xcf8021['shift']());}}}(_0x2982,0x46eeb));import{Collection as _0x4b40a3}from'ckeditor5/src/utils.js';import{icons as _0x521072}from'ckeditor5/src/core.js';import{ViewModel as _0x43a7e7,addListToDropdown as _0x18600e,createDropdown as _0x1fc025}from'ckeditor5/src/ui.js';function _0x2982(){const _0x3c005b=['add','action','listView','bindTemplate','Show\x20more\x20items','stopPropagation','extendTemplate','source','Restore\x20this\x20revision','Compare\x20against\x20selected','4815LlxntP','isVisible','first','1116PYPSzB','bind','class','items','buttonView','ck-on','isOpen','6602570PAEDqM','model','332332ltHUZX','ck-revision-history-sidebar__revision__actions','isActionsDropdownOpen','Name\x20this\x20revision','12KzdUGk','isReady','isEnabled','panelPosition','listenTo','732868pxMTYw','777681tHIOqL','menu','function','children','find','menuitem','locale','464746jnYajm','execute','249346ejCWoo','map','name','threeVerticalDots','set','_action','change:isActionsDropdownOpen','button','16seCTbB'];_0x2982=function(){return _0x3c005b;};return _0x2982();}import{getTranslation as _0x3781ab}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0xf0ed6c,_0x5086a9){const _0xa2de7c=_0x27af,_0x4d58c2=_0xf0ed6c[_0xa2de7c(0x1c5)],_0x586882=_0xf0ed6c[_0xa2de7c(0x1e8)],_0x4608ba=_0x1fc025(_0x586882);_0x4608ba[_0xa2de7c(0x1df)]='sw';const _0x25661b=function(_0x2ec9b7,_0x2949e3){const _0x4f32c5=_0xa2de7c,_0x677bae=function(_0x9264cb,_0x4363c7){const _0x27e588=_0x27af,_0x39fc48=_0x9264cb[_0x27e588(0x1e8)],_0x2f4218={'Compare\x20against\x20selected':_0x3781ab(_0x39fc48,_0x27e588(0x1cb)),'Name\x20this\x20revision':_0x3781ab(_0x39fc48,_0x27e588(0x1db)),'Restore\x20this\x20revision':_0x3781ab(_0x39fc48,_0x27e588(0x1ca))};return _0x4363c7[_0x27e588(0x1ec)](_0x81478d=>{const _0x464c2e=_0x27e588,_0x4a9250=_0x2f4218[_0x81478d[_0x464c2e(0x1ed)]];return _0x4a9250&&_0x4a9250!==_0x81478d[_0x464c2e(0x1ed)]&&(_0x81478d[_0x464c2e(0x1ed)]=_0x4a9250),_0x81478d;});}(_0x2ec9b7,_0x2949e3),_0x47542c=new _0x4b40a3();for(const _0x7d90a6 of _0x677bae){const _0x1dd76f={'type':_0x4f32c5(0x1c0),'model':new _0x43a7e7({'label':_0x7d90a6[_0x4f32c5(0x1ed)],'class':_0x7d90a6[_0x4f32c5(0x1d1)],'withText':!0x0,'role':_0x4f32c5(0x1e7),'_action':_0x7d90a6[_0x4f32c5(0x1c3)]})};_0x1dd76f[_0x4f32c5(0x1d7)][_0x4f32c5(0x1d0)](_0x4f32c5(0x1de))['to'](_0x2ec9b7,_0x4f32c5(0x1da),_0x44635f=>_0x4f32c5(0x1e4)!=typeof _0x7d90a6[_0x4f32c5(0x1de)]||(!_0x44635f||_0x7d90a6[_0x4f32c5(0x1de)](_0x2ec9b7))),_0x47542c[_0x4f32c5(0x1c2)](_0x1dd76f);}return _0x47542c;}(_0xf0ed6c,_0x5086a9);return _0xf0ed6c[_0xa2de7c(0x1d0)](_0xa2de7c(0x1da))['to'](_0x4608ba,_0xa2de7c(0x1d5)),_0x4608ba[_0xa2de7c(0x1d3)][_0xa2de7c(0x1ef)]({'label':_0x3781ab(_0x586882,_0xa2de7c(0x1c6)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x521072[_0xa2de7c(0x1ee)]}),_0x4608ba[_0xa2de7c(0x1c8)]({'attributes':{'class':[_0xa2de7c(0x1d9),_0x4d58c2['if'](_0xa2de7c(0x1da),_0xa2de7c(0x1d4))]},'on':{'click':_0x4d58c2['to'](_0x5b8c7b=>_0x5b8c7b[_0xa2de7c(0x1c7)]())}}),_0x4608ba['on'](_0xa2de7c(0x1ea),_0x3ff11b=>{const _0x59d409=_0xa2de7c;_0xf0ed6c[_0x59d409(0x1dd)]&&_0x59d409(0x1e4)==typeof _0x3ff11b[_0x59d409(0x1c9)][_0x59d409(0x1f0)]&&_0x3ff11b[_0x59d409(0x1c9)][_0x59d409(0x1f0)](_0xf0ed6c);}),_0x18600e(_0x4608ba,_0x25661b,{'role':_0xa2de7c(0x1e3)}),_0x4608ba[_0xa2de7c(0x1e0)](_0xf0ed6c,_0xa2de7c(0x1bf),(_0x472823,_0x219c28,_0x576d30)=>{const _0x583fae=_0xa2de7c;if(_0x576d30)for(const _0xc08333 of _0x4608ba[_0x583fae(0x1c4)][_0x583fae(0x1d2)]){const _0x277ba7=_0xc08333[_0x583fae(0x1e5)][_0x583fae(0x1ce)],_0x197b1e=_0x5086a9[_0x583fae(0x1e6)](_0x12e77b=>_0x12e77b[_0x583fae(0x1c3)]===_0x277ba7[_0x583fae(0x1f0)])[_0x583fae(0x1cd)];_0xc08333[_0x583fae(0x1cd)]=void 0x0===_0x197b1e||_0x197b1e(_0xf0ed6c);}}),_0x4608ba;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x282ecb,_0x3a9371){const _0x508283=_0x3bfb,_0x1a2dea=_0x282ecb();while(!![]){try{const _0x1333b7=parseInt(_0x508283(0xac))/0x1*(-parseInt(_0x508283(0xad))/0x2)+parseInt(_0x508283(0xb8))/0x3+parseInt(_0x508283(0xb0))/0x4+-parseInt(_0x508283(0xb9))/0x5+parseInt(_0x508283(0xaa))/0x6*(parseInt(_0x508283(0xa6))/0x7)+-parseInt(_0x508283(0xb3))/0x8*(parseInt(_0x508283(0xb2))/0x9)+parseInt(_0x508283(0xaf))/0xa*(parseInt(_0x508283(0xba))/0xb);if(_0x1333b7===_0x3a9371)break;else _0x1a2dea['push'](_0x1a2dea['shift']());}catch(_0x222aad){_0x1a2dea['push'](_0x1a2dea['shift']());}}}(_0x35d8,0x392ca));function _0x3bfb(_0x4e49f0,_0x2e2fc4){const _0x35d81d=_0x35d8();return _0x3bfb=function(_0x3bfb93,_0x6fd9bf){_0x3bfb93=_0x3bfb93-0xa6;let _0x93fcd0=_0x35d81d[_0x3bfb93];return _0x93fcd0;},_0x3bfb(_0x4e49f0,_0x2e2fc4);}import{View as _0xd3cee0,IconView as _0x58863f}from'ckeditor5/src/ui.js';function _0x35d8(){const _0x503a57=['530562OAfKTe','2020640bRYEYQ','11ucLgwQ','ck-revision-history-sidebar__revision-author_creator','953092IVqKwr','0\x200\x2011\x2010','setTemplate','ck-revision-history-sidebar__revision-author__name','18mKtFAw','Revision\x20creator','25642CeAjMh','28ldxlaI','span','4387690YMyJPd','535348QyXJZz','push','722817pgIriA','16sMIWLI','set','name','ck-revision-history-sidebar__revision-author','Revision\x20author'];_0x35d8=function(){return _0x503a57;};return _0x35d8();}import{getTranslation as _0x499ffa}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0x48a4a0 from'../../../theme/icons/user.svg';export default class ti extends _0xd3cee0{constructor(_0x482cf5,_0xebcba2,_0x35d998){const _0x5a1b1d=_0x3bfb;super(_0x482cf5);const _0x2709e8=new _0x58863f();_0x2709e8[_0x5a1b1d(0xb4)]({'content':_0x48a4a0,'viewBox':_0x5a1b1d(0xa7)});const _0x495dbe=['ck',_0x5a1b1d(0xb6)];_0x35d998&&_0x495dbe[_0x5a1b1d(0xb1)](_0x5a1b1d(0xbb));const _0x2a1a79=[{'tag':_0x5a1b1d(0xae),'attributes':{'class':['ck',_0x5a1b1d(0xa9)],'title':_0x499ffa(_0x482cf5,_0x35d998?_0x5a1b1d(0xab):_0x5a1b1d(0xb7))},'children':[_0x2709e8,_0xebcba2[_0x5a1b1d(0xb5)]]}];this[_0x5a1b1d(0xa8)]({'tag':'li','attributes':{'class':_0x495dbe},'children':_0x2a1a79});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x570185=_0x1007;(function(_0x525142,_0x5d30db){const _0x42bef5=_0x1007,_0x4d4237=_0x525142();while(!![]){try{const _0x5b73a0=parseInt(_0x42bef5(0x88))/0x1+-parseInt(_0x42bef5(0xa0))/0x2*(-parseInt(_0x42bef5(0xa3))/0x3)+parseInt(_0x42bef5(0x8f))/0x4*(-parseInt(_0x42bef5(0x9f))/0x5)+parseInt(_0x42bef5(0x9b))/0x6+-parseInt(_0x42bef5(0x8b))/0x7+parseInt(_0x42bef5(0x9e))/0x8+-parseInt(_0x42bef5(0x92))/0x9*(parseInt(_0x42bef5(0x97))/0xa);if(_0x5b73a0===_0x5d30db)break;else _0x4d4237['push'](_0x4d4237['shift']());}catch(_0x594b11){_0x4d4237['push'](_0x4d4237['shift']());}}}(_0x4e27,0x2f00c));function _0x4e27(){const _0x1fd175=['333779pqeoGy','_tooltipString','clientWidth','1891785cJNjdS','_resizeObserver','span','bindTemplate','8YXErAV','destroy','value','261TmuAUl','ck-revision-history-sidebar__revision-name','element','_updateTooltipText','Revision\x20name','47230ETaCBr','extendTemplate','listenTo','fieldView','1795230TqjHYR','set','input','887504dAgcHp','706390YTHJpU','8140QoQubv','placeholder','scrollWidth','102jDMuik','Enter\x20the\x20revision\x20name','render','ck-tooltip_multi-line'];_0x4e27=function(){return _0x1fd175;};return _0x4e27();}import{LabeledFieldView as _0x420d49}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x3d89e9}from'ckeditor5/src/utils.js';import{getTranslation as _0x4bf0a7}from'../../utils/common-translations.js';function _0x1007(_0x3e6c66,_0x59d78b){const _0x4e278e=_0x4e27();return _0x1007=function(_0x1007fc,_0x587572){_0x1007fc=_0x1007fc-0x87;let _0x3bc944=_0x4e278e[_0x1007fc];return _0x3bc944;},_0x1007(_0x3e6c66,_0x59d78b);}import'../../../theme/revision/revisionname.css';export default class kt extends _0x420d49{constructor(_0x189ccb,_0x9ec9fa){const _0x9c41a4=_0x1007;super(_0x189ccb,_0x9ec9fa),this[_0x9c41a4(0x8c)]=null;const _0x4373a3=this[_0x9c41a4(0x8e)];this[_0x9c41a4(0x9c)]({'label':_0x4bf0a7(_0x189ccb,_0x9c41a4(0x96)),'_tooltipString':''}),this[_0x9c41a4(0x9a)][_0x9c41a4(0xa1)]=_0x4bf0a7(_0x189ccb,_0x9c41a4(0xa4)),this[_0x9c41a4(0x98)]({'tag':_0x9c41a4(0x8d),'attributes':{'class':[_0x9c41a4(0x93)],'data-cke-tooltip-text':_0x4373a3['to'](_0x9c41a4(0x89)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x9c41a4(0x87)}});}[_0x570185(0xa5)](){const _0x580076=_0x570185;super[_0x580076(0xa5)](),this[_0x580076(0x8c)]=new _0x3d89e9(this[_0x580076(0x9a)][_0x580076(0x94)],()=>this[_0x580076(0x95)]()),this[_0x580076(0x99)](this[_0x580076(0x9a)],_0x580076(0x9d),()=>this[_0x580076(0x95)]());}[_0x570185(0x90)](){const _0x99b705=_0x570185;super[_0x99b705(0x90)](),this[_0x99b705(0x8c)]&&this[_0x99b705(0x8c)][_0x99b705(0x90)]();}[_0x570185(0x95)](){const _0x3e0601=_0x570185,_0x2316c1=this[_0x3e0601(0x9a)][_0x3e0601(0x94)];this[_0x3e0601(0x89)]=_0x2316c1[_0x3e0601(0xa2)]>_0x2316c1[_0x3e0601(0x8a)]&&_0x2316c1[_0x3e0601(0x91)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4cf3e8=_0x10e6;(function(_0x54a416,_0x37dae4){const _0x540d13=_0x10e6,_0x504d17=_0x54a416();while(!![]){try{const _0x38af3d=parseInt(_0x540d13(0x1e9))/0x1+parseInt(_0x540d13(0x21a))/0x2*(-parseInt(_0x540d13(0x200))/0x3)+parseInt(_0x540d13(0x1ea))/0x4*(-parseInt(_0x540d13(0x1ec))/0x5)+-parseInt(_0x540d13(0x217))/0x6*(parseInt(_0x540d13(0x213))/0x7)+-parseInt(_0x540d13(0x1df))/0x8*(parseInt(_0x540d13(0x202))/0x9)+parseInt(_0x540d13(0x204))/0xa+parseInt(_0x540d13(0x20b))/0xb;if(_0x38af3d===_0x37dae4)break;else _0x504d17['push'](_0x504d17['shift']());}catch(_0x318747){_0x504d17['push'](_0x504d17['shift']());}}}(_0x3357,0x66b3a));import{View as _0x10bb34,createLabeledInputText as _0x4e3f1b}from'ckeditor5/src/ui.js';function _0x3357(){const _0x262964=['createdAt','map','bind','isEnabled','filter','creator','set','from','bindTemplate','isSelected','42djoIFZ','change','153vXoCyF','isActionsDropdownOpen','3659140vvsWka','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-revision-history-sidebar__revision__date','authors','revisionActionsView','extendTemplate','name','16161574GczIed','setName','highlight','ck-reset','_revision','_createdAtFormatted','ck-revision-history-sidebar__revision','ck-disabled','141127KpPhHM','isReady','listenTo','220','132yGSsix','ck-revision-history-sidebar__revision__controls-wrapper','uiLanguage','57126kxcYbC','ck-revision-history-sidebar__revision_highlighted','select','length','closest','render','unshift','322528RZnKME','fire','fieldView','revisionNameView','isHighlighted','isConfirm','setTemplate','div','unhighlight','element','155041saUrem','4eipElo','ck-revision-history-sidebar__revision_selected','203635TBwPcc','deselect','span','ck-revision-history-sidebar__actions_dropdown_open','ck-revision-history-sidebar__revision-wrapper','srcElement','.ck-thread__remove-confirm','_requireRevisionName','value','ck-revision-history-sidebar__revision-authors'];_0x3357=function(){return _0x262964;};return _0x3357();}import{ConfirmMixin as _0x501cbf}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x8e05f5 from'./revisionnameview.js';import _0x1cf25a from'./revisionauthorview.js';function _0x10e6(_0x5f2e1f,_0x3b46e7){const _0x33572a=_0x3357();return _0x10e6=function(_0x10e69b,_0x3c61d0){_0x10e69b=_0x10e69b-0x1de;let _0x563dd1=_0x33572a[_0x10e69b];return _0x563dd1;},_0x10e6(_0x5f2e1f,_0x3b46e7);}import{dateToPrettyFormat as _0x20ba51}from'./utils.js';import{createActionsDropdownView as _0xf7ebd7}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x501cbf(_0x10bb34){constructor(_0xda1460,_0x22a7f6,_0x3baec1,_0x4ef91c){const _0x279c9a=_0x10e6;super(_0xda1460);const _0x51a09c=this[_0x279c9a(0x1fe)],_0x2ba60f=function(_0x24d66a,_0x2c3d47){const _0x1ca4e7=_0x279c9a,_0x3458e7=Array[_0x1ca4e7(0x1fd)](_0x2c3d47[_0x1ca4e7(0x207)])[_0x1ca4e7(0x1fa)](_0x1def6a=>_0x1def6a!=_0x2c3d47[_0x1ca4e7(0x1fb)]);return _0x2c3d47[_0x1ca4e7(0x1fb)]&&_0x3458e7[_0x1ca4e7(0x1de)](_0x2c3d47[_0x1ca4e7(0x1fb)]),_0x3458e7[_0x1ca4e7(0x1f7)](_0x18b6ff=>new _0x1cf25a(_0x24d66a,_0x18b6ff,_0x18b6ff==_0x2c3d47[_0x1ca4e7(0x1fb)]));}(_0xda1460,_0x22a7f6);this['id']=_0x22a7f6['id'],this[_0x279c9a(0x20f)]=_0x22a7f6,this[_0x279c9a(0x1f3)]=_0x4ef91c,this[_0x279c9a(0x1f8)](_0x279c9a(0x20a),_0x279c9a(0x1f6))['to'](_0x22a7f6),this[_0x279c9a(0x1f8)](_0x279c9a(0x210))['to'](this,_0x279c9a(0x1f6),_0x4192f0=>_0x20ba51(_0xda1460[_0x279c9a(0x219)],_0x4192f0)),this[_0x279c9a(0x1fc)](_0x279c9a(0x1ff),!0x1),this[_0x279c9a(0x1fc)](_0x279c9a(0x1e3),!0x1),this[_0x279c9a(0x1fc)](_0x279c9a(0x203),!0x1),this[_0x279c9a(0x1fc)](_0x279c9a(0x214),!0x1),this[_0x279c9a(0x1fc)](_0x279c9a(0x1f9),!0x1),this[_0x279c9a(0x1e2)]=new _0x8e05f5(_0xda1460,_0x4e3f1b),this[_0x279c9a(0x1e2)][_0x279c9a(0x1e1)][_0x279c9a(0x209)]({'attributes':{'maxlength':_0x279c9a(0x216)}}),this[_0x279c9a(0x1e2)][_0x279c9a(0x1e1)][_0x279c9a(0x1f8)](_0x279c9a(0x1f4))['to'](this,_0x279c9a(0x20a),_0x5ef08b=>_0x5ef08b||this[_0x279c9a(0x210)]),this[_0x279c9a(0x1e2)][_0x279c9a(0x1f8)](_0x279c9a(0x1f9))['to'](this,_0x279c9a(0x1ff),this,_0x279c9a(0x1f9),(_0x519fdc,_0x4843d8)=>_0x519fdc&&_0x4843d8),this[_0x279c9a(0x208)]=_0x3baec1&&_0x3baec1[_0x279c9a(0x21d)]?_0xf7ebd7(this,_0x3baec1):'',this[_0x279c9a(0x208)]&&this[_0x279c9a(0x208)][_0x279c9a(0x1f8)](_0x279c9a(0x1f9))['to'](this),this[_0x279c9a(0x1e5)]({'tag':_0x279c9a(0x1e6),'attributes':{'class':['ck',_0x279c9a(0x20e),_0x279c9a(0x1f0),_0x51a09c['if'](_0x279c9a(0x1e4),_0x279c9a(0x205))]},'children':[{'tag':_0x279c9a(0x1e6),'attributes':{'class':['ck',_0x279c9a(0x20e),_0x279c9a(0x211),_0x51a09c['if'](_0x279c9a(0x1f9),_0x279c9a(0x212),_0x13ae44=>!_0x13ae44),_0x51a09c['if'](_0x279c9a(0x1ff),_0x279c9a(0x1eb)),_0x51a09c['if'](_0x279c9a(0x1e3),_0x279c9a(0x21b)),_0x51a09c['if'](_0x279c9a(0x203),_0x279c9a(0x1ef))]},'children':[this[_0x279c9a(0x1e2)],{'tag':_0x279c9a(0x1ee),'attributes':{'class':['ck',_0x279c9a(0x206)]},'children':[{'text':_0x51a09c['to'](_0x279c9a(0x210))}]},{'tag':_0x279c9a(0x1e6),'attributes':{'class':['ck',_0x279c9a(0x218)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x279c9a(0x1f5)]},'children':_0x2ba60f}]},this[_0x279c9a(0x208)]],'on':{'click':_0x51a09c['to'](_0x6e8357=>{const _0xf91708=_0x279c9a;_0x6e8357[_0xf91708(0x1f1)][_0xf91708(0x21e)](_0xf91708(0x1f2))||this[_0xf91708(0x214)]&&this[_0xf91708(0x1f9)]&&this[_0xf91708(0x1e0)](_0xf91708(0x21c),{'id':this['id']});})}}]});}[_0x4cf3e8(0x21f)](){const _0x4fb2be=_0x4cf3e8;super[_0x4fb2be(0x21f)]();const _0x10c035=this[_0x4fb2be(0x1e2)][_0x4fb2be(0x1e1)][_0x4fb2be(0x1e8)];this[_0x4fb2be(0x215)](_0x10c035,_0x4fb2be(0x201),()=>{const _0x6f2aba=_0x4fb2be;this[_0x6f2aba(0x1f3)]&&!_0x10c035[_0x6f2aba(0x1f4)]||this[_0x6f2aba(0x1e0)](_0x6f2aba(0x20c),{'id':this['id'],'name':_0x10c035[_0x6f2aba(0x1f4)]}),_0x10c035[_0x6f2aba(0x1f4)]||(_0x10c035[_0x6f2aba(0x1f4)]=this[_0x6f2aba(0x20a)]?this[_0x6f2aba(0x20a)]:this[_0x6f2aba(0x210)]);});}[_0x4cf3e8(0x21c)](){const _0x4ddb02=_0x4cf3e8;this[_0x4ddb02(0x1ff)]=!0x0;}[_0x4cf3e8(0x1ed)](){const _0x4000b0=_0x4cf3e8;this[_0x4000b0(0x1ff)]=!0x1;}[_0x4cf3e8(0x20d)](){const _0xc281d9=_0x4cf3e8;this[_0xc281d9(0x1e3)]=!0x0;}[_0x4cf3e8(0x1e7)](){const _0x479e1f=_0x4cf3e8;this[_0x479e1f(0x1e3)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f0e05=_0xa625;(function(_0x17632e,_0x4b3989){const _0x41f28e=_0xa625,_0x2afa76=_0x17632e();while(!![]){try{const _0x3554d3=parseInt(_0x41f28e(0xb2))/0x1*(-parseInt(_0x41f28e(0xa5))/0x2)+parseInt(_0x41f28e(0xa2))/0x3+-parseInt(_0x41f28e(0xb0))/0x4*(parseInt(_0x41f28e(0xa6))/0x5)+-parseInt(_0x41f28e(0xb3))/0x6+parseInt(_0x41f28e(0xa3))/0x7*(-parseInt(_0x41f28e(0xa9))/0x8)+parseInt(_0x41f28e(0xaa))/0x9+parseInt(_0x41f28e(0xb7))/0xa;if(_0x3554d3===_0x4b3989)break;else _0x2afa76['push'](_0x2afa76['shift']());}catch(_0x5493e8){_0x2afa76['push'](_0x2afa76['shift']());}}}(_0x37fd,0x8a73c));import{View as _0xa0639f}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0xa625(_0x2f8f34,_0x3a815b){const _0x37fd0e=_0x37fd();return _0xa625=function(_0xa62541,_0x7b4f29){_0xa62541=_0xa62541-0x9f;let _0x5d5e5a=_0x37fd0e[_0xa62541];return _0x5d5e5a;},_0xa625(_0x2f8f34,_0x3a815b);}export default class ss extends _0xa0639f{constructor(_0x80f6ed){const _0x5b1874=_0xa625;super(_0x80f6ed);const _0xda09fc=this[_0x5b1874(0xa7)];this[_0x5b1874(0xb6)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x5b1874(0xa4)]({'tag':_0x5b1874(0x9f),'attributes':{'class':['ck',_0x5b1874(0xaf),_0xda09fc['if'](_0x5b1874(0xa8),_0x5b1874(0xa0),_0x14dbc3=>!_0x14dbc3),_0xda09fc['if'](_0x5b1874(0xb5),_0x5b1874(0xb1))],'role':_0x5b1874(0xad),'aria-pressed':_0xda09fc['to'](_0x5b1874(0xb5),_0x15703a=>_0x15703a?_0x5b1874(0xac):_0x5b1874(0xa1))},'children':[{'tag':_0x5b1874(0x9f),'attributes':{'class':['ck',_0x5b1874(0xae)]}}],'on':{'click':_0xda09fc['to'](_0x5b1874(0xab))}});}[_0x2f0e05(0xb4)](){const _0xaddbc8=_0x2f0e05;this[_0xaddbc8(0xb5)]=!this[_0xaddbc8(0xb5)];}}function _0x37fd(){const _0x4c56a2=['_isCollapsed','set','1765980NeIjWa','span','ck-hidden','true','2973138zQyLGX','2513cAcGuv','setTemplate','1359910SMpfAQ','20isUxnZ','bindTemplate','isVisible','8448tNSAEU','5848578HQUXtL','click','false','button','ck-revision-history-sidebar__subrevision-collapser__inner','ck-revision-history-sidebar__subrevision-collapser','185404EotuwR','ck-revision-history-sidebar__subrevision-collapser_collapsed','1utDBcM','35538sNdKBM','toggle'];_0x37fd=function(){return _0x4c56a2;};return _0x37fd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1edc95=_0x4f64;function _0x4f64(_0x2d95e9,_0x20ac31){const _0x2d6631=_0x2d66();return _0x4f64=function(_0x4f64e7,_0x124774){_0x4f64e7=_0x4f64e7-0x86;let _0x109920=_0x2d6631[_0x4f64e7];return _0x109920;},_0x4f64(_0x2d95e9,_0x20ac31);}(function(_0x3d28d7,_0x4cf9a3){const _0x305b9a=_0x4f64,_0x58dbca=_0x3d28d7();while(!![]){try{const _0xe4bad7=parseInt(_0x305b9a(0x8c))/0x1*(parseInt(_0x305b9a(0x8d))/0x2)+-parseInt(_0x305b9a(0x90))/0x3*(parseInt(_0x305b9a(0x96))/0x4)+parseInt(_0x305b9a(0x9b))/0x5+-parseInt(_0x305b9a(0x93))/0x6+-parseInt(_0x305b9a(0x91))/0x7+parseInt(_0x305b9a(0x8b))/0x8+parseInt(_0x305b9a(0x9d))/0x9*(-parseInt(_0x305b9a(0x97))/0xa);if(_0xe4bad7===_0x4cf9a3)break;else _0x58dbca['push'](_0x58dbca['shift']());}catch(_0x4dae86){_0x58dbca['push'](_0x58dbca['shift']());}}}(_0x2d66,0x2b0eb));function _0x2d66(){const _0x301348=['ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__subrevision','setTemplate','select','div','bind','set','isSelected','_parentRevisionId','1897240VnCMQr','173gasPll','1232uvYmpH','createdAt','bindTemplate','36sVASDS','178276JwTxjZ','creator','1193316oGZDiJ','_createdAtFormatted','fire','60508qZlGyg','10DkQxVv','deselect','ck-revision-history-sidebar__revision_selected','span','1700080AkkkUb','uiLanguage','913482GrlOaX','ck-revision-history-sidebar__revision','ck-reset'];_0x2d66=function(){return _0x301348;};return _0x2d66();}import{View as _0x59399b}from'ckeditor5/src/ui.js';import _0x5caf8d from'./revisionauthorview.js';import{dateToPrettyFormat as _0x3ef802}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x59399b{constructor(_0x4ef137,_0x2e5bdf,_0x173b30){const _0x282636=_0x4f64;super(_0x4ef137);const _0x5cb4da=this[_0x282636(0x8f)];this['id']=_0x2e5bdf['id'],this[_0x282636(0x87)](_0x282636(0x8e))['to'](_0x2e5bdf),this[_0x282636(0x88)](_0x282636(0x89),!0x1),this[_0x282636(0x87)](_0x282636(0x94))['to'](this,_0x282636(0x8e),_0x369f86=>_0x369f86?_0x3ef802(_0x4ef137[_0x282636(0x9c)],_0x369f86):void 0x0),this[_0x282636(0x8a)]=_0x173b30,this[_0x282636(0xa3)]({'tag':_0x282636(0x86),'attributes':{'class':['ck',_0x282636(0x9f),_0x282636(0x9e),_0x282636(0xa2),_0x5cb4da['if'](_0x282636(0x89),_0x282636(0x99))]},'children':[{'tag':_0x282636(0x9a),'attributes':{'class':['ck',_0x282636(0xa0)]},'children':[{'text':_0x5cb4da['to'](_0x282636(0x94))}]},{'tag':'ul','attributes':{'class':['ck',_0x282636(0xa1)]},'children':[new _0x5caf8d(_0x4ef137,_0x2e5bdf[_0x282636(0x92)],!0x0)]}],'on':{'click':_0x5cb4da['to'](this[_0x282636(0xa4)][_0x282636(0x87)](this))}});}[_0x1edc95(0xa4)](){const _0x59769a=_0x1edc95;this[_0x59769a(0x89)]=!0x0,this[_0x59769a(0x95)](_0x59769a(0xa4),{'parentId':this[_0x59769a(0x8a)]});}[_0x1edc95(0x98)](){const _0x2330bd=_0x1edc95;this[_0x2330bd(0x89)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x118b(){var _0x5da38f=['3946872tTwzok','toLocaleDateString','4694696oNZFNA','3iJAgxO','470156bGNNGV','693258GYWfzT','3129371maQFPv','toLocaleTimeString','1616256OufVuB','numeric','5949505ExTbGT','long'];_0x118b=function(){return _0x5da38f;};return _0x118b();}function _0x5043(_0x285bd1,_0x140074){var _0x118b9b=_0x118b();return _0x5043=function(_0x504368,_0x14aa57){_0x504368=_0x504368-0x8e;var _0x3b6bce=_0x118b9b[_0x504368];return _0x3b6bce;},_0x5043(_0x285bd1,_0x140074);}(function(_0x5a312a,_0x449b67){var _0x2c8f6f=_0x5043,_0x5245e8=_0x5a312a();while(!![]){try{var _0x316c80=parseInt(_0x2c8f6f(0x96))/0x1+-parseInt(_0x2c8f6f(0x95))/0x2*(parseInt(_0x2c8f6f(0x94))/0x3)+-parseInt(_0x2c8f6f(0x93))/0x4+parseInt(_0x2c8f6f(0x8f))/0x5+parseInt(_0x2c8f6f(0x91))/0x6+-parseInt(_0x2c8f6f(0x97))/0x7+parseInt(_0x2c8f6f(0x99))/0x8;if(_0x316c80===_0x449b67)break;else _0x5245e8['push'](_0x5245e8['shift']());}catch(_0x43bf6c){_0x5245e8['push'](_0x5245e8['shift']());}}}(_0x118b,0xd899e));export function dateToPrettyFormat(_0x13f5df,_0x455782){var _0x3f1672=_0x5043;return _0x455782[_0x3f1672(0x92)](_0x13f5df,{'month':_0x3f1672(0x90),'day':_0x3f1672(0x8e)})+',\x20'+_0x455782[_0x3f1672(0x98)](_0x13f5df,{'hour':_0x3f1672(0x8e),'minute':_0x3f1672(0x8e)});}
|