@ckeditor/ckeditor5-revision-history 41.3.0 → 41.4.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index-content.css +46 -0
- package/dist/index-editor.css +434 -0
- package/dist/index.css +754 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/augmentation.d.ts +33 -0
- package/dist/types/changeitem.d.ts +62 -0
- package/dist/types/editor/revisionviewereditor.d.ts +31 -0
- package/dist/types/editor/revisionviewereditorui.d.ts +32 -0
- package/dist/types/editor/revisionviewereditoruiview.d.ts +47 -0
- package/dist/types/index.d.ts +19 -0
- package/dist/types/revision.d.ts +157 -0
- package/dist/types/revisiondiff.d.ts +28 -0
- package/dist/types/revisionhistory.d.ts +103 -0
- package/dist/types/revisionhistoryadapter.d.ts +68 -0
- package/dist/types/revisionhistoryconfig.d.ts +75 -0
- package/dist/types/revisionsrepository.d.ts +56 -0
- package/dist/types/revisiontracker.d.ts +89 -0
- package/dist/types/revisionviewer.d.ts +29 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +14 -0
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +9 -0
- package/dist/types/ui/revision/revisionview.d.ts +99 -0
- package/dist/types/ui/revision/subrevisioncollapserview.d.ts +25 -0
- package/dist/types/ui/revision/subrevisionview.d.ts +38 -0
- package/dist/types/ui/revision/utils.d.ts +9 -0
- package/dist/types/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +61 -0
- package/dist/types/ui/revisionhistory/revisionhistoryui.d.ts +30 -0
- package/dist/types/ui/revisionssidebar/revisionssidebar.d.ts +48 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +9 -0
- package/dist/types/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +33 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarview.d.ts +48 -0
- package/dist/types/ui/revisionssidebar/utils.d.ts +13 -0
- package/dist/types/ui/revisionviewer/changedetailsview.d.ts +26 -0
- package/dist/types/ui/revisionviewer/changesnavigationview.d.ts +44 -0
- package/dist/types/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +30 -0
- package/dist/types/ui/revisionviewer/revisionviewerui.d.ts +32 -0
- package/dist/types/utils/common-translations.d.ts +15 -0
- package/package.json +6 -5
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.d.ts +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 _0x4aab99=_0x11a1;(function(_0x18407c,_0x5d25c0){const _0x575839=_0x11a1,_0x14d5ad=_0x18407c();while(!![]){try{const _0x1ece41=-parseInt(_0x575839(0x151))/0x1*(-parseInt(_0x575839(0x1ef))/0x2)+-parseInt(_0x575839(0xf9))/0x3+parseInt(_0x575839(0x137))/0x4*(parseInt(_0x575839(0x114))/0x5)+-parseInt(_0x575839(0x1f1))/0x6+parseInt(_0x575839(0x1e2))/0x7*(parseInt(_0x575839(0x17e))/0x8)+parseInt(_0x575839(0x19a))/0x9+parseInt(_0x575839(0x132))/0xa*(-parseInt(_0x575839(0x22a))/0xb);if(_0x1ece41===_0x5d25c0)break;else _0x14d5ad['push'](_0x14d5ad['shift']());}catch(_0x405f69){_0x14d5ad['push'](_0x14d5ad['shift']());}}}(_0xe515,0x84423));import{Plugin as _0x243991,Command as _0x91912f}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x5226c7}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x5622a1}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x15e2ec,Element as _0x5673ed,Text as _0x2a9ae1,ViewDocumentFragment as _0x5577f4,ViewText as _0x57c583,ViewElement as _0x293497,ViewContainerElement as _0x5794b8,ViewAttributeElement as _0x1f7874,ViewEmptyElement as _0x5128fb,ViewRawElement as _0x3fba0b,ViewUIElement as _0x176d94}from'ckeditor5/src/engine.js';import{Users as _0x3be1bd,getMarkerDomElement as _0x7e9ef5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xe515(){const _0x5afaf3=['restoreRevisionCallback','init','low','isAtEnd','unshift','ck-revision-history-root-remove','conversion','12870mnyjVA','newRevisionId','elementEnd','checkAttribute','view','_markMismatchedRemovedTags','isBefore','_removeUnsupportedChanges','currentChangeNumber','isBlock','unbindElementFromMarkerName','ck-revision-history-root-add','ck-suggestion-preview-marker-','_cleanUp','get','hasClass','locale','merge','flat','createRange','domEvent','change:activeChange','text','isEnabled','activeView','filter','modelRange','first','_joinTapes','isAddSuggestion','10QaKpqE','getRoot','dataToMarker','destroy','hasAttribute','1248eoJytS','backward','markerRange','change','insert','has','config','mouseover','_findChangeIdFromDomTarget','activeChange','distance','getClientRects','forEach','add','resolve','nextPosition','values','markers','_balloon','type','insertions','addClass','viewItem','_revisions','repository','toData','1OUmgAr','isRemoveSuggestion','isInline','isReady','mapViewToDom','diffData','attributesAfter','string','WidgetToolbarRepository','side','oldRevisionId','addRevisionData','_getViewObj','processor','getCustomProperty','createRevision','addHighlight','removeClass','index','markerNameToElements','vid_end','showPreviousChange','marked','plugins','getRevisionRootsAttributes','markerName','ck-suggestion-marker-merge','compare','splice','bottom','split','revision-suggestion:','refresh','ck-editor__editable__overlay','toModel','high','reconvertMarker','_threeWayMerge','createPositionFromPath','vid','diff','_refreshStartEndIndex','suggestion','_activeViewTarget','getChild','16dHQsMs','_sortAndFilterDiffChanges','children','_removeRevisionMarkers','suggestion:','_changeView','addMarker:revision','isIncorrect','listenTo','softBreak','default','adapter','attribute:vid','isNavigationMode','name','range','upcast','uiElement','getWalker','_getDiff','attachChange','execute','toViewPosition','change:isEnabled','pluginName','endIndex','attributes','numberOfChanges','6360255vIXufj','level','getRevision','userId','nodeAfter','getIndex','useFillerType','editor','_setChanges','removeMarker','collaboration.channelId','_makeModelFromTape','getAttributes','changes','pairId','rootName','slice','showStack','_changeIdToChange','revision:','object','addMarker:revision-suggestion:insertion','highest','removeMarker:revision','commands','test','isAttached','isContent','shift','_getChangeFromId','mousedown','schema','length','revision-start','_setConversion','revisionHistoryLabel','ck-suggestion-marker--active','_step','startIndex','POSITIVE_INFINITY','isRemoved','_makeTape','_update','dataDowncast','RevisionsRepository','vid_start','getRootNames','deletions','stop','elementStart','pop','_initInteractions','addRevision','isAfter','data-revision-','previousPosition','changeId','_getRevisionsRange','enableReadOnlyMode','_markInsertions','requires','concat','_getViewForChange','updatePosition','sort','_fixObsoleteTags','indexOf','includes','affectsData','elementToAttribute','code','ck-suggestion-marker-split','3088253ZNcXFS','RevisionViewer','createRangeIn','roots','editingDowncast','clear','end','_markSuggestions','push','consumable','element:pre','left','change:isReady','493102OlulRf','createPositionBefore','5696106wqkCVA','revisionHistory','revisionHistoryAttachChange','consume','mapper','_cleanMarkers','setAttribute','insertion','removeAttribute','downcastDispatcher','wrap','toViewElement','top','addMarker:revision-suggestion:deletion','comment','keys','isObject','editing','getItems','change:numberOfChanges','model','data-change-id','isCollapsed','loadRevisionData','find','showNextChange','addRoot','enqueueChange','getAttribute','document','ck-suggestion-preview-marker','attributesBefore','_setDistance','maxOffset','createAttributeElement','detachRoot','_makeModelFromViewString','ck-revision-history-root-','ck-suggestion-marker-','isEqual','toViewRange','restoreRevision','isOnRoot','parent','isAtStart','done','findIndex','-new','from','markersEnd','authors','element','ck-suggestion-marker','_data','return','isAdded','bind','5615973cnTedg','_markMarkers','domConverter','for','start','ck-revision-history-root--active','markerToData','revision','next','revision-end','markerToHighlight','writer','error','getRevisionData','delete','markersStart','_removeMissingPairs','parse','_appendChild','startsWith','isSuggestion','removeMarker:revision-suggestion','target','offsetSize','bindElementToMarker','revision-comment:','set','change:activeView','remove','catch','right','1911201jixKKz','deletion','_processTape','createUIElement','all','revision-viewer','revision-suggestion','span','then','isLimit','abs','data','map','forward','item','selection','observeMarkers','getDomRoot','forceDisabled','nextSibling'];_0xe515=function(){return _0x5afaf3;};return _0xe515();}import _0xf95a1d from'./ui/revisionviewer/changedetailsview.js';import _0x197653 from'./revisionsrepository.js';import _0x3b9e7f from'./changeitem.js';import{default as _0x371531}from'./revisiondiff.js';import'../theme/revisionviewer.css';function _0x11a1(_0x173a58,_0x1f9fec){const _0xe515d5=_0xe515();return _0x11a1=function(_0x11a107,_0x5e3de3){_0x11a107=_0x11a107-0xe5;let _0x521756=_0xe515d5[_0x11a107];return _0x521756;},_0x11a1(_0x173a58,_0x1f9fec);}import{cloneDeep as _0x3fa27d}from'lodash-es';const tt={'c':_0x5794b8,'a':_0x1f7874,'e':_0x5128fb,'r':_0x3fba0b,'u':_0x176d94};export default class d extends _0x243991{static get[_0x4aab99(0x196)](){const _0x80dcd4=_0x4aab99;return _0x80dcd4(0x1e3);}static get[_0x4aab99(0x1d6)](){return[_0x3be1bd,_0x5622a1,_0x197653];}constructor(_0x57287d){const _0x3844c0=_0x4aab99;super(_0x57287d),this[_0x3844c0(0x14f)]=this[_0x3844c0(0x1a1)][_0x3844c0(0x168)][_0x3844c0(0x122)](_0x3844c0(0x1c6)),this[_0x3844c0(0xf4)](_0x3844c0(0x140),null),this[_0x3844c0(0xf4)](_0x3844c0(0x12c),null),this[_0x3844c0(0x17c)]=null,this[_0x3844c0(0xf4)](_0x3844c0(0x179),null),this[_0x3844c0(0xf4)](_0x3844c0(0x154),!0x1),this[_0x3844c0(0xf4)](_0x3844c0(0x12b),!0x0),this['on'](_0x3844c0(0x195),(_0x4751c1,_0x50ac93,_0x3dabaf)=>{const _0x256dfd=_0x3844c0;this[_0x256dfd(0x140)]=null,this[_0x256dfd(0x12c)]=null,this[_0x256dfd(0x1a1)][_0x256dfd(0x202)][_0x256dfd(0x118)][_0x256dfd(0x13a)](_0x436c6a=>{const _0x574bd6=_0x256dfd;for(const _0x122f83 of this[_0x574bd6(0x1a1)][_0x574bd6(0x202)][_0x574bd6(0x118)][_0x574bd6(0x20e)][_0x574bd6(0x1e5)])_0x3dabaf?_0x436c6a[_0x574bd6(0x162)](_0x574bd6(0x172),_0x122f83):_0x436c6a[_0x574bd6(0x14c)](_0x574bd6(0x172),_0x122f83);});}),this[_0x3844c0(0x229)](_0x3844c0(0x18b))['to'](this,_0x3844c0(0x140),_0x50f680=>null!==_0x50f680),this[_0x3844c0(0x229)](_0x3844c0(0x11c))['to'](this,_0x3844c0(0x154),this,_0x3844c0(0x179),this,_0x3844c0(0x140),(_0x50fa6d,_0x22d4a3,_0x1ad943)=>_0x50fa6d&&_0x1ad943?_0x22d4a3[_0x3844c0(0x1a7)][_0x3844c0(0x19f)](_0x1ad943):0x0),this[_0x3844c0(0x229)](_0x3844c0(0x199))['to'](this,_0x3844c0(0x154),this,_0x3844c0(0x179),(_0x22e601,_0x960f8e)=>_0x22e601?_0x960f8e[_0x3844c0(0x1a7)][_0x3844c0(0x1ba)]:0x0),this[_0x3844c0(0x183)]=null,this[_0x3844c0(0x1ac)]=new Map(),this[_0x3844c0(0x189)]=null,this[_0x3844c0(0x149)]=this[_0x3844c0(0x1a1)][_0x3844c0(0x168)][_0x3844c0(0x122)](_0x5622a1);}[_0x4aab99(0x10e)](){const _0x182576=_0x4aab99,_0x13a672=this[_0x182576(0x1a1)],_0x4636f9=new ShowChangeCommand(_0x13a672,{'direction':_0x182576(0x138)}),_0x1fea9e=new ShowChangeCommand(_0x13a672,{'direction':_0x182576(0x106)});(_0x13a672[_0x182576(0x1b2)][_0x182576(0x144)](_0x182576(0x166),_0x4636f9),_0x13a672[_0x182576(0x1b2)][_0x182576(0x144)](_0x182576(0x20a),_0x1fea9e),_0x13a672[_0x182576(0x1b2)][_0x182576(0x144)](_0x182576(0x21a),new RestoreRevisionCommand(_0x13a672)),this['on'](_0x182576(0x204),()=>{const _0x1d63d0=_0x182576;_0x4636f9[_0x1d63d0(0x171)](),_0x1fea9e[_0x1d63d0(0x171)]();}),this[_0x182576(0x1bc)](),this[_0x182576(0x1cd)](),_0x13a672[_0x182576(0x1d4)](_0x182576(0xfe)),_0x13a672[_0x182576(0x168)][_0x182576(0x13c)](_0x182576(0x159)))&&_0x13a672[_0x182576(0x168)][_0x182576(0x122)](_0x182576(0x159))[_0x182576(0x10b)](_0x182576(0xfe));}async[_0x4aab99(0xe7)](_0x4e15da){const _0x53a955=_0x4aab99;await this[_0x53a955(0x208)](_0x4e15da);const _0x40a51d={};for(const _0x3f9236 in _0x4e15da[_0x53a955(0x156)]){if(_0x4e15da[_0x53a955(0x156)][_0x3f9236][_0x53a955(0x192)]&&!_0x4e15da[_0x53a955(0x156)][_0x3f9236][_0x53a955(0x192)][_0x53a955(0x1b4)])continue;const _0x2080b5=this[_0x53a955(0x181)](JSON[_0x53a955(0xeb)](_0x4e15da[_0x53a955(0x156)][_0x3f9236][_0x53a955(0x14b)])),_0x1fafdf=this[_0x53a955(0x1a1)][_0x53a955(0x202)][_0x53a955(0x118)][_0x53a955(0x20e)],_0x134a0b=new _0x5577f4(_0x1fafdf,_0x2080b5[_0x53a955(0x105)](_0xaa33ab=>this[_0x53a955(0x15d)](_0xaa33ab)));this[_0x53a955(0x1a1)][_0x53a955(0x104)][_0x53a955(0x15e)][_0x53a955(0x1a0)](_0x53a955(0x167)),_0x40a51d[_0x3f9236]=this[_0x53a955(0x1a1)][_0x53a955(0x104)][_0x53a955(0x15e)][_0x53a955(0x150)](_0x134a0b),this[_0x53a955(0x1a1)][_0x53a955(0x104)][_0x53a955(0x15e)][_0x53a955(0x1a0)](_0x53a955(0x188));}return _0x40a51d;}async[_0x4aab99(0x169)](_0x21ecb1){const _0x333177=_0x4aab99;await this[_0x333177(0x208)](_0x21ecb1);const _0x37a73b={};for(const _0x4da084 in _0x21ecb1[_0x333177(0x156)])_0x21ecb1[_0x333177(0x156)][_0x4da084][_0x333177(0x192)]&&!_0x21ecb1[_0x333177(0x156)][_0x4da084][_0x333177(0x192)][_0x333177(0x1b4)]||(_0x37a73b[_0x4da084]=_0x21ecb1[_0x333177(0x156)][_0x4da084][_0x333177(0x157)]||{});return _0x37a73b;}[_0x4aab99(0x181)](_0x57648d){const _0x312125=_0x4aab99;return(_0x57648d=_0x57648d[_0x312125(0x12d)](_0x55d0b9=>!_0x55d0b9[_0x312125(0x18c)]||_0x312125(0x1bb)!==_0x55d0b9[_0x312125(0x18c)]&&_0x312125(0x233)!==_0x55d0b9[_0x312125(0x18c)]))[_0x312125(0x143)](_0x313ed4=>{const _0x43d268=_0x312125;_0x43d268(0x158)!=typeof _0x313ed4&&(_0x313ed4[_0x43d268(0x180)]=this[_0x43d268(0x181)](_0x313ed4[_0x43d268(0x180)]),_0x313ed4[_0x43d268(0x198)]=_0x313ed4[_0x43d268(0x198)][_0x43d268(0x12d)](_0x6f410c=>!_0x6f410c[0x0][_0x43d268(0xed)](_0x43d268(0x1d0))));}),_0x57648d;}async[_0x4aab99(0x16c)](_0x594aea,_0x3853de,_0x172363=!0x1){const _0x398127=_0x4aab99;if(!this[_0x398127(0x12b)])return;const _0x352a65=this[_0x398127(0x179)],_0x5f4958=this[_0x398127(0x14f)],_0x291e74=_0x398127(0x158)==typeof _0x594aea?_0x5f4958[_0x398127(0x19c)](_0x594aea):_0x594aea,_0x15d619=_0x398127(0x158)==typeof _0x3853de?_0x5f4958[_0x398127(0x19c)](_0x3853de):_0x3853de,_0x28db24=_0x291e74['id'],_0x140eb7=_0x15d619?_0x15d619['id']:null;if(!_0x172363&&this[_0x398127(0x179)]&&this[_0x398127(0x179)][_0x398127(0x115)]===_0x28db24&&this[_0x398127(0x179)][_0x398127(0x15b)]===_0x140eb7)return Promise[_0x398127(0x145)]();this[_0x398127(0x154)]=!0x1,this[_0x398127(0x12c)]=null,this[_0x398127(0x140)]=null,this[_0x398127(0x179)]=new _0x371531(_0x28db24,_0x140eb7);const _0x5517ae=this[_0x398127(0x1d3)](_0x291e74,_0x15d619,!0x0)[_0x398127(0x105)](_0xe9f228=>this[_0x398127(0x208)](_0xe9f228));return _0x5517ae[_0x398127(0x1ea)](new Promise(_0x2a13d9=>{setTimeout(_0x2a13d9,0x14);})),Promise[_0x398127(0xfd)](_0x5517ae)[_0x398127(0x101)](()=>{const _0x40469a=_0x398127;if(!this[_0x40469a(0x12b)])return;this[_0x40469a(0x121)]();const _0xd23f78=this[_0x40469a(0x191)](_0x28db24,_0x140eb7);for(const _0x311d98 of _0xd23f78[_0x40469a(0x1a7)])this[_0x40469a(0x1ac)][_0x40469a(0xf4)](_0x311d98['id'],_0x311d98);this[_0x40469a(0x1a1)][_0x40469a(0x205)][_0x40469a(0x20c)]({'isUndoable':!0x1},_0xfff0ca=>{const _0x22b24c=_0x40469a;for(const _0x5c58ec of this[_0x22b24c(0x1a1)][_0x22b24c(0x205)][_0x22b24c(0x20e)][_0x22b24c(0x1c8)]())_0xfff0ca[_0x22b24c(0x214)](_0x5c58ec);for(const _0x22198e of Object[_0x22b24c(0x200)](_0xd23f78[_0x22b24c(0x205)])){const _0x249819=_0xfff0ca[_0x22b24c(0x20b)](_0x22198e);for(const _0x128de6 of Object[_0x22b24c(0x200)](_0xd23f78[_0x22b24c(0x198)][_0x22198e]))_0xfff0ca[_0x22b24c(0x1f7)](_0x128de6,_0xd23f78[_0x22b24c(0x198)][_0x22198e][_0x128de6],_0x249819);_0xfff0ca[_0x22b24c(0x13b)](_0xd23f78[_0x22b24c(0x205)][_0x22198e],_0x249819,0x0);}}),this[_0x40469a(0x179)][_0x40469a(0x1a2)](this[_0x40469a(0x17f)](_0xd23f78[_0x40469a(0x1a7)])),this[_0x40469a(0x154)]=!0x0;})[_0x398127(0xf7)](_0x308341=>{const _0x22457c=_0x398127;console[_0x22457c(0xe6)](_0x308341),this[_0x22457c(0x121)](),_0x352a65&&(this[_0x22457c(0x179)]=_0x352a65),this[_0x22457c(0x154)]=!0x0;});}[_0x4aab99(0x15c)](_0x265c34,_0x4e934a){const _0x4e6bf2=_0x4aab99,_0x33a0de=this[_0x4e6bf2(0x14f)][_0x4e6bf2(0x160)](_0x265c34);return _0x33a0de['on'](_0x4e6bf2(0x1c4),(_0x28c381,_0x263718,_0x40c5f8)=>_0x4e934a(_0x263718,_0x40c5f8,_0x33a0de)),this[_0x4e6bf2(0x14f)][_0x4e6bf2(0x1ce)](_0x33a0de),_0x33a0de;}[_0x4aab99(0x208)](_0x1bce1d){const _0x4a07e1=_0x4aab99;if(!_0x1bce1d||_0x1bce1d[_0x4a07e1(0x156)])return Promise[_0x4a07e1(0x145)]();{const _0x1b236d=this[_0x4a07e1(0x1a1)][_0x4a07e1(0x13d)][_0x4a07e1(0x122)](_0x4a07e1(0x1a4));return this[_0x4a07e1(0x189)][_0x4a07e1(0x19c)]({'channelId':_0x1b236d,'revisionId':_0x1bce1d['id']})[_0x4a07e1(0x101)](_0xf0309f=>{const _0x2d8ca7=_0x4a07e1;_0x1bce1d[_0x2d8ca7(0x1c4)]({'diffData':_0xf0309f[_0x2d8ca7(0x156)]},!0x0);});}}[_0x4aab99(0x121)](){const _0x114cb7=_0x4aab99;this[_0x114cb7(0x140)]=null,this[_0x114cb7(0x1f6)](),this[_0x114cb7(0x183)]&&this[_0x114cb7(0x183)][_0x114cb7(0x135)](),this[_0x114cb7(0x183)]=null,this[_0x114cb7(0x1ac)][_0x114cb7(0x1e7)](),this[_0x114cb7(0x1a1)][_0x114cb7(0x205)][_0x114cb7(0x20c)]({'isUndoable':!0x1},_0x55b323=>{const _0x2f8586=_0x114cb7;for(const _0x11f004 of this[_0x2f8586(0x1a1)][_0x2f8586(0x205)][_0x2f8586(0x20e)][_0x2f8586(0x1c8)]())_0x55b323[_0x2f8586(0x214)](_0x11f004);});}[_0x4aab99(0x17f)](_0x4a756c){const _0x5f04f6=_0x4aab99,_0x22c2cd=[],_0x22c667=new Map();for(const _0x147c1a of this[_0x5f04f6(0x1a1)][_0x5f04f6(0x205)][_0x5f04f6(0x20e)][_0x5f04f6(0x1c8)]()){const _0x3ba738=this[_0x5f04f6(0x1a1)][_0x5f04f6(0x202)][_0x5f04f6(0x118)][_0x5f04f6(0x10a)](_0x147c1a);if(!_0x3ba738)continue;const _0x34fb90=_0x3ba738[_0x5f04f6(0x142)]()[_0x5f04f6(0x107)](0x0);_0x34fb90&&(_0x22c2cd[_0x5f04f6(0x1ea)](_0x147c1a),_0x22c667[_0x5f04f6(0xf4)](_0x147c1a,_0x34fb90));}return _0x22c2cd[_0x5f04f6(0x1da)]((_0x30db0e,_0x2088c4)=>{const _0x14c61e=_0x5f04f6,_0x1f4213=_0x22c667[_0x14c61e(0x122)](_0x30db0e),_0x5b0de0=_0x22c667[_0x14c61e(0x122)](_0x2088c4);return _0x1f4213['y']-_0x5b0de0['y']||_0x1f4213['x']-_0x5b0de0['x'];}),(_0x4a756c=_0x4a756c[_0x5f04f6(0x12d)](_0x19b361=>_0x22c2cd[_0x5f04f6(0x1dd)](_0x19b361[_0x5f04f6(0x1a9)])))[_0x5f04f6(0x1da)]((_0x1f2485,_0x38636c)=>_0x22c2cd[_0x5f04f6(0x1dc)](_0x1f2485[_0x5f04f6(0x1a9)])-_0x22c2cd[_0x5f04f6(0x1dc)](_0x38636c[_0x5f04f6(0x1a9)])),_0x4a756c;}[_0x4aab99(0x1c3)](_0xf92390){const _0x459de6=_0x4aab99,_0x30886a=Array[_0x459de6(0x221)](_0xf92390[_0x459de6(0x148)])[_0x459de6(0x12d)](([_0x504a13,_0x519263])=>_0x504a13[_0x459de6(0xed)](_0x459de6(0x1ad))&&!_0x519263[_0x459de6(0x207)]),_0x5a6991=Array[_0x459de6(0x221)](this[_0x459de6(0x1a1)][_0x459de6(0x205)][_0x459de6(0x1e4)](_0xf92390)[_0x459de6(0x190)]({'singleCharacters':!0x0}));if(0x0!=_0x30886a[_0x459de6(0x1ba)])for(const _0x2bc43c of _0x5a6991){const [_0x29676c,_0x2c9c93]=_0x30886a[0x0],[,_0x356197,_0xf6b9e7]=_0x29676c[_0x459de6(0x16f)](':');if(_0x2c9c93[_0x459de6(0x1e8)][_0x459de6(0x218)](_0x2bc43c[_0x459de6(0x146)])&&_0x30886a[_0x459de6(0x1b6)](),(_0x2bc43c[_0x459de6(0x1d1)][_0x459de6(0x218)](_0x2c9c93[_0x459de6(0x22e)])||_0x2bc43c[_0x459de6(0x1d1)][_0x459de6(0x1cf)](_0x2c9c93[_0x459de6(0x22e)]))&&(_0x459de6(0x1f8)==_0x356197?_0x2bc43c[_0x459de6(0x228)]={'userId':_0xf6b9e7}:_0x459de6(0xfa)==_0x356197&&(_0x2bc43c[_0x459de6(0x1c2)]={'userId':_0xf6b9e7})),0x0==_0x30886a[_0x459de6(0x1ba)])break;}return _0x5a6991;}[_0x4aab99(0x17a)](_0x3ada5d){const _0x4e7c47=_0x4aab99,_0x11d821=new Map();for(let _0x52bfb8=0x0;_0x52bfb8<_0x3ada5d[_0x4e7c47(0x1ba)];_0x52bfb8++)_0x4e7c47(0x12a)===_0x3ada5d[_0x52bfb8][_0x4e7c47(0x14a)]?(_0x3ada5d[_0x52bfb8][_0x4e7c47(0x107)][_0x4e7c47(0x1c0)]=_0x52bfb8,_0x3ada5d[_0x52bfb8][_0x4e7c47(0x107)][_0x4e7c47(0x197)]=_0x52bfb8):(_0x4e7c47(0x1cb)===_0x3ada5d[_0x52bfb8][_0x4e7c47(0x14a)]?_0x3ada5d[_0x52bfb8][_0x4e7c47(0x107)][_0x4e7c47(0x1c0)]=_0x52bfb8:_0x4e7c47(0x116)===_0x3ada5d[_0x52bfb8][_0x4e7c47(0x14a)]&&(_0x3ada5d[_0x52bfb8][_0x4e7c47(0x107)][_0x4e7c47(0x197)]=_0x52bfb8),_0x11d821[_0x4e7c47(0xf4)](_0x3ada5d[_0x52bfb8]['id'],_0x52bfb8));for(const _0x5018ab of _0x11d821[_0x4e7c47(0x147)]())_0x4e7c47(0x1cb)===_0x3ada5d[_0x5018ab][_0x4e7c47(0x14a)]?_0x3ada5d[_0x5018ab][_0x4e7c47(0x107)][_0x4e7c47(0x197)]=_0x11d821[_0x4e7c47(0x122)](_0x3ada5d[_0x5018ab][_0x4e7c47(0x1a8)]):_0x4e7c47(0x116)===_0x3ada5d[_0x5018ab][_0x4e7c47(0x14a)]&&(_0x3ada5d[_0x5018ab][_0x4e7c47(0x107)][_0x4e7c47(0x1c0)]=_0x11d821[_0x4e7c47(0x122)](_0x3ada5d[_0x5018ab][_0x4e7c47(0x1a8)]));}[_0x4aab99(0xfb)](_0x2d48fe){const _0x291c51=_0x4aab99;for(let _0x340c9f=0x0;_0x340c9f<_0x2d48fe[_0x291c51(0x1ba)];_0x340c9f++){if(_0x291c51(0x1cb)===_0x2d48fe[_0x340c9f][_0x291c51(0x14a)])_0x2d48fe[_0x340c9f][_0x291c51(0x107)][_0x291c51(0x1c0)]=_0x340c9f;else{if(_0x291c51(0x116)===_0x2d48fe[_0x340c9f][_0x291c51(0x14a)]){_0x2d48fe[_0x340c9f][_0x291c51(0x107)][_0x291c51(0x197)]=_0x340c9f;const _0xc7ec72=_0x2d48fe[_0x340c9f][_0x291c51(0x107)][_0x291c51(0x1c0)];_0x2d48fe[_0xc7ec72][_0x291c51(0x1a8)]=_0x2d48fe[_0x340c9f]['id'],_0x2d48fe[_0x340c9f][_0x291c51(0x1a8)]=_0x2d48fe[_0xc7ec72]['id'];}else _0x2d48fe[_0x340c9f][_0x291c51(0x107)][_0x291c51(0x1c0)]=_0x340c9f,_0x2d48fe[_0x340c9f][_0x291c51(0x107)][_0x291c51(0x197)]=_0x340c9f,_0x2d48fe[_0x340c9f][_0x291c51(0x1a8)]=null;}_0x2d48fe[_0x340c9f][_0x291c51(0xe9)]||(_0x2d48fe[_0x340c9f][_0x291c51(0xe9)]=[],_0x2d48fe[_0x340c9f][_0x291c51(0x222)]=[]);}}[_0x4aab99(0x1d5)](_0x3ecbbd,_0x18c952){const _0x19ef99=_0x4aab99,_0x4d0ae5=_0x3ecbbd[_0x19ef99(0x12d)](_0x1fcffa=>!_0x1fcffa[_0x19ef99(0x228)]);for(let _0x16cda8=0x0;_0x16cda8<_0x18c952[_0x19ef99(0x1ba)];_0x16cda8++)_0x18c952[_0x16cda8][_0x19ef99(0x228)]&&(_0x4d0ae5[_0x16cda8][_0x19ef99(0x228)]=_0x18c952[_0x16cda8][_0x19ef99(0x228)]);}[_0x4aab99(0x215)](_0x512655){const _0x199876=_0x4aab99,_0x144dff=JSON[_0x199876(0xeb)](_0x512655),_0x386636=this[_0x199876(0x1a1)][_0x199876(0x202)][_0x199876(0x118)][_0x199876(0x20e)],_0x380e8f=new _0x5577f4(_0x386636,_0x144dff[_0x199876(0x105)](_0x11367b=>this[_0x199876(0x15d)](_0x11367b)));return this[_0x199876(0x1a1)][_0x199876(0x104)][_0x199876(0x173)](_0x380e8f);}[_0x4aab99(0x15d)](_0x3c362b){const _0x10f0f8=_0x4aab99,_0x23fac0=this[_0x10f0f8(0x1a1)][_0x10f0f8(0x202)][_0x10f0f8(0x118)][_0x10f0f8(0x20e)];if(_0x10f0f8(0x158)==typeof _0x3c362b)return new _0x57c583(_0x23fac0,_0x3c362b);{const _0x59320f=_0x3c362b[_0x10f0f8(0x180)][_0x10f0f8(0x105)](_0x569473=>this[_0x10f0f8(0x15d)](_0x569473));return new(tt[_0x3c362b[(_0x10f0f8(0x14a))]]||_0x293497)(_0x23fac0,_0x3c362b[_0x10f0f8(0x18c)],_0x3c362b[_0x10f0f8(0x198)],_0x59320f);}}[_0x4aab99(0x191)](_0x87b938,_0xa7c256=null){const _0x4629d0=_0x4aab99,_0x4d6b95=this[_0x4629d0(0x14f)][_0x4629d0(0x19c)](_0x87b938),_0x1a507d=_0xa7c256?this[_0x4629d0(0x14f)][_0x4629d0(0x19c)](_0xa7c256):null,_0x344b6e=this[_0x4629d0(0x1d3)](_0x4d6b95,_0x1a507d),_0x4f486e=_0x344b6e[_0x344b6e[_0x4629d0(0x1ba)]-0x1],_0x1a69f7=new Map(),_0x67d76a={'model':{},'attributes':{},'changes':[]},_0x3dc87a=new Set(),_0x5d1475=new Map();for(let _0x3eaa3c=_0x344b6e[_0x4629d0(0x1ba)]-0x1;_0x3eaa3c>=0x0;_0x3eaa3c--){const _0x25fde5=_0x344b6e[_0x3eaa3c];for(const _0x588ba8 of Object[_0x4629d0(0x200)](_0x25fde5[_0x4629d0(0x156)]))if(_0x25fde5[_0x4629d0(0x156)][_0x588ba8][_0x4629d0(0x192)]){const _0x4a8722=_0x25fde5[_0x4629d0(0x156)][_0x588ba8][_0x4629d0(0x192)];_0x4a8722[_0x4629d0(0x1b4)]?(_0x3dc87a[_0x4629d0(0x144)](_0x588ba8),_0x5d1475[_0x4629d0(0x13c)](_0x588ba8)&&_0x5d1475[_0x4629d0(0x122)](_0x588ba8)[_0x4629d0(0x19d)]==_0x4a8722[_0x4629d0(0x19d)]?_0x5d1475[_0x4629d0(0xe8)](_0x588ba8):_0x5d1475[_0x4629d0(0xf4)](_0x588ba8,_0x4a8722)):_0x5d1475[_0x4629d0(0x13c)](_0x588ba8)?(_0x3dc87a[_0x4629d0(0xe8)](_0x588ba8),_0x5d1475[_0x4629d0(0xe8)](_0x588ba8)):(_0x3dc87a[_0x4629d0(0x144)](_0x588ba8),_0x5d1475[_0x4629d0(0xf4)](_0x588ba8,_0x4a8722));}else _0x3dc87a[_0x4629d0(0x144)](_0x588ba8);}for(const _0x5ebf9f of _0x3dc87a){const _0x2761f9=_0x5d1475[_0x4629d0(0x13c)](_0x5ebf9f)&&!_0x5d1475[_0x4629d0(0x122)](_0x5ebf9f)[_0x4629d0(0x1b4)];let _0x428679=_0x2761f9?_0x344b6e[_0x4629d0(0x1ba)]-0x1:0x0;const _0x5b86ae=_0x2761f9?-0x1:0x1;for(;_0x344b6e[_0x428679];){const _0x47e3ad=_0x344b6e[_0x428679];if(_0x47e3ad[_0x4629d0(0x156)][_0x5ebf9f]){const _0x190676=_0x2761f9?_0x47e3ad[_0x4629d0(0x156)][_0x5ebf9f][_0x4629d0(0x210)]:_0x47e3ad[_0x4629d0(0x156)][_0x5ebf9f][_0x4629d0(0x157)];_0x67d76a[_0x4629d0(0x198)][_0x5ebf9f]=_0x190676?_0x3fa27d(_0x190676):{};break;}_0x428679+=_0x5b86ae;}}for(const _0x3a4093 of _0x344b6e){_0x3a4093[_0x4629d0(0x205)]={};for(const _0x336c49 of _0x3a4093[_0x4629d0(0x223)])_0x1a69f7[_0x4629d0(0xf4)](_0x336c49['id'],_0x336c49);for(const _0x1eb6ca of _0x3dc87a){const _0x1065db=_0x3a4093[_0x4629d0(0x156)][_0x1eb6ca]?_0x3a4093[_0x4629d0(0x156)][_0x1eb6ca][_0x4629d0(0x14b)]:'[]',_0x12c5bb=_0x3a4093[_0x4629d0(0x156)][_0x1eb6ca]?_0x3a4093[_0x4629d0(0x156)][_0x1eb6ca][_0x4629d0(0x1c9)]:'[]';_0x3a4093[_0x4629d0(0x205)][_0x1eb6ca]={'insertions':this[_0x4629d0(0x215)](_0x1065db),'deletions':this[_0x4629d0(0x215)](_0x12c5bb)};}}for(const _0x5d4beb of _0x3dc87a){let _0x37fc71=null,_0x28f5d3=0x0;const _0x1185b3=new Map(Array[_0x4629d0(0x221)](_0x4d6b95[_0x4629d0(0x205)][_0x5d4beb][_0x4629d0(0x14b)][_0x4629d0(0x148)])[_0x4629d0(0x12d)](([_0x5140e0])=>!_0x5140e0[_0x4629d0(0xed)](_0x4629d0(0x1ad))));let _0x17739d=0x0;for(const _0x13c288 of _0x344b6e){const _0x2f680c=this[_0x4629d0(0x1c3)](_0x13c288[_0x4629d0(0x205)][_0x5d4beb][_0x4629d0(0x14b)]);_0x13c288==_0x4d6b95?(_0x37fc71=_0x2f680c,_0x28f5d3=_0x37fc71[_0x4629d0(0x1ba)],_0x37fc71[_0x4629d0(0x143)](_0x43bb09=>{_0x43bb09['id']=_0x17739d++;}),this[_0x4629d0(0xfb)](_0x37fc71)):this[_0x4629d0(0x1d5)](_0x37fc71,_0x2f680c);const _0x14596c=_0x37fc71[_0x4629d0(0x12d)](_0x281ef9=>!_0x281ef9[_0x4629d0(0x228)])[_0x4629d0(0x105)](_0x172249=>_0x172249['id']);let _0x63a4b2=0x0;const _0x35a47c=this[_0x4629d0(0x1c3)](_0x13c288[_0x4629d0(0x205)][_0x5d4beb][_0x4629d0(0x1c9)]);_0x35a47c[_0x4629d0(0x143)](_0x102588=>{const _0x527dea=_0x4629d0;_0x102588[_0x527dea(0x1c2)]?_0x102588['id']=_0x28f5d3++:_0x102588['id']=_0x14596c[_0x63a4b2++];}),this[_0x4629d0(0xfb)](_0x35a47c),this[_0x4629d0(0x211)](_0x37fc71,_0x4629d0(0x228)),this[_0x4629d0(0x211)](_0x35a47c,_0x4629d0(0x1c2)),_0x13c288==_0x4d6b95&&this[_0x4629d0(0x22b)](_0x37fc71,_0x1185b3),_0x37fc71=this[_0x4629d0(0x130)](_0x37fc71,_0x35a47c),this[_0x4629d0(0x17a)](_0x37fc71),this[_0x4629d0(0x211)](_0x37fc71,_0x4629d0(0x1c2));}_0x37fc71=_0x37fc71[_0x4629d0(0x12d)](_0x286636=>!(_0x286636[_0x4629d0(0x228)]&&_0x286636[_0x4629d0(0x1c2)]));const _0x181fe5=new Map(_0x4f486e[_0x4629d0(0x205)][_0x5d4beb][_0x4629d0(0x1c9)][_0x4629d0(0x148)]),_0x6475b=new Set(_0x1185b3[_0x4629d0(0x200)]());for(const _0x219450 of _0x181fe5[_0x4629d0(0x200)]())_0x6475b[_0x4629d0(0xe8)](_0x219450);this[_0x4629d0(0x1e9)](_0x37fc71,_0x6475b),this[_0x4629d0(0x1db)](_0x37fc71),_0x37fc71=this[_0x4629d0(0xea)](_0x37fc71),_0x37fc71=this[_0x4629d0(0x119)](_0x37fc71),_0x37fc71=this[_0x4629d0(0x11b)](_0x37fc71);const {root:_0xa93ef,changes:_0x159234}=this[_0x4629d0(0x1a5)](_0x37fc71,_0x1a69f7,_0x5d4beb);_0x67d76a[_0x4629d0(0x205)][_0x5d4beb]=_0xa93ef;const _0x165652=_0x5d1475[_0x4629d0(0x122)](_0x5d4beb);if(_0x165652){const _0x1b0ffd=_0x1a69f7[_0x4629d0(0x122)](_0x165652[_0x4629d0(0x19d)]),_0x316126=new _0x3b9e7f({'author':_0x1b0ffd,'type':_0x165652[_0x4629d0(0x1b4)]?_0x4629d0(0x144):_0x4629d0(0xf6),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5d4beb});_0x159234[_0x4629d0(0x111)](_0x316126),_0x67d76a[_0x4629d0(0x198)][_0x5d4beb][_0x4629d0(0x1f3)]=_0x316126['id'];}_0x67d76a[_0x4629d0(0x1a7)]=_0x67d76a[_0x4629d0(0x1a7)][_0x4629d0(0x1d7)](_0x159234);}return _0x67d76a;}[_0x4aab99(0x22b)](_0x2f825f,_0x2d224e){const _0x3e474f=_0x4aab99;for(let _0x4ab869=0x0;_0x4ab869<_0x2f825f[_0x3e474f(0x1ba)];_0x4ab869++)for(const [_0x16cfb7,_0x4a731c]of _0x2d224e)_0x4a731c[_0x3e474f(0x22e)][_0x3e474f(0x218)](_0x2f825f[_0x4ab869][_0x3e474f(0x1d1)])&&_0x2f825f[_0x4ab869][_0x3e474f(0xe9)][_0x3e474f(0x1ea)](_0x16cfb7),_0x4a731c[_0x3e474f(0x1e8)][_0x3e474f(0x218)](_0x2f825f[_0x4ab869][_0x3e474f(0x146)])&&_0x2f825f[_0x4ab869][_0x3e474f(0x222)][_0x3e474f(0x1ea)](_0x16cfb7);}[_0x4aab99(0x130)](_0x17ba43,_0x236ab6){const _0x384612=_0x4aab99;let _0xd138c4=[],_0x387918=0x0,_0x322e06=0x0;for(;_0x387918<_0x17ba43[_0x384612(0x1ba)]||_0x322e06<_0x236ab6[_0x384612(0x1ba)];){const _0x4a79fe=_0x17ba43[_0x387918]||{},_0x390145=_0x236ab6[_0x322e06]||{};if(_0x4a79fe['id']==_0x390145['id'])_0x387918++,_0x322e06++,_0xd138c4[_0x384612(0x1ea)](_0x4a79fe);else{if(_0x390145[_0x384612(0x1c2)]&&_0x4a79fe[_0x384612(0x228)]){const {commonTape:_0x41a095,iEnd:_0x566ff6,jEnd:_0x1319ea}=this[_0x384612(0x176)](_0x17ba43,_0x387918,_0x236ab6,_0x322e06);_0xd138c4=_0xd138c4[_0x384612(0x1d7)](_0x41a095),_0x387918=_0x566ff6,_0x322e06=_0x1319ea;}else _0x390145[_0x384612(0x1c2)]?(_0x322e06++,_0xd138c4[_0x384612(0x1ea)](_0x390145)):(_0x387918++,_0xd138c4[_0x384612(0x1ea)](_0x4a79fe));}}return _0xd138c4;}[_0x4aab99(0x1e9)](_0x1e3d99,_0x22e6e7){const _0x394bf2=_0x4aab99,_0x5b4506=[];for(let _0x4fa13f=0x0;_0x4fa13f<_0x1e3d99[_0x394bf2(0x1ba)];_0x4fa13f++){for(let _0x320994=0x0;_0x320994<_0x1e3d99[_0x4fa13f][_0x394bf2(0xe9)][_0x394bf2(0x1ba)];_0x320994++){const _0x56a24f=_0x1e3d99[_0x4fa13f][_0x394bf2(0xe9)][_0x320994];if(!_0x22e6e7[_0x394bf2(0x13c)](_0x56a24f))continue;const {group:_0x3f1ac8,type:_0x5934b9,authorId:_0x2030bc}=_0x4a872d(_0x56a24f);_0x394bf2(0xff)!=_0x3f1ac8||_0x394bf2(0x1f8)!=_0x5934b9&&_0x394bf2(0xfa)!=_0x5934b9||(_0x5b4506[_0x394bf2(0x111)]({'type':_0x5934b9,'name':_0x56a24f,'userId':_0x2030bc}),_0x1e3d99[_0x4fa13f][_0x394bf2(0xe9)][_0x394bf2(0x16d)](_0x320994,0x1),_0x320994--);}_0x34e86d(_0x1e3d99[_0x4fa13f]);for(let _0x12e4d1=0x0;_0x12e4d1<_0x1e3d99[_0x4fa13f][_0x394bf2(0x222)][_0x394bf2(0x1ba)];_0x12e4d1++){const _0x4b90f9=_0x1e3d99[_0x4fa13f][_0x394bf2(0x222)][_0x12e4d1];if(!_0x22e6e7[_0x394bf2(0x13c)](_0x4b90f9))continue;const {group:_0x5490cc,type:_0x42298f}=_0x4a872d(_0x4b90f9);if(_0x394bf2(0xff)!=_0x5490cc||_0x394bf2(0x1f8)!=_0x42298f&&_0x394bf2(0xfa)!=_0x42298f)continue;_0x1e3d99[_0x4fa13f][_0x394bf2(0x222)][_0x394bf2(0x16d)](_0x12e4d1,0x1),_0x12e4d1--;const _0x5d25fe=_0x5b4506[_0x394bf2(0x21f)](_0x4023b9=>_0x4023b9[_0x394bf2(0x18c)]==_0x4b90f9);_0x5d25fe>-0x1&&_0x5b4506[_0x394bf2(0x16d)](_0x5d25fe,0x1);}}function _0x4a872d(_0x1cf5d7){const _0x168ccb=_0x394bf2,_0xeeac91=_0x1cf5d7[_0x168ccb(0x16f)](':');return{'group':_0xeeac91[0x0],'type':_0xeeac91[0x1],'subType':_0xeeac91[_0x168ccb(0x1ba)]>=0x5?_0xeeac91[0x2]:null,'id':_0xeeac91[_0x168ccb(0x1ba)]<0x5?_0xeeac91[0x2]:_0xeeac91[0x3],'authorId':_0xeeac91[_0x168ccb(0x1ba)]<0x5?_0xeeac91[0x3]:_0xeeac91[0x4],'markerCount':0x6==_0xeeac91[_0x168ccb(0x1ba)]?_0xeeac91[0x5]:null};}function _0x34e86d(_0xbb9211){const _0x305796=_0x394bf2;for(let _0x44639d=0x0;_0x44639d<_0x5b4506[_0x305796(0x1ba)];_0x44639d++){if(_0xbb9211[_0x305796(0x228)]&&_0x305796(0x1f8)==_0x5b4506[_0x44639d][_0x305796(0x14a)])return _0xbb9211[_0x305796(0x131)]=_0x5b4506[_0x44639d],void delete _0xbb9211[_0x305796(0x228)];if(!_0xbb9211[_0x305796(0x228)]&&!_0xbb9211[_0x305796(0x1c2)]&&_0x305796(0xfa)==_0x5b4506[_0x44639d][_0x305796(0x14a)])return void(_0xbb9211[_0x305796(0x152)]=_0x5b4506[_0x44639d]);}}}[_0x4aab99(0x211)](_0x500781,_0x3fc855){const _0x4e8af5=_0x4aab99;let _0x979398=0x0,_0x402e14=!0x1;const _0x17c975=new Map();for(const _0x103fa1 of _0x500781)_0x103fa1[_0x3fc855]?_0x402e14&&(_0x979398++,_0x402e14=!0x1):(_0x979398++,_0x402e14=!0x0),_0x17c975[_0x4e8af5(0xf4)](_0x103fa1['id'],_0x979398);for(let _0x4ca34a=0x0;_0x4ca34a<_0x500781[_0x4e8af5(0x1ba)];_0x4ca34a++){if(_0x4e8af5(0x1c2)==_0x3fc855&&_0x500781[_0x4ca34a][_0x4e8af5(0x228)]||_0x4e8af5(0x228)==_0x3fc855&&_0x500781[_0x4ca34a][_0x4e8af5(0x1c2)])continue;if(_0x4e8af5(0x12a)==_0x500781[_0x4ca34a][_0x4e8af5(0x14a)]){_0x500781[_0x4ca34a][_0x4e8af5(0x141)]=0x0;continue;}const _0x37d41d=_0x17c975[_0x4e8af5(0x122)](_0x500781[_0x4ca34a][_0x4e8af5(0x1a8)]),_0x54cba8=_0x17c975[_0x4e8af5(0x122)](_0x500781[_0x4ca34a]['id']);_0x500781[_0x4ca34a][_0x4e8af5(0x141)]=_0x37d41d-_0x54cba8;}}[_0x4aab99(0x1d3)](_0x114012,_0x462c3e,_0x264f43=!0x1){const _0x17b1ee=_0x4aab99,_0x13620e=[];let _0x308140=this[_0x17b1ee(0x14f)][_0x17b1ee(0x19f)](_0x114012),_0x10e741=this[_0x17b1ee(0x14f)][_0x17b1ee(0x19f)](_0x462c3e);for(-0x1==_0x10e741&&(_0x10e741=this[_0x17b1ee(0x14f)][_0x17b1ee(0x14e)][_0x17b1ee(0x1ba)],_0x264f43=!0x1);_0x308140<_0x10e741;)_0x13620e[_0x17b1ee(0x1ea)](this[_0x17b1ee(0x14f)][_0x17b1ee(0x19c)](_0x308140)),_0x308140++;return _0x264f43&&_0x13620e[_0x17b1ee(0x1ea)](this[_0x17b1ee(0x14f)][_0x17b1ee(0x19c)](_0x308140)),_0x13620e;}[_0x4aab99(0x176)](_0x39c91c,_0x3328a2,_0x5e5f16,_0x147f77){const _0x5ac245=_0x4aab99,_0x14fc76=this[_0x5ac245(0x1a1)][_0x5ac245(0x205)][_0x5ac245(0x1b9)];let _0x339a41=_0x3328a2;for(;_0x39c91c[_0x339a41]&&_0x39c91c[_0x339a41][_0x5ac245(0x228)];)_0x339a41++;let _0x2719ea=_0x147f77;for(;_0x5e5f16[_0x2719ea]&&_0x5e5f16[_0x2719ea][_0x5ac245(0x1c2)];)_0x2719ea++;_0x33debb(_0x39c91c,_0x3328a2,_0x339a41),_0x33debb(_0x5e5f16,_0x147f77,_0x2719ea);const _0x94e9fb=_0x5e5f16[_0x5ac245(0x1aa)](_0x147f77,_0x2719ea)[_0x5ac245(0x1d7)](_0x39c91c[_0x5ac245(0x1aa)](_0x3328a2,_0x339a41));return _0x94e9fb[_0x5ac245(0x1da)]((_0x22e209,_0x18a46b)=>_0x22e209[_0x5ac245(0x15a)]!=_0x18a46b[_0x5ac245(0x15a)]?_0x22e209[_0x5ac245(0x15a)]-_0x18a46b[_0x5ac245(0x15a)]:_0x22e209[_0x5ac245(0x19b)]!=_0x18a46b[_0x5ac245(0x19b)]?_0x22e209[_0x5ac245(0x19b)]-_0x18a46b[_0x5ac245(0x19b)]:_0x22e209[_0x5ac245(0x141)]!=_0x18a46b[_0x5ac245(0x141)]?_0x18a46b[_0x5ac245(0x141)]-_0x22e209[_0x5ac245(0x141)]:!!_0x22e209[_0x5ac245(0x228)]!=!!_0x18a46b[_0x5ac245(0x228)]?-0x1==_0x22e209[_0x5ac245(0x15a)]||0x0==_0x22e209[_0x5ac245(0x15a)]?_0x22e209[_0x5ac245(0x228)]?-0x1:0x1:_0x22e209[_0x5ac245(0x228)]?0x1:-0x1:_0x22e209[_0x5ac245(0x163)]-_0x18a46b[_0x5ac245(0x163)]),{'commonTape':_0x94e9fb,'iEnd':_0x339a41,'jEnd':_0x2719ea};function _0x33debb(_0x55a192,_0x151e8e,_0x4dc7b9){const _0x240418=_0x5ac245;let _0x73ac40=-0x1,_0x8c57f5=Number[_0x240418(0x1c1)],_0x16cf85=!0x0;for(let _0xeeacf7=_0x151e8e;_0xeeacf7<_0x4dc7b9;_0xeeacf7++)if(_0x14fc76[_0x240418(0x153)](_0x55a192[_0xeeacf7][_0x240418(0x107)])||(_0x16cf85=!0x1),_0x55a192[_0xeeacf7][_0x240418(0x107)][_0x240418(0x1c0)]<_0x151e8e&&(_0x73ac40=_0xeeacf7),_0x55a192[_0xeeacf7][_0x240418(0x107)][_0x240418(0x197)]>=_0x4dc7b9){_0x8c57f5=_0xeeacf7;break;}_0x16cf85&&(_0x73ac40=_0x4dc7b9-0x1);for(let _0x1ee329=_0x151e8e;_0x1ee329<_0x4dc7b9;_0x1ee329++)_0x55a192[_0x1ee329][_0x240418(0x15a)]=_0x1ee329<=_0x73ac40?-0x1:_0x1ee329<_0x8c57f5?0x0:0x1,_0x55a192[_0x1ee329][_0x240418(0x163)]=_0x1ee329;let _0x2074b5=0x0;for(let _0x12aa0f=_0x151e8e;_0x12aa0f<=_0x73ac40;_0x12aa0f++)0x0==_0x55a192[_0x12aa0f][_0x240418(0x141)]?_0x55a192[_0x12aa0f][_0x240418(0x19b)]=_0x2074b5:(_0x2074b5++,_0x55a192[_0x12aa0f][_0x240418(0x19b)]=_0x2074b5,_0x2074b5++);for(let _0x308696=_0x151e8e;_0x308696<_0x4dc7b9;_0x308696++)0x0==_0x55a192[_0x308696][_0x240418(0x15a)]&&(_0x55a192[_0x308696][_0x240418(0x19b)]=_0x2074b5);_0x2074b5=0x0;for(let _0x3fd359=_0x4dc7b9-0x1;_0x3fd359>=_0x8c57f5;_0x3fd359--)0x0==_0x55a192[_0x3fd359][_0x240418(0x141)]?_0x55a192[_0x3fd359][_0x240418(0x19b)]=_0x2074b5:(_0x2074b5--,_0x55a192[_0x3fd359][_0x240418(0x19b)]=_0x2074b5,_0x2074b5--);}}[_0x4aab99(0x1db)](_0x53af60){const _0x14d233=_0x4aab99,_0x11860f=new Map(),_0x4f4698=this[_0x14d233(0x1a1)][_0x14d233(0x205)][_0x14d233(0x1b9)];for(let _0x5690c3=0x1;_0x5690c3<_0x53af60[_0x14d233(0x1ba)];_0x5690c3++){let _0x429d33,_0x3dc9cc,_0x4db512;const _0x42e15d=_0x53af60[_0x5690c3],_0x208ae1=_0x53af60[_0x5690c3-0x1];if(_0x14d233(0x12a)==_0x42e15d[_0x14d233(0x14a)])continue;if(_0x42e15d[_0x14d233(0x14a)]!=_0x208ae1[_0x14d233(0x14a)])continue;if(!_0x4f4698[_0x14d233(0x11d)](_0x208ae1[_0x14d233(0x107)])||_0x4f4698[_0x14d233(0x102)](_0x208ae1[_0x14d233(0x107)]))continue;if(!_0x4f4698[_0x14d233(0x11d)](_0x42e15d[_0x14d233(0x107)])||_0x4f4698[_0x14d233(0x102)](_0x42e15d[_0x14d233(0x107)]))continue;if((_0x53af60[_0x5690c3][_0x14d233(0x228)]||_0x53af60[_0x5690c3][_0x14d233(0x131)])&&_0x53af60[_0x5690c3-0x1][_0x14d233(0x1c2)])_0x429d33=_0x53af60[_0x5690c3],_0x3dc9cc=_0x53af60[_0x5690c3-0x1],_0x4db512=_0x5690c3-0x1;else{if(!_0x53af60[_0x5690c3][_0x14d233(0x1c2)]||!_0x53af60[_0x5690c3-0x1][_0x14d233(0x228)]&&!_0x53af60[_0x5690c3-0x1][_0x14d233(0x131)])continue;_0x429d33=_0x53af60[_0x5690c3-0x1],_0x3dc9cc=_0x53af60[_0x5690c3],_0x4db512=_0x5690c3;}const _0x37cfa6=_0x429d33[_0x14d233(0x19b)]==_0x3dc9cc[_0x14d233(0x19b)],_0x193312=Math[_0x14d233(0x103)](_0x429d33[_0x14d233(0x19b)])<Math[_0x14d233(0x103)](_0x3dc9cc[_0x14d233(0x19b)])&&0x0==_0x3dc9cc[_0x14d233(0x141)];(_0x37cfa6||_0x193312)&&(_0x11860f[_0x14d233(0xf4)](_0x3dc9cc['id'],_0x429d33['id']),_0x53af60[_0x14d233(0x16d)](_0x4db512,0x1),_0x5690c3--,_0x429d33[_0x14d233(0x228)]=!0x1);}for(let _0x5e1e62=0x0;_0x5e1e62<_0x53af60[_0x14d233(0x1ba)];_0x5e1e62++)_0x11860f[_0x14d233(0x13c)](_0x53af60[_0x5e1e62][_0x14d233(0x1a8)])&&(_0x53af60[_0x5e1e62][_0x14d233(0x1a8)]=_0x11860f[_0x14d233(0x122)](_0x53af60[_0x5e1e62][_0x14d233(0x1a8)]));}[_0x4aab99(0xea)](_0x1d3249){const _0x5e14f1=_0x4aab99,_0x2bd95c=new Set(_0x1d3249[_0x5e14f1(0x105)](_0x18d2c1=>_0x18d2c1['id']));for(let _0x260556=0x0;_0x260556<_0x1d3249[_0x5e14f1(0x1ba)];_0x260556++)_0x2bd95c[_0x5e14f1(0x13c)](_0x1d3249[_0x260556][_0x5e14f1(0x1a8)])||0x0==_0x1d3249[_0x260556][_0x5e14f1(0x141)]||(_0x1d3249[_0x260556][_0x5e14f1(0x185)]=!0x0);return _0x1d3249[_0x5e14f1(0x12d)](_0x5db172=>!_0x5db172[_0x5e14f1(0x185)]);}[_0x4aab99(0x119)](_0x7c64fb){const _0x144e27=_0x4aab99,_0x478a59=new Set();for(let _0x3d1729=0x0;_0x3d1729<_0x7c64fb[_0x144e27(0x1ba)];_0x3d1729++){if(_0x478a59[_0x144e27(0x13c)](_0x7c64fb[_0x3d1729]['id'])&&_0x7c64fb[_0x3d1729][_0x144e27(0x1c2)]&&(_0x7c64fb[_0x3d1729][_0x144e27(0x185)]=!0x0),_0x7c64fb[_0x3d1729][_0x144e27(0x185)])continue;if(0x0==_0x7c64fb[_0x3d1729][_0x144e27(0x141)])continue;if(_0x144e27(0x1cb)!=_0x7c64fb[_0x3d1729][_0x144e27(0x14a)])continue;if(null==_0x7c64fb[_0x3d1729][_0x144e27(0x1a8)])continue;let _0x3a6ce9=_0x3d1729+0x1,_0x2cf3be=0x0;for(;_0x7c64fb[_0x3a6ce9]['id']!=_0x7c64fb[_0x3d1729][_0x144e27(0x1a8)];)_0x144e27(0x1cb)==_0x7c64fb[_0x3a6ce9][_0x144e27(0x14a)]?_0x2cf3be++:_0x144e27(0x116)==_0x7c64fb[_0x3a6ce9][_0x144e27(0x14a)]&&_0x2cf3be--,_0x3a6ce9++;if(0x0!=_0x2cf3be){if(_0x7c64fb[_0x3d1729][_0x144e27(0x1c2)])_0x7c64fb[_0x3d1729][_0x144e27(0x185)]=!0x0;else{for(;_0x3a6ce9!=_0x3d1729;)_0x7c64fb[_0x3a6ce9][_0x144e27(0x1c2)]&&0x0!=_0x7c64fb[_0x3a6ce9][_0x144e27(0x141)]&&(_0x7c64fb[_0x3a6ce9][_0x144e27(0x185)]=!0x0,_0x478a59[_0x144e27(0x144)](_0x7c64fb[_0x3a6ce9][_0x144e27(0x1a8)])),_0x3a6ce9--;}}}return _0x7c64fb[_0x144e27(0x12d)](_0x18311b=>!_0x18311b[_0x144e27(0x185)]);}[_0x4aab99(0x11b)](_0x58bd8c){const _0xe29711=_0x4aab99,_0x23d246=this[_0xe29711(0x1a1)][_0xe29711(0x205)][_0xe29711(0x1b9)];for(let _0x4c4b42=0x0;_0x4c4b42<_0x58bd8c[_0xe29711(0x1ba)];_0x4c4b42++){if(!(_0x58bd8c[_0x4c4b42][_0xe29711(0x228)]||_0x58bd8c[_0x4c4b42][_0xe29711(0x131)]||_0x58bd8c[_0x4c4b42][_0xe29711(0x1c2)]||_0x58bd8c[_0x4c4b42][_0xe29711(0x152)]))continue;if(0x0==_0x58bd8c[_0x4c4b42][_0xe29711(0x141)])continue;const _0x553e6d=_0x58bd8c[_0x4c4b42][_0xe29711(0x107)];_0x23d246[_0xe29711(0x11d)](_0x553e6d)||_0x23d246[_0xe29711(0x102)](_0x553e6d)||(_0x58bd8c[_0x4c4b42][_0xe29711(0x228)]&&delete _0x58bd8c[_0x4c4b42][_0xe29711(0x228)],_0x58bd8c[_0x4c4b42][_0xe29711(0x131)]&&delete _0x58bd8c[_0x4c4b42][_0xe29711(0x131)],_0x58bd8c[_0x4c4b42][_0xe29711(0x152)]&&delete _0x58bd8c[_0x4c4b42][_0xe29711(0x152)],_0x58bd8c[_0x4c4b42][_0xe29711(0x1c2)]&&(_0x58bd8c[_0x4c4b42][_0xe29711(0x185)]=!0x0));}return _0x58bd8c[_0xe29711(0x12d)](_0x215d27=>!_0x215d27[_0xe29711(0x185)]);}[_0x4aab99(0x1a5)](_0x4913ac,_0x22cd31,_0x3820a9){const _0x40f340=_0x4aab99,_0x34ddff=new _0x15e2ec(),_0x2e3f6e=[],_0x2c1cf7=new Map(),_0x35ca6d=this[_0x40f340(0x1a1)][_0x40f340(0x205)],_0x3a5659=_0x35ca6d[_0x40f340(0x1b9)],_0x3f452c=[_0x34ddff],_0x4e2bc6={},_0x5467bd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2f8d5b=null;const _0x469ec6=[0x0];for(let _0x5c4905=0x0;_0x5c4905<_0x4913ac[_0x40f340(0x1ba)];_0x5c4905++){let _0x53e79d,_0x5b2a2d;if(_0x40f340(0x1cb)===_0x4913ac[_0x5c4905][_0x40f340(0x14a)]){_0x53e79d=_0x35ca6d[_0x40f340(0x177)](_0x34ddff,_0x469ec6);const _0x2409ab=new _0x5673ed(_0x4913ac[_0x5c4905][_0x40f340(0x107)][_0x40f340(0x18c)],_0x4913ac[_0x5c4905][_0x40f340(0x107)][_0x40f340(0x1a6)]());_0x3f452c[0x0][_0x40f340(0xec)](_0x2409ab),_0x469ec6[_0x40f340(0x1ea)](0x0),_0x3f452c[_0x40f340(0x111)](_0x2409ab),_0x5b2a2d=_0x35ca6d[_0x40f340(0x177)](_0x34ddff,_0x469ec6),_0x2f8d5b=null;}else{if(_0x40f340(0x116)===_0x4913ac[_0x5c4905][_0x40f340(0x14a)])_0x3f452c[_0x40f340(0x1b6)](),_0x53e79d=_0x35ca6d[_0x40f340(0x177)](_0x34ddff,_0x469ec6),_0x469ec6[_0x40f340(0x1cc)](),_0x469ec6[_0x469ec6[_0x40f340(0x1ba)]-0x1]++,_0x5b2a2d=_0x35ca6d[_0x40f340(0x177)](_0x34ddff,_0x469ec6),_0x2f8d5b=null;else{if(_0x53e79d=_0x35ca6d[_0x40f340(0x177)](_0x34ddff,_0x469ec6),_0x2f8d5b&&_0x4bfc86(_0x2f8d5b,_0x4913ac[_0x5c4905][_0x40f340(0x107)]))_0x2f8d5b[_0x40f340(0x226)]+=_0x4913ac[_0x5c4905][_0x40f340(0x107)][_0x40f340(0x104)];else{const _0x39059a=new _0x2a9ae1(_0x4913ac[_0x5c4905][_0x40f340(0x107)][_0x40f340(0x104)],_0x4913ac[_0x5c4905][_0x40f340(0x107)][_0x40f340(0x1a6)]());_0x3f452c[0x0][_0x40f340(0xec)](_0x39059a),_0x2f8d5b=_0x39059a;}_0x469ec6[_0x469ec6[_0x40f340(0x1ba)]-0x1]+=_0x4913ac[_0x5c4905][_0x40f340(0x107)][_0x40f340(0xf1)],_0x5b2a2d=_0x35ca6d[_0x40f340(0x177)](_0x34ddff,_0x469ec6);}}for(const _0x49cffe of _0x4913ac[_0x5c4905][_0x40f340(0xe9)])_0x2c1cf7[_0x40f340(0xf4)](_0x49cffe,{'start':_0x53e79d,'end':null});_0x10418e(_0x40f340(0x152),_0x5c4905,_0x53e79d,_0x5b2a2d),_0x10418e(_0x40f340(0x131),_0x5c4905,_0x53e79d,_0x5b2a2d),_0x10418e(_0x40f340(0x1c2),_0x5c4905,_0x53e79d,_0x5b2a2d),_0x10418e(_0x40f340(0x228),_0x5c4905,_0x53e79d,_0x5b2a2d);for(const _0x15369a of _0x4913ac[_0x5c4905][_0x40f340(0x222)]){_0x2c1cf7[_0x40f340(0x122)](_0x15369a)[_0x40f340(0x1e8)]=_0x5b2a2d;}}for(const [_0x164d79,_0x416eaa]of _0x2c1cf7){const _0x464abc=this[_0x40f340(0x1a1)][_0x40f340(0x205)][_0x40f340(0x127)](_0x416eaa[_0x40f340(0x22e)],_0x416eaa[_0x40f340(0x1e8)]);_0x34ddff[_0x40f340(0x148)][_0x40f340(0xf4)](_0x164d79,_0x464abc);}return _0x2e3f6e[_0x40f340(0x1da)]((_0x16d47d,_0x4101c8)=>{const _0x5aa24c=_0x40f340,_0x942298=_0x34ddff[_0x5aa24c(0x148)][_0x5aa24c(0x122)](_0x5aa24c(0x1ad)+_0x16d47d['id']),_0xecb2c5=_0x34ddff[_0x5aa24c(0x148)][_0x5aa24c(0x122)](_0x5aa24c(0x1ad)+_0x4101c8['id']);return _0x942298[_0x5aa24c(0x22e)][_0x5aa24c(0x11a)](_0xecb2c5[_0x5aa24c(0x22e)])?-0x1:_0x942298[_0x5aa24c(0x22e)][_0x5aa24c(0x1cf)](_0xecb2c5[_0x5aa24c(0x22e)])?0x1:_0x942298[_0x5aa24c(0x1e8)][_0x5aa24c(0x11a)](_0xecb2c5[_0x5aa24c(0x1e8)])?-0x1:_0x942298[_0x5aa24c(0x1e8)][_0x5aa24c(0x1cf)](_0xecb2c5[_0x5aa24c(0x1e8)])?0x1:_0x5aa24c(0x144)===_0x16d47d[_0x5aa24c(0x14a)]?-0x1:0x1;}),{'root':_0x34ddff,'changes':_0x2e3f6e};function _0x10418e(_0x2f96e1,_0x44c738,_0x2a21ab,_0x38ba3a){const _0x57a1f7=_0x40f340,_0x2290ab=!!_0x4913ac[_0x44c738][_0x2f96e1],_0x560f06=_0x2290ab?_0x4913ac[_0x44c738][_0x2f96e1][_0x57a1f7(0x19d)]:null,_0x319b49=_0x44c738===_0x4913ac[_0x57a1f7(0x1ba)]-0x1,_0xe5fc7e=_0x5467bd[_0x2f96e1][0x0],_0x2326ba=_0x3a5659[_0x57a1f7(0x201)](_0x4913ac[_0x44c738][_0x57a1f7(0x107)]);!_0x4e2bc6[_0x2f96e1]&&_0x2290ab?_0x4e2bc6[_0x2f96e1]={'start':_0x2a21ab,'tapeItem':_0x4913ac[_0x44c738],'userId':_0x560f06,'type':_0x2f96e1}:_0x4e2bc6[_0x2f96e1]&&!_0x2290ab?(_0x4e2bc6[_0x2f96e1][_0x57a1f7(0x1e8)]=_0x2a21ab,_0x488baf(_0x4e2bc6[_0x2f96e1]),_0x4e2bc6[_0x2f96e1]=null):_0x4e2bc6[_0x2f96e1]&&_0x2290ab&&_0x4e2bc6[_0x2f96e1][_0x57a1f7(0x19d)]!==_0x560f06&&(_0x4e2bc6[_0x2f96e1][_0x57a1f7(0x1e8)]=_0x2a21ab,_0xe5fc7e&&_0xe5fc7e[_0x57a1f7(0x19d)]===_0x4e2bc6[_0x2f96e1][_0x57a1f7(0x19d)]||_0x488baf(_0x4e2bc6[_0x2f96e1]),_0x4e2bc6[_0x2f96e1]={'start':_0x2a21ab,'tapeItem':_0x4913ac[_0x44c738],'userId':_0x560f06,'type':_0x2f96e1}),_0x4e2bc6[_0x2f96e1]&&_0x2326ba&&(_0x57a1f7(0x1cb)!==_0x4913ac[_0x44c738][_0x57a1f7(0x14a)]||_0xe5fc7e&&_0xe5fc7e[_0x57a1f7(0x19d)]===_0x560f06||_0x5467bd[_0x2f96e1][_0x57a1f7(0x111)]({'userId':_0x560f06,'object':_0x4913ac[_0x44c738][_0x57a1f7(0x107)],'change':_0x4e2bc6[_0x2f96e1]}),_0x57a1f7(0x116)===_0x4913ac[_0x44c738][_0x57a1f7(0x14a)]&&_0xe5fc7e&&_0xe5fc7e[_0x57a1f7(0x1ae)]===_0x4913ac[_0x44c738][_0x57a1f7(0x107)]&&(_0x5467bd[_0x2f96e1][_0x57a1f7(0x1b6)](),_0x4e2bc6[_0x2f96e1]=_0xe5fc7e[_0x57a1f7(0x13a)])),_0x4e2bc6[_0x2f96e1]&&_0x319b49&&(_0x4e2bc6[_0x2f96e1][_0x57a1f7(0x1e8)]=_0x38ba3a,_0x488baf(_0x4e2bc6[_0x2f96e1]),_0x4e2bc6[_0x2f96e1]=null);}function _0x488baf({start:_0x519f10,end:_0xefc217,tapeItem:_0x4831bb,userId:_0x2aa297,type:_0x2bbad0}){const _0x5e8da4=_0x40f340,_0x1a8768=_0x4831bb[_0x5e8da4(0x107)],_0x511312=_0x35ca6d[_0x5e8da4(0x1b9)][_0x5e8da4(0x11d)](_0x1a8768)&&!_0x35ca6d[_0x5e8da4(0x1b9)][_0x5e8da4(0x102)](_0x1a8768),_0x2c17f0=_0x519f10[_0x5e8da4(0x19e)]==_0xefc217[_0x5e8da4(0x21c)]&&_0xefc217[_0x5e8da4(0x21d)];if(_0x511312&&_0x2c17f0)return;const _0x19edba=_0x35ca6d[_0x5e8da4(0x127)](_0x519f10,_0xefc217),_0x2f58ed=_0x22cd31[_0x5e8da4(0x122)](_0x2aa297),_0x2a5914=new _0x3b9e7f({'author':_0x2f58ed,'type':_0x5e8da4(0x228)==_0x2bbad0||_0x5e8da4(0x131)==_0x2bbad0?_0x5e8da4(0x144):_0x5e8da4(0xf6),'data':{'isSuggestion':_0x5e8da4(0x131)==_0x2bbad0||_0x5e8da4(0x152)==_0x2bbad0},'createdAt':new Date(),'rootName':_0x3820a9});_0x2e3f6e[_0x5e8da4(0x1ea)](_0x2a5914),_0x34ddff[_0x5e8da4(0x148)][_0x5e8da4(0xf4)](_0x5e8da4(0x1ad)+_0x2a5914['id'],_0x19edba);}function _0x4bfc86(_0x2c12ef,_0xd1b48b){const _0x5d6aa0=_0x40f340,_0x171830=_0x2c12ef[_0x5d6aa0(0x1a6)](),_0x4edf92=_0xd1b48b[_0x5d6aa0(0x1a6)]();for(const _0x247352 of _0x171830){if(_0x247352[0x1]!==_0xd1b48b[_0x5d6aa0(0x20d)](_0x247352[0x0]))return!0x1;_0x4edf92[_0x5d6aa0(0x232)]();}return _0x4edf92[_0x5d6aa0(0x232)]()[_0x5d6aa0(0x21e)];}}[_0x4aab99(0x1bc)](){const _0x52ab66=_0x4aab99;this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x18e))[_0x52ab66(0x134)]({'view':_0x52ab66(0x231)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x1e6))[_0x52ab66(0x234)]({'model':_0x52ab66(0x231),'view':_0x3bae9e=>{const _0x223e65=_0x52ab66,_0x3b7184=_0x3bae9e[_0x223e65(0x16a)][_0x223e65(0x16f)](':')[0x1],_0x1a356a=this[_0x223e65(0x1b7)](_0x3b7184);if(!_0x1a356a)return null;const _0xaf2136=_0x223e65(0x144)==_0x1a356a[_0x223e65(0x14a)]?_0x223e65(0x1f8):_0x223e65(0xfa),_0x1282d3=[_0x223e65(0x225),_0x223e65(0x217)+_0xaf2136];return _0x1a356a[_0x223e65(0x104)][_0x223e65(0xee)]&&_0x1282d3[_0x223e65(0x1ea)](_0x223e65(0x217)+_0xaf2136+_0x223e65(0x220)),this[_0x223e65(0x140)]==_0x1a356a&&_0x1282d3[_0x223e65(0x1ea)](_0x223e65(0x1be)),{'classes':_0x1282d3,'attributes':{'data-change-id':_0x3b7184}};}}),this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x18e))[_0x52ab66(0x144)](_0x2fe3cb=>{const _0x3e5a14=_0x52ab66;_0x2fe3cb['on'](_0x3e5a14(0x1ec),(_0x3bed02,_0x45de6d,_0x42b8d7)=>{const _0x2ad59b=_0x3e5a14,_0x2d3d01=_0x45de6d[_0x2ad59b(0x14d)][_0x2ad59b(0x17d)](0x0);if(!_0x2d3d01||!_0x2d3d01['is'](_0x2ad59b(0x224),_0x2ad59b(0x1e0)))return;if(!_0x42b8d7[_0x2ad59b(0x1eb)][_0x2ad59b(0x1f4)](_0x2d3d01,{'attributes':[_0x2ad59b(0x1c7),_0x2ad59b(0x165)]}))return;const _0x5e546f=_0x45de6d[_0x2ad59b(0x12e)][_0x2ad59b(0x22e)][_0x2ad59b(0x19e)];_0x42b8d7[_0x2ad59b(0xe5)][_0x2ad59b(0x1f7)](_0x2ad59b(0x1c7),_0x2d3d01[_0x2ad59b(0x20d)](_0x2ad59b(0x1c7)),_0x5e546f),_0x42b8d7[_0x2ad59b(0xe5)][_0x2ad59b(0x1f7)](_0x2ad59b(0x165),_0x2d3d01[_0x2ad59b(0x20d)](_0x2ad59b(0x165)),_0x5e546f);},{'priority':_0x3e5a14(0x10f)});}),this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x18e))[_0x52ab66(0x144)](_0x1cd680=>{const _0x5a9d53=_0x52ab66;_0x1cd680['on'](_0x5a9d53(0x224),(_0x563368,_0x441dfb,_0x3025d3)=>{const _0xe9158d=_0x5a9d53;if(!_0x3025d3[_0xe9158d(0x1eb)][_0xe9158d(0x1f4)](_0x441dfb[_0xe9158d(0x14d)],{'attributes':[_0xe9158d(0x1c7),_0xe9158d(0x165)]}))return;if(_0x441dfb[_0xe9158d(0x12e)][_0xe9158d(0x207)])return;const _0x7ba14e=_0x441dfb[_0xe9158d(0x12e)][_0xe9158d(0x22e)][_0xe9158d(0x19e)];_0x7ba14e[_0xe9158d(0x136)](_0xe9158d(0x1c7))||_0x7ba14e[_0xe9158d(0x136)](_0xe9158d(0x178))||(_0x3025d3[_0xe9158d(0xe5)][_0xe9158d(0x1f7)](_0xe9158d(0x1c7),_0x441dfb[_0xe9158d(0x14d)][_0xe9158d(0x20d)](_0xe9158d(0x1c7)),_0x7ba14e),_0x3025d3[_0xe9158d(0xe5)][_0xe9158d(0x1f7)](_0xe9158d(0x165),_0x441dfb[_0xe9158d(0x14d)][_0xe9158d(0x20d)](_0xe9158d(0x165)),_0x7ba14e));},{'priority':_0x5a9d53(0x10f)});}),this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x18e))[_0x52ab66(0x1df)]({'view':{'name':_0x52ab66(0x100),'attributes':{'vid':!0x0}},'model':{'key':_0x52ab66(0x178),'value':_0x191dcd=>_0x191dcd[_0x52ab66(0x20d)](_0x52ab66(0x178))}}),this[_0x52ab66(0x1a1)][_0x52ab66(0x205)][_0x52ab66(0x1b9)]['on'](_0x52ab66(0x117),(_0x3dd295,[,_0x1c6292])=>{const _0x1f1a1e=_0x52ab66;[_0x1f1a1e(0x1c7),_0x1f1a1e(0x165),_0x1f1a1e(0x178)][_0x1f1a1e(0x1dd)](_0x1c6292)&&(_0x3dd295[_0x1f1a1e(0x227)]=!0x0,_0x3dd295[_0x1f1a1e(0x1ca)]());},{'priority':_0x52ab66(0x1b0)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x1c5))[_0x52ab66(0x144)](_0x1a0f92=>{const _0x5284cb=_0x52ab66;_0x1a0f92['on'](_0x5284cb(0x18a),(_0x3cfcfc,_0x4d0e03,_0x73cbcc)=>{const _0x4a5604=_0x5284cb;if('\x20'!=_0x4d0e03[_0x4a5604(0x107)][_0x4a5604(0x104)]||_0x4d0e03[_0x4a5604(0x107)][_0x4a5604(0x21c)][_0x4a5604(0x212)]>0x1)return;if(!_0x73cbcc[_0x4a5604(0x1eb)][_0x4a5604(0x1f4)](_0x4d0e03[_0x4a5604(0x107)],_0x3cfcfc[_0x4a5604(0x18c)]))return;const _0x57dbaf=_0x73cbcc[_0x4a5604(0xe5)],_0x3e49b9=_0x73cbcc[_0x4a5604(0x1f5)][_0x4a5604(0x219)](_0x4d0e03[_0x4a5604(0x18d)]);_0x57dbaf[_0x4a5604(0x1fb)](_0x3e49b9,_0x57dbaf[_0x4a5604(0x213)](_0x4a5604(0x100)));});}),this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x1c5))[_0x52ab66(0x230)]({'model':_0x52ab66(0x231)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x202)][_0x52ab66(0x1fa)]['on'](_0x52ab66(0x184),function(_0x174398){const _0x2162a7=_0x52ab66,_0x4fbf98=_0x174398[_0x2162a7(0x168)][_0x2162a7(0x122)](_0x2162a7(0x1e3));return(_0x313b41,_0x28701a,_0x2dbbc3)=>{const _0x288b49=_0x2162a7,_0x20e432=_0x28701a[_0x288b49(0x16a)][_0x288b49(0x16f)](':')[0x1],_0x53209f=_0x4fbf98[_0x288b49(0x1b7)](_0x20e432);if(!_0x53209f)return null;const _0x386191=_0x288b49(0x144)==_0x53209f[_0x288b49(0x14a)]?_0x288b49(0x16f):_0x288b49(0x125);if(!_0x2dbbc3[_0x288b49(0x1eb)][_0x288b49(0x1b3)](_0x28701a[_0x288b49(0x139)],_0x313b41[_0x288b49(0x18c)]))return;const _0x5c96f2=_0x28701a[_0x288b49(0x139)][_0x288b49(0x190)](),_0x4f198a=_0x28701a[_0x288b49(0x139)][_0x288b49(0x22e)],_0x2113ef=_0x174398[_0x288b49(0x205)][_0x288b49(0x1b9)];let _0x5b4d6d=null,_0x1d5951=null,_0x3faeb8=!0x1,_0x3c501f=!0x1;for(const _0x1c4915 of _0x5c96f2){const _0x1225af=_0x1c4915[_0x288b49(0x107)];_0x3faeb8=_0x3faeb8||_0x2113ef[_0x288b49(0x1b5)](_0x1225af);const _0xe05bb0=_0x2dbbc3[_0x288b49(0x1f5)][_0x288b49(0x1fc)](_0x1225af);if(_0xe05bb0&&_0xe05bb0[_0x288b49(0x15f)](_0x288b49(0x161)))return;_0x288b49(0x116)==_0x1c4915[_0x288b49(0x14a)]&&(_0x2113ef[_0x288b49(0x11d)](_0x1225af)&&!_0x2113ef[_0x288b49(0x102)](_0x1225af)&&(_0x1225af[_0x288b49(0x10c)]||_0x4f198a[_0x288b49(0x110)]?_0x5b4d6d&&_0x5b4d6d[_0x288b49(0x21c)]==_0x1225af||(_0x5b4d6d=_0x1225af,_0x1fc8dd(_0x1c4915[_0x288b49(0x1d1)]),_0x3c501f=!0x0):_0x1d5951=_0x1d5951||_0x1c4915[_0x288b49(0x1d1)]));}function _0x1fc8dd(_0x16c5bf){const _0x1379fb=_0x288b49,_0x5bda8e=_0x2dbbc3[_0x1379fb(0xe5)][_0x1379fb(0xfc)](_0x1379fb(0x100),{'class':_0x1379fb(0x217)+_0x386191}),_0x117f15=_0x2dbbc3[_0x1379fb(0x1f5)][_0x1379fb(0x194)](_0x16c5bf);_0x53209f[_0x1379fb(0x104)][_0x1379fb(0xee)]&&_0x2dbbc3[_0x1379fb(0xe5)][_0x1379fb(0x14c)](_0x1379fb(0x217)+_0x386191+_0x1379fb(0x220),_0x5bda8e),_0x4fbf98[_0x1379fb(0x140)]==_0x53209f&&_0x2dbbc3[_0x1379fb(0xe5)][_0x1379fb(0x14c)](_0x1379fb(0x1be),_0x5bda8e),_0x2dbbc3[_0x1379fb(0xe5)][_0x1379fb(0x13b)](_0x117f15,_0x5bda8e),_0x2dbbc3[_0x1379fb(0x1f5)][_0x1379fb(0xf2)](_0x5bda8e,_0x28701a[_0x1379fb(0x16a)]);}_0x3faeb8||_0x3c501f||!_0x1d5951||_0x1fc8dd(_0x1d5951);};}(this[_0x52ab66(0x1a1)]),{'priority':_0x52ab66(0x174)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x202)][_0x52ab66(0x1fa)]['on'](_0x52ab66(0x1b1),(_0x993166,_0x6642c6,_0x397e33)=>{const _0x5031b4=_0x52ab66,_0x193783=_0x397e33[_0x5031b4(0x1f5)][_0x5031b4(0x164)](_0x6642c6[_0x5031b4(0x16a)]);if(_0x193783){for(const _0x301a4d of _0x193783)(_0x301a4d[_0x5031b4(0x123)](_0x5031b4(0x1e1))||_0x301a4d[_0x5031b4(0x123)](_0x5031b4(0x16b)))&&(_0x397e33[_0x5031b4(0x1f5)][_0x5031b4(0x11e)](_0x301a4d,_0x6642c6[_0x5031b4(0x16a)]),_0x397e33[_0x5031b4(0xe5)][_0x5031b4(0xf6)](_0x301a4d));}},{'priority':_0x52ab66(0x174)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x202)][_0x52ab66(0x1fa)]['on'](_0x52ab66(0x184),(_0xd013e,_0x1a8547,_0x23b0d3)=>{const _0x119155=_0x52ab66,_0x35dd1b=_0x1a8547[_0x119155(0x16a)][_0x119155(0x16f)](':')[0x1],_0x1a779a=this[_0x119155(0x1b7)](_0x35dd1b);if(!_0x1a779a)return null;const _0x57e397=_0x119155(0x144)==_0x1a779a[_0x119155(0x14a)]?_0x119155(0x16f):_0x119155(0x125);if(_0x23b0d3[_0x119155(0x1eb)][_0x119155(0x1b3)](_0x1a8547[_0x119155(0x139)],_0xd013e[_0x119155(0x18c)]))for(const _0x788660 of _0x1a8547[_0x119155(0x139)][_0x119155(0x203)]()){if(!_0x788660['is'](_0x119155(0x224),_0x119155(0x187)))continue;const _0x2d08ee=_0x23b0d3[_0x119155(0xe5)][_0x119155(0xfc)](_0x119155(0x100),{'class':_0x119155(0x217)+_0x57e397}),_0x19a4a8=_0x23b0d3[_0x119155(0x1f5)][_0x119155(0x194)](this[_0x119155(0x1a1)][_0x119155(0x205)][_0x119155(0x1f0)](_0x788660));_0x1a779a[_0x119155(0x104)][_0x119155(0xee)]&&_0x23b0d3[_0x119155(0xe5)][_0x119155(0x14c)](_0x119155(0x217)+_0x57e397+_0x119155(0x220),_0x2d08ee),this[_0x119155(0x140)]==_0x1a779a&&_0x23b0d3[_0x119155(0xe5)][_0x119155(0x14c)](_0x119155(0x1be),_0x2d08ee),_0x23b0d3[_0x119155(0xe5)][_0x119155(0x13b)](_0x19a4a8,_0x2d08ee),_0x23b0d3[_0x119155(0x1f5)][_0x119155(0xf2)](_0x2d08ee,_0x1a8547[_0x119155(0x16a)]);}},{'priority':_0x52ab66(0x174)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x205)][_0x52ab66(0x20e)]['on'](_0x52ab66(0x13a),()=>{const _0x41772b=_0x52ab66;this[_0x41772b(0x1a1)][_0x41772b(0x202)][_0x41772b(0x118)][_0x41772b(0x13a)](_0x21c40a=>{const _0x1b3e50=_0x41772b;for(const _0xef8166 of this[_0x1b3e50(0x1a1)][_0x1b3e50(0x205)][_0x1b3e50(0x20e)][_0x1b3e50(0x1c8)]()){const _0xc02fd2=this[_0x1b3e50(0x1a1)][_0x1b3e50(0x205)][_0x1b3e50(0x20e)][_0x1b3e50(0x133)](_0xef8166),_0x1daeaf=this[_0x1b3e50(0x1a1)][_0x1b3e50(0x202)][_0x1b3e50(0x118)][_0x1b3e50(0x20e)][_0x1b3e50(0x133)](_0xef8166);if(_0x1daeaf){const _0x4b06f5=_0xc02fd2[_0x1b3e50(0x20d)](_0x1b3e50(0x1f3));if(_0x21c40a[_0x1b3e50(0x1f9)](_0x1b3e50(0x206),_0x1daeaf),_0x21c40a[_0x1b3e50(0x162)](_0x1b3e50(0x11f),_0x1daeaf),_0x21c40a[_0x1b3e50(0x162)](_0x1b3e50(0x112),_0x1daeaf),_0x21c40a[_0x1b3e50(0x162)](_0x1b3e50(0x22f),_0x1daeaf),_0x4b06f5){const _0x26d3b5=this[_0x1b3e50(0x1b7)](_0x4b06f5);if(!_0x26d3b5)return null;_0x21c40a[_0x1b3e50(0x1f7)](_0x1b3e50(0x206),_0x4b06f5,_0x1daeaf),_0x21c40a[_0x1b3e50(0x14c)](_0x1b3e50(0x216)+_0x26d3b5[_0x1b3e50(0x14a)],_0x1daeaf),this[_0x1b3e50(0x140)]==_0x26d3b5&&_0x21c40a[_0x1b3e50(0x14c)](_0x1b3e50(0x22f),_0x1daeaf);}}}});}),this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x18e))[_0x52ab66(0x134)]({'view':_0x52ab66(0x1ff),'model':_0x36ab35=>_0x52ab66(0xf3)+_0x36ab35,'converterPriority':_0x52ab66(0x1b0)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x18e))[_0x52ab66(0x134)]({'view':_0x52ab66(0x17b),'model':_0x416c7c=>_0x52ab66(0x170)+_0x416c7c,'converterPriority':_0x52ab66(0x1b0)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x1c5))[_0x52ab66(0x230)]({'model':_0x52ab66(0xff),'view':_0x3dab8f=>({'name':_0x52ab66(0x182)+_0x3dab8f,'group':_0x52ab66(0xff)}),'converterPriority':_0x52ab66(0x1b0)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x113)][_0x52ab66(0x22d)](_0x52ab66(0x1e6))[_0x52ab66(0x234)]({'model':_0x52ab66(0xff),'view':_0x5bd848=>{const _0x2fe89c=_0x52ab66,_0x43aa42=_0x5bd848[_0x2fe89c(0x16a)][_0x2fe89c(0x16f)](':')[0x1];return _0x2fe89c(0x1f8)!=_0x43aa42&&_0x2fe89c(0xfa)!=_0x43aa42?null:{'classes':[_0x2fe89c(0x20f),_0x2fe89c(0x120)+_0x43aa42]};}}),this[_0x52ab66(0x1a1)][_0x52ab66(0x202)][_0x52ab66(0x1fa)]['on'](_0x52ab66(0x1fe),et(this[_0x52ab66(0x1a1)],_0x52ab66(0x125)),{'priority':_0x52ab66(0x174)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x202)][_0x52ab66(0x1fa)]['on'](_0x52ab66(0x1af),et(this[_0x52ab66(0x1a1)],_0x52ab66(0x16f)),{'priority':_0x52ab66(0x174)}),this[_0x52ab66(0x1a1)][_0x52ab66(0x202)][_0x52ab66(0x1fa)]['on'](_0x52ab66(0xef),(_0x40f816,_0x367598,_0x4a9fe7)=>{const _0x15fbb1=_0x52ab66,_0x50a501=_0x4a9fe7[_0x15fbb1(0x1f5)][_0x15fbb1(0x164)](_0x367598[_0x15fbb1(0x16a)]);if(_0x50a501){for(const _0x48e194 of _0x50a501)_0x48e194['is'](_0x15fbb1(0x18f))&&(_0x4a9fe7[_0x15fbb1(0x1f5)][_0x15fbb1(0x11e)](_0x48e194,_0x367598[_0x15fbb1(0x16a)]),_0x4a9fe7[_0x15fbb1(0xe5)][_0x15fbb1(0xf6)](_0x48e194));}},{'priority':_0x52ab66(0x174)});}[_0x4aab99(0x1b7)](_0x20de3a){const _0x287b7a=_0x4aab99;return this[_0x287b7a(0x1ac)][_0x287b7a(0x122)](_0x20de3a);}[_0x4aab99(0x1d8)](_0x181a70){const _0x27c88c=_0x4aab99;return this[_0x27c88c(0x183)]&&this[_0x27c88c(0x183)][_0x27c88c(0x135)](),this[_0x27c88c(0x183)]=new _0xf95a1d(this[_0x27c88c(0x1a1)][_0x27c88c(0x124)],_0x181a70),this[_0x27c88c(0x183)];}[_0x4aab99(0x1cd)](){const _0x51e9bc=_0x4aab99;this[_0x51e9bc(0x1a1)][_0x51e9bc(0x205)][_0x51e9bc(0x20e)][_0x51e9bc(0x108)][_0x51e9bc(0x109)](_0x51e9bc(0x231)),this['on'](_0x51e9bc(0xf5),(_0x48b68f,_0x294897,_0x3e85be,_0x558c96)=>{const _0xcefdfb=_0x51e9bc;_0x558c96&&this[_0xcefdfb(0x149)][_0xcefdfb(0xf6)](_0x558c96),_0x3e85be&&(this[_0xcefdfb(0x149)][_0xcefdfb(0x144)]({'view':_0x3e85be,'stackId':_0xcefdfb(0x1bd),'position':{'target':()=>{const _0x28ff95=_0xcefdfb,_0x1f8ead=this[_0x28ff95(0x1a1)][_0x28ff95(0x202)],_0x435c5b=this[_0x28ff95(0x1b7)](_0x3e85be[_0x28ff95(0x1d2)]);let _0x5520b0;if(_0x435c5b[_0x28ff95(0x104)][_0x28ff95(0x21b)]){const _0x30ffa2=_0x1f8ead[_0x28ff95(0x118)][_0x28ff95(0x10a)](_0x435c5b[_0x28ff95(0x1a9)]);_0x5520b0=Array[_0x28ff95(0x221)](_0x30ffa2[_0x28ff95(0x142)]());}else{const _0x1850bb=this[_0x28ff95(0x1a1)][_0x28ff95(0x205)][_0x28ff95(0x148)][_0x28ff95(0x122)](_0x28ff95(0x1ad)+_0x3e85be[_0x28ff95(0x1d2)]);_0x5520b0=Array[_0x28ff95(0x221)](_0x1f8ead[_0x28ff95(0x1f5)][_0x28ff95(0x164)](_0x1850bb[_0x28ff95(0x18c)]))[_0x28ff95(0x105)](_0x32de37=>_0x1f8ead[_0x28ff95(0x118)][_0x28ff95(0x22c)][_0x28ff95(0x155)](_0x32de37))[_0x28ff95(0x105)](_0x3d3b89=>Array[_0x28ff95(0x221)](_0x3d3b89[_0x28ff95(0x142)]()))[_0x28ff95(0x126)]();}if(!this[_0x28ff95(0x17c)])return _0x5520b0[0x0];return _0x5520b0[_0x28ff95(0x209)](_0x5a3f15=>_0x5a3f15[_0x28ff95(0x1fd)]-0x3<=this[_0x28ff95(0x17c)]['y']&&_0x5a3f15[_0x28ff95(0x16e)]+0x3>=this[_0x28ff95(0x17c)]['y']&&_0x5a3f15[_0x28ff95(0x1ed)]-0x3<=this[_0x28ff95(0x17c)]['x']&&_0x5a3f15[_0x28ff95(0xf8)]+0x3>=this[_0x28ff95(0x17c)]['x'])||_0x5520b0[0x0];}}}),this[_0xcefdfb(0x149)][_0xcefdfb(0x1ab)](_0xcefdfb(0x1bd)));}),this['on'](_0x51e9bc(0x129),(_0x1596cc,_0xd2d580,_0x10cb7b,_0x249c06)=>{const _0x12712f=_0x51e9bc;this[_0x12712f(0x12c)]=_0x10cb7b?this[_0x12712f(0x1d8)](_0x10cb7b):null,this[_0x12712f(0x1a1)][_0x12712f(0x205)][_0x12712f(0x13a)](()=>{const _0x4cdb09=_0x12712f,_0x534432=this[_0x4cdb09(0x1a1)][_0x4cdb09(0x202)];_0x249c06&&(_0x249c06[_0x4cdb09(0x104)][_0x4cdb09(0x21b)]?_0x534432[_0x4cdb09(0x118)][_0x4cdb09(0x13a)](_0x530b2f=>{const _0x47231b=_0x4cdb09;_0x530b2f[_0x47231b(0x162)](_0x47231b(0x22f),_0x534432[_0x47231b(0x118)][_0x47231b(0x20e)][_0x47231b(0x133)](_0x249c06[_0x47231b(0x1a9)]));}):_0x534432[_0x4cdb09(0x175)](_0x4cdb09(0x1ad)+_0x249c06['id'])),_0x10cb7b&&(_0x10cb7b[_0x4cdb09(0x104)][_0x4cdb09(0x21b)]?_0x534432[_0x4cdb09(0x118)][_0x4cdb09(0x13a)](_0x4d5afd=>{const _0x3b658a=_0x4cdb09;_0x4d5afd[_0x3b658a(0x14c)](_0x3b658a(0x22f),_0x534432[_0x3b658a(0x118)][_0x3b658a(0x20e)][_0x3b658a(0x133)](_0x10cb7b[_0x3b658a(0x1a9)]));}):_0x534432[_0x4cdb09(0x175)](_0x4cdb09(0x1ad)+_0x10cb7b['id']));});}),this[_0x51e9bc(0x186)](this[_0x51e9bc(0x1a1)][_0x51e9bc(0x202)][_0x51e9bc(0x118)][_0x51e9bc(0x20e)],_0x51e9bc(0x13e),(_0x4ef19b,_0x5c006)=>{const _0x1b9242=_0x51e9bc;if(this[_0x1b9242(0x140)])return;const _0x55df96=this[_0x1b9242(0x13f)](_0x5c006[_0x1b9242(0xf0)]),_0x4c4fee=this[_0x1b9242(0x1ac)][_0x1b9242(0x122)](_0x55df96);_0x4c4fee?(this[_0x1b9242(0x17c)]={'x':_0x5c006[_0x1b9242(0x128)]['x'],'y':_0x5c006[_0x1b9242(0x128)]['y']},this[_0x1b9242(0x12c)]=this[_0x1b9242(0x1d8)](_0x4c4fee)):(this[_0x1b9242(0x17c)]=null,this[_0x1b9242(0x12c)]=null);}),this[_0x51e9bc(0x186)](this[_0x51e9bc(0x1a1)][_0x51e9bc(0x202)][_0x51e9bc(0x118)][_0x51e9bc(0x20e)],_0x51e9bc(0x1b8),(_0xbbfb12,_0x1e5547)=>{const _0x1e7082=_0x51e9bc,_0x390627=this[_0x1e7082(0x13f)](_0x1e5547[_0x1e7082(0xf0)]),_0x3df050=this[_0x1e7082(0x1ac)][_0x1e7082(0x122)](_0x390627);_0x3df050?(this[_0x1e7082(0x17c)]={'x':_0x1e5547[_0x1e7082(0x128)]['x'],'y':_0x1e5547[_0x1e7082(0x128)]['y']},_0x3df050===this[_0x1e7082(0x140)]?this[_0x1e7082(0x149)][_0x1e7082(0x1d9)]():this[_0x1e7082(0x140)]=_0x3df050):(this[_0x1e7082(0x17c)]=null,this[_0x1e7082(0x140)]=null);});}[_0x4aab99(0x13f)](_0x32e530){const _0x1ab1ea=_0x4aab99;do{const _0x3bdaf1=_0x32e530[_0x1ab1ea(0x20d)](_0x1ab1ea(0x206));if(_0x3bdaf1)return _0x3bdaf1;_0x32e530=_0x32e530[_0x1ab1ea(0x21c)];}while(_0x32e530);return null;}[_0x4aab99(0x1f6)](){const _0x363b7e=_0x4aab99;this[_0x363b7e(0x1a1)][_0x363b7e(0x205)][_0x363b7e(0x13a)](_0x42f67c=>{const _0x3a6f9b=_0x363b7e;for(const _0x5200d4 of this[_0x3a6f9b(0x1a1)][_0x3a6f9b(0x205)][_0x3a6f9b(0x148)])_0x42f67c[_0x3a6f9b(0x1a3)](_0x5200d4);});}}function et(_0x1a059e,_0x15d307){return(_0xec2489,_0x498036,_0x55ff98)=>{const _0x4c80e6=_0x11a1;if(!_0x55ff98[_0x4c80e6(0x1eb)][_0x4c80e6(0x1b3)](_0x498036[_0x4c80e6(0x139)],_0xec2489[_0x4c80e6(0x18c)]))return;const _0x38a32d=_0x498036[_0x4c80e6(0x139)][_0x4c80e6(0x190)](),_0x27273e=_0x498036[_0x4c80e6(0x139)][_0x4c80e6(0x22e)],_0x31aa29=_0x1a059e[_0x4c80e6(0x205)][_0x4c80e6(0x1b9)];let _0x535e89=null,_0x3e3a64=null,_0x1e42ac=!0x1,_0x1c4f7c=!0x1;for(const _0x31261c of _0x38a32d){const _0x38a361=_0x31261c[_0x4c80e6(0x107)];_0x1e42ac=_0x1e42ac||_0x31aa29[_0x4c80e6(0x1b5)](_0x38a361);const _0x22b371=_0x55ff98[_0x4c80e6(0x1f5)][_0x4c80e6(0x1fc)](_0x38a361);if(_0x22b371&&_0x22b371[_0x4c80e6(0x15f)](_0x4c80e6(0x161)))return;_0x4c80e6(0x116)==_0x31261c[_0x4c80e6(0x14a)]&&(_0x31aa29[_0x4c80e6(0x11d)](_0x38a361)&&!_0x31aa29[_0x4c80e6(0x102)](_0x38a361)&&(_0x38a361[_0x4c80e6(0x10c)]||_0x27273e[_0x4c80e6(0x110)]?_0x535e89&&_0x535e89[_0x4c80e6(0x21c)]==_0x38a361||(_0x535e89=_0x38a361,_0xdaaff6(_0x31261c[_0x4c80e6(0x1d1)]),_0x1c4f7c=!0x0):_0x3e3a64=_0x3e3a64||_0x31261c[_0x4c80e6(0x1d1)]));}function _0xdaaff6(_0x43517f){const _0x2a7e1d=_0x4c80e6,_0x25baf3=_0x55ff98[_0x2a7e1d(0x1f5)][_0x2a7e1d(0x194)](_0x43517f),_0x21f4e5=_0x55ff98[_0x2a7e1d(0xe5)][_0x2a7e1d(0xfc)](_0x2a7e1d(0x100),{'class':_0x2a7e1d(0x120)+_0x15d307});_0x55ff98[_0x2a7e1d(0xe5)][_0x2a7e1d(0x13b)](_0x25baf3,_0x21f4e5),_0x55ff98[_0x2a7e1d(0x1f5)][_0x2a7e1d(0xf2)](_0x21f4e5,_0x498036[_0x2a7e1d(0x16a)]);}_0x1e42ac||_0x1c4f7c||!_0x3e3a64||_0xdaaff6(_0x3e3a64);};}export class RestoreRevisionCommand extends _0x91912f{constructor(_0x3a470f){const _0x504e9e=_0x4aab99;super(_0x3a470f);const _0x2658cb=_0x3a470f[_0x504e9e(0x168)][_0x504e9e(0x122)](d);this[_0x504e9e(0x1de)]=!0x1,this[_0x504e9e(0x186)](_0x2658cb,_0x504e9e(0x1ee),()=>this[_0x504e9e(0x171)]()),this[_0x504e9e(0x186)](_0x2658cb,_0x504e9e(0x195),()=>this[_0x504e9e(0x171)]());}[_0x4aab99(0x193)](){const _0x225d23=_0x4aab99,_0x807048=this[_0x225d23(0x1a1)],_0x55014c=_0x807048[_0x225d23(0x168)][_0x225d23(0x122)](d),_0x461298=_0x55014c[_0x225d23(0x154)]?_0x55014c[_0x225d23(0x179)][_0x225d23(0x115)]:null;_0x807048[_0x225d23(0x13d)][_0x225d23(0x122)](_0x225d23(0x1f2))[_0x225d23(0x10d)](_0x461298);}[_0x4aab99(0x171)](){const _0x4b66fb=_0x4aab99,{isReady:_0x17f0d4,isEnabled:_0x2d88a6}=this[_0x4b66fb(0x1a1)][_0x4b66fb(0x168)][_0x4b66fb(0x122)](d);this[_0x4b66fb(0x12b)]=_0x17f0d4&&_0x2d88a6;}}export class ShowChangeCommand extends _0x91912f{constructor(_0x102fde,{direction:_0x972682}){const _0x406682=_0x4aab99;super(_0x102fde);const _0x3a3576=_0x102fde[_0x406682(0x168)][_0x406682(0x122)](d);this[_0x406682(0x1de)]=!0x1,this[_0x406682(0x1bf)]=_0x406682(0x106)===_0x972682?0x1:-0x1,this[_0x406682(0x186)](_0x3a3576,_0x406682(0x1ee),()=>this[_0x406682(0x171)]()),this[_0x406682(0x186)](_0x3a3576,_0x406682(0x195),()=>this[_0x406682(0x171)]()),this[_0x406682(0x186)](_0x3a3576,_0x406682(0x129),()=>this[_0x406682(0x171)]());}[_0x4aab99(0x193)](){const _0x592934=_0x4aab99,_0x194859=this[_0x592934(0x1a1)],_0x15788d=_0x194859[_0x592934(0x168)][_0x592934(0x122)](d),{isNavigationMode:_0x310637,currentChangeNumber:_0x4913b7}=_0x15788d;let _0xc2969b;if(_0x15788d[_0x592934(0x140)]=_0x310637?_0x15788d[_0x592934(0x179)][_0x592934(0x1a7)][_0x592934(0x122)](_0x4913b7+this[_0x592934(0x1bf)]):_0x15788d[_0x592934(0x179)][_0x592934(0x1a7)][_0x592934(0x12f)],_0x15788d[_0x592934(0x140)][_0x592934(0x104)][_0x592934(0x21b)])_0xc2969b=_0x194859[_0x592934(0x202)][_0x592934(0x118)][_0x592934(0x10a)](_0x15788d[_0x592934(0x140)][_0x592934(0x1a9)]);else{const _0x5dec54=_0x194859[_0x592934(0x205)][_0x592934(0x148)][_0x592934(0x122)](_0x592934(0x1ad)+_0x15788d[_0x592934(0x140)]['id']);_0xc2969b=_0x7e9ef5(_0x194859[_0x592934(0x202)],_0x5dec54);}_0x5226c7({'target':_0xc2969b,'viewportOffset':0x28});}[_0x4aab99(0x171)](){const _0x47d029=_0x4aab99,{isNavigationMode:_0x202f3e,currentChangeNumber:_0x382611,numberOfChanges:_0x2a08a2,isReady:_0x1cf74d,isEnabled:_0x25061d}=this[_0x47d029(0x1a1)][_0x47d029(0x168)][_0x47d029(0x122)](d);this[_0x47d029(0x12b)]=!!(_0x25061d&&_0x1cf74d&&_0x2a08a2)&&(!_0x202f3e||(0x1===this[_0x47d029(0x1bf)]?_0x382611<_0x2a08a2-0x1:_0x382611>0x0));}}
|
|
23
|
+
function _0x5806(_0x13910e,_0x21c79f){const _0x5ccbbf=_0x5ccb();return _0x5806=function(_0x580631,_0x3fd1a6){_0x580631=_0x580631-0x14d;let _0x1d0e34=_0x5ccbbf[_0x580631];return _0x1d0e34;},_0x5806(_0x13910e,_0x21c79f);}const _0x3c66c1=_0x5806;(function(_0x43061e,_0x1bb3c9){const _0x2fe471=_0x5806,_0x1f4bf5=_0x43061e();while(!![]){try{const _0x13e64b=-parseInt(_0x2fe471(0x1ee))/0x1+-parseInt(_0x2fe471(0x1d6))/0x2*(-parseInt(_0x2fe471(0x244))/0x3)+parseInt(_0x2fe471(0x1c0))/0x4*(-parseInt(_0x2fe471(0x154))/0x5)+parseInt(_0x2fe471(0x266))/0x6*(parseInt(_0x2fe471(0x26c))/0x7)+parseInt(_0x2fe471(0x281))/0x8+-parseInt(_0x2fe471(0x295))/0x9+-parseInt(_0x2fe471(0x18a))/0xa;if(_0x13e64b===_0x1bb3c9)break;else _0x1f4bf5['push'](_0x1f4bf5['shift']());}catch(_0x28385a){_0x1f4bf5['push'](_0x1f4bf5['shift']());}}}(_0x5ccb,0xcc894));import{Plugin as _0xf83554,Command as _0x5952a8}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x30fd47}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3ae256}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x5ec47,Element as _0x4e2666,Text as _0x505b60,ViewDocumentFragment as _0x4eb655,ViewText as _0x242bb3,ViewElement as _0x3870e3,ViewContainerElement as _0x5376f7,ViewAttributeElement as _0x2b8a95,ViewEmptyElement as _0x361ff3,ViewRawElement as _0x9b89a4,ViewUIElement as _0x278497}from'ckeditor5/src/engine.js';import{Users as _0x302a61,getMarkerDomElement as _0x5b88b7}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x347e1d from'./ui/revisionviewer/changedetailsview.js';function _0x5ccb(){const _0x3f7468=['backward','unshift','attributes','attributesBefore','hasClass','ck-suggestion-preview-marker','activeView','string','modelRange','isEqual','top','_makeModelFromTape','_fixObsoleteTags','offsetSize','index','useFillerType','isAdded','isBefore','toViewPosition','split','restoreRevisionCallback','locale','markersEnd','wrap','showStack','schema','getChild','createAttributeElement','endIndex','stop','startIndex','data','slice','isBlock','abs','ck-suggestion-marker-','restoreRevision','map','code','end','markerToHighlight','clear','mapper','name','change:isReady','dataDowncast','isAtStart','concat','getRootNames','marked','adapter','createUIElement','document','done','revision-viewer','removeMarker:revision','_setDistance','nextPosition','maxOffset','30bgmtvd','config','createPositionBefore','hasAttribute','ck-suggestion-marker','isRemoved','mousedown','_initInteractions','revision-suggestion:','keys','getItems','updatePosition','userId','catch','_balloon','vid_start','includes','numberOfChanges','revision-comment:','getRoot','refresh','ck-revision-history-root-add','viewItem','all','addHighlight','first','addMarker:revision','markerRange','change:numberOfChanges','getClientRects','range','startsWith','authors','addMarker:revision-suggestion:deletion','4141038ASHfZs','parse','set','_removeMissingPairs','activeChange','_markSuggestions','14pbyunq','_makeTape','observeMarkers','_getViewForChange','isSuggestion','values','getIndex','pop','span','ck-revision-history-root-remove','insertions','attribute:vid','_appendChild','domEvent','isOnRoot','deletions','mapViewToDom','showNextChange','ck-revision-history-root--active','ck-suggestion-marker-split','RevisionsRepository','11369072dIhOFi','ck-suggestion-preview-marker-','consume','data-change-id','currentChangeNumber','revisionHistoryLabel','_markMarkers','revision-end','reconvertMarker','createRangeIn','diff','removeMarker','oldRevisionId','showPreviousChange','error','_activeViewTarget','_markInsertions','get','flat','getDomRoot','686907qRewDS','removeAttribute','has','rootName','removeClass','element','softBreak','target','high','selection','isReady','ck-editor__editable__overlay','processor','suggestion:','48475GXlJSn','model','change:activeChange','collaboration.channelId','addRoot','_data','mouseover','isLimit','editingDowncast','attachChange','start','enableReadOnlyMode','indexOf','_getRevisionsRange','-new','_getViewObj','newRevisionId','toModel','_cleanUp','right','low','_changeIdToChange','enqueueChange','addRevisionData','plugins','isInline','vid','markerNameToElements','listenTo','getRevision','change:isEnabled','next','object','revisionHistoryAttachChange','isEnabled','isNavigationMode','getCustomProperty','splice','toViewRange','push','filter','pluginName','upcast','uiElement','type','length','isAtEnd','getAttribute','_revisions','conversion','roots','requires','isCollapsed','then','17918100pehQBf','shift','addClass','vid_end','findIndex','change:activeView','isIncorrect','comment','delete','_markMismatchedRemovedTags','isAddSuggestion','toViewElement','revision-start','parent','test','markerName','remove','WidgetToolbarRepository','affectsData','distance','editing','createRevision','getRevisionData','commands','data-revision-','forceDisabled','pairId','unbindElementFromMarkerName','_refreshStartEndIndex','insert','add','_findChangeIdFromDomTarget','detachRoot','text','_update','getWalker','setAttribute','checkAttribute','RevisionViewer','destroy','bindElementToMarker','isAttached','getAttributes','createRange','merge','ck-suggestion-marker--active','_getDiff','addMarker:revision-suggestion:insertion','highest','writer','return','side','view','changes','156ESgtDs','isRemoveSuggestion','addRevision','_sortAndFilterDiffChanges','_setConversion','consumable','attributesAfter','_getChangeFromId','revisionHistory','createPositionFromPath','markers','ck-suggestion-marker-merge','nodeAfter','insertion','from','bottom','bind','forEach','diffData','domConverter','toData','ck-revision-history-root-','125914kIwbMW','left','revision-suggestion','elementStart','_makeModelFromViewString','revision:','_joinTapes','default','forward','nextSibling','isContent','markerToData','suggestion','editor','find','_step','item','repository','deletion','downcastDispatcher','removeMarker:revision-suggestion','_cleanMarkers','_processTape','loadRevisionData','347032ASbgVN','execute','sort','elementEnd','change','children','revision','_threeWayMerge','for','previousPosition','_removeUnsupportedChanges','resolve','compare','changeId','dataToMarker','init','isAfter','_removeRevisionMarkers','getRevisionRootsAttributes','isObject','element:pre','_setChanges','elementToAttribute','_changeView','POSITIVE_INFINITY','level','markersStart'];_0x5ccb=function(){return _0x3f7468;};return _0x5ccb();}import _0x5627df from'./revisionsrepository.js';import _0x4716dc from'./changeitem.js';import{default as _0x594472}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x7e1b08}from'lodash-es';const tt={'c':_0x5376f7,'a':_0x2b8a95,'e':_0x361ff3,'r':_0x9b89a4,'u':_0x278497};export default class d extends _0xf83554{static get[_0x3c66c1(0x17d)](){const _0x991486=_0x3c66c1;return _0x991486(0x1b0);}static get[_0x3c66c1(0x187)](){return[_0x302a61,_0x3ae256,_0x5627df];}constructor(_0x328190){const _0x1b84e5=_0x3c66c1;super(_0x328190),this[_0x1b84e5(0x1e7)]=this[_0x1b84e5(0x1e3)][_0x1b84e5(0x16c)][_0x1b84e5(0x292)](_0x1b84e5(0x280)),this[_0x1b84e5(0x268)](_0x1b84e5(0x26a),null),this[_0x1b84e5(0x268)](_0x1b84e5(0x20f),null),this[_0x1b84e5(0x290)]=null,this[_0x1b84e5(0x268)](_0x1b84e5(0x28b),null),this[_0x1b84e5(0x268)](_0x1b84e5(0x150),!0x1),this[_0x1b84e5(0x268)](_0x1b84e5(0x176),!0x0),this['on'](_0x1b84e5(0x172),(_0x1458a1,_0x4329d3,_0x44cb53)=>{const _0x599ff6=_0x1b84e5;this[_0x599ff6(0x26a)]=null,this[_0x599ff6(0x20f)]=null,this[_0x599ff6(0x1e3)][_0x599ff6(0x19e)][_0x599ff6(0x1be)][_0x599ff6(0x1f2)](_0x1dc5d7=>{const _0x52b33a=_0x599ff6;for(const _0x99b83f of this[_0x52b33a(0x1e3)][_0x52b33a(0x19e)][_0x52b33a(0x1be)][_0x52b33a(0x23d)][_0x52b33a(0x186)])_0x44cb53?_0x1dc5d7[_0x52b33a(0x299)](_0x52b33a(0x151),_0x99b83f):_0x1dc5d7[_0x52b33a(0x18c)](_0x52b33a(0x151),_0x99b83f);});}),this[_0x1b84e5(0x1d0)](_0x1b84e5(0x177))['to'](this,_0x1b84e5(0x26a),_0x1fdd98=>null!==_0x1fdd98),this[_0x1b84e5(0x1d0)](_0x1b84e5(0x285))['to'](this,_0x1b84e5(0x150),this,_0x1b84e5(0x28b),this,_0x1b84e5(0x26a),(_0x7f7b74,_0x55f584,_0x3c6a09)=>_0x7f7b74&&_0x3c6a09?_0x55f584[_0x1b84e5(0x1bf)][_0x1b84e5(0x272)](_0x3c6a09):0x0),this[_0x1b84e5(0x1d0)](_0x1b84e5(0x255))['to'](this,_0x1b84e5(0x150),this,_0x1b84e5(0x28b),(_0x4db784,_0x275a6d)=>_0x4db784?_0x275a6d[_0x1b84e5(0x1bf)][_0x1b84e5(0x181)]:0x0),this[_0x1b84e5(0x205)]=null,this[_0x1b84e5(0x169)]=new Map(),this[_0x1b84e5(0x23b)]=null,this[_0x1b84e5(0x252)]=this[_0x1b84e5(0x1e3)][_0x1b84e5(0x16c)][_0x1b84e5(0x292)](_0x3ae256);}[_0x3c66c1(0x1fd)](){const _0x29858e=_0x3c66c1,_0x1526b8=this[_0x29858e(0x1e3)],_0x455220=new ShowChangeCommand(_0x1526b8,{'direction':_0x29858e(0x209)}),_0x25256f=new ShowChangeCommand(_0x1526b8,{'direction':_0x29858e(0x1de)});(_0x1526b8[_0x29858e(0x1a1)][_0x29858e(0x1a8)](_0x29858e(0x28e),_0x455220),_0x1526b8[_0x29858e(0x1a1)][_0x29858e(0x1a8)](_0x29858e(0x27d),_0x25256f),_0x1526b8[_0x29858e(0x1a1)][_0x29858e(0x1a8)](_0x29858e(0x22d),new RestoreRevisionCommand(_0x1526b8)),this['on'](_0x29858e(0x260),()=>{const _0xfafe7=_0x29858e;_0x455220[_0xfafe7(0x258)](),_0x25256f[_0xfafe7(0x258)]();}),this[_0x29858e(0x1c4)](),this[_0x29858e(0x24b)](),_0x1526b8[_0x29858e(0x15f)](_0x29858e(0x23f)),_0x1526b8[_0x29858e(0x16c)][_0x29858e(0x297)](_0x29858e(0x19b)))&&_0x1526b8[_0x29858e(0x16c)][_0x29858e(0x292)](_0x29858e(0x19b))[_0x29858e(0x1a3)](_0x29858e(0x23f));}async[_0x3c66c1(0x1a0)](_0x55518d){const _0x23f5fb=_0x3c66c1;await this[_0x23f5fb(0x1ed)](_0x55518d);const _0x3d1513={};for(const _0x4e9802 in _0x55518d[_0x23f5fb(0x1d2)]){if(_0x55518d[_0x23f5fb(0x1d2)][_0x4e9802][_0x23f5fb(0x15d)]&&!_0x55518d[_0x23f5fb(0x1d2)][_0x4e9802][_0x23f5fb(0x15d)][_0x23f5fb(0x1b3)])continue;const _0xf3325=this[_0x23f5fb(0x1ff)](JSON[_0x23f5fb(0x267)](_0x55518d[_0x23f5fb(0x1d2)][_0x4e9802][_0x23f5fb(0x276)])),_0x355820=this[_0x23f5fb(0x1e3)][_0x23f5fb(0x19e)][_0x23f5fb(0x1be)][_0x23f5fb(0x23d)],_0x2b0fe6=new _0x4eb655(_0x355820,_0xf3325[_0x23f5fb(0x22e)](_0x4b1747=>this[_0x23f5fb(0x163)](_0x4b1747)));this[_0x23f5fb(0x1e3)][_0x23f5fb(0x228)][_0x23f5fb(0x152)][_0x23f5fb(0x218)](_0x23f5fb(0x23a)),_0x3d1513[_0x4e9802]=this[_0x23f5fb(0x1e3)][_0x23f5fb(0x228)][_0x23f5fb(0x152)][_0x23f5fb(0x1d4)](_0x2b0fe6),this[_0x23f5fb(0x1e3)][_0x23f5fb(0x228)][_0x23f5fb(0x152)][_0x23f5fb(0x218)](_0x23f5fb(0x1dd));}return _0x3d1513;}async[_0x3c66c1(0x200)](_0x372e69){const _0x2471da=_0x3c66c1;await this[_0x2471da(0x1ed)](_0x372e69);const _0x328e14={};for(const _0x6ec61e in _0x372e69[_0x2471da(0x1d2)])_0x372e69[_0x2471da(0x1d2)][_0x6ec61e][_0x2471da(0x15d)]&&!_0x372e69[_0x2471da(0x1d2)][_0x6ec61e][_0x2471da(0x15d)][_0x2471da(0x1b3)]||(_0x328e14[_0x6ec61e]=_0x372e69[_0x2471da(0x1d2)][_0x6ec61e][_0x2471da(0x1c6)]||{});return _0x328e14;}[_0x3c66c1(0x1ff)](_0x452326){const _0x1bf7bf=_0x3c66c1;return(_0x452326=_0x452326[_0x1bf7bf(0x17c)](_0x4f2738=>!_0x4f2738[_0x1bf7bf(0x234)]||_0x1bf7bf(0x196)!==_0x4f2738[_0x1bf7bf(0x234)]&&_0x1bf7bf(0x288)!==_0x4f2738[_0x1bf7bf(0x234)]))[_0x1bf7bf(0x1d1)](_0x552854=>{const _0x232568=_0x1bf7bf;_0x232568(0x210)!=typeof _0x552854&&(_0x552854[_0x232568(0x1f3)]=this[_0x232568(0x1ff)](_0x552854[_0x232568(0x1f3)]),_0x552854[_0x232568(0x20b)]=_0x552854[_0x232568(0x20b)][_0x232568(0x17c)](_0x225103=>!_0x225103[0x0][_0x232568(0x263)](_0x232568(0x1a2))));}),_0x452326;}async[_0x3c66c1(0x1fa)](_0x42834b,_0x494d26,_0x35e545=!0x1){const _0x2b6f72=_0x3c66c1;if(!this[_0x2b6f72(0x176)])return;const _0x2cf4a5=this[_0x2b6f72(0x28b)],_0x2c5440=this[_0x2b6f72(0x1e7)],_0x36ea3b=_0x2b6f72(0x210)==typeof _0x42834b?_0x2c5440[_0x2b6f72(0x171)](_0x42834b):_0x42834b,_0xbd8d23=_0x2b6f72(0x210)==typeof _0x494d26?_0x2c5440[_0x2b6f72(0x171)](_0x494d26):_0x494d26,_0x372bdb=_0x36ea3b['id'],_0x27e059=_0xbd8d23?_0xbd8d23['id']:null;if(!_0x35e545&&this[_0x2b6f72(0x28b)]&&this[_0x2b6f72(0x28b)][_0x2b6f72(0x164)]===_0x372bdb&&this[_0x2b6f72(0x28b)][_0x2b6f72(0x28d)]===_0x27e059)return Promise[_0x2b6f72(0x1f9)]();this[_0x2b6f72(0x150)]=!0x1,this[_0x2b6f72(0x20f)]=null,this[_0x2b6f72(0x26a)]=null,this[_0x2b6f72(0x28b)]=new _0x594472(_0x372bdb,_0x27e059);const _0x58fd66=this[_0x2b6f72(0x161)](_0x36ea3b,_0xbd8d23,!0x0)[_0x2b6f72(0x22e)](_0x237e75=>this[_0x2b6f72(0x1ed)](_0x237e75));return _0x58fd66[_0x2b6f72(0x17b)](new Promise(_0x3d2857=>{setTimeout(_0x3d2857,0x14);})),Promise[_0x2b6f72(0x25b)](_0x58fd66)[_0x2b6f72(0x189)](()=>{const _0x4d757f=_0x2b6f72;if(!this[_0x4d757f(0x176)])return;this[_0x4d757f(0x166)]();const _0x118507=this[_0x4d757f(0x1b8)](_0x372bdb,_0x27e059);for(const _0x5f5df2 of _0x118507[_0x4d757f(0x1bf)])this[_0x4d757f(0x169)][_0x4d757f(0x268)](_0x5f5df2['id'],_0x5f5df2);this[_0x4d757f(0x1e3)][_0x4d757f(0x155)][_0x4d757f(0x16a)]({'isUndoable':!0x1},_0x327b06=>{const _0x316cc4=_0x4d757f;for(const _0x341132 of this[_0x316cc4(0x1e3)][_0x316cc4(0x155)][_0x316cc4(0x23d)][_0x316cc4(0x239)]())_0x327b06[_0x316cc4(0x1aa)](_0x341132);for(const _0x2fa605 of Object[_0x316cc4(0x24d)](_0x118507[_0x316cc4(0x155)])){const _0x5b5f6c=_0x327b06[_0x316cc4(0x158)](_0x2fa605);for(const _0x1e1751 of Object[_0x316cc4(0x24d)](_0x118507[_0x316cc4(0x20b)][_0x2fa605]))_0x327b06[_0x316cc4(0x1ae)](_0x1e1751,_0x118507[_0x316cc4(0x20b)][_0x2fa605][_0x1e1751],_0x5b5f6c);_0x327b06[_0x316cc4(0x1a7)](_0x118507[_0x316cc4(0x155)][_0x2fa605],_0x5b5f6c,0x0);}}),this[_0x4d757f(0x28b)][_0x4d757f(0x203)](this[_0x4d757f(0x1c3)](_0x118507[_0x4d757f(0x1bf)])),this[_0x4d757f(0x150)]=!0x0;})[_0x2b6f72(0x251)](_0x4dba82=>{const _0x4d80f3=_0x2b6f72;console[_0x4d80f3(0x28f)](_0x4dba82),this[_0x4d80f3(0x166)](),_0x2cf4a5&&(this[_0x4d80f3(0x28b)]=_0x2cf4a5),this[_0x4d80f3(0x150)]=!0x0;});}[_0x3c66c1(0x16b)](_0x5137db,_0x4b94fb){const _0x15d0dd=_0x3c66c1,_0x3a6ed7=this[_0x15d0dd(0x1e7)][_0x15d0dd(0x19f)](_0x5137db);return _0x3a6ed7['on'](_0x15d0dd(0x1ac),(_0x55eba2,_0x25530f,_0x26b4a5)=>_0x4b94fb(_0x25530f,_0x26b4a5,_0x3a6ed7)),this[_0x15d0dd(0x1e7)][_0x15d0dd(0x1c2)](_0x3a6ed7),_0x3a6ed7;}[_0x3c66c1(0x1ed)](_0xf4ae40){const _0x407544=_0x3c66c1;if(!_0xf4ae40||_0xf4ae40[_0x407544(0x1d2)])return Promise[_0x407544(0x1f9)]();{const _0x1d8214=this[_0x407544(0x1e3)][_0x407544(0x245)][_0x407544(0x292)](_0x407544(0x157));return this[_0x407544(0x23b)][_0x407544(0x171)]({'channelId':_0x1d8214,'revisionId':_0xf4ae40['id']})[_0x407544(0x189)](_0x100a30=>{const _0x3084aa=_0x407544;_0xf4ae40[_0x3084aa(0x1ac)]({'diffData':_0x100a30[_0x3084aa(0x1d2)]},!0x0);});}}[_0x3c66c1(0x166)](){const _0xa8926d=_0x3c66c1;this[_0xa8926d(0x26a)]=null,this[_0xa8926d(0x1eb)](),this[_0xa8926d(0x205)]&&this[_0xa8926d(0x205)][_0xa8926d(0x1b1)](),this[_0xa8926d(0x205)]=null,this[_0xa8926d(0x169)][_0xa8926d(0x232)](),this[_0xa8926d(0x1e3)][_0xa8926d(0x155)][_0xa8926d(0x16a)]({'isUndoable':!0x1},_0x2a29ea=>{const _0x5ba297=_0xa8926d;for(const _0x4ae35e of this[_0x5ba297(0x1e3)][_0x5ba297(0x155)][_0x5ba297(0x23d)][_0x5ba297(0x239)]())_0x2a29ea[_0x5ba297(0x1aa)](_0x4ae35e);});}[_0x3c66c1(0x1c3)](_0x4fa419){const _0xe11785=_0x3c66c1,_0x37a46f=[],_0x59a6c3=new Map();for(const _0x53daf8 of this[_0xe11785(0x1e3)][_0xe11785(0x155)][_0xe11785(0x23d)][_0xe11785(0x239)]()){const _0x9f9a63=this[_0xe11785(0x1e3)][_0xe11785(0x19e)][_0xe11785(0x1be)][_0xe11785(0x294)](_0x53daf8);if(!_0x9f9a63)continue;const _0xab42d4=_0x9f9a63[_0xe11785(0x261)]()[_0xe11785(0x1e6)](0x0);_0xab42d4&&(_0x37a46f[_0xe11785(0x17b)](_0x53daf8),_0x59a6c3[_0xe11785(0x268)](_0x53daf8,_0xab42d4));}return _0x37a46f[_0xe11785(0x1f0)]((_0x3a6524,_0x13086c)=>{const _0x4cfa05=_0xe11785,_0xbac889=_0x59a6c3[_0x4cfa05(0x292)](_0x3a6524),_0x76157e=_0x59a6c3[_0x4cfa05(0x292)](_0x13086c);return _0xbac889['y']-_0x76157e['y']||_0xbac889['x']-_0x76157e['x'];}),(_0x4fa419=_0x4fa419[_0xe11785(0x17c)](_0x39b9be=>_0x37a46f[_0xe11785(0x254)](_0x39b9be[_0xe11785(0x298)])))[_0xe11785(0x1f0)]((_0x513021,_0x1ca36f)=>_0x37a46f[_0xe11785(0x160)](_0x513021[_0xe11785(0x298)])-_0x37a46f[_0xe11785(0x160)](_0x1ca36f[_0xe11785(0x298)])),_0x4fa419;}[_0x3c66c1(0x26d)](_0x2475d5){const _0x161990=_0x3c66c1,_0x29cdcb=Array[_0x161990(0x1ce)](_0x2475d5[_0x161990(0x1ca)])[_0x161990(0x17c)](([_0xd59400,_0x442309])=>_0xd59400[_0x161990(0x263)](_0x161990(0x1db))&&!_0x442309[_0x161990(0x188)]),_0x5df019=Array[_0x161990(0x1ce)](this[_0x161990(0x1e3)][_0x161990(0x155)][_0x161990(0x28a)](_0x2475d5)[_0x161990(0x1ad)]({'singleCharacters':!0x0}));if(0x0!=_0x29cdcb[_0x161990(0x181)])for(const _0x46eb62 of _0x5df019){const [_0x2d79f8,_0x1ccc1d]=_0x29cdcb[0x0],[,_0x18d34c,_0x52c5be]=_0x2d79f8[_0x161990(0x21c)](':');if(_0x1ccc1d[_0x161990(0x230)][_0x161990(0x212)](_0x46eb62[_0x161990(0x242)])&&_0x29cdcb[_0x161990(0x18b)](),(_0x46eb62[_0x161990(0x1f7)][_0x161990(0x212)](_0x1ccc1d[_0x161990(0x15e)])||_0x46eb62[_0x161990(0x1f7)][_0x161990(0x1fe)](_0x1ccc1d[_0x161990(0x15e)]))&&(_0x161990(0x1cd)==_0x18d34c?_0x46eb62[_0x161990(0x219)]={'userId':_0x52c5be}:_0x161990(0x1e8)==_0x18d34c&&(_0x46eb62[_0x161990(0x249)]={'userId':_0x52c5be})),0x0==_0x29cdcb[_0x161990(0x181)])break;}return _0x5df019;}[_0x3c66c1(0x1a6)](_0x3be34f){const _0x4f0622=_0x3c66c1,_0x37ab40=new Map();for(let _0x91976=0x0;_0x91976<_0x3be34f[_0x4f0622(0x181)];_0x91976++)_0x4f0622(0x1ab)===_0x3be34f[_0x91976][_0x4f0622(0x180)]?(_0x3be34f[_0x91976][_0x4f0622(0x1e6)][_0x4f0622(0x227)]=_0x91976,_0x3be34f[_0x91976][_0x4f0622(0x1e6)][_0x4f0622(0x225)]=_0x91976):(_0x4f0622(0x1d9)===_0x3be34f[_0x91976][_0x4f0622(0x180)]?_0x3be34f[_0x91976][_0x4f0622(0x1e6)][_0x4f0622(0x227)]=_0x91976:_0x4f0622(0x1f1)===_0x3be34f[_0x91976][_0x4f0622(0x180)]&&(_0x3be34f[_0x91976][_0x4f0622(0x1e6)][_0x4f0622(0x225)]=_0x91976),_0x37ab40[_0x4f0622(0x268)](_0x3be34f[_0x91976]['id'],_0x91976));for(const _0x3a0a62 of _0x37ab40[_0x4f0622(0x271)]())_0x4f0622(0x1d9)===_0x3be34f[_0x3a0a62][_0x4f0622(0x180)]?_0x3be34f[_0x3a0a62][_0x4f0622(0x1e6)][_0x4f0622(0x225)]=_0x37ab40[_0x4f0622(0x292)](_0x3be34f[_0x3a0a62][_0x4f0622(0x1a4)]):_0x4f0622(0x1f1)===_0x3be34f[_0x3a0a62][_0x4f0622(0x180)]&&(_0x3be34f[_0x3a0a62][_0x4f0622(0x1e6)][_0x4f0622(0x227)]=_0x37ab40[_0x4f0622(0x292)](_0x3be34f[_0x3a0a62][_0x4f0622(0x1a4)]));}[_0x3c66c1(0x1ec)](_0x596e6c){const _0x180fbd=_0x3c66c1;for(let _0x196b51=0x0;_0x196b51<_0x596e6c[_0x180fbd(0x181)];_0x196b51++){if(_0x180fbd(0x1d9)===_0x596e6c[_0x196b51][_0x180fbd(0x180)])_0x596e6c[_0x196b51][_0x180fbd(0x1e6)][_0x180fbd(0x227)]=_0x196b51;else{if(_0x180fbd(0x1f1)===_0x596e6c[_0x196b51][_0x180fbd(0x180)]){_0x596e6c[_0x196b51][_0x180fbd(0x1e6)][_0x180fbd(0x225)]=_0x196b51;const _0x598356=_0x596e6c[_0x196b51][_0x180fbd(0x1e6)][_0x180fbd(0x227)];_0x596e6c[_0x598356][_0x180fbd(0x1a4)]=_0x596e6c[_0x196b51]['id'],_0x596e6c[_0x196b51][_0x180fbd(0x1a4)]=_0x596e6c[_0x598356]['id'];}else _0x596e6c[_0x196b51][_0x180fbd(0x1e6)][_0x180fbd(0x227)]=_0x196b51,_0x596e6c[_0x196b51][_0x180fbd(0x1e6)][_0x180fbd(0x225)]=_0x196b51,_0x596e6c[_0x196b51][_0x180fbd(0x1a4)]=null;}_0x596e6c[_0x196b51][_0x180fbd(0x208)]||(_0x596e6c[_0x196b51][_0x180fbd(0x208)]=[],_0x596e6c[_0x196b51][_0x180fbd(0x21f)]=[]);}}[_0x3c66c1(0x291)](_0xb25214,_0x4be0aa){const _0x2d7a47=_0x3c66c1,_0xc5da25=_0xb25214[_0x2d7a47(0x17c)](_0x98bc51=>!_0x98bc51[_0x2d7a47(0x219)]);for(let _0x22eaac=0x0;_0x22eaac<_0x4be0aa[_0x2d7a47(0x181)];_0x22eaac++)_0x4be0aa[_0x22eaac][_0x2d7a47(0x219)]&&(_0xc5da25[_0x22eaac][_0x2d7a47(0x219)]=_0x4be0aa[_0x22eaac][_0x2d7a47(0x219)]);}[_0x3c66c1(0x1da)](_0x4bb4d0){const _0x4319cd=_0x3c66c1,_0x4f7d9d=JSON[_0x4319cd(0x267)](_0x4bb4d0),_0x50aaca=this[_0x4319cd(0x1e3)][_0x4319cd(0x19e)][_0x4319cd(0x1be)][_0x4319cd(0x23d)],_0x120fc1=new _0x4eb655(_0x50aaca,_0x4f7d9d[_0x4319cd(0x22e)](_0x48a0cc=>this[_0x4319cd(0x163)](_0x48a0cc)));return this[_0x4319cd(0x1e3)][_0x4319cd(0x228)][_0x4319cd(0x165)](_0x120fc1);}[_0x3c66c1(0x163)](_0x3c12b1){const _0x23cbd0=_0x3c66c1,_0x29a278=this[_0x23cbd0(0x1e3)][_0x23cbd0(0x19e)][_0x23cbd0(0x1be)][_0x23cbd0(0x23d)];if(_0x23cbd0(0x210)==typeof _0x3c12b1)return new _0x242bb3(_0x29a278,_0x3c12b1);{const _0x8b5046=_0x3c12b1[_0x23cbd0(0x1f3)][_0x23cbd0(0x22e)](_0x2631e7=>this[_0x23cbd0(0x163)](_0x2631e7));return new(tt[_0x3c12b1[(_0x23cbd0(0x180))]]||_0x3870e3)(_0x29a278,_0x3c12b1[_0x23cbd0(0x234)],_0x3c12b1[_0x23cbd0(0x20b)],_0x8b5046);}}[_0x3c66c1(0x1b8)](_0x4647d5,_0x5205cb=null){const _0x3e405e=_0x3c66c1,_0x388e93=this[_0x3e405e(0x1e7)][_0x3e405e(0x171)](_0x4647d5),_0x424765=_0x5205cb?this[_0x3e405e(0x1e7)][_0x3e405e(0x171)](_0x5205cb):null,_0x19f70e=this[_0x3e405e(0x161)](_0x388e93,_0x424765),_0x51ea57=_0x19f70e[_0x19f70e[_0x3e405e(0x181)]-0x1],_0x33d3ed=new Map(),_0x4fee6b={'model':{},'attributes':{},'changes':[]},_0x513d5c=new Set(),_0x4bba57=new Map();for(let _0x4d7981=_0x19f70e[_0x3e405e(0x181)]-0x1;_0x4d7981>=0x0;_0x4d7981--){const _0x1bc3ed=_0x19f70e[_0x4d7981];for(const _0x1d06f8 of Object[_0x3e405e(0x24d)](_0x1bc3ed[_0x3e405e(0x1d2)]))if(_0x1bc3ed[_0x3e405e(0x1d2)][_0x1d06f8][_0x3e405e(0x15d)]){const _0x1b48f2=_0x1bc3ed[_0x3e405e(0x1d2)][_0x1d06f8][_0x3e405e(0x15d)];_0x1b48f2[_0x3e405e(0x1b3)]?(_0x513d5c[_0x3e405e(0x1a8)](_0x1d06f8),_0x4bba57[_0x3e405e(0x297)](_0x1d06f8)&&_0x4bba57[_0x3e405e(0x292)](_0x1d06f8)[_0x3e405e(0x250)]==_0x1b48f2[_0x3e405e(0x250)]?_0x4bba57[_0x3e405e(0x192)](_0x1d06f8):_0x4bba57[_0x3e405e(0x268)](_0x1d06f8,_0x1b48f2)):_0x4bba57[_0x3e405e(0x297)](_0x1d06f8)?(_0x513d5c[_0x3e405e(0x192)](_0x1d06f8),_0x4bba57[_0x3e405e(0x192)](_0x1d06f8)):(_0x513d5c[_0x3e405e(0x1a8)](_0x1d06f8),_0x4bba57[_0x3e405e(0x268)](_0x1d06f8,_0x1b48f2));}else _0x513d5c[_0x3e405e(0x1a8)](_0x1d06f8);}for(const _0x5906d7 of _0x513d5c){const _0x5362c5=_0x4bba57[_0x3e405e(0x297)](_0x5906d7)&&!_0x4bba57[_0x3e405e(0x292)](_0x5906d7)[_0x3e405e(0x1b3)];let _0x339297=_0x5362c5?_0x19f70e[_0x3e405e(0x181)]-0x1:0x0;const _0x3f978f=_0x5362c5?-0x1:0x1;for(;_0x19f70e[_0x339297];){const _0x5a41de=_0x19f70e[_0x339297];if(_0x5a41de[_0x3e405e(0x1d2)][_0x5906d7]){const _0x2eb6b4=_0x5362c5?_0x5a41de[_0x3e405e(0x1d2)][_0x5906d7][_0x3e405e(0x20c)]:_0x5a41de[_0x3e405e(0x1d2)][_0x5906d7][_0x3e405e(0x1c6)];_0x4fee6b[_0x3e405e(0x20b)][_0x5906d7]=_0x2eb6b4?_0x7e1b08(_0x2eb6b4):{};break;}_0x339297+=_0x3f978f;}}for(const _0x44b638 of _0x19f70e){_0x44b638[_0x3e405e(0x155)]={};for(const _0x4a0ec4 of _0x44b638[_0x3e405e(0x264)])_0x33d3ed[_0x3e405e(0x268)](_0x4a0ec4['id'],_0x4a0ec4);for(const _0x345ecd of _0x513d5c){const _0x5c8b4b=_0x44b638[_0x3e405e(0x1d2)][_0x345ecd]?_0x44b638[_0x3e405e(0x1d2)][_0x345ecd][_0x3e405e(0x276)]:'[]',_0x20cc67=_0x44b638[_0x3e405e(0x1d2)][_0x345ecd]?_0x44b638[_0x3e405e(0x1d2)][_0x345ecd][_0x3e405e(0x27b)]:'[]';_0x44b638[_0x3e405e(0x155)][_0x345ecd]={'insertions':this[_0x3e405e(0x1da)](_0x5c8b4b),'deletions':this[_0x3e405e(0x1da)](_0x20cc67)};}}for(const _0x61bd29 of _0x513d5c){let _0x2ed41b=null,_0x1830f0=0x0;const _0x209a5a=new Map(Array[_0x3e405e(0x1ce)](_0x388e93[_0x3e405e(0x155)][_0x61bd29][_0x3e405e(0x276)][_0x3e405e(0x1ca)])[_0x3e405e(0x17c)](([_0xb41b9e])=>!_0xb41b9e[_0x3e405e(0x263)](_0x3e405e(0x1db))));let _0x4b225e=0x0;for(const _0x35487f of _0x19f70e){const _0x58a9e6=this[_0x3e405e(0x26d)](_0x35487f[_0x3e405e(0x155)][_0x61bd29][_0x3e405e(0x276)]);_0x35487f==_0x388e93?(_0x2ed41b=_0x58a9e6,_0x1830f0=_0x2ed41b[_0x3e405e(0x181)],_0x2ed41b[_0x3e405e(0x1d1)](_0x2e0907=>{_0x2e0907['id']=_0x4b225e++;}),this[_0x3e405e(0x1ec)](_0x2ed41b)):this[_0x3e405e(0x291)](_0x2ed41b,_0x58a9e6);const _0x1f9a71=_0x2ed41b[_0x3e405e(0x17c)](_0x3022e2=>!_0x3022e2[_0x3e405e(0x219)])[_0x3e405e(0x22e)](_0xaf545=>_0xaf545['id']);let _0x5dc38c=0x0;const _0x4c6f14=this[_0x3e405e(0x26d)](_0x35487f[_0x3e405e(0x155)][_0x61bd29][_0x3e405e(0x27b)]);_0x4c6f14[_0x3e405e(0x1d1)](_0x10fb33=>{const _0x5b7303=_0x3e405e;_0x10fb33[_0x5b7303(0x249)]?_0x10fb33['id']=_0x1830f0++:_0x10fb33['id']=_0x1f9a71[_0x5dc38c++];}),this[_0x3e405e(0x1ec)](_0x4c6f14),this[_0x3e405e(0x241)](_0x2ed41b,_0x3e405e(0x219)),this[_0x3e405e(0x241)](_0x4c6f14,_0x3e405e(0x249)),_0x35487f==_0x388e93&&this[_0x3e405e(0x287)](_0x2ed41b,_0x209a5a),_0x2ed41b=this[_0x3e405e(0x1dc)](_0x2ed41b,_0x4c6f14),this[_0x3e405e(0x1a6)](_0x2ed41b),this[_0x3e405e(0x241)](_0x2ed41b,_0x3e405e(0x249));}_0x2ed41b=_0x2ed41b[_0x3e405e(0x17c)](_0x13cb54=>!(_0x13cb54[_0x3e405e(0x219)]&&_0x13cb54[_0x3e405e(0x249)]));const _0x4eab7d=new Map(_0x51ea57[_0x3e405e(0x155)][_0x61bd29][_0x3e405e(0x27b)][_0x3e405e(0x1ca)]),_0x4779c5=new Set(_0x209a5a[_0x3e405e(0x24d)]());for(const _0x14c237 of _0x4eab7d[_0x3e405e(0x24d)]())_0x4779c5[_0x3e405e(0x192)](_0x14c237);this[_0x3e405e(0x26b)](_0x2ed41b,_0x4779c5),this[_0x3e405e(0x215)](_0x2ed41b),_0x2ed41b=this[_0x3e405e(0x269)](_0x2ed41b),_0x2ed41b=this[_0x3e405e(0x193)](_0x2ed41b),_0x2ed41b=this[_0x3e405e(0x1f8)](_0x2ed41b);const {root:_0x134bc1,changes:_0x48120e}=this[_0x3e405e(0x214)](_0x2ed41b,_0x33d3ed,_0x61bd29);_0x4fee6b[_0x3e405e(0x155)][_0x61bd29]=_0x134bc1;const _0x5183a8=_0x4bba57[_0x3e405e(0x292)](_0x61bd29);if(_0x5183a8){const _0x2a8748=_0x33d3ed[_0x3e405e(0x292)](_0x5183a8[_0x3e405e(0x250)]),_0x523a25=new _0x4716dc({'author':_0x2a8748,'type':_0x5183a8[_0x3e405e(0x1b3)]?_0x3e405e(0x1a8):_0x3e405e(0x19a),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x61bd29});_0x48120e[_0x3e405e(0x20a)](_0x523a25),_0x4fee6b[_0x3e405e(0x20b)][_0x61bd29][_0x3e405e(0x175)]=_0x523a25['id'];}_0x4fee6b[_0x3e405e(0x1bf)]=_0x4fee6b[_0x3e405e(0x1bf)][_0x3e405e(0x238)](_0x48120e);}return _0x4fee6b;}[_0x3c66c1(0x287)](_0x805408,_0x34f40d){const _0x36fb80=_0x3c66c1;for(let _0x4ba607=0x0;_0x4ba607<_0x805408[_0x36fb80(0x181)];_0x4ba607++)for(const [_0x5f1869,_0x583d56]of _0x34f40d)_0x583d56[_0x36fb80(0x15e)][_0x36fb80(0x212)](_0x805408[_0x4ba607][_0x36fb80(0x1f7)])&&_0x805408[_0x4ba607][_0x36fb80(0x208)][_0x36fb80(0x17b)](_0x5f1869),_0x583d56[_0x36fb80(0x230)][_0x36fb80(0x212)](_0x805408[_0x4ba607][_0x36fb80(0x242)])&&_0x805408[_0x4ba607][_0x36fb80(0x21f)][_0x36fb80(0x17b)](_0x5f1869);}[_0x3c66c1(0x1dc)](_0x43fa46,_0x11e6df){const _0x36b53d=_0x3c66c1;let _0xbfc880=[],_0x1b9319=0x0,_0x274ea0=0x0;for(;_0x1b9319<_0x43fa46[_0x36b53d(0x181)]||_0x274ea0<_0x11e6df[_0x36b53d(0x181)];){const _0x38fd59=_0x43fa46[_0x1b9319]||{},_0x49b879=_0x11e6df[_0x274ea0]||{};if(_0x38fd59['id']==_0x49b879['id'])_0x1b9319++,_0x274ea0++,_0xbfc880[_0x36b53d(0x17b)](_0x38fd59);else{if(_0x49b879[_0x36b53d(0x249)]&&_0x38fd59[_0x36b53d(0x219)]){const {commonTape:_0x334797,iEnd:_0xfb2eae,jEnd:_0x39d2e3}=this[_0x36b53d(0x1f5)](_0x43fa46,_0x1b9319,_0x11e6df,_0x274ea0);_0xbfc880=_0xbfc880[_0x36b53d(0x238)](_0x334797),_0x1b9319=_0xfb2eae,_0x274ea0=_0x39d2e3;}else _0x49b879[_0x36b53d(0x249)]?(_0x274ea0++,_0xbfc880[_0x36b53d(0x17b)](_0x49b879)):(_0x1b9319++,_0xbfc880[_0x36b53d(0x17b)](_0x38fd59));}}return _0xbfc880;}[_0x3c66c1(0x26b)](_0xeb8ec9,_0x3018c6){const _0x231581=_0x3c66c1,_0x461e52=[];for(let _0x71b7a9=0x0;_0x71b7a9<_0xeb8ec9[_0x231581(0x181)];_0x71b7a9++){for(let _0x3c52d7=0x0;_0x3c52d7<_0xeb8ec9[_0x71b7a9][_0x231581(0x208)][_0x231581(0x181)];_0x3c52d7++){const _0x443f1d=_0xeb8ec9[_0x71b7a9][_0x231581(0x208)][_0x3c52d7];if(!_0x3018c6[_0x231581(0x297)](_0x443f1d))continue;const {group:_0x4d1532,type:_0x3144b3,authorId:_0x25e4b2}=_0x2436b4(_0x443f1d);_0x231581(0x1d8)!=_0x4d1532||_0x231581(0x1cd)!=_0x3144b3&&_0x231581(0x1e8)!=_0x3144b3||(_0x461e52[_0x231581(0x20a)]({'type':_0x3144b3,'name':_0x443f1d,'userId':_0x25e4b2}),_0xeb8ec9[_0x71b7a9][_0x231581(0x208)][_0x231581(0x179)](_0x3c52d7,0x1),_0x3c52d7--);}_0x2d08ad(_0xeb8ec9[_0x71b7a9]);for(let _0x3f6407=0x0;_0x3f6407<_0xeb8ec9[_0x71b7a9][_0x231581(0x21f)][_0x231581(0x181)];_0x3f6407++){const _0x1b8be0=_0xeb8ec9[_0x71b7a9][_0x231581(0x21f)][_0x3f6407];if(!_0x3018c6[_0x231581(0x297)](_0x1b8be0))continue;const {group:_0x51ed1d,type:_0x28bcb3}=_0x2436b4(_0x1b8be0);if(_0x231581(0x1d8)!=_0x51ed1d||_0x231581(0x1cd)!=_0x28bcb3&&_0x231581(0x1e8)!=_0x28bcb3)continue;_0xeb8ec9[_0x71b7a9][_0x231581(0x21f)][_0x231581(0x179)](_0x3f6407,0x1),_0x3f6407--;const _0x2559ca=_0x461e52[_0x231581(0x18e)](_0x58faa2=>_0x58faa2[_0x231581(0x234)]==_0x1b8be0);_0x2559ca>-0x1&&_0x461e52[_0x231581(0x179)](_0x2559ca,0x1);}}function _0x2436b4(_0x348541){const _0x21b5af=_0x231581,_0x377e58=_0x348541[_0x21b5af(0x21c)](':');return{'group':_0x377e58[0x0],'type':_0x377e58[0x1],'subType':_0x377e58[_0x21b5af(0x181)]>=0x5?_0x377e58[0x2]:null,'id':_0x377e58[_0x21b5af(0x181)]<0x5?_0x377e58[0x2]:_0x377e58[0x3],'authorId':_0x377e58[_0x21b5af(0x181)]<0x5?_0x377e58[0x3]:_0x377e58[0x4],'markerCount':0x6==_0x377e58[_0x21b5af(0x181)]?_0x377e58[0x5]:null};}function _0x2d08ad(_0x5bb428){const _0x5a0b6d=_0x231581;for(let _0x7905a5=0x0;_0x7905a5<_0x461e52[_0x5a0b6d(0x181)];_0x7905a5++){if(_0x5bb428[_0x5a0b6d(0x219)]&&_0x5a0b6d(0x1cd)==_0x461e52[_0x7905a5][_0x5a0b6d(0x180)])return _0x5bb428[_0x5a0b6d(0x194)]=_0x461e52[_0x7905a5],void delete _0x5bb428[_0x5a0b6d(0x219)];if(!_0x5bb428[_0x5a0b6d(0x219)]&&!_0x5bb428[_0x5a0b6d(0x249)]&&_0x5a0b6d(0x1e8)==_0x461e52[_0x7905a5][_0x5a0b6d(0x180)])return void(_0x5bb428[_0x5a0b6d(0x1c1)]=_0x461e52[_0x7905a5]);}}}[_0x3c66c1(0x241)](_0x255f87,_0x460116){const _0x59e4ac=_0x3c66c1;let _0x2580ea=0x0,_0x2d22e7=!0x1;const _0x182521=new Map();for(const _0x2343f0 of _0x255f87)_0x2343f0[_0x460116]?_0x2d22e7&&(_0x2580ea++,_0x2d22e7=!0x1):(_0x2580ea++,_0x2d22e7=!0x0),_0x182521[_0x59e4ac(0x268)](_0x2343f0['id'],_0x2580ea);for(let _0x56ff71=0x0;_0x56ff71<_0x255f87[_0x59e4ac(0x181)];_0x56ff71++){if(_0x59e4ac(0x249)==_0x460116&&_0x255f87[_0x56ff71][_0x59e4ac(0x219)]||_0x59e4ac(0x219)==_0x460116&&_0x255f87[_0x56ff71][_0x59e4ac(0x249)])continue;if(_0x59e4ac(0x1ab)==_0x255f87[_0x56ff71][_0x59e4ac(0x180)]){_0x255f87[_0x56ff71][_0x59e4ac(0x19d)]=0x0;continue;}const _0x100123=_0x182521[_0x59e4ac(0x292)](_0x255f87[_0x56ff71][_0x59e4ac(0x1a4)]),_0x4d5d12=_0x182521[_0x59e4ac(0x292)](_0x255f87[_0x56ff71]['id']);_0x255f87[_0x56ff71][_0x59e4ac(0x19d)]=_0x100123-_0x4d5d12;}}[_0x3c66c1(0x161)](_0xdde487,_0x189a55,_0x9c8613=!0x1){const _0x3ae192=_0x3c66c1,_0x207ad8=[];let _0x23edfb=this[_0x3ae192(0x1e7)][_0x3ae192(0x272)](_0xdde487),_0x3e4ed6=this[_0x3ae192(0x1e7)][_0x3ae192(0x272)](_0x189a55);for(-0x1==_0x3e4ed6&&(_0x3e4ed6=this[_0x3ae192(0x1e7)][_0x3ae192(0x184)][_0x3ae192(0x181)],_0x9c8613=!0x1);_0x23edfb<_0x3e4ed6;)_0x207ad8[_0x3ae192(0x17b)](this[_0x3ae192(0x1e7)][_0x3ae192(0x171)](_0x23edfb)),_0x23edfb++;return _0x9c8613&&_0x207ad8[_0x3ae192(0x17b)](this[_0x3ae192(0x1e7)][_0x3ae192(0x171)](_0x23edfb)),_0x207ad8;}[_0x3c66c1(0x1f5)](_0x23a242,_0x9ab104,_0xdfe435,_0x4dbcce){const _0x34fd68=_0x3c66c1,_0x4970ea=this[_0x34fd68(0x1e3)][_0x34fd68(0x155)][_0x34fd68(0x222)];let _0x568529=_0x9ab104;for(;_0x23a242[_0x568529]&&_0x23a242[_0x568529][_0x34fd68(0x219)];)_0x568529++;let _0xffb7e8=_0x4dbcce;for(;_0xdfe435[_0xffb7e8]&&_0xdfe435[_0xffb7e8][_0x34fd68(0x249)];)_0xffb7e8++;_0x2ef1fe(_0x23a242,_0x9ab104,_0x568529),_0x2ef1fe(_0xdfe435,_0x4dbcce,_0xffb7e8);const _0x160b36=_0xdfe435[_0x34fd68(0x229)](_0x4dbcce,_0xffb7e8)[_0x34fd68(0x238)](_0x23a242[_0x34fd68(0x229)](_0x9ab104,_0x568529));return _0x160b36[_0x34fd68(0x1f0)]((_0x18330b,_0x3f27f7)=>_0x18330b[_0x34fd68(0x1bd)]!=_0x3f27f7[_0x34fd68(0x1bd)]?_0x18330b[_0x34fd68(0x1bd)]-_0x3f27f7[_0x34fd68(0x1bd)]:_0x18330b[_0x34fd68(0x207)]!=_0x3f27f7[_0x34fd68(0x207)]?_0x18330b[_0x34fd68(0x207)]-_0x3f27f7[_0x34fd68(0x207)]:_0x18330b[_0x34fd68(0x19d)]!=_0x3f27f7[_0x34fd68(0x19d)]?_0x3f27f7[_0x34fd68(0x19d)]-_0x18330b[_0x34fd68(0x19d)]:!!_0x18330b[_0x34fd68(0x219)]!=!!_0x3f27f7[_0x34fd68(0x219)]?-0x1==_0x18330b[_0x34fd68(0x1bd)]||0x0==_0x18330b[_0x34fd68(0x1bd)]?_0x18330b[_0x34fd68(0x219)]?-0x1:0x1:_0x18330b[_0x34fd68(0x219)]?0x1:-0x1:_0x18330b[_0x34fd68(0x217)]-_0x3f27f7[_0x34fd68(0x217)]),{'commonTape':_0x160b36,'iEnd':_0x568529,'jEnd':_0xffb7e8};function _0x2ef1fe(_0x2bf307,_0x2868c5,_0x41ef81){const _0x108e07=_0x34fd68;let _0x10a42e=-0x1,_0x1d7b6c=Number[_0x108e07(0x206)],_0x3e156f=!0x0;for(let _0x347365=_0x2868c5;_0x347365<_0x41ef81;_0x347365++)if(_0x4970ea[_0x108e07(0x16d)](_0x2bf307[_0x347365][_0x108e07(0x1e6)])||(_0x3e156f=!0x1),_0x2bf307[_0x347365][_0x108e07(0x1e6)][_0x108e07(0x227)]<_0x2868c5&&(_0x10a42e=_0x347365),_0x2bf307[_0x347365][_0x108e07(0x1e6)][_0x108e07(0x225)]>=_0x41ef81){_0x1d7b6c=_0x347365;break;}_0x3e156f&&(_0x10a42e=_0x41ef81-0x1);for(let _0x37c898=_0x2868c5;_0x37c898<_0x41ef81;_0x37c898++)_0x2bf307[_0x37c898][_0x108e07(0x1bd)]=_0x37c898<=_0x10a42e?-0x1:_0x37c898<_0x1d7b6c?0x0:0x1,_0x2bf307[_0x37c898][_0x108e07(0x217)]=_0x37c898;let _0xc9e10f=0x0;for(let _0x377c1d=_0x2868c5;_0x377c1d<=_0x10a42e;_0x377c1d++)0x0==_0x2bf307[_0x377c1d][_0x108e07(0x19d)]?_0x2bf307[_0x377c1d][_0x108e07(0x207)]=_0xc9e10f:(_0xc9e10f++,_0x2bf307[_0x377c1d][_0x108e07(0x207)]=_0xc9e10f,_0xc9e10f++);for(let _0x1bab7a=_0x2868c5;_0x1bab7a<_0x41ef81;_0x1bab7a++)0x0==_0x2bf307[_0x1bab7a][_0x108e07(0x1bd)]&&(_0x2bf307[_0x1bab7a][_0x108e07(0x207)]=_0xc9e10f);_0xc9e10f=0x0;for(let _0x4adc62=_0x41ef81-0x1;_0x4adc62>=_0x1d7b6c;_0x4adc62--)0x0==_0x2bf307[_0x4adc62][_0x108e07(0x19d)]?_0x2bf307[_0x4adc62][_0x108e07(0x207)]=_0xc9e10f:(_0xc9e10f--,_0x2bf307[_0x4adc62][_0x108e07(0x207)]=_0xc9e10f,_0xc9e10f--);}}[_0x3c66c1(0x215)](_0x343cff){const _0x4cb577=_0x3c66c1,_0x1d8514=new Map(),_0x4f964d=this[_0x4cb577(0x1e3)][_0x4cb577(0x155)][_0x4cb577(0x222)];for(let _0x50f6b9=0x1;_0x50f6b9<_0x343cff[_0x4cb577(0x181)];_0x50f6b9++){let _0x377e50,_0x3336d4,_0x41f20a;const _0x5a9d7e=_0x343cff[_0x50f6b9],_0x30c3c8=_0x343cff[_0x50f6b9-0x1];if(_0x4cb577(0x1ab)==_0x5a9d7e[_0x4cb577(0x180)])continue;if(_0x5a9d7e[_0x4cb577(0x180)]!=_0x30c3c8[_0x4cb577(0x180)])continue;if(!_0x4f964d[_0x4cb577(0x22a)](_0x30c3c8[_0x4cb577(0x1e6)])||_0x4f964d[_0x4cb577(0x15b)](_0x30c3c8[_0x4cb577(0x1e6)]))continue;if(!_0x4f964d[_0x4cb577(0x22a)](_0x5a9d7e[_0x4cb577(0x1e6)])||_0x4f964d[_0x4cb577(0x15b)](_0x5a9d7e[_0x4cb577(0x1e6)]))continue;if((_0x343cff[_0x50f6b9][_0x4cb577(0x219)]||_0x343cff[_0x50f6b9][_0x4cb577(0x194)])&&_0x343cff[_0x50f6b9-0x1][_0x4cb577(0x249)])_0x377e50=_0x343cff[_0x50f6b9],_0x3336d4=_0x343cff[_0x50f6b9-0x1],_0x41f20a=_0x50f6b9-0x1;else{if(!_0x343cff[_0x50f6b9][_0x4cb577(0x249)]||!_0x343cff[_0x50f6b9-0x1][_0x4cb577(0x219)]&&!_0x343cff[_0x50f6b9-0x1][_0x4cb577(0x194)])continue;_0x377e50=_0x343cff[_0x50f6b9-0x1],_0x3336d4=_0x343cff[_0x50f6b9],_0x41f20a=_0x50f6b9;}const _0x175d8e=_0x377e50[_0x4cb577(0x207)]==_0x3336d4[_0x4cb577(0x207)],_0x36c90e=Math[_0x4cb577(0x22b)](_0x377e50[_0x4cb577(0x207)])<Math[_0x4cb577(0x22b)](_0x3336d4[_0x4cb577(0x207)])&&0x0==_0x3336d4[_0x4cb577(0x19d)];(_0x175d8e||_0x36c90e)&&(_0x1d8514[_0x4cb577(0x268)](_0x3336d4['id'],_0x377e50['id']),_0x343cff[_0x4cb577(0x179)](_0x41f20a,0x1),_0x50f6b9--,_0x377e50[_0x4cb577(0x219)]=!0x1);}for(let _0x15d035=0x0;_0x15d035<_0x343cff[_0x4cb577(0x181)];_0x15d035++)_0x1d8514[_0x4cb577(0x297)](_0x343cff[_0x15d035][_0x4cb577(0x1a4)])&&(_0x343cff[_0x15d035][_0x4cb577(0x1a4)]=_0x1d8514[_0x4cb577(0x292)](_0x343cff[_0x15d035][_0x4cb577(0x1a4)]));}[_0x3c66c1(0x269)](_0x1fcdc7){const _0x2b7974=_0x3c66c1,_0x4f03a1=new Set(_0x1fcdc7[_0x2b7974(0x22e)](_0x28a3b0=>_0x28a3b0['id']));for(let _0x1293e3=0x0;_0x1293e3<_0x1fcdc7[_0x2b7974(0x181)];_0x1293e3++)_0x4f03a1[_0x2b7974(0x297)](_0x1fcdc7[_0x1293e3][_0x2b7974(0x1a4)])||0x0==_0x1fcdc7[_0x1293e3][_0x2b7974(0x19d)]||(_0x1fcdc7[_0x1293e3][_0x2b7974(0x190)]=!0x0);return _0x1fcdc7[_0x2b7974(0x17c)](_0x1bb198=>!_0x1bb198[_0x2b7974(0x190)]);}[_0x3c66c1(0x193)](_0x25aa57){const _0x25108e=_0x3c66c1,_0x532268=new Set();for(let _0x49e503=0x0;_0x49e503<_0x25aa57[_0x25108e(0x181)];_0x49e503++){if(_0x532268[_0x25108e(0x297)](_0x25aa57[_0x49e503]['id'])&&_0x25aa57[_0x49e503][_0x25108e(0x249)]&&(_0x25aa57[_0x49e503][_0x25108e(0x190)]=!0x0),_0x25aa57[_0x49e503][_0x25108e(0x190)])continue;if(0x0==_0x25aa57[_0x49e503][_0x25108e(0x19d)])continue;if(_0x25108e(0x1d9)!=_0x25aa57[_0x49e503][_0x25108e(0x180)])continue;if(null==_0x25aa57[_0x49e503][_0x25108e(0x1a4)])continue;let _0x1be565=_0x49e503+0x1,_0x2c671f=0x0;for(;_0x25aa57[_0x1be565]['id']!=_0x25aa57[_0x49e503][_0x25108e(0x1a4)];)_0x25108e(0x1d9)==_0x25aa57[_0x1be565][_0x25108e(0x180)]?_0x2c671f++:_0x25108e(0x1f1)==_0x25aa57[_0x1be565][_0x25108e(0x180)]&&_0x2c671f--,_0x1be565++;if(0x0!=_0x2c671f){if(_0x25aa57[_0x49e503][_0x25108e(0x249)])_0x25aa57[_0x49e503][_0x25108e(0x190)]=!0x0;else{for(;_0x1be565!=_0x49e503;)_0x25aa57[_0x1be565][_0x25108e(0x249)]&&0x0!=_0x25aa57[_0x1be565][_0x25108e(0x19d)]&&(_0x25aa57[_0x1be565][_0x25108e(0x190)]=!0x0,_0x532268[_0x25108e(0x1a8)](_0x25aa57[_0x1be565][_0x25108e(0x1a4)])),_0x1be565--;}}}return _0x25aa57[_0x25108e(0x17c)](_0x47db45=>!_0x47db45[_0x25108e(0x190)]);}[_0x3c66c1(0x1f8)](_0x346999){const _0xbc697=_0x3c66c1,_0x5a6ba5=this[_0xbc697(0x1e3)][_0xbc697(0x155)][_0xbc697(0x222)];for(let _0x4956f2=0x0;_0x4956f2<_0x346999[_0xbc697(0x181)];_0x4956f2++){if(!(_0x346999[_0x4956f2][_0xbc697(0x219)]||_0x346999[_0x4956f2][_0xbc697(0x194)]||_0x346999[_0x4956f2][_0xbc697(0x249)]||_0x346999[_0x4956f2][_0xbc697(0x1c1)]))continue;if(0x0==_0x346999[_0x4956f2][_0xbc697(0x19d)])continue;const _0x153ef7=_0x346999[_0x4956f2][_0xbc697(0x1e6)];_0x5a6ba5[_0xbc697(0x22a)](_0x153ef7)||_0x5a6ba5[_0xbc697(0x15b)](_0x153ef7)||(_0x346999[_0x4956f2][_0xbc697(0x219)]&&delete _0x346999[_0x4956f2][_0xbc697(0x219)],_0x346999[_0x4956f2][_0xbc697(0x194)]&&delete _0x346999[_0x4956f2][_0xbc697(0x194)],_0x346999[_0x4956f2][_0xbc697(0x1c1)]&&delete _0x346999[_0x4956f2][_0xbc697(0x1c1)],_0x346999[_0x4956f2][_0xbc697(0x249)]&&(_0x346999[_0x4956f2][_0xbc697(0x190)]=!0x0));}return _0x346999[_0xbc697(0x17c)](_0x4afc1a=>!_0x4afc1a[_0xbc697(0x190)]);}[_0x3c66c1(0x214)](_0x4b0932,_0x20df36,_0x40251c){const _0x51b426=_0x3c66c1,_0x4bc698=new _0x5ec47(),_0x5cd0dd=[],_0x1d6933=new Map(),_0x4224ad=this[_0x51b426(0x1e3)][_0x51b426(0x155)],_0x195e28=_0x4224ad[_0x51b426(0x222)],_0xb49469=[_0x4bc698],_0x477044={},_0x4bf884={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2147f0=null;const _0x24ed29=[0x0];for(let _0x13f521=0x0;_0x13f521<_0x4b0932[_0x51b426(0x181)];_0x13f521++){let _0x2e86d1,_0x4248ca;if(_0x51b426(0x1d9)===_0x4b0932[_0x13f521][_0x51b426(0x180)]){_0x2e86d1=_0x4224ad[_0x51b426(0x1c9)](_0x4bc698,_0x24ed29);const _0x4134a5=new _0x4e2666(_0x4b0932[_0x13f521][_0x51b426(0x1e6)][_0x51b426(0x234)],_0x4b0932[_0x13f521][_0x51b426(0x1e6)][_0x51b426(0x1b4)]());_0xb49469[0x0][_0x51b426(0x278)](_0x4134a5),_0x24ed29[_0x51b426(0x17b)](0x0),_0xb49469[_0x51b426(0x20a)](_0x4134a5),_0x4248ca=_0x4224ad[_0x51b426(0x1c9)](_0x4bc698,_0x24ed29),_0x2147f0=null;}else{if(_0x51b426(0x1f1)===_0x4b0932[_0x13f521][_0x51b426(0x180)])_0xb49469[_0x51b426(0x18b)](),_0x2e86d1=_0x4224ad[_0x51b426(0x1c9)](_0x4bc698,_0x24ed29),_0x24ed29[_0x51b426(0x273)](),_0x24ed29[_0x24ed29[_0x51b426(0x181)]-0x1]++,_0x4248ca=_0x4224ad[_0x51b426(0x1c9)](_0x4bc698,_0x24ed29),_0x2147f0=null;else{if(_0x2e86d1=_0x4224ad[_0x51b426(0x1c9)](_0x4bc698,_0x24ed29),_0x2147f0&&_0x567572(_0x2147f0,_0x4b0932[_0x13f521][_0x51b426(0x1e6)]))_0x2147f0[_0x51b426(0x159)]+=_0x4b0932[_0x13f521][_0x51b426(0x1e6)][_0x51b426(0x228)];else{const _0x3ec831=new _0x505b60(_0x4b0932[_0x13f521][_0x51b426(0x1e6)][_0x51b426(0x228)],_0x4b0932[_0x13f521][_0x51b426(0x1e6)][_0x51b426(0x1b4)]());_0xb49469[0x0][_0x51b426(0x278)](_0x3ec831),_0x2147f0=_0x3ec831;}_0x24ed29[_0x24ed29[_0x51b426(0x181)]-0x1]+=_0x4b0932[_0x13f521][_0x51b426(0x1e6)][_0x51b426(0x216)],_0x4248ca=_0x4224ad[_0x51b426(0x1c9)](_0x4bc698,_0x24ed29);}}for(const _0x4161a4 of _0x4b0932[_0x13f521][_0x51b426(0x208)])_0x1d6933[_0x51b426(0x268)](_0x4161a4,{'start':_0x2e86d1,'end':null});_0xb8b650(_0x51b426(0x1c1),_0x13f521,_0x2e86d1,_0x4248ca),_0xb8b650(_0x51b426(0x194),_0x13f521,_0x2e86d1,_0x4248ca),_0xb8b650(_0x51b426(0x249),_0x13f521,_0x2e86d1,_0x4248ca),_0xb8b650(_0x51b426(0x219),_0x13f521,_0x2e86d1,_0x4248ca);for(const _0x39c85c of _0x4b0932[_0x13f521][_0x51b426(0x21f)]){_0x1d6933[_0x51b426(0x292)](_0x39c85c)[_0x51b426(0x230)]=_0x4248ca;}}for(const [_0x138fda,_0x3be167]of _0x1d6933){const _0x4bfabc=this[_0x51b426(0x1e3)][_0x51b426(0x155)][_0x51b426(0x1b5)](_0x3be167[_0x51b426(0x15e)],_0x3be167[_0x51b426(0x230)]);_0x4bc698[_0x51b426(0x1ca)][_0x51b426(0x268)](_0x138fda,_0x4bfabc);}return _0x5cd0dd[_0x51b426(0x1f0)]((_0x1b34ad,_0x28c724)=>{const _0x38b41c=_0x51b426,_0x2e0933=_0x4bc698[_0x38b41c(0x1ca)][_0x38b41c(0x292)](_0x38b41c(0x1db)+_0x1b34ad['id']),_0xc6e83d=_0x4bc698[_0x38b41c(0x1ca)][_0x38b41c(0x292)](_0x38b41c(0x1db)+_0x28c724['id']);return _0x2e0933[_0x38b41c(0x15e)][_0x38b41c(0x21a)](_0xc6e83d[_0x38b41c(0x15e)])?-0x1:_0x2e0933[_0x38b41c(0x15e)][_0x38b41c(0x1fe)](_0xc6e83d[_0x38b41c(0x15e)])?0x1:_0x2e0933[_0x38b41c(0x230)][_0x38b41c(0x21a)](_0xc6e83d[_0x38b41c(0x230)])?-0x1:_0x2e0933[_0x38b41c(0x230)][_0x38b41c(0x1fe)](_0xc6e83d[_0x38b41c(0x230)])?0x1:_0x38b41c(0x1a8)===_0x1b34ad[_0x38b41c(0x180)]?-0x1:0x1;}),{'root':_0x4bc698,'changes':_0x5cd0dd};function _0xb8b650(_0x207066,_0x3c440d,_0x4756ee,_0x3c914c){const _0x4d4141=_0x51b426,_0x43895c=!!_0x4b0932[_0x3c440d][_0x207066],_0x521173=_0x43895c?_0x4b0932[_0x3c440d][_0x207066][_0x4d4141(0x250)]:null,_0x56fd2c=_0x3c440d===_0x4b0932[_0x4d4141(0x181)]-0x1,_0x9d4c74=_0x4bf884[_0x207066][0x0],_0x2c8b8f=_0x195e28[_0x4d4141(0x201)](_0x4b0932[_0x3c440d][_0x4d4141(0x1e6)]);!_0x477044[_0x207066]&&_0x43895c?_0x477044[_0x207066]={'start':_0x4756ee,'tapeItem':_0x4b0932[_0x3c440d],'userId':_0x521173,'type':_0x207066}:_0x477044[_0x207066]&&!_0x43895c?(_0x477044[_0x207066][_0x4d4141(0x230)]=_0x4756ee,_0x4ebccc(_0x477044[_0x207066]),_0x477044[_0x207066]=null):_0x477044[_0x207066]&&_0x43895c&&_0x477044[_0x207066][_0x4d4141(0x250)]!==_0x521173&&(_0x477044[_0x207066][_0x4d4141(0x230)]=_0x4756ee,_0x9d4c74&&_0x9d4c74[_0x4d4141(0x250)]===_0x477044[_0x207066][_0x4d4141(0x250)]||_0x4ebccc(_0x477044[_0x207066]),_0x477044[_0x207066]={'start':_0x4756ee,'tapeItem':_0x4b0932[_0x3c440d],'userId':_0x521173,'type':_0x207066}),_0x477044[_0x207066]&&_0x2c8b8f&&(_0x4d4141(0x1d9)!==_0x4b0932[_0x3c440d][_0x4d4141(0x180)]||_0x9d4c74&&_0x9d4c74[_0x4d4141(0x250)]===_0x521173||_0x4bf884[_0x207066][_0x4d4141(0x20a)]({'userId':_0x521173,'object':_0x4b0932[_0x3c440d][_0x4d4141(0x1e6)],'change':_0x477044[_0x207066]}),_0x4d4141(0x1f1)===_0x4b0932[_0x3c440d][_0x4d4141(0x180)]&&_0x9d4c74&&_0x9d4c74[_0x4d4141(0x174)]===_0x4b0932[_0x3c440d][_0x4d4141(0x1e6)]&&(_0x4bf884[_0x207066][_0x4d4141(0x18b)](),_0x477044[_0x207066]=_0x9d4c74[_0x4d4141(0x1f2)])),_0x477044[_0x207066]&&_0x56fd2c&&(_0x477044[_0x207066][_0x4d4141(0x230)]=_0x3c914c,_0x4ebccc(_0x477044[_0x207066]),_0x477044[_0x207066]=null);}function _0x4ebccc({start:_0x30e7ff,end:_0x4c1f93,tapeItem:_0x10ad6b,userId:_0x2b77f4,type:_0x57cb23}){const _0x3155e0=_0x51b426,_0x27145d=_0x10ad6b[_0x3155e0(0x1e6)],_0x4dafdd=_0x4224ad[_0x3155e0(0x222)][_0x3155e0(0x22a)](_0x27145d)&&!_0x4224ad[_0x3155e0(0x222)][_0x3155e0(0x15b)](_0x27145d),_0x368bd8=_0x30e7ff[_0x3155e0(0x1cc)]==_0x4c1f93[_0x3155e0(0x197)]&&_0x4c1f93[_0x3155e0(0x237)];if(_0x4dafdd&&_0x368bd8)return;const _0x48a674=_0x4224ad[_0x3155e0(0x1b5)](_0x30e7ff,_0x4c1f93),_0x139372=_0x20df36[_0x3155e0(0x292)](_0x2b77f4),_0x3810c4=new _0x4716dc({'author':_0x139372,'type':_0x3155e0(0x219)==_0x57cb23||_0x3155e0(0x194)==_0x57cb23?_0x3155e0(0x1a8):_0x3155e0(0x19a),'data':{'isSuggestion':_0x3155e0(0x194)==_0x57cb23||_0x3155e0(0x1c1)==_0x57cb23},'createdAt':new Date(),'rootName':_0x40251c});_0x5cd0dd[_0x3155e0(0x17b)](_0x3810c4),_0x4bc698[_0x3155e0(0x1ca)][_0x3155e0(0x268)](_0x3155e0(0x1db)+_0x3810c4['id'],_0x48a674);}function _0x567572(_0x12aeee,_0x26ee03){const _0x451931=_0x51b426,_0x42e74a=_0x12aeee[_0x451931(0x1b4)](),_0x7dc95c=_0x26ee03[_0x451931(0x1b4)]();for(const _0x12224a of _0x42e74a){if(_0x12224a[0x1]!==_0x26ee03[_0x451931(0x183)](_0x12224a[0x0]))return!0x1;_0x7dc95c[_0x451931(0x173)]();}return _0x7dc95c[_0x451931(0x173)]()[_0x451931(0x23e)];}}[_0x3c66c1(0x1c4)](){const _0x300858=_0x3c66c1;this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x17e))[_0x300858(0x1fc)]({'view':_0x300858(0x1f4)}),this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x15c))[_0x300858(0x231)]({'model':_0x300858(0x1f4),'view':_0x48de3d=>{const _0x243057=_0x300858,_0x1fbac9=_0x48de3d[_0x243057(0x199)][_0x243057(0x21c)](':')[0x1],_0x573eb3=this[_0x243057(0x1c7)](_0x1fbac9);if(!_0x573eb3)return null;const _0x3d2f49=_0x243057(0x1a8)==_0x573eb3[_0x243057(0x180)]?_0x243057(0x1cd):_0x243057(0x1e8),_0x268df5=[_0x243057(0x248),_0x243057(0x22c)+_0x3d2f49];return _0x573eb3[_0x243057(0x228)][_0x243057(0x270)]&&_0x268df5[_0x243057(0x17b)](_0x243057(0x22c)+_0x3d2f49+_0x243057(0x162)),this[_0x243057(0x26a)]==_0x573eb3&&_0x268df5[_0x243057(0x17b)](_0x243057(0x1b7)),{'classes':_0x268df5,'attributes':{'data-change-id':_0x1fbac9}};}}),this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x17e))[_0x300858(0x1a8)](_0x19c163=>{const _0x311620=_0x300858;_0x19c163['on'](_0x311620(0x202),(_0x45f6f2,_0x31cc83,_0x4f1e51)=>{const _0x443bc5=_0x311620,_0x5c850a=_0x31cc83[_0x443bc5(0x25a)][_0x443bc5(0x223)](0x0);if(!_0x5c850a||!_0x5c850a['is'](_0x443bc5(0x29a),_0x443bc5(0x22f)))return;if(!_0x4f1e51[_0x443bc5(0x1c5)][_0x443bc5(0x283)](_0x5c850a,{'attributes':[_0x443bc5(0x253),_0x443bc5(0x18d)]}))return;const _0x3ad4b6=_0x31cc83[_0x443bc5(0x211)][_0x443bc5(0x15e)][_0x443bc5(0x1cc)];_0x4f1e51[_0x443bc5(0x1bb)][_0x443bc5(0x1ae)](_0x443bc5(0x253),_0x5c850a[_0x443bc5(0x183)](_0x443bc5(0x253)),_0x3ad4b6),_0x4f1e51[_0x443bc5(0x1bb)][_0x443bc5(0x1ae)](_0x443bc5(0x18d),_0x5c850a[_0x443bc5(0x183)](_0x443bc5(0x18d)),_0x3ad4b6);},{'priority':_0x311620(0x168)});}),this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x17e))[_0x300858(0x1a8)](_0x5c3397=>{const _0xa6babc=_0x300858;_0x5c3397['on'](_0xa6babc(0x29a),(_0x4c11ac,_0x14045d,_0x406188)=>{const _0x2c71ee=_0xa6babc;if(!_0x406188[_0x2c71ee(0x1c5)][_0x2c71ee(0x283)](_0x14045d[_0x2c71ee(0x25a)],{'attributes':[_0x2c71ee(0x253),_0x2c71ee(0x18d)]}))return;if(_0x14045d[_0x2c71ee(0x211)][_0x2c71ee(0x188)])return;const _0x2fece3=_0x14045d[_0x2c71ee(0x211)][_0x2c71ee(0x15e)][_0x2c71ee(0x1cc)];_0x2fece3[_0x2c71ee(0x247)](_0x2c71ee(0x253))||_0x2fece3[_0x2c71ee(0x247)](_0x2c71ee(0x16e))||(_0x406188[_0x2c71ee(0x1bb)][_0x2c71ee(0x1ae)](_0x2c71ee(0x253),_0x14045d[_0x2c71ee(0x25a)][_0x2c71ee(0x183)](_0x2c71ee(0x253)),_0x2fece3),_0x406188[_0x2c71ee(0x1bb)][_0x2c71ee(0x1ae)](_0x2c71ee(0x18d),_0x14045d[_0x2c71ee(0x25a)][_0x2c71ee(0x183)](_0x2c71ee(0x18d)),_0x2fece3));},{'priority':_0xa6babc(0x168)});}),this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x17e))[_0x300858(0x204)]({'view':{'name':_0x300858(0x274),'attributes':{'vid':!0x0}},'model':{'key':_0x300858(0x16e),'value':_0x2600e8=>_0x2600e8[_0x300858(0x183)](_0x300858(0x16e))}}),this[_0x300858(0x1e3)][_0x300858(0x155)][_0x300858(0x222)]['on'](_0x300858(0x1af),(_0x1b6a37,[,_0x21fda5])=>{const _0x1b260f=_0x300858;[_0x1b260f(0x253),_0x1b260f(0x18d),_0x1b260f(0x16e)][_0x1b260f(0x254)](_0x21fda5)&&(_0x1b6a37[_0x1b260f(0x1bc)]=!0x0,_0x1b6a37[_0x1b260f(0x226)]());},{'priority':_0x300858(0x1ba)}),this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x236))[_0x300858(0x1a8)](_0x460095=>{const _0xcc482d=_0x300858;_0x460095['on'](_0xcc482d(0x277),(_0x4f88f0,_0x418e0e,_0x50f622)=>{const _0x1d5d1f=_0xcc482d;if('\x20'!=_0x418e0e[_0x1d5d1f(0x1e6)][_0x1d5d1f(0x228)]||_0x418e0e[_0x1d5d1f(0x1e6)][_0x1d5d1f(0x197)][_0x1d5d1f(0x243)]>0x1)return;if(!_0x50f622[_0x1d5d1f(0x1c5)][_0x1d5d1f(0x283)](_0x418e0e[_0x1d5d1f(0x1e6)],_0x4f88f0[_0x1d5d1f(0x234)]))return;const _0x2e28e7=_0x50f622[_0x1d5d1f(0x1bb)],_0x221a90=_0x50f622[_0x1d5d1f(0x233)][_0x1d5d1f(0x17a)](_0x418e0e[_0x1d5d1f(0x262)]);_0x2e28e7[_0x1d5d1f(0x220)](_0x221a90,_0x2e28e7[_0x1d5d1f(0x224)](_0x1d5d1f(0x274)));});}),this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x236))[_0x300858(0x1e1)]({'model':_0x300858(0x1f4)}),this[_0x300858(0x1e3)][_0x300858(0x19e)][_0x300858(0x1e9)]['on'](_0x300858(0x25e),function(_0x26674a){const _0x53f2a5=_0x300858,_0xc70ab5=_0x26674a[_0x53f2a5(0x16c)][_0x53f2a5(0x292)](_0x53f2a5(0x1b0));return(_0x3c0923,_0x362716,_0x2dc315)=>{const _0x33b30d=_0x53f2a5,_0x1f0961=_0x362716[_0x33b30d(0x199)][_0x33b30d(0x21c)](':')[0x1],_0x3d3948=_0xc70ab5[_0x33b30d(0x1c7)](_0x1f0961);if(!_0x3d3948)return null;const _0x170533=_0x33b30d(0x1a8)==_0x3d3948[_0x33b30d(0x180)]?_0x33b30d(0x21c):_0x33b30d(0x1b6);if(!_0x2dc315[_0x33b30d(0x1c5)][_0x33b30d(0x198)](_0x362716[_0x33b30d(0x25f)],_0x3c0923[_0x33b30d(0x234)]))return;const _0x22b4bc=_0x362716[_0x33b30d(0x25f)][_0x33b30d(0x1ad)](),_0x5b84f0=_0x362716[_0x33b30d(0x25f)][_0x33b30d(0x15e)],_0x43cc15=_0x26674a[_0x33b30d(0x155)][_0x33b30d(0x222)];let _0x254849=null,_0x49ffbd=null,_0x316071=!0x1,_0x319348=!0x1;for(const _0x4fd9e6 of _0x22b4bc){const _0x44ec3c=_0x4fd9e6[_0x33b30d(0x1e6)];_0x316071=_0x316071||_0x43cc15[_0x33b30d(0x1e0)](_0x44ec3c);const _0x38e396=_0x2dc315[_0x33b30d(0x233)][_0x33b30d(0x195)](_0x44ec3c);if(_0x38e396&&_0x38e396[_0x33b30d(0x178)](_0x33b30d(0x25c)))return;_0x33b30d(0x1f1)==_0x4fd9e6[_0x33b30d(0x180)]&&(_0x43cc15[_0x33b30d(0x22a)](_0x44ec3c)&&!_0x43cc15[_0x33b30d(0x15b)](_0x44ec3c)&&(_0x44ec3c[_0x33b30d(0x1df)]||_0x5b84f0[_0x33b30d(0x182)]?_0x254849&&_0x254849[_0x33b30d(0x197)]==_0x44ec3c||(_0x254849=_0x44ec3c,_0x4ad61f(_0x4fd9e6[_0x33b30d(0x1f7)]),_0x319348=!0x0):_0x49ffbd=_0x49ffbd||_0x4fd9e6[_0x33b30d(0x1f7)]));}function _0x4ad61f(_0x488807){const _0x2c79d4=_0x33b30d,_0x5b2c3f=_0x2dc315[_0x2c79d4(0x1bb)][_0x2c79d4(0x23c)](_0x2c79d4(0x274),{'class':_0x2c79d4(0x22c)+_0x170533}),_0x1a5c2b=_0x2dc315[_0x2c79d4(0x233)][_0x2c79d4(0x21b)](_0x488807);_0x3d3948[_0x2c79d4(0x228)][_0x2c79d4(0x270)]&&_0x2dc315[_0x2c79d4(0x1bb)][_0x2c79d4(0x18c)](_0x2c79d4(0x22c)+_0x170533+_0x2c79d4(0x162),_0x5b2c3f),_0xc70ab5[_0x2c79d4(0x26a)]==_0x3d3948&&_0x2dc315[_0x2c79d4(0x1bb)][_0x2c79d4(0x18c)](_0x2c79d4(0x1b7),_0x5b2c3f),_0x2dc315[_0x2c79d4(0x1bb)][_0x2c79d4(0x1a7)](_0x1a5c2b,_0x5b2c3f),_0x2dc315[_0x2c79d4(0x233)][_0x2c79d4(0x1b2)](_0x5b2c3f,_0x362716[_0x2c79d4(0x199)]);}_0x316071||_0x319348||!_0x49ffbd||_0x4ad61f(_0x49ffbd);};}(this[_0x300858(0x1e3)]),{'priority':_0x300858(0x14e)}),this[_0x300858(0x1e3)][_0x300858(0x19e)][_0x300858(0x1e9)]['on'](_0x300858(0x240),(_0x33a0fc,_0x686453,_0x204c30)=>{const _0xe7a810=_0x300858,_0x13fd4e=_0x204c30[_0xe7a810(0x233)][_0xe7a810(0x16f)](_0x686453[_0xe7a810(0x199)]);if(_0x13fd4e){for(const _0x4a6cdd of _0x13fd4e)(_0x4a6cdd[_0xe7a810(0x20d)](_0xe7a810(0x27f))||_0x4a6cdd[_0xe7a810(0x20d)](_0xe7a810(0x1cb)))&&(_0x204c30[_0xe7a810(0x233)][_0xe7a810(0x1a5)](_0x4a6cdd,_0x686453[_0xe7a810(0x199)]),_0x204c30[_0xe7a810(0x1bb)][_0xe7a810(0x19a)](_0x4a6cdd));}},{'priority':_0x300858(0x14e)}),this[_0x300858(0x1e3)][_0x300858(0x19e)][_0x300858(0x1e9)]['on'](_0x300858(0x25e),(_0x49b078,_0xa4ed97,_0x376ff7)=>{const _0x1fe4d1=_0x300858,_0x949101=_0xa4ed97[_0x1fe4d1(0x199)][_0x1fe4d1(0x21c)](':')[0x1],_0x336e2b=this[_0x1fe4d1(0x1c7)](_0x949101);if(!_0x336e2b)return null;const _0x4d0c97=_0x1fe4d1(0x1a8)==_0x336e2b[_0x1fe4d1(0x180)]?_0x1fe4d1(0x21c):_0x1fe4d1(0x1b6);if(_0x376ff7[_0x1fe4d1(0x1c5)][_0x1fe4d1(0x198)](_0xa4ed97[_0x1fe4d1(0x25f)],_0x49b078[_0x1fe4d1(0x234)]))for(const _0x40cea3 of _0xa4ed97[_0x1fe4d1(0x25f)][_0x1fe4d1(0x24e)]()){if(!_0x40cea3['is'](_0x1fe4d1(0x29a),_0x1fe4d1(0x29b)))continue;const _0x493a6b=_0x376ff7[_0x1fe4d1(0x1bb)][_0x1fe4d1(0x23c)](_0x1fe4d1(0x274),{'class':_0x1fe4d1(0x22c)+_0x4d0c97}),_0x273246=_0x376ff7[_0x1fe4d1(0x233)][_0x1fe4d1(0x21b)](this[_0x1fe4d1(0x1e3)][_0x1fe4d1(0x155)][_0x1fe4d1(0x246)](_0x40cea3));_0x336e2b[_0x1fe4d1(0x228)][_0x1fe4d1(0x270)]&&_0x376ff7[_0x1fe4d1(0x1bb)][_0x1fe4d1(0x18c)](_0x1fe4d1(0x22c)+_0x4d0c97+_0x1fe4d1(0x162),_0x493a6b),this[_0x1fe4d1(0x26a)]==_0x336e2b&&_0x376ff7[_0x1fe4d1(0x1bb)][_0x1fe4d1(0x18c)](_0x1fe4d1(0x1b7),_0x493a6b),_0x376ff7[_0x1fe4d1(0x1bb)][_0x1fe4d1(0x1a7)](_0x273246,_0x493a6b),_0x376ff7[_0x1fe4d1(0x233)][_0x1fe4d1(0x1b2)](_0x493a6b,_0xa4ed97[_0x1fe4d1(0x199)]);}},{'priority':_0x300858(0x14e)}),this[_0x300858(0x1e3)][_0x300858(0x155)][_0x300858(0x23d)]['on'](_0x300858(0x1f2),()=>{const _0x53fddc=_0x300858;this[_0x53fddc(0x1e3)][_0x53fddc(0x19e)][_0x53fddc(0x1be)][_0x53fddc(0x1f2)](_0xf96fd8=>{const _0x2a8193=_0x53fddc;for(const _0x924c9a of this[_0x2a8193(0x1e3)][_0x2a8193(0x155)][_0x2a8193(0x23d)][_0x2a8193(0x239)]()){const _0x5ead32=this[_0x2a8193(0x1e3)][_0x2a8193(0x155)][_0x2a8193(0x23d)][_0x2a8193(0x257)](_0x924c9a),_0x54b6eb=this[_0x2a8193(0x1e3)][_0x2a8193(0x19e)][_0x2a8193(0x1be)][_0x2a8193(0x23d)][_0x2a8193(0x257)](_0x924c9a);if(_0x54b6eb){const _0x10290d=_0x5ead32[_0x2a8193(0x183)](_0x2a8193(0x175));if(_0xf96fd8[_0x2a8193(0x296)](_0x2a8193(0x284),_0x54b6eb),_0xf96fd8[_0x2a8193(0x299)](_0x2a8193(0x259),_0x54b6eb),_0xf96fd8[_0x2a8193(0x299)](_0x2a8193(0x275),_0x54b6eb),_0xf96fd8[_0x2a8193(0x299)](_0x2a8193(0x27e),_0x54b6eb),_0x10290d){const _0xb41f0a=this[_0x2a8193(0x1c7)](_0x10290d);if(!_0xb41f0a)return null;_0xf96fd8[_0x2a8193(0x1ae)](_0x2a8193(0x284),_0x10290d,_0x54b6eb),_0xf96fd8[_0x2a8193(0x18c)](_0x2a8193(0x1d5)+_0xb41f0a[_0x2a8193(0x180)],_0x54b6eb),this[_0x2a8193(0x26a)]==_0xb41f0a&&_0xf96fd8[_0x2a8193(0x18c)](_0x2a8193(0x27e),_0x54b6eb);}}}});}),this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x17e))[_0x300858(0x1fc)]({'view':_0x300858(0x191),'model':_0x57ceb7=>_0x300858(0x256)+_0x57ceb7,'converterPriority':_0x300858(0x1ba)}),this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x17e))[_0x300858(0x1fc)]({'view':_0x300858(0x1e2),'model':_0x1c871e=>_0x300858(0x24c)+_0x1c871e,'converterPriority':_0x300858(0x1ba)}),this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x236))[_0x300858(0x1e1)]({'model':_0x300858(0x1d8),'view':_0x288d2e=>({'name':_0x300858(0x153)+_0x288d2e,'group':_0x300858(0x1d8)}),'converterPriority':_0x300858(0x1ba)}),this[_0x300858(0x1e3)][_0x300858(0x185)][_0x300858(0x1f6)](_0x300858(0x15c))[_0x300858(0x231)]({'model':_0x300858(0x1d8),'view':_0x3af07e=>{const _0x1db6d8=_0x300858,_0x256f5b=_0x3af07e[_0x1db6d8(0x199)][_0x1db6d8(0x21c)](':')[0x1];return _0x1db6d8(0x1cd)!=_0x256f5b&&_0x1db6d8(0x1e8)!=_0x256f5b?null:{'classes':[_0x1db6d8(0x20e),_0x1db6d8(0x282)+_0x256f5b]};}}),this[_0x300858(0x1e3)][_0x300858(0x19e)][_0x300858(0x1e9)]['on'](_0x300858(0x265),et(this[_0x300858(0x1e3)],_0x300858(0x1b6)),{'priority':_0x300858(0x14e)}),this[_0x300858(0x1e3)][_0x300858(0x19e)][_0x300858(0x1e9)]['on'](_0x300858(0x1b9),et(this[_0x300858(0x1e3)],_0x300858(0x21c)),{'priority':_0x300858(0x14e)}),this[_0x300858(0x1e3)][_0x300858(0x19e)][_0x300858(0x1e9)]['on'](_0x300858(0x1ea),(_0x12fe69,_0x3c1644,_0x54a97d)=>{const _0x4bf60b=_0x300858,_0x138072=_0x54a97d[_0x4bf60b(0x233)][_0x4bf60b(0x16f)](_0x3c1644[_0x4bf60b(0x199)]);if(_0x138072){for(const _0x195b22 of _0x138072)_0x195b22['is'](_0x4bf60b(0x17f))&&(_0x54a97d[_0x4bf60b(0x233)][_0x4bf60b(0x1a5)](_0x195b22,_0x3c1644[_0x4bf60b(0x199)]),_0x54a97d[_0x4bf60b(0x1bb)][_0x4bf60b(0x19a)](_0x195b22));}},{'priority':_0x300858(0x14e)});}[_0x3c66c1(0x1c7)](_0x589806){const _0x2c0d59=_0x3c66c1;return this[_0x2c0d59(0x169)][_0x2c0d59(0x292)](_0x589806);}[_0x3c66c1(0x26f)](_0x15a330){const _0x519d22=_0x3c66c1;return this[_0x519d22(0x205)]&&this[_0x519d22(0x205)][_0x519d22(0x1b1)](),this[_0x519d22(0x205)]=new _0x347e1d(this[_0x519d22(0x1e3)][_0x519d22(0x21e)],_0x15a330),this[_0x519d22(0x205)];}[_0x3c66c1(0x24b)](){const _0x253895=_0x3c66c1;this[_0x253895(0x1e3)][_0x253895(0x155)][_0x253895(0x23d)][_0x253895(0x14f)][_0x253895(0x26e)](_0x253895(0x1f4)),this['on'](_0x253895(0x18f),(_0x4be9ac,_0x54d667,_0xd7d827,_0x387c1c)=>{const _0x465c0c=_0x253895;_0x387c1c&&this[_0x465c0c(0x252)][_0x465c0c(0x19a)](_0x387c1c),_0xd7d827&&(this[_0x465c0c(0x252)][_0x465c0c(0x1a8)]({'view':_0xd7d827,'stackId':_0x465c0c(0x286),'position':{'target':()=>{const _0x3b021f=_0x465c0c,_0x7838de=this[_0x3b021f(0x1e3)][_0x3b021f(0x19e)],_0x417850=this[_0x3b021f(0x1c7)](_0xd7d827[_0x3b021f(0x1fb)]);let _0x52b2fa;if(_0x417850[_0x3b021f(0x228)][_0x3b021f(0x27a)]){const _0x2b3b63=_0x7838de[_0x3b021f(0x1be)][_0x3b021f(0x294)](_0x417850[_0x3b021f(0x298)]);_0x52b2fa=Array[_0x3b021f(0x1ce)](_0x2b3b63[_0x3b021f(0x261)]());}else{const _0x48529f=this[_0x3b021f(0x1e3)][_0x3b021f(0x155)][_0x3b021f(0x1ca)][_0x3b021f(0x292)](_0x3b021f(0x1db)+_0xd7d827[_0x3b021f(0x1fb)]);_0x52b2fa=Array[_0x3b021f(0x1ce)](_0x7838de[_0x3b021f(0x233)][_0x3b021f(0x16f)](_0x48529f[_0x3b021f(0x234)]))[_0x3b021f(0x22e)](_0x30c3b9=>_0x7838de[_0x3b021f(0x1be)][_0x3b021f(0x1d3)][_0x3b021f(0x27c)](_0x30c3b9))[_0x3b021f(0x22e)](_0x4d9fcd=>Array[_0x3b021f(0x1ce)](_0x4d9fcd[_0x3b021f(0x261)]()))[_0x3b021f(0x293)]();}if(!this[_0x3b021f(0x290)])return _0x52b2fa[0x0];return _0x52b2fa[_0x3b021f(0x1e4)](_0x3543c4=>_0x3543c4[_0x3b021f(0x213)]-0x3<=this[_0x3b021f(0x290)]['y']&&_0x3543c4[_0x3b021f(0x1cf)]+0x3>=this[_0x3b021f(0x290)]['y']&&_0x3543c4[_0x3b021f(0x1d7)]-0x3<=this[_0x3b021f(0x290)]['x']&&_0x3543c4[_0x3b021f(0x167)]+0x3>=this[_0x3b021f(0x290)]['x'])||_0x52b2fa[0x0];}}}),this[_0x465c0c(0x252)][_0x465c0c(0x221)](_0x465c0c(0x286)));}),this['on'](_0x253895(0x156),(_0x1c3caa,_0x5df36e,_0x4c444b,_0x3222cf)=>{const _0x1875f1=_0x253895;this[_0x1875f1(0x20f)]=_0x4c444b?this[_0x1875f1(0x26f)](_0x4c444b):null,this[_0x1875f1(0x1e3)][_0x1875f1(0x155)][_0x1875f1(0x1f2)](()=>{const _0x56bb8b=_0x1875f1,_0x42ce31=this[_0x56bb8b(0x1e3)][_0x56bb8b(0x19e)];_0x3222cf&&(_0x3222cf[_0x56bb8b(0x228)][_0x56bb8b(0x27a)]?_0x42ce31[_0x56bb8b(0x1be)][_0x56bb8b(0x1f2)](_0x2038b4=>{const _0x228afd=_0x56bb8b;_0x2038b4[_0x228afd(0x299)](_0x228afd(0x27e),_0x42ce31[_0x228afd(0x1be)][_0x228afd(0x23d)][_0x228afd(0x257)](_0x3222cf[_0x228afd(0x298)]));}):_0x42ce31[_0x56bb8b(0x289)](_0x56bb8b(0x1db)+_0x3222cf['id'])),_0x4c444b&&(_0x4c444b[_0x56bb8b(0x228)][_0x56bb8b(0x27a)]?_0x42ce31[_0x56bb8b(0x1be)][_0x56bb8b(0x1f2)](_0xbaeb15=>{const _0x1e1bc9=_0x56bb8b;_0xbaeb15[_0x1e1bc9(0x18c)](_0x1e1bc9(0x27e),_0x42ce31[_0x1e1bc9(0x1be)][_0x1e1bc9(0x23d)][_0x1e1bc9(0x257)](_0x4c444b[_0x1e1bc9(0x298)]));}):_0x42ce31[_0x56bb8b(0x289)](_0x56bb8b(0x1db)+_0x4c444b['id']));});}),this[_0x253895(0x170)](this[_0x253895(0x1e3)][_0x253895(0x19e)][_0x253895(0x1be)][_0x253895(0x23d)],_0x253895(0x15a),(_0x323293,_0x157f17)=>{const _0x30b422=_0x253895;if(this[_0x30b422(0x26a)])return;const _0x44223a=this[_0x30b422(0x1a9)](_0x157f17[_0x30b422(0x14d)]),_0x4bce1c=this[_0x30b422(0x169)][_0x30b422(0x292)](_0x44223a);_0x4bce1c?(this[_0x30b422(0x290)]={'x':_0x157f17[_0x30b422(0x279)]['x'],'y':_0x157f17[_0x30b422(0x279)]['y']},this[_0x30b422(0x20f)]=this[_0x30b422(0x26f)](_0x4bce1c)):(this[_0x30b422(0x290)]=null,this[_0x30b422(0x20f)]=null);}),this[_0x253895(0x170)](this[_0x253895(0x1e3)][_0x253895(0x19e)][_0x253895(0x1be)][_0x253895(0x23d)],_0x253895(0x24a),(_0x4a1054,_0x5f3eac)=>{const _0x38a306=_0x253895,_0x539cc6=this[_0x38a306(0x1a9)](_0x5f3eac[_0x38a306(0x14d)]),_0x14a2d4=this[_0x38a306(0x169)][_0x38a306(0x292)](_0x539cc6);_0x14a2d4?(this[_0x38a306(0x290)]={'x':_0x5f3eac[_0x38a306(0x279)]['x'],'y':_0x5f3eac[_0x38a306(0x279)]['y']},_0x14a2d4===this[_0x38a306(0x26a)]?this[_0x38a306(0x252)][_0x38a306(0x24f)]():this[_0x38a306(0x26a)]=_0x14a2d4):(this[_0x38a306(0x290)]=null,this[_0x38a306(0x26a)]=null);});}[_0x3c66c1(0x1a9)](_0x5369a0){const _0x1095b9=_0x3c66c1;do{const _0x4b4026=_0x5369a0[_0x1095b9(0x183)](_0x1095b9(0x284));if(_0x4b4026)return _0x4b4026;_0x5369a0=_0x5369a0[_0x1095b9(0x197)];}while(_0x5369a0);return null;}[_0x3c66c1(0x1eb)](){const _0x4c4a83=_0x3c66c1;this[_0x4c4a83(0x1e3)][_0x4c4a83(0x155)][_0x4c4a83(0x1f2)](_0x577be6=>{const _0x4119ea=_0x4c4a83;for(const _0x1444d7 of this[_0x4119ea(0x1e3)][_0x4119ea(0x155)][_0x4119ea(0x1ca)])_0x577be6[_0x4119ea(0x28c)](_0x1444d7);});}}function et(_0x41529a,_0x308c7a){return(_0x54ddd7,_0x1a6aae,_0x56d567)=>{const _0x40f6a7=_0x5806;if(!_0x56d567[_0x40f6a7(0x1c5)][_0x40f6a7(0x198)](_0x1a6aae[_0x40f6a7(0x25f)],_0x54ddd7[_0x40f6a7(0x234)]))return;const _0x147d65=_0x1a6aae[_0x40f6a7(0x25f)][_0x40f6a7(0x1ad)](),_0x3386e2=_0x1a6aae[_0x40f6a7(0x25f)][_0x40f6a7(0x15e)],_0x2a116f=_0x41529a[_0x40f6a7(0x155)][_0x40f6a7(0x222)];let _0x2f3a5f=null,_0x2af1cf=null,_0x2dbe84=!0x1,_0x4e2989=!0x1;for(const _0x3f06d3 of _0x147d65){const _0xb2eb3c=_0x3f06d3[_0x40f6a7(0x1e6)];_0x2dbe84=_0x2dbe84||_0x2a116f[_0x40f6a7(0x1e0)](_0xb2eb3c);const _0x45ef48=_0x56d567[_0x40f6a7(0x233)][_0x40f6a7(0x195)](_0xb2eb3c);if(_0x45ef48&&_0x45ef48[_0x40f6a7(0x178)](_0x40f6a7(0x25c)))return;_0x40f6a7(0x1f1)==_0x3f06d3[_0x40f6a7(0x180)]&&(_0x2a116f[_0x40f6a7(0x22a)](_0xb2eb3c)&&!_0x2a116f[_0x40f6a7(0x15b)](_0xb2eb3c)&&(_0xb2eb3c[_0x40f6a7(0x1df)]||_0x3386e2[_0x40f6a7(0x182)]?_0x2f3a5f&&_0x2f3a5f[_0x40f6a7(0x197)]==_0xb2eb3c||(_0x2f3a5f=_0xb2eb3c,_0x144e76(_0x3f06d3[_0x40f6a7(0x1f7)]),_0x4e2989=!0x0):_0x2af1cf=_0x2af1cf||_0x3f06d3[_0x40f6a7(0x1f7)]));}function _0x144e76(_0x57e976){const _0x47a7b8=_0x40f6a7,_0x118b31=_0x56d567[_0x47a7b8(0x233)][_0x47a7b8(0x21b)](_0x57e976),_0x4c3aa7=_0x56d567[_0x47a7b8(0x1bb)][_0x47a7b8(0x23c)](_0x47a7b8(0x274),{'class':_0x47a7b8(0x282)+_0x308c7a});_0x56d567[_0x47a7b8(0x1bb)][_0x47a7b8(0x1a7)](_0x118b31,_0x4c3aa7),_0x56d567[_0x47a7b8(0x233)][_0x47a7b8(0x1b2)](_0x4c3aa7,_0x1a6aae[_0x47a7b8(0x199)]);}_0x2dbe84||_0x4e2989||!_0x2af1cf||_0x144e76(_0x2af1cf);};}export class RestoreRevisionCommand extends _0x5952a8{constructor(_0x2d4af2){const _0x1f6899=_0x3c66c1;super(_0x2d4af2);const _0x1eaf6f=_0x2d4af2[_0x1f6899(0x16c)][_0x1f6899(0x292)](d);this[_0x1f6899(0x19c)]=!0x1,this[_0x1f6899(0x170)](_0x1eaf6f,_0x1f6899(0x235),()=>this[_0x1f6899(0x258)]()),this[_0x1f6899(0x170)](_0x1eaf6f,_0x1f6899(0x172),()=>this[_0x1f6899(0x258)]());}[_0x3c66c1(0x1ef)](){const _0x66b2b7=_0x3c66c1,_0x5c5085=this[_0x66b2b7(0x1e3)],_0x5a103d=_0x5c5085[_0x66b2b7(0x16c)][_0x66b2b7(0x292)](d),_0x289a7d=_0x5a103d[_0x66b2b7(0x150)]?_0x5a103d[_0x66b2b7(0x28b)][_0x66b2b7(0x164)]:null;_0x5c5085[_0x66b2b7(0x245)][_0x66b2b7(0x292)](_0x66b2b7(0x1c8))[_0x66b2b7(0x21d)](_0x289a7d);}[_0x3c66c1(0x258)](){const _0xfcf9a5=_0x3c66c1,{isReady:_0x5904e4,isEnabled:_0x183760}=this[_0xfcf9a5(0x1e3)][_0xfcf9a5(0x16c)][_0xfcf9a5(0x292)](d);this[_0xfcf9a5(0x176)]=_0x5904e4&&_0x183760;}}export class ShowChangeCommand extends _0x5952a8{constructor(_0x1d3bc1,{direction:_0xa6dbfb}){const _0x1c95fe=_0x3c66c1;super(_0x1d3bc1);const _0x40dcf3=_0x1d3bc1[_0x1c95fe(0x16c)][_0x1c95fe(0x292)](d);this[_0x1c95fe(0x19c)]=!0x1,this[_0x1c95fe(0x1e5)]=_0x1c95fe(0x1de)===_0xa6dbfb?0x1:-0x1,this[_0x1c95fe(0x170)](_0x40dcf3,_0x1c95fe(0x235),()=>this[_0x1c95fe(0x258)]()),this[_0x1c95fe(0x170)](_0x40dcf3,_0x1c95fe(0x172),()=>this[_0x1c95fe(0x258)]()),this[_0x1c95fe(0x170)](_0x40dcf3,_0x1c95fe(0x156),()=>this[_0x1c95fe(0x258)]());}[_0x3c66c1(0x1ef)](){const _0x1ba723=_0x3c66c1,_0x575f80=this[_0x1ba723(0x1e3)],_0x1b429b=_0x575f80[_0x1ba723(0x16c)][_0x1ba723(0x292)](d),{isNavigationMode:_0x309f6d,currentChangeNumber:_0x5d5c45}=_0x1b429b;let _0x13f93a;if(_0x1b429b[_0x1ba723(0x26a)]=_0x309f6d?_0x1b429b[_0x1ba723(0x28b)][_0x1ba723(0x1bf)][_0x1ba723(0x292)](_0x5d5c45+this[_0x1ba723(0x1e5)]):_0x1b429b[_0x1ba723(0x28b)][_0x1ba723(0x1bf)][_0x1ba723(0x25d)],_0x1b429b[_0x1ba723(0x26a)][_0x1ba723(0x228)][_0x1ba723(0x27a)])_0x13f93a=_0x575f80[_0x1ba723(0x19e)][_0x1ba723(0x1be)][_0x1ba723(0x294)](_0x1b429b[_0x1ba723(0x26a)][_0x1ba723(0x298)]);else{const _0x3fe289=_0x575f80[_0x1ba723(0x155)][_0x1ba723(0x1ca)][_0x1ba723(0x292)](_0x1ba723(0x1db)+_0x1b429b[_0x1ba723(0x26a)]['id']);_0x13f93a=_0x5b88b7(_0x575f80[_0x1ba723(0x19e)],_0x3fe289);}_0x30fd47({'target':_0x13f93a,'viewportOffset':0x28});}[_0x3c66c1(0x258)](){const _0x164c72=_0x3c66c1,{isNavigationMode:_0x233c59,currentChangeNumber:_0x288f35,numberOfChanges:_0x6b8c61,isReady:_0x5bd3e7,isEnabled:_0x7e1d58}=this[_0x164c72(0x1e3)][_0x164c72(0x16c)][_0x164c72(0x292)](d);this[_0x164c72(0x176)]=!!(_0x7e1d58&&_0x5bd3e7&&_0x6b8c61)&&(!_0x233c59||(0x1===this[_0x164c72(0x1e5)]?_0x288f35<_0x6b8c61-0x1:_0x288f35>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x49dd16,_0x6f9a27){const _0x48a478=_0x14b2,_0x49411c=_0x49dd16();while(!![]){try{const _0x2549a9=-parseInt(_0x48a478(0xd1))/0x1*(-parseInt(_0x48a478(0xea))/0x2)+-parseInt(_0x48a478(0xe3))/0x3+-parseInt(_0x48a478(0xd7))/0x4+-parseInt(_0x48a478(0xc4))/0x5*(-parseInt(_0x48a478(0xe0))/0x6)+-parseInt(_0x48a478(0xda))/0x7+-parseInt(_0x48a478(0xdd))/0x8*(-parseInt(_0x48a478(0xc3))/0x9)+parseInt(_0x48a478(0xcc))/0xa;if(_0x2549a9===_0x6f9a27)break;else _0x49411c['push'](_0x49411c['shift']());}catch(_0x1b36c8){_0x49411c['push'](_0x49411c['shift']());}}}(_0x3518,0x89c65));import{Collection as _0x3e32bc}from'ckeditor5/src/utils.js';import{icons as _0x45c06d}from'ckeditor5/src/core.js';function _0x3518(){const _0x51898d=['986QZEdga','map','bindTemplate','items','class','set','2236812PWesop','change:isActionsDropdownOpen','isReady','5526122wnLZBT','children','threeVerticalDots','8BjRYhT','find','panelPosition','66QotubY','locale','Restore\x20this\x20revision','2308599mWVYME','stopPropagation','listenTo','model','button','name','add','1332XVHkFQ','isVisible','extendTemplate','source','action','Compare\x20against\x20selected','execute','Show\x20more\x20items','bind','6448023AWhXAH','70270ygPooC','Name\x20this\x20revision','isOpen','function','isEnabled','ck-on','isActionsDropdownOpen','listView','11547900WBmdyW','ck-revision-history-sidebar__revision__actions','first','buttonView','_action'];_0x3518=function(){return _0x51898d;};return _0x3518();}import{ViewModel as _0x50adf3,addListToDropdown as _0x440b74,createDropdown as _0x2029bc}from'ckeditor5/src/ui.js';import{getTranslation as _0x5005ce}from'../../utils/common-translations.js';function _0x14b2(_0x5d5f45,_0x49f694){const _0x35189a=_0x3518();return _0x14b2=function(_0x14b234,_0x1cca4c){_0x14b234=_0x14b234-0xbc;let _0x2855f7=_0x35189a[_0x14b234];return _0x2855f7;},_0x14b2(_0x5d5f45,_0x49f694);}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x45a5d3,_0x20c157){const _0x4fd268=_0x14b2,_0x5de67b=_0x45a5d3[_0x4fd268(0xd3)],_0x18edcb=_0x45a5d3[_0x4fd268(0xe1)],_0x371928=_0x2029bc(_0x18edcb);_0x371928[_0x4fd268(0xdf)]='sw';const _0x53cc3f=function(_0x4e47db,_0x36d0dc){const _0x8552b2=_0x4fd268,_0xa067df=function(_0x61645c,_0x4a281c){const _0x55900e=_0x14b2,_0x3c21ea=_0x61645c[_0x55900e(0xe1)],_0x502a8b={'Compare\x20against\x20selected':_0x5005ce(_0x3c21ea,_0x55900e(0xbf)),'Name\x20this\x20revision':_0x5005ce(_0x3c21ea,_0x55900e(0xc5)),'Restore\x20this\x20revision':_0x5005ce(_0x3c21ea,_0x55900e(0xe2))};return _0x4a281c[_0x55900e(0xd2)](_0x42eb86=>{const _0x20c12d=_0x55900e,_0x241a71=_0x502a8b[_0x42eb86[_0x20c12d(0xe8)]];return _0x241a71&&_0x241a71!==_0x42eb86[_0x20c12d(0xe8)]&&(_0x42eb86[_0x20c12d(0xe8)]=_0x241a71),_0x42eb86;});}(_0x4e47db,_0x36d0dc),_0x8a577a=new _0x3e32bc();for(const _0x3ddf55 of _0xa067df){const _0x45b73d={'type':_0x8552b2(0xe7),'model':new _0x50adf3({'label':_0x3ddf55[_0x8552b2(0xe8)],'class':_0x3ddf55[_0x8552b2(0xd5)],'withText':!0x0,'_action':_0x3ddf55[_0x8552b2(0xbe)]})};_0x45b73d[_0x8552b2(0xe6)][_0x8552b2(0xc2)](_0x8552b2(0xc8))['to'](_0x4e47db,_0x8552b2(0xca),_0x5592f3=>_0x8552b2(0xc7)!=typeof _0x3ddf55[_0x8552b2(0xc8)]||(!_0x5592f3||_0x3ddf55[_0x8552b2(0xc8)](_0x4e47db))),_0x8a577a[_0x8552b2(0xe9)](_0x45b73d);}return _0x8a577a;}(_0x45a5d3,_0x20c157);return _0x45a5d3[_0x4fd268(0xc2)](_0x4fd268(0xca))['to'](_0x371928,_0x4fd268(0xc6)),_0x371928[_0x4fd268(0xcf)][_0x4fd268(0xd6)]({'label':_0x5005ce(_0x18edcb,_0x4fd268(0xc1)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x45c06d[_0x4fd268(0xdc)]}),_0x371928[_0x4fd268(0xbc)]({'attributes':{'class':[_0x4fd268(0xcd),_0x5de67b['if'](_0x4fd268(0xca),_0x4fd268(0xc9))]},'on':{'click':_0x5de67b['to'](_0x1afc17=>_0x1afc17[_0x4fd268(0xe4)]())}}),_0x371928['on'](_0x4fd268(0xc0),_0x6eab38=>{const _0x5a7b88=_0x4fd268;_0x45a5d3[_0x5a7b88(0xd9)]&&_0x5a7b88(0xc7)==typeof _0x6eab38[_0x5a7b88(0xbd)][_0x5a7b88(0xd0)]&&_0x6eab38[_0x5a7b88(0xbd)][_0x5a7b88(0xd0)](_0x45a5d3);}),_0x440b74(_0x371928,_0x53cc3f),_0x371928[_0x4fd268(0xe5)](_0x45a5d3,_0x4fd268(0xd8),(_0x265a41,_0x210fcc,_0x928912)=>{const _0x11e471=_0x4fd268;if(_0x928912)for(const _0x370fb4 of _0x371928[_0x11e471(0xcb)][_0x11e471(0xd4)]){const _0x1c34c1=_0x370fb4[_0x11e471(0xdb)][_0x11e471(0xce)],_0x2441bd=_0x20c157[_0x11e471(0xde)](_0xf3e0f3=>_0xf3e0f3[_0x11e471(0xbe)]===_0x1c34c1[_0x11e471(0xd0)])[_0x11e471(0xeb)];_0x370fb4[_0x11e471(0xeb)]=void 0x0===_0x2441bd||_0x2441bd(_0x45a5d3);}}),_0x371928;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1f60ab,_0x213567){const _0x512dd8=_0x21ae,_0x2025b4=_0x1f60ab();while(!![]){try{const _0x53e290=parseInt(_0x512dd8(0xcc))/0x1+-parseInt(_0x512dd8(0xd6))/0x2+-parseInt(_0x512dd8(0xd3))/0x3*(parseInt(_0x512dd8(0xd0))/0x4)+parseInt(_0x512dd8(0xd7))/0x5*(parseInt(_0x512dd8(0xdc))/0x6)+parseInt(_0x512dd8(0xd5))/0x7*(-parseInt(_0x512dd8(0xd8))/0x8)+-parseInt(_0x512dd8(0xd2))/0x9*(-parseInt(_0x512dd8(0xcd))/0xa)+-parseInt(_0x512dd8(0xd1))/0xb;if(_0x53e290===_0x213567)break;else _0x2025b4['push'](_0x2025b4['shift']());}catch(_0x4f151e){_0x2025b4['push'](_0x2025b4['shift']());}}}(_0x5bd7,0x6abd6));import{View as _0x1aa94d,IconView as _0x6c15cb}from'ckeditor5/src/ui.js';import{getTranslation as _0x227131}from'../../utils/common-translations.js';function _0x5bd7(){const _0x19906f=['span','setTemplate','1056epuESB','Revision\x20creator','ck-revision-history-sidebar__revision-author_creator','0\x200\x2011\x2010','name','push','706485pJReqz','2290VYamND','ck-revision-history-sidebar__revision-author__name','set','853048OzBSiY','2912052TuvWRi','2934ALIYvU','3IstZYg','ck-revision-history-sidebar__revision-author','6496HMhSwV','206726ISabzw','12545ioOrMr','1760ASmtwS','Revision\x20author'];_0x5bd7=function(){return _0x19906f;};return _0x5bd7();}function _0x21ae(_0x111175,_0x230a0a){const _0x5bd703=_0x5bd7();return _0x21ae=function(_0x21ae93,_0x1541f4){_0x21ae93=_0x21ae93-0xcb;let _0x565854=_0x5bd703[_0x21ae93];return _0x565854;},_0x21ae(_0x111175,_0x230a0a);}import'../../../theme/revision/revisionauthor.css';import _0x4b46ad from'../../../theme/icons/user.svg';export default class ti extends _0x1aa94d{constructor(_0x5f0d0b,_0x14c988,_0x128285){const _0x2e0d83=_0x21ae;super(_0x5f0d0b);const _0x36bb48=new _0x6c15cb();_0x36bb48[_0x2e0d83(0xcf)]({'content':_0x4b46ad,'viewBox':_0x2e0d83(0xdf)});const _0x45f8b7=['ck',_0x2e0d83(0xd4)];_0x128285&&_0x45f8b7[_0x2e0d83(0xcb)](_0x2e0d83(0xde));const _0x2da9d9=[{'tag':_0x2e0d83(0xda),'attributes':{'class':['ck',_0x2e0d83(0xce)],'title':_0x227131(_0x5f0d0b,_0x128285?_0x2e0d83(0xdd):_0x2e0d83(0xd9))},'children':[_0x36bb48,_0x14c988[_0x2e0d83(0xe0)]]}];this[_0x2e0d83(0xdb)]({'tag':'li','attributes':{'class':_0x45f8b7},'children':_0x2da9d9});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5346(){const _0x2a0576=['render','_resizeObserver','listenTo','ck-tooltip_multi-line','span','value','set','placeholder','ck-revision-history-sidebar__revision-name','Revision\x20name','682253lLsmqB','23197734vQaYTm','378FutzmL','9941024dzcMtL','fieldView','69165HsetlK','input','scrollWidth','_updateTooltipText','element','_tooltipString','1033764bxHtUe','bindTemplate','clientWidth','8719774qiemsp','57556xvJBzt','destroy','33zktNvU','Enter\x20the\x20revision\x20name','extendTemplate'];_0x5346=function(){return _0x2a0576;};return _0x5346();}const _0x515882=_0x5b12;(function(_0x5c5b1,_0xf1d600){const _0x3b6973=_0x5b12,_0x2476bd=_0x5c5b1();while(!![]){try{const _0x2039eb=-parseInt(_0x3b6973(0x1fc))/0x1+-parseInt(_0x3b6973(0x207))/0x2+-parseInt(_0x3b6973(0x20d))/0x3*(-parseInt(_0x3b6973(0x20b))/0x4)+parseInt(_0x3b6973(0x201))/0x5*(-parseInt(_0x3b6973(0x1fe))/0x6)+-parseInt(_0x3b6973(0x20a))/0x7+parseInt(_0x3b6973(0x1ff))/0x8+parseInt(_0x3b6973(0x1fd))/0x9;if(_0x2039eb===_0xf1d600)break;else _0x2476bd['push'](_0x2476bd['shift']());}catch(_0x396e82){_0x2476bd['push'](_0x2476bd['shift']());}}}(_0x5346,0xa1a79));import{LabeledFieldView as _0x527e10}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x243ee0}from'ckeditor5/src/utils.js';import{getTranslation as _0x361b44}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';function _0x5b12(_0x430e6b,_0x3ce0c4){const _0x534630=_0x5346();return _0x5b12=function(_0x5b127d,_0x3d7c2a){_0x5b127d=_0x5b127d-0x1f4;let _0x47d300=_0x534630[_0x5b127d];return _0x47d300;},_0x5b12(_0x430e6b,_0x3ce0c4);}export default class vt extends _0x527e10{constructor(_0xe685fb,_0x4cf484){const _0x1b1d22=_0x5b12;super(_0xe685fb,_0x4cf484),this[_0x1b1d22(0x211)]=null;const _0x2e613c=this[_0x1b1d22(0x208)];this[_0x1b1d22(0x1f8)]({'label':_0x361b44(_0xe685fb,_0x1b1d22(0x1fb)),'_tooltipString':''}),this[_0x1b1d22(0x200)][_0x1b1d22(0x1f9)]=_0x361b44(_0xe685fb,_0x1b1d22(0x20e)),this[_0x1b1d22(0x20f)]({'tag':_0x1b1d22(0x1f6),'attributes':{'class':[_0x1b1d22(0x1fa)],'data-cke-tooltip-text':_0x2e613c['to'](_0x1b1d22(0x206)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x1b1d22(0x1f5)}});}[_0x515882(0x210)](){const _0x496c13=_0x515882;super[_0x496c13(0x210)](),this[_0x496c13(0x211)]=new _0x243ee0(this[_0x496c13(0x200)][_0x496c13(0x205)],()=>this[_0x496c13(0x204)]()),this[_0x496c13(0x1f4)](this[_0x496c13(0x200)],_0x496c13(0x202),()=>this[_0x496c13(0x204)]());}[_0x515882(0x20c)](){const _0x2427eb=_0x515882;super[_0x2427eb(0x20c)](),this[_0x2427eb(0x211)]&&this[_0x2427eb(0x211)][_0x2427eb(0x20c)]();}[_0x515882(0x204)](){const _0x3aab46=_0x515882,_0x34a140=this[_0x3aab46(0x200)][_0x3aab46(0x205)];this[_0x3aab46(0x206)]=_0x34a140[_0x3aab46(0x203)]>_0x34a140[_0x3aab46(0x209)]&&_0x34a140[_0x3aab46(0x1f7)]||'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x207fa5=_0x5681;function _0x4883(){const _0x2bd41d=['from','select','isHighlighted','span','change','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','listenTo','ck-revision-history-sidebar__revision__controls-wrapper','extendTemplate','53492FYqJzy','set','.ck-thread__remove-confirm','creator','isActionsDropdownOpen','610WgzxIy','bind','element','19773LErrwZ','ck-revision-history-sidebar__revision','isConfirm','filter','highlight','2766525yEWqoJ','unshift','ck-reset','bindTemplate','102gYtEhz','isSelected','1610724NvRAdM','220','authors','value','ck-disabled','isReady','41nodeiC','ck-revision-history-sidebar__actions_dropdown_open','272410qnQmtX','revisionActionsView','deselect','ck-revision-history-sidebar__revision_highlighted','unhighlight','_revision','ck-revision-history-sidebar__revision__date','map','createdAt','length','ck-revision-history-sidebar__revision_selected','render','setTemplate','name','closest','setName','8OvMhtk','isEnabled','_requireRevisionName','div','fieldView','revisionNameView','uiLanguage','5519297fOZsdL','_createdAtFormatted','fire','ck-revision-history-sidebar__revision-wrapper','srcElement','10842414ILUCdN','ck-revision-history-sidebar__revision-authors'];_0x4883=function(){return _0x2bd41d;};return _0x4883();}(function(_0x2e0d4a,_0x324832){const _0x26e7aa=_0x5681,_0x3e49f7=_0x2e0d4a();while(!![]){try{const _0x4c9f4e=-parseInt(_0x26e7aa(0x136))/0x1*(-parseInt(_0x26e7aa(0x11d))/0x2)+parseInt(_0x26e7aa(0x12a))/0x3+-parseInt(_0x26e7aa(0x130))/0x4+parseInt(_0x26e7aa(0x138))/0x5*(-parseInt(_0x26e7aa(0x12e))/0x6)+parseInt(_0x26e7aa(0x10d))/0x7*(parseInt(_0x26e7aa(0x106))/0x8)+-parseInt(_0x26e7aa(0x125))/0x9*(-parseInt(_0x26e7aa(0x122))/0xa)+-parseInt(_0x26e7aa(0x112))/0xb;if(_0x4c9f4e===_0x324832)break;else _0x3e49f7['push'](_0x3e49f7['shift']());}catch(_0x49337d){_0x3e49f7['push'](_0x3e49f7['shift']());}}}(_0x4883,0x9900c));import{View as _0x276526,createLabeledInputText as _0x34a112}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x21206c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x47114e from'./revisionnameview.js';import _0x148cc3 from'./revisionauthorview.js';function _0x5681(_0xad8026,_0x2cd2b2){const _0x488343=_0x4883();return _0x5681=function(_0x568131,_0xf47b04){_0x568131=_0x568131-0xf9;let _0x437c80=_0x488343[_0x568131];return _0x437c80;},_0x5681(_0xad8026,_0x2cd2b2);}import{dateToPrettyFormat as _0x136747}from'./utils.js';import{createActionsDropdownView as _0x3f7219}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends _0x21206c(_0x276526){constructor(_0xc8d6dc,_0x1ad121,_0x50b367,_0x444cc6){const _0x22fbe4=_0x5681;super(_0xc8d6dc);const _0x19c5d6=this[_0x22fbe4(0x12d)],_0xf62279=function(_0x57190b,_0x498061){const _0x32b597=_0x22fbe4,_0x36cd47=Array[_0x32b597(0x114)](_0x498061[_0x32b597(0x132)])[_0x32b597(0x128)](_0x137acc=>_0x137acc!=_0x498061[_0x32b597(0x120)]);return _0x498061[_0x32b597(0x120)]&&_0x36cd47[_0x32b597(0x12b)](_0x498061[_0x32b597(0x120)]),_0x36cd47[_0x32b597(0xfd)](_0x456e0e=>new _0x148cc3(_0x57190b,_0x456e0e,_0x456e0e==_0x498061[_0x32b597(0x120)]));}(_0xc8d6dc,_0x1ad121);this['id']=_0x1ad121['id'],this[_0x22fbe4(0xfb)]=_0x1ad121,this[_0x22fbe4(0x108)]=_0x444cc6,this[_0x22fbe4(0x123)](_0x22fbe4(0x103),_0x22fbe4(0xfe))['to'](_0x1ad121),this[_0x22fbe4(0x123)](_0x22fbe4(0x10e))['to'](this,_0x22fbe4(0xfe),_0x4c2472=>_0x136747(_0xc8d6dc[_0x22fbe4(0x10c)],_0x4c2472)),this[_0x22fbe4(0x11e)](_0x22fbe4(0x12f),!0x1),this[_0x22fbe4(0x11e)](_0x22fbe4(0x116),!0x1),this[_0x22fbe4(0x11e)](_0x22fbe4(0x121),!0x1),this[_0x22fbe4(0x11e)](_0x22fbe4(0x135),!0x1),this[_0x22fbe4(0x11e)](_0x22fbe4(0x107),!0x1),this[_0x22fbe4(0x10b)]=new _0x47114e(_0xc8d6dc,_0x34a112),this[_0x22fbe4(0x10b)][_0x22fbe4(0x10a)][_0x22fbe4(0x11c)]({'attributes':{'maxlength':_0x22fbe4(0x131)}}),this[_0x22fbe4(0x10b)][_0x22fbe4(0x10a)][_0x22fbe4(0x123)](_0x22fbe4(0x133))['to'](this,_0x22fbe4(0x103),_0x5b903a=>_0x5b903a||this[_0x22fbe4(0x10e)]),this[_0x22fbe4(0x10b)][_0x22fbe4(0x123)](_0x22fbe4(0x107))['to'](this,_0x22fbe4(0x12f),this,_0x22fbe4(0x107),(_0x47180a,_0x31c0cf)=>_0x47180a&&_0x31c0cf),this[_0x22fbe4(0x139)]=_0x50b367&&_0x50b367[_0x22fbe4(0xff)]?_0x3f7219(this,_0x50b367):'',this[_0x22fbe4(0x139)]&&this[_0x22fbe4(0x139)][_0x22fbe4(0x123)](_0x22fbe4(0x107))['to'](this),this[_0x22fbe4(0x102)]({'tag':_0x22fbe4(0x109),'attributes':{'class':['ck',_0x22fbe4(0x12c),_0x22fbe4(0x110),_0x19c5d6['if'](_0x22fbe4(0x127),_0x22fbe4(0x119))]},'children':[{'tag':_0x22fbe4(0x109),'attributes':{'class':['ck',_0x22fbe4(0x12c),_0x22fbe4(0x126),_0x19c5d6['if'](_0x22fbe4(0x107),_0x22fbe4(0x134),_0x4c2082=>!_0x4c2082),_0x19c5d6['if'](_0x22fbe4(0x12f),_0x22fbe4(0x100)),_0x19c5d6['if'](_0x22fbe4(0x116),_0x22fbe4(0xf9)),_0x19c5d6['if'](_0x22fbe4(0x121),_0x22fbe4(0x137))]},'children':[this[_0x22fbe4(0x10b)],{'tag':_0x22fbe4(0x117),'attributes':{'class':['ck',_0x22fbe4(0xfc)]},'children':[{'text':_0x19c5d6['to'](_0x22fbe4(0x10e))}]},{'tag':_0x22fbe4(0x109),'attributes':{'class':['ck',_0x22fbe4(0x11b)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x22fbe4(0x113)]},'children':_0xf62279}]},this[_0x22fbe4(0x139)]],'on':{'click':_0x19c5d6['to'](_0xc29769=>{const _0x391992=_0x22fbe4;_0xc29769[_0x391992(0x111)][_0x391992(0x104)](_0x391992(0x11f))||this[_0x391992(0x135)]&&this[_0x391992(0x107)]&&this[_0x391992(0x10f)](_0x391992(0x115),{'id':this['id']});})}}]});}[_0x207fa5(0x101)](){const _0x29bbd0=_0x207fa5;super[_0x29bbd0(0x101)]();const _0x48a2a3=this[_0x29bbd0(0x10b)][_0x29bbd0(0x10a)][_0x29bbd0(0x124)];this[_0x29bbd0(0x11a)](_0x48a2a3,_0x29bbd0(0x118),()=>{const _0x9aa20=_0x29bbd0;this[_0x9aa20(0x108)]&&!_0x48a2a3[_0x9aa20(0x133)]||this[_0x9aa20(0x10f)](_0x9aa20(0x105),{'id':this['id'],'name':_0x48a2a3[_0x9aa20(0x133)]}),_0x48a2a3[_0x9aa20(0x133)]||(_0x48a2a3[_0x9aa20(0x133)]=this[_0x9aa20(0x103)]?this[_0x9aa20(0x103)]:this[_0x9aa20(0x10e)]);});}[_0x207fa5(0x115)](){const _0xfd4f02=_0x207fa5;this[_0xfd4f02(0x12f)]=!0x0;}[_0x207fa5(0x13a)](){const _0x4b7d73=_0x207fa5;this[_0x4b7d73(0x12f)]=!0x1;}[_0x207fa5(0x129)](){const _0xbbc578=_0x207fa5;this[_0xbbc578(0x116)]=!0x0;}[_0x207fa5(0xfa)](){const _0x140bed=_0x207fa5;this[_0x140bed(0x116)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x273e05=_0x20ba;function _0x3c9c(){const _0x235f00=['233024DtBVcp','1125518qyTiWQ','ck-revision-history-sidebar__subrevision-collapser','30RhVsof','ck-hidden','_isCollapsed','span','ck-revision-history-sidebar__subrevision-collapser_collapsed','343864BrfWLX','isVisible','2779091JVtpEZ','setTemplate','369384mdzXyV','button','false','90057MpQWiV','9wdeYux','4085898vUUIuR','3pFTKuP','set','bindTemplate','true','ck-revision-history-sidebar__subrevision-collapser__inner','toggle','170KLoBfm','click'];_0x3c9c=function(){return _0x235f00;};return _0x3c9c();}(function(_0x20ca58,_0x1826ab){const _0x211873=_0x20ba,_0x1cf144=_0x20ca58();while(!![]){try{const _0x262440=parseInt(_0x211873(0xf6))/0x1+parseInt(_0x211873(0xf7))/0x2*(parseInt(_0x211873(0xee))/0x3)+-parseInt(_0x211873(0x102))/0x4*(parseInt(_0x211873(0xf9))/0x5)+parseInt(_0x211873(0xed))/0x6+-parseInt(_0x211873(0x100))/0x7+-parseInt(_0x211873(0xfe))/0x8*(parseInt(_0x211873(0xec))/0x9)+parseInt(_0x211873(0xf4))/0xa*(-parseInt(_0x211873(0x105))/0xb);if(_0x262440===_0x1826ab)break;else _0x1cf144['push'](_0x1cf144['shift']());}catch(_0x42d5fb){_0x1cf144['push'](_0x1cf144['shift']());}}}(_0x3c9c,0x53ddb));import{View as _0x24cc5d}from'ckeditor5/src/ui.js';function _0x20ba(_0x1d9c1a,_0x4a00ca){const _0x3c9c4c=_0x3c9c();return _0x20ba=function(_0x20bae2,_0x105760){_0x20bae2=_0x20bae2-0xec;let _0x1db818=_0x3c9c4c[_0x20bae2];return _0x1db818;},_0x20ba(_0x1d9c1a,_0x4a00ca);}import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x24cc5d{constructor(_0x2e0dbe){const _0x1ec0ce=_0x20ba;super(_0x2e0dbe);const _0xb6cb19=this[_0x1ec0ce(0xf0)];this[_0x1ec0ce(0xef)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x1ec0ce(0x101)]({'tag':_0x1ec0ce(0xfc),'attributes':{'class':['ck',_0x1ec0ce(0xf8),_0xb6cb19['if'](_0x1ec0ce(0xff),_0x1ec0ce(0xfa),_0x5e4fc7=>!_0x5e4fc7),_0xb6cb19['if'](_0x1ec0ce(0xfb),_0x1ec0ce(0xfd))],'role':_0x1ec0ce(0x103),'aria-pressed':_0xb6cb19['to'](_0x1ec0ce(0xfb),_0x2d5587=>_0x2d5587?_0x1ec0ce(0x104):_0x1ec0ce(0xf1))},'children':[{'tag':_0x1ec0ce(0xfc),'attributes':{'class':['ck',_0x1ec0ce(0xf2)]}}],'on':{'click':_0xb6cb19['to'](_0x1ec0ce(0xf5))}});}[_0x273e05(0xf3)](){const _0x12b736=_0x273e05;this[_0x12b736(0xfb)]=!this[_0x12b736(0xfb)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3a6e(_0x2b19db,_0x1401f8){const _0x169cc2=_0x169c();return _0x3a6e=function(_0x3a6e5a,_0x50cdce){_0x3a6e5a=_0x3a6e5a-0x116;let _0x132327=_0x169cc2[_0x3a6e5a];return _0x132327;},_0x3a6e(_0x2b19db,_0x1401f8);}const _0x4fee16=_0x3a6e;(function(_0x174540,_0x40998f){const _0xfa5f8=_0x3a6e,_0x5af110=_0x174540();while(!![]){try{const _0x340fd1=-parseInt(_0xfa5f8(0x124))/0x1*(parseInt(_0xfa5f8(0x122))/0x2)+parseInt(_0xfa5f8(0x121))/0x3+parseInt(_0xfa5f8(0x11d))/0x4*(-parseInt(_0xfa5f8(0x11f))/0x5)+parseInt(_0xfa5f8(0x12d))/0x6+parseInt(_0xfa5f8(0x117))/0x7*(-parseInt(_0xfa5f8(0x118))/0x8)+parseInt(_0xfa5f8(0x11a))/0x9*(-parseInt(_0xfa5f8(0x126))/0xa)+parseInt(_0xfa5f8(0x128))/0xb;if(_0x340fd1===_0x40998f)break;else _0x5af110['push'](_0x5af110['shift']());}catch(_0xb92ccc){_0x5af110['push'](_0x5af110['shift']());}}}(_0x169c,0xacdba));import{View as _0x51ed7d}from'ckeditor5/src/ui.js';import _0x3c8fc3 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x5eac4b}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x51ed7d{constructor(_0x58cd1b,_0x5c120d,_0xf44e84){const _0x34ec96=_0x3a6e;super(_0x58cd1b);const _0xe23f86=this[_0x34ec96(0x129)];this['id']=_0x5c120d['id'],this[_0x34ec96(0x11b)](_0x34ec96(0x133))['to'](_0x5c120d),this[_0x34ec96(0x123)](_0x34ec96(0x116),!0x1),this[_0x34ec96(0x11b)](_0x34ec96(0x12f))['to'](this,_0x34ec96(0x133),_0x9417ac=>_0x9417ac?_0x5eac4b(_0x58cd1b[_0x34ec96(0x127)],_0x9417ac):void 0x0),this[_0x34ec96(0x12a)]=_0xf44e84,this[_0x34ec96(0x119)]({'tag':_0x34ec96(0x131),'attributes':{'class':['ck',_0x34ec96(0x12c),_0x34ec96(0x11c),_0x34ec96(0x12b),_0xe23f86['if'](_0x34ec96(0x116),_0x34ec96(0x134))]},'children':[{'tag':_0x34ec96(0x125),'attributes':{'class':['ck',_0x34ec96(0x120)]},'children':[{'text':_0xe23f86['to'](_0x34ec96(0x12f))}]},{'tag':'ul','attributes':{'class':['ck',_0x34ec96(0x132)]},'children':[new _0x3c8fc3(_0x58cd1b,_0x5c120d[_0x34ec96(0x11e)],!0x0)]}],'on':{'click':_0xe23f86['to'](this[_0x34ec96(0x135)][_0x34ec96(0x11b)](this))}});}[_0x4fee16(0x135)](){const _0x1d722c=_0x4fee16;this[_0x1d722c(0x116)]=!0x0,this[_0x1d722c(0x12e)](_0x1d722c(0x135),{'parentId':this[_0x1d722c(0x12a)]});}[_0x4fee16(0x130)](){const _0x1b74fa=_0x4fee16;this[_0x1b74fa(0x116)]=!0x1;}}function _0x169c(){const _0x2c768a=['deselect','div','ck-revision-history-sidebar__revision-authors','createdAt','ck-revision-history-sidebar__revision_selected','select','isSelected','14nLOnEK','2828968wsrhND','setTemplate','6219XthilK','bind','ck-revision-history-sidebar__revision','24CJNgGs','creator','298315EYfxux','ck-revision-history-sidebar__revision__date','4028238lbDzWH','815466DnwsXR','set','1ehQDjB','span','17540ZHykKu','uiLanguage','19962580rGWDrY','bindTemplate','_parentRevisionId','ck-revision-history-sidebar__subrevision','ck-reset','1412802FDDylo','fire','_createdAtFormatted'];_0x169c=function(){return _0x2c768a;};return _0x169c();}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5e3511,_0x23f7cd){var _0xd751c1=_0x208e,_0x234b2a=_0x5e3511();while(!![]){try{var _0x15c850=parseInt(_0xd751c1(0x1fa))/0x1+-parseInt(_0xd751c1(0x1f7))/0x2*(-parseInt(_0xd751c1(0x1f1))/0x3)+-parseInt(_0xd751c1(0x1ef))/0x4+-parseInt(_0xd751c1(0x1f4))/0x5+-parseInt(_0xd751c1(0x1f8))/0x6*(-parseInt(_0xd751c1(0x1f2))/0x7)+parseInt(_0xd751c1(0x1f9))/0x8+-parseInt(_0xd751c1(0x1f6))/0x9;if(_0x15c850===_0x23f7cd)break;else _0x234b2a['push'](_0x234b2a['shift']());}catch(_0x248a36){_0x234b2a['push'](_0x234b2a['shift']());}}}(_0xe197,0x5dd18));function _0xe197(){var _0x141f34=['numeric','2317625qZNjtT','toLocaleDateString','5345127VPexVl','2jRBvNV','6zdTRQk','1663416HduVHk','664812VVIiPu','toLocaleTimeString','2370492lYuzSq','long','1337697xsRjdf','5009851aeWEkk'];_0xe197=function(){return _0x141f34;};return _0xe197();}function _0x208e(_0x3a0136,_0x326185){var _0xe197bc=_0xe197();return _0x208e=function(_0x208e7c,_0x443402){_0x208e7c=_0x208e7c-0x1ee;var _0x39e20b=_0xe197bc[_0x208e7c];return _0x39e20b;},_0x208e(_0x3a0136,_0x326185);}export function dateToPrettyFormat(_0xe3d64c,_0x596c96){var _0x363f17=_0x208e;return _0x596c96[_0x363f17(0x1f5)](_0xe3d64c,{'month':_0x363f17(0x1f0),'day':_0x363f17(0x1f3)})+',\x20'+_0x596c96[_0x363f17(0x1ee)](_0xe3d64c,{'hour':_0x363f17(0x1f3),'minute':_0x363f17(0x1f3)});}
|