@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240625.0 → 0.0.0-nightly-20240627.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/revisiontracker.d.ts +6 -1
- package/dist/types/revisionviewer.d.ts +82 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/lang/translations/fa.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/package.json +5 -5
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +6 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +82 -0
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +9 -0
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +25 -0
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3b94a6=_0x5e38;(function(_0x53823f,_0x3dd5c5){const _0x51f451=_0x5e38,_0x9cca66=_0x53823f();while(!![]){try{const _0x564b3c=parseInt(_0x51f451(0x221))/0x1+-parseInt(_0x51f451(0x249))/0x2+-parseInt(_0x51f451(0x1a7))/0x3*(-parseInt(_0x51f451(0x27f))/0x4)+-parseInt(_0x51f451(0x26a))/0x5*(-parseInt(_0x51f451(0x285))/0x6)+parseInt(_0x51f451(0x27b))/0x7*(parseInt(_0x51f451(0x1e4))/0x8)+-parseInt(_0x51f451(0x2e9))/0x9*(parseInt(_0x51f451(0x259))/0xa)+-parseInt(_0x51f451(0x2a6))/0xb;if(_0x564b3c===_0x3dd5c5)break;else _0x9cca66['push'](_0x9cca66['shift']());}catch(_0x578dfe){_0x9cca66['push'](_0x9cca66['shift']());}}}(_0x3857,0x397f2));import{Plugin as _0xf1e3dc,Command as _0x59a91e}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2d740a}from'ckeditor5/src/utils.js';function _0x3857(){const _0x25bd80=['roots','WidgetToolbarRepository','attachChange','newRevisionId','ck-revision-history-root-remove','from','affectsData','locale','consume','revision','_getViewObj','addClass','find','_makeModelFromViewString','bottom','isCollapsed','return','commands','_cleanMarkers','nodeAfter','toViewPosition','showNextChange','forEach','isEqual','changes','_sortAndFilterDiffChanges','collaboration.channelId','_joinTapes','267215wflSzu','level','_setChanges','bind','vid_start','markers','_data','createRangeIn','dataDowncast','currentChangeNumber','string','end','flat','markerNameToElements','toViewElement','attributesAfter','markerToData','domEvent','top','slice','attributesBefore','parent','getIndex','name','done','revisionHistoryLabel','change:activeChange','getClientRects','getAttribute','mapper','_update','attribute:vid','nextSibling','isAttached','isReady','conversion','_fixObsoleteTags','RevisionsRepository','isContent','isAddSuggestion','615832uNhdbC','_balloon','test','removeMarker:revision-suggestion','ck-revision-history-root-add','_processTape','getItems','range','POSITIVE_INFINITY','isAfter','first','isRemoveSuggestion','elementStart','model','hasAttribute','attributes','10pFSMuy','isAdded','findIndex','object','ck-suggestion-marker-split','side','values','isAtStart','has','for','loadRevisionData','_cleanUp','deletion','editor','removeAttribute','document','abs','5AyGYok','element','_removeMissingPairs','stop','createRevision','isEnabled','isSuggestion','-new','toModel','pluginName','suggestion:','get','startsWith','writer','toViewRange','marked','markerRange','37331rjfgQQ','uiElement','markerName','distance','113792MFwBCb','revision-viewer','editingDowncast','_removeRevisionMarkers','createUIElement','add','759918OFhBtq','isRemoved','then','isLimit','restoreRevision','catch','_removeUnsupportedChanges','view','span','concat','addMarker:revision-suggestion:insertion','hasClass','forceDisabled','activeChange','isIncorrect','vid_end','ck-suggestion-preview-marker-','isBlock','merge','item','insertion','resolve','sort','useFillerType','revision:','isOnRoot','_getViewForChange','downcastDispatcher','_initInteractions','high','elementEnd','createPositionFromPath','deletions','1183512kokJbK','execute','reconvertMarker','createPositionBefore','markersEnd','ck-suggestion-marker-merge','_getChangeFromId','refresh','data-change-id','_getDiff','revision-start','elementToAttribute','startIndex','insertions','ck-suggestion-marker','change','revision-suggestion','highest','length','_threeWayMerge','map','checkAttribute','_findChangeIdFromDomTarget','_appendChild','isObject','error','isBefore','_markInsertions','parse','editing','dataToMarker','selection','code','viewItem','revisionHistoryAttachChange','_markSuggestions','getDomRoot','showPreviousChange','showStack','start','all','_revisions','backward','createRange','rootName','pairId','offsetSize','getAttributes','createAttributeElement','maxOffset','ck-suggestion-marker--active','getWalker','getCustomProperty','indexOf','delete','suggestion','revision-suggestion:','element:pre','destroy','consumable','repository','changeId','low','children','change:activeView','updatePosition','_step','677691rBaDDw','ck-suggestion-marker-','_setConversion','getRootNames','removeClass','ck-revision-history-root--active','revisionHistory','change:numberOfChanges','schema','diffData','removeMarker:revision','setAttribute','includes','getRevisionData','12Fcasrr','mapViewToDom','unbindElementFromMarkerName','detachRoot','removeMarker','processor','change:isEnabled','right','oldRevisionId','getChild','restoreRevisionCallback','type','index','requires','clear','forward','_setDistance','plugins','addHighlight','isInline','comment','addMarker:revision-suggestion:deletion','endIndex','left','getRevision','getRevisionRootsAttributes','pop','_makeModelFromTape','authors','push','softBreak','markersStart','isAtEnd','revision-end','split','change:isReady','set','toData','_getRevisionsRange','compare','data-revision-','bindElementToMarker','vid','_activeViewTarget','revision-comment:','RevisionViewer','modelRange','_changeView','addRoot','enqueueChange','domConverter','wrap','default','config','text','diff','enableReadOnlyMode','init','upcast','filter','getRoot','328BfqoyY','_markMarkers','_makeTape','splice','insert','adapter','keys','data','next','addMarker:revision','shift','mouseover','numberOfChanges','addRevisionData','ck-revision-history-root-','ck-suggestion-preview-marker','userId','isNavigationMode','_markMismatchedRemovedTags','activeView','_changeIdToChange','_refreshStartEndIndex','mousedown','nextPosition','target','previousPosition','listenTo','unshift','ck-editor__editable__overlay','remove','markerToHighlight','addRevision','observeMarkers'];_0x3857=function(){return _0x25bd80;};return _0x3857();}import{ContextualBalloon as _0x445f7f}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x1b6ee0,Element as _0x53d53b,Text as _0x328b82,ViewDocumentFragment as _0x34b6bb,ViewText as _0x3769f0,ViewElement as _0x13721e,ViewContainerElement as _0x3fceec,ViewAttributeElement as _0x53bdda,ViewEmptyElement as _0x5a752b,ViewRawElement as _0x4275d2,ViewUIElement as _0x107bcf}from'ckeditor5/src/engine.js';import{Users as _0x42ccf9,getMarkerDomElement as _0x27f854}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5bb3ac from'./ui/revisionviewer/changedetailsview.js';import _0x27983c from'./revisionsrepository.js';import _0x51fd37 from'./changeitem.js';import{default as _0x43d843}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x359d2d}from'lodash-es';function _0x5e38(_0x336408,_0x44e33e){const _0x385734=_0x3857();return _0x5e38=function(_0x5e38af,_0x4d82e5){_0x5e38af=_0x5e38af-0x1a4;let _0x560e6c=_0x385734[_0x5e38af];return _0x560e6c;},_0x5e38(_0x336408,_0x44e33e);}const tt={'c':_0x3fceec,'a':_0x53bdda,'e':_0x5a752b,'r':_0x4275d2,'u':_0x107bcf};export default class d extends _0xf1e3dc{static get[_0x3b94a6(0x273)](){const _0xb878e2=_0x3b94a6;return _0xb878e2(0x1d4);}static get[_0x3b94a6(0x1b4)](){return[_0x42ccf9,_0x445f7f,_0x27983c];}constructor(_0x2d7eeb){const _0x2d8b11=_0x3b94a6;super(_0x2d7eeb),this[_0x2d8b11(0x2e2)]=this[_0x2d8b11(0x266)][_0x2d8b11(0x1b8)][_0x2d8b11(0x275)](_0x2d8b11(0x246)),this[_0x2d8b11(0x1cb)](_0x2d8b11(0x292),null),this[_0x2d8b11(0x1cb)](_0x2d8b11(0x1f7),null),this[_0x2d8b11(0x1d2)]=null,this[_0x2d8b11(0x1cb)](_0x2d8b11(0x1de),null),this[_0x2d8b11(0x1cb)](_0x2d8b11(0x243),!0x1),this[_0x2d8b11(0x1cb)](_0x2d8b11(0x26f),!0x0),this['on'](_0x2d8b11(0x1ad),(_0xfe17e9,_0x59da82,_0x1caf79)=>{const _0x21758e=_0x2d8b11;this[_0x21758e(0x292)]=null,this[_0x21758e(0x1f7)]=null,this[_0x21758e(0x266)][_0x21758e(0x2c3)][_0x21758e(0x28c)][_0x21758e(0x2b5)](_0x253329=>{const _0x2e65ab=_0x21758e;for(const _0x4bd970 of this[_0x2e65ab(0x266)][_0x2e65ab(0x2c3)][_0x2e65ab(0x28c)][_0x2e65ab(0x268)][_0x2e65ab(0x205)])_0x1caf79?_0x253329[_0x2e65ab(0x2ed)](_0x2e65ab(0x200),_0x4bd970):_0x253329[_0x2e65ab(0x210)](_0x2e65ab(0x200),_0x4bd970);});}),this[_0x2d8b11(0x224)](_0x2d8b11(0x1f5))['to'](this,_0x2d8b11(0x292),_0x4fb0e7=>null!==_0x4fb0e7),this[_0x2d8b11(0x224)](_0x2d8b11(0x22a))['to'](this,_0x2d8b11(0x243),this,_0x2d8b11(0x1de),this,_0x2d8b11(0x292),(_0x1ead4c,_0x3fb804,_0x4718c7)=>_0x1ead4c&&_0x4718c7?_0x3fb804[_0x2d8b11(0x21d)][_0x2d8b11(0x237)](_0x4718c7):0x0),this[_0x2d8b11(0x224)](_0x2d8b11(0x1f0))['to'](this,_0x2d8b11(0x243),this,_0x2d8b11(0x1de),(_0x4d6f13,_0x149af4)=>_0x4d6f13?_0x149af4[_0x2d8b11(0x21d)][_0x2d8b11(0x2b8)]:0x0),this[_0x2d8b11(0x1d6)]=null,this[_0x2d8b11(0x1f8)]=new Map(),this[_0x2d8b11(0x1e9)]=null,this[_0x2d8b11(0x24a)]=this[_0x2d8b11(0x266)][_0x2d8b11(0x1b8)][_0x2d8b11(0x275)](_0x445f7f);}[_0x3b94a6(0x1e0)](){const _0x3b7966=_0x3b94a6,_0x3bd6e8=this[_0x3b7966(0x266)],_0x13948d=new ShowChangeCommand(_0x3bd6e8,{'direction':_0x3b7966(0x2d0)}),_0x4a8675=new ShowChangeCommand(_0x3bd6e8,{'direction':_0x3b7966(0x1b6)});(_0x3bd6e8[_0x3b7966(0x216)][_0x3b7966(0x284)](_0x3b7966(0x2cb),_0x13948d),_0x3bd6e8[_0x3b7966(0x216)][_0x3b7966(0x284)](_0x3b7966(0x21a),_0x4a8675),_0x3bd6e8[_0x3b7966(0x216)][_0x3b7966(0x284)](_0x3b7966(0x289),new RestoreRevisionCommand(_0x3bd6e8)),this['on'](_0x3b7966(0x2f0),()=>{const _0x3ada2a=_0x3b7966;_0x13948d[_0x3ada2a(0x2ad)](),_0x4a8675[_0x3ada2a(0x2ad)]();}),this[_0x3b7966(0x2eb)](),this[_0x3b7966(0x2a1)](),_0x3bd6e8[_0x3b7966(0x1df)](_0x3b7966(0x280)),_0x3bd6e8[_0x3b7966(0x1b8)][_0x3b7966(0x261)](_0x3b7966(0x206)))&&_0x3bd6e8[_0x3b7966(0x1b8)][_0x3b7966(0x275)](_0x3b7966(0x206))[_0x3b7966(0x291)](_0x3b7966(0x280));}async[_0x3b94a6(0x1a6)](_0x44aa37){const _0x2a7780=_0x3b94a6;await this[_0x2a7780(0x263)](_0x44aa37);const _0x2d4a0f={};for(const _0x370a87 in _0x44aa37[_0x2a7780(0x2f2)]){if(_0x44aa37[_0x2a7780(0x2f2)][_0x370a87][_0x2a7780(0x207)]&&!_0x44aa37[_0x2a7780(0x2f2)][_0x370a87][_0x2a7780(0x207)][_0x2a7780(0x242)])continue;const _0x1ddfd2=this[_0x2a7780(0x282)](JSON[_0x2a7780(0x2c2)](_0x44aa37[_0x2a7780(0x2f2)][_0x370a87][_0x2a7780(0x2b3)])),_0x49864d=this[_0x2a7780(0x266)][_0x2a7780(0x2c3)][_0x2a7780(0x28c)][_0x2a7780(0x268)],_0x27560a=new _0x34b6bb(_0x49864d,_0x1ddfd2[_0x2a7780(0x2ba)](_0x3938f0=>this[_0x2a7780(0x20f)](_0x3938f0)));this[_0x2a7780(0x266)][_0x2a7780(0x1eb)][_0x2a7780(0x1ac)][_0x2a7780(0x29c)](_0x2a7780(0x279)),_0x2d4a0f[_0x370a87]=this[_0x2a7780(0x266)][_0x2a7780(0x1eb)][_0x2a7780(0x1ac)][_0x2a7780(0x1cc)](_0x27560a),this[_0x2a7780(0x266)][_0x2a7780(0x1eb)][_0x2a7780(0x1ac)][_0x2a7780(0x29c)](_0x2a7780(0x1db));}return _0x2d4a0f;}async[_0x3b94a6(0x1c0)](_0x9114b){const _0x49a729=_0x3b94a6;await this[_0x49a729(0x263)](_0x9114b);const _0x354e0d={};for(const _0x3acd47 in _0x9114b[_0x49a729(0x2f2)])_0x9114b[_0x49a729(0x2f2)][_0x3acd47][_0x49a729(0x207)]&&!_0x9114b[_0x49a729(0x2f2)][_0x3acd47][_0x49a729(0x207)][_0x49a729(0x242)]||(_0x354e0d[_0x3acd47]=_0x9114b[_0x49a729(0x2f2)][_0x3acd47][_0x49a729(0x230)]||{});return _0x354e0d;}[_0x3b94a6(0x282)](_0x469700){const _0x197ca2=_0x3b94a6;return(_0x469700=_0x469700[_0x197ca2(0x1e2)](_0x3a3d59=>!_0x3a3d59[_0x197ca2(0x238)]||_0x197ca2(0x2b0)!==_0x3a3d59[_0x197ca2(0x238)]&&_0x197ca2(0x1c8)!==_0x3a3d59[_0x197ca2(0x238)]))[_0x197ca2(0x21b)](_0x20cb7f=>{const _0x544ffb=_0x197ca2;_0x544ffb(0x22b)!=typeof _0x20cb7f&&(_0x20cb7f[_0x544ffb(0x2e5)]=this[_0x544ffb(0x282)](_0x20cb7f[_0x544ffb(0x2e5)]),_0x20cb7f[_0x544ffb(0x258)]=_0x20cb7f[_0x544ffb(0x258)][_0x544ffb(0x1e2)](_0x215065=>!_0x215065[0x0][_0x544ffb(0x276)](_0x544ffb(0x1cf))));}),_0x469700;}async[_0x3b94a6(0x1ce)](_0x41e63a,_0x1966a8,_0x9d70ea=!0x1){const _0x515278=_0x3b94a6;if(!this[_0x515278(0x26f)])return;const _0x4e559a=this[_0x515278(0x1de)],_0x4f4bf=this[_0x515278(0x2e2)],_0x46b4c7=_0x515278(0x22b)==typeof _0x41e63a?_0x4f4bf[_0x515278(0x1bf)](_0x41e63a):_0x41e63a,_0xde2ce5=_0x515278(0x22b)==typeof _0x1966a8?_0x4f4bf[_0x515278(0x1bf)](_0x1966a8):_0x1966a8,_0x21294d=_0x46b4c7['id'],_0x196f75=_0xde2ce5?_0xde2ce5['id']:null;if(!_0x9d70ea&&this[_0x515278(0x1de)]&&this[_0x515278(0x1de)][_0x515278(0x208)]===_0x21294d&&this[_0x515278(0x1de)][_0x515278(0x1af)]===_0x196f75)return Promise[_0x515278(0x29a)]();this[_0x515278(0x243)]=!0x1,this[_0x515278(0x1f7)]=null,this[_0x515278(0x292)]=null,this[_0x515278(0x1de)]=new _0x43d843(_0x21294d,_0x196f75);const _0x4a4b1b=this[_0x515278(0x1cd)](_0x46b4c7,_0xde2ce5,!0x0)[_0x515278(0x2ba)](_0x5ed791=>this[_0x515278(0x263)](_0x5ed791));return _0x4a4b1b[_0x515278(0x1c4)](new Promise(_0x3e7698=>{setTimeout(_0x3e7698,0x14);})),Promise[_0x515278(0x2ce)](_0x4a4b1b)[_0x515278(0x287)](()=>{const _0x43ab54=_0x515278;if(!this[_0x43ab54(0x26f)])return;this[_0x43ab54(0x264)]();const _0x9b9d5b=this[_0x43ab54(0x2af)](_0x21294d,_0x196f75);for(const _0x5cc38f of _0x9b9d5b[_0x43ab54(0x21d)])this[_0x43ab54(0x1f8)][_0x43ab54(0x1cb)](_0x5cc38f['id'],_0x5cc38f);this[_0x43ab54(0x266)][_0x43ab54(0x256)][_0x43ab54(0x1d8)]({'isUndoable':!0x1},_0x4f350e=>{const _0x439173=_0x43ab54;for(const _0x1a6f61 of this[_0x439173(0x266)][_0x439173(0x256)][_0x439173(0x268)][_0x439173(0x2ec)]())_0x4f350e[_0x439173(0x1aa)](_0x1a6f61);for(const _0x30bf11 of Object[_0x439173(0x1ea)](_0x9b9d5b[_0x439173(0x256)])){const _0x399f06=_0x4f350e[_0x439173(0x1d7)](_0x30bf11);for(const _0x15bc0c of Object[_0x439173(0x1ea)](_0x9b9d5b[_0x439173(0x258)][_0x30bf11]))_0x4f350e[_0x439173(0x1a4)](_0x15bc0c,_0x9b9d5b[_0x439173(0x258)][_0x30bf11][_0x15bc0c],_0x399f06);_0x4f350e[_0x439173(0x1e8)](_0x9b9d5b[_0x439173(0x256)][_0x30bf11],_0x399f06,0x0);}}),this[_0x43ab54(0x1de)][_0x43ab54(0x223)](this[_0x43ab54(0x21e)](_0x9b9d5b[_0x43ab54(0x21d)])),this[_0x43ab54(0x243)]=!0x0;})[_0x515278(0x28a)](_0xe177f3=>{const _0x35f82a=_0x515278;console[_0x35f82a(0x2bf)](_0xe177f3),this[_0x35f82a(0x264)](),_0x4e559a&&(this[_0x35f82a(0x1de)]=_0x4e559a),this[_0x35f82a(0x243)]=!0x0;});}[_0x3b94a6(0x1f1)](_0x39e1e1,_0x409ac5){const _0x4d5afa=_0x3b94a6,_0x263316=this[_0x4d5afa(0x2e2)][_0x4d5afa(0x26e)](_0x39e1e1);return _0x263316['on'](_0x4d5afa(0x23f),(_0x29370a,_0x50b56b,_0x20f059)=>_0x409ac5(_0x50b56b,_0x20f059,_0x263316)),this[_0x4d5afa(0x2e2)][_0x4d5afa(0x203)](_0x263316),_0x263316;}[_0x3b94a6(0x263)](_0x3af38e){const _0x2188dc=_0x3b94a6;if(!_0x3af38e||_0x3af38e[_0x2188dc(0x2f2)])return Promise[_0x2188dc(0x29a)]();{const _0x5aec60=this[_0x2188dc(0x266)][_0x2188dc(0x1dc)][_0x2188dc(0x275)](_0x2188dc(0x21f));return this[_0x2188dc(0x1e9)][_0x2188dc(0x1bf)]({'channelId':_0x5aec60,'revisionId':_0x3af38e['id']})[_0x2188dc(0x287)](_0x3bfd7d=>{const _0xbc0b3f=_0x2188dc;_0x3af38e[_0xbc0b3f(0x23f)]({'diffData':_0x3bfd7d[_0xbc0b3f(0x2f2)]},!0x0);});}}[_0x3b94a6(0x264)](){const _0x12edcf=_0x3b94a6;this[_0x12edcf(0x292)]=null,this[_0x12edcf(0x217)](),this[_0x12edcf(0x1d6)]&&this[_0x12edcf(0x1d6)][_0x12edcf(0x2e0)](),this[_0x12edcf(0x1d6)]=null,this[_0x12edcf(0x1f8)][_0x12edcf(0x1b5)](),this[_0x12edcf(0x266)][_0x12edcf(0x256)][_0x12edcf(0x1d8)]({'isUndoable':!0x1},_0x297854=>{const _0x1b0691=_0x12edcf;for(const _0x1e5a4a of this[_0x1b0691(0x266)][_0x1b0691(0x256)][_0x1b0691(0x268)][_0x1b0691(0x2ec)]())_0x297854[_0x1b0691(0x1aa)](_0x1e5a4a);});}[_0x3b94a6(0x21e)](_0x971a0a){const _0x1cb5dc=_0x3b94a6,_0x139d5a=[],_0x575987=new Map();for(const _0x58d3d2 of this[_0x1cb5dc(0x266)][_0x1cb5dc(0x256)][_0x1cb5dc(0x268)][_0x1cb5dc(0x2ec)]()){const _0x3b8183=this[_0x1cb5dc(0x266)][_0x1cb5dc(0x2c3)][_0x1cb5dc(0x28c)][_0x1cb5dc(0x2ca)](_0x58d3d2);if(!_0x3b8183)continue;const _0x2020dc=_0x3b8183[_0x1cb5dc(0x23c)]()[_0x1cb5dc(0x298)](0x0);_0x2020dc&&(_0x139d5a[_0x1cb5dc(0x1c4)](_0x58d3d2),_0x575987[_0x1cb5dc(0x1cb)](_0x58d3d2,_0x2020dc));}return _0x139d5a[_0x1cb5dc(0x29b)]((_0x2e8660,_0xfc188b)=>{const _0x134062=_0x1cb5dc,_0x4cb966=_0x575987[_0x134062(0x275)](_0x2e8660),_0x55df9c=_0x575987[_0x134062(0x275)](_0xfc188b);return _0x4cb966['y']-_0x55df9c['y']||_0x4cb966['x']-_0x55df9c['x'];}),(_0x971a0a=_0x971a0a[_0x1cb5dc(0x1e2)](_0x797cf0=>_0x139d5a[_0x1cb5dc(0x1a5)](_0x797cf0[_0x1cb5dc(0x2d2)])))[_0x1cb5dc(0x29b)]((_0x3362c6,_0x39ae57)=>_0x139d5a[_0x1cb5dc(0x2db)](_0x3362c6[_0x1cb5dc(0x2d2)])-_0x139d5a[_0x1cb5dc(0x2db)](_0x39ae57[_0x1cb5dc(0x2d2)])),_0x971a0a;}[_0x3b94a6(0x1e6)](_0x99c080){const _0x5ea800=_0x3b94a6,_0x381c55=Array[_0x5ea800(0x20a)](_0x99c080[_0x5ea800(0x226)])[_0x5ea800(0x1e2)](([_0x2e007f,_0x2031cb])=>_0x2e007f[_0x5ea800(0x276)](_0x5ea800(0x29d))&&!_0x2031cb[_0x5ea800(0x214)]),_0x178555=Array[_0x5ea800(0x20a)](this[_0x5ea800(0x266)][_0x5ea800(0x256)][_0x5ea800(0x228)](_0x99c080)[_0x5ea800(0x2d9)]({'singleCharacters':!0x0}));if(0x0!=_0x381c55[_0x5ea800(0x2b8)])for(const _0x2905af of _0x178555){const [_0x4a839d,_0x2071d3]=_0x381c55[0x0],[,_0xad1c59,_0x3b75fa]=_0x4a839d[_0x5ea800(0x1c9)](':');if(_0x2071d3[_0x5ea800(0x22c)][_0x5ea800(0x21c)](_0x2905af[_0x5ea800(0x1fb)])&&_0x381c55[_0x5ea800(0x1ee)](),(_0x2905af[_0x5ea800(0x1fd)][_0x5ea800(0x21c)](_0x2071d3[_0x5ea800(0x2cd)])||_0x2905af[_0x5ea800(0x1fd)][_0x5ea800(0x252)](_0x2071d3[_0x5ea800(0x2cd)]))&&(_0x5ea800(0x299)==_0xad1c59?_0x2905af[_0x5ea800(0x25a)]={'userId':_0x3b75fa}:_0x5ea800(0x265)==_0xad1c59&&(_0x2905af[_0x5ea800(0x286)]={'userId':_0x3b75fa})),0x0==_0x381c55[_0x5ea800(0x2b8)])break;}return _0x178555;}[_0x3b94a6(0x1f9)](_0x19493a){const _0x42d7ad=_0x3b94a6,_0x4a757c=new Map();for(let _0x2ef5a1=0x0;_0x2ef5a1<_0x19493a[_0x42d7ad(0x2b8)];_0x2ef5a1++)_0x42d7ad(0x1dd)===_0x19493a[_0x2ef5a1][_0x42d7ad(0x1b2)]?(_0x19493a[_0x2ef5a1][_0x42d7ad(0x298)][_0x42d7ad(0x2b2)]=_0x2ef5a1,_0x19493a[_0x2ef5a1][_0x42d7ad(0x298)][_0x42d7ad(0x1bd)]=_0x2ef5a1):(_0x42d7ad(0x255)===_0x19493a[_0x2ef5a1][_0x42d7ad(0x1b2)]?_0x19493a[_0x2ef5a1][_0x42d7ad(0x298)][_0x42d7ad(0x2b2)]=_0x2ef5a1:_0x42d7ad(0x2a3)===_0x19493a[_0x2ef5a1][_0x42d7ad(0x1b2)]&&(_0x19493a[_0x2ef5a1][_0x42d7ad(0x298)][_0x42d7ad(0x1bd)]=_0x2ef5a1),_0x4a757c[_0x42d7ad(0x1cb)](_0x19493a[_0x2ef5a1]['id'],_0x2ef5a1));for(const _0x24d485 of _0x4a757c[_0x42d7ad(0x25f)]())_0x42d7ad(0x255)===_0x19493a[_0x24d485][_0x42d7ad(0x1b2)]?_0x19493a[_0x24d485][_0x42d7ad(0x298)][_0x42d7ad(0x1bd)]=_0x4a757c[_0x42d7ad(0x275)](_0x19493a[_0x24d485][_0x42d7ad(0x2d3)]):_0x42d7ad(0x2a3)===_0x19493a[_0x24d485][_0x42d7ad(0x1b2)]&&(_0x19493a[_0x24d485][_0x42d7ad(0x298)][_0x42d7ad(0x2b2)]=_0x4a757c[_0x42d7ad(0x275)](_0x19493a[_0x24d485][_0x42d7ad(0x2d3)]));}[_0x3b94a6(0x24e)](_0x215ccc){const _0x203d57=_0x3b94a6;for(let _0x35b7f5=0x0;_0x35b7f5<_0x215ccc[_0x203d57(0x2b8)];_0x35b7f5++){if(_0x203d57(0x255)===_0x215ccc[_0x35b7f5][_0x203d57(0x1b2)])_0x215ccc[_0x35b7f5][_0x203d57(0x298)][_0x203d57(0x2b2)]=_0x35b7f5;else{if(_0x203d57(0x2a3)===_0x215ccc[_0x35b7f5][_0x203d57(0x1b2)]){_0x215ccc[_0x35b7f5][_0x203d57(0x298)][_0x203d57(0x1bd)]=_0x35b7f5;const _0x534d6f=_0x215ccc[_0x35b7f5][_0x203d57(0x298)][_0x203d57(0x2b2)];_0x215ccc[_0x534d6f][_0x203d57(0x2d3)]=_0x215ccc[_0x35b7f5]['id'],_0x215ccc[_0x35b7f5][_0x203d57(0x2d3)]=_0x215ccc[_0x534d6f]['id'];}else _0x215ccc[_0x35b7f5][_0x203d57(0x298)][_0x203d57(0x2b2)]=_0x35b7f5,_0x215ccc[_0x35b7f5][_0x203d57(0x298)][_0x203d57(0x1bd)]=_0x35b7f5,_0x215ccc[_0x35b7f5][_0x203d57(0x2d3)]=null;}_0x215ccc[_0x35b7f5][_0x203d57(0x1c6)]||(_0x215ccc[_0x35b7f5][_0x203d57(0x1c6)]=[],_0x215ccc[_0x35b7f5][_0x203d57(0x2aa)]=[]);}}[_0x3b94a6(0x2c1)](_0x1ff661,_0x203cfb){const _0x5eb12f=_0x3b94a6,_0x4faa06=_0x1ff661[_0x5eb12f(0x1e2)](_0x56196a=>!_0x56196a[_0x5eb12f(0x25a)]);for(let _0x10105e=0x0;_0x10105e<_0x203cfb[_0x5eb12f(0x2b8)];_0x10105e++)_0x203cfb[_0x10105e][_0x5eb12f(0x25a)]&&(_0x4faa06[_0x10105e][_0x5eb12f(0x25a)]=_0x203cfb[_0x10105e][_0x5eb12f(0x25a)]);}[_0x3b94a6(0x212)](_0x123791){const _0x24deab=_0x3b94a6,_0x30c564=JSON[_0x24deab(0x2c2)](_0x123791),_0x59aec5=this[_0x24deab(0x266)][_0x24deab(0x2c3)][_0x24deab(0x28c)][_0x24deab(0x268)],_0x48f572=new _0x34b6bb(_0x59aec5,_0x30c564[_0x24deab(0x2ba)](_0x397c8e=>this[_0x24deab(0x20f)](_0x397c8e)));return this[_0x24deab(0x266)][_0x24deab(0x1eb)][_0x24deab(0x272)](_0x48f572);}[_0x3b94a6(0x20f)](_0x52bbdb){const _0xcfc371=_0x3b94a6,_0x3334ff=this[_0xcfc371(0x266)][_0xcfc371(0x2c3)][_0xcfc371(0x28c)][_0xcfc371(0x268)];if(_0xcfc371(0x22b)==typeof _0x52bbdb)return new _0x3769f0(_0x3334ff,_0x52bbdb);{const _0x3d55c3=_0x52bbdb[_0xcfc371(0x2e5)][_0xcfc371(0x2ba)](_0x291e8a=>this[_0xcfc371(0x20f)](_0x291e8a));return new(tt[_0x52bbdb[(_0xcfc371(0x1b2))]]||_0x13721e)(_0x3334ff,_0x52bbdb[_0xcfc371(0x238)],_0x52bbdb[_0xcfc371(0x258)],_0x3d55c3);}}[_0x3b94a6(0x2af)](_0x1c8323,_0x32628c=null){const _0xf04e5a=_0x3b94a6,_0x4752ec=this[_0xf04e5a(0x2e2)][_0xf04e5a(0x1bf)](_0x1c8323),_0x8fb89d=_0x32628c?this[_0xf04e5a(0x2e2)][_0xf04e5a(0x1bf)](_0x32628c):null,_0x208f81=this[_0xf04e5a(0x1cd)](_0x4752ec,_0x8fb89d),_0x55c166=_0x208f81[_0x208f81[_0xf04e5a(0x2b8)]-0x1],_0x374b4b=new Map(),_0x1f2366={'model':{},'attributes':{},'changes':[]},_0x56ac62=new Set(),_0x316c22=new Map();for(let _0x17e4bb=_0x208f81[_0xf04e5a(0x2b8)]-0x1;_0x17e4bb>=0x0;_0x17e4bb--){const _0x1f0449=_0x208f81[_0x17e4bb];for(const _0x3cbb99 of Object[_0xf04e5a(0x1ea)](_0x1f0449[_0xf04e5a(0x2f2)]))if(_0x1f0449[_0xf04e5a(0x2f2)][_0x3cbb99][_0xf04e5a(0x207)]){const _0x5e5d7b=_0x1f0449[_0xf04e5a(0x2f2)][_0x3cbb99][_0xf04e5a(0x207)];_0x5e5d7b[_0xf04e5a(0x242)]?(_0x56ac62[_0xf04e5a(0x284)](_0x3cbb99),_0x316c22[_0xf04e5a(0x261)](_0x3cbb99)&&_0x316c22[_0xf04e5a(0x275)](_0x3cbb99)[_0xf04e5a(0x1f4)]==_0x5e5d7b[_0xf04e5a(0x1f4)]?_0x316c22[_0xf04e5a(0x2dc)](_0x3cbb99):_0x316c22[_0xf04e5a(0x1cb)](_0x3cbb99,_0x5e5d7b)):_0x316c22[_0xf04e5a(0x261)](_0x3cbb99)?(_0x56ac62[_0xf04e5a(0x2dc)](_0x3cbb99),_0x316c22[_0xf04e5a(0x2dc)](_0x3cbb99)):(_0x56ac62[_0xf04e5a(0x284)](_0x3cbb99),_0x316c22[_0xf04e5a(0x1cb)](_0x3cbb99,_0x5e5d7b));}else _0x56ac62[_0xf04e5a(0x284)](_0x3cbb99);}for(const _0x243adb of _0x56ac62){const _0x1cad30=_0x316c22[_0xf04e5a(0x261)](_0x243adb)&&!_0x316c22[_0xf04e5a(0x275)](_0x243adb)[_0xf04e5a(0x242)];let _0x4505a3=_0x1cad30?_0x208f81[_0xf04e5a(0x2b8)]-0x1:0x0;const _0x4b5e10=_0x1cad30?-0x1:0x1;for(;_0x208f81[_0x4505a3];){const _0x19b49b=_0x208f81[_0x4505a3];if(_0x19b49b[_0xf04e5a(0x2f2)][_0x243adb]){const _0x14c122=_0x1cad30?_0x19b49b[_0xf04e5a(0x2f2)][_0x243adb][_0xf04e5a(0x235)]:_0x19b49b[_0xf04e5a(0x2f2)][_0x243adb][_0xf04e5a(0x230)];_0x1f2366[_0xf04e5a(0x258)][_0x243adb]=_0x14c122?_0x359d2d(_0x14c122):{};break;}_0x4505a3+=_0x4b5e10;}}for(const _0x1657f5 of _0x208f81){_0x1657f5[_0xf04e5a(0x256)]={};for(const _0x1d79f9 of _0x1657f5[_0xf04e5a(0x1c3)])_0x374b4b[_0xf04e5a(0x1cb)](_0x1d79f9['id'],_0x1d79f9);for(const _0x2c959e of _0x56ac62){const _0x52bef4=_0x1657f5[_0xf04e5a(0x2f2)][_0x2c959e]?_0x1657f5[_0xf04e5a(0x2f2)][_0x2c959e][_0xf04e5a(0x2b3)]:'[]',_0x2695b2=_0x1657f5[_0xf04e5a(0x2f2)][_0x2c959e]?_0x1657f5[_0xf04e5a(0x2f2)][_0x2c959e][_0xf04e5a(0x2a5)]:'[]';_0x1657f5[_0xf04e5a(0x256)][_0x2c959e]={'insertions':this[_0xf04e5a(0x212)](_0x52bef4),'deletions':this[_0xf04e5a(0x212)](_0x2695b2)};}}for(const _0x346e2f of _0x56ac62){let _0x43643b=null,_0x3eacf2=0x0;const _0x57d8c8=new Map(Array[_0xf04e5a(0x20a)](_0x4752ec[_0xf04e5a(0x256)][_0x346e2f][_0xf04e5a(0x2b3)][_0xf04e5a(0x226)])[_0xf04e5a(0x1e2)](([_0x138c58])=>!_0x138c58[_0xf04e5a(0x276)](_0xf04e5a(0x29d))));let _0x2b6e44=0x0;for(const _0xc99d56 of _0x208f81){const _0x29786d=this[_0xf04e5a(0x1e6)](_0xc99d56[_0xf04e5a(0x256)][_0x346e2f][_0xf04e5a(0x2b3)]);_0xc99d56==_0x4752ec?(_0x43643b=_0x29786d,_0x3eacf2=_0x43643b[_0xf04e5a(0x2b8)],_0x43643b[_0xf04e5a(0x21b)](_0x509940=>{_0x509940['id']=_0x2b6e44++;}),this[_0xf04e5a(0x24e)](_0x43643b)):this[_0xf04e5a(0x2c1)](_0x43643b,_0x29786d);const _0x58392c=_0x43643b[_0xf04e5a(0x1e2)](_0x4c4448=>!_0x4c4448[_0xf04e5a(0x25a)])[_0xf04e5a(0x2ba)](_0x1b8ad1=>_0x1b8ad1['id']);let _0x2de866=0x0;const _0x38b022=this[_0xf04e5a(0x1e6)](_0xc99d56[_0xf04e5a(0x256)][_0x346e2f][_0xf04e5a(0x2a5)]);_0x38b022[_0xf04e5a(0x21b)](_0x575484=>{const _0xef33de=_0xf04e5a;_0x575484[_0xef33de(0x286)]?_0x575484['id']=_0x3eacf2++:_0x575484['id']=_0x58392c[_0x2de866++];}),this[_0xf04e5a(0x24e)](_0x38b022),this[_0xf04e5a(0x1b7)](_0x43643b,_0xf04e5a(0x25a)),this[_0xf04e5a(0x1b7)](_0x38b022,_0xf04e5a(0x286)),_0xc99d56==_0x4752ec&&this[_0xf04e5a(0x1e5)](_0x43643b,_0x57d8c8),_0x43643b=this[_0xf04e5a(0x220)](_0x43643b,_0x38b022),this[_0xf04e5a(0x1f9)](_0x43643b),this[_0xf04e5a(0x1b7)](_0x43643b,_0xf04e5a(0x286));}_0x43643b=_0x43643b[_0xf04e5a(0x1e2)](_0x26fa99=>!(_0x26fa99[_0xf04e5a(0x25a)]&&_0x26fa99[_0xf04e5a(0x286)]));const _0x3319c0=new Map(_0x55c166[_0xf04e5a(0x256)][_0x346e2f][_0xf04e5a(0x2a5)][_0xf04e5a(0x226)]),_0x3403a6=new Set(_0x57d8c8[_0xf04e5a(0x1ea)]());for(const _0x37f8fd of _0x3319c0[_0xf04e5a(0x1ea)]())_0x3403a6[_0xf04e5a(0x2dc)](_0x37f8fd);this[_0xf04e5a(0x2c9)](_0x43643b,_0x3403a6),this[_0xf04e5a(0x245)](_0x43643b),_0x43643b=this[_0xf04e5a(0x26c)](_0x43643b),_0x43643b=this[_0xf04e5a(0x1f6)](_0x43643b),_0x43643b=this[_0xf04e5a(0x28b)](_0x43643b);const {root:_0x1c75f8,changes:_0x1ef8f9}=this[_0xf04e5a(0x1c2)](_0x43643b,_0x374b4b,_0x346e2f);_0x1f2366[_0xf04e5a(0x256)][_0x346e2f]=_0x1c75f8;const _0x7ada4f=_0x316c22[_0xf04e5a(0x275)](_0x346e2f);if(_0x7ada4f){const _0x2f5e10=_0x374b4b[_0xf04e5a(0x275)](_0x7ada4f[_0xf04e5a(0x1f4)]),_0x3113ac=new _0x51fd37({'author':_0x2f5e10,'type':_0x7ada4f[_0xf04e5a(0x242)]?_0xf04e5a(0x284):_0xf04e5a(0x201),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x346e2f});_0x1ef8f9[_0xf04e5a(0x1ff)](_0x3113ac),_0x1f2366[_0xf04e5a(0x258)][_0x346e2f][_0xf04e5a(0x2c8)]=_0x3113ac['id'];}_0x1f2366[_0xf04e5a(0x21d)]=_0x1f2366[_0xf04e5a(0x21d)][_0xf04e5a(0x28e)](_0x1ef8f9);}return _0x1f2366;}[_0x3b94a6(0x1e5)](_0x3c88fa,_0x823dbe){const _0x3fa8b9=_0x3b94a6;for(let _0x2d70b2=0x0;_0x2d70b2<_0x3c88fa[_0x3fa8b9(0x2b8)];_0x2d70b2++)for(const [_0x381a69,_0x1e52c6]of _0x823dbe)_0x1e52c6[_0x3fa8b9(0x2cd)][_0x3fa8b9(0x21c)](_0x3c88fa[_0x2d70b2][_0x3fa8b9(0x1fd)])&&_0x3c88fa[_0x2d70b2][_0x3fa8b9(0x1c6)][_0x3fa8b9(0x1c4)](_0x381a69),_0x1e52c6[_0x3fa8b9(0x22c)][_0x3fa8b9(0x21c)](_0x3c88fa[_0x2d70b2][_0x3fa8b9(0x1fb)])&&_0x3c88fa[_0x2d70b2][_0x3fa8b9(0x2aa)][_0x3fa8b9(0x1c4)](_0x381a69);}[_0x3b94a6(0x220)](_0x4b7e96,_0x5482b4){const _0x500e13=_0x3b94a6;let _0x1568a5=[],_0x3a2df8=0x0,_0x5310c9=0x0;for(;_0x3a2df8<_0x4b7e96[_0x500e13(0x2b8)]||_0x5310c9<_0x5482b4[_0x500e13(0x2b8)];){const _0x12392b=_0x4b7e96[_0x3a2df8]||{},_0x3225dc=_0x5482b4[_0x5310c9]||{};if(_0x12392b['id']==_0x3225dc['id'])_0x3a2df8++,_0x5310c9++,_0x1568a5[_0x500e13(0x1c4)](_0x12392b);else{if(_0x3225dc[_0x500e13(0x286)]&&_0x12392b[_0x500e13(0x25a)]){const {commonTape:_0x44b8c3,iEnd:_0x11742d,jEnd:_0x5c5f63}=this[_0x500e13(0x2b9)](_0x4b7e96,_0x3a2df8,_0x5482b4,_0x5310c9);_0x1568a5=_0x1568a5[_0x500e13(0x28e)](_0x44b8c3),_0x3a2df8=_0x11742d,_0x5310c9=_0x5c5f63;}else _0x3225dc[_0x500e13(0x286)]?(_0x5310c9++,_0x1568a5[_0x500e13(0x1c4)](_0x3225dc)):(_0x3a2df8++,_0x1568a5[_0x500e13(0x1c4)](_0x12392b));}}return _0x1568a5;}[_0x3b94a6(0x2c9)](_0x2a4b6a,_0x4184f0){const _0x3abe3c=_0x3b94a6,_0x408619=[];for(let _0xe169f5=0x0;_0xe169f5<_0x2a4b6a[_0x3abe3c(0x2b8)];_0xe169f5++){for(let _0x25c074=0x0;_0x25c074<_0x2a4b6a[_0xe169f5][_0x3abe3c(0x1c6)][_0x3abe3c(0x2b8)];_0x25c074++){const _0x27f65b=_0x2a4b6a[_0xe169f5][_0x3abe3c(0x1c6)][_0x25c074];if(!_0x4184f0[_0x3abe3c(0x261)](_0x27f65b))continue;const {group:_0x3d2540,type:_0x269c3f,authorId:_0x4bf5fa}=_0x221ef5(_0x27f65b);_0x3abe3c(0x2b6)!=_0x3d2540||_0x3abe3c(0x299)!=_0x269c3f&&_0x3abe3c(0x265)!=_0x269c3f||(_0x408619[_0x3abe3c(0x1ff)]({'type':_0x269c3f,'name':_0x27f65b,'userId':_0x4bf5fa}),_0x2a4b6a[_0xe169f5][_0x3abe3c(0x1c6)][_0x3abe3c(0x1e7)](_0x25c074,0x1),_0x25c074--);}_0x49b7fe(_0x2a4b6a[_0xe169f5]);for(let _0x26c15a=0x0;_0x26c15a<_0x2a4b6a[_0xe169f5][_0x3abe3c(0x2aa)][_0x3abe3c(0x2b8)];_0x26c15a++){const _0x146902=_0x2a4b6a[_0xe169f5][_0x3abe3c(0x2aa)][_0x26c15a];if(!_0x4184f0[_0x3abe3c(0x261)](_0x146902))continue;const {group:_0x3de82d,type:_0x33330d}=_0x221ef5(_0x146902);if(_0x3abe3c(0x2b6)!=_0x3de82d||_0x3abe3c(0x299)!=_0x33330d&&_0x3abe3c(0x265)!=_0x33330d)continue;_0x2a4b6a[_0xe169f5][_0x3abe3c(0x2aa)][_0x3abe3c(0x1e7)](_0x26c15a,0x1),_0x26c15a--;const _0x31e19a=_0x408619[_0x3abe3c(0x25b)](_0x3621f9=>_0x3621f9[_0x3abe3c(0x238)]==_0x146902);_0x31e19a>-0x1&&_0x408619[_0x3abe3c(0x1e7)](_0x31e19a,0x1);}}function _0x221ef5(_0x2f2216){const _0x43b469=_0x3abe3c,_0x3658f9=_0x2f2216[_0x43b469(0x1c9)](':');return{'group':_0x3658f9[0x0],'type':_0x3658f9[0x1],'subType':_0x3658f9[_0x43b469(0x2b8)]>=0x5?_0x3658f9[0x2]:null,'id':_0x3658f9[_0x43b469(0x2b8)]<0x5?_0x3658f9[0x2]:_0x3658f9[0x3],'authorId':_0x3658f9[_0x43b469(0x2b8)]<0x5?_0x3658f9[0x3]:_0x3658f9[0x4],'markerCount':0x6==_0x3658f9[_0x43b469(0x2b8)]?_0x3658f9[0x5]:null};}function _0x49b7fe(_0x4ce8e8){const _0x48719d=_0x3abe3c;for(let _0xdaff61=0x0;_0xdaff61<_0x408619[_0x48719d(0x2b8)];_0xdaff61++){if(_0x4ce8e8[_0x48719d(0x25a)]&&_0x48719d(0x299)==_0x408619[_0xdaff61][_0x48719d(0x1b2)])return _0x4ce8e8[_0x48719d(0x248)]=_0x408619[_0xdaff61],void delete _0x4ce8e8[_0x48719d(0x25a)];if(!_0x4ce8e8[_0x48719d(0x25a)]&&!_0x4ce8e8[_0x48719d(0x286)]&&_0x48719d(0x265)==_0x408619[_0xdaff61][_0x48719d(0x1b2)])return void(_0x4ce8e8[_0x48719d(0x254)]=_0x408619[_0xdaff61]);}}}[_0x3b94a6(0x1b7)](_0x11a497,_0x255afd){const _0x444e1f=_0x3b94a6;let _0x2366c5=0x0,_0x4ce9c0=!0x1;const _0x4640e9=new Map();for(const _0x368a0f of _0x11a497)_0x368a0f[_0x255afd]?_0x4ce9c0&&(_0x2366c5++,_0x4ce9c0=!0x1):(_0x2366c5++,_0x4ce9c0=!0x0),_0x4640e9[_0x444e1f(0x1cb)](_0x368a0f['id'],_0x2366c5);for(let _0x24c0b4=0x0;_0x24c0b4<_0x11a497[_0x444e1f(0x2b8)];_0x24c0b4++){if(_0x444e1f(0x286)==_0x255afd&&_0x11a497[_0x24c0b4][_0x444e1f(0x25a)]||_0x444e1f(0x25a)==_0x255afd&&_0x11a497[_0x24c0b4][_0x444e1f(0x286)])continue;if(_0x444e1f(0x1dd)==_0x11a497[_0x24c0b4][_0x444e1f(0x1b2)]){_0x11a497[_0x24c0b4][_0x444e1f(0x27e)]=0x0;continue;}const _0x18690f=_0x4640e9[_0x444e1f(0x275)](_0x11a497[_0x24c0b4][_0x444e1f(0x2d3)]),_0x286489=_0x4640e9[_0x444e1f(0x275)](_0x11a497[_0x24c0b4]['id']);_0x11a497[_0x24c0b4][_0x444e1f(0x27e)]=_0x18690f-_0x286489;}}[_0x3b94a6(0x1cd)](_0x113ca7,_0xc912b2,_0x19314a=!0x1){const _0x4fb33c=_0x3b94a6,_0x5a04ba=[];let _0x20671d=this[_0x4fb33c(0x2e2)][_0x4fb33c(0x237)](_0x113ca7),_0x26586b=this[_0x4fb33c(0x2e2)][_0x4fb33c(0x237)](_0xc912b2);for(-0x1==_0x26586b&&(_0x26586b=this[_0x4fb33c(0x2e2)][_0x4fb33c(0x2cf)][_0x4fb33c(0x2b8)],_0x19314a=!0x1);_0x20671d<_0x26586b;)_0x5a04ba[_0x4fb33c(0x1c4)](this[_0x4fb33c(0x2e2)][_0x4fb33c(0x1bf)](_0x20671d)),_0x20671d++;return _0x19314a&&_0x5a04ba[_0x4fb33c(0x1c4)](this[_0x4fb33c(0x2e2)][_0x4fb33c(0x1bf)](_0x20671d)),_0x5a04ba;}[_0x3b94a6(0x2b9)](_0x404083,_0x51c106,_0x330e12,_0x542a24){const _0x1d5fba=_0x3b94a6,_0x413804=this[_0x1d5fba(0x266)][_0x1d5fba(0x256)][_0x1d5fba(0x2f1)];let _0xbbd1d5=_0x51c106;for(;_0x404083[_0xbbd1d5]&&_0x404083[_0xbbd1d5][_0x1d5fba(0x25a)];)_0xbbd1d5++;let _0x29307a=_0x542a24;for(;_0x330e12[_0x29307a]&&_0x330e12[_0x29307a][_0x1d5fba(0x286)];)_0x29307a++;_0x4c5ec8(_0x404083,_0x51c106,_0xbbd1d5),_0x4c5ec8(_0x330e12,_0x542a24,_0x29307a);const _0x52ab49=_0x330e12[_0x1d5fba(0x234)](_0x542a24,_0x29307a)[_0x1d5fba(0x28e)](_0x404083[_0x1d5fba(0x234)](_0x51c106,_0xbbd1d5));return _0x52ab49[_0x1d5fba(0x29b)]((_0x5dc9db,_0x1788fd)=>_0x5dc9db[_0x1d5fba(0x25e)]!=_0x1788fd[_0x1d5fba(0x25e)]?_0x5dc9db[_0x1d5fba(0x25e)]-_0x1788fd[_0x1d5fba(0x25e)]:_0x5dc9db[_0x1d5fba(0x222)]!=_0x1788fd[_0x1d5fba(0x222)]?_0x5dc9db[_0x1d5fba(0x222)]-_0x1788fd[_0x1d5fba(0x222)]:_0x5dc9db[_0x1d5fba(0x27e)]!=_0x1788fd[_0x1d5fba(0x27e)]?_0x1788fd[_0x1d5fba(0x27e)]-_0x5dc9db[_0x1d5fba(0x27e)]:!!_0x5dc9db[_0x1d5fba(0x25a)]!=!!_0x1788fd[_0x1d5fba(0x25a)]?-0x1==_0x5dc9db[_0x1d5fba(0x25e)]||0x0==_0x5dc9db[_0x1d5fba(0x25e)]?_0x5dc9db[_0x1d5fba(0x25a)]?-0x1:0x1:_0x5dc9db[_0x1d5fba(0x25a)]?0x1:-0x1:_0x5dc9db[_0x1d5fba(0x1b3)]-_0x1788fd[_0x1d5fba(0x1b3)]),{'commonTape':_0x52ab49,'iEnd':_0xbbd1d5,'jEnd':_0x29307a};function _0x4c5ec8(_0x1f14b0,_0x2c5486,_0x2f551c){const _0x616ca4=_0x1d5fba;let _0x100aa3=-0x1,_0xbb3a5c=Number[_0x616ca4(0x251)],_0x14a191=!0x0;for(let _0x2da648=_0x2c5486;_0x2da648<_0x2f551c;_0x2da648++)if(_0x413804[_0x616ca4(0x1ba)](_0x1f14b0[_0x2da648][_0x616ca4(0x298)])||(_0x14a191=!0x1),_0x1f14b0[_0x2da648][_0x616ca4(0x298)][_0x616ca4(0x2b2)]<_0x2c5486&&(_0x100aa3=_0x2da648),_0x1f14b0[_0x2da648][_0x616ca4(0x298)][_0x616ca4(0x1bd)]>=_0x2f551c){_0xbb3a5c=_0x2da648;break;}_0x14a191&&(_0x100aa3=_0x2f551c-0x1);for(let _0x2cf52e=_0x2c5486;_0x2cf52e<_0x2f551c;_0x2cf52e++)_0x1f14b0[_0x2cf52e][_0x616ca4(0x25e)]=_0x2cf52e<=_0x100aa3?-0x1:_0x2cf52e<_0xbb3a5c?0x0:0x1,_0x1f14b0[_0x2cf52e][_0x616ca4(0x1b3)]=_0x2cf52e;let _0x58e2e8=0x0;for(let _0x3a3d1a=_0x2c5486;_0x3a3d1a<=_0x100aa3;_0x3a3d1a++)0x0==_0x1f14b0[_0x3a3d1a][_0x616ca4(0x27e)]?_0x1f14b0[_0x3a3d1a][_0x616ca4(0x222)]=_0x58e2e8:(_0x58e2e8++,_0x1f14b0[_0x3a3d1a][_0x616ca4(0x222)]=_0x58e2e8,_0x58e2e8++);for(let _0x435006=_0x2c5486;_0x435006<_0x2f551c;_0x435006++)0x0==_0x1f14b0[_0x435006][_0x616ca4(0x25e)]&&(_0x1f14b0[_0x435006][_0x616ca4(0x222)]=_0x58e2e8);_0x58e2e8=0x0;for(let _0x1dd92f=_0x2f551c-0x1;_0x1dd92f>=_0xbb3a5c;_0x1dd92f--)0x0==_0x1f14b0[_0x1dd92f][_0x616ca4(0x27e)]?_0x1f14b0[_0x1dd92f][_0x616ca4(0x222)]=_0x58e2e8:(_0x58e2e8--,_0x1f14b0[_0x1dd92f][_0x616ca4(0x222)]=_0x58e2e8,_0x58e2e8--);}}[_0x3b94a6(0x245)](_0x413e04){const _0x170eaa=_0x3b94a6,_0x1b0f23=new Map(),_0x3da30c=this[_0x170eaa(0x266)][_0x170eaa(0x256)][_0x170eaa(0x2f1)];for(let _0x3e4389=0x1;_0x3e4389<_0x413e04[_0x170eaa(0x2b8)];_0x3e4389++){let _0x5746aa,_0x22d5f5,_0x26463b;const _0x4f7482=_0x413e04[_0x3e4389],_0x4681b5=_0x413e04[_0x3e4389-0x1];if(_0x170eaa(0x1dd)==_0x4f7482[_0x170eaa(0x1b2)])continue;if(_0x4f7482[_0x170eaa(0x1b2)]!=_0x4681b5[_0x170eaa(0x1b2)])continue;if(!_0x3da30c[_0x170eaa(0x296)](_0x4681b5[_0x170eaa(0x298)])||_0x3da30c[_0x170eaa(0x288)](_0x4681b5[_0x170eaa(0x298)]))continue;if(!_0x3da30c[_0x170eaa(0x296)](_0x4f7482[_0x170eaa(0x298)])||_0x3da30c[_0x170eaa(0x288)](_0x4f7482[_0x170eaa(0x298)]))continue;if((_0x413e04[_0x3e4389][_0x170eaa(0x25a)]||_0x413e04[_0x3e4389][_0x170eaa(0x248)])&&_0x413e04[_0x3e4389-0x1][_0x170eaa(0x286)])_0x5746aa=_0x413e04[_0x3e4389],_0x22d5f5=_0x413e04[_0x3e4389-0x1],_0x26463b=_0x3e4389-0x1;else{if(!_0x413e04[_0x3e4389][_0x170eaa(0x286)]||!_0x413e04[_0x3e4389-0x1][_0x170eaa(0x25a)]&&!_0x413e04[_0x3e4389-0x1][_0x170eaa(0x248)])continue;_0x5746aa=_0x413e04[_0x3e4389-0x1],_0x22d5f5=_0x413e04[_0x3e4389],_0x26463b=_0x3e4389;}const _0x589ae3=_0x5746aa[_0x170eaa(0x222)]==_0x22d5f5[_0x170eaa(0x222)],_0x3c0dfa=Math[_0x170eaa(0x269)](_0x5746aa[_0x170eaa(0x222)])<Math[_0x170eaa(0x269)](_0x22d5f5[_0x170eaa(0x222)])&&0x0==_0x22d5f5[_0x170eaa(0x27e)];(_0x589ae3||_0x3c0dfa)&&(_0x1b0f23[_0x170eaa(0x1cb)](_0x22d5f5['id'],_0x5746aa['id']),_0x413e04[_0x170eaa(0x1e7)](_0x26463b,0x1),_0x3e4389--,_0x5746aa[_0x170eaa(0x25a)]=!0x1);}for(let _0x52b1eb=0x0;_0x52b1eb<_0x413e04[_0x170eaa(0x2b8)];_0x52b1eb++)_0x1b0f23[_0x170eaa(0x261)](_0x413e04[_0x52b1eb][_0x170eaa(0x2d3)])&&(_0x413e04[_0x52b1eb][_0x170eaa(0x2d3)]=_0x1b0f23[_0x170eaa(0x275)](_0x413e04[_0x52b1eb][_0x170eaa(0x2d3)]));}[_0x3b94a6(0x26c)](_0x4feefa){const _0x41bdc6=_0x3b94a6,_0x2d0e14=new Set(_0x4feefa[_0x41bdc6(0x2ba)](_0x34472c=>_0x34472c['id']));for(let _0x5d17be=0x0;_0x5d17be<_0x4feefa[_0x41bdc6(0x2b8)];_0x5d17be++)_0x2d0e14[_0x41bdc6(0x261)](_0x4feefa[_0x5d17be][_0x41bdc6(0x2d3)])||0x0==_0x4feefa[_0x5d17be][_0x41bdc6(0x27e)]||(_0x4feefa[_0x5d17be][_0x41bdc6(0x293)]=!0x0);return _0x4feefa[_0x41bdc6(0x1e2)](_0x344ee2=>!_0x344ee2[_0x41bdc6(0x293)]);}[_0x3b94a6(0x1f6)](_0x4e03f6){const _0x2e0c43=_0x3b94a6,_0x37e6db=new Set();for(let _0x35d8b9=0x0;_0x35d8b9<_0x4e03f6[_0x2e0c43(0x2b8)];_0x35d8b9++){if(_0x37e6db[_0x2e0c43(0x261)](_0x4e03f6[_0x35d8b9]['id'])&&_0x4e03f6[_0x35d8b9][_0x2e0c43(0x286)]&&(_0x4e03f6[_0x35d8b9][_0x2e0c43(0x293)]=!0x0),_0x4e03f6[_0x35d8b9][_0x2e0c43(0x293)])continue;if(0x0==_0x4e03f6[_0x35d8b9][_0x2e0c43(0x27e)])continue;if(_0x2e0c43(0x255)!=_0x4e03f6[_0x35d8b9][_0x2e0c43(0x1b2)])continue;if(null==_0x4e03f6[_0x35d8b9][_0x2e0c43(0x2d3)])continue;let _0x5b06fb=_0x35d8b9+0x1,_0x4f824c=0x0;for(;_0x4e03f6[_0x5b06fb]['id']!=_0x4e03f6[_0x35d8b9][_0x2e0c43(0x2d3)];)_0x2e0c43(0x255)==_0x4e03f6[_0x5b06fb][_0x2e0c43(0x1b2)]?_0x4f824c++:_0x2e0c43(0x2a3)==_0x4e03f6[_0x5b06fb][_0x2e0c43(0x1b2)]&&_0x4f824c--,_0x5b06fb++;if(0x0!=_0x4f824c){if(_0x4e03f6[_0x35d8b9][_0x2e0c43(0x286)])_0x4e03f6[_0x35d8b9][_0x2e0c43(0x293)]=!0x0;else{for(;_0x5b06fb!=_0x35d8b9;)_0x4e03f6[_0x5b06fb][_0x2e0c43(0x286)]&&0x0!=_0x4e03f6[_0x5b06fb][_0x2e0c43(0x27e)]&&(_0x4e03f6[_0x5b06fb][_0x2e0c43(0x293)]=!0x0,_0x37e6db[_0x2e0c43(0x284)](_0x4e03f6[_0x5b06fb][_0x2e0c43(0x2d3)])),_0x5b06fb--;}}}return _0x4e03f6[_0x2e0c43(0x1e2)](_0x1f763e=>!_0x1f763e[_0x2e0c43(0x293)]);}[_0x3b94a6(0x28b)](_0x43e095){const _0x24626a=_0x3b94a6,_0x4927a7=this[_0x24626a(0x266)][_0x24626a(0x256)][_0x24626a(0x2f1)];for(let _0x23bfb4=0x0;_0x23bfb4<_0x43e095[_0x24626a(0x2b8)];_0x23bfb4++){if(!(_0x43e095[_0x23bfb4][_0x24626a(0x25a)]||_0x43e095[_0x23bfb4][_0x24626a(0x248)]||_0x43e095[_0x23bfb4][_0x24626a(0x286)]||_0x43e095[_0x23bfb4][_0x24626a(0x254)]))continue;if(0x0==_0x43e095[_0x23bfb4][_0x24626a(0x27e)])continue;const _0x25b779=_0x43e095[_0x23bfb4][_0x24626a(0x298)];_0x4927a7[_0x24626a(0x296)](_0x25b779)||_0x4927a7[_0x24626a(0x288)](_0x25b779)||(_0x43e095[_0x23bfb4][_0x24626a(0x25a)]&&delete _0x43e095[_0x23bfb4][_0x24626a(0x25a)],_0x43e095[_0x23bfb4][_0x24626a(0x248)]&&delete _0x43e095[_0x23bfb4][_0x24626a(0x248)],_0x43e095[_0x23bfb4][_0x24626a(0x254)]&&delete _0x43e095[_0x23bfb4][_0x24626a(0x254)],_0x43e095[_0x23bfb4][_0x24626a(0x286)]&&(_0x43e095[_0x23bfb4][_0x24626a(0x293)]=!0x0));}return _0x43e095[_0x24626a(0x1e2)](_0x3e5674=>!_0x3e5674[_0x24626a(0x293)]);}[_0x3b94a6(0x1c2)](_0x463e90,_0x316fcc,_0x1c6d10){const _0x10b883=_0x3b94a6,_0x246440=new _0x1b6ee0(),_0x3929df=[],_0x40528c=new Map(),_0xd22647=this[_0x10b883(0x266)][_0x10b883(0x256)],_0x55f87d=_0xd22647[_0x10b883(0x2f1)],_0x2c800a=[_0x246440],_0xdae568={},_0x236e1e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x23ff69=null;const _0x2fb970=[0x0];for(let _0x4e5776=0x0;_0x4e5776<_0x463e90[_0x10b883(0x2b8)];_0x4e5776++){let _0x874a71,_0xcac9ad;if(_0x10b883(0x255)===_0x463e90[_0x4e5776][_0x10b883(0x1b2)]){_0x874a71=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970);const _0x4f8067=new _0x53d53b(_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x238)],_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x2d5)]());_0x2c800a[0x0][_0x10b883(0x2bd)](_0x4f8067),_0x2fb970[_0x10b883(0x1c4)](0x0),_0x2c800a[_0x10b883(0x1ff)](_0x4f8067),_0xcac9ad=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970),_0x23ff69=null;}else{if(_0x10b883(0x2a3)===_0x463e90[_0x4e5776][_0x10b883(0x1b2)])_0x2c800a[_0x10b883(0x1ee)](),_0x874a71=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970),_0x2fb970[_0x10b883(0x1c1)](),_0x2fb970[_0x2fb970[_0x10b883(0x2b8)]-0x1]++,_0xcac9ad=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970),_0x23ff69=null;else{if(_0x874a71=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970),_0x23ff69&&_0x49f946(_0x23ff69,_0x463e90[_0x4e5776][_0x10b883(0x298)]))_0x23ff69[_0x10b883(0x227)]+=_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x1eb)];else{const _0x498ff8=new _0x328b82(_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x1eb)],_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x2d5)]());_0x2c800a[0x0][_0x10b883(0x2bd)](_0x498ff8),_0x23ff69=_0x498ff8;}_0x2fb970[_0x2fb970[_0x10b883(0x2b8)]-0x1]+=_0x463e90[_0x4e5776][_0x10b883(0x298)][_0x10b883(0x2d4)],_0xcac9ad=_0xd22647[_0x10b883(0x2a4)](_0x246440,_0x2fb970);}}for(const _0x409cbe of _0x463e90[_0x4e5776][_0x10b883(0x1c6)])_0x40528c[_0x10b883(0x1cb)](_0x409cbe,{'start':_0x874a71,'end':null});_0xfb768a(_0x10b883(0x254),_0x4e5776,_0x874a71,_0xcac9ad),_0xfb768a(_0x10b883(0x248),_0x4e5776,_0x874a71,_0xcac9ad),_0xfb768a(_0x10b883(0x286),_0x4e5776,_0x874a71,_0xcac9ad),_0xfb768a(_0x10b883(0x25a),_0x4e5776,_0x874a71,_0xcac9ad);for(const _0x1c6f72 of _0x463e90[_0x4e5776][_0x10b883(0x2aa)]){_0x40528c[_0x10b883(0x275)](_0x1c6f72)[_0x10b883(0x22c)]=_0xcac9ad;}}for(const [_0x24cac7,_0x1c5267]of _0x40528c){const _0x32a82b=this[_0x10b883(0x266)][_0x10b883(0x256)][_0x10b883(0x2d1)](_0x1c5267[_0x10b883(0x2cd)],_0x1c5267[_0x10b883(0x22c)]);_0x246440[_0x10b883(0x226)][_0x10b883(0x1cb)](_0x24cac7,_0x32a82b);}return _0x3929df[_0x10b883(0x29b)]((_0x1906b7,_0x5c6fee)=>{const _0x5b0c5b=_0x10b883,_0x3d0038=_0x246440[_0x5b0c5b(0x226)][_0x5b0c5b(0x275)](_0x5b0c5b(0x29d)+_0x1906b7['id']),_0x2ee822=_0x246440[_0x5b0c5b(0x226)][_0x5b0c5b(0x275)](_0x5b0c5b(0x29d)+_0x5c6fee['id']);return _0x3d0038[_0x5b0c5b(0x2cd)][_0x5b0c5b(0x2c0)](_0x2ee822[_0x5b0c5b(0x2cd)])?-0x1:_0x3d0038[_0x5b0c5b(0x2cd)][_0x5b0c5b(0x252)](_0x2ee822[_0x5b0c5b(0x2cd)])?0x1:_0x3d0038[_0x5b0c5b(0x22c)][_0x5b0c5b(0x2c0)](_0x2ee822[_0x5b0c5b(0x22c)])?-0x1:_0x3d0038[_0x5b0c5b(0x22c)][_0x5b0c5b(0x252)](_0x2ee822[_0x5b0c5b(0x22c)])?0x1:_0x5b0c5b(0x284)===_0x1906b7[_0x5b0c5b(0x1b2)]?-0x1:0x1;}),{'root':_0x246440,'changes':_0x3929df};function _0xfb768a(_0x341819,_0x14c36a,_0x2c8eb3,_0x4ea262){const _0x38e4c5=_0x10b883,_0x2308f9=!!_0x463e90[_0x14c36a][_0x341819],_0x1c0505=_0x2308f9?_0x463e90[_0x14c36a][_0x341819][_0x38e4c5(0x1f4)]:null,_0x4cc402=_0x14c36a===_0x463e90[_0x38e4c5(0x2b8)]-0x1,_0x5e95ed=_0x236e1e[_0x341819][0x0],_0x4c13ec=_0x55f87d[_0x38e4c5(0x2be)](_0x463e90[_0x14c36a][_0x38e4c5(0x298)]);!_0xdae568[_0x341819]&&_0x2308f9?_0xdae568[_0x341819]={'start':_0x2c8eb3,'tapeItem':_0x463e90[_0x14c36a],'userId':_0x1c0505,'type':_0x341819}:_0xdae568[_0x341819]&&!_0x2308f9?(_0xdae568[_0x341819][_0x38e4c5(0x22c)]=_0x2c8eb3,_0x46abff(_0xdae568[_0x341819]),_0xdae568[_0x341819]=null):_0xdae568[_0x341819]&&_0x2308f9&&_0xdae568[_0x341819][_0x38e4c5(0x1f4)]!==_0x1c0505&&(_0xdae568[_0x341819][_0x38e4c5(0x22c)]=_0x2c8eb3,_0x5e95ed&&_0x5e95ed[_0x38e4c5(0x1f4)]===_0xdae568[_0x341819][_0x38e4c5(0x1f4)]||_0x46abff(_0xdae568[_0x341819]),_0xdae568[_0x341819]={'start':_0x2c8eb3,'tapeItem':_0x463e90[_0x14c36a],'userId':_0x1c0505,'type':_0x341819}),_0xdae568[_0x341819]&&_0x4c13ec&&(_0x38e4c5(0x255)!==_0x463e90[_0x14c36a][_0x38e4c5(0x1b2)]||_0x5e95ed&&_0x5e95ed[_0x38e4c5(0x1f4)]===_0x1c0505||_0x236e1e[_0x341819][_0x38e4c5(0x1ff)]({'userId':_0x1c0505,'object':_0x463e90[_0x14c36a][_0x38e4c5(0x298)],'change':_0xdae568[_0x341819]}),_0x38e4c5(0x2a3)===_0x463e90[_0x14c36a][_0x38e4c5(0x1b2)]&&_0x5e95ed&&_0x5e95ed[_0x38e4c5(0x25c)]===_0x463e90[_0x14c36a][_0x38e4c5(0x298)]&&(_0x236e1e[_0x341819][_0x38e4c5(0x1ee)](),_0xdae568[_0x341819]=_0x5e95ed[_0x38e4c5(0x2b5)])),_0xdae568[_0x341819]&&_0x4cc402&&(_0xdae568[_0x341819][_0x38e4c5(0x22c)]=_0x4ea262,_0x46abff(_0xdae568[_0x341819]),_0xdae568[_0x341819]=null);}function _0x46abff({start:_0x2ec078,end:_0x5b28df,tapeItem:_0x47a903,userId:_0x8d8919,type:_0x3a8e68}){const _0x488439=_0x10b883,_0xea8290=_0x47a903[_0x488439(0x298)],_0x2750ff=_0xd22647[_0x488439(0x2f1)][_0x488439(0x296)](_0xea8290)&&!_0xd22647[_0x488439(0x2f1)][_0x488439(0x288)](_0xea8290),_0x1b47a7=_0x2ec078[_0x488439(0x218)]==_0x5b28df[_0x488439(0x236)]&&_0x5b28df[_0x488439(0x260)];if(_0x2750ff&&_0x1b47a7)return;const _0x8cd65a=_0xd22647[_0x488439(0x2d1)](_0x2ec078,_0x5b28df),_0xea01d5=_0x316fcc[_0x488439(0x275)](_0x8d8919),_0x1c5b23=new _0x51fd37({'author':_0xea01d5,'type':_0x488439(0x25a)==_0x3a8e68||_0x488439(0x248)==_0x3a8e68?_0x488439(0x284):_0x488439(0x201),'data':{'isSuggestion':_0x488439(0x248)==_0x3a8e68||_0x488439(0x254)==_0x3a8e68},'createdAt':new Date(),'rootName':_0x1c6d10});_0x3929df[_0x488439(0x1c4)](_0x1c5b23),_0x246440[_0x488439(0x226)][_0x488439(0x1cb)](_0x488439(0x29d)+_0x1c5b23['id'],_0x8cd65a);}function _0x49f946(_0x5a1aaf,_0x32dc8b){const _0x207e61=_0x10b883,_0x40f678=_0x5a1aaf[_0x207e61(0x2d5)](),_0x360621=_0x32dc8b[_0x207e61(0x2d5)]();for(const _0x192ab4 of _0x40f678){if(_0x192ab4[0x1]!==_0x32dc8b[_0x207e61(0x23d)](_0x192ab4[0x0]))return!0x1;_0x360621[_0x207e61(0x1ec)]();}return _0x360621[_0x207e61(0x1ec)]()[_0x207e61(0x239)];}}[_0x3b94a6(0x2eb)](){const _0x5b0e79=_0x3b94a6;this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x2c4)]({'view':_0x5b0e79(0x20e)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x281))[_0x5b0e79(0x202)]({'model':_0x5b0e79(0x20e),'view':_0x246828=>{const _0x3a8351=_0x5b0e79,_0x5c1039=_0x246828[_0x3a8351(0x27d)][_0x3a8351(0x1c9)](':')[0x1],_0x42a19a=this[_0x3a8351(0x2ac)](_0x5c1039);if(!_0x42a19a)return null;const _0x5b6019=_0x3a8351(0x284)==_0x42a19a[_0x3a8351(0x1b2)]?_0x3a8351(0x299):_0x3a8351(0x265),_0x2160ed=[_0x3a8351(0x2b4),_0x3a8351(0x2ea)+_0x5b6019];return _0x42a19a[_0x3a8351(0x1eb)][_0x3a8351(0x270)]&&_0x2160ed[_0x3a8351(0x1c4)](_0x3a8351(0x2ea)+_0x5b6019+_0x3a8351(0x271)),this[_0x3a8351(0x292)]==_0x42a19a&&_0x2160ed[_0x3a8351(0x1c4)](_0x3a8351(0x2d8)),{'classes':_0x2160ed,'attributes':{'data-change-id':_0x5c1039}};}}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x284)](_0x3bc334=>{const _0x4854eb=_0x5b0e79;_0x3bc334['on'](_0x4854eb(0x2df),(_0x283ed8,_0x5cc04b,_0x44a5f9)=>{const _0x205da4=_0x4854eb,_0x512e23=_0x5cc04b[_0x205da4(0x2c7)][_0x205da4(0x1b0)](0x0);if(!_0x512e23||!_0x512e23['is'](_0x205da4(0x26b),_0x205da4(0x2c6)))return;if(!_0x44a5f9[_0x205da4(0x2e1)][_0x205da4(0x20d)](_0x512e23,{'attributes':[_0x205da4(0x225),_0x205da4(0x294)]}))return;const _0x44182e=_0x5cc04b[_0x205da4(0x1d5)][_0x205da4(0x2cd)][_0x205da4(0x218)];_0x44a5f9[_0x205da4(0x277)][_0x205da4(0x1a4)](_0x205da4(0x225),_0x512e23[_0x205da4(0x23d)](_0x205da4(0x225)),_0x44182e),_0x44a5f9[_0x205da4(0x277)][_0x205da4(0x1a4)](_0x205da4(0x294),_0x512e23[_0x205da4(0x23d)](_0x205da4(0x294)),_0x44182e);},{'priority':_0x4854eb(0x2e4)});}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x284)](_0x2f27ae=>{const _0x3d826d=_0x5b0e79;_0x2f27ae['on'](_0x3d826d(0x26b),(_0xb37e9,_0x1f8b55,_0x1de234)=>{const _0x57e3da=_0x3d826d;if(!_0x1de234[_0x57e3da(0x2e1)][_0x57e3da(0x20d)](_0x1f8b55[_0x57e3da(0x2c7)],{'attributes':[_0x57e3da(0x225),_0x57e3da(0x294)]}))return;if(_0x1f8b55[_0x57e3da(0x1d5)][_0x57e3da(0x214)])return;const _0x4404bc=_0x1f8b55[_0x57e3da(0x1d5)][_0x57e3da(0x2cd)][_0x57e3da(0x218)];_0x4404bc[_0x57e3da(0x257)](_0x57e3da(0x225))||_0x4404bc[_0x57e3da(0x257)](_0x57e3da(0x1d1))||(_0x1de234[_0x57e3da(0x277)][_0x57e3da(0x1a4)](_0x57e3da(0x225),_0x1f8b55[_0x57e3da(0x2c7)][_0x57e3da(0x23d)](_0x57e3da(0x225)),_0x4404bc),_0x1de234[_0x57e3da(0x277)][_0x57e3da(0x1a4)](_0x57e3da(0x294),_0x1f8b55[_0x57e3da(0x2c7)][_0x57e3da(0x23d)](_0x57e3da(0x294)),_0x4404bc));},{'priority':_0x3d826d(0x2e4)});}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x2b1)]({'view':{'name':_0x5b0e79(0x28d),'attributes':{'vid':!0x0}},'model':{'key':_0x5b0e79(0x1d1),'value':_0xe3feb1=>_0xe3feb1[_0x5b0e79(0x23d)](_0x5b0e79(0x1d1))}}),this[_0x5b0e79(0x266)][_0x5b0e79(0x256)][_0x5b0e79(0x2f1)]['on'](_0x5b0e79(0x2bb),(_0x1f43af,[,_0x40fc4f])=>{const _0x797981=_0x5b0e79;[_0x797981(0x225),_0x797981(0x294),_0x797981(0x1d1)][_0x797981(0x1a5)](_0x40fc4f)&&(_0x1f43af[_0x797981(0x215)]=!0x0,_0x1f43af[_0x797981(0x26d)]());},{'priority':_0x5b0e79(0x2b7)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x229))[_0x5b0e79(0x284)](_0x2ededf=>{const _0x2f6ceb=_0x5b0e79;_0x2ededf['on'](_0x2f6ceb(0x240),(_0x5002ca,_0x8a293c,_0x54a947)=>{const _0x30ede5=_0x2f6ceb;if('\x20'!=_0x8a293c[_0x30ede5(0x298)][_0x30ede5(0x1eb)]||_0x8a293c[_0x30ede5(0x298)][_0x30ede5(0x236)][_0x30ede5(0x2d7)]>0x1)return;if(!_0x54a947[_0x30ede5(0x2e1)][_0x30ede5(0x20d)](_0x8a293c[_0x30ede5(0x298)],_0x5002ca[_0x30ede5(0x238)]))return;const _0xeb1b21=_0x54a947[_0x30ede5(0x277)],_0x45acb3=_0x54a947[_0x30ede5(0x23e)][_0x30ede5(0x278)](_0x8a293c[_0x30ede5(0x250)]);_0xeb1b21[_0x30ede5(0x1da)](_0x45acb3,_0xeb1b21[_0x30ede5(0x2d6)](_0x30ede5(0x28d)));});}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x229))[_0x5b0e79(0x231)]({'model':_0x5b0e79(0x20e)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x1ed),function(_0x284543){const _0xfd1db8=_0x5b0e79,_0x5cc67f=_0x284543[_0xfd1db8(0x1b8)][_0xfd1db8(0x275)](_0xfd1db8(0x1d4));return(_0x55915e,_0x4755f9,_0x48ca3b)=>{const _0xc14258=_0xfd1db8,_0x57de0b=_0x4755f9[_0xc14258(0x27d)][_0xc14258(0x1c9)](':')[0x1],_0x3e5274=_0x5cc67f[_0xc14258(0x2ac)](_0x57de0b);if(!_0x3e5274)return null;const _0xb0de64=_0xc14258(0x284)==_0x3e5274[_0xc14258(0x1b2)]?_0xc14258(0x1c9):_0xc14258(0x297);if(!_0x48ca3b[_0xc14258(0x2e1)][_0xc14258(0x24b)](_0x4755f9[_0xc14258(0x27a)],_0x55915e[_0xc14258(0x238)]))return;const _0x3f5ba3=_0x4755f9[_0xc14258(0x27a)][_0xc14258(0x2d9)](),_0x417e13=_0x4755f9[_0xc14258(0x27a)][_0xc14258(0x2cd)],_0x3825ad=_0x284543[_0xc14258(0x256)][_0xc14258(0x2f1)];let _0x1f4494=null,_0x59aba1=null,_0x2e3026=!0x1,_0x41fb96=!0x1;for(const _0x50810f of _0x3f5ba3){const _0xab62f6=_0x50810f[_0xc14258(0x298)];_0x2e3026=_0x2e3026||_0x3825ad[_0xc14258(0x247)](_0xab62f6);const _0x58bb89=_0x48ca3b[_0xc14258(0x23e)][_0xc14258(0x22f)](_0xab62f6);if(_0x58bb89&&_0x58bb89[_0xc14258(0x2da)](_0xc14258(0x1b9)))return;_0xc14258(0x2a3)==_0x50810f[_0xc14258(0x1b2)]&&(_0x3825ad[_0xc14258(0x296)](_0xab62f6)&&!_0x3825ad[_0xc14258(0x288)](_0xab62f6)&&(_0xab62f6[_0xc14258(0x241)]||_0x417e13[_0xc14258(0x1c7)]?_0x1f4494&&_0x1f4494[_0xc14258(0x236)]==_0xab62f6||(_0x1f4494=_0xab62f6,_0x149b16(_0x50810f[_0xc14258(0x1fd)]),_0x41fb96=!0x0):_0x59aba1=_0x59aba1||_0x50810f[_0xc14258(0x1fd)]));}function _0x149b16(_0x4ab777){const _0x2e8f17=_0xc14258,_0x4aa112=_0x48ca3b[_0x2e8f17(0x277)][_0x2e8f17(0x283)](_0x2e8f17(0x28d),{'class':_0x2e8f17(0x2ea)+_0xb0de64}),_0x10b08f=_0x48ca3b[_0x2e8f17(0x23e)][_0x2e8f17(0x219)](_0x4ab777);_0x3e5274[_0x2e8f17(0x1eb)][_0x2e8f17(0x270)]&&_0x48ca3b[_0x2e8f17(0x277)][_0x2e8f17(0x210)](_0x2e8f17(0x2ea)+_0xb0de64+_0x2e8f17(0x271),_0x4aa112),_0x5cc67f[_0x2e8f17(0x292)]==_0x3e5274&&_0x48ca3b[_0x2e8f17(0x277)][_0x2e8f17(0x210)](_0x2e8f17(0x2d8),_0x4aa112),_0x48ca3b[_0x2e8f17(0x277)][_0x2e8f17(0x1e8)](_0x10b08f,_0x4aa112),_0x48ca3b[_0x2e8f17(0x23e)][_0x2e8f17(0x1d0)](_0x4aa112,_0x4755f9[_0x2e8f17(0x27d)]);}_0x2e3026||_0x41fb96||!_0x59aba1||_0x149b16(_0x59aba1);};}(this[_0x5b0e79(0x266)]),{'priority':_0x5b0e79(0x2a2)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x2f3),(_0xbf4fda,_0x26ce64,_0xbfb2c4)=>{const _0x136534=_0x5b0e79,_0x1f3ce5=_0xbfb2c4[_0x136534(0x23e)][_0x136534(0x22e)](_0x26ce64[_0x136534(0x27d)]);if(_0x1f3ce5){for(const _0x5d2e9e of _0x1f3ce5)(_0x5d2e9e[_0x136534(0x290)](_0x136534(0x25d))||_0x5d2e9e[_0x136534(0x290)](_0x136534(0x2ab)))&&(_0xbfb2c4[_0x136534(0x23e)][_0x136534(0x1a9)](_0x5d2e9e,_0x26ce64[_0x136534(0x27d)]),_0xbfb2c4[_0x136534(0x277)][_0x136534(0x201)](_0x5d2e9e));}},{'priority':_0x5b0e79(0x2a2)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x1ed),(_0x275deb,_0x457ab3,_0x35dced)=>{const _0x4d3451=_0x5b0e79,_0x5ed9a1=_0x457ab3[_0x4d3451(0x27d)][_0x4d3451(0x1c9)](':')[0x1],_0x30b911=this[_0x4d3451(0x2ac)](_0x5ed9a1);if(!_0x30b911)return null;const _0x189944=_0x4d3451(0x284)==_0x30b911[_0x4d3451(0x1b2)]?_0x4d3451(0x1c9):_0x4d3451(0x297);if(_0x35dced[_0x4d3451(0x2e1)][_0x4d3451(0x24b)](_0x457ab3[_0x4d3451(0x27a)],_0x275deb[_0x4d3451(0x238)]))for(const _0x100ce7 of _0x457ab3[_0x4d3451(0x27a)][_0x4d3451(0x24f)]()){if(!_0x100ce7['is'](_0x4d3451(0x26b),_0x4d3451(0x1c5)))continue;const _0x7d5493=_0x35dced[_0x4d3451(0x277)][_0x4d3451(0x283)](_0x4d3451(0x28d),{'class':_0x4d3451(0x2ea)+_0x189944}),_0x33f383=_0x35dced[_0x4d3451(0x23e)][_0x4d3451(0x219)](this[_0x4d3451(0x266)][_0x4d3451(0x256)][_0x4d3451(0x2a9)](_0x100ce7));_0x30b911[_0x4d3451(0x1eb)][_0x4d3451(0x270)]&&_0x35dced[_0x4d3451(0x277)][_0x4d3451(0x210)](_0x4d3451(0x2ea)+_0x189944+_0x4d3451(0x271),_0x7d5493),this[_0x4d3451(0x292)]==_0x30b911&&_0x35dced[_0x4d3451(0x277)][_0x4d3451(0x210)](_0x4d3451(0x2d8),_0x7d5493),_0x35dced[_0x4d3451(0x277)][_0x4d3451(0x1e8)](_0x33f383,_0x7d5493),_0x35dced[_0x4d3451(0x23e)][_0x4d3451(0x1d0)](_0x7d5493,_0x457ab3[_0x4d3451(0x27d)]);}},{'priority':_0x5b0e79(0x2a2)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x256)][_0x5b0e79(0x268)]['on'](_0x5b0e79(0x2b5),()=>{const _0x1f4915=_0x5b0e79;this[_0x1f4915(0x266)][_0x1f4915(0x2c3)][_0x1f4915(0x28c)][_0x1f4915(0x2b5)](_0x14a664=>{const _0x36faed=_0x1f4915;for(const _0x44ce63 of this[_0x36faed(0x266)][_0x36faed(0x256)][_0x36faed(0x268)][_0x36faed(0x2ec)]()){const _0x35bb35=this[_0x36faed(0x266)][_0x36faed(0x256)][_0x36faed(0x268)][_0x36faed(0x1e3)](_0x44ce63),_0x2ca371=this[_0x36faed(0x266)][_0x36faed(0x2c3)][_0x36faed(0x28c)][_0x36faed(0x268)][_0x36faed(0x1e3)](_0x44ce63);if(_0x2ca371){const _0x529354=_0x35bb35[_0x36faed(0x23d)](_0x36faed(0x2c8));if(_0x14a664[_0x36faed(0x267)](_0x36faed(0x2ae),_0x2ca371),_0x14a664[_0x36faed(0x2ed)](_0x36faed(0x24d),_0x2ca371),_0x14a664[_0x36faed(0x2ed)](_0x36faed(0x209),_0x2ca371),_0x14a664[_0x36faed(0x2ed)](_0x36faed(0x2ee),_0x2ca371),_0x529354){const _0x3bcd00=this[_0x36faed(0x2ac)](_0x529354);if(!_0x3bcd00)return null;_0x14a664[_0x36faed(0x1a4)](_0x36faed(0x2ae),_0x529354,_0x2ca371),_0x14a664[_0x36faed(0x210)](_0x36faed(0x1f2)+_0x3bcd00[_0x36faed(0x1b2)],_0x2ca371),this[_0x36faed(0x292)]==_0x3bcd00&&_0x14a664[_0x36faed(0x210)](_0x36faed(0x2ee),_0x2ca371);}}}});}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x2c4)]({'view':_0x5b0e79(0x1bb),'model':_0x49cc29=>_0x5b0e79(0x1d3)+_0x49cc29,'converterPriority':_0x5b0e79(0x2b7)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x1e1))[_0x5b0e79(0x2c4)]({'view':_0x5b0e79(0x2dd),'model':_0x3b8925=>_0x5b0e79(0x2de)+_0x3b8925,'converterPriority':_0x5b0e79(0x2b7)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x229))[_0x5b0e79(0x231)]({'model':_0x5b0e79(0x2b6),'view':_0x5ef01c=>({'name':_0x5b0e79(0x274)+_0x5ef01c,'group':_0x5b0e79(0x2b6)}),'converterPriority':_0x5b0e79(0x2b7)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x244)][_0x5b0e79(0x262)](_0x5b0e79(0x281))[_0x5b0e79(0x202)]({'model':_0x5b0e79(0x2b6),'view':_0x2fe71f=>{const _0x213ffe=_0x5b0e79,_0x3f2118=_0x2fe71f[_0x213ffe(0x27d)][_0x213ffe(0x1c9)](':')[0x1];return _0x213ffe(0x299)!=_0x3f2118&&_0x213ffe(0x265)!=_0x3f2118?null:{'classes':[_0x213ffe(0x1f3),_0x213ffe(0x295)+_0x3f2118]};}}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x1bc),et(this[_0x5b0e79(0x266)],_0x5b0e79(0x297)),{'priority':_0x5b0e79(0x2a2)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x28f),et(this[_0x5b0e79(0x266)],_0x5b0e79(0x1c9)),{'priority':_0x5b0e79(0x2a2)}),this[_0x5b0e79(0x266)][_0x5b0e79(0x2c3)][_0x5b0e79(0x2a0)]['on'](_0x5b0e79(0x24c),(_0x3a8ef7,_0x27d23c,_0x149ff5)=>{const _0x146b03=_0x5b0e79,_0x34247d=_0x149ff5[_0x146b03(0x23e)][_0x146b03(0x22e)](_0x27d23c[_0x146b03(0x27d)]);if(_0x34247d){for(const _0x4ebe40 of _0x34247d)_0x4ebe40['is'](_0x146b03(0x27c))&&(_0x149ff5[_0x146b03(0x23e)][_0x146b03(0x1a9)](_0x4ebe40,_0x27d23c[_0x146b03(0x27d)]),_0x149ff5[_0x146b03(0x277)][_0x146b03(0x201)](_0x4ebe40));}},{'priority':_0x5b0e79(0x2a2)});}[_0x3b94a6(0x2ac)](_0x3daaac){const _0x3f14ba=_0x3b94a6;return this[_0x3f14ba(0x1f8)][_0x3f14ba(0x275)](_0x3daaac);}[_0x3b94a6(0x29f)](_0x22d7e6){const _0x3364d1=_0x3b94a6;return this[_0x3364d1(0x1d6)]&&this[_0x3364d1(0x1d6)][_0x3364d1(0x2e0)](),this[_0x3364d1(0x1d6)]=new _0x5bb3ac(this[_0x3364d1(0x266)][_0x3364d1(0x20c)],_0x22d7e6),this[_0x3364d1(0x1d6)];}[_0x3b94a6(0x2a1)](){const _0xbbc2ba=_0x3b94a6;this[_0xbbc2ba(0x266)][_0xbbc2ba(0x256)][_0xbbc2ba(0x268)][_0xbbc2ba(0x2c5)][_0xbbc2ba(0x204)](_0xbbc2ba(0x20e)),this['on'](_0xbbc2ba(0x2e6),(_0x1cd6bd,_0x1d3565,_0x41fb8c,_0x5a7a0a)=>{const _0xad079d=_0xbbc2ba;_0x5a7a0a&&this[_0xad079d(0x24a)][_0xad079d(0x201)](_0x5a7a0a),_0x41fb8c&&(this[_0xad079d(0x24a)][_0xad079d(0x284)]({'view':_0x41fb8c,'stackId':_0xad079d(0x23a),'position':{'target':()=>{const _0xfcf317=_0xad079d,_0x3afc34=this[_0xfcf317(0x266)][_0xfcf317(0x2c3)],_0x5eafcf=this[_0xfcf317(0x2ac)](_0x41fb8c[_0xfcf317(0x2e3)]);let _0x204a7b;if(_0x5eafcf[_0xfcf317(0x1eb)][_0xfcf317(0x29e)]){const _0x253dfd=_0x3afc34[_0xfcf317(0x28c)][_0xfcf317(0x2ca)](_0x5eafcf[_0xfcf317(0x2d2)]);_0x204a7b=Array[_0xfcf317(0x20a)](_0x253dfd[_0xfcf317(0x23c)]());}else{const _0x326dd1=this[_0xfcf317(0x266)][_0xfcf317(0x256)][_0xfcf317(0x226)][_0xfcf317(0x275)](_0xfcf317(0x29d)+_0x41fb8c[_0xfcf317(0x2e3)]);_0x204a7b=Array[_0xfcf317(0x20a)](_0x3afc34[_0xfcf317(0x23e)][_0xfcf317(0x22e)](_0x326dd1[_0xfcf317(0x238)]))[_0xfcf317(0x2ba)](_0x35ea83=>_0x3afc34[_0xfcf317(0x28c)][_0xfcf317(0x1d9)][_0xfcf317(0x1a8)](_0x35ea83))[_0xfcf317(0x2ba)](_0xb3177b=>Array[_0xfcf317(0x20a)](_0xb3177b[_0xfcf317(0x23c)]()))[_0xfcf317(0x22d)]();}if(!this[_0xfcf317(0x1d2)])return _0x204a7b[0x0];return _0x204a7b[_0xfcf317(0x211)](_0x35ca16=>_0x35ca16[_0xfcf317(0x233)]-0x3<=this[_0xfcf317(0x1d2)]['y']&&_0x35ca16[_0xfcf317(0x213)]+0x3>=this[_0xfcf317(0x1d2)]['y']&&_0x35ca16[_0xfcf317(0x1be)]-0x3<=this[_0xfcf317(0x1d2)]['x']&&_0x35ca16[_0xfcf317(0x1ae)]+0x3>=this[_0xfcf317(0x1d2)]['x'])||_0x204a7b[0x0];}}}),this[_0xad079d(0x24a)][_0xad079d(0x2cc)](_0xad079d(0x23a)));}),this['on'](_0xbbc2ba(0x23b),(_0x59c969,_0x37f5da,_0x34351f,_0x4324e6)=>{const _0x25d2f0=_0xbbc2ba;this[_0x25d2f0(0x1f7)]=_0x34351f?this[_0x25d2f0(0x29f)](_0x34351f):null,this[_0x25d2f0(0x266)][_0x25d2f0(0x256)][_0x25d2f0(0x2b5)](()=>{const _0x7bdbef=_0x25d2f0,_0x1e8ab7=this[_0x7bdbef(0x266)][_0x7bdbef(0x2c3)];_0x4324e6&&(_0x4324e6[_0x7bdbef(0x1eb)][_0x7bdbef(0x29e)]?_0x1e8ab7[_0x7bdbef(0x28c)][_0x7bdbef(0x2b5)](_0x3264d2=>{const _0x2a6fed=_0x7bdbef;_0x3264d2[_0x2a6fed(0x2ed)](_0x2a6fed(0x2ee),_0x1e8ab7[_0x2a6fed(0x28c)][_0x2a6fed(0x268)][_0x2a6fed(0x1e3)](_0x4324e6[_0x2a6fed(0x2d2)]));}):_0x1e8ab7[_0x7bdbef(0x2a8)](_0x7bdbef(0x29d)+_0x4324e6['id'])),_0x34351f&&(_0x34351f[_0x7bdbef(0x1eb)][_0x7bdbef(0x29e)]?_0x1e8ab7[_0x7bdbef(0x28c)][_0x7bdbef(0x2b5)](_0x31acb8=>{const _0x801f6b=_0x7bdbef;_0x31acb8[_0x801f6b(0x210)](_0x801f6b(0x2ee),_0x1e8ab7[_0x801f6b(0x28c)][_0x801f6b(0x268)][_0x801f6b(0x1e3)](_0x34351f[_0x801f6b(0x2d2)]));}):_0x1e8ab7[_0x7bdbef(0x2a8)](_0x7bdbef(0x29d)+_0x34351f['id']));});}),this[_0xbbc2ba(0x1fe)](this[_0xbbc2ba(0x266)][_0xbbc2ba(0x2c3)][_0xbbc2ba(0x28c)][_0xbbc2ba(0x268)],_0xbbc2ba(0x1ef),(_0x511291,_0x3a72b7)=>{const _0x5eaf07=_0xbbc2ba;if(this[_0x5eaf07(0x292)])return;const _0x7d0ca7=this[_0x5eaf07(0x2bc)](_0x3a72b7[_0x5eaf07(0x1fc)]),_0xc9ec26=this[_0x5eaf07(0x1f8)][_0x5eaf07(0x275)](_0x7d0ca7);_0xc9ec26?(this[_0x5eaf07(0x1d2)]={'x':_0x3a72b7[_0x5eaf07(0x232)]['x'],'y':_0x3a72b7[_0x5eaf07(0x232)]['y']},this[_0x5eaf07(0x1f7)]=this[_0x5eaf07(0x29f)](_0xc9ec26)):(this[_0x5eaf07(0x1d2)]=null,this[_0x5eaf07(0x1f7)]=null);}),this[_0xbbc2ba(0x1fe)](this[_0xbbc2ba(0x266)][_0xbbc2ba(0x2c3)][_0xbbc2ba(0x28c)][_0xbbc2ba(0x268)],_0xbbc2ba(0x1fa),(_0x13a145,_0x46ec1b)=>{const _0x257456=_0xbbc2ba,_0x144682=this[_0x257456(0x2bc)](_0x46ec1b[_0x257456(0x1fc)]),_0x2d082a=this[_0x257456(0x1f8)][_0x257456(0x275)](_0x144682);_0x2d082a?(this[_0x257456(0x1d2)]={'x':_0x46ec1b[_0x257456(0x232)]['x'],'y':_0x46ec1b[_0x257456(0x232)]['y']},_0x2d082a===this[_0x257456(0x292)]?this[_0x257456(0x24a)][_0x257456(0x2e7)]():this[_0x257456(0x292)]=_0x2d082a):(this[_0x257456(0x1d2)]=null,this[_0x257456(0x292)]=null);});}[_0x3b94a6(0x2bc)](_0x49b5de){const _0x9a398f=_0x3b94a6;do{const _0x5ed653=_0x49b5de[_0x9a398f(0x23d)](_0x9a398f(0x2ae));if(_0x5ed653)return _0x5ed653;_0x49b5de=_0x49b5de[_0x9a398f(0x236)];}while(_0x49b5de);return null;}[_0x3b94a6(0x217)](){const _0x5dbde9=_0x3b94a6;this[_0x5dbde9(0x266)][_0x5dbde9(0x256)][_0x5dbde9(0x2b5)](_0x5dcc4e=>{const _0xdd8698=_0x5dbde9;for(const _0x3043b7 of this[_0xdd8698(0x266)][_0xdd8698(0x256)][_0xdd8698(0x226)])_0x5dcc4e[_0xdd8698(0x1ab)](_0x3043b7);});}}function et(_0x5ef943,_0x571c54){return(_0xebd2bf,_0x5a1970,_0x398b25)=>{const _0x27eb1f=_0x5e38;if(!_0x398b25[_0x27eb1f(0x2e1)][_0x27eb1f(0x24b)](_0x5a1970[_0x27eb1f(0x27a)],_0xebd2bf[_0x27eb1f(0x238)]))return;const _0x3208ff=_0x5a1970[_0x27eb1f(0x27a)][_0x27eb1f(0x2d9)](),_0x188d20=_0x5a1970[_0x27eb1f(0x27a)][_0x27eb1f(0x2cd)],_0x1143c4=_0x5ef943[_0x27eb1f(0x256)][_0x27eb1f(0x2f1)];let _0x377398=null,_0x402fc2=null,_0x3e9ac8=!0x1,_0x3553a0=!0x1;for(const _0x1da682 of _0x3208ff){const _0x2e49ed=_0x1da682[_0x27eb1f(0x298)];_0x3e9ac8=_0x3e9ac8||_0x1143c4[_0x27eb1f(0x247)](_0x2e49ed);const _0x4f40c8=_0x398b25[_0x27eb1f(0x23e)][_0x27eb1f(0x22f)](_0x2e49ed);if(_0x4f40c8&&_0x4f40c8[_0x27eb1f(0x2da)](_0x27eb1f(0x1b9)))return;_0x27eb1f(0x2a3)==_0x1da682[_0x27eb1f(0x1b2)]&&(_0x1143c4[_0x27eb1f(0x296)](_0x2e49ed)&&!_0x1143c4[_0x27eb1f(0x288)](_0x2e49ed)&&(_0x2e49ed[_0x27eb1f(0x241)]||_0x188d20[_0x27eb1f(0x1c7)]?_0x377398&&_0x377398[_0x27eb1f(0x236)]==_0x2e49ed||(_0x377398=_0x2e49ed,_0xf9bf8b(_0x1da682[_0x27eb1f(0x1fd)]),_0x3553a0=!0x0):_0x402fc2=_0x402fc2||_0x1da682[_0x27eb1f(0x1fd)]));}function _0xf9bf8b(_0x2dd59d){const _0x2bfca0=_0x27eb1f,_0x18cf71=_0x398b25[_0x2bfca0(0x23e)][_0x2bfca0(0x219)](_0x2dd59d),_0x4a2bbc=_0x398b25[_0x2bfca0(0x277)][_0x2bfca0(0x283)](_0x2bfca0(0x28d),{'class':_0x2bfca0(0x295)+_0x571c54});_0x398b25[_0x2bfca0(0x277)][_0x2bfca0(0x1e8)](_0x18cf71,_0x4a2bbc),_0x398b25[_0x2bfca0(0x23e)][_0x2bfca0(0x1d0)](_0x4a2bbc,_0x5a1970[_0x2bfca0(0x27d)]);}_0x3e9ac8||_0x3553a0||!_0x402fc2||_0xf9bf8b(_0x402fc2);};}export class RestoreRevisionCommand extends _0x59a91e{constructor(_0x386c7d){const _0x2c78b2=_0x3b94a6;super(_0x386c7d);const _0x30e292=_0x386c7d[_0x2c78b2(0x1b8)][_0x2c78b2(0x275)](d);this[_0x2c78b2(0x20b)]=!0x1,this[_0x2c78b2(0x1fe)](_0x30e292,_0x2c78b2(0x1ca),()=>this[_0x2c78b2(0x2ad)]()),this[_0x2c78b2(0x1fe)](_0x30e292,_0x2c78b2(0x1ad),()=>this[_0x2c78b2(0x2ad)]());}[_0x3b94a6(0x2a7)](){const _0x129867=_0x3b94a6,_0x463165=this[_0x129867(0x266)],_0x2099c8=_0x463165[_0x129867(0x1b8)][_0x129867(0x275)](d),_0xa989a2=_0x2099c8[_0x129867(0x243)]?_0x2099c8[_0x129867(0x1de)][_0x129867(0x208)]:null;_0x463165[_0x129867(0x1dc)][_0x129867(0x275)](_0x129867(0x2ef))[_0x129867(0x1b1)](_0xa989a2);}[_0x3b94a6(0x2ad)](){const _0x7f3a97=_0x3b94a6,{isReady:_0x20ba22,isEnabled:_0x369af1}=this[_0x7f3a97(0x266)][_0x7f3a97(0x1b8)][_0x7f3a97(0x275)](d);this[_0x7f3a97(0x26f)]=_0x20ba22&&_0x369af1;}}export class ShowChangeCommand extends _0x59a91e{constructor(_0x5731fa,{direction:_0x34df0a}){const _0x5e8e93=_0x3b94a6;super(_0x5731fa);const _0xaad058=_0x5731fa[_0x5e8e93(0x1b8)][_0x5e8e93(0x275)](d);this[_0x5e8e93(0x20b)]=!0x1,this[_0x5e8e93(0x2e8)]=_0x5e8e93(0x1b6)===_0x34df0a?0x1:-0x1,this[_0x5e8e93(0x1fe)](_0xaad058,_0x5e8e93(0x1ca),()=>this[_0x5e8e93(0x2ad)]()),this[_0x5e8e93(0x1fe)](_0xaad058,_0x5e8e93(0x1ad),()=>this[_0x5e8e93(0x2ad)]()),this[_0x5e8e93(0x1fe)](_0xaad058,_0x5e8e93(0x23b),()=>this[_0x5e8e93(0x2ad)]());}[_0x3b94a6(0x2a7)](){const _0x3602d3=_0x3b94a6,_0x350b43=this[_0x3602d3(0x266)],_0x41259f=_0x350b43[_0x3602d3(0x1b8)][_0x3602d3(0x275)](d),{isNavigationMode:_0x2688db,currentChangeNumber:_0x60c73f}=_0x41259f;let _0x40f0c8;if(_0x41259f[_0x3602d3(0x292)]=_0x2688db?_0x41259f[_0x3602d3(0x1de)][_0x3602d3(0x21d)][_0x3602d3(0x275)](_0x60c73f+this[_0x3602d3(0x2e8)]):_0x41259f[_0x3602d3(0x1de)][_0x3602d3(0x21d)][_0x3602d3(0x253)],_0x41259f[_0x3602d3(0x292)][_0x3602d3(0x1eb)][_0x3602d3(0x29e)])_0x40f0c8=_0x350b43[_0x3602d3(0x2c3)][_0x3602d3(0x28c)][_0x3602d3(0x2ca)](_0x41259f[_0x3602d3(0x292)][_0x3602d3(0x2d2)]);else{const _0x3791c5=_0x350b43[_0x3602d3(0x256)][_0x3602d3(0x226)][_0x3602d3(0x275)](_0x3602d3(0x29d)+_0x41259f[_0x3602d3(0x292)]['id']);_0x40f0c8=_0x27f854(_0x350b43[_0x3602d3(0x2c3)],_0x3791c5);}_0x2d740a({'target':_0x40f0c8,'viewportOffset':0x28});}[_0x3b94a6(0x2ad)](){const _0x3ff98d=_0x3b94a6,{isNavigationMode:_0x3dd259,currentChangeNumber:_0x18f544,numberOfChanges:_0x7a8de4,isReady:_0x2298f6,isEnabled:_0x305768}=this[_0x3ff98d(0x266)][_0x3ff98d(0x1b8)][_0x3ff98d(0x275)](d);this[_0x3ff98d(0x26f)]=!!(_0x305768&&_0x2298f6&&_0x7a8de4)&&(!_0x3dd259||(0x1===this[_0x3ff98d(0x2e8)]?_0x18f544<_0x7a8de4-0x1:_0x18f544>0x0));}}
|
|
23
|
+
const _0x186374=_0x21a4;(function(_0x1bb12a,_0x1ac391){const _0x1c45e0=_0x21a4,_0x426a9a=_0x1bb12a();while(!![]){try{const _0x2d637d=parseInt(_0x1c45e0(0x1f4))/0x1+-parseInt(_0x1c45e0(0x219))/0x2+parseInt(_0x1c45e0(0x1f2))/0x3*(parseInt(_0x1c45e0(0x11e))/0x4)+-parseInt(_0x1c45e0(0x190))/0x5+-parseInt(_0x1c45e0(0x126))/0x6*(parseInt(_0x1c45e0(0x12c))/0x7)+-parseInt(_0x1c45e0(0x1d7))/0x8+parseInt(_0x1c45e0(0x11d))/0x9;if(_0x2d637d===_0x1ac391)break;else _0x426a9a['push'](_0x426a9a['shift']());}catch(_0x2d7c42){_0x426a9a['push'](_0x426a9a['shift']());}}}(_0x5e00,0xd3301));import{Plugin as _0x25cb17,Command as _0x22b707}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x59e95e}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x1b92b3}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x270362,Element as _0x4db192,Text as _0x70f834,ViewDocumentFragment as _0x247086,ViewText as _0x299905,ViewElement as _0x34b289,ViewContainerElement as _0xde5c19,ViewAttributeElement as _0x231ef3,ViewEmptyElement as _0x16e904,ViewRawElement as _0x1b5beb,ViewUIElement as _0x3bdf43}from'ckeditor5/src/engine.js';import{Users as _0x2aca5a,getMarkerDomElement as _0x4f3ef1}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x10c7bf from'./ui/revisionviewer/changedetailsview.js';import _0x1ef54b from'./revisionsrepository.js';import _0x46b088 from'./changeitem.js';import{default as _0x4186cc}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x1f1553}from'lodash-es';const tt={'c':_0xde5c19,'a':_0x231ef3,'e':_0x16e904,'r':_0x1b5beb,'u':_0x3bdf43};export default class d extends _0x25cb17{static get[_0x186374(0x16a)](){const _0x1eaad3=_0x186374;return _0x1eaad3(0x154);}static get[_0x186374(0x18f)](){return[_0x2aca5a,_0x1b92b3,_0x1ef54b];}constructor(_0x46546e){const _0x482932=_0x186374;super(_0x46546e),this[_0x482932(0x1cd)]=this[_0x482932(0x1fd)][_0x482932(0x20b)][_0x482932(0x1e8)](_0x482932(0x104)),this[_0x482932(0x112)](_0x482932(0x188),null),this[_0x482932(0x112)](_0x482932(0xe0),null),this[_0x482932(0x1e6)]=null,this[_0x482932(0x112)](_0x482932(0x17a),null),this[_0x482932(0x112)](_0x482932(0x15a),!0x1),this[_0x482932(0x112)](_0x482932(0x12b),!0x0),this['on'](_0x482932(0x1ad),(_0x36f174,_0x5f0352,_0x42b5e1)=>{const _0x531690=_0x482932;this[_0x531690(0x188)]=null,this[_0x531690(0xe0)]=null,this[_0x531690(0x1fd)][_0x531690(0x12e)][_0x531690(0x131)][_0x531690(0x10c)](_0x3dc7a7=>{const _0x35178c=_0x531690;for(const _0xf3a1a9 of this[_0x35178c(0x1fd)][_0x35178c(0x12e)][_0x35178c(0x131)][_0x35178c(0x1a8)][_0x35178c(0x14f)])_0x42b5e1?_0x3dc7a7[_0x35178c(0x198)](_0x35178c(0x136),_0xf3a1a9):_0x3dc7a7[_0x35178c(0xd6)](_0x35178c(0x136),_0xf3a1a9);});}),this[_0x482932(0x216)](_0x482932(0x21a))['to'](this,_0x482932(0x188),_0x4f17f3=>null!==_0x4f17f3),this[_0x482932(0x216)](_0x482932(0x133))['to'](this,_0x482932(0x15a),this,_0x482932(0x17a),this,_0x482932(0x188),(_0x383c77,_0x1d878d,_0x3eec19)=>_0x383c77&&_0x3eec19?_0x1d878d[_0x482932(0xfe)][_0x482932(0x160)](_0x3eec19):0x0),this[_0x482932(0x216)](_0x482932(0x1a3))['to'](this,_0x482932(0x15a),this,_0x482932(0x17a),(_0xf8c43a,_0x241530)=>_0xf8c43a?_0x241530[_0x482932(0xfe)][_0x482932(0xd5)]:0x0),this[_0x482932(0x1c3)]=null,this[_0x482932(0x185)]=new Map(),this[_0x482932(0xde)]=null,this[_0x482932(0x1d1)]=this[_0x482932(0x1fd)][_0x482932(0x20b)][_0x482932(0x1e8)](_0x1b92b3);}[_0x186374(0xf0)](){const _0x1c2e32=_0x186374,_0x1cb275=this[_0x1c2e32(0x1fd)],_0x5a20fe=new ShowChangeCommand(_0x1cb275,{'direction':_0x1c2e32(0x111)}),_0x4053e3=new ShowChangeCommand(_0x1cb275,{'direction':_0x1c2e32(0x146)});(_0x1cb275[_0x1c2e32(0x115)][_0x1c2e32(0x18e)](_0x1c2e32(0xea),_0x5a20fe),_0x1cb275[_0x1c2e32(0x115)][_0x1c2e32(0x18e)](_0x1c2e32(0x1cc),_0x4053e3),_0x1cb275[_0x1c2e32(0x115)][_0x1c2e32(0x18e)](_0x1c2e32(0x158),new RestoreRevisionCommand(_0x1cb275)),this['on'](_0x1c2e32(0x1e9),()=>{const _0x5a5005=_0x1c2e32;_0x5a20fe[_0x5a5005(0x13f)](),_0x4053e3[_0x5a5005(0x13f)]();}),this[_0x1c2e32(0xf5)](),this[_0x1c2e32(0x187)](),_0x1cb275[_0x1c2e32(0x15f)](_0x1c2e32(0x138)),_0x1cb275[_0x1c2e32(0x20b)][_0x1c2e32(0x172)](_0x1c2e32(0xe3)))&&_0x1cb275[_0x1c2e32(0x20b)][_0x1c2e32(0x1e8)](_0x1c2e32(0xe3))[_0x1c2e32(0x110)](_0x1c2e32(0x138));}async[_0x186374(0xe4)](_0x1db470){const _0x843bf=_0x186374;await this[_0x843bf(0xf9)](_0x1db470);const _0x1c399c={};for(const _0x44bbc9 in _0x1db470[_0x843bf(0x102)]){if(_0x1db470[_0x843bf(0x102)][_0x44bbc9][_0x843bf(0x1a0)]&&!_0x1db470[_0x843bf(0x102)][_0x44bbc9][_0x843bf(0x1a0)][_0x843bf(0x1fa)])continue;const _0x5b078f=this[_0x843bf(0x1ab)](JSON[_0x843bf(0xf1)](_0x1db470[_0x843bf(0x102)][_0x44bbc9][_0x843bf(0xfa)])),_0x2a032a=this[_0x843bf(0x1fd)][_0x843bf(0x12e)][_0x843bf(0x131)][_0x843bf(0x1a8)],_0x58248a=new _0x247086(_0x2a032a,_0x5b078f[_0x843bf(0x1c9)](_0x27fe4c=>this[_0x843bf(0x15c)](_0x27fe4c)));this[_0x843bf(0x1fd)][_0x843bf(0x1ec)][_0x843bf(0x183)][_0x843bf(0x15e)](_0x843bf(0xd9)),_0x1c399c[_0x44bbc9]=this[_0x843bf(0x1fd)][_0x843bf(0x1ec)][_0x843bf(0x183)][_0x843bf(0x1b1)](_0x58248a),this[_0x843bf(0x1fd)][_0x843bf(0x1ec)][_0x843bf(0x183)][_0x843bf(0x15e)](_0x843bf(0x20c));}return _0x1c399c;}async[_0x186374(0x141)](_0x55c8dc){const _0x5134b2=_0x186374;await this[_0x5134b2(0xf9)](_0x55c8dc);const _0x570581={};for(const _0x3503de in _0x55c8dc[_0x5134b2(0x102)])_0x55c8dc[_0x5134b2(0x102)][_0x3503de][_0x5134b2(0x1a0)]&&!_0x55c8dc[_0x5134b2(0x102)][_0x3503de][_0x5134b2(0x1a0)][_0x5134b2(0x1fa)]||(_0x570581[_0x3503de]=_0x55c8dc[_0x5134b2(0x102)][_0x3503de][_0x5134b2(0x19d)]||{});return _0x570581;}[_0x186374(0x1ab)](_0x165b79){const _0x26a677=_0x186374;return(_0x165b79=_0x165b79[_0x26a677(0x1bf)](_0x208548=>!_0x208548[_0x26a677(0x11b)]||_0x26a677(0x1e0)!==_0x208548[_0x26a677(0x11b)]&&_0x26a677(0x109)!==_0x208548[_0x26a677(0x11b)]))[_0x26a677(0x1ed)](_0xa3c0a7=>{const _0x3e0170=_0x26a677;_0x3e0170(0xd8)!=typeof _0xa3c0a7&&(_0xa3c0a7[_0x3e0170(0x17c)]=this[_0x3e0170(0x1ab)](_0xa3c0a7[_0x3e0170(0x17c)]),_0xa3c0a7[_0x3e0170(0xe8)]=_0xa3c0a7[_0x3e0170(0xe8)][_0x3e0170(0x1bf)](_0x149856=>!_0x149856[0x0][_0x3e0170(0x14d)](_0x3e0170(0x1d6))));}),_0x165b79;}async[_0x186374(0x152)](_0x52147c,_0x522906,_0x1e4692=!0x1){const _0x12112a=_0x186374;if(!this[_0x12112a(0x12b)])return;const _0x5123b6=this[_0x12112a(0x17a)],_0xcd065e=this[_0x12112a(0x1cd)],_0x5a5aab=_0x12112a(0xd8)==typeof _0x52147c?_0xcd065e[_0x12112a(0x107)](_0x52147c):_0x52147c,_0xa90304=_0x12112a(0xd8)==typeof _0x522906?_0xcd065e[_0x12112a(0x107)](_0x522906):_0x522906,_0xe755db=_0x5a5aab['id'],_0x2ff12a=_0xa90304?_0xa90304['id']:null;if(!_0x1e4692&&this[_0x12112a(0x17a)]&&this[_0x12112a(0x17a)][_0x12112a(0x17e)]===_0xe755db&&this[_0x12112a(0x17a)][_0x12112a(0x20a)]===_0x2ff12a)return Promise[_0x12112a(0xe7)]();this[_0x12112a(0x15a)]=!0x1,this[_0x12112a(0xe0)]=null,this[_0x12112a(0x188)]=null,this[_0x12112a(0x17a)]=new _0x4186cc(_0xe755db,_0x2ff12a);const _0x18db22=this[_0x12112a(0x143)](_0x5a5aab,_0xa90304,!0x0)[_0x12112a(0x1c9)](_0x2a6192=>this[_0x12112a(0xf9)](_0x2a6192));return _0x18db22[_0x12112a(0x1cf)](new Promise(_0x66a767=>{setTimeout(_0x66a767,0x14);})),Promise[_0x12112a(0x124)](_0x18db22)[_0x12112a(0x164)](()=>{const _0x140f52=_0x12112a;if(!this[_0x140f52(0x12b)])return;this[_0x140f52(0x1c1)]();const _0x5c75e9=this[_0x140f52(0x1df)](_0xe755db,_0x2ff12a);for(const _0x5c2c72 of _0x5c75e9[_0x140f52(0xfe)])this[_0x140f52(0x185)][_0x140f52(0x112)](_0x5c2c72['id'],_0x5c2c72);this[_0x140f52(0x1fd)][_0x140f52(0x101)][_0x140f52(0x1a1)]({'isUndoable':!0x1},_0x37ae74=>{const _0x53a403=_0x140f52;for(const _0x191cba of this[_0x53a403(0x1fd)][_0x53a403(0x101)][_0x53a403(0x1a8)][_0x53a403(0x117)]())_0x37ae74[_0x53a403(0x121)](_0x191cba);for(const _0x2742e9 of Object[_0x53a403(0x10f)](_0x5c75e9[_0x53a403(0x101)])){const _0xbba91f=_0x37ae74[_0x53a403(0xf7)](_0x2742e9);for(const _0x4d5608 of Object[_0x53a403(0x10f)](_0x5c75e9[_0x53a403(0xe8)][_0x2742e9]))_0x37ae74[_0x53a403(0x132)](_0x4d5608,_0x5c75e9[_0x53a403(0xe8)][_0x2742e9][_0x4d5608],_0xbba91f);_0x37ae74[_0x53a403(0x1a5)](_0x5c75e9[_0x53a403(0x101)][_0x2742e9],_0xbba91f,0x0);}}),this[_0x140f52(0x17a)][_0x140f52(0x20e)](this[_0x140f52(0x1ba)](_0x5c75e9[_0x140f52(0xfe)])),this[_0x140f52(0x15a)]=!0x0;})[_0x12112a(0x182)](_0x41b6d0=>{const _0x10beae=_0x12112a;console[_0x10beae(0x1a6)](_0x41b6d0),this[_0x10beae(0x1c1)](),_0x5123b6&&(this[_0x10beae(0x17a)]=_0x5123b6),this[_0x10beae(0x15a)]=!0x0;});}[_0x186374(0x206)](_0x47964e,_0x446107){const _0x3632aa=_0x186374,_0x2c8405=this[_0x3632aa(0x1cd)][_0x3632aa(0x1a4)](_0x47964e);return _0x2c8405['on'](_0x3632aa(0x14c),(_0x511d35,_0xdeecd9,_0xaf7c4c)=>_0x446107(_0xdeecd9,_0xaf7c4c,_0x2c8405)),this[_0x3632aa(0x1cd)][_0x3632aa(0x181)](_0x2c8405),_0x2c8405;}[_0x186374(0xf9)](_0x201152){const _0x3c783f=_0x186374;if(!_0x201152||_0x201152[_0x3c783f(0x102)])return Promise[_0x3c783f(0xe7)]();{const _0x47fb53=this[_0x3c783f(0x1fd)][_0x3c783f(0x168)][_0x3c783f(0x1e8)](_0x3c783f(0x1d5));return this[_0x3c783f(0xde)][_0x3c783f(0x107)]({'channelId':_0x47fb53,'revisionId':_0x201152['id']})[_0x3c783f(0x164)](_0x323068=>{const _0x1c95c7=_0x3c783f;_0x201152[_0x1c95c7(0x14c)]({'diffData':_0x323068[_0x1c95c7(0x102)]},!0x0);});}}[_0x186374(0x1c1)](){const _0x685bb4=_0x186374;this[_0x685bb4(0x188)]=null,this[_0x685bb4(0x16e)](),this[_0x685bb4(0x1c3)]&&this[_0x685bb4(0x1c3)][_0x685bb4(0xf4)](),this[_0x685bb4(0x1c3)]=null,this[_0x685bb4(0x185)][_0x685bb4(0xd1)](),this[_0x685bb4(0x1fd)][_0x685bb4(0x101)][_0x685bb4(0x1a1)]({'isUndoable':!0x1},_0x5f3eeb=>{const _0x572653=_0x685bb4;for(const _0x4a931b of this[_0x572653(0x1fd)][_0x572653(0x101)][_0x572653(0x1a8)][_0x572653(0x117)]())_0x5f3eeb[_0x572653(0x121)](_0x4a931b);});}[_0x186374(0x1ba)](_0x2a50da){const _0x43a4ad=_0x186374,_0x5f10b3=[],_0x49d207=new Map();for(const _0xb56a0a of this[_0x43a4ad(0x1fd)][_0x43a4ad(0x101)][_0x43a4ad(0x1a8)][_0x43a4ad(0x117)]()){const _0x4fcdc9=this[_0x43a4ad(0x1fd)][_0x43a4ad(0x12e)][_0x43a4ad(0x131)][_0x43a4ad(0x213)](_0xb56a0a);if(!_0x4fcdc9)continue;const _0x1092eb=_0x4fcdc9[_0x43a4ad(0x119)]()[_0x43a4ad(0xee)](0x0);_0x1092eb&&(_0x5f10b3[_0x43a4ad(0x1cf)](_0xb56a0a),_0x49d207[_0x43a4ad(0x112)](_0xb56a0a,_0x1092eb));}return _0x5f10b3[_0x43a4ad(0xed)]((_0x37babb,_0x11990a)=>{const _0xff67eb=_0x43a4ad,_0x1999b6=_0x49d207[_0xff67eb(0x1e8)](_0x37babb),_0x19d504=_0x49d207[_0xff67eb(0x1e8)](_0x11990a);return _0x1999b6['y']-_0x19d504['y']||_0x1999b6['x']-_0x19d504['x'];}),(_0x2a50da=_0x2a50da[_0x43a4ad(0x1bf)](_0x16e0ef=>_0x5f10b3[_0x43a4ad(0x1e7)](_0x16e0ef[_0x43a4ad(0x137)])))[_0x43a4ad(0xed)]((_0x166287,_0x3bcc78)=>_0x5f10b3[_0x43a4ad(0x196)](_0x166287[_0x43a4ad(0x137)])-_0x5f10b3[_0x43a4ad(0x196)](_0x3bcc78[_0x43a4ad(0x137)])),_0x2a50da;}[_0x186374(0x191)](_0x4f0f3b){const _0x5df546=_0x186374,_0x42ac7b=Array[_0x5df546(0x1e3)](_0x4f0f3b[_0x5df546(0xfb)])[_0x5df546(0x1bf)](([_0x1e61c0,_0x29931b])=>_0x1e61c0[_0x5df546(0x14d)](_0x5df546(0xd4))&&!_0x29931b[_0x5df546(0x1f3)]),_0x17f861=Array[_0x5df546(0x1e3)](this[_0x5df546(0x1fd)][_0x5df546(0x101)][_0x5df546(0x1bb)](_0x4f0f3b)[_0x5df546(0x177)]({'singleCharacters':!0x0}));if(0x0!=_0x42ac7b[_0x5df546(0xd5)])for(const _0x51fdc6 of _0x17f861){const [_0x18e7d5,_0x3a886]=_0x42ac7b[0x0],[,_0x3e748d,_0x405a59]=_0x18e7d5[_0x5df546(0x103)](':');if(_0x3a886[_0x5df546(0x17b)][_0x5df546(0x1b7)](_0x51fdc6[_0x5df546(0x18c)])&&_0x42ac7b[_0x5df546(0xd2)](),(_0x51fdc6[_0x5df546(0xe5)][_0x5df546(0x1b7)](_0x3a886[_0x5df546(0x1be)])||_0x51fdc6[_0x5df546(0xe5)][_0x5df546(0xfd)](_0x3a886[_0x5df546(0x1be)]))&&(_0x5df546(0x122)==_0x3e748d?_0x51fdc6[_0x5df546(0x1a2)]={'userId':_0x405a59}:_0x5df546(0x189)==_0x3e748d&&(_0x51fdc6[_0x5df546(0xff)]={'userId':_0x405a59})),0x0==_0x42ac7b[_0x5df546(0xd5)])break;}return _0x17f861;}[_0x186374(0x218)](_0x358ea2){const _0x3e5061=_0x186374,_0x5578f3=new Map();for(let _0x5dba48=0x0;_0x5dba48<_0x358ea2[_0x3e5061(0xd5)];_0x5dba48++)_0x3e5061(0x13a)===_0x358ea2[_0x5dba48][_0x3e5061(0x203)]?(_0x358ea2[_0x5dba48][_0x3e5061(0xee)][_0x3e5061(0x21c)]=_0x5dba48,_0x358ea2[_0x5dba48][_0x3e5061(0xee)][_0x3e5061(0x1d4)]=_0x5dba48):(_0x3e5061(0x1e1)===_0x358ea2[_0x5dba48][_0x3e5061(0x203)]?_0x358ea2[_0x5dba48][_0x3e5061(0xee)][_0x3e5061(0x21c)]=_0x5dba48:_0x3e5061(0x1d3)===_0x358ea2[_0x5dba48][_0x3e5061(0x203)]&&(_0x358ea2[_0x5dba48][_0x3e5061(0xee)][_0x3e5061(0x1d4)]=_0x5dba48),_0x5578f3[_0x3e5061(0x112)](_0x358ea2[_0x5dba48]['id'],_0x5dba48));for(const _0x467779 of _0x5578f3[_0x3e5061(0x150)]())_0x3e5061(0x1e1)===_0x358ea2[_0x467779][_0x3e5061(0x203)]?_0x358ea2[_0x467779][_0x3e5061(0xee)][_0x3e5061(0x1d4)]=_0x5578f3[_0x3e5061(0x1e8)](_0x358ea2[_0x467779][_0x3e5061(0x140)]):_0x3e5061(0x1d3)===_0x358ea2[_0x467779][_0x3e5061(0x203)]&&(_0x358ea2[_0x467779][_0x3e5061(0xee)][_0x3e5061(0x21c)]=_0x5578f3[_0x3e5061(0x1e8)](_0x358ea2[_0x467779][_0x3e5061(0x140)]));}[_0x186374(0xec)](_0x46902b){const _0x35ecf4=_0x186374;for(let _0x3ec633=0x0;_0x3ec633<_0x46902b[_0x35ecf4(0xd5)];_0x3ec633++){if(_0x35ecf4(0x1e1)===_0x46902b[_0x3ec633][_0x35ecf4(0x203)])_0x46902b[_0x3ec633][_0x35ecf4(0xee)][_0x35ecf4(0x21c)]=_0x3ec633;else{if(_0x35ecf4(0x1d3)===_0x46902b[_0x3ec633][_0x35ecf4(0x203)]){_0x46902b[_0x3ec633][_0x35ecf4(0xee)][_0x35ecf4(0x1d4)]=_0x3ec633;const _0x5ac2c8=_0x46902b[_0x3ec633][_0x35ecf4(0xee)][_0x35ecf4(0x21c)];_0x46902b[_0x5ac2c8][_0x35ecf4(0x140)]=_0x46902b[_0x3ec633]['id'],_0x46902b[_0x3ec633][_0x35ecf4(0x140)]=_0x46902b[_0x5ac2c8]['id'];}else _0x46902b[_0x3ec633][_0x35ecf4(0xee)][_0x35ecf4(0x21c)]=_0x3ec633,_0x46902b[_0x3ec633][_0x35ecf4(0xee)][_0x35ecf4(0x1d4)]=_0x3ec633,_0x46902b[_0x3ec633][_0x35ecf4(0x140)]=null;}_0x46902b[_0x3ec633][_0x35ecf4(0x200)]||(_0x46902b[_0x3ec633][_0x35ecf4(0x200)]=[],_0x46902b[_0x3ec633][_0x35ecf4(0x1b8)]=[]);}}[_0x186374(0x1fe)](_0x2236dd,_0x2c2189){const _0x595623=_0x186374,_0x6cd8e9=_0x2236dd[_0x595623(0x1bf)](_0x33453c=>!_0x33453c[_0x595623(0x1a2)]);for(let _0x3927e1=0x0;_0x3927e1<_0x2c2189[_0x595623(0xd5)];_0x3927e1++)_0x2c2189[_0x3927e1][_0x595623(0x1a2)]&&(_0x6cd8e9[_0x3927e1][_0x595623(0x1a2)]=_0x2c2189[_0x3927e1][_0x595623(0x1a2)]);}[_0x186374(0x1f9)](_0x49c297){const _0x25fcf8=_0x186374,_0x26e6bb=JSON[_0x25fcf8(0xf1)](_0x49c297),_0x35c75a=this[_0x25fcf8(0x1fd)][_0x25fcf8(0x12e)][_0x25fcf8(0x131)][_0x25fcf8(0x1a8)],_0x3310d7=new _0x247086(_0x35c75a,_0x26e6bb[_0x25fcf8(0x1c9)](_0x1c6825=>this[_0x25fcf8(0x15c)](_0x1c6825)));return this[_0x25fcf8(0x1fd)][_0x25fcf8(0x1ec)][_0x25fcf8(0xf8)](_0x3310d7);}[_0x186374(0x15c)](_0x4cbfed){const _0x560fc0=_0x186374,_0x1610bb=this[_0x560fc0(0x1fd)][_0x560fc0(0x12e)][_0x560fc0(0x131)][_0x560fc0(0x1a8)];if(_0x560fc0(0xd8)==typeof _0x4cbfed)return new _0x299905(_0x1610bb,_0x4cbfed);{const _0x2efc7d=_0x4cbfed[_0x560fc0(0x17c)][_0x560fc0(0x1c9)](_0x364831=>this[_0x560fc0(0x15c)](_0x364831));return new(tt[_0x4cbfed[(_0x560fc0(0x203))]]||_0x34b289)(_0x1610bb,_0x4cbfed[_0x560fc0(0x11b)],_0x4cbfed[_0x560fc0(0xe8)],_0x2efc7d);}}[_0x186374(0x1df)](_0x47346b,_0x160677=null){const _0x1c8355=_0x186374,_0x4ed51c=this[_0x1c8355(0x1cd)][_0x1c8355(0x107)](_0x47346b),_0x1e05ea=_0x160677?this[_0x1c8355(0x1cd)][_0x1c8355(0x107)](_0x160677):null,_0x51bac8=this[_0x1c8355(0x143)](_0x4ed51c,_0x1e05ea),_0x575a99=_0x51bac8[_0x51bac8[_0x1c8355(0xd5)]-0x1],_0x1d750c=new Map(),_0x31eb8b={'model':{},'attributes':{},'changes':[]},_0x28af82=new Set(),_0x2f5d91=new Map();for(let _0x2f192f=_0x51bac8[_0x1c8355(0xd5)]-0x1;_0x2f192f>=0x0;_0x2f192f--){const _0x10dd3b=_0x51bac8[_0x2f192f];for(const _0xbf64c7 of Object[_0x1c8355(0x10f)](_0x10dd3b[_0x1c8355(0x102)]))if(_0x10dd3b[_0x1c8355(0x102)][_0xbf64c7][_0x1c8355(0x1a0)]){const _0x3caba0=_0x10dd3b[_0x1c8355(0x102)][_0xbf64c7][_0x1c8355(0x1a0)];_0x3caba0[_0x1c8355(0x1fa)]?(_0x28af82[_0x1c8355(0x18e)](_0xbf64c7),_0x2f5d91[_0x1c8355(0x172)](_0xbf64c7)&&_0x2f5d91[_0x1c8355(0x1e8)](_0xbf64c7)[_0x1c8355(0x186)]==_0x3caba0[_0x1c8355(0x186)]?_0x2f5d91[_0x1c8355(0x1a7)](_0xbf64c7):_0x2f5d91[_0x1c8355(0x112)](_0xbf64c7,_0x3caba0)):_0x2f5d91[_0x1c8355(0x172)](_0xbf64c7)?(_0x28af82[_0x1c8355(0x1a7)](_0xbf64c7),_0x2f5d91[_0x1c8355(0x1a7)](_0xbf64c7)):(_0x28af82[_0x1c8355(0x18e)](_0xbf64c7),_0x2f5d91[_0x1c8355(0x112)](_0xbf64c7,_0x3caba0));}else _0x28af82[_0x1c8355(0x18e)](_0xbf64c7);}for(const _0xd84ab2 of _0x28af82){const _0x598508=_0x2f5d91[_0x1c8355(0x172)](_0xd84ab2)&&!_0x2f5d91[_0x1c8355(0x1e8)](_0xd84ab2)[_0x1c8355(0x1fa)];let _0x19c3cf=_0x598508?_0x51bac8[_0x1c8355(0xd5)]-0x1:0x0;const _0x3ec343=_0x598508?-0x1:0x1;for(;_0x51bac8[_0x19c3cf];){const _0x4dfb1a=_0x51bac8[_0x19c3cf];if(_0x4dfb1a[_0x1c8355(0x102)][_0xd84ab2]){const _0x14b91d=_0x598508?_0x4dfb1a[_0x1c8355(0x102)][_0xd84ab2][_0x1c8355(0x15d)]:_0x4dfb1a[_0x1c8355(0x102)][_0xd84ab2][_0x1c8355(0x19d)];_0x31eb8b[_0x1c8355(0xe8)][_0xd84ab2]=_0x14b91d?_0x1f1553(_0x14b91d):{};break;}_0x19c3cf+=_0x3ec343;}}for(const _0x5b0778 of _0x51bac8){_0x5b0778[_0x1c8355(0x101)]={};for(const _0x17a748 of _0x5b0778[_0x1c8355(0x144)])_0x1d750c[_0x1c8355(0x112)](_0x17a748['id'],_0x17a748);for(const _0x3ea3c9 of _0x28af82){const _0x2b98d8=_0x5b0778[_0x1c8355(0x102)][_0x3ea3c9]?_0x5b0778[_0x1c8355(0x102)][_0x3ea3c9][_0x1c8355(0xfa)]:'[]',_0x54eb30=_0x5b0778[_0x1c8355(0x102)][_0x3ea3c9]?_0x5b0778[_0x1c8355(0x102)][_0x3ea3c9][_0x1c8355(0x202)]:'[]';_0x5b0778[_0x1c8355(0x101)][_0x3ea3c9]={'insertions':this[_0x1c8355(0x1f9)](_0x2b98d8),'deletions':this[_0x1c8355(0x1f9)](_0x54eb30)};}}for(const _0x46f26d of _0x28af82){let _0xa0f430=null,_0x4bcb7c=0x0;const _0x1d8e8b=new Map(Array[_0x1c8355(0x1e3)](_0x4ed51c[_0x1c8355(0x101)][_0x46f26d][_0x1c8355(0xfa)][_0x1c8355(0xfb)])[_0x1c8355(0x1bf)](([_0x351ceb])=>!_0x351ceb[_0x1c8355(0x14d)](_0x1c8355(0xd4))));let _0x3df911=0x0;for(const _0x52ea85 of _0x51bac8){const _0x19c209=this[_0x1c8355(0x191)](_0x52ea85[_0x1c8355(0x101)][_0x46f26d][_0x1c8355(0xfa)]);_0x52ea85==_0x4ed51c?(_0xa0f430=_0x19c209,_0x4bcb7c=_0xa0f430[_0x1c8355(0xd5)],_0xa0f430[_0x1c8355(0x1ed)](_0x4cd97f=>{_0x4cd97f['id']=_0x3df911++;}),this[_0x1c8355(0xec)](_0xa0f430)):this[_0x1c8355(0x1fe)](_0xa0f430,_0x19c209);const _0x571974=_0xa0f430[_0x1c8355(0x1bf)](_0x4b115d=>!_0x4b115d[_0x1c8355(0x1a2)])[_0x1c8355(0x1c9)](_0x2dede8=>_0x2dede8['id']);let _0x26cfde=0x0;const _0x4bc83a=this[_0x1c8355(0x191)](_0x52ea85[_0x1c8355(0x101)][_0x46f26d][_0x1c8355(0x202)]);_0x4bc83a[_0x1c8355(0x1ed)](_0x487529=>{const _0x5a70b2=_0x1c8355;_0x487529[_0x5a70b2(0xff)]?_0x487529['id']=_0x4bcb7c++:_0x487529['id']=_0x571974[_0x26cfde++];}),this[_0x1c8355(0xec)](_0x4bc83a),this[_0x1c8355(0xdd)](_0xa0f430,_0x1c8355(0x1a2)),this[_0x1c8355(0xdd)](_0x4bc83a,_0x1c8355(0xff)),_0x52ea85==_0x4ed51c&&this[_0x1c8355(0x1d8)](_0xa0f430,_0x1d8e8b),_0xa0f430=this[_0x1c8355(0x21b)](_0xa0f430,_0x4bc83a),this[_0x1c8355(0x218)](_0xa0f430),this[_0x1c8355(0xdd)](_0xa0f430,_0x1c8355(0xff));}_0xa0f430=_0xa0f430[_0x1c8355(0x1bf)](_0x3c0b7e=>!(_0x3c0b7e[_0x1c8355(0x1a2)]&&_0x3c0b7e[_0x1c8355(0xff)]));const _0x43a6a6=new Map(_0x575a99[_0x1c8355(0x101)][_0x46f26d][_0x1c8355(0x202)][_0x1c8355(0xfb)]),_0x2a3a43=new Set(_0x1d8e8b[_0x1c8355(0x10f)]());for(const _0x1c9704 of _0x43a6a6[_0x1c8355(0x10f)]())_0x2a3a43[_0x1c8355(0x1a7)](_0x1c9704);this[_0x1c8355(0x1e2)](_0xa0f430,_0x2a3a43),this[_0x1c8355(0x1ca)](_0xa0f430),_0xa0f430=this[_0x1c8355(0x116)](_0xa0f430),_0xa0f430=this[_0x1c8355(0x14a)](_0xa0f430),_0xa0f430=this[_0x1c8355(0xe1)](_0xa0f430);const {root:_0x226e22,changes:_0x2fdcab}=this[_0x1c8355(0x192)](_0xa0f430,_0x1d750c,_0x46f26d);_0x31eb8b[_0x1c8355(0x101)][_0x46f26d]=_0x226e22;const _0x4a4de1=_0x2f5d91[_0x1c8355(0x1e8)](_0x46f26d);if(_0x4a4de1){const _0x51e1bd=_0x1d750c[_0x1c8355(0x1e8)](_0x4a4de1[_0x1c8355(0x186)]),_0x412823=new _0x46b088({'author':_0x51e1bd,'type':_0x4a4de1[_0x1c8355(0x1fa)]?_0x1c8355(0x18e):_0x1c8355(0x211),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x46f26d});_0x2fdcab[_0x1c8355(0x19a)](_0x412823),_0x31eb8b[_0x1c8355(0xe8)][_0x46f26d][_0x1c8355(0x1f6)]=_0x412823['id'];}_0x31eb8b[_0x1c8355(0xfe)]=_0x31eb8b[_0x1c8355(0xfe)][_0x1c8355(0x18a)](_0x2fdcab);}return _0x31eb8b;}[_0x186374(0x1d8)](_0x109fed,_0x3cee7f){const _0x435fa1=_0x186374;for(let _0x3c493b=0x0;_0x3c493b<_0x109fed[_0x435fa1(0xd5)];_0x3c493b++)for(const [_0x466093,_0x566536]of _0x3cee7f)_0x566536[_0x435fa1(0x1be)][_0x435fa1(0x1b7)](_0x109fed[_0x3c493b][_0x435fa1(0xe5)])&&_0x109fed[_0x3c493b][_0x435fa1(0x200)][_0x435fa1(0x1cf)](_0x466093),_0x566536[_0x435fa1(0x17b)][_0x435fa1(0x1b7)](_0x109fed[_0x3c493b][_0x435fa1(0x18c)])&&_0x109fed[_0x3c493b][_0x435fa1(0x1b8)][_0x435fa1(0x1cf)](_0x466093);}[_0x186374(0x21b)](_0x136e9d,_0x5bf920){const _0x4bc149=_0x186374;let _0x2c7235=[],_0x3e10b9=0x0,_0x57f32e=0x0;for(;_0x3e10b9<_0x136e9d[_0x4bc149(0xd5)]||_0x57f32e<_0x5bf920[_0x4bc149(0xd5)];){const _0x14e180=_0x136e9d[_0x3e10b9]||{},_0x5afb42=_0x5bf920[_0x57f32e]||{};if(_0x14e180['id']==_0x5afb42['id'])_0x3e10b9++,_0x57f32e++,_0x2c7235[_0x4bc149(0x1cf)](_0x14e180);else{if(_0x5afb42[_0x4bc149(0xff)]&&_0x14e180[_0x4bc149(0x1a2)]){const {commonTape:_0x2d778b,iEnd:_0x1b3f31,jEnd:_0x1802b2}=this[_0x4bc149(0x1bc)](_0x136e9d,_0x3e10b9,_0x5bf920,_0x57f32e);_0x2c7235=_0x2c7235[_0x4bc149(0x18a)](_0x2d778b),_0x3e10b9=_0x1b3f31,_0x57f32e=_0x1802b2;}else _0x5afb42[_0x4bc149(0xff)]?(_0x57f32e++,_0x2c7235[_0x4bc149(0x1cf)](_0x5afb42)):(_0x3e10b9++,_0x2c7235[_0x4bc149(0x1cf)](_0x14e180));}}return _0x2c7235;}[_0x186374(0x1e2)](_0x356918,_0x33b0a2){const _0x410bc3=_0x186374,_0x429d5c=[];for(let _0x625510=0x0;_0x625510<_0x356918[_0x410bc3(0xd5)];_0x625510++){for(let _0x2f8e27=0x0;_0x2f8e27<_0x356918[_0x625510][_0x410bc3(0x200)][_0x410bc3(0xd5)];_0x2f8e27++){const _0x3ceb66=_0x356918[_0x625510][_0x410bc3(0x200)][_0x2f8e27];if(!_0x33b0a2[_0x410bc3(0x172)](_0x3ceb66))continue;const {group:_0x6dc09d,type:_0x47a5c8,authorId:_0x33ed9a}=_0x512fa7(_0x3ceb66);_0x410bc3(0x1b0)!=_0x6dc09d||_0x410bc3(0x122)!=_0x47a5c8&&_0x410bc3(0x189)!=_0x47a5c8||(_0x429d5c[_0x410bc3(0x19a)]({'type':_0x47a5c8,'name':_0x3ceb66,'userId':_0x33ed9a}),_0x356918[_0x625510][_0x410bc3(0x200)][_0x410bc3(0x1b6)](_0x2f8e27,0x1),_0x2f8e27--);}_0x4ff764(_0x356918[_0x625510]);for(let _0x947fe6=0x0;_0x947fe6<_0x356918[_0x625510][_0x410bc3(0x1b8)][_0x410bc3(0xd5)];_0x947fe6++){const _0x9bbe9=_0x356918[_0x625510][_0x410bc3(0x1b8)][_0x947fe6];if(!_0x33b0a2[_0x410bc3(0x172)](_0x9bbe9))continue;const {group:_0x5d53ff,type:_0x14a63e}=_0x512fa7(_0x9bbe9);if(_0x410bc3(0x1b0)!=_0x5d53ff||_0x410bc3(0x122)!=_0x14a63e&&_0x410bc3(0x189)!=_0x14a63e)continue;_0x356918[_0x625510][_0x410bc3(0x1b8)][_0x410bc3(0x1b6)](_0x947fe6,0x1),_0x947fe6--;const _0x4d0690=_0x429d5c[_0x410bc3(0x199)](_0x2f0ee6=>_0x2f0ee6[_0x410bc3(0x11b)]==_0x9bbe9);_0x4d0690>-0x1&&_0x429d5c[_0x410bc3(0x1b6)](_0x4d0690,0x1);}}function _0x512fa7(_0x5d3341){const _0x1c772b=_0x410bc3,_0x53c756=_0x5d3341[_0x1c772b(0x103)](':');return{'group':_0x53c756[0x0],'type':_0x53c756[0x1],'subType':_0x53c756[_0x1c772b(0xd5)]>=0x5?_0x53c756[0x2]:null,'id':_0x53c756[_0x1c772b(0xd5)]<0x5?_0x53c756[0x2]:_0x53c756[0x3],'authorId':_0x53c756[_0x1c772b(0xd5)]<0x5?_0x53c756[0x3]:_0x53c756[0x4],'markerCount':0x6==_0x53c756[_0x1c772b(0xd5)]?_0x53c756[0x5]:null};}function _0x4ff764(_0x142b97){const _0x210c00=_0x410bc3;for(let _0x4acc20=0x0;_0x4acc20<_0x429d5c[_0x210c00(0xd5)];_0x4acc20++){if(_0x142b97[_0x210c00(0x1a2)]&&_0x210c00(0x122)==_0x429d5c[_0x4acc20][_0x210c00(0x203)])return _0x142b97[_0x210c00(0x105)]=_0x429d5c[_0x4acc20],void delete _0x142b97[_0x210c00(0x1a2)];if(!_0x142b97[_0x210c00(0x1a2)]&&!_0x142b97[_0x210c00(0xff)]&&_0x210c00(0x189)==_0x429d5c[_0x4acc20][_0x210c00(0x203)])return void(_0x142b97[_0x210c00(0x16d)]=_0x429d5c[_0x4acc20]);}}}[_0x186374(0xdd)](_0x1ece51,_0xc882ff){const _0x1474d4=_0x186374;let _0xe3d4e1=0x0,_0x3c762c=!0x1;const _0x433acc=new Map();for(const _0xb66ada of _0x1ece51)_0xb66ada[_0xc882ff]?_0x3c762c&&(_0xe3d4e1++,_0x3c762c=!0x1):(_0xe3d4e1++,_0x3c762c=!0x0),_0x433acc[_0x1474d4(0x112)](_0xb66ada['id'],_0xe3d4e1);for(let _0x578eff=0x0;_0x578eff<_0x1ece51[_0x1474d4(0xd5)];_0x578eff++){if(_0x1474d4(0xff)==_0xc882ff&&_0x1ece51[_0x578eff][_0x1474d4(0x1a2)]||_0x1474d4(0x1a2)==_0xc882ff&&_0x1ece51[_0x578eff][_0x1474d4(0xff)])continue;if(_0x1474d4(0x13a)==_0x1ece51[_0x578eff][_0x1474d4(0x203)]){_0x1ece51[_0x578eff][_0x1474d4(0x11f)]=0x0;continue;}const _0x2b3f38=_0x433acc[_0x1474d4(0x1e8)](_0x1ece51[_0x578eff][_0x1474d4(0x140)]),_0x53ab42=_0x433acc[_0x1474d4(0x1e8)](_0x1ece51[_0x578eff]['id']);_0x1ece51[_0x578eff][_0x1474d4(0x11f)]=_0x2b3f38-_0x53ab42;}}[_0x186374(0x143)](_0x32489c,_0x5193ff,_0x5a846b=!0x1){const _0x269724=_0x186374,_0x1414d8=[];let _0x59fef7=this[_0x269724(0x1cd)][_0x269724(0x160)](_0x32489c),_0x3074eb=this[_0x269724(0x1cd)][_0x269724(0x160)](_0x5193ff);for(-0x1==_0x3074eb&&(_0x3074eb=this[_0x269724(0x1cd)][_0x269724(0x151)][_0x269724(0xd5)],_0x5a846b=!0x1);_0x59fef7<_0x3074eb;)_0x1414d8[_0x269724(0x1cf)](this[_0x269724(0x1cd)][_0x269724(0x107)](_0x59fef7)),_0x59fef7++;return _0x5a846b&&_0x1414d8[_0x269724(0x1cf)](this[_0x269724(0x1cd)][_0x269724(0x107)](_0x59fef7)),_0x1414d8;}[_0x186374(0x1bc)](_0x4bd310,_0x4ba27f,_0x17a4f0,_0x6749d){const _0x55602a=_0x186374,_0x497002=this[_0x55602a(0x1fd)][_0x55602a(0x101)][_0x55602a(0x13c)];let _0x4699ef=_0x4ba27f;for(;_0x4bd310[_0x4699ef]&&_0x4bd310[_0x4699ef][_0x55602a(0x1a2)];)_0x4699ef++;let _0xe7df3=_0x6749d;for(;_0x17a4f0[_0xe7df3]&&_0x17a4f0[_0xe7df3][_0x55602a(0xff)];)_0xe7df3++;_0x2ab79a(_0x4bd310,_0x4ba27f,_0x4699ef),_0x2ab79a(_0x17a4f0,_0x6749d,_0xe7df3);const _0xf51006=_0x17a4f0[_0x55602a(0x12a)](_0x6749d,_0xe7df3)[_0x55602a(0x18a)](_0x4bd310[_0x55602a(0x12a)](_0x4ba27f,_0x4699ef));return _0xf51006[_0x55602a(0xed)]((_0x150def,_0x12b06e)=>_0x150def[_0x55602a(0x1f5)]!=_0x12b06e[_0x55602a(0x1f5)]?_0x150def[_0x55602a(0x1f5)]-_0x12b06e[_0x55602a(0x1f5)]:_0x150def[_0x55602a(0x135)]!=_0x12b06e[_0x55602a(0x135)]?_0x150def[_0x55602a(0x135)]-_0x12b06e[_0x55602a(0x135)]:_0x150def[_0x55602a(0x11f)]!=_0x12b06e[_0x55602a(0x11f)]?_0x12b06e[_0x55602a(0x11f)]-_0x150def[_0x55602a(0x11f)]:!!_0x150def[_0x55602a(0x1a2)]!=!!_0x12b06e[_0x55602a(0x1a2)]?-0x1==_0x150def[_0x55602a(0x1f5)]||0x0==_0x150def[_0x55602a(0x1f5)]?_0x150def[_0x55602a(0x1a2)]?-0x1:0x1:_0x150def[_0x55602a(0x1a2)]?0x1:-0x1:_0x150def[_0x55602a(0xe9)]-_0x12b06e[_0x55602a(0xe9)]),{'commonTape':_0xf51006,'iEnd':_0x4699ef,'jEnd':_0xe7df3};function _0x2ab79a(_0x431b4b,_0x1939dd,_0x1a8b77){const _0x41617a=_0x55602a;let _0x2ec766=-0x1,_0xea631=Number[_0x41617a(0x162)],_0x3e602b=!0x0;for(let _0x3822e1=_0x1939dd;_0x3822e1<_0x1a8b77;_0x3822e1++)if(_0x497002[_0x41617a(0x1b2)](_0x431b4b[_0x3822e1][_0x41617a(0xee)])||(_0x3e602b=!0x1),_0x431b4b[_0x3822e1][_0x41617a(0xee)][_0x41617a(0x21c)]<_0x1939dd&&(_0x2ec766=_0x3822e1),_0x431b4b[_0x3822e1][_0x41617a(0xee)][_0x41617a(0x1d4)]>=_0x1a8b77){_0xea631=_0x3822e1;break;}_0x3e602b&&(_0x2ec766=_0x1a8b77-0x1);for(let _0xa4e69=_0x1939dd;_0xa4e69<_0x1a8b77;_0xa4e69++)_0x431b4b[_0xa4e69][_0x41617a(0x1f5)]=_0xa4e69<=_0x2ec766?-0x1:_0xa4e69<_0xea631?0x0:0x1,_0x431b4b[_0xa4e69][_0x41617a(0xe9)]=_0xa4e69;let _0x149fc4=0x0;for(let _0x53cda0=_0x1939dd;_0x53cda0<=_0x2ec766;_0x53cda0++)0x0==_0x431b4b[_0x53cda0][_0x41617a(0x11f)]?_0x431b4b[_0x53cda0][_0x41617a(0x135)]=_0x149fc4:(_0x149fc4++,_0x431b4b[_0x53cda0][_0x41617a(0x135)]=_0x149fc4,_0x149fc4++);for(let _0x32bbd8=_0x1939dd;_0x32bbd8<_0x1a8b77;_0x32bbd8++)0x0==_0x431b4b[_0x32bbd8][_0x41617a(0x1f5)]&&(_0x431b4b[_0x32bbd8][_0x41617a(0x135)]=_0x149fc4);_0x149fc4=0x0;for(let _0x58d207=_0x1a8b77-0x1;_0x58d207>=_0xea631;_0x58d207--)0x0==_0x431b4b[_0x58d207][_0x41617a(0x11f)]?_0x431b4b[_0x58d207][_0x41617a(0x135)]=_0x149fc4:(_0x149fc4--,_0x431b4b[_0x58d207][_0x41617a(0x135)]=_0x149fc4,_0x149fc4--);}}[_0x186374(0x1ca)](_0x2b712b){const _0x233742=_0x186374,_0x6504f7=new Map(),_0x93aae=this[_0x233742(0x1fd)][_0x233742(0x101)][_0x233742(0x13c)];for(let _0x226384=0x1;_0x226384<_0x2b712b[_0x233742(0xd5)];_0x226384++){let _0x117568,_0x405f52,_0x58f567;const _0x294b85=_0x2b712b[_0x226384],_0x596692=_0x2b712b[_0x226384-0x1];if(_0x233742(0x13a)==_0x294b85[_0x233742(0x203)])continue;if(_0x294b85[_0x233742(0x203)]!=_0x596692[_0x233742(0x203)])continue;if(!_0x93aae[_0x233742(0x174)](_0x596692[_0x233742(0xee)])||_0x93aae[_0x233742(0x1de)](_0x596692[_0x233742(0xee)]))continue;if(!_0x93aae[_0x233742(0x174)](_0x294b85[_0x233742(0xee)])||_0x93aae[_0x233742(0x1de)](_0x294b85[_0x233742(0xee)]))continue;if((_0x2b712b[_0x226384][_0x233742(0x1a2)]||_0x2b712b[_0x226384][_0x233742(0x105)])&&_0x2b712b[_0x226384-0x1][_0x233742(0xff)])_0x117568=_0x2b712b[_0x226384],_0x405f52=_0x2b712b[_0x226384-0x1],_0x58f567=_0x226384-0x1;else{if(!_0x2b712b[_0x226384][_0x233742(0xff)]||!_0x2b712b[_0x226384-0x1][_0x233742(0x1a2)]&&!_0x2b712b[_0x226384-0x1][_0x233742(0x105)])continue;_0x117568=_0x2b712b[_0x226384-0x1],_0x405f52=_0x2b712b[_0x226384],_0x58f567=_0x226384;}const _0x3554cb=_0x117568[_0x233742(0x135)]==_0x405f52[_0x233742(0x135)],_0x49c138=Math[_0x233742(0x10a)](_0x117568[_0x233742(0x135)])<Math[_0x233742(0x10a)](_0x405f52[_0x233742(0x135)])&&0x0==_0x405f52[_0x233742(0x11f)];(_0x3554cb||_0x49c138)&&(_0x6504f7[_0x233742(0x112)](_0x405f52['id'],_0x117568['id']),_0x2b712b[_0x233742(0x1b6)](_0x58f567,0x1),_0x226384--,_0x117568[_0x233742(0x1a2)]=!0x1);}for(let _0x38158a=0x0;_0x38158a<_0x2b712b[_0x233742(0xd5)];_0x38158a++)_0x6504f7[_0x233742(0x172)](_0x2b712b[_0x38158a][_0x233742(0x140)])&&(_0x2b712b[_0x38158a][_0x233742(0x140)]=_0x6504f7[_0x233742(0x1e8)](_0x2b712b[_0x38158a][_0x233742(0x140)]));}[_0x186374(0x116)](_0x40766f){const _0x3f3d84=_0x186374,_0x42802b=new Set(_0x40766f[_0x3f3d84(0x1c9)](_0x41c48e=>_0x41c48e['id']));for(let _0x3a5453=0x0;_0x3a5453<_0x40766f[_0x3f3d84(0xd5)];_0x3a5453++)_0x42802b[_0x3f3d84(0x172)](_0x40766f[_0x3a5453][_0x3f3d84(0x140)])||0x0==_0x40766f[_0x3a5453][_0x3f3d84(0x11f)]||(_0x40766f[_0x3a5453][_0x3f3d84(0x10d)]=!0x0);return _0x40766f[_0x3f3d84(0x1bf)](_0x3d86aa=>!_0x3d86aa[_0x3f3d84(0x10d)]);}[_0x186374(0x14a)](_0x3d26cf){const _0x1f86f8=_0x186374,_0x4cd2ca=new Set();for(let _0x2cc936=0x0;_0x2cc936<_0x3d26cf[_0x1f86f8(0xd5)];_0x2cc936++){if(_0x4cd2ca[_0x1f86f8(0x172)](_0x3d26cf[_0x2cc936]['id'])&&_0x3d26cf[_0x2cc936][_0x1f86f8(0xff)]&&(_0x3d26cf[_0x2cc936][_0x1f86f8(0x10d)]=!0x0),_0x3d26cf[_0x2cc936][_0x1f86f8(0x10d)])continue;if(0x0==_0x3d26cf[_0x2cc936][_0x1f86f8(0x11f)])continue;if(_0x1f86f8(0x1e1)!=_0x3d26cf[_0x2cc936][_0x1f86f8(0x203)])continue;if(null==_0x3d26cf[_0x2cc936][_0x1f86f8(0x140)])continue;let _0x519902=_0x2cc936+0x1,_0x131ff8=0x0;for(;_0x3d26cf[_0x519902]['id']!=_0x3d26cf[_0x2cc936][_0x1f86f8(0x140)];)_0x1f86f8(0x1e1)==_0x3d26cf[_0x519902][_0x1f86f8(0x203)]?_0x131ff8++:_0x1f86f8(0x1d3)==_0x3d26cf[_0x519902][_0x1f86f8(0x203)]&&_0x131ff8--,_0x519902++;if(0x0!=_0x131ff8){if(_0x3d26cf[_0x2cc936][_0x1f86f8(0xff)])_0x3d26cf[_0x2cc936][_0x1f86f8(0x10d)]=!0x0;else{for(;_0x519902!=_0x2cc936;)_0x3d26cf[_0x519902][_0x1f86f8(0xff)]&&0x0!=_0x3d26cf[_0x519902][_0x1f86f8(0x11f)]&&(_0x3d26cf[_0x519902][_0x1f86f8(0x10d)]=!0x0,_0x4cd2ca[_0x1f86f8(0x18e)](_0x3d26cf[_0x519902][_0x1f86f8(0x140)])),_0x519902--;}}}return _0x3d26cf[_0x1f86f8(0x1bf)](_0x1fbbda=>!_0x1fbbda[_0x1f86f8(0x10d)]);}[_0x186374(0xe1)](_0xe9967b){const _0xc4250=_0x186374,_0x4674e2=this[_0xc4250(0x1fd)][_0xc4250(0x101)][_0xc4250(0x13c)];for(let _0x2f47a1=0x0;_0x2f47a1<_0xe9967b[_0xc4250(0xd5)];_0x2f47a1++){if(!(_0xe9967b[_0x2f47a1][_0xc4250(0x1a2)]||_0xe9967b[_0x2f47a1][_0xc4250(0x105)]||_0xe9967b[_0x2f47a1][_0xc4250(0xff)]||_0xe9967b[_0x2f47a1][_0xc4250(0x16d)]))continue;if(0x0==_0xe9967b[_0x2f47a1][_0xc4250(0x11f)])continue;const _0x567145=_0xe9967b[_0x2f47a1][_0xc4250(0xee)];_0x4674e2[_0xc4250(0x174)](_0x567145)||_0x4674e2[_0xc4250(0x1de)](_0x567145)||(_0xe9967b[_0x2f47a1][_0xc4250(0x1a2)]&&delete _0xe9967b[_0x2f47a1][_0xc4250(0x1a2)],_0xe9967b[_0x2f47a1][_0xc4250(0x105)]&&delete _0xe9967b[_0x2f47a1][_0xc4250(0x105)],_0xe9967b[_0x2f47a1][_0xc4250(0x16d)]&&delete _0xe9967b[_0x2f47a1][_0xc4250(0x16d)],_0xe9967b[_0x2f47a1][_0xc4250(0xff)]&&(_0xe9967b[_0x2f47a1][_0xc4250(0x10d)]=!0x0));}return _0xe9967b[_0xc4250(0x1bf)](_0x4f133e=>!_0x4f133e[_0xc4250(0x10d)]);}[_0x186374(0x192)](_0x57ee5b,_0x49518d,_0x8d9c59){const _0x4ede47=_0x186374,_0x3dab54=new _0x270362(),_0x3ff410=[],_0xdf6136=new Map(),_0x11cc74=this[_0x4ede47(0x1fd)][_0x4ede47(0x101)],_0x36f077=_0x11cc74[_0x4ede47(0x13c)],_0x25eeff=[_0x3dab54],_0x30510b={},_0x4682a2={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x276e06=null;const _0x4af31b=[0x0];for(let _0x3fbe2b=0x0;_0x3fbe2b<_0x57ee5b[_0x4ede47(0xd5)];_0x3fbe2b++){let _0x12ab22,_0x4cf529;if(_0x4ede47(0x1e1)===_0x57ee5b[_0x3fbe2b][_0x4ede47(0x203)]){_0x12ab22=_0x11cc74[_0x4ede47(0x194)](_0x3dab54,_0x4af31b);const _0x22d30d=new _0x4db192(_0x57ee5b[_0x3fbe2b][_0x4ede47(0xee)][_0x4ede47(0x11b)],_0x57ee5b[_0x3fbe2b][_0x4ede47(0xee)][_0x4ede47(0x1c7)]());_0x25eeff[0x0][_0x4ede47(0x217)](_0x22d30d),_0x4af31b[_0x4ede47(0x1cf)](0x0),_0x25eeff[_0x4ede47(0x19a)](_0x22d30d),_0x4cf529=_0x11cc74[_0x4ede47(0x194)](_0x3dab54,_0x4af31b),_0x276e06=null;}else{if(_0x4ede47(0x1d3)===_0x57ee5b[_0x3fbe2b][_0x4ede47(0x203)])_0x25eeff[_0x4ede47(0xd2)](),_0x12ab22=_0x11cc74[_0x4ede47(0x194)](_0x3dab54,_0x4af31b),_0x4af31b[_0x4ede47(0x1e5)](),_0x4af31b[_0x4af31b[_0x4ede47(0xd5)]-0x1]++,_0x4cf529=_0x11cc74[_0x4ede47(0x194)](_0x3dab54,_0x4af31b),_0x276e06=null;else{if(_0x12ab22=_0x11cc74[_0x4ede47(0x194)](_0x3dab54,_0x4af31b),_0x276e06&&_0x165906(_0x276e06,_0x57ee5b[_0x3fbe2b][_0x4ede47(0xee)]))_0x276e06[_0x4ede47(0x17f)]+=_0x57ee5b[_0x3fbe2b][_0x4ede47(0xee)][_0x4ede47(0x1ec)];else{const _0x2ec61a=new _0x70f834(_0x57ee5b[_0x3fbe2b][_0x4ede47(0xee)][_0x4ede47(0x1ec)],_0x57ee5b[_0x3fbe2b][_0x4ede47(0xee)][_0x4ede47(0x1c7)]());_0x25eeff[0x0][_0x4ede47(0x217)](_0x2ec61a),_0x276e06=_0x2ec61a;}_0x4af31b[_0x4af31b[_0x4ede47(0xd5)]-0x1]+=_0x57ee5b[_0x3fbe2b][_0x4ede47(0xee)][_0x4ede47(0x1c2)],_0x4cf529=_0x11cc74[_0x4ede47(0x194)](_0x3dab54,_0x4af31b);}}for(const _0x1cb73b of _0x57ee5b[_0x3fbe2b][_0x4ede47(0x200)])_0xdf6136[_0x4ede47(0x112)](_0x1cb73b,{'start':_0x12ab22,'end':null});_0x11ba00(_0x4ede47(0x16d),_0x3fbe2b,_0x12ab22,_0x4cf529),_0x11ba00(_0x4ede47(0x105),_0x3fbe2b,_0x12ab22,_0x4cf529),_0x11ba00(_0x4ede47(0xff),_0x3fbe2b,_0x12ab22,_0x4cf529),_0x11ba00(_0x4ede47(0x1a2),_0x3fbe2b,_0x12ab22,_0x4cf529);for(const _0x53bb0f of _0x57ee5b[_0x3fbe2b][_0x4ede47(0x1b8)]){_0xdf6136[_0x4ede47(0x1e8)](_0x53bb0f)[_0x4ede47(0x17b)]=_0x4cf529;}}for(const [_0x6ed92c,_0x9fa64e]of _0xdf6136){const _0x5516bd=this[_0x4ede47(0x1fd)][_0x4ede47(0x101)][_0x4ede47(0x108)](_0x9fa64e[_0x4ede47(0x1be)],_0x9fa64e[_0x4ede47(0x17b)]);_0x3dab54[_0x4ede47(0xfb)][_0x4ede47(0x112)](_0x6ed92c,_0x5516bd);}return _0x3ff410[_0x4ede47(0xed)]((_0x5acf5d,_0x54fe36)=>{const _0x34e65f=_0x4ede47,_0x315ca6=_0x3dab54[_0x34e65f(0xfb)][_0x34e65f(0x1e8)](_0x34e65f(0xd4)+_0x5acf5d['id']),_0xdbfdcd=_0x3dab54[_0x34e65f(0xfb)][_0x34e65f(0x1e8)](_0x34e65f(0xd4)+_0x54fe36['id']);return _0x315ca6[_0x34e65f(0x1be)][_0x34e65f(0x134)](_0xdbfdcd[_0x34e65f(0x1be)])?-0x1:_0x315ca6[_0x34e65f(0x1be)][_0x34e65f(0xfd)](_0xdbfdcd[_0x34e65f(0x1be)])?0x1:_0x315ca6[_0x34e65f(0x17b)][_0x34e65f(0x134)](_0xdbfdcd[_0x34e65f(0x17b)])?-0x1:_0x315ca6[_0x34e65f(0x17b)][_0x34e65f(0xfd)](_0xdbfdcd[_0x34e65f(0x17b)])?0x1:_0x34e65f(0x18e)===_0x5acf5d[_0x34e65f(0x203)]?-0x1:0x1;}),{'root':_0x3dab54,'changes':_0x3ff410};function _0x11ba00(_0x2d3e6e,_0x51b1c0,_0x2638eb,_0x2f0453){const _0x3f4c87=_0x4ede47,_0x1362ed=!!_0x57ee5b[_0x51b1c0][_0x2d3e6e],_0xc37f9a=_0x1362ed?_0x57ee5b[_0x51b1c0][_0x2d3e6e][_0x3f4c87(0x186)]:null,_0x293f02=_0x51b1c0===_0x57ee5b[_0x3f4c87(0xd5)]-0x1,_0x517684=_0x4682a2[_0x2d3e6e][0x0],_0x57d650=_0x36f077[_0x3f4c87(0x157)](_0x57ee5b[_0x51b1c0][_0x3f4c87(0xee)]);!_0x30510b[_0x2d3e6e]&&_0x1362ed?_0x30510b[_0x2d3e6e]={'start':_0x2638eb,'tapeItem':_0x57ee5b[_0x51b1c0],'userId':_0xc37f9a,'type':_0x2d3e6e}:_0x30510b[_0x2d3e6e]&&!_0x1362ed?(_0x30510b[_0x2d3e6e][_0x3f4c87(0x17b)]=_0x2638eb,_0x229798(_0x30510b[_0x2d3e6e]),_0x30510b[_0x2d3e6e]=null):_0x30510b[_0x2d3e6e]&&_0x1362ed&&_0x30510b[_0x2d3e6e][_0x3f4c87(0x186)]!==_0xc37f9a&&(_0x30510b[_0x2d3e6e][_0x3f4c87(0x17b)]=_0x2638eb,_0x517684&&_0x517684[_0x3f4c87(0x186)]===_0x30510b[_0x2d3e6e][_0x3f4c87(0x186)]||_0x229798(_0x30510b[_0x2d3e6e]),_0x30510b[_0x2d3e6e]={'start':_0x2638eb,'tapeItem':_0x57ee5b[_0x51b1c0],'userId':_0xc37f9a,'type':_0x2d3e6e}),_0x30510b[_0x2d3e6e]&&_0x57d650&&(_0x3f4c87(0x1e1)!==_0x57ee5b[_0x51b1c0][_0x3f4c87(0x203)]||_0x517684&&_0x517684[_0x3f4c87(0x186)]===_0xc37f9a||_0x4682a2[_0x2d3e6e][_0x3f4c87(0x19a)]({'userId':_0xc37f9a,'object':_0x57ee5b[_0x51b1c0][_0x3f4c87(0xee)],'change':_0x30510b[_0x2d3e6e]}),_0x3f4c87(0x1d3)===_0x57ee5b[_0x51b1c0][_0x3f4c87(0x203)]&&_0x517684&&_0x517684[_0x3f4c87(0xf6)]===_0x57ee5b[_0x51b1c0][_0x3f4c87(0xee)]&&(_0x4682a2[_0x2d3e6e][_0x3f4c87(0xd2)](),_0x30510b[_0x2d3e6e]=_0x517684[_0x3f4c87(0x10c)])),_0x30510b[_0x2d3e6e]&&_0x293f02&&(_0x30510b[_0x2d3e6e][_0x3f4c87(0x17b)]=_0x2f0453,_0x229798(_0x30510b[_0x2d3e6e]),_0x30510b[_0x2d3e6e]=null);}function _0x229798({start:_0x2257f5,end:_0x25a621,tapeItem:_0x5cf88d,userId:_0x3108a9,type:_0x188339}){const _0x28ea55=_0x4ede47,_0x14f1a5=_0x5cf88d[_0x28ea55(0xee)],_0x11cfd5=_0x11cc74[_0x28ea55(0x13c)][_0x28ea55(0x174)](_0x14f1a5)&&!_0x11cc74[_0x28ea55(0x13c)][_0x28ea55(0x1de)](_0x14f1a5),_0x3623f2=_0x2257f5[_0x28ea55(0x1c4)]==_0x25a621[_0x28ea55(0xd7)]&&_0x25a621[_0x28ea55(0x169)];if(_0x11cfd5&&_0x3623f2)return;const _0x5bc731=_0x11cc74[_0x28ea55(0x108)](_0x2257f5,_0x25a621),_0x44536c=_0x49518d[_0x28ea55(0x1e8)](_0x3108a9),_0x1f5a37=new _0x46b088({'author':_0x44536c,'type':_0x28ea55(0x1a2)==_0x188339||_0x28ea55(0x105)==_0x188339?_0x28ea55(0x18e):_0x28ea55(0x211),'data':{'isSuggestion':_0x28ea55(0x105)==_0x188339||_0x28ea55(0x16d)==_0x188339},'createdAt':new Date(),'rootName':_0x8d9c59});_0x3ff410[_0x28ea55(0x1cf)](_0x1f5a37),_0x3dab54[_0x28ea55(0xfb)][_0x28ea55(0x112)](_0x28ea55(0xd4)+_0x1f5a37['id'],_0x5bc731);}function _0x165906(_0x19f27d,_0x364fc2){const _0x44b837=_0x4ede47,_0x54652c=_0x19f27d[_0x44b837(0x1c7)](),_0x23da10=_0x364fc2[_0x44b837(0x1c7)]();for(const _0x51130b of _0x54652c){if(_0x51130b[0x1]!==_0x364fc2[_0x44b837(0x214)](_0x51130b[0x0]))return!0x1;_0x23da10[_0x44b837(0x1d9)]();}return _0x23da10[_0x44b837(0x1d9)]()[_0x44b837(0x180)];}}[_0x186374(0xf5)](){const _0xc48789=_0x186374;this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x130))[_0xc48789(0xfc)]({'view':_0xc48789(0x1f0)}),this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x19b))[_0xc48789(0x209)]({'model':_0xc48789(0x1f0),'view':_0x10463d=>{const _0x28dfaa=_0xc48789,_0x147b3b=_0x10463d[_0x28dfaa(0x1dc)][_0x28dfaa(0x103)](':')[0x1],_0x4323e4=this[_0x28dfaa(0x129)](_0x147b3b);if(!_0x4323e4)return null;const _0x4cf04b=_0x28dfaa(0x18e)==_0x4323e4[_0x28dfaa(0x203)]?_0x28dfaa(0x122):_0x28dfaa(0x189),_0x292ee7=[_0x28dfaa(0xdf),_0x28dfaa(0x17d)+_0x4cf04b];return _0x4323e4[_0x28dfaa(0x1ec)][_0x28dfaa(0x16b)]&&_0x292ee7[_0x28dfaa(0x1cf)](_0x28dfaa(0x17d)+_0x4cf04b+_0x28dfaa(0x205)),this[_0x28dfaa(0x188)]==_0x4323e4&&_0x292ee7[_0x28dfaa(0x1cf)](_0x28dfaa(0x1e4)),{'classes':_0x292ee7,'attributes':{'data-change-id':_0x147b3b}};}}),this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x130))[_0xc48789(0x18e)](_0x234781=>{const _0x4f0436=_0xc48789;_0x234781['on'](_0x4f0436(0x1f7),(_0x4d4907,_0x48a21b,_0x420f08)=>{const _0x1f534b=_0x4f0436,_0x35774a=_0x48a21b[_0x1f534b(0x1c0)][_0x1f534b(0x12f)](0x0);if(!_0x35774a||!_0x35774a['is'](_0x1f534b(0x1bd),_0x1f534b(0x11c)))return;if(!_0x420f08[_0x1f534b(0x170)][_0x1f534b(0x156)](_0x35774a,{'attributes':[_0x1f534b(0x161),_0x1f534b(0xd3)]}))return;const _0x5cf6a3=_0x48a21b[_0x1f534b(0x1af)][_0x1f534b(0x1be)][_0x1f534b(0x1c4)];_0x420f08[_0x1f534b(0xd0)][_0x1f534b(0x132)](_0x1f534b(0x161),_0x35774a[_0x1f534b(0x214)](_0x1f534b(0x161)),_0x5cf6a3),_0x420f08[_0x1f534b(0xd0)][_0x1f534b(0x132)](_0x1f534b(0xd3),_0x35774a[_0x1f534b(0x214)](_0x1f534b(0xd3)),_0x5cf6a3);},{'priority':_0x4f0436(0x1f8)});}),this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x130))[_0xc48789(0x18e)](_0x344534=>{const _0x5a3cf2=_0xc48789;_0x344534['on'](_0x5a3cf2(0x1bd),(_0x4200d3,_0x2e482f,_0x331cb1)=>{const _0x56ddff=_0x5a3cf2;if(!_0x331cb1[_0x56ddff(0x170)][_0x56ddff(0x156)](_0x2e482f[_0x56ddff(0x1c0)],{'attributes':[_0x56ddff(0x161),_0x56ddff(0xd3)]}))return;if(_0x2e482f[_0x56ddff(0x1af)][_0x56ddff(0x1f3)])return;const _0x502156=_0x2e482f[_0x56ddff(0x1af)][_0x56ddff(0x1be)][_0x56ddff(0x1c4)];_0x502156[_0x56ddff(0x145)](_0x56ddff(0x161))||_0x502156[_0x56ddff(0x145)](_0x56ddff(0x10e))||(_0x331cb1[_0x56ddff(0xd0)][_0x56ddff(0x132)](_0x56ddff(0x161),_0x2e482f[_0x56ddff(0x1c0)][_0x56ddff(0x214)](_0x56ddff(0x161)),_0x502156),_0x331cb1[_0x56ddff(0xd0)][_0x56ddff(0x132)](_0x56ddff(0xd3),_0x2e482f[_0x56ddff(0x1c0)][_0x56ddff(0x214)](_0x56ddff(0xd3)),_0x502156));},{'priority':_0x5a3cf2(0x1f8)});}),this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x130))[_0xc48789(0x10b)]({'view':{'name':_0xc48789(0x1c8),'attributes':{'vid':!0x0}},'model':{'key':_0xc48789(0x10e),'value':_0x5a9de9=>_0x5a9de9[_0xc48789(0x214)](_0xc48789(0x10e))}}),this[_0xc48789(0x1fd)][_0xc48789(0x101)][_0xc48789(0x13c)]['on'](_0xc48789(0x19f),(_0x57d03b,[,_0x18e399])=>{const _0x2961ad=_0xc48789;[_0x2961ad(0x161),_0x2961ad(0xd3),_0x2961ad(0x10e)][_0x2961ad(0x1e7)](_0x18e399)&&(_0x57d03b[_0x2961ad(0x165)]=!0x0,_0x57d03b[_0x2961ad(0x1cb)]());},{'priority':_0xc48789(0x155)}),this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x215))[_0xc48789(0x18e)](_0x3f5e75=>{const _0x35e0f7=_0xc48789;_0x3f5e75['on'](_0x35e0f7(0x153),(_0x42c59d,_0x2460a2,_0x330cb3)=>{const _0x3e2caa=_0x35e0f7;if('\x20'!=_0x2460a2[_0x3e2caa(0xee)][_0x3e2caa(0x1ec)]||_0x2460a2[_0x3e2caa(0xee)][_0x3e2caa(0xd7)][_0x3e2caa(0x18b)]>0x1)return;if(!_0x330cb3[_0x3e2caa(0x170)][_0x3e2caa(0x156)](_0x2460a2[_0x3e2caa(0xee)],_0x42c59d[_0x3e2caa(0x11b)]))return;const _0xdbb1e0=_0x330cb3[_0x3e2caa(0xd0)],_0x325510=_0x330cb3[_0x3e2caa(0xe6)][_0x3e2caa(0x167)](_0x2460a2[_0x3e2caa(0x1eb)]);_0xdbb1e0[_0x3e2caa(0x15b)](_0x325510,_0xdbb1e0[_0x3e2caa(0x20f)](_0x3e2caa(0x1c8)));});}),this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x215))[_0xc48789(0x1b3)]({'model':_0xc48789(0x1f0)}),this[_0xc48789(0x1fd)][_0xc48789(0x12e)][_0xc48789(0x204)]['on'](_0xc48789(0x1ac),function(_0x478b03){const _0x1d8309=_0xc48789,_0x380f5c=_0x478b03[_0x1d8309(0x20b)][_0x1d8309(0x1e8)](_0x1d8309(0x154));return(_0x5db68a,_0x4d7611,_0x11e47d)=>{const _0x26c420=_0x1d8309,_0x159bf4=_0x4d7611[_0x26c420(0x1dc)][_0x26c420(0x103)](':')[0x1],_0x9a3c82=_0x380f5c[_0x26c420(0x129)](_0x159bf4);if(!_0x9a3c82)return null;const _0x2347f9=_0x26c420(0x18e)==_0x9a3c82[_0x26c420(0x203)]?_0x26c420(0x103):_0x26c420(0x19e);if(!_0x11e47d[_0x26c420(0x170)][_0x26c420(0xdc)](_0x4d7611[_0x26c420(0x16c)],_0x5db68a[_0x26c420(0x11b)]))return;const _0x2b08bb=_0x4d7611[_0x26c420(0x16c)][_0x26c420(0x177)](),_0x3cd9aa=_0x4d7611[_0x26c420(0x16c)][_0x26c420(0x1be)],_0x50f49d=_0x478b03[_0x26c420(0x101)][_0x26c420(0x13c)];let _0x307099=null,_0x29162b=null,_0x3dad9e=!0x1,_0x3145af=!0x1;for(const _0xc41f01 of _0x2b08bb){const _0x23d0b0=_0xc41f01[_0x26c420(0xee)];_0x3dad9e=_0x3dad9e||_0x50f49d[_0x26c420(0x125)](_0x23d0b0);const _0x1c5610=_0x11e47d[_0x26c420(0xe6)][_0x26c420(0x127)](_0x23d0b0);if(_0x1c5610&&_0x1c5610[_0x26c420(0x20d)](_0x26c420(0x16f)))return;_0x26c420(0x1d3)==_0xc41f01[_0x26c420(0x203)]&&(_0x50f49d[_0x26c420(0x174)](_0x23d0b0)&&!_0x50f49d[_0x26c420(0x1de)](_0x23d0b0)&&(_0x23d0b0[_0x26c420(0x159)]||_0x3cd9aa[_0x26c420(0x14e)]?_0x307099&&_0x307099[_0x26c420(0xd7)]==_0x23d0b0||(_0x307099=_0x23d0b0,_0x3e00b2(_0xc41f01[_0x26c420(0xe5)]),_0x3145af=!0x0):_0x29162b=_0x29162b||_0xc41f01[_0x26c420(0xe5)]));}function _0x3e00b2(_0x3bfd89){const _0x3876e3=_0x26c420,_0x28ffda=_0x11e47d[_0x3876e3(0xd0)][_0x3876e3(0x11a)](_0x3876e3(0x1c8),{'class':_0x3876e3(0x17d)+_0x2347f9}),_0x2e7663=_0x11e47d[_0x3876e3(0xe6)][_0x3876e3(0xda)](_0x3bfd89);_0x9a3c82[_0x3876e3(0x1ec)][_0x3876e3(0x16b)]&&_0x11e47d[_0x3876e3(0xd0)][_0x3876e3(0xd6)](_0x3876e3(0x17d)+_0x2347f9+_0x3876e3(0x205),_0x28ffda),_0x380f5c[_0x3876e3(0x188)]==_0x9a3c82&&_0x11e47d[_0x3876e3(0xd0)][_0x3876e3(0xd6)](_0x3876e3(0x1e4),_0x28ffda),_0x11e47d[_0x3876e3(0xd0)][_0x3876e3(0x1a5)](_0x2e7663,_0x28ffda),_0x11e47d[_0x3876e3(0xe6)][_0x3876e3(0x1fb)](_0x28ffda,_0x4d7611[_0x3876e3(0x1dc)]);}_0x3dad9e||_0x3145af||!_0x29162b||_0x3e00b2(_0x29162b);};}(this[_0xc48789(0x1fd)]),{'priority':_0xc48789(0xcf)}),this[_0xc48789(0x1fd)][_0xc48789(0x12e)][_0xc48789(0x204)]['on'](_0xc48789(0x163),(_0x51078d,_0x56e1ce,_0x5f0773)=>{const _0x4193fb=_0xc48789,_0x283029=_0x5f0773[_0x4193fb(0xe6)][_0x4193fb(0x173)](_0x56e1ce[_0x4193fb(0x1dc)]);if(_0x283029){for(const _0x4e75c7 of _0x283029)(_0x4e75c7[_0x4193fb(0x1ff)](_0x4193fb(0x1c5))||_0x4e75c7[_0x4193fb(0x1ff)](_0x4193fb(0x1d0)))&&(_0x5f0773[_0x4193fb(0xe6)][_0x4193fb(0x120)](_0x4e75c7,_0x56e1ce[_0x4193fb(0x1dc)]),_0x5f0773[_0x4193fb(0xd0)][_0x4193fb(0x211)](_0x4e75c7));}},{'priority':_0xc48789(0xcf)}),this[_0xc48789(0x1fd)][_0xc48789(0x12e)][_0xc48789(0x204)]['on'](_0xc48789(0x1ac),(_0x2d60e4,_0x5f278d,_0x5ac6b1)=>{const _0x21cbca=_0xc48789,_0x182f60=_0x5f278d[_0x21cbca(0x1dc)][_0x21cbca(0x103)](':')[0x1],_0x1332cf=this[_0x21cbca(0x129)](_0x182f60);if(!_0x1332cf)return null;const _0x5193c7=_0x21cbca(0x18e)==_0x1332cf[_0x21cbca(0x203)]?_0x21cbca(0x103):_0x21cbca(0x19e);if(_0x5ac6b1[_0x21cbca(0x170)][_0x21cbca(0xdc)](_0x5f278d[_0x21cbca(0x16c)],_0x2d60e4[_0x21cbca(0x11b)]))for(const _0x192fdc of _0x5f278d[_0x21cbca(0x16c)][_0x21cbca(0x147)]()){if(!_0x192fdc['is'](_0x21cbca(0x1bd),_0x21cbca(0x193)))continue;const _0x4e413a=_0x5ac6b1[_0x21cbca(0xd0)][_0x21cbca(0x11a)](_0x21cbca(0x1c8),{'class':_0x21cbca(0x17d)+_0x5193c7}),_0x62feb6=_0x5ac6b1[_0x21cbca(0xe6)][_0x21cbca(0xda)](this[_0x21cbca(0x1fd)][_0x21cbca(0x101)][_0x21cbca(0x1ef)](_0x192fdc));_0x1332cf[_0x21cbca(0x1ec)][_0x21cbca(0x16b)]&&_0x5ac6b1[_0x21cbca(0xd0)][_0x21cbca(0xd6)](_0x21cbca(0x17d)+_0x5193c7+_0x21cbca(0x205),_0x4e413a),this[_0x21cbca(0x188)]==_0x1332cf&&_0x5ac6b1[_0x21cbca(0xd0)][_0x21cbca(0xd6)](_0x21cbca(0x1e4),_0x4e413a),_0x5ac6b1[_0x21cbca(0xd0)][_0x21cbca(0x1a5)](_0x62feb6,_0x4e413a),_0x5ac6b1[_0x21cbca(0xe6)][_0x21cbca(0x1fb)](_0x4e413a,_0x5f278d[_0x21cbca(0x1dc)]);}},{'priority':_0xc48789(0xcf)}),this[_0xc48789(0x1fd)][_0xc48789(0x101)][_0xc48789(0x1a8)]['on'](_0xc48789(0x10c),()=>{const _0x55cea5=_0xc48789;this[_0x55cea5(0x1fd)][_0x55cea5(0x12e)][_0x55cea5(0x131)][_0x55cea5(0x10c)](_0x262cb6=>{const _0x27a53d=_0x55cea5;for(const _0x4dbf3e of this[_0x27a53d(0x1fd)][_0x27a53d(0x101)][_0x27a53d(0x1a8)][_0x27a53d(0x117)]()){const _0x5247c3=this[_0x27a53d(0x1fd)][_0x27a53d(0x101)][_0x27a53d(0x1a8)][_0x27a53d(0x19c)](_0x4dbf3e),_0x45bcbf=this[_0x27a53d(0x1fd)][_0x27a53d(0x12e)][_0x27a53d(0x131)][_0x27a53d(0x1a8)][_0x27a53d(0x19c)](_0x4dbf3e);if(_0x45bcbf){const _0x5174eb=_0x5247c3[_0x27a53d(0x214)](_0x27a53d(0x1f6));if(_0x262cb6[_0x27a53d(0xf3)](_0x27a53d(0x1aa),_0x45bcbf),_0x262cb6[_0x27a53d(0x198)](_0x27a53d(0xeb),_0x45bcbf),_0x262cb6[_0x27a53d(0x198)](_0x27a53d(0x139),_0x45bcbf),_0x262cb6[_0x27a53d(0x198)](_0x27a53d(0x208),_0x45bcbf),_0x5174eb){const _0x266689=this[_0x27a53d(0x129)](_0x5174eb);if(!_0x266689)return null;_0x262cb6[_0x27a53d(0x132)](_0x27a53d(0x1aa),_0x5174eb,_0x45bcbf),_0x262cb6[_0x27a53d(0xd6)](_0x27a53d(0x13b)+_0x266689[_0x27a53d(0x203)],_0x45bcbf),this[_0x27a53d(0x188)]==_0x266689&&_0x262cb6[_0x27a53d(0xd6)](_0x27a53d(0x208),_0x45bcbf);}}}});}),this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x130))[_0xc48789(0xfc)]({'view':_0xc48789(0x118),'model':_0x2b0ddd=>_0xc48789(0x106)+_0x2b0ddd,'converterPriority':_0xc48789(0x155)}),this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x130))[_0xc48789(0xfc)]({'view':_0xc48789(0x1b4),'model':_0xade815=>_0xc48789(0x1ce)+_0xade815,'converterPriority':_0xc48789(0x155)}),this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x215))[_0xc48789(0x1b3)]({'model':_0xc48789(0x1b0),'view':_0x31030e=>({'name':_0xc48789(0x13e)+_0x31030e,'group':_0xc48789(0x1b0)}),'converterPriority':_0xc48789(0x155)}),this[_0xc48789(0x1fd)][_0xc48789(0x1db)][_0xc48789(0x176)](_0xc48789(0x19b))[_0xc48789(0x209)]({'model':_0xc48789(0x1b0),'view':_0x40a0a6=>{const _0x1b0e5f=_0xc48789,_0x3f9219=_0x40a0a6[_0x1b0e5f(0x1dc)][_0x1b0e5f(0x103)](':')[0x1];return _0x1b0e5f(0x122)!=_0x3f9219&&_0x1b0e5f(0x189)!=_0x3f9219?null:{'classes':[_0x1b0e5f(0x195),_0x1b0e5f(0x179)+_0x3f9219]};}}),this[_0xc48789(0x1fd)][_0xc48789(0x12e)][_0xc48789(0x204)]['on'](_0xc48789(0x1ae),et(this[_0xc48789(0x1fd)],_0xc48789(0x19e)),{'priority':_0xc48789(0xcf)}),this[_0xc48789(0x1fd)][_0xc48789(0x12e)][_0xc48789(0x204)]['on'](_0xc48789(0x1da),et(this[_0xc48789(0x1fd)],_0xc48789(0x103)),{'priority':_0xc48789(0xcf)}),this[_0xc48789(0x1fd)][_0xc48789(0x12e)][_0xc48789(0x204)]['on'](_0xc48789(0x123),(_0x5c7570,_0x4d2baa,_0x1e5c9a)=>{const _0x47f9fb=_0xc48789,_0xa10008=_0x1e5c9a[_0x47f9fb(0xe6)][_0x47f9fb(0x173)](_0x4d2baa[_0x47f9fb(0x1dc)]);if(_0xa10008){for(const _0x285e6b of _0xa10008)_0x285e6b['is'](_0x47f9fb(0xef))&&(_0x1e5c9a[_0x47f9fb(0xe6)][_0x47f9fb(0x120)](_0x285e6b,_0x4d2baa[_0x47f9fb(0x1dc)]),_0x1e5c9a[_0x47f9fb(0xd0)][_0x47f9fb(0x211)](_0x285e6b));}},{'priority':_0xc48789(0xcf)});}[_0x186374(0x129)](_0x243165){const _0xd3be58=_0x186374;return this[_0xd3be58(0x185)][_0xd3be58(0x1e8)](_0x243165);}[_0x186374(0x1fc)](_0x15bf40){const _0x448579=_0x186374;return this[_0x448579(0x1c3)]&&this[_0x448579(0x1c3)][_0x448579(0xf4)](),this[_0x448579(0x1c3)]=new _0x10c7bf(this[_0x448579(0x1fd)][_0x448579(0x113)],_0x15bf40),this[_0x448579(0x1c3)];}[_0x186374(0x187)](){const _0x3c6018=_0x186374;this[_0x3c6018(0x1fd)][_0x3c6018(0x101)][_0x3c6018(0x1a8)][_0x3c6018(0x12d)][_0x3c6018(0x1d2)](_0x3c6018(0x1f0)),this['on'](_0x3c6018(0x171),(_0x4a9722,_0x358cce,_0x23933b,_0x16ecd4)=>{const _0x24fe42=_0x3c6018;_0x16ecd4&&this[_0x24fe42(0x1d1)][_0x24fe42(0x211)](_0x16ecd4),_0x23933b&&(this[_0x24fe42(0x1d1)][_0x24fe42(0x18e)]({'view':_0x23933b,'stackId':_0x24fe42(0x207),'position':{'target':()=>{const _0x56afb2=_0x24fe42,_0x1be06f=this[_0x56afb2(0x1fd)][_0x56afb2(0x12e)],_0x375303=this[_0x56afb2(0x129)](_0x23933b[_0x56afb2(0x1ea)]);let _0x4dbfb3;if(_0x375303[_0x56afb2(0x1ec)][_0x56afb2(0x178)]){const _0x22a475=_0x1be06f[_0x56afb2(0x131)][_0x56afb2(0x213)](_0x375303[_0x56afb2(0x137)]);_0x4dbfb3=Array[_0x56afb2(0x1e3)](_0x22a475[_0x56afb2(0x119)]());}else{const _0x8e90a7=this[_0x56afb2(0x1fd)][_0x56afb2(0x101)][_0x56afb2(0xfb)][_0x56afb2(0x1e8)](_0x56afb2(0xd4)+_0x23933b[_0x56afb2(0x1ea)]);_0x4dbfb3=Array[_0x56afb2(0x1e3)](_0x1be06f[_0x56afb2(0xe6)][_0x56afb2(0x173)](_0x8e90a7[_0x56afb2(0x11b)]))[_0x56afb2(0x1c9)](_0x6192d=>_0x1be06f[_0x56afb2(0x131)][_0x56afb2(0x142)][_0x56afb2(0x1b5)](_0x6192d))[_0x56afb2(0x1c9)](_0x41beae=>Array[_0x56afb2(0x1e3)](_0x41beae[_0x56afb2(0x119)]()))[_0x56afb2(0x114)]();}if(!this[_0x56afb2(0x1e6)])return _0x4dbfb3[0x0];return _0x4dbfb3[_0x56afb2(0x1a9)](_0x526d20=>_0x526d20[_0x56afb2(0x175)]-0x3<=this[_0x56afb2(0x1e6)]['y']&&_0x526d20[_0x56afb2(0x184)]+0x3>=this[_0x56afb2(0x1e6)]['y']&&_0x526d20[_0x56afb2(0x149)]-0x3<=this[_0x56afb2(0x1e6)]['x']&&_0x526d20[_0x56afb2(0x1dd)]+0x3>=this[_0x56afb2(0x1e6)]['x'])||_0x4dbfb3[0x0];}}}),this[_0x24fe42(0x1d1)][_0x24fe42(0x14b)](_0x24fe42(0x207)));}),this['on'](_0x3c6018(0x1c6),(_0x2ec481,_0x4e8fc4,_0x5e2144,_0x2f8e25)=>{const _0x28063e=_0x3c6018;this[_0x28063e(0xe0)]=_0x5e2144?this[_0x28063e(0x1fc)](_0x5e2144):null,this[_0x28063e(0x1fd)][_0x28063e(0x101)][_0x28063e(0x10c)](()=>{const _0x4bd03a=_0x28063e,_0x275d55=this[_0x4bd03a(0x1fd)][_0x4bd03a(0x12e)];_0x2f8e25&&(_0x2f8e25[_0x4bd03a(0x1ec)][_0x4bd03a(0x178)]?_0x275d55[_0x4bd03a(0x131)][_0x4bd03a(0x10c)](_0x22c641=>{const _0x55e804=_0x4bd03a;_0x22c641[_0x55e804(0x198)](_0x55e804(0x208),_0x275d55[_0x55e804(0x131)][_0x55e804(0x1a8)][_0x55e804(0x19c)](_0x2f8e25[_0x55e804(0x137)]));}):_0x275d55[_0x4bd03a(0x148)](_0x4bd03a(0xd4)+_0x2f8e25['id'])),_0x5e2144&&(_0x5e2144[_0x4bd03a(0x1ec)][_0x4bd03a(0x178)]?_0x275d55[_0x4bd03a(0x131)][_0x4bd03a(0x10c)](_0x5c2d02=>{const _0x153c49=_0x4bd03a;_0x5c2d02[_0x153c49(0xd6)](_0x153c49(0x208),_0x275d55[_0x153c49(0x131)][_0x153c49(0x1a8)][_0x153c49(0x19c)](_0x5e2144[_0x153c49(0x137)]));}):_0x275d55[_0x4bd03a(0x148)](_0x4bd03a(0xd4)+_0x5e2144['id']));});}),this[_0x3c6018(0x201)](this[_0x3c6018(0x1fd)][_0x3c6018(0x12e)][_0x3c6018(0x131)][_0x3c6018(0x1a8)],_0x3c6018(0x1b9),(_0x190a5c,_0x2707a6)=>{const _0x566317=_0x3c6018;if(this[_0x566317(0x188)])return;const _0x891f=this[_0x566317(0x128)](_0x2707a6[_0x566317(0x212)]),_0x58607f=this[_0x566317(0x185)][_0x566317(0x1e8)](_0x891f);_0x58607f?(this[_0x566317(0x1e6)]={'x':_0x2707a6[_0x566317(0x18d)]['x'],'y':_0x2707a6[_0x566317(0x18d)]['y']},this[_0x566317(0xe0)]=this[_0x566317(0x1fc)](_0x58607f)):(this[_0x566317(0x1e6)]=null,this[_0x566317(0xe0)]=null);}),this[_0x3c6018(0x201)](this[_0x3c6018(0x1fd)][_0x3c6018(0x12e)][_0x3c6018(0x131)][_0x3c6018(0x1a8)],_0x3c6018(0x197),(_0x287b27,_0xe9bed8)=>{const _0x271450=_0x3c6018,_0x144f68=this[_0x271450(0x128)](_0xe9bed8[_0x271450(0x212)]),_0x427843=this[_0x271450(0x185)][_0x271450(0x1e8)](_0x144f68);_0x427843?(this[_0x271450(0x1e6)]={'x':_0xe9bed8[_0x271450(0x18d)]['x'],'y':_0xe9bed8[_0x271450(0x18d)]['y']},_0x427843===this[_0x271450(0x188)]?this[_0x271450(0x1d1)][_0x271450(0x13d)]():this[_0x271450(0x188)]=_0x427843):(this[_0x271450(0x1e6)]=null,this[_0x271450(0x188)]=null);});}[_0x186374(0x128)](_0x34c900){const _0x33a4bb=_0x186374;do{const _0x4d3248=_0x34c900[_0x33a4bb(0x214)](_0x33a4bb(0x1aa));if(_0x4d3248)return _0x4d3248;_0x34c900=_0x34c900[_0x33a4bb(0xd7)];}while(_0x34c900);return null;}[_0x186374(0x16e)](){const _0x498889=_0x186374;this[_0x498889(0x1fd)][_0x498889(0x101)][_0x498889(0x10c)](_0x133ed0=>{const _0x4ad77f=_0x498889;for(const _0x2d81f9 of this[_0x4ad77f(0x1fd)][_0x4ad77f(0x101)][_0x4ad77f(0xfb)])_0x133ed0[_0x4ad77f(0x100)](_0x2d81f9);});}}function _0x21a4(_0x5a2d80,_0x2dd4cf){const _0x5e008d=_0x5e00();return _0x21a4=function(_0x21a4b5,_0x3ff228){_0x21a4b5=_0x21a4b5-0xcf;let _0x407ecf=_0x5e008d[_0x21a4b5];return _0x407ecf;},_0x21a4(_0x5a2d80,_0x2dd4cf);}function _0x5e00(){const _0x1d602a=['markersEnd','mouseover','_sortAndFilterDiffChanges','createRangeIn','_threeWayMerge','element','start','filter','viewItem','_cleanUp','offsetSize','_changeView','nodeAfter','ck-suggestion-marker-split','change:activeChange','getAttributes','span','map','_fixObsoleteTags','stop','showNextChange','repository','revision-suggestion:','push','ck-suggestion-marker-merge','_balloon','observeMarkers','elementEnd','endIndex','collaboration.channelId','data-revision-','5284768QfIGRR','_markMarkers','next','addMarker:revision-suggestion:insertion','conversion','markerName','right','isLimit','_getDiff','revision-start','elementStart','_markSuggestions','from','ck-suggestion-marker--active','pop','_activeViewTarget','includes','get','change:numberOfChanges','changeId','range','data','forEach','restoreRevisionCallback','createPositionBefore','revision','_step','15doWqne','isCollapsed','1605344jotXpd','side','revisionHistoryAttachChange','element:pre','low','_makeModelFromViewString','isAttached','bindElementToMarker','_getViewForChange','editor','_markInsertions','hasClass','markersStart','listenTo','deletions','type','downcastDispatcher','-new','addRevisionData','revisionHistoryLabel','ck-revision-history-root--active','markerToHighlight','oldRevisionId','plugins','default','getCustomProperty','_setChanges','createAttributeElement','change:isReady','remove','target','getDomRoot','getAttribute','dataDowncast','bind','_appendChild','_refreshStartEndIndex','2135994tbIFqO','isNavigationMode','_joinTapes','startIndex','high','writer','clear','shift','vid_end','revision:','length','addClass','parent','string','marked','toViewPosition','affectsData','test','_setDistance','adapter','ck-suggestion-marker','activeView','_removeUnsupportedChanges','first','WidgetToolbarRepository','getRevisionData','previousPosition','mapper','resolve','attributes','index','showPreviousChange','ck-revision-history-root-add','_processTape','sort','item','uiElement','init','parse','execute','removeAttribute','destroy','_setConversion','object','addRoot','toModel','loadRevisionData','insertions','markers','dataToMarker','isAfter','changes','isRemoved','removeMarker','model','diffData','split','RevisionsRepository','isAddSuggestion','revision-comment:','getRevision','createRange','revision-end','abs','elementToAttribute','change','isIncorrect','vid','keys','forceDisabled','backward','set','locale','flat','commands','_removeMissingPairs','getRootNames','comment','getClientRects','createUIElement','name','code','3784851jUusJv','1330028uLkQnL','distance','unbindElementFromMarkerName','detachRoot','insertion','removeMarker:revision-suggestion','all','isContent','72ErWwHT','toViewElement','_findChangeIdFromDomTarget','_getChangeFromId','slice','isEnabled','358162PjjvZk','selection','editing','getChild','upcast','view','setAttribute','currentChangeNumber','isBefore','level','ck-editor__editable__overlay','rootName','revision-viewer','ck-revision-history-root-remove','text','ck-revision-history-root-','schema','updatePosition','suggestion:','refresh','pairId','getRevisionRootsAttributes','domConverter','_getRevisionsRange','authors','hasAttribute','forward','getItems','reconvertMarker','left','_markMismatchedRemovedTags','showStack','_update','startsWith','isAtEnd','roots','values','_revisions','compare','attribute:vid','RevisionViewer','highest','consume','isObject','restoreRevision','nextSibling','isReady','wrap','_getViewObj','attributesBefore','useFillerType','enableReadOnlyMode','getIndex','vid_start','POSITIVE_INFINITY','removeMarker:revision','then','return','revisionHistory','toViewRange','config','isAtStart','pluginName','isSuggestion','markerRange','isRemoveSuggestion','_cleanMarkers','addHighlight','consumable','change:activeView','has','markerNameToElements','isBlock','top','for','getWalker','isOnRoot','ck-suggestion-preview-marker-','diff','end','children','ck-suggestion-marker-','newRevisionId','_data','done','addRevision','catch','processor','bottom','_changeIdToChange','userId','_initInteractions','activeChange','deletion','concat','maxOffset','nextPosition','domEvent','add','requires','2404040WKwtZy','_makeTape','_makeModelFromTape','softBreak','createPositionFromPath','ck-suggestion-preview-marker','indexOf','mousedown','removeClass','findIndex','unshift','editingDowncast','getRoot','attributesAfter','merge','checkAttribute','attachChange','enqueueChange','isAdded','numberOfChanges','createRevision','insert','error','delete','document','find','data-change-id','_removeRevisionMarkers','addMarker:revision','change:isEnabled','addMarker:revision-suggestion:deletion','modelRange','revision-suggestion','toData','isInline','markerToData','suggestion','mapViewToDom','splice','isEqual'];_0x5e00=function(){return _0x1d602a;};return _0x5e00();}function et(_0x12c593,_0x3ce57e){return(_0x3088c6,_0x545c3b,_0x35f0cf)=>{const _0x353a87=_0x21a4;if(!_0x35f0cf[_0x353a87(0x170)][_0x353a87(0xdc)](_0x545c3b[_0x353a87(0x16c)],_0x3088c6[_0x353a87(0x11b)]))return;const _0xdb2ec2=_0x545c3b[_0x353a87(0x16c)][_0x353a87(0x177)](),_0x275a00=_0x545c3b[_0x353a87(0x16c)][_0x353a87(0x1be)],_0x55aa12=_0x12c593[_0x353a87(0x101)][_0x353a87(0x13c)];let _0x544f03=null,_0x3f3f91=null,_0x311c33=!0x1,_0x3a3285=!0x1;for(const _0x53a3ba of _0xdb2ec2){const _0x59570a=_0x53a3ba[_0x353a87(0xee)];_0x311c33=_0x311c33||_0x55aa12[_0x353a87(0x125)](_0x59570a);const _0x10c694=_0x35f0cf[_0x353a87(0xe6)][_0x353a87(0x127)](_0x59570a);if(_0x10c694&&_0x10c694[_0x353a87(0x20d)](_0x353a87(0x16f)))return;_0x353a87(0x1d3)==_0x53a3ba[_0x353a87(0x203)]&&(_0x55aa12[_0x353a87(0x174)](_0x59570a)&&!_0x55aa12[_0x353a87(0x1de)](_0x59570a)&&(_0x59570a[_0x353a87(0x159)]||_0x275a00[_0x353a87(0x14e)]?_0x544f03&&_0x544f03[_0x353a87(0xd7)]==_0x59570a||(_0x544f03=_0x59570a,_0x1876e5(_0x53a3ba[_0x353a87(0xe5)]),_0x3a3285=!0x0):_0x3f3f91=_0x3f3f91||_0x53a3ba[_0x353a87(0xe5)]));}function _0x1876e5(_0xe12442){const _0x7e7233=_0x353a87,_0x555876=_0x35f0cf[_0x7e7233(0xe6)][_0x7e7233(0xda)](_0xe12442),_0x11ef47=_0x35f0cf[_0x7e7233(0xd0)][_0x7e7233(0x11a)](_0x7e7233(0x1c8),{'class':_0x7e7233(0x179)+_0x3ce57e});_0x35f0cf[_0x7e7233(0xd0)][_0x7e7233(0x1a5)](_0x555876,_0x11ef47),_0x35f0cf[_0x7e7233(0xe6)][_0x7e7233(0x1fb)](_0x11ef47,_0x545c3b[_0x7e7233(0x1dc)]);}_0x311c33||_0x3a3285||!_0x3f3f91||_0x1876e5(_0x3f3f91);};}export class RestoreRevisionCommand extends _0x22b707{constructor(_0x4993f6){const _0x2a626a=_0x186374;super(_0x4993f6);const _0x57b145=_0x4993f6[_0x2a626a(0x20b)][_0x2a626a(0x1e8)](d);this[_0x2a626a(0xdb)]=!0x1,this[_0x2a626a(0x201)](_0x57b145,_0x2a626a(0x210),()=>this[_0x2a626a(0x13f)]()),this[_0x2a626a(0x201)](_0x57b145,_0x2a626a(0x1ad),()=>this[_0x2a626a(0x13f)]());}[_0x186374(0xf2)](){const _0x1e6114=_0x186374,_0x177614=this[_0x1e6114(0x1fd)],_0x89fd3f=_0x177614[_0x1e6114(0x20b)][_0x1e6114(0x1e8)](d),_0x392c05=_0x89fd3f[_0x1e6114(0x15a)]?_0x89fd3f[_0x1e6114(0x17a)][_0x1e6114(0x17e)]:null;_0x177614[_0x1e6114(0x168)][_0x1e6114(0x1e8)](_0x1e6114(0x166))[_0x1e6114(0x1ee)](_0x392c05);}[_0x186374(0x13f)](){const _0x513331=_0x186374,{isReady:_0x173ce1,isEnabled:_0x1c25a5}=this[_0x513331(0x1fd)][_0x513331(0x20b)][_0x513331(0x1e8)](d);this[_0x513331(0x12b)]=_0x173ce1&&_0x1c25a5;}}export class ShowChangeCommand extends _0x22b707{constructor(_0x41285d,{direction:_0x233bb5}){const _0x3e5b77=_0x186374;super(_0x41285d);const _0x15a57e=_0x41285d[_0x3e5b77(0x20b)][_0x3e5b77(0x1e8)](d);this[_0x3e5b77(0xdb)]=!0x1,this[_0x3e5b77(0x1f1)]=_0x3e5b77(0x146)===_0x233bb5?0x1:-0x1,this[_0x3e5b77(0x201)](_0x15a57e,_0x3e5b77(0x210),()=>this[_0x3e5b77(0x13f)]()),this[_0x3e5b77(0x201)](_0x15a57e,_0x3e5b77(0x1ad),()=>this[_0x3e5b77(0x13f)]()),this[_0x3e5b77(0x201)](_0x15a57e,_0x3e5b77(0x1c6),()=>this[_0x3e5b77(0x13f)]());}[_0x186374(0xf2)](){const _0x55a5d9=_0x186374,_0x3c8a16=this[_0x55a5d9(0x1fd)],_0x1f194c=_0x3c8a16[_0x55a5d9(0x20b)][_0x55a5d9(0x1e8)](d),{isNavigationMode:_0x4f2d2d,currentChangeNumber:_0x62d2ed}=_0x1f194c;let _0x8bb073;if(_0x1f194c[_0x55a5d9(0x188)]=_0x4f2d2d?_0x1f194c[_0x55a5d9(0x17a)][_0x55a5d9(0xfe)][_0x55a5d9(0x1e8)](_0x62d2ed+this[_0x55a5d9(0x1f1)]):_0x1f194c[_0x55a5d9(0x17a)][_0x55a5d9(0xfe)][_0x55a5d9(0xe2)],_0x1f194c[_0x55a5d9(0x188)][_0x55a5d9(0x1ec)][_0x55a5d9(0x178)])_0x8bb073=_0x3c8a16[_0x55a5d9(0x12e)][_0x55a5d9(0x131)][_0x55a5d9(0x213)](_0x1f194c[_0x55a5d9(0x188)][_0x55a5d9(0x137)]);else{const _0x5b27d4=_0x3c8a16[_0x55a5d9(0x101)][_0x55a5d9(0xfb)][_0x55a5d9(0x1e8)](_0x55a5d9(0xd4)+_0x1f194c[_0x55a5d9(0x188)]['id']);_0x8bb073=_0x4f3ef1(_0x3c8a16[_0x55a5d9(0x12e)],_0x5b27d4);}_0x59e95e({'target':_0x8bb073,'viewportOffset':0x28});}[_0x186374(0x13f)](){const _0x234f34=_0x186374,{isNavigationMode:_0x414b38,currentChangeNumber:_0x4fa1ab,numberOfChanges:_0x1a21a5,isReady:_0x4e9594,isEnabled:_0x5157d2}=this[_0x234f34(0x1fd)][_0x234f34(0x20b)][_0x234f34(0x1e8)](d);this[_0x234f34(0x12b)]=!!(_0x5157d2&&_0x4e9594&&_0x1a21a5)&&(!_0x414b38||(0x1===this[_0x234f34(0x1f1)]?_0x4fa1ab<_0x1a21a5-0x1:_0x4fa1ab>0x0));}}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { ViewModel } from 'ckeditor5/src/ui.js';
|
|
5
|
+
import { ViewModel, type DropdownView } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import '../../../theme/revision/revisionactions.css';
|
|
7
|
+
import type RevisionView from './revisionview.js';
|
|
8
|
+
import type { RevisionAction } from '../revisionssidebar/revisionssidebar.js';
|
|
9
|
+
export declare function createActionsDropdownView(revisionView: RevisionView, revisionActions: Array<RevisionAction>): DropdownView;
|
|
7
10
|
export interface RevisionDropdownOptions {
|
|
8
11
|
type: 'button';
|
|
9
12
|
model: ViewModel;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4e5574,_0x3d6032){const _0x3a130c=_0x432e,_0x42c83c=_0x4e5574();while(!![]){try{const _0x2af1d4=parseInt(_0x3a130c(0x130))/0x1*(parseInt(_0x3a130c(0x144))/0x2)+-parseInt(_0x3a130c(0x122))/0x3+parseInt(_0x3a130c(0x13e))/0x4*(parseInt(_0x3a130c(0x120))/0x5)+parseInt(_0x3a130c(0x141))/0x6+-parseInt(_0x3a130c(0x132))/0x7*(parseInt(_0x3a130c(0x12a))/0x8)+parseInt(_0x3a130c(0x147))/0x9*(-parseInt(_0x3a130c(0x126))/0xa)+parseInt(_0x3a130c(0x14d))/0xb*(parseInt(_0x3a130c(0x127))/0xc);if(_0x2af1d4===_0x3d6032)break;else _0x42c83c['push'](_0x42c83c['shift']());}catch(_0x5f1761){_0x42c83c['push'](_0x42c83c['shift']());}}}(_0x12df,0x1943b));import{Collection as _0x53a3f9}from'ckeditor5/src/utils.js';import{icons as _0x5ecbac}from'ckeditor5/src/core.js';function _0x432e(_0x493957,_0x2d9efd){const _0x12df8b=_0x12df();return _0x432e=function(_0x432e13,_0x17cedf){_0x432e13=_0x432e13-0x120;let _0x4b3bf3=_0x12df8b[_0x432e13];return _0x4b3bf3;},_0x432e(_0x493957,_0x2d9efd);}import{ViewModel as _0x3364ec,addListToDropdown as _0x3d0f0a,createDropdown as _0x17652f}from'ckeditor5/src/ui.js';function _0x12df(){const _0x3c37ca=['function','threeVerticalDots','20RghDTA','model','404124XUXKpc','button','stopPropagation','first','135890DNbDKU','624mOSYGc','execute','Restore\x20this\x20revision','8AuqNYn','listView','change:isActionsDropdownOpen','Show\x20more\x20items','Name\x20this\x20revision','menu','1eLWCKH','ck-revision-history-sidebar__revision__actions','915502CSVxIm','find','menuitem','_action','Compare\x20against\x20selected','class','source','name','items','isEnabled','isActionsDropdownOpen','map','130612RbhzRk','isReady','set','800856FXJsVc','action','ck-on','50684zTDyXM','listenTo','add','117lqyBUk','buttonView','bindTemplate','isVisible','isOpen','panelPosition','54197HDfVPC','bind','locale','extendTemplate','children'];_0x12df=function(){return _0x3c37ca;};return _0x12df();}import{getTranslation as _0xad9517}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x1fa58e,_0x137310){const _0xb6f913=_0x432e,_0x44692f=_0x1fa58e[_0xb6f913(0x149)],_0x63e12a=_0x1fa58e[_0xb6f913(0x14f)],_0xaa2b0b=_0x17652f(_0x63e12a);_0xaa2b0b[_0xb6f913(0x14c)]='sw';const _0x2def74=function(_0x2db379,_0x6b2d06){const _0x150825=_0xb6f913,_0x51c7f3=function(_0x1b4f99,_0x2c6cc0){const _0x315b2a=_0x432e,_0x3a73a1=_0x1b4f99[_0x315b2a(0x14f)],_0x263c26={'Compare\x20against\x20selected':_0xad9517(_0x3a73a1,_0x315b2a(0x136)),'Name\x20this\x20revision':_0xad9517(_0x3a73a1,_0x315b2a(0x12e)),'Restore\x20this\x20revision':_0xad9517(_0x3a73a1,_0x315b2a(0x129))};return _0x2c6cc0[_0x315b2a(0x13d)](_0x35662a=>{const _0x205534=_0x315b2a,_0x575954=_0x263c26[_0x35662a[_0x205534(0x139)]];return _0x575954&&_0x575954!==_0x35662a[_0x205534(0x139)]&&(_0x35662a[_0x205534(0x139)]=_0x575954),_0x35662a;});}(_0x2db379,_0x6b2d06),_0x552985=new _0x53a3f9();for(const _0x8c3a7 of _0x51c7f3){const _0x52f005={'type':_0x150825(0x123),'model':new _0x3364ec({'label':_0x8c3a7[_0x150825(0x139)],'class':_0x8c3a7[_0x150825(0x137)],'withText':!0x0,'role':_0x150825(0x134),'_action':_0x8c3a7[_0x150825(0x142)]})};_0x52f005[_0x150825(0x121)][_0x150825(0x14e)](_0x150825(0x13b))['to'](_0x2db379,_0x150825(0x13c),_0x129bf2=>_0x150825(0x152)!=typeof _0x8c3a7[_0x150825(0x13b)]||(!_0x129bf2||_0x8c3a7[_0x150825(0x13b)](_0x2db379))),_0x552985[_0x150825(0x146)](_0x52f005);}return _0x552985;}(_0x1fa58e,_0x137310);return _0x1fa58e[_0xb6f913(0x14e)](_0xb6f913(0x13c))['to'](_0xaa2b0b,_0xb6f913(0x14b)),_0xaa2b0b[_0xb6f913(0x148)][_0xb6f913(0x140)]({'label':_0xad9517(_0x63e12a,_0xb6f913(0x12d)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5ecbac[_0xb6f913(0x153)]}),_0xaa2b0b[_0xb6f913(0x150)]({'attributes':{'class':[_0xb6f913(0x131),_0x44692f['if'](_0xb6f913(0x13c),_0xb6f913(0x143))]},'on':{'click':_0x44692f['to'](_0x4710f9=>_0x4710f9[_0xb6f913(0x124)]())}}),_0xaa2b0b['on'](_0xb6f913(0x128),_0x59f0cc=>{const _0x4a1956=_0xb6f913;_0x1fa58e[_0x4a1956(0x13f)]&&_0x4a1956(0x152)==typeof _0x59f0cc[_0x4a1956(0x138)][_0x4a1956(0x135)]&&_0x59f0cc[_0x4a1956(0x138)][_0x4a1956(0x135)](_0x1fa58e);}),_0x3d0f0a(_0xaa2b0b,_0x2def74,{'role':_0xb6f913(0x12f)}),_0xaa2b0b[_0xb6f913(0x145)](_0x1fa58e,_0xb6f913(0x12c),(_0x148d0e,_0x2d094f,_0x2330e3)=>{const _0x179feb=_0xb6f913;if(_0x2330e3)for(const _0x1266c8 of _0xaa2b0b[_0x179feb(0x12b)][_0x179feb(0x13a)]){const _0xee0e9f=_0x1266c8[_0x179feb(0x151)][_0x179feb(0x125)],_0x34cfb7=_0x137310[_0x179feb(0x133)](_0x4aa718=>_0x4aa718[_0x179feb(0x142)]===_0xee0e9f[_0x179feb(0x135)])[_0x179feb(0x14a)];_0x1266c8[_0x179feb(0x14a)]=void 0x0===_0x34cfb7||_0x34cfb7(_0x1fa58e);}}),_0xaa2b0b;}
|
|
@@ -2,4 +2,13 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/revisionauthorview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
5
11
|
import '../../../theme/revision/revisionauthor.css';
|
|
12
|
+
export default class RevisionAuthorView extends View {
|
|
13
|
+
constructor(locale: Locale, author: User, isCreator: boolean);
|
|
14
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1d94c9,_0x4bcc3a){const _0x23f843=_0x2e79,_0x2aac2b=_0x1d94c9();while(!![]){try{const _0x3dba16=parseInt(_0x23f843(0x12d))/0x1*(-parseInt(_0x23f843(0x128))/0x2)+-parseInt(_0x23f843(0x12f))/0x3+parseInt(_0x23f843(0x12e))/0x4*(-parseInt(_0x23f843(0x137))/0x5)+-parseInt(_0x23f843(0x139))/0x6+-parseInt(_0x23f843(0x12a))/0x7+-parseInt(_0x23f843(0x12c))/0x8*(-parseInt(_0x23f843(0x133))/0x9)+-parseInt(_0x23f843(0x129))/0xa*(-parseInt(_0x23f843(0x132))/0xb);if(_0x3dba16===_0x4bcc3a)break;else _0x2aac2b['push'](_0x2aac2b['shift']());}catch(_0x1d5203){_0x2aac2b['push'](_0x2aac2b['shift']());}}}(_0x6d66,0x21786));function _0x2e79(_0x21ba03,_0x46eafe){const _0x6d6644=_0x6d66();return _0x2e79=function(_0x2e79c6,_0x437f87){_0x2e79c6=_0x2e79c6-0x126;let _0xd35e00=_0x6d6644[_0x2e79c6];return _0xd35e00;},_0x2e79(_0x21ba03,_0x46eafe);}import{View as _0x2c12a7,IconView as _0x101e5c}from'ckeditor5/src/ui.js';import{getTranslation as _0x12b763}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0x4c1944 from'../../../theme/icons/user.svg';function _0x6d66(){const _0x6530f=['84827GMmVYE','143020mMXzbX','767016kltzix','0\x200\x2011\x2010','Revision\x20author','618530byvkQE','798183liEqub','push','name','Revision\x20creator','5dRwubV','set','1116186sStCGb','ck-revision-history-sidebar__revision-author_creator','ck-revision-history-sidebar__revision-author','span','ck-revision-history-sidebar__revision-author__name','4bKgiPD','160qxlgUI','1429127PTLSQQ','setTemplate','8UvGVLm'];_0x6d66=function(){return _0x6530f;};return _0x6d66();}export default class ti extends _0x2c12a7{constructor(_0x56d4f2,_0x5d77ea,_0x997fb7){const _0x1bad33=_0x2e79;super(_0x56d4f2);const _0x1226dc=new _0x101e5c();_0x1226dc[_0x1bad33(0x138)]({'content':_0x4c1944,'viewBox':_0x1bad33(0x130)});const _0x3a2d13=['ck',_0x1bad33(0x13b)];_0x997fb7&&_0x3a2d13[_0x1bad33(0x134)](_0x1bad33(0x13a));const _0x122f80=[{'tag':_0x1bad33(0x126),'attributes':{'class':['ck',_0x1bad33(0x127)],'title':_0x12b763(_0x56d4f2,_0x997fb7?_0x1bad33(0x136):_0x1bad33(0x131))},'children':[_0x1226dc,_0x5d77ea[_0x1bad33(0x135)]]}];this[_0x1bad33(0x12b)]({'tag':'li','attributes':{'class':_0x3a2d13},'children':_0x122f80});}}
|
|
@@ -2,4 +2,29 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/revisionnameview
|
|
7
|
+
*/
|
|
8
|
+
import { LabeledFieldView, type InputTextView } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
5
10
|
import '../../../theme/revision/revisionname.css';
|
|
11
|
+
export default class RevisionNameView extends LabeledFieldView<InputTextView> {
|
|
12
|
+
/**
|
|
13
|
+
* @inheritDoc
|
|
14
|
+
*/
|
|
15
|
+
constructor(locale: Locale, viewCreator: (labeledFieldView: LabeledFieldView, viewUid: string, statusUid: string) => InputTextView);
|
|
16
|
+
/**
|
|
17
|
+
* Renders the view and creates binding for tooltip. It's only displayed if the revision name is longer
|
|
18
|
+
* than the container. There are two different scenarios this may happen:
|
|
19
|
+
*
|
|
20
|
+
* * while resizing the container,
|
|
21
|
+
* * while changing the revision name.
|
|
22
|
+
*
|
|
23
|
+
* Hence, two different bindings are created: one using the `ResizeObserver` and the other using the input `value` property.
|
|
24
|
+
*/
|
|
25
|
+
render(): void;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
destroy(): void;
|
|
30
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x297c70=_0x225c;function _0x380c(){const _0x5ce2e4=['14McmchW','set','fieldView','clientWidth','value','_updateTooltipText','_tooltipString','1972046EkxjWE','scrollWidth','ck-revision-history-sidebar__revision-name','3wtmbgq','input','Enter\x20the\x20revision\x20name','destroy','3268776eoCbtY','12mduHdY','ck-tooltip_multi-line','1DtKtIP','Revision\x20name','element','10mgONVg','626036ycLgUk','675RhrQML','649080SUjTPP','extendTemplate','_resizeObserver','46440394orULEi','render','span','placeholder','9650267IwGEXS','listenTo','bindTemplate','5466nAJYkY'];_0x380c=function(){return _0x5ce2e4;};return _0x380c();}(function(_0x36f99a,_0x1faa4f){const _0x4070fd=_0x225c,_0x122b81=_0x36f99a();while(!![]){try{const _0x42e3de=-parseInt(_0x4070fd(0x175))/0x1*(parseInt(_0x4070fd(0x16b))/0x2)+-parseInt(_0x4070fd(0x16e))/0x3*(parseInt(_0x4070fd(0x179))/0x4)+-parseInt(_0x4070fd(0x17a))/0x5*(parseInt(_0x4070fd(0x185))/0x6)+parseInt(_0x4070fd(0x186))/0x7*(-parseInt(_0x4070fd(0x172))/0x8)+-parseInt(_0x4070fd(0x17b))/0x9+parseInt(_0x4070fd(0x178))/0xa*(-parseInt(_0x4070fd(0x182))/0xb)+parseInt(_0x4070fd(0x173))/0xc*(parseInt(_0x4070fd(0x17e))/0xd);if(_0x42e3de===_0x1faa4f)break;else _0x122b81['push'](_0x122b81['shift']());}catch(_0x957f71){_0x122b81['push'](_0x122b81['shift']());}}}(_0x380c,0x83e32));function _0x225c(_0x39a014,_0x29a784){const _0x380c0e=_0x380c();return _0x225c=function(_0x225c48,_0x156f61){_0x225c48=_0x225c48-0x16b;let _0x26130d=_0x380c0e[_0x225c48];return _0x26130d;},_0x225c(_0x39a014,_0x29a784);}import{LabeledFieldView as _0x5b5ea3}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x37acee}from'ckeditor5/src/utils.js';import{getTranslation as _0x2d3474}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class kt extends _0x5b5ea3{constructor(_0xc413c3,_0x8a8cde){const _0x33fdea=_0x225c;super(_0xc413c3,_0x8a8cde),this[_0x33fdea(0x17d)]=null;const _0x43628e=this[_0x33fdea(0x184)];this[_0x33fdea(0x187)]({'label':_0x2d3474(_0xc413c3,_0x33fdea(0x176)),'_tooltipString':''}),this[_0x33fdea(0x188)][_0x33fdea(0x181)]=_0x2d3474(_0xc413c3,_0x33fdea(0x170)),this[_0x33fdea(0x17c)]({'tag':_0x33fdea(0x180),'attributes':{'class':[_0x33fdea(0x16d)],'data-cke-tooltip-text':_0x43628e['to'](_0x33fdea(0x18c)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x33fdea(0x174)}});}[_0x297c70(0x17f)](){const _0x47fb68=_0x297c70;super[_0x47fb68(0x17f)](),this[_0x47fb68(0x17d)]=new _0x37acee(this[_0x47fb68(0x188)][_0x47fb68(0x177)],()=>this[_0x47fb68(0x18b)]()),this[_0x47fb68(0x183)](this[_0x47fb68(0x188)],_0x47fb68(0x16f),()=>this[_0x47fb68(0x18b)]());}[_0x297c70(0x171)](){const _0x2f4ac2=_0x297c70;super[_0x2f4ac2(0x171)](),this[_0x2f4ac2(0x17d)]&&this[_0x2f4ac2(0x17d)][_0x2f4ac2(0x171)]();}[_0x297c70(0x18b)](){const _0x2eeff1=_0x297c70,_0x411bbb=this[_0x2eeff1(0x188)][_0x2eeff1(0x177)];this[_0x2eeff1(0x18c)]=_0x411bbb[_0x2eeff1(0x16c)]>_0x411bbb[_0x2eeff1(0x189)]&&_0x411bbb[_0x2eeff1(0x18a)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0xa7ccc8=_0x3eec;function _0x3eec(_0x212731,_0x5c5c81){const _0x21dd18=_0x21dd();return _0x3eec=function(_0x3eec3f,_0x1c4381){_0x3eec3f=_0x3eec3f-0x1e8;let _0x1926b6=_0x21dd18[_0x3eec3f];return _0x1926b6;},_0x3eec(_0x212731,_0x5c5c81);}(function(_0x127bf8,_0x78121d){const _0x8c081e=_0x3eec,_0x21caa6=_0x127bf8();while(!![]){try{const _0x5e5e3c=-parseInt(_0x8c081e(0x227))/0x1+parseInt(_0x8c081e(0x1fd))/0x2*(-parseInt(_0x8c081e(0x1e8))/0x3)+-parseInt(_0x8c081e(0x210))/0x4+-parseInt(_0x8c081e(0x203))/0x5+parseInt(_0x8c081e(0x218))/0x6+-parseInt(_0x8c081e(0x20d))/0x7*(-parseInt(_0x8c081e(0x21c))/0x8)+-parseInt(_0x8c081e(0x1f5))/0x9*(-parseInt(_0x8c081e(0x221))/0xa);if(_0x5e5e3c===_0x78121d)break;else _0x21caa6['push'](_0x21caa6['shift']());}catch(_0x1221f8){_0x21caa6['push'](_0x21caa6['shift']());}}}(_0x21dd,0xa83f1));function _0x21dd(){const _0xe86acb=['.ck-thread__remove-confirm','12854655UMvcsl','render','createdAt','isConfirm','name','extendTemplate','ck-disabled','unshift','28BAxPin','change','ck-revision-history-sidebar__revision__controls-wrapper','highlight','isEnabled','_requireRevisionName','5799505NgNrOD','ck-revision-history-sidebar__revision-wrapper','_createdAtFormatted','span','map','setTemplate','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','ck-revision-history-sidebar__actions_dropdown_open','div','unhighlight','5182541wVXYcB','ck-revision-history-sidebar__revision','from','1070872MuCWvw','ck-revision-history-sidebar__revision__date','element','isSelected','length','ck-revision-history-sidebar__revision_selected','set','bindTemplate','7508460zigmPJ','value','isHighlighted','srcElement','8vzBMns','select','closest','ck-reset','ck-revision-history-sidebar__revision-authors','10giMxVW','uiLanguage','revisionNameView','setName','220','_revision','553612svaAvy','deselect','160650kAFJjJ','listenTo','revisionActionsView','creator','authors','isActionsDropdownOpen','fieldView','fire','ck-revision-history-sidebar__revision_highlighted','filter','bind','isReady'];_0x21dd=function(){return _0xe86acb;};return _0x21dd();}import{View as _0x248529,createLabeledInputText as _0x2fab65}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0xb97d3f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x16e0e9 from'./revisionnameview.js';import _0x381cf8 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x1e811b}from'./utils.js';import{createActionsDropdownView as _0xd08240}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xb97d3f(_0x248529){constructor(_0xaa6fcf,_0x4e6459,_0x3a8209,_0x3f5c09){const _0x5d79f5=_0x3eec;super(_0xaa6fcf);const _0x424ef9=this[_0x5d79f5(0x217)],_0x3b2dd9=function(_0x5da73d,_0x9e0d62){const _0x5bbc7f=_0x5d79f5,_0x245075=Array[_0x5bbc7f(0x20f)](_0x9e0d62[_0x5bbc7f(0x1ec)])[_0x5bbc7f(0x1f1)](_0x36291f=>_0x36291f!=_0x9e0d62[_0x5bbc7f(0x1eb)]);return _0x9e0d62[_0x5bbc7f(0x1eb)]&&_0x245075[_0x5bbc7f(0x1fc)](_0x9e0d62[_0x5bbc7f(0x1eb)]),_0x245075[_0x5bbc7f(0x207)](_0x124c65=>new _0x381cf8(_0x5da73d,_0x124c65,_0x124c65==_0x9e0d62[_0x5bbc7f(0x1eb)]));}(_0xaa6fcf,_0x4e6459);this['id']=_0x4e6459['id'],this[_0x5d79f5(0x226)]=_0x4e6459,this[_0x5d79f5(0x202)]=_0x3f5c09,this[_0x5d79f5(0x1f2)](_0x5d79f5(0x1f9),_0x5d79f5(0x1f7))['to'](_0x4e6459),this[_0x5d79f5(0x1f2)](_0x5d79f5(0x205))['to'](this,_0x5d79f5(0x1f7),_0x3ab360=>_0x1e811b(_0xaa6fcf[_0x5d79f5(0x222)],_0x3ab360)),this[_0x5d79f5(0x216)](_0x5d79f5(0x213),!0x1),this[_0x5d79f5(0x216)](_0x5d79f5(0x21a),!0x1),this[_0x5d79f5(0x216)](_0x5d79f5(0x1ed),!0x1),this[_0x5d79f5(0x216)](_0x5d79f5(0x1f3),!0x1),this[_0x5d79f5(0x216)](_0x5d79f5(0x201),!0x1),this[_0x5d79f5(0x223)]=new _0x16e0e9(_0xaa6fcf,_0x2fab65),this[_0x5d79f5(0x223)][_0x5d79f5(0x1ee)][_0x5d79f5(0x1fa)]({'attributes':{'maxlength':_0x5d79f5(0x225)}}),this[_0x5d79f5(0x223)][_0x5d79f5(0x1ee)][_0x5d79f5(0x1f2)](_0x5d79f5(0x219))['to'](this,_0x5d79f5(0x1f9),_0xc555f2=>_0xc555f2||this[_0x5d79f5(0x205)]),this[_0x5d79f5(0x223)][_0x5d79f5(0x1f2)](_0x5d79f5(0x201))['to'](this,_0x5d79f5(0x213),this,_0x5d79f5(0x201),(_0x1068ee,_0x37fce0)=>_0x1068ee&&_0x37fce0),this[_0x5d79f5(0x1ea)]=_0x3a8209&&_0x3a8209[_0x5d79f5(0x214)]?_0xd08240(this,_0x3a8209):'',this[_0x5d79f5(0x1ea)]&&this[_0x5d79f5(0x1ea)][_0x5d79f5(0x1f2)](_0x5d79f5(0x201))['to'](this),this[_0x5d79f5(0x208)]({'tag':_0x5d79f5(0x20b),'attributes':{'class':['ck',_0x5d79f5(0x21f),_0x5d79f5(0x204),_0x424ef9['if'](_0x5d79f5(0x1f8),_0x5d79f5(0x209))]},'children':[{'tag':_0x5d79f5(0x20b),'attributes':{'class':['ck',_0x5d79f5(0x21f),_0x5d79f5(0x20e),_0x424ef9['if'](_0x5d79f5(0x201),_0x5d79f5(0x1fb),_0x245f9d=>!_0x245f9d),_0x424ef9['if'](_0x5d79f5(0x213),_0x5d79f5(0x215)),_0x424ef9['if'](_0x5d79f5(0x21a),_0x5d79f5(0x1f0)),_0x424ef9['if'](_0x5d79f5(0x1ed),_0x5d79f5(0x20a))]},'children':[this[_0x5d79f5(0x223)],{'tag':_0x5d79f5(0x206),'attributes':{'class':['ck',_0x5d79f5(0x211)]},'children':[{'text':_0x424ef9['to'](_0x5d79f5(0x205))}]},{'tag':_0x5d79f5(0x20b),'attributes':{'class':['ck',_0x5d79f5(0x1ff)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x5d79f5(0x220)]},'children':_0x3b2dd9}]},this[_0x5d79f5(0x1ea)]],'on':{'click':_0x424ef9['to'](_0x143b4f=>{const _0x47801e=_0x5d79f5;_0x143b4f[_0x47801e(0x21b)][_0x47801e(0x21e)](_0x47801e(0x1f4))||this[_0x47801e(0x1f3)]&&this[_0x47801e(0x201)]&&this[_0x47801e(0x1ef)](_0x47801e(0x21d),{'id':this['id']});})}}]});}[_0xa7ccc8(0x1f6)](){const _0x49712a=_0xa7ccc8;super[_0x49712a(0x1f6)]();const _0x460fd3=this[_0x49712a(0x223)][_0x49712a(0x1ee)][_0x49712a(0x212)];this[_0x49712a(0x1e9)](_0x460fd3,_0x49712a(0x1fe),()=>{const _0x5af0ab=_0x49712a;this[_0x5af0ab(0x202)]&&!_0x460fd3[_0x5af0ab(0x219)]||this[_0x5af0ab(0x1ef)](_0x5af0ab(0x224),{'id':this['id'],'name':_0x460fd3[_0x5af0ab(0x219)]}),_0x460fd3[_0x5af0ab(0x219)]||(_0x460fd3[_0x5af0ab(0x219)]=this[_0x5af0ab(0x1f9)]?this[_0x5af0ab(0x1f9)]:this[_0x5af0ab(0x205)]);});}[_0xa7ccc8(0x21d)](){const _0x5deec0=_0xa7ccc8;this[_0x5deec0(0x213)]=!0x0;}[_0xa7ccc8(0x228)](){const _0x28e010=_0xa7ccc8;this[_0x28e010(0x213)]=!0x1;}[_0xa7ccc8(0x200)](){const _0x2136ba=_0xa7ccc8;this[_0x2136ba(0x21a)]=!0x0;}[_0xa7ccc8(0x20c)](){const _0x46e1a9=_0xa7ccc8;this[_0x46e1a9(0x21a)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x47de(){const _0x2da67c=['1173608CYJIkN','10mOpzlS','button','1135994JSiTnC','false','set','6246711dkOqDi','setTemplate','toggle','true','7015218fWruIb','bindTemplate','151180KCOcKb','ck-revision-history-sidebar__subrevision-collapser__inner','ck-revision-history-sidebar__subrevision-collapser','_isCollapsed','ck-revision-history-sidebar__subrevision-collapser_collapsed','10145HioFOK','2874JqFXVa','808704WjrEAJ','ck-hidden','isVisible','click','span','9uyMEYo'];_0x47de=function(){return _0x2da67c;};return _0x47de();}function _0x45e3(_0x553803,_0x1478f2){const _0x47de68=_0x47de();return _0x45e3=function(_0x45e366,_0x39c55a){_0x45e366=_0x45e366-0x134;let _0x4fb4da=_0x47de68[_0x45e366];return _0x4fb4da;},_0x45e3(_0x553803,_0x1478f2);}const _0x26206f=_0x45e3;(function(_0x6f1bf9,_0x16b2cf){const _0x24a609=_0x45e3,_0x4a10eb=_0x6f1bf9();while(!![]){try{const _0x2f8b5=parseInt(_0x24a609(0x13f))/0x1+parseInt(_0x24a609(0x136))/0x2+parseInt(_0x24a609(0x13b))/0x3*(-parseInt(_0x24a609(0x148))/0x4)+parseInt(_0x24a609(0x134))/0x5*(-parseInt(_0x24a609(0x135))/0x6)+parseInt(_0x24a609(0x146))/0x7+-parseInt(_0x24a609(0x13c))/0x8+-parseInt(_0x24a609(0x142))/0x9*(parseInt(_0x24a609(0x13d))/0xa);if(_0x2f8b5===_0x16b2cf)break;else _0x4a10eb['push'](_0x4a10eb['shift']());}catch(_0x518ebe){_0x4a10eb['push'](_0x4a10eb['shift']());}}}(_0x47de,0x96810));import{View as _0x1d0122}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x1d0122{constructor(_0x249e20){const _0x4ba97e=_0x45e3;super(_0x249e20);const _0x183a67=this[_0x4ba97e(0x147)];this[_0x4ba97e(0x141)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x4ba97e(0x143)]({'tag':_0x4ba97e(0x13a),'attributes':{'class':['ck',_0x4ba97e(0x14a),_0x183a67['if'](_0x4ba97e(0x138),_0x4ba97e(0x137),_0x18e7ed=>!_0x18e7ed),_0x183a67['if'](_0x4ba97e(0x14b),_0x4ba97e(0x14c))],'role':_0x4ba97e(0x13e),'aria-pressed':_0x183a67['to'](_0x4ba97e(0x14b),_0x4906c3=>_0x4906c3?_0x4ba97e(0x140):_0x4ba97e(0x145))},'children':[{'tag':_0x4ba97e(0x13a),'attributes':{'class':['ck',_0x4ba97e(0x149)]}}],'on':{'click':_0x183a67['to'](_0x4ba97e(0x139))}});}[_0x26206f(0x144)](){const _0x9c788a=_0x26206f;this[_0x9c788a(0x14b)]=!this[_0x9c788a(0x14b)];}}
|