@ckeditor/ckeditor5-revision-history 44.3.0 → 45.0.0-alpha.1
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/LICENSE.md +1 -1
- package/build/revision-history.js +1 -1
- package/build/translations/be.js +1 -0
- package/ckeditor5-metadata.json +1 -1
- package/dist/index-editor.css +8 -8
- package/dist/index.css +17 -17
- 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/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/be.po +131 -0
- package/package.json +12 -11
- package/src/augmentation.d.ts +2 -1
- 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.d.ts +2 -0
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +6 -0
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryconfig.d.ts +2 -2
- package/src/revisionhistoryutils.d.ts +64 -0
- package/src/revisionhistoryutils.js +23 -0
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +13 -9
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +39 -5
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/icons/arrow-down.svg +0 -1
- package/theme/icons/arrow-up.svg +0 -1
- package/theme/icons/revision-history.svg +0 -1
- package/theme/icons/user.svg +0 -1
package/src/revisiontracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3c7c25=_0x26e3;(function(_0x310019,_0x5bc06e){const _0x507b21=_0x26e3,_0x3a5729=_0x310019();while(!![]){try{const _0x1234ce=-parseInt(_0x507b21(0x27b))/0x1+parseInt(_0x507b21(0x2df))/0x2*(-parseInt(_0x507b21(0x241))/0x3)+-parseInt(_0x507b21(0x2c3))/0x4+-parseInt(_0x507b21(0x2f9))/0x5+parseInt(_0x507b21(0x2e0))/0x6+parseInt(_0x507b21(0x1f4))/0x7*(-parseInt(_0x507b21(0x23e))/0x8)+parseInt(_0x507b21(0x1e7))/0x9;if(_0x1234ce===_0x5bc06e)break;else _0x3a5729['push'](_0x3a5729['shift']());}catch(_0x387492){_0x3a5729['push'](_0x3a5729['shift']());}}}(_0x7100,0x62508));function _0x26e3(_0x37d1cf,_0x1f8a3c){const _0x7100b9=_0x7100();return _0x26e3=function(_0x26e3a0,_0x16efa3){_0x26e3a0=_0x26e3a0-0x1c5;let _0x910569=_0x7100b9[_0x26e3a0];return _0x910569;},_0x26e3(_0x37d1cf,_0x1f8a3c);}import{Users as _0x54734c}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x536d89,PendingActions as _0x2a4e2c}from'ckeditor5/src/core.js';function _0x7100(){const _0x44a820=['getRevisions','_getPreviousFrom','_removeRevisionMarkers','root','isEnabled','_findInsertionIndex','toVersion','history','36334XEJBgq','1352730KaQmsz','_isPendingUpdate','revisionHistoryLicenseKeyInvalid','getTransformedByOperation','insertionPosition','then','insertions','_fixPosition','addRevision','end','_handleMergeOperation','vid','offset','toView','getRootNames','reinsert','_handleMoveOperation','move','_cloneOperation','_licenseKeyCheckInterval','data-revision-','PENDING_ACTION_REVISION_HISTORY','_pendingAction','_baseRoots','_baseIdsRoots','3908410TZlJRZ','toModel','graveyardPosition','revisionHistoryLicenseKeyExpired','document','setRevisionData','_touchedRoots','authors','path','revision-start','_handleRootOperation','Empty\x20document','createPositionBefore','$graveyard','removeRootAttribute','_createCurrentRevision','afterInit','addRootAttribute','destroy','source','_setAttribute','revision','elementEnd','revisionHistoryLicenseKeyUsageLimit','revisionHistoryLicenseKeyValid','find','_replaceEditorDataWithRevisionData','addRevisionData','_makeModelFromViewString','data','_lastFrom','_baseRootsAttributes','fromVersion','creator','_isAttached','isPremiumPlugin','add','creatorId','createPositionFromPath','getRevision','repository','editor-initial-data-replaced-with-revision-data','isAdd','nodes','nodeAfter','_revisionDataBuilder','20269566AsZuWI','_bufferedUpdates','stringify','sendBufferedUpdates','oldRange','initialData','usageLimit','createRangeIn','delete','for','attributesBefore','getAttributes','_setConversion','357SXYGxC','createRevision','getUser','getAttribute','toData','slice','expired','reverse','define','elementStart','start','marker','editing','getChildren','offsetSize','forEach','upcast','deletions','domainLimit','_update','baseVersion','split','name','_fixOperation','createdAt','newRange','bind','getCurrentRevisionId','vid_end','updateRevisions','_generateTape','_saveMetaData','Initial\x20revision','getTime','init','collaboration.channelId','finally','startsWith','version','useFillerType','values','type','userId','editor','getOperation','createPositionAfter','roots','_reset','NEGATIVE_INFINITY','deletion','$text','stickiness','key','dataToMarker','_applyOperations','revisionHistoryLicenseKeyNotAllowed','insertion','_createInitialRevision','_getViewJson','getLatestVersion','_handleRootAttributeOperation','PendingActions','buildRevisionData','parse','isEqual','plugins','trialLimit','RevisionTracker','revision:','attributes','getRevisionDocumentData','sourcePosition','text','size','73736yXQUPm','tableCell','adapter','6vPfRQm','affectsData','_handleMarkerOperation','licenseKey','shift','_lastTo','_fixRange','isOfficialPlugin','_diffRootsAttributes','fromEntries','markerToData','_handleSplitOperation','_loadRevisionData','_authorId','revisionHistoryLicenseKeyDomainLimit','hasContent','createPositionAt','clone','saveRevision','_showLicenseError','initial','includes','_bufferUpdate','_prepareViewToSave','createRange','RealTimeCollaborationClient','requires','authorsIds','markers','_markChanges','detachRoot','merge','paragraph','_operations','_getFromVersion','getRange','_handleInsertOperation','rootName','_processRootBeforeSave','RevisionsRepository','attachChange','_getState','trim','map','featureNotAllowed','remove','_createFromRanges','_continueCurrentRevision','some','reInit','model','howMany','_addPendingAction','_makeIdsRoot','conversion','getData','_idsRoots','_loadedStateData','216559ehAvqd','documentFragment','_calculateMetaData','currentRevision','view','isAttached','revisionHistoryLicenseKeyTrialLimit','has','get','max','_startingRevisionId','range','_removeMetaData','previousPosition','dataDowncast','changeRootAttribute','getIndex','_revisionId','_makeRevision','length','revisionHistory.resumeUnsavedRevision','parent','position','revision-end','insert','filter','childCount','diffData','string','_savedMetaData','setSource','_diffRoots','ready','item','revisionHistoryLicenseKeyEvaluationLimit','_handleOperation','getAncestors','children','_appendChild','getRevisionRootsAttributes','keepParagraph','_touched','_copyMarkers','newValue','getOperations','getNodeByPath','set','getMovedRangeStart','element','evaluationLimit','vid_start','_insertChild','push','rootsAttributes','locale','sort','splitPosition','_getBaseVids','_isInit','_startingVersion','_markers','_removePendingAction','default','_transformMarkers','isReady','update','resolve','_initialRevisionId','keys','getWalker','getRoot','pluginName','2281164YQyNXw','targetPosition','marked','_source','_touchedMarkers','config','Users','RevisionHistory','from','addRoot','_clone','processor','_getVidAttributeName','loadState','clear','_loadState','getChild','_execute','invalid','attributesAfter'];_0x7100=function(){return _0x44a820;};return _0x7100();}import{logWarning as _0x47c935,uid as _0x1159f7}from'ckeditor5/src/utils.js';import{Position as _0x29b179,Range as _0x50ff83,Element as _0x5176f8,DocumentFragment as _0x1226b,ViewText as _0x364f18,ViewElement as _0x369ada,ViewContainerElement as _0x3672a6,ViewAttributeElement as _0x13b50b,ViewEmptyElement as _0x305fbd,ViewRawElement as _0x485cd4,ViewUIElement as _0x2dea96,ViewDocumentFragment as _0x48a67b}from'ckeditor5/src/engine.js';import _0x4de62d from'./revisionsrepository.js';import{getTranslation as _0x482cef}from'./utils/common-translations.js';import{cloneDeep as _0x5897fc,isEqual as _0x38229c}from'lodash-es';const P={'c':_0x3672a6,'a':_0x13b50b,'e':_0x305fbd,'r':_0x485cd4,'u':_0x2dea96};export default class l extends _0x536d89{static get[_0x3c7c25(0x2c2)](){const _0x140044=_0x3c7c25;return _0x140044(0x237);}static get[_0x3c7c25(0x248)](){return!0x0;}static get[_0x3c7c25(0x1dc)](){return!0x0;}static get[_0x3c7c25(0x25b)](){return[_0x54734c,_0x4de62d,_0x2a4e2c];}constructor(_0x27520b){const _0x3e136a=_0x3c7c25;super(_0x27520b),this[_0x3e136a(0x240)]=null,this[_0x3e136a(0x27e)]=null,this[_0x3e136a(0x1e6)]=new V(this[_0x3e136a(0x21f)]),this[_0x3e136a(0x2be)]=this[_0x3e136a(0x21f)][_0x3e136a(0x2c8)][_0x3e136a(0x283)](_0x3e136a(0x217))||_0x3e136a(0x255),this[_0x3e136a(0x1e8)]=new Map(),this[_0x3e136a(0x27a)]=null;const _0x2abaf2=_0x1159f7();this[_0x3e136a(0x2c6)]={'history':this[_0x3e136a(0x21f)][_0x3e136a(0x273)][_0x3e136a(0x2fd)][_0x3e136a(0x2de)],'getLatestVersion':()=>Promise[_0x3e136a(0x2bd)](this[_0x3e136a(0x21f)][_0x3e136a(0x273)][_0x3e136a(0x2fd)][_0x3e136a(0x21a)]),'getCurrentRevisionId':()=>_0x2abaf2},this[_0x3e136a(0x2a9)](_0x3e136a(0x2bb),!0x1),this[_0x3e136a(0x2a9)](_0x3e136a(0x2db),!0x0),this[_0x3e136a(0x2a9)](_0x3e136a(0x2e1),!0x1),this[_0x3e136a(0x21f)][_0x3e136a(0x2c8)][_0x3e136a(0x1fc)](_0x3e136a(0x28f),!0x0),this[_0x3e136a(0x21f)][_0x3e136a(0x277)][_0x3e136a(0x1f0)](_0x3e136a(0x204))[_0x3e136a(0x229)]({'view':_0x3e136a(0x1ce)});}[_0x3c7c25(0x216)](){const _0x5d4d9a=_0x3c7c25;this[_0x5d4d9a(0x1e1)]=this[_0x5d4d9a(0x21f)][_0x5d4d9a(0x235)][_0x5d4d9a(0x283)](_0x5d4d9a(0x268)),this[_0x5d4d9a(0x1f3)](),this[_0x5d4d9a(0x21f)][_0x5d4d9a(0x1d6)]['on'](_0x5d4d9a(0x29b),()=>{const _0x346297=_0x5d4d9a,_0x4ca383=this[_0x346297(0x1e1)][_0x346297(0x1e0)](0x0),_0xfcb236=_0x4ca383&&null===_0x4ca383[_0x346297(0x1da)]?_0x4ca383:null;if(this[_0x346297(0x270)]=!!_0xfcb236&&this[_0x346297(0x21f)][_0x346297(0x2c8)][_0x346297(0x283)](_0x346297(0x28f)),this[_0x346297(0x21f)][_0x346297(0x235)][_0x346297(0x282)](_0x346297(0x25a))){const _0x30ba9f=this[_0x346297(0x2c6)][_0x346297(0x20f)](),_0x5de1e7=this[_0x346297(0x1e1)][_0x346297(0x1e0)](_0x30ba9f);if(_0x5de1e7)this[_0x346297(0x2b6)]=_0x5de1e7[_0x346297(0x1d9)],this[_0x346297(0x270)]=!0x1;else{const _0x159c3a=this[_0x346297(0x2c6)][_0x346297(0x2de)][_0x346297(0x262)][_0x346297(0x1d2)](_0x1d27d2=>!_0x1d27d2[_0x346297(0x2b5)]),_0x263d94=_0x159c3a?_0x159c3a[_0x346297(0x208)]:this[_0x346297(0x2c6)][_0x346297(0x2de)][_0x346297(0x21a)];_0x4ca383?(_0x4ca383[_0x346297(0x2dd)]<_0x263d94&&_0x4ca383[_0x346297(0x207)]({'toVersion':_0x263d94}),this[_0x346297(0x270)]?(this[_0x346297(0x2c6)][_0x346297(0x20f)]=()=>_0xfcb236['id'],this[_0x346297(0x2b6)]=_0xfcb236[_0x346297(0x1d9)]):(this[_0x346297(0x2b6)]=_0x4ca383[_0x346297(0x2dd)],this[_0x346297(0x270)]=!0x1)):(this[_0x346297(0x2b6)]=_0x263d94,this[_0x346297(0x270)]=!0x1);}}else _0xfcb236&&(this[_0x346297(0x21f)][_0x346297(0x273)][_0x346297(0x2fd)][_0x346297(0x2de)][_0x346297(0x21a)]=Math[_0x346297(0x284)](_0xfcb236[_0x346297(0x2dd)],this[_0x346297(0x21f)][_0x346297(0x273)][_0x346297(0x2fd)][_0x346297(0x2de)][_0x346297(0x21a)]),_0xfcb236[_0x346297(0x1d9)]===_0xfcb236[_0x346297(0x2dd)]?(0x0!==_0xfcb236[_0x346297(0x1d9)]&&(this[_0x346297(0x2c6)][_0x346297(0x20f)]=()=>_0xfcb236['id']),this[_0x346297(0x270)]=!0x1):this[_0x346297(0x270)]&&(this[_0x346297(0x2c6)][_0x346297(0x20f)]=()=>_0xfcb236['id'],this[_0x346297(0x2b6)]=_0xfcb236[_0x346297(0x1d9)])),this[_0x346297(0x270)]||(this[_0x346297(0x2b6)]=this[_0x346297(0x21f)][_0x346297(0x273)][_0x346297(0x2fd)][_0x346297(0x21a)]);this[_0x346297(0x1e6)][_0x346297(0x216)](this[_0x346297(0x2c6)][_0x346297(0x2de)]),this[_0x346297(0x22d)](this[_0x346297(0x2b6)]),this[_0x346297(0x1c8)](this[_0x346297(0x2b6)]),this[_0x346297(0x240)]&&this[_0x346297(0x1ea)]();}),this[_0x5d4d9a(0x20e)](_0x5d4d9a(0x2bb))['to'](this,_0x5d4d9a(0x2e1),_0x19c086=>!_0x19c086),this[_0x5d4d9a(0x244)]=this[_0x5d4d9a(0x21f)][_0x5d4d9a(0x2c8)][_0x5d4d9a(0x283)](_0x5d4d9a(0x244));const _0xeaf9fb=this[_0x5d4d9a(0x21f)];this[_0x5d4d9a(0x2f3)]=setInterval(()=>{const _0x3a437a=_0x5d4d9a;let _0x115e18;for(const _0x45d4e4 in _0xeaf9fb){const _0x235948=_0x45d4e4,_0x3d9e9b=_0xeaf9fb[_0x235948];if(_0x3a437a(0x1d1)==_0x3d9e9b||_0x3a437a(0x2e2)==_0x3d9e9b||_0x3a437a(0x2fc)==_0x3d9e9b||_0x3a437a(0x24f)==_0x3d9e9b||_0x3a437a(0x22b)==_0x3d9e9b||_0x3a437a(0x29d)==_0x3d9e9b||_0x3a437a(0x281)==_0x3d9e9b||_0x3a437a(0x1d0)==_0x3d9e9b){delete _0xeaf9fb[_0x235948],_0x115e18=_0x3d9e9b,clearInterval(this[_0x3a437a(0x2f3)]),this[_0x3a437a(0x2f3)]=void 0x0;break;}}_0x3a437a(0x2e2)==_0x115e18&&_0xeaf9fb[_0x3a437a(0x254)](_0x3a437a(0x2d5)),_0x3a437a(0x2fc)==_0x115e18&&_0xeaf9fb[_0x3a437a(0x254)](_0x3a437a(0x1fa)),_0x3a437a(0x24f)==_0x115e18&&_0xeaf9fb[_0x3a437a(0x254)](_0x3a437a(0x206)),_0x3a437a(0x22b)==_0x115e18&&_0xeaf9fb[_0x3a437a(0x254)](_0x3a437a(0x26d),_0x3a437a(0x2ca)),_0x3a437a(0x29d)==_0x115e18&&_0xeaf9fb[_0x3a437a(0x254)](_0x3a437a(0x2ac)),_0x3a437a(0x281)==_0x115e18&&_0xeaf9fb[_0x3a437a(0x254)](_0x3a437a(0x236)),_0x3a437a(0x1d0)==_0x115e18&&_0xeaf9fb[_0x3a437a(0x254)](_0x3a437a(0x1ed));},0x3e8);}async[_0x3c7c25(0x1c9)](){const _0x1432a5=_0x3c7c25;if(this[_0x1432a5(0x1e1)][_0x1432a5(0x28e)]>0x0){const _0x1a89f4=this[_0x1432a5(0x1e1)][_0x1432a5(0x1e0)](0x0),_0x455308=await this[_0x1432a5(0x23a)](_0x1a89f4),_0x206ea2=await this[_0x1432a5(0x2a2)](_0x1a89f4);this[_0x1432a5(0x1d3)](_0x455308,_0x206ea2);}}[_0x3c7c25(0x1cb)](){const _0xd0a151=_0x3c7c25;super[_0xd0a151(0x1cb)](),this[_0xd0a151(0x2f3)]&&clearInterval(this[_0xd0a151(0x2f3)]);}[_0x3c7c25(0x299)](_0x579449){const _0x29ea4e=_0x3c7c25;this[_0x29ea4e(0x2c6)]=_0x579449;}async[_0x3c7c25(0x2bc)](){const _0x2a76c5=_0x3c7c25,_0x2a0cf7=await this[_0x2a76c5(0x2c6)][_0x2a76c5(0x22f)]();if(_0x2a0cf7>this[_0x2a76c5(0x27e)][_0x2a76c5(0x2dd)]){await this[_0x2a76c5(0x2d2)]();const _0x5709dc=this[_0x2a76c5(0x232)]({'revision':this[_0x2a76c5(0x27e)],'to':_0x2a0cf7});_0x5709dc[_0x2a76c5(0x300)]=_0x5709dc[_0x2a76c5(0x25c)][_0x2a76c5(0x26c)](_0x31025d=>this[_0x2a76c5(0x21f)][_0x2a76c5(0x235)][_0x2a76c5(0x283)](_0x2a76c5(0x2c9))[_0x2a76c5(0x1f6)](_0x31025d)),this[_0x2a76c5(0x27e)][_0x2a76c5(0x207)](_0x5709dc);}}async[_0x3c7c25(0x2d2)](){const _0x51babd=_0x3c7c25;this[_0x51babd(0x270)]&&!this[_0x51babd(0x27a)]&&(await this[_0x51babd(0x24d)](this[_0x51babd(0x27e)]),this[_0x51babd(0x1e6)][_0x51babd(0x2d0)](this[_0x51babd(0x27e)]),this[_0x51babd(0x27a)]={'fromVersion':this[_0x51babd(0x27e)][_0x51babd(0x1d9)],'authors':this[_0x51babd(0x27e)][_0x51babd(0x300)][_0x51babd(0x1f9)]()});}async[_0x3c7c25(0x253)](_0x282a98={},_0x173321=null){const _0x3ef1df=_0x3c7c25,_0x323365=[];await this[_0x3ef1df(0x2d2)](),this[_0x3ef1df(0x270)]=!0x1,_0x173321>this[_0x3ef1df(0x27e)][_0x3ef1df(0x2dd)]&&(_0x173321=null),null===_0x173321&&(_0x173321=await this[_0x3ef1df(0x2c6)][_0x3ef1df(0x22f)]());const _0x505874=this[_0x3ef1df(0x263)](_0x173321),_0x2f0770=this[_0x3ef1df(0x232)]({'from':_0x505874,'to':_0x173321});if(this[_0x3ef1df(0x27e)][_0x3ef1df(0x2dd)]<_0x173321){const _0x190d35=this[_0x3ef1df(0x232)]({'revision':this[_0x3ef1df(0x27e)],'from':_0x173321,'to':_0x173321});_0x190d35[_0x3ef1df(0x300)]=[],_0x190d35[_0x3ef1df(0x25c)]=[],_0x190d35['id']=this[_0x3ef1df(0x27e)]['id'],this[_0x3ef1df(0x27e)][_0x3ef1df(0x207)](_0x190d35,!0x0),delete _0x190d35[_0x3ef1df(0x300)],_0x323365[_0x3ef1df(0x2af)](_0x190d35);}_0x282a98[_0x3ef1df(0x1de)]=this[_0x3ef1df(0x21f)][_0x3ef1df(0x235)][_0x3ef1df(0x283)](_0x3ef1df(0x2c9))['me']['id'],_0x282a98[_0x3ef1df(0x20a)]=_0x282a98[_0x3ef1df(0x20a)]||null,_0x282a98['id']=_0x282a98['id']||_0x1159f7(),_0x282a98={..._0x282a98,..._0x2f0770};const _0x1fcc76=this[_0x3ef1df(0x1d4)](_0x282a98);_0x323365[_0x3ef1df(0x2af)](_0x282a98);const _0x4a8b63=this[_0x3ef1df(0x1e1)][_0x3ef1df(0x28b)](_0x1fcc76);if(0x0!==_0x4a8b63){const _0x1a231d=this[_0x3ef1df(0x1e1)][_0x3ef1df(0x1e0)](_0x4a8b63-0x1);if(_0x1a231d[_0x3ef1df(0x1d9)]!==_0x173321){const _0x5333a4=this[_0x3ef1df(0x1e6)][_0x3ef1df(0x278)](_0x173321,_0x1a231d[_0x3ef1df(0x2dd)]),_0x420822={'id':_0x1a231d['id'],'diffData':_0x5333a4[_0x3ef1df(0x296)],'authorsIds':_0x5333a4[_0x3ef1df(0x25c)],'authors':_0x5333a4[_0x3ef1df(0x25c)][_0x3ef1df(0x26c)](_0x2e5d1b=>this[_0x3ef1df(0x21f)][_0x3ef1df(0x235)][_0x3ef1df(0x283)](_0x3ef1df(0x2c9))[_0x3ef1df(0x1f6)](_0x2e5d1b)),'fromVersion':_0x173321};_0x1a231d===this[_0x3ef1df(0x27e)]&&(_0x420822[_0x3ef1df(0x20c)]=new Date(_0x282a98[_0x3ef1df(0x20c)][_0x3ef1df(0x215)]()+0xa)),_0x1a231d[_0x3ef1df(0x207)](_0x420822,!0x0),delete _0x420822[_0x3ef1df(0x300)],_0x323365[_0x3ef1df(0x2af)](_0x420822);}}if(this[_0x3ef1df(0x240)]){for(const _0x5880b3 of _0x323365)this[_0x3ef1df(0x257)](_0x5880b3['id'],_0x5880b3,!0x0);this[_0x3ef1df(0x1ea)]();}return _0x1fcc76;}[_0x3c7c25(0x1d4)](_0x1d3555){const _0xe00971=_0x3c7c25,_0x7ba245=this[_0xe00971(0x1e1)][_0xe00971(0x1f5)](_0x1d3555);return this[_0xe00971(0x240)]&&_0x7ba245['on'](_0xe00971(0x207),(_0x130c1e,_0x5a09f8,_0x5360cb)=>{const _0x3b840b=_0xe00971;_0x5360cb||(this[_0x3b840b(0x257)](_0x5a09f8['id'],_0x5a09f8,!0x0),this[_0x3b840b(0x1ea)]());}),this[_0xe00971(0x1e1)][_0xe00971(0x2e8)](_0x7ba245,this[_0xe00971(0x2dc)](_0x7ba245)),_0x7ba245;}async[_0x3c7c25(0x23a)](_0x47e1fa){const _0x191a14=_0x3c7c25;await this[_0x191a14(0x24d)](_0x47e1fa);const _0x4fbc68={};for(const _0x27dc80 in _0x47e1fa[_0x191a14(0x296)]){if(_0x47e1fa[_0x191a14(0x296)][_0x27dc80][_0x191a14(0x269)]&&!_0x47e1fa[_0x191a14(0x296)][_0x27dc80][_0x191a14(0x269)][_0x191a14(0x280)])continue;const _0x324b8f=this[_0x191a14(0x2d9)](JSON[_0x191a14(0x233)](_0x47e1fa[_0x191a14(0x296)][_0x27dc80][_0x191a14(0x2e6)])),_0x1f09d7=this[_0x191a14(0x21f)][_0x191a14(0x200)][_0x191a14(0x27f)][_0x191a14(0x2fd)],_0x4f4d59=new _0x48a67b(_0x1f09d7,_0x324b8f[_0x191a14(0x26c)](_0x2c2474=>C(_0x2c2474,this[_0x191a14(0x21f)])));this[_0x191a14(0x21f)][_0x191a14(0x1d6)][_0x191a14(0x2ce)][_0x191a14(0x21b)](_0x191a14(0x2c5)),_0x4fbc68[_0x27dc80]=this[_0x191a14(0x21f)][_0x191a14(0x1d6)][_0x191a14(0x2ce)][_0x191a14(0x1f8)](_0x4f4d59),this[_0x191a14(0x21f)][_0x191a14(0x1d6)][_0x191a14(0x2ce)][_0x191a14(0x21b)](_0x191a14(0x2b9));}return _0x4fbc68;}async[_0x3c7c25(0x2a2)](_0xf50c36){const _0x5372f1=_0x3c7c25;await this[_0x5372f1(0x24d)](_0xf50c36);const _0x3e0d29={};for(const _0x3a6c5f in _0xf50c36[_0x5372f1(0x296)])_0xf50c36[_0x5372f1(0x296)][_0x3a6c5f][_0x5372f1(0x269)]&&!_0xf50c36[_0x5372f1(0x296)][_0x3a6c5f][_0x5372f1(0x269)][_0x5372f1(0x280)]||(_0x3e0d29[_0x3a6c5f]=_0xf50c36[_0x5372f1(0x296)][_0x3a6c5f][_0x5372f1(0x2d6)]||{});return _0x3e0d29;}[_0x3c7c25(0x1ea)](){const _0x56de1e=_0x3c7c25;if(0x0===this[_0x56de1e(0x1e8)][_0x56de1e(0x23d)])return;if(this[_0x56de1e(0x2e1)])return;let _0x23320e=Array[_0x56de1e(0x2cb)](this[_0x56de1e(0x1e8)][_0x56de1e(0x21c)]());this[_0x56de1e(0x1e8)][_0x56de1e(0x2d1)]();for(let _0x2fab15=0x0;_0x2fab15<_0x23320e[_0x56de1e(0x28e)];_0x2fab15++){const _0x39f074=_0x23320e[_0x2fab15];let _0x1beccf=!0x1;for(const _0x191a5a of Object[_0x56de1e(0x2bf)](_0x39f074))void 0x0===_0x39f074[_0x191a5a]?delete _0x39f074[_0x191a5a]:'id'!==_0x191a5a&&(_0x1beccf=!0x0);_0x1beccf||(_0x23320e[_0x2fab15]=null);}if(_0x23320e=_0x23320e[_0x56de1e(0x294)](_0x307d0f=>null!==_0x307d0f),!_0x23320e[_0x56de1e(0x28e)])return;for(let _0x55d404=0x0;_0x55d404<_0x23320e[_0x56de1e(0x28e)];_0x55d404++){const _0x3d7dec=_0x23320e[_0x55d404];void 0x0!==_0x3d7dec[_0x56de1e(0x1d9)]&&void 0x0===_0x3d7dec[_0x56de1e(0x2dd)]&&(_0x3d7dec[_0x56de1e(0x2dd)]=this[_0x56de1e(0x1e1)][_0x56de1e(0x1e0)](_0x3d7dec['id'])[_0x56de1e(0x2dd)]),void 0x0!==_0x3d7dec[_0x56de1e(0x2dd)]&&void 0x0===_0x3d7dec[_0x56de1e(0x1d9)]&&(_0x3d7dec[_0x56de1e(0x1d9)]=this[_0x56de1e(0x1e1)][_0x56de1e(0x1e0)](_0x3d7dec['id'])[_0x56de1e(0x1d9)]);}const _0x2f98c7=this[_0x56de1e(0x21f)][_0x56de1e(0x2c8)][_0x56de1e(0x283)](_0x56de1e(0x217));this[_0x56de1e(0x2e1)]=!0x0,this[_0x56de1e(0x275)](),this[_0x56de1e(0x240)][_0x56de1e(0x211)](_0x23320e,_0x2f98c7)[_0x56de1e(0x218)](()=>{const _0x1ad74a=_0x56de1e;this[_0x1ad74a(0x2e1)]=!0x1;})[_0x56de1e(0x2e5)](_0x21205d=>{const _0x17f29e=_0x56de1e;if(_0x21205d){for(const _0x19ce0e of _0x21205d)this[_0x17f29e(0x2fe)]({'id':_0x19ce0e['id'],'createdAt':_0x19ce0e[_0x17f29e(0x20c)]});}this[_0x17f29e(0x2b8)](),this[_0x17f29e(0x1ea)]();});}[_0x3c7c25(0x1d3)](_0x526777,_0x45710b){const _0x3acf7c=_0x3c7c25;let _0x7e93ec=this[_0x3acf7c(0x21f)][_0x3acf7c(0x2c8)][_0x3acf7c(0x283)](_0x3acf7c(0x1ec)),_0x326366=this[_0x3acf7c(0x21f)][_0x3acf7c(0x2c8)][_0x3acf7c(0x283)](_0x3acf7c(0x2b0));if(void 0x0===_0x7e93ec){_0x7e93ec={};for(const _0x33a0ea of this[_0x3acf7c(0x21f)][_0x3acf7c(0x273)][_0x3acf7c(0x2fd)][_0x3acf7c(0x2ee)]())_0x7e93ec[_0x33a0ea]='';}if(_0x3acf7c(0x297)==typeof _0x7e93ec&&(_0x7e93ec={'main':_0x7e93ec}),void 0x0===_0x326366){_0x326366={};for(const _0x3acd22 of this[_0x3acf7c(0x21f)][_0x3acf7c(0x273)][_0x3acf7c(0x2fd)][_0x3acf7c(0x2ee)]())_0x326366[_0x3acd22]={};}let _0x572be3=!0x1;const _0x53ed6b=Object[_0x3acf7c(0x2bf)](_0x7e93ec),_0x108c10=Object[_0x3acf7c(0x2bf)](_0x526777);for(const _0x21afc2 of _0x53ed6b){if(_0x7e93ec[_0x21afc2]!==_0x526777[_0x21afc2]&&''!==_0x7e93ec[_0x21afc2][_0x3acf7c(0x26b)]()){_0x572be3=!0x0;break;}if(!_0x38229c(_0x326366[_0x21afc2],_0x45710b[_0x21afc2])&&Object[_0x3acf7c(0x2bf)](_0x326366[_0x21afc2])[_0x3acf7c(0x28e)]>0x0){_0x572be3=!0x0;break;}}_0x572be3||(_0x572be3=_0x108c10[_0x3acf7c(0x271)](_0x2f66c6=>!this[_0x3acf7c(0x21f)][_0x3acf7c(0x273)][_0x3acf7c(0x2fd)][_0x3acf7c(0x2c1)](_0x2f66c6))),_0x572be3&&_0x47c935(_0x3acf7c(0x1e2),{'editorData':_0x7e93ec,'editorRootsAttributes':_0x326366,'revisionData':_0x526777,'revisionRootsAttributes':_0x45710b}),this[_0x3acf7c(0x21f)][_0x3acf7c(0x2c8)][_0x3acf7c(0x2a9)](_0x3acf7c(0x1ec),_0x526777),this[_0x3acf7c(0x21f)][_0x3acf7c(0x2c8)][_0x3acf7c(0x2a9)](_0x3acf7c(0x2b0),_0x45710b);}[_0x3c7c25(0x275)](){const _0x3ac867=_0x3c7c25;if(!this[_0x3ac867(0x2f6)]){const _0x491d26=this[_0x3ac867(0x21f)][_0x3ac867(0x235)][_0x3ac867(0x283)](_0x3ac867(0x231));this[_0x3ac867(0x2f6)]=_0x491d26[_0x3ac867(0x1dd)](_0x482cef(this[_0x3ac867(0x21f)][_0x3ac867(0x2b1)],_0x3ac867(0x2f5)));}}[_0x3c7c25(0x2b8)](){const _0x114946=_0x3c7c25;this[_0x114946(0x2f6)]&&(this[_0x114946(0x21f)][_0x114946(0x235)][_0x114946(0x283)](_0x114946(0x231))[_0x114946(0x26e)](this[_0x114946(0x2f6)]),this[_0x114946(0x2f6)]=null);}[_0x3c7c25(0x2dc)](_0x40ecdd){const _0x122628=_0x3c7c25,_0x29f04a=this[_0x122628(0x1e1)][_0x122628(0x2d7)]();_0x29f04a[_0x122628(0x1fb)]();let _0x3d3d7b=0x0;for(;_0x3d3d7b<_0x29f04a[_0x122628(0x28e)];){const _0x367ce4=_0x29f04a[_0x3d3d7b];if(_0x367ce4===this[_0x122628(0x27e)]){_0x3d3d7b++;continue;}if(_0x367ce4['id']===this[_0x122628(0x2be)])break;const _0x5314be=_0x40ecdd[_0x122628(0x2dd)]-_0x367ce4[_0x122628(0x2dd)]||_0x40ecdd[_0x122628(0x1d9)]-_0x367ce4[_0x122628(0x1d9)];if(_0x5314be>0x0)break;if(_0x5314be<0x0)_0x3d3d7b++;else{if(!_0x40ecdd[_0x122628(0x1da)]&&_0x367ce4[_0x122628(0x1da)])break;if(_0x367ce4[_0x122628(0x1da)]||!_0x40ecdd[_0x122628(0x1da)]){if(_0x40ecdd[_0x122628(0x20c)]>_0x367ce4[_0x122628(0x20c)])break;_0x3d3d7b++;}else _0x3d3d7b++;}}return _0x3d3d7b;}[_0x3c7c25(0x2fe)](_0x2d5ffc){const _0x1b7192=_0x3c7c25,_0x1860b0=this[_0x1b7192(0x1e1)][_0x1b7192(0x1e0)](_0x2d5ffc['id']);if(_0x2d5ffc[_0x1b7192(0x20c)]&&(_0x2d5ffc[_0x1b7192(0x20c)]=new Date(_0x2d5ffc[_0x1b7192(0x20c)])),_0x2d5ffc[_0x1b7192(0x25c)]){const _0x507966=this[_0x1b7192(0x21f)][_0x1b7192(0x235)][_0x1b7192(0x283)](_0x1b7192(0x2c9));_0x2d5ffc[_0x1b7192(0x300)]=_0x2d5ffc[_0x1b7192(0x25c)][_0x1b7192(0x26c)](_0x4855c1=>_0x507966[_0x1b7192(0x1f6)](_0x4855c1));}_0x1860b0[_0x1b7192(0x207)](_0x2d5ffc,!0x0);}[_0x3c7c25(0x232)]({revision:_0x9ca4a1=null,from:_0x24c9f9=null,to:_0xca8d20=null}){const _0xd0d361=_0x3c7c25;_0x24c9f9=null!==_0x24c9f9?_0x24c9f9:_0x9ca4a1[_0xd0d361(0x1d9)],_0xca8d20=null!==_0xca8d20?_0xca8d20:_0x9ca4a1[_0xd0d361(0x2dd)];const _0x403a03=this[_0xd0d361(0x1e6)][_0xd0d361(0x278)](_0x24c9f9,_0xca8d20),_0x5a0c87={'diffData':_0x403a03[_0xd0d361(0x296)],'authorsIds':_0x403a03[_0xd0d361(0x25c)],'fromVersion':_0x24c9f9,'toVersion':_0xca8d20};if(!_0x9ca4a1||_0xca8d20!==_0x9ca4a1[_0xd0d361(0x2dd)]){const _0x13123a=_0xca8d20-0x1,_0x32e8d5=this[_0xd0d361(0x2c6)][_0xd0d361(0x2de)][_0xd0d361(0x220)](_0x13123a);_0x5a0c87[_0xd0d361(0x20c)]=_0x32e8d5&&_0x32e8d5[_0xd0d361(0x20c)]||new Date();}if(this[_0xd0d361(0x27a)]&&_0x24c9f9===this[_0xd0d361(0x27a)][_0xd0d361(0x1d9)]){for(const _0x5887e8 of this[_0xd0d361(0x27a)][_0xd0d361(0x300)])_0x5a0c87[_0xd0d361(0x25c)][_0xd0d361(0x256)](_0x5887e8['id'])||_0x5a0c87[_0xd0d361(0x25c)][_0xd0d361(0x2af)](_0x5887e8['id']);}return _0x5a0c87;}[_0x3c7c25(0x24d)](_0xab578b){const _0xb7f444=_0x3c7c25;if(!_0xab578b||_0xab578b[_0xb7f444(0x296)])return Promise[_0xb7f444(0x2bd)]();{const _0xa37fbb=this[_0xb7f444(0x21f)][_0xb7f444(0x2c8)][_0xb7f444(0x283)](_0xb7f444(0x217));return this[_0xb7f444(0x240)][_0xb7f444(0x1e0)]({'channelId':_0xa37fbb,'revisionId':_0xab578b['id']})[_0xb7f444(0x2e5)](_0x13754c=>{const _0x79aa8e=_0xb7f444;_0xab578b[_0x79aa8e(0x296)]=_0x13754c[_0x79aa8e(0x296)];});}}[_0x3c7c25(0x257)](_0x326f92,_0x2a0f35,_0x48e1c1){const _0x3e6f01=_0x3c7c25;if(this[_0x3e6f01(0x1e8)][_0x3e6f01(0x282)](_0x326f92)){const _0x58da61=this[_0x3e6f01(0x1e8)][_0x3e6f01(0x283)](_0x326f92);_0x2a0f35=_0x48e1c1?{..._0x58da61,..._0x2a0f35}:{..._0x2a0f35,..._0x58da61};}this[_0x3e6f01(0x1e8)][_0x3e6f01(0x2a9)](_0x326f92,_0x2a0f35);}[_0x3c7c25(0x263)](_0x47fbc3){const _0x298824=_0x3c7c25,_0x616aea=this[_0x298824(0x1e1)][_0x298824(0x2d7)]();_0x616aea[_0x298824(0x1fb)](),_0x616aea[_0x298824(0x245)]();const _0x3195a2=_0x616aea[_0x298824(0x1d2)](_0x3da298=>_0x3da298[_0x298824(0x2dd)]<=_0x47fbc3)[_0x298824(0x2dd)];return _0x3195a2<this[_0x298824(0x2b6)]?this[_0x298824(0x2b6)]:_0x3195a2;}[_0x3c7c25(0x22d)](_0x3b237c){const _0x3c62d8=_0x3c7c25,_0x40fe32=this[_0x3c62d8(0x1e1)][_0x3c62d8(0x1e0)](this[_0x3c62d8(0x1e1)][_0x3c62d8(0x28e)]-0x1);if(_0x40fe32)this[_0x3c62d8(0x2be)]=_0x40fe32['id'];else{const _0x17a5a1=!this[_0x3c62d8(0x21f)][_0x3c62d8(0x273)][_0x3c62d8(0x2fd)][_0x3c62d8(0x222)][_0x3c62d8(0x1d2)](_0x1bf67c=>this[_0x3c62d8(0x21f)][_0x3c62d8(0x273)][_0x3c62d8(0x250)](_0x1bf67c)),_0x15e7b2=this[_0x3c62d8(0x21f)][_0x3c62d8(0x235)][_0x3c62d8(0x283)](_0x3c62d8(0x2c9))['me']['id'],_0x498257=_0x482cef(this[_0x3c62d8(0x21f)][_0x3c62d8(0x2b1)],_0x17a5a1?_0x3c62d8(0x304):_0x3c62d8(0x214));this[_0x3c62d8(0x28d)]({'from':_0x3b237c,'to':_0x3b237c,'id':this[_0x3c62d8(0x2be)],'name':_0x498257,'creatorId':_0x15e7b2});}}[_0x3c7c25(0x1c8)](_0x3760f2){const _0x4c24fe=_0x3c7c25,_0x3bea97=this[_0x4c24fe(0x2c6)][_0x4c24fe(0x20f)]();this[_0x4c24fe(0x27e)]=this[_0x4c24fe(0x1e1)][_0x4c24fe(0x1e0)](_0x3bea97),this[_0x4c24fe(0x27e)]||(this[_0x4c24fe(0x27e)]=this[_0x4c24fe(0x28d)]({'from':_0x3760f2,'to':_0x3760f2,'id':_0x3bea97,'name':'','creatorId':null}));}[_0x3c7c25(0x28d)]({name:_0x51193b,from:_0x32b058,to:_0x17a218,creatorId:_0x2c333c,id:_0x51bfb5}){const _0x3e3a91=_0x3c7c25,_0xa5b262=this[_0x3e3a91(0x232)]({'from':_0x32b058,'to':_0x17a218});_0xa5b262[_0x3e3a91(0x20a)]=_0x51193b,_0xa5b262[_0x3e3a91(0x1de)]=_0x2c333c,_0xa5b262['id']=_0x51bfb5;const _0x3bf9b9=this[_0x3e3a91(0x1d4)](_0xa5b262);return this[_0x3e3a91(0x240)]&&this[_0x3e3a91(0x257)](_0xa5b262['id'],_0xa5b262,!0x0),_0x3bf9b9;}[_0x3c7c25(0x1f3)](){const _0x278e1a=_0x3c7c25;this[_0x278e1a(0x21f)][_0x278e1a(0x277)][_0x278e1a(0x1f0)](_0x278e1a(0x289))[_0x278e1a(0x24b)]({'model':_0x278e1a(0x1ce)});}[_0x3c7c25(0x2d9)](_0x1ca553){const _0x5f42d8=_0x3c7c25;return(_0x1ca553=_0x1ca553[_0x5f42d8(0x294)](_0x29a8af=>!_0x29a8af[_0x5f42d8(0x20a)]||_0x5f42d8(0x302)!==_0x29a8af[_0x5f42d8(0x20a)]&&_0x5f42d8(0x292)!==_0x29a8af[_0x5f42d8(0x20a)]))[_0x5f42d8(0x203)](_0x286a14=>{const _0x4b4f97=_0x5f42d8;_0x4b4f97(0x297)!=typeof _0x286a14&&(_0x286a14[_0x4b4f97(0x2a0)]=this[_0x4b4f97(0x2d9)](_0x286a14[_0x4b4f97(0x2a0)]),_0x286a14[_0x4b4f97(0x239)]=_0x286a14[_0x4b4f97(0x239)][_0x4b4f97(0x294)](_0x57ff36=>!_0x57ff36[0x0][_0x4b4f97(0x219)](_0x4b4f97(0x2f4))));}),_0x1ca553;}}function C(_0x4ca408,_0x222ade){const _0x38ef22=_0x3c7c25,_0x364e00=_0x222ade[_0x38ef22(0x200)][_0x38ef22(0x27f)][_0x38ef22(0x2fd)];if(_0x38ef22(0x297)==typeof _0x4ca408)return new _0x364f18(_0x364e00,_0x4ca408);{const _0x4a87a5=_0x4ca408[_0x38ef22(0x2a0)][_0x38ef22(0x26c)](_0x572467=>C(_0x572467,_0x222ade));return new(P[_0x4ca408[(_0x38ef22(0x21d))]]||_0x369ada)(_0x364e00,_0x4ca408[_0x38ef22(0x20a)],_0x4ca408[_0x38ef22(0x239)],_0x4a87a5);}}class V{constructor(_0x369d8c){const _0xc3e492=_0x3c7c25;this[_0xc3e492(0x21f)]=_0x369d8c,this[_0xc3e492(0x298)]=new Map(),this[_0xc3e492(0x1d7)]=-0x1,this[_0xc3e492(0x246)]=-0x1,this[_0xc3e492(0x2b7)]=new Map(),this[_0xc3e492(0x29a)]=new Map(),this[_0xc3e492(0x249)]=new Map(),this[_0xc3e492(0x2f7)]=new Map(),this[_0xc3e492(0x1d8)]=new Map(),this[_0xc3e492(0x279)]=new Map(),this[_0xc3e492(0x2f8)]=new Map(),this[_0xc3e492(0x2a4)]=new Map(),this[_0xc3e492(0x2c7)]=new Map(),this[_0xc3e492(0x2ff)]=new Map(),this[_0xc3e492(0x28c)]=0x1;}[_0x3c7c25(0x216)](_0x15018b){const _0x413f74=_0x3c7c25;this[_0x413f74(0x1cc)]=_0x15018b;const _0x15171a=new Map(),_0x43f9a8=new Map(),_0x1aad12=this[_0x413f74(0x21f)][_0x413f74(0x273)][_0x413f74(0x2fd)][_0x413f74(0x222)][_0x413f74(0x26c)](_0x837e9a=>_0x837e9a[_0x413f74(0x266)]);for(const _0x43abfb of _0x1aad12){const _0x192944=this[_0x413f74(0x21f)][_0x413f74(0x273)][_0x413f74(0x2fd)][_0x413f74(0x2c1)](_0x43abfb),_0x561f01=T(_0x192944);_0x15171a[_0x413f74(0x2a9)](_0x43abfb,_0x561f01),_0x43f9a8[_0x413f74(0x2a9)](_0x43abfb,Object[_0x413f74(0x24a)](_0x192944[_0x413f74(0x1f2)]()));}const _0x895d68=Array[_0x413f74(0x2cb)](this[_0x413f74(0x21f)][_0x413f74(0x273)][_0x413f74(0x25d)])[_0x413f74(0x26c)](_0x5ab0f0=>[_0x5ab0f0[_0x413f74(0x20a)],_0x5ab0f0[_0x413f74(0x264)]()]),_0x57cfb4=this[_0x413f74(0x1cc)][_0x413f74(0x21a)];this[_0x413f74(0x213)](_0x57cfb4,_0x15171a,_0x895d68,_0x43f9a8),this[_0x413f74(0x285)]=this[_0x413f74(0x28c)];const _0x5eed5f=new Map(),_0x1ff0f0=new Map();for(const _0x2cda34 of _0x1aad12){const _0x3d2936=F(_0x2cda34);_0x5eed5f[_0x413f74(0x2a9)](_0x2cda34,_0x3d2936),_0x1ff0f0[_0x413f74(0x2a9)](_0x2cda34,{});}this[_0x413f74(0x213)](Number[_0x413f74(0x224)],_0x5eed5f,[],_0x1ff0f0);}[_0x3c7c25(0x278)](_0x42978d,_0x303868){const _0x8b2dc3=_0x3c7c25;if(this[_0x8b2dc3(0x1d7)]===_0x42978d&&this[_0x8b2dc3(0x246)]<=_0x303868)this[_0x8b2dc3(0x298)][_0x8b2dc3(0x23d)]>0x1&&this[_0x8b2dc3(0x287)](this[_0x8b2dc3(0x246)]),this[_0x8b2dc3(0x22a)](this[_0x8b2dc3(0x246)],_0x303868,!0x0);else{if(!this[_0x8b2dc3(0x298)][_0x8b2dc3(0x282)](_0x42978d)){const _0xd2a144=this[_0x8b2dc3(0x2d8)](_0x42978d);this[_0x8b2dc3(0x27d)](_0xd2a144,_0x42978d,!0x1);}this[_0x8b2dc3(0x27d)](_0x42978d,_0x303868,!0x0);}return this[_0x8b2dc3(0x1d7)]=_0x42978d,this[_0x8b2dc3(0x246)]=_0x303868,this[_0x8b2dc3(0x26a)]();}[_0x3c7c25(0x2d0)](_0x5cd3df){const _0x28081e=_0x3c7c25;this[_0x28081e(0x223)](),this[_0x28081e(0x1d7)]=_0x5cd3df[_0x28081e(0x1d9)],this[_0x28081e(0x246)]=_0x5cd3df[_0x28081e(0x2dd)];for(const _0x769f98 in _0x5cd3df[_0x28081e(0x296)]){const _0x2b5cf6=_0x5cd3df[_0x28081e(0x296)][_0x769f98][_0x28081e(0x269)],_0xc0b113=_0x5897fc(_0x5cd3df[_0x28081e(0x296)][_0x769f98][_0x28081e(0x1f1)])||{},_0x3c1017=this[_0x28081e(0x1d5)](_0x5cd3df[_0x28081e(0x296)][_0x769f98][_0x28081e(0x205)]);_0x3c1017[_0x28081e(0x266)]=_0x769f98,_0x3c1017[_0x28081e(0x1db)]=!_0x2b5cf6||!_0x2b5cf6[_0x28081e(0x280)],_0x3c1017[_0x28081e(0x280)]=()=>_0x3c1017[_0x28081e(0x1db)],this[_0x28081e(0x2f7)][_0x28081e(0x2a9)](_0x769f98,_0x3c1017),this[_0x28081e(0x1d8)][_0x28081e(0x2a9)](_0x769f98,_0xc0b113),_0x2b5cf6&&this[_0x28081e(0x2ff)][_0x28081e(0x2a9)](_0x769f98,_0x2b5cf6);const _0x4f9232=this[_0x28081e(0x276)](_0x3c1017);this[_0x28081e(0x2f8)][_0x28081e(0x2a9)](_0x769f98,_0x4f9232);for(const [_0x28a3f7,_0x1aaa9a]of _0x3c1017[_0x28081e(0x25d)]){if(!_0x28a3f7[_0x28081e(0x219)](_0x28081e(0x238)))continue;const _0x2214b2=_0x28a3f7[_0x28081e(0x209)](':')[0x2];for(const _0x7c3d53 of _0x1aaa9a[_0x28081e(0x2c0)]({'singleCharacters':!0x0})){const _0x8c60c0=this[_0x28081e(0x2cf)](_0x7c3d53),_0x52c73a=_0x28081e(0x1cf)==_0x7c3d53[_0x28081e(0x21d)]?_0x7c3d53[_0x28081e(0x288)][_0x28081e(0x301)][_0x28081e(0x1f9)](0x0,-0x1):_0x7c3d53[_0x28081e(0x288)][_0x28081e(0x301)],_0x1985a8=_0x4f9232[_0x28081e(0x2a8)](_0x52c73a)[_0x28081e(0x1f7)](_0x8c60c0);this[_0x28081e(0x2a4)][_0x28081e(0x2a9)](_0x1985a8,{'userId':_0x2214b2});}}}this[_0x28081e(0x285)]=this[_0x28081e(0x28c)];const _0x2bc2b8=[...Array(this[_0x28081e(0x28c)])[_0x28081e(0x2bf)]()][_0x28081e(0x1f9)](0x1)[_0x28081e(0x294)](_0x8d060d=>!this[_0x28081e(0x2a4)][_0x28081e(0x282)](_0x8d060d));let _0x3732da=0x0;const _0x1e123b=new Map();for(const _0x286d29 in _0x5cd3df[_0x28081e(0x296)]){const _0x20449d=_0x5cd3df[_0x28081e(0x296)][_0x286d29][_0x28081e(0x269)],_0x4d91d0=_0x5897fc(_0x5cd3df[_0x28081e(0x296)][_0x286d29][_0x28081e(0x2d6)])||{},_0x30fa15=this[_0x28081e(0x1d5)](_0x5cd3df[_0x28081e(0x296)][_0x286d29][_0x28081e(0x2e6)]);_0x30fa15[_0x28081e(0x266)]=_0x286d29,_0x30fa15[_0x28081e(0x1db)]=!_0x20449d||_0x20449d[_0x28081e(0x280)],_0x30fa15[_0x28081e(0x280)]=()=>_0x30fa15[_0x28081e(0x1db)],this[_0x28081e(0x29a)][_0x28081e(0x2a9)](_0x286d29,_0x30fa15),this[_0x28081e(0x249)][_0x28081e(0x2a9)](_0x286d29,_0x4d91d0);const _0x513a48=this[_0x28081e(0x276)](_0x30fa15,Number[_0x28081e(0x224)]);this[_0x28081e(0x279)][_0x28081e(0x2a9)](_0x286d29,_0x513a48),_0x1e123b[_0x28081e(0x2a9)](_0x286d29,_0x30fa15[_0x28081e(0x280)]()?_0x4d91d0:{});for(const [_0xea604d,_0x249729]of _0x30fa15[_0x28081e(0x25d)]){if(!_0xea604d[_0x28081e(0x219)](_0x28081e(0x238)))continue;const _0x137f1a=_0xea604d[_0x28081e(0x209)](':')[0x2];for(const _0x3350aa of _0x249729[_0x28081e(0x2c0)]({'singleCharacters':!0x0})){const _0x5c1367=this[_0x28081e(0x2cf)](_0x3350aa),_0x439206=this[_0x28081e(0x28c)]++,_0x6e3084=_0x28081e(0x1cf)==_0x3350aa[_0x28081e(0x21d)]?_0x3350aa[_0x28081e(0x288)][_0x28081e(0x301)][_0x28081e(0x1f9)](0x0,-0x1):_0x3350aa[_0x28081e(0x288)][_0x28081e(0x301)];_0x513a48[_0x28081e(0x2a8)](_0x6e3084)[_0x28081e(0x1cd)](_0x5c1367,_0x439206),this[_0x28081e(0x2a4)][_0x28081e(0x2a9)](_0x439206,{'userId':_0x137f1a});}}for(const _0x378a78 of this[_0x28081e(0x21f)][_0x28081e(0x273)][_0x28081e(0x1ee)](_0x30fa15)[_0x28081e(0x2c0)]({'singleCharacters':!0x0})){const _0x13d994=this[_0x28081e(0x2cf)](_0x378a78),_0x3d638d=_0x28081e(0x1cf)==_0x378a78[_0x28081e(0x21d)]?_0x378a78[_0x28081e(0x288)][_0x28081e(0x301)][_0x28081e(0x1f9)](0x0,-0x1):_0x378a78[_0x28081e(0x288)][_0x28081e(0x301)],_0x4f5a92=_0x513a48[_0x28081e(0x2a8)](_0x3d638d);_0x4f5a92[_0x28081e(0x1f7)](_0x13d994)>0x0||_0x4f5a92[_0x28081e(0x1cd)](_0x13d994,_0x2bc2b8[_0x3732da++]);}for(const [_0x37bef7,_0x26dbaa]of _0x30fa15[_0x28081e(0x25d)])_0x37bef7[_0x28081e(0x219)](_0x28081e(0x238))||this[_0x28081e(0x2b7)][_0x28081e(0x2a9)](_0x37bef7,_0x26dbaa);}const _0x454d70=F(_0x28081e(0x1c6));this[_0x28081e(0x2f7)][_0x28081e(0x2a9)](_0x28081e(0x1c6),_0x454d70),this[_0x28081e(0x2f8)][_0x28081e(0x2a9)](_0x28081e(0x1c6),this[_0x28081e(0x276)](_0x454d70,0x1));const _0x5d7663=F(_0x28081e(0x1c6));this[_0x28081e(0x29a)][_0x28081e(0x2a9)](_0x28081e(0x1c6),_0x5d7663),this[_0x28081e(0x279)][_0x28081e(0x2a9)](_0x28081e(0x1c6),this[_0x28081e(0x276)](_0x5d7663,0x1));const _0xdd026a=Array[_0x28081e(0x2cb)](this[_0x28081e(0x29a)])[_0x28081e(0x26c)](([_0x5dc52e,_0x2647d8])=>[_0x5dc52e,T(_0x2647d8)]);this[_0x28081e(0x213)](this[_0x28081e(0x246)],_0xdd026a,this[_0x28081e(0x2b7)],_0x1e123b);}[_0x3c7c25(0x1d5)](_0x5af5fb){const _0x51833b=_0x3c7c25,_0x34dd9d=JSON[_0x51833b(0x233)](_0x5af5fb),_0xcaea12=this[_0x51833b(0x21f)][_0x51833b(0x200)][_0x51833b(0x27f)][_0x51833b(0x2fd)],_0x5ea0e9=new _0x48a67b(_0xcaea12,_0x34dd9d[_0x51833b(0x26c)](_0x303c6d=>C(_0x303c6d,this[_0x51833b(0x21f)])));return this[_0x51833b(0x21f)][_0x51833b(0x1d6)][_0x51833b(0x2fa)](_0x5ea0e9);}[_0x3c7c25(0x213)](_0x28fcdf,_0x45f3d0,_0x1e930b,_0x474cf6){const _0x3d3f9c=_0x3c7c25,_0xf3b91b=new Map(_0x45f3d0),_0x4e062f=new Map(_0x5897fc(_0x474cf6)),_0x214323=new Map();for(const [_0x3e8c66,_0x49caba]of _0x1e930b)_0x214323[_0x3d3f9c(0x2a9)](_0x3e8c66,{'start':_0x49caba[_0x3d3f9c(0x1fe)][_0x3d3f9c(0x252)](),'end':_0x49caba[_0x3d3f9c(0x2e9)][_0x3d3f9c(0x252)](),'rootName':_0x49caba[_0x3d3f9c(0x2da)][_0x3d3f9c(0x266)]});this[_0x3d3f9c(0x298)][_0x3d3f9c(0x2a9)](_0x28fcdf,{'roots':_0xf3b91b,'markers':_0x214323,'rootsAttributes':_0x4e062f});}[_0x3c7c25(0x287)](_0x34095a){const _0x38bdaf=_0x3c7c25;this[_0x38bdaf(0x298)][_0x38bdaf(0x1ef)](_0x34095a);}[_0x3c7c25(0x272)](){const _0x2ad333=_0x3c7c25;this[_0x2ad333(0x223)](),this[_0x2ad333(0x1d7)]=-0x1,this[_0x2ad333(0x246)]=-0x1,this[_0x2ad333(0x298)][_0x2ad333(0x2d1)](),this[_0x2ad333(0x216)](this[_0x2ad333(0x1cc)]);}[_0x3c7c25(0x223)](){const _0x307707=_0x3c7c25;this[_0x307707(0x2a4)][_0x307707(0x2d1)](),this[_0x307707(0x2c7)][_0x307707(0x2d1)](),this[_0x307707(0x2ff)][_0x307707(0x2d1)](),this[_0x307707(0x29a)][_0x307707(0x2d1)](),this[_0x307707(0x249)][_0x307707(0x2d1)](),this[_0x307707(0x2f7)][_0x307707(0x2d1)](),this[_0x307707(0x1d8)][_0x307707(0x2d1)](),this[_0x307707(0x279)][_0x307707(0x2d1)](),this[_0x307707(0x2f8)][_0x307707(0x2d1)](),this[_0x307707(0x2b7)][_0x307707(0x2d1)](),this[_0x307707(0x28c)]=0x1,this[_0x307707(0x285)]=this[_0x307707(0x28c)];}[_0x3c7c25(0x276)](_0x5a6f90,_0x2bb5cc=null){const _0x808833=_0x3c7c25;let _0xcd14fd=null;_0x5a6f90['is'](_0x808833(0x27c))||(_0xcd14fd=new _0x5176f8(_0x5a6f90[_0x808833(0x20a)],{'vid_start':null===_0x2bb5cc?this[_0x808833(0x28c)]++:_0x2bb5cc++}));const _0x217d97=[];for(const _0x4d7271 of _0x5a6f90[_0x808833(0x201)]())if(_0x4d7271['is'](_0x808833(0x2ab))){_0x217d97[_0x808833(0x2af)](this[_0x808833(0x276)](_0x4d7271,_0x2bb5cc));const _0x7e858d=_0x217d97[_0x217d97[_0x808833(0x28e)]-0x1];null!==_0x2bb5cc&&(_0x2bb5cc=_0x7e858d['is'](_0x808833(0x2ab),_0x808833(0x226))?_0x7e858d[_0x808833(0x1f7)](_0x808833(0x2eb))+0x1:_0x7e858d[_0x808833(0x1f7)](_0x808833(0x210))+0x1);}else{for(let _0x6921e7=0x0;_0x6921e7<_0x4d7271[_0x808833(0x202)];_0x6921e7++)_0x217d97[_0x808833(0x2af)](new _0x5176f8(_0x808833(0x226),{'vid':null===_0x2bb5cc?this[_0x808833(0x28c)]++:_0x2bb5cc++}));}if(_0x5a6f90['is'](_0x808833(0x27c))){const _0x5b14b8=F(_0x5a6f90[_0x808833(0x266)]);return _0x5b14b8[_0x808833(0x2ae)](0x0,_0x217d97),_0x5b14b8;}return _0xcd14fd[_0x808833(0x1cd)](_0x808833(0x210),null===_0x2bb5cc?this[_0x808833(0x28c)]++:_0x2bb5cc++),_0xcd14fd[_0x808833(0x2ae)](0x0,_0x217d97),_0xcd14fd;}[_0x3c7c25(0x27d)](_0x1da68c,_0x1bd354,_0xd9ec06){const _0x5aa479=_0x3c7c25;this[_0x5aa479(0x223)]();const {roots:_0x5d3ee5,markers:_0xf9031,rootsAttributes:_0x1c79a7}=this[_0x5aa479(0x298)][_0x5aa479(0x283)](_0x1da68c);this[_0x5aa479(0x2f7)]=new Map(_0x5d3ee5),this[_0x5aa479(0x1d8)]=new Map(_0x5897fc(_0x1c79a7));for(const [_0x101a67,_0x42c3c7]of this[_0x5aa479(0x2f7)])if(_0x5aa479(0x1c6)!==_0x101a67&&(this[_0x5aa479(0x29a)][_0x5aa479(0x2a9)](_0x101a67,T(_0x42c3c7)),this[_0x5aa479(0x249)]=new Map(_0x5897fc(_0x1c79a7)),_0xd9ec06)){const _0x2a7530=this[_0x5aa479(0x28c)];this[_0x5aa479(0x279)][_0x5aa479(0x2a9)](_0x101a67,this[_0x5aa479(0x276)](_0x42c3c7)),this[_0x5aa479(0x2f8)][_0x5aa479(0x2a9)](_0x101a67,this[_0x5aa479(0x276)](_0x42c3c7,_0x2a7530));}this[_0x5aa479(0x285)]=this[_0x5aa479(0x28c)],this[_0x5aa479(0x29a)][_0x5aa479(0x2a9)](_0x5aa479(0x1c6),T(this[_0x5aa479(0x2f7)][_0x5aa479(0x283)](_0x5aa479(0x1c6)))),_0xd9ec06&&this[_0x5aa479(0x279)][_0x5aa479(0x2a9)](_0x5aa479(0x1c6),this[_0x5aa479(0x276)](this[_0x5aa479(0x2f7)][_0x5aa479(0x283)](_0x5aa479(0x1c6))));for(const [_0x1fb265,_0x3c9ab3]of _0xf9031){const _0x1f6309=this[_0x5aa479(0x2f7)][_0x5aa479(0x283)](_0x3c9ab3[_0x5aa479(0x266)]),_0x56af65=this[_0x5aa479(0x29a)][_0x5aa479(0x283)](_0x3c9ab3[_0x5aa479(0x266)]),_0x3406f4=new _0x50ff83(this[_0x5aa479(0x2e7)](_0x3c9ab3[_0x5aa479(0x1fe)],_0x1f6309),this[_0x5aa479(0x2e7)](_0x3c9ab3[_0x5aa479(0x2e9)],_0x1f6309)),_0x1d4714=this[_0x5aa479(0x247)](_0x3406f4,_0x56af65);_0x1f6309[_0x5aa479(0x25d)][_0x5aa479(0x2a9)](_0x1fb265,_0x3406f4),this[_0x5aa479(0x2b7)][_0x5aa479(0x2a9)](_0x1fb265,_0x1d4714);}this[_0x5aa479(0x22a)](_0x1da68c,_0x1bd354,_0xd9ec06);}[_0x3c7c25(0x22a)](_0x126762,_0x583565,_0x3bb5b1){const _0x361252=_0x3c7c25;for(const _0x1febcf of this[_0x361252(0x1cc)][_0x361252(0x2a7)](_0x126762,_0x583565))this[_0x361252(0x29e)](_0x1febcf,_0x3bb5b1);for(const _0x2c228e of this[_0x361252(0x29a)][_0x361252(0x21c)]())_0x2c228e[_0x361252(0x25d)][_0x361252(0x2d1)]();for(const [_0x524fb0,_0x454965]of this[_0x361252(0x2b7)]){this[_0x361252(0x29a)][_0x361252(0x283)](_0x454965[_0x361252(0x2da)][_0x361252(0x266)])[_0x361252(0x25d)][_0x361252(0x2a9)](_0x524fb0,_0x454965[_0x361252(0x252)]());}const _0x5e25d7=new Map(),_0x2ecef0=new Map();for(const [_0x1c0732,_0x18cd12]of this[_0x361252(0x29a)])_0x5e25d7[_0x361252(0x2a9)](_0x1c0732,T(_0x18cd12)),_0x2ecef0[_0x361252(0x2a9)](_0x1c0732,this[_0x361252(0x249)][_0x361252(0x283)](_0x1c0732));this[_0x361252(0x213)](_0x583565,_0x5e25d7,this[_0x361252(0x2b7)],_0x2ecef0);}[_0x3c7c25(0x2d8)](_0x2a83f1){const _0x1e9746=_0x3c7c25,_0x1ad2b9=Array[_0x1e9746(0x2cb)](this[_0x1e9746(0x298)][_0x1e9746(0x2bf)]());_0x1ad2b9[_0x1e9746(0x2b2)]((_0x183bc2,_0x1678a9)=>_0x183bc2-_0x1678a9),_0x1ad2b9[_0x1e9746(0x1fb)]();for(const _0x63e5c9 of _0x1ad2b9)if(_0x63e5c9<_0x2a83f1)return _0x63e5c9;return Number[_0x1e9746(0x224)];}[_0x3c7c25(0x2a5)](_0x316383,_0x59a39e){const _0xe55235=_0x3c7c25,_0x503bd8=Array[_0xe55235(0x2cb)](_0x59a39e[_0xe55235(0x25d)])[_0xe55235(0x26c)](([_0x3fbbd1,_0x257dde])=>[_0x3fbbd1,this[_0xe55235(0x247)](_0x257dde,_0x316383)]);_0x316383[_0xe55235(0x25d)]=new Map(_0x503bd8);}[_0x3c7c25(0x2ba)](_0x153f1c){const _0xe7cdf=_0x3c7c25;for(const _0x4675a2 of this[_0xe7cdf(0x2b7)][_0xe7cdf(0x21c)]()){const _0x283032=_0x4675a2[_0xe7cdf(0x2e3)](_0x153f1c),_0x4c56c7=_0x50ff83[_0xe7cdf(0x26f)](_0x283032);_0x4675a2[_0xe7cdf(0x1fe)]=_0x4c56c7[_0xe7cdf(0x1fe)],_0x4675a2[_0xe7cdf(0x2e9)]=_0x4c56c7[_0xe7cdf(0x2e9)];}}[_0x3c7c25(0x29e)](_0xe5bf9e,_0x3eba59){const _0x1494df=_0x3c7c25;if(_0x1494df(0x2cc)!=_0xe5bf9e[_0x1494df(0x21d)]&&_0x1494df(0x25f)!=_0xe5bf9e[_0x1494df(0x21d)]){if(_0x1494df(0x293)==_0xe5bf9e[_0x1494df(0x21d)]){const _0x3673b2=_0xe5bf9e[_0x1494df(0x291)][_0x1494df(0x2da)][_0x1494df(0x266)];this[_0x1494df(0x29a)][_0x1494df(0x282)](_0x3673b2)||(this[_0x1494df(0x29a)][_0x1494df(0x2a9)](_0x3673b2,F(_0x3673b2,!0x0)),this[_0x1494df(0x249)][_0x1494df(0x2a9)](_0x3673b2,{}),_0x3eba59&&this[_0x1494df(0x279)][_0x1494df(0x2a9)](_0x3673b2,F(_0x3673b2,!0x0)));}else{if(_0x1494df(0x1ca)==_0xe5bf9e[_0x1494df(0x21d)]||_0x1494df(0x1c7)==_0xe5bf9e[_0x1494df(0x21d)]||_0x1494df(0x28a)==_0xe5bf9e[_0x1494df(0x21d)])return void this[_0x1494df(0x230)](_0xe5bf9e);_0x1494df(0x1ff)==_0xe5bf9e[_0x1494df(0x21d)]&&this[_0x1494df(0x243)](_0xe5bf9e);}if(_0x1494df(0x1ff)!==_0xe5bf9e[_0x1494df(0x21d)]){const _0x37bfa2=this[_0x1494df(0x2f2)](_0xe5bf9e,this[_0x1494df(0x29a)]);_0x37bfa2[_0x1494df(0x2d4)](),this[_0x1494df(0x2ba)](_0x37bfa2);}if(_0x3eba59)switch(_0xe5bf9e[_0x1494df(0x21d)]){case _0x1494df(0x293):this[_0x1494df(0x265)](_0xe5bf9e);break;case _0x1494df(0x2f1):case _0x1494df(0x26e):case _0x1494df(0x2ef):this[_0x1494df(0x2f0)](_0xe5bf9e);break;case _0x1494df(0x260):this[_0x1494df(0x2ea)](_0xe5bf9e);break;case _0x1494df(0x209):this[_0x1494df(0x24c)](_0xe5bf9e);}}else this[_0x1494df(0x303)](_0xe5bf9e,_0x3eba59);}[_0x3c7c25(0x2f2)](_0x4257fb,_0x2149f4){const _0xbb3693=_0x3c7c25,_0x46bf7e=_0x4257fb[_0xbb3693(0x252)]();return _0x46bf7e[_0xbb3693(0x24e)]=_0x4257fb[_0xbb3693(0x24e)],this[_0xbb3693(0x20b)](_0x46bf7e,_0x2149f4),_0x46bf7e;}[_0x3c7c25(0x2b4)](_0x2e3ad4){const _0x4a6942=_0x3c7c25;return _0x2e3ad4[_0x4a6942(0x26c)](_0x10c4d2=>{const _0x263ff9=_0x4a6942,_0x430379=this[_0x263ff9(0x2cf)](_0x10c4d2);return Number(_0x10c4d2[_0x263ff9(0x29c)][_0x263ff9(0x1f7)](_0x430379));});}[_0x3c7c25(0x212)](_0x338ba3,_0x28bab0){const _0x2e92c6=_0x3c7c25;if(_0x338ba3['is'](_0x2e92c6(0x2ab),_0x2e92c6(0x226)))_0x28bab0[_0x2e92c6(0x2af)]({'item':_0x338ba3,'type':_0x2e92c6(0x23c)});else{_0x338ba3['is'](_0x2e92c6(0x2ab))&&_0x28bab0[_0x2e92c6(0x2af)]({'item':_0x338ba3,'type':_0x2e92c6(0x1fd)});for(const _0x264071 of _0x338ba3[_0x2e92c6(0x201)]())this[_0x2e92c6(0x212)](_0x264071,_0x28bab0);_0x338ba3['is'](_0x2e92c6(0x2ab))&&_0x28bab0[_0x2e92c6(0x2af)]({'item':_0x338ba3,'type':_0x2e92c6(0x1cf)});}return _0x28bab0;}[_0x3c7c25(0x26a)](){const _0x2d9a20=_0x3c7c25,_0x408dd7=new Map(this[_0x2d9a20(0x2a4)]),_0x3d3ce1=new Map(_0x408dd7),_0x5246e4=new Map(),_0x4e8dae={'insertions':{},'deletions':{}},_0x1c5c8a={'insertions':{},'deletions':{}},_0x26c14c=new Map(),_0x22faa6=new Set([...this[_0x2d9a20(0x2f7)][_0x2d9a20(0x2bf)](),...this[_0x2d9a20(0x29a)][_0x2d9a20(0x2bf)]()]);_0x22faa6[_0x2d9a20(0x1ef)](_0x2d9a20(0x1c6));for(const _0x76b285 of _0x22faa6){const _0x166d94=this[_0x2d9a20(0x29a)][_0x2d9a20(0x283)](_0x76b285)||F(_0x76b285,!0x1),_0x4626eb=this[_0x2d9a20(0x2f7)][_0x2d9a20(0x283)](_0x76b285)||F(_0x76b285,!0x1);_0x166d94[_0x2d9a20(0x280)]()||_0x4626eb[_0x2d9a20(0x280)]()?(_0x4e8dae[_0x2d9a20(0x2e6)][_0x76b285]=T(_0x166d94),_0x4e8dae[_0x2d9a20(0x205)][_0x76b285]=T(_0x4626eb),this[_0x2d9a20(0x2a5)](_0x4e8dae[_0x2d9a20(0x205)][_0x76b285],_0x4626eb),this[_0x2d9a20(0x2a5)](_0x4e8dae[_0x2d9a20(0x2e6)][_0x76b285],_0x166d94),_0x1c5c8a[_0x2d9a20(0x2e6)][_0x76b285]=this[_0x2d9a20(0x212)](this[_0x2d9a20(0x279)][_0x2d9a20(0x283)](_0x76b285),[]),_0x1c5c8a[_0x2d9a20(0x205)][_0x76b285]=this[_0x2d9a20(0x212)](this[_0x2d9a20(0x2f8)][_0x2d9a20(0x283)](_0x76b285)||F(_0x76b285,!0x1),[])):_0x22faa6[_0x2d9a20(0x1ef)](_0x76b285);}for(const _0x1744bd of _0x22faa6){const _0x14de04=_0x1c5c8a[_0x2d9a20(0x2e6)][_0x1744bd];for(const _0x4d86b8 of _0x14de04){const _0x47ebd3=this[_0x2d9a20(0x2cf)](_0x4d86b8),_0x2b8795=_0x4d86b8[_0x2d9a20(0x29c)][_0x2d9a20(0x1f7)](_0x47ebd3);_0x3d3ce1[_0x2d9a20(0x1ef)](_0x2b8795),_0x2b8795>=this[_0x2d9a20(0x285)]&&_0x5246e4[_0x2d9a20(0x2a9)](_0x2b8795,_0x408dd7[_0x2d9a20(0x283)](_0x2b8795));}}for(const _0x52db7c of _0x22faa6){const _0x287990=_0x1c5c8a[_0x2d9a20(0x2e6)][_0x52db7c],_0x409673=this[_0x2d9a20(0x2b4)](_0x1c5c8a[_0x2d9a20(0x205)][_0x52db7c]);let _0x5ad12f=0x0;for(const _0xb9af89 of _0x287990){const _0x3b834a=this[_0x2d9a20(0x2cf)](_0xb9af89),_0x3fd095=_0xb9af89[_0x2d9a20(0x29c)][_0x2d9a20(0x1f7)](_0x3b834a);if(!_0x5246e4[_0x2d9a20(0x282)](_0x3fd095)&&!_0x26c14c[_0x2d9a20(0x282)](_0x3fd095)){if(_0x3d3ce1[_0x2d9a20(0x282)](_0x3fd095))_0x5ad12f++;else{if(_0x3fd095!=_0x409673[_0x5ad12f]){const _0x56ab56=_0x408dd7[_0x2d9a20(0x283)](_0x3fd095)||_0x408dd7[_0x2d9a20(0x283)](_0x409673[_0x5ad12f]);for(;_0x3fd095!=_0x409673[_0x5ad12f];)_0x3d3ce1[_0x2d9a20(0x282)](_0x409673[_0x5ad12f])||(_0x26c14c[_0x2d9a20(0x2a9)](_0x409673[_0x5ad12f],_0x56ab56),_0x408dd7[_0x2d9a20(0x2a9)](_0x409673[_0x5ad12f],_0x56ab56)),_0x5ad12f++;}_0x5ad12f++;}}}}for(const _0x3c6089 of _0x22faa6){const _0x56cba1=_0x1c5c8a[_0x2d9a20(0x2e6)][_0x3c6089];for(const _0x1a3a65 of _0x56cba1){const _0x3751a4=this[_0x2d9a20(0x2cf)](_0x1a3a65),_0x1bff47=_0x1a3a65[_0x2d9a20(0x29c)][_0x2d9a20(0x1f7)](_0x3751a4);if(_0x26c14c[_0x2d9a20(0x282)](_0x1bff47)){const _0x230f22=_0x26c14c[_0x2d9a20(0x283)](_0x1bff47);_0x3d3ce1[_0x2d9a20(0x282)](_0x1bff47)||_0x3d3ce1[_0x2d9a20(0x2a9)](_0x1bff47,{..._0x230f22}),_0x5246e4[_0x2d9a20(0x2a9)](_0x1bff47,{..._0x230f22});}}}for(const _0x176966 of _0x3d3ce1[_0x2d9a20(0x2bf)]())_0x176966>=this[_0x2d9a20(0x285)]&&_0x3d3ce1[_0x2d9a20(0x1ef)](_0x176966);const _0x5104ab=new Map();for(const _0x2c81fa of _0x22faa6){let _0x19ace4=_0x1c5c8a[_0x2d9a20(0x2e6)][_0x2c81fa];for(const _0x4c5497 of _0x19ace4)if(_0x4c5497[_0x2d9a20(0x29c)]['is'](_0x2d9a20(0x2ab),_0x2d9a20(0x23f))){const _0x411824=this[_0x2d9a20(0x2cf)](_0x4c5497),_0x2e2066=_0x4c5497[_0x2d9a20(0x29c)][_0x2d9a20(0x1f7)](_0x411824);if(_0x5246e4[_0x2d9a20(0x282)](_0x2e2066)){const _0x52c7d3=_0x4c5497[_0x2d9a20(0x29c)][_0x2d9a20(0x290)][_0x2d9a20(0x290)][_0x2d9a20(0x1f7)](_0x2d9a20(0x2ad)),_0x2b394d=_0x5104ab[_0x2d9a20(0x283)](_0x52c7d3)||new Set();_0x2b394d[_0x2d9a20(0x1dd)](_0x5246e4[_0x2d9a20(0x283)](_0x2e2066)[_0x2d9a20(0x21e)]),_0x5104ab[_0x2d9a20(0x2a9)](_0x52c7d3,_0x2b394d);}}_0x19ace4=_0x1c5c8a[_0x2d9a20(0x205)][_0x2c81fa];for(const _0x55c329 of _0x19ace4)if(_0x55c329[_0x2d9a20(0x29c)]['is'](_0x2d9a20(0x2ab),_0x2d9a20(0x23f))){const _0x4b473b=this[_0x2d9a20(0x2cf)](_0x55c329),_0xcf4e3e=_0x55c329[_0x2d9a20(0x29c)][_0x2d9a20(0x1f7)](_0x4b473b);if(_0x3d3ce1[_0x2d9a20(0x282)](_0xcf4e3e)){const _0x3d469a=_0x55c329[_0x2d9a20(0x29c)][_0x2d9a20(0x290)][_0x2d9a20(0x290)][_0x2d9a20(0x1f7)](_0x2d9a20(0x2ad)),_0x2b83e2=_0x5104ab[_0x2d9a20(0x283)](_0x3d469a)||new Set();_0x2b83e2[_0x2d9a20(0x1dd)](_0x3d3ce1[_0x2d9a20(0x283)](_0xcf4e3e)[_0x2d9a20(0x21e)]),_0x5104ab[_0x2d9a20(0x2a9)](_0x3d469a,_0x2b83e2);}}for(const _0x272609 of _0x5104ab[_0x2d9a20(0x2bf)]())(_0x5246e4[_0x2d9a20(0x282)](_0x272609)||_0x3d3ce1[_0x2d9a20(0x282)](_0x272609))&&_0x5104ab[_0x2d9a20(0x1ef)](_0x272609);}for(const _0x293860 of _0x22faa6){const _0x1373a2=_0x1c5c8a[_0x2d9a20(0x2e6)][_0x293860];let _0x19a94a=null,_0x372bd4=null;for(const _0x44688d of _0x1373a2){const _0x1b1e90=this[_0x2d9a20(0x2cf)](_0x44688d),_0x2bb023=_0x44688d[_0x2d9a20(0x29c)][_0x2d9a20(0x1f7)](_0x1b1e90),_0x534652=_0x5104ab[_0x2d9a20(0x283)](_0x2bb023);_0x534652&&_0x2d9a20(0x1fd)==_0x44688d[_0x2d9a20(0x21d)]&&(_0x19a94a=Array[_0x2d9a20(0x2cb)](_0x534652)[0x0],_0x372bd4=_0x44688d[_0x2d9a20(0x29c)][_0x2d9a20(0x1f7)](_0x2d9a20(0x210))),_0x19a94a&&(_0x3d3ce1[_0x2d9a20(0x2a9)](_0x2bb023,{'userId':_0x19a94a}),_0x5246e4[_0x2d9a20(0x2a9)](_0x2bb023,{'userId':_0x19a94a})),_0x2bb023==_0x372bd4&&(_0x19a94a=null,_0x372bd4=null);}}const _0x1ab8f5={},_0x18f5f3=new Set();for(const _0xc4ee43 of _0x22faa6){const _0x5e8fb4=_0x4e8dae[_0x2d9a20(0x205)][_0xc4ee43],_0x1201bf=_0x4e8dae[_0x2d9a20(0x2e6)][_0xc4ee43];for(const {userId:_0x59afd0}of this[_0x2d9a20(0x2c7)][_0x2d9a20(0x21c)]())null!==_0x59afd0&&_0x18f5f3[_0x2d9a20(0x1dd)](_0x59afd0);for(const {userId:_0x35a5d5}of this[_0x2d9a20(0x2ff)][_0x2d9a20(0x21c)]())null!==_0x35a5d5&&_0x18f5f3[_0x2d9a20(0x1dd)](_0x35a5d5);this[_0x2d9a20(0x25e)](_0x1201bf,_0x1c5c8a[_0x2d9a20(0x2e6)][_0xc4ee43],_0x5246e4,_0x2d9a20(0x22c),_0x18f5f3),this[_0x2d9a20(0x25e)](_0x5e8fb4,_0x1c5c8a[_0x2d9a20(0x205)][_0xc4ee43],_0x3d3ce1,_0x2d9a20(0x225),_0x18f5f3),_0x1ab8f5[_0xc4ee43]={'insertions':this[_0x2d9a20(0x258)](_0x1201bf),'deletions':this[_0x2d9a20(0x258)](_0x5e8fb4),'attachChange':this[_0x2d9a20(0x2ff)][_0x2d9a20(0x283)](_0xc4ee43)||null,'attributesBefore':_0x5897fc(this[_0x2d9a20(0x1d8)][_0x2d9a20(0x283)](_0xc4ee43))||{},'attributesAfter':_0x5897fc(this[_0x2d9a20(0x249)][_0x2d9a20(0x283)](_0xc4ee43))};}return{'diffData':_0x1ab8f5,'authorsIds':Array[_0x2d9a20(0x2cb)](_0x18f5f3)};}[_0x3c7c25(0x267)](_0x47fd0f){const _0xb8e479=_0x3c7c25;for(const [,_0x2082d9]of _0x47fd0f[_0xb8e479(0x25d)]){const _0x46fd8b=_0x2082d9[_0xb8e479(0x1fe)][_0xb8e479(0x29f)]()[_0xb8e479(0x294)](_0x431a53=>_0xb8e479(0x23f)==_0x431a53[_0xb8e479(0x20a)]);for(const _0x159af7 of _0x46fd8b)0x1==_0x159af7[_0xb8e479(0x295)]&&_0x159af7[_0xb8e479(0x2d3)](0x0)['is'](_0xb8e479(0x2ab),_0xb8e479(0x261))&&_0x159af7[_0xb8e479(0x2d3)](0x0)[_0xb8e479(0x1cd)](_0xb8e479(0x2a3),!0x0);}}[_0x3c7c25(0x258)](_0xd6237c){const _0x44d030=_0x3c7c25;this[_0x44d030(0x267)](_0xd6237c);const _0x606c4c=this[_0x44d030(0x21f)][_0x44d030(0x1d6)][_0x44d030(0x2ed)](_0xd6237c,{}),_0x11092b=Array[_0x44d030(0x2cb)](_0x606c4c[_0x44d030(0x201)]())[_0x44d030(0x26c)](_0x2470f5=>this[_0x44d030(0x22e)](_0x2470f5));return JSON[_0x44d030(0x1e9)](_0x11092b);}[_0x3c7c25(0x22e)](_0xc23364){const _0x1be503=_0x3c7c25;if(_0xc23364['is'](_0x1be503(0x226)))return _0xc23364[_0x1be503(0x1d6)];{const _0x5370ac=_0xc23364;return{'type':Object[_0x1be503(0x2bf)](P)[_0x1be503(0x1d2)](_0x4854e9=>_0xc23364 instanceof P[_0x4854e9]),'name':_0x5370ac[_0x1be503(0x20a)],'attributes':Array[_0x1be503(0x2cb)](_0x5370ac[_0x1be503(0x1f2)]()),'children':Array[_0x1be503(0x2cb)](_0x5370ac[_0x1be503(0x201)]())[_0x1be503(0x26c)](_0x489d40=>this[_0x1be503(0x22e)](_0x489d40))};}}[_0x3c7c25(0x25e)](_0x5dfb7f,_0x7956a6,_0x129fdf,_0x764b14,_0x3b450b){const _0x576e59=_0x3c7c25;let _0x2f2743=null,_0x1da162=null,_0x4ee7a3=0x0;const _0x1d8b13=this[_0x576e59(0x21f)][_0x576e59(0x273)];for(let _0x2b6327=0x0;_0x2b6327<_0x7956a6[_0x576e59(0x28e)];_0x2b6327++){const _0x3bb5fa=this[_0x576e59(0x2cf)](_0x7956a6[_0x2b6327]),_0x19a43c=_0x7956a6[_0x2b6327][_0x576e59(0x29c)][_0x576e59(0x1f7)](_0x3bb5fa),_0x553d77=_0x129fdf[_0x576e59(0x283)](_0x19a43c),_0x321314=_0x2b6327==_0x7956a6[_0x576e59(0x28e)]-0x1;(!_0x2f2743&&_0x553d77&&(_0x2f2743=_0x553d77,_0x1da162=_0x7956a6[_0x2b6327]),_0x2f2743&&(!_0x553d77||_0x553d77[_0x576e59(0x21e)]!=_0x2f2743[_0x576e59(0x21e)]))&&(_0x2a7f05(_0x553d77,B(_0x1da162,_0x5dfb7f,_0x1d8b13),B(_0x7956a6[_0x2b6327],_0x5dfb7f,_0x1d8b13)),_0x2f2743=_0x553d77||null,_0x1da162=_0x553d77?_0x7956a6[_0x2b6327]:null),_0x2f2743&&_0x321314&&_0x2a7f05(_0x553d77,B(_0x1da162,_0x5dfb7f,_0x1d8b13),J(_0x7956a6[_0x2b6327],_0x5dfb7f,_0x1d8b13));}function _0x2a7f05(_0x18f1ce,_0x17b46b,_0x441ff4){const _0x348188=_0x576e59,_0x39d23c=_0x2f2743[_0x348188(0x21e)],_0x10b305=_0x348188(0x238)+_0x764b14+':'+_0x39d23c+':'+_0x4ee7a3++,_0x1a36ef=_0x1d8b13[_0x348188(0x259)](_0x17b46b,_0x441ff4);_0x5dfb7f[_0x348188(0x25d)][_0x348188(0x2a9)](_0x10b305,_0x1a36ef),null!==_0x39d23c&&_0x3b450b[_0x348188(0x1dd)](_0x39d23c);}}[_0x3c7c25(0x2cf)](_0x6255b4){const _0x25a2ec=_0x3c7c25;switch(_0x6255b4[_0x25a2ec(0x21d)]){case _0x25a2ec(0x1fd):return _0x25a2ec(0x2ad);case _0x25a2ec(0x1cf):return _0x25a2ec(0x210);default:return _0x25a2ec(0x2eb);}}[_0x3c7c25(0x20b)](_0x19d19f,_0x4b9963){const _0x124c1b=_0x3c7c25;_0x19d19f[_0x124c1b(0x208)]=null;for(const _0x13b76f in _0x19d19f){const _0x3c446a=_0x19d19f[_0x13b76f];if(_0x3c446a instanceof _0x29b179){const _0x45a24f=_0x4b9963[_0x124c1b(0x283)](_0x3c446a[_0x124c1b(0x2da)][_0x124c1b(0x266)]);_0x19d19f[_0x13b76f]=this[_0x124c1b(0x2e7)](_0x3c446a,_0x45a24f);}if(_0x3c446a instanceof _0x50ff83){const _0x5892e7=_0x4b9963[_0x124c1b(0x283)](_0x3c446a[_0x124c1b(0x2da)][_0x124c1b(0x266)]);_0x19d19f[_0x13b76f]=this[_0x124c1b(0x247)](_0x3c446a,_0x5892e7);}_0x124c1b(0x2da)===_0x13b76f&&(_0x19d19f[_0x124c1b(0x2da)]=_0x4b9963[_0x124c1b(0x283)](_0x19d19f[_0x124c1b(0x2da)][_0x124c1b(0x266)]));}}[_0x3c7c25(0x247)](_0x3903dc,_0x3e97f3){const _0xcf7073=_0x3c7c25;return this[_0xcf7073(0x21f)][_0xcf7073(0x273)][_0xcf7073(0x259)](this[_0xcf7073(0x2e7)](_0x3903dc[_0xcf7073(0x1fe)],_0x3e97f3),this[_0xcf7073(0x2e7)](_0x3903dc[_0xcf7073(0x2e9)],_0x3e97f3));}[_0x3c7c25(0x2e7)](_0x286c24,_0x5ac4ea){const _0x59e2a9=_0x3c7c25;return this[_0x59e2a9(0x21f)][_0x59e2a9(0x273)][_0x59e2a9(0x1df)](_0x5ac4ea,_0x286c24[_0x59e2a9(0x301)],_0x286c24[_0x59e2a9(0x227)]);}[_0x3c7c25(0x265)](_0x26e7bc){const _0x488846=_0x3c7c25,_0x3d7d5c=this[_0x488846(0x279)][_0x488846(0x283)](_0x26e7bc[_0x488846(0x291)][_0x488846(0x2da)][_0x488846(0x266)]),_0x49045b=this[_0x488846(0x2e7)](_0x26e7bc[_0x488846(0x291)],_0x3d7d5c),_0x5e805f=null===_0x26e7bc[_0x488846(0x24e)]?null:_0x26e7bc[_0x488846(0x24e)]||this[_0x488846(0x21f)][_0x488846(0x235)][_0x488846(0x283)](_0x488846(0x2c9))['me']['id'],_0x26411c=_0x49045b[_0x488846(0x290)],_0x5c6261=this[_0x488846(0x28c)],_0x1321a9=[];for(const _0x371377 of _0x26e7bc[_0x488846(0x1e4)])if(_0x371377['is'](_0x488846(0x2ab)))_0x1321a9[_0x488846(0x2af)](this[_0x488846(0x276)](_0x371377));else{for(let _0x4dca79=0x0;_0x4dca79<_0x371377[_0x488846(0x202)];_0x4dca79++)_0x1321a9[_0x488846(0x2af)](new _0x5176f8(_0x488846(0x226),{'vid':this[_0x488846(0x28c)]++}));}const _0x176ecd=this[_0x488846(0x28c)];for(let _0x56ad39=_0x5c6261;_0x56ad39<_0x176ecd;_0x56ad39++)this[_0x488846(0x2a4)][_0x488846(0x2a9)](_0x56ad39,{'userId':_0x5e805f});_0x26411c[_0x488846(0x2ae)](_0x49045b[_0x488846(0x2ec)],_0x1321a9);}[_0x3c7c25(0x2f0)](_0x43a775){const _0x212e4a=_0x3c7c25;(_0x43a775=this[_0x212e4a(0x2f2)](_0x43a775,this[_0x212e4a(0x279)]))[_0x212e4a(0x2d4)]();const _0x473e68=null===_0x43a775[_0x212e4a(0x24e)]?null:_0x43a775[_0x212e4a(0x24e)]||this[_0x212e4a(0x21f)][_0x212e4a(0x235)][_0x212e4a(0x283)](_0x212e4a(0x2c9))['me']['id'],_0x249656=_0x43a775[_0x212e4a(0x2aa)](),_0x2c18eb=_0x249656[_0x212e4a(0x290)],_0x5441e2=_0x249656[_0x212e4a(0x2ec)];!function _0x45517a(_0x1e4a14,_0x24ca37,_0x117799,_0x1b8201){const _0x205729=_0x212e4a;for(let _0x282657=_0x117799;_0x282657<_0x1b8201;_0x282657++){const _0x573050=_0x24ca37[_0x205729(0x2d3)](_0x282657);_0x573050['is'](_0x205729(0x2ab),_0x205729(0x226))?_0x1e4a14[_0x205729(0x2a9)](_0x573050[_0x205729(0x1f7)](_0x205729(0x2eb)),{'userId':_0x473e68}):(_0x1e4a14[_0x205729(0x2a9)](_0x573050[_0x205729(0x1f7)](_0x205729(0x2ad)),{'userId':_0x473e68}),_0x45517a(_0x1e4a14,_0x573050,0x0,_0x573050[_0x205729(0x295)]),_0x1e4a14[_0x205729(0x2a9)](_0x573050[_0x205729(0x1f7)](_0x205729(0x210)),{'userId':_0x473e68}));}}(this[_0x212e4a(0x2a4)],_0x2c18eb,_0x5441e2,_0x5441e2+_0x43a775[_0x212e4a(0x274)]);}[_0x3c7c25(0x2ea)](_0x5e5188){const _0xd0022a=_0x3c7c25,_0x4ae3bd=null===(_0x5e5188=this[_0xd0022a(0x2f2)](_0x5e5188,this[_0xd0022a(0x279)]))[_0xd0022a(0x24e)]?null:_0x5e5188[_0xd0022a(0x24e)]||this[_0xd0022a(0x21f)][_0xd0022a(0x235)][_0xd0022a(0x283)](_0xd0022a(0x2c9))['me']['id'],_0x233fa9=_0x5e5188[_0xd0022a(0x2c4)][_0xd0022a(0x290)],_0x58e9c7=_0x5e5188[_0xd0022a(0x23b)][_0xd0022a(0x290)],_0x1bd201=_0x233fa9[_0xd0022a(0x1f7)](_0xd0022a(0x210)),_0x3248a4=_0x58e9c7[_0xd0022a(0x1f7)](_0xd0022a(0x2ad));_0x233fa9[_0xd0022a(0x1cd)](_0xd0022a(0x210),_0x58e9c7[_0xd0022a(0x1f7)](_0xd0022a(0x210))),_0x58e9c7[_0xd0022a(0x1cd)](_0xd0022a(0x210),_0x1bd201),this[_0xd0022a(0x2a4)][_0xd0022a(0x2a9)](_0x3248a4,{'userId':_0x4ae3bd}),this[_0xd0022a(0x2a4)][_0xd0022a(0x2a9)](_0x1bd201,{'userId':_0x4ae3bd}),_0x5e5188[_0xd0022a(0x2d4)]();}[_0x3c7c25(0x24c)](_0x57492f){const _0x4b3cad=_0x3c7c25,_0x3d3b11=null===(_0x57492f=this[_0x4b3cad(0x2f2)](_0x57492f,this[_0x4b3cad(0x279)]))[_0x4b3cad(0x24e)]?null:_0x57492f[_0x4b3cad(0x24e)]||this[_0x4b3cad(0x21f)][_0x4b3cad(0x235)][_0x4b3cad(0x283)](_0x4b3cad(0x2c9))['me']['id'],_0x2a1949=_0x57492f[_0x4b3cad(0x2fb)],_0x171eb6=_0x57492f[_0x4b3cad(0x2b3)][_0x4b3cad(0x290)];_0x57492f[_0x4b3cad(0x2d4)]();const _0x134977=_0x171eb6[_0x4b3cad(0x1f7)](_0x4b3cad(0x210)),_0xb48497=_0x57492f[_0x4b3cad(0x2e4)][_0x4b3cad(0x1e5)];if(_0x2a1949){const _0x15a7e3=_0xb48497[_0x4b3cad(0x1f7)](_0x4b3cad(0x210)),_0x4c7545=_0x171eb6[_0x4b3cad(0x1f7)](_0x4b3cad(0x210));_0x171eb6[_0x4b3cad(0x1cd)](_0x4b3cad(0x210),_0x15a7e3),_0xb48497[_0x4b3cad(0x1cd)](_0x4b3cad(0x210),_0x4c7545),this[_0x4b3cad(0x2a4)][_0x4b3cad(0x2a9)](_0x171eb6[_0x4b3cad(0x1f7)](_0x4b3cad(0x210)),{'userId':_0x3d3b11}),this[_0x4b3cad(0x2a4)][_0x4b3cad(0x2a9)](_0xb48497[_0x4b3cad(0x1f7)](_0x4b3cad(0x2ad)),{'userId':_0x3d3b11});}else{const _0x1cc077=this[_0x4b3cad(0x28c)]++,_0x17e8cf=this[_0x4b3cad(0x28c)]++;_0x171eb6[_0x4b3cad(0x1cd)](_0x4b3cad(0x210),_0x1cc077),_0xb48497[_0x4b3cad(0x1cd)](_0x4b3cad(0x2ad),_0x17e8cf),_0xb48497[_0x4b3cad(0x1cd)](_0x4b3cad(0x210),_0x134977),this[_0x4b3cad(0x2a4)][_0x4b3cad(0x2a9)](_0x1cc077,{'userId':_0x3d3b11}),this[_0x4b3cad(0x2a4)][_0x4b3cad(0x2a9)](_0x17e8cf,{'userId':_0x3d3b11});}}[_0x3c7c25(0x243)](_0x430c16){const _0x43c8f2=_0x3c7c25;if(!_0x430c16[_0x43c8f2(0x242)])return;const _0x4eeb7f=(_0x430c16=this[_0x43c8f2(0x2f2)](_0x430c16,this[_0x43c8f2(0x29a)]))[_0x43c8f2(0x1eb)]?_0x430c16[_0x43c8f2(0x1eb)][_0x43c8f2(0x2da)]:null,_0x2fc715=_0x430c16[_0x43c8f2(0x20d)]?_0x430c16[_0x43c8f2(0x20d)][_0x43c8f2(0x2da)]:null;_0x4eeb7f&&this[_0x43c8f2(0x2b7)][_0x43c8f2(0x1ef)](_0x430c16[_0x43c8f2(0x20a)]),_0x2fc715&&this[_0x43c8f2(0x2b7)][_0x43c8f2(0x2a9)](_0x430c16[_0x43c8f2(0x20a)],_0x430c16[_0x43c8f2(0x20d)][_0x43c8f2(0x252)]());const _0x2cae58=null===_0x430c16[_0x43c8f2(0x24e)]?null:_0x430c16[_0x43c8f2(0x24e)]||this[_0x43c8f2(0x21f)][_0x43c8f2(0x235)][_0x43c8f2(0x283)](_0x43c8f2(0x2c9))['me']['id'],_0x523a1a=_0x430c16[_0x43c8f2(0x20a)];if(!this[_0x43c8f2(0x2c7)][_0x43c8f2(0x282)](_0x523a1a))return void this[_0x43c8f2(0x2c7)][_0x43c8f2(0x2a9)](_0x523a1a,{'range':_0x430c16[_0x43c8f2(0x1eb)],'userId':_0x2cae58});const _0x15df04=this[_0x43c8f2(0x2c7)][_0x43c8f2(0x283)](_0x523a1a),_0x4330c3=_0x15df04[_0x43c8f2(0x286)],_0x12cb46=_0x430c16[_0x43c8f2(0x20d)];null==_0x4330c3&&null==_0x12cb46||_0x4330c3&&_0x12cb46&&_0x4330c3[_0x43c8f2(0x234)](_0x12cb46)?this[_0x43c8f2(0x2c7)][_0x43c8f2(0x1ef)](_0x430c16[_0x43c8f2(0x20a)]):_0x15df04[_0x43c8f2(0x21e)]=_0x2cae58;}[_0x3c7c25(0x303)](_0x16e63d,_0x149213){const _0x42efbf=_0x3c7c25;this[_0x42efbf(0x29a)][_0x42efbf(0x282)](_0x16e63d[_0x42efbf(0x266)])?this[_0x42efbf(0x29a)][_0x42efbf(0x283)](_0x16e63d[_0x42efbf(0x266)])[_0x42efbf(0x1db)]=_0x16e63d[_0x42efbf(0x1e3)]:(this[_0x42efbf(0x29a)][_0x42efbf(0x2a9)](_0x16e63d[_0x42efbf(0x266)],F(_0x16e63d[_0x42efbf(0x266)],!0x0)),this[_0x42efbf(0x249)][_0x42efbf(0x2a9)](_0x16e63d[_0x42efbf(0x266)],{}),_0x149213&&this[_0x42efbf(0x279)][_0x42efbf(0x2a9)](_0x16e63d[_0x42efbf(0x266)],F(_0x16e63d[_0x42efbf(0x266)],!0x0)));const _0x532df9=null===_0x16e63d[_0x42efbf(0x24e)]?null:_0x16e63d[_0x42efbf(0x24e)]||this[_0x42efbf(0x21f)][_0x42efbf(0x235)][_0x42efbf(0x283)](_0x42efbf(0x2c9))['me']['id'],_0x5e0339=this[_0x42efbf(0x2ff)][_0x42efbf(0x283)](_0x16e63d[_0x42efbf(0x266)]);_0x5e0339&&_0x5e0339[_0x42efbf(0x21e)]===_0x532df9?this[_0x42efbf(0x2ff)][_0x42efbf(0x1ef)](_0x16e63d[_0x42efbf(0x266)]):this[_0x42efbf(0x2ff)][_0x42efbf(0x2a9)](_0x16e63d[_0x42efbf(0x266)],{'userId':_0x532df9,'isAttached':_0x16e63d[_0x42efbf(0x1e3)]});}[_0x3c7c25(0x230)](_0x171e87){const _0x5a7b59=_0x3c7c25,_0x342b92=this[_0x5a7b59(0x249)][_0x5a7b59(0x283)](_0x171e87[_0x5a7b59(0x2da)][_0x5a7b59(0x266)]);null===_0x171e87[_0x5a7b59(0x2a6)]?delete _0x342b92[_0x171e87[_0x5a7b59(0x228)]]:_0x342b92[_0x171e87[_0x5a7b59(0x228)]]=_0x171e87[_0x5a7b59(0x2a6)];}}function T(_0x2c4488){const _0x3f5c9b=_0x3c7c25,_0x15a1eb=F(_0x2c4488[_0x3f5c9b(0x266)],_0x2c4488[_0x3f5c9b(0x280)]());for(const _0x4ed9ce of _0x2c4488[_0x3f5c9b(0x201)]()){const _0x351b92=_0x4ed9ce[_0x3f5c9b(0x2cd)](!0x0);_0x15a1eb[_0x3f5c9b(0x2a1)](_0x351b92);}return _0x15a1eb;}function F(_0x1aeacf,_0x169dab=!0x0){const _0xe40662=_0x3c7c25,_0x389ac1=new _0x1226b();return _0x389ac1[_0xe40662(0x266)]=_0x1aeacf,_0x389ac1[_0xe40662(0x1db)]=_0x169dab,_0x389ac1[_0xe40662(0x280)]=()=>_0x389ac1[_0xe40662(0x1db)],_0x389ac1;}function B(_0x52807e,_0xe327a,_0x2b7479){const _0x5c6df4=_0x3c7c25,_0x8b8f3=_0x5c6df4(0x1cf)==_0x52807e[_0x5c6df4(0x21d)]?_0x2b7479[_0x5c6df4(0x251)](_0x52807e[_0x5c6df4(0x29c)],_0x5c6df4(0x2e9)):_0x2b7479[_0x5c6df4(0x1c5)](_0x52807e[_0x5c6df4(0x29c)]);return _0x2b7479[_0x5c6df4(0x1df)](_0xe327a,_0x8b8f3[_0x5c6df4(0x301)],_0x8b8f3[_0x5c6df4(0x227)]);}function J(_0x24d0ad,_0x29c7d3,_0xc985e9){const _0x30051a=_0x3c7c25,_0x2b6113=_0x30051a(0x1fd)==_0x24d0ad[_0x30051a(0x21d)]?_0xc985e9[_0x30051a(0x251)](_0x24d0ad[_0x30051a(0x29c)],0x0):_0xc985e9[_0x30051a(0x221)](_0x24d0ad[_0x30051a(0x29c)]);return _0xc985e9[_0x30051a(0x1df)](_0x29c7d3,_0x2b6113[_0x30051a(0x301)],_0x2b6113[_0x30051a(0x227)]);}
|
|
23
|
+
const _0x57f00b=_0x4419;function _0x4419(_0x58f7ad,_0x4564c3){const _0x54ee84=_0x54ee();return _0x4419=function(_0x4419e2,_0x8fa636){_0x4419e2=_0x4419e2-0x1e4;let _0x1d4425=_0x54ee84[_0x4419e2];return _0x1d4425;},_0x4419(_0x58f7ad,_0x4564c3);}(function(_0x336567,_0x47f6ee){const _0x4a6dd7=_0x4419,_0xbfd8ea=_0x336567();while(!![]){try{const _0x4cd138=-parseInt(_0x4a6dd7(0x264))/0x1+-parseInt(_0x4a6dd7(0x260))/0x2+-parseInt(_0x4a6dd7(0x22b))/0x3+parseInt(_0x4a6dd7(0x2e8))/0x4+-parseInt(_0x4a6dd7(0x2ca))/0x5+-parseInt(_0x4a6dd7(0x2bb))/0x6+parseInt(_0x4a6dd7(0x29d))/0x7;if(_0x4cd138===_0x47f6ee)break;else _0xbfd8ea['push'](_0xbfd8ea['shift']());}catch(_0x59d45e){_0xbfd8ea['push'](_0xbfd8ea['shift']());}}}(_0x54ee,0x74ee5));import{Users as _0x4678ed}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x306757,PendingActions as _0x2ba206}from'ckeditor5/src/core.js';import{logWarning as _0x18f32,uid as _0x2b49ee}from'ckeditor5/src/utils.js';import{Position as _0x2f85e9,Range as _0x5ecce6,Element as _0x56e470,DocumentFragment as _0x76dbdf}from'ckeditor5/src/engine.js';import _0xd8a8d2 from'./revisionsrepository.js';function _0x54ee(){const _0x590610=['_handleInsertOperation','type','getAttributes','repository','graveyardPosition','_calculateMetaData','getOperation','name','getRange','_lastFrom','createRangeIn','_findInsertionIndex','saveRevision','getRevisionRootsAttributes','getRevisionDocumentData','end','reInit','featureNotAllowed','stickiness','revision','getIndex','_getPreviousFrom','locale','getChildren','createPositionBefore','isReady','newValue','getWalker','upcast','Initial\x20revision','_appendChild','getUser','domDocument','vid_start','getData','init','_revisionDataBuilder','updateRevisions','_getFromVersion','PendingActions','_createCurrentRevision','_setConversion','_baseRootsAttributes','_getVidAttributeName','move','_startingRevisionId','source','map','then','data','_execute','customProperties','split','resolve','requires','creatorId','reverse','nodes','evaluationLimit','childCount','$comment','hasContent','conversion','_touchedMarkers','loadRevisionData','Empty\x20document','startsWith','_getState','rawElement','outerHTML','htmlProcessor','has','_replaceEditorDataWithRevisionData','start','revisionHistoryLicenseKeyNotAllowed','size','insertion','children','getMovedRangeStart','revision:','761634NkMhkS','_source','RealTimeCollaborationClient','initial','$text','PENDING_ACTION_REVISION_HISTORY','buildRevisionData','from','keepParagraph','_createInitialRevision','createPositionAt','_loadState','_handleMoveOperation','_makeIdsRoot','insert','history','_markers','isAdd','_touchedRoots','filter','_handleRootAttributeOperation','currentRevision','getCustomProperties','_continueCurrentRevision','rootsAttributes','attributesAfter','_getTypeCharForViewElement','markers','getTime','invalid','fromVersion','trim','paragraph','_diffRootsAttributes','revisionHistoryLicenseKeyDomainLimit','ready','affectsData','_licenseKeyCheckInterval','_fixRange','stringify','document','merge','isEqual','add','_baseIdsRoots','userId','_authorId','revisionHistoryLicenseKeyInvalid','_applyOperations','licenseKey','rootName','documentFragment','fillerOffset','784546gsjizS','clear','plugins','getTransformedByOperation','558669SYhtIH','newRange','revisionHistoryLicenseKeyEvaluationLimit','_cloneOperation','addRevision','getNodeByPath','authors','getChild','position','_isPendingUpdate','usageLimit','deletions','_idsRoots','RevisionHistory','afterInit','_markChanges','initialData','insertions','adapter','config','_startingVersion','_isInit','_saveMetaData','_pendingAction','marker','revisionHistoryLicenseKeyValid','dataToMarker','addRootAttribute','isPremiumPlugin','_update','RevisionTracker','targetPosition','_bufferUpdate','_removePendingAction','text','creator','getRootNames','render','createElement','getFillerOffset','_initialRevisionId','pluginName','_isAttached','roots','splitPosition','destroy','_touched','_revisionId','editor','oldRange','baseVersion','sourcePosition','string','bind','attachChange','expired','loadState','8953875bzWMPW','authorsIds','Users','for','path','revisionHistoryLicenseKeyUsageLimit','isAttached','_handleRootOperation','values','getLatestVersion','isEnabled','update','_processRootBeforeSave','_transformMarkers','_makeModelFromViewString','vid','addRevisionData','_savedMetaData','domainLimit','removeRootAttribute','getAttribute','changeRootAttribute','createRange','createdAt','find','uiElement','slice','_diffRoots','offsetSize','shift','2358408YaXGFx','tableCell','range','toView','attributesBefore','offset','push','key','item','sort','getRoot','collaboration.channelId','_fixPosition','trialLimit','setRevisionData','8630JXNCYl','getRevision','reinsert','RevisionHistoryUtils','toVersion','_lastTo','revisionHistoryLicenseKeyTrialLimit','finally','innerHTML','_baseRoots','length','previousPosition','_handleMarkerOperation','_handleMergeOperation','diffData','_generateTape','get','_handleSplitOperation','model','getCurrentRevisionId','createPositionFromPath','vid_end','_getViewJson','_setAttribute','keys','_addPendingAction','some','domConverter','insertionPosition','_prepareViewToSave','3197752jrSGuX','editor-initial-data-replaced-with-revision-data','_insertChild','setSource','getOperations','includes','_createFromRanges','_makeRevision','remove','createRevision','deletion','detachRoot','revisionHistoryLicenseKeyExpired','root','version','$graveyard','_loadedStateData','clone','fromEntries','revisionHistory.resumeUnsavedRevision','getRevisions','element','sendBufferedUpdates','_copyMarkers','RevisionsRepository','NEGATIVE_INFINITY','createPositionAfter','isOfficialPlugin','_handleOperation','addRoot','dataDowncast','elementStart','elementEnd','max','getAncestors','set','_utils','_bufferedUpdates','nodeAfter','howMany','_removeMetaData','_getBaseVids','parent','_operations','_fixOperation','define','_showLicenseError','_clone','markerToData','delete','_reset'];_0x54ee=function(){return _0x590610;};return _0x54ee();}import _0x52c28e from'./revisionhistoryutils.js';import{getTranslation as _0x481c36}from'./utils/common-translations.js';import{cloneDeep as _0x43cf13,isEqual as _0x48a7b5}from'es-toolkit/compat';export default class u extends _0x306757{[_0x57f00b(0x25c)];[_0x57f00b(0x250)];[_0x57f00b(0x240)]=null;[_0x57f00b(0x31e)];[_0x57f00b(0x276)]=null;[_0x57f00b(0x1ff)];[_0x57f00b(0x22c)];[_0x57f00b(0x28c)];[_0x57f00b(0x30d)];[_0x57f00b(0x30c)];[_0x57f00b(0x27b)];[_0x57f00b(0x242)];[_0x57f00b(0x278)];[_0x57f00b(0x2f8)];static get[_0x57f00b(0x28d)](){const _0x22de95=_0x57f00b;return _0x22de95(0x282);}static get[_0x57f00b(0x303)](){return!0x0;}static get[_0x57f00b(0x280)](){return!0x0;}static get[_0x57f00b(0x211)](){return[_0x4678ed,_0xd8a8d2,_0x52c28e,_0x2ba206];}constructor(_0x3b1bf4){const _0x3fc666=_0x57f00b;super(_0x3b1bf4),this[_0x3fc666(0x31e)]=this[_0x3fc666(0x294)][_0x3fc666(0x262)][_0x3fc666(0x2da)](_0x3fc666(0x300)),this[_0x3fc666(0x30c)]=this[_0x3fc666(0x294)][_0x3fc666(0x262)][_0x3fc666(0x2da)](_0x3fc666(0x2cd)),this[_0x3fc666(0x1ff)]=new x(this[_0x3fc666(0x294)]),this[_0x3fc666(0x28c)]=this[_0x3fc666(0x294)][_0x3fc666(0x277)][_0x3fc666(0x2da)](_0x3fc666(0x2c6))||_0x3fc666(0x22e),this[_0x3fc666(0x30d)]=new Map(),this[_0x3fc666(0x2f8)]=null;const _0x151c15=_0x2b49ee();this[_0x3fc666(0x22c)]={'history':this[_0x3fc666(0x294)][_0x3fc666(0x2dc)][_0x3fc666(0x253)][_0x3fc666(0x23a)],'getLatestVersion':()=>Promise[_0x3fc666(0x210)](this[_0x3fc666(0x294)][_0x3fc666(0x2dc)][_0x3fc666(0x253)][_0x3fc666(0x2f6)]),'getCurrentRevisionId':()=>_0x151c15},this[_0x3fc666(0x30b)](_0x3fc666(0x1f4),!0x1),this[_0x3fc666(0x30b)](_0x3fc666(0x2a7),!0x0),this[_0x3fc666(0x30b)](_0x3fc666(0x26d),!0x1),this[_0x3fc666(0x294)][_0x3fc666(0x277)][_0x3fc666(0x315)](_0x3fc666(0x2fb),!0x0),this[_0x3fc666(0x294)][_0x3fc666(0x219)][_0x3fc666(0x2a0)](_0x3fc666(0x1f7))[_0x3fc666(0x27e)]({'view':_0x3fc666(0x1ee)});}[_0x57f00b(0x1fe)](){const _0x3f1a81=_0x57f00b;this[_0x3f1a81(0x204)](),this[_0x3f1a81(0x294)][_0x3f1a81(0x20c)]['on'](_0x3f1a81(0x24e),()=>{const _0x134a8d=_0x3f1a81,_0x226a16=this[_0x134a8d(0x31e)][_0x134a8d(0x2cb)](0x0),_0x365825=_0x226a16&&null===_0x226a16[_0x134a8d(0x287)]?_0x226a16:null;if(this[_0x134a8d(0x242)]=!!_0x365825&&this[_0x134a8d(0x294)][_0x134a8d(0x277)][_0x134a8d(0x2da)](_0x134a8d(0x2fb)),this[_0x134a8d(0x294)][_0x134a8d(0x262)][_0x134a8d(0x222)](_0x134a8d(0x22d))){const _0x428ae3=this[_0x134a8d(0x22c)][_0x134a8d(0x2dd)](),_0x1a53ac=this[_0x134a8d(0x31e)][_0x134a8d(0x2cb)](_0x428ae3);if(_0x1a53ac)this[_0x134a8d(0x278)]=_0x1a53ac[_0x134a8d(0x249)],this[_0x134a8d(0x242)]=!0x1;else{const _0x42c2e7=this[_0x134a8d(0x22c)][_0x134a8d(0x23a)][_0x134a8d(0x313)][_0x134a8d(0x2b5)](_0x26fded=>!_0x26fded[_0x134a8d(0x279)]),_0x28d2c1=_0x42c2e7?_0x42c2e7[_0x134a8d(0x296)]:this[_0x134a8d(0x22c)][_0x134a8d(0x23a)][_0x134a8d(0x2f6)];_0x226a16?(_0x226a16[_0x134a8d(0x2ce)]<_0x28d2c1&&_0x226a16[_0x134a8d(0x281)]({'toVersion':_0x28d2c1}),this[_0x134a8d(0x242)]?(this[_0x134a8d(0x22c)][_0x134a8d(0x2dd)]=()=>_0x365825['id'],this[_0x134a8d(0x278)]=_0x365825[_0x134a8d(0x249)]):(this[_0x134a8d(0x278)]=_0x226a16[_0x134a8d(0x2ce)],this[_0x134a8d(0x242)]=!0x1)):(this[_0x134a8d(0x278)]=_0x28d2c1,this[_0x134a8d(0x242)]=!0x1);}}else _0x365825&&(this[_0x134a8d(0x294)][_0x134a8d(0x2dc)][_0x134a8d(0x253)][_0x134a8d(0x23a)][_0x134a8d(0x2f6)]=Math[_0x134a8d(0x309)](_0x365825[_0x134a8d(0x2ce)],this[_0x134a8d(0x294)][_0x134a8d(0x2dc)][_0x134a8d(0x253)][_0x134a8d(0x23a)][_0x134a8d(0x2f6)]),_0x365825[_0x134a8d(0x249)]===_0x365825[_0x134a8d(0x2ce)]?(0x0!==_0x365825[_0x134a8d(0x249)]&&(this[_0x134a8d(0x22c)][_0x134a8d(0x2dd)]=()=>_0x365825['id']),this[_0x134a8d(0x242)]=!0x1):this[_0x134a8d(0x242)]&&(this[_0x134a8d(0x22c)][_0x134a8d(0x2dd)]=()=>_0x365825['id'],this[_0x134a8d(0x278)]=_0x365825[_0x134a8d(0x249)])),this[_0x134a8d(0x242)]||(this[_0x134a8d(0x278)]=this[_0x134a8d(0x294)][_0x134a8d(0x2dc)][_0x134a8d(0x253)][_0x134a8d(0x2f6)]);this[_0x134a8d(0x1ff)][_0x134a8d(0x1fe)](this[_0x134a8d(0x22c)][_0x134a8d(0x23a)]),this[_0x134a8d(0x234)](this[_0x134a8d(0x278)]),this[_0x134a8d(0x203)](this[_0x134a8d(0x278)]),this[_0x134a8d(0x276)]&&this[_0x134a8d(0x2fe)]();}),this[_0x3f1a81(0x299)](_0x3f1a81(0x1f4))['to'](this,_0x3f1a81(0x26d),_0x484279=>!_0x484279),this[_0x3f1a81(0x25c)]=this[_0x3f1a81(0x294)][_0x3f1a81(0x277)][_0x3f1a81(0x2da)](_0x3f1a81(0x25c));const _0x1c0ac8=this[_0x3f1a81(0x294)];this[_0x3f1a81(0x250)]=setInterval(()=>{const _0x4ef505=_0x3f1a81;let _0x4654d8;for(const _0x20228a in _0x1c0ac8){const _0x9aa9a5=_0x20228a,_0x351db9=_0x1c0ac8[_0x9aa9a5];if(_0x4ef505(0x27d)==_0x351db9||_0x4ef505(0x25a)==_0x351db9||_0x4ef505(0x2f4)==_0x351db9||_0x4ef505(0x24d)==_0x351db9||_0x4ef505(0x225)==_0x351db9||_0x4ef505(0x266)==_0x351db9||_0x4ef505(0x2d0)==_0x351db9||_0x4ef505(0x2a2)==_0x351db9){delete _0x1c0ac8[_0x9aa9a5],_0x4654d8=_0x351db9,clearInterval(this[_0x4ef505(0x250)]),this[_0x4ef505(0x250)]=void 0x0;break;}}_0x4ef505(0x25a)==_0x4654d8&&_0x1c0ac8[_0x4ef505(0x316)](_0x4ef505(0x248)),_0x4ef505(0x2f4)==_0x4654d8&&_0x1c0ac8[_0x4ef505(0x316)](_0x4ef505(0x29b)),_0x4ef505(0x24d)==_0x4654d8&&_0x1c0ac8[_0x4ef505(0x316)](_0x4ef505(0x2af)),_0x4ef505(0x225)==_0x4654d8&&_0x1c0ac8[_0x4ef505(0x316)](_0x4ef505(0x1ec),_0x4ef505(0x271)),_0x4ef505(0x266)==_0x4654d8&&_0x1c0ac8[_0x4ef505(0x316)](_0x4ef505(0x215)),_0x4ef505(0x2d0)==_0x4654d8&&_0x1c0ac8[_0x4ef505(0x316)](_0x4ef505(0x2c8)),_0x4ef505(0x2a2)==_0x4654d8&&_0x1c0ac8[_0x4ef505(0x316)](_0x4ef505(0x26e));},0x3e8);}async[_0x57f00b(0x272)](){const _0x3d3eac=_0x57f00b;if(this[_0x3d3eac(0x31e)][_0x3d3eac(0x2d4)]>0x0){const _0x485ed6=this[_0x3d3eac(0x31e)][_0x3d3eac(0x2cb)](0x0),_0x24d5b6=await this[_0x3d3eac(0x1e9)](_0x485ed6),_0x1129e7=await this[_0x3d3eac(0x1e8)](_0x485ed6);this[_0x3d3eac(0x223)](_0x24d5b6,_0x1129e7);}}[_0x57f00b(0x291)](){const _0x5e4c7c=_0x57f00b;super[_0x5e4c7c(0x291)](),this[_0x5e4c7c(0x250)]&&clearInterval(this[_0x5e4c7c(0x250)]);}[_0x57f00b(0x2eb)](_0x31b1c){const _0x1e583d=_0x57f00b;this[_0x1e583d(0x22c)]=_0x31b1c;}async[_0x57f00b(0x2a8)](){const _0x2107b0=_0x57f00b,_0x500bea=await this[_0x2107b0(0x22c)][_0x2107b0(0x2a6)]();if(_0x500bea>this[_0x2107b0(0x240)][_0x2107b0(0x2ce)]){await this[_0x2107b0(0x236)]();const _0x2f3fbf=this[_0x2107b0(0x231)]({'revision':this[_0x2107b0(0x240)],'to':_0x500bea});_0x2f3fbf[_0x2107b0(0x26a)]=_0x2f3fbf[_0x2107b0(0x29e)][_0x2107b0(0x20a)](_0x4c42d2=>this[_0x2107b0(0x294)][_0x2107b0(0x262)][_0x2107b0(0x2da)](_0x2107b0(0x29f))[_0x2107b0(0x1fa)](_0x4c42d2)),this[_0x2107b0(0x240)][_0x2107b0(0x281)](_0x2f3fbf);}}async[_0x57f00b(0x1e7)](_0x426f44={},_0x37e58e=null){const _0x4169fe=_0x57f00b,_0x4944d8=[];await this[_0x4169fe(0x236)](),this[_0x4169fe(0x242)]=!0x1,_0x37e58e>this[_0x4169fe(0x240)][_0x4169fe(0x2ce)]&&(_0x37e58e=null),null===_0x37e58e&&(_0x37e58e=await this[_0x4169fe(0x22c)][_0x4169fe(0x2a6)]());const _0x4d34b1=this[_0x4169fe(0x201)](_0x37e58e),_0x10acf8=this[_0x4169fe(0x231)]({'from':_0x4d34b1,'to':_0x37e58e});if(this[_0x4169fe(0x240)][_0x4169fe(0x2ce)]<_0x37e58e){const _0x2d6805=this[_0x4169fe(0x231)]({'revision':this[_0x4169fe(0x240)],'from':_0x37e58e,'to':_0x37e58e});_0x2d6805[_0x4169fe(0x26a)]=[],_0x2d6805[_0x4169fe(0x29e)]=[],_0x2d6805['id']=this[_0x4169fe(0x240)]['id'],this[_0x4169fe(0x240)][_0x4169fe(0x281)](_0x2d6805,!0x0),delete _0x2d6805[_0x4169fe(0x26a)],_0x4944d8[_0x4169fe(0x2c1)](_0x2d6805);}_0x426f44[_0x4169fe(0x212)]=this[_0x4169fe(0x294)][_0x4169fe(0x262)][_0x4169fe(0x2da)](_0x4169fe(0x29f))['me']['id'],_0x426f44[_0x4169fe(0x322)]=_0x426f44[_0x4169fe(0x322)]||null,_0x426f44['id']=_0x426f44['id']||_0x2b49ee(),_0x426f44={..._0x426f44,..._0x10acf8};const _0x3ff473=this[_0x4169fe(0x2ad)](_0x426f44);_0x4944d8[_0x4169fe(0x2c1)](_0x426f44);const _0x369691=this[_0x4169fe(0x31e)][_0x4169fe(0x1ef)](_0x3ff473);if(0x0!==_0x369691){const _0x49cf69=this[_0x4169fe(0x31e)][_0x4169fe(0x2cb)](_0x369691-0x1);if(_0x49cf69[_0x4169fe(0x249)]!==_0x37e58e){const _0x178d01=this[_0x4169fe(0x1ff)][_0x4169fe(0x1fd)](_0x37e58e,_0x49cf69[_0x4169fe(0x2ce)]),_0x43121a={'id':_0x49cf69['id'],'diffData':_0x178d01[_0x4169fe(0x2d8)],'authorsIds':_0x178d01[_0x4169fe(0x29e)],'authors':_0x178d01[_0x4169fe(0x29e)][_0x4169fe(0x20a)](_0x49a374=>this[_0x4169fe(0x294)][_0x4169fe(0x262)][_0x4169fe(0x2da)](_0x4169fe(0x29f))[_0x4169fe(0x1fa)](_0x49a374)),'fromVersion':_0x37e58e};_0x49cf69===this[_0x4169fe(0x240)]&&(_0x43121a[_0x4169fe(0x2b4)]=new Date(_0x426f44[_0x4169fe(0x2b4)][_0x4169fe(0x247)]()+0xa)),_0x49cf69[_0x4169fe(0x281)](_0x43121a,!0x0),delete _0x43121a[_0x4169fe(0x26a)],_0x4944d8[_0x4169fe(0x2c1)](_0x43121a);}}if(this[_0x4169fe(0x276)]){for(const _0x3b23b5 of _0x4944d8)this[_0x4169fe(0x284)](_0x3b23b5['id'],_0x3b23b5,!0x0);this[_0x4169fe(0x2fe)]();}return _0x3ff473;}[_0x57f00b(0x2ad)](_0x5c9ebb){const _0x1e99c0=_0x57f00b,_0x3f9431=this[_0x1e99c0(0x31e)][_0x1e99c0(0x2f1)](_0x5c9ebb);return this[_0x1e99c0(0x276)]&&_0x3f9431['on'](_0x1e99c0(0x281),(_0x55b41c,_0x295836,_0x484a6f)=>{const _0x33642d=_0x1e99c0;_0x484a6f||(this[_0x33642d(0x284)](_0x295836['id'],_0x295836,!0x0),this[_0x33642d(0x2fe)]());}),this[_0x1e99c0(0x31e)][_0x1e99c0(0x268)](_0x3f9431,this[_0x1e99c0(0x1e6)](_0x3f9431)),_0x3f9431;}async[_0x57f00b(0x1e9)](_0x270481){const _0x58c0de=_0x57f00b;return await this[_0x58c0de(0x30c)][_0x58c0de(0x21b)](_0x270481,this[_0x58c0de(0x276)]),this[_0x58c0de(0x30c)][_0x58c0de(0x1e9)](_0x270481);}async[_0x57f00b(0x1e8)](_0x134ab4){const _0xf8642c=_0x57f00b;return await this[_0xf8642c(0x30c)][_0xf8642c(0x21b)](_0x134ab4,this[_0xf8642c(0x276)]),this[_0xf8642c(0x30c)][_0xf8642c(0x1e8)](_0x134ab4);}[_0x57f00b(0x2fe)](){const _0x539a8b=_0x57f00b;if(0x0===this[_0x539a8b(0x30d)][_0x539a8b(0x226)])return;if(this[_0x539a8b(0x26d)])return;let _0x3aa28c=Array[_0x539a8b(0x232)](this[_0x539a8b(0x30d)][_0x539a8b(0x2a5)]());this[_0x539a8b(0x30d)][_0x539a8b(0x261)]();for(let _0x583432=0x0;_0x583432<_0x3aa28c[_0x539a8b(0x2d4)];_0x583432++){const _0x1386a3=_0x3aa28c[_0x583432];let _0x4462ac=!0x1;for(const _0x54a382 of Object[_0x539a8b(0x2e2)](_0x1386a3))void 0x0===_0x1386a3[_0x54a382]?delete _0x1386a3[_0x54a382]:'id'!==_0x54a382&&(_0x4462ac=!0x0);_0x4462ac||(_0x3aa28c[_0x583432]=null);}if(_0x3aa28c=_0x3aa28c[_0x539a8b(0x23e)](_0x507d33=>null!==_0x507d33),!_0x3aa28c[_0x539a8b(0x2d4)])return;for(let _0xc75f24=0x0;_0xc75f24<_0x3aa28c[_0x539a8b(0x2d4)];_0xc75f24++){const _0x3bc841=_0x3aa28c[_0xc75f24];void 0x0!==_0x3bc841[_0x539a8b(0x249)]&&void 0x0===_0x3bc841[_0x539a8b(0x2ce)]&&(_0x3bc841[_0x539a8b(0x2ce)]=this[_0x539a8b(0x31e)][_0x539a8b(0x2cb)](_0x3bc841['id'])[_0x539a8b(0x2ce)]),void 0x0!==_0x3bc841[_0x539a8b(0x2ce)]&&void 0x0===_0x3bc841[_0x539a8b(0x249)]&&(_0x3bc841[_0x539a8b(0x249)]=this[_0x539a8b(0x31e)][_0x539a8b(0x2cb)](_0x3bc841['id'])[_0x539a8b(0x249)]);}const _0x2b0d3c=this[_0x539a8b(0x294)][_0x539a8b(0x277)][_0x539a8b(0x2da)](_0x539a8b(0x2c6));this[_0x539a8b(0x26d)]=!0x0,this[_0x539a8b(0x2e3)](),this[_0x539a8b(0x276)][_0x539a8b(0x200)](_0x3aa28c,_0x2b0d3c)[_0x539a8b(0x2d1)](()=>{const _0x33b531=_0x539a8b;this[_0x33b531(0x26d)]=!0x1;})[_0x539a8b(0x20b)](_0x11ccb5=>{const _0x5910e7=_0x539a8b;if(_0x11ccb5){for(const _0x3c75d4 of _0x11ccb5)this[_0x5910e7(0x2c9)]({'id':_0x3c75d4['id'],'createdAt':_0x3c75d4[_0x5910e7(0x2b4)]});}this[_0x5910e7(0x285)](),this[_0x5910e7(0x2fe)]();});}[_0x57f00b(0x231)]({revision:_0x302d65=null,from:_0x56933d=null,to:_0x25d732=null}){const _0x572eee=_0x57f00b;_0x56933d=null!==_0x56933d?_0x56933d:_0x302d65[_0x572eee(0x249)],_0x25d732=null!==_0x25d732?_0x25d732:_0x302d65[_0x572eee(0x2ce)];const _0x323d15=this[_0x572eee(0x1ff)][_0x572eee(0x1fd)](_0x56933d,_0x25d732),_0x4090bf={'diffData':_0x323d15[_0x572eee(0x2d8)],'authorsIds':_0x323d15[_0x572eee(0x29e)],'fromVersion':_0x56933d,'toVersion':_0x25d732};if(!_0x302d65||_0x25d732!==_0x302d65[_0x572eee(0x2ce)]){const _0x33af74=_0x25d732-0x1,_0x12bf47=this[_0x572eee(0x22c)][_0x572eee(0x23a)][_0x572eee(0x321)](_0x33af74);_0x4090bf[_0x572eee(0x2b4)]=_0x12bf47&&_0x12bf47[_0x572eee(0x2b4)]||new Date();}if(this[_0x572eee(0x2f8)]&&_0x56933d===this[_0x572eee(0x2f8)][_0x572eee(0x249)]){for(const _0x39bb79 of this[_0x572eee(0x2f8)][_0x572eee(0x26a)])_0x4090bf[_0x572eee(0x29e)][_0x572eee(0x2ed)](_0x39bb79['id'])||_0x4090bf[_0x572eee(0x29e)][_0x572eee(0x2c1)](_0x39bb79['id']);}return _0x4090bf;}[_0x57f00b(0x284)](_0x2e6d7b,_0x10e7ce,_0x2610c2){const _0x318035=_0x57f00b;if(this[_0x318035(0x30d)][_0x318035(0x222)](_0x2e6d7b)){const _0x548b7c=this[_0x318035(0x30d)][_0x318035(0x2da)](_0x2e6d7b);_0x10e7ce=_0x2610c2?{..._0x548b7c,..._0x10e7ce}:{..._0x10e7ce,..._0x548b7c};}this[_0x318035(0x30d)][_0x318035(0x30b)](_0x2e6d7b,_0x10e7ce);}[_0x57f00b(0x2c9)](_0x1d8626){const _0x2d5cb1=_0x57f00b,_0x3b7be3=this[_0x2d5cb1(0x31e)][_0x2d5cb1(0x2cb)](_0x1d8626['id']);if(_0x1d8626[_0x2d5cb1(0x2b4)]&&(_0x1d8626[_0x2d5cb1(0x2b4)]=new Date(_0x1d8626[_0x2d5cb1(0x2b4)])),_0x1d8626[_0x2d5cb1(0x29e)]){const _0x1b4ec8=this[_0x2d5cb1(0x294)][_0x2d5cb1(0x262)][_0x2d5cb1(0x2da)](_0x2d5cb1(0x29f));_0x1d8626[_0x2d5cb1(0x26a)]=_0x1d8626[_0x2d5cb1(0x29e)][_0x2d5cb1(0x20a)](_0x57e22a=>_0x1b4ec8[_0x2d5cb1(0x1fa)](_0x57e22a));}_0x3b7be3[_0x2d5cb1(0x281)](_0x1d8626,!0x0);}[_0x57f00b(0x234)](_0x3f4494){const _0x235c6e=_0x57f00b,_0x433f62=this[_0x235c6e(0x31e)][_0x235c6e(0x2cb)](this[_0x235c6e(0x31e)][_0x235c6e(0x2d4)]-0x1);if(_0x433f62)this[_0x235c6e(0x28c)]=_0x433f62['id'];else{const _0x19959e=!this[_0x235c6e(0x294)][_0x235c6e(0x2dc)][_0x235c6e(0x253)][_0x235c6e(0x28f)][_0x235c6e(0x2b5)](_0x37e9ce=>this[_0x235c6e(0x294)][_0x235c6e(0x2dc)][_0x235c6e(0x218)](_0x37e9ce)),_0x158ca2=this[_0x235c6e(0x294)][_0x235c6e(0x262)][_0x235c6e(0x2da)](_0x235c6e(0x29f))['me']['id'],_0x5ac4fa=_0x481c36(this[_0x235c6e(0x294)][_0x235c6e(0x1f1)],_0x19959e?_0x235c6e(0x21c):_0x235c6e(0x1f8));this[_0x235c6e(0x2ef)]({'from':_0x3f4494,'to':_0x3f4494,'id':this[_0x235c6e(0x28c)],'name':_0x5ac4fa,'creatorId':_0x158ca2});}}[_0x57f00b(0x203)](_0x4f4fb7){const _0x3eb9c8=_0x57f00b,_0x3858d3=this[_0x3eb9c8(0x22c)][_0x3eb9c8(0x2dd)]();this[_0x3eb9c8(0x240)]=this[_0x3eb9c8(0x31e)][_0x3eb9c8(0x2cb)](_0x3858d3),this[_0x3eb9c8(0x240)]||(this[_0x3eb9c8(0x240)]=this[_0x3eb9c8(0x2ef)]({'from':_0x4f4fb7,'to':_0x4f4fb7,'id':_0x3858d3,'name':'','creatorId':null}));}async[_0x57f00b(0x236)](){const _0x5db5bd=_0x57f00b;this[_0x5db5bd(0x242)]&&!this[_0x5db5bd(0x2f8)]&&(await this[_0x5db5bd(0x30c)][_0x5db5bd(0x21b)](this[_0x5db5bd(0x240)],this[_0x5db5bd(0x276)]),this[_0x5db5bd(0x1ff)][_0x5db5bd(0x29c)](this[_0x5db5bd(0x240)]),this[_0x5db5bd(0x2f8)]={'fromVersion':this[_0x5db5bd(0x240)][_0x5db5bd(0x249)],'authors':this[_0x5db5bd(0x240)][_0x5db5bd(0x26a)][_0x5db5bd(0x2b7)]()});}[_0x57f00b(0x223)](_0x2b5ed6,_0x329685){const _0x4a88b4=_0x57f00b;let _0x4b70cc=this[_0x4a88b4(0x294)][_0x4a88b4(0x277)][_0x4a88b4(0x2da)](_0x4a88b4(0x274)),_0xb6edd6=this[_0x4a88b4(0x294)][_0x4a88b4(0x277)][_0x4a88b4(0x2da)](_0x4a88b4(0x243));if(void 0x0===_0x4b70cc){_0x4b70cc={};for(const _0x6de181 of this[_0x4a88b4(0x294)][_0x4a88b4(0x2dc)][_0x4a88b4(0x253)][_0x4a88b4(0x288)]())_0x4b70cc[_0x6de181]='';}if(_0x4a88b4(0x298)==typeof _0x4b70cc&&(_0x4b70cc={'main':_0x4b70cc}),void 0x0===_0xb6edd6){_0xb6edd6={};for(const _0x55afd2 of this[_0x4a88b4(0x294)][_0x4a88b4(0x2dc)][_0x4a88b4(0x253)][_0x4a88b4(0x288)]())_0xb6edd6[_0x55afd2]={};}let _0x32d18d=!0x1;const _0x529528=Object[_0x4a88b4(0x2e2)](_0x4b70cc),_0xf57dda=Object[_0x4a88b4(0x2e2)](_0x2b5ed6);for(const _0x4968f0 of _0x529528){if(_0x4b70cc[_0x4968f0]!==_0x2b5ed6[_0x4968f0]&&''!==_0x4b70cc[_0x4968f0][_0x4a88b4(0x24a)]()){_0x32d18d=!0x0;break;}if(!_0x48a7b5(_0xb6edd6[_0x4968f0],_0x329685[_0x4968f0])&&Object[_0x4a88b4(0x2e2)](_0xb6edd6[_0x4968f0])[_0x4a88b4(0x2d4)]>0x0){_0x32d18d=!0x0;break;}}_0x32d18d||(_0x32d18d=_0xf57dda[_0x4a88b4(0x2e4)](_0x30dcad=>!this[_0x4a88b4(0x294)][_0x4a88b4(0x2dc)][_0x4a88b4(0x253)][_0x4a88b4(0x2c5)](_0x30dcad))),_0x32d18d&&_0x18f32(_0x4a88b4(0x2e9),{'editorData':_0x4b70cc,'editorRootsAttributes':_0xb6edd6,'revisionData':_0x2b5ed6,'revisionRootsAttributes':_0x329685}),this[_0x4a88b4(0x294)][_0x4a88b4(0x277)][_0x4a88b4(0x30b)](_0x4a88b4(0x274),_0x2b5ed6),this[_0x4a88b4(0x294)][_0x4a88b4(0x277)][_0x4a88b4(0x30b)](_0x4a88b4(0x243),_0x329685);}[_0x57f00b(0x2e3)](){const _0x3674ef=_0x57f00b;if(!this[_0x3674ef(0x27b)]){const _0x1391d0=this[_0x3674ef(0x294)][_0x3674ef(0x262)][_0x3674ef(0x2da)](_0x3674ef(0x202));this[_0x3674ef(0x27b)]=_0x1391d0[_0x3674ef(0x256)](_0x481c36(this[_0x3674ef(0x294)][_0x3674ef(0x1f1)],_0x3674ef(0x230)));}}[_0x57f00b(0x285)](){const _0xb103f2=_0x57f00b;this[_0xb103f2(0x27b)]&&(this[_0xb103f2(0x294)][_0xb103f2(0x262)][_0xb103f2(0x2da)](_0xb103f2(0x202))[_0xb103f2(0x2f0)](this[_0xb103f2(0x27b)]),this[_0xb103f2(0x27b)]=null);}[_0x57f00b(0x1e6)](_0x560c7a){const _0x8851b8=_0x57f00b,_0x3a2ac0=this[_0x8851b8(0x31e)][_0x8851b8(0x2fc)]();_0x3a2ac0[_0x8851b8(0x213)]();let _0x1bbf66=0x0;for(;_0x1bbf66<_0x3a2ac0[_0x8851b8(0x2d4)];){const _0x2bb8f7=_0x3a2ac0[_0x1bbf66];if(_0x2bb8f7===this[_0x8851b8(0x240)]){_0x1bbf66++;continue;}if(_0x2bb8f7['id']===this[_0x8851b8(0x28c)])break;const _0x57af4b=_0x560c7a[_0x8851b8(0x2ce)]-_0x2bb8f7[_0x8851b8(0x2ce)]||_0x560c7a[_0x8851b8(0x249)]-_0x2bb8f7[_0x8851b8(0x249)];if(_0x57af4b>0x0)break;if(_0x57af4b<0x0)_0x1bbf66++;else{if(!_0x560c7a[_0x8851b8(0x287)]&&_0x2bb8f7[_0x8851b8(0x287)])break;if(_0x2bb8f7[_0x8851b8(0x287)]||!_0x560c7a[_0x8851b8(0x287)]){if(_0x560c7a[_0x8851b8(0x2b4)]>_0x2bb8f7[_0x8851b8(0x2b4)])break;_0x1bbf66++;}else _0x1bbf66++;}}return _0x1bbf66;}[_0x57f00b(0x201)](_0x3a6fb1){const _0x1bee80=_0x57f00b,_0x25d25b=this[_0x1bee80(0x31e)][_0x1bee80(0x2fc)]();_0x25d25b[_0x1bee80(0x213)](),_0x25d25b[_0x1bee80(0x2ba)]();const _0x596011=_0x25d25b[_0x1bee80(0x2b5)](_0x1e4d47=>_0x1e4d47[_0x1bee80(0x2ce)]<=_0x3a6fb1)[_0x1bee80(0x2ce)];return _0x596011<this[_0x1bee80(0x278)]?this[_0x1bee80(0x278)]:_0x596011;}[_0x57f00b(0x2ef)]({name:_0x4d7693,from:_0x15ed51,to:_0x5e63bb,creatorId:_0x2248a6,id:_0x446a60}){const _0x336788=_0x57f00b,_0x2cbbcd=this[_0x336788(0x231)]({'from':_0x15ed51,'to':_0x5e63bb});_0x2cbbcd[_0x336788(0x322)]=_0x4d7693,_0x2cbbcd[_0x336788(0x212)]=_0x2248a6,_0x2cbbcd['id']=_0x446a60;const _0x112913=this[_0x336788(0x2ad)](_0x2cbbcd);return this[_0x336788(0x276)]&&this[_0x336788(0x284)](_0x2cbbcd['id'],_0x2cbbcd,!0x0),_0x112913;}[_0x57f00b(0x204)](){const _0x491fbf=_0x57f00b;this[_0x491fbf(0x294)][_0x491fbf(0x219)][_0x491fbf(0x2a0)](_0x491fbf(0x306))[_0x491fbf(0x318)]({'model':_0x491fbf(0x1ee)});}}class x{[_0x57f00b(0x294)];[_0x57f00b(0x209)];[_0x57f00b(0x2ae)];[_0x57f00b(0x1e4)];[_0x57f00b(0x2cf)];[_0x57f00b(0x23b)];[_0x57f00b(0x2b8)];[_0x57f00b(0x24c)];[_0x57f00b(0x2d3)];[_0x57f00b(0x205)];[_0x57f00b(0x270)];[_0x57f00b(0x257)];[_0x57f00b(0x292)];[_0x57f00b(0x21a)];[_0x57f00b(0x23d)];[_0x57f00b(0x293)];[_0x57f00b(0x208)];constructor(_0xe9e82c){const _0x3e9746=_0x57f00b;this[_0x3e9746(0x294)]=_0xe9e82c,this[_0x3e9746(0x2ae)]=new Map(),this[_0x3e9746(0x1e4)]=-0x1,this[_0x3e9746(0x2cf)]=-0x1,this[_0x3e9746(0x23b)]=new Map(),this[_0x3e9746(0x2b8)]=new Map(),this[_0x3e9746(0x24c)]=new Map(),this[_0x3e9746(0x2d3)]=new Map(),this[_0x3e9746(0x205)]=new Map(),this[_0x3e9746(0x270)]=new Map(),this[_0x3e9746(0x257)]=new Map(),this[_0x3e9746(0x292)]=new Map(),this[_0x3e9746(0x21a)]=new Map(),this[_0x3e9746(0x23d)]=new Map(),this[_0x3e9746(0x293)]=0x1;}[_0x57f00b(0x1fe)](_0x3b4782){const _0x333083=_0x57f00b;this[_0x333083(0x209)]=_0x3b4782;const _0x4911db=new Map(),_0x14fd98=new Map(),_0x148df4=this[_0x333083(0x294)][_0x333083(0x2dc)][_0x333083(0x253)][_0x333083(0x28f)][_0x333083(0x20a)](_0x188daa=>_0x188daa[_0x333083(0x25d)]);for(const _0x46b7b9 of _0x148df4){const _0x4dfc91=this[_0x333083(0x294)][_0x333083(0x2dc)][_0x333083(0x253)][_0x333083(0x2c5)](_0x46b7b9),_0x13ef56=N(_0x4dfc91);_0x4911db[_0x333083(0x30b)](_0x46b7b9,_0x13ef56),_0x14fd98[_0x333083(0x30b)](_0x46b7b9,Object[_0x333083(0x2fa)](_0x4dfc91[_0x333083(0x31d)]()));}const _0x4e7f57=Array[_0x333083(0x232)](this[_0x333083(0x294)][_0x333083(0x2dc)][_0x333083(0x246)])[_0x333083(0x20a)](_0x4b96d2=>[_0x4b96d2[_0x333083(0x322)],_0x4b96d2[_0x333083(0x323)]()]),_0x863ab5=this[_0x333083(0x209)][_0x333083(0x2f6)];this[_0x333083(0x27a)](_0x863ab5,_0x4911db,_0x4e7f57,_0x14fd98),this[_0x333083(0x208)]=this[_0x333083(0x293)];const _0x174d27=new Map(),_0x5d4e44=new Map();for(const _0x8f0b51 of _0x148df4){const _0x501f47=P(_0x8f0b51);_0x174d27[_0x333083(0x30b)](_0x8f0b51,_0x501f47),_0x5d4e44[_0x333083(0x30b)](_0x8f0b51,{});}this[_0x333083(0x27a)](Number[_0x333083(0x301)],_0x174d27,[],_0x5d4e44);}[_0x57f00b(0x1fd)](_0x12c299,_0x4449ca){const _0x4a2dfa=_0x57f00b;if(this[_0x4a2dfa(0x1e4)]===_0x12c299&&this[_0x4a2dfa(0x2cf)]<=_0x4449ca)this[_0x4a2dfa(0x2ae)][_0x4a2dfa(0x226)]>0x1&&this[_0x4a2dfa(0x310)](this[_0x4a2dfa(0x2cf)]),this[_0x4a2dfa(0x25b)](this[_0x4a2dfa(0x2cf)],_0x4449ca,!0x0);else{if(!this[_0x4a2dfa(0x2ae)][_0x4a2dfa(0x222)](_0x12c299)){const _0x33c71f=this[_0x4a2dfa(0x1f0)](_0x12c299);this[_0x4a2dfa(0x320)](_0x33c71f,_0x12c299,!0x1);}this[_0x4a2dfa(0x320)](_0x12c299,_0x4449ca,!0x0);}return this[_0x4a2dfa(0x1e4)]=_0x12c299,this[_0x4a2dfa(0x2cf)]=_0x4449ca,this[_0x4a2dfa(0x21e)]();}[_0x57f00b(0x29c)](_0x4c1bf7){const _0x2e5fe2=_0x57f00b,_0x3a7b41=this[_0x2e5fe2(0x294)][_0x2e5fe2(0x262)][_0x2e5fe2(0x2da)](_0x2e5fe2(0x2cd));this[_0x2e5fe2(0x31a)](),this[_0x2e5fe2(0x1e4)]=_0x4c1bf7[_0x2e5fe2(0x249)],this[_0x2e5fe2(0x2cf)]=_0x4c1bf7[_0x2e5fe2(0x2ce)];for(const _0x19f4f4 in _0x4c1bf7[_0x2e5fe2(0x2d8)]){const _0xe3f0bb=_0x4c1bf7[_0x2e5fe2(0x2d8)][_0x19f4f4][_0x2e5fe2(0x29a)],_0x2bb693=_0x43cf13(_0x4c1bf7[_0x2e5fe2(0x2d8)][_0x19f4f4][_0x2e5fe2(0x2bf)])||{},_0x2a5048=_0x3a7b41[_0x2e5fe2(0x2ab)](_0x4c1bf7[_0x2e5fe2(0x2d8)][_0x19f4f4][_0x2e5fe2(0x26f)]);_0x2a5048[_0x2e5fe2(0x25d)]=_0x19f4f4,_0x2a5048[_0x2e5fe2(0x28e)]=!_0xe3f0bb||!_0xe3f0bb[_0x2e5fe2(0x2a3)],_0x2a5048[_0x2e5fe2(0x2a3)]=()=>_0x2a5048[_0x2e5fe2(0x28e)],this[_0x2e5fe2(0x2d3)][_0x2e5fe2(0x30b)](_0x19f4f4,_0x2a5048),this[_0x2e5fe2(0x205)][_0x2e5fe2(0x30b)](_0x19f4f4,_0x2bb693),_0xe3f0bb&&this[_0x2e5fe2(0x23d)][_0x2e5fe2(0x30b)](_0x19f4f4,_0xe3f0bb);const _0x3a8c9c=this[_0x2e5fe2(0x238)](_0x2a5048);this[_0x2e5fe2(0x257)][_0x2e5fe2(0x30b)](_0x19f4f4,_0x3a8c9c);for(const [_0x2cc40f,_0x424dd0]of _0x2a5048[_0x2e5fe2(0x246)]){if(!_0x2cc40f[_0x2e5fe2(0x21d)](_0x2e5fe2(0x22a)))continue;const _0x48967d=_0x2cc40f[_0x2e5fe2(0x20f)](':')[0x2];for(const _0x28ea8a of _0x424dd0[_0x2e5fe2(0x1f6)]({'singleCharacters':!0x0})){const _0x4b7ae7=this[_0x2e5fe2(0x206)](_0x28ea8a),_0x3b5f0e=_0x2e5fe2(0x308)==_0x28ea8a[_0x2e5fe2(0x31c)]?_0x28ea8a[_0x2e5fe2(0x2d5)][_0x2e5fe2(0x2a1)][_0x2e5fe2(0x2b7)](0x0,-0x1):_0x28ea8a[_0x2e5fe2(0x2d5)][_0x2e5fe2(0x2a1)],_0x5bfa6c=_0x3a8c9c[_0x2e5fe2(0x269)](_0x3b5f0e)[_0x2e5fe2(0x2b1)](_0x4b7ae7);this[_0x2e5fe2(0x292)][_0x2e5fe2(0x30b)](_0x5bfa6c,{'userId':_0x48967d});}}}this[_0x2e5fe2(0x208)]=this[_0x2e5fe2(0x293)];const _0x374bc5=[...Array(this[_0x2e5fe2(0x293)])[_0x2e5fe2(0x2e2)]()][_0x2e5fe2(0x2b7)](0x1)[_0x2e5fe2(0x23e)](_0x27ec32=>!this[_0x2e5fe2(0x292)][_0x2e5fe2(0x222)](_0x27ec32));let _0x3f1e48=0x0;const _0x3f70eb=new Map();for(const _0x29e466 in _0x4c1bf7[_0x2e5fe2(0x2d8)]){const _0xf8342b=_0x4c1bf7[_0x2e5fe2(0x2d8)][_0x29e466][_0x2e5fe2(0x29a)],_0xa04396=_0x43cf13(_0x4c1bf7[_0x2e5fe2(0x2d8)][_0x29e466][_0x2e5fe2(0x244)])||{},_0x3d835a=_0x3a7b41[_0x2e5fe2(0x2ab)](_0x4c1bf7[_0x2e5fe2(0x2d8)][_0x29e466][_0x2e5fe2(0x275)]);_0x3d835a[_0x2e5fe2(0x25d)]=_0x29e466,_0x3d835a[_0x2e5fe2(0x28e)]=!_0xf8342b||_0xf8342b[_0x2e5fe2(0x2a3)],_0x3d835a[_0x2e5fe2(0x2a3)]=()=>_0x3d835a[_0x2e5fe2(0x28e)],this[_0x2e5fe2(0x2b8)][_0x2e5fe2(0x30b)](_0x29e466,_0x3d835a),this[_0x2e5fe2(0x24c)][_0x2e5fe2(0x30b)](_0x29e466,_0xa04396);const _0x2cb3e8=this[_0x2e5fe2(0x238)](_0x3d835a,Number[_0x2e5fe2(0x301)]);this[_0x2e5fe2(0x270)][_0x2e5fe2(0x30b)](_0x29e466,_0x2cb3e8),_0x3f70eb[_0x2e5fe2(0x30b)](_0x29e466,_0x3d835a[_0x2e5fe2(0x2a3)]()?_0xa04396:{});for(const [_0x2a303d,_0xa007bb]of _0x3d835a[_0x2e5fe2(0x246)]){if(!_0x2a303d[_0x2e5fe2(0x21d)](_0x2e5fe2(0x22a)))continue;const _0x124033=_0x2a303d[_0x2e5fe2(0x20f)](':')[0x2];for(const _0x1ce9d7 of _0xa007bb[_0x2e5fe2(0x1f6)]({'singleCharacters':!0x0})){const _0x1befb7=this[_0x2e5fe2(0x206)](_0x1ce9d7),_0x404451=this[_0x2e5fe2(0x293)]++,_0x5f3dac=_0x2e5fe2(0x308)==_0x1ce9d7[_0x2e5fe2(0x31c)]?_0x1ce9d7[_0x2e5fe2(0x2d5)][_0x2e5fe2(0x2a1)][_0x2e5fe2(0x2b7)](0x0,-0x1):_0x1ce9d7[_0x2e5fe2(0x2d5)][_0x2e5fe2(0x2a1)];_0x2cb3e8[_0x2e5fe2(0x269)](_0x5f3dac)[_0x2e5fe2(0x2e1)](_0x1befb7,_0x404451),this[_0x2e5fe2(0x292)][_0x2e5fe2(0x30b)](_0x404451,{'userId':_0x124033});}}for(const _0x5b7b6b of this[_0x2e5fe2(0x294)][_0x2e5fe2(0x2dc)][_0x2e5fe2(0x1e5)](_0x3d835a)[_0x2e5fe2(0x1f6)]({'singleCharacters':!0x0})){const _0x3f654a=this[_0x2e5fe2(0x206)](_0x5b7b6b),_0x1250f4=_0x2e5fe2(0x308)==_0x5b7b6b[_0x2e5fe2(0x31c)]?_0x5b7b6b[_0x2e5fe2(0x2d5)][_0x2e5fe2(0x2a1)][_0x2e5fe2(0x2b7)](0x0,-0x1):_0x5b7b6b[_0x2e5fe2(0x2d5)][_0x2e5fe2(0x2a1)],_0x4da8de=_0x2cb3e8[_0x2e5fe2(0x269)](_0x1250f4);_0x4da8de[_0x2e5fe2(0x2b1)](_0x3f654a)>0x0||_0x4da8de[_0x2e5fe2(0x2e1)](_0x3f654a,_0x374bc5[_0x3f1e48++]);}for(const [_0x38f95e,_0x4a8522]of _0x3d835a[_0x2e5fe2(0x246)])_0x38f95e[_0x2e5fe2(0x21d)](_0x2e5fe2(0x22a))||this[_0x2e5fe2(0x23b)][_0x2e5fe2(0x30b)](_0x38f95e,_0x4a8522);}const _0x5cab0e=P(_0x2e5fe2(0x2f7));this[_0x2e5fe2(0x2d3)][_0x2e5fe2(0x30b)](_0x2e5fe2(0x2f7),_0x5cab0e),this[_0x2e5fe2(0x257)][_0x2e5fe2(0x30b)](_0x2e5fe2(0x2f7),this[_0x2e5fe2(0x238)](_0x5cab0e,0x1));const _0x3e2732=P(_0x2e5fe2(0x2f7));this[_0x2e5fe2(0x2b8)][_0x2e5fe2(0x30b)](_0x2e5fe2(0x2f7),_0x3e2732),this[_0x2e5fe2(0x270)][_0x2e5fe2(0x30b)](_0x2e5fe2(0x2f7),this[_0x2e5fe2(0x238)](_0x3e2732,0x1));const _0x482cdd=Array[_0x2e5fe2(0x232)](this[_0x2e5fe2(0x2b8)])[_0x2e5fe2(0x20a)](([_0x2f1dfd,_0x1e956d])=>[_0x2f1dfd,N(_0x1e956d)]);this[_0x2e5fe2(0x27a)](this[_0x2e5fe2(0x2cf)],_0x482cdd,this[_0x2e5fe2(0x23b)],_0x3f70eb);}[_0x57f00b(0x1eb)](){const _0x44d4a7=_0x57f00b;this[_0x44d4a7(0x31a)](),this[_0x44d4a7(0x1e4)]=-0x1,this[_0x44d4a7(0x2cf)]=-0x1,this[_0x44d4a7(0x2ae)][_0x44d4a7(0x261)](),this[_0x44d4a7(0x1fe)](this[_0x44d4a7(0x209)]);}[_0x57f00b(0x27a)](_0x3d1f29,_0x3d57f9,_0x5ed16e,_0x40cb20){const _0x8daa68=_0x57f00b,_0x5bbdf8=new Map(_0x3d57f9),_0x32bfaa=new Map(_0x43cf13(_0x40cb20)),_0x342ed8=new Map();for(const [_0x241e3e,_0x2faa0d]of _0x5ed16e)_0x342ed8[_0x8daa68(0x30b)](_0x241e3e,{'start':_0x2faa0d[_0x8daa68(0x224)][_0x8daa68(0x2f9)](),'end':_0x2faa0d[_0x8daa68(0x1ea)][_0x8daa68(0x2f9)](),'rootName':_0x2faa0d[_0x8daa68(0x2f5)][_0x8daa68(0x25d)]});this[_0x8daa68(0x2ae)][_0x8daa68(0x30b)](_0x3d1f29,{'roots':_0x5bbdf8,'markers':_0x342ed8,'rootsAttributes':_0x32bfaa});}[_0x57f00b(0x310)](_0x29ab47){const _0x5ec9c8=_0x57f00b;this[_0x5ec9c8(0x2ae)][_0x5ec9c8(0x319)](_0x29ab47);}[_0x57f00b(0x31a)](){const _0x54496c=_0x57f00b;this[_0x54496c(0x292)][_0x54496c(0x261)](),this[_0x54496c(0x21a)][_0x54496c(0x261)](),this[_0x54496c(0x23d)][_0x54496c(0x261)](),this[_0x54496c(0x2b8)][_0x54496c(0x261)](),this[_0x54496c(0x24c)][_0x54496c(0x261)](),this[_0x54496c(0x2d3)][_0x54496c(0x261)](),this[_0x54496c(0x205)][_0x54496c(0x261)](),this[_0x54496c(0x270)][_0x54496c(0x261)](),this[_0x54496c(0x257)][_0x54496c(0x261)](),this[_0x54496c(0x23b)][_0x54496c(0x261)](),this[_0x54496c(0x293)]=0x1,this[_0x54496c(0x208)]=this[_0x54496c(0x293)];}[_0x57f00b(0x238)](_0x40924d,_0x377aa4=null){const _0x43b2b6=_0x57f00b;let _0x276d22=null;_0x40924d['is'](_0x43b2b6(0x25e))||(_0x276d22=new _0x56e470(_0x40924d[_0x43b2b6(0x322)],{'vid_start':null===_0x377aa4?this[_0x43b2b6(0x293)]++:_0x377aa4++}));const _0x5ec385=[];for(const _0x582ed1 of _0x40924d[_0x43b2b6(0x1f2)]())if(_0x582ed1['is'](_0x43b2b6(0x2fd))){_0x5ec385[_0x43b2b6(0x2c1)](this[_0x43b2b6(0x238)](_0x582ed1,_0x377aa4));const _0x43443f=_0x5ec385[_0x5ec385[_0x43b2b6(0x2d4)]-0x1];null!==_0x377aa4&&(_0x377aa4=_0x43443f['is'](_0x43b2b6(0x2fd),_0x43b2b6(0x22f))?_0x43443f[_0x43b2b6(0x2b1)](_0x43b2b6(0x2ac))+0x1:_0x43443f[_0x43b2b6(0x2b1)](_0x43b2b6(0x2df))+0x1);}else{for(let _0x3c0301=0x0;_0x3c0301<_0x582ed1[_0x43b2b6(0x2b9)];_0x3c0301++)_0x5ec385[_0x43b2b6(0x2c1)](new _0x56e470(_0x43b2b6(0x22f),{'vid':null===_0x377aa4?this[_0x43b2b6(0x293)]++:_0x377aa4++}));}if(_0x40924d['is'](_0x43b2b6(0x25e))){const _0xcd80d=P(_0x40924d[_0x43b2b6(0x25d)]);return _0xcd80d[_0x43b2b6(0x2ea)](0x0,_0x5ec385),_0xcd80d;}return _0x276d22[_0x43b2b6(0x2e1)](_0x43b2b6(0x2df),null===_0x377aa4?this[_0x43b2b6(0x293)]++:_0x377aa4++),_0x276d22[_0x43b2b6(0x2ea)](0x0,_0x5ec385),_0x276d22;}[_0x57f00b(0x320)](_0x2f92fc,_0x1e5e06,_0x233534){const _0x4fbb71=_0x57f00b;this[_0x4fbb71(0x31a)]();const {roots:_0x1cebab,markers:_0x3ab267,rootsAttributes:_0x1ccdfc}=this[_0x4fbb71(0x2ae)][_0x4fbb71(0x2da)](_0x2f92fc);this[_0x4fbb71(0x2d3)]=new Map(_0x1cebab),this[_0x4fbb71(0x205)]=new Map(_0x43cf13(_0x1ccdfc));for(const [_0xa86f9e,_0x2ad275]of this[_0x4fbb71(0x2d3)])if(_0x4fbb71(0x2f7)!==_0xa86f9e&&(this[_0x4fbb71(0x2b8)][_0x4fbb71(0x30b)](_0xa86f9e,N(_0x2ad275)),this[_0x4fbb71(0x24c)]=new Map(_0x43cf13(_0x1ccdfc)),_0x233534)){const _0x14dce8=this[_0x4fbb71(0x293)];this[_0x4fbb71(0x270)][_0x4fbb71(0x30b)](_0xa86f9e,this[_0x4fbb71(0x238)](_0x2ad275)),this[_0x4fbb71(0x257)][_0x4fbb71(0x30b)](_0xa86f9e,this[_0x4fbb71(0x238)](_0x2ad275,_0x14dce8));}this[_0x4fbb71(0x208)]=this[_0x4fbb71(0x293)],this[_0x4fbb71(0x2b8)][_0x4fbb71(0x30b)](_0x4fbb71(0x2f7),N(this[_0x4fbb71(0x2d3)][_0x4fbb71(0x2da)](_0x4fbb71(0x2f7)))),_0x233534&&this[_0x4fbb71(0x270)][_0x4fbb71(0x30b)](_0x4fbb71(0x2f7),this[_0x4fbb71(0x238)](this[_0x4fbb71(0x2d3)][_0x4fbb71(0x2da)](_0x4fbb71(0x2f7))));for(const [_0x442718,_0x29a8d7]of _0x3ab267){const _0x174abd=this[_0x4fbb71(0x2d3)][_0x4fbb71(0x2da)](_0x29a8d7[_0x4fbb71(0x25d)]),_0x18e2cc=this[_0x4fbb71(0x2b8)][_0x4fbb71(0x2da)](_0x29a8d7[_0x4fbb71(0x25d)]),_0x54092d=new _0x5ecce6(this[_0x4fbb71(0x2c7)](_0x29a8d7[_0x4fbb71(0x224)],_0x174abd),this[_0x4fbb71(0x2c7)](_0x29a8d7[_0x4fbb71(0x1ea)],_0x174abd)),_0x33a22f=this[_0x4fbb71(0x251)](_0x54092d,_0x18e2cc);_0x174abd[_0x4fbb71(0x246)][_0x4fbb71(0x30b)](_0x442718,_0x54092d),this[_0x4fbb71(0x23b)][_0x4fbb71(0x30b)](_0x442718,_0x33a22f);}this[_0x4fbb71(0x25b)](_0x2f92fc,_0x1e5e06,_0x233534);}[_0x57f00b(0x25b)](_0x17b583,_0x8bfec4,_0x2a8a8d){const _0x34910b=_0x57f00b;for(const _0x3a75ae of this[_0x34910b(0x209)][_0x34910b(0x2ec)](_0x17b583,_0x8bfec4))this[_0x34910b(0x304)](_0x3a75ae,_0x2a8a8d);for(const _0x13679e of this[_0x34910b(0x2b8)][_0x34910b(0x2a5)]())_0x13679e[_0x34910b(0x246)][_0x34910b(0x261)]();for(const [_0x146d50,_0x5af452]of this[_0x34910b(0x23b)]){this[_0x34910b(0x2b8)][_0x34910b(0x2da)](_0x5af452[_0x34910b(0x2f5)][_0x34910b(0x25d)])[_0x34910b(0x246)][_0x34910b(0x30b)](_0x146d50,_0x5af452[_0x34910b(0x2f9)]());}const _0x5a95f6=new Map(),_0x467bb2=new Map();for(const [_0x452763,_0x6fc384]of this[_0x34910b(0x2b8)])_0x5a95f6[_0x34910b(0x30b)](_0x452763,N(_0x6fc384)),_0x467bb2[_0x34910b(0x30b)](_0x452763,this[_0x34910b(0x24c)][_0x34910b(0x2da)](_0x452763));this[_0x34910b(0x27a)](_0x8bfec4,_0x5a95f6,this[_0x34910b(0x23b)],_0x467bb2);}[_0x57f00b(0x1f0)](_0x4a53ad){const _0x3023d2=_0x57f00b,_0x27fa8a=Array[_0x3023d2(0x232)](this[_0x3023d2(0x2ae)][_0x3023d2(0x2e2)]());_0x27fa8a[_0x3023d2(0x2c4)]((_0x26790f,_0x2ec28c)=>_0x26790f-_0x2ec28c),_0x27fa8a[_0x3023d2(0x213)]();for(const _0x4ae3e5 of _0x27fa8a)if(_0x4ae3e5<_0x4a53ad)return _0x4ae3e5;return Number[_0x3023d2(0x301)];}[_0x57f00b(0x2ff)](_0x1ce493,_0x45ae05){const _0x57607e=_0x57f00b,_0x26fe2a=Array[_0x57607e(0x232)](_0x45ae05[_0x57607e(0x246)])[_0x57607e(0x20a)](([_0x4863c5,_0x42c879])=>[_0x4863c5,this[_0x57607e(0x251)](_0x42c879,_0x1ce493)]);_0x1ce493[_0x57607e(0x246)]=new Map(_0x26fe2a);}[_0x57f00b(0x2aa)](_0x3556d){const _0x2ecd49=_0x57f00b;for(const _0x25349b of this[_0x2ecd49(0x23b)][_0x2ecd49(0x2a5)]()){const _0x2ac841=_0x25349b[_0x2ecd49(0x263)](_0x3556d),_0x5cc248=_0x5ecce6[_0x2ecd49(0x2ee)](_0x2ac841);_0x25349b[_0x2ecd49(0x224)]=_0x5cc248[_0x2ecd49(0x224)],_0x25349b[_0x2ecd49(0x1ea)]=_0x5cc248[_0x2ecd49(0x1ea)];}}[_0x57f00b(0x304)](_0x15fd0a,_0x55c56d){const _0x172ac4=_0x57f00b;if(_0x172ac4(0x305)!=_0x15fd0a[_0x172ac4(0x31c)]&&_0x172ac4(0x2f3)!=_0x15fd0a[_0x172ac4(0x31c)]){if(_0x172ac4(0x239)==_0x15fd0a[_0x172ac4(0x31c)]){const _0xf2a7dc=_0x15fd0a[_0x172ac4(0x26c)][_0x172ac4(0x2f5)][_0x172ac4(0x25d)];this[_0x172ac4(0x2b8)][_0x172ac4(0x222)](_0xf2a7dc)||(this[_0x172ac4(0x2b8)][_0x172ac4(0x30b)](_0xf2a7dc,P(_0xf2a7dc,!0x0)),this[_0x172ac4(0x24c)][_0x172ac4(0x30b)](_0xf2a7dc,{}),_0x55c56d&&this[_0x172ac4(0x270)][_0x172ac4(0x30b)](_0xf2a7dc,P(_0xf2a7dc,!0x0)));}else{if(_0x172ac4(0x27f)==_0x15fd0a[_0x172ac4(0x31c)]||_0x172ac4(0x2b0)==_0x15fd0a[_0x172ac4(0x31c)]||_0x172ac4(0x2b2)==_0x15fd0a[_0x172ac4(0x31c)])return void this[_0x172ac4(0x23f)](_0x15fd0a);_0x172ac4(0x27c)==_0x15fd0a[_0x172ac4(0x31c)]&&this[_0x172ac4(0x2d6)](_0x15fd0a);}if(_0x172ac4(0x27c)!==_0x15fd0a[_0x172ac4(0x31c)]){const _0x2b5744=this[_0x172ac4(0x267)](_0x15fd0a,this[_0x172ac4(0x2b8)]);_0x2b5744[_0x172ac4(0x20d)](),this[_0x172ac4(0x2aa)](_0x2b5744);}if(_0x55c56d)switch(_0x15fd0a[_0x172ac4(0x31c)]){case _0x172ac4(0x239):this[_0x172ac4(0x31b)](_0x15fd0a);break;case _0x172ac4(0x207):case _0x172ac4(0x2f0):case _0x172ac4(0x2cc):this[_0x172ac4(0x237)](_0x15fd0a);break;case _0x172ac4(0x254):this[_0x172ac4(0x2d7)](_0x15fd0a);break;case _0x172ac4(0x20f):this[_0x172ac4(0x2db)](_0x15fd0a);}}else this[_0x172ac4(0x2a4)](_0x15fd0a,_0x55c56d);}[_0x57f00b(0x267)](_0x25d8c4,_0x3f287c){const _0x1fa41c=_0x57f00b,_0x3a8fb7=_0x25d8c4[_0x1fa41c(0x2f9)]();return _0x3a8fb7[_0x1fa41c(0x259)]=_0x25d8c4[_0x1fa41c(0x259)],this[_0x1fa41c(0x314)](_0x3a8fb7,_0x3f287c),_0x3a8fb7;}[_0x57f00b(0x311)](_0x58253e){const _0x2fd175=_0x57f00b;return _0x58253e[_0x2fd175(0x20a)](_0x45ce4c=>{const _0x3af379=_0x2fd175,_0x1bfd72=this[_0x3af379(0x206)](_0x45ce4c);return Number(_0x45ce4c[_0x3af379(0x2c3)][_0x3af379(0x2b1)](_0x1bfd72));});}[_0x57f00b(0x2d9)](_0x223bfd,_0x166c9a){const _0xfd6834=_0x57f00b;if(_0x223bfd['is'](_0xfd6834(0x2fd),_0xfd6834(0x22f)))_0x166c9a[_0xfd6834(0x2c1)]({'item':_0x223bfd,'type':_0xfd6834(0x286)});else{_0x223bfd['is'](_0xfd6834(0x2fd))&&_0x166c9a[_0xfd6834(0x2c1)]({'item':_0x223bfd,'type':_0xfd6834(0x307)});for(const _0x3b4876 of _0x223bfd[_0xfd6834(0x1f2)]())this[_0xfd6834(0x2d9)](_0x3b4876,_0x166c9a);_0x223bfd['is'](_0xfd6834(0x2fd))&&_0x166c9a[_0xfd6834(0x2c1)]({'item':_0x223bfd,'type':_0xfd6834(0x308)});}return _0x166c9a;}[_0x57f00b(0x21e)](){const _0x5d6a38=_0x57f00b,_0x123c74=new Map(this[_0x5d6a38(0x292)]),_0xf9d477=new Map(_0x123c74),_0x5773c9=new Map(),_0x3e4ded={'insertions':{},'deletions':{}},_0x52d222={'insertions':{},'deletions':{}},_0x2a094a=new Map(),_0x19da89=new Set([...this[_0x5d6a38(0x2d3)][_0x5d6a38(0x2e2)](),...this[_0x5d6a38(0x2b8)][_0x5d6a38(0x2e2)]()]);_0x19da89[_0x5d6a38(0x319)](_0x5d6a38(0x2f7));for(const _0x123a7d of _0x19da89){const _0x219573=this[_0x5d6a38(0x2b8)][_0x5d6a38(0x2da)](_0x123a7d)||P(_0x123a7d,!0x1),_0x4c57c1=this[_0x5d6a38(0x2d3)][_0x5d6a38(0x2da)](_0x123a7d)||P(_0x123a7d,!0x1);_0x219573[_0x5d6a38(0x2a3)]()||_0x4c57c1[_0x5d6a38(0x2a3)]()?(_0x3e4ded[_0x5d6a38(0x275)][_0x123a7d]=N(_0x219573),_0x3e4ded[_0x5d6a38(0x26f)][_0x123a7d]=N(_0x4c57c1),this[_0x5d6a38(0x2ff)](_0x3e4ded[_0x5d6a38(0x26f)][_0x123a7d],_0x4c57c1),this[_0x5d6a38(0x2ff)](_0x3e4ded[_0x5d6a38(0x275)][_0x123a7d],_0x219573),_0x52d222[_0x5d6a38(0x275)][_0x123a7d]=this[_0x5d6a38(0x2d9)](this[_0x5d6a38(0x270)][_0x5d6a38(0x2da)](_0x123a7d),[]),_0x52d222[_0x5d6a38(0x26f)][_0x123a7d]=this[_0x5d6a38(0x2d9)](this[_0x5d6a38(0x257)][_0x5d6a38(0x2da)](_0x123a7d)||P(_0x123a7d,!0x1),[])):_0x19da89[_0x5d6a38(0x319)](_0x123a7d);}for(const _0x491d83 of _0x19da89){const _0x216a8f=_0x52d222[_0x5d6a38(0x275)][_0x491d83];for(const _0x3c67c8 of _0x216a8f){const _0x103759=this[_0x5d6a38(0x206)](_0x3c67c8),_0x527a9d=_0x3c67c8[_0x5d6a38(0x2c3)][_0x5d6a38(0x2b1)](_0x103759);_0xf9d477[_0x5d6a38(0x319)](_0x527a9d),_0x527a9d>=this[_0x5d6a38(0x208)]&&_0x5773c9[_0x5d6a38(0x30b)](_0x527a9d,_0x123c74[_0x5d6a38(0x2da)](_0x527a9d));}}for(const _0x180828 of _0x19da89){const _0x3eccd4=_0x52d222[_0x5d6a38(0x275)][_0x180828],_0x1c74db=this[_0x5d6a38(0x311)](_0x52d222[_0x5d6a38(0x26f)][_0x180828]);let _0x13f57f=0x0;for(const _0x346eff of _0x3eccd4){const _0x55369f=this[_0x5d6a38(0x206)](_0x346eff),_0x2fba1f=_0x346eff[_0x5d6a38(0x2c3)][_0x5d6a38(0x2b1)](_0x55369f);if(!_0x5773c9[_0x5d6a38(0x222)](_0x2fba1f)&&!_0x2a094a[_0x5d6a38(0x222)](_0x2fba1f)){if(_0xf9d477[_0x5d6a38(0x222)](_0x2fba1f))_0x13f57f++;else{if(_0x2fba1f!=_0x1c74db[_0x13f57f]){const _0x33d5b5=_0x123c74[_0x5d6a38(0x2da)](_0x2fba1f)||_0x123c74[_0x5d6a38(0x2da)](_0x1c74db[_0x13f57f]);for(;_0x2fba1f!=_0x1c74db[_0x13f57f];)_0xf9d477[_0x5d6a38(0x222)](_0x1c74db[_0x13f57f])||(_0x2a094a[_0x5d6a38(0x30b)](_0x1c74db[_0x13f57f],_0x33d5b5),_0x123c74[_0x5d6a38(0x30b)](_0x1c74db[_0x13f57f],_0x33d5b5)),_0x13f57f++;}_0x13f57f++;}}}}for(const _0x331bad of _0x19da89){const _0x4f2e69=_0x52d222[_0x5d6a38(0x275)][_0x331bad];for(const _0x14b3c0 of _0x4f2e69){const _0x44ba6b=this[_0x5d6a38(0x206)](_0x14b3c0),_0x929521=_0x14b3c0[_0x5d6a38(0x2c3)][_0x5d6a38(0x2b1)](_0x44ba6b);if(_0x2a094a[_0x5d6a38(0x222)](_0x929521)){const _0x5a882a=_0x2a094a[_0x5d6a38(0x2da)](_0x929521);_0xf9d477[_0x5d6a38(0x222)](_0x929521)||_0xf9d477[_0x5d6a38(0x30b)](_0x929521,{..._0x5a882a}),_0x5773c9[_0x5d6a38(0x30b)](_0x929521,{..._0x5a882a});}}}for(const _0x1cb07a of _0xf9d477[_0x5d6a38(0x2e2)]())_0x1cb07a>=this[_0x5d6a38(0x208)]&&_0xf9d477[_0x5d6a38(0x319)](_0x1cb07a);const _0x1e62fd=new Map();for(const _0x12cd07 of _0x19da89){let _0x5840ac=_0x52d222[_0x5d6a38(0x275)][_0x12cd07];for(const _0x8b313a of _0x5840ac)if(_0x8b313a[_0x5d6a38(0x2c3)]['is'](_0x5d6a38(0x2fd),_0x5d6a38(0x2bc))){const _0x4e9cb8=this[_0x5d6a38(0x206)](_0x8b313a),_0x39cdcd=_0x8b313a[_0x5d6a38(0x2c3)][_0x5d6a38(0x2b1)](_0x4e9cb8);if(_0x5773c9[_0x5d6a38(0x222)](_0x39cdcd)){const _0x496aa2=_0x8b313a[_0x5d6a38(0x2c3)][_0x5d6a38(0x312)][_0x5d6a38(0x312)][_0x5d6a38(0x2b1)](_0x5d6a38(0x1fc)),_0x4ab159=_0x1e62fd[_0x5d6a38(0x2da)](_0x496aa2)||new Set();_0x4ab159[_0x5d6a38(0x256)](_0x5773c9[_0x5d6a38(0x2da)](_0x39cdcd)[_0x5d6a38(0x258)]),_0x1e62fd[_0x5d6a38(0x30b)](_0x496aa2,_0x4ab159);}}_0x5840ac=_0x52d222[_0x5d6a38(0x26f)][_0x12cd07];for(const _0x20e841 of _0x5840ac)if(_0x20e841[_0x5d6a38(0x2c3)]['is'](_0x5d6a38(0x2fd),_0x5d6a38(0x2bc))){const _0x1abf7e=this[_0x5d6a38(0x206)](_0x20e841),_0x1125c2=_0x20e841[_0x5d6a38(0x2c3)][_0x5d6a38(0x2b1)](_0x1abf7e);if(_0xf9d477[_0x5d6a38(0x222)](_0x1125c2)){const _0x17aaab=_0x20e841[_0x5d6a38(0x2c3)][_0x5d6a38(0x312)][_0x5d6a38(0x312)][_0x5d6a38(0x2b1)](_0x5d6a38(0x1fc)),_0x402e9a=_0x1e62fd[_0x5d6a38(0x2da)](_0x17aaab)||new Set();_0x402e9a[_0x5d6a38(0x256)](_0xf9d477[_0x5d6a38(0x2da)](_0x1125c2)[_0x5d6a38(0x258)]),_0x1e62fd[_0x5d6a38(0x30b)](_0x17aaab,_0x402e9a);}}for(const _0xa97079 of _0x1e62fd[_0x5d6a38(0x2e2)]())(_0x5773c9[_0x5d6a38(0x222)](_0xa97079)||_0xf9d477[_0x5d6a38(0x222)](_0xa97079))&&_0x1e62fd[_0x5d6a38(0x319)](_0xa97079);}for(const _0x517e6b of _0x19da89){const _0x243beb=_0x52d222[_0x5d6a38(0x275)][_0x517e6b];let _0x3e44b9=null,_0x3abbe0=null;for(const _0x45a5f7 of _0x243beb){const _0x12fa0=this[_0x5d6a38(0x206)](_0x45a5f7),_0x69b2c6=_0x45a5f7[_0x5d6a38(0x2c3)][_0x5d6a38(0x2b1)](_0x12fa0),_0x5d45f3=_0x1e62fd[_0x5d6a38(0x2da)](_0x69b2c6);_0x5d45f3&&_0x5d6a38(0x307)==_0x45a5f7[_0x5d6a38(0x31c)]&&(_0x3e44b9=Array[_0x5d6a38(0x232)](_0x5d45f3)[0x0],_0x3abbe0=_0x45a5f7[_0x5d6a38(0x2c3)][_0x5d6a38(0x2b1)](_0x5d6a38(0x2df))),_0x3e44b9&&(_0xf9d477[_0x5d6a38(0x30b)](_0x69b2c6,{'userId':_0x3e44b9}),_0x5773c9[_0x5d6a38(0x30b)](_0x69b2c6,{'userId':_0x3e44b9})),_0x69b2c6==_0x3abbe0&&(_0x3e44b9=null,_0x3abbe0=null);}}const _0x43829e={},_0x4de712=new Set();for(const _0x26f8e2 of _0x19da89){const _0x529b9a=_0x3e4ded[_0x5d6a38(0x26f)][_0x26f8e2],_0x2b3f8c=_0x3e4ded[_0x5d6a38(0x275)][_0x26f8e2];for(const {userId:_0x2c37c6}of this[_0x5d6a38(0x21a)][_0x5d6a38(0x2a5)]())null!==_0x2c37c6&&_0x4de712[_0x5d6a38(0x256)](_0x2c37c6);for(const {userId:_0x16fdfa}of this[_0x5d6a38(0x23d)][_0x5d6a38(0x2a5)]())null!==_0x16fdfa&&_0x4de712[_0x5d6a38(0x256)](_0x16fdfa);this[_0x5d6a38(0x273)](_0x2b3f8c,_0x52d222[_0x5d6a38(0x275)][_0x26f8e2],_0x5773c9,_0x5d6a38(0x227),_0x4de712),this[_0x5d6a38(0x273)](_0x529b9a,_0x52d222[_0x5d6a38(0x26f)][_0x26f8e2],_0xf9d477,_0x5d6a38(0x2f2),_0x4de712),_0x43829e[_0x26f8e2]={'insertions':this[_0x5d6a38(0x2e7)](_0x2b3f8c),'deletions':this[_0x5d6a38(0x2e7)](_0x529b9a),'attachChange':this[_0x5d6a38(0x23d)][_0x5d6a38(0x2da)](_0x26f8e2)||null,'attributesBefore':_0x43cf13(this[_0x5d6a38(0x205)][_0x5d6a38(0x2da)](_0x26f8e2))||{},'attributesAfter':_0x43cf13(this[_0x5d6a38(0x24c)][_0x5d6a38(0x2da)](_0x26f8e2))};}return{'diffData':_0x43829e,'authorsIds':Array[_0x5d6a38(0x232)](_0x4de712)};}[_0x57f00b(0x2a9)](_0x1a0383){const _0x357b5d=_0x57f00b;for(const [,_0x2a6443]of _0x1a0383[_0x357b5d(0x246)]){const _0x58e983=_0x2a6443[_0x357b5d(0x224)][_0x357b5d(0x30a)]()[_0x357b5d(0x23e)](_0x11c17f=>_0x357b5d(0x2bc)==_0x11c17f[_0x357b5d(0x322)]);for(const _0x162c53 of _0x58e983)0x1==_0x162c53[_0x357b5d(0x216)]&&_0x162c53[_0x357b5d(0x26b)](0x0)['is'](_0x357b5d(0x2fd),_0x357b5d(0x24b))&&_0x162c53[_0x357b5d(0x26b)](0x0)[_0x357b5d(0x2e1)](_0x357b5d(0x233),!0x0);}}[_0x57f00b(0x2e7)](_0x38b9c5){const _0x325964=_0x57f00b;this[_0x325964(0x2a9)](_0x38b9c5);const _0x18fe38=this[_0x325964(0x294)][_0x325964(0x20c)][_0x325964(0x2be)](_0x38b9c5,{}),_0xeba85f=Array[_0x325964(0x232)](_0x18fe38[_0x325964(0x1f2)]())[_0x325964(0x20a)](_0x5c95b8=>this[_0x325964(0x2e0)](_0x5c95b8));return JSON[_0x325964(0x252)](_0xeba85f);}[_0x57f00b(0x2e0)](_0x205af6){const _0x2a39c0=_0x57f00b;if(_0x205af6['is'](_0x2a39c0(0x22f)))return _0x205af6[_0x2a39c0(0x20c)];{const _0x454dde=this[_0x2a39c0(0x294)][_0x2a39c0(0x262)][_0x2a39c0(0x2da)](_0x2a39c0(0x2cd)),_0x10f62d=_0x205af6,_0x3492b7=this[_0x2a39c0(0x294)][_0x2a39c0(0x20c)][_0x2a39c0(0x221)][_0x2a39c0(0x2e5)],_0xeb1122={'type':_0x454dde[_0x2a39c0(0x245)](_0x10f62d),'name':_0x10f62d[_0x2a39c0(0x322)],'attributes':Array[_0x2a39c0(0x232)](_0x10f62d[_0x2a39c0(0x31d)]()),'children':Array[_0x2a39c0(0x232)](_0x10f62d[_0x2a39c0(0x1f2)]())[_0x2a39c0(0x20a)](_0x41dee9=>this[_0x2a39c0(0x2e0)](_0x41dee9))};if(_0x205af6['is'](_0x2a39c0(0x2b6))&&_0x2a39c0(0x217)!=_0x205af6[_0x2a39c0(0x322)]){const _0x343487=_0x205af6[_0x2a39c0(0x289)](_0x3492b7[_0x2a39c0(0x1fb)],_0x3492b7);_0xeb1122[_0x2a39c0(0x228)][_0x2a39c0(0x2c1)](_0x343487[_0x2a39c0(0x220)]);}else{if(_0x205af6['is'](_0x2a39c0(0x21f))){const _0x1cdbb2=_0x3492b7[_0x2a39c0(0x1fb)][_0x2a39c0(0x28a)](_0x10f62d[_0x2a39c0(0x322)]);_0x205af6[_0x2a39c0(0x289)](_0x1cdbb2,_0x3492b7),_0xeb1122[_0x2a39c0(0x228)][_0x2a39c0(0x2c1)](_0x1cdbb2[_0x2a39c0(0x2d2)]);}}const _0x4d964d=Array[_0x2a39c0(0x232)](_0x10f62d[_0x2a39c0(0x241)]());_0x4d964d[_0x2a39c0(0x2d4)]>0x0&&(_0xeb1122[_0x2a39c0(0x20e)]=_0x4d964d);const _0x1df480=_0x10f62d[_0x2a39c0(0x28b)]();return null!==_0x1df480&&(_0xeb1122[_0x2a39c0(0x25f)]=_0x1df480),_0xeb1122;}}[_0x57f00b(0x273)](_0x4ce6ec,_0x43cd50,_0x54bcd0,_0x21f276,_0x343b23){const _0x5290e1=_0x57f00b;let _0x6fc76e=null,_0x258493=null,_0x3a7cce=0x0;const _0x52e089=this[_0x5290e1(0x294)][_0x5290e1(0x2dc)];for(let _0x402595=0x0;_0x402595<_0x43cd50[_0x5290e1(0x2d4)];_0x402595++){const _0x49d42c=this[_0x5290e1(0x206)](_0x43cd50[_0x402595]),_0x508ec3=_0x43cd50[_0x402595][_0x5290e1(0x2c3)][_0x5290e1(0x2b1)](_0x49d42c),_0x3cb0c3=_0x54bcd0[_0x5290e1(0x2da)](_0x508ec3),_0x3faaae=_0x402595==_0x43cd50[_0x5290e1(0x2d4)]-0x1;(!_0x6fc76e&&_0x3cb0c3&&(_0x6fc76e=_0x3cb0c3,_0x258493=_0x43cd50[_0x402595]),_0x6fc76e&&(!_0x3cb0c3||_0x3cb0c3[_0x5290e1(0x258)]!=_0x6fc76e[_0x5290e1(0x258)]))&&(_0x5c889e(_0x3cb0c3,F(_0x258493,_0x4ce6ec,_0x52e089),F(_0x43cd50[_0x402595],_0x4ce6ec,_0x52e089)),_0x6fc76e=_0x3cb0c3||null,_0x258493=_0x3cb0c3?_0x43cd50[_0x402595]:null),_0x6fc76e&&_0x3faaae&&_0x5c889e(_0x3cb0c3,F(_0x258493,_0x4ce6ec,_0x52e089),B(_0x43cd50[_0x402595],_0x4ce6ec,_0x52e089));}function _0x5c889e(_0x172fa1,_0x4710ea,_0x597ace){const _0x1a71ef=_0x5290e1,_0x5e1036=_0x6fc76e[_0x1a71ef(0x258)],_0x2c2beb=_0x1a71ef(0x22a)+_0x21f276+':'+_0x5e1036+':'+_0x3a7cce++,_0x4ed9c3=_0x52e089[_0x1a71ef(0x2b3)](_0x4710ea,_0x597ace);_0x4ce6ec[_0x1a71ef(0x246)][_0x1a71ef(0x30b)](_0x2c2beb,_0x4ed9c3),null!==_0x5e1036&&_0x343b23[_0x1a71ef(0x256)](_0x5e1036);}}[_0x57f00b(0x206)](_0x57f178){const _0x34267f=_0x57f00b;switch(_0x57f178[_0x34267f(0x31c)]){case _0x34267f(0x307):return _0x34267f(0x1fc);case _0x34267f(0x308):return _0x34267f(0x2df);default:return _0x34267f(0x2ac);}}[_0x57f00b(0x314)](_0x540451,_0x439099){const _0x4fa253=_0x57f00b;_0x540451[_0x4fa253(0x296)]=null;for(const _0x3ce29b in _0x540451){const _0x1d578f=_0x540451[_0x3ce29b];if(_0x1d578f instanceof _0x2f85e9){const _0x4eb8cc=_0x439099[_0x4fa253(0x2da)](_0x1d578f[_0x4fa253(0x2f5)][_0x4fa253(0x25d)]);_0x540451[_0x3ce29b]=this[_0x4fa253(0x2c7)](_0x1d578f,_0x4eb8cc);}if(_0x1d578f instanceof _0x5ecce6){const _0x1042a5=_0x439099[_0x4fa253(0x2da)](_0x1d578f[_0x4fa253(0x2f5)][_0x4fa253(0x25d)]);_0x540451[_0x3ce29b]=this[_0x4fa253(0x251)](_0x1d578f,_0x1042a5);}_0x4fa253(0x2f5)===_0x3ce29b&&(_0x540451[_0x4fa253(0x2f5)]=_0x439099[_0x4fa253(0x2da)](_0x540451[_0x4fa253(0x2f5)][_0x4fa253(0x25d)]));}}[_0x57f00b(0x251)](_0x2db94d,_0x43f8fe){const _0x3bff8e=_0x57f00b;return this[_0x3bff8e(0x294)][_0x3bff8e(0x2dc)][_0x3bff8e(0x2b3)](this[_0x3bff8e(0x2c7)](_0x2db94d[_0x3bff8e(0x224)],_0x43f8fe),this[_0x3bff8e(0x2c7)](_0x2db94d[_0x3bff8e(0x1ea)],_0x43f8fe));}[_0x57f00b(0x2c7)](_0x81fa9a,_0x380e46){const _0x5392a7=_0x57f00b;return this[_0x5392a7(0x294)][_0x5392a7(0x2dc)][_0x5392a7(0x2de)](_0x380e46,_0x81fa9a[_0x5392a7(0x2a1)],_0x81fa9a[_0x5392a7(0x1ed)]);}[_0x57f00b(0x31b)](_0x429df5){const _0x1376e7=_0x57f00b,_0x1bd265=this[_0x1376e7(0x270)][_0x1376e7(0x2da)](_0x429df5[_0x1376e7(0x26c)][_0x1376e7(0x2f5)][_0x1376e7(0x25d)]),_0x58bc9f=this[_0x1376e7(0x2c7)](_0x429df5[_0x1376e7(0x26c)],_0x1bd265),_0x39168c=null===_0x429df5[_0x1376e7(0x259)]?null:_0x429df5[_0x1376e7(0x259)]||this[_0x1376e7(0x294)][_0x1376e7(0x262)][_0x1376e7(0x2da)](_0x1376e7(0x29f))['me']['id'],_0x4f0769=_0x58bc9f[_0x1376e7(0x312)],_0x461687=this[_0x1376e7(0x293)],_0x4fe9ab=[];for(const _0x3060e of _0x429df5[_0x1376e7(0x214)])if(_0x3060e['is'](_0x1376e7(0x2fd)))_0x4fe9ab[_0x1376e7(0x2c1)](this[_0x1376e7(0x238)](_0x3060e));else{for(let _0x189f5f=0x0;_0x189f5f<_0x3060e[_0x1376e7(0x2b9)];_0x189f5f++)_0x4fe9ab[_0x1376e7(0x2c1)](new _0x56e470(_0x1376e7(0x22f),{'vid':this[_0x1376e7(0x293)]++}));}const _0x25871b=this[_0x1376e7(0x293)];for(let _0x4ab32b=_0x461687;_0x4ab32b<_0x25871b;_0x4ab32b++)this[_0x1376e7(0x292)][_0x1376e7(0x30b)](_0x4ab32b,{'userId':_0x39168c});_0x4f0769[_0x1376e7(0x2ea)](_0x58bc9f[_0x1376e7(0x2c0)],_0x4fe9ab);}[_0x57f00b(0x237)](_0x491e72){const _0x10bef0=_0x57f00b;(_0x491e72=this[_0x10bef0(0x267)](_0x491e72,this[_0x10bef0(0x270)]))[_0x10bef0(0x20d)]();const _0x2d347b=null===_0x491e72[_0x10bef0(0x259)]?null:_0x491e72[_0x10bef0(0x259)]||this[_0x10bef0(0x294)][_0x10bef0(0x262)][_0x10bef0(0x2da)](_0x10bef0(0x29f))['me']['id'],_0x422be5=_0x491e72[_0x10bef0(0x229)](),_0xa9d776=_0x422be5[_0x10bef0(0x312)],_0x15ed6f=_0x422be5[_0x10bef0(0x2c0)];!function _0x426aa7(_0x3e5461,_0x4e7323,_0x323157,_0x2432c0){const _0x4239fd=_0x10bef0;for(let _0x2b1bd1=_0x323157;_0x2b1bd1<_0x2432c0;_0x2b1bd1++){const _0x498ae6=_0x4e7323[_0x4239fd(0x26b)](_0x2b1bd1);_0x498ae6['is'](_0x4239fd(0x2fd),_0x4239fd(0x22f))?_0x3e5461[_0x4239fd(0x30b)](_0x498ae6[_0x4239fd(0x2b1)](_0x4239fd(0x2ac)),{'userId':_0x2d347b}):(_0x3e5461[_0x4239fd(0x30b)](_0x498ae6[_0x4239fd(0x2b1)](_0x4239fd(0x1fc)),{'userId':_0x2d347b}),_0x426aa7(_0x3e5461,_0x498ae6,0x0,_0x498ae6[_0x4239fd(0x216)]),_0x3e5461[_0x4239fd(0x30b)](_0x498ae6[_0x4239fd(0x2b1)](_0x4239fd(0x2df)),{'userId':_0x2d347b}));}}(this[_0x10bef0(0x292)],_0xa9d776,_0x15ed6f,_0x15ed6f+_0x491e72[_0x10bef0(0x30f)]);}[_0x57f00b(0x2d7)](_0x29692b){const _0xae8f0b=_0x57f00b,_0x2ef86c=null===(_0x29692b=this[_0xae8f0b(0x267)](_0x29692b,this[_0xae8f0b(0x270)]))[_0xae8f0b(0x259)]?null:_0x29692b[_0xae8f0b(0x259)]||this[_0xae8f0b(0x294)][_0xae8f0b(0x262)][_0xae8f0b(0x2da)](_0xae8f0b(0x29f))['me']['id'],_0x56f952=_0x29692b[_0xae8f0b(0x283)][_0xae8f0b(0x312)],_0xb9ea6d=_0x29692b[_0xae8f0b(0x297)][_0xae8f0b(0x312)],_0x3cba82=_0x56f952[_0xae8f0b(0x2b1)](_0xae8f0b(0x2df)),_0x597602=_0xb9ea6d[_0xae8f0b(0x2b1)](_0xae8f0b(0x1fc));_0x56f952[_0xae8f0b(0x2e1)](_0xae8f0b(0x2df),_0xb9ea6d[_0xae8f0b(0x2b1)](_0xae8f0b(0x2df))),_0xb9ea6d[_0xae8f0b(0x2e1)](_0xae8f0b(0x2df),_0x3cba82),this[_0xae8f0b(0x292)][_0xae8f0b(0x30b)](_0x597602,{'userId':_0x2ef86c}),this[_0xae8f0b(0x292)][_0xae8f0b(0x30b)](_0x3cba82,{'userId':_0x2ef86c}),_0x29692b[_0xae8f0b(0x20d)]();}[_0x57f00b(0x2db)](_0xda12bd){const _0x5cc311=_0x57f00b,_0x4705d0=null===(_0xda12bd=this[_0x5cc311(0x267)](_0xda12bd,this[_0x5cc311(0x270)]))[_0x5cc311(0x259)]?null:_0xda12bd[_0x5cc311(0x259)]||this[_0x5cc311(0x294)][_0x5cc311(0x262)][_0x5cc311(0x2da)](_0x5cc311(0x29f))['me']['id'],_0x34174e=_0xda12bd[_0x5cc311(0x31f)],_0x3b16cb=_0xda12bd[_0x5cc311(0x290)][_0x5cc311(0x312)];_0xda12bd[_0x5cc311(0x20d)]();const _0x1ea971=_0x3b16cb[_0x5cc311(0x2b1)](_0x5cc311(0x2df)),_0x5b6722=_0xda12bd[_0x5cc311(0x2e6)][_0x5cc311(0x30e)];if(_0x34174e){const _0x42977e=_0x5b6722[_0x5cc311(0x2b1)](_0x5cc311(0x2df)),_0x543358=_0x3b16cb[_0x5cc311(0x2b1)](_0x5cc311(0x2df));_0x3b16cb[_0x5cc311(0x2e1)](_0x5cc311(0x2df),_0x42977e),_0x5b6722[_0x5cc311(0x2e1)](_0x5cc311(0x2df),_0x543358),this[_0x5cc311(0x292)][_0x5cc311(0x30b)](_0x3b16cb[_0x5cc311(0x2b1)](_0x5cc311(0x2df)),{'userId':_0x4705d0}),this[_0x5cc311(0x292)][_0x5cc311(0x30b)](_0x5b6722[_0x5cc311(0x2b1)](_0x5cc311(0x1fc)),{'userId':_0x4705d0});}else{const _0x2407c1=this[_0x5cc311(0x293)]++,_0x4a0d97=this[_0x5cc311(0x293)]++;_0x3b16cb[_0x5cc311(0x2e1)](_0x5cc311(0x2df),_0x2407c1),_0x5b6722[_0x5cc311(0x2e1)](_0x5cc311(0x1fc),_0x4a0d97),_0x5b6722[_0x5cc311(0x2e1)](_0x5cc311(0x2df),_0x1ea971),this[_0x5cc311(0x292)][_0x5cc311(0x30b)](_0x2407c1,{'userId':_0x4705d0}),this[_0x5cc311(0x292)][_0x5cc311(0x30b)](_0x4a0d97,{'userId':_0x4705d0});}}[_0x57f00b(0x2d6)](_0x4a64ee){const _0x3abffb=_0x57f00b;if(!_0x4a64ee[_0x3abffb(0x24f)])return;const _0x14d4a9=(_0x4a64ee=this[_0x3abffb(0x267)](_0x4a64ee,this[_0x3abffb(0x2b8)]))[_0x3abffb(0x295)]?_0x4a64ee[_0x3abffb(0x295)][_0x3abffb(0x2f5)]:null,_0x4723c9=_0x4a64ee[_0x3abffb(0x265)]?_0x4a64ee[_0x3abffb(0x265)][_0x3abffb(0x2f5)]:null;_0x14d4a9&&this[_0x3abffb(0x23b)][_0x3abffb(0x319)](_0x4a64ee[_0x3abffb(0x322)]),_0x4723c9&&this[_0x3abffb(0x23b)][_0x3abffb(0x30b)](_0x4a64ee[_0x3abffb(0x322)],_0x4a64ee[_0x3abffb(0x265)][_0x3abffb(0x2f9)]());const _0x1fe756=null===_0x4a64ee[_0x3abffb(0x259)]?null:_0x4a64ee[_0x3abffb(0x259)]||this[_0x3abffb(0x294)][_0x3abffb(0x262)][_0x3abffb(0x2da)](_0x3abffb(0x29f))['me']['id'],_0x3d4c83=_0x4a64ee[_0x3abffb(0x322)];if(!this[_0x3abffb(0x21a)][_0x3abffb(0x222)](_0x3d4c83))return void this[_0x3abffb(0x21a)][_0x3abffb(0x30b)](_0x3d4c83,{'range':_0x4a64ee[_0x3abffb(0x295)],'userId':_0x1fe756});const _0xa4aed2=this[_0x3abffb(0x21a)][_0x3abffb(0x2da)](_0x3d4c83),_0x561d37=_0xa4aed2[_0x3abffb(0x2bd)],_0x56a257=_0x4a64ee[_0x3abffb(0x265)];null==_0x561d37&&null==_0x56a257||_0x561d37&&_0x56a257&&_0x561d37[_0x3abffb(0x255)](_0x56a257)?this[_0x3abffb(0x21a)][_0x3abffb(0x319)](_0x4a64ee[_0x3abffb(0x322)]):_0xa4aed2[_0x3abffb(0x258)]=_0x1fe756;}[_0x57f00b(0x2a4)](_0x5bb05b,_0x3b6233){const _0x42a98c=_0x57f00b;this[_0x42a98c(0x2b8)][_0x42a98c(0x222)](_0x5bb05b[_0x42a98c(0x25d)])?this[_0x42a98c(0x2b8)][_0x42a98c(0x2da)](_0x5bb05b[_0x42a98c(0x25d)])[_0x42a98c(0x28e)]=_0x5bb05b[_0x42a98c(0x23c)]:(this[_0x42a98c(0x2b8)][_0x42a98c(0x30b)](_0x5bb05b[_0x42a98c(0x25d)],P(_0x5bb05b[_0x42a98c(0x25d)],!0x0)),this[_0x42a98c(0x24c)][_0x42a98c(0x30b)](_0x5bb05b[_0x42a98c(0x25d)],{}),_0x3b6233&&this[_0x42a98c(0x270)][_0x42a98c(0x30b)](_0x5bb05b[_0x42a98c(0x25d)],P(_0x5bb05b[_0x42a98c(0x25d)],!0x0)));const _0x5a37e6=null===_0x5bb05b[_0x42a98c(0x259)]?null:_0x5bb05b[_0x42a98c(0x259)]||this[_0x42a98c(0x294)][_0x42a98c(0x262)][_0x42a98c(0x2da)](_0x42a98c(0x29f))['me']['id'],_0x27f4e7=this[_0x42a98c(0x23d)][_0x42a98c(0x2da)](_0x5bb05b[_0x42a98c(0x25d)]);_0x27f4e7&&_0x27f4e7[_0x42a98c(0x258)]===_0x5a37e6?this[_0x42a98c(0x23d)][_0x42a98c(0x319)](_0x5bb05b[_0x42a98c(0x25d)]):this[_0x42a98c(0x23d)][_0x42a98c(0x30b)](_0x5bb05b[_0x42a98c(0x25d)],{'userId':_0x5a37e6,'isAttached':_0x5bb05b[_0x42a98c(0x23c)]});}[_0x57f00b(0x23f)](_0x1ae43f){const _0x5a294a=_0x57f00b,_0x294174=this[_0x5a294a(0x24c)][_0x5a294a(0x2da)](_0x1ae43f[_0x5a294a(0x2f5)][_0x5a294a(0x25d)]);null===_0x1ae43f[_0x5a294a(0x1f5)]?delete _0x294174[_0x1ae43f[_0x5a294a(0x2c2)]]:_0x294174[_0x1ae43f[_0x5a294a(0x2c2)]]=_0x1ae43f[_0x5a294a(0x1f5)];}}function N(_0x426f94){const _0x4e28fe=_0x57f00b,_0x513885=P(_0x426f94[_0x4e28fe(0x25d)],_0x426f94[_0x4e28fe(0x2a3)]());for(const _0x69ef1f of _0x426f94[_0x4e28fe(0x1f2)]()){const _0x21b336=_0x69ef1f[_0x4e28fe(0x317)](!0x0);_0x513885[_0x4e28fe(0x1f9)](_0x21b336);}return _0x513885;}function P(_0x5c0c3e,_0x23e5aa=!0x0){const _0x13ef8b=_0x57f00b,_0x2963d7=new _0x76dbdf();return _0x2963d7[_0x13ef8b(0x25d)]=_0x5c0c3e,_0x2963d7[_0x13ef8b(0x28e)]=_0x23e5aa,_0x2963d7[_0x13ef8b(0x2a3)]=()=>_0x2963d7[_0x13ef8b(0x28e)],_0x2963d7;}function F(_0xf9cb8f,_0x117522,_0x594658){const _0x3bc280=_0x57f00b,_0x2cbd24=_0x3bc280(0x308)==_0xf9cb8f[_0x3bc280(0x31c)]?_0x594658[_0x3bc280(0x235)](_0xf9cb8f[_0x3bc280(0x2c3)],_0x3bc280(0x1ea)):_0x594658[_0x3bc280(0x1f3)](_0xf9cb8f[_0x3bc280(0x2c3)]);return _0x594658[_0x3bc280(0x2de)](_0x117522,_0x2cbd24[_0x3bc280(0x2a1)],_0x2cbd24[_0x3bc280(0x1ed)]);}function B(_0x4b8ebd,_0x1039a8,_0x4bc377){const _0x4c19e4=_0x57f00b,_0x42804b=_0x4c19e4(0x307)==_0x4b8ebd[_0x4c19e4(0x31c)]?_0x4bc377[_0x4c19e4(0x235)](_0x4b8ebd[_0x4c19e4(0x2c3)],0x0):_0x4bc377[_0x4c19e4(0x302)](_0x4b8ebd[_0x4c19e4(0x2c3)]);return _0x4bc377[_0x4c19e4(0x2de)](_0x1039a8,_0x42804b[_0x4c19e4(0x2a1)],_0x42804b[_0x4c19e4(0x1ed)]);}
|
package/src/revisionviewer.d.ts
CHANGED
|
@@ -10,14 +10,13 @@ import { ContextualBalloon } from 'ckeditor5/src/ui.js';
|
|
|
10
10
|
import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
11
11
|
import ChangeDetailsView from './ui/revisionviewer/changedetailsview.js';
|
|
12
12
|
import RevisionsRepository from './revisionsrepository.js';
|
|
13
|
+
import RevisionHistoryUtils from './revisionhistoryutils.js';
|
|
13
14
|
import ChangeItem from './changeitem.js';
|
|
14
15
|
import { default as RevisionDiff } from './revisiondiff.js';
|
|
15
16
|
import '../theme/revisionviewer.css';
|
|
16
|
-
import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
|
|
17
17
|
import type { default as Revision, RevisionJSON } from './revision.js';
|
|
18
18
|
export default class RevisionViewer extends Plugin {
|
|
19
19
|
repository: RevisionsRepository;
|
|
20
|
-
adapter: RevisionHistoryAdapter | null;
|
|
21
20
|
/**
|
|
22
21
|
* @observable
|
|
23
22
|
*/
|
|
@@ -59,14 +58,49 @@ export default class RevisionViewer extends Plugin {
|
|
|
59
58
|
* @inheritDoc
|
|
60
59
|
*/
|
|
61
60
|
static get isPremiumPlugin(): true;
|
|
62
|
-
static get requires(): readonly [typeof Users, typeof ContextualBalloon, typeof RevisionsRepository];
|
|
61
|
+
static get requires(): readonly [typeof Users, typeof ContextualBalloon, typeof RevisionsRepository, typeof RevisionHistoryUtils];
|
|
63
62
|
constructor(editor: Editor);
|
|
64
63
|
init(): void;
|
|
65
|
-
|
|
64
|
+
/**
|
|
65
|
+
* Returns document data for given revision.
|
|
66
|
+
*
|
|
67
|
+
* The document data is HTML or a different format, depending on the editor configuration.
|
|
68
|
+
*
|
|
69
|
+
* This method returns a promise which resolves with an object, where keys are root names and values are these roots' data. Most
|
|
70
|
+
* editor setups use just one root, which has the default name `main`. In this case, the promise will resolve with an object
|
|
71
|
+
* similar to this:
|
|
72
|
+
*
|
|
73
|
+
* ```ts
|
|
74
|
+
* { main: "<p>Sample document data.</p>" }
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* If the adapter integration is used, this method will automatically load necessary
|
|
78
|
+
* {@link module:revision-history/revision~Revision#diffData `Revision#diffData`} if it is missing.
|
|
79
|
+
*
|
|
80
|
+
* Please note, that the data returned by this method uses
|
|
81
|
+
* {@link module:engine/dataprocessor/dataprocessor~DataProcessor#useFillerType marked fillers mode}. This means that some ` `
|
|
82
|
+
* characters in the returned data may be wrapped with `<span data-cke-filler="true"> </span>`. Take this difference into
|
|
83
|
+
* consideration if you plan to compare revision data with the data returned by `editor.getData()`.
|
|
84
|
+
*
|
|
85
|
+
* See also {@link module:revision-history/revisionviewer~RevisionViewer#getRevisionRootsAttributes}.
|
|
86
|
+
*/
|
|
87
|
+
getRevisionDocumentData(revision: Revision): Promise<Record<string, string>>;
|
|
88
|
+
/**
|
|
89
|
+
* Returns roots attributes for given revision.
|
|
90
|
+
*
|
|
91
|
+
* This method returns a promise which resolves with an object, where keys are root names and values are these roots' attributes.
|
|
92
|
+
* Most editor setups use just one root, which has the default name `main`. In this case, the promise will resolve with an object
|
|
93
|
+
* similar to this:
|
|
94
|
+
*
|
|
95
|
+
* ```ts
|
|
96
|
+
* { main: {} }
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* See also {@link module:revision-history/revisionviewer~RevisionViewer#getRevisionDocumentData}.
|
|
100
|
+
*/
|
|
66
101
|
getRevisionRootsAttributes(revision: Revision): Promise<Record<string, Record<string, unknown>>>;
|
|
67
102
|
compare(newRevisionOrId: Revision | string, oldRevisionOrId: Revision | string, forceCompare?: boolean): Promise<unknown>;
|
|
68
103
|
addRevisionData(revisionData: RevisionJSON, updateCallback: (updateObj: RevisionJSON, isFromAdapter: boolean, revision: Revision) => void): Revision;
|
|
69
|
-
loadRevisionData(revision: Revision): Promise<any>;
|
|
70
104
|
private _removeMissingPairs;
|
|
71
105
|
}
|
|
72
106
|
export declare class RestoreRevisionCommand extends Command {
|