@ckeditor/ckeditor5-revision-history 41.3.1 → 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 _0x1398d8=_0x350d;(function(_0x1816a6,_0x42a765){const _0x11beb5=_0x350d,_0x175662=_0x1816a6();while(!![]){try{const _0x54d403=parseInt(_0x11beb5(0x1c7))/0x1*(-parseInt(_0x11beb5(0x191))/0x2)+parseInt(_0x11beb5(0x16d))/0x3*(parseInt(_0x11beb5(0x1c9))/0x4)+parseInt(_0x11beb5(0xb3))/0x5+-parseInt(_0x11beb5(0xb7))/0x6*(-parseInt(_0x11beb5(0xe4))/0x7)+-parseInt(_0x11beb5(0x131))/0x8*(-parseInt(_0x11beb5(0x138))/0x9)+parseInt(_0x11beb5(0x183))/0xa*(-parseInt(_0x11beb5(0xcb))/0xb)+-parseInt(_0x11beb5(0x141))/0xc*(parseInt(_0x11beb5(0x1e5))/0xd);if(_0x54d403===_0x42a765)break;else _0x175662['push'](_0x175662['shift']());}catch(_0x5541ba){_0x175662['push'](_0x175662['shift']());}}}(_0x3898,0x4e3f3));import{Plugin as _0x281dda,Command as _0x50024f}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x14a277}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x5b43e5}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x38c389,Element as _0x212f29,Text as _0x47210f,ViewDocumentFragment as _0x17737c,ViewText as _0x38b0ba,ViewElement as _0x424c50,ViewContainerElement as _0x264002,ViewAttributeElement as _0x1ea8f3,ViewEmptyElement as _0x136f18,ViewRawElement as _0x7f06ee,ViewUIElement as _0x2013fa}from'ckeditor5/src/engine.js';import{Users as _0x4d26cd,getMarkerDomElement as _0x37597a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3898(){const _0x5c0100=['distance','setAttribute','revision:','addRevisionData','conversion','item','2299uRxhcL','numberOfChanges','isObject','currentChangeNumber','ck-revision-history-root-','enableReadOnlyMode','_processTape','removeMarker:revision','_setDistance','editing','commands','toData','endIndex','getCustomProperty','first','markers','map','slice','RevisionsRepository','_cleanUp','rootName','addMarker:revision-suggestion:insertion','right','catch','revision-suggestion:','44478Mcqdna','revision','mousedown','revisionHistoryLabel','shift','object','find','authors','_getViewObj','comment','getChild','enqueueChange','insertion','high','_step','vid_end','ck-suggestion-marker-split','maxOffset','length','_setConversion','hasAttribute','oldRevisionId','createPositionBefore','observeMarkers','isEnabled','WidgetToolbarRepository','all','startIndex','marked','get','isAtEnd','markerRange','showNextChange','span','affectsData','change','set','merge','revision-end','split','string','findIndex','_balloon','_changeView','ck-revision-history-root--active','name','revision-viewer','mapViewToDom','viewItem','_makeModelFromViewString','createAttributeElement','parent','roots','restoreRevision','bindElementToMarker','forceDisabled','isRemoved','activeChange','locale','elementToAttribute','selection','schema','getAttribute','pluginName','createRevision','ck-revision-history-root-remove','toModel','element','revisionHistoryAttachChange','suggestion:','_makeModelFromTape','remove','elementStart','reconvertMarker','view','markersStart','error','1762480krgAiN','getRevisionRootsAttributes','attribute:vid','markerToData','updatePosition','text','delete','18TyBgJA','restoreRevisionCallback','addClass','activeView','ck-suggestion-marker-','_appendChild','_findChangeIdFromDomTarget','type','_sortAndFilterDiffChanges','12OUKBOT','modelRange','_removeRevisionMarkers','getItems','low','add','getRoot','addRevision','toViewPosition','values','from','change:numberOfChanges','repository','_data','_initInteractions','showPreviousChange','change:activeView','filter','attributesBefore','index','_fixObsoleteTags','useFillerType','createRange','-new','isBlock','insertions','abs','isAfter','markerName','vid','model','_markMarkers','init','attributesAfter','level','getDomRoot','_setChanges','getClientRects','RevisionViewer','suggestion','isCollapsed','changes','_cleanMarkers','markerNameToElements','951zXQzGC','_update','isAddSuggestion','data-revision-','change:activeChange','domEvent','keys','removeClass','_threeWayMerge','attributes','concat','revision-start','_removeMissingPairs','isInline','toViewRange','parse','dataDowncast','bind','isBefore','addHighlight','flat','isContent','23030ODwWAo','return','top','offsetSize','unbindElementFromMarkerName','isOnRoot','removeMarker','insert','getRevisionData','nextPosition','processor','forEach','createUIElement','splice','28682tMjIyv','range','elementEnd','writer','getRevision','requires','plugins','ck-suggestion-preview-marker-','nextSibling','softBreak','markersEnd','diff','revisionHistory','isEqual','getWalker','isAtStart','listenTo','pop','domConverter','for','attachChange','createRangeIn','newRevisionId','revision-suggestion','isReady','_getDiff','has','highest','compare','code','isLimit','changeId','isSuggestion','consume','forward','_markSuggestions','showStack','deletions','includes','execute','clear','_revisions','userId','ck-suggestion-marker','unshift','checkAttribute','ck-revision-history-root-add','vid_start','markerToHighlight','indexOf','getIndex','left','consumable','_makeTape','12NQAZko','addRoot','5992qTXBGy','_refreshStartEndIndex','document','removeAttribute','data','previousPosition','resolve','getRootNames','getAttributes','downcastDispatcher','toViewElement','wrap','backward','_changeIdToChange','addMarker:revision','stop','sort','ck-suggestion-marker-merge','change:isReady','data-change-id','_joinTapes','mouseover','nodeAfter','createPositionFromPath','refresh','addMarker:revision-suggestion:deletion','_removeUnsupportedChanges','change:isEnabled','7127887CASHvU','removeMarker:revision-suggestion','done','hasClass','bottom','deletion','_activeViewTarget','_markMismatchedRemovedTags','children','_markInsertions','startsWith','dataToMarker','ck-suggestion-preview-marker','ck-editor__editable__overlay','isAttached','mapper','destroy','element:pre','isIncorrect','end','isNavigationMode','isAdded','editor','detachRoot','_getViewForChange','next','default','target','then','editingDowncast','_getChangeFromId','isRemoveSuggestion','2970115BlYNYh','config','uiElement','start','12fkTAqI','collaboration.channelId','_getRevisionsRange','POSITIVE_INFINITY','push','test','ck-suggestion-marker--active','pairId','loadRevisionData','upcast','adapter','side','revision-comment:','diffData'];_0x3898=function(){return _0x5c0100;};return _0x3898();}import _0x1b45b5 from'./ui/revisionviewer/changedetailsview.js';import _0x490fa1 from'./revisionsrepository.js';import _0x542946 from'./changeitem.js';import{default as _0x502f35}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x5c12f4}from'lodash-es';function _0x350d(_0x1b6b24,_0x4061d7){const _0x3898eb=_0x3898();return _0x350d=function(_0x350d38,_0x316705){_0x350d38=_0x350d38-0xaf;let _0x4547be=_0x3898eb[_0x350d38];return _0x4547be;},_0x350d(_0x1b6b24,_0x4061d7);}const tt={'c':_0x264002,'a':_0x1ea8f3,'e':_0x136f18,'r':_0x7f06ee,'u':_0x2013fa};export default class d extends _0x281dda{static get[_0x1398d8(0x123)](){const _0x50db0a=_0x1398d8;return _0x50db0a(0x167);}static get[_0x1398d8(0x196)](){return[_0x4d26cd,_0x5b43e5,_0x490fa1];}constructor(_0x2fa3e3){const _0x5ea1b2=_0x1398d8;super(_0x2fa3e3),this[_0x5ea1b2(0x14d)]=this[_0x5ea1b2(0x1fb)][_0x5ea1b2(0x197)][_0x5ea1b2(0x101)](_0x5ea1b2(0xdd)),this[_0x5ea1b2(0x108)](_0x5ea1b2(0x11d),null),this[_0x5ea1b2(0x108)](_0x5ea1b2(0x13b),null),this[_0x5ea1b2(0x1eb)]=null,this[_0x5ea1b2(0x108)](_0x5ea1b2(0x19c),null),this[_0x5ea1b2(0x108)](_0x5ea1b2(0x1a9),!0x1),this[_0x5ea1b2(0x108)](_0x5ea1b2(0xfc),!0x0),this['on'](_0x5ea1b2(0x1e4),(_0x401639,_0x45e2f6,_0xbaa066)=>{const _0x4d80c4=_0x5ea1b2;this[_0x4d80c4(0x11d)]=null,this[_0x4d80c4(0x13b)]=null,this[_0x4d80c4(0x1fb)][_0x4d80c4(0xd4)][_0x4d80c4(0x12e)][_0x4d80c4(0x107)](_0x2a7cca=>{const _0x41581b=_0x4d80c4;for(const _0x3e5e6e of this[_0x41581b(0x1fb)][_0x41581b(0xd4)][_0x41581b(0x12e)][_0x41581b(0x1cb)][_0x41581b(0x118)])_0xbaa066?_0x2a7cca[_0x41581b(0x174)](_0x41581b(0x1f2),_0x3e5e6e):_0x2a7cca[_0x41581b(0x13a)](_0x41581b(0x1f2),_0x3e5e6e);});}),this[_0x5ea1b2(0x17e)](_0x5ea1b2(0x1f9))['to'](this,_0x5ea1b2(0x11d),_0x4fd724=>null!==_0x4fd724),this[_0x5ea1b2(0x17e)](_0x5ea1b2(0xce))['to'](this,_0x5ea1b2(0x1a9),this,_0x5ea1b2(0x19c),this,_0x5ea1b2(0x11d),(_0x440b69,_0x423596,_0x29c6aa)=>_0x440b69&&_0x29c6aa?_0x423596[_0x5ea1b2(0x16a)][_0x5ea1b2(0x1c3)](_0x29c6aa):0x0),this[_0x5ea1b2(0x17e)](_0x5ea1b2(0xcc))['to'](this,_0x5ea1b2(0x1a9),this,_0x5ea1b2(0x19c),(_0x26da1f,_0x3465da)=>_0x26da1f?_0x3465da[_0x5ea1b2(0x16a)][_0x5ea1b2(0xf6)]:0x0),this[_0x5ea1b2(0x10f)]=null,this[_0x5ea1b2(0x1d6)]=new Map(),this[_0x5ea1b2(0xc1)]=null,this[_0x5ea1b2(0x10e)]=this[_0x5ea1b2(0x1fb)][_0x5ea1b2(0x197)][_0x5ea1b2(0x101)](_0x5b43e5);}[_0x1398d8(0x161)](){const _0x2073dc=_0x1398d8,_0x23aea1=this[_0x2073dc(0x1fb)],_0x1f1524=new ShowChangeCommand(_0x23aea1,{'direction':_0x2073dc(0x1d5)}),_0x3a47e2=new ShowChangeCommand(_0x23aea1,{'direction':_0x2073dc(0x1b3)});(_0x23aea1[_0x2073dc(0xd5)][_0x2073dc(0x146)](_0x2073dc(0x150),_0x1f1524),_0x23aea1[_0x2073dc(0xd5)][_0x2073dc(0x146)](_0x2073dc(0x104),_0x3a47e2),_0x23aea1[_0x2073dc(0xd5)][_0x2073dc(0x146)](_0x2073dc(0x119),new RestoreRevisionCommand(_0x23aea1)),this['on'](_0x2073dc(0x14c),()=>{const _0x1f684c=_0x2073dc;_0x1f1524[_0x1f684c(0x1e1)](),_0x3a47e2[_0x1f684c(0x1e1)]();}),this[_0x2073dc(0xf7)](),this[_0x2073dc(0x14f)](),_0x23aea1[_0x2073dc(0xd0)](_0x2073dc(0x112)),_0x23aea1[_0x2073dc(0x197)][_0x2073dc(0x1ab)](_0x2073dc(0xfd)))&&_0x23aea1[_0x2073dc(0x197)][_0x2073dc(0x101)](_0x2073dc(0xfd))[_0x2073dc(0x11b)](_0x2073dc(0x112));}async[_0x1398d8(0x18b)](_0x2decdc){const _0x2710cd=_0x1398d8;await this[_0x2710cd(0xbf)](_0x2decdc);const _0x4c3f38={};for(const _0x233b88 in _0x2decdc[_0x2710cd(0xc4)]){if(_0x2decdc[_0x2710cd(0xc4)][_0x233b88][_0x2710cd(0x1a5)]&&!_0x2decdc[_0x2710cd(0xc4)][_0x233b88][_0x2710cd(0x1a5)][_0x2710cd(0x1f3)])continue;const _0x33f23f=this[_0x2710cd(0x143)](JSON[_0x2710cd(0x17c)](_0x2decdc[_0x2710cd(0xc4)][_0x233b88][_0x2710cd(0x15a)])),_0xf2c42a=this[_0x2710cd(0x1fb)][_0x2710cd(0xd4)][_0x2710cd(0x12e)][_0x2710cd(0x1cb)],_0x54238c=new _0x17737c(_0xf2c42a,_0x33f23f[_0x2710cd(0xdb)](_0x1072ff=>this[_0x2710cd(0xec)](_0x1072ff)));this[_0x2710cd(0x1fb)][_0x2710cd(0x1cd)][_0x2710cd(0x18d)][_0x2710cd(0x156)](_0x2710cd(0x100)),_0x4c3f38[_0x233b88]=this[_0x2710cd(0x1fb)][_0x2710cd(0x1cd)][_0x2710cd(0x18d)][_0x2710cd(0xd6)](_0x54238c),this[_0x2710cd(0x1fb)][_0x2710cd(0x1cd)][_0x2710cd(0x18d)][_0x2710cd(0x156)](_0x2710cd(0x1ff));}return _0x4c3f38;}async[_0x1398d8(0x132)](_0x2e5ec1){const _0x375e2e=_0x1398d8;await this[_0x375e2e(0xbf)](_0x2e5ec1);const _0x346fdc={};for(const _0x171794 in _0x2e5ec1[_0x375e2e(0xc4)])_0x2e5ec1[_0x375e2e(0xc4)][_0x171794][_0x375e2e(0x1a5)]&&!_0x2e5ec1[_0x375e2e(0xc4)][_0x171794][_0x375e2e(0x1a5)][_0x375e2e(0x1f3)]||(_0x346fdc[_0x171794]=_0x2e5ec1[_0x375e2e(0xc4)][_0x171794][_0x375e2e(0x162)]||{});return _0x346fdc;}[_0x1398d8(0x143)](_0x583739){const _0x1ecd64=_0x1398d8;return(_0x583739=_0x583739[_0x1ecd64(0x152)](_0x33c8aa=>!_0x33c8aa[_0x1ecd64(0x111)]||_0x1ecd64(0x178)!==_0x33c8aa[_0x1ecd64(0x111)]&&_0x1ecd64(0x10a)!==_0x33c8aa[_0x1ecd64(0x111)]))[_0x1ecd64(0x18e)](_0x14e137=>{const _0x481143=_0x1ecd64;_0x481143(0x10c)!=typeof _0x14e137&&(_0x14e137[_0x481143(0x1ed)]=this[_0x481143(0x143)](_0x14e137[_0x481143(0x1ed)]),_0x14e137[_0x481143(0x176)]=_0x14e137[_0x481143(0x176)][_0x481143(0x152)](_0x5831df=>!_0x5831df[0x0][_0x481143(0x1ef)](_0x481143(0x170))));}),_0x583739;}async[_0x1398d8(0x1ad)](_0x1a0d39,_0x5a9676,_0x3e8161=!0x1){const _0x6dc002=_0x1398d8;if(!this[_0x6dc002(0xfc)])return;const _0xb899ef=this[_0x6dc002(0x19c)],_0x4715ce=this[_0x6dc002(0x14d)],_0x3a02ab=_0x6dc002(0x10c)==typeof _0x1a0d39?_0x4715ce[_0x6dc002(0x195)](_0x1a0d39):_0x1a0d39,_0x15d597=_0x6dc002(0x10c)==typeof _0x5a9676?_0x4715ce[_0x6dc002(0x195)](_0x5a9676):_0x5a9676,_0x180eba=_0x3a02ab['id'],_0x3bd903=_0x15d597?_0x15d597['id']:null;if(!_0x3e8161&&this[_0x6dc002(0x19c)]&&this[_0x6dc002(0x19c)][_0x6dc002(0x1a7)]===_0x180eba&&this[_0x6dc002(0x19c)][_0x6dc002(0xf9)]===_0x3bd903)return Promise[_0x6dc002(0x1cf)]();this[_0x6dc002(0x1a9)]=!0x1,this[_0x6dc002(0x13b)]=null,this[_0x6dc002(0x11d)]=null,this[_0x6dc002(0x19c)]=new _0x502f35(_0x180eba,_0x3bd903);const _0x4f16ed=this[_0x6dc002(0xb9)](_0x3a02ab,_0x15d597,!0x0)[_0x6dc002(0xdb)](_0x2b7733=>this[_0x6dc002(0xbf)](_0x2b7733));return _0x4f16ed[_0x6dc002(0xbb)](new Promise(_0x42ff2e=>{setTimeout(_0x42ff2e,0x14);})),Promise[_0x6dc002(0xfe)](_0x4f16ed)[_0x6dc002(0xaf)](()=>{const _0x38728d=_0x6dc002;if(!this[_0x38728d(0xfc)])return;this[_0x38728d(0xde)]();const _0x2308a2=this[_0x38728d(0x1aa)](_0x180eba,_0x3bd903);for(const _0x539f01 of _0x2308a2[_0x38728d(0x16a)])this[_0x38728d(0x1d6)][_0x38728d(0x108)](_0x539f01['id'],_0x539f01);this[_0x38728d(0x1fb)][_0x38728d(0x15f)][_0x38728d(0xef)]({'isUndoable':!0x1},_0x2c257d=>{const _0x5c298f=_0x38728d;for(const _0x22e60c of this[_0x5c298f(0x1fb)][_0x5c298f(0x15f)][_0x5c298f(0x1cb)][_0x5c298f(0x1d0)]())_0x2c257d[_0x5c298f(0x1fc)](_0x22e60c);for(const _0x3b8e20 of Object[_0x5c298f(0x173)](_0x2308a2[_0x5c298f(0x15f)])){const _0x198dcc=_0x2c257d[_0x5c298f(0x1c8)](_0x3b8e20);for(const _0x2a6b34 of Object[_0x5c298f(0x173)](_0x2308a2[_0x5c298f(0x176)][_0x3b8e20]))_0x2c257d[_0x5c298f(0xc6)](_0x2a6b34,_0x2308a2[_0x5c298f(0x176)][_0x3b8e20][_0x2a6b34],_0x198dcc);_0x2c257d[_0x5c298f(0x18a)](_0x2308a2[_0x5c298f(0x15f)][_0x3b8e20],_0x198dcc,0x0);}}),this[_0x38728d(0x19c)][_0x38728d(0x165)](this[_0x38728d(0x140)](_0x2308a2[_0x38728d(0x16a)])),this[_0x38728d(0x1a9)]=!0x0;})[_0x6dc002(0xe2)](_0x30ce1a=>{const _0x71e2f0=_0x6dc002;console[_0x71e2f0(0x130)](_0x30ce1a),this[_0x71e2f0(0xde)](),_0xb899ef&&(this[_0x71e2f0(0x19c)]=_0xb899ef),this[_0x71e2f0(0x1a9)]=!0x0;});}[_0x1398d8(0xc8)](_0x35ee34,_0xcf6ba0){const _0x222eaf=_0x1398d8,_0x45e366=this[_0x222eaf(0x14d)][_0x222eaf(0x124)](_0x35ee34);return _0x45e366['on'](_0x222eaf(0x16e),(_0x49522a,_0x30d4a5,_0x850744)=>_0xcf6ba0(_0x30d4a5,_0x850744,_0x45e366)),this[_0x222eaf(0x14d)][_0x222eaf(0x148)](_0x45e366),_0x45e366;}[_0x1398d8(0xbf)](_0xd2640c){const _0x4907ab=_0x1398d8;if(!_0xd2640c||_0xd2640c[_0x4907ab(0xc4)])return Promise[_0x4907ab(0x1cf)]();{const _0xb702e5=this[_0x4907ab(0x1fb)][_0x4907ab(0xb4)][_0x4907ab(0x101)](_0x4907ab(0xb8));return this[_0x4907ab(0xc1)][_0x4907ab(0x195)]({'channelId':_0xb702e5,'revisionId':_0xd2640c['id']})[_0x4907ab(0xaf)](_0x29c770=>{const _0x789fc5=_0x4907ab;_0xd2640c[_0x789fc5(0x16e)]({'diffData':_0x29c770[_0x789fc5(0xc4)]},!0x0);});}}[_0x1398d8(0xde)](){const _0x1e108c=_0x1398d8;this[_0x1e108c(0x11d)]=null,this[_0x1e108c(0x16b)](),this[_0x1e108c(0x10f)]&&this[_0x1e108c(0x10f)][_0x1e108c(0x1f5)](),this[_0x1e108c(0x10f)]=null,this[_0x1e108c(0x1d6)][_0x1e108c(0x1b9)](),this[_0x1e108c(0x1fb)][_0x1e108c(0x15f)][_0x1e108c(0xef)]({'isUndoable':!0x1},_0x5bf3ab=>{const _0x244c5b=_0x1e108c;for(const _0x22730f of this[_0x244c5b(0x1fb)][_0x244c5b(0x15f)][_0x244c5b(0x1cb)][_0x244c5b(0x1d0)]())_0x5bf3ab[_0x244c5b(0x1fc)](_0x22730f);});}[_0x1398d8(0x140)](_0x2e2922){const _0x7201b6=_0x1398d8,_0x157f1f=[],_0x1bb5fc=new Map();for(const _0x143a4d of this[_0x7201b6(0x1fb)][_0x7201b6(0x15f)][_0x7201b6(0x1cb)][_0x7201b6(0x1d0)]()){const _0xb84200=this[_0x7201b6(0x1fb)][_0x7201b6(0xd4)][_0x7201b6(0x12e)][_0x7201b6(0x164)](_0x143a4d);if(!_0xb84200)continue;const _0x165786=_0xb84200[_0x7201b6(0x166)]()[_0x7201b6(0xca)](0x0);_0x165786&&(_0x157f1f[_0x7201b6(0xbb)](_0x143a4d),_0x1bb5fc[_0x7201b6(0x108)](_0x143a4d,_0x165786));}return _0x157f1f[_0x7201b6(0x1d9)]((_0x534336,_0x8394bd)=>{const _0x340d7d=_0x7201b6,_0x2475c2=_0x1bb5fc[_0x340d7d(0x101)](_0x534336),_0x110211=_0x1bb5fc[_0x340d7d(0x101)](_0x8394bd);return _0x2475c2['y']-_0x110211['y']||_0x2475c2['x']-_0x110211['x'];}),(_0x2e2922=_0x2e2922[_0x7201b6(0x152)](_0x41c5a0=>_0x157f1f[_0x7201b6(0x1b7)](_0x41c5a0[_0x7201b6(0xdf)])))[_0x7201b6(0x1d9)]((_0x4464e0,_0x3d0085)=>_0x157f1f[_0x7201b6(0x1c2)](_0x4464e0[_0x7201b6(0xdf)])-_0x157f1f[_0x7201b6(0x1c2)](_0x3d0085[_0x7201b6(0xdf)])),_0x2e2922;}[_0x1398d8(0x1c6)](_0x300b6b){const _0x1db058=_0x1398d8,_0x3590da=Array[_0x1db058(0x14b)](_0x300b6b[_0x1db058(0xda)])[_0x1db058(0x152)](([_0x1030d6,_0x5ca109])=>_0x1030d6[_0x1db058(0x1ef)](_0x1db058(0xc7))&&!_0x5ca109[_0x1db058(0x169)]),_0x29fe3b=Array[_0x1db058(0x14b)](this[_0x1db058(0x1fb)][_0x1db058(0x15f)][_0x1db058(0x1a6)](_0x300b6b)[_0x1db058(0x19f)]({'singleCharacters':!0x0}));if(0x0!=_0x3590da[_0x1db058(0xf6)])for(const _0x8f37ae of _0x29fe3b){const [_0x1ff7cf,_0x21dd9c]=_0x3590da[0x0],[,_0x1d7feb,_0x10b300]=_0x1ff7cf[_0x1db058(0x10b)](':');if(_0x21dd9c[_0x1db058(0x1f8)][_0x1db058(0x19e)](_0x8f37ae[_0x1db058(0x18c)])&&_0x3590da[_0x1db058(0xe8)](),(_0x8f37ae[_0x1db058(0x1ce)][_0x1db058(0x19e)](_0x21dd9c[_0x1db058(0xb6)])||_0x8f37ae[_0x1db058(0x1ce)][_0x1db058(0x15c)](_0x21dd9c[_0x1db058(0xb6)]))&&(_0x1db058(0xf0)==_0x1d7feb?_0x8f37ae[_0x1db058(0x1fa)]={'userId':_0x10b300}:_0x1db058(0x1ea)==_0x1d7feb&&(_0x8f37ae[_0x1db058(0x11c)]={'userId':_0x10b300})),0x0==_0x3590da[_0x1db058(0xf6)])break;}return _0x29fe3b;}[_0x1398d8(0x1ca)](_0x3c58bb){const _0x2e3e07=_0x1398d8,_0x501193=new Map();for(let _0x1eb1eb=0x0;_0x1eb1eb<_0x3c58bb[_0x2e3e07(0xf6)];_0x1eb1eb++)_0x2e3e07(0x136)===_0x3c58bb[_0x1eb1eb][_0x2e3e07(0x13f)]?(_0x3c58bb[_0x1eb1eb][_0x2e3e07(0xca)][_0x2e3e07(0xff)]=_0x1eb1eb,_0x3c58bb[_0x1eb1eb][_0x2e3e07(0xca)][_0x2e3e07(0xd7)]=_0x1eb1eb):(_0x2e3e07(0x12c)===_0x3c58bb[_0x1eb1eb][_0x2e3e07(0x13f)]?_0x3c58bb[_0x1eb1eb][_0x2e3e07(0xca)][_0x2e3e07(0xff)]=_0x1eb1eb:_0x2e3e07(0x193)===_0x3c58bb[_0x1eb1eb][_0x2e3e07(0x13f)]&&(_0x3c58bb[_0x1eb1eb][_0x2e3e07(0xca)][_0x2e3e07(0xd7)]=_0x1eb1eb),_0x501193[_0x2e3e07(0x108)](_0x3c58bb[_0x1eb1eb]['id'],_0x1eb1eb));for(const _0x42373a of _0x501193[_0x2e3e07(0x14a)]())_0x2e3e07(0x12c)===_0x3c58bb[_0x42373a][_0x2e3e07(0x13f)]?_0x3c58bb[_0x42373a][_0x2e3e07(0xca)][_0x2e3e07(0xd7)]=_0x501193[_0x2e3e07(0x101)](_0x3c58bb[_0x42373a][_0x2e3e07(0xbe)]):_0x2e3e07(0x193)===_0x3c58bb[_0x42373a][_0x2e3e07(0x13f)]&&(_0x3c58bb[_0x42373a][_0x2e3e07(0xca)][_0x2e3e07(0xff)]=_0x501193[_0x2e3e07(0x101)](_0x3c58bb[_0x42373a][_0x2e3e07(0xbe)]));}[_0x1398d8(0xd1)](_0x475211){const _0x26e0a4=_0x1398d8;for(let _0x1a9ff1=0x0;_0x1a9ff1<_0x475211[_0x26e0a4(0xf6)];_0x1a9ff1++){if(_0x26e0a4(0x12c)===_0x475211[_0x1a9ff1][_0x26e0a4(0x13f)])_0x475211[_0x1a9ff1][_0x26e0a4(0xca)][_0x26e0a4(0xff)]=_0x1a9ff1;else{if(_0x26e0a4(0x193)===_0x475211[_0x1a9ff1][_0x26e0a4(0x13f)]){_0x475211[_0x1a9ff1][_0x26e0a4(0xca)][_0x26e0a4(0xd7)]=_0x1a9ff1;const _0x5ea2e1=_0x475211[_0x1a9ff1][_0x26e0a4(0xca)][_0x26e0a4(0xff)];_0x475211[_0x5ea2e1][_0x26e0a4(0xbe)]=_0x475211[_0x1a9ff1]['id'],_0x475211[_0x1a9ff1][_0x26e0a4(0xbe)]=_0x475211[_0x5ea2e1]['id'];}else _0x475211[_0x1a9ff1][_0x26e0a4(0xca)][_0x26e0a4(0xff)]=_0x1a9ff1,_0x475211[_0x1a9ff1][_0x26e0a4(0xca)][_0x26e0a4(0xd7)]=_0x1a9ff1,_0x475211[_0x1a9ff1][_0x26e0a4(0xbe)]=null;}_0x475211[_0x1a9ff1][_0x26e0a4(0x12f)]||(_0x475211[_0x1a9ff1][_0x26e0a4(0x12f)]=[],_0x475211[_0x1a9ff1][_0x26e0a4(0x19b)]=[]);}}[_0x1398d8(0x1ee)](_0x1f4bbe,_0x13c85f){const _0xf51131=_0x1398d8,_0x36d1e7=_0x1f4bbe[_0xf51131(0x152)](_0x3a4621=>!_0x3a4621[_0xf51131(0x1fa)]);for(let _0x398aac=0x0;_0x398aac<_0x13c85f[_0xf51131(0xf6)];_0x398aac++)_0x13c85f[_0x398aac][_0xf51131(0x1fa)]&&(_0x36d1e7[_0x398aac][_0xf51131(0x1fa)]=_0x13c85f[_0x398aac][_0xf51131(0x1fa)]);}[_0x1398d8(0x115)](_0x17f3ae){const _0x492229=_0x1398d8,_0x32718b=JSON[_0x492229(0x17c)](_0x17f3ae),_0x297927=this[_0x492229(0x1fb)][_0x492229(0xd4)][_0x492229(0x12e)][_0x492229(0x1cb)],_0x3364cf=new _0x17737c(_0x297927,_0x32718b[_0x492229(0xdb)](_0x4396a2=>this[_0x492229(0xec)](_0x4396a2)));return this[_0x492229(0x1fb)][_0x492229(0x1cd)][_0x492229(0x126)](_0x3364cf);}[_0x1398d8(0xec)](_0x522295){const _0x3224f8=_0x1398d8,_0x113fb1=this[_0x3224f8(0x1fb)][_0x3224f8(0xd4)][_0x3224f8(0x12e)][_0x3224f8(0x1cb)];if(_0x3224f8(0x10c)==typeof _0x522295)return new _0x38b0ba(_0x113fb1,_0x522295);{const _0x43d63a=_0x522295[_0x3224f8(0x1ed)][_0x3224f8(0xdb)](_0x30aa1b=>this[_0x3224f8(0xec)](_0x30aa1b));return new(tt[_0x522295[(_0x3224f8(0x13f))]]||_0x424c50)(_0x113fb1,_0x522295[_0x3224f8(0x111)],_0x522295[_0x3224f8(0x176)],_0x43d63a);}}[_0x1398d8(0x1aa)](_0x148561,_0x318255=null){const _0x405459=_0x1398d8,_0x2cfde3=this[_0x405459(0x14d)][_0x405459(0x195)](_0x148561),_0x1c44b7=_0x318255?this[_0x405459(0x14d)][_0x405459(0x195)](_0x318255):null,_0x48686e=this[_0x405459(0xb9)](_0x2cfde3,_0x1c44b7),_0x30491f=_0x48686e[_0x48686e[_0x405459(0xf6)]-0x1],_0x2de370=new Map(),_0x23577b={'model':{},'attributes':{},'changes':[]},_0xaa4015=new Set(),_0x470c21=new Map();for(let _0x4fca54=_0x48686e[_0x405459(0xf6)]-0x1;_0x4fca54>=0x0;_0x4fca54--){const _0x4766c5=_0x48686e[_0x4fca54];for(const _0x378ba4 of Object[_0x405459(0x173)](_0x4766c5[_0x405459(0xc4)]))if(_0x4766c5[_0x405459(0xc4)][_0x378ba4][_0x405459(0x1a5)]){const _0x14022e=_0x4766c5[_0x405459(0xc4)][_0x378ba4][_0x405459(0x1a5)];_0x14022e[_0x405459(0x1f3)]?(_0xaa4015[_0x405459(0x146)](_0x378ba4),_0x470c21[_0x405459(0x1ab)](_0x378ba4)&&_0x470c21[_0x405459(0x101)](_0x378ba4)[_0x405459(0x1bb)]==_0x14022e[_0x405459(0x1bb)]?_0x470c21[_0x405459(0x137)](_0x378ba4):_0x470c21[_0x405459(0x108)](_0x378ba4,_0x14022e)):_0x470c21[_0x405459(0x1ab)](_0x378ba4)?(_0xaa4015[_0x405459(0x137)](_0x378ba4),_0x470c21[_0x405459(0x137)](_0x378ba4)):(_0xaa4015[_0x405459(0x146)](_0x378ba4),_0x470c21[_0x405459(0x108)](_0x378ba4,_0x14022e));}else _0xaa4015[_0x405459(0x146)](_0x378ba4);}for(const _0x436ee4 of _0xaa4015){const _0xa6b412=_0x470c21[_0x405459(0x1ab)](_0x436ee4)&&!_0x470c21[_0x405459(0x101)](_0x436ee4)[_0x405459(0x1f3)];let _0x30e1fe=_0xa6b412?_0x48686e[_0x405459(0xf6)]-0x1:0x0;const _0x525048=_0xa6b412?-0x1:0x1;for(;_0x48686e[_0x30e1fe];){const _0x53b0d1=_0x48686e[_0x30e1fe];if(_0x53b0d1[_0x405459(0xc4)][_0x436ee4]){const _0x5a1532=_0xa6b412?_0x53b0d1[_0x405459(0xc4)][_0x436ee4][_0x405459(0x153)]:_0x53b0d1[_0x405459(0xc4)][_0x436ee4][_0x405459(0x162)];_0x23577b[_0x405459(0x176)][_0x436ee4]=_0x5a1532?_0x5c12f4(_0x5a1532):{};break;}_0x30e1fe+=_0x525048;}}for(const _0x5ddb6c of _0x48686e){_0x5ddb6c[_0x405459(0x15f)]={};for(const _0x8b7710 of _0x5ddb6c[_0x405459(0xeb)])_0x2de370[_0x405459(0x108)](_0x8b7710['id'],_0x8b7710);for(const _0x10eaf2 of _0xaa4015){const _0xb5d50b=_0x5ddb6c[_0x405459(0xc4)][_0x10eaf2]?_0x5ddb6c[_0x405459(0xc4)][_0x10eaf2][_0x405459(0x15a)]:'[]',_0x2cfab6=_0x5ddb6c[_0x405459(0xc4)][_0x10eaf2]?_0x5ddb6c[_0x405459(0xc4)][_0x10eaf2][_0x405459(0x1b6)]:'[]';_0x5ddb6c[_0x405459(0x15f)][_0x10eaf2]={'insertions':this[_0x405459(0x115)](_0xb5d50b),'deletions':this[_0x405459(0x115)](_0x2cfab6)};}}for(const _0x33a493 of _0xaa4015){let _0x25ef11=null,_0x1236f4=0x0;const _0x30cf74=new Map(Array[_0x405459(0x14b)](_0x2cfde3[_0x405459(0x15f)][_0x33a493][_0x405459(0x15a)][_0x405459(0xda)])[_0x405459(0x152)](([_0x3475b7])=>!_0x3475b7[_0x405459(0x1ef)](_0x405459(0xc7))));let _0x40986b=0x0;for(const _0x241ac2 of _0x48686e){const _0x36930b=this[_0x405459(0x1c6)](_0x241ac2[_0x405459(0x15f)][_0x33a493][_0x405459(0x15a)]);_0x241ac2==_0x2cfde3?(_0x25ef11=_0x36930b,_0x1236f4=_0x25ef11[_0x405459(0xf6)],_0x25ef11[_0x405459(0x18e)](_0x15b06e=>{_0x15b06e['id']=_0x40986b++;}),this[_0x405459(0xd1)](_0x25ef11)):this[_0x405459(0x1ee)](_0x25ef11,_0x36930b);const _0x50ec80=_0x25ef11[_0x405459(0x152)](_0x549cec=>!_0x549cec[_0x405459(0x1fa)])[_0x405459(0xdb)](_0x28fe0f=>_0x28fe0f['id']);let _0x4566a1=0x0;const _0x3ec5ad=this[_0x405459(0x1c6)](_0x241ac2[_0x405459(0x15f)][_0x33a493][_0x405459(0x1b6)]);_0x3ec5ad[_0x405459(0x18e)](_0x2cf1f1=>{const _0x2854ad=_0x405459;_0x2cf1f1[_0x2854ad(0x11c)]?_0x2cf1f1['id']=_0x1236f4++:_0x2cf1f1['id']=_0x50ec80[_0x4566a1++];}),this[_0x405459(0xd1)](_0x3ec5ad),this[_0x405459(0xd3)](_0x25ef11,_0x405459(0x1fa)),this[_0x405459(0xd3)](_0x3ec5ad,_0x405459(0x11c)),_0x241ac2==_0x2cfde3&&this[_0x405459(0x160)](_0x25ef11,_0x30cf74),_0x25ef11=this[_0x405459(0x1dd)](_0x25ef11,_0x3ec5ad),this[_0x405459(0x1ca)](_0x25ef11),this[_0x405459(0xd3)](_0x25ef11,_0x405459(0x11c));}_0x25ef11=_0x25ef11[_0x405459(0x152)](_0x30b1bc=>!(_0x30b1bc[_0x405459(0x1fa)]&&_0x30b1bc[_0x405459(0x11c)]));const _0x2edcac=new Map(_0x30491f[_0x405459(0x15f)][_0x33a493][_0x405459(0x1b6)][_0x405459(0xda)]),_0x568bb3=new Set(_0x30cf74[_0x405459(0x173)]());for(const _0x3ceb2d of _0x2edcac[_0x405459(0x173)]())_0x568bb3[_0x405459(0x137)](_0x3ceb2d);this[_0x405459(0x1b4)](_0x25ef11,_0x568bb3),this[_0x405459(0x155)](_0x25ef11),_0x25ef11=this[_0x405459(0x179)](_0x25ef11),_0x25ef11=this[_0x405459(0x1ec)](_0x25ef11),_0x25ef11=this[_0x405459(0x1e3)](_0x25ef11);const {root:_0x14a072,changes:_0x285c2a}=this[_0x405459(0x12a)](_0x25ef11,_0x2de370,_0x33a493);_0x23577b[_0x405459(0x15f)][_0x33a493]=_0x14a072;const _0x5a5781=_0x470c21[_0x405459(0x101)](_0x33a493);if(_0x5a5781){const _0x3e39f9=_0x2de370[_0x405459(0x101)](_0x5a5781[_0x405459(0x1bb)]),_0x37ce8d=new _0x542946({'author':_0x3e39f9,'type':_0x5a5781[_0x405459(0x1f3)]?_0x405459(0x146):_0x405459(0x12b),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x33a493});_0x285c2a[_0x405459(0x1bd)](_0x37ce8d),_0x23577b[_0x405459(0x176)][_0x33a493][_0x405459(0x128)]=_0x37ce8d['id'];}_0x23577b[_0x405459(0x16a)]=_0x23577b[_0x405459(0x16a)][_0x405459(0x177)](_0x285c2a);}return _0x23577b;}[_0x1398d8(0x160)](_0x418740,_0x729c67){const _0x20a3db=_0x1398d8;for(let _0x10b0de=0x0;_0x10b0de<_0x418740[_0x20a3db(0xf6)];_0x10b0de++)for(const [_0x3a9d96,_0x2f03ce]of _0x729c67)_0x2f03ce[_0x20a3db(0xb6)][_0x20a3db(0x19e)](_0x418740[_0x10b0de][_0x20a3db(0x1ce)])&&_0x418740[_0x10b0de][_0x20a3db(0x12f)][_0x20a3db(0xbb)](_0x3a9d96),_0x2f03ce[_0x20a3db(0x1f8)][_0x20a3db(0x19e)](_0x418740[_0x10b0de][_0x20a3db(0x18c)])&&_0x418740[_0x10b0de][_0x20a3db(0x19b)][_0x20a3db(0xbb)](_0x3a9d96);}[_0x1398d8(0x1dd)](_0x2d46a7,_0x3b95ef){const _0x1aed22=_0x1398d8;let _0x4829d0=[],_0x2cc1ef=0x0,_0x5045f7=0x0;for(;_0x2cc1ef<_0x2d46a7[_0x1aed22(0xf6)]||_0x5045f7<_0x3b95ef[_0x1aed22(0xf6)];){const _0xc56d20=_0x2d46a7[_0x2cc1ef]||{},_0x4560fa=_0x3b95ef[_0x5045f7]||{};if(_0xc56d20['id']==_0x4560fa['id'])_0x2cc1ef++,_0x5045f7++,_0x4829d0[_0x1aed22(0xbb)](_0xc56d20);else{if(_0x4560fa[_0x1aed22(0x11c)]&&_0xc56d20[_0x1aed22(0x1fa)]){const {commonTape:_0x311725,iEnd:_0x3942aa,jEnd:_0xc04a85}=this[_0x1aed22(0x175)](_0x2d46a7,_0x2cc1ef,_0x3b95ef,_0x5045f7);_0x4829d0=_0x4829d0[_0x1aed22(0x177)](_0x311725),_0x2cc1ef=_0x3942aa,_0x5045f7=_0xc04a85;}else _0x4560fa[_0x1aed22(0x11c)]?(_0x5045f7++,_0x4829d0[_0x1aed22(0xbb)](_0x4560fa)):(_0x2cc1ef++,_0x4829d0[_0x1aed22(0xbb)](_0xc56d20));}}return _0x4829d0;}[_0x1398d8(0x1b4)](_0x33cb79,_0x330bfd){const _0x3d31cc=_0x1398d8,_0x2fa8a1=[];for(let _0x5de888=0x0;_0x5de888<_0x33cb79[_0x3d31cc(0xf6)];_0x5de888++){for(let _0x163ac0=0x0;_0x163ac0<_0x33cb79[_0x5de888][_0x3d31cc(0x12f)][_0x3d31cc(0xf6)];_0x163ac0++){const _0x3d1ebd=_0x33cb79[_0x5de888][_0x3d31cc(0x12f)][_0x163ac0];if(!_0x330bfd[_0x3d31cc(0x1ab)](_0x3d1ebd))continue;const {group:_0x579c2,type:_0x291a13,authorId:_0x3b8427}=_0x57a646(_0x3d1ebd);_0x3d31cc(0x1a8)!=_0x579c2||_0x3d31cc(0xf0)!=_0x291a13&&_0x3d31cc(0x1ea)!=_0x291a13||(_0x2fa8a1[_0x3d31cc(0x1bd)]({'type':_0x291a13,'name':_0x3d1ebd,'userId':_0x3b8427}),_0x33cb79[_0x5de888][_0x3d31cc(0x12f)][_0x3d31cc(0x190)](_0x163ac0,0x1),_0x163ac0--);}_0x1a3053(_0x33cb79[_0x5de888]);for(let _0x2b3f34=0x0;_0x2b3f34<_0x33cb79[_0x5de888][_0x3d31cc(0x19b)][_0x3d31cc(0xf6)];_0x2b3f34++){const _0x48252b=_0x33cb79[_0x5de888][_0x3d31cc(0x19b)][_0x2b3f34];if(!_0x330bfd[_0x3d31cc(0x1ab)](_0x48252b))continue;const {group:_0x1a7afb,type:_0x39737e}=_0x57a646(_0x48252b);if(_0x3d31cc(0x1a8)!=_0x1a7afb||_0x3d31cc(0xf0)!=_0x39737e&&_0x3d31cc(0x1ea)!=_0x39737e)continue;_0x33cb79[_0x5de888][_0x3d31cc(0x19b)][_0x3d31cc(0x190)](_0x2b3f34,0x1),_0x2b3f34--;const _0x5e3eae=_0x2fa8a1[_0x3d31cc(0x10d)](_0x4c0147=>_0x4c0147[_0x3d31cc(0x111)]==_0x48252b);_0x5e3eae>-0x1&&_0x2fa8a1[_0x3d31cc(0x190)](_0x5e3eae,0x1);}}function _0x57a646(_0x4b6f02){const _0x3557f0=_0x3d31cc,_0x5820f9=_0x4b6f02[_0x3557f0(0x10b)](':');return{'group':_0x5820f9[0x0],'type':_0x5820f9[0x1],'subType':_0x5820f9[_0x3557f0(0xf6)]>=0x5?_0x5820f9[0x2]:null,'id':_0x5820f9[_0x3557f0(0xf6)]<0x5?_0x5820f9[0x2]:_0x5820f9[0x3],'authorId':_0x5820f9[_0x3557f0(0xf6)]<0x5?_0x5820f9[0x3]:_0x5820f9[0x4],'markerCount':0x6==_0x5820f9[_0x3557f0(0xf6)]?_0x5820f9[0x5]:null};}function _0x1a3053(_0xbea60a){const _0x15d31d=_0x3d31cc;for(let _0x40564a=0x0;_0x40564a<_0x2fa8a1[_0x15d31d(0xf6)];_0x40564a++){if(_0xbea60a[_0x15d31d(0x1fa)]&&_0x15d31d(0xf0)==_0x2fa8a1[_0x40564a][_0x15d31d(0x13f)])return _0xbea60a[_0x15d31d(0x16f)]=_0x2fa8a1[_0x40564a],void delete _0xbea60a[_0x15d31d(0x1fa)];if(!_0xbea60a[_0x15d31d(0x1fa)]&&!_0xbea60a[_0x15d31d(0x11c)]&&_0x15d31d(0x1ea)==_0x2fa8a1[_0x40564a][_0x15d31d(0x13f)])return void(_0xbea60a[_0x15d31d(0xb2)]=_0x2fa8a1[_0x40564a]);}}}[_0x1398d8(0xd3)](_0x4fa11c,_0x4ed5fb){const _0x4b0120=_0x1398d8;let _0x35e3cd=0x0,_0x49d2e7=!0x1;const _0x4567d5=new Map();for(const _0x562da4 of _0x4fa11c)_0x562da4[_0x4ed5fb]?_0x49d2e7&&(_0x35e3cd++,_0x49d2e7=!0x1):(_0x35e3cd++,_0x49d2e7=!0x0),_0x4567d5[_0x4b0120(0x108)](_0x562da4['id'],_0x35e3cd);for(let _0x10081c=0x0;_0x10081c<_0x4fa11c[_0x4b0120(0xf6)];_0x10081c++){if(_0x4b0120(0x11c)==_0x4ed5fb&&_0x4fa11c[_0x10081c][_0x4b0120(0x1fa)]||_0x4b0120(0x1fa)==_0x4ed5fb&&_0x4fa11c[_0x10081c][_0x4b0120(0x11c)])continue;if(_0x4b0120(0x136)==_0x4fa11c[_0x10081c][_0x4b0120(0x13f)]){_0x4fa11c[_0x10081c][_0x4b0120(0xc5)]=0x0;continue;}const _0x16671d=_0x4567d5[_0x4b0120(0x101)](_0x4fa11c[_0x10081c][_0x4b0120(0xbe)]),_0x41d423=_0x4567d5[_0x4b0120(0x101)](_0x4fa11c[_0x10081c]['id']);_0x4fa11c[_0x10081c][_0x4b0120(0xc5)]=_0x16671d-_0x41d423;}}[_0x1398d8(0xb9)](_0x19aba7,_0x56e556,_0x42ad76=!0x1){const _0x23e759=_0x1398d8,_0x12e4bb=[];let _0x72f543=this[_0x23e759(0x14d)][_0x23e759(0x1c3)](_0x19aba7),_0x26296b=this[_0x23e759(0x14d)][_0x23e759(0x1c3)](_0x56e556);for(-0x1==_0x26296b&&(_0x26296b=this[_0x23e759(0x14d)][_0x23e759(0x1ba)][_0x23e759(0xf6)],_0x42ad76=!0x1);_0x72f543<_0x26296b;)_0x12e4bb[_0x23e759(0xbb)](this[_0x23e759(0x14d)][_0x23e759(0x195)](_0x72f543)),_0x72f543++;return _0x42ad76&&_0x12e4bb[_0x23e759(0xbb)](this[_0x23e759(0x14d)][_0x23e759(0x195)](_0x72f543)),_0x12e4bb;}[_0x1398d8(0x175)](_0x302890,_0x895a66,_0x246387,_0x519587){const _0x2eb219=_0x1398d8,_0x4ece68=this[_0x2eb219(0x1fb)][_0x2eb219(0x15f)][_0x2eb219(0x121)];let _0x40f278=_0x895a66;for(;_0x302890[_0x40f278]&&_0x302890[_0x40f278][_0x2eb219(0x1fa)];)_0x40f278++;let _0x248614=_0x519587;for(;_0x246387[_0x248614]&&_0x246387[_0x248614][_0x2eb219(0x11c)];)_0x248614++;_0xf30bd(_0x302890,_0x895a66,_0x40f278),_0xf30bd(_0x246387,_0x519587,_0x248614);const _0x5e2ddb=_0x246387[_0x2eb219(0xdc)](_0x519587,_0x248614)[_0x2eb219(0x177)](_0x302890[_0x2eb219(0xdc)](_0x895a66,_0x40f278));return _0x5e2ddb[_0x2eb219(0x1d9)]((_0x589b69,_0x2242d6)=>_0x589b69[_0x2eb219(0xc2)]!=_0x2242d6[_0x2eb219(0xc2)]?_0x589b69[_0x2eb219(0xc2)]-_0x2242d6[_0x2eb219(0xc2)]:_0x589b69[_0x2eb219(0x163)]!=_0x2242d6[_0x2eb219(0x163)]?_0x589b69[_0x2eb219(0x163)]-_0x2242d6[_0x2eb219(0x163)]:_0x589b69[_0x2eb219(0xc5)]!=_0x2242d6[_0x2eb219(0xc5)]?_0x2242d6[_0x2eb219(0xc5)]-_0x589b69[_0x2eb219(0xc5)]:!!_0x589b69[_0x2eb219(0x1fa)]!=!!_0x2242d6[_0x2eb219(0x1fa)]?-0x1==_0x589b69[_0x2eb219(0xc2)]||0x0==_0x589b69[_0x2eb219(0xc2)]?_0x589b69[_0x2eb219(0x1fa)]?-0x1:0x1:_0x589b69[_0x2eb219(0x1fa)]?0x1:-0x1:_0x589b69[_0x2eb219(0x154)]-_0x2242d6[_0x2eb219(0x154)]),{'commonTape':_0x5e2ddb,'iEnd':_0x40f278,'jEnd':_0x248614};function _0xf30bd(_0x8ff7e1,_0x1825d5,_0xde2bf5){const _0x5b39f4=_0x2eb219;let _0x4518c7=-0x1,_0x4621e9=Number[_0x5b39f4(0xba)],_0x13ed96=!0x0;for(let _0x4a3c7e=_0x1825d5;_0x4a3c7e<_0xde2bf5;_0x4a3c7e++)if(_0x4ece68[_0x5b39f4(0x17a)](_0x8ff7e1[_0x4a3c7e][_0x5b39f4(0xca)])||(_0x13ed96=!0x1),_0x8ff7e1[_0x4a3c7e][_0x5b39f4(0xca)][_0x5b39f4(0xff)]<_0x1825d5&&(_0x4518c7=_0x4a3c7e),_0x8ff7e1[_0x4a3c7e][_0x5b39f4(0xca)][_0x5b39f4(0xd7)]>=_0xde2bf5){_0x4621e9=_0x4a3c7e;break;}_0x13ed96&&(_0x4518c7=_0xde2bf5-0x1);for(let _0x20b14a=_0x1825d5;_0x20b14a<_0xde2bf5;_0x20b14a++)_0x8ff7e1[_0x20b14a][_0x5b39f4(0xc2)]=_0x20b14a<=_0x4518c7?-0x1:_0x20b14a<_0x4621e9?0x0:0x1,_0x8ff7e1[_0x20b14a][_0x5b39f4(0x154)]=_0x20b14a;let _0x58b728=0x0;for(let _0x73b00d=_0x1825d5;_0x73b00d<=_0x4518c7;_0x73b00d++)0x0==_0x8ff7e1[_0x73b00d][_0x5b39f4(0xc5)]?_0x8ff7e1[_0x73b00d][_0x5b39f4(0x163)]=_0x58b728:(_0x58b728++,_0x8ff7e1[_0x73b00d][_0x5b39f4(0x163)]=_0x58b728,_0x58b728++);for(let _0x140d33=_0x1825d5;_0x140d33<_0xde2bf5;_0x140d33++)0x0==_0x8ff7e1[_0x140d33][_0x5b39f4(0xc2)]&&(_0x8ff7e1[_0x140d33][_0x5b39f4(0x163)]=_0x58b728);_0x58b728=0x0;for(let _0x5748fb=_0xde2bf5-0x1;_0x5748fb>=_0x4621e9;_0x5748fb--)0x0==_0x8ff7e1[_0x5748fb][_0x5b39f4(0xc5)]?_0x8ff7e1[_0x5748fb][_0x5b39f4(0x163)]=_0x58b728:(_0x58b728--,_0x8ff7e1[_0x5748fb][_0x5b39f4(0x163)]=_0x58b728,_0x58b728--);}}[_0x1398d8(0x155)](_0x323833){const _0x207490=_0x1398d8,_0x43fd5b=new Map(),_0x3a5f58=this[_0x207490(0x1fb)][_0x207490(0x15f)][_0x207490(0x121)];for(let _0x2e04da=0x1;_0x2e04da<_0x323833[_0x207490(0xf6)];_0x2e04da++){let _0x4d812a,_0x3cd69c,_0x2f8edc;const _0x6b4995=_0x323833[_0x2e04da],_0x488d27=_0x323833[_0x2e04da-0x1];if(_0x207490(0x136)==_0x6b4995[_0x207490(0x13f)])continue;if(_0x6b4995[_0x207490(0x13f)]!=_0x488d27[_0x207490(0x13f)])continue;if(!_0x3a5f58[_0x207490(0x159)](_0x488d27[_0x207490(0xca)])||_0x3a5f58[_0x207490(0x1af)](_0x488d27[_0x207490(0xca)]))continue;if(!_0x3a5f58[_0x207490(0x159)](_0x6b4995[_0x207490(0xca)])||_0x3a5f58[_0x207490(0x1af)](_0x6b4995[_0x207490(0xca)]))continue;if((_0x323833[_0x2e04da][_0x207490(0x1fa)]||_0x323833[_0x2e04da][_0x207490(0x16f)])&&_0x323833[_0x2e04da-0x1][_0x207490(0x11c)])_0x4d812a=_0x323833[_0x2e04da],_0x3cd69c=_0x323833[_0x2e04da-0x1],_0x2f8edc=_0x2e04da-0x1;else{if(!_0x323833[_0x2e04da][_0x207490(0x11c)]||!_0x323833[_0x2e04da-0x1][_0x207490(0x1fa)]&&!_0x323833[_0x2e04da-0x1][_0x207490(0x16f)])continue;_0x4d812a=_0x323833[_0x2e04da-0x1],_0x3cd69c=_0x323833[_0x2e04da],_0x2f8edc=_0x2e04da;}const _0x268ee1=_0x4d812a[_0x207490(0x163)]==_0x3cd69c[_0x207490(0x163)],_0xe80c83=Math[_0x207490(0x15b)](_0x4d812a[_0x207490(0x163)])<Math[_0x207490(0x15b)](_0x3cd69c[_0x207490(0x163)])&&0x0==_0x3cd69c[_0x207490(0xc5)];(_0x268ee1||_0xe80c83)&&(_0x43fd5b[_0x207490(0x108)](_0x3cd69c['id'],_0x4d812a['id']),_0x323833[_0x207490(0x190)](_0x2f8edc,0x1),_0x2e04da--,_0x4d812a[_0x207490(0x1fa)]=!0x1);}for(let _0x4f05e2=0x0;_0x4f05e2<_0x323833[_0x207490(0xf6)];_0x4f05e2++)_0x43fd5b[_0x207490(0x1ab)](_0x323833[_0x4f05e2][_0x207490(0xbe)])&&(_0x323833[_0x4f05e2][_0x207490(0xbe)]=_0x43fd5b[_0x207490(0x101)](_0x323833[_0x4f05e2][_0x207490(0xbe)]));}[_0x1398d8(0x179)](_0x42ab65){const _0x3a595d=_0x1398d8,_0x255d2b=new Set(_0x42ab65[_0x3a595d(0xdb)](_0x43e63a=>_0x43e63a['id']));for(let _0x7765dd=0x0;_0x7765dd<_0x42ab65[_0x3a595d(0xf6)];_0x7765dd++)_0x255d2b[_0x3a595d(0x1ab)](_0x42ab65[_0x7765dd][_0x3a595d(0xbe)])||0x0==_0x42ab65[_0x7765dd][_0x3a595d(0xc5)]||(_0x42ab65[_0x7765dd][_0x3a595d(0x1f7)]=!0x0);return _0x42ab65[_0x3a595d(0x152)](_0x58eb44=>!_0x58eb44[_0x3a595d(0x1f7)]);}[_0x1398d8(0x1ec)](_0x402ca1){const _0x4f6292=_0x1398d8,_0x265814=new Set();for(let _0x330be8=0x0;_0x330be8<_0x402ca1[_0x4f6292(0xf6)];_0x330be8++){if(_0x265814[_0x4f6292(0x1ab)](_0x402ca1[_0x330be8]['id'])&&_0x402ca1[_0x330be8][_0x4f6292(0x11c)]&&(_0x402ca1[_0x330be8][_0x4f6292(0x1f7)]=!0x0),_0x402ca1[_0x330be8][_0x4f6292(0x1f7)])continue;if(0x0==_0x402ca1[_0x330be8][_0x4f6292(0xc5)])continue;if(_0x4f6292(0x12c)!=_0x402ca1[_0x330be8][_0x4f6292(0x13f)])continue;if(null==_0x402ca1[_0x330be8][_0x4f6292(0xbe)])continue;let _0x377a03=_0x330be8+0x1,_0xc15213=0x0;for(;_0x402ca1[_0x377a03]['id']!=_0x402ca1[_0x330be8][_0x4f6292(0xbe)];)_0x4f6292(0x12c)==_0x402ca1[_0x377a03][_0x4f6292(0x13f)]?_0xc15213++:_0x4f6292(0x193)==_0x402ca1[_0x377a03][_0x4f6292(0x13f)]&&_0xc15213--,_0x377a03++;if(0x0!=_0xc15213){if(_0x402ca1[_0x330be8][_0x4f6292(0x11c)])_0x402ca1[_0x330be8][_0x4f6292(0x1f7)]=!0x0;else{for(;_0x377a03!=_0x330be8;)_0x402ca1[_0x377a03][_0x4f6292(0x11c)]&&0x0!=_0x402ca1[_0x377a03][_0x4f6292(0xc5)]&&(_0x402ca1[_0x377a03][_0x4f6292(0x1f7)]=!0x0,_0x265814[_0x4f6292(0x146)](_0x402ca1[_0x377a03][_0x4f6292(0xbe)])),_0x377a03--;}}}return _0x402ca1[_0x4f6292(0x152)](_0x3445ac=>!_0x3445ac[_0x4f6292(0x1f7)]);}[_0x1398d8(0x1e3)](_0x4b4b2e){const _0x105a08=_0x1398d8,_0x5d8ff7=this[_0x105a08(0x1fb)][_0x105a08(0x15f)][_0x105a08(0x121)];for(let _0x5b4180=0x0;_0x5b4180<_0x4b4b2e[_0x105a08(0xf6)];_0x5b4180++){if(!(_0x4b4b2e[_0x5b4180][_0x105a08(0x1fa)]||_0x4b4b2e[_0x5b4180][_0x105a08(0x16f)]||_0x4b4b2e[_0x5b4180][_0x105a08(0x11c)]||_0x4b4b2e[_0x5b4180][_0x105a08(0xb2)]))continue;if(0x0==_0x4b4b2e[_0x5b4180][_0x105a08(0xc5)])continue;const _0x54b6cf=_0x4b4b2e[_0x5b4180][_0x105a08(0xca)];_0x5d8ff7[_0x105a08(0x159)](_0x54b6cf)||_0x5d8ff7[_0x105a08(0x1af)](_0x54b6cf)||(_0x4b4b2e[_0x5b4180][_0x105a08(0x1fa)]&&delete _0x4b4b2e[_0x5b4180][_0x105a08(0x1fa)],_0x4b4b2e[_0x5b4180][_0x105a08(0x16f)]&&delete _0x4b4b2e[_0x5b4180][_0x105a08(0x16f)],_0x4b4b2e[_0x5b4180][_0x105a08(0xb2)]&&delete _0x4b4b2e[_0x5b4180][_0x105a08(0xb2)],_0x4b4b2e[_0x5b4180][_0x105a08(0x11c)]&&(_0x4b4b2e[_0x5b4180][_0x105a08(0x1f7)]=!0x0));}return _0x4b4b2e[_0x105a08(0x152)](_0x1514f6=>!_0x1514f6[_0x105a08(0x1f7)]);}[_0x1398d8(0x12a)](_0x1c7d5f,_0x3c71c2,_0x509dca){const _0x47abff=_0x1398d8,_0x47e985=new _0x38c389(),_0x29bc30=[],_0x2c8549=new Map(),_0xa88a4=this[_0x47abff(0x1fb)][_0x47abff(0x15f)],_0x4db899=_0xa88a4[_0x47abff(0x121)],_0x327eb4=[_0x47e985],_0x223049={},_0x1e6c49={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x48f1e3=null;const _0x1fe623=[0x0];for(let _0x3a039c=0x0;_0x3a039c<_0x1c7d5f[_0x47abff(0xf6)];_0x3a039c++){let _0x169528,_0x2425dd;if(_0x47abff(0x12c)===_0x1c7d5f[_0x3a039c][_0x47abff(0x13f)]){_0x169528=_0xa88a4[_0x47abff(0x1e0)](_0x47e985,_0x1fe623);const _0xc992e3=new _0x212f29(_0x1c7d5f[_0x3a039c][_0x47abff(0xca)][_0x47abff(0x111)],_0x1c7d5f[_0x3a039c][_0x47abff(0xca)][_0x47abff(0x1d1)]());_0x327eb4[0x0][_0x47abff(0x13d)](_0xc992e3),_0x1fe623[_0x47abff(0xbb)](0x0),_0x327eb4[_0x47abff(0x1bd)](_0xc992e3),_0x2425dd=_0xa88a4[_0x47abff(0x1e0)](_0x47e985,_0x1fe623),_0x48f1e3=null;}else{if(_0x47abff(0x193)===_0x1c7d5f[_0x3a039c][_0x47abff(0x13f)])_0x327eb4[_0x47abff(0xe8)](),_0x169528=_0xa88a4[_0x47abff(0x1e0)](_0x47e985,_0x1fe623),_0x1fe623[_0x47abff(0x1a2)](),_0x1fe623[_0x1fe623[_0x47abff(0xf6)]-0x1]++,_0x2425dd=_0xa88a4[_0x47abff(0x1e0)](_0x47e985,_0x1fe623),_0x48f1e3=null;else{if(_0x169528=_0xa88a4[_0x47abff(0x1e0)](_0x47e985,_0x1fe623),_0x48f1e3&&_0x5b046a(_0x48f1e3,_0x1c7d5f[_0x3a039c][_0x47abff(0xca)]))_0x48f1e3[_0x47abff(0x14e)]+=_0x1c7d5f[_0x3a039c][_0x47abff(0xca)][_0x47abff(0x1cd)];else{const _0x30b290=new _0x47210f(_0x1c7d5f[_0x3a039c][_0x47abff(0xca)][_0x47abff(0x1cd)],_0x1c7d5f[_0x3a039c][_0x47abff(0xca)][_0x47abff(0x1d1)]());_0x327eb4[0x0][_0x47abff(0x13d)](_0x30b290),_0x48f1e3=_0x30b290;}_0x1fe623[_0x1fe623[_0x47abff(0xf6)]-0x1]+=_0x1c7d5f[_0x3a039c][_0x47abff(0xca)][_0x47abff(0x186)],_0x2425dd=_0xa88a4[_0x47abff(0x1e0)](_0x47e985,_0x1fe623);}}for(const _0x1f20c1 of _0x1c7d5f[_0x3a039c][_0x47abff(0x12f)])_0x2c8549[_0x47abff(0x108)](_0x1f20c1,{'start':_0x169528,'end':null});_0x4ce673(_0x47abff(0xb2),_0x3a039c,_0x169528,_0x2425dd),_0x4ce673(_0x47abff(0x16f),_0x3a039c,_0x169528,_0x2425dd),_0x4ce673(_0x47abff(0x11c),_0x3a039c,_0x169528,_0x2425dd),_0x4ce673(_0x47abff(0x1fa),_0x3a039c,_0x169528,_0x2425dd);for(const _0x10e3e1 of _0x1c7d5f[_0x3a039c][_0x47abff(0x19b)]){_0x2c8549[_0x47abff(0x101)](_0x10e3e1)[_0x47abff(0x1f8)]=_0x2425dd;}}for(const [_0x4bfd69,_0xc523fb]of _0x2c8549){const _0x350725=this[_0x47abff(0x1fb)][_0x47abff(0x15f)][_0x47abff(0x157)](_0xc523fb[_0x47abff(0xb6)],_0xc523fb[_0x47abff(0x1f8)]);_0x47e985[_0x47abff(0xda)][_0x47abff(0x108)](_0x4bfd69,_0x350725);}return _0x29bc30[_0x47abff(0x1d9)]((_0x3a0dbb,_0x21105e)=>{const _0x20b99f=_0x47abff,_0x57a5a4=_0x47e985[_0x20b99f(0xda)][_0x20b99f(0x101)](_0x20b99f(0xc7)+_0x3a0dbb['id']),_0x208108=_0x47e985[_0x20b99f(0xda)][_0x20b99f(0x101)](_0x20b99f(0xc7)+_0x21105e['id']);return _0x57a5a4[_0x20b99f(0xb6)][_0x20b99f(0x17f)](_0x208108[_0x20b99f(0xb6)])?-0x1:_0x57a5a4[_0x20b99f(0xb6)][_0x20b99f(0x15c)](_0x208108[_0x20b99f(0xb6)])?0x1:_0x57a5a4[_0x20b99f(0x1f8)][_0x20b99f(0x17f)](_0x208108[_0x20b99f(0x1f8)])?-0x1:_0x57a5a4[_0x20b99f(0x1f8)][_0x20b99f(0x15c)](_0x208108[_0x20b99f(0x1f8)])?0x1:_0x20b99f(0x146)===_0x3a0dbb[_0x20b99f(0x13f)]?-0x1:0x1;}),{'root':_0x47e985,'changes':_0x29bc30};function _0x4ce673(_0x3df5b,_0x25eccd,_0x3ebf46,_0x8e287a){const _0xb3d325=_0x47abff,_0x1dbeed=!!_0x1c7d5f[_0x25eccd][_0x3df5b],_0x1c35f3=_0x1dbeed?_0x1c7d5f[_0x25eccd][_0x3df5b][_0xb3d325(0x1bb)]:null,_0x157925=_0x25eccd===_0x1c7d5f[_0xb3d325(0xf6)]-0x1,_0x5a4cb2=_0x1e6c49[_0x3df5b][0x0],_0x559642=_0x4db899[_0xb3d325(0xcd)](_0x1c7d5f[_0x25eccd][_0xb3d325(0xca)]);!_0x223049[_0x3df5b]&&_0x1dbeed?_0x223049[_0x3df5b]={'start':_0x3ebf46,'tapeItem':_0x1c7d5f[_0x25eccd],'userId':_0x1c35f3,'type':_0x3df5b}:_0x223049[_0x3df5b]&&!_0x1dbeed?(_0x223049[_0x3df5b][_0xb3d325(0x1f8)]=_0x3ebf46,_0x58c2f3(_0x223049[_0x3df5b]),_0x223049[_0x3df5b]=null):_0x223049[_0x3df5b]&&_0x1dbeed&&_0x223049[_0x3df5b][_0xb3d325(0x1bb)]!==_0x1c35f3&&(_0x223049[_0x3df5b][_0xb3d325(0x1f8)]=_0x3ebf46,_0x5a4cb2&&_0x5a4cb2[_0xb3d325(0x1bb)]===_0x223049[_0x3df5b][_0xb3d325(0x1bb)]||_0x58c2f3(_0x223049[_0x3df5b]),_0x223049[_0x3df5b]={'start':_0x3ebf46,'tapeItem':_0x1c7d5f[_0x25eccd],'userId':_0x1c35f3,'type':_0x3df5b}),_0x223049[_0x3df5b]&&_0x559642&&(_0xb3d325(0x12c)!==_0x1c7d5f[_0x25eccd][_0xb3d325(0x13f)]||_0x5a4cb2&&_0x5a4cb2[_0xb3d325(0x1bb)]===_0x1c35f3||_0x1e6c49[_0x3df5b][_0xb3d325(0x1bd)]({'userId':_0x1c35f3,'object':_0x1c7d5f[_0x25eccd][_0xb3d325(0xca)],'change':_0x223049[_0x3df5b]}),_0xb3d325(0x193)===_0x1c7d5f[_0x25eccd][_0xb3d325(0x13f)]&&_0x5a4cb2&&_0x5a4cb2[_0xb3d325(0xe9)]===_0x1c7d5f[_0x25eccd][_0xb3d325(0xca)]&&(_0x1e6c49[_0x3df5b][_0xb3d325(0xe8)](),_0x223049[_0x3df5b]=_0x5a4cb2[_0xb3d325(0x107)])),_0x223049[_0x3df5b]&&_0x157925&&(_0x223049[_0x3df5b][_0xb3d325(0x1f8)]=_0x8e287a,_0x58c2f3(_0x223049[_0x3df5b]),_0x223049[_0x3df5b]=null);}function _0x58c2f3({start:_0x5c22ff,end:_0x5d991c,tapeItem:_0x2212ba,userId:_0x27fa61,type:_0x5075e9}){const _0x363789=_0x47abff,_0x285194=_0x2212ba[_0x363789(0xca)],_0x1a83b6=_0xa88a4[_0x363789(0x121)][_0x363789(0x159)](_0x285194)&&!_0xa88a4[_0x363789(0x121)][_0x363789(0x1af)](_0x285194),_0x5e0b8f=_0x5c22ff[_0x363789(0x1df)]==_0x5d991c[_0x363789(0x117)]&&_0x5d991c[_0x363789(0x1a0)];if(_0x1a83b6&&_0x5e0b8f)return;const _0x16b2fd=_0xa88a4[_0x363789(0x157)](_0x5c22ff,_0x5d991c),_0x4148f1=_0x3c71c2[_0x363789(0x101)](_0x27fa61),_0x2d19f0=new _0x542946({'author':_0x4148f1,'type':_0x363789(0x1fa)==_0x5075e9||_0x363789(0x16f)==_0x5075e9?_0x363789(0x146):_0x363789(0x12b),'data':{'isSuggestion':_0x363789(0x16f)==_0x5075e9||_0x363789(0xb2)==_0x5075e9},'createdAt':new Date(),'rootName':_0x509dca});_0x29bc30[_0x363789(0xbb)](_0x2d19f0),_0x47e985[_0x363789(0xda)][_0x363789(0x108)](_0x363789(0xc7)+_0x2d19f0['id'],_0x16b2fd);}function _0x5b046a(_0xfda820,_0x57bc95){const _0x102f51=_0x47abff,_0x1d03d6=_0xfda820[_0x102f51(0x1d1)](),_0x4c3c04=_0x57bc95[_0x102f51(0x1d1)]();for(const _0x44627e of _0x1d03d6){if(_0x44627e[0x1]!==_0x57bc95[_0x102f51(0x122)](_0x44627e[0x0]))return!0x1;_0x4c3c04[_0x102f51(0x1fe)]();}return _0x4c3c04[_0x102f51(0x1fe)]()[_0x102f51(0x1e7)];}}[_0x1398d8(0xf7)](){const _0x425cdd=_0x1398d8;this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0xc0))[_0x425cdd(0x1f0)]({'view':_0x425cdd(0xe5)}),this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0xb0))[_0x425cdd(0x1c1)]({'model':_0x425cdd(0xe5),'view':_0x578c48=>{const _0x3c5742=_0x425cdd,_0x1ef74f=_0x578c48[_0x3c5742(0x15d)][_0x3c5742(0x10b)](':')[0x1],_0xdaa728=this[_0x3c5742(0xb1)](_0x1ef74f);if(!_0xdaa728)return null;const _0x4b6960=_0x3c5742(0x146)==_0xdaa728[_0x3c5742(0x13f)]?_0x3c5742(0xf0):_0x3c5742(0x1ea),_0x581efe=[_0x3c5742(0x1bc),_0x3c5742(0x13c)+_0x4b6960];return _0xdaa728[_0x3c5742(0x1cd)][_0x3c5742(0x1b1)]&&_0x581efe[_0x3c5742(0xbb)](_0x3c5742(0x13c)+_0x4b6960+_0x3c5742(0x158)),this[_0x3c5742(0x11d)]==_0xdaa728&&_0x581efe[_0x3c5742(0xbb)](_0x3c5742(0xbd)),{'classes':_0x581efe,'attributes':{'data-change-id':_0x1ef74f}};}}),this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0xc0))[_0x425cdd(0x146)](_0x3d265c=>{const _0x2a07ef=_0x425cdd;_0x3d265c['on'](_0x2a07ef(0x1f6),(_0x3f9878,_0x36a97d,_0x248c11)=>{const _0x370aeb=_0x2a07ef,_0xd0a648=_0x36a97d[_0x370aeb(0x114)][_0x370aeb(0xee)](0x0);if(!_0xd0a648||!_0xd0a648['is'](_0x370aeb(0x127),_0x370aeb(0x1ae)))return;if(!_0x248c11[_0x370aeb(0x1c5)][_0x370aeb(0x1b2)](_0xd0a648,{'attributes':[_0x370aeb(0x1c0),_0x370aeb(0xf3)]}))return;const _0x1db181=_0x36a97d[_0x370aeb(0x142)][_0x370aeb(0xb6)][_0x370aeb(0x1df)];_0x248c11[_0x370aeb(0x194)][_0x370aeb(0xc6)](_0x370aeb(0x1c0),_0xd0a648[_0x370aeb(0x122)](_0x370aeb(0x1c0)),_0x1db181),_0x248c11[_0x370aeb(0x194)][_0x370aeb(0xc6)](_0x370aeb(0xf3),_0xd0a648[_0x370aeb(0x122)](_0x370aeb(0xf3)),_0x1db181);},{'priority':_0x2a07ef(0x145)});}),this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0xc0))[_0x425cdd(0x146)](_0x2c54ba=>{const _0x153bfd=_0x425cdd;_0x2c54ba['on'](_0x153bfd(0x127),(_0x1c3dd7,_0x32d773,_0x418b0e)=>{const _0x572940=_0x153bfd;if(!_0x418b0e[_0x572940(0x1c5)][_0x572940(0x1b2)](_0x32d773[_0x572940(0x114)],{'attributes':[_0x572940(0x1c0),_0x572940(0xf3)]}))return;if(_0x32d773[_0x572940(0x142)][_0x572940(0x169)])return;const _0x1a7c09=_0x32d773[_0x572940(0x142)][_0x572940(0xb6)][_0x572940(0x1df)];_0x1a7c09[_0x572940(0xf8)](_0x572940(0x1c0))||_0x1a7c09[_0x572940(0xf8)](_0x572940(0x15e))||(_0x418b0e[_0x572940(0x194)][_0x572940(0xc6)](_0x572940(0x1c0),_0x32d773[_0x572940(0x114)][_0x572940(0x122)](_0x572940(0x1c0)),_0x1a7c09),_0x418b0e[_0x572940(0x194)][_0x572940(0xc6)](_0x572940(0xf3),_0x32d773[_0x572940(0x114)][_0x572940(0x122)](_0x572940(0xf3)),_0x1a7c09));},{'priority':_0x153bfd(0x145)});}),this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0xc0))[_0x425cdd(0x11f)]({'view':{'name':_0x425cdd(0x105),'attributes':{'vid':!0x0}},'model':{'key':_0x425cdd(0x15e),'value':_0x154d09=>_0x154d09[_0x425cdd(0x122)](_0x425cdd(0x15e))}}),this[_0x425cdd(0x1fb)][_0x425cdd(0x15f)][_0x425cdd(0x121)]['on'](_0x425cdd(0x1be),(_0x4a3549,[,_0x4e8686])=>{const _0x1fbc11=_0x425cdd;[_0x1fbc11(0x1c0),_0x1fbc11(0xf3),_0x1fbc11(0x15e)][_0x1fbc11(0x1b7)](_0x4e8686)&&(_0x4a3549[_0x1fbc11(0x184)]=!0x0,_0x4a3549[_0x1fbc11(0x1d8)]());},{'priority':_0x425cdd(0x1ac)}),this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0x17d))[_0x425cdd(0x146)](_0x221264=>{const _0x221676=_0x425cdd;_0x221264['on'](_0x221676(0x133),(_0x1e9635,_0x153078,_0x25ced2)=>{const _0x4819eb=_0x221676;if('\x20'!=_0x153078[_0x4819eb(0xca)][_0x4819eb(0x1cd)]||_0x153078[_0x4819eb(0xca)][_0x4819eb(0x117)][_0x4819eb(0xf5)]>0x1)return;if(!_0x25ced2[_0x4819eb(0x1c5)][_0x4819eb(0x1b2)](_0x153078[_0x4819eb(0xca)],_0x1e9635[_0x4819eb(0x111)]))return;const _0x435fbf=_0x25ced2[_0x4819eb(0x194)],_0x6e84fa=_0x25ced2[_0x4819eb(0x1f4)][_0x4819eb(0x17b)](_0x153078[_0x4819eb(0x192)]);_0x435fbf[_0x4819eb(0x1d4)](_0x6e84fa,_0x435fbf[_0x4819eb(0x116)](_0x4819eb(0x105)));});}),this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0x17d))[_0x425cdd(0x134)]({'model':_0x425cdd(0xe5)}),this[_0x425cdd(0x1fb)][_0x425cdd(0xd4)][_0x425cdd(0x1d2)]['on'](_0x425cdd(0x1d7),function(_0x297fe1){const _0x351b5e=_0x425cdd,_0x394d8c=_0x297fe1[_0x351b5e(0x197)][_0x351b5e(0x101)](_0x351b5e(0x167));return(_0x2c0c94,_0x56419a,_0x25072b)=>{const _0xa1d172=_0x351b5e,_0x1b60cc=_0x56419a[_0xa1d172(0x15d)][_0xa1d172(0x10b)](':')[0x1],_0x43ebdf=_0x394d8c[_0xa1d172(0xb1)](_0x1b60cc);if(!_0x43ebdf)return null;const _0x2fc60e=_0xa1d172(0x146)==_0x43ebdf[_0xa1d172(0x13f)]?_0xa1d172(0x10b):_0xa1d172(0x109);if(!_0x25072b[_0xa1d172(0x1c5)][_0xa1d172(0xbc)](_0x56419a[_0xa1d172(0x103)],_0x2c0c94[_0xa1d172(0x111)]))return;const _0x207b41=_0x56419a[_0xa1d172(0x103)][_0xa1d172(0x19f)](),_0xa2b84=_0x56419a[_0xa1d172(0x103)][_0xa1d172(0xb6)],_0x38fcf8=_0x297fe1[_0xa1d172(0x15f)][_0xa1d172(0x121)];let _0x781aa7=null,_0x24d514=null,_0x31224a=!0x1,_0x490270=!0x1;for(const _0x5628b4 of _0x207b41){const _0x36ee00=_0x5628b4[_0xa1d172(0xca)];_0x31224a=_0x31224a||_0x38fcf8[_0xa1d172(0x182)](_0x36ee00);const _0xb0202f=_0x25072b[_0xa1d172(0x1f4)][_0xa1d172(0x1d3)](_0x36ee00);if(_0xb0202f&&_0xb0202f[_0xa1d172(0xd8)](_0xa1d172(0x180)))return;_0xa1d172(0x193)==_0x5628b4[_0xa1d172(0x13f)]&&(_0x38fcf8[_0xa1d172(0x159)](_0x36ee00)&&!_0x38fcf8[_0xa1d172(0x1af)](_0x36ee00)&&(_0x36ee00[_0xa1d172(0x199)]||_0xa2b84[_0xa1d172(0x102)]?_0x781aa7&&_0x781aa7[_0xa1d172(0x117)]==_0x36ee00||(_0x781aa7=_0x36ee00,_0x4b7f8(_0x5628b4[_0xa1d172(0x1ce)]),_0x490270=!0x0):_0x24d514=_0x24d514||_0x5628b4[_0xa1d172(0x1ce)]));}function _0x4b7f8(_0x3ed2f9){const _0x2251e4=_0xa1d172,_0x4394b2=_0x25072b[_0x2251e4(0x194)][_0x2251e4(0x18f)](_0x2251e4(0x105),{'class':_0x2251e4(0x13c)+_0x2fc60e}),_0x2a788c=_0x25072b[_0x2251e4(0x1f4)][_0x2251e4(0x149)](_0x3ed2f9);_0x43ebdf[_0x2251e4(0x1cd)][_0x2251e4(0x1b1)]&&_0x25072b[_0x2251e4(0x194)][_0x2251e4(0x13a)](_0x2251e4(0x13c)+_0x2fc60e+_0x2251e4(0x158),_0x4394b2),_0x394d8c[_0x2251e4(0x11d)]==_0x43ebdf&&_0x25072b[_0x2251e4(0x194)][_0x2251e4(0x13a)](_0x2251e4(0xbd),_0x4394b2),_0x25072b[_0x2251e4(0x194)][_0x2251e4(0x18a)](_0x2a788c,_0x4394b2),_0x25072b[_0x2251e4(0x1f4)][_0x2251e4(0x11a)](_0x4394b2,_0x56419a[_0x2251e4(0x15d)]);}_0x31224a||_0x490270||!_0x24d514||_0x4b7f8(_0x24d514);};}(this[_0x425cdd(0x1fb)]),{'priority':_0x425cdd(0xf1)}),this[_0x425cdd(0x1fb)][_0x425cdd(0xd4)][_0x425cdd(0x1d2)]['on'](_0x425cdd(0xd2),(_0x44e849,_0x462418,_0x48566d)=>{const _0x3e5755=_0x425cdd,_0x358f8a=_0x48566d[_0x3e5755(0x1f4)][_0x3e5755(0x16c)](_0x462418[_0x3e5755(0x15d)]);if(_0x358f8a){for(const _0x1aaf2e of _0x358f8a)(_0x1aaf2e[_0x3e5755(0x1e8)](_0x3e5755(0xf4))||_0x1aaf2e[_0x3e5755(0x1e8)](_0x3e5755(0x1da)))&&(_0x48566d[_0x3e5755(0x1f4)][_0x3e5755(0x187)](_0x1aaf2e,_0x462418[_0x3e5755(0x15d)]),_0x48566d[_0x3e5755(0x194)][_0x3e5755(0x12b)](_0x1aaf2e));}},{'priority':_0x425cdd(0xf1)}),this[_0x425cdd(0x1fb)][_0x425cdd(0xd4)][_0x425cdd(0x1d2)]['on'](_0x425cdd(0x1d7),(_0x15c697,_0x3b24e6,_0x3bdd38)=>{const _0x1f5d97=_0x425cdd,_0xe92295=_0x3b24e6[_0x1f5d97(0x15d)][_0x1f5d97(0x10b)](':')[0x1],_0x3530ba=this[_0x1f5d97(0xb1)](_0xe92295);if(!_0x3530ba)return null;const _0x2dcd09=_0x1f5d97(0x146)==_0x3530ba[_0x1f5d97(0x13f)]?_0x1f5d97(0x10b):_0x1f5d97(0x109);if(_0x3bdd38[_0x1f5d97(0x1c5)][_0x1f5d97(0xbc)](_0x3b24e6[_0x1f5d97(0x103)],_0x15c697[_0x1f5d97(0x111)]))for(const _0x882294 of _0x3b24e6[_0x1f5d97(0x103)][_0x1f5d97(0x144)]()){if(!_0x882294['is'](_0x1f5d97(0x127),_0x1f5d97(0x19a)))continue;const _0x2db971=_0x3bdd38[_0x1f5d97(0x194)][_0x1f5d97(0x18f)](_0x1f5d97(0x105),{'class':_0x1f5d97(0x13c)+_0x2dcd09}),_0x4ed873=_0x3bdd38[_0x1f5d97(0x1f4)][_0x1f5d97(0x149)](this[_0x1f5d97(0x1fb)][_0x1f5d97(0x15f)][_0x1f5d97(0xfa)](_0x882294));_0x3530ba[_0x1f5d97(0x1cd)][_0x1f5d97(0x1b1)]&&_0x3bdd38[_0x1f5d97(0x194)][_0x1f5d97(0x13a)](_0x1f5d97(0x13c)+_0x2dcd09+_0x1f5d97(0x158),_0x2db971),this[_0x1f5d97(0x11d)]==_0x3530ba&&_0x3bdd38[_0x1f5d97(0x194)][_0x1f5d97(0x13a)](_0x1f5d97(0xbd),_0x2db971),_0x3bdd38[_0x1f5d97(0x194)][_0x1f5d97(0x18a)](_0x4ed873,_0x2db971),_0x3bdd38[_0x1f5d97(0x1f4)][_0x1f5d97(0x11a)](_0x2db971,_0x3b24e6[_0x1f5d97(0x15d)]);}},{'priority':_0x425cdd(0xf1)}),this[_0x425cdd(0x1fb)][_0x425cdd(0x15f)][_0x425cdd(0x1cb)]['on'](_0x425cdd(0x107),()=>{const _0x7c6734=_0x425cdd;this[_0x7c6734(0x1fb)][_0x7c6734(0xd4)][_0x7c6734(0x12e)][_0x7c6734(0x107)](_0x2e316d=>{const _0x115537=_0x7c6734;for(const _0x452302 of this[_0x115537(0x1fb)][_0x115537(0x15f)][_0x115537(0x1cb)][_0x115537(0x1d0)]()){const _0x65cf99=this[_0x115537(0x1fb)][_0x115537(0x15f)][_0x115537(0x1cb)][_0x115537(0x147)](_0x452302),_0x1a105d=this[_0x115537(0x1fb)][_0x115537(0xd4)][_0x115537(0x12e)][_0x115537(0x1cb)][_0x115537(0x147)](_0x452302);if(_0x1a105d){const _0x19fd75=_0x65cf99[_0x115537(0x122)](_0x115537(0x128));if(_0x2e316d[_0x115537(0x1cc)](_0x115537(0x1dc),_0x1a105d),_0x2e316d[_0x115537(0x174)](_0x115537(0x1bf),_0x1a105d),_0x2e316d[_0x115537(0x174)](_0x115537(0x125),_0x1a105d),_0x2e316d[_0x115537(0x174)](_0x115537(0x110),_0x1a105d),_0x19fd75){const _0x473e26=this[_0x115537(0xb1)](_0x19fd75);if(!_0x473e26)return null;_0x2e316d[_0x115537(0xc6)](_0x115537(0x1dc),_0x19fd75,_0x1a105d),_0x2e316d[_0x115537(0x13a)](_0x115537(0xcf)+_0x473e26[_0x115537(0x13f)],_0x1a105d),this[_0x115537(0x11d)]==_0x473e26&&_0x2e316d[_0x115537(0x13a)](_0x115537(0x110),_0x1a105d);}}}});}),this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0xc0))[_0x425cdd(0x1f0)]({'view':_0x425cdd(0xed),'model':_0x2f312d=>_0x425cdd(0xc3)+_0x2f312d,'converterPriority':_0x425cdd(0x1ac)}),this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0xc0))[_0x425cdd(0x1f0)]({'view':_0x425cdd(0x168),'model':_0x27dbaa=>_0x425cdd(0xe3)+_0x27dbaa,'converterPriority':_0x425cdd(0x1ac)}),this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0x17d))[_0x425cdd(0x134)]({'model':_0x425cdd(0x1a8),'view':_0x19b63b=>({'name':_0x425cdd(0x129)+_0x19b63b,'group':_0x425cdd(0x1a8)}),'converterPriority':_0x425cdd(0x1ac)}),this[_0x425cdd(0x1fb)][_0x425cdd(0xc9)][_0x425cdd(0x1a4)](_0x425cdd(0xb0))[_0x425cdd(0x1c1)]({'model':_0x425cdd(0x1a8),'view':_0x2981ff=>{const _0x20dbd5=_0x425cdd,_0x2d0fbb=_0x2981ff[_0x20dbd5(0x15d)][_0x20dbd5(0x10b)](':')[0x1];return _0x20dbd5(0xf0)!=_0x2d0fbb&&_0x20dbd5(0x1ea)!=_0x2d0fbb?null:{'classes':[_0x20dbd5(0x1f1),_0x20dbd5(0x198)+_0x2d0fbb]};}}),this[_0x425cdd(0x1fb)][_0x425cdd(0xd4)][_0x425cdd(0x1d2)]['on'](_0x425cdd(0x1e2),et(this[_0x425cdd(0x1fb)],_0x425cdd(0x109)),{'priority':_0x425cdd(0xf1)}),this[_0x425cdd(0x1fb)][_0x425cdd(0xd4)][_0x425cdd(0x1d2)]['on'](_0x425cdd(0xe0),et(this[_0x425cdd(0x1fb)],_0x425cdd(0x10b)),{'priority':_0x425cdd(0xf1)}),this[_0x425cdd(0x1fb)][_0x425cdd(0xd4)][_0x425cdd(0x1d2)]['on'](_0x425cdd(0x1e6),(_0x93d1aa,_0x59fd9a,_0x2c3098)=>{const _0x17ffd1=_0x425cdd,_0x203d2b=_0x2c3098[_0x17ffd1(0x1f4)][_0x17ffd1(0x16c)](_0x59fd9a[_0x17ffd1(0x15d)]);if(_0x203d2b){for(const _0x324463 of _0x203d2b)_0x324463['is'](_0x17ffd1(0xb5))&&(_0x2c3098[_0x17ffd1(0x1f4)][_0x17ffd1(0x187)](_0x324463,_0x59fd9a[_0x17ffd1(0x15d)]),_0x2c3098[_0x17ffd1(0x194)][_0x17ffd1(0x12b)](_0x324463));}},{'priority':_0x425cdd(0xf1)});}[_0x1398d8(0xb1)](_0x23c303){const _0x54df23=_0x1398d8;return this[_0x54df23(0x1d6)][_0x54df23(0x101)](_0x23c303);}[_0x1398d8(0x1fd)](_0xfb5e7e){const _0x2a460f=_0x1398d8;return this[_0x2a460f(0x10f)]&&this[_0x2a460f(0x10f)][_0x2a460f(0x1f5)](),this[_0x2a460f(0x10f)]=new _0x1b45b5(this[_0x2a460f(0x1fb)][_0x2a460f(0x11e)],_0xfb5e7e),this[_0x2a460f(0x10f)];}[_0x1398d8(0x14f)](){const _0x4fa7a4=_0x1398d8;this[_0x4fa7a4(0x1fb)][_0x4fa7a4(0x15f)][_0x4fa7a4(0x1cb)][_0x4fa7a4(0x120)][_0x4fa7a4(0xfb)](_0x4fa7a4(0xe5)),this['on'](_0x4fa7a4(0x151),(_0x2a48a8,_0xd6eb53,_0x43243b,_0x57f9b0)=>{const _0x48cfe2=_0x4fa7a4;_0x57f9b0&&this[_0x48cfe2(0x10e)][_0x48cfe2(0x12b)](_0x57f9b0),_0x43243b&&(this[_0x48cfe2(0x10e)][_0x48cfe2(0x146)]({'view':_0x43243b,'stackId':_0x48cfe2(0xe7),'position':{'target':()=>{const _0x167478=_0x48cfe2,_0x10c5e3=this[_0x167478(0x1fb)][_0x167478(0xd4)],_0x504766=this[_0x167478(0xb1)](_0x43243b[_0x167478(0x1b0)]);let _0x3f915b;if(_0x504766[_0x167478(0x1cd)][_0x167478(0x188)]){const _0x370151=_0x10c5e3[_0x167478(0x12e)][_0x167478(0x164)](_0x504766[_0x167478(0xdf)]);_0x3f915b=Array[_0x167478(0x14b)](_0x370151[_0x167478(0x166)]());}else{const _0x3831da=this[_0x167478(0x1fb)][_0x167478(0x15f)][_0x167478(0xda)][_0x167478(0x101)](_0x167478(0xc7)+_0x43243b[_0x167478(0x1b0)]);_0x3f915b=Array[_0x167478(0x14b)](_0x10c5e3[_0x167478(0x1f4)][_0x167478(0x16c)](_0x3831da[_0x167478(0x111)]))[_0x167478(0xdb)](_0x3b16ac=>_0x10c5e3[_0x167478(0x12e)][_0x167478(0x1a3)][_0x167478(0x113)](_0x3b16ac))[_0x167478(0xdb)](_0x303056=>Array[_0x167478(0x14b)](_0x303056[_0x167478(0x166)]()))[_0x167478(0x181)]();}if(!this[_0x167478(0x1eb)])return _0x3f915b[0x0];return _0x3f915b[_0x167478(0xea)](_0x193c76=>_0x193c76[_0x167478(0x185)]-0x3<=this[_0x167478(0x1eb)]['y']&&_0x193c76[_0x167478(0x1e9)]+0x3>=this[_0x167478(0x1eb)]['y']&&_0x193c76[_0x167478(0x1c4)]-0x3<=this[_0x167478(0x1eb)]['x']&&_0x193c76[_0x167478(0xe1)]+0x3>=this[_0x167478(0x1eb)]['x'])||_0x3f915b[0x0];}}}),this[_0x48cfe2(0x10e)][_0x48cfe2(0x1b5)](_0x48cfe2(0xe7)));}),this['on'](_0x4fa7a4(0x171),(_0x55b58e,_0x51d1fc,_0x216c94,_0x5a6c38)=>{const _0x2438c4=_0x4fa7a4;this[_0x2438c4(0x13b)]=_0x216c94?this[_0x2438c4(0x1fd)](_0x216c94):null,this[_0x2438c4(0x1fb)][_0x2438c4(0x15f)][_0x2438c4(0x107)](()=>{const _0x2d9e50=_0x2438c4,_0x144393=this[_0x2d9e50(0x1fb)][_0x2d9e50(0xd4)];_0x5a6c38&&(_0x5a6c38[_0x2d9e50(0x1cd)][_0x2d9e50(0x188)]?_0x144393[_0x2d9e50(0x12e)][_0x2d9e50(0x107)](_0x2cba1d=>{const _0x81537b=_0x2d9e50;_0x2cba1d[_0x81537b(0x174)](_0x81537b(0x110),_0x144393[_0x81537b(0x12e)][_0x81537b(0x1cb)][_0x81537b(0x147)](_0x5a6c38[_0x81537b(0xdf)]));}):_0x144393[_0x2d9e50(0x12d)](_0x2d9e50(0xc7)+_0x5a6c38['id'])),_0x216c94&&(_0x216c94[_0x2d9e50(0x1cd)][_0x2d9e50(0x188)]?_0x144393[_0x2d9e50(0x12e)][_0x2d9e50(0x107)](_0x4bf7f7=>{const _0x5e8785=_0x2d9e50;_0x4bf7f7[_0x5e8785(0x13a)](_0x5e8785(0x110),_0x144393[_0x5e8785(0x12e)][_0x5e8785(0x1cb)][_0x5e8785(0x147)](_0x216c94[_0x5e8785(0xdf)]));}):_0x144393[_0x2d9e50(0x12d)](_0x2d9e50(0xc7)+_0x216c94['id']));});}),this[_0x4fa7a4(0x1a1)](this[_0x4fa7a4(0x1fb)][_0x4fa7a4(0xd4)][_0x4fa7a4(0x12e)][_0x4fa7a4(0x1cb)],_0x4fa7a4(0x1de),(_0x32647d,_0xbbc3fb)=>{const _0x272c44=_0x4fa7a4;if(this[_0x272c44(0x11d)])return;const _0x4bfcf1=this[_0x272c44(0x13e)](_0xbbc3fb[_0x272c44(0x200)]),_0x4931c3=this[_0x272c44(0x1d6)][_0x272c44(0x101)](_0x4bfcf1);_0x4931c3?(this[_0x272c44(0x1eb)]={'x':_0xbbc3fb[_0x272c44(0x172)]['x'],'y':_0xbbc3fb[_0x272c44(0x172)]['y']},this[_0x272c44(0x13b)]=this[_0x272c44(0x1fd)](_0x4931c3)):(this[_0x272c44(0x1eb)]=null,this[_0x272c44(0x13b)]=null);}),this[_0x4fa7a4(0x1a1)](this[_0x4fa7a4(0x1fb)][_0x4fa7a4(0xd4)][_0x4fa7a4(0x12e)][_0x4fa7a4(0x1cb)],_0x4fa7a4(0xe6),(_0x59b4b7,_0x14a357)=>{const _0x5d7b0e=_0x4fa7a4,_0x3a9a62=this[_0x5d7b0e(0x13e)](_0x14a357[_0x5d7b0e(0x200)]),_0x45d50d=this[_0x5d7b0e(0x1d6)][_0x5d7b0e(0x101)](_0x3a9a62);_0x45d50d?(this[_0x5d7b0e(0x1eb)]={'x':_0x14a357[_0x5d7b0e(0x172)]['x'],'y':_0x14a357[_0x5d7b0e(0x172)]['y']},_0x45d50d===this[_0x5d7b0e(0x11d)]?this[_0x5d7b0e(0x10e)][_0x5d7b0e(0x135)]():this[_0x5d7b0e(0x11d)]=_0x45d50d):(this[_0x5d7b0e(0x1eb)]=null,this[_0x5d7b0e(0x11d)]=null);});}[_0x1398d8(0x13e)](_0x2f096a){const _0x38ffca=_0x1398d8;do{const _0x3b4e70=_0x2f096a[_0x38ffca(0x122)](_0x38ffca(0x1dc));if(_0x3b4e70)return _0x3b4e70;_0x2f096a=_0x2f096a[_0x38ffca(0x117)];}while(_0x2f096a);return null;}[_0x1398d8(0x16b)](){const _0x6ca0af=_0x1398d8;this[_0x6ca0af(0x1fb)][_0x6ca0af(0x15f)][_0x6ca0af(0x107)](_0x68a970=>{const _0x257178=_0x6ca0af;for(const _0x5554e6 of this[_0x257178(0x1fb)][_0x257178(0x15f)][_0x257178(0xda)])_0x68a970[_0x257178(0x189)](_0x5554e6);});}}function et(_0x5cfc05,_0x173bf3){return(_0x3d3484,_0x2cf5b0,_0x282540)=>{const _0x357171=_0x350d;if(!_0x282540[_0x357171(0x1c5)][_0x357171(0xbc)](_0x2cf5b0[_0x357171(0x103)],_0x3d3484[_0x357171(0x111)]))return;const _0x2337bc=_0x2cf5b0[_0x357171(0x103)][_0x357171(0x19f)](),_0x333594=_0x2cf5b0[_0x357171(0x103)][_0x357171(0xb6)],_0x9613cd=_0x5cfc05[_0x357171(0x15f)][_0x357171(0x121)];let _0x22b7f8=null,_0x462d7f=null,_0x2dca56=!0x1,_0x1e3d29=!0x1;for(const _0x33ec60 of _0x2337bc){const _0x462d15=_0x33ec60[_0x357171(0xca)];_0x2dca56=_0x2dca56||_0x9613cd[_0x357171(0x182)](_0x462d15);const _0x33ad3d=_0x282540[_0x357171(0x1f4)][_0x357171(0x1d3)](_0x462d15);if(_0x33ad3d&&_0x33ad3d[_0x357171(0xd8)](_0x357171(0x180)))return;_0x357171(0x193)==_0x33ec60[_0x357171(0x13f)]&&(_0x9613cd[_0x357171(0x159)](_0x462d15)&&!_0x9613cd[_0x357171(0x1af)](_0x462d15)&&(_0x462d15[_0x357171(0x199)]||_0x333594[_0x357171(0x102)]?_0x22b7f8&&_0x22b7f8[_0x357171(0x117)]==_0x462d15||(_0x22b7f8=_0x462d15,_0x30aedf(_0x33ec60[_0x357171(0x1ce)]),_0x1e3d29=!0x0):_0x462d7f=_0x462d7f||_0x33ec60[_0x357171(0x1ce)]));}function _0x30aedf(_0x1c6959){const _0x5bfdbf=_0x357171,_0x4930ab=_0x282540[_0x5bfdbf(0x1f4)][_0x5bfdbf(0x149)](_0x1c6959),_0x4786a3=_0x282540[_0x5bfdbf(0x194)][_0x5bfdbf(0x18f)](_0x5bfdbf(0x105),{'class':_0x5bfdbf(0x198)+_0x173bf3});_0x282540[_0x5bfdbf(0x194)][_0x5bfdbf(0x18a)](_0x4930ab,_0x4786a3),_0x282540[_0x5bfdbf(0x1f4)][_0x5bfdbf(0x11a)](_0x4786a3,_0x2cf5b0[_0x5bfdbf(0x15d)]);}_0x2dca56||_0x1e3d29||!_0x462d7f||_0x30aedf(_0x462d7f);};}export class RestoreRevisionCommand extends _0x50024f{constructor(_0xa1d80d){const _0x33980b=_0x1398d8;super(_0xa1d80d);const _0x2489b5=_0xa1d80d[_0x33980b(0x197)][_0x33980b(0x101)](d);this[_0x33980b(0x106)]=!0x1,this[_0x33980b(0x1a1)](_0x2489b5,_0x33980b(0x1db),()=>this[_0x33980b(0x1e1)]()),this[_0x33980b(0x1a1)](_0x2489b5,_0x33980b(0x1e4),()=>this[_0x33980b(0x1e1)]());}[_0x1398d8(0x1b8)](){const _0xaf6728=_0x1398d8,_0x5c0498=this[_0xaf6728(0x1fb)],_0x59858e=_0x5c0498[_0xaf6728(0x197)][_0xaf6728(0x101)](d),_0x4fe8c0=_0x59858e[_0xaf6728(0x1a9)]?_0x59858e[_0xaf6728(0x19c)][_0xaf6728(0x1a7)]:null;_0x5c0498[_0xaf6728(0xb4)][_0xaf6728(0x101)](_0xaf6728(0x19d))[_0xaf6728(0x139)](_0x4fe8c0);}[_0x1398d8(0x1e1)](){const _0x25e3b1=_0x1398d8,{isReady:_0xa51617,isEnabled:_0x50c079}=this[_0x25e3b1(0x1fb)][_0x25e3b1(0x197)][_0x25e3b1(0x101)](d);this[_0x25e3b1(0xfc)]=_0xa51617&&_0x50c079;}}export class ShowChangeCommand extends _0x50024f{constructor(_0x14277f,{direction:_0xf3bf0e}){const _0x8e2752=_0x1398d8;super(_0x14277f);const _0x1d0d0a=_0x14277f[_0x8e2752(0x197)][_0x8e2752(0x101)](d);this[_0x8e2752(0x106)]=!0x1,this[_0x8e2752(0xf2)]=_0x8e2752(0x1b3)===_0xf3bf0e?0x1:-0x1,this[_0x8e2752(0x1a1)](_0x1d0d0a,_0x8e2752(0x1db),()=>this[_0x8e2752(0x1e1)]()),this[_0x8e2752(0x1a1)](_0x1d0d0a,_0x8e2752(0x1e4),()=>this[_0x8e2752(0x1e1)]()),this[_0x8e2752(0x1a1)](_0x1d0d0a,_0x8e2752(0x171),()=>this[_0x8e2752(0x1e1)]());}[_0x1398d8(0x1b8)](){const _0x5e3f97=_0x1398d8,_0x1d101b=this[_0x5e3f97(0x1fb)],_0x50de80=_0x1d101b[_0x5e3f97(0x197)][_0x5e3f97(0x101)](d),{isNavigationMode:_0x520c68,currentChangeNumber:_0x2722a8}=_0x50de80;let _0x1b4206;if(_0x50de80[_0x5e3f97(0x11d)]=_0x520c68?_0x50de80[_0x5e3f97(0x19c)][_0x5e3f97(0x16a)][_0x5e3f97(0x101)](_0x2722a8+this[_0x5e3f97(0xf2)]):_0x50de80[_0x5e3f97(0x19c)][_0x5e3f97(0x16a)][_0x5e3f97(0xd9)],_0x50de80[_0x5e3f97(0x11d)][_0x5e3f97(0x1cd)][_0x5e3f97(0x188)])_0x1b4206=_0x1d101b[_0x5e3f97(0xd4)][_0x5e3f97(0x12e)][_0x5e3f97(0x164)](_0x50de80[_0x5e3f97(0x11d)][_0x5e3f97(0xdf)]);else{const _0x26f95a=_0x1d101b[_0x5e3f97(0x15f)][_0x5e3f97(0xda)][_0x5e3f97(0x101)](_0x5e3f97(0xc7)+_0x50de80[_0x5e3f97(0x11d)]['id']);_0x1b4206=_0x37597a(_0x1d101b[_0x5e3f97(0xd4)],_0x26f95a);}_0x14a277({'target':_0x1b4206,'viewportOffset':0x28});}[_0x1398d8(0x1e1)](){const _0x32160e=_0x1398d8,{isNavigationMode:_0x268a0a,currentChangeNumber:_0x2de7a1,numberOfChanges:_0x2af698,isReady:_0x43d2cc,isEnabled:_0x253cc6}=this[_0x32160e(0x1fb)][_0x32160e(0x197)][_0x32160e(0x101)](d);this[_0x32160e(0xfc)]=!!(_0x253cc6&&_0x43d2cc&&_0x2af698)&&(!_0x268a0a||(0x1===this[_0x32160e(0xf2)]?_0x2de7a1<_0x2af698-0x1:_0x2de7a1>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
|
-
const
|
|
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
|
-
|
|
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
|
-
|
|
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)});}
|