@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240611.0 → 0.0.0-nightly-20240613.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.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 +5 -5
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x500d49=_0x1fde;(function(_0x48c6e2,_0x547f06){const _0x3a8efd=_0x1fde,_0x219753=_0x48c6e2();while(!![]){try{const _0x202142=-parseInt(_0x3a8efd(0xb8))/0x1*(-parseInt(_0x3a8efd(0xb9))/0x2)+parseInt(_0x3a8efd(0x1dc))/0x3*(-parseInt(_0x3a8efd(0x1e3))/0x4)+parseInt(_0x3a8efd(0x18a))/0x5*(-parseInt(_0x3a8efd(0x10e))/0x6)+-parseInt(_0x3a8efd(0xe8))/0x7+-parseInt(_0x3a8efd(0x10d))/0x8+parseInt(_0x3a8efd(0x1c1))/0x9*(parseInt(_0x3a8efd(0xf1))/0xa)+parseInt(_0x3a8efd(0xc2))/0xb;if(_0x202142===_0x547f06)break;else _0x219753['push'](_0x219753['shift']());}catch(_0x487aa8){_0x219753['push'](_0x219753['shift']());}}}(_0x5a76,0x9e733));import{Plugin as _0x5d41b8,Command as _0x1f112a}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2aa958}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x52589e}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x3c1726,Element as _0x3861fc,Text as _0x279c66,ViewDocumentFragment as _0x53ac3b,ViewText as _0xfee656,ViewElement as _0x3e5689,ViewContainerElement as _0x22cdec,ViewAttributeElement as _0x55a2ac,ViewEmptyElement as _0x86d77b,ViewRawElement as _0x4fc667,ViewUIElement as _0x56da71}from'ckeditor5/src/engine.js';import{Users as _0x480a79,getMarkerDomElement as _0x181a0b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x9a512d from'./ui/revisionviewer/changedetailsview.js';import _0x24da2b from'./revisionsrepository.js';import _0x47f120 from'./changeitem.js';import{default as _0x59436a}from'./revisiondiff.js';function _0x1fde(_0x599a1e,_0x19dfa5){const _0x5a76b4=_0x5a76();return _0x1fde=function(_0x1fdea4,_0x188083){_0x1fdea4=_0x1fdea4-0xa2;let _0x1513bd=_0x5a76b4[_0x1fdea4];return _0x1513bd;},_0x1fde(_0x599a1e,_0x19dfa5);}import'../theme/revisionviewer.css';function _0x5a76(){const _0x3d5122=['startIndex','enqueueChange','pluginName','indexOf','slice','_data','compare','addClass','2934445DuSyDB','start','config','nextPosition','WidgetToolbarRepository','dataDowncast','_makeTape','getRoot','ck-suggestion-marker-','numberOfChanges','nextSibling','createPositionFromPath','RevisionsRepository','abs','isAttached','getIndex','_fixObsoleteTags','bind','processor','downcastDispatcher','getRevisionData','_revisions','sort','nodeAfter','isRemoveSuggestion','right','isAddSuggestion','rootName','revision-end','getClientRects','string','_setConversion','ck-suggestion-marker','_sortAndFilterDiffChanges','createAttributeElement','ck-revision-history-root-','_update','toViewElement','writer','change:numberOfChanges','isOnRoot','useFillerType','_processTape','execute','range','deletions','markerName','ck-suggestion-marker-merge','document','createPositionBefore','setAttribute','change','markers','push','parse','57843BSgoqE','_step','isSuggestion','shift','maxOffset','isIncorrect','destroy','isLimit','refresh','isObject','currentChangeNumber','ck-revision-history-root-add','domConverter','plugins','span','add','addMarker:revision-suggestion:deletion','all','resolve','type','return','roots','revision-suggestion','isReady','ck-suggestion-marker--active','userId','_changeIdToChange','3864801cbbJiG','changeId','toViewRange','then','for','isCollapsed','previousPosition','4DYhGyv','softBreak','collaboration.channelId','offsetSize','revision-start','highest','object','getAttributes','suggestion:','loadRevisionData','mapper','enableReadOnlyMode','high','isEnabled','reconvertMarker','splice','_getDiff','ck-suggestion-marker-split','set','_appendChild','includes','-new','code','init','mouseover','markerRange','affectsData','bindElementToMarker','locale','createUIElement','parent','domEvent','elementEnd','detachRoot','authors','target','pop','1yxHoVu','417230EEPhVt','comment','ck-suggestion-preview-marker-','_cleanMarkers','startsWith','endIndex','hasAttribute','isBefore','side','42337988PTiGLN','index','attributesAfter','showNextChange','error','stop','unbindElementFromMarkerName','isEqual','_removeRevisionMarkers','_refreshStartEndIndex','restoreRevision','removeAttribute','_markMismatchedRemovedTags','oldRevisionId','_activeViewTarget','adapter','data-change-id','hasClass','dataToMarker','updatePosition','consumable','catch','markerToData','changes','clear','activeChange','flat','suggestion','deletion','isAdded','change:activeView','editing','getRevision','addRoot','showPreviousChange','getItems','modelRange','ck-revision-history-root-remove','3180471eSGTqN','_initInteractions','backward','upcast','view','addMarker:revision-suggestion:insertion','delete','uiElement','change:activeChange','190opPJuO','diffData','schema','forceDisabled','_threeWayMerge','forward','getDomRoot','requires','_removeMissingPairs','revision-comment:','from','revisionHistoryLabel','attributes','checkAttribute','concat','revision','revisionHistoryAttachChange','_findChangeIdFromDomTarget','keys','listenTo','insertions','ck-editor__editable__overlay','getChild','removeMarker:revision','_markMarkers','vid','ck-suggestion-preview-marker','isAtEnd','9608928JoVKnR','6CKWzZI','wrap','length','split','first','addRevisionData','insertion','values','_balloon','restoreRevisionCallback','change:isEnabled','getCustomProperty','markerNameToElements','toViewPosition','viewItem','_getViewObj','selection','data','mousedown','removeMarker:revision-suggestion','addMarker:revision','map','_markInsertions','_getRevisionsRange','merge','conversion','revisionHistory','_changeView','remove','isBlock','default','getWalker','elementStart','vid_end','top','commands','removeMarker','addRevision','addHighlight','unshift','text','repository','getRootNames','isNavigationMode','toData','diff','data-revision-','name','_markSuggestions','test','ck-revision-history-root--active','toModel','left','model','markersStart','insert','done','get','removeClass','end','isAfter','markerToHighlight','getAttribute','find','_makeModelFromTape','elementToAttribute','_getViewForChange','consume','RevisionViewer','attributesBefore','_setChanges','next','marked','isAtStart','activeView','forEach','findIndex','mapViewToDom','revision-viewer','distance','change:isReady','_cleanUp','markersEnd','attachChange','isContent','createRange','element','_getChangeFromId','item','has','editor','_joinTapes','observeMarkers','attribute:vid','level','createRevision','_setDistance','_makeModelFromViewString','createRangeIn','low','isInline','filter','bottom','revision-suggestion:','showStack','children','editingDowncast','isRemoved','vid_start','getRevisionRootsAttributes','element:pre','newRevisionId','POSITIVE_INFINITY','_removeUnsupportedChanges','revision:','pairId'];_0x5a76=function(){return _0x3d5122;};return _0x5a76();}import{cloneDeep as _0x1d2dd9}from'lodash-es';const tt={'c':_0x22cdec,'a':_0x55a2ac,'e':_0x86d77b,'r':_0x4fc667,'u':_0x56da71};export default class d extends _0x5d41b8{static get[_0x500d49(0x184)](){const _0x115ff6=_0x500d49;return _0x115ff6(0x152);}static get[_0x500d49(0xf8)](){return[_0x480a79,_0x52589e,_0x24da2b];}constructor(_0x29425a){const _0x48ff75=_0x500d49;super(_0x29425a),this[_0x48ff75(0x137)]=this[_0x48ff75(0x168)][_0x48ff75(0x1ce)][_0x48ff75(0x147)](_0x48ff75(0x196)),this[_0x48ff75(0xa5)](_0x48ff75(0xdb),null),this[_0x48ff75(0xa5)](_0x48ff75(0x158),null),this[_0x48ff75(0xd0)]=null,this[_0x48ff75(0xa5)](_0x48ff75(0x13b),null),this[_0x48ff75(0xa5)](_0x48ff75(0x1d8),!0x1),this[_0x48ff75(0xa5)](_0x48ff75(0x1f0),!0x0),this['on'](_0x48ff75(0x118),(_0x348866,_0x46e568,_0x3da59e)=>{const _0x14b23e=_0x48ff75;this[_0x14b23e(0xdb)]=null,this[_0x14b23e(0x158)]=null,this[_0x14b23e(0x168)][_0x14b23e(0xe1)][_0x14b23e(0xec)][_0x14b23e(0x1bd)](_0x44ea9e=>{const _0x4f17c0=_0x14b23e;for(const _0x2cc748 of this[_0x4f17c0(0x168)][_0x4f17c0(0xe1)][_0x4f17c0(0xec)][_0x4f17c0(0x1ba)][_0x4f17c0(0x1d6)])_0x3da59e?_0x44ea9e[_0x4f17c0(0x148)](_0x4f17c0(0x106),_0x2cc748):_0x44ea9e[_0x4f17c0(0x189)](_0x4f17c0(0x106),_0x2cc748);});}),this[_0x48ff75(0x19b)](_0x48ff75(0x139))['to'](this,_0x48ff75(0xdb),_0x188534=>null!==_0x188534),this[_0x48ff75(0x19b)](_0x48ff75(0x1cb))['to'](this,_0x48ff75(0x1d8),this,_0x48ff75(0x13b),this,_0x48ff75(0xdb),(_0x5dd505,_0x5816ec,_0x1b1dea)=>_0x5dd505&&_0x1b1dea?_0x5816ec[_0x48ff75(0xd9)][_0x48ff75(0x199)](_0x1b1dea):0x0),this[_0x48ff75(0x19b)](_0x48ff75(0x193))['to'](this,_0x48ff75(0x1d8),this,_0x48ff75(0x13b),(_0x44c56a,_0x5c59c8)=>_0x44c56a?_0x5c59c8[_0x48ff75(0xd9)][_0x48ff75(0x110)]:0x0),this[_0x48ff75(0x129)]=null,this[_0x48ff75(0x1db)]=new Map(),this[_0x48ff75(0xd1)]=null,this[_0x48ff75(0x116)]=this[_0x48ff75(0x168)][_0x48ff75(0x1ce)][_0x48ff75(0x147)](_0x52589e);}[_0x500d49(0xaa)](){const _0x3f998c=_0x500d49,_0x3a402a=this[_0x3f998c(0x168)],_0x2bef74=new ShowChangeCommand(_0x3a402a,{'direction':_0x3f998c(0xea)}),_0x5acd93=new ShowChangeCommand(_0x3a402a,{'direction':_0x3f998c(0xf6)});(_0x3a402a[_0x3f998c(0x131)][_0x3f998c(0x1d0)](_0x3f998c(0xe4),_0x2bef74),_0x3a402a[_0x3f998c(0x131)][_0x3f998c(0x1d0)](_0x3f998c(0xc5),_0x5acd93),_0x3a402a[_0x3f998c(0x131)][_0x3f998c(0x1d0)](_0x3f998c(0xcc),new RestoreRevisionCommand(_0x3a402a)),this['on'](_0x3f998c(0x1b1),()=>{const _0x351ca0=_0x3f998c;_0x2bef74[_0x351ca0(0x1c9)](),_0x5acd93[_0x351ca0(0x1c9)]();}),this[_0x3f998c(0x1a9)](),this[_0x3f998c(0xe9)](),_0x3a402a[_0x3f998c(0x1ee)](_0x3f998c(0x15c)),_0x3a402a[_0x3f998c(0x1ce)][_0x3f998c(0x167)](_0x3f998c(0x18e)))&&_0x3a402a[_0x3f998c(0x1ce)][_0x3f998c(0x147)](_0x3f998c(0x18e))[_0x3f998c(0xf4)](_0x3f998c(0x15c));}async[_0x500d49(0x19e)](_0xf3e727){const _0x288286=_0x500d49;await this[_0x288286(0x1ec)](_0xf3e727);const _0x4e883f={};for(const _0x25dde6 in _0xf3e727[_0x288286(0xf2)]){if(_0xf3e727[_0x288286(0xf2)][_0x25dde6][_0x288286(0x161)]&&!_0xf3e727[_0x288286(0xf2)][_0x25dde6][_0x288286(0x161)][_0x288286(0x198)])continue;const _0x285e3c=this[_0x288286(0xca)](JSON[_0x288286(0x1c0)](_0xf3e727[_0x288286(0xf2)][_0x25dde6][_0x288286(0x105)])),_0x7e6a69=this[_0x288286(0x168)][_0x288286(0xe1)][_0x288286(0xec)][_0x288286(0x1ba)],_0x4040a3=new _0x53ac3b(_0x7e6a69,_0x285e3c[_0x288286(0x123)](_0x2ea73e=>this[_0x288286(0x11d)](_0x2ea73e)));this[_0x288286(0x168)][_0x288286(0x11f)][_0x288286(0x19c)][_0x288286(0x1b3)](_0x288286(0x156)),_0x4e883f[_0x25dde6]=this[_0x288286(0x168)][_0x288286(0x11f)][_0x288286(0x19c)][_0x288286(0x13a)](_0x4040a3),this[_0x288286(0x168)][_0x288286(0x11f)][_0x288286(0x19c)][_0x288286(0x1b3)](_0x288286(0x12c));}return _0x4e883f;}async[_0x500d49(0x17b)](_0x3a3a79){const _0x2fbdef=_0x500d49;await this[_0x2fbdef(0x1ec)](_0x3a3a79);const _0x27f842={};for(const _0x2d2f86 in _0x3a3a79[_0x2fbdef(0xf2)])_0x3a3a79[_0x2fbdef(0xf2)][_0x2d2f86][_0x2fbdef(0x161)]&&!_0x3a3a79[_0x2fbdef(0xf2)][_0x2d2f86][_0x2fbdef(0x161)][_0x2fbdef(0x198)]||(_0x27f842[_0x2d2f86]=_0x3a3a79[_0x2fbdef(0xf2)][_0x2d2f86][_0x2fbdef(0xc4)]||{});return _0x27f842;}[_0x500d49(0xca)](_0x20485e){const _0x3f8c4b=_0x500d49;return(_0x20485e=_0x20485e[_0x3f8c4b(0x173)](_0x45c339=>!_0x45c339[_0x3f8c4b(0x13d)]||_0x3f8c4b(0x1e7)!==_0x45c339[_0x3f8c4b(0x13d)]&&_0x3f8c4b(0x1a6)!==_0x45c339[_0x3f8c4b(0x13d)]))[_0x3f8c4b(0x159)](_0x86353d=>{const _0x45bbf7=_0x3f8c4b;_0x45bbf7(0x1a8)!=typeof _0x86353d&&(_0x86353d[_0x45bbf7(0x177)]=this[_0x45bbf7(0xca)](_0x86353d[_0x45bbf7(0x177)]),_0x86353d[_0x45bbf7(0xfd)]=_0x86353d[_0x45bbf7(0xfd)][_0x45bbf7(0x173)](_0x346c4b=>!_0x346c4b[0x0][_0x45bbf7(0xbd)](_0x45bbf7(0x13c))));}),_0x20485e;}async[_0x500d49(0x188)](_0x5bd8c4,_0xf5ba8a,_0x1804c=!0x1){const _0xb5772e=_0x500d49;if(!this[_0xb5772e(0x1f0)])return;const _0x5ad4ac=this[_0xb5772e(0x13b)],_0x25c76d=this[_0xb5772e(0x137)],_0x13e990=_0xb5772e(0x1a8)==typeof _0x5bd8c4?_0x25c76d[_0xb5772e(0xe2)](_0x5bd8c4):_0x5bd8c4,_0x4c961c=_0xb5772e(0x1a8)==typeof _0xf5ba8a?_0x25c76d[_0xb5772e(0xe2)](_0xf5ba8a):_0xf5ba8a,_0x4b49e2=_0x13e990['id'],_0x54137d=_0x4c961c?_0x4c961c['id']:null;if(!_0x1804c&&this[_0xb5772e(0x13b)]&&this[_0xb5772e(0x13b)][_0xb5772e(0x17d)]===_0x4b49e2&&this[_0xb5772e(0x13b)][_0xb5772e(0xcf)]===_0x54137d)return Promise[_0xb5772e(0x1d3)]();this[_0xb5772e(0x1d8)]=!0x1,this[_0xb5772e(0x158)]=null,this[_0xb5772e(0xdb)]=null,this[_0xb5772e(0x13b)]=new _0x59436a(_0x4b49e2,_0x54137d);const _0x2d4f3e=this[_0xb5772e(0x125)](_0x13e990,_0x4c961c,!0x0)[_0xb5772e(0x123)](_0x655a90=>this[_0xb5772e(0x1ec)](_0x655a90));return _0x2d4f3e[_0xb5772e(0x1bf)](new Promise(_0x672f12=>{setTimeout(_0x672f12,0x14);})),Promise[_0xb5772e(0x1d2)](_0x2d4f3e)[_0xb5772e(0x1df)](()=>{const _0xb97654=_0xb5772e;if(!this[_0xb97654(0x1f0)])return;this[_0xb97654(0x15f)]();const _0x56e256=this[_0xb97654(0xa3)](_0x4b49e2,_0x54137d);for(const _0x46490f of _0x56e256[_0xb97654(0xd9)])this[_0xb97654(0x1db)][_0xb97654(0xa5)](_0x46490f['id'],_0x46490f);this[_0xb97654(0x168)][_0xb97654(0x143)][_0xb97654(0x183)]({'isUndoable':!0x1},_0x52903b=>{const _0x1c47bf=_0xb97654;for(const _0x395371 of this[_0x1c47bf(0x168)][_0x1c47bf(0x143)][_0x1c47bf(0x1ba)][_0x1c47bf(0x138)]())_0x52903b[_0x1c47bf(0xb4)](_0x395371);for(const _0x3a3aef of Object[_0x1c47bf(0x103)](_0x56e256[_0x1c47bf(0x143)])){const _0x211abd=_0x52903b[_0x1c47bf(0xe3)](_0x3a3aef);for(const _0x445cfb of Object[_0x1c47bf(0x103)](_0x56e256[_0x1c47bf(0xfd)][_0x3a3aef]))_0x52903b[_0x1c47bf(0x1bc)](_0x445cfb,_0x56e256[_0x1c47bf(0xfd)][_0x3a3aef][_0x445cfb],_0x211abd);_0x52903b[_0x1c47bf(0x145)](_0x56e256[_0x1c47bf(0x143)][_0x3a3aef],_0x211abd,0x0);}}),this[_0xb97654(0x13b)][_0xb97654(0x154)](this[_0xb97654(0x1ab)](_0x56e256[_0xb97654(0xd9)])),this[_0xb97654(0x1d8)]=!0x0;})[_0xb5772e(0xd7)](_0x337ce3=>{const _0x23e4aa=_0xb5772e;console[_0x23e4aa(0xc6)](_0x337ce3),this[_0x23e4aa(0x15f)](),_0x5ad4ac&&(this[_0x23e4aa(0x13b)]=_0x5ad4ac),this[_0x23e4aa(0x1d8)]=!0x0;});}[_0x500d49(0x113)](_0x41dcf,_0x4b0295){const _0x497eb4=_0x500d49,_0xb2aaef=this[_0x497eb4(0x137)][_0x497eb4(0x16d)](_0x41dcf);return _0xb2aaef['on'](_0x497eb4(0x1ae),(_0x5893e6,_0x2603aa,_0x584538)=>_0x4b0295(_0x2603aa,_0x584538,_0xb2aaef)),this[_0x497eb4(0x137)][_0x497eb4(0x133)](_0xb2aaef),_0xb2aaef;}[_0x500d49(0x1ec)](_0x5228f2){const _0x2a5e54=_0x500d49;if(!_0x5228f2||_0x5228f2[_0x2a5e54(0xf2)])return Promise[_0x2a5e54(0x1d3)]();{const _0x35b914=this[_0x2a5e54(0x168)][_0x2a5e54(0x18c)][_0x2a5e54(0x147)](_0x2a5e54(0x1e5));return this[_0x2a5e54(0xd1)][_0x2a5e54(0xe2)]({'channelId':_0x35b914,'revisionId':_0x5228f2['id']})[_0x2a5e54(0x1df)](_0x525278=>{const _0x578770=_0x2a5e54;_0x5228f2[_0x578770(0x1ae)]({'diffData':_0x525278[_0x578770(0xf2)]},!0x0);});}}[_0x500d49(0x15f)](){const _0x31e05a=_0x500d49;this[_0x31e05a(0xdb)]=null,this[_0x31e05a(0xbc)](),this[_0x31e05a(0x129)]&&this[_0x31e05a(0x129)][_0x31e05a(0x1c7)](),this[_0x31e05a(0x129)]=null,this[_0x31e05a(0x1db)][_0x31e05a(0xda)](),this[_0x31e05a(0x168)][_0x31e05a(0x143)][_0x31e05a(0x183)]({'isUndoable':!0x1},_0x1728fe=>{const _0xd2bd65=_0x31e05a;for(const _0x49591c of this[_0xd2bd65(0x168)][_0xd2bd65(0x143)][_0xd2bd65(0x1ba)][_0xd2bd65(0x138)]())_0x1728fe[_0xd2bd65(0xb4)](_0x49591c);});}[_0x500d49(0x1ab)](_0x480400){const _0x4b383e=_0x500d49,_0x58ed94=[],_0x4dc25c=new Map();for(const _0x506d31 of this[_0x4b383e(0x168)][_0x4b383e(0x143)][_0x4b383e(0x1ba)][_0x4b383e(0x138)]()){const _0x1bdf35=this[_0x4b383e(0x168)][_0x4b383e(0xe1)][_0x4b383e(0xec)][_0x4b383e(0xf7)](_0x506d31);if(!_0x1bdf35)continue;const _0x2d2ab4=_0x1bdf35[_0x4b383e(0x1a7)]()[_0x4b383e(0x166)](0x0);_0x2d2ab4&&(_0x58ed94[_0x4b383e(0x1bf)](_0x506d31),_0x4dc25c[_0x4b383e(0xa5)](_0x506d31,_0x2d2ab4));}return _0x58ed94[_0x4b383e(0x1a0)]((_0x411978,_0x660da0)=>{const _0x2d332c=_0x4b383e,_0x424f22=_0x4dc25c[_0x2d332c(0x147)](_0x411978),_0x80028f=_0x4dc25c[_0x2d332c(0x147)](_0x660da0);return _0x424f22['y']-_0x80028f['y']||_0x424f22['x']-_0x80028f['x'];}),(_0x480400=_0x480400[_0x4b383e(0x173)](_0x3a890a=>_0x58ed94[_0x4b383e(0xa7)](_0x3a890a[_0x4b383e(0x1a5)])))[_0x4b383e(0x1a0)]((_0x1dba97,_0x37d4fb)=>_0x58ed94[_0x4b383e(0x185)](_0x1dba97[_0x4b383e(0x1a5)])-_0x58ed94[_0x4b383e(0x185)](_0x37d4fb[_0x4b383e(0x1a5)])),_0x480400;}[_0x500d49(0x190)](_0x3bc686){const _0x29d0f0=_0x500d49,_0x1697b9=Array[_0x29d0f0(0xfb)](_0x3bc686[_0x29d0f0(0x1be)])[_0x29d0f0(0x173)](([_0x1dc726,_0x23d800])=>_0x1dc726[_0x29d0f0(0xbd)](_0x29d0f0(0x180))&&!_0x23d800[_0x29d0f0(0x1e1)]),_0x53bc9e=Array[_0x29d0f0(0xfb)](this[_0x29d0f0(0x168)][_0x29d0f0(0x143)][_0x29d0f0(0x170)](_0x3bc686)[_0x29d0f0(0x12d)]({'singleCharacters':!0x0}));if(0x0!=_0x1697b9[_0x29d0f0(0x110)])for(const _0x1b3d9a of _0x53bc9e){const [_0x34e771,_0x3406dc]=_0x1697b9[0x0],[,_0x4f8c28,_0x2ed601]=_0x34e771[_0x29d0f0(0x111)](':');if(_0x3406dc[_0x29d0f0(0x149)][_0x29d0f0(0xc9)](_0x1b3d9a[_0x29d0f0(0x18d)])&&_0x1697b9[_0x29d0f0(0x1c4)](),(_0x1b3d9a[_0x29d0f0(0x1e2)][_0x29d0f0(0xc9)](_0x3406dc[_0x29d0f0(0x18b)])||_0x1b3d9a[_0x29d0f0(0x1e2)][_0x29d0f0(0x14a)](_0x3406dc[_0x29d0f0(0x18b)]))&&(_0x29d0f0(0x114)==_0x4f8c28?_0x1b3d9a[_0x29d0f0(0xdf)]={'userId':_0x2ed601}:_0x29d0f0(0xde)==_0x4f8c28&&(_0x1b3d9a[_0x29d0f0(0x179)]={'userId':_0x2ed601})),0x0==_0x1697b9[_0x29d0f0(0x110)])break;}return _0x53bc9e;}[_0x500d49(0xcb)](_0x473fc4){const _0xde5d2a=_0x500d49,_0x119458=new Map();for(let _0x379cce=0x0;_0x379cce<_0x473fc4[_0xde5d2a(0x110)];_0x379cce++)_0xde5d2a(0x136)===_0x473fc4[_0x379cce][_0xde5d2a(0x1d4)]?(_0x473fc4[_0x379cce][_0xde5d2a(0x166)][_0xde5d2a(0x182)]=_0x379cce,_0x473fc4[_0x379cce][_0xde5d2a(0x166)][_0xde5d2a(0xbe)]=_0x379cce):(_0xde5d2a(0x12e)===_0x473fc4[_0x379cce][_0xde5d2a(0x1d4)]?_0x473fc4[_0x379cce][_0xde5d2a(0x166)][_0xde5d2a(0x182)]=_0x379cce:_0xde5d2a(0xb3)===_0x473fc4[_0x379cce][_0xde5d2a(0x1d4)]&&(_0x473fc4[_0x379cce][_0xde5d2a(0x166)][_0xde5d2a(0xbe)]=_0x379cce),_0x119458[_0xde5d2a(0xa5)](_0x473fc4[_0x379cce]['id'],_0x379cce));for(const _0x394342 of _0x119458[_0xde5d2a(0x115)]())_0xde5d2a(0x12e)===_0x473fc4[_0x394342][_0xde5d2a(0x1d4)]?_0x473fc4[_0x394342][_0xde5d2a(0x166)][_0xde5d2a(0xbe)]=_0x119458[_0xde5d2a(0x147)](_0x473fc4[_0x394342][_0xde5d2a(0x181)]):_0xde5d2a(0xb3)===_0x473fc4[_0x394342][_0xde5d2a(0x1d4)]&&(_0x473fc4[_0x394342][_0xde5d2a(0x166)][_0xde5d2a(0x182)]=_0x119458[_0xde5d2a(0x147)](_0x473fc4[_0x394342][_0xde5d2a(0x181)]));}[_0x500d49(0x1b4)](_0xd7344a){const _0x46152=_0x500d49;for(let _0x228d47=0x0;_0x228d47<_0xd7344a[_0x46152(0x110)];_0x228d47++){if(_0x46152(0x12e)===_0xd7344a[_0x228d47][_0x46152(0x1d4)])_0xd7344a[_0x228d47][_0x46152(0x166)][_0x46152(0x182)]=_0x228d47;else{if(_0x46152(0xb3)===_0xd7344a[_0x228d47][_0x46152(0x1d4)]){_0xd7344a[_0x228d47][_0x46152(0x166)][_0x46152(0xbe)]=_0x228d47;const _0x219d49=_0xd7344a[_0x228d47][_0x46152(0x166)][_0x46152(0x182)];_0xd7344a[_0x219d49][_0x46152(0x181)]=_0xd7344a[_0x228d47]['id'],_0xd7344a[_0x228d47][_0x46152(0x181)]=_0xd7344a[_0x219d49]['id'];}else _0xd7344a[_0x228d47][_0x46152(0x166)][_0x46152(0x182)]=_0x228d47,_0xd7344a[_0x228d47][_0x46152(0x166)][_0x46152(0xbe)]=_0x228d47,_0xd7344a[_0x228d47][_0x46152(0x181)]=null;}_0xd7344a[_0x228d47][_0x46152(0x144)]||(_0xd7344a[_0x228d47][_0x46152(0x144)]=[],_0xd7344a[_0x228d47][_0x46152(0x160)]=[]);}}[_0x500d49(0x124)](_0x2e2ab3,_0x378b3d){const _0x4f834b=_0x500d49,_0x4bce60=_0x2e2ab3[_0x4f834b(0x173)](_0x3fd5de=>!_0x3fd5de[_0x4f834b(0xdf)]);for(let _0x1ac07c=0x0;_0x1ac07c<_0x378b3d[_0x4f834b(0x110)];_0x1ac07c++)_0x378b3d[_0x1ac07c][_0x4f834b(0xdf)]&&(_0x4bce60[_0x1ac07c][_0x4f834b(0xdf)]=_0x378b3d[_0x1ac07c][_0x4f834b(0xdf)]);}[_0x500d49(0x16f)](_0x2c1df2){const _0x45a42f=_0x500d49,_0x823ead=JSON[_0x45a42f(0x1c0)](_0x2c1df2),_0x66192a=this[_0x45a42f(0x168)][_0x45a42f(0xe1)][_0x45a42f(0xec)][_0x45a42f(0x1ba)],_0xf3e71=new _0x53ac3b(_0x66192a,_0x823ead[_0x45a42f(0x123)](_0x87892b=>this[_0x45a42f(0x11d)](_0x87892b)));return this[_0x45a42f(0x168)][_0x45a42f(0x11f)][_0x45a42f(0x141)](_0xf3e71);}[_0x500d49(0x11d)](_0x15d251){const _0x48e3e4=_0x500d49,_0x5cb943=this[_0x48e3e4(0x168)][_0x48e3e4(0xe1)][_0x48e3e4(0xec)][_0x48e3e4(0x1ba)];if(_0x48e3e4(0x1a8)==typeof _0x15d251)return new _0xfee656(_0x5cb943,_0x15d251);{const _0x4e1e3e=_0x15d251[_0x48e3e4(0x177)][_0x48e3e4(0x123)](_0x45ef7e=>this[_0x48e3e4(0x11d)](_0x45ef7e));return new(tt[_0x15d251[(_0x48e3e4(0x1d4))]]||_0x3e5689)(_0x5cb943,_0x15d251[_0x48e3e4(0x13d)],_0x15d251[_0x48e3e4(0xfd)],_0x4e1e3e);}}[_0x500d49(0xa3)](_0x135805,_0x55b49b=null){const _0x154945=_0x500d49,_0x1112c8=this[_0x154945(0x137)][_0x154945(0xe2)](_0x135805),_0x488fec=_0x55b49b?this[_0x154945(0x137)][_0x154945(0xe2)](_0x55b49b):null,_0x40c12a=this[_0x154945(0x125)](_0x1112c8,_0x488fec),_0x21c3f5=_0x40c12a[_0x40c12a[_0x154945(0x110)]-0x1],_0x2fef91=new Map(),_0x558386={'model':{},'attributes':{},'changes':[]},_0x55f57f=new Set(),_0x5b07ed=new Map();for(let _0x43f30b=_0x40c12a[_0x154945(0x110)]-0x1;_0x43f30b>=0x0;_0x43f30b--){const _0x2222a2=_0x40c12a[_0x43f30b];for(const _0x3afe8d of Object[_0x154945(0x103)](_0x2222a2[_0x154945(0xf2)]))if(_0x2222a2[_0x154945(0xf2)][_0x3afe8d][_0x154945(0x161)]){const _0x5b72b8=_0x2222a2[_0x154945(0xf2)][_0x3afe8d][_0x154945(0x161)];_0x5b72b8[_0x154945(0x198)]?(_0x55f57f[_0x154945(0x1d0)](_0x3afe8d),_0x5b07ed[_0x154945(0x167)](_0x3afe8d)&&_0x5b07ed[_0x154945(0x147)](_0x3afe8d)[_0x154945(0x1da)]==_0x5b72b8[_0x154945(0x1da)]?_0x5b07ed[_0x154945(0xee)](_0x3afe8d):_0x5b07ed[_0x154945(0xa5)](_0x3afe8d,_0x5b72b8)):_0x5b07ed[_0x154945(0x167)](_0x3afe8d)?(_0x55f57f[_0x154945(0xee)](_0x3afe8d),_0x5b07ed[_0x154945(0xee)](_0x3afe8d)):(_0x55f57f[_0x154945(0x1d0)](_0x3afe8d),_0x5b07ed[_0x154945(0xa5)](_0x3afe8d,_0x5b72b8));}else _0x55f57f[_0x154945(0x1d0)](_0x3afe8d);}for(const _0x381a4d of _0x55f57f){const _0x9b934e=_0x5b07ed[_0x154945(0x167)](_0x381a4d)&&!_0x5b07ed[_0x154945(0x147)](_0x381a4d)[_0x154945(0x198)];let _0x54d55e=_0x9b934e?_0x40c12a[_0x154945(0x110)]-0x1:0x0;const _0x3536f9=_0x9b934e?-0x1:0x1;for(;_0x40c12a[_0x54d55e];){const _0x10dc33=_0x40c12a[_0x54d55e];if(_0x10dc33[_0x154945(0xf2)][_0x381a4d]){const _0x4e9657=_0x9b934e?_0x10dc33[_0x154945(0xf2)][_0x381a4d][_0x154945(0x153)]:_0x10dc33[_0x154945(0xf2)][_0x381a4d][_0x154945(0xc4)];_0x558386[_0x154945(0xfd)][_0x381a4d]=_0x4e9657?_0x1d2dd9(_0x4e9657):{};break;}_0x54d55e+=_0x3536f9;}}for(const _0x14d2fb of _0x40c12a){_0x14d2fb[_0x154945(0x143)]={};for(const _0x5f3263 of _0x14d2fb[_0x154945(0xb5)])_0x2fef91[_0x154945(0xa5)](_0x5f3263['id'],_0x5f3263);for(const _0x3e92a3 of _0x55f57f){const _0x7334ea=_0x14d2fb[_0x154945(0xf2)][_0x3e92a3]?_0x14d2fb[_0x154945(0xf2)][_0x3e92a3][_0x154945(0x105)]:'[]',_0x4ee5de=_0x14d2fb[_0x154945(0xf2)][_0x3e92a3]?_0x14d2fb[_0x154945(0xf2)][_0x3e92a3][_0x154945(0x1b7)]:'[]';_0x14d2fb[_0x154945(0x143)][_0x3e92a3]={'insertions':this[_0x154945(0x16f)](_0x7334ea),'deletions':this[_0x154945(0x16f)](_0x4ee5de)};}}for(const _0x3e6b46 of _0x55f57f){let _0x2cdf35=null,_0x285b6a=0x0;const _0x18cc62=new Map(Array[_0x154945(0xfb)](_0x1112c8[_0x154945(0x143)][_0x3e6b46][_0x154945(0x105)][_0x154945(0x1be)])[_0x154945(0x173)](([_0x4a2066])=>!_0x4a2066[_0x154945(0xbd)](_0x154945(0x180))));let _0x46bee7=0x0;for(const _0x3e2f17 of _0x40c12a){const _0x422f51=this[_0x154945(0x190)](_0x3e2f17[_0x154945(0x143)][_0x3e6b46][_0x154945(0x105)]);_0x3e2f17==_0x1112c8?(_0x2cdf35=_0x422f51,_0x285b6a=_0x2cdf35[_0x154945(0x110)],_0x2cdf35[_0x154945(0x159)](_0x350dd6=>{_0x350dd6['id']=_0x46bee7++;}),this[_0x154945(0x1b4)](_0x2cdf35)):this[_0x154945(0x124)](_0x2cdf35,_0x422f51);const _0x567379=_0x2cdf35[_0x154945(0x173)](_0x3ce65a=>!_0x3ce65a[_0x154945(0xdf)])[_0x154945(0x123)](_0x563980=>_0x563980['id']);let _0x614c24=0x0;const _0x3f7a8b=this[_0x154945(0x190)](_0x3e2f17[_0x154945(0x143)][_0x3e6b46][_0x154945(0x1b7)]);_0x3f7a8b[_0x154945(0x159)](_0x474e24=>{const _0x3c8956=_0x154945;_0x474e24[_0x3c8956(0x179)]?_0x474e24['id']=_0x285b6a++:_0x474e24['id']=_0x567379[_0x614c24++];}),this[_0x154945(0x1b4)](_0x3f7a8b),this[_0x154945(0x16e)](_0x2cdf35,_0x154945(0xdf)),this[_0x154945(0x16e)](_0x3f7a8b,_0x154945(0x179)),_0x3e2f17==_0x1112c8&&this[_0x154945(0x109)](_0x2cdf35,_0x18cc62),_0x2cdf35=this[_0x154945(0x169)](_0x2cdf35,_0x3f7a8b),this[_0x154945(0xcb)](_0x2cdf35),this[_0x154945(0x16e)](_0x2cdf35,_0x154945(0x179));}_0x2cdf35=_0x2cdf35[_0x154945(0x173)](_0x29c0f3=>!(_0x29c0f3[_0x154945(0xdf)]&&_0x29c0f3[_0x154945(0x179)]));const _0xb4bfa7=new Map(_0x21c3f5[_0x154945(0x143)][_0x3e6b46][_0x154945(0x1b7)][_0x154945(0x1be)]),_0x43cf99=new Set(_0x18cc62[_0x154945(0x103)]());for(const _0x543a1d of _0xb4bfa7[_0x154945(0x103)]())_0x43cf99[_0x154945(0xee)](_0x543a1d);this[_0x154945(0x13e)](_0x2cdf35,_0x43cf99),this[_0x154945(0x19a)](_0x2cdf35),_0x2cdf35=this[_0x154945(0xf9)](_0x2cdf35),_0x2cdf35=this[_0x154945(0xce)](_0x2cdf35),_0x2cdf35=this[_0x154945(0x17f)](_0x2cdf35);const {root:_0x4a7b4c,changes:_0x2938a5}=this[_0x154945(0x14e)](_0x2cdf35,_0x2fef91,_0x3e6b46);_0x558386[_0x154945(0x143)][_0x3e6b46]=_0x4a7b4c;const _0x312cad=_0x5b07ed[_0x154945(0x147)](_0x3e6b46);if(_0x312cad){const _0x21982f=_0x2fef91[_0x154945(0x147)](_0x312cad[_0x154945(0x1da)]),_0x299bd4=new _0x47f120({'author':_0x21982f,'type':_0x312cad[_0x154945(0x198)]?_0x154945(0x1d0):_0x154945(0x12a),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3e6b46});_0x2938a5[_0x154945(0x135)](_0x299bd4),_0x558386[_0x154945(0xfd)][_0x3e6b46][_0x154945(0x101)]=_0x299bd4['id'];}_0x558386[_0x154945(0xd9)]=_0x558386[_0x154945(0xd9)][_0x154945(0xff)](_0x2938a5);}return _0x558386;}[_0x500d49(0x109)](_0x4ea687,_0x43666f){const _0x474a84=_0x500d49;for(let _0x3ec850=0x0;_0x3ec850<_0x4ea687[_0x474a84(0x110)];_0x3ec850++)for(const [_0x1f19af,_0x14aae3]of _0x43666f)_0x14aae3[_0x474a84(0x18b)][_0x474a84(0xc9)](_0x4ea687[_0x3ec850][_0x474a84(0x1e2)])&&_0x4ea687[_0x3ec850][_0x474a84(0x144)][_0x474a84(0x1bf)](_0x1f19af),_0x14aae3[_0x474a84(0x149)][_0x474a84(0xc9)](_0x4ea687[_0x3ec850][_0x474a84(0x18d)])&&_0x4ea687[_0x3ec850][_0x474a84(0x160)][_0x474a84(0x1bf)](_0x1f19af);}[_0x500d49(0x169)](_0x227550,_0x39d275){const _0xb6f45a=_0x500d49;let _0x124737=[],_0x1f2337=0x0,_0x36f2ab=0x0;for(;_0x1f2337<_0x227550[_0xb6f45a(0x110)]||_0x36f2ab<_0x39d275[_0xb6f45a(0x110)];){const _0x111b37=_0x227550[_0x1f2337]||{},_0x78efc9=_0x39d275[_0x36f2ab]||{};if(_0x111b37['id']==_0x78efc9['id'])_0x1f2337++,_0x36f2ab++,_0x124737[_0xb6f45a(0x1bf)](_0x111b37);else{if(_0x78efc9[_0xb6f45a(0x179)]&&_0x111b37[_0xb6f45a(0xdf)]){const {commonTape:_0xf6c6ac,iEnd:_0xbac9a3,jEnd:_0x252116}=this[_0xb6f45a(0xf5)](_0x227550,_0x1f2337,_0x39d275,_0x36f2ab);_0x124737=_0x124737[_0xb6f45a(0xff)](_0xf6c6ac),_0x1f2337=_0xbac9a3,_0x36f2ab=_0x252116;}else _0x78efc9[_0xb6f45a(0x179)]?(_0x36f2ab++,_0x124737[_0xb6f45a(0x1bf)](_0x78efc9)):(_0x1f2337++,_0x124737[_0xb6f45a(0x1bf)](_0x111b37));}}return _0x124737;}[_0x500d49(0x13e)](_0x2430e3,_0x59282f){const _0x21bbf4=_0x500d49,_0x1246b9=[];for(let _0x85f133=0x0;_0x85f133<_0x2430e3[_0x21bbf4(0x110)];_0x85f133++){for(let _0x1bb9e9=0x0;_0x1bb9e9<_0x2430e3[_0x85f133][_0x21bbf4(0x144)][_0x21bbf4(0x110)];_0x1bb9e9++){const _0x466bc4=_0x2430e3[_0x85f133][_0x21bbf4(0x144)][_0x1bb9e9];if(!_0x59282f[_0x21bbf4(0x167)](_0x466bc4))continue;const {group:_0x438e66,type:_0x4d9ef7,authorId:_0x499dca}=_0x5c78bf(_0x466bc4);_0x21bbf4(0x1d7)!=_0x438e66||_0x21bbf4(0x114)!=_0x4d9ef7&&_0x21bbf4(0xde)!=_0x4d9ef7||(_0x1246b9[_0x21bbf4(0x135)]({'type':_0x4d9ef7,'name':_0x466bc4,'userId':_0x499dca}),_0x2430e3[_0x85f133][_0x21bbf4(0x144)][_0x21bbf4(0xa2)](_0x1bb9e9,0x1),_0x1bb9e9--);}_0x55dffa(_0x2430e3[_0x85f133]);for(let _0x8ad084=0x0;_0x8ad084<_0x2430e3[_0x85f133][_0x21bbf4(0x160)][_0x21bbf4(0x110)];_0x8ad084++){const _0x37466c=_0x2430e3[_0x85f133][_0x21bbf4(0x160)][_0x8ad084];if(!_0x59282f[_0x21bbf4(0x167)](_0x37466c))continue;const {group:_0x250707,type:_0x5589cd}=_0x5c78bf(_0x37466c);if(_0x21bbf4(0x1d7)!=_0x250707||_0x21bbf4(0x114)!=_0x5589cd&&_0x21bbf4(0xde)!=_0x5589cd)continue;_0x2430e3[_0x85f133][_0x21bbf4(0x160)][_0x21bbf4(0xa2)](_0x8ad084,0x1),_0x8ad084--;const _0x59dfa6=_0x1246b9[_0x21bbf4(0x15a)](_0x23419f=>_0x23419f[_0x21bbf4(0x13d)]==_0x37466c);_0x59dfa6>-0x1&&_0x1246b9[_0x21bbf4(0xa2)](_0x59dfa6,0x1);}}function _0x5c78bf(_0x59ef6f){const _0xbb1a03=_0x21bbf4,_0x58849d=_0x59ef6f[_0xbb1a03(0x111)](':');return{'group':_0x58849d[0x0],'type':_0x58849d[0x1],'subType':_0x58849d[_0xbb1a03(0x110)]>=0x5?_0x58849d[0x2]:null,'id':_0x58849d[_0xbb1a03(0x110)]<0x5?_0x58849d[0x2]:_0x58849d[0x3],'authorId':_0x58849d[_0xbb1a03(0x110)]<0x5?_0x58849d[0x3]:_0x58849d[0x4],'markerCount':0x6==_0x58849d[_0xbb1a03(0x110)]?_0x58849d[0x5]:null};}function _0x55dffa(_0x336fc1){const _0x24bc85=_0x21bbf4;for(let _0x17f9ca=0x0;_0x17f9ca<_0x1246b9[_0x24bc85(0x110)];_0x17f9ca++){if(_0x336fc1[_0x24bc85(0xdf)]&&_0x24bc85(0x114)==_0x1246b9[_0x17f9ca][_0x24bc85(0x1d4)])return _0x336fc1[_0x24bc85(0x1a4)]=_0x1246b9[_0x17f9ca],void delete _0x336fc1[_0x24bc85(0xdf)];if(!_0x336fc1[_0x24bc85(0xdf)]&&!_0x336fc1[_0x24bc85(0x179)]&&_0x24bc85(0xde)==_0x1246b9[_0x17f9ca][_0x24bc85(0x1d4)])return void(_0x336fc1[_0x24bc85(0x1a2)]=_0x1246b9[_0x17f9ca]);}}}[_0x500d49(0x16e)](_0x247692,_0x142d76){const _0x3bc1b4=_0x500d49;let _0x3b75e6=0x0,_0x430f5e=!0x1;const _0x34dac7=new Map();for(const _0x5f185c of _0x247692)_0x5f185c[_0x142d76]?_0x430f5e&&(_0x3b75e6++,_0x430f5e=!0x1):(_0x3b75e6++,_0x430f5e=!0x0),_0x34dac7[_0x3bc1b4(0xa5)](_0x5f185c['id'],_0x3b75e6);for(let _0x309c6d=0x0;_0x309c6d<_0x247692[_0x3bc1b4(0x110)];_0x309c6d++){if(_0x3bc1b4(0x179)==_0x142d76&&_0x247692[_0x309c6d][_0x3bc1b4(0xdf)]||_0x3bc1b4(0xdf)==_0x142d76&&_0x247692[_0x309c6d][_0x3bc1b4(0x179)])continue;if(_0x3bc1b4(0x136)==_0x247692[_0x309c6d][_0x3bc1b4(0x1d4)]){_0x247692[_0x309c6d][_0x3bc1b4(0x15d)]=0x0;continue;}const _0x42e956=_0x34dac7[_0x3bc1b4(0x147)](_0x247692[_0x309c6d][_0x3bc1b4(0x181)]),_0x1f20c1=_0x34dac7[_0x3bc1b4(0x147)](_0x247692[_0x309c6d]['id']);_0x247692[_0x309c6d][_0x3bc1b4(0x15d)]=_0x42e956-_0x1f20c1;}}[_0x500d49(0x125)](_0x4b27a8,_0xa7f22,_0x4d6ba1=!0x1){const _0x14db23=_0x500d49,_0x243f41=[];let _0x1ece6a=this[_0x14db23(0x137)][_0x14db23(0x199)](_0x4b27a8),_0x5c3f21=this[_0x14db23(0x137)][_0x14db23(0x199)](_0xa7f22);for(-0x1==_0x5c3f21&&(_0x5c3f21=this[_0x14db23(0x137)][_0x14db23(0x19f)][_0x14db23(0x110)],_0x4d6ba1=!0x1);_0x1ece6a<_0x5c3f21;)_0x243f41[_0x14db23(0x1bf)](this[_0x14db23(0x137)][_0x14db23(0xe2)](_0x1ece6a)),_0x1ece6a++;return _0x4d6ba1&&_0x243f41[_0x14db23(0x1bf)](this[_0x14db23(0x137)][_0x14db23(0xe2)](_0x1ece6a)),_0x243f41;}[_0x500d49(0xf5)](_0x2cb8cd,_0x128e54,_0x5916ad,_0x287a26){const _0x470da1=_0x500d49,_0x2bd6ae=this[_0x470da1(0x168)][_0x470da1(0x143)][_0x470da1(0xf3)];let _0x3a92df=_0x128e54;for(;_0x2cb8cd[_0x3a92df]&&_0x2cb8cd[_0x3a92df][_0x470da1(0xdf)];)_0x3a92df++;let _0x4fc1a3=_0x287a26;for(;_0x5916ad[_0x4fc1a3]&&_0x5916ad[_0x4fc1a3][_0x470da1(0x179)];)_0x4fc1a3++;_0x308ea9(_0x2cb8cd,_0x128e54,_0x3a92df),_0x308ea9(_0x5916ad,_0x287a26,_0x4fc1a3);const _0x1b71b1=_0x5916ad[_0x470da1(0x186)](_0x287a26,_0x4fc1a3)[_0x470da1(0xff)](_0x2cb8cd[_0x470da1(0x186)](_0x128e54,_0x3a92df));return _0x1b71b1[_0x470da1(0x1a0)]((_0x1afcac,_0xe632b6)=>_0x1afcac[_0x470da1(0xc1)]!=_0xe632b6[_0x470da1(0xc1)]?_0x1afcac[_0x470da1(0xc1)]-_0xe632b6[_0x470da1(0xc1)]:_0x1afcac[_0x470da1(0x16c)]!=_0xe632b6[_0x470da1(0x16c)]?_0x1afcac[_0x470da1(0x16c)]-_0xe632b6[_0x470da1(0x16c)]:_0x1afcac[_0x470da1(0x15d)]!=_0xe632b6[_0x470da1(0x15d)]?_0xe632b6[_0x470da1(0x15d)]-_0x1afcac[_0x470da1(0x15d)]:!!_0x1afcac[_0x470da1(0xdf)]!=!!_0xe632b6[_0x470da1(0xdf)]?-0x1==_0x1afcac[_0x470da1(0xc1)]||0x0==_0x1afcac[_0x470da1(0xc1)]?_0x1afcac[_0x470da1(0xdf)]?-0x1:0x1:_0x1afcac[_0x470da1(0xdf)]?0x1:-0x1:_0x1afcac[_0x470da1(0xc3)]-_0xe632b6[_0x470da1(0xc3)]),{'commonTape':_0x1b71b1,'iEnd':_0x3a92df,'jEnd':_0x4fc1a3};function _0x308ea9(_0x2ebf3d,_0x22cc57,_0x5be066){const _0x9c6e29=_0x470da1;let _0x1bf585=-0x1,_0x1e9222=Number[_0x9c6e29(0x17e)],_0x5f3a93=!0x0;for(let _0x3811db=_0x22cc57;_0x3811db<_0x5be066;_0x3811db++)if(_0x2bd6ae[_0x9c6e29(0x172)](_0x2ebf3d[_0x3811db][_0x9c6e29(0x166)])||(_0x5f3a93=!0x1),_0x2ebf3d[_0x3811db][_0x9c6e29(0x166)][_0x9c6e29(0x182)]<_0x22cc57&&(_0x1bf585=_0x3811db),_0x2ebf3d[_0x3811db][_0x9c6e29(0x166)][_0x9c6e29(0xbe)]>=_0x5be066){_0x1e9222=_0x3811db;break;}_0x5f3a93&&(_0x1bf585=_0x5be066-0x1);for(let _0x377b50=_0x22cc57;_0x377b50<_0x5be066;_0x377b50++)_0x2ebf3d[_0x377b50][_0x9c6e29(0xc1)]=_0x377b50<=_0x1bf585?-0x1:_0x377b50<_0x1e9222?0x0:0x1,_0x2ebf3d[_0x377b50][_0x9c6e29(0xc3)]=_0x377b50;let _0x1d2cac=0x0;for(let _0x52b32f=_0x22cc57;_0x52b32f<=_0x1bf585;_0x52b32f++)0x0==_0x2ebf3d[_0x52b32f][_0x9c6e29(0x15d)]?_0x2ebf3d[_0x52b32f][_0x9c6e29(0x16c)]=_0x1d2cac:(_0x1d2cac++,_0x2ebf3d[_0x52b32f][_0x9c6e29(0x16c)]=_0x1d2cac,_0x1d2cac++);for(let _0x1c646a=_0x22cc57;_0x1c646a<_0x5be066;_0x1c646a++)0x0==_0x2ebf3d[_0x1c646a][_0x9c6e29(0xc1)]&&(_0x2ebf3d[_0x1c646a][_0x9c6e29(0x16c)]=_0x1d2cac);_0x1d2cac=0x0;for(let _0x4f0ebb=_0x5be066-0x1;_0x4f0ebb>=_0x1e9222;_0x4f0ebb--)0x0==_0x2ebf3d[_0x4f0ebb][_0x9c6e29(0x15d)]?_0x2ebf3d[_0x4f0ebb][_0x9c6e29(0x16c)]=_0x1d2cac:(_0x1d2cac--,_0x2ebf3d[_0x4f0ebb][_0x9c6e29(0x16c)]=_0x1d2cac,_0x1d2cac--);}}[_0x500d49(0x19a)](_0x967399){const _0x47c83a=_0x500d49,_0x35f5b0=new Map(),_0x5dff5e=this[_0x47c83a(0x168)][_0x47c83a(0x143)][_0x47c83a(0xf3)];for(let _0x704bdb=0x1;_0x704bdb<_0x967399[_0x47c83a(0x110)];_0x704bdb++){let _0x54c487,_0x4bceaf,_0x35a1b3;const _0x37890b=_0x967399[_0x704bdb],_0x4e567c=_0x967399[_0x704bdb-0x1];if(_0x47c83a(0x136)==_0x37890b[_0x47c83a(0x1d4)])continue;if(_0x37890b[_0x47c83a(0x1d4)]!=_0x4e567c[_0x47c83a(0x1d4)])continue;if(!_0x5dff5e[_0x47c83a(0x12b)](_0x4e567c[_0x47c83a(0x166)])||_0x5dff5e[_0x47c83a(0x1c8)](_0x4e567c[_0x47c83a(0x166)]))continue;if(!_0x5dff5e[_0x47c83a(0x12b)](_0x37890b[_0x47c83a(0x166)])||_0x5dff5e[_0x47c83a(0x1c8)](_0x37890b[_0x47c83a(0x166)]))continue;if((_0x967399[_0x704bdb][_0x47c83a(0xdf)]||_0x967399[_0x704bdb][_0x47c83a(0x1a4)])&&_0x967399[_0x704bdb-0x1][_0x47c83a(0x179)])_0x54c487=_0x967399[_0x704bdb],_0x4bceaf=_0x967399[_0x704bdb-0x1],_0x35a1b3=_0x704bdb-0x1;else{if(!_0x967399[_0x704bdb][_0x47c83a(0x179)]||!_0x967399[_0x704bdb-0x1][_0x47c83a(0xdf)]&&!_0x967399[_0x704bdb-0x1][_0x47c83a(0x1a4)])continue;_0x54c487=_0x967399[_0x704bdb-0x1],_0x4bceaf=_0x967399[_0x704bdb],_0x35a1b3=_0x704bdb;}const _0x1ab37b=_0x54c487[_0x47c83a(0x16c)]==_0x4bceaf[_0x47c83a(0x16c)],_0x54c294=Math[_0x47c83a(0x197)](_0x54c487[_0x47c83a(0x16c)])<Math[_0x47c83a(0x197)](_0x4bceaf[_0x47c83a(0x16c)])&&0x0==_0x4bceaf[_0x47c83a(0x15d)];(_0x1ab37b||_0x54c294)&&(_0x35f5b0[_0x47c83a(0xa5)](_0x4bceaf['id'],_0x54c487['id']),_0x967399[_0x47c83a(0xa2)](_0x35a1b3,0x1),_0x704bdb--,_0x54c487[_0x47c83a(0xdf)]=!0x1);}for(let _0x5bdc69=0x0;_0x5bdc69<_0x967399[_0x47c83a(0x110)];_0x5bdc69++)_0x35f5b0[_0x47c83a(0x167)](_0x967399[_0x5bdc69][_0x47c83a(0x181)])&&(_0x967399[_0x5bdc69][_0x47c83a(0x181)]=_0x35f5b0[_0x47c83a(0x147)](_0x967399[_0x5bdc69][_0x47c83a(0x181)]));}[_0x500d49(0xf9)](_0x587828){const _0x5d6d14=_0x500d49,_0x2b476b=new Set(_0x587828[_0x5d6d14(0x123)](_0xb7ee3b=>_0xb7ee3b['id']));for(let _0x359e57=0x0;_0x359e57<_0x587828[_0x5d6d14(0x110)];_0x359e57++)_0x2b476b[_0x5d6d14(0x167)](_0x587828[_0x359e57][_0x5d6d14(0x181)])||0x0==_0x587828[_0x359e57][_0x5d6d14(0x15d)]||(_0x587828[_0x359e57][_0x5d6d14(0x1c6)]=!0x0);return _0x587828[_0x5d6d14(0x173)](_0x3588a6=>!_0x3588a6[_0x5d6d14(0x1c6)]);}[_0x500d49(0xce)](_0x502473){const _0x424927=_0x500d49,_0x4f5239=new Set();for(let _0x2b524c=0x0;_0x2b524c<_0x502473[_0x424927(0x110)];_0x2b524c++){if(_0x4f5239[_0x424927(0x167)](_0x502473[_0x2b524c]['id'])&&_0x502473[_0x2b524c][_0x424927(0x179)]&&(_0x502473[_0x2b524c][_0x424927(0x1c6)]=!0x0),_0x502473[_0x2b524c][_0x424927(0x1c6)])continue;if(0x0==_0x502473[_0x2b524c][_0x424927(0x15d)])continue;if(_0x424927(0x12e)!=_0x502473[_0x2b524c][_0x424927(0x1d4)])continue;if(null==_0x502473[_0x2b524c][_0x424927(0x181)])continue;let _0x35fa7e=_0x2b524c+0x1,_0xed2677=0x0;for(;_0x502473[_0x35fa7e]['id']!=_0x502473[_0x2b524c][_0x424927(0x181)];)_0x424927(0x12e)==_0x502473[_0x35fa7e][_0x424927(0x1d4)]?_0xed2677++:_0x424927(0xb3)==_0x502473[_0x35fa7e][_0x424927(0x1d4)]&&_0xed2677--,_0x35fa7e++;if(0x0!=_0xed2677){if(_0x502473[_0x2b524c][_0x424927(0x179)])_0x502473[_0x2b524c][_0x424927(0x1c6)]=!0x0;else{for(;_0x35fa7e!=_0x2b524c;)_0x502473[_0x35fa7e][_0x424927(0x179)]&&0x0!=_0x502473[_0x35fa7e][_0x424927(0x15d)]&&(_0x502473[_0x35fa7e][_0x424927(0x1c6)]=!0x0,_0x4f5239[_0x424927(0x1d0)](_0x502473[_0x35fa7e][_0x424927(0x181)])),_0x35fa7e--;}}}return _0x502473[_0x424927(0x173)](_0x596b24=>!_0x596b24[_0x424927(0x1c6)]);}[_0x500d49(0x17f)](_0x4cc47c){const _0x237e46=_0x500d49,_0x233773=this[_0x237e46(0x168)][_0x237e46(0x143)][_0x237e46(0xf3)];for(let _0x42d922=0x0;_0x42d922<_0x4cc47c[_0x237e46(0x110)];_0x42d922++){if(!(_0x4cc47c[_0x42d922][_0x237e46(0xdf)]||_0x4cc47c[_0x42d922][_0x237e46(0x1a4)]||_0x4cc47c[_0x42d922][_0x237e46(0x179)]||_0x4cc47c[_0x42d922][_0x237e46(0x1a2)]))continue;if(0x0==_0x4cc47c[_0x42d922][_0x237e46(0x15d)])continue;const _0x261a5c=_0x4cc47c[_0x42d922][_0x237e46(0x166)];_0x233773[_0x237e46(0x12b)](_0x261a5c)||_0x233773[_0x237e46(0x1c8)](_0x261a5c)||(_0x4cc47c[_0x42d922][_0x237e46(0xdf)]&&delete _0x4cc47c[_0x42d922][_0x237e46(0xdf)],_0x4cc47c[_0x42d922][_0x237e46(0x1a4)]&&delete _0x4cc47c[_0x42d922][_0x237e46(0x1a4)],_0x4cc47c[_0x42d922][_0x237e46(0x1a2)]&&delete _0x4cc47c[_0x42d922][_0x237e46(0x1a2)],_0x4cc47c[_0x42d922][_0x237e46(0x179)]&&(_0x4cc47c[_0x42d922][_0x237e46(0x1c6)]=!0x0));}return _0x4cc47c[_0x237e46(0x173)](_0x58b3f7=>!_0x58b3f7[_0x237e46(0x1c6)]);}[_0x500d49(0x14e)](_0x2d24a5,_0x1ef3bf,_0x5413a3){const _0xaf7e3c=_0x500d49,_0x5a8ef3=new _0x3c1726(),_0x5281ac=[],_0x10d79f=new Map(),_0x3d45b3=this[_0xaf7e3c(0x168)][_0xaf7e3c(0x143)],_0x4813ce=_0x3d45b3[_0xaf7e3c(0xf3)],_0x5de8d2=[_0x5a8ef3],_0x205d70={},_0xbbb58c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x340dcc=null;const _0x167e1d=[0x0];for(let _0xaa3cad=0x0;_0xaa3cad<_0x2d24a5[_0xaf7e3c(0x110)];_0xaa3cad++){let _0x14d123,_0xfd961e;if(_0xaf7e3c(0x12e)===_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x1d4)]){_0x14d123=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d);const _0x143174=new _0x3861fc(_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x13d)],_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x1ea)]());_0x5de8d2[0x0][_0xaf7e3c(0xa6)](_0x143174),_0x167e1d[_0xaf7e3c(0x1bf)](0x0),_0x5de8d2[_0xaf7e3c(0x135)](_0x143174),_0xfd961e=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d),_0x340dcc=null;}else{if(_0xaf7e3c(0xb3)===_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x1d4)])_0x5de8d2[_0xaf7e3c(0x1c4)](),_0x14d123=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d),_0x167e1d[_0xaf7e3c(0xb7)](),_0x167e1d[_0x167e1d[_0xaf7e3c(0x110)]-0x1]++,_0xfd961e=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d),_0x340dcc=null;else{if(_0x14d123=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d),_0x340dcc&&_0x5f36b9(_0x340dcc,_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)]))_0x340dcc[_0xaf7e3c(0x187)]+=_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x11f)];else{const _0x5c00d4=new _0x279c66(_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x11f)],_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x1ea)]());_0x5de8d2[0x0][_0xaf7e3c(0xa6)](_0x5c00d4),_0x340dcc=_0x5c00d4;}_0x167e1d[_0x167e1d[_0xaf7e3c(0x110)]-0x1]+=_0x2d24a5[_0xaa3cad][_0xaf7e3c(0x166)][_0xaf7e3c(0x1e6)],_0xfd961e=_0x3d45b3[_0xaf7e3c(0x195)](_0x5a8ef3,_0x167e1d);}}for(const _0x5aee20 of _0x2d24a5[_0xaa3cad][_0xaf7e3c(0x144)])_0x10d79f[_0xaf7e3c(0xa5)](_0x5aee20,{'start':_0x14d123,'end':null});_0x24d203(_0xaf7e3c(0x1a2),_0xaa3cad,_0x14d123,_0xfd961e),_0x24d203(_0xaf7e3c(0x1a4),_0xaa3cad,_0x14d123,_0xfd961e),_0x24d203(_0xaf7e3c(0x179),_0xaa3cad,_0x14d123,_0xfd961e),_0x24d203(_0xaf7e3c(0xdf),_0xaa3cad,_0x14d123,_0xfd961e);for(const _0x2bc528 of _0x2d24a5[_0xaa3cad][_0xaf7e3c(0x160)]){_0x10d79f[_0xaf7e3c(0x147)](_0x2bc528)[_0xaf7e3c(0x149)]=_0xfd961e;}}for(const [_0x27dec5,_0x4346d5]of _0x10d79f){const _0x1cc43d=this[_0xaf7e3c(0x168)][_0xaf7e3c(0x143)][_0xaf7e3c(0x163)](_0x4346d5[_0xaf7e3c(0x18b)],_0x4346d5[_0xaf7e3c(0x149)]);_0x5a8ef3[_0xaf7e3c(0x1be)][_0xaf7e3c(0xa5)](_0x27dec5,_0x1cc43d);}return _0x5281ac[_0xaf7e3c(0x1a0)]((_0x1e9b8c,_0x4f39c7)=>{const _0x2873f4=_0xaf7e3c,_0x2ece73=_0x5a8ef3[_0x2873f4(0x1be)][_0x2873f4(0x147)](_0x2873f4(0x180)+_0x1e9b8c['id']),_0x193f8e=_0x5a8ef3[_0x2873f4(0x1be)][_0x2873f4(0x147)](_0x2873f4(0x180)+_0x4f39c7['id']);return _0x2ece73[_0x2873f4(0x18b)][_0x2873f4(0xc0)](_0x193f8e[_0x2873f4(0x18b)])?-0x1:_0x2ece73[_0x2873f4(0x18b)][_0x2873f4(0x14a)](_0x193f8e[_0x2873f4(0x18b)])?0x1:_0x2ece73[_0x2873f4(0x149)][_0x2873f4(0xc0)](_0x193f8e[_0x2873f4(0x149)])?-0x1:_0x2ece73[_0x2873f4(0x149)][_0x2873f4(0x14a)](_0x193f8e[_0x2873f4(0x149)])?0x1:_0x2873f4(0x1d0)===_0x1e9b8c[_0x2873f4(0x1d4)]?-0x1:0x1;}),{'root':_0x5a8ef3,'changes':_0x5281ac};function _0x24d203(_0x41e828,_0x5a8e08,_0x4a1ee5,_0x4e8a53){const _0x378478=_0xaf7e3c,_0x3052e9=!!_0x2d24a5[_0x5a8e08][_0x41e828],_0x474a32=_0x3052e9?_0x2d24a5[_0x5a8e08][_0x41e828][_0x378478(0x1da)]:null,_0x1bb40a=_0x5a8e08===_0x2d24a5[_0x378478(0x110)]-0x1,_0x12f1a5=_0xbbb58c[_0x41e828][0x0],_0x1c3f02=_0x4813ce[_0x378478(0x1ca)](_0x2d24a5[_0x5a8e08][_0x378478(0x166)]);!_0x205d70[_0x41e828]&&_0x3052e9?_0x205d70[_0x41e828]={'start':_0x4a1ee5,'tapeItem':_0x2d24a5[_0x5a8e08],'userId':_0x474a32,'type':_0x41e828}:_0x205d70[_0x41e828]&&!_0x3052e9?(_0x205d70[_0x41e828][_0x378478(0x149)]=_0x4a1ee5,_0x132f19(_0x205d70[_0x41e828]),_0x205d70[_0x41e828]=null):_0x205d70[_0x41e828]&&_0x3052e9&&_0x205d70[_0x41e828][_0x378478(0x1da)]!==_0x474a32&&(_0x205d70[_0x41e828][_0x378478(0x149)]=_0x4a1ee5,_0x12f1a5&&_0x12f1a5[_0x378478(0x1da)]===_0x205d70[_0x41e828][_0x378478(0x1da)]||_0x132f19(_0x205d70[_0x41e828]),_0x205d70[_0x41e828]={'start':_0x4a1ee5,'tapeItem':_0x2d24a5[_0x5a8e08],'userId':_0x474a32,'type':_0x41e828}),_0x205d70[_0x41e828]&&_0x1c3f02&&(_0x378478(0x12e)!==_0x2d24a5[_0x5a8e08][_0x378478(0x1d4)]||_0x12f1a5&&_0x12f1a5[_0x378478(0x1da)]===_0x474a32||_0xbbb58c[_0x41e828][_0x378478(0x135)]({'userId':_0x474a32,'object':_0x2d24a5[_0x5a8e08][_0x378478(0x166)],'change':_0x205d70[_0x41e828]}),_0x378478(0xb3)===_0x2d24a5[_0x5a8e08][_0x378478(0x1d4)]&&_0x12f1a5&&_0x12f1a5[_0x378478(0x1e9)]===_0x2d24a5[_0x5a8e08][_0x378478(0x166)]&&(_0xbbb58c[_0x41e828][_0x378478(0x1c4)](),_0x205d70[_0x41e828]=_0x12f1a5[_0x378478(0x1bd)])),_0x205d70[_0x41e828]&&_0x1bb40a&&(_0x205d70[_0x41e828][_0x378478(0x149)]=_0x4e8a53,_0x132f19(_0x205d70[_0x41e828]),_0x205d70[_0x41e828]=null);}function _0x132f19({start:_0x404dfa,end:_0x305bee,tapeItem:_0x2d994f,userId:_0xd3b1c4,type:_0xfd7902}){const _0x38abaa=_0xaf7e3c,_0x40821d=_0x2d994f[_0x38abaa(0x166)],_0x415ec7=_0x3d45b3[_0x38abaa(0xf3)][_0x38abaa(0x12b)](_0x40821d)&&!_0x3d45b3[_0x38abaa(0xf3)][_0x38abaa(0x1c8)](_0x40821d),_0x3a358f=_0x404dfa[_0x38abaa(0x1a1)]==_0x305bee[_0x38abaa(0xb1)]&&_0x305bee[_0x38abaa(0x157)];if(_0x415ec7&&_0x3a358f)return;const _0x655043=_0x3d45b3[_0x38abaa(0x163)](_0x404dfa,_0x305bee),_0x49ef6d=_0x1ef3bf[_0x38abaa(0x147)](_0xd3b1c4),_0x5ae182=new _0x47f120({'author':_0x49ef6d,'type':_0x38abaa(0xdf)==_0xfd7902||_0x38abaa(0x1a4)==_0xfd7902?_0x38abaa(0x1d0):_0x38abaa(0x12a),'data':{'isSuggestion':_0x38abaa(0x1a4)==_0xfd7902||_0x38abaa(0x1a2)==_0xfd7902},'createdAt':new Date(),'rootName':_0x5413a3});_0x5281ac[_0x38abaa(0x1bf)](_0x5ae182),_0x5a8ef3[_0x38abaa(0x1be)][_0x38abaa(0xa5)](_0x38abaa(0x180)+_0x5ae182['id'],_0x655043);}function _0x5f36b9(_0x4f0dfe,_0x514f59){const _0x13ab67=_0xaf7e3c,_0x7e50b0=_0x4f0dfe[_0x13ab67(0x1ea)](),_0x59fded=_0x514f59[_0x13ab67(0x1ea)]();for(const _0xc50f78 of _0x7e50b0){if(_0xc50f78[0x1]!==_0x514f59[_0x13ab67(0x14c)](_0xc50f78[0x0]))return!0x1;_0x59fded[_0x13ab67(0x155)]();}return _0x59fded[_0x13ab67(0x155)]()[_0x13ab67(0x146)];}}[_0x500d49(0x1a9)](){const _0x4954fd=_0x500d49;this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0xd4)]({'view':_0x4954fd(0x100)}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0x178))[_0x4954fd(0x14b)]({'model':_0x4954fd(0x100),'view':_0x2646e6=>{const _0x31f4e9=_0x4954fd,_0x17dab9=_0x2646e6[_0x31f4e9(0x1b8)][_0x31f4e9(0x111)](':')[0x1],_0x5298a9=this[_0x31f4e9(0x165)](_0x17dab9);if(!_0x5298a9)return null;const _0x12bc8e=_0x31f4e9(0x1d0)==_0x5298a9[_0x31f4e9(0x1d4)]?_0x31f4e9(0x114):_0x31f4e9(0xde),_0x5a458a=[_0x31f4e9(0x1aa),_0x31f4e9(0x192)+_0x12bc8e];return _0x5298a9[_0x31f4e9(0x11f)][_0x31f4e9(0x1c3)]&&_0x5a458a[_0x31f4e9(0x1bf)](_0x31f4e9(0x192)+_0x12bc8e+_0x31f4e9(0xa8)),this[_0x31f4e9(0xdb)]==_0x5298a9&&_0x5a458a[_0x31f4e9(0x1bf)](_0x31f4e9(0x1d9)),{'classes':_0x5a458a,'attributes':{'data-change-id':_0x17dab9}};}}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0x1d0)](_0x3ae916=>{const _0x4ea4de=_0x4954fd;_0x3ae916['on'](_0x4ea4de(0x17c),(_0x3c5b85,_0x1fc1d2,_0x51b48f)=>{const _0x40098d=_0x4ea4de,_0x36d0d1=_0x1fc1d2[_0x40098d(0x11c)][_0x40098d(0x107)](0x0);if(!_0x36d0d1||!_0x36d0d1['is'](_0x40098d(0x164),_0x40098d(0xa9)))return;if(!_0x51b48f[_0x40098d(0xd6)][_0x40098d(0x151)](_0x36d0d1,{'attributes':[_0x40098d(0x17a),_0x40098d(0x12f)]}))return;const _0x184bf6=_0x1fc1d2[_0x40098d(0xe6)][_0x40098d(0x18b)][_0x40098d(0x1a1)];_0x51b48f[_0x40098d(0x1b0)][_0x40098d(0x1bc)](_0x40098d(0x17a),_0x36d0d1[_0x40098d(0x14c)](_0x40098d(0x17a)),_0x184bf6),_0x51b48f[_0x40098d(0x1b0)][_0x40098d(0x1bc)](_0x40098d(0x12f),_0x36d0d1[_0x40098d(0x14c)](_0x40098d(0x12f)),_0x184bf6);},{'priority':_0x4ea4de(0x171)});}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0x1d0)](_0x5b431f=>{const _0x19224e=_0x4954fd;_0x5b431f['on'](_0x19224e(0x164),(_0x251537,_0x23828f,_0x34107d)=>{const _0x28da0b=_0x19224e;if(!_0x34107d[_0x28da0b(0xd6)][_0x28da0b(0x151)](_0x23828f[_0x28da0b(0x11c)],{'attributes':[_0x28da0b(0x17a),_0x28da0b(0x12f)]}))return;if(_0x23828f[_0x28da0b(0xe6)][_0x28da0b(0x1e1)])return;const _0x2678ff=_0x23828f[_0x28da0b(0xe6)][_0x28da0b(0x18b)][_0x28da0b(0x1a1)];_0x2678ff[_0x28da0b(0xbf)](_0x28da0b(0x17a))||_0x2678ff[_0x28da0b(0xbf)](_0x28da0b(0x10a))||(_0x34107d[_0x28da0b(0x1b0)][_0x28da0b(0x1bc)](_0x28da0b(0x17a),_0x23828f[_0x28da0b(0x11c)][_0x28da0b(0x14c)](_0x28da0b(0x17a)),_0x2678ff),_0x34107d[_0x28da0b(0x1b0)][_0x28da0b(0x1bc)](_0x28da0b(0x12f),_0x23828f[_0x28da0b(0x11c)][_0x28da0b(0x14c)](_0x28da0b(0x12f)),_0x2678ff));},{'priority':_0x19224e(0x171)});}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0x14f)]({'view':{'name':_0x4954fd(0x1cf),'attributes':{'vid':!0x0}},'model':{'key':_0x4954fd(0x10a),'value':_0x1f1f7a=>_0x1f1f7a[_0x4954fd(0x14c)](_0x4954fd(0x10a))}}),this[_0x4954fd(0x168)][_0x4954fd(0x143)][_0x4954fd(0xf3)]['on'](_0x4954fd(0xfe),(_0x39ad2d,[,_0x3e3a6e])=>{const _0x2de0e8=_0x4954fd;[_0x2de0e8(0x17a),_0x2de0e8(0x12f),_0x2de0e8(0x10a)][_0x2de0e8(0xa7)](_0x3e3a6e)&&(_0x39ad2d[_0x2de0e8(0x1d5)]=!0x0,_0x39ad2d[_0x2de0e8(0xc7)]());},{'priority':_0x4954fd(0x1e8)}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0x18f))[_0x4954fd(0x1d0)](_0x46914a=>{const _0xc71eeb=_0x4954fd;_0x46914a['on'](_0xc71eeb(0x16b),(_0x7231d8,_0x51ec19,_0x29079f)=>{const _0x3bb0e0=_0xc71eeb;if('\x20'!=_0x51ec19[_0x3bb0e0(0x166)][_0x3bb0e0(0x11f)]||_0x51ec19[_0x3bb0e0(0x166)][_0x3bb0e0(0xb1)][_0x3bb0e0(0x1c5)]>0x1)return;if(!_0x29079f[_0x3bb0e0(0xd6)][_0x3bb0e0(0x151)](_0x51ec19[_0x3bb0e0(0x166)],_0x7231d8[_0x3bb0e0(0x13d)]))return;const _0x3b4f72=_0x29079f[_0x3bb0e0(0x1b0)],_0x57e496=_0x29079f[_0x3bb0e0(0x1ed)][_0x3bb0e0(0x1de)](_0x51ec19[_0x3bb0e0(0x1b6)]);_0x3b4f72[_0x3bb0e0(0x10f)](_0x57e496,_0x3b4f72[_0x3bb0e0(0x1ac)](_0x3bb0e0(0x1cf)));});}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0x18f))[_0x4954fd(0xd8)]({'model':_0x4954fd(0x100)}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0x122),function(_0x38dbfe){const _0x4668ee=_0x4954fd,_0x3a8787=_0x38dbfe[_0x4668ee(0x1ce)][_0x4668ee(0x147)](_0x4668ee(0x152));return(_0x2f5498,_0x47ce9f,_0x4af9c3)=>{const _0x5c0876=_0x4668ee,_0x3e587d=_0x47ce9f[_0x5c0876(0x1b8)][_0x5c0876(0x111)](':')[0x1],_0x338ee6=_0x3a8787[_0x5c0876(0x165)](_0x3e587d);if(!_0x338ee6)return null;const _0x1c5da4=_0x5c0876(0x1d0)==_0x338ee6[_0x5c0876(0x1d4)]?_0x5c0876(0x111):_0x5c0876(0x126);if(!_0x4af9c3[_0x5c0876(0xd6)][_0x5c0876(0x13f)](_0x47ce9f[_0x5c0876(0xac)],_0x2f5498[_0x5c0876(0x13d)]))return;const _0x357a35=_0x47ce9f[_0x5c0876(0xac)][_0x5c0876(0x12d)](),_0x2a4b14=_0x47ce9f[_0x5c0876(0xac)][_0x5c0876(0x18b)],_0x25eb72=_0x38dbfe[_0x5c0876(0x143)][_0x5c0876(0xf3)];let _0x34a06c=null,_0x3e1dfe=null,_0x43685f=!0x1,_0x1fbc38=!0x1;for(const _0x321deb of _0x357a35){const _0x2fd44d=_0x321deb[_0x5c0876(0x166)];_0x43685f=_0x43685f||_0x25eb72[_0x5c0876(0x162)](_0x2fd44d);const _0x87fd7f=_0x4af9c3[_0x5c0876(0x1ed)][_0x5c0876(0x1af)](_0x2fd44d);if(_0x87fd7f&&_0x87fd7f[_0x5c0876(0x119)](_0x5c0876(0x134)))return;_0x5c0876(0xb3)==_0x321deb[_0x5c0876(0x1d4)]&&(_0x25eb72[_0x5c0876(0x12b)](_0x2fd44d)&&!_0x25eb72[_0x5c0876(0x1c8)](_0x2fd44d)&&(_0x2fd44d[_0x5c0876(0x194)]||_0x2a4b14[_0x5c0876(0x10c)]?_0x34a06c&&_0x34a06c[_0x5c0876(0xb1)]==_0x2fd44d||(_0x34a06c=_0x2fd44d,_0x4bcd99(_0x321deb[_0x5c0876(0x1e2)]),_0x1fbc38=!0x0):_0x3e1dfe=_0x3e1dfe||_0x321deb[_0x5c0876(0x1e2)]));}function _0x4bcd99(_0x4694b1){const _0x510da9=_0x5c0876,_0x2fe241=_0x4af9c3[_0x510da9(0x1b0)][_0x510da9(0xb0)](_0x510da9(0x1cf),{'class':_0x510da9(0x192)+_0x1c5da4}),_0x43fbf1=_0x4af9c3[_0x510da9(0x1ed)][_0x510da9(0x11b)](_0x4694b1);_0x338ee6[_0x510da9(0x11f)][_0x510da9(0x1c3)]&&_0x4af9c3[_0x510da9(0x1b0)][_0x510da9(0x189)](_0x510da9(0x192)+_0x1c5da4+_0x510da9(0xa8),_0x2fe241),_0x3a8787[_0x510da9(0xdb)]==_0x338ee6&&_0x4af9c3[_0x510da9(0x1b0)][_0x510da9(0x189)](_0x510da9(0x1d9),_0x2fe241),_0x4af9c3[_0x510da9(0x1b0)][_0x510da9(0x145)](_0x43fbf1,_0x2fe241),_0x4af9c3[_0x510da9(0x1ed)][_0x510da9(0xae)](_0x2fe241,_0x47ce9f[_0x510da9(0x1b8)]);}_0x43685f||_0x1fbc38||!_0x3e1dfe||_0x4bcd99(_0x3e1dfe);};}(this[_0x4954fd(0x168)]),{'priority':_0x4954fd(0x1ef)}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0x108),(_0x587f2b,_0x457f7f,_0x21485e)=>{const _0x2f679e=_0x4954fd,_0x19a50c=_0x21485e[_0x2f679e(0x1ed)][_0x2f679e(0x11a)](_0x457f7f[_0x2f679e(0x1b8)]);if(_0x19a50c){for(const _0x26fe66 of _0x19a50c)(_0x26fe66[_0x2f679e(0xd3)](_0x2f679e(0xa4))||_0x26fe66[_0x2f679e(0xd3)](_0x2f679e(0x1b9)))&&(_0x21485e[_0x2f679e(0x1ed)][_0x2f679e(0xc8)](_0x26fe66,_0x457f7f[_0x2f679e(0x1b8)]),_0x21485e[_0x2f679e(0x1b0)][_0x2f679e(0x12a)](_0x26fe66));}},{'priority':_0x4954fd(0x1ef)}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0x122),(_0x1499cb,_0x277b3c,_0xdee69)=>{const _0x2d78b6=_0x4954fd,_0x272841=_0x277b3c[_0x2d78b6(0x1b8)][_0x2d78b6(0x111)](':')[0x1],_0x2c2fd6=this[_0x2d78b6(0x165)](_0x272841);if(!_0x2c2fd6)return null;const _0x111ccc=_0x2d78b6(0x1d0)==_0x2c2fd6[_0x2d78b6(0x1d4)]?_0x2d78b6(0x111):_0x2d78b6(0x126);if(_0xdee69[_0x2d78b6(0xd6)][_0x2d78b6(0x13f)](_0x277b3c[_0x2d78b6(0xac)],_0x1499cb[_0x2d78b6(0x13d)]))for(const _0x4ba7fc of _0x277b3c[_0x2d78b6(0xac)][_0x2d78b6(0xe5)]()){if(!_0x4ba7fc['is'](_0x2d78b6(0x164),_0x2d78b6(0x1e4)))continue;const _0x13fb77=_0xdee69[_0x2d78b6(0x1b0)][_0x2d78b6(0xb0)](_0x2d78b6(0x1cf),{'class':_0x2d78b6(0x192)+_0x111ccc}),_0x2d2bff=_0xdee69[_0x2d78b6(0x1ed)][_0x2d78b6(0x11b)](this[_0x2d78b6(0x168)][_0x2d78b6(0x143)][_0x2d78b6(0x1bb)](_0x4ba7fc));_0x2c2fd6[_0x2d78b6(0x11f)][_0x2d78b6(0x1c3)]&&_0xdee69[_0x2d78b6(0x1b0)][_0x2d78b6(0x189)](_0x2d78b6(0x192)+_0x111ccc+_0x2d78b6(0xa8),_0x13fb77),this[_0x2d78b6(0xdb)]==_0x2c2fd6&&_0xdee69[_0x2d78b6(0x1b0)][_0x2d78b6(0x189)](_0x2d78b6(0x1d9),_0x13fb77),_0xdee69[_0x2d78b6(0x1b0)][_0x2d78b6(0x145)](_0x2d2bff,_0x13fb77),_0xdee69[_0x2d78b6(0x1ed)][_0x2d78b6(0xae)](_0x13fb77,_0x277b3c[_0x2d78b6(0x1b8)]);}},{'priority':_0x4954fd(0x1ef)}),this[_0x4954fd(0x168)][_0x4954fd(0x143)][_0x4954fd(0x1ba)]['on'](_0x4954fd(0x1bd),()=>{const _0xfb0538=_0x4954fd;this[_0xfb0538(0x168)][_0xfb0538(0xe1)][_0xfb0538(0xec)][_0xfb0538(0x1bd)](_0x3760e3=>{const _0x40bf16=_0xfb0538;for(const _0xf1e6c8 of this[_0x40bf16(0x168)][_0x40bf16(0x143)][_0x40bf16(0x1ba)][_0x40bf16(0x138)]()){const _0x127121=this[_0x40bf16(0x168)][_0x40bf16(0x143)][_0x40bf16(0x1ba)][_0x40bf16(0x191)](_0xf1e6c8),_0x2ec240=this[_0x40bf16(0x168)][_0x40bf16(0xe1)][_0x40bf16(0xec)][_0x40bf16(0x1ba)][_0x40bf16(0x191)](_0xf1e6c8);if(_0x2ec240){const _0x7e968f=_0x127121[_0x40bf16(0x14c)](_0x40bf16(0x101));if(_0x3760e3[_0x40bf16(0xcd)](_0x40bf16(0xd2),_0x2ec240),_0x3760e3[_0x40bf16(0x148)](_0x40bf16(0x1cc),_0x2ec240),_0x3760e3[_0x40bf16(0x148)](_0x40bf16(0xe7),_0x2ec240),_0x3760e3[_0x40bf16(0x148)](_0x40bf16(0x140),_0x2ec240),_0x7e968f){const _0x5120cc=this[_0x40bf16(0x165)](_0x7e968f);if(!_0x5120cc)return null;_0x3760e3[_0x40bf16(0x1bc)](_0x40bf16(0xd2),_0x7e968f,_0x2ec240),_0x3760e3[_0x40bf16(0x189)](_0x40bf16(0x1ad)+_0x5120cc[_0x40bf16(0x1d4)],_0x2ec240),this[_0x40bf16(0xdb)]==_0x5120cc&&_0x3760e3[_0x40bf16(0x189)](_0x40bf16(0x140),_0x2ec240);}}}});}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0xd4)]({'view':_0x4954fd(0xba),'model':_0x387ef1=>_0x4954fd(0xfa)+_0x387ef1,'converterPriority':_0x4954fd(0x1e8)}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0xeb))[_0x4954fd(0xd4)]({'view':_0x4954fd(0xdd),'model':_0x5a1d85=>_0x4954fd(0x175)+_0x5a1d85,'converterPriority':_0x4954fd(0x1e8)}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0x18f))[_0x4954fd(0xd8)]({'model':_0x4954fd(0x1d7),'view':_0x110826=>({'name':_0x4954fd(0x1eb)+_0x110826,'group':_0x4954fd(0x1d7)}),'converterPriority':_0x4954fd(0x1e8)}),this[_0x4954fd(0x168)][_0x4954fd(0x127)][_0x4954fd(0x1e0)](_0x4954fd(0x178))[_0x4954fd(0x14b)]({'model':_0x4954fd(0x1d7),'view':_0x168e97=>{const _0x33704f=_0x4954fd,_0x28902d=_0x168e97[_0x33704f(0x1b8)][_0x33704f(0x111)](':')[0x1];return _0x33704f(0x114)!=_0x28902d&&_0x33704f(0xde)!=_0x28902d?null:{'classes':[_0x33704f(0x10b),_0x33704f(0xbb)+_0x28902d]};}}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0x1d1),et(this[_0x4954fd(0x168)],_0x4954fd(0x126)),{'priority':_0x4954fd(0x1ef)}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0xed),et(this[_0x4954fd(0x168)],_0x4954fd(0x111)),{'priority':_0x4954fd(0x1ef)}),this[_0x4954fd(0x168)][_0x4954fd(0xe1)][_0x4954fd(0x19d)]['on'](_0x4954fd(0x121),(_0x1a9d6a,_0x1f857a,_0x4e2719)=>{const _0x49c90d=_0x4954fd,_0x430e88=_0x4e2719[_0x49c90d(0x1ed)][_0x49c90d(0x11a)](_0x1f857a[_0x49c90d(0x1b8)]);if(_0x430e88){for(const _0x1e7132 of _0x430e88)_0x1e7132['is'](_0x49c90d(0xef))&&(_0x4e2719[_0x49c90d(0x1ed)][_0x49c90d(0xc8)](_0x1e7132,_0x1f857a[_0x49c90d(0x1b8)]),_0x4e2719[_0x49c90d(0x1b0)][_0x49c90d(0x12a)](_0x1e7132));}},{'priority':_0x4954fd(0x1ef)});}[_0x500d49(0x165)](_0x2e1d30){const _0x13f7d7=_0x500d49;return this[_0x13f7d7(0x1db)][_0x13f7d7(0x147)](_0x2e1d30);}[_0x500d49(0x150)](_0x193d85){const _0x348e11=_0x500d49;return this[_0x348e11(0x129)]&&this[_0x348e11(0x129)][_0x348e11(0x1c7)](),this[_0x348e11(0x129)]=new _0x9a512d(this[_0x348e11(0x168)][_0x348e11(0xaf)],_0x193d85),this[_0x348e11(0x129)];}[_0x500d49(0xe9)](){const _0x4aee93=_0x500d49;this[_0x4aee93(0x168)][_0x4aee93(0x143)][_0x4aee93(0x1ba)][_0x4aee93(0x11e)][_0x4aee93(0x16a)](_0x4aee93(0x100)),this['on'](_0x4aee93(0xe0),(_0xdf3989,_0x4de96d,_0x3e2d44,_0x196dc3)=>{const _0x2dcb82=_0x4aee93;_0x196dc3&&this[_0x2dcb82(0x116)][_0x2dcb82(0x12a)](_0x196dc3),_0x3e2d44&&(this[_0x2dcb82(0x116)][_0x2dcb82(0x1d0)]({'view':_0x3e2d44,'stackId':_0x2dcb82(0xfc),'position':{'target':()=>{const _0x305a46=_0x2dcb82,_0x54fa80=this[_0x305a46(0x168)][_0x305a46(0xe1)],_0x124cba=this[_0x305a46(0x165)](_0x3e2d44[_0x305a46(0x1dd)]);let _0x548f16;if(_0x124cba[_0x305a46(0x11f)][_0x305a46(0x1b2)]){const _0x242c90=_0x54fa80[_0x305a46(0xec)][_0x305a46(0xf7)](_0x124cba[_0x305a46(0x1a5)]);_0x548f16=Array[_0x305a46(0xfb)](_0x242c90[_0x305a46(0x1a7)]());}else{const _0x573b38=this[_0x305a46(0x168)][_0x305a46(0x143)][_0x305a46(0x1be)][_0x305a46(0x147)](_0x305a46(0x180)+_0x3e2d44[_0x305a46(0x1dd)]);_0x548f16=Array[_0x305a46(0xfb)](_0x54fa80[_0x305a46(0x1ed)][_0x305a46(0x11a)](_0x573b38[_0x305a46(0x13d)]))[_0x305a46(0x123)](_0x1deaf3=>_0x54fa80[_0x305a46(0xec)][_0x305a46(0x1cd)][_0x305a46(0x15b)](_0x1deaf3))[_0x305a46(0x123)](_0x5acc8b=>Array[_0x305a46(0xfb)](_0x5acc8b[_0x305a46(0x1a7)]()))[_0x305a46(0xdc)]();}if(!this[_0x305a46(0xd0)])return _0x548f16[0x0];return _0x548f16[_0x305a46(0x14d)](_0x212012=>_0x212012[_0x305a46(0x130)]-0x3<=this[_0x305a46(0xd0)]['y']&&_0x212012[_0x305a46(0x174)]+0x3>=this[_0x305a46(0xd0)]['y']&&_0x212012[_0x305a46(0x142)]-0x3<=this[_0x305a46(0xd0)]['x']&&_0x212012[_0x305a46(0x1a3)]+0x3>=this[_0x305a46(0xd0)]['x'])||_0x548f16[0x0];}}}),this[_0x2dcb82(0x116)][_0x2dcb82(0x176)](_0x2dcb82(0xfc)));}),this['on'](_0x4aee93(0xf0),(_0x5cad6f,_0x1bae6a,_0x536780,_0x4a2e96)=>{const _0x52c1ec=_0x4aee93;this[_0x52c1ec(0x158)]=_0x536780?this[_0x52c1ec(0x150)](_0x536780):null,this[_0x52c1ec(0x168)][_0x52c1ec(0x143)][_0x52c1ec(0x1bd)](()=>{const _0x4d21fc=_0x52c1ec,_0x3477a6=this[_0x4d21fc(0x168)][_0x4d21fc(0xe1)];_0x4a2e96&&(_0x4a2e96[_0x4d21fc(0x11f)][_0x4d21fc(0x1b2)]?_0x3477a6[_0x4d21fc(0xec)][_0x4d21fc(0x1bd)](_0x56df2d=>{const _0x462eb1=_0x4d21fc;_0x56df2d[_0x462eb1(0x148)](_0x462eb1(0x140),_0x3477a6[_0x462eb1(0xec)][_0x462eb1(0x1ba)][_0x462eb1(0x191)](_0x4a2e96[_0x462eb1(0x1a5)]));}):_0x3477a6[_0x4d21fc(0x1f1)](_0x4d21fc(0x180)+_0x4a2e96['id'])),_0x536780&&(_0x536780[_0x4d21fc(0x11f)][_0x4d21fc(0x1b2)]?_0x3477a6[_0x4d21fc(0xec)][_0x4d21fc(0x1bd)](_0x255c6c=>{const _0x38b551=_0x4d21fc;_0x255c6c[_0x38b551(0x189)](_0x38b551(0x140),_0x3477a6[_0x38b551(0xec)][_0x38b551(0x1ba)][_0x38b551(0x191)](_0x536780[_0x38b551(0x1a5)]));}):_0x3477a6[_0x4d21fc(0x1f1)](_0x4d21fc(0x180)+_0x536780['id']));});}),this[_0x4aee93(0x104)](this[_0x4aee93(0x168)][_0x4aee93(0xe1)][_0x4aee93(0xec)][_0x4aee93(0x1ba)],_0x4aee93(0xab),(_0x5e6905,_0x396252)=>{const _0x2039d5=_0x4aee93;if(this[_0x2039d5(0xdb)])return;const _0x13ee08=this[_0x2039d5(0x102)](_0x396252[_0x2039d5(0xb6)]),_0x177dbe=this[_0x2039d5(0x1db)][_0x2039d5(0x147)](_0x13ee08);_0x177dbe?(this[_0x2039d5(0xd0)]={'x':_0x396252[_0x2039d5(0xb2)]['x'],'y':_0x396252[_0x2039d5(0xb2)]['y']},this[_0x2039d5(0x158)]=this[_0x2039d5(0x150)](_0x177dbe)):(this[_0x2039d5(0xd0)]=null,this[_0x2039d5(0x158)]=null);}),this[_0x4aee93(0x104)](this[_0x4aee93(0x168)][_0x4aee93(0xe1)][_0x4aee93(0xec)][_0x4aee93(0x1ba)],_0x4aee93(0x120),(_0x4e13c1,_0x16e683)=>{const _0x357d77=_0x4aee93,_0x5f43d3=this[_0x357d77(0x102)](_0x16e683[_0x357d77(0xb6)]),_0xf8de69=this[_0x357d77(0x1db)][_0x357d77(0x147)](_0x5f43d3);_0xf8de69?(this[_0x357d77(0xd0)]={'x':_0x16e683[_0x357d77(0xb2)]['x'],'y':_0x16e683[_0x357d77(0xb2)]['y']},_0xf8de69===this[_0x357d77(0xdb)]?this[_0x357d77(0x116)][_0x357d77(0xd5)]():this[_0x357d77(0xdb)]=_0xf8de69):(this[_0x357d77(0xd0)]=null,this[_0x357d77(0xdb)]=null);});}[_0x500d49(0x102)](_0x5dfdd8){const _0x357c49=_0x500d49;do{const _0x274891=_0x5dfdd8[_0x357c49(0x14c)](_0x357c49(0xd2));if(_0x274891)return _0x274891;_0x5dfdd8=_0x5dfdd8[_0x357c49(0xb1)];}while(_0x5dfdd8);return null;}[_0x500d49(0xbc)](){const _0x2a9052=_0x500d49;this[_0x2a9052(0x168)][_0x2a9052(0x143)][_0x2a9052(0x1bd)](_0x56d0a8=>{const _0x4cf787=_0x2a9052;for(const _0x201f11 of this[_0x4cf787(0x168)][_0x4cf787(0x143)][_0x4cf787(0x1be)])_0x56d0a8[_0x4cf787(0x132)](_0x201f11);});}}function et(_0x4c3052,_0x53def1){return(_0x3ac8ec,_0x559bce,_0x3590b3)=>{const _0x31107b=_0x1fde;if(!_0x3590b3[_0x31107b(0xd6)][_0x31107b(0x13f)](_0x559bce[_0x31107b(0xac)],_0x3ac8ec[_0x31107b(0x13d)]))return;const _0x53c25a=_0x559bce[_0x31107b(0xac)][_0x31107b(0x12d)](),_0x5df878=_0x559bce[_0x31107b(0xac)][_0x31107b(0x18b)],_0x5de672=_0x4c3052[_0x31107b(0x143)][_0x31107b(0xf3)];let _0x7c8943=null,_0x31f639=null,_0x15a574=!0x1,_0x34e0e3=!0x1;for(const _0x3c9007 of _0x53c25a){const _0x5f306d=_0x3c9007[_0x31107b(0x166)];_0x15a574=_0x15a574||_0x5de672[_0x31107b(0x162)](_0x5f306d);const _0x5e26c2=_0x3590b3[_0x31107b(0x1ed)][_0x31107b(0x1af)](_0x5f306d);if(_0x5e26c2&&_0x5e26c2[_0x31107b(0x119)](_0x31107b(0x134)))return;_0x31107b(0xb3)==_0x3c9007[_0x31107b(0x1d4)]&&(_0x5de672[_0x31107b(0x12b)](_0x5f306d)&&!_0x5de672[_0x31107b(0x1c8)](_0x5f306d)&&(_0x5f306d[_0x31107b(0x194)]||_0x5df878[_0x31107b(0x10c)]?_0x7c8943&&_0x7c8943[_0x31107b(0xb1)]==_0x5f306d||(_0x7c8943=_0x5f306d,_0x2a6ca2(_0x3c9007[_0x31107b(0x1e2)]),_0x34e0e3=!0x0):_0x31f639=_0x31f639||_0x3c9007[_0x31107b(0x1e2)]));}function _0x2a6ca2(_0x340fc3){const _0x4087c4=_0x31107b,_0x112c65=_0x3590b3[_0x4087c4(0x1ed)][_0x4087c4(0x11b)](_0x340fc3),_0x38fd9e=_0x3590b3[_0x4087c4(0x1b0)][_0x4087c4(0xb0)](_0x4087c4(0x1cf),{'class':_0x4087c4(0xbb)+_0x53def1});_0x3590b3[_0x4087c4(0x1b0)][_0x4087c4(0x145)](_0x112c65,_0x38fd9e),_0x3590b3[_0x4087c4(0x1ed)][_0x4087c4(0xae)](_0x38fd9e,_0x559bce[_0x4087c4(0x1b8)]);}_0x15a574||_0x34e0e3||!_0x31f639||_0x2a6ca2(_0x31f639);};}export class RestoreRevisionCommand extends _0x1f112a{constructor(_0x3fa0cd){const _0x5cc513=_0x500d49;super(_0x3fa0cd);const _0xaf497c=_0x3fa0cd[_0x5cc513(0x1ce)][_0x5cc513(0x147)](d);this[_0x5cc513(0xad)]=!0x1,this[_0x5cc513(0x104)](_0xaf497c,_0x5cc513(0x15e),()=>this[_0x5cc513(0x1c9)]()),this[_0x5cc513(0x104)](_0xaf497c,_0x5cc513(0x118),()=>this[_0x5cc513(0x1c9)]());}[_0x500d49(0x1b5)](){const _0x1a99f0=_0x500d49,_0x45e120=this[_0x1a99f0(0x168)],_0x1d89bb=_0x45e120[_0x1a99f0(0x1ce)][_0x1a99f0(0x147)](d),_0x57a3ed=_0x1d89bb[_0x1a99f0(0x1d8)]?_0x1d89bb[_0x1a99f0(0x13b)][_0x1a99f0(0x17d)]:null;_0x45e120[_0x1a99f0(0x18c)][_0x1a99f0(0x147)](_0x1a99f0(0x128))[_0x1a99f0(0x117)](_0x57a3ed);}[_0x500d49(0x1c9)](){const _0x12e583=_0x500d49,{isReady:_0x5b4503,isEnabled:_0x360a1e}=this[_0x12e583(0x168)][_0x12e583(0x1ce)][_0x12e583(0x147)](d);this[_0x12e583(0x1f0)]=_0x5b4503&&_0x360a1e;}}export class ShowChangeCommand extends _0x1f112a{constructor(_0x2b702b,{direction:_0x36511d}){const _0x28ffce=_0x500d49;super(_0x2b702b);const _0x23093b=_0x2b702b[_0x28ffce(0x1ce)][_0x28ffce(0x147)](d);this[_0x28ffce(0xad)]=!0x1,this[_0x28ffce(0x1c2)]=_0x28ffce(0xf6)===_0x36511d?0x1:-0x1,this[_0x28ffce(0x104)](_0x23093b,_0x28ffce(0x15e),()=>this[_0x28ffce(0x1c9)]()),this[_0x28ffce(0x104)](_0x23093b,_0x28ffce(0x118),()=>this[_0x28ffce(0x1c9)]()),this[_0x28ffce(0x104)](_0x23093b,_0x28ffce(0xf0),()=>this[_0x28ffce(0x1c9)]());}[_0x500d49(0x1b5)](){const _0x3d454f=_0x500d49,_0x343037=this[_0x3d454f(0x168)],_0x9cc74c=_0x343037[_0x3d454f(0x1ce)][_0x3d454f(0x147)](d),{isNavigationMode:_0x2e6966,currentChangeNumber:_0x5e74ae}=_0x9cc74c;let _0x26fd14;if(_0x9cc74c[_0x3d454f(0xdb)]=_0x2e6966?_0x9cc74c[_0x3d454f(0x13b)][_0x3d454f(0xd9)][_0x3d454f(0x147)](_0x5e74ae+this[_0x3d454f(0x1c2)]):_0x9cc74c[_0x3d454f(0x13b)][_0x3d454f(0xd9)][_0x3d454f(0x112)],_0x9cc74c[_0x3d454f(0xdb)][_0x3d454f(0x11f)][_0x3d454f(0x1b2)])_0x26fd14=_0x343037[_0x3d454f(0xe1)][_0x3d454f(0xec)][_0x3d454f(0xf7)](_0x9cc74c[_0x3d454f(0xdb)][_0x3d454f(0x1a5)]);else{const _0x337141=_0x343037[_0x3d454f(0x143)][_0x3d454f(0x1be)][_0x3d454f(0x147)](_0x3d454f(0x180)+_0x9cc74c[_0x3d454f(0xdb)]['id']);_0x26fd14=_0x181a0b(_0x343037[_0x3d454f(0xe1)],_0x337141);}_0x2aa958({'target':_0x26fd14,'viewportOffset':0x28});}[_0x500d49(0x1c9)](){const _0x2c1a28=_0x500d49,{isNavigationMode:_0x52fd17,currentChangeNumber:_0x4de977,numberOfChanges:_0x708fca,isReady:_0x3341f4,isEnabled:_0x697848}=this[_0x2c1a28(0x168)][_0x2c1a28(0x1ce)][_0x2c1a28(0x147)](d);this[_0x2c1a28(0x1f0)]=!!(_0x697848&&_0x3341f4&&_0x708fca)&&(!_0x52fd17||(0x1===this[_0x2c1a28(0x1c2)]?_0x4de977<_0x708fca-0x1:_0x4de977>0x0));}}
|
|
23
|
+
const _0xabc655=_0x2520;(function(_0x3c4521,_0x3c9f1a){const _0x361d8f=_0x2520,_0x537b64=_0x3c4521();while(!![]){try{const _0x1af91d=parseInt(_0x361d8f(0x309))/0x1+parseInt(_0x361d8f(0x1d4))/0x2+parseInt(_0x361d8f(0x316))/0x3+parseInt(_0x361d8f(0x218))/0x4+-parseInt(_0x361d8f(0x301))/0x5*(-parseInt(_0x361d8f(0x2aa))/0x6)+-parseInt(_0x361d8f(0x2e0))/0x7*(parseInt(_0x361d8f(0x2b1))/0x8)+parseInt(_0x361d8f(0x2d0))/0x9*(-parseInt(_0x361d8f(0x24e))/0xa);if(_0x1af91d===_0x3c9f1a)break;else _0x537b64['push'](_0x537b64['shift']());}catch(_0x2bfc35){_0x537b64['push'](_0x537b64['shift']());}}}(_0x48ec,0x8d5e5));import{Plugin as _0x52ae47,Command as _0x3f4fb7}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x571583}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x237c96}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x46547b,Element as _0x5f317d,Text as _0x51d042,ViewDocumentFragment as _0x5cb1fe,ViewText as _0xcd65f2,ViewElement as _0x3dc1a2,ViewContainerElement as _0x135e91,ViewAttributeElement as _0x579856,ViewEmptyElement as _0x1c8071,ViewRawElement as _0x15119a,ViewUIElement as _0x5b549b}from'ckeditor5/src/engine.js';import{Users as _0x19e561,getMarkerDomElement as _0xfdf20d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x54d097 from'./ui/revisionviewer/changedetailsview.js';import _0xea215 from'./revisionsrepository.js';function _0x48ec(){const _0x19c03d=['pop','isNavigationMode','span','upcast','attributes','indexOf','addRevisionData','mouseover','writer','name','then','_update','addMarker:revision-suggestion:deletion','getClientRects','includes','object','change','requires','_refreshStartEndIndex','ck-revision-history-root-','flat','toViewRange','markers','diffData','_revisions','insertions','getAttributes','getRevisionRootsAttributes','error','change:isEnabled','createRangeIn','ck-revision-history-root-remove','values','stop','elementStart','showStack','distance','viewItem','_setConversion','consumable','remove','change:numberOfChanges','data-change-id','find','getCustomProperty','getDomRoot','isOnRoot','revisionHistoryLabel','split','execute','authors','revision-start','isAtStart','listenTo','1961812xGudql','_markMarkers','oldRevisionId','_initInteractions','isContent','domEvent','hasClass','observeMarkers','isSuggestion','abs','_changeIdToChange','RevisionsRepository','_fixObsoleteTags','view','change:activeView','restoreRevisionCallback','_makeModelFromViewString','isObject','first','_makeTape','keys','change:isReady','children','change:activeChange','wrap','index','downcastDispatcher','rootName','map','set','createPositionFromPath','range','marked','plugins','addMarker:revision','mapViewToDom','high','toViewPosition','adapter','endIndex','vid','revision-viewer','element:pre','showNextChange','ck-suggestion-marker-merge','consume','revision-suggestion','revisionHistory','markersEnd','sort','unshift','_data','length','isEqual','60byxBAI','removeClass','markersStart','_getChangeFromId','affectsData','backward','setAttribute','getRootNames','has','processor','_setChanges','_appendChild','_markInsertions','activeView','getRevision','currentChangeNumber','pairId','changeId','updatePosition','locale','type','bindElementToMarker','_cleanUp','mapper','dataToMarker','isInline','markerNameToElements','startsWith','useFillerType','_findChangeIdFromDomTarget','domConverter','addClass','forceDisabled','_processTape','isAfter','ck-suggestion-marker-split','conversion','push','changes','RevisionViewer','document','compare','_getViewForChange','getAttribute','createRevision','schema','_balloon','getRoot','_markSuggestions','_getDiff','getIndex','mousedown','checkAttribute','addRevision','slice','insertion','addMarker:revision-suggestion:insertion','add','removeMarker','deletion','ck-suggestion-marker-','isLimit','getChild','suggestion','vid_start','markerName','hasAttribute','isIncorrect','markerToData','ck-revision-history-root--active','_cleanMarkers','attachChange','loadRevisionData','data-revision-','removeAttribute','concat','startIndex','getWalker','end','_activeViewTarget','delete','_setDistance','refresh','element','modelRange','data','_removeRevisionMarkers','commands','_sortAndFilterDiffChanges','elementEnd','ck-suggestion-preview-marker','maxOffset','2994PpjKzP','_getRevisionsRange','catch','side','insert','nextPosition','dataDowncast','906232FDEgqx','splice','nextSibling','_threeWayMerge','default','get','bottom','WidgetToolbarRepository','_makeModelFromTape','target','destroy','diff','roots','toModel','restoreRevision','showPreviousChange','selection','getItems','createUIElement','isReady','filter','isRemoveSuggestion','ck-suggestion-marker','addHighlight','previousPosition','ck-revision-history-root-add','createAttributeElement','activeChange','deletions','_markMismatchedRemovedTags','clear','3773448nToGnG','removeMarker:revision','all','ck-editor__editable__overlay','addRoot','isAtEnd','revision','bind','merge','revision-comment:','for','config','editing','editingDowncast','userId','toViewElement','7QEzMLO','code','newRevisionId','markerToHighlight','createPositionBefore','item','getRevisionData','parent','ck-suggestion-marker--active','string','isRemoved','uiElement','isAttached','nodeAfter','POSITIVE_INFINITY','init','suggestion:','enableReadOnlyMode','_changeView','-new','_removeMissingPairs','from','softBreak','unbindElementFromMarkerName','attributesBefore','collaboration.channelId','revision:','forward','ck-suggestion-preview-marker-','toData','model','shift','numberOfChanges','10735UrGFPG','done','start','_joinTapes','revisionHistoryAttachChange','detachRoot','revision-end','low','148674XCFpji','isBefore','next','attributesAfter','top','createRange','return','highest','text','parse','isCollapsed','editor','vid_end','3173034PhVhrn','resolve','reconvertMarker','forEach','right','repository','markerRange','pluginName','revision-suggestion:','elementToAttribute','enqueueChange','level','isBlock','879596KYsHrT','_getViewObj','removeMarker:revision-suggestion','isAdded','offsetSize','left','_removeUnsupportedChanges','comment','attribute:vid','isAddSuggestion','_step','test','findIndex','isEnabled'];_0x48ec=function(){return _0x19c03d;};return _0x48ec();}import _0x138614 from'./changeitem.js';import{default as _0x32ea29}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x8b526}from'lodash-es';const tt={'c':_0x135e91,'a':_0x579856,'e':_0x1c8071,'r':_0x15119a,'u':_0x5b549b};export default class d extends _0x52ae47{static get[_0xabc655(0x31d)](){const _0x5e7efc=_0xabc655;return _0x5e7efc(0x275);}static get[_0xabc655(0x1f3)](){return[_0x19e561,_0x237c96,_0xea215];}constructor(_0x20fea4){const _0x5453fd=_0xabc655;super(_0x20fea4),this[_0x5453fd(0x31b)]=this[_0x5453fd(0x314)][_0x5453fd(0x239)][_0x5453fd(0x2b6)](_0x5453fd(0x223)),this[_0x5453fd(0x235)](_0x5453fd(0x2cc),null),this[_0x5453fd(0x235)](_0x5453fd(0x25b),null),this[_0x5453fd(0x29d)]=null,this[_0x5453fd(0x235)](_0x5453fd(0x2bc),null),this[_0x5453fd(0x235)](_0x5453fd(0x2c4),!0x1),this[_0x5453fd(0x235)](_0x5453fd(0x1e1),!0x0),this['on'](_0x5453fd(0x1ff),(_0x4289f4,_0x12be22,_0x20c814)=>{const _0x25582d=_0x5453fd;this[_0x25582d(0x2cc)]=null,this[_0x25582d(0x25b)]=null,this[_0x25582d(0x314)][_0x25582d(0x2dc)][_0x25582d(0x225)][_0x25582d(0x1f2)](_0x2ee1bd=>{const _0x3da3b3=_0x25582d;for(const _0x22efca of this[_0x3da3b3(0x314)][_0x3da3b3(0x2dc)][_0x3da3b3(0x225)][_0x3da3b3(0x276)][_0x3da3b3(0x2bd)])_0x20c814?_0x2ee1bd[_0x3da3b3(0x24f)](_0x3da3b3(0x2d3),_0x22efca):_0x2ee1bd[_0x3da3b3(0x26d)](_0x3da3b3(0x2d3),_0x22efca);});}),this[_0x5453fd(0x2d7)](_0x5453fd(0x1e3))['to'](this,_0x5453fd(0x2cc),_0x136069=>null!==_0x136069),this[_0x5453fd(0x2d7)](_0x5453fd(0x25d))['to'](this,_0x5453fd(0x2c4),this,_0x5453fd(0x2bc),this,_0x5453fd(0x2cc),(_0x441718,_0x4a5e72,_0x330033)=>_0x441718&&_0x330033?_0x4a5e72[_0x5453fd(0x274)][_0x5453fd(0x280)](_0x330033):0x0),this[_0x5453fd(0x2d7)](_0x5453fd(0x300))['to'](this,_0x5453fd(0x2c4),this,_0x5453fd(0x2bc),(_0x13296f,_0x16b6af)=>_0x13296f?_0x16b6af[_0x5453fd(0x274)][_0x5453fd(0x24c)]:0x0),this[_0x5453fd(0x2f2)]=null,this[_0x5453fd(0x222)]=new Map(),this[_0x5453fd(0x23e)]=null,this[_0x5453fd(0x27c)]=this[_0x5453fd(0x314)][_0x5453fd(0x239)][_0x5453fd(0x2b6)](_0x237c96);}[_0xabc655(0x2ef)](){const _0x27d1de=_0xabc655,_0x4facf3=this[_0x27d1de(0x314)],_0x196041=new ShowChangeCommand(_0x4facf3,{'direction':_0x27d1de(0x253)}),_0x5f5649=new ShowChangeCommand(_0x4facf3,{'direction':_0x27d1de(0x2fb)});(_0x4facf3[_0x27d1de(0x2a5)][_0x27d1de(0x287)](_0x27d1de(0x2c0),_0x196041),_0x4facf3[_0x27d1de(0x2a5)][_0x27d1de(0x287)](_0x27d1de(0x243),_0x5f5649),_0x4facf3[_0x27d1de(0x2a5)][_0x27d1de(0x287)](_0x27d1de(0x2bf),new RestoreRevisionCommand(_0x4facf3)),this['on'](_0x27d1de(0x20b),()=>{const _0x2bcac3=_0x27d1de;_0x196041[_0x2bcac3(0x2a0)](),_0x5f5649[_0x2bcac3(0x2a0)]();}),this[_0x27d1de(0x208)](),this[_0x27d1de(0x21b)](),_0x4facf3[_0x27d1de(0x2f1)](_0x27d1de(0x241)),_0x4facf3[_0x27d1de(0x239)][_0x27d1de(0x256)](_0x27d1de(0x2b8)))&&_0x4facf3[_0x27d1de(0x239)][_0x27d1de(0x2b6)](_0x27d1de(0x2b8))[_0x27d1de(0x26e)](_0x27d1de(0x241));}async[_0xabc655(0x2e6)](_0x5953db){const _0x18446e=_0xabc655;await this[_0x18446e(0x296)](_0x5953db);const _0x1057ab={};for(const _0x455ee0 in _0x5953db[_0x18446e(0x1f9)]){if(_0x5953db[_0x18446e(0x1f9)][_0x455ee0][_0x18446e(0x295)]&&!_0x5953db[_0x18446e(0x1f9)][_0x455ee0][_0x18446e(0x295)][_0x18446e(0x2ec)])continue;const _0x3e4f1d=this[_0x18446e(0x2a4)](JSON[_0x18446e(0x312)](_0x5953db[_0x18446e(0x1f9)][_0x455ee0][_0x18446e(0x1fb)])),_0x54724c=this[_0x18446e(0x314)][_0x18446e(0x2dc)][_0x18446e(0x225)][_0x18446e(0x276)],_0x1cd27a=new _0x5cb1fe(_0x54724c,_0x3e4f1d[_0x18446e(0x234)](_0x2fdc9d=>this[_0x18446e(0x1d5)](_0x2fdc9d)));this[_0x18446e(0x314)][_0x18446e(0x2a3)][_0x18446e(0x257)][_0x18446e(0x26a)](_0x18446e(0x238)),_0x1057ab[_0x455ee0]=this[_0x18446e(0x314)][_0x18446e(0x2a3)][_0x18446e(0x257)][_0x18446e(0x2fd)](_0x1cd27a),this[_0x18446e(0x314)][_0x18446e(0x2a3)][_0x18446e(0x257)][_0x18446e(0x26a)](_0x18446e(0x2b5));}return _0x1057ab;}async[_0xabc655(0x1fd)](_0x4af671){const _0xbfc937=_0xabc655;await this[_0xbfc937(0x296)](_0x4af671);const _0x520e90={};for(const _0x36a10b in _0x4af671[_0xbfc937(0x1f9)])_0x4af671[_0xbfc937(0x1f9)][_0x36a10b][_0xbfc937(0x295)]&&!_0x4af671[_0xbfc937(0x1f9)][_0x36a10b][_0xbfc937(0x295)][_0xbfc937(0x2ec)]||(_0x520e90[_0x36a10b]=_0x4af671[_0xbfc937(0x1f9)][_0x36a10b][_0xbfc937(0x30c)]||{});return _0x520e90;}[_0xabc655(0x2a4)](_0x5e0d60){const _0x3174f6=_0xabc655;return(_0x5e0d60=_0x5e0d60[_0x3174f6(0x2c5)](_0x580b1b=>!_0x580b1b[_0x3174f6(0x1eb)]||_0x3174f6(0x215)!==_0x580b1b[_0x3174f6(0x1eb)]&&_0x3174f6(0x307)!==_0x580b1b[_0x3174f6(0x1eb)]))[_0x3174f6(0x319)](_0x171c0c=>{const _0x3dcf13=_0x3174f6;_0x3dcf13(0x2e9)!=typeof _0x171c0c&&(_0x171c0c[_0x3dcf13(0x22e)]=this[_0x3dcf13(0x2a4)](_0x171c0c[_0x3dcf13(0x22e)]),_0x171c0c[_0x3dcf13(0x1e6)]=_0x171c0c[_0x3dcf13(0x1e6)][_0x3dcf13(0x2c5)](_0x507352=>!_0x507352[0x0][_0x3dcf13(0x269)](_0x3dcf13(0x297))));}),_0x5e0d60;}async[_0xabc655(0x277)](_0x26d55a,_0x46fa86,_0x4eb38f=!0x1){const _0x4ea634=_0xabc655;if(!this[_0x4ea634(0x1e1)])return;const _0x9631f=this[_0x4ea634(0x2bc)],_0x2db671=this[_0x4ea634(0x31b)],_0x46c7e4=_0x4ea634(0x2e9)==typeof _0x26d55a?_0x2db671[_0x4ea634(0x25c)](_0x26d55a):_0x26d55a,_0x81244=_0x4ea634(0x2e9)==typeof _0x46fa86?_0x2db671[_0x4ea634(0x25c)](_0x46fa86):_0x46fa86,_0x3c9971=_0x46c7e4['id'],_0x3b035a=_0x81244?_0x81244['id']:null;if(!_0x4eb38f&&this[_0x4ea634(0x2bc)]&&this[_0x4ea634(0x2bc)][_0x4ea634(0x2e2)]===_0x3c9971&&this[_0x4ea634(0x2bc)][_0x4ea634(0x21a)]===_0x3b035a)return Promise[_0x4ea634(0x317)]();this[_0x4ea634(0x2c4)]=!0x1,this[_0x4ea634(0x25b)]=null,this[_0x4ea634(0x2cc)]=null,this[_0x4ea634(0x2bc)]=new _0x32ea29(_0x3c9971,_0x3b035a);const _0x4b9535=this[_0x4ea634(0x2ab)](_0x46c7e4,_0x81244,!0x0)[_0x4ea634(0x234)](_0x5d37be=>this[_0x4ea634(0x296)](_0x5d37be));return _0x4b9535[_0x4ea634(0x273)](new Promise(_0x26e2e7=>{setTimeout(_0x26e2e7,0x14);})),Promise[_0x4ea634(0x2d2)](_0x4b9535)[_0x4ea634(0x1ec)](()=>{const _0x3af956=_0x4ea634;if(!this[_0x3af956(0x1e1)])return;this[_0x3af956(0x264)]();const _0xe28df4=this[_0x3af956(0x27f)](_0x3c9971,_0x3b035a);for(const _0x5b2568 of _0xe28df4[_0x3af956(0x274)])this[_0x3af956(0x222)][_0x3af956(0x235)](_0x5b2568['id'],_0x5b2568);this[_0x3af956(0x314)][_0x3af956(0x2fe)][_0x3af956(0x1d1)]({'isUndoable':!0x1},_0x116686=>{const _0x18f831=_0x3af956;for(const _0x1bbe22 of this[_0x18f831(0x314)][_0x18f831(0x2fe)][_0x18f831(0x276)][_0x18f831(0x255)]())_0x116686[_0x18f831(0x306)](_0x1bbe22);for(const _0x1eb597 of Object[_0x18f831(0x22c)](_0xe28df4[_0x18f831(0x2fe)])){const _0x4c3018=_0x116686[_0x18f831(0x2d4)](_0x1eb597);for(const _0x5661dc of Object[_0x18f831(0x22c)](_0xe28df4[_0x18f831(0x1e6)][_0x1eb597]))_0x116686[_0x18f831(0x254)](_0x5661dc,_0xe28df4[_0x18f831(0x1e6)][_0x1eb597][_0x5661dc],_0x4c3018);_0x116686[_0x18f831(0x2ae)](_0xe28df4[_0x18f831(0x2fe)][_0x1eb597],_0x4c3018,0x0);}}),this[_0x3af956(0x2bc)][_0x3af956(0x258)](this[_0x3af956(0x2a6)](_0xe28df4[_0x3af956(0x274)])),this[_0x3af956(0x2c4)]=!0x0;})[_0x4ea634(0x2ac)](_0x51fd1c=>{const _0x537bb2=_0x4ea634;console[_0x537bb2(0x1fe)](_0x51fd1c),this[_0x537bb2(0x264)](),_0x9631f&&(this[_0x537bb2(0x2bc)]=_0x9631f),this[_0x537bb2(0x2c4)]=!0x0;});}[_0xabc655(0x1e8)](_0x137704,_0x50f3bc){const _0x16f5c4=_0xabc655,_0x362f13=this[_0x16f5c4(0x31b)][_0x16f5c4(0x27a)](_0x137704);return _0x362f13['on'](_0x16f5c4(0x1ed),(_0x4f27ce,_0x2f3337,_0x19cf8e)=>_0x50f3bc(_0x2f3337,_0x19cf8e,_0x362f13)),this[_0x16f5c4(0x31b)][_0x16f5c4(0x283)](_0x362f13),_0x362f13;}[_0xabc655(0x296)](_0x281489){const _0x5b254d=_0xabc655;if(!_0x281489||_0x281489[_0x5b254d(0x1f9)])return Promise[_0x5b254d(0x317)]();{const _0x1186d3=this[_0x5b254d(0x314)][_0x5b254d(0x2db)][_0x5b254d(0x2b6)](_0x5b254d(0x2f9));return this[_0x5b254d(0x23e)][_0x5b254d(0x25c)]({'channelId':_0x1186d3,'revisionId':_0x281489['id']})[_0x5b254d(0x1ec)](_0x386b37=>{const _0x3ebb2e=_0x5b254d;_0x281489[_0x3ebb2e(0x1ed)]({'diffData':_0x386b37[_0x3ebb2e(0x1f9)]},!0x0);});}}[_0xabc655(0x264)](){const _0xca0112=_0xabc655;this[_0xca0112(0x2cc)]=null,this[_0xca0112(0x294)](),this[_0xca0112(0x2f2)]&&this[_0xca0112(0x2f2)][_0xca0112(0x2bb)](),this[_0xca0112(0x2f2)]=null,this[_0xca0112(0x222)][_0xca0112(0x2cf)](),this[_0xca0112(0x314)][_0xca0112(0x2fe)][_0xca0112(0x1d1)]({'isUndoable':!0x1},_0x59f575=>{const _0x7220f0=_0xca0112;for(const _0x3e61a3 of this[_0x7220f0(0x314)][_0x7220f0(0x2fe)][_0x7220f0(0x276)][_0x7220f0(0x255)]())_0x59f575[_0x7220f0(0x306)](_0x3e61a3);});}[_0xabc655(0x2a6)](_0x2e5e8d){const _0xa6d6b1=_0xabc655,_0x2a3758=[],_0x4dd918=new Map();for(const _0x19d9a7 of this[_0xa6d6b1(0x314)][_0xa6d6b1(0x2fe)][_0xa6d6b1(0x276)][_0xa6d6b1(0x255)]()){const _0x2b9a43=this[_0xa6d6b1(0x314)][_0xa6d6b1(0x2dc)][_0xa6d6b1(0x225)][_0xa6d6b1(0x20f)](_0x19d9a7);if(!_0x2b9a43)continue;const _0xb9f859=_0x2b9a43[_0xa6d6b1(0x1ef)]()[_0xa6d6b1(0x2e5)](0x0);_0xb9f859&&(_0x2a3758[_0xa6d6b1(0x273)](_0x19d9a7),_0x4dd918[_0xa6d6b1(0x235)](_0x19d9a7,_0xb9f859));}return _0x2a3758[_0xa6d6b1(0x249)]((_0x162146,_0x11ecb4)=>{const _0x86bfd1=_0xa6d6b1,_0xab2989=_0x4dd918[_0x86bfd1(0x2b6)](_0x162146),_0x4465a8=_0x4dd918[_0x86bfd1(0x2b6)](_0x11ecb4);return _0xab2989['y']-_0x4465a8['y']||_0xab2989['x']-_0x4465a8['x'];}),(_0x2e5e8d=_0x2e5e8d[_0xa6d6b1(0x2c5)](_0x49185=>_0x2a3758[_0xa6d6b1(0x1f0)](_0x49185[_0xa6d6b1(0x233)])))[_0xa6d6b1(0x249)]((_0x54e73d,_0x4a9ab3)=>_0x2a3758[_0xa6d6b1(0x1e7)](_0x54e73d[_0xa6d6b1(0x233)])-_0x2a3758[_0xa6d6b1(0x1e7)](_0x4a9ab3[_0xa6d6b1(0x233)])),_0x2e5e8d;}[_0xabc655(0x22b)](_0x36da06){const _0x101971=_0xabc655,_0x212f10=Array[_0x101971(0x2f5)](_0x36da06[_0x101971(0x1f8)])[_0x101971(0x2c5)](([_0xac7ca5,_0x2ce23b])=>_0xac7ca5[_0x101971(0x269)](_0x101971(0x2fa))&&!_0x2ce23b[_0x101971(0x313)]),_0x1157ff=Array[_0x101971(0x2f5)](this[_0x101971(0x314)][_0x101971(0x2fe)][_0x101971(0x200)](_0x36da06)[_0x101971(0x29b)]({'singleCharacters':!0x0}));if(0x0!=_0x212f10[_0x101971(0x24c)])for(const _0x481891 of _0x1157ff){const [_0x3a6325,_0x45e5f9]=_0x212f10[0x0],[,_0x21690b,_0xf855bc]=_0x3a6325[_0x101971(0x212)](':');if(_0x45e5f9[_0x101971(0x29c)][_0x101971(0x24d)](_0x481891[_0x101971(0x2af)])&&_0x212f10[_0x101971(0x2ff)](),(_0x481891[_0x101971(0x2c9)][_0x101971(0x24d)](_0x45e5f9[_0x101971(0x303)])||_0x481891[_0x101971(0x2c9)][_0x101971(0x270)](_0x45e5f9[_0x101971(0x303)]))&&(_0x101971(0x285)==_0x21690b?_0x481891[_0x101971(0x1d7)]={'userId':_0xf855bc}:_0x101971(0x289)==_0x21690b&&(_0x481891[_0x101971(0x2ea)]={'userId':_0xf855bc})),0x0==_0x212f10[_0x101971(0x24c)])break;}return _0x1157ff;}[_0xabc655(0x1f4)](_0x57bb66){const _0x2e4658=_0xabc655,_0xad8113=new Map();for(let _0x4575a5=0x0;_0x4575a5<_0x57bb66[_0x2e4658(0x24c)];_0x4575a5++)_0x2e4658(0x311)===_0x57bb66[_0x4575a5][_0x2e4658(0x262)]?(_0x57bb66[_0x4575a5][_0x2e4658(0x2e5)][_0x2e4658(0x29a)]=_0x4575a5,_0x57bb66[_0x4575a5][_0x2e4658(0x2e5)][_0x2e4658(0x23f)]=_0x4575a5):(_0x2e4658(0x204)===_0x57bb66[_0x4575a5][_0x2e4658(0x262)]?_0x57bb66[_0x4575a5][_0x2e4658(0x2e5)][_0x2e4658(0x29a)]=_0x4575a5:_0x2e4658(0x2a7)===_0x57bb66[_0x4575a5][_0x2e4658(0x262)]&&(_0x57bb66[_0x4575a5][_0x2e4658(0x2e5)][_0x2e4658(0x23f)]=_0x4575a5),_0xad8113[_0x2e4658(0x235)](_0x57bb66[_0x4575a5]['id'],_0x4575a5));for(const _0x216231 of _0xad8113[_0x2e4658(0x202)]())_0x2e4658(0x204)===_0x57bb66[_0x216231][_0x2e4658(0x262)]?_0x57bb66[_0x216231][_0x2e4658(0x2e5)][_0x2e4658(0x23f)]=_0xad8113[_0x2e4658(0x2b6)](_0x57bb66[_0x216231][_0x2e4658(0x25e)]):_0x2e4658(0x2a7)===_0x57bb66[_0x216231][_0x2e4658(0x262)]&&(_0x57bb66[_0x216231][_0x2e4658(0x2e5)][_0x2e4658(0x29a)]=_0xad8113[_0x2e4658(0x2b6)](_0x57bb66[_0x216231][_0x2e4658(0x25e)]));}[_0xabc655(0x26f)](_0x323385){const _0x36785c=_0xabc655;for(let _0x3dbd13=0x0;_0x3dbd13<_0x323385[_0x36785c(0x24c)];_0x3dbd13++){if(_0x36785c(0x204)===_0x323385[_0x3dbd13][_0x36785c(0x262)])_0x323385[_0x3dbd13][_0x36785c(0x2e5)][_0x36785c(0x29a)]=_0x3dbd13;else{if(_0x36785c(0x2a7)===_0x323385[_0x3dbd13][_0x36785c(0x262)]){_0x323385[_0x3dbd13][_0x36785c(0x2e5)][_0x36785c(0x23f)]=_0x3dbd13;const _0x3c8935=_0x323385[_0x3dbd13][_0x36785c(0x2e5)][_0x36785c(0x29a)];_0x323385[_0x3c8935][_0x36785c(0x25e)]=_0x323385[_0x3dbd13]['id'],_0x323385[_0x3dbd13][_0x36785c(0x25e)]=_0x323385[_0x3c8935]['id'];}else _0x323385[_0x3dbd13][_0x36785c(0x2e5)][_0x36785c(0x29a)]=_0x3dbd13,_0x323385[_0x3dbd13][_0x36785c(0x2e5)][_0x36785c(0x23f)]=_0x3dbd13,_0x323385[_0x3dbd13][_0x36785c(0x25e)]=null;}_0x323385[_0x3dbd13][_0x36785c(0x250)]||(_0x323385[_0x3dbd13][_0x36785c(0x250)]=[],_0x323385[_0x3dbd13][_0x36785c(0x248)]=[]);}}[_0xabc655(0x25a)](_0x440cb6,_0x3524de){const _0x4acb34=_0xabc655,_0x38ced1=_0x440cb6[_0x4acb34(0x2c5)](_0x4210fd=>!_0x4210fd[_0x4acb34(0x1d7)]);for(let _0x2a9dca=0x0;_0x2a9dca<_0x3524de[_0x4acb34(0x24c)];_0x2a9dca++)_0x3524de[_0x2a9dca][_0x4acb34(0x1d7)]&&(_0x38ced1[_0x2a9dca][_0x4acb34(0x1d7)]=_0x3524de[_0x2a9dca][_0x4acb34(0x1d7)]);}[_0xabc655(0x228)](_0x5a2daa){const _0x33fa29=_0xabc655,_0x45b619=JSON[_0x33fa29(0x312)](_0x5a2daa),_0x4ade0f=this[_0x33fa29(0x314)][_0x33fa29(0x2dc)][_0x33fa29(0x225)][_0x33fa29(0x276)],_0x1fdf8f=new _0x5cb1fe(_0x4ade0f,_0x45b619[_0x33fa29(0x234)](_0x4ae996=>this[_0x33fa29(0x1d5)](_0x4ae996)));return this[_0x33fa29(0x314)][_0x33fa29(0x2a3)][_0x33fa29(0x2be)](_0x1fdf8f);}[_0xabc655(0x1d5)](_0x1a961e){const _0xc51d00=_0xabc655,_0x2c1186=this[_0xc51d00(0x314)][_0xc51d00(0x2dc)][_0xc51d00(0x225)][_0xc51d00(0x276)];if(_0xc51d00(0x2e9)==typeof _0x1a961e)return new _0xcd65f2(_0x2c1186,_0x1a961e);{const _0x52a53c=_0x1a961e[_0xc51d00(0x22e)][_0xc51d00(0x234)](_0x48177=>this[_0xc51d00(0x1d5)](_0x48177));return new(tt[_0x1a961e[(_0xc51d00(0x262))]]||_0x3dc1a2)(_0x2c1186,_0x1a961e[_0xc51d00(0x1eb)],_0x1a961e[_0xc51d00(0x1e6)],_0x52a53c);}}[_0xabc655(0x27f)](_0x51d439,_0x27a717=null){const _0xf2348=_0xabc655,_0x2d7149=this[_0xf2348(0x31b)][_0xf2348(0x25c)](_0x51d439),_0x77cfe4=_0x27a717?this[_0xf2348(0x31b)][_0xf2348(0x25c)](_0x27a717):null,_0xc7b126=this[_0xf2348(0x2ab)](_0x2d7149,_0x77cfe4),_0x1abbf7=_0xc7b126[_0xc7b126[_0xf2348(0x24c)]-0x1],_0x232ec8=new Map(),_0x83e94={'model':{},'attributes':{},'changes':[]},_0x20949a=new Set(),_0x4400aa=new Map();for(let _0x53a387=_0xc7b126[_0xf2348(0x24c)]-0x1;_0x53a387>=0x0;_0x53a387--){const _0x42e889=_0xc7b126[_0x53a387];for(const _0x54555d of Object[_0xf2348(0x22c)](_0x42e889[_0xf2348(0x1f9)]))if(_0x42e889[_0xf2348(0x1f9)][_0x54555d][_0xf2348(0x295)]){const _0x4cd2a4=_0x42e889[_0xf2348(0x1f9)][_0x54555d][_0xf2348(0x295)];_0x4cd2a4[_0xf2348(0x2ec)]?(_0x20949a[_0xf2348(0x287)](_0x54555d),_0x4400aa[_0xf2348(0x256)](_0x54555d)&&_0x4400aa[_0xf2348(0x2b6)](_0x54555d)[_0xf2348(0x2de)]==_0x4cd2a4[_0xf2348(0x2de)]?_0x4400aa[_0xf2348(0x29e)](_0x54555d):_0x4400aa[_0xf2348(0x235)](_0x54555d,_0x4cd2a4)):_0x4400aa[_0xf2348(0x256)](_0x54555d)?(_0x20949a[_0xf2348(0x29e)](_0x54555d),_0x4400aa[_0xf2348(0x29e)](_0x54555d)):(_0x20949a[_0xf2348(0x287)](_0x54555d),_0x4400aa[_0xf2348(0x235)](_0x54555d,_0x4cd2a4));}else _0x20949a[_0xf2348(0x287)](_0x54555d);}for(const _0x216df5 of _0x20949a){const _0x343eef=_0x4400aa[_0xf2348(0x256)](_0x216df5)&&!_0x4400aa[_0xf2348(0x2b6)](_0x216df5)[_0xf2348(0x2ec)];let _0x9c2d3e=_0x343eef?_0xc7b126[_0xf2348(0x24c)]-0x1:0x0;const _0x14e77b=_0x343eef?-0x1:0x1;for(;_0xc7b126[_0x9c2d3e];){const _0x33989e=_0xc7b126[_0x9c2d3e];if(_0x33989e[_0xf2348(0x1f9)][_0x216df5]){const _0x150a86=_0x343eef?_0x33989e[_0xf2348(0x1f9)][_0x216df5][_0xf2348(0x2f8)]:_0x33989e[_0xf2348(0x1f9)][_0x216df5][_0xf2348(0x30c)];_0x83e94[_0xf2348(0x1e6)][_0x216df5]=_0x150a86?_0x8b526(_0x150a86):{};break;}_0x9c2d3e+=_0x14e77b;}}for(const _0x1f5902 of _0xc7b126){_0x1f5902[_0xf2348(0x2fe)]={};for(const _0x3af4fb of _0x1f5902[_0xf2348(0x214)])_0x232ec8[_0xf2348(0x235)](_0x3af4fb['id'],_0x3af4fb);for(const _0x399538 of _0x20949a){const _0x3aa02e=_0x1f5902[_0xf2348(0x1f9)][_0x399538]?_0x1f5902[_0xf2348(0x1f9)][_0x399538][_0xf2348(0x1fb)]:'[]',_0x274348=_0x1f5902[_0xf2348(0x1f9)][_0x399538]?_0x1f5902[_0xf2348(0x1f9)][_0x399538][_0xf2348(0x2cd)]:'[]';_0x1f5902[_0xf2348(0x2fe)][_0x399538]={'insertions':this[_0xf2348(0x228)](_0x3aa02e),'deletions':this[_0xf2348(0x228)](_0x274348)};}}for(const _0x16ec73 of _0x20949a){let _0xb713f3=null,_0x460445=0x0;const _0x1cdebc=new Map(Array[_0xf2348(0x2f5)](_0x2d7149[_0xf2348(0x2fe)][_0x16ec73][_0xf2348(0x1fb)][_0xf2348(0x1f8)])[_0xf2348(0x2c5)](([_0x20f6ee])=>!_0x20f6ee[_0xf2348(0x269)](_0xf2348(0x2fa))));let _0x662b56=0x0;for(const _0x416d3b of _0xc7b126){const _0x50e8cb=this[_0xf2348(0x22b)](_0x416d3b[_0xf2348(0x2fe)][_0x16ec73][_0xf2348(0x1fb)]);_0x416d3b==_0x2d7149?(_0xb713f3=_0x50e8cb,_0x460445=_0xb713f3[_0xf2348(0x24c)],_0xb713f3[_0xf2348(0x319)](_0x8ac58a=>{_0x8ac58a['id']=_0x662b56++;}),this[_0xf2348(0x26f)](_0xb713f3)):this[_0xf2348(0x25a)](_0xb713f3,_0x50e8cb);const _0x131b92=_0xb713f3[_0xf2348(0x2c5)](_0x56dd80=>!_0x56dd80[_0xf2348(0x1d7)])[_0xf2348(0x234)](_0x461f13=>_0x461f13['id']);let _0x53b0f5=0x0;const _0x528020=this[_0xf2348(0x22b)](_0x416d3b[_0xf2348(0x2fe)][_0x16ec73][_0xf2348(0x2cd)]);_0x528020[_0xf2348(0x319)](_0x49c97d=>{const _0x464b9c=_0xf2348;_0x49c97d[_0x464b9c(0x2ea)]?_0x49c97d['id']=_0x460445++:_0x49c97d['id']=_0x131b92[_0x53b0f5++];}),this[_0xf2348(0x26f)](_0x528020),this[_0xf2348(0x29f)](_0xb713f3,_0xf2348(0x1d7)),this[_0xf2348(0x29f)](_0x528020,_0xf2348(0x2ea)),_0x416d3b==_0x2d7149&&this[_0xf2348(0x219)](_0xb713f3,_0x1cdebc),_0xb713f3=this[_0xf2348(0x304)](_0xb713f3,_0x528020),this[_0xf2348(0x1f4)](_0xb713f3),this[_0xf2348(0x29f)](_0xb713f3,_0xf2348(0x2ea));}_0xb713f3=_0xb713f3[_0xf2348(0x2c5)](_0x417b4b=>!(_0x417b4b[_0xf2348(0x1d7)]&&_0x417b4b[_0xf2348(0x2ea)]));const _0x264571=new Map(_0x1abbf7[_0xf2348(0x2fe)][_0x16ec73][_0xf2348(0x2cd)][_0xf2348(0x1f8)]),_0x329a59=new Set(_0x1cdebc[_0xf2348(0x22c)]());for(const _0x47f232 of _0x264571[_0xf2348(0x22c)]())_0x329a59[_0xf2348(0x29e)](_0x47f232);this[_0xf2348(0x27e)](_0xb713f3,_0x329a59),this[_0xf2348(0x224)](_0xb713f3),_0xb713f3=this[_0xf2348(0x2f4)](_0xb713f3),_0xb713f3=this[_0xf2348(0x2ce)](_0xb713f3),_0xb713f3=this[_0xf2348(0x1da)](_0xb713f3);const {root:_0x502cac,changes:_0x370966}=this[_0xf2348(0x2b9)](_0xb713f3,_0x232ec8,_0x16ec73);_0x83e94[_0xf2348(0x2fe)][_0x16ec73]=_0x502cac;const _0x1e8d07=_0x4400aa[_0xf2348(0x2b6)](_0x16ec73);if(_0x1e8d07){const _0x59de90=_0x232ec8[_0xf2348(0x2b6)](_0x1e8d07[_0xf2348(0x2de)]),_0x4ac7ea=new _0x138614({'author':_0x59de90,'type':_0x1e8d07[_0xf2348(0x2ec)]?_0xf2348(0x287):_0xf2348(0x20a),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x16ec73});_0x370966[_0xf2348(0x24a)](_0x4ac7ea),_0x83e94[_0xf2348(0x1e6)][_0x16ec73][_0xf2348(0x305)]=_0x4ac7ea['id'];}_0x83e94[_0xf2348(0x274)]=_0x83e94[_0xf2348(0x274)][_0xf2348(0x299)](_0x370966);}return _0x83e94;}[_0xabc655(0x219)](_0x437134,_0x10f8c4){const _0x2c86f4=_0xabc655;for(let _0x45494f=0x0;_0x45494f<_0x437134[_0x2c86f4(0x24c)];_0x45494f++)for(const [_0xc7d38,_0x506567]of _0x10f8c4)_0x506567[_0x2c86f4(0x303)][_0x2c86f4(0x24d)](_0x437134[_0x45494f][_0x2c86f4(0x2c9)])&&_0x437134[_0x45494f][_0x2c86f4(0x250)][_0x2c86f4(0x273)](_0xc7d38),_0x506567[_0x2c86f4(0x29c)][_0x2c86f4(0x24d)](_0x437134[_0x45494f][_0x2c86f4(0x2af)])&&_0x437134[_0x45494f][_0x2c86f4(0x248)][_0x2c86f4(0x273)](_0xc7d38);}[_0xabc655(0x304)](_0x31fea8,_0xdb563e){const _0x5a9c4e=_0xabc655;let _0x26d233=[],_0x387f0a=0x0,_0xc393f2=0x0;for(;_0x387f0a<_0x31fea8[_0x5a9c4e(0x24c)]||_0xc393f2<_0xdb563e[_0x5a9c4e(0x24c)];){const _0x226d31=_0x31fea8[_0x387f0a]||{},_0x5a562f=_0xdb563e[_0xc393f2]||{};if(_0x226d31['id']==_0x5a562f['id'])_0x387f0a++,_0xc393f2++,_0x26d233[_0x5a9c4e(0x273)](_0x226d31);else{if(_0x5a562f[_0x5a9c4e(0x2ea)]&&_0x226d31[_0x5a9c4e(0x1d7)]){const {commonTape:_0x504338,iEnd:_0x18a5b4,jEnd:_0x20f428}=this[_0x5a9c4e(0x2b4)](_0x31fea8,_0x387f0a,_0xdb563e,_0xc393f2);_0x26d233=_0x26d233[_0x5a9c4e(0x299)](_0x504338),_0x387f0a=_0x18a5b4,_0xc393f2=_0x20f428;}else _0x5a562f[_0x5a9c4e(0x2ea)]?(_0xc393f2++,_0x26d233[_0x5a9c4e(0x273)](_0x5a562f)):(_0x387f0a++,_0x26d233[_0x5a9c4e(0x273)](_0x226d31));}}return _0x26d233;}[_0xabc655(0x27e)](_0x1cb0b9,_0x23113c){const _0x734afa=_0xabc655,_0x1f9632=[];for(let _0x5e45b6=0x0;_0x5e45b6<_0x1cb0b9[_0x734afa(0x24c)];_0x5e45b6++){for(let _0x1e3f1c=0x0;_0x1e3f1c<_0x1cb0b9[_0x5e45b6][_0x734afa(0x250)][_0x734afa(0x24c)];_0x1e3f1c++){const _0x58cb59=_0x1cb0b9[_0x5e45b6][_0x734afa(0x250)][_0x1e3f1c];if(!_0x23113c[_0x734afa(0x256)](_0x58cb59))continue;const {group:_0x5bcbc1,type:_0x321996,authorId:_0x1e4ede}=_0x3cf021(_0x58cb59);_0x734afa(0x246)!=_0x5bcbc1||_0x734afa(0x285)!=_0x321996&&_0x734afa(0x289)!=_0x321996||(_0x1f9632[_0x734afa(0x24a)]({'type':_0x321996,'name':_0x58cb59,'userId':_0x1e4ede}),_0x1cb0b9[_0x5e45b6][_0x734afa(0x250)][_0x734afa(0x2b2)](_0x1e3f1c,0x1),_0x1e3f1c--);}_0x1303f8(_0x1cb0b9[_0x5e45b6]);for(let _0x44b7ab=0x0;_0x44b7ab<_0x1cb0b9[_0x5e45b6][_0x734afa(0x248)][_0x734afa(0x24c)];_0x44b7ab++){const _0x174af4=_0x1cb0b9[_0x5e45b6][_0x734afa(0x248)][_0x44b7ab];if(!_0x23113c[_0x734afa(0x256)](_0x174af4))continue;const {group:_0x540b5e,type:_0x41a694}=_0x3cf021(_0x174af4);if(_0x734afa(0x246)!=_0x540b5e||_0x734afa(0x285)!=_0x41a694&&_0x734afa(0x289)!=_0x41a694)continue;_0x1cb0b9[_0x5e45b6][_0x734afa(0x248)][_0x734afa(0x2b2)](_0x44b7ab,0x1),_0x44b7ab--;const _0x381e1e=_0x1f9632[_0x734afa(0x1e0)](_0x47a381=>_0x47a381[_0x734afa(0x1eb)]==_0x174af4);_0x381e1e>-0x1&&_0x1f9632[_0x734afa(0x2b2)](_0x381e1e,0x1);}}function _0x3cf021(_0x2b865a){const _0x406280=_0x734afa,_0x3e6cb7=_0x2b865a[_0x406280(0x212)](':');return{'group':_0x3e6cb7[0x0],'type':_0x3e6cb7[0x1],'subType':_0x3e6cb7[_0x406280(0x24c)]>=0x5?_0x3e6cb7[0x2]:null,'id':_0x3e6cb7[_0x406280(0x24c)]<0x5?_0x3e6cb7[0x2]:_0x3e6cb7[0x3],'authorId':_0x3e6cb7[_0x406280(0x24c)]<0x5?_0x3e6cb7[0x3]:_0x3e6cb7[0x4],'markerCount':0x6==_0x3e6cb7[_0x406280(0x24c)]?_0x3e6cb7[0x5]:null};}function _0x1303f8(_0x1a62a3){const _0x3133f1=_0x734afa;for(let _0x35af38=0x0;_0x35af38<_0x1f9632[_0x3133f1(0x24c)];_0x35af38++){if(_0x1a62a3[_0x3133f1(0x1d7)]&&_0x3133f1(0x285)==_0x1f9632[_0x35af38][_0x3133f1(0x262)])return _0x1a62a3[_0x3133f1(0x1dd)]=_0x1f9632[_0x35af38],void delete _0x1a62a3[_0x3133f1(0x1d7)];if(!_0x1a62a3[_0x3133f1(0x1d7)]&&!_0x1a62a3[_0x3133f1(0x2ea)]&&_0x3133f1(0x289)==_0x1f9632[_0x35af38][_0x3133f1(0x262)])return void(_0x1a62a3[_0x3133f1(0x2c6)]=_0x1f9632[_0x35af38]);}}}[_0xabc655(0x29f)](_0x319f34,_0x3c24b9){const _0x3364a3=_0xabc655;let _0x5488a6=0x0,_0x467580=!0x1;const _0x56e848=new Map();for(const _0x53c483 of _0x319f34)_0x53c483[_0x3c24b9]?_0x467580&&(_0x5488a6++,_0x467580=!0x1):(_0x5488a6++,_0x467580=!0x0),_0x56e848[_0x3364a3(0x235)](_0x53c483['id'],_0x5488a6);for(let _0x1ba7c1=0x0;_0x1ba7c1<_0x319f34[_0x3364a3(0x24c)];_0x1ba7c1++){if(_0x3364a3(0x2ea)==_0x3c24b9&&_0x319f34[_0x1ba7c1][_0x3364a3(0x1d7)]||_0x3364a3(0x1d7)==_0x3c24b9&&_0x319f34[_0x1ba7c1][_0x3364a3(0x2ea)])continue;if(_0x3364a3(0x311)==_0x319f34[_0x1ba7c1][_0x3364a3(0x262)]){_0x319f34[_0x1ba7c1][_0x3364a3(0x206)]=0x0;continue;}const _0x2e38f3=_0x56e848[_0x3364a3(0x2b6)](_0x319f34[_0x1ba7c1][_0x3364a3(0x25e)]),_0x5335b4=_0x56e848[_0x3364a3(0x2b6)](_0x319f34[_0x1ba7c1]['id']);_0x319f34[_0x1ba7c1][_0x3364a3(0x206)]=_0x2e38f3-_0x5335b4;}}[_0xabc655(0x2ab)](_0xb42f48,_0x5bf47a,_0x463218=!0x1){const _0x29586d=_0xabc655,_0x154f96=[];let _0x493a81=this[_0x29586d(0x31b)][_0x29586d(0x280)](_0xb42f48),_0x4c2e94=this[_0x29586d(0x31b)][_0x29586d(0x280)](_0x5bf47a);for(-0x1==_0x4c2e94&&(_0x4c2e94=this[_0x29586d(0x31b)][_0x29586d(0x1fa)][_0x29586d(0x24c)],_0x463218=!0x1);_0x493a81<_0x4c2e94;)_0x154f96[_0x29586d(0x273)](this[_0x29586d(0x31b)][_0x29586d(0x25c)](_0x493a81)),_0x493a81++;return _0x463218&&_0x154f96[_0x29586d(0x273)](this[_0x29586d(0x31b)][_0x29586d(0x25c)](_0x493a81)),_0x154f96;}[_0xabc655(0x2b4)](_0x6bfa85,_0x1e63f4,_0x497eec,_0x55a7fd){const _0x370f90=_0xabc655,_0x1cc90f=this[_0x370f90(0x314)][_0x370f90(0x2fe)][_0x370f90(0x27b)];let _0x1e84f4=_0x1e63f4;for(;_0x6bfa85[_0x1e84f4]&&_0x6bfa85[_0x1e84f4][_0x370f90(0x1d7)];)_0x1e84f4++;let _0x5ed0ab=_0x55a7fd;for(;_0x497eec[_0x5ed0ab]&&_0x497eec[_0x5ed0ab][_0x370f90(0x2ea)];)_0x5ed0ab++;_0x45486f(_0x6bfa85,_0x1e63f4,_0x1e84f4),_0x45486f(_0x497eec,_0x55a7fd,_0x5ed0ab);const _0x1002ee=_0x497eec[_0x370f90(0x284)](_0x55a7fd,_0x5ed0ab)[_0x370f90(0x299)](_0x6bfa85[_0x370f90(0x284)](_0x1e63f4,_0x1e84f4));return _0x1002ee[_0x370f90(0x249)]((_0x5e8be6,_0x3746fa)=>_0x5e8be6[_0x370f90(0x2ad)]!=_0x3746fa[_0x370f90(0x2ad)]?_0x5e8be6[_0x370f90(0x2ad)]-_0x3746fa[_0x370f90(0x2ad)]:_0x5e8be6[_0x370f90(0x1d2)]!=_0x3746fa[_0x370f90(0x1d2)]?_0x5e8be6[_0x370f90(0x1d2)]-_0x3746fa[_0x370f90(0x1d2)]:_0x5e8be6[_0x370f90(0x206)]!=_0x3746fa[_0x370f90(0x206)]?_0x3746fa[_0x370f90(0x206)]-_0x5e8be6[_0x370f90(0x206)]:!!_0x5e8be6[_0x370f90(0x1d7)]!=!!_0x3746fa[_0x370f90(0x1d7)]?-0x1==_0x5e8be6[_0x370f90(0x2ad)]||0x0==_0x5e8be6[_0x370f90(0x2ad)]?_0x5e8be6[_0x370f90(0x1d7)]?-0x1:0x1:_0x5e8be6[_0x370f90(0x1d7)]?0x1:-0x1:_0x5e8be6[_0x370f90(0x231)]-_0x3746fa[_0x370f90(0x231)]),{'commonTape':_0x1002ee,'iEnd':_0x1e84f4,'jEnd':_0x5ed0ab};function _0x45486f(_0x3dc40f,_0x58eac7,_0x33181b){const _0x4b7ace=_0x370f90;let _0x4f39a8=-0x1,_0x140813=Number[_0x4b7ace(0x2ee)],_0x5f509c=!0x0;for(let _0x3d7384=_0x58eac7;_0x3d7384<_0x33181b;_0x3d7384++)if(_0x1cc90f[_0x4b7ace(0x267)](_0x3dc40f[_0x3d7384][_0x4b7ace(0x2e5)])||(_0x5f509c=!0x1),_0x3dc40f[_0x3d7384][_0x4b7ace(0x2e5)][_0x4b7ace(0x29a)]<_0x58eac7&&(_0x4f39a8=_0x3d7384),_0x3dc40f[_0x3d7384][_0x4b7ace(0x2e5)][_0x4b7ace(0x23f)]>=_0x33181b){_0x140813=_0x3d7384;break;}_0x5f509c&&(_0x4f39a8=_0x33181b-0x1);for(let _0x2291da=_0x58eac7;_0x2291da<_0x33181b;_0x2291da++)_0x3dc40f[_0x2291da][_0x4b7ace(0x2ad)]=_0x2291da<=_0x4f39a8?-0x1:_0x2291da<_0x140813?0x0:0x1,_0x3dc40f[_0x2291da][_0x4b7ace(0x231)]=_0x2291da;let _0x382165=0x0;for(let _0x2b67fc=_0x58eac7;_0x2b67fc<=_0x4f39a8;_0x2b67fc++)0x0==_0x3dc40f[_0x2b67fc][_0x4b7ace(0x206)]?_0x3dc40f[_0x2b67fc][_0x4b7ace(0x1d2)]=_0x382165:(_0x382165++,_0x3dc40f[_0x2b67fc][_0x4b7ace(0x1d2)]=_0x382165,_0x382165++);for(let _0xfe5f49=_0x58eac7;_0xfe5f49<_0x33181b;_0xfe5f49++)0x0==_0x3dc40f[_0xfe5f49][_0x4b7ace(0x2ad)]&&(_0x3dc40f[_0xfe5f49][_0x4b7ace(0x1d2)]=_0x382165);_0x382165=0x0;for(let _0x534f29=_0x33181b-0x1;_0x534f29>=_0x140813;_0x534f29--)0x0==_0x3dc40f[_0x534f29][_0x4b7ace(0x206)]?_0x3dc40f[_0x534f29][_0x4b7ace(0x1d2)]=_0x382165:(_0x382165--,_0x3dc40f[_0x534f29][_0x4b7ace(0x1d2)]=_0x382165,_0x382165--);}}[_0xabc655(0x224)](_0x239e4c){const _0x3cb9c8=_0xabc655,_0x1ddc14=new Map(),_0x2fd217=this[_0x3cb9c8(0x314)][_0x3cb9c8(0x2fe)][_0x3cb9c8(0x27b)];for(let _0x3b4d8f=0x1;_0x3b4d8f<_0x239e4c[_0x3cb9c8(0x24c)];_0x3b4d8f++){let _0x8e82e3,_0x36c336,_0x453c55;const _0x26fec3=_0x239e4c[_0x3b4d8f],_0x5b57e7=_0x239e4c[_0x3b4d8f-0x1];if(_0x3cb9c8(0x311)==_0x26fec3[_0x3cb9c8(0x262)])continue;if(_0x26fec3[_0x3cb9c8(0x262)]!=_0x5b57e7[_0x3cb9c8(0x262)])continue;if(!_0x2fd217[_0x3cb9c8(0x1d3)](_0x5b57e7[_0x3cb9c8(0x2e5)])||_0x2fd217[_0x3cb9c8(0x28b)](_0x5b57e7[_0x3cb9c8(0x2e5)]))continue;if(!_0x2fd217[_0x3cb9c8(0x1d3)](_0x26fec3[_0x3cb9c8(0x2e5)])||_0x2fd217[_0x3cb9c8(0x28b)](_0x26fec3[_0x3cb9c8(0x2e5)]))continue;if((_0x239e4c[_0x3b4d8f][_0x3cb9c8(0x1d7)]||_0x239e4c[_0x3b4d8f][_0x3cb9c8(0x1dd)])&&_0x239e4c[_0x3b4d8f-0x1][_0x3cb9c8(0x2ea)])_0x8e82e3=_0x239e4c[_0x3b4d8f],_0x36c336=_0x239e4c[_0x3b4d8f-0x1],_0x453c55=_0x3b4d8f-0x1;else{if(!_0x239e4c[_0x3b4d8f][_0x3cb9c8(0x2ea)]||!_0x239e4c[_0x3b4d8f-0x1][_0x3cb9c8(0x1d7)]&&!_0x239e4c[_0x3b4d8f-0x1][_0x3cb9c8(0x1dd)])continue;_0x8e82e3=_0x239e4c[_0x3b4d8f-0x1],_0x36c336=_0x239e4c[_0x3b4d8f],_0x453c55=_0x3b4d8f;}const _0x4e051a=_0x8e82e3[_0x3cb9c8(0x1d2)]==_0x36c336[_0x3cb9c8(0x1d2)],_0xc0a648=Math[_0x3cb9c8(0x221)](_0x8e82e3[_0x3cb9c8(0x1d2)])<Math[_0x3cb9c8(0x221)](_0x36c336[_0x3cb9c8(0x1d2)])&&0x0==_0x36c336[_0x3cb9c8(0x206)];(_0x4e051a||_0xc0a648)&&(_0x1ddc14[_0x3cb9c8(0x235)](_0x36c336['id'],_0x8e82e3['id']),_0x239e4c[_0x3cb9c8(0x2b2)](_0x453c55,0x1),_0x3b4d8f--,_0x8e82e3[_0x3cb9c8(0x1d7)]=!0x1);}for(let _0x2b9d94=0x0;_0x2b9d94<_0x239e4c[_0x3cb9c8(0x24c)];_0x2b9d94++)_0x1ddc14[_0x3cb9c8(0x256)](_0x239e4c[_0x2b9d94][_0x3cb9c8(0x25e)])&&(_0x239e4c[_0x2b9d94][_0x3cb9c8(0x25e)]=_0x1ddc14[_0x3cb9c8(0x2b6)](_0x239e4c[_0x2b9d94][_0x3cb9c8(0x25e)]));}[_0xabc655(0x2f4)](_0x1975c2){const _0xeac98b=_0xabc655,_0xf5250c=new Set(_0x1975c2[_0xeac98b(0x234)](_0x53a68f=>_0x53a68f['id']));for(let _0x4acee2=0x0;_0x4acee2<_0x1975c2[_0xeac98b(0x24c)];_0x4acee2++)_0xf5250c[_0xeac98b(0x256)](_0x1975c2[_0x4acee2][_0xeac98b(0x25e)])||0x0==_0x1975c2[_0x4acee2][_0xeac98b(0x206)]||(_0x1975c2[_0x4acee2][_0xeac98b(0x291)]=!0x0);return _0x1975c2[_0xeac98b(0x2c5)](_0x83abfc=>!_0x83abfc[_0xeac98b(0x291)]);}[_0xabc655(0x2ce)](_0x4c77c4){const _0x5700ef=_0xabc655,_0x122b68=new Set();for(let _0x409d0f=0x0;_0x409d0f<_0x4c77c4[_0x5700ef(0x24c)];_0x409d0f++){if(_0x122b68[_0x5700ef(0x256)](_0x4c77c4[_0x409d0f]['id'])&&_0x4c77c4[_0x409d0f][_0x5700ef(0x2ea)]&&(_0x4c77c4[_0x409d0f][_0x5700ef(0x291)]=!0x0),_0x4c77c4[_0x409d0f][_0x5700ef(0x291)])continue;if(0x0==_0x4c77c4[_0x409d0f][_0x5700ef(0x206)])continue;if(_0x5700ef(0x204)!=_0x4c77c4[_0x409d0f][_0x5700ef(0x262)])continue;if(null==_0x4c77c4[_0x409d0f][_0x5700ef(0x25e)])continue;let _0x10df03=_0x409d0f+0x1,_0x494a2f=0x0;for(;_0x4c77c4[_0x10df03]['id']!=_0x4c77c4[_0x409d0f][_0x5700ef(0x25e)];)_0x5700ef(0x204)==_0x4c77c4[_0x10df03][_0x5700ef(0x262)]?_0x494a2f++:_0x5700ef(0x2a7)==_0x4c77c4[_0x10df03][_0x5700ef(0x262)]&&_0x494a2f--,_0x10df03++;if(0x0!=_0x494a2f){if(_0x4c77c4[_0x409d0f][_0x5700ef(0x2ea)])_0x4c77c4[_0x409d0f][_0x5700ef(0x291)]=!0x0;else{for(;_0x10df03!=_0x409d0f;)_0x4c77c4[_0x10df03][_0x5700ef(0x2ea)]&&0x0!=_0x4c77c4[_0x10df03][_0x5700ef(0x206)]&&(_0x4c77c4[_0x10df03][_0x5700ef(0x291)]=!0x0,_0x122b68[_0x5700ef(0x287)](_0x4c77c4[_0x10df03][_0x5700ef(0x25e)])),_0x10df03--;}}}return _0x4c77c4[_0x5700ef(0x2c5)](_0x5588e2=>!_0x5588e2[_0x5700ef(0x291)]);}[_0xabc655(0x1da)](_0x610720){const _0x41b339=_0xabc655,_0x307107=this[_0x41b339(0x314)][_0x41b339(0x2fe)][_0x41b339(0x27b)];for(let _0x32f7fa=0x0;_0x32f7fa<_0x610720[_0x41b339(0x24c)];_0x32f7fa++){if(!(_0x610720[_0x32f7fa][_0x41b339(0x1d7)]||_0x610720[_0x32f7fa][_0x41b339(0x1dd)]||_0x610720[_0x32f7fa][_0x41b339(0x2ea)]||_0x610720[_0x32f7fa][_0x41b339(0x2c6)]))continue;if(0x0==_0x610720[_0x32f7fa][_0x41b339(0x206)])continue;const _0x3d4da8=_0x610720[_0x32f7fa][_0x41b339(0x2e5)];_0x307107[_0x41b339(0x1d3)](_0x3d4da8)||_0x307107[_0x41b339(0x28b)](_0x3d4da8)||(_0x610720[_0x32f7fa][_0x41b339(0x1d7)]&&delete _0x610720[_0x32f7fa][_0x41b339(0x1d7)],_0x610720[_0x32f7fa][_0x41b339(0x1dd)]&&delete _0x610720[_0x32f7fa][_0x41b339(0x1dd)],_0x610720[_0x32f7fa][_0x41b339(0x2c6)]&&delete _0x610720[_0x32f7fa][_0x41b339(0x2c6)],_0x610720[_0x32f7fa][_0x41b339(0x2ea)]&&(_0x610720[_0x32f7fa][_0x41b339(0x291)]=!0x0));}return _0x610720[_0x41b339(0x2c5)](_0x5c8c1e=>!_0x5c8c1e[_0x41b339(0x291)]);}[_0xabc655(0x2b9)](_0x414a8d,_0x4eb30e,_0x32ceb6){const _0x4931e4=_0xabc655,_0x4f2a71=new _0x46547b(),_0x4ef441=[],_0x1d55b2=new Map(),_0x47015c=this[_0x4931e4(0x314)][_0x4931e4(0x2fe)],_0x547f22=_0x47015c[_0x4931e4(0x27b)],_0x40a89e=[_0x4f2a71],_0x3f8663={},_0x49cc50={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x39b74f=null;const _0x39ab58=[0x0];for(let _0x12a5cf=0x0;_0x12a5cf<_0x414a8d[_0x4931e4(0x24c)];_0x12a5cf++){let _0x5bfe08,_0x5139f5;if(_0x4931e4(0x204)===_0x414a8d[_0x12a5cf][_0x4931e4(0x262)]){_0x5bfe08=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58);const _0x32b546=new _0x5f317d(_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x1eb)],_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x1fc)]());_0x40a89e[0x0][_0x4931e4(0x259)](_0x32b546),_0x39ab58[_0x4931e4(0x273)](0x0),_0x40a89e[_0x4931e4(0x24a)](_0x32b546),_0x5139f5=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58),_0x39b74f=null;}else{if(_0x4931e4(0x2a7)===_0x414a8d[_0x12a5cf][_0x4931e4(0x262)])_0x40a89e[_0x4931e4(0x2ff)](),_0x5bfe08=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58),_0x39ab58[_0x4931e4(0x1e2)](),_0x39ab58[_0x39ab58[_0x4931e4(0x24c)]-0x1]++,_0x5139f5=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58),_0x39b74f=null;else{if(_0x5bfe08=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58),_0x39b74f&&_0x2d7066(_0x39b74f,_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)]))_0x39b74f[_0x4931e4(0x24b)]+=_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x2a3)];else{const _0x42911c=new _0x51d042(_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x2a3)],_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x1fc)]());_0x40a89e[0x0][_0x4931e4(0x259)](_0x42911c),_0x39b74f=_0x42911c;}_0x39ab58[_0x39ab58[_0x4931e4(0x24c)]-0x1]+=_0x414a8d[_0x12a5cf][_0x4931e4(0x2e5)][_0x4931e4(0x1d8)],_0x5139f5=_0x47015c[_0x4931e4(0x236)](_0x4f2a71,_0x39ab58);}}for(const _0x2f6563 of _0x414a8d[_0x12a5cf][_0x4931e4(0x250)])_0x1d55b2[_0x4931e4(0x235)](_0x2f6563,{'start':_0x5bfe08,'end':null});_0xb14479(_0x4931e4(0x2c6),_0x12a5cf,_0x5bfe08,_0x5139f5),_0xb14479(_0x4931e4(0x1dd),_0x12a5cf,_0x5bfe08,_0x5139f5),_0xb14479(_0x4931e4(0x2ea),_0x12a5cf,_0x5bfe08,_0x5139f5),_0xb14479(_0x4931e4(0x1d7),_0x12a5cf,_0x5bfe08,_0x5139f5);for(const _0x5391f1 of _0x414a8d[_0x12a5cf][_0x4931e4(0x248)]){_0x1d55b2[_0x4931e4(0x2b6)](_0x5391f1)[_0x4931e4(0x29c)]=_0x5139f5;}}for(const [_0x1fdc19,_0x231cae]of _0x1d55b2){const _0x13312d=this[_0x4931e4(0x314)][_0x4931e4(0x2fe)][_0x4931e4(0x30e)](_0x231cae[_0x4931e4(0x303)],_0x231cae[_0x4931e4(0x29c)]);_0x4f2a71[_0x4931e4(0x1f8)][_0x4931e4(0x235)](_0x1fdc19,_0x13312d);}return _0x4ef441[_0x4931e4(0x249)]((_0x3f32b7,_0x3151c2)=>{const _0x2be492=_0x4931e4,_0x197cdb=_0x4f2a71[_0x2be492(0x1f8)][_0x2be492(0x2b6)](_0x2be492(0x2fa)+_0x3f32b7['id']),_0x3b45cf=_0x4f2a71[_0x2be492(0x1f8)][_0x2be492(0x2b6)](_0x2be492(0x2fa)+_0x3151c2['id']);return _0x197cdb[_0x2be492(0x303)][_0x2be492(0x30a)](_0x3b45cf[_0x2be492(0x303)])?-0x1:_0x197cdb[_0x2be492(0x303)][_0x2be492(0x270)](_0x3b45cf[_0x2be492(0x303)])?0x1:_0x197cdb[_0x2be492(0x29c)][_0x2be492(0x30a)](_0x3b45cf[_0x2be492(0x29c)])?-0x1:_0x197cdb[_0x2be492(0x29c)][_0x2be492(0x270)](_0x3b45cf[_0x2be492(0x29c)])?0x1:_0x2be492(0x287)===_0x3f32b7[_0x2be492(0x262)]?-0x1:0x1;}),{'root':_0x4f2a71,'changes':_0x4ef441};function _0xb14479(_0x5e2318,_0x420d4c,_0x1aaeec,_0x101e09){const _0xb686b1=_0x4931e4,_0x1aa1f2=!!_0x414a8d[_0x420d4c][_0x5e2318],_0x30b940=_0x1aa1f2?_0x414a8d[_0x420d4c][_0x5e2318][_0xb686b1(0x2de)]:null,_0x876bec=_0x420d4c===_0x414a8d[_0xb686b1(0x24c)]-0x1,_0x2718b4=_0x49cc50[_0x5e2318][0x0],_0x5e3405=_0x547f22[_0xb686b1(0x229)](_0x414a8d[_0x420d4c][_0xb686b1(0x2e5)]);!_0x3f8663[_0x5e2318]&&_0x1aa1f2?_0x3f8663[_0x5e2318]={'start':_0x1aaeec,'tapeItem':_0x414a8d[_0x420d4c],'userId':_0x30b940,'type':_0x5e2318}:_0x3f8663[_0x5e2318]&&!_0x1aa1f2?(_0x3f8663[_0x5e2318][_0xb686b1(0x29c)]=_0x1aaeec,_0x567cd3(_0x3f8663[_0x5e2318]),_0x3f8663[_0x5e2318]=null):_0x3f8663[_0x5e2318]&&_0x1aa1f2&&_0x3f8663[_0x5e2318][_0xb686b1(0x2de)]!==_0x30b940&&(_0x3f8663[_0x5e2318][_0xb686b1(0x29c)]=_0x1aaeec,_0x2718b4&&_0x2718b4[_0xb686b1(0x2de)]===_0x3f8663[_0x5e2318][_0xb686b1(0x2de)]||_0x567cd3(_0x3f8663[_0x5e2318]),_0x3f8663[_0x5e2318]={'start':_0x1aaeec,'tapeItem':_0x414a8d[_0x420d4c],'userId':_0x30b940,'type':_0x5e2318}),_0x3f8663[_0x5e2318]&&_0x5e3405&&(_0xb686b1(0x204)!==_0x414a8d[_0x420d4c][_0xb686b1(0x262)]||_0x2718b4&&_0x2718b4[_0xb686b1(0x2de)]===_0x30b940||_0x49cc50[_0x5e2318][_0xb686b1(0x24a)]({'userId':_0x30b940,'object':_0x414a8d[_0x420d4c][_0xb686b1(0x2e5)],'change':_0x3f8663[_0x5e2318]}),_0xb686b1(0x2a7)===_0x414a8d[_0x420d4c][_0xb686b1(0x262)]&&_0x2718b4&&_0x2718b4[_0xb686b1(0x1f1)]===_0x414a8d[_0x420d4c][_0xb686b1(0x2e5)]&&(_0x49cc50[_0x5e2318][_0xb686b1(0x2ff)](),_0x3f8663[_0x5e2318]=_0x2718b4[_0xb686b1(0x1f2)])),_0x3f8663[_0x5e2318]&&_0x876bec&&(_0x3f8663[_0x5e2318][_0xb686b1(0x29c)]=_0x101e09,_0x567cd3(_0x3f8663[_0x5e2318]),_0x3f8663[_0x5e2318]=null);}function _0x567cd3({start:_0x32b03c,end:_0x332361,tapeItem:_0x4cc1dc,userId:_0x374e28,type:_0x3a2aad}){const _0x123fd0=_0x4931e4,_0x3dbf01=_0x4cc1dc[_0x123fd0(0x2e5)],_0x1bad44=_0x47015c[_0x123fd0(0x27b)][_0x123fd0(0x1d3)](_0x3dbf01)&&!_0x47015c[_0x123fd0(0x27b)][_0x123fd0(0x28b)](_0x3dbf01),_0x68224=_0x32b03c[_0x123fd0(0x2ed)]==_0x332361[_0x123fd0(0x2e7)]&&_0x332361[_0x123fd0(0x216)];if(_0x1bad44&&_0x68224)return;const _0x2f4bc9=_0x47015c[_0x123fd0(0x30e)](_0x32b03c,_0x332361),_0x34d32d=_0x4eb30e[_0x123fd0(0x2b6)](_0x374e28),_0x5e0798=new _0x138614({'author':_0x34d32d,'type':_0x123fd0(0x1d7)==_0x3a2aad||_0x123fd0(0x1dd)==_0x3a2aad?_0x123fd0(0x287):_0x123fd0(0x20a),'data':{'isSuggestion':_0x123fd0(0x1dd)==_0x3a2aad||_0x123fd0(0x2c6)==_0x3a2aad},'createdAt':new Date(),'rootName':_0x32ceb6});_0x4ef441[_0x123fd0(0x273)](_0x5e0798),_0x4f2a71[_0x123fd0(0x1f8)][_0x123fd0(0x235)](_0x123fd0(0x2fa)+_0x5e0798['id'],_0x2f4bc9);}function _0x2d7066(_0x28a0c7,_0x3a8e1e){const _0x219489=_0x4931e4,_0x1e3c99=_0x28a0c7[_0x219489(0x1fc)](),_0x3f9688=_0x3a8e1e[_0x219489(0x1fc)]();for(const _0x4204ed of _0x1e3c99){if(_0x4204ed[0x1]!==_0x3a8e1e[_0x219489(0x279)](_0x4204ed[0x0]))return!0x1;_0x3f9688[_0x219489(0x30b)]();}return _0x3f9688[_0x219489(0x30b)]()[_0x219489(0x302)];}}[_0xabc655(0x208)](){const _0x5b8f90=_0xabc655;this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x266)]({'view':_0x5b8f90(0x2d6)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x2dd))[_0x5b8f90(0x2e3)]({'model':_0x5b8f90(0x2d6),'view':_0x21078d=>{const _0x4e5498=_0x5b8f90,_0x381b0d=_0x21078d[_0x4e5498(0x28f)][_0x4e5498(0x212)](':')[0x1],_0x23f1de=this[_0x4e5498(0x251)](_0x381b0d);if(!_0x23f1de)return null;const _0x4cd78d=_0x4e5498(0x287)==_0x23f1de[_0x4e5498(0x262)]?_0x4e5498(0x285):_0x4e5498(0x289),_0xc5deca=[_0x4e5498(0x2c7),_0x4e5498(0x28a)+_0x4cd78d];return _0x23f1de[_0x4e5498(0x2a3)][_0x4e5498(0x220)]&&_0xc5deca[_0x4e5498(0x273)](_0x4e5498(0x28a)+_0x4cd78d+_0x4e5498(0x2f3)),this[_0x4e5498(0x2cc)]==_0x23f1de&&_0xc5deca[_0x4e5498(0x273)](_0x4e5498(0x2e8)),{'classes':_0xc5deca,'attributes':{'data-change-id':_0x381b0d}};}}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x287)](_0x248c02=>{const _0x24d089=_0x5b8f90;_0x248c02['on'](_0x24d089(0x242),(_0x3232cb,_0x4dae3e,_0x5ed666)=>{const _0x4c25e5=_0x24d089,_0x1e8893=_0x4dae3e[_0x4c25e5(0x207)][_0x4c25e5(0x28c)](0x0);if(!_0x1e8893||!_0x1e8893['is'](_0x4c25e5(0x2a1),_0x4c25e5(0x2e1)))return;if(!_0x5ed666[_0x4c25e5(0x209)][_0x4c25e5(0x245)](_0x1e8893,{'attributes':[_0x4c25e5(0x28e),_0x4c25e5(0x315)]}))return;const _0x2ccad9=_0x4dae3e[_0x4c25e5(0x2a2)][_0x4c25e5(0x303)][_0x4c25e5(0x2ed)];_0x5ed666[_0x4c25e5(0x1ea)][_0x4c25e5(0x254)](_0x4c25e5(0x28e),_0x1e8893[_0x4c25e5(0x279)](_0x4c25e5(0x28e)),_0x2ccad9),_0x5ed666[_0x4c25e5(0x1ea)][_0x4c25e5(0x254)](_0x4c25e5(0x315),_0x1e8893[_0x4c25e5(0x279)](_0x4c25e5(0x315)),_0x2ccad9);},{'priority':_0x24d089(0x308)});}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x287)](_0x59e6b2=>{const _0x4acbde=_0x5b8f90;_0x59e6b2['on'](_0x4acbde(0x2a1),(_0x4b0627,_0x121245,_0x46fd9d)=>{const _0x3c2009=_0x4acbde;if(!_0x46fd9d[_0x3c2009(0x209)][_0x3c2009(0x245)](_0x121245[_0x3c2009(0x207)],{'attributes':[_0x3c2009(0x28e),_0x3c2009(0x315)]}))return;if(_0x121245[_0x3c2009(0x2a2)][_0x3c2009(0x313)])return;const _0x571aec=_0x121245[_0x3c2009(0x2a2)][_0x3c2009(0x303)][_0x3c2009(0x2ed)];_0x571aec[_0x3c2009(0x290)](_0x3c2009(0x28e))||_0x571aec[_0x3c2009(0x290)](_0x3c2009(0x240))||(_0x46fd9d[_0x3c2009(0x1ea)][_0x3c2009(0x254)](_0x3c2009(0x28e),_0x121245[_0x3c2009(0x207)][_0x3c2009(0x279)](_0x3c2009(0x28e)),_0x571aec),_0x46fd9d[_0x3c2009(0x1ea)][_0x3c2009(0x254)](_0x3c2009(0x315),_0x121245[_0x3c2009(0x207)][_0x3c2009(0x279)](_0x3c2009(0x315)),_0x571aec));},{'priority':_0x4acbde(0x308)});}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x1d0)]({'view':{'name':_0x5b8f90(0x1e4),'attributes':{'vid':!0x0}},'model':{'key':_0x5b8f90(0x240),'value':_0xbf9ce6=>_0xbf9ce6[_0x5b8f90(0x279)](_0x5b8f90(0x240))}}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2fe)][_0x5b8f90(0x27b)]['on'](_0x5b8f90(0x282),(_0x349d45,[,_0x37fc0c])=>{const _0x116a3a=_0x5b8f90;[_0x116a3a(0x28e),_0x116a3a(0x315),_0x116a3a(0x240)][_0x116a3a(0x1f0)](_0x37fc0c)&&(_0x349d45[_0x116a3a(0x30f)]=!0x0,_0x349d45[_0x116a3a(0x203)]());},{'priority':_0x5b8f90(0x310)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x2b0))[_0x5b8f90(0x287)](_0xac8627=>{const _0x5657a8=_0x5b8f90;_0xac8627['on'](_0x5657a8(0x1dc),(_0x160ae0,_0x384a0b,_0x5b53df)=>{const _0x243222=_0x5657a8;if('\x20'!=_0x384a0b[_0x243222(0x2e5)][_0x243222(0x2a3)]||_0x384a0b[_0x243222(0x2e5)][_0x243222(0x2e7)][_0x243222(0x2a9)]>0x1)return;if(!_0x5b53df[_0x243222(0x209)][_0x243222(0x245)](_0x384a0b[_0x243222(0x2e5)],_0x160ae0[_0x243222(0x1eb)]))return;const _0x40a621=_0x5b53df[_0x243222(0x1ea)],_0x4272a0=_0x5b53df[_0x243222(0x265)][_0x243222(0x1f7)](_0x384a0b[_0x243222(0x237)]);_0x40a621[_0x243222(0x230)](_0x4272a0,_0x40a621[_0x243222(0x2cb)](_0x243222(0x1e4)));});}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x2b0))[_0x5b8f90(0x292)]({'model':_0x5b8f90(0x2d6)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x23a),function(_0x36e5ec){const _0x378dc8=_0x5b8f90,_0x2815bd=_0x36e5ec[_0x378dc8(0x239)][_0x378dc8(0x2b6)](_0x378dc8(0x275));return(_0x24d1e2,_0x49dc05,_0x248d6b)=>{const _0x15bc61=_0x378dc8,_0x4377ec=_0x49dc05[_0x15bc61(0x28f)][_0x15bc61(0x212)](':')[0x1],_0x121d75=_0x2815bd[_0x15bc61(0x251)](_0x4377ec);if(!_0x121d75)return null;const _0x36e5ed=_0x15bc61(0x287)==_0x121d75[_0x15bc61(0x262)]?_0x15bc61(0x212):_0x15bc61(0x2d8);if(!_0x248d6b[_0x15bc61(0x209)][_0x15bc61(0x1df)](_0x49dc05[_0x15bc61(0x31c)],_0x24d1e2[_0x15bc61(0x1eb)]))return;const _0x2ace79=_0x49dc05[_0x15bc61(0x31c)][_0x15bc61(0x29b)](),_0x2c74f9=_0x49dc05[_0x15bc61(0x31c)][_0x15bc61(0x303)],_0x1cf72d=_0x36e5ec[_0x15bc61(0x2fe)][_0x15bc61(0x27b)];let _0x3237a6=null,_0x296640=null,_0x14c779=!0x1,_0x569baf=!0x1;for(const _0x215794 of _0x2ace79){const _0x1e9ff3=_0x215794[_0x15bc61(0x2e5)];_0x14c779=_0x14c779||_0x1cf72d[_0x15bc61(0x21c)](_0x1e9ff3);const _0x311553=_0x248d6b[_0x15bc61(0x265)][_0x15bc61(0x2df)](_0x1e9ff3);if(_0x311553&&_0x311553[_0x15bc61(0x20e)](_0x15bc61(0x2c8)))return;_0x15bc61(0x2a7)==_0x215794[_0x15bc61(0x262)]&&(_0x1cf72d[_0x15bc61(0x1d3)](_0x1e9ff3)&&!_0x1cf72d[_0x15bc61(0x28b)](_0x1e9ff3)&&(_0x1e9ff3[_0x15bc61(0x2b3)]||_0x2c74f9[_0x15bc61(0x2d5)]?_0x3237a6&&_0x3237a6[_0x15bc61(0x2e7)]==_0x1e9ff3||(_0x3237a6=_0x1e9ff3,_0x35a84f(_0x215794[_0x15bc61(0x2c9)]),_0x569baf=!0x0):_0x296640=_0x296640||_0x215794[_0x15bc61(0x2c9)]));}function _0x35a84f(_0x6fe653){const _0x318b8e=_0x15bc61,_0x442e78=_0x248d6b[_0x318b8e(0x1ea)][_0x318b8e(0x2c3)](_0x318b8e(0x1e4),{'class':_0x318b8e(0x28a)+_0x36e5ed}),_0x49fbcd=_0x248d6b[_0x318b8e(0x265)][_0x318b8e(0x23d)](_0x6fe653);_0x121d75[_0x318b8e(0x2a3)][_0x318b8e(0x220)]&&_0x248d6b[_0x318b8e(0x1ea)][_0x318b8e(0x26d)](_0x318b8e(0x28a)+_0x36e5ed+_0x318b8e(0x2f3),_0x442e78),_0x2815bd[_0x318b8e(0x2cc)]==_0x121d75&&_0x248d6b[_0x318b8e(0x1ea)][_0x318b8e(0x26d)](_0x318b8e(0x2e8),_0x442e78),_0x248d6b[_0x318b8e(0x1ea)][_0x318b8e(0x2ae)](_0x49fbcd,_0x442e78),_0x248d6b[_0x318b8e(0x265)][_0x318b8e(0x263)](_0x442e78,_0x49dc05[_0x318b8e(0x28f)]);}_0x14c779||_0x569baf||!_0x296640||_0x35a84f(_0x296640);};}(this[_0x5b8f90(0x314)]),{'priority':_0x5b8f90(0x23c)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x2d1),(_0x132027,_0x4d2d86,_0x2826ad)=>{const _0x23fa30=_0x5b8f90,_0x551114=_0x2826ad[_0x23fa30(0x265)][_0x23fa30(0x268)](_0x4d2d86[_0x23fa30(0x28f)]);if(_0x551114){for(const _0x5ea42b of _0x551114)(_0x5ea42b[_0x23fa30(0x21e)](_0x23fa30(0x271))||_0x5ea42b[_0x23fa30(0x21e)](_0x23fa30(0x244)))&&(_0x2826ad[_0x23fa30(0x265)][_0x23fa30(0x2f7)](_0x5ea42b,_0x4d2d86[_0x23fa30(0x28f)]),_0x2826ad[_0x23fa30(0x1ea)][_0x23fa30(0x20a)](_0x5ea42b));}},{'priority':_0x5b8f90(0x23c)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x23a),(_0x41b8e7,_0x233b0f,_0x30d385)=>{const _0x79d1fc=_0x5b8f90,_0x4cfd38=_0x233b0f[_0x79d1fc(0x28f)][_0x79d1fc(0x212)](':')[0x1],_0x3a2f01=this[_0x79d1fc(0x251)](_0x4cfd38);if(!_0x3a2f01)return null;const _0x1dd49f=_0x79d1fc(0x287)==_0x3a2f01[_0x79d1fc(0x262)]?_0x79d1fc(0x212):_0x79d1fc(0x2d8);if(_0x30d385[_0x79d1fc(0x209)][_0x79d1fc(0x1df)](_0x233b0f[_0x79d1fc(0x31c)],_0x41b8e7[_0x79d1fc(0x1eb)]))for(const _0x142b8a of _0x233b0f[_0x79d1fc(0x31c)][_0x79d1fc(0x2c2)]()){if(!_0x142b8a['is'](_0x79d1fc(0x2a1),_0x79d1fc(0x2f6)))continue;const _0x2caa38=_0x30d385[_0x79d1fc(0x1ea)][_0x79d1fc(0x2c3)](_0x79d1fc(0x1e4),{'class':_0x79d1fc(0x28a)+_0x1dd49f}),_0xc478be=_0x30d385[_0x79d1fc(0x265)][_0x79d1fc(0x23d)](this[_0x79d1fc(0x314)][_0x79d1fc(0x2fe)][_0x79d1fc(0x2e4)](_0x142b8a));_0x3a2f01[_0x79d1fc(0x2a3)][_0x79d1fc(0x220)]&&_0x30d385[_0x79d1fc(0x1ea)][_0x79d1fc(0x26d)](_0x79d1fc(0x28a)+_0x1dd49f+_0x79d1fc(0x2f3),_0x2caa38),this[_0x79d1fc(0x2cc)]==_0x3a2f01&&_0x30d385[_0x79d1fc(0x1ea)][_0x79d1fc(0x26d)](_0x79d1fc(0x2e8),_0x2caa38),_0x30d385[_0x79d1fc(0x1ea)][_0x79d1fc(0x2ae)](_0xc478be,_0x2caa38),_0x30d385[_0x79d1fc(0x265)][_0x79d1fc(0x263)](_0x2caa38,_0x233b0f[_0x79d1fc(0x28f)]);}},{'priority':_0x5b8f90(0x23c)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2fe)][_0x5b8f90(0x276)]['on'](_0x5b8f90(0x1f2),()=>{const _0x26b68e=_0x5b8f90;this[_0x26b68e(0x314)][_0x26b68e(0x2dc)][_0x26b68e(0x225)][_0x26b68e(0x1f2)](_0x5bccff=>{const _0x3c3d76=_0x26b68e;for(const _0xe340ab of this[_0x3c3d76(0x314)][_0x3c3d76(0x2fe)][_0x3c3d76(0x276)][_0x3c3d76(0x255)]()){const _0x4476a8=this[_0x3c3d76(0x314)][_0x3c3d76(0x2fe)][_0x3c3d76(0x276)][_0x3c3d76(0x27d)](_0xe340ab),_0x2b80db=this[_0x3c3d76(0x314)][_0x3c3d76(0x2dc)][_0x3c3d76(0x225)][_0x3c3d76(0x276)][_0x3c3d76(0x27d)](_0xe340ab);if(_0x2b80db){const _0x305952=_0x4476a8[_0x3c3d76(0x279)](_0x3c3d76(0x305));if(_0x5bccff[_0x3c3d76(0x298)](_0x3c3d76(0x20c),_0x2b80db),_0x5bccff[_0x3c3d76(0x24f)](_0x3c3d76(0x2ca),_0x2b80db),_0x5bccff[_0x3c3d76(0x24f)](_0x3c3d76(0x201),_0x2b80db),_0x5bccff[_0x3c3d76(0x24f)](_0x3c3d76(0x293),_0x2b80db),_0x305952){const _0x3924a0=this[_0x3c3d76(0x251)](_0x305952);if(!_0x3924a0)return null;_0x5bccff[_0x3c3d76(0x254)](_0x3c3d76(0x20c),_0x305952,_0x2b80db),_0x5bccff[_0x3c3d76(0x26d)](_0x3c3d76(0x1f5)+_0x3924a0[_0x3c3d76(0x262)],_0x2b80db),this[_0x3c3d76(0x2cc)]==_0x3924a0&&_0x5bccff[_0x3c3d76(0x26d)](_0x3c3d76(0x293),_0x2b80db);}}}});}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x266)]({'view':_0x5b8f90(0x1db),'model':_0x4c8129=>_0x5b8f90(0x2d9)+_0x4c8129,'converterPriority':_0x5b8f90(0x310)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x1e5))[_0x5b8f90(0x266)]({'view':_0x5b8f90(0x28d),'model':_0x5b58bd=>_0x5b8f90(0x1cf)+_0x5b58bd,'converterPriority':_0x5b8f90(0x310)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x2b0))[_0x5b8f90(0x292)]({'model':_0x5b8f90(0x246),'view':_0x1e43b1=>({'name':_0x5b8f90(0x2f0)+_0x1e43b1,'group':_0x5b8f90(0x246)}),'converterPriority':_0x5b8f90(0x310)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x272)][_0x5b8f90(0x2da)](_0x5b8f90(0x2dd))[_0x5b8f90(0x2e3)]({'model':_0x5b8f90(0x246),'view':_0x114cea=>{const _0x15d069=_0x5b8f90,_0x19693e=_0x114cea[_0x15d069(0x28f)][_0x15d069(0x212)](':')[0x1];return _0x15d069(0x285)!=_0x19693e&&_0x15d069(0x289)!=_0x19693e?null:{'classes':[_0x15d069(0x2a8),_0x15d069(0x2fc)+_0x19693e]};}}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x1ee),et(this[_0x5b8f90(0x314)],_0x5b8f90(0x2d8)),{'priority':_0x5b8f90(0x23c)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x286),et(this[_0x5b8f90(0x314)],_0x5b8f90(0x212)),{'priority':_0x5b8f90(0x23c)}),this[_0x5b8f90(0x314)][_0x5b8f90(0x2dc)][_0x5b8f90(0x232)]['on'](_0x5b8f90(0x1d6),(_0x3a7f27,_0xee3fc9,_0x36429a)=>{const _0x5a179d=_0x5b8f90,_0x46bea6=_0x36429a[_0x5a179d(0x265)][_0x5a179d(0x268)](_0xee3fc9[_0x5a179d(0x28f)]);if(_0x46bea6){for(const _0x338454 of _0x46bea6)_0x338454['is'](_0x5a179d(0x2eb))&&(_0x36429a[_0x5a179d(0x265)][_0x5a179d(0x2f7)](_0x338454,_0xee3fc9[_0x5a179d(0x28f)]),_0x36429a[_0x5a179d(0x1ea)][_0x5a179d(0x20a)](_0x338454));}},{'priority':_0x5b8f90(0x23c)});}[_0xabc655(0x251)](_0x495663){const _0x1bd8ab=_0xabc655;return this[_0x1bd8ab(0x222)][_0x1bd8ab(0x2b6)](_0x495663);}[_0xabc655(0x278)](_0x1f4abc){const _0x2765c5=_0xabc655;return this[_0x2765c5(0x2f2)]&&this[_0x2765c5(0x2f2)][_0x2765c5(0x2bb)](),this[_0x2765c5(0x2f2)]=new _0x54d097(this[_0x2765c5(0x314)][_0x2765c5(0x261)],_0x1f4abc),this[_0x2765c5(0x2f2)];}[_0xabc655(0x21b)](){const _0x2b52c9=_0xabc655;this[_0x2b52c9(0x314)][_0x2b52c9(0x2fe)][_0x2b52c9(0x276)][_0x2b52c9(0x2c1)][_0x2b52c9(0x21f)](_0x2b52c9(0x2d6)),this['on'](_0x2b52c9(0x226),(_0x32accb,_0x3af0e7,_0x1854fd,_0xbb8279)=>{const _0x55e957=_0x2b52c9;_0xbb8279&&this[_0x55e957(0x27c)][_0x55e957(0x20a)](_0xbb8279),_0x1854fd&&(this[_0x55e957(0x27c)][_0x55e957(0x287)]({'view':_0x1854fd,'stackId':_0x55e957(0x211),'position':{'target':()=>{const _0x1048c1=_0x55e957,_0x23f983=this[_0x1048c1(0x314)][_0x1048c1(0x2dc)],_0xc3bd62=this[_0x1048c1(0x251)](_0x1854fd[_0x1048c1(0x25f)]);let _0x4aecbe;if(_0xc3bd62[_0x1048c1(0x2a3)][_0x1048c1(0x210)]){const _0x14dc2e=_0x23f983[_0x1048c1(0x225)][_0x1048c1(0x20f)](_0xc3bd62[_0x1048c1(0x233)]);_0x4aecbe=Array[_0x1048c1(0x2f5)](_0x14dc2e[_0x1048c1(0x1ef)]());}else{const _0x572ddc=this[_0x1048c1(0x314)][_0x1048c1(0x2fe)][_0x1048c1(0x1f8)][_0x1048c1(0x2b6)](_0x1048c1(0x2fa)+_0x1854fd[_0x1048c1(0x25f)]);_0x4aecbe=Array[_0x1048c1(0x2f5)](_0x23f983[_0x1048c1(0x265)][_0x1048c1(0x268)](_0x572ddc[_0x1048c1(0x1eb)]))[_0x1048c1(0x234)](_0x1f52a8=>_0x23f983[_0x1048c1(0x225)][_0x1048c1(0x26c)][_0x1048c1(0x23b)](_0x1f52a8))[_0x1048c1(0x234)](_0x4ad070=>Array[_0x1048c1(0x2f5)](_0x4ad070[_0x1048c1(0x1ef)]()))[_0x1048c1(0x1f6)]();}if(!this[_0x1048c1(0x29d)])return _0x4aecbe[0x0];return _0x4aecbe[_0x1048c1(0x20d)](_0x1b5808=>_0x1b5808[_0x1048c1(0x30d)]-0x3<=this[_0x1048c1(0x29d)]['y']&&_0x1b5808[_0x1048c1(0x2b7)]+0x3>=this[_0x1048c1(0x29d)]['y']&&_0x1b5808[_0x1048c1(0x1d9)]-0x3<=this[_0x1048c1(0x29d)]['x']&&_0x1b5808[_0x1048c1(0x31a)]+0x3>=this[_0x1048c1(0x29d)]['x'])||_0x4aecbe[0x0];}}}),this[_0x55e957(0x27c)][_0x55e957(0x205)](_0x55e957(0x211)));}),this['on'](_0x2b52c9(0x22f),(_0x484863,_0xc0323d,_0x1b3ea1,_0x34e912)=>{const _0x2bdda8=_0x2b52c9;this[_0x2bdda8(0x25b)]=_0x1b3ea1?this[_0x2bdda8(0x278)](_0x1b3ea1):null,this[_0x2bdda8(0x314)][_0x2bdda8(0x2fe)][_0x2bdda8(0x1f2)](()=>{const _0x24af3e=_0x2bdda8,_0xe600ec=this[_0x24af3e(0x314)][_0x24af3e(0x2dc)];_0x34e912&&(_0x34e912[_0x24af3e(0x2a3)][_0x24af3e(0x210)]?_0xe600ec[_0x24af3e(0x225)][_0x24af3e(0x1f2)](_0x463b45=>{const _0x5eaeda=_0x24af3e;_0x463b45[_0x5eaeda(0x24f)](_0x5eaeda(0x293),_0xe600ec[_0x5eaeda(0x225)][_0x5eaeda(0x276)][_0x5eaeda(0x27d)](_0x34e912[_0x5eaeda(0x233)]));}):_0xe600ec[_0x24af3e(0x318)](_0x24af3e(0x2fa)+_0x34e912['id'])),_0x1b3ea1&&(_0x1b3ea1[_0x24af3e(0x2a3)][_0x24af3e(0x210)]?_0xe600ec[_0x24af3e(0x225)][_0x24af3e(0x1f2)](_0x3ac9ac=>{const _0x28a053=_0x24af3e;_0x3ac9ac[_0x28a053(0x26d)](_0x28a053(0x293),_0xe600ec[_0x28a053(0x225)][_0x28a053(0x276)][_0x28a053(0x27d)](_0x1b3ea1[_0x28a053(0x233)]));}):_0xe600ec[_0x24af3e(0x318)](_0x24af3e(0x2fa)+_0x1b3ea1['id']));});}),this[_0x2b52c9(0x217)](this[_0x2b52c9(0x314)][_0x2b52c9(0x2dc)][_0x2b52c9(0x225)][_0x2b52c9(0x276)],_0x2b52c9(0x1e9),(_0x4565be,_0x51dac8)=>{const _0x45fbd6=_0x2b52c9;if(this[_0x45fbd6(0x2cc)])return;const _0x43aeaf=this[_0x45fbd6(0x26b)](_0x51dac8[_0x45fbd6(0x2ba)]),_0x3dfc7b=this[_0x45fbd6(0x222)][_0x45fbd6(0x2b6)](_0x43aeaf);_0x3dfc7b?(this[_0x45fbd6(0x29d)]={'x':_0x51dac8[_0x45fbd6(0x21d)]['x'],'y':_0x51dac8[_0x45fbd6(0x21d)]['y']},this[_0x45fbd6(0x25b)]=this[_0x45fbd6(0x278)](_0x3dfc7b)):(this[_0x45fbd6(0x29d)]=null,this[_0x45fbd6(0x25b)]=null);}),this[_0x2b52c9(0x217)](this[_0x2b52c9(0x314)][_0x2b52c9(0x2dc)][_0x2b52c9(0x225)][_0x2b52c9(0x276)],_0x2b52c9(0x281),(_0xa3a5c8,_0x17ae5c)=>{const _0x367a97=_0x2b52c9,_0x1e2ec7=this[_0x367a97(0x26b)](_0x17ae5c[_0x367a97(0x2ba)]),_0x40e84d=this[_0x367a97(0x222)][_0x367a97(0x2b6)](_0x1e2ec7);_0x40e84d?(this[_0x367a97(0x29d)]={'x':_0x17ae5c[_0x367a97(0x21d)]['x'],'y':_0x17ae5c[_0x367a97(0x21d)]['y']},_0x40e84d===this[_0x367a97(0x2cc)]?this[_0x367a97(0x27c)][_0x367a97(0x260)]():this[_0x367a97(0x2cc)]=_0x40e84d):(this[_0x367a97(0x29d)]=null,this[_0x367a97(0x2cc)]=null);});}[_0xabc655(0x26b)](_0x5b515d){const _0x5da49b=_0xabc655;do{const _0x515a3b=_0x5b515d[_0x5da49b(0x279)](_0x5da49b(0x20c));if(_0x515a3b)return _0x515a3b;_0x5b515d=_0x5b515d[_0x5da49b(0x2e7)];}while(_0x5b515d);return null;}[_0xabc655(0x294)](){const _0x343ac2=_0xabc655;this[_0x343ac2(0x314)][_0x343ac2(0x2fe)][_0x343ac2(0x1f2)](_0x2463de=>{const _0x2ca9b0=_0x343ac2;for(const _0xafdf86 of this[_0x2ca9b0(0x314)][_0x2ca9b0(0x2fe)][_0x2ca9b0(0x1f8)])_0x2463de[_0x2ca9b0(0x288)](_0xafdf86);});}}function et(_0x437613,_0x5cf296){return(_0x3ee260,_0x352ff1,_0x2e9cee)=>{const _0x25e5dd=_0x2520;if(!_0x2e9cee[_0x25e5dd(0x209)][_0x25e5dd(0x1df)](_0x352ff1[_0x25e5dd(0x31c)],_0x3ee260[_0x25e5dd(0x1eb)]))return;const _0x5c6967=_0x352ff1[_0x25e5dd(0x31c)][_0x25e5dd(0x29b)](),_0x2ab398=_0x352ff1[_0x25e5dd(0x31c)][_0x25e5dd(0x303)],_0xccea60=_0x437613[_0x25e5dd(0x2fe)][_0x25e5dd(0x27b)];let _0x31446c=null,_0x3a0330=null,_0x187146=!0x1,_0x5f4c70=!0x1;for(const _0x106ad9 of _0x5c6967){const _0x534feb=_0x106ad9[_0x25e5dd(0x2e5)];_0x187146=_0x187146||_0xccea60[_0x25e5dd(0x21c)](_0x534feb);const _0x26db53=_0x2e9cee[_0x25e5dd(0x265)][_0x25e5dd(0x2df)](_0x534feb);if(_0x26db53&&_0x26db53[_0x25e5dd(0x20e)](_0x25e5dd(0x2c8)))return;_0x25e5dd(0x2a7)==_0x106ad9[_0x25e5dd(0x262)]&&(_0xccea60[_0x25e5dd(0x1d3)](_0x534feb)&&!_0xccea60[_0x25e5dd(0x28b)](_0x534feb)&&(_0x534feb[_0x25e5dd(0x2b3)]||_0x2ab398[_0x25e5dd(0x2d5)]?_0x31446c&&_0x31446c[_0x25e5dd(0x2e7)]==_0x534feb||(_0x31446c=_0x534feb,_0x3e6918(_0x106ad9[_0x25e5dd(0x2c9)]),_0x5f4c70=!0x0):_0x3a0330=_0x3a0330||_0x106ad9[_0x25e5dd(0x2c9)]));}function _0x3e6918(_0x475f9d){const _0x1b6ccd=_0x25e5dd,_0xb59266=_0x2e9cee[_0x1b6ccd(0x265)][_0x1b6ccd(0x23d)](_0x475f9d),_0x2a186c=_0x2e9cee[_0x1b6ccd(0x1ea)][_0x1b6ccd(0x2c3)](_0x1b6ccd(0x1e4),{'class':_0x1b6ccd(0x2fc)+_0x5cf296});_0x2e9cee[_0x1b6ccd(0x1ea)][_0x1b6ccd(0x2ae)](_0xb59266,_0x2a186c),_0x2e9cee[_0x1b6ccd(0x265)][_0x1b6ccd(0x263)](_0x2a186c,_0x352ff1[_0x1b6ccd(0x28f)]);}_0x187146||_0x5f4c70||!_0x3a0330||_0x3e6918(_0x3a0330);};}export class RestoreRevisionCommand extends _0x3f4fb7{constructor(_0x34cf2a){const _0x393244=_0xabc655;super(_0x34cf2a);const _0x56e3c7=_0x34cf2a[_0x393244(0x239)][_0x393244(0x2b6)](d);this[_0x393244(0x252)]=!0x1,this[_0x393244(0x217)](_0x56e3c7,_0x393244(0x22d),()=>this[_0x393244(0x2a0)]()),this[_0x393244(0x217)](_0x56e3c7,_0x393244(0x1ff),()=>this[_0x393244(0x2a0)]());}[_0xabc655(0x213)](){const _0x1143c4=_0xabc655,_0x1a3bde=this[_0x1143c4(0x314)],_0x161562=_0x1a3bde[_0x1143c4(0x239)][_0x1143c4(0x2b6)](d),_0x47cb09=_0x161562[_0x1143c4(0x2c4)]?_0x161562[_0x1143c4(0x2bc)][_0x1143c4(0x2e2)]:null;_0x1a3bde[_0x1143c4(0x2db)][_0x1143c4(0x2b6)](_0x1143c4(0x247))[_0x1143c4(0x227)](_0x47cb09);}[_0xabc655(0x2a0)](){const _0x3e0646=_0xabc655,{isReady:_0x9a8387,isEnabled:_0x33a519}=this[_0x3e0646(0x314)][_0x3e0646(0x239)][_0x3e0646(0x2b6)](d);this[_0x3e0646(0x1e1)]=_0x9a8387&&_0x33a519;}}function _0x2520(_0x5ddd20,_0x395246){const _0x48ec9b=_0x48ec();return _0x2520=function(_0x2520c3,_0x14042b){_0x2520c3=_0x2520c3-0x1cf;let _0x5c37ed=_0x48ec9b[_0x2520c3];return _0x5c37ed;},_0x2520(_0x5ddd20,_0x395246);}export class ShowChangeCommand extends _0x3f4fb7{constructor(_0x29e9cf,{direction:_0x3dccbd}){const _0xf9983a=_0xabc655;super(_0x29e9cf);const _0x1a044b=_0x29e9cf[_0xf9983a(0x239)][_0xf9983a(0x2b6)](d);this[_0xf9983a(0x252)]=!0x1,this[_0xf9983a(0x1de)]=_0xf9983a(0x2fb)===_0x3dccbd?0x1:-0x1,this[_0xf9983a(0x217)](_0x1a044b,_0xf9983a(0x22d),()=>this[_0xf9983a(0x2a0)]()),this[_0xf9983a(0x217)](_0x1a044b,_0xf9983a(0x1ff),()=>this[_0xf9983a(0x2a0)]()),this[_0xf9983a(0x217)](_0x1a044b,_0xf9983a(0x22f),()=>this[_0xf9983a(0x2a0)]());}[_0xabc655(0x213)](){const _0x2f5e25=_0xabc655,_0x3b96ec=this[_0x2f5e25(0x314)],_0x30e4be=_0x3b96ec[_0x2f5e25(0x239)][_0x2f5e25(0x2b6)](d),{isNavigationMode:_0x910398,currentChangeNumber:_0x54a5b0}=_0x30e4be;let _0x313c0d;if(_0x30e4be[_0x2f5e25(0x2cc)]=_0x910398?_0x30e4be[_0x2f5e25(0x2bc)][_0x2f5e25(0x274)][_0x2f5e25(0x2b6)](_0x54a5b0+this[_0x2f5e25(0x1de)]):_0x30e4be[_0x2f5e25(0x2bc)][_0x2f5e25(0x274)][_0x2f5e25(0x22a)],_0x30e4be[_0x2f5e25(0x2cc)][_0x2f5e25(0x2a3)][_0x2f5e25(0x210)])_0x313c0d=_0x3b96ec[_0x2f5e25(0x2dc)][_0x2f5e25(0x225)][_0x2f5e25(0x20f)](_0x30e4be[_0x2f5e25(0x2cc)][_0x2f5e25(0x233)]);else{const _0x30a470=_0x3b96ec[_0x2f5e25(0x2fe)][_0x2f5e25(0x1f8)][_0x2f5e25(0x2b6)](_0x2f5e25(0x2fa)+_0x30e4be[_0x2f5e25(0x2cc)]['id']);_0x313c0d=_0xfdf20d(_0x3b96ec[_0x2f5e25(0x2dc)],_0x30a470);}_0x571583({'target':_0x313c0d,'viewportOffset':0x28});}[_0xabc655(0x2a0)](){const _0x2e6d31=_0xabc655,{isNavigationMode:_0x3e7351,currentChangeNumber:_0x175e1c,numberOfChanges:_0x2641b5,isReady:_0x52ae97,isEnabled:_0x4e70b}=this[_0x2e6d31(0x314)][_0x2e6d31(0x239)][_0x2e6d31(0x2b6)](d);this[_0x2e6d31(0x1e1)]=!!(_0x4e70b&&_0x52ae97&&_0x2641b5)&&(!_0x3e7351||(0x1===this[_0x2e6d31(0x1de)]?_0x175e1c<_0x2641b5-0x1:_0x175e1c>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x45ff(){const _0x8833b9=['execute','first','add','isEnabled','isActionsDropdownOpen','model','bind','function','source','extendTemplate','stopPropagation','3057076CdjKFn','isReady','273931kMadtP','locale','10778520bIDDjS','29690991OLcHPi','buttonView','3140520sVFTxA','1063100RzprHI','3RcrwPp','set','Name\x20this\x20revision','ck-on','_action','find','162VgXKUH','Show\x20more\x20items','action','change:isActionsDropdownOpen','1379335hzQZOq','items','button','Restore\x20this\x20revision','menuitem','name','map','bindTemplate','menu','ck-revision-history-sidebar__revision__actions','class','children','Compare\x20against\x20selected','panelPosition','threeVerticalDots','listenTo','listView','isVisible','isOpen'];_0x45ff=function(){return _0x8833b9;};return _0x45ff();}(function(_0x5d96ea,_0x53c9da){const _0x58edcd=_0x33a3,_0x418304=_0x5d96ea();while(!![]){try{const _0x3d68c5=parseInt(_0x58edcd(0x15d))/0x1+parseInt(_0x58edcd(0x14a))/0x2+parseInt(_0x58edcd(0x153))/0x3*(parseInt(_0x58edcd(0x152))/0x4)+parseInt(_0x58edcd(0x151))/0x5+parseInt(_0x58edcd(0x159))/0x6*(-parseInt(_0x58edcd(0x14c))/0x7)+parseInt(_0x58edcd(0x14e))/0x8+-parseInt(_0x58edcd(0x14f))/0x9;if(_0x3d68c5===_0x53c9da)break;else _0x418304['push'](_0x418304['shift']());}catch(_0x56c24b){_0x418304['push'](_0x418304['shift']());}}}(_0x45ff,0xc1b85));function _0x33a3(_0x57faa0,_0x4ef152){const _0x45ff2c=_0x45ff();return _0x33a3=function(_0x33a3af,_0x4addb7){_0x33a3af=_0x33a3af-0x148;let _0x309215=_0x45ff2c[_0x33a3af];return _0x309215;},_0x33a3(_0x57faa0,_0x4ef152);}import{Collection as _0x5b5c74}from'ckeditor5/src/utils.js';import{icons as _0x12a369}from'ckeditor5/src/core.js';import{ViewModel as _0x41f2eb,addListToDropdown as _0x3fb7ef,createDropdown as _0x3492d3}from'ckeditor5/src/ui.js';import{getTranslation as _0x37d1f0}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0xe8ca0b,_0x5881fe){const _0x25ed20=_0x33a3,_0x579f33=_0xe8ca0b[_0x25ed20(0x164)],_0xe46bc9=_0xe8ca0b[_0x25ed20(0x14d)],_0x553e82=_0x3492d3(_0xe46bc9);_0x553e82[_0x25ed20(0x16a)]='sw';const _0x4e9e4e=function(_0x2ecf10,_0x2b2788){const _0x4fe929=_0x25ed20,_0xc58e33=function(_0x569cd6,_0xf8a4cc){const _0x16b48a=_0x33a3,_0xeeca9c=_0x569cd6[_0x16b48a(0x14d)],_0x347ba7={'Compare\x20against\x20selected':_0x37d1f0(_0xeeca9c,_0x16b48a(0x169)),'Name\x20this\x20revision':_0x37d1f0(_0xeeca9c,_0x16b48a(0x155)),'Restore\x20this\x20revision':_0x37d1f0(_0xeeca9c,_0x16b48a(0x160))};return _0xf8a4cc[_0x16b48a(0x163)](_0x398f6a=>{const _0x46478a=_0x16b48a,_0x725517=_0x347ba7[_0x398f6a[_0x46478a(0x162)]];return _0x725517&&_0x725517!==_0x398f6a[_0x46478a(0x162)]&&(_0x398f6a[_0x46478a(0x162)]=_0x725517),_0x398f6a;});}(_0x2ecf10,_0x2b2788),_0x4d2e4a=new _0x5b5c74();for(const _0x54d712 of _0xc58e33){const _0x299997={'type':_0x4fe929(0x15f),'model':new _0x41f2eb({'label':_0x54d712[_0x4fe929(0x162)],'class':_0x54d712[_0x4fe929(0x167)],'withText':!0x0,'role':_0x4fe929(0x161),'_action':_0x54d712[_0x4fe929(0x15b)]})};_0x299997[_0x4fe929(0x175)][_0x4fe929(0x176)](_0x4fe929(0x173))['to'](_0x2ecf10,_0x4fe929(0x174),_0x19dbbd=>_0x4fe929(0x177)!=typeof _0x54d712[_0x4fe929(0x173)]||(!_0x19dbbd||_0x54d712[_0x4fe929(0x173)](_0x2ecf10))),_0x4d2e4a[_0x4fe929(0x172)](_0x299997);}return _0x4d2e4a;}(_0xe8ca0b,_0x5881fe);return _0xe8ca0b[_0x25ed20(0x176)](_0x25ed20(0x174))['to'](_0x553e82,_0x25ed20(0x16f)),_0x553e82[_0x25ed20(0x150)][_0x25ed20(0x154)]({'label':_0x37d1f0(_0xe46bc9,_0x25ed20(0x15a)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x12a369[_0x25ed20(0x16b)]}),_0x553e82[_0x25ed20(0x148)]({'attributes':{'class':[_0x25ed20(0x166),_0x579f33['if'](_0x25ed20(0x174),_0x25ed20(0x156))]},'on':{'click':_0x579f33['to'](_0x1d2fab=>_0x1d2fab[_0x25ed20(0x149)]())}}),_0x553e82['on'](_0x25ed20(0x170),_0x52ca5d=>{const _0xc8bc6c=_0x25ed20;_0xe8ca0b[_0xc8bc6c(0x14b)]&&_0xc8bc6c(0x177)==typeof _0x52ca5d[_0xc8bc6c(0x178)][_0xc8bc6c(0x157)]&&_0x52ca5d[_0xc8bc6c(0x178)][_0xc8bc6c(0x157)](_0xe8ca0b);}),_0x3fb7ef(_0x553e82,_0x4e9e4e,{'role':_0x25ed20(0x165)}),_0x553e82[_0x25ed20(0x16c)](_0xe8ca0b,_0x25ed20(0x15c),(_0x3f654d,_0x37314d,_0x31bbcb)=>{const _0x31c3ed=_0x25ed20;if(_0x31bbcb)for(const _0x37e739 of _0x553e82[_0x31c3ed(0x16d)][_0x31c3ed(0x15e)]){const _0x4487d7=_0x37e739[_0x31c3ed(0x168)][_0x31c3ed(0x171)],_0x4cb59e=_0x5881fe[_0x31c3ed(0x158)](_0x5bcd25=>_0x5bcd25[_0x31c3ed(0x15b)]===_0x4487d7[_0x31c3ed(0x157)])[_0x31c3ed(0x16e)];_0x37e739[_0x31c3ed(0x16e)]=void 0x0===_0x4cb59e||_0x4cb59e(_0xe8ca0b);}}),_0x553e82;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3dcf(){const _0x1585b3=['ck-revision-history-sidebar__revision-author_creator','0\x200\x2011\x2010','17vHScDv','25256NhqTzd','set','184dymHwc','1474305RwgTMt','3716238LIanDd','1549420qIsjCT','1383025OYdePF','285021DjcsPC','name','408MGwOQc','span','ck-revision-history-sidebar__revision-author','6DGbBzf','ck-revision-history-sidebar__revision-author__name','Revision\x20creator','Revision\x20author','4bCidtF','99474JLiIpX','setTemplate','push'];_0x3dcf=function(){return _0x1585b3;};return _0x3dcf();}(function(_0x3cb432,_0x46d103){const _0xda4ba2=_0x5742,_0x591eef=_0x3cb432();while(!![]){try{const _0x25c2c0=-parseInt(_0xda4ba2(0x96))/0x1*(-parseInt(_0xda4ba2(0x91))/0x2)+parseInt(_0xda4ba2(0x9b))/0x3*(parseInt(_0xda4ba2(0x90))/0x4)+-parseInt(_0xda4ba2(0x9a))/0x5*(parseInt(_0xda4ba2(0x8c))/0x6)+-parseInt(_0xda4ba2(0x9d))/0x7+-parseInt(_0xda4ba2(0x99))/0x8*(parseInt(_0xda4ba2(0x9e))/0x9)+-parseInt(_0xda4ba2(0x9c))/0xa+parseInt(_0xda4ba2(0x97))/0xb*(-parseInt(_0xda4ba2(0x89))/0xc);if(_0x25c2c0===_0x46d103)break;else _0x591eef['push'](_0x591eef['shift']());}catch(_0x348cd9){_0x591eef['push'](_0x591eef['shift']());}}}(_0x3dcf,0x99eae));import{View as _0x515308,IconView as _0x112ea8}from'ckeditor5/src/ui.js';function _0x5742(_0x385229,_0xc4d1a6){const _0x3dcffa=_0x3dcf();return _0x5742=function(_0x57420d,_0x33d0f2){_0x57420d=_0x57420d-0x89;let _0x22bdf6=_0x3dcffa[_0x57420d];return _0x22bdf6;},_0x5742(_0x385229,_0xc4d1a6);}import{getTranslation as _0x1b7104}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0x7e38ea from'../../../theme/icons/user.svg';export default class ti extends _0x515308{constructor(_0x377acb,_0x50188d,_0x41b51c){const _0x16b7d0=_0x5742;super(_0x377acb);const _0x325eeb=new _0x112ea8();_0x325eeb[_0x16b7d0(0x98)]({'content':_0x7e38ea,'viewBox':_0x16b7d0(0x95)});const _0x4544f0=['ck',_0x16b7d0(0x8b)];_0x41b51c&&_0x4544f0[_0x16b7d0(0x93)](_0x16b7d0(0x94));const _0x4de39a=[{'tag':_0x16b7d0(0x8a),'attributes':{'class':['ck',_0x16b7d0(0x8d)],'title':_0x1b7104(_0x377acb,_0x41b51c?_0x16b7d0(0x8e):_0x16b7d0(0x8f))},'children':[_0x325eeb,_0x50188d[_0x16b7d0(0x9f)]]}];this[_0x16b7d0(0x92)]({'tag':'li','attributes':{'class':_0x4544f0},'children':_0x4de39a});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x551dc5=_0x29cb;function _0x29cb(_0x34dac1,_0x4a5695){const _0x214783=_0x2147();return _0x29cb=function(_0x29cbd8,_0x3b5f7a){_0x29cbd8=_0x29cbd8-0x92;let _0x55d3cf=_0x214783[_0x29cbd8];return _0x55d3cf;},_0x29cb(_0x34dac1,_0x4a5695);}(function(_0x1c011f,_0x151857){const _0x2ed165=_0x29cb,_0xcf274=_0x1c011f();while(!![]){try{const _0x29e830=-parseInt(_0x2ed165(0x92))/0x1*(-parseInt(_0x2ed165(0xa2))/0x2)+parseInt(_0x2ed165(0x99))/0x3+parseInt(_0x2ed165(0x96))/0x4*(-parseInt(_0x2ed165(0x98))/0x5)+parseInt(_0x2ed165(0xac))/0x6+-parseInt(_0x2ed165(0xa3))/0x7*(-parseInt(_0x2ed165(0xae))/0x8)+-parseInt(_0x2ed165(0x93))/0x9+-parseInt(_0x2ed165(0x9f))/0xa*(parseInt(_0x2ed165(0xa5))/0xb);if(_0x29e830===_0x151857)break;else _0xcf274['push'](_0xcf274['shift']());}catch(_0x1a65db){_0xcf274['push'](_0xcf274['shift']());}}}(_0x2147,0x40272));import{LabeledFieldView as _0x563074}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x59caad}from'ckeditor5/src/utils.js';import{getTranslation as _0x4ee6c3}from'../../utils/common-translations.js';function _0x2147(){const _0x535ff9=['render','1651078WpMwLE','_resizeObserver','extendTemplate','value','bindTemplate','ck-revision-history-sidebar__revision-name','_tooltipString','1124802fusFal','scrollWidth','499944gdJiCF','Revision\x20name','_updateTooltipText','span','42611pAtGaf','2441907Reegtk','listenTo','ck-tooltip_multi-line','20XxuqOC','element','511940jpqZmT','1568724JsiLQg','destroy','placeholder','set','clientWidth','Enter\x20the\x20revision\x20name','10nilcwC','fieldView','input','14OPXAtu','21HgUxqO'];_0x2147=function(){return _0x535ff9;};return _0x2147();}import'../../../theme/revision/revisionname.css';export default class kt extends _0x563074{constructor(_0x254d2,_0x5f0e0f){const _0x290037=_0x29cb;super(_0x254d2,_0x5f0e0f),this[_0x290037(0xa6)]=null;const _0x2c3fd3=this[_0x290037(0xa9)];this[_0x290037(0x9c)]({'label':_0x4ee6c3(_0x254d2,_0x290037(0xaf)),'_tooltipString':''}),this[_0x290037(0xa0)][_0x290037(0x9b)]=_0x4ee6c3(_0x254d2,_0x290037(0x9e)),this[_0x290037(0xa7)]({'tag':_0x290037(0xb1),'attributes':{'class':[_0x290037(0xaa)],'data-cke-tooltip-text':_0x2c3fd3['to'](_0x290037(0xab)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x290037(0x95)}});}[_0x551dc5(0xa4)](){const _0x3d4587=_0x551dc5;super[_0x3d4587(0xa4)](),this[_0x3d4587(0xa6)]=new _0x59caad(this[_0x3d4587(0xa0)][_0x3d4587(0x97)],()=>this[_0x3d4587(0xb0)]()),this[_0x3d4587(0x94)](this[_0x3d4587(0xa0)],_0x3d4587(0xa1),()=>this[_0x3d4587(0xb0)]());}[_0x551dc5(0x9a)](){const _0x2d69f2=_0x551dc5;super[_0x2d69f2(0x9a)](),this[_0x2d69f2(0xa6)]&&this[_0x2d69f2(0xa6)][_0x2d69f2(0x9a)]();}[_0x551dc5(0xb0)](){const _0x1c6522=_0x551dc5,_0xe35754=this[_0x1c6522(0xa0)][_0x1c6522(0x97)];this[_0x1c6522(0xab)]=_0xe35754[_0x1c6522(0xad)]>_0xe35754[_0x1c6522(0x9d)]&&_0xe35754[_0x1c6522(0xa8)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x32d316=_0x20c7;(function(_0x13e9f1,_0x34d1b5){const _0x3ded98=_0x20c7,_0x3f9322=_0x13e9f1();while(!![]){try{const _0x4ae276=-parseInt(_0x3ded98(0x13c))/0x1+parseInt(_0x3ded98(0x146))/0x2*(parseInt(_0x3ded98(0x149))/0x3)+-parseInt(_0x3ded98(0x11e))/0x4*(-parseInt(_0x3ded98(0x122))/0x5)+-parseInt(_0x3ded98(0x148))/0x6+parseInt(_0x3ded98(0x150))/0x7*(parseInt(_0x3ded98(0x118))/0x8)+-parseInt(_0x3ded98(0x151))/0x9*(parseInt(_0x3ded98(0x12e))/0xa)+parseInt(_0x3ded98(0x129))/0xb;if(_0x4ae276===_0x34d1b5)break;else _0x3f9322['push'](_0x3f9322['shift']());}catch(_0x4e6435){_0x3f9322['push'](_0x3f9322['shift']());}}}(_0x3b92,0xabe64));import{View as _0x31e907,createLabeledInputText as _0x1d801e}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x1b15b2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4939d4 from'./revisionnameview.js';function _0x3b92(){const _0x361732=['div','unshift','value','uiLanguage','ck-revision-history-sidebar__revision_highlighted','extendTemplate','ck-revision-history-sidebar__actions_dropdown_open','length','132lzNhUm','highlight','5094474GwEsxq','55989imoRMF','isConfirm','ck-revision-history-sidebar__revision-authors','isReady','isSelected','element','ck-reset','7HqnRLm','62082CavKTp','setTemplate','listenTo','ck-disabled','fire','span','ck-revision-history-sidebar__revision','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-revision-history-sidebar__revision__controls-wrapper','6031560ZTnecw','220','isActionsDropdownOpen','map','authors','srcElement','1052SHftKi','bindTemplate','unhighlight','render','18265MjvBwA','ck-revision-history-sidebar__revision_selected','isEnabled','createdAt','set','bind','name','12614195WRdxus','filter','isHighlighted','ck-revision-history-sidebar__revision-wrapper','revisionNameView','1790fdlrEp','from','_revision','_requireRevisionName','.ck-thread__remove-confirm','closest','setName','revisionActionsView','select','fieldView','change','ck-revision-history-sidebar__revision__date','creator','deselect','1305266WknGdl','_createdAtFormatted'];_0x3b92=function(){return _0x361732;};return _0x3b92();}import _0x395247 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x30de41}from'./utils.js';import{createActionsDropdownView as _0x532862}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';function _0x20c7(_0x43dece,_0x487c2e){const _0x3b92f3=_0x3b92();return _0x20c7=function(_0x20c71a,_0x2fe4ea){_0x20c71a=_0x20c71a-0x116;let _0x4c6894=_0x3b92f3[_0x20c71a];return _0x4c6894;},_0x20c7(_0x43dece,_0x487c2e);}export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1b15b2(_0x31e907){constructor(_0x1be210,_0x1a4503,_0x5ced5e,_0x406ddc){const _0x14cc04=_0x20c7;super(_0x1be210);const _0x1cb22c=this[_0x14cc04(0x11f)],_0xa0b910=function(_0x722bb,_0x4d186e){const _0x4e1caa=_0x14cc04,_0x5b59cf=Array[_0x4e1caa(0x12f)](_0x4d186e[_0x4e1caa(0x11c)])[_0x4e1caa(0x12a)](_0x599a00=>_0x599a00!=_0x4d186e[_0x4e1caa(0x13a)]);return _0x4d186e[_0x4e1caa(0x13a)]&&_0x5b59cf[_0x4e1caa(0x13f)](_0x4d186e[_0x4e1caa(0x13a)]),_0x5b59cf[_0x4e1caa(0x11b)](_0xb852ec=>new _0x395247(_0x722bb,_0xb852ec,_0xb852ec==_0x4d186e[_0x4e1caa(0x13a)]));}(_0x1be210,_0x1a4503);this['id']=_0x1a4503['id'],this[_0x14cc04(0x130)]=_0x1a4503,this[_0x14cc04(0x131)]=_0x406ddc,this[_0x14cc04(0x127)](_0x14cc04(0x128),_0x14cc04(0x125))['to'](_0x1a4503),this[_0x14cc04(0x127)](_0x14cc04(0x13d))['to'](this,_0x14cc04(0x125),_0x3945a0=>_0x30de41(_0x1be210[_0x14cc04(0x141)],_0x3945a0)),this[_0x14cc04(0x126)](_0x14cc04(0x14d),!0x1),this[_0x14cc04(0x126)](_0x14cc04(0x12b),!0x1),this[_0x14cc04(0x126)](_0x14cc04(0x11a),!0x1),this[_0x14cc04(0x126)](_0x14cc04(0x14c),!0x1),this[_0x14cc04(0x126)](_0x14cc04(0x124),!0x1),this[_0x14cc04(0x12d)]=new _0x4939d4(_0x1be210,_0x1d801e),this[_0x14cc04(0x12d)][_0x14cc04(0x137)][_0x14cc04(0x143)]({'attributes':{'maxlength':_0x14cc04(0x119)}}),this[_0x14cc04(0x12d)][_0x14cc04(0x137)][_0x14cc04(0x127)](_0x14cc04(0x140))['to'](this,_0x14cc04(0x128),_0x249582=>_0x249582||this[_0x14cc04(0x13d)]),this[_0x14cc04(0x12d)][_0x14cc04(0x127)](_0x14cc04(0x124))['to'](this,_0x14cc04(0x14d),this,_0x14cc04(0x124),(_0x6c398e,_0x1f7b0f)=>_0x6c398e&&_0x1f7b0f),this[_0x14cc04(0x135)]=_0x5ced5e&&_0x5ced5e[_0x14cc04(0x145)]?_0x532862(this,_0x5ced5e):'',this[_0x14cc04(0x135)]&&this[_0x14cc04(0x135)][_0x14cc04(0x127)](_0x14cc04(0x124))['to'](this),this[_0x14cc04(0x152)]({'tag':_0x14cc04(0x13e),'attributes':{'class':['ck',_0x14cc04(0x14f),_0x14cc04(0x12c),_0x1cb22c['if'](_0x14cc04(0x14a),_0x14cc04(0x116))]},'children':[{'tag':_0x14cc04(0x13e),'attributes':{'class':['ck',_0x14cc04(0x14f),_0x14cc04(0x157),_0x1cb22c['if'](_0x14cc04(0x124),_0x14cc04(0x154),_0x4bbf38=>!_0x4bbf38),_0x1cb22c['if'](_0x14cc04(0x14d),_0x14cc04(0x123)),_0x1cb22c['if'](_0x14cc04(0x12b),_0x14cc04(0x142)),_0x1cb22c['if'](_0x14cc04(0x11a),_0x14cc04(0x144))]},'children':[this[_0x14cc04(0x12d)],{'tag':_0x14cc04(0x156),'attributes':{'class':['ck',_0x14cc04(0x139)]},'children':[{'text':_0x1cb22c['to'](_0x14cc04(0x13d))}]},{'tag':_0x14cc04(0x13e),'attributes':{'class':['ck',_0x14cc04(0x117)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x14cc04(0x14b)]},'children':_0xa0b910}]},this[_0x14cc04(0x135)]],'on':{'click':_0x1cb22c['to'](_0x537856=>{const _0x2ae342=_0x14cc04;_0x537856[_0x2ae342(0x11d)][_0x2ae342(0x133)](_0x2ae342(0x132))||this[_0x2ae342(0x14c)]&&this[_0x2ae342(0x124)]&&this[_0x2ae342(0x155)](_0x2ae342(0x136),{'id':this['id']});})}}]});}[_0x32d316(0x121)](){const _0x12007=_0x32d316;super[_0x12007(0x121)]();const _0x15cbb1=this[_0x12007(0x12d)][_0x12007(0x137)][_0x12007(0x14e)];this[_0x12007(0x153)](_0x15cbb1,_0x12007(0x138),()=>{const _0xfaa94c=_0x12007;this[_0xfaa94c(0x131)]&&!_0x15cbb1[_0xfaa94c(0x140)]||this[_0xfaa94c(0x155)](_0xfaa94c(0x134),{'id':this['id'],'name':_0x15cbb1[_0xfaa94c(0x140)]}),_0x15cbb1[_0xfaa94c(0x140)]||(_0x15cbb1[_0xfaa94c(0x140)]=this[_0xfaa94c(0x128)]?this[_0xfaa94c(0x128)]:this[_0xfaa94c(0x13d)]);});}[_0x32d316(0x136)](){const _0x245b18=_0x32d316;this[_0x245b18(0x14d)]=!0x0;}[_0x32d316(0x13b)](){const _0x95fec0=_0x32d316;this[_0x95fec0(0x14d)]=!0x1;}[_0x32d316(0x147)](){const _0x433ac2=_0x32d316;this[_0x433ac2(0x12b)]=!0x0;}[_0x32d316(0x120)](){const _0x56a21f=_0x32d316;this[_0x56a21f(0x12b)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x229b(){const _0x28cc3c=['true','369INivyw','click','span','5082810sBqtZG','ck-hidden','setTemplate','_isCollapsed','128tQIXMb','ck-revision-history-sidebar__subrevision-collapser_collapsed','398862Kyieio','toggle','ck-revision-history-sidebar__subrevision-collapser','6TQsnNn','isVisible','6872EaiDDR','993DgtmVf','bindTemplate','1202WmcELb','false','ck-revision-history-sidebar__subrevision-collapser__inner','button','8498281GjVHeu','set','2361230THRsdu','246666wmPMZI'];_0x229b=function(){return _0x28cc3c;};return _0x229b();}const _0x3d0b36=_0x1400;(function(_0x4dcb7b,_0x357189){const _0xef6b9a=_0x1400,_0x17aa11=_0x4dcb7b();while(!![]){try{const _0x1a05e1=parseInt(_0xef6b9a(0xd1))/0x1*(-parseInt(_0xef6b9a(0xc8))/0x2)+-parseInt(_0xef6b9a(0xc6))/0x3*(-parseInt(_0xef6b9a(0xc5))/0x4)+parseInt(_0xef6b9a(0xce))/0x5*(-parseInt(_0xef6b9a(0xc3))/0x6)+parseInt(_0xef6b9a(0xcf))/0x7+parseInt(_0xef6b9a(0xbe))/0x8*(parseInt(_0xef6b9a(0xc0))/0x9)+parseInt(_0xef6b9a(0xba))/0xa+-parseInt(_0xef6b9a(0xcc))/0xb;if(_0x1a05e1===_0x357189)break;else _0x17aa11['push'](_0x17aa11['shift']());}catch(_0x589f93){_0x17aa11['push'](_0x17aa11['shift']());}}}(_0x229b,0x56977));import{View as _0x23f752}from'ckeditor5/src/ui.js';function _0x1400(_0x468015,_0xb2d8b3){const _0x229b7f=_0x229b();return _0x1400=function(_0x14003f,_0x3a82a2){_0x14003f=_0x14003f-0xb9;let _0x2abfb1=_0x229b7f[_0x14003f];return _0x2abfb1;},_0x1400(_0x468015,_0xb2d8b3);}import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x23f752{constructor(_0x9241eb){const _0x55ea9a=_0x1400;super(_0x9241eb);const _0xaddd6=this[_0x55ea9a(0xc7)];this[_0x55ea9a(0xcd)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x55ea9a(0xbc)]({'tag':_0x55ea9a(0xb9),'attributes':{'class':['ck',_0x55ea9a(0xc2),_0xaddd6['if'](_0x55ea9a(0xc4),_0x55ea9a(0xbb),_0x21818f=>!_0x21818f),_0xaddd6['if'](_0x55ea9a(0xbd),_0x55ea9a(0xbf))],'role':_0x55ea9a(0xcb),'aria-pressed':_0xaddd6['to'](_0x55ea9a(0xbd),_0x2a5d83=>_0x2a5d83?_0x55ea9a(0xc9):_0x55ea9a(0xd0))},'children':[{'tag':_0x55ea9a(0xb9),'attributes':{'class':['ck',_0x55ea9a(0xca)]}}],'on':{'click':_0xaddd6['to'](_0x55ea9a(0xd2))}});}[_0x3d0b36(0xc1)](){const _0x4c4491=_0x3d0b36;this[_0x4c4491(0xbd)]=!this[_0x4c4491(0xbd)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x56da9c=_0x5c0e;(function(_0x3578bf,_0x2152d8){const _0x45c7e9=_0x5c0e,_0x394080=_0x3578bf();while(!![]){try{const _0x35ebfd=-parseInt(_0x45c7e9(0x162))/0x1*(parseInt(_0x45c7e9(0x178))/0x2)+parseInt(_0x45c7e9(0x177))/0x3*(-parseInt(_0x45c7e9(0x172))/0x4)+-parseInt(_0x45c7e9(0x17f))/0x5+-parseInt(_0x45c7e9(0x16c))/0x6+parseInt(_0x45c7e9(0x16f))/0x7*(parseInt(_0x45c7e9(0x170))/0x8)+-parseInt(_0x45c7e9(0x166))/0x9*(-parseInt(_0x45c7e9(0x17d))/0xa)+parseInt(_0x45c7e9(0x16b))/0xb*(parseInt(_0x45c7e9(0x17c))/0xc);if(_0x35ebfd===_0x2152d8)break;else _0x394080['push'](_0x394080['shift']());}catch(_0x475812){_0x394080['push'](_0x394080['shift']());}}}(_0x2da9,0x3bc5d));function _0x2da9(){const _0xa22b89=['deselect','ck-revision-history-sidebar__subrevision','133691YJILQe','ck-revision-history-sidebar__revision_selected','select','_parentRevisionId','603rbyQKG','_createdAtFormatted','isSelected','ck-revision-history-sidebar__revision__date','fire','7172IpQrOj','1235706ssRokV','ck-revision-history-sidebar__revision','div','7OYslUo','329432wypkTS','createdAt','11112DMqnAC','setTemplate','bindTemplate','span','creator','30dmSWRr','2DQzeLL','uiLanguage','ck-revision-history-sidebar__revision-authors','set','2520BrXMfq','65380BsEmTV','ck-reset','19470frbsYp','bind'];_0x2da9=function(){return _0xa22b89;};return _0x2da9();}import{View as _0x4b3473}from'ckeditor5/src/ui.js';import _0x33822d from'./revisionauthorview.js';import{dateToPrettyFormat as _0x4e6882}from'./utils.js';import'../../../theme/revision/subrevision.css';function _0x5c0e(_0x31b139,_0x13d414){const _0x2da9ca=_0x2da9();return _0x5c0e=function(_0x5c0eda,_0x4ea5d0){_0x5c0eda=_0x5c0eda-0x162;let _0x5cfd88=_0x2da9ca[_0x5c0eda];return _0x5cfd88;},_0x5c0e(_0x31b139,_0x13d414);}export default class is extends _0x4b3473{constructor(_0x1f3495,_0xa8efb2,_0x3ab418){const _0xacc796=_0x5c0e;super(_0x1f3495);const _0x54e452=this[_0xacc796(0x174)];this['id']=_0xa8efb2['id'],this[_0xacc796(0x180)](_0xacc796(0x171))['to'](_0xa8efb2),this[_0xacc796(0x17b)](_0xacc796(0x168),!0x1),this[_0xacc796(0x180)](_0xacc796(0x167))['to'](this,_0xacc796(0x171),_0x5e2027=>_0x5e2027?_0x4e6882(_0x1f3495[_0xacc796(0x179)],_0x5e2027):void 0x0),this[_0xacc796(0x165)]=_0x3ab418,this[_0xacc796(0x173)]({'tag':_0xacc796(0x16e),'attributes':{'class':['ck',_0xacc796(0x17e),_0xacc796(0x16d),_0xacc796(0x182),_0x54e452['if'](_0xacc796(0x168),_0xacc796(0x163))]},'children':[{'tag':_0xacc796(0x175),'attributes':{'class':['ck',_0xacc796(0x169)]},'children':[{'text':_0x54e452['to'](_0xacc796(0x167))}]},{'tag':'ul','attributes':{'class':['ck',_0xacc796(0x17a)]},'children':[new _0x33822d(_0x1f3495,_0xa8efb2[_0xacc796(0x176)],!0x0)]}],'on':{'click':_0x54e452['to'](this[_0xacc796(0x164)][_0xacc796(0x180)](this))}});}[_0x56da9c(0x164)](){const _0x5c4c2c=_0x56da9c;this[_0x5c4c2c(0x168)]=!0x0,this[_0x5c4c2c(0x16a)](_0x5c4c2c(0x164),{'parentId':this[_0x5c4c2c(0x165)]});}[_0x56da9c(0x181)](){const _0x3cd353=_0x56da9c;this[_0x3cd353(0x168)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1e0c(_0x8fb2b5,_0x247808){var _0x1420c0=_0x1420();return _0x1e0c=function(_0x1e0c31,_0x162e1a){_0x1e0c31=_0x1e0c31-0x74;var _0x2e3cc1=_0x1420c0[_0x1e0c31];return _0x2e3cc1;},_0x1e0c(_0x8fb2b5,_0x247808);}(function(_0x318470,_0x124fc2){var _0x19e46c=_0x1e0c,_0x24adfa=_0x318470();while(!![]){try{var _0x83469e=parseInt(_0x19e46c(0x77))/0x1+parseInt(_0x19e46c(0x7a))/0x2*(parseInt(_0x19e46c(0x78))/0x3)+-parseInt(_0x19e46c(0x7c))/0x4*(parseInt(_0x19e46c(0x82))/0x5)+parseInt(_0x19e46c(0x81))/0x6*(parseInt(_0x19e46c(0x79))/0x7)+parseInt(_0x19e46c(0x84))/0x8*(parseInt(_0x19e46c(0x75))/0x9)+parseInt(_0x19e46c(0x7e))/0xa*(parseInt(_0x19e46c(0x80))/0xb)+parseInt(_0x19e46c(0x74))/0xc*(-parseInt(_0x19e46c(0x7d))/0xd);if(_0x83469e===_0x124fc2)break;else _0x24adfa['push'](_0x24adfa['shift']());}catch(_0x440bf6){_0x24adfa['push'](_0x24adfa['shift']());}}}(_0x1420,0x97323));export function dateToPrettyFormat(_0x47f8f1,_0xdac089){var _0x1367cd=_0x1e0c;return _0xdac089[_0x1367cd(0x76)](_0x47f8f1,{'month':_0x1367cd(0x7b),'day':_0x1367cd(0x7f)})+',\x20'+_0xdac089[_0x1367cd(0x83)](_0x47f8f1,{'hour':_0x1367cd(0x7f),'minute':_0x1367cd(0x7f)});}function _0x1420(){var _0x2e74c2=['247578XWXNJQ','long','434072qqNbfM','14404JbyrDY','724380sSRcNX','numeric','55bgGWZU','582840AVrwYD','55zLyWLO','toLocaleTimeString','320cTkMci','4008xjbBCb','102069fKlBsm','toLocaleDateString','24472tgerop','9JOKsHs','70pdWdkG'];_0x1420=function(){return _0x2e74c2;};return _0x1420();}
|