@ckeditor/ckeditor5-revision-history 42.0.0-alpha.1 → 42.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.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/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/revisiontracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x87c52a=_0x4b6d;(function(_0x41b320,_0x169ff8){const _0x2d433d=_0x4b6d,_0x4050e9=_0x41b320();while(!![]){try{const _0x5376fa=parseInt(_0x2d433d(0x1d8))/0x1*(-parseInt(_0x2d433d(0x1d5))/0x2)+parseInt(_0x2d433d(0xeb))/0x3+parseInt(_0x2d433d(0x1a7))/0x4*(-parseInt(_0x2d433d(0x1cd))/0x5)+-parseInt(_0x2d433d(0x1ae))/0x6*(-parseInt(_0x2d433d(0x138))/0x7)+-parseInt(_0x2d433d(0xe1))/0x8*(parseInt(_0x2d433d(0x11e))/0x9)+-parseInt(_0x2d433d(0x108))/0xa*(parseInt(_0x2d433d(0x169))/0xb)+parseInt(_0x2d433d(0x12c))/0xc*(parseInt(_0x2d433d(0x1c2))/0xd);if(_0x5376fa===_0x169ff8)break;else _0x4050e9['push'](_0x4050e9['shift']());}catch(_0x4cc84c){_0x4050e9['push'](_0x4050e9['shift']());}}}(_0x4dc7,0x448a8));import{Users as _0x84a68c}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x4ee04b,PendingActions as _0x2baaa6}from'ckeditor5/src/core.js';import{logWarning as _0x2f7e38,uid as _0xb5a8f6}from'ckeditor5/src/utils.js';import{Position as _0x5804af,Range as _0x3dd683,Element as _0x208d06,DocumentFragment as _0x434055,ViewText as _0x128f31,ViewElement as _0x3c52f4,ViewContainerElement as _0x2c5780,ViewAttributeElement as _0x51e954,ViewEmptyElement as _0x3fb33b,ViewRawElement as _0x5c5460,ViewUIElement as _0x9b2a1d,ViewDocumentFragment as _0x424408}from'ckeditor5/src/engine.js';import _0x4a03ab from'./revisionsrepository.js';function _0x4b6d(_0x5abb3a,_0x26b190){const _0x4dc7e9=_0x4dc7();return _0x4b6d=function(_0x4b6d17,_0x4b978d){_0x4b6d17=_0x4b6d17-0xd4;let _0x150fdf=_0x4dc7e9[_0x4b6d17];return _0x150fdf;},_0x4b6d(_0x5abb3a,_0x26b190);}import{getTranslation as _0x372d26}from'./utils/common-translations.js';function _0x4dc7(){const _0x54d063=['offsetSize','rootsAttributes','_touchedMarkers','_reset','_getVidAttributeName','clear','type','_bufferUpdate','diffData','update','getAttribute','_fixRange','useFillerType','_setAttribute','attachChange','isAdd','createPositionAt','currentRevision','version','source','_initialRevisionId','authorsIds','from','adapter','vid','tableCell','_handleSplitOperation','getTime','RevisionsRepository','_handleRootAttributeOperation','_diffRoots','childCount','getIndex','path','rootName','add','marker','shift','_getState','NEGATIVE_INFINITY','newRange','_isAttached','config','4127519TIzdaH','isReady','_bufferedUpdates','_removeMetaData','graveyardPosition','name','_copyMarkers','pluginName','document','marked','item','default','split','previousPosition','insertion','then','updateRevisions','getData','toView','values','getRevision','resolve','paragraph','push','$text','requires','fromVersion','stringify','_startingRevisionId','insertions','set','nodeAfter','position','_addPendingAction','locale','getAttributes','_makeModelFromViewString','createRevision','length','createPositionAfter','createPositionFromPath','_baseRoots','_processRootBeforeSave','_touchedRoots','buildRevisionData','sendBufferedUpdates','attributesAfter','ready','isAttached','revision-end','newValue','parent','userId','getNodeByPath','repository','elementStart','getLatestVersion','_markChanges','offset','creatorId','addRevisionData','conversion','4wikRXD','range','move','getRevisionRootsAttributes','children','_getPreviousFrom','addRevision','2654838AlAKIk','getTransformedByOperation','roots','_handleInsertOperation','_getBaseVids','_findInsertionIndex','includes','end','plugins','vid_end','_createCurrentRevision','revision-start','parse','data-revision-','createRange','insert','sort','getChild','saveRevision','toModel','10004397tSdcmp','addRootAttribute','_handleMergeOperation','revision:','loadState','documentFragment','_startingVersion','reverse','_isInit','initial','_touched','1064815QyDcwN','_applyOperations','_markers','authors','_revisionId','define','string','view','773554wBSwmZ','editing','_setConversion','1QCDgla','revisionHistory.resumeUnsavedRevision','_isPendingUpdate','trim','getAncestors','sourcePosition','isEnabled','_lastTo','creator','RevisionTracker','key','hasContent','getOperation','howMany','text','dataDowncast','_transformMarkers','setSource','_fixOperation','splitPosition','delete','_revisionDataBuilder','_getViewJson','get','initialData','Users','vid_start','keys','getRoot','baseVersion','bind','root','getMovedRangeStart','collaboration.channelId','reinsert','_removeRevisionMarkers','_loadState','insertionPosition','filter','getCurrentRevisionId','finally','_lastFrom','createdAt','_cloneOperation','RealTimeCollaborationClient','deletion','dataToMarker','_handleOperation','_createFromRanges','_appendChild','model','attributesBefore','afterInit','attributes','_generateTape','32wLPruJ','toVersion','some','_createInitialRevision','_handleMoveOperation','_savedMetaData','_loadRevisionData','$graveyard','_pendingAction','removeRootAttribute','158217QKqCjO','fromEntries','_replaceEditorDataWithRevisionData','_diffRootsAttributes','upcast','_operations','Initial\x20revision','keepParagraph','_clone','for','editor','getChildren','max','affectsData','_authorId','_execute','revision','_source','_saveMetaData','getRevisions','getOperations','targetPosition','changeRootAttribute','slice','createRangeIn','merge','getRange','getUser','elementEnd','10qRLQfA','_calculateMetaData','_idsRoots','element','forEach','reInit','processor','stickiness','_fixPosition','_makeRevision','isEqual','_insertChild','getWalker','deletions','getRootNames','_update','addRoot','PENDING_ACTION_REVISION_HISTORY','find','Empty\x20document','clone','_handleMarkerOperation','20403oFnELm','PendingActions','remove','_handleRootOperation','_removePendingAction','init','_makeIdsRoot','has','_continueCurrentRevision','history','detachRoot','oldRange','startsWith','data','12TPekBb','_loadedStateData','nodes','size','markers','markerToData','_getFromVersion','toData','createPositionBefore','_baseIdsRoots','start','map','7DVyjYY','_baseRootsAttributes','setRevisionData','editor-initial-data-replaced-with-revision-data','getRevisionDocumentData','_prepareViewToSave'];_0x4dc7=function(){return _0x54d063;};return _0x4dc7();}import{cloneDeep as _0x222622,isEqual as _0x42921a}from'lodash-es';const T={'c':_0x2c5780,'a':_0x51e954,'e':_0x3fb33b,'r':_0x5c5460,'u':_0x9b2a1d};export default class l extends _0x4ee04b{static get[_0x87c52a(0x170)](){const _0x577e72=_0x87c52a;return _0x577e72(0x1e1);}static get[_0x87c52a(0x182)](){return[_0x84a68c,_0x4a03ab,_0x2baaa6];}constructor(_0x47de54){const _0x562939=_0x87c52a;super(_0x47de54),this[_0x562939(0x155)]=null,this[_0x562939(0x14f)]=null,this[_0x562939(0x1ed)]=new J(this[_0x562939(0xf5)]),this[_0x562939(0x152)]=this[_0x562939(0xf5)][_0x562939(0x168)][_0x562939(0x1ef)](_0x562939(0x1f9))||_0x562939(0x1cb),this[_0x562939(0x16b)]=new Map(),this[_0x562939(0x12d)]=null;const _0x2ce878=_0xb5a8f6();this[_0x562939(0xfc)]={'history':this[_0x562939(0xf5)][_0x562939(0xdc)][_0x562939(0x171)][_0x562939(0x127)],'getLatestVersion':()=>Promise[_0x562939(0x17e)](this[_0x562939(0xf5)][_0x562939(0xdc)][_0x562939(0x171)][_0x562939(0x150)]),'getCurrentRevisionId':()=>_0x2ce878},this[_0x562939(0x187)](_0x562939(0x16a),!0x1),this[_0x562939(0x187)](_0x562939(0x1de),!0x0),this[_0x562939(0x187)](_0x562939(0x1da),!0x1),this[_0x562939(0xf5)][_0x562939(0x168)][_0x562939(0x1d2)](_0x562939(0x1d9),!0x0),this[_0x562939(0xf5)][_0x562939(0x1a6)][_0x562939(0xf4)](_0x562939(0xef))[_0x562939(0xd8)]({'view':_0x562939(0xfb)});}[_0x87c52a(0x123)](){const _0x49cf54=_0x87c52a;this[_0x49cf54(0x19f)]=this[_0x49cf54(0xf5)][_0x49cf54(0x1b6)][_0x49cf54(0x1ef)](_0x49cf54(0x15a)),this[_0x49cf54(0x1d7)](),this[_0x49cf54(0xf5)][_0x49cf54(0x12b)]['on'](_0x49cf54(0x198),()=>{const _0x2373e2=_0x49cf54,_0x423e9e=this[_0x2373e2(0x19f)][_0x2373e2(0x17d)](0x0),_0xa3e047=_0x423e9e&&null===_0x423e9e[_0x2373e2(0x1e0)]?_0x423e9e:null;if(this[_0x2373e2(0x126)]=!!_0xa3e047&&this[_0x2373e2(0xf5)][_0x2373e2(0x168)][_0x2373e2(0x1ef)](_0x2373e2(0x1d9)),this[_0x2373e2(0xf5)][_0x2373e2(0x1b6)][_0x2373e2(0x125)](_0x2373e2(0xd6))){const _0x5e1dbb=this[_0x2373e2(0xfc)][_0x2373e2(0x1ff)](),_0x2fd7c9=this[_0x2373e2(0x19f)][_0x2373e2(0x17d)](_0x5e1dbb);if(_0x2fd7c9)this[_0x2373e2(0x1c8)]=_0x2fd7c9[_0x2373e2(0x183)],this[_0x2373e2(0x126)]=!0x1;else{const _0x4f3cc6=this[_0x2373e2(0xfc)][_0x2373e2(0x127)][_0x2373e2(0xf0)][_0x2373e2(0x11a)](_0x76ea7c=>!_0x76ea7c[_0x2373e2(0x1ca)]),_0x9c46d1=_0x4f3cc6?_0x4f3cc6[_0x2373e2(0x1f5)]:this[_0x2373e2(0xfc)][_0x2373e2(0x127)][_0x2373e2(0x150)];_0x423e9e?(_0x423e9e[_0x2373e2(0xe2)]<_0x9c46d1&&_0x423e9e[_0x2373e2(0x117)]({'toVersion':_0x9c46d1}),this[_0x2373e2(0x126)]?(this[_0x2373e2(0xfc)][_0x2373e2(0x1ff)]=()=>_0xa3e047['id'],this[_0x2373e2(0x1c8)]=_0xa3e047[_0x2373e2(0x183)]):(this[_0x2373e2(0x1c8)]=_0x423e9e[_0x2373e2(0xe2)],this[_0x2373e2(0x126)]=!0x1)):(this[_0x2373e2(0x1c8)]=_0x9c46d1,this[_0x2373e2(0x126)]=!0x1);}}else _0xa3e047&&(this[_0x2373e2(0xf5)][_0x2373e2(0xdc)][_0x2373e2(0x171)][_0x2373e2(0x127)][_0x2373e2(0x150)]=Math[_0x2373e2(0xf7)](_0xa3e047[_0x2373e2(0xe2)],this[_0x2373e2(0xf5)][_0x2373e2(0xdc)][_0x2373e2(0x171)][_0x2373e2(0x127)][_0x2373e2(0x150)]),_0xa3e047[_0x2373e2(0x183)]===_0xa3e047[_0x2373e2(0xe2)]?(0x0!==_0xa3e047[_0x2373e2(0x183)]&&(this[_0x2373e2(0xfc)][_0x2373e2(0x1ff)]=()=>_0xa3e047['id']),this[_0x2373e2(0x126)]=!0x1):this[_0x2373e2(0x126)]&&(this[_0x2373e2(0xfc)][_0x2373e2(0x1ff)]=()=>_0xa3e047['id'],this[_0x2373e2(0x1c8)]=_0xa3e047[_0x2373e2(0x183)])),this[_0x2373e2(0x126)]||(this[_0x2373e2(0x1c8)]=this[_0x2373e2(0xf5)][_0x2373e2(0xdc)][_0x2373e2(0x171)][_0x2373e2(0x150)]);this[_0x2373e2(0x1ed)][_0x2373e2(0x123)](this[_0x2373e2(0xfc)][_0x2373e2(0x127)]),this[_0x2373e2(0xe4)](this[_0x2373e2(0x1c8)]),this[_0x2373e2(0x1b8)](this[_0x2373e2(0x1c8)]),this[_0x2373e2(0x155)]&&this[_0x2373e2(0x196)]();}),this[_0x49cf54(0x1f6)](_0x49cf54(0x16a))['to'](this,_0x49cf54(0x1da),_0x5badfc=>!_0x5badfc);}async[_0x87c52a(0xde)](){const _0x27ddbd=_0x87c52a;if(this[_0x27ddbd(0x19f)][_0x27ddbd(0x18f)]>0x0){const _0x4d3824=this[_0x27ddbd(0x19f)][_0x27ddbd(0x17d)](0x0),_0x3e60cf=await this[_0x27ddbd(0x13c)](_0x4d3824),_0x3e1aa6=await this[_0x27ddbd(0x1aa)](_0x4d3824);this[_0x27ddbd(0xed)](_0x3e60cf,_0x3e1aa6);}}[_0x87c52a(0x1e9)](_0x5958fa){const _0x5c7c5f=_0x87c52a;this[_0x5c7c5f(0xfc)]=_0x5958fa;}async[_0x87c52a(0x147)](){const _0x32705d=_0x87c52a,_0xdcefd7=await this[_0x32705d(0xfc)][_0x32705d(0x1a1)]();if(_0xdcefd7>this[_0x32705d(0x14f)][_0x32705d(0xe2)]){await this[_0x32705d(0x1fc)]();const _0x4eac26=this[_0x32705d(0x195)]({'revision':this[_0x32705d(0x14f)],'to':_0xdcefd7});_0x4eac26[_0x32705d(0x1d0)]=_0x4eac26[_0x32705d(0x153)][_0x32705d(0x137)](_0x4785b1=>this[_0x32705d(0xf5)][_0x32705d(0x1b6)][_0x32705d(0x1ef)](_0x32705d(0x1f1))[_0x32705d(0x106)](_0x4785b1)),this[_0x32705d(0x14f)][_0x32705d(0x117)](_0x4eac26);}}async[_0x87c52a(0x1fc)](){const _0x359516=_0x87c52a;this[_0x359516(0x126)]&&!this[_0x359516(0x12d)]&&(await this[_0x359516(0xe7)](this[_0x359516(0x14f)]),this[_0x359516(0x1ed)][_0x359516(0x1c6)](this[_0x359516(0x14f)]),this[_0x359516(0x12d)]={'fromVersion':this[_0x359516(0x14f)][_0x359516(0x183)],'authors':this[_0x359516(0x14f)][_0x359516(0x1d0)][_0x359516(0x102)]()});}async[_0x87c52a(0x1c0)](_0x21a16b={},_0x2fbee2=null){const _0x3cf589=_0x87c52a,_0x184f04=[];await this[_0x3cf589(0x1fc)](),this[_0x3cf589(0x126)]=!0x1,_0x2fbee2>this[_0x3cf589(0x14f)][_0x3cf589(0xe2)]&&(_0x2fbee2=null),null===_0x2fbee2&&(_0x2fbee2=await this[_0x3cf589(0xfc)][_0x3cf589(0x1a1)]());const _0x387163=this[_0x3cf589(0x132)](_0x2fbee2),_0x4bca0a=this[_0x3cf589(0x195)]({'from':_0x387163,'to':_0x2fbee2});if(this[_0x3cf589(0x14f)][_0x3cf589(0xe2)]<_0x2fbee2){const _0x3e5e63=this[_0x3cf589(0x195)]({'revision':this[_0x3cf589(0x14f)],'from':_0x2fbee2,'to':_0x2fbee2});_0x3e5e63[_0x3cf589(0x1d0)]=[],_0x3e5e63[_0x3cf589(0x153)]=[],_0x3e5e63['id']=this[_0x3cf589(0x14f)]['id'],this[_0x3cf589(0x14f)][_0x3cf589(0x117)](_0x3e5e63,!0x0),delete _0x3e5e63[_0x3cf589(0x1d0)],_0x184f04[_0x3cf589(0x180)](_0x3e5e63);}_0x21a16b[_0x3cf589(0x1a4)]=this[_0x3cf589(0xf5)][_0x3cf589(0x1b6)][_0x3cf589(0x1ef)](_0x3cf589(0x1f1))['me']['id'],_0x21a16b[_0x3cf589(0x16e)]=_0x21a16b[_0x3cf589(0x16e)]||null,_0x21a16b['id']=_0x21a16b['id']||_0xb5a8f6(),_0x21a16b={..._0x21a16b,..._0x4bca0a};const _0x44b9cd=this[_0x3cf589(0x1a5)](_0x21a16b);_0x184f04[_0x3cf589(0x180)](_0x21a16b);const _0x3c74c1=this[_0x3cf589(0x19f)][_0x3cf589(0x15e)](_0x44b9cd);if(0x0!==_0x3c74c1){const _0x5d83a4=this[_0x3cf589(0x19f)][_0x3cf589(0x17d)](_0x3c74c1-0x1);if(_0x5d83a4[_0x3cf589(0x183)]!==_0x2fbee2){const _0x38050f=this[_0x3cf589(0x1ed)][_0x3cf589(0x17a)](_0x2fbee2,_0x5d83a4[_0x3cf589(0xe2)]),_0x4a6136={'id':_0x5d83a4['id'],'diffData':_0x38050f[_0x3cf589(0x146)],'authorsIds':_0x38050f[_0x3cf589(0x153)],'authors':_0x38050f[_0x3cf589(0x153)][_0x3cf589(0x137)](_0x175ae4=>this[_0x3cf589(0xf5)][_0x3cf589(0x1b6)][_0x3cf589(0x1ef)](_0x3cf589(0x1f1))[_0x3cf589(0x106)](_0x175ae4)),'fromVersion':_0x2fbee2};_0x5d83a4===this[_0x3cf589(0x14f)]&&(_0x4a6136[_0x3cf589(0xd4)]=new Date(_0x21a16b[_0x3cf589(0xd4)][_0x3cf589(0x159)]()+0xa)),_0x5d83a4[_0x3cf589(0x117)](_0x4a6136,!0x0),delete _0x4a6136[_0x3cf589(0x1d0)],_0x184f04[_0x3cf589(0x180)](_0x4a6136);}}if(this[_0x3cf589(0x155)]){for(const _0x2c8bb9 of _0x184f04)this[_0x3cf589(0x145)](_0x2c8bb9['id'],_0x2c8bb9,!0x0);this[_0x3cf589(0x196)]();}return _0x44b9cd;}[_0x87c52a(0x1a5)](_0x1a4c1b){const _0x38e14f=_0x87c52a,_0x4e3b7c=this[_0x38e14f(0x19f)][_0x38e14f(0x18e)](_0x1a4c1b);return this[_0x38e14f(0x155)]&&_0x4e3b7c['on'](_0x38e14f(0x117),(_0x3f593e,_0x34a129,_0x43310c)=>{const _0x1960b2=_0x38e14f;_0x43310c||(this[_0x1960b2(0x145)](_0x34a129['id'],_0x34a129,!0x0),this[_0x1960b2(0x196)]());}),this[_0x38e14f(0x19f)][_0x38e14f(0x1ad)](_0x4e3b7c,this[_0x38e14f(0x1b3)](_0x4e3b7c)),_0x4e3b7c;}async[_0x87c52a(0x13c)](_0x4f0512){const _0x57a714=_0x87c52a;await this[_0x57a714(0xe7)](_0x4f0512);const _0x42ebbd={};for(const _0x2bb173 in _0x4f0512[_0x57a714(0x146)]){if(_0x4f0512[_0x57a714(0x146)][_0x2bb173][_0x57a714(0x14c)]&&!_0x4f0512[_0x57a714(0x146)][_0x2bb173][_0x57a714(0x14c)][_0x57a714(0x199)])continue;const _0x4cf457=this[_0x57a714(0x1fb)](JSON[_0x57a714(0x1ba)](_0x4f0512[_0x57a714(0x146)][_0x2bb173][_0x57a714(0x186)])),_0x2687d8=this[_0x57a714(0xf5)][_0x57a714(0x1d6)][_0x57a714(0x1d4)][_0x57a714(0x171)],_0x53ee5a=new _0x424408(_0x2687d8,_0x4cf457[_0x57a714(0x137)](_0x54aab3=>B(_0x54aab3,this[_0x57a714(0xf5)])));this[_0x57a714(0xf5)][_0x57a714(0x12b)][_0x57a714(0x10e)][_0x57a714(0x14a)](_0x57a714(0x172)),_0x42ebbd[_0x2bb173]=this[_0x57a714(0xf5)][_0x57a714(0x12b)][_0x57a714(0x10e)][_0x57a714(0x133)](_0x53ee5a),this[_0x57a714(0xf5)][_0x57a714(0x12b)][_0x57a714(0x10e)][_0x57a714(0x14a)](_0x57a714(0x174));}return _0x42ebbd;}async[_0x87c52a(0x1aa)](_0x5cc2a5){const _0x4a3a27=_0x87c52a;await this[_0x4a3a27(0xe7)](_0x5cc2a5);const _0x44cbbe={};for(const _0x20dbf9 in _0x5cc2a5[_0x4a3a27(0x146)])_0x5cc2a5[_0x4a3a27(0x146)][_0x20dbf9][_0x4a3a27(0x14c)]&&!_0x5cc2a5[_0x4a3a27(0x146)][_0x20dbf9][_0x4a3a27(0x14c)][_0x4a3a27(0x199)]||(_0x44cbbe[_0x20dbf9]=_0x5cc2a5[_0x4a3a27(0x146)][_0x20dbf9][_0x4a3a27(0x197)]||{});return _0x44cbbe;}[_0x87c52a(0x196)](){const _0x53c098=_0x87c52a;if(0x0===this[_0x53c098(0x16b)][_0x53c098(0x12f)])return;if(this[_0x53c098(0x1da)])return;let _0x413656=Array[_0x53c098(0x154)](this[_0x53c098(0x16b)][_0x53c098(0x17c)]());this[_0x53c098(0x16b)][_0x53c098(0x143)]();for(let _0x4328ed=0x0;_0x4328ed<_0x413656[_0x53c098(0x18f)];_0x4328ed++){const _0x11ac8d=_0x413656[_0x4328ed];let _0xf2f435=!0x1;for(const _0x511540 of Object[_0x53c098(0x1f3)](_0x11ac8d))void 0x0===_0x11ac8d[_0x511540]?delete _0x11ac8d[_0x511540]:'id'!==_0x511540&&(_0xf2f435=!0x0);_0xf2f435||(_0x413656[_0x4328ed]=null);}if(_0x413656=_0x413656[_0x53c098(0x1fe)](_0x3b68f7=>null!==_0x3b68f7),!_0x413656[_0x53c098(0x18f)])return;for(let _0x1319db=0x0;_0x1319db<_0x413656[_0x53c098(0x18f)];_0x1319db++){const _0x87b279=_0x413656[_0x1319db];void 0x0!==_0x87b279[_0x53c098(0x183)]&&void 0x0===_0x87b279[_0x53c098(0xe2)]&&(_0x87b279[_0x53c098(0xe2)]=this[_0x53c098(0x19f)][_0x53c098(0x17d)](_0x87b279['id'])[_0x53c098(0xe2)]),void 0x0!==_0x87b279[_0x53c098(0xe2)]&&void 0x0===_0x87b279[_0x53c098(0x183)]&&(_0x87b279[_0x53c098(0x183)]=this[_0x53c098(0x19f)][_0x53c098(0x17d)](_0x87b279['id'])[_0x53c098(0x183)]);}const _0x3d88df=this[_0x53c098(0xf5)][_0x53c098(0x168)][_0x53c098(0x1ef)](_0x53c098(0x1f9));this[_0x53c098(0x1da)]=!0x0,this[_0x53c098(0x18a)](),this[_0x53c098(0x155)][_0x53c098(0x179)](_0x413656,_0x3d88df)[_0x53c098(0x200)](()=>{const _0x4f637a=_0x53c098;this[_0x4f637a(0x1da)]=!0x1;})[_0x53c098(0x178)](_0x28f6fd=>{const _0x403ac5=_0x53c098;if(_0x28f6fd){for(const _0x43a164 of _0x28f6fd)this[_0x403ac5(0x13a)]({'id':_0x43a164['id'],'createdAt':_0x43a164[_0x403ac5(0xd4)]});}this[_0x403ac5(0x122)](),this[_0x403ac5(0x196)]();});}[_0x87c52a(0xed)](_0x204f8e,_0x4cb2e2){const _0x24b946=_0x87c52a;let _0x530ee3=this[_0x24b946(0xf5)][_0x24b946(0x168)][_0x24b946(0x1ef)](_0x24b946(0x1f0)),_0xb95adb=this[_0x24b946(0xf5)][_0x24b946(0x168)][_0x24b946(0x1ef)](_0x24b946(0x13f));if(void 0x0===_0x530ee3){_0x530ee3={};for(const _0x2f3472 of this[_0x24b946(0xf5)][_0x24b946(0xdc)][_0x24b946(0x171)][_0x24b946(0x116)]())_0x530ee3[_0x2f3472]='';}if(_0x24b946(0x1d3)==typeof _0x530ee3&&(_0x530ee3={'main':_0x530ee3}),void 0x0===_0xb95adb){_0xb95adb={};for(const _0x85ae70 of this[_0x24b946(0xf5)][_0x24b946(0xdc)][_0x24b946(0x171)][_0x24b946(0x116)]())_0xb95adb[_0x85ae70]={};}let _0x1a55a6=!0x1;const _0x59423c=Object[_0x24b946(0x1f3)](_0x530ee3),_0x46e853=Object[_0x24b946(0x1f3)](_0x204f8e);for(const _0x5c6838 of _0x59423c){if(_0x530ee3[_0x5c6838]!==_0x204f8e[_0x5c6838]&&''!==_0x530ee3[_0x5c6838][_0x24b946(0x1db)]()){_0x1a55a6=!0x0;break;}if(!_0x42921a(_0xb95adb[_0x5c6838],_0x4cb2e2[_0x5c6838])&&Object[_0x24b946(0x1f3)](_0xb95adb[_0x5c6838])[_0x24b946(0x18f)]>0x0){_0x1a55a6=!0x0;break;}}_0x1a55a6||(_0x1a55a6=_0x46e853[_0x24b946(0xe3)](_0x5099e9=>!this[_0x24b946(0xf5)][_0x24b946(0xdc)][_0x24b946(0x171)][_0x24b946(0x1f4)](_0x5099e9))),_0x1a55a6&&_0x2f7e38(_0x24b946(0x13b),{'editorData':_0x530ee3,'editorRootsAttributes':_0xb95adb,'revisionData':_0x204f8e,'revisionRootsAttributes':_0x4cb2e2}),this[_0x24b946(0xf5)][_0x24b946(0x168)][_0x24b946(0x187)](_0x24b946(0x1f0),_0x204f8e),this[_0x24b946(0xf5)][_0x24b946(0x168)][_0x24b946(0x187)](_0x24b946(0x13f),_0x4cb2e2);}[_0x87c52a(0x18a)](){const _0x3a19f1=_0x87c52a;if(!this[_0x3a19f1(0xe9)]){const _0x128d48=this[_0x3a19f1(0xf5)][_0x3a19f1(0x1b6)][_0x3a19f1(0x1ef)](_0x3a19f1(0x11f));this[_0x3a19f1(0xe9)]=_0x128d48[_0x3a19f1(0x161)](_0x372d26(this[_0x3a19f1(0xf5)][_0x3a19f1(0x18b)],_0x3a19f1(0x119)));}}[_0x87c52a(0x122)](){const _0x49572b=_0x87c52a;this[_0x49572b(0xe9)]&&(this[_0x49572b(0xf5)][_0x49572b(0x1b6)][_0x49572b(0x1ef)](_0x49572b(0x11f))[_0x49572b(0x120)](this[_0x49572b(0xe9)]),this[_0x49572b(0xe9)]=null);}[_0x87c52a(0x1b3)](_0xb0f6fa){const _0x4c5882=_0x87c52a,_0x9e083f=this[_0x4c5882(0x19f)][_0x4c5882(0xfe)]();_0x9e083f[_0x4c5882(0x1c9)]();let _0x20dd2f=0x0;for(;_0x20dd2f<_0x9e083f[_0x4c5882(0x18f)];){const _0x51605f=_0x9e083f[_0x20dd2f];if(_0x51605f===this[_0x4c5882(0x14f)]){_0x20dd2f++;continue;}if(_0x51605f['id']===this[_0x4c5882(0x152)])break;const _0x14aaf4=_0xb0f6fa[_0x4c5882(0xe2)]-_0x51605f[_0x4c5882(0xe2)]||_0xb0f6fa[_0x4c5882(0x183)]-_0x51605f[_0x4c5882(0x183)];if(_0x14aaf4>0x0)break;if(_0x14aaf4<0x0)_0x20dd2f++;else{if(!_0xb0f6fa[_0x4c5882(0x1e0)]&&_0x51605f[_0x4c5882(0x1e0)])break;if(_0x51605f[_0x4c5882(0x1e0)]||!_0xb0f6fa[_0x4c5882(0x1e0)]){if(_0xb0f6fa[_0x4c5882(0xd4)]>_0x51605f[_0x4c5882(0xd4)])break;_0x20dd2f++;}else _0x20dd2f++;}}return _0x20dd2f;}[_0x87c52a(0x13a)](_0x1453a3){const _0x1c3b45=_0x87c52a,_0x5e9ed9=this[_0x1c3b45(0x19f)][_0x1c3b45(0x17d)](_0x1453a3['id']);if(_0x1453a3[_0x1c3b45(0xd4)]&&(_0x1453a3[_0x1c3b45(0xd4)]=new Date(_0x1453a3[_0x1c3b45(0xd4)])),_0x1453a3[_0x1c3b45(0x153)]){const _0x53e226=this[_0x1c3b45(0xf5)][_0x1c3b45(0x1b6)][_0x1c3b45(0x1ef)](_0x1c3b45(0x1f1));_0x1453a3[_0x1c3b45(0x1d0)]=_0x1453a3[_0x1c3b45(0x153)][_0x1c3b45(0x137)](_0x3053bc=>_0x53e226[_0x1c3b45(0x106)](_0x3053bc));}_0x5e9ed9[_0x1c3b45(0x117)](_0x1453a3,!0x0);}[_0x87c52a(0x195)]({revision:_0x5e8201=null,from:_0x230f32=null,to:_0x55a44e=null}){const _0x37fc25=_0x87c52a;_0x230f32=null!==_0x230f32?_0x230f32:_0x5e8201[_0x37fc25(0x183)],_0x55a44e=null!==_0x55a44e?_0x55a44e:_0x5e8201[_0x37fc25(0xe2)];const _0x203f5c=this[_0x37fc25(0x1ed)][_0x37fc25(0x17a)](_0x230f32,_0x55a44e),_0x515a0b={'diffData':_0x203f5c[_0x37fc25(0x146)],'authorsIds':_0x203f5c[_0x37fc25(0x153)],'fromVersion':_0x230f32,'toVersion':_0x55a44e};if(!_0x5e8201||_0x55a44e!==_0x5e8201[_0x37fc25(0xe2)]){const _0x572696=_0x55a44e-0x1,_0x2efa1a=this[_0x37fc25(0xfc)][_0x37fc25(0x127)][_0x37fc25(0x1e4)](_0x572696);_0x515a0b[_0x37fc25(0xd4)]=_0x2efa1a&&_0x2efa1a[_0x37fc25(0xd4)]||new Date();}if(this[_0x37fc25(0x12d)]&&_0x230f32===this[_0x37fc25(0x12d)][_0x37fc25(0x183)]){for(const _0x307074 of this[_0x37fc25(0x12d)][_0x37fc25(0x1d0)])_0x515a0b[_0x37fc25(0x153)][_0x37fc25(0x1b4)](_0x307074['id'])||_0x515a0b[_0x37fc25(0x153)][_0x37fc25(0x180)](_0x307074['id']);}return _0x515a0b;}[_0x87c52a(0xe7)](_0xdb0303){const _0x3f4350=_0x87c52a;if(!_0xdb0303||_0xdb0303[_0x3f4350(0x146)])return Promise[_0x3f4350(0x17e)]();{const _0x5c078f=this[_0x3f4350(0xf5)][_0x3f4350(0x168)][_0x3f4350(0x1ef)](_0x3f4350(0x1f9));return this[_0x3f4350(0x155)][_0x3f4350(0x17d)]({'channelId':_0x5c078f,'revisionId':_0xdb0303['id']})[_0x3f4350(0x178)](_0x2271ef=>{const _0x4cd555=_0x3f4350;_0xdb0303[_0x4cd555(0x146)]=_0x2271ef[_0x4cd555(0x146)];});}}[_0x87c52a(0x145)](_0x45bb8f,_0x2263b6,_0x56a434){const _0x2b9904=_0x87c52a;if(this[_0x2b9904(0x16b)][_0x2b9904(0x125)](_0x45bb8f)){const _0x28928e=this[_0x2b9904(0x16b)][_0x2b9904(0x1ef)](_0x45bb8f);_0x2263b6=_0x56a434?{..._0x28928e,..._0x2263b6}:{..._0x2263b6,..._0x28928e};}this[_0x2b9904(0x16b)][_0x2b9904(0x187)](_0x45bb8f,_0x2263b6);}[_0x87c52a(0x132)](_0x4e41d2){const _0x1f0e6f=_0x87c52a,_0x544209=this[_0x1f0e6f(0x19f)][_0x1f0e6f(0xfe)]();_0x544209[_0x1f0e6f(0x1c9)](),_0x544209[_0x1f0e6f(0x163)]();const _0x133bfe=_0x544209[_0x1f0e6f(0x11a)](_0xd13626=>_0xd13626[_0x1f0e6f(0xe2)]<=_0x4e41d2)[_0x1f0e6f(0xe2)];return _0x133bfe<this[_0x1f0e6f(0x1c8)]?this[_0x1f0e6f(0x1c8)]:_0x133bfe;}[_0x87c52a(0xe4)](_0x57c9ec){const _0x43cf75=_0x87c52a,_0x2ba48a=this[_0x43cf75(0x19f)][_0x43cf75(0x17d)](this[_0x43cf75(0x19f)][_0x43cf75(0x18f)]-0x1);if(_0x2ba48a)this[_0x43cf75(0x152)]=_0x2ba48a['id'];else{const _0x8a0cc6=!this[_0x43cf75(0xf5)][_0x43cf75(0xdc)][_0x43cf75(0x171)][_0x43cf75(0x1b0)][_0x43cf75(0x11a)](_0x2f58ab=>this[_0x43cf75(0xf5)][_0x43cf75(0xdc)][_0x43cf75(0x1e3)](_0x2f58ab)),_0x424a1a=this[_0x43cf75(0xf5)][_0x43cf75(0x1b6)][_0x43cf75(0x1ef)](_0x43cf75(0x1f1))['me']['id'],_0x56a8ea=_0x372d26(this[_0x43cf75(0xf5)][_0x43cf75(0x18b)],_0x8a0cc6?_0x43cf75(0x11b):_0x43cf75(0xf1));this[_0x43cf75(0x111)]({'from':_0x57c9ec,'to':_0x57c9ec,'id':this[_0x43cf75(0x152)],'name':_0x56a8ea,'creatorId':_0x424a1a});}}[_0x87c52a(0x1b8)](_0x2cd690){const _0x4fdb4d=_0x87c52a,_0x1d3bf7=this[_0x4fdb4d(0xfc)][_0x4fdb4d(0x1ff)]();this[_0x4fdb4d(0x14f)]=this[_0x4fdb4d(0x19f)][_0x4fdb4d(0x17d)](_0x1d3bf7),this[_0x4fdb4d(0x14f)]||(this[_0x4fdb4d(0x14f)]=this[_0x4fdb4d(0x111)]({'from':_0x2cd690,'to':_0x2cd690,'id':_0x1d3bf7,'name':'','creatorId':null}));}[_0x87c52a(0x111)]({name:_0x19214b,from:_0x2cc34c,to:_0x12c264,creatorId:_0x5d0008,id:_0x532019}){const _0x17efcf=_0x87c52a,_0x541963=this[_0x17efcf(0x195)]({'from':_0x2cc34c,'to':_0x12c264});_0x541963[_0x17efcf(0x16e)]=_0x19214b,_0x541963[_0x17efcf(0x1a4)]=_0x5d0008,_0x541963['id']=_0x532019;const _0x215ce2=this[_0x17efcf(0x1a5)](_0x541963);return this[_0x17efcf(0x155)]&&this[_0x17efcf(0x145)](_0x541963['id'],_0x541963,!0x0),_0x215ce2;}[_0x87c52a(0x1d7)](){const _0x3bbabc=_0x87c52a;this[_0x3bbabc(0xf5)][_0x3bbabc(0x1a6)][_0x3bbabc(0xf4)](_0x3bbabc(0x1e7))[_0x3bbabc(0x131)]({'model':_0x3bbabc(0xfb)});}[_0x87c52a(0x1fb)](_0x3006a4){const _0x2e510e=_0x87c52a;return(_0x3006a4=_0x3006a4[_0x2e510e(0x1fe)](_0x408bae=>!_0x408bae[_0x2e510e(0x16e)]||_0x2e510e(0x1b9)!==_0x408bae[_0x2e510e(0x16e)]&&_0x2e510e(0x19a)!==_0x408bae[_0x2e510e(0x16e)]))[_0x2e510e(0x10c)](_0x3e79e4=>{const _0x4935ee=_0x2e510e;_0x4935ee(0x1d3)!=typeof _0x3e79e4&&(_0x3e79e4[_0x4935ee(0x1ab)]=this[_0x4935ee(0x1fb)](_0x3e79e4[_0x4935ee(0x1ab)]),_0x3e79e4[_0x4935ee(0xdf)]=_0x3e79e4[_0x4935ee(0xdf)][_0x4935ee(0x1fe)](_0x2e82e7=>!_0x2e82e7[0x0][_0x4935ee(0x12a)](_0x4935ee(0x1bb))));}),_0x3006a4;}}function B(_0x13ce98,_0x332af6){const _0x38b43c=_0x87c52a,_0x39f082=_0x332af6[_0x38b43c(0x1d6)][_0x38b43c(0x1d4)][_0x38b43c(0x171)];if(_0x38b43c(0x1d3)==typeof _0x13ce98)return new _0x128f31(_0x39f082,_0x13ce98);{const _0x501a7e=_0x13ce98[_0x38b43c(0x1ab)][_0x38b43c(0x137)](_0x1f904d=>B(_0x1f904d,_0x332af6));return new(T[_0x13ce98[(_0x38b43c(0x144))]]||_0x3c52f4)(_0x39f082,_0x13ce98[_0x38b43c(0x16e)],_0x13ce98[_0x38b43c(0xdf)],_0x501a7e);}}class J{constructor(_0x2b34b8){const _0x3b99be=_0x87c52a;this[_0x3b99be(0xf5)]=_0x2b34b8,this[_0x3b99be(0xe6)]=new Map(),this[_0x3b99be(0x201)]=-0x1,this[_0x3b99be(0x1df)]=-0x1,this[_0x3b99be(0x1cf)]=new Map(),this[_0x3b99be(0x15c)]=new Map(),this[_0x3b99be(0xee)]=new Map(),this[_0x3b99be(0x192)]=new Map(),this[_0x3b99be(0x139)]=new Map(),this[_0x3b99be(0x10a)]=new Map(),this[_0x3b99be(0x135)]=new Map(),this[_0x3b99be(0x1cc)]=new Map(),this[_0x3b99be(0x140)]=new Map(),this[_0x3b99be(0x194)]=new Map(),this[_0x3b99be(0x1d1)]=0x1;}[_0x87c52a(0x123)](_0x35fff7){const _0x23f0e6=_0x87c52a;this[_0x23f0e6(0x151)]=_0x35fff7;const _0x107019=new Map(),_0x12d4d3=new Map(),_0x212333=this[_0x23f0e6(0xf5)][_0x23f0e6(0xdc)][_0x23f0e6(0x171)][_0x23f0e6(0x1b0)][_0x23f0e6(0x137)](_0x4de1a6=>_0x4de1a6[_0x23f0e6(0x160)]);for(const _0x4a5006 of _0x212333){const _0x5bd9d9=this[_0x23f0e6(0xf5)][_0x23f0e6(0xdc)][_0x23f0e6(0x171)][_0x23f0e6(0x1f4)](_0x4a5006),_0x5d7052=q(_0x5bd9d9);_0x107019[_0x23f0e6(0x187)](_0x4a5006,_0x5d7052),_0x12d4d3[_0x23f0e6(0x187)](_0x4a5006,Object[_0x23f0e6(0xec)](_0x5bd9d9[_0x23f0e6(0x18c)]()));}const _0x3a96b0=Array[_0x23f0e6(0x154)](this[_0x23f0e6(0xf5)][_0x23f0e6(0xdc)][_0x23f0e6(0x130)])[_0x23f0e6(0x137)](_0x34b849=>[_0x34b849[_0x23f0e6(0x16e)],_0x34b849[_0x23f0e6(0x105)]()]),_0x5c3c83=this[_0x23f0e6(0x151)][_0x23f0e6(0x150)];this[_0x23f0e6(0xfd)](_0x5c3c83,_0x107019,_0x3a96b0,_0x12d4d3),this[_0x23f0e6(0x185)]=this[_0x23f0e6(0x1d1)];const _0x48417a=new Map(),_0x2eec3f=new Map();for(const _0x57f12a of _0x212333){const _0x43f9e0=G(_0x57f12a);_0x48417a[_0x23f0e6(0x187)](_0x57f12a,_0x43f9e0),_0x2eec3f[_0x23f0e6(0x187)](_0x57f12a,{});}this[_0x23f0e6(0xfd)](Number[_0x23f0e6(0x165)],_0x48417a,[],_0x2eec3f);}[_0x87c52a(0x17a)](_0x19ad07,_0x4e7781){const _0x4f9754=_0x87c52a;if(this[_0x4f9754(0x201)]===_0x19ad07&&this[_0x4f9754(0x1df)]<=_0x4e7781)this[_0x4f9754(0xe6)][_0x4f9754(0x12f)]>0x1&&this[_0x4f9754(0x16c)](this[_0x4f9754(0x1df)]),this[_0x4f9754(0x1ce)](this[_0x4f9754(0x1df)],_0x4e7781,!0x0);else{if(!this[_0x4f9754(0xe6)][_0x4f9754(0x125)](_0x19ad07)){const _0x46b135=this[_0x4f9754(0x1ac)](_0x19ad07);this[_0x4f9754(0x109)](_0x46b135,_0x19ad07,!0x1);}this[_0x4f9754(0x109)](_0x19ad07,_0x4e7781,!0x0);}return this[_0x4f9754(0x201)]=_0x19ad07,this[_0x4f9754(0x1df)]=_0x4e7781,this[_0x4f9754(0x164)]();}[_0x87c52a(0x1c6)](_0x1f3256){const _0x3f3310=_0x87c52a;this[_0x3f3310(0x141)](),this[_0x3f3310(0x201)]=_0x1f3256[_0x3f3310(0x183)],this[_0x3f3310(0x1df)]=_0x1f3256[_0x3f3310(0xe2)];for(const _0x20a59b in _0x1f3256[_0x3f3310(0x146)]){const _0x3f8f3b=_0x1f3256[_0x3f3310(0x146)][_0x20a59b][_0x3f3310(0x14c)],_0x254349=_0x222622(_0x1f3256[_0x3f3310(0x146)][_0x20a59b][_0x3f3310(0xdd)])||{},_0x1f8e3c=this[_0x3f3310(0x18d)](_0x1f3256[_0x3f3310(0x146)][_0x20a59b][_0x3f3310(0x115)]);_0x1f8e3c[_0x3f3310(0x160)]=_0x20a59b,_0x1f8e3c[_0x3f3310(0x167)]=!_0x3f8f3b||!_0x3f8f3b[_0x3f3310(0x199)],_0x1f8e3c[_0x3f3310(0x199)]=()=>_0x1f8e3c[_0x3f3310(0x167)],this[_0x3f3310(0x192)][_0x3f3310(0x187)](_0x20a59b,_0x1f8e3c),this[_0x3f3310(0x139)][_0x3f3310(0x187)](_0x20a59b,_0x254349),_0x3f8f3b&&this[_0x3f3310(0x194)][_0x3f3310(0x187)](_0x20a59b,_0x3f8f3b);const _0x241721=this[_0x3f3310(0x124)](_0x1f8e3c);this[_0x3f3310(0x135)][_0x3f3310(0x187)](_0x20a59b,_0x241721);for(const [_0x5c2ed6,_0x1b8411]of _0x1f8e3c[_0x3f3310(0x130)]){if(!_0x5c2ed6[_0x3f3310(0x12a)](_0x3f3310(0x1c5)))continue;const _0x17dd9f=_0x5c2ed6[_0x3f3310(0x175)](':')[0x2];for(const _0x25c917 of _0x1b8411[_0x3f3310(0x114)]({'singleCharacters':!0x0})){const _0x198fc7=this[_0x3f3310(0x142)](_0x25c917),_0x32abe8=_0x3f3310(0x107)==_0x25c917[_0x3f3310(0x144)]?_0x25c917[_0x3f3310(0x176)][_0x3f3310(0x15f)][_0x3f3310(0x102)](0x0,-0x1):_0x25c917[_0x3f3310(0x176)][_0x3f3310(0x15f)],_0x2022fd=_0x241721[_0x3f3310(0x19e)](_0x32abe8)[_0x3f3310(0x148)](_0x198fc7);this[_0x3f3310(0x1cc)][_0x3f3310(0x187)](_0x2022fd,{'userId':_0x17dd9f});}}}this[_0x3f3310(0x185)]=this[_0x3f3310(0x1d1)];const _0x1047d0=[...Array(this[_0x3f3310(0x1d1)])[_0x3f3310(0x1f3)]()][_0x3f3310(0x102)](0x1)[_0x3f3310(0x1fe)](_0x24d7cb=>!this[_0x3f3310(0x1cc)][_0x3f3310(0x125)](_0x24d7cb));let _0x483943=0x0;const _0x1bfd69=new Map();for(const _0x494c7d in _0x1f3256[_0x3f3310(0x146)]){const _0x4b365c=_0x1f3256[_0x3f3310(0x146)][_0x494c7d][_0x3f3310(0x14c)],_0x417976=_0x222622(_0x1f3256[_0x3f3310(0x146)][_0x494c7d][_0x3f3310(0x197)])||{},_0x3285fd=this[_0x3f3310(0x18d)](_0x1f3256[_0x3f3310(0x146)][_0x494c7d][_0x3f3310(0x186)]);_0x3285fd[_0x3f3310(0x160)]=_0x494c7d,_0x3285fd[_0x3f3310(0x167)]=!_0x4b365c||_0x4b365c[_0x3f3310(0x199)],_0x3285fd[_0x3f3310(0x199)]=()=>_0x3285fd[_0x3f3310(0x167)],this[_0x3f3310(0x15c)][_0x3f3310(0x187)](_0x494c7d,_0x3285fd),this[_0x3f3310(0xee)][_0x3f3310(0x187)](_0x494c7d,_0x417976);const _0x107f68=this[_0x3f3310(0x124)](_0x3285fd,Number[_0x3f3310(0x165)]);this[_0x3f3310(0x10a)][_0x3f3310(0x187)](_0x494c7d,_0x107f68),_0x1bfd69[_0x3f3310(0x187)](_0x494c7d,_0x3285fd[_0x3f3310(0x199)]()?_0x417976:{});for(const [_0x5c6cc2,_0x26936d]of _0x3285fd[_0x3f3310(0x130)]){if(!_0x5c6cc2[_0x3f3310(0x12a)](_0x3f3310(0x1c5)))continue;const _0x4fc1da=_0x5c6cc2[_0x3f3310(0x175)](':')[0x2];for(const _0x58b1fc of _0x26936d[_0x3f3310(0x114)]({'singleCharacters':!0x0})){const _0x2d6fa2=this[_0x3f3310(0x142)](_0x58b1fc),_0x44e008=this[_0x3f3310(0x1d1)]++,_0x293a2b=_0x3f3310(0x107)==_0x58b1fc[_0x3f3310(0x144)]?_0x58b1fc[_0x3f3310(0x176)][_0x3f3310(0x15f)][_0x3f3310(0x102)](0x0,-0x1):_0x58b1fc[_0x3f3310(0x176)][_0x3f3310(0x15f)];_0x107f68[_0x3f3310(0x19e)](_0x293a2b)[_0x3f3310(0x14b)](_0x2d6fa2,_0x44e008),this[_0x3f3310(0x1cc)][_0x3f3310(0x187)](_0x44e008,{'userId':_0x4fc1da});}}for(const _0x2c57c1 of this[_0x3f3310(0xf5)][_0x3f3310(0xdc)][_0x3f3310(0x103)](_0x3285fd)[_0x3f3310(0x114)]({'singleCharacters':!0x0})){const _0x133e6e=this[_0x3f3310(0x142)](_0x2c57c1),_0x103bf6=_0x3f3310(0x107)==_0x2c57c1[_0x3f3310(0x144)]?_0x2c57c1[_0x3f3310(0x176)][_0x3f3310(0x15f)][_0x3f3310(0x102)](0x0,-0x1):_0x2c57c1[_0x3f3310(0x176)][_0x3f3310(0x15f)],_0x3b24db=_0x107f68[_0x3f3310(0x19e)](_0x103bf6);_0x3b24db[_0x3f3310(0x148)](_0x133e6e)>0x0||_0x3b24db[_0x3f3310(0x14b)](_0x133e6e,_0x1047d0[_0x483943++]);}for(const [_0x21f01,_0x4e4bad]of _0x3285fd[_0x3f3310(0x130)])_0x21f01[_0x3f3310(0x12a)](_0x3f3310(0x1c5))||this[_0x3f3310(0x1cf)][_0x3f3310(0x187)](_0x21f01,_0x4e4bad);}const _0xd44951=G(_0x3f3310(0xe8));this[_0x3f3310(0x192)][_0x3f3310(0x187)](_0x3f3310(0xe8),_0xd44951),this[_0x3f3310(0x135)][_0x3f3310(0x187)](_0x3f3310(0xe8),this[_0x3f3310(0x124)](_0xd44951,0x1));const _0xcaf479=G(_0x3f3310(0xe8));this[_0x3f3310(0x15c)][_0x3f3310(0x187)](_0x3f3310(0xe8),_0xcaf479),this[_0x3f3310(0x10a)][_0x3f3310(0x187)](_0x3f3310(0xe8),this[_0x3f3310(0x124)](_0xcaf479,0x1));const _0x4efb52=Array[_0x3f3310(0x154)](this[_0x3f3310(0x15c)])[_0x3f3310(0x137)](([_0x9d930d,_0x460a0c])=>[_0x9d930d,q(_0x460a0c)]);this[_0x3f3310(0xfd)](this[_0x3f3310(0x1df)],_0x4efb52,this[_0x3f3310(0x1cf)],_0x1bfd69);}[_0x87c52a(0x18d)](_0x6cdbb1){const _0x357840=_0x87c52a,_0x169551=JSON[_0x357840(0x1ba)](_0x6cdbb1),_0x56bfc3=this[_0x357840(0xf5)][_0x357840(0x1d6)][_0x357840(0x1d4)][_0x357840(0x171)],_0x5b8438=new _0x424408(_0x56bfc3,_0x169551[_0x357840(0x137)](_0x43ed0f=>B(_0x43ed0f,this[_0x357840(0xf5)])));return this[_0x357840(0xf5)][_0x357840(0x12b)][_0x357840(0x1c1)](_0x5b8438);}[_0x87c52a(0xfd)](_0x56a710,_0x261af3,_0x17ba9c,_0x420fa5){const _0x69c399=_0x87c52a,_0x4b9b1c=new Map(_0x261af3),_0x25cd52=new Map(_0x222622(_0x420fa5)),_0x590262=new Map();for(const [_0x486c9e,_0xd210fa]of _0x17ba9c)_0x590262[_0x69c399(0x187)](_0x486c9e,{'start':_0xd210fa[_0x69c399(0x136)][_0x69c399(0x11c)](),'end':_0xd210fa[_0x69c399(0x1b5)][_0x69c399(0x11c)](),'rootName':_0xd210fa[_0x69c399(0x1f7)][_0x69c399(0x160)]});this[_0x69c399(0xe6)][_0x69c399(0x187)](_0x56a710,{'roots':_0x4b9b1c,'markers':_0x590262,'rootsAttributes':_0x25cd52});}[_0x87c52a(0x16c)](_0x14e6c1){const _0x465f11=_0x87c52a;this[_0x465f11(0xe6)][_0x465f11(0x1ec)](_0x14e6c1);}[_0x87c52a(0x10d)](){const _0x1bd959=_0x87c52a;this[_0x1bd959(0x141)](),this[_0x1bd959(0x201)]=-0x1,this[_0x1bd959(0x1df)]=-0x1,this[_0x1bd959(0xe6)][_0x1bd959(0x143)](),this[_0x1bd959(0x123)](this[_0x1bd959(0x151)]);}[_0x87c52a(0x141)](){const _0x4070e5=_0x87c52a;this[_0x4070e5(0x1cc)][_0x4070e5(0x143)](),this[_0x4070e5(0x140)][_0x4070e5(0x143)](),this[_0x4070e5(0x194)][_0x4070e5(0x143)](),this[_0x4070e5(0x15c)][_0x4070e5(0x143)](),this[_0x4070e5(0xee)][_0x4070e5(0x143)](),this[_0x4070e5(0x192)][_0x4070e5(0x143)](),this[_0x4070e5(0x139)][_0x4070e5(0x143)](),this[_0x4070e5(0x10a)][_0x4070e5(0x143)](),this[_0x4070e5(0x135)][_0x4070e5(0x143)](),this[_0x4070e5(0x1cf)][_0x4070e5(0x143)](),this[_0x4070e5(0x1d1)]=0x1,this[_0x4070e5(0x185)]=this[_0x4070e5(0x1d1)];}[_0x87c52a(0x124)](_0x57fcc0,_0x275cd1=null){const _0x3b5e66=_0x87c52a;let _0x585dd5=null;_0x57fcc0['is'](_0x3b5e66(0x1c7))||(_0x585dd5=new _0x208d06(_0x57fcc0[_0x3b5e66(0x16e)],{'vid_start':null===_0x275cd1?this[_0x3b5e66(0x1d1)]++:_0x275cd1++}));const _0x4e6462=[];for(const _0x4df899 of _0x57fcc0[_0x3b5e66(0xf6)]())if(_0x4df899['is'](_0x3b5e66(0x10b))){_0x4e6462[_0x3b5e66(0x180)](this[_0x3b5e66(0x124)](_0x4df899,_0x275cd1));const _0x309ffd=_0x4e6462[_0x4e6462[_0x3b5e66(0x18f)]-0x1];null!==_0x275cd1&&(_0x275cd1=_0x309ffd['is'](_0x3b5e66(0x10b),_0x3b5e66(0x181))?_0x309ffd[_0x3b5e66(0x148)](_0x3b5e66(0x156))+0x1:_0x309ffd[_0x3b5e66(0x148)](_0x3b5e66(0x1b7))+0x1);}else{for(let _0x117b4f=0x0;_0x117b4f<_0x4df899[_0x3b5e66(0x13e)];_0x117b4f++)_0x4e6462[_0x3b5e66(0x180)](new _0x208d06(_0x3b5e66(0x181),{'vid':null===_0x275cd1?this[_0x3b5e66(0x1d1)]++:_0x275cd1++}));}if(_0x57fcc0['is'](_0x3b5e66(0x1c7))){const _0x467790=G(_0x57fcc0[_0x3b5e66(0x160)]);return _0x467790[_0x3b5e66(0x113)](0x0,_0x4e6462),_0x467790;}return _0x585dd5[_0x3b5e66(0x14b)](_0x3b5e66(0x1b7),null===_0x275cd1?this[_0x3b5e66(0x1d1)]++:_0x275cd1++),_0x585dd5[_0x3b5e66(0x113)](0x0,_0x4e6462),_0x585dd5;}[_0x87c52a(0x109)](_0x499ef5,_0xe8681f,_0x104ea9){const _0x74fae1=_0x87c52a;this[_0x74fae1(0x141)]();const {roots:_0x7b67fe,markers:_0x1044c4,rootsAttributes:_0x4c8483}=this[_0x74fae1(0xe6)][_0x74fae1(0x1ef)](_0x499ef5);this[_0x74fae1(0x192)]=new Map(_0x7b67fe),this[_0x74fae1(0x139)]=new Map(_0x222622(_0x4c8483));for(const [_0x517124,_0x48596f]of this[_0x74fae1(0x192)])if(_0x74fae1(0xe8)!==_0x517124&&(this[_0x74fae1(0x15c)][_0x74fae1(0x187)](_0x517124,q(_0x48596f)),this[_0x74fae1(0xee)]=new Map(_0x222622(_0x4c8483)),_0x104ea9)){const _0x1c80e1=this[_0x74fae1(0x1d1)];this[_0x74fae1(0x10a)][_0x74fae1(0x187)](_0x517124,this[_0x74fae1(0x124)](_0x48596f)),this[_0x74fae1(0x135)][_0x74fae1(0x187)](_0x517124,this[_0x74fae1(0x124)](_0x48596f,_0x1c80e1));}this[_0x74fae1(0x185)]=this[_0x74fae1(0x1d1)],this[_0x74fae1(0x15c)][_0x74fae1(0x187)](_0x74fae1(0xe8),q(this[_0x74fae1(0x192)][_0x74fae1(0x1ef)](_0x74fae1(0xe8)))),_0x104ea9&&this[_0x74fae1(0x10a)][_0x74fae1(0x187)](_0x74fae1(0xe8),this[_0x74fae1(0x124)](this[_0x74fae1(0x192)][_0x74fae1(0x1ef)](_0x74fae1(0xe8))));for(const [_0x19ed73,_0x4f4424]of _0x1044c4){const _0x5b418f=this[_0x74fae1(0x192)][_0x74fae1(0x1ef)](_0x4f4424[_0x74fae1(0x160)]),_0x464e90=this[_0x74fae1(0x15c)][_0x74fae1(0x1ef)](_0x4f4424[_0x74fae1(0x160)]),_0x5402b6=new _0x3dd683(this[_0x74fae1(0x110)](_0x4f4424[_0x74fae1(0x136)],_0x5b418f),this[_0x74fae1(0x110)](_0x4f4424[_0x74fae1(0x1b5)],_0x5b418f)),_0x55a461=this[_0x74fae1(0x149)](_0x5402b6,_0x464e90);_0x5b418f[_0x74fae1(0x130)][_0x74fae1(0x187)](_0x19ed73,_0x5402b6),this[_0x74fae1(0x1cf)][_0x74fae1(0x187)](_0x19ed73,_0x55a461);}this[_0x74fae1(0x1ce)](_0x499ef5,_0xe8681f,_0x104ea9);}[_0x87c52a(0x1ce)](_0x4c316c,_0x1c3377,_0x5247b0){const _0x3034c6=_0x87c52a;for(const _0x47e0fc of this[_0x3034c6(0x151)][_0x3034c6(0xff)](_0x4c316c,_0x1c3377))this[_0x3034c6(0xd9)](_0x47e0fc,_0x5247b0);for(const _0x5f3299 of this[_0x3034c6(0x15c)][_0x3034c6(0x17c)]())_0x5f3299[_0x3034c6(0x130)][_0x3034c6(0x143)]();for(const [_0x961c19,_0xb14d2]of this[_0x3034c6(0x1cf)]){this[_0x3034c6(0x15c)][_0x3034c6(0x1ef)](_0xb14d2[_0x3034c6(0x1f7)][_0x3034c6(0x160)])[_0x3034c6(0x130)][_0x3034c6(0x187)](_0x961c19,_0xb14d2[_0x3034c6(0x11c)]());}const _0x31d1ff=new Map(),_0x2b719d=new Map();for(const [_0x259d3f,_0x5eb097]of this[_0x3034c6(0x15c)])_0x31d1ff[_0x3034c6(0x187)](_0x259d3f,q(_0x5eb097)),_0x2b719d[_0x3034c6(0x187)](_0x259d3f,this[_0x3034c6(0xee)][_0x3034c6(0x1ef)](_0x259d3f));this[_0x3034c6(0xfd)](_0x1c3377,_0x31d1ff,this[_0x3034c6(0x1cf)],_0x2b719d);}[_0x87c52a(0x1ac)](_0x28d67a){const _0x3cedff=_0x87c52a,_0x3e3a4b=Array[_0x3cedff(0x154)](this[_0x3cedff(0xe6)][_0x3cedff(0x1f3)]());_0x3e3a4b[_0x3cedff(0x1be)]((_0x6aac89,_0x3115b1)=>_0x6aac89-_0x3115b1),_0x3e3a4b[_0x3cedff(0x1c9)]();for(const _0x5579c2 of _0x3e3a4b)if(_0x5579c2<_0x28d67a)return _0x5579c2;return Number[_0x3cedff(0x165)];}[_0x87c52a(0x16f)](_0x42dea3,_0x3effc4){const _0x9a42f8=_0x87c52a,_0x2699fa=Array[_0x9a42f8(0x154)](_0x3effc4[_0x9a42f8(0x130)])[_0x9a42f8(0x137)](([_0x4b7c91,_0x334f05])=>[_0x4b7c91,this[_0x9a42f8(0x149)](_0x334f05,_0x42dea3)]);_0x42dea3[_0x9a42f8(0x130)]=new Map(_0x2699fa);}[_0x87c52a(0x1e8)](_0x1d8d2b){const _0x41707a=_0x87c52a;for(const _0x16b698 of this[_0x41707a(0x1cf)][_0x41707a(0x17c)]()){const _0x2eb943=_0x16b698[_0x41707a(0x1af)](_0x1d8d2b),_0x52e23f=_0x3dd683[_0x41707a(0xda)](_0x2eb943);_0x16b698[_0x41707a(0x136)]=_0x52e23f[_0x41707a(0x136)],_0x16b698[_0x41707a(0x1b5)]=_0x52e23f[_0x41707a(0x1b5)];}}[_0x87c52a(0xd9)](_0x10ae59,_0x53f0d5){const _0x4d3690=_0x87c52a;if(_0x4d3690(0x118)==_0x10ae59[_0x4d3690(0x144)]||_0x4d3690(0x128)==_0x10ae59[_0x4d3690(0x144)])return void this[_0x4d3690(0x121)](_0x10ae59,_0x53f0d5);if(_0x4d3690(0x1bd)==_0x10ae59[_0x4d3690(0x144)]){const _0x245cae=_0x10ae59[_0x4d3690(0x189)][_0x4d3690(0x1f7)][_0x4d3690(0x160)];this[_0x4d3690(0x15c)][_0x4d3690(0x125)](_0x245cae)||(this[_0x4d3690(0x15c)][_0x4d3690(0x187)](_0x245cae,G(_0x245cae,!0x0)),this[_0x4d3690(0xee)][_0x4d3690(0x187)](_0x245cae,{}),_0x53f0d5&&this[_0x4d3690(0x10a)][_0x4d3690(0x187)](_0x245cae,G(_0x245cae,!0x0)));}else{if(_0x4d3690(0x1c3)==_0x10ae59[_0x4d3690(0x144)]||_0x4d3690(0xea)==_0x10ae59[_0x4d3690(0x144)]||_0x4d3690(0x101)==_0x10ae59[_0x4d3690(0x144)])return void this[_0x4d3690(0x15b)](_0x10ae59);}const _0x3809d9=this[_0x4d3690(0xd5)](_0x10ae59,this[_0x4d3690(0x15c)]);if(_0x4d3690(0x162)!==_0x10ae59[_0x4d3690(0x144)]&&(_0x3809d9[_0x4d3690(0xfa)](),this[_0x4d3690(0x1e8)](_0x3809d9)),_0x53f0d5)switch(_0x3809d9[_0x4d3690(0x144)]){case _0x4d3690(0x1bd):this[_0x4d3690(0x1b1)](_0x10ae59);break;case _0x4d3690(0x1a9):case _0x4d3690(0x120):case _0x4d3690(0x1fa):this[_0x4d3690(0xe5)](_0x10ae59);break;case _0x4d3690(0x104):this[_0x4d3690(0x1c4)](_0x10ae59);break;case _0x4d3690(0x175):this[_0x4d3690(0x158)](_0x10ae59);break;case _0x4d3690(0x162):this[_0x4d3690(0x11d)](_0x10ae59);}}[_0x87c52a(0xd5)](_0x53b0b0,_0x1d2a7b){const _0x3678f0=_0x87c52a,_0x30ad26=_0x53b0b0[_0x3678f0(0x11c)]();return _0x30ad26[_0x3678f0(0xf9)]=_0x53b0b0[_0x3678f0(0xf9)],this[_0x3678f0(0x1ea)](_0x30ad26,_0x1d2a7b),_0x30ad26;}[_0x87c52a(0x1b2)](_0x29a0d6){const _0x5ee8c4=_0x87c52a;return _0x29a0d6[_0x5ee8c4(0x137)](_0x24f73c=>{const _0x469f6f=_0x5ee8c4,_0x485899=this[_0x469f6f(0x142)](_0x24f73c);return Number(_0x24f73c[_0x469f6f(0x173)][_0x469f6f(0x148)](_0x485899));});}[_0x87c52a(0xe0)](_0x37d2e4,_0x28caa5){const _0x324508=_0x87c52a;if(_0x37d2e4['is'](_0x324508(0x10b),_0x324508(0x181)))_0x28caa5[_0x324508(0x180)]({'item':_0x37d2e4,'type':_0x324508(0x1e6)});else{_0x37d2e4['is'](_0x324508(0x10b))&&_0x28caa5[_0x324508(0x180)]({'item':_0x37d2e4,'type':_0x324508(0x1a0)});for(const _0x236939 of _0x37d2e4[_0x324508(0xf6)]())this[_0x324508(0xe0)](_0x236939,_0x28caa5);_0x37d2e4['is'](_0x324508(0x10b))&&_0x28caa5[_0x324508(0x180)]({'item':_0x37d2e4,'type':_0x324508(0x107)});}return _0x28caa5;}[_0x87c52a(0x164)](){const _0x105536=_0x87c52a,_0x4d78f0=new Map(this[_0x105536(0x1cc)]),_0x11f26c=new Map(_0x4d78f0),_0x4a913c=new Map(),_0x4a0618={'insertions':{},'deletions':{}},_0x35a99f={'insertions':{},'deletions':{}},_0x5968cc=new Map(),_0x241ccb=new Set([...this[_0x105536(0x192)][_0x105536(0x1f3)](),...this[_0x105536(0x15c)][_0x105536(0x1f3)]()]);_0x241ccb[_0x105536(0x1ec)](_0x105536(0xe8));for(const _0x573580 of _0x241ccb){const _0x4a3d3f=this[_0x105536(0x15c)][_0x105536(0x1ef)](_0x573580)||G(_0x573580,!0x1),_0x2c5e76=this[_0x105536(0x192)][_0x105536(0x1ef)](_0x573580)||G(_0x573580,!0x1);_0x4a3d3f[_0x105536(0x199)]()||_0x2c5e76[_0x105536(0x199)]()?(_0x4a0618[_0x105536(0x186)][_0x573580]=q(_0x4a3d3f),_0x4a0618[_0x105536(0x115)][_0x573580]=q(_0x2c5e76),this[_0x105536(0x16f)](_0x4a0618[_0x105536(0x115)][_0x573580],_0x2c5e76),this[_0x105536(0x16f)](_0x4a0618[_0x105536(0x186)][_0x573580],_0x4a3d3f),_0x35a99f[_0x105536(0x186)][_0x573580]=this[_0x105536(0xe0)](this[_0x105536(0x10a)][_0x105536(0x1ef)](_0x573580),[]),_0x35a99f[_0x105536(0x115)][_0x573580]=this[_0x105536(0xe0)](this[_0x105536(0x135)][_0x105536(0x1ef)](_0x573580)||G(_0x573580,!0x1),[])):_0x241ccb[_0x105536(0x1ec)](_0x573580);}for(const _0x24be87 of _0x241ccb){const _0x3b5e4b=_0x35a99f[_0x105536(0x186)][_0x24be87];for(const _0x175188 of _0x3b5e4b){const _0x579bd0=this[_0x105536(0x142)](_0x175188),_0x9d36f3=_0x175188[_0x105536(0x173)][_0x105536(0x148)](_0x579bd0);_0x11f26c[_0x105536(0x1ec)](_0x9d36f3),_0x9d36f3>=this[_0x105536(0x185)]&&_0x4a913c[_0x105536(0x187)](_0x9d36f3,_0x4d78f0[_0x105536(0x1ef)](_0x9d36f3));}}for(const _0x4d4279 of _0x241ccb){const _0x649779=_0x35a99f[_0x105536(0x186)][_0x4d4279],_0x19deaa=this[_0x105536(0x1b2)](_0x35a99f[_0x105536(0x115)][_0x4d4279]);let _0x2fed55=0x0;for(const _0x5dec8e of _0x649779){const _0x2b6697=this[_0x105536(0x142)](_0x5dec8e),_0xcb1a2d=_0x5dec8e[_0x105536(0x173)][_0x105536(0x148)](_0x2b6697);if(!_0x4a913c[_0x105536(0x125)](_0xcb1a2d)&&!_0x5968cc[_0x105536(0x125)](_0xcb1a2d)){if(_0x11f26c[_0x105536(0x125)](_0xcb1a2d))_0x2fed55++;else{if(_0xcb1a2d!=_0x19deaa[_0x2fed55]){const _0x1c0463=_0x4d78f0[_0x105536(0x1ef)](_0xcb1a2d)||_0x4d78f0[_0x105536(0x1ef)](_0x19deaa[_0x2fed55]);for(;_0xcb1a2d!=_0x19deaa[_0x2fed55];)_0x11f26c[_0x105536(0x125)](_0x19deaa[_0x2fed55])||(_0x5968cc[_0x105536(0x187)](_0x19deaa[_0x2fed55],_0x1c0463),_0x4d78f0[_0x105536(0x187)](_0x19deaa[_0x2fed55],_0x1c0463)),_0x2fed55++;}_0x2fed55++;}}}}for(const _0x201658 of _0x241ccb){const _0x5de5e4=_0x35a99f[_0x105536(0x186)][_0x201658];for(const _0x3239e0 of _0x5de5e4){const _0x22929d=this[_0x105536(0x142)](_0x3239e0),_0x3058a7=_0x3239e0[_0x105536(0x173)][_0x105536(0x148)](_0x22929d);if(_0x5968cc[_0x105536(0x125)](_0x3058a7)){const _0x1ab14a=_0x5968cc[_0x105536(0x1ef)](_0x3058a7);_0x11f26c[_0x105536(0x125)](_0x3058a7)||_0x11f26c[_0x105536(0x187)](_0x3058a7,{..._0x1ab14a}),_0x4a913c[_0x105536(0x187)](_0x3058a7,{..._0x1ab14a});}}}for(const _0x342cbb of _0x11f26c[_0x105536(0x1f3)]())_0x342cbb>=this[_0x105536(0x185)]&&_0x11f26c[_0x105536(0x1ec)](_0x342cbb);const _0x1aec81=new Map();for(const _0x2ab582 of _0x241ccb){let _0x58503c=_0x35a99f[_0x105536(0x186)][_0x2ab582];for(const _0x473863 of _0x58503c)if(_0x473863[_0x105536(0x173)]['is'](_0x105536(0x10b),_0x105536(0x157))){const _0xa70a58=this[_0x105536(0x142)](_0x473863),_0x430934=_0x473863[_0x105536(0x173)][_0x105536(0x148)](_0xa70a58);if(_0x4a913c[_0x105536(0x125)](_0x430934)){const _0x1a28b3=_0x473863[_0x105536(0x173)][_0x105536(0x19c)][_0x105536(0x19c)][_0x105536(0x148)](_0x105536(0x1f2)),_0x55d0fc=_0x1aec81[_0x105536(0x1ef)](_0x1a28b3)||new Set();_0x55d0fc[_0x105536(0x161)](_0x4a913c[_0x105536(0x1ef)](_0x430934)[_0x105536(0x19d)]),_0x1aec81[_0x105536(0x187)](_0x1a28b3,_0x55d0fc);}}_0x58503c=_0x35a99f[_0x105536(0x115)][_0x2ab582];for(const _0x1dd853 of _0x58503c)if(_0x1dd853[_0x105536(0x173)]['is'](_0x105536(0x10b),_0x105536(0x157))){const _0x4ae114=this[_0x105536(0x142)](_0x1dd853),_0x398cef=_0x1dd853[_0x105536(0x173)][_0x105536(0x148)](_0x4ae114);if(_0x11f26c[_0x105536(0x125)](_0x398cef)){const _0x289f36=_0x1dd853[_0x105536(0x173)][_0x105536(0x19c)][_0x105536(0x19c)][_0x105536(0x148)](_0x105536(0x1f2)),_0x1a0f49=_0x1aec81[_0x105536(0x1ef)](_0x289f36)||new Set();_0x1a0f49[_0x105536(0x161)](_0x11f26c[_0x105536(0x1ef)](_0x398cef)[_0x105536(0x19d)]),_0x1aec81[_0x105536(0x187)](_0x289f36,_0x1a0f49);}}for(const _0x2e478b of _0x1aec81[_0x105536(0x1f3)]())(_0x4a913c[_0x105536(0x125)](_0x2e478b)||_0x11f26c[_0x105536(0x125)](_0x2e478b))&&_0x1aec81[_0x105536(0x1ec)](_0x2e478b);}for(const _0x334f56 of _0x241ccb){const _0x4a1daa=_0x35a99f[_0x105536(0x186)][_0x334f56];let _0x3b319d=null,_0x1f7922=null;for(const _0x3b4d3f of _0x4a1daa){const _0x3a5143=this[_0x105536(0x142)](_0x3b4d3f),_0x177ea8=_0x3b4d3f[_0x105536(0x173)][_0x105536(0x148)](_0x3a5143),_0x54dc0b=_0x1aec81[_0x105536(0x1ef)](_0x177ea8);_0x54dc0b&&_0x105536(0x1a0)==_0x3b4d3f[_0x105536(0x144)]&&(_0x3b319d=Array[_0x105536(0x154)](_0x54dc0b)[0x0],_0x1f7922=_0x3b4d3f[_0x105536(0x173)][_0x105536(0x148)](_0x105536(0x1b7))),_0x3b319d&&(_0x11f26c[_0x105536(0x187)](_0x177ea8,{'userId':_0x3b319d}),_0x4a913c[_0x105536(0x187)](_0x177ea8,{'userId':_0x3b319d})),_0x177ea8==_0x1f7922&&(_0x3b319d=null,_0x1f7922=null);}}const _0x377e20={},_0x5e4037=new Set();for(const _0x15e0b8 of _0x241ccb){const _0x36c7a8=_0x4a0618[_0x105536(0x115)][_0x15e0b8],_0x47f102=_0x4a0618[_0x105536(0x186)][_0x15e0b8];for(const {userId:_0x18bef3}of this[_0x105536(0x140)][_0x105536(0x17c)]())null!==_0x18bef3&&_0x5e4037[_0x105536(0x161)](_0x18bef3);for(const {userId:_0x487806}of this[_0x105536(0x194)][_0x105536(0x17c)]())null!==_0x487806&&_0x5e4037[_0x105536(0x161)](_0x487806);this[_0x105536(0x1a2)](_0x47f102,_0x35a99f[_0x105536(0x186)][_0x15e0b8],_0x4a913c,_0x105536(0x177),_0x5e4037),this[_0x105536(0x1a2)](_0x36c7a8,_0x35a99f[_0x105536(0x115)][_0x15e0b8],_0x11f26c,_0x105536(0xd7),_0x5e4037),_0x377e20[_0x15e0b8]={'insertions':this[_0x105536(0x13d)](_0x47f102),'deletions':this[_0x105536(0x13d)](_0x36c7a8),'attachChange':this[_0x105536(0x194)][_0x105536(0x1ef)](_0x15e0b8)||null,'attributesBefore':_0x222622(this[_0x105536(0x139)][_0x105536(0x1ef)](_0x15e0b8))||{},'attributesAfter':_0x222622(this[_0x105536(0xee)][_0x105536(0x1ef)](_0x15e0b8))};}return{'diffData':_0x377e20,'authorsIds':Array[_0x105536(0x154)](_0x5e4037)};}[_0x87c52a(0x193)](_0xf88582){const _0x21afc0=_0x87c52a;for(const [,_0x3f61e0]of _0xf88582[_0x21afc0(0x130)]){const _0x33c48c=_0x3f61e0[_0x21afc0(0x136)][_0x21afc0(0x1dc)]()[_0x21afc0(0x1fe)](_0xdd237e=>_0x21afc0(0x157)==_0xdd237e[_0x21afc0(0x16e)]);for(const _0x22d324 of _0x33c48c)0x1==_0x22d324[_0x21afc0(0x15d)]&&_0x22d324[_0x21afc0(0x1bf)](0x0)['is'](_0x21afc0(0x10b),_0x21afc0(0x17f))&&_0x22d324[_0x21afc0(0x1bf)](0x0)[_0x21afc0(0x14b)](_0x21afc0(0xf2),!0x0);}}[_0x87c52a(0x13d)](_0x88e875){const _0x32a043=_0x87c52a;this[_0x32a043(0x193)](_0x88e875);const _0x3fe0d1=this[_0x32a043(0xf5)][_0x32a043(0x12b)][_0x32a043(0x17b)](_0x88e875,{}),_0x1fd4c3=Array[_0x32a043(0x154)](_0x3fe0d1[_0x32a043(0xf6)]())[_0x32a043(0x137)](_0x1c80e2=>this[_0x32a043(0x1ee)](_0x1c80e2));return JSON[_0x32a043(0x184)](_0x1fd4c3);}[_0x87c52a(0x1ee)](_0x4da227){const _0x4044eb=_0x87c52a;if(_0x4da227['is'](_0x4044eb(0x181)))return _0x4da227[_0x4044eb(0x12b)];{const _0x357161=_0x4da227;return{'type':Object[_0x4044eb(0x1f3)](T)[_0x4044eb(0x11a)](_0x3ef235=>_0x4da227 instanceof T[_0x3ef235]),'name':_0x357161[_0x4044eb(0x16e)],'attributes':Array[_0x4044eb(0x154)](_0x357161[_0x4044eb(0x18c)]()),'children':Array[_0x4044eb(0x154)](_0x357161[_0x4044eb(0xf6)]())[_0x4044eb(0x137)](_0x4f9ce3=>this[_0x4044eb(0x1ee)](_0x4f9ce3))};}}[_0x87c52a(0x1a2)](_0x1f4fdc,_0x5625ef,_0xbd2a8b,_0x950704,_0x14a8a0){const _0x201c8d=_0x87c52a;let _0x239733=null,_0x2b5fe6=null,_0x3fbf6c=0x0;const _0x3d0f19=this[_0x201c8d(0xf5)][_0x201c8d(0xdc)];for(let _0x32154c=0x0;_0x32154c<_0x5625ef[_0x201c8d(0x18f)];_0x32154c++){const _0x10148d=this[_0x201c8d(0x142)](_0x5625ef[_0x32154c]),_0x5a23b3=_0x5625ef[_0x32154c][_0x201c8d(0x173)][_0x201c8d(0x148)](_0x10148d),_0x36cdf5=_0xbd2a8b[_0x201c8d(0x1ef)](_0x5a23b3),_0xa31265=_0x32154c==_0x5625ef[_0x201c8d(0x18f)]-0x1;(!_0x239733&&_0x36cdf5&&(_0x239733=_0x36cdf5,_0x2b5fe6=_0x5625ef[_0x32154c]),_0x239733&&(!_0x36cdf5||_0x36cdf5[_0x201c8d(0x19d)]!=_0x239733[_0x201c8d(0x19d)]))&&(_0x3b852c(_0x36cdf5,L(_0x2b5fe6,_0x1f4fdc,_0x3d0f19),L(_0x5625ef[_0x32154c],_0x1f4fdc,_0x3d0f19)),_0x239733=_0x36cdf5||null,_0x2b5fe6=_0x36cdf5?_0x5625ef[_0x32154c]:null),_0x239733&&_0xa31265&&_0x3b852c(_0x36cdf5,L(_0x2b5fe6,_0x1f4fdc,_0x3d0f19),W(_0x5625ef[_0x32154c],_0x1f4fdc,_0x3d0f19));}function _0x3b852c(_0x25b976,_0xa0c397,_0x11de37){const _0x30dd65=_0x201c8d,_0x89af4d=_0x239733[_0x30dd65(0x19d)],_0x3c2421=_0x30dd65(0x1c5)+_0x950704+':'+_0x89af4d+':'+_0x3fbf6c++,_0x43eee0=_0x3d0f19[_0x30dd65(0x1bc)](_0xa0c397,_0x11de37);_0x1f4fdc[_0x30dd65(0x130)][_0x30dd65(0x187)](_0x3c2421,_0x43eee0),null!==_0x89af4d&&_0x14a8a0[_0x30dd65(0x161)](_0x89af4d);}}[_0x87c52a(0x142)](_0x55bfcb){const _0xc45397=_0x87c52a;switch(_0x55bfcb[_0xc45397(0x144)]){case _0xc45397(0x1a0):return _0xc45397(0x1f2);case _0xc45397(0x107):return _0xc45397(0x1b7);default:return _0xc45397(0x156);}}[_0x87c52a(0x1ea)](_0x38f9f2,_0xeffcf8){const _0x42d15b=_0x87c52a;_0x38f9f2[_0x42d15b(0x1f5)]=null;for(const _0x4fb656 in _0x38f9f2){const _0x48a3da=_0x38f9f2[_0x4fb656];if(_0x48a3da instanceof _0x5804af){const _0x3d1251=_0xeffcf8[_0x42d15b(0x1ef)](_0x48a3da[_0x42d15b(0x1f7)][_0x42d15b(0x160)]);_0x38f9f2[_0x4fb656]=this[_0x42d15b(0x110)](_0x48a3da,_0x3d1251);}if(_0x48a3da instanceof _0x3dd683){const _0x34aa32=_0xeffcf8[_0x42d15b(0x1ef)](_0x48a3da[_0x42d15b(0x1f7)][_0x42d15b(0x160)]);_0x38f9f2[_0x4fb656]=this[_0x42d15b(0x149)](_0x48a3da,_0x34aa32);}_0x42d15b(0x1f7)===_0x4fb656&&(_0x38f9f2[_0x42d15b(0x1f7)]=_0xeffcf8[_0x42d15b(0x1ef)](_0x38f9f2[_0x42d15b(0x1f7)][_0x42d15b(0x160)]));}}[_0x87c52a(0x149)](_0x4c4a6c,_0x6c8725){const _0x11ea47=_0x87c52a;return this[_0x11ea47(0xf5)][_0x11ea47(0xdc)][_0x11ea47(0x1bc)](this[_0x11ea47(0x110)](_0x4c4a6c[_0x11ea47(0x136)],_0x6c8725),this[_0x11ea47(0x110)](_0x4c4a6c[_0x11ea47(0x1b5)],_0x6c8725));}[_0x87c52a(0x110)](_0x1dff87,_0x22987e){const _0x1847e8=_0x87c52a;return this[_0x1847e8(0xf5)][_0x1847e8(0xdc)][_0x1847e8(0x191)](_0x22987e,_0x1dff87[_0x1847e8(0x15f)],_0x1dff87[_0x1847e8(0x10f)]);}[_0x87c52a(0x1b1)](_0x15e35d){const _0x218322=_0x87c52a,_0x7984b2=this[_0x218322(0x10a)][_0x218322(0x1ef)](_0x15e35d[_0x218322(0x189)][_0x218322(0x1f7)][_0x218322(0x160)]),_0x3dc09d=this[_0x218322(0x110)](_0x15e35d[_0x218322(0x189)],_0x7984b2),_0x341b8f=null===_0x15e35d[_0x218322(0xf9)]?null:_0x15e35d[_0x218322(0xf9)]||this[_0x218322(0xf5)][_0x218322(0x1b6)][_0x218322(0x1ef)](_0x218322(0x1f1))['me']['id'],_0x20e349=_0x3dc09d[_0x218322(0x19c)],_0x3cffbf=this[_0x218322(0x1d1)],_0x4e7e6d=[];for(const _0x10f94c of _0x15e35d[_0x218322(0x12e)])if(_0x10f94c['is'](_0x218322(0x10b)))_0x4e7e6d[_0x218322(0x180)](this[_0x218322(0x124)](_0x10f94c));else{for(let _0x287534=0x0;_0x287534<_0x10f94c[_0x218322(0x13e)];_0x287534++)_0x4e7e6d[_0x218322(0x180)](new _0x208d06(_0x218322(0x181),{'vid':this[_0x218322(0x1d1)]++}));}const _0x1dddfb=this[_0x218322(0x1d1)];for(let _0x89040f=_0x3cffbf;_0x89040f<_0x1dddfb;_0x89040f++)this[_0x218322(0x1cc)][_0x218322(0x187)](_0x89040f,{'userId':_0x341b8f});_0x20e349[_0x218322(0x113)](_0x3dc09d[_0x218322(0x1a3)],_0x4e7e6d);}[_0x87c52a(0xe5)](_0x5ab6e8){const _0x469bf0=_0x87c52a;(_0x5ab6e8=this[_0x469bf0(0xd5)](_0x5ab6e8,this[_0x469bf0(0x10a)]))[_0x469bf0(0xfa)]();const _0xf80a54=null===_0x5ab6e8[_0x469bf0(0xf9)]?null:_0x5ab6e8[_0x469bf0(0xf9)]||this[_0x469bf0(0xf5)][_0x469bf0(0x1b6)][_0x469bf0(0x1ef)](_0x469bf0(0x1f1))['me']['id'],_0x36e49f=_0x5ab6e8[_0x469bf0(0x1f8)](),_0x56500c=_0x36e49f[_0x469bf0(0x19c)],_0x4c2f50=_0x36e49f[_0x469bf0(0x1a3)];!function _0x13136c(_0x89f9f0,_0x19ec35,_0x4136e3,_0x1a5a62){const _0x4eef3b=_0x469bf0;for(let _0x2ca740=_0x4136e3;_0x2ca740<_0x1a5a62;_0x2ca740++){const _0x33ca41=_0x19ec35[_0x4eef3b(0x1bf)](_0x2ca740);_0x33ca41['is'](_0x4eef3b(0x10b),_0x4eef3b(0x181))?_0x89f9f0[_0x4eef3b(0x187)](_0x33ca41[_0x4eef3b(0x148)](_0x4eef3b(0x156)),{'userId':_0xf80a54}):(_0x89f9f0[_0x4eef3b(0x187)](_0x33ca41[_0x4eef3b(0x148)](_0x4eef3b(0x1f2)),{'userId':_0xf80a54}),_0x13136c(_0x89f9f0,_0x33ca41,0x0,_0x33ca41[_0x4eef3b(0x15d)]),_0x89f9f0[_0x4eef3b(0x187)](_0x33ca41[_0x4eef3b(0x148)](_0x4eef3b(0x1b7)),{'userId':_0xf80a54}));}}(this[_0x469bf0(0x1cc)],_0x56500c,_0x4c2f50,_0x4c2f50+_0x5ab6e8[_0x469bf0(0x1e5)]);}[_0x87c52a(0x1c4)](_0x41e01c){const _0x456aae=_0x87c52a,_0xfa6fca=null===(_0x41e01c=this[_0x456aae(0xd5)](_0x41e01c,this[_0x456aae(0x10a)]))[_0x456aae(0xf9)]?null:_0x41e01c[_0x456aae(0xf9)]||this[_0x456aae(0xf5)][_0x456aae(0x1b6)][_0x456aae(0x1ef)](_0x456aae(0x1f1))['me']['id'],_0x36ce25=_0x41e01c[_0x456aae(0x100)][_0x456aae(0x19c)],_0x3db4df=_0x41e01c[_0x456aae(0x1dd)][_0x456aae(0x19c)],_0x3ff9d4=_0x36ce25[_0x456aae(0x148)](_0x456aae(0x1b7)),_0x4ddb22=_0x3db4df[_0x456aae(0x148)](_0x456aae(0x1f2));_0x36ce25[_0x456aae(0x14b)](_0x456aae(0x1b7),_0x3db4df[_0x456aae(0x148)](_0x456aae(0x1b7))),_0x3db4df[_0x456aae(0x14b)](_0x456aae(0x1b7),_0x3ff9d4),this[_0x456aae(0x1cc)][_0x456aae(0x187)](_0x4ddb22,{'userId':_0xfa6fca}),this[_0x456aae(0x1cc)][_0x456aae(0x187)](_0x3ff9d4,{'userId':_0xfa6fca}),_0x41e01c[_0x456aae(0xfa)]();}[_0x87c52a(0x158)](_0x1d5f86){const _0xb21d81=_0x87c52a,_0x4a5086=null===(_0x1d5f86=this[_0xb21d81(0xd5)](_0x1d5f86,this[_0xb21d81(0x10a)]))[_0xb21d81(0xf9)]?null:_0x1d5f86[_0xb21d81(0xf9)]||this[_0xb21d81(0xf5)][_0xb21d81(0x1b6)][_0xb21d81(0x1ef)](_0xb21d81(0x1f1))['me']['id'],_0x2db296=_0x1d5f86[_0xb21d81(0x16d)],_0x42ffa2=_0x1d5f86[_0xb21d81(0x1eb)][_0xb21d81(0x19c)];_0x1d5f86[_0xb21d81(0xfa)]();const _0x23d53c=_0x42ffa2[_0xb21d81(0x148)](_0xb21d81(0x1b7)),_0x316b4f=_0x1d5f86[_0xb21d81(0x1fd)][_0xb21d81(0x188)];if(_0x2db296){const _0x2ff421=_0x316b4f[_0xb21d81(0x148)](_0xb21d81(0x1b7)),_0x113d0e=_0x42ffa2[_0xb21d81(0x148)](_0xb21d81(0x1b7));_0x42ffa2[_0xb21d81(0x14b)](_0xb21d81(0x1b7),_0x2ff421),_0x316b4f[_0xb21d81(0x14b)](_0xb21d81(0x1b7),_0x113d0e),this[_0xb21d81(0x1cc)][_0xb21d81(0x187)](_0x42ffa2[_0xb21d81(0x148)](_0xb21d81(0x1b7)),{'userId':_0x4a5086}),this[_0xb21d81(0x1cc)][_0xb21d81(0x187)](_0x316b4f[_0xb21d81(0x148)](_0xb21d81(0x1f2)),{'userId':_0x4a5086});}else{const _0x4ca317=this[_0xb21d81(0x1d1)]++,_0x20861d=this[_0xb21d81(0x1d1)]++;_0x42ffa2[_0xb21d81(0x14b)](_0xb21d81(0x1b7),_0x4ca317),_0x316b4f[_0xb21d81(0x14b)](_0xb21d81(0x1f2),_0x20861d),_0x316b4f[_0xb21d81(0x14b)](_0xb21d81(0x1b7),_0x23d53c),this[_0xb21d81(0x1cc)][_0xb21d81(0x187)](_0x4ca317,{'userId':_0x4a5086}),this[_0xb21d81(0x1cc)][_0xb21d81(0x187)](_0x20861d,{'userId':_0x4a5086});}}[_0x87c52a(0x11d)](_0x45a9ed){const _0x443608=_0x87c52a;if(!_0x45a9ed[_0x443608(0xf8)])return;const _0x14840f=(_0x45a9ed=this[_0x443608(0xd5)](_0x45a9ed,this[_0x443608(0x15c)]))[_0x443608(0x129)]?_0x45a9ed[_0x443608(0x129)][_0x443608(0x1f7)]:null,_0x2ada50=_0x45a9ed[_0x443608(0x166)]?_0x45a9ed[_0x443608(0x166)][_0x443608(0x1f7)]:null;_0x14840f&&this[_0x443608(0x1cf)][_0x443608(0x1ec)](_0x45a9ed[_0x443608(0x16e)]),_0x2ada50&&this[_0x443608(0x1cf)][_0x443608(0x187)](_0x45a9ed[_0x443608(0x16e)],_0x45a9ed[_0x443608(0x166)][_0x443608(0x11c)]());const _0x10ad1d=null===_0x45a9ed[_0x443608(0xf9)]?null:_0x45a9ed[_0x443608(0xf9)]||this[_0x443608(0xf5)][_0x443608(0x1b6)][_0x443608(0x1ef)](_0x443608(0x1f1))['me']['id'],_0x16a6c0=_0x45a9ed[_0x443608(0x16e)];if(!this[_0x443608(0x140)][_0x443608(0x125)](_0x16a6c0))return void this[_0x443608(0x140)][_0x443608(0x187)](_0x16a6c0,{'range':_0x45a9ed[_0x443608(0x129)],'userId':_0x10ad1d});const _0x38df94=this[_0x443608(0x140)][_0x443608(0x1ef)](_0x16a6c0),_0x197a7=_0x38df94[_0x443608(0x1a8)],_0x15e9e4=_0x45a9ed[_0x443608(0x166)];null==_0x197a7&&null==_0x15e9e4||_0x197a7&&_0x15e9e4&&_0x197a7[_0x443608(0x112)](_0x15e9e4)?this[_0x443608(0x140)][_0x443608(0x1ec)](_0x45a9ed[_0x443608(0x16e)]):_0x38df94[_0x443608(0x19d)]=_0x10ad1d;}[_0x87c52a(0x121)](_0x5c476e,_0x28b83f){const _0x26296e=_0x87c52a;this[_0x26296e(0x15c)][_0x26296e(0x125)](_0x5c476e[_0x26296e(0x160)])?this[_0x26296e(0x15c)][_0x26296e(0x1ef)](_0x5c476e[_0x26296e(0x160)])[_0x26296e(0x167)]=_0x5c476e[_0x26296e(0x14d)]:(this[_0x26296e(0x15c)][_0x26296e(0x187)](_0x5c476e[_0x26296e(0x160)],G(_0x5c476e[_0x26296e(0x160)],!0x0)),this[_0x26296e(0xee)][_0x26296e(0x187)](_0x5c476e[_0x26296e(0x160)],{}),_0x28b83f&&this[_0x26296e(0x10a)][_0x26296e(0x187)](_0x5c476e[_0x26296e(0x160)],G(_0x5c476e[_0x26296e(0x160)],!0x0)));const _0x558bc6=null===_0x5c476e[_0x26296e(0xf9)]?null:_0x5c476e[_0x26296e(0xf9)]||this[_0x26296e(0xf5)][_0x26296e(0x1b6)][_0x26296e(0x1ef)](_0x26296e(0x1f1))['me']['id'],_0x3b5a57=this[_0x26296e(0x194)][_0x26296e(0x1ef)](_0x5c476e[_0x26296e(0x160)]);_0x3b5a57&&_0x3b5a57[_0x26296e(0x19d)]===_0x558bc6?this[_0x26296e(0x194)][_0x26296e(0x1ec)](_0x5c476e[_0x26296e(0x160)]):this[_0x26296e(0x194)][_0x26296e(0x187)](_0x5c476e[_0x26296e(0x160)],{'userId':_0x558bc6,'isAttached':_0x5c476e[_0x26296e(0x14d)]});}[_0x87c52a(0x15b)](_0x41fea7){const _0x35d51b=_0x87c52a,_0x11bc66=this[_0x35d51b(0xee)][_0x35d51b(0x1ef)](_0x41fea7[_0x35d51b(0x1f7)][_0x35d51b(0x160)]);null===_0x41fea7[_0x35d51b(0x19b)]?delete _0x11bc66[_0x41fea7[_0x35d51b(0x1e2)]]:_0x11bc66[_0x41fea7[_0x35d51b(0x1e2)]]=_0x41fea7[_0x35d51b(0x19b)];}}function q(_0x249e39){const _0x129a80=_0x87c52a,_0x21f274=G(_0x249e39[_0x129a80(0x160)],_0x249e39[_0x129a80(0x199)]());for(const _0x547351 of _0x249e39[_0x129a80(0xf6)]()){const _0x2f86f7=_0x547351[_0x129a80(0xf3)](!0x0);_0x21f274[_0x129a80(0xdb)](_0x2f86f7);}return _0x21f274;}function G(_0x1536ae,_0x56979c=!0x0){const _0x308d51=_0x87c52a,_0x9e8aff=new _0x434055();return _0x9e8aff[_0x308d51(0x160)]=_0x1536ae,_0x9e8aff[_0x308d51(0x167)]=_0x56979c,_0x9e8aff[_0x308d51(0x199)]=()=>_0x9e8aff[_0x308d51(0x167)],_0x9e8aff;}function L(_0x4320d0,_0xe03e60,_0x583a0f){const _0x30a649=_0x87c52a,_0x64dd2c=_0x30a649(0x107)==_0x4320d0[_0x30a649(0x144)]?_0x583a0f[_0x30a649(0x14e)](_0x4320d0[_0x30a649(0x173)],_0x30a649(0x1b5)):_0x583a0f[_0x30a649(0x134)](_0x4320d0[_0x30a649(0x173)]);return _0x583a0f[_0x30a649(0x191)](_0xe03e60,_0x64dd2c[_0x30a649(0x15f)],_0x64dd2c[_0x30a649(0x10f)]);}function W(_0x54dd76,_0x1ee626,_0x1100b8){const _0x1cc330=_0x87c52a,_0x395a28=_0x1cc330(0x1a0)==_0x54dd76[_0x1cc330(0x144)]?_0x1100b8[_0x1cc330(0x14e)](_0x54dd76[_0x1cc330(0x173)],0x0):_0x1100b8[_0x1cc330(0x190)](_0x54dd76[_0x1cc330(0x173)]);return _0x1100b8[_0x1cc330(0x191)](_0x1ee626,_0x395a28[_0x1cc330(0x15f)],_0x395a28[_0x1cc330(0x10f)]);}
|
|
23
|
+
const _0x1dd468=_0x27e1;(function(_0x26378a,_0x5077d1){const _0x442fb5=_0x27e1,_0x162a85=_0x26378a();while(!![]){try{const _0x1229c6=parseInt(_0x442fb5(0x1e9))/0x1+parseInt(_0x442fb5(0x1fc))/0x2+parseInt(_0x442fb5(0x153))/0x3+parseInt(_0x442fb5(0x135))/0x4+-parseInt(_0x442fb5(0x1cd))/0x5*(-parseInt(_0x442fb5(0x12b))/0x6)+parseInt(_0x442fb5(0x125))/0x7+-parseInt(_0x442fb5(0x1d6))/0x8*(parseInt(_0x442fb5(0x21d))/0x9);if(_0x1229c6===_0x5077d1)break;else _0x162a85['push'](_0x162a85['shift']());}catch(_0x3d0eb1){_0x162a85['push'](_0x162a85['shift']());}}}(_0x17b4,0x44a4a));import{Users as _0x419558}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x571395,PendingActions as _0x24a46c}from'ckeditor5/src/core.js';import{logWarning as _0x438e31,uid as _0x387342}from'ckeditor5/src/utils.js';import{Position as _0x5c172e,Range as _0x2dca35,Element as _0x4c3aa2,DocumentFragment as _0x531377,ViewText as _0x3d7caa,ViewElement as _0x447522,ViewContainerElement as _0x26617d,ViewAttributeElement as _0x5eb29b,ViewEmptyElement as _0x1b6f39,ViewRawElement as _0x5af70f,ViewUIElement as _0x16e0e5,ViewDocumentFragment as _0x537145}from'ckeditor5/src/engine.js';import _0x4d915f from'./revisionsrepository.js';import{getTranslation as _0x1df910}from'./utils/common-translations.js';import{cloneDeep as _0x46f555,isEqual as _0x1ac58a}from'lodash-es';const T={'c':_0x26617d,'a':_0x5eb29b,'e':_0x1b6f39,'r':_0x5af70f,'u':_0x16e0e5};export default class l extends _0x571395{static get[_0x1dd468(0x110)](){const _0x2aa3ff=_0x1dd468;return _0x2aa3ff(0x1af);}static get[_0x1dd468(0x1f0)](){return[_0x419558,_0x4d915f,_0x24a46c];}constructor(_0x52c1c1){const _0x4fce5f=_0x1dd468;super(_0x52c1c1),this[_0x4fce5f(0x20f)]=null,this[_0x4fce5f(0x1f8)]=null,this[_0x4fce5f(0x16c)]=new J(this[_0x4fce5f(0x1e6)]),this[_0x4fce5f(0x1da)]=this[_0x4fce5f(0x1e6)][_0x4fce5f(0x1d8)][_0x4fce5f(0x1e4)](_0x4fce5f(0x1e1))||_0x4fce5f(0x155),this[_0x4fce5f(0x218)]=new Map(),this[_0x4fce5f(0x130)]=null;const _0x374f97=_0x387342();this[_0x4fce5f(0x209)]={'history':this[_0x4fce5f(0x1e6)][_0x4fce5f(0x19a)][_0x4fce5f(0x1bb)][_0x4fce5f(0x152)],'getLatestVersion':()=>Promise[_0x4fce5f(0x12c)](this[_0x4fce5f(0x1e6)][_0x4fce5f(0x19a)][_0x4fce5f(0x1bb)][_0x4fce5f(0x168)]),'getCurrentRevisionId':()=>_0x374f97},this[_0x4fce5f(0x175)](_0x4fce5f(0x184),!0x1),this[_0x4fce5f(0x175)](_0x4fce5f(0x215),!0x0),this[_0x4fce5f(0x175)](_0x4fce5f(0x203),!0x1),this[_0x4fce5f(0x1e6)][_0x4fce5f(0x1d8)][_0x4fce5f(0x164)](_0x4fce5f(0x16b),!0x0),this[_0x4fce5f(0x1e6)][_0x4fce5f(0x111)][_0x4fce5f(0x1aa)](_0x4fce5f(0x11b))[_0x4fce5f(0x14f)]({'view':_0x4fce5f(0x1ec)});}[_0x1dd468(0x1d2)](){const _0x2bd9ab=_0x1dd468;this[_0x2bd9ab(0x16a)]=this[_0x2bd9ab(0x1e6)][_0x2bd9ab(0x1b4)][_0x2bd9ab(0x1e4)](_0x2bd9ab(0x143)),this[_0x2bd9ab(0x1db)](),this[_0x2bd9ab(0x1e6)][_0x2bd9ab(0x14d)]['on'](_0x2bd9ab(0x1ae),()=>{const _0x3c3c38=_0x2bd9ab,_0x2deb6e=this[_0x3c3c38(0x16a)][_0x3c3c38(0x195)](0x0),_0x4006f3=_0x2deb6e&&null===_0x2deb6e[_0x3c3c38(0x18e)]?_0x2deb6e:null;if(this[_0x3c3c38(0x166)]=!!_0x4006f3&&this[_0x3c3c38(0x1e6)][_0x3c3c38(0x1d8)][_0x3c3c38(0x1e4)](_0x3c3c38(0x16b)),this[_0x3c3c38(0x1e6)][_0x3c3c38(0x1b4)][_0x3c3c38(0x1c5)](_0x3c3c38(0x227))){const _0x5997e4=this[_0x3c3c38(0x209)][_0x3c3c38(0x17d)](),_0x224280=this[_0x3c3c38(0x16a)][_0x3c3c38(0x195)](_0x5997e4);if(_0x224280)this[_0x3c3c38(0x183)]=_0x224280[_0x3c3c38(0x140)],this[_0x3c3c38(0x166)]=!0x1;else{const _0x2530bd=this[_0x3c3c38(0x209)][_0x3c3c38(0x152)][_0x3c3c38(0x172)][_0x3c3c38(0x20b)](_0x4f3a8f=>!_0x4f3a8f[_0x3c3c38(0x174)]),_0x3fbe69=_0x2530bd?_0x2530bd[_0x3c3c38(0x10b)]:this[_0x3c3c38(0x209)][_0x3c3c38(0x152)][_0x3c3c38(0x168)];_0x2deb6e?(_0x2deb6e[_0x3c3c38(0x1ac)]<_0x3fbe69&&_0x2deb6e[_0x3c3c38(0x144)]({'toVersion':_0x3fbe69}),this[_0x3c3c38(0x166)]?(this[_0x3c3c38(0x209)][_0x3c3c38(0x17d)]=()=>_0x4006f3['id'],this[_0x3c3c38(0x183)]=_0x4006f3[_0x3c3c38(0x140)]):(this[_0x3c3c38(0x183)]=_0x2deb6e[_0x3c3c38(0x1ac)],this[_0x3c3c38(0x166)]=!0x1)):(this[_0x3c3c38(0x183)]=_0x3fbe69,this[_0x3c3c38(0x166)]=!0x1);}}else _0x4006f3&&(this[_0x3c3c38(0x1e6)][_0x3c3c38(0x19a)][_0x3c3c38(0x1bb)][_0x3c3c38(0x152)][_0x3c3c38(0x168)]=Math[_0x3c3c38(0x1f1)](_0x4006f3[_0x3c3c38(0x1ac)],this[_0x3c3c38(0x1e6)][_0x3c3c38(0x19a)][_0x3c3c38(0x1bb)][_0x3c3c38(0x152)][_0x3c3c38(0x168)]),_0x4006f3[_0x3c3c38(0x140)]===_0x4006f3[_0x3c3c38(0x1ac)]?(0x0!==_0x4006f3[_0x3c3c38(0x140)]&&(this[_0x3c3c38(0x209)][_0x3c3c38(0x17d)]=()=>_0x4006f3['id']),this[_0x3c3c38(0x166)]=!0x1):this[_0x3c3c38(0x166)]&&(this[_0x3c3c38(0x209)][_0x3c3c38(0x17d)]=()=>_0x4006f3['id'],this[_0x3c3c38(0x183)]=_0x4006f3[_0x3c3c38(0x140)])),this[_0x3c3c38(0x166)]||(this[_0x3c3c38(0x183)]=this[_0x3c3c38(0x1e6)][_0x3c3c38(0x19a)][_0x3c3c38(0x1bb)][_0x3c3c38(0x168)]);this[_0x3c3c38(0x16c)][_0x3c3c38(0x1d2)](this[_0x3c3c38(0x209)][_0x3c3c38(0x152)]),this[_0x3c3c38(0x15f)](this[_0x3c3c38(0x183)]),this[_0x3c3c38(0x187)](this[_0x3c3c38(0x183)]),this[_0x3c3c38(0x20f)]&&this[_0x3c3c38(0x1e5)]();}),this[_0x2bd9ab(0x1a8)](_0x2bd9ab(0x184))['to'](this,_0x2bd9ab(0x203),_0xd1064b=>!_0xd1064b);}async[_0x1dd468(0x21f)](){const _0x410657=_0x1dd468;if(this[_0x410657(0x16a)][_0x410657(0x212)]>0x0){const _0x5a7610=this[_0x410657(0x16a)][_0x410657(0x195)](0x0),_0x3e2f20=await this[_0x410657(0x186)](_0x5a7610),_0xb1d421=await this[_0x410657(0x1a6)](_0x5a7610);this[_0x410657(0x196)](_0x3e2f20,_0xb1d421);}}[_0x1dd468(0x217)](_0x251ec6){const _0x2c6649=_0x1dd468;this[_0x2c6649(0x209)]=_0x251ec6;}async[_0x1dd468(0x1de)](){const _0x6a6c3f=_0x1dd468,_0x2ad3de=await this[_0x6a6c3f(0x209)][_0x6a6c3f(0x105)]();if(_0x2ad3de>this[_0x6a6c3f(0x1f8)][_0x6a6c3f(0x1ac)]){await this[_0x6a6c3f(0x17e)]();const _0x35d6fe=this[_0x6a6c3f(0x138)]({'revision':this[_0x6a6c3f(0x1f8)],'to':_0x2ad3de});_0x35d6fe[_0x6a6c3f(0x12d)]=_0x35d6fe[_0x6a6c3f(0x117)][_0x6a6c3f(0x109)](_0x347d9a=>this[_0x6a6c3f(0x1e6)][_0x6a6c3f(0x1b4)][_0x6a6c3f(0x1e4)](_0x6a6c3f(0x148))[_0x6a6c3f(0x169)](_0x347d9a)),this[_0x6a6c3f(0x1f8)][_0x6a6c3f(0x144)](_0x35d6fe);}}async[_0x1dd468(0x17e)](){const _0x56c9ae=_0x1dd468;this[_0x56c9ae(0x166)]&&!this[_0x56c9ae(0x130)]&&(await this[_0x56c9ae(0x224)](this[_0x56c9ae(0x1f8)]),this[_0x56c9ae(0x16c)][_0x56c9ae(0x128)](this[_0x56c9ae(0x1f8)]),this[_0x56c9ae(0x130)]={'fromVersion':this[_0x56c9ae(0x1f8)][_0x56c9ae(0x140)],'authors':this[_0x56c9ae(0x1f8)][_0x56c9ae(0x12d)][_0x56c9ae(0x1fd)]()});}async[_0x1dd468(0x15a)](_0x5004f6={},_0x1e0111=null){const _0x4a087e=_0x1dd468,_0xd86462=[];await this[_0x4a087e(0x17e)](),this[_0x4a087e(0x166)]=!0x1,_0x1e0111>this[_0x4a087e(0x1f8)][_0x4a087e(0x1ac)]&&(_0x1e0111=null),null===_0x1e0111&&(_0x1e0111=await this[_0x4a087e(0x209)][_0x4a087e(0x105)]());const _0x31368c=this[_0x4a087e(0x1fa)](_0x1e0111),_0x41114a=this[_0x4a087e(0x138)]({'from':_0x31368c,'to':_0x1e0111});if(this[_0x4a087e(0x1f8)][_0x4a087e(0x1ac)]<_0x1e0111){const _0x26ecd2=this[_0x4a087e(0x138)]({'revision':this[_0x4a087e(0x1f8)],'from':_0x1e0111,'to':_0x1e0111});_0x26ecd2[_0x4a087e(0x12d)]=[],_0x26ecd2[_0x4a087e(0x117)]=[],_0x26ecd2['id']=this[_0x4a087e(0x1f8)]['id'],this[_0x4a087e(0x1f8)][_0x4a087e(0x144)](_0x26ecd2,!0x0),delete _0x26ecd2[_0x4a087e(0x12d)],_0xd86462[_0x4a087e(0x19b)](_0x26ecd2);}_0x5004f6[_0x4a087e(0x191)]=this[_0x4a087e(0x1e6)][_0x4a087e(0x1b4)][_0x4a087e(0x1e4)](_0x4a087e(0x148))['me']['id'],_0x5004f6[_0x4a087e(0x1e8)]=_0x5004f6[_0x4a087e(0x1e8)]||null,_0x5004f6['id']=_0x5004f6['id']||_0x387342(),_0x5004f6={..._0x5004f6,..._0x41114a};const _0x19fc95=this[_0x4a087e(0x19d)](_0x5004f6);_0xd86462[_0x4a087e(0x19b)](_0x5004f6);const _0x541d34=this[_0x4a087e(0x16a)][_0x4a087e(0x1b5)](_0x19fc95);if(0x0!==_0x541d34){const _0xf2df94=this[_0x4a087e(0x16a)][_0x4a087e(0x195)](_0x541d34-0x1);if(_0xf2df94[_0x4a087e(0x140)]!==_0x1e0111){const _0x2426d0=this[_0x4a087e(0x16c)][_0x4a087e(0x1a3)](_0x1e0111,_0xf2df94[_0x4a087e(0x1ac)]),_0x4d158e={'id':_0xf2df94['id'],'diffData':_0x2426d0[_0x4a087e(0x19f)],'authorsIds':_0x2426d0[_0x4a087e(0x117)],'authors':_0x2426d0[_0x4a087e(0x117)][_0x4a087e(0x109)](_0x1c9bfb=>this[_0x4a087e(0x1e6)][_0x4a087e(0x1b4)][_0x4a087e(0x1e4)](_0x4a087e(0x148))[_0x4a087e(0x169)](_0x1c9bfb)),'fromVersion':_0x1e0111};_0xf2df94===this[_0x4a087e(0x1f8)]&&(_0x4d158e[_0x4a087e(0x1dd)]=new Date(_0x5004f6[_0x4a087e(0x1dd)][_0x4a087e(0x1ca)]()+0xa)),_0xf2df94[_0x4a087e(0x144)](_0x4d158e,!0x0),delete _0x4d158e[_0x4a087e(0x12d)],_0xd86462[_0x4a087e(0x19b)](_0x4d158e);}}if(this[_0x4a087e(0x20f)]){for(const _0x4b2830 of _0xd86462)this[_0x4a087e(0x149)](_0x4b2830['id'],_0x4b2830,!0x0);this[_0x4a087e(0x1e5)]();}return _0x19fc95;}[_0x1dd468(0x19d)](_0x2b88bb){const _0x15b220=_0x1dd468,_0x4a03c8=this[_0x15b220(0x16a)][_0x15b220(0x1f7)](_0x2b88bb);return this[_0x15b220(0x20f)]&&_0x4a03c8['on'](_0x15b220(0x144),(_0x5a1041,_0x312fbd,_0xafedae)=>{const _0x43f153=_0x15b220;_0xafedae||(this[_0x43f153(0x149)](_0x312fbd['id'],_0x312fbd,!0x0),this[_0x43f153(0x1e5)]());}),this[_0x15b220(0x16a)][_0x15b220(0x10d)](_0x4a03c8,this[_0x15b220(0x198)](_0x4a03c8)),_0x4a03c8;}async[_0x1dd468(0x186)](_0x17410a){const _0x3eceb5=_0x1dd468;await this[_0x3eceb5(0x224)](_0x17410a);const _0x3802a8={};for(const _0x1aeaa9 in _0x17410a[_0x3eceb5(0x19f)]){if(_0x17410a[_0x3eceb5(0x19f)][_0x1aeaa9][_0x3eceb5(0x190)]&&!_0x17410a[_0x3eceb5(0x19f)][_0x1aeaa9][_0x3eceb5(0x190)][_0x3eceb5(0x11e)])continue;const _0x130d1d=this[_0x3eceb5(0x206)](JSON[_0x3eceb5(0x1a4)](_0x17410a[_0x3eceb5(0x19f)][_0x1aeaa9][_0x3eceb5(0x1f6)])),_0x22f6a1=this[_0x3eceb5(0x1e6)][_0x3eceb5(0x16f)][_0x3eceb5(0x1f9)][_0x3eceb5(0x1bb)],_0x478812=new _0x537145(_0x22f6a1,_0x130d1d[_0x3eceb5(0x109)](_0x54613a=>B(_0x54613a,this[_0x3eceb5(0x1e6)])));this[_0x3eceb5(0x1e6)][_0x3eceb5(0x14d)][_0x3eceb5(0x1d4)][_0x3eceb5(0x18a)](_0x3eceb5(0x12f)),_0x3802a8[_0x1aeaa9]=this[_0x3eceb5(0x1e6)][_0x3eceb5(0x14d)][_0x3eceb5(0x1d4)][_0x3eceb5(0x113)](_0x478812),this[_0x3eceb5(0x1e6)][_0x3eceb5(0x14d)][_0x3eceb5(0x1d4)][_0x3eceb5(0x18a)](_0x3eceb5(0x171));}return _0x3802a8;}async[_0x1dd468(0x1a6)](_0x3e6d8e){const _0x1dfc4f=_0x1dd468;await this[_0x1dfc4f(0x224)](_0x3e6d8e);const _0xa2f734={};for(const _0x13bf72 in _0x3e6d8e[_0x1dfc4f(0x19f)])_0x3e6d8e[_0x1dfc4f(0x19f)][_0x13bf72][_0x1dfc4f(0x190)]&&!_0x3e6d8e[_0x1dfc4f(0x19f)][_0x13bf72][_0x1dfc4f(0x190)][_0x1dfc4f(0x11e)]||(_0xa2f734[_0x13bf72]=_0x3e6d8e[_0x1dfc4f(0x19f)][_0x13bf72][_0x1dfc4f(0x1cc)]||{});return _0xa2f734;}[_0x1dd468(0x1e5)](){const _0x25739d=_0x1dd468;if(0x0===this[_0x25739d(0x218)][_0x25739d(0x1b7)])return;if(this[_0x25739d(0x203)])return;let _0x451326=Array[_0x25739d(0x223)](this[_0x25739d(0x218)][_0x25739d(0x1e3)]());this[_0x25739d(0x218)][_0x25739d(0x20d)]();for(let _0x26b3f0=0x0;_0x26b3f0<_0x451326[_0x25739d(0x212)];_0x26b3f0++){const _0x17a08f=_0x451326[_0x26b3f0];let _0x3e3b38=!0x1;for(const _0x2bd5c4 of Object[_0x25739d(0x1ff)](_0x17a08f))void 0x0===_0x17a08f[_0x2bd5c4]?delete _0x17a08f[_0x2bd5c4]:'id'!==_0x2bd5c4&&(_0x3e3b38=!0x0);_0x3e3b38||(_0x451326[_0x26b3f0]=null);}if(_0x451326=_0x451326[_0x25739d(0x181)](_0x570570=>null!==_0x570570),!_0x451326[_0x25739d(0x212)])return;for(let _0x56e3c1=0x0;_0x56e3c1<_0x451326[_0x25739d(0x212)];_0x56e3c1++){const _0x3b06f2=_0x451326[_0x56e3c1];void 0x0!==_0x3b06f2[_0x25739d(0x140)]&&void 0x0===_0x3b06f2[_0x25739d(0x1ac)]&&(_0x3b06f2[_0x25739d(0x1ac)]=this[_0x25739d(0x16a)][_0x25739d(0x195)](_0x3b06f2['id'])[_0x25739d(0x1ac)]),void 0x0!==_0x3b06f2[_0x25739d(0x1ac)]&&void 0x0===_0x3b06f2[_0x25739d(0x140)]&&(_0x3b06f2[_0x25739d(0x140)]=this[_0x25739d(0x16a)][_0x25739d(0x195)](_0x3b06f2['id'])[_0x25739d(0x140)]);}const _0x12876f=this[_0x25739d(0x1e6)][_0x25739d(0x1d8)][_0x25739d(0x1e4)](_0x25739d(0x1e1));this[_0x25739d(0x203)]=!0x0,this[_0x25739d(0x120)](),this[_0x25739d(0x20f)][_0x25739d(0x112)](_0x451326,_0x12876f)[_0x25739d(0x10e)](()=>{const _0x4e58d1=_0x25739d;this[_0x4e58d1(0x203)]=!0x1;})[_0x25739d(0x1d7)](_0x4b61eb=>{const _0x6d4ee1=_0x25739d;if(_0x4b61eb){for(const _0x1ddee3 of _0x4b61eb)this[_0x6d4ee1(0x176)]({'id':_0x1ddee3['id'],'createdAt':_0x1ddee3[_0x6d4ee1(0x1dd)]});}this[_0x6d4ee1(0x14c)](),this[_0x6d4ee1(0x1e5)]();});}[_0x1dd468(0x196)](_0x54aa98,_0x31180c){const _0x193ea6=_0x1dd468;let _0x651fb5=this[_0x193ea6(0x1e6)][_0x193ea6(0x1d8)][_0x193ea6(0x1e4)](_0x193ea6(0x17c)),_0x183e84=this[_0x193ea6(0x1e6)][_0x193ea6(0x1d8)][_0x193ea6(0x1e4)](_0x193ea6(0x106));if(void 0x0===_0x651fb5){_0x651fb5={};for(const _0x2f0c89 of this[_0x193ea6(0x1e6)][_0x193ea6(0x19a)][_0x193ea6(0x1bb)][_0x193ea6(0x1df)]())_0x651fb5[_0x2f0c89]='';}if(_0x193ea6(0x139)==typeof _0x651fb5&&(_0x651fb5={'main':_0x651fb5}),void 0x0===_0x183e84){_0x183e84={};for(const _0x335c4d of this[_0x193ea6(0x1e6)][_0x193ea6(0x19a)][_0x193ea6(0x1bb)][_0x193ea6(0x1df)]())_0x183e84[_0x335c4d]={};}let _0x4079dc=!0x1;const _0x103810=Object[_0x193ea6(0x1ff)](_0x651fb5),_0x5adb95=Object[_0x193ea6(0x1ff)](_0x54aa98);for(const _0x434f3e of _0x103810){if(_0x651fb5[_0x434f3e]!==_0x54aa98[_0x434f3e]&&''!==_0x651fb5[_0x434f3e][_0x193ea6(0x119)]()){_0x4079dc=!0x0;break;}if(!_0x1ac58a(_0x183e84[_0x434f3e],_0x31180c[_0x434f3e])&&Object[_0x193ea6(0x1ff)](_0x183e84[_0x434f3e])[_0x193ea6(0x212)]>0x0){_0x4079dc=!0x0;break;}}_0x4079dc||(_0x4079dc=_0x5adb95[_0x193ea6(0x15e)](_0x76535a=>!this[_0x193ea6(0x1e6)][_0x193ea6(0x19a)][_0x193ea6(0x1bb)][_0x193ea6(0x199)](_0x76535a))),_0x4079dc&&_0x438e31(_0x193ea6(0x185),{'editorData':_0x651fb5,'editorRootsAttributes':_0x183e84,'revisionData':_0x54aa98,'revisionRootsAttributes':_0x31180c}),this[_0x193ea6(0x1e6)][_0x193ea6(0x1d8)][_0x193ea6(0x175)](_0x193ea6(0x17c),_0x54aa98),this[_0x193ea6(0x1e6)][_0x193ea6(0x1d8)][_0x193ea6(0x175)](_0x193ea6(0x106),_0x31180c);}[_0x1dd468(0x120)](){const _0x47c999=_0x1dd468;if(!this[_0x47c999(0x116)]){const _0x19f258=this[_0x47c999(0x1e6)][_0x47c999(0x1b4)][_0x47c999(0x1e4)](_0x47c999(0x22a));this[_0x47c999(0x116)]=_0x19f258[_0x47c999(0x1dc)](_0x1df910(this[_0x47c999(0x1e6)][_0x47c999(0x1b8)],_0x47c999(0x158)));}}[_0x1dd468(0x14c)](){const _0x2f17b2=_0x1dd468;this[_0x2f17b2(0x116)]&&(this[_0x2f17b2(0x1e6)][_0x2f17b2(0x1b4)][_0x2f17b2(0x1e4)](_0x2f17b2(0x22a))[_0x2f17b2(0x11d)](this[_0x2f17b2(0x116)]),this[_0x2f17b2(0x116)]=null);}[_0x1dd468(0x198)](_0x5748d4){const _0x1ca986=_0x1dd468,_0x54a69e=this[_0x1ca986(0x16a)][_0x1ca986(0x1f3)]();_0x54a69e[_0x1ca986(0x161)]();let _0x5de563=0x0;for(;_0x5de563<_0x54a69e[_0x1ca986(0x212)];){const _0x50aae7=_0x54a69e[_0x5de563];if(_0x50aae7===this[_0x1ca986(0x1f8)]){_0x5de563++;continue;}if(_0x50aae7['id']===this[_0x1ca986(0x1da)])break;const _0x11c741=_0x5748d4[_0x1ca986(0x1ac)]-_0x50aae7[_0x1ca986(0x1ac)]||_0x5748d4[_0x1ca986(0x140)]-_0x50aae7[_0x1ca986(0x140)];if(_0x11c741>0x0)break;if(_0x11c741<0x0)_0x5de563++;else{if(!_0x5748d4[_0x1ca986(0x18e)]&&_0x50aae7[_0x1ca986(0x18e)])break;if(_0x50aae7[_0x1ca986(0x18e)]||!_0x5748d4[_0x1ca986(0x18e)]){if(_0x5748d4[_0x1ca986(0x1dd)]>_0x50aae7[_0x1ca986(0x1dd)])break;_0x5de563++;}else _0x5de563++;}}return _0x5de563;}[_0x1dd468(0x176)](_0x5a29c5){const _0x212c77=_0x1dd468,_0x4c7abe=this[_0x212c77(0x16a)][_0x212c77(0x195)](_0x5a29c5['id']);if(_0x5a29c5[_0x212c77(0x1dd)]&&(_0x5a29c5[_0x212c77(0x1dd)]=new Date(_0x5a29c5[_0x212c77(0x1dd)])),_0x5a29c5[_0x212c77(0x117)]){const _0x55fc6e=this[_0x212c77(0x1e6)][_0x212c77(0x1b4)][_0x212c77(0x1e4)](_0x212c77(0x148));_0x5a29c5[_0x212c77(0x12d)]=_0x5a29c5[_0x212c77(0x117)][_0x212c77(0x109)](_0x4d252c=>_0x55fc6e[_0x212c77(0x169)](_0x4d252c));}_0x4c7abe[_0x212c77(0x144)](_0x5a29c5,!0x0);}[_0x1dd468(0x138)]({revision:_0x4b9ab0=null,from:_0x12385e=null,to:_0x2c6092=null}){const _0x1ab0ab=_0x1dd468;_0x12385e=null!==_0x12385e?_0x12385e:_0x4b9ab0[_0x1ab0ab(0x140)],_0x2c6092=null!==_0x2c6092?_0x2c6092:_0x4b9ab0[_0x1ab0ab(0x1ac)];const _0x1ca555=this[_0x1ab0ab(0x16c)][_0x1ab0ab(0x1a3)](_0x12385e,_0x2c6092),_0x1e03cb={'diffData':_0x1ca555[_0x1ab0ab(0x19f)],'authorsIds':_0x1ca555[_0x1ab0ab(0x117)],'fromVersion':_0x12385e,'toVersion':_0x2c6092};if(!_0x4b9ab0||_0x2c6092!==_0x4b9ab0[_0x1ab0ab(0x1ac)]){const _0x4fc6a2=_0x2c6092-0x1,_0x43e9aa=this[_0x1ab0ab(0x209)][_0x1ab0ab(0x152)][_0x1ab0ab(0x133)](_0x4fc6a2);_0x1e03cb[_0x1ab0ab(0x1dd)]=_0x43e9aa&&_0x43e9aa[_0x1ab0ab(0x1dd)]||new Date();}if(this[_0x1ab0ab(0x130)]&&_0x12385e===this[_0x1ab0ab(0x130)][_0x1ab0ab(0x140)]){for(const _0x19c42e of this[_0x1ab0ab(0x130)][_0x1ab0ab(0x12d)])_0x1e03cb[_0x1ab0ab(0x117)][_0x1ab0ab(0x122)](_0x19c42e['id'])||_0x1e03cb[_0x1ab0ab(0x117)][_0x1ab0ab(0x19b)](_0x19c42e['id']);}return _0x1e03cb;}[_0x1dd468(0x224)](_0x55dd86){const _0x2bf482=_0x1dd468;if(!_0x55dd86||_0x55dd86[_0x2bf482(0x19f)])return Promise[_0x2bf482(0x12c)]();{const _0x1c956c=this[_0x2bf482(0x1e6)][_0x2bf482(0x1d8)][_0x2bf482(0x1e4)](_0x2bf482(0x1e1));return this[_0x2bf482(0x20f)][_0x2bf482(0x195)]({'channelId':_0x1c956c,'revisionId':_0x55dd86['id']})[_0x2bf482(0x1d7)](_0xe653=>{const _0xd050a4=_0x2bf482;_0x55dd86[_0xd050a4(0x19f)]=_0xe653[_0xd050a4(0x19f)];});}}[_0x1dd468(0x149)](_0x1f7f2b,_0x9e5b26,_0x383283){const _0x659adf=_0x1dd468;if(this[_0x659adf(0x218)][_0x659adf(0x1c5)](_0x1f7f2b)){const _0x43d4cb=this[_0x659adf(0x218)][_0x659adf(0x1e4)](_0x1f7f2b);_0x9e5b26=_0x383283?{..._0x43d4cb,..._0x9e5b26}:{..._0x9e5b26,..._0x43d4cb};}this[_0x659adf(0x218)][_0x659adf(0x175)](_0x1f7f2b,_0x9e5b26);}[_0x1dd468(0x1fa)](_0x46b467){const _0x375804=_0x1dd468,_0x5484d4=this[_0x375804(0x16a)][_0x375804(0x1f3)]();_0x5484d4[_0x375804(0x161)](),_0x5484d4[_0x375804(0x1cb)]();const _0x38a94e=_0x5484d4[_0x375804(0x20b)](_0x93b495=>_0x93b495[_0x375804(0x1ac)]<=_0x46b467)[_0x375804(0x1ac)];return _0x38a94e<this[_0x375804(0x183)]?this[_0x375804(0x183)]:_0x38a94e;}[_0x1dd468(0x15f)](_0xced57d){const _0x1156ab=_0x1dd468,_0x334e50=this[_0x1156ab(0x16a)][_0x1156ab(0x195)](this[_0x1156ab(0x16a)][_0x1156ab(0x212)]-0x1);if(_0x334e50)this[_0x1156ab(0x1da)]=_0x334e50['id'];else{const _0x858647=!this[_0x1156ab(0x1e6)][_0x1156ab(0x19a)][_0x1156ab(0x1bb)][_0x1156ab(0x17f)][_0x1156ab(0x20b)](_0x4bc47e=>this[_0x1156ab(0x1e6)][_0x1156ab(0x19a)][_0x1156ab(0x159)](_0x4bc47e)),_0x2585f2=this[_0x1156ab(0x1e6)][_0x1156ab(0x1b4)][_0x1156ab(0x1e4)](_0x1156ab(0x148))['me']['id'],_0x4c5103=_0x1df910(this[_0x1156ab(0x1e6)][_0x1156ab(0x1b8)],_0x858647?_0x1156ab(0x180):_0x1156ab(0x207));this[_0x1156ab(0x17b)]({'from':_0xced57d,'to':_0xced57d,'id':this[_0x1156ab(0x1da)],'name':_0x4c5103,'creatorId':_0x2585f2});}}[_0x1dd468(0x187)](_0x36cde7){const _0x487758=_0x1dd468,_0x2092f5=this[_0x487758(0x209)][_0x487758(0x17d)]();this[_0x487758(0x1f8)]=this[_0x487758(0x16a)][_0x487758(0x195)](_0x2092f5),this[_0x487758(0x1f8)]||(this[_0x487758(0x1f8)]=this[_0x487758(0x17b)]({'from':_0x36cde7,'to':_0x36cde7,'id':_0x2092f5,'name':'','creatorId':null}));}[_0x1dd468(0x17b)]({name:_0x11d63f,from:_0x5d032f,to:_0x28ad32,creatorId:_0x433b6a,id:_0x2f43b9}){const _0xefbfca=_0x1dd468,_0xf0a553=this[_0xefbfca(0x138)]({'from':_0x5d032f,'to':_0x28ad32});_0xf0a553[_0xefbfca(0x1e8)]=_0x11d63f,_0xf0a553[_0xefbfca(0x191)]=_0x433b6a,_0xf0a553['id']=_0x2f43b9;const _0x4ea309=this[_0xefbfca(0x19d)](_0xf0a553);return this[_0xefbfca(0x20f)]&&this[_0xefbfca(0x149)](_0xf0a553['id'],_0xf0a553,!0x0),_0x4ea309;}[_0x1dd468(0x1db)](){const _0x1d02d1=_0x1dd468;this[_0x1d02d1(0x1e6)][_0x1d02d1(0x111)][_0x1d02d1(0x1aa)](_0x1d02d1(0x213))[_0x1d02d1(0x210)]({'model':_0x1d02d1(0x1ec)});}[_0x1dd468(0x206)](_0xb13810){const _0x236abc=_0x1dd468;return(_0xb13810=_0xb13810[_0x236abc(0x181)](_0x3646f3=>!_0x3646f3[_0x236abc(0x1e8)]||_0x236abc(0x17a)!==_0x3646f3[_0x236abc(0x1e8)]&&_0x236abc(0x1d9)!==_0x3646f3[_0x236abc(0x1e8)]))[_0x236abc(0x13e)](_0x237a18=>{const _0x1a59a8=_0x236abc;_0x1a59a8(0x139)!=typeof _0x237a18&&(_0x237a18[_0x1a59a8(0x197)]=this[_0x1a59a8(0x206)](_0x237a18[_0x1a59a8(0x197)]),_0x237a18[_0x1a59a8(0x15b)]=_0x237a18[_0x1a59a8(0x15b)][_0x1a59a8(0x181)](_0x50a057=>!_0x50a057[0x0][_0x1a59a8(0x200)](_0x1a59a8(0x1a1))));}),_0xb13810;}}function B(_0x3ad8ef,_0x2bdc01){const _0x13c53f=_0x1dd468,_0x1505dd=_0x2bdc01[_0x13c53f(0x16f)][_0x13c53f(0x1f9)][_0x13c53f(0x1bb)];if(_0x13c53f(0x139)==typeof _0x3ad8ef)return new _0x3d7caa(_0x1505dd,_0x3ad8ef);{const _0x2e9f71=_0x3ad8ef[_0x13c53f(0x197)][_0x13c53f(0x109)](_0x3c60aa=>B(_0x3c60aa,_0x2bdc01));return new(T[_0x3ad8ef[(_0x13c53f(0x134))]]||_0x447522)(_0x1505dd,_0x3ad8ef[_0x13c53f(0x1e8)],_0x3ad8ef[_0x13c53f(0x15b)],_0x2e9f71);}}class J{constructor(_0x219e1b){const _0x237e0b=_0x1dd468;this[_0x237e0b(0x1e6)]=_0x219e1b,this[_0x237e0b(0x1a2)]=new Map(),this[_0x237e0b(0x21e)]=-0x1,this[_0x237e0b(0x211)]=-0x1,this[_0x237e0b(0x21c)]=new Map(),this[_0x237e0b(0x154)]=new Map(),this[_0x237e0b(0x1eb)]=new Map(),this[_0x237e0b(0x1ed)]=new Map(),this[_0x237e0b(0x178)]=new Map(),this[_0x237e0b(0x156)]=new Map(),this[_0x237e0b(0x126)]=new Map(),this[_0x237e0b(0x214)]=new Map(),this[_0x237e0b(0x222)]=new Map(),this[_0x237e0b(0x1e0)]=new Map(),this[_0x237e0b(0x205)]=0x1;}[_0x1dd468(0x1d2)](_0x323dfc){const _0xbeedfa=_0x1dd468;this[_0xbeedfa(0x1c2)]=_0x323dfc;const _0x4f1d24=new Map(),_0x46c2c8=new Map(),_0x3b7c70=this[_0xbeedfa(0x1e6)][_0xbeedfa(0x19a)][_0xbeedfa(0x1bb)][_0xbeedfa(0x17f)][_0xbeedfa(0x109)](_0x13aeed=>_0x13aeed[_0xbeedfa(0x1c9)]);for(const _0x3af313 of _0x3b7c70){const _0x44e726=this[_0xbeedfa(0x1e6)][_0xbeedfa(0x19a)][_0xbeedfa(0x1bb)][_0xbeedfa(0x199)](_0x3af313),_0x17214f=q(_0x44e726);_0x4f1d24[_0xbeedfa(0x175)](_0x3af313,_0x17214f),_0x46c2c8[_0xbeedfa(0x175)](_0x3af313,Object[_0xbeedfa(0x1b6)](_0x44e726[_0xbeedfa(0x10a)]()));}const _0x3a472b=Array[_0xbeedfa(0x223)](this[_0xbeedfa(0x1e6)][_0xbeedfa(0x19a)][_0xbeedfa(0x121)])[_0xbeedfa(0x109)](_0x44a890=>[_0x44a890[_0xbeedfa(0x1e8)],_0x44a890[_0xbeedfa(0x202)]()]),_0x27c83f=this[_0xbeedfa(0x1c2)][_0xbeedfa(0x168)];this[_0xbeedfa(0x11c)](_0x27c83f,_0x4f1d24,_0x3a472b,_0x46c2c8),this[_0xbeedfa(0x179)]=this[_0xbeedfa(0x205)];const _0x1fbea7=new Map(),_0x453927=new Map();for(const _0x346893 of _0x3b7c70){const _0x18bbc9=G(_0x346893);_0x1fbea7[_0xbeedfa(0x175)](_0x346893,_0x18bbc9),_0x453927[_0xbeedfa(0x175)](_0x346893,{});}this[_0xbeedfa(0x11c)](Number[_0xbeedfa(0x1b3)],_0x1fbea7,[],_0x453927);}[_0x1dd468(0x1a3)](_0x20bb09,_0x25ebd7){const _0x3f76a4=_0x1dd468;if(this[_0x3f76a4(0x21e)]===_0x20bb09&&this[_0x3f76a4(0x211)]<=_0x25ebd7)this[_0x3f76a4(0x1a2)][_0x3f76a4(0x1b7)]>0x1&&this[_0x3f76a4(0x132)](this[_0x3f76a4(0x211)]),this[_0x3f76a4(0x11a)](this[_0x3f76a4(0x211)],_0x25ebd7,!0x0);else{if(!this[_0x3f76a4(0x1a2)][_0x3f76a4(0x1c5)](_0x20bb09)){const _0x1634b6=this[_0x3f76a4(0x18f)](_0x20bb09);this[_0x3f76a4(0x146)](_0x1634b6,_0x20bb09,!0x1);}this[_0x3f76a4(0x146)](_0x20bb09,_0x25ebd7,!0x0);}return this[_0x3f76a4(0x21e)]=_0x20bb09,this[_0x3f76a4(0x211)]=_0x25ebd7,this[_0x3f76a4(0x1f5)]();}[_0x1dd468(0x128)](_0x23b855){const _0x1dc17d=_0x1dd468;this[_0x1dc17d(0x150)](),this[_0x1dc17d(0x21e)]=_0x23b855[_0x1dc17d(0x140)],this[_0x1dc17d(0x211)]=_0x23b855[_0x1dc17d(0x1ac)];for(const _0x235645 in _0x23b855[_0x1dc17d(0x19f)]){const _0x4b148a=_0x23b855[_0x1dc17d(0x19f)][_0x235645][_0x1dc17d(0x190)],_0x9b54af=_0x46f555(_0x23b855[_0x1dc17d(0x19f)][_0x235645][_0x1dc17d(0x1ce)])||{},_0x112449=this[_0x1dc17d(0x103)](_0x23b855[_0x1dc17d(0x19f)][_0x235645][_0x1dc17d(0x1e2)]);_0x112449[_0x1dc17d(0x1c9)]=_0x235645,_0x112449[_0x1dc17d(0x1be)]=!_0x4b148a||!_0x4b148a[_0x1dc17d(0x11e)],_0x112449[_0x1dc17d(0x11e)]=()=>_0x112449[_0x1dc17d(0x1be)],this[_0x1dc17d(0x1ed)][_0x1dc17d(0x175)](_0x235645,_0x112449),this[_0x1dc17d(0x178)][_0x1dc17d(0x175)](_0x235645,_0x9b54af),_0x4b148a&&this[_0x1dc17d(0x1e0)][_0x1dc17d(0x175)](_0x235645,_0x4b148a);const _0x18401b=this[_0x1dc17d(0x1fe)](_0x112449);this[_0x1dc17d(0x126)][_0x1dc17d(0x175)](_0x235645,_0x18401b);for(const [_0x2054e9,_0x1a8357]of _0x112449[_0x1dc17d(0x121)]){if(!_0x2054e9[_0x1dc17d(0x200)](_0x1dc17d(0x1ea)))continue;const _0x5c9dbc=_0x2054e9[_0x1dc17d(0x1ab)](':')[0x2];for(const _0x12c6c2 of _0x1a8357[_0x1dc17d(0x1ba)]({'singleCharacters':!0x0})){const _0x1e3ada=this[_0x1dc17d(0x208)](_0x12c6c2),_0x43954e=_0x1dc17d(0x107)==_0x12c6c2[_0x1dc17d(0x134)]?_0x12c6c2[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)][_0x1dc17d(0x1fd)](0x0,-0x1):_0x12c6c2[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)],_0x16eaf5=_0x18401b[_0x1dc17d(0x188)](_0x43954e)[_0x1dc17d(0x13f)](_0x1e3ada);this[_0x1dc17d(0x214)][_0x1dc17d(0x175)](_0x16eaf5,{'userId':_0x5c9dbc});}}}this[_0x1dc17d(0x179)]=this[_0x1dc17d(0x205)];const _0x555f13=[...Array(this[_0x1dc17d(0x205)])[_0x1dc17d(0x1ff)]()][_0x1dc17d(0x1fd)](0x1)[_0x1dc17d(0x181)](_0x2f5dd6=>!this[_0x1dc17d(0x214)][_0x1dc17d(0x1c5)](_0x2f5dd6));let _0xec875b=0x0;const _0x582ad7=new Map();for(const _0x317caa in _0x23b855[_0x1dc17d(0x19f)]){const _0x41d23e=_0x23b855[_0x1dc17d(0x19f)][_0x317caa][_0x1dc17d(0x190)],_0x35eff6=_0x46f555(_0x23b855[_0x1dc17d(0x19f)][_0x317caa][_0x1dc17d(0x1cc)])||{},_0xf69aff=this[_0x1dc17d(0x103)](_0x23b855[_0x1dc17d(0x19f)][_0x317caa][_0x1dc17d(0x1f6)]);_0xf69aff[_0x1dc17d(0x1c9)]=_0x317caa,_0xf69aff[_0x1dc17d(0x1be)]=!_0x41d23e||_0x41d23e[_0x1dc17d(0x11e)],_0xf69aff[_0x1dc17d(0x11e)]=()=>_0xf69aff[_0x1dc17d(0x1be)],this[_0x1dc17d(0x154)][_0x1dc17d(0x175)](_0x317caa,_0xf69aff),this[_0x1dc17d(0x1eb)][_0x1dc17d(0x175)](_0x317caa,_0x35eff6);const _0x32e637=this[_0x1dc17d(0x1fe)](_0xf69aff,Number[_0x1dc17d(0x1b3)]);this[_0x1dc17d(0x156)][_0x1dc17d(0x175)](_0x317caa,_0x32e637),_0x582ad7[_0x1dc17d(0x175)](_0x317caa,_0xf69aff[_0x1dc17d(0x11e)]()?_0x35eff6:{});for(const [_0x5daf81,_0x21551b]of _0xf69aff[_0x1dc17d(0x121)]){if(!_0x5daf81[_0x1dc17d(0x200)](_0x1dc17d(0x1ea)))continue;const _0x4d74e5=_0x5daf81[_0x1dc17d(0x1ab)](':')[0x2];for(const _0x3e2483 of _0x21551b[_0x1dc17d(0x1ba)]({'singleCharacters':!0x0})){const _0x3aaef8=this[_0x1dc17d(0x208)](_0x3e2483),_0x9045ce=this[_0x1dc17d(0x205)]++,_0x4a3512=_0x1dc17d(0x107)==_0x3e2483[_0x1dc17d(0x134)]?_0x3e2483[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)][_0x1dc17d(0x1fd)](0x0,-0x1):_0x3e2483[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)];_0x32e637[_0x1dc17d(0x188)](_0x4a3512)[_0x1dc17d(0x141)](_0x3aaef8,_0x9045ce),this[_0x1dc17d(0x214)][_0x1dc17d(0x175)](_0x9045ce,{'userId':_0x4d74e5});}}for(const _0x5ee377 of this[_0x1dc17d(0x1e6)][_0x1dc17d(0x19a)][_0x1dc17d(0x167)](_0xf69aff)[_0x1dc17d(0x1ba)]({'singleCharacters':!0x0})){const _0x2cc79f=this[_0x1dc17d(0x208)](_0x5ee377),_0x245935=_0x1dc17d(0x107)==_0x5ee377[_0x1dc17d(0x134)]?_0x5ee377[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)][_0x1dc17d(0x1fd)](0x0,-0x1):_0x5ee377[_0x1dc17d(0x12e)][_0x1dc17d(0x21a)],_0x1f03db=_0x32e637[_0x1dc17d(0x188)](_0x245935);_0x1f03db[_0x1dc17d(0x13f)](_0x2cc79f)>0x0||_0x1f03db[_0x1dc17d(0x141)](_0x2cc79f,_0x555f13[_0xec875b++]);}for(const [_0x14b21f,_0x12eb59]of _0xf69aff[_0x1dc17d(0x121)])_0x14b21f[_0x1dc17d(0x200)](_0x1dc17d(0x1ea))||this[_0x1dc17d(0x21c)][_0x1dc17d(0x175)](_0x14b21f,_0x12eb59);}const _0x4b5f20=G(_0x1dc17d(0x15c));this[_0x1dc17d(0x1ed)][_0x1dc17d(0x175)](_0x1dc17d(0x15c),_0x4b5f20),this[_0x1dc17d(0x126)][_0x1dc17d(0x175)](_0x1dc17d(0x15c),this[_0x1dc17d(0x1fe)](_0x4b5f20,0x1));const _0x1e7197=G(_0x1dc17d(0x15c));this[_0x1dc17d(0x154)][_0x1dc17d(0x175)](_0x1dc17d(0x15c),_0x1e7197),this[_0x1dc17d(0x156)][_0x1dc17d(0x175)](_0x1dc17d(0x15c),this[_0x1dc17d(0x1fe)](_0x1e7197,0x1));const _0x188dbd=Array[_0x1dc17d(0x223)](this[_0x1dc17d(0x154)])[_0x1dc17d(0x109)](([_0x49f070,_0x353954])=>[_0x49f070,q(_0x353954)]);this[_0x1dc17d(0x11c)](this[_0x1dc17d(0x211)],_0x188dbd,this[_0x1dc17d(0x21c)],_0x582ad7);}[_0x1dd468(0x103)](_0x3b7e1b){const _0x3ebd9c=_0x1dd468,_0x4c3b03=JSON[_0x3ebd9c(0x1a4)](_0x3b7e1b),_0x1713f7=this[_0x3ebd9c(0x1e6)][_0x3ebd9c(0x16f)][_0x3ebd9c(0x1f9)][_0x3ebd9c(0x1bb)],_0x4dc31c=new _0x537145(_0x1713f7,_0x4c3b03[_0x3ebd9c(0x109)](_0x167d41=>B(_0x167d41,this[_0x3ebd9c(0x1e6)])));return this[_0x3ebd9c(0x1e6)][_0x3ebd9c(0x14d)][_0x3ebd9c(0x1d1)](_0x4dc31c);}[_0x1dd468(0x11c)](_0x5687ee,_0xac899,_0x54cf00,_0x599a79){const _0x117c72=_0x1dd468,_0x5d1a18=new Map(_0xac899),_0x146df1=new Map(_0x46f555(_0x599a79)),_0x240f1a=new Map();for(const [_0x566186,_0xf07ad8]of _0x54cf00)_0x240f1a[_0x117c72(0x175)](_0x566186,{'start':_0xf07ad8[_0x117c72(0x225)][_0x117c72(0x1c4)](),'end':_0xf07ad8[_0x117c72(0x1cf)][_0x117c72(0x1c4)](),'rootName':_0xf07ad8[_0x117c72(0x170)][_0x117c72(0x1c9)]});this[_0x117c72(0x1a2)][_0x117c72(0x175)](_0x5687ee,{'roots':_0x5d1a18,'markers':_0x240f1a,'rootsAttributes':_0x146df1});}[_0x1dd468(0x132)](_0x525261){const _0x395fc3=_0x1dd468;this[_0x395fc3(0x1a2)][_0x395fc3(0x20a)](_0x525261);}[_0x1dd468(0x18d)](){const _0x2e0bc6=_0x1dd468;this[_0x2e0bc6(0x150)](),this[_0x2e0bc6(0x21e)]=-0x1,this[_0x2e0bc6(0x211)]=-0x1,this[_0x2e0bc6(0x1a2)][_0x2e0bc6(0x20d)](),this[_0x2e0bc6(0x1d2)](this[_0x2e0bc6(0x1c2)]);}[_0x1dd468(0x150)](){const _0x4fc9de=_0x1dd468;this[_0x4fc9de(0x214)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x222)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x1e0)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x154)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x1eb)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x1ed)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x178)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x156)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x126)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x21c)][_0x4fc9de(0x20d)](),this[_0x4fc9de(0x205)]=0x1,this[_0x4fc9de(0x179)]=this[_0x4fc9de(0x205)];}[_0x1dd468(0x1fe)](_0x190fd9,_0xddf46=null){const _0x3fe2c9=_0x1dd468;let _0x450c7b=null;_0x190fd9['is'](_0x3fe2c9(0x13b))||(_0x450c7b=new _0x4c3aa2(_0x190fd9[_0x3fe2c9(0x1e8)],{'vid_start':null===_0xddf46?this[_0x3fe2c9(0x205)]++:_0xddf46++}));const _0x3ef3e0=[];for(const _0x59e9ed of _0x190fd9[_0x3fe2c9(0x1a7)]())if(_0x59e9ed['is'](_0x3fe2c9(0x163))){_0x3ef3e0[_0x3fe2c9(0x19b)](this[_0x3fe2c9(0x1fe)](_0x59e9ed,_0xddf46));const _0x550a57=_0x3ef3e0[_0x3ef3e0[_0x3fe2c9(0x212)]-0x1];null!==_0xddf46&&(_0xddf46=_0x550a57['is'](_0x3fe2c9(0x163),_0x3fe2c9(0x201))?_0x550a57[_0x3fe2c9(0x13f)](_0x3fe2c9(0x1b2))+0x1:_0x550a57[_0x3fe2c9(0x13f)](_0x3fe2c9(0x189))+0x1);}else{for(let _0x16d42b=0x0;_0x16d42b<_0x59e9ed[_0x3fe2c9(0x1d0)];_0x16d42b++)_0x3ef3e0[_0x3fe2c9(0x19b)](new _0x4c3aa2(_0x3fe2c9(0x201),{'vid':null===_0xddf46?this[_0x3fe2c9(0x205)]++:_0xddf46++}));}if(_0x190fd9['is'](_0x3fe2c9(0x13b))){const _0x5834d2=G(_0x190fd9[_0x3fe2c9(0x1c9)]);return _0x5834d2[_0x3fe2c9(0x1c7)](0x0,_0x3ef3e0),_0x5834d2;}return _0x450c7b[_0x3fe2c9(0x141)](_0x3fe2c9(0x189),null===_0xddf46?this[_0x3fe2c9(0x205)]++:_0xddf46++),_0x450c7b[_0x3fe2c9(0x1c7)](0x0,_0x3ef3e0),_0x450c7b;}[_0x1dd468(0x146)](_0x3c42cd,_0x5c3ef8,_0x288a97){const _0x5d960f=_0x1dd468;this[_0x5d960f(0x150)]();const {roots:_0x48a85f,markers:_0x574177,rootsAttributes:_0xcee024}=this[_0x5d960f(0x1a2)][_0x5d960f(0x1e4)](_0x3c42cd);this[_0x5d960f(0x1ed)]=new Map(_0x48a85f),this[_0x5d960f(0x178)]=new Map(_0x46f555(_0xcee024));for(const [_0x2ab498,_0x4d1f81]of this[_0x5d960f(0x1ed)])if(_0x5d960f(0x15c)!==_0x2ab498&&(this[_0x5d960f(0x154)][_0x5d960f(0x175)](_0x2ab498,q(_0x4d1f81)),this[_0x5d960f(0x1eb)]=new Map(_0x46f555(_0xcee024)),_0x288a97)){const _0x12e719=this[_0x5d960f(0x205)];this[_0x5d960f(0x156)][_0x5d960f(0x175)](_0x2ab498,this[_0x5d960f(0x1fe)](_0x4d1f81)),this[_0x5d960f(0x126)][_0x5d960f(0x175)](_0x2ab498,this[_0x5d960f(0x1fe)](_0x4d1f81,_0x12e719));}this[_0x5d960f(0x179)]=this[_0x5d960f(0x205)],this[_0x5d960f(0x154)][_0x5d960f(0x175)](_0x5d960f(0x15c),q(this[_0x5d960f(0x1ed)][_0x5d960f(0x1e4)](_0x5d960f(0x15c)))),_0x288a97&&this[_0x5d960f(0x156)][_0x5d960f(0x175)](_0x5d960f(0x15c),this[_0x5d960f(0x1fe)](this[_0x5d960f(0x1ed)][_0x5d960f(0x1e4)](_0x5d960f(0x15c))));for(const [_0x2c4a8c,_0x53c61a]of _0x574177){const _0x271721=this[_0x5d960f(0x1ed)][_0x5d960f(0x1e4)](_0x53c61a[_0x5d960f(0x1c9)]),_0x2ef898=this[_0x5d960f(0x154)][_0x5d960f(0x1e4)](_0x53c61a[_0x5d960f(0x1c9)]),_0x71323=new _0x2dca35(this[_0x5d960f(0x1f2)](_0x53c61a[_0x5d960f(0x225)],_0x271721),this[_0x5d960f(0x1f2)](_0x53c61a[_0x5d960f(0x1cf)],_0x271721)),_0x2d975e=this[_0x5d960f(0x114)](_0x71323,_0x2ef898);_0x271721[_0x5d960f(0x121)][_0x5d960f(0x175)](_0x2c4a8c,_0x71323),this[_0x5d960f(0x21c)][_0x5d960f(0x175)](_0x2c4a8c,_0x2d975e);}this[_0x5d960f(0x11a)](_0x3c42cd,_0x5c3ef8,_0x288a97);}[_0x1dd468(0x11a)](_0x4333fa,_0x4331d5,_0x55d8e1){const _0x27c2f4=_0x1dd468;for(const _0x97a07b of this[_0x27c2f4(0x1c2)][_0x27c2f4(0x108)](_0x4333fa,_0x4331d5))this[_0x27c2f4(0x22c)](_0x97a07b,_0x55d8e1);for(const _0x3e55c of this[_0x27c2f4(0x154)][_0x27c2f4(0x1e3)]())_0x3e55c[_0x27c2f4(0x121)][_0x27c2f4(0x20d)]();for(const [_0x35cd86,_0x133bcb]of this[_0x27c2f4(0x21c)]){this[_0x27c2f4(0x154)][_0x27c2f4(0x1e4)](_0x133bcb[_0x27c2f4(0x170)][_0x27c2f4(0x1c9)])[_0x27c2f4(0x121)][_0x27c2f4(0x175)](_0x35cd86,_0x133bcb[_0x27c2f4(0x1c4)]());}const _0x457fca=new Map(),_0x38f382=new Map();for(const [_0x15cadd,_0x34bd39]of this[_0x27c2f4(0x154)])_0x457fca[_0x27c2f4(0x175)](_0x15cadd,q(_0x34bd39)),_0x38f382[_0x27c2f4(0x175)](_0x15cadd,this[_0x27c2f4(0x1eb)][_0x27c2f4(0x1e4)](_0x15cadd));this[_0x27c2f4(0x11c)](_0x4331d5,_0x457fca,this[_0x27c2f4(0x21c)],_0x38f382);}[_0x1dd468(0x18f)](_0xd9176a){const _0x1adfd8=_0x1dd468,_0x30ea5b=Array[_0x1adfd8(0x223)](this[_0x1adfd8(0x1a2)][_0x1adfd8(0x1ff)]());_0x30ea5b[_0x1adfd8(0x14e)]((_0x4c6bb3,_0x2d72ec)=>_0x4c6bb3-_0x2d72ec),_0x30ea5b[_0x1adfd8(0x161)]();for(const _0x5eeb84 of _0x30ea5b)if(_0x5eeb84<_0xd9176a)return _0x5eeb84;return Number[_0x1adfd8(0x1b3)];}[_0x1dd468(0x1e7)](_0x58674b,_0x28a5f6){const _0x48d05b=_0x1dd468,_0x2796f3=Array[_0x48d05b(0x223)](_0x28a5f6[_0x48d05b(0x121)])[_0x48d05b(0x109)](([_0x7c841c,_0x59c0c5])=>[_0x7c841c,this[_0x48d05b(0x114)](_0x59c0c5,_0x58674b)]);_0x58674b[_0x48d05b(0x121)]=new Map(_0x2796f3);}[_0x1dd468(0x1c3)](_0x4094a3){const _0x500f09=_0x1dd468;for(const _0x2ae292 of this[_0x500f09(0x21c)][_0x500f09(0x1e3)]()){const _0x37a46f=_0x2ae292[_0x500f09(0x1f4)](_0x4094a3),_0x3b5b50=_0x2dca35[_0x500f09(0x19c)](_0x37a46f);_0x2ae292[_0x500f09(0x225)]=_0x3b5b50[_0x500f09(0x225)],_0x2ae292[_0x500f09(0x1cf)]=_0x3b5b50[_0x500f09(0x1cf)];}}[_0x1dd468(0x22c)](_0x54638a,_0x296e03){const _0x3783a5=_0x1dd468;if(_0x3783a5(0x16e)==_0x54638a[_0x3783a5(0x134)]||_0x3783a5(0x19e)==_0x54638a[_0x3783a5(0x134)])return void this[_0x3783a5(0x1bc)](_0x54638a,_0x296e03);if(_0x3783a5(0x13c)==_0x54638a[_0x3783a5(0x134)]){const _0x12caf8=_0x54638a[_0x3783a5(0x1a5)][_0x3783a5(0x170)][_0x3783a5(0x1c9)];this[_0x3783a5(0x154)][_0x3783a5(0x1c5)](_0x12caf8)||(this[_0x3783a5(0x154)][_0x3783a5(0x175)](_0x12caf8,G(_0x12caf8,!0x0)),this[_0x3783a5(0x1eb)][_0x3783a5(0x175)](_0x12caf8,{}),_0x296e03&&this[_0x3783a5(0x156)][_0x3783a5(0x175)](_0x12caf8,G(_0x12caf8,!0x0)));}else{if(_0x3783a5(0x220)==_0x54638a[_0x3783a5(0x134)]||_0x3783a5(0x1ad)==_0x54638a[_0x3783a5(0x134)]||_0x3783a5(0x1a0)==_0x54638a[_0x3783a5(0x134)])return void this[_0x3783a5(0x160)](_0x54638a);}const _0x4e4bfc=this[_0x3783a5(0x104)](_0x54638a,this[_0x3783a5(0x154)]);if(_0x3783a5(0x129)!==_0x54638a[_0x3783a5(0x134)]&&(_0x4e4bfc[_0x3783a5(0x1b9)](),this[_0x3783a5(0x1c3)](_0x4e4bfc)),_0x296e03)switch(_0x4e4bfc[_0x3783a5(0x134)]){case _0x3783a5(0x13c):this[_0x3783a5(0x1bf)](_0x54638a);break;case _0x3783a5(0x18c):case _0x3783a5(0x11d):case _0x3783a5(0x226):this[_0x3783a5(0x221)](_0x54638a);break;case _0x3783a5(0x1c1):this[_0x3783a5(0x13a)](_0x54638a);break;case _0x3783a5(0x1ab):this[_0x3783a5(0x173)](_0x54638a);break;case _0x3783a5(0x129):this[_0x3783a5(0x22b)](_0x54638a);}}[_0x1dd468(0x104)](_0x37c92f,_0x4d69a8){const _0x59f063=_0x1dd468,_0x496abc=_0x37c92f[_0x59f063(0x1c4)]();return _0x496abc[_0x59f063(0x123)]=_0x37c92f[_0x59f063(0x123)],this[_0x59f063(0x21b)](_0x496abc,_0x4d69a8),_0x496abc;}[_0x1dd468(0x118)](_0x3116d0){const _0x47d5f9=_0x1dd468;return _0x3116d0[_0x47d5f9(0x109)](_0x45c501=>{const _0x2bad07=_0x47d5f9,_0x1e826c=this[_0x2bad07(0x208)](_0x45c501);return Number(_0x45c501[_0x2bad07(0x131)][_0x2bad07(0x13f)](_0x1e826c));});}[_0x1dd468(0x1d3)](_0x116230,_0x5703c0){const _0x54b63d=_0x1dd468;if(_0x116230['is'](_0x54b63d(0x163),_0x54b63d(0x201)))_0x5703c0[_0x54b63d(0x19b)]({'item':_0x116230,'type':_0x54b63d(0x1c6)});else{_0x116230['is'](_0x54b63d(0x163))&&_0x5703c0[_0x54b63d(0x19b)]({'item':_0x116230,'type':_0x54b63d(0x204)});for(const _0x5d7be6 of _0x116230[_0x54b63d(0x1a7)]())this[_0x54b63d(0x1d3)](_0x5d7be6,_0x5703c0);_0x116230['is'](_0x54b63d(0x163))&&_0x5703c0[_0x54b63d(0x19b)]({'item':_0x116230,'type':_0x54b63d(0x107)});}return _0x5703c0;}[_0x1dd468(0x1f5)](){const _0x28a4e1=_0x1dd468,_0x3a4bad=new Map(this[_0x28a4e1(0x214)]),_0x120bc3=new Map(_0x3a4bad),_0x1b4559=new Map(),_0x26c1f8={'insertions':{},'deletions':{}},_0x3fd9f7={'insertions':{},'deletions':{}},_0x54d2cd=new Map(),_0x37a333=new Set([...this[_0x28a4e1(0x1ed)][_0x28a4e1(0x1ff)](),...this[_0x28a4e1(0x154)][_0x28a4e1(0x1ff)]()]);_0x37a333[_0x28a4e1(0x20a)](_0x28a4e1(0x15c));for(const _0x299241 of _0x37a333){const _0x456724=this[_0x28a4e1(0x154)][_0x28a4e1(0x1e4)](_0x299241)||G(_0x299241,!0x1),_0x708029=this[_0x28a4e1(0x1ed)][_0x28a4e1(0x1e4)](_0x299241)||G(_0x299241,!0x1);_0x456724[_0x28a4e1(0x11e)]()||_0x708029[_0x28a4e1(0x11e)]()?(_0x26c1f8[_0x28a4e1(0x1f6)][_0x299241]=q(_0x456724),_0x26c1f8[_0x28a4e1(0x1e2)][_0x299241]=q(_0x708029),this[_0x28a4e1(0x1e7)](_0x26c1f8[_0x28a4e1(0x1e2)][_0x299241],_0x708029),this[_0x28a4e1(0x1e7)](_0x26c1f8[_0x28a4e1(0x1f6)][_0x299241],_0x456724),_0x3fd9f7[_0x28a4e1(0x1f6)][_0x299241]=this[_0x28a4e1(0x1d3)](this[_0x28a4e1(0x156)][_0x28a4e1(0x1e4)](_0x299241),[]),_0x3fd9f7[_0x28a4e1(0x1e2)][_0x299241]=this[_0x28a4e1(0x1d3)](this[_0x28a4e1(0x126)][_0x28a4e1(0x1e4)](_0x299241)||G(_0x299241,!0x1),[])):_0x37a333[_0x28a4e1(0x20a)](_0x299241);}for(const _0x14e8f0 of _0x37a333){const _0x250173=_0x3fd9f7[_0x28a4e1(0x1f6)][_0x14e8f0];for(const _0x32e50d of _0x250173){const _0x49f9ac=this[_0x28a4e1(0x208)](_0x32e50d),_0x4e337d=_0x32e50d[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x49f9ac);_0x120bc3[_0x28a4e1(0x20a)](_0x4e337d),_0x4e337d>=this[_0x28a4e1(0x179)]&&_0x1b4559[_0x28a4e1(0x175)](_0x4e337d,_0x3a4bad[_0x28a4e1(0x1e4)](_0x4e337d));}}for(const _0x1cd313 of _0x37a333){const _0x5638aa=_0x3fd9f7[_0x28a4e1(0x1f6)][_0x1cd313],_0x21799a=this[_0x28a4e1(0x118)](_0x3fd9f7[_0x28a4e1(0x1e2)][_0x1cd313]);let _0x3843c0=0x0;for(const _0x1976c0 of _0x5638aa){const _0x28169c=this[_0x28a4e1(0x208)](_0x1976c0),_0x105b0a=_0x1976c0[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x28169c);if(!_0x1b4559[_0x28a4e1(0x1c5)](_0x105b0a)&&!_0x54d2cd[_0x28a4e1(0x1c5)](_0x105b0a)){if(_0x120bc3[_0x28a4e1(0x1c5)](_0x105b0a))_0x3843c0++;else{if(_0x105b0a!=_0x21799a[_0x3843c0]){const _0x5b85a0=_0x3a4bad[_0x28a4e1(0x1e4)](_0x105b0a)||_0x3a4bad[_0x28a4e1(0x1e4)](_0x21799a[_0x3843c0]);for(;_0x105b0a!=_0x21799a[_0x3843c0];)_0x120bc3[_0x28a4e1(0x1c5)](_0x21799a[_0x3843c0])||(_0x54d2cd[_0x28a4e1(0x175)](_0x21799a[_0x3843c0],_0x5b85a0),_0x3a4bad[_0x28a4e1(0x175)](_0x21799a[_0x3843c0],_0x5b85a0)),_0x3843c0++;}_0x3843c0++;}}}}for(const _0x20933b of _0x37a333){const _0x42d900=_0x3fd9f7[_0x28a4e1(0x1f6)][_0x20933b];for(const _0x2a08c6 of _0x42d900){const _0x10835e=this[_0x28a4e1(0x208)](_0x2a08c6),_0x152fdd=_0x2a08c6[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x10835e);if(_0x54d2cd[_0x28a4e1(0x1c5)](_0x152fdd)){const _0x48dc5e=_0x54d2cd[_0x28a4e1(0x1e4)](_0x152fdd);_0x120bc3[_0x28a4e1(0x1c5)](_0x152fdd)||_0x120bc3[_0x28a4e1(0x175)](_0x152fdd,{..._0x48dc5e}),_0x1b4559[_0x28a4e1(0x175)](_0x152fdd,{..._0x48dc5e});}}}for(const _0x377f20 of _0x120bc3[_0x28a4e1(0x1ff)]())_0x377f20>=this[_0x28a4e1(0x179)]&&_0x120bc3[_0x28a4e1(0x20a)](_0x377f20);const _0x465867=new Map();for(const _0x5cccfd of _0x37a333){let _0x5e68cb=_0x3fd9f7[_0x28a4e1(0x1f6)][_0x5cccfd];for(const _0x3e7352 of _0x5e68cb)if(_0x3e7352[_0x28a4e1(0x131)]['is'](_0x28a4e1(0x163),_0x28a4e1(0x194))){const _0x26859f=this[_0x28a4e1(0x208)](_0x3e7352),_0x5d91ac=_0x3e7352[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x26859f);if(_0x1b4559[_0x28a4e1(0x1c5)](_0x5d91ac)){const _0x1f9b19=_0x3e7352[_0x28a4e1(0x131)][_0x28a4e1(0x145)][_0x28a4e1(0x145)][_0x28a4e1(0x13f)](_0x28a4e1(0x136)),_0x461e2f=_0x465867[_0x28a4e1(0x1e4)](_0x1f9b19)||new Set();_0x461e2f[_0x28a4e1(0x1dc)](_0x1b4559[_0x28a4e1(0x1e4)](_0x5d91ac)[_0x28a4e1(0x147)]),_0x465867[_0x28a4e1(0x175)](_0x1f9b19,_0x461e2f);}}_0x5e68cb=_0x3fd9f7[_0x28a4e1(0x1e2)][_0x5cccfd];for(const _0x11ed58 of _0x5e68cb)if(_0x11ed58[_0x28a4e1(0x131)]['is'](_0x28a4e1(0x163),_0x28a4e1(0x194))){const _0x8ebb09=this[_0x28a4e1(0x208)](_0x11ed58),_0x373127=_0x11ed58[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x8ebb09);if(_0x120bc3[_0x28a4e1(0x1c5)](_0x373127)){const _0x3d16a5=_0x11ed58[_0x28a4e1(0x131)][_0x28a4e1(0x145)][_0x28a4e1(0x145)][_0x28a4e1(0x13f)](_0x28a4e1(0x136)),_0x2b8873=_0x465867[_0x28a4e1(0x1e4)](_0x3d16a5)||new Set();_0x2b8873[_0x28a4e1(0x1dc)](_0x120bc3[_0x28a4e1(0x1e4)](_0x373127)[_0x28a4e1(0x147)]),_0x465867[_0x28a4e1(0x175)](_0x3d16a5,_0x2b8873);}}for(const _0x2ca298 of _0x465867[_0x28a4e1(0x1ff)]())(_0x1b4559[_0x28a4e1(0x1c5)](_0x2ca298)||_0x120bc3[_0x28a4e1(0x1c5)](_0x2ca298))&&_0x465867[_0x28a4e1(0x20a)](_0x2ca298);}for(const _0x3c7bfa of _0x37a333){const _0x4a6358=_0x3fd9f7[_0x28a4e1(0x1f6)][_0x3c7bfa];let _0x3b484c=null,_0x191a92=null;for(const _0x439847 of _0x4a6358){const _0x72d8d6=this[_0x28a4e1(0x208)](_0x439847),_0xe35a08=_0x439847[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x72d8d6),_0x1fca70=_0x465867[_0x28a4e1(0x1e4)](_0xe35a08);_0x1fca70&&_0x28a4e1(0x204)==_0x439847[_0x28a4e1(0x134)]&&(_0x3b484c=Array[_0x28a4e1(0x223)](_0x1fca70)[0x0],_0x191a92=_0x439847[_0x28a4e1(0x131)][_0x28a4e1(0x13f)](_0x28a4e1(0x189))),_0x3b484c&&(_0x120bc3[_0x28a4e1(0x175)](_0xe35a08,{'userId':_0x3b484c}),_0x1b4559[_0x28a4e1(0x175)](_0xe35a08,{'userId':_0x3b484c})),_0xe35a08==_0x191a92&&(_0x3b484c=null,_0x191a92=null);}}const _0xd066cc={},_0x3c0dd1=new Set();for(const _0x551b3a of _0x37a333){const _0x2fad50=_0x26c1f8[_0x28a4e1(0x1e2)][_0x551b3a],_0x158b0f=_0x26c1f8[_0x28a4e1(0x1f6)][_0x551b3a];for(const {userId:_0x5a59f5}of this[_0x28a4e1(0x222)][_0x28a4e1(0x1e3)]())null!==_0x5a59f5&&_0x3c0dd1[_0x28a4e1(0x1dc)](_0x5a59f5);for(const {userId:_0x5455b6}of this[_0x28a4e1(0x1e0)][_0x28a4e1(0x1e3)]())null!==_0x5455b6&&_0x3c0dd1[_0x28a4e1(0x1dc)](_0x5455b6);this[_0x28a4e1(0x157)](_0x158b0f,_0x3fd9f7[_0x28a4e1(0x1f6)][_0x551b3a],_0x1b4559,_0x28a4e1(0x115),_0x3c0dd1),this[_0x28a4e1(0x157)](_0x2fad50,_0x3fd9f7[_0x28a4e1(0x1e2)][_0x551b3a],_0x120bc3,_0x28a4e1(0x14a),_0x3c0dd1),_0xd066cc[_0x551b3a]={'insertions':this[_0x28a4e1(0x1c8)](_0x158b0f),'deletions':this[_0x28a4e1(0x1c8)](_0x2fad50),'attachChange':this[_0x28a4e1(0x1e0)][_0x28a4e1(0x1e4)](_0x551b3a)||null,'attributesBefore':_0x46f555(this[_0x28a4e1(0x178)][_0x28a4e1(0x1e4)](_0x551b3a))||{},'attributesAfter':_0x46f555(this[_0x28a4e1(0x1eb)][_0x28a4e1(0x1e4)](_0x551b3a))};}return{'diffData':_0xd066cc,'authorsIds':Array[_0x28a4e1(0x223)](_0x3c0dd1)};}[_0x1dd468(0x127)](_0x12d74d){const _0x33fc52=_0x1dd468;for(const [,_0x2cc58a]of _0x12d74d[_0x33fc52(0x121)]){const _0x4d28fa=_0x2cc58a[_0x33fc52(0x225)][_0x33fc52(0x1a9)]()[_0x33fc52(0x181)](_0x2af1ee=>_0x33fc52(0x194)==_0x2af1ee[_0x33fc52(0x1e8)]);for(const _0x50659e of _0x4d28fa)0x1==_0x50659e[_0x33fc52(0x13d)]&&_0x50659e[_0x33fc52(0x137)](0x0)['is'](_0x33fc52(0x163),_0x33fc52(0x1bd))&&_0x50659e[_0x33fc52(0x137)](0x0)[_0x33fc52(0x141)](_0x33fc52(0x1fb),!0x0);}}[_0x1dd468(0x1c8)](_0x3f497f){const _0x3b2083=_0x1dd468;this[_0x3b2083(0x127)](_0x3f497f);const _0x128f07=this[_0x3b2083(0x1e6)][_0x3b2083(0x14d)][_0x3b2083(0x20c)](_0x3f497f,{}),_0x438aa5=Array[_0x3b2083(0x223)](_0x128f07[_0x3b2083(0x1a7)]())[_0x3b2083(0x109)](_0x46bf32=>this[_0x3b2083(0x1ee)](_0x46bf32));return JSON[_0x3b2083(0x11f)](_0x438aa5);}[_0x1dd468(0x1ee)](_0x3a1006){const _0x29a95d=_0x1dd468;if(_0x3a1006['is'](_0x29a95d(0x201)))return _0x3a1006[_0x29a95d(0x14d)];{const _0x4253ea=_0x3a1006;return{'type':Object[_0x29a95d(0x1ff)](T)[_0x29a95d(0x20b)](_0x424f0b=>_0x3a1006 instanceof T[_0x424f0b]),'name':_0x4253ea[_0x29a95d(0x1e8)],'attributes':Array[_0x29a95d(0x223)](_0x4253ea[_0x29a95d(0x10a)]()),'children':Array[_0x29a95d(0x223)](_0x4253ea[_0x29a95d(0x1a7)]())[_0x29a95d(0x109)](_0x10e3f7=>this[_0x29a95d(0x1ee)](_0x10e3f7))};}}[_0x1dd468(0x157)](_0x307fa1,_0x15b45f,_0x1486e0,_0x489f03,_0x3ab330){const _0x1f0feb=_0x1dd468;let _0x1af827=null,_0x2946c6=null,_0x5a4edf=0x0;const _0x29ca98=this[_0x1f0feb(0x1e6)][_0x1f0feb(0x19a)];for(let _0x372a6e=0x0;_0x372a6e<_0x15b45f[_0x1f0feb(0x212)];_0x372a6e++){const _0x2aa54e=this[_0x1f0feb(0x208)](_0x15b45f[_0x372a6e]),_0x4756ef=_0x15b45f[_0x372a6e][_0x1f0feb(0x131)][_0x1f0feb(0x13f)](_0x2aa54e),_0x1c918d=_0x1486e0[_0x1f0feb(0x1e4)](_0x4756ef),_0x5cc59d=_0x372a6e==_0x15b45f[_0x1f0feb(0x212)]-0x1;(!_0x1af827&&_0x1c918d&&(_0x1af827=_0x1c918d,_0x2946c6=_0x15b45f[_0x372a6e]),_0x1af827&&(!_0x1c918d||_0x1c918d[_0x1f0feb(0x147)]!=_0x1af827[_0x1f0feb(0x147)]))&&(_0x467807(_0x1c918d,L(_0x2946c6,_0x307fa1,_0x29ca98),L(_0x15b45f[_0x372a6e],_0x307fa1,_0x29ca98)),_0x1af827=_0x1c918d||null,_0x2946c6=_0x1c918d?_0x15b45f[_0x372a6e]:null),_0x1af827&&_0x5cc59d&&_0x467807(_0x1c918d,L(_0x2946c6,_0x307fa1,_0x29ca98),W(_0x15b45f[_0x372a6e],_0x307fa1,_0x29ca98));}function _0x467807(_0x27b7a3,_0x35eb90,_0x26a835){const _0x5bbcac=_0x1f0feb,_0x29df10=_0x1af827[_0x5bbcac(0x147)],_0x5c4b0c=_0x5bbcac(0x1ea)+_0x489f03+':'+_0x29df10+':'+_0x5a4edf++,_0x4b3afa=_0x29ca98[_0x5bbcac(0x177)](_0x35eb90,_0x26a835);_0x307fa1[_0x5bbcac(0x121)][_0x5bbcac(0x175)](_0x5c4b0c,_0x4b3afa),null!==_0x29df10&&_0x3ab330[_0x5bbcac(0x1dc)](_0x29df10);}}[_0x1dd468(0x208)](_0x55a84d){const _0x2bb127=_0x1dd468;switch(_0x55a84d[_0x2bb127(0x134)]){case _0x2bb127(0x204):return _0x2bb127(0x136);case _0x2bb127(0x107):return _0x2bb127(0x189);default:return _0x2bb127(0x1b2);}}[_0x1dd468(0x21b)](_0x2bc56a,_0x3f85ee){const _0x1edb88=_0x1dd468;_0x2bc56a[_0x1edb88(0x10b)]=null;for(const _0x45c64b in _0x2bc56a){const _0x3eeeaa=_0x2bc56a[_0x45c64b];if(_0x3eeeaa instanceof _0x5c172e){const _0x48d513=_0x3f85ee[_0x1edb88(0x1e4)](_0x3eeeaa[_0x1edb88(0x170)][_0x1edb88(0x1c9)]);_0x2bc56a[_0x45c64b]=this[_0x1edb88(0x1f2)](_0x3eeeaa,_0x48d513);}if(_0x3eeeaa instanceof _0x2dca35){const _0x36d97c=_0x3f85ee[_0x1edb88(0x1e4)](_0x3eeeaa[_0x1edb88(0x170)][_0x1edb88(0x1c9)]);_0x2bc56a[_0x45c64b]=this[_0x1edb88(0x114)](_0x3eeeaa,_0x36d97c);}_0x1edb88(0x170)===_0x45c64b&&(_0x2bc56a[_0x1edb88(0x170)]=_0x3f85ee[_0x1edb88(0x1e4)](_0x2bc56a[_0x1edb88(0x170)][_0x1edb88(0x1c9)]));}}[_0x1dd468(0x114)](_0x169025,_0x3d2298){const _0x2bf945=_0x1dd468;return this[_0x2bf945(0x1e6)][_0x2bf945(0x19a)][_0x2bf945(0x177)](this[_0x2bf945(0x1f2)](_0x169025[_0x2bf945(0x225)],_0x3d2298),this[_0x2bf945(0x1f2)](_0x169025[_0x2bf945(0x1cf)],_0x3d2298));}[_0x1dd468(0x1f2)](_0x229120,_0x5b5f7d){const _0x5ce26c=_0x1dd468;return this[_0x5ce26c(0x1e6)][_0x5ce26c(0x19a)][_0x5ce26c(0x1b0)](_0x5b5f7d,_0x229120[_0x5ce26c(0x21a)],_0x229120[_0x5ce26c(0x142)]);}[_0x1dd468(0x1bf)](_0xcb2020){const _0x558e6f=_0x1dd468,_0xc3270e=this[_0x558e6f(0x156)][_0x558e6f(0x1e4)](_0xcb2020[_0x558e6f(0x1a5)][_0x558e6f(0x170)][_0x558e6f(0x1c9)]),_0x416185=this[_0x558e6f(0x1f2)](_0xcb2020[_0x558e6f(0x1a5)],_0xc3270e),_0x326792=null===_0xcb2020[_0x558e6f(0x123)]?null:_0xcb2020[_0x558e6f(0x123)]||this[_0x558e6f(0x1e6)][_0x558e6f(0x1b4)][_0x558e6f(0x1e4)](_0x558e6f(0x148))['me']['id'],_0x16002c=_0x416185[_0x558e6f(0x145)],_0x59fef0=this[_0x558e6f(0x205)],_0xaed61e=[];for(const _0x2abdba of _0xcb2020[_0x558e6f(0x219)])if(_0x2abdba['is'](_0x558e6f(0x163)))_0xaed61e[_0x558e6f(0x19b)](this[_0x558e6f(0x1fe)](_0x2abdba));else{for(let _0x5ad15a=0x0;_0x5ad15a<_0x2abdba[_0x558e6f(0x1d0)];_0x5ad15a++)_0xaed61e[_0x558e6f(0x19b)](new _0x4c3aa2(_0x558e6f(0x201),{'vid':this[_0x558e6f(0x205)]++}));}const _0x1e3cf7=this[_0x558e6f(0x205)];for(let _0x15fbfc=_0x59fef0;_0x15fbfc<_0x1e3cf7;_0x15fbfc++)this[_0x558e6f(0x214)][_0x558e6f(0x175)](_0x15fbfc,{'userId':_0x326792});_0x16002c[_0x558e6f(0x1c7)](_0x416185[_0x558e6f(0x216)],_0xaed61e);}[_0x1dd468(0x221)](_0x608a4f){const _0x538d59=_0x1dd468;(_0x608a4f=this[_0x538d59(0x104)](_0x608a4f,this[_0x538d59(0x156)]))[_0x538d59(0x1b9)]();const _0xa14e33=null===_0x608a4f[_0x538d59(0x123)]?null:_0x608a4f[_0x538d59(0x123)]||this[_0x538d59(0x1e6)][_0x538d59(0x1b4)][_0x538d59(0x1e4)](_0x538d59(0x148))['me']['id'],_0x26d052=_0x608a4f[_0x538d59(0x1b1)](),_0x2a47eb=_0x26d052[_0x538d59(0x145)],_0x250ab2=_0x26d052[_0x538d59(0x216)];!function _0x1a10f4(_0x5c3120,_0x5e41f5,_0x59113d,_0x185374){const _0x5a1f4a=_0x538d59;for(let _0x141741=_0x59113d;_0x141741<_0x185374;_0x141741++){const _0x1d3e0a=_0x5e41f5[_0x5a1f4a(0x137)](_0x141741);_0x1d3e0a['is'](_0x5a1f4a(0x163),_0x5a1f4a(0x201))?_0x5c3120[_0x5a1f4a(0x175)](_0x1d3e0a[_0x5a1f4a(0x13f)](_0x5a1f4a(0x1b2)),{'userId':_0xa14e33}):(_0x5c3120[_0x5a1f4a(0x175)](_0x1d3e0a[_0x5a1f4a(0x13f)](_0x5a1f4a(0x136)),{'userId':_0xa14e33}),_0x1a10f4(_0x5c3120,_0x1d3e0a,0x0,_0x1d3e0a[_0x5a1f4a(0x13d)]),_0x5c3120[_0x5a1f4a(0x175)](_0x1d3e0a[_0x5a1f4a(0x13f)](_0x5a1f4a(0x189)),{'userId':_0xa14e33}));}}(this[_0x538d59(0x214)],_0x2a47eb,_0x250ab2,_0x250ab2+_0x608a4f[_0x538d59(0x1ef)]);}[_0x1dd468(0x13a)](_0x375124){const _0x345a76=_0x1dd468,_0x3a069b=null===(_0x375124=this[_0x345a76(0x104)](_0x375124,this[_0x345a76(0x156)]))[_0x345a76(0x123)]?null:_0x375124[_0x345a76(0x123)]||this[_0x345a76(0x1e6)][_0x345a76(0x1b4)][_0x345a76(0x1e4)](_0x345a76(0x148))['me']['id'],_0x5dbf2b=_0x375124[_0x345a76(0x1d5)][_0x345a76(0x145)],_0x13b1c6=_0x375124[_0x345a76(0x193)][_0x345a76(0x145)],_0xdc8534=_0x5dbf2b[_0x345a76(0x13f)](_0x345a76(0x189)),_0x404df7=_0x13b1c6[_0x345a76(0x13f)](_0x345a76(0x136));_0x5dbf2b[_0x345a76(0x141)](_0x345a76(0x189),_0x13b1c6[_0x345a76(0x13f)](_0x345a76(0x189))),_0x13b1c6[_0x345a76(0x141)](_0x345a76(0x189),_0xdc8534),this[_0x345a76(0x214)][_0x345a76(0x175)](_0x404df7,{'userId':_0x3a069b}),this[_0x345a76(0x214)][_0x345a76(0x175)](_0xdc8534,{'userId':_0x3a069b}),_0x375124[_0x345a76(0x1b9)]();}[_0x1dd468(0x173)](_0x4710b7){const _0x16ef80=_0x1dd468,_0x59add8=null===(_0x4710b7=this[_0x16ef80(0x104)](_0x4710b7,this[_0x16ef80(0x156)]))[_0x16ef80(0x123)]?null:_0x4710b7[_0x16ef80(0x123)]||this[_0x16ef80(0x1e6)][_0x16ef80(0x1b4)][_0x16ef80(0x1e4)](_0x16ef80(0x148))['me']['id'],_0x8c4475=_0x4710b7[_0x16ef80(0x182)],_0x534bb2=_0x4710b7[_0x16ef80(0x14b)][_0x16ef80(0x145)];_0x4710b7[_0x16ef80(0x1b9)]();const _0x58d0b0=_0x534bb2[_0x16ef80(0x13f)](_0x16ef80(0x189)),_0x16b00d=_0x4710b7[_0x16ef80(0x15d)][_0x16ef80(0x1c0)];if(_0x8c4475){const _0x4c075c=_0x16b00d[_0x16ef80(0x13f)](_0x16ef80(0x189)),_0x3daa5b=_0x534bb2[_0x16ef80(0x13f)](_0x16ef80(0x189));_0x534bb2[_0x16ef80(0x141)](_0x16ef80(0x189),_0x4c075c),_0x16b00d[_0x16ef80(0x141)](_0x16ef80(0x189),_0x3daa5b),this[_0x16ef80(0x214)][_0x16ef80(0x175)](_0x534bb2[_0x16ef80(0x13f)](_0x16ef80(0x189)),{'userId':_0x59add8}),this[_0x16ef80(0x214)][_0x16ef80(0x175)](_0x16b00d[_0x16ef80(0x13f)](_0x16ef80(0x136)),{'userId':_0x59add8});}else{const _0x284747=this[_0x16ef80(0x205)]++,_0xa51692=this[_0x16ef80(0x205)]++;_0x534bb2[_0x16ef80(0x141)](_0x16ef80(0x189),_0x284747),_0x16b00d[_0x16ef80(0x141)](_0x16ef80(0x136),_0xa51692),_0x16b00d[_0x16ef80(0x141)](_0x16ef80(0x189),_0x58d0b0),this[_0x16ef80(0x214)][_0x16ef80(0x175)](_0x284747,{'userId':_0x59add8}),this[_0x16ef80(0x214)][_0x16ef80(0x175)](_0xa51692,{'userId':_0x59add8});}}[_0x1dd468(0x22b)](_0x74de9d){const _0xc58658=_0x1dd468;if(!_0x74de9d[_0xc58658(0x229)])return;const _0x41f17b=(_0x74de9d=this[_0xc58658(0x104)](_0x74de9d,this[_0xc58658(0x154)]))[_0xc58658(0x18b)]?_0x74de9d[_0xc58658(0x18b)][_0xc58658(0x170)]:null,_0x212ea3=_0x74de9d[_0xc58658(0x10c)]?_0x74de9d[_0xc58658(0x10c)][_0xc58658(0x170)]:null;_0x41f17b&&this[_0xc58658(0x21c)][_0xc58658(0x20a)](_0x74de9d[_0xc58658(0x1e8)]),_0x212ea3&&this[_0xc58658(0x21c)][_0xc58658(0x175)](_0x74de9d[_0xc58658(0x1e8)],_0x74de9d[_0xc58658(0x10c)][_0xc58658(0x1c4)]());const _0x2bc2b1=null===_0x74de9d[_0xc58658(0x123)]?null:_0x74de9d[_0xc58658(0x123)]||this[_0xc58658(0x1e6)][_0xc58658(0x1b4)][_0xc58658(0x1e4)](_0xc58658(0x148))['me']['id'],_0x341562=_0x74de9d[_0xc58658(0x1e8)];if(!this[_0xc58658(0x222)][_0xc58658(0x1c5)](_0x341562))return void this[_0xc58658(0x222)][_0xc58658(0x175)](_0x341562,{'range':_0x74de9d[_0xc58658(0x18b)],'userId':_0x2bc2b1});const _0x55394a=this[_0xc58658(0x222)][_0xc58658(0x1e4)](_0x341562),_0xfcf49=_0x55394a[_0xc58658(0x192)],_0x360fcf=_0x74de9d[_0xc58658(0x10c)];null==_0xfcf49&&null==_0x360fcf||_0xfcf49&&_0x360fcf&&_0xfcf49[_0xc58658(0x10f)](_0x360fcf)?this[_0xc58658(0x222)][_0xc58658(0x20a)](_0x74de9d[_0xc58658(0x1e8)]):_0x55394a[_0xc58658(0x147)]=_0x2bc2b1;}[_0x1dd468(0x1bc)](_0x6e5691,_0x455cea){const _0x40d3fe=_0x1dd468;this[_0x40d3fe(0x154)][_0x40d3fe(0x1c5)](_0x6e5691[_0x40d3fe(0x1c9)])?this[_0x40d3fe(0x154)][_0x40d3fe(0x1e4)](_0x6e5691[_0x40d3fe(0x1c9)])[_0x40d3fe(0x1be)]=_0x6e5691[_0x40d3fe(0x20e)]:(this[_0x40d3fe(0x154)][_0x40d3fe(0x175)](_0x6e5691[_0x40d3fe(0x1c9)],G(_0x6e5691[_0x40d3fe(0x1c9)],!0x0)),this[_0x40d3fe(0x1eb)][_0x40d3fe(0x175)](_0x6e5691[_0x40d3fe(0x1c9)],{}),_0x455cea&&this[_0x40d3fe(0x156)][_0x40d3fe(0x175)](_0x6e5691[_0x40d3fe(0x1c9)],G(_0x6e5691[_0x40d3fe(0x1c9)],!0x0)));const _0x148b1e=null===_0x6e5691[_0x40d3fe(0x123)]?null:_0x6e5691[_0x40d3fe(0x123)]||this[_0x40d3fe(0x1e6)][_0x40d3fe(0x1b4)][_0x40d3fe(0x1e4)](_0x40d3fe(0x148))['me']['id'],_0x2c6543=this[_0x40d3fe(0x1e0)][_0x40d3fe(0x1e4)](_0x6e5691[_0x40d3fe(0x1c9)]);_0x2c6543&&_0x2c6543[_0x40d3fe(0x147)]===_0x148b1e?this[_0x40d3fe(0x1e0)][_0x40d3fe(0x20a)](_0x6e5691[_0x40d3fe(0x1c9)]):this[_0x40d3fe(0x1e0)][_0x40d3fe(0x175)](_0x6e5691[_0x40d3fe(0x1c9)],{'userId':_0x148b1e,'isAttached':_0x6e5691[_0x40d3fe(0x20e)]});}[_0x1dd468(0x160)](_0x3d6edb){const _0x337962=_0x1dd468,_0x32a481=this[_0x337962(0x1eb)][_0x337962(0x1e4)](_0x3d6edb[_0x337962(0x170)][_0x337962(0x1c9)]);null===_0x3d6edb[_0x337962(0x228)]?delete _0x32a481[_0x3d6edb[_0x337962(0x124)]]:_0x32a481[_0x3d6edb[_0x337962(0x124)]]=_0x3d6edb[_0x337962(0x228)];}}function q(_0x1acfcf){const _0x536b43=_0x1dd468,_0x38924b=G(_0x1acfcf[_0x536b43(0x1c9)],_0x1acfcf[_0x536b43(0x11e)]());for(const _0x422a5c of _0x1acfcf[_0x536b43(0x1a7)]()){const _0xd50a3a=_0x422a5c[_0x536b43(0x162)](!0x0);_0x38924b[_0x536b43(0x12a)](_0xd50a3a);}return _0x38924b;}function G(_0x2ac4e7,_0x111a3f=!0x0){const _0x2fb3a3=_0x1dd468,_0x4fb2b1=new _0x531377();return _0x4fb2b1[_0x2fb3a3(0x1c9)]=_0x2ac4e7,_0x4fb2b1[_0x2fb3a3(0x1be)]=_0x111a3f,_0x4fb2b1[_0x2fb3a3(0x11e)]=()=>_0x4fb2b1[_0x2fb3a3(0x1be)],_0x4fb2b1;}function _0x27e1(_0x2ba6f3,_0x35a4fd){const _0x17b4b9=_0x17b4();return _0x27e1=function(_0x27e1d0,_0x316f8e){_0x27e1d0=_0x27e1d0-0x103;let _0x41f917=_0x17b4b9[_0x27e1d0];return _0x41f917;},_0x27e1(_0x2ba6f3,_0x35a4fd);}function _0x17b4(){const _0x4fedab=['deletion','splitPosition','_removePendingAction','data','sort','dataToMarker','_reset','createPositionBefore','history','1005642Nklhdr','_diffRoots','initial','_idsRoots','_markChanges','PENDING_ACTION_REVISION_HISTORY','hasContent','saveRevision','attributes','$graveyard','insertionPosition','some','_createInitialRevision','_handleRootAttributeOperation','reverse','_clone','element','define','createPositionAfter','_continueCurrentRevision','createRangeIn','version','getUser','repository','revisionHistory.resumeUnsavedRevision','_revisionDataBuilder','createPositionAt','addRoot','editing','root','default','_operations','_handleSplitOperation','_isInit','set','setRevisionData','createRange','_baseRootsAttributes','_startingRevisionId','revision-start','_makeRevision','initialData','getCurrentRevisionId','_loadState','roots','Empty\x20document','filter','graveyardPosition','_startingVersion','isReady','editor-initial-data-replaced-with-revision-data','getRevisionDocumentData','_createCurrentRevision','getNodeByPath','vid_end','useFillerType','oldRange','move','reInit','creator','_getPreviousFrom','attachChange','creatorId','range','sourcePosition','tableCell','getRevision','_replaceEditorDataWithRevisionData','children','_findInsertionIndex','getRoot','model','push','_createFromRanges','addRevisionData','detachRoot','diffData','changeRootAttribute','data-revision-','_savedMetaData','getData','parse','position','getRevisionRootsAttributes','getChildren','bind','getAncestors','for','split','toVersion','removeRootAttribute','ready','RevisionTracker','createPositionFromPath','getMovedRangeStart','vid','NEGATIVE_INFINITY','plugins','getIndex','fromEntries','size','locale','_execute','getWalker','document','_handleRootOperation','paragraph','_isAttached','_handleInsertOperation','nodeAfter','merge','source','_transformMarkers','clone','has','text','_insertChild','_prepareViewToSave','rootName','getTime','shift','attributesAfter','5eptbRQ','attributesBefore','end','offsetSize','toModel','init','_generateTape','processor','targetPosition','128296gDFfjW','then','config','revision-end','_initialRevisionId','_setConversion','add','createdAt','update','getRootNames','_touchedRoots','collaboration.channelId','deletions','values','get','sendBufferedUpdates','editor','_copyMarkers','name','2707uaUxTc','revision:','_diffRootsAttributes','revision','_baseRoots','_getViewJson','howMany','requires','max','_fixPosition','getRevisions','getTransformedByOperation','_getState','insertions','createRevision','currentRevision','view','_getFromVersion','keepParagraph','150750bSNZIy','slice','_makeIdsRoot','keys','startsWith','$text','getRange','_isPendingUpdate','elementStart','_revisionId','_removeRevisionMarkers','Initial\x20revision','_getVidAttributeName','_source','delete','find','toView','clear','isAdd','adapter','markerToData','_lastTo','length','dataDowncast','_touched','isEnabled','offset','setSource','_bufferedUpdates','nodes','path','_fixOperation','_markers','468YPxqaE','_lastFrom','afterInit','addRootAttribute','_handleMoveOperation','_touchedMarkers','from','_loadRevisionData','start','reinsert','RealTimeCollaborationClient','newValue','affectsData','PendingActions','_handleMarkerOperation','_handleOperation','_makeModelFromViewString','_cloneOperation','getLatestVersion','rootsAttributes','elementEnd','getOperations','map','getAttributes','baseVersion','newRange','addRevision','finally','isEqual','pluginName','conversion','updateRevisions','toData','_fixRange','insertion','_pendingAction','authorsIds','_getBaseVids','trim','_applyOperations','upcast','_saveMetaData','remove','isAttached','stringify','_addPendingAction','markers','includes','_authorId','key','2396716XVDYOd','_baseIdsRoots','_processRootBeforeSave','loadState','marker','_appendChild','363234VmXfKV','resolve','authors','previousPosition','marked','_loadedStateData','item','_removeMetaData','getOperation','type','1195452YvUEUF','vid_start','getChild','buildRevisionData','string','_handleMergeOperation','documentFragment','insert','childCount','forEach','getAttribute','fromVersion','_setAttribute','stickiness','RevisionsRepository','_update','parent','_calculateMetaData','userId','Users','_bufferUpdate'];_0x17b4=function(){return _0x4fedab;};return _0x17b4();}function L(_0x26eddf,_0x2293af,_0x3db2a7){const _0x2f906c=_0x1dd468,_0x40a43a=_0x2f906c(0x107)==_0x26eddf[_0x2f906c(0x134)]?_0x3db2a7[_0x2f906c(0x16d)](_0x26eddf[_0x2f906c(0x131)],_0x2f906c(0x1cf)):_0x3db2a7[_0x2f906c(0x151)](_0x26eddf[_0x2f906c(0x131)]);return _0x3db2a7[_0x2f906c(0x1b0)](_0x2293af,_0x40a43a[_0x2f906c(0x21a)],_0x40a43a[_0x2f906c(0x142)]);}function W(_0x26ced1,_0x2bbbbe,_0x99071c){const _0x45dad9=_0x1dd468,_0x5569cd=_0x45dad9(0x204)==_0x26ced1[_0x45dad9(0x134)]?_0x99071c[_0x45dad9(0x16d)](_0x26ced1[_0x45dad9(0x131)],0x0):_0x99071c[_0x45dad9(0x165)](_0x26ced1[_0x45dad9(0x131)]);return _0x99071c[_0x45dad9(0x1b0)](_0x2bbbbe,_0x5569cd[_0x45dad9(0x21a)],_0x5569cd[_0x45dad9(0x142)]);}
|
package/src/revisionviewer.d.ts
CHANGED
|
@@ -2,7 +2,89 @@
|
|
|
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/revisionviewer
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, Command, type Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ContextualBalloon } from 'ckeditor5/src/ui.js';
|
|
10
|
+
import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
11
|
+
import ChangeDetailsView from './ui/revisionviewer/changedetailsview.js';
|
|
12
|
+
import RevisionsRepository from './revisionsrepository.js';
|
|
13
|
+
import ChangeItem from './changeitem.js';
|
|
14
|
+
import { default as RevisionDiff } from './revisiondiff.js';
|
|
5
15
|
import '../theme/revisionviewer.css';
|
|
16
|
+
import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
|
|
17
|
+
import type { default as Revision, RevisionJSON } from './revision.js';
|
|
18
|
+
export default class RevisionViewer extends Plugin {
|
|
19
|
+
repository: RevisionsRepository;
|
|
20
|
+
adapter: RevisionHistoryAdapter | null;
|
|
21
|
+
/**
|
|
22
|
+
* @observable
|
|
23
|
+
*/
|
|
24
|
+
activeChange: ChangeItem | null;
|
|
25
|
+
/**
|
|
26
|
+
* @observable
|
|
27
|
+
*/
|
|
28
|
+
activeView: ChangeDetailsView | null;
|
|
29
|
+
/**
|
|
30
|
+
* @observable
|
|
31
|
+
*/
|
|
32
|
+
diff: RevisionDiff | null;
|
|
33
|
+
/**
|
|
34
|
+
* @observable
|
|
35
|
+
*/
|
|
36
|
+
isReady: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @observable
|
|
39
|
+
*/
|
|
40
|
+
isEnabled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @observable
|
|
43
|
+
*/
|
|
44
|
+
isNavigationMode: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* @observable
|
|
47
|
+
*/
|
|
48
|
+
currentChangeNumber: number;
|
|
49
|
+
/**
|
|
50
|
+
* @observable
|
|
51
|
+
*/
|
|
52
|
+
numberOfChanges: number;
|
|
53
|
+
static get pluginName(): "RevisionViewer";
|
|
54
|
+
static get requires(): readonly [typeof Users, typeof ContextualBalloon, typeof RevisionsRepository];
|
|
55
|
+
constructor(editor: Editor);
|
|
56
|
+
init(): void;
|
|
57
|
+
getRevisionData(revision: Revision): Promise<Record<string, string>>;
|
|
58
|
+
getRevisionRootsAttributes(revision: Revision): Promise<Record<string, Record<string, unknown>>>;
|
|
59
|
+
compare(newRevisionOrId: Revision | string, oldRevisionOrId: Revision | string, forceCompare?: boolean): Promise<unknown>;
|
|
60
|
+
addRevisionData(revisionData: RevisionJSON, updateCallback: (updateObj: RevisionJSON, isFromAdapter: boolean, revision: Revision) => void): Revision;
|
|
61
|
+
loadRevisionData(revision: Revision): Promise<any>;
|
|
62
|
+
private _removeMissingPairs;
|
|
63
|
+
}
|
|
64
|
+
export declare class RestoreRevisionCommand extends Command {
|
|
65
|
+
constructor(editor: Editor);
|
|
66
|
+
execute(): void;
|
|
67
|
+
refresh(): void;
|
|
68
|
+
}
|
|
69
|
+
export declare class ShowChangeCommand<T extends 'backward' | 'forward'> extends Command {
|
|
70
|
+
constructor(editor: Editor, { direction }: {
|
|
71
|
+
direction: T;
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* TODO
|
|
75
|
+
*/
|
|
76
|
+
execute(): void;
|
|
77
|
+
/**
|
|
78
|
+
* TODO
|
|
79
|
+
*
|
|
80
|
+
* The `showNextChange` command is enabled if the revision viewer is ready and either the navigation
|
|
81
|
+
* mode is off, or there is any "next" change to select within current revision.
|
|
82
|
+
*
|
|
83
|
+
* The `showPreviousChange` command is enabled if the revision viewer is ready and either the navigation
|
|
84
|
+
* mode is off, or there is any "previous" change to select within current revision.
|
|
85
|
+
*/
|
|
86
|
+
refresh(): void;
|
|
87
|
+
}
|
|
6
88
|
/**
|
|
7
89
|
function printTape( tape ) {
|
|
8
90
|
const elements = tape.map(
|