@ckeditor/ckeditor5-revision-history 42.0.0-alpha.4 → 42.0.0-alpha.6
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 _0x28956e=_0x5561;(function(_0x12d927,_0x571b86){const _0x4403ca=_0x5561,_0x4237b8=_0x12d927();while(!![]){try{const _0x1a38d0=-parseInt(_0x4403ca(0x186))/0x1*(parseInt(_0x4403ca(0x1a9))/0x2)+-parseInt(_0x4403ca(0x1b0))/0x3+parseInt(_0x4403ca(0x1e7))/0x4+-parseInt(_0x4403ca(0xe3))/0x5+parseInt(_0x4403ca(0x15e))/0x6+-parseInt(_0x4403ca(0x178))/0x7*(parseInt(_0x4403ca(0x1cf))/0x8)+parseInt(_0x4403ca(0x114))/0x9;if(_0x1a38d0===_0x571b86)break;else _0x4237b8['push'](_0x4237b8['shift']());}catch(_0x554186){_0x4237b8['push'](_0x4237b8['shift']());}}}(_0x47ca,0x76942));import{Users as _0x5e32b0}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x86aaba,PendingActions as _0x1c23a8}from'ckeditor5/src/core.js';import{logWarning as _0x98ab03,uid as _0x5c8f8b}from'ckeditor5/src/utils.js';function _0x5561(_0x2ab9cb,_0x16558e){const _0x47ca48=_0x47ca();return _0x5561=function(_0x55619c,_0x7abed0){_0x55619c=_0x55619c-0xd7;let _0x25d7ec=_0x47ca48[_0x55619c];return _0x25d7ec;},_0x5561(_0x2ab9cb,_0x16558e);}import{Position as _0x3ca032,Range as _0x14a2d5,Element as _0x5cf893,DocumentFragment as _0x23ed61,ViewText as _0x548c6b,ViewElement as _0x540c8a,ViewContainerElement as _0x57094a,ViewAttributeElement as _0x3ebfc3,ViewEmptyElement as _0x281759,ViewRawElement as _0x1fc893,ViewUIElement as _0x2a9894,ViewDocumentFragment as _0x3f1b5e}from'ckeditor5/src/engine.js';import _0xe093a0 from'./revisionsrepository.js';import{getTranslation as _0x24cc65}from'./utils/common-translations.js';import{cloneDeep as _0x4f9206,isEqual as _0x1deb0a}from'lodash-es';const T={'c':_0x57094a,'a':_0x3ebfc3,'e':_0x281759,'r':_0x1fc893,'u':_0x2a9894};export default class l extends _0x86aaba{static get[_0x28956e(0x15b)](){const _0x3f62d2=_0x28956e;return _0x3f62d2(0x1eb);}static get[_0x28956e(0x180)](){return[_0x5e32b0,_0xe093a0,_0x1c23a8];}constructor(_0x4e3d56){const _0x432a15=_0x28956e;super(_0x4e3d56),this[_0x432a15(0x129)]=null,this[_0x432a15(0x159)]=null,this[_0x432a15(0xe6)]=new J(this[_0x432a15(0x18a)]),this[_0x432a15(0xed)]=this[_0x432a15(0x18a)][_0x432a15(0x140)][_0x432a15(0x1ea)](_0x432a15(0x106))||_0x432a15(0x176),this[_0x432a15(0x1f3)]=new Map(),this[_0x432a15(0x1c7)]=null;const _0x5a38ed=_0x5c8f8b();this[_0x432a15(0xef)]={'history':this[_0x432a15(0x18a)][_0x432a15(0x197)][_0x432a15(0x1ff)][_0x432a15(0x10d)],'getLatestVersion':()=>Promise[_0x432a15(0x1f4)](this[_0x432a15(0x18a)][_0x432a15(0x197)][_0x432a15(0x1ff)][_0x432a15(0xd8)]),'getCurrentRevisionId':()=>_0x5a38ed},this[_0x432a15(0x1db)](_0x432a15(0x1e3),!0x1),this[_0x432a15(0x1db)](_0x432a15(0x1b4),!0x0),this[_0x432a15(0x1db)](_0x432a15(0x16c),!0x1),this[_0x432a15(0x18a)][_0x432a15(0x140)][_0x432a15(0x1d0)](_0x432a15(0x12f),!0x0),this[_0x432a15(0x18a)][_0x432a15(0x170)][_0x432a15(0x12a)](_0x432a15(0x12b))[_0x432a15(0xfb)]({'view':_0x432a15(0x116)});}[_0x28956e(0x121)](){const _0x57c819=_0x28956e;this[_0x57c819(0x163)]=this[_0x57c819(0x18a)][_0x57c819(0xff)][_0x57c819(0x1ea)](_0x57c819(0x175)),this[_0x57c819(0x1c6)](),this[_0x57c819(0x18a)][_0x57c819(0x1bd)]['on'](_0x57c819(0x15a),()=>{const _0x1c84f9=_0x57c819,_0x200d99=this[_0x1c84f9(0x163)][_0x1c84f9(0x193)](0x0),_0x517f89=_0x200d99&&null===_0x200d99[_0x1c84f9(0x14b)]?_0x200d99:null;if(this[_0x1c84f9(0x107)]=!!_0x517f89&&this[_0x1c84f9(0x18a)][_0x1c84f9(0x140)][_0x1c84f9(0x1ea)](_0x1c84f9(0x12f)),this[_0x1c84f9(0x18a)][_0x1c84f9(0xff)][_0x1c84f9(0x14d)](_0x1c84f9(0x16b))){const _0x462d65=this[_0x1c84f9(0xef)][_0x1c84f9(0x1e4)](),_0x158ad5=this[_0x1c84f9(0x163)][_0x1c84f9(0x193)](_0x462d65);if(_0x158ad5)this[_0x1c84f9(0x189)]=_0x158ad5[_0x1c84f9(0x168)],this[_0x1c84f9(0x107)]=!0x1;else{const _0x5823a1=this[_0x1c84f9(0xef)][_0x1c84f9(0x10d)][_0x1c84f9(0xe9)][_0x1c84f9(0x194)](_0x23a2a2=>!_0x23a2a2[_0x1c84f9(0x12c)]),_0xbd97c5=_0x5823a1?_0x5823a1[_0x1c84f9(0xec)]:this[_0x1c84f9(0xef)][_0x1c84f9(0x10d)][_0x1c84f9(0xd8)];_0x200d99?(_0x200d99[_0x1c84f9(0x1f2)]<_0xbd97c5&&_0x200d99[_0x1c84f9(0x1ab)]({'toVersion':_0xbd97c5}),this[_0x1c84f9(0x107)]?(this[_0x1c84f9(0xef)][_0x1c84f9(0x1e4)]=()=>_0x517f89['id'],this[_0x1c84f9(0x189)]=_0x517f89[_0x1c84f9(0x168)]):(this[_0x1c84f9(0x189)]=_0x200d99[_0x1c84f9(0x1f2)],this[_0x1c84f9(0x107)]=!0x1)):(this[_0x1c84f9(0x189)]=_0xbd97c5,this[_0x1c84f9(0x107)]=!0x1);}}else _0x517f89&&(this[_0x1c84f9(0x18a)][_0x1c84f9(0x197)][_0x1c84f9(0x1ff)][_0x1c84f9(0x10d)][_0x1c84f9(0xd8)]=Math[_0x1c84f9(0xee)](_0x517f89[_0x1c84f9(0x1f2)],this[_0x1c84f9(0x18a)][_0x1c84f9(0x197)][_0x1c84f9(0x1ff)][_0x1c84f9(0x10d)][_0x1c84f9(0xd8)]),_0x517f89[_0x1c84f9(0x168)]===_0x517f89[_0x1c84f9(0x1f2)]?(0x0!==_0x517f89[_0x1c84f9(0x168)]&&(this[_0x1c84f9(0xef)][_0x1c84f9(0x1e4)]=()=>_0x517f89['id']),this[_0x1c84f9(0x107)]=!0x1):this[_0x1c84f9(0x107)]&&(this[_0x1c84f9(0xef)][_0x1c84f9(0x1e4)]=()=>_0x517f89['id'],this[_0x1c84f9(0x189)]=_0x517f89[_0x1c84f9(0x168)])),this[_0x1c84f9(0x107)]||(this[_0x1c84f9(0x189)]=this[_0x1c84f9(0x18a)][_0x1c84f9(0x197)][_0x1c84f9(0x1ff)][_0x1c84f9(0xd8)]);this[_0x1c84f9(0xe6)][_0x1c84f9(0x121)](this[_0x1c84f9(0xef)][_0x1c84f9(0x10d)]),this[_0x1c84f9(0x187)](this[_0x1c84f9(0x189)]),this[_0x1c84f9(0xfe)](this[_0x1c84f9(0x189)]),this[_0x1c84f9(0x129)]&&this[_0x1c84f9(0x1cd)]();}),this[_0x57c819(0x136)](_0x57c819(0x1e3))['to'](this,_0x57c819(0x16c),_0x3fb785=>!_0x3fb785);}async[_0x28956e(0x145)](){const _0x26636e=_0x28956e;if(this[_0x26636e(0x163)][_0x26636e(0x1f6)]>0x0){const _0x2c9956=this[_0x26636e(0x163)][_0x26636e(0x193)](0x0),_0x4bf1fe=await this[_0x26636e(0x1b6)](_0x2c9956),_0x4009a4=await this[_0x26636e(0x1fb)](_0x2c9956);this[_0x26636e(0x105)](_0x4bf1fe,_0x4009a4);}}[_0x28956e(0x1a0)](_0x5d5773){const _0x17c042=_0x28956e;this[_0x17c042(0xef)]=_0x5d5773;}async[_0x28956e(0x1c1)](){const _0x5f534c=_0x28956e,_0x393a08=await this[_0x5f534c(0xef)][_0x5f534c(0x1f5)]();if(_0x393a08>this[_0x5f534c(0x159)][_0x5f534c(0x1f2)]){await this[_0x5f534c(0x11e)]();const _0x3cc0fd=this[_0x5f534c(0x18e)]({'revision':this[_0x5f534c(0x159)],'to':_0x393a08});_0x3cc0fd[_0x5f534c(0x1ef)]=_0x3cc0fd[_0x5f534c(0x104)][_0x5f534c(0x169)](_0x4b39ae=>this[_0x5f534c(0x18a)][_0x5f534c(0xff)][_0x5f534c(0x1ea)](_0x5f534c(0x150))[_0x5f534c(0x138)](_0x4b39ae)),this[_0x5f534c(0x159)][_0x5f534c(0x1ab)](_0x3cc0fd);}}async[_0x28956e(0x11e)](){const _0x355933=_0x28956e;this[_0x355933(0x107)]&&!this[_0x355933(0x1c7)]&&(await this[_0x355933(0x1d9)](this[_0x355933(0x159)]),this[_0x355933(0xe6)][_0x355933(0xd9)](this[_0x355933(0x159)]),this[_0x355933(0x1c7)]={'fromVersion':this[_0x355933(0x159)][_0x355933(0x168)],'authors':this[_0x355933(0x159)][_0x355933(0x1ef)][_0x355933(0x13f)]()});}async[_0x28956e(0x10e)](_0x2db14c={},_0x1f21cc=null){const _0x277ef7=_0x28956e,_0x53fe6b=[];await this[_0x277ef7(0x11e)](),this[_0x277ef7(0x107)]=!0x1,_0x1f21cc>this[_0x277ef7(0x159)][_0x277ef7(0x1f2)]&&(_0x1f21cc=null),null===_0x1f21cc&&(_0x1f21cc=await this[_0x277ef7(0xef)][_0x277ef7(0x1f5)]());const _0xab50c9=this[_0x277ef7(0x13e)](_0x1f21cc),_0x178ff8=this[_0x277ef7(0x18e)]({'from':_0xab50c9,'to':_0x1f21cc});if(this[_0x277ef7(0x159)][_0x277ef7(0x1f2)]<_0x1f21cc){const _0x1683c7=this[_0x277ef7(0x18e)]({'revision':this[_0x277ef7(0x159)],'from':_0x1f21cc,'to':_0x1f21cc});_0x1683c7[_0x277ef7(0x1ef)]=[],_0x1683c7[_0x277ef7(0x104)]=[],_0x1683c7['id']=this[_0x277ef7(0x159)]['id'],this[_0x277ef7(0x159)][_0x277ef7(0x1ab)](_0x1683c7,!0x0),delete _0x1683c7[_0x277ef7(0x1ef)],_0x53fe6b[_0x277ef7(0x119)](_0x1683c7);}_0x2db14c[_0x277ef7(0x1c3)]=this[_0x277ef7(0x18a)][_0x277ef7(0xff)][_0x277ef7(0x1ea)](_0x277ef7(0x150))['me']['id'],_0x2db14c[_0x277ef7(0x17f)]=_0x2db14c[_0x277ef7(0x17f)]||null,_0x2db14c['id']=_0x2db14c['id']||_0x5c8f8b(),_0x2db14c={..._0x2db14c,..._0x178ff8};const _0x24744f=this[_0x277ef7(0x19c)](_0x2db14c);_0x53fe6b[_0x277ef7(0x119)](_0x2db14c);const _0x144c4e=this[_0x277ef7(0x163)][_0x277ef7(0x11f)](_0x24744f);if(0x0!==_0x144c4e){const _0xa2198b=this[_0x277ef7(0x163)][_0x277ef7(0x193)](_0x144c4e-0x1);if(_0xa2198b[_0x277ef7(0x168)]!==_0x1f21cc){const _0x4c72b0=this[_0x277ef7(0xe6)][_0x277ef7(0xde)](_0x1f21cc,_0xa2198b[_0x277ef7(0x1f2)]),_0x13ee98={'id':_0xa2198b['id'],'diffData':_0x4c72b0[_0x277ef7(0x133)],'authorsIds':_0x4c72b0[_0x277ef7(0x104)],'authors':_0x4c72b0[_0x277ef7(0x104)][_0x277ef7(0x169)](_0x465db4=>this[_0x277ef7(0x18a)][_0x277ef7(0xff)][_0x277ef7(0x1ea)](_0x277ef7(0x150))[_0x277ef7(0x138)](_0x465db4)),'fromVersion':_0x1f21cc};_0xa2198b===this[_0x277ef7(0x159)]&&(_0x13ee98[_0x277ef7(0x18b)]=new Date(_0x2db14c[_0x277ef7(0x18b)][_0x277ef7(0x1f8)]()+0xa)),_0xa2198b[_0x277ef7(0x1ab)](_0x13ee98,!0x0),delete _0x13ee98[_0x277ef7(0x1ef)],_0x53fe6b[_0x277ef7(0x119)](_0x13ee98);}}if(this[_0x277ef7(0x129)]){for(const _0x1998dc of _0x53fe6b)this[_0x277ef7(0xdd)](_0x1998dc['id'],_0x1998dc,!0x0);this[_0x277ef7(0x1cd)]();}return _0x24744f;}[_0x28956e(0x19c)](_0x1c0291){const _0x4122ad=_0x28956e,_0x54becb=this[_0x4122ad(0x163)][_0x4122ad(0x124)](_0x1c0291);return this[_0x4122ad(0x129)]&&_0x54becb['on'](_0x4122ad(0x1ab),(_0xad24eb,_0x37ff98,_0x420411)=>{const _0x5a5035=_0x4122ad;_0x420411||(this[_0x5a5035(0xdd)](_0x37ff98['id'],_0x37ff98,!0x0),this[_0x5a5035(0x1cd)]());}),this[_0x4122ad(0x163)][_0x4122ad(0x17c)](_0x54becb,this[_0x4122ad(0x12d)](_0x54becb)),_0x54becb;}async[_0x28956e(0x1b6)](_0x5bf67c){const _0x5e37f8=_0x28956e;await this[_0x5e37f8(0x1d9)](_0x5bf67c);const _0x24b574={};for(const _0x340a98 in _0x5bf67c[_0x5e37f8(0x133)]){if(_0x5bf67c[_0x5e37f8(0x133)][_0x340a98][_0x5e37f8(0x128)]&&!_0x5bf67c[_0x5e37f8(0x133)][_0x340a98][_0x5e37f8(0x128)][_0x5e37f8(0x153)])continue;const _0x47a429=this[_0x5e37f8(0x1d4)](JSON[_0x5e37f8(0x18c)](_0x5bf67c[_0x5e37f8(0x133)][_0x340a98][_0x5e37f8(0x16f)])),_0x2606f5=this[_0x5e37f8(0x18a)][_0x5e37f8(0x1ad)][_0x5e37f8(0x1fe)][_0x5e37f8(0x1ff)],_0x52d41d=new _0x3f1b5e(_0x2606f5,_0x47a429[_0x5e37f8(0x169)](_0x129a7e=>B(_0x129a7e,this[_0x5e37f8(0x18a)])));this[_0x5e37f8(0x18a)][_0x5e37f8(0x1bd)][_0x5e37f8(0x181)][_0x5e37f8(0x19f)](_0x5e37f8(0x158)),_0x24b574[_0x340a98]=this[_0x5e37f8(0x18a)][_0x5e37f8(0x1bd)][_0x5e37f8(0x181)][_0x5e37f8(0x1e9)](_0x52d41d),this[_0x5e37f8(0x18a)][_0x5e37f8(0x1bd)][_0x5e37f8(0x181)][_0x5e37f8(0x19f)](_0x5e37f8(0x1e1));}return _0x24b574;}async[_0x28956e(0x1fb)](_0x344365){const _0x19f154=_0x28956e;await this[_0x19f154(0x1d9)](_0x344365);const _0x256bf4={};for(const _0x15e6b1 in _0x344365[_0x19f154(0x133)])_0x344365[_0x19f154(0x133)][_0x15e6b1][_0x19f154(0x128)]&&!_0x344365[_0x19f154(0x133)][_0x15e6b1][_0x19f154(0x128)][_0x19f154(0x153)]||(_0x256bf4[_0x15e6b1]=_0x344365[_0x19f154(0x133)][_0x15e6b1][_0x19f154(0x15d)]||{});return _0x256bf4;}[_0x28956e(0x1cd)](){const _0x6b3e78=_0x28956e;if(0x0===this[_0x6b3e78(0x1f3)][_0x6b3e78(0x143)])return;if(this[_0x6b3e78(0x16c)])return;let _0xecea56=Array[_0x6b3e78(0x164)](this[_0x6b3e78(0x1f3)][_0x6b3e78(0x173)]());this[_0x6b3e78(0x1f3)][_0x6b3e78(0x18d)]();for(let _0x2976ef=0x0;_0x2976ef<_0xecea56[_0x6b3e78(0x1f6)];_0x2976ef++){const _0x35c1ba=_0xecea56[_0x2976ef];let _0x4ebd9e=!0x1;for(const _0x54fde4 of Object[_0x6b3e78(0x177)](_0x35c1ba))void 0x0===_0x35c1ba[_0x54fde4]?delete _0x35c1ba[_0x54fde4]:'id'!==_0x54fde4&&(_0x4ebd9e=!0x0);_0x4ebd9e||(_0xecea56[_0x2976ef]=null);}if(_0xecea56=_0xecea56[_0x6b3e78(0x165)](_0x43e51c=>null!==_0x43e51c),!_0xecea56[_0x6b3e78(0x1f6)])return;for(let _0x505392=0x0;_0x505392<_0xecea56[_0x6b3e78(0x1f6)];_0x505392++){const _0x1fdeba=_0xecea56[_0x505392];void 0x0!==_0x1fdeba[_0x6b3e78(0x168)]&&void 0x0===_0x1fdeba[_0x6b3e78(0x1f2)]&&(_0x1fdeba[_0x6b3e78(0x1f2)]=this[_0x6b3e78(0x163)][_0x6b3e78(0x193)](_0x1fdeba['id'])[_0x6b3e78(0x1f2)]),void 0x0!==_0x1fdeba[_0x6b3e78(0x1f2)]&&void 0x0===_0x1fdeba[_0x6b3e78(0x168)]&&(_0x1fdeba[_0x6b3e78(0x168)]=this[_0x6b3e78(0x163)][_0x6b3e78(0x193)](_0x1fdeba['id'])[_0x6b3e78(0x168)]);}const _0x2a47d5=this[_0x6b3e78(0x18a)][_0x6b3e78(0x140)][_0x6b3e78(0x1ea)](_0x6b3e78(0x106));this[_0x6b3e78(0x16c)]=!0x0,this[_0x6b3e78(0x1b2)](),this[_0x6b3e78(0x129)][_0x6b3e78(0xf6)](_0xecea56,_0x2a47d5)[_0x6b3e78(0x14f)](()=>{const _0x4feff6=_0x6b3e78;this[_0x4feff6(0x16c)]=!0x1;})[_0x6b3e78(0x1a8)](_0x38b0b3=>{const _0x905189=_0x6b3e78;if(_0x38b0b3){for(const _0xa658cd of _0x38b0b3)this[_0x905189(0xf8)]({'id':_0xa658cd['id'],'createdAt':_0xa658cd[_0x905189(0x18b)]});}this[_0x905189(0x1fd)](),this[_0x905189(0x1cd)]();});}[_0x28956e(0x105)](_0x34550b,_0x40df75){const _0x411b20=_0x28956e;let _0x1cbc0e=this[_0x411b20(0x18a)][_0x411b20(0x140)][_0x411b20(0x1ea)](_0x411b20(0x200)),_0x1e3b9d=this[_0x411b20(0x18a)][_0x411b20(0x140)][_0x411b20(0x1ea)](_0x411b20(0x113));if(void 0x0===_0x1cbc0e){_0x1cbc0e={};for(const _0x436e62 of this[_0x411b20(0x18a)][_0x411b20(0x197)][_0x411b20(0x1ff)][_0x411b20(0x1a1)]())_0x1cbc0e[_0x436e62]='';}if(_0x411b20(0x18f)==typeof _0x1cbc0e&&(_0x1cbc0e={'main':_0x1cbc0e}),void 0x0===_0x1e3b9d){_0x1e3b9d={};for(const _0x478954 of this[_0x411b20(0x18a)][_0x411b20(0x197)][_0x411b20(0x1ff)][_0x411b20(0x1a1)]())_0x1e3b9d[_0x478954]={};}let _0x1e07c1=!0x1;const _0x9fec1d=Object[_0x411b20(0x177)](_0x1cbc0e),_0x13b6ca=Object[_0x411b20(0x177)](_0x34550b);for(const _0x36e667 of _0x9fec1d){if(_0x1cbc0e[_0x36e667]!==_0x34550b[_0x36e667]&&''!==_0x1cbc0e[_0x36e667][_0x411b20(0xf0)]()){_0x1e07c1=!0x0;break;}if(!_0x1deb0a(_0x1e3b9d[_0x36e667],_0x40df75[_0x36e667])&&Object[_0x411b20(0x177)](_0x1e3b9d[_0x36e667])[_0x411b20(0x1f6)]>0x0){_0x1e07c1=!0x0;break;}}_0x1e07c1||(_0x1e07c1=_0x13b6ca[_0x411b20(0x19d)](_0x4350de=>!this[_0x411b20(0x18a)][_0x411b20(0x197)][_0x411b20(0x1ff)][_0x411b20(0x1b7)](_0x4350de))),_0x1e07c1&&_0x98ab03(_0x411b20(0x1b8),{'editorData':_0x1cbc0e,'editorRootsAttributes':_0x1e3b9d,'revisionData':_0x34550b,'revisionRootsAttributes':_0x40df75}),this[_0x411b20(0x18a)][_0x411b20(0x140)][_0x411b20(0x1db)](_0x411b20(0x200),_0x34550b),this[_0x411b20(0x18a)][_0x411b20(0x140)][_0x411b20(0x1db)](_0x411b20(0x113),_0x40df75);}[_0x28956e(0x1b2)](){const _0x5afecd=_0x28956e;if(!this[_0x5afecd(0xf7)]){const _0x24795c=this[_0x5afecd(0x18a)][_0x5afecd(0xff)][_0x5afecd(0x1ea)](_0x5afecd(0x171));this[_0x5afecd(0xf7)]=_0x24795c[_0x5afecd(0x1a5)](_0x24cc65(this[_0x5afecd(0x18a)][_0x5afecd(0x160)],_0x5afecd(0x198)));}}[_0x28956e(0x1fd)](){const _0x2f8093=_0x28956e;this[_0x2f8093(0xf7)]&&(this[_0x2f8093(0x18a)][_0x2f8093(0xff)][_0x2f8093(0x1ea)](_0x2f8093(0x171))[_0x2f8093(0x185)](this[_0x2f8093(0xf7)]),this[_0x2f8093(0xf7)]=null);}[_0x28956e(0x12d)](_0x44b40b){const _0x22a978=_0x28956e,_0x34d238=this[_0x22a978(0x163)][_0x22a978(0xf3)]();_0x34d238[_0x22a978(0x154)]();let _0x597773=0x0;for(;_0x597773<_0x34d238[_0x22a978(0x1f6)];){const _0x42f6db=_0x34d238[_0x597773];if(_0x42f6db===this[_0x22a978(0x159)]){_0x597773++;continue;}if(_0x42f6db['id']===this[_0x22a978(0xed)])break;const _0x18a5f3=_0x44b40b[_0x22a978(0x1f2)]-_0x42f6db[_0x22a978(0x1f2)]||_0x44b40b[_0x22a978(0x168)]-_0x42f6db[_0x22a978(0x168)];if(_0x18a5f3>0x0)break;if(_0x18a5f3<0x0)_0x597773++;else{if(!_0x44b40b[_0x22a978(0x14b)]&&_0x42f6db[_0x22a978(0x14b)])break;if(_0x42f6db[_0x22a978(0x14b)]||!_0x44b40b[_0x22a978(0x14b)]){if(_0x44b40b[_0x22a978(0x18b)]>_0x42f6db[_0x22a978(0x18b)])break;_0x597773++;}else _0x597773++;}}return _0x597773;}[_0x28956e(0xf8)](_0x5cf7eb){const _0xccd363=_0x28956e,_0x1cd5a1=this[_0xccd363(0x163)][_0xccd363(0x193)](_0x5cf7eb['id']);if(_0x5cf7eb[_0xccd363(0x18b)]&&(_0x5cf7eb[_0xccd363(0x18b)]=new Date(_0x5cf7eb[_0xccd363(0x18b)])),_0x5cf7eb[_0xccd363(0x104)]){const _0x220088=this[_0xccd363(0x18a)][_0xccd363(0xff)][_0xccd363(0x1ea)](_0xccd363(0x150));_0x5cf7eb[_0xccd363(0x1ef)]=_0x5cf7eb[_0xccd363(0x104)][_0xccd363(0x169)](_0x1c35eb=>_0x220088[_0xccd363(0x138)](_0x1c35eb));}_0x1cd5a1[_0xccd363(0x1ab)](_0x5cf7eb,!0x0);}[_0x28956e(0x18e)]({revision:_0x20496a=null,from:_0x27eb81=null,to:_0x9d88d4=null}){const _0x2b27fe=_0x28956e;_0x27eb81=null!==_0x27eb81?_0x27eb81:_0x20496a[_0x2b27fe(0x168)],_0x9d88d4=null!==_0x9d88d4?_0x9d88d4:_0x20496a[_0x2b27fe(0x1f2)];const _0xa6e114=this[_0x2b27fe(0xe6)][_0x2b27fe(0xde)](_0x27eb81,_0x9d88d4),_0x326a5e={'diffData':_0xa6e114[_0x2b27fe(0x133)],'authorsIds':_0xa6e114[_0x2b27fe(0x104)],'fromVersion':_0x27eb81,'toVersion':_0x9d88d4};if(!_0x20496a||_0x9d88d4!==_0x20496a[_0x2b27fe(0x1f2)]){const _0x33f71f=_0x9d88d4-0x1,_0x2a08f4=this[_0x2b27fe(0xef)][_0x2b27fe(0x10d)][_0x2b27fe(0x1e0)](_0x33f71f);_0x326a5e[_0x2b27fe(0x18b)]=_0x2a08f4&&_0x2a08f4[_0x2b27fe(0x18b)]||new Date();}if(this[_0x2b27fe(0x1c7)]&&_0x27eb81===this[_0x2b27fe(0x1c7)][_0x2b27fe(0x168)]){for(const _0x3fcf97 of this[_0x2b27fe(0x1c7)][_0x2b27fe(0x1ef)])_0x326a5e[_0x2b27fe(0x104)][_0x2b27fe(0x112)](_0x3fcf97['id'])||_0x326a5e[_0x2b27fe(0x104)][_0x2b27fe(0x119)](_0x3fcf97['id']);}return _0x326a5e;}[_0x28956e(0x1d9)](_0x3fc77e){const _0x58114c=_0x28956e;if(!_0x3fc77e||_0x3fc77e[_0x58114c(0x133)])return Promise[_0x58114c(0x1f4)]();{const _0x38814a=this[_0x58114c(0x18a)][_0x58114c(0x140)][_0x58114c(0x1ea)](_0x58114c(0x106));return this[_0x58114c(0x129)][_0x58114c(0x193)]({'channelId':_0x38814a,'revisionId':_0x3fc77e['id']})[_0x58114c(0x1a8)](_0x2b9dd1=>{const _0xe1d52f=_0x58114c;_0x3fc77e[_0xe1d52f(0x133)]=_0x2b9dd1[_0xe1d52f(0x133)];});}}[_0x28956e(0xdd)](_0x2c6919,_0x117cd2,_0x4008f5){const _0x5b38d0=_0x28956e;if(this[_0x5b38d0(0x1f3)][_0x5b38d0(0x14d)](_0x2c6919)){const _0xee01f4=this[_0x5b38d0(0x1f3)][_0x5b38d0(0x1ea)](_0x2c6919);_0x117cd2=_0x4008f5?{..._0xee01f4,..._0x117cd2}:{..._0x117cd2,..._0xee01f4};}this[_0x5b38d0(0x1f3)][_0x5b38d0(0x1db)](_0x2c6919,_0x117cd2);}[_0x28956e(0x13e)](_0x50d04b){const _0x4049c3=_0x28956e,_0x172ee5=this[_0x4049c3(0x163)][_0x4049c3(0xf3)]();_0x172ee5[_0x4049c3(0x154)](),_0x172ee5[_0x4049c3(0x161)]();const _0x3f9f1b=_0x172ee5[_0x4049c3(0x194)](_0x4b28a3=>_0x4b28a3[_0x4049c3(0x1f2)]<=_0x50d04b)[_0x4049c3(0x1f2)];return _0x3f9f1b<this[_0x4049c3(0x189)]?this[_0x4049c3(0x189)]:_0x3f9f1b;}[_0x28956e(0x187)](_0x2351e6){const _0x3c61eb=_0x28956e,_0x2c8ca5=this[_0x3c61eb(0x163)][_0x3c61eb(0x193)](this[_0x3c61eb(0x163)][_0x3c61eb(0x1f6)]-0x1);if(_0x2c8ca5)this[_0x3c61eb(0xed)]=_0x2c8ca5['id'];else{const _0x18d0a6=!this[_0x3c61eb(0x18a)][_0x3c61eb(0x197)][_0x3c61eb(0x1ff)][_0x3c61eb(0x195)][_0x3c61eb(0x194)](_0x1dc620=>this[_0x3c61eb(0x18a)][_0x3c61eb(0x197)][_0x3c61eb(0xe5)](_0x1dc620)),_0x5e3089=this[_0x3c61eb(0x18a)][_0x3c61eb(0xff)][_0x3c61eb(0x1ea)](_0x3c61eb(0x150))['me']['id'],_0x38af78=_0x24cc65(this[_0x3c61eb(0x18a)][_0x3c61eb(0x160)],_0x18d0a6?_0x3c61eb(0x196):_0x3c61eb(0x17d));this[_0x3c61eb(0x1cc)]({'from':_0x2351e6,'to':_0x2351e6,'id':this[_0x3c61eb(0xed)],'name':_0x38af78,'creatorId':_0x5e3089});}}[_0x28956e(0xfe)](_0x187fc1){const _0x104eaa=_0x28956e,_0x1690e3=this[_0x104eaa(0xef)][_0x104eaa(0x1e4)]();this[_0x104eaa(0x159)]=this[_0x104eaa(0x163)][_0x104eaa(0x193)](_0x1690e3),this[_0x104eaa(0x159)]||(this[_0x104eaa(0x159)]=this[_0x104eaa(0x1cc)]({'from':_0x187fc1,'to':_0x187fc1,'id':_0x1690e3,'name':'','creatorId':null}));}[_0x28956e(0x1cc)]({name:_0x23eb0a,from:_0x2e9833,to:_0x3fe1b0,creatorId:_0x23e85a,id:_0x570fcc}){const _0x3f22dd=_0x28956e,_0x26bfa4=this[_0x3f22dd(0x18e)]({'from':_0x2e9833,'to':_0x3fe1b0});_0x26bfa4[_0x3f22dd(0x17f)]=_0x23eb0a,_0x26bfa4[_0x3f22dd(0x1c3)]=_0x23e85a,_0x26bfa4['id']=_0x570fcc;const _0x1f26bf=this[_0x3f22dd(0x19c)](_0x26bfa4);return this[_0x3f22dd(0x129)]&&this[_0x3f22dd(0xdd)](_0x26bfa4['id'],_0x26bfa4,!0x0),_0x1f26bf;}[_0x28956e(0x1c6)](){const _0x5ed09b=_0x28956e;this[_0x5ed09b(0x18a)][_0x5ed09b(0x170)][_0x5ed09b(0x12a)](_0x5ed09b(0x19e))[_0x5ed09b(0x1be)]({'model':_0x5ed09b(0x116)});}[_0x28956e(0x1d4)](_0x2a8392){const _0x5a510a=_0x28956e;return(_0x2a8392=_0x2a8392[_0x5a510a(0x165)](_0x490860=>!_0x490860[_0x5a510a(0x17f)]||_0x5a510a(0xe8)!==_0x490860[_0x5a510a(0x17f)]&&_0x5a510a(0x19b)!==_0x490860[_0x5a510a(0x17f)]))[_0x5a510a(0x102)](_0xfa5fd8=>{const _0x47c3ef=_0x5a510a;_0x47c3ef(0x18f)!=typeof _0xfa5fd8&&(_0xfa5fd8[_0x47c3ef(0x1d7)]=this[_0x47c3ef(0x1d4)](_0xfa5fd8[_0x47c3ef(0x1d7)]),_0xfa5fd8[_0x47c3ef(0x1d3)]=_0xfa5fd8[_0x47c3ef(0x1d3)][_0x47c3ef(0x165)](_0x5c99da=>!_0x5c99da[0x0][_0x47c3ef(0x17b)](_0x47c3ef(0x162))));}),_0x2a8392;}}function B(_0x320a27,_0x441de5){const _0x2eccbc=_0x28956e,_0x17ef14=_0x441de5[_0x2eccbc(0x1ad)][_0x2eccbc(0x1fe)][_0x2eccbc(0x1ff)];if(_0x2eccbc(0x18f)==typeof _0x320a27)return new _0x548c6b(_0x17ef14,_0x320a27);{const _0x70451b=_0x320a27[_0x2eccbc(0x1d7)][_0x2eccbc(0x169)](_0x412563=>B(_0x412563,_0x441de5));return new(T[_0x320a27[(_0x2eccbc(0x182))]]||_0x540c8a)(_0x17ef14,_0x320a27[_0x2eccbc(0x17f)],_0x320a27[_0x2eccbc(0x1d3)],_0x70451b);}}class J{constructor(_0x44474e){const _0x30f2c0=_0x28956e;this[_0x30f2c0(0x18a)]=_0x44474e,this[_0x30f2c0(0x126)]=new Map(),this[_0x30f2c0(0x1c4)]=-0x1,this[_0x30f2c0(0x1ba)]=-0x1,this[_0x30f2c0(0x123)]=new Map(),this[_0x30f2c0(0x1f9)]=new Map(),this[_0x30f2c0(0x1e6)]=new Map(),this[_0x30f2c0(0xf1)]=new Map(),this[_0x30f2c0(0x1f7)]=new Map(),this[_0x30f2c0(0x1cb)]=new Map(),this[_0x30f2c0(0x167)]=new Map(),this[_0x30f2c0(0x16d)]=new Map(),this[_0x30f2c0(0x191)]=new Map(),this[_0x30f2c0(0x13a)]=new Map(),this[_0x30f2c0(0x142)]=0x1;}[_0x28956e(0x121)](_0x4761cc){const _0x192a0c=_0x28956e;this[_0x192a0c(0x14a)]=_0x4761cc;const _0x6a39d5=new Map(),_0x4c205b=new Map(),_0x447c5d=this[_0x192a0c(0x18a)][_0x192a0c(0x197)][_0x192a0c(0x1ff)][_0x192a0c(0x195)][_0x192a0c(0x169)](_0x1f835b=>_0x1f835b[_0x192a0c(0x174)]);for(const _0x22c16b of _0x447c5d){const _0x407bd3=this[_0x192a0c(0x18a)][_0x192a0c(0x197)][_0x192a0c(0x1ff)][_0x192a0c(0x1b7)](_0x22c16b),_0x458c41=q(_0x407bd3);_0x6a39d5[_0x192a0c(0x1db)](_0x22c16b,_0x458c41),_0x4c205b[_0x192a0c(0x1db)](_0x22c16b,Object[_0x192a0c(0x149)](_0x407bd3[_0x192a0c(0x134)]()));}const _0x49588a=Array[_0x192a0c(0x164)](this[_0x192a0c(0x18a)][_0x192a0c(0x197)][_0x192a0c(0x1d5)])[_0x192a0c(0x169)](_0x1b985d=>[_0x1b985d[_0x192a0c(0x17f)],_0x1b985d[_0x192a0c(0x15c)]()]),_0x25e961=this[_0x192a0c(0x14a)][_0x192a0c(0xd8)];this[_0x192a0c(0x1f1)](_0x25e961,_0x6a39d5,_0x49588a,_0x4c205b),this[_0x192a0c(0x1bf)]=this[_0x192a0c(0x142)];const _0x130310=new Map(),_0x18388d=new Map();for(const _0x30d050 of _0x447c5d){const _0x14e53b=G(_0x30d050);_0x130310[_0x192a0c(0x1db)](_0x30d050,_0x14e53b),_0x18388d[_0x192a0c(0x1db)](_0x30d050,{});}this[_0x192a0c(0x1f1)](Number[_0x192a0c(0x141)],_0x130310,[],_0x18388d);}[_0x28956e(0xde)](_0x2ce3d1,_0x11d98c){const _0x2cd97b=_0x28956e;if(this[_0x2cd97b(0x1c4)]===_0x2ce3d1&&this[_0x2cd97b(0x1ba)]<=_0x11d98c)this[_0x2cd97b(0x126)][_0x2cd97b(0x143)]>0x1&&this[_0x2cd97b(0x1ca)](this[_0x2cd97b(0x1ba)]),this[_0x2cd97b(0x118)](this[_0x2cd97b(0x1ba)],_0x11d98c,!0x0);else{if(!this[_0x2cd97b(0x126)][_0x2cd97b(0x14d)](_0x2ce3d1)){const _0x3e6410=this[_0x2cd97b(0x10b)](_0x2ce3d1);this[_0x2cd97b(0x11c)](_0x3e6410,_0x2ce3d1,!0x1);}this[_0x2cd97b(0x11c)](_0x2ce3d1,_0x11d98c,!0x0);}return this[_0x2cd97b(0x1c4)]=_0x2ce3d1,this[_0x2cd97b(0x1ba)]=_0x11d98c,this[_0x2cd97b(0x11d)]();}[_0x28956e(0xd9)](_0x60fa36){const _0x3594bf=_0x28956e;this[_0x3594bf(0x108)](),this[_0x3594bf(0x1c4)]=_0x60fa36[_0x3594bf(0x168)],this[_0x3594bf(0x1ba)]=_0x60fa36[_0x3594bf(0x1f2)];for(const _0xd79214 in _0x60fa36[_0x3594bf(0x133)]){const _0x35e387=_0x60fa36[_0x3594bf(0x133)][_0xd79214][_0x3594bf(0x128)],_0x3cdf21=_0x4f9206(_0x60fa36[_0x3594bf(0x133)][_0xd79214][_0x3594bf(0x188)])||{},_0xa8168c=this[_0x3594bf(0x1a7)](_0x60fa36[_0x3594bf(0x133)][_0xd79214][_0x3594bf(0xd7)]);_0xa8168c[_0x3594bf(0x174)]=_0xd79214,_0xa8168c[_0x3594bf(0x1aa)]=!_0x35e387||!_0x35e387[_0x3594bf(0x153)],_0xa8168c[_0x3594bf(0x153)]=()=>_0xa8168c[_0x3594bf(0x1aa)],this[_0x3594bf(0xf1)][_0x3594bf(0x1db)](_0xd79214,_0xa8168c),this[_0x3594bf(0x1f7)][_0x3594bf(0x1db)](_0xd79214,_0x3cdf21),_0x35e387&&this[_0x3594bf(0x13a)][_0x3594bf(0x1db)](_0xd79214,_0x35e387);const _0x250760=this[_0x3594bf(0x1ac)](_0xa8168c);this[_0x3594bf(0x167)][_0x3594bf(0x1db)](_0xd79214,_0x250760);for(const [_0x3d5280,_0x16bbd2]of _0xa8168c[_0x3594bf(0x1d5)]){if(!_0x3d5280[_0x3594bf(0x17b)](_0x3594bf(0xfd)))continue;const _0x36c710=_0x3d5280[_0x3594bf(0x117)](':')[0x2];for(const _0x5a59c1 of _0x16bbd2[_0x3594bf(0x1d2)]({'singleCharacters':!0x0})){const _0x140399=this[_0x3594bf(0x1d8)](_0x5a59c1),_0x4239d3=_0x3594bf(0x19a)==_0x5a59c1[_0x3594bf(0x182)]?_0x5a59c1[_0x3594bf(0x16e)][_0x3594bf(0x179)][_0x3594bf(0x13f)](0x0,-0x1):_0x5a59c1[_0x3594bf(0x16e)][_0x3594bf(0x179)],_0x5e8894=_0x250760[_0x3594bf(0x11a)](_0x4239d3)[_0x3594bf(0x1ee)](_0x140399);this[_0x3594bf(0x16d)][_0x3594bf(0x1db)](_0x5e8894,{'userId':_0x36c710});}}}this[_0x3594bf(0x1bf)]=this[_0x3594bf(0x142)];const _0x30709b=[...Array(this[_0x3594bf(0x142)])[_0x3594bf(0x177)]()][_0x3594bf(0x13f)](0x1)[_0x3594bf(0x165)](_0x4b7624=>!this[_0x3594bf(0x16d)][_0x3594bf(0x14d)](_0x4b7624));let _0x3f085a=0x0;const _0x15b08e=new Map();for(const _0xf002ac in _0x60fa36[_0x3594bf(0x133)]){const _0x1a00b6=_0x60fa36[_0x3594bf(0x133)][_0xf002ac][_0x3594bf(0x128)],_0x5721ba=_0x4f9206(_0x60fa36[_0x3594bf(0x133)][_0xf002ac][_0x3594bf(0x15d)])||{},_0x4d5d4e=this[_0x3594bf(0x1a7)](_0x60fa36[_0x3594bf(0x133)][_0xf002ac][_0x3594bf(0x16f)]);_0x4d5d4e[_0x3594bf(0x174)]=_0xf002ac,_0x4d5d4e[_0x3594bf(0x1aa)]=!_0x1a00b6||_0x1a00b6[_0x3594bf(0x153)],_0x4d5d4e[_0x3594bf(0x153)]=()=>_0x4d5d4e[_0x3594bf(0x1aa)],this[_0x3594bf(0x1f9)][_0x3594bf(0x1db)](_0xf002ac,_0x4d5d4e),this[_0x3594bf(0x1e6)][_0x3594bf(0x1db)](_0xf002ac,_0x5721ba);const _0x48eafd=this[_0x3594bf(0x1ac)](_0x4d5d4e,Number[_0x3594bf(0x141)]);this[_0x3594bf(0x1cb)][_0x3594bf(0x1db)](_0xf002ac,_0x48eafd),_0x15b08e[_0x3594bf(0x1db)](_0xf002ac,_0x4d5d4e[_0x3594bf(0x153)]()?_0x5721ba:{});for(const [_0x5a0a42,_0x51bbc3]of _0x4d5d4e[_0x3594bf(0x1d5)]){if(!_0x5a0a42[_0x3594bf(0x17b)](_0x3594bf(0xfd)))continue;const _0x1d72a3=_0x5a0a42[_0x3594bf(0x117)](':')[0x2];for(const _0x53cf44 of _0x51bbc3[_0x3594bf(0x1d2)]({'singleCharacters':!0x0})){const _0x301360=this[_0x3594bf(0x1d8)](_0x53cf44),_0x5cc886=this[_0x3594bf(0x142)]++,_0x571eba=_0x3594bf(0x19a)==_0x53cf44[_0x3594bf(0x182)]?_0x53cf44[_0x3594bf(0x16e)][_0x3594bf(0x179)][_0x3594bf(0x13f)](0x0,-0x1):_0x53cf44[_0x3594bf(0x16e)][_0x3594bf(0x179)];_0x48eafd[_0x3594bf(0x11a)](_0x571eba)[_0x3594bf(0x166)](_0x301360,_0x5cc886),this[_0x3594bf(0x16d)][_0x3594bf(0x1db)](_0x5cc886,{'userId':_0x1d72a3});}}for(const _0x353f9b of this[_0x3594bf(0x18a)][_0x3594bf(0x197)][_0x3594bf(0x1a4)](_0x4d5d4e)[_0x3594bf(0x1d2)]({'singleCharacters':!0x0})){const _0x5f3f52=this[_0x3594bf(0x1d8)](_0x353f9b),_0x1c2722=_0x3594bf(0x19a)==_0x353f9b[_0x3594bf(0x182)]?_0x353f9b[_0x3594bf(0x16e)][_0x3594bf(0x179)][_0x3594bf(0x13f)](0x0,-0x1):_0x353f9b[_0x3594bf(0x16e)][_0x3594bf(0x179)],_0x4fa5bc=_0x48eafd[_0x3594bf(0x11a)](_0x1c2722);_0x4fa5bc[_0x3594bf(0x1ee)](_0x5f3f52)>0x0||_0x4fa5bc[_0x3594bf(0x166)](_0x5f3f52,_0x30709b[_0x3f085a++]);}for(const [_0x467a46,_0x2e568a]of _0x4d5d4e[_0x3594bf(0x1d5)])_0x467a46[_0x3594bf(0x17b)](_0x3594bf(0xfd))||this[_0x3594bf(0x123)][_0x3594bf(0x1db)](_0x467a46,_0x2e568a);}const _0x157ca6=G(_0x3594bf(0xe4));this[_0x3594bf(0xf1)][_0x3594bf(0x1db)](_0x3594bf(0xe4),_0x157ca6),this[_0x3594bf(0x167)][_0x3594bf(0x1db)](_0x3594bf(0xe4),this[_0x3594bf(0x1ac)](_0x157ca6,0x1));const _0x1289c0=G(_0x3594bf(0xe4));this[_0x3594bf(0x1f9)][_0x3594bf(0x1db)](_0x3594bf(0xe4),_0x1289c0),this[_0x3594bf(0x1cb)][_0x3594bf(0x1db)](_0x3594bf(0xe4),this[_0x3594bf(0x1ac)](_0x1289c0,0x1));const _0x2f23e3=Array[_0x3594bf(0x164)](this[_0x3594bf(0x1f9)])[_0x3594bf(0x169)](([_0x5da567,_0x8f346a])=>[_0x5da567,q(_0x8f346a)]);this[_0x3594bf(0x1f1)](this[_0x3594bf(0x1ba)],_0x2f23e3,this[_0x3594bf(0x123)],_0x15b08e);}[_0x28956e(0x1a7)](_0x484905){const _0x364e80=_0x28956e,_0x2db54d=JSON[_0x364e80(0x18c)](_0x484905),_0x83e857=this[_0x364e80(0x18a)][_0x364e80(0x1ad)][_0x364e80(0x1fe)][_0x364e80(0x1ff)],_0x1e085c=new _0x3f1b5e(_0x83e857,_0x2db54d[_0x364e80(0x169)](_0x3aaecd=>B(_0x3aaecd,this[_0x364e80(0x18a)])));return this[_0x364e80(0x18a)][_0x364e80(0x1bd)][_0x364e80(0x152)](_0x1e085c);}[_0x28956e(0x1f1)](_0x14996f,_0x256667,_0x4b1fa2,_0x283c94){const _0x157071=_0x28956e,_0x5c3e32=new Map(_0x256667),_0x515fdb=new Map(_0x4f9206(_0x283c94)),_0x30da48=new Map();for(const [_0x57b36a,_0x10243a]of _0x4b1fa2)_0x30da48[_0x157071(0x1db)](_0x57b36a,{'start':_0x10243a[_0x157071(0x151)][_0x157071(0x1c2)](),'end':_0x10243a[_0x157071(0x184)][_0x157071(0x1c2)](),'rootName':_0x10243a[_0x157071(0x1da)][_0x157071(0x174)]});this[_0x157071(0x126)][_0x157071(0x1db)](_0x14996f,{'roots':_0x5c3e32,'markers':_0x30da48,'rootsAttributes':_0x515fdb});}[_0x28956e(0x1ca)](_0x3e8afd){const _0xb068ce=_0x28956e;this[_0xb068ce(0x126)][_0xb068ce(0x135)](_0x3e8afd);}[_0x28956e(0xf2)](){const _0x30c787=_0x28956e;this[_0x30c787(0x108)](),this[_0x30c787(0x1c4)]=-0x1,this[_0x30c787(0x1ba)]=-0x1,this[_0x30c787(0x126)][_0x30c787(0x18d)](),this[_0x30c787(0x121)](this[_0x30c787(0x14a)]);}[_0x28956e(0x108)](){const _0x1a6381=_0x28956e;this[_0x1a6381(0x16d)][_0x1a6381(0x18d)](),this[_0x1a6381(0x191)][_0x1a6381(0x18d)](),this[_0x1a6381(0x13a)][_0x1a6381(0x18d)](),this[_0x1a6381(0x1f9)][_0x1a6381(0x18d)](),this[_0x1a6381(0x1e6)][_0x1a6381(0x18d)](),this[_0x1a6381(0xf1)][_0x1a6381(0x18d)](),this[_0x1a6381(0x1f7)][_0x1a6381(0x18d)](),this[_0x1a6381(0x1cb)][_0x1a6381(0x18d)](),this[_0x1a6381(0x167)][_0x1a6381(0x18d)](),this[_0x1a6381(0x123)][_0x1a6381(0x18d)](),this[_0x1a6381(0x142)]=0x1,this[_0x1a6381(0x1bf)]=this[_0x1a6381(0x142)];}[_0x28956e(0x1ac)](_0x5aade9,_0x5b50db=null){const _0x2183cb=_0x28956e;let _0x4358ee=null;_0x5aade9['is'](_0x2183cb(0x1bc))||(_0x4358ee=new _0x5cf893(_0x5aade9[_0x2183cb(0x17f)],{'vid_start':null===_0x5b50db?this[_0x2183cb(0x142)]++:_0x5b50db++}));const _0x280bbd=[];for(const _0x2f4ff2 of _0x5aade9[_0x2183cb(0x137)]())if(_0x2f4ff2['is'](_0x2183cb(0x1fc))){_0x280bbd[_0x2183cb(0x119)](this[_0x2183cb(0x1ac)](_0x2f4ff2,_0x5b50db));const _0x8a2dc2=_0x280bbd[_0x280bbd[_0x2183cb(0x1f6)]-0x1];null!==_0x5b50db&&(_0x5b50db=_0x8a2dc2['is'](_0x2183cb(0x1fc),_0x2183cb(0xf9))?_0x8a2dc2[_0x2183cb(0x1ee)](_0x2183cb(0xe2))+0x1:_0x8a2dc2[_0x2183cb(0x1ee)](_0x2183cb(0x1b9))+0x1);}else{for(let _0x876c08=0x0;_0x876c08<_0x2f4ff2[_0x2183cb(0x1b3)];_0x876c08++)_0x280bbd[_0x2183cb(0x119)](new _0x5cf893(_0x2183cb(0xf9),{'vid':null===_0x5b50db?this[_0x2183cb(0x142)]++:_0x5b50db++}));}if(_0x5aade9['is'](_0x2183cb(0x1bc))){const _0x4c7074=G(_0x5aade9[_0x2183cb(0x174)]);return _0x4c7074[_0x2183cb(0x148)](0x0,_0x280bbd),_0x4c7074;}return _0x4358ee[_0x2183cb(0x166)](_0x2183cb(0x1b9),null===_0x5b50db?this[_0x2183cb(0x142)]++:_0x5b50db++),_0x4358ee[_0x2183cb(0x148)](0x0,_0x280bbd),_0x4358ee;}[_0x28956e(0x11c)](_0x4309f7,_0x2ce66e,_0x2a4b3c){const _0x53af01=_0x28956e;this[_0x53af01(0x108)]();const {roots:_0x391249,markers:_0x5e4ae2,rootsAttributes:_0x317088}=this[_0x53af01(0x126)][_0x53af01(0x1ea)](_0x4309f7);this[_0x53af01(0xf1)]=new Map(_0x391249),this[_0x53af01(0x1f7)]=new Map(_0x4f9206(_0x317088));for(const [_0x41ebd2,_0x2c4fea]of this[_0x53af01(0xf1)])if(_0x53af01(0xe4)!==_0x41ebd2&&(this[_0x53af01(0x1f9)][_0x53af01(0x1db)](_0x41ebd2,q(_0x2c4fea)),this[_0x53af01(0x1e6)]=new Map(_0x4f9206(_0x317088)),_0x2a4b3c)){const _0xeac097=this[_0x53af01(0x142)];this[_0x53af01(0x1cb)][_0x53af01(0x1db)](_0x41ebd2,this[_0x53af01(0x1ac)](_0x2c4fea)),this[_0x53af01(0x167)][_0x53af01(0x1db)](_0x41ebd2,this[_0x53af01(0x1ac)](_0x2c4fea,_0xeac097));}this[_0x53af01(0x1bf)]=this[_0x53af01(0x142)],this[_0x53af01(0x1f9)][_0x53af01(0x1db)](_0x53af01(0xe4),q(this[_0x53af01(0xf1)][_0x53af01(0x1ea)](_0x53af01(0xe4)))),_0x2a4b3c&&this[_0x53af01(0x1cb)][_0x53af01(0x1db)](_0x53af01(0xe4),this[_0x53af01(0x1ac)](this[_0x53af01(0xf1)][_0x53af01(0x1ea)](_0x53af01(0xe4))));for(const [_0x3291aa,_0x497206]of _0x5e4ae2){const _0x49c8f4=this[_0x53af01(0xf1)][_0x53af01(0x1ea)](_0x497206[_0x53af01(0x174)]),_0x287413=this[_0x53af01(0x1f9)][_0x53af01(0x1ea)](_0x497206[_0x53af01(0x174)]),_0x175d0c=new _0x14a2d5(this[_0x53af01(0x13c)](_0x497206[_0x53af01(0x151)],_0x49c8f4),this[_0x53af01(0x13c)](_0x497206[_0x53af01(0x184)],_0x49c8f4)),_0x22b8b3=this[_0x53af01(0x156)](_0x175d0c,_0x287413);_0x49c8f4[_0x53af01(0x1d5)][_0x53af01(0x1db)](_0x3291aa,_0x175d0c),this[_0x53af01(0x123)][_0x53af01(0x1db)](_0x3291aa,_0x22b8b3);}this[_0x53af01(0x118)](_0x4309f7,_0x2ce66e,_0x2a4b3c);}[_0x28956e(0x118)](_0x568159,_0x56f8ee,_0x388f94){const _0x12c4e8=_0x28956e;for(const _0x178b86 of this[_0x12c4e8(0x14a)][_0x12c4e8(0x12e)](_0x568159,_0x56f8ee))this[_0x12c4e8(0x1a2)](_0x178b86,_0x388f94);for(const _0x5b192c of this[_0x12c4e8(0x1f9)][_0x12c4e8(0x173)]())_0x5b192c[_0x12c4e8(0x1d5)][_0x12c4e8(0x18d)]();for(const [_0x4e2e2d,_0x2df1e1]of this[_0x12c4e8(0x123)]){this[_0x12c4e8(0x1f9)][_0x12c4e8(0x1ea)](_0x2df1e1[_0x12c4e8(0x1da)][_0x12c4e8(0x174)])[_0x12c4e8(0x1d5)][_0x12c4e8(0x1db)](_0x4e2e2d,_0x2df1e1[_0x12c4e8(0x1c2)]());}const _0x3cda2d=new Map(),_0x2fb76c=new Map();for(const [_0x83a204,_0x9d755c]of this[_0x12c4e8(0x1f9)])_0x3cda2d[_0x12c4e8(0x1db)](_0x83a204,q(_0x9d755c)),_0x2fb76c[_0x12c4e8(0x1db)](_0x83a204,this[_0x12c4e8(0x1e6)][_0x12c4e8(0x1ea)](_0x83a204));this[_0x12c4e8(0x1f1)](_0x56f8ee,_0x3cda2d,this[_0x12c4e8(0x123)],_0x2fb76c);}[_0x28956e(0x10b)](_0x2958fc){const _0x35532f=_0x28956e,_0x2f38da=Array[_0x35532f(0x164)](this[_0x35532f(0x126)][_0x35532f(0x177)]());_0x2f38da[_0x35532f(0x1b5)]((_0x45e284,_0x1d5af2)=>_0x45e284-_0x1d5af2),_0x2f38da[_0x35532f(0x154)]();for(const _0x12cd3e of _0x2f38da)if(_0x12cd3e<_0x2958fc)return _0x12cd3e;return Number[_0x35532f(0x141)];}[_0x28956e(0xdf)](_0x5619f9,_0x346e12){const _0x2e61ec=_0x28956e,_0xfbf93c=Array[_0x2e61ec(0x164)](_0x346e12[_0x2e61ec(0x1d5)])[_0x2e61ec(0x169)](([_0x5b5617,_0x6bd76a])=>[_0x5b5617,this[_0x2e61ec(0x156)](_0x6bd76a,_0x5619f9)]);_0x5619f9[_0x2e61ec(0x1d5)]=new Map(_0xfbf93c);}[_0x28956e(0x127)](_0x478eb4){const _0x1b1e7d=_0x28956e;for(const _0x98e6ba of this[_0x1b1e7d(0x123)][_0x1b1e7d(0x173)]()){const _0x1dec63=_0x98e6ba[_0x1b1e7d(0xe7)](_0x478eb4),_0x371516=_0x14a2d5[_0x1b1e7d(0x172)](_0x1dec63);_0x98e6ba[_0x1b1e7d(0x151)]=_0x371516[_0x1b1e7d(0x151)],_0x98e6ba[_0x1b1e7d(0x184)]=_0x371516[_0x1b1e7d(0x184)];}}[_0x28956e(0x1a2)](_0x173bfb,_0x1e7b54){const _0x5f09ec=_0x28956e;if(_0x5f09ec(0x10a)==_0x173bfb[_0x5f09ec(0x182)]||_0x5f09ec(0x17e)==_0x173bfb[_0x5f09ec(0x182)])return void this[_0x5f09ec(0x1bb)](_0x173bfb,_0x1e7b54);if(_0x5f09ec(0x1dd)==_0x173bfb[_0x5f09ec(0x182)]){const _0xaa5107=_0x173bfb[_0x5f09ec(0x125)][_0x5f09ec(0x1da)][_0x5f09ec(0x174)];this[_0x5f09ec(0x1f9)][_0x5f09ec(0x14d)](_0xaa5107)||(this[_0x5f09ec(0x1f9)][_0x5f09ec(0x1db)](_0xaa5107,G(_0xaa5107,!0x0)),this[_0x5f09ec(0x1e6)][_0x5f09ec(0x1db)](_0xaa5107,{}),_0x1e7b54&&this[_0x5f09ec(0x1cb)][_0x5f09ec(0x1db)](_0xaa5107,G(_0xaa5107,!0x0)));}else{if(_0x5f09ec(0x14e)==_0x173bfb[_0x5f09ec(0x182)]||_0x5f09ec(0x1ae)==_0x173bfb[_0x5f09ec(0x182)]||_0x5f09ec(0x101)==_0x173bfb[_0x5f09ec(0x182)])return void this[_0x5f09ec(0x1e5)](_0x173bfb);}const _0x18d26d=this[_0x5f09ec(0x139)](_0x173bfb,this[_0x5f09ec(0x1f9)]);if(_0x5f09ec(0x1ed)!==_0x173bfb[_0x5f09ec(0x182)]&&(_0x18d26d[_0x5f09ec(0x1d6)](),this[_0x5f09ec(0x127)](_0x18d26d)),_0x1e7b54)switch(_0x18d26d[_0x5f09ec(0x182)]){case _0x5f09ec(0x1dd):this[_0x5f09ec(0x146)](_0x173bfb);break;case _0x5f09ec(0x109):case _0x5f09ec(0x185):case _0x5f09ec(0xfc):this[_0x5f09ec(0x1de)](_0x173bfb);break;case _0x5f09ec(0x131):this[_0x5f09ec(0xf5)](_0x173bfb);break;case _0x5f09ec(0x117):this[_0x5f09ec(0x103)](_0x173bfb);break;case _0x5f09ec(0x1ed):this[_0x5f09ec(0x147)](_0x173bfb);}}[_0x28956e(0x139)](_0x40d870,_0x2ddb1f){const _0x15da9c=_0x28956e,_0x39b4d7=_0x40d870[_0x15da9c(0x1c2)]();return _0x39b4d7[_0x15da9c(0x199)]=_0x40d870[_0x15da9c(0x199)],this[_0x15da9c(0x155)](_0x39b4d7,_0x2ddb1f),_0x39b4d7;}[_0x28956e(0xe0)](_0x1e0071){const _0xd4c009=_0x28956e;return _0x1e0071[_0xd4c009(0x169)](_0x3a816d=>{const _0x4c6177=_0xd4c009,_0x2a8db2=this[_0x4c6177(0x1d8)](_0x3a816d);return Number(_0x3a816d[_0x4c6177(0x1e8)][_0x4c6177(0x1ee)](_0x2a8db2));});}[_0x28956e(0x1df)](_0x7a652a,_0x1f5ad4){const _0x29ba53=_0x28956e;if(_0x7a652a['is'](_0x29ba53(0x1fc),_0x29ba53(0xf9)))_0x1f5ad4[_0x29ba53(0x119)]({'item':_0x7a652a,'type':_0x29ba53(0x192)});else{_0x7a652a['is'](_0x29ba53(0x1fc))&&_0x1f5ad4[_0x29ba53(0x119)]({'item':_0x7a652a,'type':_0x29ba53(0xfa)});for(const _0x56db5b of _0x7a652a[_0x29ba53(0x137)]())this[_0x29ba53(0x1df)](_0x56db5b,_0x1f5ad4);_0x7a652a['is'](_0x29ba53(0x1fc))&&_0x1f5ad4[_0x29ba53(0x119)]({'item':_0x7a652a,'type':_0x29ba53(0x19a)});}return _0x1f5ad4;}[_0x28956e(0x11d)](){const _0x2504e8=_0x28956e,_0x1bb825=new Map(this[_0x2504e8(0x16d)]),_0x51a30e=new Map(_0x1bb825),_0x5e6940=new Map(),_0x26331f={'insertions':{},'deletions':{}},_0x33acaa={'insertions':{},'deletions':{}},_0x2eb1e5=new Map(),_0x326249=new Set([...this[_0x2504e8(0xf1)][_0x2504e8(0x177)](),...this[_0x2504e8(0x1f9)][_0x2504e8(0x177)]()]);_0x326249[_0x2504e8(0x135)](_0x2504e8(0xe4));for(const _0x4829a4 of _0x326249){const _0x387444=this[_0x2504e8(0x1f9)][_0x2504e8(0x1ea)](_0x4829a4)||G(_0x4829a4,!0x1),_0xe1a05e=this[_0x2504e8(0xf1)][_0x2504e8(0x1ea)](_0x4829a4)||G(_0x4829a4,!0x1);_0x387444[_0x2504e8(0x153)]()||_0xe1a05e[_0x2504e8(0x153)]()?(_0x26331f[_0x2504e8(0x16f)][_0x4829a4]=q(_0x387444),_0x26331f[_0x2504e8(0xd7)][_0x4829a4]=q(_0xe1a05e),this[_0x2504e8(0xdf)](_0x26331f[_0x2504e8(0xd7)][_0x4829a4],_0xe1a05e),this[_0x2504e8(0xdf)](_0x26331f[_0x2504e8(0x16f)][_0x4829a4],_0x387444),_0x33acaa[_0x2504e8(0x16f)][_0x4829a4]=this[_0x2504e8(0x1df)](this[_0x2504e8(0x1cb)][_0x2504e8(0x1ea)](_0x4829a4),[]),_0x33acaa[_0x2504e8(0xd7)][_0x4829a4]=this[_0x2504e8(0x1df)](this[_0x2504e8(0x167)][_0x2504e8(0x1ea)](_0x4829a4)||G(_0x4829a4,!0x1),[])):_0x326249[_0x2504e8(0x135)](_0x4829a4);}for(const _0xaa5b43 of _0x326249){const _0x3a4c12=_0x33acaa[_0x2504e8(0x16f)][_0xaa5b43];for(const _0x114a4b of _0x3a4c12){const _0x23dbb3=this[_0x2504e8(0x1d8)](_0x114a4b),_0x1f159a=_0x114a4b[_0x2504e8(0x1e8)][_0x2504e8(0x1ee)](_0x23dbb3);_0x51a30e[_0x2504e8(0x135)](_0x1f159a),_0x1f159a>=this[_0x2504e8(0x1bf)]&&_0x5e6940[_0x2504e8(0x1db)](_0x1f159a,_0x1bb825[_0x2504e8(0x1ea)](_0x1f159a));}}for(const _0x56a969 of _0x326249){const _0x31a085=_0x33acaa[_0x2504e8(0x16f)][_0x56a969],_0x448d00=this[_0x2504e8(0xe0)](_0x33acaa[_0x2504e8(0xd7)][_0x56a969]);let _0x1e292f=0x0;for(const _0x2a33b5 of _0x31a085){const _0x11e151=this[_0x2504e8(0x1d8)](_0x2a33b5),_0x3a6479=_0x2a33b5[_0x2504e8(0x1e8)][_0x2504e8(0x1ee)](_0x11e151);if(!_0x5e6940[_0x2504e8(0x14d)](_0x3a6479)&&!_0x2eb1e5[_0x2504e8(0x14d)](_0x3a6479)){if(_0x51a30e[_0x2504e8(0x14d)](_0x3a6479))_0x1e292f++;else{if(_0x3a6479!=_0x448d00[_0x1e292f]){const _0xed5e1e=_0x1bb825[_0x2504e8(0x1ea)](_0x3a6479)||_0x1bb825[_0x2504e8(0x1ea)](_0x448d00[_0x1e292f]);for(;_0x3a6479!=_0x448d00[_0x1e292f];)_0x51a30e[_0x2504e8(0x14d)](_0x448d00[_0x1e292f])||(_0x2eb1e5[_0x2504e8(0x1db)](_0x448d00[_0x1e292f],_0xed5e1e),_0x1bb825[_0x2504e8(0x1db)](_0x448d00[_0x1e292f],_0xed5e1e)),_0x1e292f++;}_0x1e292f++;}}}}for(const _0x1164fb of _0x326249){const _0x478254=_0x33acaa[_0x2504e8(0x16f)][_0x1164fb];for(const _0x2f1717 of _0x478254){const _0x5d6af4=this[_0x2504e8(0x1d8)](_0x2f1717),_0x2dda7c=_0x2f1717[_0x2504e8(0x1e8)][_0x2504e8(0x1ee)](_0x5d6af4);if(_0x2eb1e5[_0x2504e8(0x14d)](_0x2dda7c)){const _0x44e4d8=_0x2eb1e5[_0x2504e8(0x1ea)](_0x2dda7c);_0x51a30e[_0x2504e8(0x14d)](_0x2dda7c)||_0x51a30e[_0x2504e8(0x1db)](_0x2dda7c,{..._0x44e4d8}),_0x5e6940[_0x2504e8(0x1db)](_0x2dda7c,{..._0x44e4d8});}}}for(const _0x18274d of _0x51a30e[_0x2504e8(0x177)]())_0x18274d>=this[_0x2504e8(0x1bf)]&&_0x51a30e[_0x2504e8(0x135)](_0x18274d);const _0x503ac8=new Map();for(const _0x173ad2 of _0x326249){let _0x5d0f5e=_0x33acaa[_0x2504e8(0x16f)][_0x173ad2];for(const _0x3bea78 of _0x5d0f5e)if(_0x3bea78[_0x2504e8(0x1e8)]['is'](_0x2504e8(0x1fc),_0x2504e8(0x1b1))){const _0x363315=this[_0x2504e8(0x1d8)](_0x3bea78),_0x1c921f=_0x3bea78[_0x2504e8(0x1e8)][_0x2504e8(0x1ee)](_0x363315);if(_0x5e6940[_0x2504e8(0x14d)](_0x1c921f)){const _0x1566f1=_0x3bea78[_0x2504e8(0x1e8)][_0x2504e8(0xda)][_0x2504e8(0xda)][_0x2504e8(0x1ee)](_0x2504e8(0x10f)),_0xc4f88e=_0x503ac8[_0x2504e8(0x1ea)](_0x1566f1)||new Set();_0xc4f88e[_0x2504e8(0x1a5)](_0x5e6940[_0x2504e8(0x1ea)](_0x1c921f)[_0x2504e8(0xf4)]),_0x503ac8[_0x2504e8(0x1db)](_0x1566f1,_0xc4f88e);}}_0x5d0f5e=_0x33acaa[_0x2504e8(0xd7)][_0x173ad2];for(const _0x1c820d of _0x5d0f5e)if(_0x1c820d[_0x2504e8(0x1e8)]['is'](_0x2504e8(0x1fc),_0x2504e8(0x1b1))){const _0x5601f1=this[_0x2504e8(0x1d8)](_0x1c820d),_0x520981=_0x1c820d[_0x2504e8(0x1e8)][_0x2504e8(0x1ee)](_0x5601f1);if(_0x51a30e[_0x2504e8(0x14d)](_0x520981)){const _0x5660a0=_0x1c820d[_0x2504e8(0x1e8)][_0x2504e8(0xda)][_0x2504e8(0xda)][_0x2504e8(0x1ee)](_0x2504e8(0x10f)),_0x3a8e6a=_0x503ac8[_0x2504e8(0x1ea)](_0x5660a0)||new Set();_0x3a8e6a[_0x2504e8(0x1a5)](_0x51a30e[_0x2504e8(0x1ea)](_0x520981)[_0x2504e8(0xf4)]),_0x503ac8[_0x2504e8(0x1db)](_0x5660a0,_0x3a8e6a);}}for(const _0x3e77ca of _0x503ac8[_0x2504e8(0x177)]())(_0x5e6940[_0x2504e8(0x14d)](_0x3e77ca)||_0x51a30e[_0x2504e8(0x14d)](_0x3e77ca))&&_0x503ac8[_0x2504e8(0x135)](_0x3e77ca);}for(const _0x54f6fd of _0x326249){const _0x64ca56=_0x33acaa[_0x2504e8(0x16f)][_0x54f6fd];let _0x47540b=null,_0x48deef=null;for(const _0xf8d26a of _0x64ca56){const _0x42ab09=this[_0x2504e8(0x1d8)](_0xf8d26a),_0x433be9=_0xf8d26a[_0x2504e8(0x1e8)][_0x2504e8(0x1ee)](_0x42ab09),_0x44a9f0=_0x503ac8[_0x2504e8(0x1ea)](_0x433be9);_0x44a9f0&&_0x2504e8(0xfa)==_0xf8d26a[_0x2504e8(0x182)]&&(_0x47540b=Array[_0x2504e8(0x164)](_0x44a9f0)[0x0],_0x48deef=_0xf8d26a[_0x2504e8(0x1e8)][_0x2504e8(0x1ee)](_0x2504e8(0x1b9))),_0x47540b&&(_0x51a30e[_0x2504e8(0x1db)](_0x433be9,{'userId':_0x47540b}),_0x5e6940[_0x2504e8(0x1db)](_0x433be9,{'userId':_0x47540b})),_0x433be9==_0x48deef&&(_0x47540b=null,_0x48deef=null);}}const _0x24def4={},_0x1d9f2c=new Set();for(const _0x1f01bc of _0x326249){const _0x58d43c=_0x26331f[_0x2504e8(0xd7)][_0x1f01bc],_0x23a870=_0x26331f[_0x2504e8(0x16f)][_0x1f01bc];for(const {userId:_0x34dbc2}of this[_0x2504e8(0x191)][_0x2504e8(0x173)]())null!==_0x34dbc2&&_0x1d9f2c[_0x2504e8(0x1a5)](_0x34dbc2);for(const {userId:_0x3c108e}of this[_0x2504e8(0x13a)][_0x2504e8(0x173)]())null!==_0x3c108e&&_0x1d9f2c[_0x2504e8(0x1a5)](_0x3c108e);this[_0x2504e8(0x14c)](_0x23a870,_0x33acaa[_0x2504e8(0x16f)][_0x1f01bc],_0x5e6940,_0x2504e8(0xdc),_0x1d9f2c),this[_0x2504e8(0x14c)](_0x58d43c,_0x33acaa[_0x2504e8(0xd7)][_0x1f01bc],_0x51a30e,_0x2504e8(0xea),_0x1d9f2c),_0x24def4[_0x1f01bc]={'insertions':this[_0x2504e8(0xdb)](_0x23a870),'deletions':this[_0x2504e8(0xdb)](_0x58d43c),'attachChange':this[_0x2504e8(0x13a)][_0x2504e8(0x1ea)](_0x1f01bc)||null,'attributesBefore':_0x4f9206(this[_0x2504e8(0x1f7)][_0x2504e8(0x1ea)](_0x1f01bc))||{},'attributesAfter':_0x4f9206(this[_0x2504e8(0x1e6)][_0x2504e8(0x1ea)](_0x1f01bc))};}return{'diffData':_0x24def4,'authorsIds':Array[_0x2504e8(0x164)](_0x1d9f2c)};}[_0x28956e(0x1a6)](_0x4e672b){const _0x126375=_0x28956e;for(const [,_0x1d541c]of _0x4e672b[_0x126375(0x1d5)]){const _0x33d507=_0x1d541c[_0x126375(0x151)][_0x126375(0x100)]()[_0x126375(0x165)](_0x53a7c9=>_0x126375(0x1b1)==_0x53a7c9[_0x126375(0x17f)]);for(const _0x356495 of _0x33d507)0x1==_0x356495[_0x126375(0x183)]&&_0x356495[_0x126375(0x17a)](0x0)['is'](_0x126375(0x1fc),_0x126375(0x13b))&&_0x356495[_0x126375(0x17a)](0x0)[_0x126375(0x166)](_0x126375(0x15f),!0x0);}}[_0x28956e(0xdb)](_0x35c8f5){const _0x171177=_0x28956e;this[_0x171177(0x1a6)](_0x35c8f5);const _0x10b073=this[_0x171177(0x18a)][_0x171177(0x1bd)][_0x171177(0x1ce)](_0x35c8f5,{}),_0xdedf7a=Array[_0x171177(0x164)](_0x10b073[_0x171177(0x137)]())[_0x171177(0x169)](_0x4e4488=>this[_0x171177(0x132)](_0x4e4488));return JSON[_0x171177(0x1fa)](_0xdedf7a);}[_0x28956e(0x132)](_0xe6251e){const _0x5639f2=_0x28956e;if(_0xe6251e['is'](_0x5639f2(0xf9)))return _0xe6251e[_0x5639f2(0x1bd)];{const _0x18d535=_0xe6251e;return{'type':Object[_0x5639f2(0x177)](T)[_0x5639f2(0x194)](_0x38730c=>_0xe6251e instanceof T[_0x38730c]),'name':_0x18d535[_0x5639f2(0x17f)],'attributes':Array[_0x5639f2(0x164)](_0x18d535[_0x5639f2(0x134)]()),'children':Array[_0x5639f2(0x164)](_0x18d535[_0x5639f2(0x137)]())[_0x5639f2(0x169)](_0x31a03b=>this[_0x5639f2(0x132)](_0x31a03b))};}}[_0x28956e(0x14c)](_0x536382,_0x3fcf5f,_0x1078a1,_0x2cbfd0,_0x546828){const _0x2c6eeb=_0x28956e;let _0x5421d7=null,_0x4461cf=null,_0x2a3780=0x0;const _0x3f37de=this[_0x2c6eeb(0x18a)][_0x2c6eeb(0x197)];for(let _0x2f5b32=0x0;_0x2f5b32<_0x3fcf5f[_0x2c6eeb(0x1f6)];_0x2f5b32++){const _0x203819=this[_0x2c6eeb(0x1d8)](_0x3fcf5f[_0x2f5b32]),_0x1d4c91=_0x3fcf5f[_0x2f5b32][_0x2c6eeb(0x1e8)][_0x2c6eeb(0x1ee)](_0x203819),_0x363122=_0x1078a1[_0x2c6eeb(0x1ea)](_0x1d4c91),_0x300e1b=_0x2f5b32==_0x3fcf5f[_0x2c6eeb(0x1f6)]-0x1;(!_0x5421d7&&_0x363122&&(_0x5421d7=_0x363122,_0x4461cf=_0x3fcf5f[_0x2f5b32]),_0x5421d7&&(!_0x363122||_0x363122[_0x2c6eeb(0xf4)]!=_0x5421d7[_0x2c6eeb(0xf4)]))&&(_0x3fc783(_0x363122,L(_0x4461cf,_0x536382,_0x3f37de),L(_0x3fcf5f[_0x2f5b32],_0x536382,_0x3f37de)),_0x5421d7=_0x363122||null,_0x4461cf=_0x363122?_0x3fcf5f[_0x2f5b32]:null),_0x5421d7&&_0x300e1b&&_0x3fc783(_0x363122,L(_0x4461cf,_0x536382,_0x3f37de),W(_0x3fcf5f[_0x2f5b32],_0x536382,_0x3f37de));}function _0x3fc783(_0x336dc1,_0x51f157,_0x14b2c9){const _0xe2a724=_0x2c6eeb,_0x57b1cd=_0x5421d7[_0xe2a724(0xf4)],_0x54dc9a=_0xe2a724(0xfd)+_0x2cbfd0+':'+_0x57b1cd+':'+_0x2a3780++,_0x7a38b=_0x3f37de[_0xe2a724(0x157)](_0x51f157,_0x14b2c9);_0x536382[_0xe2a724(0x1d5)][_0xe2a724(0x1db)](_0x54dc9a,_0x7a38b),null!==_0x57b1cd&&_0x546828[_0xe2a724(0x1a5)](_0x57b1cd);}}[_0x28956e(0x1d8)](_0x5b919f){const _0x43af3b=_0x28956e;switch(_0x5b919f[_0x43af3b(0x182)]){case _0x43af3b(0xfa):return _0x43af3b(0x10f);case _0x43af3b(0x19a):return _0x43af3b(0x1b9);default:return _0x43af3b(0xe2);}}[_0x28956e(0x155)](_0x190bfa,_0x359e9c){const _0x352818=_0x28956e;_0x190bfa[_0x352818(0xec)]=null;for(const _0x55af07 in _0x190bfa){const _0x596545=_0x190bfa[_0x55af07];if(_0x596545 instanceof _0x3ca032){const _0xb37c29=_0x359e9c[_0x352818(0x1ea)](_0x596545[_0x352818(0x1da)][_0x352818(0x174)]);_0x190bfa[_0x55af07]=this[_0x352818(0x13c)](_0x596545,_0xb37c29);}if(_0x596545 instanceof _0x14a2d5){const _0x2ea0bf=_0x359e9c[_0x352818(0x1ea)](_0x596545[_0x352818(0x1da)][_0x352818(0x174)]);_0x190bfa[_0x55af07]=this[_0x352818(0x156)](_0x596545,_0x2ea0bf);}_0x352818(0x1da)===_0x55af07&&(_0x190bfa[_0x352818(0x1da)]=_0x359e9c[_0x352818(0x1ea)](_0x190bfa[_0x352818(0x1da)][_0x352818(0x174)]));}}[_0x28956e(0x156)](_0x5d3f08,_0x559826){const _0x32d9dc=_0x28956e;return this[_0x32d9dc(0x18a)][_0x32d9dc(0x197)][_0x32d9dc(0x157)](this[_0x32d9dc(0x13c)](_0x5d3f08[_0x32d9dc(0x151)],_0x559826),this[_0x32d9dc(0x13c)](_0x5d3f08[_0x32d9dc(0x184)],_0x559826));}[_0x28956e(0x13c)](_0x544c3e,_0x82b5d2){const _0x389f72=_0x28956e;return this[_0x389f72(0x18a)][_0x389f72(0x197)][_0x389f72(0x1c5)](_0x82b5d2,_0x544c3e[_0x389f72(0x179)],_0x544c3e[_0x389f72(0x1ec)]);}[_0x28956e(0x146)](_0x2a5a69){const _0x45cefa=_0x28956e,_0x4aebfc=this[_0x45cefa(0x1cb)][_0x45cefa(0x1ea)](_0x2a5a69[_0x45cefa(0x125)][_0x45cefa(0x1da)][_0x45cefa(0x174)]),_0x4830ed=this[_0x45cefa(0x13c)](_0x2a5a69[_0x45cefa(0x125)],_0x4aebfc),_0x5b85c1=null===_0x2a5a69[_0x45cefa(0x199)]?null:_0x2a5a69[_0x45cefa(0x199)]||this[_0x45cefa(0x18a)][_0x45cefa(0xff)][_0x45cefa(0x1ea)](_0x45cefa(0x150))['me']['id'],_0x409bc6=_0x4830ed[_0x45cefa(0xda)],_0x2ae7c6=this[_0x45cefa(0x142)],_0x1f1e45=[];for(const _0x7684e0 of _0x2a5a69[_0x45cefa(0x1a3)])if(_0x7684e0['is'](_0x45cefa(0x1fc)))_0x1f1e45[_0x45cefa(0x119)](this[_0x45cefa(0x1ac)](_0x7684e0));else{for(let _0x10053f=0x0;_0x10053f<_0x7684e0[_0x45cefa(0x1b3)];_0x10053f++)_0x1f1e45[_0x45cefa(0x119)](new _0x5cf893(_0x45cefa(0xf9),{'vid':this[_0x45cefa(0x142)]++}));}const _0x189a1e=this[_0x45cefa(0x142)];for(let _0x52fb5f=_0x2ae7c6;_0x52fb5f<_0x189a1e;_0x52fb5f++)this[_0x45cefa(0x16d)][_0x45cefa(0x1db)](_0x52fb5f,{'userId':_0x5b85c1});_0x409bc6[_0x45cefa(0x148)](_0x4830ed[_0x45cefa(0x1c0)],_0x1f1e45);}[_0x28956e(0x1de)](_0x386b03){const _0x598e90=_0x28956e;(_0x386b03=this[_0x598e90(0x139)](_0x386b03,this[_0x598e90(0x1cb)]))[_0x598e90(0x1d6)]();const _0x25f79e=null===_0x386b03[_0x598e90(0x199)]?null:_0x386b03[_0x598e90(0x199)]||this[_0x598e90(0x18a)][_0x598e90(0xff)][_0x598e90(0x1ea)](_0x598e90(0x150))['me']['id'],_0xe070d6=_0x386b03[_0x598e90(0x16a)](),_0x102637=_0xe070d6[_0x598e90(0xda)],_0x1e6f50=_0xe070d6[_0x598e90(0x1c0)];!function _0xeab6ea(_0x26f88f,_0x5e7867,_0x3a3dd2,_0x53fe8c){const _0x45daf6=_0x598e90;for(let _0x2c5253=_0x3a3dd2;_0x2c5253<_0x53fe8c;_0x2c5253++){const _0x8c6f1=_0x5e7867[_0x45daf6(0x17a)](_0x2c5253);_0x8c6f1['is'](_0x45daf6(0x1fc),_0x45daf6(0xf9))?_0x26f88f[_0x45daf6(0x1db)](_0x8c6f1[_0x45daf6(0x1ee)](_0x45daf6(0xe2)),{'userId':_0x25f79e}):(_0x26f88f[_0x45daf6(0x1db)](_0x8c6f1[_0x45daf6(0x1ee)](_0x45daf6(0x10f)),{'userId':_0x25f79e}),_0xeab6ea(_0x26f88f,_0x8c6f1,0x0,_0x8c6f1[_0x45daf6(0x183)]),_0x26f88f[_0x45daf6(0x1db)](_0x8c6f1[_0x45daf6(0x1ee)](_0x45daf6(0x1b9)),{'userId':_0x25f79e}));}}(this[_0x598e90(0x16d)],_0x102637,_0x1e6f50,_0x1e6f50+_0x386b03[_0x598e90(0x11b)]);}[_0x28956e(0xf5)](_0x33c542){const _0x1ced66=_0x28956e,_0x3cb03a=null===(_0x33c542=this[_0x1ced66(0x139)](_0x33c542,this[_0x1ced66(0x1cb)]))[_0x1ced66(0x199)]?null:_0x33c542[_0x1ced66(0x199)]||this[_0x1ced66(0x18a)][_0x1ced66(0xff)][_0x1ced66(0x1ea)](_0x1ced66(0x150))['me']['id'],_0x15a7cf=_0x33c542[_0x1ced66(0x110)][_0x1ced66(0xda)],_0x2435aa=_0x33c542[_0x1ced66(0x130)][_0x1ced66(0xda)],_0x27a5bf=_0x15a7cf[_0x1ced66(0x1ee)](_0x1ced66(0x1b9)),_0x1ff884=_0x2435aa[_0x1ced66(0x1ee)](_0x1ced66(0x10f));_0x15a7cf[_0x1ced66(0x166)](_0x1ced66(0x1b9),_0x2435aa[_0x1ced66(0x1ee)](_0x1ced66(0x1b9))),_0x2435aa[_0x1ced66(0x166)](_0x1ced66(0x1b9),_0x27a5bf),this[_0x1ced66(0x16d)][_0x1ced66(0x1db)](_0x1ff884,{'userId':_0x3cb03a}),this[_0x1ced66(0x16d)][_0x1ced66(0x1db)](_0x27a5bf,{'userId':_0x3cb03a}),_0x33c542[_0x1ced66(0x1d6)]();}[_0x28956e(0x103)](_0x1cb6e2){const _0x4ceadc=_0x28956e,_0x1f14ba=null===(_0x1cb6e2=this[_0x4ceadc(0x139)](_0x1cb6e2,this[_0x4ceadc(0x1cb)]))[_0x4ceadc(0x199)]?null:_0x1cb6e2[_0x4ceadc(0x199)]||this[_0x4ceadc(0x18a)][_0x4ceadc(0xff)][_0x4ceadc(0x1ea)](_0x4ceadc(0x150))['me']['id'],_0x31d5a3=_0x1cb6e2[_0x4ceadc(0x190)],_0x1af382=_0x1cb6e2[_0x4ceadc(0x1d1)][_0x4ceadc(0xda)];_0x1cb6e2[_0x4ceadc(0x1d6)]();const _0x2d2f68=_0x1af382[_0x4ceadc(0x1ee)](_0x4ceadc(0x1b9)),_0x2c26c6=_0x1cb6e2[_0x4ceadc(0xeb)][_0x4ceadc(0x1dc)];if(_0x31d5a3){const _0x39094c=_0x2c26c6[_0x4ceadc(0x1ee)](_0x4ceadc(0x1b9)),_0x141e97=_0x1af382[_0x4ceadc(0x1ee)](_0x4ceadc(0x1b9));_0x1af382[_0x4ceadc(0x166)](_0x4ceadc(0x1b9),_0x39094c),_0x2c26c6[_0x4ceadc(0x166)](_0x4ceadc(0x1b9),_0x141e97),this[_0x4ceadc(0x16d)][_0x4ceadc(0x1db)](_0x1af382[_0x4ceadc(0x1ee)](_0x4ceadc(0x1b9)),{'userId':_0x1f14ba}),this[_0x4ceadc(0x16d)][_0x4ceadc(0x1db)](_0x2c26c6[_0x4ceadc(0x1ee)](_0x4ceadc(0x10f)),{'userId':_0x1f14ba});}else{const _0x173f8f=this[_0x4ceadc(0x142)]++,_0x3c681b=this[_0x4ceadc(0x142)]++;_0x1af382[_0x4ceadc(0x166)](_0x4ceadc(0x1b9),_0x173f8f),_0x2c26c6[_0x4ceadc(0x166)](_0x4ceadc(0x10f),_0x3c681b),_0x2c26c6[_0x4ceadc(0x166)](_0x4ceadc(0x1b9),_0x2d2f68),this[_0x4ceadc(0x16d)][_0x4ceadc(0x1db)](_0x173f8f,{'userId':_0x1f14ba}),this[_0x4ceadc(0x16d)][_0x4ceadc(0x1db)](_0x3c681b,{'userId':_0x1f14ba});}}[_0x28956e(0x147)](_0x2e2cf3){const _0x5dc2f4=_0x28956e;if(!_0x2e2cf3[_0x5dc2f4(0x10c)])return;const _0x123793=(_0x2e2cf3=this[_0x5dc2f4(0x139)](_0x2e2cf3,this[_0x5dc2f4(0x1f9)]))[_0x5dc2f4(0x1e2)]?_0x2e2cf3[_0x5dc2f4(0x1e2)][_0x5dc2f4(0x1da)]:null,_0x4ddcb9=_0x2e2cf3[_0x5dc2f4(0x1c9)]?_0x2e2cf3[_0x5dc2f4(0x1c9)][_0x5dc2f4(0x1da)]:null;_0x123793&&this[_0x5dc2f4(0x123)][_0x5dc2f4(0x135)](_0x2e2cf3[_0x5dc2f4(0x17f)]),_0x4ddcb9&&this[_0x5dc2f4(0x123)][_0x5dc2f4(0x1db)](_0x2e2cf3[_0x5dc2f4(0x17f)],_0x2e2cf3[_0x5dc2f4(0x1c9)][_0x5dc2f4(0x1c2)]());const _0x46d690=null===_0x2e2cf3[_0x5dc2f4(0x199)]?null:_0x2e2cf3[_0x5dc2f4(0x199)]||this[_0x5dc2f4(0x18a)][_0x5dc2f4(0xff)][_0x5dc2f4(0x1ea)](_0x5dc2f4(0x150))['me']['id'],_0x564613=_0x2e2cf3[_0x5dc2f4(0x17f)];if(!this[_0x5dc2f4(0x191)][_0x5dc2f4(0x14d)](_0x564613))return void this[_0x5dc2f4(0x191)][_0x5dc2f4(0x1db)](_0x564613,{'range':_0x2e2cf3[_0x5dc2f4(0x1e2)],'userId':_0x46d690});const _0x3c9fba=this[_0x5dc2f4(0x191)][_0x5dc2f4(0x1ea)](_0x564613),_0x309629=_0x3c9fba[_0x5dc2f4(0x1af)],_0xdcc211=_0x2e2cf3[_0x5dc2f4(0x1c9)];null==_0x309629&&null==_0xdcc211||_0x309629&&_0xdcc211&&_0x309629[_0x5dc2f4(0x1f0)](_0xdcc211)?this[_0x5dc2f4(0x191)][_0x5dc2f4(0x135)](_0x2e2cf3[_0x5dc2f4(0x17f)]):_0x3c9fba[_0x5dc2f4(0xf4)]=_0x46d690;}[_0x28956e(0x1bb)](_0x57004e,_0x5e6c1b){const _0x1cf083=_0x28956e;this[_0x1cf083(0x1f9)][_0x1cf083(0x14d)](_0x57004e[_0x1cf083(0x174)])?this[_0x1cf083(0x1f9)][_0x1cf083(0x1ea)](_0x57004e[_0x1cf083(0x174)])[_0x1cf083(0x1aa)]=_0x57004e[_0x1cf083(0xe1)]:(this[_0x1cf083(0x1f9)][_0x1cf083(0x1db)](_0x57004e[_0x1cf083(0x174)],G(_0x57004e[_0x1cf083(0x174)],!0x0)),this[_0x1cf083(0x1e6)][_0x1cf083(0x1db)](_0x57004e[_0x1cf083(0x174)],{}),_0x5e6c1b&&this[_0x1cf083(0x1cb)][_0x1cf083(0x1db)](_0x57004e[_0x1cf083(0x174)],G(_0x57004e[_0x1cf083(0x174)],!0x0)));const _0x1f142a=null===_0x57004e[_0x1cf083(0x199)]?null:_0x57004e[_0x1cf083(0x199)]||this[_0x1cf083(0x18a)][_0x1cf083(0xff)][_0x1cf083(0x1ea)](_0x1cf083(0x150))['me']['id'],_0x356ebe=this[_0x1cf083(0x13a)][_0x1cf083(0x1ea)](_0x57004e[_0x1cf083(0x174)]);_0x356ebe&&_0x356ebe[_0x1cf083(0xf4)]===_0x1f142a?this[_0x1cf083(0x13a)][_0x1cf083(0x135)](_0x57004e[_0x1cf083(0x174)]):this[_0x1cf083(0x13a)][_0x1cf083(0x1db)](_0x57004e[_0x1cf083(0x174)],{'userId':_0x1f142a,'isAttached':_0x57004e[_0x1cf083(0xe1)]});}[_0x28956e(0x1e5)](_0x1eace4){const _0x4af8b0=_0x28956e,_0x520d5c=this[_0x4af8b0(0x1e6)][_0x4af8b0(0x1ea)](_0x1eace4[_0x4af8b0(0x1da)][_0x4af8b0(0x174)]);null===_0x1eace4[_0x4af8b0(0x122)]?delete _0x520d5c[_0x1eace4[_0x4af8b0(0x111)]]:_0x520d5c[_0x1eace4[_0x4af8b0(0x111)]]=_0x1eace4[_0x4af8b0(0x122)];}}function q(_0x12ab7b){const _0x28504f=_0x28956e,_0x301820=G(_0x12ab7b[_0x28504f(0x174)],_0x12ab7b[_0x28504f(0x153)]());for(const _0x3a9cd3 of _0x12ab7b[_0x28504f(0x137)]()){const _0x1e8162=_0x3a9cd3[_0x28504f(0x13d)](!0x0);_0x301820[_0x28504f(0x120)](_0x1e8162);}return _0x301820;}function _0x47ca(){const _0x316bc5=['3398034iHtxnr','keepParagraph','locale','shift','data-revision-','repository','from','filter','_setAttribute','_baseIdsRoots','fromVersion','map','getMovedRangeStart','RealTimeCollaborationClient','_isPendingUpdate','_touched','previousPosition','insertions','conversion','PendingActions','_createFromRanges','values','rootName','RevisionsRepository','initial','keys','21drGkFV','path','getChild','startsWith','addRevision','Initial\x20revision','detachRoot','name','requires','processor','type','childCount','end','remove','197VaKYSS','_createInitialRevision','attributesBefore','_startingVersion','editor','createdAt','parse','clear','buildRevisionData','string','graveyardPosition','_touchedMarkers','text','getRevision','find','roots','Empty\x20document','model','PENDING_ACTION_REVISION_HISTORY','_authorId','elementEnd','revision-end','addRevisionData','some','dataDowncast','useFillerType','setSource','getRootNames','_handleOperation','nodes','createRangeIn','add','_processRootBeforeSave','_makeModelFromViewString','then','6046QJimqZ','_isAttached','_update','_makeIdsRoot','editing','removeRootAttribute','range','522939RpGHHk','tableCell','_addPendingAction','offsetSize','isEnabled','sort','getRevisionDocumentData','getRoot','editor-initial-data-replaced-with-revision-data','vid_end','_lastTo','_handleRootOperation','documentFragment','data','markerToData','_startingRevisionId','offset','update','clone','creatorId','_lastFrom','createPositionFromPath','_setConversion','_loadedStateData','createPositionAt','newRange','_removeMetaData','_idsRoots','_makeRevision','sendBufferedUpdates','toView','511096fhLrnC','define','splitPosition','getWalker','attributes','_removeRevisionMarkers','markers','_execute','children','_getVidAttributeName','_loadRevisionData','root','set','nodeAfter','insert','_handleMoveOperation','_generateTape','getOperation','default','oldRange','isReady','getCurrentRevisionId','_handleRootAttributeOperation','_diffRootsAttributes','2179564LyLxKq','item','toData','get','RevisionTracker','stickiness','marker','getAttribute','authors','isEqual','_saveMetaData','toVersion','_bufferedUpdates','resolve','getLatestVersion','length','_baseRootsAttributes','getTime','_diffRoots','stringify','getRevisionRootsAttributes','element','_removePendingAction','view','document','initialData','deletions','version','loadState','parent','_prepareViewToSave','insertion','_bufferUpdate','getData','_copyMarkers','_getBaseVids','isAdd','vid','2626220HugGNl','$graveyard','hasContent','_revisionDataBuilder','getTransformedByOperation','revision-start','_operations','deletion','insertionPosition','baseVersion','_initialRevisionId','max','_source','trim','_baseRoots','reInit','getRevisions','userId','_handleMergeOperation','updateRevisions','_pendingAction','setRevisionData','$text','elementStart','dataToMarker','reinsert','revision:','_createCurrentRevision','plugins','getAncestors','changeRootAttribute','forEach','_handleSplitOperation','authorsIds','_replaceEditorDataWithRevisionData','collaboration.channelId','_continueCurrentRevision','_reset','move','addRoot','_getPreviousFrom','affectsData','history','saveRevision','vid_start','targetPosition','key','includes','rootsAttributes','7750953SnTjUW','createPositionBefore','revision','split','_applyOperations','push','getNodeByPath','howMany','_calculateMetaData','_getState','_loadState','getIndex','_appendChild','init','newValue','_markers','createRevision','position','_savedMetaData','_transformMarkers','attachChange','adapter','for','upcast','_isInit','_findInsertionIndex','getOperations','revisionHistory.resumeUnsavedRevision','sourcePosition','merge','_getViewJson','diffData','getAttributes','delete','bind','getChildren','getUser','_cloneOperation','_touchedRoots','paragraph','_fixPosition','_clone','_getFromVersion','slice','config','NEGATIVE_INFINITY','_revisionId','size','createPositionAfter','afterInit','_handleInsertOperation','_handleMarkerOperation','_insertChild','fromEntries','source','creator','_markChanges','has','addRootAttribute','finally','Users','start','toModel','isAttached','reverse','_fixOperation','_fixRange','createRange','marked','currentRevision','ready','pluginName','getRange','attributesAfter'];_0x47ca=function(){return _0x316bc5;};return _0x47ca();}function G(_0x117bed,_0x362d80=!0x0){const _0x160890=_0x28956e,_0x191f76=new _0x23ed61();return _0x191f76[_0x160890(0x174)]=_0x117bed,_0x191f76[_0x160890(0x1aa)]=_0x362d80,_0x191f76[_0x160890(0x153)]=()=>_0x191f76[_0x160890(0x1aa)],_0x191f76;}function L(_0x3b5139,_0x80587e,_0xb0e0b9){const _0x49f850=_0x28956e,_0x4a7392=_0x49f850(0x19a)==_0x3b5139[_0x49f850(0x182)]?_0xb0e0b9[_0x49f850(0x1c8)](_0x3b5139[_0x49f850(0x1e8)],_0x49f850(0x184)):_0xb0e0b9[_0x49f850(0x115)](_0x3b5139[_0x49f850(0x1e8)]);return _0xb0e0b9[_0x49f850(0x1c5)](_0x80587e,_0x4a7392[_0x49f850(0x179)],_0x4a7392[_0x49f850(0x1ec)]);}function W(_0x353864,_0x431b9d,_0x2ead10){const _0x459a13=_0x28956e,_0x3876e6=_0x459a13(0xfa)==_0x353864[_0x459a13(0x182)]?_0x2ead10[_0x459a13(0x1c8)](_0x353864[_0x459a13(0x1e8)],0x0):_0x2ead10[_0x459a13(0x144)](_0x353864[_0x459a13(0x1e8)]);return _0x2ead10[_0x459a13(0x1c5)](_0x431b9d,_0x3876e6[_0x459a13(0x179)],_0x3876e6[_0x459a13(0x1ec)]);}
|
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(
|