@univerjs/preset-docs-collaboration 0.22.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/umd/index.js +4 -4
- package/lib/umd/locales/ca-ES.js +2 -2
- package/lib/umd/locales/en-US.js +2 -2
- package/lib/umd/locales/es-ES.js +2 -2
- package/lib/umd/locales/fa-IR.js +2 -2
- package/lib/umd/locales/fr-FR.js +2 -2
- package/lib/umd/locales/ja-JP.js +2 -2
- package/lib/umd/locales/ko-KR.js +2 -2
- package/lib/umd/locales/ru-RU.js +2 -2
- package/lib/umd/locales/sk-SK.js +2 -2
- package/lib/umd/locales/vi-VN.js +2 -2
- package/lib/umd/locales/zh-CN.js +2 -2
- package/lib/umd/locales/zh-TW.js +2 -2
- package/package.json +6 -6
package/lib/umd/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
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;}));
|
|
2
|
+
function _0x489a(){const _0x1b3066=['constructor','_clearCollaborationTimeoutTimer','UNIVER_DOC','/object/','1293093Bnxcrr','_members','_shouldReportTelemetry','_acknowledgeAwaitingIfReady','sessionStatus','&assign=','collaboration-client.config','CombCmd','_throwTelemetryCollaborationNewChangeset','CONFLICT','objectActions','sort','SetSelectionsOperation','[PendingState]:\x20unhandled\x20univer\x20type:\x20','@univerjs/telemetry','_members$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_fetchMissChangesets','_redoStacks','transformChangesets','_initRequestHeader','CollaborationUIEventService','FAIL','Uint8Array','error','_clearScheduledTask','data','Module','_sheetTransformSelectionsService','/universer-api/comb','SHOULD_CLOSE_CONN','putCollaborators','isInternalEditorID','_createSocket','_onLocalMutation','_cfgEnableObjInherit','JOIN_ROOM_FULL','_stopTelemetryCollaborationNewChangeset','target','set','_roomMembers','SNAPSHOT_URL_KEY','@univerjs/sheets','_init','close','getUnitId','resolve','ERROR_IMAGE_TYPE','_getDownloadEndpointURL','getInterceptPoints','[CollaborationSessionService]:\x20socket\x20error','_state$','UniverTelemetry','&source=','number','_handlerCallback','_queuedRemoteChangesets','RETRY_CONNECTING_MAX_COUNT','has','?url=','onRemoteRetry','getAllMembers','updateOfflineData','DocCollaborationEntity','getActiveSheet','141350lJHHZs','_sendHeartbeat','ImageUploadStatusType','_getUploadFileURL','PERSON','transformStack\x20failed!','Failed\x20to\x20update\x20permission\x20point','slice','awaiting','actions','offline','appendMutation','onRemoteChangeset','nonceLength','_emitMembers','MSG_FOR_ERROR','CollaborationImageIoService','transformSelections','_retryConnectingTimer','_sender','getRandomValues','revision','_exhaustRemoteChangesetQueue','SheetsSelectionsService','Optional','updateCursorEvent','6554264oLOpAZ','/role','PERMISSION_REJ','JOIN','IConfigService','socket\x20open.','_roomCreated$','SheetTransformSelectionsService','reqId','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','IUniverInstanceService','send','getCurrentSelections','UnitStatus','generateRandomId','list','addHandlerCallback','_waitForHeartbeatResponse','call','parseChangesetToProtocol','INGEST','fromCharCode','_joinRoom','transformMutationsWithChangeset','onTransformRemoteChangesetByStateCache','originalMeta','put','UniverProtocol','updateSnapshot','_replayCachedMutations','permissionRejEvent','HELLO','_pendingMutations','/universer-api/stream/file/upload','_changesetSessionId','_imageSourceCache','_networkConditionService','getGlobalObject','updatePermissionObjEvent','changesets','_isEchoedAwaitingChangeset','_collaborationUIEventService','csRejEvent','dispose$','getLocalCacheKey','getOwnPropertyDescriptor','_resendTimeout','_unitInfo$','SyncedState','ISnapshotServerService','min','_onUserJoin','\x0aAfter:\x20','_transformRemoteChangesetByStateCache','patch','output','UniverLicensePlugin','nonce','ThresholdInterceptorFactory','UNISCRIPT_RUN','{fileID}','listRoles','getSheetId','subarray','_transformStateCache','_commandService','Workbook','onMissingChangesets','_timeoutTimer','ERROR_IMAGE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_event$','univer-pro.collaboration-client-socket-service','subject','HEARTBEAT_INTERVAL','_createInitialStateImpl','_onCombEvent','online$','decrypt','_scheduleCompleteTimestamp','pending','m2Prime','FETCH_MISS','_HTTPService','_submitChangeset','x-univer-host','collabSubmitChangesetUrl','getFocusedUnit','touchDependencies','leaveEvent','crypto','isView','ITelemetryService','readyForCollab','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[PendingState]:\x20received\x20rejection.','_socketService','toStringTag','ErrorCode','onload','RECV','length','/collaborator','EmptyMutationInfo','UniverNetwork','c1Prime','init','0.22.1','UPDATE_PERMISSION_OBJ','filter','_getSendChangesetTimeout','loadUnit','clear','responseType','expected\x20Uint8Array','_transformIMECache','routeKey','fetchMiss','_onConnectionFailed','loginUrlKey','getCurrentRevOfUnit','deleteCollaborator','LOCAL_CACHE_INTERVAL_KEY','shouldCloseConn','_getRedoStack','charCodeAt','joinRsp','UNIVER_SHEET','MUTATION','_substituteRedoStack','/unit/','_changesetReqId','isSafeInteger','_type','_compressMutationService','CollaborativeUndoRedoService','@univerjs/docs','LOCAL_CACHE_INTERVAL','key','ONLINE','onLocalMutation','csAckEvent','take','_onJoinRoomEvent','@univerjs/core','withCredentials','requestParams','_applyRemoteChangeset','Injector','UniverDocs','getMemberID','size','confirm','[OfflineState]:\x20received\x20rejection.','NO_OTHER_CLIENTS_EDITING','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','_entities','getCurrentUser','every','_waitCount','snapshotServerUrl','&to=','_clearHeartbeatTimer','_change$','onTransformIME','MentionType','_httpService','_updateLocalCache','onStateChange','USERS_ENTER','iterator','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_updateStatus','_schedule','_permissionService','_transitionLocked','error$','__Key__','packageName','override','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','/universer-api/oidc/authpage','getImage','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','/-/object/-/batch_allowed','\x0aCurrent:\x20','sessionStatus$','stringify','collaborators','resolveWithBasePath','loadUnitOfRevision','AwaitingWithPendingState','_substituteUndoStack','getCollabEntity$','pluginName','emitEvent','Error\x20on\x20receiving\x20event','Rectangle','defineProperty','/universer-api/snapshot/','CollaborationSessionService','COMPRESS_MUTATION_APPLY','_checkMissing','InsertSheetMutation','getRoom','FileSource','_userManagerService','ICommandService','ConflictState','_sessionStatus$','liveShareNewHost','floor','_collabSessionService','NOT_COLLAB','varSizeNonce','_executeRemoteChangeset','_localeService','getUnitType','function','transformUndoRedo','range','body','CLOSE_ROOM','LocaleService','isTransformMutationsWithChangesetFailure','decorate','fromHex','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','Subject','rev','INetworkConditionService','CommentService','/allowed','state','isTransformMutationsWithChangesetSuccess','_undoRedoService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getMember','CollaborationSocketService','fetch_missing','objectType','fetchThroughInterceptors','session.join-failed','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_snapshotServerService','unsubscribe','setWaitCount','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','closeSession','_candidateSocket','enableSingleActiveInstanceLock','_onMessage','_onRemoteRejected','_onRemoteACK','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','takeUntil','_logService','getValue','prototype','encode','HTTPService','SessionStatus','push','_transformUndoredo','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','_scheduleCollaborationTimeoutTimer','startsWith','AWAITING','/resources','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getSignURL','params','downloadEndpointUrl','_transformAndApplyRemoteChangeset','_createInitialState','UniverSheets','pauseCollaboration','resourceIDs','symbol','AWAITING_WITH_PENDING','_doCreateSocket','ITransformService','_resendTimer','_onFetchMissResult','@univerjs/drawing','5979EzynOZ','debug','PENDING','toDisposable','ImageSourceType','saveSheetBlock','onCommentUpdate','event$','OTHER_CLIENT_EDITING','ILogService','allowed','getSheetBlock','merge','hostname','joinEvent','onSendChangeset','interceptor','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_onRecvEvent','removeMember','HTTPRequest','string\x20expected','onlyLocal','failed\x20to\x20apply\x20missed\x20changesets!','?size=','CompressMutationService','JSONX','socketService','_initMergeInterceptor','_clearUndo','_collaborationPaused','onRemoteRej','_initDependencies','_eventService','UniverCore','get','_remoteChangesetQueue','type','_localCacheService','getTime','enableAuthServer','newCsEvent','IUndoRedoService','ERROR_EXCEED_SIZE','_acknowledgeAwaiting','complete','[CollaborationSessionService]','_entityInit$','unit','_transformRemoteChangesetByIMECache','6eHHXbm','BYTES_PER_ELEMENT','_lockTransition','cfgEnableObjInherit','string','src','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','5917780TuoiCA','localCacheService','UniverProCollaborationClient','setCurrentUser','UniverProLicense','focused$','_unitID','enableOfflineEditing','reject','selections','BASE64','_socketReady','state$','[OfflineState]:\x20received\x20changeset.','_awaitingChangeset','_transformStack','_transformService','dispose','@univerjs-pro/collaboration','_retryCount','onSyncEditingCollabCursor','map','cmd','apply','_registerDependencies','byteLength','rxjs','getImageSourceCache','HEARTBEAT_TIMEOUT_KEY','HEARTBEAT','not_collab','CHANGESET_SHOULD_RETRY','COMMENT_UPDATE','aes/pkcs7:\x20wrong\x20padding','findIndex','PendingState','collabWebSocketUrl','Quantity','onMissedChangesetFetched','_sessions','AAD','CommandType','NEW_CHANGESETS','CollaborationEntity','shareReplay','_clearRetryConnectingTimer','session.room-not-exists','IContextService','_getLoginPath','HEARTBEAT_TIMEOUT','__splitChunk__','baseRev','assign','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_listenToNetworkCondition','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','LEAVE','getResourcesRequest','onTransformSelections','uploadFileServerUrl','rxjs/operators','UniverNetworkPlugin','IImageIoService','_socketMessageSubscription','_clearTimeoutTimer','positive\x20integer\x20expected,\x20got\x20','byteOffset','CHANGESET_REJ','_startCollaboration','updatePermissionPoint','signUrlServerUrl','onRemoteAck','CHANGESET_ACK','LIVESHARE_OPERATION','firstValueFrom','subUnitId','ILocalCacheService','objects','missingChangesets','isTransformChangesetsSuccess','_collaborationSessionService','collaboratorID','cipher\x20output\x20not\x20supported','delay','People','saveChangeset','RxDisposable','getUnitStatus$','then','LIVESHARE_FETCH_OPERATIONS','_revisionService','/rev/','title','SheetPermissionInitController','synced','objectID','SUBMIT_CHANGESET','fromCollab','collaMsg','executeCommand','_maxTotalRetryTimeout','commentUpdateEvent','compose','reduce','name','create','entries','[SyncedState]:\x20received\x20acknowledgement.','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationUndoRedoService]','JOIN_ROOM_FAILED','@univerjs/network','_getCtorByUniverInstanceType','/fetchmissing?from=','_tryEnsureSocket','toString','/universer-api/authz','UnitEmbedded','capture','CollaborationStatus','connection\x20error','forEach','_instanceService','_injector','toggleOffline','authzUrl','IAuthzIoService','_getUndoStack','DEFAULT_FILE_NAME','UNIVER_COLLABORATION_CLIENT_PLUGIN','buffer','_onConflict','operators','fetchMissingChangesets','_disableEditing','_onConnectionOpen','unitID','getTypeOfUnitAdded$','/universer-api/snapshot','getLatestCsReqIdBySid','unitId\x20is\x20not\x20found','subscribe','sendChangesetTimeout','updateMember','_getAPIPrefix','SYNCED','textRanges','uniscriptRunEvent','object','sequenceExecute','members','_onUserLeave','href','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','auth.needGotoLoginAlert','_memberService','add','retryConnectingInterval','OFFLINE','awaitingChangeset','setCfgEnableObjInherit','message$','mutations','setConfig','_snapshotService','_getAPIPrefixPath','765842DZRbLh','open$','addImageSourceCache','/block/','_acknowledgedAwaitingRevision','FileId','updateCollaborator','_socket','pipe','values','ISingleActiveUnitService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','CollaborationEvent','IDLE','_unlockTransition','file','editingUnit','userID','session.room-full','_socket$','SOCKET_FAILED_RETRY','\x20to\x20','70sUuOUL','createSocket','sheets','submit\x20changeset\x20error!','toggleOnline','unit-cache-','disposeWithMe','concatMap','_showConflictNotification','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_rescheduleHeartbeat','Wrong\x20sbox\x20length','getWorkbookSelections','USERS_LEAVE','9cKLBef','conflict','AwaitingState','_tryReconnect','JOIN_ROOM_PERMISSION_DENIED','12KFARET','indexOf','socket$','WorkbookEditablePermission','reverse','url','UUID','loadDoc','batchAllowed','unitInfo$','UniverCollaborationClientPlugin','localeService','crypto.getRandomValues\x20must\x20be\x20defined','catch','invalid\x20output,\x20must\x20be\x20aligned','now','PERMISSION_DENIED','RevisionService','_state','disableLocalCache','[OfflineState]:\x20received\x20acknowledgement.','_handleRemoteChangesets','OTHER_CLIENTS_EDITING','ReplaySubject','Inject','UniverInstanceType','resend','getDeserializedSheetBlock','deepClone','sid','Disposable','IMentionIOService','POST','liveShareOperation','\x20-\x20','OPTIONAL','startTime','_isPermissionRej','\x20of\x20length\x20','_handler','mapDocumentTypeToUniverInstanceType','3516480oLQJOZ','_status$','JOIN_ROOM_NOT_EXISTS','_resendWithTimeout','close$','_decreaseWaiting','HEARTBEAT_INTERVAL_KEY','uuidv4','workbook','JOINING','LIVESHARE_REQUEST_HOST','_createHandler','csShouldRetryEvent','parseProtocolChangeset','onTransformRemoteChangesetByIMECache','_toggleOffline','memberID','_sendingTimer','isPermissionRej','SUBMIT_CHANGESET_TIMEOUT','delete','UniverDrawing','commentUpdate$','[PendingState]:\x20received\x20acknowledgement.','onStarting','getUnit','next','LIVESHARE_NEW_HOST','createIdentifier','isArray','members$','_onRemoteRetry','from','post','append','collaboration_new_changeset','_incrementRevisionNumber','registerDependencies','[CollaborationSession]','tagLength','registerHTTPInterceptor','getCollabEntity','_collaborationTimeoutTimer','toHex','snapshot','save\x20fail\x20reason\x20is\x20','textEncoder','_univerInstanceService','getConfig','code','[DataLoaderService]','loadOfflineData','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','equals','_startTelemetryCollaborationNewChangeset','_telemetryInfo','UPDATE_CURSOR','_getCurrentRevision','editing\x20status\x20changed\x20to','createInstance','AuthzIoHttpService','_initUnitPermissionChange','MemberService','requireSession','eventID','IPermissionService','unknown','_updateState','includes','asObservable','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','number\x20expected,\x20got\x20','headers','CollaborationController','RichTextEditingMutation','getTypeOfUnitDisposed$','_clearLocalCache','readAsDataURL','find','method','@univerjs-pro/license','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_undoStacks','status','_config','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','SOCKET_FAILED','infoRsp','session','stopTime','LIVESHARE_TERMINATE','b64DecodeUnicode','getSnapshotAPIPath','COMPRESS_MUTATION_SEND','CmdRspCode','fetching\x20missing\x20changesets\x20from\x20','_clearRedo','BehaviorSubject','_initCloseConn','unitId','encrypt','_sendHeartbeatTimer','_commentUpdate$','[CollaborationEntity]','_configService','encodeURIComponent','FETCH_MISSING','_telemetryService','location','[CollaborationState]:\x20apply\x20error!','awaiting_with_pending','getDrawingImageAllowSize','socket\x20close','Univer','exports','_transformSelections','Plugin','_onOffline','change$'];_0x489a=function(){return _0x1b3066;};return _0x489a();}function _0x20b8(_0xf8a862,_0x18bef8){_0xf8a862=_0xf8a862-0x1f0;const _0x489ae7=_0x489a();let _0x20b83c=_0x489ae7[_0xf8a862];return _0x20b83c;}(function(_0x3db299,_0x55ecf8){const _0x414f2b=_0x20b8,_0x3af16f=_0x3db299();while(!![]){try{const _0x151386=parseInt(_0x414f2b(0x2fb))/0x1*(parseInt(_0x414f2b(0x3f0))/0x2)+-parseInt(_0x414f2b(0x4a7))/0x3*(parseInt(_0x414f2b(0x403))/0x4)+parseInt(_0x414f2b(0x42c))/0x5+parseInt(_0x414f2b(0x32d))/0x6*(-parseInt(_0x414f2b(0x3da))/0x7)+parseInt(_0x414f2b(0x502))/0x8*(parseInt(_0x414f2b(0x3fe))/0x9)+-parseInt(_0x414f2b(0x4e8))/0xa+parseInt(_0x414f2b(0x334))/0xb;if(_0x151386===_0x55ecf8)break;else _0x3af16f['push'](_0x3af16f['shift']());}catch(_0xb540cb){_0x3af16f['push'](_0x3af16f['shift']());}}}(_0x489a,0xd04c6),function(_0x134601,_0x1628cc){const _0x280d9e=_0x20b8;typeof exports=='object'&&typeof module<'u'?_0x1628cc(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==_0x280d9e(0x2b7)&&define['amd']?define([_0x280d9e(0x49e),_0x280d9e(0x346),_0x280d9e(0x26d),_0x280d9e(0x265),_0x280d9e(0x4d1),_0x280d9e(0x34e),'@univerjs/protocol',_0x280d9e(0x4b5),_0x280d9e(0x370),_0x280d9e(0x3a3),_0x280d9e(0x47c),_0x280d9e(0x2fa)],_0x1628cc):(_0x134601=typeof globalThis<'u'?globalThis:_0x134601||self,_0x1628cc(_0x134601[_0x280d9e(0x336)]={},_0x134601['UniverProCollaboration'],_0x134601[_0x280d9e(0x31d)],_0x134601[_0x280d9e(0x272)],_0x134601[_0x280d9e(0x2f1)],_0x134601[_0x280d9e(0x34e)],_0x134601[_0x280d9e(0x1f7)],_0x134601[_0x280d9e(0x4db)],_0x134601[_0x280d9e(0x34e)][_0x280d9e(0x3b8)],_0x134601[_0x280d9e(0x245)],_0x134601[_0x280d9e(0x338)],_0x134601[_0x280d9e(0x441)]));}(this,function(_0x34a032,_0x2b4fec,_0x1f27ed,_0x3b0f13,_0x47a016,_0xd93cf,_0x26034e,_0x416cdb,_0x4f33c6,_0x2514fd,_0x98661d,_0x310bbf){const _0x5e5e22=_0x20b8;Object[_0x5e5e22(0x2a3)](_0x34a032,Symbol[_0x5e5e22(0x23e)],{'value':_0x5e5e22(0x4c2)});let _0x505fc1='ws://127.0.0.1:8000/universer-api/comb/connect',_0x1589e0=0x4e20;function _0x22fab6(_0x5f0812){const _0x5ae1d1=_0x5e5e22;return JSON[_0x5ae1d1(0x298)](_0x5f0812)[_0x5ae1d1(0x242)];}function _0x5c19c3(_0x344009){'@babel/helpers - typeof';const _0x23451e=_0x5e5e22;return _0x5c19c3=typeof Symbol==_0x23451e(0x2b7)&&typeof Symbol[_0x23451e(0x287)]==_0x23451e(0x2f4)?function(_0xf0a54a){return typeof _0xf0a54a;}:function(_0x391451){const _0x5b7c26=_0x23451e;return _0x391451&&typeof Symbol==_0x5b7c26(0x2b7)&&_0x391451[_0x5b7c26(0x4a3)]===Symbol&&_0x391451!==Symbol[_0x5b7c26(0x2e0)]?_0x5b7c26(0x2f4):typeof _0x391451;},_0x5c19c3(_0x344009);}function _0x8dd928(_0x1dcf91,_0x3d83f5){const _0x51479c=_0x5e5e22;if(_0x5c19c3(_0x1dcf91)!=_0x51479c(0x3c8)||!_0x1dcf91)return _0x1dcf91;var _0x5f11c7=_0x1dcf91[Symbol['toPrimitive']];if(_0x5f11c7!==void 0x0){var _0x512b62=_0x5f11c7['call'](_0x1dcf91,_0x3d83f5||'default');if(_0x5c19c3(_0x512b62)!=_0x51479c(0x3c8))return _0x512b62;throw TypeError(_0x51479c(0x30c));}return(_0x3d83f5===_0x51479c(0x331)?String:Number)(_0x1dcf91);}function _0x29a4d8(_0x3b6bbe){const _0x548a68=_0x5e5e22;var _0x851b7=_0x8dd928(_0x3b6bbe,_0x548a68(0x331));return _0x5c19c3(_0x851b7)=='symbol'?_0x851b7:_0x851b7+'';}function _0x5886a9(_0x4f042a,_0xc2b6f5,_0x19cab8){const _0x2babe2=_0x5e5e22;return(_0xc2b6f5=_0x29a4d8(_0xc2b6f5))in _0x4f042a?Object[_0x2babe2(0x2a3)](_0x4f042a,_0xc2b6f5,{'value':_0x19cab8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f042a[_0xc2b6f5]=_0x19cab8,_0x4f042a;}let _0x3d6a45=function(_0x5566ef){const _0x53aa4c=_0x5e5e22;return _0x5566ef[_0x53aa4c(0x303)]=_0x53aa4c(0x303),_0x5566ef[_0x53aa4c(0x413)]=_0x53aa4c(0x413),_0x5566ef['CONFLICT']=_0x53aa4c(0x4b0),_0x5566ef[_0x53aa4c(0x2bb)]='CLOSE_ROOM',_0x5566ef[_0x53aa4c(0x3a2)]=_0x53aa4c(0x3a2),_0x5566ef[_0x53aa4c(0x3ee)]=_0x53aa4c(0x3ee),_0x5566ef[_0x53aa4c(0x482)]='SOCKET_FAILED',_0x5566ef[_0x53aa4c(0x43f)]=_0x53aa4c(0x43f),_0x5566ef;}({});var _0x2af8d7=class{constructor(){const _0x1218e8=_0x5e5e22;_0x5886a9(this,_0x1218e8(0x223),new _0xd93cf[(_0x1218e8(0x2c2))]()),_0x5886a9(this,_0x1218e8(0x302),this['_event$']['asObservable']());}[_0x5e5e22(0x2a0)](_0x1f487b){const _0x5a05c3=_0x5e5e22;this['_event$'][_0x5a05c3(0x446)](_0x1f487b);}},_0x5909a8=class{constructor(){const _0x112d50=_0x5e5e22;_0x5886a9(this,_0x112d50(0x492),new _0xd93cf[(_0x112d50(0x2c2))]()),_0x5886a9(this,_0x112d50(0x442),this[_0x112d50(0x492)]['asObservable']());}[_0x5e5e22(0x301)](_0x274a2b){const _0x4ffbeb=_0x5e5e22;this[_0x4ffbeb(0x492)][_0x4ffbeb(0x446)](_0x274a2b);}};function _0x26ba80(_0x2b2316,_0xbc2cf9){return function(_0x2debda,_0x508061){_0xbc2cf9(_0x2debda,_0x508061,_0x2b2316);};}function _0x28d1a4(_0x18b782,_0xba7453,_0x482d4c,_0xe141fa){const _0x57570f=_0x5e5e22;var _0x388aa8=arguments[_0x57570f(0x242)],_0x1fb2c4=_0x388aa8<0x3?_0xba7453:_0xe141fa===null?_0xe141fa=Object[_0x57570f(0x209)](_0xba7453,_0x482d4c):_0xe141fa,_0x543ea3;if(typeof Reflect==_0x57570f(0x3c8)&&typeof Reflect['decorate']==_0x57570f(0x2b7))_0x1fb2c4=Reflect[_0x57570f(0x2be)](_0x18b782,_0xba7453,_0x482d4c,_0xe141fa);else{for(var _0x438ada=_0x18b782['length']-0x1;_0x438ada>=0x0;_0x438ada--)(_0x543ea3=_0x18b782[_0x438ada])&&(_0x1fb2c4=(_0x388aa8<0x3?_0x543ea3(_0x1fb2c4):_0x388aa8>0x3?_0x543ea3(_0xba7453,_0x482d4c,_0x1fb2c4):_0x543ea3(_0xba7453,_0x482d4c))||_0x1fb2c4);}return _0x388aa8>0x3&&_0x1fb2c4&&Object[_0x57570f(0x2a3)](_0xba7453,_0x482d4c,_0x1fb2c4),_0x1fb2c4;}let _0x3aba96=class extends _0x1f27ed[_0x5e5e22(0x421)]{constructor(_0x1fd2df,_0x1da321){const _0x138a92=_0x5e5e22;super(),this['_univerInstanceService']=_0x1fd2df,this[_0x138a92(0x2ab)]=_0x1da321,_0x5886a9(this,_0x138a92(0x4cf),new Map()),_0x5886a9(this,_0x138a92(0x508),new _0xd93cf[(_0x138a92(0x2c2))]()),this[_0x138a92(0x3f6)]((0x0,_0xd93cf[_0x138a92(0x307)])(this['_univerInstanceService'][_0x138a92(0x477)](_0x1f27ed[_0x138a92(0x41c)][_0x138a92(0x25c)])[_0x138a92(0x3e2)]((0x0,_0x4f33c6[_0x138a92(0x349)])(_0x40dd9b=>_0x40dd9b[_0x138a92(0x4d4)]())),this[_0x138a92(0x45b)][_0x138a92(0x477)](_0x1f27ed['UniverInstanceType']['UNIVER_DOC'])[_0x138a92(0x3e2)]((0x0,_0x4f33c6['map'])(_0x186cfd=>_0x186cfd[_0x138a92(0x4d4)]())))[_0x138a92(0x3c1)](_0x5e0226=>this['_removeRoom'](_0x5e0226)));}['waitForRoom$'](_0x5b6481){const _0xc27428=_0x5e5e22;return this['_roomMembers'][_0xc27428(0x4e1)](_0x5b6481)?(0x0,_0xd93cf['of'])(this[_0xc27428(0x4cf)][_0xc27428(0x31e)](_0x5b6481)):this[_0xc27428(0x508)]['pipe']((0x0,_0x4f33c6['map'])(_0x17b9c5=>{const _0x3e40aa=_0xc27428;if(_0x17b9c5===_0x5b6481)return this['_roomMembers'][_0x3e40aa(0x31e)](_0x17b9c5);}));}[_0x5e5e22(0x337)](_0x5a64cf){const _0x2f2d46=_0x5e5e22;this[_0x2f2d46(0x2ab)][_0x2f2d46(0x337)](_0x5a64cf);}[_0x5e5e22(0x27a)](){const _0x42c6ac=_0x5e5e22;return this[_0x42c6ac(0x2ab)]['getCurrentUser']();}['updateMember'](_0x407cd5,_0x5d096c){const _0x1d5122=_0x5e5e22;let _0x3d57c5=this[_0x1d5122(0x4cf)][_0x1d5122(0x31e)](_0x407cd5);_0x3d57c5||(_0x3d57c5=new _0x3c1229(),this[_0x1d5122(0x4cf)][_0x1d5122(0x4ce)](_0x407cd5,_0x3d57c5),this[_0x1d5122(0x508)]['next'](_0x407cd5)),_0x3d57c5['updateMember'](_0x5d096c);}[_0x5e5e22(0x30e)](_0xc347fb,_0x5373f8){const _0x10a14b=_0x5e5e22;let _0xad6aec=this[_0x10a14b(0x4cf)][_0x10a14b(0x31e)](_0xc347fb);_0xad6aec&&_0xad6aec['removeMember'](_0x5373f8);}[_0x5e5e22(0x2a9)](_0x26a576){const _0x2facb6=_0x5e5e22;return this[_0x2facb6(0x4cf)][_0x2facb6(0x31e)](_0x26a576);}[_0x5e5e22(0x2cb)](_0x4136d2,_0x752b6e){const _0x3351cb=_0x5e5e22;let _0xa393a8=this[_0x3351cb(0x4cf)][_0x3351cb(0x31e)](_0x4136d2);if(_0xa393a8)return _0xa393a8[_0x3351cb(0x2cb)](_0x752b6e);}['_removeRoom'](_0xbd1532){const _0x4fc3ef=_0x5e5e22;let _0x52b3ab=this[_0x4fc3ef(0x4cf)]['get'](_0xbd1532);_0x52b3ab&&(_0x52b3ab[_0x4fc3ef(0x345)](),this['_roomMembers'][_0x4fc3ef(0x440)](_0xbd1532));}[_0x5e5e22(0x345)](){const _0x81ead6=_0x5e5e22;this[_0x81ead6(0x4cf)]['forEach'](_0x22eded=>_0x22eded[_0x81ead6(0x345)]()),this['_roomMembers']['clear'](),this[_0x81ead6(0x508)][_0x81ead6(0x328)]();}};_0x3aba96=_0x28d1a4([_0x26ba80(0x0,_0x1f27ed['IUniverInstanceService']),_0x26ba80(0x1,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed['UserManagerService']))],_0x3aba96);var _0x3c1229=class extends _0x1f27ed['Disposable']{constructor(..._0x463834){const _0x5ae67b=_0x5e5e22;super(..._0x463834),_0x5886a9(this,_0x5ae67b(0x4a8),new Map()),_0x5886a9(this,'_members$',new _0xd93cf[(_0x5ae67b(0x48d))](this[_0x5ae67b(0x4a8)])),_0x5886a9(this,_0x5ae67b(0x44a),this[_0x5ae67b(0x4b6)][_0x5ae67b(0x471)]());}[_0x5e5e22(0x345)](){const _0x5e21c2=_0x5e5e22;this[_0x5e21c2(0x4a8)]['clear'](),this[_0x5e21c2(0x4b6)][_0x5e21c2(0x328)]();}[_0x5e5e22(0x3c3)](_0x8829e0){const _0x3658ad=_0x5e5e22;this[_0x3658ad(0x4a8)][_0x3658ad(0x4ce)](_0x8829e0[_0x3658ad(0x43c)],_0x8829e0),this[_0x3658ad(0x4f6)]();}[_0x5e5e22(0x30e)](_0x3a9d46){const _0x6134de=_0x5e5e22;this[_0x6134de(0x4a8)]['delete'](_0x3a9d46),this['_emitMembers']();}[_0x5e5e22(0x2cb)](_0x20859b){const _0x47a4f9=_0x5e5e22;return this[_0x47a4f9(0x4a8)][_0x47a4f9(0x31e)](_0x20859b);}[_0x5e5e22(0x4e4)](){const _0x54ff3d=_0x5e5e22;return Array[_0x54ff3d(0x44c)](this['_members'][_0x54ff3d(0x3e3)]());}['_emitMembers'](){const _0x29aacb=_0x5e5e22;this['_members$'][_0x29aacb(0x446)](this[_0x29aacb(0x4a8)]);}};let _0x4cf53d=function(_0x44afc9){const _0x419103=_0x5e5e22;return _0x44afc9[_0x44afc9[_0x419103(0x3e7)]=0x0]=_0x419103(0x3e7),_0x44afc9[_0x44afc9[_0x419103(0x435)]=0x1]=_0x419103(0x435),_0x44afc9[_0x44afc9[_0x419103(0x3d2)]=0x2]=_0x419103(0x3d2),_0x44afc9[_0x44afc9[_0x419103(0x268)]=0x3]=_0x419103(0x268),_0x44afc9;}({}),_0x4088c5={[_0x26034e[_0x5e5e22(0x48a)][_0x5e5e22(0x4bd)]]:_0x5e5e22(0x2d0),[_0x26034e['CmdRspCode'][_0x5e5e22(0x4cb)]]:_0x5e5e22(0x3ec),[_0x26034e[_0x5e5e22(0x48a)][_0x5e5e22(0x42e)]]:_0x5e5e22(0x362),[_0x26034e[_0x5e5e22(0x48a)][_0x5e5e22(0x402)]]:'session.room-permission-denied',[_0x26034e[_0x5e5e22(0x48a)]['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'},_0x56a6c2=class extends _0x1f27ed[_0x5e5e22(0x38a)]{get[_0x5e5e22(0x4ab)](){const _0x52d28b=_0x5e5e22;return this[_0x52d28b(0x2ae)][_0x52d28b(0x2df)]();}constructor(_0x333657,_0x5c3a2e,_0x55abca,_0x32f75b,_0x136e97,_0x286597,_0x5123a7,_0x4982fa){const _0x3dd31e=_0x5e5e22;super(),this[_0x3dd31e(0x33a)]=_0x333657,this[_0x3dd31e(0x2de)]=_0x55abca,this[_0x3dd31e(0x494)]=_0x32f75b,this[_0x3dd31e(0x3cf)]=_0x136e97,this['_commentService']=_0x286597,this['_collaborationUIEventService']=_0x5123a7,this[_0x3dd31e(0x497)]=_0x4982fa,_0x5886a9(this,'_sessionStatus$',new _0xd93cf['BehaviorSubject'](0x0)),_0x5886a9(this,_0x3dd31e(0x297),this['_sessionStatus$'][_0x3dd31e(0x471)]()),_0x5886a9(this,_0x3dd31e(0x223),new _0xd93cf['Subject']()),_0x5886a9(this,'event$',this[_0x3dd31e(0x223)][_0x3dd31e(0x471)]()),_0x5886a9(this,_0x3dd31e(0x3e1),void 0x0),_0x5886a9(this,_0x3dd31e(0x373),void 0x0),_0x5886a9(this,'_collaborationTimeoutTimer',void 0x0),_0x5886a9(this,_0x3dd31e(0x4a9),!0x1),_0x5886a9(this,'_telemetryInfo',null),this[_0x3dd31e(0x4a9)]=!!this[_0x3dd31e(0x497)],_0x5c3a2e[_0x3dd31e(0x3e2)]((0x0,_0xd93cf[_0x3dd31e(0x2dd)])(this['dispose$']))[_0x3dd31e(0x3c1)](_0x5f0efb=>{const _0x3f4a5f=_0x3dd31e;if(_0x5f0efb!==void 0x0){if(this['_socket']=_0x5f0efb,_0x5f0efb)this['_joinRoom'](_0x5f0efb),this[_0x3f4a5f(0x373)]=_0x5f0efb[_0x3f4a5f(0x3d5)]['subscribe'](_0x12ef15=>{const _0x2807a7=_0x3f4a5f;_0x12ef15['routeKey']===this[_0x2807a7(0x33a)]&&this['_onCombEvent'](_0x12ef15);});else{var _0x413376;this[_0x3f4a5f(0x4af)](),this[_0x3f4a5f(0x2ae)]['next'](0x2),(_0x413376=this[_0x3f4a5f(0x373)])==null||_0x413376[_0x3f4a5f(0x2d3)](),this[_0x3f4a5f(0x373)]=null;}}});}[_0x5e5e22(0x273)](){const _0x74fe34=_0x5e5e22;var _0x299649,_0x26d01c;return(_0x299649=(_0x26d01c=this[_0x74fe34(0x3e1)])==null?void 0x0:_0x26d01c[_0x74fe34(0x43c)])==null?null:_0x299649;}[_0x5e5e22(0x345)](){const _0x4f6972=_0x5e5e22;super[_0x4f6972(0x345)](),this[_0x4f6972(0x4d3)](),this[_0x4f6972(0x207)][_0x4f6972(0x446)](),this[_0x4f6972(0x207)][_0x4f6972(0x328)]();}[_0x5e5e22(0x4d3)](){const _0x561c32=_0x5e5e22;var _0x600c8a,_0x55eb6d;this[_0x561c32(0x4af)](),(_0x600c8a=this['_socket'])==null||_0x600c8a[_0x561c32(0x50d)]({'cmd':_0x26034e[_0x561c32(0x4ae)][_0x561c32(0x36c)],'data':{'roomID':this[_0x561c32(0x33a)]}}),(_0x55eb6d=this[_0x561c32(0x3e1)])==null||_0x55eb6d[_0x561c32(0x4d3)](),this[_0x561c32(0x223)][_0x561c32(0x328)](),this[_0x561c32(0x2ae)]['complete']();}[_0x5e5e22(0x228)](_0x20bcd3){const _0x5a094e=_0x5e5e22;_0x20bcd3[_0x5a094e(0x34a)]===_0x26034e[_0x5a094e(0x4ae)][_0x5a094e(0x505)]?this[_0x5a094e(0x26c)](_0x20bcd3):_0x20bcd3[_0x5a094e(0x34a)]===_0x26034e[_0x5a094e(0x4ae)][_0x5a094e(0x241)]&&this['_onRecvEvent'](_0x20bcd3);}[_0x5e5e22(0x1f2)](_0x9cd14e){const _0x1c2775=_0x5e5e22;this[_0x1c2775(0x2ae)]['next'](0x1),_0x9cd14e[_0x1c2775(0x50d)]({'cmd':_0x26034e[_0x1c2775(0x4ae)]['JOIN'],'routeKey':this[_0x1c2775(0x33a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1c2775(0x33a)]}]}});}[_0x5e5e22(0x26c)](_0x4e44dc){const _0x7ec08b=_0x5e5e22;var _0x11bba9;if(_0x4e44dc['code']in _0x4088c5){this['_collaborationUIEventService'][_0x7ec08b(0x2a0)]({'id':_0x7ec08b(0x3a2),'data':_0x4088c5[_0x4e44dc[_0x7ec08b(0x45d)]]}),this[_0x7ec08b(0x2ae)][_0x7ec08b(0x446)](0x2);return;}this[_0x7ec08b(0x2ae)][_0x7ec08b(0x446)](0x3);let _0x9fc4e8=(_0x11bba9=_0x4e44dc[_0x7ec08b(0x4c1)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x11bba9[_0x7ec08b(0x3ca)];_0x9fc4e8&&_0x9fc4e8[_0x7ec08b(0x3ad)](_0x2711fb=>this['_memberService'][_0x7ec08b(0x3c3)](this[_0x7ec08b(0x33a)],_0x2711fb));}[_0x5e5e22(0x30d)](_0x4a1fc4){const _0x4e51c1=_0x5e5e22;try{let _0x507f60=_0x4a1fc4[_0x4e51c1(0x4c1)];switch(_0x507f60[_0x4e51c1(0x46c)]){case _0x2b4fec[_0x4e51c1(0x3e6)][_0x4e51c1(0x286)]:this[_0x4e51c1(0x20f)](_0x507f60),this[_0x4e51c1(0x223)][_0x4e51c1(0x446)](_0x507f60);break;case _0x2b4fec[_0x4e51c1(0x3e6)]['USERS_LEAVE']:this[_0x4e51c1(0x3cb)](_0x507f60),this['_event$'][_0x4e51c1(0x446)](_0x507f60);break;case _0x2b4fec[_0x4e51c1(0x3e6)]['CHANGESET_ACK']:case _0x2b4fec['CollaborationEvent'][_0x4e51c1(0x353)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4e51c1(0x4a4)](),this[_0x4e51c1(0x223)][_0x4e51c1(0x446)](_0x507f60);break;case _0x2b4fec[_0x4e51c1(0x3e6)][_0x4e51c1(0x4f7)]:this['_logService'][_0x4e51c1(0x4bf)](_0x4e51c1(0x459)+JSON[_0x4e51c1(0x298)](_0x507f60)),this[_0x4e51c1(0x223)][_0x4e51c1(0x446)](_0x507f60);break;case _0x2b4fec['CollaborationEvent'][_0x4e51c1(0x354)]:this['_commentService'][_0x4e51c1(0x301)](_0x507f60['data']),this[_0x4e51c1(0x223)][_0x4e51c1(0x446)](_0x507f60);break;default:this[_0x4e51c1(0x223)][_0x4e51c1(0x446)](_0x507f60);}}catch(_0x76468f){this['_logService'][_0x4e51c1(0x4bf)](_0x76468f,_0x4a1fc4);}}['_onUserJoin'](_0x3463e7){const _0x2d7893=_0x5e5e22;this['_memberService']['updateMember'](this[_0x2d7893(0x33a)],_0x3463e7['data']);}[_0x5e5e22(0x3cb)](_0x41202f){const _0x43ac88=_0x5e5e22;this[_0x43ac88(0x3cf)][_0x43ac88(0x30e)](this[_0x43ac88(0x33a)],_0x41202f[_0x43ac88(0x4c1)]['memberID']);}async['send'](_0x4843f6,_0x4c047e){const _0x2dcf0=_0x5e5e22;if(this[_0x2dcf0(0x4ab)]!==0x3||!this[_0x2dcf0(0x3e1)])throw Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4843f6[_0x2dcf0(0x46c)]===_0x2b4fec[_0x2dcf0(0x3e6)]['SUBMIT_CHANGESET']&&(this[_0x2dcf0(0x2e7)](),this[_0x2dcf0(0x462)](_0x4843f6)),this[_0x2dcf0(0x3e1)][_0x2dcf0(0x50d)]({'cmd':_0x26034e['CombCmd'][_0x2dcf0(0x1f0)],'routeKey':_0x4c047e,'routeType':'','data':_0x4843f6});}catch(_0x107fe5){this[_0x2dcf0(0x2de)][_0x2dcf0(0x4bf)](_0x107fe5);}}['_scheduleCollaborationTimeoutTimer'](){const _0x52edff=_0x5e5e22;var _0x143f95;this[_0x52edff(0x456)]=setTimeout(()=>{const _0x566726=_0x52edff;this[_0x566726(0x456)]=null,this[_0x566726(0x205)][_0x566726(0x2a0)]({'id':_0x566726(0x43f)});},(_0x143f95=this[_0x52edff(0x494)]['getConfig']('HEARTBEAT_TIMEOUT'))==null?_0x1589e0:_0x143f95);}[_0x5e5e22(0x4a4)](){const _0xb29d3e=_0x5e5e22;this[_0xb29d3e(0x456)]&&(clearTimeout(this[_0xb29d3e(0x456)]),this[_0xb29d3e(0x456)]=null);}[_0x5e5e22(0x462)](_0x1cf77a){const _0x4cbaac=_0x5e5e22;if(!this[_0x4cbaac(0x4a9)])return;let {data:_0x16573d}=_0x1cf77a,{unitID:_0x4232fc,changeset:_0x16acf6}=_0x16573d,{mutations:_0x3685c3,type:_0x1d0ade}=_0x16acf6;this[_0x4cbaac(0x463)]={'unitId':_0x4232fc,'type':_0x1d0ade,'startTime':performance[_0x4cbaac(0x412)](),'stopTime':0x0,'duration':0x0,'size':_0x22fab6(_0x3685c3)};}[_0x5e5e22(0x4cc)](){const _0x15840c=_0x5e5e22;if(this['_shouldReportTelemetry']){if(!this[_0x15840c(0x463)]){this['_logService'][_0x15840c(0x4bf)](_0x15840c(0x452),_0x15840c(0x3a0));return;}this[_0x15840c(0x463)]['stopTime']=performance[_0x15840c(0x412)](),this[_0x15840c(0x463)]['duration']=this['_telemetryInfo'][_0x15840c(0x485)]-this[_0x15840c(0x463)][_0x15840c(0x427)],this[_0x15840c(0x497)][_0x15840c(0x3aa)](_0x15840c(0x44f),this[_0x15840c(0x463)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x3b18b9=_0x5e5e22;this[_0x3b18b9(0x463)]=null;}};_0x56a6c2=_0x28d1a4([_0x26ba80(0x2,_0x1f27ed['ILogService']),_0x26ba80(0x3,_0x1f27ed['IConfigService']),_0x26ba80(0x4,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x3aba96)),_0x26ba80(0x5,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x5909a8)),_0x26ba80(0x6,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2af8d7)),_0x26ba80(0x7,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x416cdb[_0x5e5e22(0x238)]))],_0x56a6c2);let _0x33d8de=(0x0,_0x1f27ed[_0x5e5e22(0x448)])('collaboration-client.local-cache-service');function _0x1b3860(_0x3ff10d){const _0x2cb97e=_0x5e5e22;return _0x2cb97e(0x3f5)+_0x3ff10d;}function _0x4835f7(_0x13b09b){const _0x500b48=_0x5e5e22;let {unitID:_0x1b39c6,mutations:_0x1ccae3}=_0x13b09b;return{'unitId':_0x1b39c6,'subUnitId':_0x1ccae3[_0x500b48(0x242)]>0x0?_0x1ccae3[0x0][_0x500b48(0x2ed)][_0x500b48(0x37f)]:null};}let _0x3ede5e=class{constructor(_0x4ff527,_0x47ca19,_0x155283){const _0x5bc0ba=_0x5e5e22;this[_0x5bc0ba(0x3af)]=_0x4ff527,this[_0x5bc0ba(0x344)]=_0x47ca19,this['_instanceService']=_0x155283;}[_0x5e5e22(0x4f9)](_0x5ad625){const _0x55b546=_0x5e5e22;var _0x1b1146,_0x2d1278;let _0x3657b3=this[_0x55b546(0x3af)][_0x55b546(0x31e)](_0x47a016[_0x55b546(0x4ff)]),{unitId:_0x507a5e,subUnitId:_0x3e6091}=_0x4835f7(_0x5ad625),_0x1d2084=_0x3657b3==null?void 0x0:_0x3657b3[_0x55b546(0x3fc)](_0x507a5e)[_0x55b546(0x50e)](),_0x3ce161=(_0x1b1146=this[_0x55b546(0x3ae)][_0x55b546(0x445)](_0x507a5e))==null||(_0x1b1146=_0x1b1146[_0x55b546(0x4e7)]())==null?void 0x0:_0x1b1146[_0x55b546(0x21a)]();if(_0x1d2084[_0x55b546(0x242)]===0x0||!_0x507a5e||!_0x3e6091)return;let _0x3823a5=[{'id':_0x47a016[_0x55b546(0x4b3)]['id'],'params':{'unitId':_0x507a5e,'subUnitId':_0x3ce161,'selections':_0x1f27ed['Tools'][_0x55b546(0x41f)](_0x1d2084)}}],_0x516dc0=this[_0x55b546(0x344)][_0x55b546(0x1f3)](_0x5ad625,_0x3823a5);if(!(0x0,_0x2b4fec[_0x55b546(0x2c8)])(_0x516dc0))throw _0x516dc0[_0x55b546(0x4bf)];let _0x3b5963=(_0x2d1278=_0x516dc0[_0x55b546(0x22d)][0x0])==null||(_0x2d1278=_0x2d1278['params'])==null?void 0x0:_0x2d1278[_0x55b546(0x33d)];if(Array[_0x55b546(0x449)](_0x3b5963)&&_0x3b5963[_0x55b546(0x242)]){if(_0x3b5963[_0x55b546(0x242)]===_0x3823a5[0x0][_0x55b546(0x2ed)][_0x55b546(0x33d)][_0x55b546(0x242)]&&_0x3b5963[_0x55b546(0x27b)]((_0x4e767c,_0x7f986)=>_0x1f27ed[_0x55b546(0x2a2)][_0x55b546(0x461)](_0x4e767c[_0x55b546(0x2b9)],_0x3823a5[0x0]['params']['selections'][_0x7f986][_0x55b546(0x2b9)])))return;this[_0x55b546(0x3af)]['get'](_0x1f27ed['ICommandService'])[_0x55b546(0x397)](_0x47a016[_0x55b546(0x4b3)]['id'],{'unitId':_0x507a5e,'subUnitId':_0x3ce161,'selections':_0x3b5963});}}};_0x3ede5e=_0x28d1a4([_0x26ba80(0x0,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed['Injector'])),_0x26ba80(0x1,_0x2b4fec[_0x5e5e22(0x2f7)]),_0x26ba80(0x2,_0x1f27ed[_0x5e5e22(0x50c)])],_0x3ede5e);let _0xf1640f=(0x0,_0x1f27ed[_0x5e5e22(0x448)])('univer-pro.collaboration-client.single-active-unit-service'),_0x15dbc9=function(_0x265d76){const _0x279d42=_0x5e5e22;return _0x265d76[_0x265d76[_0x279d42(0x277)]=0x0]=_0x279d42(0x277),_0x265d76[_0x265d76[_0x279d42(0x419)]=0x1]=_0x279d42(0x419),_0x265d76;}({}),_0x5df009=_0x5e5e22(0x4ad);Symbol(_0x5df009);let _0x5b799f={};function _0x274714(_0x4b7b6d){const _0x4b6fa7=_0x5e5e22;var _0x2c2e45;return!!((_0x2c2e45=_0x4b7b6d[_0x4b6fa7(0x2ed)])!=null&&_0x2c2e45[_0x4b6fa7(0x366)]);}let _0x38d6a7=new Set([_0x47a016[_0x5e5e22(0x2a8)]['id']]);function _0x4c9235(_0x2b021a,_0x1279d2,_0x52b8a7,_0x146af1,_0x5ec913){const _0x1013ac=_0x5e5e22;var _0x5766dc,_0x58a5d9,_0x4b18c8,_0x4e1e07;let _0x17cac3=[];for(let _0xcb5d1f of _0x2b021a){if(_0x38d6a7[_0x1013ac(0x4e1)](_0xcb5d1f['id'])){if(_0x17cac3[_0x1013ac(0x242)]>0x0)break;_0x17cac3[_0x1013ac(0x2e4)](_0xcb5d1f);break;}if(_0x274714(_0xcb5d1f)){if(_0x17cac3[_0x1013ac(0x242)]>0x0)break;_0x17cac3['push'](_0xcb5d1f);break;}_0x17cac3[_0x1013ac(0x2e4)](_0xcb5d1f);}let _0xe1803d=(_0x5766dc=(_0x58a5d9=_0x5ec913['getCurrentUser']())==null?void 0x0:_0x58a5d9[_0x1013ac(0x3eb)])==null?_0x1013ac(0x46e):_0x5766dc,_0x191fe8=(_0x4b18c8=(_0x4e1e07=_0x5ec913[_0x1013ac(0x27a)]())==null?void 0x0:_0x4e1e07[_0x1013ac(0x43c)])==null?'unknown':_0x4b18c8;return{'changeset':{'unitID':_0x1279d2,'type':(0x0,_0x2b4fec[_0x1013ac(0x42b)])(_0x52b8a7[_0x1013ac(0x2b6)](_0x1279d2)),'baseRev':_0x146af1[_0x1013ac(0x255)](_0x1279d2),'revision':0x0,'userID':_0xe1803d,'memberID':_0x191fe8,'mutations':_0x17cac3},'pendingMutations':_0x2b021a[_0x1013ac(0x4ef)](_0x17cac3[_0x1013ac(0x242)])};}function _0x42b846(_0x37767a,_0x2c3ade,_0x1a123e,_0x2bc88a,_0x26d1ce){const _0x4afabd=_0x5e5e22;var _0xbc01a9,_0x1f88fd,_0x5e9dc5,_0x323ef0;let _0x1dbc52=[_0x37767a[_0x4afabd(0x39b)]((_0x188754,_0x8b569d)=>{const _0x1faa7b=_0x4afabd;var _0x800e19;let {id:_0x39f892}=_0x188754,{id:_0x54a404,type:_0xbb5786}=_0x8b569d,_0x19bfe2=(_0x800e19=_0x188754[_0x1faa7b(0x2ed)])==null?{'actions':null}:_0x800e19,_0x4e34e6=_0x8b569d['params'];if(_0x39f892&&_0x39f892!==_0x54a404)throw Error(_0x1faa7b(0x288)+_0x39f892+_0x1faa7b(0x425)+_0x54a404+'.');return{..._0x188754,'id':_0x54a404,'type':_0xbb5786,'params':{'unitId':_0x4e34e6[_0x1faa7b(0x48f)],'textRanges':_0x4e34e6[_0x1faa7b(0x3c6)],'actions':_0x1f27ed[_0x1faa7b(0x315)][_0x1faa7b(0x39a)](_0x19bfe2[_0x1faa7b(0x4f1)],_0x4e34e6[_0x1faa7b(0x4f1)])}};},{})],_0x5a1f50=(_0xbc01a9=(_0x1f88fd=_0x26d1ce[_0x4afabd(0x27a)]())==null?void 0x0:_0x1f88fd['userID'])==null?_0x4afabd(0x46e):_0xbc01a9,_0x32e78c=(_0x5e9dc5=(_0x323ef0=_0x26d1ce[_0x4afabd(0x27a)]())==null?void 0x0:_0x323ef0['memberID'])==null?_0x4afabd(0x46e):_0x5e9dc5;return{'changeset':{'unitID':_0x2c3ade,'type':(0x0,_0x2b4fec[_0x4afabd(0x42b)])(_0x1a123e[_0x4afabd(0x2b6)](_0x2c3ade)),'baseRev':_0x2bc88a['getCurrentRevOfUnit'](_0x2c3ade),'revision':0x0,'userID':_0x5a1f50,'memberID':_0x32e78c,'mutations':_0x1dbc52},'pendingMutations':[]};}function _0x564c43(_0x3afa5d,_0xf32c68){const _0x340130=_0x5e5e22;let _0x18cb94=new _0xd93cf[(_0x340130(0x41a))](0x1);return setTimeout(()=>_0x18cb94[_0x340130(0x446)](_0xf32c68),_0x3afa5d),_0x18cb94[_0x340130(0x471)]()[_0x340130(0x3e2)]((0x0,_0xd93cf[_0x340130(0x26b)])(0x1));}var _0x1393a6,_0x37525e,_0x354c96;let _0x5788d6=function(_0x3ac5f7){const _0x4850c9=_0x5e5e22;return _0x3ac5f7[_0x4850c9(0x2b2)]=_0x4850c9(0x352),_0x3ac5f7[_0x4850c9(0x3c5)]='synced',_0x3ac5f7[_0x4850c9(0x2fd)]=_0x4850c9(0x22c),_0x3ac5f7[_0x4850c9(0x2e9)]=_0x4850c9(0x4f0),_0x3ac5f7[_0x4850c9(0x2f5)]='awaiting_with_pending',_0x3ac5f7[_0x4850c9(0x22e)]=_0x4850c9(0x2cd),_0x3ac5f7[_0x4850c9(0x4b0)]='conflict',_0x3ac5f7[_0x4850c9(0x3d2)]=_0x4850c9(0x4f2),_0x3ac5f7;}({}),_0x18dc3c=0x4e20,_0xadf4c=0x2bf20;var _0x280124=class{constructor(_0x10b39e,_0x1af1a6,_0x5d2298,_0x157293,_0x21e479,_0x2d5ba8,_0x1afe1d,_0x52562a,_0x3761b1){const _0x2b3665=_0x5e5e22;this[_0x2b3665(0x3bc)]=_0x10b39e,this[_0x2b3665(0x320)]=_0x1af1a6,this[_0x2b3665(0x42a)]=_0x21e479,this[_0x2b3665(0x21d)]=_0x2d5ba8,this[_0x2b3665(0x2c9)]=_0x1afe1d,this[_0x2b3665(0x38e)]=_0x52562a,this[_0x2b3665(0x321)]=_0x3761b1,_0x5886a9(this,_0x2b3665(0x342),null),_0x5886a9(this,_0x2b3665(0x1fc),[]),this[_0x2b3665(0x342)]=_0x5d2298,this[_0x2b3665(0x1fc)]=_0x157293;}['_checkMissing'](_0x59dfc3){const _0x191948=_0x5e5e22;let _0x417271=this[_0x191948(0x38e)][_0x191948(0x255)](this['unitID']);return _0x59dfc3[_0x191948(0x4fd)]>_0x417271+0x1?(this[_0x191948(0x42a)]['onMissingChangesets']({'from':_0x417271,'to':_0x59dfc3[_0x191948(0x4fd)]-0x1}),!0x0):!0x1;}[_0x5e5e22(0x2e5)](_0x305668){const _0x2b6fd1=_0x5e5e22;this[_0x2b6fd1(0x2c9)][_0x2b6fd1(0x2b8)](this[_0x2b6fd1(0x3bc)],_0x305668);}['_transformSelections'](_0x3fc924){const _0x29cf86=_0x5e5e22;var _0x100800,_0x28a3ad;(_0x100800=(_0x28a3ad=this[_0x29cf86(0x42a)])[_0x29cf86(0x36e)])==null||_0x100800['call'](_0x28a3ad,_0x3fc924);}[_0x5e5e22(0x250)](_0x1b5cc1){const _0xcb5f83=_0x5e5e22;var _0x375e1a,_0x9d37b7;return(_0x375e1a=(_0x9d37b7=this[_0xcb5f83(0x42a)])[_0xcb5f83(0x281)])==null?void 0x0:_0x375e1a[_0xcb5f83(0x514)](_0x9d37b7,_0x1b5cc1);}[_0x5e5e22(0x21c)](_0x29951a){const _0x35d97e=_0x5e5e22;var _0x469f21,_0x3a5482;return(_0x469f21=(_0x3a5482=this[_0x35d97e(0x42a)])['onTransformState'])==null?void 0x0:_0x469f21['call'](_0x3a5482,_0x29951a);}[_0x5e5e22(0x32c)](_0x33f413){const _0x26b1cd=_0x5e5e22;var _0x4c30c0,_0xf9a427,_0x1af4c4;return(_0x4c30c0=(_0xf9a427=(_0x1af4c4=this[_0x26b1cd(0x42a)])[_0x26b1cd(0x43a)])==null?void 0x0:_0xf9a427['call'](_0x1af4c4,_0x33f413))==null?_0x33f413:_0x4c30c0;}[_0x5e5e22(0x211)](_0x109d8c){const _0x2cf325=_0x5e5e22;var _0x2b445b,_0x5b15bd,_0x1bbee6;return(_0x2b445b=(_0x5b15bd=(_0x1bbee6=this['_handler'])[_0x2cf325(0x1f4)])==null?void 0x0:_0x5b15bd[_0x2cf325(0x514)](_0x1bbee6,_0x109d8c))==null?_0x109d8c:_0x2b445b;}['_syncEditingCollabCursor'](_0x5eee33){const _0x62d896=_0x5e5e22;if(this[_0x62d896(0x320)]===_0x1f27ed[_0x62d896(0x41c)][_0x62d896(0x4a5)]){let {unitID:_0x515c03,mutations:_0x56efb8,memberID:_0x2d04cc}=_0x5eee33,_0x293b07=_0x56efb8[_0x62d896(0x242)]>0x0?_0x56efb8[0x0][_0x62d896(0x2ed)][_0x62d896(0x3c6)]:[];if(Array[_0x62d896(0x449)](_0x293b07)&&_0x293b07[_0x62d896(0x242)]>0x0){var _0x3a6268,_0x39837d;(_0x3a6268=(_0x39837d=this[_0x62d896(0x42a)])[_0x62d896(0x348)])==null||_0x3a6268[_0x62d896(0x514)](_0x39837d,{'unitID':_0x515c03,'memberID':_0x2d04cc,'textRanges':_0x293b07});}}}[_0x5e5e22(0x284)](){const _0x537f8c=_0x5e5e22;var _0x5c00bd;(_0x5c00bd=this['_localCacheService'])==null||_0x5c00bd[_0x537f8c(0x4e5)](this['unitID'],this[_0x537f8c(0x320)],this[_0x537f8c(0x342)],this[_0x537f8c(0x1fc)]);}[_0x5e5e22(0x465)](){const _0x1dce31=_0x5e5e22;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x1dce31(0x3bc)]);}['_incrementRevisionNumber'](){const _0x579110=_0x5e5e22;this[_0x579110(0x38e)]['incrementRevOfUnit'](this[_0x579110(0x3bc)]);}[_0x5e5e22(0x2b4)](_0x50363b){const _0x1dee5f=_0x5e5e22;let _0xf2213a=this[_0x1dee5f(0x32c)](_0x50363b);_0xf2213a=this[_0x1dee5f(0x211)](_0xf2213a);let _0x2e4a3f=(0x0,_0x1f27ed[_0x1dee5f(0x3c9)])(_0xf2213a['mutations'],this[_0x1dee5f(0x21d)],{'fromCollab':!0x0});if(!_0x2e4a3f['result']){var _0x1a5635;throw _0x2e4a3f[_0x1dee5f(0x4bf)]instanceof Error?_0x2e4a3f[_0x1dee5f(0x4bf)]:Error((_0x1a5635=_0x2e4a3f[_0x1dee5f(0x4bf)])==null?_0x1dee5f(0x499):_0x1a5635);}this['_transformIMECache'](_0xf2213a),this[_0x1dee5f(0x21c)](_0xf2213a),this[_0x1dee5f(0x2e5)](_0x50363b),this[_0x1dee5f(0x49f)](_0xf2213a),this['_syncEditingCollabCursor'](_0xf2213a),this[_0x1dee5f(0x450)]();}};let _0x165a95=class extends _0x280124{constructor(_0x5bbba4,_0x6abcb,_0x37a35a,_0x40af7e,_0x2f7a50,_0x4e59ed,_0x393f86,_0x1cb1ae,_0x5b584c,_0x5add7c){const _0x3c9804=_0x5e5e22;super(_0x5bbba4,_0x6abcb,null,[],_0x37a35a,_0x393f86,_0x4e59ed,_0x40af7e,_0x5add7c),this[_0x3c9804(0x3af)]=_0x2f7a50,this[_0x3c9804(0x2de)]=_0x1cb1ae,this['_transformService']=_0x5b584c,this[_0x3c9804(0x335)]=_0x5add7c,_0x5886a9(this,_0x3c9804(0x47f),_0x3c9804(0x392));}['appendMutation'](_0x88e443){const _0x2e15c8=_0x5e5e22;let _0x321df7=this[_0x2e15c8(0x3af)]['createInstance'](_0x552ece,this[_0x2e15c8(0x3bc)],this[_0x2e15c8(0x320)],[_0x88e443],this['_handler']);return _0x321df7['_schedule'](),_0x321df7[_0x2e15c8(0x284)](),_0x321df7;}[_0x5e5e22(0x4f4)](_0x58b79f){const _0x5ab5ec=_0x5e5e22;if(this[_0x5ab5ec(0x2a7)](_0x58b79f))return this[_0x5ab5ec(0x3af)][_0x5ab5ec(0x467)](_0x272441,this[_0x5ab5ec(0x3bc)],this[_0x5ab5ec(0x320)],null,[],null,[_0x58b79f],this['_handler']);try{let _0x273b99=this['_transformService']['transformMutationsWithChangeset'](_0x58b79f,[_0x2b4fec[_0x5ab5ec(0x244)]]);if((0x0,_0x2b4fec[_0x5ab5ec(0x2c8)])(_0x273b99)){let {c1Prime:_0x4707ad}=_0x273b99;return this[_0x5ab5ec(0x2b4)](_0x4707ad),this;}throw _0x273b99[_0x5ab5ec(0x4bf)];}catch(_0x8a3eb5){return this[_0x5ab5ec(0x2de)][_0x5ab5ec(0x4bf)](_0x8a3eb5),this[_0x5ab5ec(0x3b7)](!0x1);}}[_0x5e5e22(0x3b7)](_0x270838){const _0x1fb409=_0x5e5e22;return this[_0x1fb409(0x3af)]['createInstance'](_0x2d8e7b,this['unitID'],this[_0x1fb409(0x320)],null,[],this[_0x1fb409(0x42a)],_0x270838);}['onRemoteAck'](_0x2653f4){const _0xee33f7=_0x5e5e22;if(_0x2653f4[_0xee33f7(0x4fd)]<=this[_0xee33f7(0x465)]())return this;throw Error(_0xee33f7(0x39f));}[_0x5e5e22(0x31a)](){throw Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5e5e22(0x3b0)](){const _0x100d10=_0x5e5e22;return this[_0x100d10(0x3af)]['createInstance'](_0x73123,this[_0x100d10(0x3bc)],this[_0x100d10(0x320)],null,[],this['_handler']);}[_0x5e5e22(0x3f4)](){return this;}[_0x5e5e22(0x41d)](){const _0x13ade6=_0x5e5e22;throw Error(_0x13ade6(0x369));}[_0x5e5e22(0x252)](){const _0x2defb0=_0x5e5e22;let _0x54c705=this[_0x2defb0(0x38e)]['getCurrentRevOfUnit'](this[_0x2defb0(0x3bc)]);return this[_0x2defb0(0x42a)][_0x2defb0(0x21f)]({'from':_0x54c705,'to':0x0}),this[_0x2defb0(0x3af)]['createInstance'](_0x272441,this[_0x2defb0(0x3bc)],this[_0x2defb0(0x320)],null,[],null,[],this[_0x2defb0(0x42a)]);}};_0x165a95=_0x28d1a4([_0x26ba80(0x3,(0x0,_0x1f27ed['Inject'])(_0x2b4fec['RevisionService'])),_0x26ba80(0x4,(0x0,_0x1f27ed['Inject'])(_0x1f27ed[_0x5e5e22(0x271)])),_0x26ba80(0x5,_0x1f27ed[_0x5e5e22(0x325)]),_0x26ba80(0x6,_0x1f27ed[_0x5e5e22(0x2ac)]),_0x26ba80(0x7,_0x1f27ed[_0x5e5e22(0x304)]),_0x26ba80(0x8,_0x2b4fec[_0x5e5e22(0x2f7)]),_0x26ba80(0x9,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x33d8de))],_0x165a95);let _0x552ece=_0x1393a6=class extends _0x280124{constructor(_0x26d416,_0x45609f,_0x199f74,_0x5d46cf,_0x5a127a,_0x5c981c,_0x4458b7,_0x4e2528,_0x5eb4eb,_0x2fb208,_0x402468,_0x51c8f3,_0x5a1be6,_0x45c32e){const _0x242775=_0x5e5e22;super(_0x26d416,_0x45609f,null,_0x199f74,_0x5d46cf,_0x5eb4eb,_0x5a1be6,_0x5c981c,_0x45c32e),this[_0x242775(0x3af)]=_0x5a127a,this['_memberService']=_0x4458b7,this[_0x242775(0x2de)]=_0x4e2528,this[_0x242775(0x494)]=_0x2fb208,this['_transformService']=_0x402468,this[_0x242775(0x45b)]=_0x51c8f3,_0x5886a9(this,_0x242775(0x47f),_0x242775(0x22c)),_0x5886a9(this,_0x242775(0x22b),null),_0x5886a9(this,_0x242775(0x43d),null);}[_0x5e5e22(0x4f3)](_0x42e423){const _0x56f5b3=_0x5e5e22;return this[_0x56f5b3(0x1fc)]['push'](_0x42e423),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x215724){const _0x237ce0=_0x5e5e22;if(this[_0x237ce0(0x2a7)](_0x215724))return this[_0x237ce0(0x4c0)](),this[_0x237ce0(0x3af)][_0x237ce0(0x467)](_0x272441,this[_0x237ce0(0x3bc)],this[_0x237ce0(0x320)],null,this[_0x237ce0(0x1fc)],null,[_0x215724],this[_0x237ce0(0x42a)]);try{let _0x110a9a=this[_0x237ce0(0x344)][_0x237ce0(0x1f3)](_0x215724,this[_0x237ce0(0x1fc)]);if((0x0,_0x2b4fec['isTransformMutationsWithChangesetSuccess'])(_0x110a9a)){let {c1Prime:_0x580dc9,m2Prime:_0x7823a7}=_0x110a9a;this[_0x237ce0(0x2b4)](_0x580dc9);let _0x36fbc5=this[_0x237ce0(0x3af)][_0x237ce0(0x467)](_0x1393a6,this[_0x237ce0(0x3bc)],this[_0x237ce0(0x320)],_0x7823a7,this[_0x237ce0(0x42a)]);this[_0x237ce0(0x4c0)]();let _0x56d372=new Date()[_0x237ce0(0x322)](),_0x3948a0=this[_0x237ce0(0x22b)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x56d372,0x0):this['_getSendChangesetTimeout']();return _0x36fbc5['_schedule'](_0x3948a0),_0x36fbc5;}throw _0x110a9a[_0x237ce0(0x4bf)];}catch(_0x2f40fb){return this[_0x237ce0(0x2de)][_0x237ce0(0x4bf)](_0x2f40fb),this[_0x237ce0(0x3b7)](!0x1);}}[_0x5e5e22(0x37b)](_0x1c9c57){const _0xf86a75=_0x5e5e22;if(_0x1c9c57[_0xf86a75(0x4fd)]<=this['_getCurrentRevision']())return this;throw Error(_0xf86a75(0x443));}[_0x5e5e22(0x31a)](){const _0x332eb2=_0x5e5e22;throw Error(_0x332eb2(0x23c));}[_0x5e5e22(0x4e3)](){return this;}[_0x5e5e22(0x3b0)](){const _0x6a25d=_0x5e5e22;return this[_0x6a25d(0x4c0)](),this[_0x6a25d(0x3af)][_0x6a25d(0x467)](_0x73123,this[_0x6a25d(0x3bc)],this[_0x6a25d(0x320)],null,this[_0x6a25d(0x1fc)],this[_0x6a25d(0x42a)]);}['toggleOnline'](){return this;}[_0x5e5e22(0x28a)](_0x5e5510){const _0x7d3447=_0x5e5e22;let _0x207cbc=_0x5e5510==null?this[_0x7d3447(0x24b)]():_0x5e5510;this[_0x7d3447(0x22b)]=new Date()[_0x7d3447(0x322)]()+_0x207cbc,this[_0x7d3447(0x43d)]=setTimeout(()=>{const _0x747bfb=_0x7d3447;this['_clearScheduledTask']();let _0x5cad81=null;switch(this[_0x747bfb(0x320)]){case _0x1f27ed[_0x747bfb(0x41c)][_0x747bfb(0x25c)]:_0x5cad81=_0x4c9235(this[_0x747bfb(0x1fc)],this[_0x747bfb(0x3bc)],this[_0x747bfb(0x45b)],this[_0x747bfb(0x38e)],this[_0x747bfb(0x3cf)]);break;case _0x1f27ed['UniverInstanceType'][_0x747bfb(0x4a5)]:_0x5cad81=this[_0x747bfb(0x1fc)][_0x747bfb(0x27b)](_0x558e33=>_0x558e33['id']===_0x3b0f13[_0x747bfb(0x476)]['id'])?_0x42b846(this[_0x747bfb(0x1fc)],this[_0x747bfb(0x3bc)],this[_0x747bfb(0x45b)],this[_0x747bfb(0x38e)],this['_memberService']):_0x4c9235(this[_0x747bfb(0x1fc)],this[_0x747bfb(0x3bc)],this[_0x747bfb(0x45b)],this['_revisionService'],this['_memberService']);break;default:throw Error(_0x747bfb(0x4b4)+this[_0x747bfb(0x320)]+'\x20in\x20_schedule.');}let {changeset:_0x24e9d5,pendingMutations:_0x193535}=_0x5cad81;this[_0x747bfb(0x42a)][_0x747bfb(0x30a)](_0x24e9d5);let _0x5ad39a=_0x193535['length']?this['_injector'][_0x747bfb(0x467)](_0x2aa7cb,this[_0x747bfb(0x3bc)],this['type'],_0x24e9d5,_0x193535,this[_0x747bfb(0x42a)],void 0x0):this[_0x747bfb(0x3af)][_0x747bfb(0x467)](_0x41bca9,this[_0x747bfb(0x3bc)],this['type'],_0x24e9d5,this[_0x747bfb(0x42a)]);_0x5ad39a['_updateLocalCache'](),this[_0x747bfb(0x42a)][_0x747bfb(0x285)](this,_0x5ad39a);},_0x207cbc);}['_getSendChangesetTimeout'](){const _0x3a00e6=_0x5e5e22;var _0x1a902b;let _0x43ef5a=this[_0x3a00e6(0x494)][_0x3a00e6(0x45c)](_0x5df009);return(_0x1a902b=_0x43ef5a==null?void 0x0:_0x43ef5a[_0x3a00e6(0x3c2)])==null?0x7d0:_0x1a902b;}['resend'](){const _0x383832=_0x5e5e22;throw Error(_0x383832(0x2d5));}[_0x5e5e22(0x4c0)](){const _0x512366=_0x5e5e22;this[_0x512366(0x43d)]!=null&&(clearTimeout(this[_0x512366(0x43d)]),this[_0x512366(0x43d)]=null);}['_onConflict'](_0x3a618f){const _0x45f287=_0x5e5e22;return this[_0x45f287(0x4c0)](),this[_0x45f287(0x3af)]['createInstance'](_0x2d8e7b,this[_0x45f287(0x3bc)],this[_0x45f287(0x320)],null,this[_0x45f287(0x1fc)],this[_0x45f287(0x42a)],_0x3a618f);}};_0x552ece=_0x1393a6=_0x28d1a4([_0x26ba80(0x4,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x271)])),_0x26ba80(0x5,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2b4fec['RevisionService'])),_0x26ba80(0x6,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x3aba96)),_0x26ba80(0x7,_0x1f27ed['ILogService']),_0x26ba80(0x8,_0x1f27ed[_0x5e5e22(0x2ac)]),_0x26ba80(0x9,_0x1f27ed[_0x5e5e22(0x506)]),_0x26ba80(0xa,_0x2b4fec[_0x5e5e22(0x2f7)]),_0x26ba80(0xb,_0x1f27ed[_0x5e5e22(0x50c)]),_0x26ba80(0xc,_0x1f27ed[_0x5e5e22(0x325)]),_0x26ba80(0xd,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x33d8de))],_0x552ece);let _0x41bca9=_0x37525e=class extends _0x280124{constructor(_0x5e930a,_0x5937ef,_0x2acae1,_0x5445e2,_0x51b50,_0x43b7b6,_0x4f7c4d,_0x1defc9,_0x56982a,_0x584412,_0x3fd763){const _0x5b6579=_0x5e5e22;super(_0x5e930a,_0x5937ef,_0x2acae1,[],_0x5445e2,_0x4f7c4d,_0x584412,_0x43b7b6,_0x3fd763),this[_0x5b6579(0x3af)]=_0x51b50,this['_logService']=_0x1defc9,this[_0x5b6579(0x344)]=_0x56982a,_0x5886a9(this,_0x5b6579(0x47f),_0x5b6579(0x4f0)),_0x5886a9(this,'_resendTimeout',0x0),_0x5886a9(this,'_maxTotalRetryTimeout',0x0),_0x5886a9(this,_0x5b6579(0x2f8),void 0x0),_0x5886a9(this,_0x5b6579(0x4fb),void 0x0);}[_0x5e5e22(0x4f3)](_0x147c42){const _0x3b06f3=_0x5e5e22;this[_0x3b06f3(0x4c0)]();let _0x19e9f2=this[_0x3b06f3(0x3af)][_0x3b06f3(0x467)](_0x2aa7cb,this['unitID'],this[_0x3b06f3(0x320)],this['_awaitingChangeset'],[_0x147c42],this[_0x3b06f3(0x42a)],this['_resendTimer']);return _0x19e9f2[_0x3b06f3(0x284)](),_0x19e9f2;}[_0x5e5e22(0x4f4)](_0x211ab6){const _0x260a56=_0x5e5e22;if(this[_0x260a56(0x2a7)](_0x211ab6))return this[_0x260a56(0x4c0)](),this[_0x260a56(0x3af)][_0x260a56(0x467)](_0x272441,this['unitID'],this[_0x260a56(0x320)],this[_0x260a56(0x342)],[],null,[_0x211ab6],this[_0x260a56(0x42a)]);try{let _0x4c859b=this[_0x260a56(0x344)][_0x260a56(0x4ba)]([_0x211ab6],[this[_0x260a56(0x342)]],!0x1);if((0x0,_0x2b4fec[_0x260a56(0x383)])(_0x4c859b)){let {c1Prime:_0x59ef67,c2Prime:_0x33c68c}=_0x4c859b;this[_0x260a56(0x2b4)](_0x59ef67[0x0]),_0x33c68c[0x0][_0x260a56(0x367)]=this[_0x260a56(0x465)](),this[_0x260a56(0x4c0)]();let _0x48c982=this['_injector'][_0x260a56(0x467)](_0x37525e,this[_0x260a56(0x3bc)],this['type'],_0x33c68c[0x0],this[_0x260a56(0x42a)]);return _0x48c982[_0x260a56(0x284)](),_0x48c982;}throw _0x4c859b[_0x260a56(0x4bf)];}catch(_0x123a83){return this[_0x260a56(0x2de)][_0x260a56(0x4bf)](_0x123a83),this[_0x260a56(0x3b7)](!0x1);}}[_0x5e5e22(0x37b)](_0x2def95){const _0x5efb8c=_0x5e5e22;this[_0x5efb8c(0x4c0)]();let _0x4d149b=this[_0x5efb8c(0x38e)][_0x5efb8c(0x255)](this['unitID']);if(_0x2def95[_0x5efb8c(0x4fd)]<=_0x4d149b)return this;if(this['_checkMissing'](_0x2def95))return this[_0x5efb8c(0x3af)][_0x5efb8c(0x467)](_0x272441,this[_0x5efb8c(0x3bc)],this[_0x5efb8c(0x320)],this[_0x5efb8c(0x342)],[],_0x2def95[_0x5efb8c(0x4fd)],[],this[_0x5efb8c(0x42a)]);this[_0x5efb8c(0x450)]();let _0x339ff1=this[_0x5efb8c(0x3af)][_0x5efb8c(0x467)](_0x165a95,this[_0x5efb8c(0x3bc)],this[_0x5efb8c(0x320)],this[_0x5efb8c(0x42a)]);return _0x339ff1[_0x5efb8c(0x284)](),_0x339ff1;}[_0x5e5e22(0x31a)](_0xf27148){const _0x44889c=_0x5e5e22;return this['_onConflict'](!!(_0xf27148!=null&&_0xf27148[_0x44889c(0x43e)]));}[_0x5e5e22(0x4e3)](_0x1655ca){const _0x285c95=_0x5e5e22;return this['_maxTotalRetryTimeout']>_0xadf4c?this[_0x285c95(0x3b0)]():(this[_0x285c95(0x2f8)]=_0x564c43(this[_0x285c95(0x20a)],{'timeout':this[_0x285c95(0x20a)],'reqId':_0x1655ca['reqId']}),this[_0x285c95(0x4fb)]=this['_resendTimer']['subscribe'](({reqId:_0x502408,timeout:_0x57ca4f})=>{const _0x4ba7d1=_0x285c95;this[_0x4ba7d1(0x42f)](_0x502408,_0x57ca4f);}),this);}[_0x5e5e22(0x3b0)](){const _0x54f63e=_0x5e5e22;return this[_0x54f63e(0x4c0)](),this[_0x54f63e(0x3af)][_0x54f63e(0x467)](_0x73123,this[_0x54f63e(0x3bc)],this[_0x54f63e(0x320)],this[_0x54f63e(0x342)],[],this[_0x54f63e(0x42a)]);}['toggleOnline'](){return this;}[_0x5e5e22(0x41d)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x13abd9){const _0x312a38=_0x5e5e22;return this[_0x312a38(0x4c0)](),this[_0x312a38(0x3af)]['createInstance'](_0x2d8e7b,this[_0x312a38(0x3bc)],this['type'],this[_0x312a38(0x342)],[],this[_0x312a38(0x42a)],_0x13abd9);}[_0x5e5e22(0x42f)](_0x38e879,_0x53122d){const _0x2f00c9=_0x5e5e22;var _0x475a32;_0x38e879===((_0x475a32=this['_awaitingChangeset'])==null?void 0x0:_0x475a32[_0x2f00c9(0x50a)])&&(this[_0x2f00c9(0x41d)](),this[_0x2f00c9(0x20a)]=_0x53122d===0x0?0x3e8:Math[_0x2f00c9(0x20e)](_0x53122d*0x2,_0x18dc3c),this[_0x2f00c9(0x398)]+=this[_0x2f00c9(0x20a)]);}[_0x5e5e22(0x4c0)](){const _0x2bc4e6=_0x5e5e22;var _0x42ade9;(_0x42ade9=this[_0x2bc4e6(0x4fb)])==null||_0x42ade9['unsubscribe'](),this[_0x2bc4e6(0x20a)]=0x0,this[_0x2bc4e6(0x398)]=0x0;}};_0x41bca9=_0x37525e=_0x28d1a4([_0x26ba80(0x4,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x271)])),_0x26ba80(0x5,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2b4fec[_0x5e5e22(0x414)])),_0x26ba80(0x6,_0x1f27ed[_0x5e5e22(0x2ac)]),_0x26ba80(0x7,_0x1f27ed['ILogService']),_0x26ba80(0x8,_0x2b4fec[_0x5e5e22(0x2f7)]),_0x26ba80(0x9,_0x1f27ed[_0x5e5e22(0x325)]),_0x26ba80(0xa,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x33d8de))],_0x41bca9);let _0x2aa7cb=_0x354c96=class extends _0x280124{constructor(_0x2f4efd,_0x232293,_0x3e06c2,_0x1dc56c,_0x2278e7,_0x4af2d5,_0x58e32,_0x51e8c5,_0x413134,_0x4b2287,_0x1a0277,_0x31638d,_0x307eee){const _0x9d4985=_0x5e5e22;super(_0x2f4efd,_0x232293,_0x3e06c2,_0x1dc56c,_0x2278e7,_0x413134,_0x31638d,_0x51e8c5,_0x307eee),this[_0x9d4985(0x3af)]=_0x58e32,this[_0x9d4985(0x2de)]=_0x4b2287,this[_0x9d4985(0x344)]=_0x1a0277,this[_0x9d4985(0x335)]=_0x307eee,_0x5886a9(this,'status',_0x9d4985(0x49a)),_0x5886a9(this,_0x9d4985(0x20a),0x0),_0x5886a9(this,_0x9d4985(0x398),0x0),_0x5886a9(this,_0x9d4985(0x2f8),void 0x0),_0x5886a9(this,'_sender',void 0x0),_0x4af2d5&&(this['_resendTimer']=_0x4af2d5,this['_sender']=this[_0x9d4985(0x2f8)][_0x9d4985(0x3c1)](({reqId:_0x42e99b,timeout:_0x4b3dec})=>{const _0x401445=_0x9d4985;this[_0x401445(0x42f)](_0x42e99b,_0x4b3dec);}));}[_0x5e5e22(0x4f3)](_0x45f97d){const _0x59efbb=_0x5e5e22;return this['_pendingMutations'][_0x59efbb(0x2e4)](_0x45f97d),this;}['onRemoteChangeset'](_0x25fda8){const _0x2ceff3=_0x5e5e22;if(this[_0x2ceff3(0x2a7)](_0x25fda8))return this[_0x2ceff3(0x4c0)](),this['_injector']['createInstance'](_0x272441,this[_0x2ceff3(0x3bc)],this[_0x2ceff3(0x320)],this[_0x2ceff3(0x342)],this[_0x2ceff3(0x1fc)],null,[_0x25fda8],this[_0x2ceff3(0x42a)]);try{let _0x513b69=this[_0x2ceff3(0x344)][_0x2ceff3(0x4ba)]([_0x25fda8],[this[_0x2ceff3(0x342)]],!0x1);if((0x0,_0x2b4fec[_0x2ceff3(0x383)])(_0x513b69)){let {c1Prime:_0x50a5c7,c2Prime:_0x3c3d1c}=_0x513b69,_0x3c3c0e=this['_transformService'][_0x2ceff3(0x1f3)](_0x50a5c7[0x0],this['_pendingMutations']);if((0x0,_0x2b4fec['isTransformMutationsWithChangesetSuccess'])(_0x3c3c0e)){let {c1Prime:_0x3d1c89,m2Prime:_0x43183c}=_0x3c3c0e;return this[_0x2ceff3(0x2b4)](_0x3d1c89),_0x3c3d1c[0x0][_0x2ceff3(0x367)]=this['_getCurrentRevision'](),this[_0x2ceff3(0x4c0)](),this[_0x2ceff3(0x3af)][_0x2ceff3(0x467)](_0x354c96,this['unitID'],this[_0x2ceff3(0x320)],_0x3c3d1c[0x0],_0x43183c,this[_0x2ceff3(0x42a)],void 0x0);}throw _0x3c3c0e[_0x2ceff3(0x4bf)];}throw _0x513b69[_0x2ceff3(0x4bf)];}catch(_0x10bd80){return this[_0x2ceff3(0x2de)]['error'](_0x10bd80),this[_0x2ceff3(0x3b7)](!0x1);}}['onRemoteAck'](_0xe2fd3f){const _0x311477=_0x5e5e22;this[_0x311477(0x4c0)]();let _0x285e00=this['_getCurrentRevision']();if(_0xe2fd3f[_0x311477(0x4fd)]<=_0x285e00)return this;if(this[_0x311477(0x2a7)](_0xe2fd3f))return this[_0x311477(0x3af)]['createInstance'](_0x272441,this['unitID'],this[_0x311477(0x320)],this[_0x311477(0x342)],this[_0x311477(0x1fc)],_0xe2fd3f[_0x311477(0x4fd)],[],this[_0x311477(0x42a)]);this[_0x311477(0x450)]();let _0x4465da=this[_0x311477(0x3af)][_0x311477(0x467)](_0x552ece,this[_0x311477(0x3bc)],this['type'],this[_0x311477(0x1fc)],this[_0x311477(0x42a)]);return _0x4465da[_0x311477(0x28a)](),_0x4465da['_updateLocalCache'](),_0x4465da;}[_0x5e5e22(0x31a)](_0x46d8eb){const _0x323243=_0x5e5e22;return this[_0x323243(0x3b7)](!!(_0x46d8eb!=null&&_0x46d8eb[_0x323243(0x43e)]));}[_0x5e5e22(0x4e3)](_0x35728e){const _0x171a49=_0x5e5e22;return this[_0x171a49(0x398)]>_0xadf4c?this[_0x171a49(0x3b0)]():(this[_0x171a49(0x2f8)]=_0x564c43(this['_resendTimeout'],{'timeout':this[_0x171a49(0x20a)],'reqId':_0x35728e[_0x171a49(0x50a)]}),this[_0x171a49(0x4fb)]=this[_0x171a49(0x2f8)]['subscribe'](({reqId:_0x4a68e4,timeout:_0x30239d})=>{const _0x2aea74=_0x171a49;this[_0x2aea74(0x42f)](_0x4a68e4,_0x30239d);}),this);}[_0x5e5e22(0x3b0)](){const _0x1b444a=_0x5e5e22;return this[_0x1b444a(0x4c0)](),this[_0x1b444a(0x3af)]['createInstance'](_0x73123,this[_0x1b444a(0x3bc)],this[_0x1b444a(0x320)],this[_0x1b444a(0x342)],this[_0x1b444a(0x1fc)],this[_0x1b444a(0x42a)]);}[_0x5e5e22(0x3f4)](){return this;}[_0x5e5e22(0x41d)](){const _0x746d30=_0x5e5e22;this[_0x746d30(0x42a)][_0x746d30(0x30a)](this[_0x746d30(0x342)]);}['_onConflict'](_0x4391aa){const _0x2933b7=_0x5e5e22;return this[_0x2933b7(0x4c0)](),this[_0x2933b7(0x3af)][_0x2933b7(0x467)](_0x2d8e7b,this[_0x2933b7(0x3bc)],this[_0x2933b7(0x320)],null,this[_0x2933b7(0x1fc)],this[_0x2933b7(0x42a)],_0x4391aa);}['_resendWithTimeout'](_0x56c2f5,_0xd3ad0c){const _0x5767c1=_0x5e5e22;var _0x5e4de6;_0x56c2f5===((_0x5e4de6=this[_0x5767c1(0x342)])==null?void 0x0:_0x5e4de6['reqId'])&&(this[_0x5767c1(0x41d)](),this[_0x5767c1(0x20a)]=_0xd3ad0c===0x0?0x3e8:Math[_0x5767c1(0x20e)](_0xd3ad0c*0x2,_0x18dc3c),this[_0x5767c1(0x398)]+=this[_0x5767c1(0x20a)]);}[_0x5e5e22(0x4c0)](){const _0x2c3dd6=_0x5e5e22;var _0x16a773;(_0x16a773=this[_0x2c3dd6(0x4fb)])==null||_0x16a773[_0x2c3dd6(0x2d3)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x2aa7cb=_0x354c96=_0x28d1a4([_0x26ba80(0x6,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x271)])),_0x26ba80(0x7,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2b4fec[_0x5e5e22(0x414)])),_0x26ba80(0x8,_0x1f27ed[_0x5e5e22(0x2ac)]),_0x26ba80(0x9,_0x1f27ed['ILogService']),_0x26ba80(0xa,_0x2b4fec[_0x5e5e22(0x2f7)]),_0x26ba80(0xb,_0x1f27ed['IUndoRedoService']),_0x26ba80(0xc,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x33d8de))],_0x2aa7cb);let _0x2d8e7b=class extends _0x280124{constructor(_0x4f2c01,_0x562e34,_0x41f88d,_0x3117b5,_0x37e9dd,_0x35e825=!0x1,_0x31259f,_0x384f67,_0x31cc31,_0x24d850,_0x1dd836,_0x2ed07a,_0x10eeb4){const _0x5c7586=_0x5e5e22;super(_0x4f2c01,_0x562e34,_0x41f88d,_0x3117b5,_0x37e9dd,_0x384f67,_0x31cc31,_0x24d850,_0x10eeb4),this[_0x5c7586(0x428)]=_0x35e825,this[_0x5c7586(0x28b)]=_0x31259f,this[_0x5c7586(0x2b5)]=_0x1dd836,this[_0x5c7586(0x205)]=_0x2ed07a,this[_0x5c7586(0x335)]=_0x10eeb4,_0x5886a9(this,_0x5c7586(0x47f),_0x5c7586(0x3ff)),this[_0x5c7586(0x3f8)](),this['_clearLocalCache'](),this[_0x5c7586(0x3ba)]();}[_0x5e5e22(0x4f3)](){return this;}[_0x5e5e22(0x4f4)](){return this;}[_0x5e5e22(0x37b)](){return this;}[_0x5e5e22(0x31a)](){return this;}['onRemoteRetry'](){return this;}[_0x5e5e22(0x3b0)](){return this;}[_0x5e5e22(0x3f4)](){return this;}[_0x5e5e22(0x41d)](){const _0x5e152d=_0x5e5e22;throw Error(_0x5e152d(0x23b));}[_0x5e5e22(0x478)](){const _0x3f16a3=_0x5e5e22;var _0x427c15;(_0x427c15=this['_localCacheService'])==null||_0x427c15[_0x3f16a3(0x4e5)](this['unitID'],this[_0x3f16a3(0x320)],null,[]);}[_0x5e5e22(0x3f8)](){const _0xb85299=_0x5e5e22;this[_0xb85299(0x428)]?this[_0xb85299(0x205)][_0xb85299(0x2a0)]({'id':_0xb85299(0x413)}):this['_collaborationUIEventService'][_0xb85299(0x2a0)]({'id':_0xb85299(0x4b0)});}[_0x5e5e22(0x3ba)](){const _0x55da0b=_0x5e5e22;this[_0x55da0b(0x28b)][_0x55da0b(0x379)](new _0x47a016['WorkbookEditablePermission'](this[_0x55da0b(0x3bc)])['id'],!0x1);}};_0x2d8e7b=_0x28d1a4([_0x26ba80(0x6,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x46d)])),_0x26ba80(0x7,_0x1f27ed[_0x5e5e22(0x2ac)]),_0x26ba80(0x8,_0x1f27ed['IUndoRedoService']),_0x26ba80(0x9,(0x0,_0x1f27ed['Inject'])(_0x2b4fec[_0x5e5e22(0x414)])),_0x26ba80(0xa,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x2bc)])),_0x26ba80(0xb,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2af8d7)),_0x26ba80(0xc,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x33d8de))],_0x2d8e7b);let _0x73123=class extends _0x280124{constructor(_0x53bdab,_0x2e2718,_0x537a12,_0x233a35,_0x1a66ca,_0x4dcb85,_0x5cb38d,_0x175396,_0x1389d4,_0x805c32){const _0x3c484f=_0x5e5e22;super(_0x53bdab,_0x2e2718,_0x537a12,_0x233a35,_0x1a66ca,_0x175396,_0x1389d4,_0x5cb38d,_0x805c32),this[_0x3c484f(0x3af)]=_0x4dcb85,_0x5886a9(this,_0x3c484f(0x47f),'offline');}[_0x5e5e22(0x4f3)](_0x3ba07b){const _0x285d92=_0x5e5e22;return this[_0x285d92(0x1fc)][_0x285d92(0x2e4)](_0x3ba07b),this[_0x285d92(0x284)](),this;}[_0x5e5e22(0x4f4)](_0x5b10ea){const _0x383aeb=_0x5e5e22;throw Error(_0x383aeb(0x341));}[_0x5e5e22(0x37b)](){const _0x301af3=_0x5e5e22;throw Error(_0x301af3(0x417));}[_0x5e5e22(0x31a)](){const _0x21baa0=_0x5e5e22;throw Error(_0x21baa0(0x276));}[_0x5e5e22(0x4e3)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){const _0x519972=_0x5e5e22;let {_injector:_0x30a982,_pendingMutations:_0x444e48,_awaitingChangeset:_0x2c506d,unitID:_0x99cbac,_handler:_0x4b8a5c,type:_0x4ccafe}=this,_0x4d3530=_0x4de551(_0x30a982,_0x99cbac,_0x4ccafe,_0x2c506d,_0x444e48,_0x4b8a5c);return _0x4d3530 instanceof _0x552ece?_0x4d3530['_schedule']():(_0x4d3530 instanceof _0x2aa7cb||_0x4d3530 instanceof _0x41bca9)&&_0x4d3530[_0x519972(0x41d)](),_0x4d3530;}[_0x5e5e22(0x41d)](){const _0x59f175=_0x5e5e22;throw Error(_0x59f175(0x2c0));}};_0x73123=_0x28d1a4([_0x26ba80(0x5,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x271)])),_0x26ba80(0x6,(0x0,_0x1f27ed['Inject'])(_0x2b4fec[_0x5e5e22(0x414)])),_0x26ba80(0x7,_0x1f27ed['ICommandService']),_0x26ba80(0x8,_0x1f27ed[_0x5e5e22(0x325)]),_0x26ba80(0x9,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x33d8de))],_0x73123);let _0x272441=class extends _0x280124{constructor(_0x319f2e,_0x1e9ed6,_0x506d25,_0x5cd987,_0x5c1e5e,_0x27a757,_0x307091,_0x3e0085,_0x408afd,_0x182d5e,_0x5e342a,_0x156cf2,_0x2c4c24,_0x1f3d21){const _0x142a7e=_0x5e5e22;super(_0x319f2e,_0x1e9ed6,_0x506d25,_0x5cd987,_0x307091,_0x5e342a,_0x156cf2,_0x408afd,_0x1f3d21),this[_0x142a7e(0x3de)]=_0x5c1e5e,this[_0x142a7e(0x4df)]=_0x27a757,this[_0x142a7e(0x3af)]=_0x3e0085,this[_0x142a7e(0x2de)]=_0x182d5e,this['_transformService']=_0x2c4c24,this[_0x142a7e(0x335)]=_0x1f3d21,_0x5886a9(this,_0x142a7e(0x47f),_0x142a7e(0x2cd));}[_0x5e5e22(0x35a)](_0x52ead5){const _0x23ea43=_0x5e5e22;try{if(this[_0x23ea43(0x418)](_0x52ead5)[_0x23ea43(0x382)])throw Error('[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.');if(this['_handleRemoteChangesets']([...this['_queuedRemoteChangesets']][_0x23ea43(0x4b2)]((_0xa65301,_0x32df84)=>_0xa65301[_0x23ea43(0x4fd)]-_0x32df84[_0x23ea43(0x4fd)]))[_0x23ea43(0x382)])return this[_0x23ea43(0x4df)]=[],this[_0x23ea43(0x284)](),this[_0x23ea43(0x42a)][_0x23ea43(0x21f)]({'from':this[_0x23ea43(0x465)](),'to':0x0}),this;let _0x130291=this[_0x23ea43(0x342)],_0x5e928b=this[_0x23ea43(0x1fc)],_0x5ddfdf;if(_0x130291&&_0x5e928b[_0x23ea43(0x242)]!==0x0)_0x5ddfdf=this['_injector'][_0x23ea43(0x467)](_0x2aa7cb,this[_0x23ea43(0x3bc)],this['type'],_0x130291,_0x5e928b,this[_0x23ea43(0x42a)],void 0x0);else{if(_0x130291&&_0x5e928b[_0x23ea43(0x242)]===0x0)_0x130291[_0x23ea43(0x367)]=this['_getCurrentRevision'](),_0x5ddfdf=this[_0x23ea43(0x3af)]['createInstance'](_0x41bca9,this['unitID'],this[_0x23ea43(0x320)],_0x130291,this[_0x23ea43(0x42a)]);else{if(_0x5e928b[_0x23ea43(0x242)]!==0x0){let _0x15cfc1=this[_0x23ea43(0x3af)][_0x23ea43(0x467)](_0x552ece,this[_0x23ea43(0x3bc)],this[_0x23ea43(0x320)],_0x5e928b,this[_0x23ea43(0x42a)]);_0x15cfc1['_schedule'](),_0x5ddfdf=_0x15cfc1;}else _0x5ddfdf=this['_injector'][_0x23ea43(0x467)](_0x165a95,this[_0x23ea43(0x3bc)],this['type'],this[_0x23ea43(0x42a)]);}}return _0x5ddfdf[_0x23ea43(0x284)](),_0x5ddfdf;}catch(_0x24fd46){return this[_0x23ea43(0x2de)]['error']('[FetchMissState]',_0x23ea43(0x312),_0x24fd46),this['_injector'][_0x23ea43(0x467)](_0x2d8e7b,this['unitID'],this[_0x23ea43(0x320)],this[_0x23ea43(0x342)],this['_pendingMutations'],this[_0x23ea43(0x42a)],!0x1);}}[_0x5e5e22(0x418)](_0x59f7de){const _0x83755c=_0x5e5e22;this[_0x83755c(0x4aa)]();for(let _0x4e1d55=0x0;_0x4e1d55<_0x59f7de['length'];_0x4e1d55++){let _0x4426a0=_0x59f7de[_0x4e1d55],_0x528509=this['_getCurrentRevision']();if(!(_0x4426a0[_0x83755c(0x4fd)]<=_0x528509)){if(_0x4426a0['revision']>_0x528509+0x1)return{'missingChangesets':!0x0};if(this[_0x83755c(0x204)](_0x4426a0)){this[_0x83755c(0x327)]();continue;}this[_0x83755c(0x2ef)](_0x4426a0),this[_0x83755c(0x4aa)]();}}return{'missingChangesets':!0x1};}[_0x5e5e22(0x2ef)](_0x3cae8c){const _0x35bce2=_0x5e5e22;let _0x574d6a=_0x3cae8c,_0x31100a=this[_0x35bce2(0x342)];if(_0x31100a){let _0x58dbcc=this[_0x35bce2(0x344)][_0x35bce2(0x4ba)]([_0x3cae8c],[_0x31100a],!0x1);if(!(0x0,_0x2b4fec[_0x35bce2(0x383)])(_0x58dbcc))throw _0x58dbcc['error'];_0x574d6a=_0x58dbcc[_0x35bce2(0x246)][0x0],_0x31100a=_0x58dbcc['c2Prime'][0x0];}let _0x649d58=this['_pendingMutations'];if(_0x649d58[_0x35bce2(0x242)]){let _0xbde29=this[_0x35bce2(0x344)][_0x35bce2(0x1f3)](_0x574d6a,_0x649d58);if(!(0x0,_0x2b4fec[_0x35bce2(0x2c8)])(_0xbde29))throw _0xbde29['error'];_0x574d6a=_0xbde29['c1Prime'],_0x649d58=_0xbde29[_0x35bce2(0x22d)];}this['_executeRemoteChangeset'](_0x574d6a),_0x31100a&&(_0x31100a['baseRev']=this[_0x35bce2(0x465)]()),this[_0x35bce2(0x342)]=_0x31100a,this[_0x35bce2(0x1fc)]=_0x649d58;}['_acknowledgeAwaitingIfReady'](){const _0x2403fb=_0x5e5e22;if(!this[_0x2403fb(0x342)]||this[_0x2403fb(0x3de)]==null)return;let _0x17727f=this[_0x2403fb(0x465)]();if(this[_0x2403fb(0x3de)]<=_0x17727f)throw Error('[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20'+this[_0x2403fb(0x3de)]+'.');this[_0x2403fb(0x3de)]===_0x17727f+0x1&&this[_0x2403fb(0x327)]();}[_0x5e5e22(0x327)](){const _0x474047=_0x5e5e22;this['_incrementRevisionNumber'](),this[_0x474047(0x342)]=null,this['_acknowledgedAwaitingRevision']=null;}['_isEchoedAwaitingChangeset'](_0x1f551a){const _0x5da56a=_0x5e5e22;let _0x371c87=this['_awaitingChangeset'];return!_0x371c87||!_0x371c87[_0x5da56a(0x420)]||_0x371c87[_0x5da56a(0x50a)]===null||_0x371c87['reqId']===void 0x0?!0x1:_0x1f551a[_0x5da56a(0x3bc)]===_0x371c87[_0x5da56a(0x3bc)]&&_0x1f551a[_0x5da56a(0x420)]===_0x371c87[_0x5da56a(0x420)]&&_0x1f551a['reqId']===_0x371c87[_0x5da56a(0x50a)];}[_0x5e5e22(0x41d)](){throw Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5e5e22(0x4f3)](_0x238851){const _0x363317=_0x5e5e22;return this['_pendingMutations'][_0x363317(0x2e4)](_0x238851),this;}['onRemoteChangeset'](_0x43e143){const _0xad30c0=_0x5e5e22;return this[_0xad30c0(0x4df)][_0xad30c0(0x2e4)](_0x43e143),this;}[_0x5e5e22(0x37b)](_0x4a0ff4){const _0x24752c=_0x5e5e22;if(this[_0x24752c(0x342)]){let _0x16836d=this[_0x24752c(0x465)]();return _0x4a0ff4[_0x24752c(0x4fd)]<=_0x16836d||(_0x16836d+0x1===_0x4a0ff4[_0x24752c(0x4fd)]?(this[_0x24752c(0x450)](),this['_awaitingChangeset']=null,this[_0x24752c(0x3de)]=null):this[_0x24752c(0x3de)]=_0x4a0ff4['revision']),this;}if(_0x4a0ff4[_0x24752c(0x4fd)]<=this[_0x24752c(0x465)]())return this;throw Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5e5e22(0x31a)](_0x1713af){const _0x4e068d=_0x5e5e22;return this[_0x4e068d(0x3b7)](!!(_0x1713af!=null&&_0x1713af[_0x4e068d(0x43e)]));}[_0x5e5e22(0x4e3)](){return this;}[_0x5e5e22(0x3b0)](){const _0x423ef2=_0x5e5e22;return this['_injector'][_0x423ef2(0x467)](_0x73123,this[_0x423ef2(0x3bc)],this[_0x423ef2(0x320)],this['_awaitingChangeset'],this[_0x423ef2(0x1fc)],this['_handler']);}[_0x5e5e22(0x3f4)](){return this;}[_0x5e5e22(0x3b7)](_0x1fa469){const _0x33b3ee=_0x5e5e22;return this[_0x33b3ee(0x3af)][_0x33b3ee(0x467)](_0x2d8e7b,this['unitID'],this[_0x33b3ee(0x320)],this[_0x33b3ee(0x342)],this[_0x33b3ee(0x1fc)],this[_0x33b3ee(0x42a)],_0x1fa469);}};_0x272441=_0x28d1a4([_0x26ba80(0x7,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x271)])),_0x26ba80(0x8,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2b4fec['RevisionService'])),_0x26ba80(0x9,_0x1f27ed[_0x5e5e22(0x304)]),_0x26ba80(0xa,_0x1f27ed[_0x5e5e22(0x2ac)]),_0x26ba80(0xb,_0x1f27ed['IUndoRedoService']),_0x26ba80(0xc,_0x2b4fec['ITransformService']),_0x26ba80(0xd,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x33d8de))],_0x272441);function _0x4de551(_0x2a299d,_0xe373ec,_0x167462,_0x5a1697,_0x3659c0,_0x440b85){const _0x520879=_0x5e5e22;return _0x5a1697&&_0x3659c0[_0x520879(0x242)]?_0x2a299d['createInstance'](_0x2aa7cb,_0xe373ec,_0x167462,_0x5a1697,_0x3659c0,_0x440b85,void 0x0):_0x5a1697?_0x2a299d[_0x520879(0x467)](_0x41bca9,_0xe373ec,_0x167462,_0x5a1697,_0x440b85):_0x3659c0[_0x520879(0x242)]?_0x2a299d['createInstance'](_0x552ece,_0xe373ec,_0x167462,_0x3659c0,_0x440b85):_0x2a299d[_0x520879(0x467)](_0x165a95,_0xe373ec,_0x167462,_0x440b85);}let _0xe7bc8f=class extends _0x1f27ed[_0x5e5e22(0x38a)]{get[_0x5e5e22(0x2c7)](){const _0x37c9e=_0x5e5e22;return this[_0x37c9e(0x415)];}constructor(_0x46f544,_0x212e7a,_0x152a54,_0x7989cd,_0x463d59,_0x4fcadb,_0x287188,_0x5902d4,_0x332a92,_0x41e891,_0x49b95d,_0x3679e2,_0x13716c,_0x22dc7e){const _0x143a1f=_0x5e5e22;super(),this[_0x143a1f(0x3bc)]=_0x46f544,this[_0x143a1f(0x484)]=_0x212e7a,this[_0x143a1f(0x262)]=_0x152a54,this[_0x143a1f(0x3af)]=_0x7989cd,this[_0x143a1f(0x263)]=_0x463d59,this[_0x143a1f(0x2b5)]=_0x4fcadb,this['_revisionService']=_0x287188,this[_0x143a1f(0x31c)]=_0x5902d4,this[_0x143a1f(0x45b)]=_0x332a92,this[_0x143a1f(0x2de)]=_0x41e891,this[_0x143a1f(0x21d)]=_0x49b95d,this['_permissionService']=_0x3679e2,this['_singleActiveUnitService']=_0x13716c,this[_0x143a1f(0x321)]=_0x22dc7e,_0x5886a9(this,_0x143a1f(0x4da),new _0xd93cf[(_0x143a1f(0x48d))](null)),_0x5886a9(this,_0x143a1f(0x340),this['_state$']['asObservable']()),_0x5886a9(this,_0x143a1f(0x415),void 0x0),_0x5886a9(this,_0x143a1f(0x319),!0x1),_0x5886a9(this,_0x143a1f(0x1fe),''),_0x5886a9(this,_0x143a1f(0x260),0x0),_0x5886a9(this,'status$',this[_0x143a1f(0x340)][_0x143a1f(0x3e2)]((0x0,_0xd93cf[_0x143a1f(0x349)])(_0x5c4cf8=>_0x5c4cf8?_0x5c4cf8['status']:'offline'),(0x0,_0xd93cf[_0x143a1f(0x360)])(0x1))),_0x5886a9(this,_0x143a1f(0x28c),!0x1),_0x5886a9(this,_0x143a1f(0x31f),[]);}async[_0x5e5e22(0x247)](){const _0xd9d6f8=_0x5e5e22;if(this[_0xd9d6f8(0x2c7)])throw Error(_0xd9d6f8(0x3f9));await this[_0xd9d6f8(0x4d2)]();}[_0x5e5e22(0x2f2)](){const _0x412666=_0x5e5e22;return this[_0x412666(0x319)]=!0x0,(0x0,_0x1f27ed['toDisposable'])(()=>{const _0x5e4029=_0x412666;this[_0x5e4029(0x319)]=!0x1,this[_0x5e4029(0x4fe)]();});}[_0x5e5e22(0x269)](_0x40ecd5){const _0x1dd826=_0x5e5e22;this[_0x1dd826(0x4c9)](_0x40ecd5);}[_0x5e5e22(0x46f)](_0x5cb4d1){const _0x52bf3a=_0x5e5e22;this[_0x52bf3a(0x415)]=_0x5cb4d1,this[_0x52bf3a(0x4da)][_0x52bf3a(0x446)](_0x5cb4d1);}async[_0x5e5e22(0x4d2)](){const _0x12a13b=_0x5e5e22;if(this[_0x12a13b(0x46f)](await this[_0x12a13b(0x2f0)]()),this['_singleActiveUnitService']){var _0xc1cb6a;(_0xc1cb6a=this['_singleActiveUnitService'])==null||_0xc1cb6a[_0x12a13b(0x3ea)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0x12a13b(0x38b)](this[_0x12a13b(0x3bc)])[_0x12a13b(0x3c1)](_0x11e76d=>{const _0x16d6d0=_0x12a13b;this[_0x16d6d0(0x2de)][_0x16d6d0(0x2fc)](_0x16d6d0(0x493),_0x16d6d0(0x466),_0x11e76d),_0x11e76d===0x1?(this['_eventService'][_0x16d6d0(0x2a0)]({'id':'OTHER_CLIENT_EDITING'}),this[_0x16d6d0(0x28b)][_0x16d6d0(0x379)](new _0x47a016[(_0x16d6d0(0x406))](this[_0x16d6d0(0x3bc)])['id'],!0x1),this[_0x16d6d0(0x28b)]['setShowComponents'](!0x1)):(this[_0x16d6d0(0x28b)][_0x16d6d0(0x379)](new _0x47a016['WorkbookEditablePermission'](this[_0x16d6d0(0x3bc)])['id'],!0x0),this[_0x16d6d0(0x28b)]['setShowComponents'](!0x0));}));}let _0x45cdc7=!0x1;return this['disposeWithMe'](this[_0x12a13b(0x484)][_0x12a13b(0x297)][_0x12a13b(0x3c1)](_0x537ff1=>{const _0x3a542=_0x12a13b;_0x537ff1===0x3?this['_toggleOnline'](_0x45cdc7):_0x537ff1===0x2&&(_0x45cdc7=!0x0,this[_0x3a542(0x43b)]());})),this[_0x12a13b(0x3f6)](this[_0x12a13b(0x484)][_0x12a13b(0x302)][_0x12a13b(0x3c1)](_0xeb05c9=>{const _0x276532=_0x12a13b;try{switch(_0xeb05c9[_0x276532(0x46c)]){case _0x2b4fec[_0x276532(0x3e6)][_0x276532(0x35e)]:this['_onRemoteChangeset']((0x0,_0x2b4fec['parseProtocolChangeset'])(_0xeb05c9[_0x276532(0x4c1)]));break;case _0x2b4fec[_0x276532(0x3e6)][_0x276532(0x37c)]:this[_0x276532(0x2db)](_0xeb05c9[_0x276532(0x4c1)]);break;case _0x2b4fec[_0x276532(0x3e6)]['CHANGESET_REJ']:this[_0x276532(0x2da)]();break;case _0x2b4fec[_0x276532(0x3e6)][_0x276532(0x353)]:this['_onRemoteRetry'](_0xeb05c9[_0x276532(0x4c1)]);break;case _0x2b4fec[_0x276532(0x3e6)]['PSEUDO_FETCH_MISSING_RESULT']:this[_0x276532(0x2f9)](_0xeb05c9[_0x276532(0x4c1)]['changesets'][_0x276532(0x349)](_0x583381=>(0x0,_0x2b4fec[_0x276532(0x439)])(_0x583381)));break;case _0x2b4fec[_0x276532(0x3e6)][_0x276532(0x504)]:this[_0x276532(0x2da)]({'isPermissionRej':!0x0});break;case _0x2b4fec[_0x276532(0x3e6)][_0x276532(0x217)]:break;}}catch(_0x1c4ada){throw console[_0x276532(0x4bf)](_0x276532(0x2a1),_0x1c4ada),_0x1c4ada;}})),this[_0x12a13b(0x415)];}[_0x5e5e22(0x3e8)](){const _0x410fb0=_0x5e5e22;this[_0x410fb0(0x28c)]=!0x1;}[_0x5e5e22(0x32f)](){const _0x317eb1=_0x5e5e22;if(this['_transitionLocked'])throw Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x317eb1(0x28c)]=!0x0;}[_0x5e5e22(0x4c9)](_0x2178cb){const _0x4c571c=_0x5e5e22;this['_lockTransition'](),this[_0x4c571c(0x46f)](this[_0x4c571c(0x415)][_0x4c571c(0x4f3)](_0x2178cb)),this[_0x4c571c(0x3e8)]();}['_onRemoteChangeset'](_0x57fe69){const _0x4ce80a=_0x5e5e22;if(!(_0x57fe69['revision']<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4ce80a(0x3bc)]))){if(this[_0x4ce80a(0x319)]){this[_0x4ce80a(0x31f)][_0x4ce80a(0x2e4)](_0x57fe69);return;}this['_applyRemoteChangeset'](_0x57fe69);}}[_0x5e5e22(0x4fe)](){const _0x5759a5=_0x5e5e22;this[_0x5759a5(0x31f)][_0x5759a5(0x3ad)](_0x58d854=>this[_0x5759a5(0x270)](_0x58d854)),this['_remoteChangesetQueue']=[];}[_0x5e5e22(0x270)](_0x492ca4){const _0x2790d4=_0x5e5e22;let _0x5ade3f=this[_0x2790d4(0x263)][_0x2790d4(0x30b)]['fetchThroughInterceptors'](this[_0x2790d4(0x263)][_0x2790d4(0x30b)][_0x2790d4(0x4d8)]()[_0x2790d4(0x2a6)])(_0x492ca4[_0x2790d4(0x3d6)],null)||_0x492ca4['mutations'],_0x3320d1={..._0x492ca4,'mutations':_0x5ade3f};this['_lockTransition'](),this[_0x2790d4(0x46f)](this[_0x2790d4(0x415)][_0x2790d4(0x4f4)](_0x3320d1)),this[_0x2790d4(0x3e8)]();}['_onRemoteACK'](_0x4664f7){const _0x2572f0=_0x5e5e22;this['_lockTransition'](),this[_0x2572f0(0x46f)](this[_0x2572f0(0x415)][_0x2572f0(0x37b)](_0x4664f7)),this[_0x2572f0(0x3e8)]();}[_0x5e5e22(0x2da)](_0x9af049){const _0x313039=_0x5e5e22;this[_0x313039(0x32f)](),this[_0x313039(0x46f)](this[_0x313039(0x415)][_0x313039(0x31a)](_0x9af049)),this[_0x313039(0x3e8)]();}[_0x5e5e22(0x44b)](_0x1938c2){const _0x3cc3cf=_0x5e5e22;this[_0x3cc3cf(0x32f)](),this[_0x3cc3cf(0x46f)](this[_0x3cc3cf(0x415)][_0x3cc3cf(0x4e3)](_0x1938c2)),this[_0x3cc3cf(0x3e8)]();}[_0x5e5e22(0x2f9)](_0x514cb9){const _0x41e0d3=_0x5e5e22;if(!(this[_0x41e0d3(0x415)]instanceof _0x272441))throw TypeError(_0x41e0d3(0x333));let _0xc60808=_0x514cb9['map'](_0x49ccd5=>{const _0x217e85=_0x41e0d3;let _0x169146=this[_0x217e85(0x263)]['interceptor'][_0x217e85(0x2cf)](this['_compressMutationService'][_0x217e85(0x30b)][_0x217e85(0x4d8)]()['COMPRESS_MUTATION_APPLY'])(_0x49ccd5[_0x217e85(0x3d6)],null)||_0x49ccd5[_0x217e85(0x3d6)];return{..._0x49ccd5,'mutations':_0x169146};});this[_0x41e0d3(0x32f)](),this[_0x41e0d3(0x46f)](this[_0x41e0d3(0x415)]['onMissedChangesetFetched'](_0xc60808)),this['_unlockTransition']();}[_0x5e5e22(0x43b)](){const _0x518a88=_0x5e5e22;this[_0x518a88(0x32f)](),this['_updateState'](this[_0x518a88(0x415)][_0x518a88(0x3b0)]()),this[_0x518a88(0x3e8)]();}['_toggleOnline'](_0xcb535b=!0x1){const _0x3128ae=_0x5e5e22;this['_lockTransition'](),this[_0x3128ae(0x46f)](this['_state'][_0x3128ae(0x3f4)]()),this[_0x3128ae(0x3e8)]();let _0x400a6a=this[_0x3128ae(0x415)];_0xcb535b&&_0x400a6a instanceof _0x165a95&&(this['_lockTransition'](),this['_updateState'](_0x400a6a[_0x3128ae(0x252)]()),this['_unlockTransition']());}async[_0x5e5e22(0x2f0)](){return new Promise(_0x5c1686=>{const _0x2ed0e2=_0x20b8;this[_0x2ed0e2(0x484)][_0x2ed0e2(0x297)][_0x2ed0e2(0x3e2)]((0x0,_0xd93cf['take'])(0x1))[_0x2ed0e2(0x3c1)](async _0x515fc6=>{_0x5c1686(await this['_createInitialStateImpl'](_0x515fc6===0x3));});});}[_0x5e5e22(0x437)](){const _0x308f47=_0x5e5e22;let _0x460c89=this[_0x308f47(0x3bc)];return{'onStateChange':(_0x1bdaec,_0x6f6d39)=>{const _0x825adf=_0x308f47;if(_0x1bdaec!==this['_state'])throw Error(_0x825adf(0x23a)+_0x1bdaec[_0x825adf(0x47f)]+_0x825adf(0x210)+_0x6f6d39[_0x825adf(0x47f)]+_0x825adf(0x296)+this['_state']['status']);this[_0x825adf(0x46f)](_0x6f6d39);},'onSendChangeset':_0x550a82=>{const _0x19d0cb=_0x308f47;_0x550a82[_0x19d0cb(0x420)]||(_0x550a82[_0x19d0cb(0x420)]=this[_0x19d0cb(0x1fe)],_0x550a82['reqId']=++this[_0x19d0cb(0x260)]);let _0x2cca15={'eventID':_0x2b4fec['CollaborationEvent'][_0x19d0cb(0x394)],'data':{'unitID':_0x550a82[_0x19d0cb(0x3bc)],'unitType':this['_type'],'changeset':_0x550a82,'memberID':this[_0x19d0cb(0x484)][_0x19d0cb(0x273)]()}};this['session']['send'](_0x2cca15,this[_0x19d0cb(0x3bc)]);},'onMissingChangesets':({from:_0x52e1c8,to:_0x5d6f4f})=>{const _0x137e19=_0x308f47;this[_0x137e19(0x2de)][_0x137e19(0x2fc)](_0x137e19(0x493),_0x137e19(0x48b)+_0x52e1c8+_0x137e19(0x3ef)+_0x5d6f4f);let _0x3df7cf={'eventID':_0x2b4fec['CollaborationEvent'][_0x137e19(0x496)],'data':{'unitID':_0x460c89,'unitType':this[_0x137e19(0x262)],'from':_0x52e1c8,'to':_0x5d6f4f}};this[_0x137e19(0x484)][_0x137e19(0x50d)](_0x3df7cf,this[_0x137e19(0x3bc)]);}};}async[_0x5e5e22(0x227)](_0x31de02){const _0x2d6009=_0x5e5e22;var _0x5e76fe,_0x1816b2,_0x208cf0;let _0x5a28ed=await((_0x5e76fe=this[_0x2d6009(0x321)])==null?void 0x0:_0x5e76fe['loadOfflineData'](this[_0x2d6009(0x3bc)])),_0xac5db4=(_0x1816b2=_0x5a28ed==null?void 0x0:_0x5a28ed[_0x2d6009(0x3d6)])==null?[]:_0x1816b2,_0x19c03d=(_0x208cf0=_0x5a28ed==null?void 0x0:_0x5a28ed[_0x2d6009(0x3d3)])==null?null:_0x208cf0,_0x2d96a1=!!(_0x19c03d!=null&&_0x19c03d['sid'])&&!!(_0x19c03d!=null&&_0x19c03d[_0x2d6009(0x50a)]);this[_0x2d6009(0x1fe)]=_0x2d96a1?_0x19c03d['sid']:(0x0,_0x2b4fec[_0x2d6009(0x433)])(),this[_0x2d6009(0x260)]=_0x2d96a1?_0x19c03d[_0x2d6009(0x50a)]:0x0;let _0x5831ff=this[_0x2d6009(0x3bc)];try{this[_0x2d6009(0x1f9)](_0x19c03d,_0xac5db4);}catch(_0x559c34){this['_logService'][_0x2d6009(0x4bf)](_0x559c34);}let _0xb4ac73=this['_createHandler']();if(_0x31de02){let _0x2f139f=_0x4de551(this[_0x2d6009(0x3af)],_0x5831ff,this[_0x2d6009(0x262)],_0x19c03d,_0xac5db4,_0xb4ac73);return _0x2f139f instanceof _0x552ece?_0x2f139f[_0x2d6009(0x28a)]():(_0x2f139f instanceof _0x2aa7cb||_0x2f139f instanceof _0x41bca9)&&_0x2f139f['resend'](),_0x2f139f;}return this[_0x2d6009(0x3af)][_0x2d6009(0x467)](_0x73123,_0x5831ff,this[_0x2d6009(0x262)],_0x19c03d,_0xac5db4,_0xb4ac73);}[_0x5e5e22(0x1f9)](_0xe8613,_0xbcb89d){const _0x31982f=_0x5e5e22;var _0x22cc7b,_0x33c753;let _0x1d52fc=this[_0x31982f(0x263)][_0x31982f(0x30b)][_0x31982f(0x2cf)](this['_compressMutationService'][_0x31982f(0x30b)][_0x31982f(0x4d8)]()[_0x31982f(0x2a6)]);(_0x22cc7b=_0x1d52fc((_0xe8613==null?void 0x0:_0xe8613[_0x31982f(0x3d6)])||[],null))==null||_0x22cc7b[_0x31982f(0x3ad)](_0x30bda6=>this['_commandService'][_0x31982f(0x397)](_0x30bda6['id'],_0x30bda6[_0x31982f(0x2ed)])),(_0x33c753=_0x1d52fc(_0xbcb89d||[],null))==null||_0x33c753[_0x31982f(0x3ad)](_0x440cf3=>this[_0x31982f(0x21d)]['executeCommand'](_0x440cf3['id'],_0x440cf3[_0x31982f(0x2ed)]));}};_0xe7bc8f=_0x28d1a4([_0x26ba80(0x3,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x271)])),_0x26ba80(0x4,(0x0,_0x1f27ed['Inject'])(_0x2b4fec[_0x5e5e22(0x314)])),_0x26ba80(0x5,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x2bc)])),_0x26ba80(0x6,(0x0,_0x1f27ed['Inject'])(_0x2b4fec[_0x5e5e22(0x414)])),_0x26ba80(0x7,(0x0,_0x1f27ed['Inject'])(_0x2af8d7)),_0x26ba80(0x8,_0x1f27ed[_0x5e5e22(0x50c)]),_0x26ba80(0x9,_0x1f27ed[_0x5e5e22(0x304)]),_0x26ba80(0xa,_0x1f27ed[_0x5e5e22(0x2ac)]),_0x26ba80(0xb,_0x1f27ed[_0x5e5e22(0x46d)]),_0x26ba80(0xc,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0xf1640f)),_0x26ba80(0xd,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x33d8de))],_0xe7bc8f);let _0x6949ae=class extends _0xe7bc8f{constructor(_0x518281,_0x16700a,_0x449ee3,_0x200597,_0x495b75,_0x2b4b2a,_0x1aa232,_0x3da9e3,_0x1fbe7e,_0x3c466f,_0x35f30a,_0x2848dc,_0x306106,_0x30c362){const _0x2daf1b=_0x5e5e22;super(_0x518281,_0x449ee3,_0x16700a,_0x200597,_0x495b75,_0x2b4b2a,_0x1aa232,_0x3da9e3,_0x1fbe7e,_0x3c466f,_0x35f30a,_0x2848dc,_0x306106,_0x30c362),this[_0x2daf1b(0x3bc)]=_0x518281,this[_0x2daf1b(0x320)]=_0x16700a,_0x5886a9(this,'_handlerCallback',null);}[_0x5e5e22(0x512)](_0x45a9ae){const _0x3ae752=_0x5e5e22;this[_0x3ae752(0x4de)]=_0x45a9ae;}[_0x5e5e22(0x345)](){const _0x4bfa47=_0x5e5e22;this[_0x4bfa47(0x4de)]=null,super[_0x4bfa47(0x345)]();}['_createHandler'](){const _0x4039ad=_0x5e5e22;let _0x250011=super[_0x4039ad(0x437)]();return _0x250011[_0x4039ad(0x281)]=_0x1c511c=>{const _0x42ebc2=_0x4039ad;var _0xbd65e9,_0x57b849;return(_0xbd65e9=this[_0x42ebc2(0x4de)])==null||(_0x57b849=_0xbd65e9[_0x42ebc2(0x281)])==null?void 0x0:_0x57b849['call'](_0xbd65e9,_0x1c511c);},_0x250011['onTransformState']=_0x2fb867=>{const _0x1ee544=_0x4039ad;var _0x106a4d,_0x5633a4;return(_0x106a4d=this[_0x1ee544(0x4de)])==null||(_0x5633a4=_0x106a4d['onTransformState'])==null?void 0x0:_0x5633a4['call'](_0x106a4d,_0x2fb867);},_0x250011['onTransformSelections']=_0xec46d4=>{const _0x3e5822=_0x4039ad;var _0x118af4,_0x37e644;return(_0x118af4=this[_0x3e5822(0x4de)])==null||(_0x37e644=_0x118af4['onTransformSelections'])==null?void 0x0:_0x37e644[_0x3e5822(0x514)](_0x118af4,_0xec46d4);},_0x250011[_0x4039ad(0x348)]=_0x251aa3=>{const _0x4cbf92=_0x4039ad;var _0x2b0d7d,_0x5c4e9c;return(_0x2b0d7d=this[_0x4cbf92(0x4de)])==null||(_0x5c4e9c=_0x2b0d7d[_0x4cbf92(0x348)])==null?void 0x0:_0x5c4e9c[_0x4cbf92(0x514)](_0x2b0d7d,_0x251aa3);},_0x250011[_0x4039ad(0x43a)]=_0x297b9d=>{const _0x4319ed=_0x4039ad;var _0x395079,_0x1bd325,_0x7965a6;if(!((_0x395079=this[_0x4319ed(0x4de)])!=null&&_0x395079[_0x4319ed(0x43a)]))throw Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1bd325=this[_0x4319ed(0x4de)])==null||(_0x7965a6=_0x1bd325[_0x4319ed(0x43a)])==null?void 0x0:_0x7965a6['call'](_0x1bd325,_0x297b9d);},_0x250011['onTransformRemoteChangesetByStateCache']=_0x3ad315=>{const _0x4d4ef0=_0x4039ad;var _0x1faf32,_0x50a324,_0x26d6a5;if(!((_0x1faf32=this[_0x4d4ef0(0x4de)])!=null&&_0x1faf32[_0x4d4ef0(0x1f4)]))throw Error(_0x4d4ef0(0x50b));return(_0x50a324=this[_0x4d4ef0(0x4de)])==null||(_0x26d6a5=_0x50a324[_0x4d4ef0(0x1f4)])==null?void 0x0:_0x26d6a5['call'](_0x50a324,_0x3ad315);},_0x250011;}async[_0x5e5e22(0x4d2)](){const _0x44a6c7=_0x5e5e22;let _0x16adf9=await super[_0x44a6c7(0x4d2)]();return this[_0x44a6c7(0x3f6)](this[_0x44a6c7(0x21d)]['onMutationExecutedForCollab']((_0x5e010b,_0x4a68be)=>{const _0x3b13e3=_0x44a6c7;if(_0x5e010b[_0x3b13e3(0x320)]!==_0x1f27ed[_0x3b13e3(0x35d)][_0x3b13e3(0x25d)]||_0x4a68be!=null&&_0x4a68be[_0x3b13e3(0x395)]||_0x4a68be!=null&&_0x4a68be[_0x3b13e3(0x311)]||_0x5e010b['id']===_0x3b0f13['RichTextEditingMutation']['id'])return;let _0x11102a=_0x5e010b['params'];if((_0x11102a==null?void 0x0:_0x11102a[_0x3b13e3(0x48f)])!==this['unitID'])return;let _0x3df307=_0x5e010b,_0x4070d4=this[_0x3b13e3(0x263)][_0x3b13e3(0x30b)][_0x3b13e3(0x2cf)](this[_0x3b13e3(0x263)][_0x3b13e3(0x30b)][_0x3b13e3(0x4d8)]()[_0x3b13e3(0x489)])([_0x3df307],this[_0x3b13e3(0x45b)])||[_0x3df307];this['_onLocalMutation'](_0x4070d4[0x0]);})),_0x16adf9;}};_0x6949ae=_0x28d1a4([_0x26ba80(0x3,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed['Injector'])),_0x26ba80(0x4,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2b4fec[_0x5e5e22(0x314)])),_0x26ba80(0x5,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x2bc)])),_0x26ba80(0x6,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2b4fec[_0x5e5e22(0x414)])),_0x26ba80(0x7,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2af8d7)),_0x26ba80(0x8,_0x1f27ed[_0x5e5e22(0x50c)]),_0x26ba80(0x9,_0x1f27ed[_0x5e5e22(0x304)]),_0x26ba80(0xa,_0x1f27ed[_0x5e5e22(0x2ac)]),_0x26ba80(0xb,_0x1f27ed['IPermissionService']),_0x26ba80(0xc,(0x0,_0x1f27ed['Optional'])(_0xf1640f)),_0x26ba80(0xd,(0x0,_0x1f27ed['Optional'])(_0x33d8de))],_0x6949ae);let _0x30b4f8=class extends _0xe7bc8f{constructor(_0x58a3db,_0x37ede6,_0x3ca146,_0xf41710,_0x278c93,_0x554b2e,_0x49d890,_0x5d6bd8,_0x1a281d,_0x28f508,_0x420fec,_0x55bc63,_0x37f375,_0x1f7fb8,_0x305d52){const _0x47bcce=_0x5e5e22;super(_0x58a3db,_0x3ca146,_0x37ede6,_0xf41710,_0x278c93,_0x554b2e,_0x49d890,_0x1a281d,_0x28f508,_0x420fec,_0x55bc63,_0x37f375,_0x1f7fb8,_0x305d52),this[_0x47bcce(0x3bc)]=_0x58a3db,this[_0x47bcce(0x320)]=_0x37ede6,this[_0x47bcce(0x4c3)]=_0x5d6bd8;}[_0x5e5e22(0x437)](){const _0x554f88=_0x5e5e22;let _0x211973=super['_createHandler']();return _0x211973[_0x554f88(0x36e)]=_0x29ffdc=>this[_0x554f88(0x4c3)]['transformSelections'](_0x29ffdc),_0x211973;}async[_0x5e5e22(0x4d2)](){const _0x5bde42=_0x5e5e22;let _0xa4ec1c=await super[_0x5bde42(0x4d2)]();return this[_0x5bde42(0x3f6)](this[_0x5bde42(0x21d)]['onMutationExecutedForCollab']((_0x4d8538,_0x34751f)=>{const _0x157d3f=_0x5bde42;if(_0x4d8538[_0x157d3f(0x320)]!==_0x1f27ed['CommandType']['MUTATION']||_0x34751f!=null&&_0x34751f['fromCollab']||_0x34751f!=null&&_0x34751f['onlyLocal'])return;let _0x3a168e=_0x4d8538[_0x157d3f(0x2ed)];if((_0x3a168e==null?void 0x0:_0x3a168e[_0x157d3f(0x48f)])!==this[_0x157d3f(0x3bc)])return;let _0x5e8682=_0x4d8538,_0x4edabc=this[_0x157d3f(0x263)][_0x157d3f(0x30b)]['fetchThroughInterceptors'](this[_0x157d3f(0x263)][_0x157d3f(0x30b)][_0x157d3f(0x4d8)]()['COMPRESS_MUTATION_SEND'])([_0x5e8682],this['_univerInstanceService'])||[_0x5e8682];this['_onLocalMutation'](_0x4edabc[0x0]);})),_0xa4ec1c;}};_0x30b4f8=_0x28d1a4([_0x26ba80(0x3,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x271)])),_0x26ba80(0x4,(0x0,_0x1f27ed['Inject'])(_0x2b4fec[_0x5e5e22(0x314)])),_0x26ba80(0x5,(0x0,_0x1f27ed['Inject'])(_0x1f27ed[_0x5e5e22(0x2bc)])),_0x26ba80(0x6,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2b4fec[_0x5e5e22(0x414)])),_0x26ba80(0x7,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x3ede5e)),_0x26ba80(0x8,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2af8d7)),_0x26ba80(0x9,_0x1f27ed[_0x5e5e22(0x50c)]),_0x26ba80(0xa,_0x1f27ed[_0x5e5e22(0x304)]),_0x26ba80(0xb,_0x1f27ed[_0x5e5e22(0x2ac)]),_0x26ba80(0xc,_0x1f27ed[_0x5e5e22(0x46d)]),_0x26ba80(0xd,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0xf1640f)),_0x26ba80(0xe,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x33d8de))],_0x30b4f8);let _0x3aac02=(0x0,_0x1f27ed[_0x5e5e22(0x448)])('univer-pro.collaboration-client.network-condition.service');function _0xc94ca9(_0x30d63e){const _0x5817cc=_0x5e5e22;let _0x41f590=_0x30d63e[_0x5817cc(0x4c1)],_0x50f122=JSON['parse'](_0x41f590);switch(_0x50f122[_0x5817cc(0x34a)]){case _0x26034e[_0x5817cc(0x4ae)][_0x5817cc(0x351)]:case _0x26034e[_0x5817cc(0x4ae)]['HELLO']:{let _0x586c42=_0x50f122[_0x5817cc(0x483)];return{..._0x50f122,'data':_0x586c42,'cmd':_0x50f122[_0x5817cc(0x34a)]};}case _0x26034e[_0x5817cc(0x4ae)][_0x5817cc(0x505)]:{let _0x440737=_0x50f122[_0x5817cc(0x25b)];return{..._0x50f122,'data':_0x440737,'cmd':_0x50f122[_0x5817cc(0x34a)]};}case _0x26034e['CombCmd']['RECV']:{let _0x5a71c3=_0x50f122[_0x5817cc(0x396)];switch(_0x5a71c3[_0x5817cc(0x46c)]){case _0x2b4fec[_0x5817cc(0x3e6)][_0x5817cc(0x504)]:var _0x19c3c9;return{..._0x50f122,'data':{..._0x5a71c3,'data':(_0x19c3c9=_0x5a71c3[_0x5817cc(0x1fa)])==null?void 0x0:_0x19c3c9['cs']},'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec[_0x5817cc(0x3e6)][_0x5817cc(0x37c)]:var _0x86917a;return{..._0x50f122,'data':{..._0x5a71c3,'data':(_0x86917a=_0x5a71c3[_0x5817cc(0x26a)])==null?void 0x0:_0x86917a['cs']},'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec[_0x5817cc(0x3e6)]['NEW_CHANGESETS']:var _0x10767b;return{..._0x50f122,'data':{..._0x5a71c3,'data':(_0x10767b=_0x5a71c3[_0x5817cc(0x324)])==null?void 0x0:_0x10767b['cs']},'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec['CollaborationEvent'][_0x5817cc(0x377)]:var _0x20025b;return{..._0x50f122,'data':{..._0x5a71c3,'data':(_0x20025b=_0x5a71c3[_0x5817cc(0x206)])==null?void 0x0:_0x20025b['cs']},'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec['CollaborationEvent'][_0x5817cc(0x353)]:var _0x1fc8af;return{..._0x50f122,'data':{..._0x5a71c3,'data':(_0x1fc8af=_0x5a71c3[_0x5817cc(0x438)])==null?void 0x0:_0x1fc8af['cs']},'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec[_0x5817cc(0x3e6)][_0x5817cc(0x464)]:return{..._0x50f122,'data':{..._0x5a71c3,'data':_0x5a71c3[_0x5817cc(0x501)]},'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec['CollaborationEvent']['USERS_ENTER']:return{..._0x50f122,'data':{..._0x5a71c3,'data':_0x5a71c3[_0x5817cc(0x309)]},'cmd':_0x50f122['cmd']};case _0x2b4fec[_0x5817cc(0x3e6)][_0x5817cc(0x3fd)]:return{..._0x50f122,'data':{..._0x5a71c3,'data':_0x5a71c3[_0x5817cc(0x235)]},'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec['CollaborationEvent'][_0x5817cc(0x447)]:return{..._0x50f122,'data':{..._0x5a71c3,'data':_0x5a71c3[_0x5817cc(0x2af)]},'cmd':_0x50f122['cmd']};case _0x2b4fec[_0x5817cc(0x3e6)]['LIVESHARE_FETCH_OPERATIONS']:case _0x2b4fec[_0x5817cc(0x3e6)][_0x5817cc(0x37d)]:return{..._0x50f122,'data':{..._0x5a71c3,'data':_0x5a71c3[_0x5817cc(0x424)]},'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec[_0x5817cc(0x3e6)][_0x5817cc(0x486)]:return{..._0x50f122,'data':{..._0x5a71c3,'data':_0x5a71c3['liveShareNewHost']},'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec['CollaborationEvent'][_0x5817cc(0x4f7)]:return{..._0x50f122,'data':_0x5a71c3,'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec[_0x5817cc(0x3e6)][_0x5817cc(0x354)]:return{..._0x50f122,'data':{..._0x5a71c3,'data':_0x5a71c3[_0x5817cc(0x399)]},'cmd':_0x50f122['cmd']};case _0x2b4fec['CollaborationEvent'][_0x5817cc(0x249)]:return{..._0x50f122,'data':{..._0x5a71c3,'data':_0x5a71c3[_0x5817cc(0x202)]},'cmd':_0x50f122[_0x5817cc(0x34a)]};case _0x2b4fec[_0x5817cc(0x3e6)][_0x5817cc(0x4c5)]:return{..._0x50f122,'data':{..._0x5a71c3,'data':_0x5a71c3[_0x5817cc(0x258)]},'cmd':_0x50f122['cmd']};case _0x2b4fec['CollaborationEvent'][_0x5817cc(0x217)]:return{..._0x50f122,'data':{..._0x5a71c3,'data':_0x5a71c3[_0x5817cc(0x3c7)]},'cmd':_0x50f122[_0x5817cc(0x34a)]};default:return _0x50f122;}}default:return _0x50f122;}}function _0x4e9c33(_0x125b52){const _0x8c4251=_0x5e5e22;switch(_0x125b52[_0x8c4251(0x34a)]){case _0x26034e[_0x8c4251(0x4ae)][_0x8c4251(0x351)]:case _0x26034e['CombCmd'][_0x8c4251(0x1fb)]:return JSON[_0x8c4251(0x298)]({'cmd':_0x125b52[_0x8c4251(0x34a)],'routeKey':_0x125b52[_0x8c4251(0x251)]});case _0x26034e[_0x8c4251(0x4ae)]['INGEST']:{let _0x10e0a7;switch(_0x125b52[_0x8c4251(0x4c1)][_0x8c4251(0x46c)]){case _0x2b4fec['CollaborationEvent'][_0x8c4251(0x464)]:_0x10e0a7={'eventID':_0x2b4fec['CollaborationEvent'][_0x8c4251(0x464)],'updateCursorEvent':_0x125b52[_0x8c4251(0x4c1)][_0x8c4251(0x4c1)]};break;case _0x2b4fec[_0x8c4251(0x3e6)][_0x8c4251(0x3fd)]:_0x10e0a7={'eventID':_0x2b4fec[_0x8c4251(0x3e6)][_0x8c4251(0x3fd)],'leaveEvent':_0x125b52[_0x8c4251(0x4c1)][_0x8c4251(0x4c1)]};break;case _0x2b4fec['CollaborationEvent'][_0x8c4251(0x286)]:_0x10e0a7={'eventID':_0x2b4fec['CollaborationEvent'][_0x8c4251(0x286)],'joinEvent':_0x125b52[_0x8c4251(0x4c1)][_0x8c4251(0x4c1)]};break;case _0x2b4fec[_0x8c4251(0x3e6)][_0x8c4251(0x447)]:_0x10e0a7={'eventID':_0x2b4fec['CollaborationEvent'][_0x8c4251(0x447)],'liveShareNewHost':_0x125b52[_0x8c4251(0x4c1)]['data']};break;case _0x2b4fec[_0x8c4251(0x3e6)][_0x8c4251(0x37d)]:_0x10e0a7={'eventID':_0x2b4fec[_0x8c4251(0x3e6)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x125b52[_0x8c4251(0x4c1)][_0x8c4251(0x4c1)]};break;case _0x2b4fec['CollaborationEvent'][_0x8c4251(0x486)]:_0x10e0a7={'eventID':_0x2b4fec['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x125b52[_0x8c4251(0x4c1)][_0x8c4251(0x4c1)]};break;case _0x2b4fec['CollaborationEvent'][_0x8c4251(0x436)]:_0x10e0a7={'eventID':_0x2b4fec['CollaborationEvent'][_0x8c4251(0x436)],'liveShareRequestHost':_0x125b52[_0x8c4251(0x4c1)][_0x8c4251(0x4c1)]};break;case _0x2b4fec['CollaborationEvent'][_0x8c4251(0x38d)]:_0x10e0a7={'eventID':_0x2b4fec[_0x8c4251(0x3e6)][_0x8c4251(0x38d)]};break;default:_0x10e0a7={'eventID':_0x125b52['data'][_0x8c4251(0x46c)]};}return JSON['stringify']({'cmd':_0x125b52[_0x8c4251(0x34a)],'routeKey':_0x125b52[_0x8c4251(0x251)],'collaMsg':_0x10e0a7});}case _0x26034e['CombCmd']['JOIN']:return JSON['stringify']({'cmd':_0x125b52['cmd'],'routeKey':_0x125b52[_0x8c4251(0x251)],'joinReq':_0x125b52[_0x8c4251(0x4c1)]});case _0x26034e[_0x8c4251(0x4ae)][_0x8c4251(0x36c)]:return JSON[_0x8c4251(0x298)]({'cmd':_0x125b52[_0x8c4251(0x34a)],'routeKey':_0x125b52[_0x8c4251(0x251)],'leaveReq':_0x125b52[_0x8c4251(0x4c1)]});default:throw Error(_0x8c4251(0x36b));}}let _0xb9cf3b=(0x0,_0x1f27ed[_0x5e5e22(0x448)])(_0x5e5e22(0x224));function _0x95807c(_0x368469,_0x2dd766,_0x48eae9){return _0x368469+'/'+_0x2dd766+'/unit/'+_0x48eae9+'/new_changes';}let _0x274b64=class extends _0x1f27ed['Disposable']{constructor(_0x50fe13,_0x593cd7,_0x2ff4c6,_0x1e7e39,_0x864dfb){const _0x458943=_0x5e5e22;super(),this[_0x458943(0x3af)]=_0x50fe13,this[_0x458943(0x283)]=_0x593cd7,this['_configService']=_0x2ff4c6,this['_logService']=_0x1e7e39,this[_0x458943(0x2d2)]=_0x864dfb;}[_0x5e5e22(0x2f6)](_0x571eb7){const _0x2b0cbf=_0x5e5e22;let _0x15c50c=this[_0x2b0cbf(0x3af)][_0x2b0cbf(0x31e)](_0x2514fd['ISocketService']);if(!_0x15c50c)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');let _0x1d0062=_0x15c50c[_0x2b0cbf(0x3f1)](_0x571eb7);if(!_0x1d0062)throw Error(_0x2b0cbf(0x47d));let _0x37a68c=new _0x1f27ed['DisposableCollection'](),_0x4a9365=new _0xd93cf['Subject']();_0x37a68c['add'](_0x1d0062[_0x2b0cbf(0x430)][_0x2b0cbf(0x3c1)](_0x2816ab=>_0x4a9365['next'](_0x2816ab))),_0x37a68c[_0x2b0cbf(0x3d0)]((0x0,_0x1f27ed[_0x2b0cbf(0x2fe)])(()=>_0x4a9365[_0x2b0cbf(0x328)]()));let _0x557106=new _0xd93cf['Subject']();_0x37a68c[_0x2b0cbf(0x3d0)](_0x1d0062[_0x2b0cbf(0x28d)]['subscribe'](_0x1a1798=>_0x557106[_0x2b0cbf(0x446)](_0x1a1798))),_0x37a68c[_0x2b0cbf(0x3d0)]((0x0,_0x1f27ed[_0x2b0cbf(0x2fe)])(()=>_0x557106[_0x2b0cbf(0x328)]()));let _0x2382b2=new _0xd93cf['Subject']();_0x37a68c[_0x2b0cbf(0x3d0)](_0x1d0062['message$']['subscribe'](_0x17aacb=>{let _0x4757ad=_0xc94ca9(_0x17aacb);_0x2382b2['next'](_0x4757ad);})),_0x37a68c[_0x2b0cbf(0x3d0)]((0x0,_0x1f27ed[_0x2b0cbf(0x2fe)])(()=>_0x2382b2[_0x2b0cbf(0x328)]()));let _0x2e38a7,_0x27659e=()=>{const _0x6e81=_0x2b0cbf;_0x557106[_0x6e81(0x446)](new Event(_0x6e81(0x3ac))),_0x4a9365['next'](new Event(_0x6e81(0x3ac))),_0x2e38a7['close']();};return _0x2e38a7={'memberID':'','close$':_0x4a9365[_0x2b0cbf(0x471)](),'error$':_0x557106[_0x2b0cbf(0x471)](),'open$':_0x1d0062[_0x2b0cbf(0x3db)],'message$':_0x2382b2[_0x2b0cbf(0x471)](),'send':_0xab1870=>{const _0x56a56c=_0x2b0cbf;if(_0xab1870[_0x56a56c(0x34a)]===_0x26034e[_0x56a56c(0x4ae)]['INGEST']){if(_0xab1870[_0x56a56c(0x4c1)][_0x56a56c(0x46c)]===_0x2b4fec['CollaborationEvent'][_0x56a56c(0x394)]){this[_0x56a56c(0x230)](_0x2e38a7,_0xab1870[_0x56a56c(0x4c1)])[_0x56a56c(0x410)](_0x2ce1eb=>{const _0x536ced=_0x56a56c;this[_0x536ced(0x2de)][_0x536ced(0x4bf)](_0x2ce1eb),_0x27659e();});return;}if(_0xab1870['data']['eventID']===_0x2b4fec['CollaborationEvent'][_0x56a56c(0x496)]){let _0x4cdd4b=_0xab1870[_0x56a56c(0x4c1)];this[_0x56a56c(0x4b8)](_0x4cdd4b)[_0x56a56c(0x38c)](_0x5a4547=>{const _0x2891b8=_0x56a56c;_0x2382b2[_0x2891b8(0x446)]({'cmd':_0x26034e[_0x2891b8(0x4ae)]['RECV'],'code':_0x26034e[_0x2891b8(0x48a)]['OK'],'routeKey':_0x4cdd4b[_0x2891b8(0x4c1)]['unitID'],'routeType':'','data':{'eventID':_0x2b4fec['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5a4547}}});})[_0x56a56c(0x410)](_0x119789=>{const _0x5c76cd=_0x56a56c;this[_0x5c76cd(0x2de)][_0x5c76cd(0x4bf)](_0x119789),_0x27659e();});return;}}_0x1d0062[_0x56a56c(0x50d)](_0x4e9c33(_0xab1870));},'close':()=>{const _0x10afcd=_0x2b0cbf;_0x1d0062[_0x10afcd(0x4d3)](),_0x37a68c[_0x10afcd(0x345)]();}},_0x2e38a7;}async[_0x5e5e22(0x230)](_0x60d1c3,_0x49ab07){const _0x3bd551=_0x5e5e22;var _0x3ac24e;let {unitType:_0x1b2098,unitID:_0x50f7,changeset:_0x28e4e9}=_0x49ab07['data'],_0x27b181={'unitID':_0x50f7,'memberID':_0x60d1c3['memberID'],'type':_0x1b2098,'changeset':(0x0,_0x2b4fec[_0x3bd551(0x515)])(_0x28e4e9)},_0x43b622=this[_0x3bd551(0x494)][_0x3bd551(0x45c)](_0x5df009),_0x5bbb41=_0x95807c((_0x3ac24e=_0x43b622==null?void 0x0:_0x43b622[_0x3bd551(0x232)])==null?_0x3bd551(0x4c4):_0x3ac24e,_0x1b2098,_0x50f7);try{await this['_httpService'][_0x3bd551(0x44d)](_0x5bbb41,{'body':_0x27b181});}catch(_0x2e482e){throw this[_0x3bd551(0x2de)]['error'](_0x3bd551(0x452),_0x3bd551(0x3f3)),_0x2e482e;}}async[_0x5e5e22(0x4b8)](_0x1b5b9d){const _0x4b7c43=_0x5e5e22;let {unitID:_0x39c742,from:_0x2df859,to:_0x232a91,unitType:_0x317a31}=_0x1b5b9d[_0x4b7c43(0x4c1)];return(await this[_0x4b7c43(0x2d2)][_0x4b7c43(0x3b9)]({'metadata':void 0x0},{'unitID':_0x39c742,'type':_0x317a31,'from':_0x2df859,'to':_0x232a91}))[_0x4b7c43(0x203)][_0x4b7c43(0x349)](_0x5312f1=>((_0x5312f1[_0x4b7c43(0x3d6)]===null||_0x5312f1[_0x4b7c43(0x3d6)]===void 0x0)&&(_0x5312f1[_0x4b7c43(0x3d6)]=[]),_0x5312f1));}};_0x274b64=_0x28d1a4([_0x26ba80(0x0,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed['Injector'])),_0x26ba80(0x1,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2514fd[_0x5e5e22(0x2e2)])),_0x26ba80(0x2,_0x1f27ed[_0x5e5e22(0x506)]),_0x26ba80(0x3,_0x1f27ed[_0x5e5e22(0x304)]),_0x26ba80(0x4,_0x2b4fec[_0x5e5e22(0x20d)])],_0x274b64);let _0x3b7eb8=class extends _0x1f27ed[_0x5e5e22(0x421)]{get[_0x5e5e22(0x3e1)](){return this['_socket$']['getValue']();}constructor(_0xe0ca36,_0x11d8ce,_0x5df35e,_0x2a9efa,_0xfc47bb,_0x411e2e){const _0x291d38=_0x5e5e22;super(),this[_0x291d38(0x3af)]=_0xe0ca36,this[_0x291d38(0x2de)]=_0x11d8ce,this[_0x291d38(0x494)]=_0x5df35e,this[_0x291d38(0x23d)]=_0x2a9efa,this[_0x291d38(0x205)]=_0xfc47bb,this['_networkConditionService']=_0x411e2e,_0x5886a9(this,_0x291d38(0x3ed),new _0xd93cf[(_0x291d38(0x48d))](void 0x0)),_0x5886a9(this,_0x291d38(0x405),this['_socket$'][_0x291d38(0x471)]()),_0x5886a9(this,_0x291d38(0x2d7),null),_0x5886a9(this,_0x291d38(0x35b),new Map()),_0x5886a9(this,_0x291d38(0x42d),new _0xd93cf[(_0x291d38(0x48d))](0x0)),_0x5886a9(this,'status$',this[_0x291d38(0x42d)][_0x291d38(0x471)]()),_0x5886a9(this,_0x291d38(0x33f),!0x1),_0x5886a9(this,_0x291d38(0x4fa),void 0x0),_0x5886a9(this,_0x291d38(0x347),0x0),_0x5886a9(this,'_sendHeartbeatTimer',void 0x0),_0x5886a9(this,_0x291d38(0x220),void 0x0),this['_listenToNetworkCondition']();}[_0x5e5e22(0x36a)](){const _0x248d17=_0x5e5e22;this['_networkConditionService']&&this[_0x248d17(0x3f6)](this[_0x248d17(0x200)][_0x248d17(0x229)][_0x248d17(0x3c1)](_0x273c05=>{const _0x144ac9=_0x248d17;_0x273c05&&!this[_0x144ac9(0x3e1)]&&this['reconnect'](),_0x273c05||this[_0x144ac9(0x4a1)]();}));}[_0x5e5e22(0x345)](){const _0x285827=_0x5e5e22;super[_0x285827(0x345)](),this[_0x285827(0x361)](),this['_clearTimeoutTimer'](),this[_0x285827(0x27f)](),this[_0x285827(0x35b)][_0x285827(0x3ad)](_0x3e8b50=>_0x3e8b50['dispose']()),this[_0x285827(0x35b)][_0x285827(0x24d)](),this[_0x285827(0x42d)][_0x285827(0x328)]();}async['requireSession'](_0x15ea25){const _0x394be1=_0x5e5e22;if(this['_sessions'][_0x394be1(0x4e1)](_0x15ea25))return this[_0x394be1(0x35b)][_0x394be1(0x31e)](_0x15ea25);this[_0x394be1(0x3a6)]();let _0x5489c2=this[_0x394be1(0x3af)][_0x394be1(0x467)](_0x56a6c2,_0x15ea25,this['_socket$']['asObservable']());return this[_0x394be1(0x35b)][_0x394be1(0x4ce)](_0x15ea25,_0x5489c2),_0x5489c2;}[_0x5e5e22(0x2d6)](_0x172889){const _0x31925e=_0x5e5e22;let _0x288fb3=this[_0x31925e(0x35b)]['get'](_0x172889);if(_0x288fb3&&(this[_0x31925e(0x35b)][_0x31925e(0x440)](_0x172889),_0x288fb3['close']()),!this['_sessions'][_0x31925e(0x274)]){var _0x326be6;(_0x326be6=this[_0x31925e(0x3e1)])==null||_0x326be6[_0x31925e(0x4d3)]();}}['reconnect'](){const _0xd459d0=_0x5e5e22;this[_0xd459d0(0x347)]=0x0,this[_0xd459d0(0x361)](),this[_0xd459d0(0x401)]();}[_0x5e5e22(0x361)](){const _0x34d37d=_0x5e5e22;this[_0x34d37d(0x4fa)]!=null&&(clearTimeout(this[_0x34d37d(0x4fa)]),this[_0x34d37d(0x4fa)]=null);}async[_0x5e5e22(0x4c8)](){const _0x131647=_0x5e5e22;var _0x4c4f7b;let _0x386e02=this[_0x131647(0x494)][_0x131647(0x45c)](_0x5df009),_0x4af040=(_0x4c4f7b=_0x386e02==null?void 0x0:_0x386e02[_0x131647(0x358)])==null?_0x505fc1:_0x4c4f7b,_0x3716b1=await this[_0x131647(0x23d)]['createSocket'](_0x4af040);return this[_0x131647(0x2d7)]=_0x3716b1,_0x3716b1;}async[_0x5e5e22(0x3a6)](){const _0x190799=_0x5e5e22;try{var _0x524f2b,_0x236e3b;let _0x250881=(_0x524f2b=(_0x236e3b=this[_0x190799(0x3e1)])==null?this[_0x190799(0x2d7)]:_0x236e3b)==null?await this[_0x190799(0x4c8)]():_0x524f2b;if(_0x250881){let _0x1b99f4=_0x250881[_0x190799(0x50d)];_0x250881[_0x190799(0x50d)]=_0x5c1b84=>(_0x5c1b84[_0x190799(0x34a)]!==_0x26034e[_0x190799(0x4ae)][_0x190799(0x36c)]&&this[_0x190799(0x3fa)](),_0x1b99f4[_0x190799(0x34b)](_0x250881,[_0x5c1b84])),_0x250881[_0x190799(0x3d5)]['subscribe'](_0x2b917b=>this[_0x190799(0x2d9)](_0x250881,_0x2b917b)),_0x250881['error$'][_0x190799(0x3e2)]((0x0,_0x4f33c6[_0x190799(0x26b)])(0x1))[_0x190799(0x3c1)](_0x485a72=>this['_logService'][_0x190799(0x4bf)](_0x190799(0x4d9),_0x485a72)),_0x250881[_0x190799(0x3db)][_0x190799(0x3e2)]((0x0,_0x4f33c6[_0x190799(0x26b)])(0x1))[_0x190799(0x3c1)](()=>{const _0xaa1516=_0x190799;this[_0xaa1516(0x3bb)](_0x250881);}),_0x250881['close$'][_0x190799(0x3e2)]((0x0,_0x4f33c6[_0x190799(0x26b)])(0x1))[_0x190799(0x3c1)](_0x234ee4=>{const _0x460e02=_0x190799;this['_logService'][_0x460e02(0x2fc)](_0x460e02(0x329),_0x460e02(0x49c),_0x234ee4),this[_0x460e02(0x253)]();});}}catch(_0x24d1ad){this['_logService']['error'](_0x24d1ad),this[_0x190799(0x253)]();}}[_0x5e5e22(0x3bb)](_0x2a9c65){const _0x17d1f1=_0x5e5e22;this['_logService'][_0x17d1f1(0x2fc)](_0x17d1f1(0x329),_0x17d1f1(0x507)),_0x2a9c65[_0x17d1f1(0x50d)]({'cmd':_0x26034e['CombCmd'][_0x17d1f1(0x1fb)]}),this[_0x17d1f1(0x3fa)]();}[_0x5e5e22(0x4a1)](){const _0x2f6d55=_0x5e5e22;this['_socketReady']=!0x1,this[_0x2f6d55(0x2d7)]=null,this['_status$']['next'](0x2),this[_0x2f6d55(0x3ed)][_0x2f6d55(0x446)](null),this[_0x2f6d55(0x374)](),this[_0x2f6d55(0x27f)]();}[_0x5e5e22(0x253)](){const _0x3507be=_0x5e5e22;var _0x27827b;this[_0x3507be(0x4a1)](),this['_retryCount']<((_0x27827b=this[_0x3507be(0x494)][_0x3507be(0x45c)](_0x3507be(0x4e0)))==null?0x3:_0x27827b)?(this[_0x3507be(0x205)]['emitEvent']({'id':_0x3507be(0x3ee)}),this[_0x3507be(0x401)]()):this[_0x3507be(0x205)]['emitEvent']({'id':_0x3507be(0x482)});}['_tryReconnect'](){const _0xb59a11=_0x5e5e22;var _0x2485b3;let _0xd96bb9=this[_0xb59a11(0x347)],_0x136ae2=this['_configService']['getConfig'](_0x5df009),_0x4ee322=_0xd96bb9===0x0?0x0:((_0x2485b3=_0x136ae2==null?void 0x0:_0x136ae2[_0xb59a11(0x3d1)])==null?0x4e20:_0x2485b3)*0x2**_0xd96bb9;this['_retryConnectingTimer']=setTimeout(()=>{const _0x3afc27=_0xb59a11;clearTimeout(this['_retryConnectingTimer']),this[_0x3afc27(0x4fa)]=null,this[_0x3afc27(0x3a6)]();},_0x4ee322),this['_retryCount']+=0x1;}[_0x5e5e22(0x2d9)](_0x15d7a8,_0x703343){const _0x2ba1e8=_0x5e5e22;let {cmd:_0x40dfc2}=_0x703343;_0x40dfc2===_0x26034e[_0x2ba1e8(0x4ae)][_0x2ba1e8(0x1fb)]&&!this['_socketReady']&&(_0x15d7a8[_0x2ba1e8(0x43c)]=_0x703343[_0x2ba1e8(0x4c1)]['memberID'],this[_0x2ba1e8(0x3ed)][_0x2ba1e8(0x446)](_0x15d7a8),this['_status$'][_0x2ba1e8(0x446)](0x3),this[_0x2ba1e8(0x33f)]=!0x0,this[_0x2ba1e8(0x2d7)]=null),_0x40dfc2===_0x26034e[_0x2ba1e8(0x4ae)][_0x2ba1e8(0x351)]&&this[_0x2ba1e8(0x374)](),this[_0x2ba1e8(0x3fa)]();}[_0x5e5e22(0x3fa)](){const _0x2a3669=_0x5e5e22;var _0x1505e2;this[_0x2a3669(0x27f)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x1505e2=this[_0x2a3669(0x494)][_0x2a3669(0x45c)]('HEARTBEAT_INTERVAL'))==null?0x7530:_0x1505e2);}[_0x5e5e22(0x4e9)](){const _0x52b010=_0x5e5e22;this['_socket'][_0x52b010(0x50d)]({'cmd':_0x26034e[_0x52b010(0x4ae)][_0x52b010(0x351)]}),this[_0x52b010(0x513)]();}['_waitForHeartbeatResponse'](){const _0x4dd68c=_0x5e5e22;var _0x5dbf49;this[_0x4dd68c(0x220)]=setTimeout(()=>this[_0x4dd68c(0x253)](),(_0x5dbf49=this[_0x4dd68c(0x494)]['getConfig'](_0x4dd68c(0x365)))==null?_0x1589e0:_0x5dbf49);}[_0x5e5e22(0x27f)](){const _0x3bb3bc=_0x5e5e22;this[_0x3bb3bc(0x491)]!=null&&(clearTimeout(this[_0x3bb3bc(0x491)]),this[_0x3bb3bc(0x491)]=null);}[_0x5e5e22(0x374)](){const _0x1713bc=_0x5e5e22;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1713bc(0x220)]),this[_0x1713bc(0x220)]=null);}};_0x3b7eb8=_0x28d1a4([_0x26ba80(0x0,(0x0,_0x1f27ed['Inject'])(_0x1f27ed['Injector'])),_0x26ba80(0x1,_0x1f27ed[_0x5e5e22(0x304)]),_0x26ba80(0x2,_0x1f27ed[_0x5e5e22(0x506)]),_0x26ba80(0x3,_0xb9cf3b),_0x26ba80(0x4,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2af8d7)),_0x26ba80(0x5,(0x0,_0x1f27ed['Optional'])(_0x3aac02))],_0x3b7eb8);let _0x4efdf8=class extends _0x1f27ed[_0x5e5e22(0x38a)]{constructor(_0x48da8a,_0x3f423d,_0x2e91e5,_0x4f8b92){const _0x96a3b=_0x5e5e22;var _0x434111;super(),this[_0x96a3b(0x3af)]=_0x48da8a,this[_0x96a3b(0x2b1)]=_0x3f423d,this[_0x96a3b(0x494)]=_0x2e91e5,this['_univerInstanceService']=_0x4f8b92,_0x5886a9(this,_0x96a3b(0x279),new Map()),_0x5886a9(this,_0x96a3b(0x32a),new _0xd93cf[(_0x96a3b(0x2c2))]()),_0x5886a9(this,'entityInit$',this[_0x96a3b(0x32a)]['asObservable']()),((_0x434111=this[_0x96a3b(0x494)]['getConfig'](_0x96a3b(0x4ad)))==null?void 0x0:_0x434111['enableCollaboration'])!==!0x1&&this[_0x96a3b(0x4d2)]();}['dispose'](){const _0x2ddce9=_0x5e5e22;super[_0x2ddce9(0x345)](),this['_entities'][_0x2ddce9(0x3ad)](_0x3f3d39=>_0x3f3d39['dispose']()),this[_0x2ddce9(0x279)][_0x2ddce9(0x24d)]();}['getCollabEntity'](_0x4183b7){const _0x38cf50=_0x5e5e22;var _0x5ecd19;return(_0x5ecd19=this[_0x38cf50(0x279)][_0x38cf50(0x31e)](_0x4183b7))==null?null:_0x5ecd19;}[_0x5e5e22(0x29e)](_0x33c140){const _0xaa1504=_0x5e5e22;let _0x38b02b=this[_0xaa1504(0x455)](_0x33c140);return _0x38b02b?(0x0,_0xd93cf['of'])(_0x38b02b):this[_0xaa1504(0x32a)]['pipe']((0x0,_0x4f33c6['filter'])(_0x3f8a32=>_0x3f8a32['unitID']===_0x33c140));}[_0x5e5e22(0x239)](_0x4a29b5){const _0x294ac4=_0x5e5e22;return(0x0,_0xd93cf[_0x294ac4(0x37e)])(this[_0x294ac4(0x29e)](_0x4a29b5)[_0x294ac4(0x3e2)]((0x0,_0x4f33c6[_0x294ac4(0x349)])(()=>void 0x0)));}[_0x5e5e22(0x4d2)](){const _0x39029b=_0x5e5e22;this[_0x39029b(0x45b)][_0x39029b(0x3bd)](_0x1f27ed['UniverInstanceType'][_0x39029b(0x25c)])['pipe']((0x0,_0xd93cf[_0x39029b(0x2dd)])(this[_0x39029b(0x207)]),(0x0,_0x4f33c6[_0x39029b(0x387)])(0x10))[_0x39029b(0x3c1)](async _0x42f034=>{const _0x395566=_0x39029b;let _0x5277f7=_0x42f034['unit'][_0x395566(0x4d4)](),_0x42f2f9=await this['_startCollaboration'](_0x5277f7,_0x1f27ed['UniverInstanceType'][_0x395566(0x25c)]);this[_0x395566(0x279)][_0x395566(0x4ce)](_0x5277f7,_0x42f2f9);}),this[_0x39029b(0x45b)][_0x39029b(0x3bd)](_0x1f27ed[_0x39029b(0x41c)][_0x39029b(0x4a5)])[_0x39029b(0x3e2)]((0x0,_0xd93cf[_0x39029b(0x2dd)])(this[_0x39029b(0x207)]),(0x0,_0x4f33c6[_0x39029b(0x387)])(0x10))[_0x39029b(0x3e2)]((0x0,_0x4f33c6[_0x39029b(0x24a)])(_0x3fb865=>!_0x3fb865[_0x39029b(0x32b)][_0x39029b(0x4d4)]()[_0x39029b(0x2e8)]('__')))['subscribe'](async _0x306da0=>{const _0x34f1ac=_0x39029b;let _0x187e01=_0x306da0[_0x34f1ac(0x32b)]['getUnitId'](),_0x59ac5f=await this[_0x34f1ac(0x378)](_0x187e01,_0x1f27ed[_0x34f1ac(0x41c)][_0x34f1ac(0x4a5)]);this[_0x34f1ac(0x279)]['set'](_0x187e01,_0x59ac5f);}),(0x0,_0xd93cf[_0x39029b(0x307)])(this[_0x39029b(0x45b)]['getTypeOfUnitDisposed$'](_0x1f27ed[_0x39029b(0x41c)][_0x39029b(0x25c)]),this[_0x39029b(0x45b)][_0x39029b(0x477)](_0x1f27ed[_0x39029b(0x41c)][_0x39029b(0x4a5)]))[_0x39029b(0x3e2)]((0x0,_0xd93cf[_0x39029b(0x2dd)])(this[_0x39029b(0x207)]))[_0x39029b(0x3c1)](_0x4ca212=>{const _0x8e057f=_0x39029b;let _0x1fe313=_0x4ca212[_0x8e057f(0x4d4)](),_0x5865f0=this[_0x8e057f(0x279)][_0x8e057f(0x31e)](_0x1fe313);_0x5865f0&&(_0x5865f0[_0x8e057f(0x345)](),this[_0x8e057f(0x279)]['delete'](_0x1fe313));});}async[_0x5e5e22(0x378)](_0x1123b3,_0x3b498d){const _0x4d0609=_0x5e5e22;let _0x38abd6=await this[_0x4d0609(0x2b1)]['requireSession'](_0x1123b3),_0x3d890e=this[_0x4d0609(0x3af)]['createInstance'](this[_0x4d0609(0x3a4)](_0x3b498d),_0x1123b3,_0x3b498d,_0x38abd6);return await _0x3d890e[_0x4d0609(0x247)](),this[_0x4d0609(0x32a)][_0x4d0609(0x446)](_0x3d890e),_0x3d890e;}[_0x5e5e22(0x3a4)](_0x4d94f7){const _0x37da4a=_0x5e5e22;switch(_0x4d94f7){case _0x1f27ed[_0x37da4a(0x41c)]['UNIVER_DOC']:return _0x6949ae;case _0x1f27ed[_0x37da4a(0x41c)][_0x37da4a(0x25c)]:return _0x30b4f8;default:throw Error(_0x37da4a(0x2d1)+_0x4d94f7);}}};_0x4efdf8=_0x28d1a4([_0x26ba80(0x0,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x271)])),_0x26ba80(0x1,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x3b7eb8)),_0x26ba80(0x2,_0x1f27ed['IConfigService']),_0x26ba80(0x3,_0x1f27ed['IUniverInstanceService'])],_0x4efdf8);var _0x189f56='@univerjs-pro/collaboration-client',_0x4b9248=_0x5e5e22(0x248);let _0x33fd88=class extends _0x1f27ed['Disposable']{constructor(_0x748e65,_0x123296){const _0x33936d=_0x5e5e22;super(),this[_0x33936d(0x45b)]=_0x748e65,this[_0x33936d(0x494)]=_0x123296,this[_0x33936d(0x4d2)]();}['_init'](){const _0x293148=_0x5e5e22;this[_0x293148(0x3f6)](this['_univerInstanceService'][_0x293148(0x339)]['subscribe'](()=>{const _0x1aef05=_0x293148;var _0x5dd251;let _0x20bf34=this[_0x1aef05(0x45b)][_0x1aef05(0x233)](),_0x2413f4=(_0x5dd251=this[_0x1aef05(0x494)][_0x1aef05(0x45c)](_0x1aef05(0x3b4)))==null?_0x1aef05(0x49d):_0x5dd251;_0x20bf34 instanceof _0x1f27ed[_0x1aef05(0x21e)]&&(_0x2413f4=_0x20bf34[_0x1aef05(0x39c)]),document[_0x1aef05(0x390)]=_0x2413f4;}));}};_0x33fd88=_0x28d1a4([_0x26ba80(0x0,_0x1f27ed[_0x5e5e22(0x50c)]),_0x26ba80(0x1,_0x1f27ed['IConfigService'])],_0x33fd88);let _0x3e8a84=class{constructor(_0x328bac,_0x5aaf1b,_0x4a8682){const _0x22a500=_0x5e5e22;this[_0x22a500(0x494)]=_0x328bac,this[_0x22a500(0x283)]=_0x5aaf1b,this[_0x22a500(0x40e)]=_0x4a8682,this[_0x22a500(0x247)]();}[_0x5e5e22(0x247)](){const _0x569475=_0x5e5e22;this['_httpService'][_0x569475(0x454)]({'priority':0x1,'interceptor':(_0x644e42,_0x2dcf75)=>_0x2dcf75(_0x644e42)[_0x569475(0x3e2)]((0x0,_0xd93cf[_0x569475(0x3f7)])(async _0x4c9809=>{const _0x451875=_0x569475;let _0x3e305c=_0x4c9809;if(_0x3e305c[_0x451875(0x47f)]===0x191){if(typeof window>'u')throw Error(_0x451875(0x3cd));if(window[_0x451875(0x275)](this[_0x451875(0x40e)]['t'](_0x451875(0x3ce)))){let _0x56b566=window[_0x451875(0x495)](window['location'][_0x451875(0x3cc)]);window['location'][_0x451875(0x3cc)]=this[_0x451875(0x364)]()+_0x451875(0x4e2)+_0x56b566;}}return _0x3e305c;}))});}[_0x5e5e22(0x364)](){const _0xc00d34=_0x5e5e22;var _0x984ec9;let _0x3424a=this['_configService'][_0xc00d34(0x45c)](_0x5df009);return(_0x984ec9=_0x3424a==null?void 0x0:_0x3424a[_0xc00d34(0x254)])==null?_0xc00d34(0x292):_0x984ec9;}};_0x3e8a84=_0x28d1a4([_0x26ba80(0x0,_0x1f27ed[_0x5e5e22(0x506)]),_0x26ba80(0x1,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2514fd[_0x5e5e22(0x2e2)])),_0x26ba80(0x2,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x2bc)]))],_0x3e8a84);let _0x1ac39c=class extends _0x1f27ed['Disposable']{constructor(_0x34b03d,_0x22c0bb){const _0x34e7a9=_0x5e5e22;super(),this[_0x34e7a9(0x22f)]=_0x34b03d,this[_0x34e7a9(0x494)]=_0x22c0bb,_0x5886a9(this,_0x34e7a9(0x4ca),!0x1),this[_0x34e7a9(0x317)]();}[_0x5e5e22(0x317)](){const _0x26eac5=_0x5e5e22;let _0x114369=this;this[_0x26eac5(0x3f6)](this[_0x26eac5(0x22f)][_0x26eac5(0x454)]({'priority':0x3e7,'interceptor':(0x0,_0x2514fd['MergeInterceptorFactory'])({'isMatch'(_0x240ace){const _0x2f826f=_0x26eac5;var _0x4d6bee;if(_0x240ace[_0x2f826f(0x47b)]===_0x2f826f(0x423)&&(_0x4d6bee=_0x240ace[_0x2f826f(0x26f)])!=null&&_0x4d6bee[_0x2f826f(0x2ba)]){let {objectID:_0x2c0041,objectType:_0x23bfd6}=_0x240ace[_0x2f826f(0x26f)][_0x2f826f(0x2ba)]||{};if(!_0x2c0041||_0x23bfd6===void 0x0)return!0x1;let _0x50d163=_0x114369[_0x2f826f(0x3d9)]()+'/'+_0x23bfd6+'/object/'+_0x2c0041+_0x2f826f(0x2c6);if(_0x240ace[_0x2f826f(0x408)]===_0x50d163)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2bf2aa){const _0x5bb3d4=_0x26eac5;var _0x52dcd5;return(_0x52dcd5=_0x2bf2aa[_0x5bb3d4(0x26f)])==null?void 0x0:_0x52dcd5[_0x5bb3d4(0x2ba)];},'mergeParamsToRequest'(_0x5aa904,_0x4b4873){const _0x1ecc17=_0x26eac5;let _0x5999ed=_0x114369[_0x1ecc17(0x3d9)]()+'/-/object/-/batch_allowed',_0x37a65a=_0x5aa904[_0x1ecc17(0x39b)]((_0x25d527,_0x1836ba)=>{let {unitID:_0x3a1456,objectID:_0x104497,objectType:_0x132d33,actions:_0x4ab7d5}=_0x1836ba;return _0x25d527[_0x3a1456]||(_0x25d527[_0x3a1456]={}),_0x25d527[_0x3a1456][_0x104497]||(_0x25d527[_0x3a1456][_0x104497]={'objectID':_0x104497,'objectType':_0x132d33,'actions':[]}),_0x25d527[_0x3a1456][_0x104497]['actions']['push'](..._0x4ab7d5),_0x25d527;},{}),_0x4b8f08=[];for(let _0x420b34 in _0x37a65a)for(let _0x5af3a7 in _0x37a65a[_0x420b34]){let {actions:_0xf26133,objectType:_0x1e4604}=_0x37a65a[_0x420b34][_0x5af3a7],_0x2a4fa3=[...new Set(_0xf26133)];_0x4b8f08[_0x1ecc17(0x2e4)]({'unitID':_0x420b34,'objectID':_0x5af3a7,'objectType':_0x1e4604,'actions':_0x2a4fa3});}return new _0x2514fd[(_0x1ecc17(0x30f))](_0x1ecc17(0x423),_0x5999ed,{'headers':_0x4b4873[_0x1ecc17(0x474)],'withCredentials':_0x4b4873[_0x1ecc17(0x26e)],'responseType':_0x4b4873[_0x1ecc17(0x24e)],'body':{'requests':_0x4b8f08}});}},{'distributeResult'(_0x5a5b64,_0x3353c4){const _0xc80f07=_0x26eac5;let {objectActions:_0x4c870e}=_0x5a5b64;return _0x3353c4[_0xc80f07(0x349)](_0xc45dbb=>{const _0x669fb2=_0xc80f07;let {unitID:_0x100038,objectID:_0x5a1516,actions:_0x20a996}=_0xc45dbb,_0x4129e5=_0x4c870e[_0x669fb2(0x47a)](_0x1fb896=>_0x1fb896[_0x669fb2(0x3bc)]===_0x100038&&_0x1fb896['objectID']===_0x5a1516);return{'config':_0xc45dbb,'result':{'actions':_0x20a996[_0x669fb2(0x349)](_0x15ced0=>_0x4129e5==null?void 0x0:_0x4129e5['actions'][_0x669fb2(0x47a)](_0x543773=>_0x543773['action']===_0x15ced0))[_0x669fb2(0x24a)](_0x28f555=>!!_0x28f555),'error':_0x5a5b64['error']}};});}})}));}[_0x5e5e22(0x3d9)](){const _0x40b008=_0x5e5e22;var _0xb03268;let _0x424d79=this[_0x40b008(0x494)][_0x40b008(0x45c)](_0x5df009);return(_0xb03268=_0x424d79==null?void 0x0:_0x424d79[_0x40b008(0x3b1)])==null?'/universer-api/authz':_0xb03268;}async[_0x5e5e22(0x39d)](_0x323794){const _0x2b04ea=_0x5e5e22;let _0x4b71e3=this['_getAPIPrefixPath']()+'/'+_0x323794[_0x2b04ea(0x2ce)]+'/object';return(await this[_0x2b04ea(0x22f)][_0x2b04ea(0x44d)](_0x4b71e3,{'body':_0x323794}))[_0x2b04ea(0x2ba)][_0x2b04ea(0x393)]||'';}async[_0x5e5e22(0x511)](_0x3b2556){const _0x5bb70f=_0x5e5e22;let _0x12d49e=this[_0x5bb70f(0x3d9)]()+'/-/object/list';return(await this[_0x5bb70f(0x22f)]['post'](_0x12d49e,{'body':_0x3b2556}))[_0x5bb70f(0x2ba)][_0x5bb70f(0x381)];}async['update'](_0x164b65){const _0x41530e=_0x5e5e22;var _0x59d52e;let _0x281f01=this[_0x41530e(0x3d9)]()+'/'+_0x164b65['objectType']+_0x41530e(0x4a6)+_0x164b65['objectID'],_0x2bd981=await this[_0x41530e(0x22f)]['put'](_0x281f01,{'body':_0x164b65});if((_0x2bd981==null||(_0x59d52e=_0x2bd981['body'])==null||(_0x59d52e=_0x59d52e[_0x41530e(0x4bf)])==null?void 0x0:_0x59d52e[_0x41530e(0x45d)])!==0x1)throw Error(_0x41530e(0x4ee));}async[_0x5e5e22(0x305)](_0x361493){const _0x38664b=_0x5e5e22;let _0x488d19=this[_0x38664b(0x3d9)]()+'/'+_0x361493[_0x38664b(0x2ce)]+_0x38664b(0x4a6)+_0x361493[_0x38664b(0x393)]+_0x38664b(0x2c6);return(await this[_0x38664b(0x22f)][_0x38664b(0x44d)](_0x488d19,{'body':_0x361493}))[_0x38664b(0x2ba)]['actions'];}async[_0x5e5e22(0x40b)](_0x5e9b99){const _0xb0202c=_0x5e5e22;let _0x36aa25=this[_0xb0202c(0x3d9)]()+_0xb0202c(0x295);return(await this['_HTTPService'][_0xb0202c(0x44d)](_0x36aa25,{'body':{'requests':_0x5e9b99}}))[_0xb0202c(0x2ba)][_0xb0202c(0x4b1)];}async[_0x5e5e22(0x219)](_0x22276f){const _0x3c753e=_0x5e5e22;let _0x1b0e93=this['_getAPIPrefixPath']()+'/'+_0x22276f[_0x3c753e(0x2ce)]+_0x3c753e(0x503),_0xa61842=await this[_0x3c753e(0x22f)][_0x3c753e(0x44d)](_0x1b0e93,{'body':_0x22276f});return{'roles':_0xa61842[_0x3c753e(0x2ba)]['roles'],'actions':_0xa61842[_0x3c753e(0x2ba)]['actions']};}async[_0x5e5e22(0x256)](_0x17613f){const _0xde2149=_0x5e5e22;let _0x5d36bc=this[_0xde2149(0x3d9)]()+_0xde2149(0x243);await this[_0xde2149(0x22f)][_0xde2149(0x440)](_0x5d36bc,{'params':{'collaboratorID':_0x17613f[_0xde2149(0x385)],'objectID':_0x17613f[_0xde2149(0x393)],'unitID':_0x17613f['unitID']}});}async[_0x5e5e22(0x3e0)](_0x5eec94){const _0x12205d=_0x5e5e22;let _0x1d33a6=this[_0x12205d(0x3d9)]()+'/collaborator';await this[_0x12205d(0x22f)][_0x12205d(0x212)](_0x1d33a6,{'body':_0x5eec94});}async['createCollaborator'](_0x576d5c){const _0x306c67=_0x5e5e22;let _0x2df1db=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x306c67(0x22f)][_0x306c67(0x44d)](_0x2df1db,{'body':_0x576d5c});}async['listCollaborators'](_0x15f217){const _0x1dfc7c=_0x5e5e22;var _0x953357;let _0x4c42ae=this['_getAPIPrefixPath']()+'/collaborator',_0x3cf4eb=await this[_0x1dfc7c(0x22f)][_0x1dfc7c(0x31e)](_0x4c42ae,{'params':{'objectID':_0x15f217[_0x1dfc7c(0x393)],'unitID':_0x15f217['unitID']}});return this['setCfgEnableObjInherit']((_0x953357=_0x3cf4eb['body'][_0x1dfc7c(0x330)])==null?!0x1:_0x953357),_0x3cf4eb['body'][_0x1dfc7c(0x299)];}async[_0x5e5e22(0x4c6)](_0x4bff62){const _0x2dbe00=_0x5e5e22;let _0x90e357=this[_0x2dbe00(0x3d9)]()+_0x2dbe00(0x243);await this[_0x2dbe00(0x22f)][_0x2dbe00(0x1f6)](_0x90e357,{'body':_0x4bff62});}[_0x5e5e22(0x3d4)](_0x5b6d85){const _0x2aa458=_0x5e5e22;this[_0x2aa458(0x4ca)]=_0x5b6d85;}['getCfgEnableObjInherit'](){const _0x4ad6da=_0x5e5e22;return this[_0x4ad6da(0x4ca)];}};_0x1ac39c=_0x28d1a4([_0x26ba80(0x0,(0x0,_0x1f27ed['Inject'])(_0x2514fd['HTTPService'])),_0x26ba80(0x1,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed['IConfigService']))],_0x1ac39c);function _0x4b8c1e(_0x1acb69){const _0x281f55=_0x5e5e22;return _0x1acb69 instanceof Uint8Array||ArrayBuffer[_0x281f55(0x237)](_0x1acb69)&&_0x1acb69['constructor'][_0x281f55(0x39c)]===_0x281f55(0x4be)&&_0x281f55(0x32e)in _0x1acb69&&_0x1acb69['BYTES_PER_ELEMENT']===0x1;}function _0x4dad3a(_0x5d7322){const _0x1f5dd2=_0x5e5e22;if(typeof _0x5d7322!=_0x1f5dd2(0x4dd))throw TypeError(_0x1f5dd2(0x473)+typeof _0x5d7322);if(!Number[_0x1f5dd2(0x261)](_0x5d7322)||_0x5d7322<0x0)throw RangeError(_0x1f5dd2(0x375)+_0x5d7322);}function _0x139d92(_0x36ccb1,_0xeab8ac,_0x5e1ea4=''){const _0x1b4cb5=_0x5e5e22;let _0xc84b09=_0x4b8c1e(_0x36ccb1),_0x3a8782=_0x36ccb1==null?void 0x0:_0x36ccb1[_0x1b4cb5(0x242)],_0x5430d1=_0xeab8ac!==void 0x0;if(!_0xc84b09||_0x5430d1&&_0x3a8782!==_0xeab8ac){let _0x1d72e3=_0x5e1ea4&&'\x22'+_0x5e1ea4+'\x22\x20',_0x1e1981=_0x5430d1?_0x1b4cb5(0x429)+_0xeab8ac:'',_0x415b88=_0xc84b09?'length='+_0x3a8782:'type='+typeof _0x36ccb1,_0x1dd1eb=_0x1d72e3+_0x1b4cb5(0x24f)+_0x1e1981+',\x20got\x20'+_0x415b88;throw _0xc84b09?RangeError(_0x1dd1eb):TypeError(_0x1dd1eb);}return _0x36ccb1;}function _0x33a411(_0x278dd7){const _0x4e0841=_0x5e5e22;return new Uint32Array(_0x278dd7['buffer'],_0x278dd7['byteOffset'],Math[_0x4e0841(0x2b0)](_0x278dd7[_0x4e0841(0x34d)]/0x4));}function _0x1a116c(..._0x453969){const _0xaddc09=_0x5e5e22;for(let _0x317df1=0x0;_0x317df1<_0x453969[_0xaddc09(0x242)];_0x317df1++)_0x453969[_0x317df1]['fill'](0x0);}let _0x3c590d=new Uint8Array(new Uint32Array([0x11223344])[_0x5e5e22(0x3b6)])[0x0]===0x44,_0x1cb3b0=_0x5daabc=>_0x5daabc<<0x18&0xff000000|_0x5daabc<<0x8&0xff0000|_0x5daabc>>>0x8&0xff00|_0x5daabc>>>0x18&0xff,_0x4431af=_0x3c590d?_0x1f4553=>_0x1f4553:_0x28b450=>{const _0x348f8c=_0x5e5e22;for(let _0xd7d355=0x0;_0xd7d355<_0x28b450[_0x348f8c(0x242)];_0xd7d355++)_0x28b450[_0xd7d355]=_0x1cb3b0(_0x28b450[_0xd7d355]);return _0x28b450;};typeof Uint8Array['from']([])[_0x5e5e22(0x457)]=='function'&&Uint8Array[_0x5e5e22(0x2bf)];function _0x588247(_0x4c4c47){const _0x132594=_0x5e5e22;if(typeof _0x4c4c47!=_0x132594(0x331))throw TypeError(_0x132594(0x310));return new Uint8Array(new TextEncoder()['encode'](_0x4c4c47));}function _0x5514c1(_0x54da97,_0x2afa7b){const _0x1de2a9=_0x5e5e22;return!_0x54da97[_0x1de2a9(0x34d)]||!_0x2afa7b[_0x1de2a9(0x34d)]?!0x1:_0x54da97[_0x1de2a9(0x3b6)]===_0x2afa7b[_0x1de2a9(0x3b6)]&&_0x54da97[_0x1de2a9(0x376)]<_0x2afa7b[_0x1de2a9(0x376)]+_0x2afa7b[_0x1de2a9(0x34d)]&&_0x2afa7b[_0x1de2a9(0x376)]<_0x54da97['byteOffset']+_0x54da97[_0x1de2a9(0x34d)];}function _0x42c1cd(_0x3841c2,_0x55ebf7){const _0x4815e6=_0x5e5e22;if(_0x5514c1(_0x3841c2,_0x55ebf7)&&_0x3841c2[_0x4815e6(0x376)]<_0x55ebf7[_0x4815e6(0x376)])throw Error('complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported');}function _0x4494fc(..._0xe601e2){const _0x1cb054=_0x5e5e22;let _0x32d663=0x0;for(let _0x420e0c=0x0;_0x420e0c<_0xe601e2[_0x1cb054(0x242)];_0x420e0c++){let _0x4a82a0=_0xe601e2[_0x420e0c];_0x139d92(_0x4a82a0),_0x32d663+=_0x4a82a0[_0x1cb054(0x242)];}let _0x263320=new Uint8Array(_0x32d663);for(let _0x2cb474=0x0,_0x53d384=0x0;_0x2cb474<_0xe601e2[_0x1cb054(0x242)];_0x2cb474++){let _0xd71579=_0xe601e2[_0x2cb474];_0x263320[_0x1cb054(0x4ce)](_0xd71579,_0x53d384),_0x53d384+=_0xd71579[_0x1cb054(0x242)];}return _0x263320;}let _0x3cbd57=(_0x4c0e29,_0x15056f)=>{const _0x208ff3=_0x5e5e22;function _0x196936(_0x47a64a,..._0x320c2c){const _0x3b224b=_0x20b8;if(_0x139d92(_0x47a64a,void 0x0,_0x3b224b(0x267)),_0x4c0e29[_0x3b224b(0x4f5)]!==void 0x0){let _0x14f4ab=_0x320c2c[0x0];_0x139d92(_0x14f4ab,_0x4c0e29[_0x3b224b(0x2b3)]?void 0x0:_0x4c0e29[_0x3b224b(0x4f5)],_0x3b224b(0x215));}let _0x1f50e9=_0x4c0e29[_0x3b224b(0x453)];_0x1f50e9&&_0x320c2c[0x1]!==void 0x0&&_0x139d92(_0x320c2c[0x1],void 0x0,_0x3b224b(0x35c));let _0x651ea4=_0x15056f(_0x47a64a,..._0x320c2c),_0x3a7507=(_0x250aad,_0x4327be)=>{const _0x375f92=_0x3b224b;if(_0x4327be!==void 0x0){if(_0x250aad!==0x2)throw Error(_0x375f92(0x386));_0x139d92(_0x4327be,void 0x0,'output');}},_0xe35a03=!0x1;return{'encrypt'(_0x3a3e6d,_0x6059d9){const _0x104007=_0x3b224b;if(_0xe35a03)throw Error(_0x104007(0x294));return _0xe35a03=!0x0,_0x139d92(_0x3a3e6d),_0x3a7507(_0x651ea4[_0x104007(0x490)][_0x104007(0x242)],_0x6059d9),_0x651ea4['encrypt'](_0x3a3e6d,_0x6059d9);},'decrypt'(_0x14f9d9,_0x40f00b){const _0x1edf3c=_0x3b224b;if(_0x139d92(_0x14f9d9),_0x1f50e9&&_0x14f9d9[_0x1edf3c(0x242)]<_0x1f50e9)throw Error(_0x1edf3c(0x481)+_0x1f50e9);return _0x3a7507(_0x651ea4[_0x1edf3c(0x22a)]['length'],_0x40f00b),_0x651ea4[_0x1edf3c(0x22a)](_0x14f9d9,_0x40f00b);}};}return Object[_0x208ff3(0x368)](_0x196936,_0x4c0e29),_0x196936;};function _0x3d6f7b(_0x1d6c89,_0x29d4f2,_0x6b0e6=!0x0){const _0x53985f=_0x5e5e22;if(_0x29d4f2===void 0x0)return new Uint8Array(_0x1d6c89);if(_0x139d92(_0x29d4f2,void 0x0,_0x53985f(0x213)),_0x29d4f2[_0x53985f(0x242)]!==_0x1d6c89)throw Error('\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20'+_0x1d6c89+',\x20got:\x20'+_0x29d4f2['length']);if(_0x6b0e6&&!_0x177996(_0x29d4f2))throw Error(_0x53985f(0x411));return _0x29d4f2;}function _0x177996(_0x4c212f){const _0x7698af=_0x5e5e22;return _0x4c212f[_0x7698af(0x376)]%0x4==0x0;}function _0x5614cb(_0x509046){return Uint8Array['from'](_0x139d92(_0x509046));}function _0x73e9e9(_0x22cee1=0x20){const _0x17bdfd=_0x5e5e22;_0x4dad3a(_0x22cee1);let _0x5476b8=typeof globalThis==_0x17bdfd(0x3c8)?globalThis[_0x17bdfd(0x236)]:null;if(typeof(_0x5476b8==null?void 0x0:_0x5476b8[_0x17bdfd(0x4fc)])!='function')throw Error(_0x17bdfd(0x40f));return _0x5476b8[_0x17bdfd(0x4fc)](new Uint8Array(_0x22cee1));}function _0x241ae9(_0x5b326f){const _0x442f4b=_0x5e5e22;if(![0x10,0x18,0x20]['includes'](_0x5b326f[_0x442f4b(0x242)]))throw Error(_0x442f4b(0x278)+_0x5b326f[_0x442f4b(0x242)]);}function _0x2ccea2(_0x3ce8d2){return _0x3ce8d2<<0x1^0x11b&-(_0x3ce8d2>>0x7);}function _0x594cc2(_0x6c7bc8,_0x441f03){let _0x51ad2d=0x0;for(;_0x441f03>0x0;_0x441f03>>=0x1)_0x51ad2d^=_0x6c7bc8&-(_0x441f03&0x1),_0x6c7bc8=_0x2ccea2(_0x6c7bc8);return _0x51ad2d;}let _0x3e6fd2=((()=>{let _0x501a01=new Uint8Array(0x100);for(let _0x32c9c3=0x0,_0x50b043=0x1;_0x32c9c3<0x100;_0x32c9c3++,_0x50b043^=_0x2ccea2(_0x50b043))_0x501a01[_0x32c9c3]=_0x50b043;let _0x35baf4=new Uint8Array(0x100);_0x35baf4[0x0]=0x63;for(let _0x33ca9b=0x0;_0x33ca9b<0xff;_0x33ca9b++){let _0x3c627f=_0x501a01[0xff-_0x33ca9b];_0x3c627f|=_0x3c627f<<0x8,_0x35baf4[_0x501a01[_0x33ca9b]]=(_0x3c627f^_0x3c627f>>0x4^_0x3c627f>>0x5^_0x3c627f>>0x6^_0x3c627f>>0x7^0x63)&0xff;}return _0x1a116c(_0x501a01),_0x35baf4;})()),_0x49e1ec=_0x3e6fd2['map']((_0xaef7b2,_0x3fd5de)=>_0x3e6fd2[_0x5e5e22(0x404)](_0x3fd5de)),_0x3b5859=_0x4c9dd1=>_0x4c9dd1<<0x18|_0x4c9dd1>>>0x8,_0x527f95=_0x5e643c=>_0x5e643c<<0x8|_0x5e643c>>>0x18;function _0x551947(_0x2383af,_0x53cd43){const _0x2adf38=_0x5e5e22;if(_0x2383af['length']!==0x100)throw Error(_0x2adf38(0x3fb));let _0x5b0b6c=new Uint32Array(0x100)['map']((_0x2e7a24,_0x4389fe)=>_0x53cd43(_0x2383af[_0x4389fe])),_0x3fbe2f=_0x5b0b6c[_0x2adf38(0x349)](_0x527f95),_0x75064c=_0x3fbe2f[_0x2adf38(0x349)](_0x527f95),_0x483dba=_0x75064c[_0x2adf38(0x349)](_0x527f95),_0x19e972=new Uint32Array(0x100*0x100),_0x7b7660=new Uint32Array(0x100*0x100),_0x2ff015=new Uint16Array(0x100*0x100);for(let _0x4642a5=0x0;_0x4642a5<0x100;_0x4642a5++)for(let _0x42409c=0x0;_0x42409c<0x100;_0x42409c++){let _0x39b870=_0x4642a5*0x100+_0x42409c;_0x19e972[_0x39b870]=_0x5b0b6c[_0x4642a5]^_0x3fbe2f[_0x42409c],_0x7b7660[_0x39b870]=_0x75064c[_0x4642a5]^_0x483dba[_0x42409c],_0x2ff015[_0x39b870]=_0x2383af[_0x4642a5]<<0x8|_0x2383af[_0x42409c];}return{'sbox':_0x2383af,'sbox2':_0x2ff015,'T0':_0x5b0b6c,'T1':_0x3fbe2f,'T2':_0x75064c,'T3':_0x483dba,'T01':_0x19e972,'T23':_0x7b7660};}let _0x3351cd=_0x551947(_0x3e6fd2,_0x1a3ade=>_0x594cc2(_0x1a3ade,0x3)<<0x18|_0x1a3ade<<0x10|_0x1a3ade<<0x8|_0x594cc2(_0x1a3ade,0x2)),_0x17eb6b=_0x551947(_0x49e1ec,_0x375494=>_0x594cc2(_0x375494,0xb)<<0x18|_0x594cc2(_0x375494,0xd)<<0x10|_0x594cc2(_0x375494,0x9)<<0x8|_0x594cc2(_0x375494,0xe)),_0x29bbf3=((()=>{let _0x469527=new Uint8Array(0x10);for(let _0x392ad8=0x0,_0x283f6e=0x1;_0x392ad8<0x10;_0x392ad8++,_0x283f6e=_0x2ccea2(_0x283f6e))_0x469527[_0x392ad8]=_0x283f6e;return _0x469527;})());function _0x900c51(_0x259939){const _0x33ebd7=_0x5e5e22;_0x139d92(_0x259939);let _0x5500b8=_0x259939[_0x33ebd7(0x242)];_0x241ae9(_0x259939);let {sbox2:_0x3e2d11}=_0x3351cd,_0x54b6f8=[];(!_0x3c590d||!_0x177996(_0x259939))&&_0x54b6f8[_0x33ebd7(0x2e4)](_0x259939=_0x5614cb(_0x259939));let _0x2dbd97=_0x4431af(_0x33a411(_0x259939)),_0x541dca=_0x2dbd97[_0x33ebd7(0x242)],_0x225b63=_0x4d9cff=>_0x112ffe(_0x3e2d11,_0x4d9cff,_0x4d9cff,_0x4d9cff,_0x4d9cff),_0x3d8278=new Uint32Array(_0x5500b8+0x1c);_0x3d8278[_0x33ebd7(0x4ce)](_0x2dbd97);for(let _0x5302bd=_0x541dca;_0x5302bd<_0x3d8278['length'];_0x5302bd++){let _0x2b2d94=_0x3d8278[_0x5302bd-0x1];_0x5302bd%_0x541dca===0x0?_0x2b2d94=_0x225b63(_0x3b5859(_0x2b2d94))^_0x29bbf3[_0x5302bd/_0x541dca-0x1]:_0x541dca>0x6&&_0x5302bd%_0x541dca===0x4&&(_0x2b2d94=_0x225b63(_0x2b2d94)),_0x3d8278[_0x5302bd]=_0x3d8278[_0x5302bd-_0x541dca]^_0x2b2d94;}return _0x1a116c(..._0x54b6f8),_0x3d8278;}function _0x395c82(_0x586c2e){const _0x4589c2=_0x5e5e22;let _0x286621=_0x900c51(_0x586c2e),_0x645372=_0x286621[_0x4589c2(0x4ef)](),_0x2d4e85=_0x286621['length'],{sbox2:_0x397bf6}=_0x3351cd,{T0:_0x28087f,T1:_0x21cf54,T2:_0x45011b,T3:_0x294871}=_0x17eb6b;for(let _0x354359=0x0;_0x354359<_0x2d4e85;_0x354359+=0x4)for(let _0xbd47b2=0x0;_0xbd47b2<0x4;_0xbd47b2++)_0x645372[_0x354359+_0xbd47b2]=_0x286621[_0x2d4e85-_0x354359-0x4+_0xbd47b2];_0x1a116c(_0x286621);for(let _0x453929=0x4;_0x453929<_0x2d4e85-0x4;_0x453929++){let _0x3054b4=_0x645372[_0x453929],_0x1dcfd5=_0x112ffe(_0x397bf6,_0x3054b4,_0x3054b4,_0x3054b4,_0x3054b4);_0x645372[_0x453929]=_0x28087f[_0x1dcfd5&0xff]^_0x21cf54[_0x1dcfd5>>>0x8&0xff]^_0x45011b[_0x1dcfd5>>>0x10&0xff]^_0x294871[_0x1dcfd5>>>0x18];}return _0x645372;}function _0x21f73e(_0x2d6b8d,_0x1c24c2,_0x63b661,_0x259851,_0x17d8d3,_0x1aeff9){return _0x2d6b8d[_0x63b661<<0x8&0xff00|_0x259851>>>0x8&0xff]^_0x1c24c2[_0x17d8d3>>>0x8&0xff00|_0x1aeff9>>>0x18&0xff];}function _0x112ffe(_0x33d171,_0x40a212,_0x5cd65c,_0x102357,_0x56eed8){return _0x33d171[_0x40a212&0xff|_0x5cd65c&0xff00]|_0x33d171[_0x102357>>>0x10&0xff|_0x56eed8>>>0x10&0xff00]<<0x10;}function _0x585d0a(_0x1e7bb1,_0x515a56,_0x53eb6a,_0x2d95d3,_0x5d1e16){const _0x4e3d82=_0x5e5e22;let {sbox2:_0x3e1c5e,T01:_0x5eb25f,T23:_0x2a3881}=_0x3351cd,_0xb974d6=0x0;_0x515a56^=_0x1e7bb1[_0xb974d6++],_0x53eb6a^=_0x1e7bb1[_0xb974d6++],_0x2d95d3^=_0x1e7bb1[_0xb974d6++],_0x5d1e16^=_0x1e7bb1[_0xb974d6++];let _0x4d1324=_0x1e7bb1[_0x4e3d82(0x242)]/0x4-0x2;for(let _0x39affa=0x0;_0x39affa<_0x4d1324;_0x39affa++){let _0x248fb4=_0x1e7bb1[_0xb974d6++]^_0x21f73e(_0x5eb25f,_0x2a3881,_0x515a56,_0x53eb6a,_0x2d95d3,_0x5d1e16),_0x13fd09=_0x1e7bb1[_0xb974d6++]^_0x21f73e(_0x5eb25f,_0x2a3881,_0x53eb6a,_0x2d95d3,_0x5d1e16,_0x515a56),_0x3d7548=_0x1e7bb1[_0xb974d6++]^_0x21f73e(_0x5eb25f,_0x2a3881,_0x2d95d3,_0x5d1e16,_0x515a56,_0x53eb6a),_0x92f820=_0x1e7bb1[_0xb974d6++]^_0x21f73e(_0x5eb25f,_0x2a3881,_0x5d1e16,_0x515a56,_0x53eb6a,_0x2d95d3);_0x515a56=_0x248fb4,_0x53eb6a=_0x13fd09,_0x2d95d3=_0x3d7548,_0x5d1e16=_0x92f820;}return{'s0':_0x1e7bb1[_0xb974d6++]^_0x112ffe(_0x3e1c5e,_0x515a56,_0x53eb6a,_0x2d95d3,_0x5d1e16),'s1':_0x1e7bb1[_0xb974d6++]^_0x112ffe(_0x3e1c5e,_0x53eb6a,_0x2d95d3,_0x5d1e16,_0x515a56),'s2':_0x1e7bb1[_0xb974d6++]^_0x112ffe(_0x3e1c5e,_0x2d95d3,_0x5d1e16,_0x515a56,_0x53eb6a),'s3':_0x1e7bb1[_0xb974d6++]^_0x112ffe(_0x3e1c5e,_0x5d1e16,_0x515a56,_0x53eb6a,_0x2d95d3)};}function _0x1769b1(_0xbd1177,_0x3a8a2e,_0x15af19,_0x4d6e19,_0x26c208){const _0x4771d6=_0x5e5e22;let {sbox2:_0x2d6037,T01:_0x10fb67,T23:_0x1f95f3}=_0x17eb6b,_0x508a83=0x0;_0x3a8a2e^=_0xbd1177[_0x508a83++],_0x15af19^=_0xbd1177[_0x508a83++],_0x4d6e19^=_0xbd1177[_0x508a83++],_0x26c208^=_0xbd1177[_0x508a83++];let _0x4f4dc4=_0xbd1177[_0x4771d6(0x242)]/0x4-0x2;for(let _0x56fd27=0x0;_0x56fd27<_0x4f4dc4;_0x56fd27++){let _0x1cdd64=_0xbd1177[_0x508a83++]^_0x21f73e(_0x10fb67,_0x1f95f3,_0x3a8a2e,_0x26c208,_0x4d6e19,_0x15af19),_0x1f9bd4=_0xbd1177[_0x508a83++]^_0x21f73e(_0x10fb67,_0x1f95f3,_0x15af19,_0x3a8a2e,_0x26c208,_0x4d6e19),_0x4fae2b=_0xbd1177[_0x508a83++]^_0x21f73e(_0x10fb67,_0x1f95f3,_0x4d6e19,_0x15af19,_0x3a8a2e,_0x26c208),_0x1a2349=_0xbd1177[_0x508a83++]^_0x21f73e(_0x10fb67,_0x1f95f3,_0x26c208,_0x4d6e19,_0x15af19,_0x3a8a2e);_0x3a8a2e=_0x1cdd64,_0x15af19=_0x1f9bd4,_0x4d6e19=_0x4fae2b,_0x26c208=_0x1a2349;}return{'s0':_0xbd1177[_0x508a83++]^_0x112ffe(_0x2d6037,_0x3a8a2e,_0x26c208,_0x4d6e19,_0x15af19),'s1':_0xbd1177[_0x508a83++]^_0x112ffe(_0x2d6037,_0x15af19,_0x3a8a2e,_0x26c208,_0x4d6e19),'s2':_0xbd1177[_0x508a83++]^_0x112ffe(_0x2d6037,_0x4d6e19,_0x15af19,_0x3a8a2e,_0x26c208),'s3':_0xbd1177[_0x508a83++]^_0x112ffe(_0x2d6037,_0x26c208,_0x4d6e19,_0x15af19,_0x3a8a2e)};}function _0x47b031(_0x89237e){const _0x22e625=_0x5e5e22;if(_0x139d92(_0x89237e),_0x89237e[_0x22e625(0x242)]%0x10!=0x0)throw Error(_0x22e625(0x2c1));}function _0x362b1a(_0x1d94f0,_0x81cc8b,_0x1dbfcf){const _0x348e67=_0x5e5e22;_0x139d92(_0x1d94f0);let _0x4505fd=_0x1d94f0[_0x348e67(0x242)],_0xd31505=_0x4505fd%0x10;if(!_0x81cc8b&&_0xd31505!==0x0)throw Error(_0x348e67(0x2e6));if(_0x81cc8b){let _0xf19abc=0x10-_0xd31505;_0xf19abc||(_0xf19abc=0x10),_0x4505fd+=_0xf19abc;}_0x1dbfcf=_0x3d6f7b(_0x4505fd,_0x1dbfcf),_0x42c1cd(_0x1d94f0,_0x1dbfcf),(!_0x3c590d||!_0x177996(_0x1d94f0))&&(_0x1d94f0=_0x5614cb(_0x1d94f0));let _0x68931d=_0x33a411(_0x1d94f0);return _0x4431af(_0x68931d),{'b':_0x68931d,'o':_0x33a411(_0x1dbfcf),'out':_0x1dbfcf};}function _0xba7f96(_0x5e9807,_0x563eb6){const _0x2e03ff=_0x5e5e22;if(!_0x563eb6)return _0x5e9807;let _0xf5e593=_0x5e9807[_0x2e03ff(0x242)];if(_0xf5e593===0x0)throw Error(_0x2e03ff(0x291));let _0x929e78=_0x5e9807[_0xf5e593-0x1],_0x1f9ee3=0x1;_0x1f9ee3&=_0x929e78-0x1>>>0x1f^0x1,_0x1f9ee3&=0x10-_0x929e78>>>0x1f^0x1;for(let _0x50d32d=0x0;_0x50d32d<0x10;_0x50d32d++){let _0x1ef1be=_0x50d32d-_0x929e78>>>0x1f,_0x2ffb01=+((_0x5e9807[_0xf5e593-0x1-_0x50d32d]^_0x929e78)===0x0);_0x1f9ee3&=_0x2ffb01|_0x1ef1be^0x1;}if(!_0x1f9ee3)throw Error(_0x2e03ff(0x355));return _0x5e9807[_0x2e03ff(0x21b)](0x0,_0xf5e593-_0x929e78);}function _0x2521ed(_0x48d796){let _0x1d4b0c=new Uint8Array(0x10),_0x47a13a=_0x33a411(_0x1d4b0c);_0x1d4b0c['set'](_0x48d796);let _0xc478ce=0x10-_0x48d796['length'];for(let _0x3eae7b=0x10-_0xc478ce;_0x3eae7b<0x10;_0x3eae7b++)_0x1d4b0c[_0x3eae7b]=_0xc478ce;return _0x47a13a;}let _0x68299a=_0x3cbd57({'blockSize':0x10,'nonceLength':0x10},function(_0x65d0bc,_0x3370eb,_0x1a2650={}){let _0x52c1a7=!_0x1a2650['disablePadding'];return{'encrypt'(_0x43569e,_0x3fbc91){const _0x4740d9=_0x20b8;let _0x3bebd8=_0x900c51(_0x65d0bc),{b:_0x154723,o:_0x4a55fc,out:_0xa1b0e7}=_0x362b1a(_0x43569e,_0x52c1a7,_0x3fbc91),_0x1e7535=_0x3370eb,_0x47c502=[_0x3bebd8];(!_0x3c590d||!_0x177996(_0x1e7535))&&_0x47c502[_0x4740d9(0x2e4)](_0x1e7535=_0x5614cb(_0x1e7535));let _0x2944bd=_0x33a411(_0x1e7535);_0x4431af(_0x2944bd);let _0x50f0e9=_0x2944bd[0x0],_0x1efed0=_0x2944bd[0x1],_0x579410=_0x2944bd[0x2],_0x1d8c5a=_0x2944bd[0x3],_0x179812=0x0;for(;_0x179812+0x4<=_0x154723[_0x4740d9(0x242)];)_0x50f0e9^=_0x154723[_0x179812+0x0],_0x1efed0^=_0x154723[_0x179812+0x1],_0x579410^=_0x154723[_0x179812+0x2],_0x1d8c5a^=_0x154723[_0x179812+0x3],{s0:_0x50f0e9,s1:_0x1efed0,s2:_0x579410,s3:_0x1d8c5a}=_0x585d0a(_0x3bebd8,_0x50f0e9,_0x1efed0,_0x579410,_0x1d8c5a),_0x4a55fc[_0x179812++]=_0x50f0e9,_0x4a55fc[_0x179812++]=_0x1efed0,_0x4a55fc[_0x179812++]=_0x579410,_0x4a55fc[_0x179812++]=_0x1d8c5a;if(_0x52c1a7){let _0x5d1b0d=_0x2521ed(_0x43569e[_0x4740d9(0x21b)](_0x179812*0x4));_0x4431af(_0x5d1b0d),_0x50f0e9^=_0x5d1b0d[0x0],_0x1efed0^=_0x5d1b0d[0x1],_0x579410^=_0x5d1b0d[0x2],_0x1d8c5a^=_0x5d1b0d[0x3],{s0:_0x50f0e9,s1:_0x1efed0,s2:_0x579410,s3:_0x1d8c5a}=_0x585d0a(_0x3bebd8,_0x50f0e9,_0x1efed0,_0x579410,_0x1d8c5a),_0x4a55fc[_0x179812++]=_0x50f0e9,_0x4a55fc[_0x179812++]=_0x1efed0,_0x4a55fc[_0x179812++]=_0x579410,_0x4a55fc[_0x179812++]=_0x1d8c5a;}return _0x4431af(_0x4a55fc),_0x1a116c(..._0x47c502),_0xa1b0e7;},'decrypt'(_0x4ffbbd,_0x1fc596){const _0x58088e=_0x20b8;_0x47b031(_0x4ffbbd);let _0x1c119b=_0x395c82(_0x65d0bc),_0x10d4ab=_0x3370eb,_0x1de46c=[_0x1c119b];(!_0x3c590d||!_0x177996(_0x10d4ab))&&_0x1de46c[_0x58088e(0x2e4)](_0x10d4ab=_0x5614cb(_0x10d4ab));let _0x25ff6e=_0x33a411(_0x10d4ab);_0x4431af(_0x25ff6e),_0x1fc596=_0x3d6f7b(_0x4ffbbd[_0x58088e(0x242)],_0x1fc596),_0x42c1cd(_0x4ffbbd,_0x1fc596),(!_0x3c590d||!_0x177996(_0x4ffbbd))&&_0x1de46c['push'](_0x4ffbbd=_0x5614cb(_0x4ffbbd));let _0x1b2ad5=_0x33a411(_0x4ffbbd),_0x48ec55=_0x33a411(_0x1fc596);_0x4431af(_0x1b2ad5);let _0x2569fc=_0x25ff6e[0x0],_0x129218=_0x25ff6e[0x1],_0x293f63=_0x25ff6e[0x2],_0x297e50=_0x25ff6e[0x3];for(let _0x40d86a=0x0;_0x40d86a+0x4<=_0x1b2ad5['length'];){let _0x5760ef=_0x2569fc,_0x369b0d=_0x129218,_0x1d469a=_0x293f63,_0x428993=_0x297e50;_0x2569fc=_0x1b2ad5[_0x40d86a+0x0],_0x129218=_0x1b2ad5[_0x40d86a+0x1],_0x293f63=_0x1b2ad5[_0x40d86a+0x2],_0x297e50=_0x1b2ad5[_0x40d86a+0x3];let {s0:_0x1c3b37,s1:_0x52581c,s2:_0x6e1120,s3:_0x576d2f}=_0x1769b1(_0x1c119b,_0x2569fc,_0x129218,_0x293f63,_0x297e50);_0x48ec55[_0x40d86a++]=_0x1c3b37^_0x5760ef,_0x48ec55[_0x40d86a++]=_0x52581c^_0x369b0d,_0x48ec55[_0x40d86a++]=_0x6e1120^_0x1d469a,_0x48ec55[_0x40d86a++]=_0x576d2f^_0x428993;}return _0x4431af(_0x48ec55),_0x1a116c(..._0x1de46c),_0xba7f96(_0x1fc596,_0x52c1a7);}};});function _0xd11113(_0x5aac48){const _0x4065f1=_0x5e5e22;let _0x43d1de=atob(_0x5aac48),_0x29aa78=new Uint8Array(_0x43d1de[_0x4065f1(0x242)]);for(let _0x1a5241=0x0;_0x1a5241<_0x43d1de[_0x4065f1(0x242)];_0x1a5241++)_0x29aa78[_0x1a5241]=_0x43d1de[_0x4065f1(0x25a)](_0x1a5241);return _0x29aa78;}function _0x53cf30(_0x59209c){const _0x51a8b6=_0x5e5e22;let _0x50e89a='';for(let _0x159118=0x0;_0x159118<_0x59209c['length'];_0x159118++)_0x50e89a+=String[_0x51a8b6(0x1f1)](_0x59209c[_0x159118]);return btoa(_0x50e89a);}function _0x56cc80(_0x3d8939,_0x2f37ee){const _0x30b300=_0x5e5e22;let _0x564d73=_0xd11113(_0x2f37ee),_0x406962=_0x73e9e9(0x10);return _0x53cf30(_0x4494fc(_0x406962,_0x68299a(_0x564d73,_0x406962)[_0x30b300(0x490)](_0x588247(_0x3d8939))));}function _0xa257db(){const _0x2a5773=_0x5e5e22;let _0x2fe05e=(0x0,_0x98661d[_0x2a5773(0x201)])()[_0x2a5773(0x28e)];if(typeof window<'u'&&window[_0x2a5773(0x498)]!==void 0x0&&_0x2fe05e){let _0xef52d={'time':Math[_0x2a5773(0x2b0)](Date[_0x2a5773(0x412)]()/0x3e8),'domain':location[_0x2a5773(0x308)]};return _0x56cc80(JSON['stringify'](_0xef52d),_0x2fe05e);}}let _0x2ed573=class{constructor(_0x4d23a1){const _0x115969=_0x5e5e22;this[_0x115969(0x283)]=_0x4d23a1,this[_0x115969(0x4bb)]();}[_0x5e5e22(0x4bb)](){const _0x505c17=_0x5e5e22;this[_0x505c17(0x283)][_0x505c17(0x454)]({'interceptor':(_0x1ebe82,_0x50b5d3)=>{const _0x4a6e8a=_0x505c17;let _0x21be9d=_0xa257db();return _0x21be9d&&_0x1ebe82[_0x4a6e8a(0x474)][_0x4a6e8a(0x4ce)](_0x4a6e8a(0x231),_0x21be9d),_0x50b5d3(_0x1ebe82);}});}};_0x2ed573=_0x28d1a4([_0x26ba80(0x0,(0x0,_0x1f27ed['Inject'])(_0x2514fd[_0x5e5e22(0x2e2)]))],_0x2ed573);let _0x58d6e4=class extends _0x1f27ed[_0x5e5e22(0x38a)]{constructor(_0x603f55,_0x2151d7,_0x55815c){const _0x572e42=_0x5e5e22;super(),this[_0x572e42(0x2de)]=_0x603f55,this[_0x572e42(0x3d8)]=_0x2151d7,this['_localCacheService']=_0x55815c,_0x5886a9(this,_0x572e42(0x20b),new _0xd93cf['BehaviorSubject'](null)),_0x5886a9(this,_0x572e42(0x40c),this[_0x572e42(0x20b)][_0x572e42(0x471)]());}async[_0x5e5e22(0x29b)](_0xc13eb5,_0x4c669b,_0x4526cd){const _0x307151=_0x5e5e22;this[_0x307151(0x20b)][_0x307151(0x446)]({'unitId':_0xc13eb5,'type':_0x4c669b});let _0x3f821d=null;switch(_0x4c669b){case _0x1f27ed[_0x307151(0x41c)][_0x307151(0x25c)]:_0x3f821d=await this[_0x307151(0x3d8)]['loadSheet'](_0xc13eb5,_0x4526cd);break;case _0x1f27ed[_0x307151(0x41c)][_0x307151(0x4a5)]:_0x3f821d=await this['_snapshotService'][_0x307151(0x40a)](_0xc13eb5,_0x4526cd);break;default:this[_0x307151(0x2de)][_0x307151(0x4bf)](_0x307151(0x45e),_0x307151(0x222));break;}return _0x3f821d;}async[_0x5e5e22(0x24c)](_0x851358,_0x290a15,_0x3bb9c5){const _0x2222d4=_0x5e5e22;var _0xbdd310;this['_unitInfo$'][_0x2222d4(0x446)]({'unitId':_0x851358,'type':_0x290a15,'subUnitId':_0x3bb9c5});let _0x5b4ff9=0x0,_0x7ac6e3=await((_0xbdd310=this[_0x2222d4(0x321)])==null?void 0x0:_0xbdd310[_0x2222d4(0x45f)](_0x851358));return _0x7ac6e3&&(_0x7ac6e3[_0x2222d4(0x3d3)]||_0x7ac6e3[_0x2222d4(0x3d6)][_0x2222d4(0x242)]!==0x0)&&(_0x5b4ff9=_0x7ac6e3[_0x2222d4(0x2c3)]),_0x5b4ff9===0x0&&this['_logService']['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2222d4(0x29b)](_0x851358,_0x290a15,_0x5b4ff9);}};_0x58d6e4=_0x28d1a4([_0x26ba80(0x0,_0x1f27ed[_0x5e5e22(0x304)]),_0x26ba80(0x1,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2b4fec['SnapshotService'])),_0x26ba80(0x2,(0x0,_0x1f27ed[_0x5e5e22(0x500)])(_0x33d8de))],_0x58d6e4);let _0x5cb4c5=class{constructor(_0x9a1b51,_0x5b1459,_0x3df14a){const _0x2d5f76=_0x5e5e22;this[_0x2d5f76(0x283)]=_0x9a1b51,this[_0x2d5f76(0x494)]=_0x5b1459,this['_univerInstanceService']=_0x3df14a,_0x5886a9(this,_0x2d5f76(0x27c),0x0),_0x5886a9(this,'_change$',new _0xd93cf[(_0x2d5f76(0x2c2))]()),_0x5886a9(this,_0x2d5f76(0x4a2),this['_change$']),_0x5886a9(this,'_imageSourceCache',new Map());}[_0x5e5e22(0x2d4)](_0x10b51c){const _0x1faf6e=_0x5e5e22;this[_0x1faf6e(0x27c)]=_0x10b51c,this[_0x1faf6e(0x280)][_0x1faf6e(0x446)](_0x10b51c);}[_0x5e5e22(0x34f)](_0x518e9f,_0x5ec0ce){const _0x1f3579=_0x5e5e22;if(_0x5ec0ce===_0x310bbf[_0x1f3579(0x2ff)][_0x1f3579(0x33e)]){let _0x5315c3=new Image();return _0x5315c3[_0x1f3579(0x332)]=_0x518e9f,_0x5315c3;}return this['_imageSourceCache']['get'](_0x518e9f);}[_0x5e5e22(0x3dc)](_0x16b4ab,_0x4abf47,_0x547230){const _0x584d8d=_0x5e5e22;_0x4abf47===_0x310bbf[_0x584d8d(0x2ff)][_0x584d8d(0x33e)]||_0x547230==null||this[_0x584d8d(0x1ff)][_0x584d8d(0x4ce)](_0x16b4ab,_0x547230);}async[_0x5e5e22(0x293)](_0x41e687){const _0x11e24c=_0x5e5e22;try{let _0x109618=this['_replaceFileID'](this[_0x11e24c(0x2ec)](),''+_0x41e687),_0x24a655=(await this['_httpService'][_0x11e24c(0x31e)](_0x109618))[_0x11e24c(0x2ba)];if(_0x24a655['error']&&_0x24a655[_0x11e24c(0x4bf)]['code']===_0x26034e[_0x11e24c(0x23f)]['OK']){let _0xff542c=(0x0,_0x1f27ed[_0x11e24c(0x29a)])(_0x24a655[_0x11e24c(0x408)],this[_0x11e24c(0x4d7)]());return Promise[_0x11e24c(0x4d5)](_0xff542c);}return Promise[_0x11e24c(0x33c)](_0x24a655['error']);}catch(_0x3601aa){return Promise[_0x11e24c(0x33c)](_0x3601aa);}}async['saveImage'](_0x350732){const _0x79bd75=_0x5e5e22;let _0x55773e='';if(!_0x310bbf['DRAWING_IMAGE_ALLOW_IMAGE_LIST'][_0x79bd75(0x470)](_0x350732[_0x79bd75(0x320)]))return this[_0x79bd75(0x431)](),Promise[_0x79bd75(0x33c)](Error(_0x310bbf['ImageUploadStatusType'][_0x79bd75(0x4d6)]));if(_0x350732[_0x79bd75(0x274)]>(0x0,_0x310bbf[_0x79bd75(0x49b)])())return this[_0x79bd75(0x431)](),Promise[_0x79bd75(0x33c)](Error(_0x310bbf[_0x79bd75(0x4ea)][_0x79bd75(0x326)]));try{let _0x489628=new FormData();_0x489628[_0x79bd75(0x44e)](_0x79bd75(0x3e9),_0x350732);let _0x22a027=this[_0x79bd75(0x45b)][_0x79bd75(0x233)](),_0x4d83c4=_0x22a027==null?void 0x0:_0x22a027[_0x79bd75(0x4d4)]();if(!_0x4d83c4)throw Error(_0x79bd75(0x3c0));let _0xb32fcd=this[_0x79bd75(0x4eb)]()+_0x79bd75(0x313)+_0x350732[_0x79bd75(0x274)][_0x79bd75(0x3a7)]()+_0x79bd75(0x4dc)+_0x26034e[_0x79bd75(0x2aa)][_0x79bd75(0x3a9)]+_0x79bd75(0x4ac)+encodeURIComponent(_0x4d83c4),_0x3ea3f4={'body':_0x489628},_0x617de7=(await this[_0x79bd75(0x283)]['post'](_0xb32fcd,_0x3ea3f4))[_0x79bd75(0x2ba)];if(typeof _0x617de7[_0x79bd75(0x3df)]!='string')return this['_decreaseWaiting'](),Promise['reject'](Error(_0x310bbf[_0x79bd75(0x4ea)]['ERROR_IMAGE']));_0x55773e=_0x617de7[_0x79bd75(0x3df)];}catch{return this['_decreaseWaiting'](),Promise[_0x79bd75(0x33c)](Error(_0x310bbf[_0x79bd75(0x4ea)][_0x79bd75(0x221)]));}return new Promise((_0x12a004,_0x35cdb9)=>{const _0x47ca6c=_0x79bd75;let _0x4cb4a2=new FileReader();_0x4cb4a2[_0x47ca6c(0x479)](_0x350732),_0x4cb4a2[_0x47ca6c(0x240)]=_0xe2fff1=>{const _0x55f3a3=_0x47ca6c;var _0x11325c;let _0x20d002=(_0x11325c=_0xe2fff1[_0x55f3a3(0x4cd)])==null?void 0x0:_0x11325c['result'];if(_0x20d002==null){this[_0x55f3a3(0x431)](),_0x35cdb9(Error(_0x310bbf['ImageUploadStatusType'][_0x55f3a3(0x221)]));return;}_0x12a004({'imageId':(0x0,_0x1f27ed[_0x55f3a3(0x510)])(0x6),'imageSourceType':_0x310bbf['ImageSourceType'][_0x55f3a3(0x409)],'source':_0x55773e,'base64Cache':_0x20d002,'status':_0x310bbf[_0x55f3a3(0x4ea)]['SUCCUSS']}),this[_0x55f3a3(0x431)]();};});}['_getUploadFileURL'](){const _0x532e9d=_0x5e5e22;var _0x482ab7;let _0x315d32=this[_0x532e9d(0x494)]['getConfig'](_0x5df009);return(_0x482ab7=_0x315d32==null?void 0x0:_0x315d32[_0x532e9d(0x36f)])==null?_0x532e9d(0x1fd):_0x482ab7;}[_0x5e5e22(0x2ec)](){const _0x1b833d=_0x5e5e22;var _0x1264d9;let _0x42669a=this[_0x1b833d(0x494)][_0x1b833d(0x45c)](_0x5df009);return(_0x1264d9=_0x42669a==null?void 0x0:_0x42669a[_0x1b833d(0x37a)])==null?'/universer-api/file/{fileID}/sign-url':_0x1264d9;}[_0x5e5e22(0x4d7)](){const _0x4ab64b=_0x5e5e22;var _0x49da31;let _0x2f5c58=this[_0x4ab64b(0x494)]['getConfig'](_0x5df009);return(_0x49da31=_0x2f5c58==null?void 0x0:_0x2f5c58[_0x4ab64b(0x2ee)])==null?location['origin']:_0x49da31;}['_replaceFileID'](_0x448ae7,_0x310622){const _0x3b48ec=_0x5e5e22;return _0x448ae7['replace'](_0x3b48ec(0x218),_0x310622);}[_0x5e5e22(0x431)](){const _0x3d7591=_0x5e5e22;--this['_waitCount'],this[_0x3d7591(0x280)][_0x3d7591(0x446)](this[_0x3d7591(0x27c)]);}};_0x5cb4c5=_0x28d1a4([_0x26ba80(0x0,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2514fd['HTTPService'])),_0x26ba80(0x1,_0x1f27ed[_0x5e5e22(0x506)]),_0x26ba80(0x2,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x50c)]))],_0x5cb4c5);let _0x235451=class{constructor(_0x5f0fdb,_0x400b81){this['_configService']=_0x5f0fdb,this['_HTTPService']=_0x400b81;}[_0x5e5e22(0x3d9)](){const _0x70576a=_0x5e5e22;var _0x2491ed;let _0x3e2a3b=this['_configService'][_0x70576a(0x45c)](_0x5df009);return(_0x2491ed=_0x3e2a3b==null?void 0x0:_0x3e2a3b[_0x70576a(0x3b1)])==null?_0x70576a(0x3a8):_0x2491ed;}async[_0x5e5e22(0x511)](_0x31ecb7){const _0x205276=_0x5e5e22;let _0x2623fc=this['_getAPIPrefixPath']()+_0x205276(0x243);return{'list':[{'title':_0x205276(0x388),'mentions':(await this[_0x205276(0x22f)][_0x205276(0x31e)](_0x2623fc,{'params':{'objectID':_0x31ecb7[_0x205276(0x48f)],'unitID':_0x31ecb7[_0x205276(0x48f)]}}))['body']['collaborators']['map'](_0x5bc737=>({'objectId':_0x5bc737['id'],'name':_0x5bc737[_0x205276(0x225)][_0x205276(0x39c)],'metadata':{'icon':_0x5bc737['subject']['avatar']},'label':_0x5bc737[_0x205276(0x225)]['name'],'objectType':_0x1f27ed[_0x205276(0x282)][_0x205276(0x4ec)]})),'metadata':{},'type':_0x1f27ed[_0x205276(0x282)][_0x205276(0x4ec)]}]};}};_0x235451=_0x28d1a4([_0x26ba80(0x0,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed['IConfigService'])),_0x26ba80(0x1,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2514fd[_0x5e5e22(0x2e2)]))],_0x235451);let _0xe5ea54=class extends _0x1f27ed[_0x5e5e22(0x38a)]{constructor(_0x549dc0,_0x31b084,_0x2d1d7f,_0x24e3d3,_0x571fba){const _0x11e328=_0x5e5e22;super(),this[_0x11e328(0x3af)]=_0x549dc0,this['_univerInstanceService']=_0x31b084,this['_permissionService']=_0x2d1d7f,this[_0x11e328(0x384)]=_0x24e3d3,this[_0x11e328(0x205)]=_0x571fba,this[_0x11e328(0x469)](),this[_0x11e328(0x48e)]();}['_initCloseConn'](){const _0x33e45b=_0x5e5e22;let _0x287740=async _0x266258=>{const _0x1aa0c1=_0x20b8;(await this[_0x1aa0c1(0x384)][_0x1aa0c1(0x46b)](_0x266258))[_0x1aa0c1(0x302)][_0x1aa0c1(0x3e2)]((0x0,_0x4f33c6[_0x1aa0c1(0x24a)])(_0x453169=>_0x453169['eventID']===_0x2b4fec[_0x1aa0c1(0x3e6)]['SHOULD_CLOSE_CONN']),(0x0,_0x4f33c6[_0x1aa0c1(0x2dd)])(this[_0x1aa0c1(0x207)]))[_0x1aa0c1(0x3c1)](_0x1eb368=>{const _0x5bbb72=_0x1aa0c1;let {reason:_0x1fc071}=_0x1eb368[_0x5bbb72(0x4c1)];this[_0x5bbb72(0x205)][_0x5bbb72(0x2a0)]({'id':_0x5bbb72(0x2bb),'data':_0x1fc071}),this[_0x5bbb72(0x28b)][_0x5bbb72(0x379)](new _0x47a016[(_0x5bbb72(0x406))](_0x266258)['id'],!0x1),this[_0x5bbb72(0x384)][_0x5bbb72(0x2d6)](_0x266258);});};(0x0,_0xd93cf[_0x33e45b(0x307)])(this[_0x33e45b(0x45b)]['getTypeOfUnitAdded$'](_0x1f27ed[_0x33e45b(0x41c)][_0x33e45b(0x25c)]),this[_0x33e45b(0x45b)][_0x33e45b(0x3bd)](_0x1f27ed[_0x33e45b(0x41c)]['UNIVER_DOC']))[_0x33e45b(0x3e2)]((0x0,_0x4f33c6[_0x33e45b(0x349)])(_0x1aca92=>_0x1aca92['unit'][_0x33e45b(0x4d4)]()),(0x0,_0x4f33c6[_0x33e45b(0x24a)])(_0x21199d=>!(0x0,_0x1f27ed[_0x33e45b(0x4c7)])(_0x21199d)),(0x0,_0x4f33c6['takeUntil'])(this[_0x33e45b(0x207)]))[_0x33e45b(0x3c1)](_0x2013f8=>{_0x287740(_0x2013f8);});}['_initUnitPermissionChange'](){const _0x1f3730=_0x5e5e22;let _0x47b661=async _0x535344=>{const _0x570dfa=_0x20b8;let _0x3af245=await this[_0x570dfa(0x384)][_0x570dfa(0x46b)](_0x535344),_0x133d3f=this['_injector'][_0x570dfa(0x31e)](_0x47a016[_0x570dfa(0x391)]);_0x3af245[_0x570dfa(0x302)][_0x570dfa(0x3e2)]((0x0,_0x4f33c6[_0x570dfa(0x24a)])(_0x3161c1=>_0x3161c1[_0x570dfa(0x46c)]===_0x2b4fec['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),(0x0,_0x4f33c6[_0x570dfa(0x2dd)])(this[_0x570dfa(0x207)]))[_0x570dfa(0x3c1)](_0x4d51ce=>{const _0x1303f5=_0x570dfa;let {objectId:_0x24962c}=_0x4d51ce[_0x1303f5(0x4c1)];_0x24962c===_0x535344?_0x133d3f['initWorkbookPermissionChange'](_0x535344):_0x133d3f['refreshPermission'](_0x535344,_0x24962c);});};(0x0,_0xd93cf['merge'])(this[_0x1f3730(0x45b)]['getTypeOfUnitAdded$'](_0x1f27ed[_0x1f3730(0x41c)][_0x1f3730(0x25c)]))['pipe']((0x0,_0x4f33c6[_0x1f3730(0x349)])(_0x13b4f7=>_0x13b4f7[_0x1f3730(0x32b)][_0x1f3730(0x4d4)]()),(0x0,_0x4f33c6['filter'])(_0x17e3f4=>!(0x0,_0x1f27ed['isInternalEditorID'])(_0x17e3f4)),(0x0,_0x4f33c6['takeUntil'])(this[_0x1f3730(0x207)]))[_0x1f3730(0x3c1)](_0x3cc17c=>{_0x47b661(_0x3cc17c);});}};_0xe5ea54=_0x28d1a4([_0x26ba80(0x0,(0x0,_0x1f27ed['Inject'])(_0x1f27ed['Injector'])),_0x26ba80(0x1,_0x1f27ed[_0x5e5e22(0x50c)]),_0x26ba80(0x2,_0x1f27ed[_0x5e5e22(0x46d)]),_0x26ba80(0x3,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x3b7eb8)),_0x26ba80(0x4,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2af8d7))],_0xe5ea54);let _0x588cac=class{constructor(_0x1cd064,_0x4e2f08){const _0x205630=_0x5e5e22;this[_0x205630(0x494)]=_0x1cd064,this[_0x205630(0x283)]=_0x4e2f08;}async['getUnitOnRev'](_0x516449,_0x1dcfc1){const _0x250e0b=_0x5e5e22;var _0x5f00fa;let {unitID:_0x41d0a7,type:_0x27b91a,revision:_0x30fdbc=0x0}=_0x1dcfc1,_0x3bf3ce=this[_0x250e0b(0x488)]()+'/'+_0x27b91a+_0x250e0b(0x25f)+_0x41d0a7+_0x250e0b(0x38f)+_0x30fdbc,_0x3360bc=(await this[_0x250e0b(0x283)][_0x250e0b(0x31e)](_0x3bf3ce))[_0x250e0b(0x2ba)],_0xf15429=(_0x5f00fa=_0x3360bc[_0x250e0b(0x458)])==null?void 0x0:_0x5f00fa[_0x250e0b(0x434)];if(_0xf15429){let _0x242eba=_0xf15429==null?void 0x0:_0xf15429['originalMeta'];_0xf15429[_0x250e0b(0x1f5)]=_0x2b4fec[_0x250e0b(0x45a)][_0x250e0b(0x2e1)]((0x0,_0x2b4fec[_0x250e0b(0x487)])(_0x242eba)),Object[_0x250e0b(0x39e)](_0xf15429[_0x250e0b(0x3f2)])['forEach'](([,_0xf2627b])=>{const _0x48fc44=_0x250e0b;let _0x180922=_0xf2627b['originalMeta'];_0xf2627b[_0x48fc44(0x1f5)]=_0x2b4fec[_0x48fc44(0x45a)][_0x48fc44(0x2e1)]((0x0,_0x2b4fec[_0x48fc44(0x487)])(_0x180922));});}return _0x3360bc;}async[_0x5e5e22(0x306)](_0x145148,_0x22d4de){const _0x5bb5d7=_0x5e5e22;let {unitID:_0x3f055d,type:_0x2743a7,blockID:_0x16fb4a}=_0x22d4de,_0x206d7e=this['_getAPIPrefix']()+'/'+_0x2743a7+'/unit/'+_0x3f055d+_0x5bb5d7(0x3dd)+_0x16fb4a;return(await this[_0x5bb5d7(0x283)][_0x5bb5d7(0x31e)](_0x206d7e))[_0x5bb5d7(0x2ba)];}async[_0x5e5e22(0x41e)](_0x24e5a5,_0x4005a0){const _0x724376=_0x5e5e22;let {unitID:_0x48099e,type:_0x32dbfd,blockID:_0x15db3b}=_0x4005a0,_0xdc7f9b=this[_0x724376(0x3c4)]()+_0x724376(0x3dd)+_0x32dbfd+'/unit/'+_0x48099e+'/block/'+_0x15db3b;return(await this[_0x724376(0x283)][_0x724376(0x31e)](_0xdc7f9b))['body'];}async[_0x5e5e22(0x3b9)](_0x309783,_0xf013e3){const _0x678081=_0x5e5e22;let {unitID:_0x80a73c,type:_0x27788b,from:_0x1f4feb,to:_0x435bae}=_0xf013e3,_0x22e4fc=this[_0x678081(0x3c4)]()+'/'+_0x27788b+_0x678081(0x25f)+_0x80a73c+_0x678081(0x3a5)+_0x1f4feb+_0x678081(0x27e)+_0x435bae;return(await this[_0x678081(0x283)][_0x678081(0x31e)](_0x22e4fc))[_0x678081(0x2ba)];}[_0x5e5e22(0x488)](){const _0x969d0c=_0x5e5e22;var _0x410317;return(_0x410317=this[_0x969d0c(0x494)][_0x969d0c(0x45c)](_0x969d0c(0x4d0)))==null?this[_0x969d0c(0x3c4)]():_0x410317;}['_getAPIPrefix'](){const _0x73b817=_0x5e5e22;var _0x26b2df;let _0x6a8eb8=this[_0x73b817(0x494)]['getConfig'](_0x5df009);return(_0x26b2df=_0x6a8eb8==null?void 0x0:_0x6a8eb8[_0x73b817(0x27d)])==null?_0x73b817(0x3be):_0x26b2df;}async[_0x5e5e22(0x36d)](_0x222ca5,_0x3b631d){const _0x28daef=_0x5e5e22;let _0x3e5504=_0x28daef(0x2a4)+_0x3b631d[_0x28daef(0x320)]+_0x28daef(0x25f)+_0x3b631d[_0x28daef(0x3bc)]+_0x28daef(0x2ea);return(await this[_0x28daef(0x283)]['get'](_0x3e5504,{'params':{'resourceId':JSON[_0x28daef(0x298)](_0x3b631d[_0x28daef(0x2f3)])}}))['body'];}['saveSnapshot'](){const _0x595d8f=_0x5e5e22;throw Error(_0x595d8f(0x2dc));}[_0x5e5e22(0x1f8)](){const _0x3dbfdd=_0x5e5e22;throw Error(_0x3dbfdd(0x2dc));}[_0x5e5e22(0x300)](){const _0x3374db=_0x5e5e22;throw Error(_0x3374db(0x2dc));}[_0x5e5e22(0x389)](){const _0x4d079d=_0x5e5e22;throw Error(_0x4d079d(0x2dc));}['copyFileMeta'](){const _0x129a4e=_0x5e5e22;throw Error(_0x129a4e(0x2dc));}[_0x5e5e22(0x3bf)](){const _0x381cc4=_0x5e5e22;throw Error(_0x381cc4(0x2dc));}};_0x588cac=_0x28d1a4([_0x26ba80(0x0,_0x1f27ed[_0x5e5e22(0x506)]),_0x26ba80(0x1,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x2514fd[_0x5e5e22(0x2e2)]))],_0x588cac);let _0xdb32aa=class extends _0x1f27ed['LocalUndoRedoService']{constructor(_0x539801,_0x1b19fa,_0xbf9ebe,_0x120232,_0x44c6ff){super(_0x539801,_0x1b19fa,_0xbf9ebe),this['_transformService']=_0x120232,this['_logService']=_0x44c6ff;}['transformUndoRedo'](_0x3ad009,_0x562594){const _0x1b3b35=_0x5e5e22;let _0x46e9ab=this['_getUndoStack'](_0x3ad009);if(_0x46e9ab)try{let _0x49f74c=this['_transformStack'](_0x46e9ab,_0x562594);this[_0x1b3b35(0x29d)](_0x3ad009,_0x49f74c);}catch(_0x5ab8e4){this['_logService'][_0x1b3b35(0x4bf)]('[CollaborationUndoRedoService]',_0x5ab8e4),this[_0x1b3b35(0x318)](_0x3ad009);}let _0x51f46b=this[_0x1b3b35(0x259)](_0x3ad009);if(_0x51f46b)try{let _0x347ed2=this[_0x1b3b35(0x343)](_0x51f46b,_0x562594);this[_0x1b3b35(0x25e)](_0x3ad009,_0x347ed2);}catch(_0x5aa495){this[_0x1b3b35(0x2de)][_0x1b3b35(0x4bf)](_0x5aa495),this[_0x1b3b35(0x48c)](_0x3ad009);}}['_clearUndo'](_0x20d656){const _0x35b3d4=_0x5e5e22;let _0x340a34=this[_0x35b3d4(0x3b3)](_0x20d656);_0x340a34&&(_0x340a34[_0x35b3d4(0x242)]=0x0,this['_updateStatus']());}[_0x5e5e22(0x48c)](_0x12da85){const _0x352d78=_0x5e5e22;let _0x1d8666=this[_0x352d78(0x259)](_0x12da85);_0x1d8666&&(_0x1d8666[_0x352d78(0x242)]=0x0,this[_0x352d78(0x289)]());}['_substituteUndoStack'](_0xfa388f,_0x587a49){const _0x33a28=_0x5e5e22;this[_0x33a28(0x47e)][_0x33a28(0x4ce)](_0xfa388f,_0x587a49),this[_0x33a28(0x289)]();}[_0x5e5e22(0x25e)](_0x22d632,_0x4d095a){const _0x256d3f=_0x5e5e22;this[_0x256d3f(0x4b9)][_0x256d3f(0x4ce)](_0x22d632,_0x4d095a),this[_0x256d3f(0x289)]();}[_0x5e5e22(0x343)](_0x4e0150,_0x1bd2fc){const _0x57bffa=_0x5e5e22;let _0x3e50d5=[],_0x3882be=_0x1bd2fc,_0xca5347=_0x1bd2fc;for(let _0x61b9a5=_0x4e0150[_0x57bffa(0x242)]-0x1;_0x61b9a5>=0x0;_0x61b9a5--){let {unitID:_0x4ad666,undoMutations:_0x2a5201,redoMutations:_0x2b6e4f}=_0x4e0150[_0x61b9a5],_0x2cae6f=this[_0x57bffa(0x344)]['transformMutationsWithChangeset'](_0x3882be,_0x2a5201),_0x25e474=this[_0x57bffa(0x344)][_0x57bffa(0x1f3)](_0xca5347,_0x2b6e4f);if((0x0,_0x2b4fec[_0x57bffa(0x2bd)])(_0x2cae6f)||(0x0,_0x2b4fec[_0x57bffa(0x2bd)])(_0x25e474)){this[_0x57bffa(0x2de)][_0x57bffa(0x4bf)](_0x57bffa(0x3a1),_0x57bffa(0x4ed),_0x2cae6f,_0x25e474);break;}_0x3882be=_0x2cae6f[_0x57bffa(0x246)],_0xca5347=_0x25e474[_0x57bffa(0x246)],_0x3e50d5[_0x57bffa(0x2e4)]({'unitID':_0x4ad666,'undoMutations':_0x2cae6f[_0x57bffa(0x22d)],'redoMutations':_0x25e474[_0x57bffa(0x22d)]});}return _0x3e50d5[_0x57bffa(0x407)]();}};_0xdb32aa=_0x28d1a4([_0x26ba80(0x0,_0x1f27ed[_0x5e5e22(0x50c)]),_0x26ba80(0x1,_0x1f27ed['ICommandService']),_0x26ba80(0x2,_0x1f27ed[_0x5e5e22(0x363)]),_0x26ba80(0x3,_0x2b4fec['ITransformService']),_0x26ba80(0x4,_0x1f27ed['ILogService'])],_0xdb32aa);let _0xb12e48=class extends _0x1f27ed[_0x5e5e22(0x4a0)]{constructor(_0x4abd46={},_0x27a8d2,_0x2ab388,_0x4203e0){const _0xd7e1d9=_0x5e5e22;super(),this['_config']=_0x4abd46,this[_0xd7e1d9(0x2de)]=_0x27a8d2,this[_0xd7e1d9(0x3af)]=_0x2ab388,this['_configService']=_0x4203e0;let {..._0x4bbefb}=(0x0,_0x1f27ed[_0xd7e1d9(0x307)])({},_0x5b799f,_0x4abd46);if(!_0x4bbefb[_0xd7e1d9(0x316)])throw Error(_0xd7e1d9(0x3e5));this['_config']=_0x4bbefb,this['_configService'][_0xd7e1d9(0x3d7)](_0x5df009,_0x4bbefb);}[_0x5e5e22(0x444)](){const _0x19735f=_0x5e5e22;this['_registerDependencies'](),this[_0x19735f(0x31b)]();}[_0x5e5e22(0x34c)](){const _0x5575f4=_0x5e5e22;var _0x2a0b46,_0x330b8a;this[_0x5575f4(0x3af)][_0x5575f4(0x4e1)](_0x1f27ed[_0x5575f4(0x325)])&&this[_0x5575f4(0x2de)][_0x5575f4(0x4bf)]('[UniverCollaborationClientPlugin]',_0x5575f4(0x2ca));let _0x538706=(0x0,_0x1f27ed['mergeOverrideWithDependencies'])([[_0x1f27ed['IUndoRedoService'],{'useClass':_0xdb32aa}],[_0x3b7eb8],[_0x3aba96],[_0x3ede5e],[_0x3e8a84],[_0x2ed573],[_0x5909a8],[_0xe5ea54],[_0x2af8d7],[_0x58d6e4],[_0xb9cf3b,{'useClass':this[_0x5575f4(0x480)][_0x5575f4(0x316)]}],[_0x2b4fec['ISnapshotServerService'],{'useClass':_0x588cac}],[_0x1f27ed[_0x5575f4(0x3b2)],{'useClass':_0x1ac39c}],[_0x310bbf[_0x5575f4(0x372)],{'useClass':_0x5cb4c5}],[_0x1f27ed[_0x5575f4(0x422)],{'useClass':_0x235451}],[_0x4efdf8],[_0x33fd88]],(_0x2a0b46=this[_0x5575f4(0x480)])==null?void 0x0:_0x2a0b46[_0x5575f4(0x290)]);if(!((_0x330b8a=this[_0x5575f4(0x480)])!=null&&_0x330b8a[_0x5575f4(0x2d8)])){let _0x3d2d17=_0x538706[_0x5575f4(0x356)](([_0xd4f8fc])=>_0xd4f8fc===_0xf1640f);_0x3d2d17!==-0x1&&_0x538706['splice'](_0x3d2d17,0x1);}(0x0,_0x1f27ed[_0x5575f4(0x451)])(this[_0x5575f4(0x3af)],_0x538706);}['_initDependencies'](){const _0x58d236=_0x5e5e22;var _0x5baa14,_0x3d1b65;if(this['_injector'][_0x58d236(0x31e)](_0x2514fd[_0x58d236(0x2e2)])[_0x58d236(0x454)]({'priority':0x14,'interceptor':(0x0,_0x2514fd[_0x58d236(0x216)])({'maxParallel':0x6})}),!((_0x5baa14=this['_config'])!=null&&_0x5baa14[_0x58d236(0x33b)])){var _0x506af8;(_0x506af8=this[_0x58d236(0x3af)][_0x58d236(0x31e)](_0x33d8de,_0x1f27ed[_0x58d236(0x359)][_0x58d236(0x426)]))==null||_0x506af8[_0x58d236(0x416)]();}(_0x3d1b65=this[_0x58d236(0x480)])!=null&&_0x3d1b65[_0x58d236(0x323)]&&(0x0,_0x1f27ed['touchDependencies'])(this[_0x58d236(0x3af)],[[_0x3e8a84]]),(0x0,_0x1f27ed[_0x58d236(0x234)])(this['_injector'],[[_0x2ed573],[_0x4efdf8],[_0xe5ea54]]);}};_0x5886a9(_0xb12e48,_0x5e5e22(0x29f),_0x5e5e22(0x3b5)),_0x5886a9(_0xb12e48,_0x5e5e22(0x28f),_0x189f56),_0x5886a9(_0xb12e48,'version',_0x4b9248),_0xb12e48=_0x28d1a4([(0x0,_0x1f27ed['DependentOn'])(_0x98661d[_0x5e5e22(0x214)],_0x2b4fec['UniverCollaborationPlugin'],_0x2514fd[_0x5e5e22(0x371)]),_0x26ba80(0x1,_0x1f27ed[_0x5e5e22(0x304)]),_0x26ba80(0x2,(0x0,_0x1f27ed[_0x5e5e22(0x41b)])(_0x1f27ed[_0x5e5e22(0x271)])),_0x26ba80(0x3,_0x1f27ed[_0x5e5e22(0x506)])],_0xb12e48),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x468),{'enumerable':!0x0,'get':function(){return _0x1ac39c;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x400),{'enumerable':!0x0,'get':function(){return _0x41bca9;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x29c),{'enumerable':!0x0,'get':function(){return _0x2aa7cb;}}),_0x34a032[_0x5e5e22(0x472)]=_0x5df009,Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x475),{'enumerable':!0x0,'get':function(){return _0x4efdf8;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x35f),{'enumerable':!0x0,'get':function(){return _0xe7bc8f;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x4f8),{'enumerable':!0x0,'get':function(){return _0x5cb4c5;}}),Object['defineProperty'](_0x34a032,'CollaborationSession',{'enumerable':!0x0,'get':function(){return _0x56a6c2;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x2a5),{'enumerable':!0x0,'get':function(){return _0x3b7eb8;}}),Object['defineProperty'](_0x34a032,_0x5e5e22(0x2cc),{'enumerable':!0x0,'get':function(){return _0x274b64;}}),_0x34a032[_0x5e5e22(0x3ab)]=_0x5788d6,_0x34a032['CollaborationUIEventId']=_0x3d6a45,_0x34a032[_0x5e5e22(0x4bc)]=_0x2af8d7,Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x264),{'enumerable':!0x0,'get':function(){return _0xdb32aa;}}),_0x34a032[_0x5e5e22(0x2c5)]=_0x5909a8,Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x2ad),{'enumerable':!0x0,'get':function(){return _0x2d8e7b;}}),_0x34a032['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x505fc1,_0x34a032[_0x5e5e22(0x2eb)]='/universer-api/uniscript',_0x34a032['DEFAULT_WS_SESSION_TICKET_URL']='/universer-api/user/session-ticket',Object[_0x5e5e22(0x2a3)](_0x34a032,'DataLoaderService',{'enumerable':!0x0,'get':function(){return _0x58d6e4;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x4e6),{'enumerable':!0x0,'get':function(){return _0x6949ae;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,'FetchingMissState',{'enumerable':!0x0,'get':function(){return _0x272441;}}),_0x34a032[_0x5e5e22(0x432)]=_0x5e5e22(0x226),_0x34a032[_0x5e5e22(0x350)]=_0x5e5e22(0x365),_0x34a032['ICollaborationSocketService']=_0xb9cf3b,_0x34a032[_0x5e5e22(0x380)]=_0x33d8de,_0x34a032[_0x5e5e22(0x2c4)]=_0x3aac02,_0x34a032[_0x5e5e22(0x3e4)]=_0xf1640f,_0x34a032[_0x5e5e22(0x266)]=0x3e8,_0x34a032[_0x5e5e22(0x257)]=_0x5e5e22(0x266),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x46a),{'enumerable':!0x0,'get':function(){return _0x3aba96;}}),Object['defineProperty'](_0x34a032,'MentionIoHttpService',{'enumerable':!0x0,'get':function(){return _0x235451;}}),Object['defineProperty'](_0x34a032,'OfflineState',{'enumerable':!0x0,'get':function(){return _0x73123;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x357),{'enumerable':!0x0,'get':function(){return _0x552ece;}}),_0x34a032[_0x5e5e22(0x460)]=_0x5e5e22(0x4b7),_0x34a032['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x5e5e22(0x4e0),_0x34a032[_0x5e5e22(0x2e3)]=_0x4cf53d,Object[_0x5e5e22(0x2a3)](_0x34a032,'SheetCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x30b4f8;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x509),{'enumerable':!0x0,'get':function(){return _0x3ede5e;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0x588cac;}}),Object[_0x5e5e22(0x2a3)](_0x34a032,_0x5e5e22(0x20c),{'enumerable':!0x0,'get':function(){return _0x165a95;}}),_0x34a032[_0x5e5e22(0x50f)]=_0x15dbc9,Object['defineProperty'](_0x34a032,_0x5e5e22(0x40d),{'enumerable':!0x0,'get':function(){return _0xb12e48;}}),_0x34a032['deserializeToCombResponse']=_0xc94ca9,_0x34a032[_0x5e5e22(0x208)]=_0x1b3860,_0x34a032['serializeCombRequest']=_0x4e9c33;}));
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
function
|
|
5
|
+
function _0x3443(_0x1a5a58,_0x1800c5){_0x1a5a58=_0x1a5a58-0xfb;const _0x27437d=_0x2743();let _0x34439c=_0x27437d[_0x1a5a58];return _0x34439c;}function _0x2743(){const _0x545409=['774DLfNeG','UniverCore','exports','655516ANgcZn','values','status','NOT_COLLAB','178XxLBKw','getCollaboration','759575RwiVkv','getCollaborationStatus','waitForRoom$','_handler','_collaborationController','amd','get','createInstance','@univerjs/core','function','toDisposable','add','1193364PVWHqP','getCollabEntity','length','IUniverInstanceService','MemberService','22527pLvcsk','UniverCoreFacade','getFocusedUnit','loadUnit','subscribe','Module','_univerInstanceService','disposeWithMe','_snapshotService','FEnum','status$','FUniver','DisposableCollection','getOwnPropertyDescriptor','from','defineProperty','state','_injector','DataLoaderService','unitID','entityInit$','1047375oParvs','switchMap','rxjs','loadUnitOfRevision','@univerjs-pro/collaboration','UniverProCollaboration','getUniverSheet','decorate','CollaborationStatus','2016hrnhha','UniverProCollaborationClient','loadServerUnitOfRevision','FCollaboration','members$','@univerjs/core/facade','FEventName','loadServerUnit','Event','Inject','SnapshotService','loadSheetAsync','CollaborationController','loadActiveSheetAsync','CollaborationStatusChanged','5208pPmZMl'];_0x2743=function(){return _0x545409;};return _0x2743();}(function(_0x4010d8,_0x1475c5){const _0x48470b=_0x3443,_0x272873=_0x4010d8();while(!![]){try{const _0x5f2cf6=-parseInt(_0x48470b(0x10c))/0x1+parseInt(_0x48470b(0x141))/0x2*(parseInt(_0x48470b(0x13a))/0x3)+parseInt(_0x48470b(0x13d))/0x4+-parseInt(_0x48470b(0xfb))/0x5+-parseInt(_0x48470b(0x107))/0x6+parseInt(_0x48470b(0x121))/0x7+parseInt(_0x48470b(0x139))/0x8*(parseInt(_0x48470b(0x12a))/0x9);if(_0x5f2cf6===_0x1475c5)break;else _0x272873['push'](_0x272873['shift']());}catch(_0x10ef44){_0x272873['push'](_0x272873['shift']());}}}(_0x2743,0x1a99a),function(_0x42a207,_0x1941ce){const _0x3e762f=_0x3443;typeof exports=='object'&&typeof module<'u'?_0x1941ce(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define=='function'&&define[_0x3e762f(0x100)]?define([_0x3e762f(0x13c),'@univerjs-pro/collaboration-client',_0x3e762f(0x12f),_0x3e762f(0x103),_0x3e762f(0x125),_0x3e762f(0x123)],_0x1941ce):(_0x42a207=typeof globalThis<'u'?globalThis:_0x42a207||self,_0x1941ce(_0x42a207['UniverProCollaborationClientFacade']={},_0x42a207[_0x3e762f(0x12b)],_0x42a207[_0x3e762f(0x10d)],_0x42a207[_0x3e762f(0x13b)],_0x42a207[_0x3e762f(0x126)],_0x42a207[_0x3e762f(0x123)]));}(this,function(_0x381162,_0x2f53d1,_0x3bbc9a,_0x2143d3,_0x1f0c9b,_0xd96c93){const _0x4bc7f5=_0x3443;Object[_0x4bc7f5(0x11b)](_0x381162,Symbol['toStringTag'],{'value':_0x4bc7f5(0x111)});var _0x321092=class extends _0x3bbc9a[_0x4bc7f5(0x115)]{get['CollaborationStatus'](){const _0x415e95=_0x4bc7f5;return _0x2f53d1[_0x415e95(0x129)];}};_0x3bbc9a[_0x4bc7f5(0x115)]['extend'](_0x321092);var _0x45b952=class extends _0x3bbc9a[_0x4bc7f5(0x130)]{get[_0x4bc7f5(0x138)](){return'CollaborationStatusChanged';}};_0x3bbc9a[_0x4bc7f5(0x130)]['extend'](_0x45b952);function _0xb3ad7f(_0x148155,_0xf185d6){return function(_0x3be6e7,_0x512304){_0xf185d6(_0x3be6e7,_0x512304,_0x148155);};}function _0x31763e(_0x19e7cd,_0x1ee54a,_0x1ceefd,_0x2c87b4){const _0x108bdd=_0x4bc7f5;var _0x257f5e=arguments[_0x108bdd(0x109)],_0xc6b667=_0x257f5e<0x3?_0x1ee54a:_0x2c87b4===null?_0x2c87b4=Object[_0x108bdd(0x119)](_0x1ee54a,_0x1ceefd):_0x2c87b4,_0x5d4f59;if(typeof Reflect=='object'&&typeof Reflect[_0x108bdd(0x128)]==_0x108bdd(0x104))_0xc6b667=Reflect[_0x108bdd(0x128)](_0x19e7cd,_0x1ee54a,_0x1ceefd,_0x2c87b4);else{for(var _0x15a073=_0x19e7cd[_0x108bdd(0x109)]-0x1;_0x15a073>=0x0;_0x15a073--)(_0x5d4f59=_0x19e7cd[_0x15a073])&&(_0xc6b667=(_0x257f5e<0x3?_0x5d4f59(_0xc6b667):_0x257f5e>0x3?_0x5d4f59(_0x1ee54a,_0x1ceefd,_0xc6b667):_0x5d4f59(_0x1ee54a,_0x1ceefd))||_0xc6b667);}return _0x257f5e>0x3&&_0xc6b667&&Object[_0x108bdd(0x11b)](_0x1ee54a,_0x1ceefd,_0xc6b667),_0xc6b667;}let _0x2d5e11=class extends _0x3bbc9a['FBase']{constructor(_0x1bde4f,_0x2cdde7,_0x17814f,_0x1cb109,_0x1c2715){const _0x13c0a3=_0x4bc7f5;super(),this['_handler']=_0x1bde4f,this[_0x13c0a3(0x11d)]=_0x2cdde7,this[_0x13c0a3(0x112)]=_0x17814f,this['_snapshotService']=_0x1cb109,this[_0x13c0a3(0xff)]=_0x1c2715;}async['loadActiveSheet'](){const _0x21d119=_0x4bc7f5;return this[_0x21d119(0x137)]();}async[_0x4bc7f5(0x137)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x5759c0){const _0x5e1616=_0x4bc7f5;return this[_0x5e1616(0x135)](_0x5759c0);}async[_0x4bc7f5(0x135)](_0x5791c6,_0x1f22ea){const _0x38353f=_0x4bc7f5;return await this[_0x38353f(0x114)]['loadSheet'](_0x5791c6,0x0,_0x1f22ea)?(await this[_0x38353f(0xff)]['readyForCollab'](_0x5791c6),this[_0x38353f(0xfe)][_0x38353f(0x127)](_0x5791c6)):null;}['subscribeCollaborators'](_0x486acf,_0x2062ef){const _0x4e05ee=_0x4bc7f5;return(0x0,_0x2143d3[_0x4e05ee(0x105)])(this[_0x4e05ee(0x11d)]['get'](_0x2f53d1[_0x4e05ee(0x10b)])[_0x4e05ee(0xfd)](_0x486acf)['pipe']((0x0,_0xd96c93[_0x4e05ee(0x122)])(_0x1648b4=>_0x1648b4[_0x4e05ee(0x12e)]))[_0x4e05ee(0x110)](_0x54771b=>_0x2062ef(Array[_0x4e05ee(0x11a)](_0x54771b[_0x4e05ee(0x13e)]()))));}[_0x4bc7f5(0xfc)](_0x1bd7be){const _0x5df9b8=_0x4bc7f5;var _0x35ac2d;let _0x49da9c;if(_0x1bd7be)_0x49da9c=_0x1bd7be;else{let _0x233d5e=this[_0x5df9b8(0x112)][_0x5df9b8(0x10e)]();_0x49da9c=_0x233d5e==null?void 0x0:_0x233d5e['getUnitId']();}if(!_0x49da9c)return _0x2f53d1[_0x5df9b8(0x129)][_0x5df9b8(0x140)];let _0x55ac02=this['_collaborationController'][_0x5df9b8(0x108)](_0x49da9c);return(_0x35ac2d=_0x55ac02==null?void 0x0:_0x55ac02[_0x5df9b8(0x11c)][_0x5df9b8(0x13f)])==null?_0x2f53d1['CollaborationStatus']['NOT_COLLAB']:_0x35ac2d;}};_0x2d5e11=_0x31763e([_0xb3ad7f(0x1,(0x0,_0x2143d3[_0x4bc7f5(0x133)])(_0x2143d3['Injector'])),_0xb3ad7f(0x2,_0x2143d3[_0x4bc7f5(0x10a)]),_0xb3ad7f(0x3,(0x0,_0x2143d3[_0x4bc7f5(0x133)])(_0x1f0c9b[_0x4bc7f5(0x134)])),_0xb3ad7f(0x4,(0x0,_0x2143d3[_0x4bc7f5(0x133)])(_0x2f53d1['CollaborationController']))],_0x2d5e11);var _0x224aaf=class extends _0x3bbc9a[_0x4bc7f5(0x117)]{['_initialize'](_0x53ed66){const _0x35be1b=_0x4bc7f5;let _0x35ee1c=_0x53ed66['get'](_0x2f53d1[_0x35be1b(0x136)]);this[_0x35be1b(0x113)](this['registerEventHandler'](this[_0x35be1b(0x132)]['CollaborationStatusChanged'],()=>{const _0x5e2766=_0x35be1b;let _0x42b00e=new _0x2143d3[(_0x5e2766(0x118))](),_0x1b6ab0=_0x35ee1c[_0x5e2766(0x120)]['subscribe'](_0x3a4bef=>{const _0x5517ca=_0x5e2766;let _0x2b1a75=_0x3a4bef[_0x5517ca(0x116)]['subscribe'](_0x575090=>{const _0x4b7cf7=_0x5517ca;let _0x3c59a3={'unitId':_0x3a4bef[_0x4b7cf7(0x11f)],'status':_0x575090};this['fireEvent'](this[_0x4b7cf7(0x132)][_0x4b7cf7(0x138)],_0x3c59a3);});_0x42b00e[_0x5517ca(0x106)]((0x0,_0x2143d3[_0x5517ca(0x105)])(_0x2b1a75));});return _0x42b00e[_0x5e2766(0x106)]((0x0,_0x2143d3[_0x5e2766(0x105)])(_0x1b6ab0)),_0x42b00e;}));}[_0x4bc7f5(0x142)](){const _0xbc4716=_0x4bc7f5;return this[_0xbc4716(0x11d)][_0xbc4716(0x102)](_0x2d5e11,{'getUniverSheet':_0x2de879=>this['getUniverSheet'](_0x2de879)});}[_0x4bc7f5(0x131)](_0x3e31ca,_0x511abc,_0x3f9289){const _0x1dd83d=_0x4bc7f5;return this[_0x1dd83d(0x11d)][_0x1dd83d(0x101)](_0x2f53d1[_0x1dd83d(0x11e)])[_0x1dd83d(0x10f)](_0x3e31ca,_0x511abc,_0x3f9289);}[_0x4bc7f5(0x12c)](_0x2b0020,_0x2a56ae,_0xe5a300){const _0x284a46=_0x4bc7f5;return this[_0x284a46(0x11d)][_0x284a46(0x101)](_0x2f53d1[_0x284a46(0x11e)])[_0x284a46(0x124)](_0x2b0020,_0x2a56ae,_0xe5a300);}};_0x3bbc9a[_0x4bc7f5(0x117)]['extend'](_0x224aaf),Object[_0x4bc7f5(0x11b)](_0x381162,_0x4bc7f5(0x12d),{'enumerable':!0x0,'get':function(){return _0x2d5e11;}});}));
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0x2e69(_0x1a97e9,_0x3e80f4){_0x1a97e9=_0x1a97e9-0x85;const _0x7a075c=_0x7a07();let _0x2e697b=_0x7a075c[_0x1a97e9];return _0x2e697b;}(function(_0x38c50f,_0x56377d){const _0x30a742=_0x2e69,_0x38c7ef=_0x38c50f();while(!![]){try{const _0x27a7e1=-parseInt(_0x30a742(0x2de))/0x1*(parseInt(_0x30a742(0x289))/0x2)+-parseInt(_0x30a742(0xab))/0x3*(-parseInt(_0x30a742(0x2df))/0x4)+parseInt(_0x30a742(0x22a))/0x5+parseInt(_0x30a742(0x244))/0x6*(-parseInt(_0x30a742(0x24f))/0x7)+-parseInt(_0x30a742(0x1be))/0x8+parseInt(_0x30a742(0x2cb))/0x9*(-parseInt(_0x30a742(0xc7))/0xa)+-parseInt(_0x30a742(0x2aa))/0xb*(-parseInt(_0x30a742(0x2b1))/0xc);if(_0x27a7e1===_0x56377d)break;else _0x38c7ef['push'](_0x38c7ef['shift']());}catch(_0x1de715){_0x38c7ef['push'](_0x38c7ef['shift']());}}}(_0x7a07,0x1a44e),function(_0x363d99,_0x1a968f){const _0x155f0e=_0x2e69;typeof exports=='object'&&typeof module<'u'?_0x1a968f(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/rpc`),require(`@univerjs/sheets`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs-pro/collaboration`),require(`@univerjs/docs`),require(`@univerjs/engine-formula`),require(`rxjs/operators`),require(`@univerjs/sheets-ui`),require(`@univerjs/protocol`)):typeof define==_0x155f0e(0x21b)&&define[_0x155f0e(0x1b5)]?define(['exports',_0x155f0e(0x19d),_0x155f0e(0x29f),_0x155f0e(0x2db),_0x155f0e(0x10b),_0x155f0e(0x242),'react',_0x155f0e(0x23a),_0x155f0e(0x278),_0x155f0e(0x1a5),'@univerjs/engine-render','@univerjs/network',_0x155f0e(0xb1),'@univerjs/drawing',_0x155f0e(0x1c9),_0x155f0e(0x15b),_0x155f0e(0xea),_0x155f0e(0x2c1),'@univerjs/sheets-ui','@univerjs/protocol'],_0x1a968f):(_0x363d99=typeof globalThis<'u'?globalThis:_0x363d99||self,_0x1a968f(_0x363d99[_0x155f0e(0x208)]={},_0x363d99[_0x155f0e(0x233)],_0x363d99['UniverCore'],_0x363d99[_0x155f0e(0x345)],_0x363d99[_0x155f0e(0x10b)],_0x363d99[_0x155f0e(0x1b8)],_0x363d99['React'],_0x363d99[_0x155f0e(0x128)],_0x363d99[_0x155f0e(0x1a0)],_0x363d99['UniverSheets'],_0x363d99[_0x155f0e(0x2c2)],_0x363d99[_0x155f0e(0x1ec)],_0x363d99[_0x155f0e(0x154)],_0x363d99[_0x155f0e(0xda)],_0x363d99[_0x155f0e(0x8a)],_0x363d99[_0x155f0e(0x224)],_0x363d99[_0x155f0e(0x355)],_0x363d99[_0x155f0e(0x10b)][_0x155f0e(0x23d)],_0x363d99[_0x155f0e(0x265)],_0x363d99[_0x155f0e(0x2cf)]));}(this,function(_0x2b3c55,_0x1e6a94,_0x45c421,_0xfff774,_0x3ea80a,_0x1a0a02,_0xd5b7ac,_0xc33d3d,_0xab2a35,_0x369070,_0x5842f2,_0x47f7bf,_0x287598,_0x548bae,_0x663956,_0x15aabe,_0x516276,_0x2db485,_0x41226a,_0x5d2213){const _0x4c80e1=_0x2e69;Object['defineProperty'](_0x2b3c55,Symbol[_0x4c80e1(0x146)],{'value':_0x4c80e1(0x2d8)});function _0x1a0c69({ref:_0x1f5a0b,..._0x4efce7}){const _0x2dda75=_0x4c80e1;let {icon:_0x5cdae6,id:_0x50fff9,className:_0x4a6a34,extend:_0x10d7ea,..._0x1ebfb3}=_0x4efce7,_0xdec0c4=(_0x2dda75(0x20a)+_0x50fff9+'\x20'+(_0x4a6a34||''))['trim'](),_0x30ba5e=(0x0,_0xd5b7ac[_0x2dda75(0x25d)])('_'+_0x34a127());return _0x1bfcd0(_0x5cdae6,''+_0x50fff9,{'defIds':_0x5cdae6['defIds'],'idSuffix':_0x30ba5e[_0x2dda75(0x18b)]},{'ref':_0x1f5a0b,'className':_0xdec0c4,..._0x1ebfb3},_0x10d7ea);}function _0x1bfcd0(_0xc2fcc1,_0x3c1f58,_0x3290d1,_0x322ee4,_0x1e3187){const _0x1d0c0a=_0x4c80e1;return(0x0,_0xd5b7ac[_0x1d0c0a(0xe6)])(_0xc2fcc1[_0x1d0c0a(0x88)],{'key':_0x3c1f58,..._0x463446(_0xc2fcc1,_0x3290d1,_0x1e3187),..._0x322ee4},(_0x2387b4(_0xc2fcc1,_0x3290d1)[_0x1d0c0a(0x326)]||[])[_0x1d0c0a(0x255)]((_0x67cf99,_0x24463a)=>_0x1bfcd0(_0x67cf99,_0x3c1f58+'-'+_0xc2fcc1[_0x1d0c0a(0x88)]+'-'+_0x24463a,_0x3290d1,void 0x0,_0x1e3187)));}function _0x463446(_0x3b23dc,_0x55d399,_0x1f29f7){const _0x29997e=_0x4c80e1;let _0x4799c5={..._0x3b23dc[_0x29997e(0x14e)]};_0x1f29f7!=null&&_0x1f29f7[_0x29997e(0x168)]&&_0x4799c5[_0x29997e(0x20c)]==='colorChannel1'&&(_0x4799c5['fill']=_0x1f29f7[_0x29997e(0x168)]),_0x3b23dc[_0x29997e(0x88)]===_0x29997e(0x271)&&_0x4799c5['id']&&(_0x4799c5['id']+=_0x55d399['idSuffix']),Object['entries'](_0x4799c5)['forEach'](([_0x2d8732,_0x1acfb8])=>{const _0x327464=_0x29997e;_0x2d8732===_0x327464(0x271)&&typeof _0x1acfb8=='string'&&(_0x4799c5[_0x2d8732]=_0x1acfb8[_0x327464(0x283)](/url\(#(.*)\)/,_0x327464(0x1c2)+_0x55d399[_0x327464(0x328)]+')'));});let {defIds:_0x20797d}=_0x55d399;return!_0x20797d||_0x20797d['length']===0x0?_0x4799c5:(_0x3b23dc[_0x29997e(0x88)]===_0x29997e(0xa5)&&_0x4799c5[_0x29997e(0x153)]&&(_0x4799c5[_0x29997e(0x153)]+=_0x55d399['idSuffix']),Object[_0x29997e(0x12d)](_0x4799c5)['forEach'](([_0x5abad7,_0x2f4f87])=>{const _0x54a75f=_0x29997e;typeof _0x2f4f87=='string'&&(_0x4799c5[_0x5abad7]=_0x2f4f87[_0x54a75f(0x283)](/url\(#(.*)\)/,_0x54a75f(0x1c2)+_0x55d399[_0x54a75f(0x328)]+')'));}),_0x4799c5);}function _0x2387b4(_0xbea4e2,_0x489c70){const _0x456983=_0x4c80e1;var _0x5b8259;let {defIds:_0x4c4e12}=_0x489c70;return!_0x4c4e12||_0x4c4e12[_0x456983(0x292)]===0x0?_0xbea4e2:_0xbea4e2[_0x456983(0x88)]===_0x456983(0x344)&&(_0x5b8259=_0xbea4e2[_0x456983(0x326)])!=null&&_0x5b8259[_0x456983(0x292)]?{..._0xbea4e2,'children':_0xbea4e2[_0x456983(0x326)][_0x456983(0x255)](_0x4fce6b=>typeof _0x4fce6b[_0x456983(0x14e)]['id']==_0x456983(0x133)&&_0x4c4e12&&_0x4c4e12[_0x456983(0x1b4)](_0x4fce6b[_0x456983(0x14e)]['id'])?{..._0x4fce6b,'attrs':{..._0x4fce6b[_0x456983(0x14e)],'id':_0x4fce6b[_0x456983(0x14e)]['id']+_0x489c70['idSuffix']}}:_0x4fce6b)}:_0xbea4e2;}function _0x34a127(){const _0xf3aa3f=_0x4c80e1;return Math[_0xf3aa3f(0x17b)]()['toString'](0x24)[_0xf3aa3f(0x2fc)](0x2,0x8);}_0x1a0c69[_0x4c80e1(0x30d)]=_0x4c80e1(0x1a4);let _0x50e4ee={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4c80e1(0xd3),'viewBox':_0x4c80e1(0xf1),'width':_0x4c80e1(0x19b),'height':_0x4c80e1(0x19b)},'children':[{'tag':'g','attrs':{'clipPath':_0x4c80e1(0x28e)},'children':[{'tag':_0x4c80e1(0x8c),'attrs':{'stroke':_0x4c80e1(0x1d5),'d':_0x4c80e1(0x2a3),'strokeLinecap':_0x4c80e1(0x26f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4c80e1(0x344),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4c80e1(0x1e3)},'children':[{'tag':_0x4c80e1(0x8c),'attrs':{'fill':_0x4c80e1(0x219),'d':_0x4c80e1(0x2d6)}}]}]}],'defIds':[_0x4c80e1(0x1e3)]},_0x401831=(0x0,_0xd5b7ac[_0x4c80e1(0x332)])(function(_0x16485e,_0x43ee45){const _0x3a9577=_0x4c80e1;return(0x0,_0xd5b7ac['createElement'])(_0x1a0c69,Object[_0x3a9577(0x86)]({},_0x16485e,{'id':'off-line-icon','ref':_0x43ee45,'icon':_0x50e4ee}));});_0x401831[_0x4c80e1(0x30d)]=_0x4c80e1(0x9c);let _0x2e3b09={'tag':_0x4c80e1(0x338),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4c80e1(0xec),'width':_0x4c80e1(0x19b),'height':_0x4c80e1(0x19b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x4c80e1(0x8c),'attrs':{'stroke':_0x4c80e1(0x1d5),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4c80e1(0x26f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4c80e1(0x344),'attrs':{},'children':[{'tag':_0x4c80e1(0x9e),'attrs':{'id':_0x4c80e1(0x222)},'children':[{'tag':'path','attrs':{'fill':_0x4c80e1(0x219),'d':'M0\x200H16V16H0z','transform':_0x4c80e1(0x21d)}}]}]}],'defIds':[_0x4c80e1(0x222)]},_0x3a67ee=(0x0,_0xd5b7ac['forwardRef'])(function(_0x55c030,_0x21f415){const _0x3cd7a8=_0x4c80e1;return(0x0,_0xd5b7ac[_0x3cd7a8(0xe6)])(_0x1a0c69,Object['assign']({},_0x55c030,{'id':_0x3cd7a8(0x235),'ref':_0x21f415,'icon':_0x2e3b09}));});_0x3a67ee['displayName']='OnLineIcon';let _0x13ca68={'tag':_0x4c80e1(0x338),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4c80e1(0xd3),'viewBox':_0x4c80e1(0xf1),'width':_0x4c80e1(0x19b),'height':_0x4c80e1(0x19b)},'children':[{'tag':_0x4c80e1(0x8c),'attrs':{'fill':_0x4c80e1(0x13f),'d':_0x4c80e1(0x21a),'fillOpacity':0.2,'fillRule':_0x4c80e1(0x331),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x4c80e1(0x13f),'d':_0x4c80e1(0x166),'fillRule':_0x4c80e1(0x331),'clipRule':_0x4c80e1(0x331)}}]},_0x1df139=(0x0,_0xd5b7ac[_0x4c80e1(0x332)])(function(_0xc9d448,_0x4fc56b){const _0x18ec78=_0x4c80e1;return(0x0,_0xd5b7ac[_0x18ec78(0xe6)])(_0x1a0c69,Object[_0x18ec78(0x86)]({},_0xc9d448,{'id':_0x18ec78(0x2bb),'ref':_0x4fc56b,'icon':_0x13ca68}));});_0x1df139[_0x4c80e1(0x30d)]='LoadingMultiIcon';function _0x2807bb(_0x52bd3f){const _0x576944=_0x4c80e1;switch(_0x52bd3f){case _0x1e6a94[_0x576944(0x252)]['OFFLINE']:return{'icon':(0x0,_0xc33d3d[_0x576944(0x32e)])(_0x401831,{}),'colorClass':_0x576944(0x268),'i18nKey':_0x576944(0x104),'tooltipKey':_0x576944(0x2bf),'clickable':!0x0,'indicator':_0x576944(0x263)};case _0x1e6a94[_0x576944(0x252)]['CONFLICT']:return{'icon':(0x0,_0xc33d3d[_0x576944(0x32e)])(_0x401831,{}),'colorClass':_0x576944(0x284),'i18nKey':_0x576944(0x2e1),'clickable':!0x1,'indicator':_0x576944(0x263)};case _0x1e6a94[_0x576944(0x252)][_0x576944(0xd2)]:return{'icon':(0x0,_0xc33d3d[_0x576944(0x32e)])(_0x1df139,{}),'colorClass':_0x576944(0xb3),'i18nKey':_0x576944(0x316),'clickable':!0x1,'indicator':'spin'};case _0x1e6a94['CollaborationStatus'][_0x576944(0xe9)]:return{'icon':(0x0,_0xc33d3d['jsx'])(_0x3a67ee,{}),'colorClass':_0x576944(0x33b),'i18nKey':'collabStatus.notCollab','clickable':!0x1,'indicator':_0x576944(0x263)};case _0x1e6a94[_0x576944(0x252)]['AWAITING']:case _0x1e6a94[_0x576944(0x252)]['AWAITING_WITH_PENDING']:return{'icon':(0x0,_0xc33d3d[_0x576944(0x32e)])(_0x1df139,{}),'colorClass':_0x576944(0xb3),'i18nKey':'collabStatus.syncing','clickable':!0x1,'indicator':_0x576944(0xe8)};case _0x1e6a94[_0x576944(0x252)][_0x576944(0x1d8)]:case _0x1e6a94[_0x576944(0x252)]['PENDING']:return{'icon':(0x0,_0xc33d3d[_0x576944(0x32e)])(_0x3a67ee,{}),'colorClass':_0x576944(0x220),'i18nKey':_0x576944(0x199),'clickable':!0x1,'indicator':'static'};}}function _0x240055(_0x430652){const _0x393738=_0x4c80e1;let {status$:_0x4fbcf7}=_0x430652,_0x25ebf0=(0x0,_0xfff774[_0x393738(0x329)])(_0x4fbcf7,_0x1e6a94[_0x393738(0x252)][_0x393738(0xe9)]),_0x484937=(0x0,_0xfff774[_0x393738(0x282)])(_0x45c421['LocaleService']),_0x4f8cd9=(0x0,_0xfff774[_0x393738(0x282)])(_0x1e6a94[_0x393738(0x33a)]),_0x321f3b=(0x0,_0xd5b7ac['useMemo'])(()=>_0x2807bb(_0x25ebf0),[_0x25ebf0]),_0x11e19d=_0x25ebf0!==_0x1e6a94['CollaborationStatus']['OFFLINE'],_0x2e48b0=_0x484937['t'](_0x321f3b[_0x393738(0xcd)]),_0x2f7ea9=_0x321f3b[_0x393738(0x114)]?_0x484937['t'](_0x321f3b['tooltipKey']):_0x2e48b0,_0x54ebb4=(0x0,_0xd5b7ac['useCallback'])(()=>{const _0xb66d22=_0x393738;_0x11e19d||_0x4f8cd9[_0xb66d22(0x151)]();},[_0x11e19d,_0x4f8cd9]),_0x29122b=(0x0,_0xd5b7ac[_0x393738(0x2ff)])(_0x23a493=>{const _0x1b7cf5=_0x393738;!_0x11e19d&&(_0x23a493['key']===_0x1b7cf5(0xb2)||_0x23a493[_0x1b7cf5(0x190)]==='\x20')&&(_0x23a493[_0x1b7cf5(0x137)](),_0x4f8cd9[_0x1b7cf5(0x151)]());},[_0x11e19d,_0x4f8cd9]),_0x3befc8=(0x0,_0xc33d3d[_0x393738(0x32e)])(_0x393738(0x260),{'className':(0x0,_0x1a0a02[_0x393738(0x347)])(_0x393738(0x2ac),_0x393738(0xc1),_0x321f3b[_0x393738(0x201)],{'univer-animate-spin':_0x321f3b[_0x393738(0x200)]===_0x393738(0xe8),'univer-animate-pulse':_0x321f3b[_0x393738(0x200)]===_0x393738(0xa3)}),'aria-hidden':_0x393738(0x1c4),'children':_0x321f3b[_0x393738(0xc4)]}),_0x144b56=(0x0,_0xc33d3d[_0x393738(0x32e)])(_0x393738(0x260),{'className':(0x0,_0x1a0a02[_0x393738(0x347)])(_0x393738(0x2ac),'univer-h-8\x20univer-w-8\x20univer-rounded-lg','univer-transition-all\x20univer-duration-200',_0x393738(0xb7),_0x393738(0x183),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x321f3b[_0x393738(0xf7)],'univer-cursor-default':!_0x321f3b[_0x393738(0xf7)]}),'children':_0x3befc8});return _0x321f3b[_0x393738(0xf7)]?(0x0,_0xc33d3d[_0x393738(0x32e)])(_0x1a0a02['Tooltip'],{'title':_0x2f7ea9,'placement':_0x393738(0x1af),'children':(0x0,_0xc33d3d[_0x393738(0x32e)])(_0x393738(0x1c3),{'type':_0x393738(0x1c3),'onClick':_0x54ebb4,'onKeyDown':_0x29122b,'className':(0x0,_0x1a0a02[_0x393738(0x347)])(_0x393738(0x245),_0x393738(0x1cc),'univer-m-0\x20univer-p-0',_0x393738(0x1b7)),'aria-label':_0x2e48b0+_0x393738(0x2be)+_0x2f7ea9,'role':_0x393738(0x16b),'aria-live':_0x393738(0x25a),'aria-atomic':_0x393738(0x1c4),'children':_0x144b56})}):(0x0,_0xc33d3d[_0x393738(0x32e)])(_0x1a0a02['Tooltip'],{'title':_0x2f7ea9,'placement':'bottom','children':(0x0,_0xc33d3d[_0x393738(0x32e)])('div',{'className':(0x0,_0x1a0a02[_0x393738(0x347)])(_0x393738(0x245),_0x393738(0x1cc),'univer-m-0\x20univer-p-0'),'aria-label':_0x2e48b0,'role':_0x393738(0x16b),'aria-live':_0x393738(0x25a),'aria-atomic':_0x393738(0x1c4),'children':_0x144b56})});}function _0x5bc798(_0x5bed2a){'@babel/helpers - typeof';const _0x2f838f=_0x4c80e1;return _0x5bc798=typeof Symbol==_0x2f838f(0x21b)&&typeof Symbol['iterator']==_0x2f838f(0x273)?function(_0x26b72b){return typeof _0x26b72b;}:function(_0x184625){const _0x29f5ca=_0x2f838f;return _0x184625&&typeof Symbol==_0x29f5ca(0x21b)&&_0x184625['constructor']===Symbol&&_0x184625!==Symbol[_0x29f5ca(0x256)]?'symbol':typeof _0x184625;},_0x5bc798(_0x5bed2a);}function _0xdd5e34(_0x4f71ac,_0x4eb1ac){const _0x566d62=_0x4c80e1;if(_0x5bc798(_0x4f71ac)!=_0x566d62(0x20e)||!_0x4f71ac)return _0x4f71ac;var _0x226255=_0x4f71ac[Symbol[_0x566d62(0x19f)]];if(_0x226255!==void 0x0){var _0x495d02=_0x226255['call'](_0x4f71ac,_0x4eb1ac||_0x566d62(0x150));if(_0x5bc798(_0x495d02)!=_0x566d62(0x20e))return _0x495d02;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4eb1ac===_0x566d62(0x133)?String:Number)(_0x4f71ac);}function _0x9ae3a8(_0x5bf187){const _0x25b3f0=_0x4c80e1;var _0x38308b=_0xdd5e34(_0x5bf187,_0x25b3f0(0x133));return _0x5bc798(_0x38308b)==_0x25b3f0(0x273)?_0x38308b:_0x38308b+'';}function _0x2f9172(_0xebe334,_0x4ffaa1,_0x23376a){const _0x38fbfb=_0x4c80e1;return(_0x4ffaa1=_0x9ae3a8(_0x4ffaa1))in _0xebe334?Object[_0x38fbfb(0x29e)](_0xebe334,_0x4ffaa1,{'value':_0x23376a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xebe334[_0x4ffaa1]=_0x23376a,_0xebe334;}function _0x2e6e37(_0x13ae7c,_0x508664){return function(_0x18c5e7,_0x57d9e4){_0x508664(_0x18c5e7,_0x57d9e4,_0x13ae7c);};}function _0x5d52c5(_0x2bb13d,_0x19f54e,_0xe9ed2e,_0x153729){const _0x2169e2=_0x4c80e1;var _0x538e01=arguments[_0x2169e2(0x292)],_0x8dff38=_0x538e01<0x3?_0x19f54e:_0x153729===null?_0x153729=Object['getOwnPropertyDescriptor'](_0x19f54e,_0xe9ed2e):_0x153729,_0x253e0e;if(typeof Reflect==_0x2169e2(0x20e)&&typeof Reflect[_0x2169e2(0xe5)]==_0x2169e2(0x21b))_0x8dff38=Reflect[_0x2169e2(0xe5)](_0x2bb13d,_0x19f54e,_0xe9ed2e,_0x153729);else{for(var _0x1e6a3a=_0x2bb13d['length']-0x1;_0x1e6a3a>=0x0;_0x1e6a3a--)(_0x253e0e=_0x2bb13d[_0x1e6a3a])&&(_0x8dff38=(_0x538e01<0x3?_0x253e0e(_0x8dff38):_0x538e01>0x3?_0x253e0e(_0x19f54e,_0xe9ed2e,_0x8dff38):_0x253e0e(_0x19f54e,_0xe9ed2e))||_0x8dff38);}return _0x538e01>0x3&&_0x8dff38&&Object[_0x2169e2(0x29e)](_0x19f54e,_0xe9ed2e,_0x8dff38),_0x8dff38;}let _0x591484=class extends _0x45c421['Disposable']{constructor(_0x4c0963,_0x187c6b,_0x2635b3,_0x343a15){const _0x57c851=_0x4c80e1;super(),this[_0x57c851(0x31a)]=_0x4c0963,this[_0x57c851(0x2f6)]=_0x187c6b,this[_0x57c851(0x99)]=_0x2635b3,this[_0x57c851(0x2f9)]=_0x343a15,_0x2f9172(this,'_status$',new _0x3ea80a[(_0x57c851(0x140))](_0x1e6a94['CollaborationStatus'][_0x57c851(0xe9)])),this['_initStatusComponent'](),this[_0x57c851(0xd7)]();}['_initStatusListener'](){const _0x41ac53=_0x4c80e1;this[_0x41ac53(0xa2)](this[_0x41ac53(0x31a)][_0x41ac53(0x20f)]['pipe']((0x0,_0x3ea80a[_0x41ac53(0xe4)])(()=>{const _0x3cc73d=_0x41ac53;let _0x1f26e0=this[_0x3cc73d(0x31a)][_0x3cc73d(0x2e9)]();return _0x1f26e0?this['_collaborationController']['getCollabEntity$'](_0x1f26e0[_0x3cc73d(0x191)]()):(0x0,_0x3ea80a['of'])(null);}),(0x0,_0x3ea80a[_0x41ac53(0xe4)])(_0x1be77b=>_0x1be77b?_0x1be77b['status$']:(0x0,_0x3ea80a['of'])(_0x1e6a94[_0x41ac53(0x252)][_0x41ac53(0xe9)])))[_0x41ac53(0x1e5)](_0x2d5d52=>{const _0x58c056=_0x41ac53;this[_0x58c056(0x2b8)][_0x58c056(0xa4)](_0x2d5d52);}));}['_initStatusComponent'](){const _0x3bece0=_0x4c80e1;this['disposeWithMe'](this[_0x3bece0(0x2f9)]['registerComponent'](_0xfff774[_0x3bece0(0x107)]['HEADER_MENU'],()=>(0x0,_0xfff774[_0x3bece0(0x27f)])(_0x3949b2({'status$':this[_0x3bece0(0x2b8)][_0x3bece0(0xae)]()}),this[_0x3bece0(0x2f6)])));}};_0x591484=_0x5d52c5([_0x2e6e37(0x0,_0x45c421[_0x4c80e1(0x138)]),_0x2e6e37(0x1,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x2,(0x0,_0x45c421['Inject'])(_0x1e6a94['CollaborationController'])),_0x2e6e37(0x3,_0xfff774[_0x4c80e1(0x2b9)])],_0x591484);function _0x3949b2(_0x3702de){let {status$:_0x12f40a}=_0x3702de;return function(){const _0x14a986=_0x2e69;return(0x0,_0xc33d3d[_0x14a986(0x32e)])(_0x240055,{'status$':_0x12f40a});};}let _0x1a46b4=(0x0,_0x45c421[_0x4c80e1(0x35d)])('uni.network.url-service'),_0x26fbb1=class extends _0x45c421[_0x4c80e1(0x15d)]{constructor(_0x125fc8,_0x242c47,_0x42539b,_0x3e727f,_0x35a4bf){const _0x28ac29=_0x4c80e1;super(),this[_0x28ac29(0xa1)]=_0x125fc8,this[_0x28ac29(0x33e)]=_0x242c47,this[_0x28ac29(0x22b)]=_0x42539b,this[_0x28ac29(0x175)]=_0x3e727f,_0x35a4bf?_0x35a4bf==null||_0x35a4bf[_0x28ac29(0x213)]()['then'](()=>this[_0x28ac29(0x10c)]()):(this[_0x28ac29(0x33e)][_0x28ac29(0x2ed)]('[CollaborationDataLoaderController]',_0x28ac29(0x2ba)),this[_0x28ac29(0x10c)]());}async[_0x4c80e1(0x10c)](){const _0xba8011=_0x4c80e1;let _0x3c18ee=this[_0xba8011(0xa1)][_0xba8011(0xb6)](_0xba8011(0x1c1)),_0x269f43=this[_0xba8011(0xa1)][_0xba8011(0xb6)](_0xba8011(0x223)),_0x457f63=this[_0xba8011(0xa1)][_0xba8011(0xb6)](_0xba8011(0x218));if(!_0x3c18ee||!_0x269f43){this['_logService'][_0xba8011(0x2ed)](_0xba8011(0x24c),_0xba8011(0x1f4));return;}let _0x513d89=await this['_dataLoaderService'][_0xba8011(0x10a)](_0x3c18ee,Number(_0x269f43),_0x457f63);_0x513d89&&_0x513d89 instanceof _0x45c421[_0xba8011(0x35a)]&&this[_0xba8011(0x322)](_0x513d89);}async[_0x4c80e1(0x322)](_0x392ff0){const _0x4cec87=_0x4c80e1;await this[_0x4cec87(0x306)](_0x392ff0),_0x392ff0['activeSheet$'][_0x4cec87(0x123)]((0x0,_0x3ea80a[_0x4cec87(0x287)])(this[_0x4cec87(0x1a8)]))[_0x4cec87(0x1e5)](_0x3157cb=>{const _0x138238=_0x4cec87;_0x3157cb&&this[_0x138238(0x136)](_0x3157cb);}),this[_0x4cec87(0xa1)][_0x4cec87(0x2bd)][_0x4cec87(0x123)]((0x0,_0x3ea80a[_0x4cec87(0x287)])(this[_0x4cec87(0x1a8)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x392ff0));}[_0x4c80e1(0x136)](_0x304850,_0x45cf48=!0x1){const _0x24c423=_0x4c80e1;let _0x96db0b=this['_urlService']['getParam'](_0x24c423(0x218));_0x304850['getSheetId']()!==_0x96db0b&&this[_0x24c423(0xa1)][_0x24c423(0x16a)](_0x24c423(0x218),_0x304850[_0x24c423(0x8d)](),_0x45cf48);}async[_0x4c80e1(0x306)](_0x5e7219){const _0x14804f=_0x4c80e1;var _0x31ed7b;let _0x410daa=this[_0x14804f(0xa1)][_0x14804f(0xb6)](_0x14804f(0x218));if(!_0x410daa||!_0x5e7219[_0x14804f(0x184)](_0x410daa)){let _0x3dbd15=_0x5e7219['getUnhiddenWorksheets']()[0x0],_0x5736e0=_0x5e7219['getSheetBySheetId'](_0x3dbd15);if(!_0x5736e0)return;this['_updateURLWithCurrentState'](_0x5736e0,!0x0),await this[_0x14804f(0x22b)][_0x14804f(0x9d)](_0x369070[_0x14804f(0x28c)]['id'],{'unitId':_0x5e7219['getUnitId'](),'subUnitId':_0x3dbd15});return;}((_0x31ed7b=_0x5e7219[_0x14804f(0x94)]())==null?void 0x0:_0x31ed7b[_0x14804f(0x8d)]())!==_0x410daa&&await this['_commandService']['executeCommand'](_0x369070[_0x14804f(0x28c)]['id'],{'unitId':_0x5e7219[_0x14804f(0x191)](),'subUnitId':_0x410daa});}};_0x26fbb1=_0x5d52c5([_0x2e6e37(0x0,_0x1a46b4),_0x2e6e37(0x1,_0x45c421[_0x4c80e1(0x2a9)]),_0x2e6e37(0x2,_0x45c421[_0x4c80e1(0x1de)]),_0x2e6e37(0x3,(0x0,_0x45c421['Inject'])(_0x1e6a94[_0x4c80e1(0x32a)])),_0x2e6e37(0x4,(0x0,_0x45c421['Optional'])(_0xab2a35['IRemoteInstanceService']))],_0x26fbb1);var _0x390f23=_0x4c80e1(0xc8),_0x469061=_0x4c80e1(0x293);let _0x5ca82f=class extends _0x45c421[_0x4c80e1(0x15d)]{constructor(_0x3aa667,_0x2aac80){const _0x5950f7=_0x4c80e1;super(),this[_0x5950f7(0xa7)]=_0x3aa667,this[_0x5950f7(0x33f)]=_0x2aac80,this['_init']();}['_init'](){const _0x3b315f=_0x4c80e1;let _0x3ccb03=this;this[_0x3b315f(0xa2)](this[_0x3b315f(0xa7)][_0x3b315f(0x17c)]({'onBeforePasteImage':async _0x58dea4=>{const _0x4022ce=_0x3b315f;let _0x19686d=await _0x3ccb03[_0x4022ce(0x33f)][_0x4022ce(0x2dc)](_0x58dea4);return _0x19686d?{'source':_0x19686d['source'],'imageSourceType':_0x19686d['imageSourceType']}:null;}}));}};_0x5ca82f=_0x5d52c5([_0x2e6e37(0x0,_0x287598[_0x4c80e1(0x227)]),_0x2e6e37(0x1,_0x548bae[_0x4c80e1(0x29a)])],_0x5ca82f);let _0x1bde25=[_0x4c80e1(0x302),'jiqing.500',_0x4c80e1(0x179),_0x4c80e1(0x341),_0x4c80e1(0x1ad),_0x4c80e1(0x1f2)];var _0x4b3196=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(..._0x485ed8){const _0xcf6371=_0x4c80e1;super(..._0x485ed8),_0x2f9172(this,_0xcf6371(0x1eb),new Map()),_0x2f9172(this,_0xcf6371(0x262),0x0);}[_0x4c80e1(0x31d)](_0x4af7b1){const _0x2521c2=_0x4c80e1;if(this[_0x2521c2(0x1eb)][_0x2521c2(0x33d)](_0x4af7b1))return this[_0x2521c2(0x1eb)][_0x2521c2(0x148)](_0x4af7b1);let _0x14d79e=_0x1bde25[this[_0x2521c2(0x262)]];return this[_0x2521c2(0x262)]=(this[_0x2521c2(0x262)]+0x1)%_0x1bde25[_0x2521c2(0x292)],this[_0x2521c2(0x1eb)][_0x2521c2(0x22d)](_0x4af7b1,_0x14d79e),_0x14d79e;}};function _0x40abdb(_0x1704e7){let _0x46738d='';for(let _0x5b38db of _0x1704e7){let {startOffset:_0x301e35,endOffset:_0x402cd6,isActive:_0xc5de64,rangeType:_0x21eb2c,segmentId:_0x465294,segmentPage:_0xbf78eb}=_0x5b38db;_0x46738d['length']&&(_0x46738d+=','),_0x46738d+=_0x301e35+':'+_0x402cd6+':'+(_0xc5de64?'1':'0')+':'+_0x21eb2c+':'+_0x465294+':'+_0xbf78eb;}return _0x46738d;}function _0x4c1006(_0x2c3084){const _0x33a104=_0x4c80e1;let _0xd9ced5=_0x2c3084['split'](','),_0x4694e5=[];for(let _0x368611 of _0xd9ced5){let [_0x4c5650,_0x895f22,_0x4b3cd0,_0x20de15,_0x5d101f,_0x2f106b]=_0x368611[_0x33a104(0x259)](':');_0x4694e5[_0x33a104(0x2fa)]({'startOffset':Number(_0x4c5650),'endOffset':Number(_0x895f22),'collapsed':_0x4c5650===_0x895f22,'isActive':_0x4b3cd0==='1','rangeType':_0x20de15===_0x45c421['DOC_RANGE_TYPE']['TEXT']?_0x45c421[_0x33a104(0x187)][_0x33a104(0x2e2)]:_0x45c421['DOC_RANGE_TYPE'][_0x33a104(0xc9)],'segmentId':typeof _0x5d101f=='string'?String(_0x5d101f):'','segmentPage':Number(_0x2f106b==null?-0x1:_0x2f106b)});}return _0x4694e5[_0x33a104(0x276)](_0x9d4bc=>_0x9d4bc[_0x33a104(0x231)])||(_0x4694e5[0x0][_0x33a104(0x231)]=!0x0),_0x4694e5;}var _0x24123b=class extends _0x45c421[_0x4c80e1(0x15d)]{constructor(..._0x50e807){const _0x35a92d=_0x4c80e1;super(..._0x50e807),_0x2f9172(this,_0x35a92d(0x32f),new _0x3ea80a[(_0x35a92d(0x140))](null)),_0x2f9172(this,_0x35a92d(0x34b),this[_0x35a92d(0x32f)][_0x35a92d(0xae)]());}['syncEditingCollabCursor'](_0x58e244){const _0x3403b5=_0x4c80e1;let {unitID:_0x4cef5d,memberID:_0x2a378a,textRanges:_0x300c72}=_0x58e244,_0x4b9fa3=_0x40abdb(_0x300c72);if(_0x4b9fa3==='')return;let _0x27b771={'unitID':_0x4cef5d,'memberID':_0x2a378a,'selection':_0x4b9fa3};this[_0x3403b5(0x32f)][_0x3403b5(0xa4)](_0x27b771);}};let _0x17f468=class extends _0x45c421[_0x4c80e1(0x15d)]{get[_0x4c80e1(0xd4)](){const _0x585ab8=_0x4c80e1;return this['_cursorInfo$'][_0x585ab8(0x2f0)]();}get[_0x4c80e1(0x318)](){const _0x52fdea=_0x4c80e1;return this[_0x52fdea(0x349)][_0x52fdea(0x2f0)]();}constructor(_0x14d2ec,_0x2798cd,_0x5c458f,_0x3ff9f6,_0x26c887,_0x437cd1,_0x160dd2,_0x3f1303,_0x370854){const _0x2e55e1=_0x4c80e1;super(),this[_0x2e55e1(0x19c)]=_0x14d2ec,this[_0x2e55e1(0x15a)]=_0x2798cd,this[_0x2e55e1(0x2f6)]=_0x5c458f,this[_0x2e55e1(0x352)]=_0x3ff9f6,this[_0x2e55e1(0x1c7)]=_0x26c887,this[_0x2e55e1(0x315)]=_0x437cd1,this[_0x2e55e1(0x343)]=_0x160dd2,this['_univerInstanceService']=_0x3f1303,this[_0x2e55e1(0x22b)]=_0x370854,_0x2f9172(this,_0x2e55e1(0x159),!0x1),_0x2f9172(this,_0x2e55e1(0x10c),!0x1),_0x2f9172(this,_0x2e55e1(0x97),new _0x3ea80a['BehaviorSubject'](new Map())),_0x2f9172(this,_0x2e55e1(0x9f),this['_cursorInfo$'][_0x2e55e1(0xae)]()),_0x2f9172(this,_0x2e55e1(0x349),new _0x3ea80a[(_0x2e55e1(0x140))]([])),_0x2f9172(this,_0x2e55e1(0x31c),this['_roomMembers$'][_0x2e55e1(0x123)]((0x0,_0x3ea80a[_0x2e55e1(0x2f7)])(0x12c))),_0x2f9172(this,_0x2e55e1(0x2e4),(0x0,_0x45c421[_0x2e55e1(0x206)])(_0x20f146=>{const _0x8018b1=_0x2e55e1;let _0x3e0c25={'eventID':_0x663956['CollaborationEvent'][_0x8018b1(0x34f)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x8018b1(0x177)](),'selection':_0x40abdb(_0x20f146)}};this[_0x8018b1(0x15a)][_0x8018b1(0x226)](_0x3e0c25,this['unitID']);},0x64));}['dispose'](){const _0x50756a=_0x4c80e1;super[_0x50756a(0xe1)](),this[_0x50756a(0x97)][_0x50756a(0xa4)](new Map()),this[_0x50756a(0x97)]['complete'](),this[_0x50756a(0x349)][_0x50756a(0xa4)]([]),this[_0x50756a(0x349)][_0x50756a(0x202)]();}['init'](){const _0x478913=_0x4c80e1;this['_init']||(this[_0x478913(0x10c)]=!0x0,this[_0x478913(0x15a)][_0x478913(0x180)][_0x478913(0x123)]((0x0,_0x3ea80a[_0x478913(0x287)])(this['dispose$']))[_0x478913(0x1e5)](_0x395a0b=>{const _0x5ab21d=_0x478913;_0x395a0b===_0x1e6a94[_0x5ab21d(0x14d)][_0x5ab21d(0x1ac)]?this[_0x5ab21d(0x1e8)]():this[_0x5ab21d(0x2eb)]();}),this[_0x478913(0x15a)][_0x478913(0xca)][_0x478913(0x123)]((0x0,_0x3ea80a[_0x478913(0x287)])(this[_0x478913(0x1a8)]))[_0x478913(0x1e5)](_0x11565f=>{const _0x46cb17=_0x478913;let _0x2a217f=_0x11565f[_0x46cb17(0x2d1)];_0x2a217f===_0x663956[_0x46cb17(0x210)][_0x46cb17(0x34f)]&&this[_0x46cb17(0x203)](_0x11565f),_0x2a217f===_0x663956[_0x46cb17(0x210)][_0x46cb17(0x164)]&&this[_0x46cb17(0x216)](_0x11565f);}),this[_0x478913(0xa2)](this[_0x478913(0x22b)]['onCommandExecuted'](_0x250128=>{const _0x60ccd9=_0x478913;let _0x5bde67=_0x250128['params'];_0x5bde67!=null&&this[_0x60ccd9(0x159)]&&_0x250128['id']===_0x15aabe[_0x60ccd9(0xb9)]['id']&&_0x5bde67['unitId']===this[_0x60ccd9(0x19c)]&&_0x5bde67[_0x60ccd9(0x8e)]===!0x1&&_0x5bde67[_0x60ccd9(0x1bf)][_0x60ccd9(0x292)]>0x0&&this[_0x60ccd9(0x2e4)](_0x5bde67[_0x60ccd9(0x1bf)]);})),this[_0x478913(0x315)][_0x478913(0x34b)][_0x478913(0x123)]((0x0,_0x3ea80a['takeUntil'])(this[_0x478913(0x1a8)]))[_0x478913(0x1e5)](_0x11e5d7=>{const _0x5a2ce8=_0x478913;if((_0x11e5d7==null?void 0x0:_0x11e5d7[_0x5a2ce8(0x19c)])!==this[_0x5a2ce8(0x19c)])return;let _0x5224e6={'eventID':_0x663956[_0x5a2ce8(0x210)]['UPDATE_CURSOR'],'data':_0x11e5d7};this['_onCursorUpdate'](_0x5224e6);}),this[_0x478913(0xa2)](this[_0x478913(0x22b)][_0x478913(0xeb)](_0x34e9db=>{const _0x1ddbd0=_0x478913;if(_0x34e9db[_0x1ddbd0(0x325)]==null)return;let _0x33801b=_0x34e9db['params'];if(_0x34e9db['id']!==_0x15aabe[_0x1ddbd0(0x34d)]['id']||_0x33801b[_0x1ddbd0(0x323)]!==this[_0x1ddbd0(0x19c)])return;let _0x41e8b7={'id':_0x1ddbd0(0x1a7),'params':_0x33801b},_0x56b8df=this[_0x1ddbd0(0xd4)];for(let [_0x170814,_0x33be2f]of _0x56b8df){let _0x3f68cf={'id':_0x1ddbd0(0x1a7),'params':{'unitId':this[_0x1ddbd0(0x19c)],'actions':null,'textRanges':_0x33be2f[_0x1ddbd0(0x1bf)]}},_0x457a48=this[_0x1ddbd0(0x343)][_0x1ddbd0(0x15f)](_0x41e8b7,_0x3f68cf,!0x1);if((0x0,_0x663956['isTransformMutationFailure'])(_0x457a48))throw _0x457a48[_0x1ddbd0(0x169)];_0x56b8df[_0x1ddbd0(0x22d)](_0x170814,{..._0x33be2f,'ranges':_0x457a48[_0x1ddbd0(0x353)][_0x1ddbd0(0x325)]['textRanges']});}queueMicrotask(()=>{const _0x1c427f=_0x1ddbd0;this[_0x1c427f(0x97)][_0x1c427f(0xa4)](_0x56b8df);});})));}[_0x4c80e1(0x203)](_0x3b800a){const _0x545ad7=_0x4c80e1;var _0x574421,_0x2da4e0;let {memberID:_0x5ee679,selection:_0x3e7d17}=_0x3b800a[_0x545ad7(0x274)],_0x2cfda3=_0x4c1006(_0x3e7d17),_0x2efbee=(_0x574421=(_0x2da4e0=this['_memberService'][_0x545ad7(0x2e6)](this['unitID'],_0x5ee679))==null?void 0x0:_0x2da4e0['name'])==null?_0x545ad7(0x29d):_0x574421,_0x10cd5e={'color':this[_0x545ad7(0x352)]['assignAColorForMemberID'](_0x5ee679),'name':_0x2efbee,'ranges':_0x2cfda3},_0x4a3da5=this[_0x545ad7(0xd4)];_0x4a3da5[_0x545ad7(0x22d)](_0x5ee679,_0x10cd5e),this[_0x545ad7(0x97)][_0x545ad7(0xa4)](_0x4a3da5);}[_0x4c80e1(0x216)](_0x5a2b23){const _0x4fd9c4=_0x4c80e1;let {memberID:_0xf53f73}=_0x5a2b23[_0x4fd9c4(0x274)],_0x40e8e8=this[_0x4fd9c4(0xd4)];_0x40e8e8[_0x4fd9c4(0x31b)](_0xf53f73),this[_0x4fd9c4(0x97)][_0x4fd9c4(0xa4)](_0x40e8e8);}[_0x4c80e1(0x1e8)](){const _0x444473=_0x4c80e1;var _0x4d3e38;if(this[_0x444473(0x159)]=!0x0,((_0x4d3e38=this[_0x444473(0x31a)]['getFocusedUnit']())==null?void 0x0:_0x4d3e38['getUnitId']())!==this[_0x444473(0x19c)])return;let _0x58b6cb=this[_0x444473(0x2f6)][_0x444473(0x148)](_0x15aabe[_0x444473(0x33c)])['getDocRanges']();Array['isArray'](_0x58b6cb)&&_0x58b6cb[_0x444473(0x292)]>0x0&&this[_0x444473(0x2e4)](_0x58b6cb);}['_toggleOffline'](){const _0x42b36f=_0x4c80e1;this[_0x42b36f(0x159)]=!0x1;}};_0x17f468=_0x5d52c5([_0x2e6e37(0x2,(0x0,_0x45c421['Inject'])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x3,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x4b3196)),_0x2e6e37(0x4,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x1e6a94['MemberService'])),_0x2e6e37(0x5,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x24123b)),_0x2e6e37(0x6,_0x663956[_0x4c80e1(0x305)]),_0x2e6e37(0x7,_0x45c421[_0x4c80e1(0x138)]),_0x2e6e37(0x8,_0x45c421[_0x4c80e1(0x1de)])],_0x17f468);let _0x2a53b6=()=>{let _0x41ef48=[],_0x100957=!0x1;return _0x15aec0=>{const _0x798293=_0x2e69;_0x41ef48[_0x798293(0x2fa)](_0x15aec0),_0x100957||(_0x100957=!0x0,setTimeout(()=>{_0x41ef48['forEach'](_0x31b850=>_0x31b850()),_0x41ef48=[],_0x100957=!0x1;}));};},_0x1a8d67=class extends _0x45c421[_0x4c80e1(0x15d)]{get[_0x4c80e1(0xd4)](){const _0x3466d5=_0x4c80e1;return this[_0x3466d5(0x97)][_0x3466d5(0x2f0)]();}get[_0x4c80e1(0x318)](){const _0xc23619=_0x4c80e1;return this['_roomMembers$'][_0xc23619(0x2f0)]();}constructor(_0x1c170e,_0x4c28ad,_0x1a4da4,_0x590623,_0xbb5235,_0x2981f1,_0x69e072,_0x436200){const _0x4c3048=_0x4c80e1;super(),this[_0x4c3048(0x19c)]=_0x1c170e,this[_0x4c3048(0x15a)]=_0x4c28ad,this[_0x4c3048(0x2f6)]=_0x1a4da4,this[_0x4c3048(0x352)]=_0x590623,this[_0x4c3048(0x1c7)]=_0xbb5235,this['_univerInstanceService']=_0x2981f1,this[_0x4c3048(0x22b)]=_0x69e072,this[_0x4c3048(0x132)]=_0x436200,_0x2f9172(this,_0x4c3048(0x159),!0x1),_0x2f9172(this,_0x4c3048(0x10c),!0x1),_0x2f9172(this,_0x4c3048(0x97),new _0x3ea80a[(_0x4c3048(0x140))](new Map())),_0x2f9172(this,_0x4c3048(0x9f),this['_cursorInfo$'][_0x4c3048(0xae)]()),_0x2f9172(this,'_roomMembers$',new _0x3ea80a[(_0x4c3048(0x140))]([])),_0x2f9172(this,_0x4c3048(0x31c),this[_0x4c3048(0x349)][_0x4c3048(0x123)]((0x0,_0x3ea80a[_0x4c3048(0x2f7)])(0x12c))),_0x2f9172(this,_0x4c3048(0x2e4),(0x0,_0x45c421['debounce'])((_0x4e921e,_0x45fabc)=>{const _0x3e84e4=_0x4c3048;let _0xb390cd={'eventID':_0x663956[_0x3e84e4(0x210)][_0x3e84e4(0x34f)],'data':{'unitID':this['unitID'],'memberID':this[_0x3e84e4(0x15a)][_0x3e84e4(0x177)](),'selection':(0x0,_0x516276[_0x3e84e4(0xcb)])(_0x4e921e,_0x45fabc[_0x3e84e4(0x13d)])}};this[_0x3e84e4(0x15a)][_0x3e84e4(0x226)](_0xb390cd,this[_0x3e84e4(0x19c)]);},0x64));}['dispose'](){const _0x5b73dc=_0x4c80e1;super[_0x5b73dc(0xe1)](),this[_0x5b73dc(0x97)]['next'](new Map()),this[_0x5b73dc(0x97)][_0x5b73dc(0x202)](),this[_0x5b73dc(0x349)][_0x5b73dc(0xa4)]([]),this['_roomMembers$'][_0x5b73dc(0x202)]();}[_0x4c80e1(0x126)](){const _0x308a0e=_0x4c80e1;this[_0x308a0e(0x10c)]||(this[_0x308a0e(0x10c)]=!0x0,this[_0x308a0e(0x15a)][_0x308a0e(0x180)]['pipe']((0x0,_0x3ea80a['takeUntil'])(this[_0x308a0e(0x1a8)]))['subscribe'](_0x33291b=>{const _0x105874=_0x308a0e;_0x33291b===_0x1e6a94['SessionStatus']['ONLINE']?this[_0x105874(0x1e8)]():this[_0x105874(0x2eb)]();}),this[_0x308a0e(0x15a)][_0x308a0e(0xca)][_0x308a0e(0x123)]((0x0,_0x3ea80a[_0x308a0e(0x287)])(this[_0x308a0e(0x1a8)]))[_0x308a0e(0x1e5)](_0x4da7f0=>{const _0x5c9706=_0x308a0e;let _0x52a10a=_0x4da7f0[_0x5c9706(0x2d1)];_0x52a10a===_0x663956[_0x5c9706(0x210)][_0x5c9706(0x34f)]&&this[_0x5c9706(0x203)](_0x4da7f0),_0x52a10a===_0x663956[_0x5c9706(0x210)][_0x5c9706(0x164)]&&this[_0x5c9706(0x216)](_0x4da7f0);}),this['_onRefRangeChange'](),this[_0x308a0e(0xa2)](this[_0x308a0e(0x22b)][_0x308a0e(0xeb)](_0xf47f26=>{const _0x199354=_0x308a0e;if(this[_0x199354(0x159)]&&_0xf47f26['id']===_0x369070['SetSelectionsOperation']['id']&&_0xf47f26['params'][_0x199354(0x323)]===this[_0x199354(0x19c)]){let _0x102d25=_0xf47f26[_0x199354(0x325)];this['_updateLocalCursor'](_0x102d25[_0x199354(0xb5)],_0x102d25[_0x199354(0xd0)][0x0]);}})));}[_0x4c80e1(0x203)](_0x2f4602){const _0x465498=_0x4c80e1;var _0x329244,_0x599cc4;let {memberID:_0x19d324,selection:_0x94503e}=_0x2f4602[_0x465498(0x274)],{sheetName:_0x55d5db,range:_0x270fff}=(0x0,_0x516276[_0x465498(0x251)])(_0x94503e),_0x1a242c={'name':(_0x329244=(_0x599cc4=this[_0x465498(0x1c7)][_0x465498(0x2e6)](this[_0x465498(0x19c)],_0x19d324))==null?void 0x0:_0x599cc4['name'])==null?'Unknown\x20user':_0x329244,'range':this['_getMergeRange'](_0x55d5db,_0x270fff),'sheetID':_0x55d5db,'color':this[_0x465498(0x352)]['assignAColorForMemberID'](_0x19d324),'selection':_0x94503e},_0x234175=this[_0x465498(0xd4)];_0x234175[_0x465498(0x22d)](_0x19d324,_0x1a242c),this[_0x465498(0x97)][_0x465498(0xa4)](_0x234175);}[_0x4c80e1(0x216)](_0x2b3180){const _0x5b367f=_0x4c80e1;let {memberID:_0x523c14}=_0x2b3180['data'],_0x4069f7=this[_0x5b367f(0xd4)];_0x4069f7['delete'](_0x523c14),this['_cursorInfo$']['next'](_0x4069f7);}[_0x4c80e1(0x334)](_0x3e30d1,_0x21623d){const _0x4cb576=_0x4c80e1;var _0x28a48c;let _0x4e87de=(_0x28a48c=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x4cb576(0x19c)]))==null||(_0x28a48c=_0x28a48c[_0x4cb576(0x184)](_0x3e30d1))==null?void 0x0:_0x28a48c[_0x4cb576(0x212)]();return(_0x4e87de==null?void 0x0:_0x4e87de[_0x4cb576(0xb0)](_0x379ff5=>_0x45c421[_0x4cb576(0x106)][_0x4cb576(0x257)](_0x379ff5,_0x21623d)))||_0x21623d;}['_onRefRangeChange'](){const _0x32c9e1=_0x4c80e1;let _0x652797=new _0x45c421[(_0x32c9e1(0x238))](),_0x2bba7b=_0x2a53b6(),_0x2b75f2=()=>{const _0x1b332b=_0x32c9e1;_0x652797[_0x1b332b(0xe1)]();let _0x3d9e68=(_0x2541ae,_0x80f97,_0x1bfae2,_0x168edf)=>{const _0x1a6593=_0x1b332b;let _0x3fbb28=[];switch(_0x2541ae['id']){case _0x369070[_0x1a6593(0x89)]['DeleteRangeMoveLeftCommandId']:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x2ef)])(_0x2541ae,_0x168edf);break;case _0x369070[_0x1a6593(0x89)]['DeleteRangeMoveUpCommandId']:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x25f)])(_0x2541ae,_0x168edf);break;case _0x369070[_0x1a6593(0x89)][_0x1a6593(0x13a)]:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x290)])(_0x2541ae,_0x168edf);break;case _0x369070[_0x1a6593(0x89)][_0x1a6593(0x113)]:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x17f)])(_0x2541ae,_0x168edf);break;case _0x369070[_0x1a6593(0x89)][_0x1a6593(0x173)]:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x348)])(_0x2541ae,_0x168edf);break;case _0x369070['EffectRefRangId']['InsertRowCommandId']:_0x3fbb28=(0x0,_0x369070['handleInsertRow'])(_0x2541ae,_0x168edf);break;case _0x369070[_0x1a6593(0x89)][_0x1a6593(0xed)]:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x2fb)])(_0x2541ae,_0x168edf);break;case _0x369070['EffectRefRangId'][_0x1a6593(0x160)]:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x26d)])(_0x2541ae,_0x168edf);break;case _0x369070['EffectRefRangId']['RemoveRowCommandId']:_0x3fbb28=(0x0,_0x369070[_0x1a6593(0x109)])(_0x2541ae,_0x168edf);break;}let _0x363296=(0x0,_0x369070[_0x1a6593(0x142)])(_0x3fbb28,_0x168edf),_0x31cfe7=this[_0x1a6593(0xd4)][_0x1a6593(0x148)](_0x80f97);if(_0x31cfe7&&_0x363296){let _0x1ea4c6={..._0x31cfe7,'range':_0x363296};this[_0x1a6593(0xd4)][_0x1a6593(0x22d)](_0x80f97,_0x1ea4c6),_0x2bba7b(()=>{const _0x590c76=_0x1a6593;let _0x5d1739=this[_0x590c76(0x132)][_0x590c76(0x28b)](_0x363296,_0x270c3c=>(_0x5d1739[_0x590c76(0xe1)](),_0x3d9e68(_0x270c3c,_0x80f97,_0x1bfae2,_0x363296)));_0x652797[_0x590c76(0xa0)](_0x5d1739);});}return{'redos':[],'undos':[]};};this[_0x1b332b(0xd4)][_0x1b332b(0x1a9)]((_0x287322,_0xece59)=>{const _0x234e77=_0x1b332b;let {range:_0x6cfe64,sheetID:_0x1f4852}=_0x287322,_0x4a68cb=this[_0x234e77(0x132)][_0x234e77(0x28b)](_0x6cfe64,_0x34d6a8=>(_0x4a68cb[_0x234e77(0xe1)](),_0x3d9e68(_0x34d6a8,_0xece59,_0x1f4852,_0x6cfe64)));_0x652797[_0x234e77(0xa0)](_0x4a68cb);});};this[_0x32c9e1(0xa2)]((0x0,_0x45c421[_0x32c9e1(0x294)])(this[_0x32c9e1(0x97)][_0x32c9e1(0x1e5)](()=>{_0x2b75f2();})));}[_0x4c80e1(0x1e8)](){const _0x399185=_0x4c80e1;var _0x375ae8,_0x1a5745;if(this['_online']=!0x0,((_0x375ae8=this[_0x399185(0x31a)][_0x399185(0x2e9)]())==null?void 0x0:_0x375ae8['getUnitId']())!==this[_0x399185(0x19c)])return;let _0x3a4f65=(_0x1a5745=this[_0x399185(0x2f6)][_0x399185(0x148)](_0x369070[_0x399185(0x18a)])['getCurrentSelections']())==null?void 0x0:_0x1a5745[0x0],_0xb6d490=this[_0x399185(0x31a)][_0x399185(0x32b)](_0x45c421['UniverInstanceType'][_0x399185(0x2da)])['getActiveSheet']();_0x3a4f65&&_0xb6d490&&this[_0x399185(0x2e4)](_0xb6d490[_0x399185(0x8d)](),_0x3a4f65);}[_0x4c80e1(0x2eb)](){this['_online']=!0x1;}};_0x1a8d67=_0x5d52c5([_0x2e6e37(0x2,(0x0,_0x45c421['Inject'])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x3,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x4b3196)),_0x2e6e37(0x4,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x1e6a94[_0x4c80e1(0x1cb)])),_0x2e6e37(0x5,_0x45c421['IUniverInstanceService']),_0x2e6e37(0x6,_0x45c421[_0x4c80e1(0x1de)]),_0x2e6e37(0x7,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x369070[_0x4c80e1(0xce)]))],_0x1a8d67);let _0x281315=class extends _0x45c421['RxDisposable']{constructor(_0x3fecac,_0x16840e,_0x1b2ba9){const _0x267e0d=_0x4c80e1;super(),this['_univerInstanceService']=_0x3fecac,this[_0x267e0d(0x2f6)]=_0x16840e,this[_0x267e0d(0x2b0)]=_0x1b2ba9,_0x2f9172(this,_0x267e0d(0x13c),new Map()),_0x2f9172(this,_0x267e0d(0xac),new _0x3ea80a[(_0x267e0d(0x336))]()),this[_0x267e0d(0x10c)]();}['dispose'](){const _0x1316cb=_0x4c80e1;super[_0x1316cb(0xe1)](),this[_0x1316cb(0xac)][_0x1316cb(0x202)](),this[_0x1316cb(0x13c)][_0x1316cb(0x1a9)](_0x2a0e0c=>_0x2a0e0c[_0x1316cb(0xe1)]());}['getCollabCursors$'](_0x2ffc9f){const _0x4b1ff6=_0x4c80e1;return this[_0x4b1ff6(0x13c)][_0x4b1ff6(0x33d)](_0x2ffc9f)?this[_0x4b1ff6(0x13c)][_0x4b1ff6(0x148)](_0x2ffc9f)[_0x4b1ff6(0x9f)]:this[_0x4b1ff6(0xac)][_0x4b1ff6(0x123)]((0x0,_0x3ea80a[_0x4b1ff6(0x2f5)])(_0x4108a1=>_0x4108a1[_0x4b1ff6(0x19c)]===_0x2ffc9f),(0x0,_0x3ea80a[_0x4b1ff6(0xe4)])(_0x3b7343=>_0x3b7343['cursorInfo$']));}[_0x4c80e1(0x10c)](){const _0x20a322=_0x4c80e1;this[_0x20a322(0x31a)][_0x20a322(0x30c)](_0x45c421[_0x20a322(0x1b2)]['UNIVER_SHEET'])[_0x20a322(0x123)]((0x0,_0x3ea80a[_0x20a322(0x287)])(this[_0x20a322(0x1a8)]))[_0x20a322(0x1e5)](async _0x1db379=>{const _0x351d0a=_0x20a322;let _0x659ef1=_0x1db379[_0x351d0a(0x1c1)][_0x351d0a(0x191)](),_0xe5937a=await this[_0x351d0a(0x1fe)](_0x659ef1);this['_entityInit$'][_0x351d0a(0xa4)](_0xe5937a),this['_entities'][_0x351d0a(0x22d)](_0x659ef1,_0xe5937a);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x45c421[_0x20a322(0x1b2)]['UNIVER_DOC'])[_0x20a322(0x123)]((0x0,_0x3ea80a['takeUntil'])(this['dispose$']))[_0x20a322(0x123)]((0x0,_0x3ea80a['filter'])(_0x154849=>!_0x154849[_0x20a322(0x1c1)][_0x20a322(0x191)]()[_0x20a322(0x2c0)]('__')))[_0x20a322(0x1e5)](async _0x42b4b4=>{const _0x4f04cc=_0x20a322;let {unit:_0x10d8fb}=_0x42b4b4,_0x15f4b7=_0x10d8fb[_0x4f04cc(0x191)](),_0x32cdaf=await this[_0x4f04cc(0x286)](_0x15f4b7);this[_0x4f04cc(0xac)][_0x4f04cc(0xa4)](_0x32cdaf),this[_0x4f04cc(0x13c)][_0x4f04cc(0x22d)](_0x15f4b7,_0x32cdaf);}),(0x0,_0x3ea80a['merge'])(this['_univerInstanceService'][_0x20a322(0x21e)](_0x45c421[_0x20a322(0x1b2)][_0x20a322(0x11a)]),this[_0x20a322(0x31a)][_0x20a322(0x21e)](_0x45c421[_0x20a322(0x1b2)][_0x20a322(0x2da)]))[_0x20a322(0x123)]((0x0,_0x3ea80a[_0x20a322(0x287)])(this[_0x20a322(0x1a8)]))[_0x20a322(0x1e5)](_0x210b42=>{const _0x5bf37b=_0x20a322;let _0x3e91df=_0x210b42[_0x5bf37b(0x191)](),_0x23bf0b=this[_0x5bf37b(0x13c)]['get'](_0x3e91df);_0x23bf0b&&(_0x23bf0b['dispose'](),this[_0x5bf37b(0x13c)][_0x5bf37b(0x31b)](_0x3e91df));});}async[_0x4c80e1(0x1fe)](_0x13e257){const _0x132993=_0x4c80e1;let _0x56c9f1=await this[_0x132993(0x2b0)][_0x132993(0x121)](_0x13e257),_0x37702a=this[_0x132993(0x2f6)][_0x132993(0xc2)](_0x1a8d67,_0x13e257,_0x56c9f1);return _0x37702a['init'](),_0x37702a;}async['_startDocCollabCursor'](_0x270c02){const _0x4d98fe=_0x4c80e1;let _0x4bc572=await this[_0x4d98fe(0x2b0)][_0x4d98fe(0x121)](_0x270c02),_0x4b5673=this['_injector'][_0x4d98fe(0xc2)](_0x17f468,_0x270c02,_0x4bc572);return _0x4b5673[_0x4d98fe(0x126)](),_0x4b5673;}};_0x281315=_0x5d52c5([_0x2e6e37(0x0,_0x45c421['IUniverInstanceService']),_0x2e6e37(0x1,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x1e6a94[_0x4c80e1(0x33a)]))],_0x281315);function _0x1fd18d(_0x216378,_0x532de9){const _0x4a3cf9=_0x4c80e1;var _0xbab85c,_0x2ebd5e,_0x45c8c8;let {radius:_0x33e921,width:_0x523baa,height:_0x56ca8f}=_0x532de9;_0x33e921=(_0xbab85c=_0x33e921)==null?0x0:_0xbab85c,_0x523baa=(_0x2ebd5e=_0x523baa)==null?0x1e:_0x2ebd5e,_0x56ca8f=(_0x45c8c8=_0x56ca8f)==null?0x1e:_0x45c8c8;let _0x4a11d0=0x0,_0x25a3bb=0x0,_0x462a92=0x0;_0x4a11d0=_0x25a3bb=_0x462a92=Math[_0x4a3cf9(0x112)](_0x33e921,_0x523baa/0x2,_0x56ca8f/0x2),_0x216378[_0x4a3cf9(0xb8)](),_0x216378['moveTo'](_0x4a11d0,0x0),_0x216378[_0x4a3cf9(0x156)](_0x523baa-_0x25a3bb,0x0),_0x216378['arc'](_0x523baa-_0x25a3bb,_0x25a3bb,_0x25a3bb,Math['PI']*0x3/0x2,0x0,!0x1),_0x216378[_0x4a3cf9(0x156)](_0x523baa,_0x56ca8f-_0x462a92),_0x216378[_0x4a3cf9(0x13b)](_0x523baa-_0x462a92,_0x56ca8f-_0x462a92,_0x462a92,0x0,Math['PI']/0x2,!0x1),_0x216378[_0x4a3cf9(0x156)](0x0,_0x56ca8f),_0x216378['lineTo'](0x0,_0x4a11d0),_0x216378[_0x4a3cf9(0x13b)](_0x4a11d0,_0x4a11d0,_0x4a11d0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x216378[_0x4a3cf9(0x1ab)](),_0x532de9['fill']&&(_0x216378[_0x4a3cf9(0xf0)](),_0x216378[_0x4a3cf9(0x8f)]=_0x532de9[_0x4a3cf9(0x20c)],_0x532de9[_0x4a3cf9(0x19a)]===_0x4a3cf9(0x331)?_0x216378[_0x4a3cf9(0x20c)]('evenodd'):_0x216378[_0x4a3cf9(0x20c)](),_0x216378[_0x4a3cf9(0x312)]());}var _0x147932=class _0xd607a5 extends _0x5842f2[_0x4c80e1(0x19e)]{constructor(_0xd382cd,_0x42208b){const _0x4efbbc=_0x4c80e1;super(_0xd382cd,_0x42208b),_0x2f9172(this,_0x4efbbc(0x342),void 0x0),_0x2f9172(this,_0x4efbbc(0xfc),void 0x0),this[_0x4efbbc(0x342)]=_0x42208b==null?void 0x0:_0x42208b[_0x4efbbc(0x342)],this['text']=_0x42208b==null?void 0x0:_0x42208b[_0x4efbbc(0xfc)];}static[_0x4c80e1(0x25b)](_0x2a98ff,_0x23d96c){const _0xf6bad6=_0x4c80e1;let {text:_0x3addba,color:_0xcc19ac}=_0x23d96c;_0x2a98ff[_0xf6bad6(0xf0)](),_0x2a98ff[_0xf6bad6(0x275)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x1a5aed=_0x2a98ff[_0xf6bad6(0x1dd)](_0x3addba)['width'];if(_0x1fd18d(_0x2a98ff,{'height':0x14,'radius':0x4,'width':Math[_0xf6bad6(0x112)](_0x1a5aed+0x8,0xc8),'fill':_0xcc19ac,'evented':!0x1}),_0x2a98ff[_0xf6bad6(0x8f)]=_0xf6bad6(0x34c),_0x1a5aed>0xc0){let _0x91801f='',_0x4e3c34=0x0;for(let _0x19c68b of _0x3addba){let _0x1d7f15=_0x2a98ff[_0xf6bad6(0x1dd)](_0x19c68b)[_0xf6bad6(0xe3)];if(_0x4e3c34+_0x1d7f15<=0xc0-_0x2a98ff[_0xf6bad6(0x1dd)](_0xf6bad6(0x258))[_0xf6bad6(0xe3)])_0x91801f+=_0x19c68b,_0x4e3c34+=_0x1d7f15;else{_0x91801f+=_0xf6bad6(0x258);break;}}_0x2a98ff[_0xf6bad6(0x2b6)](_0x91801f,0x4,0xf);}else _0x2a98ff['fillText'](_0x3addba,0x4,0xf);_0x2a98ff['restore']();}['_draw'](_0x2f2094){const _0x5400dd=_0x4c80e1;_0xd607a5[_0x5400dd(0x25b)](_0x2f2094,this);}};let _0x588aad=_0x4c80e1(0xbb);var _0x38e0d4=class{constructor(_0x5ce42e,_0x3ffd5c,_0x217df4,_0x4ac807){const _0xc033a1=_0x4c80e1;this[_0xc033a1(0x11f)]=_0x5ce42e,this['_scene']=_0x3ffd5c,this[_0xc033a1(0x351)]=_0x217df4,this['_document']=_0x4ac807,_0x2f9172(this,_0xc033a1(0x1e1),[]),_0x2f9172(this,'_anchor',null),_0x2f9172(this,_0xc033a1(0xf4),null),_0x2f9172(this,_0xc033a1(0x23f),null),_0x2f9172(this,'_hideTimer',null),_0x2f9172(this,_0xc033a1(0x23b),null),this[_0xc033a1(0x11d)]();}set[_0x4c80e1(0x2b7)](_0x2d6292){const _0x29260e=_0x4c80e1;_0x2d6292?(this[_0x29260e(0x23f)]&&this['_anchorDot'][_0x29260e(0x1b6)](),this[_0x29260e(0xf4)]&&this[_0x29260e(0xf4)][_0x29260e(0x35b)]()):(this[_0x29260e(0x23f)]&&this[_0x29260e(0x23f)][_0x29260e(0x35b)](),this[_0x29260e(0xf4)]&&this[_0x29260e(0xf4)]['hide']());}['dispose'](){const _0x3aa30f=_0x4c80e1;for(let _0x139441 of this[_0x3aa30f(0x1e1)])_0x139441[_0x3aa30f(0xe1)]();this['_textBubble']&&this[_0x3aa30f(0xf4)]['dispose'](),this[_0x3aa30f(0x23f)]&&this[_0x3aa30f(0x23f)][_0x3aa30f(0xe1)](),this[_0x3aa30f(0x310)]&&this[_0x3aa30f(0x310)][_0x3aa30f(0xe1)](),this[_0x3aa30f(0x23b)]&&this[_0x3aa30f(0x23b)]();}[_0x4c80e1(0x11d)](){const _0x1941d5=_0x4c80e1;let {_docSkeleton:_0x31fbbd,_document:_0x7a6ffb}=this,{color:_0x1fab7f,name:_0x521d83,ranges:_0x2e6e43}=this['_cursor'],_0x281603=_0x7a6ffb[_0x1941d5(0xf9)](),{docsLeft:_0x2b8be6,docsTop:_0x42c5b5}=_0x281603,_0x47e36a=new _0x287598[(_0x1941d5(0xc3))](_0x281603,_0x31fbbd);for(let {startOffset:_0x4927d,endOffset:_0x5600df,rangeType:_0x38b16,segmentId:_0x5b56ed,segmentPage:_0x50a74c,collapsed:_0x12c01c,isActive:_0x2ef710}of _0x2e6e43){let _0x21606f=_0x31fbbd[_0x1941d5(0x91)](_0x4927d,!0x0,_0x5b56ed,_0x50a74c),_0x2643e2=_0x31fbbd[_0x1941d5(0x91)](_0x5600df,!0x0,_0x5b56ed,_0x50a74c);if(_0x2643e2==null&&(_0x2643e2=_0x31fbbd[_0x1941d5(0x91)](_0x5600df-0x1,!0x1,_0x5b56ed,_0x50a74c)),_0x2ef710){let {contentBoxPointGroup:_0x2d3a26}=_0x47e36a[_0x1941d5(0x249)](_0x2643e2,_0x2643e2);if(_0x2d3a26[_0x1941d5(0x292)]===0x0)continue;this[_0x1941d5(0x181)](_0x1fab7f,_0x2d3a26,_0x2b8be6,_0x42c5b5,_0x521d83),this[_0x1941d5(0x23b)]=this[_0x1941d5(0x2c3)]();}if(_0x21606f&&_0x2643e2){if(_0x38b16===_0x45c421[_0x1941d5(0x187)][_0x1941d5(0xc9)]){var _0x35cf4e;let {pointGroup:_0x27faf7}=(_0x35cf4e=new _0x287598[(_0x1941d5(0x2f2))](_0x281603,_0x31fbbd)[_0x1941d5(0x249)](_0x21606f,_0x2643e2))==null?{}:_0x35cf4e;if(_0x27faf7==null||_0x27faf7[_0x1941d5(0x292)]===0x0)continue;this[_0x1941d5(0x87)](_0x1fab7f,_0x27faf7,_0x2b8be6,_0x42c5b5);}else{if(!_0x12c01c){let {borderBoxPointGroup:_0x372368}=_0x47e36a['getRangePointData'](_0x21606f,_0x2643e2);if(_0x372368[_0x1941d5(0x292)]===0x0)continue;this['_drawTextRange'](_0x1fab7f,_0x372368,_0x2b8be6,_0x42c5b5);}}}}}[_0x4c80e1(0x181)](_0x5ecaa,_0x232428,_0x526690,_0x5c6bd1,_0x42c728){const _0x6a230c=_0x4c80e1;let {left:_0x33f61b,top:_0x37bb4c,height:_0x3c739b}=this[_0x6a230c(0x24b)](_0x232428),_0x24f244=1.5/this[_0x6a230c(0x2e3)](),_0x2b56ce=new _0x5842f2['Rect'](_0x588aad+(0x0,_0x45c421[_0x6a230c(0xf3)])(0x6),{'left':_0x33f61b+_0x526690-_0x24f244,'top':_0x37bb4c+_0x5c6bd1,'height':_0x3c739b,'width':1.5,'fill':_0x5ecaa||(0x0,_0x5842f2['getColor'])(_0x45c421[_0x6a230c(0x21c)][_0x6a230c(0x170)],0x0),'strokeWidth':_0x24f244,'stroke':_0x6a230c(0x15e),'evented':!0x0});this['_anchor']=_0x2b56ce,this[_0x6a230c(0x1bb)][_0x6a230c(0x354)](_0x2b56ce,_0x287598['TEXT_RANGE_LAYER_INDEX']);let _0x4bc0f4=new _0x5842f2['Rect'](_0x588aad+(0x0,_0x45c421[_0x6a230c(0xf3)])(0x6),{'left':_0x33f61b+_0x526690-_0x24f244,'top':_0x37bb4c+_0x5c6bd1-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x5ecaa||(0x0,_0x5842f2['getColor'])(_0x45c421[_0x6a230c(0x21c)][_0x6a230c(0x170)],0x0),'strokeWidth':0x0,'stroke':_0x5ecaa||(0x0,_0x5842f2[_0x6a230c(0x27a)])(_0x45c421['COLORS'][_0x6a230c(0x170)],0x0),'evented':!0x1});this[_0x6a230c(0x23f)]=_0x4bc0f4,this[_0x6a230c(0x1bb)][_0x6a230c(0x354)](_0x4bc0f4,_0x287598[_0x6a230c(0x1d4)]);let _0x2d3f26=new _0x147932(_0x588aad+(0x0,_0x45c421[_0x6a230c(0xf3)])(0x6),{'left':_0x33f61b+_0x526690-_0x24f244,'top':_0x37bb4c+_0x5c6bd1-0x14,'text':_0x42c728,'color':_0x5ecaa});this['_textBubble']=_0x2d3f26,this['_scene'][_0x6a230c(0x354)](_0x2d3f26,_0x287598[_0x6a230c(0x1d4)]),this['_hover']=!0x1;}[_0x4c80e1(0x2c3)](){const _0x2b5984=_0x4c80e1;let _0x9a55e0=this[_0x2b5984(0x310)][_0x2b5984(0x34e)]['subscribeEvent'](()=>{const _0x48dd6a=_0x2b5984;this[_0x48dd6a(0x2b7)]=!0x0;}),_0x22488a=this[_0x2b5984(0x310)]['onPointerLeave$'][_0x2b5984(0xd1)](()=>{const _0x2131bf=_0x2b5984;this[_0x2131bf(0x350)]&&clearTimeout(this[_0x2131bf(0x350)]),this['_hideTimer']=setTimeout(()=>{const _0x3b659b=_0x2131bf;this[_0x3b659b(0x2b7)]=!0x1;},0x7d0);});return()=>{const _0x3c589a=_0x2b5984;_0x9a55e0['unsubscribe'](),_0x22488a[_0x3c589a(0xee)]();};}[_0x4c80e1(0x12b)](_0x4803c4,_0x26ba10,_0x57fd8a,_0x4238b0){const _0x138f4a=_0x4c80e1;let _0x16aa79=0.2,_0x5757f3=new _0x45c421[(_0x138f4a(0x108))](_0x4803c4)[_0x138f4a(0x311)](_0x16aa79)[_0x138f4a(0x2cc)](),_0x29620f=new _0x5842f2[(_0x138f4a(0x14a))](_0x138f4a(0x1d2)+(0x0,_0x45c421[_0x138f4a(0xf3)])(0x6),{'pointsGroup':_0x26ba10,'fill':_0x5757f3||(0x0,_0x5842f2[_0x138f4a(0x27a)])(_0x45c421[_0x138f4a(0x21c)][_0x138f4a(0x170)],_0x16aa79),'left':_0x57fd8a,'top':_0x4238b0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x138f4a(0x1e1)][_0x138f4a(0x2fa)](_0x29620f),this[_0x138f4a(0x1bb)][_0x138f4a(0x354)](_0x29620f,_0x287598[_0x138f4a(0x1d4)]);}['_drawRectRange'](_0x1fa35d,_0x2203fa,_0x2517d8,_0xa51071){const _0x4b6bbf=_0x4c80e1;let _0x26e100=0.2,_0x2ec52b=new _0x45c421[(_0x4b6bbf(0x108))](_0x1fa35d)[_0x4b6bbf(0x311)](_0x26e100)[_0x4b6bbf(0x2cc)](),_0x226ba5=new _0x5842f2[(_0x4b6bbf(0x14a))](_0x4b6bbf(0x25c)+(0x0,_0x45c421[_0x4b6bbf(0xf3)])(0x6),{'pointsGroup':_0x2203fa,'fill':_0x2ec52b||(0x0,_0x5842f2[_0x4b6bbf(0x27a)])(_0x45c421[_0x4b6bbf(0x21c)][_0x4b6bbf(0x170)],_0x26e100),'left':_0x2517d8,'top':_0xa51071,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4b6bbf(0x2fa)](_0x226ba5),this[_0x4b6bbf(0x1bb)][_0x4b6bbf(0x354)](_0x226ba5,_0x287598[_0x4b6bbf(0x1d4)]);}['_getAnchorBounding'](_0xe3cb62){let _0x430d7d=_0xe3cb62[0x0],_0x3e5ec6=_0x430d7d[0x0],_0x4cc7c6=_0x430d7d[0x2],{x:_0x1f12d8,y:_0x3a5522}=_0x3e5ec6,{x:_0x253e9b,y:_0x27b0af}=_0x4cc7c6;return{'left':_0x1f12d8,'top':_0x3a5522,'width':_0x253e9b-_0x1f12d8,'height':_0x27b0af-_0x3a5522};}[_0x4c80e1(0x2e3)](){const _0x4859ee=_0x4c80e1;let {scaleX:_0x5afd71,scaleY:_0x29bc81}=this[_0x4859ee(0x1bb)][_0x4859ee(0x11b)]();return Math[_0x4859ee(0x176)](_0x5afd71,_0x29bc81);}};let _0x21ff26=class extends _0x45c421['RxDisposable']{constructor(_0x7d6218,_0x24c6d0,_0x3e8bbe,_0x11b908,_0x2f09f9){const _0x48cab2=_0x4c80e1;super(),this[_0x48cab2(0x339)]=_0x7d6218,this[_0x48cab2(0x2c8)]=_0x24c6d0,this[_0x48cab2(0x188)]=_0x3e8bbe,this[_0x48cab2(0x22b)]=_0x11b908,this['_themeService']=_0x2f09f9,_0x2f9172(this,'_cursorShapes',[]),_0x2f9172(this,_0x48cab2(0x1ea),[]),this['_init']();}[_0x4c80e1(0x10c)](){const _0x7b55f=_0x4c80e1;let _0xe5b1ef=this[_0x7b55f(0x339)][_0x7b55f(0x323)],_0x26393c=this[_0x7b55f(0x2c8)];this[_0x7b55f(0xa2)]((0x0,_0x3ea80a[_0x7b55f(0xc6)])([this[_0x7b55f(0x188)]['getCollabCursors$'](_0xe5b1ef),this[_0x7b55f(0x92)][_0x7b55f(0x2ca)]])['pipe']((0x0,_0x2db485[_0x7b55f(0x255)])(([_0x40558a,_0x54de4d])=>({'skeleton':_0x26393c[_0x7b55f(0x1b3)](),'cursors':[..._0x40558a['values']()][_0x7b55f(0x14f)](_0x4b861d=>({..._0x4b861d,'color':this[_0x7b55f(0x92)][_0x7b55f(0x1f9)](_0x4b861d[_0x7b55f(0x342)])}))})))['subscribe'](_0x57fcd4=>{const _0xfb1eca=_0x7b55f;if(this[_0xfb1eca(0x2c4)](),_0x57fcd4){let {skeleton:_0x39b633,cursors:_0x3fb11b}=_0x57fcd4;this['_updateCollabCursors'](_0x39b633,_0x3fb11b);}})),this[_0x7b55f(0x1f7)](),this[_0x7b55f(0x321)]();}['_updateCollabCursors'](_0x58e12b,_0x1838d2){const _0x4671d2=_0x4c80e1;let {scene:_0x4b82ad,mainComponent:_0x50b03b}=this[_0x4671d2(0x339)],_0x5beef1=_0x1838d2[_0x4671d2(0x255)](_0x1ff666=>new _0x38e0d4(_0x1ff666,_0x4b82ad,_0x58e12b,_0x50b03b));this[_0x4671d2(0xa8)]=_0x5beef1,this[_0x4671d2(0x1ea)]=_0x1838d2;}[_0x4c80e1(0x16f)](){const _0x261bcd=_0x4c80e1;this['_removeCollabCursors']();let {scene:_0x3039e1,mainComponent:_0x3138d8}=this[_0x261bcd(0x339)],_0xc3cd05=this[_0x261bcd(0x2c8)][_0x261bcd(0x1b3)](),_0x43d471=this[_0x261bcd(0x1ea)][_0x261bcd(0x255)](_0xf98316=>new _0x38e0d4(_0xf98316,_0x3039e1,_0xc3cd05,_0x3138d8));this[_0x261bcd(0xa8)]=_0x43d471;}['_removeCollabCursors'](){const _0x4519fe=_0x4c80e1;this['_cursorShapes']['forEach'](_0x17c216=>_0x17c216['dispose']()),this[_0x4519fe(0xa8)]=[];}[_0x4c80e1(0x321)](){const _0x19cb02=_0x4c80e1;let _0x36f919=[_0x287598[_0x19cb02(0xfe)]['id']];this['disposeWithMe'](this[_0x19cb02(0x22b)]['onCommandExecuted'](_0x474c64=>{const _0x3dd7fc=_0x19cb02;_0x36f919['includes'](_0x474c64['id'])&&_0x474c64[_0x3dd7fc(0x325)][_0x3dd7fc(0x323)]===this[_0x3dd7fc(0x339)][_0x3dd7fc(0x323)]&&this[_0x3dd7fc(0x16f)]();}));}[_0x4c80e1(0x1f7)](){const _0x2ec893=_0x4c80e1;this[_0x2ec893(0xa2)]((0x0,_0x45c421['fromEventSubject'])(this[_0x2ec893(0x339)][_0x2ec893(0x1e2)][_0x2ec893(0x211)])[_0x2ec893(0x123)]((0x0,_0x2db485[_0x2ec893(0x2f5)])(_0x3b3e6e=>_0x3b3e6e[_0x2ec893(0x223)]===_0x5842f2[_0x2ec893(0x209)][_0x2ec893(0x162)]),(0x0,_0x2db485[_0x2ec893(0x1d3)])(0x10))[_0x2ec893(0x1e5)](()=>{const _0x199ac5=_0x2ec893;this[_0x199ac5(0x16f)]();}));}};_0x21ff26=_0x5d52c5([_0x2e6e37(0x1,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x15aabe[_0x4c80e1(0xfa)])),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x281315)),_0x2e6e37(0x3,_0x45c421['ICommandService']),_0x2e6e37(0x4,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421['ThemeService']))],_0x21ff26);var _0x41018e=class extends _0x5842f2['Shape']{constructor(_0x3bd199,_0x3ca29e){const _0x48193e=_0x4c80e1;if(super(_0x3bd199,_0x3ca29e),_0x2f9172(this,_0x48193e(0x320),void 0x0),_0x2f9172(this,'_hovered',!0x1),_0x2f9172(this,'_range',void 0x0),_0x2f9172(this,'_name',''),_0x2f9172(this,_0x48193e(0x1c0),'top'),_0x2f9172(this,'_backgroundColor',void 0x0),_0x2f9172(this,_0x48193e(0x95),void 0x0),_0x2f9172(this,_0x48193e(0xfd),void 0x0),_0x2f9172(this,'_highlightSecond',0x4),_0x2f9172(this,_0x48193e(0x1a1),void 0x0),_0x2f9172(this,_0x48193e(0x90),void 0x0),_0x2f9172(this,_0x48193e(0x157),!0x0),_0x2f9172(this,'_offsetY',0x0),_0x3ca29e){var _0x1ff87e;if(this[_0x48193e(0x32c)](_0x3ca29e),_0x3ca29e[_0x48193e(0x2e5)]&&((_0x1ff87e=_0x3ca29e['highlightSecond'])==null?this['_highlightSecond']:_0x1ff87e)){var _0x4a51bf;this[_0x48193e(0x357)]((_0x4a51bf=_0x3ca29e[_0x48193e(0x346)])==null?this[_0x48193e(0x192)]:_0x4a51bf);}}this[_0x48193e(0x34e)][_0x48193e(0xd1)](()=>this[_0x48193e(0x32c)]({'hovered':!0x0})),this[_0x48193e(0xe7)][_0x48193e(0xd1)](()=>this[_0x48193e(0x32c)]({'hovered':!0x1}));}[_0x4c80e1(0x243)](_0x5519c5){const _0x50fdcf=_0x4c80e1;this[_0x50fdcf(0xd8)]=_0x5519c5;}['setShapeProps'](_0x5b9bf3){const _0x4f9695=_0x4c80e1;var _0x1e9b05,_0x5b7be4,_0x9ee159,_0x606512,_0x55b21f,_0x59332c,_0x2efe63;this[_0x4f9695(0x320)]=(_0x1e9b05=_0x5b9bf3[_0x4f9695(0x342)])==null?this['_color']:_0x1e9b05,this[_0x4f9695(0x319)]=(_0x5b7be4=_0x5b9bf3['hovered'])==null?this[_0x4f9695(0x319)]:_0x5b7be4,this[_0x4f9695(0x20b)]=(_0x9ee159=_0x5b9bf3[_0x4f9695(0x13d)])==null?this['_range']:_0x9ee159,this['_name']=(_0x606512=_0x5b9bf3[_0x4f9695(0x297)])==null?this[_0x4f9695(0x204)]:_0x606512,this['_labelPosition']=(_0x55b21f=_0x5b9bf3[_0x4f9695(0x21f)])==null?this['_labelPosition']:_0x55b21f,this[_0x4f9695(0x314)]=(_0x59332c=_0x5b9bf3['backgroundColor'])==null?this[_0x4f9695(0x314)]:_0x59332c,this['_showText']=(_0x2efe63=_0x5b9bf3['showText'])==null?this['_showText']:_0x2efe63,_0x5b9bf3[_0x4f9695(0x346)]!==void 0x0&&(this['_highlightSecond']=_0x5b9bf3[_0x4f9695(0x346)]),_0x5b9bf3[_0x4f9695(0x2e5)]!==void 0x0&&(this[_0x4f9695(0xfd)]=_0x5b9bf3[_0x4f9695(0x2e5)]),_0x5b9bf3[_0x4f9695(0x13e)]!==void 0x0&&(this[_0x4f9695(0xd8)]=_0x5b9bf3[_0x4f9695(0x13e)]),this['transformByState']({'width':_0x5b9bf3[_0x4f9695(0xe3)],'height':_0x5b9bf3[_0x4f9695(0x2ee)]});}['onMouseMove'](_0xf6bee7){const _0x15c00c=_0x4c80e1;let {row:_0x48aacc,column:_0x2e11d6}=_0xf6bee7;if(_0x48aacc>=this[_0x15c00c(0x20b)][_0x15c00c(0x144)]&&_0x48aacc<=this[_0x15c00c(0x20b)][_0x15c00c(0x17d)]&&_0x2e11d6>=this[_0x15c00c(0x20b)][_0x15c00c(0x196)]&&_0x2e11d6<=this[_0x15c00c(0x20b)][_0x15c00c(0x1df)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x15c00c(0x32c)]({'hovered':!0x1});}[_0x4c80e1(0x357)](_0x2560ba){const _0x11db67=_0x4c80e1;this[_0x11db67(0x2a8)](),this[_0x11db67(0x157)]=!0x0,this[_0x11db67(0x90)]=window[_0x11db67(0x100)](()=>{const _0x32e796=_0x11db67;this[_0x32e796(0x157)]=!this['_isBlinkVisible'],this[_0x32e796(0x1fd)](!0x0);},0x1f4),this['_blinkTimer']=window[_0x11db67(0x189)](()=>{const _0x4f9aac=_0x11db67;this[_0x4f9aac(0x2a8)](),this[_0x4f9aac(0x157)]=!0x0,this['makeDirty'](!0x0);},_0x2560ba*0x3e8);}[_0x4c80e1(0x2a8)](){const _0x4a2d6d=_0x4c80e1;this[_0x4a2d6d(0x90)]&&(window['clearInterval'](this[_0x4a2d6d(0x90)]),this['_blinkIntervalTimer']=void 0x0),this[_0x4a2d6d(0x1a1)]&&(window[_0x4a2d6d(0x207)](this[_0x4a2d6d(0x1a1)]),this[_0x4a2d6d(0x1a1)]=void 0x0);}['triggerDblclick'](_0x5f2351){return!0x1;}['dispose'](){const _0x347553=_0x4c80e1;this[_0x347553(0x2a8)](),super['dispose']();}[_0x4c80e1(0x1da)](_0x4bf345){const _0x1ee717=_0x4c80e1;let _0x323510=this[_0x1ee717(0x320)],_0x1ec4f7=this[_0x1ee717(0x314)];if(this['_highlight']&&!this['_isBlinkVisible']&&(_0x323510=this[_0x1ee717(0x308)](this[_0x1ee717(0x320)]),_0x1ec4f7=this['_backgroundColor']?this['_getLighterColor'](this['_backgroundColor']):void 0x0),_0x5842f2['Rect'][_0x1ee717(0x25b)](_0x4bf345,{'width':this[_0x1ee717(0xe3)],'height':this[_0x1ee717(0x2ee)],'strokeWidth':this[_0x1ee717(0xbf)]||1.5,'stroke':_0x323510,'evented':!0x1,'fill':_0x1ec4f7}),this['_hovered']||this['_showText']){var _0x1f6b58;_0x4bf345[_0x1ee717(0xf0)](),_0x4bf345['transform'](0x1,0x0,0x0,0x1,this['width'],(this['_labelPosition']===_0x1ee717(0x1af)?0x0:-0x14)+((_0x1f6b58=this[_0x1ee717(0xd8)])==null?0x0:_0x1f6b58)),_0x147932[_0x1ee717(0x25b)](_0x4bf345,{'text':this[_0x1ee717(0x204)],'color':_0x323510}),_0x4bf345['restore']();}}[_0x4c80e1(0x308)](_0x506610){const _0xfe5706=_0x4c80e1;return _0x506610[_0xfe5706(0x2c0)]('#')?_0xfe5706(0x31e)+Number[_0xfe5706(0x1ba)](_0x506610['slice'](0x1,0x3),0x10)+',\x20'+Number[_0xfe5706(0x1ba)](_0x506610[_0xfe5706(0x1f0)](0x3,0x5),0x10)+',\x20'+Number[_0xfe5706(0x1ba)](_0x506610[_0xfe5706(0x1f0)](0x5,0x7),0x10)+_0xfe5706(0x1aa):_0x506610[_0xfe5706(0x2c0)](_0xfe5706(0x2d0))?_0x506610[_0xfe5706(0x283)](/[\d.]+\)$/g,'0.2)'):_0x506610[_0xfe5706(0x2c0)]('rgb')?_0x506610['replace'](_0xfe5706(0x31f),_0xfe5706(0x2d0))[_0xfe5706(0x283)](')',_0xfe5706(0x1aa)):_0x506610;}};let _0x75436b=class extends _0x45c421['RxDisposable']{constructor(_0x1c27fb,_0x16681c,_0x3823ea,_0x58ed00){const _0x4278c5=_0x4c80e1;super(),this['_context']=_0x1c27fb,this[_0x4278c5(0x34a)]=_0x16681c,this[_0x4278c5(0x188)]=_0x3823ea,this[_0x4278c5(0x92)]=_0x58ed00,_0x2f9172(this,_0x4278c5(0x1ea),new Set()),_0x2f9172(this,_0x4278c5(0x135),null),this[_0x4278c5(0x10c)]();}[_0x4c80e1(0x10c)](){const _0x22ef38=_0x4c80e1;this[_0x22ef38(0x34a)]['currentSkeleton$']['pipe']((0x0,_0x2db485[_0x22ef38(0x287)])(this[_0x22ef38(0x1a8)]),(0x0,_0x2db485[_0x22ef38(0xe4)])(_0x529028=>{const _0x2860f6=_0x22ef38;if(_0x529028){let _0x2e17f5=_0x529028[_0x2860f6(0x2a1)];return(0x0,_0x3ea80a[_0x2860f6(0xc6)])(this['_collabCursorController'][_0x2860f6(0x2af)](this[_0x2860f6(0x339)]['unitId']),this[_0x2860f6(0x92)][_0x2860f6(0x2ca)])[_0x2860f6(0x123)]((0x0,_0x2db485[_0x2860f6(0x255)])(([_0x42f033,_0x52e62f])=>{let _0x39c664=new Map();return _0x42f033['forEach']((_0x4e19b3,_0x2a2bf5)=>{const _0x2a8c46=_0x2e69;if(_0x4e19b3['sheetID']===_0x2e17f5){let _0x5f5a6b={..._0x4e19b3};_0x5f5a6b[_0x2a8c46(0x342)]=this['_themeService'][_0x2a8c46(0x1f9)](_0x4e19b3[_0x2a8c46(0x342)]),_0x39c664[_0x2a8c46(0x22d)](_0x2a2bf5,_0x5f5a6b);}}),{'skeleton':_0x529028,'cursors':_0x39c664};}));}return(0x0,_0x3ea80a['of'])({'skeleton':null,'cursors':new Map()});}))[_0x22ef38(0x1e5)](({skeleton:_0x23e47a,cursors:_0x4632b8})=>{const _0x831985=_0x22ef38;this[_0x831985(0x2c4)](),_0x23e47a&&this['_updateCollabCursors'](_0x23e47a,_0x4632b8);}),this[_0x22ef38(0x34a)][_0x22ef38(0x124)][_0x22ef38(0x1e5)](_0x533481=>{const _0x373709=_0x22ef38;if(_0x533481==null)return;let {skeleton:_0x111408}=_0x533481,{scene:_0x202a4d}=this['_context'];_0x202a4d['onPointerMove$'][_0x373709(0xd1)]((0x0,_0x45c421[_0x373709(0x206)])(_0x294bc0=>{const _0x186e60=_0x373709;var _0x9f4513,_0x55599f;let {offsetX:_0x1fc65f,offsetY:_0x5c4e8f}=_0x294bc0,{x:_0x56d4fa,y:_0x12c065}=_0x202a4d[_0x186e60(0xfb)](_0x5842f2[_0x186e60(0x261)][_0x186e60(0x115)]([_0x1fc65f,_0x5c4e8f])),{scaleX:_0x18b5b7,scaleY:_0x2dfe84}=_0x202a4d[_0x186e60(0x11b)](),_0x125402=_0x202a4d['getViewport'](_0x5842f2[_0x186e60(0x2d3)]['VIEW_MAIN']),_0x510923=_0x202a4d[_0x186e60(0x145)](_0x5842f2[_0x186e60(0x261)][_0x186e60(0x115)]([_0x56d4fa,_0x12c065]),_0x125402),_0x57b530=_0x111408['getCellPositionByOffset'](_0x1fc65f,_0x5c4e8f,_0x18b5b7,_0x2dfe84,_0x510923);((_0x9f4513=this['_lastPointer'])==null?void 0x0:_0x9f4513['column'])===_0x57b530['column']&&((_0x55599f=this[_0x186e60(0x135)])==null?void 0x0:_0x55599f['row'])===_0x57b530[_0x186e60(0x281)]||this[_0x186e60(0x1ea)][_0x186e60(0x1a9)](_0x21d270=>{const _0x397d3d=_0x186e60;_0x21d270[_0x397d3d(0x2a0)](_0x57b530);});},0x64));});}[_0x4c80e1(0x295)](_0x491818,_0x107efd){const _0x4a13b5=_0x4c80e1;let _0x4fbb8d=this[_0x4a13b5(0x34a)][_0x4a13b5(0x174)]();if(!_0x4fbb8d)return;let _0xff1e5d=this['_getSheetObject']();if(!_0xff1e5d)return;this[_0x4a13b5(0x1ea)][_0x4a13b5(0x1a9)](_0x4cb49b=>{const _0x114b1e=_0x4a13b5;_0x4cb49b[_0x114b1e(0x1fd)]();});let {scene:_0x2e0031}=_0xff1e5d,_0x28c7d0=_0x22f731(Array[_0x4a13b5(0x158)](_0x107efd['values']()))[_0x4a13b5(0x255)](_0xd01bc1=>{const _0x1bfa8b=_0x4a13b5;let {color:_0x7e2f7d,range:_0x4e9271,name:_0xeddbe,selection:_0x5d8f24,sheetID:_0x2416ca}=_0xd01bc1,{startColumn:_0x254a5a,startRow:_0x24afc3,endColumn:_0x26213b,endRow:_0x1356e6}=_0x4e9271,_0x117da2=(0x0,_0x41226a[_0x1bfa8b(0x193)])(_0x24afc3,_0x254a5a,_0x2e0031,_0x4fbb8d),_0x3d90d9=(0x0,_0x41226a[_0x1bfa8b(0x193)])(_0x1356e6,_0x26213b,_0x2e0031,_0x4fbb8d),{columnHeaderHeightAndMarginTop:_0x5e2503}=_0x4fbb8d,{startX:_0x1f6b66,startY:_0x1b3a41}=_0x117da2,{endX:_0x272d6c,endY:_0xa82c91}=_0x3d90d9,_0x3f629d=_0x272d6c-_0x1f6b66,_0x418453=_0xa82c91-_0x1b3a41;return new _0x41018e(_0xeddbe,{'labelPosition':_0x1b3a41-_0x5e2503>=0x14?_0x1bfa8b(0x120):_0x1bfa8b(0x1af),'sheetID':_0x2416ca,'range':_0x4e9271,'color':_0x7e2f7d,'name':_0xeddbe,'selection':_0x5d8f24,'left':_0x1f6b66,'top':_0x1b3a41,'width':_0x3f629d,'height':_0x418453,'evented':!0x1,'zIndex':0x1389});});_0x2e0031[_0x4a13b5(0x2d7)](_0x28c7d0,0x1),this[_0x4a13b5(0x1ea)]=new Set(_0x28c7d0);}[_0x4c80e1(0x2c4)](){const _0xb27c1e=_0x4c80e1;var _0x26e989;(_0x26e989=this['_cursors'])==null||_0x26e989['forEach'](_0x1dfe80=>_0x1dfe80[_0xb27c1e(0xe1)]());}['_getSheetObject'](){const _0x2fc70c=_0x4c80e1;return(0x0,_0x41226a[_0x2fc70c(0x25e)])(this[_0x2fc70c(0x339)][_0x2fc70c(0x1c1)],this[_0x2fc70c(0x339)]);}};_0x75436b=_0x5d52c5([_0x2e6e37(0x1,(0x0,_0x45c421['Inject'])(_0x41226a[_0x4c80e1(0x313)])),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x281315)),_0x2e6e37(0x3,(0x0,_0x45c421['Inject'])(_0x45c421['ThemeService']))],_0x75436b);function _0x22f731(_0x564f1f){const _0x3b50bc=_0x4c80e1;let _0x475802=new Map();return _0x564f1f[_0x3b50bc(0x1a9)](_0x320c7d=>{const _0xaabeab=_0x3b50bc;if(_0x475802[_0xaabeab(0x33d)](_0x320c7d[_0xaabeab(0x96)])){let _0x39cf1c=_0x475802['get'](_0x320c7d['selection']);_0x39cf1c[_0xaabeab(0x297)]+=',\x20'+_0x320c7d['name'];}else _0x475802[_0xaabeab(0x22d)](_0x320c7d[_0xaabeab(0x96)],_0x320c7d);}),Array[_0x3b50bc(0x158)](_0x475802[_0x3b50bc(0xcf)]());}let _0x406c70=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(_0xb30f1c,_0x2f0a09,_0x45c56a,_0x5e1c33,_0x211779,_0x27c698){const _0x491011=_0x4c80e1;super(),this[_0x491011(0x134)]=_0xb30f1c,this['_localCacheService']=_0x2f0a09,this[_0x491011(0x16e)]=_0x45c56a,this[_0x491011(0x29c)]=_0x5e1c33,this[_0x491011(0x165)]=_0x211779,this[_0x491011(0x182)]=_0x27c698,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x4c80e1(0x264)](){const _0xdb5394=_0x4c80e1;this[_0xdb5394(0xa2)](this[_0xdb5394(0x134)][_0xdb5394(0x2dd)](()=>{const _0x1b8d3a=_0xdb5394;if(this[_0x1b8d3a(0x2ae)][_0x1b8d3a(0x2d5)]['size'])return this[_0x1b8d3a(0x182)]['t']('collaboration.offline-data-not-saved');}));}[_0x4c80e1(0x27c)](){const _0x2ae719=_0x4c80e1;this[_0x2ae719(0xa2)](this[_0x2ae719(0x16e)]['event$'][_0x2ae719(0x1e5)](_0x215a96=>{const _0x3c0618=_0x2ae719;_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)][_0x3c0618(0x1c5)]&&this['_messageService'][_0x3c0618(0x35b)]({'type':_0x1a0a02['MessageType'][_0x3c0618(0x161)],'content':this[_0x3c0618(0x182)]['t'](_0x3c0618(0x12c))}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)][_0x3c0618(0x118)]&&this[_0x3c0618(0x29c)][_0x3c0618(0x35b)]({'type':_0x1a0a02[_0x3c0618(0x2ea)][_0x3c0618(0x161)],'content':this[_0x3c0618(0x182)]['t'](_0x3c0618(0xc5))}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)][_0x3c0618(0x110)]&&this[_0x3c0618(0x165)][_0x3c0618(0x35b)]({'title':this[_0x3c0618(0x182)]['t'](_0x3c0618(0x1fb)),'content':this[_0x3c0618(0x182)]['t'](_0x3c0618(0x17a)),'type':'error','duration':0x0}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)][_0x3c0618(0x35e)]&&this['_messageService'][_0x3c0618(0x35b)]({'type':_0x1a0a02[_0x3c0618(0x2ea)]['Error'],'content':this[_0x3c0618(0x182)]['t']('collaboration.closeRoom')+'('+_0x215a96[_0x3c0618(0x274)]+')'}),_0x215a96['id']===_0x1e6a94['CollaborationUIEventId'][_0x3c0618(0x11e)]&&this[_0x3c0618(0x29c)]['show']({'type':_0x1a0a02[_0x3c0618(0x2ea)][_0x3c0618(0x161)],'content':this[_0x3c0618(0x182)]['t'](_0x215a96[_0x3c0618(0x274)]||'')}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)]['SOCKET_FAILED_RETRY']&&this[_0x3c0618(0x29c)][_0x3c0618(0x35b)]({'type':_0x1a0a02[_0x3c0618(0x2ea)]['Warning'],'content':this[_0x3c0618(0x182)]['t']('session.will-retry')}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)]['SOCKET_FAILED']&&this[_0x3c0618(0x29c)][_0x3c0618(0x35b)]({'type':_0x1a0a02[_0x3c0618(0x2ea)]['Error'],'content':this[_0x3c0618(0x182)]['t'](_0x3c0618(0x1e9))}),_0x215a96['id']===_0x1e6a94[_0x3c0618(0xf2)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3c0618(0x29c)]['show']({'type':_0x1a0a02[_0x3c0618(0x2ea)][_0x3c0618(0x152)],'content':this[_0x3c0618(0x182)]['t']('session.collaboration-timeout')});}));}};_0x406c70=_0x5d52c5([_0x2e6e37(0x0,_0xfff774[_0x4c80e1(0x105)]),_0x2e6e37(0x1,_0x1e6a94[_0x4c80e1(0x356)]),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x1e6a94[_0x4c80e1(0x239)])),_0x2e6e37(0x3,_0xfff774[_0x4c80e1(0x12e)]),_0x2e6e37(0x4,_0xfff774['INotificationService']),_0x2e6e37(0x5,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421['LocaleService']))],_0x406c70);let _0x561942=_0x4c80e1(0x167);Symbol(_0x561942);let _0x2858d3={},_0x2057a2=class{constructor(_0x30c4d7,_0x222a1b){this['_transformService']=_0x30c4d7,this['_renderManagerService']=_0x222a1b;}['transformIMECache'](_0x5e1120){const _0x2374f5=_0x4c80e1;this[_0x2374f5(0xd6)](_0x5e1120),this[_0x2374f5(0x131)](_0x5e1120);}[_0x4c80e1(0x15c)](_0x839648){const _0x1e39f4=_0x4c80e1;let {unitID:_0x4c3222}=_0x839648,{redoCache:_0x3d998f}=this[_0x1e39f4(0xc0)]['getRenderById'](_0x4c3222)[_0x1e39f4(0xaa)](_0x287598[_0x1e39f4(0x309)])[_0x1e39f4(0x2f3)]();if(_0x3d998f['length']===0x0)return _0x839648;let _0x271be8=_0x45c421[_0x1e39f4(0x2ec)][_0x1e39f4(0x279)](_0x839648['mutations'][0x0]);for(let _0x29254f=0x0;_0x29254f<_0x3d998f[_0x1e39f4(0x292)];_0x29254f++){let _0x3ec9d1={'id':_0x1e39f4(0x1a7),'params':{..._0x3d998f[_0x29254f]}},_0x6e4db8=this['_transformService'][_0x1e39f4(0x15f)](_0x271be8,_0x3ec9d1,!0x1);if((0x0,_0x663956[_0x1e39f4(0x2d9)])(_0x6e4db8))throw _0x6e4db8[_0x1e39f4(0x169)];_0x271be8=_0x6e4db8[_0x1e39f4(0x1f8)];}return{..._0x45c421[_0x1e39f4(0x2ec)]['deepClone'](_0x839648),'mutations':[_0x271be8]};}['_transformUndoRedoStack'](_0x1c7750){const _0x390cc4=_0x4c80e1;let {unitID:_0xfc3c3f}=_0x1c7750,_0x42d2aa=this[_0x390cc4(0xc0)]['getRenderById'](_0xfc3c3f)[_0x390cc4(0xaa)](_0x287598['DocIMEInputManagerService']),{undoCache:_0x2f2e46,redoCache:_0x224895}=_0x42d2aa[_0x390cc4(0x2f3)]();if(_0x2f2e46[_0x390cc4(0x292)]===0x0||_0x224895['length']===0x0)return;let _0x163c20=[],_0x3598d8=[],_0x38bbdf=_0x45c421[_0x390cc4(0x2ec)][_0x390cc4(0x279)](_0x1c7750['mutations'][0x0]),_0x2e69ca=_0x45c421[_0x390cc4(0x2ec)][_0x390cc4(0x279)](_0x1c7750[_0x390cc4(0x178)][0x0]);for(let _0x2430f3=_0x2f2e46[_0x390cc4(0x292)]-0x1;_0x2430f3>=0x0;_0x2430f3--){let _0x187e25={'id':'doc.mutation.rich-text-editing','params':{..._0x2f2e46[_0x2430f3]}},_0x212692={'id':_0x390cc4(0x1a7),'params':{..._0x224895[_0x2430f3]}},_0x17e5d2=this[_0x390cc4(0x343)][_0x390cc4(0x15f)](_0x38bbdf,_0x187e25,!0x1),_0x5879d2=this[_0x390cc4(0x343)]['transformMutation'](_0x2e69ca,_0x212692,!0x1);if((0x0,_0x663956['isTransformMutationFailure'])(_0x17e5d2))throw _0x17e5d2[_0x390cc4(0x169)];if((0x0,_0x663956['isTransformMutationFailure'])(_0x5879d2))throw _0x5879d2['error'];_0x163c20[_0x390cc4(0x214)](_0x17e5d2[_0x390cc4(0x353)][_0x390cc4(0x325)]),_0x3598d8[_0x390cc4(0x214)](_0x5879d2[_0x390cc4(0x353)]['params']),_0x38bbdf=_0x17e5d2['m1Prime'],_0x2e69ca=_0x5879d2['m1Prime'];}_0x42d2aa[_0x390cc4(0x26a)]({'undoCache':_0x163c20,'redoCache':_0x3598d8});}['_transformPreviousActiveRange'](_0x31afcb){const _0x55bc8b=_0x4c80e1;let {unitID:_0x5737cc}=_0x31afcb,_0x424ac0=this['_renderManagerService']['getRenderById'](_0x5737cc)[_0x55bc8b(0xaa)](_0x287598[_0x55bc8b(0x309)]),_0x1ca0a5=_0x424ac0[_0x55bc8b(0x2ad)]();if(_0x1ca0a5==null)return;let _0x2d6b1a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31afcb[_0x55bc8b(0x19c)],'actions':null,'textRanges':[_0x1ca0a5]}}],_0x1f0d76=this['_transformService'][_0x55bc8b(0x1ee)](_0x31afcb,_0x2d6b1a);if(!(0x0,_0x663956[_0x55bc8b(0x2c5)])(_0x1f0d76))throw _0x1f0d76['error'];let _0x2737ad=_0x1f0d76[_0x55bc8b(0x353)][0x0][_0x55bc8b(0x325)][_0x55bc8b(0x172)];Array['isArray'](_0x2737ad)&&_0x2737ad['length']&&_0x424ac0[_0x55bc8b(0x10e)](_0x2737ad[0x0]);}};_0x2057a2=_0x5d52c5([_0x2e6e37(0x0,_0x663956['ITransformService']),_0x2e6e37(0x1,_0x5842f2[_0x4c80e1(0x163)])],_0x2057a2);let _0x313b03=class{constructor(_0x573175,_0xcc3171,_0xf4e3c7){const _0x4fe2a3=_0x4c80e1;this[_0x4fe2a3(0x2f6)]=_0x573175,this[_0x4fe2a3(0x343)]=_0xcc3171,this['_docStateChangeManagerService']=_0xf4e3c7;}[_0x4c80e1(0x1ef)](_0x375a55){const _0x572e1d=_0x4c80e1;this[_0x572e1d(0x221)](_0x375a55);}[_0x4c80e1(0x15c)](_0x427b76){const _0x1565d7=_0x4c80e1;let {unitID:_0x4398bb}=_0x427b76,{collaboration:_0x41f234}=this[_0x1565d7(0x35c)][_0x1565d7(0x2a6)](_0x4398bb);if(_0x41f234[_0x1565d7(0x292)]===0x0)return _0x427b76;let _0x18ba16=_0x45c421['Tools'][_0x1565d7(0x279)](_0x427b76[_0x1565d7(0x178)][0x0]);for(let _0x537fe6=0x0;_0x537fe6<_0x41f234[_0x1565d7(0x292)];_0x537fe6++){let _0x323a6={'id':_0x1565d7(0x1a7),'params':{'unitId':_0x41f234[_0x537fe6]['unitId'],..._0x41f234[_0x537fe6]['redoState']}},_0x99b396=this[_0x1565d7(0x343)][_0x1565d7(0x15f)](_0x18ba16,_0x323a6,!0x1);if((0x0,_0x663956['isTransformMutationFailure'])(_0x99b396))throw _0x99b396[_0x1565d7(0x169)];_0x18ba16=_0x99b396['m1Prime'];}return{..._0x45c421[_0x1565d7(0x2ec)][_0x1565d7(0x279)](_0x427b76),'mutations':[_0x18ba16]};}[_0x4c80e1(0x221)](_0x2035f3){const _0x562345=_0x4c80e1;let {unitID:_0x45e16a}=_0x2035f3,{history:_0x1018bd,collaboration:_0xa41541}=this[_0x562345(0x35c)]['getStateCache'](_0x45e16a);if(_0x1018bd[_0x562345(0x292)]===0x0&&_0xa41541['length']===0x0)return;let _0x36cc7d=[],_0x4d2333=[],_0x4c8ecb=_0x45c421[_0x562345(0x2ec)][_0x562345(0x279)](_0x2035f3['mutations'][0x0]),_0x123ec8=_0x45c421[_0x562345(0x2ec)][_0x562345(0x279)](_0x2035f3[_0x562345(0x178)][0x0]);for(let _0xedb80c=_0x1018bd['length']-0x1;_0xedb80c>=0x0;_0xedb80c--){let _0x2bd375={'id':_0x562345(0x1a7),'params':{'unitId':_0x1018bd[_0xedb80c][_0x562345(0x323)],..._0x1018bd[_0xedb80c][_0x562345(0x277)]}},_0x2141aa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1018bd[_0xedb80c][_0x562345(0x323)],..._0x1018bd[_0xedb80c]['redoState']}},_0x2a6f64=this[_0x562345(0x343)][_0x562345(0x15f)](_0x4c8ecb,_0x2bd375,!0x1),_0x1bebdc=this[_0x562345(0x343)][_0x562345(0x15f)](_0x123ec8,_0x2141aa,!0x1);if((0x0,_0x663956['isTransformMutationFailure'])(_0x2a6f64))throw _0x2a6f64[_0x562345(0x169)];if((0x0,_0x663956[_0x562345(0x2d9)])(_0x1bebdc))throw _0x1bebdc['error'];_0x36cc7d['unshift']({..._0x1018bd[_0xedb80c],'undoState':_0x2a6f64[_0x562345(0x353)][_0x562345(0x325)],'redoState':_0x1bebdc[_0x562345(0x353)]['params']}),_0x4c8ecb=_0x2a6f64[_0x562345(0x1f8)],_0x123ec8=_0x1bebdc[_0x562345(0x1f8)];}_0x4c8ecb=_0x45c421[_0x562345(0x2ec)][_0x562345(0x279)](_0x2035f3[_0x562345(0x178)][0x0]),_0x123ec8=_0x45c421[_0x562345(0x2ec)][_0x562345(0x279)](_0x2035f3[_0x562345(0x178)][0x0]);for(let _0x2fab62=_0xa41541['length']-0x1;_0x2fab62>=0x0;_0x2fab62--){let _0x24e5c7={'id':_0x562345(0x1a7),'params':{'unitId':_0xa41541[_0x2fab62][_0x562345(0x323)],..._0xa41541[_0x2fab62]['undoState']}},_0x1c9374={'id':_0x562345(0x1a7),'params':{'unitId':_0xa41541[_0x2fab62][_0x562345(0x323)],..._0xa41541[_0x2fab62]['redoState']}},_0x977e6d=this[_0x562345(0x343)][_0x562345(0x15f)](_0x4c8ecb,_0x24e5c7,!0x1),_0x1a7fe6=this[_0x562345(0x343)][_0x562345(0x15f)](_0x123ec8,_0x1c9374,!0x1);if((0x0,_0x663956[_0x562345(0x2d9)])(_0x977e6d))throw _0x977e6d['error'];if((0x0,_0x663956[_0x562345(0x2d9)])(_0x1a7fe6))throw _0x1a7fe6[_0x562345(0x169)];_0x4d2333[_0x562345(0x214)]({..._0xa41541[_0x2fab62],'undoState':_0x977e6d[_0x562345(0x353)][_0x562345(0x325)],'redoState':_0x1a7fe6['m2Prime'][_0x562345(0x325)]}),_0x4c8ecb=_0x977e6d[_0x562345(0x1f8)],_0x123ec8=_0x1a7fe6['m1Prime'];}this[_0x562345(0x35c)][_0x562345(0x24e)](_0x45e16a,{'history':_0x36cc7d,'collaboration':_0x4d2333});}};_0x313b03=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x1,_0x663956['ITransformService']),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x287598[_0x4c80e1(0x143)]))],_0x313b03);let _0x3baf55=class{constructor(_0x38b8d9,_0x1eda97){this['_injector']=_0x38b8d9,this['_transformService']=_0x1eda97;}['transformSelections'](_0x29f6be){const _0x4093fd=_0x4c80e1;var _0x135d30;let _0x56ff68=this[_0x4093fd(0x2f6)][_0x4093fd(0x148)](_0x15aabe[_0x4093fd(0x33c)]),_0xbb130f=(_0x135d30=_0x56ff68[_0x4093fd(0x26e)]())==null?[]:_0x135d30;if(_0xbb130f[_0x4093fd(0x292)]===0x0)return;let _0x3a8fc1=_0x29f6be[_0x4093fd(0x19c)],_0x41d5d3=[{'id':_0x4093fd(0x1a7),'params':{'unitId':_0x3a8fc1,'actions':null,'textRanges':_0xbb130f}}],_0x1896f1=this[_0x4093fd(0x343)][_0x4093fd(0x1ee)](_0x29f6be,_0x41d5d3);if(!(0x0,_0x663956['isTransformMutationsWithChangesetSuccess'])(_0x1896f1))throw _0x1896f1['error'];let _0x17d967=_0x1896f1[_0x4093fd(0x353)][0x0][_0x4093fd(0x325)][_0x4093fd(0x172)];Array[_0x4093fd(0x116)](_0x17d967)&&_0x17d967[_0x4093fd(0x292)]&&_0x56ff68[_0x4093fd(0x22f)](_0x17d967,{'unitId':_0x3a8fc1,'subUnitId':_0x3a8fc1},!0x1);}};_0x3baf55=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x1,_0x663956[_0x4c80e1(0x305)])],_0x3baf55);let _0x26177f=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(_0x67414d,_0x4d30a3,_0x4b1f39,_0x515404,_0x13cb0b,_0x22bfbf,_0x175c2e,_0x23e879){const _0x5ad6b5=_0x4c80e1;super(),this['_docStateChangeManagerService']=_0x67414d,this[_0x5ad6b5(0x99)]=_0x4d30a3,this[_0x5ad6b5(0x1fa)]=_0x4b1f39,this[_0x5ad6b5(0x236)]=_0x515404,this[_0x5ad6b5(0x1d7)]=_0x13cb0b,this['_docSyncEditingCollabCursorService']=_0x22bfbf,this['_messageService']=_0x175c2e,this[_0x5ad6b5(0x182)]=_0x23e879,_0x2f9172(this,'_status$',new _0x3ea80a['BehaviorSubject'](_0x1e6a94[_0x5ad6b5(0x252)][_0x5ad6b5(0xe9)])),this[_0x5ad6b5(0xdb)]();}[_0x4c80e1(0xdb)](){const _0x80b4a1=_0x4c80e1;this[_0x80b4a1(0xa2)](this[_0x80b4a1(0x99)][_0x80b4a1(0x30b)]['subscribe'](_0x5de3dd=>{const _0x117072=_0x80b4a1;let _0x304778=this[_0x117072(0x35c)][_0x117072(0x1e0)][_0x117072(0x1e5)](_0x3ac4d5=>{const _0x229f4d=_0x117072;if(_0x3ac4d5==null)return;let {unitId:_0x4a46c0,redoState:_0x408653,commandId:_0xedf39b}=_0x3ac4d5;if(_0x4a46c0!==_0x5de3dd['unitID'])return;let _0x26ade4={'id':_0xedf39b,'type':_0x45c421['CommandType'][_0x229f4d(0x247)],'params':{'unitId':_0x4a46c0,'actions':_0x408653[_0x229f4d(0x93)],'textRanges':null}};_0x5de3dd[_0x229f4d(0x18e)](_0x26ade4);});_0x5de3dd[_0x117072(0xa2)](_0x304778),_0x5de3dd instanceof _0x1e6a94[_0x117072(0x197)]&&_0x5de3dd[_0x117072(0x16c)]({'onTransformIME':_0x8238c9=>this[_0x117072(0x1fa)]['transformIMECache'](_0x8238c9),'onTransformState':_0x1d012d=>this[_0x117072(0x236)][_0x117072(0x1ef)](_0x1d012d),'onTransformSelections':_0x4535ad=>this[_0x117072(0x1d7)]['transformSelections'](_0x4535ad),'onSyncEditingCollabCursor':_0x73a955=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x73a955),'onTransformRemoteChangesetByIMECache':_0x3cda93=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3cda93),'onTransformRemoteChangesetByStateCache':_0x29f8b5=>this[_0x117072(0x236)]['transformRemoteChangeset'](_0x29f8b5)});}));}};_0x26177f=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x287598[_0x4c80e1(0x143)])),_0x2e6e37(0x1,(0x0,_0x45c421['Inject'])(_0x1e6a94[_0x4c80e1(0xf6)])),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x2057a2)),_0x2e6e37(0x3,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x313b03)),_0x2e6e37(0x4,(0x0,_0x45c421['Inject'])(_0x3baf55)),_0x2e6e37(0x5,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x24123b)),_0x2e6e37(0x6,_0xfff774[_0x4c80e1(0x12e)]),_0x2e6e37(0x7,(0x0,_0x45c421['Inject'])(_0x45c421[_0x4c80e1(0xdd)]))],_0x26177f);let _0x3e248a=class extends _0x45c421['Disposable']{constructor(_0x267289,_0x8300d8,_0x39f365,_0x566884){const _0x319659=_0x4c80e1;super(),this[_0x319659(0x2f6)]=_0x267289,this[_0x319659(0x230)]=_0x8300d8,this[_0x319659(0x33e)]=_0x39f365,this[_0x319659(0x18d)]=_0x566884,_0x2f9172(this,'_memberID',void 0x0),this[_0x319659(0x10c)]();}[_0x4c80e1(0x10c)](){const _0x211f4b=_0x4c80e1;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this[_0x211f4b(0x1ae)](),this['_initUserListener']();}[_0x4c80e1(0x250)](){const _0x2259f4=_0x4c80e1;this[_0x2259f4(0xa2)](this[_0x2259f4(0x18d)][_0x2259f4(0x229)][_0x2259f4(0x1e5)](_0xe06536=>{this['_memberID']=_0xe06536==null?void 0x0:_0xe06536['memberID'];}));}[_0x4c80e1(0x2f4)](){const _0x5d434=_0x4c80e1;let _0x426b48=_0x1fb8fa=>{const _0x2328ed=_0x2e69;var _0x1c0706;this['_uploadLog']('error',_0x2328ed(0xf5)+_0x1fb8fa['message']+_0x2328ed(0xdc)+_0x1fb8fa[_0x2328ed(0x28a)]+':'+_0x1fb8fa[_0x2328ed(0xbe)]+':'+_0x1fb8fa[_0x2328ed(0xa9)]+'\x0a'+(((_0x1c0706=_0x1fb8fa[_0x2328ed(0x169)])==null?void 0x0:_0x1c0706[_0x2328ed(0x1ff)])||''));};window['addEventListener'](_0x5d434(0x169),_0x426b48),this[_0x5d434(0xa2)](()=>{const _0x23340c=_0x5d434;window['removeEventListener'](_0x23340c(0x169),_0x426b48);});}[_0x4c80e1(0x111)](){const _0x894b61=_0x4c80e1;let _0x1ff625=_0x19d55b=>{const _0x7f9165=_0x2e69;this[_0x7f9165(0x1ce)](_0x7f9165(0x169),_0x7f9165(0x2e8)+_0x19d55b[_0x7f9165(0x248)]);};window['addEventListener'](_0x894b61(0x85),_0x1ff625),this['disposeWithMe'](()=>{const _0xa50531=_0x894b61;window[_0xa50531(0x296)](_0xa50531(0x85),_0x1ff625);});}['_monkeyPatchLogService'](){const _0x3dc714=_0x4c80e1;let _0xdfa436=this[_0x3dc714(0x33e)][_0x3dc714(0x169)][_0x3dc714(0x2f1)](this[_0x3dc714(0x33e)]);this[_0x3dc714(0x33e)][_0x3dc714(0x169)]=(..._0x270ccf)=>{const _0x40eb96=_0x3dc714;let _0x13ffbc=_0x270ccf[_0x40eb96(0x255)](_0x1e9e6e=>_0x1e9e6e instanceof Error?_0x1e9e6e[_0x40eb96(0x186)]+'\x0a'+_0x1e9e6e[_0x40eb96(0x1ff)]:String(_0x1e9e6e))['join']('\x20');this[_0x40eb96(0x1ce)]('error','[LogService\x20Error]:\x20'+_0x13ffbc),_0xdfa436(..._0x270ccf);},this[_0x3dc714(0xa2)](()=>{const _0x15eec7=_0x3dc714;this[_0x15eec7(0x33e)]['error']=_0xdfa436;});}[_0x4c80e1(0x1ce)](_0x25f11b,_0x54c516){const _0x30cfb7=_0x4c80e1;try{let _0x46357c={'userId':this['_memberID'],'logLabel':_0x25f11b,'content':_0x54c516};this[_0x30cfb7(0x230)][_0x30cfb7(0x1c6)](_0x30cfb7(0x1bc),{'body':_0x46357c})['catch'](()=>{});}catch{}}};_0x3e248a=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x1,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x47f7bf[_0x4c80e1(0x1f5)])),_0x2e6e37(0x2,_0x45c421[_0x4c80e1(0x2a9)]),_0x2e6e37(0x3,(0x0,_0x45c421['Inject'])(_0x1e6a94[_0x4c80e1(0x33a)]))],_0x3e248a);function _0x125b23(_0x52c057){const _0xb7b2a4=_0x4c80e1;var _0x330767,_0xfc9a8e;let _0x1d1075=(_0x330767=_0x52c057['stageInfo'])==null?void 0x0:_0x330767[_0xb7b2a4(0x2e0)],_0x4f2904=((_0xfc9a8e=_0x52c057[_0xb7b2a4(0x11c)])==null?void 0x0:_0xfc9a8e[_0xb7b2a4(0x215)])||0x0;return _0x1d1075===_0x516276[_0xb7b2a4(0x2c6)]['START_CALCULATION']&&_0x4f2904>0x0;}function _0x3d1600(_0x5efbbd){const _0x36fdf7=_0x4c80e1;return _0x5efbbd[_0x36fdf7(0x12f)]===_0x516276['FormulaExecutedStateType'][_0x36fdf7(0x299)];}let _0xff87fc=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(_0x39e461,_0x158c45,_0x3e92c5,_0x255eb1,_0x2fad3e,_0x547d30,_0x210e52){const _0x8b70b5=_0x4c80e1;super(),this[_0x8b70b5(0x29c)]=_0x39e461,this[_0x8b70b5(0x22b)]=_0x158c45,this[_0x8b70b5(0x2ab)]=_0x3e92c5,this['_httpService']=_0x255eb1,this['_univerInstanceService']=_0x2fad3e,this[_0x8b70b5(0x33e)]=_0x547d30,this[_0x8b70b5(0x182)]=_0x210e52,_0x2f9172(this,_0x8b70b5(0x2bc),null),_0x2f9172(this,_0x8b70b5(0x28f),0x0),_0x2f9172(this,_0x8b70b5(0x237),0x0),_0x2f9172(this,'_taskIds',[]),_0x2f9172(this,_0x8b70b5(0x17e),0x0),this[_0x8b70b5(0x130)]();}[_0x4c80e1(0x130)](){const _0x271b6e=_0x4c80e1;this[_0x271b6e(0xa2)](this['_commandService'][_0x271b6e(0x270)]((_0x5758f4,_0x201626)=>{const _0x3cc502=_0x271b6e;var _0x1ec9bc;if(_0x5758f4['id']!==_0x516276['SetFormulaCalculationStartMutation']['id'])return;let _0x21f39b=_0x5758f4[_0x3cc502(0x325)];if(this[_0x3cc502(0x324)]((_0x1ec9bc=_0x21f39b[_0x3cc502(0xf8)])==null?[]:_0x1ec9bc)&&!this[_0x3cc502(0x2b4)]())throw this[_0x3cc502(0x254)](_0x5758f4,_0x201626),this[_0x3cc502(0x30e)](),new _0x45c421[(_0x3cc502(0x14b))]();})),this[_0x271b6e(0xa2)](this['_commandService']['onCommandExecuted']((_0x2d91c7,_0x158b43)=>{const _0x1b03c9=_0x271b6e;if(_0x2d91c7['id']!==_0x516276[_0x1b03c9(0x139)]['id'])return;let _0x562f36=_0x2d91c7[_0x1b03c9(0x325)];if(_0x125b23(_0x562f36)){let _0x54d65c=(0x0,_0x45c421[_0x1b03c9(0xf3)])();this[_0x1b03c9(0x12a)][_0x1b03c9(0x2fa)](_0x54d65c),this['_startCalculationLimit'](_0x54d65c);}else{if(_0x3d1600(_0x562f36)&&this[_0x1b03c9(0x12a)][_0x1b03c9(0x292)]>0x0){let _0xec55dd=this[_0x1b03c9(0x12a)][_0x1b03c9(0x1d0)]();this[_0x1b03c9(0x2f8)](_0xec55dd);}}}));}[_0x4c80e1(0xe1)](){const _0x239a3d=_0x4c80e1;super['dispose'](),this[_0x239a3d(0xcc)](),this[_0x239a3d(0x12a)]=[],this[_0x239a3d(0x237)]=0x0,this[_0x239a3d(0x28f)]=0x0,this[_0x239a3d(0x17e)]=0x0;}async[_0x4c80e1(0x254)](_0x117db2,_0xb7c10f){const _0x3fc729=_0x4c80e1;for(let _0x5eb646=0x0;_0x5eb646<0x1e;_0x5eb646++)try{if(await this['_getFormulaLimitStatus'](),this[_0x3fc729(0x2b4)]()){this[_0x3fc729(0x1a3)](_0x117db2,_0xb7c10f),this[_0x3fc729(0x29c)]['show']({'content':this['_localeService']['t'](_0x3fc729(0x125)),'type':_0x1a0a02[_0x3fc729(0x2ea)]['Success']});return;}await new Promise(_0xe3d523=>{const _0x11f20d=_0x3fc729;this[_0x11f20d(0x2bc)]=window[_0x11f20d(0x189)](_0xe3d523,0x3e8);});}catch(_0x261394){this[_0x3fc729(0x33e)][_0x3fc729(0x169)](_0x261394);}this[_0x3fc729(0x29c)][_0x3fc729(0x35b)]({'content':this[_0x3fc729(0x182)]['t'](_0x3fc729(0x333)),'type':_0x1a0a02[_0x3fc729(0x2ea)][_0x3fc729(0x152)]});}['_applyCommand'](_0x4b2028,_0x444a68){const _0x59472f=_0x4c80e1;try{this[_0x59472f(0x22b)][_0x59472f(0x9d)](_0x4b2028['id'],_0x4b2028[_0x59472f(0x325)],_0x444a68);}catch(_0x6f0dae){this['_logService'][_0x59472f(0x169)](_0x6f0dae);}}['_setFormulaLimitStatus'](_0x5bf100,_0x44f497){const _0xdefb8e=_0x4c80e1;_0x44f497<this['_lastResponseTimestamp']||(this[_0xdefb8e(0x17e)]=_0x44f497,this['_maxFormulaLimit']=Number[_0xdefb8e(0x1ba)](_0x5bf100['maxFormulaLimit']),this[_0xdefb8e(0x237)]=Number[_0xdefb8e(0x1ba)](_0x5bf100['currentUsage']));}async[_0x4c80e1(0x358)](_0x174d84){const _0x335fb5=_0x4c80e1;let _0x13939b=Date[_0x335fb5(0x269)]();try{var _0x48e8d5,_0x38b32f;let _0x4cb69c=((_0x48e8d5=this[_0x335fb5(0x2ab)][_0x335fb5(0x35f)](_0x1e6a94[_0x335fb5(0xde)]))==null?void 0x0:_0x48e8d5[_0x335fb5(0xaf)])||'/universer-api/license/formula/limit/start',_0x3e377a=(await this[_0x335fb5(0x230)][_0x335fb5(0x1c6)](_0x4cb69c,{'body':JSON[_0x335fb5(0x129)]({'taskId':_0x174d84})}))['body'];if(((_0x38b32f=_0x3e377a[_0x335fb5(0x169)])==null?void 0x0:_0x38b32f[_0x335fb5(0x253)])!==_0x5d2213[_0x335fb5(0x1ed)]['OK'])return;this[_0x335fb5(0x1a6)](_0x3e377a[_0x335fb5(0x298)],_0x13939b);}catch(_0xf60939){this['_logService'][_0x335fb5(0x169)](_0xf60939);}}async[_0x4c80e1(0x119)](_0x8f1203){const _0x3e1b3b=_0x4c80e1;let _0x529d10=Date[_0x3e1b3b(0x269)]();try{var _0x596a51,_0x134ff8;let _0x9a6c9b=((_0x596a51=this[_0x3e1b3b(0x2ab)][_0x3e1b3b(0x35f)](_0x1e6a94['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x596a51[_0x3e1b3b(0x300)])||'/universer-api/license/formula/limit/status',_0x32718f=_0x8f1203?_0x9a6c9b+_0x3e1b3b(0x340)+encodeURIComponent(_0x8f1203):_0x9a6c9b,_0x391916=(await this[_0x3e1b3b(0x230)]['get'](_0x32718f))[_0x3e1b3b(0x359)];if(((_0x134ff8=_0x391916[_0x3e1b3b(0x169)])==null?void 0x0:_0x134ff8[_0x3e1b3b(0x253)])!==_0x5d2213[_0x3e1b3b(0x1ed)]['OK'])return;this[_0x3e1b3b(0x1a6)](_0x391916[_0x3e1b3b(0x298)],_0x529d10);}catch(_0xa2ed9){this[_0x3e1b3b(0x33e)][_0x3e1b3b(0x169)](_0xa2ed9);}}async['_releaseCalculationLimit'](_0x2864ef){const _0x188ac9=_0x4c80e1;let _0x59a280=Date['now']();try{var _0x2d1d67,_0x2746fb;let _0x3719b9=((_0x2d1d67=this['_configService']['getConfig'](_0x1e6a94[_0x188ac9(0xde)]))==null?void 0x0:_0x2d1d67[_0x188ac9(0x22c)])||_0x188ac9(0x127),_0x3cda49=(await this[_0x188ac9(0x230)][_0x188ac9(0x1c6)](_0x3719b9,{'body':JSON['stringify']({'taskId':_0x2864ef})}))[_0x188ac9(0x359)];if(((_0x2746fb=_0x3cda49[_0x188ac9(0x169)])==null?void 0x0:_0x2746fb[_0x188ac9(0x253)])!==_0x5d2213['ErrorCode']['OK'])return;this[_0x188ac9(0x1a6)](_0x3cda49[_0x188ac9(0x298)],_0x59a280);}catch(_0x4c77d0){this[_0x188ac9(0x33e)]['error'](_0x4c77d0);}}[_0x4c80e1(0x2b4)](){const _0x18896d=_0x4c80e1;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x18896d(0x28f)]-this[_0x18896d(0x237)]>0x0;}[_0x4c80e1(0xcc)](){const _0x582999=_0x4c80e1;this[_0x582999(0x2bc)]&&(clearTimeout(this[_0x582999(0x2bc)]),this['_pollingInterval']=null);}[_0x4c80e1(0x30e)](){const _0x9f78f=_0x4c80e1;this[_0x9f78f(0x29c)][_0x9f78f(0x35b)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x1a0a02[_0x9f78f(0x2ea)][_0x9f78f(0x288)]});}['_hasFormulaInDirtyRanges'](_0x202933){const _0x15edc1=_0x4c80e1;for(let _0x10b23c of _0x202933){let {unitId:_0x416d0b,sheetId:_0xcce8f1,range:_0x771ea4}=_0x10b23c,_0x38f8ea=this['_univerInstanceService'][_0x15edc1(0x1d6)](_0x416d0b);if(!_0x38f8ea)continue;let _0x2df63f=_0x38f8ea[_0x15edc1(0x184)](_0xcce8f1);if(!_0x2df63f)continue;let _0x3c474f=_0x2df63f[_0x15edc1(0x267)]();for(let _0x1420d9=_0x771ea4['startRow'];_0x1420d9<=_0x771ea4[_0x15edc1(0x17d)];_0x1420d9++)for(let _0x2ca4b5=_0x771ea4[_0x15edc1(0x196)];_0x2ca4b5<=_0x771ea4[_0x15edc1(0x1df)];_0x2ca4b5++){let _0x2345e4=_0x3c474f['getValue'](_0x1420d9,_0x2ca4b5);if(_0x2345e4&&((0x0,_0x45c421['isFormulaString'])(_0x2345e4['f'])||(0x0,_0x45c421['isFormulaId'])(_0x2345e4['si'])))return!0x0;}}return!0x1;}};_0xff87fc=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421['Inject'])(_0xfff774[_0x4c80e1(0x12e)])),_0x2e6e37(0x1,_0x45c421[_0x4c80e1(0x1de)]),_0x2e6e37(0x2,_0x45c421[_0x4c80e1(0x330)]),_0x2e6e37(0x3,(0x0,_0x45c421['Inject'])(_0x47f7bf[_0x4c80e1(0x1f5)])),_0x2e6e37(0x4,_0x45c421['IUniverInstanceService']),_0x2e6e37(0x5,_0x45c421[_0x4c80e1(0x2a9)]),_0x2e6e37(0x6,(0x0,_0x45c421['Inject'])(_0x45c421[_0x4c80e1(0xdd)]))],_0xff87fc);let _0x2204f6=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(_0x3fe423,_0x481224,_0x10ad9a){const _0x535ca0=_0x4c80e1;super(),this[_0x535ca0(0x2ab)]=_0x3fe423,this[_0x535ca0(0x2b2)]=_0x481224,this[_0x535ca0(0x1f3)]=_0x10ad9a,_0x2f9172(this,_0x535ca0(0xe2),new Map()),_0x2f9172(this,_0x535ca0(0x1b0),new Map()),_0x2f9172(this,_0x535ca0(0x2a4),!0x1);}[_0x4c80e1(0x1ca)](){const _0x1d7f7e=_0x4c80e1;this[_0x1d7f7e(0x2a4)]=!0x0;}[_0x4c80e1(0x337)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x4c80e1(0xe1)](){const _0xdef63c=_0x4c80e1;this[_0xdef63c(0x30f)]()[_0xdef63c(0x1c8)](()=>super[_0xdef63c(0xe1)]());}async[_0x4c80e1(0x217)](_0x1cef29){const _0xa274ea=_0x4c80e1;return this['_disabled']?null:this['_localStorageService'][_0xa274ea(0x272)]((0x0,_0x1e6a94[_0xa274ea(0xdf)])(_0x1cef29));}async[_0x4c80e1(0x280)](_0x279030,_0x1cf578){const _0x2ed245=_0x4c80e1;return!!this[_0x2ed245(0x2b2)]['setItem'](_0x279030,_0x1cf578);}['updateOfflineData'](_0x3ce853,_0x245cda,_0x39dc91,_0x1f5e0c){const _0x1a2063=_0x4c80e1;let _0x419fb0=this[_0x1a2063(0x1f3)][_0x1a2063(0x141)](_0x3ce853);this[_0x1a2063(0xe2)][_0x1a2063(0x22d)](_0x3ce853,{'unitID':_0x3ce853,'type':_0x245cda,'awaitingChangeset':_0x39dc91,'mutations':_0x1f5e0c,'rev':_0x419fb0}),this[_0x1a2063(0x1b0)][_0x1a2063(0x33d)](_0x3ce853)||this[_0x1a2063(0x147)](_0x3ce853);}[_0x4c80e1(0x147)](_0xf1d057){const _0xb9bdd8=_0x4c80e1;let _0x2bafb5=this['_getSaveTimeout']();_0x2bafb5===0x0?this[_0xb9bdd8(0x98)](_0xf1d057):this[_0xb9bdd8(0x1b0)]['set'](_0xf1d057,setTimeout(()=>this['_saveCache'](_0xf1d057),_0x2bafb5));}[_0x4c80e1(0x205)](){const _0x1f5c5c=_0x4c80e1;var _0x24b216;return(_0x24b216=this[_0x1f5c5c(0x2ab)][_0x1f5c5c(0x35f)](_0x1e6a94[_0x1f5c5c(0x10f)]))==null?_0x1e6a94[_0x1f5c5c(0x2fe)]:_0x24b216;}['_saveCache'](_0x29020e){const _0x1a1ded=_0x4c80e1;let _0x32025c=this[_0x1a1ded(0x1b0)][_0x1a1ded(0x148)](_0x29020e);return _0x32025c!==void 0x0&&window[_0x1a1ded(0x207)](_0x32025c),this[_0x1a1ded(0x2b2)]['setItem']((0x0,_0x1e6a94['getLocalCacheKey'])(_0x29020e),this['_cachedData'][_0x1a1ded(0x148)](_0x29020e))[_0x1a1ded(0x1c8)](()=>this['_saveTaskMap']['delete'](_0x29020e));}async[_0x4c80e1(0x30f)](){const _0x4b27a4=_0x4c80e1;let _0x43c187=[];this['_saveTaskMap'][_0x4b27a4(0x1a9)]((_0xf6f1bb,_0x3bdb61)=>{const _0x521cac=_0x4b27a4;window[_0x521cac(0x207)](_0xf6f1bb),_0x43c187[_0x521cac(0x2fa)](this[_0x521cac(0x98)](_0x3bdb61)[_0x521cac(0x1c8)](()=>{const _0x3ef1e2=_0x521cac;this[_0x3ef1e2(0x1b0)][_0x3ef1e2(0x31b)](_0x3bdb61);}));}),await Promise[_0x4b27a4(0x27d)](_0x43c187);}};_0x2204f6=_0x5d52c5([_0x2e6e37(0x0,_0x45c421['IConfigService']),_0x2e6e37(0x1,_0x45c421[_0x4c80e1(0x301)]),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x663956[_0x4c80e1(0x23e)]))],_0x2204f6);var _0x3e4a23=class extends _0x45c421['RxDisposable']{constructor(){const _0x54c43a=_0x4c80e1;super(),_0x2f9172(this,_0x54c43a(0x2bd),void 0x0),this[_0x54c43a(0x2bd)]=(0x0,_0x3ea80a[_0x54c43a(0x29b)])(window,_0x54c43a(0x14c))[_0x54c43a(0x123)]((0x0,_0x3ea80a[_0x54c43a(0x287)])(this[_0x54c43a(0x1a8)]),(0x0,_0x3ea80a[_0x54c43a(0x101)])(0x1),(0x0,_0x3ea80a[_0x54c43a(0x1b9)])(void 0x0));}['setParam'](_0x180d0d,_0x385fd0,_0x5cc713=!0x1){const _0x36102f=_0x4c80e1;let _0x2b7a17=new URL(window[_0x36102f(0x28d)]['href']);_0x2b7a17['searchParams']['set'](_0x180d0d,_0x385fd0),_0x5cc713?window[_0x36102f(0x317)][_0x36102f(0x2a5)]('','',_0x2b7a17[_0x36102f(0x20d)]()):window[_0x36102f(0x317)]['pushState']('','',_0x2b7a17[_0x36102f(0x20d)]());}[_0x4c80e1(0x27b)](_0x20d369,_0x562d9a=!0x1){const _0x3ef609=_0x4c80e1;let _0x1197e5=new URL(window[_0x3ef609(0x28d)][_0x3ef609(0x117)]);_0x1197e5[_0x3ef609(0x2b3)][_0x3ef609(0x31b)](_0x20d369),_0x562d9a?window['history'][_0x3ef609(0x2a5)]('','',_0x1197e5['toString']()):window[_0x3ef609(0x317)][_0x3ef609(0x171)]('','',_0x1197e5['toString']());}[_0x4c80e1(0xb6)](_0x59cef1){const _0x3343d5=_0x4c80e1;var _0x3f1c41;return(_0x3f1c41=new URL(window[_0x3343d5(0x28d)]['href'])[_0x3343d5(0x2b3)]['get'](_0x59cef1))==null?void 0x0:_0x3f1c41;}};let _0x100b3d=class extends _0x45c421['Plugin']{constructor(_0x44c73a=_0x2858d3,_0x31c705,_0x54fe58,_0x4bb64e){const _0x2bf90d=_0x4c80e1;super(),this[_0x2bf90d(0x1e4)]=_0x44c73a,this['_renderManagerService']=_0x31c705,this[_0x2bf90d(0x2f6)]=_0x54fe58,this['_configService']=_0x4bb64e;let {..._0x915163}=(0x0,_0x45c421[_0x2bf90d(0x1e6)])({},_0x2858d3,this[_0x2bf90d(0x1e4)]);this[_0x2bf90d(0x2ab)][_0x2bf90d(0x103)](_0x561942,_0x915163);}[_0x4c80e1(0x1bd)](){const _0x371ceb=_0x4c80e1;this[_0x371ceb(0x194)](),this[_0x371ceb(0x102)]();}[_0x4c80e1(0x23c)](){const _0x54641a=_0x4c80e1;this[_0x54641a(0x185)]();}[_0x4c80e1(0x194)](){const _0x1e37e0=_0x4c80e1;var _0x5f0261;let _0x53ee3c=[[_0x4b3196],[_0xff87fc],[_0x3baf55],[_0x2057a2],[_0x313b03],[_0x24123b],[_0x1a46b4,{'useClass':_0x3e4a23}],[_0x47f7bf[_0x1e37e0(0xba)],{'useClass':_0x47f7bf[_0x1e37e0(0x2e7)]}],[_0x1e6a94[_0x1e37e0(0x356)],{'useClass':_0x2204f6}],[_0x591484],[_0x26177f],[_0x406c70],[_0x281315],[_0x5ca82f],[_0x26fbb1]];this[_0x1e37e0(0x1e4)]['enableFrontendLog']&&_0x53ee3c[_0x1e37e0(0x2fa)]([_0x3e248a]),(0x0,_0x45c421[_0x1e37e0(0xbd)])(this['_injector'],(0x0,_0x45c421[_0x1e37e0(0x26c)])(_0x53ee3c,(_0x5f0261=this[_0x1e37e0(0x1e4)])==null?void 0x0:_0x5f0261[_0x1e37e0(0x2fd)]));}['_registerRenderDependencies'](){const _0x2afe28=_0x4c80e1;this['disposeWithMe'](this[_0x2afe28(0xc0)][_0x2afe28(0x246)](_0x45c421[_0x2afe28(0x1b2)][_0x2afe28(0x11a)],[_0x21ff26])),this[_0x2afe28(0xa2)](this[_0x2afe28(0xc0)][_0x2afe28(0x246)](_0x45c421[_0x2afe28(0x1b2)][_0x2afe28(0x2da)],[_0x75436b]));}['_initDependencies'](){const _0x4a4c85=_0x4c80e1;(0x0,_0x45c421[_0x4a4c85(0x1e7)])(this[_0x4a4c85(0x2f6)],[[_0x281315],[_0x591484],[_0x26177f],[_0x406c70],[_0x26fbb1],[_0xff87fc]]),this[_0x4a4c85(0x1e4)][_0x4a4c85(0x240)]&&(0x0,_0x45c421[_0x4a4c85(0x1e7)])(this[_0x4a4c85(0x2f6)],[[_0x3e248a]]);}};_0x2f9172(_0x100b3d,'pluginName',_0x4c80e1(0xb4)),_0x2f9172(_0x100b3d,_0x4c80e1(0x155),_0x390f23),_0x2f9172(_0x100b3d,'version',_0x469061),_0x100b3d=_0x5d52c5([(0x0,_0x45c421[_0x4c80e1(0x304)])(_0x1e6a94[_0x4c80e1(0x149)]),_0x2e6e37(0x1,_0x5842f2[_0x4c80e1(0x163)]),_0x2e6e37(0x2,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x3,_0x45c421[_0x4c80e1(0x330)])],_0x100b3d);let _0x3ef4fa=class extends _0x1e6a94[_0x4c80e1(0xad)]{constructor(_0x3ad227,_0x622464,_0x5754c2,_0x197869,_0x349018){super(_0x3ad227,_0x622464,_0x5754c2,_0x197869,_0x349018);}async['createSocket'](_0x487b6b){const _0x1e7d62=_0x4c80e1;let _0x37690d=await this['_getSessionTicket'](),_0x14dc97=this[_0x1e7d62(0x1f6)](_0x487b6b,_0x37690d);return this[_0x1e7d62(0x2a2)](_0x14dc97);}[_0x4c80e1(0x1f6)](_0x365611,_0xc126f0){const _0x9a65ad=_0x4c80e1;let _0x4968d0=typeof window>'u'?new URL(_0x365611):new URL(_0x365611,window[_0x9a65ad(0x28d)]['origin']);_0x4968d0[_0x9a65ad(0x2b3)][_0x9a65ad(0x22d)](_0x9a65ad(0x32d),_0xc126f0);let _0x303789=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x9a65ad(0x28d)][_0x9a65ad(0x198)]);return _0x303789[_0x9a65ad(0x148)](_0x9a65ad(0x1fc))&&_0x4968d0['searchParams']['set'](_0x9a65ad(0x1fc),_0x303789['get']('runId')),_0x4968d0['toString']();}async[_0x4c80e1(0x335)](){const _0x213879=_0x4c80e1;var _0x1d499d,_0x910e6e,_0x5665f0;let _0x843c73=this[_0x213879(0x2ab)][_0x213879(0x35f)](_0x1e6a94[_0x213879(0xde)]),_0x503f80=(_0x1d499d=_0x843c73==null?void 0x0:_0x843c73[_0x213879(0x27e)])==null?_0x1e6a94[_0x213879(0x1a2)]:_0x1d499d;return(_0x910e6e=(_0x5665f0=(await this[_0x213879(0x230)]['get'](_0x503f80,{'headers':{'Content-Type':'application/json'}}))[_0x213879(0x359)])==null?void 0x0:_0x5665f0[_0x213879(0x2cd)])==null?'':_0x910e6e;}};_0x3ef4fa=_0x5d52c5([_0x2e6e37(0x0,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x45c421[_0x4c80e1(0x266)])),_0x2e6e37(0x1,(0x0,_0x45c421['Inject'])(_0x47f7bf[_0x4c80e1(0x1f5)])),_0x2e6e37(0x2,_0x45c421[_0x4c80e1(0x330)]),_0x2e6e37(0x3,_0x45c421['ILogService']),_0x2e6e37(0x4,_0x663956['ISnapshotServerService'])],_0x3ef4fa);let _0x5d8bdc=class extends _0x45c421[_0x4c80e1(0x2d4)]{constructor(_0x254612,_0x5561e3,_0x9c07cc){const _0x289cc4=_0x4c80e1;super(),this[_0x289cc4(0xd9)]=_0x254612,this[_0x289cc4(0x230)]=_0x5561e3,this[_0x289cc4(0x2ab)]=_0x9c07cc;}async['runOnServer'](_0x1bd1a3,_0x3327d5,_0x32405c,..._0x563043){const _0x5afd08=_0x4c80e1;var _0x30123a,_0x46b001,_0x580bd2,_0x323a2a;let _0x10bb89=this[_0x5afd08(0xd9)]['getFocusedUnit']();if(!_0x10bb89)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x5a5745=((_0x30123a=this['_configService'][_0x5afd08(0x35f)](_0x1e6a94[_0x5afd08(0x18f)]))==null?_0x1e6a94[_0x5afd08(0x16d)]:_0x30123a)+'/'+_0x1bd1a3+_0x5afd08(0x241)+_0x3327d5,_0x3d9174={'scriptId':_0x1bd1a3,'runId':(_0x46b001=new URL(window[_0x5afd08(0x28d)]['href'])[_0x5afd08(0x2b3)][_0x5afd08(0x148)](_0x5afd08(0x1fc)))==null?'':_0x46b001,'function':_0x3327d5,'unitId':_0x10bb89[_0x5afd08(0x191)](),'argsOfFunction':JSON[_0x5afd08(0x129)](_0x563043),'invokeId':(_0x580bd2=_0x32405c['invokeId'])==null?'':_0x580bd2,'executionId':(_0x323a2a=_0x32405c[_0x5afd08(0xbc)])==null?'':_0x323a2a};try{let _0x348ae5=await this[_0x5afd08(0x230)]['post'](_0x5a5745,{'body':_0x3d9174});return _0x348ae5[_0x5afd08(0x359)][_0x5afd08(0x169)]&&_0x348ae5['body'][_0x5afd08(0x169)][_0x5afd08(0x253)]!==_0x5d2213[_0x5afd08(0x1ed)]['OK']?_0x5afd08(0x327):_0x348ae5[_0x5afd08(0x359)][_0x5afd08(0x1f1)];}catch{return _0x5afd08(0x327);}}};_0x5d8bdc=_0x5d52c5([_0x2e6e37(0x0,_0x45c421[_0x4c80e1(0x138)]),_0x2e6e37(0x1,(0x0,_0x45c421[_0x4c80e1(0x285)])(_0x47f7bf[_0x4c80e1(0x1f5)])),_0x2e6e37(0x2,_0x45c421[_0x4c80e1(0x330)])],_0x5d8bdc);let _0xda1dc5=0x7530,_0x414df4='ACTIVE_UNIT_EVENT_CHANNEL';var _0x3f0f78=class extends _0x45c421['Disposable']{constructor(){const _0x13f7f3=_0x4c80e1;super(),_0x2f9172(this,_0x13f7f3(0x10d),(0x0,_0x45c421[_0x13f7f3(0xf3)])()),_0x2f9172(this,_0x13f7f3(0x9b),new Set()),_0x2f9172(this,_0x13f7f3(0xe0),new Map()),_0x2f9172(this,'_heartbeatTimer',null),_0x2f9172(this,_0x13f7f3(0x18c),new Map()),_0x2f9172(this,_0x13f7f3(0x9a),new Map()),this[_0x13f7f3(0x10c)]();}[_0x4c80e1(0xe1)](){const _0x2dce81=_0x4c80e1;super[_0x2dce81(0xe1)](),this['_clearOtherTimers'][_0x2dce81(0x1a9)]((_0x105f89,_0x4fb976)=>this[_0x2dce81(0x2b5)](_0x4fb976)),this[_0x2dce81(0x1dc)]&&window[_0x2dce81(0x1cd)](this[_0x2dce81(0x1dc)]);}[_0x4c80e1(0x30a)](_0x110249){const _0x20075b=_0x4c80e1;return this['_ensureSubject'](_0x110249)[_0x20075b(0x123)]((0x0,_0x3ea80a[_0x20075b(0x303)])());}[_0x4c80e1(0x24d)](_0x5d8ea0){const _0x7f382=_0x4c80e1;this[_0x7f382(0x9b)]['size']===0x0&&this[_0x7f382(0x225)](),this[_0x7f382(0x9b)][_0x7f382(0xa0)](_0x5d8ea0),this[_0x7f382(0x1db)]({'type':0x0,'memberID':this[_0x7f382(0x10d)],'unitIDs':[_0x5d8ea0],'isForwarded':!0x1});}[_0x4c80e1(0x26b)](_0x50de33){const _0xef0e8f=_0x4c80e1;this[_0xef0e8f(0x9b)][_0xef0e8f(0x31b)](_0x50de33),this[_0xef0e8f(0x9b)][_0xef0e8f(0x24a)]===0x0&&this[_0xef0e8f(0x1dc)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x4c80e1(0x10c)](){const _0x4dbc9e=_0x4c80e1;this[_0x4dbc9e(0xa2)]((0x0,_0x45c421[_0x4dbc9e(0x294)])((0x0,_0x3ea80a['fromEvent'])(window,_0x4dbc9e(0x291))[_0x4dbc9e(0x1e5)](_0x3c8a5d=>{const _0x3abb37=_0x4dbc9e;if(_0x3c8a5d[_0x3abb37(0x190)]!==_0x414df4||!_0x3c8a5d['newValue'])return;let _0x41a1c6=JSON[_0x3abb37(0x1d1)](_0x3c8a5d[_0x3abb37(0x228)]);this[_0x3abb37(0x1d9)](_0x41a1c6);}))),window[_0x4dbc9e(0x234)](_0x4dbc9e(0x1b1),()=>this[_0x4dbc9e(0x1db)]({'type':0x1,'memberID':this[_0x4dbc9e(0x10d)],'unitIDs':Array[_0x4dbc9e(0x158)](this[_0x4dbc9e(0x9b)])}));}[_0x4c80e1(0x1d9)](_0xf012ec){const _0x276e04=_0x4c80e1;switch(_0xf012ec[_0x276e04(0x223)]){case 0x0:this[_0x276e04(0x2ce)](_0xf012ec);break;case 0x1:this[_0x276e04(0xef)](_0xf012ec);break;case 0x2:this['_handleHeartbeatEvent'](_0xf012ec);break;}}['_handleJoinEvent'](_0x3f7847){const _0x5308d3=_0x4c80e1;let {unitIDs:_0x3611de,memberID:_0x221f10,isForwarded:_0x337373}=_0x3f7847;_0x3611de['forEach'](_0xc8de18=>{const _0x25eb44=_0x2e69;if(!_0x337373&&this[_0x25eb44(0xe0)]['has'](_0xc8de18)&&this[_0x25eb44(0x195)](_0xc8de18)['next'](_0x1e6a94[_0x25eb44(0x22e)][_0x25eb44(0xa6)]),!this[_0x25eb44(0xe0)]['has'](_0xc8de18)||!this[_0x25eb44(0xe0)][_0x25eb44(0x148)](_0xc8de18)['has'](_0x221f10)){let _0x192a60=this[_0x25eb44(0xe0)][_0x25eb44(0x148)](_0xc8de18)||new Set();_0x192a60[_0x25eb44(0xa0)](_0x221f10),this['_unitOnClients'][_0x25eb44(0x22d)](_0xc8de18,_0x192a60),this[_0x25eb44(0x232)](_0x221f10);}}),_0x337373||this[_0x5308d3(0x1db)]({'type':0x0,'memberID':this[_0x5308d3(0x10d)],'unitIDs':[...this[_0x5308d3(0x9b)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x8d5d01){const _0x37bf54=_0x4c80e1;this[_0x37bf54(0x2b5)](_0x8d5d01);let _0x3d4771=window[_0x37bf54(0x189)](()=>{const _0x57b040=_0x37bf54;this[_0x57b040(0xe0)]['forEach'](_0x31358a=>{const _0x3a18ef=_0x57b040;_0x31358a[_0x3a18ef(0x31b)](_0x8d5d01);});},_0xda1dc5*0x2);this[_0x37bf54(0x18c)]['set'](_0x8d5d01,_0x3d4771);}[_0x4c80e1(0x2b5)](_0x58ff48){const _0x1d37d8=_0x4c80e1;if(this[_0x1d37d8(0x18c)][_0x1d37d8(0x33d)](_0x58ff48)){let _0x5d1cb8=this[_0x1d37d8(0x18c)][_0x1d37d8(0x148)](_0x58ff48);_0x5d1cb8&&window['clearTimeout'](_0x5d1cb8),this[_0x1d37d8(0x18c)]['set'](_0x58ff48,null);}}[_0x4c80e1(0xef)](_0x48b57f){const _0x53ae5c=_0x4c80e1;let {memberID:_0xc224a5,unitIDs:_0x411e82}=_0x48b57f;_0x411e82[_0x53ae5c(0x1a9)](_0x5325c2=>{const _0x4c97cd=_0x53ae5c;var _0x4bf838;let _0x186f4c=this[_0x4c97cd(0xe0)][_0x4c97cd(0x148)](_0x5325c2);_0x186f4c&&(_0x186f4c[_0x4c97cd(0x31b)](_0xc224a5),(_0x4bf838=this[_0x4c97cd(0x195)](_0x5325c2))==null||_0x4bf838[_0x4c97cd(0xa4)](_0x186f4c[_0x4c97cd(0x24a)]===0x0?_0x1e6a94['UnitStatus'][_0x4c97cd(0xd5)]:_0x1e6a94[_0x4c97cd(0x22e)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0xc224a5);}['_handleHeartbeatEvent'](_0x284dc4){const _0x113def=_0x4c80e1;this[_0x113def(0x232)](_0x284dc4[_0x113def(0x307)]);}[_0x4c80e1(0x1db)](_0x266363){const _0xda9bb7=_0x4c80e1;localStorage[_0xda9bb7(0x2a7)](_0x414df4,JSON['stringify'](_0x266363));}['_scheduleHeartbeat'](){const _0x261077=_0x4c80e1;this[_0x261077(0x1dc)]=window[_0x261077(0x100)](()=>{const _0x605cbb=_0x261077;this[_0x605cbb(0x1db)]({'type':0x2,'memberID':this[_0x605cbb(0x10d)]});},_0xda1dc5);}['_ensureSubject'](_0xff42b1){const _0x268540=_0x4c80e1;return this[_0x268540(0x9a)][_0x268540(0x33d)](_0xff42b1)||this[_0x268540(0x9a)][_0x268540(0x22d)](_0xff42b1,new _0x3ea80a[(_0x268540(0x140))](_0x1e6a94['UnitStatus'][_0x268540(0xd5)])),this[_0x268540(0x9a)][_0x268540(0x148)](_0xff42b1);}};Object['defineProperty'](_0x2b3c55,_0x4c80e1(0x2c7),{'enumerable':!0x0,'get':function(){return _0x3ef4fa;}}),Object[_0x4c80e1(0x29e)](_0x2b3c55,_0x4c80e1(0x8b),{'enumerable':!0x0,'get':function(){return _0x26fbb1;}}),Object['defineProperty'](_0x2b3c55,_0x4c80e1(0x2c9),{'enumerable':!0x0,'get':function(){return _0x591484;}}),_0x2b3c55['IURLService']=_0x1a46b4,Object[_0x4c80e1(0x29e)](_0x2b3c55,_0x4c80e1(0x122),{'enumerable':!0x0,'get':function(){return _0x5d8bdc;}}),_0x2b3c55['SheetCollabCursorShape']=_0x41018e,Object[_0x4c80e1(0x29e)](_0x2b3c55,_0x4c80e1(0x1cf),{'enumerable':!0x0,'get':function(){return _0x100b3d;}}),_0x2b3c55[_0x4c80e1(0xff)]=_0x3f0f78,_0x2b3c55[_0x4c80e1(0x2d2)]=_0x3e4a23;}));function _0x7a07(){const _0x492b55=['debounceTime','_releaseCalculationLimit','_uiPartsService','push','handleMoveRange','substring','override','LOCAL_CACHE_INTERVAL','useCallback','getFormulaLimitStatusUrl','ILocalStorageService','purple.300','distinctUntilChanged','DependentOn','ITransformService','_updateSubUnitFromURLParams','memberID','_getLighterColor','DocIMEInputManagerService','getUnitStatus$','entityInit$','getTypeOfUnitAdded$','displayName','_showGuardMessage','exhaustSavingTask','_anchor','setAlpha','restore','SheetSkeletonManagerService','_backgroundColor','_syncEditingCollabCursorService','collabStatus.fetchMiss','history','roomMembers','_hovered','_univerInstanceService','delete','roomMembers$','assignAColorForMemberID','rgba(','rgb','_color','_initCommandExecutedListener','_setupSubUnitSync','unitId','_hasFormulaInDirtyRanges','params','children','Failed','idSuffix','useObservable','DataLoaderService','getCurrentUnitForType','setShapeProps','sessionTicket','jsx','_collabCursorState$','IConfigService','evenodd','forwardRef','formula.calculation.unable','_getMergeRange','_getSessionTicket','Subject','enableLocalCache','svg','_context','CollaborationSessionService','univer-text-gray-400','DocSelectionManagerService','has','_logService','_imageIoService','?taskId=','red.300','color','_transformService','defs','UniverUi','highlightSecond','clsx','handleInsertRangeMoveRight','_roomMembers$','_sheetSkeletonManagerService','collabCursorState$','#FFF','RichTextEditingMutation','onPointerEnter$','UPDATE_CURSOR','_hideTimer','_docSkeleton','_colorAssignService','m2Prime','addObject','UniverEngineFormula','ILocalCacheService','_startBlinking','_startCalculationLimit','body','Workbook','show','_docStateChangeManagerService','createIdentifier','CONFLICT','getConfig','unhandledrejection','assign','_drawRectRange','tag','EffectRefRangId','UniverProCollaboration','CollaborationDataLoaderController','path','getSheetId','isEditing','fillStyle','_blinkIntervalTimer','findNodePositionByCharIndex','_themeService','actions','getActiveSheet','_showText','selection','_cursorInfo$','_saveCache','_collaborationController','_unitStatus','_selfUnitIDs','OffLineIcon','executeCommand','clipPath','cursorInfo$','add','_urlService','disposeWithMe','pulse','next','use','OTHER_CLIENTS_EDITING','_docClipboardService','_cursorShapes','colno','with','458613hZSrcP','_entityInit$','CollaborationSocketService','asObservable','startFormulaLimitUrl','find','@univerjs/docs-ui','Enter','univer-text-blue-500','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','subUnitId','getParam','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','beginPath','SetTextSelectionsOperation','ISocketService','collab-text-anchor-','executionId','registerDependencies','lineno','strokeWidth','_renderManagerService','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','createInstance','NodePositionConvertToCursor','icon','collaboration.closeRoom','combineLatest','1768940tqkHDQ','@univerjs-pro/collaboration-client-ui','RECT','event$','serializeRangeWithSheet','_clearPolling','i18nKey','RefRangeService','values','selections','subscribeEvent','FETCH_MISS','none','cursorInfo','NO_OTHER_CLIENTS_EDITING','_transformUndoRedoStack','_initStatusListener','_offsetY','_instanceService','UniverDrawing','_initEntityListener','\x20at\x20','LocaleService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getLocalCacheKey','_unitOnClients','dispose','_cachedData','width','switchMap','decorate','createElement','onPointerLeave$','spin','NOT_COLLAB','@univerjs/engine-formula','onCommandExecuted','0\x200\x2017\x2016','MoveRangeCommandId','unsubscribe','_handleLeaveEvent','save','0\x200\x2016\x2016','CollaborationUIEventId','generateRandomId','_textBubble','[Window\x20Error]:\x20','CollaborationController','clickable','dirtyRanges','getOffsetConfig','DocSkeletonManagerService','getRelativeToViewportCoord','text','_highlight','SetDocZoomRatioOperation','WebBrowserSingleActiveUnitService','setInterval','shareReplay','_initDependencies','setConfig','collabStatus.offline','IBeforeCloseService','Rectangle','BuiltInUIPart','ColorKit','handleIRemoveRow','loadUnit','rxjs','_init','_id','setActiveRange','LOCAL_CACHE_INTERVAL_KEY','PERMISSION_DENIED','_initUnhandledRejectionListener','min','InsertRangeMoveDownCommandId','tooltipKey','FromArray','isArray','href','CLOSE_ROOM','_getFormulaLimitStatus','UNIVER_DOC','getAncestorScale','stageInfo','_render','JOIN_ROOM_FAILED','_cursor','top','requireSession','RemoteUniscriptService','pipe','currentSkeleton$','formula.calculation.started','init','/universer-api/license/formula/limit/done','React','stringify','_taskIds','_drawTextRange','collaboration.single-unit.warning','entries','IMessageService','functionsExecutedState','_initCommandInterceptor','_transformPreviousActiveRange','_refRangeService','string','_beforeCloseService','_lastPointer','_updateURLWithCurrentState','preventDefault','IUniverInstanceService','SetFormulaCalculationNotificationMutation','InsertColCommandId','arc','_entities','range','offsetY','#0B9EFB','BehaviorSubject','getCurrentRevOfUnit','runRefRangeMutations','DocStateChangeManagerService','startRow','getVpScrollXYInfoByPosToVp','toStringTag','_scheduleSaving','get','UniverCollaborationClientPlugin','RegularPolygon','CanceledError','popstate','SessionStatus','attrs','flatMap','default','reconnect','Error','xlink:href','UniverDocsUi','packageName','lineTo','_isBlinkVisible','from','_online','_session','@univerjs/docs','transformRemoteChangeset','RxDisposable','rgba(255,\x20255,\x20255,\x200.01)','transformMutation','RemoveColCommandId','Warning','resize','IRenderManagerService','USERS_LEAVE','_notificationService','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','collaboration-client-ui.config','colorChannel1','error','setParam','status','addHandlerCallback','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationUIEventService','_refreshCollabCursors','black','pushState','textRanges','InsertRangeMoveRightCommandId','getCurrentSkeleton','_dataLoaderService','max','getMemberID','mutations','green.600','permission.content','random','addClipboardHook','endRow','_lastResponseTimestamp','handleInsertRangeMoveDown','sessionStatus$','_drawAnchor','_localeService','dark:focus:univer-ring-offset-gray-800','getSheetBySheetId','_registerRenderDependencies','message','DOC_RANGE_TYPE','_collabCursorController','setTimeout','SheetsSelectionsService','current','_clearOtherTimers','_collaborationSessionService','onLocalMutation','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','key','getUnitId','_highlightSecond','getCoordByCell','_registerDependencies','_ensureSubject','startColumn','DocCollaborationEntity','search','collabStatus.synced','fillRule','1em','unitID','@univerjs-pro/collaboration-client','Shape','toPrimitive','UniverRpc','_blinkTimer','DEFAULT_WS_SESSION_TICKET_URL','_applyCommand','UniverIcon','@univerjs/sheets','_setFormulaLimitStatus','doc.mutation.rich-text-editing','dispose$','forEach',',\x200.2)','closePath','ONLINE','blue.400','_monkeyPatchLogService','bottom','_saveTaskMap','unload','UniverInstanceType','getSkeleton','includes','amd','hide','univer-appearance-none','UniverDesign','mapTo','parseInt','_scene','/universer-api/frontend/logs','onStarting','1449984NUOtFk','ranges','_labelPosition','unit','url(#$1','button','true','OTHER_CLIENT_EDITING','post','_memberService','then','@univerjs-pro/collaboration','disableLocalCache','MemberService','univer-border-none\x20univer-bg-transparent','clearInterval','_uploadLog','UniverCollaborationClientUIPlugin','shift','parse','collab-text-range-','throttleTime','TEXT_RANGE_LAYER_INDEX','currentColor','getUnit','_docTransformSelectionsService','SYNCED','_handleEvent','_draw','_send','_heartbeatTimer','measureText','ICommandService','endColumn','docStateChange$','_shapes','engine','off-line-icon_clip0_910_343','_config','subscribe','merge','touchDependencies','_toggleOnline','session.connection-failed','_cursors','_assignedColors','UniverNetwork','ErrorCode','transformMutationsWithChangeset','transformStateCache','slice','result','yellow.400','_revisionService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','HTTPService','_createSocketURL','_initResize','m1Prime','getColorFromTheme','_docTransformIMECacheService','permission.title','runId','makeDirty','_startSheetCollabCursor','stack','indicator','colorClass','complete','_onCursorUpdate','_name','_getSaveTimeout','debounce','clearTimeout','UniverProCollaborationClientUi','TRANSFORM_CHANGE_OBSERVABLE_TYPE','univerjs-icon\x20univerjs-icon-','_range','fill','toString','object','focused$','CollaborationEvent','onTransformChange$','getMergeData','whenReady','unshift','totalFormulasToCalculate','_onCursorDelete','loadOfflineData','subunit','white','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','function','COLORS','translate(.97)','getTypeOfUnitDisposed$','labelPosition','univer-text-green-500','_transformHistoryAndStateStack','on-line-icon_clip0_910_349','type','UniverDocs','_scheduleHeartbeat','send','IDocClipboardService','newValue','socket$','464165DseRpP','_commandService','releaseFormulaLimitUrl','set','UnitStatus','replaceDocRanges','_httpService','isActive','_scheduleClearOtherTimer','UniverProCollaborationClient','addEventListener','on-line-icon','_docTransformStateCacheService','_currentUsage','DisposableCollection','CollaborationUIEventService','react/jsx-runtime','_eventUnsubscribe','onRendered','operators','RevisionService','_anchorDot','enableFrontendLog','/run/','@univerjs/design','setOffsetY','89370HaFtDy','univer-inline-flex\x20univer-items-center\x20univer-justify-center','registerRenderModule','MUTATION','reason','getRangePointData','size','_getAnchorBounding','[CollaborationDataLoaderController]','editingUnit','setStateCache','21xIPHMp','_initUserListener','deserializeRangeWithSheet','CollaborationStatus','code','_checkAndWaitForCalculationPermission','map','prototype','contains','...','split','polite','drawWith','collab-rect-range-','useRef','getSheetObject','handleDeleteRangeMoveUp','span','Vector2','_colorIndex','static','_setupBeforeClosingHandler','UniverSheetsUi','Injector','getCellMatrix','univer-text-red-500','now','setUndoRedoMutationParamsCache','disposeUnit','mergeOverrideWithDependencies','handleIRemoveCol','getDocRanges','round','beforeCommandExecuted','mask','getItem','symbol','data','font','some','undoState','@univerjs/rpc','deepClone','getColor','removeParam','_initEvent','all','wsSessionTicketUrl','connectInjector','saveOfflineData','row','useDependency','replace','univer-text-orange-500','Inject','_startDocCollabCursor','takeUntil','Loading','60XYZoTb','filename','registerRefRange','SetWorksheetActivateCommand','location','url(#off-line-icon_clip0_910_343)','_maxFormulaLimit','handleInsertCol','storage','length','0.22.0','toDisposable','_updateCollabCursors','removeEventListener','name','limitInfo','SUCCESS','IImageIoService','fromEvent','_messageService','Unknown\x20user','defineProperty','@univerjs/core','onMouseMove','sheetId','_doCreateSocket','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_disabled','replaceState','getStateCache','setItem','_stopBlinking','ILogService','182083KVYZOa','_configService','univer-flex\x20univer-items-center\x20univer-justify-center','getActiveRange','_localCacheService','getCollabCursors$','_collabSessionService','204mHxtYI','_localStorageService','searchParams','_checkCalculationAvailable','_removeClearOtherTimer','fillText','_hover','_status$','IUIPartsService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','loading-multi-icon','_pollingInterval','urlChange$','\x20-\x20','collab-client.tooltip.reconnect','startsWith','rxjs/operators','UniverEngineRender','_handleHover','_removeCollabCursors','isTransformMutationsWithChangesetSuccess','FormulaExecuteStageType','BrowserCollaborationSocketService','_docSkeletonManagerService','DesktopCollaborationStatusDisplayController','currentTheme$','9hqoVVy','toRgbString','ticket','_handleJoinEvent','UniverProtocol','rgba','eventID','WebURLService','SHEET_VIEWPORT_KEY','Disposable','saveTaskMap','M0\x200H16V16H0z','addObjects','Module','isTransformMutationFailure','UNIVER_SHEET','@univerjs/ui','saveImage','registerBeforeClose','556QOZaCz','4NqcBIr','stage','collabStatus.conflict','TEXT','_getScale','_updateLocalCursor','highlight','getMember','WebSocketService','[Unhandled\x20Rejection]:\x20','getFocusedUnit','MessageType','_toggleOffline','Tools','debug','height','handleDeleteRangeMoveLeft','getValue','bind','NodePositionConvertToRectRange','getUndoRedoMutationParamsCache','_initWindowErrorListener','filter','_injector'];_0x7a07=function(){return _0x492b55;};return _0x7a07();}
|
|
8
|
+
function _0x1e54(_0x1a7164,_0x114869){_0x1a7164=_0x1a7164-0x11b;const _0x4ae0f5=_0x4ae0();let _0x1e54c3=_0x4ae0f5[_0x1a7164];return _0x1e54c3;}(function(_0x3c5877,_0x56c799){const _0x153647=_0x1e54,_0x3517e9=_0x3c5877();while(!![]){try{const _0x4880a1=-parseInt(_0x153647(0x303))/0x1+-parseInt(_0x153647(0x2ea))/0x2*(-parseInt(_0x153647(0x213))/0x3)+parseInt(_0x153647(0x1ed))/0x4*(-parseInt(_0x153647(0x1f8))/0x5)+-parseInt(_0x153647(0x1ad))/0x6*(parseInt(_0x153647(0x387))/0x7)+-parseInt(_0x153647(0x277))/0x8+-parseInt(_0x153647(0x311))/0x9*(-parseInt(_0x153647(0x3b1))/0xa)+-parseInt(_0x153647(0x25b))/0xb*(-parseInt(_0x153647(0x1fe))/0xc);if(_0x4880a1===_0x56c799)break;else _0x3517e9['push'](_0x3517e9['shift']());}catch(_0x133609){_0x3517e9['push'](_0x3517e9['shift']());}}}(_0x4ae0,0xc7864),function(_0x59638b,_0x30b54){const _0x533f40=_0x1e54;typeof exports=='object'&&typeof module<'u'?_0x30b54(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/rpc`),require(`@univerjs/sheets`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs-pro/collaboration`),require(`@univerjs/docs`),require(`@univerjs/engine-formula`),require(`rxjs/operators`),require(`@univerjs/sheets-ui`),require(`@univerjs/protocol`)):typeof define==_0x533f40(0x171)&&define[_0x533f40(0x186)]?define([_0x533f40(0x21a),'@univerjs-pro/collaboration-client',_0x533f40(0x155),_0x533f40(0x1fb),'rxjs','@univerjs/design',_0x533f40(0x247),_0x533f40(0x270),'@univerjs/rpc',_0x533f40(0x357),_0x533f40(0x147),_0x533f40(0x268),_0x533f40(0x3ef),_0x533f40(0x3db),_0x533f40(0x255),_0x533f40(0x3b5),_0x533f40(0x127),_0x533f40(0x178),'@univerjs/sheets-ui',_0x533f40(0x229)],_0x30b54):(_0x59638b=typeof globalThis<'u'?globalThis:_0x59638b||self,_0x30b54(_0x59638b[_0x533f40(0x3af)]={},_0x59638b[_0x533f40(0x373)],_0x59638b[_0x533f40(0x33e)],_0x59638b[_0x533f40(0x2cb)],_0x59638b[_0x533f40(0x347)],_0x59638b[_0x533f40(0x1cc)],_0x59638b[_0x533f40(0x2d5)],_0x59638b[_0x533f40(0x2d5)],_0x59638b[_0x533f40(0x385)],_0x59638b[_0x533f40(0x1af)],_0x59638b[_0x533f40(0x2da)],_0x59638b[_0x533f40(0x2aa)],_0x59638b['UniverDocsUi'],_0x59638b['UniverDrawing'],_0x59638b[_0x533f40(0x260)],_0x59638b[_0x533f40(0x36c)],_0x59638b[_0x533f40(0x21f)],_0x59638b[_0x533f40(0x347)][_0x533f40(0x338)],_0x59638b['UniverSheetsUi'],_0x59638b['UniverProtocol']));}(this,function(_0x540768,_0x5cb8e9,_0x5ff70c,_0x1a8c85,_0x57c48c,_0x1c52e0,_0x50e610,_0x1e39fa,_0x720ded,_0x17576e,_0x132305,_0x51aa1e,_0x42caa8,_0x45bcbc,_0x5c7fe8,_0x28b3fb,_0x3ee1fc,_0x4f9164,_0x5cad07,_0x5bb673){const _0x4e1e46=_0x1e54;Object['defineProperty'](_0x540768,Symbol['toStringTag'],{'value':'Module'});function _0x43e9c1({ref:_0x57d63e,..._0x82858f}){const _0x233e24=_0x1e54;let {icon:_0x28586d,id:_0x34bf16,className:_0x19c859,extend:_0x34b46b,..._0x2ae0dd}=_0x82858f,_0x11c586=(_0x233e24(0x36f)+_0x34bf16+'\x20'+(_0x19c859||''))[_0x233e24(0x2e9)](),_0x14306c=(0x0,_0x50e610['useRef'])('_'+_0x44a607());return _0x5c0266(_0x28586d,''+_0x34bf16,{'defIds':_0x28586d[_0x233e24(0x367)],'idSuffix':_0x14306c[_0x233e24(0x2e5)]},{'ref':_0x57d63e,'className':_0x11c586,..._0x2ae0dd},_0x34b46b);}function _0x5c0266(_0x25c748,_0x1c0c25,_0x4abbfc,_0x279a20,_0x15e322){const _0x10d921=_0x1e54;return(0x0,_0x50e610[_0x10d921(0x31e)])(_0x25c748[_0x10d921(0x3c8)],{'key':_0x1c0c25,..._0x1fba16(_0x25c748,_0x4abbfc,_0x15e322),..._0x279a20},(_0x191098(_0x25c748,_0x4abbfc)[_0x10d921(0x3b7)]||[])[_0x10d921(0x272)]((_0x3b3726,_0x27c18b)=>_0x5c0266(_0x3b3726,_0x1c0c25+'-'+_0x25c748[_0x10d921(0x3c8)]+'-'+_0x27c18b,_0x4abbfc,void 0x0,_0x15e322)));}function _0x1fba16(_0x487ce3,_0xb7e8a8,_0x1e5ae1){const _0x37639c=_0x1e54;let _0x3103ec={..._0x487ce3['attrs']};_0x1e5ae1!=null&&_0x1e5ae1[_0x37639c(0x36e)]&&_0x3103ec[_0x37639c(0x2de)]===_0x37639c(0x36e)&&(_0x3103ec[_0x37639c(0x2de)]=_0x1e5ae1['colorChannel1']),_0x487ce3[_0x37639c(0x3c8)]===_0x37639c(0x275)&&_0x3103ec['id']&&(_0x3103ec['id']+=_0xb7e8a8[_0x37639c(0x3b3)]),Object['entries'](_0x3103ec)[_0x37639c(0x1c9)](([_0x11d4ac,_0x143799])=>{const _0x399e34=_0x37639c;_0x11d4ac==='mask'&&typeof _0x143799==_0x399e34(0x25d)&&(_0x3103ec[_0x11d4ac]=_0x143799[_0x399e34(0x17a)](/url\(#(.*)\)/,_0x399e34(0x3bb)+_0xb7e8a8[_0x399e34(0x3b3)]+')'));});let {defIds:_0x153a7f}=_0xb7e8a8;return!_0x153a7f||_0x153a7f[_0x37639c(0x319)]===0x0?_0x3103ec:(_0x487ce3[_0x37639c(0x3c8)]==='use'&&_0x3103ec[_0x37639c(0x14e)]&&(_0x3103ec[_0x37639c(0x14e)]+=_0xb7e8a8[_0x37639c(0x3b3)]),Object[_0x37639c(0x196)](_0x3103ec)['forEach'](([_0xf65618,_0x40056e])=>{const _0x395123=_0x37639c;typeof _0x40056e==_0x395123(0x25d)&&(_0x3103ec[_0xf65618]=_0x40056e[_0x395123(0x17a)](/url\(#(.*)\)/,_0x395123(0x3bb)+_0xb7e8a8[_0x395123(0x3b3)]+')'));}),_0x3103ec);}function _0x191098(_0x5443b1,_0x27f3c3){const _0x2df5ab=_0x1e54;var _0x350267;let {defIds:_0x401ded}=_0x27f3c3;return!_0x401ded||_0x401ded[_0x2df5ab(0x319)]===0x0?_0x5443b1:_0x5443b1[_0x2df5ab(0x3c8)]===_0x2df5ab(0x391)&&(_0x350267=_0x5443b1['children'])!=null&&_0x350267[_0x2df5ab(0x319)]?{..._0x5443b1,'children':_0x5443b1[_0x2df5ab(0x3b7)][_0x2df5ab(0x272)](_0x251cf5=>typeof _0x251cf5[_0x2df5ab(0x1cb)]['id']=='string'&&_0x401ded&&_0x401ded[_0x2df5ab(0x2c2)](_0x251cf5['attrs']['id'])?{..._0x251cf5,'attrs':{..._0x251cf5['attrs'],'id':_0x251cf5[_0x2df5ab(0x1cb)]['id']+_0x27f3c3[_0x2df5ab(0x3b3)]}}:_0x251cf5)}:_0x5443b1;}function _0x44a607(){const _0x2feece=_0x1e54;return Math[_0x2feece(0x138)]()[_0x2feece(0x34d)](0x24)[_0x2feece(0x2e3)](0x2,0x8);}_0x43e9c1[_0x4e1e46(0x142)]='UniverIcon';let _0x409aea={'tag':_0x4e1e46(0x350),'attrs':{'xmlns':_0x4e1e46(0x26a),'fill':'none','viewBox':_0x4e1e46(0x2f0),'width':_0x4e1e46(0x1ea),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4e1e46(0x340)},'children':[{'tag':_0x4e1e46(0x282),'attrs':{'stroke':_0x4e1e46(0x394),'d':_0x4e1e46(0x381),'strokeLinecap':_0x4e1e46(0x294),'strokeLinejoin':_0x4e1e46(0x294),'strokeWidth':1.2}}]},{'tag':_0x4e1e46(0x391),'attrs':{},'children':[{'tag':_0x4e1e46(0x382),'attrs':{'id':_0x4e1e46(0x22c)},'children':[{'tag':'path','attrs':{'fill':_0x4e1e46(0x3cd),'d':_0x4e1e46(0x129)}}]}]}],'defIds':[_0x4e1e46(0x22c)]},_0x58de04=(0x0,_0x50e610[_0x4e1e46(0x227)])(function(_0x476b8b,_0x5ecfcf){const _0x50b07d=_0x4e1e46;return(0x0,_0x50e610[_0x50b07d(0x31e)])(_0x43e9c1,Object[_0x50b07d(0x151)]({},_0x476b8b,{'id':_0x50b07d(0x160),'ref':_0x5ecfcf,'icon':_0x409aea}));});_0x58de04['displayName']='OffLineIcon';let _0x3b9891={'tag':_0x4e1e46(0x350),'attrs':{'xmlns':_0x4e1e46(0x26a),'fill':_0x4e1e46(0x3bf),'viewBox':_0x4e1e46(0x35d),'width':'1em','height':_0x4e1e46(0x1ea)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e1e46(0x37f)},'children':[{'tag':_0x4e1e46(0x282),'attrs':{'stroke':'currentColor','d':_0x4e1e46(0x1dc),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4e1e46(0x391),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4e1e46(0x18f)},'children':[{'tag':'path','attrs':{'fill':_0x4e1e46(0x3cd),'d':_0x4e1e46(0x129),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4e1e46(0x18f)]},_0xd7363a=(0x0,_0x50e610[_0x4e1e46(0x227)])(function(_0x413d7c,_0x46b5ef){const _0xdbbf05=_0x4e1e46;return(0x0,_0x50e610[_0xdbbf05(0x31e)])(_0x43e9c1,Object[_0xdbbf05(0x151)]({},_0x413d7c,{'id':'on-line-icon','ref':_0x46b5ef,'icon':_0x3b9891}));});_0xd7363a[_0x4e1e46(0x142)]=_0x4e1e46(0x2bd);let _0x11e313={'tag':'svg','attrs':{'xmlns':_0x4e1e46(0x26a),'fill':_0x4e1e46(0x3bf),'viewBox':_0x4e1e46(0x2f0),'width':'1em','height':_0x4e1e46(0x1ea)},'children':[{'tag':'path','attrs':{'fill':_0x4e1e46(0x1b2),'d':_0x4e1e46(0x278),'fillOpacity':0.2,'fillRule':_0x4e1e46(0x15e),'clipRule':_0x4e1e46(0x15e)}},{'tag':_0x4e1e46(0x282),'attrs':{'fill':_0x4e1e46(0x1b2),'d':_0x4e1e46(0x378),'fillRule':'evenodd','clipRule':_0x4e1e46(0x15e)}}]},_0x28bd72=(0x0,_0x50e610[_0x4e1e46(0x227)])(function(_0x206120,_0x5f407c){const _0x33c459=_0x4e1e46;return(0x0,_0x50e610[_0x33c459(0x31e)])(_0x43e9c1,Object[_0x33c459(0x151)]({},_0x206120,{'id':'loading-multi-icon','ref':_0x5f407c,'icon':_0x11e313}));});_0x28bd72[_0x4e1e46(0x142)]='LoadingMultiIcon';function _0x4dc4db(_0x318ee3){const _0x2ffcc4=_0x4e1e46;switch(_0x318ee3){case _0x5cb8e9[_0x2ffcc4(0x406)][_0x2ffcc4(0x393)]:return{'icon':(0x0,_0x1e39fa[_0x2ffcc4(0x36d)])(_0x58de04,{}),'colorClass':_0x2ffcc4(0x362),'i18nKey':'collabStatus.offline','tooltipKey':_0x2ffcc4(0x24c),'clickable':!0x0,'indicator':'static'};case _0x5cb8e9['CollaborationStatus']['CONFLICT']:return{'icon':(0x0,_0x1e39fa['jsx'])(_0x58de04,{}),'colorClass':_0x2ffcc4(0x133),'i18nKey':_0x2ffcc4(0x251),'clickable':!0x1,'indicator':'static'};case _0x5cb8e9[_0x2ffcc4(0x406)][_0x2ffcc4(0x1e4)]:return{'icon':(0x0,_0x1e39fa['jsx'])(_0x28bd72,{}),'colorClass':_0x2ffcc4(0x389),'i18nKey':'collabStatus.fetchMiss','clickable':!0x1,'indicator':_0x2ffcc4(0x359)};case _0x5cb8e9[_0x2ffcc4(0x406)][_0x2ffcc4(0x188)]:return{'icon':(0x0,_0x1e39fa[_0x2ffcc4(0x36d)])(_0xd7363a,{}),'colorClass':_0x2ffcc4(0x2f6),'i18nKey':_0x2ffcc4(0x161),'clickable':!0x1,'indicator':'static'};case _0x5cb8e9[_0x2ffcc4(0x406)][_0x2ffcc4(0x2c0)]:case _0x5cb8e9['CollaborationStatus'][_0x2ffcc4(0x325)]:return{'icon':(0x0,_0x1e39fa[_0x2ffcc4(0x36d)])(_0x28bd72,{}),'colorClass':_0x2ffcc4(0x389),'i18nKey':_0x2ffcc4(0x143),'clickable':!0x1,'indicator':_0x2ffcc4(0x359)};case _0x5cb8e9[_0x2ffcc4(0x406)][_0x2ffcc4(0x216)]:case _0x5cb8e9['CollaborationStatus']['PENDING']:return{'icon':(0x0,_0x1e39fa[_0x2ffcc4(0x36d)])(_0xd7363a,{}),'colorClass':_0x2ffcc4(0x2a6),'i18nKey':_0x2ffcc4(0x20c),'clickable':!0x1,'indicator':_0x2ffcc4(0x3d2)};}}function _0x1fe6a6(_0x25f45f){const _0x482f9f=_0x4e1e46;let {status$:_0x115db7}=_0x25f45f,_0x1824c8=(0x0,_0x1a8c85[_0x482f9f(0x150)])(_0x115db7,_0x5cb8e9['CollaborationStatus']['NOT_COLLAB']),_0x1adcb3=(0x0,_0x1a8c85[_0x482f9f(0x192)])(_0x5ff70c[_0x482f9f(0x139)]),_0x52dd88=(0x0,_0x1a8c85[_0x482f9f(0x192)])(_0x5cb8e9['CollaborationSessionService']),_0x38050a=(0x0,_0x50e610[_0x482f9f(0x402)])(()=>_0x4dc4db(_0x1824c8),[_0x1824c8]),_0x22651d=_0x1824c8!==_0x5cb8e9['CollaborationStatus']['OFFLINE'],_0x3976df=_0x1adcb3['t'](_0x38050a[_0x482f9f(0x256)]),_0x4d0cc1=_0x38050a[_0x482f9f(0x342)]?_0x1adcb3['t'](_0x38050a[_0x482f9f(0x342)]):_0x3976df,_0xa1727a=(0x0,_0x50e610[_0x482f9f(0x401)])(()=>{const _0x1d3b8f=_0x482f9f;_0x22651d||_0x52dd88[_0x1d3b8f(0x166)]();},[_0x22651d,_0x52dd88]),_0x42263d=(0x0,_0x50e610['useCallback'])(_0x11d5e9=>{const _0x1ba213=_0x482f9f;!_0x22651d&&(_0x11d5e9[_0x1ba213(0x35c)]===_0x1ba213(0x122)||_0x11d5e9[_0x1ba213(0x35c)]==='\x20')&&(_0x11d5e9[_0x1ba213(0x3d1)](),_0x52dd88[_0x1ba213(0x166)]());},[_0x22651d,_0x52dd88]),_0x30dca4=(0x0,_0x1e39fa[_0x482f9f(0x36d)])(_0x482f9f(0x224),{'className':(0x0,_0x1c52e0[_0x482f9f(0x2e6)])(_0x482f9f(0x27a),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x38050a['colorClass'],{'univer-animate-spin':_0x38050a[_0x482f9f(0x1d8)]===_0x482f9f(0x359),'univer-animate-pulse':_0x38050a[_0x482f9f(0x1d8)]===_0x482f9f(0x209)}),'aria-hidden':_0x482f9f(0x3b9),'children':_0x38050a[_0x482f9f(0x190)]}),_0x3595e7=(0x0,_0x1e39fa[_0x482f9f(0x36d)])(_0x482f9f(0x224),{'className':(0x0,_0x1c52e0[_0x482f9f(0x2e6)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x482f9f(0x156),'univer-transition-all\x20univer-duration-200',_0x482f9f(0x165),'dark:focus:univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x38050a['clickable'],'univer-cursor-default':!_0x38050a['clickable']}),'children':_0x30dca4});return _0x38050a[_0x482f9f(0x194)]?(0x0,_0x1e39fa[_0x482f9f(0x36d)])(_0x1c52e0[_0x482f9f(0x232)],{'title':_0x4d0cc1,'placement':'bottom','children':(0x0,_0x1e39fa[_0x482f9f(0x36d)])(_0x482f9f(0x172),{'type':'button','onClick':_0xa1727a,'onKeyDown':_0x42263d,'className':(0x0,_0x1c52e0[_0x482f9f(0x2e6)])(_0x482f9f(0x37e),_0x482f9f(0x28b),_0x482f9f(0x291),'univer-appearance-none'),'aria-label':_0x3976df+'\x20-\x20'+_0x4d0cc1,'role':'status','aria-live':_0x482f9f(0x388),'aria-atomic':_0x482f9f(0x3b9),'children':_0x3595e7})}):(0x0,_0x1e39fa['jsx'])(_0x1c52e0[_0x482f9f(0x232)],{'title':_0x4d0cc1,'placement':'bottom','children':(0x0,_0x1e39fa[_0x482f9f(0x36d)])(_0x482f9f(0x11c),{'className':(0x0,_0x1c52e0['clsx'])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x482f9f(0x28b),'univer-m-0\x20univer-p-0'),'aria-label':_0x3976df,'role':'status','aria-live':_0x482f9f(0x388),'aria-atomic':_0x482f9f(0x3b9),'children':_0x3595e7})});}function _0x1706d1(_0x429209){'@babel/helpers - typeof';const _0x5d1393=_0x4e1e46;return _0x1706d1=typeof Symbol==_0x5d1393(0x171)&&typeof Symbol[_0x5d1393(0x1a2)]=='symbol'?function(_0x4e5da7){return typeof _0x4e5da7;}:function(_0x33a58b){const _0x8bab96=_0x5d1393;return _0x33a58b&&typeof Symbol==_0x8bab96(0x171)&&_0x33a58b[_0x8bab96(0x2fd)]===Symbol&&_0x33a58b!==Symbol[_0x8bab96(0x38e)]?_0x8bab96(0x173):typeof _0x33a58b;},_0x1706d1(_0x429209);}function _0x208a50(_0x5f01fe,_0x330d04){const _0x525b39=_0x4e1e46;if(_0x1706d1(_0x5f01fe)!=_0x525b39(0x191)||!_0x5f01fe)return _0x5f01fe;var _0x44ee0e=_0x5f01fe[Symbol[_0x525b39(0x2bc)]];if(_0x44ee0e!==void 0x0){var _0x31a2e5=_0x44ee0e[_0x525b39(0x204)](_0x5f01fe,_0x330d04||_0x525b39(0x26f));if(_0x1706d1(_0x31a2e5)!='object')return _0x31a2e5;throw TypeError(_0x525b39(0x263));}return(_0x330d04===_0x525b39(0x25d)?String:Number)(_0x5f01fe);}function _0x4f7238(_0x1d8628){const _0x452ddb=_0x4e1e46;var _0x3eeca9=_0x208a50(_0x1d8628,_0x452ddb(0x25d));return _0x1706d1(_0x3eeca9)==_0x452ddb(0x173)?_0x3eeca9:_0x3eeca9+'';}function _0x2f380d(_0x4b6d8e,_0x5a98b5,_0x5c61f9){const _0x30aaca=_0x4e1e46;return(_0x5a98b5=_0x4f7238(_0x5a98b5))in _0x4b6d8e?Object[_0x30aaca(0x26c)](_0x4b6d8e,_0x5a98b5,{'value':_0x5c61f9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4b6d8e[_0x5a98b5]=_0x5c61f9,_0x4b6d8e;}function _0x4e0dee(_0x46f621,_0x5c3b0f){return function(_0x12ef32,_0x51c979){_0x5c3b0f(_0x12ef32,_0x51c979,_0x46f621);};}function _0x4a8212(_0x2fd18d,_0x1742d4,_0x6db71d,_0x12740e){const _0x2c3672=_0x4e1e46;var _0xa89dcc=arguments[_0x2c3672(0x319)],_0x12d848=_0xa89dcc<0x3?_0x1742d4:_0x12740e===null?_0x12740e=Object[_0x2c3672(0x37d)](_0x1742d4,_0x6db71d):_0x12740e,_0x2d992f;if(typeof Reflect==_0x2c3672(0x191)&&typeof Reflect[_0x2c3672(0x33f)]=='function')_0x12d848=Reflect['decorate'](_0x2fd18d,_0x1742d4,_0x6db71d,_0x12740e);else{for(var _0xa2fabf=_0x2fd18d[_0x2c3672(0x319)]-0x1;_0xa2fabf>=0x0;_0xa2fabf--)(_0x2d992f=_0x2fd18d[_0xa2fabf])&&(_0x12d848=(_0xa89dcc<0x3?_0x2d992f(_0x12d848):_0xa89dcc>0x3?_0x2d992f(_0x1742d4,_0x6db71d,_0x12d848):_0x2d992f(_0x1742d4,_0x6db71d))||_0x12d848);}return _0xa89dcc>0x3&&_0x12d848&&Object[_0x2c3672(0x26c)](_0x1742d4,_0x6db71d,_0x12d848),_0x12d848;}let _0x2352d3=class extends _0x5ff70c['Disposable']{constructor(_0x1fd3a0,_0x47879a,_0x23d13c,_0xdd15b0){const _0xbfe8b6=_0x4e1e46;super(),this['_univerInstanceService']=_0x1fd3a0,this[_0xbfe8b6(0x198)]=_0x47879a,this[_0xbfe8b6(0x1e9)]=_0x23d13c,this['_uiPartsService']=_0xdd15b0,_0x2f380d(this,_0xbfe8b6(0x2fc),new _0x57c48c['BehaviorSubject'](_0x5cb8e9[_0xbfe8b6(0x406)][_0xbfe8b6(0x188)])),this[_0xbfe8b6(0x235)](),this[_0xbfe8b6(0x1f6)]();}[_0x4e1e46(0x1f6)](){const _0x156337=_0x4e1e46;this[_0x156337(0x1b4)](this['_univerInstanceService']['focused$'][_0x156337(0x28c)]((0x0,_0x57c48c[_0x156337(0x361)])(()=>{const _0x1f8743=_0x156337;let _0x129627=this[_0x1f8743(0x12b)][_0x1f8743(0x152)]();return _0x129627?this[_0x1f8743(0x1e9)][_0x1f8743(0x380)](_0x129627[_0x1f8743(0x14b)]()):(0x0,_0x57c48c['of'])(null);}),(0x0,_0x57c48c[_0x156337(0x361)])(_0x1ed423=>_0x1ed423?_0x1ed423[_0x156337(0x2d2)]:(0x0,_0x57c48c['of'])(_0x5cb8e9['CollaborationStatus']['NOT_COLLAB'])))[_0x156337(0x16c)](_0x26ac0a=>{const _0x545539=_0x156337;this[_0x545539(0x2fc)][_0x545539(0x3fc)](_0x26ac0a);}));}['_initStatusComponent'](){const _0x1c78bc=_0x4e1e46;this[_0x1c78bc(0x1b4)](this[_0x1c78bc(0x345)]['registerComponent'](_0x1a8c85[_0x1c78bc(0x15b)]['HEADER_MENU'],()=>(0x0,_0x1a8c85[_0x1c78bc(0x2b2)])(_0x54d7d1({'status$':this[_0x1c78bc(0x2fc)][_0x1c78bc(0x168)]()}),this[_0x1c78bc(0x198)])));}};_0x2352d3=_0x4a8212([_0x4e0dee(0x0,_0x5ff70c[_0x4e1e46(0x3d9)]),_0x4e0dee(0x1,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c[_0x4e1e46(0x3d0)])),_0x4e0dee(0x2,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5cb8e9[_0x4e1e46(0x39a)])),_0x4e0dee(0x3,_0x1a8c85[_0x4e1e46(0x28a)])],_0x2352d3);function _0x54d7d1(_0x4a79eb){let {status$:_0x30e9db}=_0x4a79eb;return function(){const _0x2c110c=_0x1e54;return(0x0,_0x1e39fa[_0x2c110c(0x36d)])(_0x1fe6a6,{'status$':_0x30e9db});};}let _0x39c3cf=(0x0,_0x5ff70c[_0x4e1e46(0x377)])('uni.network.url-service'),_0x5e4795=class extends _0x5ff70c['RxDisposable']{constructor(_0x2c9926,_0x3ac7dc,_0x4f037c,_0x845705,_0x3016e3){const _0x58152b=_0x4e1e46;super(),this[_0x58152b(0x2f5)]=_0x2c9926,this[_0x58152b(0x3c5)]=_0x3ac7dc,this[_0x58152b(0x360)]=_0x4f037c,this['_dataLoaderService']=_0x845705,_0x3016e3?_0x3016e3==null||_0x3016e3[_0x58152b(0x397)]()[_0x58152b(0x3c9)](()=>this[_0x58152b(0x2bb)]()):(this[_0x58152b(0x3c5)][_0x58152b(0x2e2)]('[CollaborationDataLoaderController]',_0x58152b(0x322)),this[_0x58152b(0x2bb)]());}async['_init'](){const _0x27c319=_0x4e1e46;let _0x32f012=this[_0x27c319(0x2f5)]['getParam'](_0x27c319(0x210)),_0x409726=this[_0x27c319(0x2f5)][_0x27c319(0x212)](_0x27c319(0x289)),_0x3e7a4a=this['_urlService']['getParam']('subunit');if(!_0x32f012||!_0x409726){this['_logService'][_0x27c319(0x2e2)](_0x27c319(0x35f),_0x27c319(0x39d));return;}let _0x2f9463=await this[_0x27c319(0x1f5)][_0x27c319(0x1b1)](_0x32f012,Number(_0x409726),_0x3e7a4a);_0x2f9463&&_0x2f9463 instanceof _0x5ff70c[_0x27c319(0x290)]&&this['_setupSubUnitSync'](_0x2f9463);}async[_0x4e1e46(0x2a2)](_0x36bff3){const _0x36cee2=_0x4e1e46;await this[_0x36cee2(0x2ba)](_0x36bff3),_0x36bff3[_0x36cee2(0x3d6)]['pipe']((0x0,_0x57c48c[_0x36cee2(0x183)])(this[_0x36cee2(0x3d8)]))[_0x36cee2(0x16c)](_0x150c4b=>{_0x150c4b&&this['_updateURLWithCurrentState'](_0x150c4b);}),this[_0x36cee2(0x2f5)][_0x36cee2(0x1ef)]['pipe']((0x0,_0x57c48c[_0x36cee2(0x183)])(this[_0x36cee2(0x3d8)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x36bff3));}[_0x4e1e46(0x170)](_0x283758,_0x3efe29=!0x1){const _0x3a3d43=_0x4e1e46;let _0x1de504=this[_0x3a3d43(0x2f5)][_0x3a3d43(0x212)](_0x3a3d43(0x205));_0x283758[_0x3a3d43(0x193)]()!==_0x1de504&&this['_urlService'][_0x3a3d43(0x390)](_0x3a3d43(0x205),_0x283758['getSheetId'](),_0x3efe29);}async[_0x4e1e46(0x2ba)](_0x1bd9d4){const _0x3c5085=_0x4e1e46;var _0x623edf;let _0x3b3a30=this[_0x3c5085(0x2f5)][_0x3c5085(0x212)]('subunit');if(!_0x3b3a30||!_0x1bd9d4[_0x3c5085(0x3a4)](_0x3b3a30)){let _0x4ce072=_0x1bd9d4['getUnhiddenWorksheets']()[0x0],_0x4ad50c=_0x1bd9d4['getSheetBySheetId'](_0x4ce072);if(!_0x4ad50c)return;this[_0x3c5085(0x170)](_0x4ad50c,!0x0),await this[_0x3c5085(0x360)]['executeCommand'](_0x17576e[_0x3c5085(0x308)]['id'],{'unitId':_0x1bd9d4[_0x3c5085(0x14b)](),'subUnitId':_0x4ce072});return;}((_0x623edf=_0x1bd9d4[_0x3c5085(0x25a)]())==null?void 0x0:_0x623edf[_0x3c5085(0x193)]())!==_0x3b3a30&&await this[_0x3c5085(0x360)]['executeCommand'](_0x17576e[_0x3c5085(0x308)]['id'],{'unitId':_0x1bd9d4[_0x3c5085(0x14b)](),'subUnitId':_0x3b3a30});}};_0x5e4795=_0x4a8212([_0x4e0dee(0x0,_0x39c3cf),_0x4e0dee(0x1,_0x5ff70c[_0x4e1e46(0x2dc)]),_0x4e0dee(0x2,_0x5ff70c[_0x4e1e46(0x316)]),_0x4e0dee(0x3,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5cb8e9[_0x4e1e46(0x3f0)])),_0x4e0dee(0x4,(0x0,_0x5ff70c[_0x4e1e46(0x398)])(_0x720ded['IRemoteInstanceService']))],_0x5e4795);var _0x17c455=_0x4e1e46(0x13b),_0x3614b3=_0x4e1e46(0x1a0);let _0x3e704a=class extends _0x5ff70c['RxDisposable']{constructor(_0x4434be,_0x255316){const _0x47819e=_0x4e1e46;super(),this['_docClipboardService']=_0x4434be,this['_imageIoService']=_0x255316,this[_0x47819e(0x2bb)]();}[_0x4e1e46(0x2bb)](){const _0x3185b3=_0x4e1e46;let _0xf41501=this;this[_0x3185b3(0x1b4)](this['_docClipboardService'][_0x3185b3(0x3be)]({'onBeforePasteImage':async _0x2881e5=>{const _0x451aa3=_0x3185b3;let _0x10bdae=await _0xf41501[_0x451aa3(0x182)]['saveImage'](_0x2881e5);return _0x10bdae?{'source':_0x10bdae[_0x451aa3(0x3f6)],'imageSourceType':_0x10bdae[_0x451aa3(0x248)]}:null;}}));}};_0x3e704a=_0x4a8212([_0x4e0dee(0x0,_0x42caa8['IDocClipboardService']),_0x4e0dee(0x1,_0x45bcbc[_0x4e1e46(0x1d4)])],_0x3e704a);let _0x3190f9=['purple.300','jiqing.500',_0x4e1e46(0x1c0),'red.300',_0x4e1e46(0x3f5),_0x4e1e46(0x285)];var _0x31492b=class extends _0x5ff70c[_0x4e1e46(0x126)]{constructor(..._0x1e8128){const _0x5f014d=_0x4e1e46;super(..._0x1e8128),_0x2f380d(this,_0x5f014d(0x2e1),new Map()),_0x2f380d(this,_0x5f014d(0x3ea),0x0);}[_0x4e1e46(0x1bf)](_0x2fc6c0){const _0x4339ac=_0x4e1e46;if(this[_0x4339ac(0x2e1)]['has'](_0x2fc6c0))return this[_0x4339ac(0x2e1)]['get'](_0x2fc6c0);let _0x58e7ed=_0x3190f9[this[_0x4339ac(0x3ea)]];return this[_0x4339ac(0x3ea)]=(this[_0x4339ac(0x3ea)]+0x1)%_0x3190f9[_0x4339ac(0x319)],this[_0x4339ac(0x2e1)]['set'](_0x2fc6c0,_0x58e7ed),_0x58e7ed;}};function _0x388a82(_0x21aee2){const _0x826e51=_0x4e1e46;let _0x4d329b='';for(let _0x4b5430 of _0x21aee2){let {startOffset:_0x6ad32a,endOffset:_0x47c127,isActive:_0x3d3643,rangeType:_0x4efcd8,segmentId:_0xb761ca,segmentPage:_0x2c7ae5}=_0x4b5430;_0x4d329b[_0x826e51(0x319)]&&(_0x4d329b+=','),_0x4d329b+=_0x6ad32a+':'+_0x47c127+':'+(_0x3d3643?'1':'0')+':'+_0x4efcd8+':'+_0xb761ca+':'+_0x2c7ae5;}return _0x4d329b;}function _0x3abdfa(_0x412138){const _0x29dc82=_0x4e1e46;let _0x369dc4=_0x412138[_0x29dc82(0x32b)](','),_0x295e5e=[];for(let _0x483845 of _0x369dc4){let [_0x5516e1,_0x256fe6,_0x1699dd,_0x26bdab,_0x1106d7,_0x1f7547]=_0x483845[_0x29dc82(0x32b)](':');_0x295e5e[_0x29dc82(0x3a8)]({'startOffset':Number(_0x5516e1),'endOffset':Number(_0x256fe6),'collapsed':_0x5516e1===_0x256fe6,'isActive':_0x1699dd==='1','rangeType':_0x26bdab===_0x5ff70c[_0x29dc82(0x1e5)]['TEXT']?_0x5ff70c[_0x29dc82(0x1e5)][_0x29dc82(0x2f1)]:_0x5ff70c[_0x29dc82(0x1e5)][_0x29dc82(0x18a)],'segmentId':typeof _0x1106d7==_0x29dc82(0x25d)?String(_0x1106d7):'','segmentPage':Number(_0x1f7547==null?-0x1:_0x1f7547)});}return _0x295e5e[_0x29dc82(0x3bd)](_0x3ac392=>_0x3ac392['isActive'])||(_0x295e5e[0x0][_0x29dc82(0x1b8)]=!0x0),_0x295e5e;}var _0x13bb23=class extends _0x5ff70c[_0x4e1e46(0x2ce)]{constructor(..._0x100288){const _0x35bcda=_0x4e1e46;super(..._0x100288),_0x2f380d(this,_0x35bcda(0x399),new _0x57c48c[(_0x35bcda(0x1d5))](null)),_0x2f380d(this,'collabCursorState$',this[_0x35bcda(0x399)][_0x35bcda(0x168)]());}[_0x4e1e46(0x23f)](_0x5211c1){const _0x1a2134=_0x4e1e46;let {unitID:_0x310aaa,memberID:_0x205f82,textRanges:_0x5dc6e2}=_0x5211c1,_0x5ef343=_0x388a82(_0x5dc6e2);if(_0x5ef343==='')return;let _0x22d983={'unitID':_0x310aaa,'memberID':_0x205f82,'selection':_0x5ef343};this[_0x1a2134(0x399)][_0x1a2134(0x3fc)](_0x22d983);}};let _0x2f5647=class extends _0x5ff70c['RxDisposable']{get[_0x4e1e46(0x1c7)](){const _0x525a89=_0x4e1e46;return this[_0x525a89(0x1e2)][_0x525a89(0x233)]();}get['roomMembers'](){const _0x36d224=_0x4e1e46;return this[_0x36d224(0x1ab)][_0x36d224(0x233)]();}constructor(_0x382490,_0x56598c,_0x1ed6a1,_0x5a34c3,_0x303e41,_0x10ec6e,_0x3d7a59,_0x3fc3fc,_0x36d9b6){const _0x3fd903=_0x4e1e46;super(),this['unitID']=_0x382490,this[_0x3fd903(0x179)]=_0x56598c,this[_0x3fd903(0x198)]=_0x1ed6a1,this[_0x3fd903(0x2b6)]=_0x5a34c3,this[_0x3fd903(0x3b8)]=_0x303e41,this[_0x3fd903(0x22a)]=_0x10ec6e,this[_0x3fd903(0x2ff)]=_0x3d7a59,this[_0x3fd903(0x12b)]=_0x3fc3fc,this[_0x3fd903(0x360)]=_0x36d9b6,_0x2f380d(this,_0x3fd903(0x2d3),!0x1),_0x2f380d(this,'_init',!0x1),_0x2f380d(this,'_cursorInfo$',new _0x57c48c[(_0x3fd903(0x1d5))](new Map())),_0x2f380d(this,_0x3fd903(0x16b),this[_0x3fd903(0x1e2)][_0x3fd903(0x168)]()),_0x2f380d(this,'_roomMembers$',new _0x57c48c['BehaviorSubject']([])),_0x2f380d(this,'roomMembers$',this[_0x3fd903(0x1ab)][_0x3fd903(0x28c)]((0x0,_0x57c48c[_0x3fd903(0x28e)])(0x12c))),_0x2f380d(this,'_updateLocalCursor',(0x0,_0x5ff70c[_0x3fd903(0x175)])(_0x1e2ec0=>{const _0x1844a5=_0x3fd903;let _0xe9eb32={'eventID':_0x5c7fe8[_0x1844a5(0x29d)][_0x1844a5(0x3dd)],'data':{'unitID':this[_0x1844a5(0x261)],'memberID':this[_0x1844a5(0x179)][_0x1844a5(0x386)](),'selection':_0x388a82(_0x1e2ec0)}};this[_0x1844a5(0x179)]['send'](_0xe9eb32,this['unitID']);},0x64));}['dispose'](){const _0x1d52e9=_0x4e1e46;super['dispose'](),this[_0x1d52e9(0x1e2)][_0x1d52e9(0x3fc)](new Map()),this[_0x1d52e9(0x1e2)][_0x1d52e9(0x32a)](),this[_0x1d52e9(0x1ab)][_0x1d52e9(0x3fc)]([]),this[_0x1d52e9(0x1ab)][_0x1d52e9(0x32a)]();}['init'](){const _0x464df2=_0x4e1e46;this['_init']||(this[_0x464df2(0x2bb)]=!0x0,this[_0x464df2(0x179)][_0x464df2(0x19b)][_0x464df2(0x28c)]((0x0,_0x57c48c[_0x464df2(0x183)])(this[_0x464df2(0x3d8)]))[_0x464df2(0x16c)](_0x120a52=>{const _0x1a24d6=_0x464df2;_0x120a52===_0x5cb8e9[_0x1a24d6(0x30f)][_0x1a24d6(0x22d)]?this['_toggleOnline']():this[_0x1a24d6(0x372)]();}),this['_session'][_0x464df2(0x3f7)]['pipe']((0x0,_0x57c48c[_0x464df2(0x183)])(this[_0x464df2(0x3d8)]))[_0x464df2(0x16c)](_0x156b2c=>{const _0x17b80d=_0x464df2;let _0x353741=_0x156b2c[_0x17b80d(0x3e7)];_0x353741===_0x5c7fe8[_0x17b80d(0x29d)]['UPDATE_CURSOR']&&this[_0x17b80d(0x14a)](_0x156b2c),_0x353741===_0x5c7fe8[_0x17b80d(0x29d)][_0x17b80d(0x195)]&&this['_onCursorDelete'](_0x156b2c);}),this['disposeWithMe'](this[_0x464df2(0x360)][_0x464df2(0x1ca)](_0x37f06b=>{const _0x586f4c=_0x464df2;let _0x20d32a=_0x37f06b[_0x586f4c(0x21c)];_0x20d32a!=null&&this[_0x586f4c(0x2d3)]&&_0x37f06b['id']===_0x28b3fb[_0x586f4c(0x310)]['id']&&_0x20d32a[_0x586f4c(0x3e0)]===this[_0x586f4c(0x261)]&&_0x20d32a[_0x586f4c(0x1f3)]===!0x1&&_0x20d32a[_0x586f4c(0x33b)][_0x586f4c(0x319)]>0x0&&this[_0x586f4c(0x16f)](_0x20d32a[_0x586f4c(0x33b)]);})),this[_0x464df2(0x22a)][_0x464df2(0x29c)]['pipe']((0x0,_0x57c48c['takeUntil'])(this[_0x464df2(0x3d8)]))[_0x464df2(0x16c)](_0x33d249=>{const _0x4c6b37=_0x464df2;if((_0x33d249==null?void 0x0:_0x33d249['unitID'])!==this[_0x4c6b37(0x261)])return;let _0x2ada75={'eventID':_0x5c7fe8['CollaborationEvent'][_0x4c6b37(0x3dd)],'data':_0x33d249};this[_0x4c6b37(0x14a)](_0x2ada75);}),this['disposeWithMe'](this[_0x464df2(0x360)][_0x464df2(0x1ca)](_0x537617=>{const _0x44b903=_0x464df2;if(_0x537617[_0x44b903(0x21c)]==null)return;let _0x5723c9=_0x537617[_0x44b903(0x21c)];if(_0x537617['id']!==_0x28b3fb[_0x44b903(0x252)]['id']||_0x5723c9[_0x44b903(0x3e0)]!==this[_0x44b903(0x261)])return;let _0x10f26e={'id':_0x44b903(0x18c),'params':_0x5723c9},_0x2d94b4=this[_0x44b903(0x1c7)];for(let [_0x565193,_0x2fff9c]of _0x2d94b4){let _0x21d8c7={'id':_0x44b903(0x18c),'params':{'unitId':this[_0x44b903(0x261)],'actions':null,'textRanges':_0x2fff9c[_0x44b903(0x33b)]}},_0x256fd3=this[_0x44b903(0x2ff)][_0x44b903(0x187)](_0x10f26e,_0x21d8c7,!0x1);if((0x0,_0x5c7fe8[_0x44b903(0x312)])(_0x256fd3))throw _0x256fd3[_0x44b903(0x280)];_0x2d94b4[_0x44b903(0x12c)](_0x565193,{..._0x2fff9c,'ranges':_0x256fd3['m2Prime'][_0x44b903(0x21c)][_0x44b903(0x3b0)]});}queueMicrotask(()=>{const _0x538fef=_0x44b903;this[_0x538fef(0x1e2)][_0x538fef(0x3fc)](_0x2d94b4);});})));}['_onCursorUpdate'](_0x4938f7){const _0x53e01c=_0x4e1e46;var _0x569ed5,_0x14cb71;let {memberID:_0x14aaa1,selection:_0x154ce3}=_0x4938f7[_0x53e01c(0x2b4)],_0x446ab4=_0x3abdfa(_0x154ce3),_0x2ef3a5=(_0x569ed5=(_0x14cb71=this[_0x53e01c(0x3b8)][_0x53e01c(0x1e1)](this[_0x53e01c(0x261)],_0x14aaa1))==null?void 0x0:_0x14cb71[_0x53e01c(0x17c)])==null?_0x53e01c(0x3d7):_0x569ed5,_0x5f1f98={'color':this[_0x53e01c(0x2b6)]['assignAColorForMemberID'](_0x14aaa1),'name':_0x2ef3a5,'ranges':_0x446ab4},_0x4eecd3=this[_0x53e01c(0x1c7)];_0x4eecd3[_0x53e01c(0x12c)](_0x14aaa1,_0x5f1f98),this[_0x53e01c(0x1e2)][_0x53e01c(0x3fc)](_0x4eecd3);}[_0x4e1e46(0x1d3)](_0x5e46b4){const _0x37451f=_0x4e1e46;let {memberID:_0x28b7ac}=_0x5e46b4[_0x37451f(0x2b4)],_0x173b46=this[_0x37451f(0x1c7)];_0x173b46[_0x37451f(0x3dc)](_0x28b7ac),this[_0x37451f(0x1e2)][_0x37451f(0x3fc)](_0x173b46);}['_toggleOnline'](){const _0x2b6889=_0x4e1e46;var _0x40ab22;if(this[_0x2b6889(0x2d3)]=!0x0,((_0x40ab22=this[_0x2b6889(0x12b)][_0x2b6889(0x152)]())==null?void 0x0:_0x40ab22['getUnitId']())!==this[_0x2b6889(0x261)])return;let _0x37880c=this[_0x2b6889(0x198)][_0x2b6889(0x356)](_0x28b3fb[_0x2b6889(0x2e4)])[_0x2b6889(0x2af)]();Array[_0x2b6889(0x3fa)](_0x37880c)&&_0x37880c[_0x2b6889(0x319)]>0x0&&this[_0x2b6889(0x16f)](_0x37880c);}['_toggleOffline'](){const _0x18fc92=_0x4e1e46;this[_0x18fc92(0x2d3)]=!0x1;}};_0x2f5647=_0x4a8212([_0x4e0dee(0x2,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c[_0x4e1e46(0x3d0)])),_0x4e0dee(0x3,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x31492b)),_0x4e0dee(0x4,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5cb8e9[_0x4e1e46(0x287)])),_0x4e0dee(0x5,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x13bb23)),_0x4e0dee(0x6,_0x5c7fe8[_0x4e1e46(0x369)]),_0x4e0dee(0x7,_0x5ff70c[_0x4e1e46(0x3d9)]),_0x4e0dee(0x8,_0x5ff70c[_0x4e1e46(0x316)])],_0x2f5647);let _0x4fd265=()=>{let _0x3745a3=[],_0x2bedce=!0x1;return _0x56e487=>{_0x3745a3['push'](_0x56e487),_0x2bedce||(_0x2bedce=!0x0,setTimeout(()=>{_0x3745a3['forEach'](_0x12ece4=>_0x12ece4()),_0x3745a3=[],_0x2bedce=!0x1;}));};},_0x2cb5f5=class extends _0x5ff70c[_0x4e1e46(0x2ce)]{get[_0x4e1e46(0x1c7)](){const _0x973b14=_0x4e1e46;return this[_0x973b14(0x1e2)][_0x973b14(0x233)]();}get['roomMembers'](){const _0x5b2e8a=_0x4e1e46;return this[_0x5b2e8a(0x1ab)][_0x5b2e8a(0x233)]();}constructor(_0x36623a,_0x41d2ca,_0x36f3ff,_0x33c97c,_0x53d45d,_0x5ed770,_0x2cb4f2,_0x860291){const _0x1a82b4=_0x4e1e46;super(),this['unitID']=_0x36623a,this['_session']=_0x41d2ca,this['_injector']=_0x36f3ff,this[_0x1a82b4(0x2b6)]=_0x33c97c,this[_0x1a82b4(0x3b8)]=_0x53d45d,this[_0x1a82b4(0x12b)]=_0x5ed770,this['_commandService']=_0x2cb4f2,this['_refRangeService']=_0x860291,_0x2f380d(this,'_online',!0x1),_0x2f380d(this,_0x1a82b4(0x2bb),!0x1),_0x2f380d(this,'_cursorInfo$',new _0x57c48c[(_0x1a82b4(0x1d5))](new Map())),_0x2f380d(this,_0x1a82b4(0x16b),this[_0x1a82b4(0x1e2)][_0x1a82b4(0x168)]()),_0x2f380d(this,'_roomMembers$',new _0x57c48c[(_0x1a82b4(0x1d5))]([])),_0x2f380d(this,'roomMembers$',this['_roomMembers$'][_0x1a82b4(0x28c)]((0x0,_0x57c48c['debounceTime'])(0x12c))),_0x2f380d(this,'_updateLocalCursor',(0x0,_0x5ff70c[_0x1a82b4(0x175)])((_0x2c2dbb,_0x18c8d5)=>{const _0x2f0d8f=_0x1a82b4;let _0x5c7852={'eventID':_0x5c7fe8[_0x2f0d8f(0x29d)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2f0d8f(0x261)],'memberID':this[_0x2f0d8f(0x179)][_0x2f0d8f(0x386)](),'selection':(0x0,_0x3ee1fc[_0x2f0d8f(0x2ae)])(_0x2c2dbb,_0x18c8d5[_0x2f0d8f(0x293)])}};this[_0x2f0d8f(0x179)][_0x2f0d8f(0x392)](_0x5c7852,this[_0x2f0d8f(0x261)]);},0x64));}[_0x4e1e46(0x18e)](){const _0x14493b=_0x4e1e46;super['dispose'](),this['_cursorInfo$'][_0x14493b(0x3fc)](new Map()),this[_0x14493b(0x1e2)]['complete'](),this[_0x14493b(0x1ab)][_0x14493b(0x3fc)]([]),this[_0x14493b(0x1ab)]['complete']();}[_0x4e1e46(0x217)](){const _0x2e4fe9=_0x4e1e46;this[_0x2e4fe9(0x2bb)]||(this[_0x2e4fe9(0x2bb)]=!0x0,this[_0x2e4fe9(0x179)][_0x2e4fe9(0x19b)][_0x2e4fe9(0x28c)]((0x0,_0x57c48c[_0x2e4fe9(0x183)])(this[_0x2e4fe9(0x3d8)]))[_0x2e4fe9(0x16c)](_0x366ef4=>{const _0x4c99de=_0x2e4fe9;_0x366ef4===_0x5cb8e9[_0x4c99de(0x30f)][_0x4c99de(0x22d)]?this[_0x4c99de(0x22f)]():this['_toggleOffline']();}),this[_0x2e4fe9(0x179)][_0x2e4fe9(0x3f7)][_0x2e4fe9(0x28c)]((0x0,_0x57c48c[_0x2e4fe9(0x183)])(this['dispose$']))['subscribe'](_0x5c07c9=>{const _0x542809=_0x2e4fe9;let _0x34ca59=_0x5c07c9[_0x542809(0x3e7)];_0x34ca59===_0x5c7fe8[_0x542809(0x29d)][_0x542809(0x3dd)]&&this[_0x542809(0x14a)](_0x5c07c9),_0x34ca59===_0x5c7fe8['CollaborationEvent'][_0x542809(0x195)]&&this[_0x542809(0x1d3)](_0x5c07c9);}),this[_0x2e4fe9(0x2c9)](),this[_0x2e4fe9(0x1b4)](this['_commandService'][_0x2e4fe9(0x1ca)](_0x21ef77=>{const _0x39011c=_0x2e4fe9;if(this[_0x39011c(0x2d3)]&&_0x21ef77['id']===_0x17576e[_0x39011c(0x242)]['id']&&_0x21ef77['params']['unitId']===this[_0x39011c(0x261)]){let _0x5d81bf=_0x21ef77['params'];this[_0x39011c(0x16f)](_0x5d81bf[_0x39011c(0x315)],_0x5d81bf[_0x39011c(0x2fb)][0x0]);}})));}[_0x4e1e46(0x14a)](_0x800498){const _0x5d6985=_0x4e1e46;var _0x5739f2,_0x38cc7b;let {memberID:_0x40f27e,selection:_0x55eb2e}=_0x800498[_0x5d6985(0x2b4)],{sheetName:_0x22057b,range:_0xee7cd5}=(0x0,_0x3ee1fc['deserializeRangeWithSheet'])(_0x55eb2e),_0x3d0404={'name':(_0x5739f2=(_0x38cc7b=this[_0x5d6985(0x3b8)][_0x5d6985(0x1e1)](this[_0x5d6985(0x261)],_0x40f27e))==null?void 0x0:_0x38cc7b['name'])==null?'Unknown\x20user':_0x5739f2,'range':this[_0x5d6985(0x2a8)](_0x22057b,_0xee7cd5),'sheetID':_0x22057b,'color':this[_0x5d6985(0x2b6)]['assignAColorForMemberID'](_0x40f27e),'selection':_0x55eb2e},_0x16acf1=this['cursorInfo'];_0x16acf1[_0x5d6985(0x12c)](_0x40f27e,_0x3d0404),this[_0x5d6985(0x1e2)][_0x5d6985(0x3fc)](_0x16acf1);}[_0x4e1e46(0x1d3)](_0xe25bb9){const _0x12634e=_0x4e1e46;let {memberID:_0x159c84}=_0xe25bb9[_0x12634e(0x2b4)],_0xa89f8c=this[_0x12634e(0x1c7)];_0xa89f8c[_0x12634e(0x3dc)](_0x159c84),this['_cursorInfo$'][_0x12634e(0x3fc)](_0xa89f8c);}[_0x4e1e46(0x2a8)](_0x28ca09,_0x4f235e){const _0x122b58=_0x4e1e46;var _0x27c8be;let _0x1d968e=(_0x27c8be=this[_0x122b58(0x12b)]['getUniverSheetInstance'](this['unitID']))==null||(_0x27c8be=_0x27c8be[_0x122b58(0x3a4)](_0x28ca09))==null?void 0x0:_0x27c8be[_0x122b58(0x1b6)]();return(_0x1d968e==null?void 0x0:_0x1d968e[_0x122b58(0x3fe)](_0x1540eb=>_0x5ff70c['Rectangle'][_0x122b58(0x154)](_0x1540eb,_0x4f235e)))||_0x4f235e;}['_onRefRangeChange'](){const _0x3f5200=_0x4e1e46;let _0x2ab754=new _0x5ff70c['DisposableCollection'](),_0x5d2d76=_0x4fd265(),_0x2bbad6=()=>{const _0x4532da=_0x1e54;_0x2ab754[_0x4532da(0x18e)]();let _0x1209f3=(_0x4ee77c,_0x229ebc,_0x112aa9,_0x5885ac)=>{const _0x526591=_0x4532da;let _0x2b99f3=[];switch(_0x4ee77c['id']){case _0x17576e[_0x526591(0x245)][_0x526591(0x249)]:_0x2b99f3=(0x0,_0x17576e[_0x526591(0x184)])(_0x4ee77c,_0x5885ac);break;case _0x17576e[_0x526591(0x245)][_0x526591(0x301)]:_0x2b99f3=(0x0,_0x17576e['handleDeleteRangeMoveUp'])(_0x4ee77c,_0x5885ac);break;case _0x17576e[_0x526591(0x245)][_0x526591(0x2a9)]:_0x2b99f3=(0x0,_0x17576e[_0x526591(0x15d)])(_0x4ee77c,_0x5885ac);break;case _0x17576e[_0x526591(0x245)]['InsertRangeMoveDownCommandId']:_0x2b99f3=(0x0,_0x17576e[_0x526591(0x405)])(_0x4ee77c,_0x5885ac);break;case _0x17576e[_0x526591(0x245)][_0x526591(0x223)]:_0x2b99f3=(0x0,_0x17576e['handleInsertRangeMoveRight'])(_0x4ee77c,_0x5885ac);break;case _0x17576e['EffectRefRangId'][_0x526591(0x176)]:_0x2b99f3=(0x0,_0x17576e['handleInsertRow'])(_0x4ee77c,_0x5885ac);break;case _0x17576e[_0x526591(0x245)][_0x526591(0x26d)]:_0x2b99f3=(0x0,_0x17576e[_0x526591(0x309)])(_0x4ee77c,_0x5885ac);break;case _0x17576e[_0x526591(0x245)]['RemoveColCommandId']:_0x2b99f3=(0x0,_0x17576e[_0x526591(0x158)])(_0x4ee77c,_0x5885ac);break;case _0x17576e[_0x526591(0x245)][_0x526591(0x2f9)]:_0x2b99f3=(0x0,_0x17576e['handleIRemoveRow'])(_0x4ee77c,_0x5885ac);break;}let _0x2cfad4=(0x0,_0x17576e[_0x526591(0x3c1)])(_0x2b99f3,_0x5885ac),_0x479029=this['cursorInfo'][_0x526591(0x356)](_0x229ebc);if(_0x479029&&_0x2cfad4){let _0x33ae78={..._0x479029,'range':_0x2cfad4};this[_0x526591(0x1c7)][_0x526591(0x12c)](_0x229ebc,_0x33ae78),_0x5d2d76(()=>{const _0x5378b9=_0x526591;let _0x417961=this[_0x5378b9(0x1f4)][_0x5378b9(0x1be)](_0x2cfad4,_0x25d6f4=>(_0x417961[_0x5378b9(0x18e)](),_0x1209f3(_0x25d6f4,_0x229ebc,_0x112aa9,_0x2cfad4)));_0x2ab754['add'](_0x417961);});}return{'redos':[],'undos':[]};};this[_0x4532da(0x1c7)][_0x4532da(0x1c9)]((_0x4ea116,_0x388070)=>{const _0x1875c4=_0x4532da;let {range:_0x14e1a6,sheetID:_0x2d56e6}=_0x4ea116,_0x3cf2ee=this[_0x1875c4(0x1f4)][_0x1875c4(0x1be)](_0x14e1a6,_0x3132a4=>(_0x3cf2ee[_0x1875c4(0x18e)](),_0x1209f3(_0x3132a4,_0x388070,_0x2d56e6,_0x14e1a6)));_0x2ab754[_0x1875c4(0x286)](_0x3cf2ee);});};this['disposeWithMe']((0x0,_0x5ff70c['toDisposable'])(this[_0x3f5200(0x1e2)][_0x3f5200(0x16c)](()=>{_0x2bbad6();})));}[_0x4e1e46(0x22f)](){const _0x2f024d=_0x4e1e46;var _0x14ddd4,_0x2bdd0c;if(this[_0x2f024d(0x2d3)]=!0x0,((_0x14ddd4=this[_0x2f024d(0x12b)]['getFocusedUnit']())==null?void 0x0:_0x14ddd4[_0x2f024d(0x14b)]())!==this['unitID'])return;let _0x424fea=(_0x2bdd0c=this[_0x2f024d(0x198)][_0x2f024d(0x356)](_0x17576e[_0x2f024d(0x326)])[_0x2f024d(0x3a5)]())==null?void 0x0:_0x2bdd0c[0x0],_0x14f6be=this[_0x2f024d(0x12b)][_0x2f024d(0x20f)](_0x5ff70c[_0x2f024d(0x1ae)][_0x2f024d(0x2df)])[_0x2f024d(0x25a)]();_0x424fea&&_0x14f6be&&this['_updateLocalCursor'](_0x14f6be[_0x2f024d(0x193)](),_0x424fea);}[_0x4e1e46(0x372)](){const _0x1c588a=_0x4e1e46;this[_0x1c588a(0x2d3)]=!0x1;}};_0x2cb5f5=_0x4a8212([_0x4e0dee(0x2,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c[_0x4e1e46(0x3d0)])),_0x4e0dee(0x3,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x31492b)),_0x4e0dee(0x4,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5cb8e9['MemberService'])),_0x4e0dee(0x5,_0x5ff70c[_0x4e1e46(0x3d9)]),_0x4e0dee(0x6,_0x5ff70c[_0x4e1e46(0x316)]),_0x4e0dee(0x7,(0x0,_0x5ff70c['Inject'])(_0x17576e[_0x4e1e46(0x206)]))],_0x2cb5f5);let _0x3665f5=class extends _0x5ff70c[_0x4e1e46(0x2ce)]{constructor(_0x3e01f1,_0x2573c5,_0x4bc3d4){const _0x5eb9e=_0x4e1e46;super(),this[_0x5eb9e(0x12b)]=_0x3e01f1,this[_0x5eb9e(0x198)]=_0x2573c5,this[_0x5eb9e(0x12f)]=_0x4bc3d4,_0x2f380d(this,_0x5eb9e(0x264),new Map()),_0x2f380d(this,_0x5eb9e(0x3ac),new _0x57c48c[(_0x5eb9e(0x123))]()),this[_0x5eb9e(0x2bb)]();}['dispose'](){const _0x328f71=_0x4e1e46;super[_0x328f71(0x18e)](),this['_entityInit$'][_0x328f71(0x32a)](),this[_0x328f71(0x264)][_0x328f71(0x1c9)](_0x2974ca=>_0x2974ca[_0x328f71(0x18e)]());}['getCollabCursors$'](_0x329ba5){const _0x5c4d1f=_0x4e1e46;return this[_0x5c4d1f(0x264)][_0x5c4d1f(0x3d5)](_0x329ba5)?this[_0x5c4d1f(0x264)]['get'](_0x329ba5)['cursorInfo$']:this['_entityInit$'][_0x5c4d1f(0x28c)]((0x0,_0x57c48c['filter'])(_0x391a5b=>_0x391a5b['unitID']===_0x329ba5),(0x0,_0x57c48c[_0x5c4d1f(0x361)])(_0x19757d=>_0x19757d['cursorInfo$']));}['_init'](){const _0x4e0d6c=_0x4e1e46;this[_0x4e0d6c(0x12b)]['getTypeOfUnitAdded$'](_0x5ff70c[_0x4e0d6c(0x1ae)][_0x4e0d6c(0x2df)])[_0x4e0d6c(0x28c)]((0x0,_0x57c48c['takeUntil'])(this[_0x4e0d6c(0x3d8)]))[_0x4e0d6c(0x16c)](async _0x47b490=>{const _0x25203a=_0x4e0d6c;let _0x5e1a5e=_0x47b490['unit'][_0x25203a(0x14b)](),_0x32f9d3=await this['_startSheetCollabCursor'](_0x5e1a5e);this[_0x25203a(0x3ac)]['next'](_0x32f9d3),this['_entities'][_0x25203a(0x12c)](_0x5e1a5e,_0x32f9d3);}),this['_univerInstanceService'][_0x4e0d6c(0x349)](_0x5ff70c[_0x4e0d6c(0x1ae)][_0x4e0d6c(0x1c8)])['pipe']((0x0,_0x57c48c[_0x4e0d6c(0x183)])(this['dispose$']))[_0x4e0d6c(0x28c)]((0x0,_0x57c48c[_0x4e0d6c(0x3a2)])(_0x237245=>!_0x237245['unit'][_0x4e0d6c(0x14b)]()[_0x4e0d6c(0x329)]('__')))[_0x4e0d6c(0x16c)](async _0x4ba94d=>{const _0x5d17cd=_0x4e0d6c;let {unit:_0x91d4de}=_0x4ba94d,_0x410179=_0x91d4de[_0x5d17cd(0x14b)](),_0x1dcb48=await this[_0x5d17cd(0x38d)](_0x410179);this['_entityInit$'][_0x5d17cd(0x3fc)](_0x1dcb48),this[_0x5d17cd(0x264)][_0x5d17cd(0x12c)](_0x410179,_0x1dcb48);}),(0x0,_0x57c48c['merge'])(this[_0x4e0d6c(0x12b)]['getTypeOfUnitDisposed$'](_0x5ff70c[_0x4e0d6c(0x1ae)][_0x4e0d6c(0x1c8)]),this[_0x4e0d6c(0x12b)]['getTypeOfUnitDisposed$'](_0x5ff70c['UniverInstanceType'][_0x4e0d6c(0x2df)]))[_0x4e0d6c(0x28c)]((0x0,_0x57c48c[_0x4e0d6c(0x183)])(this[_0x4e0d6c(0x3d8)]))[_0x4e0d6c(0x16c)](_0x829f27=>{const _0x13ecaa=_0x4e0d6c;let _0x17f55a=_0x829f27['getUnitId'](),_0x26d1ee=this['_entities'][_0x13ecaa(0x356)](_0x17f55a);_0x26d1ee&&(_0x26d1ee['dispose'](),this['_entities'][_0x13ecaa(0x3dc)](_0x17f55a));});}async[_0x4e1e46(0x211)](_0x216adb){const _0x3172a9=_0x4e1e46;let _0x322467=await this[_0x3172a9(0x12f)][_0x3172a9(0x375)](_0x216adb),_0x2e69c3=this['_injector'][_0x3172a9(0x3b6)](_0x2cb5f5,_0x216adb,_0x322467);return _0x2e69c3['init'](),_0x2e69c3;}async['_startDocCollabCursor'](_0x7a5bdc){const _0x4e63c9=_0x4e1e46;let _0x573177=await this[_0x4e63c9(0x12f)]['requireSession'](_0x7a5bdc),_0x12819d=this[_0x4e63c9(0x198)]['createInstance'](_0x2f5647,_0x7a5bdc,_0x573177);return _0x12819d['init'](),_0x12819d;}};_0x3665f5=_0x4a8212([_0x4e0dee(0x0,_0x5ff70c[_0x4e1e46(0x3d9)]),_0x4e0dee(0x1,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c['Injector'])),_0x4e0dee(0x2,(0x0,_0x5ff70c['Inject'])(_0x5cb8e9[_0x4e1e46(0x2fe)]))],_0x3665f5);function _0x5da95a(_0x2cabb7,_0x5141c5){const _0x26e52b=_0x4e1e46;var _0x47da4d,_0x5d01e1,_0x5e07a5;let {radius:_0xbd7351,width:_0x38ec4d,height:_0x17140c}=_0x5141c5;_0xbd7351=(_0x47da4d=_0xbd7351)==null?0x0:_0x47da4d,_0x38ec4d=(_0x5d01e1=_0x38ec4d)==null?0x1e:_0x5d01e1,_0x17140c=(_0x5e07a5=_0x17140c)==null?0x1e:_0x5e07a5;let _0x4c813a=0x0,_0x29d3c6=0x0,_0x1865bd=0x0;_0x4c813a=_0x29d3c6=_0x1865bd=Math[_0x26e52b(0x220)](_0xbd7351,_0x38ec4d/0x2,_0x17140c/0x2),_0x2cabb7['beginPath'](),_0x2cabb7[_0x26e52b(0x34e)](_0x4c813a,0x0),_0x2cabb7[_0x26e52b(0x2ab)](_0x38ec4d-_0x29d3c6,0x0),_0x2cabb7[_0x26e52b(0x2c7)](_0x38ec4d-_0x29d3c6,_0x29d3c6,_0x29d3c6,Math['PI']*0x3/0x2,0x0,!0x1),_0x2cabb7[_0x26e52b(0x2ab)](_0x38ec4d,_0x17140c-_0x1865bd),_0x2cabb7['arc'](_0x38ec4d-_0x1865bd,_0x17140c-_0x1865bd,_0x1865bd,0x0,Math['PI']/0x2,!0x1),_0x2cabb7['lineTo'](0x0,_0x17140c),_0x2cabb7[_0x26e52b(0x2ab)](0x0,_0x4c813a),_0x2cabb7['arc'](_0x4c813a,_0x4c813a,_0x4c813a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2cabb7[_0x26e52b(0x237)](),_0x5141c5[_0x26e52b(0x2de)]&&(_0x2cabb7[_0x26e52b(0x14d)](),_0x2cabb7[_0x26e52b(0x20d)]=_0x5141c5['fill'],_0x5141c5[_0x26e52b(0x31f)]===_0x26e52b(0x15e)?_0x2cabb7['fill']('evenodd'):_0x2cabb7[_0x26e52b(0x2de)](),_0x2cabb7[_0x26e52b(0x2d1)]());}var _0x15ce8a=class _0x2ffa43 extends _0x132305['Shape']{constructor(_0x182947,_0x3aad57){const _0x48c4ed=_0x4e1e46;super(_0x182947,_0x3aad57),_0x2f380d(this,_0x48c4ed(0x169),void 0x0),_0x2f380d(this,_0x48c4ed(0x3c0),void 0x0),this[_0x48c4ed(0x169)]=_0x3aad57==null?void 0x0:_0x3aad57['color'],this[_0x48c4ed(0x3c0)]=_0x3aad57==null?void 0x0:_0x3aad57['text'];}static[_0x4e1e46(0x262)](_0x3ddab4,_0x26dea5){const _0x257ebc=_0x4e1e46;let {text:_0x600758,color:_0x5c9c61}=_0x26dea5;_0x3ddab4[_0x257ebc(0x14d)](),_0x3ddab4[_0x257ebc(0x1f7)]=_0x257ebc(0x31d);let _0x39f50d=_0x3ddab4[_0x257ebc(0x1a3)](_0x600758)[_0x257ebc(0x1d6)];if(_0x5da95a(_0x3ddab4,{'height':0x14,'radius':0x4,'width':Math[_0x257ebc(0x220)](_0x39f50d+0x8,0xc8),'fill':_0x5c9c61,'evented':!0x1}),_0x3ddab4['fillStyle']='#FFF',_0x39f50d>0xc0){let _0x1e1dfa='',_0x4c355d=0x0;for(let _0x14f7bd of _0x600758){let _0x14e331=_0x3ddab4[_0x257ebc(0x1a3)](_0x14f7bd)['width'];if(_0x4c355d+_0x14e331<=0xc0-_0x3ddab4[_0x257ebc(0x1a3)](_0x257ebc(0x2c3))[_0x257ebc(0x1d6)])_0x1e1dfa+=_0x14f7bd,_0x4c355d+=_0x14e331;else{_0x1e1dfa+=_0x257ebc(0x2c3);break;}}_0x3ddab4[_0x257ebc(0x12e)](_0x1e1dfa,0x4,0xf);}else _0x3ddab4[_0x257ebc(0x12e)](_0x600758,0x4,0xf);_0x3ddab4[_0x257ebc(0x2d1)]();}[_0x4e1e46(0x3f3)](_0x11ff2f){const _0x172a52=_0x4e1e46;_0x2ffa43[_0x172a52(0x262)](_0x11ff2f,this);}};let _0x132778=_0x4e1e46(0x2db);var _0x3c54b8=class{constructor(_0x227b19,_0x3ca193,_0x29552c,_0x51430e){const _0x761279=_0x4e1e46;this[_0x761279(0x23d)]=_0x227b19,this[_0x761279(0x34c)]=_0x3ca193,this[_0x761279(0x267)]=_0x29552c,this[_0x761279(0x234)]=_0x51430e,_0x2f380d(this,'_shapes',[]),_0x2f380d(this,_0x761279(0x2b5),null),_0x2f380d(this,_0x761279(0x3c2),null),_0x2f380d(this,_0x761279(0x199),null),_0x2f380d(this,_0x761279(0x353),null),_0x2f380d(this,_0x761279(0x3ab),null),this[_0x761279(0x1aa)]();}set[_0x4e1e46(0x203)](_0x288845){const _0x1ed876=_0x4e1e46;_0x288845?(this[_0x1ed876(0x199)]&&this['_anchorDot'][_0x1ed876(0x2c8)](),this[_0x1ed876(0x3c2)]&&this[_0x1ed876(0x3c2)][_0x1ed876(0x32f)]()):(this[_0x1ed876(0x199)]&&this['_anchorDot']['show'](),this[_0x1ed876(0x3c2)]&&this[_0x1ed876(0x3c2)][_0x1ed876(0x2c8)]());}[_0x4e1e46(0x18e)](){const _0x8ec5f9=_0x4e1e46;for(let _0x3c9bb5 of this[_0x8ec5f9(0x1ce)])_0x3c9bb5[_0x8ec5f9(0x18e)]();this[_0x8ec5f9(0x3c2)]&&this['_textBubble'][_0x8ec5f9(0x18e)](),this[_0x8ec5f9(0x199)]&&this[_0x8ec5f9(0x199)][_0x8ec5f9(0x18e)](),this[_0x8ec5f9(0x2b5)]&&this[_0x8ec5f9(0x2b5)][_0x8ec5f9(0x18e)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x4e1e46(0x1aa)](){const _0x216f99=_0x4e1e46;let {_docSkeleton:_0x4fd1c4,_document:_0x50f3d0}=this,{color:_0x226705,name:_0x3a3f28,ranges:_0x2df228}=this['_cursor'],_0x4b2c90=_0x50f3d0[_0x216f99(0x1fd)](),{docsLeft:_0x617be5,docsTop:_0x389d2b}=_0x4b2c90,_0x48dfd7=new _0x42caa8[(_0x216f99(0x17f))](_0x4b2c90,_0x4fd1c4);for(let {startOffset:_0x9e323c,endOffset:_0x1b7813,rangeType:_0x55c501,segmentId:_0x3b0dfc,segmentPage:_0x289b16,collapsed:_0x1214c4,isActive:_0x13dd9f}of _0x2df228){let _0xf2c6dd=_0x4fd1c4['findNodePositionByCharIndex'](_0x9e323c,!0x0,_0x3b0dfc,_0x289b16),_0x410d68=_0x4fd1c4['findNodePositionByCharIndex'](_0x1b7813,!0x0,_0x3b0dfc,_0x289b16);if(_0x410d68==null&&(_0x410d68=_0x4fd1c4[_0x216f99(0x334)](_0x1b7813-0x1,!0x1,_0x3b0dfc,_0x289b16)),_0x13dd9f){let {contentBoxPointGroup:_0x23769f}=_0x48dfd7[_0x216f99(0x27e)](_0x410d68,_0x410d68);if(_0x23769f[_0x216f99(0x319)]===0x0)continue;this[_0x216f99(0x2c5)](_0x226705,_0x23769f,_0x617be5,_0x389d2b,_0x3a3f28),this['_eventUnsubscribe']=this['_handleHover']();}if(_0xf2c6dd&&_0x410d68){if(_0x55c501===_0x5ff70c[_0x216f99(0x1e5)]['RECT']){var _0x36c63e;let {pointGroup:_0x337b42}=(_0x36c63e=new _0x42caa8[(_0x216f99(0x35a))](_0x4b2c90,_0x4fd1c4)['getRangePointData'](_0xf2c6dd,_0x410d68))==null?{}:_0x36c63e;if(_0x337b42==null||_0x337b42['length']===0x0)continue;this[_0x216f99(0x1e6)](_0x226705,_0x337b42,_0x617be5,_0x389d2b);}else{if(!_0x1214c4){let {borderBoxPointGroup:_0x3a1792}=_0x48dfd7[_0x216f99(0x27e)](_0xf2c6dd,_0x410d68);if(_0x3a1792['length']===0x0)continue;this[_0x216f99(0x1bc)](_0x226705,_0x3a1792,_0x617be5,_0x389d2b);}}}}}['_drawAnchor'](_0x4fb1c4,_0x3aca18,_0x5a384e,_0xa78ff0,_0xfad563){const _0x433c34=_0x4e1e46;let {left:_0x1e06d2,top:_0x3af9e,height:_0x2ed140}=this[_0x433c34(0x297)](_0x3aca18),_0x134624=1.5/this[_0x433c34(0x167)](),_0x1c59f1=new _0x132305[(_0x433c34(0x2c6))](_0x132778+(0x0,_0x5ff70c['generateRandomId'])(0x6),{'left':_0x1e06d2+_0x5a384e-_0x134624,'top':_0x3af9e+_0xa78ff0,'height':_0x2ed140,'width':1.5,'fill':_0x4fb1c4||(0x0,_0x132305['getColor'])(_0x5ff70c[_0x433c34(0x29e)][_0x433c34(0x37b)],0x0),'strokeWidth':_0x134624,'stroke':_0x433c34(0x273),'evented':!0x0});this['_anchor']=_0x1c59f1,this[_0x433c34(0x34c)][_0x433c34(0x201)](_0x1c59f1,_0x42caa8[_0x433c34(0x298)]);let _0x20b3f0=new _0x132305['Rect'](_0x132778+(0x0,_0x5ff70c[_0x433c34(0x146)])(0x6),{'left':_0x1e06d2+_0x5a384e-_0x134624,'top':_0x3af9e+_0xa78ff0-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x4fb1c4||(0x0,_0x132305[_0x433c34(0x368)])(_0x5ff70c['COLORS'][_0x433c34(0x37b)],0x0),'strokeWidth':0x0,'stroke':_0x4fb1c4||(0x0,_0x132305[_0x433c34(0x368)])(_0x5ff70c['COLORS'][_0x433c34(0x37b)],0x0),'evented':!0x1});this[_0x433c34(0x199)]=_0x20b3f0,this[_0x433c34(0x34c)][_0x433c34(0x201)](_0x20b3f0,_0x42caa8[_0x433c34(0x298)]);let _0x185404=new _0x15ce8a(_0x132778+(0x0,_0x5ff70c['generateRandomId'])(0x6),{'left':_0x1e06d2+_0x5a384e-_0x134624,'top':_0x3af9e+_0xa78ff0-0x14,'text':_0xfad563,'color':_0x4fb1c4});this[_0x433c34(0x3c2)]=_0x185404,this['_scene'][_0x433c34(0x201)](_0x185404,_0x42caa8['TEXT_RANGE_LAYER_INDEX']),this[_0x433c34(0x203)]=!0x1;}[_0x4e1e46(0x3ae)](){const _0x300d2f=_0x4e1e46;let _0xfbeb29=this[_0x300d2f(0x2b5)][_0x300d2f(0x131)][_0x300d2f(0x16d)](()=>{this['_hover']=!0x0;}),_0x460717=this[_0x300d2f(0x2b5)][_0x300d2f(0x1a5)][_0x300d2f(0x16d)](()=>{const _0x22644d=_0x300d2f;this[_0x22644d(0x353)]&&clearTimeout(this[_0x22644d(0x353)]),this[_0x22644d(0x353)]=setTimeout(()=>{const _0x3f917e=_0x22644d;this[_0x3f917e(0x203)]=!0x1;},0x7d0);});return()=>{const _0x46152a=_0x300d2f;_0xfbeb29[_0x46152a(0x38b)](),_0x460717[_0x46152a(0x38b)]();};}['_drawTextRange'](_0x4c12bb,_0x1ce987,_0x208afc,_0x48d4cb){const _0x13a5b5=_0x4e1e46;let _0x84341a=0.2,_0x6c68f1=new _0x5ff70c[(_0x13a5b5(0x28d))](_0x4c12bb)['setAlpha'](_0x84341a)[_0x13a5b5(0x18d)](),_0x23aec5=new _0x132305[(_0x13a5b5(0x296))](_0x13a5b5(0x19c)+(0x0,_0x5ff70c[_0x13a5b5(0x146)])(0x6),{'pointsGroup':_0x1ce987,'fill':_0x6c68f1||(0x0,_0x132305[_0x13a5b5(0x368)])(_0x5ff70c[_0x13a5b5(0x29e)][_0x13a5b5(0x37b)],_0x84341a),'left':_0x208afc,'top':_0x48d4cb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x13a5b5(0x1ce)][_0x13a5b5(0x3a8)](_0x23aec5),this[_0x13a5b5(0x34c)]['addObject'](_0x23aec5,_0x42caa8[_0x13a5b5(0x298)]);}['_drawRectRange'](_0x98cdbc,_0x11e04e,_0x584e7f,_0x2072ab){const _0x3bae70=_0x4e1e46;let _0x1d52e4=0.2,_0x347648=new _0x5ff70c[(_0x3bae70(0x28d))](_0x98cdbc)[_0x3bae70(0x258)](_0x1d52e4)[_0x3bae70(0x18d)](),_0x3b1124=new _0x132305['RegularPolygon'](_0x3bae70(0x128)+(0x0,_0x5ff70c[_0x3bae70(0x146)])(0x6),{'pointsGroup':_0x11e04e,'fill':_0x347648||(0x0,_0x132305[_0x3bae70(0x368)])(_0x5ff70c[_0x3bae70(0x29e)][_0x3bae70(0x37b)],_0x1d52e4),'left':_0x584e7f,'top':_0x2072ab,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3bae70(0x1ce)][_0x3bae70(0x3a8)](_0x3b1124),this[_0x3bae70(0x34c)][_0x3bae70(0x201)](_0x3b1124,_0x42caa8[_0x3bae70(0x298)]);}[_0x4e1e46(0x297)](_0x38f3b6){let _0x5124bd=_0x38f3b6[0x0],_0x11efe3=_0x5124bd[0x0],_0x2a5878=_0x5124bd[0x2],{x:_0x3d3418,y:_0x23ea5a}=_0x11efe3,{x:_0x4f0e49,y:_0x363d94}=_0x2a5878;return{'left':_0x3d3418,'top':_0x23ea5a,'width':_0x4f0e49-_0x3d3418,'height':_0x363d94-_0x23ea5a};}[_0x4e1e46(0x167)](){const _0x4fe1e8=_0x4e1e46;let {scaleX:_0x5d0bee,scaleY:_0x4f53f0}=this[_0x4fe1e8(0x34c)]['getAncestorScale']();return Math[_0x4fe1e8(0x30a)](_0x5d0bee,_0x4f53f0);}};let _0x3dfaa1=class extends _0x5ff70c['RxDisposable']{constructor(_0x34e68d,_0x56d02d,_0x3b4280,_0x1657e9,_0x2ce2cd){const _0x405eaa=_0x4e1e46;super(),this[_0x405eaa(0x13e)]=_0x34e68d,this[_0x405eaa(0x3e8)]=_0x56d02d,this[_0x405eaa(0x3f4)]=_0x3b4280,this['_commandService']=_0x1657e9,this[_0x405eaa(0x144)]=_0x2ce2cd,_0x2f380d(this,_0x405eaa(0x36b),[]),_0x2f380d(this,_0x405eaa(0x19d),[]),this[_0x405eaa(0x2bb)]();}[_0x4e1e46(0x2bb)](){const _0x4942d5=_0x4e1e46;let _0x5ed88e=this[_0x4942d5(0x13e)][_0x4942d5(0x3e0)],_0x4471eb=this['_docSkeletonManagerService'];this['disposeWithMe']((0x0,_0x57c48c[_0x4942d5(0x1bd)])([this['_collabCursorController'][_0x4942d5(0x3de)](_0x5ed88e),this[_0x4942d5(0x144)]['currentTheme$']])['pipe']((0x0,_0x4f9164[_0x4942d5(0x272)])(([_0xe1cc13,_0x10060f])=>({'skeleton':_0x4471eb[_0x4942d5(0x1d2)](),'cursors':[..._0xe1cc13[_0x4942d5(0x181)]()][_0x4942d5(0x3f9)](_0x10bba6=>({..._0x10bba6,'color':this['_themeService'][_0x4942d5(0x13d)](_0x10bba6['color'])}))})))[_0x4942d5(0x16c)](_0xfc0396=>{const _0xe65d96=_0x4942d5;if(this['_removeCollabCursors'](),_0xfc0396){let {skeleton:_0x3c03fb,cursors:_0xfc1525}=_0xfc0396;this[_0xe65d96(0x3df)](_0x3c03fb,_0xfc1525);}})),this[_0x4942d5(0x363)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x57ff32,_0x2f28b3){const _0x4c4169=_0x4e1e46;let {scene:_0x20b60c,mainComponent:_0xa7502b}=this['_context'],_0x212449=_0x2f28b3[_0x4c4169(0x272)](_0x3433f3=>new _0x3c54b8(_0x3433f3,_0x20b60c,_0x57ff32,_0xa7502b));this['_cursorShapes']=_0x212449,this[_0x4c4169(0x19d)]=_0x2f28b3;}[_0x4e1e46(0x39e)](){const _0x324c89=_0x4e1e46;this[_0x324c89(0x1f9)]();let {scene:_0x4564e2,mainComponent:_0x30772d}=this[_0x324c89(0x13e)],_0x3071b7=this['_docSkeletonManagerService']['getSkeleton'](),_0x51e008=this[_0x324c89(0x19d)]['map'](_0x52a7c4=>new _0x3c54b8(_0x52a7c4,_0x4564e2,_0x3071b7,_0x30772d));this[_0x324c89(0x36b)]=_0x51e008;}['_removeCollabCursors'](){const _0x5f2c21=_0x4e1e46;this['_cursorShapes'][_0x5f2c21(0x1c9)](_0x3b8b59=>_0x3b8b59[_0x5f2c21(0x18e)]()),this[_0x5f2c21(0x36b)]=[];}['_initCommandExecutedListener'](){const _0x37c6fe=_0x4e1e46;let _0x4ab082=[_0x42caa8['SetDocZoomRatioOperation']['id']];this[_0x37c6fe(0x1b4)](this[_0x37c6fe(0x360)][_0x37c6fe(0x1ca)](_0x5dfd15=>{const _0x2bc71e=_0x37c6fe;_0x4ab082[_0x2bc71e(0x2c2)](_0x5dfd15['id'])&&_0x5dfd15[_0x2bc71e(0x21c)][_0x2bc71e(0x3e0)]===this[_0x2bc71e(0x13e)]['unitId']&&this[_0x2bc71e(0x39e)]();}));}[_0x4e1e46(0x363)](){const _0x542655=_0x4e1e46;this['disposeWithMe']((0x0,_0x5ff70c[_0x542655(0x396)])(this[_0x542655(0x13e)][_0x542655(0x305)][_0x542655(0x304)])['pipe']((0x0,_0x4f9164[_0x542655(0x3a2)])(_0x395560=>_0x395560['type']===_0x132305[_0x542655(0x240)]['resize']),(0x0,_0x4f9164[_0x542655(0x23c)])(0x10))['subscribe'](()=>{const _0x698b16=_0x542655;this[_0x698b16(0x39e)]();}));}};_0x3dfaa1=_0x4a8212([_0x4e0dee(0x1,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x28b3fb[_0x4e1e46(0x288)])),_0x4e0dee(0x2,(0x0,_0x5ff70c['Inject'])(_0x3665f5)),_0x4e0dee(0x3,_0x5ff70c[_0x4e1e46(0x316)]),_0x4e0dee(0x4,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c['ThemeService']))],_0x3dfaa1);var _0x36bc71=class extends _0x132305[_0x4e1e46(0x348)]{constructor(_0x37dd9f,_0x49fedc){const _0x48a176=_0x4e1e46;if(super(_0x37dd9f,_0x49fedc),_0x2f380d(this,'_color',void 0x0),_0x2f380d(this,'_hovered',!0x1),_0x2f380d(this,_0x48a176(0x27c),void 0x0),_0x2f380d(this,_0x48a176(0x2a7),''),_0x2f380d(this,'_labelPosition',_0x48a176(0x39b)),_0x2f380d(this,_0x48a176(0x1dd),void 0x0),_0x2f380d(this,_0x48a176(0x269),void 0x0),_0x2f380d(this,'_highlight',void 0x0),_0x2f380d(this,_0x48a176(0x1f2),0x4),_0x2f380d(this,_0x48a176(0x1a6),void 0x0),_0x2f380d(this,_0x48a176(0x1c6),void 0x0),_0x2f380d(this,_0x48a176(0x1b3),!0x0),_0x2f380d(this,'_offsetY',0x0),_0x49fedc){var _0x1e3058;if(this[_0x48a176(0x185)](_0x49fedc),_0x49fedc[_0x48a176(0x284)]&&((_0x1e3058=_0x49fedc['highlightSecond'])==null?this[_0x48a176(0x1f2)]:_0x1e3058)){var _0x53e276;this['_startBlinking']((_0x53e276=_0x49fedc['highlightSecond'])==null?this[_0x48a176(0x1f2)]:_0x53e276);}}this[_0x48a176(0x131)][_0x48a176(0x16d)](()=>this[_0x48a176(0x185)]({'hovered':!0x0})),this[_0x48a176(0x1a5)][_0x48a176(0x16d)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x4e1e46(0x370)](_0x2552b3){const _0x33375d=_0x4e1e46;this[_0x33375d(0x344)]=_0x2552b3;}['setShapeProps'](_0x2ac5e0){const _0x352a63=_0x4e1e46;var _0x57a82b,_0x4d610f,_0x281154,_0x490c95,_0x1b5532,_0x2526e4,_0x4e33dd;this[_0x352a63(0x37a)]=(_0x57a82b=_0x2ac5e0[_0x352a63(0x169)])==null?this[_0x352a63(0x37a)]:_0x57a82b,this[_0x352a63(0x3b4)]=(_0x4d610f=_0x2ac5e0['hovered'])==null?this[_0x352a63(0x3b4)]:_0x4d610f,this[_0x352a63(0x27c)]=(_0x281154=_0x2ac5e0['range'])==null?this[_0x352a63(0x27c)]:_0x281154,this[_0x352a63(0x2a7)]=(_0x490c95=_0x2ac5e0[_0x352a63(0x17c)])==null?this[_0x352a63(0x2a7)]:_0x490c95,this[_0x352a63(0x11f)]=(_0x1b5532=_0x2ac5e0[_0x352a63(0x20b)])==null?this[_0x352a63(0x11f)]:_0x1b5532,this['_backgroundColor']=(_0x2526e4=_0x2ac5e0['backgroundColor'])==null?this[_0x352a63(0x1dd)]:_0x2526e4,this[_0x352a63(0x269)]=(_0x4e33dd=_0x2ac5e0[_0x352a63(0x2ef)])==null?this[_0x352a63(0x269)]:_0x4e33dd,_0x2ac5e0[_0x352a63(0x1ba)]!==void 0x0&&(this[_0x352a63(0x1f2)]=_0x2ac5e0[_0x352a63(0x1ba)]),_0x2ac5e0[_0x352a63(0x284)]!==void 0x0&&(this['_highlight']=_0x2ac5e0[_0x352a63(0x284)]),_0x2ac5e0[_0x352a63(0x24b)]!==void 0x0&&(this[_0x352a63(0x344)]=_0x2ac5e0['offsetY']),this[_0x352a63(0x27d)]({'width':_0x2ac5e0[_0x352a63(0x1d6)],'height':_0x2ac5e0[_0x352a63(0x15c)]});}[_0x4e1e46(0x2ac)](_0x485a10){const _0x7277a8=_0x4e1e46;let {row:_0x450004,column:_0x364ba1}=_0x485a10;if(_0x450004>=this[_0x7277a8(0x27c)][_0x7277a8(0x281)]&&_0x450004<=this['_range'][_0x7277a8(0x2e0)]&&_0x364ba1>=this[_0x7277a8(0x27c)][_0x7277a8(0x3c6)]&&_0x364ba1<=this[_0x7277a8(0x27c)][_0x7277a8(0x3e3)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x7277a8(0x185)]({'hovered':!0x1});}['_startBlinking'](_0xfcfa46){const _0x4b22ba=_0x4e1e46;this[_0x4b22ba(0x376)](),this['_isBlinkVisible']=!0x0,this[_0x4b22ba(0x1c6)]=window[_0x4b22ba(0x35b)](()=>{const _0x13d4c1=_0x4b22ba;this[_0x13d4c1(0x1b3)]=!this[_0x13d4c1(0x1b3)],this[_0x13d4c1(0x2dd)](!0x0);},0x1f4),this[_0x4b22ba(0x1a6)]=window[_0x4b22ba(0x2eb)](()=>{const _0x17a0fd=_0x4b22ba;this[_0x17a0fd(0x376)](),this[_0x17a0fd(0x1b3)]=!0x0,this[_0x17a0fd(0x2dd)](!0x0);},_0xfcfa46*0x3e8);}[_0x4e1e46(0x376)](){const _0x2ea9a1=_0x4e1e46;this[_0x2ea9a1(0x1c6)]&&(window['clearInterval'](this[_0x2ea9a1(0x1c6)]),this[_0x2ea9a1(0x1c6)]=void 0x0),this[_0x2ea9a1(0x1a6)]&&(window['clearTimeout'](this[_0x2ea9a1(0x1a6)]),this['_blinkTimer']=void 0x0);}[_0x4e1e46(0x23a)](_0x37c90e){return!0x1;}['dispose'](){const _0x5dd646=_0x4e1e46;this[_0x5dd646(0x376)](),super[_0x5dd646(0x18e)]();}[_0x4e1e46(0x3f3)](_0x53e9d2){const _0x2941e7=_0x4e1e46;let _0x135553=this[_0x2941e7(0x37a)],_0x3134bc=this[_0x2941e7(0x1dd)];if(this[_0x2941e7(0x124)]&&!this['_isBlinkVisible']&&(_0x135553=this[_0x2941e7(0x11b)](this[_0x2941e7(0x37a)]),_0x3134bc=this[_0x2941e7(0x1dd)]?this[_0x2941e7(0x11b)](this['_backgroundColor']):void 0x0),_0x132305[_0x2941e7(0x2c6)][_0x2941e7(0x262)](_0x53e9d2,{'width':this[_0x2941e7(0x1d6)],'height':this[_0x2941e7(0x15c)],'strokeWidth':this['strokeWidth']||1.5,'stroke':_0x135553,'evented':!0x1,'fill':_0x3134bc}),this[_0x2941e7(0x3b4)]||this[_0x2941e7(0x269)]){var _0x28d6b1;_0x53e9d2['save'](),_0x53e9d2[_0x2941e7(0x202)](0x1,0x0,0x0,0x1,this[_0x2941e7(0x1d6)],(this[_0x2941e7(0x11f)]===_0x2941e7(0x3e6)?0x0:-0x14)+((_0x28d6b1=this[_0x2941e7(0x344)])==null?0x0:_0x28d6b1)),_0x15ce8a[_0x2941e7(0x262)](_0x53e9d2,{'text':this[_0x2941e7(0x2a7)],'color':_0x135553}),_0x53e9d2[_0x2941e7(0x2d1)]();}}[_0x4e1e46(0x11b)](_0x49b157){const _0x4764f2=_0x4e1e46;return _0x49b157['startsWith']('#')?_0x4764f2(0x1b7)+Number[_0x4764f2(0x38a)](_0x49b157[_0x4764f2(0x17b)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x49b157[_0x4764f2(0x17b)](0x3,0x5),0x10)+',\x20'+Number[_0x4764f2(0x38a)](_0x49b157[_0x4764f2(0x17b)](0x5,0x7),0x10)+_0x4764f2(0x3d3):_0x49b157['startsWith'](_0x4764f2(0x1bb))?_0x49b157['replace'](/[\d.]+\)$/g,_0x4764f2(0x2f7)):_0x49b157[_0x4764f2(0x329)](_0x4764f2(0x2d7))?_0x49b157[_0x4764f2(0x17a)](_0x4764f2(0x2d7),_0x4764f2(0x1bb))[_0x4764f2(0x17a)](')',_0x4764f2(0x3d3)):_0x49b157;}};let _0x10ed47=class extends _0x5ff70c['RxDisposable']{constructor(_0x3e2c58,_0x350bcf,_0x35e59,_0x21b8ab){const _0x4b8556=_0x4e1e46;super(),this[_0x4b8556(0x13e)]=_0x3e2c58,this['_sheetSkeletonManagerService']=_0x350bcf,this[_0x4b8556(0x3f4)]=_0x35e59,this[_0x4b8556(0x144)]=_0x21b8ab,_0x2f380d(this,'_cursors',new Set()),_0x2f380d(this,_0x4b8556(0x330),null),this['_init']();}[_0x4e1e46(0x2bb)](){const _0x5bcada=_0x4e1e46;this[_0x5bcada(0x1d1)]['currentSkeleton$'][_0x5bcada(0x28c)]((0x0,_0x4f9164[_0x5bcada(0x183)])(this[_0x5bcada(0x3d8)]),(0x0,_0x4f9164[_0x5bcada(0x361)])(_0xe170c7=>{const _0x201261=_0x5bcada;if(_0xe170c7){let _0x43a8a3=_0xe170c7[_0x201261(0x136)];return(0x0,_0x57c48c[_0x201261(0x1bd)])(this[_0x201261(0x3f4)][_0x201261(0x3de)](this['_context'][_0x201261(0x3e0)]),this[_0x201261(0x144)][_0x201261(0x1d9)])[_0x201261(0x28c)]((0x0,_0x4f9164[_0x201261(0x272)])(([_0x5bb290,_0x4fce14])=>{const _0x3b110c=_0x201261;let _0x56ff04=new Map();return _0x5bb290[_0x3b110c(0x1c9)]((_0x3e8139,_0x2ae4ea)=>{const _0x36eff1=_0x3b110c;if(_0x3e8139[_0x36eff1(0x2b3)]===_0x43a8a3){let _0x444748={..._0x3e8139};_0x444748['color']=this[_0x36eff1(0x144)][_0x36eff1(0x13d)](_0x3e8139[_0x36eff1(0x169)]),_0x56ff04['set'](_0x2ae4ea,_0x444748);}}),{'skeleton':_0xe170c7,'cursors':_0x56ff04};}));}return(0x0,_0x57c48c['of'])({'skeleton':null,'cursors':new Map()});}))[_0x5bcada(0x16c)](({skeleton:_0x2832f4,cursors:_0x442755})=>{const _0x5cc884=_0x5bcada;this[_0x5cc884(0x1f9)](),_0x2832f4&&this[_0x5cc884(0x3df)](_0x2832f4,_0x442755);}),this[_0x5bcada(0x1d1)]['currentSkeleton$'][_0x5bcada(0x16c)](_0x1ec613=>{const _0x33325a=_0x5bcada;if(_0x1ec613==null)return;let {skeleton:_0x5b10fb}=_0x1ec613,{scene:_0x170e09}=this[_0x33325a(0x13e)];_0x170e09[_0x33325a(0x38f)][_0x33325a(0x16d)]((0x0,_0x5ff70c['debounce'])(_0xa8b583=>{const _0x23efa8=_0x33325a;var _0xdddc28,_0x426bf6;let {offsetX:_0x316ddb,offsetY:_0xf13e4d}=_0xa8b583,{x:_0xabd6a3,y:_0x251c1f}=_0x170e09['getRelativeToViewportCoord'](_0x132305[_0x23efa8(0x159)][_0x23efa8(0x30b)]([_0x316ddb,_0xf13e4d])),{scaleX:_0xbfe36c,scaleY:_0x11fe14}=_0x170e09[_0x23efa8(0x3cf)](),_0x111b45=_0x170e09[_0x23efa8(0x207)](_0x132305['SHEET_VIEWPORT_KEY'][_0x23efa8(0x1f1)]),_0x24c5c6=_0x170e09[_0x23efa8(0x130)](_0x132305[_0x23efa8(0x159)][_0x23efa8(0x30b)]([_0xabd6a3,_0x251c1f]),_0x111b45),_0x3f5018=_0x5b10fb[_0x23efa8(0x271)](_0x316ddb,_0xf13e4d,_0xbfe36c,_0x11fe14,_0x24c5c6);((_0xdddc28=this['_lastPointer'])==null?void 0x0:_0xdddc28[_0x23efa8(0x3f8)])===_0x3f5018[_0x23efa8(0x3f8)]&&((_0x426bf6=this[_0x23efa8(0x330)])==null?void 0x0:_0x426bf6['row'])===_0x3f5018[_0x23efa8(0x3ec)]||this[_0x23efa8(0x19d)][_0x23efa8(0x1c9)](_0x2f96a6=>{const _0x3f9c1c=_0x23efa8;_0x2f96a6[_0x3f9c1c(0x2ac)](_0x3f5018);});},0x64));});}[_0x4e1e46(0x3df)](_0x558ece,_0x2a8746){const _0xf51f64=_0x4e1e46;let _0x1ef4af=this[_0xf51f64(0x1d1)][_0xf51f64(0x1e0)]();if(!_0x1ef4af)return;let _0x3b334b=this['_getSheetObject']();if(!_0x3b334b)return;this[_0xf51f64(0x19d)]['forEach'](_0x152968=>{const _0x5f2edd=_0xf51f64;_0x152968[_0x5f2edd(0x2dd)]();});let {scene:_0x106422}=_0x3b334b,_0x42e3c8=_0x51e4f5(Array[_0xf51f64(0x30d)](_0x2a8746['values']()))['map'](_0x4bd798=>{const _0xe2a0fd=_0xf51f64;let {color:_0x432583,range:_0x46cfbc,name:_0x3ec1b1,selection:_0x25c236,sheetID:_0x4255a5}=_0x4bd798,{startColumn:_0x285ad1,startRow:_0xbce37,endColumn:_0x462780,endRow:_0x51d169}=_0x46cfbc,_0x7441d2=(0x0,_0x5cad07[_0xe2a0fd(0x120)])(_0xbce37,_0x285ad1,_0x106422,_0x1ef4af),_0x44cef6=(0x0,_0x5cad07['getCoordByCell'])(_0x51d169,_0x462780,_0x106422,_0x1ef4af),{columnHeaderHeightAndMarginTop:_0x168002}=_0x1ef4af,{startX:_0xc78a52,startY:_0x462a64}=_0x7441d2,{endX:_0x102079,endY:_0x550847}=_0x44cef6,_0x124e3a=_0x102079-_0xc78a52,_0x23e1da=_0x550847-_0x462a64;return new _0x36bc71(_0x3ec1b1,{'labelPosition':_0x462a64-_0x168002>=0x14?_0xe2a0fd(0x39b):_0xe2a0fd(0x3e6),'sheetID':_0x4255a5,'range':_0x46cfbc,'color':_0x432583,'name':_0x3ec1b1,'selection':_0x25c236,'left':_0xc78a52,'top':_0x462a64,'width':_0x124e3a,'height':_0x23e1da,'evented':!0x1,'zIndex':0x1389});});_0x106422[_0xf51f64(0x18b)](_0x42e3c8,0x1),this[_0xf51f64(0x19d)]=new Set(_0x42e3c8);}[_0x4e1e46(0x1f9)](){const _0x3983d0=_0x4e1e46;var _0x2a7ea2;(_0x2a7ea2=this[_0x3983d0(0x19d)])==null||_0x2a7ea2[_0x3983d0(0x1c9)](_0x492753=>_0x492753[_0x3983d0(0x18e)]());}[_0x4e1e46(0x3a6)](){const _0x5efca7=_0x4e1e46;return(0x0,_0x5cad07['getSheetObject'])(this['_context'][_0x5efca7(0x210)],this['_context']);}};_0x10ed47=_0x4a8212([_0x4e0dee(0x1,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5cad07[_0x4e1e46(0x19a)])),_0x4e0dee(0x2,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x3665f5)),_0x4e0dee(0x3,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c[_0x4e1e46(0x2ed)]))],_0x10ed47);function _0x51e4f5(_0x748020){const _0x188861=_0x4e1e46;let _0x748065=new Map();return _0x748020[_0x188861(0x1c9)](_0x2c8cc2=>{const _0xd24029=_0x188861;if(_0x748065['has'](_0x2c8cc2[_0xd24029(0x313)])){let _0xb58e66=_0x748065['get'](_0x2c8cc2[_0xd24029(0x313)]);_0xb58e66[_0xd24029(0x17c)]+=',\x20'+_0x2c8cc2[_0xd24029(0x17c)];}else _0x748065[_0xd24029(0x12c)](_0x2c8cc2[_0xd24029(0x313)],_0x2c8cc2);}),Array[_0x188861(0x30d)](_0x748065['values']());}let _0x124e2f=class extends _0x5ff70c[_0x4e1e46(0x126)]{constructor(_0x21f8b5,_0x170f3d,_0x19b178,_0x12b1b8,_0x31537e,_0x4a7d7a){const _0x8b155c=_0x4e1e46;super(),this[_0x8b155c(0x27b)]=_0x21f8b5,this[_0x8b155c(0x20a)]=_0x170f3d,this[_0x8b155c(0x140)]=_0x19b178,this[_0x8b155c(0x148)]=_0x12b1b8,this[_0x8b155c(0x400)]=_0x31537e,this[_0x8b155c(0x1cf)]=_0x4a7d7a,this[_0x8b155c(0x3d4)](),this[_0x8b155c(0x25e)]();}[_0x4e1e46(0x3d4)](){const _0x8a7934=_0x4e1e46;this[_0x8a7934(0x1b4)](this[_0x8a7934(0x27b)]['registerBeforeClose'](()=>{const _0x20c635=_0x8a7934;if(this[_0x20c635(0x20a)][_0x20c635(0x283)][_0x20c635(0x141)])return this[_0x20c635(0x1cf)]['t'](_0x20c635(0x16a));}));}[_0x4e1e46(0x25e)](){const _0x32212d=_0x4e1e46;this[_0x32212d(0x1b4)](this[_0x32212d(0x140)]['event$'][_0x32212d(0x16c)](_0x542b8d=>{const _0x2d3970=_0x32212d;_0x542b8d['id']===_0x5cb8e9['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x2d3970(0x148)][_0x2d3970(0x32f)]({'type':_0x1c52e0[_0x2d3970(0x2d9)][_0x2d3970(0x236)],'content':this['_localeService']['t'](_0x2d3970(0x302))}),_0x542b8d['id']===_0x5cb8e9[_0x2d3970(0x27f)]['CLOSE_ROOM']&&this['_messageService'][_0x2d3970(0x32f)]({'type':_0x1c52e0[_0x2d3970(0x2d9)][_0x2d3970(0x236)],'content':this[_0x2d3970(0x1cf)]['t'](_0x2d3970(0x1c1))}),_0x542b8d['id']===_0x5cb8e9[_0x2d3970(0x27f)][_0x2d3970(0x3ca)]&&this[_0x2d3970(0x400)][_0x2d3970(0x32f)]({'title':this[_0x2d3970(0x1cf)]['t'](_0x2d3970(0x1ee)),'content':this[_0x2d3970(0x1cf)]['t'](_0x2d3970(0x3a3)),'type':'error','duration':0x0}),_0x542b8d['id']===_0x5cb8e9[_0x2d3970(0x27f)][_0x2d3970(0x250)]&&this[_0x2d3970(0x148)][_0x2d3970(0x32f)]({'type':_0x1c52e0[_0x2d3970(0x2d9)]['Error'],'content':this[_0x2d3970(0x1cf)]['t'](_0x2d3970(0x1c1))+'('+_0x542b8d[_0x2d3970(0x2b4)]+')'}),_0x542b8d['id']===_0x5cb8e9[_0x2d3970(0x27f)][_0x2d3970(0x132)]&&this[_0x2d3970(0x148)]['show']({'type':_0x1c52e0[_0x2d3970(0x2d9)][_0x2d3970(0x236)],'content':this[_0x2d3970(0x1cf)]['t'](_0x542b8d[_0x2d3970(0x2b4)]||'')}),_0x542b8d['id']===_0x5cb8e9[_0x2d3970(0x27f)][_0x2d3970(0x24a)]&&this['_messageService']['show']({'type':_0x1c52e0[_0x2d3970(0x2d9)][_0x2d3970(0x236)],'content':this[_0x2d3970(0x1cf)]['t']('session.will-retry')}),_0x542b8d['id']===_0x5cb8e9[_0x2d3970(0x27f)][_0x2d3970(0x21b)]&&this['_messageService'][_0x2d3970(0x32f)]({'type':_0x1c52e0[_0x2d3970(0x2d9)][_0x2d3970(0x352)],'content':this[_0x2d3970(0x1cf)]['t'](_0x2d3970(0x259))}),_0x542b8d['id']===_0x5cb8e9[_0x2d3970(0x27f)][_0x2d3970(0x1b9)]&&this[_0x2d3970(0x148)]['show']({'type':_0x1c52e0[_0x2d3970(0x2d9)]['Error'],'content':this['_localeService']['t'](_0x2d3970(0x2cf))});}));}};_0x124e2f=_0x4a8212([_0x4e0dee(0x0,_0x1a8c85[_0x4e1e46(0x2ec)]),_0x4e0dee(0x1,_0x5cb8e9[_0x4e1e46(0x14f)]),_0x4e0dee(0x2,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5cb8e9[_0x4e1e46(0x253)])),_0x4e0dee(0x3,_0x1a8c85[_0x4e1e46(0x3aa)]),_0x4e0dee(0x4,_0x1a8c85['INotificationService']),_0x4e0dee(0x5,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c[_0x4e1e46(0x139)]))],_0x124e2f);let _0x7445e0=_0x4e1e46(0x3da);Symbol(_0x7445e0);let _0x159e89={},_0x4d61dd=class{constructor(_0x5ee846,_0x57d94c){const _0x1979e8=_0x4e1e46;this[_0x1979e8(0x2ff)]=_0x5ee846,this[_0x1979e8(0x29b)]=_0x57d94c;}[_0x4e1e46(0x1d7)](_0x202e0e){const _0x59df09=_0x4e1e46;this[_0x59df09(0x16e)](_0x202e0e),this[_0x59df09(0x145)](_0x202e0e);}[_0x4e1e46(0x1e3)](_0xe9864f){const _0x41557b=_0x4e1e46;let {unitID:_0x535669}=_0xe9864f,{redoCache:_0x5aa381}=this[_0x41557b(0x29b)]['getRenderById'](_0x535669)[_0x41557b(0x177)](_0x42caa8[_0x41557b(0x327)])[_0x41557b(0x34a)]();if(_0x5aa381['length']===0x0)return _0xe9864f;let _0x21785e=_0x5ff70c[_0x41557b(0x2e8)]['deepClone'](_0xe9864f['mutations'][0x0]);for(let _0x331ffb=0x0;_0x331ffb<_0x5aa381[_0x41557b(0x319)];_0x331ffb++){let _0x1fa4ce={'id':_0x41557b(0x18c),'params':{..._0x5aa381[_0x331ffb]}},_0x33da3e=this[_0x41557b(0x2ff)][_0x41557b(0x187)](_0x21785e,_0x1fa4ce,!0x1);if((0x0,_0x5c7fe8[_0x41557b(0x312)])(_0x33da3e))throw _0x33da3e[_0x41557b(0x280)];_0x21785e=_0x33da3e[_0x41557b(0x395)];}return{..._0x5ff70c[_0x41557b(0x2e8)][_0x41557b(0x2f3)](_0xe9864f),'mutations':[_0x21785e]};}[_0x4e1e46(0x16e)](_0x266fd6){const _0x64c461=_0x4e1e46;let {unitID:_0x54ecfa}=_0x266fd6,_0x3c5d69=this['_renderManagerService']['getRenderById'](_0x54ecfa)[_0x64c461(0x177)](_0x42caa8[_0x64c461(0x327)]),{undoCache:_0x28b85b,redoCache:_0x1a578c}=_0x3c5d69[_0x64c461(0x34a)]();if(_0x28b85b[_0x64c461(0x319)]===0x0||_0x1a578c['length']===0x0)return;let _0x35c192=[],_0x284b68=[],_0x2695e4=_0x5ff70c[_0x64c461(0x2e8)][_0x64c461(0x2f3)](_0x266fd6[_0x64c461(0x17d)][0x0]),_0x5ea4ac=_0x5ff70c['Tools']['deepClone'](_0x266fd6[_0x64c461(0x17d)][0x0]);for(let _0x5e44fa=_0x28b85b[_0x64c461(0x319)]-0x1;_0x5e44fa>=0x0;_0x5e44fa--){let _0x41d969={'id':_0x64c461(0x18c),'params':{..._0x28b85b[_0x5e44fa]}},_0x559d04={'id':_0x64c461(0x18c),'params':{..._0x1a578c[_0x5e44fa]}},_0x5b0e3f=this[_0x64c461(0x2ff)][_0x64c461(0x187)](_0x2695e4,_0x41d969,!0x1),_0x326051=this[_0x64c461(0x2ff)][_0x64c461(0x187)](_0x5ea4ac,_0x559d04,!0x1);if((0x0,_0x5c7fe8[_0x64c461(0x312)])(_0x5b0e3f))throw _0x5b0e3f[_0x64c461(0x280)];if((0x0,_0x5c7fe8[_0x64c461(0x312)])(_0x326051))throw _0x326051['error'];_0x35c192['unshift'](_0x5b0e3f[_0x64c461(0x25f)][_0x64c461(0x21c)]),_0x284b68[_0x64c461(0x1e8)](_0x326051['m2Prime'][_0x64c461(0x21c)]),_0x2695e4=_0x5b0e3f[_0x64c461(0x395)],_0x5ea4ac=_0x326051['m1Prime'];}_0x3c5d69[_0x64c461(0x135)]({'undoCache':_0x35c192,'redoCache':_0x284b68});}[_0x4e1e46(0x145)](_0x1971c3){const _0x1bf656=_0x4e1e46;let {unitID:_0x34a814}=_0x1971c3,_0x166f90=this[_0x1bf656(0x29b)]['getRenderById'](_0x34a814)[_0x1bf656(0x177)](_0x42caa8[_0x1bf656(0x327)]),_0x16879f=_0x166f90[_0x1bf656(0x274)]();if(_0x16879f==null)return;let _0x3f0c3e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1971c3['unitID'],'actions':null,'textRanges':[_0x16879f]}}],_0x516de0=this[_0x1bf656(0x2ff)]['transformMutationsWithChangeset'](_0x1971c3,_0x3f0c3e);if(!(0x0,_0x5c7fe8['isTransformMutationsWithChangesetSuccess'])(_0x516de0))throw _0x516de0[_0x1bf656(0x280)];let _0x5e617e=_0x516de0[_0x1bf656(0x25f)][0x0][_0x1bf656(0x21c)]['textRanges'];Array[_0x1bf656(0x3fa)](_0x5e617e)&&_0x5e617e['length']&&_0x166f90[_0x1bf656(0x225)](_0x5e617e[0x0]);}};_0x4d61dd=_0x4a8212([_0x4e0dee(0x0,_0x5c7fe8['ITransformService']),_0x4e0dee(0x1,_0x132305[_0x4e1e46(0x3bc)])],_0x4d61dd);let _0x47a328=class{constructor(_0x31d8f6,_0x5819d2,_0x4b359f){const _0x1b376b=_0x4e1e46;this[_0x1b376b(0x198)]=_0x31d8f6,this[_0x1b376b(0x2ff)]=_0x5819d2,this['_docStateChangeManagerService']=_0x4b359f;}[_0x4e1e46(0x2e7)](_0xa16f17){const _0x58407b=_0x4e1e46;this[_0x58407b(0x20e)](_0xa16f17);}[_0x4e1e46(0x1e3)](_0x162320){const _0x5c371a=_0x4e1e46;let {unitID:_0x34814b}=_0x162320,{collaboration:_0x46c0dd}=this[_0x5c371a(0x13a)][_0x5c371a(0x2a3)](_0x34814b);if(_0x46c0dd[_0x5c371a(0x319)]===0x0)return _0x162320;let _0x1ca351=_0x5ff70c['Tools']['deepClone'](_0x162320[_0x5c371a(0x17d)][0x0]);for(let _0x2264b1=0x0;_0x2264b1<_0x46c0dd[_0x5c371a(0x319)];_0x2264b1++){let _0x1b4571={'id':_0x5c371a(0x18c),'params':{'unitId':_0x46c0dd[_0x2264b1][_0x5c371a(0x3e0)],..._0x46c0dd[_0x2264b1][_0x5c371a(0x137)]}},_0x270183=this['_transformService']['transformMutation'](_0x1ca351,_0x1b4571,!0x1);if((0x0,_0x5c7fe8['isTransformMutationFailure'])(_0x270183))throw _0x270183['error'];_0x1ca351=_0x270183[_0x5c371a(0x395)];}return{..._0x5ff70c[_0x5c371a(0x2e8)]['deepClone'](_0x162320),'mutations':[_0x1ca351]};}[_0x4e1e46(0x20e)](_0x50e530){const _0x5d2e98=_0x4e1e46;let {unitID:_0xffa090}=_0x50e530,{history:_0x2f48f5,collaboration:_0x3bc6c3}=this[_0x5d2e98(0x13a)][_0x5d2e98(0x2a3)](_0xffa090);if(_0x2f48f5['length']===0x0&&_0x3bc6c3[_0x5d2e98(0x319)]===0x0)return;let _0x2b2c9a=[],_0x26f02b=[],_0x326dd=_0x5ff70c[_0x5d2e98(0x2e8)][_0x5d2e98(0x2f3)](_0x50e530['mutations'][0x0]),_0x30a001=_0x5ff70c[_0x5d2e98(0x2e8)][_0x5d2e98(0x2f3)](_0x50e530[_0x5d2e98(0x17d)][0x0]);for(let _0x3edcdd=_0x2f48f5[_0x5d2e98(0x319)]-0x1;_0x3edcdd>=0x0;_0x3edcdd--){let _0x130f2d={'id':_0x5d2e98(0x18c),'params':{'unitId':_0x2f48f5[_0x3edcdd][_0x5d2e98(0x3e0)],..._0x2f48f5[_0x3edcdd][_0x5d2e98(0x35e)]}},_0x2b7055={'id':_0x5d2e98(0x18c),'params':{'unitId':_0x2f48f5[_0x3edcdd][_0x5d2e98(0x3e0)],..._0x2f48f5[_0x3edcdd][_0x5d2e98(0x137)]}},_0x24367a=this['_transformService']['transformMutation'](_0x326dd,_0x130f2d,!0x1),_0x32e790=this[_0x5d2e98(0x2ff)][_0x5d2e98(0x187)](_0x30a001,_0x2b7055,!0x1);if((0x0,_0x5c7fe8[_0x5d2e98(0x312)])(_0x24367a))throw _0x24367a[_0x5d2e98(0x280)];if((0x0,_0x5c7fe8[_0x5d2e98(0x312)])(_0x32e790))throw _0x32e790['error'];_0x2b2c9a['unshift']({..._0x2f48f5[_0x3edcdd],'undoState':_0x24367a[_0x5d2e98(0x25f)]['params'],'redoState':_0x32e790[_0x5d2e98(0x25f)][_0x5d2e98(0x21c)]}),_0x326dd=_0x24367a[_0x5d2e98(0x395)],_0x30a001=_0x32e790['m1Prime'];}_0x326dd=_0x5ff70c[_0x5d2e98(0x2e8)]['deepClone'](_0x50e530[_0x5d2e98(0x17d)][0x0]),_0x30a001=_0x5ff70c[_0x5d2e98(0x2e8)][_0x5d2e98(0x2f3)](_0x50e530[_0x5d2e98(0x17d)][0x0]);for(let _0x34bf57=_0x3bc6c3[_0x5d2e98(0x319)]-0x1;_0x34bf57>=0x0;_0x34bf57--){let _0x10b333={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3bc6c3[_0x34bf57][_0x5d2e98(0x3e0)],..._0x3bc6c3[_0x34bf57][_0x5d2e98(0x35e)]}},_0x563a15={'id':_0x5d2e98(0x18c),'params':{'unitId':_0x3bc6c3[_0x34bf57][_0x5d2e98(0x3e0)],..._0x3bc6c3[_0x34bf57][_0x5d2e98(0x137)]}},_0x14db8e=this['_transformService'][_0x5d2e98(0x187)](_0x326dd,_0x10b333,!0x1),_0x4cadf1=this[_0x5d2e98(0x2ff)][_0x5d2e98(0x187)](_0x30a001,_0x563a15,!0x1);if((0x0,_0x5c7fe8['isTransformMutationFailure'])(_0x14db8e))throw _0x14db8e[_0x5d2e98(0x280)];if((0x0,_0x5c7fe8['isTransformMutationFailure'])(_0x4cadf1))throw _0x4cadf1[_0x5d2e98(0x280)];_0x26f02b[_0x5d2e98(0x1e8)]({..._0x3bc6c3[_0x34bf57],'undoState':_0x14db8e['m2Prime'][_0x5d2e98(0x21c)],'redoState':_0x4cadf1[_0x5d2e98(0x25f)][_0x5d2e98(0x21c)]}),_0x326dd=_0x14db8e[_0x5d2e98(0x395)],_0x30a001=_0x4cadf1[_0x5d2e98(0x395)];}this[_0x5d2e98(0x13a)][_0x5d2e98(0x21e)](_0xffa090,{'history':_0x2b2c9a,'collaboration':_0x26f02b});}};_0x47a328=_0x4a8212([_0x4e0dee(0x0,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c[_0x4e1e46(0x3d0)])),_0x4e0dee(0x1,_0x5c7fe8[_0x4e1e46(0x369)]),_0x4e0dee(0x2,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x42caa8['DocStateChangeManagerService']))],_0x47a328);let _0x50a9b0=class{constructor(_0x56e031,_0x51b5e7){const _0x17be3a=_0x4e1e46;this[_0x17be3a(0x198)]=_0x56e031,this[_0x17be3a(0x2ff)]=_0x51b5e7;}[_0x4e1e46(0x12a)](_0x4332ff){const _0x222165=_0x4e1e46;var _0x5aba4c;let _0x59b6ef=this[_0x222165(0x198)][_0x222165(0x356)](_0x28b3fb[_0x222165(0x2e4)]),_0x2cd275=(_0x5aba4c=_0x59b6ef[_0x222165(0x2af)]())==null?[]:_0x5aba4c;if(_0x2cd275[_0x222165(0x319)]===0x0)return;let _0x1d9e3f=_0x4332ff[_0x222165(0x261)],_0x18829b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d9e3f,'actions':null,'textRanges':_0x2cd275}}],_0x5e41ec=this[_0x222165(0x2ff)]['transformMutationsWithChangeset'](_0x4332ff,_0x18829b);if(!(0x0,_0x5c7fe8['isTransformMutationsWithChangesetSuccess'])(_0x5e41ec))throw _0x5e41ec[_0x222165(0x280)];let _0x42a6f5=_0x5e41ec[_0x222165(0x25f)][0x0][_0x222165(0x21c)][_0x222165(0x3b0)];Array[_0x222165(0x3fa)](_0x42a6f5)&&_0x42a6f5['length']&&_0x59b6ef[_0x222165(0x17e)](_0x42a6f5,{'unitId':_0x1d9e3f,'subUnitId':_0x1d9e3f},!0x1);}};_0x50a9b0=_0x4a8212([_0x4e0dee(0x0,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c[_0x4e1e46(0x3d0)])),_0x4e0dee(0x1,_0x5c7fe8[_0x4e1e46(0x369)])],_0x50a9b0);let _0x18e2b8=class extends _0x5ff70c['Disposable']{constructor(_0xa95fa4,_0x5c21a2,_0x52933e,_0x1b5673,_0x136c6a,_0x2eebb2,_0x33f782,_0x3efb81){const _0x2c7ca0=_0x4e1e46;super(),this[_0x2c7ca0(0x13a)]=_0xa95fa4,this[_0x2c7ca0(0x1e9)]=_0x5c21a2,this['_docTransformIMECacheService']=_0x52933e,this[_0x2c7ca0(0x333)]=_0x1b5673,this[_0x2c7ca0(0x21d)]=_0x136c6a,this['_docSyncEditingCollabCursorService']=_0x2eebb2,this[_0x2c7ca0(0x148)]=_0x33f782,this[_0x2c7ca0(0x1cf)]=_0x3efb81,_0x2f380d(this,_0x2c7ca0(0x2fc),new _0x57c48c[(_0x2c7ca0(0x1d5))](_0x5cb8e9[_0x2c7ca0(0x406)][_0x2c7ca0(0x188)])),this[_0x2c7ca0(0x34b)]();}[_0x4e1e46(0x34b)](){const _0x5d132b=_0x4e1e46;this[_0x5d132b(0x1b4)](this[_0x5d132b(0x1e9)]['entityInit$'][_0x5d132b(0x16c)](_0x3ae7e3=>{const _0x24a525=_0x5d132b;let _0x41984f=this[_0x24a525(0x13a)][_0x24a525(0x153)][_0x24a525(0x16c)](_0x4ef745=>{const _0x4f6299=_0x24a525;if(_0x4ef745==null)return;let {unitId:_0x1c0dee,redoState:_0x105caa,commandId:_0x54297d}=_0x4ef745;if(_0x1c0dee!==_0x3ae7e3[_0x4f6299(0x261)])return;let _0x90acdb={'id':_0x54297d,'type':_0x5ff70c['CommandType'][_0x4f6299(0x157)],'params':{'unitId':_0x1c0dee,'actions':_0x105caa[_0x4f6299(0x2c4)],'textRanges':null}};_0x3ae7e3[_0x4f6299(0x374)](_0x90acdb);});_0x3ae7e3['disposeWithMe'](_0x41984f),_0x3ae7e3 instanceof _0x5cb8e9[_0x24a525(0x404)]&&_0x3ae7e3[_0x24a525(0x295)]({'onTransformIME':_0x5970a9=>this['_docTransformIMECacheService'][_0x24a525(0x1d7)](_0x5970a9),'onTransformState':_0x4d8517=>this[_0x24a525(0x333)]['transformStateCache'](_0x4d8517),'onTransformSelections':_0x154553=>this[_0x24a525(0x21d)][_0x24a525(0x12a)](_0x154553),'onSyncEditingCollabCursor':_0x5ac6bf=>this[_0x24a525(0x1eb)]['syncEditingCollabCursor'](_0x5ac6bf),'onTransformRemoteChangesetByIMECache':_0x5359e5=>this[_0x24a525(0x26b)][_0x24a525(0x1e3)](_0x5359e5),'onTransformRemoteChangesetByStateCache':_0x2ba82f=>this[_0x24a525(0x333)][_0x24a525(0x1e3)](_0x2ba82f)});}));}};_0x18e2b8=_0x4a8212([_0x4e0dee(0x0,(0x0,_0x5ff70c['Inject'])(_0x42caa8[_0x4e1e46(0x125)])),_0x4e0dee(0x1,(0x0,_0x5ff70c['Inject'])(_0x5cb8e9['CollaborationController'])),_0x4e0dee(0x2,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x4d61dd)),_0x4e0dee(0x3,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x47a328)),_0x4e0dee(0x4,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x50a9b0)),_0x4e0dee(0x5,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x13bb23)),_0x4e0dee(0x6,_0x1a8c85['IMessageService']),_0x4e0dee(0x7,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c[_0x4e1e46(0x139)]))],_0x18e2b8);let _0x33ef99=class extends _0x5ff70c[_0x4e1e46(0x126)]{constructor(_0x3d619b,_0x1f6559,_0x25962c,_0x3d5f73){const _0x3a5dbf=_0x4e1e46;super(),this[_0x3a5dbf(0x198)]=_0x3d619b,this[_0x3a5dbf(0x39c)]=_0x1f6559,this[_0x3a5dbf(0x3c5)]=_0x25962c,this['_collaborationSessionService']=_0x3d5f73,_0x2f380d(this,_0x3a5dbf(0x24d),void 0x0),this[_0x3a5dbf(0x2bb)]();}[_0x4e1e46(0x2bb)](){const _0x16b6e6=_0x4e1e46;this[_0x16b6e6(0x197)](),this[_0x16b6e6(0x292)](),this['_monkeyPatchLogService'](),this[_0x16b6e6(0x164)]();}[_0x4e1e46(0x164)](){const _0xdf3a60=_0x4e1e46;this[_0xdf3a60(0x1b4)](this[_0xdf3a60(0x320)][_0xdf3a60(0x121)][_0xdf3a60(0x16c)](_0x5bdfb6=>{const _0x501ee6=_0xdf3a60;this[_0x501ee6(0x24d)]=_0x5bdfb6==null?void 0x0:_0x5bdfb6['memberID'];}));}[_0x4e1e46(0x197)](){const _0x2b92aa=_0x4e1e46;let _0x3b2cac=_0x290743=>{const _0x3b4c34=_0x1e54;var _0x1f4a42;this[_0x3b4c34(0x3f1)](_0x3b4c34(0x280),_0x3b4c34(0x3eb)+_0x290743[_0x3b4c34(0x214)]+_0x3b4c34(0x32d)+_0x290743['filename']+':'+_0x290743[_0x3b4c34(0x324)]+':'+_0x290743[_0x3b4c34(0x403)]+'\x0a'+(((_0x1f4a42=_0x290743[_0x3b4c34(0x280)])==null?void 0x0:_0x1f4a42[_0x3b4c34(0x13f)])||''));};window[_0x2b92aa(0x163)](_0x2b92aa(0x280),_0x3b2cac),this['disposeWithMe'](()=>{const _0x146f02=_0x2b92aa;window[_0x146f02(0x337)](_0x146f02(0x280),_0x3b2cac);});}[_0x4e1e46(0x292)](){const _0x7c8566=_0x4e1e46;let _0xe2b3c5=_0x1bb6a4=>{const _0x2aabe4=_0x1e54;this[_0x2aabe4(0x3f1)](_0x2aabe4(0x280),_0x2aabe4(0x2cc)+_0x1bb6a4[_0x2aabe4(0x221)]);};window[_0x7c8566(0x163)](_0x7c8566(0x11d),_0xe2b3c5),this[_0x7c8566(0x1b4)](()=>{const _0x4225f0=_0x7c8566;window[_0x4225f0(0x337)](_0x4225f0(0x11d),_0xe2b3c5);});}[_0x4e1e46(0x1e7)](){const _0x33959f=_0x4e1e46;let _0x1a481b=this[_0x33959f(0x3c5)]['error']['bind'](this[_0x33959f(0x3c5)]);this['_logService']['error']=(..._0x2c8c7a)=>{const _0x12e7e=_0x33959f;let _0x1429c4=_0x2c8c7a['map'](_0x5b7fbd=>_0x5b7fbd instanceof Error?_0x5b7fbd[_0x12e7e(0x214)]+'\x0a'+_0x5b7fbd[_0x12e7e(0x13f)]:String(_0x5b7fbd))[_0x12e7e(0x336)]('\x20');this[_0x12e7e(0x3f1)](_0x12e7e(0x280),_0x12e7e(0x2d0)+_0x1429c4),_0x1a481b(..._0x2c8c7a);},this[_0x33959f(0x1b4)](()=>{const _0x1a9b45=_0x33959f;this[_0x1a9b45(0x3c5)][_0x1a9b45(0x280)]=_0x1a481b;});}[_0x4e1e46(0x3f1)](_0x16b02b,_0x540acc){const _0x7a33ed=_0x4e1e46;try{let _0xabe9c={'userId':this[_0x7a33ed(0x24d)],'logLabel':_0x16b02b,'content':_0x540acc};this[_0x7a33ed(0x39c)][_0x7a33ed(0x307)](_0x7a33ed(0x2be),{'body':_0xabe9c})[_0x7a33ed(0x276)](()=>{});}catch{}}};_0x33ef99=_0x4a8212([_0x4e0dee(0x0,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c[_0x4e1e46(0x3d0)])),_0x4e0dee(0x1,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x51aa1e[_0x4e1e46(0x228)])),_0x4e0dee(0x2,_0x5ff70c[_0x4e1e46(0x2dc)]),_0x4e0dee(0x3,(0x0,_0x5ff70c['Inject'])(_0x5cb8e9[_0x4e1e46(0x2fe)]))],_0x33ef99);function _0x18f895(_0x2ae0b8){const _0x95c867=_0x4e1e46;var _0x58ef64,_0x3d7850;let _0x10840c=(_0x58ef64=_0x2ae0b8[_0x95c867(0x3e5)])==null?void 0x0:_0x58ef64['stage'],_0x17b3fb=((_0x3d7850=_0x2ae0b8[_0x95c867(0x3e5)])==null?void 0x0:_0x3d7850[_0x95c867(0x3a1)])||0x0;return _0x10840c===_0x3ee1fc[_0x95c867(0x31c)][_0x95c867(0x33c)]&&_0x17b3fb>0x0;}function _0x5f48e7(_0x3ac06b){const _0x59c9a7=_0x4e1e46;return _0x3ac06b[_0x59c9a7(0x2d4)]===_0x3ee1fc[_0x59c9a7(0x2f8)][_0x59c9a7(0x1c5)];}let _0xe9a553=class extends _0x5ff70c[_0x4e1e46(0x126)]{constructor(_0x9fa877,_0x181926,_0x1c509b,_0x554626,_0x1f88d6,_0x3cd67b,_0xc9cd5c){const _0x3d2446=_0x4e1e46;super(),this[_0x3d2446(0x148)]=_0x9fa877,this[_0x3d2446(0x360)]=_0x181926,this['_configService']=_0x1c509b,this[_0x3d2446(0x39c)]=_0x554626,this[_0x3d2446(0x12b)]=_0x1f88d6,this['_logService']=_0x3cd67b,this[_0x3d2446(0x1cf)]=_0xc9cd5c,_0x2f380d(this,'_pollingInterval',null),_0x2f380d(this,_0x3d2446(0x354),0x0),_0x2f380d(this,'_currentUsage',0x0),_0x2f380d(this,_0x3d2446(0x3a9),[]),_0x2f380d(this,_0x3d2446(0x2d6),0x0),this['_initCommandInterceptor']();}[_0x4e1e46(0x355)](){const _0x1b52ef=_0x4e1e46;this['disposeWithMe'](this['_commandService'][_0x1b52ef(0x2a4)]((_0x4e1053,_0x57cef5)=>{const _0x248f96=_0x1b52ef;var _0x12ba7f;if(_0x4e1053['id']!==_0x3ee1fc['SetFormulaCalculationStartMutation']['id'])return;let _0x123ff2=_0x4e1053[_0x248f96(0x21c)];if(this[_0x248f96(0x364)]((_0x12ba7f=_0x123ff2[_0x248f96(0x149)])==null?[]:_0x12ba7f)&&!this[_0x248f96(0x366)]())throw this[_0x248f96(0x1fa)](_0x4e1053,_0x57cef5),this[_0x248f96(0x346)](),new _0x5ff70c[(_0x248f96(0x13c))]();})),this[_0x1b52ef(0x1b4)](this[_0x1b52ef(0x360)][_0x1b52ef(0x1ca)]((_0x5a0367,_0x407018)=>{const _0x24699e=_0x1b52ef;if(_0x5a0367['id']!==_0x3ee1fc['SetFormulaCalculationNotificationMutation']['id'])return;let _0x161225=_0x5a0367[_0x24699e(0x21c)];if(_0x18f895(_0x161225)){let _0x35cd2a=(0x0,_0x5ff70c[_0x24699e(0x146)])();this['_taskIds'][_0x24699e(0x3a8)](_0x35cd2a),this[_0x24699e(0x231)](_0x35cd2a);}else{if(_0x5f48e7(_0x161225)&&this[_0x24699e(0x3a9)][_0x24699e(0x319)]>0x0){let _0x2ce8e1=this[_0x24699e(0x3a9)][_0x24699e(0x134)]();this[_0x24699e(0x31a)](_0x2ce8e1);}}}));}['dispose'](){const _0x112ef8=_0x4e1e46;super[_0x112ef8(0x18e)](),this['_clearPolling'](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x112ef8(0x354)]=0x0,this[_0x112ef8(0x2d6)]=0x0;}async[_0x4e1e46(0x1fa)](_0x27ccc9,_0x57d33c){const _0x1daebb=_0x4e1e46;for(let _0x4ff677=0x0;_0x4ff677<0x1e;_0x4ff677++)try{if(await this[_0x1daebb(0x383)](),this[_0x1daebb(0x366)]()){this[_0x1daebb(0x3e2)](_0x27ccc9,_0x57d33c),this[_0x1daebb(0x148)][_0x1daebb(0x32f)]({'content':this[_0x1daebb(0x1cf)]['t'](_0x1daebb(0x1db)),'type':_0x1c52e0[_0x1daebb(0x2d9)][_0x1daebb(0x2b0)]});return;}await new Promise(_0xb1e5ec=>{const _0xfe7ff0=_0x1daebb;this[_0xfe7ff0(0x323)]=window[_0xfe7ff0(0x2eb)](_0xb1e5ec,0x3e8);});}catch(_0x38d5d6){this[_0x1daebb(0x3c5)][_0x1daebb(0x280)](_0x38d5d6);}this[_0x1daebb(0x148)]['show']({'content':this['_localeService']['t'](_0x1daebb(0x24f)),'type':_0x1c52e0[_0x1daebb(0x2d9)][_0x1daebb(0x352)]});}['_applyCommand'](_0x2957c6,_0x432470){const _0x5f31f7=_0x4e1e46;try{this[_0x5f31f7(0x360)][_0x5f31f7(0x3c4)](_0x2957c6['id'],_0x2957c6['params'],_0x432470);}catch(_0x403b0a){this[_0x5f31f7(0x3c5)][_0x5f31f7(0x280)](_0x403b0a);}}[_0x4e1e46(0x1fc)](_0x48f503,_0x42e3bf){const _0x34a8c4=_0x4e1e46;_0x42e3bf<this[_0x34a8c4(0x2d6)]||(this['_lastResponseTimestamp']=_0x42e3bf,this[_0x34a8c4(0x354)]=Number[_0x34a8c4(0x38a)](_0x48f503[_0x34a8c4(0x2bf)]),this[_0x34a8c4(0x3cb)]=Number[_0x34a8c4(0x38a)](_0x48f503[_0x34a8c4(0x3ba)]));}async[_0x4e1e46(0x231)](_0x4ef2e1){const _0x17d199=_0x4e1e46;let _0x3908a3=Date[_0x17d199(0x2f4)]();try{var _0xe86e77,_0x132344;let _0x732e16=((_0xe86e77=this['_configService'][_0x17d199(0x314)](_0x5cb8e9[_0x17d199(0x246)]))==null?void 0x0:_0xe86e77[_0x17d199(0x15f)])||_0x17d199(0x254),_0x2cf0c3=(await this[_0x17d199(0x39c)][_0x17d199(0x307)](_0x732e16,{'body':JSON['stringify']({'taskId':_0x4ef2e1})}))['body'];if(((_0x132344=_0x2cf0c3['error'])==null?void 0x0:_0x132344[_0x17d199(0x1df)])!==_0x5bb673['ErrorCode']['OK'])return;this[_0x17d199(0x1fc)](_0x2cf0c3[_0x17d199(0x279)],_0x3908a3);}catch(_0x18f55c){this[_0x17d199(0x3c5)][_0x17d199(0x280)](_0x18f55c);}}async[_0x4e1e46(0x383)](_0x351a3f){const _0x2381f6=_0x4e1e46;let _0x5e59d3=Date[_0x2381f6(0x2f4)]();try{var _0x1cbd29,_0x39e33d;let _0x585ceb=((_0x1cbd29=this[_0x2381f6(0x1a9)]['getConfig'](_0x5cb8e9[_0x2381f6(0x246)]))==null?void 0x0:_0x1cbd29[_0x2381f6(0x343)])||'/universer-api/license/formula/limit/status',_0x44a462=_0x351a3f?_0x585ceb+_0x2381f6(0x1c2)+encodeURIComponent(_0x351a3f):_0x585ceb,_0x1e6de9=(await this[_0x2381f6(0x39c)][_0x2381f6(0x356)](_0x44a462))[_0x2381f6(0x37c)];if(((_0x39e33d=_0x1e6de9[_0x2381f6(0x280)])==null?void 0x0:_0x39e33d[_0x2381f6(0x1df)])!==_0x5bb673['ErrorCode']['OK'])return;this[_0x2381f6(0x1fc)](_0x1e6de9[_0x2381f6(0x279)],_0x5e59d3);}catch(_0x4d7656){this['_logService']['error'](_0x4d7656);}}async['_releaseCalculationLimit'](_0xf1480c){const _0x484df6=_0x4e1e46;let _0x139543=Date[_0x484df6(0x2f4)]();try{var _0x510931,_0x3148fd;let _0x251177=((_0x510931=this[_0x484df6(0x1a9)][_0x484df6(0x314)](_0x5cb8e9[_0x484df6(0x246)]))==null?void 0x0:_0x510931['releaseFormulaLimitUrl'])||_0x484df6(0x19f),_0x4ec695=(await this[_0x484df6(0x39c)][_0x484df6(0x307)](_0x251177,{'body':JSON[_0x484df6(0x318)]({'taskId':_0xf1480c})}))[_0x484df6(0x37c)];if(((_0x3148fd=_0x4ec695[_0x484df6(0x280)])==null?void 0x0:_0x3148fd[_0x484df6(0x1df)])!==_0x5bb673['ErrorCode']['OK'])return;this[_0x484df6(0x1fc)](_0x4ec695['limitInfo'],_0x139543);}catch(_0x170965){this[_0x484df6(0x3c5)][_0x484df6(0x280)](_0x170965);}}['_checkCalculationAvailable'](){const _0x44b9e9=_0x4e1e46;return this[_0x44b9e9(0x354)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x44b9e9(0x3cb)]>0x0;}[_0x4e1e46(0x243)](){const _0x104543=_0x4e1e46;this[_0x104543(0x323)]&&(clearTimeout(this[_0x104543(0x323)]),this[_0x104543(0x323)]=null);}[_0x4e1e46(0x346)](){const _0x4163c6=_0x4e1e46;this[_0x4163c6(0x148)][_0x4163c6(0x32f)]({'content':this[_0x4163c6(0x1cf)]['t'](_0x4163c6(0x2a5)),'type':_0x1c52e0['MessageType']['Loading']});}[_0x4e1e46(0x364)](_0x34df48){const _0x25e2d0=_0x4e1e46;for(let _0x2c083f of _0x34df48){let {unitId:_0x1be1c2,sheetId:_0x19964d,range:_0xab0dbb}=_0x2c083f,_0xf7d0a0=this['_univerInstanceService']['getUnit'](_0x1be1c2);if(!_0xf7d0a0)continue;let _0x337149=_0xf7d0a0[_0x25e2d0(0x3a4)](_0x19964d);if(!_0x337149)continue;let _0xa932c5=_0x337149[_0x25e2d0(0x25c)]();for(let _0x3f18b6=_0xab0dbb[_0x25e2d0(0x281)];_0x3f18b6<=_0xab0dbb[_0x25e2d0(0x2e0)];_0x3f18b6++)for(let _0x19e168=_0xab0dbb[_0x25e2d0(0x3c6)];_0x19e168<=_0xab0dbb[_0x25e2d0(0x3e3)];_0x19e168++){let _0x222080=_0xa932c5['getValue'](_0x3f18b6,_0x19e168);if(_0x222080&&((0x0,_0x5ff70c[_0x25e2d0(0x2ca)])(_0x222080['f'])||(0x0,_0x5ff70c[_0x25e2d0(0x351)])(_0x222080['si'])))return!0x0;}}return!0x1;}};_0xe9a553=_0x4a8212([_0x4e0dee(0x0,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x1a8c85[_0x4e1e46(0x3aa)])),_0x4e0dee(0x1,_0x5ff70c[_0x4e1e46(0x316)]),_0x4e0dee(0x2,_0x5ff70c[_0x4e1e46(0x39f)]),_0x4e0dee(0x3,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x51aa1e[_0x4e1e46(0x228)])),_0x4e0dee(0x4,_0x5ff70c[_0x4e1e46(0x3d9)]),_0x4e0dee(0x5,_0x5ff70c[_0x4e1e46(0x2dc)]),_0x4e0dee(0x6,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c['LocaleService']))],_0xe9a553);let _0x3c4db4=class extends _0x5ff70c[_0x4e1e46(0x126)]{constructor(_0x576eda,_0x32e80b,_0x16d7c9){const _0x348ef4=_0x4e1e46;super(),this['_configService']=_0x576eda,this['_localStorageService']=_0x32e80b,this[_0x348ef4(0x2b9)]=_0x16d7c9,_0x2f380d(this,_0x348ef4(0x208),new Map()),_0x2f380d(this,_0x348ef4(0x218),new Map()),_0x2f380d(this,_0x348ef4(0x3ff),!0x1);}[_0x4e1e46(0x300)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1bca0e=_0x4e1e46;this[_0x1bca0e(0x3ff)]=!0x1;}get[_0x4e1e46(0x283)](){const _0x597cce=_0x4e1e46;return this[_0x597cce(0x218)];}[_0x4e1e46(0x18e)](){const _0x20face=_0x4e1e46;this[_0x20face(0x1ec)]()[_0x20face(0x3c9)](()=>super[_0x20face(0x18e)]());}async[_0x4e1e46(0x3cc)](_0x2c31ac){const _0xd882b7=_0x4e1e46;return this[_0xd882b7(0x3ff)]?null:this['_localStorageService'][_0xd882b7(0x299)]((0x0,_0x5cb8e9[_0xd882b7(0x15a)])(_0x2c31ac));}async[_0x4e1e46(0x332)](_0x24dab0,_0x1f6c93){const _0x105eec=_0x4e1e46;return!!this['_localStorageService'][_0x105eec(0x23e)](_0x24dab0,_0x1f6c93);}[_0x4e1e46(0x222)](_0x433c1b,_0x497d61,_0x107a3d,_0x1a4cb9){const _0x3dc7a0=_0x4e1e46;let _0x10952f=this[_0x3dc7a0(0x2b9)]['getCurrentRevOfUnit'](_0x433c1b);this[_0x3dc7a0(0x208)][_0x3dc7a0(0x12c)](_0x433c1b,{'unitID':_0x433c1b,'type':_0x497d61,'awaitingChangeset':_0x107a3d,'mutations':_0x1a4cb9,'rev':_0x10952f}),this[_0x3dc7a0(0x218)][_0x3dc7a0(0x3d5)](_0x433c1b)||this[_0x3dc7a0(0x24e)](_0x433c1b);}[_0x4e1e46(0x24e)](_0x554646){const _0x189b07=_0x4e1e46;let _0x341481=this['_getSaveTimeout']();_0x341481===0x0?this[_0x189b07(0x257)](_0x554646):this[_0x189b07(0x218)]['set'](_0x554646,setTimeout(()=>this[_0x189b07(0x257)](_0x554646),_0x341481));}[_0x4e1e46(0x3ce)](){const _0x4487de=_0x4e1e46;var _0x22b6f1;return(_0x22b6f1=this['_configService']['getConfig'](_0x5cb8e9[_0x4487de(0x2b1)]))==null?_0x5cb8e9['LOCAL_CACHE_INTERVAL']:_0x22b6f1;}['_saveCache'](_0x316cbf){const _0x12a220=_0x4e1e46;let _0xa63820=this[_0x12a220(0x218)][_0x12a220(0x356)](_0x316cbf);return _0xa63820!==void 0x0&&window['clearTimeout'](_0xa63820),this['_localStorageService'][_0x12a220(0x23e)]((0x0,_0x5cb8e9[_0x12a220(0x15a)])(_0x316cbf),this[_0x12a220(0x208)][_0x12a220(0x356)](_0x316cbf))['then'](()=>this[_0x12a220(0x218)][_0x12a220(0x3dc)](_0x316cbf));}async[_0x4e1e46(0x1ec)](){const _0x53255e=_0x4e1e46;let _0x320fe9=[];this[_0x53255e(0x218)]['forEach']((_0x4eaf58,_0x423d83)=>{const _0x155bf6=_0x53255e;window['clearTimeout'](_0x4eaf58),_0x320fe9['push'](this[_0x155bf6(0x257)](_0x423d83)[_0x155bf6(0x3c9)](()=>{const _0x3762c5=_0x155bf6;this[_0x3762c5(0x218)][_0x3762c5(0x3dc)](_0x423d83);}));}),await Promise[_0x53255e(0x341)](_0x320fe9);}};_0x3c4db4=_0x4a8212([_0x4e0dee(0x0,_0x5ff70c[_0x4e1e46(0x39f)]),_0x4e0dee(0x1,_0x5ff70c[_0x4e1e46(0x384)]),_0x4e0dee(0x2,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5c7fe8[_0x4e1e46(0x30e)]))],_0x3c4db4);var _0x3f5ed1=class extends _0x5ff70c[_0x4e1e46(0x2ce)]{constructor(){const _0x50c0c6=_0x4e1e46;super(),_0x2f380d(this,'urlChange$',void 0x0),this[_0x50c0c6(0x1ef)]=(0x0,_0x57c48c['fromEvent'])(window,_0x50c0c6(0x2c1))[_0x50c0c6(0x28c)]((0x0,_0x57c48c[_0x50c0c6(0x183)])(this['dispose$']),(0x0,_0x57c48c[_0x50c0c6(0x321)])(0x1),(0x0,_0x57c48c[_0x50c0c6(0x219)])(void 0x0));}[_0x4e1e46(0x390)](_0x3968a8,_0x36e277,_0x33d04c=!0x1){const _0x12d38b=_0x4e1e46;let _0x474df5=new URL(window[_0x12d38b(0x1a8)]['href']);_0x474df5[_0x12d38b(0x29f)][_0x12d38b(0x12c)](_0x3968a8,_0x36e277),_0x33d04c?window[_0x12d38b(0x3a7)][_0x12d38b(0x2cd)]('','',_0x474df5[_0x12d38b(0x34d)]()):window[_0x12d38b(0x3a7)][_0x12d38b(0x28f)]('','',_0x474df5[_0x12d38b(0x34d)]());}[_0x4e1e46(0x1a4)](_0x411eab,_0x3bd12e=!0x1){const _0x56fb1c=_0x4e1e46;let _0x2f889e=new URL(window[_0x56fb1c(0x1a8)]['href']);_0x2f889e['searchParams'][_0x56fb1c(0x3dc)](_0x411eab),_0x3bd12e?window[_0x56fb1c(0x3a7)][_0x56fb1c(0x2cd)]('','',_0x2f889e[_0x56fb1c(0x34d)]()):window['history'][_0x56fb1c(0x28f)]('','',_0x2f889e[_0x56fb1c(0x34d)]());}[_0x4e1e46(0x212)](_0x51b110){const _0x3df776=_0x4e1e46;var _0x2440a3;return(_0x2440a3=new URL(window[_0x3df776(0x1a8)][_0x3df776(0x407)])[_0x3df776(0x29f)]['get'](_0x51b110))==null?void 0x0:_0x2440a3;}};let _0xe13557=class extends _0x5ff70c['Plugin']{constructor(_0x1bae4f=_0x159e89,_0x5829c1,_0x3e36f1,_0x17fc4f){const _0x5f55a1=_0x4e1e46;super(),this[_0x5f55a1(0x265)]=_0x1bae4f,this[_0x5f55a1(0x29b)]=_0x5829c1,this[_0x5f55a1(0x198)]=_0x3e36f1,this[_0x5f55a1(0x1a9)]=_0x17fc4f;let {..._0x5a330f}=(0x0,_0x5ff70c[_0x5f55a1(0x36a)])({},_0x159e89,this[_0x5f55a1(0x265)]);this[_0x5f55a1(0x1a9)][_0x5f55a1(0x2a1)](_0x7445e0,_0x5a330f);}['onStarting'](){const _0x5e64a7=_0x4e1e46;this[_0x5e64a7(0x3e4)](),this[_0x5e64a7(0x26e)]();}[_0x4e1e46(0x2a0)](){const _0x12dbd2=_0x4e1e46;this[_0x12dbd2(0x241)]();}[_0x4e1e46(0x3e4)](){const _0x5aca88=_0x4e1e46;var _0x419a81;let _0x23bd84=[[_0x31492b],[_0xe9a553],[_0x50a9b0],[_0x4d61dd],[_0x47a328],[_0x13bb23],[_0x39c3cf,{'useClass':_0x3f5ed1}],[_0x51aa1e[_0x5aca88(0x1ff)],{'useClass':_0x51aa1e['WebSocketService']}],[_0x5cb8e9[_0x5aca88(0x14f)],{'useClass':_0x3c4db4}],[_0x2352d3],[_0x18e2b8],[_0x124e2f],[_0x3665f5],[_0x3e704a],[_0x5e4795]];this[_0x5aca88(0x265)][_0x5aca88(0x335)]&&_0x23bd84[_0x5aca88(0x3a8)]([_0x33ef99]),(0x0,_0x5ff70c[_0x5aca88(0x38c)])(this[_0x5aca88(0x198)],(0x0,_0x5ff70c[_0x5aca88(0x2d8)])(_0x23bd84,(_0x419a81=this[_0x5aca88(0x265)])==null?void 0x0:_0x419a81[_0x5aca88(0x1f0)]));}[_0x4e1e46(0x241)](){const _0x580d2e=_0x4e1e46;this[_0x580d2e(0x1b4)](this[_0x580d2e(0x29b)]['registerRenderModule'](_0x5ff70c[_0x580d2e(0x1ae)][_0x580d2e(0x1c8)],[_0x3dfaa1])),this[_0x580d2e(0x1b4)](this[_0x580d2e(0x29b)][_0x580d2e(0x33a)](_0x5ff70c['UniverInstanceType'][_0x580d2e(0x2df)],[_0x10ed47]));}[_0x4e1e46(0x26e)](){const _0x378dff=_0x4e1e46;(0x0,_0x5ff70c['touchDependencies'])(this[_0x378dff(0x198)],[[_0x3665f5],[_0x2352d3],[_0x18e2b8],[_0x124e2f],[_0x5e4795],[_0xe9a553]]),this[_0x378dff(0x265)][_0x378dff(0x335)]&&(0x0,_0x5ff70c[_0x378dff(0x12d)])(this[_0x378dff(0x198)],[[_0x33ef99]]);}};_0x2f380d(_0xe13557,_0x4e1e46(0x1ac),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x2f380d(_0xe13557,_0x4e1e46(0x1b0),_0x17c455),_0x2f380d(_0xe13557,_0x4e1e46(0x33d),_0x3614b3),_0xe13557=_0x4a8212([(0x0,_0x5ff70c[_0x4e1e46(0x239)])(_0x5cb8e9[_0x4e1e46(0x32c)]),_0x4e0dee(0x1,_0x132305['IRenderManagerService']),_0x4e0dee(0x2,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c[_0x4e1e46(0x3d0)])),_0x4e0dee(0x3,_0x5ff70c[_0x4e1e46(0x39f)])],_0xe13557);let _0x2a5f3b=class extends _0x5cb8e9[_0x4e1e46(0x22b)]{constructor(_0x5e5f7e,_0x4c0d88,_0x21ab93,_0x54abfd,_0x3e7808){super(_0x5e5f7e,_0x4c0d88,_0x21ab93,_0x54abfd,_0x3e7808);}async[_0x4e1e46(0x2b8)](_0x3d4eeb){const _0x493570=_0x4e1e46;let _0xaac989=await this['_getSessionTicket'](),_0xacdc41=this[_0x493570(0x371)](_0x3d4eeb,_0xaac989);return this[_0x493570(0x3e9)](_0xacdc41);}[_0x4e1e46(0x371)](_0x18d275,_0x38f7aa){const _0x58efa3=_0x4e1e46;let _0x2fe284=typeof window>'u'?new URL(_0x18d275):new URL(_0x18d275,window['location'][_0x58efa3(0x23b)]);_0x2fe284[_0x58efa3(0x29f)][_0x58efa3(0x12c)](_0x58efa3(0x30c),_0x38f7aa);let _0x47fdde=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x58efa3(0x1a8)][_0x58efa3(0x215)]);return _0x47fdde[_0x58efa3(0x356)](_0x58efa3(0x3ee))&&_0x2fe284['searchParams'][_0x58efa3(0x12c)](_0x58efa3(0x3ee),_0x47fdde[_0x58efa3(0x356)](_0x58efa3(0x3ee))),_0x2fe284[_0x58efa3(0x34d)]();}async[_0x4e1e46(0x189)](){const _0x4c9be3=_0x4e1e46;var _0x8afa0e,_0x21a172,_0x148a9c;let _0x4f98d5=this[_0x4c9be3(0x1a9)]['getConfig'](_0x5cb8e9[_0x4c9be3(0x246)]),_0x4c8e92=(_0x8afa0e=_0x4f98d5==null?void 0x0:_0x4f98d5['wsSessionTicketUrl'])==null?_0x5cb8e9[_0x4c9be3(0x1a7)]:_0x8afa0e;return(_0x21a172=(_0x148a9c=(await this[_0x4c9be3(0x39c)]['get'](_0x4c8e92,{'headers':{'Content-Type':_0x4c9be3(0x317)}}))[_0x4c9be3(0x37c)])==null?void 0x0:_0x148a9c[_0x4c9be3(0x31b)])==null?'':_0x21a172;}};_0x2a5f3b=_0x4a8212([_0x4e0dee(0x0,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x5ff70c['Injector'])),_0x4e0dee(0x1,(0x0,_0x5ff70c[_0x4e1e46(0x174)])(_0x51aa1e['HTTPService'])),_0x4e0dee(0x2,_0x5ff70c['IConfigService']),_0x4e0dee(0x3,_0x5ff70c[_0x4e1e46(0x2dc)]),_0x4e0dee(0x4,_0x5c7fe8[_0x4e1e46(0x14c)])],_0x2a5f3b);let _0x54bebb=class extends _0x5ff70c[_0x4e1e46(0x126)]{constructor(_0x4ea0ba,_0x1dce0b,_0x51d4ff){const _0x311571=_0x4e1e46;super(),this[_0x311571(0x365)]=_0x4ea0ba,this[_0x311571(0x39c)]=_0x1dce0b,this['_configService']=_0x51d4ff;}async[_0x4e1e46(0x3ed)](_0x26253a,_0x4fd923,_0x1d99d8,..._0x407fc9){const _0x517e3c=_0x4e1e46;var _0x6d073,_0x30c1ba,_0x550791,_0x23e4f7;let _0x5cfa11=this['_instanceService'][_0x517e3c(0x152)]();if(!_0x5cfa11)throw Error(_0x517e3c(0x180));let _0x115eef=((_0x6d073=this['_configService'][_0x517e3c(0x314)](_0x5cb8e9[_0x517e3c(0x3fd)]))==null?_0x5cb8e9['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']:_0x6d073)+'/'+_0x26253a+_0x517e3c(0x3b2)+_0x4fd923,_0x36a256={'scriptId':_0x26253a,'runId':(_0x30c1ba=new URL(window[_0x517e3c(0x1a8)][_0x517e3c(0x407)])[_0x517e3c(0x29f)]['get'](_0x517e3c(0x3ee)))==null?'':_0x30c1ba,'function':_0x4fd923,'unitId':_0x5cfa11[_0x517e3c(0x14b)](),'argsOfFunction':JSON[_0x517e3c(0x318)](_0x407fc9),'invokeId':(_0x550791=_0x1d99d8[_0x517e3c(0x34f)])==null?'':_0x550791,'executionId':(_0x23e4f7=_0x1d99d8[_0x517e3c(0x1b5)])==null?'':_0x23e4f7};try{let _0x4ea9d6=await this[_0x517e3c(0x39c)][_0x517e3c(0x307)](_0x115eef,{'body':_0x36a256});return _0x4ea9d6[_0x517e3c(0x37c)][_0x517e3c(0x280)]&&_0x4ea9d6[_0x517e3c(0x37c)][_0x517e3c(0x280)][_0x517e3c(0x1df)]!==_0x5bb673[_0x517e3c(0x306)]['OK']?_0x517e3c(0x379):_0x4ea9d6['body'][_0x517e3c(0x1c3)];}catch{return _0x517e3c(0x379);}}};_0x54bebb=_0x4a8212([_0x4e0dee(0x0,_0x5ff70c[_0x4e1e46(0x3d9)]),_0x4e0dee(0x1,(0x0,_0x5ff70c['Inject'])(_0x51aa1e['HTTPService'])),_0x4e0dee(0x2,_0x5ff70c[_0x4e1e46(0x39f)])],_0x54bebb);let _0x5ca9ff=0x7530,_0x4faf2c='ACTIVE_UNIT_EVENT_CHANNEL';var _0x16cdb9=class extends _0x5ff70c[_0x4e1e46(0x126)]{constructor(){const _0x2ffb7c=_0x4e1e46;super(),_0x2f380d(this,_0x2ffb7c(0x1d0),(0x0,_0x5ff70c[_0x2ffb7c(0x146)])()),_0x2f380d(this,_0x2ffb7c(0x200),new Set()),_0x2f380d(this,_0x2ffb7c(0x11e),new Map()),_0x2f380d(this,_0x2ffb7c(0x2fa),null),_0x2f380d(this,_0x2ffb7c(0x2f2),new Map()),_0x2f380d(this,_0x2ffb7c(0x162),new Map()),this[_0x2ffb7c(0x2bb)]();}[_0x4e1e46(0x18e)](){const _0x5f2cc9=_0x4e1e46;super[_0x5f2cc9(0x18e)](),this[_0x5f2cc9(0x2f2)][_0x5f2cc9(0x1c9)]((_0x59c765,_0x4c4214)=>this[_0x5f2cc9(0x2ad)](_0x4c4214)),this['_heartbeatTimer']&&window[_0x5f2cc9(0x1de)](this[_0x5f2cc9(0x2fa)]);}[_0x4e1e46(0x328)](_0xadb50){const _0xcfe178=_0x4e1e46;return this['_ensureSubject'](_0xadb50)[_0xcfe178(0x28c)]((0x0,_0x57c48c[_0xcfe178(0x19e)])());}['editingUnit'](_0x4b7533){const _0x3987ac=_0x4e1e46;this[_0x3987ac(0x200)]['size']===0x0&&this[_0x3987ac(0x1c4)](),this[_0x3987ac(0x200)][_0x3987ac(0x286)](_0x4b7533),this[_0x3987ac(0x230)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x4b7533],'isForwarded':!0x1});}[_0x4e1e46(0x3f2)](_0x1aac80){const _0xf005ab=_0x4e1e46;this[_0xf005ab(0x200)][_0xf005ab(0x3dc)](_0x1aac80),this[_0xf005ab(0x200)]['size']===0x0&&this['_heartbeatTimer']&&window[_0xf005ab(0x1de)](this['_heartbeatTimer']);}['_init'](){const _0xc74755=_0x4e1e46;this['disposeWithMe']((0x0,_0x5ff70c[_0xc74755(0x29a)])((0x0,_0x57c48c[_0xc74755(0x3e1)])(window,'storage')[_0xc74755(0x16c)](_0x427b51=>{const _0x485290=_0xc74755;if(_0x427b51[_0x485290(0x35c)]!==_0x4faf2c||!_0x427b51[_0x485290(0x22e)])return;let _0x1cc9f6=JSON[_0x485290(0x1da)](_0x427b51[_0x485290(0x22e)]);this[_0x485290(0x2b7)](_0x1cc9f6);}))),window[_0xc74755(0x163)](_0xc74755(0x238),()=>this[_0xc74755(0x230)]({'type':0x1,'memberID':this[_0xc74755(0x1d0)],'unitIDs':Array['from'](this[_0xc74755(0x200)])}));}[_0x4e1e46(0x2b7)](_0x1ce002){const _0x562158=_0x4e1e46;switch(_0x1ce002[_0x562158(0x289)]){case 0x0:this[_0x562158(0x244)](_0x1ce002);break;case 0x1:this[_0x562158(0x1cd)](_0x1ce002);break;case 0x2:this[_0x562158(0x358)](_0x1ce002);break;}}[_0x4e1e46(0x244)](_0x51306f){const _0x598f56=_0x4e1e46;let {unitIDs:_0x14016c,memberID:_0x5a6207,isForwarded:_0x42634c}=_0x51306f;_0x14016c[_0x598f56(0x1c9)](_0x4b6d63=>{const _0x3f902c=_0x598f56;if(!_0x42634c&&this['_unitOnClients'][_0x3f902c(0x3d5)](_0x4b6d63)&&this[_0x3f902c(0x1a1)](_0x4b6d63)[_0x3f902c(0x3fc)](_0x5cb8e9[_0x3f902c(0x3ad)][_0x3f902c(0x3c7)]),!this[_0x3f902c(0x11e)][_0x3f902c(0x3d5)](_0x4b6d63)||!this[_0x3f902c(0x11e)][_0x3f902c(0x356)](_0x4b6d63)[_0x3f902c(0x3d5)](_0x5a6207)){let _0x4150c3=this[_0x3f902c(0x11e)][_0x3f902c(0x356)](_0x4b6d63)||new Set();_0x4150c3[_0x3f902c(0x286)](_0x5a6207),this[_0x3f902c(0x11e)][_0x3f902c(0x12c)](_0x4b6d63,_0x4150c3),this[_0x3f902c(0x2ee)](_0x5a6207);}}),_0x42634c||this[_0x598f56(0x230)]({'type':0x0,'memberID':this[_0x598f56(0x1d0)],'unitIDs':[...this[_0x598f56(0x200)]],'isForwarded':!0x0});}[_0x4e1e46(0x2ee)](_0x316a23){const _0x477052=_0x4e1e46;this[_0x477052(0x2ad)](_0x316a23);let _0x18abf1=window[_0x477052(0x2eb)](()=>{const _0x11088d=_0x477052;this[_0x11088d(0x11e)]['forEach'](_0xcb2a23=>{const _0x57399f=_0x11088d;_0xcb2a23[_0x57399f(0x3dc)](_0x316a23);});},_0x5ca9ff*0x2);this[_0x477052(0x2f2)][_0x477052(0x12c)](_0x316a23,_0x18abf1);}[_0x4e1e46(0x2ad)](_0x216eee){const _0x37beea=_0x4e1e46;if(this['_clearOtherTimers']['has'](_0x216eee)){let _0xcc25cd=this['_clearOtherTimers'][_0x37beea(0x356)](_0x216eee);_0xcc25cd&&window[_0x37beea(0x331)](_0xcc25cd),this['_clearOtherTimers']['set'](_0x216eee,null);}}[_0x4e1e46(0x1cd)](_0x1921ca){const _0x215d5c=_0x4e1e46;let {memberID:_0x1b5eb1,unitIDs:_0x4e5495}=_0x1921ca;_0x4e5495[_0x215d5c(0x1c9)](_0x16b945=>{const _0x510a6d=_0x215d5c;var _0x5f373a;let _0x3c50b3=this[_0x510a6d(0x11e)][_0x510a6d(0x356)](_0x16b945);_0x3c50b3&&(_0x3c50b3[_0x510a6d(0x3dc)](_0x1b5eb1),(_0x5f373a=this[_0x510a6d(0x1a1)](_0x16b945))==null||_0x5f373a[_0x510a6d(0x3fc)](_0x3c50b3[_0x510a6d(0x141)]===0x0?_0x5cb8e9[_0x510a6d(0x3ad)]['NO_OTHER_CLIENTS_EDITING']:_0x5cb8e9['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x215d5c(0x2ad)](_0x1b5eb1);}[_0x4e1e46(0x358)](_0x38ac82){const _0x5f2366=_0x4e1e46;this[_0x5f2366(0x2ee)](_0x38ac82['memberID']);}[_0x4e1e46(0x230)](_0x4c8481){const _0x2863d1=_0x4e1e46;localStorage[_0x2863d1(0x23e)](_0x4faf2c,JSON[_0x2863d1(0x318)](_0x4c8481));}['_scheduleHeartbeat'](){const _0x4b4111=_0x4e1e46;this[_0x4b4111(0x2fa)]=window[_0x4b4111(0x35b)](()=>{const _0xc8705b=_0x4b4111;this[_0xc8705b(0x230)]({'type':0x2,'memberID':this[_0xc8705b(0x1d0)]});},_0x5ca9ff);}[_0x4e1e46(0x1a1)](_0x13cdd6){const _0x1b8bb0=_0x4e1e46;return this[_0x1b8bb0(0x162)][_0x1b8bb0(0x3d5)](_0x13cdd6)||this[_0x1b8bb0(0x162)][_0x1b8bb0(0x12c)](_0x13cdd6,new _0x57c48c[(_0x1b8bb0(0x1d5))](_0x5cb8e9['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x1b8bb0(0x162)]['get'](_0x13cdd6);}};Object['defineProperty'](_0x540768,_0x4e1e46(0x339),{'enumerable':!0x0,'get':function(){return _0x2a5f3b;}}),Object[_0x4e1e46(0x26c)](_0x540768,_0x4e1e46(0x32e),{'enumerable':!0x0,'get':function(){return _0x5e4795;}}),Object[_0x4e1e46(0x26c)](_0x540768,_0x4e1e46(0x3fb),{'enumerable':!0x0,'get':function(){return _0x2352d3;}}),_0x540768[_0x4e1e46(0x266)]=_0x39c3cf,Object[_0x4e1e46(0x26c)](_0x540768,_0x4e1e46(0x3a0),{'enumerable':!0x0,'get':function(){return _0x54bebb;}}),_0x540768['SheetCollabCursorShape']=_0x36bc71,Object[_0x4e1e46(0x26c)](_0x540768,_0x4e1e46(0x3c3),{'enumerable':!0x0,'get':function(){return _0xe13557;}}),_0x540768[_0x4e1e46(0x226)]=_0x16cdb9,_0x540768['WebURLService']=_0x3f5ed1;}));function _0x4ae0(){const _0x2b9dd6=['now','_urlService','univer-text-gray-400','0.2)','FormulaExecutedStateType','RemoveRowCommandId','_heartbeatTimer','selections','_status$','constructor','CollaborationSessionService','_transformService','disableLocalCache','DeleteRangeMoveUpCommandId','collaboration.single-unit.warning','1076669HusKuY','onTransformChange$','engine','ErrorCode','post','SetWorksheetActivateCommand','handleMoveRange','max','FromArray','sessionTicket','from','RevisionService','SessionStatus','SetTextSelectionsOperation','9SKMBKz','isTransformMutationFailure','selection','getConfig','subUnitId','ICommandService','application/json','stringify','length','_releaseCalculationLimit','ticket','FormulaExecuteStageType','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','createElement','fillRule','_collaborationSessionService','shareReplay','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_pollingInterval','lineno','AWAITING_WITH_PENDING','SheetsSelectionsService','DocIMEInputManagerService','getUnitStatus$','startsWith','complete','split','UniverCollaborationClientPlugin','\x20at\x20','CollaborationDataLoaderController','show','_lastPointer','clearTimeout','saveOfflineData','_docTransformStateCacheService','findNodePositionByCharIndex','enableFrontendLog','join','removeEventListener','operators','BrowserCollaborationSocketService','registerRenderModule','ranges','START_CALCULATION','version','UniverCore','decorate','url(#off-line-icon_clip0_910_343)','all','tooltipKey','getFormulaLimitStatusUrl','_offsetY','_uiPartsService','_showGuardMessage','rxjs','Shape','getTypeOfUnitAdded$','getUndoRedoMutationParamsCache','_initEntityListener','_scene','toString','moveTo','invokeId','svg','isFormulaId','Error','_hideTimer','_maxFormulaLimit','_initCommandInterceptor','get','@univerjs/sheets','_handleHeartbeatEvent','spin','NodePositionConvertToRectRange','setInterval','key','0\x200\x2017\x2016','undoState','[CollaborationDataLoaderController]','_commandService','switchMap','univer-text-red-500','_initResize','_hasFormulaInDirtyRanges','_instanceService','_checkCalculationAvailable','defIds','getColor','ITransformService','merge','_cursorShapes','UniverDocs','jsx','colorChannel1','univerjs-icon\x20univerjs-icon-','setOffsetY','_createSocketURL','_toggleOffline','UniverProCollaborationClient','onLocalMutation','requireSession','_stopBlinking','createIdentifier','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','Failed','_color','black','body','getOwnPropertyDescriptor','univer-inline-flex\x20univer-items-center\x20univer-justify-center','url(#on-line-icon_clip0_910_349)','getCollabEntity$','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','clipPath','_getFormulaLimitStatus','ILocalStorageService','UniverRpc','getMemberID','805AiycUu','polite','univer-text-blue-500','parseInt','unsubscribe','registerDependencies','_startDocCollabCursor','prototype','onPointerMove$','setParam','defs','send','OFFLINE','currentColor','m1Prime','fromEventSubject','whenReady','Optional','_collabCursorState$','CollaborationController','top','_httpService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_refreshCollabCursors','IConfigService','RemoteUniscriptService','totalFormulasToCalculate','filter','permission.content','getSheetBySheetId','getCurrentSelections','_getSheetObject','history','push','_taskIds','IMessageService','_eventUnsubscribe','_entityInit$','UnitStatus','_handleHover','UniverProCollaborationClientUi','textRanges','10137130NUzsvc','/run/','idSuffix','_hovered','@univerjs/docs','createInstance','children','_memberService','true','currentUsage','url(#$1','IRenderManagerService','some','addClipboardHook','none','text','runRefRangeMutations','_textBubble','UniverCollaborationClientUIPlugin','executeCommand','_logService','startColumn','OTHER_CLIENTS_EDITING','tag','then','PERMISSION_DENIED','_currentUsage','loadOfflineData','white','_getSaveTimeout','getAncestorScale','Injector','preventDefault','static',',\x200.2)','_setupBeforeClosingHandler','has','activeSheet$','Unknown\x20user','dispose$','IUniverInstanceService','collaboration-client-ui.config','@univerjs/drawing','delete','UPDATE_CURSOR','getCollabCursors$','_updateCollabCursors','unitId','fromEvent','_applyCommand','endColumn','_registerDependencies','stageInfo','bottom','eventID','_docSkeletonManagerService','_doCreateSocket','_colorIndex','[Window\x20Error]:\x20','row','runOnServer','runId','@univerjs/docs-ui','DataLoaderService','_uploadLog','disposeUnit','_draw','_collabCursorController','blue.400','source','event$','column','flatMap','isArray','DesktopCollaborationStatusDisplayController','next','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','find','_disabled','_notificationService','useCallback','useMemo','colno','DocCollaborationEntity','handleInsertRangeMoveDown','CollaborationStatus','href','_getLighterColor','div','unhandledrejection','_unitOnClients','_labelPosition','getCoordByCell','socket$','Enter','Subject','_highlight','DocStateChangeManagerService','Disposable','@univerjs/engine-formula','collab-rect-range-','M0\x200H16V16H0z','transformSelections','_univerInstanceService','set','touchDependencies','fillText','_collabSessionService','getVpScrollXYInfoByPosToVp','onPointerEnter$','JOIN_ROOM_FAILED','univer-text-orange-500','shift','setUndoRedoMutationParamsCache','sheetId','redoState','random','LocaleService','_docStateChangeManagerService','@univerjs-pro/collaboration-client-ui','CanceledError','getColorFromTheme','_context','stack','_collaborationUIEventService','size','displayName','collabStatus.syncing','_themeService','_transformPreviousActiveRange','generateRandomId','@univerjs/engine-render','_messageService','dirtyRanges','_onCursorUpdate','getUnitId','ISnapshotServerService','save','xlink:href','ILocalCacheService','useObservable','assign','getFocusedUnit','docStateChange$','contains','@univerjs/core','univer-h-8\x20univer-w-8\x20univer-rounded-lg','MUTATION','handleIRemoveCol','Vector2','getLocalCacheKey','BuiltInUIPart','height','handleInsertCol','evenodd','startFormulaLimitUrl','off-line-icon','collabStatus.notCollab','_unitStatus','addEventListener','_initUserListener','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','reconnect','_getScale','asObservable','color','collaboration.offline-data-not-saved','cursorInfo$','subscribe','subscribeEvent','_transformUndoRedoStack','_updateLocalCursor','_updateURLWithCurrentState','function','button','symbol','Inject','debounce','InsertRowCommandId','with','rxjs/operators','_session','replace','slice','name','mutations','replaceDocRanges','NodePositionConvertToCursor','[RemoteUniscriptService]:\x20no\x20focused\x20unit','values','_imageIoService','takeUntil','handleDeleteRangeMoveLeft','setShapeProps','amd','transformMutation','NOT_COLLAB','_getSessionTicket','RECT','addObjects','doc.mutation.rich-text-editing','toRgbString','dispose','on-line-icon_clip0_910_349','icon','object','useDependency','getSheetId','clickable','USERS_LEAVE','entries','_initWindowErrorListener','_injector','_anchorDot','SheetSkeletonManagerService','sessionStatus$','collab-text-range-','_cursors','distinctUntilChanged','/universer-api/license/formula/limit/done','0.22.1','_ensureSubject','iterator','measureText','removeParam','onPointerLeave$','_blinkTimer','DEFAULT_WS_SESSION_TICKET_URL','location','_configService','_render','_roomMembers$','pluginName','30858HfWEcY','UniverInstanceType','UniverSheets','packageName','loadUnit','#0B9EFB','_isBlinkVisible','disposeWithMe','executionId','getMergeData','rgba(','isActive','SUBMIT_CHANGESET_TIMEOUT','highlightSecond','rgba','_drawTextRange','combineLatest','registerRefRange','assignAColorForMemberID','green.600','collaboration.closeRoom','?taskId=','result','_scheduleHeartbeat','SUCCESS','_blinkIntervalTimer','cursorInfo','UNIVER_DOC','forEach','onCommandExecuted','attrs','UniverDesign','_handleLeaveEvent','_shapes','_localeService','_id','_sheetSkeletonManagerService','getSkeleton','_onCursorDelete','IImageIoService','BehaviorSubject','width','transformIMECache','indicator','currentTheme$','parse','formula.calculation.started','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_backgroundColor','clearInterval','code','getCurrentSkeleton','getMember','_cursorInfo$','transformRemoteChangeset','FETCH_MISS','DOC_RANGE_TYPE','_drawRectRange','_monkeyPatchLogService','unshift','_collaborationController','1em','_docSyncEditingCollabCursorService','exhaustSavingTask','46716MUpMFZ','permission.title','urlChange$','override','VIEW_MAIN','_highlightSecond','isEditing','_refRangeService','_dataLoaderService','_initStatusListener','font','415aJbtSb','_removeCollabCursors','_checkAndWaitForCalculationPermission','@univerjs/ui','_setFormulaLimitStatus','getOffsetConfig','12pJMjAE','ISocketService','_selfUnitIDs','addObject','transform','_hover','call','subunit','RefRangeService','getViewport','_cachedData','pulse','_localCacheService','labelPosition','collabStatus.synced','fillStyle','_transformHistoryAndStateStack','getCurrentUnitForType','unit','_startSheetCollabCursor','getParam','3gDTKmr','message','search','SYNCED','init','_saveTaskMap','mapTo','exports','SOCKET_FAILED','params','_docTransformSelectionsService','setStateCache','UniverEngineFormula','min','reason','updateOfflineData','InsertRangeMoveRightCommandId','span','setActiveRange','WebBrowserSingleActiveUnitService','forwardRef','HTTPService','@univerjs/protocol','_syncEditingCollabCursorService','CollaborationSocketService','off-line-icon_clip0_910_343','ONLINE','newValue','_toggleOnline','_send','_startCalculationLimit','Tooltip','getValue','_document','_initStatusComponent','Warning','closePath','unload','DependentOn','triggerDblclick','origin','throttleTime','_cursor','setItem','syncEditingCollabCursor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_registerRenderDependencies','SetSelectionsOperation','_clearPolling','_handleJoinEvent','EffectRefRangId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','react','imageSourceType','DeleteRangeMoveLeftCommandId','SOCKET_FAILED_RETRY','offsetY','collab-client.tooltip.reconnect','_memberID','_scheduleSaving','formula.calculation.unable','CONFLICT','collabStatus.conflict','RichTextEditingMutation','CollaborationUIEventService','/universer-api/license/formula/limit/start','@univerjs-pro/collaboration','i18nKey','_saveCache','setAlpha','session.connection-failed','getActiveSheet','34924978SvgIJo','getCellMatrix','string','_initEvent','m2Prime','UniverProCollaboration','unitID','drawWith','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_entities','_config','IURLService','_docSkeleton','@univerjs/network','_showText','http://www.w3.org/2000/svg','_docTransformIMECacheService','defineProperty','MoveRangeCommandId','_initDependencies','default','react/jsx-runtime','getCellPositionByOffset','map','rgba(255,\x20255,\x20255,\x200.01)','getActiveRange','mask','catch','12452880sZOlsU','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','limitInfo','univer-flex\x20univer-items-center\x20univer-justify-center','_beforeCloseService','_range','transformByState','getRangePointData','CollaborationUIEventId','error','startRow','path','saveTaskMap','highlight','yellow.400','add','MemberService','DocSkeletonManagerService','type','IUIPartsService','univer-border-none\x20univer-bg-transparent','pipe','ColorKit','debounceTime','pushState','Workbook','univer-m-0\x20univer-p-0','_initUnhandledRejectionListener','range','round','addHandlerCallback','RegularPolygon','_getAnchorBounding','TEXT_RANGE_LAYER_INDEX','getItem','toDisposable','_renderManagerService','collabCursorState$','CollaborationEvent','COLORS','searchParams','onRendered','setConfig','_setupSubUnitSync','getStateCache','beforeCommandExecuted','formula.calculation.waiting','univer-text-green-500','_name','_getMergeRange','InsertColCommandId','UniverNetwork','lineTo','onMouseMove','_removeClearOtherTimer','serializeRangeWithSheet','getDocRanges','Success','LOCAL_CACHE_INTERVAL_KEY','connectInjector','sheetID','data','_anchor','_colorAssignService','_handleEvent','createSocket','_revisionService','_updateSubUnitFromURLParams','_init','toPrimitive','OnLineIcon','/universer-api/frontend/logs','maxFormulaLimit','AWAITING','popstate','includes','...','actions','_drawAnchor','Rect','arc','hide','_onRefRangeChange','isFormulaString','UniverUi','[Unhandled\x20Rejection]:\x20','replaceState','RxDisposable','session.collaboration-timeout','[LogService\x20Error]:\x20','restore','status$','_online','functionsExecutedState','React','_lastResponseTimestamp','rgb','mergeOverrideWithDependencies','MessageType','UniverEngineRender','collab-text-anchor-','ILogService','makeDirty','fill','UNIVER_SHEET','endRow','_assignedColors','debug','substring','DocSelectionManagerService','current','clsx','transformStateCache','Tools','trim','1645244IyvbcC','setTimeout','IBeforeCloseService','ThemeService','_scheduleClearOtherTimer','showText','0\x200\x2016\x2016','TEXT','_clearOtherTimers','deepClone'];_0x4ae0=function(){return _0x2b9dd6;};return _0x4ae0();}
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
(function(
|
|
11
|
+
function _0x3848(_0x3b2f98,_0x40a979){_0x3b2f98=_0x3b2f98-0x8a;var _0x49991d=_0x4999();var _0x384840=_0x49991d[_0x3b2f98];return _0x384840;}function _0x4999(){var _0x192e2e=['RemoteUniscriptService','19848llgMLE','function','105132IDNCGY','FUniver','2ZYfEei','185uLjmQU','54nDdKds','369730EYBxon','99xIyKxT','13GQVEVy','amd','@univerjs-pro/collaboration-client-ui','4281000DBmuRS','object','1396976kxamKn','_injector','45zujlgN','extend','542904xyNhgo','204007ZigwPJ','get','UniverCoreFacade'];_0x4999=function(){return _0x192e2e;};return _0x4999();}(function(_0x4e10a7,_0x8793a6){var _0x5c4611=_0x3848,_0x30af92=_0x4e10a7();while(!![]){try{var _0x4438e2=-parseInt(_0x5c4611(0x9a))/0x1*(-parseInt(_0x5c4611(0x8b))/0x2)+-parseInt(_0x5c4611(0x97))/0x3*(-parseInt(_0x5c4611(0xa0))/0x4)+parseInt(_0x5c4611(0x8c))/0x5*(-parseInt(_0x5c4611(0x9e))/0x6)+parseInt(_0x5c4611(0x95))/0x7+-parseInt(_0x5c4611(0x99))/0x8*(parseInt(_0x5c4611(0x8d))/0x9)+-parseInt(_0x5c4611(0x8e))/0xa*(-parseInt(_0x5c4611(0x8f))/0xb)+-parseInt(_0x5c4611(0x93))/0xc*(parseInt(_0x5c4611(0x90))/0xd);if(_0x4438e2===_0x8793a6)break;else _0x30af92['push'](_0x30af92['shift']());}catch(_0x1e7319){_0x30af92['push'](_0x30af92['shift']());}}}(_0x4999,0x3ba1d),function(_0x3e7ab8,_0x476cb9){var _0x1a3139=_0x3848;typeof exports==_0x1a3139(0x94)&&typeof module<'u'?_0x476cb9(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define==_0x1a3139(0x9f)&&define[_0x1a3139(0x91)]?define([_0x1a3139(0x92),'@univerjs/core/facade'],_0x476cb9):(_0x3e7ab8=typeof globalThis<'u'?globalThis:_0x3e7ab8||self,_0x476cb9(_0x3e7ab8['UniverProCollaborationClientUi'],_0x3e7ab8[_0x1a3139(0x9c)]));}(this,function(_0x4c9188,_0x782538){var _0xd5b032=_0x3848,_0x15afa7=class extends _0x782538[_0xd5b032(0x8a)]{['runOnServer'](_0x5d61d8,_0x254e84,..._0x140de5){var _0x58dd30=_0xd5b032;return this[_0x58dd30(0x96)][_0x58dd30(0x9b)](_0x4c9188[_0x58dd30(0x9d)])['runOnServer'](_0x5d61d8,_0x254e84,{},..._0x140de5);}};_0x782538[_0xd5b032(0x8a)][_0xd5b032(0x98)](_0x15afa7);}));
|
|
12
12
|
|
|
13
13
|
// index
|
|
14
14
|
(function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|