@ckeditor/ckeditor5-revision-history 44.3.0 → 45.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _0x37e4d7=_0x5aab;(function(_0x3c7c14,_0x27b929){const _0x501744=_0x5aab,_0x39add0=_0x3c7c14();while(!![]){try{const _0x319bc5=parseInt(_0x501744(0xda))/0x1+-parseInt(_0x501744(0xcb))/0x2+parseInt(_0x501744(0x194))/0x3+-parseInt(_0x501744(0x8a))/0x4+-parseInt(_0x501744(0x83))/0x5+parseInt(_0x501744(0xb6))/0x6*(parseInt(_0x501744(0x16e))/0x7)+parseInt(_0x501744(0xd2))/0x8*(parseInt(_0x501744(0xb4))/0x9);if(_0x319bc5===_0x27b929)break;else _0x39add0['push'](_0x39add0['shift']());}catch(_0x552bdf){_0x39add0['push'](_0x39add0['shift']());}}}(_0x5c78,0xbfb75));import{Users as _0x478815}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5aab(_0x373374,_0x302ebb){const _0x5c78f7=_0x5c78();return _0x5aab=function(_0x5aabed,_0x26c186){_0x5aabed=_0x5aabed-0x69;let _0x3ebecf=_0x5c78f7[_0x5aabed];return _0x3ebecf;},_0x5aab(_0x373374,_0x302ebb);}import{Plugin as _0x4768bf,PendingActions as _0x2aecb5}from'ckeditor5/src/core.js';import{logWarning as _0x5b544d,uid as _0x2b1791}from'ckeditor5/src/utils.js';import{Position as _0x11d37c,Range as _0xb51349,Element as _0x44b2d6,DocumentFragment as _0x198715}from'ckeditor5/src/engine.js';import _0x125b71 from'./revisionsrepository.js';import _0x3e036b from'./revisionhistoryutils.js';import{getTranslation as _0xe20d2c}from'./utils/common-translations.js';function _0x5c78(){const _0x148361=['from','getAttributes','_handleSplitOperation','_savedMetaData','insert','revisionHistory.resumeUnsavedRevision','revisionHistoryLicenseKeyEvaluationLimit','RealTimeCollaborationClient','_insertChild','roots','clone','sendBufferedUpdates','then','setRevisionData','item','_isPendingUpdate','_baseRootsAttributes','getWalker','_getState','_touchedMarkers','revisionHistoryLicenseKeyTrialLimit','newRange','_handleRootOperation','attachChange','_getTypeCharForViewElement','_authorId','shift','find','expired','for','editor','howMany','isAttached','saveRevision','baseVersion','affectsData','attributesBefore','createElement','insertionPosition','_createInitialRevision','getTime','Users','toVersion','PendingActions','_initialRevisionId','innerHTML','locale','root','isAdd','ready','updateRevisions','loadState','_generateTape','_setConversion','initial','_operations','revisionHistoryLicenseKeyInvalid','editor-initial-data-replaced-with-revision-data','_update','_addPendingAction','NEGATIVE_INFINITY','clear','nodeAfter','attributesAfter','uiElement','splitPosition','featureNotAllowed','RevisionTracker','plugins','destroy','size','sourcePosition','split','childCount','vid','_clone','RevisionHistory','revisionHistoryLicenseKeyValid','vid_end','_getFromVersion','_transformMarkers','_touched','paragraph','fromVersion','revisionHistoryLicenseKeyNotAllowed','RevisionsRepository','authorsIds','_setAttribute','134659VHUgSU','createPositionFromPath','_copyMarkers','keepParagraph','vid_start','createRangeIn','define','getAttribute','graveyardPosition','_calculateMetaData','markers','_findInsertionIndex','update','slice','licenseKey','rawElement','_isAttached','invalid','getRevisionRootsAttributes','getTransformedByOperation','_saveMetaData','_baseRoots','conversion','PENDING_ACTION_REVISION_HISTORY','stringify','max','length','trim','start','getRevisionDocumentData','_diffRoots','move','getNodeByPath','merge','includes','deletions','has','sort','1800156jihSVy','source','filter','get','insertions','_applyOperations','bind','_removePendingAction','Initial\x20revision','children','RevisionHistoryUtils','_removeMetaData','_handleMoveOperation','_licenseKeyCheckInterval','_createFromRanges','createdAt','add','render','_handleMergeOperation','addRoot','_lastFrom','offsetSize','deletion','createRevision','_createCurrentRevision','reInit','authors','getChild','reverse','createPositionBefore','_loadState','rootName','_makeModelFromViewString','insertion','rootsAttributes','string','_fixPosition','elementStart','remove','loadRevisionData','_showLicenseError','map','path','offset','document','delete','set','targetPosition','_startingVersion','1507055xzcDwm','push','_lastTo','name','isOfficialPlugin','getMovedRangeStart','removeRootAttribute','4294832cuthlh','data','$text','isPremiumPlugin','_makeRevision','_reset','getChildren','_isInit','_replaceEditorDataWithRevisionData','Empty\x20document','position','_touchedRoots','keys','reinsert','getRevisions','buildRevisionData','domainLimit','revision:','elementEnd','$graveyard','requires','_makeIdsRoot','pluginName','resolve','addRootAttribute','_startingRevisionId','_handleMarkerOperation','model','oldRange','_continueCurrentRevision','end','trialLimit','_processRootBeforeSave','createRange','_fixOperation','createPositionAfter','getRevision','_appendChild','stickiness','_prepareViewToSave','init','_handleRootAttributeOperation','9ZdDpIH','parent','60NrclgR','getRootNames','createPositionAt','afterInit','upcast','revisionHistoryLicenseKeyExpired','key','marker','_handleInsertOperation','usageLimit','range','fillerOffset','isEqual','evaluationLimit','getRoot','_pendingAction','isReady','getIndex','_utils','getData','adapter','32734QxoxWM','hasContent','_bufferUpdate','isEnabled','some','_baseIdsRoots','config','6202328BxeAeI','version','customProperties','getRange','setSource','getFillerOffset','revisionHistoryLicenseKeyDomainLimit','diffData','609042QhJalW','dataDowncast','startsWith','_diffRootsAttributes','_fixRange','creator','element','htmlProcessor','userId','_bufferedUpdates','creatorId','changeRootAttribute','addRevisionData','toView','getUser','_loadedStateData','addRevision','finally','getLatestVersion','values','domDocument','revisionHistoryLicenseKeyUsageLimit','nodes','_idsRoots','$comment','outerHTML','_getViewJson','_handleOperation','_markers','dataToMarker','_markChanges','fromEntries','documentFragment','_getBaseVids','getCustomProperties','newValue','revision','currentRevision','type','_revisionDataBuilder','getAncestors','_cloneOperation','_revisionId','_source','detachRoot','getOperations','tableCell','text','_getPreviousFrom','repository','domConverter','previousPosition','markerToData','collaboration.channelId','initialData','getCurrentRevisionId','getOperation','_getVidAttributeName','_execute','history'];_0x5c78=function(){return _0x148361;};return _0x5c78();}import{cloneDeep as _0x48e46d,isEqual as _0x2a4305}from'es-toolkit/compat';export default class u extends _0x4768bf{[_0x37e4d7(0x17c)];[_0x37e4d7(0x1a1)];[_0x37e4d7(0xff)]=null;[_0x37e4d7(0x10b)];[_0x37e4d7(0xca)]=null;[_0x37e4d7(0x101)];[_0x37e4d7(0x105)];[_0x37e4d7(0x142)];[_0x37e4d7(0xe3)];[_0x37e4d7(0xc8)];[_0x37e4d7(0xc5)];[_0x37e4d7(0xa7)];[_0x37e4d7(0x82)];[_0x37e4d7(0xe9)];static get[_0x37e4d7(0xa0)](){const _0x57b9e9=_0x37e4d7;return _0x57b9e9(0x159);}static get[_0x37e4d7(0x87)](){return!0x0;}static get[_0x37e4d7(0x8d)](){return!0x0;}static get[_0x37e4d7(0x9e)](){return[_0x478815,_0x125b71,_0x3e036b,_0x2aecb5];}constructor(_0x1fc277){const _0x1aacbe=_0x37e4d7;super(_0x1fc277),this[_0x1aacbe(0x10b)]=this[_0x1aacbe(0x134)][_0x1aacbe(0x15a)][_0x1aacbe(0x197)](_0x1aacbe(0x16b)),this[_0x1aacbe(0xc8)]=this[_0x1aacbe(0x134)][_0x1aacbe(0x15a)][_0x1aacbe(0x197)](_0x1aacbe(0x19e)),this[_0x1aacbe(0x101)]=new x(this[_0x1aacbe(0x134)]),this[_0x1aacbe(0x142)]=this[_0x1aacbe(0x134)][_0x1aacbe(0xd1)][_0x1aacbe(0x197)](_0x1aacbe(0x10f))||_0x1aacbe(0x14c),this[_0x1aacbe(0xe3)]=new Map(),this[_0x1aacbe(0xe9)]=null;const _0x202ca8=_0x2b1791();this[_0x1aacbe(0x105)]={'history':this[_0x1aacbe(0x134)][_0x1aacbe(0xa5)][_0x1aacbe(0x7e)][_0x1aacbe(0x115)],'getLatestVersion':()=>Promise[_0x1aacbe(0xa1)](this[_0x1aacbe(0x134)][_0x1aacbe(0xa5)][_0x1aacbe(0x7e)][_0x1aacbe(0xd3)]),'getCurrentRevisionId':()=>_0x202ca8},this[_0x1aacbe(0x80)](_0x1aacbe(0xc6),!0x1),this[_0x1aacbe(0x80)](_0x1aacbe(0xce),!0x0),this[_0x1aacbe(0x80)](_0x1aacbe(0x125),!0x1),this[_0x1aacbe(0x134)][_0x1aacbe(0xd1)][_0x1aacbe(0x174)](_0x1aacbe(0x11b),!0x0),this[_0x1aacbe(0x134)][_0x1aacbe(0x184)][_0x1aacbe(0x133)](_0x1aacbe(0xba))[_0x1aacbe(0xf7)]({'view':_0x1aacbe(0xfe)});}[_0x37e4d7(0xb2)](){const _0x2c6edf=_0x37e4d7;this[_0x2c6edf(0x14b)](),this[_0x2c6edf(0x134)][_0x2c6edf(0x8b)]['on'](_0x2c6edf(0x147),()=>{const _0x4b4e60=_0x2c6edf,_0x386a6b=this[_0x4b4e60(0x10b)][_0x4b4e60(0xae)](0x0),_0x3189fe=_0x386a6b&&null===_0x386a6b[_0x4b4e60(0xdf)]?_0x386a6b:null;if(this[_0x4b4e60(0xa7)]=!!_0x3189fe&&this[_0x4b4e60(0x134)][_0x4b4e60(0xd1)][_0x4b4e60(0x197)](_0x4b4e60(0x11b)),this[_0x4b4e60(0x134)][_0x4b4e60(0x15a)][_0x4b4e60(0x192)](_0x4b4e60(0x11d))){const _0x315149=this[_0x4b4e60(0x105)][_0x4b4e60(0x111)](),_0x2b8c60=this[_0x4b4e60(0x10b)][_0x4b4e60(0xae)](_0x315149);if(_0x2b8c60)this[_0x4b4e60(0x82)]=_0x2b8c60[_0x4b4e60(0x169)],this[_0x4b4e60(0xa7)]=!0x1;else{const _0x449422=this[_0x4b4e60(0x105)][_0x4b4e60(0x115)][_0x4b4e60(0x14d)][_0x4b4e60(0x131)](_0x2a52ff=>!_0x2a52ff[_0x4b4e60(0x91)]),_0x26e072=_0x449422?_0x449422[_0x4b4e60(0x138)]:this[_0x4b4e60(0x105)][_0x4b4e60(0x115)][_0x4b4e60(0xd3)];_0x386a6b?(_0x386a6b[_0x4b4e60(0x140)]<_0x26e072&&_0x386a6b[_0x4b4e60(0x150)]({'toVersion':_0x26e072}),this[_0x4b4e60(0xa7)]?(this[_0x4b4e60(0x105)][_0x4b4e60(0x111)]=()=>_0x3189fe['id'],this[_0x4b4e60(0x82)]=_0x3189fe[_0x4b4e60(0x169)]):(this[_0x4b4e60(0x82)]=_0x386a6b[_0x4b4e60(0x140)],this[_0x4b4e60(0xa7)]=!0x1)):(this[_0x4b4e60(0x82)]=_0x26e072,this[_0x4b4e60(0xa7)]=!0x1);}}else _0x3189fe&&(this[_0x4b4e60(0x134)][_0x4b4e60(0xa5)][_0x4b4e60(0x7e)][_0x4b4e60(0x115)][_0x4b4e60(0xd3)]=Math[_0x4b4e60(0x187)](_0x3189fe[_0x4b4e60(0x140)],this[_0x4b4e60(0x134)][_0x4b4e60(0xa5)][_0x4b4e60(0x7e)][_0x4b4e60(0x115)][_0x4b4e60(0xd3)]),_0x3189fe[_0x4b4e60(0x169)]===_0x3189fe[_0x4b4e60(0x140)]?(0x0!==_0x3189fe[_0x4b4e60(0x169)]&&(this[_0x4b4e60(0x105)][_0x4b4e60(0x111)]=()=>_0x3189fe['id']),this[_0x4b4e60(0xa7)]=!0x1):this[_0x4b4e60(0xa7)]&&(this[_0x4b4e60(0x105)][_0x4b4e60(0x111)]=()=>_0x3189fe['id'],this[_0x4b4e60(0x82)]=_0x3189fe[_0x4b4e60(0x169)])),this[_0x4b4e60(0xa7)]||(this[_0x4b4e60(0x82)]=this[_0x4b4e60(0x134)][_0x4b4e60(0xa5)][_0x4b4e60(0x7e)][_0x4b4e60(0xd3)]);this[_0x4b4e60(0x101)][_0x4b4e60(0xb2)](this[_0x4b4e60(0x105)][_0x4b4e60(0x115)]),this[_0x4b4e60(0x13d)](this[_0x4b4e60(0x82)]),this[_0x4b4e60(0x6a)](this[_0x4b4e60(0x82)]),this[_0x4b4e60(0xca)]&&this[_0x4b4e60(0x121)]();}),this[_0x2c6edf(0x19a)](_0x2c6edf(0xc6))['to'](this,_0x2c6edf(0x125),_0x4896a3=>!_0x4896a3),this[_0x2c6edf(0x17c)]=this[_0x2c6edf(0x134)][_0x2c6edf(0xd1)][_0x2c6edf(0x197)](_0x2c6edf(0x17c));const _0x2aea5d=this[_0x2c6edf(0x134)];this[_0x2c6edf(0x1a1)]=setInterval(()=>{const _0x3a68e3=_0x2c6edf;let _0x17938f;for(const _0x1f30e9 in _0x2aea5d){const _0x52c4c5=_0x1f30e9,_0x33d58c=_0x2aea5d[_0x52c4c5];if(_0x3a68e3(0x163)==_0x33d58c||_0x3a68e3(0x14e)==_0x33d58c||_0x3a68e3(0xbb)==_0x33d58c||_0x3a68e3(0xd8)==_0x33d58c||_0x3a68e3(0x16a)==_0x33d58c||_0x3a68e3(0x11c)==_0x33d58c||_0x3a68e3(0x12a)==_0x33d58c||_0x3a68e3(0xef)==_0x33d58c){delete _0x2aea5d[_0x52c4c5],_0x17938f=_0x33d58c,clearInterval(this[_0x3a68e3(0x1a1)]),this[_0x3a68e3(0x1a1)]=void 0x0;break;}}_0x3a68e3(0x14e)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0x17f)),_0x3a68e3(0xbb)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0x132)),_0x3a68e3(0xd8)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0x9a)),_0x3a68e3(0x16a)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0x158),_0x3a68e3(0x162)),_0x3a68e3(0x11c)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0xc3)),_0x3a68e3(0x12a)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0xa9)),_0x3a68e3(0xef)==_0x17938f&&_0x2aea5d[_0x3a68e3(0x7a)](_0x3a68e3(0xbf));},0x3e8);}async[_0x37e4d7(0xb9)](){const _0x3706cc=_0x37e4d7;if(this[_0x3706cc(0x10b)][_0x3706cc(0x188)]>0x0){const _0x214711=this[_0x3706cc(0x10b)][_0x3706cc(0xae)](0x0),_0x3cb6da=await this[_0x3706cc(0x18b)](_0x214711),_0x1455f4=await this[_0x3706cc(0x180)](_0x214711);this[_0x3706cc(0x92)](_0x3cb6da,_0x1455f4);}}[_0x37e4d7(0x15b)](){const _0x11b067=_0x37e4d7;super[_0x11b067(0x15b)](),this[_0x11b067(0x1a1)]&&clearInterval(this[_0x11b067(0x1a1)]);}[_0x37e4d7(0xd6)](_0x3f3af7){const _0x2cd806=_0x37e4d7;this[_0x2cd806(0x105)]=_0x3f3af7;}async[_0x37e4d7(0x17a)](){const _0x44b5b0=_0x37e4d7,_0xdf87cb=await this[_0x44b5b0(0x105)][_0x44b5b0(0xec)]();if(_0xdf87cb>this[_0x44b5b0(0xff)][_0x44b5b0(0x140)]){await this[_0x44b5b0(0x70)]();const _0x4b1e0c=this[_0x44b5b0(0x99)]({'revision':this[_0x44b5b0(0xff)],'to':_0xdf87cb});_0x4b1e0c[_0x44b5b0(0x6c)]=_0x4b1e0c[_0x44b5b0(0x16c)][_0x44b5b0(0x7b)](_0x4c9abc=>this[_0x44b5b0(0x134)][_0x44b5b0(0x15a)][_0x44b5b0(0x197)](_0x44b5b0(0x13f))[_0x44b5b0(0xe8)](_0x4c9abc)),this[_0x44b5b0(0xff)][_0x44b5b0(0x150)](_0x4b1e0c);}}async[_0x37e4d7(0x137)](_0x5b7a67={},_0x2a030b=null){const _0x9fb8be=_0x37e4d7,_0x229e2c=[];await this[_0x9fb8be(0x70)](),this[_0x9fb8be(0xa7)]=!0x1,_0x2a030b>this[_0x9fb8be(0xff)][_0x9fb8be(0x140)]&&(_0x2a030b=null),null===_0x2a030b&&(_0x2a030b=await this[_0x9fb8be(0x105)][_0x9fb8be(0xec)]());const _0x51ecf4=this[_0x9fb8be(0x165)](_0x2a030b),_0x42ffdc=this[_0x9fb8be(0x99)]({'from':_0x51ecf4,'to':_0x2a030b});if(this[_0x9fb8be(0xff)][_0x9fb8be(0x140)]<_0x2a030b){const _0x2768e8=this[_0x9fb8be(0x99)]({'revision':this[_0x9fb8be(0xff)],'from':_0x2a030b,'to':_0x2a030b});_0x2768e8[_0x9fb8be(0x6c)]=[],_0x2768e8[_0x9fb8be(0x16c)]=[],_0x2768e8['id']=this[_0x9fb8be(0xff)]['id'],this[_0x9fb8be(0xff)][_0x9fb8be(0x150)](_0x2768e8,!0x0),delete _0x2768e8[_0x9fb8be(0x6c)],_0x229e2c[_0x9fb8be(0x84)](_0x2768e8);}_0x5b7a67[_0x9fb8be(0xe4)]=this[_0x9fb8be(0x134)][_0x9fb8be(0x15a)][_0x9fb8be(0x197)](_0x9fb8be(0x13f))['me']['id'],_0x5b7a67[_0x9fb8be(0x86)]=_0x5b7a67[_0x9fb8be(0x86)]||null,_0x5b7a67['id']=_0x5b7a67['id']||_0x2b1791(),_0x5b7a67={..._0x5b7a67,..._0x42ffdc};const _0xa3c415=this[_0x9fb8be(0xe6)](_0x5b7a67);_0x229e2c[_0x9fb8be(0x84)](_0x5b7a67);const _0x1361b4=this[_0x9fb8be(0x10b)][_0x9fb8be(0xc7)](_0xa3c415);if(0x0!==_0x1361b4){const _0x4a0fe4=this[_0x9fb8be(0x10b)][_0x9fb8be(0xae)](_0x1361b4-0x1);if(_0x4a0fe4[_0x9fb8be(0x169)]!==_0x2a030b){const _0x4200dd=this[_0x9fb8be(0x101)][_0x9fb8be(0xc9)](_0x2a030b,_0x4a0fe4[_0x9fb8be(0x140)]),_0x4c7d56={'id':_0x4a0fe4['id'],'diffData':_0x4200dd[_0x9fb8be(0xd9)],'authorsIds':_0x4200dd[_0x9fb8be(0x16c)],'authors':_0x4200dd[_0x9fb8be(0x16c)][_0x9fb8be(0x7b)](_0x4bae62=>this[_0x9fb8be(0x134)][_0x9fb8be(0x15a)][_0x9fb8be(0x197)](_0x9fb8be(0x13f))[_0x9fb8be(0xe8)](_0x4bae62)),'fromVersion':_0x2a030b};_0x4a0fe4===this[_0x9fb8be(0xff)]&&(_0x4c7d56[_0x9fb8be(0x1a3)]=new Date(_0x5b7a67[_0x9fb8be(0x1a3)][_0x9fb8be(0x13e)]()+0xa)),_0x4a0fe4[_0x9fb8be(0x150)](_0x4c7d56,!0x0),delete _0x4c7d56[_0x9fb8be(0x6c)],_0x229e2c[_0x9fb8be(0x84)](_0x4c7d56);}}if(this[_0x9fb8be(0xca)]){for(const _0x5efcac of _0x229e2c)this[_0x9fb8be(0xcd)](_0x5efcac['id'],_0x5efcac,!0x0);this[_0x9fb8be(0x121)]();}return _0xa3c415;}[_0x37e4d7(0xe6)](_0x12296a){const _0x2e5394=_0x37e4d7,_0x697676=this[_0x2e5394(0x10b)][_0x2e5394(0x69)](_0x12296a);return this[_0x2e5394(0xca)]&&_0x697676['on'](_0x2e5394(0x150),(_0x273f86,_0x4e56d1,_0x5e4516)=>{const _0x4b8159=_0x2e5394;_0x5e4516||(this[_0x4b8159(0xcd)](_0x4e56d1['id'],_0x4e56d1,!0x0),this[_0x4b8159(0x121)]());}),this[_0x2e5394(0x10b)][_0x2e5394(0xea)](_0x697676,this[_0x2e5394(0x179)](_0x697676)),_0x697676;}async[_0x37e4d7(0x18b)](_0x570937){const _0x4b85b4=_0x37e4d7;return await this[_0x4b85b4(0xc8)][_0x4b85b4(0x79)](_0x570937,this[_0x4b85b4(0xca)]),this[_0x4b85b4(0xc8)][_0x4b85b4(0x18b)](_0x570937);}async[_0x37e4d7(0x180)](_0x19a0c9){const _0x396db6=_0x37e4d7;return await this[_0x396db6(0xc8)][_0x396db6(0x79)](_0x19a0c9,this[_0x396db6(0xca)]),this[_0x396db6(0xc8)][_0x396db6(0x180)](_0x19a0c9);}[_0x37e4d7(0x121)](){const _0x24384b=_0x37e4d7;if(0x0===this[_0x24384b(0xe3)][_0x24384b(0x15c)])return;if(this[_0x24384b(0x125)])return;let _0x29bb87=Array[_0x24384b(0x116)](this[_0x24384b(0xe3)][_0x24384b(0xed)]());this[_0x24384b(0xe3)][_0x24384b(0x153)]();for(let _0x4f2399=0x0;_0x4f2399<_0x29bb87[_0x24384b(0x188)];_0x4f2399++){const _0x90910a=_0x29bb87[_0x4f2399];let _0x56ea1f=!0x1;for(const _0x17d4e0 of Object[_0x24384b(0x96)](_0x90910a))void 0x0===_0x90910a[_0x17d4e0]?delete _0x90910a[_0x17d4e0]:'id'!==_0x17d4e0&&(_0x56ea1f=!0x0);_0x56ea1f||(_0x29bb87[_0x4f2399]=null);}if(_0x29bb87=_0x29bb87[_0x24384b(0x196)](_0x2b45cc=>null!==_0x2b45cc),!_0x29bb87[_0x24384b(0x188)])return;for(let _0x5b49fd=0x0;_0x5b49fd<_0x29bb87[_0x24384b(0x188)];_0x5b49fd++){const _0x392147=_0x29bb87[_0x5b49fd];void 0x0!==_0x392147[_0x24384b(0x169)]&&void 0x0===_0x392147[_0x24384b(0x140)]&&(_0x392147[_0x24384b(0x140)]=this[_0x24384b(0x10b)][_0x24384b(0xae)](_0x392147['id'])[_0x24384b(0x140)]),void 0x0!==_0x392147[_0x24384b(0x140)]&&void 0x0===_0x392147[_0x24384b(0x169)]&&(_0x392147[_0x24384b(0x169)]=this[_0x24384b(0x10b)][_0x24384b(0xae)](_0x392147['id'])[_0x24384b(0x169)]);}const _0x21ef34=this[_0x24384b(0x134)][_0x24384b(0xd1)][_0x24384b(0x197)](_0x24384b(0x10f));this[_0x24384b(0x125)]=!0x0,this[_0x24384b(0x151)](),this[_0x24384b(0xca)][_0x24384b(0x148)](_0x29bb87,_0x21ef34)[_0x24384b(0xeb)](()=>{const _0x453ba0=_0x24384b;this[_0x453ba0(0x125)]=!0x1;})[_0x24384b(0x122)](_0x1cebbb=>{const _0x572100=_0x24384b;if(_0x1cebbb){for(const _0x46dd03 of _0x1cebbb)this[_0x572100(0x123)]({'id':_0x46dd03['id'],'createdAt':_0x46dd03[_0x572100(0x1a3)]});}this[_0x572100(0x19b)](),this[_0x572100(0x121)]();});}[_0x37e4d7(0x99)]({revision:_0x36fdba=null,from:_0x238d46=null,to:_0x1f7425=null}){const _0x24c6c3=_0x37e4d7;_0x238d46=null!==_0x238d46?_0x238d46:_0x36fdba[_0x24c6c3(0x169)],_0x1f7425=null!==_0x1f7425?_0x1f7425:_0x36fdba[_0x24c6c3(0x140)];const _0x2801c3=this[_0x24c6c3(0x101)][_0x24c6c3(0xc9)](_0x238d46,_0x1f7425),_0x1fa044={'diffData':_0x2801c3[_0x24c6c3(0xd9)],'authorsIds':_0x2801c3[_0x24c6c3(0x16c)],'fromVersion':_0x238d46,'toVersion':_0x1f7425};if(!_0x36fdba||_0x1f7425!==_0x36fdba[_0x24c6c3(0x140)]){const _0x41cc78=_0x1f7425-0x1,_0x2e6d97=this[_0x24c6c3(0x105)][_0x24c6c3(0x115)][_0x24c6c3(0x112)](_0x41cc78);_0x1fa044[_0x24c6c3(0x1a3)]=_0x2e6d97&&_0x2e6d97[_0x24c6c3(0x1a3)]||new Date();}if(this[_0x24c6c3(0xe9)]&&_0x238d46===this[_0x24c6c3(0xe9)][_0x24c6c3(0x169)]){for(const _0x2ae3ba of this[_0x24c6c3(0xe9)][_0x24c6c3(0x6c)])_0x1fa044[_0x24c6c3(0x16c)][_0x24c6c3(0x190)](_0x2ae3ba['id'])||_0x1fa044[_0x24c6c3(0x16c)][_0x24c6c3(0x84)](_0x2ae3ba['id']);}return _0x1fa044;}[_0x37e4d7(0xcd)](_0x42df5d,_0x2eb813,_0x254658){const _0xeb3d42=_0x37e4d7;if(this[_0xeb3d42(0xe3)][_0xeb3d42(0x192)](_0x42df5d)){const _0x2dc9e2=this[_0xeb3d42(0xe3)][_0xeb3d42(0x197)](_0x42df5d);_0x2eb813=_0x254658?{..._0x2dc9e2,..._0x2eb813}:{..._0x2eb813,..._0x2dc9e2};}this[_0xeb3d42(0xe3)][_0xeb3d42(0x80)](_0x42df5d,_0x2eb813);}[_0x37e4d7(0x123)](_0x319aa0){const _0x139cfd=_0x37e4d7,_0x419275=this[_0x139cfd(0x10b)][_0x139cfd(0xae)](_0x319aa0['id']);if(_0x319aa0[_0x139cfd(0x1a3)]&&(_0x319aa0[_0x139cfd(0x1a3)]=new Date(_0x319aa0[_0x139cfd(0x1a3)])),_0x319aa0[_0x139cfd(0x16c)]){const _0x125fcb=this[_0x139cfd(0x134)][_0x139cfd(0x15a)][_0x139cfd(0x197)](_0x139cfd(0x13f));_0x319aa0[_0x139cfd(0x6c)]=_0x319aa0[_0x139cfd(0x16c)][_0x139cfd(0x7b)](_0x26fc52=>_0x125fcb[_0x139cfd(0xe8)](_0x26fc52));}_0x419275[_0x139cfd(0x150)](_0x319aa0,!0x0);}[_0x37e4d7(0x13d)](_0x151ef5){const _0x381b47=_0x37e4d7,_0xf6b495=this[_0x381b47(0x10b)][_0x381b47(0xae)](this[_0x381b47(0x10b)][_0x381b47(0x188)]-0x1);if(_0xf6b495)this[_0x381b47(0x142)]=_0xf6b495['id'];else{const _0x417bcb=!this[_0x381b47(0x134)][_0x381b47(0xa5)][_0x381b47(0x7e)][_0x381b47(0x11f)][_0x381b47(0x131)](_0x3af497=>this[_0x381b47(0x134)][_0x381b47(0xa5)][_0x381b47(0xcc)](_0x3af497)),_0x7289c0=this[_0x381b47(0x134)][_0x381b47(0x15a)][_0x381b47(0x197)](_0x381b47(0x13f))['me']['id'],_0x30add4=_0xe20d2c(this[_0x381b47(0x134)][_0x381b47(0x144)],_0x417bcb?_0x381b47(0x93):_0x381b47(0x19c));this[_0x381b47(0x8e)]({'from':_0x151ef5,'to':_0x151ef5,'id':this[_0x381b47(0x142)],'name':_0x30add4,'creatorId':_0x7289c0});}}[_0x37e4d7(0x6a)](_0x270112){const _0xf3de11=_0x37e4d7,_0x2037af=this[_0xf3de11(0x105)][_0xf3de11(0x111)]();this[_0xf3de11(0xff)]=this[_0xf3de11(0x10b)][_0xf3de11(0xae)](_0x2037af),this[_0xf3de11(0xff)]||(this[_0xf3de11(0xff)]=this[_0xf3de11(0x8e)]({'from':_0x270112,'to':_0x270112,'id':_0x2037af,'name':'','creatorId':null}));}async[_0x37e4d7(0x70)](){const _0x36a0d8=_0x37e4d7;this[_0x36a0d8(0xa7)]&&!this[_0x36a0d8(0xe9)]&&(await this[_0x36a0d8(0xc8)][_0x36a0d8(0x79)](this[_0x36a0d8(0xff)],this[_0x36a0d8(0xca)]),this[_0x36a0d8(0x101)][_0x36a0d8(0x149)](this[_0x36a0d8(0xff)]),this[_0x36a0d8(0xe9)]={'fromVersion':this[_0x36a0d8(0xff)][_0x36a0d8(0x169)],'authors':this[_0x36a0d8(0xff)][_0x36a0d8(0x6c)][_0x36a0d8(0x17b)]()});}[_0x37e4d7(0x92)](_0x4ef8eb,_0x2aff9e){const _0x23af2b=_0x37e4d7;let _0x3628eb=this[_0x23af2b(0x134)][_0x23af2b(0xd1)][_0x23af2b(0x197)](_0x23af2b(0x110)),_0x32bb1e=this[_0x23af2b(0x134)][_0x23af2b(0xd1)][_0x23af2b(0x197)](_0x23af2b(0x74));if(void 0x0===_0x3628eb){_0x3628eb={};for(const _0x40fd89 of this[_0x23af2b(0x134)][_0x23af2b(0xa5)][_0x23af2b(0x7e)][_0x23af2b(0xb7)]())_0x3628eb[_0x40fd89]='';}if(_0x23af2b(0x75)==typeof _0x3628eb&&(_0x3628eb={'main':_0x3628eb}),void 0x0===_0x32bb1e){_0x32bb1e={};for(const _0x32cd59 of this[_0x23af2b(0x134)][_0x23af2b(0xa5)][_0x23af2b(0x7e)][_0x23af2b(0xb7)]())_0x32bb1e[_0x32cd59]={};}let _0x3d4675=!0x1;const _0x2b44a5=Object[_0x23af2b(0x96)](_0x3628eb),_0x346bc9=Object[_0x23af2b(0x96)](_0x4ef8eb);for(const _0x29352e of _0x2b44a5){if(_0x3628eb[_0x29352e]!==_0x4ef8eb[_0x29352e]&&''!==_0x3628eb[_0x29352e][_0x23af2b(0x189)]()){_0x3d4675=!0x0;break;}if(!_0x2a4305(_0x32bb1e[_0x29352e],_0x2aff9e[_0x29352e])&&Object[_0x23af2b(0x96)](_0x32bb1e[_0x29352e])[_0x23af2b(0x188)]>0x0){_0x3d4675=!0x0;break;}}_0x3d4675||(_0x3d4675=_0x346bc9[_0x23af2b(0xcf)](_0x7158e0=>!this[_0x23af2b(0x134)][_0x23af2b(0xa5)][_0x23af2b(0x7e)][_0x23af2b(0xc4)](_0x7158e0))),_0x3d4675&&_0x5b544d(_0x23af2b(0x14f),{'editorData':_0x3628eb,'editorRootsAttributes':_0x32bb1e,'revisionData':_0x4ef8eb,'revisionRootsAttributes':_0x2aff9e}),this[_0x23af2b(0x134)][_0x23af2b(0xd1)][_0x23af2b(0x80)](_0x23af2b(0x110),_0x4ef8eb),this[_0x23af2b(0x134)][_0x23af2b(0xd1)][_0x23af2b(0x80)](_0x23af2b(0x74),_0x2aff9e);}[_0x37e4d7(0x151)](){const _0x48eb13=_0x37e4d7;if(!this[_0x48eb13(0xc5)]){const _0x5e5f95=this[_0x48eb13(0x134)][_0x48eb13(0x15a)][_0x48eb13(0x197)](_0x48eb13(0x141));this[_0x48eb13(0xc5)]=_0x5e5f95[_0x48eb13(0x1a4)](_0xe20d2c(this[_0x48eb13(0x134)][_0x48eb13(0x144)],_0x48eb13(0x185)));}}[_0x37e4d7(0x19b)](){const _0x44cf50=_0x37e4d7;this[_0x44cf50(0xc5)]&&(this[_0x44cf50(0x134)][_0x44cf50(0x15a)][_0x44cf50(0x197)](_0x44cf50(0x141))[_0x44cf50(0x78)](this[_0x44cf50(0xc5)]),this[_0x44cf50(0xc5)]=null);}[_0x37e4d7(0x179)](_0x2bed11){const _0x2dd6ed=_0x37e4d7,_0x5e21a8=this[_0x2dd6ed(0x10b)][_0x2dd6ed(0x98)]();_0x5e21a8[_0x2dd6ed(0x6e)]();let _0x3db7e4=0x0;for(;_0x3db7e4<_0x5e21a8[_0x2dd6ed(0x188)];){const _0x4c260c=_0x5e21a8[_0x3db7e4];if(_0x4c260c===this[_0x2dd6ed(0xff)]){_0x3db7e4++;continue;}if(_0x4c260c['id']===this[_0x2dd6ed(0x142)])break;const _0x31fc5f=_0x2bed11[_0x2dd6ed(0x140)]-_0x4c260c[_0x2dd6ed(0x140)]||_0x2bed11[_0x2dd6ed(0x169)]-_0x4c260c[_0x2dd6ed(0x169)];if(_0x31fc5f>0x0)break;if(_0x31fc5f<0x0)_0x3db7e4++;else{if(!_0x2bed11[_0x2dd6ed(0xdf)]&&_0x4c260c[_0x2dd6ed(0xdf)])break;if(_0x4c260c[_0x2dd6ed(0xdf)]||!_0x2bed11[_0x2dd6ed(0xdf)]){if(_0x2bed11[_0x2dd6ed(0x1a3)]>_0x4c260c[_0x2dd6ed(0x1a3)])break;_0x3db7e4++;}else _0x3db7e4++;}}return _0x3db7e4;}[_0x37e4d7(0x165)](_0x2dc194){const _0xce5a7b=_0x37e4d7,_0x50938d=this[_0xce5a7b(0x10b)][_0xce5a7b(0x98)]();_0x50938d[_0xce5a7b(0x6e)](),_0x50938d[_0xce5a7b(0x130)]();const _0x1a9191=_0x50938d[_0xce5a7b(0x131)](_0x561121=>_0x561121[_0xce5a7b(0x140)]<=_0x2dc194)[_0xce5a7b(0x140)];return _0x1a9191<this[_0xce5a7b(0x82)]?this[_0xce5a7b(0x82)]:_0x1a9191;}[_0x37e4d7(0x8e)]({name:_0x49b76d,from:_0x188705,to:_0x4f7845,creatorId:_0x5eac51,id:_0x257b07}){const _0x38fece=_0x37e4d7,_0x5b943c=this[_0x38fece(0x99)]({'from':_0x188705,'to':_0x4f7845});_0x5b943c[_0x38fece(0x86)]=_0x49b76d,_0x5b943c[_0x38fece(0xe4)]=_0x5eac51,_0x5b943c['id']=_0x257b07;const _0x26b534=this[_0x38fece(0xe6)](_0x5b943c);return this[_0x38fece(0xca)]&&this[_0x38fece(0xcd)](_0x5b943c['id'],_0x5b943c,!0x0),_0x26b534;}[_0x37e4d7(0x14b)](){const _0x4907b8=_0x37e4d7;this[_0x4907b8(0x134)][_0x4907b8(0x184)][_0x4907b8(0x133)](_0x4907b8(0xdb))[_0x4907b8(0x10e)]({'model':_0x4907b8(0xfe)});}}class x{[_0x37e4d7(0x134)];[_0x37e4d7(0x195)];[_0x37e4d7(0x119)];[_0x37e4d7(0x1a8)];[_0x37e4d7(0x85)];[_0x37e4d7(0xf6)];[_0x37e4d7(0x18c)];[_0x37e4d7(0xdd)];[_0x37e4d7(0x183)];[_0x37e4d7(0x126)];[_0x37e4d7(0xf1)];[_0x37e4d7(0xd0)];[_0x37e4d7(0x167)];[_0x37e4d7(0x129)];[_0x37e4d7(0x95)];[_0x37e4d7(0x104)];[_0x37e4d7(0xa3)];constructor(_0xb2be67){const _0x41eaa9=_0x37e4d7;this[_0x41eaa9(0x134)]=_0xb2be67,this[_0x41eaa9(0x119)]=new Map(),this[_0x41eaa9(0x1a8)]=-0x1,this[_0x41eaa9(0x85)]=-0x1,this[_0x41eaa9(0xf6)]=new Map(),this[_0x41eaa9(0x18c)]=new Map(),this[_0x41eaa9(0xdd)]=new Map(),this[_0x41eaa9(0x183)]=new Map(),this[_0x41eaa9(0x126)]=new Map(),this[_0x41eaa9(0xf1)]=new Map(),this[_0x41eaa9(0xd0)]=new Map(),this[_0x41eaa9(0x167)]=new Map(),this[_0x41eaa9(0x129)]=new Map(),this[_0x41eaa9(0x95)]=new Map(),this[_0x41eaa9(0x104)]=0x1;}[_0x37e4d7(0xb2)](_0x4d1118){const _0x478d7f=_0x37e4d7;this[_0x478d7f(0x195)]=_0x4d1118;const _0x32b87a=new Map(),_0x398d0f=new Map(),_0x3afe36=this[_0x478d7f(0x134)][_0x478d7f(0xa5)][_0x478d7f(0x7e)][_0x478d7f(0x11f)][_0x478d7f(0x7b)](_0x373eb2=>_0x373eb2[_0x478d7f(0x71)]);for(const _0x5c3128 of _0x3afe36){const _0x28e8ad=this[_0x478d7f(0x134)][_0x478d7f(0xa5)][_0x478d7f(0x7e)][_0x478d7f(0xc4)](_0x5c3128),_0x34eb52=N(_0x28e8ad);_0x32b87a[_0x478d7f(0x80)](_0x5c3128,_0x34eb52),_0x398d0f[_0x478d7f(0x80)](_0x5c3128,Object[_0x478d7f(0xf9)](_0x28e8ad[_0x478d7f(0x117)]()));}const _0x49c6af=Array[_0x478d7f(0x116)](this[_0x478d7f(0x134)][_0x478d7f(0xa5)][_0x478d7f(0x178)])[_0x478d7f(0x7b)](_0x575d85=>[_0x575d85[_0x478d7f(0x86)],_0x575d85[_0x478d7f(0xd5)]()]),_0x2456c8=this[_0x478d7f(0x195)][_0x478d7f(0xd3)];this[_0x478d7f(0x182)](_0x2456c8,_0x32b87a,_0x49c6af,_0x398d0f),this[_0x478d7f(0xa3)]=this[_0x478d7f(0x104)];const _0x55514e=new Map(),_0x2a5cd8=new Map();for(const _0x196f8c of _0x3afe36){const _0x57e293=P(_0x196f8c);_0x55514e[_0x478d7f(0x80)](_0x196f8c,_0x57e293),_0x2a5cd8[_0x478d7f(0x80)](_0x196f8c,{});}this[_0x478d7f(0x182)](Number[_0x478d7f(0x152)],_0x55514e,[],_0x2a5cd8);}[_0x37e4d7(0xc9)](_0x283424,_0x1b5852){const _0x45b55e=_0x37e4d7;if(this[_0x45b55e(0x1a8)]===_0x283424&&this[_0x45b55e(0x85)]<=_0x1b5852)this[_0x45b55e(0x119)][_0x45b55e(0x15c)]>0x1&&this[_0x45b55e(0x19f)](this[_0x45b55e(0x85)]),this[_0x45b55e(0x199)](this[_0x45b55e(0x85)],_0x1b5852,!0x0);else{if(!this[_0x45b55e(0x119)][_0x45b55e(0x192)](_0x283424)){const _0xfdc8c0=this[_0x45b55e(0x10a)](_0x283424);this[_0x45b55e(0x177)](_0xfdc8c0,_0x283424,!0x1);}this[_0x45b55e(0x177)](_0x283424,_0x1b5852,!0x0);}return this[_0x45b55e(0x1a8)]=_0x283424,this[_0x45b55e(0x85)]=_0x1b5852,this[_0x45b55e(0x128)]();}[_0x37e4d7(0x149)](_0x42b9ae){const _0xdcd92d=_0x37e4d7,_0x577eea=this[_0xdcd92d(0x134)][_0xdcd92d(0x15a)][_0xdcd92d(0x197)](_0xdcd92d(0x19e));this[_0xdcd92d(0x8f)](),this[_0xdcd92d(0x1a8)]=_0x42b9ae[_0xdcd92d(0x169)],this[_0xdcd92d(0x85)]=_0x42b9ae[_0xdcd92d(0x140)];for(const _0x41d809 in _0x42b9ae[_0xdcd92d(0xd9)]){const _0x22bd44=_0x42b9ae[_0xdcd92d(0xd9)][_0x41d809][_0xdcd92d(0x12d)],_0x4d01c3=_0x48e46d(_0x42b9ae[_0xdcd92d(0xd9)][_0x41d809][_0xdcd92d(0x13a)])||{},_0x5205a9=_0x577eea[_0xdcd92d(0x72)](_0x42b9ae[_0xdcd92d(0xd9)][_0x41d809][_0xdcd92d(0x191)]);_0x5205a9[_0xdcd92d(0x71)]=_0x41d809,_0x5205a9[_0xdcd92d(0x17e)]=!_0x22bd44||!_0x22bd44[_0xdcd92d(0x136)],_0x5205a9[_0xdcd92d(0x136)]=()=>_0x5205a9[_0xdcd92d(0x17e)],this[_0xdcd92d(0x183)][_0xdcd92d(0x80)](_0x41d809,_0x5205a9),this[_0xdcd92d(0x126)][_0xdcd92d(0x80)](_0x41d809,_0x4d01c3),_0x22bd44&&this[_0xdcd92d(0x95)][_0xdcd92d(0x80)](_0x41d809,_0x22bd44);const _0x4d5a8b=this[_0xdcd92d(0x9f)](_0x5205a9);this[_0xdcd92d(0xd0)][_0xdcd92d(0x80)](_0x41d809,_0x4d5a8b);for(const [_0x2155e5,_0x14d61d]of _0x5205a9[_0xdcd92d(0x178)]){if(!_0x2155e5[_0xdcd92d(0xdc)](_0xdcd92d(0x9b)))continue;const _0x4472f3=_0x2155e5[_0xdcd92d(0x15e)](':')[0x2];for(const _0x2f1bbe of _0x14d61d[_0xdcd92d(0x127)]({'singleCharacters':!0x0})){const _0x3d4554=this[_0xdcd92d(0x113)](_0x2f1bbe),_0x2082cc=_0xdcd92d(0x9c)==_0x2f1bbe[_0xdcd92d(0x100)]?_0x2f1bbe[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)][_0xdcd92d(0x17b)](0x0,-0x1):_0x2f1bbe[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)],_0x2dd60a=_0x4d5a8b[_0xdcd92d(0x18e)](_0x2082cc)[_0xdcd92d(0x175)](_0x3d4554);this[_0xdcd92d(0x167)][_0xdcd92d(0x80)](_0x2dd60a,{'userId':_0x4472f3});}}}this[_0xdcd92d(0xa3)]=this[_0xdcd92d(0x104)];const _0xe09f7e=[...Array(this[_0xdcd92d(0x104)])[_0xdcd92d(0x96)]()][_0xdcd92d(0x17b)](0x1)[_0xdcd92d(0x196)](_0x4ae665=>!this[_0xdcd92d(0x167)][_0xdcd92d(0x192)](_0x4ae665));let _0x1e713d=0x0;const _0x482dd5=new Map();for(const _0x50f1e0 in _0x42b9ae[_0xdcd92d(0xd9)]){const _0x6d41=_0x42b9ae[_0xdcd92d(0xd9)][_0x50f1e0][_0xdcd92d(0x12d)],_0x455d40=_0x48e46d(_0x42b9ae[_0xdcd92d(0xd9)][_0x50f1e0][_0xdcd92d(0x155)])||{},_0x52c51c=_0x577eea[_0xdcd92d(0x72)](_0x42b9ae[_0xdcd92d(0xd9)][_0x50f1e0][_0xdcd92d(0x198)]);_0x52c51c[_0xdcd92d(0x71)]=_0x50f1e0,_0x52c51c[_0xdcd92d(0x17e)]=!_0x6d41||_0x6d41[_0xdcd92d(0x136)],_0x52c51c[_0xdcd92d(0x136)]=()=>_0x52c51c[_0xdcd92d(0x17e)],this[_0xdcd92d(0x18c)][_0xdcd92d(0x80)](_0x50f1e0,_0x52c51c),this[_0xdcd92d(0xdd)][_0xdcd92d(0x80)](_0x50f1e0,_0x455d40);const _0x1a6c3b=this[_0xdcd92d(0x9f)](_0x52c51c,Number[_0xdcd92d(0x152)]);this[_0xdcd92d(0xf1)][_0xdcd92d(0x80)](_0x50f1e0,_0x1a6c3b),_0x482dd5[_0xdcd92d(0x80)](_0x50f1e0,_0x52c51c[_0xdcd92d(0x136)]()?_0x455d40:{});for(const [_0x421a6c,_0x5b7a2a]of _0x52c51c[_0xdcd92d(0x178)]){if(!_0x421a6c[_0xdcd92d(0xdc)](_0xdcd92d(0x9b)))continue;const _0x1f55e1=_0x421a6c[_0xdcd92d(0x15e)](':')[0x2];for(const _0x1f29d8 of _0x5b7a2a[_0xdcd92d(0x127)]({'singleCharacters':!0x0})){const _0x35c389=this[_0xdcd92d(0x113)](_0x1f29d8),_0x9e3987=this[_0xdcd92d(0x104)]++,_0xbc3a23=_0xdcd92d(0x9c)==_0x1f29d8[_0xdcd92d(0x100)]?_0x1f29d8[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)][_0xdcd92d(0x17b)](0x0,-0x1):_0x1f29d8[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)];_0x1a6c3b[_0xdcd92d(0x18e)](_0xbc3a23)[_0xdcd92d(0x16d)](_0x35c389,_0x9e3987),this[_0xdcd92d(0x167)][_0xdcd92d(0x80)](_0x9e3987,{'userId':_0x1f55e1});}}for(const _0xdfb4bd of this[_0xdcd92d(0x134)][_0xdcd92d(0xa5)][_0xdcd92d(0x173)](_0x52c51c)[_0xdcd92d(0x127)]({'singleCharacters':!0x0})){const _0x56ae26=this[_0xdcd92d(0x113)](_0xdfb4bd),_0xf45b9f=_0xdcd92d(0x9c)==_0xdfb4bd[_0xdcd92d(0x100)]?_0xdfb4bd[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)][_0xdcd92d(0x17b)](0x0,-0x1):_0xdfb4bd[_0xdcd92d(0x10d)][_0xdcd92d(0x7c)],_0x26498c=_0x1a6c3b[_0xdcd92d(0x18e)](_0xf45b9f);_0x26498c[_0xdcd92d(0x175)](_0x56ae26)>0x0||_0x26498c[_0xdcd92d(0x16d)](_0x56ae26,_0xe09f7e[_0x1e713d++]);}for(const [_0x5c8069,_0xd0fe11]of _0x52c51c[_0xdcd92d(0x178)])_0x5c8069[_0xdcd92d(0xdc)](_0xdcd92d(0x9b))||this[_0xdcd92d(0xf6)][_0xdcd92d(0x80)](_0x5c8069,_0xd0fe11);}const _0x543802=P(_0xdcd92d(0x9d));this[_0xdcd92d(0x183)][_0xdcd92d(0x80)](_0xdcd92d(0x9d),_0x543802),this[_0xdcd92d(0xd0)][_0xdcd92d(0x80)](_0xdcd92d(0x9d),this[_0xdcd92d(0x9f)](_0x543802,0x1));const _0x15d5bc=P(_0xdcd92d(0x9d));this[_0xdcd92d(0x18c)][_0xdcd92d(0x80)](_0xdcd92d(0x9d),_0x15d5bc),this[_0xdcd92d(0xf1)][_0xdcd92d(0x80)](_0xdcd92d(0x9d),this[_0xdcd92d(0x9f)](_0x15d5bc,0x1));const _0x487aba=Array[_0xdcd92d(0x116)](this[_0xdcd92d(0x18c)])[_0xdcd92d(0x7b)](([_0x51a3db,_0x6759e4])=>[_0x51a3db,N(_0x6759e4)]);this[_0xdcd92d(0x182)](this[_0xdcd92d(0x85)],_0x487aba,this[_0xdcd92d(0xf6)],_0x482dd5);}[_0x37e4d7(0x6b)](){const _0x522d2d=_0x37e4d7;this[_0x522d2d(0x8f)](),this[_0x522d2d(0x1a8)]=-0x1,this[_0x522d2d(0x85)]=-0x1,this[_0x522d2d(0x119)][_0x522d2d(0x153)](),this[_0x522d2d(0xb2)](this[_0x522d2d(0x195)]);}[_0x37e4d7(0x182)](_0x3682f3,_0x3ae398,_0x2f5901,_0x5d6210){const _0x3d06b4=_0x37e4d7,_0x530a3f=new Map(_0x3ae398),_0x13e405=new Map(_0x48e46d(_0x5d6210)),_0x5296cc=new Map();for(const [_0x5ed388,_0x1108a1]of _0x2f5901)_0x5296cc[_0x3d06b4(0x80)](_0x5ed388,{'start':_0x1108a1[_0x3d06b4(0x18a)][_0x3d06b4(0x120)](),'end':_0x1108a1[_0x3d06b4(0xa8)][_0x3d06b4(0x120)](),'rootName':_0x1108a1[_0x3d06b4(0x145)][_0x3d06b4(0x71)]});this[_0x3d06b4(0x119)][_0x3d06b4(0x80)](_0x3682f3,{'roots':_0x530a3f,'markers':_0x5296cc,'rootsAttributes':_0x13e405});}[_0x37e4d7(0x19f)](_0x2ec85d){const _0x559048=_0x37e4d7;this[_0x559048(0x119)][_0x559048(0x7f)](_0x2ec85d);}[_0x37e4d7(0x8f)](){const _0x32e4c8=_0x37e4d7;this[_0x32e4c8(0x167)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x129)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x95)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x18c)][_0x32e4c8(0x153)](),this[_0x32e4c8(0xdd)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x183)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x126)][_0x32e4c8(0x153)](),this[_0x32e4c8(0xf1)][_0x32e4c8(0x153)](),this[_0x32e4c8(0xd0)][_0x32e4c8(0x153)](),this[_0x32e4c8(0xf6)][_0x32e4c8(0x153)](),this[_0x32e4c8(0x104)]=0x1,this[_0x32e4c8(0xa3)]=this[_0x32e4c8(0x104)];}[_0x37e4d7(0x9f)](_0x35299a,_0x281e77=null){const _0x34e724=_0x37e4d7;let _0x30cda9=null;_0x35299a['is'](_0x34e724(0xfa))||(_0x30cda9=new _0x44b2d6(_0x35299a[_0x34e724(0x86)],{'vid_start':null===_0x281e77?this[_0x34e724(0x104)]++:_0x281e77++}));const _0x4ba52e=[];for(const _0x47fd79 of _0x35299a[_0x34e724(0x90)]())if(_0x47fd79['is'](_0x34e724(0xe0))){_0x4ba52e[_0x34e724(0x84)](this[_0x34e724(0x9f)](_0x47fd79,_0x281e77));const _0x5bea37=_0x4ba52e[_0x4ba52e[_0x34e724(0x188)]-0x1];null!==_0x281e77&&(_0x281e77=_0x5bea37['is'](_0x34e724(0xe0),_0x34e724(0x8c))?_0x5bea37[_0x34e724(0x175)](_0x34e724(0x160))+0x1:_0x5bea37[_0x34e724(0x175)](_0x34e724(0x164))+0x1);}else{for(let _0x212b88=0x0;_0x212b88<_0x47fd79[_0x34e724(0x1a9)];_0x212b88++)_0x4ba52e[_0x34e724(0x84)](new _0x44b2d6(_0x34e724(0x8c),{'vid':null===_0x281e77?this[_0x34e724(0x104)]++:_0x281e77++}));}if(_0x35299a['is'](_0x34e724(0xfa))){const _0x45263b=P(_0x35299a[_0x34e724(0x71)]);return _0x45263b[_0x34e724(0x11e)](0x0,_0x4ba52e),_0x45263b;}return _0x30cda9[_0x34e724(0x16d)](_0x34e724(0x164),null===_0x281e77?this[_0x34e724(0x104)]++:_0x281e77++),_0x30cda9[_0x34e724(0x11e)](0x0,_0x4ba52e),_0x30cda9;}[_0x37e4d7(0x177)](_0x1d69e1,_0x1490fa,_0x4f1374){const _0x45be4a=_0x37e4d7;this[_0x45be4a(0x8f)]();const {roots:_0xf66eb0,markers:_0x21ce8a,rootsAttributes:_0x358465}=this[_0x45be4a(0x119)][_0x45be4a(0x197)](_0x1d69e1);this[_0x45be4a(0x183)]=new Map(_0xf66eb0),this[_0x45be4a(0x126)]=new Map(_0x48e46d(_0x358465));for(const [_0x50fa63,_0x41330e]of this[_0x45be4a(0x183)])if(_0x45be4a(0x9d)!==_0x50fa63&&(this[_0x45be4a(0x18c)][_0x45be4a(0x80)](_0x50fa63,N(_0x41330e)),this[_0x45be4a(0xdd)]=new Map(_0x48e46d(_0x358465)),_0x4f1374)){const _0x417fbc=this[_0x45be4a(0x104)];this[_0x45be4a(0xf1)][_0x45be4a(0x80)](_0x50fa63,this[_0x45be4a(0x9f)](_0x41330e)),this[_0x45be4a(0xd0)][_0x45be4a(0x80)](_0x50fa63,this[_0x45be4a(0x9f)](_0x41330e,_0x417fbc));}this[_0x45be4a(0xa3)]=this[_0x45be4a(0x104)],this[_0x45be4a(0x18c)][_0x45be4a(0x80)](_0x45be4a(0x9d),N(this[_0x45be4a(0x183)][_0x45be4a(0x197)](_0x45be4a(0x9d)))),_0x4f1374&&this[_0x45be4a(0xf1)][_0x45be4a(0x80)](_0x45be4a(0x9d),this[_0x45be4a(0x9f)](this[_0x45be4a(0x183)][_0x45be4a(0x197)](_0x45be4a(0x9d))));for(const [_0x5d13db,_0x1f6706]of _0x21ce8a){const _0x348fe1=this[_0x45be4a(0x183)][_0x45be4a(0x197)](_0x1f6706[_0x45be4a(0x71)]),_0x40f37b=this[_0x45be4a(0x18c)][_0x45be4a(0x197)](_0x1f6706[_0x45be4a(0x71)]),_0x36f6bc=new _0xb51349(this[_0x45be4a(0x76)](_0x1f6706[_0x45be4a(0x18a)],_0x348fe1),this[_0x45be4a(0x76)](_0x1f6706[_0x45be4a(0xa8)],_0x348fe1)),_0x17edae=this[_0x45be4a(0xde)](_0x36f6bc,_0x40f37b);_0x348fe1[_0x45be4a(0x178)][_0x45be4a(0x80)](_0x5d13db,_0x36f6bc),this[_0x45be4a(0xf6)][_0x45be4a(0x80)](_0x5d13db,_0x17edae);}this[_0x45be4a(0x199)](_0x1d69e1,_0x1490fa,_0x4f1374);}[_0x37e4d7(0x199)](_0x58d5ef,_0x356e09,_0x24821e){const _0x15b41b=_0x37e4d7;for(const _0x1493d3 of this[_0x15b41b(0x195)][_0x15b41b(0x107)](_0x58d5ef,_0x356e09))this[_0x15b41b(0xf5)](_0x1493d3,_0x24821e);for(const _0x5c6494 of this[_0x15b41b(0x18c)][_0x15b41b(0xed)]())_0x5c6494[_0x15b41b(0x178)][_0x15b41b(0x153)]();for(const [_0x1e570a,_0x22357a]of this[_0x15b41b(0xf6)]){this[_0x15b41b(0x18c)][_0x15b41b(0x197)](_0x22357a[_0x15b41b(0x145)][_0x15b41b(0x71)])[_0x15b41b(0x178)][_0x15b41b(0x80)](_0x1e570a,_0x22357a[_0x15b41b(0x120)]());}const _0x1ff572=new Map(),_0x32692f=new Map();for(const [_0x46e8fe,_0x4329a4]of this[_0x15b41b(0x18c)])_0x1ff572[_0x15b41b(0x80)](_0x46e8fe,N(_0x4329a4)),_0x32692f[_0x15b41b(0x80)](_0x46e8fe,this[_0x15b41b(0xdd)][_0x15b41b(0x197)](_0x46e8fe));this[_0x15b41b(0x182)](_0x356e09,_0x1ff572,this[_0x15b41b(0xf6)],_0x32692f);}[_0x37e4d7(0x10a)](_0x382b02){const _0x444958=_0x37e4d7,_0x3344c5=Array[_0x444958(0x116)](this[_0x444958(0x119)][_0x444958(0x96)]());_0x3344c5[_0x444958(0x193)]((_0x29b34e,_0x4114d2)=>_0x29b34e-_0x4114d2),_0x3344c5[_0x444958(0x6e)]();for(const _0x3ccf57 of _0x3344c5)if(_0x3ccf57<_0x382b02)return _0x3ccf57;return Number[_0x444958(0x152)];}[_0x37e4d7(0x170)](_0x21ff0c,_0x5f4d03){const _0x20d106=_0x37e4d7,_0x14f91d=Array[_0x20d106(0x116)](_0x5f4d03[_0x20d106(0x178)])[_0x20d106(0x7b)](([_0x477523,_0x22773f])=>[_0x477523,this[_0x20d106(0xde)](_0x22773f,_0x21ff0c)]);_0x21ff0c[_0x20d106(0x178)]=new Map(_0x14f91d);}[_0x37e4d7(0x166)](_0x542860){const _0x50d3a9=_0x37e4d7;for(const _0xc7acc3 of this[_0x50d3a9(0xf6)][_0x50d3a9(0xed)]()){const _0x4770db=_0xc7acc3[_0x50d3a9(0x181)](_0x542860),_0x5e22ac=_0xb51349[_0x50d3a9(0x1a2)](_0x4770db);_0xc7acc3[_0x50d3a9(0x18a)]=_0x5e22ac[_0x50d3a9(0x18a)],_0xc7acc3[_0x50d3a9(0xa8)]=_0x5e22ac[_0x50d3a9(0xa8)];}}[_0x37e4d7(0xf5)](_0x299166,_0x5ab327){const _0x25f750=_0x37e4d7;if(_0x25f750(0x1a7)!=_0x299166[_0x25f750(0x100)]&&_0x25f750(0x106)!=_0x299166[_0x25f750(0x100)]){if(_0x25f750(0x11a)==_0x299166[_0x25f750(0x100)]){const _0x12c12c=_0x299166[_0x25f750(0x94)][_0x25f750(0x145)][_0x25f750(0x71)];this[_0x25f750(0x18c)][_0x25f750(0x192)](_0x12c12c)||(this[_0x25f750(0x18c)][_0x25f750(0x80)](_0x12c12c,P(_0x12c12c,!0x0)),this[_0x25f750(0xdd)][_0x25f750(0x80)](_0x12c12c,{}),_0x5ab327&&this[_0x25f750(0xf1)][_0x25f750(0x80)](_0x12c12c,P(_0x12c12c,!0x0)));}else{if(_0x25f750(0xa2)==_0x299166[_0x25f750(0x100)]||_0x25f750(0x89)==_0x299166[_0x25f750(0x100)]||_0x25f750(0xe5)==_0x299166[_0x25f750(0x100)])return void this[_0x25f750(0xb3)](_0x299166);_0x25f750(0xbd)==_0x299166[_0x25f750(0x100)]&&this[_0x25f750(0xa4)](_0x299166);}if(_0x25f750(0xbd)!==_0x299166[_0x25f750(0x100)]){const _0x408714=this[_0x25f750(0x103)](_0x299166,this[_0x25f750(0x18c)]);_0x408714[_0x25f750(0x114)](),this[_0x25f750(0x166)](_0x408714);}if(_0x5ab327)switch(_0x299166[_0x25f750(0x100)]){case _0x25f750(0x11a):this[_0x25f750(0xbe)](_0x299166);break;case _0x25f750(0x18d):case _0x25f750(0x78):case _0x25f750(0x97):this[_0x25f750(0x1a0)](_0x299166);break;case _0x25f750(0x18f):this[_0x25f750(0x1a6)](_0x299166);break;case _0x25f750(0x15e):this[_0x25f750(0x118)](_0x299166);}}else this[_0x25f750(0x12c)](_0x299166,_0x5ab327);}[_0x37e4d7(0x103)](_0x677fdf,_0x2d800a){const _0x5423cb=_0x37e4d7,_0x29e8d5=_0x677fdf[_0x5423cb(0x120)]();return _0x29e8d5[_0x5423cb(0x12f)]=_0x677fdf[_0x5423cb(0x12f)],this[_0x5423cb(0xac)](_0x29e8d5,_0x2d800a),_0x29e8d5;}[_0x37e4d7(0xfb)](_0x5b8c81){const _0xcf299c=_0x37e4d7;return _0x5b8c81[_0xcf299c(0x7b)](_0x247e29=>{const _0x1ed4ff=_0xcf299c,_0x48b40e=this[_0x1ed4ff(0x113)](_0x247e29);return Number(_0x247e29[_0x1ed4ff(0x124)][_0x1ed4ff(0x175)](_0x48b40e));});}[_0x37e4d7(0x14a)](_0x3b958d,_0x22adc4){const _0x20f593=_0x37e4d7;if(_0x3b958d['is'](_0x20f593(0xe0),_0x20f593(0x8c)))_0x22adc4[_0x20f593(0x84)]({'item':_0x3b958d,'type':_0x20f593(0x109)});else{_0x3b958d['is'](_0x20f593(0xe0))&&_0x22adc4[_0x20f593(0x84)]({'item':_0x3b958d,'type':_0x20f593(0x77)});for(const _0xc08376 of _0x3b958d[_0x20f593(0x90)]())this[_0x20f593(0x14a)](_0xc08376,_0x22adc4);_0x3b958d['is'](_0x20f593(0xe0))&&_0x22adc4[_0x20f593(0x84)]({'item':_0x3b958d,'type':_0x20f593(0x9c)});}return _0x22adc4;}[_0x37e4d7(0x128)](){const _0x5f3ddb=_0x37e4d7,_0xfba83f=new Map(this[_0x5f3ddb(0x167)]),_0x24d9b5=new Map(_0xfba83f),_0x3e72d7=new Map(),_0x2cbd47={'insertions':{},'deletions':{}},_0x21268f={'insertions':{},'deletions':{}},_0x4bf69a=new Map(),_0x13d80e=new Set([...this[_0x5f3ddb(0x183)][_0x5f3ddb(0x96)](),...this[_0x5f3ddb(0x18c)][_0x5f3ddb(0x96)]()]);_0x13d80e[_0x5f3ddb(0x7f)](_0x5f3ddb(0x9d));for(const _0x886e3c of _0x13d80e){const _0x5c678b=this[_0x5f3ddb(0x18c)][_0x5f3ddb(0x197)](_0x886e3c)||P(_0x886e3c,!0x1),_0x420f19=this[_0x5f3ddb(0x183)][_0x5f3ddb(0x197)](_0x886e3c)||P(_0x886e3c,!0x1);_0x5c678b[_0x5f3ddb(0x136)]()||_0x420f19[_0x5f3ddb(0x136)]()?(_0x2cbd47[_0x5f3ddb(0x198)][_0x886e3c]=N(_0x5c678b),_0x2cbd47[_0x5f3ddb(0x191)][_0x886e3c]=N(_0x420f19),this[_0x5f3ddb(0x170)](_0x2cbd47[_0x5f3ddb(0x191)][_0x886e3c],_0x420f19),this[_0x5f3ddb(0x170)](_0x2cbd47[_0x5f3ddb(0x198)][_0x886e3c],_0x5c678b),_0x21268f[_0x5f3ddb(0x198)][_0x886e3c]=this[_0x5f3ddb(0x14a)](this[_0x5f3ddb(0xf1)][_0x5f3ddb(0x197)](_0x886e3c),[]),_0x21268f[_0x5f3ddb(0x191)][_0x886e3c]=this[_0x5f3ddb(0x14a)](this[_0x5f3ddb(0xd0)][_0x5f3ddb(0x197)](_0x886e3c)||P(_0x886e3c,!0x1),[])):_0x13d80e[_0x5f3ddb(0x7f)](_0x886e3c);}for(const _0x3a43fa of _0x13d80e){const _0x2da807=_0x21268f[_0x5f3ddb(0x198)][_0x3a43fa];for(const _0x117157 of _0x2da807){const _0x565f55=this[_0x5f3ddb(0x113)](_0x117157),_0x2f9eee=_0x117157[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x565f55);_0x24d9b5[_0x5f3ddb(0x7f)](_0x2f9eee),_0x2f9eee>=this[_0x5f3ddb(0xa3)]&&_0x3e72d7[_0x5f3ddb(0x80)](_0x2f9eee,_0xfba83f[_0x5f3ddb(0x197)](_0x2f9eee));}}for(const _0x2e5421 of _0x13d80e){const _0x18615d=_0x21268f[_0x5f3ddb(0x198)][_0x2e5421],_0x497eab=this[_0x5f3ddb(0xfb)](_0x21268f[_0x5f3ddb(0x191)][_0x2e5421]);let _0x238541=0x0;for(const _0x569ce0 of _0x18615d){const _0x33d069=this[_0x5f3ddb(0x113)](_0x569ce0),_0x51dbe9=_0x569ce0[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x33d069);if(!_0x3e72d7[_0x5f3ddb(0x192)](_0x51dbe9)&&!_0x4bf69a[_0x5f3ddb(0x192)](_0x51dbe9)){if(_0x24d9b5[_0x5f3ddb(0x192)](_0x51dbe9))_0x238541++;else{if(_0x51dbe9!=_0x497eab[_0x238541]){const _0xeb9274=_0xfba83f[_0x5f3ddb(0x197)](_0x51dbe9)||_0xfba83f[_0x5f3ddb(0x197)](_0x497eab[_0x238541]);for(;_0x51dbe9!=_0x497eab[_0x238541];)_0x24d9b5[_0x5f3ddb(0x192)](_0x497eab[_0x238541])||(_0x4bf69a[_0x5f3ddb(0x80)](_0x497eab[_0x238541],_0xeb9274),_0xfba83f[_0x5f3ddb(0x80)](_0x497eab[_0x238541],_0xeb9274)),_0x238541++;}_0x238541++;}}}}for(const _0x3eee4e of _0x13d80e){const _0x4cbb3c=_0x21268f[_0x5f3ddb(0x198)][_0x3eee4e];for(const _0x58abfd of _0x4cbb3c){const _0x1a1a66=this[_0x5f3ddb(0x113)](_0x58abfd),_0x20e7b7=_0x58abfd[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x1a1a66);if(_0x4bf69a[_0x5f3ddb(0x192)](_0x20e7b7)){const _0x3e6f6a=_0x4bf69a[_0x5f3ddb(0x197)](_0x20e7b7);_0x24d9b5[_0x5f3ddb(0x192)](_0x20e7b7)||_0x24d9b5[_0x5f3ddb(0x80)](_0x20e7b7,{..._0x3e6f6a}),_0x3e72d7[_0x5f3ddb(0x80)](_0x20e7b7,{..._0x3e6f6a});}}}for(const _0x8b84b of _0x24d9b5[_0x5f3ddb(0x96)]())_0x8b84b>=this[_0x5f3ddb(0xa3)]&&_0x24d9b5[_0x5f3ddb(0x7f)](_0x8b84b);const _0x2ef517=new Map();for(const _0x4ebe4a of _0x13d80e){let _0x379fb8=_0x21268f[_0x5f3ddb(0x198)][_0x4ebe4a];for(const _0x4c8409 of _0x379fb8)if(_0x4c8409[_0x5f3ddb(0x124)]['is'](_0x5f3ddb(0xe0),_0x5f3ddb(0x108))){const _0xd8598d=this[_0x5f3ddb(0x113)](_0x4c8409),_0x289ac5=_0x4c8409[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0xd8598d);if(_0x3e72d7[_0x5f3ddb(0x192)](_0x289ac5)){const _0x5a6e85=_0x4c8409[_0x5f3ddb(0x124)][_0x5f3ddb(0xb5)][_0x5f3ddb(0xb5)][_0x5f3ddb(0x175)](_0x5f3ddb(0x172)),_0x1b8ea9=_0x2ef517[_0x5f3ddb(0x197)](_0x5a6e85)||new Set();_0x1b8ea9[_0x5f3ddb(0x1a4)](_0x3e72d7[_0x5f3ddb(0x197)](_0x289ac5)[_0x5f3ddb(0xe2)]),_0x2ef517[_0x5f3ddb(0x80)](_0x5a6e85,_0x1b8ea9);}}_0x379fb8=_0x21268f[_0x5f3ddb(0x191)][_0x4ebe4a];for(const _0x232d16 of _0x379fb8)if(_0x232d16[_0x5f3ddb(0x124)]['is'](_0x5f3ddb(0xe0),_0x5f3ddb(0x108))){const _0x71ff61=this[_0x5f3ddb(0x113)](_0x232d16),_0x266d16=_0x232d16[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x71ff61);if(_0x24d9b5[_0x5f3ddb(0x192)](_0x266d16)){const _0x2c84c0=_0x232d16[_0x5f3ddb(0x124)][_0x5f3ddb(0xb5)][_0x5f3ddb(0xb5)][_0x5f3ddb(0x175)](_0x5f3ddb(0x172)),_0x4975f8=_0x2ef517[_0x5f3ddb(0x197)](_0x2c84c0)||new Set();_0x4975f8[_0x5f3ddb(0x1a4)](_0x24d9b5[_0x5f3ddb(0x197)](_0x266d16)[_0x5f3ddb(0xe2)]),_0x2ef517[_0x5f3ddb(0x80)](_0x2c84c0,_0x4975f8);}}for(const _0x23b65c of _0x2ef517[_0x5f3ddb(0x96)]())(_0x3e72d7[_0x5f3ddb(0x192)](_0x23b65c)||_0x24d9b5[_0x5f3ddb(0x192)](_0x23b65c))&&_0x2ef517[_0x5f3ddb(0x7f)](_0x23b65c);}for(const _0x708e27 of _0x13d80e){const _0x4f1f78=_0x21268f[_0x5f3ddb(0x198)][_0x708e27];let _0x52d302=null,_0x41ef1e=null;for(const _0x209f3e of _0x4f1f78){const _0x7647a5=this[_0x5f3ddb(0x113)](_0x209f3e),_0x2f6f90=_0x209f3e[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x7647a5),_0x51f712=_0x2ef517[_0x5f3ddb(0x197)](_0x2f6f90);_0x51f712&&_0x5f3ddb(0x77)==_0x209f3e[_0x5f3ddb(0x100)]&&(_0x52d302=Array[_0x5f3ddb(0x116)](_0x51f712)[0x0],_0x41ef1e=_0x209f3e[_0x5f3ddb(0x124)][_0x5f3ddb(0x175)](_0x5f3ddb(0x164))),_0x52d302&&(_0x24d9b5[_0x5f3ddb(0x80)](_0x2f6f90,{'userId':_0x52d302}),_0x3e72d7[_0x5f3ddb(0x80)](_0x2f6f90,{'userId':_0x52d302})),_0x2f6f90==_0x41ef1e&&(_0x52d302=null,_0x41ef1e=null);}}const _0xd3ba62={},_0xba5dff=new Set();for(const _0x1a9f34 of _0x13d80e){const _0x1f57a8=_0x2cbd47[_0x5f3ddb(0x191)][_0x1a9f34],_0x197eb4=_0x2cbd47[_0x5f3ddb(0x198)][_0x1a9f34];for(const {userId:_0x2294e8}of this[_0x5f3ddb(0x129)][_0x5f3ddb(0xed)]())null!==_0x2294e8&&_0xba5dff[_0x5f3ddb(0x1a4)](_0x2294e8);for(const {userId:_0xfd0d6c}of this[_0x5f3ddb(0x95)][_0x5f3ddb(0xed)]())null!==_0xfd0d6c&&_0xba5dff[_0x5f3ddb(0x1a4)](_0xfd0d6c);this[_0x5f3ddb(0xf8)](_0x197eb4,_0x21268f[_0x5f3ddb(0x198)][_0x1a9f34],_0x3e72d7,_0x5f3ddb(0x73),_0xba5dff),this[_0x5f3ddb(0xf8)](_0x1f57a8,_0x21268f[_0x5f3ddb(0x191)][_0x1a9f34],_0x24d9b5,_0x5f3ddb(0x1aa),_0xba5dff),_0xd3ba62[_0x1a9f34]={'insertions':this[_0x5f3ddb(0xb1)](_0x197eb4),'deletions':this[_0x5f3ddb(0xb1)](_0x1f57a8),'attachChange':this[_0x5f3ddb(0x95)][_0x5f3ddb(0x197)](_0x1a9f34)||null,'attributesBefore':_0x48e46d(this[_0x5f3ddb(0x126)][_0x5f3ddb(0x197)](_0x1a9f34))||{},'attributesAfter':_0x48e46d(this[_0x5f3ddb(0xdd)][_0x5f3ddb(0x197)](_0x1a9f34))};}return{'diffData':_0xd3ba62,'authorsIds':Array[_0x5f3ddb(0x116)](_0xba5dff)};}[_0x37e4d7(0xaa)](_0x52d80f){const _0x542a63=_0x37e4d7;for(const [,_0x1f808d]of _0x52d80f[_0x542a63(0x178)]){const _0x1aa337=_0x1f808d[_0x542a63(0x18a)][_0x542a63(0x102)]()[_0x542a63(0x196)](_0x550213=>_0x542a63(0x108)==_0x550213[_0x542a63(0x86)]);for(const _0x59b39c of _0x1aa337)0x1==_0x59b39c[_0x542a63(0x15f)]&&_0x59b39c[_0x542a63(0x6d)](0x0)['is'](_0x542a63(0xe0),_0x542a63(0x168))&&_0x59b39c[_0x542a63(0x6d)](0x0)[_0x542a63(0x16d)](_0x542a63(0x171),!0x0);}}[_0x37e4d7(0xb1)](_0x4160ce){const _0x3bd2c2=_0x37e4d7;this[_0x3bd2c2(0xaa)](_0x4160ce);const _0xf089f=this[_0x3bd2c2(0x134)][_0x3bd2c2(0x8b)][_0x3bd2c2(0xe7)](_0x4160ce,{}),_0x465e00=Array[_0x3bd2c2(0x116)](_0xf089f[_0x3bd2c2(0x90)]())[_0x3bd2c2(0x7b)](_0x2247e4=>this[_0x3bd2c2(0xf4)](_0x2247e4));return JSON[_0x3bd2c2(0x186)](_0x465e00);}[_0x37e4d7(0xf4)](_0x2917fb){const _0x404901=_0x37e4d7;if(_0x2917fb['is'](_0x404901(0x8c)))return _0x2917fb[_0x404901(0x8b)];{const _0x4e21f8=this[_0x404901(0x134)][_0x404901(0x15a)][_0x404901(0x197)](_0x404901(0x19e)),_0x5d7118=_0x2917fb,_0xc4f4fd=this[_0x404901(0x134)][_0x404901(0x8b)][_0x404901(0xe1)][_0x404901(0x10c)],_0x386ff0={'type':_0x4e21f8[_0x404901(0x12e)](_0x5d7118),'name':_0x5d7118[_0x404901(0x86)],'attributes':Array[_0x404901(0x116)](_0x5d7118[_0x404901(0x117)]()),'children':Array[_0x404901(0x116)](_0x5d7118[_0x404901(0x90)]())[_0x404901(0x7b)](_0x5a3443=>this[_0x404901(0xf4)](_0x5a3443))};if(_0x2917fb['is'](_0x404901(0x156))&&_0x404901(0xf2)!=_0x2917fb[_0x404901(0x86)]){const _0xf1b0f3=_0x2917fb[_0x404901(0x1a5)](_0xc4f4fd[_0x404901(0xee)],_0xc4f4fd);_0x386ff0[_0x404901(0x19d)][_0x404901(0x84)](_0xf1b0f3[_0x404901(0xf3)]);}else{if(_0x2917fb['is'](_0x404901(0x17d))){const _0x35d252=_0xc4f4fd[_0x404901(0xee)][_0x404901(0x13b)](_0x5d7118[_0x404901(0x86)]);_0x2917fb[_0x404901(0x1a5)](_0x35d252,_0xc4f4fd),_0x386ff0[_0x404901(0x19d)][_0x404901(0x84)](_0x35d252[_0x404901(0x143)]);}}const _0x25db69=Array[_0x404901(0x116)](_0x5d7118[_0x404901(0xfc)]());_0x25db69[_0x404901(0x188)]>0x0&&(_0x386ff0[_0x404901(0xd4)]=_0x25db69);const _0x29236a=_0x5d7118[_0x404901(0xd7)]();return null!==_0x29236a&&(_0x386ff0[_0x404901(0xc1)]=_0x29236a),_0x386ff0;}}[_0x37e4d7(0xf8)](_0x31bdda,_0x479bb5,_0x35d4a9,_0x8fad61,_0x34f9f6){const _0x2c602d=_0x37e4d7;let _0x1b9496=null,_0x5ba944=null,_0x3a00bf=0x0;const _0x36e449=this[_0x2c602d(0x134)][_0x2c602d(0xa5)];for(let _0x32b1eb=0x0;_0x32b1eb<_0x479bb5[_0x2c602d(0x188)];_0x32b1eb++){const _0x1c640c=this[_0x2c602d(0x113)](_0x479bb5[_0x32b1eb]),_0x248ac3=_0x479bb5[_0x32b1eb][_0x2c602d(0x124)][_0x2c602d(0x175)](_0x1c640c),_0x1d02cb=_0x35d4a9[_0x2c602d(0x197)](_0x248ac3),_0x4f859e=_0x32b1eb==_0x479bb5[_0x2c602d(0x188)]-0x1;(!_0x1b9496&&_0x1d02cb&&(_0x1b9496=_0x1d02cb,_0x5ba944=_0x479bb5[_0x32b1eb]),_0x1b9496&&(!_0x1d02cb||_0x1d02cb[_0x2c602d(0xe2)]!=_0x1b9496[_0x2c602d(0xe2)]))&&(_0x36f057(_0x1d02cb,F(_0x5ba944,_0x31bdda,_0x36e449),F(_0x479bb5[_0x32b1eb],_0x31bdda,_0x36e449)),_0x1b9496=_0x1d02cb||null,_0x5ba944=_0x1d02cb?_0x479bb5[_0x32b1eb]:null),_0x1b9496&&_0x4f859e&&_0x36f057(_0x1d02cb,F(_0x5ba944,_0x31bdda,_0x36e449),B(_0x479bb5[_0x32b1eb],_0x31bdda,_0x36e449));}function _0x36f057(_0x1d9f3f,_0x2bf700,_0x1623ee){const _0x587a14=_0x2c602d,_0x588b89=_0x1b9496[_0x587a14(0xe2)],_0x4749b5=_0x587a14(0x9b)+_0x8fad61+':'+_0x588b89+':'+_0x3a00bf++,_0x3b8934=_0x36e449[_0x587a14(0xab)](_0x2bf700,_0x1623ee);_0x31bdda[_0x587a14(0x178)][_0x587a14(0x80)](_0x4749b5,_0x3b8934),null!==_0x588b89&&_0x34f9f6[_0x587a14(0x1a4)](_0x588b89);}}[_0x37e4d7(0x113)](_0x1e7962){const _0x49edd9=_0x37e4d7;switch(_0x1e7962[_0x49edd9(0x100)]){case _0x49edd9(0x77):return _0x49edd9(0x172);case _0x49edd9(0x9c):return _0x49edd9(0x164);default:return _0x49edd9(0x160);}}[_0x37e4d7(0xac)](_0x690577,_0x31442b){const _0x132d30=_0x37e4d7;_0x690577[_0x132d30(0x138)]=null;for(const _0x4fde57 in _0x690577){const _0x731a38=_0x690577[_0x4fde57];if(_0x731a38 instanceof _0x11d37c){const _0x14d8cb=_0x31442b[_0x132d30(0x197)](_0x731a38[_0x132d30(0x145)][_0x132d30(0x71)]);_0x690577[_0x4fde57]=this[_0x132d30(0x76)](_0x731a38,_0x14d8cb);}if(_0x731a38 instanceof _0xb51349){const _0x2cc972=_0x31442b[_0x132d30(0x197)](_0x731a38[_0x132d30(0x145)][_0x132d30(0x71)]);_0x690577[_0x4fde57]=this[_0x132d30(0xde)](_0x731a38,_0x2cc972);}_0x132d30(0x145)===_0x4fde57&&(_0x690577[_0x132d30(0x145)]=_0x31442b[_0x132d30(0x197)](_0x690577[_0x132d30(0x145)][_0x132d30(0x71)]));}}[_0x37e4d7(0xde)](_0x533d35,_0xabeaf2){const _0x63ecfe=_0x37e4d7;return this[_0x63ecfe(0x134)][_0x63ecfe(0xa5)][_0x63ecfe(0xab)](this[_0x63ecfe(0x76)](_0x533d35[_0x63ecfe(0x18a)],_0xabeaf2),this[_0x63ecfe(0x76)](_0x533d35[_0x63ecfe(0xa8)],_0xabeaf2));}[_0x37e4d7(0x76)](_0x153dd2,_0x5baca8){const _0x33f74b=_0x37e4d7;return this[_0x33f74b(0x134)][_0x33f74b(0xa5)][_0x33f74b(0x16f)](_0x5baca8,_0x153dd2[_0x33f74b(0x7c)],_0x153dd2[_0x33f74b(0xb0)]);}[_0x37e4d7(0xbe)](_0x3d06dc){const _0x440f1b=_0x37e4d7,_0x2f7b43=this[_0x440f1b(0xf1)][_0x440f1b(0x197)](_0x3d06dc[_0x440f1b(0x94)][_0x440f1b(0x145)][_0x440f1b(0x71)]),_0x4c2e8f=this[_0x440f1b(0x76)](_0x3d06dc[_0x440f1b(0x94)],_0x2f7b43),_0x1024ee=null===_0x3d06dc[_0x440f1b(0x12f)]?null:_0x3d06dc[_0x440f1b(0x12f)]||this[_0x440f1b(0x134)][_0x440f1b(0x15a)][_0x440f1b(0x197)](_0x440f1b(0x13f))['me']['id'],_0x5bb28f=_0x4c2e8f[_0x440f1b(0xb5)],_0x567e61=this[_0x440f1b(0x104)],_0x4464b7=[];for(const _0x1d2456 of _0x3d06dc[_0x440f1b(0xf0)])if(_0x1d2456['is'](_0x440f1b(0xe0)))_0x4464b7[_0x440f1b(0x84)](this[_0x440f1b(0x9f)](_0x1d2456));else{for(let _0x3d9b19=0x0;_0x3d9b19<_0x1d2456[_0x440f1b(0x1a9)];_0x3d9b19++)_0x4464b7[_0x440f1b(0x84)](new _0x44b2d6(_0x440f1b(0x8c),{'vid':this[_0x440f1b(0x104)]++}));}const _0x19007d=this[_0x440f1b(0x104)];for(let _0x1e32a1=_0x567e61;_0x1e32a1<_0x19007d;_0x1e32a1++)this[_0x440f1b(0x167)][_0x440f1b(0x80)](_0x1e32a1,{'userId':_0x1024ee});_0x5bb28f[_0x440f1b(0x11e)](_0x4c2e8f[_0x440f1b(0x7d)],_0x4464b7);}[_0x37e4d7(0x1a0)](_0x3d4422){const _0x480b65=_0x37e4d7;(_0x3d4422=this[_0x480b65(0x103)](_0x3d4422,this[_0x480b65(0xf1)]))[_0x480b65(0x114)]();const _0x400739=null===_0x3d4422[_0x480b65(0x12f)]?null:_0x3d4422[_0x480b65(0x12f)]||this[_0x480b65(0x134)][_0x480b65(0x15a)][_0x480b65(0x197)](_0x480b65(0x13f))['me']['id'],_0x533054=_0x3d4422[_0x480b65(0x88)](),_0x5bc223=_0x533054[_0x480b65(0xb5)],_0x8d31fe=_0x533054[_0x480b65(0x7d)];!function _0x5e43d0(_0x43ecdd,_0x43de8b,_0x1f1363,_0x515d84){const _0x1cd075=_0x480b65;for(let _0x465f41=_0x1f1363;_0x465f41<_0x515d84;_0x465f41++){const _0x43b6d7=_0x43de8b[_0x1cd075(0x6d)](_0x465f41);_0x43b6d7['is'](_0x1cd075(0xe0),_0x1cd075(0x8c))?_0x43ecdd[_0x1cd075(0x80)](_0x43b6d7[_0x1cd075(0x175)](_0x1cd075(0x160)),{'userId':_0x400739}):(_0x43ecdd[_0x1cd075(0x80)](_0x43b6d7[_0x1cd075(0x175)](_0x1cd075(0x172)),{'userId':_0x400739}),_0x5e43d0(_0x43ecdd,_0x43b6d7,0x0,_0x43b6d7[_0x1cd075(0x15f)]),_0x43ecdd[_0x1cd075(0x80)](_0x43b6d7[_0x1cd075(0x175)](_0x1cd075(0x164)),{'userId':_0x400739}));}}(this[_0x480b65(0x167)],_0x5bc223,_0x8d31fe,_0x8d31fe+_0x3d4422[_0x480b65(0x135)]);}[_0x37e4d7(0x1a6)](_0x57c2b3){const _0x3c690e=_0x37e4d7,_0x577815=null===(_0x57c2b3=this[_0x3c690e(0x103)](_0x57c2b3,this[_0x3c690e(0xf1)]))[_0x3c690e(0x12f)]?null:_0x57c2b3[_0x3c690e(0x12f)]||this[_0x3c690e(0x134)][_0x3c690e(0x15a)][_0x3c690e(0x197)](_0x3c690e(0x13f))['me']['id'],_0x30d63b=_0x57c2b3[_0x3c690e(0x81)][_0x3c690e(0xb5)],_0x31cc5f=_0x57c2b3[_0x3c690e(0x15d)][_0x3c690e(0xb5)],_0x477cb0=_0x30d63b[_0x3c690e(0x175)](_0x3c690e(0x164)),_0x1e58e6=_0x31cc5f[_0x3c690e(0x175)](_0x3c690e(0x172));_0x30d63b[_0x3c690e(0x16d)](_0x3c690e(0x164),_0x31cc5f[_0x3c690e(0x175)](_0x3c690e(0x164))),_0x31cc5f[_0x3c690e(0x16d)](_0x3c690e(0x164),_0x477cb0),this[_0x3c690e(0x167)][_0x3c690e(0x80)](_0x1e58e6,{'userId':_0x577815}),this[_0x3c690e(0x167)][_0x3c690e(0x80)](_0x477cb0,{'userId':_0x577815}),_0x57c2b3[_0x3c690e(0x114)]();}[_0x37e4d7(0x118)](_0x50c31a){const _0x2da5ec=_0x37e4d7,_0x128854=null===(_0x50c31a=this[_0x2da5ec(0x103)](_0x50c31a,this[_0x2da5ec(0xf1)]))[_0x2da5ec(0x12f)]?null:_0x50c31a[_0x2da5ec(0x12f)]||this[_0x2da5ec(0x134)][_0x2da5ec(0x15a)][_0x2da5ec(0x197)](_0x2da5ec(0x13f))['me']['id'],_0x2749a6=_0x50c31a[_0x2da5ec(0x176)],_0x4c76c=_0x50c31a[_0x2da5ec(0x157)][_0x2da5ec(0xb5)];_0x50c31a[_0x2da5ec(0x114)]();const _0x1a1916=_0x4c76c[_0x2da5ec(0x175)](_0x2da5ec(0x164)),_0x4ec256=_0x50c31a[_0x2da5ec(0x13c)][_0x2da5ec(0x154)];if(_0x2749a6){const _0x2edcbd=_0x4ec256[_0x2da5ec(0x175)](_0x2da5ec(0x164)),_0x42c9cb=_0x4c76c[_0x2da5ec(0x175)](_0x2da5ec(0x164));_0x4c76c[_0x2da5ec(0x16d)](_0x2da5ec(0x164),_0x2edcbd),_0x4ec256[_0x2da5ec(0x16d)](_0x2da5ec(0x164),_0x42c9cb),this[_0x2da5ec(0x167)][_0x2da5ec(0x80)](_0x4c76c[_0x2da5ec(0x175)](_0x2da5ec(0x164)),{'userId':_0x128854}),this[_0x2da5ec(0x167)][_0x2da5ec(0x80)](_0x4ec256[_0x2da5ec(0x175)](_0x2da5ec(0x172)),{'userId':_0x128854});}else{const _0x4e9f1d=this[_0x2da5ec(0x104)]++,_0xd4b888=this[_0x2da5ec(0x104)]++;_0x4c76c[_0x2da5ec(0x16d)](_0x2da5ec(0x164),_0x4e9f1d),_0x4ec256[_0x2da5ec(0x16d)](_0x2da5ec(0x172),_0xd4b888),_0x4ec256[_0x2da5ec(0x16d)](_0x2da5ec(0x164),_0x1a1916),this[_0x2da5ec(0x167)][_0x2da5ec(0x80)](_0x4e9f1d,{'userId':_0x128854}),this[_0x2da5ec(0x167)][_0x2da5ec(0x80)](_0xd4b888,{'userId':_0x128854});}}[_0x37e4d7(0xa4)](_0xe4279c){const _0x723c57=_0x37e4d7;if(!_0xe4279c[_0x723c57(0x139)])return;const _0x5c5ed8=(_0xe4279c=this[_0x723c57(0x103)](_0xe4279c,this[_0x723c57(0x18c)]))[_0x723c57(0xa6)]?_0xe4279c[_0x723c57(0xa6)][_0x723c57(0x145)]:null,_0xf89ec1=_0xe4279c[_0x723c57(0x12b)]?_0xe4279c[_0x723c57(0x12b)][_0x723c57(0x145)]:null;_0x5c5ed8&&this[_0x723c57(0xf6)][_0x723c57(0x7f)](_0xe4279c[_0x723c57(0x86)]),_0xf89ec1&&this[_0x723c57(0xf6)][_0x723c57(0x80)](_0xe4279c[_0x723c57(0x86)],_0xe4279c[_0x723c57(0x12b)][_0x723c57(0x120)]());const _0x2a6567=null===_0xe4279c[_0x723c57(0x12f)]?null:_0xe4279c[_0x723c57(0x12f)]||this[_0x723c57(0x134)][_0x723c57(0x15a)][_0x723c57(0x197)](_0x723c57(0x13f))['me']['id'],_0x33068c=_0xe4279c[_0x723c57(0x86)];if(!this[_0x723c57(0x129)][_0x723c57(0x192)](_0x33068c))return void this[_0x723c57(0x129)][_0x723c57(0x80)](_0x33068c,{'range':_0xe4279c[_0x723c57(0xa6)],'userId':_0x2a6567});const _0x1f9e17=this[_0x723c57(0x129)][_0x723c57(0x197)](_0x33068c),_0x4e6e0a=_0x1f9e17[_0x723c57(0xc0)],_0x425e71=_0xe4279c[_0x723c57(0x12b)];null==_0x4e6e0a&&null==_0x425e71||_0x4e6e0a&&_0x425e71&&_0x4e6e0a[_0x723c57(0xc2)](_0x425e71)?this[_0x723c57(0x129)][_0x723c57(0x7f)](_0xe4279c[_0x723c57(0x86)]):_0x1f9e17[_0x723c57(0xe2)]=_0x2a6567;}[_0x37e4d7(0x12c)](_0x25d37d,_0x3eb751){const _0x5a67a8=_0x37e4d7;this[_0x5a67a8(0x18c)][_0x5a67a8(0x192)](_0x25d37d[_0x5a67a8(0x71)])?this[_0x5a67a8(0x18c)][_0x5a67a8(0x197)](_0x25d37d[_0x5a67a8(0x71)])[_0x5a67a8(0x17e)]=_0x25d37d[_0x5a67a8(0x146)]:(this[_0x5a67a8(0x18c)][_0x5a67a8(0x80)](_0x25d37d[_0x5a67a8(0x71)],P(_0x25d37d[_0x5a67a8(0x71)],!0x0)),this[_0x5a67a8(0xdd)][_0x5a67a8(0x80)](_0x25d37d[_0x5a67a8(0x71)],{}),_0x3eb751&&this[_0x5a67a8(0xf1)][_0x5a67a8(0x80)](_0x25d37d[_0x5a67a8(0x71)],P(_0x25d37d[_0x5a67a8(0x71)],!0x0)));const _0x209d45=null===_0x25d37d[_0x5a67a8(0x12f)]?null:_0x25d37d[_0x5a67a8(0x12f)]||this[_0x5a67a8(0x134)][_0x5a67a8(0x15a)][_0x5a67a8(0x197)](_0x5a67a8(0x13f))['me']['id'],_0x24caf7=this[_0x5a67a8(0x95)][_0x5a67a8(0x197)](_0x25d37d[_0x5a67a8(0x71)]);_0x24caf7&&_0x24caf7[_0x5a67a8(0xe2)]===_0x209d45?this[_0x5a67a8(0x95)][_0x5a67a8(0x7f)](_0x25d37d[_0x5a67a8(0x71)]):this[_0x5a67a8(0x95)][_0x5a67a8(0x80)](_0x25d37d[_0x5a67a8(0x71)],{'userId':_0x209d45,'isAttached':_0x25d37d[_0x5a67a8(0x146)]});}[_0x37e4d7(0xb3)](_0x51ea0b){const _0x23592f=_0x37e4d7,_0x3363ad=this[_0x23592f(0xdd)][_0x23592f(0x197)](_0x51ea0b[_0x23592f(0x145)][_0x23592f(0x71)]);null===_0x51ea0b[_0x23592f(0xfd)]?delete _0x3363ad[_0x51ea0b[_0x23592f(0xbc)]]:_0x3363ad[_0x51ea0b[_0x23592f(0xbc)]]=_0x51ea0b[_0x23592f(0xfd)];}}function N(_0x21a4df){const _0x4e0653=_0x37e4d7,_0x527e52=P(_0x21a4df[_0x4e0653(0x71)],_0x21a4df[_0x4e0653(0x136)]());for(const _0x315f98 of _0x21a4df[_0x4e0653(0x90)]()){const _0x33e410=_0x315f98[_0x4e0653(0x161)](!0x0);_0x527e52[_0x4e0653(0xaf)](_0x33e410);}return _0x527e52;}function P(_0x4bfd7c,_0x2e2390=!0x0){const _0x3fcec3=_0x37e4d7,_0x842403=new _0x198715();return _0x842403[_0x3fcec3(0x71)]=_0x4bfd7c,_0x842403[_0x3fcec3(0x17e)]=_0x2e2390,_0x842403[_0x3fcec3(0x136)]=()=>_0x842403[_0x3fcec3(0x17e)],_0x842403;}function F(_0x30b783,_0x42589c,_0x15e05b){const _0x39dcbc=_0x37e4d7,_0xe6a04e=_0x39dcbc(0x9c)==_0x30b783[_0x39dcbc(0x100)]?_0x15e05b[_0x39dcbc(0xb8)](_0x30b783[_0x39dcbc(0x124)],_0x39dcbc(0xa8)):_0x15e05b[_0x39dcbc(0x6f)](_0x30b783[_0x39dcbc(0x124)]);return _0x15e05b[_0x39dcbc(0x16f)](_0x42589c,_0xe6a04e[_0x39dcbc(0x7c)],_0xe6a04e[_0x39dcbc(0xb0)]);}function B(_0x2f6c5a,_0x618867,_0x33593a){const _0x377050=_0x37e4d7,_0x33d03b=_0x377050(0x77)==_0x2f6c5a[_0x377050(0x100)]?_0x33593a[_0x377050(0xb8)](_0x2f6c5a[_0x377050(0x124)],0x0):_0x33593a[_0x377050(0xad)](_0x2f6c5a[_0x377050(0x124)]);return _0x33593a[_0x377050(0x16f)](_0x618867,_0x33d03b[_0x377050(0x7c)],_0x33d03b[_0x377050(0xb0)]);}
|
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 {
|