@ckeditor/ckeditor5-revision-history 42.0.2-alpha.2 → 42.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2b5a8d=_0x4ddd;function _0x26e2(){const _0x451562=['getClientRects','getRevisionData','restoreRevision','isLimit','createUIElement','isAtEnd','addClass','for','get','model','collaboration.channelId','writer','toViewPosition','mapViewToDom','viewItem','change:isEnabled','document','enqueueChange','ck-editor__editable__overlay','consumable','next','isAtStart','addMarker:revision-suggestion:insertion','affectsData','left','element','revisionHistory','toData','2243003tiamal','toViewElement','startsWith','end','length','parent','getWalker','span','isAfter','consume','commands','POSITIVE_INFINITY','createPositionBefore','ck-revision-history-root--active','loadRevisionData','2nwitTz','toViewRange','updatePosition','indexOf','88428HLvIJq','wrap','nodeAfter','ck-suggestion-marker--active','all','isSuggestion','_getViewForChange','keys','compare','high','change:numberOfChanges','dataToMarker','modelRange','processor','_makeTape','mapper','revisionHistoryAttachChange','markerName','getRevisionRootsAttributes','comment','_sortAndFilterDiffChanges','hasClass','values','item','upcast','_fixObsoleteTags','ck-suggestion-preview-marker','target','pairId','suggestion:','WidgetToolbarRepository','_joinTapes','getItems','then','isAdded','isRemoveSuggestion','side','right','ck-suggestion-marker-','view','_initInteractions','_removeRevisionMarkers','range','addHighlight','forward','checkAttribute','isObject','elementEnd','roots','remove','flat','init','changes','ck-revision-history-root-remove','code','isAddSuggestion','deletions','splice','-new','removeMarker:revision','return','text','_markInsertions','_balloon','dataDowncast','_makeModelFromViewString','revision-suggestion:','createRangeIn','attributes','showNextChange','createRange','_cleanMarkers','newRevisionId','getAttribute','index','top','selection','isNavigationMode','getCustomProperty','getRevision','addRevision','endIndex','refresh','vid','authors','element:pre','49752kXXdux','10IjKYnI','unbindElementFromMarkerName','data-revision-','execute','delete','stop','rootName','isInline','adapter','bottom','pop','filter','set','highest','push','removeMarker:revision-suggestion','elementToAttribute','createAttributeElement','_cleanUp','markerToHighlight','conversion','concat','122868Dnzwcd','493732CJjlJY','createRevision','ck-suggestion-marker-split','removeMarker','_refreshStartEndIndex','marked','clear','_data','name','done','attributesBefore','showPreviousChange','diff','RevisionViewer','startIndex','mouseover','isReady','previousPosition','isBefore','_revisions','2947660eyMXTw','config','sort','_changeView','findIndex','change','attribute:vid','markers','restoreRevisionCallback','_setConversion','toModel','default','9968QUQmda','_processTape','attributesAfter','oldRevisionId','insertions','ck-suggestion-marker-merge','editing','_update','getChild','143efOyYF','resolve','domEvent','has','downcastDispatcher','_setDistance','isRemoved','object','getIndex','addRevisionData','schema','type','destroy','isOnRoot','vid_end','revision-viewer','currentChangeNumber','pluginName','abs','catch','addRoot','map','markerNameToElements','includes','_setChanges','_markSuggestions','start','change:activeChange','nextSibling','revision-suggestion','plugins','merge','isCollapsed','error','markersEnd','isAttached','_getViewObj','createPositionFromPath','editor','diffData','_threeWayMerge','slice','markerToData','revision-end','listenTo','change:isReady','activeChange','editingDowncast','ck-revision-history-root-add','_findChangeIdFromDomTarget','level','revision-comment:','shift','_markMarkers','getRoot','getRootNames','_getChangeFromId','nextPosition','find','softBreak','revision:','bindElementToMarker','useFillerType','test','ck-suggestion-preview-marker-','insertion','isEqual','unshift','_getDiff','reconvertMarker','elementStart','changeId','forceDisabled','revision-start','removeAttribute','userId','detachRoot','activeView','numberOfChanges','data','isEnabled','addMarker:revision','enableReadOnlyMode','ck-suggestion-marker','distance','data-change-id','forEach','insert','isContent','_removeUnsupportedChanges','observeMarkers','first','string','maxOffset','_activeViewTarget','split','_getRevisionsRange','_markMismatchedRemovedTags','_removeMissingPairs','domConverter','deletion','low','markerRange','2961aknTXw','locale','add','attachChange','markersStart','getDomRoot','bind','parse','_makeModelFromTape','mousedown','change:activeView','from','removeClass','_changeIdToChange','_step','suggestion','requires','vid_start','repository','hasAttribute','isBlock','setAttribute','ck-revision-history-root-','showStack','uiElement','revision','children','_appendChild','offsetSize','backward','RevisionsRepository','12MbJklv','revisionHistoryLabel','addMarker:revision-suggestion:deletion','isIncorrect','getAttributes'];_0x26e2=function(){return _0x451562;};return _0x26e2();}(function(_0x5f23af,_0x3f06a5){const _0xf94e40=_0x4ddd,_0x2128a0=_0x5f23af();while(!![]){try{const _0x49fd30=-parseInt(_0xf94e40(0xcf))/0x1*(parseInt(_0xf94e40(0x141))/0x2)+-parseInt(_0xf94e40(0x1f0))/0x3*(parseInt(_0xf94e40(0x129))/0x4)+parseInt(_0xf94e40(0x12a))/0x5*(parseInt(_0xf94e40(0xd3))/0x6)+parseInt(_0xf94e40(0xc0))/0x7+-parseInt(_0xf94e40(0x161))/0x8*(-parseInt(_0xf94e40(0x1d1))/0x9)+parseInt(_0xf94e40(0x155))/0xa+-parseInt(_0xf94e40(0x16a))/0xb*(parseInt(_0xf94e40(0x140))/0xc);if(_0x49fd30===_0x3f06a5)break;else _0x2128a0['push'](_0x2128a0['shift']());}catch(_0x5a2ff2){_0x2128a0['push'](_0x2128a0['shift']());}}}(_0x26e2,0x5c49e));import{Plugin as _0xd8e89e,Command as _0x4f4397}from'ckeditor5/src/core.js';function _0x4ddd(_0x224eda,_0x2c2275){const _0x26e2f5=_0x26e2();return _0x4ddd=function(_0x4ddd72,_0x5e88ed){_0x4ddd72=_0x4ddd72-0xab;let _0x37ecd1=_0x26e2f5[_0x4ddd72];return _0x37ecd1;},_0x4ddd(_0x224eda,_0x2c2275);}import{scrollViewportToShowTarget as _0x231a5e}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x37b142}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2342e0,Element as _0x53cf83,Text as _0x43a8a8,ViewDocumentFragment as _0x735f90,ViewText as _0x19d53,ViewElement as _0x25cc50,ViewContainerElement as _0x17cc61,ViewAttributeElement as _0xd96b61,ViewEmptyElement as _0x2e7cae,ViewRawElement as _0x3a9de3,ViewUIElement as _0x41097e}from'ckeditor5/src/engine.js';import{Users as _0x2b753f,getMarkerDomElement as _0x3e6a3b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1589ab from'./ui/revisionviewer/changedetailsview.js';import _0x3fe358 from'./revisionsrepository.js';import _0x4217fe from'./changeitem.js';import{default as _0x4673a7}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x39f80d}from'lodash-es';const tt={'c':_0x17cc61,'a':_0xd96b61,'e':_0x2e7cae,'r':_0x3a9de3,'u':_0x41097e};export default class d extends _0xd8e89e{static get[_0x2b5a8d(0x17b)](){const _0x3e2f34=_0x2b5a8d;return _0x3e2f34(0x14e);}static get[_0x2b5a8d(0x1e1)](){return[_0x2b753f,_0x37b142,_0x3fe358];}constructor(_0x4aff79){const _0x2b720c=_0x2b5a8d;super(_0x4aff79),this[_0x2b720c(0x1e3)]=this[_0x2b720c(0x190)][_0x2b720c(0x188)][_0x2b720c(0xac)](_0x2b720c(0x1ef)),this[_0x2b720c(0x136)](_0x2b720c(0x198),null),this[_0x2b720c(0x136)](_0x2b720c(0x1b7),null),this[_0x2b720c(0x1c8)]=null,this[_0x2b720c(0x136)](_0x2b720c(0x14d),null),this[_0x2b720c(0x136)](_0x2b720c(0x151),!0x1),this[_0x2b720c(0x136)](_0x2b720c(0x1ba),!0x0),this['on'](_0x2b720c(0xb3),(_0x13d680,_0x2e3c0d,_0x173506)=>{const _0x4cfc97=_0x2b720c;this[_0x4cfc97(0x198)]=null,this[_0x4cfc97(0x1b7)]=null,this[_0x4cfc97(0x190)][_0x4cfc97(0x167)][_0x4cfc97(0xfa)][_0x4cfc97(0x15a)](_0x1b967c=>{const _0x2c4d62=_0x4cfc97;for(const _0x242fb0 of this[_0x2c4d62(0x190)][_0x2c4d62(0x167)][_0x2c4d62(0xfa)][_0x2c4d62(0xb4)][_0x2c4d62(0x103)])_0x173506?_0x1b967c[_0x2c4d62(0x1dd)](_0x2c4d62(0xb6),_0x242fb0):_0x1b967c[_0x2c4d62(0x1fb)](_0x2c4d62(0xb6),_0x242fb0);});}),this[_0x2b720c(0x1d7)](_0x2b720c(0x120))['to'](this,_0x2b720c(0x198),_0x264b44=>null!==_0x264b44),this[_0x2b720c(0x1d7)](_0x2b720c(0x17a))['to'](this,_0x2b720c(0x151),this,_0x2b720c(0x14d),this,_0x2b720c(0x198),(_0x3005f5,_0x15e306,_0x5df91c)=>_0x3005f5&&_0x5df91c?_0x15e306[_0x2b720c(0x107)][_0x2b720c(0x172)](_0x5df91c):0x0),this[_0x2b720c(0x1d7)](_0x2b720c(0x1b8))['to'](this,_0x2b720c(0x151),this,_0x2b720c(0x14d),(_0x5ebdee,_0x2b7c2c)=>_0x5ebdee?_0x2b7c2c[_0x2b720c(0x107)][_0x2b720c(0xc4)]:0x0),this[_0x2b720c(0x158)]=null,this[_0x2b720c(0x1de)]=new Map(),this[_0x2b720c(0x132)]=null,this[_0x2b720c(0x112)]=this[_0x2b720c(0x190)][_0x2b720c(0x188)][_0x2b720c(0xac)](_0x37b142);}[_0x2b5a8d(0x106)](){const _0x470b2d=_0x2b5a8d,_0x4a9391=this[_0x470b2d(0x190)],_0x38bad6=new ShowChangeCommand(_0x4a9391,{'direction':_0x470b2d(0x1ee)}),_0x18ba96=new ShowChangeCommand(_0x4a9391,{'direction':_0x470b2d(0xff)});(_0x4a9391[_0x470b2d(0xca)][_0x470b2d(0x1d3)](_0x470b2d(0x14c),_0x38bad6),_0x4a9391[_0x470b2d(0xca)][_0x470b2d(0x1d3)](_0x470b2d(0x118),_0x18ba96),_0x4a9391[_0x470b2d(0xca)][_0x470b2d(0x1d3)](_0x470b2d(0x1f7),new RestoreRevisionCommand(_0x4a9391)),this['on'](_0x470b2d(0xdd),()=>{const _0x20ee58=_0x470b2d;_0x38bad6[_0x20ee58(0x125)](),_0x18ba96[_0x20ee58(0x125)]();}),this[_0x470b2d(0x15e)](),this[_0x470b2d(0xfb)](),_0x4a9391[_0x470b2d(0x1bc)](_0x470b2d(0x179)),_0x4a9391[_0x470b2d(0x188)][_0x470b2d(0x16d)](_0x470b2d(0xf1)))&&_0x4a9391[_0x470b2d(0x188)][_0x470b2d(0xac)](_0x470b2d(0xf1))[_0x470b2d(0x1b2)](_0x470b2d(0x179));}async[_0x2b5a8d(0x1f6)](_0x488e48){const _0x129e24=_0x2b5a8d;await this[_0x129e24(0xce)](_0x488e48);const _0x5c587f={};for(const _0x5ef877 in _0x488e48[_0x129e24(0x191)]){if(_0x488e48[_0x129e24(0x191)][_0x5ef877][_0x129e24(0x1d4)]&&!_0x488e48[_0x129e24(0x191)][_0x5ef877][_0x129e24(0x1d4)][_0x129e24(0x18d)])continue;const _0x47b47a=this[_0x129e24(0xfc)](JSON[_0x129e24(0x1d8)](_0x488e48[_0x129e24(0x191)][_0x5ef877][_0x129e24(0x165)])),_0x2a0ad=this[_0x129e24(0x190)][_0x129e24(0x167)][_0x129e24(0xfa)][_0x129e24(0xb4)],_0x2cbcf4=new _0x735f90(_0x2a0ad,_0x47b47a[_0x129e24(0x17f)](_0x374d42=>this[_0x129e24(0x18e)](_0x374d42)));this[_0x129e24(0x190)][_0x129e24(0x1b9)][_0x129e24(0xe0)][_0x129e24(0x1a8)](_0x129e24(0x146)),_0x5c587f[_0x5ef877]=this[_0x129e24(0x190)][_0x129e24(0x1b9)][_0x129e24(0xe0)][_0x129e24(0xbf)](_0x2cbcf4),this[_0x129e24(0x190)][_0x129e24(0x1b9)][_0x129e24(0xe0)][_0x129e24(0x1a8)](_0x129e24(0x160));}return _0x5c587f;}async[_0x2b5a8d(0xe5)](_0x1f4a73){const _0x24ba37=_0x2b5a8d;await this[_0x24ba37(0xce)](_0x1f4a73);const _0x1af011={};for(const _0x3d5d2d in _0x1f4a73[_0x24ba37(0x191)])_0x1f4a73[_0x24ba37(0x191)][_0x3d5d2d][_0x24ba37(0x1d4)]&&!_0x1f4a73[_0x24ba37(0x191)][_0x3d5d2d][_0x24ba37(0x1d4)][_0x24ba37(0x18d)]||(_0x1af011[_0x3d5d2d]=_0x1f4a73[_0x24ba37(0x191)][_0x3d5d2d][_0x24ba37(0x163)]||{});return _0x1af011;}[_0x2b5a8d(0xfc)](_0x5fb8a4){const _0x4123ea=_0x2b5a8d;return(_0x5fb8a4=_0x5fb8a4[_0x4123ea(0x135)](_0x5844be=>!_0x5844be[_0x4123ea(0x149)]||_0x4123ea(0x1b3)!==_0x5844be[_0x4123ea(0x149)]&&_0x4123ea(0x195)!==_0x5844be[_0x4123ea(0x149)]))[_0x4123ea(0x1c0)](_0x349328=>{const _0x536a20=_0x4123ea;_0x536a20(0x1c6)!=typeof _0x349328&&(_0x349328[_0x536a20(0x1eb)]=this[_0x536a20(0xfc)](_0x349328[_0x536a20(0x1eb)]),_0x349328[_0x536a20(0x117)]=_0x349328[_0x536a20(0x117)][_0x536a20(0x135)](_0x3f53d2=>!_0x3f53d2[0x0][_0x536a20(0xc2)](_0x536a20(0x12c))));}),_0x5fb8a4;}async[_0x2b5a8d(0xdb)](_0x2e12ee,_0x3060eb,_0x30b775=!0x1){const _0x13a904=_0x2b5a8d;if(!this[_0x13a904(0x1ba)])return;const _0x1c7572=this[_0x13a904(0x14d)],_0x1f3585=this[_0x13a904(0x1e3)],_0x214e70=_0x13a904(0x1c6)==typeof _0x2e12ee?_0x1f3585[_0x13a904(0x122)](_0x2e12ee):_0x2e12ee,_0x526b9e=_0x13a904(0x1c6)==typeof _0x3060eb?_0x1f3585[_0x13a904(0x122)](_0x3060eb):_0x3060eb,_0x9586ef=_0x214e70['id'],_0x366931=_0x526b9e?_0x526b9e['id']:null;if(!_0x30b775&&this[_0x13a904(0x14d)]&&this[_0x13a904(0x14d)][_0x13a904(0x11b)]===_0x9586ef&&this[_0x13a904(0x14d)][_0x13a904(0x164)]===_0x366931)return Promise[_0x13a904(0x16b)]();this[_0x13a904(0x151)]=!0x1,this[_0x13a904(0x1b7)]=null,this[_0x13a904(0x198)]=null,this[_0x13a904(0x14d)]=new _0x4673a7(_0x9586ef,_0x366931);const _0x3b1654=this[_0x13a904(0x1ca)](_0x214e70,_0x526b9e,!0x0)[_0x13a904(0x17f)](_0x188846=>this[_0x13a904(0xce)](_0x188846));return _0x3b1654[_0x13a904(0x138)](new Promise(_0x1b708e=>{setTimeout(_0x1b708e,0x14);})),Promise[_0x13a904(0xd7)](_0x3b1654)[_0x13a904(0xf4)](()=>{const _0x3f04c3=_0x13a904;if(!this[_0x3f04c3(0x1ba)])return;this[_0x3f04c3(0x13c)]();const _0x2867eb=this[_0x3f04c3(0x1ae)](_0x9586ef,_0x366931);for(const _0x41d96b of _0x2867eb[_0x3f04c3(0x107)])this[_0x3f04c3(0x1de)][_0x3f04c3(0x136)](_0x41d96b['id'],_0x41d96b);this[_0x3f04c3(0x190)][_0x3f04c3(0xad)][_0x3f04c3(0xb5)]({'isUndoable':!0x1},_0x88fbc3=>{const _0x23681e=_0x3f04c3;for(const _0x282234 of this[_0x23681e(0x190)][_0x23681e(0xad)][_0x23681e(0xb4)][_0x23681e(0x1a1)]())_0x88fbc3[_0x23681e(0x1b6)](_0x282234);for(const _0x4f1104 of Object[_0x23681e(0xda)](_0x2867eb[_0x23681e(0xad)])){const _0x94b54d=_0x88fbc3[_0x23681e(0x17e)](_0x4f1104);for(const _0x283ac3 of Object[_0x23681e(0xda)](_0x2867eb[_0x23681e(0x117)][_0x4f1104]))_0x88fbc3[_0x23681e(0x1e6)](_0x283ac3,_0x2867eb[_0x23681e(0x117)][_0x4f1104][_0x283ac3],_0x94b54d);_0x88fbc3[_0x23681e(0x1c1)](_0x2867eb[_0x23681e(0xad)][_0x4f1104],_0x94b54d,0x0);}}),this[_0x3f04c3(0x14d)][_0x3f04c3(0x182)](this[_0x3f04c3(0xe7)](_0x2867eb[_0x3f04c3(0x107)])),this[_0x3f04c3(0x151)]=!0x0;})[_0x13a904(0x17d)](_0xb6238=>{const _0x24c150=_0x13a904;console[_0x24c150(0x18b)](_0xb6238),this[_0x24c150(0x13c)](),_0x1c7572&&(this[_0x24c150(0x14d)]=_0x1c7572),this[_0x24c150(0x151)]=!0x0;});}[_0x2b5a8d(0x173)](_0x33c80a,_0x39a753){const _0x55dcbc=_0x2b5a8d,_0x8ff55=this[_0x55dcbc(0x1e3)][_0x55dcbc(0x142)](_0x33c80a);return _0x8ff55['on'](_0x55dcbc(0x168),(_0x3010d8,_0x3c071b,_0x1025c5)=>_0x39a753(_0x3c071b,_0x1025c5,_0x8ff55)),this[_0x55dcbc(0x1e3)][_0x55dcbc(0x123)](_0x8ff55),_0x8ff55;}[_0x2b5a8d(0xce)](_0x2844a9){const _0x1ba63f=_0x2b5a8d;if(!_0x2844a9||_0x2844a9[_0x1ba63f(0x191)])return Promise[_0x1ba63f(0x16b)]();{const _0x5a758a=this[_0x1ba63f(0x190)][_0x1ba63f(0x156)][_0x1ba63f(0xac)](_0x1ba63f(0xae));return this[_0x1ba63f(0x132)][_0x1ba63f(0x122)]({'channelId':_0x5a758a,'revisionId':_0x2844a9['id']})[_0x1ba63f(0xf4)](_0x461c92=>{const _0x5b4b34=_0x1ba63f;_0x2844a9[_0x5b4b34(0x168)]({'diffData':_0x461c92[_0x5b4b34(0x191)]},!0x0);});}}[_0x2b5a8d(0x13c)](){const _0x58ecc9=_0x2b5a8d;this[_0x58ecc9(0x198)]=null,this[_0x58ecc9(0x11a)](),this[_0x58ecc9(0x158)]&&this[_0x58ecc9(0x158)][_0x58ecc9(0x176)](),this[_0x58ecc9(0x158)]=null,this[_0x58ecc9(0x1de)][_0x58ecc9(0x147)](),this[_0x58ecc9(0x190)][_0x58ecc9(0xad)][_0x58ecc9(0xb5)]({'isUndoable':!0x1},_0xf78f85=>{const _0x394d34=_0x58ecc9;for(const _0x374af3 of this[_0x394d34(0x190)][_0x394d34(0xad)][_0x394d34(0xb4)][_0x394d34(0x1a1)]())_0xf78f85[_0x394d34(0x1b6)](_0x374af3);});}[_0x2b5a8d(0xe7)](_0x3a7796){const _0xd779f4=_0x2b5a8d,_0x1437d2=[],_0x5a294c=new Map();for(const _0x411a55 of this[_0xd779f4(0x190)][_0xd779f4(0xad)][_0xd779f4(0xb4)][_0xd779f4(0x1a1)]()){const _0x5793ca=this[_0xd779f4(0x190)][_0xd779f4(0x167)][_0xd779f4(0xfa)][_0xd779f4(0x1d6)](_0x411a55);if(!_0x5793ca)continue;const _0x1903db=_0x5793ca[_0xd779f4(0x1f5)]()[_0xd779f4(0xea)](0x0);_0x1903db&&(_0x1437d2[_0xd779f4(0x138)](_0x411a55),_0x5a294c[_0xd779f4(0x136)](_0x411a55,_0x1903db));}return _0x1437d2[_0xd779f4(0x157)]((_0x4225bb,_0x2dc031)=>{const _0x13ab65=_0xd779f4,_0x346bf4=_0x5a294c[_0x13ab65(0xac)](_0x4225bb),_0x5ea4a6=_0x5a294c[_0x13ab65(0xac)](_0x2dc031);return _0x346bf4['y']-_0x5ea4a6['y']||_0x346bf4['x']-_0x5ea4a6['x'];}),(_0x3a7796=_0x3a7796[_0xd779f4(0x135)](_0x3c2ee5=>_0x1437d2[_0xd779f4(0x181)](_0x3c2ee5[_0xd779f4(0x130)])))[_0xd779f4(0x157)]((_0x20f1ff,_0x41268a)=>_0x1437d2[_0xd779f4(0xd2)](_0x20f1ff[_0xd779f4(0x130)])-_0x1437d2[_0xd779f4(0xd2)](_0x41268a[_0xd779f4(0x130)])),_0x3a7796;}[_0x2b5a8d(0xe1)](_0x138117){const _0x501776=_0x2b5a8d,_0x4ea503=Array[_0x501776(0x1dc)](_0x138117[_0x501776(0x15c)])[_0x501776(0x135)](([_0x462fd8,_0x48fc60])=>_0x462fd8[_0x501776(0xc2)](_0x501776(0x1a6))&&!_0x48fc60[_0x501776(0x18a)]),_0x416237=Array[_0x501776(0x1dc)](this[_0x501776(0x190)][_0x501776(0xad)][_0x501776(0x116)](_0x138117)[_0x501776(0xc6)]({'singleCharacters':!0x0}));if(0x0!=_0x4ea503[_0x501776(0xc4)])for(const _0x1e8fef of _0x416237){const [_0x417cf9,_0x421e37]=_0x4ea503[0x0],[,_0x2066ab,_0x5590c6]=_0x417cf9[_0x501776(0x1c9)](':');if(_0x421e37[_0x501776(0xc3)][_0x501776(0x1ac)](_0x1e8fef[_0x501776(0x1a3)])&&_0x4ea503[_0x501776(0x19e)](),(_0x1e8fef[_0x501776(0x152)][_0x501776(0x1ac)](_0x421e37[_0x501776(0x184)])||_0x1e8fef[_0x501776(0x152)][_0x501776(0xc8)](_0x421e37[_0x501776(0x184)]))&&(_0x501776(0x1ab)==_0x2066ab?_0x1e8fef[_0x501776(0xf5)]={'userId':_0x5590c6}:_0x501776(0x1ce)==_0x2066ab&&(_0x1e8fef[_0x501776(0x170)]={'userId':_0x5590c6})),0x0==_0x4ea503[_0x501776(0xc4)])break;}return _0x416237;}[_0x2b5a8d(0x145)](_0x3250c9){const _0x60671e=_0x2b5a8d,_0x16f546=new Map();for(let _0x292635=0x0;_0x292635<_0x3250c9[_0x60671e(0xc4)];_0x292635++)_0x60671e(0x110)===_0x3250c9[_0x292635][_0x60671e(0x175)]?(_0x3250c9[_0x292635][_0x60671e(0xea)][_0x60671e(0x14f)]=_0x292635,_0x3250c9[_0x292635][_0x60671e(0xea)][_0x60671e(0x124)]=_0x292635):(_0x60671e(0x1b0)===_0x3250c9[_0x292635][_0x60671e(0x175)]?_0x3250c9[_0x292635][_0x60671e(0xea)][_0x60671e(0x14f)]=_0x292635:_0x60671e(0x102)===_0x3250c9[_0x292635][_0x60671e(0x175)]&&(_0x3250c9[_0x292635][_0x60671e(0xea)][_0x60671e(0x124)]=_0x292635),_0x16f546[_0x60671e(0x136)](_0x3250c9[_0x292635]['id'],_0x292635));for(const _0x318207 of _0x16f546[_0x60671e(0xe9)]())_0x60671e(0x1b0)===_0x3250c9[_0x318207][_0x60671e(0x175)]?_0x3250c9[_0x318207][_0x60671e(0xea)][_0x60671e(0x124)]=_0x16f546[_0x60671e(0xac)](_0x3250c9[_0x318207][_0x60671e(0xef)]):_0x60671e(0x102)===_0x3250c9[_0x318207][_0x60671e(0x175)]&&(_0x3250c9[_0x318207][_0x60671e(0xea)][_0x60671e(0x14f)]=_0x16f546[_0x60671e(0xac)](_0x3250c9[_0x318207][_0x60671e(0xef)]));}[_0x2b5a8d(0x162)](_0x59b5a3){const _0x3d05d0=_0x2b5a8d;for(let _0x3e948c=0x0;_0x3e948c<_0x59b5a3[_0x3d05d0(0xc4)];_0x3e948c++){if(_0x3d05d0(0x1b0)===_0x59b5a3[_0x3e948c][_0x3d05d0(0x175)])_0x59b5a3[_0x3e948c][_0x3d05d0(0xea)][_0x3d05d0(0x14f)]=_0x3e948c;else{if(_0x3d05d0(0x102)===_0x59b5a3[_0x3e948c][_0x3d05d0(0x175)]){_0x59b5a3[_0x3e948c][_0x3d05d0(0xea)][_0x3d05d0(0x124)]=_0x3e948c;const _0x4cecca=_0x59b5a3[_0x3e948c][_0x3d05d0(0xea)][_0x3d05d0(0x14f)];_0x59b5a3[_0x4cecca][_0x3d05d0(0xef)]=_0x59b5a3[_0x3e948c]['id'],_0x59b5a3[_0x3e948c][_0x3d05d0(0xef)]=_0x59b5a3[_0x4cecca]['id'];}else _0x59b5a3[_0x3e948c][_0x3d05d0(0xea)][_0x3d05d0(0x14f)]=_0x3e948c,_0x59b5a3[_0x3e948c][_0x3d05d0(0xea)][_0x3d05d0(0x124)]=_0x3e948c,_0x59b5a3[_0x3e948c][_0x3d05d0(0xef)]=null;}_0x59b5a3[_0x3e948c][_0x3d05d0(0x1d5)]||(_0x59b5a3[_0x3e948c][_0x3d05d0(0x1d5)]=[],_0x59b5a3[_0x3e948c][_0x3d05d0(0x18c)]=[]);}}[_0x2b5a8d(0x111)](_0x59d5bd,_0x4893b9){const _0x4bb4bc=_0x2b5a8d,_0x25da36=_0x59d5bd[_0x4bb4bc(0x135)](_0x31d2d1=>!_0x31d2d1[_0x4bb4bc(0xf5)]);for(let _0x2d1afc=0x0;_0x2d1afc<_0x4893b9[_0x4bb4bc(0xc4)];_0x2d1afc++)_0x4893b9[_0x2d1afc][_0x4bb4bc(0xf5)]&&(_0x25da36[_0x2d1afc][_0x4bb4bc(0xf5)]=_0x4893b9[_0x2d1afc][_0x4bb4bc(0xf5)]);}[_0x2b5a8d(0x114)](_0x1d55be){const _0x4e0827=_0x2b5a8d,_0x194abe=JSON[_0x4e0827(0x1d8)](_0x1d55be),_0x10a06e=this[_0x4e0827(0x190)][_0x4e0827(0x167)][_0x4e0827(0xfa)][_0x4e0827(0xb4)],_0xd6483=new _0x735f90(_0x10a06e,_0x194abe[_0x4e0827(0x17f)](_0x5b8c22=>this[_0x4e0827(0x18e)](_0x5b8c22)));return this[_0x4e0827(0x190)][_0x4e0827(0x1b9)][_0x4e0827(0x15f)](_0xd6483);}[_0x2b5a8d(0x18e)](_0x22f040){const _0x53be1d=_0x2b5a8d,_0x1780ea=this[_0x53be1d(0x190)][_0x53be1d(0x167)][_0x53be1d(0xfa)][_0x53be1d(0xb4)];if(_0x53be1d(0x1c6)==typeof _0x22f040)return new _0x19d53(_0x1780ea,_0x22f040);{const _0x2eacb3=_0x22f040[_0x53be1d(0x1eb)][_0x53be1d(0x17f)](_0x120bdb=>this[_0x53be1d(0x18e)](_0x120bdb));return new(tt[_0x22f040[(_0x53be1d(0x175))]]||_0x25cc50)(_0x1780ea,_0x22f040[_0x53be1d(0x149)],_0x22f040[_0x53be1d(0x117)],_0x2eacb3);}}[_0x2b5a8d(0x1ae)](_0x19ae51,_0x1b0a15=null){const _0x5938a7=_0x2b5a8d,_0x457dc0=this[_0x5938a7(0x1e3)][_0x5938a7(0x122)](_0x19ae51),_0x460da8=_0x1b0a15?this[_0x5938a7(0x1e3)][_0x5938a7(0x122)](_0x1b0a15):null,_0x3e8188=this[_0x5938a7(0x1ca)](_0x457dc0,_0x460da8),_0x4c8d79=_0x3e8188[_0x3e8188[_0x5938a7(0xc4)]-0x1],_0xfe8324=new Map(),_0x54ea91={'model':{},'attributes':{},'changes':[]},_0x32c436=new Set(),_0x5ce91a=new Map();for(let _0x29d148=_0x3e8188[_0x5938a7(0xc4)]-0x1;_0x29d148>=0x0;_0x29d148--){const _0x38d4c7=_0x3e8188[_0x29d148];for(const _0x39304b of Object[_0x5938a7(0xda)](_0x38d4c7[_0x5938a7(0x191)]))if(_0x38d4c7[_0x5938a7(0x191)][_0x39304b][_0x5938a7(0x1d4)]){const _0x54b005=_0x38d4c7[_0x5938a7(0x191)][_0x39304b][_0x5938a7(0x1d4)];_0x54b005[_0x5938a7(0x18d)]?(_0x32c436[_0x5938a7(0x1d3)](_0x39304b),_0x5ce91a[_0x5938a7(0x16d)](_0x39304b)&&_0x5ce91a[_0x5938a7(0xac)](_0x39304b)[_0x5938a7(0x1b5)]==_0x54b005[_0x5938a7(0x1b5)]?_0x5ce91a[_0x5938a7(0x12e)](_0x39304b):_0x5ce91a[_0x5938a7(0x136)](_0x39304b,_0x54b005)):_0x5ce91a[_0x5938a7(0x16d)](_0x39304b)?(_0x32c436[_0x5938a7(0x12e)](_0x39304b),_0x5ce91a[_0x5938a7(0x12e)](_0x39304b)):(_0x32c436[_0x5938a7(0x1d3)](_0x39304b),_0x5ce91a[_0x5938a7(0x136)](_0x39304b,_0x54b005));}else _0x32c436[_0x5938a7(0x1d3)](_0x39304b);}for(const _0x3bd1be of _0x32c436){const _0x2a4fa7=_0x5ce91a[_0x5938a7(0x16d)](_0x3bd1be)&&!_0x5ce91a[_0x5938a7(0xac)](_0x3bd1be)[_0x5938a7(0x18d)];let _0x166470=_0x2a4fa7?_0x3e8188[_0x5938a7(0xc4)]-0x1:0x0;const _0x516cfa=_0x2a4fa7?-0x1:0x1;for(;_0x3e8188[_0x166470];){const _0x2121f9=_0x3e8188[_0x166470];if(_0x2121f9[_0x5938a7(0x191)][_0x3bd1be]){const _0x4a3da6=_0x2a4fa7?_0x2121f9[_0x5938a7(0x191)][_0x3bd1be][_0x5938a7(0x14b)]:_0x2121f9[_0x5938a7(0x191)][_0x3bd1be][_0x5938a7(0x163)];_0x54ea91[_0x5938a7(0x117)][_0x3bd1be]=_0x4a3da6?_0x39f80d(_0x4a3da6):{};break;}_0x166470+=_0x516cfa;}}for(const _0x3369c6 of _0x3e8188){_0x3369c6[_0x5938a7(0xad)]={};for(const _0x4edee2 of _0x3369c6[_0x5938a7(0x127)])_0xfe8324[_0x5938a7(0x136)](_0x4edee2['id'],_0x4edee2);for(const _0x414e04 of _0x32c436){const _0x374000=_0x3369c6[_0x5938a7(0x191)][_0x414e04]?_0x3369c6[_0x5938a7(0x191)][_0x414e04][_0x5938a7(0x165)]:'[]',_0x39299e=_0x3369c6[_0x5938a7(0x191)][_0x414e04]?_0x3369c6[_0x5938a7(0x191)][_0x414e04][_0x5938a7(0x10b)]:'[]';_0x3369c6[_0x5938a7(0xad)][_0x414e04]={'insertions':this[_0x5938a7(0x114)](_0x374000),'deletions':this[_0x5938a7(0x114)](_0x39299e)};}}for(const _0x59fc81 of _0x32c436){let _0x2f9264=null,_0x350c14=0x0;const _0x4c148c=new Map(Array[_0x5938a7(0x1dc)](_0x457dc0[_0x5938a7(0xad)][_0x59fc81][_0x5938a7(0x165)][_0x5938a7(0x15c)])[_0x5938a7(0x135)](([_0x2ce847])=>!_0x2ce847[_0x5938a7(0xc2)](_0x5938a7(0x1a6))));let _0x28eb43=0x0;for(const _0x3b7368 of _0x3e8188){const _0x12c58a=this[_0x5938a7(0xe1)](_0x3b7368[_0x5938a7(0xad)][_0x59fc81][_0x5938a7(0x165)]);_0x3b7368==_0x457dc0?(_0x2f9264=_0x12c58a,_0x350c14=_0x2f9264[_0x5938a7(0xc4)],_0x2f9264[_0x5938a7(0x1c0)](_0x4df6bc=>{_0x4df6bc['id']=_0x28eb43++;}),this[_0x5938a7(0x162)](_0x2f9264)):this[_0x5938a7(0x111)](_0x2f9264,_0x12c58a);const _0x1fea2f=_0x2f9264[_0x5938a7(0x135)](_0x3598f2=>!_0x3598f2[_0x5938a7(0xf5)])[_0x5938a7(0x17f)](_0x3b624d=>_0x3b624d['id']);let _0x1cecbf=0x0;const _0x2dfa01=this[_0x5938a7(0xe1)](_0x3b7368[_0x5938a7(0xad)][_0x59fc81][_0x5938a7(0x10b)]);_0x2dfa01[_0x5938a7(0x1c0)](_0x2205c6=>{const _0x571301=_0x5938a7;_0x2205c6[_0x571301(0x170)]?_0x2205c6['id']=_0x350c14++:_0x2205c6['id']=_0x1fea2f[_0x1cecbf++];}),this[_0x5938a7(0x162)](_0x2dfa01),this[_0x5938a7(0x16f)](_0x2f9264,_0x5938a7(0xf5)),this[_0x5938a7(0x16f)](_0x2dfa01,_0x5938a7(0x170)),_0x3b7368==_0x457dc0&&this[_0x5938a7(0x19f)](_0x2f9264,_0x4c148c),_0x2f9264=this[_0x5938a7(0xf2)](_0x2f9264,_0x2dfa01),this[_0x5938a7(0x145)](_0x2f9264),this[_0x5938a7(0x16f)](_0x2f9264,_0x5938a7(0x170));}_0x2f9264=_0x2f9264[_0x5938a7(0x135)](_0x1bed71=>!(_0x1bed71[_0x5938a7(0xf5)]&&_0x1bed71[_0x5938a7(0x170)]));const _0x4e18a2=new Map(_0x4c8d79[_0x5938a7(0xad)][_0x59fc81][_0x5938a7(0x10b)][_0x5938a7(0x15c)]),_0xfc064a=new Set(_0x4c148c[_0x5938a7(0xda)]());for(const _0x420998 of _0x4e18a2[_0x5938a7(0xda)]())_0xfc064a[_0x5938a7(0x12e)](_0x420998);this[_0x5938a7(0x183)](_0x2f9264,_0xfc064a),this[_0x5938a7(0xec)](_0x2f9264),_0x2f9264=this[_0x5938a7(0x1cc)](_0x2f9264),_0x2f9264=this[_0x5938a7(0x1cb)](_0x2f9264),_0x2f9264=this[_0x5938a7(0x1c3)](_0x2f9264);const {root:_0x27aa5f,changes:_0x172d77}=this[_0x5938a7(0x1d9)](_0x2f9264,_0xfe8324,_0x59fc81);_0x54ea91[_0x5938a7(0xad)][_0x59fc81]=_0x27aa5f;const _0x2f3c9e=_0x5ce91a[_0x5938a7(0xac)](_0x59fc81);if(_0x2f3c9e){const _0x30929e=_0xfe8324[_0x5938a7(0xac)](_0x2f3c9e[_0x5938a7(0x1b5)]),_0x4612a9=new _0x4217fe({'author':_0x30929e,'type':_0x2f3c9e[_0x5938a7(0x18d)]?_0x5938a7(0x1d3):_0x5938a7(0x104),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x59fc81});_0x172d77[_0x5938a7(0x1ad)](_0x4612a9),_0x54ea91[_0x5938a7(0x117)][_0x59fc81][_0x5938a7(0xe3)]=_0x4612a9['id'];}_0x54ea91[_0x5938a7(0x107)]=_0x54ea91[_0x5938a7(0x107)][_0x5938a7(0x13f)](_0x172d77);}return _0x54ea91;}[_0x2b5a8d(0x19f)](_0x52486a,_0x10fea6){const _0x280869=_0x2b5a8d;for(let _0x2cfc96=0x0;_0x2cfc96<_0x52486a[_0x280869(0xc4)];_0x2cfc96++)for(const [_0x46b529,_0x324614]of _0x10fea6)_0x324614[_0x280869(0x184)][_0x280869(0x1ac)](_0x52486a[_0x2cfc96][_0x280869(0x152)])&&_0x52486a[_0x2cfc96][_0x280869(0x1d5)][_0x280869(0x138)](_0x46b529),_0x324614[_0x280869(0xc3)][_0x280869(0x1ac)](_0x52486a[_0x2cfc96][_0x280869(0x1a3)])&&_0x52486a[_0x2cfc96][_0x280869(0x18c)][_0x280869(0x138)](_0x46b529);}[_0x2b5a8d(0xf2)](_0x437518,_0x38a249){const _0x2c21cb=_0x2b5a8d;let _0x205347=[],_0x203c8a=0x0,_0x3086f4=0x0;for(;_0x203c8a<_0x437518[_0x2c21cb(0xc4)]||_0x3086f4<_0x38a249[_0x2c21cb(0xc4)];){const _0x59c3bf=_0x437518[_0x203c8a]||{},_0x1aeb82=_0x38a249[_0x3086f4]||{};if(_0x59c3bf['id']==_0x1aeb82['id'])_0x203c8a++,_0x3086f4++,_0x205347[_0x2c21cb(0x138)](_0x59c3bf);else{if(_0x1aeb82[_0x2c21cb(0x170)]&&_0x59c3bf[_0x2c21cb(0xf5)]){const {commonTape:_0xd823ed,iEnd:_0x38a110,jEnd:_0x53ce4e}=this[_0x2c21cb(0x192)](_0x437518,_0x203c8a,_0x38a249,_0x3086f4);_0x205347=_0x205347[_0x2c21cb(0x13f)](_0xd823ed),_0x203c8a=_0x38a110,_0x3086f4=_0x53ce4e;}else _0x1aeb82[_0x2c21cb(0x170)]?(_0x3086f4++,_0x205347[_0x2c21cb(0x138)](_0x1aeb82)):(_0x203c8a++,_0x205347[_0x2c21cb(0x138)](_0x59c3bf));}}return _0x205347;}[_0x2b5a8d(0x183)](_0x36c568,_0x42638d){const _0xe9a808=_0x2b5a8d,_0x182a86=[];for(let _0x267cde=0x0;_0x267cde<_0x36c568[_0xe9a808(0xc4)];_0x267cde++){for(let _0x44ff5e=0x0;_0x44ff5e<_0x36c568[_0x267cde][_0xe9a808(0x1d5)][_0xe9a808(0xc4)];_0x44ff5e++){const _0xd2b54=_0x36c568[_0x267cde][_0xe9a808(0x1d5)][_0x44ff5e];if(!_0x42638d[_0xe9a808(0x16d)](_0xd2b54))continue;const {group:_0x42842a,type:_0x30bf6d,authorId:_0x1b6575}=_0xc410ec(_0xd2b54);_0xe9a808(0x187)!=_0x42842a||_0xe9a808(0x1ab)!=_0x30bf6d&&_0xe9a808(0x1ce)!=_0x30bf6d||(_0x182a86[_0xe9a808(0x1ad)]({'type':_0x30bf6d,'name':_0xd2b54,'userId':_0x1b6575}),_0x36c568[_0x267cde][_0xe9a808(0x1d5)][_0xe9a808(0x10c)](_0x44ff5e,0x1),_0x44ff5e--);}_0x3ed93b(_0x36c568[_0x267cde]);for(let _0x1c4444=0x0;_0x1c4444<_0x36c568[_0x267cde][_0xe9a808(0x18c)][_0xe9a808(0xc4)];_0x1c4444++){const _0x5e404f=_0x36c568[_0x267cde][_0xe9a808(0x18c)][_0x1c4444];if(!_0x42638d[_0xe9a808(0x16d)](_0x5e404f))continue;const {group:_0x1d763e,type:_0x17a02e}=_0xc410ec(_0x5e404f);if(_0xe9a808(0x187)!=_0x1d763e||_0xe9a808(0x1ab)!=_0x17a02e&&_0xe9a808(0x1ce)!=_0x17a02e)continue;_0x36c568[_0x267cde][_0xe9a808(0x18c)][_0xe9a808(0x10c)](_0x1c4444,0x1),_0x1c4444--;const _0x155932=_0x182a86[_0xe9a808(0x159)](_0x4f8e46=>_0x4f8e46[_0xe9a808(0x149)]==_0x5e404f);_0x155932>-0x1&&_0x182a86[_0xe9a808(0x10c)](_0x155932,0x1);}}function _0xc410ec(_0x3f4210){const _0x1a6bea=_0xe9a808,_0x29d5b7=_0x3f4210[_0x1a6bea(0x1c9)](':');return{'group':_0x29d5b7[0x0],'type':_0x29d5b7[0x1],'subType':_0x29d5b7[_0x1a6bea(0xc4)]>=0x5?_0x29d5b7[0x2]:null,'id':_0x29d5b7[_0x1a6bea(0xc4)]<0x5?_0x29d5b7[0x2]:_0x29d5b7[0x3],'authorId':_0x29d5b7[_0x1a6bea(0xc4)]<0x5?_0x29d5b7[0x3]:_0x29d5b7[0x4],'markerCount':0x6==_0x29d5b7[_0x1a6bea(0xc4)]?_0x29d5b7[0x5]:null};}function _0x3ed93b(_0x48c6fc){const _0x296f74=_0xe9a808;for(let _0x2e487a=0x0;_0x2e487a<_0x182a86[_0x296f74(0xc4)];_0x2e487a++){if(_0x48c6fc[_0x296f74(0xf5)]&&_0x296f74(0x1ab)==_0x182a86[_0x2e487a][_0x296f74(0x175)])return _0x48c6fc[_0x296f74(0x10a)]=_0x182a86[_0x2e487a],void delete _0x48c6fc[_0x296f74(0xf5)];if(!_0x48c6fc[_0x296f74(0xf5)]&&!_0x48c6fc[_0x296f74(0x170)]&&_0x296f74(0x1ce)==_0x182a86[_0x2e487a][_0x296f74(0x175)])return void(_0x48c6fc[_0x296f74(0xf6)]=_0x182a86[_0x2e487a]);}}}[_0x2b5a8d(0x16f)](_0x205bfa,_0x492298){const _0x364aa1=_0x2b5a8d;let _0x15468a=0x0,_0x48a591=!0x1;const _0x5cd314=new Map();for(const _0x12b591 of _0x205bfa)_0x12b591[_0x492298]?_0x48a591&&(_0x15468a++,_0x48a591=!0x1):(_0x15468a++,_0x48a591=!0x0),_0x5cd314[_0x364aa1(0x136)](_0x12b591['id'],_0x15468a);for(let _0x3d6de1=0x0;_0x3d6de1<_0x205bfa[_0x364aa1(0xc4)];_0x3d6de1++){if(_0x364aa1(0x170)==_0x492298&&_0x205bfa[_0x3d6de1][_0x364aa1(0xf5)]||_0x364aa1(0xf5)==_0x492298&&_0x205bfa[_0x3d6de1][_0x364aa1(0x170)])continue;if(_0x364aa1(0x110)==_0x205bfa[_0x3d6de1][_0x364aa1(0x175)]){_0x205bfa[_0x3d6de1][_0x364aa1(0x1be)]=0x0;continue;}const _0x306048=_0x5cd314[_0x364aa1(0xac)](_0x205bfa[_0x3d6de1][_0x364aa1(0xef)]),_0x474bbe=_0x5cd314[_0x364aa1(0xac)](_0x205bfa[_0x3d6de1]['id']);_0x205bfa[_0x3d6de1][_0x364aa1(0x1be)]=_0x306048-_0x474bbe;}}[_0x2b5a8d(0x1ca)](_0x13856f,_0x28fe0c,_0x1072de=!0x1){const _0x5b4cd5=_0x2b5a8d,_0x1d8ad5=[];let _0x1feefc=this[_0x5b4cd5(0x1e3)][_0x5b4cd5(0x172)](_0x13856f),_0x5764bd=this[_0x5b4cd5(0x1e3)][_0x5b4cd5(0x172)](_0x28fe0c);for(-0x1==_0x5764bd&&(_0x5764bd=this[_0x5b4cd5(0x1e3)][_0x5b4cd5(0x154)][_0x5b4cd5(0xc4)],_0x1072de=!0x1);_0x1feefc<_0x5764bd;)_0x1d8ad5[_0x5b4cd5(0x138)](this[_0x5b4cd5(0x1e3)][_0x5b4cd5(0x122)](_0x1feefc)),_0x1feefc++;return _0x1072de&&_0x1d8ad5[_0x5b4cd5(0x138)](this[_0x5b4cd5(0x1e3)][_0x5b4cd5(0x122)](_0x1feefc)),_0x1d8ad5;}[_0x2b5a8d(0x192)](_0x10f69d,_0xf8a9bf,_0x2c64d3,_0x4f0b42){const _0x5900a3=_0x2b5a8d,_0x54eeab=this[_0x5900a3(0x190)][_0x5900a3(0xad)][_0x5900a3(0x174)];let _0x32832a=_0xf8a9bf;for(;_0x10f69d[_0x32832a]&&_0x10f69d[_0x32832a][_0x5900a3(0xf5)];)_0x32832a++;let _0x3b6c91=_0x4f0b42;for(;_0x2c64d3[_0x3b6c91]&&_0x2c64d3[_0x3b6c91][_0x5900a3(0x170)];)_0x3b6c91++;_0x550538(_0x10f69d,_0xf8a9bf,_0x32832a),_0x550538(_0x2c64d3,_0x4f0b42,_0x3b6c91);const _0x137a69=_0x2c64d3[_0x5900a3(0x193)](_0x4f0b42,_0x3b6c91)[_0x5900a3(0x13f)](_0x10f69d[_0x5900a3(0x193)](_0xf8a9bf,_0x32832a));return _0x137a69[_0x5900a3(0x157)]((_0x4a1749,_0x5eb8cf)=>_0x4a1749[_0x5900a3(0xf7)]!=_0x5eb8cf[_0x5900a3(0xf7)]?_0x4a1749[_0x5900a3(0xf7)]-_0x5eb8cf[_0x5900a3(0xf7)]:_0x4a1749[_0x5900a3(0x19c)]!=_0x5eb8cf[_0x5900a3(0x19c)]?_0x4a1749[_0x5900a3(0x19c)]-_0x5eb8cf[_0x5900a3(0x19c)]:_0x4a1749[_0x5900a3(0x1be)]!=_0x5eb8cf[_0x5900a3(0x1be)]?_0x5eb8cf[_0x5900a3(0x1be)]-_0x4a1749[_0x5900a3(0x1be)]:!!_0x4a1749[_0x5900a3(0xf5)]!=!!_0x5eb8cf[_0x5900a3(0xf5)]?-0x1==_0x4a1749[_0x5900a3(0xf7)]||0x0==_0x4a1749[_0x5900a3(0xf7)]?_0x4a1749[_0x5900a3(0xf5)]?-0x1:0x1:_0x4a1749[_0x5900a3(0xf5)]?0x1:-0x1:_0x4a1749[_0x5900a3(0x11d)]-_0x5eb8cf[_0x5900a3(0x11d)]),{'commonTape':_0x137a69,'iEnd':_0x32832a,'jEnd':_0x3b6c91};function _0x550538(_0x5c547f,_0x2b72f1,_0x27bf7f){const _0x4b9f34=_0x5900a3;let _0x2c06cc=-0x1,_0x1cb604=Number[_0x4b9f34(0xcb)],_0x4dedb1=!0x0;for(let _0x261d1d=_0x2b72f1;_0x261d1d<_0x27bf7f;_0x261d1d++)if(_0x54eeab[_0x4b9f34(0x131)](_0x5c547f[_0x261d1d][_0x4b9f34(0xea)])||(_0x4dedb1=!0x1),_0x5c547f[_0x261d1d][_0x4b9f34(0xea)][_0x4b9f34(0x14f)]<_0x2b72f1&&(_0x2c06cc=_0x261d1d),_0x5c547f[_0x261d1d][_0x4b9f34(0xea)][_0x4b9f34(0x124)]>=_0x27bf7f){_0x1cb604=_0x261d1d;break;}_0x4dedb1&&(_0x2c06cc=_0x27bf7f-0x1);for(let _0x4ce64c=_0x2b72f1;_0x4ce64c<_0x27bf7f;_0x4ce64c++)_0x5c547f[_0x4ce64c][_0x4b9f34(0xf7)]=_0x4ce64c<=_0x2c06cc?-0x1:_0x4ce64c<_0x1cb604?0x0:0x1,_0x5c547f[_0x4ce64c][_0x4b9f34(0x11d)]=_0x4ce64c;let _0x2145bd=0x0;for(let _0x6d6306=_0x2b72f1;_0x6d6306<=_0x2c06cc;_0x6d6306++)0x0==_0x5c547f[_0x6d6306][_0x4b9f34(0x1be)]?_0x5c547f[_0x6d6306][_0x4b9f34(0x19c)]=_0x2145bd:(_0x2145bd++,_0x5c547f[_0x6d6306][_0x4b9f34(0x19c)]=_0x2145bd,_0x2145bd++);for(let _0x2a5e64=_0x2b72f1;_0x2a5e64<_0x27bf7f;_0x2a5e64++)0x0==_0x5c547f[_0x2a5e64][_0x4b9f34(0xf7)]&&(_0x5c547f[_0x2a5e64][_0x4b9f34(0x19c)]=_0x2145bd);_0x2145bd=0x0;for(let _0x36425d=_0x27bf7f-0x1;_0x36425d>=_0x1cb604;_0x36425d--)0x0==_0x5c547f[_0x36425d][_0x4b9f34(0x1be)]?_0x5c547f[_0x36425d][_0x4b9f34(0x19c)]=_0x2145bd:(_0x2145bd--,_0x5c547f[_0x36425d][_0x4b9f34(0x19c)]=_0x2145bd,_0x2145bd--);}}[_0x2b5a8d(0xec)](_0x4cb670){const _0x2884dc=_0x2b5a8d,_0x4902d0=new Map(),_0x33989f=this[_0x2884dc(0x190)][_0x2884dc(0xad)][_0x2884dc(0x174)];for(let _0x56bf14=0x1;_0x56bf14<_0x4cb670[_0x2884dc(0xc4)];_0x56bf14++){let _0x2d2d2f,_0x3ce906,_0x4c4ed7;const _0x12ee84=_0x4cb670[_0x56bf14],_0x8afebc=_0x4cb670[_0x56bf14-0x1];if(_0x2884dc(0x110)==_0x12ee84[_0x2884dc(0x175)])continue;if(_0x12ee84[_0x2884dc(0x175)]!=_0x8afebc[_0x2884dc(0x175)])continue;if(!_0x33989f[_0x2884dc(0x1e5)](_0x8afebc[_0x2884dc(0xea)])||_0x33989f[_0x2884dc(0x1f8)](_0x8afebc[_0x2884dc(0xea)]))continue;if(!_0x33989f[_0x2884dc(0x1e5)](_0x12ee84[_0x2884dc(0xea)])||_0x33989f[_0x2884dc(0x1f8)](_0x12ee84[_0x2884dc(0xea)]))continue;if((_0x4cb670[_0x56bf14][_0x2884dc(0xf5)]||_0x4cb670[_0x56bf14][_0x2884dc(0x10a)])&&_0x4cb670[_0x56bf14-0x1][_0x2884dc(0x170)])_0x2d2d2f=_0x4cb670[_0x56bf14],_0x3ce906=_0x4cb670[_0x56bf14-0x1],_0x4c4ed7=_0x56bf14-0x1;else{if(!_0x4cb670[_0x56bf14][_0x2884dc(0x170)]||!_0x4cb670[_0x56bf14-0x1][_0x2884dc(0xf5)]&&!_0x4cb670[_0x56bf14-0x1][_0x2884dc(0x10a)])continue;_0x2d2d2f=_0x4cb670[_0x56bf14-0x1],_0x3ce906=_0x4cb670[_0x56bf14],_0x4c4ed7=_0x56bf14;}const _0x348898=_0x2d2d2f[_0x2884dc(0x19c)]==_0x3ce906[_0x2884dc(0x19c)],_0x226d7a=Math[_0x2884dc(0x17c)](_0x2d2d2f[_0x2884dc(0x19c)])<Math[_0x2884dc(0x17c)](_0x3ce906[_0x2884dc(0x19c)])&&0x0==_0x3ce906[_0x2884dc(0x1be)];(_0x348898||_0x226d7a)&&(_0x4902d0[_0x2884dc(0x136)](_0x3ce906['id'],_0x2d2d2f['id']),_0x4cb670[_0x2884dc(0x10c)](_0x4c4ed7,0x1),_0x56bf14--,_0x2d2d2f[_0x2884dc(0xf5)]=!0x1);}for(let _0x41de18=0x0;_0x41de18<_0x4cb670[_0x2884dc(0xc4)];_0x41de18++)_0x4902d0[_0x2884dc(0x16d)](_0x4cb670[_0x41de18][_0x2884dc(0xef)])&&(_0x4cb670[_0x41de18][_0x2884dc(0xef)]=_0x4902d0[_0x2884dc(0xac)](_0x4cb670[_0x41de18][_0x2884dc(0xef)]));}[_0x2b5a8d(0x1cc)](_0x374e55){const _0x3c860b=_0x2b5a8d,_0x21e006=new Set(_0x374e55[_0x3c860b(0x17f)](_0x184108=>_0x184108['id']));for(let _0x3295a0=0x0;_0x3295a0<_0x374e55[_0x3c860b(0xc4)];_0x3295a0++)_0x21e006[_0x3c860b(0x16d)](_0x374e55[_0x3295a0][_0x3c860b(0xef)])||0x0==_0x374e55[_0x3295a0][_0x3c860b(0x1be)]||(_0x374e55[_0x3295a0][_0x3c860b(0x1f3)]=!0x0);return _0x374e55[_0x3c860b(0x135)](_0x4473b9=>!_0x4473b9[_0x3c860b(0x1f3)]);}[_0x2b5a8d(0x1cb)](_0x53b865){const _0x32b5f2=_0x2b5a8d,_0x218c68=new Set();for(let _0x142143=0x0;_0x142143<_0x53b865[_0x32b5f2(0xc4)];_0x142143++){if(_0x218c68[_0x32b5f2(0x16d)](_0x53b865[_0x142143]['id'])&&_0x53b865[_0x142143][_0x32b5f2(0x170)]&&(_0x53b865[_0x142143][_0x32b5f2(0x1f3)]=!0x0),_0x53b865[_0x142143][_0x32b5f2(0x1f3)])continue;if(0x0==_0x53b865[_0x142143][_0x32b5f2(0x1be)])continue;if(_0x32b5f2(0x1b0)!=_0x53b865[_0x142143][_0x32b5f2(0x175)])continue;if(null==_0x53b865[_0x142143][_0x32b5f2(0xef)])continue;let _0x470f83=_0x142143+0x1,_0x4cd355=0x0;for(;_0x53b865[_0x470f83]['id']!=_0x53b865[_0x142143][_0x32b5f2(0xef)];)_0x32b5f2(0x1b0)==_0x53b865[_0x470f83][_0x32b5f2(0x175)]?_0x4cd355++:_0x32b5f2(0x102)==_0x53b865[_0x470f83][_0x32b5f2(0x175)]&&_0x4cd355--,_0x470f83++;if(0x0!=_0x4cd355){if(_0x53b865[_0x142143][_0x32b5f2(0x170)])_0x53b865[_0x142143][_0x32b5f2(0x1f3)]=!0x0;else{for(;_0x470f83!=_0x142143;)_0x53b865[_0x470f83][_0x32b5f2(0x170)]&&0x0!=_0x53b865[_0x470f83][_0x32b5f2(0x1be)]&&(_0x53b865[_0x470f83][_0x32b5f2(0x1f3)]=!0x0,_0x218c68[_0x32b5f2(0x1d3)](_0x53b865[_0x470f83][_0x32b5f2(0xef)])),_0x470f83--;}}}return _0x53b865[_0x32b5f2(0x135)](_0x5d37d=>!_0x5d37d[_0x32b5f2(0x1f3)]);}[_0x2b5a8d(0x1c3)](_0x1dbf52){const _0x33378e=_0x2b5a8d,_0x4d8029=this[_0x33378e(0x190)][_0x33378e(0xad)][_0x33378e(0x174)];for(let _0x8fb6a5=0x0;_0x8fb6a5<_0x1dbf52[_0x33378e(0xc4)];_0x8fb6a5++){if(!(_0x1dbf52[_0x8fb6a5][_0x33378e(0xf5)]||_0x1dbf52[_0x8fb6a5][_0x33378e(0x10a)]||_0x1dbf52[_0x8fb6a5][_0x33378e(0x170)]||_0x1dbf52[_0x8fb6a5][_0x33378e(0xf6)]))continue;if(0x0==_0x1dbf52[_0x8fb6a5][_0x33378e(0x1be)])continue;const _0x169df9=_0x1dbf52[_0x8fb6a5][_0x33378e(0xea)];_0x4d8029[_0x33378e(0x1e5)](_0x169df9)||_0x4d8029[_0x33378e(0x1f8)](_0x169df9)||(_0x1dbf52[_0x8fb6a5][_0x33378e(0xf5)]&&delete _0x1dbf52[_0x8fb6a5][_0x33378e(0xf5)],_0x1dbf52[_0x8fb6a5][_0x33378e(0x10a)]&&delete _0x1dbf52[_0x8fb6a5][_0x33378e(0x10a)],_0x1dbf52[_0x8fb6a5][_0x33378e(0xf6)]&&delete _0x1dbf52[_0x8fb6a5][_0x33378e(0xf6)],_0x1dbf52[_0x8fb6a5][_0x33378e(0x170)]&&(_0x1dbf52[_0x8fb6a5][_0x33378e(0x1f3)]=!0x0));}return _0x1dbf52[_0x33378e(0x135)](_0xc84b36=>!_0xc84b36[_0x33378e(0x1f3)]);}[_0x2b5a8d(0x1d9)](_0x1a3de1,_0x5c3b0d,_0x48fdc4){const _0xd0b47=_0x2b5a8d,_0x4e70fa=new _0x2342e0(),_0x32cd72=[],_0x177a86=new Map(),_0x6a3b6a=this[_0xd0b47(0x190)][_0xd0b47(0xad)],_0x3e77dc=_0x6a3b6a[_0xd0b47(0x174)],_0x127dea=[_0x4e70fa],_0x111185={},_0x4c5617={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x342872=null;const _0x374803=[0x0];for(let _0x3b1ecb=0x0;_0x3b1ecb<_0x1a3de1[_0xd0b47(0xc4)];_0x3b1ecb++){let _0x57b2d6,_0x344d02;if(_0xd0b47(0x1b0)===_0x1a3de1[_0x3b1ecb][_0xd0b47(0x175)]){_0x57b2d6=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803);const _0x30403a=new _0x53cf83(_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x149)],_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x1f4)]());_0x127dea[0x0][_0xd0b47(0x1ec)](_0x30403a),_0x374803[_0xd0b47(0x138)](0x0),_0x127dea[_0xd0b47(0x1ad)](_0x30403a),_0x344d02=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803),_0x342872=null;}else{if(_0xd0b47(0x102)===_0x1a3de1[_0x3b1ecb][_0xd0b47(0x175)])_0x127dea[_0xd0b47(0x19e)](),_0x57b2d6=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803),_0x374803[_0xd0b47(0x134)](),_0x374803[_0x374803[_0xd0b47(0xc4)]-0x1]++,_0x344d02=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803),_0x342872=null;else{if(_0x57b2d6=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803),_0x342872&&_0x2dba03(_0x342872,_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)]))_0x342872[_0xd0b47(0x148)]+=_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x1b9)];else{const _0x58c437=new _0x43a8a8(_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x1b9)],_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x1f4)]());_0x127dea[0x0][_0xd0b47(0x1ec)](_0x58c437),_0x342872=_0x58c437;}_0x374803[_0x374803[_0xd0b47(0xc4)]-0x1]+=_0x1a3de1[_0x3b1ecb][_0xd0b47(0xea)][_0xd0b47(0x1ed)],_0x344d02=_0x6a3b6a[_0xd0b47(0x18f)](_0x4e70fa,_0x374803);}}for(const _0x453259 of _0x1a3de1[_0x3b1ecb][_0xd0b47(0x1d5)])_0x177a86[_0xd0b47(0x136)](_0x453259,{'start':_0x57b2d6,'end':null});_0x16229c(_0xd0b47(0xf6),_0x3b1ecb,_0x57b2d6,_0x344d02),_0x16229c(_0xd0b47(0x10a),_0x3b1ecb,_0x57b2d6,_0x344d02),_0x16229c(_0xd0b47(0x170),_0x3b1ecb,_0x57b2d6,_0x344d02),_0x16229c(_0xd0b47(0xf5),_0x3b1ecb,_0x57b2d6,_0x344d02);for(const _0x59d1d8 of _0x1a3de1[_0x3b1ecb][_0xd0b47(0x18c)]){_0x177a86[_0xd0b47(0xac)](_0x59d1d8)[_0xd0b47(0xc3)]=_0x344d02;}}for(const [_0x3f2756,_0x5cb6a5]of _0x177a86){const _0xb4ce8a=this[_0xd0b47(0x190)][_0xd0b47(0xad)][_0xd0b47(0x119)](_0x5cb6a5[_0xd0b47(0x184)],_0x5cb6a5[_0xd0b47(0xc3)]);_0x4e70fa[_0xd0b47(0x15c)][_0xd0b47(0x136)](_0x3f2756,_0xb4ce8a);}return _0x32cd72[_0xd0b47(0x157)]((_0x27325c,_0xcb5680)=>{const _0x5d1596=_0xd0b47,_0x3d4248=_0x4e70fa[_0x5d1596(0x15c)][_0x5d1596(0xac)](_0x5d1596(0x1a6)+_0x27325c['id']),_0x23381f=_0x4e70fa[_0x5d1596(0x15c)][_0x5d1596(0xac)](_0x5d1596(0x1a6)+_0xcb5680['id']);return _0x3d4248[_0x5d1596(0x184)][_0x5d1596(0x153)](_0x23381f[_0x5d1596(0x184)])?-0x1:_0x3d4248[_0x5d1596(0x184)][_0x5d1596(0xc8)](_0x23381f[_0x5d1596(0x184)])?0x1:_0x3d4248[_0x5d1596(0xc3)][_0x5d1596(0x153)](_0x23381f[_0x5d1596(0xc3)])?-0x1:_0x3d4248[_0x5d1596(0xc3)][_0x5d1596(0xc8)](_0x23381f[_0x5d1596(0xc3)])?0x1:_0x5d1596(0x1d3)===_0x27325c[_0x5d1596(0x175)]?-0x1:0x1;}),{'root':_0x4e70fa,'changes':_0x32cd72};function _0x16229c(_0x13bb0d,_0x49a4cf,_0x3557c6,_0x133dde){const _0x42b328=_0xd0b47,_0x363e56=!!_0x1a3de1[_0x49a4cf][_0x13bb0d],_0x5bb2a0=_0x363e56?_0x1a3de1[_0x49a4cf][_0x13bb0d][_0x42b328(0x1b5)]:null,_0x16cb8a=_0x49a4cf===_0x1a3de1[_0x42b328(0xc4)]-0x1,_0x448e71=_0x4c5617[_0x13bb0d][0x0],_0x49cf57=_0x3e77dc[_0x42b328(0x101)](_0x1a3de1[_0x49a4cf][_0x42b328(0xea)]);!_0x111185[_0x13bb0d]&&_0x363e56?_0x111185[_0x13bb0d]={'start':_0x3557c6,'tapeItem':_0x1a3de1[_0x49a4cf],'userId':_0x5bb2a0,'type':_0x13bb0d}:_0x111185[_0x13bb0d]&&!_0x363e56?(_0x111185[_0x13bb0d][_0x42b328(0xc3)]=_0x3557c6,_0x2e4259(_0x111185[_0x13bb0d]),_0x111185[_0x13bb0d]=null):_0x111185[_0x13bb0d]&&_0x363e56&&_0x111185[_0x13bb0d][_0x42b328(0x1b5)]!==_0x5bb2a0&&(_0x111185[_0x13bb0d][_0x42b328(0xc3)]=_0x3557c6,_0x448e71&&_0x448e71[_0x42b328(0x1b5)]===_0x111185[_0x13bb0d][_0x42b328(0x1b5)]||_0x2e4259(_0x111185[_0x13bb0d]),_0x111185[_0x13bb0d]={'start':_0x3557c6,'tapeItem':_0x1a3de1[_0x49a4cf],'userId':_0x5bb2a0,'type':_0x13bb0d}),_0x111185[_0x13bb0d]&&_0x49cf57&&(_0x42b328(0x1b0)!==_0x1a3de1[_0x49a4cf][_0x42b328(0x175)]||_0x448e71&&_0x448e71[_0x42b328(0x1b5)]===_0x5bb2a0||_0x4c5617[_0x13bb0d][_0x42b328(0x1ad)]({'userId':_0x5bb2a0,'object':_0x1a3de1[_0x49a4cf][_0x42b328(0xea)],'change':_0x111185[_0x13bb0d]}),_0x42b328(0x102)===_0x1a3de1[_0x49a4cf][_0x42b328(0x175)]&&_0x448e71&&_0x448e71[_0x42b328(0x171)]===_0x1a3de1[_0x49a4cf][_0x42b328(0xea)]&&(_0x4c5617[_0x13bb0d][_0x42b328(0x19e)](),_0x111185[_0x13bb0d]=_0x448e71[_0x42b328(0x15a)])),_0x111185[_0x13bb0d]&&_0x16cb8a&&(_0x111185[_0x13bb0d][_0x42b328(0xc3)]=_0x133dde,_0x2e4259(_0x111185[_0x13bb0d]),_0x111185[_0x13bb0d]=null);}function _0x2e4259({start:_0x30534a,end:_0x32ba28,tapeItem:_0x18035d,userId:_0x2c778c,type:_0x54ae0f}){const _0x48f0a5=_0xd0b47,_0x19cab8=_0x18035d[_0x48f0a5(0xea)],_0xe6ce76=_0x6a3b6a[_0x48f0a5(0x174)][_0x48f0a5(0x1e5)](_0x19cab8)&&!_0x6a3b6a[_0x48f0a5(0x174)][_0x48f0a5(0x1f8)](_0x19cab8),_0x12427b=_0x30534a[_0x48f0a5(0xd5)]==_0x32ba28[_0x48f0a5(0xc5)]&&_0x32ba28[_0x48f0a5(0xb9)];if(_0xe6ce76&&_0x12427b)return;const _0x16234f=_0x6a3b6a[_0x48f0a5(0x119)](_0x30534a,_0x32ba28),_0x30484c=_0x5c3b0d[_0x48f0a5(0xac)](_0x2c778c),_0x3f191b=new _0x4217fe({'author':_0x30484c,'type':_0x48f0a5(0xf5)==_0x54ae0f||_0x48f0a5(0x10a)==_0x54ae0f?_0x48f0a5(0x1d3):_0x48f0a5(0x104),'data':{'isSuggestion':_0x48f0a5(0x10a)==_0x54ae0f||_0x48f0a5(0xf6)==_0x54ae0f},'createdAt':new Date(),'rootName':_0x48fdc4});_0x32cd72[_0x48f0a5(0x138)](_0x3f191b),_0x4e70fa[_0x48f0a5(0x15c)][_0x48f0a5(0x136)](_0x48f0a5(0x1a6)+_0x3f191b['id'],_0x16234f);}function _0x2dba03(_0x179b4d,_0x3621a2){const _0x3991ea=_0xd0b47,_0x16408c=_0x179b4d[_0x3991ea(0x1f4)](),_0x405533=_0x3621a2[_0x3991ea(0x1f4)]();for(const _0x23d5ef of _0x16408c){if(_0x23d5ef[0x1]!==_0x3621a2[_0x3991ea(0x11c)](_0x23d5ef[0x0]))return!0x1;_0x405533[_0x3991ea(0xb8)]();}return _0x405533[_0x3991ea(0xb8)]()[_0x3991ea(0x14a)];}}[_0x2b5a8d(0x15e)](){const _0x20a8e3=_0x2b5a8d;this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0xde)]({'view':_0x20a8e3(0x1ea)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0x199))[_0x20a8e3(0x13d)]({'model':_0x20a8e3(0x1ea),'view':_0x438109=>{const _0x4eea30=_0x20a8e3,_0x59345c=_0x438109[_0x4eea30(0xe4)][_0x4eea30(0x1c9)](':')[0x1],_0x25a399=this[_0x4eea30(0x1a2)](_0x59345c);if(!_0x25a399)return null;const _0x2fede4=_0x4eea30(0x1d3)==_0x25a399[_0x4eea30(0x175)]?_0x4eea30(0x1ab):_0x4eea30(0x1ce),_0x3e6c15=[_0x4eea30(0x1bd),_0x4eea30(0xf9)+_0x2fede4];return _0x25a399[_0x4eea30(0x1b9)][_0x4eea30(0xd8)]&&_0x3e6c15[_0x4eea30(0x138)](_0x4eea30(0xf9)+_0x2fede4+_0x4eea30(0x10d)),this[_0x4eea30(0x198)]==_0x25a399&&_0x3e6c15[_0x4eea30(0x138)](_0x4eea30(0xd6)),{'classes':_0x3e6c15,'attributes':{'data-change-id':_0x59345c}};}}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0x1d3)](_0x4e993d=>{const _0x3c4eb4=_0x20a8e3;_0x4e993d['on'](_0x3c4eb4(0x128),(_0x14eaa1,_0x1bea9e,_0x55d4cf)=>{const _0x56b762=_0x3c4eb4,_0x2987ca=_0x1bea9e[_0x56b762(0xb2)][_0x56b762(0x169)](0x0);if(!_0x2987ca||!_0x2987ca['is'](_0x56b762(0xbd),_0x56b762(0x109)))return;if(!_0x55d4cf[_0x56b762(0xb7)][_0x56b762(0xc9)](_0x2987ca,{'attributes':[_0x56b762(0x1e2),_0x56b762(0x178)]}))return;const _0x27700b=_0x1bea9e[_0x56b762(0xdf)][_0x56b762(0x184)][_0x56b762(0xd5)];_0x55d4cf[_0x56b762(0xaf)][_0x56b762(0x1e6)](_0x56b762(0x1e2),_0x2987ca[_0x56b762(0x11c)](_0x56b762(0x1e2)),_0x27700b),_0x55d4cf[_0x56b762(0xaf)][_0x56b762(0x1e6)](_0x56b762(0x178),_0x2987ca[_0x56b762(0x11c)](_0x56b762(0x178)),_0x27700b);},{'priority':_0x3c4eb4(0x1cf)});}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0x1d3)](_0x35f21d=>{const _0x5592db=_0x20a8e3;_0x35f21d['on'](_0x5592db(0xbd),(_0x392583,_0xdd4351,_0x4ae06b)=>{const _0x3d0a9b=_0x5592db;if(!_0x4ae06b[_0x3d0a9b(0xb7)][_0x3d0a9b(0xc9)](_0xdd4351[_0x3d0a9b(0xb2)],{'attributes':[_0x3d0a9b(0x1e2),_0x3d0a9b(0x178)]}))return;if(_0xdd4351[_0x3d0a9b(0xdf)][_0x3d0a9b(0x18a)])return;const _0x3e58ad=_0xdd4351[_0x3d0a9b(0xdf)][_0x3d0a9b(0x184)][_0x3d0a9b(0xd5)];_0x3e58ad[_0x3d0a9b(0x1e4)](_0x3d0a9b(0x1e2))||_0x3e58ad[_0x3d0a9b(0x1e4)](_0x3d0a9b(0x126))||(_0x4ae06b[_0x3d0a9b(0xaf)][_0x3d0a9b(0x1e6)](_0x3d0a9b(0x1e2),_0xdd4351[_0x3d0a9b(0xb2)][_0x3d0a9b(0x11c)](_0x3d0a9b(0x1e2)),_0x3e58ad),_0x4ae06b[_0x3d0a9b(0xaf)][_0x3d0a9b(0x1e6)](_0x3d0a9b(0x178),_0xdd4351[_0x3d0a9b(0xb2)][_0x3d0a9b(0x11c)](_0x3d0a9b(0x178)),_0x3e58ad));},{'priority':_0x5592db(0x1cf)});}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0x13a)]({'view':{'name':_0x20a8e3(0xc7),'attributes':{'vid':!0x0}},'model':{'key':_0x20a8e3(0x126),'value':_0xd4ff14=>_0xd4ff14[_0x20a8e3(0x11c)](_0x20a8e3(0x126))}}),this[_0x20a8e3(0x190)][_0x20a8e3(0xad)][_0x20a8e3(0x174)]['on'](_0x20a8e3(0x100),(_0x288095,[,_0xba114])=>{const _0x26f3bc=_0x20a8e3;[_0x26f3bc(0x1e2),_0x26f3bc(0x178),_0x26f3bc(0x126)][_0x26f3bc(0x181)](_0xba114)&&(_0x288095[_0x26f3bc(0x10f)]=!0x0,_0x288095[_0x26f3bc(0x12f)]());},{'priority':_0x20a8e3(0x137)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0x113))[_0x20a8e3(0x1d3)](_0x3b503c=>{const _0x499f02=_0x20a8e3;_0x3b503c['on'](_0x499f02(0x15b),(_0x57cd53,_0x7eea11,_0x1f00b5)=>{const _0x4f4a29=_0x499f02;if('\x20'!=_0x7eea11[_0x4f4a29(0xea)][_0x4f4a29(0x1b9)]||_0x7eea11[_0x4f4a29(0xea)][_0x4f4a29(0xc5)][_0x4f4a29(0x1c7)]>0x1)return;if(!_0x1f00b5[_0x4f4a29(0xb7)][_0x4f4a29(0xc9)](_0x7eea11[_0x4f4a29(0xea)],_0x57cd53[_0x4f4a29(0x149)]))return;const _0x5ea823=_0x1f00b5[_0x4f4a29(0xaf)],_0x59a37c=_0x1f00b5[_0x4f4a29(0xe2)][_0x4f4a29(0xd0)](_0x7eea11[_0x4f4a29(0xfd)]);_0x5ea823[_0x4f4a29(0xd4)](_0x59a37c,_0x5ea823[_0x4f4a29(0x13b)](_0x4f4a29(0xc7)));});}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0x113))[_0x20a8e3(0x194)]({'model':_0x20a8e3(0x1ea)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0x1bb),function(_0x21dfa9){const _0x454286=_0x20a8e3,_0x65d2d8=_0x21dfa9[_0x454286(0x188)][_0x454286(0xac)](_0x454286(0x14e));return(_0x35f771,_0xdc6ff7,_0x29f27f)=>{const _0x3c0b8f=_0x454286,_0x2e16ad=_0xdc6ff7[_0x3c0b8f(0xe4)][_0x3c0b8f(0x1c9)](':')[0x1],_0x218bec=_0x65d2d8[_0x3c0b8f(0x1a2)](_0x2e16ad);if(!_0x218bec)return null;const _0x39bb32=_0x3c0b8f(0x1d3)==_0x218bec[_0x3c0b8f(0x175)]?_0x3c0b8f(0x1c9):_0x3c0b8f(0x189);if(!_0x29f27f[_0x3c0b8f(0xb7)][_0x3c0b8f(0x1a9)](_0xdc6ff7[_0x3c0b8f(0x1d0)],_0x35f771[_0x3c0b8f(0x149)]))return;const _0x17cfd2=_0xdc6ff7[_0x3c0b8f(0x1d0)][_0x3c0b8f(0xc6)](),_0x3b9ad6=_0xdc6ff7[_0x3c0b8f(0x1d0)][_0x3c0b8f(0x184)],_0x240de3=_0x21dfa9[_0x3c0b8f(0xad)][_0x3c0b8f(0x174)];let _0x4875ca=null,_0x126eb5=null,_0x562ea1=!0x1,_0x5ea8a8=!0x1;for(const _0x42d2e0 of _0x17cfd2){const _0x2efa04=_0x42d2e0[_0x3c0b8f(0xea)];_0x562ea1=_0x562ea1||_0x240de3[_0x3c0b8f(0x1c2)](_0x2efa04);const _0x483abb=_0x29f27f[_0x3c0b8f(0xe2)][_0x3c0b8f(0xc1)](_0x2efa04);if(_0x483abb&&_0x483abb[_0x3c0b8f(0x121)](_0x3c0b8f(0xfe)))return;_0x3c0b8f(0x102)==_0x42d2e0[_0x3c0b8f(0x175)]&&(_0x240de3[_0x3c0b8f(0x1e5)](_0x2efa04)&&!_0x240de3[_0x3c0b8f(0x1f8)](_0x2efa04)&&(_0x2efa04[_0x3c0b8f(0x186)]||_0x3b9ad6[_0x3c0b8f(0x1fa)]?_0x4875ca&&_0x4875ca[_0x3c0b8f(0xc5)]==_0x2efa04||(_0x4875ca=_0x2efa04,_0x133d4d(_0x42d2e0[_0x3c0b8f(0x152)]),_0x5ea8a8=!0x0):_0x126eb5=_0x126eb5||_0x42d2e0[_0x3c0b8f(0x152)]));}function _0x133d4d(_0xe170d1){const _0x24bd84=_0x3c0b8f,_0x56a7cb=_0x29f27f[_0x24bd84(0xaf)][_0x24bd84(0x1f9)](_0x24bd84(0xc7),{'class':_0x24bd84(0xf9)+_0x39bb32}),_0x5e82e7=_0x29f27f[_0x24bd84(0xe2)][_0x24bd84(0xb0)](_0xe170d1);_0x218bec[_0x24bd84(0x1b9)][_0x24bd84(0xd8)]&&_0x29f27f[_0x24bd84(0xaf)][_0x24bd84(0x1fb)](_0x24bd84(0xf9)+_0x39bb32+_0x24bd84(0x10d),_0x56a7cb),_0x65d2d8[_0x24bd84(0x198)]==_0x218bec&&_0x29f27f[_0x24bd84(0xaf)][_0x24bd84(0x1fb)](_0x24bd84(0xd6),_0x56a7cb),_0x29f27f[_0x24bd84(0xaf)][_0x24bd84(0x1c1)](_0x5e82e7,_0x56a7cb),_0x29f27f[_0x24bd84(0xe2)][_0x24bd84(0x1a7)](_0x56a7cb,_0xdc6ff7[_0x24bd84(0xe4)]);}_0x562ea1||_0x5ea8a8||!_0x126eb5||_0x133d4d(_0x126eb5);};}(this[_0x20a8e3(0x190)]),{'priority':_0x20a8e3(0xdc)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0x10e),(_0x222ec2,_0x50099a,_0x2d9e2a)=>{const _0x3b0ef5=_0x20a8e3,_0x298f54=_0x2d9e2a[_0x3b0ef5(0xe2)][_0x3b0ef5(0x180)](_0x50099a[_0x3b0ef5(0xe4)]);if(_0x298f54){for(const _0x57ffd0 of _0x298f54)(_0x57ffd0[_0x3b0ef5(0xe8)](_0x3b0ef5(0x143))||_0x57ffd0[_0x3b0ef5(0xe8)](_0x3b0ef5(0x166)))&&(_0x2d9e2a[_0x3b0ef5(0xe2)][_0x3b0ef5(0x12b)](_0x57ffd0,_0x50099a[_0x3b0ef5(0xe4)]),_0x2d9e2a[_0x3b0ef5(0xaf)][_0x3b0ef5(0x104)](_0x57ffd0));}},{'priority':_0x20a8e3(0xdc)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0x1bb),(_0x54cb6a,_0x51bec9,_0x15a922)=>{const _0x1f503e=_0x20a8e3,_0x539eef=_0x51bec9[_0x1f503e(0xe4)][_0x1f503e(0x1c9)](':')[0x1],_0x580053=this[_0x1f503e(0x1a2)](_0x539eef);if(!_0x580053)return null;const _0x545696=_0x1f503e(0x1d3)==_0x580053[_0x1f503e(0x175)]?_0x1f503e(0x1c9):_0x1f503e(0x189);if(_0x15a922[_0x1f503e(0xb7)][_0x1f503e(0x1a9)](_0x51bec9[_0x1f503e(0x1d0)],_0x54cb6a[_0x1f503e(0x149)]))for(const _0x4e5909 of _0x51bec9[_0x1f503e(0x1d0)][_0x1f503e(0xf3)]()){if(!_0x4e5909['is'](_0x1f503e(0xbd),_0x1f503e(0x1a5)))continue;const _0x21da95=_0x15a922[_0x1f503e(0xaf)][_0x1f503e(0x1f9)](_0x1f503e(0xc7),{'class':_0x1f503e(0xf9)+_0x545696}),_0x3c76ef=_0x15a922[_0x1f503e(0xe2)][_0x1f503e(0xb0)](this[_0x1f503e(0x190)][_0x1f503e(0xad)][_0x1f503e(0xcc)](_0x4e5909));_0x580053[_0x1f503e(0x1b9)][_0x1f503e(0xd8)]&&_0x15a922[_0x1f503e(0xaf)][_0x1f503e(0x1fb)](_0x1f503e(0xf9)+_0x545696+_0x1f503e(0x10d),_0x21da95),this[_0x1f503e(0x198)]==_0x580053&&_0x15a922[_0x1f503e(0xaf)][_0x1f503e(0x1fb)](_0x1f503e(0xd6),_0x21da95),_0x15a922[_0x1f503e(0xaf)][_0x1f503e(0x1c1)](_0x3c76ef,_0x21da95),_0x15a922[_0x1f503e(0xe2)][_0x1f503e(0x1a7)](_0x21da95,_0x51bec9[_0x1f503e(0xe4)]);}},{'priority':_0x20a8e3(0xdc)}),this[_0x20a8e3(0x190)][_0x20a8e3(0xad)][_0x20a8e3(0xb4)]['on'](_0x20a8e3(0x15a),()=>{const _0x3867ca=_0x20a8e3;this[_0x3867ca(0x190)][_0x3867ca(0x167)][_0x3867ca(0xfa)][_0x3867ca(0x15a)](_0x5ef1fb=>{const _0x4e14fb=_0x3867ca;for(const _0x59918a of this[_0x4e14fb(0x190)][_0x4e14fb(0xad)][_0x4e14fb(0xb4)][_0x4e14fb(0x1a1)]()){const _0x9a989a=this[_0x4e14fb(0x190)][_0x4e14fb(0xad)][_0x4e14fb(0xb4)][_0x4e14fb(0x1a0)](_0x59918a),_0x4f628c=this[_0x4e14fb(0x190)][_0x4e14fb(0x167)][_0x4e14fb(0xfa)][_0x4e14fb(0xb4)][_0x4e14fb(0x1a0)](_0x59918a);if(_0x4f628c){const _0x4a31b0=_0x9a989a[_0x4e14fb(0x11c)](_0x4e14fb(0xe3));if(_0x5ef1fb[_0x4e14fb(0x1b4)](_0x4e14fb(0x1bf),_0x4f628c),_0x5ef1fb[_0x4e14fb(0x1dd)](_0x4e14fb(0x19a),_0x4f628c),_0x5ef1fb[_0x4e14fb(0x1dd)](_0x4e14fb(0x108),_0x4f628c),_0x5ef1fb[_0x4e14fb(0x1dd)](_0x4e14fb(0xcd),_0x4f628c),_0x4a31b0){const _0x2e98ba=this[_0x4e14fb(0x1a2)](_0x4a31b0);if(!_0x2e98ba)return null;_0x5ef1fb[_0x4e14fb(0x1e6)](_0x4e14fb(0x1bf),_0x4a31b0,_0x4f628c),_0x5ef1fb[_0x4e14fb(0x1fb)](_0x4e14fb(0x1e7)+_0x2e98ba[_0x4e14fb(0x175)],_0x4f628c),this[_0x4e14fb(0x198)]==_0x2e98ba&&_0x5ef1fb[_0x4e14fb(0x1fb)](_0x4e14fb(0xcd),_0x4f628c);}}}});}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0xde)]({'view':_0x20a8e3(0xe6),'model':_0x7ba249=>_0x20a8e3(0x19d)+_0x7ba249,'converterPriority':_0x20a8e3(0x137)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0xeb))[_0x20a8e3(0xde)]({'view':_0x20a8e3(0x1e0),'model':_0x1b3986=>_0x20a8e3(0x115)+_0x1b3986,'converterPriority':_0x20a8e3(0x137)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0x113))[_0x20a8e3(0x194)]({'model':_0x20a8e3(0x187),'view':_0xac203c=>({'name':_0x20a8e3(0xf0)+_0xac203c,'group':_0x20a8e3(0x187)}),'converterPriority':_0x20a8e3(0x137)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x13e)][_0x20a8e3(0xab)](_0x20a8e3(0x199))[_0x20a8e3(0x13d)]({'model':_0x20a8e3(0x187),'view':_0x2068bf=>{const _0x34c8b2=_0x20a8e3,_0x2e518d=_0x2068bf[_0x34c8b2(0xe4)][_0x34c8b2(0x1c9)](':')[0x1];return _0x34c8b2(0x1ab)!=_0x2e518d&&_0x34c8b2(0x1ce)!=_0x2e518d?null:{'classes':[_0x34c8b2(0xed),_0x34c8b2(0x1aa)+_0x2e518d]};}}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0x1f2),et(this[_0x20a8e3(0x190)],_0x20a8e3(0x189)),{'priority':_0x20a8e3(0xdc)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0xba),et(this[_0x20a8e3(0x190)],_0x20a8e3(0x1c9)),{'priority':_0x20a8e3(0xdc)}),this[_0x20a8e3(0x190)][_0x20a8e3(0x167)][_0x20a8e3(0x16e)]['on'](_0x20a8e3(0x139),(_0x1e460d,_0x5ec6af,_0x14d537)=>{const _0x397d9d=_0x20a8e3,_0x2f1ad8=_0x14d537[_0x397d9d(0xe2)][_0x397d9d(0x180)](_0x5ec6af[_0x397d9d(0xe4)]);if(_0x2f1ad8){for(const _0x2579c3 of _0x2f1ad8)_0x2579c3['is'](_0x397d9d(0x1e9))&&(_0x14d537[_0x397d9d(0xe2)][_0x397d9d(0x12b)](_0x2579c3,_0x5ec6af[_0x397d9d(0xe4)]),_0x14d537[_0x397d9d(0xaf)][_0x397d9d(0x104)](_0x2579c3));}},{'priority':_0x20a8e3(0xdc)});}[_0x2b5a8d(0x1a2)](_0x3c7282){const _0x1f61b0=_0x2b5a8d;return this[_0x1f61b0(0x1de)][_0x1f61b0(0xac)](_0x3c7282);}[_0x2b5a8d(0xd9)](_0x20ec93){const _0x60359e=_0x2b5a8d;return this[_0x60359e(0x158)]&&this[_0x60359e(0x158)][_0x60359e(0x176)](),this[_0x60359e(0x158)]=new _0x1589ab(this[_0x60359e(0x190)][_0x60359e(0x1d2)],_0x20ec93),this[_0x60359e(0x158)];}[_0x2b5a8d(0xfb)](){const _0x26de56=_0x2b5a8d;this[_0x26de56(0x190)][_0x26de56(0xad)][_0x26de56(0xb4)][_0x26de56(0x11f)][_0x26de56(0x1c4)](_0x26de56(0x1ea)),this['on'](_0x26de56(0x1db),(_0x3b5b37,_0x5989a9,_0x503555,_0x4d34bb)=>{const _0x47c498=_0x26de56;_0x4d34bb&&this[_0x47c498(0x112)][_0x47c498(0x104)](_0x4d34bb),_0x503555&&(this[_0x47c498(0x112)][_0x47c498(0x1d3)]({'view':_0x503555,'stackId':_0x47c498(0x1f1),'position':{'target':()=>{const _0x4c0494=_0x47c498,_0x9558fa=this[_0x4c0494(0x190)][_0x4c0494(0x167)],_0x36b878=this[_0x4c0494(0x1a2)](_0x503555[_0x4c0494(0x1b1)]);let _0xdd31de;if(_0x36b878[_0x4c0494(0x1b9)][_0x4c0494(0x177)]){const _0x10af6c=_0x9558fa[_0x4c0494(0xfa)][_0x4c0494(0x1d6)](_0x36b878[_0x4c0494(0x130)]);_0xdd31de=Array[_0x4c0494(0x1dc)](_0x10af6c[_0x4c0494(0x1f5)]());}else{const _0x5a19e2=this[_0x4c0494(0x190)][_0x4c0494(0xad)][_0x4c0494(0x15c)][_0x4c0494(0xac)](_0x4c0494(0x1a6)+_0x503555[_0x4c0494(0x1b1)]);_0xdd31de=Array[_0x4c0494(0x1dc)](_0x9558fa[_0x4c0494(0xe2)][_0x4c0494(0x180)](_0x5a19e2[_0x4c0494(0x149)]))[_0x4c0494(0x17f)](_0x561f93=>_0x9558fa[_0x4c0494(0xfa)][_0x4c0494(0x1cd)][_0x4c0494(0xb1)](_0x561f93))[_0x4c0494(0x17f)](_0xe621fa=>Array[_0x4c0494(0x1dc)](_0xe621fa[_0x4c0494(0x1f5)]()))[_0x4c0494(0x105)]();}if(!this[_0x4c0494(0x1c8)])return _0xdd31de[0x0];return _0xdd31de[_0x4c0494(0x1a4)](_0x4d1b0c=>_0x4d1b0c[_0x4c0494(0x11e)]-0x3<=this[_0x4c0494(0x1c8)]['y']&&_0x4d1b0c[_0x4c0494(0x133)]+0x3>=this[_0x4c0494(0x1c8)]['y']&&_0x4d1b0c[_0x4c0494(0xbc)]-0x3<=this[_0x4c0494(0x1c8)]['x']&&_0x4d1b0c[_0x4c0494(0xf8)]+0x3>=this[_0x4c0494(0x1c8)]['x'])||_0xdd31de[0x0];}}}),this[_0x47c498(0x112)][_0x47c498(0x1e8)](_0x47c498(0x1f1)));}),this['on'](_0x26de56(0x185),(_0x2d8aaf,_0x1e1954,_0x128845,_0x280665)=>{const _0x1f7b23=_0x26de56;this[_0x1f7b23(0x1b7)]=_0x128845?this[_0x1f7b23(0xd9)](_0x128845):null,this[_0x1f7b23(0x190)][_0x1f7b23(0xad)][_0x1f7b23(0x15a)](()=>{const _0x41a006=_0x1f7b23,_0x4b2901=this[_0x41a006(0x190)][_0x41a006(0x167)];_0x280665&&(_0x280665[_0x41a006(0x1b9)][_0x41a006(0x177)]?_0x4b2901[_0x41a006(0xfa)][_0x41a006(0x15a)](_0x1dc759=>{const _0x1a8a18=_0x41a006;_0x1dc759[_0x1a8a18(0x1dd)](_0x1a8a18(0xcd),_0x4b2901[_0x1a8a18(0xfa)][_0x1a8a18(0xb4)][_0x1a8a18(0x1a0)](_0x280665[_0x1a8a18(0x130)]));}):_0x4b2901[_0x41a006(0x1af)](_0x41a006(0x1a6)+_0x280665['id'])),_0x128845&&(_0x128845[_0x41a006(0x1b9)][_0x41a006(0x177)]?_0x4b2901[_0x41a006(0xfa)][_0x41a006(0x15a)](_0x13daf7=>{const _0x5529d3=_0x41a006;_0x13daf7[_0x5529d3(0x1fb)](_0x5529d3(0xcd),_0x4b2901[_0x5529d3(0xfa)][_0x5529d3(0xb4)][_0x5529d3(0x1a0)](_0x128845[_0x5529d3(0x130)]));}):_0x4b2901[_0x41a006(0x1af)](_0x41a006(0x1a6)+_0x128845['id']));});}),this[_0x26de56(0x196)](this[_0x26de56(0x190)][_0x26de56(0x167)][_0x26de56(0xfa)][_0x26de56(0xb4)],_0x26de56(0x150),(_0x5bfe95,_0x1f8574)=>{const _0x21d8b5=_0x26de56;if(this[_0x21d8b5(0x198)])return;const _0x4c749f=this[_0x21d8b5(0x19b)](_0x1f8574[_0x21d8b5(0xee)]),_0x24792d=this[_0x21d8b5(0x1de)][_0x21d8b5(0xac)](_0x4c749f);_0x24792d?(this[_0x21d8b5(0x1c8)]={'x':_0x1f8574[_0x21d8b5(0x16c)]['x'],'y':_0x1f8574[_0x21d8b5(0x16c)]['y']},this[_0x21d8b5(0x1b7)]=this[_0x21d8b5(0xd9)](_0x24792d)):(this[_0x21d8b5(0x1c8)]=null,this[_0x21d8b5(0x1b7)]=null);}),this[_0x26de56(0x196)](this[_0x26de56(0x190)][_0x26de56(0x167)][_0x26de56(0xfa)][_0x26de56(0xb4)],_0x26de56(0x1da),(_0x530a25,_0x231dc9)=>{const _0x14d9b8=_0x26de56,_0x153a51=this[_0x14d9b8(0x19b)](_0x231dc9[_0x14d9b8(0xee)]),_0x32e1e6=this[_0x14d9b8(0x1de)][_0x14d9b8(0xac)](_0x153a51);_0x32e1e6?(this[_0x14d9b8(0x1c8)]={'x':_0x231dc9[_0x14d9b8(0x16c)]['x'],'y':_0x231dc9[_0x14d9b8(0x16c)]['y']},_0x32e1e6===this[_0x14d9b8(0x198)]?this[_0x14d9b8(0x112)][_0x14d9b8(0xd1)]():this[_0x14d9b8(0x198)]=_0x32e1e6):(this[_0x14d9b8(0x1c8)]=null,this[_0x14d9b8(0x198)]=null);});}[_0x2b5a8d(0x19b)](_0x344f6a){const _0x78d8=_0x2b5a8d;do{const _0x1f4d03=_0x344f6a[_0x78d8(0x11c)](_0x78d8(0x1bf));if(_0x1f4d03)return _0x1f4d03;_0x344f6a=_0x344f6a[_0x78d8(0xc5)];}while(_0x344f6a);return null;}[_0x2b5a8d(0x11a)](){const _0x8a9f81=_0x2b5a8d;this[_0x8a9f81(0x190)][_0x8a9f81(0xad)][_0x8a9f81(0x15a)](_0x2bd571=>{const _0x7f5ce8=_0x8a9f81;for(const _0x2fae02 of this[_0x7f5ce8(0x190)][_0x7f5ce8(0xad)][_0x7f5ce8(0x15c)])_0x2bd571[_0x7f5ce8(0x144)](_0x2fae02);});}}function et(_0x34ad72,_0x430bb9){return(_0x2801ee,_0x29207d,_0x666b30)=>{const _0x197221=_0x4ddd;if(!_0x666b30[_0x197221(0xb7)][_0x197221(0x1a9)](_0x29207d[_0x197221(0x1d0)],_0x2801ee[_0x197221(0x149)]))return;const _0x33ff72=_0x29207d[_0x197221(0x1d0)][_0x197221(0xc6)](),_0x5d460e=_0x29207d[_0x197221(0x1d0)][_0x197221(0x184)],_0x5433bc=_0x34ad72[_0x197221(0xad)][_0x197221(0x174)];let _0x2c3e46=null,_0x33efb8=null,_0x4ac2b9=!0x1,_0x138b75=!0x1;for(const _0x458158 of _0x33ff72){const _0x5eba1e=_0x458158[_0x197221(0xea)];_0x4ac2b9=_0x4ac2b9||_0x5433bc[_0x197221(0x1c2)](_0x5eba1e);const _0x13033d=_0x666b30[_0x197221(0xe2)][_0x197221(0xc1)](_0x5eba1e);if(_0x13033d&&_0x13033d[_0x197221(0x121)](_0x197221(0xfe)))return;_0x197221(0x102)==_0x458158[_0x197221(0x175)]&&(_0x5433bc[_0x197221(0x1e5)](_0x5eba1e)&&!_0x5433bc[_0x197221(0x1f8)](_0x5eba1e)&&(_0x5eba1e[_0x197221(0x186)]||_0x5d460e[_0x197221(0x1fa)]?_0x2c3e46&&_0x2c3e46[_0x197221(0xc5)]==_0x5eba1e||(_0x2c3e46=_0x5eba1e,_0x542978(_0x458158[_0x197221(0x152)]),_0x138b75=!0x0):_0x33efb8=_0x33efb8||_0x458158[_0x197221(0x152)]));}function _0x542978(_0xf8cfe2){const _0x1a160a=_0x197221,_0x4aa0cc=_0x666b30[_0x1a160a(0xe2)][_0x1a160a(0xb0)](_0xf8cfe2),_0x50bcd0=_0x666b30[_0x1a160a(0xaf)][_0x1a160a(0x1f9)](_0x1a160a(0xc7),{'class':_0x1a160a(0x1aa)+_0x430bb9});_0x666b30[_0x1a160a(0xaf)][_0x1a160a(0x1c1)](_0x4aa0cc,_0x50bcd0),_0x666b30[_0x1a160a(0xe2)][_0x1a160a(0x1a7)](_0x50bcd0,_0x29207d[_0x1a160a(0xe4)]);}_0x4ac2b9||_0x138b75||!_0x33efb8||_0x542978(_0x33efb8);};}export class RestoreRevisionCommand extends _0x4f4397{constructor(_0x486042){const _0xed9251=_0x2b5a8d;super(_0x486042);const _0x51c2b5=_0x486042[_0xed9251(0x188)][_0xed9251(0xac)](d);this[_0xed9251(0xbb)]=!0x1,this[_0xed9251(0x196)](_0x51c2b5,_0xed9251(0x197),()=>this[_0xed9251(0x125)]()),this[_0xed9251(0x196)](_0x51c2b5,_0xed9251(0xb3),()=>this[_0xed9251(0x125)]());}[_0x2b5a8d(0x12d)](){const _0x5516fd=_0x2b5a8d,_0x599be4=this[_0x5516fd(0x190)],_0x5d4d38=_0x599be4[_0x5516fd(0x188)][_0x5516fd(0xac)](d),_0x14e6ee=_0x5d4d38[_0x5516fd(0x151)]?_0x5d4d38[_0x5516fd(0x14d)][_0x5516fd(0x11b)]:null;_0x599be4[_0x5516fd(0x156)][_0x5516fd(0xac)](_0x5516fd(0xbe))[_0x5516fd(0x15d)](_0x14e6ee);}[_0x2b5a8d(0x125)](){const _0x47c3fd=_0x2b5a8d,{isReady:_0x329bd1,isEnabled:_0x4bda53}=this[_0x47c3fd(0x190)][_0x47c3fd(0x188)][_0x47c3fd(0xac)](d);this[_0x47c3fd(0x1ba)]=_0x329bd1&&_0x4bda53;}}export class ShowChangeCommand extends _0x4f4397{constructor(_0x4fb27a,{direction:_0x5d789c}){const _0x716e6b=_0x2b5a8d;super(_0x4fb27a);const _0x315fdf=_0x4fb27a[_0x716e6b(0x188)][_0x716e6b(0xac)](d);this[_0x716e6b(0xbb)]=!0x1,this[_0x716e6b(0x1df)]=_0x716e6b(0xff)===_0x5d789c?0x1:-0x1,this[_0x716e6b(0x196)](_0x315fdf,_0x716e6b(0x197),()=>this[_0x716e6b(0x125)]()),this[_0x716e6b(0x196)](_0x315fdf,_0x716e6b(0xb3),()=>this[_0x716e6b(0x125)]()),this[_0x716e6b(0x196)](_0x315fdf,_0x716e6b(0x185),()=>this[_0x716e6b(0x125)]());}[_0x2b5a8d(0x12d)](){const _0x4892a3=_0x2b5a8d,_0x542dcc=this[_0x4892a3(0x190)],_0x547066=_0x542dcc[_0x4892a3(0x188)][_0x4892a3(0xac)](d),{isNavigationMode:_0x5b7e1d,currentChangeNumber:_0x99262a}=_0x547066;let _0x1e2d62;if(_0x547066[_0x4892a3(0x198)]=_0x5b7e1d?_0x547066[_0x4892a3(0x14d)][_0x4892a3(0x107)][_0x4892a3(0xac)](_0x99262a+this[_0x4892a3(0x1df)]):_0x547066[_0x4892a3(0x14d)][_0x4892a3(0x107)][_0x4892a3(0x1c5)],_0x547066[_0x4892a3(0x198)][_0x4892a3(0x1b9)][_0x4892a3(0x177)])_0x1e2d62=_0x542dcc[_0x4892a3(0x167)][_0x4892a3(0xfa)][_0x4892a3(0x1d6)](_0x547066[_0x4892a3(0x198)][_0x4892a3(0x130)]);else{const _0x4ede69=_0x542dcc[_0x4892a3(0xad)][_0x4892a3(0x15c)][_0x4892a3(0xac)](_0x4892a3(0x1a6)+_0x547066[_0x4892a3(0x198)]['id']);_0x1e2d62=_0x3e6a3b(_0x542dcc[_0x4892a3(0x167)],_0x4ede69);}_0x231a5e({'target':_0x1e2d62,'viewportOffset':0x28});}[_0x2b5a8d(0x125)](){const _0x347c42=_0x2b5a8d,{isNavigationMode:_0x220c65,currentChangeNumber:_0x38023c,numberOfChanges:_0x182c6c,isReady:_0x533976,isEnabled:_0xad2a77}=this[_0x347c42(0x190)][_0x347c42(0x188)][_0x347c42(0xac)](d);this[_0x347c42(0x1ba)]=!!(_0xad2a77&&_0x533976&&_0x182c6c)&&(!_0x220c65||(0x1===this[_0x347c42(0x1df)]?_0x38023c<_0x182c6c-0x1:_0x38023c>0x0));}}
|
|
23
|
+
const _0x3b63d1=_0xbef1;(function(_0x4743de,_0x5afdbe){const _0x56d777=_0xbef1,_0x216f3c=_0x4743de();while(!![]){try{const _0x3b2daf=parseInt(_0x56d777(0x2a0))/0x1*(-parseInt(_0x56d777(0x307))/0x2)+parseInt(_0x56d777(0x309))/0x3+parseInt(_0x56d777(0x322))/0x4+-parseInt(_0x56d777(0x29f))/0x5+parseInt(_0x56d777(0x292))/0x6*(-parseInt(_0x56d777(0x2e5))/0x7)+parseInt(_0x56d777(0x270))/0x8+-parseInt(_0x56d777(0x21e))/0x9*(-parseInt(_0x56d777(0x298))/0xa);if(_0x3b2daf===_0x5afdbe)break;else _0x216f3c['push'](_0x216f3c['shift']());}catch(_0x2ab4c8){_0x216f3c['push'](_0x216f3c['shift']());}}}(_0x4ec8,0x3e720));import{Plugin as _0x207c06,Command as _0x450db5}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x42f9c8}from'ckeditor5/src/utils.js';function _0xbef1(_0x3a3251,_0x33d575){const _0x4ec830=_0x4ec8();return _0xbef1=function(_0xbef1d2,_0x4f3828){_0xbef1d2=_0xbef1d2-0x1e2;let _0x11970a=_0x4ec830[_0xbef1d2];return _0x11970a;},_0xbef1(_0x3a3251,_0x33d575);}import{ContextualBalloon as _0x3ca3a0}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x1fb6df,Element as _0x4d3be8,Text as _0x3ef66e,ViewDocumentFragment as _0x238706,ViewText as _0xdc5112,ViewElement as _0x5105f6,ViewContainerElement as _0x4b9bb0,ViewAttributeElement as _0x1d6e33,ViewEmptyElement as _0x53ae17,ViewRawElement as _0x574bb8,ViewUIElement as _0x456268}from'ckeditor5/src/engine.js';import{Users as _0x5b8b1c,getMarkerDomElement as _0x583066}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x463c13 from'./ui/revisionviewer/changedetailsview.js';import _0x509a5a from'./revisionsrepository.js';import _0x192ffa from'./changeitem.js';function _0x4ec8(){const _0x481968=['enqueueChange','repository','data-revision-','dataDowncast','flat','elementToAttribute','maxOffset','all','has','_removeUnsupportedChanges','userId','markers','activeChange','uiElement','low','writer','WidgetToolbarRepository','1662928cWIqYZ','removeClass','isSuggestion','_cleanMarkers','deletion','ck-revision-history-root-remove','createRange','restoreRevision','unbindElementFromMarkerName','ck-suggestion-preview-marker-','abs','for','vid_end','revision-suggestion:','_getChangeFromId','sort','suggestion:','default','parent','consume','isEqual','code','getAttributes','side','previousPosition','checkAttribute','insert','map','editing','change:numberOfChanges','change:isEnabled','keys','viewItem','rootName','bindElementToMarker','length','createPositionFromPath','item','elementEnd','type','editingDowncast','filter','children','-new','mouseover','_getRevisionsRange','ck-suggestion-marker--active','isReady','domConverter','RevisionViewer','editor','_fixObsoleteTags','from','marked','getRevision','end','_removeRevisionMarkers','affectsData','get','authors','suggestion','consumable','markerNameToElements','remove','isNavigationMode','ck-revision-history-root-add','mousedown','vid_start','_getDiff','_makeModelFromTape','pop','dataToMarker','change:isReady','comment','_appendChild','99uocIEQ','concat','_markSuggestions','createRevision','indexOf','change:activeView','_step','_setDistance','revision-comment:','diffData','isAdded','ck-revision-history-root-','revision-end','_initInteractions','_removeMissingPairs','collaboration.channelId','getRevisionRootsAttributes','_threeWayMerge','createUIElement','done','createRangeIn','error','currentChangeNumber','isContent','splice','enableReadOnlyMode','offsetSize','_revisions','addMarker:revision','isLimit','insertion','wrap','softBreak','bind','getCustomProperty','changeId','change:activeChange','markerName','createAttributeElement','add','showStack','slice','pairId','_changeIdToChange','forceDisabled','shift','newRevisionId','includes','backward','addRevisionData','_changeView','isAttached','getAttribute','isAtEnd','data','target','_processTape','getRevisionData','revision','adapter','setAttribute','elementStart','commands','data-change-id','isObject','first','showPreviousChange','_joinTapes','start','return','toViewElement','attribute:vid','plugins','isRemoved','toData','nextPosition','isCollapsed','next','isOnRoot','addMarker:revision-suggestion:deletion','_data','compare','1359176osnQqt','requires','element','ck-editor__editable__overlay','then','schema','revisionHistoryAttachChange','_update','upcast','_markMismatchedRemovedTags','_markInsertions','range','destroy','right','index','listenTo','hasAttribute','changes','getItems','roots','findIndex','isEnabled','bottom','getChild','removeMarker:revision-suggestion','createPositionBefore','hasClass','push','resolve','ck-suggestion-marker-','_makeTape','model','view','nextSibling','5514UeHCLX','toModel','updatePosition','isAddSuggestion','getClientRects','high','202080CtmxuE','attributes','addRoot','conversion','unshift','markerToHighlight','revision-viewer','555135QcuHlD','11NsxUrr','_getViewObj','downcastDispatcher','level','toViewPosition','numberOfChanges','element:pre','POSITIVE_INFINITY','_refreshStartEndIndex','string','removeMarker','ck-suggestion-preview-marker','merge','mapper','reconvertMarker','restoreRevisionCallback','revision-start','domEvent','text','removeMarker:revision','startIndex','addRevision','_setChanges','isBlock','isInline','selection','observeMarkers','_getViewForChange','RevisionsRepository','getWalker','mapViewToDom','change','ck-revision-history-root--active','_cleanUp','isAfter','loadRevisionData','getRoot','object','locale','execute','detachRoot','toViewRange','revisionHistoryLabel','highest','markerToData','addClass','_findChangeIdFromDomTarget','test','addMarker:revision-suggestion:insertion','left','split','document','insertions','config','catch','startsWith','getRootNames','init','isIncorrect','ck-suggestion-marker-split','isBefore','markersStart','markersEnd','span','vid','revision:','refresh','getDomRoot','_markMarkers','1421muEZzL','_balloon','_setConversion','revisionHistory','endIndex','attributesAfter','forward','values','nodeAfter','deletions','stop','find','processor','addHighlight','oldRevisionId','distance','showNextChange','top','parse','getIndex','activeView','isRemoveSuggestion','revision-suggestion','forEach','ck-suggestion-marker-merge','attributesBefore','useFillerType','isAtStart','attachChange','_makeModelFromViewString','diff','clear','removeAttribute','ck-suggestion-marker','53110EVyWnB','name','112644EPDJEF','modelRange','pluginName','markerRange','_activeViewTarget','_sortAndFilterDiffChanges','set','delete'];_0x4ec8=function(){return _0x481968;};return _0x4ec8();}import{default as _0x2e5c80}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x1910dd}from'lodash-es';const tt={'c':_0x4b9bb0,'a':_0x1d6e33,'e':_0x53ae17,'r':_0x574bb8,'u':_0x456268};export default class d extends _0x207c06{static get[_0x3b63d1(0x30b)](){const _0x67013=_0x3b63d1;return _0x67013(0x204);}static get[_0x3b63d1(0x271)](){return[_0x5b8b1c,_0x3ca3a0,_0x509a5a];}constructor(_0xd515cb){const _0x2f779f=_0x3b63d1;super(_0xd515cb),this[_0x2f779f(0x312)]=this[_0x2f779f(0x205)][_0x2f779f(0x266)][_0x2f779f(0x20d)](_0x2f779f(0x2bc)),this[_0x2f779f(0x30f)](_0x2f779f(0x31d),null),this[_0x2f779f(0x30f)](_0x2f779f(0x2f9),null),this[_0x2f779f(0x30d)]=null,this[_0x2f779f(0x30f)](_0x2f779f(0x303),null),this[_0x2f779f(0x30f)](_0x2f779f(0x202),!0x1),this[_0x2f779f(0x30f)](_0x2f779f(0x285),!0x0),this['on'](_0x2f779f(0x1f1),(_0x427c03,_0x39642b,_0x1e900a)=>{const _0x140bed=_0x2f779f;this[_0x140bed(0x31d)]=null,this[_0x140bed(0x2f9)]=null,this[_0x140bed(0x205)][_0x140bed(0x1ef)][_0x140bed(0x290)][_0x140bed(0x2bf)](_0x59976c=>{const _0x4e5c4f=_0x140bed;for(const _0x8ddcbc of this[_0x4e5c4f(0x205)][_0x4e5c4f(0x1ef)][_0x4e5c4f(0x290)][_0x4e5c4f(0x2d3)][_0x4e5c4f(0x283)])_0x1e900a?_0x59976c[_0x4e5c4f(0x323)](_0x4e5c4f(0x273),_0x8ddcbc):_0x59976c[_0x4e5c4f(0x2cd)](_0x4e5c4f(0x273),_0x8ddcbc);});}),this[_0x2f779f(0x23f)](_0x2f779f(0x213))['to'](this,_0x2f779f(0x31d),_0x165492=>null!==_0x165492),this[_0x2f779f(0x23f)](_0x2f779f(0x234))['to'](this,_0x2f779f(0x202),this,_0x2f779f(0x303),this,_0x2f779f(0x31d),(_0x5912b6,_0xa230f0,_0x5bcd46)=>_0x5912b6&&_0x5bcd46?_0xa230f0[_0x2f779f(0x281)][_0x2f779f(0x2f8)](_0x5bcd46):0x0),this[_0x2f779f(0x23f)](_0x2f779f(0x2a5))['to'](this,_0x2f779f(0x202),this,_0x2f779f(0x303),(_0x22aa0a,_0x3d8755)=>_0x22aa0a?_0x3d8755[_0x2f779f(0x281)][_0x2f779f(0x1f6)]:0x0),this[_0x2f779f(0x250)]=null,this[_0x2f779f(0x249)]=new Map(),this[_0x2f779f(0x259)]=null,this[_0x2f779f(0x2e6)]=this[_0x2f779f(0x205)][_0x2f779f(0x266)][_0x2f779f(0x20d)](_0x3ca3a0);}[_0x3b63d1(0x2d9)](){const _0x3488bf=_0x3b63d1,_0x396032=this[_0x3488bf(0x205)],_0x3a0f40=new ShowChangeCommand(_0x396032,{'direction':_0x3488bf(0x24e)}),_0x5f03c5=new ShowChangeCommand(_0x396032,{'direction':_0x3488bf(0x2eb)});(_0x396032[_0x3488bf(0x25c)][_0x3488bf(0x245)](_0x3488bf(0x260),_0x3a0f40),_0x396032[_0x3488bf(0x25c)][_0x3488bf(0x245)](_0x3488bf(0x2f5),_0x5f03c5),_0x396032[_0x3488bf(0x25c)][_0x3488bf(0x245)](_0x3488bf(0x329),new RestoreRevisionCommand(_0x396032)),this['on'](_0x3488bf(0x1f0),()=>{const _0x18b6ee=_0x3488bf;_0x3a0f40[_0x18b6ee(0x2e2)](),_0x5f03c5[_0x18b6ee(0x2e2)]();}),this[_0x3488bf(0x2e7)](),this[_0x3488bf(0x22b)](),_0x396032[_0x3488bf(0x237)](_0x3488bf(0x29e)),_0x396032[_0x3488bf(0x266)][_0x3488bf(0x319)](_0x3488bf(0x321)))&&_0x396032[_0x3488bf(0x266)][_0x3488bf(0x20d)](_0x3488bf(0x321))[_0x3488bf(0x24a)](_0x3488bf(0x29e));}async[_0x3b63d1(0x257)](_0x2a01c9){const _0x1a9307=_0x3b63d1;await this[_0x1a9307(0x2c3)](_0x2a01c9);const _0x595e1b={};for(const _0x3b25a4 in _0x2a01c9[_0x1a9307(0x227)]){if(_0x2a01c9[_0x1a9307(0x227)][_0x3b25a4][_0x1a9307(0x301)]&&!_0x2a01c9[_0x1a9307(0x227)][_0x3b25a4][_0x1a9307(0x301)][_0x1a9307(0x251)])continue;const _0x52741c=this[_0x1a9307(0x20b)](JSON[_0x1a9307(0x2f7)](_0x2a01c9[_0x1a9307(0x227)][_0x3b25a4][_0x1a9307(0x2d4)])),_0x1d2ac1=this[_0x1a9307(0x205)][_0x1a9307(0x1ef)][_0x1a9307(0x290)][_0x1a9307(0x2d3)],_0x11c9f0=new _0x238706(_0x1d2ac1,_0x52741c[_0x1a9307(0x1ee)](_0x14389f=>this[_0x1a9307(0x2a1)](_0x14389f)));this[_0x1a9307(0x205)][_0x1a9307(0x254)][_0x1a9307(0x2f1)][_0x1a9307(0x2ff)](_0x1a9307(0x208)),_0x595e1b[_0x3b25a4]=this[_0x1a9307(0x205)][_0x1a9307(0x254)][_0x1a9307(0x2f1)][_0x1a9307(0x268)](_0x11c9f0),this[_0x1a9307(0x205)][_0x1a9307(0x254)][_0x1a9307(0x2f1)][_0x1a9307(0x2ff)](_0x1a9307(0x1e4));}return _0x595e1b;}async[_0x3b63d1(0x22e)](_0xc077f5){const _0x53fc43=_0x3b63d1;await this[_0x53fc43(0x2c3)](_0xc077f5);const _0x34d457={};for(const _0xb3aa82 in _0xc077f5[_0x53fc43(0x227)])_0xc077f5[_0x53fc43(0x227)][_0xb3aa82][_0x53fc43(0x301)]&&!_0xc077f5[_0x53fc43(0x227)][_0xb3aa82][_0x53fc43(0x301)][_0x53fc43(0x251)]||(_0x34d457[_0xb3aa82]=_0xc077f5[_0x53fc43(0x227)][_0xb3aa82][_0x53fc43(0x2ea)]||{});return _0x34d457;}[_0x3b63d1(0x20b)](_0x1cf7b8){const _0x4d7e36=_0x3b63d1;return(_0x1cf7b8=_0x1cf7b8[_0x4d7e36(0x1fc)](_0x1bc34e=>!_0x1bc34e[_0x4d7e36(0x308)]||_0x4d7e36(0x2b0)!==_0x1bc34e[_0x4d7e36(0x308)]&&_0x4d7e36(0x22a)!==_0x1bc34e[_0x4d7e36(0x308)]))[_0x4d7e36(0x2fc)](_0x42671c=>{const _0x7c997=_0x4d7e36;_0x7c997(0x2a9)!=typeof _0x42671c&&(_0x42671c[_0x7c997(0x1fd)]=this[_0x7c997(0x20b)](_0x42671c[_0x7c997(0x1fd)]),_0x42671c[_0x7c997(0x299)]=_0x42671c[_0x7c997(0x299)][_0x7c997(0x1fc)](_0x2a3f3d=>!_0x2a3f3d[0x0][_0x7c997(0x2d7)](_0x7c997(0x313))));}),_0x1cf7b8;}async[_0x3b63d1(0x26f)](_0x329ba0,_0x59ad1c,_0x2f8fbc=!0x1){const _0x2df31a=_0x3b63d1;if(!this[_0x2df31a(0x285)])return;const _0x14e3f9=this[_0x2df31a(0x303)],_0x465fde=this[_0x2df31a(0x312)],_0x561b99=_0x2df31a(0x2a9)==typeof _0x329ba0?_0x465fde[_0x2df31a(0x209)](_0x329ba0):_0x329ba0,_0x2e3af8=_0x2df31a(0x2a9)==typeof _0x59ad1c?_0x465fde[_0x2df31a(0x209)](_0x59ad1c):_0x59ad1c,_0x136785=_0x561b99['id'],_0x356737=_0x2e3af8?_0x2e3af8['id']:null;if(!_0x2f8fbc&&this[_0x2df31a(0x303)]&&this[_0x2df31a(0x303)][_0x2df31a(0x24c)]===_0x136785&&this[_0x2df31a(0x303)][_0x2df31a(0x2f3)]===_0x356737)return Promise[_0x2df31a(0x28c)]();this[_0x2df31a(0x202)]=!0x1,this[_0x2df31a(0x2f9)]=null,this[_0x2df31a(0x31d)]=null,this[_0x2df31a(0x303)]=new _0x2e5c80(_0x136785,_0x356737);const _0x49727d=this[_0x2df31a(0x200)](_0x561b99,_0x2e3af8,!0x0)[_0x2df31a(0x1ee)](_0x242f1a=>this[_0x2df31a(0x2c3)](_0x242f1a));return _0x49727d[_0x2df31a(0x28b)](new Promise(_0x46e102=>{setTimeout(_0x46e102,0x14);})),Promise[_0x2df31a(0x318)](_0x49727d)[_0x2df31a(0x274)](()=>{const _0x5a6d41=_0x2df31a;if(!this[_0x5a6d41(0x285)])return;this[_0x5a6d41(0x2c1)]();const _0x2fecfa=this[_0x5a6d41(0x217)](_0x136785,_0x356737);for(const _0xaf7cbf of _0x2fecfa[_0x5a6d41(0x281)])this[_0x5a6d41(0x249)][_0x5a6d41(0x30f)](_0xaf7cbf['id'],_0xaf7cbf);this[_0x5a6d41(0x205)][_0x5a6d41(0x28f)][_0x5a6d41(0x311)]({'isUndoable':!0x1},_0x35a878=>{const _0x54cc61=_0x5a6d41;for(const _0x1a30ee of this[_0x54cc61(0x205)][_0x54cc61(0x28f)][_0x54cc61(0x2d3)][_0x54cc61(0x2d8)]())_0x35a878[_0x54cc61(0x2c8)](_0x1a30ee);for(const _0x209399 of Object[_0x54cc61(0x1f2)](_0x2fecfa[_0x54cc61(0x28f)])){const _0x24bcd7=_0x35a878[_0x54cc61(0x29a)](_0x209399);for(const _0x1098a0 of Object[_0x54cc61(0x1f2)](_0x2fecfa[_0x54cc61(0x299)][_0x209399]))_0x35a878[_0x54cc61(0x25a)](_0x1098a0,_0x2fecfa[_0x54cc61(0x299)][_0x209399][_0x1098a0],_0x24bcd7);_0x35a878[_0x54cc61(0x1ed)](_0x2fecfa[_0x54cc61(0x28f)][_0x209399],_0x24bcd7,0x0);}}),this[_0x5a6d41(0x303)][_0x5a6d41(0x2b6)](this[_0x5a6d41(0x30e)](_0x2fecfa[_0x5a6d41(0x281)])),this[_0x5a6d41(0x202)]=!0x0;})[_0x2df31a(0x2d6)](_0x2e53e2=>{const _0x361480=_0x2df31a;console[_0x361480(0x233)](_0x2e53e2),this[_0x361480(0x2c1)](),_0x14e3f9&&(this[_0x361480(0x303)]=_0x14e3f9),this[_0x361480(0x202)]=!0x0;});}[_0x3b63d1(0x24f)](_0x42f3b1,_0x1453c5){const _0xcb2736=_0x3b63d1,_0x13117c=this[_0xcb2736(0x312)][_0xcb2736(0x221)](_0x42f3b1);return _0x13117c['on'](_0xcb2736(0x277),(_0x2ed204,_0x4d5b16,_0x36afd7)=>_0x1453c5(_0x4d5b16,_0x36afd7,_0x13117c)),this[_0xcb2736(0x312)][_0xcb2736(0x2b5)](_0x13117c),_0x13117c;}[_0x3b63d1(0x2c3)](_0x17e3a4){const _0x3e725e=_0x3b63d1;if(!_0x17e3a4||_0x17e3a4[_0x3e725e(0x227)])return Promise[_0x3e725e(0x28c)]();{const _0x42d5d7=this[_0x3e725e(0x205)][_0x3e725e(0x2d5)][_0x3e725e(0x20d)](_0x3e725e(0x22d));return this[_0x3e725e(0x259)][_0x3e725e(0x209)]({'channelId':_0x42d5d7,'revisionId':_0x17e3a4['id']})[_0x3e725e(0x274)](_0x1cd1b2=>{const _0x6a14e0=_0x3e725e;_0x17e3a4[_0x6a14e0(0x277)]({'diffData':_0x1cd1b2[_0x6a14e0(0x227)]},!0x0);});}}[_0x3b63d1(0x2c1)](){const _0x52746f=_0x3b63d1;this[_0x52746f(0x31d)]=null,this[_0x52746f(0x325)](),this[_0x52746f(0x250)]&&this[_0x52746f(0x250)][_0x52746f(0x27c)](),this[_0x52746f(0x250)]=null,this[_0x52746f(0x249)][_0x52746f(0x304)](),this[_0x52746f(0x205)][_0x52746f(0x28f)][_0x52746f(0x311)]({'isUndoable':!0x1},_0x12d3c2=>{const _0xe63af2=_0x52746f;for(const _0x1752a0 of this[_0xe63af2(0x205)][_0xe63af2(0x28f)][_0xe63af2(0x2d3)][_0xe63af2(0x2d8)]())_0x12d3c2[_0xe63af2(0x2c8)](_0x1752a0);});}[_0x3b63d1(0x30e)](_0x46f0a6){const _0x3ad226=_0x3b63d1,_0x19ee11=[],_0x446d01=new Map();for(const _0x36d1c1 of this[_0x3ad226(0x205)][_0x3ad226(0x28f)][_0x3ad226(0x2d3)][_0x3ad226(0x2d8)]()){const _0x2d20a4=this[_0x3ad226(0x205)][_0x3ad226(0x1ef)][_0x3ad226(0x290)][_0x3ad226(0x2e3)](_0x36d1c1);if(!_0x2d20a4)continue;const _0x3c11ab=_0x2d20a4[_0x3ad226(0x296)]()[_0x3ad226(0x1f8)](0x0);_0x3c11ab&&(_0x19ee11[_0x3ad226(0x28b)](_0x36d1c1),_0x446d01[_0x3ad226(0x30f)](_0x36d1c1,_0x3c11ab));}return _0x19ee11[_0x3ad226(0x1e2)]((_0x340940,_0x37f2bf)=>{const _0x5700ea=_0x3ad226,_0x13aa24=_0x446d01[_0x5700ea(0x20d)](_0x340940),_0x5c1ddc=_0x446d01[_0x5700ea(0x20d)](_0x37f2bf);return _0x13aa24['y']-_0x5c1ddc['y']||_0x13aa24['x']-_0x5c1ddc['x'];}),(_0x46f0a6=_0x46f0a6[_0x3ad226(0x1fc)](_0x43085c=>_0x19ee11[_0x3ad226(0x24d)](_0x43085c[_0x3ad226(0x1f4)])))[_0x3ad226(0x1e2)]((_0x3b718b,_0x4d7972)=>_0x19ee11[_0x3ad226(0x222)](_0x3b718b[_0x3ad226(0x1f4)])-_0x19ee11[_0x3ad226(0x222)](_0x4d7972[_0x3ad226(0x1f4)])),_0x46f0a6;}[_0x3b63d1(0x28e)](_0x1f3f06){const _0x125070=_0x3b63d1,_0x3ecfe2=Array[_0x125070(0x207)](_0x1f3f06[_0x125070(0x31c)])[_0x125070(0x1fc)](([_0x1553ad,_0x406fb9])=>_0x1553ad[_0x125070(0x2d7)](_0x125070(0x2e1))&&!_0x406fb9[_0x125070(0x26a)]),_0x57ff69=Array[_0x125070(0x207)](this[_0x125070(0x205)][_0x125070(0x28f)][_0x125070(0x232)](_0x1f3f06)[_0x125070(0x2bd)]({'singleCharacters':!0x0}));if(0x0!=_0x3ecfe2[_0x125070(0x1f6)])for(const _0x495672 of _0x57ff69){const [_0x16b9cf,_0x3875d1]=_0x3ecfe2[0x0],[,_0x3b27fb,_0x1ee2a2]=_0x16b9cf[_0x125070(0x2d2)](':');if(_0x3875d1[_0x125070(0x20a)][_0x125070(0x1e7)](_0x495672[_0x125070(0x269)])&&_0x3ecfe2[_0x125070(0x24b)](),(_0x495672[_0x125070(0x1eb)][_0x125070(0x1e7)](_0x3875d1[_0x125070(0x262)])||_0x495672[_0x125070(0x1eb)][_0x125070(0x2c2)](_0x3875d1[_0x125070(0x262)]))&&(_0x125070(0x23c)==_0x3b27fb?_0x495672[_0x125070(0x228)]={'userId':_0x1ee2a2}:_0x125070(0x326)==_0x3b27fb&&(_0x495672[_0x125070(0x267)]={'userId':_0x1ee2a2})),0x0==_0x3ecfe2[_0x125070(0x1f6)])break;}return _0x57ff69;}[_0x3b63d1(0x2a8)](_0x456295){const _0x56cd15=_0x3b63d1,_0x353fec=new Map();for(let _0x539e18=0x0;_0x539e18<_0x456295[_0x56cd15(0x1f6)];_0x539e18++)_0x56cd15(0x2b2)===_0x456295[_0x539e18][_0x56cd15(0x1fa)]?(_0x456295[_0x539e18][_0x56cd15(0x1f8)][_0x56cd15(0x2b4)]=_0x539e18,_0x456295[_0x539e18][_0x56cd15(0x1f8)][_0x56cd15(0x2e9)]=_0x539e18):(_0x56cd15(0x25b)===_0x456295[_0x539e18][_0x56cd15(0x1fa)]?_0x456295[_0x539e18][_0x56cd15(0x1f8)][_0x56cd15(0x2b4)]=_0x539e18:_0x56cd15(0x1f9)===_0x456295[_0x539e18][_0x56cd15(0x1fa)]&&(_0x456295[_0x539e18][_0x56cd15(0x1f8)][_0x56cd15(0x2e9)]=_0x539e18),_0x353fec[_0x56cd15(0x30f)](_0x456295[_0x539e18]['id'],_0x539e18));for(const _0x26e7ff of _0x353fec[_0x56cd15(0x2ec)]())_0x56cd15(0x25b)===_0x456295[_0x26e7ff][_0x56cd15(0x1fa)]?_0x456295[_0x26e7ff][_0x56cd15(0x1f8)][_0x56cd15(0x2e9)]=_0x353fec[_0x56cd15(0x20d)](_0x456295[_0x26e7ff][_0x56cd15(0x248)]):_0x56cd15(0x1f9)===_0x456295[_0x26e7ff][_0x56cd15(0x1fa)]&&(_0x456295[_0x26e7ff][_0x56cd15(0x1f8)][_0x56cd15(0x2b4)]=_0x353fec[_0x56cd15(0x20d)](_0x456295[_0x26e7ff][_0x56cd15(0x248)]));}[_0x3b63d1(0x256)](_0x280a9a){const _0x1cb6f8=_0x3b63d1;for(let _0x496383=0x0;_0x496383<_0x280a9a[_0x1cb6f8(0x1f6)];_0x496383++){if(_0x1cb6f8(0x25b)===_0x280a9a[_0x496383][_0x1cb6f8(0x1fa)])_0x280a9a[_0x496383][_0x1cb6f8(0x1f8)][_0x1cb6f8(0x2b4)]=_0x496383;else{if(_0x1cb6f8(0x1f9)===_0x280a9a[_0x496383][_0x1cb6f8(0x1fa)]){_0x280a9a[_0x496383][_0x1cb6f8(0x1f8)][_0x1cb6f8(0x2e9)]=_0x496383;const _0xc5e4f4=_0x280a9a[_0x496383][_0x1cb6f8(0x1f8)][_0x1cb6f8(0x2b4)];_0x280a9a[_0xc5e4f4][_0x1cb6f8(0x248)]=_0x280a9a[_0x496383]['id'],_0x280a9a[_0x496383][_0x1cb6f8(0x248)]=_0x280a9a[_0xc5e4f4]['id'];}else _0x280a9a[_0x496383][_0x1cb6f8(0x1f8)][_0x1cb6f8(0x2b4)]=_0x496383,_0x280a9a[_0x496383][_0x1cb6f8(0x1f8)][_0x1cb6f8(0x2e9)]=_0x496383,_0x280a9a[_0x496383][_0x1cb6f8(0x248)]=null;}_0x280a9a[_0x496383][_0x1cb6f8(0x2dd)]||(_0x280a9a[_0x496383][_0x1cb6f8(0x2dd)]=[],_0x280a9a[_0x496383][_0x1cb6f8(0x2de)]=[]);}}[_0x3b63d1(0x27a)](_0x5370cf,_0x148b96){const _0x4b7e2b=_0x3b63d1,_0x177ae9=_0x5370cf[_0x4b7e2b(0x1fc)](_0x1adfb6=>!_0x1adfb6[_0x4b7e2b(0x228)]);for(let _0x4d7bf6=0x0;_0x4d7bf6<_0x148b96[_0x4b7e2b(0x1f6)];_0x4d7bf6++)_0x148b96[_0x4d7bf6][_0x4b7e2b(0x228)]&&(_0x177ae9[_0x4d7bf6][_0x4b7e2b(0x228)]=_0x148b96[_0x4d7bf6][_0x4b7e2b(0x228)]);}[_0x3b63d1(0x302)](_0x4c4fe8){const _0x19b0da=_0x3b63d1,_0x23da45=JSON[_0x19b0da(0x2f7)](_0x4c4fe8),_0x467c4f=this[_0x19b0da(0x205)][_0x19b0da(0x1ef)][_0x19b0da(0x290)][_0x19b0da(0x2d3)],_0x1b9806=new _0x238706(_0x467c4f,_0x23da45[_0x19b0da(0x1ee)](_0x154136=>this[_0x19b0da(0x2a1)](_0x154136)));return this[_0x19b0da(0x205)][_0x19b0da(0x254)][_0x19b0da(0x293)](_0x1b9806);}[_0x3b63d1(0x2a1)](_0x3d92f5){const _0x3849fe=_0x3b63d1,_0x49c2f7=this[_0x3849fe(0x205)][_0x3849fe(0x1ef)][_0x3849fe(0x290)][_0x3849fe(0x2d3)];if(_0x3849fe(0x2a9)==typeof _0x3d92f5)return new _0xdc5112(_0x49c2f7,_0x3d92f5);{const _0x2b39f7=_0x3d92f5[_0x3849fe(0x1fd)][_0x3849fe(0x1ee)](_0x568ba1=>this[_0x3849fe(0x2a1)](_0x568ba1));return new(tt[_0x3d92f5[(_0x3849fe(0x1fa))]]||_0x5105f6)(_0x49c2f7,_0x3d92f5[_0x3849fe(0x308)],_0x3d92f5[_0x3849fe(0x299)],_0x2b39f7);}}[_0x3b63d1(0x217)](_0x32578e,_0x1d41d9=null){const _0x3f6412=_0x3b63d1,_0x371e50=this[_0x3f6412(0x312)][_0x3f6412(0x209)](_0x32578e),_0x143a21=_0x1d41d9?this[_0x3f6412(0x312)][_0x3f6412(0x209)](_0x1d41d9):null,_0x4f6a46=this[_0x3f6412(0x200)](_0x371e50,_0x143a21),_0x48e6e4=_0x4f6a46[_0x4f6a46[_0x3f6412(0x1f6)]-0x1],_0x387bc8=new Map(),_0x2cefc9={'model':{},'attributes':{},'changes':[]},_0x533856=new Set(),_0x2d3f94=new Map();for(let _0x4d082c=_0x4f6a46[_0x3f6412(0x1f6)]-0x1;_0x4d082c>=0x0;_0x4d082c--){const _0x4eba8b=_0x4f6a46[_0x4d082c];for(const _0x3983e1 of Object[_0x3f6412(0x1f2)](_0x4eba8b[_0x3f6412(0x227)]))if(_0x4eba8b[_0x3f6412(0x227)][_0x3983e1][_0x3f6412(0x301)]){const _0x9a3760=_0x4eba8b[_0x3f6412(0x227)][_0x3983e1][_0x3f6412(0x301)];_0x9a3760[_0x3f6412(0x251)]?(_0x533856[_0x3f6412(0x245)](_0x3983e1),_0x2d3f94[_0x3f6412(0x319)](_0x3983e1)&&_0x2d3f94[_0x3f6412(0x20d)](_0x3983e1)[_0x3f6412(0x31b)]==_0x9a3760[_0x3f6412(0x31b)]?_0x2d3f94[_0x3f6412(0x310)](_0x3983e1):_0x2d3f94[_0x3f6412(0x30f)](_0x3983e1,_0x9a3760)):_0x2d3f94[_0x3f6412(0x319)](_0x3983e1)?(_0x533856[_0x3f6412(0x310)](_0x3983e1),_0x2d3f94[_0x3f6412(0x310)](_0x3983e1)):(_0x533856[_0x3f6412(0x245)](_0x3983e1),_0x2d3f94[_0x3f6412(0x30f)](_0x3983e1,_0x9a3760));}else _0x533856[_0x3f6412(0x245)](_0x3983e1);}for(const _0x4ec53d of _0x533856){const _0x2ab400=_0x2d3f94[_0x3f6412(0x319)](_0x4ec53d)&&!_0x2d3f94[_0x3f6412(0x20d)](_0x4ec53d)[_0x3f6412(0x251)];let _0x40ff40=_0x2ab400?_0x4f6a46[_0x3f6412(0x1f6)]-0x1:0x0;const _0x3ad56b=_0x2ab400?-0x1:0x1;for(;_0x4f6a46[_0x40ff40];){const _0x48d451=_0x4f6a46[_0x40ff40];if(_0x48d451[_0x3f6412(0x227)][_0x4ec53d]){const _0x44dd3d=_0x2ab400?_0x48d451[_0x3f6412(0x227)][_0x4ec53d][_0x3f6412(0x2fe)]:_0x48d451[_0x3f6412(0x227)][_0x4ec53d][_0x3f6412(0x2ea)];_0x2cefc9[_0x3f6412(0x299)][_0x4ec53d]=_0x44dd3d?_0x1910dd(_0x44dd3d):{};break;}_0x40ff40+=_0x3ad56b;}}for(const _0x30741b of _0x4f6a46){_0x30741b[_0x3f6412(0x28f)]={};for(const _0x5cb82c of _0x30741b[_0x3f6412(0x20e)])_0x387bc8[_0x3f6412(0x30f)](_0x5cb82c['id'],_0x5cb82c);for(const _0x4fc159 of _0x533856){const _0x1d6e1f=_0x30741b[_0x3f6412(0x227)][_0x4fc159]?_0x30741b[_0x3f6412(0x227)][_0x4fc159][_0x3f6412(0x2d4)]:'[]',_0x5c793d=_0x30741b[_0x3f6412(0x227)][_0x4fc159]?_0x30741b[_0x3f6412(0x227)][_0x4fc159][_0x3f6412(0x2ee)]:'[]';_0x30741b[_0x3f6412(0x28f)][_0x4fc159]={'insertions':this[_0x3f6412(0x302)](_0x1d6e1f),'deletions':this[_0x3f6412(0x302)](_0x5c793d)};}}for(const _0x2a0a30 of _0x533856){let _0x53d34b=null,_0x9d992c=0x0;const _0x5c9a34=new Map(Array[_0x3f6412(0x207)](_0x371e50[_0x3f6412(0x28f)][_0x2a0a30][_0x3f6412(0x2d4)][_0x3f6412(0x31c)])[_0x3f6412(0x1fc)](([_0x5eb2ac])=>!_0x5eb2ac[_0x3f6412(0x2d7)](_0x3f6412(0x2e1))));let _0x142170=0x0;for(const _0x12e563 of _0x4f6a46){const _0x504158=this[_0x3f6412(0x28e)](_0x12e563[_0x3f6412(0x28f)][_0x2a0a30][_0x3f6412(0x2d4)]);_0x12e563==_0x371e50?(_0x53d34b=_0x504158,_0x9d992c=_0x53d34b[_0x3f6412(0x1f6)],_0x53d34b[_0x3f6412(0x2fc)](_0x67d6ac=>{_0x67d6ac['id']=_0x142170++;}),this[_0x3f6412(0x256)](_0x53d34b)):this[_0x3f6412(0x27a)](_0x53d34b,_0x504158);const _0x437905=_0x53d34b[_0x3f6412(0x1fc)](_0x518464=>!_0x518464[_0x3f6412(0x228)])[_0x3f6412(0x1ee)](_0x1834b0=>_0x1834b0['id']);let _0x4fe8ef=0x0;const _0x5de1d7=this[_0x3f6412(0x28e)](_0x12e563[_0x3f6412(0x28f)][_0x2a0a30][_0x3f6412(0x2ee)]);_0x5de1d7[_0x3f6412(0x2fc)](_0x2e0eec=>{const _0x331f60=_0x3f6412;_0x2e0eec[_0x331f60(0x267)]?_0x2e0eec['id']=_0x9d992c++:_0x2e0eec['id']=_0x437905[_0x4fe8ef++];}),this[_0x3f6412(0x256)](_0x5de1d7),this[_0x3f6412(0x225)](_0x53d34b,_0x3f6412(0x228)),this[_0x3f6412(0x225)](_0x5de1d7,_0x3f6412(0x267)),_0x12e563==_0x371e50&&this[_0x3f6412(0x2e4)](_0x53d34b,_0x5c9a34),_0x53d34b=this[_0x3f6412(0x261)](_0x53d34b,_0x5de1d7),this[_0x3f6412(0x2a8)](_0x53d34b),this[_0x3f6412(0x225)](_0x53d34b,_0x3f6412(0x267));}_0x53d34b=_0x53d34b[_0x3f6412(0x1fc)](_0x339ef6=>!(_0x339ef6[_0x3f6412(0x228)]&&_0x339ef6[_0x3f6412(0x267)]));const _0x58bfbe=new Map(_0x48e6e4[_0x3f6412(0x28f)][_0x2a0a30][_0x3f6412(0x2ee)][_0x3f6412(0x31c)]),_0x5b6f0e=new Set(_0x5c9a34[_0x3f6412(0x1f2)]());for(const _0x32c01b of _0x58bfbe[_0x3f6412(0x1f2)]())_0x5b6f0e[_0x3f6412(0x310)](_0x32c01b);this[_0x3f6412(0x220)](_0x53d34b,_0x5b6f0e),this[_0x3f6412(0x206)](_0x53d34b),_0x53d34b=this[_0x3f6412(0x22c)](_0x53d34b),_0x53d34b=this[_0x3f6412(0x279)](_0x53d34b),_0x53d34b=this[_0x3f6412(0x31a)](_0x53d34b);const {root:_0x5479b6,changes:_0x21eb01}=this[_0x3f6412(0x218)](_0x53d34b,_0x387bc8,_0x2a0a30);_0x2cefc9[_0x3f6412(0x28f)][_0x2a0a30]=_0x5479b6;const _0x40b436=_0x2d3f94[_0x3f6412(0x20d)](_0x2a0a30);if(_0x40b436){const _0x292143=_0x387bc8[_0x3f6412(0x20d)](_0x40b436[_0x3f6412(0x31b)]),_0x1e342d=new _0x192ffa({'author':_0x292143,'type':_0x40b436[_0x3f6412(0x251)]?_0x3f6412(0x245):_0x3f6412(0x212),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2a0a30});_0x21eb01[_0x3f6412(0x29c)](_0x1e342d),_0x2cefc9[_0x3f6412(0x299)][_0x2a0a30][_0x3f6412(0x276)]=_0x1e342d['id'];}_0x2cefc9[_0x3f6412(0x281)]=_0x2cefc9[_0x3f6412(0x281)][_0x3f6412(0x21f)](_0x21eb01);}return _0x2cefc9;}[_0x3b63d1(0x2e4)](_0x2d7d45,_0x1eef4e){const _0x3ec5c5=_0x3b63d1;for(let _0x384657=0x0;_0x384657<_0x2d7d45[_0x3ec5c5(0x1f6)];_0x384657++)for(const [_0x577c5b,_0x42e519]of _0x1eef4e)_0x42e519[_0x3ec5c5(0x262)][_0x3ec5c5(0x1e7)](_0x2d7d45[_0x384657][_0x3ec5c5(0x1eb)])&&_0x2d7d45[_0x384657][_0x3ec5c5(0x2dd)][_0x3ec5c5(0x28b)](_0x577c5b),_0x42e519[_0x3ec5c5(0x20a)][_0x3ec5c5(0x1e7)](_0x2d7d45[_0x384657][_0x3ec5c5(0x269)])&&_0x2d7d45[_0x384657][_0x3ec5c5(0x2de)][_0x3ec5c5(0x28b)](_0x577c5b);}[_0x3b63d1(0x261)](_0x5bcb13,_0x2064fb){const _0x9f6d6b=_0x3b63d1;let _0x7c3b2c=[],_0x17714c=0x0,_0x28d8fa=0x0;for(;_0x17714c<_0x5bcb13[_0x9f6d6b(0x1f6)]||_0x28d8fa<_0x2064fb[_0x9f6d6b(0x1f6)];){const _0x28925b=_0x5bcb13[_0x17714c]||{},_0x11d5f7=_0x2064fb[_0x28d8fa]||{};if(_0x28925b['id']==_0x11d5f7['id'])_0x17714c++,_0x28d8fa++,_0x7c3b2c[_0x9f6d6b(0x28b)](_0x28925b);else{if(_0x11d5f7[_0x9f6d6b(0x267)]&&_0x28925b[_0x9f6d6b(0x228)]){const {commonTape:_0x452d74,iEnd:_0x5ef581,jEnd:_0x2488ac}=this[_0x9f6d6b(0x22f)](_0x5bcb13,_0x17714c,_0x2064fb,_0x28d8fa);_0x7c3b2c=_0x7c3b2c[_0x9f6d6b(0x21f)](_0x452d74),_0x17714c=_0x5ef581,_0x28d8fa=_0x2488ac;}else _0x11d5f7[_0x9f6d6b(0x267)]?(_0x28d8fa++,_0x7c3b2c[_0x9f6d6b(0x28b)](_0x11d5f7)):(_0x17714c++,_0x7c3b2c[_0x9f6d6b(0x28b)](_0x28925b));}}return _0x7c3b2c;}[_0x3b63d1(0x220)](_0x584fb8,_0x247d1f){const _0x314693=_0x3b63d1,_0x4c7544=[];for(let _0x32f3a2=0x0;_0x32f3a2<_0x584fb8[_0x314693(0x1f6)];_0x32f3a2++){for(let _0x130515=0x0;_0x130515<_0x584fb8[_0x32f3a2][_0x314693(0x2dd)][_0x314693(0x1f6)];_0x130515++){const _0x51fa18=_0x584fb8[_0x32f3a2][_0x314693(0x2dd)][_0x130515];if(!_0x247d1f[_0x314693(0x319)](_0x51fa18))continue;const {group:_0x540af0,type:_0x190af1,authorId:_0x3a7d52}=_0x4c3d77(_0x51fa18);_0x314693(0x2fb)!=_0x540af0||_0x314693(0x23c)!=_0x190af1&&_0x314693(0x326)!=_0x190af1||(_0x4c7544[_0x314693(0x29c)]({'type':_0x190af1,'name':_0x51fa18,'userId':_0x3a7d52}),_0x584fb8[_0x32f3a2][_0x314693(0x2dd)][_0x314693(0x236)](_0x130515,0x1),_0x130515--);}_0x309847(_0x584fb8[_0x32f3a2]);for(let _0xb4fd0c=0x0;_0xb4fd0c<_0x584fb8[_0x32f3a2][_0x314693(0x2de)][_0x314693(0x1f6)];_0xb4fd0c++){const _0x107241=_0x584fb8[_0x32f3a2][_0x314693(0x2de)][_0xb4fd0c];if(!_0x247d1f[_0x314693(0x319)](_0x107241))continue;const {group:_0x41af79,type:_0x31b7e7}=_0x4c3d77(_0x107241);if(_0x314693(0x2fb)!=_0x41af79||_0x314693(0x23c)!=_0x31b7e7&&_0x314693(0x326)!=_0x31b7e7)continue;_0x584fb8[_0x32f3a2][_0x314693(0x2de)][_0x314693(0x236)](_0xb4fd0c,0x1),_0xb4fd0c--;const _0x1cd5d4=_0x4c7544[_0x314693(0x284)](_0x35979c=>_0x35979c[_0x314693(0x308)]==_0x107241);_0x1cd5d4>-0x1&&_0x4c7544[_0x314693(0x236)](_0x1cd5d4,0x1);}}function _0x4c3d77(_0x1d3d9e){const _0x3a4293=_0x314693,_0x205956=_0x1d3d9e[_0x3a4293(0x2d2)](':');return{'group':_0x205956[0x0],'type':_0x205956[0x1],'subType':_0x205956[_0x3a4293(0x1f6)]>=0x5?_0x205956[0x2]:null,'id':_0x205956[_0x3a4293(0x1f6)]<0x5?_0x205956[0x2]:_0x205956[0x3],'authorId':_0x205956[_0x3a4293(0x1f6)]<0x5?_0x205956[0x3]:_0x205956[0x4],'markerCount':0x6==_0x205956[_0x3a4293(0x1f6)]?_0x205956[0x5]:null};}function _0x309847(_0x2a1b34){const _0x9f399d=_0x314693;for(let _0x2eafe9=0x0;_0x2eafe9<_0x4c7544[_0x9f399d(0x1f6)];_0x2eafe9++){if(_0x2a1b34[_0x9f399d(0x228)]&&_0x9f399d(0x23c)==_0x4c7544[_0x2eafe9][_0x9f399d(0x1fa)])return _0x2a1b34[_0x9f399d(0x295)]=_0x4c7544[_0x2eafe9],void delete _0x2a1b34[_0x9f399d(0x228)];if(!_0x2a1b34[_0x9f399d(0x228)]&&!_0x2a1b34[_0x9f399d(0x267)]&&_0x9f399d(0x326)==_0x4c7544[_0x2eafe9][_0x9f399d(0x1fa)])return void(_0x2a1b34[_0x9f399d(0x2fa)]=_0x4c7544[_0x2eafe9]);}}}[_0x3b63d1(0x225)](_0xec5b66,_0x54530d){const _0x8304fc=_0x3b63d1;let _0x39deb1=0x0,_0x1262f7=!0x1;const _0x287b7b=new Map();for(const _0x93ab24 of _0xec5b66)_0x93ab24[_0x54530d]?_0x1262f7&&(_0x39deb1++,_0x1262f7=!0x1):(_0x39deb1++,_0x1262f7=!0x0),_0x287b7b[_0x8304fc(0x30f)](_0x93ab24['id'],_0x39deb1);for(let _0x36076b=0x0;_0x36076b<_0xec5b66[_0x8304fc(0x1f6)];_0x36076b++){if(_0x8304fc(0x267)==_0x54530d&&_0xec5b66[_0x36076b][_0x8304fc(0x228)]||_0x8304fc(0x228)==_0x54530d&&_0xec5b66[_0x36076b][_0x8304fc(0x267)])continue;if(_0x8304fc(0x2b2)==_0xec5b66[_0x36076b][_0x8304fc(0x1fa)]){_0xec5b66[_0x36076b][_0x8304fc(0x2f4)]=0x0;continue;}const _0x323fb1=_0x287b7b[_0x8304fc(0x20d)](_0xec5b66[_0x36076b][_0x8304fc(0x248)]),_0x49642b=_0x287b7b[_0x8304fc(0x20d)](_0xec5b66[_0x36076b]['id']);_0xec5b66[_0x36076b][_0x8304fc(0x2f4)]=_0x323fb1-_0x49642b;}}[_0x3b63d1(0x200)](_0x5e1efc,_0xf7f6b6,_0x4a43cd=!0x1){const _0x595d9d=_0x3b63d1,_0x1daae3=[];let _0x16a8e3=this[_0x595d9d(0x312)][_0x595d9d(0x2f8)](_0x5e1efc),_0x3e1dd7=this[_0x595d9d(0x312)][_0x595d9d(0x2f8)](_0xf7f6b6);for(-0x1==_0x3e1dd7&&(_0x3e1dd7=this[_0x595d9d(0x312)][_0x595d9d(0x239)][_0x595d9d(0x1f6)],_0x4a43cd=!0x1);_0x16a8e3<_0x3e1dd7;)_0x1daae3[_0x595d9d(0x28b)](this[_0x595d9d(0x312)][_0x595d9d(0x209)](_0x16a8e3)),_0x16a8e3++;return _0x4a43cd&&_0x1daae3[_0x595d9d(0x28b)](this[_0x595d9d(0x312)][_0x595d9d(0x209)](_0x16a8e3)),_0x1daae3;}[_0x3b63d1(0x22f)](_0x21228a,_0x3a270a,_0x3af851,_0x2605fc){const _0xf5efa9=_0x3b63d1,_0x38ff80=this[_0xf5efa9(0x205)][_0xf5efa9(0x28f)][_0xf5efa9(0x275)];let _0x11a2bb=_0x3a270a;for(;_0x21228a[_0x11a2bb]&&_0x21228a[_0x11a2bb][_0xf5efa9(0x228)];)_0x11a2bb++;let _0x49a208=_0x2605fc;for(;_0x3af851[_0x49a208]&&_0x3af851[_0x49a208][_0xf5efa9(0x267)];)_0x49a208++;_0x1556c5(_0x21228a,_0x3a270a,_0x11a2bb),_0x1556c5(_0x3af851,_0x2605fc,_0x49a208);const _0x143a9d=_0x3af851[_0xf5efa9(0x247)](_0x2605fc,_0x49a208)[_0xf5efa9(0x21f)](_0x21228a[_0xf5efa9(0x247)](_0x3a270a,_0x11a2bb));return _0x143a9d[_0xf5efa9(0x1e2)]((_0x1f725a,_0x1f576c)=>_0x1f725a[_0xf5efa9(0x1ea)]!=_0x1f576c[_0xf5efa9(0x1ea)]?_0x1f725a[_0xf5efa9(0x1ea)]-_0x1f576c[_0xf5efa9(0x1ea)]:_0x1f725a[_0xf5efa9(0x2a3)]!=_0x1f576c[_0xf5efa9(0x2a3)]?_0x1f725a[_0xf5efa9(0x2a3)]-_0x1f576c[_0xf5efa9(0x2a3)]:_0x1f725a[_0xf5efa9(0x2f4)]!=_0x1f576c[_0xf5efa9(0x2f4)]?_0x1f576c[_0xf5efa9(0x2f4)]-_0x1f725a[_0xf5efa9(0x2f4)]:!!_0x1f725a[_0xf5efa9(0x228)]!=!!_0x1f576c[_0xf5efa9(0x228)]?-0x1==_0x1f725a[_0xf5efa9(0x1ea)]||0x0==_0x1f725a[_0xf5efa9(0x1ea)]?_0x1f725a[_0xf5efa9(0x228)]?-0x1:0x1:_0x1f725a[_0xf5efa9(0x228)]?0x1:-0x1:_0x1f725a[_0xf5efa9(0x27e)]-_0x1f576c[_0xf5efa9(0x27e)]),{'commonTape':_0x143a9d,'iEnd':_0x11a2bb,'jEnd':_0x49a208};function _0x1556c5(_0x4a6df3,_0x2f97e6,_0x5e9f4a){const _0x3f82e7=_0xf5efa9;let _0x85bac1=-0x1,_0x5bf0ba=Number[_0x3f82e7(0x2a7)],_0x31f4f5=!0x0;for(let _0x40c0c8=_0x2f97e6;_0x40c0c8<_0x5e9f4a;_0x40c0c8++)if(_0x38ff80[_0x3f82e7(0x2b8)](_0x4a6df3[_0x40c0c8][_0x3f82e7(0x1f8)])||(_0x31f4f5=!0x1),_0x4a6df3[_0x40c0c8][_0x3f82e7(0x1f8)][_0x3f82e7(0x2b4)]<_0x2f97e6&&(_0x85bac1=_0x40c0c8),_0x4a6df3[_0x40c0c8][_0x3f82e7(0x1f8)][_0x3f82e7(0x2e9)]>=_0x5e9f4a){_0x5bf0ba=_0x40c0c8;break;}_0x31f4f5&&(_0x85bac1=_0x5e9f4a-0x1);for(let _0x164dcd=_0x2f97e6;_0x164dcd<_0x5e9f4a;_0x164dcd++)_0x4a6df3[_0x164dcd][_0x3f82e7(0x1ea)]=_0x164dcd<=_0x85bac1?-0x1:_0x164dcd<_0x5bf0ba?0x0:0x1,_0x4a6df3[_0x164dcd][_0x3f82e7(0x27e)]=_0x164dcd;let _0x3f595f=0x0;for(let _0x3d8cf7=_0x2f97e6;_0x3d8cf7<=_0x85bac1;_0x3d8cf7++)0x0==_0x4a6df3[_0x3d8cf7][_0x3f82e7(0x2f4)]?_0x4a6df3[_0x3d8cf7][_0x3f82e7(0x2a3)]=_0x3f595f:(_0x3f595f++,_0x4a6df3[_0x3d8cf7][_0x3f82e7(0x2a3)]=_0x3f595f,_0x3f595f++);for(let _0xa90e7b=_0x2f97e6;_0xa90e7b<_0x5e9f4a;_0xa90e7b++)0x0==_0x4a6df3[_0xa90e7b][_0x3f82e7(0x1ea)]&&(_0x4a6df3[_0xa90e7b][_0x3f82e7(0x2a3)]=_0x3f595f);_0x3f595f=0x0;for(let _0x83765e=_0x5e9f4a-0x1;_0x83765e>=_0x5bf0ba;_0x83765e--)0x0==_0x4a6df3[_0x83765e][_0x3f82e7(0x2f4)]?_0x4a6df3[_0x83765e][_0x3f82e7(0x2a3)]=_0x3f595f:(_0x3f595f--,_0x4a6df3[_0x83765e][_0x3f82e7(0x2a3)]=_0x3f595f,_0x3f595f--);}}[_0x3b63d1(0x206)](_0x175643){const _0x1671fd=_0x3b63d1,_0x16ea51=new Map(),_0x32c775=this[_0x1671fd(0x205)][_0x1671fd(0x28f)][_0x1671fd(0x275)];for(let _0x41911b=0x1;_0x41911b<_0x175643[_0x1671fd(0x1f6)];_0x41911b++){let _0x32f362,_0x385856,_0x5fadcb;const _0x47d29a=_0x175643[_0x41911b],_0x4f60d1=_0x175643[_0x41911b-0x1];if(_0x1671fd(0x2b2)==_0x47d29a[_0x1671fd(0x1fa)])continue;if(_0x47d29a[_0x1671fd(0x1fa)]!=_0x4f60d1[_0x1671fd(0x1fa)])continue;if(!_0x32c775[_0x1671fd(0x2b7)](_0x4f60d1[_0x1671fd(0x1f8)])||_0x32c775[_0x1671fd(0x23b)](_0x4f60d1[_0x1671fd(0x1f8)]))continue;if(!_0x32c775[_0x1671fd(0x2b7)](_0x47d29a[_0x1671fd(0x1f8)])||_0x32c775[_0x1671fd(0x23b)](_0x47d29a[_0x1671fd(0x1f8)]))continue;if((_0x175643[_0x41911b][_0x1671fd(0x228)]||_0x175643[_0x41911b][_0x1671fd(0x295)])&&_0x175643[_0x41911b-0x1][_0x1671fd(0x267)])_0x32f362=_0x175643[_0x41911b],_0x385856=_0x175643[_0x41911b-0x1],_0x5fadcb=_0x41911b-0x1;else{if(!_0x175643[_0x41911b][_0x1671fd(0x267)]||!_0x175643[_0x41911b-0x1][_0x1671fd(0x228)]&&!_0x175643[_0x41911b-0x1][_0x1671fd(0x295)])continue;_0x32f362=_0x175643[_0x41911b-0x1],_0x385856=_0x175643[_0x41911b],_0x5fadcb=_0x41911b;}const _0x11ff05=_0x32f362[_0x1671fd(0x2a3)]==_0x385856[_0x1671fd(0x2a3)],_0x11c4d1=Math[_0x1671fd(0x32c)](_0x32f362[_0x1671fd(0x2a3)])<Math[_0x1671fd(0x32c)](_0x385856[_0x1671fd(0x2a3)])&&0x0==_0x385856[_0x1671fd(0x2f4)];(_0x11ff05||_0x11c4d1)&&(_0x16ea51[_0x1671fd(0x30f)](_0x385856['id'],_0x32f362['id']),_0x175643[_0x1671fd(0x236)](_0x5fadcb,0x1),_0x41911b--,_0x32f362[_0x1671fd(0x228)]=!0x1);}for(let _0x470d6f=0x0;_0x470d6f<_0x175643[_0x1671fd(0x1f6)];_0x470d6f++)_0x16ea51[_0x1671fd(0x319)](_0x175643[_0x470d6f][_0x1671fd(0x248)])&&(_0x175643[_0x470d6f][_0x1671fd(0x248)]=_0x16ea51[_0x1671fd(0x20d)](_0x175643[_0x470d6f][_0x1671fd(0x248)]));}[_0x3b63d1(0x22c)](_0x46558b){const _0x19a247=_0x3b63d1,_0x48e9c1=new Set(_0x46558b[_0x19a247(0x1ee)](_0x25fa89=>_0x25fa89['id']));for(let _0x2065e4=0x0;_0x2065e4<_0x46558b[_0x19a247(0x1f6)];_0x2065e4++)_0x48e9c1[_0x19a247(0x319)](_0x46558b[_0x2065e4][_0x19a247(0x248)])||0x0==_0x46558b[_0x2065e4][_0x19a247(0x2f4)]||(_0x46558b[_0x2065e4][_0x19a247(0x2da)]=!0x0);return _0x46558b[_0x19a247(0x1fc)](_0x3852b9=>!_0x3852b9[_0x19a247(0x2da)]);}[_0x3b63d1(0x279)](_0x55e102){const _0x462feb=_0x3b63d1,_0xeac785=new Set();for(let _0x41345e=0x0;_0x41345e<_0x55e102[_0x462feb(0x1f6)];_0x41345e++){if(_0xeac785[_0x462feb(0x319)](_0x55e102[_0x41345e]['id'])&&_0x55e102[_0x41345e][_0x462feb(0x267)]&&(_0x55e102[_0x41345e][_0x462feb(0x2da)]=!0x0),_0x55e102[_0x41345e][_0x462feb(0x2da)])continue;if(0x0==_0x55e102[_0x41345e][_0x462feb(0x2f4)])continue;if(_0x462feb(0x25b)!=_0x55e102[_0x41345e][_0x462feb(0x1fa)])continue;if(null==_0x55e102[_0x41345e][_0x462feb(0x248)])continue;let _0x1247ee=_0x41345e+0x1,_0x2a047e=0x0;for(;_0x55e102[_0x1247ee]['id']!=_0x55e102[_0x41345e][_0x462feb(0x248)];)_0x462feb(0x25b)==_0x55e102[_0x1247ee][_0x462feb(0x1fa)]?_0x2a047e++:_0x462feb(0x1f9)==_0x55e102[_0x1247ee][_0x462feb(0x1fa)]&&_0x2a047e--,_0x1247ee++;if(0x0!=_0x2a047e){if(_0x55e102[_0x41345e][_0x462feb(0x267)])_0x55e102[_0x41345e][_0x462feb(0x2da)]=!0x0;else{for(;_0x1247ee!=_0x41345e;)_0x55e102[_0x1247ee][_0x462feb(0x267)]&&0x0!=_0x55e102[_0x1247ee][_0x462feb(0x2f4)]&&(_0x55e102[_0x1247ee][_0x462feb(0x2da)]=!0x0,_0xeac785[_0x462feb(0x245)](_0x55e102[_0x1247ee][_0x462feb(0x248)])),_0x1247ee--;}}}return _0x55e102[_0x462feb(0x1fc)](_0x1de885=>!_0x1de885[_0x462feb(0x2da)]);}[_0x3b63d1(0x31a)](_0x210c49){const _0x133dde=_0x3b63d1,_0x4fcb21=this[_0x133dde(0x205)][_0x133dde(0x28f)][_0x133dde(0x275)];for(let _0x510192=0x0;_0x510192<_0x210c49[_0x133dde(0x1f6)];_0x510192++){if(!(_0x210c49[_0x510192][_0x133dde(0x228)]||_0x210c49[_0x510192][_0x133dde(0x295)]||_0x210c49[_0x510192][_0x133dde(0x267)]||_0x210c49[_0x510192][_0x133dde(0x2fa)]))continue;if(0x0==_0x210c49[_0x510192][_0x133dde(0x2f4)])continue;const _0x1478f6=_0x210c49[_0x510192][_0x133dde(0x1f8)];_0x4fcb21[_0x133dde(0x2b7)](_0x1478f6)||_0x4fcb21[_0x133dde(0x23b)](_0x1478f6)||(_0x210c49[_0x510192][_0x133dde(0x228)]&&delete _0x210c49[_0x510192][_0x133dde(0x228)],_0x210c49[_0x510192][_0x133dde(0x295)]&&delete _0x210c49[_0x510192][_0x133dde(0x295)],_0x210c49[_0x510192][_0x133dde(0x2fa)]&&delete _0x210c49[_0x510192][_0x133dde(0x2fa)],_0x210c49[_0x510192][_0x133dde(0x267)]&&(_0x210c49[_0x510192][_0x133dde(0x2da)]=!0x0));}return _0x210c49[_0x133dde(0x1fc)](_0x4042be=>!_0x4042be[_0x133dde(0x2da)]);}[_0x3b63d1(0x218)](_0x9f8107,_0x25ec76,_0x2d8507){const _0x4310d6=_0x3b63d1,_0x138b0d=new _0x1fb6df(),_0xc474e7=[],_0x51e0ab=new Map(),_0x54de80=this[_0x4310d6(0x205)][_0x4310d6(0x28f)],_0x274114=_0x54de80[_0x4310d6(0x275)],_0x58031c=[_0x138b0d],_0x597769={},_0xc6898c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x507b34=null;const _0x37bd09=[0x0];for(let _0x5563f6=0x0;_0x5563f6<_0x9f8107[_0x4310d6(0x1f6)];_0x5563f6++){let _0x3655ce,_0x22b337;if(_0x4310d6(0x25b)===_0x9f8107[_0x5563f6][_0x4310d6(0x1fa)]){_0x3655ce=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09);const _0x5ab0be=new _0x4d3be8(_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x308)],_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x1e9)]());_0x58031c[0x0][_0x4310d6(0x21d)](_0x5ab0be),_0x37bd09[_0x4310d6(0x28b)](0x0),_0x58031c[_0x4310d6(0x29c)](_0x5ab0be),_0x22b337=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09),_0x507b34=null;}else{if(_0x4310d6(0x1f9)===_0x9f8107[_0x5563f6][_0x4310d6(0x1fa)])_0x58031c[_0x4310d6(0x24b)](),_0x3655ce=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09),_0x37bd09[_0x4310d6(0x219)](),_0x37bd09[_0x37bd09[_0x4310d6(0x1f6)]-0x1]++,_0x22b337=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09),_0x507b34=null;else{if(_0x3655ce=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09),_0x507b34&&_0x17612a(_0x507b34,_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)]))_0x507b34[_0x4310d6(0x26e)]+=_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x254)];else{const _0x1098e5=new _0x3ef66e(_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x254)],_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x1e9)]());_0x58031c[0x0][_0x4310d6(0x21d)](_0x1098e5),_0x507b34=_0x1098e5;}_0x37bd09[_0x37bd09[_0x4310d6(0x1f6)]-0x1]+=_0x9f8107[_0x5563f6][_0x4310d6(0x1f8)][_0x4310d6(0x238)],_0x22b337=_0x54de80[_0x4310d6(0x1f7)](_0x138b0d,_0x37bd09);}}for(const _0xc816a3 of _0x9f8107[_0x5563f6][_0x4310d6(0x2dd)])_0x51e0ab[_0x4310d6(0x30f)](_0xc816a3,{'start':_0x3655ce,'end':null});_0x16f546(_0x4310d6(0x2fa),_0x5563f6,_0x3655ce,_0x22b337),_0x16f546(_0x4310d6(0x295),_0x5563f6,_0x3655ce,_0x22b337),_0x16f546(_0x4310d6(0x267),_0x5563f6,_0x3655ce,_0x22b337),_0x16f546(_0x4310d6(0x228),_0x5563f6,_0x3655ce,_0x22b337);for(const _0xbe6e90 of _0x9f8107[_0x5563f6][_0x4310d6(0x2de)]){_0x51e0ab[_0x4310d6(0x20d)](_0xbe6e90)[_0x4310d6(0x20a)]=_0x22b337;}}for(const [_0x5bdb95,_0x315949]of _0x51e0ab){const _0x1173b4=this[_0x4310d6(0x205)][_0x4310d6(0x28f)][_0x4310d6(0x328)](_0x315949[_0x4310d6(0x262)],_0x315949[_0x4310d6(0x20a)]);_0x138b0d[_0x4310d6(0x31c)][_0x4310d6(0x30f)](_0x5bdb95,_0x1173b4);}return _0xc474e7[_0x4310d6(0x1e2)]((_0x4986f2,_0x1f2c71)=>{const _0x15f652=_0x4310d6,_0x51b257=_0x138b0d[_0x15f652(0x31c)][_0x15f652(0x20d)](_0x15f652(0x2e1)+_0x4986f2['id']),_0x1f820e=_0x138b0d[_0x15f652(0x31c)][_0x15f652(0x20d)](_0x15f652(0x2e1)+_0x1f2c71['id']);return _0x51b257[_0x15f652(0x262)][_0x15f652(0x2dc)](_0x1f820e[_0x15f652(0x262)])?-0x1:_0x51b257[_0x15f652(0x262)][_0x15f652(0x2c2)](_0x1f820e[_0x15f652(0x262)])?0x1:_0x51b257[_0x15f652(0x20a)][_0x15f652(0x2dc)](_0x1f820e[_0x15f652(0x20a)])?-0x1:_0x51b257[_0x15f652(0x20a)][_0x15f652(0x2c2)](_0x1f820e[_0x15f652(0x20a)])?0x1:_0x15f652(0x245)===_0x4986f2[_0x15f652(0x1fa)]?-0x1:0x1;}),{'root':_0x138b0d,'changes':_0xc474e7};function _0x16f546(_0x1895ff,_0x7c58a4,_0x290be4,_0x3edc18){const _0x31ff3c=_0x4310d6,_0xe088f3=!!_0x9f8107[_0x7c58a4][_0x1895ff],_0xb2307c=_0xe088f3?_0x9f8107[_0x7c58a4][_0x1895ff][_0x31ff3c(0x31b)]:null,_0x5167f5=_0x7c58a4===_0x9f8107[_0x31ff3c(0x1f6)]-0x1,_0x3ca8d4=_0xc6898c[_0x1895ff][0x0],_0x333584=_0x274114[_0x31ff3c(0x25e)](_0x9f8107[_0x7c58a4][_0x31ff3c(0x1f8)]);!_0x597769[_0x1895ff]&&_0xe088f3?_0x597769[_0x1895ff]={'start':_0x290be4,'tapeItem':_0x9f8107[_0x7c58a4],'userId':_0xb2307c,'type':_0x1895ff}:_0x597769[_0x1895ff]&&!_0xe088f3?(_0x597769[_0x1895ff][_0x31ff3c(0x20a)]=_0x290be4,_0x5d4022(_0x597769[_0x1895ff]),_0x597769[_0x1895ff]=null):_0x597769[_0x1895ff]&&_0xe088f3&&_0x597769[_0x1895ff][_0x31ff3c(0x31b)]!==_0xb2307c&&(_0x597769[_0x1895ff][_0x31ff3c(0x20a)]=_0x290be4,_0x3ca8d4&&_0x3ca8d4[_0x31ff3c(0x31b)]===_0x597769[_0x1895ff][_0x31ff3c(0x31b)]||_0x5d4022(_0x597769[_0x1895ff]),_0x597769[_0x1895ff]={'start':_0x290be4,'tapeItem':_0x9f8107[_0x7c58a4],'userId':_0xb2307c,'type':_0x1895ff}),_0x597769[_0x1895ff]&&_0x333584&&(_0x31ff3c(0x25b)!==_0x9f8107[_0x7c58a4][_0x31ff3c(0x1fa)]||_0x3ca8d4&&_0x3ca8d4[_0x31ff3c(0x31b)]===_0xb2307c||_0xc6898c[_0x1895ff][_0x31ff3c(0x29c)]({'userId':_0xb2307c,'object':_0x9f8107[_0x7c58a4][_0x31ff3c(0x1f8)],'change':_0x597769[_0x1895ff]}),_0x31ff3c(0x1f9)===_0x9f8107[_0x7c58a4][_0x31ff3c(0x1fa)]&&_0x3ca8d4&&_0x3ca8d4[_0x31ff3c(0x2c5)]===_0x9f8107[_0x7c58a4][_0x31ff3c(0x1f8)]&&(_0xc6898c[_0x1895ff][_0x31ff3c(0x24b)](),_0x597769[_0x1895ff]=_0x3ca8d4[_0x31ff3c(0x2bf)])),_0x597769[_0x1895ff]&&_0x5167f5&&(_0x597769[_0x1895ff][_0x31ff3c(0x20a)]=_0x3edc18,_0x5d4022(_0x597769[_0x1895ff]),_0x597769[_0x1895ff]=null);}function _0x5d4022({start:_0x5c1619,end:_0x1d4de6,tapeItem:_0x344c30,userId:_0x8dff6c,type:_0x35bffd}){const _0x4304a5=_0x4310d6,_0x297195=_0x344c30[_0x4304a5(0x1f8)],_0x2f886a=_0x54de80[_0x4304a5(0x275)][_0x4304a5(0x2b7)](_0x297195)&&!_0x54de80[_0x4304a5(0x275)][_0x4304a5(0x23b)](_0x297195),_0x5fcefa=_0x5c1619[_0x4304a5(0x2ed)]==_0x1d4de6[_0x4304a5(0x1e5)]&&_0x1d4de6[_0x4304a5(0x300)];if(_0x2f886a&&_0x5fcefa)return;const _0x208e0e=_0x54de80[_0x4304a5(0x328)](_0x5c1619,_0x1d4de6),_0x4de771=_0x25ec76[_0x4304a5(0x20d)](_0x8dff6c),_0x580c33=new _0x192ffa({'author':_0x4de771,'type':_0x4304a5(0x228)==_0x35bffd||_0x4304a5(0x295)==_0x35bffd?_0x4304a5(0x245):_0x4304a5(0x212),'data':{'isSuggestion':_0x4304a5(0x295)==_0x35bffd||_0x4304a5(0x2fa)==_0x35bffd},'createdAt':new Date(),'rootName':_0x2d8507});_0xc474e7[_0x4304a5(0x28b)](_0x580c33),_0x138b0d[_0x4304a5(0x31c)][_0x4304a5(0x30f)](_0x4304a5(0x2e1)+_0x580c33['id'],_0x208e0e);}function _0x17612a(_0x2dd63e,_0x251496){const _0x42f5c3=_0x4310d6,_0x1e23da=_0x2dd63e[_0x42f5c3(0x1e9)](),_0x2d9c8d=_0x251496[_0x42f5c3(0x1e9)]();for(const _0x48c8d5 of _0x1e23da){if(_0x48c8d5[0x1]!==_0x251496[_0x42f5c3(0x252)](_0x48c8d5[0x0]))return!0x1;_0x2d9c8d[_0x42f5c3(0x26b)]();}return _0x2d9c8d[_0x42f5c3(0x26b)]()[_0x42f5c3(0x231)];}}[_0x3b63d1(0x2e7)](){const _0x29bbfe=_0x3b63d1;this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x21a)]({'view':_0x29bbfe(0x258)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x1fb))[_0x29bbfe(0x29d)]({'model':_0x29bbfe(0x258),'view':_0x51479c=>{const _0x7cf37a=_0x29bbfe,_0x13e960=_0x51479c[_0x7cf37a(0x243)][_0x7cf37a(0x2d2)](':')[0x1],_0x59756f=this[_0x7cf37a(0x330)](_0x13e960);if(!_0x59756f)return null;const _0x3f1296=_0x7cf37a(0x245)==_0x59756f[_0x7cf37a(0x1fa)]?_0x7cf37a(0x23c):_0x7cf37a(0x326),_0x6fc5ce=[_0x7cf37a(0x306),_0x7cf37a(0x28d)+_0x3f1296];return _0x59756f[_0x7cf37a(0x254)][_0x7cf37a(0x324)]&&_0x6fc5ce[_0x7cf37a(0x28b)](_0x7cf37a(0x28d)+_0x3f1296+_0x7cf37a(0x1fe)),this[_0x7cf37a(0x31d)]==_0x59756f&&_0x6fc5ce[_0x7cf37a(0x28b)](_0x7cf37a(0x201)),{'classes':_0x6fc5ce,'attributes':{'data-change-id':_0x13e960}};}}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x245)](_0x24298=>{const _0x1edcda=_0x29bbfe;_0x24298['on'](_0x1edcda(0x2a6),(_0x1f2209,_0x412e29,_0x718bfe)=>{const _0x1da5b2=_0x1edcda,_0x4eb772=_0x412e29[_0x1da5b2(0x1f3)][_0x1da5b2(0x287)](0x0);if(!_0x4eb772||!_0x4eb772['is'](_0x1da5b2(0x272),_0x1da5b2(0x1e8)))return;if(!_0x718bfe[_0x1da5b2(0x210)][_0x1da5b2(0x1e6)](_0x4eb772,{'attributes':[_0x1da5b2(0x216),_0x1da5b2(0x32e)]}))return;const _0x4cf7cb=_0x412e29[_0x1da5b2(0x30a)][_0x1da5b2(0x262)][_0x1da5b2(0x2ed)];_0x718bfe[_0x1da5b2(0x320)][_0x1da5b2(0x25a)](_0x1da5b2(0x216),_0x4eb772[_0x1da5b2(0x252)](_0x1da5b2(0x216)),_0x4cf7cb),_0x718bfe[_0x1da5b2(0x320)][_0x1da5b2(0x25a)](_0x1da5b2(0x32e),_0x4eb772[_0x1da5b2(0x252)](_0x1da5b2(0x32e)),_0x4cf7cb);},{'priority':_0x1edcda(0x31f)});}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x245)](_0x53263e=>{const _0x26324a=_0x29bbfe;_0x53263e['on'](_0x26324a(0x272),(_0x1cf8ca,_0x2e2422,_0x322802)=>{const _0x46d6e2=_0x26324a;if(!_0x322802[_0x46d6e2(0x210)][_0x46d6e2(0x1e6)](_0x2e2422[_0x46d6e2(0x1f3)],{'attributes':[_0x46d6e2(0x216),_0x46d6e2(0x32e)]}))return;if(_0x2e2422[_0x46d6e2(0x30a)][_0x46d6e2(0x26a)])return;const _0x3f5a25=_0x2e2422[_0x46d6e2(0x30a)][_0x46d6e2(0x262)][_0x46d6e2(0x2ed)];_0x3f5a25[_0x46d6e2(0x280)](_0x46d6e2(0x216))||_0x3f5a25[_0x46d6e2(0x280)](_0x46d6e2(0x2e0))||(_0x322802[_0x46d6e2(0x320)][_0x46d6e2(0x25a)](_0x46d6e2(0x216),_0x2e2422[_0x46d6e2(0x1f3)][_0x46d6e2(0x252)](_0x46d6e2(0x216)),_0x3f5a25),_0x322802[_0x46d6e2(0x320)][_0x46d6e2(0x25a)](_0x46d6e2(0x32e),_0x2e2422[_0x46d6e2(0x1f3)][_0x46d6e2(0x252)](_0x46d6e2(0x32e)),_0x3f5a25));},{'priority':_0x26324a(0x31f)});}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x316)]({'view':{'name':_0x29bbfe(0x2df),'attributes':{'vid':!0x0}},'model':{'key':_0x29bbfe(0x2e0),'value':_0x4a4f28=>_0x4a4f28[_0x29bbfe(0x252)](_0x29bbfe(0x2e0))}}),this[_0x29bbfe(0x205)][_0x29bbfe(0x28f)][_0x29bbfe(0x275)]['on'](_0x29bbfe(0x1ec),(_0x2e9b84,[,_0x4da7ff])=>{const _0x223ef9=_0x29bbfe;[_0x223ef9(0x216),_0x223ef9(0x32e),_0x223ef9(0x2e0)][_0x223ef9(0x24d)](_0x4da7ff)&&(_0x2e9b84[_0x223ef9(0x263)]=!0x0,_0x2e9b84[_0x223ef9(0x2ef)]());},{'priority':_0x29bbfe(0x2cb)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x314))[_0x29bbfe(0x245)](_0x41cfaa=>{const _0x2bf4c7=_0x29bbfe;_0x41cfaa['on'](_0x2bf4c7(0x265),(_0x3a1085,_0x37daf3,_0x13f41f)=>{const _0x420685=_0x2bf4c7;if('\x20'!=_0x37daf3[_0x420685(0x1f8)][_0x420685(0x254)]||_0x37daf3[_0x420685(0x1f8)][_0x420685(0x1e5)][_0x420685(0x317)]>0x1)return;if(!_0x13f41f[_0x420685(0x210)][_0x420685(0x1e6)](_0x37daf3[_0x420685(0x1f8)],_0x3a1085[_0x420685(0x308)]))return;const _0x45d3b8=_0x13f41f[_0x420685(0x320)],_0x46d7f7=_0x13f41f[_0x420685(0x2ad)][_0x420685(0x2c9)](_0x37daf3[_0x420685(0x27b)]);_0x45d3b8[_0x420685(0x23d)](_0x46d7f7,_0x45d3b8[_0x420685(0x244)](_0x420685(0x2df)));});}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x314))[_0x29bbfe(0x2cc)]({'model':_0x29bbfe(0x258)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x23a),function(_0x2b8550){const _0x22977c=_0x29bbfe,_0x5c4439=_0x2b8550[_0x22977c(0x266)][_0x22977c(0x20d)](_0x22977c(0x204));return(_0x5eacfb,_0x5c01a4,_0x556d30)=>{const _0x1a7281=_0x22977c,_0x487b80=_0x5c01a4[_0x1a7281(0x243)][_0x1a7281(0x2d2)](':')[0x1],_0x1f4192=_0x5c4439[_0x1a7281(0x330)](_0x487b80);if(!_0x1f4192)return null;const _0x4d37c2=_0x1a7281(0x245)==_0x1f4192[_0x1a7281(0x1fa)]?_0x1a7281(0x2d2):_0x1a7281(0x2ac);if(!_0x556d30[_0x1a7281(0x210)][_0x1a7281(0x2cf)](_0x5c01a4[_0x1a7281(0x30c)],_0x5eacfb[_0x1a7281(0x308)]))return;const _0x189193=_0x5c01a4[_0x1a7281(0x30c)][_0x1a7281(0x2bd)](),_0x49a78b=_0x5c01a4[_0x1a7281(0x30c)][_0x1a7281(0x262)],_0x2c8644=_0x2b8550[_0x1a7281(0x28f)][_0x1a7281(0x275)];let _0xe0429d=null,_0x1f64f3=null,_0x3d1f77=!0x1,_0x1070ae=!0x1;for(const _0x76d58d of _0x189193){const _0x55e65e=_0x76d58d[_0x1a7281(0x1f8)];_0x3d1f77=_0x3d1f77||_0x2c8644[_0x1a7281(0x235)](_0x55e65e);const _0x482902=_0x556d30[_0x1a7281(0x2ad)][_0x1a7281(0x264)](_0x55e65e);if(_0x482902&&_0x482902[_0x1a7281(0x240)](_0x1a7281(0x2f2)))return;_0x1a7281(0x1f9)==_0x76d58d[_0x1a7281(0x1fa)]&&(_0x2c8644[_0x1a7281(0x2b7)](_0x55e65e)&&!_0x2c8644[_0x1a7281(0x23b)](_0x55e65e)&&(_0x55e65e[_0x1a7281(0x291)]||_0x49a78b[_0x1a7281(0x253)]?_0xe0429d&&_0xe0429d[_0x1a7281(0x1e5)]==_0x55e65e||(_0xe0429d=_0x55e65e,_0x17d739(_0x76d58d[_0x1a7281(0x1eb)]),_0x1070ae=!0x0):_0x1f64f3=_0x1f64f3||_0x76d58d[_0x1a7281(0x1eb)]));}function _0x17d739(_0x2bbb61){const _0x22ffa6=_0x1a7281,_0x14297b=_0x556d30[_0x22ffa6(0x320)][_0x22ffa6(0x230)](_0x22ffa6(0x2df),{'class':_0x22ffa6(0x28d)+_0x4d37c2}),_0x7024f8=_0x556d30[_0x22ffa6(0x2ad)][_0x22ffa6(0x2a4)](_0x2bbb61);_0x1f4192[_0x22ffa6(0x254)][_0x22ffa6(0x324)]&&_0x556d30[_0x22ffa6(0x320)][_0x22ffa6(0x2cd)](_0x22ffa6(0x28d)+_0x4d37c2+_0x22ffa6(0x1fe),_0x14297b),_0x5c4439[_0x22ffa6(0x31d)]==_0x1f4192&&_0x556d30[_0x22ffa6(0x320)][_0x22ffa6(0x2cd)](_0x22ffa6(0x201),_0x14297b),_0x556d30[_0x22ffa6(0x320)][_0x22ffa6(0x1ed)](_0x7024f8,_0x14297b),_0x556d30[_0x22ffa6(0x2ad)][_0x22ffa6(0x1f5)](_0x14297b,_0x5c01a4[_0x22ffa6(0x243)]);}_0x3d1f77||_0x1070ae||!_0x1f64f3||_0x17d739(_0x1f64f3);};}(this[_0x29bbfe(0x205)]),{'priority':_0x29bbfe(0x297)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x2b3),(_0x21fbae,_0x38e436,_0x5e859f)=>{const _0x2e6139=_0x29bbfe,_0x30f61a=_0x5e859f[_0x2e6139(0x2ad)][_0x2e6139(0x211)](_0x38e436[_0x2e6139(0x243)]);if(_0x30f61a){for(const _0x482424 of _0x30f61a)(_0x482424[_0x2e6139(0x28a)](_0x2e6139(0x2db))||_0x482424[_0x2e6139(0x28a)](_0x2e6139(0x2fd)))&&(_0x5e859f[_0x2e6139(0x2ad)][_0x2e6139(0x32a)](_0x482424,_0x38e436[_0x2e6139(0x243)]),_0x5e859f[_0x2e6139(0x320)][_0x2e6139(0x212)](_0x482424));}},{'priority':_0x29bbfe(0x297)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x23a),(_0x3353c0,_0x353d5e,_0x2498f9)=>{const _0x4d440c=_0x29bbfe,_0x1a5abe=_0x353d5e[_0x4d440c(0x243)][_0x4d440c(0x2d2)](':')[0x1],_0x3f922e=this[_0x4d440c(0x330)](_0x1a5abe);if(!_0x3f922e)return null;const _0x3d258b=_0x4d440c(0x245)==_0x3f922e[_0x4d440c(0x1fa)]?_0x4d440c(0x2d2):_0x4d440c(0x2ac);if(_0x2498f9[_0x4d440c(0x210)][_0x4d440c(0x2cf)](_0x353d5e[_0x4d440c(0x30c)],_0x3353c0[_0x4d440c(0x308)]))for(const _0x399b1b of _0x353d5e[_0x4d440c(0x30c)][_0x4d440c(0x282)]()){if(!_0x399b1b['is'](_0x4d440c(0x272),_0x4d440c(0x23e)))continue;const _0x44ad11=_0x2498f9[_0x4d440c(0x320)][_0x4d440c(0x230)](_0x4d440c(0x2df),{'class':_0x4d440c(0x28d)+_0x3d258b}),_0x840fff=_0x2498f9[_0x4d440c(0x2ad)][_0x4d440c(0x2a4)](this[_0x4d440c(0x205)][_0x4d440c(0x28f)][_0x4d440c(0x289)](_0x399b1b));_0x3f922e[_0x4d440c(0x254)][_0x4d440c(0x324)]&&_0x2498f9[_0x4d440c(0x320)][_0x4d440c(0x2cd)](_0x4d440c(0x28d)+_0x3d258b+_0x4d440c(0x1fe),_0x44ad11),this[_0x4d440c(0x31d)]==_0x3f922e&&_0x2498f9[_0x4d440c(0x320)][_0x4d440c(0x2cd)](_0x4d440c(0x201),_0x44ad11),_0x2498f9[_0x4d440c(0x320)][_0x4d440c(0x1ed)](_0x840fff,_0x44ad11),_0x2498f9[_0x4d440c(0x2ad)][_0x4d440c(0x1f5)](_0x44ad11,_0x353d5e[_0x4d440c(0x243)]);}},{'priority':_0x29bbfe(0x297)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x28f)][_0x29bbfe(0x2d3)]['on'](_0x29bbfe(0x2bf),()=>{const _0x383cb7=_0x29bbfe;this[_0x383cb7(0x205)][_0x383cb7(0x1ef)][_0x383cb7(0x290)][_0x383cb7(0x2bf)](_0xeb8d49=>{const _0x370eb8=_0x383cb7;for(const _0x4a276a of this[_0x370eb8(0x205)][_0x370eb8(0x28f)][_0x370eb8(0x2d3)][_0x370eb8(0x2d8)]()){const _0x13ecab=this[_0x370eb8(0x205)][_0x370eb8(0x28f)][_0x370eb8(0x2d3)][_0x370eb8(0x2c4)](_0x4a276a),_0x287c66=this[_0x370eb8(0x205)][_0x370eb8(0x1ef)][_0x370eb8(0x290)][_0x370eb8(0x2d3)][_0x370eb8(0x2c4)](_0x4a276a);if(_0x287c66){const _0x57bdc4=_0x13ecab[_0x370eb8(0x252)](_0x370eb8(0x276));if(_0xeb8d49[_0x370eb8(0x305)](_0x370eb8(0x25d),_0x287c66),_0xeb8d49[_0x370eb8(0x323)](_0x370eb8(0x214),_0x287c66),_0xeb8d49[_0x370eb8(0x323)](_0x370eb8(0x327),_0x287c66),_0xeb8d49[_0x370eb8(0x323)](_0x370eb8(0x2c0),_0x287c66),_0x57bdc4){const _0x52a00a=this[_0x370eb8(0x330)](_0x57bdc4);if(!_0x52a00a)return null;_0xeb8d49[_0x370eb8(0x25a)](_0x370eb8(0x25d),_0x57bdc4,_0x287c66),_0xeb8d49[_0x370eb8(0x2cd)](_0x370eb8(0x229)+_0x52a00a[_0x370eb8(0x1fa)],_0x287c66),this[_0x370eb8(0x31d)]==_0x52a00a&&_0xeb8d49[_0x370eb8(0x2cd)](_0x370eb8(0x2c0),_0x287c66);}}}});}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x21a)]({'view':_0x29bbfe(0x21c),'model':_0x2d13d9=>_0x29bbfe(0x226)+_0x2d13d9,'converterPriority':_0x29bbfe(0x2cb)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x278))[_0x29bbfe(0x21a)]({'view':_0x29bbfe(0x20f),'model':_0x160aa0=>_0x29bbfe(0x32f)+_0x160aa0,'converterPriority':_0x29bbfe(0x2cb)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x314))[_0x29bbfe(0x2cc)]({'model':_0x29bbfe(0x2fb),'view':_0x330425=>({'name':_0x29bbfe(0x1e3)+_0x330425,'group':_0x29bbfe(0x2fb)}),'converterPriority':_0x29bbfe(0x2cb)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x29b)][_0x29bbfe(0x32d)](_0x29bbfe(0x1fb))[_0x29bbfe(0x29d)]({'model':_0x29bbfe(0x2fb),'view':_0x44e8b5=>{const _0x2cfb58=_0x29bbfe,_0x2cd044=_0x44e8b5[_0x2cfb58(0x243)][_0x2cfb58(0x2d2)](':')[0x1];return _0x2cfb58(0x23c)!=_0x2cd044&&_0x2cfb58(0x326)!=_0x2cd044?null:{'classes':[_0x2cfb58(0x2ab),_0x2cfb58(0x32b)+_0x2cd044]};}}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x26d),et(this[_0x29bbfe(0x205)],_0x29bbfe(0x2ac)),{'priority':_0x29bbfe(0x297)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x2d0),et(this[_0x29bbfe(0x205)],_0x29bbfe(0x2d2)),{'priority':_0x29bbfe(0x297)}),this[_0x29bbfe(0x205)][_0x29bbfe(0x1ef)][_0x29bbfe(0x2a2)]['on'](_0x29bbfe(0x288),(_0x45280b,_0x7aac43,_0x10a93d)=>{const _0x1fd1f0=_0x29bbfe,_0x3a9984=_0x10a93d[_0x1fd1f0(0x2ad)][_0x1fd1f0(0x211)](_0x7aac43[_0x1fd1f0(0x243)]);if(_0x3a9984){for(const _0x52faf5 of _0x3a9984)_0x52faf5['is'](_0x1fd1f0(0x31e))&&(_0x10a93d[_0x1fd1f0(0x2ad)][_0x1fd1f0(0x32a)](_0x52faf5,_0x7aac43[_0x1fd1f0(0x243)]),_0x10a93d[_0x1fd1f0(0x320)][_0x1fd1f0(0x212)](_0x52faf5));}},{'priority':_0x29bbfe(0x297)});}[_0x3b63d1(0x330)](_0x11c287){const _0x16a004=_0x3b63d1;return this[_0x16a004(0x249)][_0x16a004(0x20d)](_0x11c287);}[_0x3b63d1(0x2bb)](_0x4864ba){const _0x2556c9=_0x3b63d1;return this[_0x2556c9(0x250)]&&this[_0x2556c9(0x250)][_0x2556c9(0x27c)](),this[_0x2556c9(0x250)]=new _0x463c13(this[_0x2556c9(0x205)][_0x2556c9(0x2c6)],_0x4864ba),this[_0x2556c9(0x250)];}[_0x3b63d1(0x22b)](){const _0x79adba=_0x3b63d1;this[_0x79adba(0x205)][_0x79adba(0x28f)][_0x79adba(0x2d3)][_0x79adba(0x2b9)][_0x79adba(0x2ba)](_0x79adba(0x258)),this['on'](_0x79adba(0x223),(_0x51e1a1,_0x49c9a6,_0x4a1fe8,_0x3adb0b)=>{const _0x57c3d5=_0x79adba;_0x3adb0b&&this[_0x57c3d5(0x2e6)][_0x57c3d5(0x212)](_0x3adb0b),_0x4a1fe8&&(this[_0x57c3d5(0x2e6)][_0x57c3d5(0x245)]({'view':_0x4a1fe8,'stackId':_0x57c3d5(0x2ca),'position':{'target':()=>{const _0x42f000=_0x57c3d5,_0xfa6177=this[_0x42f000(0x205)][_0x42f000(0x1ef)],_0x5a5a35=this[_0x42f000(0x330)](_0x4a1fe8[_0x42f000(0x241)]);let _0xfaff36;if(_0x5a5a35[_0x42f000(0x254)][_0x42f000(0x26c)]){const _0x4c7853=_0xfa6177[_0x42f000(0x290)][_0x42f000(0x2e3)](_0x5a5a35[_0x42f000(0x1f4)]);_0xfaff36=Array[_0x42f000(0x207)](_0x4c7853[_0x42f000(0x296)]());}else{const _0x35fb0b=this[_0x42f000(0x205)][_0x42f000(0x28f)][_0x42f000(0x31c)][_0x42f000(0x20d)](_0x42f000(0x2e1)+_0x4a1fe8[_0x42f000(0x241)]);_0xfaff36=Array[_0x42f000(0x207)](_0xfa6177[_0x42f000(0x2ad)][_0x42f000(0x211)](_0x35fb0b[_0x42f000(0x308)]))[_0x42f000(0x1ee)](_0x4cdd69=>_0xfa6177[_0x42f000(0x290)][_0x42f000(0x203)][_0x42f000(0x2be)](_0x4cdd69))[_0x42f000(0x1ee)](_0x3deec5=>Array[_0x42f000(0x207)](_0x3deec5[_0x42f000(0x296)]()))[_0x42f000(0x315)]();}if(!this[_0x42f000(0x30d)])return _0xfaff36[0x0];return _0xfaff36[_0x42f000(0x2f0)](_0x333b6b=>_0x333b6b[_0x42f000(0x2f6)]-0x3<=this[_0x42f000(0x30d)]['y']&&_0x333b6b[_0x42f000(0x286)]+0x3>=this[_0x42f000(0x30d)]['y']&&_0x333b6b[_0x42f000(0x2d1)]-0x3<=this[_0x42f000(0x30d)]['x']&&_0x333b6b[_0x42f000(0x27d)]+0x3>=this[_0x42f000(0x30d)]['x'])||_0xfaff36[0x0];}}}),this[_0x57c3d5(0x2e6)][_0x57c3d5(0x246)](_0x57c3d5(0x2ca)));}),this['on'](_0x79adba(0x242),(_0x1e236a,_0x330682,_0x8b814d,_0x332f3d)=>{const _0x350844=_0x79adba;this[_0x350844(0x2f9)]=_0x8b814d?this[_0x350844(0x2bb)](_0x8b814d):null,this[_0x350844(0x205)][_0x350844(0x28f)][_0x350844(0x2bf)](()=>{const _0x463a86=_0x350844,_0x5645c4=this[_0x463a86(0x205)][_0x463a86(0x1ef)];_0x332f3d&&(_0x332f3d[_0x463a86(0x254)][_0x463a86(0x26c)]?_0x5645c4[_0x463a86(0x290)][_0x463a86(0x2bf)](_0x569918=>{const _0x37d3b8=_0x463a86;_0x569918[_0x37d3b8(0x323)](_0x37d3b8(0x2c0),_0x5645c4[_0x37d3b8(0x290)][_0x37d3b8(0x2d3)][_0x37d3b8(0x2c4)](_0x332f3d[_0x37d3b8(0x1f4)]));}):_0x5645c4[_0x463a86(0x2ae)](_0x463a86(0x2e1)+_0x332f3d['id'])),_0x8b814d&&(_0x8b814d[_0x463a86(0x254)][_0x463a86(0x26c)]?_0x5645c4[_0x463a86(0x290)][_0x463a86(0x2bf)](_0x343705=>{const _0x51ca12=_0x463a86;_0x343705[_0x51ca12(0x2cd)](_0x51ca12(0x2c0),_0x5645c4[_0x51ca12(0x290)][_0x51ca12(0x2d3)][_0x51ca12(0x2c4)](_0x8b814d[_0x51ca12(0x1f4)]));}):_0x5645c4[_0x463a86(0x2ae)](_0x463a86(0x2e1)+_0x8b814d['id']));});}),this[_0x79adba(0x27f)](this[_0x79adba(0x205)][_0x79adba(0x1ef)][_0x79adba(0x290)][_0x79adba(0x2d3)],_0x79adba(0x1ff),(_0x1fdbb9,_0x5abe95)=>{const _0x31aff6=_0x79adba;if(this[_0x31aff6(0x31d)])return;const _0x27b328=this[_0x31aff6(0x2ce)](_0x5abe95[_0x31aff6(0x255)]),_0x5d8f27=this[_0x31aff6(0x249)][_0x31aff6(0x20d)](_0x27b328);_0x5d8f27?(this[_0x31aff6(0x30d)]={'x':_0x5abe95[_0x31aff6(0x2b1)]['x'],'y':_0x5abe95[_0x31aff6(0x2b1)]['y']},this[_0x31aff6(0x2f9)]=this[_0x31aff6(0x2bb)](_0x5d8f27)):(this[_0x31aff6(0x30d)]=null,this[_0x31aff6(0x2f9)]=null);}),this[_0x79adba(0x27f)](this[_0x79adba(0x205)][_0x79adba(0x1ef)][_0x79adba(0x290)][_0x79adba(0x2d3)],_0x79adba(0x215),(_0x1f9288,_0xf0a3e3)=>{const _0x4453da=_0x79adba,_0x9f9154=this[_0x4453da(0x2ce)](_0xf0a3e3[_0x4453da(0x255)]),_0x4f60ec=this[_0x4453da(0x249)][_0x4453da(0x20d)](_0x9f9154);_0x4f60ec?(this[_0x4453da(0x30d)]={'x':_0xf0a3e3[_0x4453da(0x2b1)]['x'],'y':_0xf0a3e3[_0x4453da(0x2b1)]['y']},_0x4f60ec===this[_0x4453da(0x31d)]?this[_0x4453da(0x2e6)][_0x4453da(0x294)]():this[_0x4453da(0x31d)]=_0x4f60ec):(this[_0x4453da(0x30d)]=null,this[_0x4453da(0x31d)]=null);});}[_0x3b63d1(0x2ce)](_0x8cbc86){const _0x549876=_0x3b63d1;do{const _0xb084c0=_0x8cbc86[_0x549876(0x252)](_0x549876(0x25d));if(_0xb084c0)return _0xb084c0;_0x8cbc86=_0x8cbc86[_0x549876(0x1e5)];}while(_0x8cbc86);return null;}[_0x3b63d1(0x325)](){const _0x1b83e1=_0x3b63d1;this[_0x1b83e1(0x205)][_0x1b83e1(0x28f)][_0x1b83e1(0x2bf)](_0x302622=>{const _0xf6b9a4=_0x1b83e1;for(const _0x4a46ee of this[_0xf6b9a4(0x205)][_0xf6b9a4(0x28f)][_0xf6b9a4(0x31c)])_0x302622[_0xf6b9a4(0x2aa)](_0x4a46ee);});}}function et(_0x84b709,_0x5b67e4){return(_0x4000c2,_0x10767e,_0x3aa04b)=>{const _0x246bf0=_0xbef1;if(!_0x3aa04b[_0x246bf0(0x210)][_0x246bf0(0x2cf)](_0x10767e[_0x246bf0(0x30c)],_0x4000c2[_0x246bf0(0x308)]))return;const _0x17440f=_0x10767e[_0x246bf0(0x30c)][_0x246bf0(0x2bd)](),_0x2f2208=_0x10767e[_0x246bf0(0x30c)][_0x246bf0(0x262)],_0xce5c3c=_0x84b709[_0x246bf0(0x28f)][_0x246bf0(0x275)];let _0x5c8f62=null,_0x141021=null,_0x422aa5=!0x1,_0xe53c59=!0x1;for(const _0x1702ae of _0x17440f){const _0x1fd14b=_0x1702ae[_0x246bf0(0x1f8)];_0x422aa5=_0x422aa5||_0xce5c3c[_0x246bf0(0x235)](_0x1fd14b);const _0x44983e=_0x3aa04b[_0x246bf0(0x2ad)][_0x246bf0(0x264)](_0x1fd14b);if(_0x44983e&&_0x44983e[_0x246bf0(0x240)](_0x246bf0(0x2f2)))return;_0x246bf0(0x1f9)==_0x1702ae[_0x246bf0(0x1fa)]&&(_0xce5c3c[_0x246bf0(0x2b7)](_0x1fd14b)&&!_0xce5c3c[_0x246bf0(0x23b)](_0x1fd14b)&&(_0x1fd14b[_0x246bf0(0x291)]||_0x2f2208[_0x246bf0(0x253)]?_0x5c8f62&&_0x5c8f62[_0x246bf0(0x1e5)]==_0x1fd14b||(_0x5c8f62=_0x1fd14b,_0x7318fd(_0x1702ae[_0x246bf0(0x1eb)]),_0xe53c59=!0x0):_0x141021=_0x141021||_0x1702ae[_0x246bf0(0x1eb)]));}function _0x7318fd(_0x2744a5){const _0x58c387=_0x246bf0,_0x34051a=_0x3aa04b[_0x58c387(0x2ad)][_0x58c387(0x2a4)](_0x2744a5),_0x35224c=_0x3aa04b[_0x58c387(0x320)][_0x58c387(0x230)](_0x58c387(0x2df),{'class':_0x58c387(0x32b)+_0x5b67e4});_0x3aa04b[_0x58c387(0x320)][_0x58c387(0x1ed)](_0x34051a,_0x35224c),_0x3aa04b[_0x58c387(0x2ad)][_0x58c387(0x1f5)](_0x35224c,_0x10767e[_0x58c387(0x243)]);}_0x422aa5||_0xe53c59||!_0x141021||_0x7318fd(_0x141021);};}export class RestoreRevisionCommand extends _0x450db5{constructor(_0x4abc80){const _0x191b6f=_0x3b63d1;super(_0x4abc80);const _0xddf9d8=_0x4abc80[_0x191b6f(0x266)][_0x191b6f(0x20d)](d);this[_0x191b6f(0x20c)]=!0x1,this[_0x191b6f(0x27f)](_0xddf9d8,_0x191b6f(0x21b),()=>this[_0x191b6f(0x2e2)]()),this[_0x191b6f(0x27f)](_0xddf9d8,_0x191b6f(0x1f1),()=>this[_0x191b6f(0x2e2)]());}[_0x3b63d1(0x2c7)](){const _0x42f7fc=_0x3b63d1,_0x48daa9=this[_0x42f7fc(0x205)],_0x53a727=_0x48daa9[_0x42f7fc(0x266)][_0x42f7fc(0x20d)](d),_0x2bdbfe=_0x53a727[_0x42f7fc(0x202)]?_0x53a727[_0x42f7fc(0x303)][_0x42f7fc(0x24c)]:null;_0x48daa9[_0x42f7fc(0x2d5)][_0x42f7fc(0x20d)](_0x42f7fc(0x2e8))[_0x42f7fc(0x2af)](_0x2bdbfe);}[_0x3b63d1(0x2e2)](){const _0x3f1c86=_0x3b63d1,{isReady:_0x5bdfab,isEnabled:_0x360fd5}=this[_0x3f1c86(0x205)][_0x3f1c86(0x266)][_0x3f1c86(0x20d)](d);this[_0x3f1c86(0x285)]=_0x5bdfab&&_0x360fd5;}}export class ShowChangeCommand extends _0x450db5{constructor(_0x48c42e,{direction:_0x29e384}){const _0x32a175=_0x3b63d1;super(_0x48c42e);const _0x447bb0=_0x48c42e[_0x32a175(0x266)][_0x32a175(0x20d)](d);this[_0x32a175(0x20c)]=!0x1,this[_0x32a175(0x224)]=_0x32a175(0x2eb)===_0x29e384?0x1:-0x1,this[_0x32a175(0x27f)](_0x447bb0,_0x32a175(0x21b),()=>this[_0x32a175(0x2e2)]()),this[_0x32a175(0x27f)](_0x447bb0,_0x32a175(0x1f1),()=>this[_0x32a175(0x2e2)]()),this[_0x32a175(0x27f)](_0x447bb0,_0x32a175(0x242),()=>this[_0x32a175(0x2e2)]());}[_0x3b63d1(0x2c7)](){const _0x2fd190=_0x3b63d1,_0x447dfd=this[_0x2fd190(0x205)],_0x55b98b=_0x447dfd[_0x2fd190(0x266)][_0x2fd190(0x20d)](d),{isNavigationMode:_0x29446c,currentChangeNumber:_0xac2e24}=_0x55b98b;let _0x25a151;if(_0x55b98b[_0x2fd190(0x31d)]=_0x29446c?_0x55b98b[_0x2fd190(0x303)][_0x2fd190(0x281)][_0x2fd190(0x20d)](_0xac2e24+this[_0x2fd190(0x224)]):_0x55b98b[_0x2fd190(0x303)][_0x2fd190(0x281)][_0x2fd190(0x25f)],_0x55b98b[_0x2fd190(0x31d)][_0x2fd190(0x254)][_0x2fd190(0x26c)])_0x25a151=_0x447dfd[_0x2fd190(0x1ef)][_0x2fd190(0x290)][_0x2fd190(0x2e3)](_0x55b98b[_0x2fd190(0x31d)][_0x2fd190(0x1f4)]);else{const _0xcddbc3=_0x447dfd[_0x2fd190(0x28f)][_0x2fd190(0x31c)][_0x2fd190(0x20d)](_0x2fd190(0x2e1)+_0x55b98b[_0x2fd190(0x31d)]['id']);_0x25a151=_0x583066(_0x447dfd[_0x2fd190(0x1ef)],_0xcddbc3);}_0x42f9c8({'target':_0x25a151,'viewportOffset':0x28});}[_0x3b63d1(0x2e2)](){const _0x4cc968=_0x3b63d1,{isNavigationMode:_0x299a46,currentChangeNumber:_0x501f6d,numberOfChanges:_0x5949f2,isReady:_0x51bcf0,isEnabled:_0x27ac0e}=this[_0x4cc968(0x205)][_0x4cc968(0x266)][_0x4cc968(0x20d)](d);this[_0x4cc968(0x285)]=!!(_0x27ac0e&&_0x51bcf0&&_0x5949f2)&&(!_0x299a46||(0x1===this[_0x4cc968(0x224)]?_0x501f6d<_0x5949f2-0x1:_0x501f6d>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x5bf3fe,_0x269d5e){const _0x4b527b=_0x1e3f,_0xb2d712=_0x5bf3fe();while(!![]){try{const _0x182073=-parseInt(_0x4b527b(0xcf))/0x1*(parseInt(_0x4b527b(0xdd))/0x2)+-parseInt(_0x4b527b(0xe2))/0x3*(parseInt(_0x4b527b(0xc3))/0x4)+parseInt(_0x4b527b(0xdc))/0x5*(-parseInt(_0x4b527b(0xca))/0x6)+parseInt(_0x4b527b(0xe5))/0x7*(parseInt(_0x4b527b(0xd9))/0x8)+parseInt(_0x4b527b(0xf1))/0x9+-parseInt(_0x4b527b(0xcd))/0xa*(parseInt(_0x4b527b(0xd4))/0xb)+parseInt(_0x4b527b(0xd5))/0xc;if(_0x182073===_0x269d5e)break;else _0xb2d712['push'](_0xb2d712['shift']());}catch(_0x5c59ba){_0xb2d712['push'](_0xb2d712['shift']());}}}(_0x2388,0x8ce36));function _0x2388(){const _0x1aa4d4=['2868xduGIJ','panelPosition','bindTemplate','390ehMZKl','Compare\x20against\x20selected','823827fEiuqQ','action','isEnabled','execute','function','137951MnkCfb','1560180NwzeDu','locale','set','ck-revision-history-sidebar__revision__actions','24OKbgCz','items','menuitem','2455FSOABm','2eAdfVf','model','isOpen','change:isActionsDropdownOpen','source','222FetnUb','buttonView','isReady','2664431HBHpgs','Name\x20this\x20revision','stopPropagation','bind','isVisible','listView','listenTo','class','menu','extendTemplate','add','threeVerticalDots','8485614KTZQJm','name','children','Show\x20more\x20items','button','ck-on','4868BpQmxS','find','first','map','isActionsDropdownOpen','_action','Restore\x20this\x20revision'];_0x2388=function(){return _0x1aa4d4;};return _0x2388();}import{Collection as _0x53c1c8}from'ckeditor5/src/utils.js';import{icons as _0x3fa1d1}from'ckeditor5/src/core.js';import{ViewModel as _0x5b40c5,addListToDropdown as _0x19b502,createDropdown as _0x36992b}from'ckeditor5/src/ui.js';import{getTranslation as _0x10ee66}from'../../utils/common-translations.js';function _0x1e3f(_0x16880f,_0x4ceebe){const _0x2388a7=_0x2388();return _0x1e3f=function(_0x1e3f71,_0x5c0c12){_0x1e3f71=_0x1e3f71-0xc3;let _0x36e63b=_0x2388a7[_0x1e3f71];return _0x36e63b;},_0x1e3f(_0x16880f,_0x4ceebe);}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x542f6f,_0x48ef32){const _0x51b74a=_0x1e3f,_0x38c93c=_0x542f6f[_0x51b74a(0xcc)],_0x545fa3=_0x542f6f[_0x51b74a(0xd6)],_0x2024b8=_0x36992b(_0x545fa3);_0x2024b8[_0x51b74a(0xcb)]='sw';const _0x57d85c=function(_0x2b5715,_0x3a1a66){const _0x39bbea=_0x51b74a,_0x1b1fc5=function(_0x34ab95,_0x597d7d){const _0x12d84c=_0x1e3f,_0x1c79e2=_0x34ab95[_0x12d84c(0xd6)],_0x1ee2e0={'Compare\x20against\x20selected':_0x10ee66(_0x1c79e2,_0x12d84c(0xce)),'Name\x20this\x20revision':_0x10ee66(_0x1c79e2,_0x12d84c(0xe6)),'Restore\x20this\x20revision':_0x10ee66(_0x1c79e2,_0x12d84c(0xc9))};return _0x597d7d[_0x12d84c(0xc6)](_0x43873d=>{const _0x4a3ecc=_0x12d84c,_0xc4d4d8=_0x1ee2e0[_0x43873d[_0x4a3ecc(0xf2)]];return _0xc4d4d8&&_0xc4d4d8!==_0x43873d[_0x4a3ecc(0xf2)]&&(_0x43873d[_0x4a3ecc(0xf2)]=_0xc4d4d8),_0x43873d;});}(_0x2b5715,_0x3a1a66),_0x1942b1=new _0x53c1c8();for(const _0x1b865d of _0x1b1fc5){const _0x24ce3b={'type':_0x39bbea(0xf5),'model':new _0x5b40c5({'label':_0x1b865d[_0x39bbea(0xf2)],'class':_0x1b865d[_0x39bbea(0xec)],'withText':!0x0,'role':_0x39bbea(0xdb),'_action':_0x1b865d[_0x39bbea(0xd0)]})};_0x24ce3b[_0x39bbea(0xde)][_0x39bbea(0xe8)](_0x39bbea(0xd1))['to'](_0x2b5715,_0x39bbea(0xc7),_0x588b58=>_0x39bbea(0xd3)!=typeof _0x1b865d[_0x39bbea(0xd1)]||(!_0x588b58||_0x1b865d[_0x39bbea(0xd1)](_0x2b5715))),_0x1942b1[_0x39bbea(0xef)](_0x24ce3b);}return _0x1942b1;}(_0x542f6f,_0x48ef32);return _0x542f6f[_0x51b74a(0xe8)](_0x51b74a(0xc7))['to'](_0x2024b8,_0x51b74a(0xdf)),_0x2024b8[_0x51b74a(0xe3)][_0x51b74a(0xd7)]({'label':_0x10ee66(_0x545fa3,_0x51b74a(0xf4)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3fa1d1[_0x51b74a(0xf0)]}),_0x2024b8[_0x51b74a(0xee)]({'attributes':{'class':[_0x51b74a(0xd8),_0x38c93c['if'](_0x51b74a(0xc7),_0x51b74a(0xf6))]},'on':{'click':_0x38c93c['to'](_0x453876=>_0x453876[_0x51b74a(0xe7)]())}}),_0x2024b8['on'](_0x51b74a(0xd2),_0x293652=>{const _0x5b917a=_0x51b74a;_0x542f6f[_0x5b917a(0xe4)]&&_0x5b917a(0xd3)==typeof _0x293652[_0x5b917a(0xe1)][_0x5b917a(0xc8)]&&_0x293652[_0x5b917a(0xe1)][_0x5b917a(0xc8)](_0x542f6f);}),_0x19b502(_0x2024b8,_0x57d85c,{'role':_0x51b74a(0xed)}),_0x2024b8[_0x51b74a(0xeb)](_0x542f6f,_0x51b74a(0xe0),(_0x14f0de,_0x25a9e8,_0x342733)=>{const _0x5cdd78=_0x51b74a;if(_0x342733)for(const _0xaae316 of _0x2024b8[_0x5cdd78(0xea)][_0x5cdd78(0xda)]){const _0x124dc5=_0xaae316[_0x5cdd78(0xf3)][_0x5cdd78(0xc5)],_0x1c1952=_0x48ef32[_0x5cdd78(0xc4)](_0x1891ce=>_0x1891ce[_0x5cdd78(0xd0)]===_0x124dc5[_0x5cdd78(0xc8)])[_0x5cdd78(0xe9)];_0xaae316[_0x5cdd78(0xe9)]=void 0x0===_0x1c1952||_0x1c1952(_0x542f6f);}}),_0x2024b8;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4fb873,_0x3c3921){const _0xa66a88=_0x5553,_0x3cba08=_0x4fb873();while(!![]){try{const _0x21c333=parseInt(_0xa66a88(0x175))/0x1+parseInt(_0xa66a88(0x177))/0x2+parseInt(_0xa66a88(0x176))/0x3*(parseInt(_0xa66a88(0x187))/0x4)+-parseInt(_0xa66a88(0x17a))/0x5*(parseInt(_0xa66a88(0x184))/0x6)+-parseInt(_0xa66a88(0x188))/0x7+parseInt(_0xa66a88(0x183))/0x8+parseInt(_0xa66a88(0x178))/0x9;if(_0x21c333===_0x3c3921)break;else _0x3cba08['push'](_0x3cba08['shift']());}catch(_0x5ca693){_0x3cba08['push'](_0x3cba08['shift']());}}}(_0xf267,0xacd76));import{View as _0xb9e236,IconView as _0x259e9e}from'ckeditor5/src/ui.js';import{getTranslation as _0x1f015b}from'../../utils/common-translations.js';function _0x5553(_0x2cec70,_0x151731){const _0xf26714=_0xf267();return _0x5553=function(_0x5553c8,_0x21ff50){_0x5553c8=_0x5553c8-0x175;let _0x2b1dda=_0xf26714[_0x5553c8];return _0x2b1dda;},_0x5553(_0x2cec70,_0x151731);}import'../../../theme/revision/revisionauthor.css';import _0x56caa0 from'../../../theme/icons/user.svg';function _0xf267(){const _0x1b432f=['ck-revision-history-sidebar__revision-author__name','0\x200\x2011\x2010','Revision\x20author','Revision\x20creator','ck-revision-history-sidebar__revision-author','push','2902792GEXuLl','6AjYNnQ','ck-revision-history-sidebar__revision-author_creator','span','266068FYoQNo','6723591xwIqhb','547737wRtPBA','63rYxNsK','455834QkJPWX','281484HBepxO','setTemplate','4490825MmVRMT','set','name'];_0xf267=function(){return _0x1b432f;};return _0xf267();}export default class ti extends _0xb9e236{constructor(_0x316611,_0x4e1870,_0x59b808){const _0x4e2282=_0x5553;super(_0x316611);const _0x425bbf=new _0x259e9e();_0x425bbf[_0x4e2282(0x17b)]({'content':_0x56caa0,'viewBox':_0x4e2282(0x17e)});const _0x52f5e8=['ck',_0x4e2282(0x181)];_0x59b808&&_0x52f5e8[_0x4e2282(0x182)](_0x4e2282(0x185));const _0x1dbc57=[{'tag':_0x4e2282(0x186),'attributes':{'class':['ck',_0x4e2282(0x17d)],'title':_0x1f015b(_0x316611,_0x59b808?_0x4e2282(0x180):_0x4e2282(0x17f))},'children':[_0x425bbf,_0x4e1870[_0x4e2282(0x17c)]]}];this[_0x4e2282(0x179)]({'tag':'li','attributes':{'class':_0x52f5e8},'children':_0x1dbc57});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50ae80=_0x4818;function _0x2f4c(){const _0x19b1a8=['set','scrollWidth','element','render','value','995127PdvlAH','bindTemplate','_tooltipString','extendTemplate','_updateTooltipText','Revision\x20name','2728056GtVFAu','513642nZqbhC','Enter\x20the\x20revision\x20name','input','4691056NUbFTr','placeholder','clientWidth','destroy','ck-tooltip_multi-line','10DxsSrv','382232YmGcSK','3413703KFzsaN','_resizeObserver','fieldView','span','ck-revision-history-sidebar__revision-name','937104lWeIGV','listenTo'];_0x2f4c=function(){return _0x19b1a8;};return _0x2f4c();}(function(_0x273791,_0x303487){const _0x10112d=_0x4818,_0x34d026=_0x273791();while(!![]){try{const _0x12737c=-parseInt(_0x10112d(0x1a4))/0x1+parseInt(_0x10112d(0x19e))/0x2+parseInt(_0x10112d(0x19f))/0x3+-parseInt(_0x10112d(0x1b1))/0x4+parseInt(_0x10112d(0x19d))/0x5*(parseInt(_0x10112d(0x1b2))/0x6)+parseInt(_0x10112d(0x1ab))/0x7+parseInt(_0x10112d(0x198))/0x8;if(_0x12737c===_0x303487)break;else _0x34d026['push'](_0x34d026['shift']());}catch(_0x3de873){_0x34d026['push'](_0x34d026['shift']());}}}(_0x2f4c,0x94d78));import{LabeledFieldView as _0x350fb7}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x23ae33}from'ckeditor5/src/utils.js';import{getTranslation as _0x2b95a0}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';function _0x4818(_0x3fa0bf,_0x1e3e1d){const _0x2f4cbe=_0x2f4c();return _0x4818=function(_0x48187d,_0x231edc){_0x48187d=_0x48187d-0x196;let _0x456195=_0x2f4cbe[_0x48187d];return _0x456195;},_0x4818(_0x3fa0bf,_0x1e3e1d);}export default class kt extends _0x350fb7{constructor(_0x39b8d1,_0x134341){const _0x340bf1=_0x4818;super(_0x39b8d1,_0x134341),this[_0x340bf1(0x1a0)]=null;const _0x3afc02=this[_0x340bf1(0x1ac)];this[_0x340bf1(0x1a6)]({'label':_0x2b95a0(_0x39b8d1,_0x340bf1(0x1b0)),'_tooltipString':''}),this[_0x340bf1(0x1a1)][_0x340bf1(0x199)]=_0x2b95a0(_0x39b8d1,_0x340bf1(0x196)),this[_0x340bf1(0x1ae)]({'tag':_0x340bf1(0x1a2),'attributes':{'class':[_0x340bf1(0x1a3)],'data-cke-tooltip-text':_0x3afc02['to'](_0x340bf1(0x1ad)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x340bf1(0x19c)}});}[_0x50ae80(0x1a9)](){const _0x572233=_0x50ae80;super[_0x572233(0x1a9)](),this[_0x572233(0x1a0)]=new _0x23ae33(this[_0x572233(0x1a1)][_0x572233(0x1a8)],()=>this[_0x572233(0x1af)]()),this[_0x572233(0x1a5)](this[_0x572233(0x1a1)],_0x572233(0x197),()=>this[_0x572233(0x1af)]());}[_0x50ae80(0x19b)](){const _0x1f585c=_0x50ae80;super[_0x1f585c(0x19b)](),this[_0x1f585c(0x1a0)]&&this[_0x1f585c(0x1a0)][_0x1f585c(0x19b)]();}[_0x50ae80(0x1af)](){const _0x2c49ef=_0x50ae80,_0x273ec1=this[_0x2c49ef(0x1a1)][_0x2c49ef(0x1a8)];this[_0x2c49ef(0x1ad)]=_0x273ec1[_0x2c49ef(0x1a7)]>_0x273ec1[_0x2c49ef(0x19a)]&&_0x273ec1[_0x2c49ef(0x1aa)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xc296b5=_0x59af;(function(_0x1f1281,_0x51835d){const _0x258bcf=_0x59af,_0x47b7e5=_0x1f1281();while(!![]){try{const _0x2a75e2=parseInt(_0x258bcf(0x1f1))/0x1*(-parseInt(_0x258bcf(0x1f3))/0x2)+parseInt(_0x258bcf(0x218))/0x3*(parseInt(_0x258bcf(0x210))/0x4)+parseInt(_0x258bcf(0x208))/0x5+-parseInt(_0x258bcf(0x20d))/0x6*(-parseInt(_0x258bcf(0x1f8))/0x7)+-parseInt(_0x258bcf(0x205))/0x8*(-parseInt(_0x258bcf(0x222))/0x9)+parseInt(_0x258bcf(0x217))/0xa+parseInt(_0x258bcf(0x1fd))/0xb*(-parseInt(_0x258bcf(0x1f5))/0xc);if(_0x2a75e2===_0x51835d)break;else _0x47b7e5['push'](_0x47b7e5['shift']());}catch(_0x566621){_0x47b7e5['push'](_0x47b7e5['shift']());}}}(_0x2622,0x62b98));import{View as _0x551204,createLabeledInputText as _0x318f5f}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x18ae4c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x597472 from'./revisionnameview.js';function _0x2622(){const _0x48de5e=['_requireRevisionName','element','unhighlight','ck-revision-history-sidebar__revision__controls-wrapper','map','bindTemplate','span','revisionActionsView','value','listenTo','createdAt','isHighlighted','extendTemplate','length','change','setName','isActionsDropdownOpen','5uXApdv','revisionNameView','63058YtQyrT','bind','9564sUtjDq','uiLanguage','ck-disabled','7iIFxGr','div','isSelected','_createdAtFormatted','ck-reset','24959DRYBrB','fieldView','highlight','filter','ck-revision-history-sidebar__revision_selected','render','from','creator','16qHBrQz','fire','name','663315gmppfO','srcElement','unshift','isConfirm','ck-revision-history-sidebar__revision__date','1666770uiYZKZ','set','select','613716FgzHcP','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-revision-history-sidebar__revision','ck-revision-history-sidebar__revision_highlighted','ck-revision-history-sidebar__actions_dropdown_open','.ck-thread__remove-confirm','ck-revision-history-sidebar__revision-wrapper','6156340PyHkAl','12xZKWdz','setTemplate','closest','220','authors','deselect','ck-revision-history-sidebar__revision-authors','isReady','isEnabled','_revision','3287727ZxPYCG'];_0x2622=function(){return _0x48de5e;};return _0x2622();}import _0x455d9a from'./revisionauthorview.js';import{dateToPrettyFormat as _0x4c623c}from'./utils.js';import{createActionsDropdownView as _0x451117}from'./createrevisionactionsdropdown.js';function _0x59af(_0x3e1109,_0x501d26){const _0x2622f7=_0x2622();return _0x59af=function(_0x59af11,_0x1fa021){_0x59af11=_0x59af11-0x1f0;let _0x4d7761=_0x2622f7[_0x59af11];return _0x4d7761;},_0x59af(_0x3e1109,_0x501d26);}import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x18ae4c(_0x551204){constructor(_0x42c36c,_0x21f662,_0x1631af,_0x362fb4){const _0x1c9a01=_0x59af;super(_0x42c36c);const _0xc185e4=this[_0x1c9a01(0x228)],_0x4a6e9e=function(_0x2ccdaa,_0x3adc3f){const _0x3d4907=_0x1c9a01,_0x4f3955=Array[_0x3d4907(0x203)](_0x3adc3f[_0x3d4907(0x21c)])[_0x3d4907(0x200)](_0x5437ef=>_0x5437ef!=_0x3adc3f[_0x3d4907(0x204)]);return _0x3adc3f[_0x3d4907(0x204)]&&_0x4f3955[_0x3d4907(0x20a)](_0x3adc3f[_0x3d4907(0x204)]),_0x4f3955[_0x3d4907(0x227)](_0x556748=>new _0x455d9a(_0x2ccdaa,_0x556748,_0x556748==_0x3adc3f[_0x3d4907(0x204)]));}(_0x42c36c,_0x21f662);this['id']=_0x21f662['id'],this[_0x1c9a01(0x221)]=_0x21f662,this[_0x1c9a01(0x223)]=_0x362fb4,this[_0x1c9a01(0x1f4)](_0x1c9a01(0x207),_0x1c9a01(0x22d))['to'](_0x21f662),this[_0x1c9a01(0x1f4)](_0x1c9a01(0x1fb))['to'](this,_0x1c9a01(0x22d),_0x48c056=>_0x4c623c(_0x42c36c[_0x1c9a01(0x1f6)],_0x48c056)),this[_0x1c9a01(0x20e)](_0x1c9a01(0x1fa),!0x1),this[_0x1c9a01(0x20e)](_0x1c9a01(0x22e),!0x1),this[_0x1c9a01(0x20e)](_0x1c9a01(0x1f0),!0x1),this[_0x1c9a01(0x20e)](_0x1c9a01(0x21f),!0x1),this[_0x1c9a01(0x20e)](_0x1c9a01(0x220),!0x1),this[_0x1c9a01(0x1f2)]=new _0x597472(_0x42c36c,_0x318f5f),this[_0x1c9a01(0x1f2)][_0x1c9a01(0x1fe)][_0x1c9a01(0x22f)]({'attributes':{'maxlength':_0x1c9a01(0x21b)}}),this[_0x1c9a01(0x1f2)][_0x1c9a01(0x1fe)][_0x1c9a01(0x1f4)](_0x1c9a01(0x22b))['to'](this,_0x1c9a01(0x207),_0x15ece9=>_0x15ece9||this[_0x1c9a01(0x1fb)]),this[_0x1c9a01(0x1f2)][_0x1c9a01(0x1f4)](_0x1c9a01(0x220))['to'](this,_0x1c9a01(0x1fa),this,_0x1c9a01(0x220),(_0x3a0c29,_0x347c05)=>_0x3a0c29&&_0x347c05),this[_0x1c9a01(0x22a)]=_0x1631af&&_0x1631af[_0x1c9a01(0x230)]?_0x451117(this,_0x1631af):'',this[_0x1c9a01(0x22a)]&&this[_0x1c9a01(0x22a)][_0x1c9a01(0x1f4)](_0x1c9a01(0x220))['to'](this),this[_0x1c9a01(0x219)]({'tag':_0x1c9a01(0x1f9),'attributes':{'class':['ck',_0x1c9a01(0x1fc),_0x1c9a01(0x216),_0xc185e4['if'](_0x1c9a01(0x20b),_0x1c9a01(0x211))]},'children':[{'tag':_0x1c9a01(0x1f9),'attributes':{'class':['ck',_0x1c9a01(0x1fc),_0x1c9a01(0x212),_0xc185e4['if'](_0x1c9a01(0x220),_0x1c9a01(0x1f7),_0x153130=>!_0x153130),_0xc185e4['if'](_0x1c9a01(0x1fa),_0x1c9a01(0x201)),_0xc185e4['if'](_0x1c9a01(0x22e),_0x1c9a01(0x213)),_0xc185e4['if'](_0x1c9a01(0x1f0),_0x1c9a01(0x214))]},'children':[this[_0x1c9a01(0x1f2)],{'tag':_0x1c9a01(0x229),'attributes':{'class':['ck',_0x1c9a01(0x20c)]},'children':[{'text':_0xc185e4['to'](_0x1c9a01(0x1fb))}]},{'tag':_0x1c9a01(0x1f9),'attributes':{'class':['ck',_0x1c9a01(0x226)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x1c9a01(0x21e)]},'children':_0x4a6e9e}]},this[_0x1c9a01(0x22a)]],'on':{'click':_0xc185e4['to'](_0x26e4a9=>{const _0x599dd4=_0x1c9a01;_0x26e4a9[_0x599dd4(0x209)][_0x599dd4(0x21a)](_0x599dd4(0x215))||this[_0x599dd4(0x21f)]&&this[_0x599dd4(0x220)]&&this[_0x599dd4(0x206)](_0x599dd4(0x20f),{'id':this['id']});})}}]});}[_0xc296b5(0x202)](){const _0x33bdd4=_0xc296b5;super[_0x33bdd4(0x202)]();const _0x4a5a07=this[_0x33bdd4(0x1f2)][_0x33bdd4(0x1fe)][_0x33bdd4(0x224)];this[_0x33bdd4(0x22c)](_0x4a5a07,_0x33bdd4(0x231),()=>{const _0xa2e668=_0x33bdd4;this[_0xa2e668(0x223)]&&!_0x4a5a07[_0xa2e668(0x22b)]||this[_0xa2e668(0x206)](_0xa2e668(0x232),{'id':this['id'],'name':_0x4a5a07[_0xa2e668(0x22b)]}),_0x4a5a07[_0xa2e668(0x22b)]||(_0x4a5a07[_0xa2e668(0x22b)]=this[_0xa2e668(0x207)]?this[_0xa2e668(0x207)]:this[_0xa2e668(0x1fb)]);});}[_0xc296b5(0x20f)](){const _0x1f67c4=_0xc296b5;this[_0x1f67c4(0x1fa)]=!0x0;}[_0xc296b5(0x21d)](){const _0xb6dd90=_0xc296b5;this[_0xb6dd90(0x1fa)]=!0x1;}[_0xc296b5(0x1ff)](){const _0x19117e=_0xc296b5;this[_0x19117e(0x22e)]=!0x0;}[_0xc296b5(0x225)](){const _0x582b7c=_0xc296b5;this[_0x582b7c(0x22e)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5e3785=_0x471a;(function(_0x4d84a1,_0x2c40e7){const _0x5c57f6=_0x471a,_0x5bb65f=_0x4d84a1();while(!![]){try{const _0x46ad04=parseInt(_0x5c57f6(0xca))/0x1*(-parseInt(_0x5c57f6(0xd4))/0x2)+parseInt(_0x5c57f6(0xc5))/0x3*(parseInt(_0x5c57f6(0xd1))/0x4)+parseInt(_0x5c57f6(0xc9))/0x5+-parseInt(_0x5c57f6(0xc0))/0x6+-parseInt(_0x5c57f6(0xbf))/0x7*(parseInt(_0x5c57f6(0xc1))/0x8)+-parseInt(_0x5c57f6(0xcf))/0x9*(-parseInt(_0x5c57f6(0xc8))/0xa)+-parseInt(_0x5c57f6(0xc7))/0xb*(-parseInt(_0x5c57f6(0xc6))/0xc);if(_0x46ad04===_0x2c40e7)break;else _0x5bb65f['push'](_0x5bb65f['shift']());}catch(_0x3e7ada){_0x5bb65f['push'](_0x5bb65f['shift']());}}}(_0x60f2,0x2ac93));import{View as _0x445a5e}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0x471a(_0x15a91c,_0x1a930d){const _0x60f2be=_0x60f2();return _0x471a=function(_0x471a3a,_0x41e997){_0x471a3a=_0x471a3a-0xbf;let _0x4ff566=_0x60f2be[_0x471a3a];return _0x4ff566;},_0x471a(_0x15a91c,_0x1a930d);}function _0x60f2(){const _0xb2e54c=['span','ck-revision-history-sidebar__subrevision-collapser','290313JhYSiD','button','31028qGAjyu','ck-revision-history-sidebar__subrevision-collapser_collapsed','true','20LhYUlW','toggle','set','bindTemplate','ck-revision-history-sidebar__subrevision-collapser__inner','_isCollapsed','55573nyFtqh','1177596hRKmOi','16caMLcr','setTemplate','false','ck-hidden','6hwqSdN','4411152WglftK','11ZRrFMS','10RJnOVi','392090lXkRmS','10639BdJrap','isVisible','click'];_0x60f2=function(){return _0xb2e54c;};return _0x60f2();}export default class ss extends _0x445a5e{constructor(_0xf57e1a){const _0x36e79f=_0x471a;super(_0xf57e1a);const _0xdaec1e=this[_0x36e79f(0xd7)];this[_0x36e79f(0xd6)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x36e79f(0xc2)]({'tag':_0x36e79f(0xcd),'attributes':{'class':['ck',_0x36e79f(0xce),_0xdaec1e['if'](_0x36e79f(0xcb),_0x36e79f(0xc4),_0x1f2dac=>!_0x1f2dac),_0xdaec1e['if'](_0x36e79f(0xd9),_0x36e79f(0xd2))],'role':_0x36e79f(0xd0),'aria-pressed':_0xdaec1e['to'](_0x36e79f(0xd9),_0x2b6282=>_0x2b6282?_0x36e79f(0xc3):_0x36e79f(0xd3))},'children':[{'tag':_0x36e79f(0xcd),'attributes':{'class':['ck',_0x36e79f(0xd8)]}}],'on':{'click':_0xdaec1e['to'](_0x36e79f(0xcc))}});}[_0x5e3785(0xd5)](){const _0x150f24=_0x5e3785;this[_0x150f24(0xd9)]=!this[_0x150f24(0xd9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x146fdf=_0x27b4;(function(_0x453322,_0x401a15){const _0x587898=_0x27b4,_0x516f5a=_0x453322();while(!![]){try{const _0x1dc261=-parseInt(_0x587898(0xe0))/0x1*(parseInt(_0x587898(0xda))/0x2)+-parseInt(_0x587898(0xe1))/0x3*(parseInt(_0x587898(0xd6))/0x4)+parseInt(_0x587898(0xdc))/0x5+-parseInt(_0x587898(0xd5))/0x6+parseInt(_0x587898(0xdd))/0x7+parseInt(_0x587898(0xd4))/0x8*(-parseInt(_0x587898(0xe4))/0x9)+parseInt(_0x587898(0xdb))/0xa;if(_0x1dc261===_0x401a15)break;else _0x516f5a['push'](_0x516f5a['shift']());}catch(_0x5c11ed){_0x516f5a['push'](_0x516f5a['shift']());}}}(_0x2a8e,0xe0a53));function _0x2a8e(){const _0x1b5062=['ck-revision-history-sidebar__subrevision','9npzQfN','ck-revision-history-sidebar__revision_selected','_createdAtFormatted','uiLanguage','deselect','span','div','bindTemplate','select','createdAt','set','creator','isSelected','setTemplate','ck-revision-history-sidebar__revision','12929944bFlGTJ','3800316GRYTqp','36qoRjyd','ck-revision-history-sidebar__revision__date','fire','_parentRevisionId','3381766rsKgBS','36260000gmCUtt','6506515gMmUNn','387898tBvTpY','ck-revision-history-sidebar__revision-authors','ck-reset','1YdbwZk','40686DxRPFy','bind'];_0x2a8e=function(){return _0x1b5062;};return _0x2a8e();}function _0x27b4(_0x1a5f21,_0x235513){const _0x2a8e46=_0x2a8e();return _0x27b4=function(_0x27b4e3,_0xe8ac7f){_0x27b4e3=_0x27b4e3-0xc8;let _0x57ad35=_0x2a8e46[_0x27b4e3];return _0x57ad35;},_0x27b4(_0x1a5f21,_0x235513);}import{View as _0x169f73}from'ckeditor5/src/ui.js';import _0xe8a967 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x1ac8b8}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x169f73{constructor(_0x5c42fa,_0xe76657,_0x2b56eb){const _0x9f8eb4=_0x27b4;super(_0x5c42fa);const _0x590973=this[_0x9f8eb4(0xcc)];this['id']=_0xe76657['id'],this[_0x9f8eb4(0xe2)](_0x9f8eb4(0xce))['to'](_0xe76657),this[_0x9f8eb4(0xcf)](_0x9f8eb4(0xd1),!0x1),this[_0x9f8eb4(0xe2)](_0x9f8eb4(0xe6))['to'](this,_0x9f8eb4(0xce),_0x596e0e=>_0x596e0e?_0x1ac8b8(_0x5c42fa[_0x9f8eb4(0xc8)],_0x596e0e):void 0x0),this[_0x9f8eb4(0xd9)]=_0x2b56eb,this[_0x9f8eb4(0xd2)]({'tag':_0x9f8eb4(0xcb),'attributes':{'class':['ck',_0x9f8eb4(0xdf),_0x9f8eb4(0xd3),_0x9f8eb4(0xe3),_0x590973['if'](_0x9f8eb4(0xd1),_0x9f8eb4(0xe5))]},'children':[{'tag':_0x9f8eb4(0xca),'attributes':{'class':['ck',_0x9f8eb4(0xd7)]},'children':[{'text':_0x590973['to'](_0x9f8eb4(0xe6))}]},{'tag':'ul','attributes':{'class':['ck',_0x9f8eb4(0xde)]},'children':[new _0xe8a967(_0x5c42fa,_0xe76657[_0x9f8eb4(0xd0)],!0x0)]}],'on':{'click':_0x590973['to'](this[_0x9f8eb4(0xcd)][_0x9f8eb4(0xe2)](this))}});}[_0x146fdf(0xcd)](){const _0x50e136=_0x146fdf;this[_0x50e136(0xd1)]=!0x0,this[_0x50e136(0xd8)](_0x50e136(0xcd),{'parentId':this[_0x50e136(0xd9)]});}[_0x146fdf(0xc9)](){const _0xa0a035=_0x146fdf;this[_0xa0a035(0xd1)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x258de6,_0x139956){var _0x476cff=_0x1ef8,_0x1345f0=_0x258de6();while(!![]){try{var _0x3fa784=parseInt(_0x476cff(0x12e))/0x1*(parseInt(_0x476cff(0x135))/0x2)+-parseInt(_0x476cff(0x137))/0x3*(-parseInt(_0x476cff(0x131))/0x4)+parseInt(_0x476cff(0x132))/0x5+parseInt(_0x476cff(0x12f))/0x6+-parseInt(_0x476cff(0x136))/0x7+parseInt(_0x476cff(0x133))/0x8*(-parseInt(_0x476cff(0x13a))/0x9)+-parseInt(_0x476cff(0x13b))/0xa;if(_0x3fa784===_0x139956)break;else _0x1345f0['push'](_0x1345f0['shift']());}catch(_0x35a3f6){_0x1345f0['push'](_0x1345f0['shift']());}}}(_0x1ee7,0x37c60));function _0x1ef8(_0x290d8c,_0xae66f0){var _0x1ee73e=_0x1ee7();return _0x1ef8=function(_0x1ef852,_0x5dd7e1){_0x1ef852=_0x1ef852-0x12e;var _0x36b7b1=_0x1ee73e[_0x1ef852];return _0x36b7b1;},_0x1ef8(_0x290d8c,_0xae66f0);}export function dateToPrettyFormat(_0x13aeea,_0x4a1a06){var _0x370e3c=_0x1ef8;return _0x4a1a06[_0x370e3c(0x134)](_0x13aeea,{'month':_0x370e3c(0x139),'day':_0x370e3c(0x138)})+',\x20'+_0x4a1a06[_0x370e3c(0x130)](_0x13aeea,{'hour':_0x370e3c(0x138),'minute':_0x370e3c(0x138)});}function _0x1ee7(){var _0x2ac25c=['1160082anIZHs','3idxKZE','numeric','long','9qUtKQY','904220KvoasW','446627yiOIHP','380556PRoXCS','toLocaleTimeString','388264lCnjBG','1017170xggDMn','2607656DxLBve','toLocaleDateString','2kcVvbi'];_0x1ee7=function(){return _0x2ac25c;};return _0x1ee7();}
|