@univerjs-pro/collaboration-client 0.10.1-nightly.202508020912 → 0.10.2
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/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x2952(_0x7f9268,_0x1b37c7){var _0x516e4f=_0x516e();return _0x2952=function(_0x2952bd,_0x28ef27){_0x2952bd=_0x2952bd-0x1e1;var _0x43a5f6=_0x516e4f[_0x2952bd];return _0x43a5f6;},_0x2952(_0x7f9268,_0x1b37c7);}function _0x516e(){var _0x2569b1=['mode','CollaborationSocketService','UnitStatus','_showConflictNotification','exports','catch','__creator','@univerjs/telemetry','_reverseMap','DEFAULT_FILE_NAME','_timeoutTimer','snapshotServerUrl','@univerjs/core','generateRandomId','pipe','_exhaustRemoteChangesetQueue','_state$','/unit/','findIndex','onTransformIME','USERS_LEAVE','stringify','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','createCollaborator','getUnitType','ENSURE_SNAPSHOT_EXECUTION','CipherParams','commentUpdateEvent','_clearRedo','YUUMI_ASYNCIO_CANCELLED','SheetsSelectionsService','_commandService','UNIVER_COLLABORATION_CLIENT_PLUGIN','uniscriptRunEvent','default','onCommandExecuted','ISnapshotServerService','NOT_COLLAB','x-univer-host','MentionIoHttpService','originalMeta','1388830kOwwwC','WECHAT_HAS_BEEN_BOUND','entityInit$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UPDATE_CURSOR','AWAITING','APPLY_PERMISSION_DENIED','HTTPService','call','1270984ZnGELD','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_singleActiveUnitService','LICENSE_IMPORT_SIZE_EXCEEDED','enableAuthServer','send','Base','WorkbookEditablePermission','_removeRoom','_initCloseConn','UNRECOGNIZED','HmacMD5','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_syncEditingCollabCursor','OpenSSL','_instanceService','salt','1558386GNucpJ','LICENSE_DISTRO_REJECTED','length','error','isInternalEditorID','executeCommand','_acknowledgedAwaitingChangeset','formatter','_init','status','stopTime','_transformRemoteChangesetByIMECache','onMissingChangesets','every','UNAUTHENTICATED','/universer-api/snapshot/','UniverInstanceType','slice','data','deleteCollaborator','decryptBlock','state','state$','getTypeOfUnitDisposed$','sequenceExecute','_snapshotService','ISocketService','error$','MOBILE_VERIFY_CODE_MISMATCH','compute','_doFinalize','SnapshotService','duration','UNIVER_DOC','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SNAPSHOT_HAS_BEEN_REMOVED','commentUpdate$','\x20in\x20_schedule.','_substituteRedoStack','/resources','emitEvent','init','collaboration-client.config','SheetCollaborationEntity','localCacheService','open$','body','get','getFocusedUnit','_telemetryInfo','SYNCED','CollaborationEntity','NEW_CHANGESETS','ciphertext','/object/','_parse','createInstance','_onCombEvent','Plugin','_snapshotServerService','_handlerCallback','unpad','_socketService','_toggleOffline','confirm','UserProfileImg','PERSON','UNDEFINED','Pkcs7','compose','FETCH_MISSING','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','parseChangesetToProtocol','PendingState','_getRedoStack','BlockCipherMode','requireSession','_getAPIPrefixPath','CollaborativeUndoRedoService','IPermissionService','UNKNOWN_CMD','YUUMI_RATE_OVER_LIMIT','image/jpeg','_socketReady','isTransformMutationsWithChangesetSuccess','_socketMessageSubscription','requestParams','_cipher','CollaborationSession','_nRounds','image/gif','getActiveSheet','saveImage','_emitMembers','[CollaborationSessionService]','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_collaborationTimeoutTimer','_prevBlock','next','take','NO_OTHER_CLIENTS_EDITING','YUUMI_AI_RUN_FAILED','getLatestCsReqIdBySid','_sender','unit-cache-','\x20-\x20','getUnitStatus$','objectActions','_shouldReportTelemetry','ISingleActiveUnitService','members$','_applyRemoteChangeset','_getUploadFileURL','FileId','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_startCollaboration','_transformUndoredo','_clearLocalCache','deserializeToCombResponse','_updateLocalCache','RevisionService','AWAITING_WITH_PENDING','selections','LICENSE_MAX_UNITS_EXCEEDED','reconnect','[CollaborationSession]','uuidv4','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ILogService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','concat','_createHandler','loadOfflineData','Decryptor','Cipher','floor','conflict','BASE64','RETRY_CONNECTING_MAX_COUNT_KEY','telemetry\x20info\x20is\x20not\x20initialized','DocCollaborationEntity','clamp','textRanges','onCommentUpdate','CollaborationImageIoService','_onConflict','_queuedRemoteChangesets','_unitInfo$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','code','b64DecodeUnicode','_permissionService','10CeVAnM','_config','reject','&assign=','{fileID}','getCurrentUser','_onRemoteACK','EvpKDF','pauseCollaboration','_onUserLeave','_univerInstanceService','CONNECTOR_DATA_TOO_LARGE','_joinRoom','&to=','_waitCount','IImageIoService','LIVESHARE_FETCH_OPERATIONS','USERS_ENTER','_getUndoStack','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','INVALID_INVITE_CODE','CHANGESET_SHOULD_RETRY','_change$','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','PERMISSION_REJ','[DataLoaderService]','min','_initMergeInterceptor','ceil','YUUMI_SUBSCRIPTION_NOT_FOUND','IAuthzIoService','cfg','_transformRemoteChangesetByStateCache','_updateState','getCollabEntity','384001LpdmvP','startsWith','SNAPSHOT_URL_KEY','_transformStack','SUBMIT_CHANGESET','_state','change$','MUTATION','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','subUnitId','unitId','UNIVER_PROJECT','JSONX','_getCtorByUniverType','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','object','apply','update','transformMutationsWithChangeset','_imageSourceCache','ReplaySubject','updatePermissionObjEvent','AuthzIoHttpService','splice','concatMap','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_type','@univerjs/network','has','operators','addHandlerCallback','UniverNetworkPlugin','EMAIL_HAS_BEEN_BOUND','APPLY_REJECT','onSyncEditingCollabCursor','list','_createSocket','INVITE_CODE_ALREADY_BOUND','sheets','HTTPRequest','push','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','byteLength','defineProperty','Univer','loadUnitOfRevision','getCurrentSelections','string','initWorkbookPermissionChange','_entityInit$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','subscribe','CommentService','getConfig','eventID','createDecryptor','target','_replayCachedMutations','PasswordBasedCipher','CLOSE_ROOM','DEFAULT_COLLAB_WEB_SOCKET_URL','userID','_entities','join','SOCKET_FAILED_RETRY','_sessions','createIdentifier','YUUMI_URL_COL_OUT_OF_RANGE','InsertSheetMutation','name','collaboration_new_changeset','_createInitialState','HELLO','_doCreateSocket','actions','1056612RoahWh','retryConnectingInterval','CommandType','PSEUDO_FETCH_MISSING_RESULT','SerializableCipher','ImageSourceType','IMentionIOService','HEARTBEAT','LIVESHARE_OPERATION','_updateStatus','dispose','algo','CollaborationSessionService','not_collab','override','/role','INetworkConditionService','PERMISSION_DENIED','_tryEnsureSocket','charAt','encrypt','fetchThroughInterceptors','MSG_FOR_ERROR','HttpImport','toDisposable','debug','_localCacheService','resend','csRejEvent','UniverProLicense','onTransformState','location','JOIN_ROOM_FULL','setWaitCount','INVITE_CODE_HAS_BEEN_UES','words','listCollaborators','_retryConnectingTimer','INGEST','_createHelper','IConfigService','_iv','registerHTTPInterceptor','Disposable','LIVESHARE_TERMINATE','PENDING','?size=','Base64','IUndoRedoService','[CollaborationEntity]','csAckEvent','complete','shouldCloseConn','session.room-cnt-exceeds','/universer-api/stream/file/upload','session.room-not-exists','_collaborationSessionService','listRoles','_clearCollaborationTimeoutTimer','SOCKET_FAILED','_handler','Utf8','getUnitOnRev','hasher','POST','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Optional','UPDATE_PERMISSION_OBJ','unitID','ThresholdInterceptorFactory','CollaborationController','href','UNISCRIPT_RUN','enableCollaboration','getAllMembers','_onFetchMissResult','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConnectionFailed','execute','_lockTransition','_tryReconnect','_listenToNetworkCondition','Rectangle','_commentService','image/png','getUnitId','status$','getRandomValues','touchDependencies','_getSignURL','hasOwnProperty','_memberService','updatePermissionPoint','_revisionService','_userManagerService','_resendWithTimeout','newCsEvent','_collaborationPaused','getMemberID','APPLY_REVISION_CONFILICT','joinRsp','OFFLINE','_sendHeartbeat','ITransformService','mutations','create','MemberService','permissionRejEvent','now','_xformMode','Quantity','transformChangesets','createSocket','StreamCipher','takeUntil','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','toggleOffline','14sKYszI','BlockCipher','map','getSnapshotAPIPath','uploadFileServerUrl','encryptBlock','getRoom','/universer-api/comb','onTransformRemoteChangesetByStateCache','textEncoder','CHANGESET_ACK','OTHER_CLIENTS_EDITING','size','People','_networkConditionService','DEFAULT_WS_SESSION_TICKET_URL','_disableEditing','toString','capture','ICollaborationSocketService','objectType','getTypeOfUnitAdded$','INVITE_CODE_REQUIRED','_incrementRevisionNumber','_socket','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','fromCharCode','LIVESHARE_NEW_HOST','fetchMiss','_eventService','awaiting','onRemoteAck','_submitChangeset','OTHER_CLIENT_EDITING','_undoRedoService','/block/','_transformService','loadUnit','charCodeAt','c1Prime','_getSendChangesetTimeout','UNIVER_UNKNOWN','session.room-full','UUID','_hash','encode','_collabSessionService','params','OfflineState','collaMsg','SUCCUSS','removeMember','_candidateSocket','enableOfflineEditing','equals','CHANGESET_REJ','SHA1','_onConnectionOpen','_initUnitPermissionChange','enc','_doReset','AwaitingWithPendingState','_append','collaborators','_startTelemetryCollaborationNewChangeset','_sessionStatus$','_commentUpdate$','CollaborationStatus','HEARTBEAT_TIMEOUT','Inject','interceptor','_doProcessBlock','refreshPermission','encodeURIComponent','UserManagerService','m2Prime','@univerjs/docs','GLOBAL_ROOMS_CNT_EXCEEDS','subject','getCurrentRevOfUnit','_event$','ICommandService','setConfig','set','then','getTime','univer-pro.collaboration-client-socket-service','socketService','delete','incrementRevOfUnit','padding','_roomMembers','lib','HMAC','transformSelections','LIVESHARE_REQUEST_HOST','url','src','_createInitialStateImpl','onRemoteRej','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','isTransformChangesetsSuccess','onTransformRemoteChangesetByIMECache','add','onlyLocal','members','COMPRESS_MUTATION_SEND','LICENSE_EXPORT_SIZE_EXCEEDED','RichTextEditingMutation','[SyncedState]:\x20received\x20rejection.','JOINING','sessionStatus','joinEvent','getDeserializedSheetBlock','getResourcesRequest','JOIN_ROOM_NOT_EXISTS','Hasher','decrypt','session','CONFLICT','[CollaborationSessionService]:\x20socket\x20error','processBlock','_unlockTransition','updateSnapshot','/universer-api/authz','_nDataBytes','_getDownloadEndpointURL','localeService','FETCH_MISS','values','rev','close$','disposeWithMe','_onLocalMutation','_ENC_XFORM_MODE','baseRev','BehaviorSubject','setShowComponents','serializeCombRequest','_registerDependencies','_localeService','amd','_getAPIPrefix','_onJoinRoomEvent','mixIn','isArray','UniverCore','_HTTPService','OPTIONAL','_resendTimer','_initDependencies','mapDocumentTypeToUniverType','setCurrentUser','awaiting_with_pending','JOIN_ROOM_PERMISSION_DENIED','fetchMissingChangesets','UNIVER_SHEET','BufferedBlockAlgorithm','_createHmacHelper','onTransformSelections','randomBytes','_scheduleCompleteTimestamp','/-/object/-/batch_allowed','HttpExport','_onRemoteChangeset','SNAPSHOT_INVALID_SNAPSHOT','_oKey','getCollabEntity$','IUniverInstanceService','reduce','DataLoaderService','parse','ERROR_EXCEED_SIZE','_map','Encryptor','_onRemoteRejected','csShouldRetryEvent','_changesetReqId','MergeInterceptorFactory','\x0aAfter:\x20','message$','RxDisposable','UNIVER_SLIDE','awaitingChangeset','saveSnapshot','YUUMI_CONNECTOR_URL_NOT_FOUND','[CollaborationState]:\x20apply\x20error!','_mode','offline','_injector','JOIN_ROOM_FAILED','Subject','_compressMutationService','title','registerDependencies','_undoStacks','SheetTransformSelectionsService','_onRecvEvent','__Key__','loadDoc','_scheduleCollaborationTimeoutTimer','image/bmp','[OfflineState]:\x20received\x20acknowledgement.','kdf','fromCollab','_transformIMECache','[PendingState]:\x20received\x20acknowledgement.','_sheetTransformSelectionsService','focused$','authzUrl','responseType','_iKey','type','Tools','_initRequestHeader','prototype','_socket$','cmd','_replaceFileID','UniverNetwork','getImage','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isPermissionRej','replace','CompressMutationService','max','copyFileMeta','_clearScheduledTask','_getCurrentRevision','editing\x20status\x20changed\x20to','165918kvNDpa','_keyPriorReset','transformUndoRedo','clone','/universer-api/user/session-ticket','onStarting','sin','crypto','_toggleOnline','CollaborationEvent','ONLINE','changesets','RECV','UniverSheets','getSheetId','finalize','connection\x20error','SyncedState','_remoteChangesetQueue','liveShareNewHost','YUUMI_UNABLE_LOAD_URL','_minBufferSize','JOIN','reset','[FetchMissState]','__esModule','collaboration-client.local-cache-service','AES','unknown','YUUMI_NO_CUBOID_FOR_QUESTION','57GtqfhL','appendMutation','delay','$super','EMAIL_VERIFY_CODE_MISMATCH','CollaborationUIEventId','@univerjs/sheets','_transformStateCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','repeat','isTransformMutationsWithChangesetFailure','_doCryptBlock','UniverCollaborationClientPlugin','find','HEARTBEAT_INTERVAL','INVALID_ARGUMENT','objectID','APPLY_DUPLICATED','Injector','sessionStatus$','\x20to\x20','format','post','infoRsp','substr','[CollaborationUndoRedoService]','reverse','_waitForHeartbeatResponse','_pendingMutations','_fetchMissChangesets','function','unsubscribe','FetchingMissState','sid','_key','NoPadding','_isPermissionRej','FAIL','SnapshotServerOverHTTPService','blockSize','onStateChange','_unitID','WordArray','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_process','collabSubmitChangesetUrl','auth.needGotoLoginAlert','abs','sigBytes','roomInfos','LOGIN_FAILED','_collaborationUIEventService','onRemoteChangeset','forEach','sendChangesetTimeout','_clearHeartbeatTimer','UNKNOWN_CODE','getInterceptPoints','COMPLETION_FINISHED','MentionType','/collaborator','saveSheetBlock','21476kIxeMq','IDLE','closeSession','ws://127.0.0.1:8000/universer-api/comb/connect','SUBMIT_CHANGESET_TIMEOUT','_transitionLocked','&source=','_clearTimeoutTimer','close','asObservable','LocaleService','getWorkbookSelections','APPLY_NON_SEQUENTIAL_REVISION','batchAllowed','_onOffline','MOBILE_HAS_BEEN_BOUND','toStringTag','filter','indexOf','workbook','collabWebSocketUrl','origin','_retryCount','key','collaboratorID','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/allowed','_members','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','image/jpg','_awaitingChangeset','[PendingState]:\x20received\x20rejection.','CHANGESET_REVISION_CONFILICT','_members$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onSendChangeset','headers','_configService','_clearRetryConnectingTimer','UniverDocs','editingUnit','COMMENT_UPDATE','_hasher','pad','range','Module','ImageUploadStatusType','liveShareOperation','parseProtocolChangeset','_onRemoteRetry','_keySchedule','putCollaborators','createEncryptor','updateMember','_transformSelections','msCrypto','ConflictState','SetSelectionsOperation','_executeRemoteChangeset','_getLoginPath','UnitEmbedded','_changesetSessionId','_data','MD5','Could\x20not\x20dynamically\x20require\x20\x22','DisposableCollection','UniverTelemetry','_rescheduleHeartbeat','LEAVE','downloadEndpointUrl','_throwTelemetryCollaborationNewChangeset','Malformed\x20UTF-8\x20data','_schedule','_redoStacks','UniverProCollaboration','_checkMissing','dispose$','_httpService','EmptyMutation','_stopTelemetryCollaborationNewChangeset','getValue','merge','getMember','_onMessage','_status$','unitInfo$','/rev/','event$','_resendTimeout','_logService','leaveEvent','socket$','transformStack\x20failed!','snapshot','PY_RUNTIME_SCRIPT_ERROR','reqId','_sendingTimer','getSheetBlock','memberID','Workbook','append','roles','resourceIDs','_clearUndo','AwaitingState','CollaborationUIEventService','onRemoteRetry','extend','HmacSHA1','SheetPermissionInitController','_sendHeartbeatTimer','Undefined','result','toggleOnline','COMPRESS_MUTATION_APPLY','ERROR_IMAGE','_onUserJoin','clear','_decreaseWaiting','?url=','readAsDataURL','updateOfflineData','synced','updateCursorEvent','keySize','UniverCollaborationPlugin','getOwnPropertyDescriptor','\x0aCurrent:\x20','random','_roomCreated$','SHOULD_CLOSE_CONN'];_0x516e=function(){return _0x2569b1;};return _0x516e();}(function(_0x4cda48,_0x3b467b){var _0x276b55=_0x2952,_0x139843=_0x4cda48();while(!![]){try{var _0x4c39f0=parseInt(_0x276b55(0x1f9))/0x1+parseInt(_0x276b55(0x3fb))/0x2*(parseInt(_0x276b55(0x3bd))/0x3)+parseInt(_0x276b55(0x244))/0x4+-parseInt(_0x276b55(0x4a8))/0x5+-parseInt(_0x276b55(0x39f))/0x6*(-parseInt(_0x276b55(0x2b9))/0x7)+-parseInt(_0x276b55(0x4b1))/0x8+parseInt(_0x276b55(0x4c2))/0x9*(-parseInt(_0x276b55(0x55a))/0xa);if(_0x4c39f0===_0x3b467b)break;else _0x139843['push'](_0x139843['shift']());}catch(_0x25bf05){_0x139843['push'](_0x139843['shift']());}}}(_0x516e,0x48ad9),function(_0xcb59ad,_0x2d563e){var _0x35b91d=_0x2952;typeof exports==_0x35b91d(0x208)&&typeof module<'u'?_0x2d563e(exports,require('@univerjs/core'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/collaboration'),require('@univerjs/network'),require('@univerjs/telemetry'),require('@univerjs/docs'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x35b91d(0x3db)&&define[_0x35b91d(0x346)]?define(['exports',_0x35b91d(0x48b),'rxjs','rxjs/operators','@univerjs-pro/collaboration',_0x35b91d(0x214),_0x35b91d(0x486),_0x35b91d(0x305),_0x35b91d(0x3c3),'@univerjs/drawing','@univerjs-pro/license'],_0x2d563e):(_0xcb59ad=typeof globalThis<'u'?globalThis:_0xcb59ad||self,_0x2d563e(_0xcb59ad['UniverProCollaborationClient']={},_0xcb59ad[_0x35b91d(0x34b)],_0xcb59ad['rxjs'],_0xcb59ad['rxjs'][_0x35b91d(0x216)],_0xcb59ad[_0x35b91d(0x446)],_0xcb59ad[_0x35b91d(0x394)],_0xcb59ad[_0x35b91d(0x43e)],_0xcb59ad[_0x35b91d(0x423)],_0xcb59ad[_0x35b91d(0x3ac)],_0xcb59ad['UniverDrawing'],_0xcb59ad[_0x35b91d(0x261)]));}(this,function(_0x40c22a,_0x4f102d,_0x4acdaa,_0x16b425,_0x10a1d1,_0x4fd28d,_0xfaa84b,_0x401838,_0x2bd01e,_0x513227,_0x68bab7){'use strict';var _0x402f51=_0x2952;var _0x4c445b=Object['defineProperty'],_0x194c40=(_0x2d04d5,_0x270a92,_0x122dc5)=>_0x270a92 in _0x2d04d5?_0x4c445b(_0x2d04d5,_0x270a92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x122dc5}):_0x2d04d5[_0x270a92]=_0x122dc5,_0x45876c=(_0x27dcd3,_0x529f13,_0x401311)=>_0x194c40(_0x27dcd3,typeof _0x529f13!='symbol'?_0x529f13+'':_0x529f13,_0x401311);const _0x581d0a='/universer-api/snapshot',_0x41210f=_0x402f51(0x1fb),_0x4fcd5b=_0x402f51(0x3fe),_0x39e469=_0x402f51(0x3a3),_0x2a0a9f=_0x402f51(0x3cb),_0x26f425=_0x402f51(0x2fd),_0x408767='RETRY_CONNECTING_MAX_COUNT',_0x5a5afa='LOCAL_CACHE_INTERVAL',_0x27b9be=_0x402f51(0x2c0),_0x5c486d='/universer-api/oidc/authpage',_0x59fe61=_0x402f51(0x4e4),_0x4b3e79='/universer-api/uniscript';var _0x2f59ad=(_0x322afd=>(_0x322afd[_0x322afd[_0x402f51(0x505)]=0x0]='UNDEFINED',_0x322afd[_0x322afd['OK']=0x1]='OK',_0x322afd[_0x322afd['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x322afd[_0x322afd[_0x402f51(0x255)]=0x3]='PERMISSION_DENIED',_0x322afd[_0x322afd['NOT_FOUND']=0x4]='NOT_FOUND',_0x322afd[_0x322afd[_0x402f51(0x4d0)]=0x5]=_0x402f51(0x4d0),_0x322afd[_0x322afd['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x322afd[_0x322afd[_0x402f51(0x3cc)]=0x7]=_0x402f51(0x3cc),_0x322afd[_0x322afd['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x322afd[_0x322afd[_0x402f51(0x3f7)]=0x9]=_0x402f51(0x3f7),_0x322afd[_0x322afd[_0x402f51(0x3ef)]=0xa]=_0x402f51(0x3ef),_0x322afd[_0x322afd['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x402f51(0x4de),_0x322afd[_0x322afd[_0x402f51(0x3c5)]=0xc]=_0x402f51(0x3c5),_0x322afd[_0x322afd[_0x402f51(0x3c1)]=0xd]=_0x402f51(0x3c1),_0x322afd[_0x322afd[_0x402f51(0x3e8)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x322afd[_0x322afd[_0x402f51(0x41b)]=0x1389]=_0x402f51(0x41b),_0x322afd[_0x322afd[_0x402f51(0x35e)]=0x1771]=_0x402f51(0x35e),_0x322afd[_0x322afd[_0x402f51(0x4e5)]=0x1772]=_0x402f51(0x4e5),_0x322afd[_0x322afd[_0x402f51(0x498)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x322afd[_0x322afd[_0x402f51(0x21a)]=0x1b59]=_0x402f51(0x21a),_0x322afd[_0x322afd[_0x402f51(0x407)]=0x1b5a]=_0x402f51(0x407),_0x322afd[_0x322afd['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x402f51(0x2a7),_0x322afd[_0x322afd['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x402f51(0x4ae),_0x322afd[_0x322afd[_0x402f51(0x3ce)]=0x1b5d]=_0x402f51(0x3ce),_0x322afd[_0x322afd[_0x402f51(0x1e1)]=0x1f41]=_0x402f51(0x1e1),_0x322afd[_0x322afd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x402f51(0x53d),_0x322afd[_0x322afd['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x402f51(0x556),_0x322afd[_0x322afd[_0x402f51(0x4b4)]=0x232b]=_0x402f51(0x4b4),_0x322afd[_0x322afd[_0x402f51(0x324)]=0x232c]=_0x402f51(0x324),_0x322afd[_0x322afd[_0x402f51(0x4c3)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x322afd[_0x322afd['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x402f51(0x3b3),_0x322afd[_0x322afd['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x402f51(0x23c),_0x322afd[_0x322afd[_0x402f51(0x513)]=0x2713]=_0x402f51(0x513),_0x322afd[_0x322afd[_0x402f51(0x1f3)]=0x2714]=_0x402f51(0x1f3),_0x322afd[_0x322afd[_0x402f51(0x3bc)]=0x271a]=_0x402f51(0x3bc),_0x322afd[_0x322afd[_0x402f51(0x49c)]=0x271b]=_0x402f51(0x49c),_0x322afd[_0x322afd[_0x402f51(0x4ab)]=0x271c]=_0x402f51(0x4ab),_0x322afd[_0x322afd['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x322afd[_0x322afd[_0x402f51(0x285)]=0x271e]=_0x402f51(0x285),_0x322afd[_0x322afd[_0x402f51(0x527)]=0x271f]=_0x402f51(0x527),_0x322afd[_0x322afd[_0x402f51(0x372)]=0x2720]=_0x402f51(0x372),_0x322afd[_0x322afd[_0x402f51(0x45a)]=0x2af9]=_0x402f51(0x45a),_0x322afd[_0x322afd[_0x402f51(0x266)]=0x2ee1]=_0x402f51(0x266),_0x322afd[_0x322afd[_0x402f51(0x1ea)]=0x2ee2]='INVALID_INVITE_CODE',_0x322afd[_0x322afd['INVITE_CODE_REQUIRED']=0x2ee3]=_0x402f51(0x2cf),_0x322afd[_0x322afd['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x322afd[_0x322afd[_0x402f51(0x21e)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x322afd[_0x322afd['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x402f51(0x4a9),_0x322afd[_0x322afd['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x402f51(0x40a),_0x322afd[_0x322afd[_0x402f51(0x219)]=0x32cb]=_0x402f51(0x219),_0x322afd[_0x322afd[_0x402f51(0x4bb)]=-0x1]=_0x402f51(0x4bb),_0x322afd))(_0x2f59ad||{}),_0x30184d=(_0x4f8131=>(_0x4f8131[_0x4f8131[_0x402f51(0x2e2)]=0x0]=_0x402f51(0x2e2),_0x4f8131[_0x4f8131[_0x402f51(0x4e3)]=0x1]=_0x402f51(0x4e3),_0x4f8131[_0x4f8131[_0x402f51(0x355)]=0x2]='UNIVER_SHEET',_0x4f8131[_0x4f8131[_0x402f51(0x36f)]=0x3]=_0x402f51(0x36f),_0x4f8131[_0x4f8131[_0x402f51(0x204)]=0x4]=_0x402f51(0x204),_0x4f8131[_0x4f8131[_0x402f51(0x4bb)]=-0x1]='UNRECOGNIZED',_0x4f8131))(_0x30184d||{}),_0x447bdd=(_0x445c66=>(_0x445c66[_0x445c66[_0x402f51(0x512)]=0x0]=_0x402f51(0x512),_0x445c66[_0x445c66[_0x402f51(0x241)]=0x1]=_0x402f51(0x241),_0x445c66[_0x445c66[_0x402f51(0x3b5)]=0x2]=_0x402f51(0x3b5),_0x445c66[_0x445c66[_0x402f51(0x440)]=0x3]=_0x402f51(0x440),_0x445c66[_0x445c66[_0x402f51(0x26a)]=0x4]=_0x402f51(0x26a),_0x445c66[_0x445c66[_0x402f51(0x24b)]=0x5]=_0x402f51(0x24b),_0x445c66[_0x445c66[_0x402f51(0x3ab)]=0x6]=_0x402f51(0x3ab),_0x445c66[_0x445c66['UNRECOGNIZED']=-0x1]=_0x402f51(0x4bb),_0x445c66))(_0x447bdd||{}),_0x54e2f7=(_0x1f9d8e=>(_0x1f9d8e[_0x1f9d8e['UNKNOWN_CODE']=0x0]=_0x402f51(0x3f5),_0x1f9d8e[_0x1f9d8e['OK']=0x1]='OK',_0x1f9d8e[_0x1f9d8e[_0x402f51(0x3e2)]=0x2]=_0x402f51(0x3e2),_0x1f9d8e[_0x1f9d8e['JOIN_ROOM_FULL']=0x3e9]=_0x402f51(0x264),_0x1f9d8e[_0x1f9d8e['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x402f51(0x32c),_0x1f9d8e[_0x1f9d8e[_0x402f51(0x353)]=0x3eb]=_0x402f51(0x353),_0x1f9d8e[_0x1f9d8e[_0x402f51(0x306)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x1f9d8e[_0x1f9d8e[_0x402f51(0x4bb)]=-0x1]=_0x402f51(0x4bb),_0x1f9d8e))(_0x54e2f7||{}),_0x340e3e=(_0x32c427=>(_0x32c427[_0x32c427[_0x402f51(0x46b)]=0x0]=_0x402f51(0x46b),_0x32c427[_0x32c427[_0x402f51(0x25b)]=0x1]=_0x402f51(0x25b),_0x32c427[_0x32c427[_0x402f51(0x35c)]=0x2]=_0x402f51(0x35c),_0x32c427[_0x32c427[_0x402f51(0x438)]=0x3]='UnitEmbedded',_0x32c427[_0x32c427['UnitSnapshot']=0x4]='UnitSnapshot',_0x32c427[_0x32c427[_0x402f51(0x503)]=0x5]=_0x402f51(0x503),_0x32c427[_0x32c427[_0x402f51(0x4bb)]=-0x1]='UNRECOGNIZED',_0x32c427))(_0x340e3e||{});const _0x17cb06=_0x402f51(0x4ec),_0x2636e5={};var _0x49330b=(_0x454eec=>(_0x454eec[_0x402f51(0x2da)]=_0x402f51(0x2da),_0x454eec[_0x402f51(0x255)]=_0x402f51(0x255),_0x454eec[_0x402f51(0x330)]=_0x402f51(0x330),_0x454eec['CLOSE_ROOM']=_0x402f51(0x234),_0x454eec[_0x402f51(0x377)]=_0x402f51(0x377),_0x454eec[_0x402f51(0x239)]='SOCKET_FAILED_RETRY',_0x454eec[_0x402f51(0x27f)]=_0x402f51(0x27f),_0x454eec[_0x402f51(0x3ff)]=_0x402f51(0x3ff),_0x454eec))(_0x49330b||{});class _0x264966{constructor(){var _0x5b4162=_0x402f51;_0x45876c(this,'_event$',new _0x4acdaa['Subject']()),_0x45876c(this,_0x5b4162(0x453),this[_0x5b4162(0x309)][_0x5b4162(0x404)]());}[_0x402f51(0x4ea)](_0x343c78){var _0x2cf437=_0x402f51;this[_0x2cf437(0x309)][_0x2cf437(0x524)](_0x343c78);}}const _0x2c62b9=_0x4f102d['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function _0xdbbe93(_0x585816){var _0x904bba=_0x402f51,_0x27b09f,_0x26bad2,_0x4f6593,_0x17f018,_0x2312df;const _0x43920e=_0x585816['data'],_0x175791=JSON[_0x904bba(0x364)](_0x43920e);switch(_0x175791[_0x904bba(0x392)]){case _0x447bdd['HEARTBEAT']:case _0x447bdd['HELLO']:{const _0xcb0916=_0x175791[_0x904bba(0x3d4)];return{..._0x175791,'data':_0xcb0916,'cmd':_0x175791['cmd']};}case _0x447bdd[_0x904bba(0x3b5)]:{const _0x45b2c9=_0x175791[_0x904bba(0x2a8)];return{..._0x175791,'data':_0x45b2c9,'cmd':_0x175791[_0x904bba(0x392)]};}case _0x447bdd[_0x904bba(0x3ab)]:{const _0x1d3c2e=_0x175791[_0x904bba(0x2ea)];switch(_0x1d3c2e[_0x904bba(0x22f)]){case _0x10a1d1[_0x904bba(0x3a8)][_0x904bba(0x1ee)]:return{..._0x175791,'data':{..._0x1d3c2e,'data':(_0x27b09f=_0x1d3c2e[_0x904bba(0x2af)])==null?void 0x0:_0x27b09f['cs']},'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1[_0x904bba(0x3a8)]['CHANGESET_ACK']:return{..._0x175791,'data':{..._0x1d3c2e,'data':(_0x26bad2=_0x1d3c2e[_0x904bba(0x276)])==null?void 0x0:_0x26bad2['cs']},'cmd':_0x175791['cmd']};case _0x10a1d1['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x175791,'data':{..._0x1d3c2e,'data':(_0x4f6593=_0x1d3c2e[_0x904bba(0x2a4)])==null?void 0x0:_0x4f6593['cs']},'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1['CollaborationEvent']['CHANGESET_REJ']:return{..._0x175791,'data':{..._0x1d3c2e,'data':(_0x17f018=_0x1d3c2e[_0x904bba(0x260)])==null?void 0x0:_0x17f018['cs']},'cmd':_0x175791['cmd']};case _0x10a1d1[_0x904bba(0x3a8)][_0x904bba(0x1eb)]:return{..._0x175791,'data':{..._0x1d3c2e,'data':(_0x2312df=_0x1d3c2e[_0x904bba(0x369)])==null?void 0x0:_0x2312df['cs']},'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1[_0x904bba(0x3a8)]['UPDATE_CURSOR']:return{..._0x175791,'data':{..._0x1d3c2e,'data':_0x1d3c2e[_0x904bba(0x477)]},'cmd':_0x175791['cmd']};case _0x10a1d1[_0x904bba(0x3a8)][_0x904bba(0x1e7)]:return{..._0x175791,'data':{..._0x1d3c2e,'data':_0x1d3c2e[_0x904bba(0x329)]},'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1[_0x904bba(0x3a8)][_0x904bba(0x493)]:return{..._0x175791,'data':{..._0x1d3c2e,'data':_0x1d3c2e[_0x904bba(0x456)]},'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1[_0x904bba(0x3a8)]['LIVESHARE_NEW_HOST']:return{..._0x175791,'data':{..._0x1d3c2e,'data':_0x1d3c2e[_0x904bba(0x3b2)]},'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1['CollaborationEvent'][_0x904bba(0x1e6)]:case _0x10a1d1['CollaborationEvent'][_0x904bba(0x24c)]:return{..._0x175791,'data':{..._0x1d3c2e,'data':_0x1d3c2e[_0x904bba(0x42b)]},'cmd':_0x175791['cmd']};case _0x10a1d1[_0x904bba(0x3a8)][_0x904bba(0x270)]:return{..._0x175791,'data':{..._0x1d3c2e,'data':_0x1d3c2e[_0x904bba(0x3b2)]},'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1[_0x904bba(0x3a8)][_0x904bba(0x25a)]:return{..._0x175791,'data':_0x1d3c2e,'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1[_0x904bba(0x3a8)][_0x904bba(0x425)]:return{..._0x175791,'data':{..._0x1d3c2e,'data':_0x1d3c2e[_0x904bba(0x49a)]},'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1['CollaborationEvent'][_0x904bba(0x287)]:return{..._0x175791,'data':{..._0x1d3c2e,'data':_0x1d3c2e[_0x904bba(0x20e)]},'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1[_0x904bba(0x3a8)][_0x904bba(0x47e)]:return{..._0x175791,'data':{..._0x1d3c2e,'data':_0x1d3c2e[_0x904bba(0x278)]},'cmd':_0x175791[_0x904bba(0x392)]};case _0x10a1d1[_0x904bba(0x3a8)][_0x904bba(0x28c)]:return{..._0x175791,'data':{..._0x1d3c2e,'data':_0x1d3c2e[_0x904bba(0x4a0)]},'cmd':_0x175791[_0x904bba(0x392)]};default:return _0x175791;}}default:return _0x175791;}}function _0x546f7d(_0x597578){var _0x55368a=_0x402f51;switch(_0x597578[_0x55368a(0x392)]){case _0x447bdd['HEARTBEAT']:case _0x447bdd[_0x55368a(0x241)]:return JSON['stringify']({'cmd':_0x597578[_0x55368a(0x392)],'routeKey':_0x597578['routeKey']});case _0x447bdd[_0x55368a(0x26a)]:{let _0x461a13;switch(_0x597578[_0x55368a(0x4d4)][_0x55368a(0x22f)]){case _0x10a1d1[_0x55368a(0x3a8)]['UPDATE_CURSOR']:{_0x461a13={'eventID':_0x10a1d1[_0x55368a(0x3a8)][_0x55368a(0x4ac)],'updateCursorEvent':_0x597578[_0x55368a(0x4d4)][_0x55368a(0x4d4)]};break;}case _0x10a1d1['CollaborationEvent'][_0x55368a(0x493)]:{_0x461a13={'eventID':_0x10a1d1[_0x55368a(0x3a8)]['USERS_LEAVE'],'leaveEvent':_0x597578[_0x55368a(0x4d4)][_0x55368a(0x4d4)]};break;}case _0x10a1d1[_0x55368a(0x3a8)][_0x55368a(0x1e7)]:{_0x461a13={'eventID':_0x10a1d1[_0x55368a(0x3a8)][_0x55368a(0x1e7)],'joinEvent':_0x597578[_0x55368a(0x4d4)]['data']};break;}case _0x10a1d1[_0x55368a(0x3a8)][_0x55368a(0x2d4)]:{_0x461a13={'eventID':_0x10a1d1[_0x55368a(0x3a8)][_0x55368a(0x2d4)],'liveShareNewHost':_0x597578['data'][_0x55368a(0x4d4)]};break;}case _0x10a1d1['CollaborationEvent'][_0x55368a(0x24c)]:{_0x461a13={'eventID':_0x10a1d1[_0x55368a(0x3a8)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x597578[_0x55368a(0x4d4)][_0x55368a(0x4d4)]};break;}case _0x10a1d1[_0x55368a(0x3a8)][_0x55368a(0x270)]:{_0x461a13={'eventID':_0x10a1d1[_0x55368a(0x3a8)][_0x55368a(0x270)],'liveShareTerminate':_0x597578['data']['data']};break;}case _0x10a1d1[_0x55368a(0x3a8)]['LIVESHARE_REQUEST_HOST']:{_0x461a13={'eventID':_0x10a1d1['CollaborationEvent'][_0x55368a(0x318)],'liveShareRequestHost':_0x597578[_0x55368a(0x4d4)][_0x55368a(0x4d4)]};break;}case _0x10a1d1['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x461a13={'eventID':_0x10a1d1[_0x55368a(0x3a8)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x461a13={'eventID':_0x597578[_0x55368a(0x4d4)][_0x55368a(0x22f)]};}return JSON['stringify']({'cmd':_0x597578[_0x55368a(0x392)],'routeKey':_0x597578['routeKey'],'collaMsg':_0x461a13});}case _0x447bdd[_0x55368a(0x3b5)]:return JSON[_0x55368a(0x494)]({'cmd':_0x597578['cmd'],'routeKey':_0x597578['routeKey'],'joinReq':_0x597578['data']});case _0x447bdd[_0x55368a(0x440)]:return JSON[_0x55368a(0x494)]({'cmd':_0x597578[_0x55368a(0x392)],'routeKey':_0x597578['routeKey'],'leaveReq':_0x597578['data']});default:throw new Error(_0x55368a(0x41d));}}var _0x52c665=Object[_0x402f51(0x47a)],_0x1397b9=(_0x3ab918,_0x52a01a,_0x5c7873,_0x3ca764)=>{var _0x8ed67c=_0x402f51;for(var _0x3c7d45=_0x3ca764>0x1?void 0x0:_0x3ca764?_0x52c665(_0x52a01a,_0x5c7873):_0x52a01a,_0x5940b3=_0x3ab918[_0x8ed67c(0x4c4)]-0x1,_0x3bd51f;_0x5940b3>=0x0;_0x5940b3--)(_0x3bd51f=_0x3ab918[_0x5940b3])&&(_0x3c7d45=_0x3bd51f(_0x3c7d45)||_0x3c7d45);return _0x3c7d45;},_0x5f33f8=(_0x1c0f54,_0x29cff1)=>(_0x458db8,_0x1b4fb7)=>_0x29cff1(_0x458db8,_0x1b4fb7,_0x1c0f54);const _0x20f99e=_0x4f102d['createIdentifier'](_0x402f51(0x30f));function _0x2a028b(_0x36ed9c,_0x1a3a28,_0x356fb0){var _0x6f5f93=_0x402f51;return _0x36ed9c+'/'+_0x1a3a28+_0x6f5f93(0x490)+_0x356fb0+'/new_changes';}_0x40c22a[_0x402f51(0x480)]=class extends _0x4f102d[_0x402f51(0x26f)]{constructor(_0x148123,_0x623a7b,_0x48439f,_0x549ffb,_0xd4865c){var _0x507f41=_0x402f51;super(),this['_injector']=_0x148123,this[_0x507f41(0x449)]=_0x623a7b,this[_0x507f41(0x421)]=_0x48439f,this['_logService']=_0x549ffb,this[_0x507f41(0x4fd)]=_0xd4865c;}[_0x402f51(0x242)](_0x13c970){var _0x200828=_0x402f51;const _0x405b61=this[_0x200828(0x376)][_0x200828(0x4f1)](_0x4fd28d[_0x200828(0x4dc)]);if(!_0x405b61)throw new Error(_0x200828(0x1e9));const _0x2b33ba=_0x405b61[_0x200828(0x2b4)](_0x13c970);if(!_0x2b33ba)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x16f7e8=new _0x4f102d[(_0x200828(0x43d))](),_0xaaebc1=new _0x4acdaa[(_0x200828(0x378))]();_0x16f7e8[_0x200828(0x320)](_0x2b33ba[_0x200828(0x33c)][_0x200828(0x22c)](_0x2a7fbe=>_0xaaebc1['next'](_0x2a7fbe))),_0x16f7e8[_0x200828(0x320)](_0x4f102d['toDisposable'](()=>_0xaaebc1[_0x200828(0x277)]()));const _0x55ead2=new _0x4acdaa[(_0x200828(0x378))]();_0x16f7e8[_0x200828(0x320)](_0x2b33ba['error$'][_0x200828(0x22c)](_0x595017=>_0x55ead2[_0x200828(0x524)](_0x595017))),_0x16f7e8['add'](_0x4f102d['toDisposable'](()=>_0x55ead2[_0x200828(0x277)]()));const _0x32179c=new _0x4acdaa[(_0x200828(0x378))]();_0x16f7e8[_0x200828(0x320)](_0x2b33ba[_0x200828(0x36d)]['subscribe'](_0x385611=>{const _0x15c53b=_0xdbbe93(_0x385611);_0x32179c['next'](_0x15c53b);})),_0x16f7e8[_0x200828(0x320)](_0x4f102d[_0x200828(0x25c)](()=>_0x32179c[_0x200828(0x277)]()));let _0x47a034;const _0x39cdaf=()=>{var _0x45a950=_0x200828;_0x55ead2['next'](new Event(_0x45a950(0x3af))),_0xaaebc1[_0x45a950(0x524)](new Event('connection\x20error')),_0x47a034[_0x45a950(0x403)]();};return _0x47a034={'memberID':'','close$':_0xaaebc1[_0x200828(0x404)](),'error$':_0x55ead2[_0x200828(0x404)](),'open$':_0x2b33ba['open$'],'message$':_0x32179c[_0x200828(0x404)](),'send':_0x4a7270=>{var _0x5acfb1=_0x200828;if(_0x4a7270['cmd']===_0x447bdd['INGEST']){if(_0x4a7270[_0x5acfb1(0x4d4)][_0x5acfb1(0x22f)]===_0x10a1d1[_0x5acfb1(0x3a8)]['SUBMIT_CHANGESET']){this[_0x5acfb1(0x2d9)](_0x47a034,_0x4a7270['data'])['catch'](_0xd04cb5=>{var _0x3f762f=_0x5acfb1;this[_0x3f762f(0x455)][_0x3f762f(0x4c5)](_0xd04cb5),_0x39cdaf();});return;}if(_0x4a7270['data']['eventID']===_0x10a1d1[_0x5acfb1(0x3a8)][_0x5acfb1(0x508)]){const _0x4db403=_0x4a7270[_0x5acfb1(0x4d4)];this[_0x5acfb1(0x3da)](_0x4db403)[_0x5acfb1(0x30d)](_0x1f065=>{var _0x4a3a0f=_0x5acfb1;_0x32179c['next']({'cmd':_0x447bdd[_0x4a3a0f(0x3ab)],'code':_0x54e2f7['OK'],'routeKey':_0x4db403[_0x4a3a0f(0x4d4)][_0x4a3a0f(0x288)],'routeType':'','data':{'eventID':_0x10a1d1[_0x4a3a0f(0x3a8)][_0x4a3a0f(0x247)],'data':{'changesets':_0x1f065}}});})[_0x5acfb1(0x484)](_0x4f807e=>{var _0x2f402d=_0x5acfb1;this['_logService'][_0x2f402d(0x4c5)](_0x4f807e),_0x39cdaf();});return;}}_0x2b33ba[_0x5acfb1(0x4b6)](_0x546f7d(_0x4a7270));},'close':()=>{var _0x3216a1=_0x200828;_0x2b33ba[_0x3216a1(0x403)](),_0x16f7e8['dispose']();}},_0x47a034;}async[_0x402f51(0x2d9)](_0x226803,_0x5e7c81){var _0x3f409d=_0x402f51,_0x22dfe6;const {unitType:_0x24c4f9,unitID:_0x673fbd,changeset:_0x405b6f}=_0x5e7c81[_0x3f409d(0x4d4)],_0x4872dc={'unitID':_0x673fbd,'memberID':_0x226803[_0x3f409d(0x45e)],'type':_0x24c4f9,'changeset':_0x10a1d1[_0x3f409d(0x50a)](_0x405b6f)},_0x5e51c0=this[_0x3f409d(0x421)][_0x3f409d(0x22e)](_0x17cb06),_0x16a8b4=_0x2a028b((_0x22dfe6=_0x5e51c0==null?void 0x0:_0x5e51c0[_0x3f409d(0x3ea)])!=null?_0x22dfe6:_0x27b9be,_0x24c4f9,_0x673fbd);try{await this['_httpService'][_0x3f409d(0x3d3)](_0x16a8b4,{'body':_0x4872dc});}catch(_0x57da8e){throw this[_0x3f409d(0x455)][_0x3f409d(0x4c5)](_0x3f409d(0x53f),'submit\x20changeset\x20error!'),_0x57da8e;}}async[_0x402f51(0x3da)](_0xd100a0){var _0x9d0730=_0x402f51;const {unitID:_0x57f425,from:_0x388974,to:_0x3daa5c,unitType:_0x2cd6ce}=_0xd100a0['data'];return(await this[_0x9d0730(0x4fd)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x57f425,'type':_0x2cd6ce,'from':_0x388974,'to':_0x3daa5c}))[_0x9d0730(0x3aa)];}},_0x40c22a[_0x402f51(0x480)]=_0x1397b9([_0x5f33f8(0x0,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x3cf)])),_0x5f33f8(0x1,_0x4f102d['Inject'](_0x4fd28d[_0x402f51(0x4af)])),_0x5f33f8(0x2,_0x4f102d[_0x402f51(0x26c)]),_0x5f33f8(0x3,_0x4f102d[_0x402f51(0x542)]),_0x5f33f8(0x4,_0x10a1d1[_0x402f51(0x4a3)])],_0x40c22a[_0x402f51(0x480)]);const _0x433949=_0x402f51(0x23f);function _0xe891e(_0x1a22db){var _0x2bdb30=_0x402f51;return JSON[_0x2bdb30(0x494)](_0x1a22db)[_0x2bdb30(0x4c4)];}class _0x2ffd09{constructor(){var _0x1d863c=_0x402f51;_0x45876c(this,_0x1d863c(0x2fb),new _0x4acdaa[(_0x1d863c(0x378))]()),_0x45876c(this,_0x1d863c(0x4e6),this['_commentUpdate$'][_0x1d863c(0x404)]());}[_0x402f51(0x551)](_0x47e6ce){var _0xdd580=_0x402f51;this['_commentUpdate$'][_0xdd580(0x524)](_0x47e6ce);}}var _0x100ba3=Object[_0x402f51(0x47a)],_0x342a34=(_0x4a052a,_0x116a71,_0x23703a,_0x453e07)=>{var _0x30cfd7=_0x402f51;for(var _0x2f4da2=_0x453e07>0x1?void 0x0:_0x453e07?_0x100ba3(_0x116a71,_0x23703a):_0x116a71,_0x1b7a9b=_0x4a052a[_0x30cfd7(0x4c4)]-0x1,_0x55ddd8;_0x1b7a9b>=0x0;_0x1b7a9b--)(_0x55ddd8=_0x4a052a[_0x1b7a9b])&&(_0x2f4da2=_0x55ddd8(_0x2f4da2)||_0x2f4da2);return _0x2f4da2;},_0xd67f6f=(_0x725b8a,_0x495da5)=>(_0x3d4e12,_0x2cc803)=>_0x495da5(_0x3d4e12,_0x2cc803,_0x725b8a);_0x40c22a[_0x402f51(0x2ae)]=class extends _0x4f102d[_0x402f51(0x26f)]{constructor(_0x5f31d6,_0x183f14){var _0x4c8db5=_0x402f51;super(),_0x45876c(this,_0x4c8db5(0x314),new Map()),_0x45876c(this,_0x4c8db5(0x47d),new _0x4acdaa[(_0x4c8db5(0x378))]()),(this[_0x4c8db5(0x564)]=_0x5f31d6,this[_0x4c8db5(0x2a2)]=_0x183f14,this[_0x4c8db5(0x33d)](_0x4acdaa[_0x4c8db5(0x44d)](this['_univerInstanceService'][_0x4c8db5(0x4d9)](_0x4f102d['UniverInstanceType']['UNIVER_SHEET'])['pipe'](_0x16b425[_0x4c8db5(0x2bb)](_0x1d3080=>_0x1d3080['getUnitId']())),this[_0x4c8db5(0x564)][_0x4c8db5(0x4d9)](_0x4f102d[_0x4c8db5(0x4d2)]['UNIVER_DOC'])[_0x4c8db5(0x48d)](_0x16b425[_0x4c8db5(0x2bb)](_0x17a56f=>_0x17a56f['getUnitId']())),this[_0x4c8db5(0x564)][_0x4c8db5(0x4d9)](_0x4f102d[_0x4c8db5(0x4d2)]['UNIVER_SLIDE'])['pipe'](_0x16b425[_0x4c8db5(0x2bb)](_0x1cefd1=>_0x1cefd1['getUnitId']())))['subscribe'](_0x56c4d2=>this[_0x4c8db5(0x4b9)](_0x56c4d2))));}['waitForRoom$'](_0x5a2b63){var _0x4e3157=_0x402f51;return this[_0x4e3157(0x314)]['has'](_0x5a2b63)?_0x4acdaa['of'](this[_0x4e3157(0x314)][_0x4e3157(0x4f1)](_0x5a2b63)):this[_0x4e3157(0x47d)][_0x4e3157(0x48d)](_0x16b425[_0x4e3157(0x2bb)](_0xb14ad9=>{var _0x36b463=_0x4e3157;if(_0xb14ad9===_0x5a2b63)return this['_roomMembers'][_0x36b463(0x4f1)](_0xb14ad9);}));}[_0x402f51(0x351)](_0x5e83fc){var _0x2e49c9=_0x402f51;this[_0x2e49c9(0x2a2)]['setCurrentUser'](_0x5e83fc);}['getCurrentUser'](){var _0x138ac5=_0x402f51;return this[_0x138ac5(0x2a2)][_0x138ac5(0x55f)]();}[_0x402f51(0x431)](_0x4c083b,_0x257066){var _0x4fda88=_0x402f51;let _0x54e0de=this[_0x4fda88(0x314)][_0x4fda88(0x4f1)](_0x4c083b);_0x54e0de||(_0x54e0de=new _0x440a21(),this[_0x4fda88(0x314)][_0x4fda88(0x30c)](_0x4c083b,_0x54e0de),this['_roomCreated$'][_0x4fda88(0x524)](_0x4c083b)),_0x54e0de[_0x4fda88(0x431)](_0x257066);}['removeMember'](_0x5681cb,_0xbb7272){var _0x163061=_0x402f51;const _0x5bbc49=this['_roomMembers']['get'](_0x5681cb);_0x5bbc49&&_0x5bbc49[_0x163061(0x2ec)](_0xbb7272);}[_0x402f51(0x2bf)](_0x4e5edc){var _0xf66841=_0x402f51;return this['_roomMembers'][_0xf66841(0x4f1)](_0x4e5edc);}[_0x402f51(0x44e)](_0x8536f3,_0x4c0523){var _0x3ddcc6=_0x402f51;const _0x463003=this[_0x3ddcc6(0x314)]['get'](_0x8536f3);if(_0x463003)return _0x463003['getMember'](_0x4c0523);}[_0x402f51(0x4b9)](_0x37fc08){var _0x1ade69=_0x402f51;const _0xc13b41=this[_0x1ade69(0x314)]['get'](_0x37fc08);_0xc13b41&&(_0xc13b41[_0x1ade69(0x24e)](),this[_0x1ade69(0x314)][_0x1ade69(0x311)](_0x37fc08));}[_0x402f51(0x24e)](){var _0x556fb5=_0x402f51;this[_0x556fb5(0x314)][_0x556fb5(0x3f2)](_0x3a6ed3=>_0x3a6ed3['dispose']()),this[_0x556fb5(0x314)][_0x556fb5(0x471)](),this[_0x556fb5(0x47d)]['complete']();}},_0x40c22a[_0x402f51(0x2ae)]=_0x342a34([_0xd67f6f(0x0,_0x4f102d[_0x402f51(0x361)]),_0xd67f6f(0x1,_0x4f102d['Inject'](_0x4f102d[_0x402f51(0x303)]))],_0x40c22a[_0x402f51(0x2ae)]);class _0x440a21 extends _0x4f102d[_0x402f51(0x26f)]{constructor(){var _0x41ddce=_0x402f51;super(...arguments),_0x45876c(this,_0x41ddce(0x416),new Map()),_0x45876c(this,_0x41ddce(0x41c),new _0x4acdaa[(_0x41ddce(0x341))](this[_0x41ddce(0x416)])),_0x45876c(this,_0x41ddce(0x530),this['_members$']['asObservable']());}[_0x402f51(0x24e)](){var _0x2a4ccf=_0x402f51;this[_0x2a4ccf(0x416)][_0x2a4ccf(0x471)]();}['updateMember'](_0x3778ff){var _0x300436=_0x402f51;this['_members'][_0x300436(0x30c)](_0x3778ff[_0x300436(0x45e)],_0x3778ff),this['_emitMembers']();}[_0x402f51(0x2ec)](_0x43e598){var _0x59cdea=_0x402f51;this[_0x59cdea(0x416)][_0x59cdea(0x311)](_0x43e598);}[_0x402f51(0x44e)](_0x44f865){var _0x40732e=_0x402f51;return this['_members'][_0x40732e(0x4f1)](_0x44f865);}[_0x402f51(0x28e)](){var _0x310225=_0x402f51;return Array['from'](this[_0x310225(0x416)][_0x310225(0x33a)]());}[_0x402f51(0x51f)](){this['_members$']['next'](this['_members']);}}var _0x133d4e=Object[_0x402f51(0x47a)],_0x541341=(_0x2c68fd,_0x193915,_0x540a71,_0x2e6f9c)=>{var _0x1da8f3=_0x402f51;for(var _0x45ac0b=_0x2e6f9c>0x1?void 0x0:_0x2e6f9c?_0x133d4e(_0x193915,_0x540a71):_0x193915,_0x4c4c30=_0x2c68fd[_0x1da8f3(0x4c4)]-0x1,_0x26c724;_0x4c4c30>=0x0;_0x4c4c30--)(_0x26c724=_0x2c68fd[_0x4c4c30])&&(_0x45ac0b=_0x26c724(_0x45ac0b)||_0x45ac0b);return _0x45ac0b;},_0x307a06=(_0x179525,_0x329049)=>(_0x1d0bce,_0x47c59c)=>_0x329049(_0x1d0bce,_0x47c59c,_0x179525),_0x52113d=(_0x233796=>(_0x233796[_0x233796[_0x402f51(0x3fc)]=0x0]=_0x402f51(0x3fc),_0x233796[_0x233796[_0x402f51(0x327)]=0x1]='JOINING',_0x233796[_0x233796[_0x402f51(0x2a9)]=0x2]='OFFLINE',_0x233796[_0x233796[_0x402f51(0x3a9)]=0x3]=_0x402f51(0x3a9),_0x233796))(_0x52113d||{});const _0x9d6414={[_0x54e2f7[_0x402f51(0x3e2)]]:'session.join-failed',[_0x54e2f7[_0x402f51(0x264)]]:_0x402f51(0x2e3),[_0x54e2f7[_0x402f51(0x32c)]]:_0x402f51(0x27b),[_0x54e2f7[_0x402f51(0x353)]]:'session.room-permission-denied',[_0x54e2f7[_0x402f51(0x306)]]:_0x402f51(0x279)};_0x40c22a[_0x402f51(0x51a)]=class extends _0x4f102d[_0x402f51(0x36e)]{constructor(_0x4e0977,_0x11206c,_0x4d9e24,_0x39020f,_0x786f84,_0x2b397f,_0x56506c,_0x28c71e){var _0x302d1c=_0x402f51;super(),_0x45876c(this,'_sessionStatus$',new _0x4acdaa[(_0x302d1c(0x341))](0x0)),_0x45876c(this,'sessionStatus$',this[_0x302d1c(0x2fa)]['asObservable']()),_0x45876c(this,_0x302d1c(0x309),new _0x4acdaa[(_0x302d1c(0x378))]()),_0x45876c(this,'event$',this[_0x302d1c(0x309)]['asObservable']()),_0x45876c(this,_0x302d1c(0x2d1)),_0x45876c(this,_0x302d1c(0x517)),_0x45876c(this,_0x302d1c(0x522)),_0x45876c(this,_0x302d1c(0x52e),!0x1),_0x45876c(this,_0x302d1c(0x4f3),null),(this['_unitID']=_0x4e0977,this[_0x302d1c(0x455)]=_0x4d9e24,this[_0x302d1c(0x421)]=_0x39020f,this[_0x302d1c(0x29f)]=_0x786f84,this[_0x302d1c(0x297)]=_0x2b397f,this[_0x302d1c(0x3f0)]=_0x56506c,this['_telemetryService']=_0x28c71e,this[_0x302d1c(0x52e)]=!!this['_telemetryService'],_0x11206c[_0x302d1c(0x48d)](_0x4acdaa[_0x302d1c(0x2b6)](this['dispose$']))['subscribe'](_0x1c66c3=>{var _0x124f5f=_0x302d1c,_0x3fa04f;typeof _0x1c66c3>'u'||(this[_0x124f5f(0x2d1)]=_0x1c66c3,_0x1c66c3?(this[_0x124f5f(0x1e2)](_0x1c66c3),this[_0x124f5f(0x517)]=_0x1c66c3['message$'][_0x124f5f(0x22c)](_0x4a4da3=>{var _0x1f9233=_0x124f5f;_0x4a4da3['routeKey']===this[_0x1f9233(0x3e6)]&&this['_onCombEvent'](_0x4a4da3);})):(this[_0x124f5f(0x442)](),this[_0x124f5f(0x2fa)][_0x124f5f(0x524)](0x2),(_0x3fa04f=this[_0x124f5f(0x517)])==null||_0x3fa04f[_0x124f5f(0x3dc)](),this[_0x124f5f(0x517)]=null));}));}get[_0x402f51(0x328)](){var _0x1d7f1c=_0x402f51;return this['_sessionStatus$'][_0x1d7f1c(0x44c)]();}['getMemberID'](){var _0x5c08af=_0x402f51,_0x2c838c,_0x4caf24;return(_0x4caf24=(_0x2c838c=this[_0x5c08af(0x2d1)])==null?void 0x0:_0x2c838c[_0x5c08af(0x45e)])!=null?_0x4caf24:null;}[_0x402f51(0x24e)](){var _0xd27b2f=_0x402f51;super[_0xd27b2f(0x24e)](),this[_0xd27b2f(0x448)][_0xd27b2f(0x524)](),this[_0xd27b2f(0x448)][_0xd27b2f(0x277)]();}['close'](){var _0x2eaaaf=_0x402f51,_0x4d2641,_0x1f38d4;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4d2641=this[_0x2eaaaf(0x2d1)])==null||_0x4d2641[_0x2eaaaf(0x4b6)]({'cmd':_0x447bdd[_0x2eaaaf(0x440)],'data':{'roomID':this[_0x2eaaaf(0x3e6)]}}),(_0x1f38d4=this[_0x2eaaaf(0x2d1)])==null||_0x1f38d4[_0x2eaaaf(0x403)](),this['_event$'][_0x2eaaaf(0x277)](),this[_0x2eaaaf(0x2fa)][_0x2eaaaf(0x277)](),this[_0x2eaaaf(0x24e)]();}[_0x402f51(0x4fb)](_0x28aad7){var _0x2e034f=_0x402f51;_0x28aad7[_0x2e034f(0x392)]===_0x447bdd[_0x2e034f(0x3b5)]?this[_0x2e034f(0x348)](_0x28aad7):_0x28aad7[_0x2e034f(0x392)]===_0x447bdd[_0x2e034f(0x3ab)]&&this[_0x2e034f(0x37e)](_0x28aad7);}[_0x402f51(0x1e2)](_0x288d32){var _0x23d224=_0x402f51;this['_sessionStatus$'][_0x23d224(0x524)](0x1),_0x288d32[_0x23d224(0x4b6)]({'cmd':_0x447bdd['JOIN'],'routeKey':this[_0x23d224(0x3e6)],'routeType':'','data':{'rooms':[{'roomID':this[_0x23d224(0x3e6)]}]}});}[_0x402f51(0x348)](_0x265084){var _0xfda979=_0x402f51,_0x59c060;if(_0x265084['code']in _0x9d6414){this[_0xfda979(0x3f0)][_0xfda979(0x4ea)]({'id':_0x49330b[_0xfda979(0x377)],'data':_0x9d6414[_0x265084[_0xfda979(0x557)]]}),this[_0xfda979(0x2fa)]['next'](0x2);return;}this[_0xfda979(0x2fa)][_0xfda979(0x524)](0x3);const _0x103885=(_0x59c060=_0x265084[_0xfda979(0x4d4)][_0xfda979(0x3ee)][this[_0xfda979(0x3e6)]])==null?void 0x0:_0x59c060[_0xfda979(0x322)];_0x103885&&_0x103885['forEach'](_0x10bd59=>this[_0xfda979(0x29f)][_0xfda979(0x431)](this[_0xfda979(0x3e6)],_0x10bd59));}['_onRecvEvent'](_0x945d6d){var _0x526628=_0x402f51;try{const _0x34937d=_0x945d6d[_0x526628(0x4d4)];switch(_0x34937d[_0x526628(0x22f)]){case _0x10a1d1[_0x526628(0x3a8)]['USERS_ENTER']:this[_0x526628(0x470)](_0x34937d),this[_0x526628(0x309)]['next'](_0x34937d);break;case _0x10a1d1[_0x526628(0x3a8)][_0x526628(0x493)]:this[_0x526628(0x563)](_0x34937d),this[_0x526628(0x309)]['next'](_0x34937d);break;case _0x10a1d1[_0x526628(0x3a8)][_0x526628(0x2c3)]:case _0x10a1d1[_0x526628(0x3a8)]['CHANGESET_SHOULD_RETRY']:this[_0x526628(0x44b)](),this[_0x526628(0x27e)](),this[_0x526628(0x309)][_0x526628(0x524)](_0x34937d);break;case _0x10a1d1[_0x526628(0x3a8)][_0x526628(0x25a)]:this[_0x526628(0x455)]['error']('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x34937d)),this['_event$'][_0x526628(0x524)](_0x34937d);break;case _0x10a1d1[_0x526628(0x3a8)][_0x526628(0x425)]:this[_0x526628(0x297)][_0x526628(0x551)](_0x34937d[_0x526628(0x4d4)]),this[_0x526628(0x309)]['next'](_0x34937d);break;default:this[_0x526628(0x309)][_0x526628(0x524)](_0x34937d);}}catch(_0x150f5b){this[_0x526628(0x455)][_0x526628(0x4c5)](_0x150f5b,_0x945d6d);}}[_0x402f51(0x470)](_0x27f124){var _0x4be694=_0x402f51;this[_0x4be694(0x29f)]['updateMember'](this[_0x4be694(0x3e6)],_0x27f124[_0x4be694(0x4d4)]);}['_onUserLeave'](_0x43f252){var _0x495021=_0x402f51;this[_0x495021(0x29f)][_0x495021(0x2ec)](this[_0x495021(0x3e6)],_0x43f252[_0x495021(0x4d4)][_0x495021(0x45e)]);}async['send'](_0x304783,_0xcc4d85){var _0x451b0c=_0x402f51;if(this[_0x451b0c(0x328)]!==0x3||!this[_0x451b0c(0x2d1)])throw new Error(_0x451b0c(0x2d2));try{_0x304783[_0x451b0c(0x22f)]===_0x10a1d1['CollaborationEvent'][_0x451b0c(0x1fd)]&&(this[_0x451b0c(0x381)](),this[_0x451b0c(0x2f9)](_0x304783)),this[_0x451b0c(0x2d1)]['send']({'cmd':_0x447bdd['INGEST'],'routeKey':_0xcc4d85,'routeType':'','data':_0x304783});}catch(_0x51175b){this[_0x451b0c(0x455)]['error'](_0x51175b);}}[_0x402f51(0x381)](){var _0x1937cd=_0x402f51,_0x418959;this[_0x1937cd(0x522)]=setTimeout(()=>{var _0x482cd5=_0x1937cd;this[_0x482cd5(0x522)]=null,this[_0x482cd5(0x3f0)]['emitEvent']({'id':_0x49330b[_0x482cd5(0x3ff)]});},(_0x418959=this[_0x1937cd(0x421)][_0x1937cd(0x22e)](_0x26f425))!=null?_0x418959:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x125dbd=_0x402f51;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x125dbd(0x522)]),this[_0x125dbd(0x522)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4e8530){var _0x54b89d=_0x402f51;if(!this[_0x54b89d(0x52e)])return;const {data:_0x4b480c}=_0x4e8530,{unitID:_0x50fd4d,changeset:_0x20e9db}=_0x4b480c,{mutations:_0x3ca55c,type:_0x44239f}=_0x20e9db;this[_0x54b89d(0x4f3)]={'unitId':_0x50fd4d,'type':_0x44239f,'startTime':performance[_0x54b89d(0x2b0)](),'stopTime':0x0,'duration':0x0,'size':_0xe891e(_0x3ca55c)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2030f3=_0x402f51;if(this[_0x2030f3(0x52e)]){if(!this[_0x2030f3(0x4f3)]){this['_logService'][_0x2030f3(0x4c5)](_0x2030f3(0x53f),_0x2030f3(0x54d));return;}this[_0x2030f3(0x4f3)][_0x2030f3(0x4cc)]=performance[_0x2030f3(0x2b0)](),this[_0x2030f3(0x4f3)][_0x2030f3(0x4e2)]=this['_telemetryInfo']['stopTime']-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x2030f3(0x2cb)](_0x433949,this[_0x2030f3(0x4f3)]),this[_0x2030f3(0x4f3)]=null;}}[_0x402f51(0x442)](){this['_telemetryInfo']=null;}},_0x40c22a['CollaborationSession']=_0x541341([_0x307a06(0x2,_0x4f102d[_0x402f51(0x542)]),_0x307a06(0x3,_0x4f102d['IConfigService']),_0x307a06(0x4,_0x4f102d['Inject'](_0x40c22a[_0x402f51(0x2ae)])),_0x307a06(0x5,_0x4f102d[_0x402f51(0x2fe)](_0x2ffd09)),_0x307a06(0x6,_0x4f102d['Inject'](_0x264966)),_0x307a06(0x7,_0x4f102d[_0x402f51(0x286)](_0xfaa84b['ITelemetryService']))],_0x40c22a[_0x402f51(0x51a)]);var _0xac7905=Object['getOwnPropertyDescriptor'],_0x486e5c=(_0x5ae7fb,_0x17d7f2,_0x47da3b,_0x3bc124)=>{var _0x151822=_0x402f51;for(var _0x2a1860=_0x3bc124>0x1?void 0x0:_0x3bc124?_0xac7905(_0x17d7f2,_0x47da3b):_0x17d7f2,_0x49fd95=_0x5ae7fb[_0x151822(0x4c4)]-0x1,_0x497bd3;_0x49fd95>=0x0;_0x49fd95--)(_0x497bd3=_0x5ae7fb[_0x49fd95])&&(_0x2a1860=_0x497bd3(_0x2a1860)||_0x2a1860);return _0x2a1860;},_0x4f1fa8=(_0x3a7079,_0x592f50)=>(_0x2c9fa9,_0x2ccba9)=>_0x592f50(_0x2c9fa9,_0x2ccba9,_0x3a7079);_0x40c22a['CollaborationSessionService']=class extends _0x4f102d['Disposable']{constructor(_0x3bbcd3,_0x4a5708,_0x556627,_0x3dcbb4,_0x534218,_0x11249a){var _0x17f009=_0x402f51;super(),_0x45876c(this,'_socket$',new _0x4acdaa[(_0x17f009(0x341))](void 0x0)),_0x45876c(this,_0x17f009(0x457),this[_0x17f009(0x391)][_0x17f009(0x404)]()),_0x45876c(this,_0x17f009(0x2ed),null),_0x45876c(this,_0x17f009(0x23a),new Map()),_0x45876c(this,_0x17f009(0x450),new _0x4acdaa[(_0x17f009(0x341))](_0x52113d[_0x17f009(0x3fc)])),_0x45876c(this,_0x17f009(0x29a),this[_0x17f009(0x450)][_0x17f009(0x404)]()),_0x45876c(this,'_socketReady',!0x1),_0x45876c(this,_0x17f009(0x269)),_0x45876c(this,_0x17f009(0x411),0x0),_0x45876c(this,'_sendHeartbeatTimer'),_0x45876c(this,_0x17f009(0x489)),(this[_0x17f009(0x376)]=_0x3bbcd3,this[_0x17f009(0x455)]=_0x4a5708,this['_configService']=_0x556627,this[_0x17f009(0x500)]=_0x3dcbb4,this[_0x17f009(0x3f0)]=_0x534218,this[_0x17f009(0x2c7)]=_0x11249a,this[_0x17f009(0x295)]());}get[_0x402f51(0x2d1)](){var _0x33b1d5=_0x402f51;return this[_0x33b1d5(0x391)][_0x33b1d5(0x44c)]();}['_listenToNetworkCondition'](){var _0x275b58=_0x402f51;this[_0x275b58(0x2c7)]&&this[_0x275b58(0x33d)](this[_0x275b58(0x2c7)]['online$'][_0x275b58(0x22c)](_0x25e93e=>{var _0x1291c2=_0x275b58;_0x25e93e&&!this[_0x1291c2(0x2d1)]&&this[_0x1291c2(0x53e)](),_0x25e93e||this[_0x1291c2(0x409)]();}));}['dispose'](){var _0xaab81a=_0x402f51;super['dispose'](),this[_0xaab81a(0x422)](),this[_0xaab81a(0x402)](),this[_0xaab81a(0x3f4)](),this[_0xaab81a(0x23a)]['forEach'](_0x4dc70b=>_0x4dc70b['dispose']()),this[_0xaab81a(0x23a)][_0xaab81a(0x471)](),this[_0xaab81a(0x450)]['complete']();}async[_0x402f51(0x50e)](_0xe14282){var _0x34681a=_0x402f51;if(this[_0x34681a(0x23a)]['has'](_0xe14282))return this['_sessions']['get'](_0xe14282);this['_tryEnsureSocket']();const _0x4ec1ba=this[_0x34681a(0x376)]['createInstance'](_0x40c22a[_0x34681a(0x51a)],_0xe14282,this[_0x34681a(0x391)][_0x34681a(0x404)]());return this[_0x34681a(0x23a)][_0x34681a(0x30c)](_0xe14282,_0x4ec1ba),_0x4ec1ba;}[_0x402f51(0x3fd)](_0x462731){var _0x2279be=_0x402f51,_0x34c048;const _0x43fb72=this['_sessions'][_0x2279be(0x4f1)](_0x462731);_0x43fb72&&(this[_0x2279be(0x23a)][_0x2279be(0x311)](_0x462731),_0x43fb72[_0x2279be(0x403)]()),this[_0x2279be(0x23a)][_0x2279be(0x2c5)]||(_0x34c048=this[_0x2279be(0x2d1)])==null||_0x34c048[_0x2279be(0x403)]();}[_0x402f51(0x53e)](){var _0x24d57a=_0x402f51;this['_retryCount']=0x0,this[_0x24d57a(0x422)](),this[_0x24d57a(0x294)]();}[_0x402f51(0x422)](){var _0x786dee=_0x402f51;this[_0x786dee(0x269)]!=null&&(clearTimeout(this[_0x786dee(0x269)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x209298=_0x402f51,_0x19cdce;const _0x115f88=this['_configService'][_0x209298(0x22e)](_0x17cb06),_0x344300=(_0x19cdce=_0x115f88==null?void 0x0:_0x115f88[_0x209298(0x40f)])!=null?_0x19cdce:_0x4fcd5b,_0x295c28=await this[_0x209298(0x500)][_0x209298(0x2b4)](_0x344300);return this[_0x209298(0x2ed)]=_0x295c28,_0x295c28;}async[_0x402f51(0x256)](){var _0x4e0cf8=_0x402f51,_0x106e3b,_0x4ccc0c;try{const _0x7312cd=(_0x4ccc0c=(_0x106e3b=this[_0x4e0cf8(0x2d1)])!=null?_0x106e3b:this['_candidateSocket'])!=null?_0x4ccc0c:await this[_0x4e0cf8(0x21d)]();if(_0x7312cd){const _0x4aa0f6=_0x7312cd[_0x4e0cf8(0x4b6)];_0x7312cd[_0x4e0cf8(0x4b6)]=_0x24b746=>(this[_0x4e0cf8(0x43f)](),_0x4aa0f6[_0x4e0cf8(0x209)](_0x7312cd,[_0x24b746])),_0x7312cd[_0x4e0cf8(0x36d)][_0x4e0cf8(0x22c)](_0x1cb6b0=>this[_0x4e0cf8(0x44f)](_0x7312cd,_0x1cb6b0)),_0x7312cd[_0x4e0cf8(0x4dd)]['pipe'](_0x16b425[_0x4e0cf8(0x525)](0x1))['subscribe'](_0x2ddc02=>this['_logService'][_0x4e0cf8(0x4c5)](_0x4e0cf8(0x331),_0x2ddc02)),_0x7312cd[_0x4e0cf8(0x4ef)]['pipe'](_0x16b425[_0x4e0cf8(0x525)](0x1))[_0x4e0cf8(0x22c)](()=>{var _0x23078b=_0x4e0cf8;this[_0x23078b(0x2f2)](_0x7312cd);}),_0x7312cd['close$'][_0x4e0cf8(0x48d)](_0x16b425[_0x4e0cf8(0x525)](0x1))[_0x4e0cf8(0x22c)](_0x2df2f1=>{var _0x5463cd=_0x4e0cf8;this[_0x5463cd(0x455)][_0x5463cd(0x25d)](_0x5463cd(0x520),'socket\x20close',_0x2df2f1),this[_0x5463cd(0x291)]();});}}catch(_0x1687e4){this[_0x4e0cf8(0x455)]['error'](_0x1687e4),this[_0x4e0cf8(0x291)]();}}[_0x402f51(0x2f2)](_0x3f4165){var _0x11c447=_0x402f51;this[_0x11c447(0x455)][_0x11c447(0x25d)](_0x11c447(0x520),'socket\x20open.'),_0x3f4165['send']({'cmd':_0x447bdd[_0x11c447(0x241)]}),this[_0x11c447(0x43f)]();}[_0x402f51(0x409)](){var _0x19d1f6=_0x402f51;this[_0x19d1f6(0x515)]=!0x1,this[_0x19d1f6(0x2ed)]=null,this[_0x19d1f6(0x450)][_0x19d1f6(0x524)](_0x52113d['OFFLINE']),this['_socket$'][_0x19d1f6(0x524)](null),this[_0x19d1f6(0x402)](),this[_0x19d1f6(0x3f4)]();}[_0x402f51(0x291)](){var _0x82bd7e=_0x402f51,_0x314aee;this[_0x82bd7e(0x409)](),this[_0x82bd7e(0x411)]<((_0x314aee=this['_configService']['getConfig'](_0x408767))!=null?_0x314aee:0x3)?(this[_0x82bd7e(0x3f0)]['emitEvent']({'id':_0x49330b[_0x82bd7e(0x239)]}),this['_tryReconnect']()):this[_0x82bd7e(0x3f0)][_0x82bd7e(0x4ea)]({'id':_0x49330b['SOCKET_FAILED']});}[_0x402f51(0x294)](){var _0x23c882=_0x402f51,_0x236a21;const _0x26da9d=this[_0x23c882(0x411)],_0x2d5243=this[_0x23c882(0x421)][_0x23c882(0x22e)](_0x17cb06),_0x390e5e=_0x26da9d===0x0?0x0:((_0x236a21=_0x2d5243==null?void 0x0:_0x2d5243[_0x23c882(0x245)])!=null?_0x236a21:0x4e20)*0x2**_0x26da9d;this[_0x23c882(0x269)]=setTimeout(()=>{var _0x47ca34=_0x23c882;clearTimeout(this[_0x47ca34(0x269)]),this[_0x47ca34(0x269)]=null,this['_tryEnsureSocket']();},_0x390e5e),this[_0x23c882(0x411)]+=0x1;}[_0x402f51(0x44f)](_0x593ebb,_0x532ca0){var _0x11f421=_0x402f51;const {cmd:_0x46b768}=_0x532ca0;_0x46b768===_0x447bdd[_0x11f421(0x241)]&&!this[_0x11f421(0x515)]&&(_0x593ebb[_0x11f421(0x45e)]=_0x532ca0[_0x11f421(0x4d4)]['memberID'],this[_0x11f421(0x391)]['next'](_0x593ebb),this[_0x11f421(0x450)]['next'](_0x52113d[_0x11f421(0x3a9)]),this[_0x11f421(0x515)]=!0x0,this[_0x11f421(0x2ed)]=null),_0x46b768===_0x447bdd[_0x11f421(0x24b)]&&this[_0x11f421(0x402)](),this[_0x11f421(0x43f)]();}[_0x402f51(0x43f)](){var _0x51bdfe=_0x402f51,_0xbc0d79;this[_0x51bdfe(0x3f4)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x51bdfe(0x2aa)](),(_0xbc0d79=this[_0x51bdfe(0x421)][_0x51bdfe(0x22e)](_0x2a0a9f))!=null?_0xbc0d79:0x7530);}[_0x402f51(0x2aa)](){var _0x3d1a4c=_0x402f51;this[_0x3d1a4c(0x2d1)][_0x3d1a4c(0x4b6)]({'cmd':_0x447bdd[_0x3d1a4c(0x24b)]}),this[_0x3d1a4c(0x3d8)]();}['_waitForHeartbeatResponse'](){var _0x1a43a7=_0x402f51,_0x9e734d;this[_0x1a43a7(0x489)]=setTimeout(()=>this[_0x1a43a7(0x291)](),(_0x9e734d=this[_0x1a43a7(0x421)][_0x1a43a7(0x22e)](_0x26f425))!=null?_0x9e734d:0x4e20);}[_0x402f51(0x3f4)](){var _0x16a22c=_0x402f51;this[_0x16a22c(0x46a)]!=null&&(clearTimeout(this[_0x16a22c(0x46a)]),this[_0x16a22c(0x46a)]=null);}[_0x402f51(0x402)](){var _0x5744d4=_0x402f51;this[_0x5744d4(0x489)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5744d4(0x489)]=null);}},_0x40c22a[_0x402f51(0x250)]=_0x486e5c([_0x4f1fa8(0x0,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d['Injector'])),_0x4f1fa8(0x1,_0x4f102d['ILogService']),_0x4f1fa8(0x2,_0x4f102d[_0x402f51(0x26c)]),_0x4f1fa8(0x3,_0x20f99e),_0x4f1fa8(0x4,_0x4f102d[_0x402f51(0x2fe)](_0x264966)),_0x4f1fa8(0x5,_0x4f102d['Optional'](_0x2c62b9))],_0x40c22a['CollaborationSessionService']);const _0x482bab=_0x4f102d[_0x402f51(0x23b)](_0x402f51(0x3b9));function _0x4df10d(_0x33b06e){var _0x183985=_0x402f51;return _0x183985(0x52a)+_0x33b06e;}var _0x7144bd=Object[_0x402f51(0x47a)],_0x508d46=(_0x5004ab,_0x3d87f7,_0x17dda4,_0x34dbe7)=>{var _0x35e1ad=_0x402f51;for(var _0x2250d8=_0x34dbe7>0x1?void 0x0:_0x34dbe7?_0x7144bd(_0x3d87f7,_0x17dda4):_0x3d87f7,_0x4b4fbb=_0x5004ab[_0x35e1ad(0x4c4)]-0x1,_0x1f1bd5;_0x4b4fbb>=0x0;_0x4b4fbb--)(_0x1f1bd5=_0x5004ab[_0x4b4fbb])&&(_0x2250d8=_0x1f1bd5(_0x2250d8)||_0x2250d8);return _0x2250d8;},_0x3af439=(_0x50e220,_0x11a91b)=>(_0x3413d8,_0x48f053)=>_0x11a91b(_0x3413d8,_0x48f053,_0x50e220);function _0x3ac1cd(_0x11930f){var _0x128546=_0x402f51;const {unitID:_0x39bc95,mutations:_0x4a6b47}=_0x11930f;return{'unitId':_0x39bc95,'subUnitId':_0x4a6b47[0x0][_0x128546(0x2e8)][_0x128546(0x202)]};}_0x40c22a[_0x402f51(0x37d)]=class{constructor(_0x2e0b1e,_0x143163,_0x5bf550){var _0x509929=_0x402f51;this[_0x509929(0x376)]=_0x2e0b1e,this['_transformService']=_0x143163,this[_0x509929(0x4c0)]=_0x5bf550;}[_0x402f51(0x317)](_0xbefd74){var _0x35ff90=_0x402f51,_0x190730,_0x441c49,_0x2e1d03,_0x17365c;const _0x52b851=this['_injector'][_0x35ff90(0x4f1)](_0x2bd01e[_0x35ff90(0x49d)]),{unitId:_0x1ec27b,subUnitId:_0x5d65bb}=_0x3ac1cd(_0xbefd74),_0x5d1fb2=_0x52b851==null?void 0x0:_0x52b851[_0x35ff90(0x406)](_0x1ec27b)[_0x35ff90(0x227)](),_0x2e9c3f=(_0x441c49=(_0x190730=this[_0x35ff90(0x4c0)]['getUnit'](_0x1ec27b))==null?void 0x0:_0x190730[_0x35ff90(0x51d)]())==null?void 0x0:_0x441c49[_0x35ff90(0x3ad)]();if(_0x5d1fb2[_0x35ff90(0x4c4)]===0x0||!_0x1ec27b||!_0x5d65bb)return;const _0x151f46=[{'id':_0x2bd01e['SetSelectionsOperation']['id'],'params':{'unitId':_0x1ec27b,'subUnitId':_0x2e9c3f,'selections':_0x4f102d[_0x35ff90(0x38e)]['deepClone'](_0x5d1fb2)}}],_0xff5c6=this[_0x35ff90(0x2dd)][_0x35ff90(0x20b)](_0xbefd74,_0x151f46);if(!_0x10a1d1[_0x35ff90(0x516)](_0xff5c6))throw _0xff5c6[_0x35ff90(0x4c5)];const _0x43f5a4=(_0x17365c=(_0x2e1d03=_0xff5c6['m2Prime'][0x0])==null?void 0x0:_0x2e1d03[_0x35ff90(0x2e8)])==null?void 0x0:_0x17365c[_0x35ff90(0x53c)];if(Array['isArray'](_0x43f5a4)&&_0x43f5a4[_0x35ff90(0x4c4)]){if(_0x43f5a4[_0x35ff90(0x4c4)]===_0x151f46[0x0][_0x35ff90(0x2e8)]['selections'][_0x35ff90(0x4c4)]&&_0x43f5a4['every']((_0x457913,_0x4d5341)=>_0x4f102d[_0x35ff90(0x296)][_0x35ff90(0x2ef)](_0x457913[_0x35ff90(0x428)],_0x151f46[0x0][_0x35ff90(0x2e8)][_0x35ff90(0x53c)][_0x4d5341][_0x35ff90(0x428)])))return;this[_0x35ff90(0x376)]['get'](_0x4f102d[_0x35ff90(0x30a)])[_0x35ff90(0x4c7)](_0x2bd01e[_0x35ff90(0x435)]['id'],{'unitId':_0x1ec27b,'subUnitId':_0x2e9c3f,'selections':_0x43f5a4});}}},_0x40c22a[_0x402f51(0x37d)]=_0x508d46([_0x3af439(0x0,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x3cf)])),_0x3af439(0x1,_0x10a1d1[_0x402f51(0x2ab)]),_0x3af439(0x2,_0x4f102d[_0x402f51(0x361)])],_0x40c22a[_0x402f51(0x37d)]);const _0x5425d1=_0x4f102d['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x4f2036=(_0x36abe6=>(_0x36abe6[_0x36abe6[_0x402f51(0x526)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x36abe6[_0x36abe6['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x36abe6))(_0x4f2036||{});const _0x19e60a=new Set([_0x2bd01e[_0x402f51(0x23d)]['id']]);function _0x9f7aab(_0x5cc89a,_0x108ccd,_0x50dfe4,_0x826d4d,_0x8b2df2){var _0x7a2564=_0x402f51,_0x19cdf5,_0x3e8712,_0x383195,_0x408c4;const _0x2b9c9f=[];for(const _0x358e9c of _0x5cc89a)if(_0x19e60a[_0x7a2564(0x215)](_0x358e9c['id'])){if(_0x2b9c9f[_0x7a2564(0x4c4)]>0x0)break;_0x2b9c9f[_0x7a2564(0x221)](_0x358e9c);break;}else _0x2b9c9f[_0x7a2564(0x221)](_0x358e9c);const _0xc632be=(_0x3e8712=(_0x19cdf5=_0x8b2df2[_0x7a2564(0x55f)]())==null?void 0x0:_0x19cdf5[_0x7a2564(0x236)])!=null?_0x3e8712:'unknown',_0x209f44=(_0x408c4=(_0x383195=_0x8b2df2[_0x7a2564(0x55f)]())==null?void 0x0:_0x383195[_0x7a2564(0x45e)])!=null?_0x408c4:'unknown';return{'changeset':{'unitID':_0x108ccd,'type':_0x10a1d1[_0x7a2564(0x350)](_0x50dfe4[_0x7a2564(0x497)](_0x108ccd)),'baseRev':_0x826d4d['getCurrentRevOfUnit'](_0x108ccd),'revision':0x0,'userID':_0xc632be,'memberID':_0x209f44,'mutations':_0x2b9c9f},'pendingMutations':_0x5cc89a[_0x7a2564(0x4d3)](_0x2b9c9f['length'])};}function _0xac00cb(_0x1fad99,_0x361d9e,_0x5b377b,_0x5755e3,_0x2551d4){var _0x117ef2=_0x402f51,_0x2a565f,_0x249a41,_0x4dd525,_0x1dba46;const _0x216844=[_0x1fad99[_0x117ef2(0x362)]((_0x576da2,_0x15fdb3)=>{var _0x4077f1=_0x117ef2,_0x48f8ce;const {id:_0xbe0386}=_0x576da2,{id:_0x4c6e0c,type:_0xe241a0}=_0x15fdb3,_0x35d5c5=(_0x48f8ce=_0x576da2[_0x4077f1(0x2e8)])!=null?_0x48f8ce:{'actions':null},_0x500e9b=_0x15fdb3[_0x4077f1(0x2e8)];if(_0xbe0386&&_0xbe0386!==_0x4c6e0c)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0xbe0386+_0x4077f1(0x52b)+_0x4c6e0c+'.');return{..._0x576da2,'id':_0x4c6e0c,'type':_0xe241a0,'params':{'unitId':_0x500e9b[_0x4077f1(0x203)],'textRanges':_0x500e9b[_0x4077f1(0x550)],'actions':_0x4f102d[_0x4077f1(0x205)][_0x4077f1(0x507)](_0x35d5c5['actions'],_0x500e9b[_0x4077f1(0x243)])}};},{})],_0x3e8fdf=(_0x249a41=(_0x2a565f=_0x2551d4[_0x117ef2(0x55f)]())==null?void 0x0:_0x2a565f[_0x117ef2(0x236)])!=null?_0x249a41:'unknown',_0x5154c8=(_0x1dba46=(_0x4dd525=_0x2551d4[_0x117ef2(0x55f)]())==null?void 0x0:_0x4dd525[_0x117ef2(0x45e)])!=null?_0x1dba46:_0x117ef2(0x3bb);return{'changeset':{'unitID':_0x361d9e,'type':_0x10a1d1[_0x117ef2(0x350)](_0x5b377b[_0x117ef2(0x497)](_0x361d9e)),'baseRev':_0x5755e3[_0x117ef2(0x308)](_0x361d9e),'revision':0x0,'userID':_0x3e8fdf,'memberID':_0x5154c8,'mutations':_0x216844},'pendingMutations':[]};}function _0x59b29a(_0x3232f3,_0x4bf4dd){var _0x134d99=_0x402f51;const _0x24782b=new _0x4acdaa[(_0x134d99(0x20d))](0x1);return setTimeout(()=>_0x24782b[_0x134d99(0x524)](_0x4bf4dd),_0x3232f3),_0x24782b[_0x134d99(0x404)]()[_0x134d99(0x48d)](_0x4acdaa[_0x134d99(0x525)](0x1));}const _0x211741={'id':_0x2bd01e[_0x402f51(0x44a)]['id'],'type':_0x4f102d[_0x402f51(0x246)]['MUTATION'],'params':{}};var _0x76d15=Object['getOwnPropertyDescriptor'],_0x9220e3=(_0x5df8e1,_0x14c3f1,_0x4cb639,_0x3914a4)=>{for(var _0x3d3e33=_0x3914a4>0x1?void 0x0:_0x3914a4?_0x76d15(_0x14c3f1,_0x4cb639):_0x14c3f1,_0x36e83f=_0x5df8e1['length']-0x1,_0x1ddaf9;_0x36e83f>=0x0;_0x36e83f--)(_0x1ddaf9=_0x5df8e1[_0x36e83f])&&(_0x3d3e33=_0x1ddaf9(_0x3d3e33)||_0x3d3e33);return _0x3d3e33;},_0x2d8de1=(_0x1d1b4e,_0x5d6ee)=>(_0x51453d,_0x17cbdc)=>_0x5d6ee(_0x51453d,_0x17cbdc,_0x1d1b4e),_0x39dc6b=(_0x1e2fab=>(_0x1e2fab[_0x402f51(0x4a4)]=_0x402f51(0x251),_0x1e2fab[_0x402f51(0x4f4)]=_0x402f51(0x476),_0x1e2fab[_0x402f51(0x271)]='pending',_0x1e2fab[_0x402f51(0x4ad)]=_0x402f51(0x2d7),_0x1e2fab[_0x402f51(0x53b)]=_0x402f51(0x352),_0x1e2fab[_0x402f51(0x339)]='fetch_missing',_0x1e2fab[_0x402f51(0x330)]=_0x402f51(0x54a),_0x1e2fab[_0x402f51(0x2a9)]=_0x402f51(0x375),_0x1e2fab))(_0x39dc6b||{});const _0x5bc685=0xea60;class _0x59b34c{constructor(_0xc95c93,_0x1ce0c6,_0x2a689d,_0x2635a0,_0x5b41de,_0x548b2e,_0x42675e,_0x3b698b,_0x1a77f4){var _0x14d910=_0x402f51;_0x45876c(this,_0x14d910(0x419),null),_0x45876c(this,_0x14d910(0x3d9),[]),(this['unitID']=_0xc95c93,this['type']=_0x1ce0c6,this[_0x14d910(0x280)]=_0x5b41de,this['_commandService']=_0x548b2e,this[_0x14d910(0x2db)]=_0x42675e,this[_0x14d910(0x2a1)]=_0x3b698b,this[_0x14d910(0x25e)]=_0x1a77f4,this[_0x14d910(0x419)]=_0x2a689d,this[_0x14d910(0x3d9)]=_0x2635a0);}[_0x402f51(0x447)](_0x54fb08){var _0x259f33=_0x402f51;const _0xb11a93=this[_0x259f33(0x2a1)][_0x259f33(0x308)](this['unitID']);return _0x54fb08['revision']>_0xb11a93+0x1?(this[_0x259f33(0x280)][_0x259f33(0x4ce)]({'from':_0xb11a93,'to':_0x54fb08['revision']-0x1}),!0x0):!0x1;}[_0x402f51(0x536)](_0x39d898){var _0x1a121b=_0x402f51;this[_0x1a121b(0x2db)][_0x1a121b(0x3a1)](this[_0x1a121b(0x288)],_0x39d898);}[_0x402f51(0x432)](_0x56c343){var _0xccac5d=_0x402f51,_0x46d528,_0x4e66ff;(_0x4e66ff=(_0x46d528=this[_0xccac5d(0x280)])[_0xccac5d(0x358)])==null||_0x4e66ff[_0xccac5d(0x4b0)](_0x46d528,_0x56c343);}[_0x402f51(0x386)](_0x337e10){var _0x4c790e=_0x402f51,_0x3f1321,_0x1c4c80;return(_0x1c4c80=(_0x3f1321=this['_handler'])['onTransformIME'])==null?void 0x0:_0x1c4c80[_0x4c790e(0x4b0)](_0x3f1321,_0x337e10);}[_0x402f51(0x3c4)](_0x133916){var _0x2ada39=_0x402f51,_0x22ebb7,_0x48c943;return(_0x48c943=(_0x22ebb7=this['_handler'])[_0x2ada39(0x262)])==null?void 0x0:_0x48c943['call'](_0x22ebb7,_0x133916);}[_0x402f51(0x4cd)](_0x2e42ba){var _0x580e6d=_0x402f51,_0x53ac36,_0x4fbcf0,_0x3004aa;return(_0x3004aa=(_0x4fbcf0=(_0x53ac36=this[_0x580e6d(0x280)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4fbcf0[_0x580e6d(0x4b0)](_0x53ac36,_0x2e42ba))!=null?_0x3004aa:_0x2e42ba;}[_0x402f51(0x1f6)](_0x489e5f){var _0x598b1f=_0x402f51,_0x57e95d,_0x38d8d8,_0x57bfbd;return(_0x57bfbd=(_0x38d8d8=(_0x57e95d=this['_handler'])[_0x598b1f(0x2c1)])==null?void 0x0:_0x38d8d8[_0x598b1f(0x4b0)](_0x57e95d,_0x489e5f))!=null?_0x57bfbd:_0x489e5f;}[_0x402f51(0x4be)](_0x824a6f){var _0x1212e0=_0x402f51,_0x3044e2,_0x5bf0e9;if(this[_0x1212e0(0x38d)]===_0x30184d['UNIVER_DOC']){const {unitID:_0x3918fd,mutations:_0x159eed,memberID:_0x1ece59}=_0x824a6f,_0x52f91f=_0x159eed[0x0][_0x1212e0(0x2e8)][_0x1212e0(0x550)];Array[_0x1212e0(0x34a)](_0x52f91f)&&_0x52f91f[_0x1212e0(0x4c4)]>0x0&&((_0x5bf0e9=(_0x3044e2=this['_handler'])[_0x1212e0(0x21b)])==null||_0x5bf0e9[_0x1212e0(0x4b0)](_0x3044e2,{'unitID':_0x3918fd,'memberID':_0x1ece59,'textRanges':_0x52f91f}));}}[_0x402f51(0x539)](){var _0x3ef02e=_0x402f51,_0x1356da;(_0x1356da=this[_0x3ef02e(0x25e)])==null||_0x1356da[_0x3ef02e(0x475)](this[_0x3ef02e(0x288)],this['type'],this[_0x3ef02e(0x419)],this[_0x3ef02e(0x3d9)]);}[_0x402f51(0x39d)](){var _0x11a906=_0x402f51;return this[_0x11a906(0x2a1)][_0x11a906(0x308)](this[_0x11a906(0x288)]);}['_incrementRevisionNumber'](){var _0x33dd91=_0x402f51;this[_0x33dd91(0x2a1)][_0x33dd91(0x312)](this['unitID']);}[_0x402f51(0x436)](_0x2b63f5){var _0x54d444=_0x402f51,_0x4df8be;let _0xf9cfd6=this[_0x54d444(0x4cd)](_0x2b63f5);_0xf9cfd6=this[_0x54d444(0x1f6)](_0xf9cfd6);const _0x138a41=_0x4f102d[_0x54d444(0x4da)](_0xf9cfd6[_0x54d444(0x2ac)],this[_0x54d444(0x49e)],{'fromCollab':!0x0});if(!_0x138a41[_0x54d444(0x46c)])throw _0x138a41[_0x54d444(0x4c5)]instanceof Error?_0x138a41[_0x54d444(0x4c5)]:new Error((_0x4df8be=_0x138a41[_0x54d444(0x4c5)])!=null?_0x4df8be:_0x54d444(0x373));this['_transformIMECache'](_0xf9cfd6),this['_transformStateCache'](_0xf9cfd6),this['_transformUndoredo'](_0x2b63f5),this[_0x54d444(0x432)](_0xf9cfd6),this[_0x54d444(0x4be)](_0xf9cfd6),this[_0x54d444(0x2d0)]();}}_0x40c22a[_0x402f51(0x3b0)]=class extends _0x59b34c{constructor(_0x1ad7b8,_0x11e442,_0x2e22c8,_0x335e68,_0x488442,_0x35f0ae,_0x3602ef,_0x218d68,_0x325178,_0x42c56e){var _0x5c6369=_0x402f51;super(_0x1ad7b8,_0x11e442,null,[],_0x2e22c8,_0x3602ef,_0x35f0ae,_0x335e68,_0x42c56e),_0x45876c(this,_0x5c6369(0x4cb),_0x5c6369(0x476)),(this[_0x5c6369(0x376)]=_0x488442,this['_logService']=_0x218d68,this[_0x5c6369(0x2dd)]=_0x325178,this[_0x5c6369(0x4ee)]=_0x42c56e);}[_0x402f51(0x3be)](_0x23a738){var _0x2979b2=_0x402f51;const _0x11c0d1=this[_0x2979b2(0x376)][_0x2979b2(0x4fa)](_0x40c22a[_0x2979b2(0x50b)],this['unitID'],this[_0x2979b2(0x38d)],[_0x23a738],this[_0x2979b2(0x280)]);return _0x11c0d1[_0x2979b2(0x444)](),_0x11c0d1[_0x2979b2(0x539)](),_0x11c0d1;}['onRemoteChangeset'](_0x117719){var _0x2d8ec5=_0x402f51;if(this[_0x2d8ec5(0x447)](_0x117719))return this['_injector'][_0x2d8ec5(0x4fa)](_0x40c22a['FetchingMissState'],this[_0x2d8ec5(0x288)],this['type'],null,[],null,[_0x117719],this[_0x2d8ec5(0x280)]);try{const _0x215b4e=this[_0x2d8ec5(0x2dd)][_0x2d8ec5(0x20b)](_0x117719,[_0x211741]);if(_0x10a1d1['isTransformMutationsWithChangesetSuccess'](_0x215b4e)){const {c1Prime:_0xbbbd40}=_0x215b4e;return this[_0x2d8ec5(0x436)](_0xbbbd40),this;}throw _0x215b4e[_0x2d8ec5(0x4c5)];}catch(_0x4a2f44){return this[_0x2d8ec5(0x455)]['error'](_0x4a2f44),this[_0x2d8ec5(0x553)](!0x1);}}[_0x402f51(0x553)](_0x2cbb48){var _0x2324ea=_0x402f51;return this[_0x2324ea(0x376)][_0x2324ea(0x4fa)](_0x40c22a['ConflictState'],this[_0x2324ea(0x288)],this[_0x2324ea(0x38d)],null,[],this[_0x2324ea(0x280)],_0x2cbb48);}[_0x402f51(0x2d8)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x402f51(0x31c)](){var _0x5ce447=_0x402f51;throw new Error(_0x5ce447(0x326));}[_0x402f51(0x466)](){return this;}[_0x402f51(0x2b8)](){var _0x390fbc=_0x402f51;return this[_0x390fbc(0x376)]['createInstance'](_0x40c22a['OfflineState'],this[_0x390fbc(0x288)],this[_0x390fbc(0x38d)],null,[],this[_0x390fbc(0x280)]);}[_0x402f51(0x46d)](){return this;}[_0x402f51(0x25f)](){var _0x5b5ade=_0x402f51;throw new Error(_0x5b5ade(0x534));}[_0x402f51(0x2d5)](){var _0x4cf651=_0x402f51;const _0x3143f8=this['_revisionService'][_0x4cf651(0x308)](this[_0x4cf651(0x288)]);return this[_0x4cf651(0x280)][_0x4cf651(0x4ce)]({'from':_0x3143f8,'to':0x0}),this[_0x4cf651(0x376)][_0x4cf651(0x4fa)](_0x40c22a[_0x4cf651(0x3dd)],this['unitID'],this[_0x4cf651(0x38d)],null,[],null,[],this[_0x4cf651(0x280)]);}},_0x40c22a['SyncedState']=_0x9220e3([_0x2d8de1(0x3,_0x4f102d['Inject'](_0x10a1d1[_0x402f51(0x53a)])),_0x2d8de1(0x4,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x3cf)])),_0x2d8de1(0x5,_0x4f102d['IUndoRedoService']),_0x2d8de1(0x6,_0x4f102d['ICommandService']),_0x2d8de1(0x7,_0x4f102d[_0x402f51(0x542)]),_0x2d8de1(0x8,_0x10a1d1[_0x402f51(0x2ab)]),_0x2d8de1(0x9,_0x4f102d['Optional'](_0x482bab))],_0x40c22a[_0x402f51(0x3b0)]),_0x40c22a['PendingState']=class extends _0x59b34c{constructor(_0x1589b6,_0x54cf40,_0x23aa1b,_0x52832b,_0xf64f24,_0x132450,_0x58896d,_0x3360bc,_0x4765d0,_0x3c0875,_0x372ad9,_0x4aca4f,_0x38319a,_0x630ea7){var _0x37cf7f=_0x402f51;super(_0x1589b6,_0x54cf40,null,_0x23aa1b,_0x52832b,_0x4765d0,_0x38319a,_0x132450,_0x630ea7),_0x45876c(this,_0x37cf7f(0x4cb),'pending'),_0x45876c(this,_0x37cf7f(0x35a),null),_0x45876c(this,'_sendingTimer',null),(this[_0x37cf7f(0x376)]=_0xf64f24,this[_0x37cf7f(0x29f)]=_0x58896d,this[_0x37cf7f(0x455)]=_0x3360bc,this[_0x37cf7f(0x421)]=_0x3c0875,this['_transformService']=_0x372ad9,this['_univerInstanceService']=_0x4aca4f);}[_0x402f51(0x3be)](_0x46ff41){var _0x18cead=_0x402f51;return this[_0x18cead(0x3d9)][_0x18cead(0x221)](_0x46ff41),this[_0x18cead(0x539)](),this;}[_0x402f51(0x3f1)](_0x14a254){var _0x11d8ec=_0x402f51;if(this[_0x11d8ec(0x447)](_0x14a254))return this[_0x11d8ec(0x39c)](),this[_0x11d8ec(0x376)][_0x11d8ec(0x4fa)](_0x40c22a[_0x11d8ec(0x3dd)],this[_0x11d8ec(0x288)],this[_0x11d8ec(0x38d)],null,this[_0x11d8ec(0x3d9)],null,[_0x14a254],this[_0x11d8ec(0x280)]);try{const _0x59341e=this[_0x11d8ec(0x2dd)][_0x11d8ec(0x20b)](_0x14a254,this['_pendingMutations']);if(_0x10a1d1[_0x11d8ec(0x516)](_0x59341e)){const {c1Prime:_0x26aef5,m2Prime:_0xbbda1c}=_0x59341e;this[_0x11d8ec(0x436)](_0x26aef5);const _0x5d7bf3=this[_0x11d8ec(0x376)][_0x11d8ec(0x4fa)](_0x40c22a['PendingState'],this[_0x11d8ec(0x288)],this['type'],_0xbbda1c,this['_handler']);this[_0x11d8ec(0x39c)]();const _0x272ea2=new Date()[_0x11d8ec(0x30e)](),_0x32dcec=this[_0x11d8ec(0x35a)]?Math[_0x11d8ec(0x39a)](this[_0x11d8ec(0x35a)]-_0x272ea2,0x0):this['_getSendChangesetTimeout']();return _0x5d7bf3[_0x11d8ec(0x444)](_0x32dcec),_0x5d7bf3;}throw _0x59341e[_0x11d8ec(0x4c5)];}catch(_0x2b63d7){return this['_logService'][_0x11d8ec(0x4c5)](_0x2b63d7),this['_onConflict'](!0x1);}}[_0x402f51(0x2d8)](){var _0x2c6e54=_0x402f51;throw new Error(_0x2c6e54(0x387));}['onRemoteRej'](){var _0x57cdec=_0x402f51;throw new Error(_0x57cdec(0x41a));}[_0x402f51(0x466)](){return this;}[_0x402f51(0x2b8)](){var _0x4e6d56=_0x402f51;return this['_clearScheduledTask'](),this['_injector'][_0x4e6d56(0x4fa)](_0x40c22a[_0x4e6d56(0x2e9)],this['unitID'],this[_0x4e6d56(0x38d)],null,this['_pendingMutations'],this[_0x4e6d56(0x280)]);}[_0x402f51(0x46d)](){return this;}[_0x402f51(0x444)](_0x23b849){var _0x461a47=_0x402f51;const _0x262884=_0x23b849!=null?_0x23b849:this[_0x461a47(0x2e1)]();this[_0x461a47(0x35a)]=new Date()['getTime']()+_0x262884,this[_0x461a47(0x45c)]=setTimeout(()=>{var _0x4ea63b=_0x461a47;this[_0x4ea63b(0x39c)]();let _0x4fa85a=null;switch(this['type']){case _0x30184d[_0x4ea63b(0x355)]:{_0x4fa85a=_0x9f7aab(this[_0x4ea63b(0x3d9)],this[_0x4ea63b(0x288)],this[_0x4ea63b(0x564)],this['_revisionService'],this[_0x4ea63b(0x29f)]);break;}case _0x30184d[_0x4ea63b(0x4e3)]:{this['_pendingMutations'][_0x4ea63b(0x4cf)](_0x55ee82=>_0x55ee82['id']===_0x401838['RichTextEditingMutation']['id'])?_0x4fa85a=_0xac00cb(this[_0x4ea63b(0x3d9)],this[_0x4ea63b(0x288)],this['_univerInstanceService'],this[_0x4ea63b(0x2a1)],this[_0x4ea63b(0x29f)]):_0x4fa85a=_0x9f7aab(this[_0x4ea63b(0x3d9)],this[_0x4ea63b(0x288)],this[_0x4ea63b(0x564)],this['_revisionService'],this[_0x4ea63b(0x29f)]);break;}default:throw new Error(_0x4ea63b(0x41e)+this['type']+_0x4ea63b(0x4e7));}const {changeset:_0x1d0581,pendingMutations:_0x5799f7}=_0x4fa85a;this['_handler'][_0x4ea63b(0x41f)](_0x1d0581);const _0x53debd=_0x5799f7[_0x4ea63b(0x4c4)]?this[_0x4ea63b(0x376)][_0x4ea63b(0x4fa)](_0x40c22a[_0x4ea63b(0x2f6)],this[_0x4ea63b(0x288)],this[_0x4ea63b(0x38d)],_0x1d0581,_0x5799f7,this[_0x4ea63b(0x280)],void 0x0):this['_injector']['createInstance'](_0x40c22a[_0x4ea63b(0x464)],this[_0x4ea63b(0x288)],this[_0x4ea63b(0x38d)],_0x1d0581,this['_handler']);_0x53debd['_updateLocalCache'](),this['_handler'][_0x4ea63b(0x3e5)](this,_0x53debd);},_0x262884);}['_getSendChangesetTimeout'](){var _0x3605fd=_0x402f51,_0x21d632;const _0x1fa7df=this[_0x3605fd(0x421)][_0x3605fd(0x22e)](_0x17cb06);return(_0x21d632=_0x1fa7df==null?void 0x0:_0x1fa7df[_0x3605fd(0x3f3)])!=null?_0x21d632:0x7d0;}[_0x402f51(0x25f)](){var _0x4cec0f=_0x402f51;throw new Error(_0x4cec0f(0x212));}[_0x402f51(0x39c)](){var _0x1adfa4=_0x402f51;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1adfa4(0x45c)]),this['_sendingTimer']=null);}[_0x402f51(0x553)](_0x173f21){var _0x2a6c37=_0x402f51;return this[_0x2a6c37(0x39c)](),this[_0x2a6c37(0x376)]['createInstance'](_0x40c22a['ConflictState'],this['unitID'],this[_0x2a6c37(0x38d)],null,this['_pendingMutations'],this[_0x2a6c37(0x280)],_0x173f21);}},_0x40c22a[_0x402f51(0x50b)]=_0x9220e3([_0x2d8de1(0x4,_0x4f102d['Inject'](_0x4f102d['Injector'])),_0x2d8de1(0x5,_0x4f102d[_0x402f51(0x2fe)](_0x10a1d1[_0x402f51(0x53a)])),_0x2d8de1(0x6,_0x4f102d[_0x402f51(0x2fe)](_0x40c22a[_0x402f51(0x2ae)])),_0x2d8de1(0x7,_0x4f102d[_0x402f51(0x542)]),_0x2d8de1(0x8,_0x4f102d[_0x402f51(0x30a)]),_0x2d8de1(0x9,_0x4f102d[_0x402f51(0x26c)]),_0x2d8de1(0xa,_0x10a1d1[_0x402f51(0x2ab)]),_0x2d8de1(0xb,_0x4f102d[_0x402f51(0x361)]),_0x2d8de1(0xc,_0x4f102d[_0x402f51(0x274)]),_0x2d8de1(0xd,_0x4f102d[_0x402f51(0x286)](_0x482bab))],_0x40c22a['PendingState']),_0x40c22a[_0x402f51(0x464)]=class extends _0x59b34c{constructor(_0x1f72ec,_0xb4c86a,_0x5c3fce,_0x58b2bd,_0x3adf63,_0x382511,_0x50bb48,_0x141ca0,_0x4494c7,_0x3c2a7a,_0x3487dc){var _0x595c76=_0x402f51;super(_0x1f72ec,_0xb4c86a,_0x5c3fce,[],_0x58b2bd,_0x50bb48,_0x3c2a7a,_0x382511,_0x3487dc),_0x45876c(this,_0x595c76(0x4cb),_0x595c76(0x2d7)),_0x45876c(this,_0x595c76(0x454),0x0),_0x45876c(this,_0x595c76(0x34e)),_0x45876c(this,_0x595c76(0x529)),(this[_0x595c76(0x376)]=_0x3adf63,this['_logService']=_0x141ca0,this[_0x595c76(0x2dd)]=_0x4494c7);}[_0x402f51(0x3be)](_0x313f19){var _0xd00a61=_0x402f51;this['_clearScheduledTask']();const _0x5025a4=this[_0xd00a61(0x376)][_0xd00a61(0x4fa)](_0x40c22a['AwaitingWithPendingState'],this[_0xd00a61(0x288)],this[_0xd00a61(0x38d)],this['_awaitingChangeset'],[_0x313f19],this[_0xd00a61(0x280)],this[_0xd00a61(0x34e)]);return _0x5025a4[_0xd00a61(0x539)](),_0x5025a4;}['onRemoteChangeset'](_0x4ef4e0){var _0x2acf68=_0x402f51;if(this[_0x2acf68(0x447)](_0x4ef4e0))return this['_clearScheduledTask'](),this[_0x2acf68(0x376)]['createInstance'](_0x40c22a['FetchingMissState'],this[_0x2acf68(0x288)],this[_0x2acf68(0x38d)],this['_awaitingChangeset'],[],null,[_0x4ef4e0],this[_0x2acf68(0x280)]);try{const _0x115531=this[_0x2acf68(0x2dd)][_0x2acf68(0x2b3)]([_0x4ef4e0],[this[_0x2acf68(0x419)]],!0x1);if(_0x10a1d1[_0x2acf68(0x31e)](_0x115531)){const {c1Prime:_0x383ec7,c2Prime:_0x394383}=_0x115531;this[_0x2acf68(0x436)](_0x383ec7[0x0]),_0x394383[0x0][_0x2acf68(0x340)]=this['_getCurrentRevision'](),this[_0x2acf68(0x39c)]();const _0x2ab592=this['_injector'][_0x2acf68(0x4fa)](_0x40c22a[_0x2acf68(0x464)],this[_0x2acf68(0x288)],this['type'],_0x394383[0x0],this['_handler']);return _0x2ab592['_updateLocalCache'](),_0x2ab592;}return this[_0x2acf68(0x553)](!0x1);}catch(_0x2dbcfa){return this[_0x2acf68(0x455)][_0x2acf68(0x4c5)](_0x2dbcfa),this[_0x2acf68(0x553)](!0x1);}}['onRemoteAck'](_0x4c8dcb){var _0x4c8e73=_0x402f51;this[_0x4c8e73(0x39c)]();const _0x2363b1=this[_0x4c8e73(0x2a1)]['getCurrentRevOfUnit'](this[_0x4c8e73(0x288)]);if(_0x4c8dcb['revision']<_0x2363b1-0x1)return this;if(this['_checkMissing'](_0x4c8dcb))return this[_0x4c8e73(0x376)][_0x4c8e73(0x4fa)](_0x40c22a[_0x4c8e73(0x3dd)],this['unitID'],this[_0x4c8e73(0x38d)],null,[],this['_awaitingChangeset'],[],this[_0x4c8e73(0x280)]);this['_incrementRevisionNumber']();const _0x219474=this['_injector'][_0x4c8e73(0x4fa)](_0x40c22a[_0x4c8e73(0x3b0)],this['unitID'],this[_0x4c8e73(0x38d)],this['_handler']);return _0x219474[_0x4c8e73(0x539)](),_0x219474;}[_0x402f51(0x31c)](_0x41ffd4){var _0x4b8a58=_0x402f51;return this[_0x4b8a58(0x553)](!!(_0x41ffd4!=null&&_0x41ffd4['isPermissionRej']));}[_0x402f51(0x466)](_0x28b29d){var _0x523ac8=_0x402f51;return this[_0x523ac8(0x454)]>_0x5bc685?this[_0x523ac8(0x2b8)]():(this[_0x523ac8(0x34e)]=_0x59b29a(this['_resendTimeout'],{'timeout':this[_0x523ac8(0x454)],'reqId':_0x28b29d[_0x523ac8(0x45b)]}),this['_sender']=this['_resendTimer'][_0x523ac8(0x22c)](({reqId:_0x3e61f1,timeout:_0xae7efe})=>{var _0x5b5e80=_0x523ac8;this[_0x5b5e80(0x2a3)](_0x3e61f1,_0xae7efe);}),this);}[_0x402f51(0x2b8)](){var _0x2a76bb=_0x402f51;return this[_0x2a76bb(0x39c)](),this[_0x2a76bb(0x376)]['createInstance'](_0x40c22a[_0x2a76bb(0x2e9)],this['unitID'],this[_0x2a76bb(0x38d)],this[_0x2a76bb(0x419)],[],this[_0x2a76bb(0x280)]);}[_0x402f51(0x46d)](){return this;}[_0x402f51(0x25f)](){var _0x4fb9a4=_0x402f51;this[_0x4fb9a4(0x280)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x402f51(0x553)](_0x76f11b){var _0x115120=_0x402f51;return this[_0x115120(0x39c)](),this['_injector'][_0x115120(0x4fa)](_0x40c22a[_0x115120(0x434)],this[_0x115120(0x288)],this[_0x115120(0x38d)],this['_awaitingChangeset'],[],this['_handler'],_0x76f11b);}[_0x402f51(0x2a3)](_0x2ed908,_0x568d45){var _0x4fbe3b=_0x402f51,_0x5c175f;_0x2ed908===((_0x5c175f=this['_awaitingChangeset'])==null?void 0x0:_0x5c175f[_0x4fbe3b(0x45b)])&&(this['resend'](),this[_0x4fbe3b(0x454)]=_0x568d45===0x0?0x3e8:_0x568d45*0x2);}[_0x402f51(0x39c)](){var _0x35d7e8=_0x402f51,_0xfd5d39;(_0xfd5d39=this[_0x35d7e8(0x529)])==null||_0xfd5d39[_0x35d7e8(0x3dc)](),this[_0x35d7e8(0x454)]=0x0;}},_0x40c22a[_0x402f51(0x464)]=_0x9220e3([_0x2d8de1(0x4,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d['Injector'])),_0x2d8de1(0x5,_0x4f102d[_0x402f51(0x2fe)](_0x10a1d1['RevisionService'])),_0x2d8de1(0x6,_0x4f102d['ICommandService']),_0x2d8de1(0x7,_0x4f102d[_0x402f51(0x542)]),_0x2d8de1(0x8,_0x10a1d1[_0x402f51(0x2ab)]),_0x2d8de1(0x9,_0x4f102d['IUndoRedoService']),_0x2d8de1(0xa,_0x4f102d[_0x402f51(0x286)](_0x482bab))],_0x40c22a['AwaitingState']),_0x40c22a[_0x402f51(0x2f6)]=class extends _0x59b34c{constructor(_0x445df0,_0x54a806,_0x12753c,_0x28130c,_0x1d29d7,_0x5023ac,_0x2ca6bd,_0x44b782,_0x2cd8c6,_0x12d227,_0x34b365,_0x942b29,_0x3f08a5){var _0x1fd435=_0x402f51;super(_0x445df0,_0x54a806,_0x12753c,_0x28130c,_0x1d29d7,_0x2cd8c6,_0x942b29,_0x44b782,_0x3f08a5),_0x45876c(this,_0x1fd435(0x4cb),_0x1fd435(0x352)),_0x45876c(this,_0x1fd435(0x454),0x0),_0x45876c(this,_0x1fd435(0x34e)),_0x45876c(this,'_sender'),(this['_injector']=_0x2ca6bd,this[_0x1fd435(0x455)]=_0x12d227,this['_transformService']=_0x34b365,this[_0x1fd435(0x4ee)]=_0x3f08a5,_0x5023ac&&(this[_0x1fd435(0x34e)]=_0x5023ac,this['_sender']=this[_0x1fd435(0x34e)][_0x1fd435(0x22c)](({reqId:_0x3eb445,timeout:_0x598366})=>{this['_resendWithTimeout'](_0x3eb445,_0x598366);})));}['appendMutation'](_0x401c34){var _0x5e1671=_0x402f51;return this[_0x5e1671(0x3d9)]['push'](_0x401c34),this;}['onRemoteChangeset'](_0x4c2c43){var _0x508271=_0x402f51;if(this[_0x508271(0x447)](_0x4c2c43))return this['_clearScheduledTask'](),this[_0x508271(0x376)]['createInstance'](_0x40c22a[_0x508271(0x3dd)],this[_0x508271(0x288)],this[_0x508271(0x38d)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x4c2c43],this['_handler']);try{const _0x1495d1=this[_0x508271(0x2dd)][_0x508271(0x2b3)]([_0x4c2c43],[this['_awaitingChangeset']],!0x1);if(_0x10a1d1['isTransformChangesetsSuccess'](_0x1495d1)){const {c1Prime:_0x19b0d0,c2Prime:_0x4de6e9}=_0x1495d1,_0x2fcf58=this['_transformService'][_0x508271(0x20b)](_0x19b0d0[0x0],this[_0x508271(0x3d9)]);if(_0x10a1d1[_0x508271(0x516)](_0x2fcf58)){const {c1Prime:_0xc3db6d,m2Prime:_0x584fad}=_0x2fcf58;return this[_0x508271(0x436)](_0xc3db6d),_0x4de6e9[0x0][_0x508271(0x340)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x508271(0x376)][_0x508271(0x4fa)](_0x40c22a[_0x508271(0x2f6)],this[_0x508271(0x288)],this['type'],_0x4de6e9[0x0],_0x584fad,this['_handler'],void 0x0);}throw _0x2fcf58[_0x508271(0x4c5)];}throw _0x1495d1['error'];}catch(_0x35efa7){return this[_0x508271(0x455)][_0x508271(0x4c5)](_0x35efa7),this[_0x508271(0x553)](!0x1);}}[_0x402f51(0x2d8)](_0x2533bd){var _0x516eb8=_0x402f51;if(this[_0x516eb8(0x39c)](),this[_0x516eb8(0x447)](_0x2533bd))return this[_0x516eb8(0x376)][_0x516eb8(0x4fa)](_0x40c22a[_0x516eb8(0x3dd)],this['unitID'],this['type'],null,this[_0x516eb8(0x3d9)],this[_0x516eb8(0x419)],[],this[_0x516eb8(0x280)]);this[_0x516eb8(0x2d0)]();const _0x30bd69=this['_injector']['createInstance'](_0x40c22a[_0x516eb8(0x50b)],this[_0x516eb8(0x288)],this[_0x516eb8(0x38d)],this['_pendingMutations'],this[_0x516eb8(0x280)]);return _0x30bd69[_0x516eb8(0x444)](),_0x30bd69['_updateLocalCache'](),_0x30bd69;}[_0x402f51(0x31c)](_0x39addf){var _0x40b2d6=_0x402f51;return this[_0x40b2d6(0x553)](!!(_0x39addf!=null&&_0x39addf[_0x40b2d6(0x397)]));}[_0x402f51(0x466)](_0x4a87eb){var _0x184dae=_0x402f51;return this[_0x184dae(0x454)]>_0x5bc685?this[_0x184dae(0x2b8)]():(this[_0x184dae(0x34e)]=_0x59b29a(this[_0x184dae(0x454)],{'timeout':this['_resendTimeout'],'reqId':_0x4a87eb['reqId']}),this[_0x184dae(0x529)]=this[_0x184dae(0x34e)]['subscribe'](({reqId:_0x47e4d3,timeout:_0x136d9a})=>{var _0x3eaed7=_0x184dae;this[_0x3eaed7(0x2a3)](_0x47e4d3,_0x136d9a);}),this);}[_0x402f51(0x2b8)](){var _0x4d5507=_0x402f51;return this[_0x4d5507(0x39c)](),this[_0x4d5507(0x376)][_0x4d5507(0x4fa)](_0x40c22a['OfflineState'],this[_0x4d5507(0x288)],this[_0x4d5507(0x38d)],this[_0x4d5507(0x419)],this[_0x4d5507(0x3d9)],this[_0x4d5507(0x280)]);}[_0x402f51(0x46d)](){return this;}['resend'](){var _0x3391f0=_0x402f51;this['_handler'][_0x3391f0(0x41f)](this['_awaitingChangeset']);}[_0x402f51(0x553)](_0x3c461f){var _0x551b4d=_0x402f51;return this[_0x551b4d(0x39c)](),this[_0x551b4d(0x376)]['createInstance'](_0x40c22a['ConflictState'],this['unitID'],this['type'],null,this[_0x551b4d(0x3d9)],this[_0x551b4d(0x280)],_0x3c461f);}[_0x402f51(0x2a3)](_0x39a444,_0x5c3572){var _0x21b3a2=_0x402f51,_0x5d2842;_0x39a444===((_0x5d2842=this[_0x21b3a2(0x419)])==null?void 0x0:_0x5d2842[_0x21b3a2(0x45b)])&&(this[_0x21b3a2(0x25f)](),this[_0x21b3a2(0x454)]=_0x5c3572===0x0?0x3e8:_0x5c3572*0x2);}[_0x402f51(0x39c)](){var _0xa705b4=_0x402f51,_0xf4c236;(_0xf4c236=this[_0xa705b4(0x529)])==null||_0xf4c236[_0xa705b4(0x3dc)](),this[_0xa705b4(0x454)]=0x0;}},_0x40c22a[_0x402f51(0x2f6)]=_0x9220e3([_0x2d8de1(0x6,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x3cf)])),_0x2d8de1(0x7,_0x4f102d[_0x402f51(0x2fe)](_0x10a1d1['RevisionService'])),_0x2d8de1(0x8,_0x4f102d[_0x402f51(0x30a)]),_0x2d8de1(0x9,_0x4f102d['ILogService']),_0x2d8de1(0xa,_0x10a1d1['ITransformService']),_0x2d8de1(0xb,_0x4f102d[_0x402f51(0x274)]),_0x2d8de1(0xc,_0x4f102d[_0x402f51(0x286)](_0x482bab))],_0x40c22a[_0x402f51(0x2f6)]),_0x40c22a['ConflictState']=class extends _0x59b34c{constructor(_0x3fd57d,_0x2dcbc4,_0x1fb033,_0x20040c,_0x336ab2,_0x294ad9=!0x1,_0x1633a5,_0x16310e,_0x3065b0,_0xd71bac,_0x411ddc,_0x3020a8,_0x3d99b0){var _0x57571b=_0x402f51;super(_0x3fd57d,_0x2dcbc4,_0x1fb033,_0x20040c,_0x336ab2,_0x16310e,_0x3065b0,_0xd71bac,_0x3d99b0),_0x45876c(this,_0x57571b(0x4cb),_0x57571b(0x54a)),(this[_0x57571b(0x3e1)]=_0x294ad9,this['_permissionService']=_0x1633a5,this[_0x57571b(0x345)]=_0x411ddc,this[_0x57571b(0x3f0)]=_0x3020a8,this['localCacheService']=_0x3d99b0,this[_0x57571b(0x482)](),this[_0x57571b(0x537)](),this[_0x57571b(0x2c9)]());}[_0x402f51(0x3be)](){return this;}[_0x402f51(0x3f1)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x402f51(0x466)](){return this;}[_0x402f51(0x2b8)](){return this;}['toggleOnline'](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x402f51(0x537)](){var _0x2b68ff=_0x402f51,_0x332b11;(_0x332b11=this[_0x2b68ff(0x25e)])==null||_0x332b11[_0x2b68ff(0x475)](this['unitID'],this['type'],null,[]);}[_0x402f51(0x482)](){var _0x2886bf=_0x402f51;this[_0x2886bf(0x3e1)]?this[_0x2886bf(0x3f0)][_0x2886bf(0x4ea)]({'id':_0x49330b['PERMISSION_DENIED']}):this[_0x2886bf(0x3f0)][_0x2886bf(0x4ea)]({'id':_0x49330b[_0x2886bf(0x330)]});}[_0x402f51(0x2c9)](){var _0x519b39=_0x402f51;this['_permissionService'][_0x519b39(0x2a0)](new _0x2bd01e[(_0x519b39(0x4b8))](this[_0x519b39(0x288)])['id'],!0x1);}},_0x40c22a[_0x402f51(0x434)]=_0x9220e3([_0x2d8de1(0x6,_0x4f102d['Inject'](_0x4f102d[_0x402f51(0x511)])),_0x2d8de1(0x7,_0x4f102d[_0x402f51(0x30a)]),_0x2d8de1(0x8,_0x4f102d[_0x402f51(0x274)]),_0x2d8de1(0x9,_0x4f102d[_0x402f51(0x2fe)](_0x10a1d1[_0x402f51(0x53a)])),_0x2d8de1(0xa,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x405)])),_0x2d8de1(0xb,_0x4f102d['Inject'](_0x264966)),_0x2d8de1(0xc,_0x4f102d[_0x402f51(0x286)](_0x482bab))],_0x40c22a[_0x402f51(0x434)]),_0x40c22a['OfflineState']=class extends _0x59b34c{constructor(_0xddb221,_0x5cbd7f,_0x3220b1,_0x55a7f6,_0x2adc7d,_0x1b5fdc,_0x3ad1bc,_0xd743ca,_0x23bbc4,_0x322ba0){var _0x6553b1=_0x402f51;super(_0xddb221,_0x5cbd7f,_0x3220b1,_0x55a7f6,_0x2adc7d,_0xd743ca,_0x23bbc4,_0x3ad1bc,_0x322ba0),_0x45876c(this,_0x6553b1(0x4cb),'offline'),this[_0x6553b1(0x376)]=_0x1b5fdc;}[_0x402f51(0x3be)](_0x20fbdc){var _0x1f7eeb=_0x402f51;return this[_0x1f7eeb(0x3d9)][_0x1f7eeb(0x221)](_0x20fbdc),this[_0x1f7eeb(0x539)](),this;}[_0x402f51(0x3f1)](_0x56077e){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x402f51(0x2d8)](){var _0x17750c=_0x402f51;throw new Error(_0x17750c(0x383));}[_0x402f51(0x31c)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x402f51(0x466)](){return this;}[_0x402f51(0x2b8)](){return this;}[_0x402f51(0x46d)](){var _0x51555f=_0x402f51;const {_injector:_0x318f19,_pendingMutations:_0x54129a,_awaitingChangeset:_0x14ebf6,unitID:_0x12b7c7,_handler:_0x5729af,type:_0x5e037b}=this,_0x18a8ec=_0x3e4494(_0x318f19,_0x12b7c7,_0x5e037b,_0x14ebf6,_0x54129a,_0x5729af);return _0x18a8ec instanceof _0x40c22a[_0x51555f(0x50b)]?_0x18a8ec[_0x51555f(0x444)]():(_0x18a8ec instanceof _0x40c22a['AwaitingWithPendingState']||_0x18a8ec instanceof _0x40c22a[_0x51555f(0x464)])&&_0x18a8ec[_0x51555f(0x25f)](),_0x18a8ec;}['resend'](){var _0x3a7e56=_0x402f51;throw new Error(_0x3a7e56(0x22b));}},_0x40c22a[_0x402f51(0x2e9)]=_0x9220e3([_0x2d8de1(0x5,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x3cf)])),_0x2d8de1(0x6,_0x4f102d[_0x402f51(0x2fe)](_0x10a1d1[_0x402f51(0x53a)])),_0x2d8de1(0x7,_0x4f102d['ICommandService']),_0x2d8de1(0x8,_0x4f102d[_0x402f51(0x274)]),_0x2d8de1(0x9,_0x4f102d[_0x402f51(0x286)](_0x482bab))],_0x40c22a['OfflineState']),_0x40c22a[_0x402f51(0x3dd)]=class extends _0x59b34c{constructor(_0x1ed413,_0xa7f32e,_0x104ef8,_0x5bd5d5,_0xa8d390,_0x9a3367,_0x59728f,_0x24381f,_0x456dda,_0x17b7e8,_0x37956b,_0x2221b6,_0x159371,_0x4482c2){var _0x219a84=_0x402f51;super(_0x1ed413,_0xa7f32e,_0x104ef8,_0x5bd5d5,_0x59728f,_0x37956b,_0x2221b6,_0x456dda,_0x4482c2),_0x45876c(this,_0x219a84(0x4cb),'fetch_missing'),(this[_0x219a84(0x4c8)]=_0xa8d390,this[_0x219a84(0x554)]=_0x9a3367,this[_0x219a84(0x376)]=_0x24381f,this[_0x219a84(0x455)]=_0x17b7e8,this[_0x219a84(0x2dd)]=_0x159371,this[_0x219a84(0x4ee)]=_0x4482c2);}['onMissedChangesetFetched'](_0x51a82a){var _0x492319=_0x402f51;try{const _0x1df9d3=[..._0x51a82a,...this[_0x492319(0x554)]],_0x36974b=[this[_0x492319(0x419)]||this[_0x492319(0x4c8)]]['filter'](_0x3500a5=>!!_0x3500a5);let _0xfcaeaa,_0x4b3277;if(_0x36974b[_0x492319(0x4c4)]){const _0x4b5419=this['_transformService'][_0x492319(0x2b3)](_0x1df9d3,_0x36974b,!0x1);if(!_0x10a1d1[_0x492319(0x31e)](_0x4b5419))throw _0x4b5419[_0x492319(0x4c5)];_0xfcaeaa=_0x4b5419[_0x492319(0x2e0)],_0x4b3277=_0x4b5419['c2Prime'];}else _0xfcaeaa=_0x1df9d3,_0x4b3277=[];let _0x30d4c7=this[_0x492319(0x3d9)];_0xfcaeaa[_0x492319(0x3f2)](_0x4fec42=>{var _0x16778d=_0x492319;let _0x40a193;if(_0x30d4c7[_0x16778d(0x4c4)]){const _0xcab84e=this[_0x16778d(0x2dd)][_0x16778d(0x20b)](_0x4fec42,_0x30d4c7);if(!_0x10a1d1[_0x16778d(0x516)](_0xcab84e))throw _0xcab84e[_0x16778d(0x4c5)];_0x40a193=_0xcab84e[_0x16778d(0x2e0)],_0x30d4c7=_0xcab84e[_0x16778d(0x304)];}else _0x40a193=_0x4fec42;this[_0x16778d(0x436)](_0x40a193);}),this[_0x492319(0x4c8)]&&this[_0x492319(0x2d0)](),this[_0x492319(0x419)]&&_0x4b3277['length']&&(_0x4b3277[0x0]['baseRev']=this[_0x492319(0x39d)]());let _0x223a45;if(this[_0x492319(0x419)]&&_0x30d4c7['length']!==0x0)_0x223a45=this[_0x492319(0x376)][_0x492319(0x4fa)](_0x40c22a[_0x492319(0x2f6)],this[_0x492319(0x288)],this[_0x492319(0x38d)],_0x4b3277[0x0],_0x30d4c7,this['_handler'],void 0x0);else{if(this[_0x492319(0x419)]&&_0x30d4c7[_0x492319(0x4c4)]===0x0)_0x4b3277[0x0]['baseRev']=this[_0x492319(0x39d)](),_0x223a45=this[_0x492319(0x376)][_0x492319(0x4fa)](_0x40c22a[_0x492319(0x464)],this[_0x492319(0x288)],this[_0x492319(0x38d)],_0x4b3277[0x0],this['_handler']);else{if(_0x30d4c7[_0x492319(0x4c4)]!==0x0){const _0x1d8176=this[_0x492319(0x376)][_0x492319(0x4fa)](_0x40c22a[_0x492319(0x50b)],this['unitID'],this[_0x492319(0x38d)],_0x30d4c7,this['_handler']);_0x1d8176[_0x492319(0x444)](),_0x223a45=_0x1d8176;}else _0x223a45=this[_0x492319(0x376)][_0x492319(0x4fa)](_0x40c22a[_0x492319(0x3b0)],this[_0x492319(0x288)],this[_0x492319(0x38d)],this[_0x492319(0x280)]);}}return _0x223a45[_0x492319(0x539)](),_0x223a45;}catch(_0x29a203){return this[_0x492319(0x455)][_0x492319(0x4c5)](_0x492319(0x3b7),'failed\x20to\x20apply\x20missed\x20changesets!',_0x29a203),this[_0x492319(0x376)][_0x492319(0x4fa)](_0x40c22a['ConflictState'],this[_0x492319(0x288)],this[_0x492319(0x38d)],this[_0x492319(0x419)],this[_0x492319(0x3d9)],this['_handler'],!0x1);}}['resend'](){var _0x3488bc=_0x402f51;throw new Error(_0x3488bc(0x290));}[_0x402f51(0x3be)](_0x268b92){var _0x5b14e3=_0x402f51;return this[_0x5b14e3(0x3d9)]['push'](_0x268b92),this;}[_0x402f51(0x3f1)](_0x3ed970){var _0x30325a=_0x402f51;return this['_queuedRemoteChangesets'][_0x30325a(0x221)](_0x3ed970),this;}['onRemoteAck'](_0x1350f9){var _0x492cf7=_0x402f51;if(this[_0x492cf7(0x419)])return this[_0x492cf7(0x4c8)]=this[_0x492cf7(0x419)],this[_0x492cf7(0x419)]=null,this;throw new Error(_0x492cf7(0x222));}['onRemoteRej'](_0xa702c9){var _0xe7e384=_0x402f51;return this[_0xe7e384(0x553)](!!(_0xa702c9!=null&&_0xa702c9[_0xe7e384(0x397)]));}[_0x402f51(0x466)](){return this;}[_0x402f51(0x2b8)](){var _0x1a785f=_0x402f51;return this[_0x1a785f(0x376)]['createInstance'](_0x40c22a[_0x1a785f(0x2e9)],this[_0x1a785f(0x288)],this[_0x1a785f(0x38d)],this[_0x1a785f(0x419)],this[_0x1a785f(0x3d9)],this[_0x1a785f(0x280)]);}['toggleOnline'](){return this;}['_onConflict'](_0x4b6373){var _0x4feb88=_0x402f51;return this['_injector'][_0x4feb88(0x4fa)](_0x40c22a[_0x4feb88(0x434)],this[_0x4feb88(0x288)],this[_0x4feb88(0x38d)],this[_0x4feb88(0x419)],this[_0x4feb88(0x3d9)],this[_0x4feb88(0x280)],_0x4b6373);}},_0x40c22a[_0x402f51(0x3dd)]=_0x9220e3([_0x2d8de1(0x7,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x3cf)])),_0x2d8de1(0x8,_0x4f102d[_0x402f51(0x2fe)](_0x10a1d1[_0x402f51(0x53a)])),_0x2d8de1(0x9,_0x4f102d[_0x402f51(0x542)]),_0x2d8de1(0xa,_0x4f102d[_0x402f51(0x30a)]),_0x2d8de1(0xb,_0x4f102d[_0x402f51(0x274)]),_0x2d8de1(0xc,_0x10a1d1[_0x402f51(0x2ab)]),_0x2d8de1(0xd,_0x4f102d[_0x402f51(0x286)](_0x482bab))],_0x40c22a['FetchingMissState']);function _0x3e4494(_0x3ba045,_0x99f153,_0x30ebfa,_0x4f3e7f,_0x2b39ae,_0x1837d5){var _0x26fd14=_0x402f51;return _0x4f3e7f&&_0x2b39ae['length']?_0x3ba045[_0x26fd14(0x4fa)](_0x40c22a[_0x26fd14(0x2f6)],_0x99f153,_0x30ebfa,_0x4f3e7f,_0x2b39ae,_0x1837d5,void 0x0):_0x4f3e7f?_0x3ba045[_0x26fd14(0x4fa)](_0x40c22a[_0x26fd14(0x464)],_0x99f153,_0x30ebfa,_0x4f3e7f,_0x1837d5):_0x2b39ae[_0x26fd14(0x4c4)]?_0x3ba045[_0x26fd14(0x4fa)](_0x40c22a['PendingState'],_0x99f153,_0x30ebfa,_0x2b39ae,_0x1837d5):_0x3ba045[_0x26fd14(0x4fa)](_0x40c22a['SyncedState'],_0x99f153,_0x30ebfa,_0x1837d5);}var _0xf8c26c=Object[_0x402f51(0x47a)],_0x2d0a94=(_0x36b926,_0x3090e7,_0x131c7b,_0x37e364)=>{var _0x57a21b=_0x402f51;for(var _0x31aa46=_0x37e364>0x1?void 0x0:_0x37e364?_0xf8c26c(_0x3090e7,_0x131c7b):_0x3090e7,_0x1bf020=_0x36b926[_0x57a21b(0x4c4)]-0x1,_0x5aa637;_0x1bf020>=0x0;_0x1bf020--)(_0x5aa637=_0x36b926[_0x1bf020])&&(_0x31aa46=_0x5aa637(_0x31aa46)||_0x31aa46);return _0x31aa46;},_0x54ed97=(_0x7a2592,_0x18c13d)=>(_0x4ef3b8,_0x525e38)=>_0x18c13d(_0x4ef3b8,_0x525e38,_0x7a2592);_0x40c22a[_0x402f51(0x4f5)]=class extends _0x4f102d['RxDisposable']{constructor(_0x9ceccd,_0x31c152,_0x587043,_0x516684,_0x7c729a,_0x158cb2,_0x2b835e,_0x4adc92,_0x17bc34,_0x39885a,_0x2d9f7f,_0x38b7d4,_0x3f7be7){var _0x597f01=_0x402f51;super(),_0x45876c(this,_0x597f01(0x48f),new _0x4acdaa[(_0x597f01(0x341))](null)),_0x45876c(this,_0x597f01(0x4d8),this[_0x597f01(0x48f)][_0x597f01(0x404)]()),_0x45876c(this,_0x597f01(0x1fe)),_0x45876c(this,_0x597f01(0x2a5),!0x1),_0x45876c(this,_0x597f01(0x439),''),_0x45876c(this,_0x597f01(0x36a),0x0),_0x45876c(this,'status$',this[_0x597f01(0x4d8)][_0x597f01(0x48d)](_0x4acdaa[_0x597f01(0x2bb)](_0x1d0bb2=>_0x1d0bb2?_0x1d0bb2['status']:_0x39dc6b['OFFLINE']),_0x4acdaa['shareReplay'](0x1))),_0x45876c(this,'_transitionLocked',!0x1),_0x45876c(this,_0x597f01(0x3b1),[]),(this[_0x597f01(0x288)]=_0x9ceccd,this[_0x597f01(0x32f)]=_0x31c152,this['_type']=_0x587043,this[_0x597f01(0x376)]=_0x516684,this[_0x597f01(0x379)]=_0x7c729a,this[_0x597f01(0x345)]=_0x158cb2,this['_revisionService']=_0x2b835e,this[_0x597f01(0x2d6)]=_0x4adc92,this[_0x597f01(0x455)]=_0x17bc34,this[_0x597f01(0x49e)]=_0x39885a,this[_0x597f01(0x559)]=_0x2d9f7f,this[_0x597f01(0x4b3)]=_0x38b7d4,this[_0x597f01(0x25e)]=_0x3f7be7);}get[_0x402f51(0x4d7)](){var _0x466436=_0x402f51;return this[_0x466436(0x1fe)];}async['init'](){var _0x34d6ee=_0x402f51;if(this[_0x34d6ee(0x4d7)])throw new Error(_0x34d6ee(0x543));await this['_init']();}[_0x402f51(0x562)](){var _0x42583a=_0x402f51;return this['_collaborationPaused']=!0x0,_0x4f102d[_0x42583a(0x25c)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0xc7e367){var _0x5a1e95=_0x402f51;this[_0x5a1e95(0x33e)](_0xc7e367);}[_0x402f51(0x1f7)](_0x4fc5f1){var _0x53277e=_0x402f51;this[_0x53277e(0x1fe)]=_0x4fc5f1,this[_0x53277e(0x48f)][_0x53277e(0x524)](_0x4fc5f1);}async['_init'](){var _0x66deaa=_0x402f51,_0x5aef3b;this[_0x66deaa(0x1f7)](await this[_0x66deaa(0x240)]()),this['_singleActiveUnitService']&&((_0x5aef3b=this[_0x66deaa(0x4b3)])==null||_0x5aef3b[_0x66deaa(0x424)](this[_0x66deaa(0x288)]),this[_0x66deaa(0x33d)](this[_0x66deaa(0x4b3)][_0x66deaa(0x52c)](this[_0x66deaa(0x288)])[_0x66deaa(0x22c)](_0x10b252=>{var _0x1ec326=_0x66deaa;this[_0x1ec326(0x455)][_0x1ec326(0x25d)]('[CollaborationEntity]',_0x1ec326(0x39e),_0x10b252),_0x10b252===_0x4f2036[_0x1ec326(0x2c4)]?(this[_0x1ec326(0x2d6)][_0x1ec326(0x4ea)]({'id':_0x49330b[_0x1ec326(0x2da)]}),this[_0x1ec326(0x559)]['updatePermissionPoint'](new _0x2bd01e[(_0x1ec326(0x4b8))](this[_0x1ec326(0x288)])['id'],!0x1),this[_0x1ec326(0x559)][_0x1ec326(0x342)](!0x1)):(this[_0x1ec326(0x559)][_0x1ec326(0x2a0)](new _0x2bd01e['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x1ec326(0x559)][_0x1ec326(0x342)](!0x0));})));let _0x77d76f=!0x1;return this[_0x66deaa(0x33d)](this['session'][_0x66deaa(0x3d0)][_0x66deaa(0x22c)](_0x276450=>{var _0x1066ae=_0x66deaa;_0x276450===_0x52113d[_0x1066ae(0x3a9)]?this[_0x1066ae(0x3a7)](_0x77d76f):_0x276450===_0x52113d[_0x1066ae(0x2a9)]&&(_0x77d76f=!0x0,this[_0x1066ae(0x501)]());})),this[_0x66deaa(0x33d)](this[_0x66deaa(0x32f)][_0x66deaa(0x453)][_0x66deaa(0x22c)](_0x430d13=>{var _0x21461c=_0x66deaa;try{switch(_0x430d13[_0x21461c(0x22f)]){case _0x10a1d1['CollaborationEvent'][_0x21461c(0x4f6)]:{this['_onRemoteChangeset'](_0x10a1d1[_0x21461c(0x42c)](_0x430d13[_0x21461c(0x4d4)]));break;}case _0x10a1d1[_0x21461c(0x3a8)]['CHANGESET_ACK']:{this[_0x21461c(0x560)](_0x430d13['data']);break;}case _0x10a1d1['CollaborationEvent'][_0x21461c(0x2f0)]:{this[_0x21461c(0x368)]();break;}case _0x10a1d1[_0x21461c(0x3a8)]['CHANGESET_SHOULD_RETRY']:{this[_0x21461c(0x42d)](_0x430d13[_0x21461c(0x4d4)]);break;}case _0x10a1d1[_0x21461c(0x3a8)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x21461c(0x28f)](_0x430d13[_0x21461c(0x4d4)]['changesets']['map'](_0x5ab514=>_0x10a1d1[_0x21461c(0x42c)](_0x5ab514)));break;}case _0x10a1d1['CollaborationEvent'][_0x21461c(0x1ee)]:{this[_0x21461c(0x368)]({'isPermissionRej':!0x0});break;}case _0x10a1d1[_0x21461c(0x3a8)][_0x21461c(0x28c)]:break;}}catch(_0x2a668f){throw console[_0x21461c(0x4c5)]('Error\x20on\x20receiving\x20event',_0x2a668f),_0x2a668f;}})),this[_0x66deaa(0x1fe)];}[_0x402f51(0x333)](){var _0x3012c2=_0x402f51;this[_0x3012c2(0x400)]=!0x1;}[_0x402f51(0x293)](){var _0x43714f=_0x402f51;if(this[_0x43714f(0x400)])throw new Error(_0x43714f(0x1ed));this[_0x43714f(0x400)]=!0x0;}[_0x402f51(0x33e)](_0x2679aa){var _0x1a371e=_0x402f51;this[_0x1a371e(0x293)](),this[_0x1a371e(0x1f7)](this[_0x1a371e(0x1fe)]['appendMutation'](_0x2679aa)),this[_0x1a371e(0x333)]();}[_0x402f51(0x35d)](_0x53e649){var _0x3bd838=_0x402f51;if(!(_0x53e649['revision']<=this[_0x3bd838(0x2a1)][_0x3bd838(0x308)](this[_0x3bd838(0x288)]))){if(this[_0x3bd838(0x2a5)]){this[_0x3bd838(0x3b1)][_0x3bd838(0x221)](_0x53e649);return;}this['_applyRemoteChangeset'](_0x53e649);}}[_0x402f51(0x48e)](){var _0x3b5ea1=_0x402f51;this['_remoteChangesetQueue'][_0x3b5ea1(0x3f2)](_0x2b683d=>this[_0x3b5ea1(0x531)](_0x2b683d)),this['_remoteChangesetQueue']=[];}[_0x402f51(0x531)](_0x62c2ff){var _0x4071ec=_0x402f51;const _0x39450d=this[_0x4071ec(0x379)][_0x4071ec(0x2ff)][_0x4071ec(0x259)](this[_0x4071ec(0x379)][_0x4071ec(0x2ff)][_0x4071ec(0x3f6)]()[_0x4071ec(0x46e)])(_0x62c2ff[_0x4071ec(0x2ac)],null)||_0x62c2ff[_0x4071ec(0x2ac)],_0x303b57={..._0x62c2ff,'mutations':_0x39450d};this[_0x4071ec(0x293)](),this[_0x4071ec(0x1f7)](this[_0x4071ec(0x1fe)][_0x4071ec(0x3f1)](_0x303b57)),this['_unlockTransition']();}[_0x402f51(0x560)](_0xfe620b){var _0x3a7232=_0x402f51;this[_0x3a7232(0x293)](),this['_updateState'](this[_0x3a7232(0x1fe)][_0x3a7232(0x2d8)](_0xfe620b)),this[_0x3a7232(0x333)]();}[_0x402f51(0x368)](_0x4dfa50){var _0x4451fc=_0x402f51;this[_0x4451fc(0x293)](),this['_updateState'](this[_0x4451fc(0x1fe)]['onRemoteRej'](_0x4dfa50)),this[_0x4451fc(0x333)]();}[_0x402f51(0x42d)](_0x27b24b){var _0x2bc746=_0x402f51;this[_0x2bc746(0x293)](),this[_0x2bc746(0x1f7)](this['_state'][_0x2bc746(0x466)](_0x27b24b)),this[_0x2bc746(0x333)]();}['_onFetchMissResult'](_0x28cbe1){var _0x2e182c=_0x402f51;if(!(this[_0x2e182c(0x1fe)]instanceof _0x40c22a[_0x2e182c(0x3dd)]))throw new TypeError(_0x2e182c(0x417));const _0x153774=_0x28cbe1[_0x2e182c(0x2bb)](_0x44453e=>{var _0x2428f6=_0x2e182c;const _0x392c57=this[_0x2428f6(0x379)][_0x2428f6(0x2ff)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x2428f6(0x3f6)]()['COMPRESS_MUTATION_APPLY'])(_0x44453e[_0x2428f6(0x2ac)],null)||_0x44453e['mutations'];return{..._0x44453e,'mutations':_0x392c57};});this[_0x2e182c(0x293)](),this[_0x2e182c(0x1f7)](this[_0x2e182c(0x1fe)]['onMissedChangesetFetched'](_0x153774)),this[_0x2e182c(0x333)]();}[_0x402f51(0x501)](){var _0x172765=_0x402f51;this['_lockTransition'](),this['_updateState'](this['_state'][_0x172765(0x2b8)]()),this[_0x172765(0x333)]();}[_0x402f51(0x3a7)](_0xa92413=!0x1){var _0x5c0e23=_0x402f51;this['_lockTransition'](),this[_0x5c0e23(0x1f7)](this[_0x5c0e23(0x1fe)][_0x5c0e23(0x46d)]()),this['_unlockTransition']();const _0x338420=this[_0x5c0e23(0x1fe)];_0xa92413&&_0x338420 instanceof _0x40c22a['SyncedState']&&(this[_0x5c0e23(0x293)](),this[_0x5c0e23(0x1f7)](_0x338420[_0x5c0e23(0x2d5)]()),this[_0x5c0e23(0x333)]());}async[_0x402f51(0x240)](){return new Promise(_0x1be9ed=>{var _0x4533cb=_0x2952;this[_0x4533cb(0x32f)][_0x4533cb(0x3d0)][_0x4533cb(0x48d)](_0x4acdaa[_0x4533cb(0x525)](0x1))['subscribe'](async _0x37b712=>{var _0x1a2cce=_0x4533cb;_0x1be9ed(await this[_0x1a2cce(0x31b)](_0x37b712===_0x52113d[_0x1a2cce(0x3a9)]));});});}[_0x402f51(0x545)](){var _0x32a5fd=_0x402f51;const _0x291fac=this[_0x32a5fd(0x288)];return{'onStateChange':(_0x570935,_0x1019b4)=>{var _0x2e771f=_0x32a5fd;if(_0x570935!==this[_0x2e771f(0x1fe)])throw new Error(_0x2e771f(0x541)+_0x570935[_0x2e771f(0x4cb)]+_0x2e771f(0x36c)+_0x1019b4[_0x2e771f(0x4cb)]+_0x2e771f(0x47b)+this[_0x2e771f(0x1fe)][_0x2e771f(0x4cb)]);this[_0x2e771f(0x1f7)](_0x1019b4);},'onSendChangeset':_0x2eda59=>{var _0x53f488=_0x32a5fd;_0x2eda59['sid']||(_0x2eda59['sid']=this['_changesetSessionId'],_0x2eda59[_0x53f488(0x45b)]=++this[_0x53f488(0x36a)]);const _0x3b1210={'eventID':_0x10a1d1['CollaborationEvent'][_0x53f488(0x1fd)],'data':{'unitID':_0x2eda59[_0x53f488(0x288)],'unitType':this[_0x53f488(0x213)],'changeset':_0x2eda59,'memberID':this[_0x53f488(0x32f)][_0x53f488(0x2a6)]()}};this[_0x53f488(0x32f)][_0x53f488(0x4b6)](_0x3b1210,this[_0x53f488(0x288)]);},'onMissingChangesets':({from:_0x4204e8,to:_0x19694e})=>{var _0x542ff7=_0x32a5fd;this['_logService'][_0x542ff7(0x25d)](_0x542ff7(0x275),'fetching\x20missing\x20changesets\x20from\x20'+_0x4204e8+_0x542ff7(0x3d1)+_0x19694e);const _0x3edaf7={'eventID':_0x10a1d1[_0x542ff7(0x3a8)][_0x542ff7(0x508)],'data':{'unitID':_0x291fac,'unitType':this['_type'],'from':_0x4204e8,'to':_0x19694e}};this[_0x542ff7(0x32f)][_0x542ff7(0x4b6)](_0x3edaf7,this[_0x542ff7(0x288)]);}};}async[_0x402f51(0x31b)](_0x19591f){var _0x4e2458=_0x402f51,_0x595f16,_0x5ec3b4,_0x4ea4ea;const _0x322388=await((_0x595f16=this[_0x4e2458(0x25e)])==null?void 0x0:_0x595f16[_0x4e2458(0x546)](this['unitID'])),_0x21c60f=(_0x5ec3b4=_0x322388==null?void 0x0:_0x322388['mutations'])!=null?_0x5ec3b4:[],_0x71a844=(_0x4ea4ea=_0x322388==null?void 0x0:_0x322388[_0x4e2458(0x370)])!=null?_0x4ea4ea:null,_0x4070d9=!!(_0x71a844!=null&&_0x71a844[_0x4e2458(0x3de)])&&!!(_0x71a844!=null&&_0x71a844[_0x4e2458(0x45b)]);this[_0x4e2458(0x439)]=_0x4070d9?_0x71a844[_0x4e2458(0x3de)]:_0x10a1d1[_0x4e2458(0x540)](),this[_0x4e2458(0x36a)]=_0x4070d9?_0x71a844[_0x4e2458(0x45b)]:0x0;const _0x2de913=this[_0x4e2458(0x288)];try{this[_0x4e2458(0x232)](_0x71a844,_0x21c60f);}catch(_0xd73e6f){this[_0x4e2458(0x455)]['error'](_0xd73e6f);}const _0x2e551b=this[_0x4e2458(0x545)]();if(_0x19591f){const _0x2cc21d=_0x3e4494(this[_0x4e2458(0x376)],_0x2de913,this[_0x4e2458(0x213)],_0x71a844,_0x21c60f,_0x2e551b);return _0x2cc21d instanceof _0x40c22a[_0x4e2458(0x50b)]?_0x2cc21d[_0x4e2458(0x444)]():(_0x2cc21d instanceof _0x40c22a[_0x4e2458(0x2f6)]||_0x2cc21d instanceof _0x40c22a[_0x4e2458(0x464)])&&_0x2cc21d[_0x4e2458(0x25f)](),_0x2cc21d;}return this[_0x4e2458(0x376)][_0x4e2458(0x4fa)](_0x40c22a[_0x4e2458(0x2e9)],_0x2de913,this['_type'],_0x71a844,_0x21c60f,_0x2e551b);}[_0x402f51(0x232)](_0x46d3ae,_0x23d72e){var _0x456559=_0x402f51,_0x38566f,_0x44439c;const _0x4eb691=this[_0x456559(0x379)][_0x456559(0x2ff)]['fetchThroughInterceptors'](this[_0x456559(0x379)][_0x456559(0x2ff)][_0x456559(0x3f6)]()[_0x456559(0x46e)]);(_0x38566f=_0x4eb691((_0x46d3ae==null?void 0x0:_0x46d3ae[_0x456559(0x2ac)])||[],null))==null||_0x38566f[_0x456559(0x3f2)](_0x2989b8=>this[_0x456559(0x49e)][_0x456559(0x4c7)](_0x2989b8['id'],_0x2989b8[_0x456559(0x2e8)])),(_0x44439c=_0x4eb691(_0x23d72e||[],null))==null||_0x44439c[_0x456559(0x3f2)](_0xe9951b=>this[_0x456559(0x49e)]['executeCommand'](_0xe9951b['id'],_0xe9951b[_0x456559(0x2e8)]));}},_0x40c22a['CollaborationEntity']=_0x2d0a94([_0x54ed97(0x3,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x3cf)])),_0x54ed97(0x4,_0x4f102d[_0x402f51(0x2fe)](_0x10a1d1['CompressMutationService'])),_0x54ed97(0x5,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x405)])),_0x54ed97(0x6,_0x4f102d[_0x402f51(0x2fe)](_0x10a1d1[_0x402f51(0x53a)])),_0x54ed97(0x7,_0x4f102d['Inject'](_0x264966)),_0x54ed97(0x8,_0x4f102d[_0x402f51(0x542)]),_0x54ed97(0x9,_0x4f102d['ICommandService']),_0x54ed97(0xa,_0x4f102d['IPermissionService']),_0x54ed97(0xb,_0x4f102d[_0x402f51(0x286)](_0x5425d1)),_0x54ed97(0xc,_0x4f102d['Optional'](_0x482bab))],_0x40c22a[_0x402f51(0x4f5)]),_0x40c22a['DocCollaborationEntity']=class extends _0x40c22a[_0x402f51(0x4f5)]{constructor(_0x20a6c5,_0xe42f01,_0x25e44b,_0x1e2515,_0x14ab83,_0x42a4c6,_0x1f0724,_0x4206fa,_0x198622,_0x33d0f1,_0x3cf7fc,_0x35393d,_0xfa7c77){var _0x13b2a7=_0x402f51;super(_0x20a6c5,_0x25e44b,_0xe42f01,_0x1e2515,_0x14ab83,_0x42a4c6,_0x1f0724,_0x4206fa,_0x198622,_0x33d0f1,_0x3cf7fc,_0x35393d,_0xfa7c77),_0x45876c(this,_0x13b2a7(0x4fe),null),(this[_0x13b2a7(0x288)]=_0x20a6c5,this['type']=_0xe42f01);}[_0x402f51(0x217)](_0x57fcae){this['_handlerCallback']=_0x57fcae;}[_0x402f51(0x24e)](){var _0xae1ede=_0x402f51;this[_0xae1ede(0x4fe)]=null,super[_0xae1ede(0x24e)]();}[_0x402f51(0x545)](){var _0x19dc20=_0x402f51;const _0x24c2e2=super[_0x19dc20(0x545)]();return _0x24c2e2[_0x19dc20(0x492)]=_0x578c29=>{var _0x478aff=_0x19dc20,_0x1725bf,_0x47ef5e;return(_0x47ef5e=(_0x1725bf=this['_handlerCallback'])==null?void 0x0:_0x1725bf[_0x478aff(0x492)])==null?void 0x0:_0x47ef5e[_0x478aff(0x4b0)](_0x1725bf,_0x578c29);},_0x24c2e2[_0x19dc20(0x262)]=_0x4ebc43=>{var _0x47339c=_0x19dc20,_0x55acce,_0x2df352;return(_0x2df352=(_0x55acce=this[_0x47339c(0x4fe)])==null?void 0x0:_0x55acce[_0x47339c(0x262)])==null?void 0x0:_0x2df352[_0x47339c(0x4b0)](_0x55acce,_0x4ebc43);},_0x24c2e2[_0x19dc20(0x358)]=_0x1b2874=>{var _0x3f1020=_0x19dc20,_0xa4760e,_0x51090c;return(_0x51090c=(_0xa4760e=this['_handlerCallback'])==null?void 0x0:_0xa4760e['onTransformSelections'])==null?void 0x0:_0x51090c[_0x3f1020(0x4b0)](_0xa4760e,_0x1b2874);},_0x24c2e2['onSyncEditingCollabCursor']=_0x2128e8=>{var _0x21ab68=_0x19dc20,_0x469c48,_0x54cd96;return(_0x54cd96=(_0x469c48=this[_0x21ab68(0x4fe)])==null?void 0x0:_0x469c48['onSyncEditingCollabCursor'])==null?void 0x0:_0x54cd96[_0x21ab68(0x4b0)](_0x469c48,_0x2128e8);},_0x24c2e2[_0x19dc20(0x31f)]=_0x50a5b2=>{var _0x3146d3=_0x19dc20,_0x64f46f,_0x57e972,_0x34c50f;if(!((_0x64f46f=this['_handlerCallback'])!=null&&_0x64f46f[_0x3146d3(0x31f)]))throw new Error(_0x3146d3(0x4bd));return(_0x34c50f=(_0x57e972=this[_0x3146d3(0x4fe)])==null?void 0x0:_0x57e972[_0x3146d3(0x31f)])==null?void 0x0:_0x34c50f[_0x3146d3(0x4b0)](_0x57e972,_0x50a5b2);},_0x24c2e2[_0x19dc20(0x2c1)]=_0x44df05=>{var _0x427adc=_0x19dc20,_0x4b4495,_0x5bc482,_0xa64dec;if(!((_0x4b4495=this[_0x427adc(0x4fe)])!=null&&_0x4b4495[_0x427adc(0x2c1)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xa64dec=(_0x5bc482=this['_handlerCallback'])==null?void 0x0:_0x5bc482[_0x427adc(0x2c1)])==null?void 0x0:_0xa64dec[_0x427adc(0x4b0)](_0x5bc482,_0x44df05);},_0x24c2e2;}async[_0x402f51(0x4ca)](){var _0x4741a8=_0x402f51;const _0x1bbe50=await super[_0x4741a8(0x4ca)]();return this[_0x4741a8(0x33d)](this[_0x4741a8(0x49e)][_0x4741a8(0x4a2)]((_0x2b72a7,_0x5f05c9)=>{var _0x5176ee=_0x4741a8;if(_0x2b72a7['type']!==_0x4f102d[_0x5176ee(0x246)][_0x5176ee(0x200)]||_0x5f05c9!=null&&_0x5f05c9[_0x5176ee(0x385)]||_0x5f05c9!=null&&_0x5f05c9[_0x5176ee(0x321)]||_0x2b72a7['id']===_0x401838[_0x5176ee(0x325)]['id'])return;const _0x776622=_0x2b72a7[_0x5176ee(0x2e8)];if((_0x776622==null?void 0x0:_0x776622[_0x5176ee(0x203)])!==this[_0x5176ee(0x288)])return;const _0x514c5e=_0x2b72a7,_0x21d5c5=this[_0x5176ee(0x379)][_0x5176ee(0x2ff)][_0x5176ee(0x259)](this['_compressMutationService'][_0x5176ee(0x2ff)][_0x5176ee(0x3f6)]()[_0x5176ee(0x323)])([_0x514c5e],null)||[_0x514c5e];this['_onLocalMutation'](_0x21d5c5[0x0]);})),_0x1bbe50;}},_0x40c22a[_0x402f51(0x54e)]=_0x2d0a94([_0x54ed97(0x3,_0x4f102d['Inject'](_0x4f102d[_0x402f51(0x3cf)])),_0x54ed97(0x4,_0x4f102d[_0x402f51(0x2fe)](_0x10a1d1['CompressMutationService'])),_0x54ed97(0x5,_0x4f102d['Inject'](_0x4f102d[_0x402f51(0x405)])),_0x54ed97(0x6,_0x4f102d['Inject'](_0x10a1d1[_0x402f51(0x53a)])),_0x54ed97(0x7,_0x4f102d[_0x402f51(0x2fe)](_0x264966)),_0x54ed97(0x8,_0x4f102d['ILogService']),_0x54ed97(0x9,_0x4f102d['ICommandService']),_0x54ed97(0xa,_0x4f102d[_0x402f51(0x511)]),_0x54ed97(0xb,_0x4f102d[_0x402f51(0x286)](_0x5425d1)),_0x54ed97(0xc,_0x4f102d[_0x402f51(0x286)](_0x482bab))],_0x40c22a['DocCollaborationEntity']),_0x40c22a[_0x402f51(0x4ed)]=class extends _0x40c22a[_0x402f51(0x4f5)]{constructor(_0x3303b0,_0x5a9130,_0x4abce2,_0x12372b,_0x4c1ddc,_0x3de757,_0x2d40a9,_0x295e32,_0x175778,_0x590865,_0x2d01f9,_0x49c752,_0x5e1534,_0x35fb49){var _0x43077c=_0x402f51;super(_0x3303b0,_0x4abce2,_0x5a9130,_0x12372b,_0x4c1ddc,_0x3de757,_0x2d40a9,_0x175778,_0x590865,_0x2d01f9,_0x49c752,_0x5e1534,_0x35fb49),this[_0x43077c(0x288)]=_0x3303b0,this[_0x43077c(0x38d)]=_0x5a9130,this[_0x43077c(0x388)]=_0x295e32;}[_0x402f51(0x545)](){var _0x2494c5=_0x402f51;const _0x1a2e21=super[_0x2494c5(0x545)]();return _0x1a2e21[_0x2494c5(0x358)]=_0x3ea31f=>this[_0x2494c5(0x388)][_0x2494c5(0x317)](_0x3ea31f),_0x1a2e21;}async[_0x402f51(0x4ca)](){var _0x24adbf=_0x402f51;const _0x6e252=await super[_0x24adbf(0x4ca)]();return this[_0x24adbf(0x33d)](this[_0x24adbf(0x49e)][_0x24adbf(0x4a2)]((_0x3a0232,_0x19fd36)=>{var _0x571b33=_0x24adbf;if(_0x3a0232[_0x571b33(0x38d)]!==_0x4f102d[_0x571b33(0x246)][_0x571b33(0x200)]||_0x19fd36!=null&&_0x19fd36[_0x571b33(0x385)]||_0x19fd36!=null&&_0x19fd36['onlyLocal'])return;const _0x2fd76d=_0x3a0232[_0x571b33(0x2e8)];if((_0x2fd76d==null?void 0x0:_0x2fd76d[_0x571b33(0x203)])!==this[_0x571b33(0x288)])return;const _0x536800=_0x3a0232,_0x2ffccd=this[_0x571b33(0x379)][_0x571b33(0x2ff)][_0x571b33(0x259)](this[_0x571b33(0x379)][_0x571b33(0x2ff)][_0x571b33(0x3f6)]()['COMPRESS_MUTATION_SEND'])([_0x536800],null)||[_0x536800];this[_0x571b33(0x33e)](_0x2ffccd[0x0]);})),_0x6e252;}},_0x40c22a[_0x402f51(0x4ed)]=_0x2d0a94([_0x54ed97(0x3,_0x4f102d['Inject'](_0x4f102d['Injector'])),_0x54ed97(0x4,_0x4f102d['Inject'](_0x10a1d1[_0x402f51(0x399)])),_0x54ed97(0x5,_0x4f102d['Inject'](_0x4f102d['LocaleService'])),_0x54ed97(0x6,_0x4f102d[_0x402f51(0x2fe)](_0x10a1d1[_0x402f51(0x53a)])),_0x54ed97(0x7,_0x4f102d[_0x402f51(0x2fe)](_0x40c22a[_0x402f51(0x37d)])),_0x54ed97(0x8,_0x4f102d[_0x402f51(0x2fe)](_0x264966)),_0x54ed97(0x9,_0x4f102d['ILogService']),_0x54ed97(0xa,_0x4f102d['ICommandService']),_0x54ed97(0xb,_0x4f102d['IPermissionService']),_0x54ed97(0xc,_0x4f102d[_0x402f51(0x286)](_0x5425d1)),_0x54ed97(0xd,_0x4f102d['Optional'](_0x482bab))],_0x40c22a[_0x402f51(0x4ed)]);var _0x123a04=Object[_0x402f51(0x47a)],_0x244a22=(_0x11db3a,_0x4f66ef,_0x13602f,_0x479da8)=>{var _0x70e9a1=_0x402f51;for(var _0x4e0b51=_0x479da8>0x1?void 0x0:_0x479da8?_0x123a04(_0x4f66ef,_0x13602f):_0x4f66ef,_0x4acba0=_0x11db3a[_0x70e9a1(0x4c4)]-0x1,_0x525705;_0x4acba0>=0x0;_0x4acba0--)(_0x525705=_0x11db3a[_0x4acba0])&&(_0x4e0b51=_0x525705(_0x4e0b51)||_0x4e0b51);return _0x4e0b51;},_0x4447cb=(_0x424c22,_0x35e266)=>(_0x531658,_0x4d8ad6)=>_0x35e266(_0x531658,_0x4d8ad6,_0x424c22);_0x40c22a[_0x402f51(0x28a)]=class extends _0x4f102d['RxDisposable']{constructor(_0x430b7a,_0x2f9769,_0x48b157,_0x467475){var _0x1ca2ad=_0x402f51,_0x2f7c8e;super(),_0x45876c(this,_0x1ca2ad(0x237),new Map()),_0x45876c(this,_0x1ca2ad(0x22a),new _0x4acdaa[(_0x1ca2ad(0x378))]()),_0x45876c(this,_0x1ca2ad(0x4aa),this[_0x1ca2ad(0x22a)][_0x1ca2ad(0x404)]()),(this['_injector']=_0x430b7a,this[_0x1ca2ad(0x2e7)]=_0x2f9769,this['_configService']=_0x48b157,this[_0x1ca2ad(0x564)]=_0x467475,((_0x2f7c8e=this[_0x1ca2ad(0x421)][_0x1ca2ad(0x22e)](_0x17cb06))==null?void 0x0:_0x2f7c8e[_0x1ca2ad(0x28d)])!==!0x1&&this['_init']());}['dispose'](){var _0x419cf8=_0x402f51;super[_0x419cf8(0x24e)](),this['_entities']['forEach'](_0x46823b=>_0x46823b[_0x419cf8(0x24e)]()),this[_0x419cf8(0x237)][_0x419cf8(0x471)]();}[_0x402f51(0x1f8)](_0x1bb852){var _0x519692=_0x402f51,_0x347d59;return(_0x347d59=this[_0x519692(0x237)][_0x519692(0x4f1)](_0x1bb852))!=null?_0x347d59:null;}['getCollabEntity$'](_0x48c6fe){var _0x506b8f=_0x402f51;const _0x163da0=this[_0x506b8f(0x1f8)](_0x48c6fe);return _0x163da0?_0x4acdaa['of'](_0x163da0):this[_0x506b8f(0x22a)]['pipe'](_0x16b425[_0x506b8f(0x40c)](_0x568c91=>_0x568c91[_0x506b8f(0x288)]===_0x48c6fe));}['readyForCollab'](_0x425629){var _0x27bfe9=_0x402f51;return _0x4acdaa['firstValueFrom'](this[_0x27bfe9(0x360)](_0x425629)[_0x27bfe9(0x48d)](_0x16b425[_0x27bfe9(0x2bb)](()=>{})));}['_init'](){var _0x219602=_0x402f51;this[_0x219602(0x564)][_0x219602(0x2ce)](_0x4f102d['UniverInstanceType'][_0x219602(0x355)])[_0x219602(0x48d)](_0x4acdaa[_0x219602(0x2b6)](this[_0x219602(0x448)]),_0x16b425[_0x219602(0x3bf)](0x10))['subscribe'](async _0x4cb924=>{var _0x56c2ea=_0x219602;const _0xe04702=_0x4cb924[_0x56c2ea(0x299)](),_0x5ba961=await this[_0x56c2ea(0x535)](_0xe04702,_0x30184d[_0x56c2ea(0x355)]);this[_0x56c2ea(0x237)]['set'](_0xe04702,_0x5ba961);}),this[_0x219602(0x564)][_0x219602(0x2ce)](_0x4f102d[_0x219602(0x4d2)]['UNIVER_DOC'])[_0x219602(0x48d)](_0x4acdaa['takeUntil'](this[_0x219602(0x448)]),_0x16b425['delay'](0x10))[_0x219602(0x48d)](_0x16b425[_0x219602(0x40c)](_0x346e72=>!_0x346e72[_0x219602(0x299)]()[_0x219602(0x1fa)]('__')))[_0x219602(0x22c)](async _0x4ba467=>{var _0x5ccc8e=_0x219602;const _0x1bbf3d=_0x4ba467[_0x5ccc8e(0x299)](),_0x309981=await this[_0x5ccc8e(0x535)](_0x1bbf3d,_0x30184d[_0x5ccc8e(0x4e3)]);this[_0x5ccc8e(0x237)][_0x5ccc8e(0x30c)](_0x1bbf3d,_0x309981);}),_0x4acdaa[_0x219602(0x44d)](this[_0x219602(0x564)]['getTypeOfUnitDisposed$'](_0x4f102d[_0x219602(0x4d2)][_0x219602(0x355)]),this[_0x219602(0x564)]['getTypeOfUnitDisposed$'](_0x4f102d[_0x219602(0x4d2)][_0x219602(0x4e3)]))['pipe'](_0x4acdaa['takeUntil'](this[_0x219602(0x448)]))[_0x219602(0x22c)](_0x273bf4=>{var _0x17e189=_0x219602;const _0x4c71ed=_0x273bf4[_0x17e189(0x299)](),_0x52fe45=this[_0x17e189(0x237)]['get'](_0x4c71ed);_0x52fe45&&(_0x52fe45[_0x17e189(0x24e)](),this[_0x17e189(0x237)][_0x17e189(0x311)](_0x4c71ed));});}async[_0x402f51(0x535)](_0x34c467,_0x17bdc1){var _0x5ced22=_0x402f51;const _0x178ddf=await this[_0x5ced22(0x2e7)]['requireSession'](_0x34c467),_0x2389fc=this[_0x5ced22(0x376)][_0x5ced22(0x4fa)](this[_0x5ced22(0x206)](_0x17bdc1),_0x34c467,_0x17bdc1,_0x178ddf);return await _0x2389fc['init'](),this[_0x5ced22(0x22a)][_0x5ced22(0x524)](_0x2389fc),_0x2389fc;}[_0x402f51(0x206)](_0x3098e9){var _0x252157=_0x402f51;switch(_0x3098e9){case _0x30184d[_0x252157(0x4e3)]:return _0x40c22a[_0x252157(0x54e)];case _0x30184d[_0x252157(0x355)]:return _0x40c22a[_0x252157(0x4ed)];default:throw new Error(_0x252157(0x31d)+_0x3098e9);}}},_0x40c22a[_0x402f51(0x28a)]=_0x244a22([_0x4447cb(0x0,_0x4f102d['Inject'](_0x4f102d['Injector'])),_0x4447cb(0x1,_0x4f102d[_0x402f51(0x2fe)](_0x40c22a[_0x402f51(0x250)])),_0x4447cb(0x2,_0x4f102d['IConfigService']),_0x4447cb(0x3,_0x4f102d['IUniverInstanceService'])],_0x40c22a[_0x402f51(0x28a)]);var _0x4fb25f=Object['getOwnPropertyDescriptor'],_0x26ca9c=(_0x12a730,_0x3af6bc,_0x291136,_0x21ae0b)=>{var _0x25ae65=_0x402f51;for(var _0x43b6d8=_0x21ae0b>0x1?void 0x0:_0x21ae0b?_0x4fb25f(_0x3af6bc,_0x291136):_0x3af6bc,_0x24905e=_0x12a730[_0x25ae65(0x4c4)]-0x1,_0x35c0c;_0x24905e>=0x0;_0x24905e--)(_0x35c0c=_0x12a730[_0x24905e])&&(_0x43b6d8=_0x35c0c(_0x43b6d8)||_0x43b6d8);return _0x43b6d8;},_0x315212=(_0x332103,_0x1d4ff1)=>(_0x274a31,_0x134dee)=>_0x1d4ff1(_0x274a31,_0x134dee,_0x332103);const _0x43470b=_0x402f51(0x488),_0x285285=_0x402f51(0x225);let _0x2524e5=class extends _0x4f102d[_0x402f51(0x26f)]{constructor(_0x4d8400,_0x2792be){var _0x38aa53=_0x402f51;super(),this[_0x38aa53(0x564)]=_0x4d8400,this['_configService']=_0x2792be,this['_init']();}['_init'](){var _0x2df864=_0x402f51;this[_0x2df864(0x33d)](this[_0x2df864(0x564)][_0x2df864(0x389)][_0x2df864(0x22c)](()=>{var _0x3baf03=_0x2df864,_0x296e06;const _0xd189ca=this['_univerInstanceService'][_0x3baf03(0x4f2)]();let _0x1698c2=(_0x296e06=this['_configService'][_0x3baf03(0x22e)](_0x43470b))!=null?_0x296e06:_0x285285;_0xd189ca instanceof _0x4f102d[_0x3baf03(0x45f)]&&(_0x1698c2=_0xd189ca[_0x3baf03(0x23e)]),document[_0x3baf03(0x37a)]=_0x1698c2;}));}};_0x2524e5=_0x26ca9c([_0x315212(0x0,_0x4f102d['IUniverInstanceService']),_0x315212(0x1,_0x4f102d[_0x402f51(0x26c)])],_0x2524e5);var _0x82cc04=Object['getOwnPropertyDescriptor'],_0x4bb023=(_0xceb7af,_0x24dab4,_0x3e56a0,_0x59ebf2)=>{for(var _0x68fb03=_0x59ebf2>0x1?void 0x0:_0x59ebf2?_0x82cc04(_0x24dab4,_0x3e56a0):_0x24dab4,_0x1ef14d=_0xceb7af['length']-0x1,_0x4f1cc5;_0x1ef14d>=0x0;_0x1ef14d--)(_0x4f1cc5=_0xceb7af[_0x1ef14d])&&(_0x68fb03=_0x4f1cc5(_0x68fb03)||_0x68fb03);return _0x68fb03;},_0x2a267a=(_0x2cadab,_0x2f4a31)=>(_0x100474,_0x50a643)=>_0x2f4a31(_0x100474,_0x50a643,_0x2cadab);let _0x6047bb=class{constructor(_0x135e51,_0x36598b,_0x332354){var _0x11d081=_0x402f51;this['_configService']=_0x135e51,this['_httpService']=_0x36598b,this[_0x11d081(0x338)]=_0x332354,this[_0x11d081(0x4eb)]();}['init'](){var _0x5956f4=_0x402f51;this[_0x5956f4(0x449)][_0x5956f4(0x26e)]({'priority':0x1,'interceptor':(_0x518e18,_0x296af0)=>_0x296af0(_0x518e18)[_0x5956f4(0x48d)](_0x4acdaa[_0x5956f4(0x211)](async _0x3d40c3=>{var _0x2fca0a=_0x5956f4;const _0x25cb48=_0x3d40c3;if(_0x25cb48[_0x2fca0a(0x4cb)]===0x191){if(typeof window>'u')throw new Error(_0x2fca0a(0x521));if(window[_0x2fca0a(0x502)](this['localeService']['t'](_0x2fca0a(0x3eb)))){const _0x36db71=window[_0x2fca0a(0x302)](window[_0x2fca0a(0x263)][_0x2fca0a(0x28b)]);window['location'][_0x2fca0a(0x28b)]=this[_0x2fca0a(0x437)]()+_0x2fca0a(0x473)+_0x36db71;}}return _0x25cb48;}))});}['_getLoginPath'](){var _0x5666d5=_0x402f51,_0x3f2069;const _0x4e17fb=this[_0x5666d5(0x421)][_0x5666d5(0x22e)](_0x17cb06);return(_0x3f2069=_0x4e17fb==null?void 0x0:_0x4e17fb['loginUrlKey'])!=null?_0x3f2069:_0x5c486d;}};_0x6047bb=_0x4bb023([_0x2a267a(0x0,_0x4f102d['IConfigService']),_0x2a267a(0x1,_0x4f102d[_0x402f51(0x2fe)](_0x4fd28d['HTTPService'])),_0x2a267a(0x2,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d['LocaleService']))],_0x6047bb);var _0xcd6e02=Object[_0x402f51(0x47a)],_0x574f65=(_0x1cc6de,_0x2e625b,_0x50739a,_0x4bbd54)=>{var _0x5ea610=_0x402f51;for(var _0x65c4da=_0x4bbd54>0x1?void 0x0:_0x4bbd54?_0xcd6e02(_0x2e625b,_0x50739a):_0x2e625b,_0x3d0890=_0x1cc6de[_0x5ea610(0x4c4)]-0x1,_0x3c53dc;_0x3d0890>=0x0;_0x3d0890--)(_0x3c53dc=_0x1cc6de[_0x3d0890])&&(_0x65c4da=_0x3c53dc(_0x65c4da)||_0x65c4da);return _0x65c4da;},_0x1cc847=(_0x46a36d,_0x1e8808)=>(_0x44cb4e,_0xb1a2f4)=>_0x1e8808(_0x44cb4e,_0xb1a2f4,_0x46a36d);const _0x22f98d=_0x402f51(0x335);_0x40c22a['AuthzIoHttpService']=class extends _0x4f102d['Disposable']{constructor(_0x47d026,_0x5ea22a){var _0x498bb2=_0x402f51;super(),this[_0x498bb2(0x34c)]=_0x47d026,this[_0x498bb2(0x421)]=_0x5ea22a,this['_initMergeInterceptor']();}[_0x402f51(0x1f1)](){var _0x3efab2=_0x402f51;const _0x2f4480=this;this[_0x3efab2(0x33d)](this[_0x3efab2(0x34c)][_0x3efab2(0x26e)]({'priority':0x3e7,'interceptor':_0x4fd28d[_0x3efab2(0x36b)]({'isMatch'(_0x177b5d){var _0x30b23a=_0x3efab2,_0x3b4f8e;if(_0x177b5d['method']===_0x30b23a(0x284)&&((_0x3b4f8e=_0x177b5d[_0x30b23a(0x518)])!=null&&_0x3b4f8e[_0x30b23a(0x4f0)])){const {objectID:_0xac93f7,objectType:_0xfe9982}=_0x177b5d[_0x30b23a(0x518)][_0x30b23a(0x4f0)]||{};if(!_0xac93f7||_0xfe9982===void 0x0)return!0x1;const _0x2e81bf=_0x2f4480[_0x30b23a(0x50f)]()+'/'+_0xfe9982+_0x30b23a(0x4f8)+_0xac93f7+_0x30b23a(0x415);if(_0x177b5d[_0x30b23a(0x319)]===_0x2e81bf)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x158bda){var _0x336a18=_0x3efab2,_0x2047e4;return(_0x2047e4=_0x158bda['requestParams'])==null?void 0x0:_0x2047e4[_0x336a18(0x4f0)];},'mergeParamsToRequest'(_0x4be3c5,_0x17ca8b){var _0x161c51=_0x3efab2;const _0x342165=_0x2f4480[_0x161c51(0x50f)]()+_0x161c51(0x35b),_0x3efe1d=_0x4be3c5[_0x161c51(0x362)]((_0x2badbb,_0x22190e)=>{var _0x4e1285=_0x161c51;const {unitID:_0x2b629a,objectID:_0x574ac3,objectType:_0x2bc288,actions:_0x28b343}=_0x22190e;return _0x2badbb[_0x2b629a]||(_0x2badbb[_0x2b629a]={}),_0x2badbb[_0x2b629a][_0x574ac3]||(_0x2badbb[_0x2b629a][_0x574ac3]={'objectID':_0x574ac3,'objectType':_0x2bc288,'actions':[]}),_0x2badbb[_0x2b629a][_0x574ac3][_0x4e1285(0x243)][_0x4e1285(0x221)](..._0x28b343),_0x2badbb;},{}),_0x5c35f3=[];for(const _0x6e80ff in _0x3efe1d)for(const _0x225356 in _0x3efe1d[_0x6e80ff]){const {actions:_0x45d863,objectType:_0x1d0864}=_0x3efe1d[_0x6e80ff][_0x225356],_0x273fdd=[...new Set(_0x45d863)];_0x5c35f3[_0x161c51(0x221)]({'unitID':_0x6e80ff,'objectID':_0x225356,'objectType':_0x1d0864,'actions':_0x273fdd});}return new _0x4fd28d[(_0x161c51(0x220))]('POST',_0x342165,{'headers':_0x17ca8b[_0x161c51(0x420)],'withCredentials':_0x17ca8b['withCredentials'],'responseType':_0x17ca8b[_0x161c51(0x38b)],'body':{'requests':_0x5c35f3}});}},{'distributeResult'(_0x4f6aaf,_0x20f26c){const {objectActions:_0x4ab358}=_0x4f6aaf;return _0x20f26c['map'](_0x583a61=>{var _0x232dc3=_0x2952;const {unitID:_0xa90445,objectID:_0x2d6e9b,actions:_0xfe5d10}=_0x583a61,_0x2d9825=_0x4ab358[_0x232dc3(0x3ca)](_0xb37871=>_0xb37871[_0x232dc3(0x288)]===_0xa90445&&_0xb37871[_0x232dc3(0x3cd)]===_0x2d6e9b),_0x479cb6=_0xfe5d10[_0x232dc3(0x2bb)](_0x544305=>_0x2d9825==null?void 0x0:_0x2d9825[_0x232dc3(0x243)][_0x232dc3(0x3ca)](_0x2f44ce=>_0x2f44ce['action']===_0x544305))[_0x232dc3(0x40c)](_0x249db8=>!!_0x249db8);return{'config':_0x583a61,'result':{'actions':_0x479cb6,'error':_0x4f6aaf['error']}};});}})}));}[_0x402f51(0x50f)](){var _0x8f759c=_0x402f51,_0x2d14d7;const _0x642d57=this['_configService'][_0x8f759c(0x22e)](_0x17cb06);return(_0x2d14d7=_0x642d57==null?void 0x0:_0x642d57[_0x8f759c(0x38a)])!=null?_0x2d14d7:_0x22f98d;}async[_0x402f51(0x2ad)](_0x75e3d9){var _0x1c9e64=_0x402f51;const _0x1ec301=this[_0x1c9e64(0x50f)]()+'/'+_0x75e3d9[_0x1c9e64(0x2cd)]+'/object';return(await this[_0x1c9e64(0x34c)][_0x1c9e64(0x3d3)](_0x1ec301,{'body':_0x75e3d9}))[_0x1c9e64(0x4f0)][_0x1c9e64(0x3cd)]||'';}async[_0x402f51(0x21c)](_0x24431a){var _0x322b66=_0x402f51;const _0x393915=this[_0x322b66(0x50f)]()+'/-/object/list';return(await this[_0x322b66(0x34c)]['post'](_0x393915,{'body':_0x24431a}))[_0x322b66(0x4f0)]['objects'];}async[_0x402f51(0x20a)](_0xea7611){var _0x40bd84=_0x402f51,_0x1695c5,_0x2e02a1;const _0x490f6c=this[_0x40bd84(0x50f)]()+'/'+_0xea7611['objectType']+_0x40bd84(0x4f8)+_0xea7611['objectID'],_0x43f4b8=await this[_0x40bd84(0x34c)]['put'](_0x490f6c,{'body':_0xea7611});if(((_0x2e02a1=(_0x1695c5=_0x43f4b8==null?void 0x0:_0x43f4b8[_0x40bd84(0x4f0)])==null?void 0x0:_0x1695c5[_0x40bd84(0x4c5)])==null?void 0x0:_0x2e02a1[_0x40bd84(0x557)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x118b5f){var _0x418bda=_0x402f51;const _0x2ddfc2=this['_getAPIPrefixPath']()+'/'+_0x118b5f[_0x418bda(0x2cd)]+_0x418bda(0x4f8)+_0x118b5f['objectID']+_0x418bda(0x415);return(await this['_HTTPService'][_0x418bda(0x3d3)](_0x2ddfc2,{'body':_0x118b5f}))[_0x418bda(0x4f0)][_0x418bda(0x243)];}async[_0x402f51(0x408)](_0x3a275b){var _0x1d3f03=_0x402f51;const _0x498646=this[_0x1d3f03(0x50f)]()+_0x1d3f03(0x35b);return(await this[_0x1d3f03(0x34c)][_0x1d3f03(0x3d3)](_0x498646,{'body':{'requests':_0x3a275b}}))[_0x1d3f03(0x4f0)][_0x1d3f03(0x52d)];}async[_0x402f51(0x27d)](_0x184931){var _0x3adad6=_0x402f51;const _0x848047=this[_0x3adad6(0x50f)]()+'/'+_0x184931[_0x3adad6(0x2cd)]+_0x3adad6(0x253),_0x245aa8=await this['_HTTPService']['post'](_0x848047,{'body':_0x184931});return{'roles':_0x245aa8[_0x3adad6(0x4f0)][_0x3adad6(0x461)],'actions':_0x245aa8[_0x3adad6(0x4f0)][_0x3adad6(0x243)]};}async[_0x402f51(0x4d5)](_0x270e7e){var _0x3c7094=_0x402f51;const _0x171d6a=this[_0x3c7094(0x50f)]()+_0x3c7094(0x3f9);await this[_0x3c7094(0x34c)][_0x3c7094(0x311)](_0x171d6a,{'params':{'collaboratorID':_0x270e7e[_0x3c7094(0x413)],'objectID':_0x270e7e['objectID'],'unitID':_0x270e7e[_0x3c7094(0x288)]}});}async['updateCollaborator'](_0x1cd486){var _0x1be8d7=_0x402f51;const _0x3b1a03=this[_0x1be8d7(0x50f)]()+_0x1be8d7(0x3f9);await this[_0x1be8d7(0x34c)]['patch'](_0x3b1a03,{'body':_0x1cd486});}async[_0x402f51(0x496)](_0x382c9c){var _0x514db8=_0x402f51;const _0x5826f8=this[_0x514db8(0x50f)]()+_0x514db8(0x3f9);await this[_0x514db8(0x34c)][_0x514db8(0x3d3)](_0x5826f8,{'body':_0x382c9c});}async[_0x402f51(0x268)](_0x5884dc){var _0x577fc3=_0x402f51;const _0x4bd8c0=this[_0x577fc3(0x50f)]()+'/collaborator';return(await this[_0x577fc3(0x34c)][_0x577fc3(0x4f1)](_0x4bd8c0,{'params':{'objectID':_0x5884dc[_0x577fc3(0x3cd)],'unitID':_0x5884dc[_0x577fc3(0x288)]}}))['body'][_0x577fc3(0x2f8)];}async[_0x402f51(0x42f)](_0x1c332e){var _0x3ca148=_0x402f51;const _0x209c65=this[_0x3ca148(0x50f)]()+'/collaborator';await this[_0x3ca148(0x34c)]['put'](_0x209c65,{'body':_0x1c332e});}},_0x40c22a[_0x402f51(0x20f)]=_0x574f65([_0x1cc847(0x0,_0x4f102d[_0x402f51(0x2fe)](_0x4fd28d[_0x402f51(0x4af)])),_0x1cc847(0x1,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x26c)]))],_0x40c22a['AuthzIoHttpService']);var _0x2f2469=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x44b517(_0x16be63){var _0x16cb4c=_0x402f51;return _0x16be63&&_0x16be63[_0x16cb4c(0x3b8)]&&Object[_0x16cb4c(0x390)]['hasOwnProperty'][_0x16cb4c(0x4b0)](_0x16be63,_0x16cb4c(0x4a1))?_0x16be63[_0x16cb4c(0x4a1)]:_0x16be63;}var _0x4c01b0={'exports':{}};function _0x5080de(_0x1bbcf9){var _0x5d2548=_0x402f51;throw new Error(_0x5d2548(0x43c)+_0x1bbcf9+_0x5d2548(0x414));}var _0x534e1d={'exports':{}},_0x408f3d=_0x534e1d[_0x402f51(0x483)],_0x264c6a;function _0x466f9b(){var _0x225fac=_0x402f51;return _0x264c6a||(_0x264c6a=0x1,function(_0x270807,_0x5c400d){(function(_0x3f7646,_0x2887b7){var _0x284ce3=_0x2952;_0x270807[_0x284ce3(0x483)]=_0x2887b7();}(_0x408f3d,function(){var _0x55a8c0=_0x55a8c0||function(_0x571d2f,_0x3f1370){var _0x2762cb=_0x2952,_0x48da54;if(typeof window<'u'&&window[_0x2762cb(0x3a6)]&&(_0x48da54=window[_0x2762cb(0x3a6)]),typeof self<'u'&&self[_0x2762cb(0x3a6)]&&(_0x48da54=self[_0x2762cb(0x3a6)]),typeof globalThis<'u'&&globalThis[_0x2762cb(0x3a6)]&&(_0x48da54=globalThis[_0x2762cb(0x3a6)]),!_0x48da54&&typeof window<'u'&&window[_0x2762cb(0x433)]&&(_0x48da54=window['msCrypto']),!_0x48da54&&typeof _0x2f2469<'u'&&_0x2f2469[_0x2762cb(0x3a6)]&&(_0x48da54=_0x2f2469[_0x2762cb(0x3a6)]),!_0x48da54&&typeof _0x5080de==_0x2762cb(0x3db))try{_0x48da54=require('crypto');}catch{}var _0x15b9dc=function(){var _0x3b71ad=_0x2762cb;if(_0x48da54){if(typeof _0x48da54[_0x3b71ad(0x29b)]==_0x3b71ad(0x3db))try{return _0x48da54['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x48da54[_0x3b71ad(0x359)]==_0x3b71ad(0x3db))try{return _0x48da54[_0x3b71ad(0x359)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x19c2d2=Object[_0x2762cb(0x2ad)]||(function(){function _0x326657(){}return function(_0x591518){var _0x562985=_0x2952,_0x3b7dfb;return _0x326657['prototype']=_0x591518,_0x3b7dfb=new _0x326657(),_0x326657[_0x562985(0x390)]=null,_0x3b7dfb;};}()),_0x268e7e={},_0x43ecaa=_0x268e7e[_0x2762cb(0x315)]={},_0x419cff=_0x43ecaa['Base']=(function(){return{'extend':function(_0x21bc3a){var _0xb66d07=_0x2952,_0x557c75=_0x19c2d2(this);return _0x21bc3a&&_0x557c75['mixIn'](_0x21bc3a),(!_0x557c75[_0xb66d07(0x29e)](_0xb66d07(0x4eb))||this[_0xb66d07(0x4eb)]===_0x557c75[_0xb66d07(0x4eb)])&&(_0x557c75[_0xb66d07(0x4eb)]=function(){var _0xb022f3=_0xb66d07;_0x557c75[_0xb022f3(0x3c0)][_0xb022f3(0x4eb)][_0xb022f3(0x209)](this,arguments);}),_0x557c75[_0xb66d07(0x4eb)][_0xb66d07(0x390)]=_0x557c75,_0x557c75[_0xb66d07(0x3c0)]=this,_0x557c75;},'create':function(){var _0x5a44b1=_0x2952,_0x2670d5=this[_0x5a44b1(0x467)]();return _0x2670d5[_0x5a44b1(0x4eb)][_0x5a44b1(0x209)](_0x2670d5,arguments),_0x2670d5;},'init':function(){},'mixIn':function(_0x3e1972){var _0x1df622=_0x2952;for(var _0x509511 in _0x3e1972)_0x3e1972['hasOwnProperty'](_0x509511)&&(this[_0x509511]=_0x3e1972[_0x509511]);_0x3e1972[_0x1df622(0x29e)](_0x1df622(0x2ca))&&(this[_0x1df622(0x2ca)]=_0x3e1972[_0x1df622(0x2ca)]);},'clone':function(){var _0xd52e60=_0x2952;return this[_0xd52e60(0x4eb)][_0xd52e60(0x390)][_0xd52e60(0x467)](this);}};}()),_0x4c3e8a=_0x43ecaa[_0x2762cb(0x3e7)]=_0x419cff[_0x2762cb(0x467)]({'init':function(_0x38f642,_0x56fa23){var _0x22a497=_0x2762cb;_0x38f642=this[_0x22a497(0x267)]=_0x38f642||[],_0x56fa23!=_0x3f1370?this[_0x22a497(0x3ed)]=_0x56fa23:this[_0x22a497(0x3ed)]=_0x38f642[_0x22a497(0x4c4)]*0x4;},'toString':function(_0x4183a9){var _0x4630d2=_0x2762cb;return(_0x4183a9||_0x484abc)[_0x4630d2(0x494)](this);},'concat':function(_0x43511c){var _0x2dbbf6=_0x2762cb,_0x41041b=this['words'],_0x49284d=_0x43511c[_0x2dbbf6(0x267)],_0x3435f4=this[_0x2dbbf6(0x3ed)],_0x50cd01=_0x43511c[_0x2dbbf6(0x3ed)];if(this[_0x2dbbf6(0x54f)](),_0x3435f4%0x4)for(var _0x1f6303=0x0;_0x1f6303<_0x50cd01;_0x1f6303++){var _0x439d58=_0x49284d[_0x1f6303>>>0x2]>>>0x18-_0x1f6303%0x4*0x8&0xff;_0x41041b[_0x3435f4+_0x1f6303>>>0x2]|=_0x439d58<<0x18-(_0x3435f4+_0x1f6303)%0x4*0x8;}else{for(var _0x2a3251=0x0;_0x2a3251<_0x50cd01;_0x2a3251+=0x4)_0x41041b[_0x3435f4+_0x2a3251>>>0x2]=_0x49284d[_0x2a3251>>>0x2];}return this[_0x2dbbf6(0x3ed)]+=_0x50cd01,this;},'clamp':function(){var _0x58ad7b=_0x2762cb,_0x33de9b=this[_0x58ad7b(0x267)],_0x5bf240=this['sigBytes'];_0x33de9b[_0x5bf240>>>0x2]&=0xffffffff<<0x20-_0x5bf240%0x4*0x8,_0x33de9b[_0x58ad7b(0x4c4)]=_0x571d2f[_0x58ad7b(0x1f2)](_0x5bf240/0x4);},'clone':function(){var _0x1b524a=_0x2762cb,_0x200466=_0x419cff[_0x1b524a(0x3a2)][_0x1b524a(0x4b0)](this);return _0x200466[_0x1b524a(0x267)]=this['words'][_0x1b524a(0x4d3)](0x0),_0x200466;},'random':function(_0x4fcc8f){var _0x90999b=_0x2762cb;for(var _0x9806e9=[],_0x142fbc=0x0;_0x142fbc<_0x4fcc8f;_0x142fbc+=0x4)_0x9806e9[_0x90999b(0x221)](_0x15b9dc());return new _0x4c3e8a['init'](_0x9806e9,_0x4fcc8f);}}),_0x58526b=_0x268e7e[_0x2762cb(0x2f4)]={},_0x484abc=_0x58526b['Hex']={'stringify':function(_0x4b7942){var _0x193249=_0x2762cb;for(var _0x2b06f1=_0x4b7942['words'],_0x1a7d55=_0x4b7942['sigBytes'],_0x11b313=[],_0x3816f6=0x0;_0x3816f6<_0x1a7d55;_0x3816f6++){var _0x43e9b1=_0x2b06f1[_0x3816f6>>>0x2]>>>0x18-_0x3816f6%0x4*0x8&0xff;_0x11b313['push']((_0x43e9b1>>>0x4)['toString'](0x10)),_0x11b313[_0x193249(0x221)]((_0x43e9b1&0xf)['toString'](0x10));}return _0x11b313[_0x193249(0x238)]('');},'parse':function(_0x903791){var _0x593452=_0x2762cb;for(var _0x5b02d7=_0x903791[_0x593452(0x4c4)],_0x48b25d=[],_0x43fc9b=0x0;_0x43fc9b<_0x5b02d7;_0x43fc9b+=0x2)_0x48b25d[_0x43fc9b>>>0x3]|=parseInt(_0x903791[_0x593452(0x3d5)](_0x43fc9b,0x2),0x10)<<0x18-_0x43fc9b%0x8*0x4;return new _0x4c3e8a[(_0x593452(0x4eb))](_0x48b25d,_0x5b02d7/0x2);}},_0x3da7c2=_0x58526b['Latin1']={'stringify':function(_0x3a6288){var _0x30f6a5=_0x2762cb;for(var _0x56998f=_0x3a6288['words'],_0x6e6930=_0x3a6288['sigBytes'],_0x3d31f0=[],_0x619997=0x0;_0x619997<_0x6e6930;_0x619997++){var _0x4e513d=_0x56998f[_0x619997>>>0x2]>>>0x18-_0x619997%0x4*0x8&0xff;_0x3d31f0[_0x30f6a5(0x221)](String[_0x30f6a5(0x2d3)](_0x4e513d));}return _0x3d31f0[_0x30f6a5(0x238)]('');},'parse':function(_0x3346ec){var _0x7ab3b7=_0x2762cb;for(var _0xe0d924=_0x3346ec[_0x7ab3b7(0x4c4)],_0x35c2b6=[],_0x3ffd7e=0x0;_0x3ffd7e<_0xe0d924;_0x3ffd7e++)_0x35c2b6[_0x3ffd7e>>>0x2]|=(_0x3346ec[_0x7ab3b7(0x2df)](_0x3ffd7e)&0xff)<<0x18-_0x3ffd7e%0x4*0x8;return new _0x4c3e8a[(_0x7ab3b7(0x4eb))](_0x35c2b6,_0xe0d924);}},_0x5b2e3c=_0x58526b['Utf8']={'stringify':function(_0x54c4dc){var _0x465e2f=_0x2762cb;try{return decodeURIComponent(escape(_0x3da7c2[_0x465e2f(0x494)](_0x54c4dc)));}catch{throw new Error(_0x465e2f(0x443));}},'parse':function(_0x43399b){var _0x33a1a3=_0x2762cb;return _0x3da7c2[_0x33a1a3(0x364)](unescape(encodeURIComponent(_0x43399b)));}},_0x394fac=_0x43ecaa['BufferedBlockAlgorithm']=_0x419cff[_0x2762cb(0x467)]({'reset':function(){var _0x43acf7=_0x2762cb;this['_data']=new _0x4c3e8a[(_0x43acf7(0x4eb))](),this[_0x43acf7(0x336)]=0x0;},'_append':function(_0x213a57){var _0x558edc=_0x2762cb;typeof _0x213a57==_0x558edc(0x228)&&(_0x213a57=_0x5b2e3c[_0x558edc(0x364)](_0x213a57)),this[_0x558edc(0x43a)]['concat'](_0x213a57),this[_0x558edc(0x336)]+=_0x213a57[_0x558edc(0x3ed)];},'_process':function(_0xf7ae48){var _0x489e1a=_0x2762cb,_0xf9ac6e,_0xf7fe53=this[_0x489e1a(0x43a)],_0x85d6d7=_0xf7fe53['words'],_0x3b47c8=_0xf7fe53[_0x489e1a(0x3ed)],_0x1b1de4=this[_0x489e1a(0x3e4)],_0x4fa894=_0x1b1de4*0x4,_0x9c221c=_0x3b47c8/_0x4fa894;_0xf7ae48?_0x9c221c=_0x571d2f['ceil'](_0x9c221c):_0x9c221c=_0x571d2f['max']((_0x9c221c|0x0)-this[_0x489e1a(0x3b4)],0x0);var _0x3d8289=_0x9c221c*_0x1b1de4,_0x37522b=_0x571d2f[_0x489e1a(0x1f0)](_0x3d8289*0x4,_0x3b47c8);if(_0x3d8289){for(var _0x352c0f=0x0;_0x352c0f<_0x3d8289;_0x352c0f+=_0x1b1de4)this[_0x489e1a(0x300)](_0x85d6d7,_0x352c0f);_0xf9ac6e=_0x85d6d7[_0x489e1a(0x210)](0x0,_0x3d8289),_0xf7fe53['sigBytes']-=_0x37522b;}return new _0x4c3e8a[(_0x489e1a(0x4eb))](_0xf9ac6e,_0x37522b);},'clone':function(){var _0x299fcb=_0x2762cb,_0x3c27cc=_0x419cff[_0x299fcb(0x3a2)][_0x299fcb(0x4b0)](this);return _0x3c27cc[_0x299fcb(0x43a)]=this[_0x299fcb(0x43a)]['clone'](),_0x3c27cc;},'_minBufferSize':0x0});_0x43ecaa['Hasher']=_0x394fac[_0x2762cb(0x467)]({'cfg':_0x419cff['extend'](),'init':function(_0xd645ba){var _0x2975ea=_0x2762cb;this[_0x2975ea(0x1f5)]=this[_0x2975ea(0x1f5)][_0x2975ea(0x467)](_0xd645ba),this[_0x2975ea(0x3b6)]();},'reset':function(){var _0x284f39=_0x2762cb;_0x394fac[_0x284f39(0x3b6)][_0x284f39(0x4b0)](this),this[_0x284f39(0x2f5)]();},'update':function(_0x571114){var _0x2ecd37=_0x2762cb;return this[_0x2ecd37(0x2f7)](_0x571114),this['_process'](),this;},'finalize':function(_0x268ead){var _0x1a59aa=_0x2762cb;_0x268ead&&this[_0x1a59aa(0x2f7)](_0x268ead);var _0x432116=this[_0x1a59aa(0x4e0)]();return _0x432116;},'blockSize':0x10,'_createHelper':function(_0x3309c7){return function(_0x709e7b,_0x25ae6a){var _0x1e943f=_0x2952;return new _0x3309c7[(_0x1e943f(0x4eb))](_0x25ae6a)[_0x1e943f(0x3ae)](_0x709e7b);};},'_createHmacHelper':function(_0x218084){return function(_0x1941a1,_0x36dad7){var _0x361703=_0x2952;return new _0x493893[(_0x361703(0x316))][(_0x361703(0x4eb))](_0x218084,_0x36dad7)[_0x361703(0x3ae)](_0x1941a1);};}});var _0x493893=_0x268e7e['algo']={};return _0x268e7e;}(Math);return _0x55a8c0;}));}(_0x534e1d)),_0x534e1d[_0x225fac(0x483)];}var _0x422df8={'exports':{}},_0x13d662=_0x422df8[_0x402f51(0x483)],_0x59d953;function _0x1ad1cc(){var _0x3aeef1=_0x402f51;return _0x59d953||(_0x59d953=0x1,function(_0x1daad1,_0x46a64e){(function(_0x1f0481,_0x327115){var _0x1015ef=_0x2952;_0x1daad1[_0x1015ef(0x483)]=_0x327115(_0x466f9b());}(_0x13d662,function(_0x25406b){var _0x55e548=_0x2952;return(function(){var _0x177908=_0x2952,_0x3a044b=_0x25406b,_0x1a6ec1=_0x3a044b['lib'],_0x3404a9=_0x1a6ec1[_0x177908(0x3e7)],_0x2d8582=_0x3a044b[_0x177908(0x2f4)];_0x2d8582[_0x177908(0x273)]={'stringify':function(_0x2b301a){var _0x1fb3fa=_0x177908,_0x1894b5=_0x2b301a[_0x1fb3fa(0x267)],_0x1365a0=_0x2b301a[_0x1fb3fa(0x3ed)],_0x4808b9=this[_0x1fb3fa(0x366)];_0x2b301a[_0x1fb3fa(0x54f)]();for(var _0x144f34=[],_0x3999e7=0x0;_0x3999e7<_0x1365a0;_0x3999e7+=0x3)for(var _0x10edbc=_0x1894b5[_0x3999e7>>>0x2]>>>0x18-_0x3999e7%0x4*0x8&0xff,_0x5ae1c1=_0x1894b5[_0x3999e7+0x1>>>0x2]>>>0x18-(_0x3999e7+0x1)%0x4*0x8&0xff,_0x5f3ab9=_0x1894b5[_0x3999e7+0x2>>>0x2]>>>0x18-(_0x3999e7+0x2)%0x4*0x8&0xff,_0x3e347d=_0x10edbc<<0x10|_0x5ae1c1<<0x8|_0x5f3ab9,_0x1addfc=0x0;_0x1addfc<0x4&&_0x3999e7+_0x1addfc*0.75<_0x1365a0;_0x1addfc++)_0x144f34[_0x1fb3fa(0x221)](_0x4808b9[_0x1fb3fa(0x257)](_0x3e347d>>>0x6*(0x3-_0x1addfc)&0x3f));var _0x29ed83=_0x4808b9[_0x1fb3fa(0x257)](0x40);if(_0x29ed83){for(;_0x144f34[_0x1fb3fa(0x4c4)]%0x4;)_0x144f34[_0x1fb3fa(0x221)](_0x29ed83);}return _0x144f34['join']('');},'parse':function(_0x383e35){var _0x2ecff0=_0x177908,_0x4ba153=_0x383e35[_0x2ecff0(0x4c4)],_0x5bbbf6=this[_0x2ecff0(0x366)],_0x25a80f=this[_0x2ecff0(0x487)];if(!_0x25a80f){_0x25a80f=this[_0x2ecff0(0x487)]=[];for(var _0x22f893=0x0;_0x22f893<_0x5bbbf6[_0x2ecff0(0x4c4)];_0x22f893++)_0x25a80f[_0x5bbbf6[_0x2ecff0(0x2df)](_0x22f893)]=_0x22f893;}var _0x21fd3c=_0x5bbbf6[_0x2ecff0(0x257)](0x40);if(_0x21fd3c){var _0xa4de7d=_0x383e35[_0x2ecff0(0x40d)](_0x21fd3c);_0xa4de7d!==-0x1&&(_0x4ba153=_0xa4de7d);}return _0x5731c9(_0x383e35,_0x4ba153,_0x25a80f);},'_map':_0x177908(0x207)};function _0x5731c9(_0x57c956,_0x3d0d65,_0x21df95){var _0x2a73ac=_0x177908;for(var _0x343387=[],_0x555333=0x0,_0x4e2c27=0x0;_0x4e2c27<_0x3d0d65;_0x4e2c27++)if(_0x4e2c27%0x4){var _0x123ce0=_0x21df95[_0x57c956[_0x2a73ac(0x2df)](_0x4e2c27-0x1)]<<_0x4e2c27%0x4*0x2,_0x22882c=_0x21df95[_0x57c956[_0x2a73ac(0x2df)](_0x4e2c27)]>>>0x6-_0x4e2c27%0x4*0x2,_0x55faaf=_0x123ce0|_0x22882c;_0x343387[_0x555333>>>0x2]|=_0x55faaf<<0x18-_0x555333%0x4*0x8,_0x555333++;}return _0x3404a9[_0x2a73ac(0x2ad)](_0x343387,_0x555333);}}()),_0x25406b['enc'][_0x55e548(0x273)];}));}(_0x422df8)),_0x422df8[_0x3aeef1(0x483)];}var _0x4efad2={'exports':{}},_0x5a4626=_0x4efad2[_0x402f51(0x483)],_0x33d4b8;function _0x34d202(){var _0x4a649b=_0x402f51;return _0x33d4b8||(_0x33d4b8=0x1,function(_0x171046,_0x310337){(function(_0x13ae26,_0x10819a){var _0x526f86=_0x2952;_0x171046[_0x526f86(0x483)]=_0x10819a(_0x466f9b());}(_0x5a4626,function(_0x12bffa){return function(_0x34659d){var _0x8be89=_0x2952,_0xb3abbe=_0x12bffa,_0x30c70f=_0xb3abbe[_0x8be89(0x315)],_0x3f645b=_0x30c70f[_0x8be89(0x3e7)],_0x4adecc=_0x30c70f['Hasher'],_0x342ccb=_0xb3abbe[_0x8be89(0x24f)],_0x5a53c6=[];(function(){var _0x4338cc=_0x8be89;for(var _0x1617c3=0x0;_0x1617c3<0x40;_0x1617c3++)_0x5a53c6[_0x1617c3]=_0x34659d[_0x4338cc(0x3ec)](_0x34659d[_0x4338cc(0x3a5)](_0x1617c3+0x1))*0x100000000|0x0;}());var _0x4ab003=_0x342ccb['MD5']=_0x4adecc[_0x8be89(0x467)]({'_doReset':function(){var _0x49a4e7=_0x8be89;this[_0x49a4e7(0x2e5)]=new _0x3f645b[(_0x49a4e7(0x4eb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x413c8f,_0x2e83b7){var _0x39b2b4=_0x8be89;for(var _0x490ff2=0x0;_0x490ff2<0x10;_0x490ff2++){var _0xcbe9fc=_0x2e83b7+_0x490ff2,_0x18580f=_0x413c8f[_0xcbe9fc];_0x413c8f[_0xcbe9fc]=(_0x18580f<<0x8|_0x18580f>>>0x18)&0xff00ff|(_0x18580f<<0x18|_0x18580f>>>0x8)&0xff00ff00;}var _0x4285f1=this[_0x39b2b4(0x2e5)][_0x39b2b4(0x267)],_0x32fd40=_0x413c8f[_0x2e83b7+0x0],_0x3a5e69=_0x413c8f[_0x2e83b7+0x1],_0x15b3a4=_0x413c8f[_0x2e83b7+0x2],_0x72b469=_0x413c8f[_0x2e83b7+0x3],_0x3602ec=_0x413c8f[_0x2e83b7+0x4],_0x47bbbb=_0x413c8f[_0x2e83b7+0x5],_0x53adf1=_0x413c8f[_0x2e83b7+0x6],_0x336f42=_0x413c8f[_0x2e83b7+0x7],_0x5bc199=_0x413c8f[_0x2e83b7+0x8],_0x2b8727=_0x413c8f[_0x2e83b7+0x9],_0x2209c7=_0x413c8f[_0x2e83b7+0xa],_0x586776=_0x413c8f[_0x2e83b7+0xb],_0x145666=_0x413c8f[_0x2e83b7+0xc],_0x2b553c=_0x413c8f[_0x2e83b7+0xd],_0x101e2e=_0x413c8f[_0x2e83b7+0xe],_0x39744c=_0x413c8f[_0x2e83b7+0xf],_0x11716f=_0x4285f1[0x0],_0x303986=_0x4285f1[0x1],_0x166b47=_0x4285f1[0x2],_0x1f2529=_0x4285f1[0x3];_0x11716f=_0x19d647(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x32fd40,0x7,_0x5a53c6[0x0]),_0x1f2529=_0x19d647(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x3a5e69,0xc,_0x5a53c6[0x1]),_0x166b47=_0x19d647(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x15b3a4,0x11,_0x5a53c6[0x2]),_0x303986=_0x19d647(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x72b469,0x16,_0x5a53c6[0x3]),_0x11716f=_0x19d647(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x3602ec,0x7,_0x5a53c6[0x4]),_0x1f2529=_0x19d647(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x47bbbb,0xc,_0x5a53c6[0x5]),_0x166b47=_0x19d647(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x53adf1,0x11,_0x5a53c6[0x6]),_0x303986=_0x19d647(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x336f42,0x16,_0x5a53c6[0x7]),_0x11716f=_0x19d647(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x5bc199,0x7,_0x5a53c6[0x8]),_0x1f2529=_0x19d647(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x2b8727,0xc,_0x5a53c6[0x9]),_0x166b47=_0x19d647(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x2209c7,0x11,_0x5a53c6[0xa]),_0x303986=_0x19d647(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x586776,0x16,_0x5a53c6[0xb]),_0x11716f=_0x19d647(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x145666,0x7,_0x5a53c6[0xc]),_0x1f2529=_0x19d647(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x2b553c,0xc,_0x5a53c6[0xd]),_0x166b47=_0x19d647(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x101e2e,0x11,_0x5a53c6[0xe]),_0x303986=_0x19d647(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x39744c,0x16,_0x5a53c6[0xf]),_0x11716f=_0xfe1108(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x3a5e69,0x5,_0x5a53c6[0x10]),_0x1f2529=_0xfe1108(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x53adf1,0x9,_0x5a53c6[0x11]),_0x166b47=_0xfe1108(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x586776,0xe,_0x5a53c6[0x12]),_0x303986=_0xfe1108(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x32fd40,0x14,_0x5a53c6[0x13]),_0x11716f=_0xfe1108(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x47bbbb,0x5,_0x5a53c6[0x14]),_0x1f2529=_0xfe1108(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x2209c7,0x9,_0x5a53c6[0x15]),_0x166b47=_0xfe1108(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x39744c,0xe,_0x5a53c6[0x16]),_0x303986=_0xfe1108(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x3602ec,0x14,_0x5a53c6[0x17]),_0x11716f=_0xfe1108(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x2b8727,0x5,_0x5a53c6[0x18]),_0x1f2529=_0xfe1108(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x101e2e,0x9,_0x5a53c6[0x19]),_0x166b47=_0xfe1108(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x72b469,0xe,_0x5a53c6[0x1a]),_0x303986=_0xfe1108(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x5bc199,0x14,_0x5a53c6[0x1b]),_0x11716f=_0xfe1108(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x2b553c,0x5,_0x5a53c6[0x1c]),_0x1f2529=_0xfe1108(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x15b3a4,0x9,_0x5a53c6[0x1d]),_0x166b47=_0xfe1108(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x336f42,0xe,_0x5a53c6[0x1e]),_0x303986=_0xfe1108(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x145666,0x14,_0x5a53c6[0x1f]),_0x11716f=_0x45d156(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x47bbbb,0x4,_0x5a53c6[0x20]),_0x1f2529=_0x45d156(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x5bc199,0xb,_0x5a53c6[0x21]),_0x166b47=_0x45d156(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x586776,0x10,_0x5a53c6[0x22]),_0x303986=_0x45d156(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x101e2e,0x17,_0x5a53c6[0x23]),_0x11716f=_0x45d156(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x3a5e69,0x4,_0x5a53c6[0x24]),_0x1f2529=_0x45d156(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x3602ec,0xb,_0x5a53c6[0x25]),_0x166b47=_0x45d156(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x336f42,0x10,_0x5a53c6[0x26]),_0x303986=_0x45d156(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x2209c7,0x17,_0x5a53c6[0x27]),_0x11716f=_0x45d156(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x2b553c,0x4,_0x5a53c6[0x28]),_0x1f2529=_0x45d156(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x32fd40,0xb,_0x5a53c6[0x29]),_0x166b47=_0x45d156(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x72b469,0x10,_0x5a53c6[0x2a]),_0x303986=_0x45d156(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x53adf1,0x17,_0x5a53c6[0x2b]),_0x11716f=_0x45d156(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x2b8727,0x4,_0x5a53c6[0x2c]),_0x1f2529=_0x45d156(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x145666,0xb,_0x5a53c6[0x2d]),_0x166b47=_0x45d156(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x39744c,0x10,_0x5a53c6[0x2e]),_0x303986=_0x45d156(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x15b3a4,0x17,_0x5a53c6[0x2f]),_0x11716f=_0xbe7c54(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x32fd40,0x6,_0x5a53c6[0x30]),_0x1f2529=_0xbe7c54(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x336f42,0xa,_0x5a53c6[0x31]),_0x166b47=_0xbe7c54(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x101e2e,0xf,_0x5a53c6[0x32]),_0x303986=_0xbe7c54(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x47bbbb,0x15,_0x5a53c6[0x33]),_0x11716f=_0xbe7c54(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x145666,0x6,_0x5a53c6[0x34]),_0x1f2529=_0xbe7c54(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x72b469,0xa,_0x5a53c6[0x35]),_0x166b47=_0xbe7c54(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x2209c7,0xf,_0x5a53c6[0x36]),_0x303986=_0xbe7c54(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x3a5e69,0x15,_0x5a53c6[0x37]),_0x11716f=_0xbe7c54(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x5bc199,0x6,_0x5a53c6[0x38]),_0x1f2529=_0xbe7c54(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x39744c,0xa,_0x5a53c6[0x39]),_0x166b47=_0xbe7c54(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x53adf1,0xf,_0x5a53c6[0x3a]),_0x303986=_0xbe7c54(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x2b553c,0x15,_0x5a53c6[0x3b]),_0x11716f=_0xbe7c54(_0x11716f,_0x303986,_0x166b47,_0x1f2529,_0x3602ec,0x6,_0x5a53c6[0x3c]),_0x1f2529=_0xbe7c54(_0x1f2529,_0x11716f,_0x303986,_0x166b47,_0x586776,0xa,_0x5a53c6[0x3d]),_0x166b47=_0xbe7c54(_0x166b47,_0x1f2529,_0x11716f,_0x303986,_0x15b3a4,0xf,_0x5a53c6[0x3e]),_0x303986=_0xbe7c54(_0x303986,_0x166b47,_0x1f2529,_0x11716f,_0x2b8727,0x15,_0x5a53c6[0x3f]),_0x4285f1[0x0]=_0x4285f1[0x0]+_0x11716f|0x0,_0x4285f1[0x1]=_0x4285f1[0x1]+_0x303986|0x0,_0x4285f1[0x2]=_0x4285f1[0x2]+_0x166b47|0x0,_0x4285f1[0x3]=_0x4285f1[0x3]+_0x1f2529|0x0;},'_doFinalize':function(){var _0x48c39a=_0x8be89,_0x3a99da=this['_data'],_0x360893=_0x3a99da[_0x48c39a(0x267)],_0x460bb4=this[_0x48c39a(0x336)]*0x8,_0x2be30a=_0x3a99da[_0x48c39a(0x3ed)]*0x8;_0x360893[_0x2be30a>>>0x5]|=0x80<<0x18-_0x2be30a%0x20;var _0xf8afd7=_0x34659d[_0x48c39a(0x549)](_0x460bb4/0x100000000),_0x4d6cfe=_0x460bb4;_0x360893[(_0x2be30a+0x40>>>0x9<<0x4)+0xf]=(_0xf8afd7<<0x8|_0xf8afd7>>>0x18)&0xff00ff|(_0xf8afd7<<0x18|_0xf8afd7>>>0x8)&0xff00ff00,_0x360893[(_0x2be30a+0x40>>>0x9<<0x4)+0xe]=(_0x4d6cfe<<0x8|_0x4d6cfe>>>0x18)&0xff00ff|(_0x4d6cfe<<0x18|_0x4d6cfe>>>0x8)&0xff00ff00,_0x3a99da[_0x48c39a(0x3ed)]=(_0x360893[_0x48c39a(0x4c4)]+0x1)*0x4,this['_process']();for(var _0x237a98=this[_0x48c39a(0x2e5)],_0x43af1e=_0x237a98[_0x48c39a(0x267)],_0x2d8400=0x0;_0x2d8400<0x4;_0x2d8400++){var _0x43b1d9=_0x43af1e[_0x2d8400];_0x43af1e[_0x2d8400]=(_0x43b1d9<<0x8|_0x43b1d9>>>0x18)&0xff00ff|(_0x43b1d9<<0x18|_0x43b1d9>>>0x8)&0xff00ff00;}return _0x237a98;},'clone':function(){var _0x527452=_0x8be89,_0x3d6e60=_0x4adecc[_0x527452(0x3a2)]['call'](this);return _0x3d6e60[_0x527452(0x2e5)]=this['_hash'][_0x527452(0x3a2)](),_0x3d6e60;}});function _0x19d647(_0x36ff8f,_0x4fdef0,_0x2018f5,_0x190512,_0x264497,_0x1e301b,_0x259ec6){var _0x5133d9=_0x36ff8f+(_0x4fdef0&_0x2018f5|~_0x4fdef0&_0x190512)+_0x264497+_0x259ec6;return(_0x5133d9<<_0x1e301b|_0x5133d9>>>0x20-_0x1e301b)+_0x4fdef0;}function _0xfe1108(_0xf9c423,_0x2c1e80,_0x1674c5,_0x4b15f6,_0x53e9c5,_0x19fb33,_0x8356b4){var _0x48e7d3=_0xf9c423+(_0x2c1e80&_0x4b15f6|_0x1674c5&~_0x4b15f6)+_0x53e9c5+_0x8356b4;return(_0x48e7d3<<_0x19fb33|_0x48e7d3>>>0x20-_0x19fb33)+_0x2c1e80;}function _0x45d156(_0x4ef463,_0x1cb1df,_0x50f4e4,_0xb9d8d2,_0xf3ca13,_0xa2b838,_0x26d9df){var _0xc37679=_0x4ef463+(_0x1cb1df^_0x50f4e4^_0xb9d8d2)+_0xf3ca13+_0x26d9df;return(_0xc37679<<_0xa2b838|_0xc37679>>>0x20-_0xa2b838)+_0x1cb1df;}function _0xbe7c54(_0x26cd13,_0x4cc898,_0x3204af,_0x4a0ff8,_0x1d4245,_0x2551da,_0x1f0297){var _0x343c75=_0x26cd13+(_0x3204af^(_0x4cc898|~_0x4a0ff8))+_0x1d4245+_0x1f0297;return(_0x343c75<<_0x2551da|_0x343c75>>>0x20-_0x2551da)+_0x4cc898;}_0xb3abbe['MD5']=_0x4adecc[_0x8be89(0x26b)](_0x4ab003),_0xb3abbe[_0x8be89(0x4bc)]=_0x4adecc[_0x8be89(0x357)](_0x4ab003);}(Math),_0x12bffa['MD5'];}));}(_0x4efad2)),_0x4efad2[_0x4a649b(0x483)];}var _0x38d318={'exports':{}},_0x58f15c={'exports':{}},_0x1da712=_0x58f15c['exports'],_0x39f771;function _0x106db6(){var _0x2db9bb=_0x402f51;return _0x39f771||(_0x39f771=0x1,function(_0x3ab28f,_0x164613){(function(_0x28a5ba,_0x509d44){var _0x198f87=_0x2952;_0x3ab28f[_0x198f87(0x483)]=_0x509d44(_0x466f9b());}(_0x1da712,function(_0x18392e){return(function(){var _0x12bd9f=_0x2952,_0x486018=_0x18392e,_0x177258=_0x486018[_0x12bd9f(0x315)],_0x319fb4=_0x177258['WordArray'],_0x1482e4=_0x177258[_0x12bd9f(0x32d)],_0x54e2c5=_0x486018[_0x12bd9f(0x24f)],_0x8ff104=[],_0x4ba3f4=_0x54e2c5[_0x12bd9f(0x2f1)]=_0x1482e4[_0x12bd9f(0x467)]({'_doReset':function(){var _0x286e62=_0x12bd9f;this[_0x286e62(0x2e5)]=new _0x319fb4['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x9099e3,_0x476474){var _0x3352ca=_0x12bd9f;for(var _0x40d64d=this[_0x3352ca(0x2e5)][_0x3352ca(0x267)],_0x2f638c=_0x40d64d[0x0],_0x10e395=_0x40d64d[0x1],_0x13fdb6=_0x40d64d[0x2],_0x18668f=_0x40d64d[0x3],_0x545a78=_0x40d64d[0x4],_0x5b52d9=0x0;_0x5b52d9<0x50;_0x5b52d9++){if(_0x5b52d9<0x10)_0x8ff104[_0x5b52d9]=_0x9099e3[_0x476474+_0x5b52d9]|0x0;else{var _0x1b94f4=_0x8ff104[_0x5b52d9-0x3]^_0x8ff104[_0x5b52d9-0x8]^_0x8ff104[_0x5b52d9-0xe]^_0x8ff104[_0x5b52d9-0x10];_0x8ff104[_0x5b52d9]=_0x1b94f4<<0x1|_0x1b94f4>>>0x1f;}var _0x315afd=(_0x2f638c<<0x5|_0x2f638c>>>0x1b)+_0x545a78+_0x8ff104[_0x5b52d9];_0x5b52d9<0x14?_0x315afd+=(_0x10e395&_0x13fdb6|~_0x10e395&_0x18668f)+0x5a827999:_0x5b52d9<0x28?_0x315afd+=(_0x10e395^_0x13fdb6^_0x18668f)+0x6ed9eba1:_0x5b52d9<0x3c?_0x315afd+=(_0x10e395&_0x13fdb6|_0x10e395&_0x18668f|_0x13fdb6&_0x18668f)-0x70e44324:_0x315afd+=(_0x10e395^_0x13fdb6^_0x18668f)-0x359d3e2a,_0x545a78=_0x18668f,_0x18668f=_0x13fdb6,_0x13fdb6=_0x10e395<<0x1e|_0x10e395>>>0x2,_0x10e395=_0x2f638c,_0x2f638c=_0x315afd;}_0x40d64d[0x0]=_0x40d64d[0x0]+_0x2f638c|0x0,_0x40d64d[0x1]=_0x40d64d[0x1]+_0x10e395|0x0,_0x40d64d[0x2]=_0x40d64d[0x2]+_0x13fdb6|0x0,_0x40d64d[0x3]=_0x40d64d[0x3]+_0x18668f|0x0,_0x40d64d[0x4]=_0x40d64d[0x4]+_0x545a78|0x0;},'_doFinalize':function(){var _0x46aee2=_0x12bd9f,_0x53f3c6=this['_data'],_0x5540df=_0x53f3c6[_0x46aee2(0x267)],_0x1ff932=this[_0x46aee2(0x336)]*0x8,_0xfc15b6=_0x53f3c6[_0x46aee2(0x3ed)]*0x8;return _0x5540df[_0xfc15b6>>>0x5]|=0x80<<0x18-_0xfc15b6%0x20,_0x5540df[(_0xfc15b6+0x40>>>0x9<<0x4)+0xe]=Math[_0x46aee2(0x549)](_0x1ff932/0x100000000),_0x5540df[(_0xfc15b6+0x40>>>0x9<<0x4)+0xf]=_0x1ff932,_0x53f3c6[_0x46aee2(0x3ed)]=_0x5540df['length']*0x4,this[_0x46aee2(0x3e9)](),this[_0x46aee2(0x2e5)];},'clone':function(){var _0x3e9916=_0x12bd9f,_0x31e29c=_0x1482e4[_0x3e9916(0x3a2)]['call'](this);return _0x31e29c[_0x3e9916(0x2e5)]=this[_0x3e9916(0x2e5)][_0x3e9916(0x3a2)](),_0x31e29c;}});_0x486018[_0x12bd9f(0x2f1)]=_0x1482e4[_0x12bd9f(0x26b)](_0x4ba3f4),_0x486018[_0x12bd9f(0x468)]=_0x1482e4[_0x12bd9f(0x357)](_0x4ba3f4);}()),_0x18392e['SHA1'];}));}(_0x58f15c)),_0x58f15c[_0x2db9bb(0x483)];}var _0x3166ab={'exports':{}},_0x10ddbd=_0x3166ab['exports'],_0x4bea5d;function _0xbb820(){var _0x33ebb8=_0x402f51;return _0x4bea5d||(_0x4bea5d=0x1,function(_0x4542b2,_0x1f787a){(function(_0x28deaf,_0x237ff5){var _0x49b60b=_0x2952;_0x4542b2[_0x49b60b(0x483)]=_0x237ff5(_0x466f9b());}(_0x10ddbd,function(_0x30bccd){(function(){var _0x5e3b3b=_0x2952,_0x1cdea1=_0x30bccd,_0x204f58=_0x1cdea1[_0x5e3b3b(0x315)],_0x2085a4=_0x204f58[_0x5e3b3b(0x4b7)],_0x45e2c1=_0x1cdea1[_0x5e3b3b(0x2f4)],_0x56949c=_0x45e2c1['Utf8'],_0x9d52bc=_0x1cdea1[_0x5e3b3b(0x24f)];_0x9d52bc[_0x5e3b3b(0x316)]=_0x2085a4[_0x5e3b3b(0x467)]({'init':function(_0x1b79b8,_0x4912df){var _0x1951ff=_0x5e3b3b;_0x1b79b8=this[_0x1951ff(0x426)]=new _0x1b79b8[(_0x1951ff(0x4eb))](),typeof _0x4912df==_0x1951ff(0x228)&&(_0x4912df=_0x56949c[_0x1951ff(0x364)](_0x4912df));var _0x1f1be8=_0x1b79b8[_0x1951ff(0x3e4)],_0x35501d=_0x1f1be8*0x4;_0x4912df[_0x1951ff(0x3ed)]>_0x35501d&&(_0x4912df=_0x1b79b8[_0x1951ff(0x3ae)](_0x4912df)),_0x4912df[_0x1951ff(0x54f)]();for(var _0xe5a945=this[_0x1951ff(0x35f)]=_0x4912df[_0x1951ff(0x3a2)](),_0x48e6cc=this[_0x1951ff(0x38c)]=_0x4912df[_0x1951ff(0x3a2)](),_0x27cde7=_0xe5a945[_0x1951ff(0x267)],_0x5969dc=_0x48e6cc[_0x1951ff(0x267)],_0x42ad67=0x0;_0x42ad67<_0x1f1be8;_0x42ad67++)_0x27cde7[_0x42ad67]^=0x5c5c5c5c,_0x5969dc[_0x42ad67]^=0x36363636;_0xe5a945[_0x1951ff(0x3ed)]=_0x48e6cc['sigBytes']=_0x35501d,this[_0x1951ff(0x3b6)]();},'reset':function(){var _0x5e1bd3=_0x5e3b3b,_0x29e70b=this[_0x5e1bd3(0x426)];_0x29e70b[_0x5e1bd3(0x3b6)](),_0x29e70b['update'](this[_0x5e1bd3(0x38c)]);},'update':function(_0x53085d){var _0x6a778c=_0x5e3b3b;return this[_0x6a778c(0x426)]['update'](_0x53085d),this;},'finalize':function(_0x5b87b3){var _0x45b5dd=_0x5e3b3b,_0x13f783=this['_hasher'],_0x4b42af=_0x13f783[_0x45b5dd(0x3ae)](_0x5b87b3);_0x13f783['reset']();var _0x40da61=_0x13f783['finalize'](this[_0x45b5dd(0x35f)][_0x45b5dd(0x3a2)]()['concat'](_0x4b42af));return _0x40da61;}});}());}));}(_0x3166ab)),_0x3166ab[_0x33ebb8(0x483)];}var _0x19ac01=_0x38d318[_0x402f51(0x483)],_0x4dcbc7;function _0x20ef7d(){var _0x3031fa=_0x402f51;return _0x4dcbc7||(_0x4dcbc7=0x1,function(_0x18787f,_0x376378){(function(_0x16572a,_0x344008,_0x1f016c){var _0x37fcef=_0x2952;_0x18787f[_0x37fcef(0x483)]=_0x344008(_0x466f9b(),_0x106db6(),_0xbb820());}(_0x19ac01,function(_0x39f690){var _0x114078=_0x2952;return(function(){var _0x34a413=_0x2952,_0x3cc1e1=_0x39f690,_0x346bcd=_0x3cc1e1[_0x34a413(0x315)],_0x36300a=_0x346bcd[_0x34a413(0x4b7)],_0x355401=_0x346bcd['WordArray'],_0x112acb=_0x3cc1e1[_0x34a413(0x24f)],_0x180de1=_0x112acb[_0x34a413(0x43b)],_0xe6bd61=_0x112acb[_0x34a413(0x561)]=_0x36300a['extend']({'cfg':_0x36300a['extend']({'keySize':0x80/0x20,'hasher':_0x180de1,'iterations':0x1}),'init':function(_0x302e84){var _0x43856c=_0x34a413;this[_0x43856c(0x1f5)]=this[_0x43856c(0x1f5)][_0x43856c(0x467)](_0x302e84);},'compute':function(_0x3e92c2,_0x36f52a){var _0x57bc16=_0x34a413;for(var _0x44aa06,_0x4e19a8=this[_0x57bc16(0x1f5)],_0x6d9ced=_0x4e19a8[_0x57bc16(0x283)][_0x57bc16(0x2ad)](),_0x5333a2=_0x355401[_0x57bc16(0x2ad)](),_0x5ab0fd=_0x5333a2[_0x57bc16(0x267)],_0x5917b1=_0x4e19a8['keySize'],_0x2123f0=_0x4e19a8['iterations'];_0x5ab0fd[_0x57bc16(0x4c4)]<_0x5917b1;){_0x44aa06&&_0x6d9ced[_0x57bc16(0x20a)](_0x44aa06),_0x44aa06=_0x6d9ced[_0x57bc16(0x20a)](_0x3e92c2)['finalize'](_0x36f52a),_0x6d9ced[_0x57bc16(0x3b6)]();for(var _0x3742d4=0x1;_0x3742d4<_0x2123f0;_0x3742d4++)_0x44aa06=_0x6d9ced[_0x57bc16(0x3ae)](_0x44aa06),_0x6d9ced['reset']();_0x5333a2[_0x57bc16(0x544)](_0x44aa06);}return _0x5333a2[_0x57bc16(0x3ed)]=_0x5917b1*0x4,_0x5333a2;}});_0x3cc1e1[_0x34a413(0x561)]=function(_0x501027,_0x4424eb,_0x3798ff){var _0x232412=_0x34a413;return _0xe6bd61[_0x232412(0x2ad)](_0x3798ff)[_0x232412(0x4df)](_0x501027,_0x4424eb);};}()),_0x39f690[_0x114078(0x561)];}));}(_0x38d318)),_0x38d318[_0x3031fa(0x483)];}var _0x1b4b8e={'exports':{}},_0x37dcd5=_0x1b4b8e[_0x402f51(0x483)],_0x2ba143;function _0x3be1f4(){var _0x456125=_0x402f51;return _0x2ba143||(_0x2ba143=0x1,function(_0x1944aa,_0x2256c3){(function(_0x3315d3,_0x13c88a,_0x531a01){_0x1944aa['exports']=_0x13c88a(_0x466f9b(),_0x20ef7d());}(_0x37dcd5,function(_0x2199eb){var _0x3aa341=_0x2952;_0x2199eb['lib'][_0x3aa341(0x548)]||function(_0x4f3951){var _0x197068=_0x3aa341,_0x15b596=_0x2199eb,_0x230b4b=_0x15b596[_0x197068(0x315)],_0x59f196=_0x230b4b['Base'],_0x3e6a21=_0x230b4b['WordArray'],_0x393829=_0x230b4b[_0x197068(0x356)],_0x1d016b=_0x15b596[_0x197068(0x2f4)];_0x1d016b[_0x197068(0x281)];var _0x3f27ca=_0x1d016b[_0x197068(0x273)],_0x4fb9a0=_0x15b596[_0x197068(0x24f)],_0x2d6be2=_0x4fb9a0[_0x197068(0x561)],_0x35439b=_0x230b4b['Cipher']=_0x393829['extend']({'cfg':_0x59f196[_0x197068(0x467)](),'createEncryptor':function(_0x20ba19,_0x2bfda7){var _0x3f1917=_0x197068;return this[_0x3f1917(0x2ad)](this[_0x3f1917(0x33f)],_0x20ba19,_0x2bfda7);},'createDecryptor':function(_0x190e23,_0x114f11){var _0x252531=_0x197068;return this[_0x252531(0x2ad)](this['_DEC_XFORM_MODE'],_0x190e23,_0x114f11);},'init':function(_0x3f7c2e,_0x195bf3,_0x6585bf){var _0x16cd88=_0x197068;this['cfg']=this[_0x16cd88(0x1f5)][_0x16cd88(0x467)](_0x6585bf),this[_0x16cd88(0x2b1)]=_0x3f7c2e,this[_0x16cd88(0x3df)]=_0x195bf3,this[_0x16cd88(0x3b6)]();},'reset':function(){var _0x5d9f5f=_0x197068;_0x393829['reset'][_0x5d9f5f(0x4b0)](this),this[_0x5d9f5f(0x2f5)]();},'process':function(_0x2cc074){var _0x1cc3f1=_0x197068;return this[_0x1cc3f1(0x2f7)](_0x2cc074),this[_0x1cc3f1(0x3e9)]();},'finalize':function(_0x57f5e9){_0x57f5e9&&this['_append'](_0x57f5e9);var _0x1d4985=this['_doFinalize']();return _0x1d4985;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x30e4d1(_0x513eb4){var _0x40de7c=_0x2952;return typeof _0x513eb4==_0x40de7c(0x228)?_0x3ed8c5:_0x48ff7b;}return function(_0x4bcf73){return{'encrypt':function(_0x1d0ddc,_0x53c3ba,_0xb75cd9){var _0x542f6c=_0x2952;return _0x30e4d1(_0x53c3ba)[_0x542f6c(0x258)](_0x4bcf73,_0x1d0ddc,_0x53c3ba,_0xb75cd9);},'decrypt':function(_0x1f9cff,_0x1b633b,_0x5e5339){var _0x300d1e=_0x2952;return _0x30e4d1(_0x1b633b)[_0x300d1e(0x32e)](_0x4bcf73,_0x1f9cff,_0x1b633b,_0x5e5339);}};};}())});_0x230b4b[_0x197068(0x2b5)]=_0x35439b[_0x197068(0x467)]({'_doFinalize':function(){var _0x387aa5=_0x197068,_0x5ebaa6=this[_0x387aa5(0x3e9)](!0x0);return _0x5ebaa6;},'blockSize':0x1});var _0x5c8fa1=_0x15b596[_0x197068(0x47f)]={},_0x569ca5=_0x230b4b[_0x197068(0x50d)]=_0x59f196[_0x197068(0x467)]({'createEncryptor':function(_0x44665a,_0x291d5c){var _0x63eba0=_0x197068;return this[_0x63eba0(0x367)][_0x63eba0(0x2ad)](_0x44665a,_0x291d5c);},'createDecryptor':function(_0x54ff64,_0x285243){var _0x3ca0c6=_0x197068;return this[_0x3ca0c6(0x547)][_0x3ca0c6(0x2ad)](_0x54ff64,_0x285243);},'init':function(_0x3e60ec,_0x148162){this['_cipher']=_0x3e60ec,this['_iv']=_0x148162;}}),_0xd49d16=_0x5c8fa1['CBC']=(function(){var _0x1f3082=_0x197068,_0x3deb14=_0x569ca5[_0x1f3082(0x467)]();_0x3deb14[_0x1f3082(0x367)]=_0x3deb14[_0x1f3082(0x467)]({'processBlock':function(_0x2e71d2,_0x3bc3d3){var _0x1717ec=_0x1f3082,_0x54cb68=this[_0x1717ec(0x519)],_0x50f92b=_0x54cb68[_0x1717ec(0x3e4)];_0x3f3d7d['call'](this,_0x2e71d2,_0x3bc3d3,_0x50f92b),_0x54cb68[_0x1717ec(0x2be)](_0x2e71d2,_0x3bc3d3),this[_0x1717ec(0x523)]=_0x2e71d2[_0x1717ec(0x4d3)](_0x3bc3d3,_0x3bc3d3+_0x50f92b);}}),_0x3deb14[_0x1f3082(0x547)]=_0x3deb14['extend']({'processBlock':function(_0x32badd,_0x224fb1){var _0x104f41=_0x1f3082,_0x34386c=this[_0x104f41(0x519)],_0x3183ac=_0x34386c[_0x104f41(0x3e4)],_0x52ba2a=_0x32badd[_0x104f41(0x4d3)](_0x224fb1,_0x224fb1+_0x3183ac);_0x34386c[_0x104f41(0x4d6)](_0x32badd,_0x224fb1),_0x3f3d7d[_0x104f41(0x4b0)](this,_0x32badd,_0x224fb1,_0x3183ac),this['_prevBlock']=_0x52ba2a;}});function _0x3f3d7d(_0x439887,_0x3ad350,_0x27e56f){var _0x1ac765=_0x1f3082,_0xb30e1c,_0x394c1e=this[_0x1ac765(0x26d)];_0x394c1e?(_0xb30e1c=_0x394c1e,this[_0x1ac765(0x26d)]=_0x4f3951):_0xb30e1c=this['_prevBlock'];for(var _0x59ba27=0x0;_0x59ba27<_0x27e56f;_0x59ba27++)_0x439887[_0x3ad350+_0x59ba27]^=_0xb30e1c[_0x59ba27];}return _0x3deb14;}()),_0x4cb90e=_0x15b596[_0x197068(0x427)]={},_0x3ddf5b=_0x4cb90e[_0x197068(0x506)]={'pad':function(_0xe9056a,_0xa2361a){var _0x3394eb=_0x197068;for(var _0x2e0733=_0xa2361a*0x4,_0x30fbba=_0x2e0733-_0xe9056a[_0x3394eb(0x3ed)]%_0x2e0733,_0x41bcb1=_0x30fbba<<0x18|_0x30fbba<<0x10|_0x30fbba<<0x8|_0x30fbba,_0x4b79f5=[],_0x1d9150=0x0;_0x1d9150<_0x30fbba;_0x1d9150+=0x4)_0x4b79f5[_0x3394eb(0x221)](_0x41bcb1);var _0x2713a0=_0x3e6a21[_0x3394eb(0x2ad)](_0x4b79f5,_0x30fbba);_0xe9056a['concat'](_0x2713a0);},'unpad':function(_0x401367){var _0x3fc199=_0x197068,_0x371309=_0x401367['words'][_0x401367[_0x3fc199(0x3ed)]-0x1>>>0x2]&0xff;_0x401367[_0x3fc199(0x3ed)]-=_0x371309;}};_0x230b4b['BlockCipher']=_0x35439b[_0x197068(0x467)]({'cfg':_0x35439b[_0x197068(0x1f5)][_0x197068(0x467)]({'mode':_0xd49d16,'padding':_0x3ddf5b}),'reset':function(){var _0x91a35e=_0x197068,_0xfced7c;_0x35439b[_0x91a35e(0x3b6)][_0x91a35e(0x4b0)](this);var _0x283b15=this[_0x91a35e(0x1f5)],_0x27aded=_0x283b15['iv'],_0x5286a8=_0x283b15[_0x91a35e(0x47f)];this['_xformMode']==this[_0x91a35e(0x33f)]?_0xfced7c=_0x5286a8['createEncryptor']:(_0xfced7c=_0x5286a8[_0x91a35e(0x230)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x91a35e(0x374)][_0x91a35e(0x485)]==_0xfced7c?this[_0x91a35e(0x374)][_0x91a35e(0x4eb)](this,_0x27aded&&_0x27aded['words']):(this[_0x91a35e(0x374)]=_0xfced7c[_0x91a35e(0x4b0)](_0x5286a8,this,_0x27aded&&_0x27aded[_0x91a35e(0x267)]),this[_0x91a35e(0x374)][_0x91a35e(0x485)]=_0xfced7c);},'_doProcessBlock':function(_0x4f8f71,_0x4deede){var _0x42ca75=_0x197068;this[_0x42ca75(0x374)][_0x42ca75(0x332)](_0x4f8f71,_0x4deede);},'_doFinalize':function(){var _0x247c2a=_0x197068,_0x43514e,_0x21c2f0=this[_0x247c2a(0x1f5)][_0x247c2a(0x313)];return this[_0x247c2a(0x2b1)]==this['_ENC_XFORM_MODE']?(_0x21c2f0['pad'](this[_0x247c2a(0x43a)],this[_0x247c2a(0x3e4)]),_0x43514e=this['_process'](!0x0)):(_0x43514e=this[_0x247c2a(0x3e9)](!0x0),_0x21c2f0[_0x247c2a(0x4ff)](_0x43514e)),_0x43514e;},'blockSize':0x80/0x20});var _0x3ca420=_0x230b4b[_0x197068(0x499)]=_0x59f196[_0x197068(0x467)]({'init':function(_0x1623b6){var _0x374433=_0x197068;this[_0x374433(0x349)](_0x1623b6);},'toString':function(_0x2f7860){var _0x343692=_0x197068;return(_0x2f7860||this[_0x343692(0x4c9)])[_0x343692(0x494)](this);}}),_0x9e31c1=_0x15b596[_0x197068(0x3d2)]={},_0x4a38ef=_0x9e31c1[_0x197068(0x4bf)]={'stringify':function(_0x4fbe76){var _0xa4b166=_0x197068,_0x3a2eea,_0x1fd304=_0x4fbe76[_0xa4b166(0x4f7)],_0x5e05f8=_0x4fbe76['salt'];return _0x5e05f8?_0x3a2eea=_0x3e6a21[_0xa4b166(0x2ad)]([0x53616c74,0x65645f5f])[_0xa4b166(0x544)](_0x5e05f8)[_0xa4b166(0x544)](_0x1fd304):_0x3a2eea=_0x1fd304,_0x3a2eea[_0xa4b166(0x2ca)](_0x3f27ca);},'parse':function(_0x4d5f09){var _0x4fd3a5=_0x197068,_0xefc86c,_0x12c0c1=_0x3f27ca[_0x4fd3a5(0x364)](_0x4d5f09),_0x3eb66b=_0x12c0c1[_0x4fd3a5(0x267)];return _0x3eb66b[0x0]==0x53616c74&&_0x3eb66b[0x1]==0x65645f5f&&(_0xefc86c=_0x3e6a21[_0x4fd3a5(0x2ad)](_0x3eb66b[_0x4fd3a5(0x4d3)](0x2,0x4)),_0x3eb66b['splice'](0x0,0x4),_0x12c0c1['sigBytes']-=0x10),_0x3ca420[_0x4fd3a5(0x2ad)]({'ciphertext':_0x12c0c1,'salt':_0xefc86c});}},_0x48ff7b=_0x230b4b[_0x197068(0x248)]=_0x59f196[_0x197068(0x467)]({'cfg':_0x59f196[_0x197068(0x467)]({'format':_0x4a38ef}),'encrypt':function(_0x151a35,_0x164ea8,_0x4f4be1,_0x16bc21){var _0x550327=_0x197068;_0x16bc21=this[_0x550327(0x1f5)][_0x550327(0x467)](_0x16bc21);var _0x2b17ea=_0x151a35[_0x550327(0x430)](_0x4f4be1,_0x16bc21),_0xe03efe=_0x2b17ea['finalize'](_0x164ea8),_0x1275a7=_0x2b17ea['cfg'];return _0x3ca420[_0x550327(0x2ad)]({'ciphertext':_0xe03efe,'key':_0x4f4be1,'iv':_0x1275a7['iv'],'algorithm':_0x151a35,'mode':_0x1275a7['mode'],'padding':_0x1275a7[_0x550327(0x313)],'blockSize':_0x151a35[_0x550327(0x3e4)],'formatter':_0x16bc21['format']});},'decrypt':function(_0x2e67cd,_0x3ed3f9,_0x145452,_0x566125){var _0x49c6ec=_0x197068;_0x566125=this[_0x49c6ec(0x1f5)][_0x49c6ec(0x467)](_0x566125),_0x3ed3f9=this['_parse'](_0x3ed3f9,_0x566125[_0x49c6ec(0x3d2)]);var _0x28cd98=_0x2e67cd[_0x49c6ec(0x230)](_0x145452,_0x566125)[_0x49c6ec(0x3ae)](_0x3ed3f9[_0x49c6ec(0x4f7)]);return _0x28cd98;},'_parse':function(_0x1df0d7,_0x28131a){var _0x7f972=_0x197068;return typeof _0x1df0d7==_0x7f972(0x228)?_0x28131a[_0x7f972(0x364)](_0x1df0d7,this):_0x1df0d7;}}),_0x5a3c3c=_0x15b596[_0x197068(0x384)]={},_0x56ba9b=_0x5a3c3c[_0x197068(0x4bf)]={'execute':function(_0x29b28c,_0x1bcba6,_0x275cd1,_0x2b0111,_0x20be0d){var _0x4d9548=_0x197068;if(_0x2b0111||(_0x2b0111=_0x3e6a21['random'](0x40/0x8)),_0x20be0d)var _0x40cc5a=_0x2d6be2[_0x4d9548(0x2ad)]({'keySize':_0x1bcba6+_0x275cd1,'hasher':_0x20be0d})[_0x4d9548(0x4df)](_0x29b28c,_0x2b0111);else var _0x40cc5a=_0x2d6be2[_0x4d9548(0x2ad)]({'keySize':_0x1bcba6+_0x275cd1})['compute'](_0x29b28c,_0x2b0111);var _0x4054fa=_0x3e6a21[_0x4d9548(0x2ad)](_0x40cc5a[_0x4d9548(0x267)][_0x4d9548(0x4d3)](_0x1bcba6),_0x275cd1*0x4);return _0x40cc5a[_0x4d9548(0x3ed)]=_0x1bcba6*0x4,_0x3ca420[_0x4d9548(0x2ad)]({'key':_0x40cc5a,'iv':_0x4054fa,'salt':_0x2b0111});}},_0x3ed8c5=_0x230b4b[_0x197068(0x233)]=_0x48ff7b[_0x197068(0x467)]({'cfg':_0x48ff7b['cfg'][_0x197068(0x467)]({'kdf':_0x56ba9b}),'encrypt':function(_0x2d8923,_0x2c9b3b,_0x9b093c,_0x417594){var _0x3b549f=_0x197068;_0x417594=this[_0x3b549f(0x1f5)]['extend'](_0x417594);var _0x44b7f1=_0x417594[_0x3b549f(0x384)]['execute'](_0x9b093c,_0x2d8923['keySize'],_0x2d8923['ivSize'],_0x417594['salt'],_0x417594[_0x3b549f(0x283)]);_0x417594['iv']=_0x44b7f1['iv'];var _0xa07fb7=_0x48ff7b[_0x3b549f(0x258)]['call'](this,_0x2d8923,_0x2c9b3b,_0x44b7f1[_0x3b549f(0x412)],_0x417594);return _0xa07fb7['mixIn'](_0x44b7f1),_0xa07fb7;},'decrypt':function(_0x1fb5ea,_0x3b6eba,_0x2201ce,_0x3fcc6b){var _0x387545=_0x197068;_0x3fcc6b=this[_0x387545(0x1f5)][_0x387545(0x467)](_0x3fcc6b),_0x3b6eba=this[_0x387545(0x4f9)](_0x3b6eba,_0x3fcc6b[_0x387545(0x3d2)]);var _0x1d3a04=_0x3fcc6b[_0x387545(0x384)][_0x387545(0x292)](_0x2201ce,_0x1fb5ea[_0x387545(0x478)],_0x1fb5ea['ivSize'],_0x3b6eba[_0x387545(0x4c1)],_0x3fcc6b['hasher']);_0x3fcc6b['iv']=_0x1d3a04['iv'];var _0x4d81ff=_0x48ff7b['decrypt'][_0x387545(0x4b0)](this,_0x1fb5ea,_0x3b6eba,_0x1d3a04[_0x387545(0x412)],_0x3fcc6b);return _0x4d81ff;}});}();}));}(_0x1b4b8e)),_0x1b4b8e[_0x456125(0x483)];}var _0x3cb9c3=_0x4c01b0[_0x402f51(0x483)],_0x5aec37;function _0x265d2b(){var _0x5ac0f9=_0x402f51;return _0x5aec37||(_0x5aec37=0x1,function(_0x3e62fd,_0x21e976){(function(_0x3abebd,_0x543630,_0x406230){_0x3e62fd['exports']=_0x543630(_0x466f9b(),_0x1ad1cc(),_0x34d202(),_0x20ef7d(),_0x3be1f4());}(_0x3cb9c3,function(_0x4dfce0){var _0x1e5469=_0x2952;return(function(){var _0x3338c8=_0x2952,_0x4d3238=_0x4dfce0,_0x33c0b3=_0x4d3238[_0x3338c8(0x315)],_0x495336=_0x33c0b3[_0x3338c8(0x2ba)],_0x570c24=_0x4d3238[_0x3338c8(0x24f)],_0x23cd64=[],_0x299191=[],_0x93da3=[],_0x1c09ed=[],_0x430e19=[],_0x1aaa5d=[],_0x1e2fe7=[],_0xb9f89b=[],_0x265708=[],_0x4f88c7=[];(function(){for(var _0x5601b6=[],_0x1b73f6=0x0;_0x1b73f6<0x100;_0x1b73f6++)_0x1b73f6<0x80?_0x5601b6[_0x1b73f6]=_0x1b73f6<<0x1:_0x5601b6[_0x1b73f6]=_0x1b73f6<<0x1^0x11b;for(var _0x116692=0x0,_0x1f4e98=0x0,_0x1b73f6=0x0;_0x1b73f6<0x100;_0x1b73f6++){var _0x1a15fa=_0x1f4e98^_0x1f4e98<<0x1^_0x1f4e98<<0x2^_0x1f4e98<<0x3^_0x1f4e98<<0x4;_0x1a15fa=_0x1a15fa>>>0x8^_0x1a15fa&0xff^0x63,_0x23cd64[_0x116692]=_0x1a15fa,_0x299191[_0x1a15fa]=_0x116692;var _0x30b553=_0x5601b6[_0x116692],_0x40e9ff=_0x5601b6[_0x30b553],_0x15f1bb=_0x5601b6[_0x40e9ff],_0x3975d4=_0x5601b6[_0x1a15fa]*0x101^_0x1a15fa*0x1010100;_0x93da3[_0x116692]=_0x3975d4<<0x18|_0x3975d4>>>0x8,_0x1c09ed[_0x116692]=_0x3975d4<<0x10|_0x3975d4>>>0x10,_0x430e19[_0x116692]=_0x3975d4<<0x8|_0x3975d4>>>0x18,_0x1aaa5d[_0x116692]=_0x3975d4;var _0x3975d4=_0x15f1bb*0x1010101^_0x40e9ff*0x10001^_0x30b553*0x101^_0x116692*0x1010100;_0x1e2fe7[_0x1a15fa]=_0x3975d4<<0x18|_0x3975d4>>>0x8,_0xb9f89b[_0x1a15fa]=_0x3975d4<<0x10|_0x3975d4>>>0x10,_0x265708[_0x1a15fa]=_0x3975d4<<0x8|_0x3975d4>>>0x18,_0x4f88c7[_0x1a15fa]=_0x3975d4,_0x116692?(_0x116692=_0x30b553^_0x5601b6[_0x5601b6[_0x5601b6[_0x15f1bb^_0x30b553]]],_0x1f4e98^=_0x5601b6[_0x5601b6[_0x1f4e98]]):_0x116692=_0x1f4e98=0x1;}}());var _0xa4c0d5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x401ae7=_0x570c24[_0x3338c8(0x3ba)]=_0x495336['extend']({'_doReset':function(){var _0x5f0132=_0x3338c8,_0x8a33e2;if(!(this['_nRounds']&&this[_0x5f0132(0x3a0)]===this[_0x5f0132(0x3df)])){for(var _0x526d0a=this[_0x5f0132(0x3a0)]=this[_0x5f0132(0x3df)],_0x1fb445=_0x526d0a[_0x5f0132(0x267)],_0x57054a=_0x526d0a['sigBytes']/0x4,_0x442a7c=this[_0x5f0132(0x51b)]=_0x57054a+0x6,_0x5ed497=(_0x442a7c+0x1)*0x4,_0x33c4a5=this[_0x5f0132(0x42e)]=[],_0x393d2a=0x0;_0x393d2a<_0x5ed497;_0x393d2a++)_0x393d2a<_0x57054a?_0x33c4a5[_0x393d2a]=_0x1fb445[_0x393d2a]:(_0x8a33e2=_0x33c4a5[_0x393d2a-0x1],_0x393d2a%_0x57054a?_0x57054a>0x6&&_0x393d2a%_0x57054a==0x4&&(_0x8a33e2=_0x23cd64[_0x8a33e2>>>0x18]<<0x18|_0x23cd64[_0x8a33e2>>>0x10&0xff]<<0x10|_0x23cd64[_0x8a33e2>>>0x8&0xff]<<0x8|_0x23cd64[_0x8a33e2&0xff]):(_0x8a33e2=_0x8a33e2<<0x8|_0x8a33e2>>>0x18,_0x8a33e2=_0x23cd64[_0x8a33e2>>>0x18]<<0x18|_0x23cd64[_0x8a33e2>>>0x10&0xff]<<0x10|_0x23cd64[_0x8a33e2>>>0x8&0xff]<<0x8|_0x23cd64[_0x8a33e2&0xff],_0x8a33e2^=_0xa4c0d5[_0x393d2a/_0x57054a|0x0]<<0x18),_0x33c4a5[_0x393d2a]=_0x33c4a5[_0x393d2a-_0x57054a]^_0x8a33e2);for(var _0x262e87=this['_invKeySchedule']=[],_0x46492d=0x0;_0x46492d<_0x5ed497;_0x46492d++){var _0x393d2a=_0x5ed497-_0x46492d;if(_0x46492d%0x4)var _0x8a33e2=_0x33c4a5[_0x393d2a];else var _0x8a33e2=_0x33c4a5[_0x393d2a-0x4];_0x46492d<0x4||_0x393d2a<=0x4?_0x262e87[_0x46492d]=_0x8a33e2:_0x262e87[_0x46492d]=_0x1e2fe7[_0x23cd64[_0x8a33e2>>>0x18]]^_0xb9f89b[_0x23cd64[_0x8a33e2>>>0x10&0xff]]^_0x265708[_0x23cd64[_0x8a33e2>>>0x8&0xff]]^_0x4f88c7[_0x23cd64[_0x8a33e2&0xff]];}}},'encryptBlock':function(_0x25e07d,_0x2d69f0){var _0x54dffd=_0x3338c8;this['_doCryptBlock'](_0x25e07d,_0x2d69f0,this[_0x54dffd(0x42e)],_0x93da3,_0x1c09ed,_0x430e19,_0x1aaa5d,_0x23cd64);},'decryptBlock':function(_0x58f57e,_0x7e00b){var _0x5531ad=_0x3338c8,_0x515b7f=_0x58f57e[_0x7e00b+0x1];_0x58f57e[_0x7e00b+0x1]=_0x58f57e[_0x7e00b+0x3],_0x58f57e[_0x7e00b+0x3]=_0x515b7f,this[_0x5531ad(0x3c8)](_0x58f57e,_0x7e00b,this['_invKeySchedule'],_0x1e2fe7,_0xb9f89b,_0x265708,_0x4f88c7,_0x299191);var _0x515b7f=_0x58f57e[_0x7e00b+0x1];_0x58f57e[_0x7e00b+0x1]=_0x58f57e[_0x7e00b+0x3],_0x58f57e[_0x7e00b+0x3]=_0x515b7f;},'_doCryptBlock':function(_0xd451fd,_0x374a13,_0x46bd7e,_0x41bca2,_0x1010b0,_0x7e16b8,_0xdacca6,_0x15a053){var _0x5c30e3=_0x3338c8;for(var _0x16b210=this[_0x5c30e3(0x51b)],_0x4ac519=_0xd451fd[_0x374a13]^_0x46bd7e[0x0],_0x534c63=_0xd451fd[_0x374a13+0x1]^_0x46bd7e[0x1],_0x2f0cb4=_0xd451fd[_0x374a13+0x2]^_0x46bd7e[0x2],_0xa9592e=_0xd451fd[_0x374a13+0x3]^_0x46bd7e[0x3],_0x4080ed=0x4,_0x455c55=0x1;_0x455c55<_0x16b210;_0x455c55++){var _0x582d57=_0x41bca2[_0x4ac519>>>0x18]^_0x1010b0[_0x534c63>>>0x10&0xff]^_0x7e16b8[_0x2f0cb4>>>0x8&0xff]^_0xdacca6[_0xa9592e&0xff]^_0x46bd7e[_0x4080ed++],_0x976b1b=_0x41bca2[_0x534c63>>>0x18]^_0x1010b0[_0x2f0cb4>>>0x10&0xff]^_0x7e16b8[_0xa9592e>>>0x8&0xff]^_0xdacca6[_0x4ac519&0xff]^_0x46bd7e[_0x4080ed++],_0x549a37=_0x41bca2[_0x2f0cb4>>>0x18]^_0x1010b0[_0xa9592e>>>0x10&0xff]^_0x7e16b8[_0x4ac519>>>0x8&0xff]^_0xdacca6[_0x534c63&0xff]^_0x46bd7e[_0x4080ed++],_0x4a0d97=_0x41bca2[_0xa9592e>>>0x18]^_0x1010b0[_0x4ac519>>>0x10&0xff]^_0x7e16b8[_0x534c63>>>0x8&0xff]^_0xdacca6[_0x2f0cb4&0xff]^_0x46bd7e[_0x4080ed++];_0x4ac519=_0x582d57,_0x534c63=_0x976b1b,_0x2f0cb4=_0x549a37,_0xa9592e=_0x4a0d97;}var _0x582d57=(_0x15a053[_0x4ac519>>>0x18]<<0x18|_0x15a053[_0x534c63>>>0x10&0xff]<<0x10|_0x15a053[_0x2f0cb4>>>0x8&0xff]<<0x8|_0x15a053[_0xa9592e&0xff])^_0x46bd7e[_0x4080ed++],_0x976b1b=(_0x15a053[_0x534c63>>>0x18]<<0x18|_0x15a053[_0x2f0cb4>>>0x10&0xff]<<0x10|_0x15a053[_0xa9592e>>>0x8&0xff]<<0x8|_0x15a053[_0x4ac519&0xff])^_0x46bd7e[_0x4080ed++],_0x549a37=(_0x15a053[_0x2f0cb4>>>0x18]<<0x18|_0x15a053[_0xa9592e>>>0x10&0xff]<<0x10|_0x15a053[_0x4ac519>>>0x8&0xff]<<0x8|_0x15a053[_0x534c63&0xff])^_0x46bd7e[_0x4080ed++],_0x4a0d97=(_0x15a053[_0xa9592e>>>0x18]<<0x18|_0x15a053[_0x4ac519>>>0x10&0xff]<<0x10|_0x15a053[_0x534c63>>>0x8&0xff]<<0x8|_0x15a053[_0x2f0cb4&0xff])^_0x46bd7e[_0x4080ed++];_0xd451fd[_0x374a13]=_0x582d57,_0xd451fd[_0x374a13+0x1]=_0x976b1b,_0xd451fd[_0x374a13+0x2]=_0x549a37,_0xd451fd[_0x374a13+0x3]=_0x4a0d97;},'keySize':0x100/0x20});_0x4d3238[_0x3338c8(0x3ba)]=_0x495336[_0x3338c8(0x26b)](_0x401ae7);}()),_0x4dfce0[_0x1e5469(0x3ba)];}));}(_0x4c01b0)),_0x4c01b0[_0x5ac0f9(0x483)];}var _0x1eb587=_0x265d2b();const _0x3a3250=_0x44b517(_0x1eb587);var _0x479772=_0x1ad1cc();const _0x4d2d44=_0x44b517(_0x479772);var _0x175308={'exports':{}},_0x47a83a=_0x175308[_0x402f51(0x483)],_0x3cefb4;function _0x19bdbc(){var _0x15c8e6=_0x402f51;return _0x3cefb4||(_0x3cefb4=0x1,function(_0x1df2ed,_0x1c424a){(function(_0x41241c,_0x28f466){var _0x5c2bad=_0x2952;_0x1df2ed[_0x5c2bad(0x483)]=_0x28f466(_0x466f9b());}(_0x47a83a,function(_0x2c9fe4){var _0x16481d=_0x2952;return _0x2c9fe4[_0x16481d(0x2f4)][_0x16481d(0x281)];}));}(_0x175308)),_0x175308[_0x15c8e6(0x483)];}var _0x37000b=_0x19bdbc();const _0x2d0252=_0x44b517(_0x37000b);var _0x2ed89a={'exports':{}},_0x516e37=_0x2ed89a[_0x402f51(0x483)],_0x5c6d24;function _0x423ef3(){return _0x5c6d24||(_0x5c6d24=0x1,function(_0xc475d0,_0xa844ec){(function(_0x5719a7,_0x2bd110){var _0x4f9769=_0x2952;_0xc475d0[_0x4f9769(0x483)]=_0x2bd110(_0x466f9b());}(_0x516e37,function(_0x4bd0c2){var _0x558c2e=_0x2952;return(function(){var _0x302f23=_0x2952;if(typeof ArrayBuffer=='function'){var _0x7a6934=_0x4bd0c2,_0x19616a=_0x7a6934['lib'],_0x577ad9=_0x19616a[_0x302f23(0x3e7)],_0x223d23=_0x577ad9[_0x302f23(0x4eb)],_0x213867=_0x577ad9[_0x302f23(0x4eb)]=function(_0x2811aa){var _0x6040bc=_0x302f23;if(_0x2811aa instanceof ArrayBuffer&&(_0x2811aa=new Uint8Array(_0x2811aa)),(_0x2811aa instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2811aa instanceof Uint8ClampedArray||_0x2811aa instanceof Int16Array||_0x2811aa instanceof Uint16Array||_0x2811aa instanceof Int32Array||_0x2811aa instanceof Uint32Array||_0x2811aa instanceof Float32Array||_0x2811aa instanceof Float64Array)&&(_0x2811aa=new Uint8Array(_0x2811aa['buffer'],_0x2811aa['byteOffset'],_0x2811aa[_0x6040bc(0x223)])),_0x2811aa instanceof Uint8Array){for(var _0x20e66d=_0x2811aa[_0x6040bc(0x223)],_0x95be8=[],_0x323d88=0x0;_0x323d88<_0x20e66d;_0x323d88++)_0x95be8[_0x323d88>>>0x2]|=_0x2811aa[_0x323d88]<<0x18-_0x323d88%0x4*0x8;_0x223d23[_0x6040bc(0x4b0)](this,_0x95be8,_0x20e66d);}else _0x223d23[_0x6040bc(0x209)](this,arguments);};_0x213867[_0x302f23(0x390)]=_0x577ad9;}}()),_0x4bd0c2[_0x558c2e(0x315)][_0x558c2e(0x3e7)];}));}(_0x2ed89a)),_0x2ed89a['exports'];}var _0x4e16f3=_0x423ef3();const _0x16bfb5=_0x44b517(_0x4e16f3);var _0x23300d={'exports':{}},_0x4ed31c=_0x23300d[_0x402f51(0x483)],_0x4d004e;function _0x1b1f5a(){var _0x2516b4=_0x402f51;return _0x4d004e||(_0x4d004e=0x1,function(_0x3c4ba5,_0xaed6ba){(function(_0x15c702,_0x4e344e,_0xd521fb){var _0x456e5e=_0x2952;_0x3c4ba5[_0x456e5e(0x483)]=_0x4e344e(_0x466f9b(),_0x3be1f4());}(_0x4ed31c,function(_0x534475){var _0x59e62f=_0x2952;return _0x534475[_0x59e62f(0x427)][_0x59e62f(0x3e0)]={'pad':function(){},'unpad':function(){}},_0x534475['pad']['NoPadding'];}));}(_0x23300d)),_0x23300d[_0x2516b4(0x483)];}var _0x352924=_0x1b1f5a();const _0x29ef30=_0x44b517(_0x352924);function _0x4bc7bf(_0x341a4e,_0x155e5a){var _0x4c9297=_0x402f51;const _0x5f23dd=_0x155e5a-_0x341a4e[_0x4c9297(0x4c4)]%_0x155e5a,_0x40c0e9=String[_0x4c9297(0x2d3)](_0x5f23dd)[_0x4c9297(0x3c6)](_0x5f23dd);return _0x341a4e+_0x40c0e9;}function _0x17a51f(_0x2ba1e0,_0x10f50e){var _0x5b9136=_0x402f51;const _0x26af9f=_0x16bfb5[_0x5b9136(0x47c)](0x10),_0x130787=_0x4bc7bf(_0x2ba1e0,0x10),_0x146801=_0x3a3250[_0x5b9136(0x258)](_0x2d0252[_0x5b9136(0x364)](_0x130787),_0x4d2d44[_0x5b9136(0x364)](_0x10f50e),{'iv':_0x26af9f,'padding':_0x29ef30});return _0x26af9f[_0x5b9136(0x544)](_0x146801[_0x5b9136(0x4f7)])[_0x5b9136(0x2ca)](_0x4d2d44);}function _0xecd94d(){var _0x392863=_0x402f51;const _0x46704c=_0x68bab7['getGlobalObject']()[_0x392863(0x37f)];if(_0x46704c){const _0x313e37={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return _0x17a51f(JSON[_0x392863(0x494)](_0x313e37),_0x46704c);}}var _0x2c89f5=Object['getOwnPropertyDescriptor'],_0x556294=(_0x12c176,_0x5b5d1c,_0x48fabb,_0x1c8fde)=>{var _0x17c1a3=_0x402f51;for(var _0x2162ba=_0x1c8fde>0x1?void 0x0:_0x1c8fde?_0x2c89f5(_0x5b5d1c,_0x48fabb):_0x5b5d1c,_0x224055=_0x12c176[_0x17c1a3(0x4c4)]-0x1,_0x2d79f3;_0x224055>=0x0;_0x224055--)(_0x2d79f3=_0x12c176[_0x224055])&&(_0x2162ba=_0x2d79f3(_0x2162ba)||_0x2162ba);return _0x2162ba;},_0x30eba2=(_0x292686,_0x29cc59)=>(_0x540d73,_0x57ca64)=>_0x29cc59(_0x540d73,_0x57ca64,_0x292686);let _0x2de80a=class{constructor(_0x3699b0){var _0x31c019=_0x402f51;this[_0x31c019(0x449)]=_0x3699b0,this[_0x31c019(0x38f)]();}[_0x402f51(0x38f)](){var _0x84ae0=_0x402f51;this[_0x84ae0(0x449)]['registerHTTPInterceptor']({'interceptor':(_0x241444,_0x9ccdff)=>{var _0xc456b7=_0x84ae0;const _0x545b1a=_0x241444[_0xc456b7(0x420)],_0x52448f=_0xecd94d();return _0x52448f&&_0x545b1a[_0xc456b7(0x30c)](_0xc456b7(0x4a5),_0x52448f),_0x9ccdff(_0x241444);}});}};_0x2de80a=_0x556294([_0x30eba2(0x0,_0x4f102d[_0x402f51(0x2fe)](_0x4fd28d[_0x402f51(0x4af)]))],_0x2de80a);var _0x21ce43=Object[_0x402f51(0x47a)],_0x16a0fb=(_0xf5f957,_0x540dee,_0x5ed72b,_0x1e6df9)=>{var _0x3261b2=_0x402f51;for(var _0x1b557c=_0x1e6df9>0x1?void 0x0:_0x1e6df9?_0x21ce43(_0x540dee,_0x5ed72b):_0x540dee,_0xec80e4=_0xf5f957[_0x3261b2(0x4c4)]-0x1,_0xa29ca1;_0xec80e4>=0x0;_0xec80e4--)(_0xa29ca1=_0xf5f957[_0xec80e4])&&(_0x1b557c=_0xa29ca1(_0x1b557c)||_0x1b557c);return _0x1b557c;},_0x443d17=(_0x3b173e,_0x4d4aea)=>(_0x42223b,_0x392243)=>_0x4d4aea(_0x42223b,_0x392243,_0x3b173e);_0x40c22a[_0x402f51(0x363)]=class extends _0x4f102d['RxDisposable']{constructor(_0x4f4161,_0x207f0c,_0x2c39f0){var _0x20d876=_0x402f51;super(),_0x45876c(this,_0x20d876(0x555),new _0x4acdaa['BehaviorSubject'](null)),_0x45876c(this,_0x20d876(0x451),this['_unitInfo$']['asObservable']()),(this[_0x20d876(0x455)]=_0x4f4161,this[_0x20d876(0x4db)]=_0x207f0c,this[_0x20d876(0x25e)]=_0x2c39f0);}async[_0x402f51(0x226)](_0x340c76,_0x35fb63,_0x41bd6b){var _0x590c52=_0x402f51;this['_unitInfo$'][_0x590c52(0x524)]({'unitId':_0x340c76,'type':_0x35fb63});let _0x5c8d46=null;switch(_0x35fb63){case _0x30184d['UNIVER_SHEET']:{_0x5c8d46=await this['_snapshotService']['loadSheet'](_0x340c76,_0x41bd6b);break;}case _0x30184d['UNIVER_DOC']:{_0x5c8d46=await this[_0x590c52(0x4db)][_0x590c52(0x380)](_0x340c76,_0x41bd6b);break;}default:{this[_0x590c52(0x455)][_0x590c52(0x4c5)](_0x590c52(0x1ef),_0x590c52(0x2b7));break;}}return _0x5c8d46;}async[_0x402f51(0x2de)](_0x4fd1a6,_0x2f5510,_0x4ed4ca){var _0x1b20d8=_0x402f51,_0x5de1c2;this[_0x1b20d8(0x555)][_0x1b20d8(0x524)]({'unitId':_0x4fd1a6,'type':_0x2f5510,'subUnitId':_0x4ed4ca});let _0x56ac2c=0x0;const _0x3dc34b=await((_0x5de1c2=this['_localCacheService'])==null?void 0x0:_0x5de1c2[_0x1b20d8(0x546)](_0x4fd1a6));return _0x3dc34b&&(_0x3dc34b[_0x1b20d8(0x370)]||_0x3dc34b[_0x1b20d8(0x2ac)][_0x1b20d8(0x4c4)]!==0x0)&&(_0x56ac2c=_0x3dc34b[_0x1b20d8(0x33b)]),_0x56ac2c===0x0&&this[_0x1b20d8(0x455)][_0x1b20d8(0x25d)](_0x1b20d8(0x1ef),_0x1b20d8(0x509)),this[_0x1b20d8(0x226)](_0x4fd1a6,_0x2f5510,_0x56ac2c);}},_0x40c22a[_0x402f51(0x363)]=_0x16a0fb([_0x443d17(0x0,_0x4f102d[_0x402f51(0x542)]),_0x443d17(0x1,_0x4f102d['Inject'](_0x10a1d1[_0x402f51(0x4e1)])),_0x443d17(0x2,_0x4f102d[_0x402f51(0x286)](_0x482bab))],_0x40c22a[_0x402f51(0x363)]);var _0x46a16d=Object[_0x402f51(0x47a)],_0x2ac1cd=(_0x5eb799,_0x186e2a,_0x266b3d,_0x589980)=>{var _0x4272c9=_0x402f51;for(var _0x7f7a8c=_0x589980>0x1?void 0x0:_0x589980?_0x46a16d(_0x186e2a,_0x266b3d):_0x186e2a,_0x20c767=_0x5eb799[_0x4272c9(0x4c4)]-0x1,_0x1b4b51;_0x20c767>=0x0;_0x20c767--)(_0x1b4b51=_0x5eb799[_0x20c767])&&(_0x7f7a8c=_0x1b4b51(_0x7f7a8c)||_0x7f7a8c);return _0x7f7a8c;},_0x154c6b=(_0x255296,_0x209383)=>(_0x782b7,_0x33fe2e)=>_0x209383(_0x782b7,_0x33fe2e,_0x255296);const _0x4b2edd=[_0x402f51(0x298),_0x402f51(0x514),_0x402f51(0x418),_0x402f51(0x51c),_0x402f51(0x382)],_0x44d83c=0x5*0x400*0x400,_0x4577d2=_0x402f51(0x27a),_0x38a306='/universer-api/file/{fileID}/sign-url';_0x40c22a[_0x402f51(0x552)]=class{constructor(_0x1b3743,_0x375144,_0x132fac){var _0x4a8b37=_0x402f51;_0x45876c(this,_0x4a8b37(0x1e4),0x0),_0x45876c(this,'_change$',new _0x4acdaa[(_0x4a8b37(0x378))]()),_0x45876c(this,_0x4a8b37(0x1ff),this[_0x4a8b37(0x1ec)]),_0x45876c(this,_0x4a8b37(0x20c),new Map()),(this[_0x4a8b37(0x449)]=_0x1b3743,this[_0x4a8b37(0x421)]=_0x375144,this[_0x4a8b37(0x564)]=_0x132fac);}[_0x402f51(0x265)](_0x4f8d9e){var _0x56e091=_0x402f51;this[_0x56e091(0x1e4)]=_0x4f8d9e,this[_0x56e091(0x1ec)]['next'](_0x4f8d9e);}['getImageSourceCache'](_0x53c302,_0x36f6c0){var _0x8ef9a0=_0x402f51;if(_0x36f6c0===_0x513227[_0x8ef9a0(0x249)]['BASE64']){const _0x4b1162=new Image();return _0x4b1162[_0x8ef9a0(0x31a)]=_0x53c302,_0x4b1162;}return this['_imageSourceCache'][_0x8ef9a0(0x4f1)](_0x53c302);}['addImageSourceCache'](_0x39b3b3,_0x3efd17,_0x546d65){var _0x2e907e=_0x402f51;_0x3efd17===_0x513227[_0x2e907e(0x249)][_0x2e907e(0x54b)]||_0x546d65==null||this[_0x2e907e(0x20c)]['set'](_0x39b3b3,_0x546d65);}async[_0x402f51(0x395)](_0x3221d9){var _0x1e387b=_0x402f51;try{const _0x925a2a=this[_0x1e387b(0x393)](this['_getSignURL'](),''+_0x3221d9),_0x18698b=(await this[_0x1e387b(0x449)]['get'](_0x925a2a))['body'];if(_0x18698b[_0x1e387b(0x4c5)]&&_0x18698b[_0x1e387b(0x4c5)][_0x1e387b(0x557)]===_0x2f59ad['OK']){const _0x54bbeb=new URL(_0x18698b[_0x1e387b(0x319)],this[_0x1e387b(0x337)]())[_0x1e387b(0x2ca)]();return Promise['resolve'](_0x54bbeb);}return Promise['reject'](_0x18698b[_0x1e387b(0x4c5)]);}catch(_0x469c2c){return Promise[_0x1e387b(0x55c)](_0x469c2c);}}async[_0x402f51(0x51e)](_0x339fe5){var _0x290a51=_0x402f51;let _0x21a304='';if(!_0x4b2edd['includes'](_0x339fe5['type']))return this['_decreaseWaiting'](),Promise[_0x290a51(0x55c)](new Error(_0x513227[_0x290a51(0x42a)]['ERROR_IMAGE_TYPE']));if(_0x339fe5[_0x290a51(0x2c5)]>_0x44d83c)return this['_decreaseWaiting'](),Promise[_0x290a51(0x55c)](new Error(_0x513227[_0x290a51(0x42a)][_0x290a51(0x365)]));try{const _0x1c067b=new FormData();_0x1c067b[_0x290a51(0x460)]('file',_0x339fe5);const _0x27ac71=this['_univerInstanceService'][_0x290a51(0x4f2)](),_0x2faf73=_0x27ac71==null?void 0x0:_0x27ac71[_0x290a51(0x299)]();if(!_0x2faf73)throw new Error('unitId\x20is\x20not\x20found');const _0x3303a8=this[_0x290a51(0x532)]()+_0x290a51(0x272)+_0x339fe5[_0x290a51(0x2c5)]['toString']()+_0x290a51(0x401)+_0x340e3e[_0x290a51(0x438)]+_0x290a51(0x55d)+encodeURIComponent(_0x2faf73),_0x926cc5={'body':_0x1c067b},_0x323489=(await this[_0x290a51(0x449)][_0x290a51(0x3d3)](_0x3303a8,_0x926cc5))[_0x290a51(0x4f0)];if(typeof _0x323489[_0x290a51(0x533)]!=_0x290a51(0x228))return this[_0x290a51(0x472)](),Promise['reject'](new Error(_0x513227[_0x290a51(0x42a)][_0x290a51(0x46f)]));_0x21a304=_0x323489[_0x290a51(0x533)];}catch{return this[_0x290a51(0x472)](),Promise['reject'](new Error(_0x513227[_0x290a51(0x42a)][_0x290a51(0x46f)]));}return new Promise((_0x45a695,_0xf6e118)=>{var _0x18778a=_0x290a51;const _0x46464a=new FileReader();_0x46464a[_0x18778a(0x474)](_0x339fe5),_0x46464a['onload']=_0x1af3e4=>{var _0x1b8f01=_0x18778a,_0x14a493;const _0x50a508=(_0x14a493=_0x1af3e4[_0x1b8f01(0x231)])==null?void 0x0:_0x14a493[_0x1b8f01(0x46c)];if(_0x50a508==null){this[_0x1b8f01(0x472)](),_0xf6e118(new Error(_0x513227[_0x1b8f01(0x42a)][_0x1b8f01(0x46f)]));return;}const _0x150fe4=_0x4f102d[_0x1b8f01(0x48c)](0x6);_0x45a695({'imageId':_0x150fe4,'imageSourceType':_0x513227[_0x1b8f01(0x249)][_0x1b8f01(0x2e4)],'source':_0x21a304,'base64Cache':_0x50a508,'status':_0x513227[_0x1b8f01(0x42a)][_0x1b8f01(0x2eb)]}),this[_0x1b8f01(0x472)]();};});}[_0x402f51(0x532)](){var _0x2728ac=_0x402f51,_0x3abd33;const _0x1ed459=this[_0x2728ac(0x421)][_0x2728ac(0x22e)](_0x17cb06);return(_0x3abd33=_0x1ed459==null?void 0x0:_0x1ed459[_0x2728ac(0x2bd)])!=null?_0x3abd33:_0x4577d2;}[_0x402f51(0x29d)](){var _0xd96375=_0x402f51,_0x1fa1e4;const _0x2671b6=this[_0xd96375(0x421)]['getConfig'](_0x17cb06);return(_0x1fa1e4=_0x2671b6==null?void 0x0:_0x2671b6['signUrlServerUrl'])!=null?_0x1fa1e4:_0x38a306;}[_0x402f51(0x337)](){var _0x30abd0=_0x402f51,_0xbe854d;const _0x46fe48=this[_0x30abd0(0x421)][_0x30abd0(0x22e)](_0x17cb06);return(_0xbe854d=_0x46fe48==null?void 0x0:_0x46fe48[_0x30abd0(0x441)])!=null?_0xbe854d:location[_0x30abd0(0x410)];}[_0x402f51(0x393)](_0xffa6fc,_0x40e550){var _0x187e27=_0x402f51;return _0xffa6fc[_0x187e27(0x398)](_0x187e27(0x55e),_0x40e550);}[_0x402f51(0x472)](){var _0x2545ec=_0x402f51;this['_waitCount']-=0x1,this[_0x2545ec(0x1ec)][_0x2545ec(0x524)](this[_0x2545ec(0x1e4)]);}},_0x40c22a[_0x402f51(0x552)]=_0x2ac1cd([_0x154c6b(0x0,_0x4f102d[_0x402f51(0x2fe)](_0x4fd28d[_0x402f51(0x4af)])),_0x154c6b(0x1,_0x4f102d['IConfigService']),_0x154c6b(0x2,_0x4f102d['Inject'](_0x4f102d['IUniverInstanceService']))],_0x40c22a[_0x402f51(0x552)]);var _0x4a0a61=Object[_0x402f51(0x47a)],_0x2df99c=(_0x1f7efa,_0x54d8c6,_0x4884cb,_0x1a6a29)=>{var _0x377d64=_0x402f51;for(var _0x863c83=_0x1a6a29>0x1?void 0x0:_0x1a6a29?_0x4a0a61(_0x54d8c6,_0x4884cb):_0x54d8c6,_0x4494db=_0x1f7efa[_0x377d64(0x4c4)]-0x1,_0x5847fd;_0x4494db>=0x0;_0x4494db--)(_0x5847fd=_0x1f7efa[_0x4494db])&&(_0x863c83=_0x5847fd(_0x863c83)||_0x863c83);return _0x863c83;},_0x431826=(_0x1666c8,_0x5053a6)=>(_0xd893b,_0x32fb85)=>_0x5053a6(_0xd893b,_0x32fb85,_0x1666c8);const _0x2bbfb4=_0x402f51(0x335);_0x40c22a[_0x402f51(0x4a6)]=class{constructor(_0x5706a5,_0x12b82f){var _0xb8aeb7=_0x402f51;this[_0xb8aeb7(0x421)]=_0x5706a5,this[_0xb8aeb7(0x34c)]=_0x12b82f;}['_getAPIPrefixPath'](){var _0x3e3b61=_0x402f51,_0x148e56;const _0x102b8b=this['_configService'][_0x3e3b61(0x22e)](_0x17cb06);return(_0x148e56=_0x102b8b==null?void 0x0:_0x102b8b[_0x3e3b61(0x38a)])!=null?_0x148e56:_0x2bbfb4;}async[_0x402f51(0x21c)](_0x823747){var _0x158a00=_0x402f51;const _0x3d6719=this['_getAPIPrefixPath']()+_0x158a00(0x3f9);return{'list':[{'title':_0x158a00(0x2c6),'mentions':(await this[_0x158a00(0x34c)]['get'](_0x3d6719,{'params':{'objectID':_0x823747[_0x158a00(0x203)],'unitID':_0x823747[_0x158a00(0x203)]}}))[_0x158a00(0x4f0)][_0x158a00(0x2f8)]['map'](_0xef2875=>({'objectId':_0xef2875['id'],'name':_0xef2875[_0x158a00(0x307)]['name'],'metadata':{'icon':_0xef2875['subject']['avatar']},'label':_0xef2875[_0x158a00(0x307)]['name'],'objectType':_0x4f102d[_0x158a00(0x3f8)]['PERSON']})),'metadata':{},'type':_0x4f102d[_0x158a00(0x3f8)][_0x158a00(0x504)]}]};}},_0x40c22a[_0x402f51(0x4a6)]=_0x2df99c([_0x431826(0x0,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x26c)])),_0x431826(0x1,_0x4f102d[_0x402f51(0x2fe)](_0x4fd28d[_0x402f51(0x4af)]))],_0x40c22a[_0x402f51(0x4a6)]);var _0x374d25=Object['getOwnPropertyDescriptor'],_0x55624a=(_0x40e02c,_0x244a46,_0x444589,_0x435286)=>{var _0x18e204=_0x402f51;for(var _0x53fbfb=_0x435286>0x1?void 0x0:_0x435286?_0x374d25(_0x244a46,_0x444589):_0x244a46,_0x2140c1=_0x40e02c[_0x18e204(0x4c4)]-0x1,_0x3768e5;_0x2140c1>=0x0;_0x2140c1--)(_0x3768e5=_0x40e02c[_0x2140c1])&&(_0x53fbfb=_0x3768e5(_0x53fbfb)||_0x53fbfb);return _0x53fbfb;},_0x4a38ba=(_0x583ca9,_0x53605e)=>(_0x834f6c,_0x5124ec)=>_0x53605e(_0x834f6c,_0x5124ec,_0x583ca9);let _0x3259f7=class extends _0x4f102d['RxDisposable']{constructor(_0xd7ba3,_0x4deffc,_0x4c6713,_0x575b30,_0x195241){var _0x25b455=_0x402f51;super(),this['_injector']=_0xd7ba3,this[_0x25b455(0x564)]=_0x4deffc,this[_0x25b455(0x559)]=_0x4c6713,this[_0x25b455(0x27c)]=_0x575b30,this[_0x25b455(0x3f0)]=_0x195241,this[_0x25b455(0x2f3)](),this['_initCloseConn']();}[_0x402f51(0x4ba)](){var _0x5507ac=_0x402f51;const _0x2eeba4=async _0x9fdf54=>{var _0x167456=_0x2952;(await this[_0x167456(0x27c)][_0x167456(0x50e)](_0x9fdf54))['event$'][_0x167456(0x48d)](_0x16b425['filter'](_0x14984a=>_0x14984a[_0x167456(0x22f)]===_0x10a1d1[_0x167456(0x3a8)]['SHOULD_CLOSE_CONN']),_0x16b425[_0x167456(0x2b6)](this['dispose$']))[_0x167456(0x22c)](_0x57ae6e=>{var _0xbdf5cc=_0x167456;const _0x19f945=_0x57ae6e,{reason:_0x2e19bc}=_0x19f945[_0xbdf5cc(0x4d4)];this[_0xbdf5cc(0x3f0)]['emitEvent']({'id':_0x49330b[_0xbdf5cc(0x234)],'data':_0x2e19bc}),this[_0xbdf5cc(0x559)][_0xbdf5cc(0x2a0)](new _0x2bd01e[(_0xbdf5cc(0x4b8))](_0x9fdf54)['id'],!0x1),this[_0xbdf5cc(0x27c)][_0xbdf5cc(0x3fd)](_0x9fdf54);});};_0x4acdaa[_0x5507ac(0x44d)](this[_0x5507ac(0x564)][_0x5507ac(0x2ce)](_0x4f102d[_0x5507ac(0x4d2)][_0x5507ac(0x355)]),this[_0x5507ac(0x564)]['getTypeOfUnitAdded$'](_0x4f102d[_0x5507ac(0x4d2)][_0x5507ac(0x4e3)]))[_0x5507ac(0x48d)](_0x16b425[_0x5507ac(0x2bb)](_0x23c441=>_0x23c441[_0x5507ac(0x299)]()),_0x16b425['filter'](_0x1f2a3e=>!_0x4f102d[_0x5507ac(0x4c6)](_0x1f2a3e)),_0x16b425[_0x5507ac(0x2b6)](this[_0x5507ac(0x448)]))[_0x5507ac(0x22c)](_0xbb2e9b=>{_0x2eeba4(_0xbb2e9b);});}[_0x402f51(0x2f3)](){var _0x225a35=_0x402f51;const _0x59c0bf=async _0x37a0d4=>{var _0x3c4c5f=_0x2952;const _0x24d540=await this[_0x3c4c5f(0x27c)][_0x3c4c5f(0x50e)](_0x37a0d4),_0x5ee59f=this[_0x3c4c5f(0x376)][_0x3c4c5f(0x4f1)](_0x2bd01e[_0x3c4c5f(0x469)]);_0x24d540[_0x3c4c5f(0x453)][_0x3c4c5f(0x48d)](_0x16b425[_0x3c4c5f(0x40c)](_0x4b05c5=>_0x4b05c5[_0x3c4c5f(0x22f)]===_0x10a1d1[_0x3c4c5f(0x3a8)][_0x3c4c5f(0x287)]),_0x16b425[_0x3c4c5f(0x2b6)](this[_0x3c4c5f(0x448)]))[_0x3c4c5f(0x22c)](_0x491a33=>{var _0x523318=_0x3c4c5f;const _0xe3e6d0=_0x491a33,{objectId:_0x37abfa}=_0xe3e6d0[_0x523318(0x4d4)];_0x37abfa===_0x37a0d4?_0x5ee59f[_0x523318(0x229)](_0x37a0d4):_0x5ee59f[_0x523318(0x301)](_0x37a0d4,_0x37abfa);});};_0x4acdaa[_0x225a35(0x44d)](this['_univerInstanceService'][_0x225a35(0x2ce)](_0x4f102d['UniverInstanceType'][_0x225a35(0x355)]))[_0x225a35(0x48d)](_0x16b425['map'](_0x236877=>_0x236877[_0x225a35(0x299)]()),_0x16b425[_0x225a35(0x40c)](_0x3c5273=>!_0x4f102d['isInternalEditorID'](_0x3c5273)),_0x16b425[_0x225a35(0x2b6)](this['dispose$']))[_0x225a35(0x22c)](_0xc22bd3=>{_0x59c0bf(_0xc22bd3);});}};_0x3259f7=_0x55624a([_0x4a38ba(0x0,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x3cf)])),_0x4a38ba(0x1,_0x4f102d[_0x402f51(0x361)]),_0x4a38ba(0x2,_0x4f102d[_0x402f51(0x511)]),_0x4a38ba(0x3,_0x4f102d[_0x402f51(0x2fe)](_0x40c22a[_0x402f51(0x250)])),_0x4a38ba(0x4,_0x4f102d[_0x402f51(0x2fe)](_0x264966))],_0x3259f7);var _0x2b435b=Object[_0x402f51(0x47a)],_0x50e284=(_0x44d02e,_0x3a32b0,_0x290036,_0x13217d)=>{for(var _0x279528=_0x13217d>0x1?void 0x0:_0x13217d?_0x2b435b(_0x3a32b0,_0x290036):_0x3a32b0,_0x2133e6=_0x44d02e['length']-0x1,_0x4e3a8f;_0x2133e6>=0x0;_0x2133e6--)(_0x4e3a8f=_0x44d02e[_0x2133e6])&&(_0x279528=_0x4e3a8f(_0x279528)||_0x279528);return _0x279528;},_0x5d5589=(_0x35e5f6,_0x567255)=>(_0x2f879a,_0x3cf115)=>_0x567255(_0x2f879a,_0x3cf115,_0x35e5f6);_0x40c22a[_0x402f51(0x3e3)]=class{constructor(_0x53c859,_0x5ac3f1){var _0x4c251d=_0x402f51;this[_0x4c251d(0x421)]=_0x53c859,this[_0x4c251d(0x449)]=_0x5ac3f1;}async[_0x402f51(0x282)](_0xd6e513,_0x41fdfa){var _0x2828ec=_0x402f51,_0x261599;const {unitID:_0x67b0c3,type:_0x465b88,revision:_0x344c00=0x0}=_0x41fdfa,_0x1620b3=this[_0x2828ec(0x2bc)]()+'/'+_0x465b88+'/unit/'+_0x67b0c3+_0x2828ec(0x452)+_0x344c00,_0x3c2664=(await this[_0x2828ec(0x449)][_0x2828ec(0x4f1)](_0x1620b3))[_0x2828ec(0x4f0)],_0x471d8e=(_0x261599=_0x3c2664[_0x2828ec(0x459)])==null?void 0x0:_0x261599[_0x2828ec(0x40e)];if(_0x471d8e){const _0x5f51fe=_0x471d8e==null?void 0x0:_0x471d8e[_0x2828ec(0x4a7)],_0xcd4925=_0x10a1d1[_0x2828ec(0x2c2)]['encode'](_0x10a1d1[_0x2828ec(0x558)](_0x5f51fe));_0x471d8e[_0x2828ec(0x4a7)]=_0xcd4925,Object['entries'](_0x471d8e[_0x2828ec(0x21f)])['forEach'](([,_0x5041f1])=>{var _0x28a44a=_0x2828ec;const _0x23b678=_0x5041f1[_0x28a44a(0x4a7)],_0x1e1b9f=_0x10a1d1[_0x28a44a(0x2c2)][_0x28a44a(0x2e6)](_0x10a1d1[_0x28a44a(0x558)](_0x23b678));_0x5041f1[_0x28a44a(0x4a7)]=_0x1e1b9f;});}return _0x3c2664;}async[_0x402f51(0x45d)](_0x57006c,_0x2bdb1b){var _0x5b3b2a=_0x402f51;const {unitID:_0x444c68,type:_0x14d8f3,blockID:_0x28a54e}=_0x2bdb1b,_0x370061=this[_0x5b3b2a(0x347)]()+'/'+_0x14d8f3+_0x5b3b2a(0x490)+_0x444c68+_0x5b3b2a(0x2dc)+_0x28a54e;return(await this[_0x5b3b2a(0x449)][_0x5b3b2a(0x4f1)](_0x370061))[_0x5b3b2a(0x4f0)];}async[_0x402f51(0x32a)](_0x130b69,_0x46e554){var _0x16e453=_0x402f51;const {unitID:_0x476452,type:_0xcd7931,blockID:_0xd39a7d}=_0x46e554,_0x584663=this[_0x16e453(0x347)]()+_0x16e453(0x2dc)+_0xcd7931+'/unit/'+_0x476452+_0x16e453(0x2dc)+_0xd39a7d;return(await this[_0x16e453(0x449)][_0x16e453(0x4f1)](_0x584663))[_0x16e453(0x4f0)];}async[_0x402f51(0x354)](_0x3e6128,_0x4ba7c9){var _0x460505=_0x402f51;const {unitID:_0x1ee5ec,type:_0x33abfa,from:_0x21e13c,to:_0x4ab6db}=_0x4ba7c9,_0x3d2525=this[_0x460505(0x347)]()+'/'+_0x33abfa+_0x460505(0x490)+_0x1ee5ec+'/fetchmissing?from='+_0x21e13c+_0x460505(0x1e3)+_0x4ab6db;return(await this[_0x460505(0x449)]['get'](_0x3d2525))[_0x460505(0x4f0)];}[_0x402f51(0x2bc)](){var _0x1937a7=_0x402f51,_0x3831fc;return(_0x3831fc=this['_configService'][_0x1937a7(0x22e)](_0x41210f))!=null?_0x3831fc:this[_0x1937a7(0x347)]();}[_0x402f51(0x347)](){var _0x412dbc=_0x402f51,_0x5926f3;const _0x6fc486=this[_0x412dbc(0x421)][_0x412dbc(0x22e)](_0x17cb06);return(_0x5926f3=_0x6fc486==null?void 0x0:_0x6fc486[_0x412dbc(0x48a)])!=null?_0x5926f3:_0x581d0a;}async[_0x402f51(0x32b)](_0x2f6b1e,_0x520438){var _0xc84bcd=_0x402f51;const _0x4b44cf=_0xc84bcd(0x4d1)+_0x520438[_0xc84bcd(0x38d)]+'/unit/'+_0x520438[_0xc84bcd(0x288)]+_0xc84bcd(0x4e9);return(await this[_0xc84bcd(0x449)][_0xc84bcd(0x4f1)](_0x4b44cf,{'params':{'resourceId':JSON[_0xc84bcd(0x494)](_0x520438[_0xc84bcd(0x462)])}}))['body'];}[_0x402f51(0x371)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x402f51(0x334)](){var _0x49809f=_0x402f51;throw new Error(_0x49809f(0x495));}[_0x402f51(0x3fa)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x468283=_0x402f51;throw new Error(_0x468283(0x495));}[_0x402f51(0x39b)](){var _0x21834d=_0x402f51;throw new Error(_0x21834d(0x495));}[_0x402f51(0x528)](){var _0x54947e=_0x402f51;throw new Error(_0x54947e(0x495));}},_0x40c22a[_0x402f51(0x3e3)]=_0x50e284([_0x5d5589(0x0,_0x4f102d['IConfigService']),_0x5d5589(0x1,_0x4f102d[_0x402f51(0x2fe)](_0x4fd28d[_0x402f51(0x4af)]))],_0x40c22a[_0x402f51(0x3e3)]);var _0x2f0b84=Object[_0x402f51(0x47a)],_0x1769e4=(_0x242e87,_0x482860,_0x11a877,_0x30c3f4)=>{var _0x1d930e=_0x402f51;for(var _0x3ae899=_0x30c3f4>0x1?void 0x0:_0x30c3f4?_0x2f0b84(_0x482860,_0x11a877):_0x482860,_0x49ac8e=_0x242e87[_0x1d930e(0x4c4)]-0x1,_0x23af9e;_0x49ac8e>=0x0;_0x49ac8e--)(_0x23af9e=_0x242e87[_0x49ac8e])&&(_0x3ae899=_0x23af9e(_0x3ae899)||_0x3ae899);return _0x3ae899;},_0x508591=(_0x67b2c,_0x42230c)=>(_0x3c15ff,_0x3f2675)=>_0x42230c(_0x3c15ff,_0x3f2675,_0x67b2c);_0x40c22a[_0x402f51(0x510)]=class extends _0x4f102d['LocalUndoRedoService']{constructor(_0x24fd58,_0x4d8648,_0x4eb2ab,_0x3ca137,_0x2544a4){var _0x100677=_0x402f51;super(_0x24fd58,_0x4d8648,_0x4eb2ab),this['_transformService']=_0x3ca137,this[_0x100677(0x455)]=_0x2544a4;}[_0x402f51(0x3a1)](_0x13a252,_0x45365c){var _0x3c37fd=_0x402f51;const _0x41e042=this['_getUndoStack'](_0x13a252);if(_0x41e042)try{const _0x1f2dd3=this[_0x3c37fd(0x1fc)](_0x41e042,_0x45365c);this['_substituteUndoStack'](_0x13a252,_0x1f2dd3);}catch(_0x5c09ae){this[_0x3c37fd(0x455)][_0x3c37fd(0x4c5)](_0x3c37fd(0x3d6),_0x5c09ae),this[_0x3c37fd(0x463)](_0x13a252);}const _0x416266=this['_getRedoStack'](_0x13a252);if(_0x416266)try{const _0x4fba9f=this['_transformStack'](_0x416266,_0x45365c);this[_0x3c37fd(0x4e8)](_0x13a252,_0x4fba9f);}catch(_0xd5348){this[_0x3c37fd(0x455)]['error'](_0xd5348),this['_clearRedo'](_0x13a252);}}['_clearUndo'](_0x15fd5a){var _0x3d0f06=_0x402f51;const _0x1aa707=this[_0x3d0f06(0x1e8)](_0x15fd5a);_0x1aa707&&(_0x1aa707[_0x3d0f06(0x4c4)]=0x0,this[_0x3d0f06(0x24d)]());}[_0x402f51(0x49b)](_0x4876a9){var _0xcb13d6=_0x402f51;const _0x5ec979=this[_0xcb13d6(0x50c)](_0x4876a9);_0x5ec979&&(_0x5ec979[_0xcb13d6(0x4c4)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x5ac5a7,_0x5140f7){var _0x218a40=_0x402f51;this[_0x218a40(0x37c)][_0x218a40(0x30c)](_0x5ac5a7,_0x5140f7),this['_updateStatus']();}['_substituteRedoStack'](_0xd08e3b,_0x117912){var _0x47c1db=_0x402f51;this[_0x47c1db(0x445)][_0x47c1db(0x30c)](_0xd08e3b,_0x117912),this[_0x47c1db(0x24d)]();}[_0x402f51(0x1fc)](_0x348f4c,_0x20fdf0){var _0x2260b4=_0x402f51;const _0x3dda35=[];let _0x111a60=_0x20fdf0,_0x308c4c=_0x20fdf0;for(let _0x30606e=_0x348f4c['length']-0x1;_0x30606e>=0x0;_0x30606e--){const {unitID:_0x3ab175,undoMutations:_0x1efa0b,redoMutations:_0x220358}=_0x348f4c[_0x30606e],_0x17e3a3=this['_transformService'][_0x2260b4(0x20b)](_0x111a60,_0x1efa0b),_0x5e850b=this[_0x2260b4(0x2dd)][_0x2260b4(0x20b)](_0x308c4c,_0x220358);if(_0x10a1d1[_0x2260b4(0x3c7)](_0x17e3a3)||_0x10a1d1[_0x2260b4(0x3c7)](_0x5e850b)){this[_0x2260b4(0x455)][_0x2260b4(0x4c5)](_0x2260b4(0x3d6),_0x2260b4(0x458),_0x17e3a3,_0x5e850b);break;}_0x111a60=_0x17e3a3[_0x2260b4(0x2e0)],_0x308c4c=_0x5e850b[_0x2260b4(0x2e0)],_0x3dda35[_0x2260b4(0x221)]({'unitID':_0x3ab175,'undoMutations':_0x17e3a3['m2Prime'],'redoMutations':_0x5e850b[_0x2260b4(0x304)]});}return _0x3dda35[_0x2260b4(0x3d7)]();}},_0x40c22a[_0x402f51(0x510)]=_0x1769e4([_0x508591(0x0,_0x4f102d['IUniverInstanceService']),_0x508591(0x1,_0x4f102d['ICommandService']),_0x508591(0x2,_0x4f102d['IContextService']),_0x508591(0x3,_0x10a1d1[_0x402f51(0x2ab)]),_0x508591(0x4,_0x4f102d['ILogService'])],_0x40c22a[_0x402f51(0x510)]);var _0x42bec2=Object[_0x402f51(0x224)],_0x19169b=Object['getOwnPropertyDescriptor'],_0x1e6e68=(_0x221e35,_0x354175,_0x5a777b)=>_0x354175 in _0x221e35?_0x42bec2(_0x221e35,_0x354175,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a777b}):_0x221e35[_0x354175]=_0x5a777b,_0x3f75da=(_0xe9c641,_0x254947,_0x5d3776,_0x59b977)=>{var _0x5de471=_0x402f51;for(var _0x5d783b=_0x59b977>0x1?void 0x0:_0x59b977?_0x19169b(_0x254947,_0x5d3776):_0x254947,_0x438fe8=_0xe9c641[_0x5de471(0x4c4)]-0x1,_0x34eb0b;_0x438fe8>=0x0;_0x438fe8--)(_0x34eb0b=_0xe9c641[_0x438fe8])&&(_0x5d783b=_0x34eb0b(_0x5d783b)||_0x5d783b);return _0x5d783b;},_0x30ac24=(_0x106e74,_0x552dae)=>(_0x2c1fda,_0x346c1c)=>_0x552dae(_0x2c1fda,_0x346c1c,_0x106e74),_0x1d1ce1=(_0x4dc644,_0x188343,_0xc4aa82)=>_0x1e6e68(_0x4dc644,_0x188343+'',_0xc4aa82);const _0x402ce2=_0x402f51(0x49f);_0x40c22a[_0x402f51(0x3c9)]=class extends _0x4f102d[_0x402f51(0x4fc)]{constructor(_0x2bdb1c,_0x492da5,_0x3c1086,_0x2a2ce1){var _0x311475=_0x402f51;super(),_0x45876c(this,_0x311475(0x55b)),(this[_0x311475(0x455)]=_0x492da5,this[_0x311475(0x376)]=_0x3c1086,this[_0x311475(0x421)]=_0x2a2ce1);const {..._0x6a543b}=_0x4f102d['merge']({},_0x2636e5,_0x2bdb1c);if(!_0x6a543b[_0x311475(0x310)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x6a543b,this[_0x311475(0x421)][_0x311475(0x30b)](_0x17cb06,_0x6a543b);}[_0x402f51(0x3a4)](){var _0x262519=_0x402f51;this[_0x262519(0x344)](),this[_0x262519(0x34f)]();}['_registerDependencies'](){var _0x1dc67f=_0x402f51,_0x10e44f,_0x46ebd0;this[_0x1dc67f(0x376)][_0x1dc67f(0x215)](_0x4f102d['IUndoRedoService'])&&this[_0x1dc67f(0x455)][_0x1dc67f(0x4c5)]('[UniverCollaborationClientPlugin]',_0x1dc67f(0x4b2));const _0x1ee673=_0x4f102d['mergeOverrideWithDependencies']([[_0x4f102d[_0x1dc67f(0x274)],{'useClass':_0x40c22a[_0x1dc67f(0x510)]}],[_0x40c22a['CollaborationSessionService']],[_0x40c22a[_0x1dc67f(0x2ae)]],[_0x40c22a[_0x1dc67f(0x37d)]],[_0x6047bb],[_0x2de80a],[_0x2ffd09],[_0x3259f7],[_0x264966],[_0x40c22a[_0x1dc67f(0x363)]],[_0x20f99e,{'useClass':this[_0x1dc67f(0x55b)][_0x1dc67f(0x310)]}],[_0x10a1d1['ISnapshotServerService'],{'useClass':_0x40c22a['SnapshotServerOverHTTPService']}],[_0x4f102d[_0x1dc67f(0x1f4)],{'useClass':_0x40c22a[_0x1dc67f(0x20f)]}],[_0x513227[_0x1dc67f(0x1e5)],{'useClass':_0x40c22a[_0x1dc67f(0x552)]}],[_0x4f102d[_0x1dc67f(0x24a)],{'useClass':_0x40c22a[_0x1dc67f(0x4a6)]}],[_0x40c22a['CollaborationController']],[_0x2524e5]],(_0x10e44f=this[_0x1dc67f(0x55b)])==null?void 0x0:_0x10e44f[_0x1dc67f(0x252)]);if(!((_0x46ebd0=this['_config'])!=null&&_0x46ebd0['enableSingleActiveInstanceLock'])){const _0x145c5a=_0x1ee673[_0x1dc67f(0x491)](([_0x86df1b])=>_0x86df1b===_0x5425d1);_0x145c5a!==-0x1&&_0x1ee673[_0x1dc67f(0x210)](_0x145c5a,0x1);}_0x4f102d[_0x1dc67f(0x37b)](this[_0x1dc67f(0x376)],_0x1ee673);}['_initDependencies'](){var _0x50482a=_0x402f51,_0x495b50,_0x427a37,_0x2e5607;this[_0x50482a(0x376)][_0x50482a(0x4f1)](_0x4fd28d[_0x50482a(0x4af)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x4fd28d[_0x50482a(0x289)]({'maxParallel':0x6})}),(_0x495b50=this[_0x50482a(0x55b)])!=null&&_0x495b50[_0x50482a(0x2ee)]||(_0x427a37=this['_injector'][_0x50482a(0x4f1)](_0x482bab,_0x4f102d[_0x50482a(0x2b2)][_0x50482a(0x34d)]))==null||_0x427a37['disableLocalCache'](),(_0x2e5607=this[_0x50482a(0x55b)])!=null&&_0x2e5607[_0x50482a(0x4b5)]&&_0x4f102d['touchDependencies'](this[_0x50482a(0x376)],[[_0x6047bb]]),_0x4f102d[_0x50482a(0x29c)](this[_0x50482a(0x376)],[[_0x2de80a],[_0x40c22a[_0x50482a(0x28a)]],[_0x3259f7]]);}},_0x1d1ce1(_0x40c22a['UniverCollaborationClientPlugin'],'pluginName',_0x402ce2),_0x40c22a['UniverCollaborationClientPlugin']=_0x3f75da([_0x4f102d['DependentOn'](_0x10a1d1[_0x402f51(0x479)],_0x4fd28d[_0x402f51(0x218)]),_0x30ac24(0x1,_0x4f102d[_0x402f51(0x542)]),_0x30ac24(0x2,_0x4f102d[_0x402f51(0x2fe)](_0x4f102d[_0x402f51(0x3cf)])),_0x30ac24(0x3,_0x4f102d[_0x402f51(0x26c)])],_0x40c22a[_0x402f51(0x3c9)]),_0x40c22a[_0x402f51(0x396)]=_0x17cb06,_0x40c22a[_0x402f51(0x2fc)]=_0x39dc6b,_0x40c22a[_0x402f51(0x3c2)]=_0x49330b,_0x40c22a[_0x402f51(0x465)]=_0x264966,_0x40c22a[_0x402f51(0x22d)]=_0x2ffd09,_0x40c22a[_0x402f51(0x235)]=_0x4fcd5b,_0x40c22a[_0x402f51(0x201)]=_0x4b3e79,_0x40c22a[_0x402f51(0x2c8)]=_0x39e469,_0x40c22a['HEARTBEAT_INTERVAL_KEY']=_0x2a0a9f,_0x40c22a['HEARTBEAT_TIMEOUT_KEY']=_0x26f425,_0x40c22a[_0x402f51(0x2cc)]=_0x20f99e,_0x40c22a['ILocalCacheService']=_0x482bab,_0x40c22a[_0x402f51(0x254)]=_0x2c62b9,_0x40c22a[_0x402f51(0x52f)]=_0x5425d1,_0x40c22a['LOCAL_CACHE_INTERVAL']=0x3e8,_0x40c22a['LOCAL_CACHE_INTERVAL_KEY']=_0x5a5afa,_0x40c22a['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x59fe61,_0x40c22a[_0x402f51(0x54c)]=_0x408767,_0x40c22a['SessionStatus']=_0x52113d,_0x40c22a[_0x402f51(0x481)]=_0x4f2036,_0x40c22a[_0x402f51(0x538)]=_0xdbbe93,_0x40c22a['getLocalCacheKey']=_0x4df10d,_0x40c22a[_0x402f51(0x343)]=_0x546f7d,Object[_0x402f51(0x224)](_0x40c22a,Symbol[_0x402f51(0x40b)],{'value':_0x402f51(0x429)});}));
|
1
|
+
function _0x3855(_0x4ee4ec,_0x21c423){var _0x525c50=_0x525c();return _0x3855=function(_0x3855ec,_0x48d9b8){_0x3855ec=_0x3855ec-0x1e0;var _0x3bd0c7=_0x525c50[_0x3855ec];return _0x3bd0c7;},_0x3855(_0x4ee4ec,_0x21c423);}(function(_0x148f39,_0x106e78){var _0x4397bf=_0x3855,_0xa2e563=_0x148f39();while(!![]){try{var _0x3c3160=parseInt(_0x4397bf(0x515))/0x1+-parseInt(_0x4397bf(0x4bb))/0x2+parseInt(_0x4397bf(0x53d))/0x3+-parseInt(_0x4397bf(0x355))/0x4*(-parseInt(_0x4397bf(0x243))/0x5)+-parseInt(_0x4397bf(0x3d0))/0x6*(-parseInt(_0x4397bf(0x518))/0x7)+parseInt(_0x4397bf(0x4fa))/0x8*(-parseInt(_0x4397bf(0x363))/0x9)+-parseInt(_0x4397bf(0x48e))/0xa;if(_0x3c3160===_0x106e78)break;else _0xa2e563['push'](_0xa2e563['shift']());}catch(_0x3ba3b2){_0xa2e563['push'](_0xa2e563['shift']());}}}(_0x525c,0x8ad12),function(_0x2bf9b9,_0x2cf5f7){var _0x4fcc92=_0x3855;typeof exports==_0x4fcc92(0x1ea)&&typeof module<'u'?_0x2cf5f7(exports,require('@univerjs/core'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/collaboration'),require('@univerjs/network'),require('@univerjs/telemetry'),require('@univerjs/docs'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x4fcc92(0x451)]?define([_0x4fcc92(0x31e),_0x4fcc92(0x4cd),_0x4fcc92(0x42b),_0x4fcc92(0x2e0),_0x4fcc92(0x3e0),_0x4fcc92(0x2c6),'@univerjs/telemetry','@univerjs/docs','@univerjs/sheets',_0x4fcc92(0x2ae),'@univerjs-pro/license'],_0x2cf5f7):(_0x2bf9b9=typeof globalThis<'u'?globalThis:_0x2bf9b9||self,_0x2cf5f7(_0x2bf9b9['UniverProCollaborationClient']={},_0x2bf9b9[_0x4fcc92(0x31f)],_0x2bf9b9['rxjs'],_0x2bf9b9[_0x4fcc92(0x42b)][_0x4fcc92(0x400)],_0x2bf9b9['UniverProCollaboration'],_0x2bf9b9['UniverNetwork'],_0x2bf9b9[_0x4fcc92(0x38d)],_0x2bf9b9[_0x4fcc92(0x211)],_0x2bf9b9['UniverSheets'],_0x2bf9b9[_0x4fcc92(0x311)],_0x2bf9b9[_0x4fcc92(0x3c7)]));}(this,function(_0x134a91,_0x1aee43,_0x263a1d,_0x5b935f,_0x5dc8d1,_0x30b186,_0x468bc3,_0x11f952,_0x4828a8,_0x3b99f3,_0x51c9b3){'use strict';var _0x491c30=_0x3855;var _0xfeb059=Object['defineProperty'],_0x34894c=(_0x173b82,_0x5d8a4a,_0x12c950)=>_0x5d8a4a in _0x173b82?_0xfeb059(_0x173b82,_0x5d8a4a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12c950}):_0x173b82[_0x5d8a4a]=_0x12c950,_0x3060b6=(_0x373016,_0x225b2a,_0x5e2ed5)=>_0x34894c(_0x373016,typeof _0x225b2a!='symbol'?_0x225b2a+'':_0x225b2a,_0x5e2ed5);const _0x10f6a8='/universer-api/snapshot',_0x34630e=_0x491c30(0x495),_0x58caa1=_0x491c30(0x4dc),_0x399e73=_0x491c30(0x3c2),_0x4b1749=_0x491c30(0x443),_0xc1b840=_0x491c30(0x26d),_0x48d807=_0x491c30(0x2e7),_0x937c0b=_0x491c30(0x28e),_0x1109a8=_0x491c30(0x366),_0x33bb70=_0x491c30(0x526),_0x59d240='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0xe7b935='/universer-api/uniscript';var _0x4b9602=(_0x27f3d1=>(_0x27f3d1[_0x27f3d1['UNDEFINED']=0x0]=_0x491c30(0x560),_0x27f3d1[_0x27f3d1['OK']=0x1]='OK',_0x27f3d1[_0x27f3d1[_0x491c30(0x536)]=0x2]='INTERNAL_ERROR',_0x27f3d1[_0x27f3d1[_0x491c30(0x31d)]=0x3]=_0x491c30(0x31d),_0x27f3d1[_0x27f3d1[_0x491c30(0x39a)]=0x4]=_0x491c30(0x39a),_0x27f3d1[_0x27f3d1[_0x491c30(0x547)]=0x5]=_0x491c30(0x547),_0x27f3d1[_0x27f3d1[_0x491c30(0x266)]=0x6]=_0x491c30(0x266),_0x27f3d1[_0x27f3d1[_0x491c30(0x4bf)]=0x7]=_0x491c30(0x4bf),_0x27f3d1[_0x27f3d1['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x27f3d1[_0x27f3d1['COMPLETION_FINISHED']=0x9]=_0x491c30(0x1ee),_0x27f3d1[_0x27f3d1[_0x491c30(0x407)]=0xa]='LOGIN_FAILED',_0x27f3d1[_0x27f3d1['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x491c30(0x3a5),_0x27f3d1[_0x27f3d1['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x27f3d1[_0x27f3d1[_0x491c30(0x3a9)]=0xd]=_0x491c30(0x3a9),_0x27f3d1[_0x27f3d1[_0x491c30(0x480)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x27f3d1[_0x27f3d1[_0x491c30(0x2b9)]=0x1389]=_0x491c30(0x2b9),_0x27f3d1[_0x27f3d1[_0x491c30(0x35d)]=0x1771]=_0x491c30(0x35d),_0x27f3d1[_0x27f3d1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x491c30(0x4ed),_0x27f3d1[_0x27f3d1[_0x491c30(0x552)]=0x1773]=_0x491c30(0x552),_0x27f3d1[_0x27f3d1['APPLY_REJECT']=0x1b59]=_0x491c30(0x353),_0x27f3d1[_0x27f3d1[_0x491c30(0x496)]=0x1b5a]=_0x491c30(0x496),_0x27f3d1[_0x27f3d1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x491c30(0x450),_0x27f3d1[_0x27f3d1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x491c30(0x504),_0x27f3d1[_0x27f3d1['APPLY_DUPLICATED']=0x1b5d]=_0x491c30(0x3f2),_0x27f3d1[_0x27f3d1[_0x491c30(0x25e)]=0x1f41]=_0x491c30(0x25e),_0x27f3d1[_0x27f3d1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x491c30(0x410),_0x27f3d1[_0x27f3d1['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x491c30(0x265),_0x27f3d1[_0x27f3d1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x491c30(0x49a),_0x27f3d1[_0x27f3d1[_0x491c30(0x40d)]=0x232c]=_0x491c30(0x40d),_0x27f3d1[_0x27f3d1[_0x491c30(0x4f7)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x27f3d1[_0x27f3d1[_0x491c30(0x270)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x27f3d1[_0x27f3d1[_0x491c30(0x424)]=0x2712]=_0x491c30(0x424),_0x27f3d1[_0x27f3d1[_0x491c30(0x325)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x27f3d1[_0x27f3d1[_0x491c30(0x284)]=0x2714]=_0x491c30(0x284),_0x27f3d1[_0x27f3d1[_0x491c30(0x478)]=0x271a]=_0x491c30(0x478),_0x27f3d1[_0x27f3d1[_0x491c30(0x2a5)]=0x271b]=_0x491c30(0x2a5),_0x27f3d1[_0x27f3d1['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x491c30(0x29b),_0x27f3d1[_0x27f3d1['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x491c30(0x4db),_0x27f3d1[_0x27f3d1['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x27f3d1[_0x27f3d1[_0x491c30(0x3c4)]=0x271f]=_0x491c30(0x3c4),_0x27f3d1[_0x27f3d1[_0x491c30(0x28d)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x27f3d1[_0x27f3d1[_0x491c30(0x462)]=0x2af9]=_0x491c30(0x462),_0x27f3d1[_0x27f3d1[_0x491c30(0x290)]=0x2ee1]=_0x491c30(0x290),_0x27f3d1[_0x27f3d1[_0x491c30(0x4f6)]=0x2ee2]=_0x491c30(0x4f6),_0x27f3d1[_0x27f3d1[_0x491c30(0x2da)]=0x2ee3]=_0x491c30(0x2da),_0x27f3d1[_0x27f3d1[_0x491c30(0x511)]=0x2ee4]=_0x491c30(0x511),_0x27f3d1[_0x27f3d1[_0x491c30(0x4f9)]=0x2ee5]=_0x491c30(0x4f9),_0x27f3d1[_0x27f3d1[_0x491c30(0x244)]=0x32c9]=_0x491c30(0x244),_0x27f3d1[_0x27f3d1[_0x491c30(0x3d9)]=0x32ca]=_0x491c30(0x3d9),_0x27f3d1[_0x27f3d1[_0x491c30(0x4d1)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x27f3d1[_0x27f3d1[_0x491c30(0x487)]=-0x1]=_0x491c30(0x487),_0x27f3d1))(_0x4b9602||{}),_0x21888e=(_0x326d93=>(_0x326d93[_0x326d93[_0x491c30(0x34d)]=0x0]='UNIVER_UNKNOWN',_0x326d93[_0x326d93[_0x491c30(0x491)]=0x1]=_0x491c30(0x491),_0x326d93[_0x326d93[_0x491c30(0x52e)]=0x2]=_0x491c30(0x52e),_0x326d93[_0x326d93[_0x491c30(0x2a6)]=0x3]=_0x491c30(0x2a6),_0x326d93[_0x326d93[_0x491c30(0x553)]=0x4]=_0x491c30(0x553),_0x326d93[_0x326d93[_0x491c30(0x487)]=-0x1]=_0x491c30(0x487),_0x326d93))(_0x21888e||{}),_0x52d06f=(_0x398e6e=>(_0x398e6e[_0x398e6e[_0x491c30(0x425)]=0x0]=_0x491c30(0x425),_0x398e6e[_0x398e6e['HELLO']=0x1]=_0x491c30(0x4ef),_0x398e6e[_0x398e6e['JOIN']=0x2]=_0x491c30(0x421),_0x398e6e[_0x398e6e[_0x491c30(0x3ed)]=0x3]=_0x491c30(0x3ed),_0x398e6e[_0x398e6e['INGEST']=0x4]=_0x491c30(0x304),_0x398e6e[_0x398e6e[_0x491c30(0x53c)]=0x5]=_0x491c30(0x53c),_0x398e6e[_0x398e6e[_0x491c30(0x4ae)]=0x6]=_0x491c30(0x4ae),_0x398e6e[_0x398e6e[_0x491c30(0x487)]=-0x1]=_0x491c30(0x487),_0x398e6e))(_0x52d06f||{}),_0x54d5b4=(_0x127a1d=>(_0x127a1d[_0x127a1d[_0x491c30(0x225)]=0x0]=_0x491c30(0x225),_0x127a1d[_0x127a1d['OK']=0x1]='OK',_0x127a1d[_0x127a1d[_0x491c30(0x3da)]=0x2]=_0x491c30(0x3da),_0x127a1d[_0x127a1d['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x127a1d[_0x127a1d[_0x491c30(0x2c5)]=0x3ea]=_0x491c30(0x2c5),_0x127a1d[_0x127a1d[_0x491c30(0x321)]=0x3eb]=_0x491c30(0x321),_0x127a1d[_0x127a1d[_0x491c30(0x3a8)]=0x3ec]=_0x491c30(0x3a8),_0x127a1d[_0x127a1d[_0x491c30(0x487)]=-0x1]=_0x491c30(0x487),_0x127a1d))(_0x54d5b4||{}),_0x3b9007=(_0x53cfd=>(_0x53cfd[_0x53cfd[_0x491c30(0x24e)]=0x0]=_0x491c30(0x24e),_0x53cfd[_0x53cfd[_0x491c30(0x208)]=0x1]=_0x491c30(0x208),_0x53cfd[_0x53cfd[_0x491c30(0x453)]=0x2]=_0x491c30(0x453),_0x53cfd[_0x53cfd[_0x491c30(0x33d)]=0x3]=_0x491c30(0x33d),_0x53cfd[_0x53cfd[_0x491c30(0x30e)]=0x4]=_0x491c30(0x30e),_0x53cfd[_0x53cfd[_0x491c30(0x2d2)]=0x5]='UserProfileImg',_0x53cfd[_0x53cfd[_0x491c30(0x487)]=-0x1]=_0x491c30(0x487),_0x53cfd))(_0x3b9007||{});const _0x31ee8c=_0x491c30(0x414),_0x4437b2={};var _0x1c4c73=(_0x5aa45a=>(_0x5aa45a[_0x491c30(0x385)]='OTHER_CLIENT_EDITING',_0x5aa45a['PERMISSION_DENIED']=_0x491c30(0x31d),_0x5aa45a[_0x491c30(0x280)]=_0x491c30(0x280),_0x5aa45a['CLOSE_ROOM']=_0x491c30(0x4e5),_0x5aa45a[_0x491c30(0x510)]=_0x491c30(0x510),_0x5aa45a[_0x491c30(0x2ee)]=_0x491c30(0x2ee),_0x5aa45a[_0x491c30(0x3dc)]=_0x491c30(0x3dc),_0x5aa45a[_0x491c30(0x40f)]=_0x491c30(0x40f),_0x5aa45a))(_0x1c4c73||{});class _0x207917{constructor(){var _0x28ff75=_0x491c30;_0x3060b6(this,_0x28ff75(0x545),new _0x263a1d[(_0x28ff75(0x2d4))]()),_0x3060b6(this,_0x28ff75(0x519),this[_0x28ff75(0x545)][_0x28ff75(0x50e)]());}[_0x491c30(0x2bc)](_0x238786){var _0x2d1f8d=_0x491c30;this[_0x2d1f8d(0x545)][_0x2d1f8d(0x3ff)](_0x238786);}}const _0x231a8e=_0x1aee43[_0x491c30(0x2ca)]('univer-pro.collaboration-client.network-condition.service');function _0x49e54e(_0x107a41){var _0x5ad985=_0x491c30,_0x38eba9,_0x504ba9,_0x245f7c,_0x5d2a0b,_0x39520b;const _0x5032d9=_0x107a41['data'],_0x29b60f=JSON[_0x5ad985(0x476)](_0x5032d9);switch(_0x29b60f[_0x5ad985(0x29a)]){case _0x52d06f['HEARTBEAT']:case _0x52d06f['HELLO']:{const _0x428c3a=_0x29b60f[_0x5ad985(0x4f3)];return{..._0x29b60f,'data':_0x428c3a,'cmd':_0x29b60f[_0x5ad985(0x29a)]};}case _0x52d06f[_0x5ad985(0x421)]:{const _0x458ba7=_0x29b60f['joinRsp'];return{..._0x29b60f,'data':_0x458ba7,'cmd':_0x29b60f[_0x5ad985(0x29a)]};}case _0x52d06f['RECV']:{const _0x16c806=_0x29b60f[_0x5ad985(0x50f)];switch(_0x16c806['eventID']){case _0x5dc8d1[_0x5ad985(0x43e)][_0x5ad985(0x238)]:return{..._0x29b60f,'data':{..._0x16c806,'data':(_0x38eba9=_0x16c806[_0x5ad985(0x444)])==null?void 0x0:_0x38eba9['cs']},'cmd':_0x29b60f[_0x5ad985(0x29a)]};case _0x5dc8d1['CollaborationEvent'][_0x5ad985(0x37c)]:return{..._0x29b60f,'data':{..._0x16c806,'data':(_0x504ba9=_0x16c806['csAckEvent'])==null?void 0x0:_0x504ba9['cs']},'cmd':_0x29b60f['cmd']};case _0x5dc8d1['CollaborationEvent'][_0x5ad985(0x3c0)]:return{..._0x29b60f,'data':{..._0x16c806,'data':(_0x245f7c=_0x16c806[_0x5ad985(0x413)])==null?void 0x0:_0x245f7c['cs']},'cmd':_0x29b60f[_0x5ad985(0x29a)]};case _0x5dc8d1[_0x5ad985(0x43e)][_0x5ad985(0x4b3)]:return{..._0x29b60f,'data':{..._0x16c806,'data':(_0x5d2a0b=_0x16c806[_0x5ad985(0x447)])==null?void 0x0:_0x5d2a0b['cs']},'cmd':_0x29b60f[_0x5ad985(0x29a)]};case _0x5dc8d1[_0x5ad985(0x43e)][_0x5ad985(0x3f4)]:return{..._0x29b60f,'data':{..._0x16c806,'data':(_0x39520b=_0x16c806[_0x5ad985(0x45b)])==null?void 0x0:_0x39520b['cs']},'cmd':_0x29b60f['cmd']};case _0x5dc8d1[_0x5ad985(0x43e)]['UPDATE_CURSOR']:return{..._0x29b60f,'data':{..._0x16c806,'data':_0x16c806['updateCursorEvent']},'cmd':_0x29b60f['cmd']};case _0x5dc8d1[_0x5ad985(0x43e)]['USERS_ENTER']:return{..._0x29b60f,'data':{..._0x16c806,'data':_0x16c806[_0x5ad985(0x53f)]},'cmd':_0x29b60f[_0x5ad985(0x29a)]};case _0x5dc8d1[_0x5ad985(0x43e)][_0x5ad985(0x41e)]:return{..._0x29b60f,'data':{..._0x16c806,'data':_0x16c806['leaveEvent']},'cmd':_0x29b60f['cmd']};case _0x5dc8d1[_0x5ad985(0x43e)]['LIVESHARE_NEW_HOST']:return{..._0x29b60f,'data':{..._0x16c806,'data':_0x16c806[_0x5ad985(0x333)]},'cmd':_0x29b60f['cmd']};case _0x5dc8d1[_0x5ad985(0x43e)]['LIVESHARE_FETCH_OPERATIONS']:case _0x5dc8d1[_0x5ad985(0x43e)][_0x5ad985(0x53e)]:return{..._0x29b60f,'data':{..._0x16c806,'data':_0x16c806[_0x5ad985(0x253)]},'cmd':_0x29b60f[_0x5ad985(0x29a)]};case _0x5dc8d1['CollaborationEvent'][_0x5ad985(0x36b)]:return{..._0x29b60f,'data':{..._0x16c806,'data':_0x16c806['liveShareNewHost']},'cmd':_0x29b60f['cmd']};case _0x5dc8d1[_0x5ad985(0x43e)][_0x5ad985(0x4e1)]:return{..._0x29b60f,'data':_0x16c806,'cmd':_0x29b60f['cmd']};case _0x5dc8d1[_0x5ad985(0x43e)]['COMMENT_UPDATE']:return{..._0x29b60f,'data':{..._0x16c806,'data':_0x16c806[_0x5ad985(0x3be)]},'cmd':_0x29b60f['cmd']};case _0x5dc8d1['CollaborationEvent'][_0x5ad985(0x4bc)]:return{..._0x29b60f,'data':{..._0x16c806,'data':_0x16c806['updatePermissionObjEvent']},'cmd':_0x29b60f['cmd']};case _0x5dc8d1[_0x5ad985(0x43e)][_0x5ad985(0x548)]:return{..._0x29b60f,'data':{..._0x16c806,'data':_0x16c806[_0x5ad985(0x3f5)]},'cmd':_0x29b60f['cmd']};case _0x5dc8d1[_0x5ad985(0x43e)][_0x5ad985(0x390)]:return{..._0x29b60f,'data':{..._0x16c806,'data':_0x16c806[_0x5ad985(0x455)]},'cmd':_0x29b60f[_0x5ad985(0x29a)]};default:return _0x29b60f;}}default:return _0x29b60f;}}function _0x59c7fa(_0x4e0399){var _0x35d9ab=_0x491c30;switch(_0x4e0399[_0x35d9ab(0x29a)]){case _0x52d06f[_0x35d9ab(0x53c)]:case _0x52d06f[_0x35d9ab(0x4ef)]:return JSON[_0x35d9ab(0x4d9)]({'cmd':_0x4e0399[_0x35d9ab(0x29a)],'routeKey':_0x4e0399[_0x35d9ab(0x426)]});case _0x52d06f[_0x35d9ab(0x304)]:{let _0x4393ff;switch(_0x4e0399[_0x35d9ab(0x3a7)][_0x35d9ab(0x4c9)]){case _0x5dc8d1['CollaborationEvent'][_0x35d9ab(0x22d)]:{_0x4393ff={'eventID':_0x5dc8d1[_0x35d9ab(0x43e)][_0x35d9ab(0x22d)],'updateCursorEvent':_0x4e0399['data'][_0x35d9ab(0x3a7)]};break;}case _0x5dc8d1['CollaborationEvent'][_0x35d9ab(0x41e)]:{_0x4393ff={'eventID':_0x5dc8d1[_0x35d9ab(0x43e)][_0x35d9ab(0x41e)],'leaveEvent':_0x4e0399[_0x35d9ab(0x3a7)][_0x35d9ab(0x3a7)]};break;}case _0x5dc8d1[_0x35d9ab(0x43e)][_0x35d9ab(0x2ba)]:{_0x4393ff={'eventID':_0x5dc8d1['CollaborationEvent'][_0x35d9ab(0x2ba)],'joinEvent':_0x4e0399['data']['data']};break;}case _0x5dc8d1[_0x35d9ab(0x43e)][_0x35d9ab(0x37e)]:{_0x4393ff={'eventID':_0x5dc8d1[_0x35d9ab(0x43e)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x4e0399[_0x35d9ab(0x3a7)]['data']};break;}case _0x5dc8d1['CollaborationEvent'][_0x35d9ab(0x53e)]:{_0x4393ff={'eventID':_0x5dc8d1[_0x35d9ab(0x43e)][_0x35d9ab(0x53e)],'liveShareOperation':_0x4e0399[_0x35d9ab(0x3a7)][_0x35d9ab(0x3a7)]};break;}case _0x5dc8d1[_0x35d9ab(0x43e)][_0x35d9ab(0x36b)]:{_0x4393ff={'eventID':_0x5dc8d1[_0x35d9ab(0x43e)][_0x35d9ab(0x36b)],'liveShareTerminate':_0x4e0399[_0x35d9ab(0x3a7)][_0x35d9ab(0x3a7)]};break;}case _0x5dc8d1['CollaborationEvent'][_0x35d9ab(0x47e)]:{_0x4393ff={'eventID':_0x5dc8d1[_0x35d9ab(0x43e)][_0x35d9ab(0x47e)],'liveShareRequestHost':_0x4e0399[_0x35d9ab(0x3a7)][_0x35d9ab(0x3a7)]};break;}case _0x5dc8d1[_0x35d9ab(0x43e)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4393ff={'eventID':_0x5dc8d1['CollaborationEvent'][_0x35d9ab(0x392)]};break;}default:_0x4393ff={'eventID':_0x4e0399[_0x35d9ab(0x3a7)][_0x35d9ab(0x4c9)]};}return JSON['stringify']({'cmd':_0x4e0399[_0x35d9ab(0x29a)],'routeKey':_0x4e0399[_0x35d9ab(0x426)],'collaMsg':_0x4393ff});}case _0x52d06f['JOIN']:return JSON[_0x35d9ab(0x4d9)]({'cmd':_0x4e0399[_0x35d9ab(0x29a)],'routeKey':_0x4e0399[_0x35d9ab(0x426)],'joinReq':_0x4e0399['data']});case _0x52d06f[_0x35d9ab(0x3ed)]:return JSON['stringify']({'cmd':_0x4e0399[_0x35d9ab(0x29a)],'routeKey':_0x4e0399[_0x35d9ab(0x426)],'leaveReq':_0x4e0399[_0x35d9ab(0x3a7)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x253d55=Object[_0x491c30(0x227)],_0x22531d=(_0xd74f8f,_0x2d37f6,_0x583c6c,_0x16a8f7)=>{for(var _0x49d0cd=_0x16a8f7>0x1?void 0x0:_0x16a8f7?_0x253d55(_0x2d37f6,_0x583c6c):_0x2d37f6,_0x1ffc45=_0xd74f8f['length']-0x1,_0x1136cf;_0x1ffc45>=0x0;_0x1ffc45--)(_0x1136cf=_0xd74f8f[_0x1ffc45])&&(_0x49d0cd=_0x1136cf(_0x49d0cd)||_0x49d0cd);return _0x49d0cd;},_0x1c4173=(_0x2853fe,_0x4e295c)=>(_0x247bcc,_0x5ca9ea)=>_0x4e295c(_0x247bcc,_0x5ca9ea,_0x2853fe);const _0x4d0072=_0x1aee43[_0x491c30(0x2ca)](_0x491c30(0x54b));function _0xc89974(_0x127f51,_0x530efb,_0x4e2e5e){var _0x29676c=_0x491c30;return _0x127f51+'/'+_0x530efb+_0x29676c(0x1f6)+_0x4e2e5e+'/new_changes';}_0x134a91['CollaborationSocketService']=class extends _0x1aee43[_0x491c30(0x258)]{constructor(_0x36aaa9,_0x14db46,_0x285a08,_0x223d81,_0x470163){var _0x59dd18=_0x491c30;super(),this['_injector']=_0x36aaa9,this['_httpService']=_0x14db46,this[_0x59dd18(0x35f)]=_0x285a08,this[_0x59dd18(0x412)]=_0x223d81,this[_0x59dd18(0x4c4)]=_0x470163;}[_0x491c30(0x3e3)](_0x3d47ca){var _0x783a69=_0x491c30;const _0x24778f=this['_injector'][_0x783a69(0x47c)](_0x30b186['ISocketService']);if(!_0x24778f)throw new Error(_0x783a69(0x2cf));const _0x5d467a=_0x24778f[_0x783a69(0x1f4)](_0x3d47ca);if(!_0x5d467a)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x557fc2=new _0x1aee43['DisposableCollection'](),_0x15ac41=new _0x263a1d[(_0x783a69(0x2d4))]();_0x557fc2[_0x783a69(0x535)](_0x5d467a[_0x783a69(0x2e9)][_0x783a69(0x3e1)](_0x4356f6=>_0x15ac41[_0x783a69(0x3ff)](_0x4356f6))),_0x557fc2[_0x783a69(0x535)](_0x1aee43[_0x783a69(0x33a)](()=>_0x15ac41[_0x783a69(0x24a)]()));const _0x56a937=new _0x263a1d['Subject']();_0x557fc2[_0x783a69(0x535)](_0x5d467a['error$'][_0x783a69(0x3e1)](_0x5c1405=>_0x56a937[_0x783a69(0x3ff)](_0x5c1405))),_0x557fc2[_0x783a69(0x535)](_0x1aee43['toDisposable'](()=>_0x56a937[_0x783a69(0x24a)]()));const _0x357ba1=new _0x263a1d[(_0x783a69(0x2d4))]();_0x557fc2[_0x783a69(0x535)](_0x5d467a['message$'][_0x783a69(0x3e1)](_0x48a1e2=>{const _0x4c3152=_0x49e54e(_0x48a1e2);_0x357ba1['next'](_0x4c3152);})),_0x557fc2[_0x783a69(0x535)](_0x1aee43[_0x783a69(0x33a)](()=>_0x357ba1[_0x783a69(0x24a)]()));let _0x423e62;const _0x2b279e=()=>{var _0x26bf93=_0x783a69;_0x56a937[_0x26bf93(0x3ff)](new Event(_0x26bf93(0x39e))),_0x15ac41['next'](new Event(_0x26bf93(0x39e))),_0x423e62[_0x26bf93(0x4d6)]();};return _0x423e62={'memberID':'','close$':_0x15ac41[_0x783a69(0x50e)](),'error$':_0x56a937['asObservable'](),'open$':_0x5d467a[_0x783a69(0x3fc)],'message$':_0x357ba1[_0x783a69(0x50e)](),'send':_0x3306d4=>{var _0x50bff0=_0x783a69;if(_0x3306d4[_0x50bff0(0x29a)]===_0x52d06f[_0x50bff0(0x304)]){if(_0x3306d4[_0x50bff0(0x3a7)][_0x50bff0(0x4c9)]===_0x5dc8d1[_0x50bff0(0x43e)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x423e62,_0x3306d4['data'])[_0x50bff0(0x234)](_0x164b03=>{var _0x3a32c9=_0x50bff0;this[_0x3a32c9(0x412)][_0x3a32c9(0x364)](_0x164b03),_0x2b279e();});return;}if(_0x3306d4[_0x50bff0(0x3a7)][_0x50bff0(0x4c9)]===_0x5dc8d1[_0x50bff0(0x43e)]['FETCH_MISSING']){const _0x33a433=_0x3306d4[_0x50bff0(0x3a7)];this[_0x50bff0(0x520)](_0x33a433)[_0x50bff0(0x23e)](_0x580e67=>{var _0x49b1c4=_0x50bff0;_0x357ba1[_0x49b1c4(0x3ff)]({'cmd':_0x52d06f[_0x49b1c4(0x4ae)],'code':_0x54d5b4['OK'],'routeKey':_0x33a433['data']['unitID'],'routeType':'','data':{'eventID':_0x5dc8d1['CollaborationEvent'][_0x49b1c4(0x4df)],'data':{'changesets':_0x580e67}}});})[_0x50bff0(0x234)](_0x29e8c2=>{var _0x569fb6=_0x50bff0;this[_0x569fb6(0x412)][_0x569fb6(0x364)](_0x29e8c2),_0x2b279e();});return;}}_0x5d467a[_0x50bff0(0x507)](_0x59c7fa(_0x3306d4));},'close':()=>{var _0x18b50f=_0x783a69;_0x5d467a[_0x18b50f(0x4d6)](),_0x557fc2[_0x18b50f(0x3b9)]();}},_0x423e62;}async[_0x491c30(0x420)](_0x3ad11a,_0x43bb6d){var _0x520570=_0x491c30,_0x56523c;const {unitType:_0x13da19,unitID:_0x5917d6,changeset:_0x992ada}=_0x43bb6d[_0x520570(0x3a7)],_0x57f243={'unitID':_0x5917d6,'memberID':_0x3ad11a[_0x520570(0x3fd)],'type':_0x13da19,'changeset':_0x5dc8d1[_0x520570(0x517)](_0x992ada)},_0x1ec3a7=this[_0x520570(0x35f)][_0x520570(0x214)](_0x31ee8c),_0x32a25c=_0xc89974((_0x56523c=_0x1ec3a7==null?void 0x0:_0x1ec3a7[_0x520570(0x3df)])!=null?_0x56523c:_0x1109a8,_0x13da19,_0x5917d6);try{await this['_httpService'][_0x520570(0x482)](_0x32a25c,{'body':_0x57f243});}catch(_0x29cbf6){throw this[_0x520570(0x412)][_0x520570(0x364)](_0x520570(0x20b),'submit\x20changeset\x20error!'),_0x29cbf6;}}async[_0x491c30(0x520)](_0x4b1f63){var _0x2480d8=_0x491c30;const {unitID:_0x52d66d,from:_0x38b2f3,to:_0x149f4b,unitType:_0x2d144b}=_0x4b1f63[_0x2480d8(0x3a7)];return(await this[_0x2480d8(0x4c4)][_0x2480d8(0x34c)]({'metadata':void 0x0},{'unitID':_0x52d66d,'type':_0x2d144b,'from':_0x38b2f3,'to':_0x149f4b}))[_0x2480d8(0x4e6)];}},_0x134a91[_0x491c30(0x497)]=_0x22531d([_0x1c4173(0x0,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x1f7)])),_0x1c4173(0x1,_0x1aee43[_0x491c30(0x21b)](_0x30b186[_0x491c30(0x3e2)])),_0x1c4173(0x2,_0x1aee43[_0x491c30(0x4f5)]),_0x1c4173(0x3,_0x1aee43['ILogService']),_0x1c4173(0x4,_0x5dc8d1['ISnapshotServerService'])],_0x134a91[_0x491c30(0x497)]);const _0x3da21d=_0x491c30(0x373);function _0x7846b3(_0x43dbf5){var _0x1620c5=_0x491c30;return JSON['stringify'](_0x43dbf5)[_0x1620c5(0x2ac)];}class _0x59665d{constructor(){var _0x1d0f0c=_0x491c30;_0x3060b6(this,_0x1d0f0c(0x4fc),new _0x263a1d[(_0x1d0f0c(0x2d4))]()),_0x3060b6(this,_0x1d0f0c(0x2c1),this[_0x1d0f0c(0x4fc)]['asObservable']());}[_0x491c30(0x454)](_0x57995f){var _0x47c0b5=_0x491c30;this[_0x47c0b5(0x4fc)][_0x47c0b5(0x3ff)](_0x57995f);}}var _0x54a77c=Object[_0x491c30(0x227)],_0x32b4a3=(_0x179f70,_0x276500,_0x350e52,_0x2afe31)=>{for(var _0x222729=_0x2afe31>0x1?void 0x0:_0x2afe31?_0x54a77c(_0x276500,_0x350e52):_0x276500,_0x3697f8=_0x179f70['length']-0x1,_0x4eaa0e;_0x3697f8>=0x0;_0x3697f8--)(_0x4eaa0e=_0x179f70[_0x3697f8])&&(_0x222729=_0x4eaa0e(_0x222729)||_0x222729);return _0x222729;},_0x343a49=(_0x680a95,_0x250782)=>(_0x598d07,_0x5f3d32)=>_0x250782(_0x598d07,_0x5f3d32,_0x680a95);_0x134a91[_0x491c30(0x49c)]=class extends _0x1aee43['Disposable']{constructor(_0x3c9b5d,_0x163cc5){var _0x37473a=_0x491c30;super(),_0x3060b6(this,'_roomMembers',new Map()),_0x3060b6(this,_0x37473a(0x361),new _0x263a1d[(_0x37473a(0x2d4))]()),(this[_0x37473a(0x332)]=_0x3c9b5d,this[_0x37473a(0x327)]=_0x163cc5,this[_0x37473a(0x2e4)](_0x263a1d[_0x37473a(0x20d)](this[_0x37473a(0x332)][_0x37473a(0x525)](_0x1aee43[_0x37473a(0x471)][_0x37473a(0x52e)])[_0x37473a(0x2c0)](_0x5b935f[_0x37473a(0x2cc)](_0x5d4121=>_0x5d4121['getUnitId']())),this[_0x37473a(0x332)][_0x37473a(0x525)](_0x1aee43[_0x37473a(0x471)][_0x37473a(0x491)])['pipe'](_0x5b935f[_0x37473a(0x2cc)](_0x2a82c2=>_0x2a82c2['getUnitId']())),this[_0x37473a(0x332)][_0x37473a(0x525)](_0x1aee43[_0x37473a(0x471)][_0x37473a(0x2a6)])[_0x37473a(0x2c0)](_0x5b935f['map'](_0x482a65=>_0x482a65[_0x37473a(0x31c)]())))['subscribe'](_0x4c2db3=>this['_removeRoom'](_0x4c2db3))));}[_0x491c30(0x4a7)](_0x35262c){var _0x5eaf12=_0x491c30;return this[_0x5eaf12(0x320)][_0x5eaf12(0x4ee)](_0x35262c)?_0x263a1d['of'](this[_0x5eaf12(0x320)]['get'](_0x35262c)):this['_roomCreated$'][_0x5eaf12(0x2c0)](_0x5b935f[_0x5eaf12(0x2cc)](_0x27cb55=>{var _0x21731d=_0x5eaf12;if(_0x27cb55===_0x35262c)return this['_roomMembers'][_0x21731d(0x47c)](_0x27cb55);}));}[_0x491c30(0x477)](_0x201be5){var _0xa90844=_0x491c30;this[_0xa90844(0x327)]['setCurrentUser'](_0x201be5);}[_0x491c30(0x47f)](){var _0x280f14=_0x491c30;return this['_userManagerService'][_0x280f14(0x47f)]();}[_0x491c30(0x464)](_0x2eedfa,_0x224133){var _0x3c164f=_0x491c30;let _0x23a6cd=this[_0x3c164f(0x320)][_0x3c164f(0x47c)](_0x2eedfa);_0x23a6cd||(_0x23a6cd=new _0x353e15(),this[_0x3c164f(0x320)][_0x3c164f(0x34b)](_0x2eedfa,_0x23a6cd),this[_0x3c164f(0x361)]['next'](_0x2eedfa)),_0x23a6cd[_0x3c164f(0x464)](_0x224133);}[_0x491c30(0x37f)](_0x11a316,_0x1e5fb0){var _0x368921=_0x491c30;const _0x7a865c=this[_0x368921(0x320)][_0x368921(0x47c)](_0x11a316);_0x7a865c&&_0x7a865c[_0x368921(0x37f)](_0x1e5fb0);}[_0x491c30(0x3cf)](_0x1e064d){var _0x116506=_0x491c30;return this[_0x116506(0x320)][_0x116506(0x47c)](_0x1e064d);}[_0x491c30(0x217)](_0x5b6b53,_0x555b63){var _0x31ed93=_0x491c30;const _0x2b450e=this[_0x31ed93(0x320)][_0x31ed93(0x47c)](_0x5b6b53);if(_0x2b450e)return _0x2b450e[_0x31ed93(0x217)](_0x555b63);}[_0x491c30(0x4e2)](_0xaecce2){var _0xbd9b5d=_0x491c30;const _0x259b8d=this['_roomMembers']['get'](_0xaecce2);_0x259b8d&&(_0x259b8d[_0xbd9b5d(0x3b9)](),this[_0xbd9b5d(0x320)]['delete'](_0xaecce2));}[_0x491c30(0x3b9)](){var _0x59a949=_0x491c30;this[_0x59a949(0x320)][_0x59a949(0x4e3)](_0x5c6923=>_0x5c6923['dispose']()),this[_0x59a949(0x320)]['clear'](),this[_0x59a949(0x361)][_0x59a949(0x24a)]();}},_0x134a91[_0x491c30(0x49c)]=_0x32b4a3([_0x343a49(0x0,_0x1aee43['IUniverInstanceService']),_0x343a49(0x1,_0x1aee43['Inject'](_0x1aee43['UserManagerService']))],_0x134a91[_0x491c30(0x49c)]);class _0x353e15 extends _0x1aee43[_0x491c30(0x258)]{constructor(){var _0x54dcb9=_0x491c30;super(...arguments),_0x3060b6(this,_0x54dcb9(0x397),new Map()),_0x3060b6(this,_0x54dcb9(0x340),new _0x263a1d[(_0x54dcb9(0x334))](this[_0x54dcb9(0x397)])),_0x3060b6(this,'members$',this[_0x54dcb9(0x340)][_0x54dcb9(0x50e)]());}[_0x491c30(0x3b9)](){var _0x4a0375=_0x491c30;this[_0x4a0375(0x397)][_0x4a0375(0x1ed)]();}[_0x491c30(0x464)](_0x404db3){var _0x4fc180=_0x491c30;this[_0x4fc180(0x397)]['set'](_0x404db3['memberID'],_0x404db3),this['_emitMembers']();}['removeMember'](_0x5393b0){var _0x288da6=_0x491c30;this[_0x288da6(0x397)][_0x288da6(0x54f)](_0x5393b0);}[_0x491c30(0x217)](_0x133cd4){var _0x7da5db=_0x491c30;return this[_0x7da5db(0x397)][_0x7da5db(0x47c)](_0x133cd4);}[_0x491c30(0x51c)](){var _0x5454b5=_0x491c30;return Array[_0x5454b5(0x348)](this[_0x5454b5(0x397)][_0x5454b5(0x49f)]());}[_0x491c30(0x543)](){var _0x28c3a8=_0x491c30;this['_members$'][_0x28c3a8(0x3ff)](this['_members']);}}var _0x32c5d1=Object[_0x491c30(0x227)],_0x397aa9=(_0x454e5f,_0x1ab228,_0x378182,_0x2daa80)=>{var _0x46b352=_0x491c30;for(var _0x266d5a=_0x2daa80>0x1?void 0x0:_0x2daa80?_0x32c5d1(_0x1ab228,_0x378182):_0x1ab228,_0x223f18=_0x454e5f[_0x46b352(0x2ac)]-0x1,_0x41e720;_0x223f18>=0x0;_0x223f18--)(_0x41e720=_0x454e5f[_0x223f18])&&(_0x266d5a=_0x41e720(_0x266d5a)||_0x266d5a);return _0x266d5a;},_0x99ca41=(_0x56a209,_0x3a3727)=>(_0x5caebe,_0x5f5ba6)=>_0x3a3727(_0x5caebe,_0x5f5ba6,_0x56a209),_0x4d7505=(_0x4e6026=>(_0x4e6026[_0x4e6026['IDLE']=0x0]=_0x491c30(0x2d3),_0x4e6026[_0x4e6026[_0x491c30(0x25d)]=0x1]=_0x491c30(0x25d),_0x4e6026[_0x4e6026['OFFLINE']=0x2]='OFFLINE',_0x4e6026[_0x4e6026[_0x491c30(0x506)]=0x3]='ONLINE',_0x4e6026))(_0x4d7505||{});const _0x52d8bf={[_0x54d5b4[_0x491c30(0x3da)]]:_0x491c30(0x233),[_0x54d5b4[_0x491c30(0x530)]]:_0x491c30(0x3f6),[_0x54d5b4[_0x491c30(0x2c5)]]:_0x491c30(0x322),[_0x54d5b4['JOIN_ROOM_PERMISSION_DENIED']]:_0x491c30(0x46f),[_0x54d5b4['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};_0x134a91[_0x491c30(0x22f)]=class extends _0x1aee43[_0x491c30(0x46a)]{constructor(_0x340275,_0x4be673,_0x12c098,_0x35456d,_0x2b8e62,_0x1ea652,_0x47fb47,_0x44b870){var _0xa635dc=_0x491c30;super(),_0x3060b6(this,_0xa635dc(0x379),new _0x263a1d['BehaviorSubject'](0x0)),_0x3060b6(this,'sessionStatus$',this[_0xa635dc(0x379)][_0xa635dc(0x50e)]()),_0x3060b6(this,'_event$',new _0x263a1d[(_0xa635dc(0x2d4))]()),_0x3060b6(this,'event$',this[_0xa635dc(0x545)][_0xa635dc(0x50e)]()),_0x3060b6(this,'_socket'),_0x3060b6(this,_0xa635dc(0x282)),_0x3060b6(this,'_collaborationTimeoutTimer'),_0x3060b6(this,_0xa635dc(0x277),!0x1),_0x3060b6(this,_0xa635dc(0x4a5),null),(this[_0xa635dc(0x307)]=_0x340275,this['_logService']=_0x12c098,this[_0xa635dc(0x35f)]=_0x35456d,this[_0xa635dc(0x302)]=_0x2b8e62,this[_0xa635dc(0x3b5)]=_0x1ea652,this['_collaborationUIEventService']=_0x47fb47,this[_0xa635dc(0x474)]=_0x44b870,this[_0xa635dc(0x277)]=!!this[_0xa635dc(0x474)],_0x4be673[_0xa635dc(0x2c0)](_0x263a1d[_0xa635dc(0x4f4)](this[_0xa635dc(0x310)]))[_0xa635dc(0x3e1)](_0x5b1c91=>{var _0x30575b=_0xa635dc,_0x3df861;typeof _0x5b1c91>'u'||(this[_0x30575b(0x38c)]=_0x5b1c91,_0x5b1c91?(this[_0x30575b(0x528)](_0x5b1c91),this[_0x30575b(0x282)]=_0x5b1c91['message$'][_0x30575b(0x3e1)](_0xa7a190=>{var _0x30da1c=_0x30575b;_0xa7a190[_0x30da1c(0x426)]===this[_0x30da1c(0x307)]&&this['_onCombEvent'](_0xa7a190);})):(this[_0x30575b(0x2db)](),this[_0x30575b(0x379)][_0x30575b(0x3ff)](0x2),(_0x3df861=this[_0x30575b(0x282)])==null||_0x3df861[_0x30575b(0x2f3)](),this[_0x30575b(0x282)]=null));}));}get['sessionStatus'](){var _0x4e7c7e=_0x491c30;return this[_0x4e7c7e(0x379)]['getValue']();}[_0x491c30(0x29e)](){var _0x2d281c=_0x491c30,_0xc80813,_0x30f9d9;return(_0x30f9d9=(_0xc80813=this[_0x2d281c(0x38c)])==null?void 0x0:_0xc80813[_0x2d281c(0x3fd)])!=null?_0x30f9d9:null;}[_0x491c30(0x3b9)](){var _0x2b8f88=_0x491c30;super[_0x2b8f88(0x3b9)](),this[_0x2b8f88(0x310)]['next'](),this[_0x2b8f88(0x310)]['complete']();}['close'](){var _0x963964=_0x491c30,_0x57fdac,_0x47eebe;this[_0x963964(0x2db)](),(_0x57fdac=this[_0x963964(0x38c)])==null||_0x57fdac['send']({'cmd':_0x52d06f[_0x963964(0x3ed)],'data':{'roomID':this[_0x963964(0x307)]}}),(_0x47eebe=this[_0x963964(0x38c)])==null||_0x47eebe['close'](),this['_event$'][_0x963964(0x24a)](),this['_sessionStatus$'][_0x963964(0x24a)](),this['dispose']();}['_onCombEvent'](_0x426284){var _0x55f890=_0x491c30;_0x426284[_0x55f890(0x29a)]===_0x52d06f[_0x55f890(0x421)]?this[_0x55f890(0x3c5)](_0x426284):_0x426284[_0x55f890(0x29a)]===_0x52d06f[_0x55f890(0x4ae)]&&this[_0x55f890(0x1ff)](_0x426284);}[_0x491c30(0x528)](_0x1e3aac){var _0x381045=_0x491c30;this[_0x381045(0x379)][_0x381045(0x3ff)](0x1),_0x1e3aac[_0x381045(0x507)]({'cmd':_0x52d06f[_0x381045(0x421)],'routeKey':this[_0x381045(0x307)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x83ed6f){var _0x297f80=_0x491c30,_0x409d41;if(_0x83ed6f[_0x297f80(0x3e5)]in _0x52d8bf){this[_0x297f80(0x484)][_0x297f80(0x2bc)]({'id':_0x1c4c73[_0x297f80(0x510)],'data':_0x52d8bf[_0x83ed6f[_0x297f80(0x3e5)]]}),this['_sessionStatus$'][_0x297f80(0x3ff)](0x2);return;}this[_0x297f80(0x379)][_0x297f80(0x3ff)](0x3);const _0x2babd6=(_0x409d41=_0x83ed6f['data']['roomInfos'][this[_0x297f80(0x307)]])==null?void 0x0:_0x409d41['members'];_0x2babd6&&_0x2babd6[_0x297f80(0x4e3)](_0x1afe0d=>this[_0x297f80(0x302)]['updateMember'](this[_0x297f80(0x307)],_0x1afe0d));}[_0x491c30(0x1ff)](_0x1a3f71){var _0x2b449f=_0x491c30;try{const _0x415f23=_0x1a3f71[_0x2b449f(0x3a7)];switch(_0x415f23[_0x2b449f(0x4c9)]){case _0x5dc8d1['CollaborationEvent'][_0x2b449f(0x2ba)]:this[_0x2b449f(0x40e)](_0x415f23),this['_event$'][_0x2b449f(0x3ff)](_0x415f23);break;case _0x5dc8d1[_0x2b449f(0x43e)][_0x2b449f(0x41e)]:this[_0x2b449f(0x305)](_0x415f23),this[_0x2b449f(0x545)]['next'](_0x415f23);break;case _0x5dc8d1[_0x2b449f(0x43e)]['CHANGESET_ACK']:case _0x5dc8d1[_0x2b449f(0x43e)][_0x2b449f(0x3f4)]:this[_0x2b449f(0x551)](),this[_0x2b449f(0x492)](),this[_0x2b449f(0x545)][_0x2b449f(0x3ff)](_0x415f23);break;case _0x5dc8d1[_0x2b449f(0x43e)][_0x2b449f(0x4e1)]:this['_logService'][_0x2b449f(0x364)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x415f23)),this[_0x2b449f(0x545)][_0x2b449f(0x3ff)](_0x415f23);break;case _0x5dc8d1[_0x2b449f(0x43e)]['COMMENT_UPDATE']:this[_0x2b449f(0x3b5)][_0x2b449f(0x454)](_0x415f23[_0x2b449f(0x3a7)]),this[_0x2b449f(0x545)][_0x2b449f(0x3ff)](_0x415f23);break;default:this[_0x2b449f(0x545)][_0x2b449f(0x3ff)](_0x415f23);}}catch(_0x49a777){this[_0x2b449f(0x412)][_0x2b449f(0x364)](_0x49a777,_0x1a3f71);}}['_onUserJoin'](_0x4f763e){var _0x62a388=_0x491c30;this[_0x62a388(0x302)][_0x62a388(0x464)](this[_0x62a388(0x307)],_0x4f763e[_0x62a388(0x3a7)]);}[_0x491c30(0x305)](_0x4d3394){var _0x34f949=_0x491c30;this['_memberService'][_0x34f949(0x37f)](this[_0x34f949(0x307)],_0x4d3394['data'][_0x34f949(0x3fd)]);}async[_0x491c30(0x507)](_0x52299,_0x1d7950){var _0x94af80=_0x491c30;if(this[_0x94af80(0x41b)]!==0x3||!this[_0x94af80(0x38c)])throw new Error(_0x94af80(0x45c));try{_0x52299[_0x94af80(0x4c9)]===_0x5dc8d1[_0x94af80(0x43e)][_0x94af80(0x2af)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x94af80(0x297)](_0x52299)),this[_0x94af80(0x38c)]['send']({'cmd':_0x52d06f[_0x94af80(0x304)],'routeKey':_0x1d7950,'routeType':'','data':_0x52299});}catch(_0x3996cb){this[_0x94af80(0x412)][_0x94af80(0x364)](_0x3996cb);}}[_0x491c30(0x359)](){var _0x355bbd=_0x491c30,_0x295c73;this[_0x355bbd(0x2b2)]=setTimeout(()=>{this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x1c4c73['SUBMIT_CHANGESET_TIMEOUT']});},(_0x295c73=this[_0x355bbd(0x35f)][_0x355bbd(0x214)](_0xc1b840))!=null?_0x295c73:0x4e20);}[_0x491c30(0x492)](){var _0x3a5f02=_0x491c30;this[_0x3a5f02(0x2b2)]&&(clearTimeout(this[_0x3a5f02(0x2b2)]),this[_0x3a5f02(0x2b2)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x27587b){var _0x1f0fac=_0x491c30;if(!this['_shouldReportTelemetry'])return;const {data:_0x250449}=_0x27587b,{unitID:_0x269371,changeset:_0x381243}=_0x250449,{mutations:_0x2f275f,type:_0x132f8e}=_0x381243;this[_0x1f0fac(0x4a5)]={'unitId':_0x269371,'type':_0x132f8e,'startTime':performance[_0x1f0fac(0x375)](),'stopTime':0x0,'duration':0x0,'size':_0x7846b3(_0x2f275f)};}[_0x491c30(0x551)](){var _0x18e317=_0x491c30;if(this[_0x18e317(0x277)]){if(!this[_0x18e317(0x4a5)]){this[_0x18e317(0x412)][_0x18e317(0x364)](_0x18e317(0x20b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x18e317(0x3b2)]=performance['now'](),this[_0x18e317(0x4a5)][_0x18e317(0x328)]=this[_0x18e317(0x4a5)][_0x18e317(0x3b2)]-this['_telemetryInfo'][_0x18e317(0x3aa)],this[_0x18e317(0x474)][_0x18e317(0x1f1)](_0x3da21d,this['_telemetryInfo']),this[_0x18e317(0x4a5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},_0x134a91[_0x491c30(0x22f)]=_0x397aa9([_0x99ca41(0x2,_0x1aee43[_0x491c30(0x247)]),_0x99ca41(0x3,_0x1aee43['IConfigService']),_0x99ca41(0x4,_0x1aee43['Inject'](_0x134a91[_0x491c30(0x49c)])),_0x99ca41(0x5,_0x1aee43[_0x491c30(0x21b)](_0x59665d)),_0x99ca41(0x6,_0x1aee43[_0x491c30(0x21b)](_0x207917)),_0x99ca41(0x7,_0x1aee43['Optional'](_0x468bc3[_0x491c30(0x45e)]))],_0x134a91[_0x491c30(0x22f)]);var _0x4e3077=Object[_0x491c30(0x227)],_0x48dc31=(_0x4bea50,_0x1c09b9,_0x44631a,_0x2ba931)=>{var _0x5591db=_0x491c30;for(var _0x5cea79=_0x2ba931>0x1?void 0x0:_0x2ba931?_0x4e3077(_0x1c09b9,_0x44631a):_0x1c09b9,_0x5cce79=_0x4bea50[_0x5591db(0x2ac)]-0x1,_0x141ac;_0x5cce79>=0x0;_0x5cce79--)(_0x141ac=_0x4bea50[_0x5cce79])&&(_0x5cea79=_0x141ac(_0x5cea79)||_0x5cea79);return _0x5cea79;},_0x743d83=(_0x5074b5,_0x102a6b)=>(_0x257b4e,_0x3afa1e)=>_0x102a6b(_0x257b4e,_0x3afa1e,_0x5074b5);_0x134a91[_0x491c30(0x52f)]=class extends _0x1aee43[_0x491c30(0x258)]{constructor(_0x4f26fb,_0x5506c1,_0x35fcaa,_0x4ab36c,_0x320b0e,_0x192605){var _0x3d9641=_0x491c30;super(),_0x3060b6(this,'_socket$',new _0x263a1d[(_0x3d9641(0x334))](void 0x0)),_0x3060b6(this,_0x3d9641(0x4ea),this['_socket$'][_0x3d9641(0x50e)]()),_0x3060b6(this,'_candidateSocket',null),_0x3060b6(this,'_sessions',new Map()),_0x3060b6(this,'_status$',new _0x263a1d[(_0x3d9641(0x334))](_0x4d7505[_0x3d9641(0x2d3)])),_0x3060b6(this,_0x3d9641(0x21e),this[_0x3d9641(0x3af)]['asObservable']()),_0x3060b6(this,'_socketReady',!0x1),_0x3060b6(this,'_retryConnectingTimer'),_0x3060b6(this,_0x3d9641(0x1fa),0x0),_0x3060b6(this,_0x3d9641(0x540)),_0x3060b6(this,_0x3d9641(0x2aa)),(this[_0x3d9641(0x3f3)]=_0x4f26fb,this[_0x3d9641(0x412)]=_0x5506c1,this[_0x3d9641(0x35f)]=_0x35fcaa,this[_0x3d9641(0x2fa)]=_0x4ab36c,this[_0x3d9641(0x484)]=_0x320b0e,this[_0x3d9641(0x40c)]=_0x192605,this['_listenToNetworkCondition']());}get[_0x491c30(0x38c)](){var _0x11e32e=_0x491c30;return this[_0x11e32e(0x292)][_0x11e32e(0x25a)]();}['_listenToNetworkCondition'](){var _0xf0a296=_0x491c30;this[_0xf0a296(0x40c)]&&this[_0xf0a296(0x2e4)](this['_networkConditionService']['online$'][_0xf0a296(0x3e1)](_0x1ba62d=>{var _0x33dcaa=_0xf0a296;_0x1ba62d&&!this['_socket']&&this[_0x33dcaa(0x27a)](),_0x1ba62d||this[_0x33dcaa(0x229)]();}));}[_0x491c30(0x3b9)](){var _0x3ec149=_0x491c30;super[_0x3ec149(0x3b9)](),this['_clearRetryConnectingTimer'](),this[_0x3ec149(0x556)](),this[_0x3ec149(0x2a0)](),this[_0x3ec149(0x398)][_0x3ec149(0x4e3)](_0x371ac4=>_0x371ac4[_0x3ec149(0x3b9)]()),this[_0x3ec149(0x398)][_0x3ec149(0x1ed)](),this['_status$']['complete']();}async[_0x491c30(0x27b)](_0x3c7688){var _0x508cab=_0x491c30;if(this['_sessions'][_0x508cab(0x4ee)](_0x3c7688))return this['_sessions'][_0x508cab(0x47c)](_0x3c7688);this[_0x508cab(0x406)]();const _0x454b38=this[_0x508cab(0x3f3)][_0x508cab(0x2c8)](_0x134a91[_0x508cab(0x22f)],_0x3c7688,this[_0x508cab(0x292)]['asObservable']());return this[_0x508cab(0x398)][_0x508cab(0x34b)](_0x3c7688,_0x454b38),_0x454b38;}[_0x491c30(0x1e1)](_0x5c53cc){var _0x54310b=_0x491c30,_0x25617c;const _0x4a59b7=this[_0x54310b(0x398)][_0x54310b(0x47c)](_0x5c53cc);_0x4a59b7&&(this[_0x54310b(0x398)][_0x54310b(0x54f)](_0x5c53cc),_0x4a59b7[_0x54310b(0x4d6)]()),this['_sessions'][_0x54310b(0x2d8)]||(_0x25617c=this[_0x54310b(0x38c)])==null||_0x25617c[_0x54310b(0x4d6)]();}[_0x491c30(0x27a)](){var _0xb1f207=_0x491c30;this['_retryCount']=0x0,this[_0xb1f207(0x434)](),this[_0xb1f207(0x1f3)]();}['_clearRetryConnectingTimer'](){var _0x1b4a48=_0x491c30;this[_0x1b4a48(0x404)]!=null&&(clearTimeout(this[_0x1b4a48(0x404)]),this[_0x1b4a48(0x404)]=null);}async[_0x491c30(0x212)](){var _0x2f606a=_0x491c30,_0x54b138;const _0x851959=this['_configService'][_0x2f606a(0x214)](_0x31ee8c),_0x1d3a5e=(_0x54b138=_0x851959==null?void 0x0:_0x851959[_0x2f606a(0x2d0)])!=null?_0x54b138:_0x58caa1,_0x13306f=await this['_socketService']['createSocket'](_0x1d3a5e);return this[_0x2f606a(0x39f)]=_0x13306f,_0x13306f;}async[_0x491c30(0x406)](){var _0x775d86=_0x491c30,_0x51ba1d,_0x3e8f4f;try{const _0x2603e7=(_0x3e8f4f=(_0x51ba1d=this[_0x775d86(0x38c)])!=null?_0x51ba1d:this['_candidateSocket'])!=null?_0x3e8f4f:await this[_0x775d86(0x212)]();if(_0x2603e7){const _0x26806d=_0x2603e7[_0x775d86(0x507)];_0x2603e7[_0x775d86(0x507)]=_0x292e44=>(this[_0x775d86(0x356)](),_0x26806d[_0x775d86(0x29c)](_0x2603e7,[_0x292e44])),_0x2603e7[_0x775d86(0x394)][_0x775d86(0x3e1)](_0x41f2c8=>this[_0x775d86(0x4c3)](_0x2603e7,_0x41f2c8)),_0x2603e7[_0x775d86(0x20f)][_0x775d86(0x2c0)](_0x5b935f['take'](0x1))['subscribe'](_0x4c6349=>this[_0x775d86(0x412)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4c6349)),_0x2603e7['open$'][_0x775d86(0x2c0)](_0x5b935f[_0x775d86(0x3a2)](0x1))['subscribe'](()=>{var _0x16a0f1=_0x775d86;this[_0x16a0f1(0x4a8)](_0x2603e7);}),_0x2603e7[_0x775d86(0x2e9)][_0x775d86(0x2c0)](_0x5b935f['take'](0x1))[_0x775d86(0x3e1)](_0x4b9ad8=>{var _0x5a2145=_0x775d86;this['_logService'][_0x5a2145(0x27f)](_0x5a2145(0x2cb),_0x5a2145(0x2e5),_0x4b9ad8),this[_0x5a2145(0x468)]();});}}catch(_0x52df1f){this['_logService']['error'](_0x52df1f),this[_0x775d86(0x468)]();}}[_0x491c30(0x4a8)](_0x8beec3){var _0x50047f=_0x491c30;this[_0x50047f(0x412)]['debug'](_0x50047f(0x2cb),'socket\x20open.'),_0x8beec3[_0x50047f(0x507)]({'cmd':_0x52d06f[_0x50047f(0x4ef)]}),this[_0x50047f(0x356)]();}[_0x491c30(0x229)](){var _0x480ffd=_0x491c30;this[_0x480ffd(0x221)]=!0x1,this[_0x480ffd(0x39f)]=null,this[_0x480ffd(0x3af)]['next'](_0x4d7505['OFFLINE']),this[_0x480ffd(0x292)][_0x480ffd(0x3ff)](null),this[_0x480ffd(0x556)](),this[_0x480ffd(0x2a0)]();}[_0x491c30(0x468)](){var _0x1fd52d=_0x491c30,_0x5662ff;this['_onOffline'](),this[_0x1fd52d(0x1fa)]<((_0x5662ff=this['_configService'][_0x1fd52d(0x214)](_0x48d807))!=null?_0x5662ff:0x3)?(this['_collaborationUIEventService'][_0x1fd52d(0x2bc)]({'id':_0x1c4c73[_0x1fd52d(0x2ee)]}),this[_0x1fd52d(0x1f3)]()):this[_0x1fd52d(0x484)][_0x1fd52d(0x2bc)]({'id':_0x1c4c73['SOCKET_FAILED']});}[_0x491c30(0x1f3)](){var _0x4b99b1=_0x491c30,_0x4fd4d9;const _0x4b69d9=this[_0x4b99b1(0x1fa)],_0x289b21=this['_configService'][_0x4b99b1(0x214)](_0x31ee8c),_0x5a52fc=_0x4b69d9===0x0?0x0:((_0x4fd4d9=_0x289b21==null?void 0x0:_0x289b21['retryConnectingInterval'])!=null?_0x4fd4d9:0x4e20)*0x2**_0x4b69d9;this[_0x4b99b1(0x404)]=setTimeout(()=>{var _0x589fd2=_0x4b99b1;clearTimeout(this[_0x589fd2(0x404)]),this[_0x589fd2(0x404)]=null,this[_0x589fd2(0x406)]();},_0x5a52fc),this['_retryCount']+=0x1;}[_0x491c30(0x4c3)](_0x1ff260,_0x13b16a){var _0x16b501=_0x491c30;const {cmd:_0x37913d}=_0x13b16a;_0x37913d===_0x52d06f['HELLO']&&!this[_0x16b501(0x221)]&&(_0x1ff260[_0x16b501(0x3fd)]=_0x13b16a[_0x16b501(0x3a7)][_0x16b501(0x3fd)],this[_0x16b501(0x292)][_0x16b501(0x3ff)](_0x1ff260),this['_status$'][_0x16b501(0x3ff)](_0x4d7505[_0x16b501(0x506)]),this[_0x16b501(0x221)]=!0x0,this[_0x16b501(0x39f)]=null),_0x37913d===_0x52d06f['HEARTBEAT']&&this[_0x16b501(0x556)](),this[_0x16b501(0x356)]();}['_rescheduleHeartbeat'](){var _0x5efdda=_0x491c30,_0x308399;this['_clearHeartbeatTimer'](),this[_0x5efdda(0x540)]=setTimeout(()=>this[_0x5efdda(0x3a1)](),(_0x308399=this[_0x5efdda(0x35f)][_0x5efdda(0x214)](_0x4b1749))!=null?_0x308399:0x7530);}[_0x491c30(0x3a1)](){var _0x156808=_0x491c30;this['_socket'][_0x156808(0x507)]({'cmd':_0x52d06f[_0x156808(0x53c)]}),this[_0x156808(0x405)]();}[_0x491c30(0x405)](){var _0x5f42e7=_0x491c30,_0x5ba3e3;this['_timeoutTimer']=setTimeout(()=>this[_0x5f42e7(0x468)](),(_0x5ba3e3=this['_configService']['getConfig'](_0xc1b840))!=null?_0x5ba3e3:0x4e20);}['_clearHeartbeatTimer'](){var _0x361fb6=_0x491c30;this[_0x361fb6(0x540)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x491c30(0x556)](){var _0x1fc94d=_0x491c30;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1fc94d(0x2aa)]),this[_0x1fc94d(0x2aa)]=null);}},_0x134a91[_0x491c30(0x52f)]=_0x48dc31([_0x743d83(0x0,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x1f7)])),_0x743d83(0x1,_0x1aee43['ILogService']),_0x743d83(0x2,_0x1aee43[_0x491c30(0x4f5)]),_0x743d83(0x3,_0x4d0072),_0x743d83(0x4,_0x1aee43[_0x491c30(0x21b)](_0x207917)),_0x743d83(0x5,_0x1aee43[_0x491c30(0x33e)](_0x231a8e))],_0x134a91['CollaborationSessionService']);const _0x5be19a=_0x1aee43[_0x491c30(0x2ca)](_0x491c30(0x3e8));function _0x2ff173(_0x279879){var _0x49ea55=_0x491c30;return _0x49ea55(0x549)+_0x279879;}var _0x32b47f=Object['getOwnPropertyDescriptor'],_0x426631=(_0x311dc8,_0x53c65d,_0x49ac12,_0x290e40)=>{var _0x57db47=_0x491c30;for(var _0x10f576=_0x290e40>0x1?void 0x0:_0x290e40?_0x32b47f(_0x53c65d,_0x49ac12):_0x53c65d,_0x55ed24=_0x311dc8[_0x57db47(0x2ac)]-0x1,_0x3d712c;_0x55ed24>=0x0;_0x55ed24--)(_0x3d712c=_0x311dc8[_0x55ed24])&&(_0x10f576=_0x3d712c(_0x10f576)||_0x10f576);return _0x10f576;},_0x3fbfda=(_0x2f1dbc,_0x5cc9ba)=>(_0x2102be,_0x432b3f)=>_0x5cc9ba(_0x2102be,_0x432b3f,_0x2f1dbc);function _0x523953(_0x216d2f){var _0x1a40c4=_0x491c30;const {unitID:_0x36cc3a,mutations:_0xa66dd1}=_0x216d2f;return{'unitId':_0x36cc3a,'subUnitId':_0xa66dd1[0x0][_0x1a40c4(0x2a4)][_0x1a40c4(0x4e8)]};}_0x134a91['SheetTransformSelectionsService']=class{constructor(_0x73d42a,_0x51479b,_0x371b8f){this['_injector']=_0x73d42a,this['_transformService']=_0x51479b,this['_instanceService']=_0x371b8f;}[_0x491c30(0x513)](_0x54d887){var _0x2bdd62=_0x491c30,_0x48641c,_0x2552e3,_0x1ea1f5,_0x1cb7f3;const _0xdbae0e=this[_0x2bdd62(0x3f3)][_0x2bdd62(0x47c)](_0x4828a8[_0x2bdd62(0x2f2)]),{unitId:_0xde240f,subUnitId:_0x77b7dc}=_0x523953(_0x54d887),_0x1c3e80=_0xdbae0e==null?void 0x0:_0xdbae0e['getWorkbookSelections'](_0xde240f)[_0x2bdd62(0x39b)](),_0x5e2bab=(_0x2552e3=(_0x48641c=this[_0x2bdd62(0x3ba)][_0x2bdd62(0x337)](_0xde240f))==null?void 0x0:_0x48641c[_0x2bdd62(0x3fa)]())==null?void 0x0:_0x2552e3[_0x2bdd62(0x1e6)]();if(_0x1c3e80[_0x2bdd62(0x2ac)]===0x0||!_0xde240f||!_0x77b7dc)return;const _0x328063=[{'id':_0x4828a8[_0x2bdd62(0x459)]['id'],'params':{'unitId':_0xde240f,'subUnitId':_0x5e2bab,'selections':_0x1aee43[_0x2bdd62(0x2a8)]['deepClone'](_0x1c3e80)}}],_0x1661a5=this[_0x2bdd62(0x2ad)][_0x2bdd62(0x508)](_0x54d887,_0x328063);if(!_0x5dc8d1[_0x2bdd62(0x1fe)](_0x1661a5))throw _0x1661a5[_0x2bdd62(0x364)];const _0x360eeb=(_0x1cb7f3=(_0x1ea1f5=_0x1661a5[_0x2bdd62(0x349)][0x0])==null?void 0x0:_0x1ea1f5[_0x2bdd62(0x2a4)])==null?void 0x0:_0x1cb7f3[_0x2bdd62(0x296)];if(Array[_0x2bdd62(0x4c6)](_0x360eeb)&&_0x360eeb[_0x2bdd62(0x2ac)]){if(_0x360eeb['length']===_0x328063[0x0][_0x2bdd62(0x2a4)][_0x2bdd62(0x296)]['length']&&_0x360eeb[_0x2bdd62(0x21a)]((_0x21583e,_0x55b18e)=>_0x1aee43[_0x2bdd62(0x2a9)][_0x2bdd62(0x3c9)](_0x21583e[_0x2bdd62(0x21f)],_0x328063[0x0][_0x2bdd62(0x2a4)][_0x2bdd62(0x296)][_0x55b18e][_0x2bdd62(0x21f)])))return;this[_0x2bdd62(0x3f3)][_0x2bdd62(0x47c)](_0x1aee43[_0x2bdd62(0x357)])[_0x2bdd62(0x32a)](_0x4828a8[_0x2bdd62(0x459)]['id'],{'unitId':_0xde240f,'subUnitId':_0x5e2bab,'selections':_0x360eeb});}}},_0x134a91[_0x491c30(0x343)]=_0x426631([_0x3fbfda(0x0,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x1f7)])),_0x3fbfda(0x1,_0x5dc8d1[_0x491c30(0x223)]),_0x3fbfda(0x2,_0x1aee43[_0x491c30(0x2d6)])],_0x134a91[_0x491c30(0x343)]);const _0x4f95d4=_0x1aee43[_0x491c30(0x2ca)](_0x491c30(0x4b4));var _0x3d70c2=(_0x4d50c6=>(_0x4d50c6[_0x4d50c6[_0x491c30(0x489)]=0x0]=_0x491c30(0x489),_0x4d50c6[_0x4d50c6[_0x491c30(0x352)]=0x1]='OTHER_CLIENTS_EDITING',_0x4d50c6))(_0x3d70c2||{});const _0x59baef=new Set([_0x4828a8[_0x491c30(0x2fd)]['id']]);function _0x39f25c(_0x2ded07,_0xc7351b,_0x4ffa46,_0xe9b3c9,_0x34a09d){var _0x21af96=_0x491c30,_0x4ba40d,_0x21f19a,_0x3cf375,_0x41e8c3;const _0x86c025=[];for(const _0x1eb476 of _0x2ded07)if(_0x59baef[_0x21af96(0x4ee)](_0x1eb476['id'])){if(_0x86c025[_0x21af96(0x2ac)]>0x0)break;_0x86c025[_0x21af96(0x35a)](_0x1eb476);break;}else _0x86c025[_0x21af96(0x35a)](_0x1eb476);const _0x22ab1b=(_0x21f19a=(_0x4ba40d=_0x34a09d[_0x21af96(0x47f)]())==null?void 0x0:_0x4ba40d['userID'])!=null?_0x21f19a:_0x21af96(0x3b7),_0x5e2bb4=(_0x41e8c3=(_0x3cf375=_0x34a09d[_0x21af96(0x47f)]())==null?void 0x0:_0x3cf375['memberID'])!=null?_0x41e8c3:_0x21af96(0x3b7);return{'changeset':{'unitID':_0xc7351b,'type':_0x5dc8d1[_0x21af96(0x1f9)](_0x4ffa46[_0x21af96(0x3d4)](_0xc7351b)),'baseRev':_0xe9b3c9['getCurrentRevOfUnit'](_0xc7351b),'revision':0x0,'userID':_0x22ab1b,'memberID':_0x5e2bb4,'mutations':_0x86c025},'pendingMutations':_0x2ded07[_0x21af96(0x2d9)](_0x86c025[_0x21af96(0x2ac)])};}function _0x38d81d(_0x174d25,_0x3bd09e,_0x5d9da6,_0x159637,_0x2f7ce9){var _0x4bbb57=_0x491c30,_0xbf3147,_0x288e0d,_0x42ebe2,_0x8005a4;const _0x1dd6f5=[_0x174d25[_0x4bbb57(0x4b9)]((_0x2c1a1b,_0x1d311c)=>{var _0x13edf1=_0x4bbb57,_0x1029c0;const {id:_0x9bc26}=_0x2c1a1b,{id:_0x2c09bf,type:_0x1ef8ae}=_0x1d311c,_0x451ac=(_0x1029c0=_0x2c1a1b[_0x13edf1(0x2a4)])!=null?_0x1029c0:{'actions':null},_0x5bcd67=_0x1d311c[_0x13edf1(0x2a4)];if(_0x9bc26&&_0x9bc26!==_0x2c09bf)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x9bc26+_0x13edf1(0x3ee)+_0x2c09bf+'.');return{..._0x2c1a1b,'id':_0x2c09bf,'type':_0x1ef8ae,'params':{'unitId':_0x5bcd67[_0x13edf1(0x4a0)],'textRanges':_0x5bcd67['textRanges'],'actions':_0x1aee43[_0x13edf1(0x486)][_0x13edf1(0x52a)](_0x451ac['actions'],_0x5bcd67[_0x13edf1(0x2a3)])}};},{})],_0x384112=(_0x288e0d=(_0xbf3147=_0x2f7ce9['getCurrentUser']())==null?void 0x0:_0xbf3147[_0x4bbb57(0x22a)])!=null?_0x288e0d:'unknown',_0x281d68=(_0x8005a4=(_0x42ebe2=_0x2f7ce9[_0x4bbb57(0x47f)]())==null?void 0x0:_0x42ebe2['memberID'])!=null?_0x8005a4:_0x4bbb57(0x3b7);return{'changeset':{'unitID':_0x3bd09e,'type':_0x5dc8d1[_0x4bbb57(0x1f9)](_0x5d9da6['getUnitType'](_0x3bd09e)),'baseRev':_0x159637[_0x4bbb57(0x298)](_0x3bd09e),'revision':0x0,'userID':_0x384112,'memberID':_0x281d68,'mutations':_0x1dd6f5},'pendingMutations':[]};}function _0x5f55d2(_0x41ad22,_0x1097ff){var _0x4d1654=_0x491c30;const _0x369bbc=new _0x263a1d[(_0x4d1654(0x2a1))](0x1);return setTimeout(()=>_0x369bbc[_0x4d1654(0x3ff)](_0x1097ff),_0x41ad22),_0x369bbc[_0x4d1654(0x50e)]()[_0x4d1654(0x2c0)](_0x263a1d['take'](0x1));}const _0x4f0df7={'id':_0x4828a8['EmptyMutation']['id'],'type':_0x1aee43[_0x491c30(0x490)][_0x491c30(0x4b5)],'params':{}};var _0x87a100=Object['getOwnPropertyDescriptor'],_0x463fcc=(_0x405406,_0x3f89fc,_0x286e66,_0x1571e2)=>{var _0x498280=_0x491c30;for(var _0x115ab8=_0x1571e2>0x1?void 0x0:_0x1571e2?_0x87a100(_0x3f89fc,_0x286e66):_0x3f89fc,_0x17f167=_0x405406[_0x498280(0x2ac)]-0x1,_0x3523fa;_0x17f167>=0x0;_0x17f167--)(_0x3523fa=_0x405406[_0x17f167])&&(_0x115ab8=_0x3523fa(_0x115ab8)||_0x115ab8);return _0x115ab8;},_0x134d06=(_0x4b0939,_0x476f44)=>(_0x4347a5,_0x2e4e33)=>_0x476f44(_0x4347a5,_0x2e4e33,_0x4b0939),_0x1ea918=(_0x156bf8=>(_0x156bf8[_0x491c30(0x527)]=_0x491c30(0x204),_0x156bf8['SYNCED']=_0x491c30(0x1f5),_0x156bf8[_0x491c30(0x51f)]=_0x491c30(0x25f),_0x156bf8[_0x491c30(0x3ab)]=_0x491c30(0x3d3),_0x156bf8['AWAITING_WITH_PENDING']=_0x491c30(0x3cb),_0x156bf8[_0x491c30(0x240)]=_0x491c30(0x339),_0x156bf8['CONFLICT']=_0x491c30(0x30f),_0x156bf8[_0x491c30(0x4f2)]='offline',_0x156bf8))(_0x1ea918||{});const _0x41b264=0xea60;class _0x26581d{constructor(_0x42228e,_0x3b134d,_0x34aa11,_0x5dd183,_0x40d12a,_0x5d07c0,_0x5a0025,_0x123ac0,_0x9602d6){var _0x2d019f=_0x491c30;_0x3060b6(this,_0x2d019f(0x34e),null),_0x3060b6(this,_0x2d019f(0x4ba),[]),(this[_0x2d019f(0x36e)]=_0x42228e,this['type']=_0x3b134d,this[_0x2d019f(0x3f7)]=_0x40d12a,this[_0x2d019f(0x54a)]=_0x5d07c0,this[_0x2d019f(0x445)]=_0x5a0025,this[_0x2d019f(0x4c1)]=_0x123ac0,this[_0x2d019f(0x40b)]=_0x9602d6,this['_awaitingChangeset']=_0x34aa11,this[_0x2d019f(0x4ba)]=_0x5dd183);}['_checkMissing'](_0x14690b){var _0x48de02=_0x491c30;const _0x37f4b6=this[_0x48de02(0x4c1)][_0x48de02(0x298)](this['unitID']);return _0x14690b[_0x48de02(0x44b)]>_0x37f4b6+0x1?(this[_0x48de02(0x3f7)][_0x48de02(0x3c1)]({'from':_0x37f4b6,'to':_0x14690b['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5c0db4){var _0x845b32=_0x491c30;this[_0x845b32(0x445)][_0x845b32(0x472)](this[_0x845b32(0x36e)],_0x5c0db4);}[_0x491c30(0x42e)](_0x133881){var _0xfa4937=_0x491c30,_0x4bdaa3,_0x59a3ba;(_0x59a3ba=(_0x4bdaa3=this[_0xfa4937(0x3f7)])['onTransformSelections'])==null||_0x59a3ba[_0xfa4937(0x3cc)](_0x4bdaa3,_0x133881);}[_0x491c30(0x4aa)](_0x2d05a7){var _0x38a554=_0x491c30,_0x501d34,_0x65f151;return(_0x65f151=(_0x501d34=this[_0x38a554(0x3f7)])[_0x38a554(0x531)])==null?void 0x0:_0x65f151[_0x38a554(0x3cc)](_0x501d34,_0x2d05a7);}[_0x491c30(0x330)](_0x2d3f6a){var _0x38e5fa=_0x491c30,_0xdd0422,_0x20a753;return(_0x20a753=(_0xdd0422=this[_0x38e5fa(0x3f7)])['onTransformState'])==null?void 0x0:_0x20a753[_0x38e5fa(0x3cc)](_0xdd0422,_0x2d3f6a);}[_0x491c30(0x289)](_0x5aae7f){var _0x42a996=_0x491c30,_0x3cb7a7,_0x167761,_0x40573e;return(_0x40573e=(_0x167761=(_0x3cb7a7=this[_0x42a996(0x3f7)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x167761[_0x42a996(0x3cc)](_0x3cb7a7,_0x5aae7f))!=null?_0x40573e:_0x5aae7f;}[_0x491c30(0x283)](_0x4ac3c6){var _0xb54d0b=_0x491c30,_0x3837a1,_0x368d7e,_0x373efe;return(_0x373efe=(_0x368d7e=(_0x3837a1=this[_0xb54d0b(0x3f7)])[_0xb54d0b(0x43f)])==null?void 0x0:_0x368d7e['call'](_0x3837a1,_0x4ac3c6))!=null?_0x373efe:_0x4ac3c6;}['_syncEditingCollabCursor'](_0x20da4f){var _0xfd4deb=_0x491c30,_0x59c10f,_0xc01711;if(this[_0xfd4deb(0x3bb)]===_0x21888e[_0xfd4deb(0x491)]){const {unitID:_0x298089,mutations:_0x3eaf0f,memberID:_0x23c717}=_0x20da4f,_0xd69ee1=_0x3eaf0f[0x0]['params'][_0xfd4deb(0x54c)];Array[_0xfd4deb(0x4c6)](_0xd69ee1)&&_0xd69ee1[_0xfd4deb(0x2ac)]>0x0&&((_0xc01711=(_0x59c10f=this[_0xfd4deb(0x3f7)])['onSyncEditingCollabCursor'])==null||_0xc01711[_0xfd4deb(0x3cc)](_0x59c10f,{'unitID':_0x298089,'memberID':_0x23c717,'textRanges':_0xd69ee1}));}}['_updateLocalCache'](){var _0x4a6868=_0x491c30,_0x44356a;(_0x44356a=this[_0x4a6868(0x40b)])==null||_0x44356a[_0x4a6868(0x512)](this[_0x4a6868(0x36e)],this[_0x4a6868(0x3bb)],this[_0x4a6868(0x34e)],this[_0x4a6868(0x4ba)]);}[_0x491c30(0x2e6)](){var _0x2fd0df=_0x491c30;return this[_0x2fd0df(0x4c1)]['getCurrentRevOfUnit'](this[_0x2fd0df(0x36e)]);}['_incrementRevisionNumber'](){var _0x4bfcda=_0x491c30;this[_0x4bfcda(0x4c1)]['incrementRevOfUnit'](this['unitID']);}[_0x491c30(0x401)](_0xd48adc){var _0x45d338=_0x491c30,_0x260d23;let _0x1a1cf8=this[_0x45d338(0x289)](_0xd48adc);_0x1a1cf8=this[_0x45d338(0x283)](_0x1a1cf8);const _0x58cdbc=_0x1aee43[_0x45d338(0x54d)](_0x1a1cf8[_0x45d338(0x2f6)],this[_0x45d338(0x54a)],{'fromCollab':!0x0});if(!_0x58cdbc['result'])throw _0x58cdbc['error']instanceof Error?_0x58cdbc[_0x45d338(0x364)]:new Error((_0x260d23=_0x58cdbc[_0x45d338(0x364)])!=null?_0x260d23:_0x45d338(0x2c4));this['_transformIMECache'](_0x1a1cf8),this[_0x45d338(0x330)](_0x1a1cf8),this[_0x45d338(0x326)](_0xd48adc),this['_transformSelections'](_0x1a1cf8),this[_0x45d338(0x449)](_0x1a1cf8),this[_0x45d338(0x505)]();}}_0x134a91[_0x491c30(0x3e7)]=class extends _0x26581d{constructor(_0x56a709,_0x55e08c,_0xf44cdf,_0x53aa13,_0x13666f,_0x3a6ec0,_0x4dc3c7,_0x5987fb,_0x258f48,_0x204b82){var _0x8baa73=_0x491c30;super(_0x56a709,_0x55e08c,null,[],_0xf44cdf,_0x4dc3c7,_0x3a6ec0,_0x53aa13,_0x204b82),_0x3060b6(this,_0x8baa73(0x463),_0x8baa73(0x1f5)),(this['_injector']=_0x13666f,this['_logService']=_0x5987fb,this[_0x8baa73(0x2ad)]=_0x258f48,this[_0x8baa73(0x382)]=_0x204b82);}['appendMutation'](_0x18d3d6){var _0x6f7f9=_0x491c30;const _0x4774d2=this[_0x6f7f9(0x3f3)][_0x6f7f9(0x2c8)](_0x134a91[_0x6f7f9(0x3a4)],this['unitID'],this[_0x6f7f9(0x3bb)],[_0x18d3d6],this[_0x6f7f9(0x3f7)]);return _0x4774d2[_0x6f7f9(0x555)](),_0x4774d2[_0x6f7f9(0x202)](),_0x4774d2;}['onRemoteChangeset'](_0x18b48b){var _0x104f66=_0x491c30;if(this[_0x104f66(0x4ce)](_0x18b48b))return this[_0x104f66(0x3f3)][_0x104f66(0x2c8)](_0x134a91[_0x104f66(0x37d)],this['unitID'],this[_0x104f66(0x3bb)],null,[],null,[_0x18b48b],this[_0x104f66(0x3f7)]);try{const _0x43db54=this['_transformService'][_0x104f66(0x508)](_0x18b48b,[_0x4f0df7]);if(_0x5dc8d1[_0x104f66(0x1fe)](_0x43db54)){const {c1Prime:_0x3c74eb}=_0x43db54;return this[_0x104f66(0x401)](_0x3c74eb),this;}throw _0x43db54['error'];}catch(_0x5467b9){return this[_0x104f66(0x412)]['error'](_0x5467b9),this[_0x104f66(0x541)](!0x1);}}[_0x491c30(0x541)](_0x37a265){var _0x1c7f39=_0x491c30;return this[_0x1c7f39(0x3f3)][_0x1c7f39(0x2c8)](_0x134a91['ConflictState'],this[_0x1c7f39(0x36e)],this[_0x1c7f39(0x3bb)],null,[],this[_0x1c7f39(0x3f7)],_0x37a265);}[_0x491c30(0x481)](){var _0x5e06bf=_0x491c30;throw new Error(_0x5e06bf(0x411));}['onRemoteRej'](){var _0x5be1bb=_0x491c30;throw new Error(_0x5be1bb(0x206));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x39bc11=_0x491c30;return this[_0x39bc11(0x3f3)][_0x39bc11(0x2c8)](_0x134a91[_0x39bc11(0x24d)],this[_0x39bc11(0x36e)],this[_0x39bc11(0x3bb)],null,[],this[_0x39bc11(0x3f7)]);}['toggleOnline'](){return this;}[_0x491c30(0x288)](){var _0x1068a0=_0x491c30;throw new Error(_0x1068a0(0x1f0));}[_0x491c30(0x50b)](){var _0x4b5289=_0x491c30;const _0x23f98d=this[_0x4b5289(0x4c1)][_0x4b5289(0x298)](this[_0x4b5289(0x36e)]);return this['_handler'][_0x4b5289(0x3c1)]({'from':_0x23f98d,'to':0x0}),this[_0x4b5289(0x3f3)][_0x4b5289(0x2c8)](_0x134a91[_0x4b5289(0x37d)],this[_0x4b5289(0x36e)],this[_0x4b5289(0x3bb)],null,[],null,[],this[_0x4b5289(0x3f7)]);}},_0x134a91[_0x491c30(0x3e7)]=_0x463fcc([_0x134d06(0x3,_0x1aee43[_0x491c30(0x21b)](_0x5dc8d1[_0x491c30(0x232)])),_0x134d06(0x4,_0x1aee43[_0x491c30(0x21b)](_0x1aee43['Injector'])),_0x134d06(0x5,_0x1aee43['IUndoRedoService']),_0x134d06(0x6,_0x1aee43[_0x491c30(0x357)]),_0x134d06(0x7,_0x1aee43[_0x491c30(0x247)]),_0x134d06(0x8,_0x5dc8d1[_0x491c30(0x223)]),_0x134d06(0x9,_0x1aee43[_0x491c30(0x33e)](_0x5be19a))],_0x134a91[_0x491c30(0x3e7)]),_0x134a91[_0x491c30(0x3a4)]=class extends _0x26581d{constructor(_0x20f224,_0x162966,_0xcc91c8,_0x36b65a,_0x21a2d9,_0x1ba455,_0x54f648,_0x5860bb,_0x328474,_0x70628,_0x54f6bf,_0x275050,_0x1e0a35,_0x25e45b){var _0x60ff1f=_0x491c30;super(_0x20f224,_0x162966,null,_0xcc91c8,_0x36b65a,_0x328474,_0x1e0a35,_0x1ba455,_0x25e45b),_0x3060b6(this,_0x60ff1f(0x463),_0x60ff1f(0x25f)),_0x3060b6(this,_0x60ff1f(0x4f0),null),_0x3060b6(this,_0x60ff1f(0x2c9),null),(this['_injector']=_0x21a2d9,this[_0x60ff1f(0x302)]=_0x54f648,this['_logService']=_0x5860bb,this[_0x60ff1f(0x35f)]=_0x70628,this[_0x60ff1f(0x2ad)]=_0x54f6bf,this[_0x60ff1f(0x332)]=_0x275050);}[_0x491c30(0x50d)](_0x213687){var _0x3557ed=_0x491c30;return this[_0x3557ed(0x4ba)][_0x3557ed(0x35a)](_0x213687),this['_updateLocalCache'](),this;}[_0x491c30(0x263)](_0x325e2f){var _0x535c37=_0x491c30;if(this[_0x535c37(0x4ce)](_0x325e2f))return this[_0x535c37(0x329)](),this[_0x535c37(0x3f3)]['createInstance'](_0x134a91[_0x535c37(0x37d)],this['unitID'],this[_0x535c37(0x3bb)],null,this[_0x535c37(0x4ba)],null,[_0x325e2f],this['_handler']);try{const _0x367d8e=this['_transformService'][_0x535c37(0x508)](_0x325e2f,this[_0x535c37(0x4ba)]);if(_0x5dc8d1[_0x535c37(0x1fe)](_0x367d8e)){const {c1Prime:_0x4ec632,m2Prime:_0x293ec2}=_0x367d8e;this[_0x535c37(0x401)](_0x4ec632);const _0x46fe3a=this[_0x535c37(0x3f3)][_0x535c37(0x2c8)](_0x134a91[_0x535c37(0x3a4)],this[_0x535c37(0x36e)],this[_0x535c37(0x3bb)],_0x293ec2,this[_0x535c37(0x3f7)]);this['_clearScheduledTask']();const _0x3aa128=new Date()['getTime'](),_0x5853d0=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x535c37(0x4f0)]-_0x3aa128,0x0):this[_0x535c37(0x1eb)]();return _0x46fe3a[_0x535c37(0x555)](_0x5853d0),_0x46fe3a;}throw _0x367d8e[_0x535c37(0x364)];}catch(_0x4021c8){return this[_0x535c37(0x412)][_0x535c37(0x364)](_0x4021c8),this[_0x535c37(0x541)](!0x1);}}['onRemoteAck'](){var _0x304a29=_0x491c30;throw new Error(_0x304a29(0x442));}[_0x491c30(0x21d)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x491c30(0x554)](){return this;}[_0x491c30(0x428)](){var _0x5ef9fc=_0x491c30;return this[_0x5ef9fc(0x329)](),this[_0x5ef9fc(0x3f3)][_0x5ef9fc(0x2c8)](_0x134a91[_0x5ef9fc(0x24d)],this[_0x5ef9fc(0x36e)],this[_0x5ef9fc(0x3bb)],null,this[_0x5ef9fc(0x4ba)],this[_0x5ef9fc(0x3f7)]);}['toggleOnline'](){return this;}[_0x491c30(0x555)](_0x5ed0f4){var _0x59a730=_0x491c30;const _0x3cc81c=_0x5ed0f4!=null?_0x5ed0f4:this[_0x59a730(0x1eb)]();this[_0x59a730(0x4f0)]=new Date()[_0x59a730(0x1e4)]()+_0x3cc81c,this[_0x59a730(0x2c9)]=setTimeout(()=>{var _0x359864=_0x59a730;this[_0x359864(0x329)]();let _0x393e48=null;switch(this['type']){case _0x21888e[_0x359864(0x52e)]:{_0x393e48=_0x39f25c(this[_0x359864(0x4ba)],this[_0x359864(0x36e)],this[_0x359864(0x332)],this[_0x359864(0x4c1)],this[_0x359864(0x302)]);break;}case _0x21888e[_0x359864(0x491)]:{this[_0x359864(0x4ba)][_0x359864(0x21a)](_0x32c9aa=>_0x32c9aa['id']===_0x11f952[_0x359864(0x312)]['id'])?_0x393e48=_0x38d81d(this['_pendingMutations'],this['unitID'],this[_0x359864(0x332)],this['_revisionService'],this[_0x359864(0x302)]):_0x393e48=_0x39f25c(this[_0x359864(0x4ba)],this[_0x359864(0x36e)],this[_0x359864(0x332)],this[_0x359864(0x4c1)],this[_0x359864(0x302)]);break;}default:throw new Error(_0x359864(0x45a)+this['type']+_0x359864(0x2f8));}const {changeset:_0x555107,pendingMutations:_0x5bad9c}=_0x393e48;this['_handler'][_0x359864(0x44a)](_0x555107);const _0x40da09=_0x5bad9c[_0x359864(0x2ac)]?this['_injector'][_0x359864(0x2c8)](_0x134a91['AwaitingWithPendingState'],this[_0x359864(0x36e)],this[_0x359864(0x3bb)],_0x555107,_0x5bad9c,this[_0x359864(0x3f7)],void 0x0):this[_0x359864(0x3f3)]['createInstance'](_0x134a91[_0x359864(0x456)],this['unitID'],this[_0x359864(0x3bb)],_0x555107,this['_handler']);_0x40da09[_0x359864(0x202)](),this[_0x359864(0x3f7)][_0x359864(0x31a)](this,_0x40da09);},_0x3cc81c);}[_0x491c30(0x1eb)](){var _0x5131d4=_0x491c30,_0x4d954e;const _0x1e481d=this[_0x5131d4(0x35f)][_0x5131d4(0x214)](_0x31ee8c);return(_0x4d954e=_0x1e481d==null?void 0x0:_0x1e481d[_0x5131d4(0x432)])!=null?_0x4d954e:0x7d0;}[_0x491c30(0x288)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x491c30(0x329)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x491c30(0x541)](_0x432220){var _0x18fdef=_0x491c30;return this[_0x18fdef(0x329)](),this[_0x18fdef(0x3f3)]['createInstance'](_0x134a91[_0x18fdef(0x2ff)],this['unitID'],this[_0x18fdef(0x3bb)],null,this[_0x18fdef(0x4ba)],this[_0x18fdef(0x3f7)],_0x432220);}},_0x134a91[_0x491c30(0x3a4)]=_0x463fcc([_0x134d06(0x4,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x1f7)])),_0x134d06(0x5,_0x1aee43[_0x491c30(0x21b)](_0x5dc8d1['RevisionService'])),_0x134d06(0x6,_0x1aee43[_0x491c30(0x21b)](_0x134a91[_0x491c30(0x49c)])),_0x134d06(0x7,_0x1aee43[_0x491c30(0x247)]),_0x134d06(0x8,_0x1aee43[_0x491c30(0x357)]),_0x134d06(0x9,_0x1aee43[_0x491c30(0x4f5)]),_0x134d06(0xa,_0x5dc8d1[_0x491c30(0x223)]),_0x134d06(0xb,_0x1aee43[_0x491c30(0x2d6)]),_0x134d06(0xc,_0x1aee43[_0x491c30(0x55e)]),_0x134d06(0xd,_0x1aee43[_0x491c30(0x33e)](_0x5be19a))],_0x134a91[_0x491c30(0x3a4)]),_0x134a91[_0x491c30(0x456)]=class extends _0x26581d{constructor(_0xe7b5bb,_0x16d72a,_0x559b8f,_0x7b6b65,_0x4788bc,_0x4c354a,_0x44d600,_0x261c7f,_0x3f4dad,_0x2e5ef8,_0x5639ea){var _0x2b6f3e=_0x491c30;super(_0xe7b5bb,_0x16d72a,_0x559b8f,[],_0x7b6b65,_0x44d600,_0x2e5ef8,_0x4c354a,_0x5639ea),_0x3060b6(this,_0x2b6f3e(0x463),_0x2b6f3e(0x3d3)),_0x3060b6(this,_0x2b6f3e(0x544),0x0),_0x3060b6(this,'_resendTimer'),_0x3060b6(this,_0x2b6f3e(0x43a)),(this['_injector']=_0x4788bc,this[_0x2b6f3e(0x412)]=_0x261c7f,this[_0x2b6f3e(0x2ad)]=_0x3f4dad);}['appendMutation'](_0x5adcc2){var _0x3a693d=_0x491c30;this[_0x3a693d(0x329)]();const _0x340d8c=this[_0x3a693d(0x3f3)][_0x3a693d(0x2c8)](_0x134a91[_0x3a693d(0x1e3)],this['unitID'],this[_0x3a693d(0x3bb)],this[_0x3a693d(0x34e)],[_0x5adcc2],this[_0x3a693d(0x3f7)],this[_0x3a693d(0x26f)]);return _0x340d8c['_updateLocalCache'](),_0x340d8c;}[_0x491c30(0x263)](_0x56bcb3){var _0x54b27a=_0x491c30;if(this['_checkMissing'](_0x56bcb3))return this[_0x54b27a(0x329)](),this['_injector']['createInstance'](_0x134a91[_0x54b27a(0x37d)],this[_0x54b27a(0x36e)],this['type'],this[_0x54b27a(0x34e)],[],null,[_0x56bcb3],this[_0x54b27a(0x3f7)]);try{const _0x7cb9ea=this['_transformService'][_0x54b27a(0x30b)]([_0x56bcb3],[this[_0x54b27a(0x34e)]],!0x1);if(_0x5dc8d1[_0x54b27a(0x381)](_0x7cb9ea)){const {c1Prime:_0x13c093,c2Prime:_0x335d39}=_0x7cb9ea;this[_0x54b27a(0x401)](_0x13c093[0x0]),_0x335d39[0x0][_0x54b27a(0x4b0)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x337fc9=this['_injector'][_0x54b27a(0x2c8)](_0x134a91[_0x54b27a(0x456)],this[_0x54b27a(0x36e)],this['type'],_0x335d39[0x0],this[_0x54b27a(0x3f7)]);return _0x337fc9[_0x54b27a(0x202)](),_0x337fc9;}return this['_onConflict'](!0x1);}catch(_0x1f00d8){return this[_0x54b27a(0x412)][_0x54b27a(0x364)](_0x1f00d8),this[_0x54b27a(0x541)](!0x1);}}[_0x491c30(0x481)](_0x53ee6e){var _0x518e21=_0x491c30;this[_0x518e21(0x329)]();const _0x7afc4a=this[_0x518e21(0x4c1)]['getCurrentRevOfUnit'](this[_0x518e21(0x36e)]);if(_0x53ee6e[_0x518e21(0x44b)]<_0x7afc4a-0x1)return this;if(this[_0x518e21(0x4ce)](_0x53ee6e))return this[_0x518e21(0x3f3)][_0x518e21(0x2c8)](_0x134a91['FetchingMissState'],this[_0x518e21(0x36e)],this[_0x518e21(0x3bb)],null,[],this[_0x518e21(0x34e)],[],this[_0x518e21(0x3f7)]);this[_0x518e21(0x505)]();const _0x5cdd00=this[_0x518e21(0x3f3)][_0x518e21(0x2c8)](_0x134a91[_0x518e21(0x3e7)],this[_0x518e21(0x36e)],this[_0x518e21(0x3bb)],this[_0x518e21(0x3f7)]);return _0x5cdd00['_updateLocalCache'](),_0x5cdd00;}['onRemoteRej'](_0x4a57bd){var _0x4401e1=_0x491c30;return this['_onConflict'](!!(_0x4a57bd!=null&&_0x4a57bd[_0x4401e1(0x3b3)]));}['onRemoteRetry'](_0x4a4c2d){var _0x4819b9=_0x491c30;return this['_resendTimeout']>_0x41b264?this[_0x4819b9(0x428)]():(this['_resendTimer']=_0x5f55d2(this['_resendTimeout'],{'timeout':this[_0x4819b9(0x544)],'reqId':_0x4a4c2d['reqId']}),this[_0x4819b9(0x43a)]=this[_0x4819b9(0x26f)][_0x4819b9(0x3e1)](({reqId:_0x1b9b84,timeout:_0x2507f3})=>{this['_resendWithTimeout'](_0x1b9b84,_0x2507f3);}),this);}['toggleOffline'](){var _0x2f3cbc=_0x491c30;return this['_clearScheduledTask'](),this[_0x2f3cbc(0x3f3)][_0x2f3cbc(0x2c8)](_0x134a91['OfflineState'],this['unitID'],this[_0x2f3cbc(0x3bb)],this['_awaitingChangeset'],[],this['_handler']);}[_0x491c30(0x210)](){return this;}[_0x491c30(0x288)](){var _0x22971b=_0x491c30;this[_0x22971b(0x3f7)][_0x22971b(0x44a)](this[_0x22971b(0x34e)]);}[_0x491c30(0x541)](_0x3731d7){var _0x4a3f52=_0x491c30;return this['_clearScheduledTask'](),this[_0x4a3f52(0x3f3)][_0x4a3f52(0x2c8)](_0x134a91['ConflictState'],this[_0x4a3f52(0x36e)],this[_0x4a3f52(0x3bb)],this['_awaitingChangeset'],[],this[_0x4a3f52(0x3f7)],_0x3731d7);}[_0x491c30(0x36c)](_0xfb03fd,_0x1f2b74){var _0xb0e9c0=_0x491c30,_0x5d453c;_0xfb03fd===((_0x5d453c=this[_0xb0e9c0(0x34e)])==null?void 0x0:_0x5d453c[_0xb0e9c0(0x22c)])&&(this[_0xb0e9c0(0x288)](),this['_resendTimeout']=_0x1f2b74===0x0?0x3e8:_0x1f2b74*0x2);}[_0x491c30(0x329)](){var _0x5b7c74=_0x491c30,_0x481940;(_0x481940=this[_0x5b7c74(0x43a)])==null||_0x481940[_0x5b7c74(0x2f3)](),this[_0x5b7c74(0x544)]=0x0;}},_0x134a91[_0x491c30(0x456)]=_0x463fcc([_0x134d06(0x4,_0x1aee43[_0x491c30(0x21b)](_0x1aee43['Injector'])),_0x134d06(0x5,_0x1aee43['Inject'](_0x5dc8d1['RevisionService'])),_0x134d06(0x6,_0x1aee43['ICommandService']),_0x134d06(0x7,_0x1aee43[_0x491c30(0x247)]),_0x134d06(0x8,_0x5dc8d1[_0x491c30(0x223)]),_0x134d06(0x9,_0x1aee43[_0x491c30(0x55e)]),_0x134d06(0xa,_0x1aee43['Optional'](_0x5be19a))],_0x134a91['AwaitingState']),_0x134a91[_0x491c30(0x1e3)]=class extends _0x26581d{constructor(_0x4f1843,_0x51999b,_0x3ac99d,_0x2e9c17,_0x3e8fe6,_0x362672,_0x233e3c,_0x3afff7,_0x195922,_0x417ad5,_0x567ee8,_0x48c0be,_0x3ad78a){var _0x135b2e=_0x491c30;super(_0x4f1843,_0x51999b,_0x3ac99d,_0x2e9c17,_0x3e8fe6,_0x195922,_0x48c0be,_0x3afff7,_0x3ad78a),_0x3060b6(this,_0x135b2e(0x463),_0x135b2e(0x3cb)),_0x3060b6(this,_0x135b2e(0x544),0x0),_0x3060b6(this,_0x135b2e(0x26f)),_0x3060b6(this,'_sender'),(this[_0x135b2e(0x3f3)]=_0x233e3c,this[_0x135b2e(0x412)]=_0x417ad5,this[_0x135b2e(0x2ad)]=_0x567ee8,this[_0x135b2e(0x382)]=_0x3ad78a,_0x362672&&(this['_resendTimer']=_0x362672,this[_0x135b2e(0x43a)]=this[_0x135b2e(0x26f)][_0x135b2e(0x3e1)](({reqId:_0x555ce2,timeout:_0x11d160})=>{var _0x1d8a7b=_0x135b2e;this[_0x1d8a7b(0x36c)](_0x555ce2,_0x11d160);})));}['appendMutation'](_0xfe5215){var _0x3b5bc9=_0x491c30;return this['_pendingMutations'][_0x3b5bc9(0x35a)](_0xfe5215),this;}[_0x491c30(0x263)](_0x34f3d9){var _0x13114b=_0x491c30;if(this[_0x13114b(0x4ce)](_0x34f3d9))return this['_clearScheduledTask'](),this[_0x13114b(0x3f3)][_0x13114b(0x2c8)](_0x134a91[_0x13114b(0x37d)],this[_0x13114b(0x36e)],this[_0x13114b(0x3bb)],this[_0x13114b(0x34e)],this[_0x13114b(0x4ba)],null,[_0x34f3d9],this['_handler']);try{const _0x2e7813=this[_0x13114b(0x2ad)][_0x13114b(0x30b)]([_0x34f3d9],[this[_0x13114b(0x34e)]],!0x1);if(_0x5dc8d1[_0x13114b(0x381)](_0x2e7813)){const {c1Prime:_0x1b2ecf,c2Prime:_0x18b9f1}=_0x2e7813,_0x186142=this[_0x13114b(0x2ad)]['transformMutationsWithChangeset'](_0x1b2ecf[0x0],this[_0x13114b(0x4ba)]);if(_0x5dc8d1['isTransformMutationsWithChangesetSuccess'](_0x186142)){const {c1Prime:_0x492956,m2Prime:_0x5f564a}=_0x186142;return this[_0x13114b(0x401)](_0x492956),_0x18b9f1[0x0][_0x13114b(0x4b0)]=this['_getCurrentRevision'](),this[_0x13114b(0x329)](),this[_0x13114b(0x3f3)][_0x13114b(0x2c8)](_0x134a91[_0x13114b(0x1e3)],this[_0x13114b(0x36e)],this['type'],_0x18b9f1[0x0],_0x5f564a,this[_0x13114b(0x3f7)],void 0x0);}throw _0x186142[_0x13114b(0x364)];}throw _0x2e7813[_0x13114b(0x364)];}catch(_0x157791){return this[_0x13114b(0x412)]['error'](_0x157791),this[_0x13114b(0x541)](!0x1);}}[_0x491c30(0x481)](_0x1b17b1){var _0x120893=_0x491c30;if(this[_0x120893(0x329)](),this['_checkMissing'](_0x1b17b1))return this[_0x120893(0x3f3)][_0x120893(0x2c8)](_0x134a91[_0x120893(0x37d)],this[_0x120893(0x36e)],this['type'],null,this[_0x120893(0x4ba)],this['_awaitingChangeset'],[],this[_0x120893(0x3f7)]);this[_0x120893(0x505)]();const _0x47a848=this[_0x120893(0x3f3)]['createInstance'](_0x134a91[_0x120893(0x3a4)],this[_0x120893(0x36e)],this[_0x120893(0x3bb)],this[_0x120893(0x4ba)],this[_0x120893(0x3f7)]);return _0x47a848[_0x120893(0x555)](),_0x47a848['_updateLocalCache'](),_0x47a848;}[_0x491c30(0x21d)](_0x54e20d){var _0x1ba7b8=_0x491c30;return this[_0x1ba7b8(0x541)](!!(_0x54e20d!=null&&_0x54e20d['isPermissionRej']));}[_0x491c30(0x554)](_0x30cbcc){var _0x7f74d=_0x491c30;return this[_0x7f74d(0x544)]>_0x41b264?this[_0x7f74d(0x428)]():(this[_0x7f74d(0x26f)]=_0x5f55d2(this['_resendTimeout'],{'timeout':this[_0x7f74d(0x544)],'reqId':_0x30cbcc[_0x7f74d(0x22c)]}),this[_0x7f74d(0x43a)]=this[_0x7f74d(0x26f)][_0x7f74d(0x3e1)](({reqId:_0x1df585,timeout:_0x5cd9f4})=>{var _0x478c16=_0x7f74d;this[_0x478c16(0x36c)](_0x1df585,_0x5cd9f4);}),this);}[_0x491c30(0x428)](){var _0x28936d=_0x491c30;return this[_0x28936d(0x329)](),this[_0x28936d(0x3f3)]['createInstance'](_0x134a91['OfflineState'],this[_0x28936d(0x36e)],this[_0x28936d(0x3bb)],this['_awaitingChangeset'],this[_0x28936d(0x4ba)],this[_0x28936d(0x3f7)]);}[_0x491c30(0x210)](){return this;}[_0x491c30(0x288)](){var _0x249127=_0x491c30;this[_0x249127(0x3f7)][_0x249127(0x44a)](this[_0x249127(0x34e)]);}['_onConflict'](_0x1c73c0){var _0x4909bc=_0x491c30;return this[_0x4909bc(0x329)](),this[_0x4909bc(0x3f3)][_0x4909bc(0x2c8)](_0x134a91[_0x4909bc(0x2ff)],this[_0x4909bc(0x36e)],this[_0x4909bc(0x3bb)],null,this[_0x4909bc(0x4ba)],this['_handler'],_0x1c73c0);}[_0x491c30(0x36c)](_0x4f4594,_0x18ef63){var _0x1a80eb=_0x491c30,_0x43e8b4;_0x4f4594===((_0x43e8b4=this[_0x1a80eb(0x34e)])==null?void 0x0:_0x43e8b4['reqId'])&&(this[_0x1a80eb(0x288)](),this[_0x1a80eb(0x544)]=_0x18ef63===0x0?0x3e8:_0x18ef63*0x2);}[_0x491c30(0x329)](){var _0x1657c2=_0x491c30,_0x1b2943;(_0x1b2943=this[_0x1657c2(0x43a)])==null||_0x1b2943[_0x1657c2(0x2f3)](),this[_0x1657c2(0x544)]=0x0;}},_0x134a91['AwaitingWithPendingState']=_0x463fcc([_0x134d06(0x6,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x1f7)])),_0x134d06(0x7,_0x1aee43[_0x491c30(0x21b)](_0x5dc8d1[_0x491c30(0x232)])),_0x134d06(0x8,_0x1aee43['ICommandService']),_0x134d06(0x9,_0x1aee43['ILogService']),_0x134d06(0xa,_0x5dc8d1[_0x491c30(0x223)]),_0x134d06(0xb,_0x1aee43[_0x491c30(0x55e)]),_0x134d06(0xc,_0x1aee43[_0x491c30(0x33e)](_0x5be19a))],_0x134a91[_0x491c30(0x1e3)]),_0x134a91[_0x491c30(0x2ff)]=class extends _0x26581d{constructor(_0x223277,_0x2cccc8,_0x124565,_0x50b261,_0x5152eb,_0x1a1e52=!0x1,_0x396ad4,_0x4cd8ce,_0x4ec030,_0x460579,_0x366279,_0x1d3df4,_0x4c92ba){var _0x3d0f7a=_0x491c30;super(_0x223277,_0x2cccc8,_0x124565,_0x50b261,_0x5152eb,_0x4cd8ce,_0x4ec030,_0x460579,_0x4c92ba),_0x3060b6(this,'status','conflict'),(this['_isPermissionRej']=_0x1a1e52,this[_0x3d0f7a(0x429)]=_0x396ad4,this['_localeService']=_0x366279,this[_0x3d0f7a(0x484)]=_0x1d3df4,this['localCacheService']=_0x4c92ba,this[_0x3d0f7a(0x276)](),this[_0x3d0f7a(0x4c5)](),this['_disableEditing']());}[_0x491c30(0x50d)](){return this;}[_0x491c30(0x263)](){return this;}[_0x491c30(0x481)](){return this;}[_0x491c30(0x21d)](){return this;}[_0x491c30(0x554)](){return this;}[_0x491c30(0x428)](){return this;}[_0x491c30(0x210)](){return this;}[_0x491c30(0x288)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x491c30(0x4c5)](){var _0x47f62d=_0x491c30,_0x5546a3;(_0x5546a3=this[_0x47f62d(0x40b)])==null||_0x5546a3[_0x47f62d(0x512)](this[_0x47f62d(0x36e)],this[_0x47f62d(0x3bb)],null,[]);}[_0x491c30(0x276)](){var _0xc83925=_0x491c30;this[_0xc83925(0x395)]?this['_collaborationUIEventService']['emitEvent']({'id':_0x1c4c73[_0xc83925(0x31d)]}):this[_0xc83925(0x484)][_0xc83925(0x2bc)]({'id':_0x1c4c73[_0xc83925(0x280)]});}[_0x491c30(0x2d5)](){var _0x230b1a=_0x491c30;this['_permissionService'][_0x230b1a(0x439)](new _0x4828a8[(_0x230b1a(0x24f))](this[_0x230b1a(0x36e)])['id'],!0x1);}},_0x134a91['ConflictState']=_0x463fcc([_0x134d06(0x6,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x384)])),_0x134d06(0x7,_0x1aee43[_0x491c30(0x357)]),_0x134d06(0x8,_0x1aee43[_0x491c30(0x55e)]),_0x134d06(0x9,_0x1aee43['Inject'](_0x5dc8d1[_0x491c30(0x232)])),_0x134d06(0xa,_0x1aee43['Inject'](_0x1aee43[_0x491c30(0x249)])),_0x134d06(0xb,_0x1aee43[_0x491c30(0x21b)](_0x207917)),_0x134d06(0xc,_0x1aee43['Optional'](_0x5be19a))],_0x134a91[_0x491c30(0x2ff)]),_0x134a91['OfflineState']=class extends _0x26581d{constructor(_0x5d4f92,_0x3b91fc,_0x2d2c02,_0x29a4b3,_0x4a1f02,_0x1fe0b8,_0x581d0b,_0xd79f41,_0x1672c5,_0x5c230c){super(_0x5d4f92,_0x3b91fc,_0x2d2c02,_0x29a4b3,_0x4a1f02,_0xd79f41,_0x1672c5,_0x581d0b,_0x5c230c),_0x3060b6(this,'status','offline'),this['_injector']=_0x1fe0b8;}[_0x491c30(0x50d)](_0x206b4d){var _0x41a17a=_0x491c30;return this[_0x41a17a(0x4ba)][_0x41a17a(0x35a)](_0x206b4d),this[_0x41a17a(0x202)](),this;}[_0x491c30(0x263)](_0x5d02c4){var _0x5c3c3d=_0x491c30;throw new Error(_0x5c3c3d(0x431));}[_0x491c30(0x481)](){var _0x42b117=_0x491c30;throw new Error(_0x42b117(0x2f5));}['onRemoteRej'](){var _0x24f696=_0x491c30;throw new Error(_0x24f696(0x38a));}[_0x491c30(0x554)](){return this;}[_0x491c30(0x428)](){return this;}[_0x491c30(0x210)](){var _0x39a49b=_0x491c30;const {_injector:_0x209743,_pendingMutations:_0x53cf71,_awaitingChangeset:_0x45324e,unitID:_0x4971aa,_handler:_0x136aba,type:_0x42b6d4}=this,_0x4d2d86=_0x4eaed7(_0x209743,_0x4971aa,_0x42b6d4,_0x45324e,_0x53cf71,_0x136aba);return _0x4d2d86 instanceof _0x134a91['PendingState']?_0x4d2d86[_0x39a49b(0x555)]():(_0x4d2d86 instanceof _0x134a91[_0x39a49b(0x1e3)]||_0x4d2d86 instanceof _0x134a91['AwaitingState'])&&_0x4d2d86[_0x39a49b(0x288)](),_0x4d2d86;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x134a91[_0x491c30(0x24d)]=_0x463fcc([_0x134d06(0x5,_0x1aee43[_0x491c30(0x21b)](_0x1aee43['Injector'])),_0x134d06(0x6,_0x1aee43[_0x491c30(0x21b)](_0x5dc8d1[_0x491c30(0x232)])),_0x134d06(0x7,_0x1aee43[_0x491c30(0x357)]),_0x134d06(0x8,_0x1aee43[_0x491c30(0x55e)]),_0x134d06(0x9,_0x1aee43['Optional'](_0x5be19a))],_0x134a91[_0x491c30(0x24d)]),_0x134a91['FetchingMissState']=class extends _0x26581d{constructor(_0x42e8fc,_0x5e3b84,_0x590bce,_0x35e35a,_0x57cb08,_0x5a0ffe,_0x1a2f73,_0x34e574,_0x54079f,_0x5bcd4a,_0x34d5a2,_0x39ce86,_0x43f82b,_0x376bf9){var _0x2e1fd7=_0x491c30;super(_0x42e8fc,_0x5e3b84,_0x590bce,_0x35e35a,_0x1a2f73,_0x34d5a2,_0x39ce86,_0x54079f,_0x376bf9),_0x3060b6(this,_0x2e1fd7(0x463),_0x2e1fd7(0x339)),(this[_0x2e1fd7(0x309)]=_0x57cb08,this[_0x2e1fd7(0x26b)]=_0x5a0ffe,this['_injector']=_0x34e574,this[_0x2e1fd7(0x412)]=_0x5bcd4a,this[_0x2e1fd7(0x2ad)]=_0x43f82b,this['localCacheService']=_0x376bf9);}[_0x491c30(0x2e1)](_0x3a05de){var _0x14b1f8=_0x491c30;try{const _0x149396=[..._0x3a05de,...this[_0x14b1f8(0x26b)]],_0x1ffbcc=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x14b1f8(0x503)](_0x2abf52=>!!_0x2abf52);let _0x2cfb74,_0x422082;if(_0x1ffbcc[_0x14b1f8(0x2ac)]){const _0x5edcc0=this[_0x14b1f8(0x2ad)][_0x14b1f8(0x30b)](_0x149396,_0x1ffbcc,!0x1);if(!_0x5dc8d1[_0x14b1f8(0x381)](_0x5edcc0))throw _0x5edcc0[_0x14b1f8(0x364)];_0x2cfb74=_0x5edcc0[_0x14b1f8(0x323)],_0x422082=_0x5edcc0[_0x14b1f8(0x4c2)];}else _0x2cfb74=_0x149396,_0x422082=[];let _0x3de948=this[_0x14b1f8(0x4ba)];_0x2cfb74['forEach'](_0x32b214=>{var _0x597a99=_0x14b1f8;let _0x52ba0b;if(_0x3de948[_0x597a99(0x2ac)]){const _0x51bfaa=this['_transformService'][_0x597a99(0x508)](_0x32b214,_0x3de948);if(!_0x5dc8d1[_0x597a99(0x1fe)](_0x51bfaa))throw _0x51bfaa[_0x597a99(0x364)];_0x52ba0b=_0x51bfaa[_0x597a99(0x323)],_0x3de948=_0x51bfaa['m2Prime'];}else _0x52ba0b=_0x32b214;this[_0x597a99(0x401)](_0x52ba0b);}),this[_0x14b1f8(0x309)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x422082[_0x14b1f8(0x2ac)]&&(_0x422082[0x0]['baseRev']=this[_0x14b1f8(0x2e6)]());let _0x188e65;if(this[_0x14b1f8(0x34e)]&&_0x3de948['length']!==0x0)_0x188e65=this[_0x14b1f8(0x3f3)][_0x14b1f8(0x2c8)](_0x134a91['AwaitingWithPendingState'],this[_0x14b1f8(0x36e)],this['type'],_0x422082[0x0],_0x3de948,this[_0x14b1f8(0x3f7)],void 0x0);else{if(this[_0x14b1f8(0x34e)]&&_0x3de948[_0x14b1f8(0x2ac)]===0x0)_0x422082[0x0][_0x14b1f8(0x4b0)]=this['_getCurrentRevision'](),_0x188e65=this[_0x14b1f8(0x3f3)][_0x14b1f8(0x2c8)](_0x134a91[_0x14b1f8(0x456)],this['unitID'],this[_0x14b1f8(0x3bb)],_0x422082[0x0],this[_0x14b1f8(0x3f7)]);else{if(_0x3de948[_0x14b1f8(0x2ac)]!==0x0){const _0x37b20f=this['_injector'][_0x14b1f8(0x2c8)](_0x134a91[_0x14b1f8(0x3a4)],this['unitID'],this[_0x14b1f8(0x3bb)],_0x3de948,this['_handler']);_0x37b20f[_0x14b1f8(0x555)](),_0x188e65=_0x37b20f;}else _0x188e65=this[_0x14b1f8(0x3f3)]['createInstance'](_0x134a91[_0x14b1f8(0x3e7)],this[_0x14b1f8(0x36e)],this[_0x14b1f8(0x3bb)],this[_0x14b1f8(0x3f7)]);}}return _0x188e65[_0x14b1f8(0x202)](),_0x188e65;}catch(_0x2afd00){return this[_0x14b1f8(0x412)][_0x14b1f8(0x364)](_0x14b1f8(0x50c),_0x14b1f8(0x3cd),_0x2afd00),this[_0x14b1f8(0x3f3)][_0x14b1f8(0x2c8)](_0x134a91[_0x14b1f8(0x2ff)],this[_0x14b1f8(0x36e)],this['type'],this[_0x14b1f8(0x34e)],this[_0x14b1f8(0x4ba)],this[_0x14b1f8(0x3f7)],!0x1);}}[_0x491c30(0x288)](){var _0x2c5290=_0x491c30;throw new Error(_0x2c5290(0x539));}[_0x491c30(0x50d)](_0x2e903e){var _0x40d6fe=_0x491c30;return this[_0x40d6fe(0x4ba)]['push'](_0x2e903e),this;}['onRemoteChangeset'](_0x35619b){var _0x21327b=_0x491c30;return this[_0x21327b(0x26b)][_0x21327b(0x35a)](_0x35619b),this;}[_0x491c30(0x481)](_0x4b965c){var _0x4a824b=_0x491c30;if(this[_0x4a824b(0x34e)])return this[_0x4a824b(0x309)]=this[_0x4a824b(0x34e)],this[_0x4a824b(0x34e)]=null,this;throw new Error(_0x4a824b(0x493));}[_0x491c30(0x21d)](_0x3f71d3){var _0xf358ac=_0x491c30;return this[_0xf358ac(0x541)](!!(_0x3f71d3!=null&&_0x3f71d3[_0xf358ac(0x3b3)]));}[_0x491c30(0x554)](){return this;}[_0x491c30(0x428)](){var _0x3477ff=_0x491c30;return this[_0x3477ff(0x3f3)][_0x3477ff(0x2c8)](_0x134a91[_0x3477ff(0x24d)],this['unitID'],this[_0x3477ff(0x3bb)],this['_awaitingChangeset'],this[_0x3477ff(0x4ba)],this[_0x3477ff(0x3f7)]);}[_0x491c30(0x210)](){return this;}[_0x491c30(0x541)](_0x4f395c){var _0x480bc0=_0x491c30;return this[_0x480bc0(0x3f3)][_0x480bc0(0x2c8)](_0x134a91['ConflictState'],this['unitID'],this[_0x480bc0(0x3bb)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x480bc0(0x3f7)],_0x4f395c);}},_0x134a91['FetchingMissState']=_0x463fcc([_0x134d06(0x7,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x1f7)])),_0x134d06(0x8,_0x1aee43['Inject'](_0x5dc8d1['RevisionService'])),_0x134d06(0x9,_0x1aee43['ILogService']),_0x134d06(0xa,_0x1aee43[_0x491c30(0x357)]),_0x134d06(0xb,_0x1aee43[_0x491c30(0x55e)]),_0x134d06(0xc,_0x5dc8d1['ITransformService']),_0x134d06(0xd,_0x1aee43['Optional'](_0x5be19a))],_0x134a91[_0x491c30(0x37d)]);function _0x4eaed7(_0x2a6798,_0x5264b4,_0x113e97,_0x4df466,_0x1e834a,_0x28238e){var _0x3fc0a0=_0x491c30;return _0x4df466&&_0x1e834a[_0x3fc0a0(0x2ac)]?_0x2a6798[_0x3fc0a0(0x2c8)](_0x134a91[_0x3fc0a0(0x1e3)],_0x5264b4,_0x113e97,_0x4df466,_0x1e834a,_0x28238e,void 0x0):_0x4df466?_0x2a6798['createInstance'](_0x134a91[_0x3fc0a0(0x456)],_0x5264b4,_0x113e97,_0x4df466,_0x28238e):_0x1e834a[_0x3fc0a0(0x2ac)]?_0x2a6798['createInstance'](_0x134a91[_0x3fc0a0(0x3a4)],_0x5264b4,_0x113e97,_0x1e834a,_0x28238e):_0x2a6798[_0x3fc0a0(0x2c8)](_0x134a91[_0x3fc0a0(0x3e7)],_0x5264b4,_0x113e97,_0x28238e);}var _0xdd6f9c=Object[_0x491c30(0x227)],_0x967014=(_0x57839a,_0x138b0b,_0x327bb2,_0x4a0a51)=>{for(var _0x13c06a=_0x4a0a51>0x1?void 0x0:_0x4a0a51?_0xdd6f9c(_0x138b0b,_0x327bb2):_0x138b0b,_0x3753e2=_0x57839a['length']-0x1,_0x201fa8;_0x3753e2>=0x0;_0x3753e2--)(_0x201fa8=_0x57839a[_0x3753e2])&&(_0x13c06a=_0x201fa8(_0x13c06a)||_0x13c06a);return _0x13c06a;},_0x370b6a=(_0x27a929,_0x4087c5)=>(_0x5cf126,_0xf3fc03)=>_0x4087c5(_0x5cf126,_0xf3fc03,_0x27a929);_0x134a91['CollaborationEntity']=class extends _0x1aee43['RxDisposable']{constructor(_0x41056f,_0x5aa4f5,_0x490eba,_0x58660d,_0x2416af,_0xaf78c2,_0x1fe6d5,_0x2427ef,_0x1a3895,_0x52ec07,_0x1b1546,_0x139a74,_0x252f9b){var _0x8bb8af=_0x491c30;super(),_0x3060b6(this,_0x8bb8af(0x44e),new _0x263a1d[(_0x8bb8af(0x334))](null)),_0x3060b6(this,_0x8bb8af(0x336),this[_0x8bb8af(0x44e)][_0x8bb8af(0x50e)]()),_0x3060b6(this,_0x8bb8af(0x32f)),_0x3060b6(this,_0x8bb8af(0x448),!0x1),_0x3060b6(this,_0x8bb8af(0x281),''),_0x3060b6(this,'_changesetReqId',0x0),_0x3060b6(this,_0x8bb8af(0x21e),this[_0x8bb8af(0x336)]['pipe'](_0x263a1d[_0x8bb8af(0x2cc)](_0x3ddd9f=>_0x3ddd9f?_0x3ddd9f[_0x8bb8af(0x463)]:_0x1ea918[_0x8bb8af(0x4f2)]),_0x263a1d['shareReplay'](0x1))),_0x3060b6(this,'_transitionLocked',!0x1),_0x3060b6(this,_0x8bb8af(0x2b4),[]),(this[_0x8bb8af(0x36e)]=_0x41056f,this[_0x8bb8af(0x4d2)]=_0x5aa4f5,this[_0x8bb8af(0x41f)]=_0x490eba,this[_0x8bb8af(0x3f3)]=_0x58660d,this[_0x8bb8af(0x23a)]=_0x2416af,this['_localeService']=_0xaf78c2,this[_0x8bb8af(0x4c1)]=_0x1fe6d5,this[_0x8bb8af(0x43c)]=_0x2427ef,this[_0x8bb8af(0x412)]=_0x1a3895,this['_commandService']=_0x52ec07,this[_0x8bb8af(0x429)]=_0x1b1546,this[_0x8bb8af(0x4c7)]=_0x139a74,this[_0x8bb8af(0x40b)]=_0x252f9b);}get[_0x491c30(0x36d)](){var _0x42cf54=_0x491c30;return this[_0x42cf54(0x32f)];}async[_0x491c30(0x51b)](){var _0x3a9ec9=_0x491c30;if(this[_0x3a9ec9(0x36d)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x491c30(0x48f)](){var _0x28d5e4=_0x491c30;return this[_0x28d5e4(0x448)]=!0x0,_0x1aee43[_0x28d5e4(0x33a)](()=>{var _0x58712f=_0x28d5e4;this[_0x58712f(0x448)]=!0x1,this[_0x58712f(0x331)]();});}['onLocalMutation'](_0x21ac85){this['_onLocalMutation'](_0x21ac85);}['_updateState'](_0x406ced){var _0x495d60=_0x491c30;this[_0x495d60(0x32f)]=_0x406ced,this['_state$'][_0x495d60(0x3ff)](_0x406ced);}async[_0x491c30(0x48d)](){var _0x5420c3=_0x491c30,_0x461bff;this[_0x5420c3(0x437)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x461bff=this[_0x5420c3(0x4c7)])==null||_0x461bff[_0x5420c3(0x3f9)](this[_0x5420c3(0x36e)]),this[_0x5420c3(0x2e4)](this[_0x5420c3(0x4c7)][_0x5420c3(0x235)](this[_0x5420c3(0x36e)])[_0x5420c3(0x3e1)](_0x4a8a6b=>{var _0x360967=_0x5420c3;this[_0x360967(0x412)][_0x360967(0x27f)](_0x360967(0x446),_0x360967(0x46c),_0x4a8a6b),_0x4a8a6b===_0x3d70c2[_0x360967(0x352)]?(this['_eventService']['emitEvent']({'id':_0x1c4c73[_0x360967(0x385)]}),this[_0x360967(0x429)][_0x360967(0x439)](new _0x4828a8[(_0x360967(0x24f))](this['unitID'])['id'],!0x1),this[_0x360967(0x429)][_0x360967(0x514)](!0x1)):(this[_0x360967(0x429)]['updatePermissionPoint'](new _0x4828a8[(_0x360967(0x24f))](this[_0x360967(0x36e)])['id'],!0x0),this[_0x360967(0x429)]['setShowComponents'](!0x0));})));let _0x4bd9cb=!0x1;return this[_0x5420c3(0x2e4)](this['session'][_0x5420c3(0x220)][_0x5420c3(0x3e1)](_0x444190=>{var _0x352175=_0x5420c3;_0x444190===_0x4d7505[_0x352175(0x506)]?this[_0x352175(0x53b)](_0x4bd9cb):_0x444190===_0x4d7505['OFFLINE']&&(_0x4bd9cb=!0x0,this[_0x352175(0x561)]());})),this[_0x5420c3(0x2e4)](this[_0x5420c3(0x4d2)][_0x5420c3(0x519)][_0x5420c3(0x3e1)](_0x5010bb=>{var _0x2c98dd=_0x5420c3;try{switch(_0x5010bb[_0x2c98dd(0x4c9)]){case _0x5dc8d1[_0x2c98dd(0x43e)][_0x2c98dd(0x3c0)]:{this[_0x2c98dd(0x2bd)](_0x5dc8d1['parseProtocolChangeset'](_0x5010bb[_0x2c98dd(0x3a7)]));break;}case _0x5dc8d1['CollaborationEvent'][_0x2c98dd(0x37c)]:{this['_onRemoteACK'](_0x5010bb[_0x2c98dd(0x3a7)]);break;}case _0x5dc8d1[_0x2c98dd(0x43e)]['CHANGESET_REJ']:{this[_0x2c98dd(0x2f9)]();break;}case _0x5dc8d1[_0x2c98dd(0x43e)]['CHANGESET_SHOULD_RETRY']:{this[_0x2c98dd(0x44f)](_0x5010bb[_0x2c98dd(0x3a7)]);break;}case _0x5dc8d1[_0x2c98dd(0x43e)][_0x2c98dd(0x4df)]:{this[_0x2c98dd(0x4f1)](_0x5010bb['data'][_0x2c98dd(0x4e6)][_0x2c98dd(0x2cc)](_0x3938b6=>_0x5dc8d1[_0x2c98dd(0x23c)](_0x3938b6)));break;}case _0x5dc8d1['CollaborationEvent'][_0x2c98dd(0x238)]:{this[_0x2c98dd(0x2f9)]({'isPermissionRej':!0x0});break;}case _0x5dc8d1[_0x2c98dd(0x43e)]['UNISCRIPT_RUN']:break;}}catch(_0x214249){throw console[_0x2c98dd(0x364)](_0x2c98dd(0x415),_0x214249),_0x214249;}})),this['_state'];}[_0x491c30(0x460)](){this['_transitionLocked']=!0x1;}[_0x491c30(0x360)](){var _0x547446=_0x491c30;if(this[_0x547446(0x4de)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x547446(0x4de)]=!0x0;}[_0x491c30(0x4cb)](_0x1766b8){var _0x5b3b58=_0x491c30;this[_0x5b3b58(0x360)](),this[_0x5b3b58(0x437)](this['_state'][_0x5b3b58(0x50d)](_0x1766b8)),this[_0x5b3b58(0x460)]();}['_onRemoteChangeset'](_0x370f21){var _0x278052=_0x491c30;if(!(_0x370f21[_0x278052(0x44b)]<=this[_0x278052(0x4c1)][_0x278052(0x298)](this[_0x278052(0x36e)]))){if(this[_0x278052(0x448)]){this['_remoteChangesetQueue'][_0x278052(0x35a)](_0x370f21);return;}this[_0x278052(0x3c6)](_0x370f21);}}[_0x491c30(0x331)](){var _0x2eae24=_0x491c30;this[_0x2eae24(0x2b4)]['forEach'](_0x7cc6b7=>this['_applyRemoteChangeset'](_0x7cc6b7)),this[_0x2eae24(0x2b4)]=[];}[_0x491c30(0x3c6)](_0x350711){var _0x247e2c=_0x491c30;const _0x554f98=this[_0x247e2c(0x23a)]['interceptor'][_0x247e2c(0x236)](this['_compressMutationService'][_0x247e2c(0x1e0)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x350711[_0x247e2c(0x2f6)],null)||_0x350711[_0x247e2c(0x2f6)],_0x2ae528={..._0x350711,'mutations':_0x554f98};this[_0x247e2c(0x360)](),this[_0x247e2c(0x437)](this[_0x247e2c(0x32f)][_0x247e2c(0x263)](_0x2ae528)),this['_unlockTransition']();}[_0x491c30(0x4ca)](_0x2a3f72){var _0x318126=_0x491c30;this[_0x318126(0x360)](),this[_0x318126(0x437)](this[_0x318126(0x32f)][_0x318126(0x481)](_0x2a3f72)),this[_0x318126(0x460)]();}[_0x491c30(0x2f9)](_0xc184f){var _0x133815=_0x491c30;this[_0x133815(0x360)](),this['_updateState'](this[_0x133815(0x32f)][_0x133815(0x21d)](_0xc184f)),this[_0x133815(0x460)]();}[_0x491c30(0x44f)](_0x45ebfc){var _0x5aba97=_0x491c30;this[_0x5aba97(0x360)](),this[_0x5aba97(0x437)](this['_state'][_0x5aba97(0x554)](_0x45ebfc)),this[_0x5aba97(0x460)]();}[_0x491c30(0x4f1)](_0x44914c){var _0xe30c98=_0x491c30;if(!(this['_state']instanceof _0x134a91[_0xe30c98(0x37d)]))throw new TypeError(_0xe30c98(0x269));const _0x3274b9=_0x44914c[_0xe30c98(0x2cc)](_0x980eb9=>{var _0x19e335=_0xe30c98;const _0x5efbf3=this['_compressMutationService']['interceptor'][_0x19e335(0x236)](this[_0x19e335(0x23a)][_0x19e335(0x1e0)][_0x19e335(0x3d7)]()['COMPRESS_MUTATION_APPLY'])(_0x980eb9['mutations'],null)||_0x980eb9['mutations'];return{..._0x980eb9,'mutations':_0x5efbf3};});this['_lockTransition'](),this[_0xe30c98(0x437)](this[_0xe30c98(0x32f)][_0xe30c98(0x2e1)](_0x3274b9)),this[_0xe30c98(0x460)]();}[_0x491c30(0x561)](){var _0x1691d9=_0x491c30;this[_0x1691d9(0x360)](),this['_updateState'](this[_0x1691d9(0x32f)][_0x1691d9(0x428)]()),this[_0x1691d9(0x460)]();}[_0x491c30(0x53b)](_0x3dda2f=!0x1){var _0x5a9501=_0x491c30;this['_lockTransition'](),this['_updateState'](this['_state'][_0x5a9501(0x210)]()),this[_0x5a9501(0x460)]();const _0x5b0a87=this['_state'];_0x3dda2f&&_0x5b0a87 instanceof _0x134a91[_0x5a9501(0x3e7)]&&(this['_lockTransition'](),this[_0x5a9501(0x437)](_0x5b0a87[_0x5a9501(0x50b)]()),this[_0x5a9501(0x460)]());}async[_0x491c30(0x422)](){return new Promise(_0xe9aec7=>{var _0x8a9ab6=_0x3855;this[_0x8a9ab6(0x4d2)][_0x8a9ab6(0x220)]['pipe'](_0x263a1d[_0x8a9ab6(0x3a2)](0x1))[_0x8a9ab6(0x3e1)](async _0x34fefe=>{var _0x1e1b32=_0x8a9ab6;_0xe9aec7(await this[_0x1e1b32(0x350)](_0x34fefe===_0x4d7505[_0x1e1b32(0x506)]));});});}[_0x491c30(0x4c0)](){var _0x1cec35=_0x491c30;const _0x17e396=this[_0x1cec35(0x36e)];return{'onStateChange':(_0x231f07,_0x3437cc)=>{var _0x554595=_0x1cec35;if(_0x231f07!==this[_0x554595(0x32f)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x231f07[_0x554595(0x463)]+'\x0aAfter:\x20'+_0x3437cc[_0x554595(0x463)]+_0x554595(0x317)+this[_0x554595(0x32f)][_0x554595(0x463)]);this[_0x554595(0x437)](_0x3437cc);},'onSendChangeset':_0x1569f5=>{var _0x4ae272=_0x1cec35;_0x1569f5['sid']||(_0x1569f5['sid']=this[_0x4ae272(0x281)],_0x1569f5[_0x4ae272(0x22c)]=++this[_0x4ae272(0x4a6)]);const _0x371929={'eventID':_0x5dc8d1[_0x4ae272(0x43e)][_0x4ae272(0x2af)],'data':{'unitID':_0x1569f5[_0x4ae272(0x36e)],'unitType':this[_0x4ae272(0x41f)],'changeset':_0x1569f5,'memberID':this[_0x4ae272(0x4d2)][_0x4ae272(0x29e)]()}};this[_0x4ae272(0x4d2)]['send'](_0x371929,this[_0x4ae272(0x36e)]);},'onMissingChangesets':({from:_0x4b07f1,to:_0x6713e8})=>{var _0x3fad9c=_0x1cec35;this['_logService']['debug'](_0x3fad9c(0x446),'fetching\x20missing\x20changesets\x20from\x20'+_0x4b07f1+_0x3fad9c(0x245)+_0x6713e8);const _0x31f967={'eventID':_0x5dc8d1['CollaborationEvent'][_0x3fad9c(0x319)],'data':{'unitID':_0x17e396,'unitType':this['_type'],'from':_0x4b07f1,'to':_0x6713e8}};this[_0x3fad9c(0x4d2)][_0x3fad9c(0x507)](_0x31f967,this['unitID']);}};}async[_0x491c30(0x350)](_0x1fb0a9){var _0x4b3452=_0x491c30,_0xaf2af6,_0x223209,_0x4ceee0;const _0xe98d3b=await((_0xaf2af6=this['_localCacheService'])==null?void 0x0:_0xaf2af6[_0x4b3452(0x452)](this[_0x4b3452(0x36e)])),_0x3ac1ac=(_0x223209=_0xe98d3b==null?void 0x0:_0xe98d3b[_0x4b3452(0x2f6)])!=null?_0x223209:[],_0x3a8f96=(_0x4ceee0=_0xe98d3b==null?void 0x0:_0xe98d3b[_0x4b3452(0x251)])!=null?_0x4ceee0:null,_0x6e0ba8=!!(_0x3a8f96!=null&&_0x3a8f96[_0x4b3452(0x3f1)])&&!!(_0x3a8f96!=null&&_0x3a8f96[_0x4b3452(0x22c)]);this[_0x4b3452(0x281)]=_0x6e0ba8?_0x3a8f96[_0x4b3452(0x3f1)]:_0x5dc8d1[_0x4b3452(0x42c)](),this['_changesetReqId']=_0x6e0ba8?_0x3a8f96[_0x4b3452(0x22c)]:0x0;const _0x3b1c32=this[_0x4b3452(0x36e)];try{this[_0x4b3452(0x2ce)](_0x3a8f96,_0x3ac1ac);}catch(_0x5d8e02){this['_logService']['error'](_0x5d8e02);}const _0xb4437e=this['_createHandler']();if(_0x1fb0a9){const _0xd4f52a=_0x4eaed7(this[_0x4b3452(0x3f3)],_0x3b1c32,this[_0x4b3452(0x41f)],_0x3a8f96,_0x3ac1ac,_0xb4437e);return _0xd4f52a instanceof _0x134a91[_0x4b3452(0x3a4)]?_0xd4f52a[_0x4b3452(0x555)]():(_0xd4f52a instanceof _0x134a91['AwaitingWithPendingState']||_0xd4f52a instanceof _0x134a91['AwaitingState'])&&_0xd4f52a[_0x4b3452(0x288)](),_0xd4f52a;}return this[_0x4b3452(0x3f3)]['createInstance'](_0x134a91[_0x4b3452(0x24d)],_0x3b1c32,this[_0x4b3452(0x41f)],_0x3a8f96,_0x3ac1ac,_0xb4437e);}[_0x491c30(0x2ce)](_0x3db310,_0x51b802){var _0x5109b4=_0x491c30,_0x37ba03,_0x31e1a2;const _0x447a33=this[_0x5109b4(0x23a)][_0x5109b4(0x1e0)]['fetchThroughInterceptors'](this[_0x5109b4(0x23a)][_0x5109b4(0x1e0)][_0x5109b4(0x3d7)]()[_0x5109b4(0x4e0)]);(_0x37ba03=_0x447a33((_0x3db310==null?void 0x0:_0x3db310[_0x5109b4(0x2f6)])||[],null))==null||_0x37ba03[_0x5109b4(0x4e3)](_0x391fce=>this[_0x5109b4(0x54a)][_0x5109b4(0x32a)](_0x391fce['id'],_0x391fce[_0x5109b4(0x2a4)])),(_0x31e1a2=_0x447a33(_0x51b802||[],null))==null||_0x31e1a2[_0x5109b4(0x4e3)](_0x240c22=>this['_commandService'][_0x5109b4(0x32a)](_0x240c22['id'],_0x240c22[_0x5109b4(0x2a4)]));}},_0x134a91[_0x491c30(0x224)]=_0x967014([_0x370b6a(0x3,_0x1aee43['Inject'](_0x1aee43[_0x491c30(0x1f7)])),_0x370b6a(0x4,_0x1aee43[_0x491c30(0x21b)](_0x5dc8d1[_0x491c30(0x4e4)])),_0x370b6a(0x5,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x249)])),_0x370b6a(0x6,_0x1aee43[_0x491c30(0x21b)](_0x5dc8d1['RevisionService'])),_0x370b6a(0x7,_0x1aee43[_0x491c30(0x21b)](_0x207917)),_0x370b6a(0x8,_0x1aee43[_0x491c30(0x247)]),_0x370b6a(0x9,_0x1aee43[_0x491c30(0x357)]),_0x370b6a(0xa,_0x1aee43['IPermissionService']),_0x370b6a(0xb,_0x1aee43[_0x491c30(0x33e)](_0x4f95d4)),_0x370b6a(0xc,_0x1aee43[_0x491c30(0x33e)](_0x5be19a))],_0x134a91[_0x491c30(0x224)]),_0x134a91['DocCollaborationEntity']=class extends _0x134a91['CollaborationEntity']{constructor(_0x300561,_0x2d363b,_0xefec27,_0x4e984b,_0x4d3ff1,_0x776e4e,_0x5c74cf,_0x3a8d91,_0x14d8c9,_0x29884f,_0x4e0595,_0x4e1128,_0x1fe47f){var _0x29634e=_0x491c30;super(_0x300561,_0xefec27,_0x2d363b,_0x4e984b,_0x4d3ff1,_0x776e4e,_0x5c74cf,_0x3a8d91,_0x14d8c9,_0x29884f,_0x4e0595,_0x4e1128,_0x1fe47f),_0x3060b6(this,'_handlerCallback',null),(this[_0x29634e(0x36e)]=_0x300561,this[_0x29634e(0x3bb)]=_0x2d363b);}[_0x491c30(0x51a)](_0x1aae24){var _0x52ed52=_0x491c30;this[_0x52ed52(0x458)]=_0x1aae24;}[_0x491c30(0x3b9)](){var _0x440e4b=_0x491c30;this['_handlerCallback']=null,super[_0x440e4b(0x3b9)]();}['_createHandler'](){var _0x2415cb=_0x491c30;const _0x568092=super[_0x2415cb(0x4c0)]();return _0x568092['onTransformIME']=_0x33ee87=>{var _0x4d2e0e=_0x2415cb,_0x375597,_0x31e380;return(_0x31e380=(_0x375597=this['_handlerCallback'])==null?void 0x0:_0x375597['onTransformIME'])==null?void 0x0:_0x31e380[_0x4d2e0e(0x3cc)](_0x375597,_0x33ee87);},_0x568092[_0x2415cb(0x272)]=_0x1c4dbd=>{var _0x3fac9b=_0x2415cb,_0x21ab3c,_0x46e7a6;return(_0x46e7a6=(_0x21ab3c=this[_0x3fac9b(0x458)])==null?void 0x0:_0x21ab3c[_0x3fac9b(0x272)])==null?void 0x0:_0x46e7a6[_0x3fac9b(0x3cc)](_0x21ab3c,_0x1c4dbd);},_0x568092[_0x2415cb(0x4e9)]=_0x4481e4=>{var _0x2c794a=_0x2415cb,_0x1f2ff9,_0x1e536e;return(_0x1e536e=(_0x1f2ff9=this[_0x2c794a(0x458)])==null?void 0x0:_0x1f2ff9[_0x2c794a(0x4e9)])==null?void 0x0:_0x1e536e['call'](_0x1f2ff9,_0x4481e4);},_0x568092['onSyncEditingCollabCursor']=_0x457d9a=>{var _0x4f042f=_0x2415cb,_0x120278,_0x4027fc;return(_0x4027fc=(_0x120278=this[_0x4f042f(0x458)])==null?void 0x0:_0x120278[_0x4f042f(0x261)])==null?void 0x0:_0x4027fc[_0x4f042f(0x3cc)](_0x120278,_0x457d9a);},_0x568092['onTransformRemoteChangesetByIMECache']=_0x4d631e=>{var _0xbcffa5=_0x2415cb,_0xb30ecc,_0x1a92af,_0x5bd3c5;if(!((_0xb30ecc=this[_0xbcffa5(0x458)])!=null&&_0xb30ecc[_0xbcffa5(0x419)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5bd3c5=(_0x1a92af=this['_handlerCallback'])==null?void 0x0:_0x1a92af[_0xbcffa5(0x419)])==null?void 0x0:_0x5bd3c5[_0xbcffa5(0x3cc)](_0x1a92af,_0x4d631e);},_0x568092[_0x2415cb(0x43f)]=_0x313700=>{var _0x392c56=_0x2415cb,_0x2d3150,_0x8e2a1a,_0x16cae6;if(!((_0x2d3150=this[_0x392c56(0x458)])!=null&&_0x2d3150[_0x392c56(0x43f)]))throw new Error(_0x392c56(0x30a));return(_0x16cae6=(_0x8e2a1a=this[_0x392c56(0x458)])==null?void 0x0:_0x8e2a1a[_0x392c56(0x43f)])==null?void 0x0:_0x16cae6[_0x392c56(0x3cc)](_0x8e2a1a,_0x313700);},_0x568092;}async[_0x491c30(0x48d)](){var _0x5977bd=_0x491c30;const _0x19ae9b=await super[_0x5977bd(0x48d)]();return this['disposeWithMe'](this[_0x5977bd(0x54a)][_0x5977bd(0x41d)]((_0x4082db,_0x29560d)=>{var _0x4e19e7=_0x5977bd;if(_0x4082db[_0x4e19e7(0x3bb)]!==_0x1aee43['CommandType'][_0x4e19e7(0x4b5)]||_0x29560d!=null&&_0x29560d[_0x4e19e7(0x46d)]||_0x29560d!=null&&_0x29560d[_0x4e19e7(0x441)]||_0x4082db['id']===_0x11f952[_0x4e19e7(0x312)]['id'])return;const _0x1cc418=_0x4082db[_0x4e19e7(0x2a4)];if((_0x1cc418==null?void 0x0:_0x1cc418[_0x4e19e7(0x4a0)])!==this[_0x4e19e7(0x36e)])return;const _0x3db943=_0x4082db,_0xc7825a=this[_0x4e19e7(0x23a)][_0x4e19e7(0x1e0)][_0x4e19e7(0x236)](this[_0x4e19e7(0x23a)][_0x4e19e7(0x1e0)][_0x4e19e7(0x3d7)]()[_0x4e19e7(0x3fe)])([_0x3db943],null)||[_0x3db943];this[_0x4e19e7(0x4cb)](_0xc7825a[0x0]);})),_0x19ae9b;}},_0x134a91[_0x491c30(0x367)]=_0x967014([_0x370b6a(0x3,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x1f7)])),_0x370b6a(0x4,_0x1aee43['Inject'](_0x5dc8d1[_0x491c30(0x4e4)])),_0x370b6a(0x5,_0x1aee43['Inject'](_0x1aee43[_0x491c30(0x249)])),_0x370b6a(0x6,_0x1aee43[_0x491c30(0x21b)](_0x5dc8d1['RevisionService'])),_0x370b6a(0x7,_0x1aee43[_0x491c30(0x21b)](_0x207917)),_0x370b6a(0x8,_0x1aee43[_0x491c30(0x247)]),_0x370b6a(0x9,_0x1aee43[_0x491c30(0x357)]),_0x370b6a(0xa,_0x1aee43['IPermissionService']),_0x370b6a(0xb,_0x1aee43[_0x491c30(0x33e)](_0x4f95d4)),_0x370b6a(0xc,_0x1aee43[_0x491c30(0x33e)](_0x5be19a))],_0x134a91[_0x491c30(0x367)]),_0x134a91[_0x491c30(0x2ef)]=class extends _0x134a91[_0x491c30(0x224)]{constructor(_0x33a3df,_0x436971,_0x4ef9c4,_0x15bfe6,_0x357975,_0x3d0b6b,_0x496e16,_0x3d95a9,_0x3a6388,_0x583e85,_0x371d3c,_0xa0bc31,_0x2091d0,_0x1cff7e){var _0x5bd3dd=_0x491c30;super(_0x33a3df,_0x4ef9c4,_0x436971,_0x15bfe6,_0x357975,_0x3d0b6b,_0x496e16,_0x3a6388,_0x583e85,_0x371d3c,_0xa0bc31,_0x2091d0,_0x1cff7e),this[_0x5bd3dd(0x36e)]=_0x33a3df,this[_0x5bd3dd(0x3bb)]=_0x436971,this[_0x5bd3dd(0x4c8)]=_0x3d95a9;}[_0x491c30(0x4c0)](){var _0x3d6568=_0x491c30;const _0x4082fa=super['_createHandler']();return _0x4082fa['onTransformSelections']=_0xb8f4a1=>this[_0x3d6568(0x4c8)][_0x3d6568(0x513)](_0xb8f4a1),_0x4082fa;}async[_0x491c30(0x48d)](){var _0x354734=_0x491c30;const _0x168edf=await super['_init']();return this[_0x354734(0x2e4)](this[_0x354734(0x54a)][_0x354734(0x41d)]((_0x1fc4b6,_0x40773b)=>{var _0x19ad20=_0x354734;if(_0x1fc4b6[_0x19ad20(0x3bb)]!==_0x1aee43[_0x19ad20(0x490)]['MUTATION']||_0x40773b!=null&&_0x40773b[_0x19ad20(0x46d)]||_0x40773b!=null&&_0x40773b[_0x19ad20(0x441)])return;const _0x184ec6=_0x1fc4b6[_0x19ad20(0x2a4)];if((_0x184ec6==null?void 0x0:_0x184ec6[_0x19ad20(0x4a0)])!==this[_0x19ad20(0x36e)])return;const _0x1ca046=_0x1fc4b6,_0x21c851=this[_0x19ad20(0x23a)][_0x19ad20(0x1e0)]['fetchThroughInterceptors'](this[_0x19ad20(0x23a)][_0x19ad20(0x1e0)]['getInterceptPoints']()[_0x19ad20(0x3fe)])([_0x1ca046],null)||[_0x1ca046];this[_0x19ad20(0x4cb)](_0x21c851[0x0]);})),_0x168edf;}},_0x134a91[_0x491c30(0x2ef)]=_0x967014([_0x370b6a(0x3,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x1f7)])),_0x370b6a(0x4,_0x1aee43[_0x491c30(0x21b)](_0x5dc8d1[_0x491c30(0x4e4)])),_0x370b6a(0x5,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x249)])),_0x370b6a(0x6,_0x1aee43[_0x491c30(0x21b)](_0x5dc8d1['RevisionService'])),_0x370b6a(0x7,_0x1aee43[_0x491c30(0x21b)](_0x134a91[_0x491c30(0x343)])),_0x370b6a(0x8,_0x1aee43[_0x491c30(0x21b)](_0x207917)),_0x370b6a(0x9,_0x1aee43[_0x491c30(0x247)]),_0x370b6a(0xa,_0x1aee43['ICommandService']),_0x370b6a(0xb,_0x1aee43[_0x491c30(0x384)]),_0x370b6a(0xc,_0x1aee43[_0x491c30(0x33e)](_0x4f95d4)),_0x370b6a(0xd,_0x1aee43[_0x491c30(0x33e)](_0x5be19a))],_0x134a91[_0x491c30(0x2ef)]);var _0x3c4b0f=Object[_0x491c30(0x227)],_0x283b81=(_0x5bf9b3,_0x42ed6d,_0x1bc1fd,_0x22f7c2)=>{var _0x29576f=_0x491c30;for(var _0x57d476=_0x22f7c2>0x1?void 0x0:_0x22f7c2?_0x3c4b0f(_0x42ed6d,_0x1bc1fd):_0x42ed6d,_0x438e47=_0x5bf9b3[_0x29576f(0x2ac)]-0x1,_0x4f6e07;_0x438e47>=0x0;_0x438e47--)(_0x4f6e07=_0x5bf9b3[_0x438e47])&&(_0x57d476=_0x4f6e07(_0x57d476)||_0x57d476);return _0x57d476;},_0x11a68a=(_0x48470a,_0x367448)=>(_0x26ae50,_0x269cf6)=>_0x367448(_0x26ae50,_0x269cf6,_0x48470a);_0x134a91['CollaborationController']=class extends _0x1aee43['RxDisposable']{constructor(_0x53e37a,_0x226196,_0x17b528,_0x2b3ceb){var _0x22dff0=_0x491c30,_0xeebeb5;super(),_0x3060b6(this,_0x22dff0(0x37b),new Map()),_0x3060b6(this,_0x22dff0(0x3de),new _0x263a1d['Subject']()),_0x3060b6(this,_0x22dff0(0x4a9),this['_entityInit$'][_0x22dff0(0x50e)]()),(this[_0x22dff0(0x3f3)]=_0x53e37a,this[_0x22dff0(0x215)]=_0x226196,this[_0x22dff0(0x35f)]=_0x17b528,this[_0x22dff0(0x332)]=_0x2b3ceb,((_0xeebeb5=this[_0x22dff0(0x35f)]['getConfig'](_0x31ee8c))==null?void 0x0:_0xeebeb5[_0x22dff0(0x55b)])!==!0x1&&this[_0x22dff0(0x48d)]());}[_0x491c30(0x3b9)](){var _0x329ae0=_0x491c30;super['dispose'](),this[_0x329ae0(0x37b)][_0x329ae0(0x4e3)](_0x1755a0=>_0x1755a0[_0x329ae0(0x3b9)]()),this[_0x329ae0(0x37b)][_0x329ae0(0x1ed)]();}[_0x491c30(0x485)](_0x326913){var _0xb7768f=_0x491c30,_0x301543;return(_0x301543=this[_0xb7768f(0x37b)]['get'](_0x326913))!=null?_0x301543:null;}['getCollabEntity$'](_0x16fe69){var _0x3ddfa2=_0x491c30;const _0x406bba=this[_0x3ddfa2(0x485)](_0x16fe69);return _0x406bba?_0x263a1d['of'](_0x406bba):this[_0x3ddfa2(0x3de)][_0x3ddfa2(0x2c0)](_0x5b935f[_0x3ddfa2(0x503)](_0x43880e=>_0x43880e[_0x3ddfa2(0x36e)]===_0x16fe69));}['readyForCollab'](_0x4a44aa){var _0x424899=_0x491c30;return _0x263a1d[_0x424899(0x417)](this[_0x424899(0x3c8)](_0x4a44aa)[_0x424899(0x2c0)](_0x5b935f[_0x424899(0x2cc)](()=>{})));}['_init'](){var _0x5e1670=_0x491c30;this['_univerInstanceService'][_0x5e1670(0x22e)](_0x1aee43[_0x5e1670(0x471)][_0x5e1670(0x52e)])[_0x5e1670(0x2c0)](_0x263a1d[_0x5e1670(0x4f4)](this[_0x5e1670(0x310)]),_0x5b935f[_0x5e1670(0x399)](0x10))[_0x5e1670(0x3e1)](async _0xb9b55b=>{var _0x343527=_0x5e1670;const _0x8f8b91=_0xb9b55b['getUnitId'](),_0x53ef3f=await this['_startCollaboration'](_0x8f8b91,_0x21888e[_0x343527(0x52e)]);this[_0x343527(0x37b)][_0x343527(0x34b)](_0x8f8b91,_0x53ef3f);}),this[_0x5e1670(0x332)][_0x5e1670(0x22e)](_0x1aee43[_0x5e1670(0x471)][_0x5e1670(0x491)])[_0x5e1670(0x2c0)](_0x263a1d[_0x5e1670(0x4f4)](this[_0x5e1670(0x310)]),_0x5b935f[_0x5e1670(0x399)](0x10))[_0x5e1670(0x2c0)](_0x5b935f[_0x5e1670(0x503)](_0x13c7fb=>!_0x13c7fb['getUnitId']()['startsWith']('__')))['subscribe'](async _0x4090c5=>{var _0x125faf=_0x5e1670;const _0x5f19c3=_0x4090c5[_0x125faf(0x31c)](),_0xf18740=await this[_0x125faf(0x318)](_0x5f19c3,_0x21888e[_0x125faf(0x491)]);this[_0x125faf(0x37b)]['set'](_0x5f19c3,_0xf18740);}),_0x263a1d['merge'](this['_univerInstanceService'][_0x5e1670(0x525)](_0x1aee43[_0x5e1670(0x471)][_0x5e1670(0x52e)]),this['_univerInstanceService'][_0x5e1670(0x525)](_0x1aee43[_0x5e1670(0x471)][_0x5e1670(0x491)]))[_0x5e1670(0x2c0)](_0x263a1d[_0x5e1670(0x4f4)](this[_0x5e1670(0x310)]))[_0x5e1670(0x3e1)](_0x5a4fa5=>{var _0x4ce1b2=_0x5e1670;const _0x3d1628=_0x5a4fa5[_0x4ce1b2(0x31c)](),_0x54021d=this[_0x4ce1b2(0x37b)][_0x4ce1b2(0x47c)](_0x3d1628);_0x54021d&&(_0x54021d[_0x4ce1b2(0x3b9)](),this[_0x4ce1b2(0x37b)][_0x4ce1b2(0x54f)](_0x3d1628));});}async[_0x491c30(0x318)](_0x1c7753,_0x46c9a2){var _0x4c29b6=_0x491c30;const _0xcd8edd=await this['_collabSessionService'][_0x4c29b6(0x27b)](_0x1c7753),_0x1b24c6=this[_0x4c29b6(0x3f3)][_0x4c29b6(0x2c8)](this[_0x4c29b6(0x408)](_0x46c9a2),_0x1c7753,_0x46c9a2,_0xcd8edd);return await _0x1b24c6['init'](),this[_0x4c29b6(0x3de)][_0x4c29b6(0x3ff)](_0x1b24c6),_0x1b24c6;}[_0x491c30(0x408)](_0x30579e){var _0x35936e=_0x491c30;switch(_0x30579e){case _0x21888e[_0x35936e(0x491)]:return _0x134a91[_0x35936e(0x367)];case _0x21888e['UNIVER_SHEET']:return _0x134a91['SheetCollaborationEntity'];default:throw new Error(_0x35936e(0x3ce)+_0x30579e);}}},_0x134a91['CollaborationController']=_0x283b81([_0x11a68a(0x0,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x1f7)])),_0x11a68a(0x1,_0x1aee43[_0x491c30(0x21b)](_0x134a91['CollaborationSessionService'])),_0x11a68a(0x2,_0x1aee43[_0x491c30(0x4f5)]),_0x11a68a(0x3,_0x1aee43['IUniverInstanceService'])],_0x134a91[_0x491c30(0x26c)]);var _0x59149f=Object['getOwnPropertyDescriptor'],_0x5f49ec=(_0x760963,_0x4ac90b,_0x548d73,_0x1b4fa4)=>{var _0x28aee3=_0x491c30;for(var _0xe9c17d=_0x1b4fa4>0x1?void 0x0:_0x1b4fa4?_0x59149f(_0x4ac90b,_0x548d73):_0x4ac90b,_0x5ed849=_0x760963[_0x28aee3(0x2ac)]-0x1,_0x1922e9;_0x5ed849>=0x0;_0x5ed849--)(_0x1922e9=_0x760963[_0x5ed849])&&(_0xe9c17d=_0x1922e9(_0xe9c17d)||_0xe9c17d);return _0xe9c17d;},_0x2f1894=(_0x51aaa0,_0x36c178)=>(_0x309498,_0x1bf326)=>_0x36c178(_0x309498,_0x1bf326,_0x51aaa0);const _0x370646=_0x491c30(0x48b),_0x13b8fa=_0x491c30(0x376);let _0x3d2400=class extends _0x1aee43[_0x491c30(0x258)]{constructor(_0x208829,_0x5c5ed8){var _0x4321e9=_0x491c30;super(),this[_0x4321e9(0x332)]=_0x208829,this[_0x4321e9(0x35f)]=_0x5c5ed8,this[_0x4321e9(0x48d)]();}[_0x491c30(0x48d)](){var _0x38e739=_0x491c30;this['disposeWithMe'](this[_0x38e739(0x332)][_0x38e739(0x3d8)][_0x38e739(0x3e1)](()=>{var _0x5d3fb8=_0x38e739,_0x535ca2;const _0x5ed05d=this[_0x5d3fb8(0x332)][_0x5d3fb8(0x4fd)]();let _0x5f2792=(_0x535ca2=this[_0x5d3fb8(0x35f)][_0x5d3fb8(0x214)](_0x370646))!=null?_0x535ca2:_0x13b8fa;_0x5ed05d instanceof _0x1aee43[_0x5d3fb8(0x335)]&&(_0x5f2792=_0x5ed05d[_0x5d3fb8(0x43b)]),document[_0x5d3fb8(0x260)]=_0x5f2792;}));}};_0x3d2400=_0x5f49ec([_0x2f1894(0x0,_0x1aee43[_0x491c30(0x2d6)]),_0x2f1894(0x1,_0x1aee43['IConfigService'])],_0x3d2400);var _0x3114db=Object[_0x491c30(0x227)],_0x2cd2a7=(_0x4c7bcc,_0xf1ede7,_0x38fcd0,_0x23285a)=>{var _0x5ed7c6=_0x491c30;for(var _0x30afd8=_0x23285a>0x1?void 0x0:_0x23285a?_0x3114db(_0xf1ede7,_0x38fcd0):_0xf1ede7,_0xeadc7d=_0x4c7bcc[_0x5ed7c6(0x2ac)]-0x1,_0x72f18e;_0xeadc7d>=0x0;_0xeadc7d--)(_0x72f18e=_0x4c7bcc[_0xeadc7d])&&(_0x30afd8=_0x72f18e(_0x30afd8)||_0x30afd8);return _0x30afd8;},_0x42fc47=(_0x30ebfe,_0x2ad8a7)=>(_0x280cd8,_0x54d082)=>_0x2ad8a7(_0x280cd8,_0x54d082,_0x30ebfe);let _0x214ca9=class{constructor(_0x39cca3,_0x4d7dc3,_0x35dd34){var _0x1e1bce=_0x491c30;this[_0x1e1bce(0x35f)]=_0x39cca3,this[_0x1e1bce(0x314)]=_0x4d7dc3,this['localeService']=_0x35dd34,this[_0x1e1bce(0x51b)]();}['init'](){var _0x427d8d=_0x491c30;this[_0x427d8d(0x314)][_0x427d8d(0x3ad)]({'priority':0x1,'interceptor':(_0x39eb16,_0x1c055b)=>_0x1c055b(_0x39eb16)[_0x427d8d(0x2c0)](_0x263a1d[_0x427d8d(0x42f)](async _0x2aa637=>{var _0x271f03=_0x427d8d;const _0x5bc192=_0x2aa637;if(_0x5bc192['status']===0x191){if(typeof window>'u')throw new Error(_0x271f03(0x4d3));if(window[_0x271f03(0x47a)](this['localeService']['t'](_0x271f03(0x203)))){const _0x4316b5=window[_0x271f03(0x42a)](window[_0x271f03(0x378)][_0x271f03(0x351)]);window[_0x271f03(0x378)]['href']=this[_0x271f03(0x308)]()+_0x271f03(0x4cf)+_0x4316b5;}}return _0x5bc192;}))});}[_0x491c30(0x308)](){var _0x110767=_0x491c30,_0x3b7f70;const _0xbcb8b0=this[_0x110767(0x35f)]['getConfig'](_0x31ee8c);return(_0x3b7f70=_0xbcb8b0==null?void 0x0:_0xbcb8b0[_0x110767(0x48a)])!=null?_0x3b7f70:_0x33bb70;}};_0x214ca9=_0x2cd2a7([_0x42fc47(0x0,_0x1aee43['IConfigService']),_0x42fc47(0x1,_0x1aee43[_0x491c30(0x21b)](_0x30b186['HTTPService'])),_0x42fc47(0x2,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x249)]))],_0x214ca9);var _0xb62bff=Object['getOwnPropertyDescriptor'],_0x1fba69=(_0x1e8e01,_0x2fe08f,_0x5db3b3,_0x5aec39)=>{var _0x1a7038=_0x491c30;for(var _0x1773e1=_0x5aec39>0x1?void 0x0:_0x5aec39?_0xb62bff(_0x2fe08f,_0x5db3b3):_0x2fe08f,_0xa59dd0=_0x1e8e01[_0x1a7038(0x2ac)]-0x1,_0x3591e7;_0xa59dd0>=0x0;_0xa59dd0--)(_0x3591e7=_0x1e8e01[_0xa59dd0])&&(_0x1773e1=_0x3591e7(_0x1773e1)||_0x1773e1);return _0x1773e1;},_0x42019c=(_0x23f00e,_0x592d92)=>(_0x2059c5,_0x339df9)=>_0x592d92(_0x2059c5,_0x339df9,_0x23f00e);const _0x1073d6='/universer-api/authz';_0x134a91['AuthzIoHttpService']=class extends _0x1aee43[_0x491c30(0x258)]{constructor(_0x205bf5,_0x2c1666){var _0x1879e7=_0x491c30;super(),this[_0x1879e7(0x502)]=_0x205bf5,this[_0x1879e7(0x35f)]=_0x2c1666,this[_0x1879e7(0x368)]();}[_0x491c30(0x368)](){var _0x23859e=_0x491c30;const _0x56158e=this;this['disposeWithMe'](this['_HTTPService'][_0x23859e(0x3ad)]({'priority':0x3e7,'interceptor':_0x30b186[_0x23859e(0x2b1)]({'isMatch'(_0x2443d6){var _0x49d3b8=_0x23859e,_0x56c790;if(_0x2443d6[_0x49d3b8(0x43d)]===_0x49d3b8(0x1f2)&&((_0x56c790=_0x2443d6['requestParams'])!=null&&_0x56c790[_0x49d3b8(0x4a4)])){const {objectID:_0x5e16f6,objectType:_0x588023}=_0x2443d6[_0x49d3b8(0x25b)]['body']||{};if(!_0x5e16f6||_0x588023===void 0x0)return!0x1;const _0x4ba4ab=_0x56158e[_0x49d3b8(0x354)]()+'/'+_0x588023+_0x49d3b8(0x294)+_0x5e16f6+_0x49d3b8(0x28f);if(_0x2443d6[_0x49d3b8(0x2bb)]===_0x4ba4ab)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3d085b){var _0x2a8ae9=_0x23859e,_0x1ebaf9;return(_0x1ebaf9=_0x3d085b[_0x2a8ae9(0x25b)])==null?void 0x0:_0x1ebaf9[_0x2a8ae9(0x4a4)];},'mergeParamsToRequest'(_0x3f91ce,_0x4a1a79){var _0x59eae2=_0x23859e;const _0x5ceff2=_0x56158e['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x42b0d4=_0x3f91ce[_0x59eae2(0x4b9)]((_0x3d4bf6,_0x88df57)=>{var _0x39a965=_0x59eae2;const {unitID:_0x2625a5,objectID:_0x32faef,objectType:_0x40bbaa,actions:_0x476642}=_0x88df57;return _0x3d4bf6[_0x2625a5]||(_0x3d4bf6[_0x2625a5]={}),_0x3d4bf6[_0x2625a5][_0x32faef]||(_0x3d4bf6[_0x2625a5][_0x32faef]={'objectID':_0x32faef,'objectType':_0x40bbaa,'actions':[]}),_0x3d4bf6[_0x2625a5][_0x32faef][_0x39a965(0x2a3)][_0x39a965(0x35a)](..._0x476642),_0x3d4bf6;},{}),_0x4fe1d2=[];for(const _0x58242f in _0x42b0d4)for(const _0x178b3c in _0x42b0d4[_0x58242f]){const {actions:_0x4f39af,objectType:_0x118054}=_0x42b0d4[_0x58242f][_0x178b3c],_0x5281dc=[...new Set(_0x4f39af)];_0x4fe1d2[_0x59eae2(0x35a)]({'unitID':_0x58242f,'objectID':_0x178b3c,'objectType':_0x118054,'actions':_0x5281dc});}return new _0x30b186[(_0x59eae2(0x271))](_0x59eae2(0x1f2),_0x5ceff2,{'headers':_0x4a1a79[_0x59eae2(0x3d2)],'withCredentials':_0x4a1a79[_0x59eae2(0x457)],'responseType':_0x4a1a79[_0x59eae2(0x3eb)],'body':{'requests':_0x4fe1d2}});}},{'distributeResult'(_0x4ebaef,_0x35fd21){const {objectActions:_0x4e8124}=_0x4ebaef;return _0x35fd21['map'](_0x1f2853=>{var _0x436f27=_0x3855;const {unitID:_0x5a01ae,objectID:_0x24cbf6,actions:_0x13f4aa}=_0x1f2853,_0x3885b3=_0x4e8124[_0x436f27(0x2a7)](_0x5ce409=>_0x5ce409[_0x436f27(0x36e)]===_0x5a01ae&&_0x5ce409['objectID']===_0x24cbf6),_0x402d47=_0x13f4aa[_0x436f27(0x2cc)](_0x297791=>_0x3885b3==null?void 0x0:_0x3885b3[_0x436f27(0x2a3)][_0x436f27(0x2a7)](_0x4b7f3f=>_0x4b7f3f[_0x436f27(0x537)]===_0x297791))[_0x436f27(0x503)](_0x412340=>!!_0x412340);return{'config':_0x1f2853,'result':{'actions':_0x402d47,'error':_0x4ebaef[_0x436f27(0x364)]}};});}})}));}[_0x491c30(0x354)](){var _0x56022d=_0x491c30,_0x4e78f8;const _0xd56527=this['_configService']['getConfig'](_0x31ee8c);return(_0x4e78f8=_0xd56527==null?void 0x0:_0xd56527[_0x56022d(0x1ef)])!=null?_0x4e78f8:_0x1073d6;}async['create'](_0x34b763){var _0x2e70af=_0x491c30;const _0x5d62c2=this[_0x2e70af(0x354)]()+'/'+_0x34b763[_0x2e70af(0x388)]+_0x2e70af(0x532);return(await this[_0x2e70af(0x502)][_0x2e70af(0x482)](_0x5d62c2,{'body':_0x34b763}))[_0x2e70af(0x4a4)][_0x2e70af(0x2fc)]||'';}async[_0x491c30(0x306)](_0x12a2ac){var _0xf9cd50=_0x491c30;const _0x3e6f11=this[_0xf9cd50(0x354)]()+_0xf9cd50(0x222);return(await this['_HTTPService'][_0xf9cd50(0x482)](_0x3e6f11,{'body':_0x12a2ac}))['body'][_0xf9cd50(0x51d)];}async[_0x491c30(0x32b)](_0x32e21f){var _0x34b2ff=_0x491c30,_0x3504ac,_0x57389a;const _0x3a5c40=this[_0x34b2ff(0x354)]()+'/'+_0x32e21f[_0x34b2ff(0x388)]+_0x34b2ff(0x294)+_0x32e21f[_0x34b2ff(0x2fc)],_0x197495=await this[_0x34b2ff(0x502)][_0x34b2ff(0x44d)](_0x3a5c40,{'body':_0x32e21f});if(((_0x57389a=(_0x3504ac=_0x197495==null?void 0x0:_0x197495[_0x34b2ff(0x4a4)])==null?void 0x0:_0x3504ac[_0x34b2ff(0x364)])==null?void 0x0:_0x57389a[_0x34b2ff(0x3e5)])!==0x1)throw new Error(_0x34b2ff(0x1e8));}async[_0x491c30(0x303)](_0x3b493c){var _0x43f3c3=_0x491c30;const _0x1d0669=this[_0x43f3c3(0x354)]()+'/'+_0x3b493c[_0x43f3c3(0x388)]+'/object/'+_0x3b493c[_0x43f3c3(0x2fc)]+_0x43f3c3(0x28f);return(await this[_0x43f3c3(0x502)][_0x43f3c3(0x482)](_0x1d0669,{'body':_0x3b493c}))['body'][_0x43f3c3(0x2a3)];}async[_0x491c30(0x2ea)](_0x33e8b6){var _0x4d58da=_0x491c30;const _0x11ff03=this['_getAPIPrefixPath']()+_0x4d58da(0x393);return(await this[_0x4d58da(0x502)]['post'](_0x11ff03,{'body':{'requests':_0x33e8b6}}))[_0x4d58da(0x4a4)]['objectActions'];}async[_0x491c30(0x257)](_0x2c77cb){var _0x24a9c4=_0x491c30;const _0x232ba6=this['_getAPIPrefixPath']()+'/'+_0x2c77cb[_0x24a9c4(0x388)]+'/role',_0x1463a5=await this[_0x24a9c4(0x502)][_0x24a9c4(0x482)](_0x232ba6,{'body':_0x2c77cb});return{'roles':_0x1463a5[_0x24a9c4(0x4a4)][_0x24a9c4(0x49b)],'actions':_0x1463a5[_0x24a9c4(0x4a4)]['actions']};}async['deleteCollaborator'](_0x109b6c){var _0x59437f=_0x491c30;const _0x244a0d=this[_0x59437f(0x354)]()+_0x59437f(0x479);await this[_0x59437f(0x502)][_0x59437f(0x54f)](_0x244a0d,{'params':{'collaboratorID':_0x109b6c[_0x59437f(0x2dc)],'objectID':_0x109b6c['objectID'],'unitID':_0x109b6c['unitID']}});}async['updateCollaborator'](_0x33838e){var _0x48d208=_0x491c30;const _0x430c73=this[_0x48d208(0x354)]()+_0x48d208(0x479);await this[_0x48d208(0x502)][_0x48d208(0x483)](_0x430c73,{'body':_0x33838e});}async[_0x491c30(0x28b)](_0x49c9ff){var _0x13b58e=_0x491c30;const _0x2a6d8b=this['_getAPIPrefixPath']()+_0x13b58e(0x479);await this['_HTTPService'][_0x13b58e(0x482)](_0x2a6d8b,{'body':_0x49c9ff});}async[_0x491c30(0x2a2)](_0x3f50ba){var _0x2d3f84=_0x491c30;const _0x64c509=this[_0x2d3f84(0x354)]()+'/collaborator';return(await this[_0x2d3f84(0x502)][_0x2d3f84(0x47c)](_0x64c509,{'params':{'objectID':_0x3f50ba[_0x2d3f84(0x2fc)],'unitID':_0x3f50ba[_0x2d3f84(0x36e)]}}))[_0x2d3f84(0x4a4)]['collaborators'];}async[_0x491c30(0x473)](_0x1fb053){var _0x3f80fe=_0x491c30;const _0x106ece=this[_0x3f80fe(0x354)]()+_0x3f80fe(0x479);await this[_0x3f80fe(0x502)]['put'](_0x106ece,{'body':_0x1fb053});}},_0x134a91[_0x491c30(0x264)]=_0x1fba69([_0x42019c(0x0,_0x1aee43[_0x491c30(0x21b)](_0x30b186[_0x491c30(0x3e2)])),_0x42019c(0x1,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x4f5)]))],_0x134a91[_0x491c30(0x264)]);var _0x2b9f5e=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x166e48(_0x91fd76){var _0x47e941=_0x491c30;return _0x91fd76&&_0x91fd76['__esModule']&&Object[_0x47e941(0x23b)][_0x47e941(0x538)]['call'](_0x91fd76,_0x47e941(0x396))?_0x91fd76['default']:_0x91fd76;}var _0x93e68f={'exports':{}};function _0x1351b3(_0x12895a){var _0x5a0685=_0x491c30;throw new Error(_0x5a0685(0x300)+_0x12895a+_0x5a0685(0x55a));}var _0x91637f={'exports':{}},_0x931d00=_0x91637f[_0x491c30(0x31e)],_0x3ae27d;function _0x231b13(){return _0x3ae27d||(_0x3ae27d=0x1,function(_0xbd12da,_0x1e2a7c){(function(_0x43aad5,_0x563466){var _0x1f3272=_0x3855;_0xbd12da[_0x1f3272(0x31e)]=_0x563466();}(_0x931d00,function(){var _0x5a9ea5=_0x5a9ea5||function(_0x2ea87a,_0x2f3d83){var _0x46455b=_0x3855,_0x56e407;if(typeof window<'u'&&window[_0x46455b(0x246)]&&(_0x56e407=window[_0x46455b(0x246)]),typeof self<'u'&&self[_0x46455b(0x246)]&&(_0x56e407=self[_0x46455b(0x246)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x56e407=globalThis[_0x46455b(0x246)]),!_0x56e407&&typeof window<'u'&&window[_0x46455b(0x1f8)]&&(_0x56e407=window[_0x46455b(0x1f8)]),!_0x56e407&&typeof _0x2b9f5e<'u'&&_0x2b9f5e[_0x46455b(0x246)]&&(_0x56e407=_0x2b9f5e[_0x46455b(0x246)]),!_0x56e407&&typeof _0x1351b3=='function')try{_0x56e407=require('crypto');}catch{}var _0x44a14b=function(){var _0xc77d4e=_0x46455b;if(_0x56e407){if(typeof _0x56e407['getRandomValues']=='function')try{return _0x56e407[_0xc77d4e(0x50a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x56e407['randomBytes']==_0xc77d4e(0x499))try{return _0x56e407['randomBytes'](0x4)[_0xc77d4e(0x3e4)]();}catch{}}throw new Error(_0xc77d4e(0x3d1));},_0x524bad=Object[_0x46455b(0x498)]||(function(){function _0x3ec1d7(){}return function(_0x4293a8){var _0x3109f7=_0x3855,_0x2ee9ef;return _0x3ec1d7[_0x3109f7(0x23b)]=_0x4293a8,_0x2ee9ef=new _0x3ec1d7(),_0x3ec1d7['prototype']=null,_0x2ee9ef;};}()),_0x328008={},_0xf268d5=_0x328008['lib']={},_0x109017=_0xf268d5['Base']=(function(){return{'extend':function(_0x47028){var _0x248f9a=_0x3855,_0x3f961b=_0x524bad(this);return _0x47028&&_0x3f961b['mixIn'](_0x47028),(!_0x3f961b['hasOwnProperty']('init')||this[_0x248f9a(0x51b)]===_0x3f961b[_0x248f9a(0x51b)])&&(_0x3f961b[_0x248f9a(0x51b)]=function(){var _0x3b19bc=_0x248f9a;_0x3f961b[_0x3b19bc(0x45d)]['init'][_0x3b19bc(0x29c)](this,arguments);}),_0x3f961b[_0x248f9a(0x51b)][_0x248f9a(0x23b)]=_0x3f961b,_0x3f961b['$super']=this,_0x3f961b;},'create':function(){var _0x3d2b87=_0x3855,_0x1f65ec=this[_0x3d2b87(0x31b)]();return _0x1f65ec[_0x3d2b87(0x51b)]['apply'](_0x1f65ec,arguments),_0x1f65ec;},'init':function(){},'mixIn':function(_0x149af8){var _0x380eb3=_0x3855;for(var _0x4bcbd8 in _0x149af8)_0x149af8[_0x380eb3(0x538)](_0x4bcbd8)&&(this[_0x4bcbd8]=_0x149af8[_0x4bcbd8]);_0x149af8['hasOwnProperty']('toString')&&(this['toString']=_0x149af8[_0x380eb3(0x53a)]);},'clone':function(){var _0x56ac9c=_0x3855;return this[_0x56ac9c(0x51b)]['prototype'][_0x56ac9c(0x31b)](this);}};}()),_0x494f41=_0xf268d5[_0x46455b(0x21c)]=_0x109017['extend']({'init':function(_0x3b007b,_0x3ec6c8){var _0x217c49=_0x46455b;_0x3b007b=this['words']=_0x3b007b||[],_0x3ec6c8!=_0x2f3d83?this[_0x217c49(0x403)]=_0x3ec6c8:this['sigBytes']=_0x3b007b[_0x217c49(0x2ac)]*0x4;},'toString':function(_0xcb318c){return(_0xcb318c||_0x120c69)['stringify'](this);},'concat':function(_0x389222){var _0x5eb1a4=_0x46455b,_0x393437=this[_0x5eb1a4(0x2c3)],_0xbc55ea=_0x389222[_0x5eb1a4(0x2c3)],_0x1ac661=this[_0x5eb1a4(0x403)],_0x361cfd=_0x389222[_0x5eb1a4(0x403)];if(this['clamp'](),_0x1ac661%0x4)for(var _0x28c20a=0x0;_0x28c20a<_0x361cfd;_0x28c20a++){var _0x3a0df9=_0xbc55ea[_0x28c20a>>>0x2]>>>0x18-_0x28c20a%0x4*0x8&0xff;_0x393437[_0x1ac661+_0x28c20a>>>0x2]|=_0x3a0df9<<0x18-(_0x1ac661+_0x28c20a)%0x4*0x8;}else{for(var _0x533f2e=0x0;_0x533f2e<_0x361cfd;_0x533f2e+=0x4)_0x393437[_0x1ac661+_0x533f2e>>>0x2]=_0xbc55ea[_0x533f2e>>>0x2];}return this[_0x5eb1a4(0x403)]+=_0x361cfd,this;},'clamp':function(){var _0x4b8ea8=_0x46455b,_0x474cd9=this[_0x4b8ea8(0x2c3)],_0x20bf6c=this[_0x4b8ea8(0x403)];_0x474cd9[_0x20bf6c>>>0x2]&=0xffffffff<<0x20-_0x20bf6c%0x4*0x8,_0x474cd9[_0x4b8ea8(0x2ac)]=_0x2ea87a[_0x4b8ea8(0x4b7)](_0x20bf6c/0x4);},'clone':function(){var _0x5a8399=_0x46455b,_0x206fe3=_0x109017['clone']['call'](this);return _0x206fe3[_0x5a8399(0x2c3)]=this[_0x5a8399(0x2c3)][_0x5a8399(0x2d9)](0x0),_0x206fe3;},'random':function(_0x16ec93){var _0x235301=_0x46455b;for(var _0x2a41b1=[],_0x1b08b3=0x0;_0x1b08b3<_0x16ec93;_0x1b08b3+=0x4)_0x2a41b1[_0x235301(0x35a)](_0x44a14b());return new _0x494f41['init'](_0x2a41b1,_0x16ec93);}}),_0x48cb4c=_0x328008[_0x46455b(0x26e)]={},_0x120c69=_0x48cb4c[_0x46455b(0x467)]={'stringify':function(_0x5d4482){var _0x2dd9e8=_0x46455b;for(var _0xa48df0=_0x5d4482['words'],_0x238b2c=_0x5d4482[_0x2dd9e8(0x403)],_0x1e621c=[],_0x24ec01=0x0;_0x24ec01<_0x238b2c;_0x24ec01++){var _0x353c21=_0xa48df0[_0x24ec01>>>0x2]>>>0x18-_0x24ec01%0x4*0x8&0xff;_0x1e621c['push']((_0x353c21>>>0x4)[_0x2dd9e8(0x53a)](0x10)),_0x1e621c['push']((_0x353c21&0xf)[_0x2dd9e8(0x53a)](0x10));}return _0x1e621c['join']('');},'parse':function(_0xb06f3f){var _0x424675=_0x46455b;for(var _0x9febad=_0xb06f3f[_0x424675(0x2ac)],_0x5ab084=[],_0x7fb4bd=0x0;_0x7fb4bd<_0x9febad;_0x7fb4bd+=0x2)_0x5ab084[_0x7fb4bd>>>0x3]|=parseInt(_0xb06f3f[_0x424675(0x500)](_0x7fb4bd,0x2),0x10)<<0x18-_0x7fb4bd%0x8*0x4;return new _0x494f41[(_0x424675(0x51b))](_0x5ab084,_0x9febad/0x2);}},_0x3c7520=_0x48cb4c[_0x46455b(0x55f)]={'stringify':function(_0x15855d){var _0x546520=_0x46455b;for(var _0x531712=_0x15855d[_0x546520(0x2c3)],_0x5c679b=_0x15855d[_0x546520(0x403)],_0x2b89ab=[],_0x265f89=0x0;_0x265f89<_0x5c679b;_0x265f89++){var _0x41afb0=_0x531712[_0x265f89>>>0x2]>>>0x18-_0x265f89%0x4*0x8&0xff;_0x2b89ab[_0x546520(0x35a)](String[_0x546520(0x38b)](_0x41afb0));}return _0x2b89ab[_0x546520(0x2fb)]('');},'parse':function(_0x34c543){var _0x3d0e45=_0x46455b;for(var _0x4481da=_0x34c543[_0x3d0e45(0x2ac)],_0x3bb25e=[],_0x366ad0=0x0;_0x366ad0<_0x4481da;_0x366ad0++)_0x3bb25e[_0x366ad0>>>0x2]|=(_0x34c543[_0x3d0e45(0x2d7)](_0x366ad0)&0xff)<<0x18-_0x366ad0%0x4*0x8;return new _0x494f41[(_0x3d0e45(0x51b))](_0x3bb25e,_0x4481da);}},_0x4ee799=_0x48cb4c[_0x46455b(0x313)]={'stringify':function(_0x194c3b){var _0x49df1d=_0x46455b;try{return decodeURIComponent(escape(_0x3c7520[_0x49df1d(0x4d9)](_0x194c3b)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x38713f){return _0x3c7520['parse'](unescape(encodeURIComponent(_0x38713f)));}},_0x4e8f66=_0xf268d5['BufferedBlockAlgorithm']=_0x109017[_0x46455b(0x31b)]({'reset':function(){var _0x33199b=_0x46455b;this[_0x33199b(0x423)]=new _0x494f41[(_0x33199b(0x51b))](),this[_0x33199b(0x4d4)]=0x0;},'_append':function(_0x549029){var _0x53baa3=_0x46455b;typeof _0x549029==_0x53baa3(0x4eb)&&(_0x549029=_0x4ee799[_0x53baa3(0x476)](_0x549029)),this['_data'][_0x53baa3(0x239)](_0x549029),this[_0x53baa3(0x4d4)]+=_0x549029['sigBytes'];},'_process':function(_0x234b64){var _0x50a7a4=_0x46455b,_0xb1b0c4,_0x4748fb=this['_data'],_0x77db29=_0x4748fb[_0x50a7a4(0x2c3)],_0x597e8b=_0x4748fb['sigBytes'],_0x533bd5=this[_0x50a7a4(0x4d7)],_0x997e1c=_0x533bd5*0x4,_0x5ed496=_0x597e8b/_0x997e1c;_0x234b64?_0x5ed496=_0x2ea87a[_0x50a7a4(0x4b7)](_0x5ed496):_0x5ed496=_0x2ea87a[_0x50a7a4(0x324)]((_0x5ed496|0x0)-this[_0x50a7a4(0x3b6)],0x0);var _0x2d36cf=_0x5ed496*_0x533bd5,_0x5eeab6=_0x2ea87a[_0x50a7a4(0x3b1)](_0x2d36cf*0x4,_0x597e8b);if(_0x2d36cf){for(var _0x3195f4=0x0;_0x3195f4<_0x2d36cf;_0x3195f4+=_0x533bd5)this[_0x50a7a4(0x4d0)](_0x77db29,_0x3195f4);_0xb1b0c4=_0x77db29[_0x50a7a4(0x550)](0x0,_0x2d36cf),_0x4748fb[_0x50a7a4(0x403)]-=_0x5eeab6;}return new _0x494f41[(_0x50a7a4(0x51b))](_0xb1b0c4,_0x5eeab6);},'clone':function(){var _0x11b552=_0x46455b,_0x320bb4=_0x109017[_0x11b552(0x259)][_0x11b552(0x3cc)](this);return _0x320bb4[_0x11b552(0x423)]=this[_0x11b552(0x423)]['clone'](),_0x320bb4;},'_minBufferSize':0x0});_0xf268d5[_0x46455b(0x3dd)]=_0x4e8f66['extend']({'cfg':_0x109017[_0x46455b(0x31b)](),'init':function(_0xaea551){var _0x52068f=_0x46455b;this['cfg']=this[_0x52068f(0x509)]['extend'](_0xaea551),this['reset']();},'reset':function(){var _0x54f1d2=_0x46455b;_0x4e8f66[_0x54f1d2(0x20e)][_0x54f1d2(0x3cc)](this),this['_doReset']();},'update':function(_0x1e3d5c){var _0x1d5e22=_0x46455b;return this[_0x1d5e22(0x524)](_0x1e3d5c),this['_process'](),this;},'finalize':function(_0x5d3837){var _0x5bb5cf=_0x46455b;_0x5d3837&&this[_0x5bb5cf(0x524)](_0x5d3837);var _0x49b5e6=this[_0x5bb5cf(0x33f)]();return _0x49b5e6;},'blockSize':0x10,'_createHelper':function(_0x565538){return function(_0xbda227,_0x32c0f0){var _0x334f40=_0x3855;return new _0x565538[(_0x334f40(0x51b))](_0x32c0f0)['finalize'](_0xbda227);};},'_createHmacHelper':function(_0x55f08a){return function(_0x26c075,_0x10a959){var _0x172e95=_0x3855;return new _0x8bc0e3['HMAC'][(_0x172e95(0x51b))](_0x55f08a,_0x10a959)[_0x172e95(0x23d)](_0x26c075);};}});var _0x8bc0e3=_0x328008[_0x46455b(0x377)]={};return _0x328008;}(Math);return _0x5a9ea5;}));}(_0x91637f)),_0x91637f['exports'];}var _0x51484f={'exports':{}},_0x8eb76e=_0x51484f[_0x491c30(0x31e)],_0x4ee155;function _0x314f90(){return _0x4ee155||(_0x4ee155=0x1,function(_0x4318a8,_0x495ba3){(function(_0xfc31a1,_0x5dcbc7){var _0x1af299=_0x3855;_0x4318a8[_0x1af299(0x31e)]=_0x5dcbc7(_0x231b13());}(_0x8eb76e,function(_0x416d76){var _0x40e485=_0x3855;return(function(){var _0x6aaeff=_0x3855,_0x81f3ef=_0x416d76,_0x340898=_0x81f3ef[_0x6aaeff(0x2eb)],_0x54c252=_0x340898[_0x6aaeff(0x21c)],_0x3ec5c7=_0x81f3ef['enc'];_0x3ec5c7['Base64']={'stringify':function(_0x4307ba){var _0x5ceec9=_0x6aaeff,_0x504bfd=_0x4307ba[_0x5ceec9(0x2c3)],_0x547424=_0x4307ba[_0x5ceec9(0x403)],_0x155491=this[_0x5ceec9(0x4ff)];_0x4307ba[_0x5ceec9(0x41c)]();for(var _0x11583b=[],_0x167eaf=0x0;_0x167eaf<_0x547424;_0x167eaf+=0x3)for(var _0x38cf6a=_0x504bfd[_0x167eaf>>>0x2]>>>0x18-_0x167eaf%0x4*0x8&0xff,_0x531a18=_0x504bfd[_0x167eaf+0x1>>>0x2]>>>0x18-(_0x167eaf+0x1)%0x4*0x8&0xff,_0x12a8f5=_0x504bfd[_0x167eaf+0x2>>>0x2]>>>0x18-(_0x167eaf+0x2)%0x4*0x8&0xff,_0x2cabe9=_0x38cf6a<<0x10|_0x531a18<<0x8|_0x12a8f5,_0x677beb=0x0;_0x677beb<0x4&&_0x167eaf+_0x677beb*0.75<_0x547424;_0x677beb++)_0x11583b[_0x5ceec9(0x35a)](_0x155491['charAt'](_0x2cabe9>>>0x6*(0x3-_0x677beb)&0x3f));var _0xa17ec9=_0x155491['charAt'](0x40);if(_0xa17ec9){for(;_0x11583b[_0x5ceec9(0x2ac)]%0x4;)_0x11583b[_0x5ceec9(0x35a)](_0xa17ec9);}return _0x11583b['join']('');},'parse':function(_0x38c06b){var _0x272030=_0x6aaeff,_0x125b11=_0x38c06b[_0x272030(0x2ac)],_0x3c0d33=this[_0x272030(0x4ff)],_0xccbae8=this[_0x272030(0x248)];if(!_0xccbae8){_0xccbae8=this[_0x272030(0x248)]=[];for(var _0x6ca69b=0x0;_0x6ca69b<_0x3c0d33[_0x272030(0x2ac)];_0x6ca69b++)_0xccbae8[_0x3c0d33[_0x272030(0x2d7)](_0x6ca69b)]=_0x6ca69b;}var _0x2dfcf7=_0x3c0d33[_0x272030(0x2f0)](0x40);if(_0x2dfcf7){var _0x48df9e=_0x38c06b['indexOf'](_0x2dfcf7);_0x48df9e!==-0x1&&(_0x125b11=_0x48df9e);}return _0x2ae3db(_0x38c06b,_0x125b11,_0xccbae8);},'_map':_0x6aaeff(0x542)};function _0x2ae3db(_0x570edf,_0x453950,_0x1368bb){var _0x2505b2=_0x6aaeff;for(var _0x301570=[],_0x1a03f5=0x0,_0x8d123f=0x0;_0x8d123f<_0x453950;_0x8d123f++)if(_0x8d123f%0x4){var _0x290ac4=_0x1368bb[_0x570edf[_0x2505b2(0x2d7)](_0x8d123f-0x1)]<<_0x8d123f%0x4*0x2,_0x696386=_0x1368bb[_0x570edf[_0x2505b2(0x2d7)](_0x8d123f)]>>>0x6-_0x8d123f%0x4*0x2,_0x58cdd2=_0x290ac4|_0x696386;_0x301570[_0x1a03f5>>>0x2]|=_0x58cdd2<<0x18-_0x1a03f5%0x4*0x8,_0x1a03f5++;}return _0x54c252[_0x2505b2(0x498)](_0x301570,_0x1a03f5);}}()),_0x416d76[_0x40e485(0x26e)][_0x40e485(0x200)];}));}(_0x51484f)),_0x51484f['exports'];}var _0x104bd1={'exports':{}},_0xcb0e56=_0x104bd1[_0x491c30(0x31e)],_0x15fbe5;function _0x1ac9b8(){var _0x474777=_0x491c30;return _0x15fbe5||(_0x15fbe5=0x1,function(_0x224521,_0x22985a){(function(_0x2a400f,_0x397e80){var _0x14fbe1=_0x3855;_0x224521[_0x14fbe1(0x31e)]=_0x397e80(_0x231b13());}(_0xcb0e56,function(_0x2eff7f){var _0x32bf2f=_0x3855;return function(_0x25686c){var _0x49911c=_0x3855,_0x359b5f=_0x2eff7f,_0x503823=_0x359b5f[_0x49911c(0x2eb)],_0x3a479c=_0x503823[_0x49911c(0x21c)],_0x4a937f=_0x503823['Hasher'],_0x51687c=_0x359b5f['algo'],_0x25c7f8=[];(function(){var _0x420ff8=_0x49911c;for(var _0x4b5e05=0x0;_0x4b5e05<0x40;_0x4b5e05++)_0x25c7f8[_0x4b5e05]=_0x25686c[_0x420ff8(0x533)](_0x25686c[_0x420ff8(0x4b8)](_0x4b5e05+0x1))*0x100000000|0x0;}());var _0x49a5f5=_0x51687c[_0x49911c(0x213)]=_0x4a937f[_0x49911c(0x31b)]({'_doReset':function(){var _0xf9cde8=_0x49911c;this[_0xf9cde8(0x371)]=new _0x3a479c[(_0xf9cde8(0x51b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x36650e,_0x2f6432){var _0x692094=_0x49911c;for(var _0x23942c=0x0;_0x23942c<0x10;_0x23942c++){var _0x44431e=_0x2f6432+_0x23942c,_0xf750b7=_0x36650e[_0x44431e];_0x36650e[_0x44431e]=(_0xf750b7<<0x8|_0xf750b7>>>0x18)&0xff00ff|(_0xf750b7<<0x18|_0xf750b7>>>0x8)&0xff00ff00;}var _0x39859c=this['_hash'][_0x692094(0x2c3)],_0x4eacd5=_0x36650e[_0x2f6432+0x0],_0x5f1c26=_0x36650e[_0x2f6432+0x1],_0x291992=_0x36650e[_0x2f6432+0x2],_0x284c34=_0x36650e[_0x2f6432+0x3],_0x431298=_0x36650e[_0x2f6432+0x4],_0x467593=_0x36650e[_0x2f6432+0x5],_0x31d3b3=_0x36650e[_0x2f6432+0x6],_0x25ce07=_0x36650e[_0x2f6432+0x7],_0xebb6c1=_0x36650e[_0x2f6432+0x8],_0x40294e=_0x36650e[_0x2f6432+0x9],_0x249581=_0x36650e[_0x2f6432+0xa],_0x58def6=_0x36650e[_0x2f6432+0xb],_0xa61ef=_0x36650e[_0x2f6432+0xc],_0x42dff3=_0x36650e[_0x2f6432+0xd],_0x92fdc8=_0x36650e[_0x2f6432+0xe],_0x515895=_0x36650e[_0x2f6432+0xf],_0x268ba8=_0x39859c[0x0],_0xe1aa82=_0x39859c[0x1],_0x201552=_0x39859c[0x2],_0x59d1a6=_0x39859c[0x3];_0x268ba8=_0x2a084a(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x4eacd5,0x7,_0x25c7f8[0x0]),_0x59d1a6=_0x2a084a(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x5f1c26,0xc,_0x25c7f8[0x1]),_0x201552=_0x2a084a(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x291992,0x11,_0x25c7f8[0x2]),_0xe1aa82=_0x2a084a(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x284c34,0x16,_0x25c7f8[0x3]),_0x268ba8=_0x2a084a(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x431298,0x7,_0x25c7f8[0x4]),_0x59d1a6=_0x2a084a(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x467593,0xc,_0x25c7f8[0x5]),_0x201552=_0x2a084a(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x31d3b3,0x11,_0x25c7f8[0x6]),_0xe1aa82=_0x2a084a(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x25ce07,0x16,_0x25c7f8[0x7]),_0x268ba8=_0x2a084a(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0xebb6c1,0x7,_0x25c7f8[0x8]),_0x59d1a6=_0x2a084a(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x40294e,0xc,_0x25c7f8[0x9]),_0x201552=_0x2a084a(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x249581,0x11,_0x25c7f8[0xa]),_0xe1aa82=_0x2a084a(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x58def6,0x16,_0x25c7f8[0xb]),_0x268ba8=_0x2a084a(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0xa61ef,0x7,_0x25c7f8[0xc]),_0x59d1a6=_0x2a084a(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x42dff3,0xc,_0x25c7f8[0xd]),_0x201552=_0x2a084a(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x92fdc8,0x11,_0x25c7f8[0xe]),_0xe1aa82=_0x2a084a(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x515895,0x16,_0x25c7f8[0xf]),_0x268ba8=_0x44f2cb(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x5f1c26,0x5,_0x25c7f8[0x10]),_0x59d1a6=_0x44f2cb(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x31d3b3,0x9,_0x25c7f8[0x11]),_0x201552=_0x44f2cb(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x58def6,0xe,_0x25c7f8[0x12]),_0xe1aa82=_0x44f2cb(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x4eacd5,0x14,_0x25c7f8[0x13]),_0x268ba8=_0x44f2cb(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x467593,0x5,_0x25c7f8[0x14]),_0x59d1a6=_0x44f2cb(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x249581,0x9,_0x25c7f8[0x15]),_0x201552=_0x44f2cb(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x515895,0xe,_0x25c7f8[0x16]),_0xe1aa82=_0x44f2cb(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x431298,0x14,_0x25c7f8[0x17]),_0x268ba8=_0x44f2cb(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x40294e,0x5,_0x25c7f8[0x18]),_0x59d1a6=_0x44f2cb(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x92fdc8,0x9,_0x25c7f8[0x19]),_0x201552=_0x44f2cb(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x284c34,0xe,_0x25c7f8[0x1a]),_0xe1aa82=_0x44f2cb(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0xebb6c1,0x14,_0x25c7f8[0x1b]),_0x268ba8=_0x44f2cb(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x42dff3,0x5,_0x25c7f8[0x1c]),_0x59d1a6=_0x44f2cb(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x291992,0x9,_0x25c7f8[0x1d]),_0x201552=_0x44f2cb(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x25ce07,0xe,_0x25c7f8[0x1e]),_0xe1aa82=_0x44f2cb(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0xa61ef,0x14,_0x25c7f8[0x1f]),_0x268ba8=_0x290ca6(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x467593,0x4,_0x25c7f8[0x20]),_0x59d1a6=_0x290ca6(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0xebb6c1,0xb,_0x25c7f8[0x21]),_0x201552=_0x290ca6(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x58def6,0x10,_0x25c7f8[0x22]),_0xe1aa82=_0x290ca6(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x92fdc8,0x17,_0x25c7f8[0x23]),_0x268ba8=_0x290ca6(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x5f1c26,0x4,_0x25c7f8[0x24]),_0x59d1a6=_0x290ca6(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x431298,0xb,_0x25c7f8[0x25]),_0x201552=_0x290ca6(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x25ce07,0x10,_0x25c7f8[0x26]),_0xe1aa82=_0x290ca6(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x249581,0x17,_0x25c7f8[0x27]),_0x268ba8=_0x290ca6(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x42dff3,0x4,_0x25c7f8[0x28]),_0x59d1a6=_0x290ca6(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x4eacd5,0xb,_0x25c7f8[0x29]),_0x201552=_0x290ca6(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x284c34,0x10,_0x25c7f8[0x2a]),_0xe1aa82=_0x290ca6(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x31d3b3,0x17,_0x25c7f8[0x2b]),_0x268ba8=_0x290ca6(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x40294e,0x4,_0x25c7f8[0x2c]),_0x59d1a6=_0x290ca6(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0xa61ef,0xb,_0x25c7f8[0x2d]),_0x201552=_0x290ca6(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x515895,0x10,_0x25c7f8[0x2e]),_0xe1aa82=_0x290ca6(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x291992,0x17,_0x25c7f8[0x2f]),_0x268ba8=_0xc24637(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x4eacd5,0x6,_0x25c7f8[0x30]),_0x59d1a6=_0xc24637(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x25ce07,0xa,_0x25c7f8[0x31]),_0x201552=_0xc24637(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x92fdc8,0xf,_0x25c7f8[0x32]),_0xe1aa82=_0xc24637(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x467593,0x15,_0x25c7f8[0x33]),_0x268ba8=_0xc24637(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0xa61ef,0x6,_0x25c7f8[0x34]),_0x59d1a6=_0xc24637(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x284c34,0xa,_0x25c7f8[0x35]),_0x201552=_0xc24637(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x249581,0xf,_0x25c7f8[0x36]),_0xe1aa82=_0xc24637(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x5f1c26,0x15,_0x25c7f8[0x37]),_0x268ba8=_0xc24637(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0xebb6c1,0x6,_0x25c7f8[0x38]),_0x59d1a6=_0xc24637(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x515895,0xa,_0x25c7f8[0x39]),_0x201552=_0xc24637(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x31d3b3,0xf,_0x25c7f8[0x3a]),_0xe1aa82=_0xc24637(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x42dff3,0x15,_0x25c7f8[0x3b]),_0x268ba8=_0xc24637(_0x268ba8,_0xe1aa82,_0x201552,_0x59d1a6,_0x431298,0x6,_0x25c7f8[0x3c]),_0x59d1a6=_0xc24637(_0x59d1a6,_0x268ba8,_0xe1aa82,_0x201552,_0x58def6,0xa,_0x25c7f8[0x3d]),_0x201552=_0xc24637(_0x201552,_0x59d1a6,_0x268ba8,_0xe1aa82,_0x291992,0xf,_0x25c7f8[0x3e]),_0xe1aa82=_0xc24637(_0xe1aa82,_0x201552,_0x59d1a6,_0x268ba8,_0x40294e,0x15,_0x25c7f8[0x3f]),_0x39859c[0x0]=_0x39859c[0x0]+_0x268ba8|0x0,_0x39859c[0x1]=_0x39859c[0x1]+_0xe1aa82|0x0,_0x39859c[0x2]=_0x39859c[0x2]+_0x201552|0x0,_0x39859c[0x3]=_0x39859c[0x3]+_0x59d1a6|0x0;},'_doFinalize':function(){var _0x109595=_0x49911c,_0x21ae5f=this[_0x109595(0x423)],_0x2ec20d=_0x21ae5f[_0x109595(0x2c3)],_0xb577ef=this[_0x109595(0x4d4)]*0x8,_0x486e79=_0x21ae5f['sigBytes']*0x8;_0x2ec20d[_0x486e79>>>0x5]|=0x80<<0x18-_0x486e79%0x20;var _0xb436cd=_0x25686c[_0x109595(0x372)](_0xb577ef/0x100000000),_0x4ca96f=_0xb577ef;_0x2ec20d[(_0x486e79+0x40>>>0x9<<0x4)+0xf]=(_0xb436cd<<0x8|_0xb436cd>>>0x18)&0xff00ff|(_0xb436cd<<0x18|_0xb436cd>>>0x8)&0xff00ff00,_0x2ec20d[(_0x486e79+0x40>>>0x9<<0x4)+0xe]=(_0x4ca96f<<0x8|_0x4ca96f>>>0x18)&0xff00ff|(_0x4ca96f<<0x18|_0x4ca96f>>>0x8)&0xff00ff00,_0x21ae5f[_0x109595(0x403)]=(_0x2ec20d[_0x109595(0x2ac)]+0x1)*0x4,this[_0x109595(0x230)]();for(var _0x572cd5=this['_hash'],_0x45fd15=_0x572cd5['words'],_0x4fdfc7=0x0;_0x4fdfc7<0x4;_0x4fdfc7++){var _0x59fa01=_0x45fd15[_0x4fdfc7];_0x45fd15[_0x4fdfc7]=(_0x59fa01<<0x8|_0x59fa01>>>0x18)&0xff00ff|(_0x59fa01<<0x18|_0x59fa01>>>0x8)&0xff00ff00;}return _0x572cd5;},'clone':function(){var _0x3dda22=_0x49911c,_0x45a865=_0x4a937f['clone'][_0x3dda22(0x3cc)](this);return _0x45a865[_0x3dda22(0x371)]=this[_0x3dda22(0x371)][_0x3dda22(0x259)](),_0x45a865;}});function _0x2a084a(_0x34f93b,_0x2b1341,_0x1c6c3a,_0x2939cf,_0x343dc0,_0x236366,_0x2f98b3){var _0x1df083=_0x34f93b+(_0x2b1341&_0x1c6c3a|~_0x2b1341&_0x2939cf)+_0x343dc0+_0x2f98b3;return(_0x1df083<<_0x236366|_0x1df083>>>0x20-_0x236366)+_0x2b1341;}function _0x44f2cb(_0x2c7f72,_0x5217fe,_0x3cddbc,_0x32e16d,_0x2769ad,_0x5b52a0,_0x3847b8){var _0x2fb74d=_0x2c7f72+(_0x5217fe&_0x32e16d|_0x3cddbc&~_0x32e16d)+_0x2769ad+_0x3847b8;return(_0x2fb74d<<_0x5b52a0|_0x2fb74d>>>0x20-_0x5b52a0)+_0x5217fe;}function _0x290ca6(_0x545468,_0x3cd1a1,_0x14f5a7,_0xd065ca,_0x1c6032,_0x13c434,_0x23d3dc){var _0x4cfee2=_0x545468+(_0x3cd1a1^_0x14f5a7^_0xd065ca)+_0x1c6032+_0x23d3dc;return(_0x4cfee2<<_0x13c434|_0x4cfee2>>>0x20-_0x13c434)+_0x3cd1a1;}function _0xc24637(_0x5acc30,_0x5ca07a,_0x318c0c,_0x11b263,_0x33c286,_0x2b46ff,_0x5012ce){var _0xc7a682=_0x5acc30+(_0x318c0c^(_0x5ca07a|~_0x11b263))+_0x33c286+_0x5012ce;return(_0xc7a682<<_0x2b46ff|_0xc7a682>>>0x20-_0x2b46ff)+_0x5ca07a;}_0x359b5f['MD5']=_0x4a937f[_0x49911c(0x4da)](_0x49a5f5),_0x359b5f[_0x49911c(0x252)]=_0x4a937f[_0x49911c(0x470)](_0x49a5f5);}(Math),_0x2eff7f[_0x32bf2f(0x213)];}));}(_0x104bd1)),_0x104bd1[_0x474777(0x31e)];}var _0x1350ee={'exports':{}},_0x2d7152={'exports':{}},_0x222db5=_0x2d7152[_0x491c30(0x31e)],_0x2a6136;function _0x5a7f94(){return _0x2a6136||(_0x2a6136=0x1,function(_0x2d18ad,_0x4136e6){(function(_0x5ac4fd,_0x587db3){var _0x4ebd0e=_0x3855;_0x2d18ad[_0x4ebd0e(0x31e)]=_0x587db3(_0x231b13());}(_0x222db5,function(_0x355ac2){var _0xf48870=_0x3855;return(function(){var _0x77e186=_0x3855,_0x1beb0f=_0x355ac2,_0x12d3b2=_0x1beb0f['lib'],_0xa78852=_0x12d3b2[_0x77e186(0x21c)],_0x20855b=_0x12d3b2[_0x77e186(0x3dd)],_0x5ba2d1=_0x1beb0f[_0x77e186(0x377)],_0x5a4649=[],_0x5e944f=_0x5ba2d1['SHA1']=_0x20855b['extend']({'_doReset':function(){var _0x4fcd4e=_0x77e186;this[_0x4fcd4e(0x371)]=new _0xa78852[(_0x4fcd4e(0x51b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x261443,_0x151c49){var _0x3443f5=_0x77e186;for(var _0x21f539=this[_0x3443f5(0x371)][_0x3443f5(0x2c3)],_0x3a23de=_0x21f539[0x0],_0x216dfd=_0x21f539[0x1],_0x572fd6=_0x21f539[0x2],_0x27ba6c=_0x21f539[0x3],_0x594c2c=_0x21f539[0x4],_0x5184dc=0x0;_0x5184dc<0x50;_0x5184dc++){if(_0x5184dc<0x10)_0x5a4649[_0x5184dc]=_0x261443[_0x151c49+_0x5184dc]|0x0;else{var _0x4f023c=_0x5a4649[_0x5184dc-0x3]^_0x5a4649[_0x5184dc-0x8]^_0x5a4649[_0x5184dc-0xe]^_0x5a4649[_0x5184dc-0x10];_0x5a4649[_0x5184dc]=_0x4f023c<<0x1|_0x4f023c>>>0x1f;}var _0x166c01=(_0x3a23de<<0x5|_0x3a23de>>>0x1b)+_0x594c2c+_0x5a4649[_0x5184dc];_0x5184dc<0x14?_0x166c01+=(_0x216dfd&_0x572fd6|~_0x216dfd&_0x27ba6c)+0x5a827999:_0x5184dc<0x28?_0x166c01+=(_0x216dfd^_0x572fd6^_0x27ba6c)+0x6ed9eba1:_0x5184dc<0x3c?_0x166c01+=(_0x216dfd&_0x572fd6|_0x216dfd&_0x27ba6c|_0x572fd6&_0x27ba6c)-0x70e44324:_0x166c01+=(_0x216dfd^_0x572fd6^_0x27ba6c)-0x359d3e2a,_0x594c2c=_0x27ba6c,_0x27ba6c=_0x572fd6,_0x572fd6=_0x216dfd<<0x1e|_0x216dfd>>>0x2,_0x216dfd=_0x3a23de,_0x3a23de=_0x166c01;}_0x21f539[0x0]=_0x21f539[0x0]+_0x3a23de|0x0,_0x21f539[0x1]=_0x21f539[0x1]+_0x216dfd|0x0,_0x21f539[0x2]=_0x21f539[0x2]+_0x572fd6|0x0,_0x21f539[0x3]=_0x21f539[0x3]+_0x27ba6c|0x0,_0x21f539[0x4]=_0x21f539[0x4]+_0x594c2c|0x0;},'_doFinalize':function(){var _0x12c854=_0x77e186,_0x1d8758=this[_0x12c854(0x423)],_0x5cb2a2=_0x1d8758[_0x12c854(0x2c3)],_0xcb6ab4=this[_0x12c854(0x4d4)]*0x8,_0x361f47=_0x1d8758[_0x12c854(0x403)]*0x8;return _0x5cb2a2[_0x361f47>>>0x5]|=0x80<<0x18-_0x361f47%0x20,_0x5cb2a2[(_0x361f47+0x40>>>0x9<<0x4)+0xe]=Math[_0x12c854(0x372)](_0xcb6ab4/0x100000000),_0x5cb2a2[(_0x361f47+0x40>>>0x9<<0x4)+0xf]=_0xcb6ab4,_0x1d8758[_0x12c854(0x403)]=_0x5cb2a2[_0x12c854(0x2ac)]*0x4,this[_0x12c854(0x230)](),this['_hash'];},'clone':function(){var _0x575124=_0x77e186,_0x4232a9=_0x20855b[_0x575124(0x259)]['call'](this);return _0x4232a9[_0x575124(0x371)]=this[_0x575124(0x371)][_0x575124(0x259)](),_0x4232a9;}});_0x1beb0f[_0x77e186(0x242)]=_0x20855b[_0x77e186(0x4da)](_0x5e944f),_0x1beb0f[_0x77e186(0x4bd)]=_0x20855b['_createHmacHelper'](_0x5e944f);}()),_0x355ac2[_0xf48870(0x242)];}));}(_0x2d7152)),_0x2d7152['exports'];}var _0x285930={'exports':{}},_0x374c91=_0x285930[_0x491c30(0x31e)],_0x153f81;function _0x27802c(){var _0x36ea36=_0x491c30;return _0x153f81||(_0x153f81=0x1,function(_0x497847,_0xbf375f){(function(_0x21a989,_0x3ef046){var _0x5e3278=_0x3855;_0x497847[_0x5e3278(0x31e)]=_0x3ef046(_0x231b13());}(_0x374c91,function(_0x3f6707){(function(){var _0x5ab980=_0x3855,_0x541888=_0x3f6707,_0x50e977=_0x541888[_0x5ab980(0x2eb)],_0xc44144=_0x50e977[_0x5ab980(0x46b)],_0x3ea29e=_0x541888[_0x5ab980(0x26e)],_0x133b44=_0x3ea29e[_0x5ab980(0x313)],_0x237c88=_0x541888['algo'];_0x237c88[_0x5ab980(0x409)]=_0xc44144['extend']({'init':function(_0x23df58,_0x48586e){var _0x558d32=_0x5ab980;_0x23df58=this[_0x558d32(0x4a1)]=new _0x23df58['init'](),typeof _0x48586e==_0x558d32(0x4eb)&&(_0x48586e=_0x133b44['parse'](_0x48586e));var _0xc74e82=_0x23df58[_0x558d32(0x4d7)],_0x57c8f1=_0xc74e82*0x4;_0x48586e[_0x558d32(0x403)]>_0x57c8f1&&(_0x48586e=_0x23df58[_0x558d32(0x23d)](_0x48586e)),_0x48586e['clamp']();for(var _0x2d367c=this['_oKey']=_0x48586e[_0x558d32(0x259)](),_0x5458d7=this[_0x558d32(0x3b0)]=_0x48586e[_0x558d32(0x259)](),_0x14569f=_0x2d367c[_0x558d32(0x2c3)],_0x232fb2=_0x5458d7['words'],_0x154e3b=0x0;_0x154e3b<_0xc74e82;_0x154e3b++)_0x14569f[_0x154e3b]^=0x5c5c5c5c,_0x232fb2[_0x154e3b]^=0x36363636;_0x2d367c[_0x558d32(0x403)]=_0x5458d7[_0x558d32(0x403)]=_0x57c8f1,this['reset']();},'reset':function(){var _0x40af80=_0x5ab980,_0x3fefd2=this[_0x40af80(0x4a1)];_0x3fefd2[_0x40af80(0x20e)](),_0x3fefd2[_0x40af80(0x32b)](this[_0x40af80(0x3b0)]);},'update':function(_0x1736f1){var _0x2085e9=_0x5ab980;return this['_hasher'][_0x2085e9(0x32b)](_0x1736f1),this;},'finalize':function(_0x560237){var _0xcc0bef=_0x5ab980,_0x10e1b2=this['_hasher'],_0x1eb991=_0x10e1b2[_0xcc0bef(0x23d)](_0x560237);_0x10e1b2['reset']();var _0x2afbb7=_0x10e1b2['finalize'](this[_0xcc0bef(0x440)][_0xcc0bef(0x259)]()[_0xcc0bef(0x239)](_0x1eb991));return _0x2afbb7;}});}());}));}(_0x285930)),_0x285930[_0x36ea36(0x31e)];}var _0x22e41b=_0x1350ee['exports'],_0x5a9859;function _0x1f22c9(){return _0x5a9859||(_0x5a9859=0x1,function(_0x54c9f9,_0x13db70){(function(_0x378180,_0x2fbb68,_0x113c36){var _0x30392e=_0x3855;_0x54c9f9[_0x30392e(0x31e)]=_0x2fbb68(_0x231b13(),_0x5a7f94(),_0x27802c());}(_0x22e41b,function(_0x25536b){var _0x286887=_0x3855;return(function(){var _0x131739=_0x3855,_0x2d776b=_0x25536b,_0x252ac7=_0x2d776b['lib'],_0x1ac8c5=_0x252ac7['Base'],_0xeba876=_0x252ac7['WordArray'],_0x13e385=_0x2d776b[_0x131739(0x377)],_0x7903c8=_0x13e385[_0x131739(0x213)],_0x4fe5d3=_0x13e385['EvpKDF']=_0x1ac8c5['extend']({'cfg':_0x1ac8c5['extend']({'keySize':0x80/0x20,'hasher':_0x7903c8,'iterations':0x1}),'init':function(_0x3e296a){var _0x1c2e43=_0x131739;this['cfg']=this[_0x1c2e43(0x509)][_0x1c2e43(0x31b)](_0x3e296a);},'compute':function(_0x489f75,_0x3dcc4b){var _0x584baa=_0x131739;for(var _0x361f35,_0x12d86f=this['cfg'],_0xfbae68=_0x12d86f[_0x584baa(0x523)][_0x584baa(0x498)](),_0x24fe36=_0xeba876[_0x584baa(0x498)](),_0x43b385=_0x24fe36[_0x584baa(0x2c3)],_0x47d418=_0x12d86f[_0x584baa(0x275)],_0x470241=_0x12d86f[_0x584baa(0x41a)];_0x43b385['length']<_0x47d418;){_0x361f35&&_0xfbae68[_0x584baa(0x32b)](_0x361f35),_0x361f35=_0xfbae68[_0x584baa(0x32b)](_0x489f75)[_0x584baa(0x23d)](_0x3dcc4b),_0xfbae68['reset']();for(var _0x202586=0x1;_0x202586<_0x470241;_0x202586++)_0x361f35=_0xfbae68[_0x584baa(0x23d)](_0x361f35),_0xfbae68['reset']();_0x24fe36[_0x584baa(0x239)](_0x361f35);}return _0x24fe36[_0x584baa(0x403)]=_0x47d418*0x4,_0x24fe36;}});_0x2d776b[_0x131739(0x49e)]=function(_0x53701c,_0x241377,_0x3cae82){var _0x10fda1=_0x131739;return _0x4fe5d3[_0x10fda1(0x498)](_0x3cae82)[_0x10fda1(0x39d)](_0x53701c,_0x241377);};}()),_0x25536b[_0x286887(0x49e)];}));}(_0x1350ee)),_0x1350ee['exports'];}var _0x4a7c81={'exports':{}},_0x5c9281=_0x4a7c81[_0x491c30(0x31e)],_0x3e7a29;function _0x5d8e50(){var _0x59b1b1=_0x491c30;return _0x3e7a29||(_0x3e7a29=0x1,function(_0x57837e,_0x2eb2d0){(function(_0x159b34,_0x5d2364,_0x3fa603){var _0x396b59=_0x3855;_0x57837e[_0x396b59(0x31e)]=_0x5d2364(_0x231b13(),_0x1f22c9());}(_0x5c9281,function(_0x21d30f){var _0x1f767d=_0x3855;_0x21d30f[_0x1f767d(0x2eb)][_0x1f767d(0x494)]||function(_0x1aa316){var _0x217003=_0x1f767d,_0x103ce1=_0x21d30f,_0x32deef=_0x103ce1[_0x217003(0x2eb)],_0x30f557=_0x32deef[_0x217003(0x46b)],_0x5395f7=_0x32deef[_0x217003(0x21c)],_0x5a2860=_0x32deef[_0x217003(0x338)],_0x1c9920=_0x103ce1['enc'];_0x1c9920[_0x217003(0x313)];var _0x504dff=_0x1c9920[_0x217003(0x200)],_0xba288e=_0x103ce1['algo'],_0x4c7db8=_0xba288e['EvpKDF'],_0x5a86d5=_0x32deef[_0x217003(0x494)]=_0x5a2860[_0x217003(0x31b)]({'cfg':_0x30f557[_0x217003(0x31b)](),'createEncryptor':function(_0xd915d8,_0x165fa3){var _0x473292=_0x217003;return this[_0x473292(0x498)](this['_ENC_XFORM_MODE'],_0xd915d8,_0x165fa3);},'createDecryptor':function(_0x17e089,_0x393279){var _0x836cc3=_0x217003;return this[_0x836cc3(0x498)](this['_DEC_XFORM_MODE'],_0x17e089,_0x393279);},'init':function(_0x1f1c8f,_0x4fec94,_0x5013fe){var _0x49471c=_0x217003;this[_0x49471c(0x509)]=this[_0x49471c(0x509)]['extend'](_0x5013fe),this[_0x49471c(0x3ec)]=_0x1f1c8f,this[_0x49471c(0x1e5)]=_0x4fec94,this[_0x49471c(0x20e)]();},'reset':function(){var _0x5a833d=_0x217003;_0x5a2860[_0x5a833d(0x20e)][_0x5a833d(0x3cc)](this),this['_doReset']();},'process':function(_0x5de97f){var _0x29988c=_0x217003;return this[_0x29988c(0x524)](_0x5de97f),this[_0x29988c(0x230)]();},'finalize':function(_0x4f94fc){var _0x1cb043=_0x217003;_0x4f94fc&&this[_0x1cb043(0x524)](_0x4f94fc);var _0x4f5088=this[_0x1cb043(0x33f)]();return _0x4f5088;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xaa7b9b(_0x5da1d6){var _0x4a120f=_0x3855;return typeof _0x5da1d6==_0x4a120f(0x4eb)?_0x18fe26:_0x419c82;}return function(_0x530f2e){return{'encrypt':function(_0x2740f3,_0x4fa79c,_0x52fb6c){var _0x5517f8=_0x3855;return _0xaa7b9b(_0x4fa79c)[_0x5517f8(0x362)](_0x530f2e,_0x2740f3,_0x4fa79c,_0x52fb6c);},'decrypt':function(_0x3f42b5,_0x87c06f,_0x1d6351){return _0xaa7b9b(_0x87c06f)['decrypt'](_0x530f2e,_0x3f42b5,_0x87c06f,_0x1d6351);}};};}())});_0x32deef[_0x217003(0x4ec)]=_0x5a86d5[_0x217003(0x31b)]({'_doFinalize':function(){var _0x11920d=_0x217003,_0x5039b0=this[_0x11920d(0x230)](!0x0);return _0x5039b0;},'blockSize':0x1});var _0x4925cc=_0x103ce1[_0x217003(0x4b1)]={},_0x544ad0=_0x32deef['BlockCipherMode']=_0x30f557['extend']({'createEncryptor':function(_0x4460ea,_0x49d203){var _0x4dc116=_0x217003;return this[_0x4dc116(0x3fb)][_0x4dc116(0x498)](_0x4460ea,_0x49d203);},'createDecryptor':function(_0x522e66,_0x1f6d03){var _0x36566c=_0x217003;return this[_0x36566c(0x20a)][_0x36566c(0x498)](_0x522e66,_0x1f6d03);},'init':function(_0x172711,_0x465a77){var _0x145bdd=_0x217003;this[_0x145bdd(0x315)]=_0x172711,this[_0x145bdd(0x427)]=_0x465a77;}}),_0x45436d=_0x4925cc[_0x217003(0x4dd)]=(function(){var _0xb19560=_0x217003,_0x16f463=_0x544ad0[_0xb19560(0x31b)]();_0x16f463['Encryptor']=_0x16f463[_0xb19560(0x31b)]({'processBlock':function(_0x22576f,_0x48ad61){var _0x4e615c=_0xb19560,_0x140433=this[_0x4e615c(0x315)],_0x48e6bc=_0x140433[_0x4e615c(0x4d7)];_0x4454f7[_0x4e615c(0x3cc)](this,_0x22576f,_0x48ad61,_0x48e6bc),_0x140433['encryptBlock'](_0x22576f,_0x48ad61),this['_prevBlock']=_0x22576f[_0x4e615c(0x2d9)](_0x48ad61,_0x48ad61+_0x48e6bc);}}),_0x16f463[_0xb19560(0x20a)]=_0x16f463['extend']({'processBlock':function(_0x2a6abc,_0x225223){var _0x38b609=_0xb19560,_0x5285fc=this[_0x38b609(0x315)],_0x1ce505=_0x5285fc[_0x38b609(0x4d7)],_0x46dbed=_0x2a6abc['slice'](_0x225223,_0x225223+_0x1ce505);_0x5285fc['decryptBlock'](_0x2a6abc,_0x225223),_0x4454f7[_0x38b609(0x3cc)](this,_0x2a6abc,_0x225223,_0x1ce505),this[_0x38b609(0x27d)]=_0x46dbed;}});function _0x4454f7(_0x5c21ab,_0x437f66,_0x15d0df){var _0x29dccb=_0xb19560,_0x33887a,_0xa2b529=this[_0x29dccb(0x427)];_0xa2b529?(_0x33887a=_0xa2b529,this[_0x29dccb(0x427)]=_0x1aa316):_0x33887a=this[_0x29dccb(0x27d)];for(var _0x3642d8=0x0;_0x3642d8<_0x15d0df;_0x3642d8++)_0x5c21ab[_0x437f66+_0x3642d8]^=_0x33887a[_0x3642d8];}return _0x16f463;}()),_0x3489d9=_0x103ce1[_0x217003(0x4a2)]={},_0x444b13=_0x3489d9[_0x217003(0x205)]={'pad':function(_0xee898b,_0x32124e){var _0x3eb8ac=_0x217003;for(var _0x589abb=_0x32124e*0x4,_0x1f7aaf=_0x589abb-_0xee898b['sigBytes']%_0x589abb,_0x1110ff=_0x1f7aaf<<0x18|_0x1f7aaf<<0x10|_0x1f7aaf<<0x8|_0x1f7aaf,_0x266fd9=[],_0x9d4738=0x0;_0x9d4738<_0x1f7aaf;_0x9d4738+=0x4)_0x266fd9[_0x3eb8ac(0x35a)](_0x1110ff);var _0x546886=_0x5395f7[_0x3eb8ac(0x498)](_0x266fd9,_0x1f7aaf);_0xee898b[_0x3eb8ac(0x239)](_0x546886);},'unpad':function(_0x212048){var _0xca0373=_0x217003,_0x5e1d7e=_0x212048[_0xca0373(0x2c3)][_0x212048[_0xca0373(0x403)]-0x1>>>0x2]&0xff;_0x212048[_0xca0373(0x403)]-=_0x5e1d7e;}};_0x32deef[_0x217003(0x2ab)]=_0x5a86d5[_0x217003(0x31b)]({'cfg':_0x5a86d5[_0x217003(0x509)][_0x217003(0x31b)]({'mode':_0x45436d,'padding':_0x444b13}),'reset':function(){var _0x870491=_0x217003,_0x2f80ce;_0x5a86d5[_0x870491(0x20e)][_0x870491(0x3cc)](this);var _0x45b180=this['cfg'],_0x4f5ae1=_0x45b180['iv'],_0x275c49=_0x45b180[_0x870491(0x4b1)];this[_0x870491(0x3ec)]==this[_0x870491(0x3bc)]?_0x2f80ce=_0x275c49[_0x870491(0x255)]:(_0x2f80ce=_0x275c49[_0x870491(0x3d6)],this[_0x870491(0x3b6)]=0x1),this[_0x870491(0x4be)]&&this[_0x870491(0x4be)][_0x870491(0x55d)]==_0x2f80ce?this['_mode'][_0x870491(0x51b)](this,_0x4f5ae1&&_0x4f5ae1[_0x870491(0x2c3)]):(this['_mode']=_0x2f80ce[_0x870491(0x3cc)](_0x275c49,this,_0x4f5ae1&&_0x4f5ae1[_0x870491(0x2c3)]),this[_0x870491(0x4be)][_0x870491(0x55d)]=_0x2f80ce);},'_doProcessBlock':function(_0x7d9299,_0x7ad347){var _0x5ada43=_0x217003;this['_mode'][_0x5ada43(0x2b6)](_0x7d9299,_0x7ad347);},'_doFinalize':function(){var _0x2749ce=_0x217003,_0x198b7c,_0x2323d0=this[_0x2749ce(0x509)][_0x2749ce(0x3e6)];return this[_0x2749ce(0x3ec)]==this[_0x2749ce(0x3bc)]?(_0x2323d0['pad'](this[_0x2749ce(0x423)],this[_0x2749ce(0x4d7)]),_0x198b7c=this[_0x2749ce(0x230)](!0x0)):(_0x198b7c=this[_0x2749ce(0x230)](!0x0),_0x2323d0[_0x2749ce(0x433)](_0x198b7c)),_0x198b7c;},'blockSize':0x80/0x20});var _0x277f69=_0x32deef[_0x217003(0x2dd)]=_0x30f557[_0x217003(0x31b)]({'init':function(_0x20762b){var _0x1f49b6=_0x217003;this[_0x1f49b6(0x2d1)](_0x20762b);},'toString':function(_0x4a6a47){var _0x55c6f4=_0x217003;return(_0x4a6a47||this['formatter'])[_0x55c6f4(0x4d9)](this);}}),_0x97f1bc=_0x103ce1[_0x217003(0x47b)]={},_0x4518cb=_0x97f1bc['OpenSSL']={'stringify':function(_0x4bb668){var _0x3ef5c7=_0x217003,_0x4d1e8c,_0x2f827a=_0x4bb668[_0x3ef5c7(0x3a0)],_0x497665=_0x4bb668[_0x3ef5c7(0x20c)];return _0x497665?_0x4d1e8c=_0x5395f7[_0x3ef5c7(0x498)]([0x53616c74,0x65645f5f])[_0x3ef5c7(0x239)](_0x497665)[_0x3ef5c7(0x239)](_0x2f827a):_0x4d1e8c=_0x2f827a,_0x4d1e8c[_0x3ef5c7(0x53a)](_0x504dff);},'parse':function(_0x593672){var _0x3cf45f=_0x217003,_0x3f15d1,_0x55ae3b=_0x504dff[_0x3cf45f(0x476)](_0x593672),_0x19714f=_0x55ae3b['words'];return _0x19714f[0x0]==0x53616c74&&_0x19714f[0x1]==0x65645f5f&&(_0x3f15d1=_0x5395f7[_0x3cf45f(0x498)](_0x19714f[_0x3cf45f(0x2d9)](0x2,0x4)),_0x19714f['splice'](0x0,0x4),_0x55ae3b[_0x3cf45f(0x403)]-=0x10),_0x277f69['create']({'ciphertext':_0x55ae3b,'salt':_0x3f15d1});}},_0x419c82=_0x32deef[_0x217003(0x435)]=_0x30f557[_0x217003(0x31b)]({'cfg':_0x30f557[_0x217003(0x31b)]({'format':_0x4518cb}),'encrypt':function(_0x171d28,_0xb241f0,_0x247223,_0x193dea){var _0x3943a6=_0x217003;_0x193dea=this['cfg']['extend'](_0x193dea);var _0x43aa35=_0x171d28['createEncryptor'](_0x247223,_0x193dea),_0x46f515=_0x43aa35[_0x3943a6(0x23d)](_0xb241f0),_0x88b190=_0x43aa35['cfg'];return _0x277f69[_0x3943a6(0x498)]({'ciphertext':_0x46f515,'key':_0x247223,'iv':_0x88b190['iv'],'algorithm':_0x171d28,'mode':_0x88b190[_0x3943a6(0x4b1)],'padding':_0x88b190[_0x3943a6(0x3e6)],'blockSize':_0x171d28[_0x3943a6(0x4d7)],'formatter':_0x193dea[_0x3943a6(0x47b)]});},'decrypt':function(_0x35c28d,_0x227855,_0x27807a,_0x3467fe){var _0x5384c0=_0x217003;_0x3467fe=this['cfg'][_0x5384c0(0x31b)](_0x3467fe),_0x227855=this[_0x5384c0(0x2c2)](_0x227855,_0x3467fe[_0x5384c0(0x47b)]);var _0x429a41=_0x35c28d[_0x5384c0(0x3d6)](_0x27807a,_0x3467fe)['finalize'](_0x227855[_0x5384c0(0x3a0)]);return _0x429a41;},'_parse':function(_0x36d816,_0x7d4a33){var _0x22cec0=_0x217003;return typeof _0x36d816==_0x22cec0(0x4eb)?_0x7d4a33[_0x22cec0(0x476)](_0x36d816,this):_0x36d816;}}),_0x446c96=_0x103ce1[_0x217003(0x274)]={},_0x5bac32=_0x446c96[_0x217003(0x209)]={'execute':function(_0x472e3f,_0x210250,_0x1ab551,_0x2bb593,_0x54e2bf){var _0x54508e=_0x217003;if(_0x2bb593||(_0x2bb593=_0x5395f7[_0x54508e(0x40a)](0x40/0x8)),_0x54e2bf)var _0x5e9ad0=_0x4c7db8[_0x54508e(0x498)]({'keySize':_0x210250+_0x1ab551,'hasher':_0x54e2bf})['compute'](_0x472e3f,_0x2bb593);else var _0x5e9ad0=_0x4c7db8[_0x54508e(0x498)]({'keySize':_0x210250+_0x1ab551})[_0x54508e(0x39d)](_0x472e3f,_0x2bb593);var _0x1a35a0=_0x5395f7[_0x54508e(0x498)](_0x5e9ad0['words'][_0x54508e(0x2d9)](_0x210250),_0x1ab551*0x4);return _0x5e9ad0[_0x54508e(0x403)]=_0x210250*0x4,_0x277f69[_0x54508e(0x498)]({'key':_0x5e9ad0,'iv':_0x1a35a0,'salt':_0x2bb593});}},_0x18fe26=_0x32deef[_0x217003(0x341)]=_0x419c82['extend']({'cfg':_0x419c82[_0x217003(0x509)][_0x217003(0x31b)]({'kdf':_0x5bac32}),'encrypt':function(_0x43dd01,_0xcd2ffe,_0x4c9b6c,_0x3e7a73){var _0x15dc45=_0x217003;_0x3e7a73=this[_0x15dc45(0x509)][_0x15dc45(0x31b)](_0x3e7a73);var _0x199f7d=_0x3e7a73['kdf'][_0x15dc45(0x365)](_0x4c9b6c,_0x43dd01[_0x15dc45(0x275)],_0x43dd01[_0x15dc45(0x29d)],_0x3e7a73[_0x15dc45(0x20c)],_0x3e7a73[_0x15dc45(0x523)]);_0x3e7a73['iv']=_0x199f7d['iv'];var _0xcaa4a6=_0x419c82[_0x15dc45(0x362)][_0x15dc45(0x3cc)](this,_0x43dd01,_0xcd2ffe,_0x199f7d[_0x15dc45(0x39c)],_0x3e7a73);return _0xcaa4a6['mixIn'](_0x199f7d),_0xcaa4a6;},'decrypt':function(_0x595ed7,_0x229bee,_0x5282f3,_0x1c303e){var _0x46262a=_0x217003;_0x1c303e=this['cfg'][_0x46262a(0x31b)](_0x1c303e),_0x229bee=this[_0x46262a(0x2c2)](_0x229bee,_0x1c303e[_0x46262a(0x47b)]);var _0x70b249=_0x1c303e[_0x46262a(0x274)][_0x46262a(0x365)](_0x5282f3,_0x595ed7[_0x46262a(0x275)],_0x595ed7[_0x46262a(0x29d)],_0x229bee[_0x46262a(0x20c)],_0x1c303e['hasher']);_0x1c303e['iv']=_0x70b249['iv'];var _0x3ec842=_0x419c82['decrypt']['call'](this,_0x595ed7,_0x229bee,_0x70b249['key'],_0x1c303e);return _0x3ec842;}});}();}));}(_0x4a7c81)),_0x4a7c81[_0x59b1b1(0x31e)];}var _0x36144f=_0x93e68f[_0x491c30(0x31e)],_0x192266;function _0x78cb38(){return _0x192266||(_0x192266=0x1,function(_0x48888c,_0x4941ed){(function(_0x507e66,_0x1191c6,_0x33ed74){var _0x517309=_0x3855;_0x48888c[_0x517309(0x31e)]=_0x1191c6(_0x231b13(),_0x314f90(),_0x1ac9b8(),_0x1f22c9(),_0x5d8e50());}(_0x36144f,function(_0x2b651b){var _0x5b8e92=_0x3855;return(function(){var _0xa8e383=_0x3855,_0x26a900=_0x2b651b,_0x301976=_0x26a900[_0xa8e383(0x2eb)],_0x27e6d9=_0x301976[_0xa8e383(0x2ab)],_0x586bd2=_0x26a900[_0xa8e383(0x377)],_0x3f15a8=[],_0x70472f=[],_0x1d2d72=[],_0x545742=[],_0x347605=[],_0x14c1ef=[],_0x2210c6=[],_0x59fbbf=[],_0x39f177=[],_0x50b4b4=[];(function(){for(var _0x2cc60e=[],_0x3ee489=0x0;_0x3ee489<0x100;_0x3ee489++)_0x3ee489<0x80?_0x2cc60e[_0x3ee489]=_0x3ee489<<0x1:_0x2cc60e[_0x3ee489]=_0x3ee489<<0x1^0x11b;for(var _0xd931fa=0x0,_0xef80ad=0x0,_0x3ee489=0x0;_0x3ee489<0x100;_0x3ee489++){var _0x298608=_0xef80ad^_0xef80ad<<0x1^_0xef80ad<<0x2^_0xef80ad<<0x3^_0xef80ad<<0x4;_0x298608=_0x298608>>>0x8^_0x298608&0xff^0x63,_0x3f15a8[_0xd931fa]=_0x298608,_0x70472f[_0x298608]=_0xd931fa;var _0x36e009=_0x2cc60e[_0xd931fa],_0x3f5204=_0x2cc60e[_0x36e009],_0x236617=_0x2cc60e[_0x3f5204],_0x454120=_0x2cc60e[_0x298608]*0x101^_0x298608*0x1010100;_0x1d2d72[_0xd931fa]=_0x454120<<0x18|_0x454120>>>0x8,_0x545742[_0xd931fa]=_0x454120<<0x10|_0x454120>>>0x10,_0x347605[_0xd931fa]=_0x454120<<0x8|_0x454120>>>0x18,_0x14c1ef[_0xd931fa]=_0x454120;var _0x454120=_0x236617*0x1010101^_0x3f5204*0x10001^_0x36e009*0x101^_0xd931fa*0x1010100;_0x2210c6[_0x298608]=_0x454120<<0x18|_0x454120>>>0x8,_0x59fbbf[_0x298608]=_0x454120<<0x10|_0x454120>>>0x10,_0x39f177[_0x298608]=_0x454120<<0x8|_0x454120>>>0x18,_0x50b4b4[_0x298608]=_0x454120,_0xd931fa?(_0xd931fa=_0x36e009^_0x2cc60e[_0x2cc60e[_0x2cc60e[_0x236617^_0x36e009]]],_0xef80ad^=_0x2cc60e[_0x2cc60e[_0xef80ad]]):_0xd931fa=_0xef80ad=0x1;}}());var _0x15d098=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x24ac7d=_0x586bd2[_0xa8e383(0x4e7)]=_0x27e6d9[_0xa8e383(0x31b)]({'_doReset':function(){var _0x5c2f05=_0xa8e383,_0x35404d;if(!(this[_0x5c2f05(0x4f8)]&&this[_0x5c2f05(0x201)]===this[_0x5c2f05(0x1e5)])){for(var _0x36188d=this[_0x5c2f05(0x201)]=this[_0x5c2f05(0x1e5)],_0x1aecb5=_0x36188d[_0x5c2f05(0x2c3)],_0x1d4637=_0x36188d[_0x5c2f05(0x403)]/0x4,_0x429d81=this['_nRounds']=_0x1d4637+0x6,_0x185c4c=(_0x429d81+0x1)*0x4,_0x2ed3bd=this['_keySchedule']=[],_0x4cefe1=0x0;_0x4cefe1<_0x185c4c;_0x4cefe1++)_0x4cefe1<_0x1d4637?_0x2ed3bd[_0x4cefe1]=_0x1aecb5[_0x4cefe1]:(_0x35404d=_0x2ed3bd[_0x4cefe1-0x1],_0x4cefe1%_0x1d4637?_0x1d4637>0x6&&_0x4cefe1%_0x1d4637==0x4&&(_0x35404d=_0x3f15a8[_0x35404d>>>0x18]<<0x18|_0x3f15a8[_0x35404d>>>0x10&0xff]<<0x10|_0x3f15a8[_0x35404d>>>0x8&0xff]<<0x8|_0x3f15a8[_0x35404d&0xff]):(_0x35404d=_0x35404d<<0x8|_0x35404d>>>0x18,_0x35404d=_0x3f15a8[_0x35404d>>>0x18]<<0x18|_0x3f15a8[_0x35404d>>>0x10&0xff]<<0x10|_0x3f15a8[_0x35404d>>>0x8&0xff]<<0x8|_0x3f15a8[_0x35404d&0xff],_0x35404d^=_0x15d098[_0x4cefe1/_0x1d4637|0x0]<<0x18),_0x2ed3bd[_0x4cefe1]=_0x2ed3bd[_0x4cefe1-_0x1d4637]^_0x35404d);for(var _0x4cdab1=this['_invKeySchedule']=[],_0x1ff8db=0x0;_0x1ff8db<_0x185c4c;_0x1ff8db++){var _0x4cefe1=_0x185c4c-_0x1ff8db;if(_0x1ff8db%0x4)var _0x35404d=_0x2ed3bd[_0x4cefe1];else var _0x35404d=_0x2ed3bd[_0x4cefe1-0x4];_0x1ff8db<0x4||_0x4cefe1<=0x4?_0x4cdab1[_0x1ff8db]=_0x35404d:_0x4cdab1[_0x1ff8db]=_0x2210c6[_0x3f15a8[_0x35404d>>>0x18]]^_0x59fbbf[_0x3f15a8[_0x35404d>>>0x10&0xff]]^_0x39f177[_0x3f15a8[_0x35404d>>>0x8&0xff]]^_0x50b4b4[_0x3f15a8[_0x35404d&0xff]];}}},'encryptBlock':function(_0x37a581,_0x29543b){var _0x99043e=_0xa8e383;this[_0x99043e(0x2cd)](_0x37a581,_0x29543b,this['_keySchedule'],_0x1d2d72,_0x545742,_0x347605,_0x14c1ef,_0x3f15a8);},'decryptBlock':function(_0x4bc486,_0x111e4f){var _0x4c771f=_0xa8e383,_0x70544c=_0x4bc486[_0x111e4f+0x1];_0x4bc486[_0x111e4f+0x1]=_0x4bc486[_0x111e4f+0x3],_0x4bc486[_0x111e4f+0x3]=_0x70544c,this['_doCryptBlock'](_0x4bc486,_0x111e4f,this[_0x4c771f(0x4af)],_0x2210c6,_0x59fbbf,_0x39f177,_0x50b4b4,_0x70472f);var _0x70544c=_0x4bc486[_0x111e4f+0x1];_0x4bc486[_0x111e4f+0x1]=_0x4bc486[_0x111e4f+0x3],_0x4bc486[_0x111e4f+0x3]=_0x70544c;},'_doCryptBlock':function(_0x29113c,_0x86584d,_0x4aa9db,_0x22c612,_0x1e88aa,_0x490113,_0x3c362a,_0x14fcd0){var _0x5c8387=_0xa8e383;for(var _0x5b279d=this[_0x5c8387(0x4f8)],_0x1c6126=_0x29113c[_0x86584d]^_0x4aa9db[0x0],_0x54e85d=_0x29113c[_0x86584d+0x1]^_0x4aa9db[0x1],_0x377d46=_0x29113c[_0x86584d+0x2]^_0x4aa9db[0x2],_0x4bf5ff=_0x29113c[_0x86584d+0x3]^_0x4aa9db[0x3],_0xff5005=0x4,_0x524a22=0x1;_0x524a22<_0x5b279d;_0x524a22++){var _0x564d13=_0x22c612[_0x1c6126>>>0x18]^_0x1e88aa[_0x54e85d>>>0x10&0xff]^_0x490113[_0x377d46>>>0x8&0xff]^_0x3c362a[_0x4bf5ff&0xff]^_0x4aa9db[_0xff5005++],_0x26a6f9=_0x22c612[_0x54e85d>>>0x18]^_0x1e88aa[_0x377d46>>>0x10&0xff]^_0x490113[_0x4bf5ff>>>0x8&0xff]^_0x3c362a[_0x1c6126&0xff]^_0x4aa9db[_0xff5005++],_0x4691ea=_0x22c612[_0x377d46>>>0x18]^_0x1e88aa[_0x4bf5ff>>>0x10&0xff]^_0x490113[_0x1c6126>>>0x8&0xff]^_0x3c362a[_0x54e85d&0xff]^_0x4aa9db[_0xff5005++],_0x57962a=_0x22c612[_0x4bf5ff>>>0x18]^_0x1e88aa[_0x1c6126>>>0x10&0xff]^_0x490113[_0x54e85d>>>0x8&0xff]^_0x3c362a[_0x377d46&0xff]^_0x4aa9db[_0xff5005++];_0x1c6126=_0x564d13,_0x54e85d=_0x26a6f9,_0x377d46=_0x4691ea,_0x4bf5ff=_0x57962a;}var _0x564d13=(_0x14fcd0[_0x1c6126>>>0x18]<<0x18|_0x14fcd0[_0x54e85d>>>0x10&0xff]<<0x10|_0x14fcd0[_0x377d46>>>0x8&0xff]<<0x8|_0x14fcd0[_0x4bf5ff&0xff])^_0x4aa9db[_0xff5005++],_0x26a6f9=(_0x14fcd0[_0x54e85d>>>0x18]<<0x18|_0x14fcd0[_0x377d46>>>0x10&0xff]<<0x10|_0x14fcd0[_0x4bf5ff>>>0x8&0xff]<<0x8|_0x14fcd0[_0x1c6126&0xff])^_0x4aa9db[_0xff5005++],_0x4691ea=(_0x14fcd0[_0x377d46>>>0x18]<<0x18|_0x14fcd0[_0x4bf5ff>>>0x10&0xff]<<0x10|_0x14fcd0[_0x1c6126>>>0x8&0xff]<<0x8|_0x14fcd0[_0x54e85d&0xff])^_0x4aa9db[_0xff5005++],_0x57962a=(_0x14fcd0[_0x4bf5ff>>>0x18]<<0x18|_0x14fcd0[_0x1c6126>>>0x10&0xff]<<0x10|_0x14fcd0[_0x54e85d>>>0x8&0xff]<<0x8|_0x14fcd0[_0x377d46&0xff])^_0x4aa9db[_0xff5005++];_0x29113c[_0x86584d]=_0x564d13,_0x29113c[_0x86584d+0x1]=_0x26a6f9,_0x29113c[_0x86584d+0x2]=_0x4691ea,_0x29113c[_0x86584d+0x3]=_0x57962a;},'keySize':0x100/0x20});_0x26a900['AES']=_0x27e6d9[_0xa8e383(0x4da)](_0x24ac7d);}()),_0x2b651b[_0x5b8e92(0x4e7)];}));}(_0x93e68f)),_0x93e68f['exports'];}var _0x80ed94=_0x78cb38();const _0x1d6985=_0x166e48(_0x80ed94);var _0x3c115f=_0x314f90();const _0x288cd4=_0x166e48(_0x3c115f);var _0x452980={'exports':{}},_0x633d15=_0x452980[_0x491c30(0x31e)],_0x164aab;function _0x4194a5(){var _0x4fa65c=_0x491c30;return _0x164aab||(_0x164aab=0x1,function(_0x38c0bd,_0x13fb86){(function(_0x25a908,_0x2030c4){var _0x538ee9=_0x3855;_0x38c0bd[_0x538ee9(0x31e)]=_0x2030c4(_0x231b13());}(_0x633d15,function(_0x207b5f){var _0x4da07b=_0x3855;return _0x207b5f[_0x4da07b(0x26e)][_0x4da07b(0x313)];}));}(_0x452980)),_0x452980[_0x4fa65c(0x31e)];}var _0x49aaa8=_0x4194a5();const _0x12e9fd=_0x166e48(_0x49aaa8);var _0x38e09b={'exports':{}},_0x1a08c8=_0x38e09b[_0x491c30(0x31e)],_0x49274e;function _0x4653a9(){var _0x2fce03=_0x491c30;return _0x49274e||(_0x49274e=0x1,function(_0x556bb9,_0x5301cd){(function(_0xc7b0e2,_0x378acf){var _0x25b723=_0x3855;_0x556bb9[_0x25b723(0x31e)]=_0x378acf(_0x231b13());}(_0x1a08c8,function(_0x4ccec5){var _0x13de99=_0x3855;return(function(){var _0x58f21f=_0x3855;if(typeof ArrayBuffer==_0x58f21f(0x499)){var _0x19110a=_0x4ccec5,_0x52acb2=_0x19110a[_0x58f21f(0x2eb)],_0x4e6c2f=_0x52acb2[_0x58f21f(0x21c)],_0x261176=_0x4e6c2f[_0x58f21f(0x51b)],_0x341bc3=_0x4e6c2f[_0x58f21f(0x51b)]=function(_0x2bc88b){var _0x2be616=_0x58f21f;if(_0x2bc88b instanceof ArrayBuffer&&(_0x2bc88b=new Uint8Array(_0x2bc88b)),(_0x2bc88b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2bc88b instanceof Uint8ClampedArray||_0x2bc88b instanceof Int16Array||_0x2bc88b instanceof Uint16Array||_0x2bc88b instanceof Int32Array||_0x2bc88b instanceof Uint32Array||_0x2bc88b instanceof Float32Array||_0x2bc88b instanceof Float64Array)&&(_0x2bc88b=new Uint8Array(_0x2bc88b[_0x2be616(0x279)],_0x2bc88b[_0x2be616(0x24b)],_0x2bc88b[_0x2be616(0x32d)])),_0x2bc88b instanceof Uint8Array){for(var _0x591751=_0x2bc88b['byteLength'],_0x308500=[],_0xc8713f=0x0;_0xc8713f<_0x591751;_0xc8713f++)_0x308500[_0xc8713f>>>0x2]|=_0x2bc88b[_0xc8713f]<<0x18-_0xc8713f%0x4*0x8;_0x261176[_0x2be616(0x3cc)](this,_0x308500,_0x591751);}else _0x261176['apply'](this,arguments);};_0x341bc3[_0x58f21f(0x23b)]=_0x4e6c2f;}}()),_0x4ccec5[_0x13de99(0x2eb)][_0x13de99(0x21c)];}));}(_0x38e09b)),_0x38e09b[_0x2fce03(0x31e)];}var _0x2f9c0b=_0x4653a9();const _0x1c1497=_0x166e48(_0x2f9c0b);var _0x12d40a={'exports':{}},_0x39e22e=_0x12d40a[_0x491c30(0x31e)],_0x2a23e2;function _0x32358c(){var _0xcd8289=_0x491c30;return _0x2a23e2||(_0x2a23e2=0x1,function(_0x3992e6,_0x26ec8d){(function(_0x5653f,_0x46a8b6,_0x2d2b57){var _0x258254=_0x3855;_0x3992e6[_0x258254(0x31e)]=_0x46a8b6(_0x231b13(),_0x5d8e50());}(_0x39e22e,function(_0x10549c){var _0x22080c=_0x3855;return _0x10549c['pad'][_0x22080c(0x529)]={'pad':function(){},'unpad':function(){}},_0x10549c[_0x22080c(0x4a2)]['NoPadding'];}));}(_0x12d40a)),_0x12d40a[_0xcd8289(0x31e)];}var _0x2341f9=_0x32358c();const _0xd9256b=_0x166e48(_0x2341f9);function _0x3f2d38(_0x454dc5,_0x21d530){var _0xa8422f=_0x491c30;const _0x4a8371=_0x21d530-_0x454dc5[_0xa8422f(0x2ac)]%_0x21d530,_0x547de4=String['fromCharCode'](_0x4a8371)[_0xa8422f(0x45f)](_0x4a8371);return _0x454dc5+_0x547de4;}function _0x12965a(_0x1cefc6,_0x367b7a){var _0x2b16b2=_0x491c30;const _0x157cbd=_0x1c1497[_0x2b16b2(0x40a)](0x10),_0x1023c6=_0x3f2d38(_0x1cefc6,0x10),_0x3833f3=_0x1d6985['encrypt'](_0x12e9fd[_0x2b16b2(0x476)](_0x1023c6),_0x288cd4[_0x2b16b2(0x476)](_0x367b7a),{'iv':_0x157cbd,'padding':_0xd9256b});return _0x157cbd['concat'](_0x3833f3[_0x2b16b2(0x3a0)])['toString'](_0x288cd4);}function _0x2ed1ba(){var _0x15240a=_0x491c30;const _0x19ff2b=_0x51c9b3[_0x15240a(0x28a)]()[_0x15240a(0x501)];if(_0x19ff2b){const _0x1f1cfc={'time':Math[_0x15240a(0x372)](Date[_0x15240a(0x375)]()/0x3e8),'domain':location[_0x15240a(0x262)]};return _0x12965a(JSON[_0x15240a(0x4d9)](_0x1f1cfc),_0x19ff2b);}}var _0x26490e=Object['getOwnPropertyDescriptor'],_0x3cac75=(_0x4340e5,_0x2ccef7,_0x4acf7e,_0x53a645)=>{var _0x365f50=_0x491c30;for(var _0x327c01=_0x53a645>0x1?void 0x0:_0x53a645?_0x26490e(_0x2ccef7,_0x4acf7e):_0x2ccef7,_0x5d62a2=_0x4340e5[_0x365f50(0x2ac)]-0x1,_0x1d6ae6;_0x5d62a2>=0x0;_0x5d62a2--)(_0x1d6ae6=_0x4340e5[_0x5d62a2])&&(_0x327c01=_0x1d6ae6(_0x327c01)||_0x327c01);return _0x327c01;},_0x2413b7=(_0x13920d,_0x562ebe)=>(_0x3affe7,_0x226c2a)=>_0x562ebe(_0x3affe7,_0x226c2a,_0x13920d);let _0x1922d9=class{constructor(_0x2a32c5){var _0x1c7bee=_0x491c30;this[_0x1c7bee(0x314)]=_0x2a32c5,this['_initRequestHeader']();}[_0x491c30(0x3f8)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3e6ab6,_0x3295b9)=>{var _0x58cf6c=_0x3855;const _0x138b26=_0x3e6ab6[_0x58cf6c(0x3d2)],_0x574538=_0x2ed1ba();return _0x574538&&_0x138b26[_0x58cf6c(0x34b)](_0x58cf6c(0x33c),_0x574538),_0x3295b9(_0x3e6ab6);}});}};_0x1922d9=_0x3cac75([_0x2413b7(0x0,_0x1aee43['Inject'](_0x30b186[_0x491c30(0x3e2)]))],_0x1922d9);var _0x2c99d0=Object[_0x491c30(0x227)],_0x54a3e8=(_0x2d05e8,_0x4e59d6,_0x5a3bfe,_0x26d152)=>{var _0x15d62b=_0x491c30;for(var _0x2879f4=_0x26d152>0x1?void 0x0:_0x26d152?_0x2c99d0(_0x4e59d6,_0x5a3bfe):_0x4e59d6,_0x5a6c3a=_0x2d05e8[_0x15d62b(0x2ac)]-0x1,_0x1baf92;_0x5a6c3a>=0x0;_0x5a6c3a--)(_0x1baf92=_0x2d05e8[_0x5a6c3a])&&(_0x2879f4=_0x1baf92(_0x2879f4)||_0x2879f4);return _0x2879f4;},_0x2ae7cf=(_0xbc3f74,_0x14f2ff)=>(_0x3a87f0,_0x70d702)=>_0x14f2ff(_0x3a87f0,_0x70d702,_0xbc3f74);_0x134a91[_0x491c30(0x3bd)]=class extends _0x1aee43[_0x491c30(0x46a)]{constructor(_0x156ade,_0x4dc925,_0x435742){var _0x7c1826=_0x491c30;super(),_0x3060b6(this,_0x7c1826(0x226),new _0x263a1d['BehaviorSubject'](null)),_0x3060b6(this,_0x7c1826(0x241),this[_0x7c1826(0x226)][_0x7c1826(0x50e)]()),(this[_0x7c1826(0x412)]=_0x156ade,this['_snapshotService']=_0x4dc925,this[_0x7c1826(0x40b)]=_0x435742);}async[_0x491c30(0x27e)](_0x39b75c,_0x228511,_0x5813d7){var _0x3d66ce=_0x491c30;this[_0x3d66ce(0x226)][_0x3d66ce(0x3ff)]({'unitId':_0x39b75c,'type':_0x228511});let _0x4cbd99=null;switch(_0x228511){case _0x21888e[_0x3d66ce(0x52e)]:{_0x4cbd99=await this[_0x3d66ce(0x2b3)][_0x3d66ce(0x475)](_0x39b75c,_0x5813d7);break;}case _0x21888e[_0x3d66ce(0x491)]:{_0x4cbd99=await this['_snapshotService']['loadDoc'](_0x39b75c,_0x5813d7);break;}default:{this[_0x3d66ce(0x412)][_0x3d66ce(0x364)](_0x3d66ce(0x387),_0x3d66ce(0x287));break;}}return _0x4cbd99;}async['loadUnit'](_0x2c6b5d,_0x12fe85,_0x1970ab){var _0x4ab2e7=_0x491c30,_0x2e7a9a;this['_unitInfo$'][_0x4ab2e7(0x3ff)]({'unitId':_0x2c6b5d,'type':_0x12fe85,'subUnitId':_0x1970ab});let _0x9c1e36=0x0;const _0x43dcf3=await((_0x2e7a9a=this[_0x4ab2e7(0x40b)])==null?void 0x0:_0x2e7a9a[_0x4ab2e7(0x452)](_0x2c6b5d));return _0x43dcf3&&(_0x43dcf3[_0x4ab2e7(0x251)]||_0x43dcf3[_0x4ab2e7(0x2f6)][_0x4ab2e7(0x2ac)]!==0x0)&&(_0x9c1e36=_0x43dcf3[_0x4ab2e7(0x546)]),_0x9c1e36===0x0&&this['_logService'][_0x4ab2e7(0x27f)]('[DataLoaderService]',_0x4ab2e7(0x3c3)),this['loadUnitOfRevision'](_0x2c6b5d,_0x12fe85,_0x9c1e36);}},_0x134a91['DataLoaderService']=_0x54a3e8([_0x2ae7cf(0x0,_0x1aee43['ILogService']),_0x2ae7cf(0x1,_0x1aee43['Inject'](_0x5dc8d1[_0x491c30(0x2f4)])),_0x2ae7cf(0x2,_0x1aee43[_0x491c30(0x33e)](_0x5be19a))],_0x134a91[_0x491c30(0x3bd)]);var _0x102660=Object[_0x491c30(0x227)],_0x41eac6=(_0x3504dd,_0x338552,_0x3b6c06,_0x99f7e5)=>{for(var _0x1dfe24=_0x99f7e5>0x1?void 0x0:_0x99f7e5?_0x102660(_0x338552,_0x3b6c06):_0x338552,_0x500c32=_0x3504dd['length']-0x1,_0x1a6f6d;_0x500c32>=0x0;_0x500c32--)(_0x1a6f6d=_0x3504dd[_0x500c32])&&(_0x1dfe24=_0x1a6f6d(_0x1dfe24)||_0x1dfe24);return _0x1dfe24;},_0xaef56d=(_0xb8ee79,_0x9a31a8)=>(_0x597b75,_0x2e3144)=>_0x9a31a8(_0x597b75,_0x2e3144,_0xb8ee79);const _0x248449=[_0x491c30(0x430),'image/jpeg',_0x491c30(0x36a),_0x491c30(0x466),'image/bmp'],_0x1f0e8a=0x5*0x400*0x400,_0x20b6cc='/universer-api/stream/file/upload',_0x5269bd=_0x491c30(0x51e);_0x134a91[_0x491c30(0x438)]=class{constructor(_0x49cb87,_0x2b9c85,_0x16ef4a){var _0x6f2f8a=_0x491c30;_0x3060b6(this,'_waitCount',0x0),_0x3060b6(this,'_change$',new _0x263a1d[(_0x6f2f8a(0x2d4))]()),_0x3060b6(this,'change$',this['_change$']),_0x3060b6(this,_0x6f2f8a(0x2ec),new Map()),(this[_0x6f2f8a(0x314)]=_0x49cb87,this['_configService']=_0x2b9c85,this[_0x6f2f8a(0x332)]=_0x16ef4a);}[_0x491c30(0x1fc)](_0x170d70){var _0x4835f8=_0x491c30;this[_0x4835f8(0x1e2)]=_0x170d70,this[_0x4835f8(0x374)][_0x4835f8(0x3ff)](_0x170d70);}[_0x491c30(0x291)](_0xabfb2e,_0xec7f12){var _0x5ec665=_0x491c30;if(_0xec7f12===_0x3b99f3[_0x5ec665(0x30c)]['BASE64']){const _0x3457bc=new Image();return _0x3457bc['src']=_0xabfb2e,_0x3457bc;}return this[_0x5ec665(0x2ec)]['get'](_0xabfb2e);}[_0x491c30(0x3b4)](_0x3b53fa,_0x485541,_0x2f7c08){var _0x536e3c=_0x491c30;_0x485541===_0x3b99f3[_0x536e3c(0x30c)][_0x536e3c(0x3a3)]||_0x2f7c08==null||this[_0x536e3c(0x2ec)][_0x536e3c(0x34b)](_0x3b53fa,_0x2f7c08);}async[_0x491c30(0x22b)](_0x33560a){var _0x12450b=_0x491c30;try{const _0x5f5136=this[_0x12450b(0x521)](this[_0x12450b(0x380)](),''+_0x33560a),_0x2cad76=(await this[_0x12450b(0x314)][_0x12450b(0x47c)](_0x5f5136))[_0x12450b(0x4a4)];if(_0x2cad76[_0x12450b(0x364)]&&_0x2cad76[_0x12450b(0x364)]['code']===_0x4b9602['OK']){const _0x2c0387=new URL(_0x2cad76[_0x12450b(0x2bb)],this['_getDownloadEndpointURL']())[_0x12450b(0x53a)]();return Promise[_0x12450b(0x3ef)](_0x2c0387);}return Promise[_0x12450b(0x299)](_0x2cad76[_0x12450b(0x364)]);}catch(_0x1b2774){return Promise[_0x12450b(0x299)](_0x1b2774);}}async[_0x491c30(0x4cc)](_0x5ac6d1){var _0x2a8e66=_0x491c30;let _0x23cf87='';if(!_0x248449[_0x2a8e66(0x28c)](_0x5ac6d1[_0x2a8e66(0x3bb)]))return this[_0x2a8e66(0x3b8)](),Promise[_0x2a8e66(0x299)](new Error(_0x3b99f3[_0x2a8e66(0x316)][_0x2a8e66(0x216)]));if(_0x5ac6d1['size']>_0x1f0e8a)return this[_0x2a8e66(0x3b8)](),Promise[_0x2a8e66(0x299)](new Error(_0x3b99f3[_0x2a8e66(0x316)]['ERROR_EXCEED_SIZE']));try{const _0x453b7b=new FormData();_0x453b7b[_0x2a8e66(0x418)](_0x2a8e66(0x3db),_0x5ac6d1);const _0x56ded0=this[_0x2a8e66(0x332)][_0x2a8e66(0x4fd)](),_0x443bf9=_0x56ded0==null?void 0x0:_0x56ded0['getUnitId']();if(!_0x443bf9)throw new Error('unitId\x20is\x20not\x20found');const _0x26886a=this[_0x2a8e66(0x4ab)]()+'?size='+_0x5ac6d1['size'][_0x2a8e66(0x53a)]()+_0x2a8e66(0x4ad)+_0x3b9007['UnitEmbedded']+_0x2a8e66(0x256)+encodeURIComponent(_0x443bf9),_0x2c539c={'body':_0x453b7b},_0xeb6367=(await this[_0x2a8e66(0x314)][_0x2a8e66(0x482)](_0x26886a,_0x2c539c))[_0x2a8e66(0x4a4)];if(typeof _0xeb6367[_0x2a8e66(0x228)]!=_0x2a8e66(0x4eb))return this['_decreaseWaiting'](),Promise[_0x2a8e66(0x299)](new Error(_0x3b99f3[_0x2a8e66(0x316)][_0x2a8e66(0x207)]));_0x23cf87=_0xeb6367['FileId'];}catch{return this[_0x2a8e66(0x3b8)](),Promise[_0x2a8e66(0x299)](new Error(_0x3b99f3[_0x2a8e66(0x316)][_0x2a8e66(0x207)]));}return new Promise((_0x4a025e,_0x1be92e)=>{var _0x2314f7=_0x2a8e66;const _0x480b40=new FileReader();_0x480b40[_0x2314f7(0x4ac)](_0x5ac6d1),_0x480b40[_0x2314f7(0x54e)]=_0x4236e7=>{var _0x294770=_0x2314f7,_0x15acc6;const _0x3c2c7e=(_0x15acc6=_0x4236e7[_0x294770(0x1ec)])==null?void 0x0:_0x15acc6[_0x294770(0x4d8)];if(_0x3c2c7e==null){this['_decreaseWaiting'](),_0x1be92e(new Error(_0x3b99f3['ImageUploadStatusType'][_0x294770(0x207)]));return;}const _0x38c9fa=_0x1aee43[_0x294770(0x38f)](0x6);_0x4a025e({'imageId':_0x38c9fa,'imageSourceType':_0x3b99f3[_0x294770(0x30c)][_0x294770(0x250)],'source':_0x23cf87,'base64Cache':_0x3c2c7e,'status':_0x3b99f3[_0x294770(0x316)][_0x294770(0x3a6)]}),this[_0x294770(0x3b8)]();};});}[_0x491c30(0x4ab)](){var _0x1e42e5=_0x491c30,_0x3ae840;const _0x44765a=this[_0x1e42e5(0x35f)][_0x1e42e5(0x214)](_0x31ee8c);return(_0x3ae840=_0x44765a==null?void 0x0:_0x44765a[_0x1e42e5(0x44c)])!=null?_0x3ae840:_0x20b6cc;}[_0x491c30(0x380)](){var _0x10ac29=_0x491c30,_0x34515c;const _0x5d547=this[_0x10ac29(0x35f)][_0x10ac29(0x214)](_0x31ee8c);return(_0x34515c=_0x5d547==null?void 0x0:_0x5d547[_0x10ac29(0x461)])!=null?_0x34515c:_0x5269bd;}['_getDownloadEndpointURL'](){var _0x47afa7=_0x491c30,_0x4c8a2d;const _0x46a918=this[_0x47afa7(0x35f)][_0x47afa7(0x214)](_0x31ee8c);return(_0x4c8a2d=_0x46a918==null?void 0x0:_0x46a918['downloadEndpointUrl'])!=null?_0x4c8a2d:location['origin'];}[_0x491c30(0x521)](_0x25c574,_0x3ea75f){var _0x1b828b=_0x491c30;return _0x25c574[_0x1b828b(0x2ed)](_0x1b828b(0x29f),_0x3ea75f);}[_0x491c30(0x3b8)](){var _0xb311c=_0x491c30;this[_0xb311c(0x1e2)]-=0x1,this[_0xb311c(0x374)][_0xb311c(0x3ff)](this[_0xb311c(0x1e2)]);}},_0x134a91['CollaborationImageIoService']=_0x41eac6([_0xaef56d(0x0,_0x1aee43[_0x491c30(0x21b)](_0x30b186[_0x491c30(0x3e2)])),_0xaef56d(0x1,_0x1aee43[_0x491c30(0x4f5)]),_0xaef56d(0x2,_0x1aee43['Inject'](_0x1aee43[_0x491c30(0x2d6)]))],_0x134a91[_0x491c30(0x438)]);var _0x74b15b=Object[_0x491c30(0x227)],_0x26512c=(_0x1ff026,_0x2fcdf8,_0x1863b3,_0x1f16d2)=>{var _0x1ef445=_0x491c30;for(var _0x5e9bfe=_0x1f16d2>0x1?void 0x0:_0x1f16d2?_0x74b15b(_0x2fcdf8,_0x1863b3):_0x2fcdf8,_0x3369e4=_0x1ff026[_0x1ef445(0x2ac)]-0x1,_0x5e0839;_0x3369e4>=0x0;_0x3369e4--)(_0x5e0839=_0x1ff026[_0x3369e4])&&(_0x5e9bfe=_0x5e0839(_0x5e9bfe)||_0x5e9bfe);return _0x5e9bfe;},_0x3ad527=(_0x30866f,_0x4f710b)=>(_0x53c23e,_0x2bb0ba)=>_0x4f710b(_0x53c23e,_0x2bb0ba,_0x30866f);const _0xee67ca=_0x491c30(0x254);_0x134a91['MentionIoHttpService']=class{constructor(_0x3fc89e,_0x15d765){var _0x3bc89f=_0x491c30;this[_0x3bc89f(0x35f)]=_0x3fc89e,this[_0x3bc89f(0x502)]=_0x15d765;}['_getAPIPrefixPath'](){var _0x1329d1=_0x491c30,_0x958b4f;const _0x5e308b=this[_0x1329d1(0x35f)][_0x1329d1(0x214)](_0x31ee8c);return(_0x958b4f=_0x5e308b==null?void 0x0:_0x5e308b[_0x1329d1(0x1ef)])!=null?_0x958b4f:_0xee67ca;}async[_0x491c30(0x306)](_0x1fa9bb){var _0x51ea11=_0x491c30;const _0x26422c=this[_0x51ea11(0x354)]()+'/collaborator';return{'list':[{'title':_0x51ea11(0x301),'mentions':(await this[_0x51ea11(0x502)][_0x51ea11(0x47c)](_0x26422c,{'params':{'objectID':_0x1fa9bb[_0x51ea11(0x4a0)],'unitID':_0x1fa9bb[_0x51ea11(0x4a0)]}}))[_0x51ea11(0x4a4)][_0x51ea11(0x26a)][_0x51ea11(0x2cc)](_0x3de992=>({'objectId':_0x3de992['id'],'name':_0x3de992[_0x51ea11(0x2bf)][_0x51ea11(0x43b)],'metadata':{'icon':_0x3de992[_0x51ea11(0x2bf)][_0x51ea11(0x342)]},'label':_0x3de992[_0x51ea11(0x2bf)][_0x51ea11(0x43b)],'objectType':_0x1aee43['MentionType'][_0x51ea11(0x52b)]})),'metadata':{},'type':_0x1aee43[_0x51ea11(0x2f1)][_0x51ea11(0x52b)]}]};}},_0x134a91[_0x491c30(0x52d)]=_0x26512c([_0x3ad527(0x0,_0x1aee43[_0x491c30(0x21b)](_0x1aee43[_0x491c30(0x4f5)])),_0x3ad527(0x1,_0x1aee43[_0x491c30(0x21b)](_0x30b186[_0x491c30(0x3e2)]))],_0x134a91[_0x491c30(0x52d)]);var _0x5c70bb=Object[_0x491c30(0x227)],_0x185ef2=(_0x54a4d9,_0x4af81e,_0x4729ed,_0xf664f3)=>{var _0x1a6a4c=_0x491c30;for(var _0x33de47=_0xf664f3>0x1?void 0x0:_0xf664f3?_0x5c70bb(_0x4af81e,_0x4729ed):_0x4af81e,_0x6b0fa4=_0x54a4d9[_0x1a6a4c(0x2ac)]-0x1,_0x46cfe7;_0x6b0fa4>=0x0;_0x6b0fa4--)(_0x46cfe7=_0x54a4d9[_0x6b0fa4])&&(_0x33de47=_0x46cfe7(_0x33de47)||_0x33de47);return _0x33de47;},_0x17b278=(_0x230edf,_0x14dcb6)=>(_0x54989a,_0x2a50b6)=>_0x14dcb6(_0x54989a,_0x2a50b6,_0x230edf);let _0x1dbd54=class extends _0x1aee43['RxDisposable']{constructor(_0x59cc6b,_0x5c5836,_0x57e781,_0x435215,_0x3cb727){var _0x4b74b5=_0x491c30;super(),this[_0x4b74b5(0x3f3)]=_0x59cc6b,this[_0x4b74b5(0x332)]=_0x5c5836,this[_0x4b74b5(0x429)]=_0x57e781,this[_0x4b74b5(0x2b8)]=_0x435215,this[_0x4b74b5(0x484)]=_0x3cb727,this[_0x4b74b5(0x2e3)](),this[_0x4b74b5(0x3ae)]();}[_0x491c30(0x3ae)](){var _0x2a1bed=_0x491c30;const _0x4e8d19=async _0x5ca7f0=>{var _0x2feb2d=_0x3855;(await this[_0x2feb2d(0x2b8)][_0x2feb2d(0x27b)](_0x5ca7f0))['event$']['pipe'](_0x5b935f['filter'](_0x388e2d=>_0x388e2d['eventID']===_0x5dc8d1[_0x2feb2d(0x43e)][_0x2feb2d(0x548)]),_0x5b935f['takeUntil'](this[_0x2feb2d(0x310)]))['subscribe'](_0x98d57d=>{var _0x27b74c=_0x2feb2d;const _0xaa1d20=_0x98d57d,{reason:_0x104793}=_0xaa1d20[_0x27b74c(0x3a7)];this['_collaborationUIEventService']['emitEvent']({'id':_0x1c4c73[_0x27b74c(0x4e5)],'data':_0x104793}),this['_permissionService'][_0x27b74c(0x439)](new _0x4828a8[(_0x27b74c(0x24f))](_0x5ca7f0)['id'],!0x1),this[_0x27b74c(0x2b8)][_0x27b74c(0x1e1)](_0x5ca7f0);});};_0x263a1d[_0x2a1bed(0x20d)](this['_univerInstanceService'][_0x2a1bed(0x22e)](_0x1aee43[_0x2a1bed(0x471)][_0x2a1bed(0x52e)]),this[_0x2a1bed(0x332)][_0x2a1bed(0x22e)](_0x1aee43[_0x2a1bed(0x471)][_0x2a1bed(0x491)]))[_0x2a1bed(0x2c0)](_0x5b935f[_0x2a1bed(0x2cc)](_0x1b4a31=>_0x1b4a31[_0x2a1bed(0x31c)]()),_0x5b935f[_0x2a1bed(0x503)](_0x5eaf40=>!_0x1aee43[_0x2a1bed(0x488)](_0x5eaf40)),_0x5b935f[_0x2a1bed(0x4f4)](this[_0x2a1bed(0x310)]))[_0x2a1bed(0x3e1)](_0x395ec9=>{_0x4e8d19(_0x395ec9);});}[_0x491c30(0x2e3)](){var _0x1de1b1=_0x491c30;const _0x42b39b=async _0x58c5cf=>{var _0x5c861c=_0x3855;const _0x31627e=await this[_0x5c861c(0x2b8)][_0x5c861c(0x27b)](_0x58c5cf),_0x3c07eb=this[_0x5c861c(0x3f3)][_0x5c861c(0x47c)](_0x4828a8['SheetPermissionInitController']);_0x31627e[_0x5c861c(0x519)][_0x5c861c(0x2c0)](_0x5b935f['filter'](_0x639585=>_0x639585['eventID']===_0x5dc8d1['CollaborationEvent'][_0x5c861c(0x4bc)]),_0x5b935f[_0x5c861c(0x4f4)](this[_0x5c861c(0x310)]))[_0x5c861c(0x3e1)](_0x17b4a1=>{var _0x449a7c=_0x5c861c;const _0x5e57f9=_0x17b4a1,{objectId:_0x3555d9}=_0x5e57f9['data'];_0x3555d9===_0x58c5cf?_0x3c07eb[_0x449a7c(0x386)](_0x58c5cf):_0x3c07eb[_0x449a7c(0x4b6)](_0x58c5cf,_0x3555d9);});};_0x263a1d[_0x1de1b1(0x20d)](this[_0x1de1b1(0x332)][_0x1de1b1(0x22e)](_0x1aee43['UniverInstanceType']['UNIVER_SHEET']))[_0x1de1b1(0x2c0)](_0x5b935f[_0x1de1b1(0x2cc)](_0x5b4952=>_0x5b4952[_0x1de1b1(0x31c)]()),_0x5b935f['filter'](_0x4d89d1=>!_0x1aee43[_0x1de1b1(0x488)](_0x4d89d1)),_0x5b935f[_0x1de1b1(0x4f4)](this[_0x1de1b1(0x310)]))[_0x1de1b1(0x3e1)](_0x16fdf8=>{_0x42b39b(_0x16fdf8);});}};_0x1dbd54=_0x185ef2([_0x17b278(0x0,_0x1aee43['Inject'](_0x1aee43[_0x491c30(0x1f7)])),_0x17b278(0x1,_0x1aee43[_0x491c30(0x2d6)]),_0x17b278(0x2,_0x1aee43[_0x491c30(0x384)]),_0x17b278(0x3,_0x1aee43[_0x491c30(0x21b)](_0x134a91[_0x491c30(0x52f)])),_0x17b278(0x4,_0x1aee43[_0x491c30(0x21b)](_0x207917))],_0x1dbd54);var _0x369f7b=Object['getOwnPropertyDescriptor'],_0x47de3b=(_0x424ad8,_0x56da9a,_0x39faff,_0x2c43a5)=>{for(var _0x4f9767=_0x2c43a5>0x1?void 0x0:_0x2c43a5?_0x369f7b(_0x56da9a,_0x39faff):_0x56da9a,_0x521af1=_0x424ad8['length']-0x1,_0x419164;_0x521af1>=0x0;_0x521af1--)(_0x419164=_0x424ad8[_0x521af1])&&(_0x4f9767=_0x419164(_0x4f9767)||_0x4f9767);return _0x4f9767;},_0x5e35c5=(_0x124708,_0x27e1fe)=>(_0x4a64bc,_0x1de6c8)=>_0x27e1fe(_0x4a64bc,_0x1de6c8,_0x124708);_0x134a91[_0x491c30(0x2e8)]=class{constructor(_0x1412a5,_0x336c9e){var _0x427f07=_0x491c30;this[_0x427f07(0x35f)]=_0x1412a5,this['_httpService']=_0x336c9e;}async[_0x491c30(0x516)](_0x35db59,_0x2b14c0){var _0x3c37b6=_0x491c30,_0xcbfbaa;const {unitID:_0x40b46e,type:_0x43cf50,revision:_0x208fa0=0x0}=_0x2b14c0,_0x5b67a0=this[_0x3c37b6(0x35e)]()+'/'+_0x43cf50+_0x3c37b6(0x1f6)+_0x40b46e+_0x3c37b6(0x2b7)+_0x208fa0,_0x28b126=(await this[_0x3c37b6(0x314)][_0x3c37b6(0x47c)](_0x5b67a0))[_0x3c37b6(0x4a4)],_0x3e5abc=(_0xcbfbaa=_0x28b126[_0x3c37b6(0x358)])==null?void 0x0:_0xcbfbaa[_0x3c37b6(0x46e)];if(_0x3e5abc){const _0x39a2a2=_0x3e5abc==null?void 0x0:_0x3e5abc[_0x3c37b6(0x522)],_0x4ad52b=_0x5dc8d1['textEncoder'][_0x3c37b6(0x42d)](_0x5dc8d1[_0x3c37b6(0x465)](_0x39a2a2));_0x3e5abc[_0x3c37b6(0x522)]=_0x4ad52b,Object[_0x3c37b6(0x24c)](_0x3e5abc[_0x3c37b6(0x3ea)])[_0x3c37b6(0x4e3)](([,_0x1f5bd7])=>{var _0xb31b49=_0x3c37b6;const _0x34e4d7=_0x1f5bd7[_0xb31b49(0x522)],_0x4e1f7f=_0x5dc8d1['textEncoder'][_0xb31b49(0x42d)](_0x5dc8d1['b64DecodeUnicode'](_0x34e4d7));_0x1f5bd7[_0xb31b49(0x522)]=_0x4e1f7f;});}return _0x28b126;}async[_0x491c30(0x27c)](_0x425d0f,_0xafcee8){var _0x1cb5f8=_0x491c30;const {unitID:_0x3047f4,type:_0x12180e,blockID:_0x5438e7}=_0xafcee8,_0x515804=this[_0x1cb5f8(0x1fd)]()+'/'+_0x12180e+_0x1cb5f8(0x1f6)+_0x3047f4+'/block/'+_0x5438e7;return(await this['_httpService']['get'](_0x515804))[_0x1cb5f8(0x4a4)];}async['getDeserializedSheetBlock'](_0x5604a6,_0x206a9a){var _0x3919f2=_0x491c30;const {unitID:_0x251139,type:_0x258ccb,blockID:_0x5e375f}=_0x206a9a,_0x171a7a=this[_0x3919f2(0x1fd)]()+'/block/'+_0x258ccb+_0x3919f2(0x1f6)+_0x251139+_0x3919f2(0x4fe)+_0x5e375f;return(await this[_0x3919f2(0x314)]['get'](_0x171a7a))['body'];}async['fetchMissingChangesets'](_0x316778,_0x663947){var _0x5cf9b1=_0x491c30;const {unitID:_0x521036,type:_0x2d2f9a,from:_0x1eccad,to:_0x14c36d}=_0x663947,_0x1c28d6=this[_0x5cf9b1(0x1fd)]()+'/'+_0x2d2f9a+'/unit/'+_0x521036+_0x5cf9b1(0x219)+_0x1eccad+_0x5cf9b1(0x344)+_0x14c36d;return(await this[_0x5cf9b1(0x314)][_0x5cf9b1(0x47c)](_0x1c28d6))['body'];}[_0x491c30(0x35e)](){var _0x1f3666=_0x491c30,_0x4cd895;return(_0x4cd895=this[_0x1f3666(0x35f)]['getConfig'](_0x34630e))!=null?_0x4cd895:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x3b8353=_0x491c30,_0x3f4567;const _0x4ec79a=this[_0x3b8353(0x35f)][_0x3b8353(0x214)](_0x31ee8c);return(_0x3f4567=_0x4ec79a==null?void 0x0:_0x4ec79a[_0x3b8353(0x231)])!=null?_0x3f4567:_0x10f6a8;}async[_0x491c30(0x25c)](_0x37c95f,_0x2657f9){var _0x38cf9a=_0x491c30;const _0x39ffd9='/universer-api/snapshot/'+_0x2657f9[_0x38cf9a(0x3bb)]+_0x38cf9a(0x1f6)+_0x2657f9['unitID']+_0x38cf9a(0x286);return(await this[_0x38cf9a(0x314)][_0x38cf9a(0x47c)](_0x39ffd9,{'params':{'resourceId':JSON[_0x38cf9a(0x4d9)](_0x2657f9[_0x38cf9a(0x3d5)])}}))[_0x38cf9a(0x4a4)];}[_0x491c30(0x3f0)](){var _0x3d43ee=_0x491c30;throw new Error(_0x3d43ee(0x4d5));}[_0x491c30(0x23f)](){var _0x2409cd=_0x491c30;throw new Error(_0x2409cd(0x4d5));}[_0x491c30(0x34a)](){var _0x5de5a0=_0x491c30;throw new Error(_0x5de5a0(0x4d5));}[_0x491c30(0x36f)](){var _0x996e01=_0x491c30;throw new Error(_0x996e01(0x4d5));}[_0x491c30(0x2e2)](){var _0x27067c=_0x491c30;throw new Error(_0x27067c(0x4d5));}[_0x491c30(0x416)](){var _0x27bf57=_0x491c30;throw new Error(_0x27bf57(0x4d5));}},_0x134a91[_0x491c30(0x2e8)]=_0x47de3b([_0x5e35c5(0x0,_0x1aee43[_0x491c30(0x4f5)]),_0x5e35c5(0x1,_0x1aee43[_0x491c30(0x21b)](_0x30b186[_0x491c30(0x3e2)]))],_0x134a91['SnapshotServerOverHTTPService']);var _0x2ef7d2=Object[_0x491c30(0x227)],_0xfaefd=(_0x33ba45,_0x2ae854,_0x3c211a,_0xe46cd7)=>{var _0x3414d8=_0x491c30;for(var _0xdfe1d1=_0xe46cd7>0x1?void 0x0:_0xe46cd7?_0x2ef7d2(_0x2ae854,_0x3c211a):_0x2ae854,_0x3c1408=_0x33ba45[_0x3414d8(0x2ac)]-0x1,_0x14625e;_0x3c1408>=0x0;_0x3c1408--)(_0x14625e=_0x33ba45[_0x3c1408])&&(_0xdfe1d1=_0x14625e(_0xdfe1d1)||_0xdfe1d1);return _0xdfe1d1;},_0x2cb630=(_0x55e153,_0x1985a8)=>(_0x2e5953,_0x4a975c)=>_0x1985a8(_0x2e5953,_0x4a975c,_0x55e153);_0x134a91[_0x491c30(0x469)]=class extends _0x1aee43[_0x491c30(0x1e7)]{constructor(_0xdbd3a8,_0x58e83b,_0xde9012,_0x23517d,_0x3892b6){var _0x201f21=_0x491c30;super(_0xdbd3a8,_0x58e83b,_0xde9012),this[_0x201f21(0x2ad)]=_0x23517d,this['_logService']=_0x3892b6;}[_0x491c30(0x472)](_0x343a38,_0x5892f0){var _0x1e79f7=_0x491c30;const _0x45334f=this[_0x1e79f7(0x389)](_0x343a38);if(_0x45334f)try{const _0x5d4d56=this[_0x1e79f7(0x32e)](_0x45334f,_0x5892f0);this[_0x1e79f7(0x52c)](_0x343a38,_0x5d4d56);}catch(_0x5c3e0d){this['_logService']['error'](_0x1e79f7(0x218),_0x5c3e0d),this[_0x1e79f7(0x2b5)](_0x343a38);}const _0x461d05=this[_0x1e79f7(0x3e9)](_0x343a38);if(_0x461d05)try{const _0x536ea8=this[_0x1e79f7(0x32e)](_0x461d05,_0x5892f0);this['_substituteRedoStack'](_0x343a38,_0x536ea8);}catch(_0x298d40){this[_0x1e79f7(0x412)][_0x1e79f7(0x364)](_0x298d40),this[_0x1e79f7(0x559)](_0x343a38);}}['_clearUndo'](_0x1ba5e3){var _0x16b219=_0x491c30;const _0x3034d5=this[_0x16b219(0x389)](_0x1ba5e3);_0x3034d5&&(_0x3034d5[_0x16b219(0x2ac)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x366f34){var _0x11b172=_0x491c30;const _0x1f3d65=this[_0x11b172(0x3e9)](_0x366f34);_0x1f3d65&&(_0x1f3d65[_0x11b172(0x2ac)]=0x0,this[_0x11b172(0x295)]());}[_0x491c30(0x52c)](_0x35882e,_0x27c7b5){var _0x42e4a6=_0x491c30;this[_0x42e4a6(0x345)][_0x42e4a6(0x34b)](_0x35882e,_0x27c7b5),this['_updateStatus']();}['_substituteRedoStack'](_0x5857be,_0x43e819){var _0xdfcd24=_0x491c30;this[_0xdfcd24(0x4b2)]['set'](_0x5857be,_0x43e819),this['_updateStatus']();}[_0x491c30(0x32e)](_0x2912ee,_0x3f4768){var _0x50be5e=_0x491c30;const _0x2464bc=[];let _0x1b91f4=_0x3f4768,_0x32dbb0=_0x3f4768;for(let _0x307812=_0x2912ee[_0x50be5e(0x2ac)]-0x1;_0x307812>=0x0;_0x307812--){const {unitID:_0x58b6ea,undoMutations:_0x1fcc61,redoMutations:_0x32869c}=_0x2912ee[_0x307812],_0x4d7cd7=this[_0x50be5e(0x2ad)][_0x50be5e(0x508)](_0x1b91f4,_0x1fcc61),_0x2360ec=this[_0x50be5e(0x2ad)]['transformMutationsWithChangeset'](_0x32dbb0,_0x32869c);if(_0x5dc8d1['isTransformMutationsWithChangesetFailure'](_0x4d7cd7)||_0x5dc8d1['isTransformMutationsWithChangesetFailure'](_0x2360ec)){this[_0x50be5e(0x412)][_0x50be5e(0x364)](_0x50be5e(0x218),_0x50be5e(0x2f7),_0x4d7cd7,_0x2360ec);break;}_0x1b91f4=_0x4d7cd7[_0x50be5e(0x323)],_0x32dbb0=_0x2360ec[_0x50be5e(0x323)],_0x2464bc[_0x50be5e(0x35a)]({'unitID':_0x58b6ea,'undoMutations':_0x4d7cd7['m2Prime'],'redoMutations':_0x2360ec['m2Prime']});}return _0x2464bc['reverse']();}},_0x134a91[_0x491c30(0x469)]=_0xfaefd([_0x2cb630(0x0,_0x1aee43['IUniverInstanceService']),_0x2cb630(0x1,_0x1aee43[_0x491c30(0x357)]),_0x2cb630(0x2,_0x1aee43[_0x491c30(0x558)]),_0x2cb630(0x3,_0x5dc8d1[_0x491c30(0x223)]),_0x2cb630(0x4,_0x1aee43[_0x491c30(0x247)])],_0x134a91[_0x491c30(0x469)]);var _0x34f682=Object[_0x491c30(0x33b)],_0x28a1f3=Object[_0x491c30(0x227)],_0x13a85e=(_0x1c7577,_0x37bffe,_0x3e952d)=>_0x37bffe in _0x1c7577?_0x34f682(_0x1c7577,_0x37bffe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e952d}):_0x1c7577[_0x37bffe]=_0x3e952d,_0x50c5e6=(_0x459874,_0x189409,_0x3a0172,_0x3e9afc)=>{var _0x35c07f=_0x491c30;for(var _0x1fb98f=_0x3e9afc>0x1?void 0x0:_0x3e9afc?_0x28a1f3(_0x189409,_0x3a0172):_0x189409,_0x2612b9=_0x459874[_0x35c07f(0x2ac)]-0x1,_0x127926;_0x2612b9>=0x0;_0x2612b9--)(_0x127926=_0x459874[_0x2612b9])&&(_0x1fb98f=_0x127926(_0x1fb98f)||_0x1fb98f);return _0x1fb98f;},_0x24addf=(_0x211109,_0x5bb3d4)=>(_0x409e7a,_0x55c8f3)=>_0x5bb3d4(_0x409e7a,_0x55c8f3,_0x211109),_0x2abff8=(_0x11c263,_0x5b054d,_0x13c38e)=>_0x13a85e(_0x11c263,_0x5b054d+'',_0x13c38e);const _0xbae7b1=_0x491c30(0x346);_0x134a91[_0x491c30(0x4a3)]=class extends _0x1aee43[_0x491c30(0x285)]{constructor(_0x127347,_0x23b371,_0x7ad7b3,_0x7e3251){var _0x26881e=_0x491c30;super(),_0x3060b6(this,_0x26881e(0x383)),(this[_0x26881e(0x412)]=_0x23b371,this[_0x26881e(0x3f3)]=_0x7ad7b3,this[_0x26881e(0x35f)]=_0x7e3251);const {..._0x54252c}=_0x1aee43[_0x26881e(0x20d)]({},_0x4437b2,_0x127347);if(!_0x54252c[_0x26881e(0x55c)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x26881e(0x383)]=_0x54252c,this[_0x26881e(0x35f)]['setConfig'](_0x31ee8c,_0x54252c);}[_0x491c30(0x30d)](){var _0x4a5da2=_0x491c30;this[_0x4a5da2(0x32c)](),this['_initDependencies']();}[_0x491c30(0x32c)](){var _0x360423=_0x491c30,_0x24ec66,_0x575a47;this[_0x360423(0x3f3)][_0x360423(0x4ee)](_0x1aee43[_0x360423(0x55e)])&&this[_0x360423(0x412)][_0x360423(0x364)](_0x360423(0x1fb),_0x360423(0x369));const _0x124b07=_0x1aee43[_0x360423(0x3ca)]([[_0x1aee43['IUndoRedoService'],{'useClass':_0x134a91[_0x360423(0x469)]}],[_0x134a91[_0x360423(0x52f)]],[_0x134a91[_0x360423(0x49c)]],[_0x134a91[_0x360423(0x343)]],[_0x214ca9],[_0x1922d9],[_0x59665d],[_0x1dbd54],[_0x207917],[_0x134a91[_0x360423(0x3bd)]],[_0x4d0072,{'useClass':this['_config'][_0x360423(0x55c)]}],[_0x5dc8d1['ISnapshotServerService'],{'useClass':_0x134a91[_0x360423(0x2e8)]}],[_0x1aee43['IAuthzIoService'],{'useClass':_0x134a91['AuthzIoHttpService']}],[_0x3b99f3['IImageIoService'],{'useClass':_0x134a91['CollaborationImageIoService']}],[_0x1aee43[_0x360423(0x1e9)],{'useClass':_0x134a91['MentionIoHttpService']}],[_0x134a91['CollaborationController']],[_0x3d2400]],(_0x24ec66=this[_0x360423(0x383)])==null?void 0x0:_0x24ec66[_0x360423(0x268)]);if(!((_0x575a47=this['_config'])!=null&&_0x575a47[_0x360423(0x402)])){const _0x1f329b=_0x124b07['findIndex'](([_0x34dea4])=>_0x34dea4===_0x4f95d4);_0x1f329b!==-0x1&&_0x124b07[_0x360423(0x550)](_0x1f329b,0x1);}_0x1aee43[_0x360423(0x2de)](this[_0x360423(0x3f3)],_0x124b07);}['_initDependencies'](){var _0x498c1b=_0x491c30,_0x188879,_0xb717cb,_0x599753;this[_0x498c1b(0x3f3)][_0x498c1b(0x47c)](_0x30b186[_0x498c1b(0x3e2)])[_0x498c1b(0x3ad)]({'priority':0x14,'interceptor':_0x30b186[_0x498c1b(0x347)]({'maxParallel':0x6})}),(_0x188879=this[_0x498c1b(0x383)])!=null&&_0x188879[_0x498c1b(0x47d)]||(_0xb717cb=this[_0x498c1b(0x3f3)][_0x498c1b(0x47c)](_0x5be19a,_0x1aee43[_0x498c1b(0x534)][_0x498c1b(0x293)]))==null||_0xb717cb['disableLocalCache'](),(_0x599753=this[_0x498c1b(0x383)])!=null&&_0x599753['enableAuthServer']&&_0x1aee43['touchDependencies'](this['_injector'],[[_0x214ca9]]),_0x1aee43[_0x498c1b(0x34f)](this['_injector'],[[_0x1922d9],[_0x134a91['CollaborationController']],[_0x1dbd54]]);}},_0x2abff8(_0x134a91[_0x491c30(0x4a3)],_0x491c30(0x48c),_0xbae7b1),_0x134a91[_0x491c30(0x4a3)]=_0x50c5e6([_0x1aee43[_0x491c30(0x278)](_0x5dc8d1[_0x491c30(0x3ac)],_0x30b186[_0x491c30(0x37a)]),_0x24addf(0x1,_0x1aee43[_0x491c30(0x247)]),_0x24addf(0x2,_0x1aee43['Inject'](_0x1aee43[_0x491c30(0x1f7)])),_0x24addf(0x3,_0x1aee43['IConfigService'])],_0x134a91['UniverCollaborationClientPlugin']),_0x134a91[_0x491c30(0x2c7)]=_0x31ee8c,_0x134a91[_0x491c30(0x35b)]=_0x1ea918,_0x134a91[_0x491c30(0x2be)]=_0x1c4c73,_0x134a91[_0x491c30(0x436)]=_0x207917,_0x134a91[_0x491c30(0x38e)]=_0x59665d,_0x134a91[_0x491c30(0x557)]=_0x58caa1,_0x134a91[_0x491c30(0x35c)]=_0xe7b935,_0x134a91['DEFAULT_WS_SESSION_TICKET_URL']=_0x399e73,_0x134a91[_0x491c30(0x2fe)]=_0x4b1749,_0x134a91['HEARTBEAT_TIMEOUT_KEY']=_0xc1b840,_0x134a91['ICollaborationSocketService']=_0x4d0072,_0x134a91['ILocalCacheService']=_0x5be19a,_0x134a91[_0x491c30(0x391)]=_0x231a8e,_0x134a91[_0x491c30(0x2b0)]=_0x4f95d4,_0x134a91[_0x491c30(0x28e)]=0x3e8,_0x134a91[_0x491c30(0x370)]=_0x937c0b,_0x134a91[_0x491c30(0x49d)]=_0x59d240,_0x134a91['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x48d807,_0x134a91['SessionStatus']=_0x4d7505,_0x134a91[_0x491c30(0x2df)]=_0x3d70c2,_0x134a91[_0x491c30(0x4fb)]=_0x49e54e,_0x134a91[_0x491c30(0x273)]=_0x2ff173,_0x134a91[_0x491c30(0x267)]=_0x59c7fa,Object['defineProperty'](_0x134a91,Symbol[_0x491c30(0x237)],{'value':_0x491c30(0x3bf)});}));function _0x525c(){var _0x87a2c1=['LEAVE','\x20-\x20','resolve','saveSnapshot','sid','APPLY_DUPLICATED','_injector','CHANGESET_SHOULD_RETRY','shouldCloseConn','session.room-full','_handler','_initRequestHeader','editingUnit','getActiveSheet','Encryptor','open$','memberID','COMPRESS_MUTATION_SEND','next','operators','_executeRemoteChangeset','enableSingleActiveInstanceLock','sigBytes','_retryConnectingTimer','_waitForHeartbeatResponse','_tryEnsureSocket','LOGIN_FAILED','_getCtorByUniverType','HMAC','random','_localCacheService','_networkConditionService','LICENSE_EXPORT_SIZE_EXCEEDED','_onUserJoin','SUBMIT_CHANGESET_TIMEOUT','LICENSE_MAX_UNITS_EXCEEDED','[SyncedState]:\x20received\x20acknowledgement.','_logService','newCsEvent','collaboration-client.config','Error\x20on\x20receiving\x20event','getLatestCsReqIdBySid','firstValueFrom','append','onTransformRemoteChangesetByIMECache','iterations','sessionStatus','clamp','onCommandExecuted','USERS_LEAVE','_type','_submitChangeset','JOIN','_createInitialState','_data','YUUMI_URL_COL_OUT_OF_RANGE','UNKNOWN_CMD','routeKey','_iv','toggleOffline','_permissionService','encodeURIComponent','rxjs','uuidv4','encode','_transformSelections','concatMap','image/png','[OfflineState]:\x20received\x20changeset.','sendChangesetTimeout','unpad','_clearRetryConnectingTimer','SerializableCipher','CollaborationUIEventService','_updateState','CollaborationImageIoService','updatePermissionPoint','_sender','name','_eventService','method','CollaborationEvent','onTransformRemoteChangesetByStateCache','_oKey','onlyLocal','[PendingState]:\x20received\x20acknowledgement.','HEARTBEAT_INTERVAL','permissionRejEvent','_undoRedoService','[CollaborationEntity]','csRejEvent','_collaborationPaused','_syncEditingCollabCursor','onSendChangeset','revision','uploadFileServerUrl','put','_state$','_onRemoteRetry','APPLY_REVISION_CONFILICT','amd','loadOfflineData','HttpExport','onCommentUpdate','uniscriptRunEvent','AwaitingState','withCredentials','_handlerCallback','SetSelectionsOperation','[PendingState]:\x20unhandled\x20univer\x20type:\x20','csShouldRetryEvent','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','$super','ITelemetryService','repeat','_unlockTransition','signUrlServerUrl','PY_RUNTIME_SCRIPT_ERROR','status','updateMember','b64DecodeUnicode','image/gif','Hex','_onConnectionFailed','CollaborativeUndoRedoService','RxDisposable','Base','editing\x20status\x20changed\x20to','fromCollab','workbook','session.room-permission-denied','_createHmacHelper','UniverInstanceType','transformUndoRedo','putCollaborators','_telemetryService','loadSheet','parse','setCurrentUser','YUUMI_NO_CUBOID_FOR_QUESTION','/collaborator','confirm','format','get','enableOfflineEditing','LIVESHARE_REQUEST_HOST','getCurrentUser','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onRemoteAck','post','patch','_collaborationUIEventService','getCollabEntity','JSONX','UNRECOGNIZED','isInternalEditorID','NO_OTHER_CLIENTS_EDITING','loginUrlKey','DEFAULT_FILE_NAME','pluginName','_init','1611630axbbDX','pauseCollaboration','CommandType','UNIVER_DOC','_clearCollaborationTimeoutTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Cipher','SNAPSHOT_URL_KEY','APPLY_NON_SEQUENTIAL_REVISION','CollaborationSocketService','create','function','LICENSE_IMPORT_SIZE_EXCEEDED','roles','MemberService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','EvpKDF','values','unitId','_hasher','pad','UniverCollaborationClientPlugin','body','_telemetryInfo','_changesetReqId','waitForRoom$','_onConnectionOpen','entityInit$','_transformIMECache','_getUploadFileURL','readAsDataURL','&source=','RECV','_invKeySchedule','baseRev','mode','_redoStacks','CHANGESET_REJ','univer-pro.collaboration-client.single-active-unit-service','MUTATION','refreshPermission','ceil','sin','reduce','_pendingMutations','1340882byBiUF','UPDATE_PERMISSION_OBJ','HmacSHA1','_mode','INVALID_ARGUMENT','_createHandler','_revisionService','c2Prime','_onMessage','_snapshotServerService','_clearLocalCache','isArray','_singleActiveUnitService','_sheetTransformSelectionsService','eventID','_onRemoteACK','_onLocalMutation','saveImage','@univerjs/core','_checkMissing','?url=','_doProcessBlock','EMAIL_HAS_BEEN_BOUND','session','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_nDataBytes','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','close','blockSize','result','stringify','_createHelper','YUUMI_ALL_TABLES_IS_INVALID','ws://127.0.0.1:8000/universer-api/comb/connect','CBC','_transitionLocked','PSEUDO_FETCH_MISSING_RESULT','COMPRESS_MUTATION_APPLY','MSG_FOR_ERROR','_removeRoom','forEach','CompressMutationService','CLOSE_ROOM','changesets','AES','subUnitId','onTransformSelections','socket$','string','StreamCipher','SNAPSHOT_HAS_BEEN_REMOVED','has','HELLO','_scheduleCompleteTimestamp','_onFetchMissResult','OFFLINE','infoRsp','takeUntil','IConfigService','INVALID_INVITE_CODE','LICENSE_DISTRO_REJECTED','_nRounds','INVITE_CODE_ALREADY_BOUND','264zPSZCu','deserializeToCombResponse','_commentUpdate$','getFocusedUnit','/block/','_map','substr','__Key__','_HTTPService','filter','APPLY_PERMISSION_DENIED','_incrementRevisionNumber','ONLINE','send','transformMutationsWithChangeset','cfg','getRandomValues','fetchMiss','[FetchMissState]','appendMutation','asObservable','collaMsg','JOIN_ROOM_FAILED','USER_NOT_INVITED_CODE','updateOfflineData','transformSelections','setShowComponents','758957pZyBzm','getUnitOnRev','parseChangesetToProtocol','7YZrJdG','event$','addHandlerCallback','init','getAllMembers','objects','/universer-api/file/{fileID}/sign-url','PENDING','_fetchMissChangesets','_replaceFileID','originalMeta','hasher','_append','getTypeOfUnitDisposed$','/universer-api/oidc/authpage','NOT_COLLAB','_joinRoom','NoPadding','compose','PERSON','_substituteUndoStack','MentionIoHttpService','UNIVER_SHEET','CollaborationSessionService','JOIN_ROOM_FULL','onTransformIME','/object','abs','Quantity','add','INTERNAL_ERROR','action','hasOwnProperty','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','toString','_toggleOnline','HEARTBEAT','391032rqrTUk','LIVESHARE_OPERATION','joinEvent','_sendHeartbeatTimer','_onConflict','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_emitMembers','_resendTimeout','_event$','rev','UNAUTHENTICATED','SHOULD_CLOSE_CONN','unit-cache-','_commandService','univer-pro.collaboration-client-socket-service','textRanges','sequenceExecute','onload','delete','splice','_stopTelemetryCollaborationNewChangeset','ENSURE_SNAPSHOT_EXECUTION','UNIVER_PROJECT','onRemoteRetry','_schedule','_clearTimeoutTimer','DEFAULT_COLLAB_WEB_SOCKET_URL','IContextService','_clearRedo','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','enableCollaboration','socketService','__creator','IUndoRedoService','Latin1','UNDEFINED','_toggleOffline','interceptor','closeSession','_waitCount','AwaitingWithPendingState','getTime','_key','getSheetId','LocalUndoRedoService','Failed\x20to\x20update\x20permission\x20point','IMentionIOService','object','_getSendChangesetTimeout','target','clear','COMPLETION_FINISHED','authzUrl','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','capture','POST','_tryReconnect','createSocket','synced','/unit/','Injector','msCrypto','mapDocumentTypeToUniverType','_retryCount','[UniverCollaborationClientPlugin]','setWaitCount','_getAPIPrefix','isTransformMutationsWithChangesetSuccess','_onRecvEvent','Base64','_keyPriorReset','_updateLocalCache','auth.needGotoLoginAlert','not_collab','Pkcs7','[SyncedState]:\x20received\x20rejection.','ERROR_IMAGE','HttpImport','OpenSSL','Decryptor','[CollaborationSession]','salt','merge','reset','error$','toggleOnline','UniverDocs','_createSocket','MD5','getConfig','_collabSessionService','ERROR_IMAGE_TYPE','getMember','[CollaborationUndoRedoService]','/fetchmissing?from=','every','Inject','WordArray','onRemoteRej','status$','range','sessionStatus$','_socketReady','/-/object/list','ITransformService','CollaborationEntity','UNKNOWN_CODE','_unitInfo$','getOwnPropertyDescriptor','FileId','_onOffline','userID','getImage','reqId','UPDATE_CURSOR','getTypeOfUnitAdded$','CollaborationSession','_process','snapshotServerUrl','RevisionService','session.join-failed','catch','getUnitStatus$','fetchThroughInterceptors','toStringTag','PERMISSION_REJ','concat','_compressMutationService','prototype','parseProtocolChangeset','finalize','then','updateSnapshot','FETCH_MISS','unitInfo$','SHA1','15LwKONd','WECHAT_HAS_BEEN_BOUND','\x20to\x20','crypto','ILogService','_reverseMap','LocaleService','complete','byteOffset','entries','OfflineState','Undefined','WorkbookEditablePermission','UUID','awaitingChangeset','HmacMD5','liveShareOperation','/universer-api/authz','createEncryptor','&assign=','listRoles','Disposable','clone','getValue','requestParams','getResourcesRequest','JOINING','CONNECTOR_DATA_TOO_LARGE','pending','title','onSyncEditingCollabCursor','hostname','onRemoteChangeset','AuthzIoHttpService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ALREADY_EXISTS','serializeCombRequest','override','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','collaborators','_queuedRemoteChangesets','CollaborationController','HEARTBEAT_TIMEOUT','enc','_resendTimer','YUUMI_UNABLE_LOAD_URL','HTTPRequest','onTransformState','getLocalCacheKey','kdf','keySize','_showConflictNotification','_shouldReportTelemetry','DependentOn','buffer','reconnect','requireSession','getSheetBlock','_prevBlock','loadUnitOfRevision','debug','CONFLICT','_changesetSessionId','_socketMessageSubscription','_transformRemoteChangesetByStateCache','YUUMI_SUBSCRIPTION_NOT_FOUND','Plugin','/resources','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','resend','_transformRemoteChangesetByIMECache','getGlobalObject','createCollaborator','includes','YUUMI_CONNECTOR_URL_NOT_FOUND','LOCAL_CACHE_INTERVAL','/allowed','INVITE_CODE_HAS_BEEN_UES','getImageSourceCache','_socket$','OPTIONAL','/object/','_updateStatus','selections','_startTelemetryCollaborationNewChangeset','getCurrentRevOfUnit','reject','cmd','YUUMI_TABLE_NOT_FOUND_IN_UNIT','apply','ivSize','getMemberID','{fileID}','_clearHeartbeatTimer','ReplaySubject','listCollaborators','actions','params','YUUMI_ASYNCIO_CANCELLED','UNIVER_SLIDE','find','Tools','Rectangle','_timeoutTimer','BlockCipher','length','_transformService','@univerjs/drawing','SUBMIT_CHANGESET','ISingleActiveUnitService','MergeInterceptorFactory','_collaborationTimeoutTimer','_snapshotService','_remoteChangesetQueue','_clearUndo','processBlock','/rev/','_collaborationSessionService','CHANGESET_REVISION_CONFILICT','USERS_ENTER','url','emitEvent','_onRemoteChangeset','CollaborationUIEventId','subject','pipe','commentUpdate$','_parse','words','[CollaborationState]:\x20apply\x20error!','JOIN_ROOM_NOT_EXISTS','@univerjs/network','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','createInstance','_sendingTimer','createIdentifier','[CollaborationSessionService]','map','_doCryptBlock','_replayCachedMutations','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','collabWebSocketUrl','mixIn','UserProfileImg','IDLE','Subject','_disableEditing','IUniverInstanceService','charCodeAt','size','slice','INVITE_CODE_REQUIRED','_throwTelemetryCollaborationNewChangeset','collaboratorID','CipherParams','registerDependencies','UnitStatus','rxjs/operators','onMissedChangesetFetched','copyFileMeta','_initUnitPermissionChange','disposeWithMe','socket\x20close','_getCurrentRevision','RETRY_CONNECTING_MAX_COUNT','SnapshotServerOverHTTPService','close$','batchAllowed','lib','_imageSourceCache','replace','SOCKET_FAILED_RETRY','SheetCollaborationEntity','charAt','MentionType','SheetsSelectionsService','unsubscribe','SnapshotService','[OfflineState]:\x20received\x20acknowledgement.','mutations','transformStack\x20failed!','\x20in\x20_schedule.','_onRemoteRejected','_socketService','join','objectID','InsertSheetMutation','HEARTBEAT_INTERVAL_KEY','ConflictState','Could\x20not\x20dynamically\x20require\x20\x22','People','_memberService','allowed','INGEST','_onUserLeave','list','_unitID','_getLoginPath','_acknowledgedAwaitingChangeset','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','transformChangesets','ImageSourceType','onStarting','UnitSnapshot','conflict','dispose$','UniverDrawing','RichTextEditingMutation','Utf8','_httpService','_cipher','ImageUploadStatusType','\x0aCurrent:\x20','_startCollaboration','FETCH_MISSING','onStateChange','extend','getUnitId','PERMISSION_DENIED','exports','UniverCore','_roomMembers','JOIN_ROOM_PERMISSION_DENIED','session.room-not-exists','c1Prime','max','YUUMI_RATE_OVER_LIMIT','_transformUndoredo','_userManagerService','duration','_clearScheduledTask','executeCommand','update','_registerDependencies','byteLength','_transformStack','_state','_transformStateCache','_exhaustRemoteChangesetQueue','_univerInstanceService','liveShareNewHost','BehaviorSubject','Workbook','state$','getUnit','BufferedBlockAlgorithm','fetch_missing','toDisposable','defineProperty','x-univer-host','UnitEmbedded','Optional','_doFinalize','_members$','PasswordBasedCipher','avatar','SheetTransformSelectionsService','&to=','_undoStacks','UNIVER_COLLABORATION_CLIENT_PLUGIN','ThresholdInterceptorFactory','from','m2Prime','saveSheetBlock','set','fetchMissingChangesets','UNIVER_UNKNOWN','_awaitingChangeset','touchDependencies','_createInitialStateImpl','href','OTHER_CLIENTS_EDITING','APPLY_REJECT','_getAPIPrefixPath','197324CqbRXF','_rescheduleHeartbeat','ICommandService','snapshot','_scheduleCollaborationTimeoutTimer','push','CollaborationStatus','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SNAPSHOT_INVALID_SNAPSHOT','getSnapshotAPIPath','_configService','_lockTransition','_roomCreated$','encrypt','195417sachgY','error','execute','/universer-api/comb','DocCollaborationEntity','_initMergeInterceptor','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','image/jpg','LIVESHARE_TERMINATE','_resendWithTimeout','state','unitID','saveChangeset','LOCAL_CACHE_INTERVAL_KEY','_hash','floor','collaboration_new_changeset','_change$','now','Univer','algo','location','_sessionStatus$','UniverNetworkPlugin','_entities','CHANGESET_ACK','FetchingMissState','LIVESHARE_NEW_HOST','removeMember','_getSignURL','isTransformChangesetsSuccess','localCacheService','_config','IPermissionService','OTHER_CLIENT_EDITING','initWorkbookPermissionChange','[DataLoaderService]','objectType','_getUndoStack','[OfflineState]:\x20received\x20rejection.','fromCharCode','_socket','UniverTelemetry','CommentService','generateRandomId','UNISCRIPT_RUN','INetworkConditionService','LIVESHARE_FETCH_OPERATIONS','/-/object/-/batch_allowed','message$','_isPermissionRej','default','_members','_sessions','delay','NOT_FOUND','getCurrentSelections','key','compute','connection\x20error','_candidateSocket','ciphertext','_sendHeartbeat','take','BASE64','PendingState','MOBILE_VERIFY_CODE_MISMATCH','SUCCUSS','data','GLOBAL_ROOMS_CNT_EXCEEDS','EMAIL_VERIFY_CODE_MISMATCH','startTime','AWAITING','UniverCollaborationPlugin','registerHTTPInterceptor','_initCloseConn','_status$','_iKey','min','stopTime','isPermissionRej','addImageSourceCache','_commentService','_minBufferSize','unknown','_decreaseWaiting','dispose','_instanceService','type','_ENC_XFORM_MODE','DataLoaderService','commentUpdateEvent','Module','NEW_CHANGESETS','onMissingChangesets','/universer-api/user/session-ticket','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','YUUMI_AI_RUN_FAILED','_onJoinRoomEvent','_applyRemoteChangeset','UniverProLicense','getCollabEntity$','equals','mergeOverrideWithDependencies','awaiting_with_pending','call','failed\x20to\x20apply\x20missed\x20changesets!','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getRoom','6476598cNXyfh','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','headers','awaiting','getUnitType','resourceIDs','createDecryptor','getInterceptPoints','focused$','MOBILE_HAS_BEEN_BOUND','FAIL','file','SOCKET_FAILED','Hasher','_entityInit$','collabSubmitChangesetUrl','@univerjs-pro/collaboration','subscribe','HTTPService','_doCreateSocket','readInt32LE','code','padding','SyncedState','collaboration-client.local-cache-service','_getRedoStack','sheets','responseType','_xformMode'];_0x525c=function(){return _0x87a2c1;};return _0x525c();}
|