@ckeditor/ckeditor5-revision-history 46.0.1-alpha.1 → 46.0.1-alpha.11
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.css +1 -1
- package/dist/index.js +7 -7
- 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/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.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/nb.js +1 -1
- package/dist/translations/nb.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/uz.js +1 -1
- package/dist/translations/uz.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 +11 -11
- 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/revisionhistoryutils.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 +2 -2
- 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/theme/revisionssidebar/revisionssidebarheader.css +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x47e872=_0x4574;(function(_0x373959,_0x267288){const _0x1015cd=_0x4574,_0x15a9ac=_0x373959();while(!![]){try{const _0x4e2b83=-parseInt(_0x1015cd(0x25d))/0x1*(parseInt(_0x1015cd(0x275))/0x2)+parseInt(_0x1015cd(0x24c))/0x3+parseInt(_0x1015cd(0x254))/0x4*(parseInt(_0x1015cd(0x212))/0x5)+parseInt(_0x1015cd(0x196))/0x6*(parseInt(_0x1015cd(0x1bd))/0x7)+parseInt(_0x1015cd(0x14d))/0x8*(-parseInt(_0x1015cd(0x261))/0x9)+-parseInt(_0x1015cd(0x251))/0xa*(parseInt(_0x1015cd(0x207))/0xb)+-parseInt(_0x1015cd(0x205))/0xc*(-parseInt(_0x1015cd(0x186))/0xd);if(_0x4e2b83===_0x267288)break;else _0x15a9ac['push'](_0x15a9ac['shift']());}catch(_0x70b416){_0x15a9ac['push'](_0x15a9ac['shift']());}}}(_0x19b5,0x7db7c));import{Plugin as _0x3c8aba,Command as _0x30b714}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x3a320e}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0xdd02f3}from'ckeditor5/src/ui.js';function _0x4574(_0x21fdc9,_0x133ae8){const _0x19b5c6=_0x19b5();return _0x4574=function(_0x4574d7,_0x50608b){_0x4574d7=_0x4574d7-0x139;let _0x19ef29=_0x19b5c6[_0x4574d7];return _0x19ef29;},_0x4574(_0x21fdc9,_0x133ae8);}import{ModelDocumentFragment as _0xfcf56f,ModelElement as _0x1ff371,ModelText as _0x53a96f}from'ckeditor5/src/engine.js';function _0x19b5(){const _0x89e59c=['comment','vid_start','isReady','sort','object','isCollapsed','getRevisionDocumentData','56sGRMfB','POSITIVE_INFINITY','removeMarker:revision-suggestion','isAtEnd','_cleanMarkers','pairId','requires','level','detachRoot','createUIElement','setAttribute','revision-comment:','_update','addMarker:revision-suggestion:insertion','getRootNames','attribute:vid','toViewPosition','repository','flat','userId','roots','findIndex','high','revision-suggestion:','_findChangeIdFromDomTarget','editingDowncast','vid','isBlock','isAddSuggestion','_changeView','slice','elementStart','_makeModelFromViewString','document','isLimit','WidgetToolbarRepository','commands','attributesBefore','_activeViewTarget','then','abs','startIndex','addRevisionData','rootName','change:activeChange','elementEnd','currentChangeNumber','nextPosition','_makeModelFromTape','addClass','isOnRoot','forward','_fixObsoleteTags','bindElementToMarker','nextSibling','deletions','maxOffset','deletion','softBreak','previousPosition','isAttached','all','attributes','removeClass','resolve','target','concat','includes','restoreRevision','toViewElement','isIncorrect','ck-suggestion-marker-','1411824EuIPdt','_makeTape','1298CilaRH','isInline','keys','attributesAfter','getRoot','_removeMissingPairs','checkAttribute','set','indexOf','_markInsertions','enqueueChange','75QgKrwi','isSuggestion','change:activeView','_appendChild','side','text','_step','changes','markers','config','range','getAttributes','_changeIdToChange','string','consumable','createRangeIn','authors','isAfter','viewItem','ck-editor__editable__overlay','_processTape','removeMarker','restoreRevisionCallback','plugins','error','insertions','isEqual','markerNameToElements','_markSuggestions','conversion','_revisions','createAttributeElement','showStack','mapper','vid_end','newRevisionId','first','execute','code','length','shift','changeId','locale','element:pre','span','suggestion:','loadRevisionData','RevisionViewer','isOfficialPlugin','change:numberOfChanges','view','ck-suggestion-preview-marker','clear','init','showPreviousChange','next','oldRevisionId','_setChanges','785373TjNcMH','getAttribute','enableReadOnlyMode','isContent','activeView','8000uvfvaX','getChild','pluginName','208024fwzvJf','destroy','listenTo','consume','hasAttribute','isRemoveSuggestion','showNextChange','mousedown','remove','378ZNPAVk','reconvertMarker','for','_joinTapes','307053RVNUxK','item','createRange','revision-suggestion','ck-suggestion-marker-merge','unshift','_setDistance','element','return','_getViewForChange','_setConversion','ck-suggestion-preview-marker-','dataDowncast','isRemoved','modelRange','revision-viewer','_getRevisionsRange','done','isPremiumPlugin','backward','4058RiNnFg','revision:','_initInteractions','nodeAfter','createRevision','ck-revision-history-root-add','markerToHighlight','observeMarkers','data-change-id','find','parent','removeMarker:revision','diff','addRoot','_refreshStartEndIndex','diffData','filter','ck-suggestion-marker-split','from','selection','getClientRects','_balloon','top','adapter','ck-revision-history-root-','createPositionBefore','activeChange','affectsData','_data','endIndex','add','_markMarkers','offsetSize','184khZzuI','change:isReady','has','change','RevisionsRepository','right','revision','end','push','low','insertion','split','markersStart','markerToData','_markMismatchedRemovedTags','merge','distance','dataToMarker','type','elementToAttribute','start','get','getRevision','_threeWayMerge','startsWith','highest','_getChangeFromId','change:isEnabled','removeAttribute','mouseover','isNavigationMode','stop','-new','suggestion','_cleanUp','writer','unbindElementFromMarkerName','ck-revision-history-root--active','delete','bind','mapViewToDom','_removeUnsupportedChanges','map','updatePosition','_utils','isAdded','values','isAtStart','markersEnd','attachChange','ck-suggestion-marker','addHighlight','getDomRoot','revisionHistoryAttachChange','numberOfChanges','revisionHistory','_getDiff','52bLOESs','downcastDispatcher','test','getLaterVisibleRevision','getWalker','forceDisabled','getItems','compare','schema','RevisionHistoryUtils','model','addMarker:revision','splice','hasClass','revisionHistoryLabel','addRevision','486378WoCYNK','isBefore','domConverter','domEvent','pop','editor','left','markerName','createPositionFromPath','getCustomProperty','refresh','wrap','markerRange','_sortAndFilterDiffChanges','forEach','ck-suggestion-marker--active','index','getIndex','toViewRange','uiElement','addMarker:revision-suggestion:deletion','isObject','name','data','bottom','catch','upcast','isEnabled','editing','insert','getRevisionRootsAttributes','ck-revision-history-root-remove'];_0x19b5=function(){return _0x89e59c;};return _0x19b5();}import{Users as _0x1bd292,getMarkerDomElement as _0x3b1f48}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x326cf7}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x50035c}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x425879}from'./revisionhistoryutils.js';import{ChangeItem as _0x1aba03}from'./changeitem.js';import{RevisionDiff as _0xd577ee}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x5d3f94}from'es-toolkit/compat';export class RevisionViewer extends _0x3c8aba{[_0x47e872(0x1ce)];[_0x47e872(0x143)]=null;[_0x47e872(0x179)];[_0x47e872(0x1e3)];[_0x47e872(0x1da)];[_0x47e872(0x21e)];[_0x47e872(0x141)];static get[_0x47e872(0x253)](){const _0x1abd99=_0x47e872;return _0x1abd99(0x241);}static get[_0x47e872(0x242)](){return!0x0;}static get[_0x47e872(0x273)](){return!0x0;}static get[_0x47e872(0x1c3)](){return[_0x1bd292,_0xdd02f3,_0x50035c,_0x425879];}constructor(_0x33fe6e){const _0x4e44d1=_0x47e872;super(_0x33fe6e),this[_0x4e44d1(0x1ce)]=this[_0x4e44d1(0x19b)][_0x4e44d1(0x229)][_0x4e44d1(0x162)](_0x4e44d1(0x151)),this[_0x4e44d1(0x179)]=this[_0x4e44d1(0x19b)][_0x4e44d1(0x229)][_0x4e44d1(0x162)](_0x4e44d1(0x18f)),this[_0x4e44d1(0x20e)](_0x4e44d1(0x146),null),this[_0x4e44d1(0x20e)](_0x4e44d1(0x250),null),this[_0x4e44d1(0x1e3)]=null,this[_0x4e44d1(0x20e)](_0x4e44d1(0x281),null),this[_0x4e44d1(0x20e)](_0x4e44d1(0x1b8),!0x1),this[_0x4e44d1(0x20e)](_0x4e44d1(0x1b1),!0x0),this['on'](_0x4e44d1(0x168),(_0x195e67,_0x1ebe9d,_0x619515)=>{const _0x216488=_0x4e44d1;this[_0x216488(0x146)]=null,this[_0x216488(0x250)]=null,this[_0x216488(0x19b)][_0x216488(0x1b2)][_0x216488(0x244)][_0x216488(0x150)](_0x786e5d=>{const _0x5ebcad=_0x216488;for(const _0x1eac48 of this[_0x5ebcad(0x19b)][_0x5ebcad(0x1b2)][_0x5ebcad(0x244)][_0x5ebcad(0x1de)][_0x5ebcad(0x1d1)])_0x619515?_0x786e5d[_0x5ebcad(0x1fc)](_0x5ebcad(0x225),_0x1eac48):_0x786e5d[_0x5ebcad(0x1ee)](_0x5ebcad(0x225),_0x1eac48);});}),this[_0x4e44d1(0x174)](_0x4e44d1(0x16b))['to'](this,_0x4e44d1(0x146),_0x2caac2=>null!==_0x2caac2),this[_0x4e44d1(0x174)](_0x4e44d1(0x1eb))['to'](this,_0x4e44d1(0x1b8),this,_0x4e44d1(0x281),this,_0x4e44d1(0x146),(_0x26d37e,_0x6afe9d,_0x2faaec)=>_0x26d37e&&_0x2faaec?_0x6afe9d[_0x4e44d1(0x219)][_0x4e44d1(0x1a7)](_0x2faaec):0x0),this[_0x4e44d1(0x174)](_0x4e44d1(0x183))['to'](this,_0x4e44d1(0x1b8),this,_0x4e44d1(0x281),(_0x4446ca,_0x527a7a)=>_0x4446ca?_0x527a7a[_0x4e44d1(0x219)][_0x4e44d1(0x239)]:0x0),this[_0x4e44d1(0x1da)]=null,this[_0x4e44d1(0x21e)]=new Map(),this[_0x4e44d1(0x141)]=this[_0x4e44d1(0x19b)][_0x4e44d1(0x229)][_0x4e44d1(0x162)](_0xdd02f3);}[_0x47e872(0x247)](){const _0x5d703d=_0x47e872,_0x5027ea=this[_0x5d703d(0x19b)],_0x3a17b1=new ShowChangeCommand(_0x5027ea,{'direction':_0x5d703d(0x274)}),_0x4b9a29=new ShowChangeCommand(_0x5027ea,{'direction':_0x5d703d(0x1f0)});(_0x5027ea[_0x5d703d(0x1e1)][_0x5d703d(0x14a)](_0x5d703d(0x248),_0x3a17b1),_0x5027ea[_0x5d703d(0x1e1)][_0x5d703d(0x14a)](_0x5d703d(0x25a),_0x4b9a29),_0x5027ea[_0x5d703d(0x1e1)][_0x5d703d(0x14a)](_0x5d703d(0x201),new RestoreRevisionCommand(_0x5027ea)),this['on'](_0x5d703d(0x243),()=>{const _0x7fabe7=_0x5d703d;_0x3a17b1[_0x7fabe7(0x1a0)](),_0x4b9a29[_0x7fabe7(0x1a0)]();}),this[_0x5d703d(0x26b)](),this[_0x5d703d(0x277)](),_0x5027ea[_0x5d703d(0x24e)](_0x5d703d(0x270)),_0x5027ea[_0x5d703d(0x229)][_0x5d703d(0x14f)](_0x5d703d(0x1e0)))&&_0x5027ea[_0x5d703d(0x229)][_0x5d703d(0x162)](_0x5d703d(0x1e0))[_0x5d703d(0x18b)](_0x5d703d(0x270));}async[_0x47e872(0x1bc)](_0x413579){const _0x4f7119=_0x47e872;return await this[_0x4f7119(0x179)][_0x4f7119(0x240)](_0x413579,this[_0x4f7119(0x143)]),this[_0x4f7119(0x179)][_0x4f7119(0x1bc)](_0x413579);}async[_0x47e872(0x1b4)](_0x3c9fa9){const _0x2f361c=_0x47e872;return await this[_0x2f361c(0x179)][_0x2f361c(0x240)](_0x3c9fa9,this[_0x2f361c(0x143)]),this[_0x2f361c(0x179)][_0x2f361c(0x1b4)](_0x3c9fa9);}async[_0x47e872(0x18d)](_0x408218,_0x90c528,_0x4e96a4=!0x1){const _0x4fb197=_0x47e872;if(!this[_0x4fb197(0x1b1)])return;const _0xfb423=this[_0x4fb197(0x281)],_0x225596=this[_0x4fb197(0x1ce)],_0x377931=_0x4fb197(0x21f)==typeof _0x408218?_0x225596[_0x4fb197(0x163)](_0x408218):_0x408218,_0x59c75b=_0x4fb197(0x21f)==typeof _0x90c528?_0x225596[_0x4fb197(0x163)](_0x90c528):_0x90c528,_0xf4c2d=_0x377931['id'],_0x2b3700=_0x59c75b?_0x59c75b['id']:null;if(!_0x4e96a4&&this[_0x4fb197(0x281)]&&this[_0x4fb197(0x281)][_0x4fb197(0x235)]===_0xf4c2d&&this[_0x4fb197(0x281)][_0x4fb197(0x24a)]===_0x2b3700)return Promise[_0x4fb197(0x1fd)]();this[_0x4fb197(0x1b8)]=!0x1,this[_0x4fb197(0x250)]=null,this[_0x4fb197(0x146)]=null,this[_0x4fb197(0x281)]=new _0xd577ee(_0xf4c2d,_0x2b3700);const _0x28732a=this[_0x4fb197(0x271)](_0x377931,_0x59c75b,!0x0)[_0x4fb197(0x177)](_0xacbde6=>this[_0x4fb197(0x179)][_0x4fb197(0x240)](_0xacbde6,this[_0x4fb197(0x143)]));return _0x28732a[_0x4fb197(0x155)](new Promise(_0x59d225=>{setTimeout(_0x59d225,0x14);})),Promise[_0x4fb197(0x1fa)](_0x28732a)[_0x4fb197(0x1e4)](()=>{const _0x123cd9=_0x4fb197;if(!this[_0x123cd9(0x1b1)])return;this[_0x123cd9(0x16f)]();const _0x53866d=this[_0x123cd9(0x185)](_0xf4c2d,_0x2b3700);for(const _0x3d5560 of _0x53866d[_0x123cd9(0x219)])this[_0x123cd9(0x21e)][_0x123cd9(0x20e)](_0x3d5560['id'],_0x3d5560);this[_0x123cd9(0x19b)][_0x123cd9(0x190)][_0x123cd9(0x211)]({'isUndoable':!0x1},_0xf553d7=>{const _0x4d2a46=_0x123cd9;for(const _0xc2e870 of this[_0x4d2a46(0x19b)][_0x4d2a46(0x190)][_0x4d2a46(0x1de)][_0x4d2a46(0x1cb)]())_0xf553d7[_0x4d2a46(0x1c5)](_0xc2e870);for(const _0x589b63 of Object[_0x4d2a46(0x209)](_0x53866d[_0x4d2a46(0x190)])){const _0x350929=_0xf553d7[_0x4d2a46(0x139)](_0x589b63);for(const _0xfbcc8c of Object[_0x4d2a46(0x209)](_0x53866d[_0x4d2a46(0x1fb)][_0x589b63]))_0xf553d7[_0x4d2a46(0x1c7)](_0xfbcc8c,_0x53866d[_0x4d2a46(0x1fb)][_0x589b63][_0xfbcc8c],_0x350929);_0xf553d7[_0x4d2a46(0x1b3)](_0x53866d[_0x4d2a46(0x190)][_0x589b63],_0x350929,0x0);}}),this[_0x123cd9(0x281)][_0x123cd9(0x24b)](this[_0x123cd9(0x1a3)](_0x53866d[_0x123cd9(0x219)])),this[_0x123cd9(0x1b8)]=!0x0;})[_0x4fb197(0x1af)](_0x50be55=>{const _0x22c29c=_0x4fb197;console[_0x22c29c(0x22a)](_0x50be55),this[_0x22c29c(0x16f)](),_0xfb423&&(this[_0x22c29c(0x281)]=_0xfb423),this[_0x22c29c(0x1b8)]=!0x0;});}[_0x47e872(0x1e7)](_0x3664dc,_0x375b82){const _0x4e41ac=_0x47e872,_0x1058df=this[_0x4e41ac(0x1ce)][_0x4e41ac(0x279)](_0x3664dc);return _0x1058df['on'](_0x4e41ac(0x1c9),(_0x39524b,_0x6cfc39,_0x1bf8c5)=>_0x375b82(_0x6cfc39,_0x1bf8c5,_0x1058df)),this[_0x4e41ac(0x1ce)][_0x4e41ac(0x195)](_0x1058df),_0x1058df;}[_0x47e872(0x16f)](){const _0x18045c=_0x47e872;this[_0x18045c(0x146)]=null,this[_0x18045c(0x1c1)](),this[_0x18045c(0x1da)]&&this[_0x18045c(0x1da)][_0x18045c(0x255)](),this[_0x18045c(0x1da)]=null,this[_0x18045c(0x21e)][_0x18045c(0x246)](),this[_0x18045c(0x19b)][_0x18045c(0x190)][_0x18045c(0x211)]({'isUndoable':!0x1},_0x2dfb47=>{const _0x4fa65c=_0x18045c;for(const _0x1ecdf6 of this[_0x4fa65c(0x19b)][_0x4fa65c(0x190)][_0x4fa65c(0x1de)][_0x4fa65c(0x1cb)]())_0x2dfb47[_0x4fa65c(0x1c5)](_0x1ecdf6);});}[_0x47e872(0x1a3)](_0x126f05){const _0x389e89=_0x47e872,_0x2b7efb=[],_0x90be19=new Map();for(const _0x5874dd of this[_0x389e89(0x19b)][_0x389e89(0x190)][_0x389e89(0x1de)][_0x389e89(0x1cb)]()){const _0x24eaf2=this[_0x389e89(0x19b)][_0x389e89(0x1b2)][_0x389e89(0x244)][_0x389e89(0x181)](_0x5874dd);if(!_0x24eaf2)continue;const _0x39ec3a=_0x24eaf2[_0x389e89(0x140)]()[_0x389e89(0x262)](0x0);_0x39ec3a&&(_0x2b7efb[_0x389e89(0x155)](_0x5874dd),_0x90be19[_0x389e89(0x20e)](_0x5874dd,_0x39ec3a));}return _0x2b7efb[_0x389e89(0x1b9)]((_0x5d6b40,_0x1ae30e)=>{const _0xa4cae9=_0x389e89,_0x33becd=_0x90be19[_0xa4cae9(0x162)](_0x5d6b40),_0x2a7d1a=_0x90be19[_0xa4cae9(0x162)](_0x1ae30e);return _0x33becd['y']-_0x2a7d1a['y']||_0x33becd['x']-_0x2a7d1a['x'];}),(_0x126f05=_0x126f05[_0x389e89(0x13c)](_0x2e5d99=>_0x2b7efb[_0x389e89(0x200)](_0x2e5d99[_0x389e89(0x1e8)])))[_0x389e89(0x1b9)]((_0xda4072,_0x48f9d6)=>_0x2b7efb[_0x389e89(0x20f)](_0xda4072[_0x389e89(0x1e8)])-_0x2b7efb[_0x389e89(0x20f)](_0x48f9d6[_0x389e89(0x1e8)])),_0x126f05;}[_0x47e872(0x206)](_0x502333){const _0x4c0178=_0x47e872,_0x5e427c=Array[_0x4c0178(0x13e)](_0x502333[_0x4c0178(0x21a)])[_0x4c0178(0x13c)](([_0x1fe810,_0x41c58a])=>_0x1fe810[_0x4c0178(0x165)](_0x4c0178(0x276))&&!_0x41c58a[_0x4c0178(0x1bb)]),_0x545af1=Array[_0x4c0178(0x13e)](this[_0x4c0178(0x19b)][_0x4c0178(0x190)][_0x4c0178(0x221)](_0x502333)[_0x4c0178(0x18a)]({'singleCharacters':!0x0}));if(0x0!=_0x5e427c[_0x4c0178(0x239)])for(const _0x304874 of _0x545af1){const [_0x27e566,_0x2f23ac]=_0x5e427c[0x0],[,_0x462cb6,_0x122f38]=_0x27e566[_0x4c0178(0x158)](':');if(_0x2f23ac[_0x4c0178(0x154)][_0x4c0178(0x22c)](_0x304874[_0x4c0178(0x1ec)])&&_0x5e427c[_0x4c0178(0x23a)](),(_0x304874[_0x4c0178(0x1f8)][_0x4c0178(0x22c)](_0x2f23ac[_0x4c0178(0x161)])||_0x304874[_0x4c0178(0x1f8)][_0x4c0178(0x223)](_0x2f23ac[_0x4c0178(0x161)]))&&(_0x4c0178(0x157)==_0x462cb6?_0x304874[_0x4c0178(0x17a)]={'userId':_0x122f38}:_0x4c0178(0x1f6)==_0x462cb6&&(_0x304874[_0x4c0178(0x26e)]={'userId':_0x122f38})),0x0==_0x5e427c[_0x4c0178(0x239)])break;}return _0x545af1;}[_0x47e872(0x13a)](_0x128970){const _0x2c6473=_0x47e872,_0x2d4fac=new Map();for(let _0x284d06=0x0;_0x284d06<_0x128970[_0x2c6473(0x239)];_0x284d06++)_0x2c6473(0x217)===_0x128970[_0x284d06][_0x2c6473(0x15f)]?(_0x128970[_0x284d06][_0x2c6473(0x262)][_0x2c6473(0x1e6)]=_0x284d06,_0x128970[_0x284d06][_0x2c6473(0x262)][_0x2c6473(0x149)]=_0x284d06):(_0x2c6473(0x1dc)===_0x128970[_0x284d06][_0x2c6473(0x15f)]?_0x128970[_0x284d06][_0x2c6473(0x262)][_0x2c6473(0x1e6)]=_0x284d06:_0x2c6473(0x1ea)===_0x128970[_0x284d06][_0x2c6473(0x15f)]&&(_0x128970[_0x284d06][_0x2c6473(0x262)][_0x2c6473(0x149)]=_0x284d06),_0x2d4fac[_0x2c6473(0x20e)](_0x128970[_0x284d06]['id'],_0x284d06));for(const _0x25ec1b of _0x2d4fac[_0x2c6473(0x17b)]())_0x2c6473(0x1dc)===_0x128970[_0x25ec1b][_0x2c6473(0x15f)]?_0x128970[_0x25ec1b][_0x2c6473(0x262)][_0x2c6473(0x149)]=_0x2d4fac[_0x2c6473(0x162)](_0x128970[_0x25ec1b][_0x2c6473(0x1c2)]):_0x2c6473(0x1ea)===_0x128970[_0x25ec1b][_0x2c6473(0x15f)]&&(_0x128970[_0x25ec1b][_0x2c6473(0x262)][_0x2c6473(0x1e6)]=_0x2d4fac[_0x2c6473(0x162)](_0x128970[_0x25ec1b][_0x2c6473(0x1c2)]));}[_0x47e872(0x226)](_0x2f9fd9){const _0xcf09f6=_0x47e872;for(let _0x56f2d6=0x0;_0x56f2d6<_0x2f9fd9[_0xcf09f6(0x239)];_0x56f2d6++){if(_0xcf09f6(0x1dc)===_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x15f)])_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x262)][_0xcf09f6(0x1e6)]=_0x56f2d6;else{if(_0xcf09f6(0x1ea)===_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x15f)]){_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x262)][_0xcf09f6(0x149)]=_0x56f2d6;const _0x46c940=_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x262)][_0xcf09f6(0x1e6)];_0x2f9fd9[_0x46c940][_0xcf09f6(0x1c2)]=_0x2f9fd9[_0x56f2d6]['id'],_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x1c2)]=_0x2f9fd9[_0x46c940]['id'];}else _0x2f9fd9[_0x56f2d6][_0xcf09f6(0x262)][_0xcf09f6(0x1e6)]=_0x56f2d6,_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x262)][_0xcf09f6(0x149)]=_0x56f2d6,_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x1c2)]=null;}_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x159)]||(_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x159)]=[],_0x2f9fd9[_0x56f2d6][_0xcf09f6(0x17d)]=[]);}}[_0x47e872(0x210)](_0x2dccd5,_0x496308){const _0x430856=_0x47e872,_0x33c968=_0x2dccd5[_0x430856(0x13c)](_0x185610=>!_0x185610[_0x430856(0x17a)]);for(let _0x5331c8=0x0;_0x5331c8<_0x496308[_0x430856(0x239)];_0x5331c8++)_0x496308[_0x5331c8][_0x430856(0x17a)]&&(_0x33c968[_0x5331c8][_0x430856(0x17a)]=_0x496308[_0x5331c8][_0x430856(0x17a)]);}[_0x47e872(0x185)](_0x4a05bd,_0x26c04e=null){const _0xe1b696=_0x47e872,_0x176781=this[_0xe1b696(0x1ce)][_0xe1b696(0x163)](_0x4a05bd),_0x44fe6b=_0x26c04e?this[_0xe1b696(0x1ce)][_0xe1b696(0x163)](_0x26c04e):null,_0x54a0c8=this[_0xe1b696(0x271)](_0x176781,_0x44fe6b),_0x1df618=_0x54a0c8[_0x54a0c8[_0xe1b696(0x239)]-0x1],_0x1b440f=new Map(),_0x585932={'model':{},'attributes':{},'changes':[]},_0x3cd202=new Set(),_0x4fc471=new Map();for(let _0x511641=_0x54a0c8[_0xe1b696(0x239)]-0x1;_0x511641>=0x0;_0x511641--){const _0x2b2be4=_0x54a0c8[_0x511641];for(const _0x3e274c of Object[_0xe1b696(0x209)](_0x2b2be4[_0xe1b696(0x13b)]))if(_0x2b2be4[_0xe1b696(0x13b)][_0x3e274c][_0xe1b696(0x17e)]){const _0x3832fb=_0x2b2be4[_0xe1b696(0x13b)][_0x3e274c][_0xe1b696(0x17e)];_0x3832fb[_0xe1b696(0x1f9)]?(_0x3cd202[_0xe1b696(0x14a)](_0x3e274c),_0x4fc471[_0xe1b696(0x14f)](_0x3e274c)&&_0x4fc471[_0xe1b696(0x162)](_0x3e274c)[_0xe1b696(0x1d0)]==_0x3832fb[_0xe1b696(0x1d0)]?_0x4fc471[_0xe1b696(0x173)](_0x3e274c):_0x4fc471[_0xe1b696(0x20e)](_0x3e274c,_0x3832fb)):_0x4fc471[_0xe1b696(0x14f)](_0x3e274c)?(_0x3cd202[_0xe1b696(0x173)](_0x3e274c),_0x4fc471[_0xe1b696(0x173)](_0x3e274c)):(_0x3cd202[_0xe1b696(0x14a)](_0x3e274c),_0x4fc471[_0xe1b696(0x20e)](_0x3e274c,_0x3832fb));}else _0x3cd202[_0xe1b696(0x14a)](_0x3e274c);}for(const _0x3e2cc6 of _0x3cd202){const _0x236815=_0x4fc471[_0xe1b696(0x14f)](_0x3e2cc6)&&!_0x4fc471[_0xe1b696(0x162)](_0x3e2cc6)[_0xe1b696(0x1f9)];let _0x4c508d=_0x236815?_0x54a0c8[_0xe1b696(0x239)]-0x1:0x0;const _0x20ea2b=_0x236815?-0x1:0x1;for(;_0x54a0c8[_0x4c508d];){const _0x3dbc70=_0x54a0c8[_0x4c508d];if(_0x3dbc70[_0xe1b696(0x13b)][_0x3e2cc6]){const _0x2ed06e=_0x236815?_0x3dbc70[_0xe1b696(0x13b)][_0x3e2cc6][_0xe1b696(0x1e2)]:_0x3dbc70[_0xe1b696(0x13b)][_0x3e2cc6][_0xe1b696(0x20a)];_0x585932[_0xe1b696(0x1fb)][_0x3e2cc6]=_0x2ed06e?_0x5d3f94(_0x2ed06e):{};break;}_0x4c508d+=_0x20ea2b;}}for(const _0x41e863 of _0x54a0c8){_0x41e863[_0xe1b696(0x190)]={};for(const _0x202dd9 of _0x41e863[_0xe1b696(0x222)])_0x1b440f[_0xe1b696(0x20e)](_0x202dd9['id'],_0x202dd9);for(const _0x15afa8 of _0x3cd202){const _0x192361=_0x41e863[_0xe1b696(0x13b)][_0x15afa8]?_0x41e863[_0xe1b696(0x13b)][_0x15afa8][_0xe1b696(0x22b)]:'[]',_0x49dde2=_0x41e863[_0xe1b696(0x13b)][_0x15afa8]?_0x41e863[_0xe1b696(0x13b)][_0x15afa8][_0xe1b696(0x1f4)]:'[]';_0x41e863[_0xe1b696(0x190)][_0x15afa8]={'insertions':this[_0xe1b696(0x179)][_0xe1b696(0x1dd)](_0x192361),'deletions':this[_0xe1b696(0x179)][_0xe1b696(0x1dd)](_0x49dde2)};}}for(const _0x8dba31 of _0x3cd202){let _0x200ba9=null,_0x384ed5=0x0;const _0x5a823b=new Map(Array[_0xe1b696(0x13e)](_0x176781[_0xe1b696(0x190)][_0x8dba31][_0xe1b696(0x22b)][_0xe1b696(0x21a)])[_0xe1b696(0x13c)](([_0x44dc92])=>!_0x44dc92[_0xe1b696(0x165)](_0xe1b696(0x276))));let _0x4d879f=0x0;for(const _0x1eae12 of _0x54a0c8){const _0x17fe7e=this[_0xe1b696(0x206)](_0x1eae12[_0xe1b696(0x190)][_0x8dba31][_0xe1b696(0x22b)]);_0x1eae12==_0x176781?(_0x200ba9=_0x17fe7e,_0x384ed5=_0x200ba9[_0xe1b696(0x239)],_0x200ba9[_0xe1b696(0x1a4)](_0x3f728d=>{_0x3f728d['id']=_0x4d879f++;}),this[_0xe1b696(0x226)](_0x200ba9)):this[_0xe1b696(0x210)](_0x200ba9,_0x17fe7e);const _0xc4ef2f=_0x200ba9[_0xe1b696(0x13c)](_0x89f4a0=>!_0x89f4a0[_0xe1b696(0x17a)])[_0xe1b696(0x177)](_0x53d34b=>_0x53d34b['id']);let _0x19c984=0x0;const _0x4bf6d2=this[_0xe1b696(0x206)](_0x1eae12[_0xe1b696(0x190)][_0x8dba31][_0xe1b696(0x1f4)]);_0x4bf6d2[_0xe1b696(0x1a4)](_0x1549da=>{const _0x4dde6d=_0xe1b696;_0x1549da[_0x4dde6d(0x26e)]?_0x1549da['id']=_0x384ed5++:_0x1549da['id']=_0xc4ef2f[_0x19c984++];}),this[_0xe1b696(0x226)](_0x4bf6d2),this[_0xe1b696(0x267)](_0x200ba9,_0xe1b696(0x17a)),this[_0xe1b696(0x267)](_0x4bf6d2,_0xe1b696(0x26e)),_0x1eae12==_0x176781&&this[_0xe1b696(0x14b)](_0x200ba9,_0x5a823b),_0x200ba9=this[_0xe1b696(0x260)](_0x200ba9,_0x4bf6d2),this[_0xe1b696(0x13a)](_0x200ba9),this[_0xe1b696(0x267)](_0x200ba9,_0xe1b696(0x26e));}_0x200ba9=_0x200ba9[_0xe1b696(0x13c)](_0x25e8c7=>!(_0x25e8c7[_0xe1b696(0x17a)]&&_0x25e8c7[_0xe1b696(0x26e)]));const _0x559683=new Map(_0x1df618[_0xe1b696(0x190)][_0x8dba31][_0xe1b696(0x1f4)][_0xe1b696(0x21a)]),_0x30a1e1=new Set(_0x5a823b[_0xe1b696(0x209)]());for(const _0x711f95 of _0x559683[_0xe1b696(0x209)]())_0x30a1e1[_0xe1b696(0x173)](_0x711f95);this[_0xe1b696(0x22e)](_0x200ba9,_0x30a1e1),this[_0xe1b696(0x1f1)](_0x200ba9),_0x200ba9=this[_0xe1b696(0x20c)](_0x200ba9),_0x200ba9=this[_0xe1b696(0x15b)](_0x200ba9),_0x200ba9=this[_0xe1b696(0x176)](_0x200ba9);const {root:_0x383164,changes:_0x37fc17}=this[_0xe1b696(0x1ed)](_0x200ba9,_0x1b440f,_0x8dba31);_0x585932[_0xe1b696(0x190)][_0x8dba31]=_0x383164;const _0x4e1049=_0x4fc471[_0xe1b696(0x162)](_0x8dba31);if(_0x4e1049){const _0x4c88cc=_0x1b440f[_0xe1b696(0x162)](_0x4e1049[_0xe1b696(0x1d0)]),_0x45fb7e=new _0x1aba03({'author':_0x4c88cc,'type':_0x4e1049[_0xe1b696(0x1f9)]?_0xe1b696(0x14a):_0xe1b696(0x25c),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x8dba31});_0x37fc17[_0xe1b696(0x266)](_0x45fb7e),_0x585932[_0xe1b696(0x1fb)][_0x8dba31][_0xe1b696(0x182)]=_0x45fb7e['id'];}_0x585932[_0xe1b696(0x219)]=_0x585932[_0xe1b696(0x219)][_0xe1b696(0x1ff)](_0x37fc17);}return _0x585932;}[_0x47e872(0x14b)](_0x92ef11,_0x1e79ee){const _0x50110c=_0x47e872;for(let _0x46e64a=0x0;_0x46e64a<_0x92ef11[_0x50110c(0x239)];_0x46e64a++)for(const [_0x43b21c,_0x354002]of _0x1e79ee)!_0x354002[_0x50110c(0x1bb)]&&_0x354002[_0x50110c(0x161)][_0x50110c(0x22c)](_0x92ef11[_0x46e64a][_0x50110c(0x1f8)])&&_0x92ef11[_0x46e64a][_0x50110c(0x159)][_0x50110c(0x155)](_0x43b21c),_0x354002[_0x50110c(0x154)][_0x50110c(0x22c)](_0x92ef11[_0x46e64a][_0x50110c(0x1ec)])&&_0x92ef11[_0x46e64a][_0x50110c(0x17d)][_0x50110c(0x155)](_0x43b21c);}[_0x47e872(0x260)](_0x837328,_0x1c9c6f){const _0x36e3be=_0x47e872;let _0x41e432=[],_0x51bc8c=0x0,_0x38f187=0x0;for(;_0x51bc8c<_0x837328[_0x36e3be(0x239)]||_0x38f187<_0x1c9c6f[_0x36e3be(0x239)];){const _0x15df49=_0x837328[_0x51bc8c]||{},_0x26ba1a=_0x1c9c6f[_0x38f187]||{};if(_0x15df49['id']==_0x26ba1a['id'])_0x51bc8c++,_0x38f187++,_0x41e432[_0x36e3be(0x155)](_0x15df49);else{if(_0x26ba1a[_0x36e3be(0x26e)]&&_0x15df49[_0x36e3be(0x17a)]){const {commonTape:_0x5a9cf7,iEnd:_0x21e5aa,jEnd:_0x425601}=this[_0x36e3be(0x164)](_0x837328,_0x51bc8c,_0x1c9c6f,_0x38f187);_0x41e432=_0x41e432[_0x36e3be(0x1ff)](_0x5a9cf7),_0x51bc8c=_0x21e5aa,_0x38f187=_0x425601;}else _0x26ba1a[_0x36e3be(0x26e)]?(_0x38f187++,_0x41e432[_0x36e3be(0x155)](_0x26ba1a)):(_0x51bc8c++,_0x41e432[_0x36e3be(0x155)](_0x15df49));}}return _0x41e432;}[_0x47e872(0x22e)](_0x5373de,_0x81665){const _0x6c7856=_0x47e872,_0x425cf9=[];for(let _0x5c8678=0x0;_0x5c8678<_0x5373de[_0x6c7856(0x239)];_0x5c8678++){for(let _0x21c753=0x0;_0x21c753<_0x5373de[_0x5c8678][_0x6c7856(0x159)][_0x6c7856(0x239)];_0x21c753++){const _0xf60735=_0x5373de[_0x5c8678][_0x6c7856(0x159)][_0x21c753];if(!_0x81665[_0x6c7856(0x14f)](_0xf60735))continue;const {group:_0x3c9ec8,type:_0x15f7c4,authorId:_0x2e1e24}=_0x3ea16c(_0xf60735);_0x6c7856(0x264)!=_0x3c9ec8||_0x6c7856(0x157)!=_0x15f7c4&&_0x6c7856(0x1f6)!=_0x15f7c4||(_0x425cf9[_0x6c7856(0x266)]({'type':_0x15f7c4,'name':_0xf60735,'userId':_0x2e1e24}),_0x5373de[_0x5c8678][_0x6c7856(0x159)][_0x6c7856(0x192)](_0x21c753,0x1),_0x21c753--);}_0x52df21(_0x5373de[_0x5c8678]);for(let _0x3c6794=0x0;_0x3c6794<_0x5373de[_0x5c8678][_0x6c7856(0x17d)][_0x6c7856(0x239)];_0x3c6794++){const _0x4095cb=_0x5373de[_0x5c8678][_0x6c7856(0x17d)][_0x3c6794];if(!_0x81665[_0x6c7856(0x14f)](_0x4095cb))continue;const {group:_0x674edd,type:_0x520460}=_0x3ea16c(_0x4095cb);if(_0x6c7856(0x264)!=_0x674edd||_0x6c7856(0x157)!=_0x520460&&_0x6c7856(0x1f6)!=_0x520460)continue;_0x5373de[_0x5c8678][_0x6c7856(0x17d)][_0x6c7856(0x192)](_0x3c6794,0x1),_0x3c6794--;const _0x561aec=_0x425cf9[_0x6c7856(0x1d2)](_0x56cb32=>_0x56cb32[_0x6c7856(0x1ac)]==_0x4095cb);_0x561aec>-0x1&&_0x425cf9[_0x6c7856(0x192)](_0x561aec,0x1);}}function _0x3ea16c(_0x1692d9){const _0xe3251c=_0x6c7856,_0x2835f8=_0x1692d9[_0xe3251c(0x158)](':');return{'group':_0x2835f8[0x0],'type':_0x2835f8[0x1],'subType':_0x2835f8[_0xe3251c(0x239)]>=0x5?_0x2835f8[0x2]:null,'id':_0x2835f8[_0xe3251c(0x239)]<0x5?_0x2835f8[0x2]:_0x2835f8[0x3],'authorId':_0x2835f8[_0xe3251c(0x239)]<0x5?_0x2835f8[0x3]:_0x2835f8[0x4],'markerCount':0x6==_0x2835f8[_0xe3251c(0x239)]?_0x2835f8[0x5]:null};}function _0x52df21(_0x4a023e){const _0x4f1c7a=_0x6c7856;for(let _0x49141e=0x0;_0x49141e<_0x425cf9[_0x4f1c7a(0x239)];_0x49141e++){if(_0x4a023e[_0x4f1c7a(0x17a)]&&_0x4f1c7a(0x157)==_0x425cf9[_0x49141e][_0x4f1c7a(0x15f)]&&_0x4a023e[_0x4f1c7a(0x17a)][_0x4f1c7a(0x1d0)]==_0x425cf9[_0x49141e][_0x4f1c7a(0x1d0)])return _0x4a023e[_0x4f1c7a(0x1d9)]=_0x425cf9[_0x49141e],void delete _0x4a023e[_0x4f1c7a(0x17a)];if(!_0x4a023e[_0x4f1c7a(0x17a)]&&!_0x4a023e[_0x4f1c7a(0x26e)]&&_0x4f1c7a(0x1f6)==_0x425cf9[_0x49141e][_0x4f1c7a(0x15f)])return void(_0x4a023e[_0x4f1c7a(0x259)]=_0x425cf9[_0x49141e]);}}}[_0x47e872(0x267)](_0x3c1714,_0x31ec26){const _0x13921c=_0x47e872;let _0x24ec8e=0x0,_0x487c10=!0x1;const _0x528e04=new Map();for(const _0x526316 of _0x3c1714)_0x526316[_0x31ec26]?_0x487c10&&(_0x24ec8e++,_0x487c10=!0x1):(_0x24ec8e++,_0x487c10=!0x0),_0x528e04[_0x13921c(0x20e)](_0x526316['id'],_0x24ec8e);for(let _0x23a15d=0x0;_0x23a15d<_0x3c1714[_0x13921c(0x239)];_0x23a15d++){if(_0x13921c(0x26e)==_0x31ec26&&_0x3c1714[_0x23a15d][_0x13921c(0x17a)]||_0x13921c(0x17a)==_0x31ec26&&_0x3c1714[_0x23a15d][_0x13921c(0x26e)])continue;if(_0x13921c(0x217)==_0x3c1714[_0x23a15d][_0x13921c(0x15f)]){_0x3c1714[_0x23a15d][_0x13921c(0x15d)]=0x0;continue;}const _0x428ae2=_0x528e04[_0x13921c(0x162)](_0x3c1714[_0x23a15d][_0x13921c(0x1c2)]),_0x49ff8c=_0x528e04[_0x13921c(0x162)](_0x3c1714[_0x23a15d]['id']);_0x3c1714[_0x23a15d][_0x13921c(0x15d)]=_0x428ae2-_0x49ff8c;}}[_0x47e872(0x271)](_0x54f91e,_0x4dbc04,_0x1e5f57=!0x1){const _0x806803=_0x47e872,_0x2bfd61=[];let _0x1f7523=this[_0x806803(0x1ce)][_0x806803(0x1a7)](_0x54f91e),_0x48bb23=this[_0x806803(0x1ce)][_0x806803(0x1a7)](_0x4dbc04);for(-0x1==_0x48bb23&&(_0x48bb23=this[_0x806803(0x1ce)][_0x806803(0x230)][_0x806803(0x239)],_0x1e5f57=!0x1);_0x1f7523<_0x48bb23;)_0x2bfd61[_0x806803(0x155)](this[_0x806803(0x1ce)][_0x806803(0x163)](_0x1f7523)),_0x1f7523++;return _0x1e5f57&&_0x2bfd61[_0x806803(0x155)](this[_0x806803(0x1ce)][_0x806803(0x163)](_0x1f7523)),_0x2bfd61;}[_0x47e872(0x164)](_0x52fdc5,_0x23055a,_0x3065ed,_0x2ca9b0){const _0x2ac510=_0x47e872,_0x12cf0f=this[_0x2ac510(0x19b)][_0x2ac510(0x190)][_0x2ac510(0x18e)];let _0x1120e3=_0x23055a;for(;_0x52fdc5[_0x1120e3]&&_0x52fdc5[_0x1120e3][_0x2ac510(0x17a)];)_0x1120e3++;let _0x11785b=_0x2ca9b0;for(;_0x3065ed[_0x11785b]&&_0x3065ed[_0x11785b][_0x2ac510(0x26e)];)_0x11785b++;_0x4cb6f2(_0x52fdc5,_0x23055a,_0x1120e3),_0x4cb6f2(_0x3065ed,_0x2ca9b0,_0x11785b);const _0x4b5117=_0x3065ed[_0x2ac510(0x1db)](_0x2ca9b0,_0x11785b)[_0x2ac510(0x1ff)](_0x52fdc5[_0x2ac510(0x1db)](_0x23055a,_0x1120e3));return _0x4b5117[_0x2ac510(0x1b9)]((_0x5a5a94,_0xfadfc7)=>_0x5a5a94[_0x2ac510(0x216)]!=_0xfadfc7[_0x2ac510(0x216)]?_0x5a5a94[_0x2ac510(0x216)]-_0xfadfc7[_0x2ac510(0x216)]:_0x5a5a94[_0x2ac510(0x1c4)]!=_0xfadfc7[_0x2ac510(0x1c4)]?_0x5a5a94[_0x2ac510(0x1c4)]-_0xfadfc7[_0x2ac510(0x1c4)]:_0x5a5a94[_0x2ac510(0x15d)]!=_0xfadfc7[_0x2ac510(0x15d)]?_0xfadfc7[_0x2ac510(0x15d)]-_0x5a5a94[_0x2ac510(0x15d)]:!!_0x5a5a94[_0x2ac510(0x17a)]!=!!_0xfadfc7[_0x2ac510(0x17a)]?-0x1==_0x5a5a94[_0x2ac510(0x216)]||0x0==_0x5a5a94[_0x2ac510(0x216)]?_0x5a5a94[_0x2ac510(0x17a)]?-0x1:0x1:_0x5a5a94[_0x2ac510(0x17a)]?0x1:-0x1:_0x5a5a94[_0x2ac510(0x1a6)]-_0xfadfc7[_0x2ac510(0x1a6)]),{'commonTape':_0x4b5117,'iEnd':_0x1120e3,'jEnd':_0x11785b};function _0x4cb6f2(_0xcf0212,_0x3d2aa7,_0x43a174){const _0x55311e=_0x2ac510;let _0x563efc=-0x1,_0x57c24b=Number[_0x55311e(0x1be)],_0x2e66f3=!0x0;for(let _0x13a790=_0x3d2aa7;_0x13a790<_0x43a174;_0x13a790++)if(_0x12cf0f[_0x55311e(0x208)](_0xcf0212[_0x13a790][_0x55311e(0x262)])||(_0x2e66f3=!0x1),_0xcf0212[_0x13a790][_0x55311e(0x262)][_0x55311e(0x1e6)]<_0x3d2aa7&&(_0x563efc=_0x13a790),_0xcf0212[_0x13a790][_0x55311e(0x262)][_0x55311e(0x149)]>=_0x43a174){_0x57c24b=_0x13a790;break;}_0x2e66f3&&(_0x563efc=_0x43a174-0x1);for(let _0xe875e=_0x3d2aa7;_0xe875e<_0x43a174;_0xe875e++)_0xcf0212[_0xe875e][_0x55311e(0x216)]=_0xe875e<=_0x563efc?-0x1:_0xe875e<_0x57c24b?0x0:0x1,_0xcf0212[_0xe875e][_0x55311e(0x1a6)]=_0xe875e;let _0x2ef10c=0x0;for(let _0x3db67b=_0x3d2aa7;_0x3db67b<=_0x563efc;_0x3db67b++)0x0==_0xcf0212[_0x3db67b][_0x55311e(0x15d)]?_0xcf0212[_0x3db67b][_0x55311e(0x1c4)]=_0x2ef10c:(_0x2ef10c++,_0xcf0212[_0x3db67b][_0x55311e(0x1c4)]=_0x2ef10c,_0x2ef10c++);for(let _0x5f0fb9=_0x3d2aa7;_0x5f0fb9<_0x43a174;_0x5f0fb9++)0x0==_0xcf0212[_0x5f0fb9][_0x55311e(0x216)]&&(_0xcf0212[_0x5f0fb9][_0x55311e(0x1c4)]=_0x2ef10c);_0x2ef10c=0x0;for(let _0x76b7a=_0x43a174-0x1;_0x76b7a>=_0x57c24b;_0x76b7a--)0x0==_0xcf0212[_0x76b7a][_0x55311e(0x15d)]?_0xcf0212[_0x76b7a][_0x55311e(0x1c4)]=_0x2ef10c:(_0x2ef10c--,_0xcf0212[_0x76b7a][_0x55311e(0x1c4)]=_0x2ef10c,_0x2ef10c--);}}[_0x47e872(0x1f1)](_0x14f57b){const _0x2ea044=_0x47e872,_0x872d37=new Map(),_0x107133=this[_0x2ea044(0x19b)][_0x2ea044(0x190)][_0x2ea044(0x18e)];for(let _0x3bf517=0x1;_0x3bf517<_0x14f57b[_0x2ea044(0x239)];_0x3bf517++){let _0x5cf2ea,_0x167d35,_0x1594cb;const _0x1e1878=_0x14f57b[_0x3bf517],_0x18c304=_0x14f57b[_0x3bf517-0x1];if(_0x2ea044(0x217)==_0x1e1878[_0x2ea044(0x15f)])continue;if(_0x1e1878[_0x2ea044(0x15f)]!=_0x18c304[_0x2ea044(0x15f)])continue;if(!_0x107133[_0x2ea044(0x1d8)](_0x18c304[_0x2ea044(0x262)])||_0x107133[_0x2ea044(0x1df)](_0x18c304[_0x2ea044(0x262)]))continue;if(!_0x107133[_0x2ea044(0x1d8)](_0x1e1878[_0x2ea044(0x262)])||_0x107133[_0x2ea044(0x1df)](_0x1e1878[_0x2ea044(0x262)]))continue;if((_0x14f57b[_0x3bf517][_0x2ea044(0x17a)]||_0x14f57b[_0x3bf517][_0x2ea044(0x1d9)])&&_0x14f57b[_0x3bf517-0x1][_0x2ea044(0x26e)])_0x5cf2ea=_0x14f57b[_0x3bf517],_0x167d35=_0x14f57b[_0x3bf517-0x1],_0x1594cb=_0x3bf517-0x1;else{if(!_0x14f57b[_0x3bf517][_0x2ea044(0x26e)]||!_0x14f57b[_0x3bf517-0x1][_0x2ea044(0x17a)]&&!_0x14f57b[_0x3bf517-0x1][_0x2ea044(0x1d9)])continue;_0x5cf2ea=_0x14f57b[_0x3bf517-0x1],_0x167d35=_0x14f57b[_0x3bf517],_0x1594cb=_0x3bf517;}const _0x704d94=_0x5cf2ea[_0x2ea044(0x1c4)]==_0x167d35[_0x2ea044(0x1c4)],_0x368393=Math[_0x2ea044(0x1e5)](_0x5cf2ea[_0x2ea044(0x1c4)])<Math[_0x2ea044(0x1e5)](_0x167d35[_0x2ea044(0x1c4)])&&0x0==_0x167d35[_0x2ea044(0x15d)];(_0x704d94||_0x368393)&&(_0x872d37[_0x2ea044(0x20e)](_0x167d35['id'],_0x5cf2ea['id']),_0x14f57b[_0x2ea044(0x192)](_0x1594cb,0x1),_0x3bf517--,_0x5cf2ea[_0x2ea044(0x17a)]=!0x1);}for(let _0x5eadbb=0x0;_0x5eadbb<_0x14f57b[_0x2ea044(0x239)];_0x5eadbb++)_0x872d37[_0x2ea044(0x14f)](_0x14f57b[_0x5eadbb][_0x2ea044(0x1c2)])&&(_0x14f57b[_0x5eadbb][_0x2ea044(0x1c2)]=_0x872d37[_0x2ea044(0x162)](_0x14f57b[_0x5eadbb][_0x2ea044(0x1c2)]));}[_0x47e872(0x20c)](_0x17b73b){const _0xce695a=_0x47e872,_0x391e50=new Set(_0x17b73b[_0xce695a(0x177)](_0x4a762b=>_0x4a762b['id']));for(let _0x4043bf=0x0;_0x4043bf<_0x17b73b[_0xce695a(0x239)];_0x4043bf++)_0x391e50[_0xce695a(0x14f)](_0x17b73b[_0x4043bf][_0xce695a(0x1c2)])||0x0==_0x17b73b[_0x4043bf][_0xce695a(0x15d)]||(_0x17b73b[_0x4043bf][_0xce695a(0x203)]=!0x0);return _0x17b73b[_0xce695a(0x13c)](_0x927a6=>!_0x927a6[_0xce695a(0x203)]);}[_0x47e872(0x15b)](_0x29602e){const _0x486f6f=_0x47e872,_0x949adb=new Set();for(let _0x54ffb1=0x0;_0x54ffb1<_0x29602e[_0x486f6f(0x239)];_0x54ffb1++){if(_0x949adb[_0x486f6f(0x14f)](_0x29602e[_0x54ffb1]['id'])&&_0x29602e[_0x54ffb1][_0x486f6f(0x26e)]&&(_0x29602e[_0x54ffb1][_0x486f6f(0x203)]=!0x0),_0x29602e[_0x54ffb1][_0x486f6f(0x203)])continue;if(0x0==_0x29602e[_0x54ffb1][_0x486f6f(0x15d)])continue;if(_0x486f6f(0x1dc)!=_0x29602e[_0x54ffb1][_0x486f6f(0x15f)])continue;if(null==_0x29602e[_0x54ffb1][_0x486f6f(0x1c2)])continue;let _0x334fee=_0x54ffb1+0x1,_0x2c9378=0x0;for(;_0x29602e[_0x334fee]['id']!=_0x29602e[_0x54ffb1][_0x486f6f(0x1c2)];)_0x486f6f(0x1dc)==_0x29602e[_0x334fee][_0x486f6f(0x15f)]?_0x2c9378++:_0x486f6f(0x1ea)==_0x29602e[_0x334fee][_0x486f6f(0x15f)]&&_0x2c9378--,_0x334fee++;if(0x0!=_0x2c9378){if(_0x29602e[_0x54ffb1][_0x486f6f(0x26e)])_0x29602e[_0x54ffb1][_0x486f6f(0x203)]=!0x0;else{for(;_0x334fee!=_0x54ffb1;)_0x29602e[_0x334fee][_0x486f6f(0x26e)]&&0x0!=_0x29602e[_0x334fee][_0x486f6f(0x15d)]&&(_0x29602e[_0x334fee][_0x486f6f(0x203)]=!0x0,_0x949adb[_0x486f6f(0x14a)](_0x29602e[_0x334fee][_0x486f6f(0x1c2)])),_0x334fee--;}}}return _0x29602e[_0x486f6f(0x13c)](_0x59dbb5=>!_0x59dbb5[_0x486f6f(0x203)]);}[_0x47e872(0x176)](_0x32a727){const _0x3a1947=_0x47e872,_0x20efd1=this[_0x3a1947(0x19b)][_0x3a1947(0x190)][_0x3a1947(0x18e)];for(let _0x5a7c9c=0x0;_0x5a7c9c<_0x32a727[_0x3a1947(0x239)];_0x5a7c9c++){if(!(_0x32a727[_0x5a7c9c][_0x3a1947(0x17a)]||_0x32a727[_0x5a7c9c][_0x3a1947(0x1d9)]||_0x32a727[_0x5a7c9c][_0x3a1947(0x26e)]||_0x32a727[_0x5a7c9c][_0x3a1947(0x259)]))continue;if(0x0==_0x32a727[_0x5a7c9c][_0x3a1947(0x15d)])continue;const _0x2dffeb=_0x32a727[_0x5a7c9c][_0x3a1947(0x262)];_0x20efd1[_0x3a1947(0x1d8)](_0x2dffeb)||_0x20efd1[_0x3a1947(0x1df)](_0x2dffeb)||(_0x32a727[_0x5a7c9c][_0x3a1947(0x17a)]&&delete _0x32a727[_0x5a7c9c][_0x3a1947(0x17a)],_0x32a727[_0x5a7c9c][_0x3a1947(0x1d9)]&&delete _0x32a727[_0x5a7c9c][_0x3a1947(0x1d9)],_0x32a727[_0x5a7c9c][_0x3a1947(0x259)]&&delete _0x32a727[_0x5a7c9c][_0x3a1947(0x259)],_0x32a727[_0x5a7c9c][_0x3a1947(0x26e)]&&(_0x32a727[_0x5a7c9c][_0x3a1947(0x203)]=!0x0));}return _0x32a727[_0x3a1947(0x13c)](_0x260add=>!_0x260add[_0x3a1947(0x203)]);}[_0x47e872(0x1ed)](_0x1543fe,_0x543cb5,_0x5e3dc5){const _0x1c2985=_0x47e872,_0x2eea7e=new _0xfcf56f(),_0x5e2ce3=[],_0x4d0257=new Map(),_0x52585b=this[_0x1c2985(0x19b)][_0x1c2985(0x190)],_0x4089ae=_0x52585b[_0x1c2985(0x18e)],_0x3fdad6=[_0x2eea7e],_0x1af94f={},_0x225d18={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x264e84=null;const _0x214c95=[0x0];for(let _0x14616f=0x0;_0x14616f<_0x1543fe[_0x1c2985(0x239)];_0x14616f++)if(_0x1c2985(0x1dc)===_0x1543fe[_0x14616f][_0x1c2985(0x15f)]){_0x1543fe[_0x14616f][_0x1c2985(0x1f8)]=_0x52585b[_0x1c2985(0x19e)](_0x2eea7e,_0x214c95);const _0x51ab62=new _0x1ff371(_0x1543fe[_0x14616f][_0x1c2985(0x262)][_0x1c2985(0x1ac)],_0x1543fe[_0x14616f][_0x1c2985(0x262)][_0x1c2985(0x21d)]());_0x3fdad6[0x0][_0x1c2985(0x215)](_0x51ab62),_0x214c95[_0x1c2985(0x155)](0x0),_0x3fdad6[_0x1c2985(0x266)](_0x51ab62),_0x1543fe[_0x14616f][_0x1c2985(0x1ec)]=_0x52585b[_0x1c2985(0x19e)](_0x2eea7e,_0x214c95);}else _0x1c2985(0x1ea)===_0x1543fe[_0x14616f][_0x1c2985(0x15f)]?(_0x3fdad6[_0x1c2985(0x23a)](),_0x1543fe[_0x14616f][_0x1c2985(0x1f8)]=_0x52585b[_0x1c2985(0x19e)](_0x2eea7e,_0x214c95),_0x214c95[_0x1c2985(0x19a)](),_0x214c95[_0x214c95[_0x1c2985(0x239)]-0x1]++,_0x1543fe[_0x14616f][_0x1c2985(0x1ec)]=_0x52585b[_0x1c2985(0x19e)](_0x2eea7e,_0x214c95)):(_0x1543fe[_0x14616f][_0x1c2985(0x1f8)]=_0x52585b[_0x1c2985(0x19e)](_0x2eea7e,_0x214c95),_0x264e84?_0x264e84[_0x1c2985(0x148)]+=_0x1543fe[_0x14616f][_0x1c2985(0x262)][_0x1c2985(0x1ad)]:_0x264e84=new _0x53a96f(_0x1543fe[_0x14616f][_0x1c2985(0x262)][_0x1c2985(0x1ad)],_0x1543fe[_0x14616f][_0x1c2985(0x262)][_0x1c2985(0x21d)]()),_0x1543fe[_0x14616f+0x1]&&_0x1c2985(0x217)===_0x1543fe[_0x14616f+0x1][_0x1c2985(0x15f)]&&_0x381392(_0x264e84,_0x1543fe[_0x14616f+0x1][_0x1c2985(0x262)])||(_0x3fdad6[0x0][_0x1c2985(0x215)](_0x264e84),_0x264e84=null),_0x214c95[_0x214c95[_0x1c2985(0x239)]-0x1]+=_0x1543fe[_0x14616f][_0x1c2985(0x262)][_0x1c2985(0x14c)],_0x1543fe[_0x14616f][_0x1c2985(0x1ec)]=_0x52585b[_0x1c2985(0x19e)](_0x2eea7e,_0x214c95));for(let _0x26e403=0x0;_0x26e403<_0x1543fe[_0x1c2985(0x239)];_0x26e403++){const _0x5b6560=_0x1543fe[_0x26e403][_0x1c2985(0x1f8)],_0x567598=_0x1543fe[_0x26e403][_0x1c2985(0x1ec)];for(const _0x1da70d of _0x1543fe[_0x26e403][_0x1c2985(0x159)])_0x4d0257[_0x1c2985(0x20e)](_0x1da70d,{'start':_0x5b6560,'end':null});_0x15b367(_0x1c2985(0x259),_0x26e403,_0x5b6560,_0x567598),_0x15b367(_0x1c2985(0x1d9),_0x26e403,_0x5b6560,_0x567598),_0x15b367(_0x1c2985(0x26e),_0x26e403,_0x5b6560,_0x567598),_0x15b367(_0x1c2985(0x17a),_0x26e403,_0x5b6560,_0x567598);for(const _0x487374 of _0x1543fe[_0x26e403][_0x1c2985(0x17d)]){const _0xf44ded=_0x4d0257[_0x1c2985(0x162)](_0x487374);_0xf44ded?_0xf44ded[_0x1c2985(0x154)]=_0x567598:_0x4d0257[_0x1c2985(0x20e)](_0x487374,{'start':_0x567598,'end':_0x567598});}}for(const [_0x109843,_0x70c3bc]of _0x4d0257){const _0x11ecc6=this[_0x1c2985(0x19b)][_0x1c2985(0x190)][_0x1c2985(0x263)](_0x70c3bc[_0x1c2985(0x161)],_0x70c3bc[_0x1c2985(0x154)]);_0x2eea7e[_0x1c2985(0x21a)][_0x1c2985(0x20e)](_0x109843,_0x11ecc6);}return _0x5e2ce3[_0x1c2985(0x1b9)]((_0x176d87,_0x3b1933)=>{const _0x38d0df=_0x1c2985,_0x50a3a4=_0x2eea7e[_0x38d0df(0x21a)][_0x38d0df(0x162)](_0x38d0df(0x276)+_0x176d87['id']),_0x228db7=_0x2eea7e[_0x38d0df(0x21a)][_0x38d0df(0x162)](_0x38d0df(0x276)+_0x3b1933['id']);return _0x50a3a4[_0x38d0df(0x161)][_0x38d0df(0x197)](_0x228db7[_0x38d0df(0x161)])?-0x1:_0x50a3a4[_0x38d0df(0x161)][_0x38d0df(0x223)](_0x228db7[_0x38d0df(0x161)])?0x1:_0x50a3a4[_0x38d0df(0x154)][_0x38d0df(0x197)](_0x228db7[_0x38d0df(0x154)])?-0x1:_0x50a3a4[_0x38d0df(0x154)][_0x38d0df(0x223)](_0x228db7[_0x38d0df(0x154)])?0x1:_0x38d0df(0x14a)===_0x176d87[_0x38d0df(0x15f)]?-0x1:0x1;}),{'root':_0x2eea7e,'changes':_0x5e2ce3};function _0x15b367(_0x4bc2a3,_0x312db4,_0xc271a9,_0x3215c3){const _0x28730d=_0x1c2985,_0x3fdc6b=!!_0x1543fe[_0x312db4][_0x4bc2a3],_0x52a780=_0x3fdc6b?_0x1543fe[_0x312db4][_0x4bc2a3][_0x28730d(0x1d0)]:null,_0x2ee792=_0x312db4===_0x1543fe[_0x28730d(0x239)]-0x1,_0x330aba=_0x225d18[_0x4bc2a3][0x0],_0x5f2c91=_0x4089ae[_0x28730d(0x1ab)](_0x1543fe[_0x312db4][_0x28730d(0x262)]);!_0x1af94f[_0x4bc2a3]&&_0x3fdc6b?_0x1af94f[_0x4bc2a3]={'start':_0xc271a9,'tapeItem':_0x1543fe[_0x312db4],'userId':_0x52a780,'type':_0x4bc2a3}:_0x1af94f[_0x4bc2a3]&&!_0x3fdc6b?(_0x1af94f[_0x4bc2a3][_0x28730d(0x154)]=_0xc271a9,_0x201101(_0x1af94f[_0x4bc2a3]),_0x1af94f[_0x4bc2a3]=null):_0x1af94f[_0x4bc2a3]&&_0x3fdc6b&&_0x1af94f[_0x4bc2a3][_0x28730d(0x1d0)]!==_0x52a780&&(_0x1af94f[_0x4bc2a3][_0x28730d(0x154)]=_0xc271a9,_0x330aba&&_0x330aba[_0x28730d(0x1d0)]===_0x1af94f[_0x4bc2a3][_0x28730d(0x1d0)]||_0x201101(_0x1af94f[_0x4bc2a3]),_0x1af94f[_0x4bc2a3]={'start':_0xc271a9,'tapeItem':_0x1543fe[_0x312db4],'userId':_0x52a780,'type':_0x4bc2a3}),_0x1af94f[_0x4bc2a3]&&_0x5f2c91&&(_0x28730d(0x1dc)!==_0x1543fe[_0x312db4][_0x28730d(0x15f)]||_0x330aba&&_0x330aba[_0x28730d(0x1d0)]===_0x52a780||_0x225d18[_0x4bc2a3][_0x28730d(0x266)]({'userId':_0x52a780,'object':_0x1543fe[_0x312db4][_0x28730d(0x262)],'change':_0x1af94f[_0x4bc2a3]}),_0x28730d(0x1ea)===_0x1543fe[_0x312db4][_0x28730d(0x15f)]&&_0x330aba&&_0x330aba[_0x28730d(0x1ba)]===_0x1543fe[_0x312db4][_0x28730d(0x262)]&&(_0x225d18[_0x4bc2a3][_0x28730d(0x23a)](),_0x1af94f[_0x4bc2a3]=_0x330aba[_0x28730d(0x150)])),_0x1af94f[_0x4bc2a3]&&_0x2ee792&&(_0x1af94f[_0x4bc2a3][_0x28730d(0x154)]=_0x3215c3,_0x201101(_0x1af94f[_0x4bc2a3]),_0x1af94f[_0x4bc2a3]=null);}function _0x201101({start:_0x3dfe96,end:_0x3a9a20,tapeItem:_0x3063f7,userId:_0x4afc78,type:_0x5f093e}){const _0xd4cc01=_0x1c2985,_0x13fd29=_0x3063f7[_0xd4cc01(0x262)],_0x17b04b=_0x52585b[_0xd4cc01(0x18e)][_0xd4cc01(0x1d8)](_0x13fd29)&&!_0x52585b[_0xd4cc01(0x18e)][_0xd4cc01(0x1df)](_0x13fd29),_0x3b6e8f=_0x3dfe96[_0xd4cc01(0x278)]==_0x3a9a20[_0xd4cc01(0x27f)]&&_0x3a9a20[_0xd4cc01(0x17c)];if(_0x17b04b&&_0x3b6e8f)return;const _0x5d0b21=_0x52585b[_0xd4cc01(0x263)](_0x3dfe96,_0x3a9a20),_0x25c477=_0x543cb5[_0xd4cc01(0x162)](_0x4afc78),_0x38c9b2=new _0x1aba03({'author':_0x25c477,'type':_0xd4cc01(0x17a)==_0x5f093e||_0xd4cc01(0x1d9)==_0x5f093e?_0xd4cc01(0x14a):_0xd4cc01(0x25c),'data':{'isSuggestion':_0xd4cc01(0x1d9)==_0x5f093e||_0xd4cc01(0x259)==_0x5f093e},'createdAt':new Date(),'rootName':_0x5e3dc5});_0x5e2ce3[_0xd4cc01(0x155)](_0x38c9b2),_0x2eea7e[_0xd4cc01(0x21a)][_0xd4cc01(0x20e)](_0xd4cc01(0x276)+_0x38c9b2['id'],_0x5d0b21);}function _0x381392(_0xc2345e,_0x411728){const _0x52d80c=_0x1c2985,_0x3fdf47=_0xc2345e[_0x52d80c(0x21d)](),_0x1f7ae0=_0x411728[_0x52d80c(0x21d)]();for(const _0x435c0c of _0x3fdf47){if(_0x435c0c[0x1]!==_0x411728[_0x52d80c(0x24d)](_0x435c0c[0x0]))return!0x1;_0x1f7ae0[_0x52d80c(0x249)]();}return _0x1f7ae0[_0x52d80c(0x249)]()[_0x52d80c(0x272)];}}[_0x47e872(0x26b)](){const _0x387e7a=_0x47e872;this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x1b0))[_0x387e7a(0x15e)]({'view':_0x387e7a(0x153)}),this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x1d6))[_0x387e7a(0x27b)]({'model':_0x387e7a(0x153),'view':_0x594dee=>{const _0x165826=_0x387e7a,_0x4e16d7=_0x594dee[_0x165826(0x19d)][_0x165826(0x158)](':')[0x1],_0x4f0a25=this[_0x165826(0x167)](_0x4e16d7);if(!_0x4f0a25)return null;const _0x2266c3=_0x165826(0x14a)==_0x4f0a25[_0x165826(0x15f)]?_0x165826(0x157):_0x165826(0x1f6),_0x2eac99=[_0x165826(0x17f),_0x165826(0x204)+_0x2266c3];return _0x4f0a25[_0x165826(0x1ad)][_0x165826(0x213)]&&_0x2eac99[_0x165826(0x155)](_0x165826(0x204)+_0x2266c3+_0x165826(0x16d)),this[_0x165826(0x146)]==_0x4f0a25&&_0x2eac99[_0x165826(0x155)](_0x165826(0x1a5)),{'classes':_0x2eac99,'attributes':{'data-change-id':_0x4e16d7}};}}),this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x1b0))[_0x387e7a(0x14a)](_0x9b0f27=>{const _0x4cfc4c=_0x387e7a;_0x9b0f27['on'](_0x4cfc4c(0x23d),(_0x5df59d,_0x595810,_0x17a9ef)=>{const _0x43e4f9=_0x4cfc4c,_0x38fdd6=_0x595810[_0x43e4f9(0x224)][_0x43e4f9(0x252)](0x0);if(!_0x38fdd6||!_0x38fdd6['is'](_0x43e4f9(0x268),_0x43e4f9(0x238)))return;if(!_0x17a9ef[_0x43e4f9(0x220)][_0x43e4f9(0x257)](_0x38fdd6,{'attributes':[_0x43e4f9(0x1b7),_0x43e4f9(0x234)]}))return;const _0x42983a=_0x595810[_0x43e4f9(0x26f)][_0x43e4f9(0x161)][_0x43e4f9(0x278)];_0x17a9ef[_0x43e4f9(0x170)][_0x43e4f9(0x1c7)](_0x43e4f9(0x1b7),_0x38fdd6[_0x43e4f9(0x24d)](_0x43e4f9(0x1b7)),_0x42983a),_0x17a9ef[_0x43e4f9(0x170)][_0x43e4f9(0x1c7)](_0x43e4f9(0x234),_0x38fdd6[_0x43e4f9(0x24d)](_0x43e4f9(0x234)),_0x42983a);},{'priority':_0x4cfc4c(0x156)});}),this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x1b0))[_0x387e7a(0x14a)](_0x5ef5e4=>{const _0x1c27c5=_0x387e7a;_0x5ef5e4['on'](_0x1c27c5(0x268),(_0x456f2c,_0x6286cf,_0x72d75c)=>{const _0x3223cb=_0x1c27c5;if(!_0x72d75c[_0x3223cb(0x220)][_0x3223cb(0x257)](_0x6286cf[_0x3223cb(0x224)],{'attributes':[_0x3223cb(0x1b7),_0x3223cb(0x234)]}))return;if(_0x6286cf[_0x3223cb(0x26f)][_0x3223cb(0x1bb)])return;const _0x3784f2=_0x6286cf[_0x3223cb(0x26f)][_0x3223cb(0x161)][_0x3223cb(0x278)];_0x3784f2[_0x3223cb(0x258)](_0x3223cb(0x1b7))||_0x3784f2[_0x3223cb(0x258)](_0x3223cb(0x1d7))||(_0x72d75c[_0x3223cb(0x170)][_0x3223cb(0x1c7)](_0x3223cb(0x1b7),_0x6286cf[_0x3223cb(0x224)][_0x3223cb(0x24d)](_0x3223cb(0x1b7)),_0x3784f2),_0x72d75c[_0x3223cb(0x170)][_0x3223cb(0x1c7)](_0x3223cb(0x234),_0x6286cf[_0x3223cb(0x224)][_0x3223cb(0x24d)](_0x3223cb(0x234)),_0x3784f2));},{'priority':_0x1c27c5(0x156)});}),this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x1b0))[_0x387e7a(0x160)]({'view':{'name':_0x387e7a(0x23e),'attributes':{'vid':!0x0}},'model':{'key':_0x387e7a(0x1d7),'value':_0x4c8404=>_0x4c8404[_0x387e7a(0x24d)](_0x387e7a(0x1d7))}}),this[_0x387e7a(0x19b)][_0x387e7a(0x190)][_0x387e7a(0x18e)]['on'](_0x387e7a(0x20d),(_0x3c0f6b,[,_0x2fdcbe])=>{const _0x58b3ab=_0x387e7a;[_0x58b3ab(0x1b7),_0x58b3ab(0x234),_0x58b3ab(0x1d7)][_0x58b3ab(0x200)](_0x2fdcbe)&&(_0x3c0f6b[_0x58b3ab(0x269)]=!0x0,_0x3c0f6b[_0x58b3ab(0x16c)]());},{'priority':_0x387e7a(0x166)}),this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x26d))[_0x387e7a(0x14a)](_0x47f314=>{const _0x569583=_0x387e7a;_0x47f314['on'](_0x569583(0x1cc),(_0x2d9b71,_0x50bd90,_0x200254)=>{const _0x439620=_0x569583;if('\x20'!=_0x50bd90[_0x439620(0x262)][_0x439620(0x1ad)]||_0x50bd90[_0x439620(0x262)][_0x439620(0x27f)][_0x439620(0x1f5)]>0x1)return;if(!_0x200254[_0x439620(0x220)][_0x439620(0x257)](_0x50bd90[_0x439620(0x262)],_0x2d9b71[_0x439620(0x1ac)]))return;const _0x380bfd=_0x200254[_0x439620(0x170)],_0x2d0a95=_0x200254[_0x439620(0x233)][_0x439620(0x1a8)](_0x50bd90[_0x439620(0x21c)]);_0x380bfd[_0x439620(0x1a1)](_0x2d0a95,_0x380bfd[_0x439620(0x231)](_0x439620(0x23e)));});}),this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x26d))[_0x387e7a(0x15a)]({'model':_0x387e7a(0x153)}),this[_0x387e7a(0x19b)][_0x387e7a(0x1b2)][_0x387e7a(0x187)]['on'](_0x387e7a(0x191),function(_0xc2ea77){const _0x45212f=_0x387e7a,_0x12371a=_0xc2ea77[_0x45212f(0x229)][_0x45212f(0x162)](_0x45212f(0x241));return(_0x21b8e2,_0x42c099,_0x3289b5)=>{const _0xb6b3db=_0x45212f,_0x219337=_0x42c099[_0xb6b3db(0x19d)][_0xb6b3db(0x158)](':')[0x1],_0x554c88=_0x12371a[_0xb6b3db(0x167)](_0x219337);if(!_0x554c88)return null;const _0x546dc9=_0xb6b3db(0x14a)==_0x554c88[_0xb6b3db(0x15f)]?_0xb6b3db(0x158):_0xb6b3db(0x15c);if(!_0x3289b5[_0xb6b3db(0x220)][_0xb6b3db(0x188)](_0x42c099[_0xb6b3db(0x1a2)],_0x21b8e2[_0xb6b3db(0x1ac)]))return;const _0x2bae70=_0x42c099[_0xb6b3db(0x1a2)][_0xb6b3db(0x18a)](),_0x1ea1e6=_0x42c099[_0xb6b3db(0x1a2)][_0xb6b3db(0x161)],_0x3b8b86=_0xc2ea77[_0xb6b3db(0x190)][_0xb6b3db(0x18e)];let _0x2a365f=null,_0x3b711d=null,_0x43b835=!0x1,_0x4ba31a=!0x1;for(const _0x587ff3 of _0x2bae70){const _0x5becbe=_0x587ff3[_0xb6b3db(0x262)];_0x43b835=_0x43b835||_0x3b8b86[_0xb6b3db(0x24f)](_0x5becbe);const _0x32ec46=_0x3289b5[_0xb6b3db(0x233)][_0xb6b3db(0x202)](_0x5becbe);if(_0x32ec46&&_0x32ec46[_0xb6b3db(0x19f)](_0xb6b3db(0x180)))return;_0xb6b3db(0x1ea)==_0x587ff3[_0xb6b3db(0x15f)]&&(_0x3b8b86[_0xb6b3db(0x1d8)](_0x5becbe)&&!_0x3b8b86[_0xb6b3db(0x1df)](_0x5becbe)&&(_0x5becbe[_0xb6b3db(0x1f3)]||_0x1ea1e6[_0xb6b3db(0x1c0)]?_0x2a365f&&_0x2a365f[_0xb6b3db(0x27f)]==_0x5becbe||(_0x2a365f=_0x5becbe,_0x4b1d32(_0x587ff3[_0xb6b3db(0x1f8)]),_0x4ba31a=!0x0):_0x3b711d=_0x3b711d||_0x587ff3[_0xb6b3db(0x1f8)]));}function _0x4b1d32(_0x554733){const _0x1c4073=_0xb6b3db,_0x169bd9=_0x3289b5[_0x1c4073(0x170)][_0x1c4073(0x1c6)](_0x1c4073(0x23e),{'class':_0x1c4073(0x204)+_0x546dc9}),_0x24c65b=_0x3289b5[_0x1c4073(0x233)][_0x1c4073(0x1cd)](_0x554733);_0x554c88[_0x1c4073(0x1ad)][_0x1c4073(0x213)]&&_0x3289b5[_0x1c4073(0x170)][_0x1c4073(0x1ee)](_0x1c4073(0x204)+_0x546dc9+_0x1c4073(0x16d),_0x169bd9),_0x12371a[_0x1c4073(0x146)]==_0x554c88&&_0x3289b5[_0x1c4073(0x170)][_0x1c4073(0x1ee)](_0x1c4073(0x1a5),_0x169bd9),_0x3289b5[_0x1c4073(0x170)][_0x1c4073(0x1b3)](_0x24c65b,_0x169bd9),_0x3289b5[_0x1c4073(0x233)][_0x1c4073(0x1f2)](_0x169bd9,_0x42c099[_0x1c4073(0x19d)]);}_0x43b835||_0x4ba31a||!_0x3b711d||_0x4b1d32(_0x3b711d);};}(this[_0x387e7a(0x19b)]),{'priority':_0x387e7a(0x1d3)}),this[_0x387e7a(0x19b)][_0x387e7a(0x1b2)][_0x387e7a(0x187)]['on'](_0x387e7a(0x280),(_0x5dbb96,_0x333221,_0x558325)=>{const _0x167060=_0x387e7a,_0x499cdb=_0x558325[_0x167060(0x233)][_0x167060(0x22d)](_0x333221[_0x167060(0x19d)]);if(_0x499cdb){for(const _0x32ecf2 of _0x499cdb)(_0x32ecf2[_0x167060(0x193)](_0x167060(0x13d))||_0x32ecf2[_0x167060(0x193)](_0x167060(0x265)))&&(_0x558325[_0x167060(0x233)][_0x167060(0x171)](_0x32ecf2,_0x333221[_0x167060(0x19d)]),_0x558325[_0x167060(0x170)][_0x167060(0x25c)](_0x32ecf2));}},{'priority':_0x387e7a(0x1d3)}),this[_0x387e7a(0x19b)][_0x387e7a(0x1b2)][_0x387e7a(0x187)]['on'](_0x387e7a(0x191),(_0x6f7388,_0x5d5aba,_0x74137e)=>{const _0x506b02=_0x387e7a,_0x38ca7a=_0x5d5aba[_0x506b02(0x19d)][_0x506b02(0x158)](':')[0x1],_0x52b810=this[_0x506b02(0x167)](_0x38ca7a);if(!_0x52b810)return null;const _0x51ab3f=_0x506b02(0x14a)==_0x52b810[_0x506b02(0x15f)]?_0x506b02(0x158):_0x506b02(0x15c);if(_0x74137e[_0x506b02(0x220)][_0x506b02(0x188)](_0x5d5aba[_0x506b02(0x1a2)],_0x6f7388[_0x506b02(0x1ac)]))for(const _0x288e47 of _0x5d5aba[_0x506b02(0x1a2)][_0x506b02(0x18c)]()){if(!_0x288e47['is'](_0x506b02(0x268),_0x506b02(0x1f7)))continue;const _0x110373=_0x74137e[_0x506b02(0x170)][_0x506b02(0x1c6)](_0x506b02(0x23e),{'class':_0x506b02(0x204)+_0x51ab3f}),_0x3e9278=_0x74137e[_0x506b02(0x233)][_0x506b02(0x1cd)](this[_0x506b02(0x19b)][_0x506b02(0x190)][_0x506b02(0x145)](_0x288e47));_0x52b810[_0x506b02(0x1ad)][_0x506b02(0x213)]&&_0x74137e[_0x506b02(0x170)][_0x506b02(0x1ee)](_0x506b02(0x204)+_0x51ab3f+_0x506b02(0x16d),_0x110373),this[_0x506b02(0x146)]==_0x52b810&&_0x74137e[_0x506b02(0x170)][_0x506b02(0x1ee)](_0x506b02(0x1a5),_0x110373),_0x74137e[_0x506b02(0x170)][_0x506b02(0x1b3)](_0x3e9278,_0x110373),_0x74137e[_0x506b02(0x233)][_0x506b02(0x1f2)](_0x110373,_0x5d5aba[_0x506b02(0x19d)]);}},{'priority':_0x387e7a(0x1d3)}),this[_0x387e7a(0x19b)][_0x387e7a(0x190)][_0x387e7a(0x1de)]['on'](_0x387e7a(0x150),()=>{const _0x266376=_0x387e7a;this[_0x266376(0x19b)][_0x266376(0x1b2)][_0x266376(0x244)][_0x266376(0x150)](_0x4cea57=>{const _0x4b8282=_0x266376;for(const _0x2db126 of this[_0x4b8282(0x19b)][_0x4b8282(0x190)][_0x4b8282(0x1de)][_0x4b8282(0x1cb)]()){const _0x17d5a0=this[_0x4b8282(0x19b)][_0x4b8282(0x190)][_0x4b8282(0x1de)][_0x4b8282(0x20b)](_0x2db126),_0x2e4464=this[_0x4b8282(0x19b)][_0x4b8282(0x1b2)][_0x4b8282(0x244)][_0x4b8282(0x1de)][_0x4b8282(0x20b)](_0x2db126);if(_0x2e4464){const _0x366d3b=_0x17d5a0[_0x4b8282(0x24d)](_0x4b8282(0x182));if(_0x4cea57[_0x4b8282(0x169)](_0x4b8282(0x27d),_0x2e4464),_0x4cea57[_0x4b8282(0x1fc)](_0x4b8282(0x27a),_0x2e4464),_0x4cea57[_0x4b8282(0x1fc)](_0x4b8282(0x1b5),_0x2e4464),_0x4cea57[_0x4b8282(0x1fc)](_0x4b8282(0x172),_0x2e4464),_0x366d3b){const _0x3b6110=this[_0x4b8282(0x167)](_0x366d3b);if(!_0x3b6110)return null;_0x4cea57[_0x4b8282(0x1c7)](_0x4b8282(0x27d),_0x366d3b,_0x2e4464),_0x4cea57[_0x4b8282(0x1ee)](_0x4b8282(0x144)+_0x3b6110[_0x4b8282(0x15f)],_0x2e4464),this[_0x4b8282(0x146)]==_0x3b6110&&_0x4cea57[_0x4b8282(0x1ee)](_0x4b8282(0x172),_0x2e4464);}}}});}),this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x1b0))[_0x387e7a(0x15e)]({'view':_0x387e7a(0x1b6),'model':_0x503307=>_0x387e7a(0x1c8)+_0x503307,'converterPriority':_0x387e7a(0x166)}),this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x1b0))[_0x387e7a(0x15e)]({'view':_0x387e7a(0x16e),'model':_0xc9a827=>_0x387e7a(0x1d4)+_0xc9a827,'converterPriority':_0x387e7a(0x166)}),this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x26d))[_0x387e7a(0x15a)]({'model':_0x387e7a(0x264),'view':_0x50fc28=>({'name':_0x387e7a(0x23f)+_0x50fc28,'group':_0x387e7a(0x264)}),'converterPriority':_0x387e7a(0x166)}),this[_0x387e7a(0x19b)][_0x387e7a(0x22f)][_0x387e7a(0x25f)](_0x387e7a(0x1d6))[_0x387e7a(0x27b)]({'model':_0x387e7a(0x264),'view':_0x4adcf3=>{const _0x14288c=_0x387e7a,_0x138ac1=_0x4adcf3[_0x14288c(0x19d)][_0x14288c(0x158)](':')[0x1];return _0x14288c(0x157)!=_0x138ac1&&_0x14288c(0x1f6)!=_0x138ac1?null:{'classes':[_0x14288c(0x245),_0x14288c(0x26c)+_0x138ac1]};}}),this[_0x387e7a(0x19b)][_0x387e7a(0x1b2)][_0x387e7a(0x187)]['on'](_0x387e7a(0x1aa),Q(this[_0x387e7a(0x19b)],_0x387e7a(0x15c)),{'priority':_0x387e7a(0x1d3)}),this[_0x387e7a(0x19b)][_0x387e7a(0x1b2)][_0x387e7a(0x187)]['on'](_0x387e7a(0x1ca),Q(this[_0x387e7a(0x19b)],_0x387e7a(0x158)),{'priority':_0x387e7a(0x1d3)}),this[_0x387e7a(0x19b)][_0x387e7a(0x1b2)][_0x387e7a(0x187)]['on'](_0x387e7a(0x1bf),(_0x31067b,_0x37311b,_0x3ecca5)=>{const _0x5dd475=_0x387e7a,_0x44a984=_0x3ecca5[_0x5dd475(0x233)][_0x5dd475(0x22d)](_0x37311b[_0x5dd475(0x19d)]);if(_0x44a984){for(const _0x51e551 of _0x44a984)_0x51e551['is'](_0x5dd475(0x1a9))&&(_0x3ecca5[_0x5dd475(0x233)][_0x5dd475(0x171)](_0x51e551,_0x37311b[_0x5dd475(0x19d)]),_0x3ecca5[_0x5dd475(0x170)][_0x5dd475(0x25c)](_0x51e551));}},{'priority':_0x387e7a(0x1d3)});}[_0x47e872(0x167)](_0x5bf9fd){const _0x3e5398=_0x47e872;return this[_0x3e5398(0x21e)][_0x3e5398(0x162)](_0x5bf9fd);}[_0x47e872(0x26a)](_0x5a4ed0){const _0x488a19=_0x47e872;return this[_0x488a19(0x1da)]&&this[_0x488a19(0x1da)][_0x488a19(0x255)](),this[_0x488a19(0x1da)]=new _0x326cf7(this[_0x488a19(0x19b)][_0x488a19(0x23c)],_0x5a4ed0),this[_0x488a19(0x1da)];}[_0x47e872(0x277)](){const _0x372954=_0x47e872;this[_0x372954(0x19b)][_0x372954(0x190)][_0x372954(0x1de)][_0x372954(0x13f)][_0x372954(0x27c)](_0x372954(0x153)),this['on'](_0x372954(0x214),(_0x30c085,_0x1ef2a1,_0x26c34f,_0x5df500)=>{const _0x2adb83=_0x372954;_0x5df500&&this[_0x2adb83(0x141)][_0x2adb83(0x25c)](_0x5df500),_0x26c34f&&(this[_0x2adb83(0x141)][_0x2adb83(0x14a)]({'view':_0x26c34f,'stackId':_0x2adb83(0x194),'position':{'target':()=>{const _0x4b5360=_0x2adb83,_0x8a2f2a=this[_0x4b5360(0x19b)][_0x4b5360(0x1b2)],_0x3039ad=this[_0x4b5360(0x167)](_0x26c34f[_0x4b5360(0x23b)]);let _0x23f09c;if(_0x3039ad[_0x4b5360(0x1ad)][_0x4b5360(0x1ef)]){const _0x222606=_0x8a2f2a[_0x4b5360(0x244)][_0x4b5360(0x181)](_0x3039ad[_0x4b5360(0x1e8)]);_0x23f09c=Array[_0x4b5360(0x13e)](_0x222606[_0x4b5360(0x140)]());}else{const _0x1d2235=this[_0x4b5360(0x19b)][_0x4b5360(0x190)][_0x4b5360(0x21a)][_0x4b5360(0x162)](_0x4b5360(0x276)+_0x26c34f[_0x4b5360(0x23b)]);_0x23f09c=Array[_0x4b5360(0x13e)](_0x8a2f2a[_0x4b5360(0x233)][_0x4b5360(0x22d)](_0x1d2235[_0x4b5360(0x1ac)]))[_0x4b5360(0x177)](_0x190e59=>_0x8a2f2a[_0x4b5360(0x244)][_0x4b5360(0x198)][_0x4b5360(0x175)](_0x190e59))[_0x4b5360(0x177)](_0x3168bd=>Array[_0x4b5360(0x13e)](_0x3168bd[_0x4b5360(0x140)]()))[_0x4b5360(0x1cf)]();}if(!this[_0x4b5360(0x1e3)])return _0x23f09c[0x0];return _0x23f09c[_0x4b5360(0x27e)](_0x1cdef4=>_0x1cdef4[_0x4b5360(0x142)]-0x3<=this[_0x4b5360(0x1e3)]['y']&&_0x1cdef4[_0x4b5360(0x1ae)]+0x3>=this[_0x4b5360(0x1e3)]['y']&&_0x1cdef4[_0x4b5360(0x19c)]-0x3<=this[_0x4b5360(0x1e3)]['x']&&_0x1cdef4[_0x4b5360(0x152)]+0x3>=this[_0x4b5360(0x1e3)]['x'])||_0x23f09c[0x0];}}}),this[_0x2adb83(0x141)][_0x2adb83(0x232)](_0x2adb83(0x194)));}),this['on'](_0x372954(0x1e9),(_0x415076,_0x14896d,_0x20ce1e,_0x1fa8ea)=>{const _0x4110a3=_0x372954;this[_0x4110a3(0x250)]=_0x20ce1e?this[_0x4110a3(0x26a)](_0x20ce1e):null,this[_0x4110a3(0x19b)][_0x4110a3(0x190)][_0x4110a3(0x150)](()=>{const _0x3b2c44=_0x4110a3,_0x492fc6=this[_0x3b2c44(0x19b)][_0x3b2c44(0x1b2)];_0x1fa8ea&&(_0x1fa8ea[_0x3b2c44(0x1ad)][_0x3b2c44(0x1ef)]?_0x492fc6[_0x3b2c44(0x244)][_0x3b2c44(0x150)](_0x362d94=>{const _0x89ec57=_0x3b2c44;_0x362d94[_0x89ec57(0x1fc)](_0x89ec57(0x172),_0x492fc6[_0x89ec57(0x244)][_0x89ec57(0x1de)][_0x89ec57(0x20b)](_0x1fa8ea[_0x89ec57(0x1e8)]));}):_0x492fc6[_0x3b2c44(0x25e)](_0x3b2c44(0x276)+_0x1fa8ea['id'])),_0x20ce1e&&(_0x20ce1e[_0x3b2c44(0x1ad)][_0x3b2c44(0x1ef)]?_0x492fc6[_0x3b2c44(0x244)][_0x3b2c44(0x150)](_0x13480d=>{const _0x406195=_0x3b2c44;_0x13480d[_0x406195(0x1ee)](_0x406195(0x172),_0x492fc6[_0x406195(0x244)][_0x406195(0x1de)][_0x406195(0x20b)](_0x20ce1e[_0x406195(0x1e8)]));}):_0x492fc6[_0x3b2c44(0x25e)](_0x3b2c44(0x276)+_0x20ce1e['id']));});}),this[_0x372954(0x256)](this[_0x372954(0x19b)][_0x372954(0x1b2)][_0x372954(0x244)][_0x372954(0x1de)],_0x372954(0x16a),(_0x19b65a,_0x32b01a)=>{const _0x5e970c=_0x372954;if(this[_0x5e970c(0x146)])return;const _0x43eab9=this[_0x5e970c(0x1d5)](_0x32b01a[_0x5e970c(0x1fe)]),_0x3075ff=this[_0x5e970c(0x21e)][_0x5e970c(0x162)](_0x43eab9);_0x3075ff?(this[_0x5e970c(0x1e3)]={'x':_0x32b01a[_0x5e970c(0x199)]['x'],'y':_0x32b01a[_0x5e970c(0x199)]['y']},this[_0x5e970c(0x250)]=this[_0x5e970c(0x26a)](_0x3075ff)):(this[_0x5e970c(0x1e3)]=null,this[_0x5e970c(0x250)]=null);}),this[_0x372954(0x256)](this[_0x372954(0x19b)][_0x372954(0x1b2)][_0x372954(0x244)][_0x372954(0x1de)],_0x372954(0x25b),(_0x5a801f,_0x44dc60)=>{const _0x53bd3f=_0x372954,_0x5d23f9=this[_0x53bd3f(0x1d5)](_0x44dc60[_0x53bd3f(0x1fe)]),_0x122c4b=this[_0x53bd3f(0x21e)][_0x53bd3f(0x162)](_0x5d23f9);_0x122c4b?(this[_0x53bd3f(0x1e3)]={'x':_0x44dc60[_0x53bd3f(0x199)]['x'],'y':_0x44dc60[_0x53bd3f(0x199)]['y']},_0x122c4b===this[_0x53bd3f(0x146)]?this[_0x53bd3f(0x141)][_0x53bd3f(0x178)]():this[_0x53bd3f(0x146)]=_0x122c4b):(this[_0x53bd3f(0x1e3)]=null,this[_0x53bd3f(0x146)]=null);});}[_0x47e872(0x1d5)](_0x1da2fe){const _0x3409a7=_0x47e872;do{const _0x4ba7ca=_0x1da2fe[_0x3409a7(0x24d)](_0x3409a7(0x27d));if(_0x4ba7ca)return _0x4ba7ca;_0x1da2fe=_0x1da2fe[_0x3409a7(0x27f)];}while(_0x1da2fe);return null;}[_0x47e872(0x1c1)](){const _0x1cd81e=_0x47e872;this[_0x1cd81e(0x19b)][_0x1cd81e(0x190)][_0x1cd81e(0x150)](_0x48fd04=>{const _0x47e517=_0x1cd81e;for(const _0x541b49 of this[_0x47e517(0x19b)][_0x47e517(0x190)][_0x47e517(0x21a)])_0x48fd04[_0x47e517(0x227)](_0x541b49);});}}function Q(_0x4a0ffb,_0x232f55){return(_0x20a05f,_0x5dc358,_0x1ee86d)=>{const _0x355ae2=_0x4574;if(!_0x1ee86d[_0x355ae2(0x220)][_0x355ae2(0x188)](_0x5dc358[_0x355ae2(0x1a2)],_0x20a05f[_0x355ae2(0x1ac)]))return;const _0x35ccfd=_0x5dc358[_0x355ae2(0x1a2)][_0x355ae2(0x18a)](),_0x523956=_0x5dc358[_0x355ae2(0x1a2)][_0x355ae2(0x161)],_0x4c897b=_0x4a0ffb[_0x355ae2(0x190)][_0x355ae2(0x18e)];let _0x1b1bff=null,_0x4752f4=null,_0x3433a4=!0x1,_0x1950b4=!0x1;for(const _0x5e0637 of _0x35ccfd){const _0x44869a=_0x5e0637[_0x355ae2(0x262)];_0x3433a4=_0x3433a4||_0x4c897b[_0x355ae2(0x24f)](_0x44869a);const _0x3a0d56=_0x1ee86d[_0x355ae2(0x233)][_0x355ae2(0x202)](_0x44869a);if(_0x3a0d56&&_0x3a0d56[_0x355ae2(0x19f)](_0x355ae2(0x180)))return;_0x355ae2(0x1ea)==_0x5e0637[_0x355ae2(0x15f)]&&(_0x4c897b[_0x355ae2(0x1d8)](_0x44869a)&&!_0x4c897b[_0x355ae2(0x1df)](_0x44869a)&&(_0x44869a[_0x355ae2(0x1f3)]||_0x523956[_0x355ae2(0x1c0)]?_0x1b1bff&&_0x1b1bff[_0x355ae2(0x27f)]==_0x44869a||(_0x1b1bff=_0x44869a,_0x463e32(_0x5e0637[_0x355ae2(0x1f8)]),_0x1950b4=!0x0):_0x4752f4=_0x4752f4||_0x5e0637[_0x355ae2(0x1f8)]));}function _0x463e32(_0x3d007d){const _0x18295f=_0x355ae2,_0x12dec2=_0x1ee86d[_0x18295f(0x233)][_0x18295f(0x1cd)](_0x3d007d),_0x53d379=_0x1ee86d[_0x18295f(0x170)][_0x18295f(0x1c6)](_0x18295f(0x23e),{'class':_0x18295f(0x26c)+_0x232f55});_0x1ee86d[_0x18295f(0x170)][_0x18295f(0x1b3)](_0x12dec2,_0x53d379),_0x1ee86d[_0x18295f(0x233)][_0x18295f(0x1f2)](_0x53d379,_0x5dc358[_0x18295f(0x19d)]);}_0x3433a4||_0x1950b4||!_0x4752f4||_0x463e32(_0x4752f4);};}export class RestoreRevisionCommand extends _0x30b714{constructor(_0x50fff8){const _0xa22788=_0x47e872;super(_0x50fff8);const _0x5a9650=_0x50fff8[_0xa22788(0x229)][_0xa22788(0x162)](RevisionViewer);this[_0xa22788(0x147)]=!0x1,this[_0xa22788(0x256)](_0x5a9650,_0xa22788(0x14e),()=>this[_0xa22788(0x1a0)]()),this[_0xa22788(0x256)](_0x5a9650,_0xa22788(0x168),()=>this[_0xa22788(0x1a0)]());}[_0x47e872(0x237)](){const _0x4603ac=_0x47e872,_0x2eb7d0=this[_0x4603ac(0x19b)],_0x3e0aac=_0x2eb7d0[_0x4603ac(0x229)][_0x4603ac(0x162)](RevisionViewer),_0x214f44=_0x3e0aac[_0x4603ac(0x1b8)]?_0x3e0aac[_0x4603ac(0x281)][_0x4603ac(0x235)]:null;_0x2eb7d0[_0x4603ac(0x21b)][_0x4603ac(0x162)](_0x4603ac(0x184))[_0x4603ac(0x228)](_0x214f44);}[_0x47e872(0x1a0)](){const _0xb106ee=_0x47e872,{isReady:_0x24ceb9,isEnabled:_0x562785,repository:_0x4f1a13,diff:_0x2b846f}=this[_0xb106ee(0x19b)][_0xb106ee(0x229)][_0xb106ee(0x162)](RevisionViewer),_0x38c02c=_0x2b846f&&_0x4f1a13[_0xb106ee(0x189)](_0x2b846f[_0xb106ee(0x235)]);this[_0xb106ee(0x1b1)]=_0x24ceb9&&_0x562785&&Boolean(_0x38c02c);}}export class ShowChangeCommand extends _0x30b714{[_0x47e872(0x218)];constructor(_0x56359d,{direction:_0x5a5f95}){const _0xfc821f=_0x47e872;super(_0x56359d);const _0xab2fa0=_0x56359d[_0xfc821f(0x229)][_0xfc821f(0x162)](RevisionViewer);this[_0xfc821f(0x147)]=!0x1,this[_0xfc821f(0x218)]=_0xfc821f(0x1f0)===_0x5a5f95?0x1:-0x1,this[_0xfc821f(0x256)](_0xab2fa0,_0xfc821f(0x14e),()=>this[_0xfc821f(0x1a0)]()),this[_0xfc821f(0x256)](_0xab2fa0,_0xfc821f(0x168),()=>this[_0xfc821f(0x1a0)]()),this[_0xfc821f(0x256)](_0xab2fa0,_0xfc821f(0x1e9),()=>this[_0xfc821f(0x1a0)]());}[_0x47e872(0x237)](){const _0x1cd1b8=_0x47e872,_0x20c736=this[_0x1cd1b8(0x19b)],_0x42b662=_0x20c736[_0x1cd1b8(0x229)][_0x1cd1b8(0x162)](RevisionViewer),{isNavigationMode:_0x36c75b,currentChangeNumber:_0x47eab3}=_0x42b662;let _0x3c5cef;if(_0x42b662[_0x1cd1b8(0x146)]=_0x36c75b?_0x42b662[_0x1cd1b8(0x281)][_0x1cd1b8(0x219)][_0x1cd1b8(0x162)](_0x47eab3+this[_0x1cd1b8(0x218)]):_0x42b662[_0x1cd1b8(0x281)][_0x1cd1b8(0x219)][_0x1cd1b8(0x236)],_0x42b662[_0x1cd1b8(0x146)][_0x1cd1b8(0x1ad)][_0x1cd1b8(0x1ef)])_0x3c5cef=_0x20c736[_0x1cd1b8(0x1b2)][_0x1cd1b8(0x244)][_0x1cd1b8(0x181)](_0x42b662[_0x1cd1b8(0x146)][_0x1cd1b8(0x1e8)]);else{const _0x32392d=_0x20c736[_0x1cd1b8(0x190)][_0x1cd1b8(0x21a)][_0x1cd1b8(0x162)](_0x1cd1b8(0x276)+_0x42b662[_0x1cd1b8(0x146)]['id']);_0x3c5cef=_0x3b1f48(_0x20c736[_0x1cd1b8(0x1b2)],_0x32392d);}_0x3a320e({'target':_0x3c5cef,'viewportOffset':0x28});}[_0x47e872(0x1a0)](){const _0x2f1588=_0x47e872,{isNavigationMode:_0x677fcf,currentChangeNumber:_0x22f15b,numberOfChanges:_0x40553a,isReady:_0x47948b,isEnabled:_0x3f569c}=this[_0x2f1588(0x19b)][_0x2f1588(0x229)][_0x2f1588(0x162)](RevisionViewer);this[_0x2f1588(0x1b1)]=!!(_0x3f569c&&_0x47948b&&_0x40553a)&&(!_0x677fcf||(0x1===this[_0x2f1588(0x218)]?_0x22f15b<_0x40553a-0x1:_0x22f15b>0x0));}}
|
|
23
|
+
const _0x47438d=_0x57b2;(function(_0x15e747,_0x44b367){const _0x157b9d=_0x57b2,_0x1425e4=_0x15e747();while(!![]){try{const _0x1f6cfc=parseInt(_0x157b9d(0x10f))/0x1*(parseInt(_0x157b9d(0x1b4))/0x2)+parseInt(_0x157b9d(0x16c))/0x3*(-parseInt(_0x157b9d(0xf4))/0x4)+parseInt(_0x157b9d(0x146))/0x5+parseInt(_0x157b9d(0x121))/0x6+-parseInt(_0x157b9d(0x1b3))/0x7*(parseInt(_0x157b9d(0x14a))/0x8)+parseInt(_0x157b9d(0xae))/0x9*(-parseInt(_0x157b9d(0x174))/0xa)+parseInt(_0x157b9d(0x12f))/0xb;if(_0x1f6cfc===_0x44b367)break;else _0x1425e4['push'](_0x1425e4['shift']());}catch(_0xe16aac){_0x1425e4['push'](_0x1425e4['shift']());}}}(_0x22df,0x2a9d4));import{Plugin as _0x53d0da,Command as _0x703036}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x5272d0}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3ceabd}from'ckeditor5/src/ui.js';import{ModelDocumentFragment as _0x33faac,ModelElement as _0x43ea4b,ModelText as _0x5a80e0}from'ckeditor5/src/engine.js';function _0x22df(){const _0x2672cf=['mouseover','forward','observeMarkers','offsetSize','57486HOUUSK','_utils','pluginName','pop','conversion','_getViewForChange','mapper','loadRevisionData','15880bnxoHA','editor','showStack','changeId','attributesBefore','revision','_threeWayMerge','isOfficialPlugin','_joinTapes','removeMarker','_makeTape','destroy','toViewRange','POSITIVE_INFINITY','first','revision-viewer','ck-suggestion-preview-marker','clear','markersStart','_initInteractions','isCollapsed','suggestion:','_setDistance','isRemoveSuggestion','attributesAfter','backward','addMarker:revision','model','getIndex','bindElementToMarker','high','commands','_appendChild','getWalker','object','getDomRoot','removeClass','_getChangeFromId','ck-editor__editable__overlay','_removeMissingPairs','data','attributes','repository','distance','for','start','target','deletion','enqueueChange','stop','currentChangeNumber','RevisionsRepository','pairId','getChild','change:activeChange','createRangeIn','toViewPosition','oldRevisionId','code','splice','isLimit','_activeViewTarget','createPositionBefore','478114ZXKVJD','105194PHcGMK','writer','_cleanUp','_refreshStartEndIndex','done','selection','_markMismatchedRemovedTags','_data','getLaterVisibleRevision','addHighlight','concat','get','revision-comment:','_markInsertions','resolve','ck-suggestion-marker','rootName','reconvertMarker','hasAttribute','toViewElement','_sortAndFilterDiffChanges','_makeModelFromTape','attachChange','data-change-id','diffData','affectsData','error','attribute:vid','push','findIndex','nextSibling','isBefore','isEqual','RevisionHistoryUtils','ck-suggestion-marker--active','catch','dataToMarker','delete','hasClass','text','ck-revision-history-root-add','forceDisabled','isInline','adapter','ck-suggestion-marker-','consumable','getRevisionDocumentData','values','isAtEnd','index','isAfter','vid_start','ck-revision-history-root-','nodeAfter','addRevisionData','_changeView','elementEnd','indexOf','sort','maxOffset','_update','_cleanMarkers','low','revisionHistoryLabel','init','882xpBnep','markersEnd','remove','isAddSuggestion','schema','document','isReady','_makeModelFromViewString','has','isAttached','_processTape','element:pre','WidgetToolbarRepository','left','find','right','restoreRevisionCallback','domConverter','nextPosition','set','isAdded','markerNameToElements','flat','-new','bind','getRevisionRootsAttributes','_getRevisionsRange','revisionHistoryAttachChange','uiElement','parent','_revisions','vid','isObject','markerToHighlight','_markSuggestions','deletions','getRootNames','add','diff','changes','_fixObsoleteTags','removeMarker:revision','getRoot','numberOfChanges','includes','getAttributes','insert','compare','createAttributeElement','change:numberOfChanges','markerToData','detachRoot','end','bottom','execute','change','map','change:isReady','insertion','markerRange','_findChangeIdFromDomTarget','modelRange','startsWith','elementToAttribute','vid_end','unbindElementFromMarkerName','roots','highest','isContent','isNavigationMode','72QNiEfM','authors','change:activeView','from','plugins','side','_changeIdToChange','mousedown','isSuggestion','enableReadOnlyMode','element','top','level','addRoot','getAttribute','createRevision','userId','activeView','abs','createRange','setAttribute','length','span','downcastDispatcher','domEvent','item','ck-suggestion-marker-merge','1xthAHt','showPreviousChange','elementStart','viewItem','return','endIndex','_getDiff','mapViewToDom','createPositionFromPath','checkAttribute','restoreRevision','revisionHistory','revision:','removeMarker:revision-suggestion','markerName','next','updatePosition','newRevisionId','266376xhNMDJ','type','getRevision','markers','removeAttribute','addRevision','getItems','consume','all','test','editing','ck-revision-history-root--active','filter','getClientRects','6394553MZXqim','insertions','activeChange','addClass','_setConversion','ck-revision-history-root-remove','_setChanges','addMarker:revision-suggestion:insertion','requires','isIncorrect','listenTo','refresh','slice','revision-suggestion:','previousPosition','isPremiumPlugin','then','_step','startIndex','suggestion','name','addMarker:revision-suggestion:deletion','_removeUnsupportedChanges','666880hREtto','change:isEnabled','merge','dataDowncast','16XpmLsl','locale','shift','config','upcast','forEach','split','isEnabled','unshift','revision-suggestion','wrap','keys','_balloon','range','RevisionViewer','ck-suggestion-marker-split','isRemoved','isBlock','isOnRoot','comment','createUIElement','editingDowncast','isAtStart','ck-suggestion-preview-marker-','softBreak','showNextChange','_markMarkers','getCustomProperty','string','view'];_0x22df=function(){return _0x2672cf;};return _0x22df();}import{Users as _0xa918fc,getMarkerDomElement as _0xf9bac9}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x8eb9dc}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x43dffb}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0xfd1671}from'./revisionhistoryutils.js';import{ChangeItem as _0x2521a1}from'./changeitem.js';function _0x57b2(_0x48f50d,_0x5bf6ae){const _0x22df26=_0x22df();return _0x57b2=function(_0x57b207,_0x43b571){_0x57b207=_0x57b207-0xa5;let _0x106e17=_0x22df26[_0x57b207];return _0x106e17;},_0x57b2(_0x48f50d,_0x5bf6ae);}import{RevisionDiff as _0x476635}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x32fd30}from'es-toolkit/compat';export class RevisionViewer extends _0x53d0da{[_0x47438d(0x19e)];[_0x47438d(0x1df)]=null;[_0x47438d(0x16d)];[_0x47438d(0x1b1)];[_0x47438d(0x1eb)];[_0x47438d(0xfa)];[_0x47438d(0x156)];static get[_0x47438d(0x16e)](){const _0x5c4217=_0x47438d;return _0x5c4217(0x158);}static get[_0x47438d(0x17b)](){return!0x0;}static get[_0x47438d(0x13e)](){return!0x0;}static get[_0x47438d(0x137)](){return[_0xa918fc,_0x3ceabd,_0x43dffb,_0xfd1671];}constructor(_0x466490){const _0xb937eb=_0x47438d;super(_0x466490),this[_0xb937eb(0x19e)]=this[_0xb937eb(0x175)][_0xb937eb(0xf8)][_0xb937eb(0x1bf)](_0xb937eb(0x1a7)),this[_0xb937eb(0x16d)]=this[_0xb937eb(0x175)][_0xb937eb(0xf8)][_0xb937eb(0x1bf)](_0xb937eb(0x1d5)),this[_0xb937eb(0xc1)](_0xb937eb(0x131),null),this[_0xb937eb(0xc1)](_0xb937eb(0x105),null),this[_0xb937eb(0x1b1)]=null,this[_0xb937eb(0xc1)](_0xb937eb(0xd4),null),this[_0xb937eb(0xc1)](_0xb937eb(0xb4),!0x1),this[_0xb937eb(0xc1)](_0xb937eb(0x151),!0x0),this['on'](_0xb937eb(0x147),(_0x143828,_0x4198eb,_0x5c942c)=>{const _0x5b3919=_0xb937eb;this[_0x5b3919(0x131)]=null,this[_0x5b3919(0x105)]=null,this[_0x5b3919(0x175)][_0x5b3919(0x12b)][_0x5b3919(0x167)][_0x5b3919(0xe5)](_0x8d9d31=>{const _0x43b4b0=_0x5b3919;for(const _0x3d3f1d of this[_0x43b4b0(0x175)][_0x43b4b0(0x12b)][_0x43b4b0(0x167)][_0x43b4b0(0xb3)][_0x43b4b0(0xf0)])_0x5c942c?_0x8d9d31[_0x43b4b0(0x198)](_0x43b4b0(0x19a),_0x3d3f1d):_0x8d9d31[_0x43b4b0(0x132)](_0x43b4b0(0x19a),_0x3d3f1d);});}),this[_0xb937eb(0xc6)](_0xb937eb(0xf3))['to'](this,_0xb937eb(0x131),_0x32294a=>null!==_0x32294a),this[_0xb937eb(0xc6)](_0xb937eb(0x1a6))['to'](this,_0xb937eb(0xb4),this,_0xb937eb(0xd4),this,_0xb937eb(0x131),(_0x5e3fd1,_0x559359,_0x343435)=>_0x5e3fd1&&_0x343435?_0x559359[_0xb937eb(0xd5)][_0xb937eb(0x190)](_0x343435):0x0),this[_0xb937eb(0xc6)](_0xb937eb(0xd9))['to'](this,_0xb937eb(0xb4),this,_0xb937eb(0xd4),(_0x49949f,_0x2d240a)=>_0x49949f?_0x2d240a[_0xb937eb(0xd5)][_0xb937eb(0x109)]:0x0),this[_0xb937eb(0x1eb)]=null,this[_0xb937eb(0xfa)]=new Map(),this[_0xb937eb(0x156)]=this[_0xb937eb(0x175)][_0xb937eb(0xf8)][_0xb937eb(0x1bf)](_0x3ceabd);}[_0x47438d(0xad)](){const _0x10b03a=_0x47438d,_0x52844f=this[_0x10b03a(0x175)],_0x94125e=new ShowChangeCommand(_0x52844f,{'direction':_0x10b03a(0x18d)}),_0x3a91e0=new ShowChangeCommand(_0x52844f,{'direction':_0x10b03a(0x169)});(_0x52844f[_0x10b03a(0x193)][_0x10b03a(0xd3)](_0x10b03a(0x110),_0x94125e),_0x52844f[_0x10b03a(0x193)][_0x10b03a(0xd3)](_0x10b03a(0x163),_0x3a91e0),_0x52844f[_0x10b03a(0x193)][_0x10b03a(0xd3)](_0x10b03a(0x119),new RestoreRevisionCommand(_0x52844f)),this['on'](_0x10b03a(0xdf),()=>{const _0x3aee60=_0x10b03a;_0x94125e[_0x3aee60(0x13a)](),_0x3a91e0[_0x3aee60(0x13a)]();}),this[_0x10b03a(0x133)](),this[_0x10b03a(0x187)](),_0x52844f[_0x10b03a(0xfd)](_0x10b03a(0x183)),_0x52844f[_0x10b03a(0xf8)][_0x10b03a(0xb6)](_0x10b03a(0xba)))&&_0x52844f[_0x10b03a(0xf8)][_0x10b03a(0x1bf)](_0x10b03a(0xba))[_0x10b03a(0x1dd)](_0x10b03a(0x183));}async[_0x47438d(0x1e2)](_0x1ccdc1){const _0x24bc86=_0x47438d;return await this[_0x24bc86(0x16d)][_0x24bc86(0x173)](_0x1ccdc1,this[_0x24bc86(0x1df)]),this[_0x24bc86(0x16d)][_0x24bc86(0x1e2)](_0x1ccdc1);}async[_0x47438d(0xc7)](_0x255f42){const _0x13b4c6=_0x47438d;return await this[_0x13b4c6(0x16d)][_0x13b4c6(0x173)](_0x255f42,this[_0x13b4c6(0x1df)]),this[_0x13b4c6(0x16d)][_0x13b4c6(0xc7)](_0x255f42);}async[_0x47438d(0xdd)](_0x26547b,_0x4467f6,_0x550f0e=!0x1){const _0x5c5939=_0x47438d;if(!this[_0x5c5939(0x151)])return;const _0x5f4d7b=this[_0x5c5939(0xd4)],_0x35e732=this[_0x5c5939(0x19e)],_0x4652c1=_0x5c5939(0x166)==typeof _0x26547b?_0x35e732[_0x5c5939(0x123)](_0x26547b):_0x26547b,_0x63c093=_0x5c5939(0x166)==typeof _0x4467f6?_0x35e732[_0x5c5939(0x123)](_0x4467f6):_0x4467f6,_0xe420e=_0x4652c1['id'],_0x3cbb13=_0x63c093?_0x63c093['id']:null;if(!_0x550f0e&&this[_0x5c5939(0xd4)]&&this[_0x5c5939(0xd4)][_0x5c5939(0x120)]===_0xe420e&&this[_0x5c5939(0xd4)][_0x5c5939(0x1ad)]===_0x3cbb13)return Promise[_0x5c5939(0x1c2)]();this[_0x5c5939(0xb4)]=!0x1,this[_0x5c5939(0x105)]=null,this[_0x5c5939(0x131)]=null,this[_0x5c5939(0xd4)]=new _0x476635(_0xe420e,_0x3cbb13);const _0x25340d=this[_0x5c5939(0xc8)](_0x4652c1,_0x63c093,!0x0)[_0x5c5939(0xe6)](_0x41f578=>this[_0x5c5939(0x16d)][_0x5c5939(0x173)](_0x41f578,this[_0x5c5939(0x1df)]));return _0x25340d[_0x5c5939(0x1d0)](new Promise(_0x1d916a=>{setTimeout(_0x1d916a,0x14);})),Promise[_0x5c5939(0x129)](_0x25340d)[_0x5c5939(0x13f)](()=>{const _0x3c796d=_0x5c5939;if(!this[_0x3c796d(0x151)])return;this[_0x3c796d(0x1b6)]();const _0x314f66=this[_0x3c796d(0x115)](_0xe420e,_0x3cbb13);for(const _0x2f027d of _0x314f66[_0x3c796d(0xd5)])this[_0x3c796d(0xfa)][_0x3c796d(0xc1)](_0x2f027d['id'],_0x2f027d);this[_0x3c796d(0x175)][_0x3c796d(0x18f)][_0x3c796d(0x1a4)]({'isUndoable':!0x1},_0x31313c=>{const _0x406f56=_0x3c796d;for(const _0x256a76 of this[_0x406f56(0x175)][_0x406f56(0x18f)][_0x406f56(0xb3)][_0x406f56(0xd2)]())_0x31313c[_0x406f56(0xe1)](_0x256a76);for(const _0x510b06 of Object[_0x406f56(0x155)](_0x314f66[_0x406f56(0x18f)])){const _0x4c55f4=_0x31313c[_0x406f56(0x101)](_0x510b06);for(const _0x3b7ad5 of Object[_0x406f56(0x155)](_0x314f66[_0x406f56(0x19d)][_0x510b06]))_0x31313c[_0x406f56(0x108)](_0x3b7ad5,_0x314f66[_0x406f56(0x19d)][_0x510b06][_0x3b7ad5],_0x4c55f4);_0x31313c[_0x406f56(0xdc)](_0x314f66[_0x406f56(0x18f)][_0x510b06],_0x4c55f4,0x0);}}),this[_0x3c796d(0xd4)][_0x3c796d(0x135)](this[_0x3c796d(0x1c8)](_0x314f66[_0x3c796d(0xd5)])),this[_0x3c796d(0xb4)]=!0x0;})[_0x5c5939(0x1d7)](_0xb215df=>{const _0x4b3c1f=_0x5c5939;console[_0x4b3c1f(0x1ce)](_0xb215df),this[_0x4b3c1f(0x1b6)](),_0x5f4d7b&&(this[_0x4b3c1f(0xd4)]=_0x5f4d7b),this[_0x4b3c1f(0xb4)]=!0x0;});}[_0x47438d(0x1ea)](_0x375ca3,_0x2dd205){const _0x343d6f=_0x47438d,_0x3e280a=this[_0x343d6f(0x19e)][_0x343d6f(0x103)](_0x375ca3);return _0x3e280a['on'](_0x343d6f(0xa9),(_0x1e3b80,_0x13eb93,_0x3c4a42)=>_0x2dd205(_0x13eb93,_0x3c4a42,_0x3e280a)),this[_0x343d6f(0x19e)][_0x343d6f(0x126)](_0x3e280a),_0x3e280a;}[_0x47438d(0x1b6)](){const _0x4d3cdc=_0x47438d;this[_0x4d3cdc(0x131)]=null,this[_0x4d3cdc(0xaa)](),this[_0x4d3cdc(0x1eb)]&&this[_0x4d3cdc(0x1eb)][_0x4d3cdc(0x17f)](),this[_0x4d3cdc(0x1eb)]=null,this[_0x4d3cdc(0xfa)][_0x4d3cdc(0x185)](),this[_0x4d3cdc(0x175)][_0x4d3cdc(0x18f)][_0x4d3cdc(0x1a4)]({'isUndoable':!0x1},_0x2868c9=>{const _0x4a34d0=_0x4d3cdc;for(const _0x1fa192 of this[_0x4a34d0(0x175)][_0x4a34d0(0x18f)][_0x4a34d0(0xb3)][_0x4a34d0(0xd2)]())_0x2868c9[_0x4a34d0(0xe1)](_0x1fa192);});}[_0x47438d(0x1c8)](_0x22c441){const _0x494a5b=_0x47438d,_0xaa1c2e=[],_0xb138f5=new Map();for(const _0x1d3a76 of this[_0x494a5b(0x175)][_0x494a5b(0x18f)][_0x494a5b(0xb3)][_0x494a5b(0xd2)]()){const _0x377fcf=this[_0x494a5b(0x175)][_0x494a5b(0x12b)][_0x494a5b(0x167)][_0x494a5b(0x197)](_0x1d3a76);if(!_0x377fcf)continue;const _0x10d4a4=_0x377fcf[_0x494a5b(0x12e)]()[_0x494a5b(0x10d)](0x0);_0x10d4a4&&(_0xaa1c2e[_0x494a5b(0x1d0)](_0x1d3a76),_0xb138f5[_0x494a5b(0xc1)](_0x1d3a76,_0x10d4a4));}return _0xaa1c2e[_0x494a5b(0xa7)]((_0x5ef224,_0x2f6207)=>{const _0x2ce01a=_0x494a5b,_0x2abf42=_0xb138f5[_0x2ce01a(0x1bf)](_0x5ef224),_0x4ee64c=_0xb138f5[_0x2ce01a(0x1bf)](_0x2f6207);return _0x2abf42['y']-_0x4ee64c['y']||_0x2abf42['x']-_0x4ee64c['x'];}),(_0x22c441=_0x22c441[_0x494a5b(0x12d)](_0x209e47=>_0xaa1c2e[_0x494a5b(0xda)](_0x209e47[_0x494a5b(0x1c4)])))[_0x494a5b(0xa7)]((_0x4fc4e8,_0x1fef7e)=>_0xaa1c2e[_0x494a5b(0xa6)](_0x4fc4e8[_0x494a5b(0x1c4)])-_0xaa1c2e[_0x494a5b(0xa6)](_0x1fef7e[_0x494a5b(0x1c4)])),_0x22c441;}[_0x47438d(0x17e)](_0xe1ef2d){const _0x209ae1=_0x47438d,_0x4a8200=Array[_0x209ae1(0xf7)](_0xe1ef2d[_0x209ae1(0x124)])[_0x209ae1(0x12d)](([_0x513f10,_0x280d00])=>_0x513f10[_0x209ae1(0xec)](_0x209ae1(0x11b))&&!_0x280d00[_0x209ae1(0x188)]),_0x5597d7=Array[_0x209ae1(0xf7)](this[_0x209ae1(0x175)][_0x209ae1(0x18f)][_0x209ae1(0x1ab)](_0xe1ef2d)[_0x209ae1(0x195)]({'singleCharacters':!0x0}));if(0x0!=_0x4a8200[_0x209ae1(0x109)])for(const _0x4cfdfc of _0x5597d7){const [_0x2e4600,_0x55483d]=_0x4a8200[0x0],[,_0x3b9515,_0x12fae2]=_0x2e4600[_0x209ae1(0x150)](':');if(_0x55483d[_0x209ae1(0xe2)][_0x209ae1(0x1d4)](_0x4cfdfc[_0x209ae1(0xc0)])&&_0x4a8200[_0x209ae1(0x14c)](),(_0x4cfdfc[_0x209ae1(0x13d)][_0x209ae1(0x1d4)](_0x55483d[_0x209ae1(0x1a1)])||_0x4cfdfc[_0x209ae1(0x13d)][_0x209ae1(0x1e6)](_0x55483d[_0x209ae1(0x1a1)]))&&(_0x209ae1(0xe8)==_0x3b9515?_0x4cfdfc[_0x209ae1(0xc2)]={'userId':_0x12fae2}:_0x209ae1(0x1a3)==_0x3b9515&&(_0x4cfdfc[_0x209ae1(0x15a)]={'userId':_0x12fae2})),0x0==_0x4a8200[_0x209ae1(0x109)])break;}return _0x5597d7;}[_0x47438d(0x1b7)](_0x4250f1){const _0x163754=_0x47438d,_0x3fc70a=new Map();for(let _0x33ff2f=0x0;_0x33ff2f<_0x4250f1[_0x163754(0x109)];_0x33ff2f++)_0x163754(0x1db)===_0x4250f1[_0x33ff2f][_0x163754(0x122)]?(_0x4250f1[_0x33ff2f][_0x163754(0x10d)][_0x163754(0x141)]=_0x33ff2f,_0x4250f1[_0x33ff2f][_0x163754(0x10d)][_0x163754(0x114)]=_0x33ff2f):(_0x163754(0x111)===_0x4250f1[_0x33ff2f][_0x163754(0x122)]?_0x4250f1[_0x33ff2f][_0x163754(0x10d)][_0x163754(0x141)]=_0x33ff2f:_0x163754(0xa5)===_0x4250f1[_0x33ff2f][_0x163754(0x122)]&&(_0x4250f1[_0x33ff2f][_0x163754(0x10d)][_0x163754(0x114)]=_0x33ff2f),_0x3fc70a[_0x163754(0xc1)](_0x4250f1[_0x33ff2f]['id'],_0x33ff2f));for(const _0x4a112f of _0x3fc70a[_0x163754(0x1e3)]())_0x163754(0x111)===_0x4250f1[_0x4a112f][_0x163754(0x122)]?_0x4250f1[_0x4a112f][_0x163754(0x10d)][_0x163754(0x114)]=_0x3fc70a[_0x163754(0x1bf)](_0x4250f1[_0x4a112f][_0x163754(0x1a8)]):_0x163754(0xa5)===_0x4250f1[_0x4a112f][_0x163754(0x122)]&&(_0x4250f1[_0x4a112f][_0x163754(0x10d)][_0x163754(0x141)]=_0x3fc70a[_0x163754(0x1bf)](_0x4250f1[_0x4a112f][_0x163754(0x1a8)]));}[_0x47438d(0xb8)](_0x3bfce4){const _0x5f4e48=_0x47438d;for(let _0xf929ec=0x0;_0xf929ec<_0x3bfce4[_0x5f4e48(0x109)];_0xf929ec++){if(_0x5f4e48(0x111)===_0x3bfce4[_0xf929ec][_0x5f4e48(0x122)])_0x3bfce4[_0xf929ec][_0x5f4e48(0x10d)][_0x5f4e48(0x141)]=_0xf929ec;else{if(_0x5f4e48(0xa5)===_0x3bfce4[_0xf929ec][_0x5f4e48(0x122)]){_0x3bfce4[_0xf929ec][_0x5f4e48(0x10d)][_0x5f4e48(0x114)]=_0xf929ec;const _0x4ed037=_0x3bfce4[_0xf929ec][_0x5f4e48(0x10d)][_0x5f4e48(0x141)];_0x3bfce4[_0x4ed037][_0x5f4e48(0x1a8)]=_0x3bfce4[_0xf929ec]['id'],_0x3bfce4[_0xf929ec][_0x5f4e48(0x1a8)]=_0x3bfce4[_0x4ed037]['id'];}else _0x3bfce4[_0xf929ec][_0x5f4e48(0x10d)][_0x5f4e48(0x141)]=_0xf929ec,_0x3bfce4[_0xf929ec][_0x5f4e48(0x10d)][_0x5f4e48(0x114)]=_0xf929ec,_0x3bfce4[_0xf929ec][_0x5f4e48(0x1a8)]=null;}_0x3bfce4[_0xf929ec][_0x5f4e48(0x186)]||(_0x3bfce4[_0xf929ec][_0x5f4e48(0x186)]=[],_0x3bfce4[_0xf929ec][_0x5f4e48(0xaf)]=[]);}}[_0x47438d(0x1c1)](_0x4c841d,_0x31cc10){const _0x507aa3=_0x47438d,_0xce9eb=_0x4c841d[_0x507aa3(0x12d)](_0x1e3089=>!_0x1e3089[_0x507aa3(0xc2)]);for(let _0x3f7042=0x0;_0x3f7042<_0x31cc10[_0x507aa3(0x109)];_0x3f7042++)_0x31cc10[_0x3f7042][_0x507aa3(0xc2)]&&(_0xce9eb[_0x3f7042][_0x507aa3(0xc2)]=_0x31cc10[_0x3f7042][_0x507aa3(0xc2)]);}[_0x47438d(0x115)](_0x58fbcc,_0x4d61e2=null){const _0x12d515=_0x47438d,_0x545921=this[_0x12d515(0x19e)][_0x12d515(0x123)](_0x58fbcc),_0x534331=_0x4d61e2?this[_0x12d515(0x19e)][_0x12d515(0x123)](_0x4d61e2):null,_0x5cf511=this[_0x12d515(0xc8)](_0x545921,_0x534331),_0x3be5d5=_0x5cf511[_0x5cf511[_0x12d515(0x109)]-0x1],_0x17ac0d=new Map(),_0x3b5e28={'model':{},'attributes':{},'changes':[]},_0x4786d2=new Set(),_0x1e5f7a=new Map();for(let _0x617fb=_0x5cf511[_0x12d515(0x109)]-0x1;_0x617fb>=0x0;_0x617fb--){const _0x82b3d4=_0x5cf511[_0x617fb];for(const _0x548bac of Object[_0x12d515(0x155)](_0x82b3d4[_0x12d515(0x1cc)]))if(_0x82b3d4[_0x12d515(0x1cc)][_0x548bac][_0x12d515(0x1ca)]){const _0x3c3d81=_0x82b3d4[_0x12d515(0x1cc)][_0x548bac][_0x12d515(0x1ca)];_0x3c3d81[_0x12d515(0xb7)]?(_0x4786d2[_0x12d515(0xd3)](_0x548bac),_0x1e5f7a[_0x12d515(0xb6)](_0x548bac)&&_0x1e5f7a[_0x12d515(0x1bf)](_0x548bac)[_0x12d515(0x104)]==_0x3c3d81[_0x12d515(0x104)]?_0x1e5f7a[_0x12d515(0x1d9)](_0x548bac):_0x1e5f7a[_0x12d515(0xc1)](_0x548bac,_0x3c3d81)):_0x1e5f7a[_0x12d515(0xb6)](_0x548bac)?(_0x4786d2[_0x12d515(0x1d9)](_0x548bac),_0x1e5f7a[_0x12d515(0x1d9)](_0x548bac)):(_0x4786d2[_0x12d515(0xd3)](_0x548bac),_0x1e5f7a[_0x12d515(0xc1)](_0x548bac,_0x3c3d81));}else _0x4786d2[_0x12d515(0xd3)](_0x548bac);}for(const _0x1c0675 of _0x4786d2){const _0x54f97c=_0x1e5f7a[_0x12d515(0xb6)](_0x1c0675)&&!_0x1e5f7a[_0x12d515(0x1bf)](_0x1c0675)[_0x12d515(0xb7)];let _0x39748d=_0x54f97c?_0x5cf511[_0x12d515(0x109)]-0x1:0x0;const _0x3fdd28=_0x54f97c?-0x1:0x1;for(;_0x5cf511[_0x39748d];){const _0x4a4c7e=_0x5cf511[_0x39748d];if(_0x4a4c7e[_0x12d515(0x1cc)][_0x1c0675]){const _0x4ba061=_0x54f97c?_0x4a4c7e[_0x12d515(0x1cc)][_0x1c0675][_0x12d515(0x178)]:_0x4a4c7e[_0x12d515(0x1cc)][_0x1c0675][_0x12d515(0x18c)];_0x3b5e28[_0x12d515(0x19d)][_0x1c0675]=_0x4ba061?_0x32fd30(_0x4ba061):{};break;}_0x39748d+=_0x3fdd28;}}for(const _0x47e1f0 of _0x5cf511){_0x47e1f0[_0x12d515(0x18f)]={};for(const _0x1089ea of _0x47e1f0[_0x12d515(0xf5)])_0x17ac0d[_0x12d515(0xc1)](_0x1089ea['id'],_0x1089ea);for(const _0x290375 of _0x4786d2){const _0x2f16fc=_0x47e1f0[_0x12d515(0x1cc)][_0x290375]?_0x47e1f0[_0x12d515(0x1cc)][_0x290375][_0x12d515(0x130)]:'[]',_0x53cdd1=_0x47e1f0[_0x12d515(0x1cc)][_0x290375]?_0x47e1f0[_0x12d515(0x1cc)][_0x290375][_0x12d515(0xd1)]:'[]';_0x47e1f0[_0x12d515(0x18f)][_0x290375]={'insertions':this[_0x12d515(0x16d)][_0x12d515(0xb5)](_0x2f16fc),'deletions':this[_0x12d515(0x16d)][_0x12d515(0xb5)](_0x53cdd1)};}}for(const _0x2482e1 of _0x4786d2){let _0x5dbb5c=null,_0x133fad=0x0;const _0x2225fe=new Map(Array[_0x12d515(0xf7)](_0x545921[_0x12d515(0x18f)][_0x2482e1][_0x12d515(0x130)][_0x12d515(0x124)])[_0x12d515(0x12d)](([_0x3bc7d8])=>!_0x3bc7d8[_0x12d515(0xec)](_0x12d515(0x11b))));let _0x11434d=0x0;for(const _0x222201 of _0x5cf511){const _0x2ce818=this[_0x12d515(0x17e)](_0x222201[_0x12d515(0x18f)][_0x2482e1][_0x12d515(0x130)]);_0x222201==_0x545921?(_0x5dbb5c=_0x2ce818,_0x133fad=_0x5dbb5c[_0x12d515(0x109)],_0x5dbb5c[_0x12d515(0x14f)](_0xf8968d=>{_0xf8968d['id']=_0x11434d++;}),this[_0x12d515(0xb8)](_0x5dbb5c)):this[_0x12d515(0x1c1)](_0x5dbb5c,_0x2ce818);const _0x57bdbb=_0x5dbb5c[_0x12d515(0x12d)](_0x5e864b=>!_0x5e864b[_0x12d515(0xc2)])[_0x12d515(0xe6)](_0x51e3cb=>_0x51e3cb['id']);let _0x112c33=0x0;const _0x138f45=this[_0x12d515(0x17e)](_0x222201[_0x12d515(0x18f)][_0x2482e1][_0x12d515(0xd1)]);_0x138f45[_0x12d515(0x14f)](_0x3a552f=>{const _0x3c9d83=_0x12d515;_0x3a552f[_0x3c9d83(0x15a)]?_0x3a552f['id']=_0x133fad++:_0x3a552f['id']=_0x57bdbb[_0x112c33++];}),this[_0x12d515(0xb8)](_0x138f45),this[_0x12d515(0x18a)](_0x5dbb5c,_0x12d515(0xc2)),this[_0x12d515(0x18a)](_0x138f45,_0x12d515(0x15a)),_0x222201==_0x545921&&this[_0x12d515(0x164)](_0x5dbb5c,_0x2225fe),_0x5dbb5c=this[_0x12d515(0x17c)](_0x5dbb5c,_0x138f45),this[_0x12d515(0x1b7)](_0x5dbb5c),this[_0x12d515(0x18a)](_0x5dbb5c,_0x12d515(0x15a));}_0x5dbb5c=_0x5dbb5c[_0x12d515(0x12d)](_0x3e48f6=>!(_0x3e48f6[_0x12d515(0xc2)]&&_0x3e48f6[_0x12d515(0x15a)]));const _0xbb8530=new Map(_0x3be5d5[_0x12d515(0x18f)][_0x2482e1][_0x12d515(0xd1)][_0x12d515(0x124)]),_0x10aadc=new Set(_0x2225fe[_0x12d515(0x155)]());for(const _0x4eef33 of _0xbb8530[_0x12d515(0x155)]())_0x10aadc[_0x12d515(0x1d9)](_0x4eef33);this[_0x12d515(0xd0)](_0x5dbb5c,_0x10aadc),this[_0x12d515(0xd6)](_0x5dbb5c),_0x5dbb5c=this[_0x12d515(0x19b)](_0x5dbb5c),_0x5dbb5c=this[_0x12d515(0x1ba)](_0x5dbb5c),_0x5dbb5c=this[_0x12d515(0x145)](_0x5dbb5c);const {root:_0x1a48f4,changes:_0x1787c0}=this[_0x12d515(0x1c9)](_0x5dbb5c,_0x17ac0d,_0x2482e1);_0x3b5e28[_0x12d515(0x18f)][_0x2482e1]=_0x1a48f4;const _0x693083=_0x1e5f7a[_0x12d515(0x1bf)](_0x2482e1);if(_0x693083){const _0x409998=_0x17ac0d[_0x12d515(0x1bf)](_0x693083[_0x12d515(0x104)]),_0x5d3fe5=new _0x2521a1({'author':_0x409998,'type':_0x693083[_0x12d515(0xb7)]?_0x12d515(0xd3):_0x12d515(0xb0),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2482e1});_0x1787c0[_0x12d515(0x152)](_0x5d3fe5),_0x3b5e28[_0x12d515(0x19d)][_0x2482e1][_0x12d515(0xc9)]=_0x5d3fe5['id'];}_0x3b5e28[_0x12d515(0xd5)]=_0x3b5e28[_0x12d515(0xd5)][_0x12d515(0x1be)](_0x1787c0);}return _0x3b5e28;}[_0x47438d(0x164)](_0x59ee44,_0x380cba){const _0x5dc2cb=_0x47438d;for(let _0x3b3574=0x0;_0x3b3574<_0x59ee44[_0x5dc2cb(0x109)];_0x3b3574++)for(const [_0x2f99db,_0x12d504]of _0x380cba)!_0x12d504[_0x5dc2cb(0x188)]&&_0x12d504[_0x5dc2cb(0x1a1)][_0x5dc2cb(0x1d4)](_0x59ee44[_0x3b3574][_0x5dc2cb(0x13d)])&&_0x59ee44[_0x3b3574][_0x5dc2cb(0x186)][_0x5dc2cb(0x1d0)](_0x2f99db),_0x12d504[_0x5dc2cb(0xe2)][_0x5dc2cb(0x1d4)](_0x59ee44[_0x3b3574][_0x5dc2cb(0xc0)])&&_0x59ee44[_0x3b3574][_0x5dc2cb(0xaf)][_0x5dc2cb(0x1d0)](_0x2f99db);}[_0x47438d(0x17c)](_0xb35297,_0x5092ec){const _0x17bea0=_0x47438d;let _0x115c8e=[],_0xcd57f8=0x0,_0x27f88c=0x0;for(;_0xcd57f8<_0xb35297[_0x17bea0(0x109)]||_0x27f88c<_0x5092ec[_0x17bea0(0x109)];){const _0x538e98=_0xb35297[_0xcd57f8]||{},_0x1c4aac=_0x5092ec[_0x27f88c]||{};if(_0x538e98['id']==_0x1c4aac['id'])_0xcd57f8++,_0x27f88c++,_0x115c8e[_0x17bea0(0x1d0)](_0x538e98);else{if(_0x1c4aac[_0x17bea0(0x15a)]&&_0x538e98[_0x17bea0(0xc2)]){const {commonTape:_0x44373a,iEnd:_0x20696d,jEnd:_0x970e09}=this[_0x17bea0(0x17a)](_0xb35297,_0xcd57f8,_0x5092ec,_0x27f88c);_0x115c8e=_0x115c8e[_0x17bea0(0x1be)](_0x44373a),_0xcd57f8=_0x20696d,_0x27f88c=_0x970e09;}else _0x1c4aac[_0x17bea0(0x15a)]?(_0x27f88c++,_0x115c8e[_0x17bea0(0x1d0)](_0x1c4aac)):(_0xcd57f8++,_0x115c8e[_0x17bea0(0x1d0)](_0x538e98));}}return _0x115c8e;}[_0x47438d(0xd0)](_0x31917c,_0x43acba){const _0x595013=_0x47438d,_0x17cebf=[];for(let _0x2d383e=0x0;_0x2d383e<_0x31917c[_0x595013(0x109)];_0x2d383e++){for(let _0x1bcc15=0x0;_0x1bcc15<_0x31917c[_0x2d383e][_0x595013(0x186)][_0x595013(0x109)];_0x1bcc15++){const _0x4bbfbc=_0x31917c[_0x2d383e][_0x595013(0x186)][_0x1bcc15];if(!_0x43acba[_0x595013(0xb6)](_0x4bbfbc))continue;const {group:_0x216cb5,type:_0x3a2821,authorId:_0x282e85}=_0x58a036(_0x4bbfbc);_0x595013(0x153)!=_0x216cb5||_0x595013(0xe8)!=_0x3a2821&&_0x595013(0x1a3)!=_0x3a2821||(_0x17cebf[_0x595013(0x152)]({'type':_0x3a2821,'name':_0x4bbfbc,'userId':_0x282e85}),_0x31917c[_0x2d383e][_0x595013(0x186)][_0x595013(0x1af)](_0x1bcc15,0x1),_0x1bcc15--);}_0x4ccfef(_0x31917c[_0x2d383e]);for(let _0x5309ed=0x0;_0x5309ed<_0x31917c[_0x2d383e][_0x595013(0xaf)][_0x595013(0x109)];_0x5309ed++){const _0x4e06fd=_0x31917c[_0x2d383e][_0x595013(0xaf)][_0x5309ed];if(!_0x43acba[_0x595013(0xb6)](_0x4e06fd))continue;const {group:_0x1f6e45,type:_0x1cc51a}=_0x58a036(_0x4e06fd);if(_0x595013(0x153)!=_0x1f6e45||_0x595013(0xe8)!=_0x1cc51a&&_0x595013(0x1a3)!=_0x1cc51a)continue;_0x31917c[_0x2d383e][_0x595013(0xaf)][_0x595013(0x1af)](_0x5309ed,0x1),_0x5309ed--;const _0x36a73d=_0x17cebf[_0x595013(0x1d1)](_0x3f8706=>_0x3f8706[_0x595013(0x143)]==_0x4e06fd);_0x36a73d>-0x1&&_0x17cebf[_0x595013(0x1af)](_0x36a73d,0x1);}}function _0x58a036(_0x48a64a){const _0x578398=_0x595013,_0x3aa1f6=_0x48a64a[_0x578398(0x150)](':');return{'group':_0x3aa1f6[0x0],'type':_0x3aa1f6[0x1],'subType':_0x3aa1f6[_0x578398(0x109)]>=0x5?_0x3aa1f6[0x2]:null,'id':_0x3aa1f6[_0x578398(0x109)]<0x5?_0x3aa1f6[0x2]:_0x3aa1f6[0x3],'authorId':_0x3aa1f6[_0x578398(0x109)]<0x5?_0x3aa1f6[0x3]:_0x3aa1f6[0x4],'markerCount':0x6==_0x3aa1f6[_0x578398(0x109)]?_0x3aa1f6[0x5]:null};}function _0x4ccfef(_0x5e3ba8){const _0x13c4a6=_0x595013;for(let _0x306804=0x0;_0x306804<_0x17cebf[_0x13c4a6(0x109)];_0x306804++){if(_0x5e3ba8[_0x13c4a6(0xc2)]&&_0x13c4a6(0xe8)==_0x17cebf[_0x306804][_0x13c4a6(0x122)]&&_0x5e3ba8[_0x13c4a6(0xc2)][_0x13c4a6(0x104)]==_0x17cebf[_0x306804][_0x13c4a6(0x104)])return _0x5e3ba8[_0x13c4a6(0xb1)]=_0x17cebf[_0x306804],void delete _0x5e3ba8[_0x13c4a6(0xc2)];if(!_0x5e3ba8[_0x13c4a6(0xc2)]&&!_0x5e3ba8[_0x13c4a6(0x15a)]&&_0x13c4a6(0x1a3)==_0x17cebf[_0x306804][_0x13c4a6(0x122)])return void(_0x5e3ba8[_0x13c4a6(0x18b)]=_0x17cebf[_0x306804]);}}}[_0x47438d(0x18a)](_0xa4ebe3,_0x579a74){const _0x77e468=_0x47438d;let _0x143a66=0x0,_0x3ffda4=!0x1;const _0x2b93eb=new Map();for(const _0x19942e of _0xa4ebe3)_0x19942e[_0x579a74]?_0x3ffda4&&(_0x143a66++,_0x3ffda4=!0x1):(_0x143a66++,_0x3ffda4=!0x0),_0x2b93eb[_0x77e468(0xc1)](_0x19942e['id'],_0x143a66);for(let _0x27b4d1=0x0;_0x27b4d1<_0xa4ebe3[_0x77e468(0x109)];_0x27b4d1++){if(_0x77e468(0x15a)==_0x579a74&&_0xa4ebe3[_0x27b4d1][_0x77e468(0xc2)]||_0x77e468(0xc2)==_0x579a74&&_0xa4ebe3[_0x27b4d1][_0x77e468(0x15a)])continue;if(_0x77e468(0x1db)==_0xa4ebe3[_0x27b4d1][_0x77e468(0x122)]){_0xa4ebe3[_0x27b4d1][_0x77e468(0x19f)]=0x0;continue;}const _0x566db7=_0x2b93eb[_0x77e468(0x1bf)](_0xa4ebe3[_0x27b4d1][_0x77e468(0x1a8)]),_0x2a4fa4=_0x2b93eb[_0x77e468(0x1bf)](_0xa4ebe3[_0x27b4d1]['id']);_0xa4ebe3[_0x27b4d1][_0x77e468(0x19f)]=_0x566db7-_0x2a4fa4;}}[_0x47438d(0xc8)](_0x1c5a5a,_0x4b4bcf,_0x10b98e=!0x1){const _0x541fbe=_0x47438d,_0x358d98=[];let _0x3c6d1a=this[_0x541fbe(0x19e)][_0x541fbe(0x190)](_0x1c5a5a),_0x2884e5=this[_0x541fbe(0x19e)][_0x541fbe(0x190)](_0x4b4bcf);for(-0x1==_0x2884e5&&(_0x2884e5=this[_0x541fbe(0x19e)][_0x541fbe(0xcc)][_0x541fbe(0x109)],_0x10b98e=!0x1);_0x3c6d1a<_0x2884e5;)_0x358d98[_0x541fbe(0x1d0)](this[_0x541fbe(0x19e)][_0x541fbe(0x123)](_0x3c6d1a)),_0x3c6d1a++;return _0x10b98e&&_0x358d98[_0x541fbe(0x1d0)](this[_0x541fbe(0x19e)][_0x541fbe(0x123)](_0x3c6d1a)),_0x358d98;}[_0x47438d(0x17a)](_0xf810be,_0x467ccc,_0x3b7c29,_0x370ddf){const _0x2aa576=_0x47438d,_0x34378d=this[_0x2aa576(0x175)][_0x2aa576(0x18f)][_0x2aa576(0xb2)];let _0x15b515=_0x467ccc;for(;_0xf810be[_0x15b515]&&_0xf810be[_0x15b515][_0x2aa576(0xc2)];)_0x15b515++;let _0x472391=_0x370ddf;for(;_0x3b7c29[_0x472391]&&_0x3b7c29[_0x472391][_0x2aa576(0x15a)];)_0x472391++;_0xc0884e(_0xf810be,_0x467ccc,_0x15b515),_0xc0884e(_0x3b7c29,_0x370ddf,_0x472391);const _0x14123a=_0x3b7c29[_0x2aa576(0x13b)](_0x370ddf,_0x472391)[_0x2aa576(0x1be)](_0xf810be[_0x2aa576(0x13b)](_0x467ccc,_0x15b515));return _0x14123a[_0x2aa576(0xa7)]((_0x40fec4,_0x2ec79a)=>_0x40fec4[_0x2aa576(0xf9)]!=_0x2ec79a[_0x2aa576(0xf9)]?_0x40fec4[_0x2aa576(0xf9)]-_0x2ec79a[_0x2aa576(0xf9)]:_0x40fec4[_0x2aa576(0x100)]!=_0x2ec79a[_0x2aa576(0x100)]?_0x40fec4[_0x2aa576(0x100)]-_0x2ec79a[_0x2aa576(0x100)]:_0x40fec4[_0x2aa576(0x19f)]!=_0x2ec79a[_0x2aa576(0x19f)]?_0x2ec79a[_0x2aa576(0x19f)]-_0x40fec4[_0x2aa576(0x19f)]:!!_0x40fec4[_0x2aa576(0xc2)]!=!!_0x2ec79a[_0x2aa576(0xc2)]?-0x1==_0x40fec4[_0x2aa576(0xf9)]||0x0==_0x40fec4[_0x2aa576(0xf9)]?_0x40fec4[_0x2aa576(0xc2)]?-0x1:0x1:_0x40fec4[_0x2aa576(0xc2)]?0x1:-0x1:_0x40fec4[_0x2aa576(0x1e5)]-_0x2ec79a[_0x2aa576(0x1e5)]),{'commonTape':_0x14123a,'iEnd':_0x15b515,'jEnd':_0x472391};function _0xc0884e(_0x24dec1,_0x2e46ae,_0x3b5ab2){const _0x126993=_0x2aa576;let _0x4dbf20=-0x1,_0x1e747a=Number[_0x126993(0x181)],_0x14c6b4=!0x0;for(let _0xd9429f=_0x2e46ae;_0xd9429f<_0x3b5ab2;_0xd9429f++)if(_0x34378d[_0x126993(0x1de)](_0x24dec1[_0xd9429f][_0x126993(0x10d)])||(_0x14c6b4=!0x1),_0x24dec1[_0xd9429f][_0x126993(0x10d)][_0x126993(0x141)]<_0x2e46ae&&(_0x4dbf20=_0xd9429f),_0x24dec1[_0xd9429f][_0x126993(0x10d)][_0x126993(0x114)]>=_0x3b5ab2){_0x1e747a=_0xd9429f;break;}_0x14c6b4&&(_0x4dbf20=_0x3b5ab2-0x1);for(let _0x41539f=_0x2e46ae;_0x41539f<_0x3b5ab2;_0x41539f++)_0x24dec1[_0x41539f][_0x126993(0xf9)]=_0x41539f<=_0x4dbf20?-0x1:_0x41539f<_0x1e747a?0x0:0x1,_0x24dec1[_0x41539f][_0x126993(0x1e5)]=_0x41539f;let _0x23f86e=0x0;for(let _0x3d9bab=_0x2e46ae;_0x3d9bab<=_0x4dbf20;_0x3d9bab++)0x0==_0x24dec1[_0x3d9bab][_0x126993(0x19f)]?_0x24dec1[_0x3d9bab][_0x126993(0x100)]=_0x23f86e:(_0x23f86e++,_0x24dec1[_0x3d9bab][_0x126993(0x100)]=_0x23f86e,_0x23f86e++);for(let _0xb78484=_0x2e46ae;_0xb78484<_0x3b5ab2;_0xb78484++)0x0==_0x24dec1[_0xb78484][_0x126993(0xf9)]&&(_0x24dec1[_0xb78484][_0x126993(0x100)]=_0x23f86e);_0x23f86e=0x0;for(let _0x1d46e4=_0x3b5ab2-0x1;_0x1d46e4>=_0x1e747a;_0x1d46e4--)0x0==_0x24dec1[_0x1d46e4][_0x126993(0x19f)]?_0x24dec1[_0x1d46e4][_0x126993(0x100)]=_0x23f86e:(_0x23f86e--,_0x24dec1[_0x1d46e4][_0x126993(0x100)]=_0x23f86e,_0x23f86e--);}}[_0x47438d(0xd6)](_0x4470c9){const _0x2e79e6=_0x47438d,_0x2d2390=new Map(),_0x4f38f4=this[_0x2e79e6(0x175)][_0x2e79e6(0x18f)][_0x2e79e6(0xb2)];for(let _0x583533=0x1;_0x583533<_0x4470c9[_0x2e79e6(0x109)];_0x583533++){let _0x1cb6d8,_0x60e3b8,_0x3ecd4f;const _0x425661=_0x4470c9[_0x583533],_0x3944e6=_0x4470c9[_0x583533-0x1];if(_0x2e79e6(0x1db)==_0x425661[_0x2e79e6(0x122)])continue;if(_0x425661[_0x2e79e6(0x122)]!=_0x3944e6[_0x2e79e6(0x122)])continue;if(!_0x4f38f4[_0x2e79e6(0x15b)](_0x3944e6[_0x2e79e6(0x10d)])||_0x4f38f4[_0x2e79e6(0x1b0)](_0x3944e6[_0x2e79e6(0x10d)]))continue;if(!_0x4f38f4[_0x2e79e6(0x15b)](_0x425661[_0x2e79e6(0x10d)])||_0x4f38f4[_0x2e79e6(0x1b0)](_0x425661[_0x2e79e6(0x10d)]))continue;if((_0x4470c9[_0x583533][_0x2e79e6(0xc2)]||_0x4470c9[_0x583533][_0x2e79e6(0xb1)])&&_0x4470c9[_0x583533-0x1][_0x2e79e6(0x15a)])_0x1cb6d8=_0x4470c9[_0x583533],_0x60e3b8=_0x4470c9[_0x583533-0x1],_0x3ecd4f=_0x583533-0x1;else{if(!_0x4470c9[_0x583533][_0x2e79e6(0x15a)]||!_0x4470c9[_0x583533-0x1][_0x2e79e6(0xc2)]&&!_0x4470c9[_0x583533-0x1][_0x2e79e6(0xb1)])continue;_0x1cb6d8=_0x4470c9[_0x583533-0x1],_0x60e3b8=_0x4470c9[_0x583533],_0x3ecd4f=_0x583533;}const _0x4e78d5=_0x1cb6d8[_0x2e79e6(0x100)]==_0x60e3b8[_0x2e79e6(0x100)],_0x2b46d4=Math[_0x2e79e6(0x106)](_0x1cb6d8[_0x2e79e6(0x100)])<Math[_0x2e79e6(0x106)](_0x60e3b8[_0x2e79e6(0x100)])&&0x0==_0x60e3b8[_0x2e79e6(0x19f)];(_0x4e78d5||_0x2b46d4)&&(_0x2d2390[_0x2e79e6(0xc1)](_0x60e3b8['id'],_0x1cb6d8['id']),_0x4470c9[_0x2e79e6(0x1af)](_0x3ecd4f,0x1),_0x583533--,_0x1cb6d8[_0x2e79e6(0xc2)]=!0x1);}for(let _0x56d896=0x0;_0x56d896<_0x4470c9[_0x2e79e6(0x109)];_0x56d896++)_0x2d2390[_0x2e79e6(0xb6)](_0x4470c9[_0x56d896][_0x2e79e6(0x1a8)])&&(_0x4470c9[_0x56d896][_0x2e79e6(0x1a8)]=_0x2d2390[_0x2e79e6(0x1bf)](_0x4470c9[_0x56d896][_0x2e79e6(0x1a8)]));}[_0x47438d(0x19b)](_0x36095c){const _0x399ad6=_0x47438d,_0x19cae3=new Set(_0x36095c[_0x399ad6(0xe6)](_0x13b9ec=>_0x13b9ec['id']));for(let _0x1e3425=0x0;_0x1e3425<_0x36095c[_0x399ad6(0x109)];_0x1e3425++)_0x19cae3[_0x399ad6(0xb6)](_0x36095c[_0x1e3425][_0x399ad6(0x1a8)])||0x0==_0x36095c[_0x1e3425][_0x399ad6(0x19f)]||(_0x36095c[_0x1e3425][_0x399ad6(0x138)]=!0x0);return _0x36095c[_0x399ad6(0x12d)](_0x691e65=>!_0x691e65[_0x399ad6(0x138)]);}[_0x47438d(0x1ba)](_0x2780e2){const _0x172430=_0x47438d,_0x9afb92=new Set();for(let _0x29f92b=0x0;_0x29f92b<_0x2780e2[_0x172430(0x109)];_0x29f92b++){if(_0x9afb92[_0x172430(0xb6)](_0x2780e2[_0x29f92b]['id'])&&_0x2780e2[_0x29f92b][_0x172430(0x15a)]&&(_0x2780e2[_0x29f92b][_0x172430(0x138)]=!0x0),_0x2780e2[_0x29f92b][_0x172430(0x138)])continue;if(0x0==_0x2780e2[_0x29f92b][_0x172430(0x19f)])continue;if(_0x172430(0x111)!=_0x2780e2[_0x29f92b][_0x172430(0x122)])continue;if(null==_0x2780e2[_0x29f92b][_0x172430(0x1a8)])continue;let _0x113c2d=_0x29f92b+0x1,_0x554851=0x0;for(;_0x2780e2[_0x113c2d]['id']!=_0x2780e2[_0x29f92b][_0x172430(0x1a8)];)_0x172430(0x111)==_0x2780e2[_0x113c2d][_0x172430(0x122)]?_0x554851++:_0x172430(0xa5)==_0x2780e2[_0x113c2d][_0x172430(0x122)]&&_0x554851--,_0x113c2d++;if(0x0!=_0x554851){if(_0x2780e2[_0x29f92b][_0x172430(0x15a)])_0x2780e2[_0x29f92b][_0x172430(0x138)]=!0x0;else{for(;_0x113c2d!=_0x29f92b;)_0x2780e2[_0x113c2d][_0x172430(0x15a)]&&0x0!=_0x2780e2[_0x113c2d][_0x172430(0x19f)]&&(_0x2780e2[_0x113c2d][_0x172430(0x138)]=!0x0,_0x9afb92[_0x172430(0xd3)](_0x2780e2[_0x113c2d][_0x172430(0x1a8)])),_0x113c2d--;}}}return _0x2780e2[_0x172430(0x12d)](_0x29589b=>!_0x29589b[_0x172430(0x138)]);}[_0x47438d(0x145)](_0x1bc37f){const _0x43bbbd=_0x47438d,_0x5ee76c=this[_0x43bbbd(0x175)][_0x43bbbd(0x18f)][_0x43bbbd(0xb2)];for(let _0x2e43c2=0x0;_0x2e43c2<_0x1bc37f[_0x43bbbd(0x109)];_0x2e43c2++){if(!(_0x1bc37f[_0x2e43c2][_0x43bbbd(0xc2)]||_0x1bc37f[_0x2e43c2][_0x43bbbd(0xb1)]||_0x1bc37f[_0x2e43c2][_0x43bbbd(0x15a)]||_0x1bc37f[_0x2e43c2][_0x43bbbd(0x18b)]))continue;if(0x0==_0x1bc37f[_0x2e43c2][_0x43bbbd(0x19f)])continue;const _0x563bb3=_0x1bc37f[_0x2e43c2][_0x43bbbd(0x10d)];_0x5ee76c[_0x43bbbd(0x15b)](_0x563bb3)||_0x5ee76c[_0x43bbbd(0x1b0)](_0x563bb3)||(_0x1bc37f[_0x2e43c2][_0x43bbbd(0xc2)]&&delete _0x1bc37f[_0x2e43c2][_0x43bbbd(0xc2)],_0x1bc37f[_0x2e43c2][_0x43bbbd(0xb1)]&&delete _0x1bc37f[_0x2e43c2][_0x43bbbd(0xb1)],_0x1bc37f[_0x2e43c2][_0x43bbbd(0x18b)]&&delete _0x1bc37f[_0x2e43c2][_0x43bbbd(0x18b)],_0x1bc37f[_0x2e43c2][_0x43bbbd(0x15a)]&&(_0x1bc37f[_0x2e43c2][_0x43bbbd(0x138)]=!0x0));}return _0x1bc37f[_0x43bbbd(0x12d)](_0x44edc8=>!_0x44edc8[_0x43bbbd(0x138)]);}[_0x47438d(0x1c9)](_0x3d3838,_0x1981fc,_0x531c54){const _0xfb586f=_0x47438d,_0x50fe59=new _0x33faac(),_0x253476=[],_0x49fc86=new Map(),_0x457b06=this[_0xfb586f(0x175)][_0xfb586f(0x18f)],_0x40708a=_0x457b06[_0xfb586f(0xb2)],_0x10a65f=[_0x50fe59],_0x27f735={},_0x409dd7={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x523958=null;const _0x5c9249=[0x0];for(let _0xf121e9=0x0;_0xf121e9<_0x3d3838[_0xfb586f(0x109)];_0xf121e9++)if(_0xfb586f(0x111)===_0x3d3838[_0xf121e9][_0xfb586f(0x122)]){_0x3d3838[_0xf121e9][_0xfb586f(0x13d)]=_0x457b06[_0xfb586f(0x117)](_0x50fe59,_0x5c9249);const _0x497065=new _0x43ea4b(_0x3d3838[_0xf121e9][_0xfb586f(0x10d)][_0xfb586f(0x143)],_0x3d3838[_0xf121e9][_0xfb586f(0x10d)][_0xfb586f(0xdb)]());_0x10a65f[0x0][_0xfb586f(0x194)](_0x497065),_0x5c9249[_0xfb586f(0x1d0)](0x0),_0x10a65f[_0xfb586f(0x152)](_0x497065),_0x3d3838[_0xf121e9][_0xfb586f(0xc0)]=_0x457b06[_0xfb586f(0x117)](_0x50fe59,_0x5c9249);}else _0xfb586f(0xa5)===_0x3d3838[_0xf121e9][_0xfb586f(0x122)]?(_0x10a65f[_0xfb586f(0x14c)](),_0x3d3838[_0xf121e9][_0xfb586f(0x13d)]=_0x457b06[_0xfb586f(0x117)](_0x50fe59,_0x5c9249),_0x5c9249[_0xfb586f(0x16f)](),_0x5c9249[_0x5c9249[_0xfb586f(0x109)]-0x1]++,_0x3d3838[_0xf121e9][_0xfb586f(0xc0)]=_0x457b06[_0xfb586f(0x117)](_0x50fe59,_0x5c9249)):(_0x3d3838[_0xf121e9][_0xfb586f(0x13d)]=_0x457b06[_0xfb586f(0x117)](_0x50fe59,_0x5c9249),_0x523958?_0x523958[_0xfb586f(0x1bb)]+=_0x3d3838[_0xf121e9][_0xfb586f(0x10d)][_0xfb586f(0x19c)]:_0x523958=new _0x5a80e0(_0x3d3838[_0xf121e9][_0xfb586f(0x10d)][_0xfb586f(0x19c)],_0x3d3838[_0xf121e9][_0xfb586f(0x10d)][_0xfb586f(0xdb)]()),_0x3d3838[_0xf121e9+0x1]&&_0xfb586f(0x1db)===_0x3d3838[_0xf121e9+0x1][_0xfb586f(0x122)]&&_0x3a56c3(_0x523958,_0x3d3838[_0xf121e9+0x1][_0xfb586f(0x10d)])||(_0x10a65f[0x0][_0xfb586f(0x194)](_0x523958),_0x523958=null),_0x5c9249[_0x5c9249[_0xfb586f(0x109)]-0x1]+=_0x3d3838[_0xf121e9][_0xfb586f(0x10d)][_0xfb586f(0x16b)],_0x3d3838[_0xf121e9][_0xfb586f(0xc0)]=_0x457b06[_0xfb586f(0x117)](_0x50fe59,_0x5c9249));for(let _0x1e7761=0x0;_0x1e7761<_0x3d3838[_0xfb586f(0x109)];_0x1e7761++){const _0x128552=_0x3d3838[_0x1e7761][_0xfb586f(0x13d)],_0x2b7d5f=_0x3d3838[_0x1e7761][_0xfb586f(0xc0)];for(const _0x492b2f of _0x3d3838[_0x1e7761][_0xfb586f(0x186)])_0x49fc86[_0xfb586f(0xc1)](_0x492b2f,{'start':_0x128552,'end':null});_0x6a34f7(_0xfb586f(0x18b),_0x1e7761,_0x128552,_0x2b7d5f),_0x6a34f7(_0xfb586f(0xb1),_0x1e7761,_0x128552,_0x2b7d5f),_0x6a34f7(_0xfb586f(0x15a),_0x1e7761,_0x128552,_0x2b7d5f),_0x6a34f7(_0xfb586f(0xc2),_0x1e7761,_0x128552,_0x2b7d5f);for(const _0x527118 of _0x3d3838[_0x1e7761][_0xfb586f(0xaf)]){const _0x4c0dbf=_0x49fc86[_0xfb586f(0x1bf)](_0x527118);_0x4c0dbf?_0x4c0dbf[_0xfb586f(0xe2)]=_0x2b7d5f:_0x49fc86[_0xfb586f(0xc1)](_0x527118,{'start':_0x2b7d5f,'end':_0x2b7d5f});}}for(const [_0x975ecc,_0x63003c]of _0x49fc86){const _0x370cd5=this[_0xfb586f(0x175)][_0xfb586f(0x18f)][_0xfb586f(0x107)](_0x63003c[_0xfb586f(0x1a1)],_0x63003c[_0xfb586f(0xe2)]);_0x50fe59[_0xfb586f(0x124)][_0xfb586f(0xc1)](_0x975ecc,_0x370cd5);}return _0x253476[_0xfb586f(0xa7)]((_0x4beb16,_0x1a3b0d)=>{const _0x34e2f0=_0xfb586f,_0x42315f=_0x50fe59[_0x34e2f0(0x124)][_0x34e2f0(0x1bf)](_0x34e2f0(0x11b)+_0x4beb16['id']),_0x50b98a=_0x50fe59[_0x34e2f0(0x124)][_0x34e2f0(0x1bf)](_0x34e2f0(0x11b)+_0x1a3b0d['id']);return _0x42315f[_0x34e2f0(0x1a1)][_0x34e2f0(0x1d3)](_0x50b98a[_0x34e2f0(0x1a1)])?-0x1:_0x42315f[_0x34e2f0(0x1a1)][_0x34e2f0(0x1e6)](_0x50b98a[_0x34e2f0(0x1a1)])?0x1:_0x42315f[_0x34e2f0(0xe2)][_0x34e2f0(0x1d3)](_0x50b98a[_0x34e2f0(0xe2)])?-0x1:_0x42315f[_0x34e2f0(0xe2)][_0x34e2f0(0x1e6)](_0x50b98a[_0x34e2f0(0xe2)])?0x1:_0x34e2f0(0xd3)===_0x4beb16[_0x34e2f0(0x122)]?-0x1:0x1;}),{'root':_0x50fe59,'changes':_0x253476};function _0x6a34f7(_0x11cca8,_0x5037bc,_0x3edad6,_0x200e56){const _0x1e8426=_0xfb586f,_0x47b104=!!_0x3d3838[_0x5037bc][_0x11cca8],_0x519fcc=_0x47b104?_0x3d3838[_0x5037bc][_0x11cca8][_0x1e8426(0x104)]:null,_0x48ad4a=_0x5037bc===_0x3d3838[_0x1e8426(0x109)]-0x1,_0x11be21=_0x409dd7[_0x11cca8][0x0],_0x5524b5=_0x40708a[_0x1e8426(0xce)](_0x3d3838[_0x5037bc][_0x1e8426(0x10d)]);!_0x27f735[_0x11cca8]&&_0x47b104?_0x27f735[_0x11cca8]={'start':_0x3edad6,'tapeItem':_0x3d3838[_0x5037bc],'userId':_0x519fcc,'type':_0x11cca8}:_0x27f735[_0x11cca8]&&!_0x47b104?(_0x27f735[_0x11cca8][_0x1e8426(0xe2)]=_0x3edad6,_0x6b52f6(_0x27f735[_0x11cca8]),_0x27f735[_0x11cca8]=null):_0x27f735[_0x11cca8]&&_0x47b104&&_0x27f735[_0x11cca8][_0x1e8426(0x104)]!==_0x519fcc&&(_0x27f735[_0x11cca8][_0x1e8426(0xe2)]=_0x3edad6,_0x11be21&&_0x11be21[_0x1e8426(0x104)]===_0x27f735[_0x11cca8][_0x1e8426(0x104)]||_0x6b52f6(_0x27f735[_0x11cca8]),_0x27f735[_0x11cca8]={'start':_0x3edad6,'tapeItem':_0x3d3838[_0x5037bc],'userId':_0x519fcc,'type':_0x11cca8}),_0x27f735[_0x11cca8]&&_0x5524b5&&(_0x1e8426(0x111)!==_0x3d3838[_0x5037bc][_0x1e8426(0x122)]||_0x11be21&&_0x11be21[_0x1e8426(0x104)]===_0x519fcc||_0x409dd7[_0x11cca8][_0x1e8426(0x152)]({'userId':_0x519fcc,'object':_0x3d3838[_0x5037bc][_0x1e8426(0x10d)],'change':_0x27f735[_0x11cca8]}),_0x1e8426(0xa5)===_0x3d3838[_0x5037bc][_0x1e8426(0x122)]&&_0x11be21&&_0x11be21[_0x1e8426(0x196)]===_0x3d3838[_0x5037bc][_0x1e8426(0x10d)]&&(_0x409dd7[_0x11cca8][_0x1e8426(0x14c)](),_0x27f735[_0x11cca8]=_0x11be21[_0x1e8426(0xe5)])),_0x27f735[_0x11cca8]&&_0x48ad4a&&(_0x27f735[_0x11cca8][_0x1e8426(0xe2)]=_0x200e56,_0x6b52f6(_0x27f735[_0x11cca8]),_0x27f735[_0x11cca8]=null);}function _0x6b52f6({start:_0x3b26d4,end:_0x2ea5e4,tapeItem:_0x127271,userId:_0x9b7c43,type:_0x23e7c9}){const _0x2e31af=_0xfb586f,_0x1ee24d=_0x127271[_0x2e31af(0x10d)],_0x14b674=_0x457b06[_0x2e31af(0xb2)][_0x2e31af(0x15b)](_0x1ee24d)&&!_0x457b06[_0x2e31af(0xb2)][_0x2e31af(0x1b0)](_0x1ee24d),_0x145268=_0x3b26d4[_0x2e31af(0x1e9)]==_0x2ea5e4[_0x2e31af(0xcb)]&&_0x2ea5e4[_0x2e31af(0x160)];if(_0x14b674&&_0x145268)return;const _0x5620b0=_0x457b06[_0x2e31af(0x107)](_0x3b26d4,_0x2ea5e4),_0x3e5382=_0x1981fc[_0x2e31af(0x1bf)](_0x9b7c43),_0x262da5=new _0x2521a1({'author':_0x3e5382,'type':_0x2e31af(0xc2)==_0x23e7c9||_0x2e31af(0xb1)==_0x23e7c9?_0x2e31af(0xd3):_0x2e31af(0xb0),'data':{'isSuggestion':_0x2e31af(0xb1)==_0x23e7c9||_0x2e31af(0x18b)==_0x23e7c9},'createdAt':new Date(),'rootName':_0x531c54});_0x253476[_0x2e31af(0x1d0)](_0x262da5),_0x50fe59[_0x2e31af(0x124)][_0x2e31af(0xc1)](_0x2e31af(0x11b)+_0x262da5['id'],_0x5620b0);}function _0x3a56c3(_0x302270,_0x2f3c89){const _0x4984f8=_0xfb586f,_0x52ddb1=_0x302270[_0x4984f8(0xdb)](),_0x28d71b=_0x2f3c89[_0x4984f8(0xdb)]();for(const _0x2e3485 of _0x52ddb1){if(_0x2e3485[0x1]!==_0x2f3c89[_0x4984f8(0x102)](_0x2e3485[0x0]))return!0x1;_0x28d71b[_0x4984f8(0x11e)]();}return _0x28d71b[_0x4984f8(0x11e)]()[_0x4984f8(0x1b8)];}}[_0x47438d(0x133)](){const _0x3e9c9f=_0x47438d;this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x14e))[_0x3e9c9f(0x1d8)]({'view':_0x3e9c9f(0x179)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x15f))[_0x3e9c9f(0xcf)]({'model':_0x3e9c9f(0x179),'view':_0x47d909=>{const _0xf2231a=_0x3e9c9f,_0x58b9c6=_0x47d909[_0xf2231a(0x11d)][_0xf2231a(0x150)](':')[0x1],_0x2c4520=this[_0xf2231a(0x199)](_0x58b9c6);if(!_0x2c4520)return null;const _0x2ccab9=_0xf2231a(0xd3)==_0x2c4520[_0xf2231a(0x122)]?_0xf2231a(0xe8):_0xf2231a(0x1a3),_0x968cd3=[_0xf2231a(0x1c3),_0xf2231a(0x1e0)+_0x2ccab9];return _0x2c4520[_0xf2231a(0x19c)][_0xf2231a(0xfc)]&&_0x968cd3[_0xf2231a(0x1d0)](_0xf2231a(0x1e0)+_0x2ccab9+_0xf2231a(0xc5)),this[_0xf2231a(0x131)]==_0x2c4520&&_0x968cd3[_0xf2231a(0x1d0)](_0xf2231a(0x1d6)),{'classes':_0x968cd3,'attributes':{'data-change-id':_0x58b9c6}};}}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x14e))[_0x3e9c9f(0xd3)](_0x16675b=>{const _0x357a6d=_0x3e9c9f;_0x16675b['on'](_0x357a6d(0xb9),(_0x616c7d,_0x417e6f,_0x356b08)=>{const _0x1c3394=_0x357a6d,_0x24da47=_0x417e6f[_0x1c3394(0x112)][_0x1c3394(0x1a9)](0x0);if(!_0x24da47||!_0x24da47['is'](_0x1c3394(0xfe),_0x1c3394(0x1ae)))return;if(!_0x356b08[_0x1c3394(0x1e1)][_0x1c3394(0x128)](_0x24da47,{'attributes':[_0x1c3394(0x1e7),_0x1c3394(0xee)]}))return;const _0x3a7612=_0x417e6f[_0x1c3394(0xeb)][_0x1c3394(0x1a1)][_0x1c3394(0x1e9)];_0x356b08[_0x1c3394(0x1b5)][_0x1c3394(0x108)](_0x1c3394(0x1e7),_0x24da47[_0x1c3394(0x102)](_0x1c3394(0x1e7)),_0x3a7612),_0x356b08[_0x1c3394(0x1b5)][_0x1c3394(0x108)](_0x1c3394(0xee),_0x24da47[_0x1c3394(0x102)](_0x1c3394(0xee)),_0x3a7612);},{'priority':_0x357a6d(0xab)});}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x14e))[_0x3e9c9f(0xd3)](_0x2ca063=>{const _0x557d0e=_0x3e9c9f;_0x2ca063['on'](_0x557d0e(0xfe),(_0x4ea067,_0x59d712,_0xff445f)=>{const _0x19a0dd=_0x557d0e;if(!_0xff445f[_0x19a0dd(0x1e1)][_0x19a0dd(0x128)](_0x59d712[_0x19a0dd(0x112)],{'attributes':[_0x19a0dd(0x1e7),_0x19a0dd(0xee)]}))return;if(_0x59d712[_0x19a0dd(0xeb)][_0x19a0dd(0x188)])return;const _0x53be3b=_0x59d712[_0x19a0dd(0xeb)][_0x19a0dd(0x1a1)][_0x19a0dd(0x1e9)];_0x53be3b[_0x19a0dd(0x1c6)](_0x19a0dd(0x1e7))||_0x53be3b[_0x19a0dd(0x1c6)](_0x19a0dd(0xcd))||(_0xff445f[_0x19a0dd(0x1b5)][_0x19a0dd(0x108)](_0x19a0dd(0x1e7),_0x59d712[_0x19a0dd(0x112)][_0x19a0dd(0x102)](_0x19a0dd(0x1e7)),_0x53be3b),_0xff445f[_0x19a0dd(0x1b5)][_0x19a0dd(0x108)](_0x19a0dd(0xee),_0x59d712[_0x19a0dd(0x112)][_0x19a0dd(0x102)](_0x19a0dd(0xee)),_0x53be3b));},{'priority':_0x557d0e(0xab)});}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x14e))[_0x3e9c9f(0xed)]({'view':{'name':_0x3e9c9f(0x10a),'attributes':{'vid':!0x0}},'model':{'key':_0x3e9c9f(0xcd),'value':_0x4f6a59=>_0x4f6a59[_0x3e9c9f(0x102)](_0x3e9c9f(0xcd))}}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x18f)][_0x3e9c9f(0xb2)]['on'](_0x3e9c9f(0x118),(_0x547a8e,[,_0xe73129])=>{const _0x7192ba=_0x3e9c9f;[_0x7192ba(0x1e7),_0x7192ba(0xee),_0x7192ba(0xcd)][_0x7192ba(0xda)](_0xe73129)&&(_0x547a8e[_0x7192ba(0x113)]=!0x0,_0x547a8e[_0x7192ba(0x1a5)]());},{'priority':_0x3e9c9f(0xf1)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x149))[_0x3e9c9f(0xd3)](_0xe5d25b=>{const _0x3e8c53=_0x3e9c9f;_0xe5d25b['on'](_0x3e8c53(0x1cf),(_0x43ad56,_0xab5e1b,_0x50de27)=>{const _0xa81d96=_0x3e8c53;if('\x20'!=_0xab5e1b[_0xa81d96(0x10d)][_0xa81d96(0x19c)]||_0xab5e1b[_0xa81d96(0x10d)][_0xa81d96(0xcb)][_0xa81d96(0xa8)]>0x1)return;if(!_0x50de27[_0xa81d96(0x1e1)][_0xa81d96(0x128)](_0xab5e1b[_0xa81d96(0x10d)],_0x43ad56[_0xa81d96(0x143)]))return;const _0x22d693=_0x50de27[_0xa81d96(0x1b5)],_0x441570=_0x50de27[_0xa81d96(0x172)][_0xa81d96(0x180)](_0xab5e1b[_0xa81d96(0x157)]);_0x22d693[_0xa81d96(0x154)](_0x441570,_0x22d693[_0xa81d96(0xde)](_0xa81d96(0x10a)));});}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x149))[_0x3e9c9f(0xe0)]({'model':_0x3e9c9f(0x179)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x12b)][_0x3e9c9f(0x10b)]['on'](_0x3e9c9f(0x18e),function(_0x340a77){const _0x4caba4=_0x3e9c9f,_0x1ff30e=_0x340a77[_0x4caba4(0xf8)][_0x4caba4(0x1bf)](_0x4caba4(0x158));return(_0x1663a9,_0x5c366c,_0xca85e7)=>{const _0x499313=_0x4caba4,_0x25ed4b=_0x5c366c[_0x499313(0x11d)][_0x499313(0x150)](':')[0x1],_0x40e9fc=_0x1ff30e[_0x499313(0x199)](_0x25ed4b);if(!_0x40e9fc)return null;const _0x3ded6c=_0x499313(0xd3)==_0x40e9fc[_0x499313(0x122)]?_0x499313(0x150):_0x499313(0x148);if(!_0xca85e7[_0x499313(0x1e1)][_0x499313(0x12a)](_0x5c366c[_0x499313(0xe9)],_0x1663a9[_0x499313(0x143)]))return;const _0x128c1c=_0x5c366c[_0x499313(0xe9)][_0x499313(0x195)](),_0x35976d=_0x5c366c[_0x499313(0xe9)][_0x499313(0x1a1)],_0x116532=_0x340a77[_0x499313(0x18f)][_0x499313(0xb2)];let _0x3e7fca=null,_0x486d4a=null,_0x1acef2=!0x1,_0x19a6bd=!0x1;for(const _0x52b4c5 of _0x128c1c){const _0xce6336=_0x52b4c5[_0x499313(0x10d)];_0x1acef2=_0x1acef2||_0x116532[_0x499313(0xf2)](_0xce6336);const _0x29002d=_0xca85e7[_0x499313(0x172)][_0x499313(0x1c7)](_0xce6336);if(_0x29002d&&_0x29002d[_0x499313(0x165)](_0x499313(0x1bd)))return;_0x499313(0xa5)==_0x52b4c5[_0x499313(0x122)]&&(_0x116532[_0x499313(0x15b)](_0xce6336)&&!_0x116532[_0x499313(0x1b0)](_0xce6336)&&(_0xce6336[_0x499313(0x1d2)]||_0x35976d[_0x499313(0x1e4)]?_0x3e7fca&&_0x3e7fca[_0x499313(0xcb)]==_0xce6336||(_0x3e7fca=_0xce6336,_0x2ee6c2(_0x52b4c5[_0x499313(0x13d)]),_0x19a6bd=!0x0):_0x486d4a=_0x486d4a||_0x52b4c5[_0x499313(0x13d)]));}function _0x2ee6c2(_0x295239){const _0x132105=_0x499313,_0x59f587=_0xca85e7[_0x132105(0x1b5)][_0x132105(0x15e)](_0x132105(0x10a),{'class':_0x132105(0x1e0)+_0x3ded6c}),_0x4ddee9=_0xca85e7[_0x132105(0x172)][_0x132105(0x1ac)](_0x295239);_0x40e9fc[_0x132105(0x19c)][_0x132105(0xfc)]&&_0xca85e7[_0x132105(0x1b5)][_0x132105(0x132)](_0x132105(0x1e0)+_0x3ded6c+_0x132105(0xc5),_0x59f587),_0x1ff30e[_0x132105(0x131)]==_0x40e9fc&&_0xca85e7[_0x132105(0x1b5)][_0x132105(0x132)](_0x132105(0x1d6),_0x59f587),_0xca85e7[_0x132105(0x1b5)][_0x132105(0xdc)](_0x4ddee9,_0x59f587),_0xca85e7[_0x132105(0x172)][_0x132105(0x191)](_0x59f587,_0x5c366c[_0x132105(0x11d)]);}_0x1acef2||_0x19a6bd||!_0x486d4a||_0x2ee6c2(_0x486d4a);};}(this[_0x3e9c9f(0x175)]),{'priority':_0x3e9c9f(0x192)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x12b)][_0x3e9c9f(0x10b)]['on'](_0x3e9c9f(0xd7),(_0x1abb30,_0x2eb9db,_0x44333a)=>{const _0x56c829=_0x3e9c9f,_0x46aa75=_0x44333a[_0x56c829(0x172)][_0x56c829(0xc3)](_0x2eb9db[_0x56c829(0x11d)]);if(_0x46aa75){for(const _0x516cd5 of _0x46aa75)(_0x516cd5[_0x56c829(0x1da)](_0x56c829(0x159))||_0x516cd5[_0x56c829(0x1da)](_0x56c829(0x10e)))&&(_0x44333a[_0x56c829(0x172)][_0x56c829(0xef)](_0x516cd5,_0x2eb9db[_0x56c829(0x11d)]),_0x44333a[_0x56c829(0x1b5)][_0x56c829(0xb0)](_0x516cd5));}},{'priority':_0x3e9c9f(0x192)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x12b)][_0x3e9c9f(0x10b)]['on'](_0x3e9c9f(0x18e),(_0x233e55,_0x2f4fb8,_0x2fdfc7)=>{const _0x12ab87=_0x3e9c9f,_0x152d82=_0x2f4fb8[_0x12ab87(0x11d)][_0x12ab87(0x150)](':')[0x1],_0x577ea0=this[_0x12ab87(0x199)](_0x152d82);if(!_0x577ea0)return null;const _0x361af4=_0x12ab87(0xd3)==_0x577ea0[_0x12ab87(0x122)]?_0x12ab87(0x150):_0x12ab87(0x148);if(_0x2fdfc7[_0x12ab87(0x1e1)][_0x12ab87(0x12a)](_0x2f4fb8[_0x12ab87(0xe9)],_0x233e55[_0x12ab87(0x143)]))for(const _0x48b40e of _0x2f4fb8[_0x12ab87(0xe9)][_0x12ab87(0x127)]()){if(!_0x48b40e['is'](_0x12ab87(0xfe),_0x12ab87(0x162)))continue;const _0x45c6da=_0x2fdfc7[_0x12ab87(0x1b5)][_0x12ab87(0x15e)](_0x12ab87(0x10a),{'class':_0x12ab87(0x1e0)+_0x361af4}),_0x45b491=_0x2fdfc7[_0x12ab87(0x172)][_0x12ab87(0x1ac)](this[_0x12ab87(0x175)][_0x12ab87(0x18f)][_0x12ab87(0x1b2)](_0x48b40e));_0x577ea0[_0x12ab87(0x19c)][_0x12ab87(0xfc)]&&_0x2fdfc7[_0x12ab87(0x1b5)][_0x12ab87(0x132)](_0x12ab87(0x1e0)+_0x361af4+_0x12ab87(0xc5),_0x45c6da),this[_0x12ab87(0x131)]==_0x577ea0&&_0x2fdfc7[_0x12ab87(0x1b5)][_0x12ab87(0x132)](_0x12ab87(0x1d6),_0x45c6da),_0x2fdfc7[_0x12ab87(0x1b5)][_0x12ab87(0xdc)](_0x45b491,_0x45c6da),_0x2fdfc7[_0x12ab87(0x172)][_0x12ab87(0x191)](_0x45c6da,_0x2f4fb8[_0x12ab87(0x11d)]);}},{'priority':_0x3e9c9f(0x192)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x18f)][_0x3e9c9f(0xb3)]['on'](_0x3e9c9f(0xe5),()=>{const _0x5d5325=_0x3e9c9f;this[_0x5d5325(0x175)][_0x5d5325(0x12b)][_0x5d5325(0x167)][_0x5d5325(0xe5)](_0x37882e=>{const _0x2d71f7=_0x5d5325;for(const _0x5a5b38 of this[_0x2d71f7(0x175)][_0x2d71f7(0x18f)][_0x2d71f7(0xb3)][_0x2d71f7(0xd2)]()){const _0x4e24d3=this[_0x2d71f7(0x175)][_0x2d71f7(0x18f)][_0x2d71f7(0xb3)][_0x2d71f7(0xd8)](_0x5a5b38),_0x14b923=this[_0x2d71f7(0x175)][_0x2d71f7(0x12b)][_0x2d71f7(0x167)][_0x2d71f7(0xb3)][_0x2d71f7(0xd8)](_0x5a5b38);if(_0x14b923){const _0x4a3c8f=_0x4e24d3[_0x2d71f7(0x102)](_0x2d71f7(0xc9));if(_0x37882e[_0x2d71f7(0x125)](_0x2d71f7(0x1cb),_0x14b923),_0x37882e[_0x2d71f7(0x198)](_0x2d71f7(0x1dc),_0x14b923),_0x37882e[_0x2d71f7(0x198)](_0x2d71f7(0x134),_0x14b923),_0x37882e[_0x2d71f7(0x198)](_0x2d71f7(0x12c),_0x14b923),_0x4a3c8f){const _0x5c8971=this[_0x2d71f7(0x199)](_0x4a3c8f);if(!_0x5c8971)return null;_0x37882e[_0x2d71f7(0x108)](_0x2d71f7(0x1cb),_0x4a3c8f,_0x14b923),_0x37882e[_0x2d71f7(0x132)](_0x2d71f7(0x1e8)+_0x5c8971[_0x2d71f7(0x122)],_0x14b923),this[_0x2d71f7(0x131)]==_0x5c8971&&_0x37882e[_0x2d71f7(0x132)](_0x2d71f7(0x12c),_0x14b923);}}}});}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x14e))[_0x3e9c9f(0x1d8)]({'view':_0x3e9c9f(0x15d),'model':_0x310659=>_0x3e9c9f(0x1c0)+_0x310659,'converterPriority':_0x3e9c9f(0xf1)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x14e))[_0x3e9c9f(0x1d8)]({'view':_0x3e9c9f(0x142),'model':_0x58aca5=>_0x3e9c9f(0x13c)+_0x58aca5,'converterPriority':_0x3e9c9f(0xf1)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x149))[_0x3e9c9f(0xe0)]({'model':_0x3e9c9f(0x153),'view':_0x4b0a3a=>({'name':_0x3e9c9f(0x189)+_0x4b0a3a,'group':_0x3e9c9f(0x153)}),'converterPriority':_0x3e9c9f(0xf1)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x170)][_0x3e9c9f(0x1a0)](_0x3e9c9f(0x15f))[_0x3e9c9f(0xcf)]({'model':_0x3e9c9f(0x153),'view':_0x3b451c=>{const _0x16c3e4=_0x3e9c9f,_0x10150c=_0x3b451c[_0x16c3e4(0x11d)][_0x16c3e4(0x150)](':')[0x1];return _0x16c3e4(0xe8)!=_0x10150c&&_0x16c3e4(0x1a3)!=_0x10150c?null:{'classes':[_0x16c3e4(0x184),_0x16c3e4(0x161)+_0x10150c]};}}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x12b)][_0x3e9c9f(0x10b)]['on'](_0x3e9c9f(0x144),Q(this[_0x3e9c9f(0x175)],_0x3e9c9f(0x148)),{'priority':_0x3e9c9f(0x192)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x12b)][_0x3e9c9f(0x10b)]['on'](_0x3e9c9f(0x136),Q(this[_0x3e9c9f(0x175)],_0x3e9c9f(0x150)),{'priority':_0x3e9c9f(0x192)}),this[_0x3e9c9f(0x175)][_0x3e9c9f(0x12b)][_0x3e9c9f(0x10b)]['on'](_0x3e9c9f(0x11c),(_0x5e7fa8,_0x383183,_0x282f09)=>{const _0x29ec09=_0x3e9c9f,_0x367699=_0x282f09[_0x29ec09(0x172)][_0x29ec09(0xc3)](_0x383183[_0x29ec09(0x11d)]);if(_0x367699){for(const _0x3dcf53 of _0x367699)_0x3dcf53['is'](_0x29ec09(0xca))&&(_0x282f09[_0x29ec09(0x172)][_0x29ec09(0xef)](_0x3dcf53,_0x383183[_0x29ec09(0x11d)]),_0x282f09[_0x29ec09(0x1b5)][_0x29ec09(0xb0)](_0x3dcf53));}},{'priority':_0x3e9c9f(0x192)});}[_0x47438d(0x199)](_0x552074){const _0x38f5f4=_0x47438d;return this[_0x38f5f4(0xfa)][_0x38f5f4(0x1bf)](_0x552074);}[_0x47438d(0x171)](_0x30b970){const _0x24a6b5=_0x47438d;return this[_0x24a6b5(0x1eb)]&&this[_0x24a6b5(0x1eb)][_0x24a6b5(0x17f)](),this[_0x24a6b5(0x1eb)]=new _0x8eb9dc(this[_0x24a6b5(0x175)][_0x24a6b5(0x14b)],_0x30b970),this[_0x24a6b5(0x1eb)];}[_0x47438d(0x187)](){const _0x59dbbf=_0x47438d;this[_0x59dbbf(0x175)][_0x59dbbf(0x18f)][_0x59dbbf(0xb3)][_0x59dbbf(0x1b9)][_0x59dbbf(0x16a)](_0x59dbbf(0x179)),this['on'](_0x59dbbf(0xf6),(_0x551ba5,_0x46d384,_0xca967,_0x5ec9da)=>{const _0x4bff6e=_0x59dbbf;_0x5ec9da&&this[_0x4bff6e(0x156)][_0x4bff6e(0xb0)](_0x5ec9da),_0xca967&&(this[_0x4bff6e(0x156)][_0x4bff6e(0xd3)]({'view':_0xca967,'stackId':_0x4bff6e(0xac),'position':{'target':()=>{const _0x10b662=_0x4bff6e,_0x4044bb=this[_0x10b662(0x175)][_0x10b662(0x12b)],_0x307b13=this[_0x10b662(0x199)](_0xca967[_0x10b662(0x177)]);let _0xe78363;if(_0x307b13[_0x10b662(0x19c)][_0x10b662(0x15c)]){const _0x466982=_0x4044bb[_0x10b662(0x167)][_0x10b662(0x197)](_0x307b13[_0x10b662(0x1c4)]);_0xe78363=Array[_0x10b662(0xf7)](_0x466982[_0x10b662(0x12e)]());}else{const _0x312e58=this[_0x10b662(0x175)][_0x10b662(0x18f)][_0x10b662(0x124)][_0x10b662(0x1bf)](_0x10b662(0x11b)+_0xca967[_0x10b662(0x177)]);_0xe78363=Array[_0x10b662(0xf7)](_0x4044bb[_0x10b662(0x172)][_0x10b662(0xc3)](_0x312e58[_0x10b662(0x143)]))[_0x10b662(0xe6)](_0x45b2b6=>_0x4044bb[_0x10b662(0x167)][_0x10b662(0xbf)][_0x10b662(0x116)](_0x45b2b6))[_0x10b662(0xe6)](_0x4d709c=>Array[_0x10b662(0xf7)](_0x4d709c[_0x10b662(0x12e)]()))[_0x10b662(0xc4)]();}if(!this[_0x10b662(0x1b1)])return _0xe78363[0x0];return _0xe78363[_0x10b662(0xbc)](_0x579933=>_0x579933[_0x10b662(0xff)]-0x3<=this[_0x10b662(0x1b1)]['y']&&_0x579933[_0x10b662(0xe3)]+0x3>=this[_0x10b662(0x1b1)]['y']&&_0x579933[_0x10b662(0xbb)]-0x3<=this[_0x10b662(0x1b1)]['x']&&_0x579933[_0x10b662(0xbd)]+0x3>=this[_0x10b662(0x1b1)]['x'])||_0xe78363[0x0];}}}),this[_0x4bff6e(0x156)][_0x4bff6e(0x176)](_0x4bff6e(0xac)));}),this['on'](_0x59dbbf(0x1aa),(_0x1012dc,_0x10f577,_0x2cabd5,_0x38339d)=>{const _0x26d412=_0x59dbbf;this[_0x26d412(0x105)]=_0x2cabd5?this[_0x26d412(0x171)](_0x2cabd5):null,this[_0x26d412(0x175)][_0x26d412(0x18f)][_0x26d412(0xe5)](()=>{const _0x3f7b13=_0x26d412,_0x2388b9=this[_0x3f7b13(0x175)][_0x3f7b13(0x12b)];_0x38339d&&(_0x38339d[_0x3f7b13(0x19c)][_0x3f7b13(0x15c)]?_0x2388b9[_0x3f7b13(0x167)][_0x3f7b13(0xe5)](_0x28f230=>{const _0x27946d=_0x3f7b13;_0x28f230[_0x27946d(0x198)](_0x27946d(0x12c),_0x2388b9[_0x27946d(0x167)][_0x27946d(0xb3)][_0x27946d(0xd8)](_0x38339d[_0x27946d(0x1c4)]));}):_0x2388b9[_0x3f7b13(0x1c5)](_0x3f7b13(0x11b)+_0x38339d['id'])),_0x2cabd5&&(_0x2cabd5[_0x3f7b13(0x19c)][_0x3f7b13(0x15c)]?_0x2388b9[_0x3f7b13(0x167)][_0x3f7b13(0xe5)](_0x2e3a7b=>{const _0xe5d7c=_0x3f7b13;_0x2e3a7b[_0xe5d7c(0x132)](_0xe5d7c(0x12c),_0x2388b9[_0xe5d7c(0x167)][_0xe5d7c(0xb3)][_0xe5d7c(0xd8)](_0x2cabd5[_0xe5d7c(0x1c4)]));}):_0x2388b9[_0x3f7b13(0x1c5)](_0x3f7b13(0x11b)+_0x2cabd5['id']));});}),this[_0x59dbbf(0x139)](this[_0x59dbbf(0x175)][_0x59dbbf(0x12b)][_0x59dbbf(0x167)][_0x59dbbf(0xb3)],_0x59dbbf(0x168),(_0xd5c8c1,_0xad78f7)=>{const _0x3dfc78=_0x59dbbf;if(this[_0x3dfc78(0x131)])return;const _0x3cbe16=this[_0x3dfc78(0xea)](_0xad78f7[_0x3dfc78(0x1a2)]),_0x1a4416=this[_0x3dfc78(0xfa)][_0x3dfc78(0x1bf)](_0x3cbe16);_0x1a4416?(this[_0x3dfc78(0x1b1)]={'x':_0xad78f7[_0x3dfc78(0x10c)]['x'],'y':_0xad78f7[_0x3dfc78(0x10c)]['y']},this[_0x3dfc78(0x105)]=this[_0x3dfc78(0x171)](_0x1a4416)):(this[_0x3dfc78(0x1b1)]=null,this[_0x3dfc78(0x105)]=null);}),this[_0x59dbbf(0x139)](this[_0x59dbbf(0x175)][_0x59dbbf(0x12b)][_0x59dbbf(0x167)][_0x59dbbf(0xb3)],_0x59dbbf(0xfb),(_0xcffe6f,_0x2b364f)=>{const _0x4f9cab=_0x59dbbf,_0x2fc00f=this[_0x4f9cab(0xea)](_0x2b364f[_0x4f9cab(0x1a2)]),_0x534997=this[_0x4f9cab(0xfa)][_0x4f9cab(0x1bf)](_0x2fc00f);_0x534997?(this[_0x4f9cab(0x1b1)]={'x':_0x2b364f[_0x4f9cab(0x10c)]['x'],'y':_0x2b364f[_0x4f9cab(0x10c)]['y']},_0x534997===this[_0x4f9cab(0x131)]?this[_0x4f9cab(0x156)][_0x4f9cab(0x11f)]():this[_0x4f9cab(0x131)]=_0x534997):(this[_0x4f9cab(0x1b1)]=null,this[_0x4f9cab(0x131)]=null);});}[_0x47438d(0xea)](_0x21c300){const _0x2222ef=_0x47438d;do{const _0x29fafa=_0x21c300[_0x2222ef(0x102)](_0x2222ef(0x1cb));if(_0x29fafa)return _0x29fafa;_0x21c300=_0x21c300[_0x2222ef(0xcb)];}while(_0x21c300);return null;}[_0x47438d(0xaa)](){const _0x389751=_0x47438d;this[_0x389751(0x175)][_0x389751(0x18f)][_0x389751(0xe5)](_0x740f38=>{const _0x6fbc6e=_0x389751;for(const _0x56ba6d of this[_0x6fbc6e(0x175)][_0x6fbc6e(0x18f)][_0x6fbc6e(0x124)])_0x740f38[_0x6fbc6e(0x17d)](_0x56ba6d);});}}function Q(_0x4610ea,_0x190b0e){return(_0x47edc8,_0x273d08,_0xde1320)=>{const _0x2096ce=_0x57b2;if(!_0xde1320[_0x2096ce(0x1e1)][_0x2096ce(0x12a)](_0x273d08[_0x2096ce(0xe9)],_0x47edc8[_0x2096ce(0x143)]))return;const _0x50fbb8=_0x273d08[_0x2096ce(0xe9)][_0x2096ce(0x195)](),_0x28077e=_0x273d08[_0x2096ce(0xe9)][_0x2096ce(0x1a1)],_0x755c42=_0x4610ea[_0x2096ce(0x18f)][_0x2096ce(0xb2)];let _0x4c30df=null,_0x4b2897=null,_0x20f96e=!0x1,_0x493ffc=!0x1;for(const _0x28fbec of _0x50fbb8){const _0x57da4d=_0x28fbec[_0x2096ce(0x10d)];_0x20f96e=_0x20f96e||_0x755c42[_0x2096ce(0xf2)](_0x57da4d);const _0x1199fb=_0xde1320[_0x2096ce(0x172)][_0x2096ce(0x1c7)](_0x57da4d);if(_0x1199fb&&_0x1199fb[_0x2096ce(0x165)](_0x2096ce(0x1bd)))return;_0x2096ce(0xa5)==_0x28fbec[_0x2096ce(0x122)]&&(_0x755c42[_0x2096ce(0x15b)](_0x57da4d)&&!_0x755c42[_0x2096ce(0x1b0)](_0x57da4d)&&(_0x57da4d[_0x2096ce(0x1d2)]||_0x28077e[_0x2096ce(0x1e4)]?_0x4c30df&&_0x4c30df[_0x2096ce(0xcb)]==_0x57da4d||(_0x4c30df=_0x57da4d,_0x3d80f3(_0x28fbec[_0x2096ce(0x13d)]),_0x493ffc=!0x0):_0x4b2897=_0x4b2897||_0x28fbec[_0x2096ce(0x13d)]));}function _0x3d80f3(_0x3348eb){const _0x668449=_0x2096ce,_0x4ae972=_0xde1320[_0x668449(0x172)][_0x668449(0x1ac)](_0x3348eb),_0x55a021=_0xde1320[_0x668449(0x1b5)][_0x668449(0x15e)](_0x668449(0x10a),{'class':_0x668449(0x161)+_0x190b0e});_0xde1320[_0x668449(0x1b5)][_0x668449(0xdc)](_0x4ae972,_0x55a021),_0xde1320[_0x668449(0x172)][_0x668449(0x191)](_0x55a021,_0x273d08[_0x668449(0x11d)]);}_0x20f96e||_0x493ffc||!_0x4b2897||_0x3d80f3(_0x4b2897);};}export class RestoreRevisionCommand extends _0x703036{constructor(_0x39a1e9){const _0x4130d5=_0x47438d;super(_0x39a1e9);const _0x1ff04e=_0x39a1e9[_0x4130d5(0xf8)][_0x4130d5(0x1bf)](RevisionViewer);this[_0x4130d5(0x1cd)]=!0x1,this[_0x4130d5(0x139)](_0x1ff04e,_0x4130d5(0xe7),()=>this[_0x4130d5(0x13a)]()),this[_0x4130d5(0x139)](_0x1ff04e,_0x4130d5(0x147),()=>this[_0x4130d5(0x13a)]());}[_0x47438d(0xe4)](){const _0x46a2af=_0x47438d,_0x1bc848=this[_0x46a2af(0x175)],_0x3f4a1d=_0x1bc848[_0x46a2af(0xf8)][_0x46a2af(0x1bf)](RevisionViewer),_0x2846d5=_0x3f4a1d[_0x46a2af(0xb4)]?_0x3f4a1d[_0x46a2af(0xd4)][_0x46a2af(0x120)]:null;_0x1bc848[_0x46a2af(0x14d)][_0x46a2af(0x1bf)](_0x46a2af(0x11a))[_0x46a2af(0xbe)](_0x2846d5);}[_0x47438d(0x13a)](){const _0x436f43=_0x47438d,{isReady:_0x4fe128,isEnabled:_0x38d76b,repository:_0x1f6818,diff:_0x45a6ce}=this[_0x436f43(0x175)][_0x436f43(0xf8)][_0x436f43(0x1bf)](RevisionViewer),_0x5f5779=_0x45a6ce&&_0x1f6818[_0x436f43(0x1bc)](_0x45a6ce[_0x436f43(0x120)]);this[_0x436f43(0x151)]=_0x4fe128&&_0x38d76b&&Boolean(_0x5f5779);}}export class ShowChangeCommand extends _0x703036{[_0x47438d(0x140)];constructor(_0x9f3b72,{direction:_0x517204}){const _0x15bd1d=_0x47438d;super(_0x9f3b72);const _0x2c052b=_0x9f3b72[_0x15bd1d(0xf8)][_0x15bd1d(0x1bf)](RevisionViewer);this[_0x15bd1d(0x1cd)]=!0x1,this[_0x15bd1d(0x140)]=_0x15bd1d(0x169)===_0x517204?0x1:-0x1,this[_0x15bd1d(0x139)](_0x2c052b,_0x15bd1d(0xe7),()=>this[_0x15bd1d(0x13a)]()),this[_0x15bd1d(0x139)](_0x2c052b,_0x15bd1d(0x147),()=>this[_0x15bd1d(0x13a)]()),this[_0x15bd1d(0x139)](_0x2c052b,_0x15bd1d(0x1aa),()=>this[_0x15bd1d(0x13a)]());}[_0x47438d(0xe4)](){const _0x152554=_0x47438d,_0x412cba=this[_0x152554(0x175)],_0x1c480e=_0x412cba[_0x152554(0xf8)][_0x152554(0x1bf)](RevisionViewer),{isNavigationMode:_0x4898f7,currentChangeNumber:_0x18aea}=_0x1c480e;let _0x3318fb;if(_0x1c480e[_0x152554(0x131)]=_0x4898f7?_0x1c480e[_0x152554(0xd4)][_0x152554(0xd5)][_0x152554(0x1bf)](_0x18aea+this[_0x152554(0x140)]):_0x1c480e[_0x152554(0xd4)][_0x152554(0xd5)][_0x152554(0x182)],_0x1c480e[_0x152554(0x131)][_0x152554(0x19c)][_0x152554(0x15c)])_0x3318fb=_0x412cba[_0x152554(0x12b)][_0x152554(0x167)][_0x152554(0x197)](_0x1c480e[_0x152554(0x131)][_0x152554(0x1c4)]);else{const _0x2d55bd=_0x412cba[_0x152554(0x18f)][_0x152554(0x124)][_0x152554(0x1bf)](_0x152554(0x11b)+_0x1c480e[_0x152554(0x131)]['id']);_0x3318fb=_0xf9bac9(_0x412cba[_0x152554(0x12b)],_0x2d55bd);}_0x5272d0({'target':_0x3318fb,'viewportOffset':0x28});}[_0x47438d(0x13a)](){const _0x245a97=_0x47438d,{isNavigationMode:_0x2be224,currentChangeNumber:_0x208a78,numberOfChanges:_0x1b21d8,isReady:_0x2490b1,isEnabled:_0x55881c}=this[_0x245a97(0x175)][_0x245a97(0xf8)][_0x245a97(0x1bf)](RevisionViewer);this[_0x245a97(0x151)]=!!(_0x55881c&&_0x2490b1&&_0x1b21d8)&&(!_0x2be224||(0x1===this[_0x245a97(0x140)]?_0x208a78<_0x1b21d8-0x1:_0x208a78>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x29f6(){const _0x58cc34=['children','locale','ck-on','Restore\x20this\x20revision','listenTo','295JpvPTw','source','change:isActionsDropdownOpen','bindTemplate','isActionsDropdownOpen','46479XKpLLz','7032886cnCWYM','execute','class','first','panelPosition','extendTemplate','buttonView','isEnabled','model','button','function','map','179082kPTLTR','isVisible','listView','Show\x20more\x20items','Name\x20this\x20revision','Compare\x20against\x20selected','set','stopPropagation','items','bind','146sYMqYa','add','action','name','menuitem','isReady','isOpen','83676ylrvxm','48JkopRS','ck-revision-history-sidebar__revision__actions','_action','menu','21444450nxuOIz','find','4318398fuuwjv','1015007ybDOoE'];_0x29f6=function(){return _0x58cc34;};return _0x29f6();}(function(_0x26e48d,_0x19c7c0){const _0x10fa2d=_0x1259,_0x344d7f=_0x26e48d();while(!![]){try{const _0x576c85=parseInt(_0x10fa2d(0x126))/0x1+parseInt(_0x10fa2d(0x117))/0x2*(-parseInt(_0x10fa2d(0x131))/0x3)+parseInt(_0x10fa2d(0x11e))/0x4*(parseInt(_0x10fa2d(0x12c))/0x5)+parseInt(_0x10fa2d(0x125))/0x6+parseInt(_0x10fa2d(0x132))/0x7+-parseInt(_0x10fa2d(0x11f))/0x8*(-parseInt(_0x10fa2d(0x10d))/0x9)+-parseInt(_0x10fa2d(0x123))/0xa;if(_0x576c85===_0x19c7c0)break;else _0x344d7f['push'](_0x344d7f['shift']());}catch(_0x460715){_0x344d7f['push'](_0x344d7f['shift']());}}}(_0x29f6,0xc79cd));import{Collection as _0x18e679}from'ckeditor5/src/utils.js';import{IconThreeVerticalDots as _0x1ec0d3}from'ckeditor5/src/icons.js';import{UIModel as _0x163b99,addListToDropdown as _0x2e5ae6,createDropdown as _0x3cb8c3}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e6920}from'../../utils/common-translations.js';function _0x1259(_0x44baf7,_0x3f18b0){const _0x29f685=_0x29f6();return _0x1259=function(_0x125953,_0x5ee8e8){_0x125953=_0x125953-0x10d;let _0x43120c=_0x29f685[_0x125953];return _0x43120c;},_0x1259(_0x44baf7,_0x3f18b0);}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x175286,_0xa66f71){const _0x3d8115=_0x1259,_0x3adbf2=_0x175286[_0x3d8115(0x12f)],_0x3bd306=_0x175286[_0x3d8115(0x128)],_0x379bd7=_0x3cb8c3(_0x3bd306);_0x379bd7[_0x3d8115(0x136)]='sw';const _0x3b7958=function(_0x3aff42,_0x9d167b){const _0x2a8275=_0x3d8115,_0xd21b4a=function(_0x38b654,_0x5338ef){const _0x1fbde2=_0x1259,_0x541849=_0x38b654[_0x1fbde2(0x128)],_0x65563c={'Compare\x20against\x20selected':_0x2e6920(_0x541849,_0x1fbde2(0x112)),'Name\x20this\x20revision':_0x2e6920(_0x541849,_0x1fbde2(0x111)),'Restore\x20this\x20revision':_0x2e6920(_0x541849,_0x1fbde2(0x12a))};return _0x5338ef[_0x1fbde2(0x13d)](_0x167de4=>{const _0x420155=_0x1fbde2,_0x591162=_0x65563c[_0x167de4[_0x420155(0x11a)]];return _0x591162&&_0x591162!==_0x167de4[_0x420155(0x11a)]&&(_0x167de4[_0x420155(0x11a)]=_0x591162),_0x167de4;});}(_0x3aff42,_0x9d167b),_0x226859=new _0x18e679();for(const _0x1b2ff3 of _0xd21b4a){const _0x55cdb5={'type':_0x2a8275(0x13b),'model':new _0x163b99({'label':_0x1b2ff3[_0x2a8275(0x11a)],'class':_0x1b2ff3[_0x2a8275(0x134)],'withText':!0x0,'role':_0x2a8275(0x11b),'_action':_0x1b2ff3[_0x2a8275(0x119)]})};_0x55cdb5[_0x2a8275(0x13a)][_0x2a8275(0x116)](_0x2a8275(0x139))['to'](_0x3aff42,_0x2a8275(0x130),_0x391522=>_0x2a8275(0x13c)!=typeof _0x1b2ff3[_0x2a8275(0x139)]||(!_0x391522||_0x1b2ff3[_0x2a8275(0x139)](_0x3aff42))),_0x226859[_0x2a8275(0x118)](_0x55cdb5);}return _0x226859;}(_0x175286,_0xa66f71);return _0x175286[_0x3d8115(0x116)](_0x3d8115(0x130))['to'](_0x379bd7,_0x3d8115(0x11d)),_0x379bd7[_0x3d8115(0x138)][_0x3d8115(0x113)]({'label':_0x2e6920(_0x3bd306,_0x3d8115(0x110)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1ec0d3}),_0x379bd7[_0x3d8115(0x137)]({'attributes':{'class':[_0x3d8115(0x120),_0x3adbf2['if'](_0x3d8115(0x130),_0x3d8115(0x129))]},'on':{'click':_0x3adbf2['to'](_0x17447b=>_0x17447b[_0x3d8115(0x114)]())}}),_0x379bd7['on'](_0x3d8115(0x133),_0xe046a0=>{const _0x487c88=_0x3d8115;_0x175286[_0x487c88(0x11c)]&&_0x487c88(0x13c)==typeof _0xe046a0[_0x487c88(0x12d)][_0x487c88(0x121)]&&_0xe046a0[_0x487c88(0x12d)][_0x487c88(0x121)](_0x175286);}),_0x2e5ae6(_0x379bd7,_0x3b7958,{'role':_0x3d8115(0x122)}),_0x379bd7[_0x3d8115(0x12b)](_0x175286,_0x3d8115(0x12e),(_0x36c71b,_0x7d75f4,_0x46e03d)=>{const _0x54a9ac=_0x3d8115;if(_0x46e03d)for(const _0x3808b1 of _0x379bd7[_0x54a9ac(0x10f)][_0x54a9ac(0x115)]){const _0x559e3d=_0x3808b1[_0x54a9ac(0x127)][_0x54a9ac(0x135)],_0x5b11f2=_0xa66f71[_0x54a9ac(0x124)](_0x2469f3=>_0x2469f3[_0x54a9ac(0x119)]===_0x559e3d[_0x54a9ac(0x121)])[_0x54a9ac(0x10e)];_0x3808b1[_0x54a9ac(0x10e)]=void 0x0===_0x5b11f2||_0x5b11f2(_0x175286);}}),_0x379bd7;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x514a27,_0x7d6d56){const _0xc8f5fb=_0x10d8,_0x27fec2=_0x514a27();while(!![]){try{const _0x1fa792=-parseInt(_0xc8f5fb(0x176))/0x1+-parseInt(_0xc8f5fb(0x171))/0x2+parseInt(_0xc8f5fb(0x177))/0x3+parseInt(_0xc8f5fb(0x17c))/0x4*(parseInt(_0xc8f5fb(0x17d))/0x5)+-parseInt(_0xc8f5fb(0x172))/0x6+parseInt(_0xc8f5fb(0x16e))/0x7+parseInt(_0xc8f5fb(0x17a))/0x8;if(_0x1fa792===_0x7d6d56)break;else _0x27fec2['push'](_0x27fec2['shift']());}catch(_0x1f300b){_0x27fec2['push'](_0x27fec2['shift']());}}}(_0x2734,0x2e624));import{View as _0x1005df,IconView as _0x3ddf09}from'ckeditor5/src/ui.js';import{IconUser as _0x1ac84e}from'ckeditor5/src/icons.js';import{getTranslation as _0x2313c4}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';function _0x2734(){const _0x5bb41f=['12214uuQsuK','495570MiKkMy','ck-revision-history-sidebar__revision-author__name','0\x200\x2011\x2010','ck-revision-history-sidebar__revision-author_creator','320745gAWkGV','707097vQfFof','name','set','73384YypSVY','setTemplate','152fywutX','23670bMTCwo','push','Revision\x20creator','span','1222697TqyQHW','Revision\x20author','ck-revision-history-sidebar__revision-author'];_0x2734=function(){return _0x5bb41f;};return _0x2734();}function _0x10d8(_0x22f8ba,_0x3efa37){const _0x27340f=_0x2734();return _0x10d8=function(_0x10d8a2,_0x475191){_0x10d8a2=_0x10d8a2-0x16b;let _0x421cc9=_0x27340f[_0x10d8a2];return _0x421cc9;},_0x10d8(_0x22f8ba,_0x3efa37);}export class RevisionAuthorView extends _0x1005df{constructor(_0x3696b0,_0xdc22ee,_0x541771){const _0x37a02a=_0x10d8;super(_0x3696b0);const _0xde358=new _0x3ddf09();_0xde358[_0x37a02a(0x179)]({'content':_0x1ac84e,'viewBox':_0x37a02a(0x174)});const _0x5edb3b=['ck',_0x37a02a(0x170)];_0x541771&&_0x5edb3b[_0x37a02a(0x16b)](_0x37a02a(0x175));const _0xc6ce7d=[{'tag':_0x37a02a(0x16d),'attributes':{'class':['ck',_0x37a02a(0x173)],'title':_0x2313c4(_0x3696b0,_0x541771?_0x37a02a(0x16c):_0x37a02a(0x16f))},'children':[_0xde358,_0xdc22ee[_0x37a02a(0x178)]]}];this[_0x37a02a(0x17b)]({'tag':'li','attributes':{'class':_0x5edb3b},'children':_0xc6ce7d});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4455(){const _0x552e19=['set','2129370ZQusEp','3642636ypfYag','clientWidth','destroy','_updateTooltipText','_resizeObserver','ck-tooltip_multi-line','Revision\x20name','_tooltipString','fieldView','bindTemplate','1522404bCqxPH','ck-revision-history-sidebar__revision-name','extendTemplate','scrollWidth','63eQUPBP','Enter\x20the\x20revision\x20name','489672MrOZtf','span','render','element','14rjBLeN','input','placeholder','listenTo','1871uZzgvE','5409fEpRbn','16710mKmOEW','value','4222280GUMxKV'];_0x4455=function(){return _0x552e19;};return _0x4455();}const _0x3418a7=_0x15fb;function _0x15fb(_0x567390,_0x1a3cee){const _0x445525=_0x4455();return _0x15fb=function(_0x15fb5a,_0x2a9b2a){_0x15fb5a=_0x15fb5a-0x64;let _0x286258=_0x445525[_0x15fb5a];return _0x286258;},_0x15fb(_0x567390,_0x1a3cee);}(function(_0x1ac936,_0x406d6f){const _0x3e7cfa=_0x15fb,_0xdbe0bd=_0x1ac936();while(!![]){try{const _0x530ac9=-parseInt(_0x3e7cfa(0x7d))/0x1*(parseInt(_0x3e7cfa(0x79))/0x2)+-parseInt(_0x3e7cfa(0x64))/0x3+-parseInt(_0x3e7cfa(0x65))/0x4+parseInt(_0x3e7cfa(0x81))/0x5+-parseInt(_0x3e7cfa(0x6f))/0x6+-parseInt(_0x3e7cfa(0x73))/0x7*(-parseInt(_0x3e7cfa(0x75))/0x8)+-parseInt(_0x3e7cfa(0x7e))/0x9*(-parseInt(_0x3e7cfa(0x7f))/0xa);if(_0x530ac9===_0x406d6f)break;else _0xdbe0bd['push'](_0xdbe0bd['shift']());}catch(_0x444d87){_0xdbe0bd['push'](_0xdbe0bd['shift']());}}}(_0x4455,0x7d148));import{LabeledFieldView as _0x13ba77}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x1edf6c}from'ckeditor5/src/utils.js';import{getTranslation as _0x403b0f}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export class RevisionNameView extends _0x13ba77{[_0x3418a7(0x69)]=null;constructor(_0x218834,_0x39ad91){const _0x45510f=_0x3418a7;super(_0x218834,_0x39ad91);const _0x287dfd=this[_0x45510f(0x6e)];this[_0x45510f(0x82)]({'label':_0x403b0f(_0x218834,_0x45510f(0x6b)),'_tooltipString':''}),this[_0x45510f(0x6d)][_0x45510f(0x7b)]=_0x403b0f(_0x218834,_0x45510f(0x74)),this[_0x45510f(0x71)]({'tag':_0x45510f(0x76),'attributes':{'class':[_0x45510f(0x70)],'data-cke-tooltip-text':_0x287dfd['to'](_0x45510f(0x6c)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x45510f(0x6a)}});}[_0x3418a7(0x77)](){const _0x456e09=_0x3418a7;super[_0x456e09(0x77)](),this[_0x456e09(0x69)]=new _0x1edf6c(this[_0x456e09(0x6d)][_0x456e09(0x78)],()=>this[_0x456e09(0x68)]()),this[_0x456e09(0x7c)](this[_0x456e09(0x6d)],_0x456e09(0x7a),()=>this[_0x456e09(0x68)]());}[_0x3418a7(0x67)](){const _0xa3210f=_0x3418a7;super[_0xa3210f(0x67)](),this[_0xa3210f(0x69)]&&this[_0xa3210f(0x69)][_0xa3210f(0x67)]();}[_0x3418a7(0x68)](){const _0x31fef8=_0x3418a7,_0x22009b=this[_0x31fef8(0x6d)][_0x31fef8(0x78)];this[_0x31fef8(0x6c)]=_0x22009b[_0x31fef8(0x72)]>_0x22009b[_0x31fef8(0x66)]&&_0x22009b[_0x31fef8(0x80)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x27db9a=_0x2d40;(function(_0x3a1d50,_0x3acd89){const _0x594aa8=_0x2d40,_0x267a5b=_0x3a1d50();while(!![]){try{const _0x486b1f=-parseInt(_0x594aa8(0x218))/0x1*(-parseInt(_0x594aa8(0x227))/0x2)+parseInt(_0x594aa8(0x20c))/0x3+-parseInt(_0x594aa8(0x21c))/0x4+parseInt(_0x594aa8(0x1f9))/0x5+-parseInt(_0x594aa8(0x22a))/0x6*(-parseInt(_0x594aa8(0x1fa))/0x7)+parseInt(_0x594aa8(0x1ed))/0x8+-parseInt(_0x594aa8(0x204))/0x9*(parseInt(_0x594aa8(0x208))/0xa);if(_0x486b1f===_0x3acd89)break;else _0x267a5b['push'](_0x267a5b['shift']());}catch(_0x141698){_0x267a5b['push'](_0x267a5b['shift']());}}}(_0x3c15,0x3efc8));import{View as _0x491ffd,createLabeledInputText as _0x163357}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x272b63}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3c15(){const _0x6f3ecd=['220','1780ysSupr','closest','ck-revision-history-sidebar__revision','isActionsDropdownOpen','254862jjRlJL','span','ck-revision-history-sidebar__revision__date','isReady','isSelected','highlight','isEnabled','fieldView','map','ck-revision-history-sidebar__actions_dropdown_open','isHighlighted','name','33238juIjlh','select','render','setTemplate','2021748FSQpTG','ck-revision-history-sidebar__revision__controls-wrapper','unshift','set','ck-revision-history-sidebar__revision_selected','isConfirm','fire','value','extendTemplate','setName','ck-revision-history-sidebar__revision-authors','2gxUsOs','creator','uiLanguage','1398jJjMPY','ck-reset','ck-revision-history-sidebar__revision_highlighted','_createdAtFormatted','2537552DnSuVh','div','filter','deselect','createdAt','bindTemplate','bind','_requireRevisionName','length','revisionNameView','.ck-thread__remove-confirm','srcElement','1183870AIxBYm','4865ekLNje','authors','change','unhighlight','_revision','revisionActionsView','ck-disabled','listenTo','from','ck-revision-history-sidebar__revision-wrapper','3573MTUVyt','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','element'];_0x3c15=function(){return _0x6f3ecd;};return _0x3c15();}function _0x2d40(_0xc51562,_0x424b5f){const _0x3c1574=_0x3c15();return _0x2d40=function(_0x2d4090,_0x2ad53f){_0x2d4090=_0x2d4090-0x1eb;let _0x89cb3a=_0x3c1574[_0x2d4090];return _0x89cb3a;},_0x2d40(_0xc51562,_0x424b5f);}import{RevisionNameView as _0x4342fd}from'./revisionnameview.js';import{RevisionAuthorView as _0x3dc396}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x358f15}from'./utils.js';import{createActionsDropdownView as _0x588f8c}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export class RevisionView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x272b63(_0x491ffd){['id'];[_0x27db9a(0x1f6)];[_0x27db9a(0x1ff)];[_0x27db9a(0x1fe)];[_0x27db9a(0x1f4)];constructor(_0x39e31f,_0x3daa2c,_0x3e6a7e,_0x176761){const _0x421c53=_0x27db9a;super(_0x39e31f);const _0x5450ba=this[_0x421c53(0x1f2)],_0x6fe9de=function(_0x367a4a,_0x10bf62){const _0x50a7cd=_0x421c53,_0x5416d2=Array[_0x50a7cd(0x202)](_0x10bf62[_0x50a7cd(0x1fb)])[_0x50a7cd(0x1ef)](_0x196e38=>_0x196e38!=_0x10bf62[_0x50a7cd(0x228)]);return _0x10bf62[_0x50a7cd(0x228)]&&_0x5416d2[_0x50a7cd(0x21e)](_0x10bf62[_0x50a7cd(0x228)]),_0x5416d2[_0x50a7cd(0x214)](_0x2d061d=>new _0x3dc396(_0x367a4a,_0x2d061d,_0x2d061d==_0x10bf62[_0x50a7cd(0x228)]));}(_0x39e31f,_0x3daa2c);this['id']=_0x3daa2c['id'],this[_0x421c53(0x1fe)]=_0x3daa2c,this[_0x421c53(0x1f4)]=_0x176761,this[_0x421c53(0x1f3)](_0x421c53(0x217),_0x421c53(0x1f1))['to'](_0x3daa2c),this[_0x421c53(0x1f3)](_0x421c53(0x1ec))['to'](this,_0x421c53(0x1f1),_0x35070d=>_0x358f15(_0x39e31f[_0x421c53(0x229)],_0x35070d)),this[_0x421c53(0x21f)](_0x421c53(0x210),!0x1),this[_0x421c53(0x21f)](_0x421c53(0x216),!0x1),this[_0x421c53(0x21f)](_0x421c53(0x20b),!0x1),this[_0x421c53(0x21f)](_0x421c53(0x20f),!0x1),this[_0x421c53(0x21f)](_0x421c53(0x212),!0x1),this[_0x421c53(0x1f6)]=new _0x4342fd(_0x39e31f,_0x163357),this[_0x421c53(0x1f6)][_0x421c53(0x213)][_0x421c53(0x224)]({'attributes':{'maxlength':_0x421c53(0x207)}}),this[_0x421c53(0x1f6)][_0x421c53(0x213)][_0x421c53(0x1f3)](_0x421c53(0x223))['to'](this,_0x421c53(0x217),_0x22de96=>_0x22de96||this[_0x421c53(0x1ec)]),this[_0x421c53(0x1f6)][_0x421c53(0x1f3)](_0x421c53(0x212))['to'](this,_0x421c53(0x210),this,_0x421c53(0x212),(_0x3b52bd,_0x5b9398)=>_0x3b52bd&&_0x5b9398),this[_0x421c53(0x1ff)]=_0x3e6a7e&&_0x3e6a7e[_0x421c53(0x1f5)]?_0x588f8c(this,_0x3e6a7e):'',this[_0x421c53(0x1ff)]&&this[_0x421c53(0x1ff)][_0x421c53(0x1f3)](_0x421c53(0x212))['to'](this),this[_0x421c53(0x21b)]({'tag':_0x421c53(0x1ee),'attributes':{'class':['ck',_0x421c53(0x22b),_0x421c53(0x203),_0x5450ba['if'](_0x421c53(0x221),_0x421c53(0x205))]},'children':[{'tag':_0x421c53(0x1ee),'attributes':{'class':['ck',_0x421c53(0x22b),_0x421c53(0x20a),_0x5450ba['if'](_0x421c53(0x212),_0x421c53(0x200),_0x494b1e=>!_0x494b1e),_0x5450ba['if'](_0x421c53(0x210),_0x421c53(0x220)),_0x5450ba['if'](_0x421c53(0x216),_0x421c53(0x1eb)),_0x5450ba['if'](_0x421c53(0x20b),_0x421c53(0x215))]},'children':[this[_0x421c53(0x1f6)],{'tag':_0x421c53(0x20d),'attributes':{'class':['ck',_0x421c53(0x20e)]},'children':[{'text':_0x5450ba['to'](_0x421c53(0x1ec))}]},{'tag':_0x421c53(0x1ee),'attributes':{'class':['ck',_0x421c53(0x21d)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x421c53(0x226)]},'children':_0x6fe9de}]},this[_0x421c53(0x1ff)]],'on':{'click':_0x5450ba['to'](_0x3c6056=>{const _0x2fcca2=_0x421c53;_0x3c6056[_0x2fcca2(0x1f8)][_0x2fcca2(0x209)](_0x2fcca2(0x1f7))||this[_0x2fcca2(0x20f)]&&this[_0x2fcca2(0x212)]&&this[_0x2fcca2(0x222)](_0x2fcca2(0x219),{'id':this['id']});})}}]});}[_0x27db9a(0x21a)](){const _0x59f276=_0x27db9a;super[_0x59f276(0x21a)]();const _0x5f3e6a=this[_0x59f276(0x1f6)][_0x59f276(0x213)][_0x59f276(0x206)];this[_0x59f276(0x201)](_0x5f3e6a,_0x59f276(0x1fc),()=>{const _0x4e106a=_0x59f276;this[_0x4e106a(0x1f4)]&&!_0x5f3e6a[_0x4e106a(0x223)]||this[_0x4e106a(0x222)](_0x4e106a(0x225),{'id':this['id'],'name':_0x5f3e6a[_0x4e106a(0x223)]}),_0x5f3e6a[_0x4e106a(0x223)]||(_0x5f3e6a[_0x4e106a(0x223)]=this[_0x4e106a(0x217)]?this[_0x4e106a(0x217)]:this[_0x4e106a(0x1ec)]);});}[_0x27db9a(0x219)](){const _0xeba8be=_0x27db9a;this[_0xeba8be(0x210)]=!0x0;}[_0x27db9a(0x1f0)](){const _0xf60629=_0x27db9a;this[_0xf60629(0x210)]=!0x1;}[_0x27db9a(0x211)](){const _0x41cfcb=_0x27db9a;this[_0x41cfcb(0x216)]=!0x0;}[_0x27db9a(0x1fd)](){const _0x3f6ade=_0x27db9a;this[_0x3f6ade(0x216)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x23f5fc=_0xacf1;(function(_0xf79fd0,_0x2b6fd7){const _0x5c9a42=_0xacf1,_0x232aaa=_0xf79fd0();while(!![]){try{const _0x23f4d8=-parseInt(_0x5c9a42(0x1a8))/0x1+parseInt(_0x5c9a42(0x1ad))/0x2*(-parseInt(_0x5c9a42(0x1a2))/0x3)+parseInt(_0x5c9a42(0x1a5))/0x4+-parseInt(_0x5c9a42(0x19e))/0x5*(parseInt(_0x5c9a42(0x1aa))/0x6)+parseInt(_0x5c9a42(0x1a4))/0x7*(parseInt(_0x5c9a42(0x19b))/0x8)+-parseInt(_0x5c9a42(0x19f))/0x9*(-parseInt(_0x5c9a42(0x1af))/0xa)+parseInt(_0x5c9a42(0x1ac))/0xb;if(_0x23f4d8===_0x2b6fd7)break;else _0x232aaa['push'](_0x232aaa['shift']());}catch(_0x10c84d){_0x232aaa['push'](_0x232aaa['shift']());}}}(_0x43c5,0x2a99b));import{View as _0x65e358}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0xacf1(_0x2e66d3,_0x2ba295){const _0x43c586=_0x43c5();return _0xacf1=function(_0xacf17c,_0x33fd72){_0xacf17c=_0xacf17c-0x197;let _0x419420=_0x43c586[_0xacf17c];return _0x419420;},_0xacf1(_0x2e66d3,_0x2ba295);}function _0x43c5(){const _0x5624e2=['392086tQDUAi','bindTemplate','20egnxVj','toggle','click','ck-revision-history-sidebar__subrevision-collapser_collapsed','button','false','33504jmOsUD','ck-hidden','true','7435owyFmE','109467QkFpUZ','set','span','3kKHrny','_isCollapsed','91IVypGN','216720NTfAor','ck-revision-history-sidebar__subrevision-collapser__inner','ck-revision-history-sidebar__subrevision-collapser','220075pzepWx','setTemplate','1302HbHmOf','isVisible','8583718dpPuKM'];_0x43c5=function(){return _0x5624e2;};return _0x43c5();}export class SubrevisionCollapserView extends _0x65e358{constructor(_0x49118a){const _0x4a7931=_0xacf1;super(_0x49118a);const _0x438d0b=this[_0x4a7931(0x1ae)];this[_0x4a7931(0x1a0)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x4a7931(0x1a9)]({'tag':_0x4a7931(0x1a1),'attributes':{'class':['ck',_0x4a7931(0x1a7),_0x438d0b['if'](_0x4a7931(0x1ab),_0x4a7931(0x19c),_0x3836aa=>!_0x3836aa),_0x438d0b['if'](_0x4a7931(0x1a3),_0x4a7931(0x198))],'role':_0x4a7931(0x199),'aria-pressed':_0x438d0b['to'](_0x4a7931(0x1a3),_0x315b59=>_0x315b59?_0x4a7931(0x19a):_0x4a7931(0x19d))},'children':[{'tag':_0x4a7931(0x1a1),'attributes':{'class':['ck',_0x4a7931(0x1a6)]}}],'on':{'click':_0x438d0b['to'](_0x4a7931(0x197))}});}[_0x23f5fc(0x1b0)](){const _0xf4cf5e=_0x23f5fc;this[_0xf4cf5e(0x1a3)]=!this[_0xf4cf5e(0x1a3)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xa543(_0x4f23f4,_0x39d668){const _0x132c0e=_0x132c();return _0xa543=function(_0xa543e2,_0x2a8b22){_0xa543e2=_0xa543e2-0x17f;let _0x5edf87=_0x132c0e[_0xa543e2];return _0x5edf87;},_0xa543(_0x4f23f4,_0x39d668);}const _0x3e91b8=_0xa543;function _0x132c(){const _0x422eb9=['_createdAtFormatted','setTemplate','ck-revision-history-sidebar__revision','fire','select','357119fzfpVg','deselect','ck-revision-history-sidebar__revision-authors','createdAt','div','ck-reset','24IJwnci','ck-revision-history-sidebar__revision_selected','bindTemplate','16dLKouu','isSelected','creator','ck-revision-history-sidebar__subrevision','1062440htGShE','3178180fEdfgo','941103UDFXTW','58YIZYlK','718023tUjNrq','span','uiLanguage','102264ttWEhq','bind','set','ck-revision-history-sidebar__revision__date','1003KYonak','_parentRevisionId'];_0x132c=function(){return _0x422eb9;};return _0x132c();}(function(_0x1702ee,_0x587c8d){const _0x4bc6a7=_0xa543,_0x1085e1=_0x1702ee();while(!![]){try{const _0x3ed4e5=parseInt(_0x4bc6a7(0x181))/0x1*(parseInt(_0x4bc6a7(0x198))/0x2)+parseInt(_0x4bc6a7(0x199))/0x3+-parseInt(_0x4bc6a7(0x19c))/0x4+parseInt(_0x4bc6a7(0x195))/0x5+parseInt(_0x4bc6a7(0x18e))/0x6*(parseInt(_0x4bc6a7(0x188))/0x7)+parseInt(_0x4bc6a7(0x191))/0x8*(-parseInt(_0x4bc6a7(0x197))/0x9)+-parseInt(_0x4bc6a7(0x196))/0xa;if(_0x3ed4e5===_0x587c8d)break;else _0x1085e1['push'](_0x1085e1['shift']());}catch(_0x428853){_0x1085e1['push'](_0x1085e1['shift']());}}}(_0x132c,0x20572));import{View as _0x28bb44}from'ckeditor5/src/ui.js';import{RevisionAuthorView as _0x13d392}from'./revisionauthorview.js';import{dateToPrettyFormat as _0x496244}from'./utils.js';import'../../../theme/revision/subrevision.css';export class SubrevisionView extends _0x28bb44{['id'];[_0x3e91b8(0x182)];constructor(_0x3688a0,_0x4b83b4,_0x105e74){const _0x4191ed=_0x3e91b8;super(_0x3688a0);const _0x13f94f=this[_0x4191ed(0x190)];this['id']=_0x4b83b4['id'],this[_0x4191ed(0x19d)](_0x4191ed(0x18b))['to'](_0x4b83b4),this[_0x4191ed(0x17f)](_0x4191ed(0x192),!0x1),this[_0x4191ed(0x19d)](_0x4191ed(0x183))['to'](this,_0x4191ed(0x18b),_0x447950=>_0x447950?_0x496244(_0x3688a0[_0x4191ed(0x19b)],_0x447950):void 0x0),this[_0x4191ed(0x182)]=_0x105e74,this[_0x4191ed(0x184)]({'tag':_0x4191ed(0x18c),'attributes':{'class':['ck',_0x4191ed(0x18d),_0x4191ed(0x185),_0x4191ed(0x194),_0x13f94f['if'](_0x4191ed(0x192),_0x4191ed(0x18f))]},'children':[{'tag':_0x4191ed(0x19a),'attributes':{'class':['ck',_0x4191ed(0x180)]},'children':[{'text':_0x13f94f['to'](_0x4191ed(0x183))}]},{'tag':'ul','attributes':{'class':['ck',_0x4191ed(0x18a)]},'children':[new _0x13d392(_0x3688a0,_0x4b83b4[_0x4191ed(0x193)],!0x0)]}],'on':{'click':_0x13f94f['to'](this[_0x4191ed(0x187)][_0x4191ed(0x19d)](this))}});}[_0x3e91b8(0x187)](){const _0x8f814d=_0x3e91b8;this[_0x8f814d(0x192)]=!0x0,this[_0x8f814d(0x186)](_0x8f814d(0x187),{'parentId':this[_0x8f814d(0x182)]});}[_0x3e91b8(0x189)](){const _0x55179c=_0x3e91b8;this[_0x55179c(0x192)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x33d00a,_0x4ea344){var _0x4c67ae=_0x483c,_0x352f28=_0x33d00a();while(!![]){try{var _0x11a22c=parseInt(_0x4c67ae(0xe1))/0x1*(parseInt(_0x4c67ae(0xe0))/0x2)+-parseInt(_0x4c67ae(0xdd))/0x3+parseInt(_0x4c67ae(0xe3))/0x4*(-parseInt(_0x4c67ae(0xd9))/0x5)+parseInt(_0x4c67ae(0xe2))/0x6+-parseInt(_0x4c67ae(0xdb))/0x7*(-parseInt(_0x4c67ae(0xe5))/0x8)+parseInt(_0x4c67ae(0xde))/0x9+-parseInt(_0x4c67ae(0xdf))/0xa;if(_0x11a22c===_0x4ea344)break;else _0x352f28['push'](_0x352f28['shift']());}catch(_0x5df1c4){_0x352f28['push'](_0x352f28['shift']());}}}(_0x46f2,0xaae29));function _0x46f2(){var _0x41762c=['10RxNqme','58321PrWQCs','7971558ZfsYDv','44yHThdG','long','120LoyvkO','numeric','616025LitUnu','toLocaleDateString','630413SRmnJq','toLocaleTimeString','3765003SofDQe','4148883HjYzoV','1218690eDGJnq'];_0x46f2=function(){return _0x41762c;};return _0x46f2();}function _0x483c(_0x26f25c,_0x1d8a55){var _0x46f2b1=_0x46f2();return _0x483c=function(_0x483c46,_0x5534f5){_0x483c46=_0x483c46-0xd9;var _0x52a46f=_0x46f2b1[_0x483c46];return _0x52a46f;},_0x483c(_0x26f25c,_0x1d8a55);}export function dateToPrettyFormat(_0x58fa4a,_0x423f0f){var _0x46c2d8=_0x483c;return _0x423f0f[_0x46c2d8(0xda)](_0x58fa4a,{'month':_0x46c2d8(0xe4),'day':_0x46c2d8(0xe6)})+',\x20'+_0x423f0f[_0x46c2d8(0xdc)](_0x58fa4a,{'hour':_0x46c2d8(0xe6),'minute':_0x46c2d8(0xe6)});}
|