@univerjs-pro/collaboration-client 0.21.1 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -7
- 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/ja-JP.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/sk-SK.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/ja-JP.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/sk-SK.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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.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/types/controllers/collaboration/collaboration-state.d.ts +17 -12
- package/lib/types/services/image-remote/image-io.service.d.ts +0 -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/ja-JP.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/sk-SK.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 +20 -14
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1951(_0xcf935d,_0x1db3c3){_0xcf935d=_0xcf935d-0x1e7;const _0x537ede=_0x537e();let _0x1951f2=_0x537ede[_0xcf935d];return _0x1951f2;}function _0x537e(){const _0x3d7b50=['output','_memberService','[CollaborationSessionService]','CHANGESET_ACK','_members$','connection\x20error','CollaborationController','[UniverCollaborationClientPlugin]','DataLoaderService','SheetPermissionInitController','_emitMembers','_onRemoteRejected','_getDownloadEndpointURL','Error\x20on\x20receiving\x20event','body','getValue','isSafeInteger','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onMissedChangesetFetched','compose','crypto','_onUserLeave','take','transformStack\x20failed!','_logService','_substituteRedoStack','awaitingChangeset','_transformStateCache','_transitionLocked','isTransformChangesetsSuccess','CollaborationSessionService','equals','_remoteChangesetQueue','UniverProCollaborationClient','LIVESHARE_REQUEST_HOST','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unit-cache-','online$','shouldCloseConn','init','USERS_LEAVE','newCsEvent','waitForRoom$','delete','shareReplay','_startCollaboration','actions','JOIN_ROOM_PERMISSION_DENIED','_roomCreated$','_queuedRemoteChangesets','@univerjs/protocol','UniverTelemetry','_socketService','ErrorCode','UPDATE_PERMISSION_OBJ','reject','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','type=','SheetTransformSelectionsService','_getRedoStack','/universer-api/stream/file/upload','Inject','type','onRemoteChangeset','_clearLocalCache','ONLINE','MergeInterceptorFactory','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/-/object/list','[SyncedState]:\x20received\x20acknowledgement.','transformMutationsWithChangeset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/resources','subUnitId','SYNCED','_entityInit$','PendingState','getCurrentSelections','[CollaborationSession]','RECV','_substituteUndoStack','\x20to\x20','UniverLicensePlugin','synced','subarray','crypto.getRandomValues\x20must\x20be\x20defined','FETCH_MISSING','_transformService','CmdRspCode','_onUserJoin','MentionType','size','length=','_getAPIPrefixPath','SUBMIT_CHANGESET_TIMEOUT','objectType','_entities','getCollabEntity$','withCredentials','ImageSourceType','splice','textEncoder','loadOfflineData','589728WRcmgI','_changesetSessionId','complete','encodeURIComponent','send','BASE64','HEARTBEAT_INTERVAL','_doCreateSocket','JOIN_ROOM_NOT_EXISTS','members$','members','6izZMBe','byteOffset','parseProtocolChangeset','enableOfflineEditing','hostname','_networkConditionService','getFocusedUnit','reverse','code','BYTES_PER_ELEMENT','/universer-api/authz','override','ConflictState','firstValueFrom','saveImage','/universer-api/file/{fileID}/sign-url','userID','isArray','OTHER_CLIENT_EDITING','changesets','getImageSourceCache','fromCollab','touchDependencies','onStateChange','_transformSelections','registerDependencies','buffer','/universer-api/oidc/authpage','getRandomValues','dispose$','isTransformMutationsWithChangesetFailure','HTTPService','_rescheduleHeartbeat','memberID','FileSource','_getLoginPath','getSnapshotAPIPath','_syncEditingCollabCursor','_transformStack','_updateState','AWAITING','_permissionService','UniverCore','selections','HTTPRequest','SOCKET_FAILED','leaveEvent','subscribe','_telemetryInfo','every','takeUntil','CompressMutationService','symbol','_localCacheService','parseChangesetToProtocol','_getSignURL','eventID','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_waitCount','/-/object/-/batch_allowed','10oQfLIB','stopTime','_onMessage','createSocket','_collaborationPaused','_checkMissing','debug','SnapshotService','@univerjs/telemetry','IDLE','_injector','SUBMIT_CHANGESET','IImageIoService','routeKey','/block/','RETRY_CONNECTING_MAX_COUNT','_shouldReportTelemetry','originalMeta','toStringTag','createCollaborator','LIVESHARE_TERMINATE','constructor','INetworkConditionService','Subject','awaiting_with_pending','error','InsertSheetMutation','positive\x20integer\x20expected,\x20got\x20','[CollaborationSessionService]:\x20socket\x20error','_joinRoom','[SyncedState]:\x20received\x20rejection.','_collaborationTimeoutTimer','requireSession','176545JobijB','RETRY_CONNECTING_MAX_COUNT_KEY','_snapshotServerService','_sendingTimer','params','_scheduleCompleteTimestamp','NEW_CHANGESETS','_instanceService','NO_OTHER_CLIENTS_EDITING','_transformRemoteChangesetByIMECache','_clearScheduledTask','UNIVER_SHEET','_state','objectID','offline','_commandService','_submitChangeset','COMPRESS_MUTATION_SEND','_scheduleCollaborationTimeoutTimer','collaboration-client.local-cache-service','uniscriptRunEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','title','_registerDependencies','sid','getWorkbookSelections','/universer-api/snapshot/','PERMISSION_DENIED','UPDATE_CURSOR','&to=','editing\x20status\x20changed\x20to',',\x20got:\x20','collabWebSocketUrl','pluginName','_changesetReqId','_sheetTransformSelectionsService','src','min','GLOBAL_ROOMS_CNT_EXCEEDS','onload','[PendingState]:\x20received\x20acknowledgement.','getRoom','deserializeToCombResponse','duration','_onRemoteChangeset','mapDocumentTypeToUniverInstanceType','_getSendChangesetTimeout','_initCloseConn','Quantity','/universer-api/uniscript','encode','Rectangle','createIdentifier','resolve','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/allowed','OTHER_CLIENTS_EDITING','range','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','_initRequestHeader','default','SyncedState','UniverNetworkPlugin','confirm','_sessionStatus$','fetchMissingChangesets','_createSocket','conflict','workbook','getMemberID','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','has','AWAITING_WITH_PENDING','_toggleOffline','rxjs','AuthzIoHttpService','HEARTBEAT','getSheetBlock','asObservable','close$','enableSingleActiveInstanceLock','getAllMembers','ICollaborationSocketService','_event$','x-univer-host','{fileID}','updatePermissionPoint','unitID','name','data','_status$','_throwTelemetryCollaborationNewChangeset','_applyRemoteChangeset','JOIN','onSendChangeset','result','_clearCollaborationTimeoutTimer','_members','cmd','_getCurrentRevision','RxDisposable','updateOfflineData','getTypeOfUnitDisposed$','558212lsEUPW','_onConnectionFailed','JOIN_ROOM_FULL','message$','[CollaborationEntity]','_createInitialStateImpl','push','location','/collaborator','sequenceExecute','socket\x20close','onStarting','7ISjkNA','isTransformMutationsWithChangesetSuccess','JOIN_ROOM_FAILED','LocaleService','INGEST','session.join-failed','FETCH_MISS','Tools','_exhaustRemoteChangesetQueue','_isPermissionRej','localCacheService','onSyncEditingCollabCursor','state','UniverInstanceType','dispose','_collaborationUIEventService','WorkbookEditablePermission','setCfgEnableObjInherit','_HTTPService','_init','CollaborationEvent','CommentService','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','PSEUDO_FETCH_MISSING_RESULT','interceptor','unitId\x20is\x20not\x20found','getUnitOnRev','ImageUploadStatusType','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','UNISCRIPT_RUN','loginUrlKey','_clearUndo','close','DocCollaborationEntity','getTypeOfUnitAdded$','IUndoRedoService','status$','_sessions','OFFLINE','MUTATION','status','collaborators','_incrementRevisionNumber','collaboration-client.config','baseRev','Disposable','_getUndoStack','responseType','updateCursorEvent','sessionStatus$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','uploadFileServerUrl','ThresholdInterceptorFactory','max','updateMember','LOCAL_CACHE_INTERVAL','image/png','copyFileMeta','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitId','startsWith','/rev/','open$','_unlockTransition','signUrlServerUrl','incrementRevOfUnit','getDeserializedSheetBlock','_collaborationSessionService','_awaitingChangeset','JSONX','toPrimitive','_clearRetryConnectingTimer','rxjs/operators','emitEvent','function','ITelemetryService','reconnect','findIndex','loadUnitOfRevision','_configService','create','LEAVE','ILocalCacheService','_transformRemoteChangesetByStateCache','_onCombEvent','_telemetryService','_getUploadFileURL','setWaitCount','_onFetchMissResult','getLocalCacheKey','onMutationExecutedForCollab','_imageSourceCache','[OfflineState]:\x20received\x20rejection.','resourceIDs','CollaborationEntity','IConfigService','concatMap','unknown','isPermissionRej','packageName','_undoRedoService','_retryCount','SOCKET_FAILED_RETRY','list','\x0aCurrent:\x20','ws://127.0.0.1:8000/universer-api/comb/connect','indexOf','_resendTimeout','\x20-\x20','onTransformRemoteChangesetByIMECache','apply','UniverDocs','loadUnit','_createHandler','collabSubmitChangesetUrl','UnitStatus','onCommentUpdate','image/jpeg','href','url','reduce','loadDoc','IUniverInstanceService','infoRsp','enableCollaboration','OfflineState','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','uuidv4','stringify','MentionIoHttpService','_waitForHeartbeatResponse','createInstance','defineProperty','deleteCollaborator','_tryEnsureSocket','readAsDataURL','133638eSXWTR','HELLO','PERMISSION_REJ','roomInfos','saveSheetBlock','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','&assign=','_resendWithTimeout','LocalUndoRedoService','_getAPIPrefix','_revisionService','_socketReady','add','snapshotServerUrl','updatePermissionObjEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','key','_socketMessageSubscription','_userManagerService','getConfig','fill','downloadEndpointUrl','_disableEditing','event$','ILogService','socket\x20open.','JOINING','ERROR_IMAGE','onRemoteRej','@univerjs-pro/license','/universer-api/comb','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','clear','RichTextEditingMutation','SetSelectionsOperation','SHOULD_CLOSE_CONN','UNIVER_COLLABORATION_CLIENT_PLUGIN','toHex','call','UniverProLicense','subject','get','CLOSE_ROOM','permissionRejEvent','_resendTimer','LIVESHARE_NEW_HOST','_onRemoteACK','ISingleActiveUnitService','deepClone','save\x20fail\x20reason\x20is\x20','liveShareNewHost','_singleActiveUnitService','_removeRoom','OPTIONAL','objectActions','csAckEvent','274401yWWnbq','@univerjs/network','now','CollaborationStatus','fetching\x20missing\x20changesets\x20from\x20','_univerInstanceService','IContextService','ISocketService','_localeService','encrypt','requestParams','_initUnitPermissionChange','onMissingChangesets','getUnitType','setConfig','_sender','UNIVER_DOC','_type','getTime','_commentService','parse','put','_transformIMECache','nonceLength','CollaborationUIEventService','decrypt','error$','readyForCollab','onTransformState','/fetchmissing?from=','_candidateSocket','LIVESHARE_OPERATION','CollaborationSocketService','method','rev','RevisionService','_onRecvEvent','target','FAIL','localeService','unitId','UniverProCollaboration','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','focused$','_collabSessionService','set','_replayCachedMutations','object','joinEvent','slice','\x20in\x20_schedule.','AAD','revision','length','&source=','registerHTTPInterceptor','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','commentUpdate$','_lockTransition','ERROR_EXCEED_SIZE','[OfflineState]:\x20received\x20acknowledgement.','getResourcesRequest','_compressMutationService','c1Prime','post','ISnapshotServerService','People','IAuthzIoService','not_collab','byteLength','update','CommandType','sessionStatus','closeSession','onRemoteAck','getLatestCsReqIdBySid','CollaborationImageIoService','getInterceptPoints','state$','DisposableCollection','_updateLocalCache','_schedule','@univerjs-pro/collaboration-client','SUCCUSS','action','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getGlobalObject','then','getImage','sendChangesetTimeout','cfgEnableObjInherit','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','prototype','merge','NOT_COLLAB','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConnectionOpen','pending','nonce','PERSON','headers','/unit/','onTransformIME','\x20of\x20length\x20','allowed','roles','_onConflict','session.room-not-exists','session.room-permission-denied','objects','_handler','transformSelections','_initMergeInterceptor','_roomMembers','onTransformSelections','LOCAL_CACHE_INTERVAL_KEY','_startTelemetryCollaborationNewChangeset','sheets','transformChangesets','entries','getMember','_getCtorByUniverInstanceType','_cfgEnableObjInherit','collaMsg','resend','_unitInfo$','_socket','image/bmp','/object/','_timeoutTimer','_acknowledgedAwaitingChangeset','toString','decorate','retryConnectingInterval','_handlerCallback','UniverCollaborationClientPlugin','invalid\x20output,\x20must\x20be\x20aligned','SessionStatus','authzUrl','resolveWithBasePath','session.room-full','csRejEvent','_onJoinRoomEvent','floor','change$','ICommandService','string','Optional','socket$','_onRemoteRetry','next','includes','[OfflineState]:\x20received\x20changeset.','_listenToNetworkCondition','CHANGESET_SHOULD_RETRY',',\x20got\x20','@univerjs/docs','DEFAULT_FILE_NAME','aes/pkcs7:\x20wrong\x20padding','toDisposable','toggleOnline','forEach','_updateStatus','MemberService','removeMember','USERS_ENTER','_redoStacks','CHANGESET_REJ','c2Prime','_snapshotService','[FetchMissState]','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','reqId','_socket$','AwaitingState','onRemoteRetry','_tryReconnect','getOwnPropertyDescriptor','_unitID','varSizeNonce','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ITransformService','?url=','UniverNetwork','POST','LIVESHARE_FETCH_OPERATIONS','Univer','delay','liveShareOperation','/new_changes','_showConflictNotification','@univerjs-pro/collaboration','[PendingState]:\x20received\x20rejection.','MSG_FOR_ERROR','origin','/role','_clearTimeoutTimer','3461571VMUkif','/universer-api/user/session-ticket','fromHex','_clearRedo','toggleOffline','__splitChunk__','fromCharCode','loadSheet','socketService','_commentUpdate$','COMPRESS_MUTATION_APPLY','_config','map','_retryConnectingTimer','isInternalEditorID','unsubscribe','getCurrentUser','[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.','appendMutation','CombCmd','_httpService','CollaborativeUndoRedoService','avatar','getCfgEnableObjInherit','UniverProtocol','from','session','_decreaseWaiting','_maxTotalRetryTimeout','fetchThroughInterceptors','_clearHeartbeatTimer','288118llQCBN','_onLocalMutation','_initDependencies','b64DecodeUnicode','auth.needGotoLoginAlert','FileId','disableLocalCache','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','addImageSourceCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[DataLoaderService]','univer-pro.collaboration-client-socket-service','unit','onLocalMutation','_sendHeartbeatTimer','collaboratorID','operators','SheetCollaborationEntity','image/gif','find','UniverDrawing','_pendingMutations','filter','BehaviorSubject','COMMENT_UPDATE','charCodeAt','getCurrentRevOfUnit','SnapshotServerOverHTTPService','UUID','values','executeCommand','onTransformRemoteChangesetByStateCache','?size=','mutations','HEARTBEAT_TIMEOUT','pipe','disposeWithMe','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','number','fetchMiss','_replaceFileID','HEARTBEAT_TIMEOUT_KEY','getUnitStatus$','IPermissionService','m2Prime','Workbook','_state$','CONFLICT','Injector','getActiveSheet','[CollaborationUndoRedoService]','awaiting','append','_executeRemoteChangeset','_createInitialState','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','listRoles','batchAllowed','/object','ReplaySubject','disablePadding','_transformUndoredo','_change$','setShowComponents','\x0aAfter:\x20','UserManagerService','_onOffline'];_0x537e=function(){return _0x3d7b50;};return _0x537e();}(function(_0x2ba2db,_0x157b5a){const _0x1f3005=_0x1951,_0x33cbe0=_0x2ba2db();while(!![]){try{const _0x54ad80=parseInt(_0x1f3005(0x2cc))/0x1+-parseInt(_0x1f3005(0x3b0))/0x2+parseInt(_0x1f3005(0x466))/0x3*(-parseInt(_0x1f3005(0x1fe))/0x4)+-parseInt(_0x1f3005(0x4c3))/0x5+parseInt(_0x1f3005(0x293))/0x6+parseInt(_0x1f3005(0x20a))/0x7*(-parseInt(_0x1f3005(0x45b))/0x8)+-parseInt(_0x1f3005(0x391))/0x9*(-parseInt(_0x1f3005(0x4a2))/0xa);if(_0x54ad80===_0x157b5a)break;else _0x33cbe0['push'](_0x33cbe0['shift']());}catch(_0x4bb76){_0x33cbe0['push'](_0x33cbe0['shift']());}}}(_0x537e,0x2466f),function(_0x2d7875,_0x21a7f1){const _0x5e27e5=_0x1951;typeof exports=='object'&&typeof module<'u'?_0x21a7f1(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/protocol`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define['amd']?define(['exports',_0x5e27e5(0x38b),'@univerjs/core',_0x5e27e5(0x368),'@univerjs/sheets',_0x5e27e5(0x50d),_0x5e27e5(0x425),_0x5e27e5(0x4aa),_0x5e27e5(0x253),_0x5e27e5(0x2cd),_0x5e27e5(0x2b0),'@univerjs/drawing'],_0x21a7f1):(_0x2d7875=typeof globalThis<'u'?globalThis:_0x2d7875||self,_0x21a7f1(_0x2d7875[_0x5e27e5(0x414)]={},_0x2d7875[_0x5e27e5(0x2f5)],_0x2d7875[_0x5e27e5(0x490)],_0x2d7875[_0x5e27e5(0x27a)],_0x2d7875['UniverSheets'],_0x2d7875['rxjs'],_0x2d7875[_0x5e27e5(0x3a9)],_0x2d7875[_0x5e27e5(0x426)],_0x2d7875[_0x5e27e5(0x50d)][_0x5e27e5(0x3c0)],_0x2d7875[_0x5e27e5(0x383)],_0x2d7875[_0x5e27e5(0x2bb)],_0x2d7875[_0x5e27e5(0x3c4)]));}(this,function(_0x1d11dd,_0x35ef0a,_0x2fb456,_0x4923d3,_0x558c66,_0x5eae7e,_0x402625,_0x595543,_0x41c5dd,_0x25f3fb,_0x54ba21,_0x4f2ba2){const _0x500950=_0x1951;Object[_0x500950(0x28f)](_0x1d11dd,Symbol[_0x500950(0x4b4)],{'value':'Module'});let _0x551362=_0x500950(0x274),_0x4293e1=0x4e20;function _0x4d509d(_0x550a7e){const _0x2664ce=_0x500950;return JSON[_0x2664ce(0x28b)](_0x550a7e)[_0x2664ce(0x301)];}function _0x3b102e(_0x5f5737){'@babel/helpers - typeof';const _0x231fbd=_0x500950;return _0x3b102e=typeof Symbol==_0x231fbd(0x255)&&typeof Symbol['iterator']=='symbol'?function(_0x3f9721){return typeof _0x3f9721;}:function(_0x1c6557){const _0x328429=_0x231fbd;return _0x1c6557&&typeof Symbol==_0x328429(0x255)&&_0x1c6557[_0x328429(0x4b7)]===Symbol&&_0x1c6557!==Symbol[_0x328429(0x328)]?_0x328429(0x49a):typeof _0x1c6557;},_0x3b102e(_0x5f5737);}function _0x3a510c(_0x873181,_0x149dff){const _0x7d0ad=_0x500950;if(_0x3b102e(_0x873181)!=_0x7d0ad(0x2fb)||!_0x873181)return _0x873181;var _0x21698a=_0x873181[Symbol[_0x7d0ad(0x251)]];if(_0x21698a!==void 0x0){var _0x593f24=_0x21698a[_0x7d0ad(0x2ba)](_0x873181,_0x149dff||_0x7d0ad(0x4ff));if(_0x3b102e(_0x593f24)!=_0x7d0ad(0x2fb))return _0x593f24;throw TypeError(_0x7d0ad(0x3b7));}return(_0x149dff===_0x7d0ad(0x35e)?String:Number)(_0x873181);}function _0x11adf3(_0x30d2cf){const _0x27c9f6=_0x500950;var _0x410ef3=_0x3a510c(_0x30d2cf,_0x27c9f6(0x35e));return _0x3b102e(_0x410ef3)==_0x27c9f6(0x49a)?_0x410ef3:_0x410ef3+'';}function _0x3dd6fc(_0x483668,_0x4c24c2,_0x57b16c){return(_0x4c24c2=_0x11adf3(_0x4c24c2))in _0x483668?Object['defineProperty'](_0x483668,_0x4c24c2,{'value':_0x57b16c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x483668[_0x4c24c2]=_0x57b16c,_0x483668;}let _0x3221f8=function(_0x310c99){const _0x12bbf0=_0x500950;return _0x310c99[_0x12bbf0(0x478)]=_0x12bbf0(0x478),_0x310c99[_0x12bbf0(0x4de)]=_0x12bbf0(0x4de),_0x310c99['CONFLICT']=_0x12bbf0(0x3df),_0x310c99[_0x12bbf0(0x2be)]=_0x12bbf0(0x2be),_0x310c99[_0x12bbf0(0x20c)]=_0x12bbf0(0x20c),_0x310c99[_0x12bbf0(0x271)]='SOCKET_FAILED_RETRY',_0x310c99[_0x12bbf0(0x493)]=_0x12bbf0(0x493),_0x310c99[_0x12bbf0(0x452)]=_0x12bbf0(0x452),_0x310c99;}({});var _0x4cb1da=class{constructor(){const _0x13c3a5=_0x500950;_0x3dd6fc(this,_0x13c3a5(0x1ea),new _0x5eae7e['Subject']()),_0x3dd6fc(this,_0x13c3a5(0x2aa),this[_0x13c3a5(0x1ea)][_0x13c3a5(0x511)]());}[_0x500950(0x254)](_0x7b3098){const _0x42a5a4=_0x500950;this[_0x42a5a4(0x1ea)][_0x42a5a4(0x362)](_0x7b3098);}},_0x732d06=class{constructor(){const _0x3f4d42=_0x500950;_0x3dd6fc(this,_0x3f4d42(0x39a),new _0x5eae7e[(_0x3f4d42(0x4b9))]()),_0x3dd6fc(this,_0x3f4d42(0x305),this[_0x3f4d42(0x39a)][_0x3f4d42(0x511)]());}[_0x500950(0x27f)](_0x382603){const _0x4e968b=_0x500950;this[_0x4e968b(0x39a)][_0x4e968b(0x362)](_0x382603);}};function _0x42aff9(_0xff6de0,_0x42a100){return function(_0x12dfcd,_0x183921){_0x42a100(_0x12dfcd,_0x183921,_0xff6de0);};}function _0x1c7ac3(_0xa1d6d6,_0x407e0d,_0xa70b5b,_0x13fdec){const _0x2d4d80=_0x500950;var _0x55773f=arguments[_0x2d4d80(0x301)],_0x33490=_0x55773f<0x3?_0x407e0d:_0x13fdec===null?_0x13fdec=Object[_0x2d4d80(0x37d)](_0x407e0d,_0xa70b5b):_0x13fdec,_0xea0be4;if(typeof Reflect==_0x2d4d80(0x2fb)&&typeof Reflect[_0x2d4d80(0x350)]=='function')_0x33490=Reflect[_0x2d4d80(0x350)](_0xa1d6d6,_0x407e0d,_0xa70b5b,_0x13fdec);else{for(var _0x38b7a6=_0xa1d6d6[_0x2d4d80(0x301)]-0x1;_0x38b7a6>=0x0;_0x38b7a6--)(_0xea0be4=_0xa1d6d6[_0x38b7a6])&&(_0x33490=(_0x55773f<0x3?_0xea0be4(_0x33490):_0x55773f>0x3?_0xea0be4(_0x407e0d,_0xa70b5b,_0x33490):_0xea0be4(_0x407e0d,_0xa70b5b))||_0x33490);}return _0x55773f>0x3&&_0x33490&&Object[_0x2d4d80(0x28f)](_0x407e0d,_0xa70b5b,_0x33490),_0x33490;}let _0xe1c77b=class extends _0x2fb456['Disposable']{constructor(_0x1be02e,_0x5e0b1a){const _0x513e0f=_0x500950;super(),this[_0x513e0f(0x2d1)]=_0x1be02e,this[_0x513e0f(0x2a5)]=_0x5e0b1a,_0x3dd6fc(this,_0x513e0f(0x33d),new Map()),_0x3dd6fc(this,_0x513e0f(0x423),new _0x5eae7e[(_0x513e0f(0x4b9))]()),this[_0x513e0f(0x3d4)]((0x0,_0x5eae7e[_0x513e0f(0x329)])(this[_0x513e0f(0x2d1)][_0x513e0f(0x1fd)](_0x2fb456[_0x513e0f(0x217)][_0x513e0f(0x4ce)])[_0x513e0f(0x3d3)]((0x0,_0x41c5dd[_0x513e0f(0x39d)])(_0x8c7fb4=>_0x8c7fb4[_0x513e0f(0x246)]())),this['_univerInstanceService'][_0x513e0f(0x1fd)](_0x2fb456[_0x513e0f(0x217)]['UNIVER_DOC'])[_0x513e0f(0x3d3)]((0x0,_0x41c5dd[_0x513e0f(0x39d)])(_0x4341d5=>_0x4341d5[_0x513e0f(0x246)]())))[_0x513e0f(0x495)](_0x402306=>this['_removeRoom'](_0x402306)));}[_0x500950(0x41d)](_0x4bad26){const _0x16c9fa=_0x500950;return this['_roomMembers'][_0x16c9fa(0x50a)](_0x4bad26)?(0x0,_0x5eae7e['of'])(this[_0x16c9fa(0x33d)]['get'](_0x4bad26)):this['_roomCreated$'][_0x16c9fa(0x3d3)]((0x0,_0x41c5dd[_0x16c9fa(0x39d)])(_0x298a33=>{const _0x1894ad=_0x16c9fa;if(_0x298a33===_0x4bad26)return this['_roomMembers'][_0x1894ad(0x2bd)](_0x298a33);}));}['setCurrentUser'](_0x56c8f8){const _0xb5ecd=_0x500950;this[_0xb5ecd(0x2a5)]['setCurrentUser'](_0x56c8f8);}[_0x500950(0x3a1)](){const _0x4ed752=_0x500950;return this['_userManagerService'][_0x4ed752(0x3a1)]();}[_0x500950(0x241)](_0x3d9365,_0x488d87){const _0xccab04=_0x500950;let _0x676a7d=this[_0xccab04(0x33d)][_0xccab04(0x2bd)](_0x3d9365);_0x676a7d||(_0x676a7d=new _0x4d46aa(),this[_0xccab04(0x33d)][_0xccab04(0x2f9)](_0x3d9365,_0x676a7d),this['_roomCreated$'][_0xccab04(0x362)](_0x3d9365)),_0x676a7d['updateMember'](_0x488d87);}[_0x500950(0x370)](_0x399b8e,_0x56d608){const _0x23ff47=_0x500950;let _0x11a4df=this[_0x23ff47(0x33d)][_0x23ff47(0x2bd)](_0x399b8e);_0x11a4df&&_0x11a4df[_0x23ff47(0x370)](_0x56d608);}[_0x500950(0x4ec)](_0x2e6541){const _0x36c4b0=_0x500950;return this[_0x36c4b0(0x33d)][_0x36c4b0(0x2bd)](_0x2e6541);}[_0x500950(0x344)](_0x3dd45c,_0x201e19){const _0x4b643a=_0x500950;let _0xb5a92b=this[_0x4b643a(0x33d)][_0x4b643a(0x2bd)](_0x3dd45c);if(_0xb5a92b)return _0xb5a92b[_0x4b643a(0x344)](_0x201e19);}[_0x500950(0x2c8)](_0x5ce635){const _0x37a31a=_0x500950;let _0x4ff51f=this[_0x37a31a(0x33d)][_0x37a31a(0x2bd)](_0x5ce635);_0x4ff51f&&(_0x4ff51f['dispose'](),this[_0x37a31a(0x33d)][_0x37a31a(0x41e)](_0x5ce635));}[_0x500950(0x218)](){const _0x5d4526=_0x500950;this[_0x5d4526(0x33d)][_0x5d4526(0x36d)](_0x3d8cc6=>_0x3d8cc6[_0x5d4526(0x218)]()),this[_0x5d4526(0x33d)][_0x5d4526(0x2b4)](),this[_0x5d4526(0x423)][_0x5d4526(0x45d)]();}};_0xe1c77b=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456[_0x500950(0x285)]),_0x42aff9(0x1,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x3f1)]))],_0xe1c77b);var _0x4d46aa=class extends _0x2fb456[_0x500950(0x238)]{constructor(..._0x415224){const _0x4aafe4=_0x500950;super(..._0x415224),_0x3dd6fc(this,_0x4aafe4(0x1f8),new Map()),_0x3dd6fc(this,_0x4aafe4(0x3f7),new _0x5eae7e['BehaviorSubject'](this[_0x4aafe4(0x1f8)])),_0x3dd6fc(this,_0x4aafe4(0x464),this[_0x4aafe4(0x3f7)]['asObservable']());}[_0x500950(0x218)](){const _0x292b93=_0x500950;this[_0x292b93(0x1f8)][_0x292b93(0x2b4)](),this[_0x292b93(0x3f7)]['complete']();}[_0x500950(0x241)](_0x30734b){const _0x311b03=_0x500950;this[_0x311b03(0x1f8)][_0x311b03(0x2f9)](_0x30734b['memberID'],_0x30734b),this[_0x311b03(0x3fd)]();}[_0x500950(0x370)](_0x6007fc){this['_members']['delete'](_0x6007fc),this['_emitMembers']();}[_0x500950(0x344)](_0x5c85fb){const _0x21d3d6=_0x500950;return this[_0x21d3d6(0x1f8)][_0x21d3d6(0x2bd)](_0x5c85fb);}[_0x500950(0x1e8)](){const _0x25a247=_0x500950;return Array[_0x25a247(0x3aa)](this[_0x25a247(0x1f8)][_0x25a247(0x3cd)]());}[_0x500950(0x3fd)](){const _0x1c896e=_0x500950;this[_0x1c896e(0x3f7)][_0x1c896e(0x362)](this[_0x1c896e(0x1f8)]);}};let _0x486856=function(_0xd6c4b2){const _0x356ce2=_0x500950;return _0xd6c4b2[_0xd6c4b2[_0x356ce2(0x4ab)]=0x0]=_0x356ce2(0x4ab),_0xd6c4b2[_0xd6c4b2['JOINING']=0x1]=_0x356ce2(0x2ad),_0xd6c4b2[_0xd6c4b2[_0x356ce2(0x231)]=0x2]=_0x356ce2(0x231),_0xd6c4b2[_0xd6c4b2['ONLINE']=0x3]=_0x356ce2(0x434),_0xd6c4b2;}({}),_0x114cad={[_0x402625[_0x500950(0x44c)][_0x500950(0x2f2)]]:_0x500950(0x20f),[_0x402625[_0x500950(0x44c)][_0x500950(0x200)]]:_0x500950(0x358),[_0x402625[_0x500950(0x44c)][_0x500950(0x463)]]:_0x500950(0x337),[_0x402625['CmdRspCode'][_0x500950(0x422)]]:_0x500950(0x338),[_0x402625[_0x500950(0x44c)][_0x500950(0x4e9)]]:'session.room-cnt-exceeds'},_0x4e1b56=class extends _0x2fb456[_0x500950(0x1fb)]{get[_0x500950(0x314)](){const _0x14795c=_0x500950;return this[_0x14795c(0x503)][_0x14795c(0x402)]();}constructor(_0x37d427,_0x10a548,_0x531e12,_0x48a844,_0x494d01,_0x39bc68,_0x4df721,_0x52bbc6){const _0x490123=_0x500950;super(),this[_0x490123(0x37e)]=_0x37d427,this[_0x490123(0x40b)]=_0x531e12,this['_configService']=_0x48a844,this[_0x490123(0x3f4)]=_0x494d01,this[_0x490123(0x2df)]=_0x39bc68,this[_0x490123(0x219)]=_0x4df721,this['_telemetryService']=_0x52bbc6,_0x3dd6fc(this,_0x490123(0x503),new _0x5eae7e[(_0x490123(0x3c7))](_0x486856[_0x490123(0x4ab)])),_0x3dd6fc(this,_0x490123(0x23c),this[_0x490123(0x503)][_0x490123(0x511)]()),_0x3dd6fc(this,_0x490123(0x1ea),new _0x5eae7e[(_0x490123(0x4b9))]()),_0x3dd6fc(this,_0x490123(0x2aa),this[_0x490123(0x1ea)][_0x490123(0x511)]()),_0x3dd6fc(this,'_socket',void 0x0),_0x3dd6fc(this,_0x490123(0x2a4),void 0x0),_0x3dd6fc(this,_0x490123(0x4c1),void 0x0),_0x3dd6fc(this,'_shouldReportTelemetry',!0x1),_0x3dd6fc(this,'_telemetryInfo',null),this[_0x490123(0x4b2)]=!!this[_0x490123(0x260)],_0x10a548[_0x490123(0x3d3)]((0x0,_0x5eae7e['takeUntil'])(this[_0x490123(0x483)]))[_0x490123(0x495)](_0x25bcff=>{const _0x54a2c5=_0x490123;if(_0x25bcff!==void 0x0){if(this[_0x54a2c5(0x34a)]=_0x25bcff,_0x25bcff)this['_joinRoom'](_0x25bcff),this[_0x54a2c5(0x2a4)]=_0x25bcff['message$'][_0x54a2c5(0x495)](_0x3e35d2=>{const _0x24fafb=_0x54a2c5;_0x3e35d2[_0x24fafb(0x4af)]===this[_0x24fafb(0x37e)]&&this[_0x24fafb(0x25f)](_0x3e35d2);});else{var _0x1258ce;this[_0x54a2c5(0x1f2)](),this['_sessionStatus$'][_0x54a2c5(0x362)](_0x486856[_0x54a2c5(0x231)]),(_0x1258ce=this['_socketMessageSubscription'])==null||_0x1258ce[_0x54a2c5(0x3a0)](),this[_0x54a2c5(0x2a4)]=null;}}});}[_0x500950(0x508)](){const _0x12cc30=_0x500950;var _0x31145d,_0xc8fc22;return(_0x31145d=(_0xc8fc22=this[_0x12cc30(0x34a)])==null?void 0x0:_0xc8fc22[_0x12cc30(0x487)])==null?null:_0x31145d;}[_0x500950(0x218)](){const _0x492509=_0x500950;super[_0x492509(0x218)](),this[_0x492509(0x22b)](),this[_0x492509(0x483)][_0x492509(0x362)](),this['dispose$'][_0x492509(0x45d)]();}[_0x500950(0x22b)](){const _0x47484f=_0x500950;var _0x1102c7,_0x38b47d;this[_0x47484f(0x1f2)](),(_0x1102c7=this[_0x47484f(0x34a)])==null||_0x1102c7[_0x47484f(0x45f)]({'cmd':_0x402625[_0x47484f(0x3a4)][_0x47484f(0x25c)],'data':{'roomID':this[_0x47484f(0x37e)]}}),(_0x38b47d=this[_0x47484f(0x34a)])==null||_0x38b47d[_0x47484f(0x22b)](),this[_0x47484f(0x1ea)][_0x47484f(0x45d)](),this['_sessionStatus$'][_0x47484f(0x45d)]();}[_0x500950(0x25f)](_0x5dcc7f){const _0x5ebab4=_0x500950;_0x5dcc7f[_0x5ebab4(0x1f9)]===_0x402625['CombCmd'][_0x5ebab4(0x1f4)]?this[_0x5ebab4(0x35a)](_0x5dcc7f):_0x5dcc7f[_0x5ebab4(0x1f9)]===_0x402625[_0x5ebab4(0x3a4)][_0x5ebab4(0x443)]&&this[_0x5ebab4(0x2f0)](_0x5dcc7f);}[_0x500950(0x4bf)](_0x1a0a18){const _0x5bca90=_0x500950;this[_0x5bca90(0x503)][_0x5bca90(0x362)](_0x486856[_0x5bca90(0x2ad)]),_0x1a0a18['send']({'cmd':_0x402625[_0x5bca90(0x3a4)][_0x5bca90(0x1f4)],'routeKey':this[_0x5bca90(0x37e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5bca90(0x37e)]}]}});}[_0x500950(0x35a)](_0xd8dbbd){const _0x391321=_0x500950;var _0xa600d2;if(_0xd8dbbd[_0x391321(0x46e)]in _0x114cad){this[_0x391321(0x219)][_0x391321(0x254)]({'id':_0x3221f8[_0x391321(0x20c)],'data':_0x114cad[_0xd8dbbd[_0x391321(0x46e)]]}),this[_0x391321(0x503)][_0x391321(0x362)](_0x486856[_0x391321(0x231)]);return;}this['_sessionStatus$'][_0x391321(0x362)](_0x486856[_0x391321(0x434)]);let _0x191272=(_0xa600d2=_0xd8dbbd['data'][_0x391321(0x296)][this[_0x391321(0x37e)]])==null?void 0x0:_0xa600d2[_0x391321(0x465)];_0x191272&&_0x191272[_0x391321(0x36d)](_0x305295=>this[_0x391321(0x3f4)]['updateMember'](this[_0x391321(0x37e)],_0x305295));}['_onRecvEvent'](_0x50267f){const _0x4a522c=_0x500950;try{let _0x50fc90=_0x50267f[_0x4a522c(0x1f0)];switch(_0x50fc90['eventID']){case _0x35ef0a['CollaborationEvent'][_0x4a522c(0x371)]:this[_0x4a522c(0x44d)](_0x50fc90),this['_event$'][_0x4a522c(0x362)](_0x50fc90);break;case _0x35ef0a[_0x4a522c(0x21e)][_0x4a522c(0x41b)]:this['_onUserLeave'](_0x50fc90),this[_0x4a522c(0x1ea)][_0x4a522c(0x362)](_0x50fc90);break;case _0x35ef0a[_0x4a522c(0x21e)][_0x4a522c(0x3f6)]:case _0x35ef0a[_0x4a522c(0x21e)][_0x4a522c(0x366)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4a522c(0x1f7)](),this[_0x4a522c(0x1ea)][_0x4a522c(0x362)](_0x50fc90);break;case _0x35ef0a[_0x4a522c(0x21e)][_0x4a522c(0x38d)]:this[_0x4a522c(0x40b)][_0x4a522c(0x4bb)](_0x4a522c(0x2c5)+JSON[_0x4a522c(0x28b)](_0x50fc90)),this['_event$'][_0x4a522c(0x362)](_0x50fc90);break;case _0x35ef0a[_0x4a522c(0x21e)][_0x4a522c(0x3c8)]:this[_0x4a522c(0x2df)][_0x4a522c(0x27f)](_0x50fc90[_0x4a522c(0x1f0)]),this[_0x4a522c(0x1ea)][_0x4a522c(0x362)](_0x50fc90);break;default:this[_0x4a522c(0x1ea)]['next'](_0x50fc90);}}catch(_0x495d84){this[_0x4a522c(0x40b)][_0x4a522c(0x4bb)](_0x495d84,_0x50267f);}}['_onUserJoin'](_0x32f9b0){const _0x2fe371=_0x500950;this[_0x2fe371(0x3f4)]['updateMember'](this[_0x2fe371(0x37e)],_0x32f9b0['data']);}[_0x500950(0x408)](_0x36b152){const _0x6d85b7=_0x500950;this['_memberService'][_0x6d85b7(0x370)](this[_0x6d85b7(0x37e)],_0x36b152[_0x6d85b7(0x1f0)]['memberID']);}async[_0x500950(0x45f)](_0x515aa8,_0xae1df0){const _0x40f3ab=_0x500950;if(this['sessionStatus']!==_0x486856[_0x40f3ab(0x434)]||!this[_0x40f3ab(0x34a)])throw Error(_0x40f3ab(0x380));try{_0x515aa8[_0x40f3ab(0x49e)]===_0x35ef0a[_0x40f3ab(0x21e)]['SUBMIT_CHANGESET']&&(this[_0x40f3ab(0x4d5)](),this[_0x40f3ab(0x340)](_0x515aa8)),this[_0x40f3ab(0x34a)]['send']({'cmd':_0x402625['CombCmd'][_0x40f3ab(0x20e)],'routeKey':_0xae1df0,'routeType':'','data':_0x515aa8});}catch(_0x3f58c2){this[_0x40f3ab(0x40b)][_0x40f3ab(0x4bb)](_0x3f58c2);}}['_scheduleCollaborationTimeoutTimer'](){const _0x43bbba=_0x500950;var _0xf88f8d;this['_collaborationTimeoutTimer']=setTimeout(()=>{const _0x428738=_0x1951;this[_0x428738(0x4c1)]=null,this[_0x428738(0x219)][_0x428738(0x254)]({'id':_0x3221f8[_0x428738(0x452)]});},(_0xf88f8d=this['_configService'][_0x43bbba(0x2a6)](_0x43bbba(0x3d2)))==null?_0x4293e1:_0xf88f8d);}[_0x500950(0x1f7)](){const _0x23e0dc=_0x500950;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x23e0dc(0x4c1)]),this[_0x23e0dc(0x4c1)]=null);}[_0x500950(0x340)](_0x19714c){const _0x3c08a4=_0x500950;if(!this['_shouldReportTelemetry'])return;let {data:_0x4c0fc6}=_0x19714c,{unitID:_0x118c57,changeset:_0xc9856d}=_0x4c0fc6,{mutations:_0xfd208a,type:_0x4a6256}=_0xc9856d;this[_0x3c08a4(0x496)]={'unitId':_0x118c57,'type':_0x4a6256,'startTime':performance[_0x3c08a4(0x2ce)](),'stopTime':0x0,'duration':0x0,'size':_0x4d509d(_0xfd208a)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x2ea47d=_0x500950;if(this['_shouldReportTelemetry']){if(!this[_0x2ea47d(0x496)]){this[_0x2ea47d(0x40b)][_0x2ea47d(0x4bb)](_0x2ea47d(0x442),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x2ea47d(0x4a3)]=performance['now'](),this[_0x2ea47d(0x496)][_0x2ea47d(0x4ee)]=this[_0x2ea47d(0x496)]['stopTime']-this['_telemetryInfo']['startTime'],this['_telemetryService']['capture']('collaboration_new_changeset',this[_0x2ea47d(0x496)]),this[_0x2ea47d(0x496)]=null;}}[_0x500950(0x1f2)](){const _0x106942=_0x500950;this[_0x106942(0x496)]=null;}};_0x4e1b56=_0x1c7ac3([_0x42aff9(0x2,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x3,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0xe1c77b)),_0x42aff9(0x5,(0x0,_0x2fb456['Inject'])(_0x732d06)),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da)),_0x42aff9(0x7,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x595543[_0x500950(0x256)]))],_0x4e1b56);let _0x3d2740=(0x0,_0x2fb456['createIdentifier'])(_0x500950(0x4d6));function _0x1bd9d1(_0x43bb46){const _0x2282f5=_0x500950;return _0x2282f5(0x417)+_0x43bb46;}function _0x1afcaf(_0x93b3f8){const _0x1b944e=_0x500950;let {unitID:_0x4504b6,mutations:_0x5746b5}=_0x93b3f8;return{'unitId':_0x4504b6,'subUnitId':_0x5746b5['length']>0x0?_0x5746b5[0x0][_0x1b944e(0x4c7)][_0x1b944e(0x43d)]:null};}let _0x324b61=class{constructor(_0x19c1cb,_0x531975,_0x147b01){const _0x317233=_0x500950;this[_0x317233(0x4ac)]=_0x19c1cb,this[_0x317233(0x44b)]=_0x531975,this[_0x317233(0x4ca)]=_0x147b01;}[_0x500950(0x33b)](_0x4d21cf){const _0x365378=_0x500950;var _0xac7eb5,_0x2b47b0;let _0x48d358=this['_injector'][_0x365378(0x2bd)](_0x558c66['SheetsSelectionsService']),{unitId:_0x59bd05,subUnitId:_0x4c11e5}=_0x1afcaf(_0x4d21cf),_0x25c61f=_0x48d358==null?void 0x0:_0x48d358[_0x365378(0x4dc)](_0x59bd05)[_0x365378(0x441)](),_0x44e5eb=(_0xac7eb5=this[_0x365378(0x4ca)]['getUnit'](_0x59bd05))==null||(_0xac7eb5=_0xac7eb5[_0x365378(0x3e1)]())==null?void 0x0:_0xac7eb5['getSheetId']();if(_0x25c61f[_0x365378(0x301)]===0x0||!_0x59bd05||!_0x4c11e5)return;let _0x4f53f1=[{'id':_0x558c66['SetSelectionsOperation']['id'],'params':{'unitId':_0x59bd05,'subUnitId':_0x44e5eb,'selections':_0x2fb456[_0x365378(0x211)][_0x365378(0x2c4)](_0x25c61f)}}],_0x190bf6=this[_0x365378(0x44b)][_0x365378(0x439)](_0x4d21cf,_0x4f53f1);if(!(0x0,_0x35ef0a[_0x365378(0x20b)])(_0x190bf6))throw _0x190bf6[_0x365378(0x4bb)];let _0x36e6d5=(_0x2b47b0=_0x190bf6['m2Prime'][0x0])==null||(_0x2b47b0=_0x2b47b0[_0x365378(0x4c7)])==null?void 0x0:_0x2b47b0[_0x365378(0x491)];if(Array[_0x365378(0x477)](_0x36e6d5)&&_0x36e6d5[_0x365378(0x301)]){if(_0x36e6d5['length']===_0x4f53f1[0x0][_0x365378(0x4c7)][_0x365378(0x491)]['length']&&_0x36e6d5[_0x365378(0x497)]((_0x408f63,_0x991952)=>_0x2fb456[_0x365378(0x4f6)][_0x365378(0x412)](_0x408f63[_0x365378(0x4fc)],_0x4f53f1[0x0]['params']['selections'][_0x991952][_0x365378(0x4fc)])))return;this[_0x365378(0x4ac)]['get'](_0x2fb456['ICommandService'])['executeCommand'](_0x558c66[_0x365378(0x2b6)]['id'],{'unitId':_0x59bd05,'subUnitId':_0x44e5eb,'selections':_0x36e6d5});}}};_0x324b61=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x1,_0x35ef0a['ITransformService']),_0x42aff9(0x2,_0x2fb456[_0x500950(0x285)])],_0x324b61);let _0x129fb8=(0x0,_0x2fb456[_0x500950(0x4f7)])('univer-pro.collaboration-client.single-active-unit-service'),_0x3886c4=function(_0xc9084c){const _0x20b0a7=_0x500950;return _0xc9084c[_0xc9084c[_0x20b0a7(0x4cb)]=0x0]=_0x20b0a7(0x4cb),_0xc9084c[_0xc9084c['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0xc9084c;}({}),_0x5445c5='collaboration-client.config';Symbol(_0x5445c5);let _0x465697={};function _0x5bdd96(_0x3f9a67){const _0x524643=_0x500950;var _0x47dcf1;return!!((_0x47dcf1=_0x3f9a67[_0x524643(0x4c7)])!=null&&_0x47dcf1[_0x524643(0x396)]);}let _0x407214=new Set([_0x558c66[_0x500950(0x4bc)]['id']]);function _0x194ae7(_0x3234f0,_0x529dae,_0xc7a95e,_0x2d5bd0,_0x454c99){const _0x29d26f=_0x500950;var _0x656814,_0x1ffbf4,_0x276a59,_0x6ee4a5;let _0x3443f1=[];for(let _0xe9eb6 of _0x3234f0){if(_0x407214[_0x29d26f(0x50a)](_0xe9eb6['id'])){if(_0x3443f1[_0x29d26f(0x301)]>0x0)break;_0x3443f1[_0x29d26f(0x204)](_0xe9eb6);break;}if(_0x5bdd96(_0xe9eb6)){if(_0x3443f1[_0x29d26f(0x301)]>0x0)break;_0x3443f1[_0x29d26f(0x204)](_0xe9eb6);break;}_0x3443f1['push'](_0xe9eb6);}let _0xf68e22=(_0x656814=(_0x1ffbf4=_0x454c99[_0x29d26f(0x3a1)]())==null?void 0x0:_0x1ffbf4['userID'])==null?_0x29d26f(0x26c):_0x656814,_0x3e4121=(_0x276a59=(_0x6ee4a5=_0x454c99[_0x29d26f(0x3a1)]())==null?void 0x0:_0x6ee4a5[_0x29d26f(0x487)])==null?_0x29d26f(0x26c):_0x276a59;return{'changeset':{'unitID':_0x529dae,'type':(0x0,_0x35ef0a[_0x29d26f(0x4f0)])(_0xc7a95e[_0x29d26f(0x2d9)](_0x529dae)),'baseRev':_0x2d5bd0[_0x29d26f(0x3ca)](_0x529dae),'revision':0x0,'userID':_0xf68e22,'memberID':_0x3e4121,'mutations':_0x3443f1},'pendingMutations':_0x3234f0[_0x29d26f(0x2fd)](_0x3443f1[_0x29d26f(0x301)])};}function _0x22005d(_0x5f067f,_0x3a1d41,_0x1ce012,_0x49c460,_0x3e8e7c){const _0x11852c=_0x500950;var _0x205991,_0x447b87,_0x18c19f,_0x1d2c77;let _0x335754=[_0x5f067f[_0x11852c(0x283)]((_0x246fa0,_0x5e5473)=>{const _0x2db8dd=_0x11852c;var _0x476ee6;let {id:_0x1d4f0d}=_0x246fa0,{id:_0x16fa7c,type:_0x2343bb}=_0x5e5473,_0x53001f=(_0x476ee6=_0x246fa0['params'])==null?{'actions':null}:_0x476ee6,_0x929cc3=_0x5e5473['params'];if(_0x1d4f0d&&_0x1d4f0d!==_0x16fa7c)throw Error(_0x2db8dd(0x43a)+_0x1d4f0d+_0x2db8dd(0x277)+_0x16fa7c+'.');return{..._0x246fa0,'id':_0x16fa7c,'type':_0x2343bb,'params':{'unitId':_0x929cc3[_0x2db8dd(0x2f4)],'textRanges':_0x929cc3['textRanges'],'actions':_0x2fb456[_0x2db8dd(0x250)][_0x2db8dd(0x406)](_0x53001f[_0x2db8dd(0x421)],_0x929cc3[_0x2db8dd(0x421)])}};},{})],_0x2ef920=(_0x205991=(_0x447b87=_0x3e8e7c[_0x11852c(0x3a1)]())==null?void 0x0:_0x447b87[_0x11852c(0x476)])==null?'unknown':_0x205991,_0x189ff2=(_0x18c19f=(_0x1d2c77=_0x3e8e7c[_0x11852c(0x3a1)]())==null?void 0x0:_0x1d2c77['memberID'])==null?_0x11852c(0x26c):_0x18c19f;return{'changeset':{'unitID':_0x3a1d41,'type':(0x0,_0x35ef0a[_0x11852c(0x4f0)])(_0x1ce012[_0x11852c(0x2d9)](_0x3a1d41)),'baseRev':_0x49c460[_0x11852c(0x3ca)](_0x3a1d41),'revision':0x0,'userID':_0x2ef920,'memberID':_0x189ff2,'mutations':_0x335754},'pendingMutations':[]};}function _0x2998df(_0x532c1c,_0x1df8ed){const _0x2a41dc=_0x500950;let _0x185284=new _0x5eae7e[(_0x2a41dc(0x3eb))](0x1);return setTimeout(()=>_0x185284['next'](_0x1df8ed),_0x532c1c),_0x185284[_0x2a41dc(0x511)]()['pipe']((0x0,_0x5eae7e[_0x2a41dc(0x409)])(0x1));}var _0x1b89d6,_0x585efb,_0x1d7c17;let _0x243dc1=function(_0xb238da){const _0x1bc4a2=_0x500950;return _0xb238da[_0x1bc4a2(0x32a)]=_0x1bc4a2(0x310),_0xb238da['SYNCED']=_0x1bc4a2(0x447),_0xb238da['PENDING']=_0x1bc4a2(0x32d),_0xb238da[_0x1bc4a2(0x48e)]=_0x1bc4a2(0x3e3),_0xb238da[_0x1bc4a2(0x50b)]=_0x1bc4a2(0x4ba),_0xb238da[_0x1bc4a2(0x210)]='fetch_missing',_0xb238da[_0x1bc4a2(0x3df)]=_0x1bc4a2(0x506),_0xb238da['OFFLINE']=_0x1bc4a2(0x4d1),_0xb238da;}({}),_0x5297ac=0x4e20,_0xd5a097=0x2bf20;var _0x3bded5=class{constructor(_0x185af4,_0x2eab93,_0x3e8517,_0x473e94,_0x447924,_0x50ff74,_0xededed,_0x5ade06,_0xefa5f0){const _0x5460f3=_0x500950;this[_0x5460f3(0x1ee)]=_0x185af4,this[_0x5460f3(0x431)]=_0x2eab93,this[_0x5460f3(0x33a)]=_0x447924,this[_0x5460f3(0x4d2)]=_0x50ff74,this[_0x5460f3(0x26f)]=_0xededed,this[_0x5460f3(0x29d)]=_0x5ade06,this['_localCacheService']=_0xefa5f0,_0x3dd6fc(this,_0x5460f3(0x24f),null),_0x3dd6fc(this,_0x5460f3(0x3c5),[]),this['_awaitingChangeset']=_0x3e8517,this[_0x5460f3(0x3c5)]=_0x473e94;}[_0x500950(0x4a7)](_0x2b4635){const _0x8448bd=_0x500950;let _0x34bc55=this[_0x8448bd(0x29d)][_0x8448bd(0x3ca)](this[_0x8448bd(0x1ee)]);return _0x2b4635[_0x8448bd(0x300)]>_0x34bc55+0x1?(this['_handler'][_0x8448bd(0x2d8)]({'from':_0x34bc55,'to':_0x2b4635[_0x8448bd(0x300)]-0x1}),!0x0):!0x1;}[_0x500950(0x3ed)](_0x5e2502){const _0x8fd305=_0x500950;this[_0x8fd305(0x26f)]['transformUndoRedo'](this[_0x8fd305(0x1ee)],_0x5e2502);}['_transformSelections'](_0x468ed3){const _0x56d41e=_0x500950;var _0x2009e4,_0x232160;(_0x2009e4=(_0x232160=this['_handler'])[_0x56d41e(0x33e)])==null||_0x2009e4[_0x56d41e(0x2ba)](_0x232160,_0x468ed3);}['_transformIMECache'](_0x505e55){const _0x554164=_0x500950;var _0x5edad1,_0x5c6ac0;return(_0x5edad1=(_0x5c6ac0=this['_handler'])[_0x554164(0x332)])==null?void 0x0:_0x5edad1['call'](_0x5c6ac0,_0x505e55);}[_0x500950(0x40e)](_0x27298c){const _0x2a25e7=_0x500950;var _0x4f7c86,_0x2f37bd;return(_0x4f7c86=(_0x2f37bd=this['_handler'])[_0x2a25e7(0x2e8)])==null?void 0x0:_0x4f7c86[_0x2a25e7(0x2ba)](_0x2f37bd,_0x27298c);}[_0x500950(0x4cc)](_0x5ea23f){const _0x339f5f=_0x500950;var _0x162a15,_0x3e6432,_0x54b8ea;return(_0x162a15=(_0x3e6432=(_0x54b8ea=this['_handler'])[_0x339f5f(0x278)])==null?void 0x0:_0x3e6432['call'](_0x54b8ea,_0x5ea23f))==null?_0x5ea23f:_0x162a15;}[_0x500950(0x25e)](_0x406198){const _0x56d133=_0x500950;var _0x343fb9,_0x517545,_0x3f8242;return(_0x343fb9=(_0x517545=(_0x3f8242=this['_handler'])[_0x56d133(0x3cf)])==null?void 0x0:_0x517545[_0x56d133(0x2ba)](_0x3f8242,_0x406198))==null?_0x406198:_0x343fb9;}[_0x500950(0x48b)](_0xcb354c){const _0x388a0a=_0x500950;if(this['type']===_0x2fb456[_0x388a0a(0x217)][_0x388a0a(0x2dc)]){let {unitID:_0x399335,mutations:_0x7fd5d2,memberID:_0x27c2eb}=_0xcb354c,_0x38744d=_0x7fd5d2['length']>0x0?_0x7fd5d2[0x0][_0x388a0a(0x4c7)]['textRanges']:[];if(Array['isArray'](_0x38744d)&&_0x38744d[_0x388a0a(0x301)]>0x0){var _0x354185,_0x14d744;(_0x354185=(_0x14d744=this['_handler'])[_0x388a0a(0x215)])==null||_0x354185[_0x388a0a(0x2ba)](_0x14d744,{'unitID':_0x399335,'memberID':_0x27c2eb,'textRanges':_0x38744d});}}}[_0x500950(0x31c)](){const _0x2242d6=_0x500950;var _0x1ec7bd;(_0x1ec7bd=this[_0x2242d6(0x49b)])==null||_0x1ec7bd[_0x2242d6(0x1fc)](this[_0x2242d6(0x1ee)],this[_0x2242d6(0x431)],this['_awaitingChangeset'],this[_0x2242d6(0x3c5)]);}[_0x500950(0x1fa)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}[_0x500950(0x235)](){const _0x361da0=_0x500950;this['_revisionService'][_0x361da0(0x24c)](this[_0x361da0(0x1ee)]);}[_0x500950(0x3e5)](_0x24b542){const _0x22da16=_0x500950;let _0x341938=this[_0x22da16(0x4cc)](_0x24b542);_0x341938=this[_0x22da16(0x25e)](_0x341938);let _0x31cb1b=(0x0,_0x2fb456[_0x22da16(0x207)])(_0x341938[_0x22da16(0x3d1)],this['_commandService'],{'fromCollab':!0x0});if(!_0x31cb1b[_0x22da16(0x1f6)]){var _0x226000;throw _0x31cb1b['error']instanceof Error?_0x31cb1b[_0x22da16(0x4bb)]:Error((_0x226000=_0x31cb1b[_0x22da16(0x4bb)])==null?'[CollaborationState]:\x20apply\x20error!':_0x226000);}this[_0x22da16(0x2e2)](_0x341938),this[_0x22da16(0x40e)](_0x341938),this[_0x22da16(0x3ed)](_0x24b542),this[_0x22da16(0x47e)](_0x341938),this['_syncEditingCollabCursor'](_0x341938),this[_0x22da16(0x235)]();}};let _0x421172=class extends _0x3bded5{constructor(_0xe093d,_0x55f219,_0x559e3b,_0x39dcc0,_0x1ca2ed,_0x2f51a3,_0x592675,_0x58ba2c,_0x118cd2,_0x19f8c8){const _0x2b9cfc=_0x500950;super(_0xe093d,_0x55f219,null,[],_0x559e3b,_0x592675,_0x2f51a3,_0x39dcc0,_0x19f8c8),this[_0x2b9cfc(0x4ac)]=_0x1ca2ed,this['_logService']=_0x58ba2c,this['_transformService']=_0x118cd2,this[_0x2b9cfc(0x214)]=_0x19f8c8,_0x3dd6fc(this,'status',_0x243dc1[_0x2b9cfc(0x43e)]);}['appendMutation'](_0x5e41e0){const _0x40e141=_0x500950;let _0x37a7d5=this[_0x40e141(0x4ac)][_0x40e141(0x28e)](_0x59f2bd,this[_0x40e141(0x1ee)],this['type'],[_0x5e41e0],this[_0x40e141(0x33a)]);return _0x37a7d5[_0x40e141(0x31d)](),_0x37a7d5['_updateLocalCache'](),_0x37a7d5;}[_0x500950(0x432)](_0x15c3d7){const _0x7c9652=_0x500950;if(this['_checkMissing'](_0x15c3d7))return this[_0x7c9652(0x4ac)][_0x7c9652(0x28e)](_0x1a096a,this['unitID'],this['type'],null,[],null,[_0x15c3d7],this[_0x7c9652(0x33a)]);try{let _0x1aef9e=this[_0x7c9652(0x44b)][_0x7c9652(0x439)](_0x15c3d7,[_0x35ef0a['EmptyMutationInfo']]);if((0x0,_0x35ef0a[_0x7c9652(0x20b)])(_0x1aef9e)){let {c1Prime:_0x339fcb}=_0x1aef9e;return this[_0x7c9652(0x3e5)](_0x339fcb),this;}throw _0x1aef9e[_0x7c9652(0x4bb)];}catch(_0x56339b){return this[_0x7c9652(0x40b)]['error'](_0x56339b),this[_0x7c9652(0x336)](!0x1);}}[_0x500950(0x336)](_0x23fdaf){const _0x208cdd=_0x500950;return this['_injector'][_0x208cdd(0x28e)](_0xf626e2,this[_0x208cdd(0x1ee)],this[_0x208cdd(0x431)],null,[],this[_0x208cdd(0x33a)],_0x23fdaf);}[_0x500950(0x316)](){const _0x352c4f=_0x500950;throw Error(_0x352c4f(0x438));}[_0x500950(0x2af)](){const _0x3a77dd=_0x500950;throw Error(_0x3a77dd(0x4c0));}[_0x500950(0x37b)](){return this;}[_0x500950(0x395)](){const _0x446118=_0x500950;return this['_injector'][_0x446118(0x28e)](_0x457aa2,this['unitID'],this[_0x446118(0x431)],null,[],this[_0x446118(0x33a)]);}[_0x500950(0x36c)](){return this;}[_0x500950(0x348)](){const _0x3f496a=_0x500950;throw Error(_0x3f496a(0x245));}[_0x500950(0x3d7)](){const _0x47dc5a=_0x500950;let _0xad9325=this[_0x47dc5a(0x29d)][_0x47dc5a(0x3ca)](this[_0x47dc5a(0x1ee)]);return this['_handler'][_0x47dc5a(0x2d8)]({'from':_0xad9325,'to':0x0}),this[_0x47dc5a(0x4ac)]['createInstance'](_0x1a096a,this[_0x47dc5a(0x1ee)],this[_0x47dc5a(0x431)],null,[],null,[],this[_0x47dc5a(0x33a)]);}};_0x421172=_0x1c7ac3([_0x42aff9(0x3,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456['Injector'])),_0x42aff9(0x5,_0x2fb456[_0x500950(0x22e)]),_0x42aff9(0x6,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x7,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x8,_0x35ef0a['ITransformService']),_0x42aff9(0x9,(0x0,_0x2fb456['Optional'])(_0x3d2740))],_0x421172);let _0x59f2bd=_0x1b89d6=class extends _0x3bded5{constructor(_0x538081,_0x133b07,_0x5b6ffc,_0x490b13,_0x1245b4,_0x35b357,_0x5082e2,_0x3428a4,_0x1cff5a,_0x1e6de3,_0x3a1332,_0x3f5fdc,_0x324b37,_0x77cff2){const _0x1bfa2c=_0x500950;super(_0x538081,_0x133b07,null,_0x5b6ffc,_0x490b13,_0x1cff5a,_0x324b37,_0x35b357,_0x77cff2),this[_0x1bfa2c(0x4ac)]=_0x1245b4,this['_memberService']=_0x5082e2,this[_0x1bfa2c(0x40b)]=_0x3428a4,this['_configService']=_0x1e6de3,this['_transformService']=_0x3a1332,this['_univerInstanceService']=_0x3f5fdc,_0x3dd6fc(this,_0x1bfa2c(0x233),_0x243dc1['PENDING']),_0x3dd6fc(this,_0x1bfa2c(0x4c8),null),_0x3dd6fc(this,'_sendingTimer',null);}[_0x500950(0x3a3)](_0xb9bdfb){const _0x2a2f20=_0x500950;return this['_pendingMutations'][_0x2a2f20(0x204)](_0xb9bdfb),this['_updateLocalCache'](),this;}[_0x500950(0x432)](_0x32cb58){const _0x58acdd=_0x500950;if(this[_0x58acdd(0x4a7)](_0x32cb58))return this['_clearScheduledTask'](),this[_0x58acdd(0x4ac)]['createInstance'](_0x1a096a,this[_0x58acdd(0x1ee)],this['type'],null,this['_pendingMutations'],null,[_0x32cb58],this[_0x58acdd(0x33a)]);try{let _0xffb5a8=this[_0x58acdd(0x44b)][_0x58acdd(0x439)](_0x32cb58,this[_0x58acdd(0x3c5)]);if((0x0,_0x35ef0a['isTransformMutationsWithChangesetSuccess'])(_0xffb5a8)){let {c1Prime:_0x174b46,m2Prime:_0x3d5346}=_0xffb5a8;this[_0x58acdd(0x3e5)](_0x174b46);let _0x471af4=this[_0x58acdd(0x4ac)][_0x58acdd(0x28e)](_0x1b89d6,this[_0x58acdd(0x1ee)],this[_0x58acdd(0x431)],_0x3d5346,this[_0x58acdd(0x33a)]);this[_0x58acdd(0x4cd)]();let _0x5efe7a=new Date()[_0x58acdd(0x2de)](),_0x4d31c5=this['_scheduleCompleteTimestamp']?Math[_0x58acdd(0x240)](this[_0x58acdd(0x4c8)]-_0x5efe7a,0x0):this[_0x58acdd(0x4f1)]();return _0x471af4[_0x58acdd(0x31d)](_0x4d31c5),_0x471af4;}throw _0xffb5a8[_0x58acdd(0x4bb)];}catch(_0x1ea94c){return this[_0x58acdd(0x40b)][_0x58acdd(0x4bb)](_0x1ea94c),this['_onConflict'](!0x1);}}[_0x500950(0x316)](){const _0x469144=_0x500950;throw Error(_0x469144(0x4eb));}['onRemoteRej'](){const _0x507e75=_0x500950;throw Error(_0x507e75(0x38c));}[_0x500950(0x37b)](){return this;}[_0x500950(0x395)](){const _0x403633=_0x500950;return this[_0x403633(0x4cd)](),this['_injector'][_0x403633(0x28e)](_0x457aa2,this[_0x403633(0x1ee)],this[_0x403633(0x431)],null,this[_0x403633(0x3c5)],this[_0x403633(0x33a)]);}['toggleOnline'](){return this;}[_0x500950(0x31d)](_0x7f29ac){const _0x1007cc=_0x500950;let _0x3ce6d3=_0x7f29ac==null?this['_getSendChangesetTimeout']():_0x7f29ac;this['_scheduleCompleteTimestamp']=new Date()[_0x1007cc(0x2de)]()+_0x3ce6d3,this[_0x1007cc(0x4c6)]=setTimeout(()=>{const _0x582484=_0x1007cc;this[_0x582484(0x4cd)]();let _0x26a425=null;switch(this[_0x582484(0x431)]){case _0x2fb456['UniverInstanceType'][_0x582484(0x4ce)]:_0x26a425=_0x194ae7(this['_pendingMutations'],this['unitID'],this[_0x582484(0x2d1)],this[_0x582484(0x29d)],this[_0x582484(0x3f4)]);break;case _0x2fb456[_0x582484(0x217)][_0x582484(0x2dc)]:_0x26a425=this['_pendingMutations'][_0x582484(0x497)](_0xed4f13=>_0xed4f13['id']===_0x4923d3['RichTextEditingMutation']['id'])?_0x22005d(this[_0x582484(0x3c5)],this[_0x582484(0x1ee)],this['_univerInstanceService'],this['_revisionService'],this[_0x582484(0x3f4)]):_0x194ae7(this[_0x582484(0x3c5)],this[_0x582484(0x1ee)],this[_0x582484(0x2d1)],this[_0x582484(0x29d)],this[_0x582484(0x3f4)]);break;default:throw Error(_0x582484(0x43b)+this[_0x582484(0x431)]+_0x582484(0x2fe));}let {changeset:_0x59e6c2,pendingMutations:_0x237cda}=_0x26a425;this['_handler'][_0x582484(0x1f5)](_0x59e6c2);let _0x1426aa=_0x237cda[_0x582484(0x301)]?this[_0x582484(0x4ac)][_0x582484(0x28e)](_0x22a444,this['unitID'],this[_0x582484(0x431)],_0x59e6c2,_0x237cda,this[_0x582484(0x33a)],void 0x0):this[_0x582484(0x4ac)]['createInstance'](_0x555165,this[_0x582484(0x1ee)],this[_0x582484(0x431)],_0x59e6c2,this[_0x582484(0x33a)]);_0x1426aa[_0x582484(0x31c)](),this[_0x582484(0x33a)][_0x582484(0x47d)](this,_0x1426aa);},_0x3ce6d3);}[_0x500950(0x4f1)](){const _0x336f28=_0x500950;var _0x394594;let _0x17bd7c=this[_0x336f28(0x25a)]['getConfig'](_0x5445c5);return(_0x394594=_0x17bd7c==null?void 0x0:_0x17bd7c[_0x336f28(0x325)])==null?0x7d0:_0x394594;}[_0x500950(0x348)](){const _0x289234=_0x500950;throw Error(_0x289234(0x298));}['_clearScheduledTask'](){const _0x12e013=_0x500950;this[_0x12e013(0x4c6)]!=null&&(clearTimeout(this[_0x12e013(0x4c6)]),this['_sendingTimer']=null);}[_0x500950(0x336)](_0x38e5bc){const _0x1e1ee8=_0x500950;return this[_0x1e1ee8(0x4cd)](),this[_0x1e1ee8(0x4ac)][_0x1e1ee8(0x28e)](_0xf626e2,this[_0x1e1ee8(0x1ee)],this[_0x1e1ee8(0x431)],null,this[_0x1e1ee8(0x3c5)],this[_0x1e1ee8(0x33a)],_0x38e5bc);}};_0x59f2bd=_0x1b89d6=_0x1c7ac3([_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0xe1c77b)),_0x42aff9(0x7,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x8,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x9,_0x2fb456['IConfigService']),_0x42aff9(0xa,_0x35ef0a[_0x500950(0x381)]),_0x42aff9(0xb,_0x2fb456[_0x500950(0x285)]),_0x42aff9(0xc,_0x2fb456['IUndoRedoService']),_0x42aff9(0xd,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x59f2bd);let _0x555165=_0x585efb=class extends _0x3bded5{constructor(_0x4cded4,_0x14ff70,_0x56d870,_0x22dba7,_0x2102f6,_0x4e2c6c,_0xdc8db9,_0x28016a,_0x4a43e6,_0x7aecf4,_0x1cc148){const _0x39418e=_0x500950;super(_0x4cded4,_0x14ff70,_0x56d870,[],_0x22dba7,_0xdc8db9,_0x7aecf4,_0x4e2c6c,_0x1cc148),this[_0x39418e(0x4ac)]=_0x2102f6,this[_0x39418e(0x40b)]=_0x28016a,this[_0x39418e(0x44b)]=_0x4a43e6,_0x3dd6fc(this,_0x39418e(0x233),_0x243dc1['AWAITING']),_0x3dd6fc(this,_0x39418e(0x276),0x0),_0x3dd6fc(this,_0x39418e(0x3ad),0x0),_0x3dd6fc(this,_0x39418e(0x2c0),void 0x0),_0x3dd6fc(this,'_sender',void 0x0);}[_0x500950(0x3a3)](_0x1b4e9a){const _0x3d0199=_0x500950;this[_0x3d0199(0x4cd)]();let _0x5db884=this['_injector']['createInstance'](_0x22a444,this[_0x3d0199(0x1ee)],this[_0x3d0199(0x431)],this[_0x3d0199(0x24f)],[_0x1b4e9a],this['_handler'],this[_0x3d0199(0x2c0)]);return _0x5db884[_0x3d0199(0x31c)](),_0x5db884;}['onRemoteChangeset'](_0x195f5a){const _0x2e678a=_0x500950;if(this['_checkMissing'](_0x195f5a))return this[_0x2e678a(0x4cd)](),this[_0x2e678a(0x4ac)][_0x2e678a(0x28e)](_0x1a096a,this[_0x2e678a(0x1ee)],this[_0x2e678a(0x431)],this['_awaitingChangeset'],[],null,[_0x195f5a],this[_0x2e678a(0x33a)]);try{let _0x4bdc64=this['_transformService']['transformChangesets']([_0x195f5a],[this[_0x2e678a(0x24f)]],!0x1);if((0x0,_0x35ef0a['isTransformChangesetsSuccess'])(_0x4bdc64)){let {c1Prime:_0x2dd5ac,c2Prime:_0x5a6a85}=_0x4bdc64;this[_0x2e678a(0x3e5)](_0x2dd5ac[0x0]),_0x5a6a85[0x0][_0x2e678a(0x237)]=this[_0x2e678a(0x1fa)](),this[_0x2e678a(0x4cd)]();let _0x4c810a=this[_0x2e678a(0x4ac)][_0x2e678a(0x28e)](_0x585efb,this[_0x2e678a(0x1ee)],this[_0x2e678a(0x431)],_0x5a6a85[0x0],this['_handler']);return _0x4c810a[_0x2e678a(0x31c)](),_0x4c810a;}return this['_onConflict'](!0x1);}catch(_0x52651c){return this['_logService'][_0x2e678a(0x4bb)](_0x52651c),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x51aace){const _0x2bb310=_0x500950;this['_clearScheduledTask']();let _0xf6de3b=this['_revisionService'][_0x2bb310(0x3ca)](this['unitID']);if(_0x51aace[_0x2bb310(0x300)]<_0xf6de3b-0x1)return this;if(this[_0x2bb310(0x4a7)](_0x51aace))return this[_0x2bb310(0x4ac)]['createInstance'](_0x1a096a,this[_0x2bb310(0x1ee)],this[_0x2bb310(0x431)],null,[],this[_0x2bb310(0x24f)],[],this[_0x2bb310(0x33a)]);this[_0x2bb310(0x235)]();let _0x175a2b=this['_injector']['createInstance'](_0x421172,this[_0x2bb310(0x1ee)],this['type'],this['_handler']);return _0x175a2b['_updateLocalCache'](),_0x175a2b;}[_0x500950(0x2af)](_0x409cd2){const _0x168728=_0x500950;return this[_0x168728(0x336)](!!(_0x409cd2!=null&&_0x409cd2[_0x168728(0x26d)]));}[_0x500950(0x37b)](_0x18989a){const _0x4f4fad=_0x500950;return this[_0x4f4fad(0x3ad)]>_0xd5a097?this[_0x4f4fad(0x395)]():(this['_resendTimer']=_0x2998df(this[_0x4f4fad(0x276)],{'timeout':this['_resendTimeout'],'reqId':_0x18989a[_0x4f4fad(0x378)]}),this[_0x4f4fad(0x2db)]=this[_0x4f4fad(0x2c0)]['subscribe'](({reqId:_0x2ec0e7,timeout:_0xad3b6})=>{const _0x427c43=_0x4f4fad;this[_0x427c43(0x29a)](_0x2ec0e7,_0xad3b6);}),this);}['toggleOffline'](){const _0x3d4d79=_0x500950;return this[_0x3d4d79(0x4cd)](),this['_injector'][_0x3d4d79(0x28e)](_0x457aa2,this[_0x3d4d79(0x1ee)],this[_0x3d4d79(0x431)],this['_awaitingChangeset'],[],this[_0x3d4d79(0x33a)]);}[_0x500950(0x36c)](){return this;}[_0x500950(0x348)](){const _0x1afa2f=_0x500950;this[_0x1afa2f(0x33a)][_0x1afa2f(0x1f5)](this[_0x1afa2f(0x24f)]);}['_onConflict'](_0x274c2b){const _0xb17388=_0x500950;return this[_0xb17388(0x4cd)](),this['_injector'][_0xb17388(0x28e)](_0xf626e2,this['unitID'],this[_0xb17388(0x431)],this[_0xb17388(0x24f)],[],this[_0xb17388(0x33a)],_0x274c2b);}[_0x500950(0x29a)](_0x38e4b6,_0x45a0e4){const _0x24cf54=_0x500950;var _0x466a49;_0x38e4b6===((_0x466a49=this[_0x24cf54(0x24f)])==null?void 0x0:_0x466a49[_0x24cf54(0x378)])&&(this[_0x24cf54(0x348)](),this['_resendTimeout']=_0x45a0e4===0x0?0x3e8:Math[_0x24cf54(0x4e8)](_0x45a0e4*0x2,_0x5297ac),this['_maxTotalRetryTimeout']+=this[_0x24cf54(0x276)]);}[_0x500950(0x4cd)](){const _0x29c41a=_0x500950;var _0x292377;(_0x292377=this['_sender'])==null||_0x292377[_0x29c41a(0x3a0)](),this['_resendTimeout']=0x0,this[_0x29c41a(0x3ad)]=0x0;}};_0x555165=_0x585efb=_0x1c7ac3([_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456['Injector'])),_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x6,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x7,_0x2fb456['ILogService']),_0x42aff9(0x8,_0x35ef0a[_0x500950(0x381)]),_0x42aff9(0x9,_0x2fb456[_0x500950(0x22e)]),_0x42aff9(0xa,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x555165);let _0x22a444=_0x1d7c17=class extends _0x3bded5{constructor(_0x2637e7,_0x364df6,_0x5aae34,_0x5355eb,_0x50d5db,_0x9885fb,_0x1e6ebb,_0x3d9015,_0x559f83,_0xd302c5,_0x166a0f,_0x1b0ea4,_0x5683dc){const _0x4a2b26=_0x500950;super(_0x2637e7,_0x364df6,_0x5aae34,_0x5355eb,_0x50d5db,_0x559f83,_0x1b0ea4,_0x3d9015,_0x5683dc),this['_injector']=_0x1e6ebb,this[_0x4a2b26(0x40b)]=_0xd302c5,this['_transformService']=_0x166a0f,this[_0x4a2b26(0x214)]=_0x5683dc,_0x3dd6fc(this,_0x4a2b26(0x233),_0x243dc1[_0x4a2b26(0x50b)]),_0x3dd6fc(this,_0x4a2b26(0x276),0x0),_0x3dd6fc(this,_0x4a2b26(0x3ad),0x0),_0x3dd6fc(this,_0x4a2b26(0x2c0),void 0x0),_0x3dd6fc(this,'_sender',void 0x0),_0x9885fb&&(this[_0x4a2b26(0x2c0)]=_0x9885fb,this[_0x4a2b26(0x2db)]=this['_resendTimer']['subscribe'](({reqId:_0x39acba,timeout:_0xf064e2})=>{const _0x5e481e=_0x4a2b26;this[_0x5e481e(0x29a)](_0x39acba,_0xf064e2);}));}['appendMutation'](_0x33be97){const _0x14050b=_0x500950;return this[_0x14050b(0x3c5)][_0x14050b(0x204)](_0x33be97),this;}[_0x500950(0x432)](_0x18fde0){const _0x4355be=_0x500950;if(this[_0x4355be(0x4a7)](_0x18fde0))return this[_0x4355be(0x4cd)](),this[_0x4355be(0x4ac)][_0x4355be(0x28e)](_0x1a096a,this[_0x4355be(0x1ee)],this[_0x4355be(0x431)],this[_0x4355be(0x24f)],this['_pendingMutations'],null,[_0x18fde0],this[_0x4355be(0x33a)]);try{let _0x14906a=this[_0x4355be(0x44b)][_0x4355be(0x342)]([_0x18fde0],[this[_0x4355be(0x24f)]],!0x1);if((0x0,_0x35ef0a[_0x4355be(0x410)])(_0x14906a)){let {c1Prime:_0x2d8cff,c2Prime:_0x4d9adc}=_0x14906a,_0x148e74=this[_0x4355be(0x44b)]['transformMutationsWithChangeset'](_0x2d8cff[0x0],this[_0x4355be(0x3c5)]);if((0x0,_0x35ef0a[_0x4355be(0x20b)])(_0x148e74)){let {c1Prime:_0x2f186f,m2Prime:_0x115c67}=_0x148e74;return this[_0x4355be(0x3e5)](_0x2f186f),_0x4d9adc[0x0][_0x4355be(0x237)]=this['_getCurrentRevision'](),this[_0x4355be(0x4cd)](),this['_injector'][_0x4355be(0x28e)](_0x1d7c17,this[_0x4355be(0x1ee)],this[_0x4355be(0x431)],_0x4d9adc[0x0],_0x115c67,this[_0x4355be(0x33a)],void 0x0);}throw _0x148e74['error'];}throw _0x14906a['error'];}catch(_0x4381b2){return this[_0x4355be(0x40b)][_0x4355be(0x4bb)](_0x4381b2),this[_0x4355be(0x336)](!0x1);}}['onRemoteAck'](_0x51ff88){const _0x2eedee=_0x500950;if(this[_0x2eedee(0x4cd)](),this[_0x2eedee(0x4a7)](_0x51ff88))return this[_0x2eedee(0x4ac)][_0x2eedee(0x28e)](_0x1a096a,this[_0x2eedee(0x1ee)],this[_0x2eedee(0x431)],null,this[_0x2eedee(0x3c5)],this[_0x2eedee(0x24f)],[],this[_0x2eedee(0x33a)]);this['_incrementRevisionNumber']();let _0x2a1dcf=this['_injector'][_0x2eedee(0x28e)](_0x59f2bd,this[_0x2eedee(0x1ee)],this[_0x2eedee(0x431)],this[_0x2eedee(0x3c5)],this[_0x2eedee(0x33a)]);return _0x2a1dcf[_0x2eedee(0x31d)](),_0x2a1dcf[_0x2eedee(0x31c)](),_0x2a1dcf;}[_0x500950(0x2af)](_0x4896c8){const _0xb95c20=_0x500950;return this['_onConflict'](!!(_0x4896c8!=null&&_0x4896c8[_0xb95c20(0x26d)]));}[_0x500950(0x37b)](_0x3d2bbd){const _0x193fa4=_0x500950;return this['_maxTotalRetryTimeout']>_0xd5a097?this['toggleOffline']():(this[_0x193fa4(0x2c0)]=_0x2998df(this['_resendTimeout'],{'timeout':this[_0x193fa4(0x276)],'reqId':_0x3d2bbd[_0x193fa4(0x378)]}),this[_0x193fa4(0x2db)]=this['_resendTimer'][_0x193fa4(0x495)](({reqId:_0x47c712,timeout:_0x15bf4a})=>{const _0x46b0b4=_0x193fa4;this[_0x46b0b4(0x29a)](_0x47c712,_0x15bf4a);}),this);}['toggleOffline'](){const _0x40a055=_0x500950;return this[_0x40a055(0x4cd)](),this[_0x40a055(0x4ac)][_0x40a055(0x28e)](_0x457aa2,this['unitID'],this[_0x40a055(0x431)],this['_awaitingChangeset'],this[_0x40a055(0x3c5)],this[_0x40a055(0x33a)]);}[_0x500950(0x36c)](){return this;}[_0x500950(0x348)](){const _0xe3e89d=_0x500950;this[_0xe3e89d(0x33a)][_0xe3e89d(0x1f5)](this[_0xe3e89d(0x24f)]);}[_0x500950(0x336)](_0x20dd5d){const _0x2786bd=_0x500950;return this[_0x2786bd(0x4cd)](),this[_0x2786bd(0x4ac)][_0x2786bd(0x28e)](_0xf626e2,this[_0x2786bd(0x1ee)],this[_0x2786bd(0x431)],null,this[_0x2786bd(0x3c5)],this[_0x2786bd(0x33a)],_0x20dd5d);}[_0x500950(0x29a)](_0x19eb0f,_0xebc07c){const _0x469ea4=_0x500950;var _0x167988;_0x19eb0f===((_0x167988=this[_0x469ea4(0x24f)])==null?void 0x0:_0x167988['reqId'])&&(this[_0x469ea4(0x348)](),this[_0x469ea4(0x276)]=_0xebc07c===0x0?0x3e8:Math['min'](_0xebc07c*0x2,_0x5297ac),this[_0x469ea4(0x3ad)]+=this['_resendTimeout']);}[_0x500950(0x4cd)](){var _0x324dfd;(_0x324dfd=this['_sender'])==null||_0x324dfd['unsubscribe'](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x22a444=_0x1d7c17=_0x1c7ac3([_0x42aff9(0x6,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x7,(0x0,_0x2fb456['Inject'])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x8,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x9,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0xa,_0x35ef0a[_0x500950(0x381)]),_0x42aff9(0xb,_0x2fb456['IUndoRedoService']),_0x42aff9(0xc,(0x0,_0x2fb456['Optional'])(_0x3d2740))],_0x22a444);let _0xf626e2=class extends _0x3bded5{constructor(_0x494943,_0x173140,_0x3f5b02,_0x11ffd6,_0x3d246,_0x48176d=!0x1,_0x4ce748,_0x40e84e,_0x4832c2,_0xa70997,_0x94d966,_0x432292,_0x416679){const _0x2a8205=_0x500950;super(_0x494943,_0x173140,_0x3f5b02,_0x11ffd6,_0x3d246,_0x40e84e,_0x4832c2,_0xa70997,_0x416679),this[_0x2a8205(0x213)]=_0x48176d,this[_0x2a8205(0x48f)]=_0x4ce748,this[_0x2a8205(0x2d4)]=_0x94d966,this['_collaborationUIEventService']=_0x432292,this['localCacheService']=_0x416679,_0x3dd6fc(this,_0x2a8205(0x233),_0x243dc1[_0x2a8205(0x3df)]),this[_0x2a8205(0x38a)](),this[_0x2a8205(0x433)](),this[_0x2a8205(0x2a9)]();}[_0x500950(0x3a3)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x500950(0x2af)](){return this;}[_0x500950(0x37b)](){return this;}[_0x500950(0x395)](){return this;}[_0x500950(0x36c)](){return this;}[_0x500950(0x348)](){const _0x4703ec=_0x500950;throw Error(_0x4703ec(0x2b2));}[_0x500950(0x433)](){const _0x586fce=_0x500950;var _0x316873;(_0x316873=this[_0x586fce(0x49b)])==null||_0x316873[_0x586fce(0x1fc)](this['unitID'],this[_0x586fce(0x431)],null,[]);}[_0x500950(0x38a)](){const _0x1a2ca3=_0x500950;this[_0x1a2ca3(0x213)]?this[_0x1a2ca3(0x219)][_0x1a2ca3(0x254)]({'id':_0x3221f8[_0x1a2ca3(0x4de)]}):this['_collaborationUIEventService']['emitEvent']({'id':_0x3221f8[_0x1a2ca3(0x3df)]});}[_0x500950(0x2a9)](){const _0x4a5025=_0x500950;this[_0x4a5025(0x48f)]['updatePermissionPoint'](new _0x558c66['WorkbookEditablePermission'](this[_0x4a5025(0x1ee)])['id'],!0x1);}};_0xf626e2=_0x1c7ac3([_0x42aff9(0x6,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x3db)])),_0x42aff9(0x7,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x8,_0x2fb456['IUndoRedoService']),_0x42aff9(0x9,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0xa,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x20d)])),_0x42aff9(0xb,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da)),_0x42aff9(0xc,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0xf626e2);let _0x457aa2=class extends _0x3bded5{constructor(_0x3fe470,_0x449d79,_0x29164c,_0x2202d6,_0x57b78e,_0x3cd1a0,_0x22b7aa,_0x2215f4,_0x328fc5,_0x30fc9b){const _0x2fa06f=_0x500950;super(_0x3fe470,_0x449d79,_0x29164c,_0x2202d6,_0x57b78e,_0x2215f4,_0x328fc5,_0x22b7aa,_0x30fc9b),this[_0x2fa06f(0x4ac)]=_0x3cd1a0,_0x3dd6fc(this,'status',_0x243dc1[_0x2fa06f(0x231)]);}['appendMutation'](_0x3dbd78){const _0x222428=_0x500950;return this['_pendingMutations']['push'](_0x3dbd78),this[_0x222428(0x31c)](),this;}['onRemoteChangeset'](_0x229f44){const _0x58966b=_0x500950;throw Error(_0x58966b(0x364));}[_0x500950(0x316)](){const _0x948975=_0x500950;throw Error(_0x948975(0x308));}['onRemoteRej'](){const _0x200e1d=_0x500950;throw Error(_0x200e1d(0x267));}[_0x500950(0x37b)](){return this;}['toggleOffline'](){return this;}[_0x500950(0x36c)](){const _0x40d04b=_0x500950;let {_injector:_0x573e54,_pendingMutations:_0x2d1a85,_awaitingChangeset:_0xb8e612,unitID:_0x4a673f,_handler:_0x428d3a,type:_0x32592a}=this,_0x1849a9=_0x56847e(_0x573e54,_0x4a673f,_0x32592a,_0xb8e612,_0x2d1a85,_0x428d3a);return _0x1849a9 instanceof _0x59f2bd?_0x1849a9[_0x40d04b(0x31d)]():(_0x1849a9 instanceof _0x22a444||_0x1849a9 instanceof _0x555165)&&_0x1849a9[_0x40d04b(0x348)](),_0x1849a9;}[_0x500950(0x348)](){const _0x554c12=_0x500950;throw Error(_0x554c12(0x49f));}};_0x457aa2=_0x1c7ac3([_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x7,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x8,_0x2fb456[_0x500950(0x22e)]),_0x42aff9(0x9,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x457aa2);let _0x1a096a=class extends _0x3bded5{constructor(_0xa61941,_0x5cac9d,_0x19c583,_0x149403,_0x4daa76,_0x105dd1,_0x247f57,_0xc2a46f,_0x443801,_0x4c6f16,_0x35a4bc,_0x310c09,_0x17a796,_0x372e19){const _0xcb7379=_0x500950;super(_0xa61941,_0x5cac9d,_0x19c583,_0x149403,_0x247f57,_0x35a4bc,_0x310c09,_0x443801,_0x372e19),this[_0xcb7379(0x34e)]=_0x4daa76,this[_0xcb7379(0x424)]=_0x105dd1,this['_injector']=_0xc2a46f,this['_logService']=_0x4c6f16,this[_0xcb7379(0x44b)]=_0x17a796,this['localCacheService']=_0x372e19,_0x3dd6fc(this,_0xcb7379(0x233),_0x243dc1[_0xcb7379(0x210)]);}[_0x500950(0x405)](_0x3acd17){const _0x529e2d=_0x500950;try{let _0x2a04ed=[..._0x3acd17,...this[_0x529e2d(0x424)]],_0x3c3c08=[this[_0x529e2d(0x24f)]||this[_0x529e2d(0x34e)]]['filter'](_0x12b2f1=>!!_0x12b2f1),_0x52653a,_0x470ceb;if(_0x3c3c08[_0x529e2d(0x301)]){let _0x2f4f67=this[_0x529e2d(0x44b)][_0x529e2d(0x342)](_0x2a04ed,_0x3c3c08,!0x1);if(!(0x0,_0x35ef0a[_0x529e2d(0x410)])(_0x2f4f67))throw _0x2f4f67[_0x529e2d(0x4bb)];_0x52653a=_0x2f4f67['c1Prime'],_0x470ceb=_0x2f4f67[_0x529e2d(0x374)];}else _0x52653a=_0x2a04ed,_0x470ceb=[];let _0x46c14c=this[_0x529e2d(0x3c5)];_0x52653a[_0x529e2d(0x36d)](_0x4c957d=>{const _0x1030df=_0x529e2d;let _0x52bc1c;if(_0x46c14c[_0x1030df(0x301)]){let _0x455891=this[_0x1030df(0x44b)][_0x1030df(0x439)](_0x4c957d,_0x46c14c);if(!(0x0,_0x35ef0a[_0x1030df(0x20b)])(_0x455891))throw _0x455891[_0x1030df(0x4bb)];_0x52bc1c=_0x455891[_0x1030df(0x30b)],_0x46c14c=_0x455891[_0x1030df(0x3dc)];}else _0x52bc1c=_0x4c957d;this[_0x1030df(0x3e5)](_0x52bc1c);}),this[_0x529e2d(0x34e)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x470ceb[_0x529e2d(0x301)]&&(_0x470ceb[0x0][_0x529e2d(0x237)]=this[_0x529e2d(0x1fa)]());let _0xa34d71;if(this['_awaitingChangeset']&&_0x46c14c[_0x529e2d(0x301)]!==0x0)_0xa34d71=this['_injector'][_0x529e2d(0x28e)](_0x22a444,this[_0x529e2d(0x1ee)],this[_0x529e2d(0x431)],_0x470ceb[0x0],_0x46c14c,this[_0x529e2d(0x33a)],void 0x0);else{if(this[_0x529e2d(0x24f)]&&_0x46c14c['length']===0x0)_0x470ceb[0x0][_0x529e2d(0x237)]=this[_0x529e2d(0x1fa)](),_0xa34d71=this['_injector'][_0x529e2d(0x28e)](_0x555165,this['unitID'],this[_0x529e2d(0x431)],_0x470ceb[0x0],this[_0x529e2d(0x33a)]);else{if(_0x46c14c['length']!==0x0){let _0x1a30df=this[_0x529e2d(0x4ac)]['createInstance'](_0x59f2bd,this['unitID'],this[_0x529e2d(0x431)],_0x46c14c,this[_0x529e2d(0x33a)]);_0x1a30df[_0x529e2d(0x31d)](),_0xa34d71=_0x1a30df;}else _0xa34d71=this['_injector'][_0x529e2d(0x28e)](_0x421172,this[_0x529e2d(0x1ee)],this[_0x529e2d(0x431)],this[_0x529e2d(0x33a)]);}}return _0xa34d71[_0x529e2d(0x31c)](),_0xa34d71;}catch(_0x3e6f5e){return this[_0x529e2d(0x40b)][_0x529e2d(0x4bb)](_0x529e2d(0x376),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3e6f5e),this[_0x529e2d(0x4ac)][_0x529e2d(0x28e)](_0xf626e2,this[_0x529e2d(0x1ee)],this[_0x529e2d(0x431)],this[_0x529e2d(0x24f)],this[_0x529e2d(0x3c5)],this[_0x529e2d(0x33a)],!0x1);}}[_0x500950(0x348)](){const _0x9d39f2=_0x500950;throw Error(_0x9d39f2(0x32b));}[_0x500950(0x3a3)](_0x2301d6){const _0x58fe4c=_0x500950;return this[_0x58fe4c(0x3c5)][_0x58fe4c(0x204)](_0x2301d6),this;}[_0x500950(0x432)](_0x547a07){const _0x1ecb0a=_0x500950;return this[_0x1ecb0a(0x424)][_0x1ecb0a(0x204)](_0x547a07),this;}[_0x500950(0x316)](_0x3b9c7c){const _0xd7847e=_0x500950;if(this[_0xd7847e(0x24f)])return this[_0xd7847e(0x34e)]=this[_0xd7847e(0x24f)],this[_0xd7847e(0x24f)]=null,this;throw Error(_0xd7847e(0x23d));}[_0x500950(0x2af)](_0x18b8b7){return this['_onConflict'](!!(_0x18b8b7!=null&&_0x18b8b7['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x500950(0x395)](){const _0x19c1f2=_0x500950;return this[_0x19c1f2(0x4ac)][_0x19c1f2(0x28e)](_0x457aa2,this['unitID'],this[_0x19c1f2(0x431)],this[_0x19c1f2(0x24f)],this[_0x19c1f2(0x3c5)],this[_0x19c1f2(0x33a)]);}[_0x500950(0x36c)](){return this;}[_0x500950(0x336)](_0x33091c){const _0x4afe2b=_0x500950;return this[_0x4afe2b(0x4ac)][_0x4afe2b(0x28e)](_0xf626e2,this[_0x4afe2b(0x1ee)],this['type'],this['_awaitingChangeset'],this[_0x4afe2b(0x3c5)],this[_0x4afe2b(0x33a)],_0x33091c);}};_0x1a096a=_0x1c7ac3([_0x42aff9(0x7,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456['Injector'])),_0x42aff9(0x8,(0x0,_0x2fb456['Inject'])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x9,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0xa,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0xb,_0x2fb456[_0x500950(0x22e)]),_0x42aff9(0xc,_0x35ef0a[_0x500950(0x381)]),_0x42aff9(0xd,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x1a096a);function _0x56847e(_0x1caeb9,_0x5f5a94,_0x2554ff,_0x148f77,_0x49497c,_0x37face){const _0x30c469=_0x500950;return _0x148f77&&_0x49497c[_0x30c469(0x301)]?_0x1caeb9[_0x30c469(0x28e)](_0x22a444,_0x5f5a94,_0x2554ff,_0x148f77,_0x49497c,_0x37face,void 0x0):_0x148f77?_0x1caeb9[_0x30c469(0x28e)](_0x555165,_0x5f5a94,_0x2554ff,_0x148f77,_0x37face):_0x49497c['length']?_0x1caeb9[_0x30c469(0x28e)](_0x59f2bd,_0x5f5a94,_0x2554ff,_0x49497c,_0x37face):_0x1caeb9[_0x30c469(0x28e)](_0x421172,_0x5f5a94,_0x2554ff,_0x37face);}let _0x575020=class extends _0x2fb456[_0x500950(0x1fb)]{get[_0x500950(0x216)](){const _0x5059d6=_0x500950;return this[_0x5059d6(0x4cf)];}constructor(_0x56e3e4,_0x472622,_0x4b3e0f,_0xe354c9,_0x3e7b0e,_0x2289f0,_0x466a65,_0x53acaf,_0x14c027,_0x56a177,_0x528351,_0x45a743,_0x15c94d,_0x22b1b4){const _0x41bac=_0x500950;super(),this[_0x41bac(0x1ee)]=_0x56e3e4,this[_0x41bac(0x3ab)]=_0x472622,this[_0x41bac(0x2dd)]=_0x4b3e0f,this['_injector']=_0xe354c9,this['_compressMutationService']=_0x3e7b0e,this[_0x41bac(0x2d4)]=_0x2289f0,this['_revisionService']=_0x466a65,this['_eventService']=_0x53acaf,this[_0x41bac(0x2d1)]=_0x14c027,this[_0x41bac(0x40b)]=_0x56a177,this[_0x41bac(0x4d2)]=_0x528351,this['_permissionService']=_0x45a743,this[_0x41bac(0x2c7)]=_0x15c94d,this['_localCacheService']=_0x22b1b4,_0x3dd6fc(this,_0x41bac(0x3de),new _0x5eae7e[(_0x41bac(0x3c7))](null)),_0x3dd6fc(this,'state$',this[_0x41bac(0x3de)]['asObservable']()),_0x3dd6fc(this,_0x41bac(0x4cf),void 0x0),_0x3dd6fc(this,_0x41bac(0x4a6),!0x1),_0x3dd6fc(this,_0x41bac(0x45c),''),_0x3dd6fc(this,'_changesetReqId',0x0),_0x3dd6fc(this,_0x41bac(0x22f),this[_0x41bac(0x31a)][_0x41bac(0x3d3)]((0x0,_0x5eae7e[_0x41bac(0x39d)])(_0x42d626=>_0x42d626?_0x42d626['status']:_0x243dc1[_0x41bac(0x231)]),(0x0,_0x5eae7e[_0x41bac(0x41f)])(0x1))),_0x3dd6fc(this,_0x41bac(0x40f),!0x1),_0x3dd6fc(this,_0x41bac(0x413),[]);}async[_0x500950(0x41a)](){const _0x26f77c=_0x500950;if(this[_0x26f77c(0x216)])throw Error(_0x26f77c(0x509));await this[_0x26f77c(0x21d)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,(0x0,_0x2fb456['toDisposable'])(()=>{const _0xb10cff=_0x1951;this[_0xb10cff(0x4a6)]=!0x1,this[_0xb10cff(0x212)]();});}[_0x500950(0x3bd)](_0x508a94){const _0x58f6f7=_0x500950;this[_0x58f6f7(0x3b1)](_0x508a94);}[_0x500950(0x48d)](_0x57eef1){const _0x274d14=_0x500950;this[_0x274d14(0x4cf)]=_0x57eef1,this[_0x274d14(0x3de)][_0x274d14(0x362)](_0x57eef1);}async[_0x500950(0x21d)](){const _0x2d9a5e=_0x500950;if(this[_0x2d9a5e(0x48d)](await this[_0x2d9a5e(0x3e6)]()),this[_0x2d9a5e(0x2c7)]){var _0xde9532;(_0xde9532=this['_singleActiveUnitService'])==null||_0xde9532['editingUnit'](this[_0x2d9a5e(0x1ee)]),this[_0x2d9a5e(0x3d4)](this[_0x2d9a5e(0x2c7)][_0x2d9a5e(0x3da)](this[_0x2d9a5e(0x1ee)])['subscribe'](_0x4701f2=>{const _0xd839dd=_0x2d9a5e;this['_logService'][_0xd839dd(0x4a8)](_0xd839dd(0x202),_0xd839dd(0x4e1),_0x4701f2),_0x4701f2===_0x3886c4[_0xd839dd(0x4fb)]?(this['_eventService'][_0xd839dd(0x254)]({'id':_0x3221f8[_0xd839dd(0x478)]}),this[_0xd839dd(0x48f)][_0xd839dd(0x1ed)](new _0x558c66['WorkbookEditablePermission'](this[_0xd839dd(0x1ee)])['id'],!0x1),this[_0xd839dd(0x48f)][_0xd839dd(0x3ef)](!0x1)):(this['_permissionService'][_0xd839dd(0x1ed)](new _0x558c66[(_0xd839dd(0x21a))](this[_0xd839dd(0x1ee)])['id'],!0x0),this[_0xd839dd(0x48f)][_0xd839dd(0x3ef)](!0x0));}));}let _0x8f8a93=!0x1;return this[_0x2d9a5e(0x3d4)](this[_0x2d9a5e(0x3ab)][_0x2d9a5e(0x23c)]['subscribe'](_0x26b167=>{const _0xb896c8=_0x2d9a5e;_0x26b167===_0x486856[_0xb896c8(0x434)]?this['_toggleOnline'](_0x8f8a93):_0x26b167===_0x486856[_0xb896c8(0x231)]&&(_0x8f8a93=!0x0,this[_0xb896c8(0x50c)]());})),this['disposeWithMe'](this[_0x2d9a5e(0x3ab)][_0x2d9a5e(0x2aa)][_0x2d9a5e(0x495)](_0x4898d5=>{const _0x1af43b=_0x2d9a5e;try{switch(_0x4898d5[_0x1af43b(0x49e)]){case _0x35ef0a[_0x1af43b(0x21e)]['NEW_CHANGESETS']:this[_0x1af43b(0x4ef)]((0x0,_0x35ef0a[_0x1af43b(0x468)])(_0x4898d5['data']));break;case _0x35ef0a[_0x1af43b(0x21e)][_0x1af43b(0x3f6)]:this[_0x1af43b(0x2c2)](_0x4898d5['data']);break;case _0x35ef0a['CollaborationEvent'][_0x1af43b(0x373)]:this[_0x1af43b(0x3fe)]();break;case _0x35ef0a[_0x1af43b(0x21e)]['CHANGESET_SHOULD_RETRY']:this[_0x1af43b(0x361)](_0x4898d5[_0x1af43b(0x1f0)]);break;case _0x35ef0a['CollaborationEvent'][_0x1af43b(0x222)]:this[_0x1af43b(0x263)](_0x4898d5[_0x1af43b(0x1f0)][_0x1af43b(0x479)][_0x1af43b(0x39d)](_0x17da60=>(0x0,_0x35ef0a[_0x1af43b(0x468)])(_0x17da60)));break;case _0x35ef0a[_0x1af43b(0x21e)][_0x1af43b(0x295)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});break;case _0x35ef0a['CollaborationEvent'][_0x1af43b(0x228)]:break;}}catch(_0x39d93a){throw console[_0x1af43b(0x4bb)](_0x1af43b(0x400),_0x39d93a),_0x39d93a;}})),this[_0x2d9a5e(0x4cf)];}[_0x500950(0x24a)](){const _0x21d693=_0x500950;this[_0x21d693(0x40f)]=!0x1;}[_0x500950(0x306)](){const _0x14b324=_0x500950;if(this[_0x14b324(0x40f)])throw Error(_0x14b324(0x3a2));this[_0x14b324(0x40f)]=!0x0;}[_0x500950(0x3b1)](_0x3a9cfd){const _0x42bd72=_0x500950;this['_lockTransition'](),this[_0x42bd72(0x48d)](this[_0x42bd72(0x4cf)][_0x42bd72(0x3a3)](_0x3a9cfd)),this[_0x42bd72(0x24a)]();}[_0x500950(0x4ef)](_0x14b797){const _0x44a3dd=_0x500950;if(!(_0x14b797['revision']<=this[_0x44a3dd(0x29d)][_0x44a3dd(0x3ca)](this['unitID']))){if(this[_0x44a3dd(0x4a6)]){this[_0x44a3dd(0x413)][_0x44a3dd(0x204)](_0x14b797);return;}this['_applyRemoteChangeset'](_0x14b797);}}[_0x500950(0x212)](){const _0xc6013b=_0x500950;this[_0xc6013b(0x413)][_0xc6013b(0x36d)](_0x403f09=>this[_0xc6013b(0x1f3)](_0x403f09)),this['_remoteChangesetQueue']=[];}[_0x500950(0x1f3)](_0x1c9fc7){const _0x4800b5=_0x500950;let _0x11ec55=this[_0x4800b5(0x30a)][_0x4800b5(0x223)]['fetchThroughInterceptors'](this[_0x4800b5(0x30a)][_0x4800b5(0x223)][_0x4800b5(0x319)]()[_0x4800b5(0x39b)])(_0x1c9fc7[_0x4800b5(0x3d1)],null)||_0x1c9fc7[_0x4800b5(0x3d1)],_0x23dc74={..._0x1c9fc7,'mutations':_0x11ec55};this[_0x4800b5(0x306)](),this['_updateState'](this[_0x4800b5(0x4cf)][_0x4800b5(0x432)](_0x23dc74)),this[_0x4800b5(0x24a)]();}[_0x500950(0x2c2)](_0x5f168a){const _0x387393=_0x500950;this[_0x387393(0x306)](),this[_0x387393(0x48d)](this[_0x387393(0x4cf)][_0x387393(0x316)](_0x5f168a)),this[_0x387393(0x24a)]();}[_0x500950(0x3fe)](_0x3a467d){const _0x10bbba=_0x500950;this['_lockTransition'](),this[_0x10bbba(0x48d)](this[_0x10bbba(0x4cf)][_0x10bbba(0x2af)](_0x3a467d)),this['_unlockTransition']();}[_0x500950(0x361)](_0x516fda){const _0x148f4d=_0x500950;this[_0x148f4d(0x306)](),this['_updateState'](this[_0x148f4d(0x4cf)][_0x148f4d(0x37b)](_0x516fda)),this[_0x148f4d(0x24a)]();}[_0x500950(0x263)](_0x17e658){const _0x1765ab=_0x500950;if(!(this[_0x1765ab(0x4cf)]instanceof _0x1a096a))throw TypeError(_0x1765ab(0x436));let _0x17f3e0=_0x17e658[_0x1765ab(0x39d)](_0x405035=>{const _0x5479bb=_0x1765ab;let _0x5d47d2=this[_0x5479bb(0x30a)]['interceptor'][_0x5479bb(0x3ae)](this['_compressMutationService'][_0x5479bb(0x223)][_0x5479bb(0x319)]()[_0x5479bb(0x39b)])(_0x405035['mutations'],null)||_0x405035['mutations'];return{..._0x405035,'mutations':_0x5d47d2};});this[_0x1765ab(0x306)](),this[_0x1765ab(0x48d)](this[_0x1765ab(0x4cf)][_0x1765ab(0x405)](_0x17f3e0)),this[_0x1765ab(0x24a)]();}[_0x500950(0x50c)](){const _0x31ba35=_0x500950;this[_0x31ba35(0x306)](),this[_0x31ba35(0x48d)](this[_0x31ba35(0x4cf)][_0x31ba35(0x395)]()),this[_0x31ba35(0x24a)]();}['_toggleOnline'](_0x3254c1=!0x1){const _0x4658fd=_0x500950;this[_0x4658fd(0x306)](),this[_0x4658fd(0x48d)](this[_0x4658fd(0x4cf)][_0x4658fd(0x36c)]()),this[_0x4658fd(0x24a)]();let _0x4e9167=this[_0x4658fd(0x4cf)];_0x3254c1&&_0x4e9167 instanceof _0x421172&&(this[_0x4658fd(0x306)](),this[_0x4658fd(0x48d)](_0x4e9167['fetchMiss']()),this['_unlockTransition']());}async[_0x500950(0x3e6)](){return new Promise(_0x417467=>{const _0x5be2f4=_0x1951;this['session']['sessionStatus$'][_0x5be2f4(0x3d3)]((0x0,_0x5eae7e[_0x5be2f4(0x409)])(0x1))[_0x5be2f4(0x495)](async _0x23db51=>{const _0x2063e6=_0x5be2f4;_0x417467(await this[_0x2063e6(0x203)](_0x23db51===_0x486856[_0x2063e6(0x434)]));});});}['_createHandler'](){const _0x29a9dc=_0x500950;let _0x4fa5cd=this[_0x29a9dc(0x1ee)];return{'onStateChange':(_0x4a939b,_0x353ac9)=>{const _0x424fb9=_0x29a9dc;if(_0x4a939b!==this[_0x424fb9(0x4cf)])throw Error(_0x424fb9(0x2a2)+_0x4a939b[_0x424fb9(0x233)]+_0x424fb9(0x3f0)+_0x353ac9['status']+_0x424fb9(0x273)+this[_0x424fb9(0x4cf)]['status']);this[_0x424fb9(0x48d)](_0x353ac9);},'onSendChangeset':_0x3518c9=>{const _0x50e083=_0x29a9dc;_0x3518c9[_0x50e083(0x4db)]||(_0x3518c9[_0x50e083(0x4db)]=this[_0x50e083(0x45c)],_0x3518c9['reqId']=++this[_0x50e083(0x4e5)]);let _0x5caf0e={'eventID':_0x35ef0a[_0x50e083(0x21e)][_0x50e083(0x4ad)],'data':{'unitID':_0x3518c9[_0x50e083(0x1ee)],'unitType':this[_0x50e083(0x2dd)],'changeset':_0x3518c9,'memberID':this[_0x50e083(0x3ab)]['getMemberID']()}};this['session'][_0x50e083(0x45f)](_0x5caf0e,this[_0x50e083(0x1ee)]);},'onMissingChangesets':({from:_0x1112bc,to:_0x5c8a5d})=>{const _0x3ceb80=_0x29a9dc;this[_0x3ceb80(0x40b)]['debug'](_0x3ceb80(0x202),_0x3ceb80(0x2d0)+_0x1112bc+_0x3ceb80(0x445)+_0x5c8a5d);let _0x587f36={'eventID':_0x35ef0a[_0x3ceb80(0x21e)][_0x3ceb80(0x44a)],'data':{'unitID':_0x4fa5cd,'unitType':this[_0x3ceb80(0x2dd)],'from':_0x1112bc,'to':_0x5c8a5d}};this[_0x3ceb80(0x3ab)]['send'](_0x587f36,this['unitID']);}};}async[_0x500950(0x203)](_0x5e2ec3){const _0x40106e=_0x500950;var _0x24124d,_0x313dbc,_0x12c737;let _0x5c7b4f=await((_0x24124d=this['_localCacheService'])==null?void 0x0:_0x24124d[_0x40106e(0x45a)](this[_0x40106e(0x1ee)])),_0x5b4e83=(_0x313dbc=_0x5c7b4f==null?void 0x0:_0x5c7b4f[_0x40106e(0x3d1)])==null?[]:_0x313dbc,_0x1097f4=(_0x12c737=_0x5c7b4f==null?void 0x0:_0x5c7b4f[_0x40106e(0x40d)])==null?null:_0x12c737,_0x5a1a22=!!(_0x1097f4!=null&&_0x1097f4[_0x40106e(0x4db)])&&!!(_0x1097f4!=null&&_0x1097f4[_0x40106e(0x378)]);this[_0x40106e(0x45c)]=_0x5a1a22?_0x1097f4['sid']:(0x0,_0x35ef0a[_0x40106e(0x28a)])(),this[_0x40106e(0x4e5)]=_0x5a1a22?_0x1097f4[_0x40106e(0x378)]:0x0;let _0x328a7b=this[_0x40106e(0x1ee)];try{this[_0x40106e(0x2fa)](_0x1097f4,_0x5b4e83);}catch(_0x214abf){this[_0x40106e(0x40b)][_0x40106e(0x4bb)](_0x214abf);}let _0x5d8448=this[_0x40106e(0x27c)]();if(_0x5e2ec3){let _0x451032=_0x56847e(this[_0x40106e(0x4ac)],_0x328a7b,this[_0x40106e(0x2dd)],_0x1097f4,_0x5b4e83,_0x5d8448);return _0x451032 instanceof _0x59f2bd?_0x451032['_schedule']():(_0x451032 instanceof _0x22a444||_0x451032 instanceof _0x555165)&&_0x451032[_0x40106e(0x348)](),_0x451032;}return this[_0x40106e(0x4ac)][_0x40106e(0x28e)](_0x457aa2,_0x328a7b,this[_0x40106e(0x2dd)],_0x1097f4,_0x5b4e83,_0x5d8448);}[_0x500950(0x2fa)](_0x2126eb,_0x5f169a){const _0x23cd54=_0x500950;var _0x4b18e4,_0xd405df;let _0x3e45ef=this[_0x23cd54(0x30a)][_0x23cd54(0x223)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x23cd54(0x319)]()['COMPRESS_MUTATION_APPLY']);(_0x4b18e4=_0x3e45ef((_0x2126eb==null?void 0x0:_0x2126eb[_0x23cd54(0x3d1)])||[],null))==null||_0x4b18e4[_0x23cd54(0x36d)](_0x14f7e8=>this['_commandService'][_0x23cd54(0x3ce)](_0x14f7e8['id'],_0x14f7e8[_0x23cd54(0x4c7)])),(_0xd405df=_0x3e45ef(_0x5f169a||[],null))==null||_0xd405df[_0x23cd54(0x36d)](_0xaad5d9=>this[_0x23cd54(0x4d2)]['executeCommand'](_0xaad5d9['id'],_0xaad5d9['params']));}};_0x575020=_0x1c7ac3([_0x42aff9(0x3,(0x0,_0x2fb456['Inject'])(_0x2fb456['Injector'])),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x499)])),_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x20d)])),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x7,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da)),_0x42aff9(0x8,_0x2fb456['IUniverInstanceService']),_0x42aff9(0x9,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0xa,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0xb,_0x2fb456[_0x500950(0x3db)]),_0x42aff9(0xc,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x129fb8)),_0x42aff9(0xd,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x575020);let _0x2f2fd7=class extends _0x575020{constructor(_0x5ece9a,_0x221c16,_0x5e50e8,_0x366249,_0x587262,_0x3eff11,_0x26938d,_0x473359,_0x129930,_0x4c0440,_0x2dd391,_0x5ce0d1,_0x1cc735,_0x923f5e){const _0x4dc5b7=_0x500950;super(_0x5ece9a,_0x5e50e8,_0x221c16,_0x366249,_0x587262,_0x3eff11,_0x26938d,_0x473359,_0x129930,_0x4c0440,_0x2dd391,_0x5ce0d1,_0x1cc735,_0x923f5e),this[_0x4dc5b7(0x1ee)]=_0x5ece9a,this[_0x4dc5b7(0x431)]=_0x221c16,_0x3dd6fc(this,_0x4dc5b7(0x352),null);}['addHandlerCallback'](_0x348ac8){const _0x1ad773=_0x500950;this[_0x1ad773(0x352)]=_0x348ac8;}['dispose'](){const _0x4e85a5=_0x500950;this['_handlerCallback']=null,super[_0x4e85a5(0x218)]();}[_0x500950(0x27c)](){const _0x5a380b=_0x500950;let _0x4142fa=super[_0x5a380b(0x27c)]();return _0x4142fa[_0x5a380b(0x332)]=_0x3cc9b6=>{const _0x435454=_0x5a380b;var _0x7a9e03,_0x2372eb;return(_0x7a9e03=this[_0x435454(0x352)])==null||(_0x2372eb=_0x7a9e03[_0x435454(0x332)])==null?void 0x0:_0x2372eb['call'](_0x7a9e03,_0x3cc9b6);},_0x4142fa[_0x5a380b(0x2e8)]=_0x2819b4=>{const _0x5cbc7e=_0x5a380b;var _0x2119cd,_0x5000d4;return(_0x2119cd=this['_handlerCallback'])==null||(_0x5000d4=_0x2119cd[_0x5cbc7e(0x2e8)])==null?void 0x0:_0x5000d4[_0x5cbc7e(0x2ba)](_0x2119cd,_0x2819b4);},_0x4142fa[_0x5a380b(0x33e)]=_0x493404=>{const _0x46373e=_0x5a380b;var _0x5c4420,_0x588e03;return(_0x5c4420=this[_0x46373e(0x352)])==null||(_0x588e03=_0x5c4420[_0x46373e(0x33e)])==null?void 0x0:_0x588e03['call'](_0x5c4420,_0x493404);},_0x4142fa[_0x5a380b(0x215)]=_0x35f985=>{const _0x894f8d=_0x5a380b;var _0x23bd87,_0x2d32d3;return(_0x23bd87=this[_0x894f8d(0x352)])==null||(_0x2d32d3=_0x23bd87[_0x894f8d(0x215)])==null?void 0x0:_0x2d32d3['call'](_0x23bd87,_0x35f985);},_0x4142fa[_0x5a380b(0x278)]=_0xc67cc3=>{const _0x26f149=_0x5a380b;var _0x562f13,_0xb91a86,_0x42d2cf;if(!((_0x562f13=this[_0x26f149(0x352)])!=null&&_0x562f13['onTransformRemoteChangesetByIMECache']))throw Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xb91a86=this[_0x26f149(0x352)])==null||(_0x42d2cf=_0xb91a86[_0x26f149(0x278)])==null?void 0x0:_0x42d2cf['call'](_0xb91a86,_0xc67cc3);},_0x4142fa[_0x5a380b(0x3cf)]=_0x506ac7=>{const _0x3d559f=_0x5a380b;var _0x1f4de0,_0x4b90db,_0x551c22;if(!((_0x1f4de0=this[_0x3d559f(0x352)])!=null&&_0x1f4de0['onTransformRemoteChangesetByStateCache']))throw Error(_0x3d559f(0x221));return(_0x4b90db=this[_0x3d559f(0x352)])==null||(_0x551c22=_0x4b90db[_0x3d559f(0x3cf)])==null?void 0x0:_0x551c22[_0x3d559f(0x2ba)](_0x4b90db,_0x506ac7);},_0x4142fa;}async[_0x500950(0x21d)](){const _0x3fc88e=_0x500950;let _0x430645=await super[_0x3fc88e(0x21d)]();return this[_0x3fc88e(0x3d4)](this['_commandService'][_0x3fc88e(0x265)]((_0x162a8a,_0x5c9981)=>{const _0x2f2d1e=_0x3fc88e;if(_0x162a8a[_0x2f2d1e(0x431)]!==_0x2fb456[_0x2f2d1e(0x313)][_0x2f2d1e(0x232)]||_0x5c9981!=null&&_0x5c9981[_0x2f2d1e(0x47b)]||_0x5c9981!=null&&_0x5c9981['onlyLocal']||_0x162a8a['id']===_0x4923d3[_0x2f2d1e(0x2b5)]['id'])return;let _0x424837=_0x162a8a[_0x2f2d1e(0x4c7)];if((_0x424837==null?void 0x0:_0x424837[_0x2f2d1e(0x2f4)])!==this['unitID'])return;let _0x4975fa=_0x162a8a,_0x47d3fb=this['_compressMutationService'][_0x2f2d1e(0x223)][_0x2f2d1e(0x3ae)](this[_0x2f2d1e(0x30a)][_0x2f2d1e(0x223)][_0x2f2d1e(0x319)]()[_0x2f2d1e(0x4d4)])([_0x4975fa],this[_0x2f2d1e(0x2d1)])||[_0x4975fa];this['_onLocalMutation'](_0x47d3fb[0x0]);})),_0x430645;}};_0x2f2fd7=_0x1c7ac3([_0x42aff9(0x3,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a['CompressMutationService'])),_0x42aff9(0x5,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x20d)])),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x7,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da)),_0x42aff9(0x8,_0x2fb456['IUniverInstanceService']),_0x42aff9(0x9,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0xa,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0xb,_0x2fb456[_0x500950(0x3db)]),_0x42aff9(0xc,(0x0,_0x2fb456['Optional'])(_0x129fb8)),_0x42aff9(0xd,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x2f2fd7);let _0x19f82b=class extends _0x575020{constructor(_0x5a599c,_0x5d8886,_0x4dd391,_0x26798e,_0x1310cd,_0x20c151,_0x1c128b,_0x357120,_0xd20393,_0x5c8481,_0x21510c,_0x31b6e1,_0x3f599d,_0xcbbf12,_0x41f09b){const _0x25c209=_0x500950;super(_0x5a599c,_0x4dd391,_0x5d8886,_0x26798e,_0x1310cd,_0x20c151,_0x1c128b,_0xd20393,_0x5c8481,_0x21510c,_0x31b6e1,_0x3f599d,_0xcbbf12,_0x41f09b),this['unitID']=_0x5a599c,this['type']=_0x5d8886,this[_0x25c209(0x4e6)]=_0x357120;}[_0x500950(0x27c)](){const _0x6a6286=_0x500950;let _0x5c3b69=super[_0x6a6286(0x27c)]();return _0x5c3b69[_0x6a6286(0x33e)]=_0x1cb4e4=>this['_sheetTransformSelectionsService'][_0x6a6286(0x33b)](_0x1cb4e4),_0x5c3b69;}async[_0x500950(0x21d)](){const _0xec6104=_0x500950;let _0x26facb=await super[_0xec6104(0x21d)]();return this[_0xec6104(0x3d4)](this[_0xec6104(0x4d2)][_0xec6104(0x265)]((_0x202a96,_0x1ebd22)=>{const _0x2cd84d=_0xec6104;if(_0x202a96[_0x2cd84d(0x431)]!==_0x2fb456[_0x2cd84d(0x313)]['MUTATION']||_0x1ebd22!=null&&_0x1ebd22[_0x2cd84d(0x47b)]||_0x1ebd22!=null&&_0x1ebd22['onlyLocal'])return;let _0x2dcd8f=_0x202a96[_0x2cd84d(0x4c7)];if((_0x2dcd8f==null?void 0x0:_0x2dcd8f[_0x2cd84d(0x2f4)])!==this[_0x2cd84d(0x1ee)])return;let _0x24c416=_0x202a96,_0x281a64=this[_0x2cd84d(0x30a)][_0x2cd84d(0x223)][_0x2cd84d(0x3ae)](this[_0x2cd84d(0x30a)][_0x2cd84d(0x223)][_0x2cd84d(0x319)]()[_0x2cd84d(0x4d4)])([_0x24c416],this[_0x2cd84d(0x2d1)])||[_0x24c416];this[_0x2cd84d(0x3b1)](_0x281a64[0x0]);})),_0x26facb;}};_0x19f82b=_0x1c7ac3([_0x42aff9(0x3,(0x0,_0x2fb456['Inject'])(_0x2fb456['Injector'])),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x499)])),_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x20d)])),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x7,(0x0,_0x2fb456[_0x500950(0x430)])(_0x324b61)),_0x42aff9(0x8,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da)),_0x42aff9(0x9,_0x2fb456['IUniverInstanceService']),_0x42aff9(0xa,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0xb,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0xc,_0x2fb456['IPermissionService']),_0x42aff9(0xd,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x129fb8)),_0x42aff9(0xe,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x19f82b);let _0x1efe11=(0x0,_0x2fb456[_0x500950(0x4f7)])('univer-pro.collaboration-client.network-condition.service');function _0x5c7426(_0x12608d){const _0xac0ca3=_0x500950;let _0x2590c5=_0x12608d[_0xac0ca3(0x1f0)],_0x29285b=JSON[_0xac0ca3(0x2e0)](_0x2590c5);switch(_0x29285b['cmd']){case _0x402625[_0xac0ca3(0x3a4)][_0xac0ca3(0x50f)]:case _0x402625[_0xac0ca3(0x3a4)][_0xac0ca3(0x294)]:{let _0x40cd8b=_0x29285b[_0xac0ca3(0x286)];return{..._0x29285b,'data':_0x40cd8b,'cmd':_0x29285b[_0xac0ca3(0x1f9)]};}case _0x402625['CombCmd'][_0xac0ca3(0x1f4)]:{let _0x3f8a1b=_0x29285b['joinRsp'];return{..._0x29285b,'data':_0x3f8a1b,'cmd':_0x29285b[_0xac0ca3(0x1f9)]};}case _0x402625[_0xac0ca3(0x3a4)]['RECV']:{let _0x237e2d=_0x29285b[_0xac0ca3(0x347)];switch(_0x237e2d[_0xac0ca3(0x49e)]){case _0x35ef0a[_0xac0ca3(0x21e)]['PERMISSION_REJ']:var _0x4ebc33;return{..._0x29285b,'data':{..._0x237e2d,'data':(_0x4ebc33=_0x237e2d[_0xac0ca3(0x2bf)])==null?void 0x0:_0x4ebc33['cs']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x3f6)]:var _0x1dc0d5;return{..._0x29285b,'data':{..._0x237e2d,'data':(_0x1dc0d5=_0x237e2d[_0xac0ca3(0x2cb)])==null?void 0x0:_0x1dc0d5['cs']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x4c9)]:var _0x14431e;return{..._0x29285b,'data':{..._0x237e2d,'data':(_0x14431e=_0x237e2d[_0xac0ca3(0x41c)])==null?void 0x0:_0x14431e['cs']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x373)]:var _0x460a6e;return{..._0x29285b,'data':{..._0x237e2d,'data':(_0x460a6e=_0x237e2d[_0xac0ca3(0x359)])==null?void 0x0:_0x460a6e['cs']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a['CollaborationEvent'][_0xac0ca3(0x366)]:var _0x23676e;return{..._0x29285b,'data':{..._0x237e2d,'data':(_0x23676e=_0x237e2d['csShouldRetryEvent'])==null?void 0x0:_0x23676e['cs']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x4df)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x23b)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)]['USERS_ENTER']:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x2fc)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)]['USERS_LEAVE']:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x494)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x2c1)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x2c6)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x385)]:case _0x35ef0a['CollaborationEvent'][_0xac0ca3(0x2eb)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x388)]},'cmd':_0x29285b['cmd']};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x4b6)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x2c6)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x38d)]:return{..._0x29285b,'data':_0x237e2d,'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a['CollaborationEvent'][_0xac0ca3(0x3c8)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d['commentUpdateEvent']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a['CollaborationEvent'][_0xac0ca3(0x429)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x2a1)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x2b7)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x419)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x228)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x4d7)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};default:return _0x29285b;}}default:return _0x29285b;}}function _0x5e22c3(_0x4dca1d){const _0xe224fc=_0x500950;switch(_0x4dca1d['cmd']){case _0x402625[_0xe224fc(0x3a4)]['HEARTBEAT']:case _0x402625[_0xe224fc(0x3a4)][_0xe224fc(0x294)]:return JSON[_0xe224fc(0x28b)]({'cmd':_0x4dca1d[_0xe224fc(0x1f9)],'routeKey':_0x4dca1d[_0xe224fc(0x4af)]});case _0x402625[_0xe224fc(0x3a4)][_0xe224fc(0x20e)]:{let _0x9a78f3;switch(_0x4dca1d['data'][_0xe224fc(0x49e)]){case _0x35ef0a['CollaborationEvent'][_0xe224fc(0x4df)]:_0x9a78f3={'eventID':_0x35ef0a[_0xe224fc(0x21e)]['UPDATE_CURSOR'],'updateCursorEvent':_0x4dca1d['data'][_0xe224fc(0x1f0)]};break;case _0x35ef0a['CollaborationEvent']['USERS_LEAVE']:_0x9a78f3={'eventID':_0x35ef0a[_0xe224fc(0x21e)][_0xe224fc(0x41b)],'leaveEvent':_0x4dca1d[_0xe224fc(0x1f0)][_0xe224fc(0x1f0)]};break;case _0x35ef0a['CollaborationEvent'][_0xe224fc(0x371)]:_0x9a78f3={'eventID':_0x35ef0a['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x4dca1d[_0xe224fc(0x1f0)][_0xe224fc(0x1f0)]};break;case _0x35ef0a['CollaborationEvent'][_0xe224fc(0x2c1)]:_0x9a78f3={'eventID':_0x35ef0a['CollaborationEvent'][_0xe224fc(0x2c1)],'liveShareNewHost':_0x4dca1d[_0xe224fc(0x1f0)][_0xe224fc(0x1f0)]};break;case _0x35ef0a[_0xe224fc(0x21e)]['LIVESHARE_OPERATION']:_0x9a78f3={'eventID':_0x35ef0a['CollaborationEvent'][_0xe224fc(0x2eb)],'liveShareOperation':_0x4dca1d[_0xe224fc(0x1f0)][_0xe224fc(0x1f0)]};break;case _0x35ef0a[_0xe224fc(0x21e)]['LIVESHARE_TERMINATE']:_0x9a78f3={'eventID':_0x35ef0a[_0xe224fc(0x21e)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4dca1d['data']['data']};break;case _0x35ef0a[_0xe224fc(0x21e)][_0xe224fc(0x415)]:_0x9a78f3={'eventID':_0x35ef0a[_0xe224fc(0x21e)][_0xe224fc(0x415)],'liveShareRequestHost':_0x4dca1d[_0xe224fc(0x1f0)][_0xe224fc(0x1f0)]};break;case _0x35ef0a[_0xe224fc(0x21e)][_0xe224fc(0x385)]:_0x9a78f3={'eventID':_0x35ef0a[_0xe224fc(0x21e)][_0xe224fc(0x385)]};break;default:_0x9a78f3={'eventID':_0x4dca1d['data'][_0xe224fc(0x49e)]};}return JSON[_0xe224fc(0x28b)]({'cmd':_0x4dca1d[_0xe224fc(0x1f9)],'routeKey':_0x4dca1d['routeKey'],'collaMsg':_0x9a78f3});}case _0x402625['CombCmd'][_0xe224fc(0x1f4)]:return JSON['stringify']({'cmd':_0x4dca1d[_0xe224fc(0x1f9)],'routeKey':_0x4dca1d[_0xe224fc(0x4af)],'joinReq':_0x4dca1d['data']});case _0x402625[_0xe224fc(0x3a4)]['LEAVE']:return JSON['stringify']({'cmd':_0x4dca1d['cmd'],'routeKey':_0x4dca1d[_0xe224fc(0x4af)],'leaveReq':_0x4dca1d[_0xe224fc(0x1f0)]});default:throw Error(_0xe224fc(0x2b3));}}let _0xdc50bf=(0x0,_0x2fb456['createIdentifier'])(_0x500950(0x3bb));function _0x25c3d2(_0x36ca52,_0x1623ab,_0xfe5c5a){const _0x4b3f03=_0x500950;return _0x36ca52+'/'+_0x1623ab+_0x4b3f03(0x331)+_0xfe5c5a+_0x4b3f03(0x389);}let _0x5700f0=class extends _0x2fb456[_0x500950(0x238)]{constructor(_0x21607e,_0x5ca9a9,_0x4049d4,_0x1c4cbc,_0x53a0cd){const _0x149e0e=_0x500950;super(),this[_0x149e0e(0x4ac)]=_0x21607e,this['_httpService']=_0x5ca9a9,this[_0x149e0e(0x25a)]=_0x4049d4,this['_logService']=_0x1c4cbc,this[_0x149e0e(0x4c5)]=_0x53a0cd;}[_0x500950(0x462)](_0x159f27){const _0x5219a0=_0x500950;let _0x2ebb51=this[_0x5219a0(0x4ac)][_0x5219a0(0x2bd)](_0x25f3fb[_0x5219a0(0x2d3)]);if(!_0x2ebb51)throw Error(_0x5219a0(0x4f9));let _0x5b7796=_0x2ebb51[_0x5219a0(0x4a5)](_0x159f27);if(!_0x5b7796)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');let _0x2c3b3b=new _0x2fb456[(_0x5219a0(0x31b))](),_0xf7d8e4=new _0x5eae7e[(_0x5219a0(0x4b9))]();_0x2c3b3b['add'](_0x5b7796[_0x5219a0(0x512)][_0x5219a0(0x495)](_0x9eac18=>_0xf7d8e4[_0x5219a0(0x362)](_0x9eac18))),_0x2c3b3b[_0x5219a0(0x29f)]((0x0,_0x2fb456[_0x5219a0(0x36b)])(()=>_0xf7d8e4[_0x5219a0(0x45d)]()));let _0x34ca73=new _0x5eae7e[(_0x5219a0(0x4b9))]();_0x2c3b3b[_0x5219a0(0x29f)](_0x5b7796[_0x5219a0(0x2e6)][_0x5219a0(0x495)](_0x5769c8=>_0x34ca73['next'](_0x5769c8))),_0x2c3b3b['add']((0x0,_0x2fb456[_0x5219a0(0x36b)])(()=>_0x34ca73[_0x5219a0(0x45d)]()));let _0x5a9bb5=new _0x5eae7e[(_0x5219a0(0x4b9))]();_0x2c3b3b['add'](_0x5b7796['message$'][_0x5219a0(0x495)](_0x195ee7=>{let _0x29853c=_0x5c7426(_0x195ee7);_0x5a9bb5['next'](_0x29853c);})),_0x2c3b3b[_0x5219a0(0x29f)]((0x0,_0x2fb456[_0x5219a0(0x36b)])(()=>_0x5a9bb5[_0x5219a0(0x45d)]()));let _0x24b071,_0x58b448=()=>{const _0x529990=_0x5219a0;_0x34ca73[_0x529990(0x362)](new Event('connection\x20error')),_0xf7d8e4[_0x529990(0x362)](new Event(_0x529990(0x3f8))),_0x24b071[_0x529990(0x22b)]();};return _0x24b071={'memberID':'','close$':_0xf7d8e4[_0x5219a0(0x511)](),'error$':_0x34ca73[_0x5219a0(0x511)](),'open$':_0x5b7796['open$'],'message$':_0x5a9bb5[_0x5219a0(0x511)](),'send':_0x1033d5=>{const _0x237284=_0x5219a0;if(_0x1033d5[_0x237284(0x1f9)]===_0x402625[_0x237284(0x3a4)][_0x237284(0x20e)]){if(_0x1033d5[_0x237284(0x1f0)][_0x237284(0x49e)]===_0x35ef0a[_0x237284(0x21e)]['SUBMIT_CHANGESET']){this[_0x237284(0x4d3)](_0x24b071,_0x1033d5[_0x237284(0x1f0)])['catch'](_0x18bdfa=>{const _0xbea20a=_0x237284;this[_0xbea20a(0x40b)][_0xbea20a(0x4bb)](_0x18bdfa),_0x58b448();});return;}if(_0x1033d5[_0x237284(0x1f0)][_0x237284(0x49e)]===_0x35ef0a['CollaborationEvent'][_0x237284(0x44a)]){let _0x48b125=_0x1033d5[_0x237284(0x1f0)];this['_fetchMissChangesets'](_0x48b125)[_0x237284(0x323)](_0x52bc57=>{const _0x430037=_0x237284;_0x5a9bb5[_0x430037(0x362)]({'cmd':_0x402625['CombCmd'][_0x430037(0x443)],'code':_0x402625[_0x430037(0x44c)]['OK'],'routeKey':_0x48b125['data']['unitID'],'routeType':'','data':{'eventID':_0x35ef0a[_0x430037(0x21e)][_0x430037(0x222)],'data':{'changesets':_0x52bc57}}});})['catch'](_0x30702c=>{const _0x3b6166=_0x237284;this[_0x3b6166(0x40b)][_0x3b6166(0x4bb)](_0x30702c),_0x58b448();});return;}}_0x5b7796[_0x237284(0x45f)](_0x5e22c3(_0x1033d5));},'close':()=>{const _0x47008d=_0x5219a0;_0x5b7796['close'](),_0x2c3b3b[_0x47008d(0x218)]();}},_0x24b071;}async['_submitChangeset'](_0x5b4ff2,_0x4dc84a){const _0x40e45e=_0x500950;var _0x35e686;let {unitType:_0x5c9bcc,unitID:_0x406179,changeset:_0xb05ce9}=_0x4dc84a[_0x40e45e(0x1f0)],_0x339a3b={'unitID':_0x406179,'memberID':_0x5b4ff2[_0x40e45e(0x487)],'type':_0x5c9bcc,'changeset':(0x0,_0x35ef0a[_0x40e45e(0x49c)])(_0xb05ce9)},_0x31280c=this[_0x40e45e(0x25a)]['getConfig'](_0x5445c5),_0x735d20=_0x25c3d2((_0x35e686=_0x31280c==null?void 0x0:_0x31280c[_0x40e45e(0x27d)])==null?_0x40e45e(0x2b1):_0x35e686,_0x5c9bcc,_0x406179);try{await this['_httpService']['post'](_0x735d20,{'body':_0x339a3b});}catch(_0x521c90){throw this['_logService'][_0x40e45e(0x4bb)](_0x40e45e(0x442),'submit\x20changeset\x20error!'),_0x521c90;}}async['_fetchMissChangesets'](_0x26a450){const _0x506d3f=_0x500950;let {unitID:_0x4a8c46,from:_0x37c899,to:_0x17e546,unitType:_0x363d1f}=_0x26a450[_0x506d3f(0x1f0)];return(await this['_snapshotServerService'][_0x506d3f(0x504)]({'metadata':void 0x0},{'unitID':_0x4a8c46,'type':_0x363d1f,'from':_0x37c899,'to':_0x17e546}))[_0x506d3f(0x479)][_0x506d3f(0x39d)](_0x4e58a5=>((_0x4e58a5[_0x506d3f(0x3d1)]===null||_0x4e58a5['mutations']===void 0x0)&&(_0x4e58a5[_0x506d3f(0x3d1)]=[]),_0x4e58a5));}};_0x5700f0=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x25f3fb['HTTPService'])),_0x42aff9(0x2,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x3,_0x2fb456['ILogService']),_0x42aff9(0x4,_0x35ef0a[_0x500950(0x30d)])],_0x5700f0);let _0x1c0f7b=class extends _0x2fb456[_0x500950(0x238)]{get[_0x500950(0x34a)](){const _0x21a966=_0x500950;return this[_0x21a966(0x379)]['getValue']();}constructor(_0x7b165a,_0x530aaa,_0x25df77,_0x219109,_0x31bf37,_0xc08db2){const _0x332dfb=_0x500950;super(),this['_injector']=_0x7b165a,this[_0x332dfb(0x40b)]=_0x530aaa,this['_configService']=_0x25df77,this[_0x332dfb(0x427)]=_0x219109,this[_0x332dfb(0x219)]=_0x31bf37,this[_0x332dfb(0x46b)]=_0xc08db2,_0x3dd6fc(this,'_socket$',new _0x5eae7e[(_0x332dfb(0x3c7))](void 0x0)),_0x3dd6fc(this,_0x332dfb(0x360),this[_0x332dfb(0x379)][_0x332dfb(0x511)]()),_0x3dd6fc(this,'_candidateSocket',null),_0x3dd6fc(this,_0x332dfb(0x230),new Map()),_0x3dd6fc(this,_0x332dfb(0x1f1),new _0x5eae7e[(_0x332dfb(0x3c7))](_0x486856[_0x332dfb(0x4ab)])),_0x3dd6fc(this,'status$',this['_status$'][_0x332dfb(0x511)]()),_0x3dd6fc(this,_0x332dfb(0x29e),!0x1),_0x3dd6fc(this,'_retryConnectingTimer',void 0x0),_0x3dd6fc(this,_0x332dfb(0x270),0x0),_0x3dd6fc(this,'_sendHeartbeatTimer',void 0x0),_0x3dd6fc(this,_0x332dfb(0x34d),void 0x0),this['_listenToNetworkCondition']();}[_0x500950(0x365)](){const _0xe8665b=_0x500950;this['_networkConditionService']&&this[_0xe8665b(0x3d4)](this[_0xe8665b(0x46b)][_0xe8665b(0x418)]['subscribe'](_0x351674=>{const _0x549027=_0xe8665b;_0x351674&&!this[_0x549027(0x34a)]&&this['reconnect'](),_0x351674||this[_0x549027(0x3f2)]();}));}['dispose'](){const _0x12b314=_0x500950;super['dispose'](),this[_0x12b314(0x252)](),this['_clearTimeoutTimer'](),this[_0x12b314(0x3af)](),this[_0x12b314(0x230)][_0x12b314(0x36d)](_0x6cc3da=>_0x6cc3da['dispose']()),this[_0x12b314(0x230)][_0x12b314(0x2b4)](),this['_status$']['complete']();}async['requireSession'](_0x5c6507){const _0x450e4e=_0x500950;if(this[_0x450e4e(0x230)][_0x450e4e(0x50a)](_0x5c6507))return this[_0x450e4e(0x230)][_0x450e4e(0x2bd)](_0x5c6507);this[_0x450e4e(0x291)]();let _0x1318a5=this['_injector'][_0x450e4e(0x28e)](_0x4e1b56,_0x5c6507,this['_socket$'][_0x450e4e(0x511)]());return this[_0x450e4e(0x230)][_0x450e4e(0x2f9)](_0x5c6507,_0x1318a5),_0x1318a5;}[_0x500950(0x315)](_0x318504){const _0x279272=_0x500950;let _0x414d77=this[_0x279272(0x230)][_0x279272(0x2bd)](_0x318504);if(_0x414d77&&(this[_0x279272(0x230)]['delete'](_0x318504),_0x414d77['close']()),!this[_0x279272(0x230)][_0x279272(0x44f)]){var _0x136ea6;(_0x136ea6=this['_socket'])==null||_0x136ea6[_0x279272(0x22b)]();}}[_0x500950(0x257)](){const _0xa29b89=_0x500950;this[_0xa29b89(0x270)]=0x0,this[_0xa29b89(0x252)](),this[_0xa29b89(0x37c)]();}['_clearRetryConnectingTimer'](){const _0x103e40=_0x500950;this[_0x103e40(0x39e)]!=null&&(clearTimeout(this[_0x103e40(0x39e)]),this[_0x103e40(0x39e)]=null);}async[_0x500950(0x505)](){const _0x21e0a0=_0x500950;var _0xb34d34;let _0x3e0f8b=this[_0x21e0a0(0x25a)][_0x21e0a0(0x2a6)](_0x5445c5),_0x4decd3=(_0xb34d34=_0x3e0f8b==null?void 0x0:_0x3e0f8b[_0x21e0a0(0x4e3)])==null?_0x551362:_0xb34d34,_0x57f22b=await this['_socketService'][_0x21e0a0(0x4a5)](_0x4decd3);return this[_0x21e0a0(0x2ea)]=_0x57f22b,_0x57f22b;}async['_tryEnsureSocket'](){const _0x560458=_0x500950;try{var _0x4b91a4,_0x3fa23d;let _0x3fe430=(_0x4b91a4=(_0x3fa23d=this[_0x560458(0x34a)])==null?this[_0x560458(0x2ea)]:_0x3fa23d)==null?await this[_0x560458(0x505)]():_0x4b91a4;if(_0x3fe430){let _0x4ad416=_0x3fe430['send'];_0x3fe430['send']=_0x4285b6=>(_0x4285b6[_0x560458(0x1f9)]!==_0x402625[_0x560458(0x3a4)][_0x560458(0x25c)]&&this[_0x560458(0x486)](),_0x4ad416[_0x560458(0x279)](_0x3fe430,[_0x4285b6])),_0x3fe430[_0x560458(0x201)][_0x560458(0x495)](_0x103518=>this[_0x560458(0x4a4)](_0x3fe430,_0x103518)),_0x3fe430[_0x560458(0x2e6)][_0x560458(0x3d3)]((0x0,_0x41c5dd[_0x560458(0x409)])(0x1))[_0x560458(0x495)](_0x57381a=>this[_0x560458(0x40b)][_0x560458(0x4bb)](_0x560458(0x4be),_0x57381a)),_0x3fe430[_0x560458(0x249)][_0x560458(0x3d3)]((0x0,_0x41c5dd[_0x560458(0x409)])(0x1))[_0x560458(0x495)](()=>{const _0x22fcec=_0x560458;this[_0x22fcec(0x32c)](_0x3fe430);}),_0x3fe430[_0x560458(0x512)][_0x560458(0x3d3)]((0x0,_0x41c5dd[_0x560458(0x409)])(0x1))[_0x560458(0x495)](_0x54bf46=>{const _0x2c800e=_0x560458;this['_logService'][_0x2c800e(0x4a8)](_0x2c800e(0x3f5),_0x2c800e(0x208),_0x54bf46),this['_onConnectionFailed']();});}}catch(_0x4454cb){this[_0x560458(0x40b)][_0x560458(0x4bb)](_0x4454cb),this[_0x560458(0x1ff)]();}}[_0x500950(0x32c)](_0x3b04eb){const _0x5f137c=_0x500950;this[_0x5f137c(0x40b)]['debug']('[CollaborationSessionService]',_0x5f137c(0x2ac)),_0x3b04eb[_0x5f137c(0x45f)]({'cmd':_0x402625[_0x5f137c(0x3a4)]['HELLO']}),this[_0x5f137c(0x486)]();}[_0x500950(0x3f2)](){const _0x41006b=_0x500950;this[_0x41006b(0x29e)]=!0x1,this[_0x41006b(0x2ea)]=null,this[_0x41006b(0x1f1)][_0x41006b(0x362)](_0x486856['OFFLINE']),this[_0x41006b(0x379)][_0x41006b(0x362)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x500950(0x1ff)](){const _0x2da89b=_0x500950;var _0x590540;this[_0x2da89b(0x3f2)](),this[_0x2da89b(0x270)]<((_0x590540=this[_0x2da89b(0x25a)]['getConfig'](_0x2da89b(0x4b1)))==null?0x3:_0x590540)?(this['_collaborationUIEventService']['emitEvent']({'id':_0x3221f8[_0x2da89b(0x271)]}),this['_tryReconnect']()):this[_0x2da89b(0x219)]['emitEvent']({'id':_0x3221f8['SOCKET_FAILED']});}['_tryReconnect'](){const _0x427876=_0x500950;var _0x419ef5;let _0x4be58c=this[_0x427876(0x270)],_0x218e26=this[_0x427876(0x25a)][_0x427876(0x2a6)](_0x5445c5),_0x2fd653=_0x4be58c===0x0?0x0:((_0x419ef5=_0x218e26==null?void 0x0:_0x218e26[_0x427876(0x351)])==null?0x4e20:_0x419ef5)*0x2**_0x4be58c;this[_0x427876(0x39e)]=setTimeout(()=>{const _0x379493=_0x427876;clearTimeout(this['_retryConnectingTimer']),this[_0x379493(0x39e)]=null,this[_0x379493(0x291)]();},_0x2fd653),this['_retryCount']+=0x1;}[_0x500950(0x4a4)](_0x109c7c,_0x3a221c){const _0x46e517=_0x500950;let {cmd:_0x38a4fe}=_0x3a221c;_0x38a4fe===_0x402625[_0x46e517(0x3a4)][_0x46e517(0x294)]&&!this[_0x46e517(0x29e)]&&(_0x109c7c[_0x46e517(0x487)]=_0x3a221c['data'][_0x46e517(0x487)],this[_0x46e517(0x379)][_0x46e517(0x362)](_0x109c7c),this['_status$'][_0x46e517(0x362)](_0x486856[_0x46e517(0x434)]),this[_0x46e517(0x29e)]=!0x0,this[_0x46e517(0x2ea)]=null),_0x38a4fe===_0x402625[_0x46e517(0x3a4)]['HEARTBEAT']&&this[_0x46e517(0x390)](),this[_0x46e517(0x486)]();}[_0x500950(0x486)](){const _0x44aa82=_0x500950;var _0x50951e;this[_0x44aa82(0x3af)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x50951e=this[_0x44aa82(0x25a)][_0x44aa82(0x2a6)](_0x44aa82(0x461)))==null?0x7530:_0x50951e);}['_sendHeartbeat'](){const _0x398156=_0x500950;this[_0x398156(0x34a)]['send']({'cmd':_0x402625['CombCmd'][_0x398156(0x50f)]}),this['_waitForHeartbeatResponse']();}[_0x500950(0x28d)](){const _0x17e366=_0x500950;var _0x40f58f;this[_0x17e366(0x34d)]=setTimeout(()=>this[_0x17e366(0x1ff)](),(_0x40f58f=this[_0x17e366(0x25a)][_0x17e366(0x2a6)](_0x17e366(0x3d2)))==null?_0x4293e1:_0x40f58f);}[_0x500950(0x3af)](){const _0x4c9ab0=_0x500950;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4c9ab0(0x3be)]),this['_sendHeartbeatTimer']=null);}[_0x500950(0x390)](){const _0x36872=_0x500950;this[_0x36872(0x34d)]!=null&&(clearTimeout(this[_0x36872(0x34d)]),this[_0x36872(0x34d)]=null);}};_0x1c0f7b=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456['Inject'])(_0x2fb456['Injector'])),_0x42aff9(0x1,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x2,_0x2fb456['IConfigService']),_0x42aff9(0x3,_0xdc50bf),_0x42aff9(0x4,(0x0,_0x2fb456['Inject'])(_0x4cb1da)),_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x1efe11))],_0x1c0f7b);let _0x319e42=class extends _0x2fb456[_0x500950(0x1fb)]{constructor(_0x494fe3,_0x4c6760,_0x99971f,_0x36d556){const _0x32615d=_0x500950;var _0x544251;super(),this[_0x32615d(0x4ac)]=_0x494fe3,this[_0x32615d(0x2f8)]=_0x4c6760,this[_0x32615d(0x25a)]=_0x99971f,this[_0x32615d(0x2d1)]=_0x36d556,_0x3dd6fc(this,_0x32615d(0x454),new Map()),_0x3dd6fc(this,_0x32615d(0x43f),new _0x5eae7e[(_0x32615d(0x4b9))]()),_0x3dd6fc(this,'entityInit$',this[_0x32615d(0x43f)][_0x32615d(0x511)]()),((_0x544251=this['_configService'][_0x32615d(0x2a6)](_0x32615d(0x236)))==null?void 0x0:_0x544251[_0x32615d(0x287)])!==!0x1&&this['_init']();}[_0x500950(0x218)](){const _0xd9c50e=_0x500950;super[_0xd9c50e(0x218)](),this[_0xd9c50e(0x454)][_0xd9c50e(0x36d)](_0x57236b=>_0x57236b[_0xd9c50e(0x218)]()),this[_0xd9c50e(0x454)][_0xd9c50e(0x2b4)]();}['getCollabEntity'](_0x110403){const _0x509c5c=_0x500950;var _0x5b2e22;return(_0x5b2e22=this['_entities'][_0x509c5c(0x2bd)](_0x110403))==null?null:_0x5b2e22;}[_0x500950(0x455)](_0x119cde){const _0x292875=_0x500950;let _0x3eeb5e=this['getCollabEntity'](_0x119cde);return _0x3eeb5e?(0x0,_0x5eae7e['of'])(_0x3eeb5e):this[_0x292875(0x43f)][_0x292875(0x3d3)]((0x0,_0x41c5dd[_0x292875(0x3c6)])(_0x4cb960=>_0x4cb960[_0x292875(0x1ee)]===_0x119cde));}[_0x500950(0x2e7)](_0x41a8a7){const _0x2787cf=_0x500950;return(0x0,_0x5eae7e[_0x2787cf(0x473)])(this[_0x2787cf(0x455)](_0x41a8a7)[_0x2787cf(0x3d3)]((0x0,_0x41c5dd['map'])(()=>void 0x0)));}[_0x500950(0x21d)](){const _0x1e3c7c=_0x500950;this[_0x1e3c7c(0x2d1)][_0x1e3c7c(0x22d)](_0x2fb456['UniverInstanceType'][_0x1e3c7c(0x4ce)])['pipe']((0x0,_0x5eae7e[_0x1e3c7c(0x498)])(this[_0x1e3c7c(0x483)]),(0x0,_0x41c5dd[_0x1e3c7c(0x387)])(0x10))[_0x1e3c7c(0x495)](async _0x14466f=>{const _0x438b19=_0x1e3c7c;let _0x51aa62=_0x14466f[_0x438b19(0x3bc)][_0x438b19(0x246)](),_0x2e40df=await this[_0x438b19(0x420)](_0x51aa62,_0x2fb456[_0x438b19(0x217)][_0x438b19(0x4ce)]);this[_0x438b19(0x454)][_0x438b19(0x2f9)](_0x51aa62,_0x2e40df);}),this['_univerInstanceService'][_0x1e3c7c(0x22d)](_0x2fb456[_0x1e3c7c(0x217)][_0x1e3c7c(0x2dc)])[_0x1e3c7c(0x3d3)]((0x0,_0x5eae7e[_0x1e3c7c(0x498)])(this[_0x1e3c7c(0x483)]),(0x0,_0x41c5dd[_0x1e3c7c(0x387)])(0x10))[_0x1e3c7c(0x3d3)]((0x0,_0x41c5dd['filter'])(_0x409998=>!_0x409998['unit'][_0x1e3c7c(0x246)]()[_0x1e3c7c(0x247)]('__')))[_0x1e3c7c(0x495)](async _0x3396fe=>{const _0x3e1777=_0x1e3c7c;let _0x5ff15d=_0x3396fe[_0x3e1777(0x3bc)][_0x3e1777(0x246)](),_0x47c57a=await this[_0x3e1777(0x420)](_0x5ff15d,_0x2fb456[_0x3e1777(0x217)][_0x3e1777(0x2dc)]);this[_0x3e1777(0x454)][_0x3e1777(0x2f9)](_0x5ff15d,_0x47c57a);}),(0x0,_0x5eae7e[_0x1e3c7c(0x329)])(this[_0x1e3c7c(0x2d1)][_0x1e3c7c(0x1fd)](_0x2fb456[_0x1e3c7c(0x217)][_0x1e3c7c(0x4ce)]),this[_0x1e3c7c(0x2d1)][_0x1e3c7c(0x1fd)](_0x2fb456['UniverInstanceType'][_0x1e3c7c(0x2dc)]))[_0x1e3c7c(0x3d3)]((0x0,_0x5eae7e[_0x1e3c7c(0x498)])(this['dispose$']))[_0x1e3c7c(0x495)](_0x226acc=>{const _0x45ac1b=_0x1e3c7c;let _0x3ffa23=_0x226acc['getUnitId'](),_0x3d1e86=this[_0x45ac1b(0x454)]['get'](_0x3ffa23);_0x3d1e86&&(_0x3d1e86['dispose'](),this[_0x45ac1b(0x454)]['delete'](_0x3ffa23));});}async[_0x500950(0x420)](_0x367b12,_0x570d1d){const _0x439e9c=_0x500950;let _0x1f3ef2=await this[_0x439e9c(0x2f8)][_0x439e9c(0x4c2)](_0x367b12),_0x5cb1d3=this[_0x439e9c(0x4ac)][_0x439e9c(0x28e)](this['_getCtorByUniverInstanceType'](_0x570d1d),_0x367b12,_0x570d1d,_0x1f3ef2);return await _0x5cb1d3[_0x439e9c(0x41a)](),this['_entityInit$']['next'](_0x5cb1d3),_0x5cb1d3;}[_0x500950(0x345)](_0x379191){const _0x1b3236=_0x500950;switch(_0x379191){case _0x2fb456[_0x1b3236(0x217)][_0x1b3236(0x2dc)]:return _0x2f2fd7;case _0x2fb456['UniverInstanceType'][_0x1b3236(0x4ce)]:return _0x19f82b;default:throw Error(_0x1b3236(0x304)+_0x379191);}}};_0x319e42=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x1c0f7b)),_0x42aff9(0x2,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x3,_0x2fb456['IUniverInstanceService'])],_0x319e42);var _0x443ffe=_0x500950(0x31e),_0x46ce6e='0.21.1';let _0x3a9542=class extends _0x2fb456['Disposable']{constructor(_0x20b87e,_0x566501){const _0x5ed52c=_0x500950;super(),this['_univerInstanceService']=_0x20b87e,this[_0x5ed52c(0x25a)]=_0x566501,this[_0x5ed52c(0x21d)]();}[_0x500950(0x21d)](){const _0x3d5de8=_0x500950;this[_0x3d5de8(0x3d4)](this[_0x3d5de8(0x2d1)][_0x3d5de8(0x2f7)][_0x3d5de8(0x495)](()=>{const _0x2f74fb=_0x3d5de8;var _0x217d4f;let _0x4add27=this[_0x2f74fb(0x2d1)][_0x2f74fb(0x46c)](),_0x29ac35=(_0x217d4f=this[_0x2f74fb(0x25a)][_0x2f74fb(0x2a6)](_0x2f74fb(0x369)))==null?_0x2f74fb(0x386):_0x217d4f;_0x4add27 instanceof _0x2fb456[_0x2f74fb(0x3dd)]&&(_0x29ac35=_0x4add27[_0x2f74fb(0x1ef)]),document[_0x2f74fb(0x4d9)]=_0x29ac35;}));}};_0x3a9542=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456['IUniverInstanceService']),_0x42aff9(0x1,_0x2fb456[_0x500950(0x26a)])],_0x3a9542);let _0x59404f=class{constructor(_0x4d3e97,_0x1aca1b,_0xab3639){const _0x3a931b=_0x500950;this[_0x3a931b(0x25a)]=_0x4d3e97,this['_httpService']=_0x1aca1b,this[_0x3a931b(0x2f3)]=_0xab3639,this[_0x3a931b(0x41a)]();}[_0x500950(0x41a)](){const _0x46c4cc=_0x500950;this['_httpService'][_0x46c4cc(0x303)]({'priority':0x1,'interceptor':(_0x1c6e1a,_0x43146e)=>_0x43146e(_0x1c6e1a)['pipe']((0x0,_0x5eae7e[_0x46c4cc(0x26b)])(async _0x3cca57=>{const _0x586bd0=_0x46c4cc;let _0x3d3afc=_0x3cca57;if(_0x3d3afc[_0x586bd0(0x233)]===0x191){if(typeof window>'u')throw Error(_0x586bd0(0x2f6));if(window[_0x586bd0(0x502)](this[_0x586bd0(0x2f3)]['t'](_0x586bd0(0x3b4)))){let _0x53f71e=window[_0x586bd0(0x45e)](window[_0x586bd0(0x205)]['href']);window[_0x586bd0(0x205)][_0x586bd0(0x281)]=this[_0x586bd0(0x489)]()+_0x586bd0(0x382)+_0x53f71e;}}return _0x3d3afc;}))});}['_getLoginPath'](){const _0x260778=_0x500950;var _0x2ca695;let _0xe2901f=this[_0x260778(0x25a)][_0x260778(0x2a6)](_0x5445c5);return(_0x2ca695=_0xe2901f==null?void 0x0:_0xe2901f[_0x260778(0x229)])==null?_0x260778(0x481):_0x2ca695;}};_0x59404f=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x25f3fb[_0x500950(0x485)])),_0x42aff9(0x2,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x20d)]))],_0x59404f);let _0x20ee4d=class extends _0x2fb456[_0x500950(0x238)]{constructor(_0x416f28,_0x440cf1){const _0x2538f3=_0x500950;super(),this[_0x2538f3(0x21c)]=_0x416f28,this[_0x2538f3(0x25a)]=_0x440cf1,_0x3dd6fc(this,'_cfgEnableObjInherit',!0x1),this[_0x2538f3(0x33c)]();}['_initMergeInterceptor'](){const _0x44a8e9=_0x500950;let _0x44d343=this;this['disposeWithMe'](this[_0x44a8e9(0x21c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':(0x0,_0x25f3fb[_0x44a8e9(0x435)])({'isMatch'(_0x21746e){const _0x4a7a9e=_0x44a8e9;var _0x471f2a;if(_0x21746e[_0x4a7a9e(0x2ed)]==='POST'&&(_0x471f2a=_0x21746e['requestParams'])!=null&&_0x471f2a[_0x4a7a9e(0x401)]){let {objectID:_0x38d91b,objectType:_0x2f6c88}=_0x21746e[_0x4a7a9e(0x2d6)][_0x4a7a9e(0x401)]||{};if(!_0x38d91b||_0x2f6c88===void 0x0)return!0x1;let _0x94834d=_0x44d343[_0x4a7a9e(0x451)]()+'/'+_0x2f6c88+'/object/'+_0x38d91b+_0x4a7a9e(0x4fa);if(_0x21746e[_0x4a7a9e(0x282)]===_0x94834d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x50667a){const _0x5a1cdc=_0x44a8e9;var _0x1c1545;return(_0x1c1545=_0x50667a[_0x5a1cdc(0x2d6)])==null?void 0x0:_0x1c1545[_0x5a1cdc(0x401)];},'mergeParamsToRequest'(_0x5dc4cd,_0x8b579e){const _0xd29fb8=_0x44a8e9;let _0x430233=_0x44d343['_getAPIPrefixPath']()+_0xd29fb8(0x4a1),_0x409232=_0x5dc4cd['reduce']((_0x499c67,_0x83573a)=>{const _0x59b6ee=_0xd29fb8;let {unitID:_0xa4abea,objectID:_0x4800aa,objectType:_0x49749b,actions:_0x225f82}=_0x83573a;return _0x499c67[_0xa4abea]||(_0x499c67[_0xa4abea]={}),_0x499c67[_0xa4abea][_0x4800aa]||(_0x499c67[_0xa4abea][_0x4800aa]={'objectID':_0x4800aa,'objectType':_0x49749b,'actions':[]}),_0x499c67[_0xa4abea][_0x4800aa][_0x59b6ee(0x421)][_0x59b6ee(0x204)](..._0x225f82),_0x499c67;},{}),_0x404b9d=[];for(let _0x51e6e9 in _0x409232)for(let _0x313b72 in _0x409232[_0x51e6e9]){let {actions:_0x490da6,objectType:_0x548262}=_0x409232[_0x51e6e9][_0x313b72],_0x2dc2c0=[...new Set(_0x490da6)];_0x404b9d[_0xd29fb8(0x204)]({'unitID':_0x51e6e9,'objectID':_0x313b72,'objectType':_0x548262,'actions':_0x2dc2c0});}return new _0x25f3fb[(_0xd29fb8(0x492))](_0xd29fb8(0x384),_0x430233,{'headers':_0x8b579e[_0xd29fb8(0x330)],'withCredentials':_0x8b579e[_0xd29fb8(0x456)],'responseType':_0x8b579e[_0xd29fb8(0x23a)],'body':{'requests':_0x404b9d}});}},{'distributeResult'(_0x901f8,_0x4a0f53){const _0x90a676=_0x44a8e9;let {objectActions:_0x43fa48}=_0x901f8;return _0x4a0f53[_0x90a676(0x39d)](_0x4bae80=>{const _0x221098=_0x90a676;let {unitID:_0x2362ae,objectID:_0x408478,actions:_0x38cad1}=_0x4bae80,_0x5f088d=_0x43fa48[_0x221098(0x3c3)](_0x23cda2=>_0x23cda2[_0x221098(0x1ee)]===_0x2362ae&&_0x23cda2[_0x221098(0x4d0)]===_0x408478);return{'config':_0x4bae80,'result':{'actions':_0x38cad1[_0x221098(0x39d)](_0x5983f4=>_0x5f088d==null?void 0x0:_0x5f088d['actions']['find'](_0x241e79=>_0x241e79[_0x221098(0x320)]===_0x5983f4))[_0x221098(0x3c6)](_0x22f17b=>!!_0x22f17b),'error':_0x901f8[_0x221098(0x4bb)]}};});}})}));}['_getAPIPrefixPath'](){const _0x4b26fe=_0x500950;var _0x5228d5;let _0x139e1b=this[_0x4b26fe(0x25a)]['getConfig'](_0x5445c5);return(_0x5228d5=_0x139e1b==null?void 0x0:_0x139e1b[_0x4b26fe(0x356)])==null?_0x4b26fe(0x470):_0x5228d5;}async[_0x500950(0x25b)](_0x1c2b53){const _0x3877bb=_0x500950;let _0x436355=this[_0x3877bb(0x451)]()+'/'+_0x1c2b53['objectType']+_0x3877bb(0x3ea);return(await this[_0x3877bb(0x21c)][_0x3877bb(0x30c)](_0x436355,{'body':_0x1c2b53}))[_0x3877bb(0x401)][_0x3877bb(0x4d0)]||'';}async[_0x500950(0x272)](_0x16273b){const _0x234bfe=_0x500950;let _0x53b62e=this[_0x234bfe(0x451)]()+_0x234bfe(0x437);return(await this[_0x234bfe(0x21c)][_0x234bfe(0x30c)](_0x53b62e,{'body':_0x16273b}))[_0x234bfe(0x401)][_0x234bfe(0x339)];}async[_0x500950(0x312)](_0x48a64e){const _0x3cd1b7=_0x500950;var _0x4695a4;let _0x49cd2c=this[_0x3cd1b7(0x451)]()+'/'+_0x48a64e['objectType']+_0x3cd1b7(0x34c)+_0x48a64e[_0x3cd1b7(0x4d0)],_0x2ca37a=await this[_0x3cd1b7(0x21c)]['put'](_0x49cd2c,{'body':_0x48a64e});if((_0x2ca37a==null||(_0x4695a4=_0x2ca37a[_0x3cd1b7(0x401)])==null||(_0x4695a4=_0x4695a4[_0x3cd1b7(0x4bb)])==null?void 0x0:_0x4695a4['code'])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x500950(0x334)](_0x116a84){const _0x356384=_0x500950;let _0x5e2b3e=this['_getAPIPrefixPath']()+'/'+_0x116a84['objectType']+_0x356384(0x34c)+_0x116a84[_0x356384(0x4d0)]+_0x356384(0x4fa);return(await this['_HTTPService'][_0x356384(0x30c)](_0x5e2b3e,{'body':_0x116a84}))[_0x356384(0x401)][_0x356384(0x421)];}async[_0x500950(0x3e9)](_0x204c12){const _0x288edd=_0x500950;let _0x15c50f=this[_0x288edd(0x451)]()+'/-/object/-/batch_allowed';return(await this[_0x288edd(0x21c)]['post'](_0x15c50f,{'body':{'requests':_0x204c12}}))[_0x288edd(0x401)][_0x288edd(0x2ca)];}async[_0x500950(0x3e8)](_0x2a450f){const _0x31fe95=_0x500950;let _0x42ade4=this[_0x31fe95(0x451)]()+'/'+_0x2a450f[_0x31fe95(0x453)]+_0x31fe95(0x38f),_0x55ba14=await this[_0x31fe95(0x21c)][_0x31fe95(0x30c)](_0x42ade4,{'body':_0x2a450f});return{'roles':_0x55ba14['body'][_0x31fe95(0x335)],'actions':_0x55ba14[_0x31fe95(0x401)][_0x31fe95(0x421)]};}async[_0x500950(0x290)](_0x201b63){const _0x47a01d=_0x500950;let _0x4fe612=this[_0x47a01d(0x451)]()+_0x47a01d(0x206);await this[_0x47a01d(0x21c)][_0x47a01d(0x41e)](_0x4fe612,{'params':{'collaboratorID':_0x201b63[_0x47a01d(0x3bf)],'objectID':_0x201b63[_0x47a01d(0x4d0)],'unitID':_0x201b63[_0x47a01d(0x1ee)]}});}async['updateCollaborator'](_0x10c319){const _0xc43ef=_0x500950;let _0x670790=this['_getAPIPrefixPath']()+_0xc43ef(0x206);await this['_HTTPService']['patch'](_0x670790,{'body':_0x10c319});}async[_0x500950(0x4b5)](_0x400adc){const _0x185227=_0x500950;let _0x3dfcf3=this['_getAPIPrefixPath']()+_0x185227(0x206);await this[_0x185227(0x21c)][_0x185227(0x30c)](_0x3dfcf3,{'body':_0x400adc});}async['listCollaborators'](_0x5a5046){const _0xcf2f3b=_0x500950;var _0x5c3801;let _0x9521=this['_getAPIPrefixPath']()+_0xcf2f3b(0x206),_0x310ed7=await this[_0xcf2f3b(0x21c)]['get'](_0x9521,{'params':{'objectID':_0x5a5046[_0xcf2f3b(0x4d0)],'unitID':_0x5a5046[_0xcf2f3b(0x1ee)]}});return this['setCfgEnableObjInherit']((_0x5c3801=_0x310ed7[_0xcf2f3b(0x401)][_0xcf2f3b(0x326)])==null?!0x1:_0x5c3801),_0x310ed7[_0xcf2f3b(0x401)][_0xcf2f3b(0x234)];}async['putCollaborators'](_0x3df867){const _0x1c3cf6=_0x500950;let _0x347be7=this[_0x1c3cf6(0x451)]()+_0x1c3cf6(0x206);await this[_0x1c3cf6(0x21c)][_0x1c3cf6(0x2e1)](_0x347be7,{'body':_0x3df867});}[_0x500950(0x21b)](_0x45ff1b){const _0x1c9dad=_0x500950;this[_0x1c9dad(0x346)]=_0x45ff1b;}[_0x500950(0x3a8)](){return this['_cfgEnableObjInherit'];}};_0x20ee4d=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456['Inject'])(_0x25f3fb[_0x500950(0x485)])),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x26a)]))],_0x20ee4d);function _0x9583e1(_0x4d80ec){const _0x218aa2=_0x500950;return _0x4d80ec instanceof Uint8Array||ArrayBuffer['isView'](_0x4d80ec)&&_0x4d80ec[_0x218aa2(0x4b7)]['name']==='Uint8Array'&&_0x218aa2(0x46f)in _0x4d80ec&&_0x4d80ec[_0x218aa2(0x46f)]===0x1;}function _0x4d8be5(_0x4c83e9){const _0x2f3c6f=_0x500950;if(typeof _0x4c83e9!=_0x2f3c6f(0x3d6))throw TypeError('number\x20expected,\x20got\x20'+typeof _0x4c83e9);if(!Number[_0x2f3c6f(0x403)](_0x4c83e9)||_0x4c83e9<0x0)throw RangeError(_0x2f3c6f(0x4bd)+_0x4c83e9);}function _0x41e5e9(_0x428ca6,_0x2c140b,_0x5df059=''){const _0x17720c=_0x500950;let _0x4e3e43=_0x9583e1(_0x428ca6),_0x57a6b1=_0x428ca6==null?void 0x0:_0x428ca6[_0x17720c(0x301)],_0x99937b=_0x2c140b!==void 0x0;if(!_0x4e3e43||_0x99937b&&_0x57a6b1!==_0x2c140b){let _0x4c0a49=_0x5df059&&'\x22'+_0x5df059+'\x22\x20',_0xca90ba=_0x99937b?_0x17720c(0x333)+_0x2c140b:'',_0x3caf81=_0x4e3e43?_0x17720c(0x450)+_0x57a6b1:_0x17720c(0x42c)+typeof _0x428ca6,_0x28fcf0=_0x4c0a49+'expected\x20Uint8Array'+_0xca90ba+_0x17720c(0x367)+_0x3caf81;throw _0x4e3e43?RangeError(_0x28fcf0):TypeError(_0x28fcf0);}return _0x428ca6;}function _0x5c5189(_0x2658ed){const _0x46e5c3=_0x500950;return new Uint32Array(_0x2658ed[_0x46e5c3(0x480)],_0x2658ed[_0x46e5c3(0x467)],Math['floor'](_0x2658ed[_0x46e5c3(0x311)]/0x4));}function _0x415ec6(..._0x4afe87){const _0x2f8d6e=_0x500950;for(let _0x19a2e2=0x0;_0x19a2e2<_0x4afe87[_0x2f8d6e(0x301)];_0x19a2e2++)_0x4afe87[_0x19a2e2][_0x2f8d6e(0x2a7)](0x0);}let _0x2828f9=new Uint8Array(new Uint32Array([0x11223344])[_0x500950(0x480)])[0x0]===0x44,_0xc26621=_0x4ee1b2=>_0x4ee1b2<<0x18&0xff000000|_0x4ee1b2<<0x8&0xff0000|_0x4ee1b2>>>0x8&0xff00|_0x4ee1b2>>>0x18&0xff,_0x2a2b0b=_0x2828f9?_0x18e430=>_0x18e430:_0x54320c=>{const _0x42a0aa=_0x500950;for(let _0x7da11a=0x0;_0x7da11a<_0x54320c[_0x42a0aa(0x301)];_0x7da11a++)_0x54320c[_0x7da11a]=_0xc26621(_0x54320c[_0x7da11a]);return _0x54320c;};typeof Uint8Array[_0x500950(0x3aa)]([])[_0x500950(0x2b9)]==_0x500950(0x255)&&Uint8Array[_0x500950(0x393)];function _0x45ad3e(_0x13cc52){const _0x223b95=_0x500950;if(typeof _0x13cc52!=_0x223b95(0x35e))throw TypeError('string\x20expected');return new Uint8Array(new TextEncoder()[_0x223b95(0x4f5)](_0x13cc52));}function _0x229eae(_0xff5590,_0x40f17a){const _0x45ed65=_0x500950;return!_0xff5590[_0x45ed65(0x311)]||!_0x40f17a[_0x45ed65(0x311)]?!0x1:_0xff5590['buffer']===_0x40f17a[_0x45ed65(0x480)]&&_0xff5590[_0x45ed65(0x467)]<_0x40f17a[_0x45ed65(0x467)]+_0x40f17a[_0x45ed65(0x311)]&&_0x40f17a[_0x45ed65(0x467)]<_0xff5590[_0x45ed65(0x467)]+_0xff5590[_0x45ed65(0x311)];}function _0xf4ad49(_0x57d8f5,_0x9959f9){const _0x374464=_0x500950;if(_0x229eae(_0x57d8f5,_0x9959f9)&&_0x57d8f5[_0x374464(0x467)]<_0x9959f9['byteOffset'])throw Error(_0x374464(0x4fd));}function _0x4787bd(..._0xd2ad0){const _0x529534=_0x500950;let _0x49f695=0x0;for(let _0xad9a9=0x0;_0xad9a9<_0xd2ad0[_0x529534(0x301)];_0xad9a9++){let _0x1bcf91=_0xd2ad0[_0xad9a9];_0x41e5e9(_0x1bcf91),_0x49f695+=_0x1bcf91[_0x529534(0x301)];}let _0x307464=new Uint8Array(_0x49f695);for(let _0x471514=0x0,_0x463379=0x0;_0x471514<_0xd2ad0[_0x529534(0x301)];_0x471514++){let _0x489cf2=_0xd2ad0[_0x471514];_0x307464[_0x529534(0x2f9)](_0x489cf2,_0x463379),_0x463379+=_0x489cf2[_0x529534(0x301)];}return _0x307464;}let _0x5edb52=(_0x4de64f,_0x5d7f45)=>{function _0x437541(_0x3c4a3f,..._0x58dbaf){const _0x4381e0=_0x1951;if(_0x41e5e9(_0x3c4a3f,void 0x0,_0x4381e0(0x2a3)),_0x4de64f[_0x4381e0(0x2e3)]!==void 0x0){let _0x3b89d3=_0x58dbaf[0x0];_0x41e5e9(_0x3b89d3,_0x4de64f[_0x4381e0(0x37f)]?void 0x0:_0x4de64f[_0x4381e0(0x2e3)],_0x4381e0(0x32e));}let _0x421dd9=_0x4de64f['tagLength'];_0x421dd9&&_0x58dbaf[0x1]!==void 0x0&&_0x41e5e9(_0x58dbaf[0x1],void 0x0,_0x4381e0(0x2ff));let _0x3d4ca1=_0x5d7f45(_0x3c4a3f,..._0x58dbaf),_0x39d0a6=(_0x2e8809,_0x241f2d)=>{if(_0x241f2d!==void 0x0){if(_0x2e8809!==0x2)throw Error('cipher\x20output\x20not\x20supported');_0x41e5e9(_0x241f2d,void 0x0,'output');}},_0x2dac3b=!0x1;return{'encrypt'(_0x5a054e,_0x5367d9){const _0x72d0ba=_0x4381e0;if(_0x2dac3b)throw Error('cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce');return _0x2dac3b=!0x0,_0x41e5e9(_0x5a054e),_0x39d0a6(_0x3d4ca1[_0x72d0ba(0x2d5)][_0x72d0ba(0x301)],_0x5367d9),_0x3d4ca1[_0x72d0ba(0x2d5)](_0x5a054e,_0x5367d9);},'decrypt'(_0x19e353,_0x41ce6f){const _0x3d6db0=_0x4381e0;if(_0x41e5e9(_0x19e353),_0x421dd9&&_0x19e353[_0x3d6db0(0x301)]<_0x421dd9)throw Error(_0x3d6db0(0x377)+_0x421dd9);return _0x39d0a6(_0x3d4ca1['decrypt'][_0x3d6db0(0x301)],_0x41ce6f),_0x3d4ca1[_0x3d6db0(0x2e5)](_0x19e353,_0x41ce6f);}};}return Object['assign'](_0x437541,_0x4de64f),_0x437541;};function _0x2433ec(_0x45ca3a,_0x1c73c2,_0x570ab5=!0x0){const _0xd963f=_0x500950;if(_0x1c73c2===void 0x0)return new Uint8Array(_0x45ca3a);if(_0x41e5e9(_0x1c73c2,void 0x0,_0xd963f(0x3f3)),_0x1c73c2[_0xd963f(0x301)]!==_0x45ca3a)throw Error(_0xd963f(0x220)+_0x45ca3a+_0xd963f(0x4e2)+_0x1c73c2[_0xd963f(0x301)]);if(_0x570ab5&&!_0x270ceb(_0x1c73c2))throw Error(_0xd963f(0x354));return _0x1c73c2;}function _0x270ceb(_0x56dcc3){const _0x4b7dfd=_0x500950;return _0x56dcc3[_0x4b7dfd(0x467)]%0x4==0x0;}function _0x10a7f9(_0x272f1a){return Uint8Array['from'](_0x41e5e9(_0x272f1a));}function _0x345534(_0x5bbaa8=0x20){const _0x3c0d22=_0x500950;_0x4d8be5(_0x5bbaa8);let _0x1e731e=typeof globalThis==_0x3c0d22(0x2fb)?globalThis[_0x3c0d22(0x407)]:null;if(typeof(_0x1e731e==null?void 0x0:_0x1e731e[_0x3c0d22(0x482)])!=_0x3c0d22(0x255))throw Error(_0x3c0d22(0x449));return _0x1e731e[_0x3c0d22(0x482)](new Uint8Array(_0x5bbaa8));}function _0x540553(_0x455435){const _0x264615=_0x500950;if(![0x10,0x18,0x20][_0x264615(0x363)](_0x455435[_0x264615(0x301)]))throw Error(_0x264615(0x227)+_0x455435['length']);}function _0x30ab73(_0x3bbd20){return _0x3bbd20<<0x1^0x11b&-(_0x3bbd20>>0x7);}function _0x282c8c(_0x12a1f1,_0x595ae5){let _0x40e08d=0x0;for(;_0x595ae5>0x0;_0x595ae5>>=0x1)_0x40e08d^=_0x12a1f1&-(_0x595ae5&0x1),_0x12a1f1=_0x30ab73(_0x12a1f1);return _0x40e08d;}let _0x13b0b6=((()=>{let _0x1482be=new Uint8Array(0x100);for(let _0x4703eb=0x0,_0x528ecc=0x1;_0x4703eb<0x100;_0x4703eb++,_0x528ecc^=_0x30ab73(_0x528ecc))_0x1482be[_0x4703eb]=_0x528ecc;let _0x177123=new Uint8Array(0x100);_0x177123[0x0]=0x63;for(let _0x2ca3b4=0x0;_0x2ca3b4<0xff;_0x2ca3b4++){let _0x44f2d6=_0x1482be[0xff-_0x2ca3b4];_0x44f2d6|=_0x44f2d6<<0x8,_0x177123[_0x1482be[_0x2ca3b4]]=(_0x44f2d6^_0x44f2d6>>0x4^_0x44f2d6>>0x5^_0x44f2d6>>0x6^_0x44f2d6>>0x7^0x63)&0xff;}return _0x415ec6(_0x1482be),_0x177123;})()),_0xf9e91d=_0x13b0b6['map']((_0x99e8ff,_0x592f35)=>_0x13b0b6[_0x500950(0x275)](_0x592f35)),_0x209f48=_0x5cfadb=>_0x5cfadb<<0x18|_0x5cfadb>>>0x8,_0x1ea3e4=_0x236edc=>_0x236edc<<0x8|_0x236edc>>>0x18;function _0x52730f(_0x4a7ba4,_0x1839b8){const _0xac9256=_0x500950;if(_0x4a7ba4['length']!==0x100)throw Error('Wrong\x20sbox\x20length');let _0x467f96=new Uint32Array(0x100)['map']((_0x4a835d,_0x4b8167)=>_0x1839b8(_0x4a7ba4[_0x4b8167])),_0x1e60f3=_0x467f96[_0xac9256(0x39d)](_0x1ea3e4),_0x1c681e=_0x1e60f3['map'](_0x1ea3e4),_0x55945e=_0x1c681e[_0xac9256(0x39d)](_0x1ea3e4),_0x307cf6=new Uint32Array(0x100*0x100),_0x335d13=new Uint32Array(0x100*0x100),_0x3a59be=new Uint16Array(0x100*0x100);for(let _0x2730e1=0x0;_0x2730e1<0x100;_0x2730e1++)for(let _0x3b2c2e=0x0;_0x3b2c2e<0x100;_0x3b2c2e++){let _0x448e7a=_0x2730e1*0x100+_0x3b2c2e;_0x307cf6[_0x448e7a]=_0x467f96[_0x2730e1]^_0x1e60f3[_0x3b2c2e],_0x335d13[_0x448e7a]=_0x1c681e[_0x2730e1]^_0x55945e[_0x3b2c2e],_0x3a59be[_0x448e7a]=_0x4a7ba4[_0x2730e1]<<0x8|_0x4a7ba4[_0x3b2c2e];}return{'sbox':_0x4a7ba4,'sbox2':_0x3a59be,'T0':_0x467f96,'T1':_0x1e60f3,'T2':_0x1c681e,'T3':_0x55945e,'T01':_0x307cf6,'T23':_0x335d13};}let _0x3525b0=_0x52730f(_0x13b0b6,_0x2d9c4f=>_0x282c8c(_0x2d9c4f,0x3)<<0x18|_0x2d9c4f<<0x10|_0x2d9c4f<<0x8|_0x282c8c(_0x2d9c4f,0x2)),_0x3c53b9=_0x52730f(_0xf9e91d,_0x2a96c4=>_0x282c8c(_0x2a96c4,0xb)<<0x18|_0x282c8c(_0x2a96c4,0xd)<<0x10|_0x282c8c(_0x2a96c4,0x9)<<0x8|_0x282c8c(_0x2a96c4,0xe)),_0x13211e=((()=>{let _0xcc454e=new Uint8Array(0x10);for(let _0xe1901=0x0,_0x40a41a=0x1;_0xe1901<0x10;_0xe1901++,_0x40a41a=_0x30ab73(_0x40a41a))_0xcc454e[_0xe1901]=_0x40a41a;return _0xcc454e;})());function _0x48cdbf(_0x332f06){const _0x2cf259=_0x500950;_0x41e5e9(_0x332f06);let _0x2d7081=_0x332f06[_0x2cf259(0x301)];_0x540553(_0x332f06);let {sbox2:_0x5d8df2}=_0x3525b0,_0x1cfbdf=[];(!_0x2828f9||!_0x270ceb(_0x332f06))&&_0x1cfbdf[_0x2cf259(0x204)](_0x332f06=_0x10a7f9(_0x332f06));let _0x1c7714=_0x2a2b0b(_0x5c5189(_0x332f06)),_0x16058e=_0x1c7714[_0x2cf259(0x301)],_0x191010=_0x1a3929=>_0x16bc3b(_0x5d8df2,_0x1a3929,_0x1a3929,_0x1a3929,_0x1a3929),_0xabb6a3=new Uint32Array(_0x2d7081+0x1c);_0xabb6a3[_0x2cf259(0x2f9)](_0x1c7714);for(let _0x9dc660=_0x16058e;_0x9dc660<_0xabb6a3[_0x2cf259(0x301)];_0x9dc660++){let _0xa0a04a=_0xabb6a3[_0x9dc660-0x1];_0x9dc660%_0x16058e===0x0?_0xa0a04a=_0x191010(_0x209f48(_0xa0a04a))^_0x13211e[_0x9dc660/_0x16058e-0x1]:_0x16058e>0x6&&_0x9dc660%_0x16058e===0x4&&(_0xa0a04a=_0x191010(_0xa0a04a)),_0xabb6a3[_0x9dc660]=_0xabb6a3[_0x9dc660-_0x16058e]^_0xa0a04a;}return _0x415ec6(..._0x1cfbdf),_0xabb6a3;}function _0x3a9554(_0xbbb93c){const _0x2bab4a=_0x500950;let _0x49ff4d=_0x48cdbf(_0xbbb93c),_0x3e33e3=_0x49ff4d[_0x2bab4a(0x2fd)](),_0x491aac=_0x49ff4d[_0x2bab4a(0x301)],{sbox2:_0x5d264e}=_0x3525b0,{T0:_0x4e331e,T1:_0x2c02ab,T2:_0x1ce522,T3:_0x12f31c}=_0x3c53b9;for(let _0x36f1d0=0x0;_0x36f1d0<_0x491aac;_0x36f1d0+=0x4)for(let _0x121876=0x0;_0x121876<0x4;_0x121876++)_0x3e33e3[_0x36f1d0+_0x121876]=_0x49ff4d[_0x491aac-_0x36f1d0-0x4+_0x121876];_0x415ec6(_0x49ff4d);for(let _0x2b82b7=0x4;_0x2b82b7<_0x491aac-0x4;_0x2b82b7++){let _0x2b0b6a=_0x3e33e3[_0x2b82b7],_0x214197=_0x16bc3b(_0x5d264e,_0x2b0b6a,_0x2b0b6a,_0x2b0b6a,_0x2b0b6a);_0x3e33e3[_0x2b82b7]=_0x4e331e[_0x214197&0xff]^_0x2c02ab[_0x214197>>>0x8&0xff]^_0x1ce522[_0x214197>>>0x10&0xff]^_0x12f31c[_0x214197>>>0x18];}return _0x3e33e3;}function _0x16c38b(_0x3edae3,_0x47c0fd,_0x2e96e5,_0x44ee51,_0x9d606b,_0x16349c){return _0x3edae3[_0x2e96e5<<0x8&0xff00|_0x44ee51>>>0x8&0xff]^_0x47c0fd[_0x9d606b>>>0x8&0xff00|_0x16349c>>>0x18&0xff];}function _0x16bc3b(_0x45299c,_0x4a54e7,_0x3dd38f,_0x3bded3,_0x149f26){return _0x45299c[_0x4a54e7&0xff|_0x3dd38f&0xff00]|_0x45299c[_0x3bded3>>>0x10&0xff|_0x149f26>>>0x10&0xff00]<<0x10;}function _0x3de05d(_0x499289,_0x2f5011,_0x1bc362,_0x3e9276,_0x2118d3){let {sbox2:_0x529ae4,T01:_0x441d44,T23:_0x4905d1}=_0x3525b0,_0x207950=0x0;_0x2f5011^=_0x499289[_0x207950++],_0x1bc362^=_0x499289[_0x207950++],_0x3e9276^=_0x499289[_0x207950++],_0x2118d3^=_0x499289[_0x207950++];let _0x4fe7ba=_0x499289['length']/0x4-0x2;for(let _0x1d86ce=0x0;_0x1d86ce<_0x4fe7ba;_0x1d86ce++){let _0x4e80a1=_0x499289[_0x207950++]^_0x16c38b(_0x441d44,_0x4905d1,_0x2f5011,_0x1bc362,_0x3e9276,_0x2118d3),_0x364a7a=_0x499289[_0x207950++]^_0x16c38b(_0x441d44,_0x4905d1,_0x1bc362,_0x3e9276,_0x2118d3,_0x2f5011),_0x105608=_0x499289[_0x207950++]^_0x16c38b(_0x441d44,_0x4905d1,_0x3e9276,_0x2118d3,_0x2f5011,_0x1bc362),_0x18b13e=_0x499289[_0x207950++]^_0x16c38b(_0x441d44,_0x4905d1,_0x2118d3,_0x2f5011,_0x1bc362,_0x3e9276);_0x2f5011=_0x4e80a1,_0x1bc362=_0x364a7a,_0x3e9276=_0x105608,_0x2118d3=_0x18b13e;}return{'s0':_0x499289[_0x207950++]^_0x16bc3b(_0x529ae4,_0x2f5011,_0x1bc362,_0x3e9276,_0x2118d3),'s1':_0x499289[_0x207950++]^_0x16bc3b(_0x529ae4,_0x1bc362,_0x3e9276,_0x2118d3,_0x2f5011),'s2':_0x499289[_0x207950++]^_0x16bc3b(_0x529ae4,_0x3e9276,_0x2118d3,_0x2f5011,_0x1bc362),'s3':_0x499289[_0x207950++]^_0x16bc3b(_0x529ae4,_0x2118d3,_0x2f5011,_0x1bc362,_0x3e9276)};}function _0x28fab3(_0x28eca4,_0x44c078,_0x1b0010,_0x2daaaf,_0x342c8a){const _0x214e85=_0x500950;let {sbox2:_0x5744e0,T01:_0x5bc903,T23:_0x573cdd}=_0x3c53b9,_0x4e39b9=0x0;_0x44c078^=_0x28eca4[_0x4e39b9++],_0x1b0010^=_0x28eca4[_0x4e39b9++],_0x2daaaf^=_0x28eca4[_0x4e39b9++],_0x342c8a^=_0x28eca4[_0x4e39b9++];let _0x64928c=_0x28eca4[_0x214e85(0x301)]/0x4-0x2;for(let _0x3124be=0x0;_0x3124be<_0x64928c;_0x3124be++){let _0x1ef61c=_0x28eca4[_0x4e39b9++]^_0x16c38b(_0x5bc903,_0x573cdd,_0x44c078,_0x342c8a,_0x2daaaf,_0x1b0010),_0x3f032f=_0x28eca4[_0x4e39b9++]^_0x16c38b(_0x5bc903,_0x573cdd,_0x1b0010,_0x44c078,_0x342c8a,_0x2daaaf),_0x10d687=_0x28eca4[_0x4e39b9++]^_0x16c38b(_0x5bc903,_0x573cdd,_0x2daaaf,_0x1b0010,_0x44c078,_0x342c8a),_0x491c5d=_0x28eca4[_0x4e39b9++]^_0x16c38b(_0x5bc903,_0x573cdd,_0x342c8a,_0x2daaaf,_0x1b0010,_0x44c078);_0x44c078=_0x1ef61c,_0x1b0010=_0x3f032f,_0x2daaaf=_0x10d687,_0x342c8a=_0x491c5d;}return{'s0':_0x28eca4[_0x4e39b9++]^_0x16bc3b(_0x5744e0,_0x44c078,_0x342c8a,_0x2daaaf,_0x1b0010),'s1':_0x28eca4[_0x4e39b9++]^_0x16bc3b(_0x5744e0,_0x1b0010,_0x44c078,_0x342c8a,_0x2daaaf),'s2':_0x28eca4[_0x4e39b9++]^_0x16bc3b(_0x5744e0,_0x2daaaf,_0x1b0010,_0x44c078,_0x342c8a),'s3':_0x28eca4[_0x4e39b9++]^_0x16bc3b(_0x5744e0,_0x342c8a,_0x2daaaf,_0x1b0010,_0x44c078)};}function _0x142c5d(_0x21d734){const _0x26c71b=_0x500950;if(_0x41e5e9(_0x21d734),_0x21d734[_0x26c71b(0x301)]%0x10!=0x0)throw Error(_0x26c71b(0x3e7));}function _0x5482ff(_0xc988b2,_0x2a978f,_0x24fa4e){const _0xb4fbe5=_0x500950;_0x41e5e9(_0xc988b2);let _0x82dbd0=_0xc988b2[_0xb4fbe5(0x301)],_0x4a3e55=_0x82dbd0%0x10;if(!_0x2a978f&&_0x4a3e55!==0x0)throw Error('aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding');if(_0x2a978f){let _0x5683b3=0x10-_0x4a3e55;_0x5683b3||(_0x5683b3=0x10),_0x82dbd0+=_0x5683b3;}_0x24fa4e=_0x2433ec(_0x82dbd0,_0x24fa4e),_0xf4ad49(_0xc988b2,_0x24fa4e),(!_0x2828f9||!_0x270ceb(_0xc988b2))&&(_0xc988b2=_0x10a7f9(_0xc988b2));let _0x5f3f2e=_0x5c5189(_0xc988b2);return _0x2a2b0b(_0x5f3f2e),{'b':_0x5f3f2e,'o':_0x5c5189(_0x24fa4e),'out':_0x24fa4e};}function _0x646a4a(_0x27e004,_0x2ba326){const _0xf53d78=_0x500950;if(!_0x2ba326)return _0x27e004;let _0x4e7d17=_0x27e004[_0xf53d78(0x301)];if(_0x4e7d17===0x0)throw Error(_0xf53d78(0x289));let _0xdd10e=_0x27e004[_0x4e7d17-0x1],_0x290edc=0x1;_0x290edc&=_0xdd10e-0x1>>>0x1f^0x1,_0x290edc&=0x10-_0xdd10e>>>0x1f^0x1;for(let _0x574672=0x0;_0x574672<0x10;_0x574672++){let _0x4545ff=_0x574672-_0xdd10e>>>0x1f,_0xb53e2e=+((_0x27e004[_0x4e7d17-0x1-_0x574672]^_0xdd10e)===0x0);_0x290edc&=_0xb53e2e|_0x4545ff^0x1;}if(!_0x290edc)throw Error(_0xf53d78(0x36a));return _0x27e004[_0xf53d78(0x448)](0x0,_0x4e7d17-_0xdd10e);}function _0x29fc63(_0x327a05){const _0x18f837=_0x500950;let _0x4012b7=new Uint8Array(0x10),_0x233909=_0x5c5189(_0x4012b7);_0x4012b7['set'](_0x327a05);let _0x3973d2=0x10-_0x327a05[_0x18f837(0x301)];for(let _0x5ad425=0x10-_0x3973d2;_0x5ad425<0x10;_0x5ad425++)_0x4012b7[_0x5ad425]=_0x3973d2;return _0x233909;}let _0x20482d=_0x5edb52({'blockSize':0x10,'nonceLength':0x10},function(_0xe20ebe,_0x3b7df3,_0x1caaa8={}){const _0x44c6de=_0x500950;let _0x560e94=!_0x1caaa8[_0x44c6de(0x3ec)];return{'encrypt'(_0xefd1d1,_0x1d88aa){const _0x5842d6=_0x44c6de;let _0x3e8b54=_0x48cdbf(_0xe20ebe),{b:_0xaabfaa,o:_0x160e42,out:_0x13d78f}=_0x5482ff(_0xefd1d1,_0x560e94,_0x1d88aa),_0x55a490=_0x3b7df3,_0x4ba899=[_0x3e8b54];(!_0x2828f9||!_0x270ceb(_0x55a490))&&_0x4ba899['push'](_0x55a490=_0x10a7f9(_0x55a490));let _0x3ca88e=_0x5c5189(_0x55a490);_0x2a2b0b(_0x3ca88e);let _0x2b6f19=_0x3ca88e[0x0],_0x5704da=_0x3ca88e[0x1],_0xa576ed=_0x3ca88e[0x2],_0x59e83f=_0x3ca88e[0x3],_0x5e599c=0x0;for(;_0x5e599c+0x4<=_0xaabfaa[_0x5842d6(0x301)];)_0x2b6f19^=_0xaabfaa[_0x5e599c+0x0],_0x5704da^=_0xaabfaa[_0x5e599c+0x1],_0xa576ed^=_0xaabfaa[_0x5e599c+0x2],_0x59e83f^=_0xaabfaa[_0x5e599c+0x3],{s0:_0x2b6f19,s1:_0x5704da,s2:_0xa576ed,s3:_0x59e83f}=_0x3de05d(_0x3e8b54,_0x2b6f19,_0x5704da,_0xa576ed,_0x59e83f),_0x160e42[_0x5e599c++]=_0x2b6f19,_0x160e42[_0x5e599c++]=_0x5704da,_0x160e42[_0x5e599c++]=_0xa576ed,_0x160e42[_0x5e599c++]=_0x59e83f;if(_0x560e94){let _0x5d5762=_0x29fc63(_0xefd1d1['subarray'](_0x5e599c*0x4));_0x2a2b0b(_0x5d5762),_0x2b6f19^=_0x5d5762[0x0],_0x5704da^=_0x5d5762[0x1],_0xa576ed^=_0x5d5762[0x2],_0x59e83f^=_0x5d5762[0x3],{s0:_0x2b6f19,s1:_0x5704da,s2:_0xa576ed,s3:_0x59e83f}=_0x3de05d(_0x3e8b54,_0x2b6f19,_0x5704da,_0xa576ed,_0x59e83f),_0x160e42[_0x5e599c++]=_0x2b6f19,_0x160e42[_0x5e599c++]=_0x5704da,_0x160e42[_0x5e599c++]=_0xa576ed,_0x160e42[_0x5e599c++]=_0x59e83f;}return _0x2a2b0b(_0x160e42),_0x415ec6(..._0x4ba899),_0x13d78f;},'decrypt'(_0xe5daf9,_0x53b645){const _0x2eae4e=_0x44c6de;_0x142c5d(_0xe5daf9);let _0x32cb46=_0x3a9554(_0xe20ebe),_0x18be7f=_0x3b7df3,_0x17ff9d=[_0x32cb46];(!_0x2828f9||!_0x270ceb(_0x18be7f))&&_0x17ff9d[_0x2eae4e(0x204)](_0x18be7f=_0x10a7f9(_0x18be7f));let _0x2fb8f0=_0x5c5189(_0x18be7f);_0x2a2b0b(_0x2fb8f0),_0x53b645=_0x2433ec(_0xe5daf9[_0x2eae4e(0x301)],_0x53b645),_0xf4ad49(_0xe5daf9,_0x53b645),(!_0x2828f9||!_0x270ceb(_0xe5daf9))&&_0x17ff9d['push'](_0xe5daf9=_0x10a7f9(_0xe5daf9));let _0x3634a1=_0x5c5189(_0xe5daf9),_0x2da42b=_0x5c5189(_0x53b645);_0x2a2b0b(_0x3634a1);let _0x55c63e=_0x2fb8f0[0x0],_0x4f40b0=_0x2fb8f0[0x1],_0xc28997=_0x2fb8f0[0x2],_0x336bc4=_0x2fb8f0[0x3];for(let _0x231558=0x0;_0x231558+0x4<=_0x3634a1[_0x2eae4e(0x301)];){let _0x152466=_0x55c63e,_0x4d86d6=_0x4f40b0,_0x460af9=_0xc28997,_0x1d175b=_0x336bc4;_0x55c63e=_0x3634a1[_0x231558+0x0],_0x4f40b0=_0x3634a1[_0x231558+0x1],_0xc28997=_0x3634a1[_0x231558+0x2],_0x336bc4=_0x3634a1[_0x231558+0x3];let {s0:_0x59338b,s1:_0x12e38f,s2:_0xc3979a,s3:_0x99550}=_0x28fab3(_0x32cb46,_0x55c63e,_0x4f40b0,_0xc28997,_0x336bc4);_0x2da42b[_0x231558++]=_0x59338b^_0x152466,_0x2da42b[_0x231558++]=_0x12e38f^_0x4d86d6,_0x2da42b[_0x231558++]=_0xc3979a^_0x460af9,_0x2da42b[_0x231558++]=_0x99550^_0x1d175b;}return _0x2a2b0b(_0x2da42b),_0x415ec6(..._0x17ff9d),_0x646a4a(_0x53b645,_0x560e94);}};});function _0x5596a6(_0x5be2b3){const _0x93f7b6=_0x500950;let _0x1a9d41=atob(_0x5be2b3),_0x383a0b=new Uint8Array(_0x1a9d41[_0x93f7b6(0x301)]);for(let _0x38ef83=0x0;_0x38ef83<_0x1a9d41[_0x93f7b6(0x301)];_0x38ef83++)_0x383a0b[_0x38ef83]=_0x1a9d41[_0x93f7b6(0x3c9)](_0x38ef83);return _0x383a0b;}function _0x28c500(_0x40f9f9){const _0x48282e=_0x500950;let _0x24c05e='';for(let _0x7f71e=0x0;_0x7f71e<_0x40f9f9[_0x48282e(0x301)];_0x7f71e++)_0x24c05e+=String[_0x48282e(0x397)](_0x40f9f9[_0x7f71e]);return btoa(_0x24c05e);}function _0x334022(_0x181301,_0x344691){const _0x3e007b=_0x500950;let _0x332c8a=_0x5596a6(_0x344691),_0x4facbf=_0x345534(0x10);return _0x28c500(_0x4787bd(_0x4facbf,_0x20482d(_0x332c8a,_0x4facbf)[_0x3e007b(0x2d5)](_0x45ad3e(_0x181301))));}function _0x3a4cf9(){const _0x4fdeac=_0x500950;let _0x203bb5=(0x0,_0x54ba21[_0x4fdeac(0x322)])()['__Key__'];if(typeof window<'u'&&window[_0x4fdeac(0x205)]!==void 0x0&&_0x203bb5){let _0x3300b4={'time':Math[_0x4fdeac(0x35b)](Date['now']()/0x3e8),'domain':location[_0x4fdeac(0x46a)]};return _0x334022(JSON[_0x4fdeac(0x28b)](_0x3300b4),_0x203bb5);}}let _0x33e4c0=class{constructor(_0xbecc25){const _0x5a1c13=_0x500950;this[_0x5a1c13(0x3a5)]=_0xbecc25,this['_initRequestHeader']();}[_0x500950(0x4fe)](){const _0x27702a=_0x500950;this[_0x27702a(0x3a5)]['registerHTTPInterceptor']({'interceptor':(_0x1b8911,_0x5f48d6)=>{const _0x29899a=_0x27702a;let _0x54f290=_0x3a4cf9();return _0x54f290&&_0x1b8911['headers'][_0x29899a(0x2f9)](_0x29899a(0x1eb),_0x54f290),_0x5f48d6(_0x1b8911);}});}};_0x33e4c0=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456[_0x500950(0x430)])(_0x25f3fb[_0x500950(0x485)]))],_0x33e4c0);let _0x47d8bf=class extends _0x2fb456[_0x500950(0x1fb)]{constructor(_0x21cd7a,_0xf26a82,_0x4a0a77){const _0x39d648=_0x500950;super(),this['_logService']=_0x21cd7a,this['_snapshotService']=_0xf26a82,this['_localCacheService']=_0x4a0a77,_0x3dd6fc(this,'_unitInfo$',new _0x5eae7e[(_0x39d648(0x3c7))](null)),_0x3dd6fc(this,'unitInfo$',this[_0x39d648(0x349)][_0x39d648(0x511)]());}async[_0x500950(0x259)](_0x3df0a5,_0x4b121d,_0x46eae3){const _0x5251cd=_0x500950;this[_0x5251cd(0x349)][_0x5251cd(0x362)]({'unitId':_0x3df0a5,'type':_0x4b121d});let _0x4472d6=null;switch(_0x4b121d){case _0x2fb456[_0x5251cd(0x217)][_0x5251cd(0x4ce)]:_0x4472d6=await this[_0x5251cd(0x375)][_0x5251cd(0x398)](_0x3df0a5,_0x46eae3);break;case _0x2fb456[_0x5251cd(0x217)]['UNIVER_DOC']:_0x4472d6=await this['_snapshotService'][_0x5251cd(0x284)](_0x3df0a5,_0x46eae3);break;default:this['_logService']['error']('[DataLoaderService]',_0x5251cd(0x416));break;}return _0x4472d6;}async[_0x500950(0x27b)](_0x15b396,_0x41377c,_0x31e009){const _0x4473be=_0x500950;var _0x21915a;this[_0x4473be(0x349)]['next']({'unitId':_0x15b396,'type':_0x41377c,'subUnitId':_0x31e009});let _0x450fa5=0x0,_0x418c0d=await((_0x21915a=this[_0x4473be(0x49b)])==null?void 0x0:_0x21915a[_0x4473be(0x45a)](_0x15b396));return _0x418c0d&&(_0x418c0d[_0x4473be(0x40d)]||_0x418c0d[_0x4473be(0x3d1)]['length']!==0x0)&&(_0x450fa5=_0x418c0d[_0x4473be(0x2ee)]),_0x450fa5===0x0&&this['_logService'][_0x4473be(0x4a8)](_0x4473be(0x3ba),_0x4473be(0x404)),this[_0x4473be(0x259)](_0x15b396,_0x41377c,_0x450fa5);}};_0x47d8bf=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x4a9)])),_0x42aff9(0x2,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x47d8bf);let _0x5cc7c3=[_0x500950(0x243),_0x500950(0x280),'image/jpg',_0x500950(0x3c2),_0x500950(0x34b)],_0x373cd0=class{constructor(_0x3682c8,_0x12fba5,_0x2ed9c3){const _0x4ce777=_0x500950;this[_0x4ce777(0x3a5)]=_0x3682c8,this[_0x4ce777(0x25a)]=_0x12fba5,this['_univerInstanceService']=_0x2ed9c3,_0x3dd6fc(this,_0x4ce777(0x4a0),0x0),_0x3dd6fc(this,_0x4ce777(0x3ee),new _0x5eae7e[(_0x4ce777(0x4b9))]()),_0x3dd6fc(this,_0x4ce777(0x35c),this[_0x4ce777(0x3ee)]),_0x3dd6fc(this,'_imageSourceCache',new Map());}[_0x500950(0x262)](_0x29c84e){const _0x3f13a3=_0x500950;this[_0x3f13a3(0x4a0)]=_0x29c84e,this[_0x3f13a3(0x3ee)][_0x3f13a3(0x362)](_0x29c84e);}[_0x500950(0x47a)](_0x9ddb48,_0x2016f2){const _0x384ac1=_0x500950;if(_0x2016f2===_0x4f2ba2['ImageSourceType']['BASE64']){let _0x2fa76d=new Image();return _0x2fa76d[_0x384ac1(0x4e7)]=_0x9ddb48,_0x2fa76d;}return this[_0x384ac1(0x266)][_0x384ac1(0x2bd)](_0x9ddb48);}[_0x500950(0x3b8)](_0x53d795,_0x20ef35,_0x596321){const _0x3b3e66=_0x500950;_0x20ef35===_0x4f2ba2[_0x3b3e66(0x457)][_0x3b3e66(0x460)]||_0x596321==null||this[_0x3b3e66(0x266)][_0x3b3e66(0x2f9)](_0x53d795,_0x596321);}async[_0x500950(0x324)](_0x3446ea){const _0xd461b7=_0x500950;try{let _0x41af8e=this[_0xd461b7(0x3d8)](this[_0xd461b7(0x49d)](),''+_0x3446ea),_0x10fe3b=(await this[_0xd461b7(0x3a5)]['get'](_0x41af8e))[_0xd461b7(0x401)];if(_0x10fe3b[_0xd461b7(0x4bb)]&&_0x10fe3b[_0xd461b7(0x4bb)][_0xd461b7(0x46e)]===_0x402625[_0xd461b7(0x428)]['OK']){let _0x89388=(0x0,_0x2fb456[_0xd461b7(0x357)])(_0x10fe3b[_0xd461b7(0x282)],this[_0xd461b7(0x3ff)]());return Promise[_0xd461b7(0x4f8)](_0x89388);}return Promise[_0xd461b7(0x42a)](_0x10fe3b[_0xd461b7(0x4bb)]);}catch(_0x5da2e6){return Promise[_0xd461b7(0x42a)](_0x5da2e6);}}async[_0x500950(0x474)](_0x310107){const _0x394f94=_0x500950;let _0x2d4012='';if(!_0x5cc7c3[_0x394f94(0x363)](_0x310107[_0x394f94(0x431)]))return this['_decreaseWaiting'](),Promise[_0x394f94(0x42a)](Error(_0x4f2ba2['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x310107[_0x394f94(0x44f)]>0x500000)return this['_decreaseWaiting'](),Promise[_0x394f94(0x42a)](Error(_0x4f2ba2['ImageUploadStatusType'][_0x394f94(0x307)]));try{let _0x196460=new FormData();_0x196460[_0x394f94(0x3e4)]('file',_0x310107);let _0x18c1a8=this[_0x394f94(0x2d1)][_0x394f94(0x46c)](),_0x28862e=_0x18c1a8==null?void 0x0:_0x18c1a8[_0x394f94(0x246)]();if(!_0x28862e)throw Error(_0x394f94(0x224));let _0x58735d=this[_0x394f94(0x261)]()+_0x394f94(0x3d0)+_0x310107[_0x394f94(0x44f)][_0x394f94(0x34f)]()+_0x394f94(0x302)+_0x402625[_0x394f94(0x488)]['UnitEmbedded']+_0x394f94(0x299)+encodeURIComponent(_0x28862e),_0x242865={'body':_0x196460},_0x1edcbf=(await this[_0x394f94(0x3a5)][_0x394f94(0x30c)](_0x58735d,_0x242865))[_0x394f94(0x401)];if(typeof _0x1edcbf[_0x394f94(0x3b5)]!=_0x394f94(0x35e))return this[_0x394f94(0x3ac)](),Promise[_0x394f94(0x42a)](Error(_0x4f2ba2[_0x394f94(0x226)][_0x394f94(0x2ae)]));_0x2d4012=_0x1edcbf[_0x394f94(0x3b5)];}catch{return this[_0x394f94(0x3ac)](),Promise[_0x394f94(0x42a)](Error(_0x4f2ba2[_0x394f94(0x226)]['ERROR_IMAGE']));}return new Promise((_0xd3a006,_0x306d32)=>{const _0x52dbfc=_0x394f94;let _0x524218=new FileReader();_0x524218[_0x52dbfc(0x292)](_0x310107),_0x524218[_0x52dbfc(0x4ea)]=_0x22e6df=>{const _0x321ea3=_0x52dbfc;var _0x274086;let _0x55e86c=(_0x274086=_0x22e6df[_0x321ea3(0x2f1)])==null?void 0x0:_0x274086[_0x321ea3(0x1f6)];if(_0x55e86c==null){this[_0x321ea3(0x3ac)](),_0x306d32(Error(_0x4f2ba2[_0x321ea3(0x226)][_0x321ea3(0x2ae)]));return;}_0xd3a006({'imageId':(0x0,_0x2fb456['generateRandomId'])(0x6),'imageSourceType':_0x4f2ba2[_0x321ea3(0x457)][_0x321ea3(0x3cc)],'source':_0x2d4012,'base64Cache':_0x55e86c,'status':_0x4f2ba2['ImageUploadStatusType'][_0x321ea3(0x31f)]}),this[_0x321ea3(0x3ac)]();};});}['_getUploadFileURL'](){const _0x40128b=_0x500950;var _0x4c11e2;let _0xfdf074=this['_configService']['getConfig'](_0x5445c5);return(_0x4c11e2=_0xfdf074==null?void 0x0:_0xfdf074[_0x40128b(0x23e)])==null?_0x40128b(0x42f):_0x4c11e2;}[_0x500950(0x49d)](){const _0x1e377a=_0x500950;var _0x1e7db9;let _0x1bbd5a=this['_configService']['getConfig'](_0x5445c5);return(_0x1e7db9=_0x1bbd5a==null?void 0x0:_0x1bbd5a[_0x1e377a(0x24b)])==null?_0x1e377a(0x475):_0x1e7db9;}[_0x500950(0x3ff)](){const _0x2dea48=_0x500950;var _0xf32f40;let _0x5f3996=this[_0x2dea48(0x25a)][_0x2dea48(0x2a6)](_0x5445c5);return(_0xf32f40=_0x5f3996==null?void 0x0:_0x5f3996[_0x2dea48(0x2a8)])==null?location[_0x2dea48(0x38e)]:_0xf32f40;}['_replaceFileID'](_0x5f29c2,_0x47f477){const _0x59576e=_0x500950;return _0x5f29c2['replace'](_0x59576e(0x1ec),_0x47f477);}[_0x500950(0x3ac)](){const _0xe66110=_0x500950;--this[_0xe66110(0x4a0)],this[_0xe66110(0x3ee)]['next'](this[_0xe66110(0x4a0)]);}};_0x373cd0=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456['Inject'])(_0x25f3fb[_0x500950(0x485)])),_0x42aff9(0x1,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x2,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x285)]))],_0x373cd0);let _0x33dc04=class{constructor(_0x168fc4,_0x25966c){const _0x59aeb5=_0x500950;this[_0x59aeb5(0x25a)]=_0x168fc4,this['_HTTPService']=_0x25966c;}[_0x500950(0x451)](){const _0x41c7cb=_0x500950;var _0x32c940;let _0x50d0c4=this[_0x41c7cb(0x25a)][_0x41c7cb(0x2a6)](_0x5445c5);return(_0x32c940=_0x50d0c4==null?void 0x0:_0x50d0c4[_0x41c7cb(0x356)])==null?'/universer-api/authz':_0x32c940;}async[_0x500950(0x272)](_0xcf4bf9){const _0xbcf9e=_0x500950;let _0x5550b8=this[_0xbcf9e(0x451)]()+_0xbcf9e(0x206);return{'list':[{'title':_0xbcf9e(0x30e),'mentions':(await this[_0xbcf9e(0x21c)][_0xbcf9e(0x2bd)](_0x5550b8,{'params':{'objectID':_0xcf4bf9['unitId'],'unitID':_0xcf4bf9['unitId']}}))[_0xbcf9e(0x401)][_0xbcf9e(0x234)][_0xbcf9e(0x39d)](_0x50de34=>({'objectId':_0x50de34['id'],'name':_0x50de34[_0xbcf9e(0x2bc)][_0xbcf9e(0x1ef)],'metadata':{'icon':_0x50de34['subject'][_0xbcf9e(0x3a7)]},'label':_0x50de34[_0xbcf9e(0x2bc)]['name'],'objectType':_0x2fb456[_0xbcf9e(0x44e)][_0xbcf9e(0x32f)]})),'metadata':{},'type':_0x2fb456['MentionType']['PERSON']}]};}};_0x33dc04=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x26a)])),_0x42aff9(0x1,(0x0,_0x2fb456['Inject'])(_0x25f3fb[_0x500950(0x485)]))],_0x33dc04);let _0x2fe85b=class extends _0x2fb456[_0x500950(0x1fb)]{constructor(_0x259586,_0x5ed681,_0x393906,_0x56e9f9,_0x2f145a){const _0xff70e3=_0x500950;super(),this['_injector']=_0x259586,this[_0xff70e3(0x2d1)]=_0x5ed681,this['_permissionService']=_0x393906,this[_0xff70e3(0x24e)]=_0x56e9f9,this['_collaborationUIEventService']=_0x2f145a,this[_0xff70e3(0x2d7)](),this[_0xff70e3(0x4f2)]();}[_0x500950(0x4f2)](){const _0x1d3077=_0x500950;let _0x3c97f3=async _0x4822ef=>{const _0x341cc9=_0x1951;(await this[_0x341cc9(0x24e)][_0x341cc9(0x4c2)](_0x4822ef))[_0x341cc9(0x2aa)][_0x341cc9(0x3d3)]((0x0,_0x41c5dd[_0x341cc9(0x3c6)])(_0x39677a=>_0x39677a[_0x341cc9(0x49e)]===_0x35ef0a[_0x341cc9(0x21e)]['SHOULD_CLOSE_CONN']),(0x0,_0x41c5dd['takeUntil'])(this[_0x341cc9(0x483)]))[_0x341cc9(0x495)](_0x11043d=>{const _0x404296=_0x341cc9;let {reason:_0x1f6dca}=_0x11043d['data'];this[_0x404296(0x219)]['emitEvent']({'id':_0x3221f8[_0x404296(0x2be)],'data':_0x1f6dca}),this[_0x404296(0x48f)][_0x404296(0x1ed)](new _0x558c66['WorkbookEditablePermission'](_0x4822ef)['id'],!0x1),this['_collaborationSessionService'][_0x404296(0x315)](_0x4822ef);});};(0x0,_0x5eae7e[_0x1d3077(0x329)])(this[_0x1d3077(0x2d1)][_0x1d3077(0x22d)](_0x2fb456[_0x1d3077(0x217)][_0x1d3077(0x4ce)]),this[_0x1d3077(0x2d1)][_0x1d3077(0x22d)](_0x2fb456[_0x1d3077(0x217)][_0x1d3077(0x2dc)]))[_0x1d3077(0x3d3)]((0x0,_0x41c5dd[_0x1d3077(0x39d)])(_0x7c9121=>_0x7c9121[_0x1d3077(0x3bc)][_0x1d3077(0x246)]()),(0x0,_0x41c5dd[_0x1d3077(0x3c6)])(_0x4dc891=>!(0x0,_0x2fb456[_0x1d3077(0x39f)])(_0x4dc891)),(0x0,_0x41c5dd[_0x1d3077(0x498)])(this[_0x1d3077(0x483)]))['subscribe'](_0x4d1d82=>{_0x3c97f3(_0x4d1d82);});}[_0x500950(0x2d7)](){const _0x47baa2=_0x500950;let _0x1a83d6=async _0x40aa4a=>{const _0x4429f5=_0x1951;let _0x12d6d8=await this[_0x4429f5(0x24e)][_0x4429f5(0x4c2)](_0x40aa4a),_0x58e4fd=this[_0x4429f5(0x4ac)][_0x4429f5(0x2bd)](_0x558c66[_0x4429f5(0x3fc)]);_0x12d6d8['event$'][_0x4429f5(0x3d3)]((0x0,_0x41c5dd[_0x4429f5(0x3c6)])(_0x3cec85=>_0x3cec85[_0x4429f5(0x49e)]===_0x35ef0a[_0x4429f5(0x21e)]['UPDATE_PERMISSION_OBJ']),(0x0,_0x41c5dd[_0x4429f5(0x498)])(this['dispose$']))[_0x4429f5(0x495)](_0x2ce3f0=>{const _0x3a7dd8=_0x4429f5;let {objectId:_0x4383be}=_0x2ce3f0[_0x3a7dd8(0x1f0)];_0x4383be===_0x40aa4a?_0x58e4fd['initWorkbookPermissionChange'](_0x40aa4a):_0x58e4fd['refreshPermission'](_0x40aa4a,_0x4383be);});};(0x0,_0x5eae7e['merge'])(this['_univerInstanceService'][_0x47baa2(0x22d)](_0x2fb456['UniverInstanceType'][_0x47baa2(0x4ce)]))[_0x47baa2(0x3d3)]((0x0,_0x41c5dd[_0x47baa2(0x39d)])(_0x550eb5=>_0x550eb5[_0x47baa2(0x3bc)]['getUnitId']()),(0x0,_0x41c5dd[_0x47baa2(0x3c6)])(_0x2511a8=>!(0x0,_0x2fb456[_0x47baa2(0x39f)])(_0x2511a8)),(0x0,_0x41c5dd['takeUntil'])(this['dispose$']))[_0x47baa2(0x495)](_0x13d6f5=>{_0x1a83d6(_0x13d6f5);});}};_0x2fe85b=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x1,_0x2fb456[_0x500950(0x285)]),_0x42aff9(0x2,_0x2fb456[_0x500950(0x3db)]),_0x42aff9(0x3,(0x0,_0x2fb456['Inject'])(_0x1c0f7b)),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da))],_0x2fe85b);let _0x349b8a=class{constructor(_0x3842ac,_0x4665df){const _0x25c093=_0x500950;this[_0x25c093(0x25a)]=_0x3842ac,this[_0x25c093(0x3a5)]=_0x4665df;}async[_0x500950(0x225)](_0x470844,_0xa33fc){const _0x2ee0b8=_0x500950;var _0x5f34e1;let {unitID:_0x123961,type:_0x4074a9,revision:_0x202f21=0x0}=_0xa33fc,_0x543d8c=this[_0x2ee0b8(0x48a)]()+'/'+_0x4074a9+_0x2ee0b8(0x331)+_0x123961+_0x2ee0b8(0x248)+_0x202f21,_0x1c9fca=(await this[_0x2ee0b8(0x3a5)][_0x2ee0b8(0x2bd)](_0x543d8c))[_0x2ee0b8(0x401)],_0x2daf52=(_0x5f34e1=_0x1c9fca['snapshot'])==null?void 0x0:_0x5f34e1[_0x2ee0b8(0x507)];if(_0x2daf52){let _0x33e0c7=_0x2daf52==null?void 0x0:_0x2daf52['originalMeta'];_0x2daf52[_0x2ee0b8(0x4b3)]=_0x35ef0a[_0x2ee0b8(0x459)][_0x2ee0b8(0x4f5)]((0x0,_0x35ef0a[_0x2ee0b8(0x3b3)])(_0x33e0c7)),Object[_0x2ee0b8(0x343)](_0x2daf52[_0x2ee0b8(0x341)])[_0x2ee0b8(0x36d)](([,_0x4e965d])=>{const _0x5317b8=_0x2ee0b8;let _0x124348=_0x4e965d['originalMeta'];_0x4e965d['originalMeta']=_0x35ef0a['textEncoder'][_0x5317b8(0x4f5)]((0x0,_0x35ef0a['b64DecodeUnicode'])(_0x124348));});}return _0x1c9fca;}async[_0x500950(0x510)](_0x222e96,_0x2e22da){const _0x146ba6=_0x500950;let {unitID:_0x337449,type:_0x578467,blockID:_0x355a35}=_0x2e22da,_0x449461=this[_0x146ba6(0x29c)]()+'/'+_0x578467+_0x146ba6(0x331)+_0x337449+'/block/'+_0x355a35;return(await this[_0x146ba6(0x3a5)][_0x146ba6(0x2bd)](_0x449461))[_0x146ba6(0x401)];}async[_0x500950(0x24d)](_0x2acfa3,_0x453da7){const _0x13435b=_0x500950;let {unitID:_0x498cd9,type:_0x5aa42b,blockID:_0x46b05b}=_0x453da7,_0x5679ea=this[_0x13435b(0x29c)]()+_0x13435b(0x4b0)+_0x5aa42b+_0x13435b(0x331)+_0x498cd9+'/block/'+_0x46b05b;return(await this[_0x13435b(0x3a5)]['get'](_0x5679ea))[_0x13435b(0x401)];}async['fetchMissingChangesets'](_0x9ace81,_0x4378ce){const _0x5418b8=_0x500950;let {unitID:_0x4904dc,type:_0x4ba5d1,from:_0xece231,to:_0xae5192}=_0x4378ce,_0x1890b9=this[_0x5418b8(0x29c)]()+'/'+_0x4ba5d1+_0x5418b8(0x331)+_0x4904dc+_0x5418b8(0x2e9)+_0xece231+_0x5418b8(0x4e0)+_0xae5192;return(await this[_0x5418b8(0x3a5)][_0x5418b8(0x2bd)](_0x1890b9))[_0x5418b8(0x401)];}['getSnapshotAPIPath'](){const _0x3b0a8b=_0x500950;var _0x37905a;return(_0x37905a=this['_configService'][_0x3b0a8b(0x2a6)]('SNAPSHOT_URL_KEY'))==null?this[_0x3b0a8b(0x29c)]():_0x37905a;}[_0x500950(0x29c)](){const _0x3f012b=_0x500950;var _0x3194c2;let _0x5459d9=this[_0x3f012b(0x25a)][_0x3f012b(0x2a6)](_0x5445c5);return(_0x3194c2=_0x5459d9==null?void 0x0:_0x5459d9[_0x3f012b(0x2a0)])==null?'/universer-api/snapshot':_0x3194c2;}async[_0x500950(0x309)](_0x13842b,_0x6ffb52){const _0x36a596=_0x500950;let _0x446084=_0x36a596(0x4dd)+_0x6ffb52[_0x36a596(0x431)]+_0x36a596(0x331)+_0x6ffb52['unitID']+_0x36a596(0x43c);return(await this[_0x36a596(0x3a5)][_0x36a596(0x2bd)](_0x446084,{'params':{'resourceId':JSON['stringify'](_0x6ffb52[_0x36a596(0x268)])}}))[_0x36a596(0x401)];}['saveSnapshot'](){const _0x1acf8b=_0x500950;throw Error(_0x1acf8b(0x3d5));}['updateSnapshot'](){const _0x2e660b=_0x500950;throw Error(_0x2e660b(0x3d5));}[_0x500950(0x297)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){const _0x4522f8=_0x500950;throw Error(_0x4522f8(0x3d5));}[_0x500950(0x244)](){const _0x47692d=_0x500950;throw Error(_0x47692d(0x3d5));}[_0x500950(0x317)](){const _0x42f38f=_0x500950;throw Error(_0x42f38f(0x3d5));}};_0x349b8a=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x25f3fb[_0x500950(0x485)]))],_0x349b8a);let _0x22469f=class extends _0x2fb456[_0x500950(0x29b)]{constructor(_0x44b825,_0x18077b,_0x15a513,_0x49deab,_0x34a1f4){const _0x32f193=_0x500950;super(_0x44b825,_0x18077b,_0x15a513),this[_0x32f193(0x44b)]=_0x49deab,this['_logService']=_0x34a1f4;}['transformUndoRedo'](_0x3c0d86,_0x5de93c){const _0x87f039=_0x500950;let _0x4cee2e=this['_getUndoStack'](_0x3c0d86);if(_0x4cee2e)try{let _0x2324d3=this['_transformStack'](_0x4cee2e,_0x5de93c);this[_0x87f039(0x444)](_0x3c0d86,_0x2324d3);}catch(_0x435737){this[_0x87f039(0x40b)][_0x87f039(0x4bb)](_0x87f039(0x3e2),_0x435737),this[_0x87f039(0x22a)](_0x3c0d86);}let _0x2a4539=this['_getRedoStack'](_0x3c0d86);if(_0x2a4539)try{let _0x90158c=this[_0x87f039(0x48c)](_0x2a4539,_0x5de93c);this[_0x87f039(0x40c)](_0x3c0d86,_0x90158c);}catch(_0x4f53cc){this['_logService'][_0x87f039(0x4bb)](_0x4f53cc),this[_0x87f039(0x394)](_0x3c0d86);}}[_0x500950(0x22a)](_0x180ace){const _0x5a2539=_0x500950;let _0x55e17b=this[_0x5a2539(0x239)](_0x180ace);_0x55e17b&&(_0x55e17b[_0x5a2539(0x301)]=0x0,this[_0x5a2539(0x36e)]());}[_0x500950(0x394)](_0x5ac831){const _0x3e10f2=_0x500950;let _0x265251=this[_0x3e10f2(0x42e)](_0x5ac831);_0x265251&&(_0x265251['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x163a90,_0x43794e){const _0x5de464=_0x500950;this['_undoStacks'][_0x5de464(0x2f9)](_0x163a90,_0x43794e),this[_0x5de464(0x36e)]();}['_substituteRedoStack'](_0x34e1f3,_0x2fe86f){const _0x42203b=_0x500950;this[_0x42203b(0x372)]['set'](_0x34e1f3,_0x2fe86f),this[_0x42203b(0x36e)]();}['_transformStack'](_0x482a6d,_0x291087){const _0x3d2ee1=_0x500950;let _0x18ef77=[],_0x153400=_0x291087,_0x322083=_0x291087;for(let _0x4c9e67=_0x482a6d['length']-0x1;_0x4c9e67>=0x0;_0x4c9e67--){let {unitID:_0x2e9c7c,undoMutations:_0x5e0739,redoMutations:_0x453ab8}=_0x482a6d[_0x4c9e67],_0x171a82=this[_0x3d2ee1(0x44b)][_0x3d2ee1(0x439)](_0x153400,_0x5e0739),_0x3ea4ad=this[_0x3d2ee1(0x44b)][_0x3d2ee1(0x439)](_0x322083,_0x453ab8);if((0x0,_0x35ef0a[_0x3d2ee1(0x484)])(_0x171a82)||(0x0,_0x35ef0a['isTransformMutationsWithChangesetFailure'])(_0x3ea4ad)){this['_logService'][_0x3d2ee1(0x4bb)](_0x3d2ee1(0x3e2),_0x3d2ee1(0x40a),_0x171a82,_0x3ea4ad);break;}_0x153400=_0x171a82['c1Prime'],_0x322083=_0x3ea4ad[_0x3d2ee1(0x30b)],_0x18ef77['push']({'unitID':_0x2e9c7c,'undoMutations':_0x171a82['m2Prime'],'redoMutations':_0x3ea4ad[_0x3d2ee1(0x3dc)]});}return _0x18ef77[_0x3d2ee1(0x46d)]();}};_0x22469f=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456[_0x500950(0x285)]),_0x42aff9(0x1,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x2,_0x2fb456[_0x500950(0x2d2)]),_0x42aff9(0x3,_0x35ef0a[_0x500950(0x381)]),_0x42aff9(0x4,_0x2fb456[_0x500950(0x2ab)])],_0x22469f);let _0x2e81a6=class extends _0x2fb456['Plugin']{constructor(_0x3dce49={},_0xf37f27,_0x16c048,_0x4ba048){const _0x42acff=_0x500950;super(),this['_config']=_0x3dce49,this['_logService']=_0xf37f27,this[_0x42acff(0x4ac)]=_0x16c048,this[_0x42acff(0x25a)]=_0x4ba048;let {..._0x5a1ffe}=(0x0,_0x2fb456[_0x42acff(0x329)])({},_0x465697,_0x3dce49);if(!_0x5a1ffe[_0x42acff(0x399)])throw Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x42acff(0x39c)]=_0x5a1ffe,this[_0x42acff(0x25a)][_0x42acff(0x2da)](_0x5445c5,_0x5a1ffe);}[_0x500950(0x209)](){const _0xef1185=_0x500950;this[_0xef1185(0x4da)](),this[_0xef1185(0x3b2)]();}[_0x500950(0x4da)](){const _0x1177f0=_0x500950;var _0x1fc719,_0x19d8e1;this[_0x1177f0(0x4ac)][_0x1177f0(0x50a)](_0x2fb456['IUndoRedoService'])&&this[_0x1177f0(0x40b)][_0x1177f0(0x4bb)](_0x1177f0(0x3fa),_0x1177f0(0x42b));let _0x16b4b6=(0x0,_0x2fb456['mergeOverrideWithDependencies'])([[_0x2fb456[_0x1177f0(0x22e)],{'useClass':_0x22469f}],[_0x1c0f7b],[_0xe1c77b],[_0x324b61],[_0x59404f],[_0x33e4c0],[_0x732d06],[_0x2fe85b],[_0x4cb1da],[_0x47d8bf],[_0xdc50bf,{'useClass':this[_0x1177f0(0x39c)][_0x1177f0(0x399)]}],[_0x35ef0a['ISnapshotServerService'],{'useClass':_0x349b8a}],[_0x2fb456[_0x1177f0(0x30f)],{'useClass':_0x20ee4d}],[_0x4f2ba2[_0x1177f0(0x4ae)],{'useClass':_0x373cd0}],[_0x2fb456['IMentionIOService'],{'useClass':_0x33dc04}],[_0x319e42],[_0x3a9542]],(_0x1fc719=this['_config'])==null?void 0x0:_0x1fc719[_0x1177f0(0x471)]);if(!((_0x19d8e1=this[_0x1177f0(0x39c)])!=null&&_0x19d8e1[_0x1177f0(0x1e7)])){let _0x2a421f=_0x16b4b6[_0x1177f0(0x258)](([_0x32c468])=>_0x32c468===_0x129fb8);_0x2a421f!==-0x1&&_0x16b4b6[_0x1177f0(0x458)](_0x2a421f,0x1);}(0x0,_0x2fb456[_0x1177f0(0x47f)])(this[_0x1177f0(0x4ac)],_0x16b4b6);}[_0x500950(0x3b2)](){const _0xd3fb2a=_0x500950;var _0x5e5662,_0x11b52a;if(this[_0xd3fb2a(0x4ac)]['get'](_0x25f3fb[_0xd3fb2a(0x485)])[_0xd3fb2a(0x303)]({'priority':0x14,'interceptor':(0x0,_0x25f3fb[_0xd3fb2a(0x23f)])({'maxParallel':0x6})}),!((_0x5e5662=this[_0xd3fb2a(0x39c)])!=null&&_0x5e5662[_0xd3fb2a(0x469)])){var _0x4c77e3;(_0x4c77e3=this[_0xd3fb2a(0x4ac)][_0xd3fb2a(0x2bd)](_0x3d2740,_0x2fb456[_0xd3fb2a(0x4f3)][_0xd3fb2a(0x2c9)]))==null||_0x4c77e3[_0xd3fb2a(0x3b6)]();}(_0x11b52a=this[_0xd3fb2a(0x39c)])!=null&&_0x11b52a['enableAuthServer']&&(0x0,_0x2fb456[_0xd3fb2a(0x47c)])(this['_injector'],[[_0x59404f]]),(0x0,_0x2fb456['touchDependencies'])(this[_0xd3fb2a(0x4ac)],[[_0x33e4c0],[_0x319e42],[_0x2fe85b]]);}};_0x3dd6fc(_0x2e81a6,_0x500950(0x4e4),_0x500950(0x2b8)),_0x3dd6fc(_0x2e81a6,_0x500950(0x26e),_0x443ffe),_0x3dd6fc(_0x2e81a6,'version',_0x46ce6e),_0x2e81a6=_0x1c7ac3([(0x0,_0x2fb456['DependentOn'])(_0x54ba21[_0x500950(0x446)],_0x35ef0a['UniverCollaborationPlugin'],_0x25f3fb[_0x500950(0x501)]),_0x42aff9(0x1,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x2,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x3,_0x2fb456[_0x500950(0x26a)])],_0x2e81a6),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x50e),{'enumerable':!0x0,'get':function(){return _0x20ee4d;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x37a),{'enumerable':!0x0,'get':function(){return _0x555165;}}),Object['defineProperty'](_0x1d11dd,'AwaitingWithPendingState',{'enumerable':!0x0,'get':function(){return _0x22a444;}}),_0x1d11dd[_0x500950(0x321)]=_0x5445c5,Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x3f9),{'enumerable':!0x0,'get':function(){return _0x319e42;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x269),{'enumerable':!0x0,'get':function(){return _0x575020;}}),Object['defineProperty'](_0x1d11dd,_0x500950(0x318),{'enumerable':!0x0,'get':function(){return _0x373cd0;}}),Object[_0x500950(0x28f)](_0x1d11dd,'CollaborationSession',{'enumerable':!0x0,'get':function(){return _0x4e1b56;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x411),{'enumerable':!0x0,'get':function(){return _0x1c0f7b;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x2ec),{'enumerable':!0x0,'get':function(){return _0x5700f0;}}),_0x1d11dd[_0x500950(0x2cf)]=_0x243dc1,_0x1d11dd['CollaborationUIEventId']=_0x3221f8,_0x1d11dd[_0x500950(0x2e4)]=_0x4cb1da,Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x3a6),{'enumerable':!0x0,'get':function(){return _0x22469f;}}),_0x1d11dd[_0x500950(0x21f)]=_0x732d06,Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x472),{'enumerable':!0x0,'get':function(){return _0xf626e2;}}),_0x1d11dd['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x551362,_0x1d11dd[_0x500950(0x327)]=_0x500950(0x4f4),_0x1d11dd['DEFAULT_WS_SESSION_TICKET_URL']=_0x500950(0x392),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x3fb),{'enumerable':!0x0,'get':function(){return _0x47d8bf;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x22c),{'enumerable':!0x0,'get':function(){return _0x2f2fd7;}}),Object[_0x500950(0x28f)](_0x1d11dd,'FetchingMissState',{'enumerable':!0x0,'get':function(){return _0x1a096a;}}),_0x1d11dd['HEARTBEAT_INTERVAL_KEY']=_0x500950(0x461),_0x1d11dd[_0x500950(0x3d9)]=_0x500950(0x3d2),_0x1d11dd[_0x500950(0x1e9)]=_0xdc50bf,_0x1d11dd[_0x500950(0x25d)]=_0x3d2740,_0x1d11dd[_0x500950(0x4b8)]=_0x1efe11,_0x1d11dd[_0x500950(0x2c3)]=_0x129fb8,_0x1d11dd[_0x500950(0x242)]=0x3e8,_0x1d11dd[_0x500950(0x33f)]='LOCAL_CACHE_INTERVAL',Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x36f),{'enumerable':!0x0,'get':function(){return _0xe1c77b;}}),Object['defineProperty'](_0x1d11dd,_0x500950(0x28c),{'enumerable':!0x0,'get':function(){return _0x33dc04;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x288),{'enumerable':!0x0,'get':function(){return _0x457aa2;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x440),{'enumerable':!0x0,'get':function(){return _0x59f2bd;}}),_0x1d11dd[_0x500950(0x4d8)]=_0x500950(0x3b9),_0x1d11dd[_0x500950(0x4c4)]='RETRY_CONNECTING_MAX_COUNT',_0x1d11dd[_0x500950(0x355)]=_0x486856,Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x3c1),{'enumerable':!0x0,'get':function(){return _0x19f82b;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x42d),{'enumerable':!0x0,'get':function(){return _0x324b61;}}),Object['defineProperty'](_0x1d11dd,_0x500950(0x3cb),{'enumerable':!0x0,'get':function(){return _0x349b8a;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x500),{'enumerable':!0x0,'get':function(){return _0x421172;}}),_0x1d11dd[_0x500950(0x27e)]=_0x3886c4,Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x353),{'enumerable':!0x0,'get':function(){return _0x2e81a6;}}),_0x1d11dd[_0x500950(0x4ed)]=_0x5c7426,_0x1d11dd[_0x500950(0x264)]=_0x1bd9d1,_0x1d11dd['serializeCombRequest']=_0x5e22c3;}));
|
|
1
|
+
function _0x3817(_0x4bf68c,_0x2f5501){_0x4bf68c=_0x4bf68c-0x17e;const _0x4e0160=_0x4e01();let _0x38173b=_0x4e0160[_0x4bf68c];return _0x38173b;}function _0x4e01(){const _0x1a212c=['snapshot','[PendingState]:\x20received\x20rejection.','_sendingTimer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','AwaitingState','_replaceFileID','COMPRESS_MUTATION_APPLY','onTransformRemoteChangesetByIMECache','commentUpdate$','getActiveSheet','_status$','unitId','isArray','forEach','compose','FETCH_MISSING','HELLO','_shouldReportTelemetry','fetchMiss','IPermissionService','_checkMissing','_onUserLeave','UniverProLicense','CollaborationUIEventId','_telemetryService','_handler','equals','result','_acknowledgeAwaiting','_undoStacks','6BSioIJ','_removeRoom','LocalUndoRedoService','onMutationExecutedForCollab','deserializeToCombResponse','refreshPermission','nonceLength','href','CmdRspCode','requestParams','PendingState','_timeoutTimer','SUCCUSS','_submitChangeset','onRemoteChangeset','People','startTime','getUnitType','AuthzIoHttpService','subarray','CommentService','addHandlerCallback','UniverProCollaborationClient','_commentUpdate$','enableAuthServer','ImageSourceType','HEARTBEAT','textEncoder','pauseCollaboration','not_collab','/object','positive\x20integer\x20expected,\x20got\x20','[SyncedState]:\x20received\x20acknowledgement.','IConfigService','PERMISSION_DENIED','_entityInit$','routeKey','transformStack\x20failed!','conflict','delete','entries','CollaborationSessionService','_executeRemoteChangeset','output','_onOffline','ws://127.0.0.1:8000/universer-api/comb/connect','socketService','[SyncedState]:\x20received\x20rejection.','_createInitialStateImpl','_type','_replayCachedMutations','_localeService','members','SHOULD_CLOSE_CONN','send','asObservable','_incrementRevisionNumber','HEARTBEAT_TIMEOUT_KEY','2219497nKQhwk','_socketMessageSubscription','isPermissionRej','close','UniverProtocol','POST','toString','saveChangeset','1147131LEBBOx','ImageUploadStatusType','INGEST','copyFileMeta','_toggleOffline','_onMessage','filter','loadUnit','getTypeOfUnitDisposed$','_clearHeartbeatTimer','_listenToNetworkCondition','getFocusedUnit','[PendingState]:\x20received\x20acknowledgement.','SOCKET_FAILED','/block/','PENDING','[OfflineState]:\x20received\x20rejection.','_telemetryInfo','CollaborationController','_transformAndApplyRemoteChangeset','PERSON','COMPRESS_MUTATION_SEND','cfgEnableObjInherit','IMentionIOService','originalMeta','_collaborationTimeoutTimer','packageName','_transformRemoteChangesetByIMECache','uploadFileServerUrl','_stopTelemetryCollaborationNewChangeset','getRandomValues','collaboration_new_changeset','_throwTelemetryCollaborationNewChangeset','_socket$','Quantity','LocaleService','key','_socketService','_acknowledgeAwaitingIfReady','listCollaborators','_transformIMECache','findIndex','onCommentUpdate','next','_exhaustRemoteChangesetQueue','_eventService','HTTPService','set','NOT_COLLAB','_decreaseWaiting','/allowed','find','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','enableOfflineEditing','concatMap','loadUnitOfRevision','localCacheService','onTransformRemoteChangesetByStateCache','_handlerCallback','_retryConnectingTimer','_updateState','_onRemoteRetry','AWAITING','UnitStatus','cmd','/-/object/-/batch_allowed','SetSelectionsOperation','sendChangesetTimeout','_sendHeartbeat','enableCollaboration','mapDocumentTypeToUniverInstanceType','DocCollaborationEntity','_init','BASE64','then','2196795qMsxMj','collaMsg','encrypt','CollaborationEvent','put','length','_startTelemetryCollaborationNewChangeset','getUnit','onload','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_DOC','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','enableSingleActiveInstanceLock','decrypt','_roomCreated$','/unit/','uuidv4','missingChangesets','_schedule','expected\x20Uint8Array','init','collabWebSocketUrl','DEFAULT_COLLAB_WEB_SOCKET_URL','assign','ERROR_IMAGE_TYPE','_onRecvEvent','OFFLINE','_onRemoteRejected','action','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','subUnitId','tagLength','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','JOIN_ROOM_FULL','objects','univer-pro.collaboration-client-socket-service','memberID','_onRemoteACK','registerHTTPInterceptor','csAckEvent','ReplaySubject','getValue','state$','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','_cfgEnableObjInherit','resolve','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onRemoteAck','[CollaborationState]:\x20apply\x20error!','serializeCombRequest','JOIN','getInterceptPoints','_resendTimer','m2Prime','file','socket\x20close','@univerjs/sheets','_sheetTransformSelectionsService','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','onSendChangeset','LEAVE','toPrimitive','encodeURIComponent','_imageSourceCache','slice','string','_change$','IImageIoService','snapshotServerUrl','shareReplay','univer-pro.collaboration-client.single-active-unit-service','isTransformMutationsWithChangesetSuccess','DataLoaderService','UNISCRIPT_RUN','ILogService','COMMENT_UPDATE','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','PERMISSION_REJ','_emitMembers','now','_sessionStatus$','update','isInternalEditorID','getTime','dispose$','readAsDataURL','buffer','length=','_createInitialState','synced','_onConnectionFailed','[CollaborationSession]','takeUntil','/universer-api/oidc/authpage','_unlockTransition','toDisposable','sessionStatus$','exports','reject','data','_getCtorByUniverInstanceType','userID','/universer-api/user/session-ticket','isSafeInteger','awaitingChangeset','fetch_missing','SnapshotService','_waitCount','localeService','c1Prime','_compressMutationService','_acknowledgedAwaitingRevision','resourceIDs','stringify','pipe','_socketReady','_rescheduleHeartbeat','_httpService','collaboration-client.config','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_logService','_transformStateCache','getCurrentUser','session.room-permission-denied','[UniverCollaborationClientPlugin]','_transformService','number\x20expected,\x20got\x20','getMember','BYTES_PER_ELEMENT','loadOfflineData','_queuedRemoteChangesets','connection\x20error','FileId','JOIN_ROOM_PERMISSION_DENIED','RECV','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','createCollaborator','getDeserializedSheetBlock','UniverDocs','_getRedoStack','awaiting_with_pending','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onLocalMutation','CompressMutationService','_collaborationPaused','telemetry\x20info\x20is\x20not\x20initialized','sessionStatus','&to=','_substituteRedoStack','?url=','_networkConditionService','4RUaols','@univerjs/docs','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','_initDependencies','[DataLoaderService]','close$','3654215CQEQAn','\x20-\x20','waitForRoom$','@univerjs-pro/license','joinRsp','signUrlServerUrl','transformSelections','min','focused$','[OfflineState]:\x20received\x20acknowledgement.','UniverNetworkPlugin','loadDoc','_state$','online$','method','CommandType','fromCollab','LIVESHARE_REQUEST_HOST','updateCursorEvent','_clearScheduledTask','code','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_updateStatus','fetching\x20missing\x20changesets\x20from\x20','debug','title','_clearLocalCache','socket\x20open.','IDLE','batchAllowed','getCurrentRevOfUnit','_getDownloadEndpointURL',',\x20got\x20','removeMember','LIVESHARE_FETCH_OPERATIONS','[FetchMissState]','size','getCfgEnableObjInherit','Disposable','requireSession','_changesetReqId','_clearCollaborationTimeoutTimer','default','override','isTransformMutationsWithChangesetFailure','objectType','onMissedChangesetFetched','@univerjs/core','_undoRedoService','save\x20fail\x20reason\x20is\x20','_remoteChangesetQueue','append','IAuthzIoService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','baseRev','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','&source=','createInstance','_registerDependencies','OTHER_CLIENTS_EDITING','_doCreateSocket','_fetchMissChangesets','get','/resources','merge','headers','SheetCollaborationEntity','unit','sort','SYNCED','commentUpdateEvent','UniverInstanceType','USERS_ENTER','error$','LIVESHARE_NEW_HOST','prototype','_onFetchMissResult','fetchThroughInterceptors','UPDATE_PERMISSION_OBJ','16265160yCwFvX','?size=','_snapshotService','_transformRemoteChangesetByStateCache','target','getWorkbookSelections','_initMergeInterceptor','mutations','onRemoteRej','getMemberID','fetchMissingChangesets','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getUnitId','_entities','/universer-api/file/{fileID}/sign-url','UNIVER_COLLABORATION_CLIENT_PLUGIN','deleteCollaborator','CollaborationSession','clear','_snapshotServerService','_transformUndoredo','Optional','CollaborationEntity','updateOfflineData','transformUndoRedo','replace','\x0aCurrent:\x20','_getSendChangesetTimeout','unitInfo$','_applyRemoteChangeset','pending','_pendingMutations','readyForCollab','_userManagerService','_HTTPService','parseProtocolChangeset','ICollaborationSocketService','unit-cache-','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_singleActiveUnitService','_getAPIPrefixPath','responseType','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getCurrentRevision','message$','BehaviorSubject','CombCmd','CHANGESET_ACK','_initRequestHeader','_maxTotalRetryTimeout','univer-pro.collaboration-client.network-condition.service','post','byteLength','_onConnectionOpen','unknown','AwaitingWithPendingState','getImageSourceCache','SNAPSHOT_URL_KEY','_onConflict','objectActions','_handleRemoteChangesets','add','onStateChange','UNIVER_SHEET','/new_changes','HEARTBEAT_TIMEOUT','JOIN_ROOM_NOT_EXISTS','submit\x20changeset\x20error!','ITransformService','UPDATE_CURSOR','rxjs','session.room-not-exists','toHex','_members$','UUID','/-/object/list','string\x20expected','SessionStatus','number','_univerInstanceService','location','_collaborationSessionService','closeSession','_clearRetryConnectingTimer','4625960CcnzJN','from','_toggleOnline','FAIL','url','Tools','floor','_waitForHeartbeatResponse','session.room-cnt-exceeds','_transformSelections','/collaborator','OTHER_CLIENT_EDITING','has','getConfig','_updateLocalCache','eventID','symbol','resend','selections','fromHex','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','status','EmptyMutationInfo','IUndoRedoService','unsubscribe','updatePermissionPoint','loginUrlKey','rev','UniverNetwork','LIVESHARE_OPERATION','ThresholdInterceptorFactory','crypto.getRandomValues\x20must\x20be\x20defined','[CollaborationEntity]','create','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','onMissingChangesets','_roomMembers','0.22.0','/universer-api/authz','ISingleActiveUnitService','DisposableCollection','_createHandler','ITelemetryService','list','IUniverInstanceService','NO_OTHER_CLIENTS_EDITING','MemberService','\x20to\x20','_sendHeartbeatTimer','ErrorCode','__splitChunk__','_instanceService','/universer-api/comb','_awaitingChangeset','@univerjs-pro/collaboration','/fetchmissing?from=','_getSignURL','setCfgEnableObjInherit','HEARTBEAT_INTERVAL','ISocketService','_syncEditingCollabCursor','_showConflictNotification','saveImage','sheets','UniverLicensePlugin','\x20in\x20_schedule.','getSheetBlock','Uint8Array','Wrong\x20sbox\x20length','DEFAULT_WS_SESSION_TICKET_URL','newCsEvent','encode','_getUndoStack','awaiting','RETRY_CONNECTING_MAX_COUNT','_state','/universer-api/snapshot','_injector','splice','_permissionService','getUnitOnRev','Inject','reqId','onRemoteRetry','GLOBAL_ROOMS_CNT_EXCEEDS','auth.needGotoLoginAlert','authzUrl','resolveWithBasePath','complete','UniverCollaborationClientPlugin','leaveEvent','getGlobalObject','defineProperty','cipher\x20output\x20not\x20supported','Error\x20on\x20receiving\x20event','getUnitStatus$','_getAPIPrefix','_collaborationUIEventService','createIdentifier','session','getLatestCsReqIdBySid','UniverProCollaboration','LIVESHARE_TERMINATE','onTransformIME','RevisionService','sequenceExecute','_unitID','getTypeOfUnitAdded$','getCollabEntity','capture','setWaitCount','_memberService','getOwnPropertyDescriptor','indexOf','_localCacheService','parse','CHANGESET_REJ','textRanges','CollaborationSocketService','_lockTransition','@univerjs/telemetry','executeCommand','registerDependencies','[OfflineState]:\x20received\x20changeset.','CHANGESET_SHOULD_RETRY','object','firstValueFrom','nonce','reverse','shouldCloseConn','isTransformChangesetsSuccess','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','members$','onlyLocal','setCurrentUser','UniverDrawing','reconnect','_isEchoedAwaitingChangeset','ONLINE','onSyncEditingCollabCursor','_candidateSocket','2ghFEzY','_tryEnsureSocket','includes','interceptor','WorkbookEditablePermission','/universer-api/uniscript','subject','disposeWithMe','collabSubmitChangesetUrl','hostname','_collabSessionService','error','_clearRedo','disablePadding','failed\x20to\x20apply\x20missed\x20changesets!','UniverCore','_event$','reduce','_scheduleCollaborationTimeoutTimer','open$','change$','sid','editing\x20status\x20changed\x20to','_configService','RxDisposable','_members','collaboratorID','createSocket','updateCollaborator','dispose','PSEUDO_FETCH_MISSING_RESULT','UnitEmbedded','MSG_FOR_ERROR','status$','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','updatePermissionObjEvent','AAD','FETCH_MISS','apply','onTransformState','UserManagerService','_config','SOCKET_FAILED_RETRY','ERROR_EXCEED_SIZE','body','/role','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','_isPermissionRej','[CollaborationSessionService]','max','editingUnit','DEFAULT_FILE_NAME','updateMember','UniverCollaborationPlugin','_commandService','@univerjs-pro/collaboration-client','onLocalMutation','Univer','_changesetSessionId','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','uniscriptRunEvent','AWAITING_WITH_PENDING','event$','_transformStack','_substituteUndoStack','unitId\x20is\x20not\x20found','649678jlGtUZ','_revisionService','getRoom','DependentOn','state','take','map','revision','transformChangesets','ERROR_IMAGE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','touchDependencies','_unitInfo$','fromCharCode','getSnapshotAPIPath','CollaborativeUndoRedoService','setShowComponents','amd','IContextService','_sessions','_retryCount','\x20of\x20length\x20','push','SheetTransformSelectionsService','_disableEditing','/object/','deepClone','toggleOffline','JSONX','b64DecodeUnicode','listRoles','toggleOnline','/universer-api/stream/file/upload','liveShareOperation','getImage','_onJoinRoomEvent','actions','delay','range','RichTextEditingMutation','duration','_redoStacks','saveSnapshot','setConfig','NEW_CHANGESETS','USERS_LEAVE','JOINING','stopTime','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','CLOSE_ROOM','[CollaborationSessionService]:\x20socket\x20error','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','INetworkConditionService','_socket','SUBMIT_CHANGESET','function','withCredentials','objectID','_initUnitPermissionChange','{fileID}','call','JOIN_ROOM_FAILED','params','emitEvent','DRAWING_IMAGE_ALLOW_IMAGE_LIST','_clearTimeoutTimer','incrementRevOfUnit','_initCloseConn','type','@univerjs/protocol','loadSheet','subscribe','getCollabEntity$','getAllMembers','socket$','_resendTimeout','[CollaborationUndoRedoService]','_transitionLocked','byteOffset','ISnapshotServerService','onTransformSelections','_getLoginPath','unitID','_scheduleCompleteTimestamp','ICommandService','constructor','src','every','transformMutationsWithChangeset','FetchingMissState','name','startsWith','getDrawingImageAllowSize','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CONFLICT','offline','Injector','_startCollaboration','_sender','Subject','OfflineState','_tryReconnect','version','operators','MUTATION','/rev/','LOCAL_CACHE_INTERVAL','_resendWithTimeout','appendMutation','/universer-api/snapshot/','[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.'];_0x4e01=function(){return _0x1a212c;};return _0x4e01();}(function(_0x25cc60,_0x138838){const _0x35ccb3=_0x3817,_0xf39741=_0x25cc60();while(!![]){try{const _0x516c4e=-parseInt(_0x35ccb3(0x32d))/0x1*(-parseInt(_0x35ccb3(0x36f))/0x2)+parseInt(_0x35ccb3(0x489))/0x3+-parseInt(_0x35ccb3(0x1f7))/0x4*(-parseInt(_0x35ccb3(0x1fd))/0x5)+parseInt(_0x35ccb3(0x3fc))/0x6*(-parseInt(_0x35ccb3(0x436))/0x7)+parseInt(_0x35ccb3(0x2a0))/0x8+-parseInt(_0x35ccb3(0x43e))/0x9+-parseInt(_0x35ccb3(0x24c))/0xa;if(_0x516c4e===_0x138838)break;else _0xf39741['push'](_0xf39741['shift']());}catch(_0x552c16){_0xf39741['push'](_0xf39741['shift']());}}}(_0x4e01,0x975d1),function(_0x3800bd,_0x25b9f4){const _0x5a035e=_0x3817;typeof exports==_0x5a035e(0x31d)&&typeof module<'u'?_0x25b9f4(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/protocol`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define==_0x5a035e(0x3a6)&&define[_0x5a035e(0x380)]?define([_0x5a035e(0x1c1),_0x5a035e(0x2d6),_0x5a035e(0x22c),_0x5a035e(0x1f8),_0x5a035e(0x198),_0x5a035e(0x292),_0x5a035e(0x3b4),_0x5a035e(0x318),'rxjs/operators','@univerjs/network',_0x5a035e(0x200),'@univerjs/drawing'],_0x25b9f4):(_0x3800bd=typeof globalThis<'u'?globalThis:_0x3800bd||self,_0x25b9f4(_0x3800bd[_0x5a035e(0x412)]={},_0x3800bd[_0x5a035e(0x305)],_0x3800bd[_0x5a035e(0x33c)],_0x3800bd[_0x5a035e(0x1ea)],_0x3800bd['UniverSheets'],_0x3800bd['rxjs'],_0x3800bd[_0x5a035e(0x43a)],_0x3800bd['UniverTelemetry'],_0x3800bd[_0x5a035e(0x292)][_0x5a035e(0x3d6)],_0x3800bd[_0x5a035e(0x2bc)],_0x3800bd[_0x5a035e(0x3f4)],_0x3800bd[_0x5a035e(0x327)]));}(this,function(_0x57bbdc,_0x25767b,_0x38d3af,_0x545c79,_0x4606ad,_0x282118,_0x3eeea2,_0x5bc536,_0xecc1b5,_0x41d52c,_0x4e563e,_0x295307){const _0x124287=_0x3817;Object['defineProperty'](_0x57bbdc,Symbol['toStringTag'],{'value':'Module'});let _0x4e50db=_0x124287(0x429),_0x472429=0x4e20;function _0x59413a(_0x272547){const _0x436c6a=_0x124287;return JSON[_0x436c6a(0x1d1)](_0x272547)[_0x436c6a(0x48e)];}function _0x3d221a(_0x179d43){'@babel/helpers - typeof';const _0x5933a9=_0x124287;return _0x3d221a=typeof Symbol==_0x5933a9(0x3a6)&&typeof Symbol['iterator']==_0x5933a9(0x2b0)?function(_0x1ea1d3){return typeof _0x1ea1d3;}:function(_0x199065){const _0x203232=_0x5933a9;return _0x199065&&typeof Symbol==_0x203232(0x3a6)&&_0x199065[_0x203232(0x3c4)]===Symbol&&_0x199065!==Symbol[_0x203232(0x248)]?'symbol':typeof _0x199065;},_0x3d221a(_0x179d43);}function _0x3f6656(_0x185534,_0x3ac953){const _0x3e85ad=_0x124287;if(_0x3d221a(_0x185534)!=_0x3e85ad(0x31d)||!_0x185534)return _0x185534;var _0x526469=_0x185534[Symbol[_0x3e85ad(0x19d)]];if(_0x526469!==void 0x0){var _0xfba06=_0x526469['call'](_0x185534,_0x3ac953||_0x3e85ad(0x227));if(_0x3d221a(_0xfba06)!='object')return _0xfba06;throw TypeError(_0x3e85ad(0x212));}return(_0x3ac953===_0x3e85ad(0x1a1)?String:Number)(_0x185534);}function _0x51d5c7(_0x14d067){const _0x1b419c=_0x124287;var _0x195da2=_0x3f6656(_0x14d067,_0x1b419c(0x1a1));return _0x3d221a(_0x195da2)=='symbol'?_0x195da2:_0x195da2+'';}function _0x50ece2(_0x3675d2,_0x5afb34,_0x2f549f){const _0x3aa7c0=_0x124287;return(_0x5afb34=_0x51d5c7(_0x5afb34))in _0x3675d2?Object[_0x3aa7c0(0x2fc)](_0x3675d2,_0x5afb34,{'value':_0x2f549f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3675d2[_0x5afb34]=_0x2f549f,_0x3675d2;}let _0x5d149d=function(_0x809ed5){const _0x5903c4=_0x124287;return _0x809ed5['OTHER_CLIENT_EDITING']=_0x5903c4(0x2ab),_0x809ed5[_0x5903c4(0x41e)]='PERMISSION_DENIED',_0x809ed5[_0x5903c4(0x3cd)]=_0x5903c4(0x3cd),_0x809ed5[_0x5903c4(0x3a0)]=_0x5903c4(0x3a0),_0x809ed5[_0x5903c4(0x3ac)]=_0x5903c4(0x3ac),_0x809ed5[_0x5903c4(0x357)]=_0x5903c4(0x357),_0x809ed5['SOCKET_FAILED']=_0x5903c4(0x44b),_0x809ed5['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x809ed5;}({});var _0x3b3560=class{constructor(){const _0x22bdae=_0x124287;_0x50ece2(this,'_event$',new _0x282118[(_0x22bdae(0x3d2))]()),_0x50ece2(this,_0x22bdae(0x36b),this['_event$'][_0x22bdae(0x433)]());}['emitEvent'](_0x59bb77){const _0x14eeca=_0x124287;this[_0x14eeca(0x33d)]['next'](_0x59bb77);}},_0x3b9fd8=class{constructor(){const _0x17e3db=_0x124287;_0x50ece2(this,_0x17e3db(0x413),new _0x282118[(_0x17e3db(0x3d2))]()),_0x50ece2(this,_0x17e3db(0x3e6),this[_0x17e3db(0x413)][_0x17e3db(0x433)]());}[_0x124287(0x468)](_0x203dd1){const _0x1c8602=_0x124287;this[_0x1c8602(0x413)][_0x1c8602(0x469)](_0x203dd1);}};function _0x22bf51(_0x37e5e5,_0x2470bc){return function(_0x34c6d7,_0x19292c){_0x2470bc(_0x34c6d7,_0x19292c,_0x37e5e5);};}function _0x131186(_0x3824a5,_0x1c3b07,_0x111418,_0x15a19c){const _0x3316ec=_0x124287;var _0x2aa971=arguments[_0x3316ec(0x48e)],_0x3cb356=_0x2aa971<0x3?_0x1c3b07:_0x15a19c===null?_0x15a19c=Object[_0x3316ec(0x310)](_0x1c3b07,_0x111418):_0x15a19c,_0x51ac7d;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x3316ec(0x3a6))_0x3cb356=Reflect['decorate'](_0x3824a5,_0x1c3b07,_0x111418,_0x15a19c);else{for(var _0x30a1e4=_0x3824a5[_0x3316ec(0x48e)]-0x1;_0x30a1e4>=0x0;_0x30a1e4--)(_0x51ac7d=_0x3824a5[_0x30a1e4])&&(_0x3cb356=(_0x2aa971<0x3?_0x51ac7d(_0x3cb356):_0x2aa971>0x3?_0x51ac7d(_0x1c3b07,_0x111418,_0x3cb356):_0x51ac7d(_0x1c3b07,_0x111418))||_0x3cb356);}return _0x2aa971>0x3&&_0x3cb356&&Object['defineProperty'](_0x1c3b07,_0x111418,_0x3cb356),_0x3cb356;}let _0x59032e=class extends _0x38d3af[_0x124287(0x223)]{constructor(_0x1229d1,_0x12a1fc){const _0x1868e1=_0x124287;super(),this[_0x1868e1(0x29b)]=_0x1229d1,this['_userManagerService']=_0x12a1fc,_0x50ece2(this,_0x1868e1(0x2c4),new Map()),_0x50ece2(this,_0x1868e1(0x497),new _0x282118[(_0x1868e1(0x3d2))]()),this[_0x1868e1(0x334)]((0x0,_0x282118[_0x1868e1(0x23d)])(this['_univerInstanceService'][_0x1868e1(0x446)](_0x38d3af[_0x1868e1(0x244)][_0x1868e1(0x28b)])[_0x1868e1(0x1d2)]((0x0,_0xecc1b5[_0x1868e1(0x375)])(_0x5c946e=>_0x5c946e[_0x1868e1(0x258)]())),this[_0x1868e1(0x29b)][_0x1868e1(0x446)](_0x38d3af[_0x1868e1(0x244)][_0x1868e1(0x493)])[_0x1868e1(0x1d2)]((0x0,_0xecc1b5['map'])(_0x4484fb=>_0x4484fb[_0x1868e1(0x258)]())))[_0x1868e1(0x3b6)](_0x31752e=>this[_0x1868e1(0x3fd)](_0x31752e)));}[_0x124287(0x1ff)](_0x504fe7){const _0x15c72e=_0x124287;return this['_roomMembers'][_0x15c72e(0x2ac)](_0x504fe7)?(0x0,_0x282118['of'])(this[_0x15c72e(0x2c4)][_0x15c72e(0x23b)](_0x504fe7)):this[_0x15c72e(0x497)]['pipe']((0x0,_0xecc1b5[_0x15c72e(0x375)])(_0x4bc06a=>{const _0x4e65ce=_0x15c72e;if(_0x4bc06a===_0x504fe7)return this['_roomMembers'][_0x4e65ce(0x23b)](_0x4bc06a);}));}[_0x124287(0x326)](_0x302342){const _0x4d9a10=_0x124287;this[_0x4d9a10(0x26d)]['setCurrentUser'](_0x302342);}['getCurrentUser'](){const _0x3be880=_0x124287;return this[_0x3be880(0x26d)]['getCurrentUser']();}[_0x124287(0x361)](_0x14a9d2,_0x537160){const _0x2de558=_0x124287;let _0x5a7e1f=this[_0x2de558(0x2c4)]['get'](_0x14a9d2);_0x5a7e1f||(_0x5a7e1f=new _0x10ba4b(),this[_0x2de558(0x2c4)][_0x2de558(0x46d)](_0x14a9d2,_0x5a7e1f),this[_0x2de558(0x497)][_0x2de558(0x469)](_0x14a9d2)),_0x5a7e1f[_0x2de558(0x361)](_0x537160);}['removeMember'](_0x120739,_0x1e5ebd){const _0x41534b=_0x124287;let _0x2ad165=this[_0x41534b(0x2c4)][_0x41534b(0x23b)](_0x120739);_0x2ad165&&_0x2ad165[_0x41534b(0x21e)](_0x1e5ebd);}[_0x124287(0x371)](_0x2ffd18){const _0x6204c=_0x124287;return this[_0x6204c(0x2c4)]['get'](_0x2ffd18);}[_0x124287(0x1df)](_0x5c4496,_0x202d29){const _0x3e6b95=_0x124287;let _0x7080ec=this['_roomMembers'][_0x3e6b95(0x23b)](_0x5c4496);if(_0x7080ec)return _0x7080ec[_0x3e6b95(0x1df)](_0x202d29);}[_0x124287(0x3fd)](_0x1a4800){const _0x3f9e35=_0x124287;let _0x258fe0=this[_0x3f9e35(0x2c4)][_0x3f9e35(0x23b)](_0x1a4800);_0x258fe0&&(_0x258fe0['dispose'](),this['_roomMembers'][_0x3f9e35(0x423)](_0x1a4800));}[_0x124287(0x34a)](){const _0x141edd=_0x124287;this['_roomMembers'][_0x141edd(0x3eb)](_0x4f0f25=>_0x4f0f25[_0x141edd(0x34a)]()),this[_0x141edd(0x2c4)][_0x141edd(0x25e)](),this[_0x141edd(0x497)][_0x141edd(0x2f8)]();}};_0x59032e=_0x131186([_0x22bf51(0x0,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0x1,(0x0,_0x38d3af['Inject'])(_0x38d3af[_0x124287(0x355)]))],_0x59032e);var _0x10ba4b=class extends _0x38d3af['Disposable']{constructor(..._0x5e0dc0){const _0x1c6333=_0x124287;super(..._0x5e0dc0),_0x50ece2(this,_0x1c6333(0x346),new Map()),_0x50ece2(this,'_members$',new _0x282118['BehaviorSubject'](this[_0x1c6333(0x346)])),_0x50ece2(this,_0x1c6333(0x324),this[_0x1c6333(0x295)]['asObservable']());}[_0x124287(0x34a)](){const _0x564ad9=_0x124287;this[_0x564ad9(0x346)][_0x564ad9(0x25e)](),this[_0x564ad9(0x295)][_0x564ad9(0x2f8)]();}[_0x124287(0x361)](_0x285ab0){const _0x279807=_0x124287;this['_members'][_0x279807(0x46d)](_0x285ab0[_0x279807(0x184)],_0x285ab0),this['_emitMembers']();}[_0x124287(0x21e)](_0x39d798){const _0x439c19=_0x124287;this[_0x439c19(0x346)][_0x439c19(0x423)](_0x39d798),this[_0x439c19(0x1ae)]();}[_0x124287(0x1df)](_0x5e3ba1){const _0x3d26c2=_0x124287;return this[_0x3d26c2(0x346)][_0x3d26c2(0x23b)](_0x5e3ba1);}[_0x124287(0x3b8)](){const _0xa5be78=_0x124287;return Array[_0xa5be78(0x2a1)](this[_0xa5be78(0x346)]['values']());}['_emitMembers'](){const _0x1720b4=_0x124287;this['_members$'][_0x1720b4(0x469)](this[_0x1720b4(0x346)]);}};let _0x510b1c=function(_0x13f519){const _0x1c94f8=_0x124287;return _0x13f519[_0x13f519[_0x1c94f8(0x219)]=0x0]='IDLE',_0x13f519[_0x13f519[_0x1c94f8(0x39d)]=0x1]=_0x1c94f8(0x39d),_0x13f519[_0x13f519[_0x1c94f8(0x4a3)]=0x2]='OFFLINE',_0x13f519[_0x13f519[_0x1c94f8(0x32a)]=0x3]='ONLINE',_0x13f519;}({}),_0x31aca8={[_0x3eeea2[_0x124287(0x404)][_0x124287(0x2a3)]]:'session.join-failed',[_0x3eeea2[_0x124287(0x404)][_0x124287(0x181)]]:'session.room-full',[_0x3eeea2[_0x124287(0x404)][_0x124287(0x28e)]]:_0x124287(0x293),[_0x3eeea2[_0x124287(0x404)][_0x124287(0x1e5)]]:_0x124287(0x1db),[_0x3eeea2[_0x124287(0x404)][_0x124287(0x2f4)]]:_0x124287(0x2a8)},_0x3be262=class extends _0x38d3af[_0x124287(0x345)]{get[_0x124287(0x1f2)](){const _0x5669fd=_0x124287;return this[_0x5669fd(0x1b0)][_0x5669fd(0x189)]();}constructor(_0x2e7fdc,_0x1e4680,_0x3a7aa3,_0x390860,_0x3be8fd,_0x229190,_0x32a0d3,_0x460d92){const _0x20d5a9=_0x124287;super(),this[_0x20d5a9(0x30a)]=_0x2e7fdc,this[_0x20d5a9(0x1d8)]=_0x3a7aa3,this[_0x20d5a9(0x344)]=_0x390860,this['_memberService']=_0x3be8fd,this['_commentService']=_0x229190,this[_0x20d5a9(0x301)]=_0x32a0d3,this['_telemetryService']=_0x460d92,_0x50ece2(this,_0x20d5a9(0x1b0),new _0x282118['BehaviorSubject'](0x0)),_0x50ece2(this,_0x20d5a9(0x1c0),this[_0x20d5a9(0x1b0)][_0x20d5a9(0x433)]()),_0x50ece2(this,'_event$',new _0x282118[(_0x20d5a9(0x3d2))]()),_0x50ece2(this,'event$',this['_event$'][_0x20d5a9(0x433)]()),_0x50ece2(this,_0x20d5a9(0x3a4),void 0x0),_0x50ece2(this,_0x20d5a9(0x437),void 0x0),_0x50ece2(this,_0x20d5a9(0x457),void 0x0),_0x50ece2(this,'_shouldReportTelemetry',!0x1),_0x50ece2(this,_0x20d5a9(0x44f),null),this[_0x20d5a9(0x3ef)]=!!this[_0x20d5a9(0x3f6)],_0x1e4680[_0x20d5a9(0x1d2)]((0x0,_0x282118[_0x20d5a9(0x1bc)])(this['dispose$']))['subscribe'](_0x535f17=>{const _0xb5c633=_0x20d5a9;if(_0x535f17!==void 0x0){if(this['_socket']=_0x535f17,_0x535f17)this['_joinRoom'](_0x535f17),this[_0xb5c633(0x437)]=_0x535f17[_0xb5c633(0x278)][_0xb5c633(0x3b6)](_0x145de8=>{const _0x4eab09=_0xb5c633;_0x145de8[_0x4eab09(0x420)]===this[_0x4eab09(0x30a)]&&this['_onCombEvent'](_0x145de8);});else{var _0x5cec8c;this[_0xb5c633(0x45e)](),this['_sessionStatus$'][_0xb5c633(0x469)](0x2),(_0x5cec8c=this['_socketMessageSubscription'])==null||_0x5cec8c['unsubscribe'](),this['_socketMessageSubscription']=null;}}});}[_0x124287(0x255)](){const _0x3066a4=_0x124287;var _0x420d99,_0x5bbb09;return(_0x420d99=(_0x5bbb09=this[_0x3066a4(0x3a4)])==null?void 0x0:_0x5bbb09[_0x3066a4(0x184)])==null?null:_0x420d99;}[_0x124287(0x34a)](){const _0x4b829a=_0x124287;super[_0x4b829a(0x34a)](),this[_0x4b829a(0x439)](),this['dispose$'][_0x4b829a(0x469)](),this[_0x4b829a(0x1b4)][_0x4b829a(0x2f8)]();}['close'](){const _0x35a3f8=_0x124287;var _0x1c02b8,_0x375198;this[_0x35a3f8(0x45e)](),(_0x1c02b8=this[_0x35a3f8(0x3a4)])==null||_0x1c02b8[_0x35a3f8(0x432)]({'cmd':_0x3eeea2['CombCmd'][_0x35a3f8(0x19c)],'data':{'roomID':this[_0x35a3f8(0x30a)]}}),(_0x375198=this[_0x35a3f8(0x3a4)])==null||_0x375198[_0x35a3f8(0x439)](),this[_0x35a3f8(0x33d)]['complete'](),this[_0x35a3f8(0x1b0)][_0x35a3f8(0x2f8)]();}['_onCombEvent'](_0x1fa679){const _0x587241=_0x124287;_0x1fa679[_0x587241(0x47e)]===_0x3eeea2['CombCmd'][_0x587241(0x192)]?this[_0x587241(0x392)](_0x1fa679):_0x1fa679[_0x587241(0x47e)]===_0x3eeea2[_0x587241(0x27a)][_0x587241(0x1e6)]&&this[_0x587241(0x4a2)](_0x1fa679);}['_joinRoom'](_0x703d8f){const _0x38bcd1=_0x124287;this['_sessionStatus$'][_0x38bcd1(0x469)](0x1),_0x703d8f[_0x38bcd1(0x432)]({'cmd':_0x3eeea2['CombCmd'][_0x38bcd1(0x192)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x38bcd1(0x30a)]}]}});}[_0x124287(0x392)](_0x1ee63d){const _0x2c56d0=_0x124287;var _0x11e8f7;if(_0x1ee63d[_0x2c56d0(0x211)]in _0x31aca8){this[_0x2c56d0(0x301)][_0x2c56d0(0x3ae)]({'id':_0x2c56d0(0x3ac),'data':_0x31aca8[_0x1ee63d[_0x2c56d0(0x211)]]}),this[_0x2c56d0(0x1b0)]['next'](0x2);return;}this[_0x2c56d0(0x1b0)][_0x2c56d0(0x469)](0x3);let _0x252715=(_0x11e8f7=_0x1ee63d['data']['roomInfos'][this[_0x2c56d0(0x30a)]])==null?void 0x0:_0x11e8f7[_0x2c56d0(0x430)];_0x252715&&_0x252715['forEach'](_0x53ac10=>this[_0x2c56d0(0x30f)][_0x2c56d0(0x361)](this[_0x2c56d0(0x30a)],_0x53ac10));}[_0x124287(0x4a2)](_0x1a70d0){const _0x2c5535=_0x124287;try{let _0x4e5439=_0x1a70d0['data'];switch(_0x4e5439['eventID']){case _0x25767b[_0x2c5535(0x48c)][_0x2c5535(0x245)]:this['_onUserJoin'](_0x4e5439),this[_0x2c5535(0x33d)]['next'](_0x4e5439);break;case _0x25767b[_0x2c5535(0x48c)]['USERS_LEAVE']:this[_0x2c5535(0x3f3)](_0x4e5439),this[_0x2c5535(0x33d)][_0x2c5535(0x469)](_0x4e5439);break;case _0x25767b['CollaborationEvent'][_0x2c5535(0x27b)]:case _0x25767b['CollaborationEvent'][_0x2c5535(0x31c)]:this[_0x2c5535(0x45b)](),this[_0x2c5535(0x226)](),this[_0x2c5535(0x33d)][_0x2c5535(0x469)](_0x4e5439);break;case _0x25767b[_0x2c5535(0x48c)][_0x2c5535(0x34d)]:this['_logService']['error'](_0x2c5535(0x22e)+JSON[_0x2c5535(0x1d1)](_0x4e5439)),this[_0x2c5535(0x33d)][_0x2c5535(0x469)](_0x4e5439);break;case _0x25767b['CollaborationEvent'][_0x2c5535(0x1ab)]:this['_commentService'][_0x2c5535(0x468)](_0x4e5439[_0x2c5535(0x1c3)]),this[_0x2c5535(0x33d)][_0x2c5535(0x469)](_0x4e5439);break;default:this[_0x2c5535(0x33d)]['next'](_0x4e5439);}}catch(_0x432dde){this[_0x2c5535(0x1d8)][_0x2c5535(0x338)](_0x432dde,_0x1a70d0);}}['_onUserJoin'](_0x18d474){const _0x4e5978=_0x124287;this[_0x4e5978(0x30f)][_0x4e5978(0x361)](this[_0x4e5978(0x30a)],_0x18d474[_0x4e5978(0x1c3)]);}['_onUserLeave'](_0x30e849){const _0xba1a5c=_0x124287;this[_0xba1a5c(0x30f)][_0xba1a5c(0x21e)](this[_0xba1a5c(0x30a)],_0x30e849['data'][_0xba1a5c(0x184)]);}async[_0x124287(0x432)](_0x49e289,_0x52d4b4){const _0x4a1d76=_0x124287;if(this[_0x4a1d76(0x1f2)]!==0x3||!this[_0x4a1d76(0x3a4)])throw Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x49e289[_0x4a1d76(0x2af)]===_0x25767b['CollaborationEvent'][_0x4a1d76(0x3a5)]&&(this[_0x4a1d76(0x33f)](),this[_0x4a1d76(0x48f)](_0x49e289)),this['_socket'][_0x4a1d76(0x432)]({'cmd':_0x3eeea2['CombCmd'][_0x4a1d76(0x440)],'routeKey':_0x52d4b4,'routeType':'','data':_0x49e289});}catch(_0x5aba09){this[_0x4a1d76(0x1d8)]['error'](_0x5aba09);}}[_0x124287(0x33f)](){const _0x5f256e=_0x124287;var _0x33e2b1;this[_0x5f256e(0x457)]=setTimeout(()=>{const _0x1e19be=_0x5f256e;this['_collaborationTimeoutTimer']=null,this[_0x1e19be(0x301)]['emitEvent']({'id':'SUBMIT_CHANGESET_TIMEOUT'});},(_0x33e2b1=this[_0x5f256e(0x344)][_0x5f256e(0x2ad)](_0x5f256e(0x28d)))==null?_0x472429:_0x33e2b1);}[_0x124287(0x226)](){const _0x97963d=_0x124287;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x97963d(0x457)]),this[_0x97963d(0x457)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x13f895){const _0x36badc=_0x124287;if(!this[_0x36badc(0x3ef)])return;let {data:_0x58d7d0}=_0x13f895,{unitID:_0x4248ca,changeset:_0x3b2f07}=_0x58d7d0,{mutations:_0x1e9cc9,type:_0x4b9d1f}=_0x3b2f07;this[_0x36badc(0x44f)]={'unitId':_0x4248ca,'type':_0x4b9d1f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x59413a(_0x1e9cc9)};}[_0x124287(0x45b)](){const _0x4beccc=_0x124287;if(this[_0x4beccc(0x3ef)]){if(!this[_0x4beccc(0x44f)]){this[_0x4beccc(0x1d8)]['error'](_0x4beccc(0x1bb),_0x4beccc(0x1f1));return;}this[_0x4beccc(0x44f)][_0x4beccc(0x39e)]=performance[_0x4beccc(0x1af)](),this[_0x4beccc(0x44f)][_0x4beccc(0x397)]=this[_0x4beccc(0x44f)][_0x4beccc(0x39e)]-this[_0x4beccc(0x44f)][_0x4beccc(0x40c)],this[_0x4beccc(0x3f6)][_0x4beccc(0x30d)](_0x4beccc(0x45d),this[_0x4beccc(0x44f)]),this[_0x4beccc(0x44f)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x528248=_0x124287;this[_0x528248(0x44f)]=null;}};_0x3be262=_0x131186([_0x22bf51(0x2,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0x3,_0x38d3af['IConfigService']),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x59032e)),_0x22bf51(0x5,(0x0,_0x38d3af['Inject'])(_0x3b9fd8)),_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x3b3560)),_0x22bf51(0x7,(0x0,_0x38d3af[_0x124287(0x261)])(_0x5bc536[_0x124287(0x2ca)]))],_0x3be262);let _0x19c832=(0x0,_0x38d3af[_0x124287(0x302)])('collaboration-client.local-cache-service');function _0x150d9d(_0x3371a2){const _0xad008c=_0x124287;return _0xad008c(0x271)+_0x3371a2;}function _0x174995(_0x287b2a){const _0x18e498=_0x124287;let {unitID:_0x126353,mutations:_0x420c43}=_0x287b2a;return{'unitId':_0x126353,'subUnitId':_0x420c43['length']>0x0?_0x420c43[0x0][_0x18e498(0x3ad)][_0x18e498(0x17e)]:null};}let _0x108e5e=class{constructor(_0x5c915f,_0x2b38fe,_0x305f23){const _0x1daab8=_0x124287;this['_injector']=_0x5c915f,this['_transformService']=_0x2b38fe,this[_0x1daab8(0x2d3)]=_0x305f23;}['transformSelections'](_0xc0b27){const _0xea17f9=_0x124287;var _0x4a0b7a,_0x5aee73;let _0xc6f0e9=this[_0xea17f9(0x2ed)][_0xea17f9(0x23b)](_0x4606ad['SheetsSelectionsService']),{unitId:_0xa4eed2,subUnitId:_0x133ef3}=_0x174995(_0xc0b27),_0x41bc7b=_0xc6f0e9==null?void 0x0:_0xc6f0e9[_0xea17f9(0x251)](_0xa4eed2)['getCurrentSelections'](),_0x38d75a=(_0x4a0b7a=this[_0xea17f9(0x2d3)][_0xea17f9(0x490)](_0xa4eed2))==null||(_0x4a0b7a=_0x4a0b7a[_0xea17f9(0x3e7)]())==null?void 0x0:_0x4a0b7a['getSheetId']();if(_0x41bc7b[_0xea17f9(0x48e)]===0x0||!_0xa4eed2||!_0x133ef3)return;let _0x307c5c=[{'id':_0x4606ad['SetSelectionsOperation']['id'],'params':{'unitId':_0xa4eed2,'subUnitId':_0x38d75a,'selections':_0x38d3af[_0xea17f9(0x2a5)][_0xea17f9(0x389)](_0x41bc7b)}}],_0x463bc7=this['_transformService'][_0xea17f9(0x3c7)](_0xc0b27,_0x307c5c);if(!(0x0,_0x25767b[_0xea17f9(0x1a7)])(_0x463bc7))throw _0x463bc7[_0xea17f9(0x338)];let _0x3a7ce9=(_0x5aee73=_0x463bc7[_0xea17f9(0x195)][0x0])==null||(_0x5aee73=_0x5aee73['params'])==null?void 0x0:_0x5aee73[_0xea17f9(0x2b2)];if(Array[_0xea17f9(0x3ea)](_0x3a7ce9)&&_0x3a7ce9[_0xea17f9(0x48e)]){if(_0x3a7ce9[_0xea17f9(0x48e)]===_0x307c5c[0x0][_0xea17f9(0x3ad)]['selections'][_0xea17f9(0x48e)]&&_0x3a7ce9[_0xea17f9(0x3c6)]((_0x1d5d95,_0x491ad7)=>_0x38d3af['Rectangle'][_0xea17f9(0x3f8)](_0x1d5d95[_0xea17f9(0x395)],_0x307c5c[0x0][_0xea17f9(0x3ad)][_0xea17f9(0x2b2)][_0x491ad7][_0xea17f9(0x395)])))return;this['_injector']['get'](_0x38d3af[_0xea17f9(0x3c3)])[_0xea17f9(0x319)](_0x4606ad[_0xea17f9(0x480)]['id'],{'unitId':_0xa4eed2,'subUnitId':_0x38d75a,'selections':_0x3a7ce9});}}};_0x108e5e=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x1,_0x25767b[_0x124287(0x290)]),_0x22bf51(0x2,_0x38d3af['IUniverInstanceService'])],_0x108e5e);let _0x1f80e9=(0x0,_0x38d3af['createIdentifier'])(_0x124287(0x1a6)),_0x1cff2f=function(_0xb18bd3){const _0x3acef8=_0x124287;return _0xb18bd3[_0xb18bd3[_0x3acef8(0x2cd)]=0x0]=_0x3acef8(0x2cd),_0xb18bd3[_0xb18bd3[_0x3acef8(0x238)]=0x1]=_0x3acef8(0x238),_0xb18bd3;}({}),_0xc791ca=_0x124287(0x1d6);Symbol(_0xc791ca);let _0x3a2680={};function _0x47a917(_0x1e2c89){const _0x490399=_0x124287;var _0x22652;return!!((_0x22652=_0x1e2c89[_0x490399(0x3ad)])!=null&&_0x22652[_0x490399(0x2d2)]);}let _0x5d1b12=new Set([_0x4606ad['InsertSheetMutation']['id']]);function _0x3fc0b1(_0x5a0e00,_0x5358da,_0x4a9a1,_0x1f995e,_0x1e453a){const _0x2e3798=_0x124287;var _0x432276,_0x362129,_0x14301f,_0x269795;let _0x58a90d=[];for(let _0x2296c5 of _0x5a0e00){if(_0x5d1b12[_0x2e3798(0x2ac)](_0x2296c5['id'])){if(_0x58a90d[_0x2e3798(0x48e)]>0x0)break;_0x58a90d[_0x2e3798(0x385)](_0x2296c5);break;}if(_0x47a917(_0x2296c5)){if(_0x58a90d[_0x2e3798(0x48e)]>0x0)break;_0x58a90d[_0x2e3798(0x385)](_0x2296c5);break;}_0x58a90d[_0x2e3798(0x385)](_0x2296c5);}let _0x4401b4=(_0x432276=(_0x362129=_0x1e453a['getCurrentUser']())==null?void 0x0:_0x362129[_0x2e3798(0x1c5)])==null?_0x2e3798(0x282):_0x432276,_0x30a86f=(_0x14301f=(_0x269795=_0x1e453a[_0x2e3798(0x1da)]())==null?void 0x0:_0x269795[_0x2e3798(0x184)])==null?_0x2e3798(0x282):_0x14301f;return{'changeset':{'unitID':_0x5358da,'type':(0x0,_0x25767b[_0x2e3798(0x484)])(_0x4a9a1[_0x2e3798(0x40d)](_0x5358da)),'baseRev':_0x1f995e[_0x2e3798(0x21b)](_0x5358da),'revision':0x0,'userID':_0x4401b4,'memberID':_0x30a86f,'mutations':_0x58a90d},'pendingMutations':_0x5a0e00[_0x2e3798(0x1a0)](_0x58a90d['length'])};}function _0x48e9f2(_0x3aad93,_0x101b76,_0x50e5e1,_0x496808,_0x4af8cb){const _0x40c7aa=_0x124287;var _0x4a3f5a,_0x563691,_0x2e20ed,_0x3e0ca0;let _0x1249ed=[_0x3aad93[_0x40c7aa(0x33e)]((_0xc8626e,_0x3bd19c)=>{const _0x1481cc=_0x40c7aa;var _0x2b27ba;let {id:_0x479df1}=_0xc8626e,{id:_0x980ba6,type:_0x2dfdae}=_0x3bd19c,_0x40d291=(_0x2b27ba=_0xc8626e[_0x1481cc(0x3ad)])==null?{'actions':null}:_0x2b27ba,_0xc2ab86=_0x3bd19c[_0x1481cc(0x3ad)];if(_0x479df1&&_0x479df1!==_0x980ba6)throw Error(_0x1481cc(0x257)+_0x479df1+_0x1481cc(0x1fe)+_0x980ba6+'.');return{..._0xc8626e,'id':_0x980ba6,'type':_0x2dfdae,'params':{'unitId':_0xc2ab86[_0x1481cc(0x3e9)],'textRanges':_0xc2ab86[_0x1481cc(0x315)],'actions':_0x38d3af[_0x1481cc(0x38b)][_0x1481cc(0x3ec)](_0x40d291[_0x1481cc(0x393)],_0xc2ab86[_0x1481cc(0x393)])}};},{})],_0x39f349=(_0x4a3f5a=(_0x563691=_0x4af8cb[_0x40c7aa(0x1da)]())==null?void 0x0:_0x563691[_0x40c7aa(0x1c5)])==null?_0x40c7aa(0x282):_0x4a3f5a,_0x5efeaf=(_0x2e20ed=(_0x3e0ca0=_0x4af8cb[_0x40c7aa(0x1da)]())==null?void 0x0:_0x3e0ca0[_0x40c7aa(0x184)])==null?_0x40c7aa(0x282):_0x2e20ed;return{'changeset':{'unitID':_0x101b76,'type':(0x0,_0x25767b['mapDocumentTypeToUniverInstanceType'])(_0x50e5e1['getUnitType'](_0x101b76)),'baseRev':_0x496808['getCurrentRevOfUnit'](_0x101b76),'revision':0x0,'userID':_0x39f349,'memberID':_0x5efeaf,'mutations':_0x1249ed},'pendingMutations':[]};}function _0xf06eea(_0x817b93,_0x2f5637){const _0x303731=_0x124287;let _0x4f7ce7=new _0x282118[(_0x303731(0x188))](0x1);return setTimeout(()=>_0x4f7ce7['next'](_0x2f5637),_0x817b93),_0x4f7ce7[_0x303731(0x433)]()['pipe']((0x0,_0x282118[_0x303731(0x374)])(0x1));}var _0x36637f,_0x1b6f2e,_0x2f13b0;let _0x5cf168=function(_0x19de4f){const _0x50a1ba=_0x124287;return _0x19de4f[_0x50a1ba(0x46e)]=_0x50a1ba(0x419),_0x19de4f[_0x50a1ba(0x242)]='synced',_0x19de4f[_0x50a1ba(0x44d)]=_0x50a1ba(0x26a),_0x19de4f[_0x50a1ba(0x47c)]=_0x50a1ba(0x2e9),_0x19de4f[_0x50a1ba(0x36a)]=_0x50a1ba(0x1ec),_0x19de4f[_0x50a1ba(0x352)]=_0x50a1ba(0x1c9),_0x19de4f[_0x50a1ba(0x3cd)]='conflict',_0x19de4f[_0x50a1ba(0x4a3)]=_0x50a1ba(0x3ce),_0x19de4f;}({}),_0x3ea5c4=0x4e20,_0x3b6510=0x2bf20;var _0x82d669=class{constructor(_0x104f29,_0x33d7c8,_0x5b299f,_0x28725d,_0x4e79f6,_0x4abaac,_0x2dd1ac,_0x4d1edc,_0x40801e){const _0xae9136=_0x124287;this[_0xae9136(0x3c1)]=_0x104f29,this['type']=_0x33d7c8,this[_0xae9136(0x3f7)]=_0x4e79f6,this[_0xae9136(0x363)]=_0x4abaac,this[_0xae9136(0x22d)]=_0x2dd1ac,this[_0xae9136(0x370)]=_0x4d1edc,this['_localCacheService']=_0x40801e,_0x50ece2(this,_0xae9136(0x2d5),null),_0x50ece2(this,_0xae9136(0x26b),[]),this[_0xae9136(0x2d5)]=_0x5b299f,this[_0xae9136(0x26b)]=_0x28725d;}['_checkMissing'](_0x5ef20d){const _0x26d4eb=_0x124287;let _0x2d09e0=this[_0x26d4eb(0x370)]['getCurrentRevOfUnit'](this[_0x26d4eb(0x3c1)]);return _0x5ef20d[_0x26d4eb(0x376)]>_0x2d09e0+0x1?(this[_0x26d4eb(0x3f7)][_0x26d4eb(0x2c3)]({'from':_0x2d09e0,'to':_0x5ef20d[_0x26d4eb(0x376)]-0x1}),!0x0):!0x1;}[_0x124287(0x260)](_0x323548){const _0x34a843=_0x124287;this[_0x34a843(0x22d)][_0x34a843(0x264)](this[_0x34a843(0x3c1)],_0x323548);}[_0x124287(0x2a9)](_0x3cd157){const _0x3fa04a=_0x124287;var _0x2c8ce4,_0x44f8a3;(_0x2c8ce4=(_0x44f8a3=this[_0x3fa04a(0x3f7)])['onTransformSelections'])==null||_0x2c8ce4[_0x3fa04a(0x3ab)](_0x44f8a3,_0x3cd157);}['_transformIMECache'](_0x484c53){const _0x206350=_0x124287;var _0x2cf8fe,_0x54abb3;return(_0x2cf8fe=(_0x54abb3=this[_0x206350(0x3f7)])[_0x206350(0x307)])==null?void 0x0:_0x2cf8fe[_0x206350(0x3ab)](_0x54abb3,_0x484c53);}['_transformStateCache'](_0x48f8cf){const _0x4477d4=_0x124287;var _0x4a167c,_0x35ac44;return(_0x4a167c=(_0x35ac44=this[_0x4477d4(0x3f7)])[_0x4477d4(0x354)])==null?void 0x0:_0x4a167c[_0x4477d4(0x3ab)](_0x35ac44,_0x48f8cf);}[_0x124287(0x459)](_0x1b6339){const _0x27a360=_0x124287;var _0x5b2df2,_0x1d2bba,_0x4b3989;return(_0x5b2df2=(_0x1d2bba=(_0x4b3989=this[_0x27a360(0x3f7)])[_0x27a360(0x3e5)])==null?void 0x0:_0x1d2bba[_0x27a360(0x3ab)](_0x4b3989,_0x1b6339))==null?_0x1b6339:_0x5b2df2;}[_0x124287(0x24f)](_0x238322){const _0x31114e=_0x124287;var _0x17ccf7,_0x100b9e,_0x2b682c;return(_0x17ccf7=(_0x100b9e=(_0x2b682c=this['_handler'])[_0x31114e(0x477)])==null?void 0x0:_0x100b9e[_0x31114e(0x3ab)](_0x2b682c,_0x238322))==null?_0x238322:_0x17ccf7;}[_0x124287(0x2dc)](_0x2fe389){const _0x32c55a=_0x124287;if(this[_0x32c55a(0x3b3)]===_0x38d3af[_0x32c55a(0x244)][_0x32c55a(0x493)]){let {unitID:_0x57850a,mutations:_0x43e5d6,memberID:_0x2246c7}=_0x2fe389,_0x633e76=_0x43e5d6['length']>0x0?_0x43e5d6[0x0][_0x32c55a(0x3ad)][_0x32c55a(0x315)]:[];if(Array[_0x32c55a(0x3ea)](_0x633e76)&&_0x633e76['length']>0x0){var _0x1885e0,_0x3429e4;(_0x1885e0=(_0x3429e4=this[_0x32c55a(0x3f7)])[_0x32c55a(0x32b)])==null||_0x1885e0['call'](_0x3429e4,{'unitID':_0x57850a,'memberID':_0x2246c7,'textRanges':_0x633e76});}}}[_0x124287(0x2ae)](){const _0x40286d=_0x124287;var _0x3970d4;(_0x3970d4=this['_localCacheService'])==null||_0x3970d4[_0x40286d(0x263)](this['unitID'],this[_0x40286d(0x3b3)],this[_0x40286d(0x2d5)],this[_0x40286d(0x26b)]);}[_0x124287(0x277)](){const _0x10a020=_0x124287;return this[_0x10a020(0x370)][_0x10a020(0x21b)](this['unitID']);}[_0x124287(0x434)](){const _0x15989b=_0x124287;this['_revisionService'][_0x15989b(0x3b1)](this['unitID']);}['_executeRemoteChangeset'](_0x487912){const _0x1a9e48=_0x124287;let _0x1f81da=this[_0x1a9e48(0x459)](_0x487912);_0x1f81da=this[_0x1a9e48(0x24f)](_0x1f81da);let _0x542286=(0x0,_0x38d3af[_0x1a9e48(0x309)])(_0x1f81da[_0x1a9e48(0x253)],this[_0x1a9e48(0x363)],{'fromCollab':!0x0});if(!_0x542286[_0x1a9e48(0x3f9)]){var _0xd9d13b;throw _0x542286[_0x1a9e48(0x338)]instanceof Error?_0x542286[_0x1a9e48(0x338)]:Error((_0xd9d13b=_0x542286[_0x1a9e48(0x338)])==null?_0x1a9e48(0x190):_0xd9d13b);}this[_0x1a9e48(0x466)](_0x1f81da),this[_0x1a9e48(0x1d9)](_0x1f81da),this[_0x1a9e48(0x260)](_0x487912),this['_transformSelections'](_0x1f81da),this[_0x1a9e48(0x2dc)](_0x1f81da),this['_incrementRevisionNumber']();}};let _0x4e4794=class extends _0x82d669{constructor(_0x53d4be,_0x438b18,_0x56e3ec,_0x2c0a65,_0x1d6c28,_0x182326,_0x33b946,_0x562f4d,_0x2d9aaa,_0x558a45){const _0x222017=_0x124287;super(_0x53d4be,_0x438b18,null,[],_0x56e3ec,_0x33b946,_0x182326,_0x2c0a65,_0x558a45),this['_injector']=_0x1d6c28,this['_logService']=_0x562f4d,this[_0x222017(0x1dd)]=_0x2d9aaa,this[_0x222017(0x476)]=_0x558a45,_0x50ece2(this,'status',_0x222017(0x1b9));}[_0x124287(0x3db)](_0x49f82f){const _0x44c346=_0x124287;let _0x1535ef=this['_injector'][_0x44c346(0x236)](_0x2411fe,this[_0x44c346(0x3c1)],this[_0x44c346(0x3b3)],[_0x49f82f],this[_0x44c346(0x3f7)]);return _0x1535ef[_0x44c346(0x49b)](),_0x1535ef[_0x44c346(0x2ae)](),_0x1535ef;}[_0x124287(0x40a)](_0x14fc77){const _0x5d407a=_0x124287;if(this['_checkMissing'](_0x14fc77))return this[_0x5d407a(0x2ed)][_0x5d407a(0x236)](_0xfc54a4,this['unitID'],this[_0x5d407a(0x3b3)],null,[],null,[_0x14fc77],this['_handler']);try{let _0x4df1d3=this['_transformService'][_0x5d407a(0x3c7)](_0x14fc77,[_0x25767b[_0x5d407a(0x2b6)]]);if((0x0,_0x25767b['isTransformMutationsWithChangesetSuccess'])(_0x4df1d3)){let {c1Prime:_0x378230}=_0x4df1d3;return this[_0x5d407a(0x426)](_0x378230),this;}throw _0x4df1d3[_0x5d407a(0x338)];}catch(_0x289fba){return this['_logService'][_0x5d407a(0x338)](_0x289fba),this[_0x5d407a(0x286)](!0x1);}}[_0x124287(0x286)](_0x3e570b){const _0x277e83=_0x124287;return this['_injector']['createInstance'](_0x5171e4,this[_0x277e83(0x3c1)],this['type'],null,[],this[_0x277e83(0x3f7)],_0x3e570b);}[_0x124287(0x18f)](_0x89858a){const _0x1e825d=_0x124287;if(_0x89858a[_0x1e825d(0x376)]<=this[_0x1e825d(0x277)]())return this;throw Error(_0x1e825d(0x41c));}['onRemoteRej'](){const _0x3b73a7=_0x124287;throw Error(_0x3b73a7(0x42b));}['onRemoteRetry'](){return this;}[_0x124287(0x38a)](){const _0x42491e=_0x124287;return this[_0x42491e(0x2ed)][_0x42491e(0x236)](_0x24826c,this[_0x42491e(0x3c1)],this[_0x42491e(0x3b3)],null,[],this[_0x42491e(0x3f7)]);}[_0x124287(0x38e)](){return this;}['resend'](){const _0x10120a=_0x124287;throw Error(_0x10120a(0x272));}[_0x124287(0x3f0)](){const _0x22152b=_0x124287;let _0x4ea946=this['_revisionService']['getCurrentRevOfUnit'](this[_0x22152b(0x3c1)]);return this[_0x22152b(0x3f7)][_0x22152b(0x2c3)]({'from':_0x4ea946,'to':0x0}),this[_0x22152b(0x2ed)]['createInstance'](_0xfc54a4,this[_0x22152b(0x3c1)],this['type'],null,[],null,[],this['_handler']);}};_0x4e4794=_0x131186([_0x22bf51(0x3,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x5,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0x6,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0x7,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0x8,_0x25767b[_0x124287(0x290)]),_0x22bf51(0x9,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x4e4794);let _0x2411fe=_0x36637f=class extends _0x82d669{constructor(_0x3a6705,_0x516d9d,_0x406b6b,_0x5995f9,_0x3dce77,_0x431907,_0x33e3e7,_0x5eec73,_0x453a7c,_0x21f112,_0x5ea26b,_0x58e9f9,_0x44cc67,_0x1778c8){const _0x3a45d6=_0x124287;super(_0x3a6705,_0x516d9d,null,_0x406b6b,_0x5995f9,_0x453a7c,_0x44cc67,_0x431907,_0x1778c8),this[_0x3a45d6(0x2ed)]=_0x3dce77,this[_0x3a45d6(0x30f)]=_0x33e3e7,this[_0x3a45d6(0x1d8)]=_0x5eec73,this[_0x3a45d6(0x344)]=_0x21f112,this[_0x3a45d6(0x1dd)]=_0x5ea26b,this[_0x3a45d6(0x29b)]=_0x58e9f9,_0x50ece2(this,_0x3a45d6(0x2b5),_0x3a45d6(0x26a)),_0x50ece2(this,_0x3a45d6(0x3c2),null),_0x50ece2(this,_0x3a45d6(0x3e0),null);}['appendMutation'](_0x3356c9){const _0x49cbd2=_0x124287;return this[_0x49cbd2(0x26b)][_0x49cbd2(0x385)](_0x3356c9),this[_0x49cbd2(0x2ae)](),this;}['onRemoteChangeset'](_0x3d383c){const _0x17cd59=_0x124287;if(this[_0x17cd59(0x3f2)](_0x3d383c))return this[_0x17cd59(0x210)](),this[_0x17cd59(0x2ed)][_0x17cd59(0x236)](_0xfc54a4,this[_0x17cd59(0x3c1)],this[_0x17cd59(0x3b3)],null,this[_0x17cd59(0x26b)],null,[_0x3d383c],this['_handler']);try{let _0x4f8b22=this[_0x17cd59(0x1dd)]['transformMutationsWithChangeset'](_0x3d383c,this[_0x17cd59(0x26b)]);if((0x0,_0x25767b[_0x17cd59(0x1a7)])(_0x4f8b22)){let {c1Prime:_0x5cf104,m2Prime:_0x51fd19}=_0x4f8b22;this[_0x17cd59(0x426)](_0x5cf104);let _0x1497aa=this[_0x17cd59(0x2ed)][_0x17cd59(0x236)](_0x36637f,this[_0x17cd59(0x3c1)],this[_0x17cd59(0x3b3)],_0x51fd19,this[_0x17cd59(0x3f7)]);this[_0x17cd59(0x210)]();let _0x465b8b=new Date()[_0x17cd59(0x1b3)](),_0x151caa=this[_0x17cd59(0x3c2)]?Math[_0x17cd59(0x35e)](this[_0x17cd59(0x3c2)]-_0x465b8b,0x0):this[_0x17cd59(0x267)]();return _0x1497aa[_0x17cd59(0x49b)](_0x151caa),_0x1497aa;}throw _0x4f8b22[_0x17cd59(0x338)];}catch(_0xa4ad26){return this[_0x17cd59(0x1d8)][_0x17cd59(0x338)](_0xa4ad26),this[_0x17cd59(0x286)](!0x1);}}[_0x124287(0x18f)](_0x4c8d1c){const _0xf07e41=_0x124287;if(_0x4c8d1c[_0xf07e41(0x376)]<=this['_getCurrentRevision']())return this;throw Error(_0xf07e41(0x44a));}[_0x124287(0x254)](){const _0x370a4b=_0x124287;throw Error(_0x370a4b(0x3df));}[_0x124287(0x2f3)](){return this;}[_0x124287(0x38a)](){const _0x533b95=_0x124287;return this['_clearScheduledTask'](),this[_0x533b95(0x2ed)][_0x533b95(0x236)](_0x24826c,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x533b95(0x3f7)]);}['toggleOnline'](){return this;}[_0x124287(0x49b)](_0x3bb75a){const _0x4e1beb=_0x124287;let _0x5311fa=_0x3bb75a==null?this[_0x4e1beb(0x267)]():_0x3bb75a;this['_scheduleCompleteTimestamp']=new Date()[_0x4e1beb(0x1b3)]()+_0x5311fa,this[_0x4e1beb(0x3e0)]=setTimeout(()=>{const _0x158bb5=_0x4e1beb;this[_0x158bb5(0x210)]();let _0x19174b=null;switch(this[_0x158bb5(0x3b3)]){case _0x38d3af[_0x158bb5(0x244)][_0x158bb5(0x28b)]:_0x19174b=_0x3fc0b1(this[_0x158bb5(0x26b)],this[_0x158bb5(0x3c1)],this[_0x158bb5(0x29b)],this[_0x158bb5(0x370)],this[_0x158bb5(0x30f)]);break;case _0x38d3af['UniverInstanceType']['UNIVER_DOC']:_0x19174b=this['_pendingMutations'][_0x158bb5(0x3c6)](_0x36dd7f=>_0x36dd7f['id']===_0x545c79[_0x158bb5(0x396)]['id'])?_0x48e9f2(this[_0x158bb5(0x26b)],this['unitID'],this[_0x158bb5(0x29b)],this['_revisionService'],this[_0x158bb5(0x30f)]):_0x3fc0b1(this[_0x158bb5(0x26b)],this[_0x158bb5(0x3c1)],this[_0x158bb5(0x29b)],this[_0x158bb5(0x370)],this['_memberService']);break;default:throw Error(_0x158bb5(0x1ed)+this['type']+_0x158bb5(0x2e1));}let {changeset:_0x3d3074,pendingMutations:_0x250032}=_0x19174b;this[_0x158bb5(0x3f7)]['onSendChangeset'](_0x3d3074);let _0x5ae1c9=_0x250032[_0x158bb5(0x48e)]?this[_0x158bb5(0x2ed)]['createInstance'](_0x348457,this[_0x158bb5(0x3c1)],this[_0x158bb5(0x3b3)],_0x3d3074,_0x250032,this[_0x158bb5(0x3f7)],void 0x0):this[_0x158bb5(0x2ed)][_0x158bb5(0x236)](_0x5d6712,this[_0x158bb5(0x3c1)],this[_0x158bb5(0x3b3)],_0x3d3074,this['_handler']);_0x5ae1c9[_0x158bb5(0x2ae)](),this['_handler'][_0x158bb5(0x28a)](this,_0x5ae1c9);},_0x5311fa);}[_0x124287(0x267)](){const _0x33653f=_0x124287;var _0x1ab99a;let _0x30dc9c=this[_0x33653f(0x344)]['getConfig'](_0xc791ca);return(_0x1ab99a=_0x30dc9c==null?void 0x0:_0x30dc9c[_0x33653f(0x481)])==null?0x7d0:_0x1ab99a;}[_0x124287(0x2b1)](){const _0x29d75a=_0x124287;throw Error(_0x29d75a(0x2b4));}['_clearScheduledTask'](){const _0x485b11=_0x124287;this[_0x485b11(0x3e0)]!=null&&(clearTimeout(this[_0x485b11(0x3e0)]),this[_0x485b11(0x3e0)]=null);}['_onConflict'](_0x33f24a){const _0x4e7bc0=_0x124287;return this[_0x4e7bc0(0x210)](),this[_0x4e7bc0(0x2ed)][_0x4e7bc0(0x236)](_0x5171e4,this['unitID'],this[_0x4e7bc0(0x3b3)],null,this[_0x4e7bc0(0x26b)],this['_handler'],_0x33f24a);}};_0x2411fe=_0x36637f=_0x131186([_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['Injector'])),_0x22bf51(0x5,(0x0,_0x38d3af['Inject'])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x59032e)),_0x22bf51(0x7,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0x8,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0x9,_0x38d3af['IConfigService']),_0x22bf51(0xa,_0x25767b['ITransformService']),_0x22bf51(0xb,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0xc,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0xd,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x2411fe);let _0x5d6712=_0x1b6f2e=class extends _0x82d669{constructor(_0x2665fa,_0x3b3d08,_0x47c80b,_0x5dc2de,_0x3ce72c,_0x96488f,_0x4b218f,_0xa7bd25,_0x34077d,_0x1124d9,_0x45c521){const _0x29b73b=_0x124287;super(_0x2665fa,_0x3b3d08,_0x47c80b,[],_0x5dc2de,_0x4b218f,_0x1124d9,_0x96488f,_0x45c521),this[_0x29b73b(0x2ed)]=_0x3ce72c,this[_0x29b73b(0x1d8)]=_0xa7bd25,this['_transformService']=_0x34077d,_0x50ece2(this,'status',_0x29b73b(0x2e9)),_0x50ece2(this,'_resendTimeout',0x0),_0x50ece2(this,_0x29b73b(0x27d),0x0),_0x50ece2(this,_0x29b73b(0x194),void 0x0),_0x50ece2(this,_0x29b73b(0x3d1),void 0x0);}[_0x124287(0x3db)](_0x5b4a5e){const _0x37dae9=_0x124287;this[_0x37dae9(0x210)]();let _0xf5ceaf=this[_0x37dae9(0x2ed)][_0x37dae9(0x236)](_0x348457,this[_0x37dae9(0x3c1)],this[_0x37dae9(0x3b3)],this[_0x37dae9(0x2d5)],[_0x5b4a5e],this['_handler'],this[_0x37dae9(0x194)]);return _0xf5ceaf[_0x37dae9(0x2ae)](),_0xf5ceaf;}[_0x124287(0x40a)](_0x5284b8){const _0x25abd1=_0x124287;if(this[_0x25abd1(0x3f2)](_0x5284b8))return this[_0x25abd1(0x210)](),this[_0x25abd1(0x2ed)][_0x25abd1(0x236)](_0xfc54a4,this[_0x25abd1(0x3c1)],this['type'],this['_awaitingChangeset'],[],null,[_0x5284b8],this['_handler']);try{let _0x91b702=this[_0x25abd1(0x1dd)]['transformChangesets']([_0x5284b8],[this['_awaitingChangeset']],!0x1);if((0x0,_0x25767b[_0x25abd1(0x322)])(_0x91b702)){let {c1Prime:_0x17bfea,c2Prime:_0x52898a}=_0x91b702;this['_executeRemoteChangeset'](_0x17bfea[0x0]),_0x52898a[0x0]['baseRev']=this[_0x25abd1(0x277)](),this[_0x25abd1(0x210)]();let _0x5215f9=this[_0x25abd1(0x2ed)]['createInstance'](_0x1b6f2e,this['unitID'],this['type'],_0x52898a[0x0],this[_0x25abd1(0x3f7)]);return _0x5215f9['_updateLocalCache'](),_0x5215f9;}throw _0x91b702['error'];}catch(_0x3c317a){return this[_0x25abd1(0x1d8)]['error'](_0x3c317a),this['_onConflict'](!0x1);}}[_0x124287(0x18f)](_0x4dae28){const _0x4a2a5f=_0x124287;this[_0x4a2a5f(0x210)]();let _0x7cc1da=this['_revisionService'][_0x4a2a5f(0x21b)](this[_0x4a2a5f(0x3c1)]);if(_0x4dae28[_0x4a2a5f(0x376)]<=_0x7cc1da)return this;if(this[_0x4a2a5f(0x3f2)](_0x4dae28))return this[_0x4a2a5f(0x2ed)][_0x4a2a5f(0x236)](_0xfc54a4,this[_0x4a2a5f(0x3c1)],this[_0x4a2a5f(0x3b3)],this[_0x4a2a5f(0x2d5)],[],_0x4dae28[_0x4a2a5f(0x376)],[],this['_handler']);this['_incrementRevisionNumber']();let _0x1fcd97=this['_injector']['createInstance'](_0x4e4794,this[_0x4a2a5f(0x3c1)],this[_0x4a2a5f(0x3b3)],this[_0x4a2a5f(0x3f7)]);return _0x1fcd97[_0x4a2a5f(0x2ae)](),_0x1fcd97;}[_0x124287(0x254)](_0x48ebf4){const _0xdfe388=_0x124287;return this[_0xdfe388(0x286)](!!(_0x48ebf4!=null&&_0x48ebf4['isPermissionRej']));}[_0x124287(0x2f3)](_0x45c2d6){const _0x31b311=_0x124287;return this['_maxTotalRetryTimeout']>_0x3b6510?this[_0x31b311(0x38a)]():(this['_resendTimer']=_0xf06eea(this['_resendTimeout'],{'timeout':this[_0x31b311(0x3ba)],'reqId':_0x45c2d6['reqId']}),this[_0x31b311(0x3d1)]=this['_resendTimer'][_0x31b311(0x3b6)](({reqId:_0x47a28f,timeout:_0x68bd02})=>{const _0x59502e=_0x31b311;this[_0x59502e(0x3da)](_0x47a28f,_0x68bd02);}),this);}['toggleOffline'](){const _0x31c5d7=_0x124287;return this[_0x31c5d7(0x210)](),this[_0x31c5d7(0x2ed)][_0x31c5d7(0x236)](_0x24826c,this[_0x31c5d7(0x3c1)],this['type'],this[_0x31c5d7(0x2d5)],[],this[_0x31c5d7(0x3f7)]);}[_0x124287(0x38e)](){return this;}[_0x124287(0x2b1)](){const _0xb48f91=_0x124287;this[_0xb48f91(0x3f7)][_0xb48f91(0x19b)](this[_0xb48f91(0x2d5)]);}[_0x124287(0x286)](_0x8d595d){const _0x32d173=_0x124287;return this['_clearScheduledTask'](),this[_0x32d173(0x2ed)][_0x32d173(0x236)](_0x5171e4,this[_0x32d173(0x3c1)],this[_0x32d173(0x3b3)],this['_awaitingChangeset'],[],this[_0x32d173(0x3f7)],_0x8d595d);}['_resendWithTimeout'](_0x25a423,_0x5df4df){const _0x5f5644=_0x124287;var _0x3b1450;_0x25a423===((_0x3b1450=this[_0x5f5644(0x2d5)])==null?void 0x0:_0x3b1450['reqId'])&&(this[_0x5f5644(0x2b1)](),this[_0x5f5644(0x3ba)]=_0x5df4df===0x0?0x3e8:Math[_0x5f5644(0x204)](_0x5df4df*0x2,_0x3ea5c4),this[_0x5f5644(0x27d)]+=this[_0x5f5644(0x3ba)]);}['_clearScheduledTask'](){const _0x10e1a3=_0x124287;var _0x524d8a;(_0x524d8a=this[_0x10e1a3(0x3d1)])==null||_0x524d8a[_0x10e1a3(0x2b8)](),this[_0x10e1a3(0x3ba)]=0x0,this[_0x10e1a3(0x27d)]=0x0;}};_0x5d6712=_0x1b6f2e=_0x131186([_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x5,(0x0,_0x38d3af['Inject'])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0x6,_0x38d3af['ICommandService']),_0x22bf51(0x7,_0x38d3af['ILogService']),_0x22bf51(0x8,_0x25767b[_0x124287(0x290)]),_0x22bf51(0x9,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0xa,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x5d6712);let _0x348457=_0x2f13b0=class extends _0x82d669{constructor(_0x10d82e,_0x2afa24,_0x3a300f,_0x5ab727,_0x5b8166,_0x314678,_0x2c74fa,_0x37055d,_0x1de362,_0x493760,_0x24e4c5,_0x1fcd78,_0x4840fd){const _0x52006b=_0x124287;super(_0x10d82e,_0x2afa24,_0x3a300f,_0x5ab727,_0x5b8166,_0x1de362,_0x1fcd78,_0x37055d,_0x4840fd),this[_0x52006b(0x2ed)]=_0x2c74fa,this[_0x52006b(0x1d8)]=_0x493760,this[_0x52006b(0x1dd)]=_0x24e4c5,this[_0x52006b(0x476)]=_0x4840fd,_0x50ece2(this,'status',_0x52006b(0x1ec)),_0x50ece2(this,_0x52006b(0x3ba),0x0),_0x50ece2(this,_0x52006b(0x27d),0x0),_0x50ece2(this,'_resendTimer',void 0x0),_0x50ece2(this,'_sender',void 0x0),_0x314678&&(this['_resendTimer']=_0x314678,this[_0x52006b(0x3d1)]=this[_0x52006b(0x194)][_0x52006b(0x3b6)](({reqId:_0x3dea1a,timeout:_0x36fad1})=>{this['_resendWithTimeout'](_0x3dea1a,_0x36fad1);}));}[_0x124287(0x3db)](_0xafe9f7){const _0x31fce1=_0x124287;return this['_pendingMutations'][_0x31fce1(0x385)](_0xafe9f7),this;}['onRemoteChangeset'](_0x18df8f){const _0x360115=_0x124287;if(this[_0x360115(0x3f2)](_0x18df8f))return this[_0x360115(0x210)](),this[_0x360115(0x2ed)][_0x360115(0x236)](_0xfc54a4,this[_0x360115(0x3c1)],this[_0x360115(0x3b3)],this['_awaitingChangeset'],this[_0x360115(0x26b)],null,[_0x18df8f],this[_0x360115(0x3f7)]);try{let _0x5a1ccf=this[_0x360115(0x1dd)][_0x360115(0x377)]([_0x18df8f],[this[_0x360115(0x2d5)]],!0x1);if((0x0,_0x25767b[_0x360115(0x322)])(_0x5a1ccf)){let {c1Prime:_0x4df958,c2Prime:_0x4bfd38}=_0x5a1ccf,_0x42659f=this[_0x360115(0x1dd)]['transformMutationsWithChangeset'](_0x4df958[0x0],this[_0x360115(0x26b)]);if((0x0,_0x25767b[_0x360115(0x1a7)])(_0x42659f)){let {c1Prime:_0x28ee0d,m2Prime:_0x17c4b6}=_0x42659f;return this[_0x360115(0x426)](_0x28ee0d),_0x4bfd38[0x0][_0x360115(0x233)]=this['_getCurrentRevision'](),this[_0x360115(0x210)](),this[_0x360115(0x2ed)][_0x360115(0x236)](_0x2f13b0,this['unitID'],this[_0x360115(0x3b3)],_0x4bfd38[0x0],_0x17c4b6,this['_handler'],void 0x0);}throw _0x42659f['error'];}throw _0x5a1ccf[_0x360115(0x338)];}catch(_0x19ad1b){return this[_0x360115(0x1d8)][_0x360115(0x338)](_0x19ad1b),this[_0x360115(0x286)](!0x1);}}[_0x124287(0x18f)](_0x284193){const _0x477eb7=_0x124287;this[_0x477eb7(0x210)]();let _0x1d906c=this[_0x477eb7(0x277)]();if(_0x284193[_0x477eb7(0x376)]<=_0x1d906c)return this;if(this['_checkMissing'](_0x284193))return this['_injector'][_0x477eb7(0x236)](_0xfc54a4,this[_0x477eb7(0x3c1)],this[_0x477eb7(0x3b3)],this['_awaitingChangeset'],this[_0x477eb7(0x26b)],_0x284193[_0x477eb7(0x376)],[],this['_handler']);this['_incrementRevisionNumber']();let _0xf49ef9=this['_injector']['createInstance'](_0x2411fe,this['unitID'],this['type'],this[_0x477eb7(0x26b)],this[_0x477eb7(0x3f7)]);return _0xf49ef9['_schedule'](),_0xf49ef9[_0x477eb7(0x2ae)](),_0xf49ef9;}['onRemoteRej'](_0x2feec1){const _0x510ee1=_0x124287;return this[_0x510ee1(0x286)](!!(_0x2feec1!=null&&_0x2feec1[_0x510ee1(0x438)]));}[_0x124287(0x2f3)](_0x17dd0e){const _0x4865bf=_0x124287;return this[_0x4865bf(0x27d)]>_0x3b6510?this[_0x4865bf(0x38a)]():(this[_0x4865bf(0x194)]=_0xf06eea(this[_0x4865bf(0x3ba)],{'timeout':this['_resendTimeout'],'reqId':_0x17dd0e['reqId']}),this['_sender']=this[_0x4865bf(0x194)][_0x4865bf(0x3b6)](({reqId:_0x4c7cae,timeout:_0x68e263})=>{const _0x4c2d49=_0x4865bf;this[_0x4c2d49(0x3da)](_0x4c7cae,_0x68e263);}),this);}[_0x124287(0x38a)](){const _0x5d023e=_0x124287;return this[_0x5d023e(0x210)](),this[_0x5d023e(0x2ed)][_0x5d023e(0x236)](_0x24826c,this[_0x5d023e(0x3c1)],this[_0x5d023e(0x3b3)],this[_0x5d023e(0x2d5)],this['_pendingMutations'],this[_0x5d023e(0x3f7)]);}[_0x124287(0x38e)](){return this;}[_0x124287(0x2b1)](){const _0x2af994=_0x124287;this[_0x2af994(0x3f7)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x124287(0x286)](_0x2dac5d){const _0xe80cff=_0x124287;return this[_0xe80cff(0x210)](),this['_injector'][_0xe80cff(0x236)](_0x5171e4,this[_0xe80cff(0x3c1)],this['type'],null,this[_0xe80cff(0x26b)],this[_0xe80cff(0x3f7)],_0x2dac5d);}[_0x124287(0x3da)](_0x48630d,_0x1d02f6){const _0x21b2f3=_0x124287;var _0x8c9f7;_0x48630d===((_0x8c9f7=this[_0x21b2f3(0x2d5)])==null?void 0x0:_0x8c9f7['reqId'])&&(this[_0x21b2f3(0x2b1)](),this[_0x21b2f3(0x3ba)]=_0x1d02f6===0x0?0x3e8:Math['min'](_0x1d02f6*0x2,_0x3ea5c4),this['_maxTotalRetryTimeout']+=this[_0x21b2f3(0x3ba)]);}['_clearScheduledTask'](){const _0x4507d9=_0x124287;var _0x2e0f28;(_0x2e0f28=this[_0x4507d9(0x3d1)])==null||_0x2e0f28[_0x4507d9(0x2b8)](),this['_resendTimeout']=0x0,this[_0x4507d9(0x27d)]=0x0;}};_0x348457=_0x2f13b0=_0x131186([_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x7,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0x8,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0x9,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0xa,_0x25767b['ITransformService']),_0x22bf51(0xb,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0xc,(0x0,_0x38d3af['Optional'])(_0x19c832))],_0x348457);let _0x5171e4=class extends _0x82d669{constructor(_0x73801d,_0xa31f59,_0x134ab8,_0x1ccf88,_0x1cdd22,_0x1ec46b=!0x1,_0x2a4ef7,_0x151e99,_0x2db95d,_0x25293d,_0x543635,_0x426ea0,_0x2458d6){const _0x415157=_0x124287;super(_0x73801d,_0xa31f59,_0x134ab8,_0x1ccf88,_0x1cdd22,_0x151e99,_0x2db95d,_0x25293d,_0x2458d6),this['_isPermissionRej']=_0x1ec46b,this['_permissionService']=_0x2a4ef7,this[_0x415157(0x42f)]=_0x543635,this[_0x415157(0x301)]=_0x426ea0,this[_0x415157(0x476)]=_0x2458d6,_0x50ece2(this,'status',_0x415157(0x422)),this[_0x415157(0x2dd)](),this[_0x415157(0x217)](),this[_0x415157(0x387)]();}[_0x124287(0x3db)](){return this;}[_0x124287(0x40a)](){return this;}[_0x124287(0x18f)](){return this;}['onRemoteRej'](){return this;}[_0x124287(0x2f3)](){return this;}[_0x124287(0x38a)](){return this;}[_0x124287(0x38e)](){return this;}['resend'](){const _0x34d29e=_0x124287;throw Error(_0x34d29e(0x379));}[_0x124287(0x217)](){const _0xb22869=_0x124287;var _0x5e645c;(_0x5e645c=this[_0xb22869(0x312)])==null||_0x5e645c['updateOfflineData'](this[_0xb22869(0x3c1)],this[_0xb22869(0x3b3)],null,[]);}[_0x124287(0x2dd)](){const _0x337a12=_0x124287;this[_0x337a12(0x35c)]?this['_collaborationUIEventService']['emitEvent']({'id':_0x337a12(0x41e)}):this[_0x337a12(0x301)][_0x337a12(0x3ae)]({'id':_0x337a12(0x3cd)});}['_disableEditing'](){const _0x38c47e=_0x124287;this[_0x38c47e(0x2ef)][_0x38c47e(0x2b9)](new _0x4606ad[(_0x38c47e(0x331))](this[_0x38c47e(0x3c1)])['id'],!0x1);}};_0x5171e4=_0x131186([_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3f1)])),_0x22bf51(0x7,_0x38d3af['ICommandService']),_0x22bf51(0x8,_0x38d3af['IUndoRedoService']),_0x22bf51(0x9,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0xa,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['LocaleService'])),_0x22bf51(0xb,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x3b3560)),_0x22bf51(0xc,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x5171e4);let _0x24826c=class extends _0x82d669{constructor(_0xf39431,_0x56176b,_0x1546b0,_0x2e5ffc,_0xfa4838,_0x246ac8,_0x4353b7,_0x5ec223,_0x5e2463,_0x253741){const _0x565f06=_0x124287;super(_0xf39431,_0x56176b,_0x1546b0,_0x2e5ffc,_0xfa4838,_0x5ec223,_0x5e2463,_0x4353b7,_0x253741),this[_0x565f06(0x2ed)]=_0x246ac8,_0x50ece2(this,_0x565f06(0x2b5),'offline');}[_0x124287(0x3db)](_0x80886a){const _0x225ef8=_0x124287;return this[_0x225ef8(0x26b)]['push'](_0x80886a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x569456){const _0x11b75d=_0x124287;throw Error(_0x11b75d(0x31b));}[_0x124287(0x18f)](){const _0x600a0=_0x124287;throw Error(_0x600a0(0x206));}[_0x124287(0x254)](){const _0x35e5b7=_0x124287;throw Error(_0x35e5b7(0x44e));}[_0x124287(0x2f3)](){return this;}[_0x124287(0x38a)](){return this;}[_0x124287(0x38e)](){const _0x279de9=_0x124287;let {_injector:_0x2647b7,_pendingMutations:_0x49b56d,_awaitingChangeset:_0x4008c5,unitID:_0x15f818,_handler:_0x1571e6,type:_0x4c4298}=this,_0x53d18c=_0x1be2e5(_0x2647b7,_0x15f818,_0x4c4298,_0x4008c5,_0x49b56d,_0x1571e6);return _0x53d18c instanceof _0x2411fe?_0x53d18c[_0x279de9(0x49b)]():(_0x53d18c instanceof _0x348457||_0x53d18c instanceof _0x5d6712)&&_0x53d18c[_0x279de9(0x2b1)](),_0x53d18c;}['resend'](){const _0x4c301f=_0x124287;throw Error(_0x4c301f(0x492));}};_0x24826c=_0x131186([_0x22bf51(0x5,(0x0,_0x38d3af['Inject'])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x6,(0x0,_0x38d3af['Inject'])(_0x25767b[_0x124287(0x308)])),_0x22bf51(0x7,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0x8,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0x9,(0x0,_0x38d3af['Optional'])(_0x19c832))],_0x24826c);let _0xfc54a4=class extends _0x82d669{constructor(_0xac67fe,_0x3294dc,_0x1e46e7,_0xaf0e8c,_0x518428,_0x599f5b,_0x3fbc2f,_0xacb1ff,_0x4fcfcb,_0x1f632b,_0xe0fe8b,_0x496277,_0x33c834,_0x38dd40){const _0x401195=_0x124287;super(_0xac67fe,_0x3294dc,_0x1e46e7,_0xaf0e8c,_0x3fbc2f,_0xe0fe8b,_0x496277,_0x4fcfcb,_0x38dd40),this[_0x401195(0x1cf)]=_0x518428,this['_queuedRemoteChangesets']=_0x599f5b,this[_0x401195(0x2ed)]=_0xacb1ff,this[_0x401195(0x1d8)]=_0x1f632b,this[_0x401195(0x1dd)]=_0x33c834,this[_0x401195(0x476)]=_0x38dd40,_0x50ece2(this,_0x401195(0x2b5),_0x401195(0x1c9));}[_0x124287(0x22b)](_0x57b5df){const _0x126faf=_0x124287;try{if(this['_handleRemoteChangesets'](_0x57b5df)[_0x126faf(0x49a)])throw Error('[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.');if(this[_0x126faf(0x288)]([...this[_0x126faf(0x1e2)]][_0x126faf(0x241)]((_0x52a577,_0xab584b)=>_0x52a577[_0x126faf(0x376)]-_0xab584b[_0x126faf(0x376)]))[_0x126faf(0x49a)])return this[_0x126faf(0x1e2)]=[],this['_updateLocalCache'](),this[_0x126faf(0x3f7)][_0x126faf(0x2c3)]({'from':this[_0x126faf(0x277)](),'to':0x0}),this;let _0x1c0b8a=this[_0x126faf(0x2d5)],_0x53e241=this[_0x126faf(0x26b)],_0x46d3e0;if(_0x1c0b8a&&_0x53e241[_0x126faf(0x48e)]!==0x0)_0x46d3e0=this[_0x126faf(0x2ed)]['createInstance'](_0x348457,this[_0x126faf(0x3c1)],this[_0x126faf(0x3b3)],_0x1c0b8a,_0x53e241,this[_0x126faf(0x3f7)],void 0x0);else{if(_0x1c0b8a&&_0x53e241[_0x126faf(0x48e)]===0x0)_0x1c0b8a[_0x126faf(0x233)]=this[_0x126faf(0x277)](),_0x46d3e0=this[_0x126faf(0x2ed)][_0x126faf(0x236)](_0x5d6712,this[_0x126faf(0x3c1)],this[_0x126faf(0x3b3)],_0x1c0b8a,this[_0x126faf(0x3f7)]);else{if(_0x53e241['length']!==0x0){let _0x10855d=this[_0x126faf(0x2ed)][_0x126faf(0x236)](_0x2411fe,this['unitID'],this[_0x126faf(0x3b3)],_0x53e241,this[_0x126faf(0x3f7)]);_0x10855d['_schedule'](),_0x46d3e0=_0x10855d;}else _0x46d3e0=this[_0x126faf(0x2ed)][_0x126faf(0x236)](_0x4e4794,this['unitID'],this[_0x126faf(0x3b3)],this[_0x126faf(0x3f7)]);}}return _0x46d3e0['_updateLocalCache'](),_0x46d3e0;}catch(_0x45bbf5){return this[_0x126faf(0x1d8)][_0x126faf(0x338)](_0x126faf(0x220),_0x126faf(0x33b),_0x45bbf5),this['_injector'][_0x126faf(0x236)](_0x5171e4,this[_0x126faf(0x3c1)],this[_0x126faf(0x3b3)],this[_0x126faf(0x2d5)],this[_0x126faf(0x26b)],this[_0x126faf(0x3f7)],!0x1);}}[_0x124287(0x288)](_0x3af63b){const _0x3e11ab=_0x124287;this[_0x3e11ab(0x464)]();for(let _0x1bfda3=0x0;_0x1bfda3<_0x3af63b['length'];_0x1bfda3++){let _0x45e86a=_0x3af63b[_0x1bfda3],_0x1aeac8=this[_0x3e11ab(0x277)]();if(!(_0x45e86a[_0x3e11ab(0x376)]<=_0x1aeac8)){if(_0x45e86a[_0x3e11ab(0x376)]>_0x1aeac8+0x1)return{'missingChangesets':!0x0};if(this[_0x3e11ab(0x329)](_0x45e86a)){this[_0x3e11ab(0x3fa)]();continue;}this['_transformAndApplyRemoteChangeset'](_0x45e86a),this[_0x3e11ab(0x464)]();}}return{'missingChangesets':!0x1};}[_0x124287(0x451)](_0x514ebb){const _0x28c44c=_0x124287;let _0x2a1ca6=_0x514ebb,_0x253efc=this['_awaitingChangeset'];if(_0x253efc){let _0x14bf05=this[_0x28c44c(0x1dd)][_0x28c44c(0x377)]([_0x514ebb],[_0x253efc],!0x1);if(!(0x0,_0x25767b[_0x28c44c(0x322)])(_0x14bf05))throw _0x14bf05[_0x28c44c(0x338)];_0x2a1ca6=_0x14bf05[_0x28c44c(0x1cd)][0x0],_0x253efc=_0x14bf05['c2Prime'][0x0];}let _0x73bb44=this[_0x28c44c(0x26b)];if(_0x73bb44[_0x28c44c(0x48e)]){let _0x48ae91=this[_0x28c44c(0x1dd)][_0x28c44c(0x3c7)](_0x2a1ca6,_0x73bb44);if(!(0x0,_0x25767b[_0x28c44c(0x1a7)])(_0x48ae91))throw _0x48ae91[_0x28c44c(0x338)];_0x2a1ca6=_0x48ae91[_0x28c44c(0x1cd)],_0x73bb44=_0x48ae91['m2Prime'];}this[_0x28c44c(0x426)](_0x2a1ca6),_0x253efc&&(_0x253efc[_0x28c44c(0x233)]=this['_getCurrentRevision']()),this[_0x28c44c(0x2d5)]=_0x253efc,this['_pendingMutations']=_0x73bb44;}['_acknowledgeAwaitingIfReady'](){const _0xb76594=_0x124287;if(!this[_0xb76594(0x2d5)]||this[_0xb76594(0x1cf)]==null)return;let _0x5d96e0=this[_0xb76594(0x277)]();if(this[_0xb76594(0x1cf)]<=_0x5d96e0)throw Error(_0xb76594(0x323)+this[_0xb76594(0x1cf)]+'.');this[_0xb76594(0x1cf)]===_0x5d96e0+0x1&&this[_0xb76594(0x3fa)]();}[_0x124287(0x3fa)](){const _0x2cf1e8=_0x124287;this['_incrementRevisionNumber'](),this[_0x2cf1e8(0x2d5)]=null,this['_acknowledgedAwaitingRevision']=null;}['_isEchoedAwaitingChangeset'](_0x39da92){const _0x3dfc3d=_0x124287;let _0x3795dc=this[_0x3dfc3d(0x2d5)];return!_0x3795dc||!_0x3795dc[_0x3dfc3d(0x342)]||_0x3795dc[_0x3dfc3d(0x2f2)]===null||_0x3795dc['reqId']===void 0x0?!0x1:_0x39da92[_0x3dfc3d(0x3c1)]===_0x3795dc[_0x3dfc3d(0x3c1)]&&_0x39da92[_0x3dfc3d(0x342)]===_0x3795dc[_0x3dfc3d(0x342)]&&_0x39da92['reqId']===_0x3795dc['reqId'];}[_0x124287(0x2b1)](){const _0x192176=_0x124287;throw Error(_0x192176(0x1d7));}[_0x124287(0x3db)](_0x3014c4){const _0x123993=_0x124287;return this[_0x123993(0x26b)][_0x123993(0x385)](_0x3014c4),this;}[_0x124287(0x40a)](_0x26e9c3){const _0x57f403=_0x124287;return this[_0x57f403(0x1e2)][_0x57f403(0x385)](_0x26e9c3),this;}[_0x124287(0x18f)](_0x5edfc4){const _0x2be68a=_0x124287;if(this[_0x2be68a(0x2d5)]){let _0xf271b2=this[_0x2be68a(0x277)]();return _0x5edfc4[_0x2be68a(0x376)]<=_0xf271b2||(_0xf271b2+0x1===_0x5edfc4[_0x2be68a(0x376)]?(this[_0x2be68a(0x434)](),this[_0x2be68a(0x2d5)]=null,this[_0x2be68a(0x1cf)]=null):this[_0x2be68a(0x1cf)]=_0x5edfc4[_0x2be68a(0x376)]),this;}if(_0x5edfc4[_0x2be68a(0x376)]<=this[_0x2be68a(0x277)]())return this;throw Error(_0x2be68a(0x494));}[_0x124287(0x254)](_0x24f33e){const _0x32a7eb=_0x124287;return this[_0x32a7eb(0x286)](!!(_0x24f33e!=null&&_0x24f33e[_0x32a7eb(0x438)]));}[_0x124287(0x2f3)](){return this;}[_0x124287(0x38a)](){const _0x20e178=_0x124287;return this[_0x20e178(0x2ed)][_0x20e178(0x236)](_0x24826c,this['unitID'],this[_0x20e178(0x3b3)],this[_0x20e178(0x2d5)],this[_0x20e178(0x26b)],this['_handler']);}['toggleOnline'](){return this;}[_0x124287(0x286)](_0x1e91a4){const _0x17f60f=_0x124287;return this[_0x17f60f(0x2ed)][_0x17f60f(0x236)](_0x5171e4,this['unitID'],this['type'],this[_0x17f60f(0x2d5)],this[_0x17f60f(0x26b)],this[_0x17f60f(0x3f7)],_0x1e91a4);}};_0xfc54a4=_0x131186([_0x22bf51(0x7,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x8,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b['RevisionService'])),_0x22bf51(0x9,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0xa,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0xb,_0x38d3af[_0x124287(0x2b7)]),_0x22bf51(0xc,_0x25767b[_0x124287(0x290)]),_0x22bf51(0xd,(0x0,_0x38d3af['Optional'])(_0x19c832))],_0xfc54a4);function _0x1be2e5(_0x419a3c,_0x42ac00,_0x555e6a,_0x415cb9,_0x52fefa,_0x288d1c){const _0x1cc4ec=_0x124287;return _0x415cb9&&_0x52fefa[_0x1cc4ec(0x48e)]?_0x419a3c[_0x1cc4ec(0x236)](_0x348457,_0x42ac00,_0x555e6a,_0x415cb9,_0x52fefa,_0x288d1c,void 0x0):_0x415cb9?_0x419a3c[_0x1cc4ec(0x236)](_0x5d6712,_0x42ac00,_0x555e6a,_0x415cb9,_0x288d1c):_0x52fefa[_0x1cc4ec(0x48e)]?_0x419a3c[_0x1cc4ec(0x236)](_0x2411fe,_0x42ac00,_0x555e6a,_0x52fefa,_0x288d1c):_0x419a3c['createInstance'](_0x4e4794,_0x42ac00,_0x555e6a,_0x288d1c);}let _0x5817aa=class extends _0x38d3af[_0x124287(0x345)]{get[_0x124287(0x373)](){return this['_state'];}constructor(_0x1a6596,_0x374b5f,_0x316473,_0x4880bd,_0x5156fc,_0x4b968e,_0x2982c0,_0xa2020c,_0x5bea0c,_0x523e3a,_0x4cbebe,_0x47361a,_0x19f0c1,_0x3d3bd9){const _0x40d0b4=_0x124287;super(),this['unitID']=_0x1a6596,this[_0x40d0b4(0x303)]=_0x374b5f,this['_type']=_0x316473,this[_0x40d0b4(0x2ed)]=_0x4880bd,this[_0x40d0b4(0x1ce)]=_0x5156fc,this[_0x40d0b4(0x42f)]=_0x4b968e,this[_0x40d0b4(0x370)]=_0x2982c0,this['_eventService']=_0xa2020c,this['_univerInstanceService']=_0x5bea0c,this[_0x40d0b4(0x1d8)]=_0x523e3a,this[_0x40d0b4(0x363)]=_0x4cbebe,this[_0x40d0b4(0x2ef)]=_0x47361a,this[_0x40d0b4(0x273)]=_0x19f0c1,this['_localCacheService']=_0x3d3bd9,_0x50ece2(this,_0x40d0b4(0x209),new _0x282118['BehaviorSubject'](null)),_0x50ece2(this,_0x40d0b4(0x18a),this[_0x40d0b4(0x209)][_0x40d0b4(0x433)]()),_0x50ece2(this,_0x40d0b4(0x2eb),void 0x0),_0x50ece2(this,'_collaborationPaused',!0x1),_0x50ece2(this,_0x40d0b4(0x367),''),_0x50ece2(this,'_changesetReqId',0x0),_0x50ece2(this,_0x40d0b4(0x34e),this['state$'][_0x40d0b4(0x1d2)]((0x0,_0x282118[_0x40d0b4(0x375)])(_0x18a5dd=>_0x18a5dd?_0x18a5dd[_0x40d0b4(0x2b5)]:_0x40d0b4(0x3ce)),(0x0,_0x282118[_0x40d0b4(0x1a5)])(0x1))),_0x50ece2(this,_0x40d0b4(0x3bc),!0x1),_0x50ece2(this,_0x40d0b4(0x22f),[]);}async[_0x124287(0x49d)](){const _0x4d1792=_0x124287;if(this['state'])throw Error(_0x4d1792(0x368));await this[_0x4d1792(0x486)]();}[_0x124287(0x418)](){const _0x36e9ae=_0x124287;return this[_0x36e9ae(0x1f0)]=!0x0,(0x0,_0x38d3af['toDisposable'])(()=>{const _0x518ea6=_0x36e9ae;this[_0x518ea6(0x1f0)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x124287(0x365)](_0x5974ec){const _0x241331=_0x124287;this[_0x241331(0x1ee)](_0x5974ec);}[_0x124287(0x47a)](_0x4a437b){const _0x1f4301=_0x124287;this[_0x1f4301(0x2eb)]=_0x4a437b,this['_state$'][_0x1f4301(0x469)](_0x4a437b);}async[_0x124287(0x486)](){const _0x38c7c1=_0x124287;if(this[_0x38c7c1(0x47a)](await this[_0x38c7c1(0x1b8)]()),this[_0x38c7c1(0x273)]){var _0x8a9603;(_0x8a9603=this[_0x38c7c1(0x273)])==null||_0x8a9603[_0x38c7c1(0x35f)](this['unitID']),this['disposeWithMe'](this[_0x38c7c1(0x273)][_0x38c7c1(0x2ff)](this['unitID'])[_0x38c7c1(0x3b6)](_0x5778c2=>{const _0x5da15d=_0x38c7c1;this['_logService'][_0x5da15d(0x215)](_0x5da15d(0x2c0),_0x5da15d(0x343),_0x5778c2),_0x5778c2===0x1?(this[_0x5da15d(0x46b)][_0x5da15d(0x3ae)]({'id':_0x5da15d(0x2ab)}),this[_0x5da15d(0x2ef)][_0x5da15d(0x2b9)](new _0x4606ad[(_0x5da15d(0x331))](this[_0x5da15d(0x3c1)])['id'],!0x1),this[_0x5da15d(0x2ef)]['setShowComponents'](!0x1)):(this[_0x5da15d(0x2ef)][_0x5da15d(0x2b9)](new _0x4606ad[(_0x5da15d(0x331))](this[_0x5da15d(0x3c1)])['id'],!0x0),this[_0x5da15d(0x2ef)][_0x5da15d(0x37f)](!0x0));}));}let _0x50dbcf=!0x1;return this[_0x38c7c1(0x334)](this[_0x38c7c1(0x303)][_0x38c7c1(0x1c0)][_0x38c7c1(0x3b6)](_0x2ecc23=>{_0x2ecc23===0x3?this['_toggleOnline'](_0x50dbcf):_0x2ecc23===0x2&&(_0x50dbcf=!0x0,this['_toggleOffline']());})),this[_0x38c7c1(0x334)](this['session'][_0x38c7c1(0x36b)][_0x38c7c1(0x3b6)](_0x2a2f7e=>{const _0x5b647e=_0x38c7c1;try{switch(_0x2a2f7e[_0x5b647e(0x2af)]){case _0x25767b[_0x5b647e(0x48c)]['NEW_CHANGESETS']:this['_onRemoteChangeset']((0x0,_0x25767b[_0x5b647e(0x26f)])(_0x2a2f7e[_0x5b647e(0x1c3)]));break;case _0x25767b[_0x5b647e(0x48c)][_0x5b647e(0x27b)]:this[_0x5b647e(0x185)](_0x2a2f7e[_0x5b647e(0x1c3)]);break;case _0x25767b[_0x5b647e(0x48c)][_0x5b647e(0x314)]:this[_0x5b647e(0x4a4)]();break;case _0x25767b[_0x5b647e(0x48c)]['CHANGESET_SHOULD_RETRY']:this['_onRemoteRetry'](_0x2a2f7e[_0x5b647e(0x1c3)]);break;case _0x25767b[_0x5b647e(0x48c)][_0x5b647e(0x34b)]:this[_0x5b647e(0x249)](_0x2a2f7e['data']['changesets'][_0x5b647e(0x375)](_0x549a50=>(0x0,_0x25767b[_0x5b647e(0x26f)])(_0x549a50)));break;case _0x25767b['CollaborationEvent'][_0x5b647e(0x1ad)]:this[_0x5b647e(0x4a4)]({'isPermissionRej':!0x0});break;case _0x25767b[_0x5b647e(0x48c)]['UNISCRIPT_RUN']:break;}}catch(_0x26dcc1){throw console[_0x5b647e(0x338)](_0x5b647e(0x2fe),_0x26dcc1),_0x26dcc1;}})),this[_0x38c7c1(0x2eb)];}['_unlockTransition'](){const _0x1bdce5=_0x124287;this[_0x1bdce5(0x3bc)]=!0x1;}[_0x124287(0x317)](){const _0x375dcc=_0x124287;if(this[_0x375dcc(0x3bc)])throw Error(_0x375dcc(0x3dd));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x47b181){const _0x5ac513=_0x124287;this['_lockTransition'](),this[_0x5ac513(0x47a)](this[_0x5ac513(0x2eb)][_0x5ac513(0x3db)](_0x47b181)),this[_0x5ac513(0x1be)]();}['_onRemoteChangeset'](_0x2270f7){const _0x323a0b=_0x124287;if(!(_0x2270f7['revision']<=this['_revisionService'][_0x323a0b(0x21b)](this['unitID']))){if(this[_0x323a0b(0x1f0)]){this['_remoteChangesetQueue'][_0x323a0b(0x385)](_0x2270f7);return;}this['_applyRemoteChangeset'](_0x2270f7);}}[_0x124287(0x46a)](){const _0x5575f2=_0x124287;this[_0x5575f2(0x22f)][_0x5575f2(0x3eb)](_0x4f107a=>this[_0x5575f2(0x269)](_0x4f107a)),this[_0x5575f2(0x22f)]=[];}[_0x124287(0x269)](_0x29ef46){const _0x4fdad=_0x124287;let _0x104611=this[_0x4fdad(0x1ce)][_0x4fdad(0x330)][_0x4fdad(0x24a)](this['_compressMutationService']['interceptor'][_0x4fdad(0x193)]()[_0x4fdad(0x3e4)])(_0x29ef46[_0x4fdad(0x253)],null)||_0x29ef46[_0x4fdad(0x253)],_0x1d933f={..._0x29ef46,'mutations':_0x104611};this[_0x4fdad(0x317)](),this[_0x4fdad(0x47a)](this[_0x4fdad(0x2eb)][_0x4fdad(0x40a)](_0x1d933f)),this[_0x4fdad(0x1be)]();}[_0x124287(0x185)](_0x1e2679){const _0x51944e=_0x124287;this[_0x51944e(0x317)](),this[_0x51944e(0x47a)](this[_0x51944e(0x2eb)][_0x51944e(0x18f)](_0x1e2679)),this[_0x51944e(0x1be)]();}[_0x124287(0x4a4)](_0x8d5fc4){const _0x12e3e2=_0x124287;this['_lockTransition'](),this[_0x12e3e2(0x47a)](this[_0x12e3e2(0x2eb)]['onRemoteRej'](_0x8d5fc4)),this[_0x12e3e2(0x1be)]();}[_0x124287(0x47b)](_0x4ecf46){const _0x1b652c=_0x124287;this[_0x1b652c(0x317)](),this[_0x1b652c(0x47a)](this[_0x1b652c(0x2eb)]['onRemoteRetry'](_0x4ecf46)),this[_0x1b652c(0x1be)]();}[_0x124287(0x249)](_0x279722){const _0x5adaea=_0x124287;if(!(this['_state']instanceof _0xfc54a4))throw TypeError(_0x5adaea(0x3cc));let _0x3f3842=_0x279722[_0x5adaea(0x375)](_0x3b4735=>{const _0x9de909=_0x5adaea;let _0x587e81=this[_0x9de909(0x1ce)][_0x9de909(0x330)][_0x9de909(0x24a)](this[_0x9de909(0x1ce)][_0x9de909(0x330)][_0x9de909(0x193)]()['COMPRESS_MUTATION_APPLY'])(_0x3b4735[_0x9de909(0x253)],null)||_0x3b4735[_0x9de909(0x253)];return{..._0x3b4735,'mutations':_0x587e81};});this[_0x5adaea(0x317)](),this[_0x5adaea(0x47a)](this[_0x5adaea(0x2eb)][_0x5adaea(0x22b)](_0x3f3842)),this[_0x5adaea(0x1be)]();}[_0x124287(0x442)](){const _0x5ab3d8=_0x124287;this[_0x5ab3d8(0x317)](),this['_updateState'](this[_0x5ab3d8(0x2eb)][_0x5ab3d8(0x38a)]()),this[_0x5ab3d8(0x1be)]();}[_0x124287(0x2a2)](_0x39814f=!0x1){const _0x30197b=_0x124287;this['_lockTransition'](),this['_updateState'](this[_0x30197b(0x2eb)]['toggleOnline']()),this[_0x30197b(0x1be)]();let _0x2de0c1=this[_0x30197b(0x2eb)];_0x39814f&&_0x2de0c1 instanceof _0x4e4794&&(this[_0x30197b(0x317)](),this[_0x30197b(0x47a)](_0x2de0c1[_0x30197b(0x3f0)]()),this[_0x30197b(0x1be)]());}async['_createInitialState'](){return new Promise(_0x7d6ec0=>{const _0x498f27=_0x3817;this[_0x498f27(0x303)][_0x498f27(0x1c0)][_0x498f27(0x1d2)]((0x0,_0x282118[_0x498f27(0x374)])(0x1))[_0x498f27(0x3b6)](async _0x4365f2=>{const _0x393b2d=_0x498f27;_0x7d6ec0(await this[_0x393b2d(0x42c)](_0x4365f2===0x3));});});}[_0x124287(0x2c9)](){const _0x11bb83=_0x124287;let _0x1c0040=this[_0x11bb83(0x3c1)];return{'onStateChange':(_0x32f7d5,_0x11f73c)=>{const _0x52701f=_0x11bb83;if(_0x32f7d5!==this[_0x52701f(0x2eb)])throw Error(_0x52701f(0x3e1)+_0x32f7d5[_0x52701f(0x2b5)]+'\x0aAfter:\x20'+_0x11f73c[_0x52701f(0x2b5)]+_0x52701f(0x266)+this['_state']['status']);this['_updateState'](_0x11f73c);},'onSendChangeset':_0x59fb97=>{const _0x12421e=_0x11bb83;_0x59fb97[_0x12421e(0x342)]||(_0x59fb97['sid']=this[_0x12421e(0x367)],_0x59fb97['reqId']=++this[_0x12421e(0x225)]);let _0x7ad9b6={'eventID':_0x25767b['CollaborationEvent'][_0x12421e(0x3a5)],'data':{'unitID':_0x59fb97[_0x12421e(0x3c1)],'unitType':this[_0x12421e(0x42d)],'changeset':_0x59fb97,'memberID':this[_0x12421e(0x303)][_0x12421e(0x255)]()}};this[_0x12421e(0x303)][_0x12421e(0x432)](_0x7ad9b6,this[_0x12421e(0x3c1)]);},'onMissingChangesets':({from:_0x23c705,to:_0x20982e})=>{const _0x2ec1fc=_0x11bb83;this[_0x2ec1fc(0x1d8)][_0x2ec1fc(0x215)](_0x2ec1fc(0x2c0),_0x2ec1fc(0x214)+_0x23c705+_0x2ec1fc(0x2cf)+_0x20982e);let _0x43fb03={'eventID':_0x25767b[_0x2ec1fc(0x48c)]['FETCH_MISSING'],'data':{'unitID':_0x1c0040,'unitType':this['_type'],'from':_0x23c705,'to':_0x20982e}};this[_0x2ec1fc(0x303)][_0x2ec1fc(0x432)](_0x43fb03,this['unitID']);}};}async[_0x124287(0x42c)](_0x2f478c){const _0x32056a=_0x124287;var _0x27ba06,_0xc88ff2,_0x1b2c1f;let _0x185167=await((_0x27ba06=this['_localCacheService'])==null?void 0x0:_0x27ba06['loadOfflineData'](this[_0x32056a(0x3c1)])),_0x243b1d=(_0xc88ff2=_0x185167==null?void 0x0:_0x185167[_0x32056a(0x253)])==null?[]:_0xc88ff2,_0x32abf3=(_0x1b2c1f=_0x185167==null?void 0x0:_0x185167[_0x32056a(0x1c8)])==null?null:_0x1b2c1f,_0x250740=!!(_0x32abf3!=null&&_0x32abf3[_0x32056a(0x342)])&&!!(_0x32abf3!=null&&_0x32abf3[_0x32056a(0x2f2)]);this[_0x32056a(0x367)]=_0x250740?_0x32abf3['sid']:(0x0,_0x25767b[_0x32056a(0x499)])(),this[_0x32056a(0x225)]=_0x250740?_0x32abf3[_0x32056a(0x2f2)]:0x0;let _0x36edad=this[_0x32056a(0x3c1)];try{this['_replayCachedMutations'](_0x32abf3,_0x243b1d);}catch(_0x4ddfb3){this[_0x32056a(0x1d8)][_0x32056a(0x338)](_0x4ddfb3);}let _0x2c5774=this[_0x32056a(0x2c9)]();if(_0x2f478c){let _0x1585c2=_0x1be2e5(this[_0x32056a(0x2ed)],_0x36edad,this[_0x32056a(0x42d)],_0x32abf3,_0x243b1d,_0x2c5774);return _0x1585c2 instanceof _0x2411fe?_0x1585c2[_0x32056a(0x49b)]():(_0x1585c2 instanceof _0x348457||_0x1585c2 instanceof _0x5d6712)&&_0x1585c2[_0x32056a(0x2b1)](),_0x1585c2;}return this[_0x32056a(0x2ed)][_0x32056a(0x236)](_0x24826c,_0x36edad,this[_0x32056a(0x42d)],_0x32abf3,_0x243b1d,_0x2c5774);}[_0x124287(0x42e)](_0x2d2212,_0xb0f3a7){const _0x5e7291=_0x124287;var _0xfe8f7c,_0x5509c8;let _0x56e027=this[_0x5e7291(0x1ce)][_0x5e7291(0x330)]['fetchThroughInterceptors'](this[_0x5e7291(0x1ce)][_0x5e7291(0x330)][_0x5e7291(0x193)]()[_0x5e7291(0x3e4)]);(_0xfe8f7c=_0x56e027((_0x2d2212==null?void 0x0:_0x2d2212[_0x5e7291(0x253)])||[],null))==null||_0xfe8f7c[_0x5e7291(0x3eb)](_0x2b4f55=>this['_commandService'][_0x5e7291(0x319)](_0x2b4f55['id'],_0x2b4f55[_0x5e7291(0x3ad)])),(_0x5509c8=_0x56e027(_0xb0f3a7||[],null))==null||_0x5509c8['forEach'](_0x421e80=>this[_0x5e7291(0x363)][_0x5e7291(0x319)](_0x421e80['id'],_0x421e80[_0x5e7291(0x3ad)]));}};_0x5817aa=_0x131186([_0x22bf51(0x3,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['Injector'])),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x1ef)])),_0x22bf51(0x5,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['LocaleService'])),_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b['RevisionService'])),_0x22bf51(0x7,(0x0,_0x38d3af['Inject'])(_0x3b3560)),_0x22bf51(0x8,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0x9,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0xa,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0xb,_0x38d3af[_0x124287(0x3f1)]),_0x22bf51(0xc,(0x0,_0x38d3af[_0x124287(0x261)])(_0x1f80e9)),_0x22bf51(0xd,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x5817aa);let _0x4f76be=class extends _0x5817aa{constructor(_0x18b12a,_0x2caafd,_0x2f48f9,_0x3ac192,_0x5e7adf,_0x3904ca,_0x41df91,_0x2d2342,_0x3be0a7,_0x2959f2,_0x4de400,_0x508605,_0x4f0690,_0x48be3e){const _0x245cb1=_0x124287;super(_0x18b12a,_0x2f48f9,_0x2caafd,_0x3ac192,_0x5e7adf,_0x3904ca,_0x41df91,_0x2d2342,_0x3be0a7,_0x2959f2,_0x4de400,_0x508605,_0x4f0690,_0x48be3e),this['unitID']=_0x18b12a,this['type']=_0x2caafd,_0x50ece2(this,_0x245cb1(0x478),null);}[_0x124287(0x411)](_0x16c8b4){const _0x475fbc=_0x124287;this[_0x475fbc(0x478)]=_0x16c8b4;}[_0x124287(0x34a)](){const _0x2ba968=_0x124287;this[_0x2ba968(0x478)]=null,super[_0x2ba968(0x34a)]();}['_createHandler'](){const _0x17c107=_0x124287;let _0x5a7a63=super['_createHandler']();return _0x5a7a63[_0x17c107(0x307)]=_0x3feed6=>{const _0x4f741c=_0x17c107;var _0x434e19,_0x5abe20;return(_0x434e19=this[_0x4f741c(0x478)])==null||(_0x5abe20=_0x434e19['onTransformIME'])==null?void 0x0:_0x5abe20[_0x4f741c(0x3ab)](_0x434e19,_0x3feed6);},_0x5a7a63[_0x17c107(0x354)]=_0xb3c1b4=>{const _0x20bd92=_0x17c107;var _0x2f1f8f,_0x4d3fa4;return(_0x2f1f8f=this[_0x20bd92(0x478)])==null||(_0x4d3fa4=_0x2f1f8f[_0x20bd92(0x354)])==null?void 0x0:_0x4d3fa4['call'](_0x2f1f8f,_0xb3c1b4);},_0x5a7a63[_0x17c107(0x3bf)]=_0x139c85=>{const _0xab8f3e=_0x17c107;var _0x55c55b,_0x3743b4;return(_0x55c55b=this[_0xab8f3e(0x478)])==null||(_0x3743b4=_0x55c55b['onTransformSelections'])==null?void 0x0:_0x3743b4['call'](_0x55c55b,_0x139c85);},_0x5a7a63[_0x17c107(0x32b)]=_0x370531=>{const _0x192cd5=_0x17c107;var _0x2d4cc8,_0x56f4a3;return(_0x2d4cc8=this[_0x192cd5(0x478)])==null||(_0x56f4a3=_0x2d4cc8[_0x192cd5(0x32b)])==null?void 0x0:_0x56f4a3[_0x192cd5(0x3ab)](_0x2d4cc8,_0x370531);},_0x5a7a63[_0x17c107(0x3e5)]=_0x50976d=>{const _0x58a1d8=_0x17c107;var _0x41a503,_0x428a21,_0x568aa1;if(!((_0x41a503=this[_0x58a1d8(0x478)])!=null&&_0x41a503[_0x58a1d8(0x3e5)]))throw Error(_0x58a1d8(0x180));return(_0x428a21=this[_0x58a1d8(0x478)])==null||(_0x568aa1=_0x428a21[_0x58a1d8(0x3e5)])==null?void 0x0:_0x568aa1[_0x58a1d8(0x3ab)](_0x428a21,_0x50976d);},_0x5a7a63[_0x17c107(0x477)]=_0x5e776d=>{const _0x5e6e19=_0x17c107;var _0x4ca2cd,_0x2a95ad,_0x23933d;if(!((_0x4ca2cd=this['_handlerCallback'])!=null&&_0x4ca2cd[_0x5e6e19(0x477)]))throw Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2a95ad=this[_0x5e6e19(0x478)])==null||(_0x23933d=_0x2a95ad[_0x5e6e19(0x477)])==null?void 0x0:_0x23933d['call'](_0x2a95ad,_0x5e776d);},_0x5a7a63;}async[_0x124287(0x486)](){const _0x551495=_0x124287;let _0x2cb424=await super['_init']();return this[_0x551495(0x334)](this[_0x551495(0x363)][_0x551495(0x3ff)]((_0x2dc6c9,_0x2292c1)=>{const _0x50ea75=_0x551495;if(_0x2dc6c9[_0x50ea75(0x3b3)]!==_0x38d3af[_0x50ea75(0x20c)][_0x50ea75(0x3d7)]||_0x2292c1!=null&&_0x2292c1[_0x50ea75(0x20d)]||_0x2292c1!=null&&_0x2292c1[_0x50ea75(0x325)]||_0x2dc6c9['id']===_0x545c79[_0x50ea75(0x396)]['id'])return;let _0x3eca6f=_0x2dc6c9[_0x50ea75(0x3ad)];if((_0x3eca6f==null?void 0x0:_0x3eca6f[_0x50ea75(0x3e9)])!==this['unitID'])return;let _0x365a89=_0x2dc6c9,_0x4c1179=this[_0x50ea75(0x1ce)][_0x50ea75(0x330)]['fetchThroughInterceptors'](this[_0x50ea75(0x1ce)][_0x50ea75(0x330)]['getInterceptPoints']()[_0x50ea75(0x453)])([_0x365a89],this[_0x50ea75(0x29b)])||[_0x365a89];this[_0x50ea75(0x1ee)](_0x4c1179[0x0]);})),_0x2cb424;}};_0x4f76be=_0x131186([_0x22bf51(0x3,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x1ef)])),_0x22bf51(0x5,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['LocaleService'])),_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b['RevisionService'])),_0x22bf51(0x7,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x3b3560)),_0x22bf51(0x8,_0x38d3af['IUniverInstanceService']),_0x22bf51(0x9,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0xa,_0x38d3af[_0x124287(0x3c3)]),_0x22bf51(0xb,_0x38d3af[_0x124287(0x3f1)]),_0x22bf51(0xc,(0x0,_0x38d3af[_0x124287(0x261)])(_0x1f80e9)),_0x22bf51(0xd,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x4f76be);let _0xc23225=class extends _0x5817aa{constructor(_0x3db9d4,_0x30a439,_0x4ac6fe,_0x58b488,_0xbe0c21,_0xf6b556,_0x39d852,_0x59b6b8,_0x57fd09,_0x32aeeb,_0x2c1341,_0x308272,_0x37a79b,_0xac6192,_0x132f3a){const _0x55953c=_0x124287;super(_0x3db9d4,_0x4ac6fe,_0x30a439,_0x58b488,_0xbe0c21,_0xf6b556,_0x39d852,_0x57fd09,_0x32aeeb,_0x2c1341,_0x308272,_0x37a79b,_0xac6192,_0x132f3a),this[_0x55953c(0x3c1)]=_0x3db9d4,this['type']=_0x30a439,this['_sheetTransformSelectionsService']=_0x59b6b8;}[_0x124287(0x2c9)](){const _0x59b41e=_0x124287;let _0x2b0148=super[_0x59b41e(0x2c9)]();return _0x2b0148[_0x59b41e(0x3bf)]=_0x4e59c1=>this[_0x59b41e(0x199)][_0x59b41e(0x203)](_0x4e59c1),_0x2b0148;}async[_0x124287(0x486)](){const _0x12df9c=_0x124287;let _0x3729f6=await super[_0x12df9c(0x486)]();return this[_0x12df9c(0x334)](this[_0x12df9c(0x363)][_0x12df9c(0x3ff)]((_0x41263c,_0x369073)=>{const _0x178516=_0x12df9c;if(_0x41263c[_0x178516(0x3b3)]!==_0x38d3af[_0x178516(0x20c)][_0x178516(0x3d7)]||_0x369073!=null&&_0x369073['fromCollab']||_0x369073!=null&&_0x369073[_0x178516(0x325)])return;let _0x99c9f5=_0x41263c[_0x178516(0x3ad)];if((_0x99c9f5==null?void 0x0:_0x99c9f5[_0x178516(0x3e9)])!==this[_0x178516(0x3c1)])return;let _0x28f5fb=_0x41263c,_0x2eaf36=this[_0x178516(0x1ce)][_0x178516(0x330)][_0x178516(0x24a)](this[_0x178516(0x1ce)][_0x178516(0x330)][_0x178516(0x193)]()[_0x178516(0x453)])([_0x28f5fb],this[_0x178516(0x29b)])||[_0x28f5fb];this[_0x178516(0x1ee)](_0x2eaf36[0x0]);})),_0x3729f6;}};_0xc23225=_0x131186([_0x22bf51(0x3,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['Injector'])),_0x22bf51(0x4,(0x0,_0x38d3af['Inject'])(_0x25767b[_0x124287(0x1ef)])),_0x22bf51(0x5,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x461)])),_0x22bf51(0x6,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b['RevisionService'])),_0x22bf51(0x7,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x108e5e)),_0x22bf51(0x8,(0x0,_0x38d3af['Inject'])(_0x3b3560)),_0x22bf51(0x9,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0xa,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0xb,_0x38d3af['ICommandService']),_0x22bf51(0xc,_0x38d3af['IPermissionService']),_0x22bf51(0xd,(0x0,_0x38d3af[_0x124287(0x261)])(_0x1f80e9)),_0x22bf51(0xe,(0x0,_0x38d3af['Optional'])(_0x19c832))],_0xc23225);let _0x530693=(0x0,_0x38d3af[_0x124287(0x302)])(_0x124287(0x27e));function _0x1195e2(_0x4fbd34){const _0x472e2d=_0x124287;let _0x198e72=_0x4fbd34[_0x472e2d(0x1c3)],_0x240eaf=JSON[_0x472e2d(0x313)](_0x198e72);switch(_0x240eaf[_0x472e2d(0x47e)]){case _0x3eeea2[_0x472e2d(0x27a)][_0x472e2d(0x416)]:case _0x3eeea2[_0x472e2d(0x27a)][_0x472e2d(0x3ee)]:{let _0x3d69e8=_0x240eaf['infoRsp'];return{..._0x240eaf,'data':_0x3d69e8,'cmd':_0x240eaf[_0x472e2d(0x47e)]};}case _0x3eeea2['CombCmd'][_0x472e2d(0x192)]:{let _0x47309f=_0x240eaf[_0x472e2d(0x201)];return{..._0x240eaf,'data':_0x47309f,'cmd':_0x240eaf[_0x472e2d(0x47e)]};}case _0x3eeea2[_0x472e2d(0x27a)]['RECV']:{let _0x10af82=_0x240eaf[_0x472e2d(0x48a)];switch(_0x10af82['eventID']){case _0x25767b[_0x472e2d(0x48c)]['PERMISSION_REJ']:var _0x4de959;return{..._0x240eaf,'data':{..._0x10af82,'data':(_0x4de959=_0x10af82['permissionRejEvent'])==null?void 0x0:_0x4de959['cs']},'cmd':_0x240eaf['cmd']};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x27b)]:var _0x2dea35;return{..._0x240eaf,'data':{..._0x10af82,'data':(_0x2dea35=_0x10af82[_0x472e2d(0x187)])==null?void 0x0:_0x2dea35['cs']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b['CollaborationEvent'][_0x472e2d(0x39b)]:var _0x5da07e;return{..._0x240eaf,'data':{..._0x10af82,'data':(_0x5da07e=_0x10af82[_0x472e2d(0x2e6)])==null?void 0x0:_0x5da07e['cs']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x314)]:var _0x35606f;return{..._0x240eaf,'data':{..._0x10af82,'data':(_0x35606f=_0x10af82['csRejEvent'])==null?void 0x0:_0x35606f['cs']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x31c)]:var _0x69f5d0;return{..._0x240eaf,'data':{..._0x10af82,'data':(_0x69f5d0=_0x10af82['csShouldRetryEvent'])==null?void 0x0:_0x69f5d0['cs']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x291)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x20f)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b['CollaborationEvent']['USERS_ENTER']:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82['joinEvent']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x39c)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x2fa)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x247)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82['liveShareNewHost']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x21f)]:case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x2bd)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x390)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)]['LIVESHARE_TERMINATE']:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82['liveShareNewHost']},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x34d)]:return{..._0x240eaf,'data':_0x10af82,'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x1ab)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x243)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b['CollaborationEvent'][_0x472e2d(0x24b)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x350)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x431)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x321)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};case _0x25767b[_0x472e2d(0x48c)][_0x472e2d(0x1a9)]:return{..._0x240eaf,'data':{..._0x10af82,'data':_0x10af82[_0x472e2d(0x369)]},'cmd':_0x240eaf[_0x472e2d(0x47e)]};default:return _0x240eaf;}}default:return _0x240eaf;}}function _0x12070a(_0x1a0ae5){const _0x567fcc=_0x124287;switch(_0x1a0ae5['cmd']){case _0x3eeea2[_0x567fcc(0x27a)][_0x567fcc(0x416)]:case _0x3eeea2[_0x567fcc(0x27a)]['HELLO']:return JSON[_0x567fcc(0x1d1)]({'cmd':_0x1a0ae5[_0x567fcc(0x47e)],'routeKey':_0x1a0ae5['routeKey']});case _0x3eeea2[_0x567fcc(0x27a)][_0x567fcc(0x440)]:{let _0x5b1d5f;switch(_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x2af)]){case _0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x291)]:_0x5b1d5f={'eventID':_0x25767b['CollaborationEvent'][_0x567fcc(0x291)],'updateCursorEvent':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x1c3)]};break;case _0x25767b[_0x567fcc(0x48c)]['USERS_LEAVE']:_0x5b1d5f={'eventID':_0x25767b['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x1c3)]};break;case _0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x245)]:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)]['USERS_ENTER'],'joinEvent':_0x1a0ae5[_0x567fcc(0x1c3)]['data']};break;case _0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x247)]:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x247)],'liveShareNewHost':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x1c3)]};break;case _0x25767b['CollaborationEvent'][_0x567fcc(0x2bd)]:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x2bd)],'liveShareOperation':_0x1a0ae5['data'][_0x567fcc(0x1c3)]};break;case _0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x306)]:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x1c3)]};break;case _0x25767b[_0x567fcc(0x48c)]['LIVESHARE_REQUEST_HOST']:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x20e)],'liveShareRequestHost':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x1c3)]};break;case _0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x21f)]:_0x5b1d5f={'eventID':_0x25767b[_0x567fcc(0x48c)][_0x567fcc(0x21f)]};break;default:_0x5b1d5f={'eventID':_0x1a0ae5[_0x567fcc(0x1c3)][_0x567fcc(0x2af)]};}return JSON[_0x567fcc(0x1d1)]({'cmd':_0x1a0ae5[_0x567fcc(0x47e)],'routeKey':_0x1a0ae5['routeKey'],'collaMsg':_0x5b1d5f});}case _0x3eeea2[_0x567fcc(0x27a)][_0x567fcc(0x192)]:return JSON[_0x567fcc(0x1d1)]({'cmd':_0x1a0ae5['cmd'],'routeKey':_0x1a0ae5['routeKey'],'joinReq':_0x1a0ae5['data']});case _0x3eeea2[_0x567fcc(0x27a)][_0x567fcc(0x19c)]:return JSON[_0x567fcc(0x1d1)]({'cmd':_0x1a0ae5[_0x567fcc(0x47e)],'routeKey':_0x1a0ae5[_0x567fcc(0x420)],'leaveReq':_0x1a0ae5[_0x567fcc(0x1c3)]});default:throw Error(_0x567fcc(0x1e7));}}let _0x3a6db1=(0x0,_0x38d3af[_0x124287(0x302)])(_0x124287(0x183));function _0x4514b1(_0x578970,_0x205b87,_0x409a5c){const _0x5c8d5e=_0x124287;return _0x578970+'/'+_0x205b87+_0x5c8d5e(0x498)+_0x409a5c+_0x5c8d5e(0x28c);}let _0x441833=class extends _0x38d3af['Disposable']{constructor(_0x337641,_0x4d3086,_0x48071f,_0x390018,_0x4d74a8){const _0x2fa99f=_0x124287;super(),this[_0x2fa99f(0x2ed)]=_0x337641,this[_0x2fa99f(0x1d5)]=_0x4d3086,this[_0x2fa99f(0x344)]=_0x48071f,this[_0x2fa99f(0x1d8)]=_0x390018,this[_0x2fa99f(0x25f)]=_0x4d74a8;}[_0x124287(0x239)](_0x47230b){const _0x117152=_0x124287;let _0x5893b9=this[_0x117152(0x2ed)][_0x117152(0x23b)](_0x41d52c[_0x117152(0x2db)]);if(!_0x5893b9)throw Error(_0x117152(0x1ac));let _0x5b917a=_0x5893b9[_0x117152(0x348)](_0x47230b);if(!_0x5b917a)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');let _0x42bfb0=new _0x38d3af[(_0x117152(0x2c8))](),_0x1a3b73=new _0x282118[(_0x117152(0x3d2))]();_0x42bfb0[_0x117152(0x289)](_0x5b917a[_0x117152(0x1fc)][_0x117152(0x3b6)](_0x1fdee6=>_0x1a3b73[_0x117152(0x469)](_0x1fdee6))),_0x42bfb0[_0x117152(0x289)]((0x0,_0x38d3af[_0x117152(0x1bf)])(()=>_0x1a3b73[_0x117152(0x2f8)]()));let _0x32e3f7=new _0x282118[(_0x117152(0x3d2))]();_0x42bfb0[_0x117152(0x289)](_0x5b917a['error$'][_0x117152(0x3b6)](_0x1bd3cc=>_0x32e3f7[_0x117152(0x469)](_0x1bd3cc))),_0x42bfb0[_0x117152(0x289)]((0x0,_0x38d3af[_0x117152(0x1bf)])(()=>_0x32e3f7['complete']()));let _0x533ae4=new _0x282118[(_0x117152(0x3d2))]();_0x42bfb0[_0x117152(0x289)](_0x5b917a[_0x117152(0x278)][_0x117152(0x3b6)](_0x39bdd0=>{const _0x3bb895=_0x117152;let _0x11c9f5=_0x1195e2(_0x39bdd0);_0x533ae4[_0x3bb895(0x469)](_0x11c9f5);})),_0x42bfb0['add']((0x0,_0x38d3af[_0x117152(0x1bf)])(()=>_0x533ae4[_0x117152(0x2f8)]()));let _0x281192,_0x3e0946=()=>{const _0x41d876=_0x117152;_0x32e3f7[_0x41d876(0x469)](new Event(_0x41d876(0x1e3))),_0x1a3b73['next'](new Event(_0x41d876(0x1e3))),_0x281192[_0x41d876(0x439)]();};return _0x281192={'memberID':'','close$':_0x1a3b73['asObservable'](),'error$':_0x32e3f7['asObservable'](),'open$':_0x5b917a[_0x117152(0x340)],'message$':_0x533ae4[_0x117152(0x433)](),'send':_0x49ea00=>{const _0x3f3fca=_0x117152;if(_0x49ea00['cmd']===_0x3eeea2[_0x3f3fca(0x27a)][_0x3f3fca(0x440)]){if(_0x49ea00[_0x3f3fca(0x1c3)]['eventID']===_0x25767b[_0x3f3fca(0x48c)][_0x3f3fca(0x3a5)]){this[_0x3f3fca(0x409)](_0x281192,_0x49ea00[_0x3f3fca(0x1c3)])['catch'](_0x44d4b9=>{const _0x57bcb9=_0x3f3fca;this[_0x57bcb9(0x1d8)]['error'](_0x44d4b9),_0x3e0946();});return;}if(_0x49ea00[_0x3f3fca(0x1c3)][_0x3f3fca(0x2af)]===_0x25767b[_0x3f3fca(0x48c)][_0x3f3fca(0x3ed)]){let _0x32bf1e=_0x49ea00[_0x3f3fca(0x1c3)];this[_0x3f3fca(0x23a)](_0x32bf1e)[_0x3f3fca(0x488)](_0xa5bf66=>{const _0x59b08f=_0x3f3fca;_0x533ae4[_0x59b08f(0x469)]({'cmd':_0x3eeea2[_0x59b08f(0x27a)][_0x59b08f(0x1e6)],'code':_0x3eeea2['CmdRspCode']['OK'],'routeKey':_0x32bf1e[_0x59b08f(0x1c3)][_0x59b08f(0x3c1)],'routeType':'','data':{'eventID':_0x25767b['CollaborationEvent'][_0x59b08f(0x34b)],'data':{'changesets':_0xa5bf66}}});})['catch'](_0x322ea9=>{this['_logService']['error'](_0x322ea9),_0x3e0946();});return;}}_0x5b917a[_0x3f3fca(0x432)](_0x12070a(_0x49ea00));},'close':()=>{const _0x3a13ce=_0x117152;_0x5b917a[_0x3a13ce(0x439)](),_0x42bfb0[_0x3a13ce(0x34a)]();}},_0x281192;}async[_0x124287(0x409)](_0xd28028,_0x580637){const _0x4b3be1=_0x124287;var _0x3f2c0e;let {unitType:_0x353a08,unitID:_0x164a47,changeset:_0x4d33b9}=_0x580637[_0x4b3be1(0x1c3)],_0x361ef1={'unitID':_0x164a47,'memberID':_0xd28028['memberID'],'type':_0x353a08,'changeset':(0x0,_0x25767b['parseChangesetToProtocol'])(_0x4d33b9)},_0x53ffb3=this[_0x4b3be1(0x344)][_0x4b3be1(0x2ad)](_0xc791ca),_0x20d89a=_0x4514b1((_0x3f2c0e=_0x53ffb3==null?void 0x0:_0x53ffb3[_0x4b3be1(0x335)])==null?_0x4b3be1(0x2d4):_0x3f2c0e,_0x353a08,_0x164a47);try{await this[_0x4b3be1(0x1d5)]['post'](_0x20d89a,{'body':_0x361ef1});}catch(_0x46d6c9){throw this['_logService']['error'](_0x4b3be1(0x1bb),_0x4b3be1(0x28f)),_0x46d6c9;}}async[_0x124287(0x23a)](_0x2278b3){const _0x497d30=_0x124287;let {unitID:_0x4708c0,from:_0x4fc23e,to:_0x1f301a,unitType:_0x5d7c5a}=_0x2278b3[_0x497d30(0x1c3)];return(await this['_snapshotServerService'][_0x497d30(0x256)]({'metadata':void 0x0},{'unitID':_0x4708c0,'type':_0x5d7c5a,'from':_0x4fc23e,'to':_0x1f301a}))['changesets'][_0x497d30(0x375)](_0xd53370=>((_0xd53370[_0x497d30(0x253)]===null||_0xd53370[_0x497d30(0x253)]===void 0x0)&&(_0xd53370['mutations']=[]),_0xd53370));}};_0x441833=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['Injector'])),_0x22bf51(0x1,(0x0,_0x38d3af['Inject'])(_0x41d52c[_0x124287(0x46c)])),_0x22bf51(0x2,_0x38d3af[_0x124287(0x41d)]),_0x22bf51(0x3,_0x38d3af['ILogService']),_0x22bf51(0x4,_0x25767b[_0x124287(0x3be)])],_0x441833);let _0x4bcb39=class extends _0x38d3af[_0x124287(0x223)]{get[_0x124287(0x3a4)](){const _0x1df060=_0x124287;return this[_0x1df060(0x45f)]['getValue']();}constructor(_0x10aca2,_0x1e34e4,_0x36d5b6,_0xa97c10,_0x4ff9fe,_0x476e50){const _0x31d47a=_0x124287;super(),this[_0x31d47a(0x2ed)]=_0x10aca2,this[_0x31d47a(0x1d8)]=_0x1e34e4,this[_0x31d47a(0x344)]=_0x36d5b6,this[_0x31d47a(0x463)]=_0xa97c10,this[_0x31d47a(0x301)]=_0x4ff9fe,this['_networkConditionService']=_0x476e50,_0x50ece2(this,_0x31d47a(0x45f),new _0x282118[(_0x31d47a(0x279))](void 0x0)),_0x50ece2(this,_0x31d47a(0x3b9),this[_0x31d47a(0x45f)][_0x31d47a(0x433)]()),_0x50ece2(this,_0x31d47a(0x32c),null),_0x50ece2(this,_0x31d47a(0x382),new Map()),_0x50ece2(this,_0x31d47a(0x3e8),new _0x282118['BehaviorSubject'](0x0)),_0x50ece2(this,_0x31d47a(0x34e),this[_0x31d47a(0x3e8)][_0x31d47a(0x433)]()),_0x50ece2(this,_0x31d47a(0x1d3),!0x1),_0x50ece2(this,_0x31d47a(0x479),void 0x0),_0x50ece2(this,_0x31d47a(0x383),0x0),_0x50ece2(this,_0x31d47a(0x2d0),void 0x0),_0x50ece2(this,_0x31d47a(0x407),void 0x0),this[_0x31d47a(0x448)]();}[_0x124287(0x448)](){const _0x40c1ed=_0x124287;this[_0x40c1ed(0x1f6)]&&this[_0x40c1ed(0x334)](this[_0x40c1ed(0x1f6)][_0x40c1ed(0x20a)][_0x40c1ed(0x3b6)](_0x56ab1a=>{const _0xd3fc8a=_0x40c1ed;_0x56ab1a&&!this['_socket']&&this[_0xd3fc8a(0x328)](),_0x56ab1a||this[_0xd3fc8a(0x428)]();}));}[_0x124287(0x34a)](){const _0x4993d4=_0x124287;super[_0x4993d4(0x34a)](),this['_clearRetryConnectingTimer'](),this[_0x4993d4(0x3b0)](),this[_0x4993d4(0x447)](),this[_0x4993d4(0x382)][_0x4993d4(0x3eb)](_0x4aaa55=>_0x4aaa55[_0x4993d4(0x34a)]()),this[_0x4993d4(0x382)][_0x4993d4(0x25e)](),this['_status$'][_0x4993d4(0x2f8)]();}async[_0x124287(0x224)](_0x1a78d9){const _0x17414b=_0x124287;if(this['_sessions'][_0x17414b(0x2ac)](_0x1a78d9))return this['_sessions'][_0x17414b(0x23b)](_0x1a78d9);this[_0x17414b(0x32e)]();let _0xa8962e=this[_0x17414b(0x2ed)][_0x17414b(0x236)](_0x3be262,_0x1a78d9,this[_0x17414b(0x45f)][_0x17414b(0x433)]());return this[_0x17414b(0x382)][_0x17414b(0x46d)](_0x1a78d9,_0xa8962e),_0xa8962e;}[_0x124287(0x29e)](_0x8a8be3){const _0x96ea78=_0x124287;let _0x294fa6=this[_0x96ea78(0x382)][_0x96ea78(0x23b)](_0x8a8be3);if(_0x294fa6&&(this[_0x96ea78(0x382)][_0x96ea78(0x423)](_0x8a8be3),_0x294fa6[_0x96ea78(0x439)]()),!this[_0x96ea78(0x382)][_0x96ea78(0x221)]){var _0x236aad;(_0x236aad=this[_0x96ea78(0x3a4)])==null||_0x236aad[_0x96ea78(0x439)]();}}['reconnect'](){const _0x3e04c8=_0x124287;this[_0x3e04c8(0x383)]=0x0,this[_0x3e04c8(0x29f)](),this[_0x3e04c8(0x3d4)]();}[_0x124287(0x29f)](){const _0x32a7fa=_0x124287;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x32a7fa(0x479)]),this[_0x32a7fa(0x479)]=null);}async['_createSocket'](){const _0x276ba5=_0x124287;var _0x50a933;let _0x5e0fc0=this['_configService'][_0x276ba5(0x2ad)](_0xc791ca),_0xc3b1c3=(_0x50a933=_0x5e0fc0==null?void 0x0:_0x5e0fc0[_0x276ba5(0x49e)])==null?_0x4e50db:_0x50a933,_0x5ed882=await this['_socketService'][_0x276ba5(0x348)](_0xc3b1c3);return this[_0x276ba5(0x32c)]=_0x5ed882,_0x5ed882;}async[_0x124287(0x32e)](){const _0x323ace=_0x124287;try{var _0x1ebcc4,_0x3519a1;let _0x31bf87=(_0x1ebcc4=(_0x3519a1=this[_0x323ace(0x3a4)])==null?this['_candidateSocket']:_0x3519a1)==null?await this['_createSocket']():_0x1ebcc4;if(_0x31bf87){let _0x1490b3=_0x31bf87[_0x323ace(0x432)];_0x31bf87[_0x323ace(0x432)]=_0x3d4644=>(_0x3d4644[_0x323ace(0x47e)]!==_0x3eeea2[_0x323ace(0x27a)]['LEAVE']&&this[_0x323ace(0x1d4)](),_0x1490b3[_0x323ace(0x353)](_0x31bf87,[_0x3d4644])),_0x31bf87[_0x323ace(0x278)][_0x323ace(0x3b6)](_0x10e281=>this[_0x323ace(0x443)](_0x31bf87,_0x10e281)),_0x31bf87[_0x323ace(0x246)][_0x323ace(0x1d2)]((0x0,_0xecc1b5['take'])(0x1))[_0x323ace(0x3b6)](_0x19c6ed=>this[_0x323ace(0x1d8)][_0x323ace(0x338)](_0x323ace(0x3a1),_0x19c6ed)),_0x31bf87[_0x323ace(0x340)][_0x323ace(0x1d2)]((0x0,_0xecc1b5[_0x323ace(0x374)])(0x1))['subscribe'](()=>{const _0x55d60b=_0x323ace;this[_0x55d60b(0x281)](_0x31bf87);}),_0x31bf87[_0x323ace(0x1fc)]['pipe']((0x0,_0xecc1b5[_0x323ace(0x374)])(0x1))[_0x323ace(0x3b6)](_0x1ce48a=>{const _0x543f9b=_0x323ace;this[_0x543f9b(0x1d8)][_0x543f9b(0x215)](_0x543f9b(0x35d),_0x543f9b(0x197),_0x1ce48a),this[_0x543f9b(0x1ba)]();});}}catch(_0x845be9){this[_0x323ace(0x1d8)]['error'](_0x845be9),this['_onConnectionFailed']();}}[_0x124287(0x281)](_0x5d5e65){const _0x3a47d2=_0x124287;this[_0x3a47d2(0x1d8)][_0x3a47d2(0x215)](_0x3a47d2(0x35d),_0x3a47d2(0x218)),_0x5d5e65[_0x3a47d2(0x432)]({'cmd':_0x3eeea2[_0x3a47d2(0x27a)][_0x3a47d2(0x3ee)]}),this['_rescheduleHeartbeat']();}[_0x124287(0x428)](){const _0x1a891e=_0x124287;this[_0x1a891e(0x1d3)]=!0x1,this['_candidateSocket']=null,this['_status$']['next'](0x2),this['_socket$']['next'](null),this[_0x1a891e(0x3b0)](),this['_clearHeartbeatTimer']();}[_0x124287(0x1ba)](){const _0x4fb238=_0x124287;var _0x49fd83;this[_0x4fb238(0x428)](),this[_0x4fb238(0x383)]<((_0x49fd83=this[_0x4fb238(0x344)][_0x4fb238(0x2ad)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0x49fd83)?(this[_0x4fb238(0x301)][_0x4fb238(0x3ae)]({'id':_0x4fb238(0x357)}),this[_0x4fb238(0x3d4)]()):this[_0x4fb238(0x301)]['emitEvent']({'id':_0x4fb238(0x44b)});}[_0x124287(0x3d4)](){const _0xa4112=_0x124287;var _0x259158;let _0x387bde=this[_0xa4112(0x383)],_0x345a90=this['_configService'][_0xa4112(0x2ad)](_0xc791ca),_0x4681f7=_0x387bde===0x0?0x0:((_0x259158=_0x345a90==null?void 0x0:_0x345a90['retryConnectingInterval'])==null?0x4e20:_0x259158)*0x2**_0x387bde;this['_retryConnectingTimer']=setTimeout(()=>{const _0x1f2a3e=_0xa4112;clearTimeout(this['_retryConnectingTimer']),this[_0x1f2a3e(0x479)]=null,this[_0x1f2a3e(0x32e)]();},_0x4681f7),this[_0xa4112(0x383)]+=0x1;}[_0x124287(0x443)](_0x5e891b,_0x26b910){const _0x5c3d7a=_0x124287;let {cmd:_0x58d38f}=_0x26b910;_0x58d38f===_0x3eeea2[_0x5c3d7a(0x27a)][_0x5c3d7a(0x3ee)]&&!this[_0x5c3d7a(0x1d3)]&&(_0x5e891b[_0x5c3d7a(0x184)]=_0x26b910[_0x5c3d7a(0x1c3)][_0x5c3d7a(0x184)],this[_0x5c3d7a(0x45f)][_0x5c3d7a(0x469)](_0x5e891b),this[_0x5c3d7a(0x3e8)][_0x5c3d7a(0x469)](0x3),this[_0x5c3d7a(0x1d3)]=!0x0,this[_0x5c3d7a(0x32c)]=null),_0x58d38f===_0x3eeea2[_0x5c3d7a(0x27a)][_0x5c3d7a(0x416)]&&this[_0x5c3d7a(0x3b0)](),this['_rescheduleHeartbeat']();}[_0x124287(0x1d4)](){const _0x46840b=_0x124287;var _0x3216e4;this[_0x46840b(0x447)](),this[_0x46840b(0x2d0)]=setTimeout(()=>this[_0x46840b(0x482)](),(_0x3216e4=this[_0x46840b(0x344)][_0x46840b(0x2ad)](_0x46840b(0x2da)))==null?0x7530:_0x3216e4);}[_0x124287(0x482)](){const _0x552459=_0x124287;this[_0x552459(0x3a4)][_0x552459(0x432)]({'cmd':_0x3eeea2[_0x552459(0x27a)][_0x552459(0x416)]}),this[_0x552459(0x2a7)]();}[_0x124287(0x2a7)](){const _0x1fe879=_0x124287;var _0x1d0a4f;this['_timeoutTimer']=setTimeout(()=>this[_0x1fe879(0x1ba)](),(_0x1d0a4f=this[_0x1fe879(0x344)]['getConfig'](_0x1fe879(0x28d)))==null?_0x472429:_0x1d0a4f);}[_0x124287(0x447)](){const _0x2a4e6e=_0x124287;this[_0x2a4e6e(0x2d0)]!=null&&(clearTimeout(this[_0x2a4e6e(0x2d0)]),this[_0x2a4e6e(0x2d0)]=null);}[_0x124287(0x3b0)](){const _0x41acb1=_0x124287;this[_0x41acb1(0x407)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};_0x4bcb39=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af['Injector'])),_0x22bf51(0x1,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0x2,_0x38d3af[_0x124287(0x41d)]),_0x22bf51(0x3,_0x3a6db1),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x3b3560)),_0x22bf51(0x5,(0x0,_0x38d3af[_0x124287(0x261)])(_0x530693))],_0x4bcb39);let _0x3499dc=class extends _0x38d3af['RxDisposable']{constructor(_0x2085ad,_0x5d2ed4,_0x4728b8,_0x12ad26){const _0x123682=_0x124287;var _0x52ac02;super(),this[_0x123682(0x2ed)]=_0x2085ad,this[_0x123682(0x337)]=_0x5d2ed4,this[_0x123682(0x344)]=_0x4728b8,this[_0x123682(0x29b)]=_0x12ad26,_0x50ece2(this,_0x123682(0x259),new Map()),_0x50ece2(this,_0x123682(0x41f),new _0x282118[(_0x123682(0x3d2))]()),_0x50ece2(this,'entityInit$',this[_0x123682(0x41f)]['asObservable']()),((_0x52ac02=this[_0x123682(0x344)][_0x123682(0x2ad)]('collaboration-client.config'))==null?void 0x0:_0x52ac02[_0x123682(0x483)])!==!0x1&&this[_0x123682(0x486)]();}[_0x124287(0x34a)](){const _0x24e9c5=_0x124287;super[_0x24e9c5(0x34a)](),this[_0x24e9c5(0x259)][_0x24e9c5(0x3eb)](_0x4814d4=>_0x4814d4[_0x24e9c5(0x34a)]()),this['_entities'][_0x24e9c5(0x25e)]();}['getCollabEntity'](_0x5a5c04){const _0x54970f=_0x124287;var _0x32927d;return(_0x32927d=this[_0x54970f(0x259)]['get'](_0x5a5c04))==null?null:_0x32927d;}['getCollabEntity$'](_0x42ebb2){const _0x519755=_0x124287;let _0x2a9603=this[_0x519755(0x30c)](_0x42ebb2);return _0x2a9603?(0x0,_0x282118['of'])(_0x2a9603):this[_0x519755(0x41f)][_0x519755(0x1d2)]((0x0,_0xecc1b5[_0x519755(0x444)])(_0x1ee387=>_0x1ee387['unitID']===_0x42ebb2));}[_0x124287(0x26c)](_0x50eb4d){const _0xc7f510=_0x124287;return(0x0,_0x282118[_0xc7f510(0x31e)])(this[_0xc7f510(0x3b7)](_0x50eb4d)[_0xc7f510(0x1d2)]((0x0,_0xecc1b5[_0xc7f510(0x375)])(()=>void 0x0)));}[_0x124287(0x486)](){const _0x4a78da=_0x124287;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x38d3af[_0x4a78da(0x244)][_0x4a78da(0x28b)])[_0x4a78da(0x1d2)]((0x0,_0x282118[_0x4a78da(0x1bc)])(this['dispose$']),(0x0,_0xecc1b5[_0x4a78da(0x394)])(0x10))[_0x4a78da(0x3b6)](async _0xaf98e0=>{const _0x5163d7=_0x4a78da;let _0x4654e9=_0xaf98e0[_0x5163d7(0x240)][_0x5163d7(0x258)](),_0x32d08f=await this[_0x5163d7(0x3d0)](_0x4654e9,_0x38d3af[_0x5163d7(0x244)][_0x5163d7(0x28b)]);this[_0x5163d7(0x259)]['set'](_0x4654e9,_0x32d08f);}),this['_univerInstanceService'][_0x4a78da(0x30b)](_0x38d3af[_0x4a78da(0x244)][_0x4a78da(0x493)])[_0x4a78da(0x1d2)]((0x0,_0x282118['takeUntil'])(this[_0x4a78da(0x1b4)]),(0x0,_0xecc1b5[_0x4a78da(0x394)])(0x10))[_0x4a78da(0x1d2)]((0x0,_0xecc1b5[_0x4a78da(0x444)])(_0x587498=>!_0x587498['unit']['getUnitId']()[_0x4a78da(0x3ca)]('__')))['subscribe'](async _0x5f618a=>{const _0xac7e50=_0x4a78da;let _0x36ef05=_0x5f618a[_0xac7e50(0x240)][_0xac7e50(0x258)](),_0x33257e=await this[_0xac7e50(0x3d0)](_0x36ef05,_0x38d3af[_0xac7e50(0x244)][_0xac7e50(0x493)]);this[_0xac7e50(0x259)][_0xac7e50(0x46d)](_0x36ef05,_0x33257e);}),(0x0,_0x282118[_0x4a78da(0x23d)])(this[_0x4a78da(0x29b)]['getTypeOfUnitDisposed$'](_0x38d3af[_0x4a78da(0x244)][_0x4a78da(0x28b)]),this[_0x4a78da(0x29b)][_0x4a78da(0x446)](_0x38d3af['UniverInstanceType'][_0x4a78da(0x493)]))['pipe']((0x0,_0x282118[_0x4a78da(0x1bc)])(this[_0x4a78da(0x1b4)]))[_0x4a78da(0x3b6)](_0x3962ec=>{const _0x3061cd=_0x4a78da;let _0x206b5b=_0x3962ec[_0x3061cd(0x258)](),_0x1f484e=this[_0x3061cd(0x259)][_0x3061cd(0x23b)](_0x206b5b);_0x1f484e&&(_0x1f484e[_0x3061cd(0x34a)](),this[_0x3061cd(0x259)]['delete'](_0x206b5b));});}async['_startCollaboration'](_0x48b4ab,_0x3a9b0c){const _0x45c464=_0x124287;let _0x211063=await this[_0x45c464(0x337)]['requireSession'](_0x48b4ab),_0x3f6cc2=this[_0x45c464(0x2ed)][_0x45c464(0x236)](this[_0x45c464(0x1c4)](_0x3a9b0c),_0x48b4ab,_0x3a9b0c,_0x211063);return await _0x3f6cc2[_0x45c464(0x49d)](),this[_0x45c464(0x41f)][_0x45c464(0x469)](_0x3f6cc2),_0x3f6cc2;}[_0x124287(0x1c4)](_0x4cae98){const _0x445f55=_0x124287;switch(_0x4cae98){case _0x38d3af['UniverInstanceType']['UNIVER_DOC']:return _0x4f76be;case _0x38d3af[_0x445f55(0x244)]['UNIVER_SHEET']:return _0xc23225;default:throw Error(_0x445f55(0x18e)+_0x4cae98);}}};_0x3499dc=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x4bcb39)),_0x22bf51(0x2,_0x38d3af['IConfigService']),_0x22bf51(0x3,_0x38d3af[_0x124287(0x2cc)])],_0x3499dc);var _0x3119c7=_0x124287(0x364),_0x10ce9f=_0x124287(0x2c5);let _0x14ab70=class extends _0x38d3af['Disposable']{constructor(_0x19d707,_0x4efd70){const _0xa635b3=_0x124287;super(),this['_univerInstanceService']=_0x19d707,this[_0xa635b3(0x344)]=_0x4efd70,this[_0xa635b3(0x486)]();}[_0x124287(0x486)](){const _0x5e1fb1=_0x124287;this['disposeWithMe'](this[_0x5e1fb1(0x29b)][_0x5e1fb1(0x205)]['subscribe'](()=>{const _0x43a97e=_0x5e1fb1;var _0x53f9f6;let _0x20f305=this[_0x43a97e(0x29b)][_0x43a97e(0x449)](),_0x34a7c3=(_0x53f9f6=this[_0x43a97e(0x344)][_0x43a97e(0x2ad)](_0x43a97e(0x360)))==null?_0x43a97e(0x366):_0x53f9f6;_0x20f305 instanceof _0x38d3af['Workbook']&&(_0x34a7c3=_0x20f305[_0x43a97e(0x3c9)]),document[_0x43a97e(0x216)]=_0x34a7c3;}));}};_0x14ab70=_0x131186([_0x22bf51(0x0,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0x1,_0x38d3af[_0x124287(0x41d)])],_0x14ab70);let _0x4a34d9=class{constructor(_0x50a75e,_0x20b730,_0x15d2d6){const _0x5cbd0e=_0x124287;this[_0x5cbd0e(0x344)]=_0x50a75e,this[_0x5cbd0e(0x1d5)]=_0x20b730,this[_0x5cbd0e(0x1cc)]=_0x15d2d6,this[_0x5cbd0e(0x49d)]();}[_0x124287(0x49d)](){const _0x46fdaa=_0x124287;this[_0x46fdaa(0x1d5)][_0x46fdaa(0x186)]({'priority':0x1,'interceptor':(_0x59660f,_0x343974)=>_0x343974(_0x59660f)[_0x46fdaa(0x1d2)]((0x0,_0x282118[_0x46fdaa(0x474)])(async _0x55f205=>{const _0x377a8d=_0x46fdaa;let _0x444012=_0x55f205;if(_0x444012[_0x377a8d(0x2b5)]===0x191){if(typeof window>'u')throw Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x377a8d(0x1cc)]['t'](_0x377a8d(0x2f5)))){let _0x1f0200=window[_0x377a8d(0x19e)](window['location'][_0x377a8d(0x403)]);window[_0x377a8d(0x29c)]['href']=this[_0x377a8d(0x3c0)]()+_0x377a8d(0x1f5)+_0x1f0200;}}return _0x444012;}))});}[_0x124287(0x3c0)](){const _0x4b7bd1=_0x124287;var _0x5585f1;let _0x43aa01=this['_configService'][_0x4b7bd1(0x2ad)](_0xc791ca);return(_0x5585f1=_0x43aa01==null?void 0x0:_0x43aa01[_0x4b7bd1(0x2ba)])==null?_0x4b7bd1(0x1bd):_0x5585f1;}};_0x4a34d9=_0x131186([_0x22bf51(0x0,_0x38d3af['IConfigService']),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x41d52c[_0x124287(0x46c)])),_0x22bf51(0x2,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x461)]))],_0x4a34d9);let _0x457782=class extends _0x38d3af[_0x124287(0x223)]{constructor(_0x2a2b3c,_0x1e15b4){const _0x2ded8e=_0x124287;super(),this[_0x2ded8e(0x26e)]=_0x2a2b3c,this['_configService']=_0x1e15b4,_0x50ece2(this,_0x2ded8e(0x18c),!0x1),this[_0x2ded8e(0x252)]();}[_0x124287(0x252)](){const _0x2cb42a=_0x124287;let _0x511b07=this;this[_0x2cb42a(0x334)](this[_0x2cb42a(0x26e)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':(0x0,_0x41d52c['MergeInterceptorFactory'])({'isMatch'(_0x56171f){const _0x31e8c6=_0x2cb42a;var _0x5cdeb6;if(_0x56171f[_0x31e8c6(0x20b)]===_0x31e8c6(0x43b)&&(_0x5cdeb6=_0x56171f[_0x31e8c6(0x405)])!=null&&_0x5cdeb6[_0x31e8c6(0x359)]){let {objectID:_0x86ef23,objectType:_0x123026}=_0x56171f[_0x31e8c6(0x405)][_0x31e8c6(0x359)]||{};if(!_0x86ef23||_0x123026===void 0x0)return!0x1;let _0x1994ba=_0x511b07[_0x31e8c6(0x274)]()+'/'+_0x123026+_0x31e8c6(0x388)+_0x86ef23+_0x31e8c6(0x470);if(_0x56171f[_0x31e8c6(0x2a4)]===_0x1994ba)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x100ae9){const _0x5de0ae=_0x2cb42a;var _0x3ed7a1;return(_0x3ed7a1=_0x100ae9['requestParams'])==null?void 0x0:_0x3ed7a1[_0x5de0ae(0x359)];},'mergeParamsToRequest'(_0x2dafa6,_0x527e16){const _0x2a64ad=_0x2cb42a;let _0x254a45=_0x511b07['_getAPIPrefixPath']()+_0x2a64ad(0x47f),_0x550550=_0x2dafa6[_0x2a64ad(0x33e)]((_0x585e0d,_0x459b8f)=>{const _0x3537d9=_0x2a64ad;let {unitID:_0x5eb176,objectID:_0x5a5219,objectType:_0x18d2aa,actions:_0x166a75}=_0x459b8f;return _0x585e0d[_0x5eb176]||(_0x585e0d[_0x5eb176]={}),_0x585e0d[_0x5eb176][_0x5a5219]||(_0x585e0d[_0x5eb176][_0x5a5219]={'objectID':_0x5a5219,'objectType':_0x18d2aa,'actions':[]}),_0x585e0d[_0x5eb176][_0x5a5219][_0x3537d9(0x393)]['push'](..._0x166a75),_0x585e0d;},{}),_0x52a123=[];for(let _0x3abbf2 in _0x550550)for(let _0x42046f in _0x550550[_0x3abbf2]){let {actions:_0x5177db,objectType:_0x519557}=_0x550550[_0x3abbf2][_0x42046f],_0x231086=[...new Set(_0x5177db)];_0x52a123[_0x2a64ad(0x385)]({'unitID':_0x3abbf2,'objectID':_0x42046f,'objectType':_0x519557,'actions':_0x231086});}return new _0x41d52c['HTTPRequest']('POST',_0x254a45,{'headers':_0x527e16[_0x2a64ad(0x23e)],'withCredentials':_0x527e16[_0x2a64ad(0x3a7)],'responseType':_0x527e16[_0x2a64ad(0x275)],'body':{'requests':_0x52a123}});}},{'distributeResult'(_0x2bd0df,_0x42f67a){const _0xecf6ff=_0x2cb42a;let {objectActions:_0x34715d}=_0x2bd0df;return _0x42f67a[_0xecf6ff(0x375)](_0x272cdd=>{const _0x30e3af=_0xecf6ff;let {unitID:_0x2a4f61,objectID:_0xe9947f,actions:_0x6f7e94}=_0x272cdd,_0x3b7001=_0x34715d[_0x30e3af(0x471)](_0xae9ba0=>_0xae9ba0[_0x30e3af(0x3c1)]===_0x2a4f61&&_0xae9ba0['objectID']===_0xe9947f);return{'config':_0x272cdd,'result':{'actions':_0x6f7e94['map'](_0xc8eac5=>_0x3b7001==null?void 0x0:_0x3b7001[_0x30e3af(0x393)][_0x30e3af(0x471)](_0x3c7e54=>_0x3c7e54[_0x30e3af(0x4a5)]===_0xc8eac5))[_0x30e3af(0x444)](_0x19db51=>!!_0x19db51),'error':_0x2bd0df[_0x30e3af(0x338)]}};});}})}));}[_0x124287(0x274)](){const _0x2cee12=_0x124287;var _0x30056a;let _0x536067=this['_configService'][_0x2cee12(0x2ad)](_0xc791ca);return(_0x30056a=_0x536067==null?void 0x0:_0x536067[_0x2cee12(0x2f6)])==null?'/universer-api/authz':_0x30056a;}async[_0x124287(0x2c1)](_0x398e2e){const _0x489bff=_0x124287;let _0x303fd0=this[_0x489bff(0x274)]()+'/'+_0x398e2e[_0x489bff(0x22a)]+_0x489bff(0x41a);return(await this['_HTTPService'][_0x489bff(0x27f)](_0x303fd0,{'body':_0x398e2e}))['body'][_0x489bff(0x3a8)]||'';}async[_0x124287(0x2cb)](_0x1f827e){const _0x48fa8a=_0x124287;let _0x27eb9c=this[_0x48fa8a(0x274)]()+_0x48fa8a(0x297);return(await this['_HTTPService'][_0x48fa8a(0x27f)](_0x27eb9c,{'body':_0x1f827e}))[_0x48fa8a(0x359)][_0x48fa8a(0x182)];}async[_0x124287(0x1b1)](_0x7308d4){const _0x26c2a4=_0x124287;var _0x3f4dd3;let _0x10a56f=this[_0x26c2a4(0x274)]()+'/'+_0x7308d4['objectType']+_0x26c2a4(0x388)+_0x7308d4[_0x26c2a4(0x3a8)],_0x5f3366=await this[_0x26c2a4(0x26e)][_0x26c2a4(0x48d)](_0x10a56f,{'body':_0x7308d4});if((_0x5f3366==null||(_0x3f4dd3=_0x5f3366['body'])==null||(_0x3f4dd3=_0x3f4dd3['error'])==null?void 0x0:_0x3f4dd3[_0x26c2a4(0x211)])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x13cdd6){const _0xad3b4=_0x124287;let _0x165c24=this['_getAPIPrefixPath']()+'/'+_0x13cdd6[_0xad3b4(0x22a)]+_0xad3b4(0x388)+_0x13cdd6[_0xad3b4(0x3a8)]+_0xad3b4(0x470);return(await this[_0xad3b4(0x26e)]['post'](_0x165c24,{'body':_0x13cdd6}))[_0xad3b4(0x359)][_0xad3b4(0x393)];}async[_0x124287(0x21a)](_0x2f8df1){const _0x1cca97=_0x124287;let _0x2fe801=this[_0x1cca97(0x274)]()+_0x1cca97(0x47f);return(await this[_0x1cca97(0x26e)]['post'](_0x2fe801,{'body':{'requests':_0x2f8df1}}))['body'][_0x1cca97(0x287)];}async[_0x124287(0x38d)](_0x51903f){const _0x3dd49b=_0x124287;let _0x1d4ab=this[_0x3dd49b(0x274)]()+'/'+_0x51903f[_0x3dd49b(0x22a)]+_0x3dd49b(0x35a),_0x25c2a0=await this[_0x3dd49b(0x26e)][_0x3dd49b(0x27f)](_0x1d4ab,{'body':_0x51903f});return{'roles':_0x25c2a0[_0x3dd49b(0x359)]['roles'],'actions':_0x25c2a0['body'][_0x3dd49b(0x393)]};}async[_0x124287(0x25c)](_0x429756){const _0x105694=_0x124287;let _0x306a8d=this[_0x105694(0x274)]()+_0x105694(0x2aa);await this[_0x105694(0x26e)]['delete'](_0x306a8d,{'params':{'collaboratorID':_0x429756[_0x105694(0x347)],'objectID':_0x429756['objectID'],'unitID':_0x429756[_0x105694(0x3c1)]}});}async[_0x124287(0x349)](_0xf5c96f){const _0x1b9119=_0x124287;let _0x443a78=this['_getAPIPrefixPath']()+_0x1b9119(0x2aa);await this[_0x1b9119(0x26e)]['patch'](_0x443a78,{'body':_0xf5c96f});}async[_0x124287(0x1e8)](_0x41a132){const _0x58c9ed=_0x124287;let _0x19275b=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x58c9ed(0x26e)][_0x58c9ed(0x27f)](_0x19275b,{'body':_0x41a132});}async[_0x124287(0x465)](_0x3e4daa){const _0x24af75=_0x124287;var _0x31ff8e;let _0x1d1c12=this['_getAPIPrefixPath']()+'/collaborator',_0xf4d31c=await this[_0x24af75(0x26e)][_0x24af75(0x23b)](_0x1d1c12,{'params':{'objectID':_0x3e4daa['objectID'],'unitID':_0x3e4daa[_0x24af75(0x3c1)]}});return this['setCfgEnableObjInherit']((_0x31ff8e=_0xf4d31c[_0x24af75(0x359)][_0x24af75(0x454)])==null?!0x1:_0x31ff8e),_0xf4d31c['body']['collaborators'];}async['putCollaborators'](_0x2d0ea0){const _0x499027=_0x124287;let _0x37d87b=this[_0x499027(0x274)]()+_0x499027(0x2aa);await this['_HTTPService'][_0x499027(0x48d)](_0x37d87b,{'body':_0x2d0ea0});}[_0x124287(0x2d9)](_0x30694f){const _0x206d28=_0x124287;this[_0x206d28(0x18c)]=_0x30694f;}[_0x124287(0x222)](){const _0x1d95e0=_0x124287;return this[_0x1d95e0(0x18c)];}};_0x457782=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af['Inject'])(_0x41d52c[_0x124287(0x46c)])),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x41d)]))],_0x457782);function _0x37a8eb(_0x5126bf){const _0x3d81bc=_0x124287;return _0x5126bf instanceof Uint8Array||ArrayBuffer['isView'](_0x5126bf)&&_0x5126bf[_0x3d81bc(0x3c4)][_0x3d81bc(0x3c9)]===_0x3d81bc(0x2e3)&&_0x3d81bc(0x1e0)in _0x5126bf&&_0x5126bf['BYTES_PER_ELEMENT']===0x1;}function _0xb5d903(_0x30cb7c){const _0x17b298=_0x124287;if(typeof _0x30cb7c!=_0x17b298(0x29a))throw TypeError(_0x17b298(0x1de)+typeof _0x30cb7c);if(!Number[_0x17b298(0x1c7)](_0x30cb7c)||_0x30cb7c<0x0)throw RangeError(_0x17b298(0x41b)+_0x30cb7c);}function _0x2000fe(_0x2691e3,_0x495b80,_0x2388e7=''){const _0xff89f8=_0x124287;let _0x19792a=_0x37a8eb(_0x2691e3),_0x43bbfd=_0x2691e3==null?void 0x0:_0x2691e3[_0xff89f8(0x48e)],_0x496db3=_0x495b80!==void 0x0;if(!_0x19792a||_0x496db3&&_0x43bbfd!==_0x495b80){let _0x1c535a=_0x2388e7&&'\x22'+_0x2388e7+'\x22\x20',_0x3bf196=_0x496db3?_0xff89f8(0x384)+_0x495b80:'',_0x16a63a=_0x19792a?_0xff89f8(0x1b7)+_0x43bbfd:'type='+typeof _0x2691e3,_0x10e3d1=_0x1c535a+_0xff89f8(0x49c)+_0x3bf196+_0xff89f8(0x21d)+_0x16a63a;throw _0x19792a?RangeError(_0x10e3d1):TypeError(_0x10e3d1);}return _0x2691e3;}function _0x439993(_0x191192){const _0xb00533=_0x124287;return new Uint32Array(_0x191192[_0xb00533(0x1b6)],_0x191192['byteOffset'],Math['floor'](_0x191192[_0xb00533(0x280)]/0x4));}function _0x39382e(..._0x2049d1){const _0x3bc190=_0x124287;for(let _0x577a36=0x0;_0x577a36<_0x2049d1[_0x3bc190(0x48e)];_0x577a36++)_0x2049d1[_0x577a36]['fill'](0x0);}let _0x429043=new Uint8Array(new Uint32Array([0x11223344])[_0x124287(0x1b6)])[0x0]===0x44,_0x8ab090=_0x507f43=>_0x507f43<<0x18&0xff000000|_0x507f43<<0x8&0xff0000|_0x507f43>>>0x8&0xff00|_0x507f43>>>0x18&0xff,_0x307d64=_0x429043?_0x15bffd=>_0x15bffd:_0x568aa7=>{const _0x153cde=_0x124287;for(let _0x5614f1=0x0;_0x5614f1<_0x568aa7[_0x153cde(0x48e)];_0x5614f1++)_0x568aa7[_0x5614f1]=_0x8ab090(_0x568aa7[_0x5614f1]);return _0x568aa7;};typeof Uint8Array[_0x124287(0x2a1)]([])[_0x124287(0x294)]==_0x124287(0x3a6)&&Uint8Array[_0x124287(0x2b3)];function _0x678b7(_0x2261cc){const _0x2c6cd1=_0x124287;if(typeof _0x2261cc!=_0x2c6cd1(0x1a1))throw TypeError(_0x2c6cd1(0x298));return new Uint8Array(new TextEncoder()[_0x2c6cd1(0x2e7)](_0x2261cc));}function _0xbbbe1e(_0x185655,_0x367216){const _0x5c6dac=_0x124287;return!_0x185655[_0x5c6dac(0x280)]||!_0x367216[_0x5c6dac(0x280)]?!0x1:_0x185655['buffer']===_0x367216[_0x5c6dac(0x1b6)]&&_0x185655['byteOffset']<_0x367216[_0x5c6dac(0x3bd)]+_0x367216[_0x5c6dac(0x280)]&&_0x367216[_0x5c6dac(0x3bd)]<_0x185655[_0x5c6dac(0x3bd)]+_0x185655[_0x5c6dac(0x280)];}function _0x2aade4(_0x3bf098,_0x2703b5){const _0x3767a7=_0x124287;if(_0xbbbe1e(_0x3bf098,_0x2703b5)&&_0x3bf098[_0x3767a7(0x3bd)]<_0x2703b5[_0x3767a7(0x3bd)])throw Error(_0x3767a7(0x19a));}function _0x4634bd(..._0x1cddc7){const _0x3db245=_0x124287;let _0x435987=0x0;for(let _0x4b1403=0x0;_0x4b1403<_0x1cddc7[_0x3db245(0x48e)];_0x4b1403++){let _0x4b6aff=_0x1cddc7[_0x4b1403];_0x2000fe(_0x4b6aff),_0x435987+=_0x4b6aff[_0x3db245(0x48e)];}let _0x43aa41=new Uint8Array(_0x435987);for(let _0x36c3ce=0x0,_0x3b626b=0x0;_0x36c3ce<_0x1cddc7[_0x3db245(0x48e)];_0x36c3ce++){let _0x1f993f=_0x1cddc7[_0x36c3ce];_0x43aa41[_0x3db245(0x46d)](_0x1f993f,_0x3b626b),_0x3b626b+=_0x1f993f['length'];}return _0x43aa41;}let _0x25ee87=(_0x58ec97,_0x543d85)=>{const _0x2c2534=_0x124287;function _0x30a8d5(_0x4d2c63,..._0x20ec34){const _0x40ee9c=_0x3817;if(_0x2000fe(_0x4d2c63,void 0x0,_0x40ee9c(0x462)),_0x58ec97[_0x40ee9c(0x402)]!==void 0x0){let _0x155b35=_0x20ec34[0x0];_0x2000fe(_0x155b35,_0x58ec97['varSizeNonce']?void 0x0:_0x58ec97[_0x40ee9c(0x402)],_0x40ee9c(0x31f));}let _0x304595=_0x58ec97[_0x40ee9c(0x17f)];_0x304595&&_0x20ec34[0x1]!==void 0x0&&_0x2000fe(_0x20ec34[0x1],void 0x0,_0x40ee9c(0x351));let _0x1c7476=_0x543d85(_0x4d2c63,..._0x20ec34),_0x4b94f4=(_0x19bc2e,_0x106c44)=>{const _0x9cb3dd=_0x40ee9c;if(_0x106c44!==void 0x0){if(_0x19bc2e!==0x2)throw Error(_0x9cb3dd(0x2fd));_0x2000fe(_0x106c44,void 0x0,'output');}},_0x3b7208=!0x1;return{'encrypt'(_0x31d53d,_0x4d32ee){const _0x389da3=_0x40ee9c;if(_0x3b7208)throw Error(_0x389da3(0x34f));return _0x3b7208=!0x0,_0x2000fe(_0x31d53d),_0x4b94f4(_0x1c7476['encrypt'][_0x389da3(0x48e)],_0x4d32ee),_0x1c7476[_0x389da3(0x48b)](_0x31d53d,_0x4d32ee);},'decrypt'(_0x27f78e,_0x394558){const _0xc41bb4=_0x40ee9c;if(_0x2000fe(_0x27f78e),_0x304595&&_0x27f78e[_0xc41bb4(0x48e)]<_0x304595)throw Error(_0xc41bb4(0x35b)+_0x304595);return _0x4b94f4(_0x1c7476[_0xc41bb4(0x496)]['length'],_0x394558),_0x1c7476['decrypt'](_0x27f78e,_0x394558);}};}return Object[_0x2c2534(0x4a0)](_0x30a8d5,_0x58ec97),_0x30a8d5;};function _0x38f5c0(_0x542a02,_0xae4ab0,_0x4315e0=!0x0){const _0x57e737=_0x124287;if(_0xae4ab0===void 0x0)return new Uint8Array(_0x542a02);if(_0x2000fe(_0xae4ab0,void 0x0,_0x57e737(0x427)),_0xae4ab0[_0x57e737(0x48e)]!==_0x542a02)throw Error(_0x57e737(0x4a6)+_0x542a02+',\x20got:\x20'+_0xae4ab0[_0x57e737(0x48e)]);if(_0x4315e0&&!_0x2e250b(_0xae4ab0))throw Error('invalid\x20output,\x20must\x20be\x20aligned');return _0xae4ab0;}function _0x2e250b(_0x185065){const _0x50a1e1=_0x124287;return _0x185065[_0x50a1e1(0x3bd)]%0x4==0x0;}function _0x488346(_0x5b326f){const _0x55d34d=_0x124287;return Uint8Array[_0x55d34d(0x2a1)](_0x2000fe(_0x5b326f));}function _0x38a85f(_0x2f726a=0x20){const _0x3240d1=_0x124287;_0xb5d903(_0x2f726a);let _0x4b9d0d=typeof globalThis==_0x3240d1(0x31d)?globalThis['crypto']:null;if(typeof(_0x4b9d0d==null?void 0x0:_0x4b9d0d[_0x3240d1(0x45c)])!=_0x3240d1(0x3a6))throw Error(_0x3240d1(0x2bf));return _0x4b9d0d['getRandomValues'](new Uint8Array(_0x2f726a));}function _0x5c17a2(_0xbe01d7){const _0x44d4f1=_0x124287;if(![0x10,0x18,0x20]['includes'](_0xbe01d7[_0x44d4f1(0x48e)]))throw Error(_0x44d4f1(0x472)+_0xbe01d7[_0x44d4f1(0x48e)]);}function _0x4683f5(_0x4f6d91){return _0x4f6d91<<0x1^0x11b&-(_0x4f6d91>>0x7);}function _0x5738f8(_0x4d9b83,_0x5614ce){let _0x7bade4=0x0;for(;_0x5614ce>0x0;_0x5614ce>>=0x1)_0x7bade4^=_0x4d9b83&-(_0x5614ce&0x1),_0x4d9b83=_0x4683f5(_0x4d9b83);return _0x7bade4;}let _0x31bd7f=((()=>{let _0x2305ab=new Uint8Array(0x100);for(let _0x321a68=0x0,_0x424839=0x1;_0x321a68<0x100;_0x321a68++,_0x424839^=_0x4683f5(_0x424839))_0x2305ab[_0x321a68]=_0x424839;let _0xbbd105=new Uint8Array(0x100);_0xbbd105[0x0]=0x63;for(let _0x216ba9=0x0;_0x216ba9<0xff;_0x216ba9++){let _0xa04393=_0x2305ab[0xff-_0x216ba9];_0xa04393|=_0xa04393<<0x8,_0xbbd105[_0x2305ab[_0x216ba9]]=(_0xa04393^_0xa04393>>0x4^_0xa04393>>0x5^_0xa04393>>0x6^_0xa04393>>0x7^0x63)&0xff;}return _0x39382e(_0x2305ab),_0xbbd105;})()),_0x27c0d2=_0x31bd7f['map']((_0x211fc3,_0x1d5bc7)=>_0x31bd7f[_0x124287(0x311)](_0x1d5bc7)),_0x2d60da=_0x39d003=>_0x39d003<<0x18|_0x39d003>>>0x8,_0xce2746=_0x57ee67=>_0x57ee67<<0x8|_0x57ee67>>>0x18;function _0x2862db(_0x2e2cc5,_0x65c070){const _0x282f40=_0x124287;if(_0x2e2cc5[_0x282f40(0x48e)]!==0x100)throw Error(_0x282f40(0x2e4));let _0x283070=new Uint32Array(0x100)[_0x282f40(0x375)]((_0x113b6c,_0x4d98f7)=>_0x65c070(_0x2e2cc5[_0x4d98f7])),_0x4376bd=_0x283070[_0x282f40(0x375)](_0xce2746),_0x57e248=_0x4376bd['map'](_0xce2746),_0x296a65=_0x57e248[_0x282f40(0x375)](_0xce2746),_0x20fe63=new Uint32Array(0x100*0x100),_0x3d5010=new Uint32Array(0x100*0x100),_0x3f9fa3=new Uint16Array(0x100*0x100);for(let _0x1da99c=0x0;_0x1da99c<0x100;_0x1da99c++)for(let _0xedfa9=0x0;_0xedfa9<0x100;_0xedfa9++){let _0x3e1b4c=_0x1da99c*0x100+_0xedfa9;_0x20fe63[_0x3e1b4c]=_0x283070[_0x1da99c]^_0x4376bd[_0xedfa9],_0x3d5010[_0x3e1b4c]=_0x57e248[_0x1da99c]^_0x296a65[_0xedfa9],_0x3f9fa3[_0x3e1b4c]=_0x2e2cc5[_0x1da99c]<<0x8|_0x2e2cc5[_0xedfa9];}return{'sbox':_0x2e2cc5,'sbox2':_0x3f9fa3,'T0':_0x283070,'T1':_0x4376bd,'T2':_0x57e248,'T3':_0x296a65,'T01':_0x20fe63,'T23':_0x3d5010};}let _0x46d6d0=_0x2862db(_0x31bd7f,_0x1d78b1=>_0x5738f8(_0x1d78b1,0x3)<<0x18|_0x1d78b1<<0x10|_0x1d78b1<<0x8|_0x5738f8(_0x1d78b1,0x2)),_0x1692af=_0x2862db(_0x27c0d2,_0x470186=>_0x5738f8(_0x470186,0xb)<<0x18|_0x5738f8(_0x470186,0xd)<<0x10|_0x5738f8(_0x470186,0x9)<<0x8|_0x5738f8(_0x470186,0xe)),_0x11e4bc=((()=>{let _0x7207b1=new Uint8Array(0x10);for(let _0x148a30=0x0,_0x4333c1=0x1;_0x148a30<0x10;_0x148a30++,_0x4333c1=_0x4683f5(_0x4333c1))_0x7207b1[_0x148a30]=_0x4333c1;return _0x7207b1;})());function _0x4e5fe5(_0x3fd478){const _0x143928=_0x124287;_0x2000fe(_0x3fd478);let _0x3ff70d=_0x3fd478['length'];_0x5c17a2(_0x3fd478);let {sbox2:_0x23892b}=_0x46d6d0,_0x1a637b=[];(!_0x429043||!_0x2e250b(_0x3fd478))&&_0x1a637b[_0x143928(0x385)](_0x3fd478=_0x488346(_0x3fd478));let _0x33e08f=_0x307d64(_0x439993(_0x3fd478)),_0x141b17=_0x33e08f[_0x143928(0x48e)],_0x18a920=_0x56d0c7=>_0x5b797d(_0x23892b,_0x56d0c7,_0x56d0c7,_0x56d0c7,_0x56d0c7),_0x186994=new Uint32Array(_0x3ff70d+0x1c);_0x186994[_0x143928(0x46d)](_0x33e08f);for(let _0x3bb059=_0x141b17;_0x3bb059<_0x186994[_0x143928(0x48e)];_0x3bb059++){let _0x1b64da=_0x186994[_0x3bb059-0x1];_0x3bb059%_0x141b17===0x0?_0x1b64da=_0x18a920(_0x2d60da(_0x1b64da))^_0x11e4bc[_0x3bb059/_0x141b17-0x1]:_0x141b17>0x6&&_0x3bb059%_0x141b17===0x4&&(_0x1b64da=_0x18a920(_0x1b64da)),_0x186994[_0x3bb059]=_0x186994[_0x3bb059-_0x141b17]^_0x1b64da;}return _0x39382e(..._0x1a637b),_0x186994;}function _0xf0276b(_0x45d061){const _0x3794be=_0x124287;let _0x225bfd=_0x4e5fe5(_0x45d061),_0x26a2da=_0x225bfd[_0x3794be(0x1a0)](),_0x42f2aa=_0x225bfd['length'],{sbox2:_0x4a64bf}=_0x46d6d0,{T0:_0x53f4c1,T1:_0x48564f,T2:_0x370140,T3:_0x1bce6d}=_0x1692af;for(let _0x1e93aa=0x0;_0x1e93aa<_0x42f2aa;_0x1e93aa+=0x4)for(let _0x31d12a=0x0;_0x31d12a<0x4;_0x31d12a++)_0x26a2da[_0x1e93aa+_0x31d12a]=_0x225bfd[_0x42f2aa-_0x1e93aa-0x4+_0x31d12a];_0x39382e(_0x225bfd);for(let _0x256044=0x4;_0x256044<_0x42f2aa-0x4;_0x256044++){let _0x55415a=_0x26a2da[_0x256044],_0x307f7a=_0x5b797d(_0x4a64bf,_0x55415a,_0x55415a,_0x55415a,_0x55415a);_0x26a2da[_0x256044]=_0x53f4c1[_0x307f7a&0xff]^_0x48564f[_0x307f7a>>>0x8&0xff]^_0x370140[_0x307f7a>>>0x10&0xff]^_0x1bce6d[_0x307f7a>>>0x18];}return _0x26a2da;}function _0x53ca69(_0x579dda,_0x3e0225,_0x3c9f23,_0x5f3f41,_0x20d26c,_0x45272c){return _0x579dda[_0x3c9f23<<0x8&0xff00|_0x5f3f41>>>0x8&0xff]^_0x3e0225[_0x20d26c>>>0x8&0xff00|_0x45272c>>>0x18&0xff];}function _0x5b797d(_0x4466ab,_0x17e1c0,_0xe6ed0b,_0xe9617e,_0x36aae4){return _0x4466ab[_0x17e1c0&0xff|_0xe6ed0b&0xff00]|_0x4466ab[_0xe9617e>>>0x10&0xff|_0x36aae4>>>0x10&0xff00]<<0x10;}function _0x5ddd91(_0xe33b06,_0x5efb54,_0x4afcdc,_0x3d728c,_0x59fd3b){let {sbox2:_0x169b3a,T01:_0xfa5e1,T23:_0xfb2571}=_0x46d6d0,_0xe684e0=0x0;_0x5efb54^=_0xe33b06[_0xe684e0++],_0x4afcdc^=_0xe33b06[_0xe684e0++],_0x3d728c^=_0xe33b06[_0xe684e0++],_0x59fd3b^=_0xe33b06[_0xe684e0++];let _0x278e56=_0xe33b06['length']/0x4-0x2;for(let _0x185774=0x0;_0x185774<_0x278e56;_0x185774++){let _0x2b05b2=_0xe33b06[_0xe684e0++]^_0x53ca69(_0xfa5e1,_0xfb2571,_0x5efb54,_0x4afcdc,_0x3d728c,_0x59fd3b),_0x274de6=_0xe33b06[_0xe684e0++]^_0x53ca69(_0xfa5e1,_0xfb2571,_0x4afcdc,_0x3d728c,_0x59fd3b,_0x5efb54),_0x1f29e6=_0xe33b06[_0xe684e0++]^_0x53ca69(_0xfa5e1,_0xfb2571,_0x3d728c,_0x59fd3b,_0x5efb54,_0x4afcdc),_0x50ae7a=_0xe33b06[_0xe684e0++]^_0x53ca69(_0xfa5e1,_0xfb2571,_0x59fd3b,_0x5efb54,_0x4afcdc,_0x3d728c);_0x5efb54=_0x2b05b2,_0x4afcdc=_0x274de6,_0x3d728c=_0x1f29e6,_0x59fd3b=_0x50ae7a;}return{'s0':_0xe33b06[_0xe684e0++]^_0x5b797d(_0x169b3a,_0x5efb54,_0x4afcdc,_0x3d728c,_0x59fd3b),'s1':_0xe33b06[_0xe684e0++]^_0x5b797d(_0x169b3a,_0x4afcdc,_0x3d728c,_0x59fd3b,_0x5efb54),'s2':_0xe33b06[_0xe684e0++]^_0x5b797d(_0x169b3a,_0x3d728c,_0x59fd3b,_0x5efb54,_0x4afcdc),'s3':_0xe33b06[_0xe684e0++]^_0x5b797d(_0x169b3a,_0x59fd3b,_0x5efb54,_0x4afcdc,_0x3d728c)};}function _0x3a7bbf(_0x3156dc,_0x5349ed,_0x1a3240,_0x5bc84f,_0x14a86e){const _0x593f80=_0x124287;let {sbox2:_0x2cd8f2,T01:_0x11e9ce,T23:_0x221e9c}=_0x1692af,_0x295706=0x0;_0x5349ed^=_0x3156dc[_0x295706++],_0x1a3240^=_0x3156dc[_0x295706++],_0x5bc84f^=_0x3156dc[_0x295706++],_0x14a86e^=_0x3156dc[_0x295706++];let _0x4122a2=_0x3156dc[_0x593f80(0x48e)]/0x4-0x2;for(let _0x421058=0x0;_0x421058<_0x4122a2;_0x421058++){let _0x587478=_0x3156dc[_0x295706++]^_0x53ca69(_0x11e9ce,_0x221e9c,_0x5349ed,_0x14a86e,_0x5bc84f,_0x1a3240),_0x4a0c9a=_0x3156dc[_0x295706++]^_0x53ca69(_0x11e9ce,_0x221e9c,_0x1a3240,_0x5349ed,_0x14a86e,_0x5bc84f),_0xdc35cf=_0x3156dc[_0x295706++]^_0x53ca69(_0x11e9ce,_0x221e9c,_0x5bc84f,_0x1a3240,_0x5349ed,_0x14a86e),_0x22d43d=_0x3156dc[_0x295706++]^_0x53ca69(_0x11e9ce,_0x221e9c,_0x14a86e,_0x5bc84f,_0x1a3240,_0x5349ed);_0x5349ed=_0x587478,_0x1a3240=_0x4a0c9a,_0x5bc84f=_0xdc35cf,_0x14a86e=_0x22d43d;}return{'s0':_0x3156dc[_0x295706++]^_0x5b797d(_0x2cd8f2,_0x5349ed,_0x14a86e,_0x5bc84f,_0x1a3240),'s1':_0x3156dc[_0x295706++]^_0x5b797d(_0x2cd8f2,_0x1a3240,_0x5349ed,_0x14a86e,_0x5bc84f),'s2':_0x3156dc[_0x295706++]^_0x5b797d(_0x2cd8f2,_0x5bc84f,_0x1a3240,_0x5349ed,_0x14a86e),'s3':_0x3156dc[_0x295706++]^_0x5b797d(_0x2cd8f2,_0x14a86e,_0x5bc84f,_0x1a3240,_0x5349ed)};}function _0x103754(_0x2d1d6c){const _0x453a87=_0x124287;if(_0x2000fe(_0x2d1d6c),_0x2d1d6c[_0x453a87(0x48e)]%0x10!=0x0)throw Error(_0x453a87(0x1f9));}function _0x34d7d4(_0x5b309c,_0x40d20d,_0x1540ed){const _0x1e0ee5=_0x124287;_0x2000fe(_0x5b309c);let _0x159867=_0x5b309c[_0x1e0ee5(0x48e)],_0x4b4c69=_0x159867%0x10;if(!_0x40d20d&&_0x4b4c69!==0x0)throw Error(_0x1e0ee5(0x2c2));if(_0x40d20d){let _0x10596c=0x10-_0x4b4c69;_0x10596c||(_0x10596c=0x10),_0x159867+=_0x10596c;}_0x1540ed=_0x38f5c0(_0x159867,_0x1540ed),_0x2aade4(_0x5b309c,_0x1540ed),(!_0x429043||!_0x2e250b(_0x5b309c))&&(_0x5b309c=_0x488346(_0x5b309c));let _0x47c401=_0x439993(_0x5b309c);return _0x307d64(_0x47c401),{'b':_0x47c401,'o':_0x439993(_0x1540ed),'out':_0x1540ed};}function _0x24f746(_0x506895,_0x208b32){const _0x18be43=_0x124287;if(!_0x208b32)return _0x506895;let _0x194578=_0x506895['length'];if(_0x194578===0x0)throw Error(_0x18be43(0x18b));let _0x5ec741=_0x506895[_0x194578-0x1],_0xaec479=0x1;_0xaec479&=_0x5ec741-0x1>>>0x1f^0x1,_0xaec479&=0x10-_0x5ec741>>>0x1f^0x1;for(let _0x31e2b=0x0;_0x31e2b<0x10;_0x31e2b++){let _0x7f2abf=_0x31e2b-_0x5ec741>>>0x1f,_0x142364=+((_0x506895[_0x194578-0x1-_0x31e2b]^_0x5ec741)===0x0);_0xaec479&=_0x142364|_0x7f2abf^0x1;}if(!_0xaec479)throw Error('aes/pkcs7:\x20wrong\x20padding');return _0x506895[_0x18be43(0x40f)](0x0,_0x194578-_0x5ec741);}function _0x499294(_0x290068){const _0x4cac81=_0x124287;let _0x599460=new Uint8Array(0x10),_0x1ed487=_0x439993(_0x599460);_0x599460[_0x4cac81(0x46d)](_0x290068);let _0x28ea49=0x10-_0x290068[_0x4cac81(0x48e)];for(let _0x5898e3=0x10-_0x28ea49;_0x5898e3<0x10;_0x5898e3++)_0x599460[_0x5898e3]=_0x28ea49;return _0x1ed487;}let _0x4ecd36=_0x25ee87({'blockSize':0x10,'nonceLength':0x10},function(_0x5a5a73,_0x9a31f5,_0x2ec8df={}){const _0x1db367=_0x124287;let _0x2fbcd7=!_0x2ec8df[_0x1db367(0x33a)];return{'encrypt'(_0x409252,_0x18653b){const _0x325cb8=_0x1db367;let _0x5ca9cc=_0x4e5fe5(_0x5a5a73),{b:_0xeb5672,o:_0x54c16b,out:_0x298501}=_0x34d7d4(_0x409252,_0x2fbcd7,_0x18653b),_0xe79d78=_0x9a31f5,_0x1b9f1d=[_0x5ca9cc];(!_0x429043||!_0x2e250b(_0xe79d78))&&_0x1b9f1d['push'](_0xe79d78=_0x488346(_0xe79d78));let _0x39f48c=_0x439993(_0xe79d78);_0x307d64(_0x39f48c);let _0x107a82=_0x39f48c[0x0],_0x4d9f67=_0x39f48c[0x1],_0x2f4953=_0x39f48c[0x2],_0x5e05c3=_0x39f48c[0x3],_0x44f9df=0x0;for(;_0x44f9df+0x4<=_0xeb5672[_0x325cb8(0x48e)];)_0x107a82^=_0xeb5672[_0x44f9df+0x0],_0x4d9f67^=_0xeb5672[_0x44f9df+0x1],_0x2f4953^=_0xeb5672[_0x44f9df+0x2],_0x5e05c3^=_0xeb5672[_0x44f9df+0x3],{s0:_0x107a82,s1:_0x4d9f67,s2:_0x2f4953,s3:_0x5e05c3}=_0x5ddd91(_0x5ca9cc,_0x107a82,_0x4d9f67,_0x2f4953,_0x5e05c3),_0x54c16b[_0x44f9df++]=_0x107a82,_0x54c16b[_0x44f9df++]=_0x4d9f67,_0x54c16b[_0x44f9df++]=_0x2f4953,_0x54c16b[_0x44f9df++]=_0x5e05c3;if(_0x2fbcd7){let _0x3982d1=_0x499294(_0x409252[_0x325cb8(0x40f)](_0x44f9df*0x4));_0x307d64(_0x3982d1),_0x107a82^=_0x3982d1[0x0],_0x4d9f67^=_0x3982d1[0x1],_0x2f4953^=_0x3982d1[0x2],_0x5e05c3^=_0x3982d1[0x3],{s0:_0x107a82,s1:_0x4d9f67,s2:_0x2f4953,s3:_0x5e05c3}=_0x5ddd91(_0x5ca9cc,_0x107a82,_0x4d9f67,_0x2f4953,_0x5e05c3),_0x54c16b[_0x44f9df++]=_0x107a82,_0x54c16b[_0x44f9df++]=_0x4d9f67,_0x54c16b[_0x44f9df++]=_0x2f4953,_0x54c16b[_0x44f9df++]=_0x5e05c3;}return _0x307d64(_0x54c16b),_0x39382e(..._0x1b9f1d),_0x298501;},'decrypt'(_0x3ea120,_0xe48ed6){const _0x2f3814=_0x1db367;_0x103754(_0x3ea120);let _0x32ffbf=_0xf0276b(_0x5a5a73),_0x2c62c3=_0x9a31f5,_0x2a0e27=[_0x32ffbf];(!_0x429043||!_0x2e250b(_0x2c62c3))&&_0x2a0e27['push'](_0x2c62c3=_0x488346(_0x2c62c3));let _0x179d68=_0x439993(_0x2c62c3);_0x307d64(_0x179d68),_0xe48ed6=_0x38f5c0(_0x3ea120[_0x2f3814(0x48e)],_0xe48ed6),_0x2aade4(_0x3ea120,_0xe48ed6),(!_0x429043||!_0x2e250b(_0x3ea120))&&_0x2a0e27[_0x2f3814(0x385)](_0x3ea120=_0x488346(_0x3ea120));let _0x145dbf=_0x439993(_0x3ea120),_0x181964=_0x439993(_0xe48ed6);_0x307d64(_0x145dbf);let _0x2b8b75=_0x179d68[0x0],_0x3f4bfe=_0x179d68[0x1],_0x54b7aa=_0x179d68[0x2],_0x2281f9=_0x179d68[0x3];for(let _0x436c87=0x0;_0x436c87+0x4<=_0x145dbf[_0x2f3814(0x48e)];){let _0x1c5cb8=_0x2b8b75,_0x12d883=_0x3f4bfe,_0x235990=_0x54b7aa,_0x24050c=_0x2281f9;_0x2b8b75=_0x145dbf[_0x436c87+0x0],_0x3f4bfe=_0x145dbf[_0x436c87+0x1],_0x54b7aa=_0x145dbf[_0x436c87+0x2],_0x2281f9=_0x145dbf[_0x436c87+0x3];let {s0:_0x4b652,s1:_0x19340c,s2:_0x36c8ce,s3:_0x3f6b99}=_0x3a7bbf(_0x32ffbf,_0x2b8b75,_0x3f4bfe,_0x54b7aa,_0x2281f9);_0x181964[_0x436c87++]=_0x4b652^_0x1c5cb8,_0x181964[_0x436c87++]=_0x19340c^_0x12d883,_0x181964[_0x436c87++]=_0x36c8ce^_0x235990,_0x181964[_0x436c87++]=_0x3f6b99^_0x24050c;}return _0x307d64(_0x181964),_0x39382e(..._0x2a0e27),_0x24f746(_0xe48ed6,_0x2fbcd7);}};});function _0x55abf2(_0x10c8ae){const _0x5adf00=_0x124287;let _0x2de433=atob(_0x10c8ae),_0x5f5474=new Uint8Array(_0x2de433[_0x5adf00(0x48e)]);for(let _0x97f6d0=0x0;_0x97f6d0<_0x2de433[_0x5adf00(0x48e)];_0x97f6d0++)_0x5f5474[_0x97f6d0]=_0x2de433['charCodeAt'](_0x97f6d0);return _0x5f5474;}function _0x36faa3(_0xea2cbb){const _0x37bc4d=_0x124287;let _0x38b271='';for(let _0x26bd7a=0x0;_0x26bd7a<_0xea2cbb[_0x37bc4d(0x48e)];_0x26bd7a++)_0x38b271+=String[_0x37bc4d(0x37c)](_0xea2cbb[_0x26bd7a]);return btoa(_0x38b271);}function _0x35717c(_0xd721a4,_0x535bf3){const _0x371ac7=_0x124287;let _0x3ced10=_0x55abf2(_0x535bf3),_0x15d3a1=_0x38a85f(0x10);return _0x36faa3(_0x4634bd(_0x15d3a1,_0x4ecd36(_0x3ced10,_0x15d3a1)[_0x371ac7(0x48b)](_0x678b7(_0xd721a4))));}function _0x4e0581(){const _0x396250=_0x124287;let _0x42368a=(0x0,_0x4e563e[_0x396250(0x2fb)])()['__Key__'];if(typeof window<'u'&&window[_0x396250(0x29c)]!==void 0x0&&_0x42368a){let _0x3afda2={'time':Math[_0x396250(0x2a6)](Date[_0x396250(0x1af)]()/0x3e8),'domain':location[_0x396250(0x336)]};return _0x35717c(JSON['stringify'](_0x3afda2),_0x42368a);}}let _0x3798e2=class{constructor(_0x8f0511){const _0x1f2581=_0x124287;this[_0x1f2581(0x1d5)]=_0x8f0511,this[_0x1f2581(0x27c)]();}[_0x124287(0x27c)](){const _0x30ed28=_0x124287;this[_0x30ed28(0x1d5)][_0x30ed28(0x186)]({'interceptor':(_0x3707cb,_0x16b722)=>{let _0x27695c=_0x4e0581();return _0x27695c&&_0x3707cb['headers']['set']('x-univer-host',_0x27695c),_0x16b722(_0x3707cb);}});}};_0x3798e2=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x41d52c[_0x124287(0x46c)]))],_0x3798e2);let _0x243636=class extends _0x38d3af['RxDisposable']{constructor(_0x3f7677,_0x5c8442,_0x488d66){const _0x492e25=_0x124287;super(),this[_0x492e25(0x1d8)]=_0x3f7677,this['_snapshotService']=_0x5c8442,this[_0x492e25(0x312)]=_0x488d66,_0x50ece2(this,_0x492e25(0x37b),new _0x282118[(_0x492e25(0x279))](null)),_0x50ece2(this,_0x492e25(0x268),this[_0x492e25(0x37b)][_0x492e25(0x433)]());}async['loadUnitOfRevision'](_0x7c7c66,_0x1bfe60,_0x33bc49){const _0x2e6d37=_0x124287;this[_0x2e6d37(0x37b)][_0x2e6d37(0x469)]({'unitId':_0x7c7c66,'type':_0x1bfe60});let _0x5402fb=null;switch(_0x1bfe60){case _0x38d3af['UniverInstanceType'][_0x2e6d37(0x28b)]:_0x5402fb=await this[_0x2e6d37(0x24e)][_0x2e6d37(0x3b5)](_0x7c7c66,_0x33bc49);break;case _0x38d3af[_0x2e6d37(0x244)][_0x2e6d37(0x493)]:_0x5402fb=await this[_0x2e6d37(0x24e)][_0x2e6d37(0x208)](_0x7c7c66,_0x33bc49);break;default:this[_0x2e6d37(0x1d8)][_0x2e6d37(0x338)](_0x2e6d37(0x1fb),_0x2e6d37(0x276));break;}return _0x5402fb;}async[_0x124287(0x445)](_0x438b05,_0x4aa168,_0x1e4c7f){const _0x4aface=_0x124287;var _0x385bf3;this['_unitInfo$'][_0x4aface(0x469)]({'unitId':_0x438b05,'type':_0x4aa168,'subUnitId':_0x1e4c7f});let _0x1e87a2=0x0,_0x77adb4=await((_0x385bf3=this[_0x4aface(0x312)])==null?void 0x0:_0x385bf3[_0x4aface(0x1e1)](_0x438b05));return _0x77adb4&&(_0x77adb4['awaitingChangeset']||_0x77adb4['mutations'][_0x4aface(0x48e)]!==0x0)&&(_0x1e87a2=_0x77adb4[_0x4aface(0x2bb)]),_0x1e87a2===0x0&&this['_logService'][_0x4aface(0x215)]('[DataLoaderService]',_0x4aface(0x232)),this[_0x4aface(0x475)](_0x438b05,_0x4aa168,_0x1e87a2);}};_0x243636=_0x131186([_0x22bf51(0x0,_0x38d3af[_0x124287(0x1aa)]),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x25767b[_0x124287(0x1ca)])),_0x22bf51(0x2,(0x0,_0x38d3af[_0x124287(0x261)])(_0x19c832))],_0x243636);let _0x1b0329=class{constructor(_0x3d5f9b,_0x27cb6d,_0x11a253){const _0x471e5c=_0x124287;this['_httpService']=_0x3d5f9b,this[_0x471e5c(0x344)]=_0x27cb6d,this['_univerInstanceService']=_0x11a253,_0x50ece2(this,'_waitCount',0x0),_0x50ece2(this,'_change$',new _0x282118[(_0x471e5c(0x3d2))]()),_0x50ece2(this,_0x471e5c(0x341),this[_0x471e5c(0x1a2)]),_0x50ece2(this,_0x471e5c(0x19f),new Map());}[_0x124287(0x30e)](_0x3e4f50){const _0x536a99=_0x124287;this[_0x536a99(0x1cb)]=_0x3e4f50,this['_change$'][_0x536a99(0x469)](_0x3e4f50);}[_0x124287(0x284)](_0x2537aa,_0x56bd17){const _0x205a26=_0x124287;if(_0x56bd17===_0x295307[_0x205a26(0x415)][_0x205a26(0x487)]){let _0x61f36e=new Image();return _0x61f36e[_0x205a26(0x3c5)]=_0x2537aa,_0x61f36e;}return this['_imageSourceCache']['get'](_0x2537aa);}['addImageSourceCache'](_0x59f0bd,_0x2605a9,_0x1ac9b0){const _0x174178=_0x124287;_0x2605a9===_0x295307['ImageSourceType'][_0x174178(0x487)]||_0x1ac9b0==null||this['_imageSourceCache']['set'](_0x59f0bd,_0x1ac9b0);}async[_0x124287(0x391)](_0x12a623){const _0x417657=_0x124287;try{let _0x47bae0=this[_0x417657(0x3e3)](this[_0x417657(0x2d8)](),''+_0x12a623),_0x3573d1=(await this['_httpService'][_0x417657(0x23b)](_0x47bae0))[_0x417657(0x359)];if(_0x3573d1[_0x417657(0x338)]&&_0x3573d1['error'][_0x417657(0x211)]===_0x3eeea2[_0x417657(0x2d1)]['OK']){let _0x36fbe9=(0x0,_0x38d3af[_0x417657(0x2f7)])(_0x3573d1[_0x417657(0x2a4)],this[_0x417657(0x21c)]());return Promise[_0x417657(0x18d)](_0x36fbe9);}return Promise[_0x417657(0x1c2)](_0x3573d1[_0x417657(0x338)]);}catch(_0x543630){return Promise[_0x417657(0x1c2)](_0x543630);}}async[_0x124287(0x2de)](_0x346e45){const _0x50e7b4=_0x124287;let _0x5053e7='';if(!_0x295307[_0x50e7b4(0x3af)][_0x50e7b4(0x32f)](_0x346e45[_0x50e7b4(0x3b3)]))return this['_decreaseWaiting'](),Promise[_0x50e7b4(0x1c2)](Error(_0x295307['ImageUploadStatusType'][_0x50e7b4(0x4a1)]));if(_0x346e45[_0x50e7b4(0x221)]>(0x0,_0x295307[_0x50e7b4(0x3cb)])())return this['_decreaseWaiting'](),Promise['reject'](Error(_0x295307['ImageUploadStatusType'][_0x50e7b4(0x358)]));try{let _0x27617a=new FormData();_0x27617a[_0x50e7b4(0x230)](_0x50e7b4(0x196),_0x346e45);let _0x49631a=this[_0x50e7b4(0x29b)][_0x50e7b4(0x449)](),_0x494b84=_0x49631a==null?void 0x0:_0x49631a[_0x50e7b4(0x258)]();if(!_0x494b84)throw Error(_0x50e7b4(0x36e));let _0x3da916=this['_getUploadFileURL']()+_0x50e7b4(0x24d)+_0x346e45[_0x50e7b4(0x221)][_0x50e7b4(0x43c)]()+_0x50e7b4(0x235)+_0x3eeea2['FileSource'][_0x50e7b4(0x34c)]+'&assign='+encodeURIComponent(_0x494b84),_0x3f5b48={'body':_0x27617a},_0x140768=(await this[_0x50e7b4(0x1d5)][_0x50e7b4(0x27f)](_0x3da916,_0x3f5b48))[_0x50e7b4(0x359)];if(typeof _0x140768[_0x50e7b4(0x1e4)]!=_0x50e7b4(0x1a1))return this[_0x50e7b4(0x46f)](),Promise[_0x50e7b4(0x1c2)](Error(_0x295307[_0x50e7b4(0x43f)][_0x50e7b4(0x378)]));_0x5053e7=_0x140768[_0x50e7b4(0x1e4)];}catch{return this[_0x50e7b4(0x46f)](),Promise['reject'](Error(_0x295307['ImageUploadStatusType'][_0x50e7b4(0x378)]));}return new Promise((_0x189987,_0x4243e3)=>{const _0x48db7d=_0x50e7b4;let _0x4cd2e7=new FileReader();_0x4cd2e7[_0x48db7d(0x1b5)](_0x346e45),_0x4cd2e7[_0x48db7d(0x491)]=_0x32527c=>{const _0x3e6a0e=_0x48db7d;var _0x3cee2a;let _0x4b9ac1=(_0x3cee2a=_0x32527c[_0x3e6a0e(0x250)])==null?void 0x0:_0x3cee2a[_0x3e6a0e(0x3f9)];if(_0x4b9ac1==null){this[_0x3e6a0e(0x46f)](),_0x4243e3(Error(_0x295307[_0x3e6a0e(0x43f)][_0x3e6a0e(0x378)]));return;}_0x189987({'imageId':(0x0,_0x38d3af['generateRandomId'])(0x6),'imageSourceType':_0x295307['ImageSourceType'][_0x3e6a0e(0x296)],'source':_0x5053e7,'base64Cache':_0x4b9ac1,'status':_0x295307[_0x3e6a0e(0x43f)][_0x3e6a0e(0x408)]}),this[_0x3e6a0e(0x46f)]();};});}['_getUploadFileURL'](){const _0x1c38c2=_0x124287;var _0x14e3d9;let _0x3f2c6f=this[_0x1c38c2(0x344)]['getConfig'](_0xc791ca);return(_0x14e3d9=_0x3f2c6f==null?void 0x0:_0x3f2c6f[_0x1c38c2(0x45a)])==null?_0x1c38c2(0x38f):_0x14e3d9;}[_0x124287(0x2d8)](){const _0x315692=_0x124287;var _0x45f340;let _0x257e59=this['_configService'][_0x315692(0x2ad)](_0xc791ca);return(_0x45f340=_0x257e59==null?void 0x0:_0x257e59[_0x315692(0x202)])==null?_0x315692(0x25a):_0x45f340;}[_0x124287(0x21c)](){var _0x1679e3;let _0x3beb1c=this['_configService']['getConfig'](_0xc791ca);return(_0x1679e3=_0x3beb1c==null?void 0x0:_0x3beb1c['downloadEndpointUrl'])==null?location['origin']:_0x1679e3;}[_0x124287(0x3e3)](_0x27bab6,_0x44ecfc){const _0x42560c=_0x124287;return _0x27bab6[_0x42560c(0x265)](_0x42560c(0x3aa),_0x44ecfc);}[_0x124287(0x46f)](){const _0x2da54a=_0x124287;--this[_0x2da54a(0x1cb)],this[_0x2da54a(0x1a2)][_0x2da54a(0x469)](this['_waitCount']);}};_0x1b0329=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x41d52c[_0x124287(0x46c)])),_0x22bf51(0x1,_0x38d3af[_0x124287(0x41d)]),_0x22bf51(0x2,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x2cc)]))],_0x1b0329);let _0x5ec726=class{constructor(_0x48155b,_0x43927c){const _0x80155d=_0x124287;this[_0x80155d(0x344)]=_0x48155b,this[_0x80155d(0x26e)]=_0x43927c;}['_getAPIPrefixPath'](){const _0x534e2a=_0x124287;var _0x5ec41a;let _0x3aa3ef=this['_configService'][_0x534e2a(0x2ad)](_0xc791ca);return(_0x5ec41a=_0x3aa3ef==null?void 0x0:_0x3aa3ef[_0x534e2a(0x2f6)])==null?_0x534e2a(0x2c6):_0x5ec41a;}async[_0x124287(0x2cb)](_0x30a87d){const _0x417401=_0x124287;let _0x2c1352=this[_0x417401(0x274)]()+_0x417401(0x2aa);return{'list':[{'title':_0x417401(0x40b),'mentions':(await this['_HTTPService'][_0x417401(0x23b)](_0x2c1352,{'params':{'objectID':_0x30a87d[_0x417401(0x3e9)],'unitID':_0x30a87d[_0x417401(0x3e9)]}}))[_0x417401(0x359)]['collaborators'][_0x417401(0x375)](_0x21e277=>({'objectId':_0x21e277['id'],'name':_0x21e277[_0x417401(0x333)]['name'],'metadata':{'icon':_0x21e277[_0x417401(0x333)]['avatar']},'label':_0x21e277['subject'][_0x417401(0x3c9)],'objectType':_0x38d3af['MentionType'][_0x417401(0x452)]})),'metadata':{},'type':_0x38d3af['MentionType']['PERSON']}]};}};_0x5ec726=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x41d)])),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x41d52c[_0x124287(0x46c)]))],_0x5ec726);let _0x4a6076=class extends _0x38d3af['RxDisposable']{constructor(_0x5bff88,_0x20d4a8,_0x42648b,_0x4fda3a,_0x2f0d77){const _0x4f2638=_0x124287;super(),this[_0x4f2638(0x2ed)]=_0x5bff88,this[_0x4f2638(0x29b)]=_0x20d4a8,this[_0x4f2638(0x2ef)]=_0x42648b,this[_0x4f2638(0x29d)]=_0x4fda3a,this[_0x4f2638(0x301)]=_0x2f0d77,this[_0x4f2638(0x3a9)](),this[_0x4f2638(0x3b2)]();}[_0x124287(0x3b2)](){const _0x970195=_0x124287;let _0x324ca7=async _0x2b6fee=>{const _0x48d944=_0x3817;(await this[_0x48d944(0x29d)][_0x48d944(0x224)](_0x2b6fee))['event$'][_0x48d944(0x1d2)]((0x0,_0xecc1b5[_0x48d944(0x444)])(_0x554ba9=>_0x554ba9[_0x48d944(0x2af)]===_0x25767b[_0x48d944(0x48c)]['SHOULD_CLOSE_CONN']),(0x0,_0xecc1b5[_0x48d944(0x1bc)])(this[_0x48d944(0x1b4)]))[_0x48d944(0x3b6)](_0x56b0b1=>{const _0x4e0a4b=_0x48d944;let {reason:_0x559c5b}=_0x56b0b1[_0x4e0a4b(0x1c3)];this[_0x4e0a4b(0x301)][_0x4e0a4b(0x3ae)]({'id':_0x4e0a4b(0x3a0),'data':_0x559c5b}),this['_permissionService'][_0x4e0a4b(0x2b9)](new _0x4606ad[(_0x4e0a4b(0x331))](_0x2b6fee)['id'],!0x1),this['_collaborationSessionService'][_0x4e0a4b(0x29e)](_0x2b6fee);});};(0x0,_0x282118[_0x970195(0x23d)])(this[_0x970195(0x29b)][_0x970195(0x30b)](_0x38d3af[_0x970195(0x244)][_0x970195(0x28b)]),this[_0x970195(0x29b)]['getTypeOfUnitAdded$'](_0x38d3af[_0x970195(0x244)][_0x970195(0x493)]))[_0x970195(0x1d2)]((0x0,_0xecc1b5[_0x970195(0x375)])(_0x226515=>_0x226515[_0x970195(0x240)][_0x970195(0x258)]()),(0x0,_0xecc1b5[_0x970195(0x444)])(_0x2d110b=>!(0x0,_0x38d3af[_0x970195(0x1b2)])(_0x2d110b)),(0x0,_0xecc1b5['takeUntil'])(this['dispose$']))['subscribe'](_0x4492fb=>{_0x324ca7(_0x4492fb);});}['_initUnitPermissionChange'](){const _0x2741ee=_0x124287;let _0x1473a6=async _0x23b583=>{const _0x5dbccb=_0x3817;let _0x1a189e=await this[_0x5dbccb(0x29d)]['requireSession'](_0x23b583),_0x1e6580=this['_injector']['get'](_0x4606ad['SheetPermissionInitController']);_0x1a189e[_0x5dbccb(0x36b)][_0x5dbccb(0x1d2)]((0x0,_0xecc1b5[_0x5dbccb(0x444)])(_0x50b7f2=>_0x50b7f2[_0x5dbccb(0x2af)]===_0x25767b[_0x5dbccb(0x48c)][_0x5dbccb(0x24b)]),(0x0,_0xecc1b5[_0x5dbccb(0x1bc)])(this[_0x5dbccb(0x1b4)]))[_0x5dbccb(0x3b6)](_0x4192c4=>{const _0x1f700a=_0x5dbccb;let {objectId:_0x1ea1fe}=_0x4192c4[_0x1f700a(0x1c3)];_0x1ea1fe===_0x23b583?_0x1e6580['initWorkbookPermissionChange'](_0x23b583):_0x1e6580[_0x1f700a(0x401)](_0x23b583,_0x1ea1fe);});};(0x0,_0x282118[_0x2741ee(0x23d)])(this[_0x2741ee(0x29b)][_0x2741ee(0x30b)](_0x38d3af[_0x2741ee(0x244)][_0x2741ee(0x28b)]))[_0x2741ee(0x1d2)]((0x0,_0xecc1b5[_0x2741ee(0x375)])(_0x2460ec=>_0x2460ec[_0x2741ee(0x240)]['getUnitId']()),(0x0,_0xecc1b5['filter'])(_0x197361=>!(0x0,_0x38d3af[_0x2741ee(0x1b2)])(_0x197361)),(0x0,_0xecc1b5[_0x2741ee(0x1bc)])(this[_0x2741ee(0x1b4)]))['subscribe'](_0x16f833=>{_0x1473a6(_0x16f833);});}};_0x4a6076=_0x131186([_0x22bf51(0x0,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x1,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0x2,_0x38d3af['IPermissionService']),_0x22bf51(0x3,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x4bcb39)),_0x22bf51(0x4,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x3b3560))],_0x4a6076);let _0x59efae=class{constructor(_0x4e5815,_0x2c3257){const _0x2f2fbc=_0x124287;this['_configService']=_0x4e5815,this[_0x2f2fbc(0x1d5)]=_0x2c3257;}async[_0x124287(0x2f0)](_0x47c881,_0x213bdf){const _0x30a01e=_0x124287;var _0x3977c0;let {unitID:_0x1ae996,type:_0x41cd79,revision:_0x407460=0x0}=_0x213bdf,_0x2d3be4=this[_0x30a01e(0x37d)]()+'/'+_0x41cd79+'/unit/'+_0x1ae996+_0x30a01e(0x3d8)+_0x407460,_0x5e1238=(await this[_0x30a01e(0x1d5)][_0x30a01e(0x23b)](_0x2d3be4))['body'],_0x13f00a=(_0x3977c0=_0x5e1238[_0x30a01e(0x3de)])==null?void 0x0:_0x3977c0['workbook'];if(_0x13f00a){let _0x4e1bc5=_0x13f00a==null?void 0x0:_0x13f00a['originalMeta'];_0x13f00a[_0x30a01e(0x456)]=_0x25767b[_0x30a01e(0x417)][_0x30a01e(0x2e7)]((0x0,_0x25767b[_0x30a01e(0x38c)])(_0x4e1bc5)),Object[_0x30a01e(0x424)](_0x13f00a[_0x30a01e(0x2df)])[_0x30a01e(0x3eb)](([,_0x3c1261])=>{const _0x4cb6d3=_0x30a01e;let _0x249b0c=_0x3c1261[_0x4cb6d3(0x456)];_0x3c1261[_0x4cb6d3(0x456)]=_0x25767b[_0x4cb6d3(0x417)]['encode']((0x0,_0x25767b[_0x4cb6d3(0x38c)])(_0x249b0c));});}return _0x5e1238;}async[_0x124287(0x2e2)](_0x49aa53,_0x4c6cdc){const _0x54a276=_0x124287;let {unitID:_0x4f0a56,type:_0x5e4662,blockID:_0x19b6c3}=_0x4c6cdc,_0x20f7ab=this[_0x54a276(0x300)]()+'/'+_0x5e4662+_0x54a276(0x498)+_0x4f0a56+_0x54a276(0x44c)+_0x19b6c3;return(await this[_0x54a276(0x1d5)][_0x54a276(0x23b)](_0x20f7ab))[_0x54a276(0x359)];}async[_0x124287(0x1e9)](_0x5d76fc,_0x257451){const _0x420372=_0x124287;let {unitID:_0x536a3a,type:_0x5a74da,blockID:_0x4214d3}=_0x257451,_0x3511f8=this[_0x420372(0x300)]()+'/block/'+_0x5a74da+_0x420372(0x498)+_0x536a3a+_0x420372(0x44c)+_0x4214d3;return(await this['_httpService'][_0x420372(0x23b)](_0x3511f8))[_0x420372(0x359)];}async[_0x124287(0x256)](_0x8dc28f,_0xfcc741){const _0x275fe7=_0x124287;let {unitID:_0x29ec5f,type:_0x15767d,from:_0x3497ef,to:_0x35c9f9}=_0xfcc741,_0x5d5661=this['_getAPIPrefix']()+'/'+_0x15767d+_0x275fe7(0x498)+_0x29ec5f+_0x275fe7(0x2d7)+_0x3497ef+_0x275fe7(0x1f3)+_0x35c9f9;return(await this[_0x275fe7(0x1d5)][_0x275fe7(0x23b)](_0x5d5661))['body'];}['getSnapshotAPIPath'](){const _0xd137a5=_0x124287;var _0x3a0558;return(_0x3a0558=this[_0xd137a5(0x344)]['getConfig'](_0xd137a5(0x285)))==null?this[_0xd137a5(0x300)]():_0x3a0558;}[_0x124287(0x300)](){const _0x94344=_0x124287;var _0x320db1;let _0x3ab357=this[_0x94344(0x344)][_0x94344(0x2ad)](_0xc791ca);return(_0x320db1=_0x3ab357==null?void 0x0:_0x3ab357[_0x94344(0x1a4)])==null?_0x94344(0x2ec):_0x320db1;}async['getResourcesRequest'](_0x397b17,_0x2b74e3){const _0x55eb33=_0x124287;let _0x5be569=_0x55eb33(0x3dc)+_0x2b74e3[_0x55eb33(0x3b3)]+_0x55eb33(0x498)+_0x2b74e3['unitID']+_0x55eb33(0x23c);return(await this['_httpService']['get'](_0x5be569,{'params':{'resourceId':JSON[_0x55eb33(0x1d1)](_0x2b74e3[_0x55eb33(0x1d0)])}}))['body'];}[_0x124287(0x399)](){const _0x488537=_0x124287;throw Error(_0x488537(0x234));}['updateSnapshot'](){const _0x3edd74=_0x124287;throw Error(_0x3edd74(0x234));}['saveSheetBlock'](){const _0x5add3d=_0x124287;throw Error(_0x5add3d(0x234));}[_0x124287(0x43d)](){const _0x5cc086=_0x124287;throw Error(_0x5cc086(0x234));}[_0x124287(0x441)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x124287(0x304)](){const _0x52f1a8=_0x124287;throw Error(_0x52f1a8(0x234));}};_0x59efae=_0x131186([_0x22bf51(0x0,_0x38d3af[_0x124287(0x41d)]),_0x22bf51(0x1,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x41d52c['HTTPService']))],_0x59efae);let _0x310e51=class extends _0x38d3af[_0x124287(0x3fe)]{constructor(_0x24116e,_0x59235b,_0x14f6ae,_0xd0fa0c,_0x6fea4a){super(_0x24116e,_0x59235b,_0x14f6ae),this['_transformService']=_0xd0fa0c,this['_logService']=_0x6fea4a;}[_0x124287(0x264)](_0xa6cd8c,_0x53d1c5){const _0x12426f=_0x124287;let _0x2e9ac2=this[_0x12426f(0x2e8)](_0xa6cd8c);if(_0x2e9ac2)try{let _0x2b4221=this[_0x12426f(0x36c)](_0x2e9ac2,_0x53d1c5);this['_substituteUndoStack'](_0xa6cd8c,_0x2b4221);}catch(_0x373eb6){this['_logService'][_0x12426f(0x338)](_0x12426f(0x3bb),_0x373eb6),this['_clearUndo'](_0xa6cd8c);}let _0x3d44a8=this[_0x12426f(0x1eb)](_0xa6cd8c);if(_0x3d44a8)try{let _0x3a2167=this[_0x12426f(0x36c)](_0x3d44a8,_0x53d1c5);this[_0x12426f(0x1f4)](_0xa6cd8c,_0x3a2167);}catch(_0x4c5557){this[_0x12426f(0x1d8)][_0x12426f(0x338)](_0x4c5557),this[_0x12426f(0x339)](_0xa6cd8c);}}['_clearUndo'](_0x5152a3){const _0x3169ba=_0x124287;let _0x1c19bf=this[_0x3169ba(0x2e8)](_0x5152a3);_0x1c19bf&&(_0x1c19bf[_0x3169ba(0x48e)]=0x0,this['_updateStatus']());}[_0x124287(0x339)](_0x499453){const _0x40570e=_0x124287;let _0xd08746=this[_0x40570e(0x1eb)](_0x499453);_0xd08746&&(_0xd08746['length']=0x0,this[_0x40570e(0x213)]());}[_0x124287(0x36d)](_0x5571ef,_0x3a5652){const _0x9a76e4=_0x124287;this[_0x9a76e4(0x3fb)][_0x9a76e4(0x46d)](_0x5571ef,_0x3a5652),this['_updateStatus']();}[_0x124287(0x1f4)](_0x1d8299,_0x25cfb2){const _0x1adfd5=_0x124287;this[_0x1adfd5(0x398)]['set'](_0x1d8299,_0x25cfb2),this[_0x1adfd5(0x213)]();}[_0x124287(0x36c)](_0x2fef69,_0xa4fb41){const _0x2c0629=_0x124287;let _0x46d787=[],_0x42c290=_0xa4fb41,_0x3ac7b6=_0xa4fb41;for(let _0x242c00=_0x2fef69[_0x2c0629(0x48e)]-0x1;_0x242c00>=0x0;_0x242c00--){let {unitID:_0x369b2b,undoMutations:_0x39742b,redoMutations:_0x306d62}=_0x2fef69[_0x242c00],_0x56335e=this['_transformService'][_0x2c0629(0x3c7)](_0x42c290,_0x39742b),_0x2cfbba=this[_0x2c0629(0x1dd)][_0x2c0629(0x3c7)](_0x3ac7b6,_0x306d62);if((0x0,_0x25767b[_0x2c0629(0x229)])(_0x56335e)||(0x0,_0x25767b[_0x2c0629(0x229)])(_0x2cfbba)){this[_0x2c0629(0x1d8)][_0x2c0629(0x338)]('[CollaborationUndoRedoService]',_0x2c0629(0x421),_0x56335e,_0x2cfbba);break;}_0x42c290=_0x56335e[_0x2c0629(0x1cd)],_0x3ac7b6=_0x2cfbba[_0x2c0629(0x1cd)],_0x46d787[_0x2c0629(0x385)]({'unitID':_0x369b2b,'undoMutations':_0x56335e[_0x2c0629(0x195)],'redoMutations':_0x2cfbba[_0x2c0629(0x195)]});}return _0x46d787[_0x2c0629(0x320)]();}};_0x310e51=_0x131186([_0x22bf51(0x0,_0x38d3af[_0x124287(0x2cc)]),_0x22bf51(0x1,_0x38d3af['ICommandService']),_0x22bf51(0x2,_0x38d3af[_0x124287(0x381)]),_0x22bf51(0x3,_0x25767b[_0x124287(0x290)]),_0x22bf51(0x4,_0x38d3af[_0x124287(0x1aa)])],_0x310e51);let _0x475d98=class extends _0x38d3af['Plugin']{constructor(_0x428b5a={},_0x5df9f6,_0x11091b,_0x44141d){const _0x561538=_0x124287;super(),this['_config']=_0x428b5a,this['_logService']=_0x5df9f6,this[_0x561538(0x2ed)]=_0x11091b,this[_0x561538(0x344)]=_0x44141d;let {..._0x209110}=(0x0,_0x38d3af[_0x561538(0x23d)])({},_0x3a2680,_0x428b5a);if(!_0x209110[_0x561538(0x42a)])throw Error(_0x561538(0x3a2));this[_0x561538(0x356)]=_0x209110,this[_0x561538(0x344)][_0x561538(0x39a)](_0xc791ca,_0x209110);}['onStarting'](){const _0x365b63=_0x124287;this[_0x365b63(0x237)](),this[_0x365b63(0x1fa)]();}[_0x124287(0x237)](){const _0x3ba38d=_0x124287;var _0x4d929f,_0x2d05fd;this[_0x3ba38d(0x2ed)]['has'](_0x38d3af[_0x3ba38d(0x2b7)])&&this[_0x3ba38d(0x1d8)][_0x3ba38d(0x338)](_0x3ba38d(0x1dc),_0x3ba38d(0x39f));let _0x391c02=(0x0,_0x38d3af['mergeOverrideWithDependencies'])([[_0x38d3af[_0x3ba38d(0x2b7)],{'useClass':_0x310e51}],[_0x4bcb39],[_0x59032e],[_0x108e5e],[_0x4a34d9],[_0x3798e2],[_0x3b9fd8],[_0x4a6076],[_0x3b3560],[_0x243636],[_0x3a6db1,{'useClass':this['_config'][_0x3ba38d(0x42a)]}],[_0x25767b[_0x3ba38d(0x3be)],{'useClass':_0x59efae}],[_0x38d3af[_0x3ba38d(0x231)],{'useClass':_0x457782}],[_0x295307[_0x3ba38d(0x1a3)],{'useClass':_0x1b0329}],[_0x38d3af[_0x3ba38d(0x455)],{'useClass':_0x5ec726}],[_0x3499dc],[_0x14ab70]],(_0x4d929f=this[_0x3ba38d(0x356)])==null?void 0x0:_0x4d929f[_0x3ba38d(0x228)]);if(!((_0x2d05fd=this[_0x3ba38d(0x356)])!=null&&_0x2d05fd[_0x3ba38d(0x495)])){let _0x5ae0cd=_0x391c02[_0x3ba38d(0x467)](([_0x25772c])=>_0x25772c===_0x1f80e9);_0x5ae0cd!==-0x1&&_0x391c02[_0x3ba38d(0x2ee)](_0x5ae0cd,0x1);}(0x0,_0x38d3af[_0x3ba38d(0x31a)])(this[_0x3ba38d(0x2ed)],_0x391c02);}[_0x124287(0x1fa)](){const _0x41682b=_0x124287;var _0x351875,_0x2f340d;if(this[_0x41682b(0x2ed)][_0x41682b(0x23b)](_0x41d52c[_0x41682b(0x46c)])[_0x41682b(0x186)]({'priority':0x14,'interceptor':(0x0,_0x41d52c[_0x41682b(0x2be)])({'maxParallel':0x6})}),!((_0x351875=this[_0x41682b(0x356)])!=null&&_0x351875[_0x41682b(0x473)])){var _0x8552cd;(_0x8552cd=this['_injector']['get'](_0x19c832,_0x38d3af[_0x41682b(0x460)]['OPTIONAL']))==null||_0x8552cd['disableLocalCache']();}(_0x2f340d=this['_config'])!=null&&_0x2f340d[_0x41682b(0x414)]&&(0x0,_0x38d3af[_0x41682b(0x37a)])(this[_0x41682b(0x2ed)],[[_0x4a34d9]]),(0x0,_0x38d3af['touchDependencies'])(this[_0x41682b(0x2ed)],[[_0x3798e2],[_0x3499dc],[_0x4a6076]]);}};_0x50ece2(_0x475d98,'pluginName',_0x124287(0x25b)),_0x50ece2(_0x475d98,_0x124287(0x458),_0x3119c7),_0x50ece2(_0x475d98,_0x124287(0x3d5),_0x10ce9f),_0x475d98=_0x131186([(0x0,_0x38d3af[_0x124287(0x372)])(_0x4e563e[_0x124287(0x2e0)],_0x25767b[_0x124287(0x362)],_0x41d52c[_0x124287(0x207)]),_0x22bf51(0x1,_0x38d3af['ILogService']),_0x22bf51(0x2,(0x0,_0x38d3af[_0x124287(0x2f1)])(_0x38d3af[_0x124287(0x3cf)])),_0x22bf51(0x3,_0x38d3af[_0x124287(0x41d)])],_0x475d98),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x40e),{'enumerable':!0x0,'get':function(){return _0x457782;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x3e2),{'enumerable':!0x0,'get':function(){return _0x5d6712;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x283),{'enumerable':!0x0,'get':function(){return _0x348457;}}),_0x57bbdc['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0xc791ca,Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x450),{'enumerable':!0x0,'get':function(){return _0x3499dc;}}),Object['defineProperty'](_0x57bbdc,_0x124287(0x262),{'enumerable':!0x0,'get':function(){return _0x5817aa;}}),Object[_0x124287(0x2fc)](_0x57bbdc,'CollaborationImageIoService',{'enumerable':!0x0,'get':function(){return _0x1b0329;}}),Object['defineProperty'](_0x57bbdc,_0x124287(0x25d),{'enumerable':!0x0,'get':function(){return _0x3be262;}}),Object['defineProperty'](_0x57bbdc,_0x124287(0x425),{'enumerable':!0x0,'get':function(){return _0x4bcb39;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x316),{'enumerable':!0x0,'get':function(){return _0x441833;}}),_0x57bbdc['CollaborationStatus']=_0x5cf168,_0x57bbdc[_0x124287(0x3f5)]=_0x5d149d,_0x57bbdc['CollaborationUIEventService']=_0x3b3560,Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x37e),{'enumerable':!0x0,'get':function(){return _0x310e51;}}),_0x57bbdc[_0x124287(0x410)]=_0x3b9fd8,Object[_0x124287(0x2fc)](_0x57bbdc,'ConflictState',{'enumerable':!0x0,'get':function(){return _0x5171e4;}}),_0x57bbdc[_0x124287(0x49f)]=_0x4e50db,_0x57bbdc['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x124287(0x332),_0x57bbdc[_0x124287(0x2e5)]=_0x124287(0x1c6),Object['defineProperty'](_0x57bbdc,_0x124287(0x1a8),{'enumerable':!0x0,'get':function(){return _0x243636;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x485),{'enumerable':!0x0,'get':function(){return _0x4f76be;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x3c8),{'enumerable':!0x0,'get':function(){return _0xfc54a4;}}),_0x57bbdc['HEARTBEAT_INTERVAL_KEY']=_0x124287(0x2da),_0x57bbdc[_0x124287(0x435)]=_0x124287(0x28d),_0x57bbdc[_0x124287(0x270)]=_0x3a6db1,_0x57bbdc['ILocalCacheService']=_0x19c832,_0x57bbdc[_0x124287(0x3a3)]=_0x530693,_0x57bbdc[_0x124287(0x2c7)]=_0x1f80e9,_0x57bbdc[_0x124287(0x3d9)]=0x3e8,_0x57bbdc['LOCAL_CACHE_INTERVAL_KEY']=_0x124287(0x3d9),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x2ce),{'enumerable':!0x0,'get':function(){return _0x59032e;}}),Object[_0x124287(0x2fc)](_0x57bbdc,'MentionIoHttpService',{'enumerable':!0x0,'get':function(){return _0x5ec726;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x3d3),{'enumerable':!0x0,'get':function(){return _0x24826c;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x406),{'enumerable':!0x0,'get':function(){return _0x2411fe;}}),_0x57bbdc['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x57bbdc['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x124287(0x2ea),_0x57bbdc[_0x124287(0x299)]=_0x510b1c,Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x23f),{'enumerable':!0x0,'get':function(){return _0xc23225;}}),Object[_0x124287(0x2fc)](_0x57bbdc,_0x124287(0x386),{'enumerable':!0x0,'get':function(){return _0x108e5e;}}),Object[_0x124287(0x2fc)](_0x57bbdc,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0x59efae;}}),Object[_0x124287(0x2fc)](_0x57bbdc,'SyncedState',{'enumerable':!0x0,'get':function(){return _0x4e4794;}}),_0x57bbdc[_0x124287(0x47d)]=_0x1cff2f,Object['defineProperty'](_0x57bbdc,_0x124287(0x2f9),{'enumerable':!0x0,'get':function(){return _0x475d98;}}),_0x57bbdc[_0x124287(0x400)]=_0x1195e2,_0x57bbdc['getLocalCacheKey']=_0x150d9d,_0x57bbdc[_0x124287(0x191)]=_0x12070a;}));
|