@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240626.1 → 0.0.0-nightly-20240628.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/dist/types/revisiontracker.d.ts +6 -1
- package/dist/types/revisionviewer.d.ts +82 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- 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.d.ts +6 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +82 -0
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +9 -0
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +25 -0
- 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.d.ts +11 -0
- 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 _0x980e55=_0xfabc;(function(_0x4ccf06,_0x302251){const _0x12496b=_0xfabc,_0x6c9479=_0x4ccf06();while(!![]){try{const _0x5ce998=-parseInt(_0x12496b(0x1b3))/0x1+parseInt(_0x12496b(0x1ec))/0x2*(-parseInt(_0x12496b(0xd6))/0x3)+parseInt(_0x12496b(0x1e4))/0x4*(parseInt(_0x12496b(0x19d))/0x5)+-parseInt(_0x12496b(0x16e))/0x6*(parseInt(_0x12496b(0x106))/0x7)+-parseInt(_0x12496b(0x200))/0x8*(parseInt(_0x12496b(0x144))/0x9)+parseInt(_0x12496b(0x18b))/0xa*(parseInt(_0x12496b(0x184))/0xb)+parseInt(_0x12496b(0x110))/0xc;if(_0x5ce998===_0x302251)break;else _0x6c9479['push'](_0x6c9479['shift']());}catch(_0x23bbf5){_0x6c9479['push'](_0x6c9479['shift']());}}}(_0xb285,0xbfd99));import{Plugin as _0x36196f,Command as _0x248a7d}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x28a500}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x243305}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2ca909,Element as _0xcb3c2d,Text as _0x33c4bb,ViewDocumentFragment as _0x45946a,ViewText as _0x1c94b8,ViewElement as _0x3a2791,ViewContainerElement as _0x527b63,ViewAttributeElement as _0x460f86,ViewEmptyElement as _0xd4e4ac,ViewRawElement as _0x44301d,ViewUIElement as _0x258942}from'ckeditor5/src/engine.js';import{Users as _0x325010,getMarkerDomElement as _0x102817}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x146a01 from'./ui/revisionviewer/changedetailsview.js';import _0x5967f1 from'./revisionsrepository.js';import _0x268274 from'./changeitem.js';function _0xfabc(_0x216e0e,_0x32646e){const _0xb28557=_0xb285();return _0xfabc=function(_0xfabc68,_0x3ef623){_0xfabc68=_0xfabc68-0xbf;let _0x45ab56=_0xb28557[_0xfabc68];return _0x45ab56;},_0xfabc(_0x216e0e,_0x32646e);}import{default as _0x3fe1e1}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x2d1d61}from'lodash-es';const tt={'c':_0x527b63,'a':_0x460f86,'e':_0xd4e4ac,'r':_0x44301d,'u':_0x258942};function _0xb285(){const _0x30a070=['newRevisionId','code','clear','_getViewForChange','ck-suggestion-marker-merge','change:activeChange','commands','editor','split','8haUopk','ck-revision-history-root-remove','left','toViewRange','resolve','isCollapsed','index','done','isObject','_joinTapes','ck-suggestion-marker-','markerRange','consumable','init','-new','updatePosition','splice','collaboration.channelId','end','insertion','document','attributesAfter','requires','isBefore','first','isEqual','diffData','_appendChild','isBlock','editingDowncast','affectsData','change:activeView','parse','error','offsetSize','createRangeIn','config','nextPosition','elementStart','3PyBztq','consume','ck-suggestion-preview-marker-','getChild','isInline','indexOf','isRemoved','unshift','addMarker:revision-suggestion:insertion','toViewElement','removeMarker:revision-suggestion','_findChangeIdFromDomTarget','ck-suggestion-marker','_refreshStartEndIndex','removeClass','delete','execute','_changeIdToChange','slice','refresh','addRoot','deletion','getRoot','high','elementToAttribute','markerToData','createPositionFromPath','_markInsertions','isSuggestion','get','distance','markers','revision-viewer','modelRange','maxOffset','isAfter','_threeWayMerge','addRevisionData','revision:','_makeModelFromTape','remove','name','sort','processor','isRemoveSuggestion','keys','element:pre','values','6727PtnfKN','deletions','mapViewToDom','getRevision','_getChangeFromId','start','children','change:isReady','createAttributeElement','showStack','37266096pfWXGg','useFillerType','_revisions','forward','oldRevisionId','listenTo','vid_end','forEach','all','_setConversion','_removeRevisionMarkers','_initInteractions','map','ck-revision-history-root-add','_sortAndFilterDiffChanges','getAttribute','insert','isAdded','writer','attribute:vid','getRevisionRootsAttributes','markersStart','wrap','markerToHighlight','revision-start','comment','adapter','right','data-revision-','return','getClientRects','createUIElement','data','dataToMarker','removeAttribute','change:numberOfChanges','viewItem','mouseover','target','range','side','_getDiff','domEvent','rootName','startsWith','authors','removeMarker','stop','diff','_getRevisionsRange','checkAttribute','_makeModelFromViewString','12855105GMgGWb','nodeAfter','enableReadOnlyMode','vid','highest','push','detachRoot','conversion','getItems','top','ck-revision-history-root-','_markMarkers','addHighlight','_step','insertions','shift','hasClass','hasAttribute','RevisionsRepository','locale','add','bindElementToMarker','backward','_activeViewTarget','ck-suggestion-marker-split','mousedown','toViewPosition','isAtStart','span','marked','abs','flat','isNavigationMode','type','item','test','attachChange','_changeView','_update','activeView','forceDisabled','getWalker','258zDahkh','addMarker:revision','previousPosition','pop','changeId','userId','toData','POSITIVE_INFINITY','bottom','isReady','domConverter','removeMarker:revision','revision-end','createPositionBefore','getDomRoot','vid_start','revisionHistory','ck-suggestion-marker--active','destroy','enqueueChange','then','toModel','317185CbarCx','element','showPreviousChange','mapper','getRootNames','object','schema','180tPlMxv','loadRevisionData','_processTape','markersEnd','editing','string','addMarker:revision-suggestion:deletion','startIndex','ck-suggestion-preview-marker','ck-revision-history-root--active','markerName','pairId','_cleanMarkers','uiElement','getAttributes','isLimit','elementEnd','attributesBefore','651395TXhdRB','getRevisionData','ck-editor__editable__overlay','_removeMissingPairs','_setDistance','_getViewObj','_markMismatchedRemovedTags','set','level','change','view','selection','restoreRevisionCallback','compare','softBreak','for','setAttribute','isAttached','endIndex','has','activeChange','next','1136225hcEfaB','findIndex','catch','isOnRoot','observeMarkers','data-change-id','RevisionViewer','isAtEnd','length','createRange','suggestion:','low','getIndex','WidgetToolbarRepository','_removeUnsupportedChanges','revision','currentChangeNumber','default','changes','model','filter','repository','find','_makeTape','pluginName','isAddSuggestion','_data','_cleanUp','plugins','createRevision','parent','revision-suggestion','addClass','merge','upcast','revisionHistoryAttachChange','revision-suggestion:','_balloon','markerNameToElements','attributes','revisionHistoryLabel','getCustomProperty','bind','numberOfChanges','_fixObsoleteTags','_setChanges','revision-comment:','_markSuggestions','addRevision','4rRSlOc','isContent','isEnabled','showNextChange','text','dataDowncast','unbindElementFromMarkerName','suggestion','726214fysVkm','nextSibling','concat','roots','from','restoreRevision','isIncorrect','downcastDispatcher','change:isEnabled','reconvertMarker','includes'];_0xb285=function(){return _0x30a070;};return _0xb285();}export default class d extends _0x36196f{static get[_0x980e55(0x1cb)](){const _0x35584f=_0x980e55;return _0x35584f(0x1b9);}static get[_0x980e55(0xc5)](){return[_0x325010,_0x243305,_0x5967f1];}constructor(_0xa22225){const _0x41f572=_0x980e55;super(_0xa22225),this[_0x41f572(0x1c8)]=this[_0x41f572(0x1fe)][_0x41f572(0x1cf)][_0x41f572(0xf3)](_0x41f572(0x156)),this[_0x41f572(0x1a4)](_0x41f572(0x1b1),null),this[_0x41f572(0x1a4)](_0x41f572(0x16b),null),this[_0x41f572(0x15b)]=null,this[_0x41f572(0x1a4)](_0x41f572(0x140),null),this[_0x41f572(0x1a4)](_0x41f572(0x177),!0x1),this[_0x41f572(0x1a4)](_0x41f572(0x1e6),!0x0),this['on'](_0x41f572(0x1f4),(_0x408d74,_0x584955,_0x1db173)=>{const _0x8d09f1=_0x41f572;this[_0x8d09f1(0x1b1)]=null,this[_0x8d09f1(0x16b)]=null,this[_0x8d09f1(0x1fe)][_0x8d09f1(0x18f)][_0x8d09f1(0x1a7)][_0x8d09f1(0x1a6)](_0x1824a9=>{const _0x3daf62=_0x8d09f1;for(const _0x3291b3 of this[_0x3daf62(0x1fe)][_0x3daf62(0x18f)][_0x3daf62(0x1a7)][_0x3daf62(0xc3)][_0x3daf62(0x1ef)])_0x1db173?_0x1824a9[_0x3daf62(0xe4)](_0x3daf62(0x19f),_0x3291b3):_0x1824a9[_0x3daf62(0x1d3)](_0x3daf62(0x19f),_0x3291b3);});}),this[_0x41f572(0x1dd)](_0x41f572(0x164))['to'](this,_0x41f572(0x1b1),_0x36abaa=>null!==_0x36abaa),this[_0x41f572(0x1dd)](_0x41f572(0x1c3))['to'](this,_0x41f572(0x177),this,_0x41f572(0x140),this,_0x41f572(0x1b1),(_0x57c13f,_0x47f652,_0x3172c5)=>_0x57c13f&&_0x3172c5?_0x47f652[_0x41f572(0x1c5)][_0x41f572(0x1bf)](_0x3172c5):0x0),this[_0x41f572(0x1dd)](_0x41f572(0x1de))['to'](this,_0x41f572(0x177),this,_0x41f572(0x140),(_0xf84adb,_0x323273)=>_0xf84adb?_0x323273[_0x41f572(0x1c5)][_0x41f572(0x1bb)]:0x0),this[_0x41f572(0x169)]=null,this[_0x41f572(0xe7)]=new Map(),this[_0x41f572(0x12a)]=null,this[_0x41f572(0x1d8)]=this[_0x41f572(0x1fe)][_0x41f572(0x1cf)][_0x41f572(0xf3)](_0x243305);}[_0x980e55(0x20d)](){const _0x26af7e=_0x980e55,_0x452646=this[_0x26af7e(0x1fe)],_0x140122=new ShowChangeCommand(_0x452646,{'direction':_0x26af7e(0x15a)}),_0x8e49f4=new ShowChangeCommand(_0x452646,{'direction':_0x26af7e(0x113)});(_0x452646[_0x26af7e(0x1fd)][_0x26af7e(0x158)](_0x26af7e(0x186),_0x140122),_0x452646[_0x26af7e(0x1fd)][_0x26af7e(0x158)](_0x26af7e(0x1e7),_0x8e49f4),_0x452646[_0x26af7e(0x1fd)][_0x26af7e(0x158)](_0x26af7e(0x1f1),new RestoreRevisionCommand(_0x452646)),this['on'](_0x26af7e(0x133),()=>{const _0x264825=_0x26af7e;_0x140122[_0x264825(0xe9)](),_0x8e49f4[_0x264825(0xe9)]();}),this[_0x26af7e(0x119)](),this[_0x26af7e(0x11b)](),_0x452646[_0x26af7e(0x146)](_0x26af7e(0xf6)),_0x452646[_0x26af7e(0x1cf)][_0x26af7e(0x1b0)](_0x26af7e(0x1c0)))&&_0x452646[_0x26af7e(0x1cf)][_0x26af7e(0xf3)](_0x26af7e(0x1c0))[_0x26af7e(0x16c)](_0x26af7e(0xf6));}async[_0x980e55(0x19e)](_0x33108c){const _0x4e540d=_0x980e55;await this[_0x4e540d(0x18c)](_0x33108c);const _0xe22a8b={};for(const _0x131f4d in _0x33108c[_0x4e540d(0xc9)]){if(_0x33108c[_0x4e540d(0xc9)][_0x131f4d][_0x4e540d(0x168)]&&!_0x33108c[_0x4e540d(0xc9)][_0x131f4d][_0x4e540d(0x168)][_0x4e540d(0x1ae)])continue;const _0x319b61=this[_0x4e540d(0x11a)](JSON[_0x4e540d(0xcf)](_0x33108c[_0x4e540d(0xc9)][_0x131f4d][_0x4e540d(0x152)])),_0x1d6776=this[_0x4e540d(0x1fe)][_0x4e540d(0x18f)][_0x4e540d(0x1a7)][_0x4e540d(0xc3)],_0x2a4dd4=new _0x45946a(_0x1d6776,_0x319b61[_0x4e540d(0x11c)](_0x4c8050=>this[_0x4e540d(0x1a2)](_0x4c8050)));this[_0x4e540d(0x1fe)][_0x4e540d(0x130)][_0x4e540d(0x101)][_0x4e540d(0x111)](_0x4e540d(0x161)),_0xe22a8b[_0x131f4d]=this[_0x4e540d(0x1fe)][_0x4e540d(0x130)][_0x4e540d(0x101)][_0x4e540d(0x174)](_0x2a4dd4),this[_0x4e540d(0x1fe)][_0x4e540d(0x130)][_0x4e540d(0x101)][_0x4e540d(0x111)](_0x4e540d(0x1c4));}return _0xe22a8b;}async[_0x980e55(0x124)](_0x4968f9){const _0xd7fcc4=_0x980e55;await this[_0xd7fcc4(0x18c)](_0x4968f9);const _0x4a3fb9={};for(const _0x29a4a3 in _0x4968f9[_0xd7fcc4(0xc9)])_0x4968f9[_0xd7fcc4(0xc9)][_0x29a4a3][_0xd7fcc4(0x168)]&&!_0x4968f9[_0xd7fcc4(0xc9)][_0x29a4a3][_0xd7fcc4(0x168)][_0xd7fcc4(0x1ae)]||(_0x4a3fb9[_0x29a4a3]=_0x4968f9[_0xd7fcc4(0xc9)][_0x29a4a3][_0xd7fcc4(0xc4)]||{});return _0x4a3fb9;}[_0x980e55(0x11a)](_0x1158be){const _0x55168e=_0x980e55;return(_0x1158be=_0x1158be[_0x55168e(0x1c7)](_0x2a8ba6=>!_0x2a8ba6[_0x55168e(0xff)]||_0x55168e(0x128)!==_0x2a8ba6[_0x55168e(0xff)]&&_0x55168e(0x17a)!==_0x2a8ba6[_0x55168e(0xff)]))[_0x55168e(0x117)](_0x25953b=>{const _0x5c7563=_0x55168e;_0x5c7563(0x190)!=typeof _0x25953b&&(_0x25953b[_0x5c7563(0x10c)]=this[_0x5c7563(0x11a)](_0x25953b[_0x5c7563(0x10c)]),_0x25953b[_0x5c7563(0x1da)]=_0x25953b[_0x5c7563(0x1da)][_0x5c7563(0x1c7)](_0x5caac2=>!_0x5caac2[0x0][_0x5c7563(0x13c)](_0x5c7563(0x12c))));}),_0x1158be;}async[_0x980e55(0x1aa)](_0x3a7e18,_0x335e3d,_0x1a6045=!0x1){const _0x3fe0a9=_0x980e55;if(!this[_0x3fe0a9(0x1e6)])return;const _0x50cf3b=this[_0x3fe0a9(0x140)],_0x520338=this[_0x3fe0a9(0x1c8)],_0x14566e=_0x3fe0a9(0x190)==typeof _0x3a7e18?_0x520338[_0x3fe0a9(0x109)](_0x3a7e18):_0x3a7e18,_0x2615ad=_0x3fe0a9(0x190)==typeof _0x335e3d?_0x520338[_0x3fe0a9(0x109)](_0x335e3d):_0x335e3d,_0x3d7289=_0x14566e['id'],_0x13e4f4=_0x2615ad?_0x2615ad['id']:null;if(!_0x1a6045&&this[_0x3fe0a9(0x140)]&&this[_0x3fe0a9(0x140)][_0x3fe0a9(0x1f7)]===_0x3d7289&&this[_0x3fe0a9(0x140)][_0x3fe0a9(0x114)]===_0x13e4f4)return Promise[_0x3fe0a9(0x204)]();this[_0x3fe0a9(0x177)]=!0x1,this[_0x3fe0a9(0x16b)]=null,this[_0x3fe0a9(0x1b1)]=null,this[_0x3fe0a9(0x140)]=new _0x3fe1e1(_0x3d7289,_0x13e4f4);const _0x1bd292=this[_0x3fe0a9(0x141)](_0x14566e,_0x2615ad,!0x0)[_0x3fe0a9(0x11c)](_0x3c6a95=>this[_0x3fe0a9(0x18c)](_0x3c6a95));return _0x1bd292[_0x3fe0a9(0x149)](new Promise(_0x9b6d52=>{setTimeout(_0x9b6d52,0x14);})),Promise[_0x3fe0a9(0x118)](_0x1bd292)[_0x3fe0a9(0x182)](()=>{const _0x51aa27=_0x3fe0a9;if(!this[_0x51aa27(0x1e6)])return;this[_0x51aa27(0x1ce)]();const _0x4048be=this[_0x51aa27(0x139)](_0x3d7289,_0x13e4f4);for(const _0x24953b of _0x4048be[_0x51aa27(0x1c5)])this[_0x51aa27(0xe7)][_0x51aa27(0x1a4)](_0x24953b['id'],_0x24953b);this[_0x51aa27(0x1fe)][_0x51aa27(0x1c6)][_0x51aa27(0x181)]({'isUndoable':!0x1},_0xa51892=>{const _0x3e63ce=_0x51aa27;for(const _0x40553b of this[_0x3e63ce(0x1fe)][_0x3e63ce(0x1c6)][_0x3e63ce(0xc3)][_0x3e63ce(0x188)]())_0xa51892[_0x3e63ce(0x14a)](_0x40553b);for(const _0xa55a4a of Object[_0x3e63ce(0x103)](_0x4048be[_0x3e63ce(0x1c6)])){const _0x4638fc=_0xa51892[_0x3e63ce(0xea)](_0xa55a4a);for(const _0x478093 of Object[_0x3e63ce(0x103)](_0x4048be[_0x3e63ce(0x1da)][_0xa55a4a]))_0xa51892[_0x3e63ce(0x1ad)](_0x478093,_0x4048be[_0x3e63ce(0x1da)][_0xa55a4a][_0x478093],_0x4638fc);_0xa51892[_0x3e63ce(0x120)](_0x4048be[_0x3e63ce(0x1c6)][_0xa55a4a],_0x4638fc,0x0);}}),this[_0x51aa27(0x140)][_0x51aa27(0x1e0)](this[_0x51aa27(0x11e)](_0x4048be[_0x51aa27(0x1c5)])),this[_0x51aa27(0x177)]=!0x0;})[_0x3fe0a9(0x1b5)](_0x4518b2=>{const _0x4cb731=_0x3fe0a9;console[_0x4cb731(0xd0)](_0x4518b2),this[_0x4cb731(0x1ce)](),_0x50cf3b&&(this[_0x4cb731(0x140)]=_0x50cf3b),this[_0x4cb731(0x177)]=!0x0;});}[_0x980e55(0xfb)](_0x4bc696,_0x52989d){const _0x1c6274=_0x980e55,_0x28a30a=this[_0x1c6274(0x1c8)][_0x1c6274(0x1d0)](_0x4bc696);return _0x28a30a['on'](_0x1c6274(0x16a),(_0x1fa959,_0x3b1ff5,_0x13462b)=>_0x52989d(_0x3b1ff5,_0x13462b,_0x28a30a)),this[_0x1c6274(0x1c8)][_0x1c6274(0x1e3)](_0x28a30a),_0x28a30a;}[_0x980e55(0x18c)](_0x57a36c){const _0x4e1809=_0x980e55;if(!_0x57a36c||_0x57a36c[_0x4e1809(0xc9)])return Promise[_0x4e1809(0x204)]();{const _0x51ea46=this[_0x4e1809(0x1fe)][_0x4e1809(0xd3)][_0x4e1809(0xf3)](_0x4e1809(0xc0));return this[_0x4e1809(0x12a)][_0x4e1809(0x109)]({'channelId':_0x51ea46,'revisionId':_0x57a36c['id']})[_0x4e1809(0x182)](_0xa9ff4d=>{const _0x2c02a6=_0x4e1809;_0x57a36c[_0x2c02a6(0x16a)]({'diffData':_0xa9ff4d[_0x2c02a6(0xc9)]},!0x0);});}}[_0x980e55(0x1ce)](){const _0x4bda5b=_0x980e55;this[_0x4bda5b(0x1b1)]=null,this[_0x4bda5b(0x197)](),this[_0x4bda5b(0x169)]&&this[_0x4bda5b(0x169)][_0x4bda5b(0x180)](),this[_0x4bda5b(0x169)]=null,this[_0x4bda5b(0xe7)][_0x4bda5b(0x1f9)](),this[_0x4bda5b(0x1fe)][_0x4bda5b(0x1c6)][_0x4bda5b(0x181)]({'isUndoable':!0x1},_0x95628e=>{const _0x5b4a13=_0x4bda5b;for(const _0x2ee7e3 of this[_0x5b4a13(0x1fe)][_0x5b4a13(0x1c6)][_0x5b4a13(0xc3)][_0x5b4a13(0x188)]())_0x95628e[_0x5b4a13(0x14a)](_0x2ee7e3);});}[_0x980e55(0x11e)](_0x3c5f33){const _0x239e31=_0x980e55,_0x26b953=[],_0x888b97=new Map();for(const _0x35546c of this[_0x239e31(0x1fe)][_0x239e31(0x1c6)][_0x239e31(0xc3)][_0x239e31(0x188)]()){const _0x20f67e=this[_0x239e31(0x1fe)][_0x239e31(0x18f)][_0x239e31(0x1a7)][_0x239e31(0x17c)](_0x35546c);if(!_0x20f67e)continue;const _0x3ae25b=_0x20f67e[_0x239e31(0x12e)]()[_0x239e31(0x166)](0x0);_0x3ae25b&&(_0x26b953[_0x239e31(0x149)](_0x35546c),_0x888b97[_0x239e31(0x1a4)](_0x35546c,_0x3ae25b));}return _0x26b953[_0x239e31(0x100)]((_0x4e8f34,_0x4a2b38)=>{const _0x2af326=_0x239e31,_0x27b0fa=_0x888b97[_0x2af326(0xf3)](_0x4e8f34),_0x451615=_0x888b97[_0x2af326(0xf3)](_0x4a2b38);return _0x27b0fa['y']-_0x451615['y']||_0x27b0fa['x']-_0x451615['x'];}),(_0x3c5f33=_0x3c5f33[_0x239e31(0x1c7)](_0x56045d=>_0x26b953[_0x239e31(0x1f6)](_0x56045d[_0x239e31(0x13b)])))[_0x239e31(0x100)]((_0x50b513,_0x64cd56)=>_0x26b953[_0x239e31(0xdb)](_0x50b513[_0x239e31(0x13b)])-_0x26b953[_0x239e31(0xdb)](_0x64cd56[_0x239e31(0x13b)])),_0x3c5f33;}[_0x980e55(0x1ca)](_0x1f517f){const _0x5ee4ef=_0x980e55,_0x4124bf=Array[_0x5ee4ef(0x1f0)](_0x1f517f[_0x5ee4ef(0xf5)])[_0x5ee4ef(0x1c7)](([_0x3778ac,_0xf0c9e1])=>_0x3778ac[_0x5ee4ef(0x13c)](_0x5ee4ef(0xfc))&&!_0xf0c9e1[_0x5ee4ef(0x205)]),_0x31712e=Array[_0x5ee4ef(0x1f0)](this[_0x5ee4ef(0x1fe)][_0x5ee4ef(0x1c6)][_0x5ee4ef(0xd2)](_0x1f517f)[_0x5ee4ef(0x16d)]({'singleCharacters':!0x0}));if(0x0!=_0x4124bf[_0x5ee4ef(0x1bb)])for(const _0x42a849 of _0x31712e){const [_0x57eb54,_0x4c3597]=_0x4124bf[0x0],[,_0x2f3252,_0x4c4773]=_0x57eb54[_0x5ee4ef(0x1ff)](':');if(_0x4c3597[_0x5ee4ef(0xc1)][_0x5ee4ef(0xc8)](_0x42a849[_0x5ee4ef(0xd4)])&&_0x4124bf[_0x5ee4ef(0x153)](),(_0x42a849[_0x5ee4ef(0x170)][_0x5ee4ef(0xc8)](_0x4c3597[_0x5ee4ef(0x10b)])||_0x42a849[_0x5ee4ef(0x170)][_0x5ee4ef(0xf9)](_0x4c3597[_0x5ee4ef(0x10b)]))&&(_0x5ee4ef(0xc2)==_0x2f3252?_0x42a849[_0x5ee4ef(0x121)]={'userId':_0x4c4773}:_0x5ee4ef(0xeb)==_0x2f3252&&(_0x42a849[_0x5ee4ef(0xdc)]={'userId':_0x4c4773})),0x0==_0x4124bf[_0x5ee4ef(0x1bb)])break;}return _0x31712e;}[_0x980e55(0xe3)](_0x18785f){const _0x19906f=_0x980e55,_0x4c3b4e=new Map();for(let _0x11b8ba=0x0;_0x11b8ba<_0x18785f[_0x19906f(0x1bb)];_0x11b8ba++)_0x19906f(0x1e8)===_0x18785f[_0x11b8ba][_0x19906f(0x165)]?(_0x18785f[_0x11b8ba][_0x19906f(0x166)][_0x19906f(0x192)]=_0x11b8ba,_0x18785f[_0x11b8ba][_0x19906f(0x166)][_0x19906f(0x1af)]=_0x11b8ba):(_0x19906f(0xd5)===_0x18785f[_0x11b8ba][_0x19906f(0x165)]?_0x18785f[_0x11b8ba][_0x19906f(0x166)][_0x19906f(0x192)]=_0x11b8ba:_0x19906f(0x19b)===_0x18785f[_0x11b8ba][_0x19906f(0x165)]&&(_0x18785f[_0x11b8ba][_0x19906f(0x166)][_0x19906f(0x1af)]=_0x11b8ba),_0x4c3b4e[_0x19906f(0x1a4)](_0x18785f[_0x11b8ba]['id'],_0x11b8ba));for(const _0xc527e7 of _0x4c3b4e[_0x19906f(0x105)]())_0x19906f(0xd5)===_0x18785f[_0xc527e7][_0x19906f(0x165)]?_0x18785f[_0xc527e7][_0x19906f(0x166)][_0x19906f(0x1af)]=_0x4c3b4e[_0x19906f(0xf3)](_0x18785f[_0xc527e7][_0x19906f(0x196)]):_0x19906f(0x19b)===_0x18785f[_0xc527e7][_0x19906f(0x165)]&&(_0x18785f[_0xc527e7][_0x19906f(0x166)][_0x19906f(0x192)]=_0x4c3b4e[_0x19906f(0xf3)](_0x18785f[_0xc527e7][_0x19906f(0x196)]));}[_0x980e55(0x18d)](_0x32a320){const _0x56cc2e=_0x980e55;for(let _0x414b31=0x0;_0x414b31<_0x32a320[_0x56cc2e(0x1bb)];_0x414b31++){if(_0x56cc2e(0xd5)===_0x32a320[_0x414b31][_0x56cc2e(0x165)])_0x32a320[_0x414b31][_0x56cc2e(0x166)][_0x56cc2e(0x192)]=_0x414b31;else{if(_0x56cc2e(0x19b)===_0x32a320[_0x414b31][_0x56cc2e(0x165)]){_0x32a320[_0x414b31][_0x56cc2e(0x166)][_0x56cc2e(0x1af)]=_0x414b31;const _0x557824=_0x32a320[_0x414b31][_0x56cc2e(0x166)][_0x56cc2e(0x192)];_0x32a320[_0x557824][_0x56cc2e(0x196)]=_0x32a320[_0x414b31]['id'],_0x32a320[_0x414b31][_0x56cc2e(0x196)]=_0x32a320[_0x557824]['id'];}else _0x32a320[_0x414b31][_0x56cc2e(0x166)][_0x56cc2e(0x192)]=_0x414b31,_0x32a320[_0x414b31][_0x56cc2e(0x166)][_0x56cc2e(0x1af)]=_0x414b31,_0x32a320[_0x414b31][_0x56cc2e(0x196)]=null;}_0x32a320[_0x414b31][_0x56cc2e(0x125)]||(_0x32a320[_0x414b31][_0x56cc2e(0x125)]=[],_0x32a320[_0x414b31][_0x56cc2e(0x18e)]=[]);}}[_0x980e55(0xf1)](_0x977ec9,_0x5aa133){const _0x4f9c80=_0x980e55,_0x33eb1a=_0x977ec9[_0x4f9c80(0x1c7)](_0x2b81b1=>!_0x2b81b1[_0x4f9c80(0x121)]);for(let _0x2bceb2=0x0;_0x2bceb2<_0x5aa133[_0x4f9c80(0x1bb)];_0x2bceb2++)_0x5aa133[_0x2bceb2][_0x4f9c80(0x121)]&&(_0x33eb1a[_0x2bceb2][_0x4f9c80(0x121)]=_0x5aa133[_0x2bceb2][_0x4f9c80(0x121)]);}[_0x980e55(0x143)](_0x5f2324){const _0x136241=_0x980e55,_0x6266f2=JSON[_0x136241(0xcf)](_0x5f2324),_0x2cfe5a=this[_0x136241(0x1fe)][_0x136241(0x18f)][_0x136241(0x1a7)][_0x136241(0xc3)],_0x34f195=new _0x45946a(_0x2cfe5a,_0x6266f2[_0x136241(0x11c)](_0x553532=>this[_0x136241(0x1a2)](_0x553532)));return this[_0x136241(0x1fe)][_0x136241(0x130)][_0x136241(0x183)](_0x34f195);}[_0x980e55(0x1a2)](_0x4809c9){const _0x40c4e3=_0x980e55,_0x59698d=this[_0x40c4e3(0x1fe)][_0x40c4e3(0x18f)][_0x40c4e3(0x1a7)][_0x40c4e3(0xc3)];if(_0x40c4e3(0x190)==typeof _0x4809c9)return new _0x1c94b8(_0x59698d,_0x4809c9);{const _0x1293ec=_0x4809c9[_0x40c4e3(0x10c)][_0x40c4e3(0x11c)](_0xaad946=>this[_0x40c4e3(0x1a2)](_0xaad946));return new(tt[_0x4809c9[(_0x40c4e3(0x165))]]||_0x3a2791)(_0x59698d,_0x4809c9[_0x40c4e3(0xff)],_0x4809c9[_0x40c4e3(0x1da)],_0x1293ec);}}[_0x980e55(0x139)](_0x1eaf6b,_0x4aee84=null){const _0x4cfe34=_0x980e55,_0xab71e3=this[_0x4cfe34(0x1c8)][_0x4cfe34(0x109)](_0x1eaf6b),_0x422407=_0x4aee84?this[_0x4cfe34(0x1c8)][_0x4cfe34(0x109)](_0x4aee84):null,_0xeefeea=this[_0x4cfe34(0x141)](_0xab71e3,_0x422407),_0x27a0ce=_0xeefeea[_0xeefeea[_0x4cfe34(0x1bb)]-0x1],_0x4fc208=new Map(),_0x5172ce={'model':{},'attributes':{},'changes':[]},_0x4b0244=new Set(),_0x456ef=new Map();for(let _0x115da5=_0xeefeea[_0x4cfe34(0x1bb)]-0x1;_0x115da5>=0x0;_0x115da5--){const _0x4a6f12=_0xeefeea[_0x115da5];for(const _0xeb5832 of Object[_0x4cfe34(0x103)](_0x4a6f12[_0x4cfe34(0xc9)]))if(_0x4a6f12[_0x4cfe34(0xc9)][_0xeb5832][_0x4cfe34(0x168)]){const _0x101791=_0x4a6f12[_0x4cfe34(0xc9)][_0xeb5832][_0x4cfe34(0x168)];_0x101791[_0x4cfe34(0x1ae)]?(_0x4b0244[_0x4cfe34(0x158)](_0xeb5832),_0x456ef[_0x4cfe34(0x1b0)](_0xeb5832)&&_0x456ef[_0x4cfe34(0xf3)](_0xeb5832)[_0x4cfe34(0x173)]==_0x101791[_0x4cfe34(0x173)]?_0x456ef[_0x4cfe34(0xe5)](_0xeb5832):_0x456ef[_0x4cfe34(0x1a4)](_0xeb5832,_0x101791)):_0x456ef[_0x4cfe34(0x1b0)](_0xeb5832)?(_0x4b0244[_0x4cfe34(0xe5)](_0xeb5832),_0x456ef[_0x4cfe34(0xe5)](_0xeb5832)):(_0x4b0244[_0x4cfe34(0x158)](_0xeb5832),_0x456ef[_0x4cfe34(0x1a4)](_0xeb5832,_0x101791));}else _0x4b0244[_0x4cfe34(0x158)](_0xeb5832);}for(const _0x163583 of _0x4b0244){const _0x493c7a=_0x456ef[_0x4cfe34(0x1b0)](_0x163583)&&!_0x456ef[_0x4cfe34(0xf3)](_0x163583)[_0x4cfe34(0x1ae)];let _0x4e1dc0=_0x493c7a?_0xeefeea[_0x4cfe34(0x1bb)]-0x1:0x0;const _0x2e330d=_0x493c7a?-0x1:0x1;for(;_0xeefeea[_0x4e1dc0];){const _0x2bf642=_0xeefeea[_0x4e1dc0];if(_0x2bf642[_0x4cfe34(0xc9)][_0x163583]){const _0x58a9f6=_0x493c7a?_0x2bf642[_0x4cfe34(0xc9)][_0x163583][_0x4cfe34(0x19c)]:_0x2bf642[_0x4cfe34(0xc9)][_0x163583][_0x4cfe34(0xc4)];_0x5172ce[_0x4cfe34(0x1da)][_0x163583]=_0x58a9f6?_0x2d1d61(_0x58a9f6):{};break;}_0x4e1dc0+=_0x2e330d;}}for(const _0x5b9896 of _0xeefeea){_0x5b9896[_0x4cfe34(0x1c6)]={};for(const _0x2bbe32 of _0x5b9896[_0x4cfe34(0x13d)])_0x4fc208[_0x4cfe34(0x1a4)](_0x2bbe32['id'],_0x2bbe32);for(const _0x5734cc of _0x4b0244){const _0x32b92b=_0x5b9896[_0x4cfe34(0xc9)][_0x5734cc]?_0x5b9896[_0x4cfe34(0xc9)][_0x5734cc][_0x4cfe34(0x152)]:'[]',_0xf6ff70=_0x5b9896[_0x4cfe34(0xc9)][_0x5734cc]?_0x5b9896[_0x4cfe34(0xc9)][_0x5734cc][_0x4cfe34(0x107)]:'[]';_0x5b9896[_0x4cfe34(0x1c6)][_0x5734cc]={'insertions':this[_0x4cfe34(0x143)](_0x32b92b),'deletions':this[_0x4cfe34(0x143)](_0xf6ff70)};}}for(const _0x5a7a8f of _0x4b0244){let _0x11342a=null,_0x4fbd58=0x0;const _0x16b46d=new Map(Array[_0x4cfe34(0x1f0)](_0xab71e3[_0x4cfe34(0x1c6)][_0x5a7a8f][_0x4cfe34(0x152)][_0x4cfe34(0xf5)])[_0x4cfe34(0x1c7)](([_0x337183])=>!_0x337183[_0x4cfe34(0x13c)](_0x4cfe34(0xfc))));let _0x528f6d=0x0;for(const _0x34b60e of _0xeefeea){const _0x4e422c=this[_0x4cfe34(0x1ca)](_0x34b60e[_0x4cfe34(0x1c6)][_0x5a7a8f][_0x4cfe34(0x152)]);_0x34b60e==_0xab71e3?(_0x11342a=_0x4e422c,_0x4fbd58=_0x11342a[_0x4cfe34(0x1bb)],_0x11342a[_0x4cfe34(0x117)](_0x5c37f1=>{_0x5c37f1['id']=_0x528f6d++;}),this[_0x4cfe34(0x18d)](_0x11342a)):this[_0x4cfe34(0xf1)](_0x11342a,_0x4e422c);const _0x34e1ea=_0x11342a[_0x4cfe34(0x1c7)](_0x4d59bc=>!_0x4d59bc[_0x4cfe34(0x121)])[_0x4cfe34(0x11c)](_0x36d5ad=>_0x36d5ad['id']);let _0x1d113b=0x0;const _0x276668=this[_0x4cfe34(0x1ca)](_0x34b60e[_0x4cfe34(0x1c6)][_0x5a7a8f][_0x4cfe34(0x107)]);_0x276668[_0x4cfe34(0x117)](_0x35fd01=>{const _0x2b59b4=_0x4cfe34;_0x35fd01[_0x2b59b4(0xdc)]?_0x35fd01['id']=_0x4fbd58++:_0x35fd01['id']=_0x34e1ea[_0x1d113b++];}),this[_0x4cfe34(0x18d)](_0x276668),this[_0x4cfe34(0x1a1)](_0x11342a,_0x4cfe34(0x121)),this[_0x4cfe34(0x1a1)](_0x276668,_0x4cfe34(0xdc)),_0x34b60e==_0xab71e3&&this[_0x4cfe34(0x14f)](_0x11342a,_0x16b46d),_0x11342a=this[_0x4cfe34(0x209)](_0x11342a,_0x276668),this[_0x4cfe34(0xe3)](_0x11342a),this[_0x4cfe34(0x1a1)](_0x11342a,_0x4cfe34(0xdc));}_0x11342a=_0x11342a[_0x4cfe34(0x1c7)](_0x4adecd=>!(_0x4adecd[_0x4cfe34(0x121)]&&_0x4adecd[_0x4cfe34(0xdc)]));const _0x284588=new Map(_0x27a0ce[_0x4cfe34(0x1c6)][_0x5a7a8f][_0x4cfe34(0x107)][_0x4cfe34(0xf5)]),_0x11bc9f=new Set(_0x16b46d[_0x4cfe34(0x103)]());for(const _0x319339 of _0x284588[_0x4cfe34(0x103)]())_0x11bc9f[_0x4cfe34(0xe5)](_0x319339);this[_0x4cfe34(0x1e2)](_0x11342a,_0x11bc9f),this[_0x4cfe34(0x1df)](_0x11342a),_0x11342a=this[_0x4cfe34(0x1a0)](_0x11342a),_0x11342a=this[_0x4cfe34(0x1a3)](_0x11342a),_0x11342a=this[_0x4cfe34(0x1c1)](_0x11342a);const {root:_0x492f1f,changes:_0xadb59c}=this[_0x4cfe34(0xfd)](_0x11342a,_0x4fc208,_0x5a7a8f);_0x5172ce[_0x4cfe34(0x1c6)][_0x5a7a8f]=_0x492f1f;const _0x4a2d53=_0x456ef[_0x4cfe34(0xf3)](_0x5a7a8f);if(_0x4a2d53){const _0xfcb3a=_0x4fc208[_0x4cfe34(0xf3)](_0x4a2d53[_0x4cfe34(0x173)]),_0x13521f=new _0x268274({'author':_0xfcb3a,'type':_0x4a2d53[_0x4cfe34(0x1ae)]?_0x4cfe34(0x158):_0x4cfe34(0xfe),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5a7a8f});_0xadb59c[_0x4cfe34(0xdd)](_0x13521f),_0x5172ce[_0x4cfe34(0x1da)][_0x5a7a8f][_0x4cfe34(0x1d6)]=_0x13521f['id'];}_0x5172ce[_0x4cfe34(0x1c5)]=_0x5172ce[_0x4cfe34(0x1c5)][_0x4cfe34(0x1ee)](_0xadb59c);}return _0x5172ce;}[_0x980e55(0x14f)](_0x14cc88,_0x4d612a){const _0x1b1cfe=_0x980e55;for(let _0x5c8519=0x0;_0x5c8519<_0x14cc88[_0x1b1cfe(0x1bb)];_0x5c8519++)for(const [_0x26a87e,_0x335252]of _0x4d612a)_0x335252[_0x1b1cfe(0x10b)][_0x1b1cfe(0xc8)](_0x14cc88[_0x5c8519][_0x1b1cfe(0x170)])&&_0x14cc88[_0x5c8519][_0x1b1cfe(0x125)][_0x1b1cfe(0x149)](_0x26a87e),_0x335252[_0x1b1cfe(0xc1)][_0x1b1cfe(0xc8)](_0x14cc88[_0x5c8519][_0x1b1cfe(0xd4)])&&_0x14cc88[_0x5c8519][_0x1b1cfe(0x18e)][_0x1b1cfe(0x149)](_0x26a87e);}[_0x980e55(0x209)](_0x108e09,_0x21714e){const _0x472750=_0x980e55;let _0x1da2dc=[],_0x2e2699=0x0,_0x563b0a=0x0;for(;_0x2e2699<_0x108e09[_0x472750(0x1bb)]||_0x563b0a<_0x21714e[_0x472750(0x1bb)];){const _0x24187e=_0x108e09[_0x2e2699]||{},_0x1d2faf=_0x21714e[_0x563b0a]||{};if(_0x24187e['id']==_0x1d2faf['id'])_0x2e2699++,_0x563b0a++,_0x1da2dc[_0x472750(0x149)](_0x24187e);else{if(_0x1d2faf[_0x472750(0xdc)]&&_0x24187e[_0x472750(0x121)]){const {commonTape:_0x512647,iEnd:_0x47688b,jEnd:_0x383cd6}=this[_0x472750(0xfa)](_0x108e09,_0x2e2699,_0x21714e,_0x563b0a);_0x1da2dc=_0x1da2dc[_0x472750(0x1ee)](_0x512647),_0x2e2699=_0x47688b,_0x563b0a=_0x383cd6;}else _0x1d2faf[_0x472750(0xdc)]?(_0x563b0a++,_0x1da2dc[_0x472750(0x149)](_0x1d2faf)):(_0x2e2699++,_0x1da2dc[_0x472750(0x149)](_0x24187e));}}return _0x1da2dc;}[_0x980e55(0x1e2)](_0x445cad,_0x53ef69){const _0x2fc7bb=_0x980e55,_0x2ea0aa=[];for(let _0x2e3179=0x0;_0x2e3179<_0x445cad[_0x2fc7bb(0x1bb)];_0x2e3179++){for(let _0x46b376=0x0;_0x46b376<_0x445cad[_0x2e3179][_0x2fc7bb(0x125)][_0x2fc7bb(0x1bb)];_0x46b376++){const _0x4959f1=_0x445cad[_0x2e3179][_0x2fc7bb(0x125)][_0x46b376];if(!_0x53ef69[_0x2fc7bb(0x1b0)](_0x4959f1))continue;const {group:_0x24a861,type:_0x369bca,authorId:_0x5f1337}=_0x2d3922(_0x4959f1);_0x2fc7bb(0x1d2)!=_0x24a861||_0x2fc7bb(0xc2)!=_0x369bca&&_0x2fc7bb(0xeb)!=_0x369bca||(_0x2ea0aa[_0x2fc7bb(0xdd)]({'type':_0x369bca,'name':_0x4959f1,'userId':_0x5f1337}),_0x445cad[_0x2e3179][_0x2fc7bb(0x125)][_0x2fc7bb(0xbf)](_0x46b376,0x1),_0x46b376--);}_0x383f4f(_0x445cad[_0x2e3179]);for(let _0x3ca7dd=0x0;_0x3ca7dd<_0x445cad[_0x2e3179][_0x2fc7bb(0x18e)][_0x2fc7bb(0x1bb)];_0x3ca7dd++){const _0x2de3d0=_0x445cad[_0x2e3179][_0x2fc7bb(0x18e)][_0x3ca7dd];if(!_0x53ef69[_0x2fc7bb(0x1b0)](_0x2de3d0))continue;const {group:_0x65f3ad,type:_0x54551d}=_0x2d3922(_0x2de3d0);if(_0x2fc7bb(0x1d2)!=_0x65f3ad||_0x2fc7bb(0xc2)!=_0x54551d&&_0x2fc7bb(0xeb)!=_0x54551d)continue;_0x445cad[_0x2e3179][_0x2fc7bb(0x18e)][_0x2fc7bb(0xbf)](_0x3ca7dd,0x1),_0x3ca7dd--;const _0x1afd8d=_0x2ea0aa[_0x2fc7bb(0x1b4)](_0x77292e=>_0x77292e[_0x2fc7bb(0xff)]==_0x2de3d0);_0x1afd8d>-0x1&&_0x2ea0aa[_0x2fc7bb(0xbf)](_0x1afd8d,0x1);}}function _0x2d3922(_0x4d608){const _0x2444a8=_0x2fc7bb,_0x134009=_0x4d608[_0x2444a8(0x1ff)](':');return{'group':_0x134009[0x0],'type':_0x134009[0x1],'subType':_0x134009[_0x2444a8(0x1bb)]>=0x5?_0x134009[0x2]:null,'id':_0x134009[_0x2444a8(0x1bb)]<0x5?_0x134009[0x2]:_0x134009[0x3],'authorId':_0x134009[_0x2444a8(0x1bb)]<0x5?_0x134009[0x3]:_0x134009[0x4],'markerCount':0x6==_0x134009[_0x2444a8(0x1bb)]?_0x134009[0x5]:null};}function _0x383f4f(_0x43738c){const _0x50b30d=_0x2fc7bb;for(let _0x608bdb=0x0;_0x608bdb<_0x2ea0aa[_0x50b30d(0x1bb)];_0x608bdb++){if(_0x43738c[_0x50b30d(0x121)]&&_0x50b30d(0xc2)==_0x2ea0aa[_0x608bdb][_0x50b30d(0x165)])return _0x43738c[_0x50b30d(0x1cc)]=_0x2ea0aa[_0x608bdb],void delete _0x43738c[_0x50b30d(0x121)];if(!_0x43738c[_0x50b30d(0x121)]&&!_0x43738c[_0x50b30d(0xdc)]&&_0x50b30d(0xeb)==_0x2ea0aa[_0x608bdb][_0x50b30d(0x165)])return void(_0x43738c[_0x50b30d(0x102)]=_0x2ea0aa[_0x608bdb]);}}}[_0x980e55(0x1a1)](_0x1c4dbf,_0x5c0d69){const _0x322272=_0x980e55;let _0x1328f0=0x0,_0x154eec=!0x1;const _0x597c86=new Map();for(const _0x144096 of _0x1c4dbf)_0x144096[_0x5c0d69]?_0x154eec&&(_0x1328f0++,_0x154eec=!0x1):(_0x1328f0++,_0x154eec=!0x0),_0x597c86[_0x322272(0x1a4)](_0x144096['id'],_0x1328f0);for(let _0x44023a=0x0;_0x44023a<_0x1c4dbf[_0x322272(0x1bb)];_0x44023a++){if(_0x322272(0xdc)==_0x5c0d69&&_0x1c4dbf[_0x44023a][_0x322272(0x121)]||_0x322272(0x121)==_0x5c0d69&&_0x1c4dbf[_0x44023a][_0x322272(0xdc)])continue;if(_0x322272(0x1e8)==_0x1c4dbf[_0x44023a][_0x322272(0x165)]){_0x1c4dbf[_0x44023a][_0x322272(0xf4)]=0x0;continue;}const _0x1637b0=_0x597c86[_0x322272(0xf3)](_0x1c4dbf[_0x44023a][_0x322272(0x196)]),_0x5aa884=_0x597c86[_0x322272(0xf3)](_0x1c4dbf[_0x44023a]['id']);_0x1c4dbf[_0x44023a][_0x322272(0xf4)]=_0x1637b0-_0x5aa884;}}[_0x980e55(0x141)](_0x3653eb,_0x3f153c,_0x176abd=!0x1){const _0x583b63=_0x980e55,_0x3b32e0=[];let _0x1289d4=this[_0x583b63(0x1c8)][_0x583b63(0x1bf)](_0x3653eb),_0x14eba6=this[_0x583b63(0x1c8)][_0x583b63(0x1bf)](_0x3f153c);for(-0x1==_0x14eba6&&(_0x14eba6=this[_0x583b63(0x1c8)][_0x583b63(0x112)][_0x583b63(0x1bb)],_0x176abd=!0x1);_0x1289d4<_0x14eba6;)_0x3b32e0[_0x583b63(0x149)](this[_0x583b63(0x1c8)][_0x583b63(0x109)](_0x1289d4)),_0x1289d4++;return _0x176abd&&_0x3b32e0[_0x583b63(0x149)](this[_0x583b63(0x1c8)][_0x583b63(0x109)](_0x1289d4)),_0x3b32e0;}[_0x980e55(0xfa)](_0x35dd6a,_0x3f6b51,_0x5aba4c,_0x39c732){const _0x61c789=_0x980e55,_0x1d2838=this[_0x61c789(0x1fe)][_0x61c789(0x1c6)][_0x61c789(0x18a)];let _0x16d790=_0x3f6b51;for(;_0x35dd6a[_0x16d790]&&_0x35dd6a[_0x16d790][_0x61c789(0x121)];)_0x16d790++;let _0x2538dc=_0x39c732;for(;_0x5aba4c[_0x2538dc]&&_0x5aba4c[_0x2538dc][_0x61c789(0xdc)];)_0x2538dc++;_0x340866(_0x35dd6a,_0x3f6b51,_0x16d790),_0x340866(_0x5aba4c,_0x39c732,_0x2538dc);const _0x80acf1=_0x5aba4c[_0x61c789(0xe8)](_0x39c732,_0x2538dc)[_0x61c789(0x1ee)](_0x35dd6a[_0x61c789(0xe8)](_0x3f6b51,_0x16d790));return _0x80acf1[_0x61c789(0x100)]((_0x772f85,_0x9605c8)=>_0x772f85[_0x61c789(0x138)]!=_0x9605c8[_0x61c789(0x138)]?_0x772f85[_0x61c789(0x138)]-_0x9605c8[_0x61c789(0x138)]:_0x772f85[_0x61c789(0x1a5)]!=_0x9605c8[_0x61c789(0x1a5)]?_0x772f85[_0x61c789(0x1a5)]-_0x9605c8[_0x61c789(0x1a5)]:_0x772f85[_0x61c789(0xf4)]!=_0x9605c8[_0x61c789(0xf4)]?_0x9605c8[_0x61c789(0xf4)]-_0x772f85[_0x61c789(0xf4)]:!!_0x772f85[_0x61c789(0x121)]!=!!_0x9605c8[_0x61c789(0x121)]?-0x1==_0x772f85[_0x61c789(0x138)]||0x0==_0x772f85[_0x61c789(0x138)]?_0x772f85[_0x61c789(0x121)]?-0x1:0x1:_0x772f85[_0x61c789(0x121)]?0x1:-0x1:_0x772f85[_0x61c789(0x206)]-_0x9605c8[_0x61c789(0x206)]),{'commonTape':_0x80acf1,'iEnd':_0x16d790,'jEnd':_0x2538dc};function _0x340866(_0x232204,_0x5b3124,_0xe2f9a1){const _0xabe67e=_0x61c789;let _0x361cf7=-0x1,_0x486973=Number[_0xabe67e(0x175)],_0x1daa6e=!0x0;for(let _0x57dd46=_0x5b3124;_0x57dd46<_0xe2f9a1;_0x57dd46++)if(_0x1d2838[_0xabe67e(0xda)](_0x232204[_0x57dd46][_0xabe67e(0x166)])||(_0x1daa6e=!0x1),_0x232204[_0x57dd46][_0xabe67e(0x166)][_0xabe67e(0x192)]<_0x5b3124&&(_0x361cf7=_0x57dd46),_0x232204[_0x57dd46][_0xabe67e(0x166)][_0xabe67e(0x1af)]>=_0xe2f9a1){_0x486973=_0x57dd46;break;}_0x1daa6e&&(_0x361cf7=_0xe2f9a1-0x1);for(let _0x59e313=_0x5b3124;_0x59e313<_0xe2f9a1;_0x59e313++)_0x232204[_0x59e313][_0xabe67e(0x138)]=_0x59e313<=_0x361cf7?-0x1:_0x59e313<_0x486973?0x0:0x1,_0x232204[_0x59e313][_0xabe67e(0x206)]=_0x59e313;let _0x357b4a=0x0;for(let _0x3b2ff2=_0x5b3124;_0x3b2ff2<=_0x361cf7;_0x3b2ff2++)0x0==_0x232204[_0x3b2ff2][_0xabe67e(0xf4)]?_0x232204[_0x3b2ff2][_0xabe67e(0x1a5)]=_0x357b4a:(_0x357b4a++,_0x232204[_0x3b2ff2][_0xabe67e(0x1a5)]=_0x357b4a,_0x357b4a++);for(let _0x1e72c6=_0x5b3124;_0x1e72c6<_0xe2f9a1;_0x1e72c6++)0x0==_0x232204[_0x1e72c6][_0xabe67e(0x138)]&&(_0x232204[_0x1e72c6][_0xabe67e(0x1a5)]=_0x357b4a);_0x357b4a=0x0;for(let _0x275d52=_0xe2f9a1-0x1;_0x275d52>=_0x486973;_0x275d52--)0x0==_0x232204[_0x275d52][_0xabe67e(0xf4)]?_0x232204[_0x275d52][_0xabe67e(0x1a5)]=_0x357b4a:(_0x357b4a--,_0x232204[_0x275d52][_0xabe67e(0x1a5)]=_0x357b4a,_0x357b4a--);}}[_0x980e55(0x1df)](_0x32b625){const _0x3515ee=_0x980e55,_0x523e53=new Map(),_0x38b79d=this[_0x3515ee(0x1fe)][_0x3515ee(0x1c6)][_0x3515ee(0x18a)];for(let _0x1b3cb9=0x1;_0x1b3cb9<_0x32b625[_0x3515ee(0x1bb)];_0x1b3cb9++){let _0x4d4a2d,_0x511099,_0xde6cfd;const _0xdf105c=_0x32b625[_0x1b3cb9],_0x415016=_0x32b625[_0x1b3cb9-0x1];if(_0x3515ee(0x1e8)==_0xdf105c[_0x3515ee(0x165)])continue;if(_0xdf105c[_0x3515ee(0x165)]!=_0x415016[_0x3515ee(0x165)])continue;if(!_0x38b79d[_0x3515ee(0xcb)](_0x415016[_0x3515ee(0x166)])||_0x38b79d[_0x3515ee(0x19a)](_0x415016[_0x3515ee(0x166)]))continue;if(!_0x38b79d[_0x3515ee(0xcb)](_0xdf105c[_0x3515ee(0x166)])||_0x38b79d[_0x3515ee(0x19a)](_0xdf105c[_0x3515ee(0x166)]))continue;if((_0x32b625[_0x1b3cb9][_0x3515ee(0x121)]||_0x32b625[_0x1b3cb9][_0x3515ee(0x1cc)])&&_0x32b625[_0x1b3cb9-0x1][_0x3515ee(0xdc)])_0x4d4a2d=_0x32b625[_0x1b3cb9],_0x511099=_0x32b625[_0x1b3cb9-0x1],_0xde6cfd=_0x1b3cb9-0x1;else{if(!_0x32b625[_0x1b3cb9][_0x3515ee(0xdc)]||!_0x32b625[_0x1b3cb9-0x1][_0x3515ee(0x121)]&&!_0x32b625[_0x1b3cb9-0x1][_0x3515ee(0x1cc)])continue;_0x4d4a2d=_0x32b625[_0x1b3cb9-0x1],_0x511099=_0x32b625[_0x1b3cb9],_0xde6cfd=_0x1b3cb9;}const _0x52a9ca=_0x4d4a2d[_0x3515ee(0x1a5)]==_0x511099[_0x3515ee(0x1a5)],_0x284b67=Math[_0x3515ee(0x162)](_0x4d4a2d[_0x3515ee(0x1a5)])<Math[_0x3515ee(0x162)](_0x511099[_0x3515ee(0x1a5)])&&0x0==_0x511099[_0x3515ee(0xf4)];(_0x52a9ca||_0x284b67)&&(_0x523e53[_0x3515ee(0x1a4)](_0x511099['id'],_0x4d4a2d['id']),_0x32b625[_0x3515ee(0xbf)](_0xde6cfd,0x1),_0x1b3cb9--,_0x4d4a2d[_0x3515ee(0x121)]=!0x1);}for(let _0x5e648c=0x0;_0x5e648c<_0x32b625[_0x3515ee(0x1bb)];_0x5e648c++)_0x523e53[_0x3515ee(0x1b0)](_0x32b625[_0x5e648c][_0x3515ee(0x196)])&&(_0x32b625[_0x5e648c][_0x3515ee(0x196)]=_0x523e53[_0x3515ee(0xf3)](_0x32b625[_0x5e648c][_0x3515ee(0x196)]));}[_0x980e55(0x1a0)](_0x3180d2){const _0x273442=_0x980e55,_0x3a8abc=new Set(_0x3180d2[_0x273442(0x11c)](_0x5707ca=>_0x5707ca['id']));for(let _0x3433f4=0x0;_0x3433f4<_0x3180d2[_0x273442(0x1bb)];_0x3433f4++)_0x3a8abc[_0x273442(0x1b0)](_0x3180d2[_0x3433f4][_0x273442(0x196)])||0x0==_0x3180d2[_0x3433f4][_0x273442(0xf4)]||(_0x3180d2[_0x3433f4][_0x273442(0x1f2)]=!0x0);return _0x3180d2[_0x273442(0x1c7)](_0x4f450f=>!_0x4f450f[_0x273442(0x1f2)]);}[_0x980e55(0x1a3)](_0x1837f4){const _0x2489b3=_0x980e55,_0x388555=new Set();for(let _0xf41754=0x0;_0xf41754<_0x1837f4[_0x2489b3(0x1bb)];_0xf41754++){if(_0x388555[_0x2489b3(0x1b0)](_0x1837f4[_0xf41754]['id'])&&_0x1837f4[_0xf41754][_0x2489b3(0xdc)]&&(_0x1837f4[_0xf41754][_0x2489b3(0x1f2)]=!0x0),_0x1837f4[_0xf41754][_0x2489b3(0x1f2)])continue;if(0x0==_0x1837f4[_0xf41754][_0x2489b3(0xf4)])continue;if(_0x2489b3(0xd5)!=_0x1837f4[_0xf41754][_0x2489b3(0x165)])continue;if(null==_0x1837f4[_0xf41754][_0x2489b3(0x196)])continue;let _0x44082b=_0xf41754+0x1,_0x43fbb7=0x0;for(;_0x1837f4[_0x44082b]['id']!=_0x1837f4[_0xf41754][_0x2489b3(0x196)];)_0x2489b3(0xd5)==_0x1837f4[_0x44082b][_0x2489b3(0x165)]?_0x43fbb7++:_0x2489b3(0x19b)==_0x1837f4[_0x44082b][_0x2489b3(0x165)]&&_0x43fbb7--,_0x44082b++;if(0x0!=_0x43fbb7){if(_0x1837f4[_0xf41754][_0x2489b3(0xdc)])_0x1837f4[_0xf41754][_0x2489b3(0x1f2)]=!0x0;else{for(;_0x44082b!=_0xf41754;)_0x1837f4[_0x44082b][_0x2489b3(0xdc)]&&0x0!=_0x1837f4[_0x44082b][_0x2489b3(0xf4)]&&(_0x1837f4[_0x44082b][_0x2489b3(0x1f2)]=!0x0,_0x388555[_0x2489b3(0x158)](_0x1837f4[_0x44082b][_0x2489b3(0x196)])),_0x44082b--;}}}return _0x1837f4[_0x2489b3(0x1c7)](_0x12dfa6=>!_0x12dfa6[_0x2489b3(0x1f2)]);}[_0x980e55(0x1c1)](_0x239ac4){const _0x307081=_0x980e55,_0x121bd9=this[_0x307081(0x1fe)][_0x307081(0x1c6)][_0x307081(0x18a)];for(let _0x348436=0x0;_0x348436<_0x239ac4[_0x307081(0x1bb)];_0x348436++){if(!(_0x239ac4[_0x348436][_0x307081(0x121)]||_0x239ac4[_0x348436][_0x307081(0x1cc)]||_0x239ac4[_0x348436][_0x307081(0xdc)]||_0x239ac4[_0x348436][_0x307081(0x102)]))continue;if(0x0==_0x239ac4[_0x348436][_0x307081(0xf4)])continue;const _0x3fa91c=_0x239ac4[_0x348436][_0x307081(0x166)];_0x121bd9[_0x307081(0xcb)](_0x3fa91c)||_0x121bd9[_0x307081(0x19a)](_0x3fa91c)||(_0x239ac4[_0x348436][_0x307081(0x121)]&&delete _0x239ac4[_0x348436][_0x307081(0x121)],_0x239ac4[_0x348436][_0x307081(0x1cc)]&&delete _0x239ac4[_0x348436][_0x307081(0x1cc)],_0x239ac4[_0x348436][_0x307081(0x102)]&&delete _0x239ac4[_0x348436][_0x307081(0x102)],_0x239ac4[_0x348436][_0x307081(0xdc)]&&(_0x239ac4[_0x348436][_0x307081(0x1f2)]=!0x0));}return _0x239ac4[_0x307081(0x1c7)](_0x504180=>!_0x504180[_0x307081(0x1f2)]);}[_0x980e55(0xfd)](_0x1b0291,_0x4470f0,_0x4cd6aa){const _0x5e8bba=_0x980e55,_0x3caa71=new _0x2ca909(),_0x17a9fa=[],_0x59b074=new Map(),_0xccd1bd=this[_0x5e8bba(0x1fe)][_0x5e8bba(0x1c6)],_0x39e80e=_0xccd1bd[_0x5e8bba(0x18a)],_0x33c0b9=[_0x3caa71],_0x173832={},_0x92e3d4={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2b8456=null;const _0x163b0a=[0x0];for(let _0x139305=0x0;_0x139305<_0x1b0291[_0x5e8bba(0x1bb)];_0x139305++){let _0x298d75,_0xb45b87;if(_0x5e8bba(0xd5)===_0x1b0291[_0x139305][_0x5e8bba(0x165)]){_0x298d75=_0xccd1bd[_0x5e8bba(0xf0)](_0x3caa71,_0x163b0a);const _0x1105a9=new _0xcb3c2d(_0x1b0291[_0x139305][_0x5e8bba(0x166)][_0x5e8bba(0xff)],_0x1b0291[_0x139305][_0x5e8bba(0x166)][_0x5e8bba(0x199)]());_0x33c0b9[0x0][_0x5e8bba(0xca)](_0x1105a9),_0x163b0a[_0x5e8bba(0x149)](0x0),_0x33c0b9[_0x5e8bba(0xdd)](_0x1105a9),_0xb45b87=_0xccd1bd[_0x5e8bba(0xf0)](_0x3caa71,_0x163b0a),_0x2b8456=null;}else{if(_0x5e8bba(0x19b)===_0x1b0291[_0x139305][_0x5e8bba(0x165)])_0x33c0b9[_0x5e8bba(0x153)](),_0x298d75=_0xccd1bd[_0x5e8bba(0xf0)](_0x3caa71,_0x163b0a),_0x163b0a[_0x5e8bba(0x171)](),_0x163b0a[_0x163b0a[_0x5e8bba(0x1bb)]-0x1]++,_0xb45b87=_0xccd1bd[_0x5e8bba(0xf0)](_0x3caa71,_0x163b0a),_0x2b8456=null;else{if(_0x298d75=_0xccd1bd[_0x5e8bba(0xf0)](_0x3caa71,_0x163b0a),_0x2b8456&&_0x592423(_0x2b8456,_0x1b0291[_0x139305][_0x5e8bba(0x166)]))_0x2b8456[_0x5e8bba(0x1cd)]+=_0x1b0291[_0x139305][_0x5e8bba(0x166)][_0x5e8bba(0x130)];else{const _0x462ccc=new _0x33c4bb(_0x1b0291[_0x139305][_0x5e8bba(0x166)][_0x5e8bba(0x130)],_0x1b0291[_0x139305][_0x5e8bba(0x166)][_0x5e8bba(0x199)]());_0x33c0b9[0x0][_0x5e8bba(0xca)](_0x462ccc),_0x2b8456=_0x462ccc;}_0x163b0a[_0x163b0a[_0x5e8bba(0x1bb)]-0x1]+=_0x1b0291[_0x139305][_0x5e8bba(0x166)][_0x5e8bba(0xd1)],_0xb45b87=_0xccd1bd[_0x5e8bba(0xf0)](_0x3caa71,_0x163b0a);}}for(const _0x579877 of _0x1b0291[_0x139305][_0x5e8bba(0x125)])_0x59b074[_0x5e8bba(0x1a4)](_0x579877,{'start':_0x298d75,'end':null});_0x36ad71(_0x5e8bba(0x102),_0x139305,_0x298d75,_0xb45b87),_0x36ad71(_0x5e8bba(0x1cc),_0x139305,_0x298d75,_0xb45b87),_0x36ad71(_0x5e8bba(0xdc),_0x139305,_0x298d75,_0xb45b87),_0x36ad71(_0x5e8bba(0x121),_0x139305,_0x298d75,_0xb45b87);for(const _0x2f8ea9 of _0x1b0291[_0x139305][_0x5e8bba(0x18e)]){_0x59b074[_0x5e8bba(0xf3)](_0x2f8ea9)[_0x5e8bba(0xc1)]=_0xb45b87;}}for(const [_0x975c90,_0x477774]of _0x59b074){const _0x4f4da5=this[_0x5e8bba(0x1fe)][_0x5e8bba(0x1c6)][_0x5e8bba(0x1bc)](_0x477774[_0x5e8bba(0x10b)],_0x477774[_0x5e8bba(0xc1)]);_0x3caa71[_0x5e8bba(0xf5)][_0x5e8bba(0x1a4)](_0x975c90,_0x4f4da5);}return _0x17a9fa[_0x5e8bba(0x100)]((_0x26d5c9,_0x5c169a)=>{const _0x3197e0=_0x5e8bba,_0x21e964=_0x3caa71[_0x3197e0(0xf5)][_0x3197e0(0xf3)](_0x3197e0(0xfc)+_0x26d5c9['id']),_0x18e6ae=_0x3caa71[_0x3197e0(0xf5)][_0x3197e0(0xf3)](_0x3197e0(0xfc)+_0x5c169a['id']);return _0x21e964[_0x3197e0(0x10b)][_0x3197e0(0xc6)](_0x18e6ae[_0x3197e0(0x10b)])?-0x1:_0x21e964[_0x3197e0(0x10b)][_0x3197e0(0xf9)](_0x18e6ae[_0x3197e0(0x10b)])?0x1:_0x21e964[_0x3197e0(0xc1)][_0x3197e0(0xc6)](_0x18e6ae[_0x3197e0(0xc1)])?-0x1:_0x21e964[_0x3197e0(0xc1)][_0x3197e0(0xf9)](_0x18e6ae[_0x3197e0(0xc1)])?0x1:_0x3197e0(0x158)===_0x26d5c9[_0x3197e0(0x165)]?-0x1:0x1;}),{'root':_0x3caa71,'changes':_0x17a9fa};function _0x36ad71(_0x279e28,_0x3989ad,_0x134fe8,_0x3eb844){const _0x15d203=_0x5e8bba,_0x5143f6=!!_0x1b0291[_0x3989ad][_0x279e28],_0x2ed85b=_0x5143f6?_0x1b0291[_0x3989ad][_0x279e28][_0x15d203(0x173)]:null,_0x140d78=_0x3989ad===_0x1b0291[_0x15d203(0x1bb)]-0x1,_0x35dce7=_0x92e3d4[_0x279e28][0x0],_0x346001=_0x39e80e[_0x15d203(0x208)](_0x1b0291[_0x3989ad][_0x15d203(0x166)]);!_0x173832[_0x279e28]&&_0x5143f6?_0x173832[_0x279e28]={'start':_0x134fe8,'tapeItem':_0x1b0291[_0x3989ad],'userId':_0x2ed85b,'type':_0x279e28}:_0x173832[_0x279e28]&&!_0x5143f6?(_0x173832[_0x279e28][_0x15d203(0xc1)]=_0x134fe8,_0x565726(_0x173832[_0x279e28]),_0x173832[_0x279e28]=null):_0x173832[_0x279e28]&&_0x5143f6&&_0x173832[_0x279e28][_0x15d203(0x173)]!==_0x2ed85b&&(_0x173832[_0x279e28][_0x15d203(0xc1)]=_0x134fe8,_0x35dce7&&_0x35dce7[_0x15d203(0x173)]===_0x173832[_0x279e28][_0x15d203(0x173)]||_0x565726(_0x173832[_0x279e28]),_0x173832[_0x279e28]={'start':_0x134fe8,'tapeItem':_0x1b0291[_0x3989ad],'userId':_0x2ed85b,'type':_0x279e28}),_0x173832[_0x279e28]&&_0x346001&&(_0x15d203(0xd5)!==_0x1b0291[_0x3989ad][_0x15d203(0x165)]||_0x35dce7&&_0x35dce7[_0x15d203(0x173)]===_0x2ed85b||_0x92e3d4[_0x279e28][_0x15d203(0xdd)]({'userId':_0x2ed85b,'object':_0x1b0291[_0x3989ad][_0x15d203(0x166)],'change':_0x173832[_0x279e28]}),_0x15d203(0x19b)===_0x1b0291[_0x3989ad][_0x15d203(0x165)]&&_0x35dce7&&_0x35dce7[_0x15d203(0x189)]===_0x1b0291[_0x3989ad][_0x15d203(0x166)]&&(_0x92e3d4[_0x279e28][_0x15d203(0x153)](),_0x173832[_0x279e28]=_0x35dce7[_0x15d203(0x1a6)])),_0x173832[_0x279e28]&&_0x140d78&&(_0x173832[_0x279e28][_0x15d203(0xc1)]=_0x3eb844,_0x565726(_0x173832[_0x279e28]),_0x173832[_0x279e28]=null);}function _0x565726({start:_0x406b93,end:_0x571b85,tapeItem:_0x43ae3d,userId:_0x18a4cf,type:_0x27b7b5}){const _0x11f1b8=_0x5e8bba,_0xa52a42=_0x43ae3d[_0x11f1b8(0x166)],_0x50a49c=_0xccd1bd[_0x11f1b8(0x18a)][_0x11f1b8(0xcb)](_0xa52a42)&&!_0xccd1bd[_0x11f1b8(0x18a)][_0x11f1b8(0x19a)](_0xa52a42),_0x18e569=_0x406b93[_0x11f1b8(0x145)]==_0x571b85[_0x11f1b8(0x1d1)]&&_0x571b85[_0x11f1b8(0x15f)];if(_0x50a49c&&_0x18e569)return;const _0x19eb95=_0xccd1bd[_0x11f1b8(0x1bc)](_0x406b93,_0x571b85),_0x29765d=_0x4470f0[_0x11f1b8(0xf3)](_0x18a4cf),_0x3f34c5=new _0x268274({'author':_0x29765d,'type':_0x11f1b8(0x121)==_0x27b7b5||_0x11f1b8(0x1cc)==_0x27b7b5?_0x11f1b8(0x158):_0x11f1b8(0xfe),'data':{'isSuggestion':_0x11f1b8(0x1cc)==_0x27b7b5||_0x11f1b8(0x102)==_0x27b7b5},'createdAt':new Date(),'rootName':_0x4cd6aa});_0x17a9fa[_0x11f1b8(0x149)](_0x3f34c5),_0x3caa71[_0x11f1b8(0xf5)][_0x11f1b8(0x1a4)](_0x11f1b8(0xfc)+_0x3f34c5['id'],_0x19eb95);}function _0x592423(_0x5d219c,_0x8ba637){const _0x158fac=_0x5e8bba,_0x1f9342=_0x5d219c[_0x158fac(0x199)](),_0x5bb6de=_0x8ba637[_0x158fac(0x199)]();for(const _0x1c6e39 of _0x1f9342){if(_0x1c6e39[0x1]!==_0x8ba637[_0x158fac(0x11f)](_0x1c6e39[0x0]))return!0x1;_0x5bb6de[_0x158fac(0x1b2)]();}return _0x5bb6de[_0x158fac(0x1b2)]()[_0x158fac(0x207)];}}[_0x980e55(0x119)](){const _0x304f78=_0x980e55;this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0x1d5))[_0x304f78(0x131)]({'view':_0x304f78(0x1c2)}),this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0xcc))[_0x304f78(0x127)]({'model':_0x304f78(0x1c2),'view':_0x35f779=>{const _0x52ffea=_0x304f78,_0x38bca0=_0x35f779[_0x52ffea(0x195)][_0x52ffea(0x1ff)](':')[0x1],_0x54e845=this[_0x52ffea(0x10a)](_0x38bca0);if(!_0x54e845)return null;const _0x2a828c=_0x52ffea(0x158)==_0x54e845[_0x52ffea(0x165)]?_0x52ffea(0xc2):_0x52ffea(0xeb),_0x47af9d=[_0x52ffea(0xe2),_0x52ffea(0x20a)+_0x2a828c];return _0x54e845[_0x52ffea(0x130)][_0x52ffea(0xf2)]&&_0x47af9d[_0x52ffea(0x149)](_0x52ffea(0x20a)+_0x2a828c+_0x52ffea(0x20e)),this[_0x52ffea(0x1b1)]==_0x54e845&&_0x47af9d[_0x52ffea(0x149)](_0x52ffea(0x17f)),{'classes':_0x47af9d,'attributes':{'data-change-id':_0x38bca0}};}}),this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0x1d5))[_0x304f78(0x158)](_0x4e1036=>{const _0x328c16=_0x304f78;_0x4e1036['on'](_0x328c16(0x104),(_0x12ca3f,_0x5eb476,_0x52c138)=>{const _0x2261d6=_0x328c16,_0xd34aac=_0x5eb476[_0x2261d6(0x134)][_0x2261d6(0xd9)](0x0);if(!_0xd34aac||!_0xd34aac['is'](_0x2261d6(0x185),_0x2261d6(0x1f8)))return;if(!_0x52c138[_0x2261d6(0x20c)][_0x2261d6(0xd7)](_0xd34aac,{'attributes':[_0x2261d6(0x17d),_0x2261d6(0x116)]}))return;const _0x5fbc72=_0x5eb476[_0x2261d6(0xf7)][_0x2261d6(0x10b)][_0x2261d6(0x145)];_0x52c138[_0x2261d6(0x122)][_0x2261d6(0x1ad)](_0x2261d6(0x17d),_0xd34aac[_0x2261d6(0x11f)](_0x2261d6(0x17d)),_0x5fbc72),_0x52c138[_0x2261d6(0x122)][_0x2261d6(0x1ad)](_0x2261d6(0x116),_0xd34aac[_0x2261d6(0x11f)](_0x2261d6(0x116)),_0x5fbc72);},{'priority':_0x328c16(0x1be)});}),this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0x1d5))[_0x304f78(0x158)](_0x1dbf86=>{const _0x379b64=_0x304f78;_0x1dbf86['on'](_0x379b64(0x185),(_0x12ddc0,_0xd3559c,_0x5d34de)=>{const _0x216397=_0x379b64;if(!_0x5d34de[_0x216397(0x20c)][_0x216397(0xd7)](_0xd3559c[_0x216397(0x134)],{'attributes':[_0x216397(0x17d),_0x216397(0x116)]}))return;if(_0xd3559c[_0x216397(0xf7)][_0x216397(0x205)])return;const _0x1a1c1d=_0xd3559c[_0x216397(0xf7)][_0x216397(0x10b)][_0x216397(0x145)];_0x1a1c1d[_0x216397(0x155)](_0x216397(0x17d))||_0x1a1c1d[_0x216397(0x155)](_0x216397(0x147))||(_0x5d34de[_0x216397(0x122)][_0x216397(0x1ad)](_0x216397(0x17d),_0xd3559c[_0x216397(0x134)][_0x216397(0x11f)](_0x216397(0x17d)),_0x1a1c1d),_0x5d34de[_0x216397(0x122)][_0x216397(0x1ad)](_0x216397(0x116),_0xd3559c[_0x216397(0x134)][_0x216397(0x11f)](_0x216397(0x116)),_0x1a1c1d));},{'priority':_0x379b64(0x1be)});}),this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0x1d5))[_0x304f78(0xee)]({'view':{'name':_0x304f78(0x160),'attributes':{'vid':!0x0}},'model':{'key':_0x304f78(0x147),'value':_0x23a7ea=>_0x23a7ea[_0x304f78(0x11f)](_0x304f78(0x147))}}),this[_0x304f78(0x1fe)][_0x304f78(0x1c6)][_0x304f78(0x18a)]['on'](_0x304f78(0x142),(_0x388e22,[,_0x286f1b])=>{const _0x2c14b0=_0x304f78;[_0x2c14b0(0x17d),_0x2c14b0(0x116),_0x2c14b0(0x147)][_0x2c14b0(0x1f6)](_0x286f1b)&&(_0x388e22[_0x2c14b0(0x12d)]=!0x0,_0x388e22[_0x2c14b0(0x13f)]());},{'priority':_0x304f78(0x148)}),this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0x1e9))[_0x304f78(0x158)](_0x5995cc=>{const _0x42d2b6=_0x304f78;_0x5995cc['on'](_0x42d2b6(0x123),(_0x23978a,_0x1249e8,_0x4cf08a)=>{const _0x313f75=_0x42d2b6;if('\x20'!=_0x1249e8[_0x313f75(0x166)][_0x313f75(0x130)]||_0x1249e8[_0x313f75(0x166)][_0x313f75(0x1d1)][_0x313f75(0xf8)]>0x1)return;if(!_0x4cf08a[_0x313f75(0x20c)][_0x313f75(0xd7)](_0x1249e8[_0x313f75(0x166)],_0x23978a[_0x313f75(0xff)]))return;const _0x48897f=_0x4cf08a[_0x313f75(0x122)],_0x453861=_0x4cf08a[_0x313f75(0x187)][_0x313f75(0x203)](_0x1249e8[_0x313f75(0x137)]);_0x48897f[_0x313f75(0x126)](_0x453861,_0x48897f[_0x313f75(0x10e)](_0x313f75(0x160)));});}),this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0x1e9))[_0x304f78(0xef)]({'model':_0x304f78(0x1c2)}),this[_0x304f78(0x1fe)][_0x304f78(0x18f)][_0x304f78(0x1f3)]['on'](_0x304f78(0x16f),function(_0x39a244){const _0x156fb6=_0x304f78,_0x385588=_0x39a244[_0x156fb6(0x1cf)][_0x156fb6(0xf3)](_0x156fb6(0x1b9));return(_0x1b98f7,_0x4fdd02,_0x5a4069)=>{const _0x24c384=_0x156fb6,_0x2ec627=_0x4fdd02[_0x24c384(0x195)][_0x24c384(0x1ff)](':')[0x1],_0x2d7a09=_0x385588[_0x24c384(0x10a)](_0x2ec627);if(!_0x2d7a09)return null;const _0x4888a5=_0x24c384(0x158)==_0x2d7a09[_0x24c384(0x165)]?_0x24c384(0x1ff):_0x24c384(0x1d4);if(!_0x5a4069[_0x24c384(0x20c)][_0x24c384(0x167)](_0x4fdd02[_0x24c384(0x20b)],_0x1b98f7[_0x24c384(0xff)]))return;const _0x30bce5=_0x4fdd02[_0x24c384(0x20b)][_0x24c384(0x16d)](),_0x4372a7=_0x4fdd02[_0x24c384(0x20b)][_0x24c384(0x10b)],_0x442a0c=_0x39a244[_0x24c384(0x1c6)][_0x24c384(0x18a)];let _0x434dc2=null,_0x5ba7fc=null,_0x45759b=!0x1,_0x11d757=!0x1;for(const _0x224cd2 of _0x30bce5){const _0x2f00bd=_0x224cd2[_0x24c384(0x166)];_0x45759b=_0x45759b||_0x442a0c[_0x24c384(0x1e5)](_0x2f00bd);const _0x93f1c9=_0x5a4069[_0x24c384(0x187)][_0x24c384(0xdf)](_0x2f00bd);if(_0x93f1c9&&_0x93f1c9[_0x24c384(0x1dc)](_0x24c384(0x150)))return;_0x24c384(0x19b)==_0x224cd2[_0x24c384(0x165)]&&(_0x442a0c[_0x24c384(0xcb)](_0x2f00bd)&&!_0x442a0c[_0x24c384(0x19a)](_0x2f00bd)&&(_0x2f00bd[_0x24c384(0x1ed)]||_0x4372a7[_0x24c384(0x1ba)]?_0x434dc2&&_0x434dc2[_0x24c384(0x1d1)]==_0x2f00bd||(_0x434dc2=_0x2f00bd,_0x1cfd12(_0x224cd2[_0x24c384(0x170)]),_0x11d757=!0x0):_0x5ba7fc=_0x5ba7fc||_0x224cd2[_0x24c384(0x170)]));}function _0x1cfd12(_0x541e01){const _0x41734c=_0x24c384,_0x2c0959=_0x5a4069[_0x41734c(0x122)][_0x41734c(0x12f)](_0x41734c(0x160),{'class':_0x41734c(0x20a)+_0x4888a5}),_0x2840b3=_0x5a4069[_0x41734c(0x187)][_0x41734c(0x15e)](_0x541e01);_0x2d7a09[_0x41734c(0x130)][_0x41734c(0xf2)]&&_0x5a4069[_0x41734c(0x122)][_0x41734c(0x1d3)](_0x41734c(0x20a)+_0x4888a5+_0x41734c(0x20e),_0x2c0959),_0x385588[_0x41734c(0x1b1)]==_0x2d7a09&&_0x5a4069[_0x41734c(0x122)][_0x41734c(0x1d3)](_0x41734c(0x17f),_0x2c0959),_0x5a4069[_0x41734c(0x122)][_0x41734c(0x120)](_0x2840b3,_0x2c0959),_0x5a4069[_0x41734c(0x187)][_0x41734c(0x159)](_0x2c0959,_0x4fdd02[_0x41734c(0x195)]);}_0x45759b||_0x11d757||!_0x5ba7fc||_0x1cfd12(_0x5ba7fc);};}(this[_0x304f78(0x1fe)]),{'priority':_0x304f78(0xed)}),this[_0x304f78(0x1fe)][_0x304f78(0x18f)][_0x304f78(0x1f3)]['on'](_0x304f78(0x179),(_0x37f7da,_0x3fd84d,_0x3dfaeb)=>{const _0xbf3013=_0x304f78,_0x22664a=_0x3dfaeb[_0xbf3013(0x187)][_0xbf3013(0x1d9)](_0x3fd84d[_0xbf3013(0x195)]);if(_0x22664a){for(const _0x44e22f of _0x22664a)(_0x44e22f[_0xbf3013(0x154)](_0xbf3013(0x15c))||_0x44e22f[_0xbf3013(0x154)](_0xbf3013(0x1fb)))&&(_0x3dfaeb[_0xbf3013(0x187)][_0xbf3013(0x1ea)](_0x44e22f,_0x3fd84d[_0xbf3013(0x195)]),_0x3dfaeb[_0xbf3013(0x122)][_0xbf3013(0xfe)](_0x44e22f));}},{'priority':_0x304f78(0xed)}),this[_0x304f78(0x1fe)][_0x304f78(0x18f)][_0x304f78(0x1f3)]['on'](_0x304f78(0x16f),(_0x5eca85,_0x579a53,_0x559a15)=>{const _0x3b9e93=_0x304f78,_0x3d6e0d=_0x579a53[_0x3b9e93(0x195)][_0x3b9e93(0x1ff)](':')[0x1],_0x27370e=this[_0x3b9e93(0x10a)](_0x3d6e0d);if(!_0x27370e)return null;const _0x190357=_0x3b9e93(0x158)==_0x27370e[_0x3b9e93(0x165)]?_0x3b9e93(0x1ff):_0x3b9e93(0x1d4);if(_0x559a15[_0x3b9e93(0x20c)][_0x3b9e93(0x167)](_0x579a53[_0x3b9e93(0x20b)],_0x5eca85[_0x3b9e93(0xff)]))for(const _0x5eff6c of _0x579a53[_0x3b9e93(0x20b)][_0x3b9e93(0x14c)]()){if(!_0x5eff6c['is'](_0x3b9e93(0x185),_0x3b9e93(0x1ab)))continue;const _0x3812fd=_0x559a15[_0x3b9e93(0x122)][_0x3b9e93(0x12f)](_0x3b9e93(0x160),{'class':_0x3b9e93(0x20a)+_0x190357}),_0x134cdb=_0x559a15[_0x3b9e93(0x187)][_0x3b9e93(0x15e)](this[_0x3b9e93(0x1fe)][_0x3b9e93(0x1c6)][_0x3b9e93(0x17b)](_0x5eff6c));_0x27370e[_0x3b9e93(0x130)][_0x3b9e93(0xf2)]&&_0x559a15[_0x3b9e93(0x122)][_0x3b9e93(0x1d3)](_0x3b9e93(0x20a)+_0x190357+_0x3b9e93(0x20e),_0x3812fd),this[_0x3b9e93(0x1b1)]==_0x27370e&&_0x559a15[_0x3b9e93(0x122)][_0x3b9e93(0x1d3)](_0x3b9e93(0x17f),_0x3812fd),_0x559a15[_0x3b9e93(0x122)][_0x3b9e93(0x120)](_0x134cdb,_0x3812fd),_0x559a15[_0x3b9e93(0x187)][_0x3b9e93(0x159)](_0x3812fd,_0x579a53[_0x3b9e93(0x195)]);}},{'priority':_0x304f78(0xed)}),this[_0x304f78(0x1fe)][_0x304f78(0x1c6)][_0x304f78(0xc3)]['on'](_0x304f78(0x1a6),()=>{const _0x11dea4=_0x304f78;this[_0x11dea4(0x1fe)][_0x11dea4(0x18f)][_0x11dea4(0x1a7)][_0x11dea4(0x1a6)](_0x297295=>{const _0x1f75c9=_0x11dea4;for(const _0x1e0c18 of this[_0x1f75c9(0x1fe)][_0x1f75c9(0x1c6)][_0x1f75c9(0xc3)][_0x1f75c9(0x188)]()){const _0x3066d3=this[_0x1f75c9(0x1fe)][_0x1f75c9(0x1c6)][_0x1f75c9(0xc3)][_0x1f75c9(0xec)](_0x1e0c18),_0x37c5bf=this[_0x1f75c9(0x1fe)][_0x1f75c9(0x18f)][_0x1f75c9(0x1a7)][_0x1f75c9(0xc3)][_0x1f75c9(0xec)](_0x1e0c18);if(_0x37c5bf){const _0x1fd03b=_0x3066d3[_0x1f75c9(0x11f)](_0x1f75c9(0x1d6));if(_0x297295[_0x1f75c9(0x132)](_0x1f75c9(0x1b8),_0x37c5bf),_0x297295[_0x1f75c9(0xe4)](_0x1f75c9(0x11d),_0x37c5bf),_0x297295[_0x1f75c9(0xe4)](_0x1f75c9(0x201),_0x37c5bf),_0x297295[_0x1f75c9(0xe4)](_0x1f75c9(0x194),_0x37c5bf),_0x1fd03b){const _0x43db5e=this[_0x1f75c9(0x10a)](_0x1fd03b);if(!_0x43db5e)return null;_0x297295[_0x1f75c9(0x1ad)](_0x1f75c9(0x1b8),_0x1fd03b,_0x37c5bf),_0x297295[_0x1f75c9(0x1d3)](_0x1f75c9(0x14e)+_0x43db5e[_0x1f75c9(0x165)],_0x37c5bf),this[_0x1f75c9(0x1b1)]==_0x43db5e&&_0x297295[_0x1f75c9(0x1d3)](_0x1f75c9(0x194),_0x37c5bf);}}}});}),this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0x1d5))[_0x304f78(0x131)]({'view':_0x304f78(0x129),'model':_0x15321a=>_0x304f78(0x1e1)+_0x15321a,'converterPriority':_0x304f78(0x148)}),this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0x1d5))[_0x304f78(0x131)]({'view':_0x304f78(0x1eb),'model':_0x4ec436=>_0x304f78(0x1d7)+_0x4ec436,'converterPriority':_0x304f78(0x148)}),this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0x1e9))[_0x304f78(0xef)]({'model':_0x304f78(0x1d2),'view':_0x5d7a47=>({'name':_0x304f78(0x1bd)+_0x5d7a47,'group':_0x304f78(0x1d2)}),'converterPriority':_0x304f78(0x148)}),this[_0x304f78(0x1fe)][_0x304f78(0x14b)][_0x304f78(0x1ac)](_0x304f78(0xcc))[_0x304f78(0x127)]({'model':_0x304f78(0x1d2),'view':_0x58ec18=>{const _0x421ecf=_0x304f78,_0x25272d=_0x58ec18[_0x421ecf(0x195)][_0x421ecf(0x1ff)](':')[0x1];return _0x421ecf(0xc2)!=_0x25272d&&_0x421ecf(0xeb)!=_0x25272d?null:{'classes':[_0x421ecf(0x193),_0x421ecf(0xd8)+_0x25272d]};}}),this[_0x304f78(0x1fe)][_0x304f78(0x18f)][_0x304f78(0x1f3)]['on'](_0x304f78(0x191),et(this[_0x304f78(0x1fe)],_0x304f78(0x1d4)),{'priority':_0x304f78(0xed)}),this[_0x304f78(0x1fe)][_0x304f78(0x18f)][_0x304f78(0x1f3)]['on'](_0x304f78(0xde),et(this[_0x304f78(0x1fe)],_0x304f78(0x1ff)),{'priority':_0x304f78(0xed)}),this[_0x304f78(0x1fe)][_0x304f78(0x18f)][_0x304f78(0x1f3)]['on'](_0x304f78(0xe0),(_0x1c526d,_0x36578f,_0x5b0db1)=>{const _0x2a3413=_0x304f78,_0x392bf=_0x5b0db1[_0x2a3413(0x187)][_0x2a3413(0x1d9)](_0x36578f[_0x2a3413(0x195)]);if(_0x392bf){for(const _0x2d3da3 of _0x392bf)_0x2d3da3['is'](_0x2a3413(0x198))&&(_0x5b0db1[_0x2a3413(0x187)][_0x2a3413(0x1ea)](_0x2d3da3,_0x36578f[_0x2a3413(0x195)]),_0x5b0db1[_0x2a3413(0x122)][_0x2a3413(0xfe)](_0x2d3da3));}},{'priority':_0x304f78(0xed)});}[_0x980e55(0x10a)](_0x5f0520){const _0x4687e7=_0x980e55;return this[_0x4687e7(0xe7)][_0x4687e7(0xf3)](_0x5f0520);}[_0x980e55(0x1fa)](_0x29867a){const _0x29d36d=_0x980e55;return this[_0x29d36d(0x169)]&&this[_0x29d36d(0x169)][_0x29d36d(0x180)](),this[_0x29d36d(0x169)]=new _0x146a01(this[_0x29d36d(0x1fe)][_0x29d36d(0x157)],_0x29867a),this[_0x29d36d(0x169)];}[_0x980e55(0x11b)](){const _0x38447a=_0x980e55;this[_0x38447a(0x1fe)][_0x38447a(0x1c6)][_0x38447a(0xc3)][_0x38447a(0x1a8)][_0x38447a(0x1b7)](_0x38447a(0x1c2)),this['on'](_0x38447a(0xce),(_0x936272,_0xd81926,_0x2c10bd,_0x5f2fc0)=>{const _0x41145b=_0x38447a;_0x5f2fc0&&this[_0x41145b(0x1d8)][_0x41145b(0xfe)](_0x5f2fc0),_0x2c10bd&&(this[_0x41145b(0x1d8)][_0x41145b(0x158)]({'view':_0x2c10bd,'stackId':_0x41145b(0x1db),'position':{'target':()=>{const _0x149131=_0x41145b,_0x5e403e=this[_0x149131(0x1fe)][_0x149131(0x18f)],_0x1c9e4b=this[_0x149131(0x10a)](_0x2c10bd[_0x149131(0x172)]);let _0x2dcbeb;if(_0x1c9e4b[_0x149131(0x130)][_0x149131(0x1b6)]){const _0xfae5ee=_0x5e403e[_0x149131(0x1a7)][_0x149131(0x17c)](_0x1c9e4b[_0x149131(0x13b)]);_0x2dcbeb=Array[_0x149131(0x1f0)](_0xfae5ee[_0x149131(0x12e)]());}else{const _0x10cbb0=this[_0x149131(0x1fe)][_0x149131(0x1c6)][_0x149131(0xf5)][_0x149131(0xf3)](_0x149131(0xfc)+_0x2c10bd[_0x149131(0x172)]);_0x2dcbeb=Array[_0x149131(0x1f0)](_0x5e403e[_0x149131(0x187)][_0x149131(0x1d9)](_0x10cbb0[_0x149131(0xff)]))[_0x149131(0x11c)](_0x285b20=>_0x5e403e[_0x149131(0x1a7)][_0x149131(0x178)][_0x149131(0x108)](_0x285b20))[_0x149131(0x11c)](_0x4a2992=>Array[_0x149131(0x1f0)](_0x4a2992[_0x149131(0x12e)]()))[_0x149131(0x163)]();}if(!this[_0x149131(0x15b)])return _0x2dcbeb[0x0];return _0x2dcbeb[_0x149131(0x1c9)](_0x332835=>_0x332835[_0x149131(0x14d)]-0x3<=this[_0x149131(0x15b)]['y']&&_0x332835[_0x149131(0x176)]+0x3>=this[_0x149131(0x15b)]['y']&&_0x332835[_0x149131(0x202)]-0x3<=this[_0x149131(0x15b)]['x']&&_0x332835[_0x149131(0x12b)]+0x3>=this[_0x149131(0x15b)]['x'])||_0x2dcbeb[0x0];}}}),this[_0x41145b(0x1d8)][_0x41145b(0x10f)](_0x41145b(0x1db)));}),this['on'](_0x38447a(0x1fc),(_0x3c8c1c,_0x4091de,_0x107650,_0x57dd3a)=>{const _0x110c3f=_0x38447a;this[_0x110c3f(0x16b)]=_0x107650?this[_0x110c3f(0x1fa)](_0x107650):null,this[_0x110c3f(0x1fe)][_0x110c3f(0x1c6)][_0x110c3f(0x1a6)](()=>{const _0xf9b9b3=_0x110c3f,_0x1017fc=this[_0xf9b9b3(0x1fe)][_0xf9b9b3(0x18f)];_0x57dd3a&&(_0x57dd3a[_0xf9b9b3(0x130)][_0xf9b9b3(0x1b6)]?_0x1017fc[_0xf9b9b3(0x1a7)][_0xf9b9b3(0x1a6)](_0x5b640f=>{const _0x58f070=_0xf9b9b3;_0x5b640f[_0x58f070(0xe4)](_0x58f070(0x194),_0x1017fc[_0x58f070(0x1a7)][_0x58f070(0xc3)][_0x58f070(0xec)](_0x57dd3a[_0x58f070(0x13b)]));}):_0x1017fc[_0xf9b9b3(0x1f5)](_0xf9b9b3(0xfc)+_0x57dd3a['id'])),_0x107650&&(_0x107650[_0xf9b9b3(0x130)][_0xf9b9b3(0x1b6)]?_0x1017fc[_0xf9b9b3(0x1a7)][_0xf9b9b3(0x1a6)](_0x40e5db=>{const _0x27911c=_0xf9b9b3;_0x40e5db[_0x27911c(0x1d3)](_0x27911c(0x194),_0x1017fc[_0x27911c(0x1a7)][_0x27911c(0xc3)][_0x27911c(0xec)](_0x107650[_0x27911c(0x13b)]));}):_0x1017fc[_0xf9b9b3(0x1f5)](_0xf9b9b3(0xfc)+_0x107650['id']));});}),this[_0x38447a(0x115)](this[_0x38447a(0x1fe)][_0x38447a(0x18f)][_0x38447a(0x1a7)][_0x38447a(0xc3)],_0x38447a(0x135),(_0x303634,_0x4feaf8)=>{const _0x52c301=_0x38447a;if(this[_0x52c301(0x1b1)])return;const _0x1cfef3=this[_0x52c301(0xe1)](_0x4feaf8[_0x52c301(0x136)]),_0x21eeaf=this[_0x52c301(0xe7)][_0x52c301(0xf3)](_0x1cfef3);_0x21eeaf?(this[_0x52c301(0x15b)]={'x':_0x4feaf8[_0x52c301(0x13a)]['x'],'y':_0x4feaf8[_0x52c301(0x13a)]['y']},this[_0x52c301(0x16b)]=this[_0x52c301(0x1fa)](_0x21eeaf)):(this[_0x52c301(0x15b)]=null,this[_0x52c301(0x16b)]=null);}),this[_0x38447a(0x115)](this[_0x38447a(0x1fe)][_0x38447a(0x18f)][_0x38447a(0x1a7)][_0x38447a(0xc3)],_0x38447a(0x15d),(_0x263035,_0x42d104)=>{const _0x364248=_0x38447a,_0x54bfcb=this[_0x364248(0xe1)](_0x42d104[_0x364248(0x136)]),_0x5c8457=this[_0x364248(0xe7)][_0x364248(0xf3)](_0x54bfcb);_0x5c8457?(this[_0x364248(0x15b)]={'x':_0x42d104[_0x364248(0x13a)]['x'],'y':_0x42d104[_0x364248(0x13a)]['y']},_0x5c8457===this[_0x364248(0x1b1)]?this[_0x364248(0x1d8)][_0x364248(0x20f)]():this[_0x364248(0x1b1)]=_0x5c8457):(this[_0x364248(0x15b)]=null,this[_0x364248(0x1b1)]=null);});}[_0x980e55(0xe1)](_0x999b34){const _0xa90929=_0x980e55;do{const _0x1f6992=_0x999b34[_0xa90929(0x11f)](_0xa90929(0x1b8));if(_0x1f6992)return _0x1f6992;_0x999b34=_0x999b34[_0xa90929(0x1d1)];}while(_0x999b34);return null;}[_0x980e55(0x197)](){const _0x29ebd4=_0x980e55;this[_0x29ebd4(0x1fe)][_0x29ebd4(0x1c6)][_0x29ebd4(0x1a6)](_0x56cb1b=>{const _0x3d67c6=_0x29ebd4;for(const _0xe22177 of this[_0x3d67c6(0x1fe)][_0x3d67c6(0x1c6)][_0x3d67c6(0xf5)])_0x56cb1b[_0x3d67c6(0x13e)](_0xe22177);});}}function et(_0x39f7b8,_0x18870c){return(_0x3242f5,_0x82f445,_0x2a32da)=>{const _0x46c6d3=_0xfabc;if(!_0x2a32da[_0x46c6d3(0x20c)][_0x46c6d3(0x167)](_0x82f445[_0x46c6d3(0x20b)],_0x3242f5[_0x46c6d3(0xff)]))return;const _0x4836f8=_0x82f445[_0x46c6d3(0x20b)][_0x46c6d3(0x16d)](),_0x3ed14d=_0x82f445[_0x46c6d3(0x20b)][_0x46c6d3(0x10b)],_0x4634e3=_0x39f7b8[_0x46c6d3(0x1c6)][_0x46c6d3(0x18a)];let _0x5d2e2d=null,_0x34199e=null,_0x33f5f5=!0x1,_0x5a6bad=!0x1;for(const _0x10ea27 of _0x4836f8){const _0x4bce4b=_0x10ea27[_0x46c6d3(0x166)];_0x33f5f5=_0x33f5f5||_0x4634e3[_0x46c6d3(0x1e5)](_0x4bce4b);const _0x103e4d=_0x2a32da[_0x46c6d3(0x187)][_0x46c6d3(0xdf)](_0x4bce4b);if(_0x103e4d&&_0x103e4d[_0x46c6d3(0x1dc)](_0x46c6d3(0x150)))return;_0x46c6d3(0x19b)==_0x10ea27[_0x46c6d3(0x165)]&&(_0x4634e3[_0x46c6d3(0xcb)](_0x4bce4b)&&!_0x4634e3[_0x46c6d3(0x19a)](_0x4bce4b)&&(_0x4bce4b[_0x46c6d3(0x1ed)]||_0x3ed14d[_0x46c6d3(0x1ba)]?_0x5d2e2d&&_0x5d2e2d[_0x46c6d3(0x1d1)]==_0x4bce4b||(_0x5d2e2d=_0x4bce4b,_0x16e219(_0x10ea27[_0x46c6d3(0x170)]),_0x5a6bad=!0x0):_0x34199e=_0x34199e||_0x10ea27[_0x46c6d3(0x170)]));}function _0x16e219(_0x2a16eb){const _0x6730f2=_0x46c6d3,_0x378fdf=_0x2a32da[_0x6730f2(0x187)][_0x6730f2(0x15e)](_0x2a16eb),_0x529c1b=_0x2a32da[_0x6730f2(0x122)][_0x6730f2(0x12f)](_0x6730f2(0x160),{'class':_0x6730f2(0xd8)+_0x18870c});_0x2a32da[_0x6730f2(0x122)][_0x6730f2(0x120)](_0x378fdf,_0x529c1b),_0x2a32da[_0x6730f2(0x187)][_0x6730f2(0x159)](_0x529c1b,_0x82f445[_0x6730f2(0x195)]);}_0x33f5f5||_0x5a6bad||!_0x34199e||_0x16e219(_0x34199e);};}export class RestoreRevisionCommand extends _0x248a7d{constructor(_0x4412b9){const _0x4b411f=_0x980e55;super(_0x4412b9);const _0xcc52f2=_0x4412b9[_0x4b411f(0x1cf)][_0x4b411f(0xf3)](d);this[_0x4b411f(0xcd)]=!0x1,this[_0x4b411f(0x115)](_0xcc52f2,_0x4b411f(0x10d),()=>this[_0x4b411f(0xe9)]()),this[_0x4b411f(0x115)](_0xcc52f2,_0x4b411f(0x1f4),()=>this[_0x4b411f(0xe9)]());}[_0x980e55(0xe6)](){const _0x35a0ea=_0x980e55,_0x5a2413=this[_0x35a0ea(0x1fe)],_0x2ac596=_0x5a2413[_0x35a0ea(0x1cf)][_0x35a0ea(0xf3)](d),_0x3cba7e=_0x2ac596[_0x35a0ea(0x177)]?_0x2ac596[_0x35a0ea(0x140)][_0x35a0ea(0x1f7)]:null;_0x5a2413[_0x35a0ea(0xd3)][_0x35a0ea(0xf3)](_0x35a0ea(0x17e))[_0x35a0ea(0x1a9)](_0x3cba7e);}[_0x980e55(0xe9)](){const _0x51d14f=_0x980e55,{isReady:_0x112301,isEnabled:_0x37cdb3}=this[_0x51d14f(0x1fe)][_0x51d14f(0x1cf)][_0x51d14f(0xf3)](d);this[_0x51d14f(0x1e6)]=_0x112301&&_0x37cdb3;}}export class ShowChangeCommand extends _0x248a7d{constructor(_0x30e023,{direction:_0x823d99}){const _0x2a41cb=_0x980e55;super(_0x30e023);const _0x10a4bc=_0x30e023[_0x2a41cb(0x1cf)][_0x2a41cb(0xf3)](d);this[_0x2a41cb(0xcd)]=!0x1,this[_0x2a41cb(0x151)]=_0x2a41cb(0x113)===_0x823d99?0x1:-0x1,this[_0x2a41cb(0x115)](_0x10a4bc,_0x2a41cb(0x10d),()=>this[_0x2a41cb(0xe9)]()),this[_0x2a41cb(0x115)](_0x10a4bc,_0x2a41cb(0x1f4),()=>this[_0x2a41cb(0xe9)]()),this[_0x2a41cb(0x115)](_0x10a4bc,_0x2a41cb(0x1fc),()=>this[_0x2a41cb(0xe9)]());}[_0x980e55(0xe6)](){const _0x2f13d8=_0x980e55,_0x382974=this[_0x2f13d8(0x1fe)],_0x490be1=_0x382974[_0x2f13d8(0x1cf)][_0x2f13d8(0xf3)](d),{isNavigationMode:_0x2fbee1,currentChangeNumber:_0x225b65}=_0x490be1;let _0x570aa3;if(_0x490be1[_0x2f13d8(0x1b1)]=_0x2fbee1?_0x490be1[_0x2f13d8(0x140)][_0x2f13d8(0x1c5)][_0x2f13d8(0xf3)](_0x225b65+this[_0x2f13d8(0x151)]):_0x490be1[_0x2f13d8(0x140)][_0x2f13d8(0x1c5)][_0x2f13d8(0xc7)],_0x490be1[_0x2f13d8(0x1b1)][_0x2f13d8(0x130)][_0x2f13d8(0x1b6)])_0x570aa3=_0x382974[_0x2f13d8(0x18f)][_0x2f13d8(0x1a7)][_0x2f13d8(0x17c)](_0x490be1[_0x2f13d8(0x1b1)][_0x2f13d8(0x13b)]);else{const _0x47bea7=_0x382974[_0x2f13d8(0x1c6)][_0x2f13d8(0xf5)][_0x2f13d8(0xf3)](_0x2f13d8(0xfc)+_0x490be1[_0x2f13d8(0x1b1)]['id']);_0x570aa3=_0x102817(_0x382974[_0x2f13d8(0x18f)],_0x47bea7);}_0x28a500({'target':_0x570aa3,'viewportOffset':0x28});}[_0x980e55(0xe9)](){const _0x2f819e=_0x980e55,{isNavigationMode:_0x2cf071,currentChangeNumber:_0x2c15bf,numberOfChanges:_0x2121bf,isReady:_0x1646fd,isEnabled:_0x28592a}=this[_0x2f819e(0x1fe)][_0x2f819e(0x1cf)][_0x2f819e(0xf3)](d);this[_0x2f819e(0x1e6)]=!!(_0x28592a&&_0x1646fd&&_0x2121bf)&&(!_0x2cf071||(0x1===this[_0x2f819e(0x151)]?_0x2c15bf<_0x2121bf-0x1:_0x2c15bf>0x0));}}
|
|
23
|
+
const _0x2a3a31=_0x2d08;(function(_0x22192a,_0x34cfef){const _0x47990f=_0x2d08,_0x4fa433=_0x22192a();while(!![]){try{const _0x20ec98=parseInt(_0x47990f(0x1bd))/0x1*(-parseInt(_0x47990f(0x1ed))/0x2)+parseInt(_0x47990f(0x1b9))/0x3*(-parseInt(_0x47990f(0x15b))/0x4)+parseInt(_0x47990f(0x1c6))/0x5*(-parseInt(_0x47990f(0x203))/0x6)+parseInt(_0x47990f(0x18a))/0x7+parseInt(_0x47990f(0x13d))/0x8+-parseInt(_0x47990f(0x232))/0x9+parseInt(_0x47990f(0x1ee))/0xa*(parseInt(_0x47990f(0x1b5))/0xb);if(_0x20ec98===_0x34cfef)break;else _0x4fa433['push'](_0x4fa433['shift']());}catch(_0x7e4c35){_0x4fa433['push'](_0x4fa433['shift']());}}}(_0x1650,0xba6e6));function _0x2d08(_0x5c05aa,_0x2bf10e){const _0x1650ba=_0x1650();return _0x2d08=function(_0x2d08c7,_0x53f821){_0x2d08c7=_0x2d08c7-0x123;let _0x45b9b5=_0x1650ba[_0x2d08c7];return _0x45b9b5;},_0x2d08(_0x5c05aa,_0x2bf10e);}import{Plugin as _0x14d99d,Command as _0x37dc99}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1c655e}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3fe743}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x559ef2,Element as _0x6dfb00,Text as _0x19a8a6,ViewDocumentFragment as _0x761183,ViewText as _0x149aa4,ViewElement as _0x355cd5,ViewContainerElement as _0x4e2b69,ViewAttributeElement as _0x32b9ea,ViewEmptyElement as _0x5c61d5,ViewRawElement as _0xf5c8b7,ViewUIElement as _0x2e5d88}from'ckeditor5/src/engine.js';import{Users as _0x4b0feb,getMarkerDomElement as _0x3f6316}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x23aabc from'./ui/revisionviewer/changedetailsview.js';import _0x4ee43d from'./revisionsrepository.js';import _0x1dfed6 from'./changeitem.js';import{default as _0x20481b}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x426b19}from'lodash-es';const tt={'c':_0x4e2b69,'a':_0x32b9ea,'e':_0x5c61d5,'r':_0xf5c8b7,'u':_0x2e5d88};export default class d extends _0x14d99d{static get[_0x2a3a31(0x215)](){const _0xe3eabb=_0x2a3a31;return _0xe3eabb(0x23e);}static get[_0x2a3a31(0x201)](){return[_0x4b0feb,_0x3fe743,_0x4ee43d];}constructor(_0x732260){const _0x36b5ac=_0x2a3a31;super(_0x732260),this[_0x36b5ac(0x263)]=this[_0x36b5ac(0x146)][_0x36b5ac(0x222)][_0x36b5ac(0x13f)](_0x36b5ac(0x224)),this[_0x36b5ac(0x131)](_0x36b5ac(0x25e),null),this[_0x36b5ac(0x131)](_0x36b5ac(0x1eb),null),this[_0x36b5ac(0x137)]=null,this[_0x36b5ac(0x131)](_0x36b5ac(0x18c),null),this[_0x36b5ac(0x131)](_0x36b5ac(0x209),!0x1),this[_0x36b5ac(0x131)](_0x36b5ac(0x173),!0x0),this['on'](_0x36b5ac(0x266),(_0x3b1300,_0x40fd19,_0x4b712f)=>{const _0x1040d2=_0x36b5ac;this[_0x1040d2(0x25e)]=null,this[_0x1040d2(0x1eb)]=null,this[_0x1040d2(0x146)][_0x1040d2(0x1dd)][_0x1040d2(0x148)][_0x1040d2(0x254)](_0xaf91a7=>{const _0x857c39=_0x1040d2;for(const _0x565f8c of this[_0x857c39(0x146)][_0x857c39(0x1dd)][_0x857c39(0x148)][_0x857c39(0x1dc)][_0x857c39(0x1d2)])_0x4b712f?_0xaf91a7[_0x857c39(0x161)](_0x857c39(0x17c),_0x565f8c):_0xaf91a7[_0x857c39(0x1c4)](_0x857c39(0x17c),_0x565f8c);});}),this[_0x36b5ac(0x1b7)](_0x36b5ac(0x1f5))['to'](this,_0x36b5ac(0x25e),_0x45e7ee=>null!==_0x45e7ee),this[_0x36b5ac(0x1b7)](_0x36b5ac(0x174))['to'](this,_0x36b5ac(0x209),this,_0x36b5ac(0x18c),this,_0x36b5ac(0x25e),(_0xfd7e5f,_0x433166,_0x59c3c0)=>_0xfd7e5f&&_0x59c3c0?_0x433166[_0x36b5ac(0x23b)][_0x36b5ac(0x1c7)](_0x59c3c0):0x0),this[_0x36b5ac(0x1b7)](_0x36b5ac(0x1a4))['to'](this,_0x36b5ac(0x209),this,_0x36b5ac(0x18c),(_0x50ad40,_0x1ceeb4)=>_0x50ad40?_0x1ceeb4[_0x36b5ac(0x23b)][_0x36b5ac(0x20f)]:0x0),this[_0x36b5ac(0x260)]=null,this[_0x36b5ac(0x185)]=new Map(),this[_0x36b5ac(0x1c3)]=null,this[_0x36b5ac(0x177)]=this[_0x36b5ac(0x146)][_0x36b5ac(0x222)][_0x36b5ac(0x13f)](_0x3fe743);}[_0x2a3a31(0x20a)](){const _0x4144bb=_0x2a3a31,_0x29ff8e=this[_0x4144bb(0x146)],_0x5ce13c=new ShowChangeCommand(_0x29ff8e,{'direction':_0x4144bb(0x1bc)}),_0x138694=new ShowChangeCommand(_0x29ff8e,{'direction':_0x4144bb(0x212)});(_0x29ff8e[_0x4144bb(0x1a0)][_0x4144bb(0x22a)](_0x4144bb(0x1d7),_0x5ce13c),_0x29ff8e[_0x4144bb(0x1a0)][_0x4144bb(0x22a)](_0x4144bb(0x143),_0x138694),_0x29ff8e[_0x4144bb(0x1a0)][_0x4144bb(0x22a)](_0x4144bb(0x26f),new RestoreRevisionCommand(_0x29ff8e)),this['on'](_0x4144bb(0x23f),()=>{const _0x342e57=_0x4144bb;_0x5ce13c[_0x342e57(0x19b)](),_0x138694[_0x342e57(0x19b)]();}),this[_0x4144bb(0x221)](),this[_0x4144bb(0x199)](),_0x29ff8e[_0x4144bb(0x1ec)](_0x4144bb(0x1f3)),_0x29ff8e[_0x4144bb(0x222)][_0x4144bb(0x202)](_0x4144bb(0x1ce)))&&_0x29ff8e[_0x4144bb(0x222)][_0x4144bb(0x13f)](_0x4144bb(0x1ce))[_0x4144bb(0x160)](_0x4144bb(0x1f3));}async[_0x2a3a31(0x1ef)](_0x15440f){const _0x322908=_0x2a3a31;await this[_0x322908(0x269)](_0x15440f);const _0x159c2f={};for(const _0x38a4c2 in _0x15440f[_0x322908(0x1cb)]){if(_0x15440f[_0x322908(0x1cb)][_0x38a4c2][_0x322908(0x258)]&&!_0x15440f[_0x322908(0x1cb)][_0x38a4c2][_0x322908(0x258)][_0x322908(0x24c)])continue;const _0x4c36b5=this[_0x322908(0x147)](JSON[_0x322908(0x24a)](_0x15440f[_0x322908(0x1cb)][_0x38a4c2][_0x322908(0x19e)])),_0x24f502=this[_0x322908(0x146)][_0x322908(0x1dd)][_0x322908(0x148)][_0x322908(0x1dc)],_0x3211b6=new _0x761183(_0x24f502,_0x4c36b5[_0x322908(0x1fd)](_0x329c5d=>this[_0x322908(0x211)](_0x329c5d)));this[_0x322908(0x146)][_0x322908(0x1ff)][_0x322908(0x182)][_0x322908(0x216)](_0x322908(0x14f)),_0x159c2f[_0x38a4c2]=this[_0x322908(0x146)][_0x322908(0x1ff)][_0x322908(0x182)][_0x322908(0x17d)](_0x3211b6),this[_0x322908(0x146)][_0x322908(0x1ff)][_0x322908(0x182)][_0x322908(0x216)](_0x322908(0x176));}return _0x159c2f;}async[_0x2a3a31(0x151)](_0x44596c){const _0x12e6b4=_0x2a3a31;await this[_0x12e6b4(0x269)](_0x44596c);const _0x1fd998={};for(const _0x33ded0 in _0x44596c[_0x12e6b4(0x1cb)])_0x44596c[_0x12e6b4(0x1cb)][_0x33ded0][_0x12e6b4(0x258)]&&!_0x44596c[_0x12e6b4(0x1cb)][_0x33ded0][_0x12e6b4(0x258)][_0x12e6b4(0x24c)]||(_0x1fd998[_0x33ded0]=_0x44596c[_0x12e6b4(0x1cb)][_0x33ded0][_0x12e6b4(0x132)]||{});return _0x1fd998;}[_0x2a3a31(0x147)](_0x142fd3){const _0x623b78=_0x2a3a31;return(_0x142fd3=_0x142fd3[_0x623b78(0x1ae)](_0x1f99d2=>!_0x1f99d2[_0x623b78(0x1ab)]||_0x623b78(0x25b)!==_0x1f99d2[_0x623b78(0x1ab)]&&_0x623b78(0x1e4)!==_0x1f99d2[_0x623b78(0x1ab)]))[_0x623b78(0x141)](_0x39ffd8=>{const _0x3ef340=_0x623b78;_0x3ef340(0x15d)!=typeof _0x39ffd8&&(_0x39ffd8[_0x3ef340(0x272)]=this[_0x3ef340(0x147)](_0x39ffd8[_0x3ef340(0x272)]),_0x39ffd8[_0x3ef340(0x14c)]=_0x39ffd8[_0x3ef340(0x14c)][_0x3ef340(0x1ae)](_0x53405c=>!_0x53405c[0x0][_0x3ef340(0x170)](_0x3ef340(0x25a))));}),_0x142fd3;}async[_0x2a3a31(0x1b1)](_0x451429,_0x200228,_0x98cdca=!0x1){const _0x3ac6ce=_0x2a3a31;if(!this[_0x3ac6ce(0x173)])return;const _0x21bd9a=this[_0x3ac6ce(0x18c)],_0x4958cb=this[_0x3ac6ce(0x263)],_0x2d14d9=_0x3ac6ce(0x15d)==typeof _0x451429?_0x4958cb[_0x3ac6ce(0x236)](_0x451429):_0x451429,_0x4bed6d=_0x3ac6ce(0x15d)==typeof _0x200228?_0x4958cb[_0x3ac6ce(0x236)](_0x200228):_0x200228,_0x18eb7f=_0x2d14d9['id'],_0x571512=_0x4bed6d?_0x4bed6d['id']:null;if(!_0x98cdca&&this[_0x3ac6ce(0x18c)]&&this[_0x3ac6ce(0x18c)][_0x3ac6ce(0x24f)]===_0x18eb7f&&this[_0x3ac6ce(0x18c)][_0x3ac6ce(0x1f9)]===_0x571512)return Promise[_0x3ac6ce(0x16d)]();this[_0x3ac6ce(0x209)]=!0x1,this[_0x3ac6ce(0x1eb)]=null,this[_0x3ac6ce(0x25e)]=null,this[_0x3ac6ce(0x18c)]=new _0x20481b(_0x18eb7f,_0x571512);const _0x4ae7a1=this[_0x3ac6ce(0x1d4)](_0x2d14d9,_0x4bed6d,!0x0)[_0x3ac6ce(0x1fd)](_0x534b57=>this[_0x3ac6ce(0x269)](_0x534b57));return _0x4ae7a1[_0x3ac6ce(0x1da)](new Promise(_0x232d98=>{setTimeout(_0x232d98,0x14);})),Promise[_0x3ac6ce(0x192)](_0x4ae7a1)[_0x3ac6ce(0x25c)](()=>{const _0x2f3ee3=_0x3ac6ce;if(!this[_0x2f3ee3(0x173)])return;this[_0x2f3ee3(0x149)]();const _0xc54117=this[_0x2f3ee3(0x1e6)](_0x18eb7f,_0x571512);for(const _0x3ceb9f of _0xc54117[_0x2f3ee3(0x23b)])this[_0x2f3ee3(0x185)][_0x2f3ee3(0x131)](_0x3ceb9f['id'],_0x3ceb9f);this[_0x2f3ee3(0x146)][_0x2f3ee3(0x217)][_0x2f3ee3(0x21f)]({'isUndoable':!0x1},_0x3f538d=>{const _0x11e5ce=_0x2f3ee3;for(const _0xac9c92 of this[_0x11e5ce(0x146)][_0x11e5ce(0x217)][_0x11e5ce(0x1dc)][_0x11e5ce(0x1f4)]())_0x3f538d[_0x11e5ce(0x1a6)](_0xac9c92);for(const _0x170b19 of Object[_0x11e5ce(0x125)](_0xc54117[_0x11e5ce(0x217)])){const _0x3472dd=_0x3f538d[_0x11e5ce(0x261)](_0x170b19);for(const _0x16f881 of Object[_0x11e5ce(0x125)](_0xc54117[_0x11e5ce(0x14c)][_0x170b19]))_0x3f538d[_0x11e5ce(0x197)](_0x16f881,_0xc54117[_0x11e5ce(0x14c)][_0x170b19][_0x16f881],_0x3472dd);_0x3f538d[_0x11e5ce(0x1ca)](_0xc54117[_0x11e5ce(0x217)][_0x170b19],_0x3472dd,0x0);}}),this[_0x2f3ee3(0x18c)][_0x2f3ee3(0x136)](this[_0x2f3ee3(0x200)](_0xc54117[_0x2f3ee3(0x23b)])),this[_0x2f3ee3(0x209)]=!0x0;})[_0x3ac6ce(0x243)](_0x9a543f=>{const _0x2282c9=_0x3ac6ce;console[_0x2282c9(0x183)](_0x9a543f),this[_0x2282c9(0x149)](),_0x21bd9a&&(this[_0x2282c9(0x18c)]=_0x21bd9a),this[_0x2282c9(0x209)]=!0x0;});}[_0x2a3a31(0x1ea)](_0x3b6b25,_0x5eebdb){const _0x1c7b1e=_0x2a3a31,_0x307a3a=this[_0x1c7b1e(0x263)][_0x1c7b1e(0x18f)](_0x3b6b25);return _0x307a3a['on'](_0x1c7b1e(0x171),(_0x5d49c9,_0x5210ee,_0x725c47)=>_0x5eebdb(_0x5210ee,_0x725c47,_0x307a3a)),this[_0x1c7b1e(0x263)][_0x1c7b1e(0x1b4)](_0x307a3a),_0x307a3a;}[_0x2a3a31(0x269)](_0x5dc68a){const _0x260536=_0x2a3a31;if(!_0x5dc68a||_0x5dc68a[_0x260536(0x1cb)])return Promise[_0x260536(0x16d)]();{const _0x2b485f=this[_0x260536(0x146)][_0x260536(0x181)][_0x260536(0x13f)](_0x260536(0x135));return this[_0x260536(0x1c3)][_0x260536(0x236)]({'channelId':_0x2b485f,'revisionId':_0x5dc68a['id']})[_0x260536(0x25c)](_0xf2274e=>{const _0x4a9434=_0x260536;_0x5dc68a[_0x4a9434(0x171)]({'diffData':_0xf2274e[_0x4a9434(0x1cb)]},!0x0);});}}[_0x2a3a31(0x149)](){const _0x571303=_0x2a3a31;this[_0x571303(0x25e)]=null,this[_0x571303(0x20b)](),this[_0x571303(0x260)]&&this[_0x571303(0x260)][_0x571303(0x1e2)](),this[_0x571303(0x260)]=null,this[_0x571303(0x185)][_0x571303(0x1db)](),this[_0x571303(0x146)][_0x571303(0x217)][_0x571303(0x21f)]({'isUndoable':!0x1},_0x59e66f=>{const _0x224664=_0x571303;for(const _0xc54261 of this[_0x224664(0x146)][_0x224664(0x217)][_0x224664(0x1dc)][_0x224664(0x1f4)]())_0x59e66f[_0x224664(0x1a6)](_0xc54261);});}[_0x2a3a31(0x200)](_0x34ae2d){const _0x20dc4d=_0x2a3a31,_0xebce88=[],_0x32cc7d=new Map();for(const _0x171c1a of this[_0x20dc4d(0x146)][_0x20dc4d(0x217)][_0x20dc4d(0x1dc)][_0x20dc4d(0x1f4)]()){const _0xcfbbb0=this[_0x20dc4d(0x146)][_0x20dc4d(0x1dd)][_0x20dc4d(0x148)][_0x20dc4d(0x1b6)](_0x171c1a);if(!_0xcfbbb0)continue;const _0x30c86a=_0xcfbbb0[_0x20dc4d(0x12d)]()[_0x20dc4d(0x155)](0x0);_0x30c86a&&(_0xebce88[_0x20dc4d(0x1da)](_0x171c1a),_0x32cc7d[_0x20dc4d(0x131)](_0x171c1a,_0x30c86a));}return _0xebce88[_0x20dc4d(0x25f)]((_0x222c9e,_0x17801e)=>{const _0x96303e=_0x20dc4d,_0x25b0cb=_0x32cc7d[_0x96303e(0x13f)](_0x222c9e),_0x4a9ce0=_0x32cc7d[_0x96303e(0x13f)](_0x17801e);return _0x25b0cb['y']-_0x4a9ce0['y']||_0x25b0cb['x']-_0x4a9ce0['x'];}),(_0x34ae2d=_0x34ae2d[_0x20dc4d(0x1ae)](_0x17d0dc=>_0xebce88[_0x20dc4d(0x270)](_0x17d0dc[_0x20dc4d(0x1f8)])))[_0x20dc4d(0x25f)]((_0x2be90a,_0x173d1c)=>_0xebce88[_0x20dc4d(0x264)](_0x2be90a[_0x20dc4d(0x1f8)])-_0xebce88[_0x20dc4d(0x264)](_0x173d1c[_0x20dc4d(0x1f8)])),_0x34ae2d;}[_0x2a3a31(0x26b)](_0x5828e8){const _0x2e13ed=_0x2a3a31,_0x4b695c=Array[_0x2e13ed(0x218)](_0x5828e8[_0x2e13ed(0x163)])[_0x2e13ed(0x1ae)](([_0x1280f9,_0x14cc66])=>_0x1280f9[_0x2e13ed(0x170)](_0x2e13ed(0x21c))&&!_0x14cc66[_0x2e13ed(0x144)]),_0x87bfeb=Array[_0x2e13ed(0x218)](this[_0x2e13ed(0x146)][_0x2e13ed(0x217)][_0x2e13ed(0x253)](_0x5828e8)[_0x2e13ed(0x235)]({'singleCharacters':!0x0}));if(0x0!=_0x4b695c[_0x2e13ed(0x20f)])for(const _0x356f2e of _0x87bfeb){const [_0x59e1d4,_0x2a0c47]=_0x4b695c[0x0],[,_0x5e602a,_0x74aff2]=_0x59e1d4[_0x2e13ed(0x1cf)](':');if(_0x2a0c47[_0x2e13ed(0x175)][_0x2e13ed(0x1c9)](_0x356f2e[_0x2e13ed(0x15f)])&&_0x4b695c[_0x2e13ed(0x1a3)](),(_0x356f2e[_0x2e13ed(0x226)][_0x2e13ed(0x1c9)](_0x2a0c47[_0x2e13ed(0x1af)])||_0x356f2e[_0x2e13ed(0x226)][_0x2e13ed(0x1a8)](_0x2a0c47[_0x2e13ed(0x1af)]))&&(_0x2e13ed(0x168)==_0x5e602a?_0x356f2e[_0x2e13ed(0x23c)]={'userId':_0x74aff2}:_0x2e13ed(0x1fc)==_0x5e602a&&(_0x356f2e[_0x2e13ed(0x213)]={'userId':_0x74aff2})),0x0==_0x4b695c[_0x2e13ed(0x20f)])break;}return _0x87bfeb;}[_0x2a3a31(0x247)](_0x1fa3f2){const _0x7e81c7=_0x2a3a31,_0x536d0c=new Map();for(let _0x1b47ca=0x0;_0x1b47ca<_0x1fa3f2[_0x7e81c7(0x20f)];_0x1b47ca++)_0x7e81c7(0x1b3)===_0x1fa3f2[_0x1b47ca][_0x7e81c7(0x248)]?(_0x1fa3f2[_0x1b47ca][_0x7e81c7(0x155)][_0x7e81c7(0x187)]=_0x1b47ca,_0x1fa3f2[_0x1b47ca][_0x7e81c7(0x155)][_0x7e81c7(0x18e)]=_0x1b47ca):(_0x7e81c7(0x229)===_0x1fa3f2[_0x1b47ca][_0x7e81c7(0x248)]?_0x1fa3f2[_0x1b47ca][_0x7e81c7(0x155)][_0x7e81c7(0x187)]=_0x1b47ca:_0x7e81c7(0x1d3)===_0x1fa3f2[_0x1b47ca][_0x7e81c7(0x248)]&&(_0x1fa3f2[_0x1b47ca][_0x7e81c7(0x155)][_0x7e81c7(0x18e)]=_0x1b47ca),_0x536d0c[_0x7e81c7(0x131)](_0x1fa3f2[_0x1b47ca]['id'],_0x1b47ca));for(const _0x8aeabf of _0x536d0c[_0x7e81c7(0x230)]())_0x7e81c7(0x229)===_0x1fa3f2[_0x8aeabf][_0x7e81c7(0x248)]?_0x1fa3f2[_0x8aeabf][_0x7e81c7(0x155)][_0x7e81c7(0x18e)]=_0x536d0c[_0x7e81c7(0x13f)](_0x1fa3f2[_0x8aeabf][_0x7e81c7(0x12a)]):_0x7e81c7(0x1d3)===_0x1fa3f2[_0x8aeabf][_0x7e81c7(0x248)]&&(_0x1fa3f2[_0x8aeabf][_0x7e81c7(0x155)][_0x7e81c7(0x187)]=_0x536d0c[_0x7e81c7(0x13f)](_0x1fa3f2[_0x8aeabf][_0x7e81c7(0x12a)]));}[_0x2a3a31(0x242)](_0xf35cb5){const _0x5bb8c6=_0x2a3a31;for(let _0x5391b5=0x0;_0x5391b5<_0xf35cb5[_0x5bb8c6(0x20f)];_0x5391b5++){if(_0x5bb8c6(0x229)===_0xf35cb5[_0x5391b5][_0x5bb8c6(0x248)])_0xf35cb5[_0x5391b5][_0x5bb8c6(0x155)][_0x5bb8c6(0x187)]=_0x5391b5;else{if(_0x5bb8c6(0x1d3)===_0xf35cb5[_0x5391b5][_0x5bb8c6(0x248)]){_0xf35cb5[_0x5391b5][_0x5bb8c6(0x155)][_0x5bb8c6(0x18e)]=_0x5391b5;const _0x25aaa9=_0xf35cb5[_0x5391b5][_0x5bb8c6(0x155)][_0x5bb8c6(0x187)];_0xf35cb5[_0x25aaa9][_0x5bb8c6(0x12a)]=_0xf35cb5[_0x5391b5]['id'],_0xf35cb5[_0x5391b5][_0x5bb8c6(0x12a)]=_0xf35cb5[_0x25aaa9]['id'];}else _0xf35cb5[_0x5391b5][_0x5bb8c6(0x155)][_0x5bb8c6(0x187)]=_0x5391b5,_0xf35cb5[_0x5391b5][_0x5bb8c6(0x155)][_0x5bb8c6(0x18e)]=_0x5391b5,_0xf35cb5[_0x5391b5][_0x5bb8c6(0x12a)]=null;}_0xf35cb5[_0x5391b5][_0x5bb8c6(0x1de)]||(_0xf35cb5[_0x5391b5][_0x5bb8c6(0x1de)]=[],_0xf35cb5[_0x5391b5][_0x5bb8c6(0x13e)]=[]);}}[_0x2a3a31(0x1e7)](_0x3f4726,_0x4d45dc){const _0x1bcc7e=_0x2a3a31,_0x14c533=_0x3f4726[_0x1bcc7e(0x1ae)](_0x6dc937=>!_0x6dc937[_0x1bcc7e(0x23c)]);for(let _0x40f50a=0x0;_0x40f50a<_0x4d45dc[_0x1bcc7e(0x20f)];_0x40f50a++)_0x4d45dc[_0x40f50a][_0x1bcc7e(0x23c)]&&(_0x14c533[_0x40f50a][_0x1bcc7e(0x23c)]=_0x4d45dc[_0x40f50a][_0x1bcc7e(0x23c)]);}[_0x2a3a31(0x1fa)](_0xde9481){const _0x1f627a=_0x2a3a31,_0x30a28d=JSON[_0x1f627a(0x24a)](_0xde9481),_0x1642b9=this[_0x1f627a(0x146)][_0x1f627a(0x1dd)][_0x1f627a(0x148)][_0x1f627a(0x1dc)],_0x56c592=new _0x761183(_0x1642b9,_0x30a28d[_0x1f627a(0x1fd)](_0x51db0c=>this[_0x1f627a(0x211)](_0x51db0c)));return this[_0x1f627a(0x146)][_0x1f627a(0x1ff)][_0x1f627a(0x26e)](_0x56c592);}[_0x2a3a31(0x211)](_0x3c5cfa){const _0xed2fdf=_0x2a3a31,_0x5180aa=this[_0xed2fdf(0x146)][_0xed2fdf(0x1dd)][_0xed2fdf(0x148)][_0xed2fdf(0x1dc)];if(_0xed2fdf(0x15d)==typeof _0x3c5cfa)return new _0x149aa4(_0x5180aa,_0x3c5cfa);{const _0xe94ad6=_0x3c5cfa[_0xed2fdf(0x272)][_0xed2fdf(0x1fd)](_0x542cb8=>this[_0xed2fdf(0x211)](_0x542cb8));return new(tt[_0x3c5cfa[(_0xed2fdf(0x248))]]||_0x355cd5)(_0x5180aa,_0x3c5cfa[_0xed2fdf(0x1ab)],_0x3c5cfa[_0xed2fdf(0x14c)],_0xe94ad6);}}[_0x2a3a31(0x1e6)](_0x3339b2,_0xbadf3a=null){const _0x54b867=_0x2a3a31,_0x3b873a=this[_0x54b867(0x263)][_0x54b867(0x236)](_0x3339b2),_0x143abb=_0xbadf3a?this[_0x54b867(0x263)][_0x54b867(0x236)](_0xbadf3a):null,_0x481fba=this[_0x54b867(0x1d4)](_0x3b873a,_0x143abb),_0x356d7a=_0x481fba[_0x481fba[_0x54b867(0x20f)]-0x1],_0x1ea3ce=new Map(),_0x51ec9f={'model':{},'attributes':{},'changes':[]},_0x11009e=new Set(),_0x1e8a03=new Map();for(let _0x15da0b=_0x481fba[_0x54b867(0x20f)]-0x1;_0x15da0b>=0x0;_0x15da0b--){const _0x149aa0=_0x481fba[_0x15da0b];for(const _0x10450c of Object[_0x54b867(0x125)](_0x149aa0[_0x54b867(0x1cb)]))if(_0x149aa0[_0x54b867(0x1cb)][_0x10450c][_0x54b867(0x258)]){const _0x3ef8a8=_0x149aa0[_0x54b867(0x1cb)][_0x10450c][_0x54b867(0x258)];_0x3ef8a8[_0x54b867(0x24c)]?(_0x11009e[_0x54b867(0x22a)](_0x10450c),_0x1e8a03[_0x54b867(0x202)](_0x10450c)&&_0x1e8a03[_0x54b867(0x13f)](_0x10450c)[_0x54b867(0x123)]==_0x3ef8a8[_0x54b867(0x123)]?_0x1e8a03[_0x54b867(0x12c)](_0x10450c):_0x1e8a03[_0x54b867(0x131)](_0x10450c,_0x3ef8a8)):_0x1e8a03[_0x54b867(0x202)](_0x10450c)?(_0x11009e[_0x54b867(0x12c)](_0x10450c),_0x1e8a03[_0x54b867(0x12c)](_0x10450c)):(_0x11009e[_0x54b867(0x22a)](_0x10450c),_0x1e8a03[_0x54b867(0x131)](_0x10450c,_0x3ef8a8));}else _0x11009e[_0x54b867(0x22a)](_0x10450c);}for(const _0x361cb1 of _0x11009e){const _0x4b2368=_0x1e8a03[_0x54b867(0x202)](_0x361cb1)&&!_0x1e8a03[_0x54b867(0x13f)](_0x361cb1)[_0x54b867(0x24c)];let _0x317ff1=_0x4b2368?_0x481fba[_0x54b867(0x20f)]-0x1:0x0;const _0x34f3ff=_0x4b2368?-0x1:0x1;for(;_0x481fba[_0x317ff1];){const _0xd2ef32=_0x481fba[_0x317ff1];if(_0xd2ef32[_0x54b867(0x1cb)][_0x361cb1]){const _0x54873c=_0x4b2368?_0xd2ef32[_0x54b867(0x1cb)][_0x361cb1][_0x54b867(0x20d)]:_0xd2ef32[_0x54b867(0x1cb)][_0x361cb1][_0x54b867(0x132)];_0x51ec9f[_0x54b867(0x14c)][_0x361cb1]=_0x54873c?_0x426b19(_0x54873c):{};break;}_0x317ff1+=_0x34f3ff;}}for(const _0x289e09 of _0x481fba){_0x289e09[_0x54b867(0x217)]={};for(const _0x3e8b37 of _0x289e09[_0x54b867(0x206)])_0x1ea3ce[_0x54b867(0x131)](_0x3e8b37['id'],_0x3e8b37);for(const _0x2ee7e2 of _0x11009e){const _0x12452f=_0x289e09[_0x54b867(0x1cb)][_0x2ee7e2]?_0x289e09[_0x54b867(0x1cb)][_0x2ee7e2][_0x54b867(0x19e)]:'[]',_0x281d97=_0x289e09[_0x54b867(0x1cb)][_0x2ee7e2]?_0x289e09[_0x54b867(0x1cb)][_0x2ee7e2][_0x54b867(0x1aa)]:'[]';_0x289e09[_0x54b867(0x217)][_0x2ee7e2]={'insertions':this[_0x54b867(0x1fa)](_0x12452f),'deletions':this[_0x54b867(0x1fa)](_0x281d97)};}}for(const _0x2c1940 of _0x11009e){let _0x42b012=null,_0x1ffb04=0x0;const _0x149ec2=new Map(Array[_0x54b867(0x218)](_0x3b873a[_0x54b867(0x217)][_0x2c1940][_0x54b867(0x19e)][_0x54b867(0x163)])[_0x54b867(0x1ae)](([_0x5702c6])=>!_0x5702c6[_0x54b867(0x170)](_0x54b867(0x21c))));let _0x50c96f=0x0;for(const _0x4153e8 of _0x481fba){const _0x3622cf=this[_0x54b867(0x26b)](_0x4153e8[_0x54b867(0x217)][_0x2c1940][_0x54b867(0x19e)]);_0x4153e8==_0x3b873a?(_0x42b012=_0x3622cf,_0x1ffb04=_0x42b012[_0x54b867(0x20f)],_0x42b012[_0x54b867(0x141)](_0x4242d2=>{_0x4242d2['id']=_0x50c96f++;}),this[_0x54b867(0x242)](_0x42b012)):this[_0x54b867(0x1e7)](_0x42b012,_0x3622cf);const _0x7d5910=_0x42b012[_0x54b867(0x1ae)](_0x3d71ef=>!_0x3d71ef[_0x54b867(0x23c)])[_0x54b867(0x1fd)](_0x4e2c61=>_0x4e2c61['id']);let _0x53f656=0x0;const _0x51b6de=this[_0x54b867(0x26b)](_0x4153e8[_0x54b867(0x217)][_0x2c1940][_0x54b867(0x1aa)]);_0x51b6de[_0x54b867(0x141)](_0x364cb8=>{const _0x316c08=_0x54b867;_0x364cb8[_0x316c08(0x213)]?_0x364cb8['id']=_0x1ffb04++:_0x364cb8['id']=_0x7d5910[_0x53f656++];}),this[_0x54b867(0x242)](_0x51b6de),this[_0x54b867(0x180)](_0x42b012,_0x54b867(0x23c)),this[_0x54b867(0x180)](_0x51b6de,_0x54b867(0x213)),_0x4153e8==_0x3b873a&&this[_0x54b867(0x167)](_0x42b012,_0x149ec2),_0x42b012=this[_0x54b867(0x1b2)](_0x42b012,_0x51b6de),this[_0x54b867(0x247)](_0x42b012),this[_0x54b867(0x180)](_0x42b012,_0x54b867(0x213));}_0x42b012=_0x42b012[_0x54b867(0x1ae)](_0x402a6d=>!(_0x402a6d[_0x54b867(0x23c)]&&_0x402a6d[_0x54b867(0x213)]));const _0x241133=new Map(_0x356d7a[_0x54b867(0x217)][_0x2c1940][_0x54b867(0x1aa)][_0x54b867(0x163)]),_0x5b74f5=new Set(_0x149ec2[_0x54b867(0x125)]());for(const _0x3b9de5 of _0x241133[_0x54b867(0x125)]())_0x5b74f5[_0x54b867(0x12c)](_0x3b9de5);this[_0x54b867(0x1d8)](_0x42b012,_0x5b74f5),this[_0x54b867(0x239)](_0x42b012),_0x42b012=this[_0x54b867(0x22c)](_0x42b012),_0x42b012=this[_0x54b867(0x1f1)](_0x42b012),_0x42b012=this[_0x54b867(0x153)](_0x42b012);const {root:_0x389ec8,changes:_0x5f0869}=this[_0x54b867(0x22f)](_0x42b012,_0x1ea3ce,_0x2c1940);_0x51ec9f[_0x54b867(0x217)][_0x2c1940]=_0x389ec8;const _0x29fdc3=_0x1e8a03[_0x54b867(0x13f)](_0x2c1940);if(_0x29fdc3){const _0x407af8=_0x1ea3ce[_0x54b867(0x13f)](_0x29fdc3[_0x54b867(0x123)]),_0x451e5e=new _0x1dfed6({'author':_0x407af8,'type':_0x29fdc3[_0x54b867(0x24c)]?_0x54b867(0x22a):_0x54b867(0x16c),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2c1940});_0x5f0869[_0x54b867(0x14e)](_0x451e5e),_0x51ec9f[_0x54b867(0x14c)][_0x2c1940][_0x54b867(0x14b)]=_0x451e5e['id'];}_0x51ec9f[_0x54b867(0x23b)]=_0x51ec9f[_0x54b867(0x23b)][_0x54b867(0x21d)](_0x5f0869);}return _0x51ec9f;}[_0x2a3a31(0x167)](_0x4114d4,_0x41bcaf){const _0x3ab5ba=_0x2a3a31;for(let _0x4cb0a1=0x0;_0x4cb0a1<_0x4114d4[_0x3ab5ba(0x20f)];_0x4cb0a1++)for(const [_0x406c98,_0x4a1980]of _0x41bcaf)_0x4a1980[_0x3ab5ba(0x1af)][_0x3ab5ba(0x1c9)](_0x4114d4[_0x4cb0a1][_0x3ab5ba(0x226)])&&_0x4114d4[_0x4cb0a1][_0x3ab5ba(0x1de)][_0x3ab5ba(0x1da)](_0x406c98),_0x4a1980[_0x3ab5ba(0x175)][_0x3ab5ba(0x1c9)](_0x4114d4[_0x4cb0a1][_0x3ab5ba(0x15f)])&&_0x4114d4[_0x4cb0a1][_0x3ab5ba(0x13e)][_0x3ab5ba(0x1da)](_0x406c98);}[_0x2a3a31(0x1b2)](_0x4f0830,_0x256b0b){const _0x5b972f=_0x2a3a31;let _0x49511c=[],_0x1997d3=0x0,_0x22a3a9=0x0;for(;_0x1997d3<_0x4f0830[_0x5b972f(0x20f)]||_0x22a3a9<_0x256b0b[_0x5b972f(0x20f)];){const _0x300e29=_0x4f0830[_0x1997d3]||{},_0x5df08a=_0x256b0b[_0x22a3a9]||{};if(_0x300e29['id']==_0x5df08a['id'])_0x1997d3++,_0x22a3a9++,_0x49511c[_0x5b972f(0x1da)](_0x300e29);else{if(_0x5df08a[_0x5b972f(0x213)]&&_0x300e29[_0x5b972f(0x23c)]){const {commonTape:_0x28e4d3,iEnd:_0x263d3e,jEnd:_0xe57117}=this[_0x5b972f(0x234)](_0x4f0830,_0x1997d3,_0x256b0b,_0x22a3a9);_0x49511c=_0x49511c[_0x5b972f(0x21d)](_0x28e4d3),_0x1997d3=_0x263d3e,_0x22a3a9=_0xe57117;}else _0x5df08a[_0x5b972f(0x213)]?(_0x22a3a9++,_0x49511c[_0x5b972f(0x1da)](_0x5df08a)):(_0x1997d3++,_0x49511c[_0x5b972f(0x1da)](_0x300e29));}}return _0x49511c;}[_0x2a3a31(0x1d8)](_0x39d229,_0x3e83ea){const _0x272603=_0x2a3a31,_0x4e69d0=[];for(let _0x3ea9b8=0x0;_0x3ea9b8<_0x39d229[_0x272603(0x20f)];_0x3ea9b8++){for(let _0x58c59d=0x0;_0x58c59d<_0x39d229[_0x3ea9b8][_0x272603(0x1de)][_0x272603(0x20f)];_0x58c59d++){const _0x3e238b=_0x39d229[_0x3ea9b8][_0x272603(0x1de)][_0x58c59d];if(!_0x3e83ea[_0x272603(0x202)](_0x3e238b))continue;const {group:_0x2d284b,type:_0x464922,authorId:_0xee9972}=_0x4c2ea7(_0x3e238b);_0x272603(0x152)!=_0x2d284b||_0x272603(0x168)!=_0x464922&&_0x272603(0x1fc)!=_0x464922||(_0x4e69d0[_0x272603(0x14e)]({'type':_0x464922,'name':_0x3e238b,'userId':_0xee9972}),_0x39d229[_0x3ea9b8][_0x272603(0x1de)][_0x272603(0x26a)](_0x58c59d,0x1),_0x58c59d--);}_0x20e23f(_0x39d229[_0x3ea9b8]);for(let _0x579cbb=0x0;_0x579cbb<_0x39d229[_0x3ea9b8][_0x272603(0x13e)][_0x272603(0x20f)];_0x579cbb++){const _0x1336ea=_0x39d229[_0x3ea9b8][_0x272603(0x13e)][_0x579cbb];if(!_0x3e83ea[_0x272603(0x202)](_0x1336ea))continue;const {group:_0x1d8936,type:_0x1a1d3d}=_0x4c2ea7(_0x1336ea);if(_0x272603(0x152)!=_0x1d8936||_0x272603(0x168)!=_0x1a1d3d&&_0x272603(0x1fc)!=_0x1a1d3d)continue;_0x39d229[_0x3ea9b8][_0x272603(0x13e)][_0x272603(0x26a)](_0x579cbb,0x1),_0x579cbb--;const _0x5b48d5=_0x4e69d0[_0x272603(0x204)](_0x38c7c5=>_0x38c7c5[_0x272603(0x1ab)]==_0x1336ea);_0x5b48d5>-0x1&&_0x4e69d0[_0x272603(0x26a)](_0x5b48d5,0x1);}}function _0x4c2ea7(_0x84d084){const _0x2da43b=_0x272603,_0x1ebf96=_0x84d084[_0x2da43b(0x1cf)](':');return{'group':_0x1ebf96[0x0],'type':_0x1ebf96[0x1],'subType':_0x1ebf96[_0x2da43b(0x20f)]>=0x5?_0x1ebf96[0x2]:null,'id':_0x1ebf96[_0x2da43b(0x20f)]<0x5?_0x1ebf96[0x2]:_0x1ebf96[0x3],'authorId':_0x1ebf96[_0x2da43b(0x20f)]<0x5?_0x1ebf96[0x3]:_0x1ebf96[0x4],'markerCount':0x6==_0x1ebf96[_0x2da43b(0x20f)]?_0x1ebf96[0x5]:null};}function _0x20e23f(_0x495ef4){const _0x1c51d2=_0x272603;for(let _0x5e3141=0x0;_0x5e3141<_0x4e69d0[_0x1c51d2(0x20f)];_0x5e3141++){if(_0x495ef4[_0x1c51d2(0x23c)]&&_0x1c51d2(0x168)==_0x4e69d0[_0x5e3141][_0x1c51d2(0x248)])return _0x495ef4[_0x1c51d2(0x1cd)]=_0x4e69d0[_0x5e3141],void delete _0x495ef4[_0x1c51d2(0x23c)];if(!_0x495ef4[_0x1c51d2(0x23c)]&&!_0x495ef4[_0x1c51d2(0x213)]&&_0x1c51d2(0x1fc)==_0x4e69d0[_0x5e3141][_0x1c51d2(0x248)])return void(_0x495ef4[_0x1c51d2(0x1b8)]=_0x4e69d0[_0x5e3141]);}}}[_0x2a3a31(0x180)](_0x3dd874,_0x43e12a){const _0xab83fc=_0x2a3a31;let _0x4ada2b=0x0,_0x58af3b=!0x1;const _0x5dc97f=new Map();for(const _0x48c811 of _0x3dd874)_0x48c811[_0x43e12a]?_0x58af3b&&(_0x4ada2b++,_0x58af3b=!0x1):(_0x4ada2b++,_0x58af3b=!0x0),_0x5dc97f[_0xab83fc(0x131)](_0x48c811['id'],_0x4ada2b);for(let _0x20c2b=0x0;_0x20c2b<_0x3dd874[_0xab83fc(0x20f)];_0x20c2b++){if(_0xab83fc(0x213)==_0x43e12a&&_0x3dd874[_0x20c2b][_0xab83fc(0x23c)]||_0xab83fc(0x23c)==_0x43e12a&&_0x3dd874[_0x20c2b][_0xab83fc(0x213)])continue;if(_0xab83fc(0x1b3)==_0x3dd874[_0x20c2b][_0xab83fc(0x248)]){_0x3dd874[_0x20c2b][_0xab83fc(0x262)]=0x0;continue;}const _0x1ddf12=_0x5dc97f[_0xab83fc(0x13f)](_0x3dd874[_0x20c2b][_0xab83fc(0x12a)]),_0x53a136=_0x5dc97f[_0xab83fc(0x13f)](_0x3dd874[_0x20c2b]['id']);_0x3dd874[_0x20c2b][_0xab83fc(0x262)]=_0x1ddf12-_0x53a136;}}[_0x2a3a31(0x1d4)](_0x3553ad,_0x28635f,_0x246ce5=!0x1){const _0x357658=_0x2a3a31,_0x4f8135=[];let _0x248bc5=this[_0x357658(0x263)][_0x357658(0x1c7)](_0x3553ad),_0x4d1cc9=this[_0x357658(0x263)][_0x357658(0x1c7)](_0x28635f);for(-0x1==_0x4d1cc9&&(_0x4d1cc9=this[_0x357658(0x263)][_0x357658(0x1c2)][_0x357658(0x20f)],_0x246ce5=!0x1);_0x248bc5<_0x4d1cc9;)_0x4f8135[_0x357658(0x1da)](this[_0x357658(0x263)][_0x357658(0x236)](_0x248bc5)),_0x248bc5++;return _0x246ce5&&_0x4f8135[_0x357658(0x1da)](this[_0x357658(0x263)][_0x357658(0x236)](_0x248bc5)),_0x4f8135;}[_0x2a3a31(0x234)](_0x1f81eb,_0x59c7d0,_0x2f4587,_0x444a88){const _0x168cfc=_0x2a3a31,_0x1fa4cc=this[_0x168cfc(0x146)][_0x168cfc(0x217)][_0x168cfc(0x225)];let _0x4c4c9b=_0x59c7d0;for(;_0x1f81eb[_0x4c4c9b]&&_0x1f81eb[_0x4c4c9b][_0x168cfc(0x23c)];)_0x4c4c9b++;let _0x31467c=_0x444a88;for(;_0x2f4587[_0x31467c]&&_0x2f4587[_0x31467c][_0x168cfc(0x213)];)_0x31467c++;_0x2d470a(_0x1f81eb,_0x59c7d0,_0x4c4c9b),_0x2d470a(_0x2f4587,_0x444a88,_0x31467c);const _0x4f176c=_0x2f4587[_0x168cfc(0x1f6)](_0x444a88,_0x31467c)[_0x168cfc(0x21d)](_0x1f81eb[_0x168cfc(0x1f6)](_0x59c7d0,_0x4c4c9b));return _0x4f176c[_0x168cfc(0x25f)]((_0x498aaf,_0x370ed2)=>_0x498aaf[_0x168cfc(0x214)]!=_0x370ed2[_0x168cfc(0x214)]?_0x498aaf[_0x168cfc(0x214)]-_0x370ed2[_0x168cfc(0x214)]:_0x498aaf[_0x168cfc(0x1bb)]!=_0x370ed2[_0x168cfc(0x1bb)]?_0x498aaf[_0x168cfc(0x1bb)]-_0x370ed2[_0x168cfc(0x1bb)]:_0x498aaf[_0x168cfc(0x262)]!=_0x370ed2[_0x168cfc(0x262)]?_0x370ed2[_0x168cfc(0x262)]-_0x498aaf[_0x168cfc(0x262)]:!!_0x498aaf[_0x168cfc(0x23c)]!=!!_0x370ed2[_0x168cfc(0x23c)]?-0x1==_0x498aaf[_0x168cfc(0x214)]||0x0==_0x498aaf[_0x168cfc(0x214)]?_0x498aaf[_0x168cfc(0x23c)]?-0x1:0x1:_0x498aaf[_0x168cfc(0x23c)]?0x1:-0x1:_0x498aaf[_0x168cfc(0x127)]-_0x370ed2[_0x168cfc(0x127)]),{'commonTape':_0x4f176c,'iEnd':_0x4c4c9b,'jEnd':_0x31467c};function _0x2d470a(_0x13205d,_0x478580,_0x18ce83){const _0x257690=_0x168cfc;let _0x248686=-0x1,_0x2acbb2=Number[_0x257690(0x1fb)],_0x29ceae=!0x0;for(let _0x27fbe0=_0x478580;_0x27fbe0<_0x18ce83;_0x27fbe0++)if(_0x1fa4cc[_0x257690(0x244)](_0x13205d[_0x27fbe0][_0x257690(0x155)])||(_0x29ceae=!0x1),_0x13205d[_0x27fbe0][_0x257690(0x155)][_0x257690(0x187)]<_0x478580&&(_0x248686=_0x27fbe0),_0x13205d[_0x27fbe0][_0x257690(0x155)][_0x257690(0x18e)]>=_0x18ce83){_0x2acbb2=_0x27fbe0;break;}_0x29ceae&&(_0x248686=_0x18ce83-0x1);for(let _0x5291fe=_0x478580;_0x5291fe<_0x18ce83;_0x5291fe++)_0x13205d[_0x5291fe][_0x257690(0x214)]=_0x5291fe<=_0x248686?-0x1:_0x5291fe<_0x2acbb2?0x0:0x1,_0x13205d[_0x5291fe][_0x257690(0x127)]=_0x5291fe;let _0x1d002b=0x0;for(let _0x1f19cf=_0x478580;_0x1f19cf<=_0x248686;_0x1f19cf++)0x0==_0x13205d[_0x1f19cf][_0x257690(0x262)]?_0x13205d[_0x1f19cf][_0x257690(0x1bb)]=_0x1d002b:(_0x1d002b++,_0x13205d[_0x1f19cf][_0x257690(0x1bb)]=_0x1d002b,_0x1d002b++);for(let _0x107fa0=_0x478580;_0x107fa0<_0x18ce83;_0x107fa0++)0x0==_0x13205d[_0x107fa0][_0x257690(0x214)]&&(_0x13205d[_0x107fa0][_0x257690(0x1bb)]=_0x1d002b);_0x1d002b=0x0;for(let _0x414642=_0x18ce83-0x1;_0x414642>=_0x2acbb2;_0x414642--)0x0==_0x13205d[_0x414642][_0x257690(0x262)]?_0x13205d[_0x414642][_0x257690(0x1bb)]=_0x1d002b:(_0x1d002b--,_0x13205d[_0x414642][_0x257690(0x1bb)]=_0x1d002b,_0x1d002b--);}}[_0x2a3a31(0x239)](_0xcf888c){const _0x2b69f6=_0x2a3a31,_0x1062e6=new Map(),_0x155a9f=this[_0x2b69f6(0x146)][_0x2b69f6(0x217)][_0x2b69f6(0x225)];for(let _0x15b359=0x1;_0x15b359<_0xcf888c[_0x2b69f6(0x20f)];_0x15b359++){let _0x3877be,_0x253341,_0x352e24;const _0x183bd6=_0xcf888c[_0x15b359],_0x1fc3ad=_0xcf888c[_0x15b359-0x1];if(_0x2b69f6(0x1b3)==_0x183bd6[_0x2b69f6(0x248)])continue;if(_0x183bd6[_0x2b69f6(0x248)]!=_0x1fc3ad[_0x2b69f6(0x248)])continue;if(!_0x155a9f[_0x2b69f6(0x1f2)](_0x1fc3ad[_0x2b69f6(0x155)])||_0x155a9f[_0x2b69f6(0x142)](_0x1fc3ad[_0x2b69f6(0x155)]))continue;if(!_0x155a9f[_0x2b69f6(0x1f2)](_0x183bd6[_0x2b69f6(0x155)])||_0x155a9f[_0x2b69f6(0x142)](_0x183bd6[_0x2b69f6(0x155)]))continue;if((_0xcf888c[_0x15b359][_0x2b69f6(0x23c)]||_0xcf888c[_0x15b359][_0x2b69f6(0x1cd)])&&_0xcf888c[_0x15b359-0x1][_0x2b69f6(0x213)])_0x3877be=_0xcf888c[_0x15b359],_0x253341=_0xcf888c[_0x15b359-0x1],_0x352e24=_0x15b359-0x1;else{if(!_0xcf888c[_0x15b359][_0x2b69f6(0x213)]||!_0xcf888c[_0x15b359-0x1][_0x2b69f6(0x23c)]&&!_0xcf888c[_0x15b359-0x1][_0x2b69f6(0x1cd)])continue;_0x3877be=_0xcf888c[_0x15b359-0x1],_0x253341=_0xcf888c[_0x15b359],_0x352e24=_0x15b359;}const _0x444167=_0x3877be[_0x2b69f6(0x1bb)]==_0x253341[_0x2b69f6(0x1bb)],_0x160682=Math[_0x2b69f6(0x205)](_0x3877be[_0x2b69f6(0x1bb)])<Math[_0x2b69f6(0x205)](_0x253341[_0x2b69f6(0x1bb)])&&0x0==_0x253341[_0x2b69f6(0x262)];(_0x444167||_0x160682)&&(_0x1062e6[_0x2b69f6(0x131)](_0x253341['id'],_0x3877be['id']),_0xcf888c[_0x2b69f6(0x26a)](_0x352e24,0x1),_0x15b359--,_0x3877be[_0x2b69f6(0x23c)]=!0x1);}for(let _0x23e160=0x0;_0x23e160<_0xcf888c[_0x2b69f6(0x20f)];_0x23e160++)_0x1062e6[_0x2b69f6(0x202)](_0xcf888c[_0x23e160][_0x2b69f6(0x12a)])&&(_0xcf888c[_0x23e160][_0x2b69f6(0x12a)]=_0x1062e6[_0x2b69f6(0x13f)](_0xcf888c[_0x23e160][_0x2b69f6(0x12a)]));}[_0x2a3a31(0x22c)](_0x559b4c){const _0x55890b=_0x2a3a31,_0x44a28e=new Set(_0x559b4c[_0x55890b(0x1fd)](_0x5643b0=>_0x5643b0['id']));for(let _0x49c018=0x0;_0x49c018<_0x559b4c[_0x55890b(0x20f)];_0x49c018++)_0x44a28e[_0x55890b(0x202)](_0x559b4c[_0x49c018][_0x55890b(0x12a)])||0x0==_0x559b4c[_0x49c018][_0x55890b(0x262)]||(_0x559b4c[_0x49c018][_0x55890b(0x14a)]=!0x0);return _0x559b4c[_0x55890b(0x1ae)](_0x287b93=>!_0x287b93[_0x55890b(0x14a)]);}[_0x2a3a31(0x1f1)](_0x4a29fe){const _0x31138e=_0x2a3a31,_0x2acb0b=new Set();for(let _0x256fff=0x0;_0x256fff<_0x4a29fe[_0x31138e(0x20f)];_0x256fff++){if(_0x2acb0b[_0x31138e(0x202)](_0x4a29fe[_0x256fff]['id'])&&_0x4a29fe[_0x256fff][_0x31138e(0x213)]&&(_0x4a29fe[_0x256fff][_0x31138e(0x14a)]=!0x0),_0x4a29fe[_0x256fff][_0x31138e(0x14a)])continue;if(0x0==_0x4a29fe[_0x256fff][_0x31138e(0x262)])continue;if(_0x31138e(0x229)!=_0x4a29fe[_0x256fff][_0x31138e(0x248)])continue;if(null==_0x4a29fe[_0x256fff][_0x31138e(0x12a)])continue;let _0x4e691f=_0x256fff+0x1,_0x23f2c3=0x0;for(;_0x4a29fe[_0x4e691f]['id']!=_0x4a29fe[_0x256fff][_0x31138e(0x12a)];)_0x31138e(0x229)==_0x4a29fe[_0x4e691f][_0x31138e(0x248)]?_0x23f2c3++:_0x31138e(0x1d3)==_0x4a29fe[_0x4e691f][_0x31138e(0x248)]&&_0x23f2c3--,_0x4e691f++;if(0x0!=_0x23f2c3){if(_0x4a29fe[_0x256fff][_0x31138e(0x213)])_0x4a29fe[_0x256fff][_0x31138e(0x14a)]=!0x0;else{for(;_0x4e691f!=_0x256fff;)_0x4a29fe[_0x4e691f][_0x31138e(0x213)]&&0x0!=_0x4a29fe[_0x4e691f][_0x31138e(0x262)]&&(_0x4a29fe[_0x4e691f][_0x31138e(0x14a)]=!0x0,_0x2acb0b[_0x31138e(0x22a)](_0x4a29fe[_0x4e691f][_0x31138e(0x12a)])),_0x4e691f--;}}}return _0x4a29fe[_0x31138e(0x1ae)](_0x5b3419=>!_0x5b3419[_0x31138e(0x14a)]);}[_0x2a3a31(0x153)](_0x262b79){const _0x4418ca=_0x2a3a31,_0x588a02=this[_0x4418ca(0x146)][_0x4418ca(0x217)][_0x4418ca(0x225)];for(let _0x46a849=0x0;_0x46a849<_0x262b79[_0x4418ca(0x20f)];_0x46a849++){if(!(_0x262b79[_0x46a849][_0x4418ca(0x23c)]||_0x262b79[_0x46a849][_0x4418ca(0x1cd)]||_0x262b79[_0x46a849][_0x4418ca(0x213)]||_0x262b79[_0x46a849][_0x4418ca(0x1b8)]))continue;if(0x0==_0x262b79[_0x46a849][_0x4418ca(0x262)])continue;const _0x3df429=_0x262b79[_0x46a849][_0x4418ca(0x155)];_0x588a02[_0x4418ca(0x1f2)](_0x3df429)||_0x588a02[_0x4418ca(0x142)](_0x3df429)||(_0x262b79[_0x46a849][_0x4418ca(0x23c)]&&delete _0x262b79[_0x46a849][_0x4418ca(0x23c)],_0x262b79[_0x46a849][_0x4418ca(0x1cd)]&&delete _0x262b79[_0x46a849][_0x4418ca(0x1cd)],_0x262b79[_0x46a849][_0x4418ca(0x1b8)]&&delete _0x262b79[_0x46a849][_0x4418ca(0x1b8)],_0x262b79[_0x46a849][_0x4418ca(0x213)]&&(_0x262b79[_0x46a849][_0x4418ca(0x14a)]=!0x0));}return _0x262b79[_0x4418ca(0x1ae)](_0x1e09e6=>!_0x1e09e6[_0x4418ca(0x14a)]);}[_0x2a3a31(0x22f)](_0x2270bc,_0x59e504,_0x4afd28){const _0x1b26f2=_0x2a3a31,_0x3d1a96=new _0x559ef2(),_0x48278f=[],_0x5cc5b1=new Map(),_0x1f06c8=this[_0x1b26f2(0x146)][_0x1b26f2(0x217)],_0xf2d318=_0x1f06c8[_0x1b26f2(0x225)],_0x202fea=[_0x3d1a96],_0x5409de={},_0x5849ff={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x22c4c8=null;const _0x14de99=[0x0];for(let _0x590099=0x0;_0x590099<_0x2270bc[_0x1b26f2(0x20f)];_0x590099++){let _0x3ad299,_0x96669f;if(_0x1b26f2(0x229)===_0x2270bc[_0x590099][_0x1b26f2(0x248)]){_0x3ad299=_0x1f06c8[_0x1b26f2(0x256)](_0x3d1a96,_0x14de99);const _0x12694b=new _0x6dfb00(_0x2270bc[_0x590099][_0x1b26f2(0x155)][_0x1b26f2(0x1ab)],_0x2270bc[_0x590099][_0x1b26f2(0x155)][_0x1b26f2(0x22e)]());_0x202fea[0x0][_0x1b26f2(0x13b)](_0x12694b),_0x14de99[_0x1b26f2(0x1da)](0x0),_0x202fea[_0x1b26f2(0x14e)](_0x12694b),_0x96669f=_0x1f06c8[_0x1b26f2(0x256)](_0x3d1a96,_0x14de99),_0x22c4c8=null;}else{if(_0x1b26f2(0x1d3)===_0x2270bc[_0x590099][_0x1b26f2(0x248)])_0x202fea[_0x1b26f2(0x1a3)](),_0x3ad299=_0x1f06c8[_0x1b26f2(0x256)](_0x3d1a96,_0x14de99),_0x14de99[_0x1b26f2(0x255)](),_0x14de99[_0x14de99[_0x1b26f2(0x20f)]-0x1]++,_0x96669f=_0x1f06c8[_0x1b26f2(0x256)](_0x3d1a96,_0x14de99),_0x22c4c8=null;else{if(_0x3ad299=_0x1f06c8[_0x1b26f2(0x256)](_0x3d1a96,_0x14de99),_0x22c4c8&&_0x2dd75f(_0x22c4c8,_0x2270bc[_0x590099][_0x1b26f2(0x155)]))_0x22c4c8[_0x1b26f2(0x172)]+=_0x2270bc[_0x590099][_0x1b26f2(0x155)][_0x1b26f2(0x1ff)];else{const _0x2a48e5=new _0x19a8a6(_0x2270bc[_0x590099][_0x1b26f2(0x155)][_0x1b26f2(0x1ff)],_0x2270bc[_0x590099][_0x1b26f2(0x155)][_0x1b26f2(0x22e)]());_0x202fea[0x0][_0x1b26f2(0x13b)](_0x2a48e5),_0x22c4c8=_0x2a48e5;}_0x14de99[_0x14de99[_0x1b26f2(0x20f)]-0x1]+=_0x2270bc[_0x590099][_0x1b26f2(0x155)][_0x1b26f2(0x1e5)],_0x96669f=_0x1f06c8[_0x1b26f2(0x256)](_0x3d1a96,_0x14de99);}}for(const _0x76b9a3 of _0x2270bc[_0x590099][_0x1b26f2(0x1de)])_0x5cc5b1[_0x1b26f2(0x131)](_0x76b9a3,{'start':_0x3ad299,'end':null});_0x30e8c7(_0x1b26f2(0x1b8),_0x590099,_0x3ad299,_0x96669f),_0x30e8c7(_0x1b26f2(0x1cd),_0x590099,_0x3ad299,_0x96669f),_0x30e8c7(_0x1b26f2(0x213),_0x590099,_0x3ad299,_0x96669f),_0x30e8c7(_0x1b26f2(0x23c),_0x590099,_0x3ad299,_0x96669f);for(const _0x17a56b of _0x2270bc[_0x590099][_0x1b26f2(0x13e)]){_0x5cc5b1[_0x1b26f2(0x13f)](_0x17a56b)[_0x1b26f2(0x175)]=_0x96669f;}}for(const [_0x199cfc,_0x3c5f19]of _0x5cc5b1){const _0x50a03a=this[_0x1b26f2(0x146)][_0x1b26f2(0x217)][_0x1b26f2(0x1a7)](_0x3c5f19[_0x1b26f2(0x1af)],_0x3c5f19[_0x1b26f2(0x175)]);_0x3d1a96[_0x1b26f2(0x163)][_0x1b26f2(0x131)](_0x199cfc,_0x50a03a);}return _0x48278f[_0x1b26f2(0x25f)]((_0x1834df,_0x300e26)=>{const _0x403b3a=_0x1b26f2,_0x5a9bdb=_0x3d1a96[_0x403b3a(0x163)][_0x403b3a(0x13f)](_0x403b3a(0x21c)+_0x1834df['id']),_0x4250f4=_0x3d1a96[_0x403b3a(0x163)][_0x403b3a(0x13f)](_0x403b3a(0x21c)+_0x300e26['id']);return _0x5a9bdb[_0x403b3a(0x1af)][_0x403b3a(0x1e0)](_0x4250f4[_0x403b3a(0x1af)])?-0x1:_0x5a9bdb[_0x403b3a(0x1af)][_0x403b3a(0x1a8)](_0x4250f4[_0x403b3a(0x1af)])?0x1:_0x5a9bdb[_0x403b3a(0x175)][_0x403b3a(0x1e0)](_0x4250f4[_0x403b3a(0x175)])?-0x1:_0x5a9bdb[_0x403b3a(0x175)][_0x403b3a(0x1a8)](_0x4250f4[_0x403b3a(0x175)])?0x1:_0x403b3a(0x22a)===_0x1834df[_0x403b3a(0x248)]?-0x1:0x1;}),{'root':_0x3d1a96,'changes':_0x48278f};function _0x30e8c7(_0xdf207c,_0x43d96b,_0xa90a5a,_0x4f5167){const _0x14bf37=_0x1b26f2,_0x5d38b8=!!_0x2270bc[_0x43d96b][_0xdf207c],_0x31ad86=_0x5d38b8?_0x2270bc[_0x43d96b][_0xdf207c][_0x14bf37(0x123)]:null,_0x5d452=_0x43d96b===_0x2270bc[_0x14bf37(0x20f)]-0x1,_0x17491e=_0x5849ff[_0xdf207c][0x0],_0x29142c=_0xf2d318[_0x14bf37(0x268)](_0x2270bc[_0x43d96b][_0x14bf37(0x155)]);!_0x5409de[_0xdf207c]&&_0x5d38b8?_0x5409de[_0xdf207c]={'start':_0xa90a5a,'tapeItem':_0x2270bc[_0x43d96b],'userId':_0x31ad86,'type':_0xdf207c}:_0x5409de[_0xdf207c]&&!_0x5d38b8?(_0x5409de[_0xdf207c][_0x14bf37(0x175)]=_0xa90a5a,_0x494d00(_0x5409de[_0xdf207c]),_0x5409de[_0xdf207c]=null):_0x5409de[_0xdf207c]&&_0x5d38b8&&_0x5409de[_0xdf207c][_0x14bf37(0x123)]!==_0x31ad86&&(_0x5409de[_0xdf207c][_0x14bf37(0x175)]=_0xa90a5a,_0x17491e&&_0x17491e[_0x14bf37(0x123)]===_0x5409de[_0xdf207c][_0x14bf37(0x123)]||_0x494d00(_0x5409de[_0xdf207c]),_0x5409de[_0xdf207c]={'start':_0xa90a5a,'tapeItem':_0x2270bc[_0x43d96b],'userId':_0x31ad86,'type':_0xdf207c}),_0x5409de[_0xdf207c]&&_0x29142c&&(_0x14bf37(0x229)!==_0x2270bc[_0x43d96b][_0x14bf37(0x248)]||_0x17491e&&_0x17491e[_0x14bf37(0x123)]===_0x31ad86||_0x5849ff[_0xdf207c][_0x14bf37(0x14e)]({'userId':_0x31ad86,'object':_0x2270bc[_0x43d96b][_0x14bf37(0x155)],'change':_0x5409de[_0xdf207c]}),_0x14bf37(0x1d3)===_0x2270bc[_0x43d96b][_0x14bf37(0x248)]&&_0x17491e&&_0x17491e[_0x14bf37(0x22d)]===_0x2270bc[_0x43d96b][_0x14bf37(0x155)]&&(_0x5849ff[_0xdf207c][_0x14bf37(0x1a3)](),_0x5409de[_0xdf207c]=_0x17491e[_0x14bf37(0x254)])),_0x5409de[_0xdf207c]&&_0x5d452&&(_0x5409de[_0xdf207c][_0x14bf37(0x175)]=_0x4f5167,_0x494d00(_0x5409de[_0xdf207c]),_0x5409de[_0xdf207c]=null);}function _0x494d00({start:_0xc0aa05,end:_0x17db53,tapeItem:_0x314fcd,userId:_0x4842d1,type:_0x13b1c9}){const _0x56a956=_0x1b26f2,_0x5e95b4=_0x314fcd[_0x56a956(0x155)],_0x4d0413=_0x1f06c8[_0x56a956(0x225)][_0x56a956(0x1f2)](_0x5e95b4)&&!_0x1f06c8[_0x56a956(0x225)][_0x56a956(0x142)](_0x5e95b4),_0x2d41d1=_0xc0aa05[_0x56a956(0x159)]==_0x17db53[_0x56a956(0x1b0)]&&_0x17db53[_0x56a956(0x12f)];if(_0x4d0413&&_0x2d41d1)return;const _0x26ae79=_0x1f06c8[_0x56a956(0x1a7)](_0xc0aa05,_0x17db53),_0x1e3c35=_0x59e504[_0x56a956(0x13f)](_0x4842d1),_0x1c2760=new _0x1dfed6({'author':_0x1e3c35,'type':_0x56a956(0x23c)==_0x13b1c9||_0x56a956(0x1cd)==_0x13b1c9?_0x56a956(0x22a):_0x56a956(0x16c),'data':{'isSuggestion':_0x56a956(0x1cd)==_0x13b1c9||_0x56a956(0x1b8)==_0x13b1c9},'createdAt':new Date(),'rootName':_0x4afd28});_0x48278f[_0x56a956(0x1da)](_0x1c2760),_0x3d1a96[_0x56a956(0x163)][_0x56a956(0x131)](_0x56a956(0x21c)+_0x1c2760['id'],_0x26ae79);}function _0x2dd75f(_0x13d1b9,_0x541324){const _0x2954f9=_0x1b26f2,_0x39106a=_0x13d1b9[_0x2954f9(0x22e)](),_0xb5abf4=_0x541324[_0x2954f9(0x22e)]();for(const _0x3e4ff5 of _0x39106a){if(_0x3e4ff5[0x1]!==_0x541324[_0x2954f9(0x23a)](_0x3e4ff5[0x0]))return!0x1;_0xb5abf4[_0x2954f9(0x13a)]();}return _0xb5abf4[_0x2954f9(0x13a)]()[_0x2954f9(0x19c)];}}[_0x2a3a31(0x221)](){const _0x1cc8c5=_0x2a3a31;this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x19f))[_0x1cc8c5(0x189)]({'view':_0x1cc8c5(0x20c)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x16e))[_0x1cc8c5(0x1bf)]({'model':_0x1cc8c5(0x20c),'view':_0x3b1a4f=>{const _0x59a41c=_0x1cc8c5,_0x2c1afa=_0x3b1a4f[_0x59a41c(0x1d1)][_0x59a41c(0x1cf)](':')[0x1],_0x3edd41=this[_0x59a41c(0x1ac)](_0x2c1afa);if(!_0x3edd41)return null;const _0x3e4ec1=_0x59a41c(0x22a)==_0x3edd41[_0x59a41c(0x248)]?_0x59a41c(0x168):_0x59a41c(0x1fc),_0x38b910=[_0x59a41c(0x246),_0x59a41c(0x18d)+_0x3e4ec1];return _0x3edd41[_0x59a41c(0x1ff)][_0x59a41c(0x271)]&&_0x38b910[_0x59a41c(0x1da)](_0x59a41c(0x18d)+_0x3e4ec1+_0x59a41c(0x231)),this[_0x59a41c(0x25e)]==_0x3edd41&&_0x38b910[_0x59a41c(0x1da)](_0x59a41c(0x157)),{'classes':_0x38b910,'attributes':{'data-change-id':_0x2c1afa}};}}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x19f))[_0x1cc8c5(0x22a)](_0x1aa436=>{const _0x57401d=_0x1cc8c5;_0x1aa436['on'](_0x57401d(0x1d9),(_0x1d9dbc,_0x4a6605,_0x135c93)=>{const _0x239c10=_0x57401d,_0x1d6d38=_0x4a6605[_0x239c10(0x241)][_0x239c10(0x165)](0x0);if(!_0x1d6d38||!_0x1d6d38['is'](_0x239c10(0x1d5),_0x239c10(0x138)))return;if(!_0x135c93[_0x239c10(0x17b)][_0x239c10(0x1e3)](_0x1d6d38,{'attributes':[_0x239c10(0x24e),_0x239c10(0x1d6)]}))return;const _0x54a4ab=_0x4a6605[_0x239c10(0x193)][_0x239c10(0x1af)][_0x239c10(0x159)];_0x135c93[_0x239c10(0x14d)][_0x239c10(0x197)](_0x239c10(0x24e),_0x1d6d38[_0x239c10(0x23a)](_0x239c10(0x24e)),_0x54a4ab),_0x135c93[_0x239c10(0x14d)][_0x239c10(0x197)](_0x239c10(0x1d6),_0x1d6d38[_0x239c10(0x23a)](_0x239c10(0x1d6)),_0x54a4ab);},{'priority':_0x57401d(0x21e)});}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x19f))[_0x1cc8c5(0x22a)](_0x4bc9a9=>{const _0x5926fd=_0x1cc8c5;_0x4bc9a9['on'](_0x5926fd(0x1d5),(_0x214173,_0x4fd180,_0x274f1e)=>{const _0x1f09bb=_0x5926fd;if(!_0x274f1e[_0x1f09bb(0x17b)][_0x1f09bb(0x1e3)](_0x4fd180[_0x1f09bb(0x241)],{'attributes':[_0x1f09bb(0x24e),_0x1f09bb(0x1d6)]}))return;if(_0x4fd180[_0x1f09bb(0x193)][_0x1f09bb(0x144)])return;const _0x37f9da=_0x4fd180[_0x1f09bb(0x193)][_0x1f09bb(0x1af)][_0x1f09bb(0x159)];_0x37f9da[_0x1f09bb(0x12b)](_0x1f09bb(0x24e))||_0x37f9da[_0x1f09bb(0x12b)](_0x1f09bb(0x133))||(_0x274f1e[_0x1f09bb(0x14d)][_0x1f09bb(0x197)](_0x1f09bb(0x24e),_0x4fd180[_0x1f09bb(0x241)][_0x1f09bb(0x23a)](_0x1f09bb(0x24e)),_0x37f9da),_0x274f1e[_0x1f09bb(0x14d)][_0x1f09bb(0x197)](_0x1f09bb(0x1d6),_0x4fd180[_0x1f09bb(0x241)][_0x1f09bb(0x23a)](_0x1f09bb(0x1d6)),_0x37f9da));},{'priority':_0x5926fd(0x21e)});}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x19f))[_0x1cc8c5(0x196)]({'view':{'name':_0x1cc8c5(0x1e8),'attributes':{'vid':!0x0}},'model':{'key':_0x1cc8c5(0x133),'value':_0x255266=>_0x255266[_0x1cc8c5(0x23a)](_0x1cc8c5(0x133))}}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x217)][_0x1cc8c5(0x225)]['on'](_0x1cc8c5(0x1f0),(_0x53f46b,[,_0x8bd44e])=>{const _0x7bb164=_0x1cc8c5;[_0x7bb164(0x24e),_0x7bb164(0x1d6),_0x7bb164(0x133)][_0x7bb164(0x270)](_0x8bd44e)&&(_0x53f46b[_0x7bb164(0x140)]=!0x0,_0x53f46b[_0x7bb164(0x184)]());},{'priority':_0x1cc8c5(0x178)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x15a))[_0x1cc8c5(0x22a)](_0x24cde2=>{const _0x15310c=_0x1cc8c5;_0x24cde2['on'](_0x15310c(0x240),(_0x26da94,_0x53a631,_0x45a4ae)=>{const _0x4f2e8c=_0x15310c;if('\x20'!=_0x53a631[_0x4f2e8c(0x155)][_0x4f2e8c(0x1ff)]||_0x53a631[_0x4f2e8c(0x155)][_0x4f2e8c(0x1b0)][_0x4f2e8c(0x21a)]>0x1)return;if(!_0x45a4ae[_0x4f2e8c(0x17b)][_0x4f2e8c(0x1e3)](_0x53a631[_0x4f2e8c(0x155)],_0x26da94[_0x4f2e8c(0x1ab)]))return;const _0x1546f5=_0x45a4ae[_0x4f2e8c(0x14d)],_0x4dd3b4=_0x45a4ae[_0x4f2e8c(0x17e)][_0x4f2e8c(0x237)](_0x53a631[_0x4f2e8c(0x13c)]);_0x1546f5[_0x4f2e8c(0x21b)](_0x4dd3b4,_0x1546f5[_0x4f2e8c(0x245)](_0x4f2e8c(0x1e8)));});}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x15a))[_0x1cc8c5(0x210)]({'model':_0x1cc8c5(0x20c)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x1dd)][_0x1cc8c5(0x134)]['on'](_0x1cc8c5(0x1a1),function(_0x168980){const _0x4d226d=_0x1cc8c5,_0x53a053=_0x168980[_0x4d226d(0x222)][_0x4d226d(0x13f)](_0x4d226d(0x23e));return(_0x9f3c8d,_0x360eef,_0x1276e8)=>{const _0x2b117c=_0x4d226d,_0x280da8=_0x360eef[_0x2b117c(0x1d1)][_0x2b117c(0x1cf)](':')[0x1],_0x22ff3a=_0x53a053[_0x2b117c(0x1ac)](_0x280da8);if(!_0x22ff3a)return null;const _0x1bdafa=_0x2b117c(0x22a)==_0x22ff3a[_0x2b117c(0x248)]?_0x2b117c(0x1cf):_0x2b117c(0x17f);if(!_0x1276e8[_0x2b117c(0x17b)][_0x2b117c(0x1e1)](_0x360eef[_0x2b117c(0x208)],_0x9f3c8d[_0x2b117c(0x1ab)]))return;const _0x200e39=_0x360eef[_0x2b117c(0x208)][_0x2b117c(0x235)](),_0x30f5ad=_0x360eef[_0x2b117c(0x208)][_0x2b117c(0x1af)],_0x25090b=_0x168980[_0x2b117c(0x217)][_0x2b117c(0x225)];let _0xc07db3=null,_0x34f7b8=null,_0x2fb59b=!0x1,_0x3a27ac=!0x1;for(const _0x43a8b9 of _0x200e39){const _0x5b6f18=_0x43a8b9[_0x2b117c(0x155)];_0x2fb59b=_0x2fb59b||_0x25090b[_0x2b117c(0x223)](_0x5b6f18);const _0x27b792=_0x1276e8[_0x2b117c(0x17e)][_0x2b117c(0x1ba)](_0x5b6f18);if(_0x27b792&&_0x27b792[_0x2b117c(0x162)](_0x2b117c(0x18b)))return;_0x2b117c(0x1d3)==_0x43a8b9[_0x2b117c(0x248)]&&(_0x25090b[_0x2b117c(0x1f2)](_0x5b6f18)&&!_0x25090b[_0x2b117c(0x142)](_0x5b6f18)&&(_0x5b6f18[_0x2b117c(0x195)]||_0x30f5ad[_0x2b117c(0x1c0)]?_0xc07db3&&_0xc07db3[_0x2b117c(0x1b0)]==_0x5b6f18||(_0xc07db3=_0x5b6f18,_0x58ee5d(_0x43a8b9[_0x2b117c(0x226)]),_0x3a27ac=!0x0):_0x34f7b8=_0x34f7b8||_0x43a8b9[_0x2b117c(0x226)]));}function _0x58ee5d(_0x57cfe8){const _0x1fd3a1=_0x2b117c,_0x33b022=_0x1276e8[_0x1fd3a1(0x14d)][_0x1fd3a1(0x20e)](_0x1fd3a1(0x1e8),{'class':_0x1fd3a1(0x18d)+_0x1bdafa}),_0x57aee0=_0x1276e8[_0x1fd3a1(0x17e)][_0x1fd3a1(0x1d0)](_0x57cfe8);_0x22ff3a[_0x1fd3a1(0x1ff)][_0x1fd3a1(0x271)]&&_0x1276e8[_0x1fd3a1(0x14d)][_0x1fd3a1(0x1c4)](_0x1fd3a1(0x18d)+_0x1bdafa+_0x1fd3a1(0x231),_0x33b022),_0x53a053[_0x1fd3a1(0x25e)]==_0x22ff3a&&_0x1276e8[_0x1fd3a1(0x14d)][_0x1fd3a1(0x1c4)](_0x1fd3a1(0x157),_0x33b022),_0x1276e8[_0x1fd3a1(0x14d)][_0x1fd3a1(0x1ca)](_0x57aee0,_0x33b022),_0x1276e8[_0x1fd3a1(0x17e)][_0x1fd3a1(0x1c5)](_0x33b022,_0x360eef[_0x1fd3a1(0x1d1)]);}_0x2fb59b||_0x3a27ac||!_0x34f7b8||_0x58ee5d(_0x34f7b8);};}(this[_0x1cc8c5(0x146)]),{'priority':_0x1cc8c5(0x1cc)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x1dd)][_0x1cc8c5(0x134)]['on'](_0x1cc8c5(0x129),(_0x595084,_0x4fef0d,_0x1f46b7)=>{const _0x218af0=_0x1cc8c5,_0x1ed793=_0x1f46b7[_0x218af0(0x17e)][_0x218af0(0x130)](_0x4fef0d[_0x218af0(0x1d1)]);if(_0x1ed793){for(const _0x4a70af of _0x1ed793)(_0x4a70af[_0x218af0(0x249)](_0x218af0(0x198))||_0x4a70af[_0x218af0(0x249)](_0x218af0(0x124)))&&(_0x1f46b7[_0x218af0(0x17e)][_0x218af0(0x1be)](_0x4a70af,_0x4fef0d[_0x218af0(0x1d1)]),_0x1f46b7[_0x218af0(0x14d)][_0x218af0(0x16c)](_0x4a70af));}},{'priority':_0x1cc8c5(0x1cc)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x1dd)][_0x1cc8c5(0x134)]['on'](_0x1cc8c5(0x1a1),(_0x14df21,_0x3b38e3,_0x332681)=>{const _0x224870=_0x1cc8c5,_0x40377b=_0x3b38e3[_0x224870(0x1d1)][_0x224870(0x1cf)](':')[0x1],_0x4dd4c4=this[_0x224870(0x1ac)](_0x40377b);if(!_0x4dd4c4)return null;const _0x3c5b68=_0x224870(0x22a)==_0x4dd4c4[_0x224870(0x248)]?_0x224870(0x1cf):_0x224870(0x17f);if(_0x332681[_0x224870(0x17b)][_0x224870(0x1e1)](_0x3b38e3[_0x224870(0x208)],_0x14df21[_0x224870(0x1ab)]))for(const _0x2c131e of _0x3b38e3[_0x224870(0x208)][_0x224870(0x228)]()){if(!_0x2c131e['is'](_0x224870(0x1d5),_0x224870(0x26c)))continue;const _0x2e48a9=_0x332681[_0x224870(0x14d)][_0x224870(0x20e)](_0x224870(0x1e8),{'class':_0x224870(0x18d)+_0x3c5b68}),_0x48f00e=_0x332681[_0x224870(0x17e)][_0x224870(0x1d0)](this[_0x224870(0x146)][_0x224870(0x217)][_0x224870(0x1df)](_0x2c131e));_0x4dd4c4[_0x224870(0x1ff)][_0x224870(0x271)]&&_0x332681[_0x224870(0x14d)][_0x224870(0x1c4)](_0x224870(0x18d)+_0x3c5b68+_0x224870(0x231),_0x2e48a9),this[_0x224870(0x25e)]==_0x4dd4c4&&_0x332681[_0x224870(0x14d)][_0x224870(0x1c4)](_0x224870(0x157),_0x2e48a9),_0x332681[_0x224870(0x14d)][_0x224870(0x1ca)](_0x48f00e,_0x2e48a9),_0x332681[_0x224870(0x17e)][_0x224870(0x1c5)](_0x2e48a9,_0x3b38e3[_0x224870(0x1d1)]);}},{'priority':_0x1cc8c5(0x1cc)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x217)][_0x1cc8c5(0x1dc)]['on'](_0x1cc8c5(0x254),()=>{const _0x4b4488=_0x1cc8c5;this[_0x4b4488(0x146)][_0x4b4488(0x1dd)][_0x4b4488(0x148)][_0x4b4488(0x254)](_0x4298a5=>{const _0x7fae53=_0x4b4488;for(const _0x570f1a of this[_0x7fae53(0x146)][_0x7fae53(0x217)][_0x7fae53(0x1dc)][_0x7fae53(0x1f4)]()){const _0x59d5e1=this[_0x7fae53(0x146)][_0x7fae53(0x217)][_0x7fae53(0x1dc)][_0x7fae53(0x12e)](_0x570f1a),_0x56a3d7=this[_0x7fae53(0x146)][_0x7fae53(0x1dd)][_0x7fae53(0x148)][_0x7fae53(0x1dc)][_0x7fae53(0x12e)](_0x570f1a);if(_0x56a3d7){const _0x2f5be9=_0x59d5e1[_0x7fae53(0x23a)](_0x7fae53(0x14b));if(_0x4298a5[_0x7fae53(0x16b)](_0x7fae53(0x1ad),_0x56a3d7),_0x4298a5[_0x7fae53(0x161)](_0x7fae53(0x179),_0x56a3d7),_0x4298a5[_0x7fae53(0x161)](_0x7fae53(0x1a5),_0x56a3d7),_0x4298a5[_0x7fae53(0x161)](_0x7fae53(0x1c8),_0x56a3d7),_0x2f5be9){const _0x4fe9fd=this[_0x7fae53(0x1ac)](_0x2f5be9);if(!_0x4fe9fd)return null;_0x4298a5[_0x7fae53(0x197)](_0x7fae53(0x1ad),_0x2f5be9,_0x56a3d7),_0x4298a5[_0x7fae53(0x1c4)](_0x7fae53(0x191)+_0x4fe9fd[_0x7fae53(0x248)],_0x56a3d7),this[_0x7fae53(0x25e)]==_0x4fe9fd&&_0x4298a5[_0x7fae53(0x1c4)](_0x7fae53(0x1c8),_0x56a3d7);}}}});}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x19f))[_0x1cc8c5(0x189)]({'view':_0x1cc8c5(0x17a),'model':_0x1789ab=>_0x1cc8c5(0x1c1)+_0x1789ab,'converterPriority':_0x1cc8c5(0x178)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x19f))[_0x1cc8c5(0x189)]({'view':_0x1cc8c5(0x139),'model':_0x2f918b=>_0x1cc8c5(0x1e9)+_0x2f918b,'converterPriority':_0x1cc8c5(0x178)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x15a))[_0x1cc8c5(0x210)]({'model':_0x1cc8c5(0x152),'view':_0x407c03=>({'name':_0x1cc8c5(0x126)+_0x407c03,'group':_0x1cc8c5(0x152)}),'converterPriority':_0x1cc8c5(0x178)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x188)][_0x1cc8c5(0x238)](_0x1cc8c5(0x16e))[_0x1cc8c5(0x1bf)]({'model':_0x1cc8c5(0x152),'view':_0x344046=>{const _0x330129=_0x1cc8c5,_0x4519e4=_0x344046[_0x330129(0x1d1)][_0x330129(0x1cf)](':')[0x1];return _0x330129(0x168)!=_0x4519e4&&_0x330129(0x1fc)!=_0x4519e4?null:{'classes':[_0x330129(0x15c),_0x330129(0x267)+_0x4519e4]};}}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x1dd)][_0x1cc8c5(0x134)]['on'](_0x1cc8c5(0x24b),et(this[_0x1cc8c5(0x146)],_0x1cc8c5(0x17f)),{'priority':_0x1cc8c5(0x1cc)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x1dd)][_0x1cc8c5(0x134)]['on'](_0x1cc8c5(0x186),et(this[_0x1cc8c5(0x146)],_0x1cc8c5(0x1cf)),{'priority':_0x1cc8c5(0x1cc)}),this[_0x1cc8c5(0x146)][_0x1cc8c5(0x1dd)][_0x1cc8c5(0x134)]['on'](_0x1cc8c5(0x252),(_0x3f4b58,_0x2c039f,_0x2f6a50)=>{const _0x450d4b=_0x1cc8c5,_0x501f2b=_0x2f6a50[_0x450d4b(0x17e)][_0x450d4b(0x130)](_0x2c039f[_0x450d4b(0x1d1)]);if(_0x501f2b){for(const _0xc09a96 of _0x501f2b)_0xc09a96['is'](_0x450d4b(0x219))&&(_0x2f6a50[_0x450d4b(0x17e)][_0x450d4b(0x1be)](_0xc09a96,_0x2c039f[_0x450d4b(0x1d1)]),_0x2f6a50[_0x450d4b(0x14d)][_0x450d4b(0x16c)](_0xc09a96));}},{'priority':_0x1cc8c5(0x1cc)});}[_0x2a3a31(0x1ac)](_0x4ff421){const _0x242177=_0x2a3a31;return this[_0x242177(0x185)][_0x242177(0x13f)](_0x4ff421);}[_0x2a3a31(0x265)](_0x4e08b4){const _0x4ec1fc=_0x2a3a31;return this[_0x4ec1fc(0x260)]&&this[_0x4ec1fc(0x260)][_0x4ec1fc(0x1e2)](),this[_0x4ec1fc(0x260)]=new _0x23aabc(this[_0x4ec1fc(0x146)][_0x4ec1fc(0x15e)],_0x4e08b4),this[_0x4ec1fc(0x260)];}[_0x2a3a31(0x199)](){const _0x1dcb9a=_0x2a3a31;this[_0x1dcb9a(0x146)][_0x1dcb9a(0x217)][_0x1dcb9a(0x1dc)][_0x1dcb9a(0x194)][_0x1dcb9a(0x26d)](_0x1dcb9a(0x20c)),this['on'](_0x1dcb9a(0x227),(_0x3eb063,_0x4af4a7,_0x1c7382,_0x1a22f9)=>{const _0x4ed8ce=_0x1dcb9a;_0x1a22f9&&this[_0x4ed8ce(0x177)][_0x4ed8ce(0x16c)](_0x1a22f9),_0x1c7382&&(this[_0x4ed8ce(0x177)][_0x4ed8ce(0x22a)]({'view':_0x1c7382,'stackId':_0x4ed8ce(0x154),'position':{'target':()=>{const _0x36049a=_0x4ed8ce,_0x4a9fdd=this[_0x36049a(0x146)][_0x36049a(0x1dd)],_0x20e138=this[_0x36049a(0x1ac)](_0x1c7382[_0x36049a(0x1a9)]);let _0x26c098;if(_0x20e138[_0x36049a(0x1ff)][_0x36049a(0x251)]){const _0x158f36=_0x4a9fdd[_0x36049a(0x148)][_0x36049a(0x1b6)](_0x20e138[_0x36049a(0x1f8)]);_0x26c098=Array[_0x36049a(0x218)](_0x158f36[_0x36049a(0x12d)]());}else{const _0x4719ce=this[_0x36049a(0x146)][_0x36049a(0x217)][_0x36049a(0x163)][_0x36049a(0x13f)](_0x36049a(0x21c)+_0x1c7382[_0x36049a(0x1a9)]);_0x26c098=Array[_0x36049a(0x218)](_0x4a9fdd[_0x36049a(0x17e)][_0x36049a(0x130)](_0x4719ce[_0x36049a(0x1ab)]))[_0x36049a(0x1fd)](_0x2999f0=>_0x4a9fdd[_0x36049a(0x148)][_0x36049a(0x16a)][_0x36049a(0x233)](_0x2999f0))[_0x36049a(0x1fd)](_0x40ec9d=>Array[_0x36049a(0x218)](_0x40ec9d[_0x36049a(0x12d)]()))[_0x36049a(0x169)]();}if(!this[_0x36049a(0x137)])return _0x26c098[0x0];return _0x26c098[_0x36049a(0x166)](_0x2c79ad=>_0x2c79ad[_0x36049a(0x24d)]-0x3<=this[_0x36049a(0x137)]['y']&&_0x2c79ad[_0x36049a(0x158)]+0x3>=this[_0x36049a(0x137)]['y']&&_0x2c79ad[_0x36049a(0x16f)]-0x3<=this[_0x36049a(0x137)]['x']&&_0x2c79ad[_0x36049a(0x207)]+0x3>=this[_0x36049a(0x137)]['x'])||_0x26c098[0x0];}}}),this[_0x4ed8ce(0x177)][_0x4ed8ce(0x145)](_0x4ed8ce(0x154)));}),this['on'](_0x1dcb9a(0x1a2),(_0x55050a,_0xafa19a,_0x13b296,_0x3cef95)=>{const _0x81bb2=_0x1dcb9a;this[_0x81bb2(0x1eb)]=_0x13b296?this[_0x81bb2(0x265)](_0x13b296):null,this[_0x81bb2(0x146)][_0x81bb2(0x217)][_0x81bb2(0x254)](()=>{const _0x5d3ae2=_0x81bb2,_0x24fc85=this[_0x5d3ae2(0x146)][_0x5d3ae2(0x1dd)];_0x3cef95&&(_0x3cef95[_0x5d3ae2(0x1ff)][_0x5d3ae2(0x251)]?_0x24fc85[_0x5d3ae2(0x148)][_0x5d3ae2(0x254)](_0x392e1d=>{const _0xd28134=_0x5d3ae2;_0x392e1d[_0xd28134(0x161)](_0xd28134(0x1c8),_0x24fc85[_0xd28134(0x148)][_0xd28134(0x1dc)][_0xd28134(0x12e)](_0x3cef95[_0xd28134(0x1f8)]));}):_0x24fc85[_0x5d3ae2(0x1f7)](_0x5d3ae2(0x21c)+_0x3cef95['id'])),_0x13b296&&(_0x13b296[_0x5d3ae2(0x1ff)][_0x5d3ae2(0x251)]?_0x24fc85[_0x5d3ae2(0x148)][_0x5d3ae2(0x254)](_0xbe2cdf=>{const _0x577462=_0x5d3ae2;_0xbe2cdf[_0x577462(0x1c4)](_0x577462(0x1c8),_0x24fc85[_0x577462(0x148)][_0x577462(0x1dc)][_0x577462(0x12e)](_0x13b296[_0x577462(0x1f8)]));}):_0x24fc85[_0x5d3ae2(0x1f7)](_0x5d3ae2(0x21c)+_0x13b296['id']));});}),this[_0x1dcb9a(0x156)](this[_0x1dcb9a(0x146)][_0x1dcb9a(0x1dd)][_0x1dcb9a(0x148)][_0x1dcb9a(0x1dc)],_0x1dcb9a(0x22b),(_0x2ace4e,_0x347ae4)=>{const _0x4a8c20=_0x1dcb9a;if(this[_0x4a8c20(0x25e)])return;const _0x51356b=this[_0x4a8c20(0x190)](_0x347ae4[_0x4a8c20(0x19d)]),_0x2d6785=this[_0x4a8c20(0x185)][_0x4a8c20(0x13f)](_0x51356b);_0x2d6785?(this[_0x4a8c20(0x137)]={'x':_0x347ae4[_0x4a8c20(0x150)]['x'],'y':_0x347ae4[_0x4a8c20(0x150)]['y']},this[_0x4a8c20(0x1eb)]=this[_0x4a8c20(0x265)](_0x2d6785)):(this[_0x4a8c20(0x137)]=null,this[_0x4a8c20(0x1eb)]=null);}),this[_0x1dcb9a(0x156)](this[_0x1dcb9a(0x146)][_0x1dcb9a(0x1dd)][_0x1dcb9a(0x148)][_0x1dcb9a(0x1dc)],_0x1dcb9a(0x164),(_0x50c166,_0x452800)=>{const _0x29bea6=_0x1dcb9a,_0xdcca0c=this[_0x29bea6(0x190)](_0x452800[_0x29bea6(0x19d)]),_0x2a579d=this[_0x29bea6(0x185)][_0x29bea6(0x13f)](_0xdcca0c);_0x2a579d?(this[_0x29bea6(0x137)]={'x':_0x452800[_0x29bea6(0x150)]['x'],'y':_0x452800[_0x29bea6(0x150)]['y']},_0x2a579d===this[_0x29bea6(0x25e)]?this[_0x29bea6(0x177)][_0x29bea6(0x128)]():this[_0x29bea6(0x25e)]=_0x2a579d):(this[_0x29bea6(0x137)]=null,this[_0x29bea6(0x25e)]=null);});}[_0x2a3a31(0x190)](_0x51df66){const _0x5b1615=_0x2a3a31;do{const _0x374dbf=_0x51df66[_0x5b1615(0x23a)](_0x5b1615(0x1ad));if(_0x374dbf)return _0x374dbf;_0x51df66=_0x51df66[_0x5b1615(0x1b0)];}while(_0x51df66);return null;}[_0x2a3a31(0x20b)](){const _0x319297=_0x2a3a31;this[_0x319297(0x146)][_0x319297(0x217)][_0x319297(0x254)](_0x45aa85=>{const _0xe2ca23=_0x319297;for(const _0x70ff01 of this[_0xe2ca23(0x146)][_0xe2ca23(0x217)][_0xe2ca23(0x163)])_0x45aa85[_0xe2ca23(0x259)](_0x70ff01);});}}function et(_0x28674c,_0x441cc3){return(_0xeaf388,_0x5e437a,_0x2882f1)=>{const _0xf8dbda=_0x2d08;if(!_0x2882f1[_0xf8dbda(0x17b)][_0xf8dbda(0x1e1)](_0x5e437a[_0xf8dbda(0x208)],_0xeaf388[_0xf8dbda(0x1ab)]))return;const _0x2ef967=_0x5e437a[_0xf8dbda(0x208)][_0xf8dbda(0x235)](),_0x58dd79=_0x5e437a[_0xf8dbda(0x208)][_0xf8dbda(0x1af)],_0x3b35fd=_0x28674c[_0xf8dbda(0x217)][_0xf8dbda(0x225)];let _0x2e3e5b=null,_0x3e4c0e=null,_0x3eef46=!0x1,_0xc29487=!0x1;for(const _0x2ffa4f of _0x2ef967){const _0x3b0e3f=_0x2ffa4f[_0xf8dbda(0x155)];_0x3eef46=_0x3eef46||_0x3b35fd[_0xf8dbda(0x223)](_0x3b0e3f);const _0x6e49a5=_0x2882f1[_0xf8dbda(0x17e)][_0xf8dbda(0x1ba)](_0x3b0e3f);if(_0x6e49a5&&_0x6e49a5[_0xf8dbda(0x162)](_0xf8dbda(0x18b)))return;_0xf8dbda(0x1d3)==_0x2ffa4f[_0xf8dbda(0x248)]&&(_0x3b35fd[_0xf8dbda(0x1f2)](_0x3b0e3f)&&!_0x3b35fd[_0xf8dbda(0x142)](_0x3b0e3f)&&(_0x3b0e3f[_0xf8dbda(0x195)]||_0x58dd79[_0xf8dbda(0x1c0)]?_0x2e3e5b&&_0x2e3e5b[_0xf8dbda(0x1b0)]==_0x3b0e3f||(_0x2e3e5b=_0x3b0e3f,_0xa2c333(_0x2ffa4f[_0xf8dbda(0x226)]),_0xc29487=!0x0):_0x3e4c0e=_0x3e4c0e||_0x2ffa4f[_0xf8dbda(0x226)]));}function _0xa2c333(_0x886e06){const _0x4d2ca8=_0xf8dbda,_0x174dfc=_0x2882f1[_0x4d2ca8(0x17e)][_0x4d2ca8(0x1d0)](_0x886e06),_0x4fba95=_0x2882f1[_0x4d2ca8(0x14d)][_0x4d2ca8(0x20e)](_0x4d2ca8(0x1e8),{'class':_0x4d2ca8(0x267)+_0x441cc3});_0x2882f1[_0x4d2ca8(0x14d)][_0x4d2ca8(0x1ca)](_0x174dfc,_0x4fba95),_0x2882f1[_0x4d2ca8(0x17e)][_0x4d2ca8(0x1c5)](_0x4fba95,_0x5e437a[_0x4d2ca8(0x1d1)]);}_0x3eef46||_0xc29487||!_0x3e4c0e||_0xa2c333(_0x3e4c0e);};}export class RestoreRevisionCommand extends _0x37dc99{constructor(_0x3c684c){const _0x2474b1=_0x2a3a31;super(_0x3c684c);const _0x1db4ea=_0x3c684c[_0x2474b1(0x222)][_0x2474b1(0x13f)](d);this[_0x2474b1(0x220)]=!0x1,this[_0x2474b1(0x156)](_0x1db4ea,_0x2474b1(0x250),()=>this[_0x2474b1(0x19b)]()),this[_0x2474b1(0x156)](_0x1db4ea,_0x2474b1(0x266),()=>this[_0x2474b1(0x19b)]());}[_0x2a3a31(0x257)](){const _0x39afaf=_0x2a3a31,_0x31bf3b=this[_0x39afaf(0x146)],_0x239b3f=_0x31bf3b[_0x39afaf(0x222)][_0x39afaf(0x13f)](d),_0x689ad9=_0x239b3f[_0x39afaf(0x209)]?_0x239b3f[_0x39afaf(0x18c)][_0x39afaf(0x24f)]:null;_0x31bf3b[_0x39afaf(0x181)][_0x39afaf(0x13f)](_0x39afaf(0x25d))[_0x39afaf(0x23d)](_0x689ad9);}[_0x2a3a31(0x19b)](){const _0x3ac151=_0x2a3a31,{isReady:_0x241949,isEnabled:_0x3d66f0}=this[_0x3ac151(0x146)][_0x3ac151(0x222)][_0x3ac151(0x13f)](d);this[_0x3ac151(0x173)]=_0x241949&&_0x3d66f0;}}function _0x1650(){const _0x22da3b=['elementEnd','_getRevisionsRange','element','vid_end','showPreviousChange','_markSuggestions','element:pre','push','clear','document','editing','markersStart','createPositionBefore','isBefore','test','destroy','consume','revision-end','offsetSize','_getDiff','_markInsertions','span','revision-suggestion:','addRevisionData','activeView','enableReadOnlyMode','2ckIMxm','30qBKjnC','getRevisionData','checkAttribute','_markMismatchedRemovedTags','isBlock','revision-viewer','getRootNames','isNavigationMode','slice','reconvertMarker','rootName','oldRevisionId','_makeModelFromViewString','POSITIVE_INFINITY','deletion','map','first','data','_sortAndFilterDiffChanges','requires','has','282aMOoOK','findIndex','abs','authors','right','markerRange','isReady','init','_cleanMarkers','revision','attributesBefore','createUIElement','length','markerToData','_getViewObj','forward','isRemoved','side','pluginName','useFillerType','model','from','uiElement','maxOffset','wrap','revision:','concat','low','enqueueChange','affectsData','_setConversion','plugins','isContent','RevisionsRepository','schema','previousPosition','change:activeView','getItems','elementStart','add','mouseover','_removeMissingPairs','object','getAttributes','_makeModelFromTape','values','-new','12822885YLpLJY','mapViewToDom','_threeWayMerge','getWalker','getRevision','toViewRange','for','_fixObsoleteTags','getAttribute','changes','isAdded','restoreRevisionCallback','RevisionViewer','change:numberOfChanges','attribute:vid','viewItem','_processTape','catch','isInline','createAttributeElement','ck-suggestion-marker','_refreshStartEndIndex','type','hasClass','parse','addMarker:revision-suggestion:deletion','isAttached','top','vid_start','newRevisionId','change:isReady','isOnRoot','removeMarker:revision-suggestion','createRangeIn','change','pop','createPositionFromPath','execute','attachChange','removeMarker','data-revision-','revision-start','then','revisionHistory','activeChange','sort','_changeView','addRoot','distance','repository','indexOf','_getViewForChange','change:isEnabled','ck-suggestion-preview-marker-','isObject','loadRevisionData','splice','_makeTape','softBreak','observeMarkers','toModel','restoreRevision','includes','isSuggestion','children','userId','ck-suggestion-marker-merge','keys','suggestion:','index','updatePosition','removeMarker:revision','pairId','hasAttribute','delete','getClientRects','getRoot','isAtStart','markerNameToElements','set','attributesAfter','vid','downcastDispatcher','collaboration.channelId','_setChanges','_activeViewTarget','code','suggestion','next','_appendChild','range','5421304TIlfyM','markersEnd','get','return','forEach','isLimit','showNextChange','isCollapsed','showStack','editor','_removeRevisionMarkers','view','_cleanUp','isIncorrect','revisionHistoryAttachChange','attributes','writer','unshift','marked','domEvent','getRevisionRootsAttributes','revision-suggestion','_removeUnsupportedChanges','revisionHistoryLabel','item','listenTo','ck-suggestion-marker--active','bottom','nodeAfter','dataDowncast','4HigEQP','ck-suggestion-preview-marker','string','locale','nextPosition','forceDisabled','removeClass','getCustomProperty','markers','mousedown','getChild','find','_markMarkers','insertion','flat','domConverter','removeAttribute','remove','resolve','editingDowncast','left','startsWith','_update','_data','isEnabled','currentChangeNumber','end','default','_balloon','highest','ck-revision-history-root-add','comment','consumable','ck-editor__editable__overlay','toData','mapper','merge','_setDistance','config','processor','error','stop','_changeIdToChange','addMarker:revision-suggestion:insertion','startIndex','conversion','dataToMarker','5211521xZgHjQ','addHighlight','diff','ck-suggestion-marker-','endIndex','createRevision','_findChangeIdFromDomTarget','ck-revision-history-root-','all','modelRange','selection','nextSibling','elementToAttribute','setAttribute','ck-suggestion-marker-split','_initInteractions','_step','refresh','done','target','insertions','upcast','commands','addMarker:revision','change:activeChange','shift','numberOfChanges','ck-revision-history-root-remove','detachRoot','createRange','isAfter','changeId','deletions','name','_getChangeFromId','data-change-id','filter','start','parent','compare','_joinTapes','text','addRevision','6120389FBHqGQ','getDomRoot','bind','isRemoveSuggestion','293979rxmTeC','toViewElement','level','backward','513724RjrbCL','unbindElementFromMarkerName','markerToHighlight','isAtEnd','revision-comment:','_revisions','adapter','addClass','bindElementToMarker','30985HuyIIV','getIndex','ck-revision-history-root--active','isEqual','insert','diffData','high','isAddSuggestion','WidgetToolbarRepository','split','toViewPosition','markerName','roots'];_0x1650=function(){return _0x22da3b;};return _0x1650();}export class ShowChangeCommand extends _0x37dc99{constructor(_0xf3391b,{direction:_0x2be59b}){const _0xdd3c28=_0x2a3a31;super(_0xf3391b);const _0x406192=_0xf3391b[_0xdd3c28(0x222)][_0xdd3c28(0x13f)](d);this[_0xdd3c28(0x220)]=!0x1,this[_0xdd3c28(0x19a)]=_0xdd3c28(0x212)===_0x2be59b?0x1:-0x1,this[_0xdd3c28(0x156)](_0x406192,_0xdd3c28(0x250),()=>this[_0xdd3c28(0x19b)]()),this[_0xdd3c28(0x156)](_0x406192,_0xdd3c28(0x266),()=>this[_0xdd3c28(0x19b)]()),this[_0xdd3c28(0x156)](_0x406192,_0xdd3c28(0x1a2),()=>this[_0xdd3c28(0x19b)]());}[_0x2a3a31(0x257)](){const _0x6f4b5c=_0x2a3a31,_0x56386d=this[_0x6f4b5c(0x146)],_0x21695b=_0x56386d[_0x6f4b5c(0x222)][_0x6f4b5c(0x13f)](d),{isNavigationMode:_0x155760,currentChangeNumber:_0x4bbdcd}=_0x21695b;let _0x1b38ec;if(_0x21695b[_0x6f4b5c(0x25e)]=_0x155760?_0x21695b[_0x6f4b5c(0x18c)][_0x6f4b5c(0x23b)][_0x6f4b5c(0x13f)](_0x4bbdcd+this[_0x6f4b5c(0x19a)]):_0x21695b[_0x6f4b5c(0x18c)][_0x6f4b5c(0x23b)][_0x6f4b5c(0x1fe)],_0x21695b[_0x6f4b5c(0x25e)][_0x6f4b5c(0x1ff)][_0x6f4b5c(0x251)])_0x1b38ec=_0x56386d[_0x6f4b5c(0x1dd)][_0x6f4b5c(0x148)][_0x6f4b5c(0x1b6)](_0x21695b[_0x6f4b5c(0x25e)][_0x6f4b5c(0x1f8)]);else{const _0x249248=_0x56386d[_0x6f4b5c(0x217)][_0x6f4b5c(0x163)][_0x6f4b5c(0x13f)](_0x6f4b5c(0x21c)+_0x21695b[_0x6f4b5c(0x25e)]['id']);_0x1b38ec=_0x3f6316(_0x56386d[_0x6f4b5c(0x1dd)],_0x249248);}_0x1c655e({'target':_0x1b38ec,'viewportOffset':0x28});}[_0x2a3a31(0x19b)](){const _0x3fc762=_0x2a3a31,{isNavigationMode:_0x3e138c,currentChangeNumber:_0x83b7c8,numberOfChanges:_0x5ada96,isReady:_0x4d2b93,isEnabled:_0x34e06c}=this[_0x3fc762(0x146)][_0x3fc762(0x222)][_0x3fc762(0x13f)](d);this[_0x3fc762(0x173)]=!!(_0x34e06c&&_0x4d2b93&&_0x5ada96)&&(!_0x3e138c||(0x1===this[_0x3fc762(0x19a)]?_0x83b7c8<_0x5ada96-0x1:_0x83b7c8>0x0));}}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { ViewModel } from 'ckeditor5/src/ui.js';
|
|
5
|
+
import { ViewModel, type DropdownView } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import '../../../theme/revision/revisionactions.css';
|
|
7
|
+
import type RevisionView from './revisionview.js';
|
|
8
|
+
import type { RevisionAction } from '../revisionssidebar/revisionssidebar.js';
|
|
9
|
+
export declare function createActionsDropdownView(revisionView: RevisionView, revisionActions: Array<RevisionAction>): DropdownView;
|
|
7
10
|
export interface RevisionDropdownOptions {
|
|
8
11
|
type: 'button';
|
|
9
12
|
model: ViewModel;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xa86392,_0x5e6291){const _0x1aa80f=_0x20de,_0x5c2d64=_0xa86392();while(!![]){try{const _0x9cb3f7=-parseInt(_0x1aa80f(0x9e))/0x1*(-parseInt(_0x1aa80f(0x93))/0x2)+-parseInt(_0x1aa80f(0x9c))/0x3*(-parseInt(_0x1aa80f(0x82))/0x4)+-parseInt(_0x1aa80f(0x8b))/0x5+parseInt(_0x1aa80f(0x78))/0x6+-parseInt(_0x1aa80f(0x9d))/0x7*(parseInt(_0x1aa80f(0x84))/0x8)+parseInt(_0x1aa80f(0x76))/0x9+-parseInt(_0x1aa80f(0x8f))/0xa*(parseInt(_0x1aa80f(0x7f))/0xb);if(_0x9cb3f7===_0x5e6291)break;else _0x5c2d64['push'](_0x5c2d64['shift']());}catch(_0x1e9ead){_0x5c2d64['push'](_0x5c2d64['shift']());}}}(_0x324d,0x510a5));function _0x324d(){const _0x163a99=['isReady','add','isVisible','Name\x20this\x20revision','panelPosition','locale','change:isActionsDropdownOpen','Show\x20more\x20items','195WzUpBf','42PKYIgz','440654rwMfhk','class','isOpen','ck-on','isActionsDropdownOpen','action','isEnabled','threeVerticalDots','name','function','set','1213344qZxHFG','children','2707812zRXGaf','menu','map','stopPropagation','button','Compare\x20against\x20selected','execute','11wVuUiT','listView','bind','31764ncPmRC','ck-revision-history-sidebar__revision__actions','101368cqwOYC','buttonView','_action','extendTemplate','bindTemplate','Restore\x20this\x20revision','model','250205YzFVnx','find','source','menuitem','10849290cTeNGR','listenTo','items','first','2LeMiba'];_0x324d=function(){return _0x163a99;};return _0x324d();}import{Collection as _0x3cda01}from'ckeditor5/src/utils.js';import{icons as _0x318a38}from'ckeditor5/src/core.js';import{ViewModel as _0x58dbb1,addListToDropdown as _0x2b007c,createDropdown as _0x451c4b}from'ckeditor5/src/ui.js';import{getTranslation as _0x39ec9d}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';function _0x20de(_0x3ec3d9,_0x508daf){const _0x324d06=_0x324d();return _0x20de=function(_0x20de3c,_0x5cf08c){_0x20de3c=_0x20de3c-0x6e;let _0x3cdf34=_0x324d06[_0x20de3c];return _0x3cdf34;},_0x20de(_0x3ec3d9,_0x508daf);}export function createActionsDropdownView(_0x39e80a,_0x496be9){const _0xbe31e4=_0x20de,_0xda2ca8=_0x39e80a[_0xbe31e4(0x88)],_0x538b95=_0x39e80a[_0xbe31e4(0x99)],_0x1328b4=_0x451c4b(_0x538b95);_0x1328b4[_0xbe31e4(0x98)]='sw';const _0x497b01=function(_0x320519,_0x1f550a){const _0x990145=_0xbe31e4,_0x58e3e1=function(_0x11c0e2,_0x293ce3){const _0x367b5e=_0x20de,_0x45cff5=_0x11c0e2[_0x367b5e(0x99)],_0xa713e8={'Compare\x20against\x20selected':_0x39ec9d(_0x45cff5,_0x367b5e(0x7d)),'Name\x20this\x20revision':_0x39ec9d(_0x45cff5,_0x367b5e(0x97)),'Restore\x20this\x20revision':_0x39ec9d(_0x45cff5,_0x367b5e(0x89))};return _0x293ce3[_0x367b5e(0x7a)](_0x9e3f31=>{const _0x8c05fc=_0x367b5e,_0x28b1f6=_0xa713e8[_0x9e3f31[_0x8c05fc(0x73)]];return _0x28b1f6&&_0x28b1f6!==_0x9e3f31[_0x8c05fc(0x73)]&&(_0x9e3f31[_0x8c05fc(0x73)]=_0x28b1f6),_0x9e3f31;});}(_0x320519,_0x1f550a),_0x1462bc=new _0x3cda01();for(const _0x319b1d of _0x58e3e1){const _0x18a824={'type':_0x990145(0x7c),'model':new _0x58dbb1({'label':_0x319b1d[_0x990145(0x73)],'class':_0x319b1d[_0x990145(0x9f)],'withText':!0x0,'role':_0x990145(0x8e),'_action':_0x319b1d[_0x990145(0x70)]})};_0x18a824[_0x990145(0x8a)][_0x990145(0x81)](_0x990145(0x71))['to'](_0x320519,_0x990145(0x6f),_0x44390b=>_0x990145(0x74)!=typeof _0x319b1d[_0x990145(0x71)]||(!_0x44390b||_0x319b1d[_0x990145(0x71)](_0x320519))),_0x1462bc[_0x990145(0x95)](_0x18a824);}return _0x1462bc;}(_0x39e80a,_0x496be9);return _0x39e80a[_0xbe31e4(0x81)](_0xbe31e4(0x6f))['to'](_0x1328b4,_0xbe31e4(0xa0)),_0x1328b4[_0xbe31e4(0x85)][_0xbe31e4(0x75)]({'label':_0x39ec9d(_0x538b95,_0xbe31e4(0x9b)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x318a38[_0xbe31e4(0x72)]}),_0x1328b4[_0xbe31e4(0x87)]({'attributes':{'class':[_0xbe31e4(0x83),_0xda2ca8['if'](_0xbe31e4(0x6f),_0xbe31e4(0x6e))]},'on':{'click':_0xda2ca8['to'](_0x4c298d=>_0x4c298d[_0xbe31e4(0x7b)]())}}),_0x1328b4['on'](_0xbe31e4(0x7e),_0x3ae294=>{const _0x30ee73=_0xbe31e4;_0x39e80a[_0x30ee73(0x94)]&&_0x30ee73(0x74)==typeof _0x3ae294[_0x30ee73(0x8d)][_0x30ee73(0x86)]&&_0x3ae294[_0x30ee73(0x8d)][_0x30ee73(0x86)](_0x39e80a);}),_0x2b007c(_0x1328b4,_0x497b01,{'role':_0xbe31e4(0x79)}),_0x1328b4[_0xbe31e4(0x90)](_0x39e80a,_0xbe31e4(0x9a),(_0x208531,_0x5302cc,_0x22acc6)=>{const _0x46b698=_0xbe31e4;if(_0x22acc6)for(const _0x3e61f0 of _0x1328b4[_0x46b698(0x80)][_0x46b698(0x91)]){const _0x1308f9=_0x3e61f0[_0x46b698(0x77)][_0x46b698(0x92)],_0x419659=_0x496be9[_0x46b698(0x8c)](_0x24e95f=>_0x24e95f[_0x46b698(0x70)]===_0x1308f9[_0x46b698(0x86)])[_0x46b698(0x96)];_0x3e61f0[_0x46b698(0x96)]=void 0x0===_0x419659||_0x419659(_0x39e80a);}}),_0x1328b4;}
|
|
@@ -2,4 +2,13 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/revisionauthorview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
5
11
|
import '../../../theme/revision/revisionauthor.css';
|
|
12
|
+
export default class RevisionAuthorView extends View {
|
|
13
|
+
constructor(locale: Locale, author: User, isCreator: boolean);
|
|
14
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x139e35,_0x1e2e6c){const _0x531ec1=_0x1339,_0x22b3e4=_0x139e35();while(!![]){try{const _0x1189a2=parseInt(_0x531ec1(0x144))/0x1+-parseInt(_0x531ec1(0x13e))/0x2+-parseInt(_0x531ec1(0x143))/0x3*(-parseInt(_0x531ec1(0x146))/0x4)+parseInt(_0x531ec1(0x135))/0x5*(parseInt(_0x531ec1(0x138))/0x6)+parseInt(_0x531ec1(0x140))/0x7+parseInt(_0x531ec1(0x145))/0x8+-parseInt(_0x531ec1(0x13a))/0x9;if(_0x1189a2===_0x1e2e6c)break;else _0x22b3e4['push'](_0x22b3e4['shift']());}catch(_0x5e25a6){_0x22b3e4['push'](_0x22b3e4['shift']());}}}(_0x4c59,0x610cb));import{View as _0x6a291b,IconView as _0x45d084}from'ckeditor5/src/ui.js';import{getTranslation as _0x53ef8e}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';function _0x1339(_0x2ae22d,_0xed2363){const _0x4c59e2=_0x4c59();return _0x1339=function(_0x13397f,_0xe7b387){_0x13397f=_0x13397f-0x134;let _0x55a9ce=_0x4c59e2[_0x13397f];return _0x55a9ce;},_0x1339(_0x2ae22d,_0xed2363);}import _0x4143b3 from'../../../theme/icons/user.svg';function _0x4c59(){const _0x211914=['5846784MrfBmx','44lSKlYB','name','setTemplate','5WdHwkK','ck-revision-history-sidebar__revision-author','Revision\x20creator','3221214UvpXou','push','8812692YjHGXN','ck-revision-history-sidebar__revision-author_creator','0\x200\x2011\x2010','ck-revision-history-sidebar__revision-author__name','1587770vmaDTB','set','1346324jDVFeM','span','Revision\x20author','225MYvilU','709714tknMju'];_0x4c59=function(){return _0x211914;};return _0x4c59();}export default class ti extends _0x6a291b{constructor(_0x10323e,_0x17504e,_0x64a3e7){const _0x4a559a=_0x1339;super(_0x10323e);const _0x3fd774=new _0x45d084();_0x3fd774[_0x4a559a(0x13f)]({'content':_0x4143b3,'viewBox':_0x4a559a(0x13c)});const _0x1dfa8f=['ck',_0x4a559a(0x136)];_0x64a3e7&&_0x1dfa8f[_0x4a559a(0x139)](_0x4a559a(0x13b));const _0x4593c3=[{'tag':_0x4a559a(0x141),'attributes':{'class':['ck',_0x4a559a(0x13d)],'title':_0x53ef8e(_0x10323e,_0x64a3e7?_0x4a559a(0x137):_0x4a559a(0x142))},'children':[_0x3fd774,_0x17504e[_0x4a559a(0x147)]]}];this[_0x4a559a(0x134)]({'tag':'li','attributes':{'class':_0x1dfa8f},'children':_0x4593c3});}}
|
|
@@ -2,4 +2,29 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/revisionnameview
|
|
7
|
+
*/
|
|
8
|
+
import { LabeledFieldView, type InputTextView } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
5
10
|
import '../../../theme/revision/revisionname.css';
|
|
11
|
+
export default class RevisionNameView extends LabeledFieldView<InputTextView> {
|
|
12
|
+
/**
|
|
13
|
+
* @inheritDoc
|
|
14
|
+
*/
|
|
15
|
+
constructor(locale: Locale, viewCreator: (labeledFieldView: LabeledFieldView, viewUid: string, statusUid: string) => InputTextView);
|
|
16
|
+
/**
|
|
17
|
+
* Renders the view and creates binding for tooltip. It's only displayed if the revision name is longer
|
|
18
|
+
* than the container. There are two different scenarios this may happen:
|
|
19
|
+
*
|
|
20
|
+
* * while resizing the container,
|
|
21
|
+
* * while changing the revision name.
|
|
22
|
+
*
|
|
23
|
+
* Hence, two different bindings are created: one using the `ResizeObserver` and the other using the input `value` property.
|
|
24
|
+
*/
|
|
25
|
+
render(): void;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
destroy(): void;
|
|
30
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xecaf(_0x234cff,_0x3993ea){const _0x3c51bd=_0x3c51();return _0xecaf=function(_0xecafb,_0xd8f863){_0xecafb=_0xecafb-0x13f;let _0x259550=_0x3c51bd[_0xecafb];return _0x259550;},_0xecaf(_0x234cff,_0x3993ea);}const _0x42298d=_0xecaf;(function(_0x67ee54,_0x75bfa2){const _0x3f0d78=_0xecaf,_0x195bb7=_0x67ee54();while(!![]){try{const _0x328f7f=parseInt(_0x3f0d78(0x141))/0x1*(parseInt(_0x3f0d78(0x155))/0x2)+parseInt(_0x3f0d78(0x15a))/0x3+parseInt(_0x3f0d78(0x14e))/0x4*(parseInt(_0x3f0d78(0x146))/0x5)+-parseInt(_0x3f0d78(0x148))/0x6*(parseInt(_0x3f0d78(0x14d))/0x7)+parseInt(_0x3f0d78(0x156))/0x8+parseInt(_0x3f0d78(0x149))/0x9*(parseInt(_0x3f0d78(0x152))/0xa)+-parseInt(_0x3f0d78(0x14a))/0xb;if(_0x328f7f===_0x75bfa2)break;else _0x195bb7['push'](_0x195bb7['shift']());}catch(_0xfb38f6){_0x195bb7['push'](_0x195bb7['shift']());}}}(_0x3c51,0x3fa2a));import{LabeledFieldView as _0x1e0bd3}from'ckeditor5/src/ui.js';function _0x3c51(){const _0x48dcee=['156409ItYTqP','_tooltipString','clientWidth','_resizeObserver','ck-revision-history-sidebar__revision-name','1002005FDAFmk','set','354oPWfwv','342BlQmGC','8110080kidMlm','fieldView','span','27748cogQPy','4PIpDfE','value','Revision\x20name','scrollWidth','119410OaDqlB','ck-tooltip_multi-line','input','2ZBBdts','1999992YantlI','_updateTooltipText','listenTo','render','513717fvtzmb','Enter\x20the\x20revision\x20name','extendTemplate','placeholder','element','destroy','bindTemplate'];_0x3c51=function(){return _0x48dcee;};return _0x3c51();}import{ResizeObserver as _0xe7f766}from'ckeditor5/src/utils.js';import{getTranslation as _0x5cff25}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class kt extends _0x1e0bd3{constructor(_0x5b4f97,_0x41d368){const _0x217de6=_0xecaf;super(_0x5b4f97,_0x41d368),this[_0x217de6(0x144)]=null;const _0x2b284d=this[_0x217de6(0x140)];this[_0x217de6(0x147)]({'label':_0x5cff25(_0x5b4f97,_0x217de6(0x150)),'_tooltipString':''}),this[_0x217de6(0x14b)][_0x217de6(0x15d)]=_0x5cff25(_0x5b4f97,_0x217de6(0x15b)),this[_0x217de6(0x15c)]({'tag':_0x217de6(0x14c),'attributes':{'class':[_0x217de6(0x145)],'data-cke-tooltip-text':_0x2b284d['to'](_0x217de6(0x142)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x217de6(0x153)}});}[_0x42298d(0x159)](){const _0x125826=_0x42298d;super[_0x125826(0x159)](),this[_0x125826(0x144)]=new _0xe7f766(this[_0x125826(0x14b)][_0x125826(0x15e)],()=>this[_0x125826(0x157)]()),this[_0x125826(0x158)](this[_0x125826(0x14b)],_0x125826(0x154),()=>this[_0x125826(0x157)]());}[_0x42298d(0x13f)](){const _0xd43657=_0x42298d;super[_0xd43657(0x13f)](),this[_0xd43657(0x144)]&&this[_0xd43657(0x144)][_0xd43657(0x13f)]();}[_0x42298d(0x157)](){const _0x1a0bf2=_0x42298d,_0x15c125=this[_0x1a0bf2(0x14b)][_0x1a0bf2(0x15e)];this[_0x1a0bf2(0x142)]=_0x15c125[_0x1a0bf2(0x151)]>_0x15c125[_0x1a0bf2(0x143)]&&_0x15c125[_0x1a0bf2(0x14f)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x48b5(_0x10afcb,_0x50243d){const _0x1b3846=_0x1b38();return _0x48b5=function(_0x48b5b9,_0x3d0c37){_0x48b5b9=_0x48b5b9-0x132;let _0x3f1e2b=_0x1b3846[_0x48b5b9];return _0x3f1e2b;},_0x48b5(_0x10afcb,_0x50243d);}function _0x1b38(){const _0x690a9a=['ck-reset','6677360PRDpJb','ck-revision-history-sidebar__revision-wrapper','extendTemplate','2435020mFYwjm','8093424nqoDiU','deselect','set','10082670TbrFxL','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','unshift','_createdAtFormatted','isSelected','5382708OEYomF','revisionActionsView','isActionsDropdownOpen','element','from','createdAt','setName','value','isConfirm','srcElement','listenTo','select','change','fire','302tFvGkF','setTemplate','revisionNameView','_revision','ck-revision-history-sidebar__revision-authors','isEnabled','bind','highlight','div','uiLanguage','isHighlighted','creator','unhighlight','.ck-thread__remove-confirm','ck-revision-history-sidebar__revision_highlighted','bindTemplate','length','map','ck-disabled','authors','ck-revision-history-sidebar__revision__controls-wrapper','ck-revision-history-sidebar__revision','25401NCNGKu','220','ck-revision-history-sidebar__actions_dropdown_open','ck-revision-history-sidebar__revision__date','span','name','fieldView','closest','1541764ECdgxl','render','filter','isReady','_requireRevisionName','ck-revision-history-sidebar__revision_selected'];_0x1b38=function(){return _0x690a9a;};return _0x1b38();}const _0x102e98=_0x48b5;(function(_0x772c77,_0xa81496){const _0x34e80c=_0x48b5,_0x445e01=_0x772c77();while(!![]){try{const _0x5a646f=-parseInt(_0x34e80c(0x146))/0x1+parseInt(_0x34e80c(0x167))/0x2*(-parseInt(_0x34e80c(0x13e))/0x3)+parseInt(_0x34e80c(0x159))/0x4+parseInt(_0x34e80c(0x14d))/0x5+parseInt(_0x34e80c(0x154))/0x6+parseInt(_0x34e80c(0x150))/0x7+-parseInt(_0x34e80c(0x151))/0x8;if(_0x5a646f===_0xa81496)break;else _0x445e01['push'](_0x445e01['shift']());}catch(_0x5841d9){_0x445e01['push'](_0x445e01['shift']());}}}(_0x1b38,0xd63b7));import{View as _0x3014db,createLabeledInputText as _0x15fe5c}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x17acca}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x31218f from'./revisionnameview.js';import _0x52eb8c from'./revisionauthorview.js';import{dateToPrettyFormat as _0x4eb6c5}from'./utils.js';import{createActionsDropdownView as _0x4b88e4}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x17acca(_0x3014db){constructor(_0x22f75f,_0x225c0d,_0x504fc3,_0x3f4666){const _0x56f733=_0x48b5;super(_0x22f75f);const _0x25f919=this[_0x56f733(0x137)],_0x509fd8=function(_0x33425d,_0x3937f3){const _0x133d3d=_0x56f733,_0x338ba5=Array[_0x133d3d(0x15d)](_0x3937f3[_0x133d3d(0x13b)])[_0x133d3d(0x148)](_0x3dbdea=>_0x3dbdea!=_0x3937f3[_0x133d3d(0x133)]);return _0x3937f3[_0x133d3d(0x133)]&&_0x338ba5[_0x133d3d(0x156)](_0x3937f3[_0x133d3d(0x133)]),_0x338ba5[_0x133d3d(0x139)](_0xadc7e0=>new _0x52eb8c(_0x33425d,_0xadc7e0,_0xadc7e0==_0x3937f3[_0x133d3d(0x133)]));}(_0x22f75f,_0x225c0d);this['id']=_0x225c0d['id'],this[_0x56f733(0x16a)]=_0x225c0d,this[_0x56f733(0x14a)]=_0x3f4666,this[_0x56f733(0x16d)](_0x56f733(0x143),_0x56f733(0x15e))['to'](_0x225c0d),this[_0x56f733(0x16d)](_0x56f733(0x157))['to'](this,_0x56f733(0x15e),_0x48bfdd=>_0x4eb6c5(_0x22f75f[_0x56f733(0x170)],_0x48bfdd)),this[_0x56f733(0x153)](_0x56f733(0x158),!0x1),this[_0x56f733(0x153)](_0x56f733(0x132),!0x1),this[_0x56f733(0x153)](_0x56f733(0x15b),!0x1),this[_0x56f733(0x153)](_0x56f733(0x149),!0x1),this[_0x56f733(0x153)](_0x56f733(0x16c),!0x1),this[_0x56f733(0x169)]=new _0x31218f(_0x22f75f,_0x15fe5c),this[_0x56f733(0x169)][_0x56f733(0x144)][_0x56f733(0x14f)]({'attributes':{'maxlength':_0x56f733(0x13f)}}),this[_0x56f733(0x169)][_0x56f733(0x144)][_0x56f733(0x16d)](_0x56f733(0x160))['to'](this,_0x56f733(0x143),_0x20553e=>_0x20553e||this[_0x56f733(0x157)]),this[_0x56f733(0x169)][_0x56f733(0x16d)](_0x56f733(0x16c))['to'](this,_0x56f733(0x158),this,_0x56f733(0x16c),(_0x7100a3,_0x2c479d)=>_0x7100a3&&_0x2c479d),this[_0x56f733(0x15a)]=_0x504fc3&&_0x504fc3[_0x56f733(0x138)]?_0x4b88e4(this,_0x504fc3):'',this[_0x56f733(0x15a)]&&this[_0x56f733(0x15a)][_0x56f733(0x16d)](_0x56f733(0x16c))['to'](this),this[_0x56f733(0x168)]({'tag':_0x56f733(0x16f),'attributes':{'class':['ck',_0x56f733(0x14c),_0x56f733(0x14e),_0x25f919['if'](_0x56f733(0x161),_0x56f733(0x155))]},'children':[{'tag':_0x56f733(0x16f),'attributes':{'class':['ck',_0x56f733(0x14c),_0x56f733(0x13d),_0x25f919['if'](_0x56f733(0x16c),_0x56f733(0x13a),_0x31c839=>!_0x31c839),_0x25f919['if'](_0x56f733(0x158),_0x56f733(0x14b)),_0x25f919['if'](_0x56f733(0x132),_0x56f733(0x136)),_0x25f919['if'](_0x56f733(0x15b),_0x56f733(0x140))]},'children':[this[_0x56f733(0x169)],{'tag':_0x56f733(0x142),'attributes':{'class':['ck',_0x56f733(0x141)]},'children':[{'text':_0x25f919['to'](_0x56f733(0x157))}]},{'tag':_0x56f733(0x16f),'attributes':{'class':['ck',_0x56f733(0x13c)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x56f733(0x16b)]},'children':_0x509fd8}]},this[_0x56f733(0x15a)]],'on':{'click':_0x25f919['to'](_0x106823=>{const _0x31b201=_0x56f733;_0x106823[_0x31b201(0x162)][_0x31b201(0x145)](_0x31b201(0x135))||this[_0x31b201(0x149)]&&this[_0x31b201(0x16c)]&&this[_0x31b201(0x166)](_0x31b201(0x164),{'id':this['id']});})}}]});}[_0x102e98(0x147)](){const _0x43e081=_0x102e98;super[_0x43e081(0x147)]();const _0x387072=this[_0x43e081(0x169)][_0x43e081(0x144)][_0x43e081(0x15c)];this[_0x43e081(0x163)](_0x387072,_0x43e081(0x165),()=>{const _0x1ce264=_0x43e081;this[_0x1ce264(0x14a)]&&!_0x387072[_0x1ce264(0x160)]||this[_0x1ce264(0x166)](_0x1ce264(0x15f),{'id':this['id'],'name':_0x387072[_0x1ce264(0x160)]}),_0x387072[_0x1ce264(0x160)]||(_0x387072[_0x1ce264(0x160)]=this[_0x1ce264(0x143)]?this[_0x1ce264(0x143)]:this[_0x1ce264(0x157)]);});}[_0x102e98(0x164)](){const _0x59ae9f=_0x102e98;this[_0x59ae9f(0x158)]=!0x0;}[_0x102e98(0x152)](){const _0x215330=_0x102e98;this[_0x215330(0x158)]=!0x1;}[_0x102e98(0x16e)](){const _0x59729f=_0x102e98;this[_0x59729f(0x132)]=!0x0;}[_0x102e98(0x134)](){const _0x236863=_0x102e98;this[_0x236863(0x132)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x247247=_0x869e;(function(_0x4cae96,_0x4f10e9){const _0x53bad5=_0x869e,_0x491fc4=_0x4cae96();while(!![]){try{const _0x505e90=parseInt(_0x53bad5(0xdb))/0x1*(-parseInt(_0x53bad5(0xcd))/0x2)+-parseInt(_0x53bad5(0xce))/0x3*(-parseInt(_0x53bad5(0xd3))/0x4)+-parseInt(_0x53bad5(0xd7))/0x5+-parseInt(_0x53bad5(0xd4))/0x6*(-parseInt(_0x53bad5(0xd5))/0x7)+-parseInt(_0x53bad5(0xc6))/0x8*(parseInt(_0x53bad5(0xdf))/0x9)+-parseInt(_0x53bad5(0xd9))/0xa+parseInt(_0x53bad5(0xe0))/0xb*(parseInt(_0x53bad5(0xc7))/0xc);if(_0x505e90===_0x4f10e9)break;else _0x491fc4['push'](_0x491fc4['shift']());}catch(_0x586860){_0x491fc4['push'](_0x491fc4['shift']());}}}(_0x1be5,0xae778));function _0x1be5(){const _0x122b8a=['toggle','click','625185YILaGq','9340507XzgDRi','40xBrGsU','24QRNSol','ck-hidden','button','span','set','ck-revision-history-sidebar__subrevision-collapser','596QtKjlJ','3jFkfPy','bindTemplate','_isCollapsed','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-revision-history-sidebar__subrevision-collapser__inner','505940yFbsbE','2617512KsGWxD','7drThFM','true','1668145SlVizx','setTemplate','6139290EuDPfN','isVisible','844AhLdwn','false'];_0x1be5=function(){return _0x122b8a;};return _0x1be5();}function _0x869e(_0x190b65,_0x5a23c0){const _0x1be515=_0x1be5();return _0x869e=function(_0x869e8d,_0x159a1c){_0x869e8d=_0x869e8d-0xc6;let _0x3a1540=_0x1be515[_0x869e8d];return _0x3a1540;},_0x869e(_0x190b65,_0x5a23c0);}import{View as _0x24b7fd}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x24b7fd{constructor(_0x3bcc01){const _0x32ca02=_0x869e;super(_0x3bcc01);const _0x2f9ef7=this[_0x32ca02(0xcf)];this[_0x32ca02(0xcb)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x32ca02(0xd8)]({'tag':_0x32ca02(0xca),'attributes':{'class':['ck',_0x32ca02(0xcc),_0x2f9ef7['if'](_0x32ca02(0xda),_0x32ca02(0xc8),_0x49f498=>!_0x49f498),_0x2f9ef7['if'](_0x32ca02(0xd0),_0x32ca02(0xd1))],'role':_0x32ca02(0xc9),'aria-pressed':_0x2f9ef7['to'](_0x32ca02(0xd0),_0x5dc429=>_0x5dc429?_0x32ca02(0xdc):_0x32ca02(0xd6))},'children':[{'tag':_0x32ca02(0xca),'attributes':{'class':['ck',_0x32ca02(0xd2)]}}],'on':{'click':_0x2f9ef7['to'](_0x32ca02(0xde))}});}[_0x247247(0xdd)](){const _0x4ea0ec=_0x247247;this[_0x4ea0ec(0xd0)]=!this[_0x4ea0ec(0xd0)];}}
|