@univerjs/preset-docs-collaboration 0.12.3 → 0.12.4-experimental.20251208-c4b8a44

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 CHANGED
@@ -1,14 +1,14 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0xdf4f(){var _0x2b9413=['routeKey','updateMember','addHandlerCallback','EvpKDF','EMAIL_VERIFY_CODE_MISMATCH','put','entries','_snapshotService','OFFLINE','_fetchMissChangesets','clone','_executeRemoteChangeset','authzUrl','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitType','HMAC','CipherParams','_onUserLeave','CHANGESET_REJ','_initCloseConn','isPermissionRej','\x0aAfter:\x20','Decryptor','ENTITLE_REPORT_LIMIT_EXCEED','[CollaborationEntity]','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','AwaitingState','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_updateStatus','size','transformMutationsWithChangeset','AUTHORIZE_CODE_ILLEGAL','collaMsg','m2Prime','_scheduleCollaborationTimeoutTimer','IUniverInstanceService','28ypPMFm','WECHAT_HAS_BEEN_BOUND','UNIVER_SHEET','[SyncedState]:\x20received\x20acknowledgement.','onMissedChangesetFetched','_transformStack','UserManagerService','UnitSnapshot','getMember','_rescheduleHeartbeat','_map','_waitCount','_getRedoStack','_univerInstanceService','PSEUDO_FETCH_MISSING_RESULT','[OfflineState]:\x20received\x20acknowledgement.','requireSession','onStateChange','UniverCollaborationPlugin','POST','c1Prime','UniverCollaborationClientPlugin','HTTPService','editingUnit','_doReset','UNDEFINED','CHANGESET_SHOULD_RETRY','confirm','_removeRoom','_instanceService','createEncryptor','replace','decrypt','BufferedBlockAlgorithm','waitForRoom$','deepClone','CollaborationController','updateOfflineData','?url=','status$','_snapshotServerService','_resendWithTimeout','getOwnPropertyDescriptor','YUUMI_RATE_OVER_LIMIT','AWAITING_WITH_PENDING','YUUMI_ASYNCIO_CANCELLED','INVITE_CODE_ALREADY_BOUND','_syncEditingCollabCursor','APPLY_DUPLICATED','getInterceptPoints','LIVESHARE_NEW_HOST','pad','requestParams','onTransformRemoteChangesetByIMECache','reconnect','Quantity','now','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','mutations','createDecryptor','target','executeCommand','unitInfo$','_sessionStatus$','sendChangesetTimeout','next','LocaleService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_compressMutationService','Injector','Pkcs7','_acknowledgedAwaitingChangeset','clear','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity$','csAckEvent','RxDisposable','getActiveSheet','RECV','_parse','concat','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','DocCollaborationEntity','collabSubmitChangesetUrl','loadOfflineData','_onUserJoin','LOGIN_TOKEN_PROCESSING_FAILED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_disableEditing','UNKNOWN_CODE','_socket','_nRounds','@univerjs/network','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onCombEvent','@univerjs-pro/license','/resources','save\x20fail\x20reason\x20is\x20','BehaviorSubject','REDEMPTION_CODE_FULLY_REDEEMED','ERROR_IMAGE','getValue','stopTime','originalMeta','session.room-not-exists','_scheduleCompleteTimestamp','/object/','hasher','LIVESHARE_FETCH_OPERATIONS','ENTITLE_CHAT_LIMIT_EXCEED','splice','_roomCreated$','_createInitialState','/block/','[CollaborationSession]','SOCKET_FAILED_RETRY','_createInitialStateImpl','USERS_ENTER','reduce','compute','UNRECOGNIZED','SHOULD_CLOSE_CONN','WordArray','isTransformMutationsWithChangesetFailure','_exhaustRemoteChangesetQueue','_clearLocalCache','mapDocumentTypeToUniverType','Disposable','merge','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','encryptBlock','8clOSou','COMPRESS_MUTATION_SEND','copyFileMeta','roomInfos','delay','avatar','535758KARJpk','\x20in\x20_schedule.','FAIL','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','/new_changes','awaiting','createInstance','JOIN_ROOM_FAILED','236651PZNUas','ILogService','socket\x20close','_commentService','getImageSourceCache','HEARTBEAT_TIMEOUT','format','BASE64','MentionType','_nDataBytes','localCacheService','joinEvent','getCurrentRevOfUnit','setShowComponents','IMentionIOService','SUCCUSS','DisposableCollection','_onRemoteChangeset','_showConflictNotification','_getCtorByUniverType','getRoom','substr','values','telemetry\x20info\x20is\x20not\x20initialized','serializeCombRequest','onRemoteChangeset','[CollaborationUndoRedoService]','updatePermissionObjEvent','_onRecvEvent','removeMember','_xformMode','takeUntil','words','_onConnectionFailed','startTime','_keyPriorReset','changesets','SNAPSHOT_INVALID_SNAPSHOT','_pendingMutations','setCurrentUser','UNIVER_SLIDE','_createSocket','HEARTBEAT_INTERVAL','baseRev','SessionStatus','_mode','body','close','CommentService','LIVESHARE_TERMINATE','collaboration-client.config','/universer-api/user/session-ticket','_invKeySchedule','InsertSheetMutation','/allowed','Latin1','code','_handlerCallback','LOGIN_FAILED','open$','UnitEmbedded','range','memberID','resourceIDs','ENTITLE_INSUFFICIENT_QUOTA','every','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SheetCollaborationEntity','DependentOn','ws://127.0.0.1:8000/universer-api/comb/connect','_unlockTransition','isArray','HEARTBEAT_INTERVAL_KEY','REDEMPTION_CODE_INACTIVE','_registerDependencies','GLOBAL_ROOMS_CNT_EXCEEDS','getUnit','parseProtocolChangeset','getUnitId','location','listCollaborators','fetchMissingChangesets','_minBufferSize','shareReplay','getLocalCacheKey','entityInit$','&to=','_entityInit$','collaboration_new_changeset','YUUMI_SUBSCRIPTION_NOT_FOUND','[PendingState]:\x20unhandled\x20univer\x20type:\x20','LICENSE_IMPORT_SIZE_EXCEEDED','NoPadding','_undoRedoService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','headers','unknown','Failed\x20to\x20update\x20permission\x20point','UniverProLicense','_isPermissionRej','OTHER_CLIENTS_EDITING','enableOfflineEditing','LIVESHARE_OPERATION','_sendHeartbeatTimer','CONNECTOR_DATA_TOO_LARGE','csRejEvent','onMissingChangesets','CONFLICT','reverse','unitID','readAsDataURL','_substituteUndoStack','socketService','PAYMENT_CHANNEL_NOT_SUPPORT','Hex','_sendingTimer','_emitMembers','_listenToNetworkCondition','REDEMPTION_USER_REDEEM_TIMES_EXCEED','/-/object/list','DATA_SOURCE_TOO_LARGE','PERMISSION_DENIED','HmacMD5','length','SNAPSHOT_URL_KEY','MUTATION','unit-cache-','UniverProCollaborationClient','SnapshotService','Base64','sigBytes','_iKey','Module','objectActions','then','ONLINE','processBlock','getUnitOnRev','_imageSourceCache','UNIVER_PROJECT','JOINING','loadUnit','state','NOT_FOUND','padding','CollaborativeUndoRedoService','MOBILE_HAS_BEEN_BOUND','getMemberID','defineProperty','_append','_replaceFileID','isTransformMutationsWithChangesetSuccess','_unitInfo$','objectID','_stopTelemetryCollaborationNewChangeset','ENTITLE_CAN_NOT_BUY_LOWER_OTP','responseType','HmacSHA1','ICollaborationSocketService','pluginName','getFocusedUnit','session.room-permission-denied','loginUrlKey','msCrypto','reject','rxjs','_undoStacks','salt','ivSize','list','_logService','snapshotServerUrl','[PendingState]:\x20received\x20rejection.','HTTPRequest','_sender','saveSheetBlock','createSocket','_updateState','CollaborationSession','DataLoaderService','_handler','randomBytes','YUUMI_UNABLE_LOAD_URL','toDisposable','reqId','UnitStatus','create','onRemoteAck','_ENC_XFORM_MODE','UNAUTHENTICATED','getTypeOfUnitDisposed$','object','saveSnapshot','max','onCommentUpdate','loadUnitOfRevision','has','_transformRemoteChangesetByStateCache','_state$','touchDependencies','ILocalCacheService','url','buffer','function','uniscriptRunEvent','LICENSE_EXPORT_SIZE_EXCEEDED','blockSize','_incrementRevisionNumber','_localCacheService','subUnitId','_queuedRemoteChangesets','parse','LICENSE_DISTRO_REJECTED','ClipsheetFragments','getRandomValues','_createHmacHelper','/universer-api/authz','USERS_LEAVE','symbol','PY_RUNTIME_SCRIPT_ERROR','UniverDocs','REDEMPTION_INVALID_CODE','_state','WorkbookEditablePermission','_localeService','/universer-api/stream/file/upload','INTERNAL_ERROR','prototype','fromCharCode','SheetPermissionInitController','take','error','SYNCED','updatePermissionPoint','disableLocalCache','_getCurrentRevision','{fileID}','revision','FETCH_MISSING','_singleActiveUnitService','_substituteRedoStack','b64DecodeUnicode','[UniverCollaborationClientPlugin]','socket\x20open.','lib','decryptBlock','getSheetBlock','EMAIL_HAS_BEEN_BOUND','getUnitStatus$','cmd','APPLY_REVISION_CONFILICT','_createHelper','FETCH_MISS','Cipher','onCommandExecuted','SNAPSHOT_HAS_BEEN_REMOVED','USER_IS_ANONYMOUS','IUndoRedoService','_telemetryInfo','_getDownloadEndpointURL','_onLocalMutation','resolve','fetch_missing','encrypt','enc','NO_OTHER_CLIENTS_EDITING','/-/object/-/batch_allowed','ERROR_IMAGE_TYPE','univer-pro.collaboration-client.network-condition.service','_createHandler','Plugin','commentUpdate$','asObservable','debug','_awaitingChangeset','transformChangesets','compose','SHA1','SheetTransformSelectionsService','_userManagerService','_onRemoteRejected','transformUndoRedo','_clearRedo','unitId','collabWebSocketUrl','getCurrentSelections','collaborators','offline','_keySchedule','_getLoginPath','encodeURIComponent','CollaborationImageIoService','fetchThroughInterceptors','_clearUndo','unsubscribe','sessionStatus','awaitingChangeset','registerHTTPInterceptor','COMPRESS_MUTATION_APPLY','1205592jBpoKF','append','x-univer-host','status','_revisionService','batchAllowed','BlockCipher','rev','_key','send','_startTelemetryCollaborationNewChangeset','/rev/','/universer-api/snapshot/','dispose$','EmptyMutationInfo','_collaborationTimeoutTimer','@univerjs-pro/collaboration','INGEST','\x20to\x20','clamp','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ciphertext','resend','_iv','kdf','enableAuthServer','patch','UserProfileImg','HttpExport','objectType','ImageUploadStatusType','charAt','isTransformChangesetsSuccess','_clearCollaborationTimeoutTimer','FetchingMissState','ERROR_EXCEED_SIZE','&source=','byteLength','getLatestCsReqIdBySid','repeat','_change$','_prevBlock','_init','collaboration-client.local-cache-service','Encryptor','default','CollaborationSocketService','_initRequestHeader','_onFetchMissResult','IImageIoService','type','name','_changesetSessionId','LocalUndoRedoService','_transformSelections','SheetsSelectionsService','onRemoteRej','BlockCipherMode','CHANGESET_ACK','1525662ZGYxbz','_httpService','_configService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_lockTransition','ReplaySubject','generateRandomId','extend','_data','_getSendChangesetTimeout','CollaborationStatus','uploadFileServerUrl','catch','CompressMutationService','roles','onStarting','origin','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','fetchMiss','IAuthzIoService','IContextService','SnapshotServerOverHTTPService','getDeserializedSheetBlock','@univerjs/docs','ALREADY_EXISTS','_commandService','image/gif','PERMISSION_REJ','_permissionService','_getAPIPrefixPath','image/jpg','/universer-api/uniscript','userID','map','join','UNKNOWN_CMD','REDEMPTION_CODE_HAS_BEEN_CREATED','_cipher','createCollaborator','Subject','getImage','ICommandService','LOCAL_CACHE_INTERVAL','_config','_clearHeartbeatTimer','byteOffset','_status$','UUID','algo','init','textEncoder','sid','socket$','error$','_process','SerializableCipher','infoRsp','Optional','People','JOIN_ROOM_FULL','get','leaveEvent','UPDATE_CURSOR','LIVESHARE_REQUEST_HOST','@univerjs/telemetry','withCredentials','mergeOverrideWithDependencies','_waitForHeartbeatResponse','_timeoutTimer','add','delete','addImageSourceCache','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','charCodeAt','LEAVE','initWorkbookPermissionChange','onTransformIME','_throwTelemetryCollaborationNewChangeset','Error\x20on\x20receiving\x20event','JSONX','StreamCipher','_unitID','[SyncedState]:\x20received\x20rejection.','_doCryptBlock','FileId','[CollaborationSessionService]:\x20socket\x20error','SUBMIT_CHANGESET_TIMEOUT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','sessionStatus$','execute','JOIN_ROOM_NOT_EXISTS','_tryReconnect','_HTTPService','image/jpeg','_hasher','\x0aCurrent:\x20','_updateLocalCache','UNIVER_COLLABORATION_CLIENT_PLUGIN','slice','getSheetId','UniverCore','onRemoteRetry','UniverDrawing','/universer-api/file/{fileID}/sign-url','/object','_transformStateCache','unitId\x20is\x20not\x20found','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','update','reset','_hash','isInternalEditorID','synced','MemberService','REDEMPTION_USER_NOT_ELIGIBLE','finalize','_socketReady','editing\x20status\x20changed\x20to','_resendTimer','mode','INVITE_CODE_REQUIRED','putCollaborators','_replayCachedMutations','SyncedState','pauseCollaboration','IDLE','getCollabEntity','[DataLoaderService]','connection\x20error','_collaborationUIEventService','_clearScheduledTask','post','getTime','_transformUndoredo','loadSheet','eventID','_checkMissing','params','message$','textRanges','pipe','AwaitingWithPendingState','incrementRevOfUnit','getCurrentUser','_sheetTransformSelectionsService','toggleOffline','_resendTimeout','onlyLocal','registerDependencies','getResourcesRequest','CBC','members$','HEARTBEAT','PENDING','_transformIMECache','method','focused$','OpenSSL','appendMutation','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','INVALID_INVITE_CODE','Inject','_collaborationSessionService','toggleOnline','Undefined','forEach','complete','Rectangle','NOT_COLLAB','?size=','transformStack\x20failed!','_tryEnsureSocket','exports','string','_collaborationPaused','PERSON','\x20-\x20','1179808JVGzei','onload','JOIN','_getAPIPrefix','random','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initMergeInterceptor','getTypeOfUnitAdded$','_getUploadFileURL','UniverInstanceType','_remoteChangesetQueue','onTransformRemoteChangesetByStateCache','AES','_socket$','cfg','OPTIONAL','TOO_MANY_REQUESTS','min','UNISCRIPT_RUN','_networkConditionService','fetching\x20missing\x20changesets\x20from\x20','c2Prime','_clearTimeoutTimer','getSnapshotAPIPath','INVALID_ARGUMENT','includes','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_submitChangeset','_decreaseWaiting','SUBMIT_CHANGESET','APPLY_REJECT','APPLY_PERMISSION_DENIED','_shouldReportTelemetry','_startCollaboration','_onRemoteRetry','snapshot','deleteCollaborator','disposeWithMe','enableSingleActiveInstanceLock','HELLO','RichTextEditingMutation','CollaborationEntity','image/png','_schedule','ConflictState','subscribe','onTransformSelections','_initDependencies','selections','/universer-api/oidc/authpage','hasOwnProperty','OfflineState','liveShareNewHost','OTHER_CLIENT_EDITING','[OfflineState]:\x20received\x20rejection.','abs','result','set','@univerjs/drawing','NEW_CHANGESETS','permissionRejEvent','_doProcessBlock','CURRENT_STATUS_CANNOT_OPERATE','key','YUUMI_ALL_TABLES_IS_INVALID','_sessions','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UniverNetworkPlugin','INVITE_CODE_HAS_BEEN_UES','call','apply','Workbook','_initUnitPermissionChange','_onJoinRoomEvent','CLOSE_ROOM','emitEvent','event$','push','uuidv4','state$','HttpImport','find','shouldCloseConn','mixIn','change$','_getUndoStack','LICENSE_MAX_UNITS_EXCEEDED','_onConflict','[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.','_injector','SOCKET_FAILED','MSG_FOR_ERROR','image/bmp','_retryConnectingTimer','_event$','capture','CollaborationEvent','crypto','_reverseMap','IConfigService','_eventService','ERROR_AGAIN','UPDATE_PERMISSION_OBJ','readInt32LE','onSendChangeset','AuthzIoHttpService','getConfig','_toggleOnline','iterations','UNIVER_DOC','_transformService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','session.join-failed','_sendHeartbeat','MentionIoHttpService','_roomMembers','_doFinalize','_oKey','RevisionService','unpad','/unit/','MD5','hostname','ENTITLE_DUP_SUBSCRIPTION','DEFAULT_WS_SESSION_TICKET_URL','href','_entities','_transitionLocked','/collaborator','getWorkbookSelections','__creator','Base','_members$','JOIN_ROOM_PERMISSION_DENIED','_onMessage','univer-pro.collaboration-client-socket-service','4547133XJlQmN','session','enableCollaboration','CollaborationSessionService','toString','_doCreateSocket','@univerjs/sheets','50405gRyHtY','COMMENT_UPDATE','_memberService','allowed','workbook','failed\x20to\x20apply\x20missed\x20changesets!','YUUMI_AI_RUN_FAILED','$super','DEFAULT_FILE_NAME','filter','PendingState','sheets','/universer-api/comb','fromCollab','[CollaborationSessionService]','interceptor','listRoles','keySize','Utf8','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_clearRetryConnectingTimer','_telemetryService','online$','USER_NOT_INVITED_CODE','subject','IPermissionService','YUUMI_CONNECTOR_URL_NOT_FOUND','deserializeToCombResponse','ISnapshotServerService','__Key__','_transformRemoteChangesetByIMECache','_changesetReqId','_members','updateCollaborator','file','dispose','ImageSourceType','stringify','_getSignURL','conflict','close$','csShouldRetryEvent','_type','Could\x20not\x20dynamically\x20require\x20\x22','_collabSessionService','INetworkConditionService','createIdentifier','actions','Hasher','floor','COMPLETION_FINISHED','onTransformState','ITransformService','&assign=','_candidateSocket','onSyncEditingCollabCursor','ENTITLE_NEED_BILLING_ADDRESS','_retryCount','data','_socketMessageSubscription','closeSession'];_0xdf4f=function(){return _0x2b9413;};return _0xdf4f();}function _0x2774(_0x495b9d,_0x3a9049){var _0xdf4ff=_0xdf4f();return _0x2774=function(_0x277447,_0x282f7d){_0x277447=_0x277447-0xd8;var _0xf83937=_0xdf4ff[_0x277447];return _0xf83937;},_0x2774(_0x495b9d,_0x3a9049);}(function(_0x776235,_0xc67f09){var _0x12bda1=_0x2774,_0x48cedc=_0x776235();while(!![]){try{var _0x3dba0c=parseInt(_0x12bda1(0x405))/0x1+parseInt(_0x12bda1(0x1d2))/0x2+-parseInt(_0x12bda1(0x197))/0x3+-parseInt(_0x12bda1(0x284))/0x4+parseInt(_0x12bda1(0x313))/0x5+-parseInt(_0x12bda1(0x3fd))/0x6*(parseInt(_0x12bda1(0x374))/0x7)+-parseInt(_0x12bda1(0x3f7))/0x8*(-parseInt(_0x12bda1(0x30c))/0x9);if(_0x3dba0c===_0xc67f09)break;else _0x48cedc['push'](_0x48cedc['shift']());}catch(_0x2ce0f5){_0x48cedc['push'](_0x48cedc['shift']());}}}(_0xdf4f,0x7080c),function(_0x2c1ebd,_0x27d0ca){var _0x25a0b1=_0x2774;typeof exports==_0x25a0b1(0x12b)&&typeof module<'u'?_0x27d0ca(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x25a0b1(0x137)&&define['amd']?define(['exports',_0x25a0b1(0x1a7),'@univerjs/core',_0x25a0b1(0x1e9),_0x25a0b1(0x312),'rxjs',_0x25a0b1(0x212),'rxjs/operators',_0x25a0b1(0x3d0),_0x25a0b1(0x2be),_0x25a0b1(0x3d3)],_0x27d0ca):(_0x2c1ebd=typeof globalThis<'u'?globalThis:_0x2c1ebd||self,_0x27d0ca(_0x2c1ebd[_0x25a0b1(0xeb)]={},_0x2c1ebd['UniverProCollaboration'],_0x2c1ebd[_0x25a0b1(0x236)],_0x2c1ebd[_0x25a0b1(0x148)],_0x2c1ebd['UniverSheets'],_0x2c1ebd[_0x25a0b1(0x111)],_0x2c1ebd['UniverTelemetry'],_0x2c1ebd[_0x25a0b1(0x111)]['operators'],_0x2c1ebd['UniverNetwork'],_0x2c1ebd[_0x25a0b1(0x238)],_0x2c1ebd[_0x25a0b1(0x467)]));}(this,function(_0x9ad254,_0x4f7392,_0x22bf6a,_0x431414,_0x165825,_0x1786f2,_0x257e39,_0x170216,_0x1d3e98,_0x555468,_0x4d89d6){'use strict';var _0x2343e6=_0x2774;var _0x3c3627=Object['defineProperty'],_0x15497b=(_0x767ad4,_0x6b24e7,_0x31d6db)=>_0x6b24e7 in _0x767ad4?_0x3c3627(_0x767ad4,_0x6b24e7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31d6db}):_0x767ad4[_0x6b24e7]=_0x31d6db,_0x12b414=(_0x589514,_0x43cbf3,_0x336384)=>_0x15497b(_0x589514,typeof _0x43cbf3!=_0x2343e6(0x146)?_0x43cbf3+'':_0x43cbf3,_0x336384);const _0x41c905='/universer-api/snapshot',_0x490224=_0x2343e6(0xe8),_0xa980e0=_0x2343e6(0x44a),_0x9c0542=_0x2343e6(0x438),_0x2ee1cf=_0x2343e6(0x42f),_0x2ab30c=_0x2343e6(0x40a),_0x3977ea='RETRY_CONNECTING_MAX_COUNT',_0x38fcab=_0x2343e6(0x1fc),_0x1c01b0=_0x2343e6(0x31f),_0x495183=_0x2343e6(0x2b5),_0x50bd51='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x1c9e27=_0x2343e6(0x1f1);var _0x395aaa=(_0x3add05=>(_0x3add05[_0x3add05[_0x2343e6(0x38d)]=0x0]=_0x2343e6(0x38d),_0x3add05[_0x3add05['OK']=0x1]='OK',_0x3add05[_0x3add05[_0x2343e6(0x14e)]=0x2]=_0x2343e6(0x14e),_0x3add05[_0x3add05['PERMISSION_DENIED']=0x3]=_0x2343e6(0xe5),_0x3add05[_0x3add05[_0x2343e6(0xfb)]=0x4]=_0x2343e6(0xfb),_0x3add05[_0x3add05[_0x2343e6(0x129)]=0x5]='UNAUTHENTICATED',_0x3add05[_0x3add05[_0x2343e6(0x1ea)]=0x6]=_0x2343e6(0x1ea),_0x3add05[_0x3add05[_0x2343e6(0x29c)]=0x7]=_0x2343e6(0x29c),_0x3add05[_0x3add05[_0x2343e6(0x294)]=0x8]='TOO_MANY_REQUESTS',_0x3add05[_0x3add05[_0x2343e6(0x345)]=0x9]=_0x2343e6(0x345),_0x3add05[_0x3add05[_0x2343e6(0x43f)]=0xa]='LOGIN_FAILED',_0x3add05[_0x3add05['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3add05[_0x3add05[_0x2343e6(0x2f3)]=0xc]=_0x2343e6(0x2f3),_0x3add05[_0x3add05[_0x2343e6(0x354)]=0xd]=_0x2343e6(0x354),_0x3add05[_0x3add05['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3add05[_0x3add05[_0x2343e6(0x36f)]=0xf]=_0x2343e6(0x36f),_0x3add05[_0x3add05[_0x2343e6(0x3ca)]=0x10]=_0x2343e6(0x3ca),_0x3add05[_0x3add05[_0x2343e6(0x2c2)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x3add05[_0x3add05[_0x2343e6(0x2e9)]=0x65]=_0x2343e6(0x2e9),_0x3add05[_0x3add05['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x3add05[_0x3add05[_0x2343e6(0x16c)]=0xca]=_0x2343e6(0x16c),_0x3add05[_0x3add05['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3add05[_0x3add05['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2343e6(0x42a),_0x3add05[_0x3add05[_0x2343e6(0x16b)]=0x1772]=_0x2343e6(0x16b),_0x3add05[_0x3add05['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3add05[_0x3add05[_0x2343e6(0x2a2)]=0x1b59]=_0x2343e6(0x2a2),_0x3add05[_0x3add05['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3add05[_0x3add05[_0x2343e6(0x166)]=0x1b5b]=_0x2343e6(0x166),_0x3add05[_0x3add05[_0x2343e6(0x2a3)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3add05[_0x3add05[_0x2343e6(0x3a4)]=0x1b5d]='APPLY_DUPLICATED',_0x3add05[_0x3add05['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2343e6(0x46d),_0x3add05[_0x3add05['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2343e6(0x2da),_0x3add05[_0x3add05[_0x2343e6(0x447)]=0x232a]=_0x2343e6(0x447),_0x3add05[_0x3add05[_0x2343e6(0x460)]=0x232b]=_0x2343e6(0x460),_0x3add05[_0x3add05['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2343e6(0x139),_0x3add05[_0x3add05['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2343e6(0x140),_0x3add05[_0x3add05[_0x2343e6(0x122)]=0x2711]=_0x2343e6(0x122),_0x3add05[_0x3add05['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3add05[_0x3add05[_0x2343e6(0x39f)]=0x2713]=_0x2343e6(0x39f),_0x3add05[_0x3add05[_0x2343e6(0x45e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3add05[_0x3add05['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3add05[_0x3add05[_0x2343e6(0x3a1)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3add05[_0x3add05['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2343e6(0x326),_0x3add05[_0x3add05[_0x2343e6(0x2c4)]=0x271d]=_0x2343e6(0x2c4),_0x3add05[_0x3add05[_0x2343e6(0x229)]=0x271e]=_0x2343e6(0x229),_0x3add05[_0x3add05[_0x2343e6(0x319)]=0x271f]=_0x2343e6(0x319),_0x3add05[_0x3add05[_0x2343e6(0x32d)]=0x2720]=_0x2343e6(0x32d),_0x3add05[_0x3add05[_0x2343e6(0x147)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3add05[_0x3add05['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2343e6(0x2c8),_0x3add05[_0x3add05[_0x2343e6(0x273)]=0x2ee2]='INVALID_INVITE_CODE',_0x3add05[_0x3add05[_0x2343e6(0x24a)]=0x2ee3]=_0x2343e6(0x24a),_0x3add05[_0x3add05['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2343e6(0x32a),_0x3add05[_0x3add05[_0x2343e6(0x3a2)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3add05[_0x3add05[_0x2343e6(0x375)]=0x32c9]=_0x2343e6(0x375),_0x3add05[_0x3add05[_0x2343e6(0xfe)]=0x32ca]=_0x2343e6(0xfe),_0x3add05[_0x3add05[_0x2343e6(0x163)]=0x32cb]=_0x2343e6(0x163),_0x3add05[_0x3add05[_0x2343e6(0x107)]=0x36b1]=_0x2343e6(0x107),_0x3add05[_0x3add05[_0x2343e6(0x23d)]=0x36b2]=_0x2343e6(0x23d),_0x3add05[_0x3add05[_0x2343e6(0x2ff)]=0x36b3]=_0x2343e6(0x2ff),_0x3add05[_0x3add05[_0x2343e6(0xdd)]=0x36b4]=_0x2343e6(0xdd),_0x3add05[_0x3add05[_0x2343e6(0x3e1)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3add05[_0x3add05[_0x2343e6(0x367)]=0x3716]=_0x2343e6(0x367),_0x3add05[_0x3add05['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x2343e6(0x445),_0x3add05[_0x3add05[_0x2343e6(0x34b)]=0x37dd]=_0x2343e6(0x34b),_0x3add05[_0x3add05[_0x2343e6(0x149)]=0x3a99]=_0x2343e6(0x149),_0x3add05[_0x3add05[_0x2343e6(0x44e)]=0x3a9a]=_0x2343e6(0x44e),_0x3add05[_0x3add05['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x2343e6(0x3d7),_0x3add05[_0x3add05['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x3add05[_0x3add05[_0x2343e6(0x244)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3add05[_0x3add05['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2343e6(0xe2),_0x3add05[_0x3add05[_0x2343e6(0x1f6)]=0x3a9f]=_0x2343e6(0x1f6),_0x3add05[_0x3add05[_0x2343e6(0xe4)]=0x3e81]=_0x2343e6(0xe4),_0x3add05[_0x3add05[_0x2343e6(0x3ec)]=-0x1]=_0x2343e6(0x3ec),_0x3add05))(_0x395aaa||{}),_0x1c9922=(_0x315c29=>(_0x315c29[_0x315c29['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x315c29[_0x315c29[_0x2343e6(0x2f1)]=0x1]=_0x2343e6(0x2f1),_0x315c29[_0x315c29[_0x2343e6(0x376)]=0x2]=_0x2343e6(0x376),_0x315c29[_0x315c29[_0x2343e6(0x42d)]=0x3]='UNIVER_SLIDE',_0x315c29[_0x315c29[_0x2343e6(0xf7)]=0x4]=_0x2343e6(0xf7),_0x315c29[_0x315c29[_0x2343e6(0x3ec)]=-0x1]=_0x2343e6(0x3ec),_0x315c29))(_0x1c9922||{}),_0x2b6d9f=(_0xab449a=>(_0xab449a[_0xab449a[_0x2343e6(0x1f5)]=0x0]='UNKNOWN_CMD',_0xab449a[_0xab449a[_0x2343e6(0x2ab)]=0x1]=_0x2343e6(0x2ab),_0xab449a[_0xab449a[_0x2343e6(0x286)]=0x2]=_0x2343e6(0x286),_0xab449a[_0xab449a[_0x2343e6(0x21c)]=0x3]=_0x2343e6(0x21c),_0xab449a[_0xab449a[_0x2343e6(0x1a8)]=0x4]=_0x2343e6(0x1a8),_0xab449a[_0xab449a[_0x2343e6(0x26a)]=0x5]=_0x2343e6(0x26a),_0xab449a[_0xab449a[_0x2343e6(0x3c2)]=0x6]='RECV',_0xab449a[_0xab449a[_0x2343e6(0x3ec)]=-0x1]='UNRECOGNIZED',_0xab449a))(_0x2b6d9f||{}),_0x5b95b6=(_0x148658=>(_0x148658[_0x148658[_0x2343e6(0x3cd)]=0x0]='UNKNOWN_CODE',_0x148658[_0x148658['OK']=0x1]='OK',_0x148658[_0x148658[_0x2343e6(0x3ff)]=0x2]=_0x2343e6(0x3ff),_0x148658[_0x148658[_0x2343e6(0x20d)]=0x3e9]='JOIN_ROOM_FULL',_0x148658[_0x148658[_0x2343e6(0x22c)]=0x3ea]=_0x2343e6(0x22c),_0x148658[_0x148658['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2343e6(0x309),_0x148658[_0x148658['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2343e6(0x450),_0x148658[_0x148658[_0x2343e6(0x3ec)]=-0x1]='UNRECOGNIZED',_0x148658))(_0x5b95b6||{}),_0x4ae3ac=(_0x594a95=>(_0x594a95[_0x594a95['Undefined']=0x0]=_0x2343e6(0x277),_0x594a95[_0x594a95[_0x2343e6(0x2d4)]=0x1]=_0x2343e6(0x2d4),_0x594a95[_0x594a95[_0x2343e6(0x1b3)]=0x2]=_0x2343e6(0x1b3),_0x594a95[_0x594a95[_0x2343e6(0x441)]=0x3]=_0x2343e6(0x441),_0x594a95[_0x594a95[_0x2343e6(0x37b)]=0x4]='UnitSnapshot',_0x594a95[_0x594a95[_0x2343e6(0x1b2)]=0x5]='UserProfileImg',_0x594a95[_0x594a95[_0x2343e6(0x141)]=0x6]=_0x2343e6(0x141),_0x594a95[_0x594a95['UNRECOGNIZED']=-0x1]=_0x2343e6(0x3ec),_0x594a95))(_0x4ae3ac||{});const _0x59b164=_0x2343e6(0x45d);function _0xeca255(_0x17a825){var _0x19311d=_0x2343e6;return JSON[_0x19311d(0x338)](_0x17a825)[_0x19311d(0xe7)];}var _0x563766=(_0x318a80=>(_0x318a80['OTHER_CLIENT_EDITING']=_0x2343e6(0x2b9),_0x318a80[_0x2343e6(0xe5)]=_0x2343e6(0xe5),_0x318a80[_0x2343e6(0x470)]='CONFLICT',_0x318a80[_0x2343e6(0x2ce)]=_0x2343e6(0x2ce),_0x318a80[_0x2343e6(0x404)]=_0x2343e6(0x404),_0x318a80[_0x2343e6(0x3e7)]=_0x2343e6(0x3e7),_0x318a80[_0x2343e6(0x2de)]=_0x2343e6(0x2de),_0x318a80[_0x2343e6(0x228)]=_0x2343e6(0x228),_0x318a80))(_0x563766||{});class _0x37f895{constructor(){var _0x16d547=_0x2343e6;_0x12b414(this,'_event$',new _0x1786f2[(_0x16d547(0x1f9))]()),_0x12b414(this,_0x16d547(0x2d0),this[_0x16d547(0x2e2)][_0x16d547(0x17c)]());}['emitEvent'](_0x3f3c14){var _0xe782d2=_0x2343e6;this[_0xe782d2(0x2e2)]['next'](_0x3f3c14);}}class _0x59755d{constructor(){var _0x212963=_0x2343e6;_0x12b414(this,'_commentUpdate$',new _0x1786f2[(_0x212963(0x1f9))]()),_0x12b414(this,_0x212963(0x17b),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x29248b){var _0x5edc1d=_0x2343e6;this['_commentUpdate$'][_0x5edc1d(0x3b5)](_0x29248b);}}var _0x14025a=Object[_0x2343e6(0x39e)],_0x247aee=(_0x497061,_0xa64d5f,_0x3f657b,_0x2251fc)=>{var _0x3e60c2=_0x2343e6;for(var _0x3e4bed=_0x2251fc>0x1?void 0x0:_0x2251fc?_0x14025a(_0xa64d5f,_0x3f657b):_0xa64d5f,_0x3cef87=_0x497061[_0x3e60c2(0xe7)]-0x1,_0x2dd1f1;_0x3cef87>=0x0;_0x3cef87--)(_0x2dd1f1=_0x497061[_0x3cef87])&&(_0x3e4bed=_0x2dd1f1(_0x3e4bed)||_0x3e4bed);return _0x3e4bed;},_0x449dbd=(_0x3dae8d,_0x3ef597)=>(_0x5d9b4e,_0x5c9d5b)=>_0x3ef597(_0x5d9b4e,_0x5c9d5b,_0x3dae8d);_0x9ad254[_0x2343e6(0x243)]=class extends _0x22bf6a[_0x2343e6(0x3f3)]{constructor(_0x2011be,_0x4daaef){var _0x10d25a=_0x2343e6;super(),_0x12b414(this,_0x10d25a(0x2f7),new Map()),_0x12b414(this,_0x10d25a(0x3e3),new _0x1786f2['Subject']()),(this['_univerInstanceService']=_0x2011be,this[_0x10d25a(0x183)]=_0x4daaef,this[_0x10d25a(0x2a9)](_0x1786f2[_0x10d25a(0x3f4)](this[_0x10d25a(0x381)][_0x10d25a(0x12a)](_0x22bf6a[_0x10d25a(0x28d)]['UNIVER_SHEET'])[_0x10d25a(0x25e)](_0x170216[_0x10d25a(0x1f3)](_0x184fcf=>_0x184fcf[_0x10d25a(0x453)]())),this[_0x10d25a(0x381)]['getTypeOfUnitDisposed$'](_0x22bf6a['UniverInstanceType'][_0x10d25a(0x2f1)])[_0x10d25a(0x25e)](_0x170216[_0x10d25a(0x1f3)](_0x5135da=>_0x5135da['getUnitId']())),this[_0x10d25a(0x381)][_0x10d25a(0x12a)](_0x22bf6a['UniverInstanceType'][_0x10d25a(0x42d)])[_0x10d25a(0x25e)](_0x170216[_0x10d25a(0x1f3)](_0x36ec71=>_0x36ec71[_0x10d25a(0x453)]())))[_0x10d25a(0x2b1)](_0x4a18c7=>this[_0x10d25a(0x390)](_0x4a18c7))));}[_0x2343e6(0x396)](_0x1cea9d){var _0x3b31b4=_0x2343e6;return this[_0x3b31b4(0x2f7)][_0x3b31b4(0x130)](_0x1cea9d)?_0x1786f2['of'](this['_roomMembers'][_0x3b31b4(0x20e)](_0x1cea9d)):this[_0x3b31b4(0x3e3)][_0x3b31b4(0x25e)](_0x170216[_0x3b31b4(0x1f3)](_0x22b5bd=>{var _0x29b4e9=_0x3b31b4;if(_0x22b5bd===_0x1cea9d)return this[_0x29b4e9(0x2f7)]['get'](_0x22b5bd);}));}[_0x2343e6(0x42c)](_0x597995){var _0x5d156e=_0x2343e6;this[_0x5d156e(0x183)][_0x5d156e(0x42c)](_0x597995);}[_0x2343e6(0x261)](){var _0x1974bd=_0x2343e6;return this['_userManagerService'][_0x1974bd(0x261)]();}['updateMember'](_0x693bbe,_0x8ea543){var _0x5d01b8=_0x2343e6;let _0x29c7eb=this[_0x5d01b8(0x2f7)][_0x5d01b8(0x20e)](_0x693bbe);_0x29c7eb||(_0x29c7eb=new _0x1bcc47(),this[_0x5d01b8(0x2f7)][_0x5d01b8(0x2bd)](_0x693bbe,_0x29c7eb),this[_0x5d01b8(0x3e3)][_0x5d01b8(0x3b5)](_0x693bbe)),_0x29c7eb[_0x5d01b8(0x351)](_0x8ea543);}[_0x2343e6(0x422)](_0x4c520f,_0x45e40d){var _0x1761cb=_0x2343e6;const _0x4fb75c=this[_0x1761cb(0x2f7)][_0x1761cb(0x20e)](_0x4c520f);_0x4fb75c&&_0x4fb75c[_0x1761cb(0x422)](_0x45e40d);}[_0x2343e6(0x419)](_0x345589){var _0x18d322=_0x2343e6;return this['_roomMembers'][_0x18d322(0x20e)](_0x345589);}[_0x2343e6(0x37c)](_0x50a85d,_0x2a3337){var _0x8078e1=_0x2343e6;const _0x585c99=this[_0x8078e1(0x2f7)][_0x8078e1(0x20e)](_0x50a85d);if(_0x585c99)return _0x585c99[_0x8078e1(0x37c)](_0x2a3337);}['_removeRoom'](_0x381b4e){var _0x8366a4=_0x2343e6;const _0x3bc2c4=this['_roomMembers']['get'](_0x381b4e);_0x3bc2c4&&(_0x3bc2c4[_0x8366a4(0x336)](),this[_0x8366a4(0x2f7)][_0x8366a4(0x218)](_0x381b4e));}[_0x2343e6(0x336)](){var _0x43225d=_0x2343e6;this[_0x43225d(0x2f7)][_0x43225d(0x278)](_0x246d29=>_0x246d29[_0x43225d(0x336)]()),this['_roomMembers']['clear'](),this[_0x43225d(0x3e3)]['complete']();}},_0x9ad254['MemberService']=_0x247aee([_0x449dbd(0x0,_0x22bf6a[_0x2343e6(0x373)]),_0x449dbd(0x1,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x37a)]))],_0x9ad254[_0x2343e6(0x243)]);class _0x1bcc47 extends _0x22bf6a[_0x2343e6(0x3f3)]{constructor(){var _0x1df54f=_0x2343e6;super(...arguments),_0x12b414(this,_0x1df54f(0x333),new Map()),_0x12b414(this,'_members$',new _0x1786f2[(_0x1df54f(0x3d6))](this[_0x1df54f(0x333)])),_0x12b414(this,_0x1df54f(0x269),this[_0x1df54f(0x308)][_0x1df54f(0x17c)]());}[_0x2343e6(0x336)](){var _0x547850=_0x2343e6;this[_0x547850(0x333)][_0x547850(0x3bc)]();}[_0x2343e6(0x351)](_0x38f465){var _0x4b4022=_0x2343e6;this[_0x4b4022(0x333)][_0x4b4022(0x2bd)](_0x38f465[_0x4b4022(0x443)],_0x38f465),this['_emitMembers']();}['removeMember'](_0x35d724){var _0x1fb751=_0x2343e6;this[_0x1fb751(0x333)][_0x1fb751(0x218)](_0x35d724);}[_0x2343e6(0x37c)](_0x4f8266){var _0x531109=_0x2343e6;return this[_0x531109(0x333)][_0x531109(0x20e)](_0x4f8266);}['getAllMembers'](){var _0xf9aed3=_0x2343e6;return Array['from'](this['_members'][_0xf9aed3(0x41b)]());}[_0x2343e6(0xe0)](){var _0x450ddc=_0x2343e6;this[_0x450ddc(0x308)][_0x450ddc(0x3b5)](this['_members']);}}var _0x4f6a93=Object[_0x2343e6(0x39e)],_0xd0e009=(_0x2139d4,_0x7f37d8,_0xbce4d5,_0x55831d)=>{var _0x598f1a=_0x2343e6;for(var _0x2b1037=_0x55831d>0x1?void 0x0:_0x55831d?_0x4f6a93(_0x7f37d8,_0xbce4d5):_0x7f37d8,_0x558881=_0x2139d4[_0x598f1a(0xe7)]-0x1,_0x363344;_0x558881>=0x0;_0x558881--)(_0x363344=_0x2139d4[_0x558881])&&(_0x2b1037=_0x363344(_0x2b1037)||_0x2b1037);return _0x2b1037;},_0x552836=(_0x4d9a75,_0x335df3)=>(_0x5c4ae7,_0x3d7833)=>_0x335df3(_0x5c4ae7,_0x3d7833,_0x4d9a75),_0x2270b5=(_0x5899cd=>(_0x5899cd[_0x5899cd[_0x2343e6(0x24f)]=0x0]=_0x2343e6(0x24f),_0x5899cd[_0x5899cd[_0x2343e6(0xf8)]=0x1]=_0x2343e6(0xf8),_0x5899cd[_0x5899cd[_0x2343e6(0x358)]=0x2]=_0x2343e6(0x358),_0x5899cd[_0x5899cd[_0x2343e6(0xf3)]=0x3]='ONLINE',_0x5899cd))(_0x2270b5||{});const _0x31bf69={[_0x5b95b6[_0x2343e6(0x3ff)]]:_0x2343e6(0x2f4),[_0x5b95b6['JOIN_ROOM_FULL']]:'session.room-full',[_0x5b95b6[_0x2343e6(0x22c)]]:_0x2343e6(0x3dc),[_0x5b95b6[_0x2343e6(0x309)]]:_0x2343e6(0x10d),[_0x5b95b6[_0x2343e6(0x450)]]:'session.room-cnt-exceeds'};_0x9ad254[_0x2343e6(0x11e)]=class extends _0x22bf6a[_0x2343e6(0x3c0)]{constructor(_0x46a7fa,_0x895b97,_0x2e978f,_0x30c657,_0x42e42c,_0x2413ee,_0x1ec080,_0x5ba97d){var _0x4085e9=_0x2343e6;super(),_0x12b414(this,'_sessionStatus$',new _0x1786f2[(_0x4085e9(0x3d6))](0x0)),_0x12b414(this,_0x4085e9(0x22a),this[_0x4085e9(0x3b3)][_0x4085e9(0x17c)]()),_0x12b414(this,_0x4085e9(0x2e2),new _0x1786f2[(_0x4085e9(0x1f9))]()),_0x12b414(this,_0x4085e9(0x2d0),this[_0x4085e9(0x2e2)][_0x4085e9(0x17c)]()),_0x12b414(this,_0x4085e9(0x3ce)),_0x12b414(this,_0x4085e9(0x34e)),_0x12b414(this,'_collaborationTimeoutTimer'),_0x12b414(this,_0x4085e9(0x2a4),!0x1),_0x12b414(this,_0x4085e9(0x16e),null),(this[_0x4085e9(0x223)]=_0x46a7fa,this[_0x4085e9(0x116)]=_0x2e978f,this[_0x4085e9(0x1d4)]=_0x30c657,this[_0x4085e9(0x315)]=_0x42e42c,this[_0x4085e9(0x408)]=_0x2413ee,this[_0x4085e9(0x253)]=_0x1ec080,this[_0x4085e9(0x328)]=_0x5ba97d,this[_0x4085e9(0x2a4)]=!!this[_0x4085e9(0x328)],_0x895b97[_0x4085e9(0x25e)](_0x1786f2[_0x4085e9(0x424)](this['dispose$']))[_0x4085e9(0x2b1)](_0xe6f311=>{var _0x3cb8e8=_0x4085e9,_0x555f85;typeof _0xe6f311>'u'||(this[_0x3cb8e8(0x3ce)]=_0xe6f311,_0xe6f311?(this['_joinRoom'](_0xe6f311),this[_0x3cb8e8(0x34e)]=_0xe6f311[_0x3cb8e8(0x25c)]['subscribe'](_0x24ab47=>{var _0x51c24c=_0x3cb8e8;_0x24ab47['routeKey']===this[_0x51c24c(0x223)]&&this[_0x51c24c(0x3d2)](_0x24ab47);})):(this[_0x3cb8e8(0x21f)](),this[_0x3cb8e8(0x3b3)][_0x3cb8e8(0x3b5)](0x2),(_0x555f85=this[_0x3cb8e8(0x34e)])==null||_0x555f85[_0x3cb8e8(0x192)](),this[_0x3cb8e8(0x34e)]=null));}));}get['sessionStatus'](){var _0x1a079c=_0x2343e6;return this['_sessionStatus$'][_0x1a079c(0x3d9)]();}[_0x2343e6(0xff)](){var _0x4bce01=_0x2343e6,_0x26f603,_0x282bac;return(_0x282bac=(_0x26f603=this[_0x4bce01(0x3ce)])==null?void 0x0:_0x26f603[_0x4bce01(0x443)])!=null?_0x282bac:null;}[_0x2343e6(0x336)](){var _0x45e4f0=_0x2343e6;super['dispose'](),this[_0x45e4f0(0x1a4)][_0x45e4f0(0x3b5)](),this['dispose$']['complete']();}['close'](){var _0x119707=_0x2343e6,_0x8fd7b0,_0x24228e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x8fd7b0=this['_socket'])==null||_0x8fd7b0['send']({'cmd':_0x2b6d9f[_0x119707(0x21c)],'data':{'roomID':this[_0x119707(0x223)]}}),(_0x24228e=this[_0x119707(0x3ce)])==null||_0x24228e['close'](),this[_0x119707(0x2e2)][_0x119707(0x279)](),this[_0x119707(0x3b3)][_0x119707(0x279)](),this[_0x119707(0x336)]();}[_0x2343e6(0x3d2)](_0x51d157){var _0xe6b3c9=_0x2343e6;_0x51d157[_0xe6b3c9(0x165)]===_0x2b6d9f[_0xe6b3c9(0x286)]?this[_0xe6b3c9(0x2cd)](_0x51d157):_0x51d157[_0xe6b3c9(0x165)]===_0x2b6d9f[_0xe6b3c9(0x3c2)]&&this[_0xe6b3c9(0x421)](_0x51d157);}['_joinRoom'](_0x51be83){var _0x36b018=_0x2343e6;this[_0x36b018(0x3b3)][_0x36b018(0x3b5)](0x1),_0x51be83[_0x36b018(0x1a0)]({'cmd':_0x2b6d9f[_0x36b018(0x286)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2343e6(0x2cd)](_0x3a528a){var _0x34bafa=_0x2343e6,_0x24f702;if(_0x3a528a[_0x34bafa(0x43d)]in _0x31bf69){this[_0x34bafa(0x253)][_0x34bafa(0x2cf)]({'id':_0x563766[_0x34bafa(0x404)],'data':_0x31bf69[_0x3a528a[_0x34bafa(0x43d)]]}),this[_0x34bafa(0x3b3)][_0x34bafa(0x3b5)](0x2);return;}this[_0x34bafa(0x3b3)][_0x34bafa(0x3b5)](0x3);const _0xefc153=(_0x24f702=_0x3a528a['data'][_0x34bafa(0x3fa)][this[_0x34bafa(0x223)]])==null?void 0x0:_0x24f702['members'];_0xefc153&&_0xefc153[_0x34bafa(0x278)](_0x25e5b8=>this[_0x34bafa(0x315)][_0x34bafa(0x351)](this['_unitID'],_0x25e5b8));}[_0x2343e6(0x421)](_0x16678d){var _0x4a8866=_0x2343e6;try{const _0x3a8cfa=_0x16678d[_0x4a8866(0x34d)];switch(_0x3a8cfa[_0x4a8866(0x259)]){case _0x4f7392[_0x4a8866(0x2e4)][_0x4a8866(0x3e9)]:this[_0x4a8866(0x3c9)](_0x3a8cfa),this[_0x4a8866(0x2e2)][_0x4a8866(0x3b5)](_0x3a8cfa);break;case _0x4f7392[_0x4a8866(0x2e4)][_0x4a8866(0x145)]:this['_onUserLeave'](_0x3a8cfa),this['_event$']['next'](_0x3a8cfa);break;case _0x4f7392[_0x4a8866(0x2e4)][_0x4a8866(0x1d1)]:case _0x4f7392[_0x4a8866(0x2e4)]['CHANGESET_SHOULD_RETRY']:this[_0x4a8866(0x106)](),this[_0x4a8866(0x1b8)](),this[_0x4a8866(0x2e2)][_0x4a8866(0x3b5)](_0x3a8cfa);break;case _0x4f7392['CollaborationEvent'][_0x4a8866(0x2df)]:this[_0x4a8866(0x116)][_0x4a8866(0x153)](_0x4a8866(0x3d5)+JSON[_0x4a8866(0x338)](_0x3a8cfa)),this[_0x4a8866(0x2e2)][_0x4a8866(0x3b5)](_0x3a8cfa);break;case _0x4f7392[_0x4a8866(0x2e4)][_0x4a8866(0x314)]:this[_0x4a8866(0x408)][_0x4a8866(0x12e)](_0x3a8cfa[_0x4a8866(0x34d)]),this[_0x4a8866(0x2e2)][_0x4a8866(0x3b5)](_0x3a8cfa);break;default:this['_event$'][_0x4a8866(0x3b5)](_0x3a8cfa);}}catch(_0x5cb016){this[_0x4a8866(0x116)][_0x4a8866(0x153)](_0x5cb016,_0x16678d);}}[_0x2343e6(0x3c9)](_0x3fb584){var _0x37cf6f=_0x2343e6;this[_0x37cf6f(0x315)][_0x37cf6f(0x351)](this[_0x37cf6f(0x223)],_0x3fb584[_0x37cf6f(0x34d)]);}[_0x2343e6(0x361)](_0x2ccea0){var _0x9fa044=_0x2343e6;this['_memberService'][_0x9fa044(0x422)](this[_0x9fa044(0x223)],_0x2ccea0[_0x9fa044(0x34d)]['memberID']);}async[_0x2343e6(0x1a0)](_0x385f13,_0x5723c8){var _0x536749=_0x2343e6;if(this[_0x536749(0x193)]!==0x3||!this[_0x536749(0x3ce)])throw new Error(_0x536749(0x3c5));try{_0x385f13[_0x536749(0x259)]===_0x4f7392[_0x536749(0x2e4)][_0x536749(0x2a1)]&&(this[_0x536749(0x372)](),this[_0x536749(0x1a1)](_0x385f13)),this[_0x536749(0x3ce)][_0x536749(0x1a0)]({'cmd':_0x2b6d9f[_0x536749(0x1a8)],'routeKey':_0x5723c8,'routeType':'','data':_0x385f13});}catch(_0x473bb3){this[_0x536749(0x116)][_0x536749(0x153)](_0x473bb3);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3b8359=_0x2343e6,_0x3d5f6e;this[_0x3b8359(0x1a6)]=setTimeout(()=>{var _0x3934d3=_0x3b8359;this['_collaborationTimeoutTimer']=null,this[_0x3934d3(0x253)][_0x3934d3(0x2cf)]({'id':_0x563766[_0x3934d3(0x228)]});},(_0x3d5f6e=this['_configService'][_0x3b8359(0x2ee)](_0x2ab30c))!=null?_0x3d5f6e:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x133d9f=_0x2343e6;this[_0x133d9f(0x1a6)]&&(clearTimeout(this[_0x133d9f(0x1a6)]),this[_0x133d9f(0x1a6)]=null);}[_0x2343e6(0x1a1)](_0x3c9a3a){var _0x10f98b=_0x2343e6;if(!this['_shouldReportTelemetry'])return;const {data:_0x214cb9}=_0x3c9a3a,{unitID:_0x9e49de,changeset:_0x227d62}=_0x214cb9,{mutations:_0x578153,type:_0x93ce13}=_0x227d62;this[_0x10f98b(0x16e)]={'unitId':_0x9e49de,'type':_0x93ce13,'startTime':performance[_0x10f98b(0x3ac)](),'stopTime':0x0,'duration':0x0,'size':_0xeca255(_0x578153)};}[_0x2343e6(0x106)](){var _0x55118c=_0x2343e6;if(this[_0x55118c(0x2a4)]){if(!this['_telemetryInfo']){this['_logService'][_0x55118c(0x153)]('[CollaborationSession]',_0x55118c(0x41c));return;}this[_0x55118c(0x16e)][_0x55118c(0x3da)]=performance[_0x55118c(0x3ac)](),this[_0x55118c(0x16e)]['duration']=this[_0x55118c(0x16e)][_0x55118c(0x3da)]-this[_0x55118c(0x16e)][_0x55118c(0x427)],this[_0x55118c(0x328)][_0x55118c(0x2e3)](_0x59b164,this[_0x55118c(0x16e)]),this[_0x55118c(0x16e)]=null;}}[_0x2343e6(0x21f)](){this['_telemetryInfo']=null;}},_0x9ad254[_0x2343e6(0x11e)]=_0xd0e009([_0x552836(0x2,_0x22bf6a[_0x2343e6(0x406)]),_0x552836(0x3,_0x22bf6a[_0x2343e6(0x2e7)]),_0x552836(0x4,_0x22bf6a[_0x2343e6(0x274)](_0x9ad254['MemberService'])),_0x552836(0x5,_0x22bf6a[_0x2343e6(0x274)](_0x59755d)),_0x552836(0x6,_0x22bf6a[_0x2343e6(0x274)](_0x37f895)),_0x552836(0x7,_0x22bf6a[_0x2343e6(0x20b)](_0x257e39['ITelemetryService']))],_0x9ad254[_0x2343e6(0x11e)]);const _0x4394e7=_0x22bf6a[_0x2343e6(0x341)](_0x2343e6(0x1c2));function _0x4e400e(_0x2dc6ab){var _0x39b899=_0x2343e6;return _0x39b899(0xea)+_0x2dc6ab;}var _0x227906=Object[_0x2343e6(0x39e)],_0x1df61f=(_0x59e4ea,_0x5a01a2,_0x4d9550,_0x504603)=>{var _0x190ed7=_0x2343e6;for(var _0x1856e6=_0x504603>0x1?void 0x0:_0x504603?_0x227906(_0x5a01a2,_0x4d9550):_0x5a01a2,_0x5e9528=_0x59e4ea[_0x190ed7(0xe7)]-0x1,_0x243299;_0x5e9528>=0x0;_0x5e9528--)(_0x243299=_0x59e4ea[_0x5e9528])&&(_0x1856e6=_0x243299(_0x1856e6)||_0x1856e6);return _0x1856e6;},_0x5cf1ab=(_0x387c47,_0x4a636e)=>(_0x984bff,_0x5cd79c)=>_0x4a636e(_0x984bff,_0x5cd79c,_0x387c47);function _0x4c5051(_0x16cdce){var _0x5aa826=_0x2343e6;const {unitID:_0x35136f,mutations:_0xb52f66}=_0x16cdce;return{'unitId':_0x35136f,'subUnitId':_0xb52f66['length']>0x0?_0xb52f66[0x0][_0x5aa826(0x25b)][_0x5aa826(0x13d)]:null};}_0x9ad254['SheetTransformSelectionsService']=class{constructor(_0x4281ea,_0xff554c,_0x5b05f8){var _0x118b3a=_0x2343e6;this[_0x118b3a(0x2dd)]=_0x4281ea,this[_0x118b3a(0x2f2)]=_0xff554c,this[_0x118b3a(0x391)]=_0x5b05f8;}['transformSelections'](_0x2ba49b){var _0x4b4d86=_0x2343e6,_0x14da67,_0x1c2dd6,_0x170443,_0x552a20;const _0x2a089a=this['_injector'][_0x4b4d86(0x20e)](_0x165825[_0x4b4d86(0x1ce)]),{unitId:_0x1c45b5,subUnitId:_0xaee4ca}=_0x4c5051(_0x2ba49b),_0x2a012f=_0x2a089a==null?void 0x0:_0x2a089a[_0x4b4d86(0x305)](_0x1c45b5)[_0x4b4d86(0x189)](),_0x369c6e=(_0x1c2dd6=(_0x14da67=this[_0x4b4d86(0x391)][_0x4b4d86(0x451)](_0x1c45b5))==null?void 0x0:_0x14da67[_0x4b4d86(0x3c1)]())==null?void 0x0:_0x1c2dd6[_0x4b4d86(0x235)]();if(_0x2a012f[_0x4b4d86(0xe7)]===0x0||!_0x1c45b5||!_0xaee4ca)return;const _0x48058d=[{'id':_0x165825['SetSelectionsOperation']['id'],'params':{'unitId':_0x1c45b5,'subUnitId':_0x369c6e,'selections':_0x22bf6a['Tools'][_0x4b4d86(0x397)](_0x2a012f)}}],_0x15aa86=this[_0x4b4d86(0x2f2)][_0x4b4d86(0x36e)](_0x2ba49b,_0x48058d);if(!_0x4f7392[_0x4b4d86(0x103)](_0x15aa86))throw _0x15aa86[_0x4b4d86(0x153)];const _0x297e13=(_0x552a20=(_0x170443=_0x15aa86[_0x4b4d86(0x371)][0x0])==null?void 0x0:_0x170443['params'])==null?void 0x0:_0x552a20[_0x4b4d86(0x2b4)];if(Array[_0x4b4d86(0x44c)](_0x297e13)&&_0x297e13[_0x4b4d86(0xe7)]){if(_0x297e13['length']===_0x48058d[0x0]['params'][_0x4b4d86(0x2b4)][_0x4b4d86(0xe7)]&&_0x297e13[_0x4b4d86(0x446)]((_0x270cdd,_0x871590)=>_0x22bf6a[_0x4b4d86(0x27a)]['equals'](_0x270cdd[_0x4b4d86(0x442)],_0x48058d[0x0][_0x4b4d86(0x25b)][_0x4b4d86(0x2b4)][_0x871590][_0x4b4d86(0x442)])))return;this[_0x4b4d86(0x2dd)]['get'](_0x22bf6a['ICommandService'])[_0x4b4d86(0x3b1)](_0x165825['SetSelectionsOperation']['id'],{'unitId':_0x1c45b5,'subUnitId':_0x369c6e,'selections':_0x297e13});}}},_0x9ad254[_0x2343e6(0x182)]=_0x1df61f([_0x5cf1ab(0x0,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0x5cf1ab(0x1,_0x4f7392[_0x2343e6(0x347)]),_0x5cf1ab(0x2,_0x22bf6a[_0x2343e6(0x373)])],_0x9ad254[_0x2343e6(0x182)]);const _0x200cf8=_0x22bf6a[_0x2343e6(0x341)]('univer-pro.collaboration-client.single-active-unit-service');var _0x5395d1=(_0x1189a7=>(_0x1189a7[_0x1189a7['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2343e6(0x175),_0x1189a7[_0x1189a7[_0x2343e6(0x469)]=0x1]='OTHER_CLIENTS_EDITING',_0x1189a7))(_0x5395d1||{});const _0x18b23c=_0x2343e6(0x437),_0x3a98b0={},_0x20765d=new Set([_0x165825[_0x2343e6(0x43a)]['id']]);function _0x5e93f7(_0x361aca,_0x1ee642,_0x4e342d,_0xe259d1,_0x32662b){var _0x1b1814=_0x2343e6,_0x409cde,_0xb0b0c1,_0x16db95,_0x542172;const _0x1dffec=[];for(const _0x310917 of _0x361aca)if(_0x20765d[_0x1b1814(0x130)](_0x310917['id'])){if(_0x1dffec[_0x1b1814(0xe7)]>0x0)break;_0x1dffec[_0x1b1814(0x2d1)](_0x310917);break;}else _0x1dffec['push'](_0x310917);const _0x71cc96=(_0xb0b0c1=(_0x409cde=_0x32662b[_0x1b1814(0x261)]())==null?void 0x0:_0x409cde[_0x1b1814(0x1f2)])!=null?_0xb0b0c1:_0x1b1814(0x465),_0xeb9280=(_0x542172=(_0x16db95=_0x32662b[_0x1b1814(0x261)]())==null?void 0x0:_0x16db95['memberID'])!=null?_0x542172:_0x1b1814(0x465);return{'changeset':{'unitID':_0x1ee642,'type':_0x4f7392[_0x1b1814(0x3f2)](_0x4e342d[_0x1b1814(0x35e)](_0x1ee642)),'baseRev':_0xe259d1['getCurrentRevOfUnit'](_0x1ee642),'revision':0x0,'userID':_0x71cc96,'memberID':_0xeb9280,'mutations':_0x1dffec},'pendingMutations':_0x361aca['slice'](_0x1dffec[_0x1b1814(0xe7)])};}function _0x5d62a1(_0x423b19,_0x41de7b,_0x38f91e,_0x46ff19,_0x53691a){var _0x4dc556=_0x2343e6,_0x5626a6,_0x2017ba,_0x4c5bfe,_0x17234c;const _0x6c4d76=[_0x423b19[_0x4dc556(0x3ea)]((_0x369772,_0x4edea8)=>{var _0x85de9f=_0x4dc556,_0x368124;const {id:_0x262aaa}=_0x369772,{id:_0x4c4cfb,type:_0x82f2f1}=_0x4edea8,_0x58a633=(_0x368124=_0x369772['params'])!=null?_0x368124:{'actions':null},_0x15958b=_0x4edea8['params'];if(_0x262aaa&&_0x262aaa!==_0x4c4cfb)throw new Error(_0x85de9f(0x2c6)+_0x262aaa+_0x85de9f(0x283)+_0x4c4cfb+'.');return{..._0x369772,'id':_0x4c4cfb,'type':_0x82f2f1,'params':{'unitId':_0x15958b[_0x85de9f(0x187)],'textRanges':_0x15958b[_0x85de9f(0x25d)],'actions':_0x22bf6a[_0x85de9f(0x221)][_0x85de9f(0x180)](_0x58a633[_0x85de9f(0x342)],_0x15958b['actions'])}};},{})],_0xb6714f=(_0x2017ba=(_0x5626a6=_0x53691a[_0x4dc556(0x261)]())==null?void 0x0:_0x5626a6['userID'])!=null?_0x2017ba:_0x4dc556(0x465),_0x55561f=(_0x17234c=(_0x4c5bfe=_0x53691a[_0x4dc556(0x261)]())==null?void 0x0:_0x4c5bfe['memberID'])!=null?_0x17234c:_0x4dc556(0x465);return{'changeset':{'unitID':_0x41de7b,'type':_0x4f7392[_0x4dc556(0x3f2)](_0x38f91e[_0x4dc556(0x35e)](_0x41de7b)),'baseRev':_0x46ff19[_0x4dc556(0x411)](_0x41de7b),'revision':0x0,'userID':_0xb6714f,'memberID':_0x55561f,'mutations':_0x6c4d76},'pendingMutations':[]};}function _0xd56c10(_0x5c996a,_0x4b5967){var _0x44bcdc=_0x2343e6;const _0x1ed78c=new _0x1786f2[(_0x44bcdc(0x1d7))](0x1);return setTimeout(()=>_0x1ed78c['next'](_0x4b5967),_0x5c996a),_0x1ed78c['asObservable']()[_0x44bcdc(0x25e)](_0x1786f2[_0x44bcdc(0x152)](0x1));}var _0x23c0fe=Object[_0x2343e6(0x39e)],_0x456273=(_0x356c29,_0xcb1958,_0x14a7eb,_0x328329)=>{var _0x55bdd9=_0x2343e6;for(var _0x467902=_0x328329>0x1?void 0x0:_0x328329?_0x23c0fe(_0xcb1958,_0x14a7eb):_0xcb1958,_0x19c5b=_0x356c29[_0x55bdd9(0xe7)]-0x1,_0x1633ae;_0x19c5b>=0x0;_0x19c5b--)(_0x1633ae=_0x356c29[_0x19c5b])&&(_0x467902=_0x1633ae(_0x467902)||_0x467902);return _0x467902;},_0x1e3ee3=(_0x21eb43,_0x59d4d1)=>(_0x299007,_0x188544)=>_0x59d4d1(_0x299007,_0x188544,_0x21eb43),_0x614bb5=(_0x535d0e=>(_0x535d0e[_0x2343e6(0x27b)]='not_collab',_0x535d0e[_0x2343e6(0x154)]='synced',_0x535d0e[_0x2343e6(0x26b)]='pending',_0x535d0e['AWAITING']=_0x2343e6(0x402),_0x535d0e[_0x2343e6(0x3a0)]='awaiting_with_pending',_0x535d0e[_0x2343e6(0x168)]=_0x2343e6(0x172),_0x535d0e[_0x2343e6(0x470)]=_0x2343e6(0x33a),_0x535d0e['OFFLINE']=_0x2343e6(0x18b),_0x535d0e))(_0x614bb5||{});const _0x4b20fa=0xea60;class _0x149ac1{constructor(_0x321c14,_0x364d73,_0x2ff49d,_0x460029,_0x32885b,_0x33350a,_0x484036,_0x2b0230,_0x5cc104){var _0x1ebf6d=_0x2343e6;_0x12b414(this,_0x1ebf6d(0x17e),null),_0x12b414(this,_0x1ebf6d(0x42b),[]),(this[_0x1ebf6d(0xd9)]=_0x321c14,this[_0x1ebf6d(0x1c9)]=_0x364d73,this['_handler']=_0x32885b,this[_0x1ebf6d(0x1eb)]=_0x33350a,this['_undoRedoService']=_0x484036,this[_0x1ebf6d(0x19b)]=_0x2b0230,this[_0x1ebf6d(0x13c)]=_0x5cc104,this[_0x1ebf6d(0x17e)]=_0x2ff49d,this[_0x1ebf6d(0x42b)]=_0x460029);}[_0x2343e6(0x25a)](_0x3ec3eb){var _0x3f69d4=_0x2343e6;const _0x56ba47=this['_revisionService'][_0x3f69d4(0x411)](this['unitID']);return _0x3ec3eb[_0x3f69d4(0x159)]>_0x56ba47+0x1?(this[_0x3f69d4(0x120)][_0x3f69d4(0x46f)]({'from':_0x56ba47,'to':_0x3ec3eb[_0x3f69d4(0x159)]-0x1}),!0x0):!0x1;}[_0x2343e6(0x257)](_0x1565f2){var _0x5dd5e7=_0x2343e6;this[_0x5dd5e7(0x462)][_0x5dd5e7(0x185)](this[_0x5dd5e7(0xd9)],_0x1565f2);}[_0x2343e6(0x1cd)](_0x35e786){var _0x4829e5=_0x2343e6,_0x212e9b,_0x3377ac;(_0x3377ac=(_0x212e9b=this[_0x4829e5(0x120)])[_0x4829e5(0x2b2)])==null||_0x3377ac['call'](_0x212e9b,_0x35e786);}[_0x2343e6(0x26c)](_0x1bb5ae){var _0x3274f5=_0x2343e6,_0x15e9ed,_0x518cc7;return(_0x518cc7=(_0x15e9ed=this[_0x3274f5(0x120)])[_0x3274f5(0x21e)])==null?void 0x0:_0x518cc7[_0x3274f5(0x2c9)](_0x15e9ed,_0x1bb5ae);}[_0x2343e6(0x23b)](_0x4eea25){var _0x6aaddf=_0x2343e6,_0x1a5edd,_0x480f7a;return(_0x480f7a=(_0x1a5edd=this['_handler'])[_0x6aaddf(0x346)])==null?void 0x0:_0x480f7a[_0x6aaddf(0x2c9)](_0x1a5edd,_0x4eea25);}[_0x2343e6(0x331)](_0x261646){var _0x3d52f7=_0x2343e6,_0x1f7a23,_0x2ff46d,_0x188c04;return(_0x188c04=(_0x2ff46d=(_0x1f7a23=this[_0x3d52f7(0x120)])[_0x3d52f7(0x3a9)])==null?void 0x0:_0x2ff46d[_0x3d52f7(0x2c9)](_0x1f7a23,_0x261646))!=null?_0x188c04:_0x261646;}[_0x2343e6(0x131)](_0xf050e2){var _0x5c834d=_0x2343e6,_0x3822fd,_0x4353b2,_0xf3a7d6;return(_0xf3a7d6=(_0x4353b2=(_0x3822fd=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4353b2[_0x5c834d(0x2c9)](_0x3822fd,_0xf050e2))!=null?_0xf3a7d6:_0xf050e2;}['_syncEditingCollabCursor'](_0x5570bb){var _0xaac493=_0x2343e6,_0x37261b,_0x4b6c91;if(this['type']===_0x1c9922[_0xaac493(0x2f1)]){const {unitID:_0x3a4627,mutations:_0x278c3e,memberID:_0x4263a8}=_0x5570bb,_0x307c3c=_0x278c3e['length']>0x0?_0x278c3e[0x0]['params'][_0xaac493(0x25d)]:[];Array['isArray'](_0x307c3c)&&_0x307c3c[_0xaac493(0xe7)]>0x0&&((_0x4b6c91=(_0x37261b=this[_0xaac493(0x120)])[_0xaac493(0x34a)])==null||_0x4b6c91['call'](_0x37261b,{'unitID':_0x3a4627,'memberID':_0x4263a8,'textRanges':_0x307c3c}));}}['_updateLocalCache'](){var _0x11c3fb=_0x2343e6,_0x279390;(_0x279390=this['_localCacheService'])==null||_0x279390[_0x11c3fb(0x399)](this[_0x11c3fb(0xd9)],this['type'],this[_0x11c3fb(0x17e)],this[_0x11c3fb(0x42b)]);}[_0x2343e6(0x157)](){var _0x52e25d=_0x2343e6;return this[_0x52e25d(0x19b)]['getCurrentRevOfUnit'](this['unitID']);}[_0x2343e6(0x13b)](){var _0x359870=_0x2343e6;this['_revisionService'][_0x359870(0x260)](this[_0x359870(0xd9)]);}[_0x2343e6(0x35b)](_0x3975db){var _0x44b60f=_0x2343e6,_0x49f180;let _0x5df3b5=this[_0x44b60f(0x331)](_0x3975db);_0x5df3b5=this[_0x44b60f(0x131)](_0x5df3b5);const _0x5763a4=_0x22bf6a['sequenceExecute'](_0x5df3b5[_0x44b60f(0x3ae)],this[_0x44b60f(0x1eb)],{'fromCollab':!0x0});if(!_0x5763a4[_0x44b60f(0x2bc)])throw _0x5763a4['error']instanceof Error?_0x5763a4[_0x44b60f(0x153)]:new Error((_0x49f180=_0x5763a4['error'])!=null?_0x49f180:'[CollaborationState]:\x20apply\x20error!');this[_0x44b60f(0x26c)](_0x5df3b5),this[_0x44b60f(0x23b)](_0x5df3b5),this[_0x44b60f(0x257)](_0x3975db),this['_transformSelections'](_0x5df3b5),this[_0x44b60f(0x3a3)](_0x5df3b5),this[_0x44b60f(0x13b)]();}}_0x9ad254[_0x2343e6(0x24d)]=class extends _0x149ac1{constructor(_0x4769a4,_0x2cc6e7,_0x16eb28,_0x585b2b,_0x274c79,_0x28ca6c,_0x1b73ab,_0x5c0d15,_0x2f9750,_0x263cde){var _0x4a4f5b=_0x2343e6;super(_0x4769a4,_0x2cc6e7,null,[],_0x16eb28,_0x1b73ab,_0x28ca6c,_0x585b2b,_0x263cde),_0x12b414(this,'status',_0x4a4f5b(0x242)),(this['_injector']=_0x274c79,this['_logService']=_0x5c0d15,this['_transformService']=_0x2f9750,this[_0x4a4f5b(0x40f)]=_0x263cde);}[_0x2343e6(0x270)](_0x10330b){var _0x45f33d=_0x2343e6;const _0x160485=this[_0x45f33d(0x2dd)][_0x45f33d(0x403)](_0x9ad254[_0x45f33d(0x31d)],this[_0x45f33d(0xd9)],this['type'],[_0x10330b],this[_0x45f33d(0x120)]);return _0x160485[_0x45f33d(0x2af)](),_0x160485[_0x45f33d(0x232)](),_0x160485;}['onRemoteChangeset'](_0x36dda3){var _0x143e7e=_0x2343e6;if(this[_0x143e7e(0x25a)](_0x36dda3))return this['_injector']['createInstance'](_0x9ad254[_0x143e7e(0x1b9)],this[_0x143e7e(0xd9)],this[_0x143e7e(0x1c9)],null,[],null,[_0x36dda3],this['_handler']);try{const _0x4d18ce=this[_0x143e7e(0x2f2)][_0x143e7e(0x36e)](_0x36dda3,[_0x4f7392[_0x143e7e(0x1a5)]]);if(_0x4f7392[_0x143e7e(0x103)](_0x4d18ce)){const {c1Prime:_0x5a1e49}=_0x4d18ce;return this[_0x143e7e(0x35b)](_0x5a1e49),this;}throw _0x4d18ce[_0x143e7e(0x153)];}catch(_0x361b9c){return this['_logService']['error'](_0x361b9c),this['_onConflict'](!0x1);}}[_0x2343e6(0x2db)](_0x187a64){var _0x398022=_0x2343e6;return this[_0x398022(0x2dd)][_0x398022(0x403)](_0x9ad254[_0x398022(0x2b0)],this['unitID'],this[_0x398022(0x1c9)],null,[],this[_0x398022(0x120)],_0x187a64);}[_0x2343e6(0x127)](){var _0x25e55d=_0x2343e6;throw new Error(_0x25e55d(0x377));}[_0x2343e6(0x1cf)](){var _0x2e83b8=_0x2343e6;throw new Error(_0x2e83b8(0x224));}[_0x2343e6(0x237)](){return this;}[_0x2343e6(0x263)](){var _0x144d43=_0x2343e6;return this[_0x144d43(0x2dd)][_0x144d43(0x403)](_0x9ad254['OfflineState'],this['unitID'],this[_0x144d43(0x1c9)],null,[],this[_0x144d43(0x120)]);}[_0x2343e6(0x276)](){return this;}[_0x2343e6(0x1ad)](){var _0x12f85f=_0x2343e6;throw new Error(_0x12f85f(0x21a));}[_0x2343e6(0x1e4)](){var _0x4dc7b7=_0x2343e6;const _0x12d627=this['_revisionService'][_0x4dc7b7(0x411)](this[_0x4dc7b7(0xd9)]);return this['_handler']['onMissingChangesets']({'from':_0x12d627,'to':0x0}),this[_0x4dc7b7(0x2dd)][_0x4dc7b7(0x403)](_0x9ad254[_0x4dc7b7(0x1b9)],this[_0x4dc7b7(0xd9)],this[_0x4dc7b7(0x1c9)],null,[],null,[],this['_handler']);}},_0x9ad254[_0x2343e6(0x24d)]=_0x456273([_0x1e3ee3(0x3,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392[_0x2343e6(0x2fa)])),_0x1e3ee3(0x4,_0x22bf6a['Inject'](_0x22bf6a[_0x2343e6(0x3b9)])),_0x1e3ee3(0x5,_0x22bf6a[_0x2343e6(0x16d)]),_0x1e3ee3(0x6,_0x22bf6a[_0x2343e6(0x1fb)]),_0x1e3ee3(0x7,_0x22bf6a[_0x2343e6(0x406)]),_0x1e3ee3(0x8,_0x4f7392[_0x2343e6(0x347)]),_0x1e3ee3(0x9,_0x22bf6a[_0x2343e6(0x20b)](_0x4394e7))],_0x9ad254[_0x2343e6(0x24d)]),_0x9ad254[_0x2343e6(0x31d)]=class extends _0x149ac1{constructor(_0x43b828,_0x46e486,_0x4e6855,_0x2e9e2c,_0x1ace4d,_0x4fbaf5,_0x1eb270,_0x11e316,_0x16540e,_0x198399,_0x4fd3bf,_0x47356b,_0x17eef8,_0xce8217){var _0x322fda=_0x2343e6;super(_0x43b828,_0x46e486,null,_0x4e6855,_0x2e9e2c,_0x16540e,_0x17eef8,_0x4fbaf5,_0xce8217),_0x12b414(this,_0x322fda(0x19a),'pending'),_0x12b414(this,_0x322fda(0x3dd),null),_0x12b414(this,_0x322fda(0xdf),null),(this[_0x322fda(0x2dd)]=_0x1ace4d,this['_memberService']=_0x1eb270,this[_0x322fda(0x116)]=_0x11e316,this[_0x322fda(0x1d4)]=_0x198399,this['_transformService']=_0x4fd3bf,this[_0x322fda(0x381)]=_0x47356b);}[_0x2343e6(0x270)](_0xe83370){var _0x2f42f7=_0x2343e6;return this[_0x2f42f7(0x42b)][_0x2f42f7(0x2d1)](_0xe83370),this[_0x2f42f7(0x232)](),this;}[_0x2343e6(0x41e)](_0x3b23fb){var _0x27ebc9=_0x2343e6;if(this[_0x27ebc9(0x25a)](_0x3b23fb))return this[_0x27ebc9(0x254)](),this[_0x27ebc9(0x2dd)][_0x27ebc9(0x403)](_0x9ad254['FetchingMissState'],this[_0x27ebc9(0xd9)],this[_0x27ebc9(0x1c9)],null,this['_pendingMutations'],null,[_0x3b23fb],this[_0x27ebc9(0x120)]);try{const _0x563ddb=this[_0x27ebc9(0x2f2)]['transformMutationsWithChangeset'](_0x3b23fb,this[_0x27ebc9(0x42b)]);if(_0x4f7392[_0x27ebc9(0x103)](_0x563ddb)){const {c1Prime:_0x22cd70,m2Prime:_0x4ef991}=_0x563ddb;this[_0x27ebc9(0x35b)](_0x22cd70);const _0xdfbfe6=this[_0x27ebc9(0x2dd)]['createInstance'](_0x9ad254[_0x27ebc9(0x31d)],this[_0x27ebc9(0xd9)],this[_0x27ebc9(0x1c9)],_0x4ef991,this['_handler']);this[_0x27ebc9(0x254)]();const _0x52bca3=new Date()['getTime'](),_0x375755=this['_scheduleCompleteTimestamp']?Math[_0x27ebc9(0x12d)](this['_scheduleCompleteTimestamp']-_0x52bca3,0x0):this[_0x27ebc9(0x1db)]();return _0xdfbfe6[_0x27ebc9(0x2af)](_0x375755),_0xdfbfe6;}throw _0x563ddb['error'];}catch(_0x25211d){return this['_logService']['error'](_0x25211d),this[_0x27ebc9(0x2db)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2343e6(0x1cf)](){var _0x2211f0=_0x2343e6;throw new Error(_0x2211f0(0x118));}[_0x2343e6(0x237)](){return this;}[_0x2343e6(0x263)](){var _0x17906c=_0x2343e6;return this[_0x17906c(0x254)](),this[_0x17906c(0x2dd)]['createInstance'](_0x9ad254[_0x17906c(0x2b7)],this['unitID'],this[_0x17906c(0x1c9)],null,this[_0x17906c(0x42b)],this['_handler']);}[_0x2343e6(0x276)](){return this;}[_0x2343e6(0x2af)](_0x57ef70){var _0x5a69f4=_0x2343e6;const _0x4dfd23=_0x57ef70!=null?_0x57ef70:this[_0x5a69f4(0x1db)]();this['_scheduleCompleteTimestamp']=new Date()[_0x5a69f4(0x256)]()+_0x4dfd23,this[_0x5a69f4(0xdf)]=setTimeout(()=>{var _0x567557=_0x5a69f4;this['_clearScheduledTask']();let _0x91d90=null;switch(this[_0x567557(0x1c9)]){case _0x1c9922[_0x567557(0x376)]:{_0x91d90=_0x5e93f7(this[_0x567557(0x42b)],this['unitID'],this['_univerInstanceService'],this[_0x567557(0x19b)],this[_0x567557(0x315)]);break;}case _0x1c9922['UNIVER_DOC']:{this[_0x567557(0x42b)][_0x567557(0x446)](_0x1eacf9=>_0x1eacf9['id']===_0x431414[_0x567557(0x2ac)]['id'])?_0x91d90=_0x5d62a1(this[_0x567557(0x42b)],this['unitID'],this[_0x567557(0x381)],this[_0x567557(0x19b)],this[_0x567557(0x315)]):_0x91d90=_0x5e93f7(this[_0x567557(0x42b)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x567557(0x315)]);break;}default:throw new Error(_0x567557(0x45f)+this['type']+_0x567557(0x3fe));}const {changeset:_0x5785cd,pendingMutations:_0x4854b2}=_0x91d90;this[_0x567557(0x120)][_0x567557(0x2ec)](_0x5785cd);const _0x1395ba=_0x4854b2[_0x567557(0xe7)]?this[_0x567557(0x2dd)]['createInstance'](_0x9ad254[_0x567557(0x25f)],this[_0x567557(0xd9)],this[_0x567557(0x1c9)],_0x5785cd,_0x4854b2,this[_0x567557(0x120)],void 0x0):this[_0x567557(0x2dd)]['createInstance'](_0x9ad254[_0x567557(0x36a)],this['unitID'],this[_0x567557(0x1c9)],_0x5785cd,this[_0x567557(0x120)]);_0x1395ba[_0x567557(0x232)](),this[_0x567557(0x120)][_0x567557(0x385)](this,_0x1395ba);},_0x4dfd23);}[_0x2343e6(0x1db)](){var _0x3023de=_0x2343e6,_0x5c7a7d;const _0x56c313=this[_0x3023de(0x1d4)][_0x3023de(0x2ee)](_0x18b23c);return(_0x5c7a7d=_0x56c313==null?void 0x0:_0x56c313[_0x3023de(0x3b4)])!=null?_0x5c7a7d:0x7d0;}[_0x2343e6(0x1ad)](){var _0x21f681=_0x2343e6;throw new Error(_0x21f681(0x463));}[_0x2343e6(0x254)](){var _0x377dd7=_0x2343e6;this[_0x377dd7(0xdf)]!=null&&(clearTimeout(this[_0x377dd7(0xdf)]),this['_sendingTimer']=null);}[_0x2343e6(0x2db)](_0x33d3ab){var _0x1efb75=_0x2343e6;return this[_0x1efb75(0x254)](),this['_injector'][_0x1efb75(0x403)](_0x9ad254[_0x1efb75(0x2b0)],this[_0x1efb75(0xd9)],this['type'],null,this[_0x1efb75(0x42b)],this[_0x1efb75(0x120)],_0x33d3ab);}},_0x9ad254[_0x2343e6(0x31d)]=_0x456273([_0x1e3ee3(0x4,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0x1e3ee3(0x5,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392[_0x2343e6(0x2fa)])),_0x1e3ee3(0x6,_0x22bf6a[_0x2343e6(0x274)](_0x9ad254[_0x2343e6(0x243)])),_0x1e3ee3(0x7,_0x22bf6a['ILogService']),_0x1e3ee3(0x8,_0x22bf6a[_0x2343e6(0x1fb)]),_0x1e3ee3(0x9,_0x22bf6a['IConfigService']),_0x1e3ee3(0xa,_0x4f7392['ITransformService']),_0x1e3ee3(0xb,_0x22bf6a['IUniverInstanceService']),_0x1e3ee3(0xc,_0x22bf6a[_0x2343e6(0x16d)]),_0x1e3ee3(0xd,_0x22bf6a[_0x2343e6(0x20b)](_0x4394e7))],_0x9ad254[_0x2343e6(0x31d)]),_0x9ad254[_0x2343e6(0x36a)]=class extends _0x149ac1{constructor(_0x306335,_0x22807f,_0x3b9f0c,_0xa3070c,_0x4cf81d,_0x57bae4,_0x1295a,_0x3d0780,_0x1409b5,_0x3df8fd,_0x55fc30){var _0x18e71c=_0x2343e6;super(_0x306335,_0x22807f,_0x3b9f0c,[],_0xa3070c,_0x1295a,_0x3df8fd,_0x57bae4,_0x55fc30),_0x12b414(this,_0x18e71c(0x19a),_0x18e71c(0x402)),_0x12b414(this,_0x18e71c(0x264),0x0),_0x12b414(this,_0x18e71c(0x248)),_0x12b414(this,_0x18e71c(0x11a)),(this[_0x18e71c(0x2dd)]=_0x4cf81d,this['_logService']=_0x3d0780,this['_transformService']=_0x1409b5);}[_0x2343e6(0x270)](_0x51c4f0){var _0xb83bf6=_0x2343e6;this[_0xb83bf6(0x254)]();const _0x15d843=this[_0xb83bf6(0x2dd)][_0xb83bf6(0x403)](_0x9ad254['AwaitingWithPendingState'],this['unitID'],this[_0xb83bf6(0x1c9)],this[_0xb83bf6(0x17e)],[_0x51c4f0],this[_0xb83bf6(0x120)],this[_0xb83bf6(0x248)]);return _0x15d843['_updateLocalCache'](),_0x15d843;}[_0x2343e6(0x41e)](_0x490dbb){var _0x5eb324=_0x2343e6;if(this['_checkMissing'](_0x490dbb))return this[_0x5eb324(0x254)](),this[_0x5eb324(0x2dd)][_0x5eb324(0x403)](_0x9ad254[_0x5eb324(0x1b9)],this['unitID'],this[_0x5eb324(0x1c9)],this[_0x5eb324(0x17e)],[],null,[_0x490dbb],this['_handler']);try{const _0x272ba6=this[_0x5eb324(0x2f2)]['transformChangesets']([_0x490dbb],[this[_0x5eb324(0x17e)]],!0x1);if(_0x4f7392[_0x5eb324(0x1b7)](_0x272ba6)){const {c1Prime:_0x3641eb,c2Prime:_0x342797}=_0x272ba6;this[_0x5eb324(0x35b)](_0x3641eb[0x0]),_0x342797[0x0][_0x5eb324(0x430)]=this[_0x5eb324(0x157)](),this[_0x5eb324(0x254)]();const _0x14b85b=this[_0x5eb324(0x2dd)][_0x5eb324(0x403)](_0x9ad254[_0x5eb324(0x36a)],this['unitID'],this[_0x5eb324(0x1c9)],_0x342797[0x0],this[_0x5eb324(0x120)]);return _0x14b85b['_updateLocalCache'](),_0x14b85b;}return this[_0x5eb324(0x2db)](!0x1);}catch(_0x58fb66){return this[_0x5eb324(0x116)][_0x5eb324(0x153)](_0x58fb66),this[_0x5eb324(0x2db)](!0x1);}}[_0x2343e6(0x127)](_0x59dffc){var _0x3d1262=_0x2343e6;this[_0x3d1262(0x254)]();const _0x1de44a=this[_0x3d1262(0x19b)][_0x3d1262(0x411)](this[_0x3d1262(0xd9)]);if(_0x59dffc['revision']<_0x1de44a-0x1)return this;if(this[_0x3d1262(0x25a)](_0x59dffc))return this['_injector'][_0x3d1262(0x403)](_0x9ad254[_0x3d1262(0x1b9)],this[_0x3d1262(0xd9)],this[_0x3d1262(0x1c9)],null,[],this[_0x3d1262(0x17e)],[],this[_0x3d1262(0x120)]);this[_0x3d1262(0x13b)]();const _0x115f5a=this[_0x3d1262(0x2dd)][_0x3d1262(0x403)](_0x9ad254[_0x3d1262(0x24d)],this[_0x3d1262(0xd9)],this['type'],this['_handler']);return _0x115f5a[_0x3d1262(0x232)](),_0x115f5a;}[_0x2343e6(0x1cf)](_0x598f7f){var _0x25d1c6=_0x2343e6;return this[_0x25d1c6(0x2db)](!!(_0x598f7f!=null&&_0x598f7f[_0x25d1c6(0x364)]));}[_0x2343e6(0x237)](_0x251189){var _0x1318bc=_0x2343e6;return this['_resendTimeout']>_0x4b20fa?this[_0x1318bc(0x263)]():(this[_0x1318bc(0x248)]=_0xd56c10(this[_0x1318bc(0x264)],{'timeout':this[_0x1318bc(0x264)],'reqId':_0x251189[_0x1318bc(0x124)]}),this[_0x1318bc(0x11a)]=this[_0x1318bc(0x248)]['subscribe'](({reqId:_0x4fd6e8,timeout:_0x6baf57})=>{this['_resendWithTimeout'](_0x4fd6e8,_0x6baf57);}),this);}[_0x2343e6(0x263)](){var _0x3a08e9=_0x2343e6;return this[_0x3a08e9(0x254)](),this[_0x3a08e9(0x2dd)][_0x3a08e9(0x403)](_0x9ad254[_0x3a08e9(0x2b7)],this['unitID'],this[_0x3a08e9(0x1c9)],this[_0x3a08e9(0x17e)],[],this[_0x3a08e9(0x120)]);}[_0x2343e6(0x276)](){return this;}['resend'](){var _0x16624c=_0x2343e6;this[_0x16624c(0x120)]['onSendChangeset'](this[_0x16624c(0x17e)]);}[_0x2343e6(0x2db)](_0xeb2ae9){var _0x2ecade=_0x2343e6;return this[_0x2ecade(0x254)](),this[_0x2ecade(0x2dd)][_0x2ecade(0x403)](_0x9ad254[_0x2ecade(0x2b0)],this['unitID'],this[_0x2ecade(0x1c9)],this[_0x2ecade(0x17e)],[],this[_0x2ecade(0x120)],_0xeb2ae9);}[_0x2343e6(0x39d)](_0x252ea9,_0x5172df){var _0x4c8907=_0x2343e6,_0x58d74c;_0x252ea9===((_0x58d74c=this[_0x4c8907(0x17e)])==null?void 0x0:_0x58d74c['reqId'])&&(this[_0x4c8907(0x1ad)](),this['_resendTimeout']=_0x5172df===0x0?0x3e8:_0x5172df*0x2);}['_clearScheduledTask'](){var _0x3731d0=_0x2343e6,_0x48d494;(_0x48d494=this[_0x3731d0(0x11a)])==null||_0x48d494[_0x3731d0(0x192)](),this[_0x3731d0(0x264)]=0x0;}},_0x9ad254[_0x2343e6(0x36a)]=_0x456273([_0x1e3ee3(0x4,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0x1e3ee3(0x5,_0x22bf6a['Inject'](_0x4f7392[_0x2343e6(0x2fa)])),_0x1e3ee3(0x6,_0x22bf6a['ICommandService']),_0x1e3ee3(0x7,_0x22bf6a[_0x2343e6(0x406)]),_0x1e3ee3(0x8,_0x4f7392[_0x2343e6(0x347)]),_0x1e3ee3(0x9,_0x22bf6a[_0x2343e6(0x16d)]),_0x1e3ee3(0xa,_0x22bf6a[_0x2343e6(0x20b)](_0x4394e7))],_0x9ad254['AwaitingState']),_0x9ad254['AwaitingWithPendingState']=class extends _0x149ac1{constructor(_0x3212f8,_0x242637,_0x392521,_0x15b5fd,_0xa2b9ab,_0xfdda36,_0x4effc4,_0x236b58,_0x373bba,_0x4340fc,_0x7d47f3,_0x32dc18,_0x419208){var _0x42f603=_0x2343e6;super(_0x3212f8,_0x242637,_0x392521,_0x15b5fd,_0xa2b9ab,_0x373bba,_0x32dc18,_0x236b58,_0x419208),_0x12b414(this,_0x42f603(0x19a),'awaiting_with_pending'),_0x12b414(this,_0x42f603(0x264),0x0),_0x12b414(this,_0x42f603(0x248)),_0x12b414(this,_0x42f603(0x11a)),(this[_0x42f603(0x2dd)]=_0x4effc4,this['_logService']=_0x4340fc,this[_0x42f603(0x2f2)]=_0x7d47f3,this[_0x42f603(0x40f)]=_0x419208,_0xfdda36&&(this[_0x42f603(0x248)]=_0xfdda36,this[_0x42f603(0x11a)]=this[_0x42f603(0x248)][_0x42f603(0x2b1)](({reqId:_0x522f00,timeout:_0x13fb10})=>{var _0x5068fc=_0x42f603;this[_0x5068fc(0x39d)](_0x522f00,_0x13fb10);})));}[_0x2343e6(0x270)](_0x357f2f){var _0x1ff758=_0x2343e6;return this['_pendingMutations'][_0x1ff758(0x2d1)](_0x357f2f),this;}[_0x2343e6(0x41e)](_0x323966){var _0x45fd28=_0x2343e6;if(this[_0x45fd28(0x25a)](_0x323966))return this[_0x45fd28(0x254)](),this[_0x45fd28(0x2dd)][_0x45fd28(0x403)](_0x9ad254['FetchingMissState'],this[_0x45fd28(0xd9)],this[_0x45fd28(0x1c9)],this[_0x45fd28(0x17e)],this[_0x45fd28(0x42b)],null,[_0x323966],this[_0x45fd28(0x120)]);try{const _0x2f790a=this[_0x45fd28(0x2f2)]['transformChangesets']([_0x323966],[this['_awaitingChangeset']],!0x1);if(_0x4f7392[_0x45fd28(0x1b7)](_0x2f790a)){const {c1Prime:_0xb636c3,c2Prime:_0x22e1e0}=_0x2f790a,_0x2cfd86=this[_0x45fd28(0x2f2)][_0x45fd28(0x36e)](_0xb636c3[0x0],this[_0x45fd28(0x42b)]);if(_0x4f7392[_0x45fd28(0x103)](_0x2cfd86)){const {c1Prime:_0x28fb87,m2Prime:_0x1039d6}=_0x2cfd86;return this['_executeRemoteChangeset'](_0x28fb87),_0x22e1e0[0x0][_0x45fd28(0x430)]=this[_0x45fd28(0x157)](),this[_0x45fd28(0x254)](),this['_injector'][_0x45fd28(0x403)](_0x9ad254['AwaitingWithPendingState'],this[_0x45fd28(0xd9)],this[_0x45fd28(0x1c9)],_0x22e1e0[0x0],_0x1039d6,this['_handler'],void 0x0);}throw _0x2cfd86[_0x45fd28(0x153)];}throw _0x2f790a[_0x45fd28(0x153)];}catch(_0xfa0bfc){return this[_0x45fd28(0x116)]['error'](_0xfa0bfc),this[_0x45fd28(0x2db)](!0x1);}}[_0x2343e6(0x127)](_0x45966b){var _0x1e8cb5=_0x2343e6;if(this[_0x1e8cb5(0x254)](),this['_checkMissing'](_0x45966b))return this[_0x1e8cb5(0x2dd)]['createInstance'](_0x9ad254[_0x1e8cb5(0x1b9)],this[_0x1e8cb5(0xd9)],this[_0x1e8cb5(0x1c9)],null,this['_pendingMutations'],this[_0x1e8cb5(0x17e)],[],this[_0x1e8cb5(0x120)]);this[_0x1e8cb5(0x13b)]();const _0x470f19=this[_0x1e8cb5(0x2dd)][_0x1e8cb5(0x403)](_0x9ad254[_0x1e8cb5(0x31d)],this[_0x1e8cb5(0xd9)],this[_0x1e8cb5(0x1c9)],this['_pendingMutations'],this[_0x1e8cb5(0x120)]);return _0x470f19[_0x1e8cb5(0x2af)](),_0x470f19[_0x1e8cb5(0x232)](),_0x470f19;}[_0x2343e6(0x1cf)](_0x212675){var _0x84b96e=_0x2343e6;return this[_0x84b96e(0x2db)](!!(_0x212675!=null&&_0x212675[_0x84b96e(0x364)]));}['onRemoteRetry'](_0x1ada8f){var _0x26a3a1=_0x2343e6;return this[_0x26a3a1(0x264)]>_0x4b20fa?this[_0x26a3a1(0x263)]():(this['_resendTimer']=_0xd56c10(this[_0x26a3a1(0x264)],{'timeout':this['_resendTimeout'],'reqId':_0x1ada8f[_0x26a3a1(0x124)]}),this['_sender']=this[_0x26a3a1(0x248)][_0x26a3a1(0x2b1)](({reqId:_0x55a2ed,timeout:_0x221950})=>{var _0x35628f=_0x26a3a1;this[_0x35628f(0x39d)](_0x55a2ed,_0x221950);}),this);}['toggleOffline'](){var _0x376d64=_0x2343e6;return this[_0x376d64(0x254)](),this[_0x376d64(0x2dd)][_0x376d64(0x403)](_0x9ad254['OfflineState'],this[_0x376d64(0xd9)],this[_0x376d64(0x1c9)],this[_0x376d64(0x17e)],this['_pendingMutations'],this[_0x376d64(0x120)]);}[_0x2343e6(0x276)](){return this;}[_0x2343e6(0x1ad)](){var _0x58a975=_0x2343e6;this[_0x58a975(0x120)][_0x58a975(0x2ec)](this[_0x58a975(0x17e)]);}[_0x2343e6(0x2db)](_0x123f7f){var _0x54c319=_0x2343e6;return this[_0x54c319(0x254)](),this[_0x54c319(0x2dd)][_0x54c319(0x403)](_0x9ad254['ConflictState'],this[_0x54c319(0xd9)],this[_0x54c319(0x1c9)],null,this['_pendingMutations'],this[_0x54c319(0x120)],_0x123f7f);}[_0x2343e6(0x39d)](_0x4f413b,_0x825251){var _0x1cab7b=_0x2343e6,_0x1d8be9;_0x4f413b===((_0x1d8be9=this[_0x1cab7b(0x17e)])==null?void 0x0:_0x1d8be9[_0x1cab7b(0x124)])&&(this[_0x1cab7b(0x1ad)](),this[_0x1cab7b(0x264)]=_0x825251===0x0?0x3e8:_0x825251*0x2);}[_0x2343e6(0x254)](){var _0x214d81=_0x2343e6,_0x426e27;(_0x426e27=this[_0x214d81(0x11a)])==null||_0x426e27[_0x214d81(0x192)](),this[_0x214d81(0x264)]=0x0;}},_0x9ad254[_0x2343e6(0x25f)]=_0x456273([_0x1e3ee3(0x6,_0x22bf6a['Inject'](_0x22bf6a[_0x2343e6(0x3b9)])),_0x1e3ee3(0x7,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392[_0x2343e6(0x2fa)])),_0x1e3ee3(0x8,_0x22bf6a['ICommandService']),_0x1e3ee3(0x9,_0x22bf6a['ILogService']),_0x1e3ee3(0xa,_0x4f7392['ITransformService']),_0x1e3ee3(0xb,_0x22bf6a[_0x2343e6(0x16d)]),_0x1e3ee3(0xc,_0x22bf6a['Optional'](_0x4394e7))],_0x9ad254['AwaitingWithPendingState']),_0x9ad254[_0x2343e6(0x2b0)]=class extends _0x149ac1{constructor(_0x170b60,_0x2abd86,_0x23f6d0,_0xadf4b8,_0xa60948,_0x44bacd=!0x1,_0xdf457b,_0x45d946,_0x4825cb,_0x59e1ef,_0x30e6c2,_0x3db523,_0x21185c){var _0x55ddba=_0x2343e6;super(_0x170b60,_0x2abd86,_0x23f6d0,_0xadf4b8,_0xa60948,_0x45d946,_0x4825cb,_0x59e1ef,_0x21185c),_0x12b414(this,_0x55ddba(0x19a),_0x55ddba(0x33a)),(this[_0x55ddba(0x468)]=_0x44bacd,this[_0x55ddba(0x1ee)]=_0xdf457b,this[_0x55ddba(0x14c)]=_0x30e6c2,this[_0x55ddba(0x253)]=_0x3db523,this[_0x55ddba(0x40f)]=_0x21185c,this[_0x55ddba(0x417)](),this[_0x55ddba(0x3f1)](),this['_disableEditing']());}[_0x2343e6(0x270)](){return this;}[_0x2343e6(0x41e)](){return this;}['onRemoteAck'](){return this;}[_0x2343e6(0x1cf)](){return this;}[_0x2343e6(0x237)](){return this;}['toggleOffline'](){return this;}[_0x2343e6(0x276)](){return this;}['resend'](){var _0xccc0a3=_0x2343e6;throw new Error(_0xccc0a3(0x3bd));}[_0x2343e6(0x3f1)](){var _0x3d5c46=_0x2343e6,_0x4f1d2d;(_0x4f1d2d=this[_0x3d5c46(0x13c)])==null||_0x4f1d2d[_0x3d5c46(0x399)](this[_0x3d5c46(0xd9)],this[_0x3d5c46(0x1c9)],null,[]);}['_showConflictNotification'](){var _0x14faf9=_0x2343e6;this[_0x14faf9(0x468)]?this[_0x14faf9(0x253)][_0x14faf9(0x2cf)]({'id':_0x563766[_0x14faf9(0xe5)]}):this['_collaborationUIEventService']['emitEvent']({'id':_0x563766[_0x14faf9(0x470)]});}[_0x2343e6(0x3cc)](){var _0x49dee3=_0x2343e6;this[_0x49dee3(0x1ee)]['updatePermissionPoint'](new _0x165825['WorkbookEditablePermission'](this[_0x49dee3(0xd9)])['id'],!0x1);}},_0x9ad254[_0x2343e6(0x2b0)]=_0x456273([_0x1e3ee3(0x6,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x32c)])),_0x1e3ee3(0x7,_0x22bf6a[_0x2343e6(0x1fb)]),_0x1e3ee3(0x8,_0x22bf6a[_0x2343e6(0x16d)]),_0x1e3ee3(0x9,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392[_0x2343e6(0x2fa)])),_0x1e3ee3(0xa,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b6)])),_0x1e3ee3(0xb,_0x22bf6a['Inject'](_0x37f895)),_0x1e3ee3(0xc,_0x22bf6a[_0x2343e6(0x20b)](_0x4394e7))],_0x9ad254[_0x2343e6(0x2b0)]),_0x9ad254[_0x2343e6(0x2b7)]=class extends _0x149ac1{constructor(_0x43743e,_0x270676,_0x851509,_0x1be231,_0x20d7e5,_0x1d6228,_0x11368b,_0x244682,_0x496a97,_0x42622f){var _0x1e2acb=_0x2343e6;super(_0x43743e,_0x270676,_0x851509,_0x1be231,_0x20d7e5,_0x244682,_0x496a97,_0x11368b,_0x42622f),_0x12b414(this,'status',_0x1e2acb(0x18b)),this['_injector']=_0x1d6228;}[_0x2343e6(0x270)](_0x53d98e){var _0x516c06=_0x2343e6;return this[_0x516c06(0x42b)][_0x516c06(0x2d1)](_0x53d98e),this[_0x516c06(0x232)](),this;}[_0x2343e6(0x41e)](_0x491d4a){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x25677a=_0x2343e6;throw new Error(_0x25677a(0x383));}[_0x2343e6(0x1cf)](){var _0x44ccee=_0x2343e6;throw new Error(_0x44ccee(0x2ba));}[_0x2343e6(0x237)](){return this;}[_0x2343e6(0x263)](){return this;}['toggleOnline'](){var _0x276d13=_0x2343e6;const {_injector:_0x25d3cd,_pendingMutations:_0x1f981e,_awaitingChangeset:_0x4d8a97,unitID:_0x284bfc,_handler:_0x3fa5df,type:_0x5a587e}=this,_0xa0236=_0x54f364(_0x25d3cd,_0x284bfc,_0x5a587e,_0x4d8a97,_0x1f981e,_0x3fa5df);return _0xa0236 instanceof _0x9ad254[_0x276d13(0x31d)]?_0xa0236['_schedule']():(_0xa0236 instanceof _0x9ad254[_0x276d13(0x25f)]||_0xa0236 instanceof _0x9ad254[_0x276d13(0x36a)])&&_0xa0236[_0x276d13(0x1ad)](),_0xa0236;}[_0x2343e6(0x1ad)](){var _0x34eb37=_0x2343e6;throw new Error(_0x34eb37(0x271));}},_0x9ad254[_0x2343e6(0x2b7)]=_0x456273([_0x1e3ee3(0x5,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0x1e3ee3(0x6,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392[_0x2343e6(0x2fa)])),_0x1e3ee3(0x7,_0x22bf6a[_0x2343e6(0x1fb)]),_0x1e3ee3(0x8,_0x22bf6a[_0x2343e6(0x16d)]),_0x1e3ee3(0x9,_0x22bf6a[_0x2343e6(0x20b)](_0x4394e7))],_0x9ad254[_0x2343e6(0x2b7)]),_0x9ad254[_0x2343e6(0x1b9)]=class extends _0x149ac1{constructor(_0x532e73,_0x4231c8,_0x14da0c,_0x1b4a9d,_0x1e6b9a,_0x23bbdf,_0x514457,_0x4d48df,_0x387efb,_0x26a665,_0x53a5b3,_0x5e18f1,_0x14693d,_0x4fbca5){var _0x13b193=_0x2343e6;super(_0x532e73,_0x4231c8,_0x14da0c,_0x1b4a9d,_0x514457,_0x53a5b3,_0x5e18f1,_0x387efb,_0x4fbca5),_0x12b414(this,_0x13b193(0x19a),_0x13b193(0x172)),(this[_0x13b193(0x3bb)]=_0x1e6b9a,this[_0x13b193(0x13e)]=_0x23bbdf,this['_injector']=_0x4d48df,this[_0x13b193(0x116)]=_0x26a665,this[_0x13b193(0x2f2)]=_0x14693d,this[_0x13b193(0x40f)]=_0x4fbca5);}['onMissedChangesetFetched'](_0xc3dd56){var _0xb96080=_0x2343e6;try{const _0x4266b3=[..._0xc3dd56,...this[_0xb96080(0x13e)]],_0x7142d5=[this[_0xb96080(0x17e)]||this[_0xb96080(0x3bb)]]['filter'](_0x2baccb=>!!_0x2baccb);let _0x241bdd,_0x391d2d;if(_0x7142d5['length']){const _0x1a6bc0=this[_0xb96080(0x2f2)][_0xb96080(0x17f)](_0x4266b3,_0x7142d5,!0x1);if(!_0x4f7392['isTransformChangesetsSuccess'](_0x1a6bc0))throw _0x1a6bc0[_0xb96080(0x153)];_0x241bdd=_0x1a6bc0[_0xb96080(0x388)],_0x391d2d=_0x1a6bc0[_0xb96080(0x299)];}else _0x241bdd=_0x4266b3,_0x391d2d=[];let _0x1c61cd=this['_pendingMutations'];_0x241bdd[_0xb96080(0x278)](_0x1f5b05=>{var _0x472cfc=_0xb96080;let _0x29c02e;if(_0x1c61cd[_0x472cfc(0xe7)]){const _0x378281=this[_0x472cfc(0x2f2)][_0x472cfc(0x36e)](_0x1f5b05,_0x1c61cd);if(!_0x4f7392[_0x472cfc(0x103)](_0x378281))throw _0x378281['error'];_0x29c02e=_0x378281[_0x472cfc(0x388)],_0x1c61cd=_0x378281['m2Prime'];}else _0x29c02e=_0x1f5b05;this[_0x472cfc(0x35b)](_0x29c02e);}),this[_0xb96080(0x3bb)]&&this[_0xb96080(0x13b)](),this[_0xb96080(0x17e)]&&_0x391d2d['length']&&(_0x391d2d[0x0][_0xb96080(0x430)]=this[_0xb96080(0x157)]());let _0x53a5a0;if(this[_0xb96080(0x17e)]&&_0x1c61cd[_0xb96080(0xe7)]!==0x0)_0x53a5a0=this['_injector'][_0xb96080(0x403)](_0x9ad254[_0xb96080(0x25f)],this[_0xb96080(0xd9)],this[_0xb96080(0x1c9)],_0x391d2d[0x0],_0x1c61cd,this[_0xb96080(0x120)],void 0x0);else{if(this[_0xb96080(0x17e)]&&_0x1c61cd[_0xb96080(0xe7)]===0x0)_0x391d2d[0x0][_0xb96080(0x430)]=this['_getCurrentRevision'](),_0x53a5a0=this[_0xb96080(0x2dd)]['createInstance'](_0x9ad254[_0xb96080(0x36a)],this['unitID'],this[_0xb96080(0x1c9)],_0x391d2d[0x0],this[_0xb96080(0x120)]);else{if(_0x1c61cd[_0xb96080(0xe7)]!==0x0){const _0x24ebcd=this['_injector'][_0xb96080(0x403)](_0x9ad254[_0xb96080(0x31d)],this[_0xb96080(0xd9)],this[_0xb96080(0x1c9)],_0x1c61cd,this[_0xb96080(0x120)]);_0x24ebcd[_0xb96080(0x2af)](),_0x53a5a0=_0x24ebcd;}else _0x53a5a0=this[_0xb96080(0x2dd)][_0xb96080(0x403)](_0x9ad254['SyncedState'],this[_0xb96080(0xd9)],this['type'],this[_0xb96080(0x120)]);}}return _0x53a5a0[_0xb96080(0x232)](),_0x53a5a0;}catch(_0x215fa5){return this[_0xb96080(0x116)][_0xb96080(0x153)]('[FetchMissState]',_0xb96080(0x318),_0x215fa5),this[_0xb96080(0x2dd)][_0xb96080(0x403)](_0x9ad254[_0xb96080(0x2b0)],this['unitID'],this[_0xb96080(0x1c9)],this['_awaitingChangeset'],this[_0xb96080(0x42b)],this[_0xb96080(0x120)],!0x1);}}['resend'](){var _0x492af1=_0x2343e6;throw new Error(_0x492af1(0x3b7));}[_0x2343e6(0x270)](_0x186ef8){var _0x1b71ba=_0x2343e6;return this[_0x1b71ba(0x42b)][_0x1b71ba(0x2d1)](_0x186ef8),this;}['onRemoteChangeset'](_0xf171c8){var _0x220061=_0x2343e6;return this[_0x220061(0x13e)][_0x220061(0x2d1)](_0xf171c8),this;}[_0x2343e6(0x127)](_0x5ceb19){var _0xbd5b16=_0x2343e6;if(this[_0xbd5b16(0x17e)])return this[_0xbd5b16(0x3bb)]=this[_0xbd5b16(0x17e)],this[_0xbd5b16(0x17e)]=null,this;throw new Error(_0xbd5b16(0x3d1));}[_0x2343e6(0x1cf)](_0x49ecf3){var _0x110bc2=_0x2343e6;return this[_0x110bc2(0x2db)](!!(_0x49ecf3!=null&&_0x49ecf3['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2343e6(0x263)](){var _0x1930d1=_0x2343e6;return this['_injector'][_0x1930d1(0x403)](_0x9ad254[_0x1930d1(0x2b7)],this['unitID'],this[_0x1930d1(0x1c9)],this['_awaitingChangeset'],this[_0x1930d1(0x42b)],this['_handler']);}['toggleOnline'](){return this;}[_0x2343e6(0x2db)](_0x18f89f){var _0x118509=_0x2343e6;return this[_0x118509(0x2dd)][_0x118509(0x403)](_0x9ad254[_0x118509(0x2b0)],this[_0x118509(0xd9)],this[_0x118509(0x1c9)],this[_0x118509(0x17e)],this['_pendingMutations'],this['_handler'],_0x18f89f);}},_0x9ad254[_0x2343e6(0x1b9)]=_0x456273([_0x1e3ee3(0x7,_0x22bf6a['Inject'](_0x22bf6a['Injector'])),_0x1e3ee3(0x8,_0x22bf6a['Inject'](_0x4f7392['RevisionService'])),_0x1e3ee3(0x9,_0x22bf6a['ILogService']),_0x1e3ee3(0xa,_0x22bf6a[_0x2343e6(0x1fb)]),_0x1e3ee3(0xb,_0x22bf6a[_0x2343e6(0x16d)]),_0x1e3ee3(0xc,_0x4f7392['ITransformService']),_0x1e3ee3(0xd,_0x22bf6a[_0x2343e6(0x20b)](_0x4394e7))],_0x9ad254['FetchingMissState']);function _0x54f364(_0x5a7972,_0xb7242c,_0x552d89,_0x29d9c7,_0x480f00,_0x5e2a98){var _0x254b8c=_0x2343e6;return _0x29d9c7&&_0x480f00['length']?_0x5a7972['createInstance'](_0x9ad254[_0x254b8c(0x25f)],_0xb7242c,_0x552d89,_0x29d9c7,_0x480f00,_0x5e2a98,void 0x0):_0x29d9c7?_0x5a7972[_0x254b8c(0x403)](_0x9ad254['AwaitingState'],_0xb7242c,_0x552d89,_0x29d9c7,_0x5e2a98):_0x480f00['length']?_0x5a7972['createInstance'](_0x9ad254[_0x254b8c(0x31d)],_0xb7242c,_0x552d89,_0x480f00,_0x5e2a98):_0x5a7972['createInstance'](_0x9ad254['SyncedState'],_0xb7242c,_0x552d89,_0x5e2a98);}var _0x238aef=Object[_0x2343e6(0x39e)],_0x404685=(_0x27e208,_0x2ceecf,_0x1a663c,_0x1621ef)=>{for(var _0x18ae9f=_0x1621ef>0x1?void 0x0:_0x1621ef?_0x238aef(_0x2ceecf,_0x1a663c):_0x2ceecf,_0x47df87=_0x27e208['length']-0x1,_0x57919c;_0x47df87>=0x0;_0x47df87--)(_0x57919c=_0x27e208[_0x47df87])&&(_0x18ae9f=_0x57919c(_0x18ae9f)||_0x18ae9f);return _0x18ae9f;},_0x1595ab=(_0xee0101,_0x1a45df)=>(_0x4c72a8,_0x37e645)=>_0x1a45df(_0x4c72a8,_0x37e645,_0xee0101);_0x9ad254[_0x2343e6(0x2ad)]=class extends _0x22bf6a['RxDisposable']{constructor(_0x142a9,_0x597af0,_0x47cd5d,_0x352f43,_0x33e01e,_0xf3183c,_0x9516b7,_0x181e29,_0x3fa122,_0x3e6e3c,_0x9a6683,_0x3c45a2,_0x292aea,_0x93a848){var _0x5a53f1=_0x2343e6;super(),_0x12b414(this,_0x5a53f1(0x132),new _0x1786f2['BehaviorSubject'](null)),_0x12b414(this,_0x5a53f1(0x2d3),this[_0x5a53f1(0x132)]['asObservable']()),_0x12b414(this,_0x5a53f1(0x14a)),_0x12b414(this,_0x5a53f1(0x281),!0x1),_0x12b414(this,_0x5a53f1(0x1cb),''),_0x12b414(this,_0x5a53f1(0x332),0x0),_0x12b414(this,_0x5a53f1(0x39b),this[_0x5a53f1(0x2d3)][_0x5a53f1(0x25e)](_0x1786f2[_0x5a53f1(0x1f3)](_0x30b5e7=>_0x30b5e7?_0x30b5e7[_0x5a53f1(0x19a)]:_0x614bb5[_0x5a53f1(0x358)]),_0x1786f2[_0x5a53f1(0x458)](0x1))),_0x12b414(this,_0x5a53f1(0x303),!0x1),_0x12b414(this,'_remoteChangesetQueue',[]),(this[_0x5a53f1(0xd9)]=_0x142a9,this[_0x5a53f1(0x30d)]=_0x597af0,this[_0x5a53f1(0x33d)]=_0x47cd5d,this[_0x5a53f1(0x2dd)]=_0x352f43,this[_0x5a53f1(0x3b8)]=_0x33e01e,this[_0x5a53f1(0x14c)]=_0xf3183c,this['_revisionService']=_0x9516b7,this[_0x5a53f1(0x2e8)]=_0x181e29,this[_0x5a53f1(0x381)]=_0x3fa122,this[_0x5a53f1(0x116)]=_0x3e6e3c,this[_0x5a53f1(0x1eb)]=_0x9a6683,this[_0x5a53f1(0x1ee)]=_0x3c45a2,this[_0x5a53f1(0x15b)]=_0x292aea,this[_0x5a53f1(0x13c)]=_0x93a848);}get[_0x2343e6(0xfa)](){var _0x2d9e9b=_0x2343e6;return this[_0x2d9e9b(0x14a)];}async[_0x2343e6(0x203)](){var _0x513d32=_0x2343e6;if(this['state'])throw new Error(_0x513d32(0x3cb));await this['_init']();}[_0x2343e6(0x24e)](){var _0x433bde=_0x2343e6;return this['_collaborationPaused']=!0x0,_0x22bf6a[_0x433bde(0x123)](()=>{var _0x581aab=_0x433bde;this[_0x581aab(0x281)]=!0x1,this[_0x581aab(0x3f0)]();});}['onLocalMutation'](_0x5778ec){var _0x36fb5c=_0x2343e6;this[_0x36fb5c(0x170)](_0x5778ec);}[_0x2343e6(0x11d)](_0x29b8a1){var _0x4b7c9e=_0x2343e6;this[_0x4b7c9e(0x14a)]=_0x29b8a1,this[_0x4b7c9e(0x132)][_0x4b7c9e(0x3b5)](_0x29b8a1);}async[_0x2343e6(0x1c1)](){var _0x49899f=_0x2343e6,_0x3ac255;this[_0x49899f(0x11d)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x3ac255=this[_0x49899f(0x15b)])==null||_0x3ac255[_0x49899f(0x38b)](this[_0x49899f(0xd9)]),this[_0x49899f(0x2a9)](this[_0x49899f(0x15b)][_0x49899f(0x164)](this[_0x49899f(0xd9)])['subscribe'](_0x52f86f=>{var _0x3b6fdc=_0x49899f;this[_0x3b6fdc(0x116)][_0x3b6fdc(0x17d)](_0x3b6fdc(0x368),_0x3b6fdc(0x247),_0x52f86f),_0x52f86f===_0x5395d1[_0x3b6fdc(0x469)]?(this['_eventService'][_0x3b6fdc(0x2cf)]({'id':_0x563766[_0x3b6fdc(0x2b9)]}),this['_permissionService'][_0x3b6fdc(0x155)](new _0x165825[(_0x3b6fdc(0x14b))](this[_0x3b6fdc(0xd9)])['id'],!0x1),this[_0x3b6fdc(0x1ee)][_0x3b6fdc(0x412)](!0x1)):(this[_0x3b6fdc(0x1ee)][_0x3b6fdc(0x155)](new _0x165825[(_0x3b6fdc(0x14b))](this[_0x3b6fdc(0xd9)])['id'],!0x0),this[_0x3b6fdc(0x1ee)]['setShowComponents'](!0x0));})));let _0x1965d1=!0x1;return this[_0x49899f(0x2a9)](this[_0x49899f(0x30d)][_0x49899f(0x22a)][_0x49899f(0x2b1)](_0x4b9899=>{var _0x5e0ea6=_0x49899f;_0x4b9899===_0x2270b5[_0x5e0ea6(0xf3)]?this['_toggleOnline'](_0x1965d1):_0x4b9899===_0x2270b5[_0x5e0ea6(0x358)]&&(_0x1965d1=!0x0,this['_toggleOffline']());})),this[_0x49899f(0x2a9)](this[_0x49899f(0x30d)][_0x49899f(0x2d0)][_0x49899f(0x2b1)](_0x9aae69=>{var _0x1e0683=_0x49899f;try{switch(_0x9aae69[_0x1e0683(0x259)]){case _0x4f7392[_0x1e0683(0x2e4)]['NEW_CHANGESETS']:{this[_0x1e0683(0x416)](_0x4f7392['parseProtocolChangeset'](_0x9aae69[_0x1e0683(0x34d)]));break;}case _0x4f7392['CollaborationEvent'][_0x1e0683(0x1d1)]:{this['_onRemoteACK'](_0x9aae69[_0x1e0683(0x34d)]);break;}case _0x4f7392[_0x1e0683(0x2e4)][_0x1e0683(0x362)]:{this[_0x1e0683(0x184)]();break;}case _0x4f7392[_0x1e0683(0x2e4)][_0x1e0683(0x38e)]:{this[_0x1e0683(0x2a6)](_0x9aae69[_0x1e0683(0x34d)]);break;}case _0x4f7392[_0x1e0683(0x2e4)][_0x1e0683(0x382)]:{this[_0x1e0683(0x1c7)](_0x9aae69[_0x1e0683(0x34d)][_0x1e0683(0x429)][_0x1e0683(0x1f3)](_0x363d03=>_0x4f7392[_0x1e0683(0x452)](_0x363d03)));break;}case _0x4f7392['CollaborationEvent'][_0x1e0683(0x1ed)]:{this[_0x1e0683(0x184)]({'isPermissionRej':!0x0});break;}case _0x4f7392[_0x1e0683(0x2e4)]['UNISCRIPT_RUN']:break;}}catch(_0x13bfe0){throw console['error'](_0x1e0683(0x220),_0x13bfe0),_0x13bfe0;}})),this['_state'];}[_0x2343e6(0x44b)](){this['_transitionLocked']=!0x1;}[_0x2343e6(0x1d6)](){var _0x15ded1=_0x2343e6;if(this['_transitionLocked'])throw new Error(_0x15ded1(0x2dc));this[_0x15ded1(0x303)]=!0x0;}[_0x2343e6(0x170)](_0x4821b7){var _0x2e6ec9=_0x2343e6;this[_0x2e6ec9(0x1d6)](),this[_0x2e6ec9(0x11d)](this[_0x2e6ec9(0x14a)][_0x2e6ec9(0x270)](_0x4821b7)),this[_0x2e6ec9(0x44b)]();}[_0x2343e6(0x416)](_0x528ec0){var _0x3e8443=_0x2343e6;if(!(_0x528ec0[_0x3e8443(0x159)]<=this[_0x3e8443(0x19b)][_0x3e8443(0x411)](this[_0x3e8443(0xd9)]))){if(this[_0x3e8443(0x281)]){this['_remoteChangesetQueue'][_0x3e8443(0x2d1)](_0x528ec0);return;}this['_applyRemoteChangeset'](_0x528ec0);}}[_0x2343e6(0x3f0)](){var _0x1fcb67=_0x2343e6;this[_0x1fcb67(0x28e)][_0x1fcb67(0x278)](_0x42985e=>this['_applyRemoteChangeset'](_0x42985e)),this[_0x1fcb67(0x28e)]=[];}['_applyRemoteChangeset'](_0x34be30){var _0x23cc66=_0x2343e6;const _0x47096b=this['_compressMutationService'][_0x23cc66(0x322)][_0x23cc66(0x190)](this[_0x23cc66(0x3b8)][_0x23cc66(0x322)]['getInterceptPoints']()[_0x23cc66(0x196)])(_0x34be30[_0x23cc66(0x3ae)],null)||_0x34be30[_0x23cc66(0x3ae)],_0x45ff61={..._0x34be30,'mutations':_0x47096b};this[_0x23cc66(0x1d6)](),this[_0x23cc66(0x11d)](this[_0x23cc66(0x14a)][_0x23cc66(0x41e)](_0x45ff61)),this[_0x23cc66(0x44b)]();}['_onRemoteACK'](_0x51d96f){var _0x2c8b22=_0x2343e6;this[_0x2c8b22(0x1d6)](),this[_0x2c8b22(0x11d)](this[_0x2c8b22(0x14a)][_0x2c8b22(0x127)](_0x51d96f)),this[_0x2c8b22(0x44b)]();}[_0x2343e6(0x184)](_0x371b18){var _0x4d113a=_0x2343e6;this[_0x4d113a(0x1d6)](),this[_0x4d113a(0x11d)](this[_0x4d113a(0x14a)]['onRemoteRej'](_0x371b18)),this[_0x4d113a(0x44b)]();}['_onRemoteRetry'](_0x1260c0){var _0x373819=_0x2343e6;this[_0x373819(0x1d6)](),this[_0x373819(0x11d)](this[_0x373819(0x14a)][_0x373819(0x237)](_0x1260c0)),this[_0x373819(0x44b)]();}[_0x2343e6(0x1c7)](_0x11c830){var _0x4e74cc=_0x2343e6;if(!(this[_0x4e74cc(0x14a)]instanceof _0x9ad254['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x35ee88=_0x11c830[_0x4e74cc(0x1f3)](_0x2193aa=>{var _0x4d9422=_0x4e74cc;const _0x370989=this[_0x4d9422(0x3b8)][_0x4d9422(0x322)][_0x4d9422(0x190)](this[_0x4d9422(0x3b8)][_0x4d9422(0x322)][_0x4d9422(0x3a5)]()[_0x4d9422(0x196)])(_0x2193aa['mutations'],null)||_0x2193aa[_0x4d9422(0x3ae)];return{..._0x2193aa,'mutations':_0x370989};});this[_0x4e74cc(0x1d6)](),this[_0x4e74cc(0x11d)](this['_state'][_0x4e74cc(0x378)](_0x35ee88)),this[_0x4e74cc(0x44b)]();}['_toggleOffline'](){var _0x3721c2=_0x2343e6;this[_0x3721c2(0x1d6)](),this[_0x3721c2(0x11d)](this['_state'][_0x3721c2(0x263)]()),this['_unlockTransition']();}[_0x2343e6(0x2ef)](_0x36725d=!0x1){var _0x4a2e27=_0x2343e6;this[_0x4a2e27(0x1d6)](),this[_0x4a2e27(0x11d)](this[_0x4a2e27(0x14a)][_0x4a2e27(0x276)]()),this[_0x4a2e27(0x44b)]();const _0xa66577=this[_0x4a2e27(0x14a)];_0x36725d&&_0xa66577 instanceof _0x9ad254[_0x4a2e27(0x24d)]&&(this[_0x4a2e27(0x1d6)](),this[_0x4a2e27(0x11d)](_0xa66577[_0x4a2e27(0x1e4)]()),this[_0x4a2e27(0x44b)]());}async[_0x2343e6(0x3e4)](){return new Promise(_0x20b4db=>{var _0x259c56=_0x2774;this['session'][_0x259c56(0x22a)][_0x259c56(0x25e)](_0x1786f2[_0x259c56(0x152)](0x1))[_0x259c56(0x2b1)](async _0x260dfb=>{var _0x19715b=_0x259c56;_0x20b4db(await this[_0x19715b(0x3e8)](_0x260dfb===_0x2270b5['ONLINE']));});});}[_0x2343e6(0x179)](){var _0x4abe0e=_0x2343e6;const _0x349efb=this[_0x4abe0e(0xd9)];return{'onStateChange':(_0x2b350e,_0x52116f)=>{var _0x36a3a8=_0x4abe0e;if(_0x2b350e!==this[_0x36a3a8(0x14a)])throw new Error(_0x36a3a8(0x1ab)+_0x2b350e['status']+_0x36a3a8(0x365)+_0x52116f[_0x36a3a8(0x19a)]+_0x36a3a8(0x231)+this[_0x36a3a8(0x14a)][_0x36a3a8(0x19a)]);this[_0x36a3a8(0x11d)](_0x52116f);},'onSendChangeset':_0x53b059=>{var _0x47a424=_0x4abe0e;_0x53b059[_0x47a424(0x205)]||(_0x53b059['sid']=this['_changesetSessionId'],_0x53b059[_0x47a424(0x124)]=++this[_0x47a424(0x332)]);const _0x350ae8={'eventID':_0x4f7392[_0x47a424(0x2e4)][_0x47a424(0x2a1)],'data':{'unitID':_0x53b059[_0x47a424(0xd9)],'unitType':this[_0x47a424(0x33d)],'changeset':_0x53b059,'memberID':this['session'][_0x47a424(0xff)]()}};this['session'][_0x47a424(0x1a0)](_0x350ae8,this[_0x47a424(0xd9)]);},'onMissingChangesets':({from:_0x442f8a,to:_0x471178})=>{var _0x23829a=_0x4abe0e;this[_0x23829a(0x116)][_0x23829a(0x17d)](_0x23829a(0x368),_0x23829a(0x298)+_0x442f8a+_0x23829a(0x1a9)+_0x471178);const _0x2136b2={'eventID':_0x4f7392[_0x23829a(0x2e4)][_0x23829a(0x15a)],'data':{'unitID':_0x349efb,'unitType':this[_0x23829a(0x33d)],'from':_0x442f8a,'to':_0x471178}};this[_0x23829a(0x30d)][_0x23829a(0x1a0)](_0x2136b2,this['unitID']);}};}async[_0x2343e6(0x3e8)](_0x54f880){var _0x3eb2cc=_0x2343e6,_0x13295c,_0x1753a1,_0xb98ef2;const _0xc28e01=await((_0x13295c=this[_0x3eb2cc(0x13c)])==null?void 0x0:_0x13295c[_0x3eb2cc(0x3c8)](this[_0x3eb2cc(0xd9)])),_0x17762e=(_0x1753a1=_0xc28e01==null?void 0x0:_0xc28e01['mutations'])!=null?_0x1753a1:[],_0x3b743d=(_0xb98ef2=_0xc28e01==null?void 0x0:_0xc28e01[_0x3eb2cc(0x194)])!=null?_0xb98ef2:null,_0x1de756=!!(_0x3b743d!=null&&_0x3b743d['sid'])&&!!(_0x3b743d!=null&&_0x3b743d[_0x3eb2cc(0x124)]);this[_0x3eb2cc(0x1cb)]=_0x1de756?_0x3b743d[_0x3eb2cc(0x205)]:_0x4f7392[_0x3eb2cc(0x2d2)](),this[_0x3eb2cc(0x332)]=_0x1de756?_0x3b743d[_0x3eb2cc(0x124)]:0x0;const _0x2c8ae6=this['unitID'];try{this[_0x3eb2cc(0x24c)](_0x3b743d,_0x17762e);}catch(_0x34258b){this[_0x3eb2cc(0x116)][_0x3eb2cc(0x153)](_0x34258b);}const _0x2382a9=this[_0x3eb2cc(0x179)]();if(_0x54f880){const _0x4aa225=_0x54f364(this['_injector'],_0x2c8ae6,this[_0x3eb2cc(0x33d)],_0x3b743d,_0x17762e,_0x2382a9);return _0x4aa225 instanceof _0x9ad254[_0x3eb2cc(0x31d)]?_0x4aa225[_0x3eb2cc(0x2af)]():(_0x4aa225 instanceof _0x9ad254[_0x3eb2cc(0x25f)]||_0x4aa225 instanceof _0x9ad254[_0x3eb2cc(0x36a)])&&_0x4aa225[_0x3eb2cc(0x1ad)](),_0x4aa225;}return this[_0x3eb2cc(0x2dd)]['createInstance'](_0x9ad254[_0x3eb2cc(0x2b7)],_0x2c8ae6,this['_type'],_0x3b743d,_0x17762e,_0x2382a9);}[_0x2343e6(0x24c)](_0x441671,_0x3985a0){var _0x435ad2=_0x2343e6,_0x3edf11,_0x4a9b6e;const _0xa271e4=this['_compressMutationService'][_0x435ad2(0x322)][_0x435ad2(0x190)](this['_compressMutationService'][_0x435ad2(0x322)][_0x435ad2(0x3a5)]()['COMPRESS_MUTATION_APPLY']);(_0x3edf11=_0xa271e4((_0x441671==null?void 0x0:_0x441671['mutations'])||[],null))==null||_0x3edf11[_0x435ad2(0x278)](_0x33e952=>this['_commandService']['executeCommand'](_0x33e952['id'],_0x33e952[_0x435ad2(0x25b)])),(_0x4a9b6e=_0xa271e4(_0x3985a0||[],null))==null||_0x4a9b6e[_0x435ad2(0x278)](_0x5710f3=>this[_0x435ad2(0x1eb)]['executeCommand'](_0x5710f3['id'],_0x5710f3[_0x435ad2(0x25b)]));}},_0x9ad254[_0x2343e6(0x2ad)]=_0x404685([_0x1595ab(0x3,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0x1595ab(0x4,_0x22bf6a['Inject'](_0x4f7392[_0x2343e6(0x1df)])),_0x1595ab(0x5,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b6)])),_0x1595ab(0x6,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392[_0x2343e6(0x2fa)])),_0x1595ab(0x7,_0x22bf6a['Inject'](_0x37f895)),_0x1595ab(0x8,_0x22bf6a[_0x2343e6(0x373)]),_0x1595ab(0x9,_0x22bf6a['ILogService']),_0x1595ab(0xa,_0x22bf6a[_0x2343e6(0x1fb)]),_0x1595ab(0xb,_0x22bf6a[_0x2343e6(0x32c)]),_0x1595ab(0xc,_0x22bf6a['Optional'](_0x200cf8)),_0x1595ab(0xd,_0x22bf6a['Optional'](_0x4394e7))],_0x9ad254[_0x2343e6(0x2ad)]),_0x9ad254[_0x2343e6(0x3c6)]=class extends _0x9ad254[_0x2343e6(0x2ad)]{constructor(_0x84d66b,_0x45924f,_0x18d47b,_0x5ca3f0,_0x42faca,_0x19a444,_0x12efae,_0x4cbfd3,_0x728677,_0x468485,_0x5cc39c,_0x4c247b,_0x5311cb,_0x12d08c){var _0x4014da=_0x2343e6;super(_0x84d66b,_0x18d47b,_0x45924f,_0x5ca3f0,_0x42faca,_0x19a444,_0x12efae,_0x4cbfd3,_0x728677,_0x468485,_0x5cc39c,_0x4c247b,_0x5311cb,_0x12d08c),_0x12b414(this,_0x4014da(0x43e),null),(this[_0x4014da(0xd9)]=_0x84d66b,this[_0x4014da(0x1c9)]=_0x45924f);}[_0x2343e6(0x352)](_0x21cfe2){var _0x1c4d8a=_0x2343e6;this[_0x1c4d8a(0x43e)]=_0x21cfe2;}[_0x2343e6(0x336)](){var _0x1b9f39=_0x2343e6;this[_0x1b9f39(0x43e)]=null,super['dispose']();}[_0x2343e6(0x179)](){var _0xe5d7be=_0x2343e6;const _0x1bc476=super[_0xe5d7be(0x179)]();return _0x1bc476[_0xe5d7be(0x21e)]=_0x13a745=>{var _0x5ea960=_0xe5d7be,_0x408a62,_0x5defd6;return(_0x5defd6=(_0x408a62=this['_handlerCallback'])==null?void 0x0:_0x408a62[_0x5ea960(0x21e)])==null?void 0x0:_0x5defd6[_0x5ea960(0x2c9)](_0x408a62,_0x13a745);},_0x1bc476['onTransformState']=_0x701d36=>{var _0x340e86=_0xe5d7be,_0x131ac3,_0x1694f7;return(_0x1694f7=(_0x131ac3=this[_0x340e86(0x43e)])==null?void 0x0:_0x131ac3[_0x340e86(0x346)])==null?void 0x0:_0x1694f7[_0x340e86(0x2c9)](_0x131ac3,_0x701d36);},_0x1bc476[_0xe5d7be(0x2b2)]=_0x504e50=>{var _0x26c8ed=_0xe5d7be,_0x4fd88a,_0x5977ab;return(_0x5977ab=(_0x4fd88a=this[_0x26c8ed(0x43e)])==null?void 0x0:_0x4fd88a[_0x26c8ed(0x2b2)])==null?void 0x0:_0x5977ab[_0x26c8ed(0x2c9)](_0x4fd88a,_0x504e50);},_0x1bc476[_0xe5d7be(0x34a)]=_0x535044=>{var _0x1792be=_0xe5d7be,_0x31fa9c,_0x402fd1;return(_0x402fd1=(_0x31fa9c=this['_handlerCallback'])==null?void 0x0:_0x31fa9c[_0x1792be(0x34a)])==null?void 0x0:_0x402fd1[_0x1792be(0x2c9)](_0x31fa9c,_0x535044);},_0x1bc476[_0xe5d7be(0x3a9)]=_0x157941=>{var _0x3318da=_0xe5d7be,_0x444dbc,_0x16bf5d,_0x2130ba;if(!((_0x444dbc=this[_0x3318da(0x43e)])!=null&&_0x444dbc[_0x3318da(0x3a9)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2130ba=(_0x16bf5d=this[_0x3318da(0x43e)])==null?void 0x0:_0x16bf5d['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2130ba[_0x3318da(0x2c9)](_0x16bf5d,_0x157941);},_0x1bc476[_0xe5d7be(0x28f)]=_0x10b6e1=>{var _0x5466c9=_0xe5d7be,_0x436190,_0x57d6e0,_0x293821;if(!((_0x436190=this['_handlerCallback'])!=null&&_0x436190[_0x5466c9(0x28f)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x293821=(_0x57d6e0=this[_0x5466c9(0x43e)])==null?void 0x0:_0x57d6e0[_0x5466c9(0x28f)])==null?void 0x0:_0x293821[_0x5466c9(0x2c9)](_0x57d6e0,_0x10b6e1);},_0x1bc476;}async[_0x2343e6(0x1c1)](){var _0x4a67d3=_0x2343e6;const _0x31de13=await super[_0x4a67d3(0x1c1)]();return this['disposeWithMe'](this[_0x4a67d3(0x1eb)][_0x4a67d3(0x16a)]((_0x5ddd03,_0x563ed4)=>{var _0xb8e6c2=_0x4a67d3;if(_0x5ddd03[_0xb8e6c2(0x1c9)]!==_0x22bf6a['CommandType'][_0xb8e6c2(0xe9)]||_0x563ed4!=null&&_0x563ed4[_0xb8e6c2(0x320)]||_0x563ed4!=null&&_0x563ed4[_0xb8e6c2(0x265)]||_0x5ddd03['id']===_0x431414[_0xb8e6c2(0x2ac)]['id'])return;const _0x14280b=_0x5ddd03[_0xb8e6c2(0x25b)];if((_0x14280b==null?void 0x0:_0x14280b[_0xb8e6c2(0x187)])!==this[_0xb8e6c2(0xd9)])return;const _0x497032=_0x5ddd03,_0x7e5903=this[_0xb8e6c2(0x3b8)][_0xb8e6c2(0x322)][_0xb8e6c2(0x190)](this[_0xb8e6c2(0x3b8)][_0xb8e6c2(0x322)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x497032],this[_0xb8e6c2(0x381)])||[_0x497032];this[_0xb8e6c2(0x170)](_0x7e5903[0x0]);})),_0x31de13;}},_0x9ad254[_0x2343e6(0x3c6)]=_0x404685([_0x1595ab(0x3,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0x1595ab(0x4,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392['CompressMutationService'])),_0x1595ab(0x5,_0x22bf6a['Inject'](_0x22bf6a['LocaleService'])),_0x1595ab(0x6,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392[_0x2343e6(0x2fa)])),_0x1595ab(0x7,_0x22bf6a['Inject'](_0x37f895)),_0x1595ab(0x8,_0x22bf6a['IUniverInstanceService']),_0x1595ab(0x9,_0x22bf6a[_0x2343e6(0x406)]),_0x1595ab(0xa,_0x22bf6a[_0x2343e6(0x1fb)]),_0x1595ab(0xb,_0x22bf6a[_0x2343e6(0x32c)]),_0x1595ab(0xc,_0x22bf6a['Optional'](_0x200cf8)),_0x1595ab(0xd,_0x22bf6a[_0x2343e6(0x20b)](_0x4394e7))],_0x9ad254[_0x2343e6(0x3c6)]),_0x9ad254['SheetCollaborationEntity']=class extends _0x9ad254[_0x2343e6(0x2ad)]{constructor(_0x1ec372,_0x4bb16b,_0x15f727,_0x493cad,_0x16ee7a,_0x173212,_0x4cb2fb,_0x4b2f30,_0x2fe4e4,_0x49d0fd,_0x5d3e90,_0x584762,_0x7d9b69,_0x104707,_0x25d616){var _0x210b5e=_0x2343e6;super(_0x1ec372,_0x15f727,_0x4bb16b,_0x493cad,_0x16ee7a,_0x173212,_0x4cb2fb,_0x2fe4e4,_0x49d0fd,_0x5d3e90,_0x584762,_0x7d9b69,_0x104707,_0x25d616),this[_0x210b5e(0xd9)]=_0x1ec372,this[_0x210b5e(0x1c9)]=_0x4bb16b,this[_0x210b5e(0x262)]=_0x4b2f30;}[_0x2343e6(0x179)](){var _0xdb4ad8=_0x2343e6;const _0x308448=super[_0xdb4ad8(0x179)]();return _0x308448[_0xdb4ad8(0x2b2)]=_0x40633d=>this[_0xdb4ad8(0x262)]['transformSelections'](_0x40633d),_0x308448;}async[_0x2343e6(0x1c1)](){var _0x36f8e2=_0x2343e6;const _0x2c9b8e=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x36f8e2(0x16a)]((_0x24da69,_0x5c324b)=>{var _0x1adcb9=_0x36f8e2;if(_0x24da69[_0x1adcb9(0x1c9)]!==_0x22bf6a['CommandType']['MUTATION']||_0x5c324b!=null&&_0x5c324b[_0x1adcb9(0x320)]||_0x5c324b!=null&&_0x5c324b[_0x1adcb9(0x265)])return;const _0x4f6be3=_0x24da69['params'];if((_0x4f6be3==null?void 0x0:_0x4f6be3['unitId'])!==this[_0x1adcb9(0xd9)])return;const _0x45a8a8=_0x24da69,_0xbf746d=this['_compressMutationService'][_0x1adcb9(0x322)][_0x1adcb9(0x190)](this[_0x1adcb9(0x3b8)]['interceptor']['getInterceptPoints']()[_0x1adcb9(0x3f8)])([_0x45a8a8],this['_univerInstanceService'])||[_0x45a8a8];this[_0x1adcb9(0x170)](_0xbf746d[0x0]);})),_0x2c9b8e;}},_0x9ad254[_0x2343e6(0x448)]=_0x404685([_0x1595ab(0x3,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0x1595ab(0x4,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392[_0x2343e6(0x1df)])),_0x1595ab(0x5,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b6)])),_0x1595ab(0x6,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392[_0x2343e6(0x2fa)])),_0x1595ab(0x7,_0x22bf6a[_0x2343e6(0x274)](_0x9ad254[_0x2343e6(0x182)])),_0x1595ab(0x8,_0x22bf6a[_0x2343e6(0x274)](_0x37f895)),_0x1595ab(0x9,_0x22bf6a[_0x2343e6(0x373)]),_0x1595ab(0xa,_0x22bf6a['ILogService']),_0x1595ab(0xb,_0x22bf6a['ICommandService']),_0x1595ab(0xc,_0x22bf6a[_0x2343e6(0x32c)]),_0x1595ab(0xd,_0x22bf6a[_0x2343e6(0x20b)](_0x200cf8)),_0x1595ab(0xe,_0x22bf6a[_0x2343e6(0x20b)](_0x4394e7))],_0x9ad254[_0x2343e6(0x448)]);const _0x5cc65f=_0x22bf6a[_0x2343e6(0x341)](_0x2343e6(0x178));function _0x362c16(_0x529aef){var _0x15a198=_0x2343e6,_0x54e5c7,_0x4866b0,_0x2f62fd,_0x13e031,_0x20bcfb;const _0x504846=_0x529aef[_0x15a198(0x34d)],_0x409639=JSON['parse'](_0x504846);switch(_0x409639['cmd']){case _0x2b6d9f[_0x15a198(0x26a)]:case _0x2b6d9f[_0x15a198(0x2ab)]:{const _0x52b067=_0x409639[_0x15a198(0x20a)];return{..._0x409639,'data':_0x52b067,'cmd':_0x409639['cmd']};}case _0x2b6d9f['JOIN']:{const _0x1752bc=_0x409639['joinRsp'];return{..._0x409639,'data':_0x1752bc,'cmd':_0x409639[_0x15a198(0x165)]};}case _0x2b6d9f[_0x15a198(0x3c2)]:{const _0xebecb9=_0x409639[_0x15a198(0x370)];switch(_0xebecb9[_0x15a198(0x259)]){case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x1ed)]:return{..._0x409639,'data':{..._0xebecb9,'data':(_0x54e5c7=_0xebecb9[_0x15a198(0x2c0)])==null?void 0x0:_0x54e5c7['cs']},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x1d1)]:return{..._0x409639,'data':{..._0xebecb9,'data':(_0x4866b0=_0xebecb9[_0x15a198(0x3bf)])==null?void 0x0:_0x4866b0['cs']},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392['CollaborationEvent'][_0x15a198(0x2bf)]:return{..._0x409639,'data':{..._0xebecb9,'data':(_0x2f62fd=_0xebecb9['newCsEvent'])==null?void 0x0:_0x2f62fd['cs']},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)]['CHANGESET_REJ']:return{..._0x409639,'data':{..._0xebecb9,'data':(_0x13e031=_0xebecb9[_0x15a198(0x46e)])==null?void 0x0:_0x13e031['cs']},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x38e)]:return{..._0x409639,'data':{..._0xebecb9,'data':(_0x20bcfb=_0xebecb9[_0x15a198(0x33c)])==null?void 0x0:_0x20bcfb['cs']},'cmd':_0x409639['cmd']};case _0x4f7392['CollaborationEvent'][_0x15a198(0x210)]:return{..._0x409639,'data':{..._0xebecb9,'data':_0xebecb9['updateCursorEvent']},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x3e9)]:return{..._0x409639,'data':{..._0xebecb9,'data':_0xebecb9[_0x15a198(0x410)]},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x145)]:return{..._0x409639,'data':{..._0xebecb9,'data':_0xebecb9[_0x15a198(0x20f)]},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x3a6)]:return{..._0x409639,'data':{..._0xebecb9,'data':_0xebecb9[_0x15a198(0x2b8)]},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x3e0)]:case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x46b)]:return{..._0x409639,'data':{..._0xebecb9,'data':_0xebecb9['liveShareOperation']},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x436)]:return{..._0x409639,'data':{..._0xebecb9,'data':_0xebecb9[_0x15a198(0x2b8)]},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)]['MSG_FOR_ERROR']:return{..._0x409639,'data':_0xebecb9,'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x314)]:return{..._0x409639,'data':{..._0xebecb9,'data':_0xebecb9['commentUpdateEvent']},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)]['UPDATE_PERMISSION_OBJ']:return{..._0x409639,'data':{..._0xebecb9,'data':_0xebecb9[_0x15a198(0x420)]},'cmd':_0x409639[_0x15a198(0x165)]};case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x3ed)]:return{..._0x409639,'data':{..._0xebecb9,'data':_0xebecb9[_0x15a198(0x2d6)]},'cmd':_0x409639['cmd']};case _0x4f7392[_0x15a198(0x2e4)][_0x15a198(0x296)]:return{..._0x409639,'data':{..._0xebecb9,'data':_0xebecb9[_0x15a198(0x138)]},'cmd':_0x409639[_0x15a198(0x165)]};default:return _0x409639;}}default:return _0x409639;}}function _0xd15766(_0x57182d){var _0x4fce64=_0x2343e6;switch(_0x57182d[_0x4fce64(0x165)]){case _0x2b6d9f[_0x4fce64(0x26a)]:case _0x2b6d9f[_0x4fce64(0x2ab)]:return JSON[_0x4fce64(0x338)]({'cmd':_0x57182d[_0x4fce64(0x165)],'routeKey':_0x57182d[_0x4fce64(0x350)]});case _0x2b6d9f[_0x4fce64(0x1a8)]:{let _0x535e5a;switch(_0x57182d[_0x4fce64(0x34d)]['eventID']){case _0x4f7392[_0x4fce64(0x2e4)][_0x4fce64(0x210)]:{_0x535e5a={'eventID':_0x4f7392[_0x4fce64(0x2e4)][_0x4fce64(0x210)],'updateCursorEvent':_0x57182d[_0x4fce64(0x34d)][_0x4fce64(0x34d)]};break;}case _0x4f7392[_0x4fce64(0x2e4)][_0x4fce64(0x145)]:{_0x535e5a={'eventID':_0x4f7392[_0x4fce64(0x2e4)][_0x4fce64(0x145)],'leaveEvent':_0x57182d[_0x4fce64(0x34d)]['data']};break;}case _0x4f7392[_0x4fce64(0x2e4)]['USERS_ENTER']:{_0x535e5a={'eventID':_0x4f7392['CollaborationEvent'][_0x4fce64(0x3e9)],'joinEvent':_0x57182d[_0x4fce64(0x34d)][_0x4fce64(0x34d)]};break;}case _0x4f7392[_0x4fce64(0x2e4)]['LIVESHARE_NEW_HOST']:{_0x535e5a={'eventID':_0x4f7392[_0x4fce64(0x2e4)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x57182d[_0x4fce64(0x34d)][_0x4fce64(0x34d)]};break;}case _0x4f7392['CollaborationEvent'][_0x4fce64(0x46b)]:{_0x535e5a={'eventID':_0x4f7392[_0x4fce64(0x2e4)][_0x4fce64(0x46b)],'liveShareOperation':_0x57182d[_0x4fce64(0x34d)][_0x4fce64(0x34d)]};break;}case _0x4f7392[_0x4fce64(0x2e4)][_0x4fce64(0x436)]:{_0x535e5a={'eventID':_0x4f7392['CollaborationEvent'][_0x4fce64(0x436)],'liveShareTerminate':_0x57182d[_0x4fce64(0x34d)]['data']};break;}case _0x4f7392['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x535e5a={'eventID':_0x4f7392['CollaborationEvent'][_0x4fce64(0x211)],'liveShareRequestHost':_0x57182d['data'][_0x4fce64(0x34d)]};break;}case _0x4f7392[_0x4fce64(0x2e4)]['LIVESHARE_FETCH_OPERATIONS']:{_0x535e5a={'eventID':_0x4f7392[_0x4fce64(0x2e4)][_0x4fce64(0x3e0)]};break;}default:_0x535e5a={'eventID':_0x57182d[_0x4fce64(0x34d)][_0x4fce64(0x259)]};}return JSON[_0x4fce64(0x338)]({'cmd':_0x57182d[_0x4fce64(0x165)],'routeKey':_0x57182d[_0x4fce64(0x350)],'collaMsg':_0x535e5a});}case _0x2b6d9f[_0x4fce64(0x286)]:return JSON[_0x4fce64(0x338)]({'cmd':_0x57182d['cmd'],'routeKey':_0x57182d[_0x4fce64(0x350)],'joinReq':_0x57182d[_0x4fce64(0x34d)]});case _0x2b6d9f['LEAVE']:return JSON[_0x4fce64(0x338)]({'cmd':_0x57182d[_0x4fce64(0x165)],'routeKey':_0x57182d[_0x4fce64(0x350)],'leaveReq':_0x57182d[_0x4fce64(0x34d)]});default:throw new Error(_0x4fce64(0x29e));}}var _0x41b08a=Object[_0x2343e6(0x39e)],_0x32bf54=(_0x13e208,_0x144521,_0x22971a,_0x43b708)=>{var _0x2d78b0=_0x2343e6;for(var _0x474d8e=_0x43b708>0x1?void 0x0:_0x43b708?_0x41b08a(_0x144521,_0x22971a):_0x144521,_0x52f364=_0x13e208[_0x2d78b0(0xe7)]-0x1,_0x107169;_0x52f364>=0x0;_0x52f364--)(_0x107169=_0x13e208[_0x52f364])&&(_0x474d8e=_0x107169(_0x474d8e)||_0x474d8e);return _0x474d8e;},_0x2549e4=(_0x320580,_0x3c853d)=>(_0x5eaf7f,_0x27ae80)=>_0x3c853d(_0x5eaf7f,_0x27ae80,_0x320580);const _0x2ce10f=_0x22bf6a[_0x2343e6(0x341)](_0x2343e6(0x30b));function _0x3589df(_0x30d4fc,_0x361c4c,_0x1938bb){var _0x3ab62d=_0x2343e6;return _0x30d4fc+'/'+_0x361c4c+'/unit/'+_0x1938bb+_0x3ab62d(0x401);}_0x9ad254['CollaborationSocketService']=class extends _0x22bf6a[_0x2343e6(0x3f3)]{constructor(_0x47974e,_0x28505e,_0x5e8fa1,_0xa30842,_0x494bf2){var _0x149458=_0x2343e6;super(),this['_injector']=_0x47974e,this[_0x149458(0x1d3)]=_0x28505e,this[_0x149458(0x1d4)]=_0x5e8fa1,this[_0x149458(0x116)]=_0xa30842,this['_snapshotServerService']=_0x494bf2;}[_0x2343e6(0x311)](_0x1e56c6){var _0x505d98=_0x2343e6;const _0x5387fa=this[_0x505d98(0x2dd)][_0x505d98(0x20e)](_0x1d3e98['ISocketService']);if(!_0x5387fa)throw new Error(_0x505d98(0x1e3));const _0xb09a5e=_0x5387fa[_0x505d98(0x11c)](_0x1e56c6);if(!_0xb09a5e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5df0bc=new _0x22bf6a[(_0x505d98(0x415))](),_0x3ebe1d=new _0x1786f2[(_0x505d98(0x1f9))]();_0x5df0bc['add'](_0xb09a5e[_0x505d98(0x33b)][_0x505d98(0x2b1)](_0x202197=>_0x3ebe1d[_0x505d98(0x3b5)](_0x202197))),_0x5df0bc[_0x505d98(0x217)](_0x22bf6a[_0x505d98(0x123)](()=>_0x3ebe1d[_0x505d98(0x279)]()));const _0x4cf5c2=new _0x1786f2[(_0x505d98(0x1f9))]();_0x5df0bc[_0x505d98(0x217)](_0xb09a5e[_0x505d98(0x207)]['subscribe'](_0x480f0c=>_0x4cf5c2['next'](_0x480f0c))),_0x5df0bc[_0x505d98(0x217)](_0x22bf6a[_0x505d98(0x123)](()=>_0x4cf5c2[_0x505d98(0x279)]()));const _0x3eaa80=new _0x1786f2[(_0x505d98(0x1f9))]();_0x5df0bc['add'](_0xb09a5e['message$'][_0x505d98(0x2b1)](_0x5e6421=>{var _0x2d1e48=_0x505d98;const _0x5b107f=_0x362c16(_0x5e6421);_0x3eaa80[_0x2d1e48(0x3b5)](_0x5b107f);})),_0x5df0bc[_0x505d98(0x217)](_0x22bf6a[_0x505d98(0x123)](()=>_0x3eaa80[_0x505d98(0x279)]()));let _0x218dcf;const _0x46aa68=()=>{var _0x264ec6=_0x505d98;_0x4cf5c2[_0x264ec6(0x3b5)](new Event(_0x264ec6(0x252))),_0x3ebe1d[_0x264ec6(0x3b5)](new Event(_0x264ec6(0x252))),_0x218dcf[_0x264ec6(0x434)]();};return _0x218dcf={'memberID':'','close$':_0x3ebe1d['asObservable'](),'error$':_0x4cf5c2['asObservable'](),'open$':_0xb09a5e[_0x505d98(0x440)],'message$':_0x3eaa80[_0x505d98(0x17c)](),'send':_0x22f7c6=>{var _0x5795a2=_0x505d98;if(_0x22f7c6[_0x5795a2(0x165)]===_0x2b6d9f['INGEST']){if(_0x22f7c6[_0x5795a2(0x34d)][_0x5795a2(0x259)]===_0x4f7392[_0x5795a2(0x2e4)][_0x5795a2(0x2a1)]){this[_0x5795a2(0x29f)](_0x218dcf,_0x22f7c6[_0x5795a2(0x34d)])[_0x5795a2(0x1de)](_0xb68848=>{this['_logService']['error'](_0xb68848),_0x46aa68();});return;}if(_0x22f7c6[_0x5795a2(0x34d)]['eventID']===_0x4f7392['CollaborationEvent'][_0x5795a2(0x15a)]){const _0x37a352=_0x22f7c6[_0x5795a2(0x34d)];this[_0x5795a2(0x359)](_0x37a352)[_0x5795a2(0xf2)](_0x45ae87=>{var _0x1210a6=_0x5795a2;_0x3eaa80[_0x1210a6(0x3b5)]({'cmd':_0x2b6d9f[_0x1210a6(0x3c2)],'code':_0x5b95b6['OK'],'routeKey':_0x37a352[_0x1210a6(0x34d)][_0x1210a6(0xd9)],'routeType':'','data':{'eventID':_0x4f7392['CollaborationEvent'][_0x1210a6(0x382)],'data':{'changesets':_0x45ae87}}});})[_0x5795a2(0x1de)](_0x405388=>{var _0x5c6301=_0x5795a2;this[_0x5c6301(0x116)][_0x5c6301(0x153)](_0x405388),_0x46aa68();});return;}}_0xb09a5e[_0x5795a2(0x1a0)](_0xd15766(_0x22f7c6));},'close':()=>{var _0x28f8d8=_0x505d98;_0xb09a5e[_0x28f8d8(0x434)](),_0x5df0bc['dispose']();}},_0x218dcf;}async[_0x2343e6(0x29f)](_0x151904,_0x56681f){var _0x386538=_0x2343e6,_0x135130;const {unitType:_0x924c9d,unitID:_0x59fef3,changeset:_0x5056b3}=_0x56681f[_0x386538(0x34d)],_0x254899={'unitID':_0x59fef3,'memberID':_0x151904[_0x386538(0x443)],'type':_0x924c9d,'changeset':_0x4f7392['parseChangesetToProtocol'](_0x5056b3)},_0x290b37=this[_0x386538(0x1d4)][_0x386538(0x2ee)](_0x18b23c),_0x1b0c94=_0x3589df((_0x135130=_0x290b37==null?void 0x0:_0x290b37[_0x386538(0x3c7)])!=null?_0x135130:_0x1c01b0,_0x924c9d,_0x59fef3);try{await this[_0x386538(0x1d3)][_0x386538(0x255)](_0x1b0c94,{'body':_0x254899});}catch(_0x2c0620){throw this[_0x386538(0x116)][_0x386538(0x153)](_0x386538(0x3e6),'submit\x20changeset\x20error!'),_0x2c0620;}}async[_0x2343e6(0x359)](_0x291c61){var _0x22ed0c=_0x2343e6;const {unitID:_0x3817f3,from:_0xfeba82,to:_0x2a499e,unitType:_0x3ee27c}=_0x291c61[_0x22ed0c(0x34d)];return(await this[_0x22ed0c(0x39c)][_0x22ed0c(0x456)]({'metadata':void 0x0},{'unitID':_0x3817f3,'type':_0x3ee27c,'from':_0xfeba82,'to':_0x2a499e}))['changesets'][_0x22ed0c(0x1f3)](_0x3852b0=>((_0x3852b0[_0x22ed0c(0x3ae)]===null||_0x3852b0[_0x22ed0c(0x3ae)]===void 0x0)&&(_0x3852b0[_0x22ed0c(0x3ae)]=[]),_0x3852b0));}},_0x9ad254['CollaborationSocketService']=_0x32bf54([_0x2549e4(0x0,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0x2549e4(0x1,_0x22bf6a['Inject'](_0x1d3e98['HTTPService'])),_0x2549e4(0x2,_0x22bf6a[_0x2343e6(0x2e7)]),_0x2549e4(0x3,_0x22bf6a[_0x2343e6(0x406)]),_0x2549e4(0x4,_0x4f7392['ISnapshotServerService'])],_0x9ad254[_0x2343e6(0x1c5)]);var _0x522e89=Object['getOwnPropertyDescriptor'],_0x322354=(_0x2623d3,_0x23560e,_0x256829,_0x1c3e3a)=>{var _0x1ebc05=_0x2343e6;for(var _0x3be244=_0x1c3e3a>0x1?void 0x0:_0x1c3e3a?_0x522e89(_0x23560e,_0x256829):_0x23560e,_0x6998f=_0x2623d3[_0x1ebc05(0xe7)]-0x1,_0x389625;_0x6998f>=0x0;_0x6998f--)(_0x389625=_0x2623d3[_0x6998f])&&(_0x3be244=_0x389625(_0x3be244)||_0x3be244);return _0x3be244;},_0x714ce3=(_0x167778,_0x2eb93f)=>(_0x28161d,_0x20ae10)=>_0x2eb93f(_0x28161d,_0x20ae10,_0x167778);_0x9ad254[_0x2343e6(0x30f)]=class extends _0x22bf6a[_0x2343e6(0x3f3)]{constructor(_0x44b7e2,_0x288ca4,_0x5e9d0b,_0x460d31,_0x50ae01,_0x24c714){var _0x43e9bc=_0x2343e6;super(),_0x12b414(this,'_socket$',new _0x1786f2['BehaviorSubject'](void 0x0)),_0x12b414(this,_0x43e9bc(0x206),this['_socket$'][_0x43e9bc(0x17c)]()),_0x12b414(this,_0x43e9bc(0x349),null),_0x12b414(this,_0x43e9bc(0x2c5),new Map()),_0x12b414(this,'_status$',new _0x1786f2[(_0x43e9bc(0x3d6))](_0x2270b5[_0x43e9bc(0x24f)])),_0x12b414(this,'status$',this[_0x43e9bc(0x200)][_0x43e9bc(0x17c)]()),_0x12b414(this,_0x43e9bc(0x246),!0x1),_0x12b414(this,'_retryConnectingTimer'),_0x12b414(this,_0x43e9bc(0x34c),0x0),_0x12b414(this,_0x43e9bc(0x46c)),_0x12b414(this,'_timeoutTimer'),(this[_0x43e9bc(0x2dd)]=_0x44b7e2,this[_0x43e9bc(0x116)]=_0x288ca4,this['_configService']=_0x5e9d0b,this['_socketService']=_0x460d31,this[_0x43e9bc(0x253)]=_0x50ae01,this[_0x43e9bc(0x297)]=_0x24c714,this[_0x43e9bc(0xe1)]());}get[_0x2343e6(0x3ce)](){var _0x48fc78=_0x2343e6;return this[_0x48fc78(0x291)]['getValue']();}[_0x2343e6(0xe1)](){var _0x5c7bf6=_0x2343e6;this[_0x5c7bf6(0x297)]&&this['disposeWithMe'](this[_0x5c7bf6(0x297)][_0x5c7bf6(0x329)]['subscribe'](_0xa7cf9d=>{var _0x186505=_0x5c7bf6;_0xa7cf9d&&!this[_0x186505(0x3ce)]&&this[_0x186505(0x3aa)](),_0xa7cf9d||this['_onOffline']();}));}[_0x2343e6(0x336)](){var _0x25c0ca=_0x2343e6;super['dispose'](),this[_0x25c0ca(0x327)](),this['_clearTimeoutTimer'](),this[_0x25c0ca(0x1fe)](),this['_sessions'][_0x25c0ca(0x278)](_0x169e91=>_0x169e91[_0x25c0ca(0x336)]()),this[_0x25c0ca(0x2c5)][_0x25c0ca(0x3bc)](),this[_0x25c0ca(0x200)][_0x25c0ca(0x279)]();}async['requireSession'](_0x5db64a){var _0x5d1f07=_0x2343e6;if(this[_0x5d1f07(0x2c5)][_0x5d1f07(0x130)](_0x5db64a))return this[_0x5d1f07(0x2c5)]['get'](_0x5db64a);this[_0x5d1f07(0x27e)]();const _0x5ea768=this[_0x5d1f07(0x2dd)]['createInstance'](_0x9ad254[_0x5d1f07(0x11e)],_0x5db64a,this[_0x5d1f07(0x291)][_0x5d1f07(0x17c)]());return this[_0x5d1f07(0x2c5)][_0x5d1f07(0x2bd)](_0x5db64a,_0x5ea768),_0x5ea768;}[_0x2343e6(0x34f)](_0x2c4a62){var _0x3baf7d=_0x2343e6,_0x29ab2e;const _0x346932=this[_0x3baf7d(0x2c5)][_0x3baf7d(0x20e)](_0x2c4a62);_0x346932&&(this[_0x3baf7d(0x2c5)][_0x3baf7d(0x218)](_0x2c4a62),_0x346932[_0x3baf7d(0x434)]()),this[_0x3baf7d(0x2c5)][_0x3baf7d(0x36d)]||(_0x29ab2e=this[_0x3baf7d(0x3ce)])==null||_0x29ab2e[_0x3baf7d(0x434)]();}[_0x2343e6(0x3aa)](){var _0x3c3536=_0x2343e6;this[_0x3c3536(0x34c)]=0x0,this[_0x3c3536(0x327)](),this[_0x3c3536(0x22d)]();}[_0x2343e6(0x327)](){var _0x4849f7=_0x2343e6;this[_0x4849f7(0x2e1)]!=null&&(clearTimeout(this[_0x4849f7(0x2e1)]),this[_0x4849f7(0x2e1)]=null);}async[_0x2343e6(0x42e)](){var _0x1feb7f=_0x2343e6,_0xc6d49f;const _0x3f6485=this[_0x1feb7f(0x1d4)][_0x1feb7f(0x2ee)](_0x18b23c),_0x2bfad3=(_0xc6d49f=_0x3f6485==null?void 0x0:_0x3f6485[_0x1feb7f(0x188)])!=null?_0xc6d49f:_0xa980e0,_0x52096a=await this['_socketService']['createSocket'](_0x2bfad3);return this[_0x1feb7f(0x349)]=_0x52096a,_0x52096a;}async['_tryEnsureSocket'](){var _0x1bcdc9=_0x2343e6,_0x420fee,_0x4fcd64;try{const _0x17cc7d=(_0x4fcd64=(_0x420fee=this['_socket'])!=null?_0x420fee:this[_0x1bcdc9(0x349)])!=null?_0x4fcd64:await this[_0x1bcdc9(0x42e)]();if(_0x17cc7d){const _0xd47a8d=_0x17cc7d[_0x1bcdc9(0x1a0)];_0x17cc7d['send']=_0x56f764=>(this[_0x1bcdc9(0x37d)](),_0xd47a8d[_0x1bcdc9(0x2ca)](_0x17cc7d,[_0x56f764])),_0x17cc7d[_0x1bcdc9(0x25c)][_0x1bcdc9(0x2b1)](_0xd7c5e4=>this['_onMessage'](_0x17cc7d,_0xd7c5e4)),_0x17cc7d['error$']['pipe'](_0x170216['take'](0x1))[_0x1bcdc9(0x2b1)](_0x264047=>this[_0x1bcdc9(0x116)][_0x1bcdc9(0x153)](_0x1bcdc9(0x227),_0x264047)),_0x17cc7d['open$'][_0x1bcdc9(0x25e)](_0x170216[_0x1bcdc9(0x152)](0x1))[_0x1bcdc9(0x2b1)](()=>{this['_onConnectionOpen'](_0x17cc7d);}),_0x17cc7d[_0x1bcdc9(0x33b)][_0x1bcdc9(0x25e)](_0x170216[_0x1bcdc9(0x152)](0x1))[_0x1bcdc9(0x2b1)](_0x5b322f=>{var _0x3947f5=_0x1bcdc9;this['_logService'][_0x3947f5(0x17d)]('[CollaborationSessionService]',_0x3947f5(0x407),_0x5b322f),this[_0x3947f5(0x426)]();});}}catch(_0x3a6b77){this[_0x1bcdc9(0x116)][_0x1bcdc9(0x153)](_0x3a6b77),this[_0x1bcdc9(0x426)]();}}['_onConnectionOpen'](_0x1c5eb1){var _0x4325fb=_0x2343e6;this['_logService']['debug'](_0x4325fb(0x321),_0x4325fb(0x15f)),_0x1c5eb1['send']({'cmd':_0x2b6d9f[_0x4325fb(0x2ab)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x42d3ca=_0x2343e6;this[_0x42d3ca(0x246)]=!0x1,this[_0x42d3ca(0x349)]=null,this['_status$'][_0x42d3ca(0x3b5)](_0x2270b5[_0x42d3ca(0x358)]),this['_socket$'][_0x42d3ca(0x3b5)](null),this[_0x42d3ca(0x29a)](),this[_0x42d3ca(0x1fe)]();}['_onConnectionFailed'](){var _0x4ad8e0=_0x2343e6,_0x46bd59;this['_onOffline'](),this[_0x4ad8e0(0x34c)]<((_0x46bd59=this['_configService'][_0x4ad8e0(0x2ee)](_0x3977ea))!=null?_0x46bd59:0x3)?(this[_0x4ad8e0(0x253)][_0x4ad8e0(0x2cf)]({'id':_0x563766['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x4ad8e0(0x2cf)]({'id':_0x563766[_0x4ad8e0(0x2de)]});}[_0x2343e6(0x22d)](){var _0x534f4f=_0x2343e6,_0x418110;const _0x4434b5=this['_retryCount'],_0x4be00b=this['_configService'][_0x534f4f(0x2ee)](_0x18b23c),_0x525c2b=_0x4434b5===0x0?0x0:((_0x418110=_0x4be00b==null?void 0x0:_0x4be00b['retryConnectingInterval'])!=null?_0x418110:0x4e20)*0x2**_0x4434b5;this[_0x534f4f(0x2e1)]=setTimeout(()=>{var _0x142556=_0x534f4f;clearTimeout(this[_0x142556(0x2e1)]),this['_retryConnectingTimer']=null,this[_0x142556(0x27e)]();},_0x525c2b),this['_retryCount']+=0x1;}[_0x2343e6(0x30a)](_0x57607d,_0x17e6d8){var _0x24312d=_0x2343e6;const {cmd:_0x171fcd}=_0x17e6d8;_0x171fcd===_0x2b6d9f['HELLO']&&!this[_0x24312d(0x246)]&&(_0x57607d[_0x24312d(0x443)]=_0x17e6d8[_0x24312d(0x34d)][_0x24312d(0x443)],this[_0x24312d(0x291)][_0x24312d(0x3b5)](_0x57607d),this[_0x24312d(0x200)][_0x24312d(0x3b5)](_0x2270b5[_0x24312d(0xf3)]),this[_0x24312d(0x246)]=!0x0,this[_0x24312d(0x349)]=null),_0x171fcd===_0x2b6d9f[_0x24312d(0x26a)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x2343e6(0x37d)](){var _0x368269=_0x2343e6,_0x2007b9;this[_0x368269(0x1fe)](),this[_0x368269(0x46c)]=setTimeout(()=>this[_0x368269(0x2f5)](),(_0x2007b9=this['_configService']['getConfig'](_0x2ee1cf))!=null?_0x2007b9:0x7530);}[_0x2343e6(0x2f5)](){var _0x545768=_0x2343e6;this[_0x545768(0x3ce)][_0x545768(0x1a0)]({'cmd':_0x2b6d9f[_0x545768(0x26a)]}),this[_0x545768(0x215)]();}['_waitForHeartbeatResponse'](){var _0x5de751=_0x2343e6,_0x34b7d3;this[_0x5de751(0x216)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x34b7d3=this[_0x5de751(0x1d4)][_0x5de751(0x2ee)](_0x2ab30c))!=null?_0x34b7d3:0x4e20);}[_0x2343e6(0x1fe)](){var _0x19a9fb=_0x2343e6;this[_0x19a9fb(0x46c)]!=null&&(clearTimeout(this[_0x19a9fb(0x46c)]),this['_sendHeartbeatTimer']=null);}[_0x2343e6(0x29a)](){var _0x1bf0bb=_0x2343e6;this[_0x1bf0bb(0x216)]!=null&&(clearTimeout(this[_0x1bf0bb(0x216)]),this['_timeoutTimer']=null);}},_0x9ad254[_0x2343e6(0x30f)]=_0x322354([_0x714ce3(0x0,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0x714ce3(0x1,_0x22bf6a[_0x2343e6(0x406)]),_0x714ce3(0x2,_0x22bf6a['IConfigService']),_0x714ce3(0x3,_0x2ce10f),_0x714ce3(0x4,_0x22bf6a[_0x2343e6(0x274)](_0x37f895)),_0x714ce3(0x5,_0x22bf6a['Optional'](_0x5cc65f))],_0x9ad254[_0x2343e6(0x30f)]);var _0x54f0a9=Object[_0x2343e6(0x39e)],_0x4a4d71=(_0x2df1ca,_0x232f4c,_0x1bffa8,_0x4ade39)=>{for(var _0x31b257=_0x4ade39>0x1?void 0x0:_0x4ade39?_0x54f0a9(_0x232f4c,_0x1bffa8):_0x232f4c,_0x1f627c=_0x2df1ca['length']-0x1,_0x36835b;_0x1f627c>=0x0;_0x1f627c--)(_0x36835b=_0x2df1ca[_0x1f627c])&&(_0x31b257=_0x36835b(_0x31b257)||_0x31b257);return _0x31b257;},_0xbb43a5=(_0x1c1a0a,_0xfc4e59)=>(_0x4c0431,_0x3d935c)=>_0xfc4e59(_0x4c0431,_0x3d935c,_0x1c1a0a);_0x9ad254['CollaborationController']=class extends _0x22bf6a[_0x2343e6(0x3c0)]{constructor(_0x434144,_0x42bae2,_0x20a8ab,_0x26aec4){var _0x3a4bd7=_0x2343e6,_0x2ab7ee;super(),_0x12b414(this,'_entities',new Map()),_0x12b414(this,_0x3a4bd7(0x45c),new _0x1786f2[(_0x3a4bd7(0x1f9))]()),_0x12b414(this,_0x3a4bd7(0x45a),this[_0x3a4bd7(0x45c)][_0x3a4bd7(0x17c)]()),(this[_0x3a4bd7(0x2dd)]=_0x434144,this[_0x3a4bd7(0x33f)]=_0x42bae2,this[_0x3a4bd7(0x1d4)]=_0x20a8ab,this[_0x3a4bd7(0x381)]=_0x26aec4,((_0x2ab7ee=this[_0x3a4bd7(0x1d4)][_0x3a4bd7(0x2ee)](_0x18b23c))==null?void 0x0:_0x2ab7ee[_0x3a4bd7(0x30e)])!==!0x1&&this[_0x3a4bd7(0x1c1)]());}[_0x2343e6(0x336)](){var _0x2b6968=_0x2343e6;super[_0x2b6968(0x336)](),this[_0x2b6968(0x302)][_0x2b6968(0x278)](_0x201a84=>_0x201a84[_0x2b6968(0x336)]()),this['_entities'][_0x2b6968(0x3bc)]();}['getCollabEntity'](_0x4126c2){var _0x2890c0=_0x2343e6,_0x581e3f;return(_0x581e3f=this['_entities'][_0x2890c0(0x20e)](_0x4126c2))!=null?_0x581e3f:null;}[_0x2343e6(0x3be)](_0x33dc47){var _0x2ab6a1=_0x2343e6;const _0x3b7d85=this[_0x2ab6a1(0x250)](_0x33dc47);return _0x3b7d85?_0x1786f2['of'](_0x3b7d85):this[_0x2ab6a1(0x45c)]['pipe'](_0x170216[_0x2ab6a1(0x31c)](_0x40b4f8=>_0x40b4f8['unitID']===_0x33dc47));}['readyForCollab'](_0x2e1222){var _0x2a55b0=_0x2343e6;return _0x1786f2['firstValueFrom'](this[_0x2a55b0(0x3be)](_0x2e1222)[_0x2a55b0(0x25e)](_0x170216[_0x2a55b0(0x1f3)](()=>{})));}[_0x2343e6(0x1c1)](){var _0x456577=_0x2343e6;this[_0x456577(0x381)][_0x456577(0x28b)](_0x22bf6a[_0x456577(0x28d)][_0x456577(0x376)])[_0x456577(0x25e)](_0x1786f2[_0x456577(0x424)](this[_0x456577(0x1a4)]),_0x170216['delay'](0x10))[_0x456577(0x2b1)](async _0x13a199=>{var _0x33a224=_0x456577;const _0x510bb6=_0x13a199[_0x33a224(0x453)](),_0x352ec5=await this['_startCollaboration'](_0x510bb6,_0x1c9922['UNIVER_SHEET']);this[_0x33a224(0x302)][_0x33a224(0x2bd)](_0x510bb6,_0x352ec5);}),this[_0x456577(0x381)][_0x456577(0x28b)](_0x22bf6a[_0x456577(0x28d)][_0x456577(0x2f1)])[_0x456577(0x25e)](_0x1786f2[_0x456577(0x424)](this[_0x456577(0x1a4)]),_0x170216[_0x456577(0x3fb)](0x10))[_0x456577(0x25e)](_0x170216['filter'](_0x581692=>!_0x581692[_0x456577(0x453)]()['startsWith']('__')))[_0x456577(0x2b1)](async _0x59756e=>{var _0x5ea192=_0x456577;const _0x572c7c=_0x59756e['getUnitId'](),_0x19b954=await this[_0x5ea192(0x2a5)](_0x572c7c,_0x1c9922['UNIVER_DOC']);this[_0x5ea192(0x302)][_0x5ea192(0x2bd)](_0x572c7c,_0x19b954);}),_0x1786f2['merge'](this[_0x456577(0x381)][_0x456577(0x12a)](_0x22bf6a[_0x456577(0x28d)][_0x456577(0x376)]),this[_0x456577(0x381)][_0x456577(0x12a)](_0x22bf6a[_0x456577(0x28d)][_0x456577(0x2f1)]))[_0x456577(0x25e)](_0x1786f2[_0x456577(0x424)](this[_0x456577(0x1a4)]))[_0x456577(0x2b1)](_0x4ce19f=>{var _0x28cb4c=_0x456577;const _0x44cb23=_0x4ce19f[_0x28cb4c(0x453)](),_0x5e3bc2=this['_entities'][_0x28cb4c(0x20e)](_0x44cb23);_0x5e3bc2&&(_0x5e3bc2[_0x28cb4c(0x336)](),this[_0x28cb4c(0x302)][_0x28cb4c(0x218)](_0x44cb23));});}async[_0x2343e6(0x2a5)](_0x33c060,_0x34d815){var _0x3bfe44=_0x2343e6;const _0x53f6b7=await this[_0x3bfe44(0x33f)][_0x3bfe44(0x384)](_0x33c060),_0x3b46eb=this[_0x3bfe44(0x2dd)]['createInstance'](this[_0x3bfe44(0x418)](_0x34d815),_0x33c060,_0x34d815,_0x53f6b7);return await _0x3b46eb[_0x3bfe44(0x203)](),this[_0x3bfe44(0x45c)][_0x3bfe44(0x3b5)](_0x3b46eb),_0x3b46eb;}[_0x2343e6(0x418)](_0x106a9e){var _0x2f4ff6=_0x2343e6;switch(_0x106a9e){case _0x1c9922[_0x2f4ff6(0x2f1)]:return _0x9ad254[_0x2f4ff6(0x3c6)];case _0x1c9922[_0x2f4ff6(0x376)]:return _0x9ad254[_0x2f4ff6(0x448)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x106a9e);}}},_0x9ad254[_0x2343e6(0x398)]=_0x4a4d71([_0xbb43a5(0x0,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0xbb43a5(0x1,_0x22bf6a['Inject'](_0x9ad254['CollaborationSessionService'])),_0xbb43a5(0x2,_0x22bf6a['IConfigService']),_0xbb43a5(0x3,_0x22bf6a[_0x2343e6(0x373)])],_0x9ad254[_0x2343e6(0x398)]);var _0x511f8b=Object[_0x2343e6(0x39e)],_0x47a4b5=(_0x5403bb,_0x12970d,_0x1bcd21,_0x15ca56)=>{var _0x41a3a4=_0x2343e6;for(var _0x2b4ab1=_0x15ca56>0x1?void 0x0:_0x15ca56?_0x511f8b(_0x12970d,_0x1bcd21):_0x12970d,_0x17dba7=_0x5403bb[_0x41a3a4(0xe7)]-0x1,_0x3baebc;_0x17dba7>=0x0;_0x17dba7--)(_0x3baebc=_0x5403bb[_0x17dba7])&&(_0x2b4ab1=_0x3baebc(_0x2b4ab1)||_0x2b4ab1);return _0x2b4ab1;},_0x9bec15=(_0x51ff51,_0xd2f1a7)=>(_0x21cf3e,_0x575286)=>_0xd2f1a7(_0x21cf3e,_0x575286,_0x51ff51);const _0x5a0f85=_0x2343e6(0x31b),_0x2c4583='Univer';let _0x1bf0a5=class extends _0x22bf6a[_0x2343e6(0x3f3)]{constructor(_0x1611ac,_0x13cf58){var _0x41c66f=_0x2343e6;super(),this[_0x41c66f(0x381)]=_0x1611ac,this[_0x41c66f(0x1d4)]=_0x13cf58,this['_init']();}[_0x2343e6(0x1c1)](){var _0x617714=_0x2343e6;this[_0x617714(0x2a9)](this['_univerInstanceService'][_0x617714(0x26e)][_0x617714(0x2b1)](()=>{var _0x388338=_0x617714,_0x51992d;const _0x5ab8f4=this[_0x388338(0x381)][_0x388338(0x10c)]();let _0x298ee6=(_0x51992d=this[_0x388338(0x1d4)][_0x388338(0x2ee)](_0x5a0f85))!=null?_0x51992d:_0x2c4583;_0x5ab8f4 instanceof _0x22bf6a[_0x388338(0x2cb)]&&(_0x298ee6=_0x5ab8f4[_0x388338(0x1ca)]),document['title']=_0x298ee6;}));}};_0x1bf0a5=_0x47a4b5([_0x9bec15(0x0,_0x22bf6a['IUniverInstanceService']),_0x9bec15(0x1,_0x22bf6a['IConfigService'])],_0x1bf0a5);var _0x3ce024=Object['getOwnPropertyDescriptor'],_0x1c1a2a=(_0x164b12,_0x3e2f04,_0x44e297,_0x5a738d)=>{var _0x5d0e68=_0x2343e6;for(var _0x3ed706=_0x5a738d>0x1?void 0x0:_0x5a738d?_0x3ce024(_0x3e2f04,_0x44e297):_0x3e2f04,_0x4e8d55=_0x164b12[_0x5d0e68(0xe7)]-0x1,_0x8de42f;_0x4e8d55>=0x0;_0x4e8d55--)(_0x8de42f=_0x164b12[_0x4e8d55])&&(_0x3ed706=_0x8de42f(_0x3ed706)||_0x3ed706);return _0x3ed706;},_0xbc09dd=(_0x3f9dd6,_0x277959)=>(_0x37e6ef,_0x4caa50)=>_0x277959(_0x37e6ef,_0x4caa50,_0x3f9dd6);let _0x2ba7e2=class{constructor(_0x539554,_0x478bbc,_0x3d7c84){var _0x17dd27=_0x2343e6;this[_0x17dd27(0x1d4)]=_0x539554,this[_0x17dd27(0x1d3)]=_0x478bbc,this['localeService']=_0x3d7c84,this[_0x17dd27(0x203)]();}['init'](){var _0x1d1abb=_0x2343e6;this[_0x1d1abb(0x1d3)][_0x1d1abb(0x195)]({'priority':0x1,'interceptor':(_0x258c0c,_0x148878)=>_0x148878(_0x258c0c)['pipe'](_0x1786f2['concatMap'](async _0x188406=>{var _0x1fb53f=_0x1d1abb;const _0x464d71=_0x188406;if(_0x464d71[_0x1fb53f(0x19a)]===0x191){if(typeof window>'u')throw new Error(_0x1fb53f(0x400));if(window[_0x1fb53f(0x38f)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x407246=window[_0x1fb53f(0x18e)](window[_0x1fb53f(0x454)][_0x1fb53f(0x301)]);window[_0x1fb53f(0x454)]['href']=this[_0x1fb53f(0x18d)]()+_0x1fb53f(0x39a)+_0x407246;}}return _0x464d71;}))});}[_0x2343e6(0x18d)](){var _0x4e280d=_0x2343e6,_0x1d773a;const _0xf2b129=this[_0x4e280d(0x1d4)][_0x4e280d(0x2ee)](_0x18b23c);return(_0x1d773a=_0xf2b129==null?void 0x0:_0xf2b129[_0x4e280d(0x10e)])!=null?_0x1d773a:_0x495183;}};_0x2ba7e2=_0x1c1a2a([_0xbc09dd(0x0,_0x22bf6a[_0x2343e6(0x2e7)]),_0xbc09dd(0x1,_0x22bf6a[_0x2343e6(0x274)](_0x1d3e98['HTTPService'])),_0xbc09dd(0x2,_0x22bf6a['Inject'](_0x22bf6a[_0x2343e6(0x3b6)]))],_0x2ba7e2);var _0x39e2f1=Object[_0x2343e6(0x39e)],_0x42e6d7=(_0x764a3a,_0x3cfafb,_0x1175c8,_0x1c73e)=>{var _0x123598=_0x2343e6;for(var _0x1fcdf7=_0x1c73e>0x1?void 0x0:_0x1c73e?_0x39e2f1(_0x3cfafb,_0x1175c8):_0x3cfafb,_0x9dd327=_0x764a3a[_0x123598(0xe7)]-0x1,_0x482018;_0x9dd327>=0x0;_0x9dd327--)(_0x482018=_0x764a3a[_0x9dd327])&&(_0x1fcdf7=_0x482018(_0x1fcdf7)||_0x1fcdf7);return _0x1fcdf7;},_0x9ba1b3=(_0xb36d98,_0x32e452)=>(_0x423b1d,_0x5568ed)=>_0x32e452(_0x423b1d,_0x5568ed,_0xb36d98);const _0x3baf2b='/universer-api/authz';_0x9ad254[_0x2343e6(0x2ed)]=class extends _0x22bf6a['Disposable']{constructor(_0x4ea20b,_0x35ae30){var _0x1a7506=_0x2343e6;super(),this[_0x1a7506(0x22e)]=_0x4ea20b,this[_0x1a7506(0x1d4)]=_0x35ae30,this[_0x1a7506(0x28a)]();}['_initMergeInterceptor'](){var _0x4503ba=_0x2343e6;const _0x4ecfd6=this;this[_0x4503ba(0x2a9)](this[_0x4503ba(0x22e)][_0x4503ba(0x195)]({'priority':0x3e7,'interceptor':_0x1d3e98['MergeInterceptorFactory']({'isMatch'(_0x2c381e){var _0x577684=_0x4503ba,_0x54f859;if(_0x2c381e[_0x577684(0x26d)]==='POST'&&((_0x54f859=_0x2c381e[_0x577684(0x3a8)])!=null&&_0x54f859[_0x577684(0x433)])){const {objectID:_0x2b7e11,objectType:_0x3823ef}=_0x2c381e[_0x577684(0x3a8)][_0x577684(0x433)]||{};if(!_0x2b7e11||_0x3823ef===void 0x0)return!0x1;const _0x51675c=_0x4ecfd6['_getAPIPrefixPath']()+'/'+_0x3823ef+_0x577684(0x3de)+_0x2b7e11+_0x577684(0x43b);if(_0x2c381e[_0x577684(0x135)]===_0x51675c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x46be6){var _0x56d9aa=_0x4503ba,_0x54be79;return(_0x54be79=_0x46be6[_0x56d9aa(0x3a8)])==null?void 0x0:_0x54be79[_0x56d9aa(0x433)];},'mergeParamsToRequest'(_0x37c12a,_0x5942a7){var _0x5736f3=_0x4503ba;const _0x37ec5d=_0x4ecfd6[_0x5736f3(0x1ef)]()+_0x5736f3(0x176),_0x28248f=_0x37c12a['reduce']((_0x48493b,_0x547b97)=>{var _0x3a7d23=_0x5736f3;const {unitID:_0x2ff8d7,objectID:_0x23dd6f,objectType:_0x23fab8,actions:_0x4219f8}=_0x547b97;return _0x48493b[_0x2ff8d7]||(_0x48493b[_0x2ff8d7]={}),_0x48493b[_0x2ff8d7][_0x23dd6f]||(_0x48493b[_0x2ff8d7][_0x23dd6f]={'objectID':_0x23dd6f,'objectType':_0x23fab8,'actions':[]}),_0x48493b[_0x2ff8d7][_0x23dd6f]['actions'][_0x3a7d23(0x2d1)](..._0x4219f8),_0x48493b;},{}),_0x365639=[];for(const _0x4a83f4 in _0x28248f)for(const _0x32f3c9 in _0x28248f[_0x4a83f4]){const {actions:_0x5914fa,objectType:_0x1a9ebd}=_0x28248f[_0x4a83f4][_0x32f3c9],_0xb09a65=[...new Set(_0x5914fa)];_0x365639[_0x5736f3(0x2d1)]({'unitID':_0x4a83f4,'objectID':_0x32f3c9,'objectType':_0x1a9ebd,'actions':_0xb09a65});}return new _0x1d3e98[(_0x5736f3(0x119))](_0x5736f3(0x387),_0x37ec5d,{'headers':_0x5942a7[_0x5736f3(0x464)],'withCredentials':_0x5942a7[_0x5736f3(0x213)],'responseType':_0x5942a7[_0x5736f3(0x108)],'body':{'requests':_0x365639}});}},{'distributeResult'(_0x342cd2,_0x4b2640){var _0x5e3d70=_0x4503ba;const {objectActions:_0x161684}=_0x342cd2;return _0x4b2640[_0x5e3d70(0x1f3)](_0x42a5af=>{var _0x1ee620=_0x5e3d70;const {unitID:_0x33be10,objectID:_0x2f5633,actions:_0x4e1ddf}=_0x42a5af,_0x150711=_0x161684['find'](_0x311416=>_0x311416[_0x1ee620(0xd9)]===_0x33be10&&_0x311416[_0x1ee620(0x105)]===_0x2f5633),_0x5cf993=_0x4e1ddf[_0x1ee620(0x1f3)](_0x4eb5f9=>_0x150711==null?void 0x0:_0x150711[_0x1ee620(0x342)][_0x1ee620(0x2d5)](_0x345dd3=>_0x345dd3['action']===_0x4eb5f9))[_0x1ee620(0x31c)](_0x11d685=>!!_0x11d685);return{'config':_0x42a5af,'result':{'actions':_0x5cf993,'error':_0x342cd2['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x3d1bd6=_0x2343e6,_0x23c1bd;const _0x53bcc4=this[_0x3d1bd6(0x1d4)]['getConfig'](_0x18b23c);return(_0x23c1bd=_0x53bcc4==null?void 0x0:_0x53bcc4[_0x3d1bd6(0x35c)])!=null?_0x23c1bd:_0x3baf2b;}async['create'](_0x2b408b){var _0x2b9127=_0x2343e6;const _0x232e69=this['_getAPIPrefixPath']()+'/'+_0x2b408b[_0x2b9127(0x1b4)]+_0x2b9127(0x23a);return(await this[_0x2b9127(0x22e)][_0x2b9127(0x255)](_0x232e69,{'body':_0x2b408b}))[_0x2b9127(0x433)][_0x2b9127(0x105)]||'';}async['list'](_0x49777e){var _0x5e3688=_0x2343e6;const _0x2762ef=this[_0x5e3688(0x1ef)]()+_0x5e3688(0xe3);return(await this[_0x5e3688(0x22e)][_0x5e3688(0x255)](_0x2762ef,{'body':_0x49777e}))[_0x5e3688(0x433)]['objects'];}async[_0x2343e6(0x23e)](_0x2baadd){var _0x37e003=_0x2343e6,_0x538b33,_0x2f792c;const _0x1d42c0=this[_0x37e003(0x1ef)]()+'/'+_0x2baadd[_0x37e003(0x1b4)]+_0x37e003(0x3de)+_0x2baadd['objectID'],_0x44bc50=await this[_0x37e003(0x22e)][_0x37e003(0x355)](_0x1d42c0,{'body':_0x2baadd});if(((_0x2f792c=(_0x538b33=_0x44bc50==null?void 0x0:_0x44bc50[_0x37e003(0x433)])==null?void 0x0:_0x538b33['error'])==null?void 0x0:_0x2f792c[_0x37e003(0x43d)])!==0x1)throw new Error(_0x37e003(0x466));}async[_0x2343e6(0x316)](_0x155845){var _0x474cc1=_0x2343e6;const _0x4e003b=this[_0x474cc1(0x1ef)]()+'/'+_0x155845[_0x474cc1(0x1b4)]+_0x474cc1(0x3de)+_0x155845[_0x474cc1(0x105)]+_0x474cc1(0x43b);return(await this[_0x474cc1(0x22e)][_0x474cc1(0x255)](_0x4e003b,{'body':_0x155845}))[_0x474cc1(0x433)]['actions'];}async[_0x2343e6(0x19c)](_0x232d68){var _0x5b798f=_0x2343e6;const _0x182153=this[_0x5b798f(0x1ef)]()+_0x5b798f(0x176);return(await this['_HTTPService'][_0x5b798f(0x255)](_0x182153,{'body':{'requests':_0x232d68}}))[_0x5b798f(0x433)][_0x5b798f(0xf1)];}async[_0x2343e6(0x323)](_0x8582bd){var _0x4e9724=_0x2343e6;const _0x40924a=this[_0x4e9724(0x1ef)]()+'/'+_0x8582bd['objectType']+'/role',_0x57bcca=await this['_HTTPService'][_0x4e9724(0x255)](_0x40924a,{'body':_0x8582bd});return{'roles':_0x57bcca[_0x4e9724(0x433)][_0x4e9724(0x1e0)],'actions':_0x57bcca['body'][_0x4e9724(0x342)]};}async[_0x2343e6(0x2a8)](_0x4aab22){var _0x5313a9=_0x2343e6;const _0x313866=this['_getAPIPrefixPath']()+_0x5313a9(0x304);await this[_0x5313a9(0x22e)][_0x5313a9(0x218)](_0x313866,{'params':{'collaboratorID':_0x4aab22['collaboratorID'],'objectID':_0x4aab22[_0x5313a9(0x105)],'unitID':_0x4aab22[_0x5313a9(0xd9)]}});}async[_0x2343e6(0x334)](_0x724a97){var _0x15de70=_0x2343e6;const _0x3d6a60=this['_getAPIPrefixPath']()+_0x15de70(0x304);await this[_0x15de70(0x22e)][_0x15de70(0x1b1)](_0x3d6a60,{'body':_0x724a97});}async[_0x2343e6(0x1f8)](_0x7d3450){var _0x3797dc=_0x2343e6;const _0x3ca95a=this[_0x3797dc(0x1ef)]()+_0x3797dc(0x304);await this[_0x3797dc(0x22e)]['post'](_0x3ca95a,{'body':_0x7d3450});}async[_0x2343e6(0x455)](_0x211efe){var _0x3c4deb=_0x2343e6;const _0x33a797=this[_0x3c4deb(0x1ef)]()+_0x3c4deb(0x304);return(await this[_0x3c4deb(0x22e)]['get'](_0x33a797,{'params':{'objectID':_0x211efe[_0x3c4deb(0x105)],'unitID':_0x211efe[_0x3c4deb(0xd9)]}}))['body']['collaborators'];}async[_0x2343e6(0x24b)](_0x4c5917){var _0x4b537d=_0x2343e6;const _0x5200a4=this[_0x4b537d(0x1ef)]()+_0x4b537d(0x304);await this['_HTTPService'][_0x4b537d(0x355)](_0x5200a4,{'body':_0x4c5917});}},_0x9ad254[_0x2343e6(0x2ed)]=_0x42e6d7([_0x9ba1b3(0x0,_0x22bf6a[_0x2343e6(0x274)](_0x1d3e98[_0x2343e6(0x38a)])),_0x9ba1b3(0x1,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x2e7)]))],_0x9ad254[_0x2343e6(0x2ed)]);var _0x128a92=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x38aaa2(_0x5a0400){var _0x42afc6=_0x2343e6;return _0x5a0400&&_0x5a0400['__esModule']&&Object[_0x42afc6(0x14f)][_0x42afc6(0x2b6)][_0x42afc6(0x2c9)](_0x5a0400,'default')?_0x5a0400[_0x42afc6(0x1c4)]:_0x5a0400;}var _0x4980d1={'exports':{}};function _0x364c35(_0x183112){var _0x4fbd18=_0x2343e6;throw new Error(_0x4fbd18(0x33e)+_0x183112+_0x4fbd18(0x35d));}var _0x1c5b8c={'exports':{}},_0x2cfdd6=_0x1c5b8c[_0x2343e6(0x27f)],_0x2d7848;function _0x4aee35(){return _0x2d7848||(_0x2d7848=0x1,function(_0x40c85e,_0x152f73){(function(_0x36fe1b,_0x5aa27f){var _0xb657a9=_0x2774;_0x40c85e[_0xb657a9(0x27f)]=_0x5aa27f();}(_0x2cfdd6,function(){var _0x54bb61=_0x54bb61||function(_0xd6ed26,_0x264582){var _0x57efb9=_0x2774,_0x3e439c;if(typeof window<'u'&&window[_0x57efb9(0x2e5)]&&(_0x3e439c=window[_0x57efb9(0x2e5)]),typeof self<'u'&&self['crypto']&&(_0x3e439c=self[_0x57efb9(0x2e5)]),typeof globalThis<'u'&&globalThis[_0x57efb9(0x2e5)]&&(_0x3e439c=globalThis['crypto']),!_0x3e439c&&typeof window<'u'&&window[_0x57efb9(0x10f)]&&(_0x3e439c=window['msCrypto']),!_0x3e439c&&typeof _0x128a92<'u'&&_0x128a92[_0x57efb9(0x2e5)]&&(_0x3e439c=_0x128a92['crypto']),!_0x3e439c&&typeof _0x364c35=='function')try{_0x3e439c=require('crypto');}catch{}var _0x3e0e50=function(){var _0x4e379f=_0x57efb9;if(_0x3e439c){if(typeof _0x3e439c['getRandomValues']==_0x4e379f(0x137))try{return _0x3e439c[_0x4e379f(0x142)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3e439c[_0x4e379f(0x121)]==_0x4e379f(0x137))try{return _0x3e439c['randomBytes'](0x4)[_0x4e379f(0x2eb)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x31213d=Object[_0x57efb9(0x126)]||(function(){function _0x591a63(){}return function(_0x1212b3){var _0x2edfa2=_0x2774,_0x436463;return _0x591a63[_0x2edfa2(0x14f)]=_0x1212b3,_0x436463=new _0x591a63(),_0x591a63[_0x2edfa2(0x14f)]=null,_0x436463;};}()),_0x23f8ba={},_0x1af6b1=_0x23f8ba[_0x57efb9(0x160)]={},_0x5bff59=_0x1af6b1[_0x57efb9(0x307)]=(function(){return{'extend':function(_0x16150b){var _0xf623d6=_0x2774,_0x34158e=_0x31213d(this);return _0x16150b&&_0x34158e[_0xf623d6(0x2d7)](_0x16150b),(!_0x34158e[_0xf623d6(0x2b6)](_0xf623d6(0x203))||this[_0xf623d6(0x203)]===_0x34158e[_0xf623d6(0x203)])&&(_0x34158e[_0xf623d6(0x203)]=function(){var _0x2dd93c=_0xf623d6;_0x34158e[_0x2dd93c(0x31a)][_0x2dd93c(0x203)][_0x2dd93c(0x2ca)](this,arguments);}),_0x34158e[_0xf623d6(0x203)][_0xf623d6(0x14f)]=_0x34158e,_0x34158e[_0xf623d6(0x31a)]=this,_0x34158e;},'create':function(){var _0x103fdb=_0x2774,_0x2b35e9=this[_0x103fdb(0x1d9)]();return _0x2b35e9[_0x103fdb(0x203)][_0x103fdb(0x2ca)](_0x2b35e9,arguments),_0x2b35e9;},'init':function(){},'mixIn':function(_0x133b17){var _0x23aeca=_0x2774;for(var _0x35c274 in _0x133b17)_0x133b17[_0x23aeca(0x2b6)](_0x35c274)&&(this[_0x35c274]=_0x133b17[_0x35c274]);_0x133b17[_0x23aeca(0x2b6)](_0x23aeca(0x310))&&(this[_0x23aeca(0x310)]=_0x133b17[_0x23aeca(0x310)]);},'clone':function(){var _0xedaf58=_0x2774;return this['init']['prototype'][_0xedaf58(0x1d9)](this);}};}()),_0x5a16f4=_0x1af6b1['WordArray']=_0x5bff59[_0x57efb9(0x1d9)]({'init':function(_0xaa7d6c,_0x2b8539){var _0x32a3cd=_0x57efb9;_0xaa7d6c=this['words']=_0xaa7d6c||[],_0x2b8539!=_0x264582?this[_0x32a3cd(0xee)]=_0x2b8539:this[_0x32a3cd(0xee)]=_0xaa7d6c[_0x32a3cd(0xe7)]*0x4;},'toString':function(_0x5024fd){return(_0x5024fd||_0x313b43)['stringify'](this);},'concat':function(_0x420f2a){var _0x4175a1=_0x57efb9,_0x12357b=this[_0x4175a1(0x425)],_0x2947ee=_0x420f2a[_0x4175a1(0x425)],_0x27b0b5=this[_0x4175a1(0xee)],_0x5eb843=_0x420f2a[_0x4175a1(0xee)];if(this[_0x4175a1(0x1aa)](),_0x27b0b5%0x4)for(var _0x5211b3=0x0;_0x5211b3<_0x5eb843;_0x5211b3++){var _0x19ee87=_0x2947ee[_0x5211b3>>>0x2]>>>0x18-_0x5211b3%0x4*0x8&0xff;_0x12357b[_0x27b0b5+_0x5211b3>>>0x2]|=_0x19ee87<<0x18-(_0x27b0b5+_0x5211b3)%0x4*0x8;}else{for(var _0x42a3dd=0x0;_0x42a3dd<_0x5eb843;_0x42a3dd+=0x4)_0x12357b[_0x27b0b5+_0x42a3dd>>>0x2]=_0x2947ee[_0x42a3dd>>>0x2];}return this['sigBytes']+=_0x5eb843,this;},'clamp':function(){var _0x5627a7=_0x57efb9,_0x51884f=this[_0x5627a7(0x425)],_0x5a417f=this[_0x5627a7(0xee)];_0x51884f[_0x5a417f>>>0x2]&=0xffffffff<<0x20-_0x5a417f%0x4*0x8,_0x51884f['length']=_0xd6ed26['ceil'](_0x5a417f/0x4);},'clone':function(){var _0x342765=_0x57efb9,_0x435ddb=_0x5bff59[_0x342765(0x35a)]['call'](this);return _0x435ddb[_0x342765(0x425)]=this[_0x342765(0x425)][_0x342765(0x234)](0x0),_0x435ddb;},'random':function(_0x4663e5){var _0x36bea3=_0x57efb9;for(var _0x3022d1=[],_0x52941f=0x0;_0x52941f<_0x4663e5;_0x52941f+=0x4)_0x3022d1[_0x36bea3(0x2d1)](_0x3e0e50());return new _0x5a16f4[(_0x36bea3(0x203))](_0x3022d1,_0x4663e5);}}),_0x1c6b79=_0x23f8ba[_0x57efb9(0x174)]={},_0x313b43=_0x1c6b79[_0x57efb9(0xde)]={'stringify':function(_0x5de00e){var _0x3f384c=_0x57efb9;for(var _0x3493cd=_0x5de00e[_0x3f384c(0x425)],_0x47d84c=_0x5de00e[_0x3f384c(0xee)],_0x5bf83e=[],_0x353058=0x0;_0x353058<_0x47d84c;_0x353058++){var _0x373281=_0x3493cd[_0x353058>>>0x2]>>>0x18-_0x353058%0x4*0x8&0xff;_0x5bf83e[_0x3f384c(0x2d1)]((_0x373281>>>0x4)['toString'](0x10)),_0x5bf83e['push']((_0x373281&0xf)[_0x3f384c(0x310)](0x10));}return _0x5bf83e[_0x3f384c(0x1f4)]('');},'parse':function(_0x1c217d){var _0x1b08b8=_0x57efb9;for(var _0x5809e3=_0x1c217d['length'],_0x44f1f5=[],_0x2e23d0=0x0;_0x2e23d0<_0x5809e3;_0x2e23d0+=0x2)_0x44f1f5[_0x2e23d0>>>0x3]|=parseInt(_0x1c217d[_0x1b08b8(0x41a)](_0x2e23d0,0x2),0x10)<<0x18-_0x2e23d0%0x8*0x4;return new _0x5a16f4[(_0x1b08b8(0x203))](_0x44f1f5,_0x5809e3/0x2);}},_0x2ae6fc=_0x1c6b79[_0x57efb9(0x43c)]={'stringify':function(_0x122c7f){var _0x10c21f=_0x57efb9;for(var _0x1eafe2=_0x122c7f[_0x10c21f(0x425)],_0x1bb031=_0x122c7f[_0x10c21f(0xee)],_0x2433ce=[],_0x27df83=0x0;_0x27df83<_0x1bb031;_0x27df83++){var _0x5cb433=_0x1eafe2[_0x27df83>>>0x2]>>>0x18-_0x27df83%0x4*0x8&0xff;_0x2433ce[_0x10c21f(0x2d1)](String[_0x10c21f(0x150)](_0x5cb433));}return _0x2433ce[_0x10c21f(0x1f4)]('');},'parse':function(_0x10694b){var _0x5a8866=_0x57efb9;for(var _0x4ba166=_0x10694b[_0x5a8866(0xe7)],_0x20c963=[],_0xea738d=0x0;_0xea738d<_0x4ba166;_0xea738d++)_0x20c963[_0xea738d>>>0x2]|=(_0x10694b[_0x5a8866(0x21b)](_0xea738d)&0xff)<<0x18-_0xea738d%0x4*0x8;return new _0x5a16f4[(_0x5a8866(0x203))](_0x20c963,_0x4ba166);}},_0x206730=_0x1c6b79[_0x57efb9(0x325)]={'stringify':function(_0x53ca5c){var _0x54e5f7=_0x57efb9;try{return decodeURIComponent(escape(_0x2ae6fc[_0x54e5f7(0x338)](_0x53ca5c)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x22f1e8){var _0x5aed43=_0x57efb9;return _0x2ae6fc[_0x5aed43(0x13f)](unescape(encodeURIComponent(_0x22f1e8)));}},_0x3e36b1=_0x1af6b1[_0x57efb9(0x395)]=_0x5bff59['extend']({'reset':function(){var _0x5bf6cd=_0x57efb9;this[_0x5bf6cd(0x1da)]=new _0x5a16f4[(_0x5bf6cd(0x203))](),this[_0x5bf6cd(0x40e)]=0x0;},'_append':function(_0x54b55b){var _0x24dc8f=_0x57efb9;typeof _0x54b55b==_0x24dc8f(0x280)&&(_0x54b55b=_0x206730[_0x24dc8f(0x13f)](_0x54b55b)),this[_0x24dc8f(0x1da)][_0x24dc8f(0x3c4)](_0x54b55b),this[_0x24dc8f(0x40e)]+=_0x54b55b[_0x24dc8f(0xee)];},'_process':function(_0x582feb){var _0x2c162b=_0x57efb9,_0x5d4776,_0x836f12=this[_0x2c162b(0x1da)],_0x2e57a0=_0x836f12['words'],_0x415c7a=_0x836f12[_0x2c162b(0xee)],_0x4879fc=this[_0x2c162b(0x13a)],_0x5a7923=_0x4879fc*0x4,_0x46aa5f=_0x415c7a/_0x5a7923;_0x582feb?_0x46aa5f=_0xd6ed26['ceil'](_0x46aa5f):_0x46aa5f=_0xd6ed26[_0x2c162b(0x12d)]((_0x46aa5f|0x0)-this[_0x2c162b(0x457)],0x0);var _0x16b125=_0x46aa5f*_0x4879fc,_0x296ed0=_0xd6ed26[_0x2c162b(0x295)](_0x16b125*0x4,_0x415c7a);if(_0x16b125){for(var _0x1feff0=0x0;_0x1feff0<_0x16b125;_0x1feff0+=_0x4879fc)this[_0x2c162b(0x2c1)](_0x2e57a0,_0x1feff0);_0x5d4776=_0x2e57a0['splice'](0x0,_0x16b125),_0x836f12[_0x2c162b(0xee)]-=_0x296ed0;}return new _0x5a16f4[(_0x2c162b(0x203))](_0x5d4776,_0x296ed0);},'clone':function(){var _0x3950db=_0x57efb9,_0x3ea102=_0x5bff59[_0x3950db(0x35a)][_0x3950db(0x2c9)](this);return _0x3ea102[_0x3950db(0x1da)]=this[_0x3950db(0x1da)][_0x3950db(0x35a)](),_0x3ea102;},'_minBufferSize':0x0});_0x1af6b1['Hasher']=_0x3e36b1['extend']({'cfg':_0x5bff59['extend'](),'init':function(_0x3253b6){var _0x2979a3=_0x57efb9;this[_0x2979a3(0x292)]=this['cfg'][_0x2979a3(0x1d9)](_0x3253b6),this[_0x2979a3(0x23f)]();},'reset':function(){var _0x37bd8e=_0x57efb9;_0x3e36b1['reset']['call'](this),this[_0x37bd8e(0x38c)]();},'update':function(_0x429641){var _0x3a0be7=_0x57efb9;return this['_append'](_0x429641),this[_0x3a0be7(0x208)](),this;},'finalize':function(_0x35e0c0){var _0x435b91=_0x57efb9;_0x35e0c0&&this[_0x435b91(0x101)](_0x35e0c0);var _0x2bd58b=this[_0x435b91(0x2f8)]();return _0x2bd58b;},'blockSize':0x10,'_createHelper':function(_0x19579c){return function(_0xf0c533,_0x3044df){var _0x55d0ec=_0x2774;return new _0x19579c[(_0x55d0ec(0x203))](_0x3044df)['finalize'](_0xf0c533);};},'_createHmacHelper':function(_0x5f2b29){return function(_0x29743c,_0x5c84e7){var _0x5d9556=_0x2774;return new _0x22f613['HMAC'][(_0x5d9556(0x203))](_0x5f2b29,_0x5c84e7)[_0x5d9556(0x245)](_0x29743c);};}});var _0x22f613=_0x23f8ba['algo']={};return _0x23f8ba;}(Math);return _0x54bb61;}));}(_0x1c5b8c)),_0x1c5b8c['exports'];}var _0x2dba7b={'exports':{}},_0x1d7b1d=_0x2dba7b[_0x2343e6(0x27f)],_0x36fc2c;function _0x554370(){var _0x522778=_0x2343e6;return _0x36fc2c||(_0x36fc2c=0x1,function(_0x22b8a2,_0x29abd6){(function(_0xcd0c98,_0x2d2ce8){var _0x5db2bc=_0x2774;_0x22b8a2[_0x5db2bc(0x27f)]=_0x2d2ce8(_0x4aee35());}(_0x1d7b1d,function(_0x2b6397){var _0x1e8d18=_0x2774;return(function(){var _0x5be860=_0x2774,_0x209b80=_0x2b6397,_0x2ec1b0=_0x209b80[_0x5be860(0x160)],_0x6157af=_0x2ec1b0[_0x5be860(0x3ee)],_0x5f50a1=_0x209b80[_0x5be860(0x174)];_0x5f50a1[_0x5be860(0xed)]={'stringify':function(_0x5792f6){var _0x4f5059=_0x5be860,_0x39c961=_0x5792f6[_0x4f5059(0x425)],_0xbbf823=_0x5792f6[_0x4f5059(0xee)],_0x3c6ff9=this['_map'];_0x5792f6[_0x4f5059(0x1aa)]();for(var _0x434630=[],_0x42f74a=0x0;_0x42f74a<_0xbbf823;_0x42f74a+=0x3)for(var _0x9d6c93=_0x39c961[_0x42f74a>>>0x2]>>>0x18-_0x42f74a%0x4*0x8&0xff,_0x3c11cc=_0x39c961[_0x42f74a+0x1>>>0x2]>>>0x18-(_0x42f74a+0x1)%0x4*0x8&0xff,_0x5ea16e=_0x39c961[_0x42f74a+0x2>>>0x2]>>>0x18-(_0x42f74a+0x2)%0x4*0x8&0xff,_0x842d8e=_0x9d6c93<<0x10|_0x3c11cc<<0x8|_0x5ea16e,_0x141865=0x0;_0x141865<0x4&&_0x42f74a+_0x141865*0.75<_0xbbf823;_0x141865++)_0x434630['push'](_0x3c6ff9[_0x4f5059(0x1b6)](_0x842d8e>>>0x6*(0x3-_0x141865)&0x3f));var _0x5f141f=_0x3c6ff9['charAt'](0x40);if(_0x5f141f){for(;_0x434630[_0x4f5059(0xe7)]%0x4;)_0x434630[_0x4f5059(0x2d1)](_0x5f141f);}return _0x434630[_0x4f5059(0x1f4)]('');},'parse':function(_0x5a1a50){var _0x2e4ba3=_0x5be860,_0x3dac63=_0x5a1a50[_0x2e4ba3(0xe7)],_0x1f9f08=this[_0x2e4ba3(0x37e)],_0x54ce31=this[_0x2e4ba3(0x2e6)];if(!_0x54ce31){_0x54ce31=this[_0x2e4ba3(0x2e6)]=[];for(var _0x45df41=0x0;_0x45df41<_0x1f9f08[_0x2e4ba3(0xe7)];_0x45df41++)_0x54ce31[_0x1f9f08[_0x2e4ba3(0x21b)](_0x45df41)]=_0x45df41;}var _0x1db6ad=_0x1f9f08[_0x2e4ba3(0x1b6)](0x40);if(_0x1db6ad){var _0x189599=_0x5a1a50['indexOf'](_0x1db6ad);_0x189599!==-0x1&&(_0x3dac63=_0x189599);}return _0x45d4bd(_0x5a1a50,_0x3dac63,_0x54ce31);},'_map':_0x5be860(0x36b)};function _0x45d4bd(_0x26f432,_0x58b1fc,_0x5870e7){var _0x517c93=_0x5be860;for(var _0x1f3a3f=[],_0x3937be=0x0,_0x368914=0x0;_0x368914<_0x58b1fc;_0x368914++)if(_0x368914%0x4){var _0x2e5607=_0x5870e7[_0x26f432[_0x517c93(0x21b)](_0x368914-0x1)]<<_0x368914%0x4*0x2,_0x4c5997=_0x5870e7[_0x26f432[_0x517c93(0x21b)](_0x368914)]>>>0x6-_0x368914%0x4*0x2,_0x4a1649=_0x2e5607|_0x4c5997;_0x1f3a3f[_0x3937be>>>0x2]|=_0x4a1649<<0x18-_0x3937be%0x4*0x8,_0x3937be++;}return _0x6157af[_0x517c93(0x126)](_0x1f3a3f,_0x3937be);}}()),_0x2b6397[_0x1e8d18(0x174)]['Base64'];}));}(_0x2dba7b)),_0x2dba7b[_0x522778(0x27f)];}var _0x42b82a={'exports':{}},_0x277572=_0x42b82a[_0x2343e6(0x27f)],_0x594869;function _0x2f946a(){var _0x131d75=_0x2343e6;return _0x594869||(_0x594869=0x1,function(_0x302567,_0x33df1a){(function(_0x5b8052,_0x17471b){var _0x3f280f=_0x2774;_0x302567[_0x3f280f(0x27f)]=_0x17471b(_0x4aee35());}(_0x277572,function(_0x148b77){var _0x198fa3=_0x2774;return function(_0x3edcad){var _0x177053=_0x2774,_0x29ce4e=_0x148b77,_0x42763a=_0x29ce4e[_0x177053(0x160)],_0x1abeb7=_0x42763a[_0x177053(0x3ee)],_0x47fe5b=_0x42763a[_0x177053(0x343)],_0x5e5ec4=_0x29ce4e[_0x177053(0x202)],_0x40bcc9=[];(function(){var _0x10c85e=_0x177053;for(var _0x451f40=0x0;_0x451f40<0x40;_0x451f40++)_0x40bcc9[_0x451f40]=_0x3edcad[_0x10c85e(0x2bb)](_0x3edcad['sin'](_0x451f40+0x1))*0x100000000|0x0;}());var _0x354a5a=_0x5e5ec4[_0x177053(0x2fd)]=_0x47fe5b['extend']({'_doReset':function(){var _0x2790cd=_0x177053;this[_0x2790cd(0x240)]=new _0x1abeb7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x441411,_0x38c9a8){var _0x130cad=_0x177053;for(var _0x3fac9e=0x0;_0x3fac9e<0x10;_0x3fac9e++){var _0x4f36ca=_0x38c9a8+_0x3fac9e,_0x4a1837=_0x441411[_0x4f36ca];_0x441411[_0x4f36ca]=(_0x4a1837<<0x8|_0x4a1837>>>0x18)&0xff00ff|(_0x4a1837<<0x18|_0x4a1837>>>0x8)&0xff00ff00;}var _0x2aca0f=this['_hash'][_0x130cad(0x425)],_0x4b4bf9=_0x441411[_0x38c9a8+0x0],_0x220baf=_0x441411[_0x38c9a8+0x1],_0x3f1b8e=_0x441411[_0x38c9a8+0x2],_0x241118=_0x441411[_0x38c9a8+0x3],_0x4b1ac9=_0x441411[_0x38c9a8+0x4],_0x8df17c=_0x441411[_0x38c9a8+0x5],_0x418bcd=_0x441411[_0x38c9a8+0x6],_0x29d838=_0x441411[_0x38c9a8+0x7],_0x431639=_0x441411[_0x38c9a8+0x8],_0x4aaabf=_0x441411[_0x38c9a8+0x9],_0x3499b2=_0x441411[_0x38c9a8+0xa],_0x166683=_0x441411[_0x38c9a8+0xb],_0x396747=_0x441411[_0x38c9a8+0xc],_0x3cd097=_0x441411[_0x38c9a8+0xd],_0x2b0de8=_0x441411[_0x38c9a8+0xe],_0x257cda=_0x441411[_0x38c9a8+0xf],_0x1d35fe=_0x2aca0f[0x0],_0x44ab63=_0x2aca0f[0x1],_0x1e01df=_0x2aca0f[0x2],_0x5de632=_0x2aca0f[0x3];_0x1d35fe=_0x2a75e1(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x4b4bf9,0x7,_0x40bcc9[0x0]),_0x5de632=_0x2a75e1(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x220baf,0xc,_0x40bcc9[0x1]),_0x1e01df=_0x2a75e1(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x3f1b8e,0x11,_0x40bcc9[0x2]),_0x44ab63=_0x2a75e1(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x241118,0x16,_0x40bcc9[0x3]),_0x1d35fe=_0x2a75e1(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x4b1ac9,0x7,_0x40bcc9[0x4]),_0x5de632=_0x2a75e1(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x8df17c,0xc,_0x40bcc9[0x5]),_0x1e01df=_0x2a75e1(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x418bcd,0x11,_0x40bcc9[0x6]),_0x44ab63=_0x2a75e1(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x29d838,0x16,_0x40bcc9[0x7]),_0x1d35fe=_0x2a75e1(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x431639,0x7,_0x40bcc9[0x8]),_0x5de632=_0x2a75e1(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x4aaabf,0xc,_0x40bcc9[0x9]),_0x1e01df=_0x2a75e1(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x3499b2,0x11,_0x40bcc9[0xa]),_0x44ab63=_0x2a75e1(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x166683,0x16,_0x40bcc9[0xb]),_0x1d35fe=_0x2a75e1(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x396747,0x7,_0x40bcc9[0xc]),_0x5de632=_0x2a75e1(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x3cd097,0xc,_0x40bcc9[0xd]),_0x1e01df=_0x2a75e1(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x2b0de8,0x11,_0x40bcc9[0xe]),_0x44ab63=_0x2a75e1(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x257cda,0x16,_0x40bcc9[0xf]),_0x1d35fe=_0x423577(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x220baf,0x5,_0x40bcc9[0x10]),_0x5de632=_0x423577(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x418bcd,0x9,_0x40bcc9[0x11]),_0x1e01df=_0x423577(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x166683,0xe,_0x40bcc9[0x12]),_0x44ab63=_0x423577(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x4b4bf9,0x14,_0x40bcc9[0x13]),_0x1d35fe=_0x423577(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x8df17c,0x5,_0x40bcc9[0x14]),_0x5de632=_0x423577(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x3499b2,0x9,_0x40bcc9[0x15]),_0x1e01df=_0x423577(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x257cda,0xe,_0x40bcc9[0x16]),_0x44ab63=_0x423577(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x4b1ac9,0x14,_0x40bcc9[0x17]),_0x1d35fe=_0x423577(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x4aaabf,0x5,_0x40bcc9[0x18]),_0x5de632=_0x423577(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x2b0de8,0x9,_0x40bcc9[0x19]),_0x1e01df=_0x423577(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x241118,0xe,_0x40bcc9[0x1a]),_0x44ab63=_0x423577(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x431639,0x14,_0x40bcc9[0x1b]),_0x1d35fe=_0x423577(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x3cd097,0x5,_0x40bcc9[0x1c]),_0x5de632=_0x423577(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x3f1b8e,0x9,_0x40bcc9[0x1d]),_0x1e01df=_0x423577(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x29d838,0xe,_0x40bcc9[0x1e]),_0x44ab63=_0x423577(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x396747,0x14,_0x40bcc9[0x1f]),_0x1d35fe=_0xcec8f5(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x8df17c,0x4,_0x40bcc9[0x20]),_0x5de632=_0xcec8f5(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x431639,0xb,_0x40bcc9[0x21]),_0x1e01df=_0xcec8f5(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x166683,0x10,_0x40bcc9[0x22]),_0x44ab63=_0xcec8f5(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x2b0de8,0x17,_0x40bcc9[0x23]),_0x1d35fe=_0xcec8f5(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x220baf,0x4,_0x40bcc9[0x24]),_0x5de632=_0xcec8f5(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x4b1ac9,0xb,_0x40bcc9[0x25]),_0x1e01df=_0xcec8f5(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x29d838,0x10,_0x40bcc9[0x26]),_0x44ab63=_0xcec8f5(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x3499b2,0x17,_0x40bcc9[0x27]),_0x1d35fe=_0xcec8f5(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x3cd097,0x4,_0x40bcc9[0x28]),_0x5de632=_0xcec8f5(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x4b4bf9,0xb,_0x40bcc9[0x29]),_0x1e01df=_0xcec8f5(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x241118,0x10,_0x40bcc9[0x2a]),_0x44ab63=_0xcec8f5(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x418bcd,0x17,_0x40bcc9[0x2b]),_0x1d35fe=_0xcec8f5(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x4aaabf,0x4,_0x40bcc9[0x2c]),_0x5de632=_0xcec8f5(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x396747,0xb,_0x40bcc9[0x2d]),_0x1e01df=_0xcec8f5(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x257cda,0x10,_0x40bcc9[0x2e]),_0x44ab63=_0xcec8f5(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x3f1b8e,0x17,_0x40bcc9[0x2f]),_0x1d35fe=_0x2c15c6(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x4b4bf9,0x6,_0x40bcc9[0x30]),_0x5de632=_0x2c15c6(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x29d838,0xa,_0x40bcc9[0x31]),_0x1e01df=_0x2c15c6(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x2b0de8,0xf,_0x40bcc9[0x32]),_0x44ab63=_0x2c15c6(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x8df17c,0x15,_0x40bcc9[0x33]),_0x1d35fe=_0x2c15c6(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x396747,0x6,_0x40bcc9[0x34]),_0x5de632=_0x2c15c6(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x241118,0xa,_0x40bcc9[0x35]),_0x1e01df=_0x2c15c6(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x3499b2,0xf,_0x40bcc9[0x36]),_0x44ab63=_0x2c15c6(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x220baf,0x15,_0x40bcc9[0x37]),_0x1d35fe=_0x2c15c6(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x431639,0x6,_0x40bcc9[0x38]),_0x5de632=_0x2c15c6(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x257cda,0xa,_0x40bcc9[0x39]),_0x1e01df=_0x2c15c6(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x418bcd,0xf,_0x40bcc9[0x3a]),_0x44ab63=_0x2c15c6(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x3cd097,0x15,_0x40bcc9[0x3b]),_0x1d35fe=_0x2c15c6(_0x1d35fe,_0x44ab63,_0x1e01df,_0x5de632,_0x4b1ac9,0x6,_0x40bcc9[0x3c]),_0x5de632=_0x2c15c6(_0x5de632,_0x1d35fe,_0x44ab63,_0x1e01df,_0x166683,0xa,_0x40bcc9[0x3d]),_0x1e01df=_0x2c15c6(_0x1e01df,_0x5de632,_0x1d35fe,_0x44ab63,_0x3f1b8e,0xf,_0x40bcc9[0x3e]),_0x44ab63=_0x2c15c6(_0x44ab63,_0x1e01df,_0x5de632,_0x1d35fe,_0x4aaabf,0x15,_0x40bcc9[0x3f]),_0x2aca0f[0x0]=_0x2aca0f[0x0]+_0x1d35fe|0x0,_0x2aca0f[0x1]=_0x2aca0f[0x1]+_0x44ab63|0x0,_0x2aca0f[0x2]=_0x2aca0f[0x2]+_0x1e01df|0x0,_0x2aca0f[0x3]=_0x2aca0f[0x3]+_0x5de632|0x0;},'_doFinalize':function(){var _0xdcadfb=_0x177053,_0x43bfed=this[_0xdcadfb(0x1da)],_0x108f2e=_0x43bfed[_0xdcadfb(0x425)],_0x4cc99c=this[_0xdcadfb(0x40e)]*0x8,_0x13aa36=_0x43bfed['sigBytes']*0x8;_0x108f2e[_0x13aa36>>>0x5]|=0x80<<0x18-_0x13aa36%0x20;var _0x65e6c9=_0x3edcad[_0xdcadfb(0x344)](_0x4cc99c/0x100000000),_0x29bda1=_0x4cc99c;_0x108f2e[(_0x13aa36+0x40>>>0x9<<0x4)+0xf]=(_0x65e6c9<<0x8|_0x65e6c9>>>0x18)&0xff00ff|(_0x65e6c9<<0x18|_0x65e6c9>>>0x8)&0xff00ff00,_0x108f2e[(_0x13aa36+0x40>>>0x9<<0x4)+0xe]=(_0x29bda1<<0x8|_0x29bda1>>>0x18)&0xff00ff|(_0x29bda1<<0x18|_0x29bda1>>>0x8)&0xff00ff00,_0x43bfed['sigBytes']=(_0x108f2e[_0xdcadfb(0xe7)]+0x1)*0x4,this[_0xdcadfb(0x208)]();for(var _0x5da529=this[_0xdcadfb(0x240)],_0xd1d36c=_0x5da529['words'],_0x58757e=0x0;_0x58757e<0x4;_0x58757e++){var _0x10a608=_0xd1d36c[_0x58757e];_0xd1d36c[_0x58757e]=(_0x10a608<<0x8|_0x10a608>>>0x18)&0xff00ff|(_0x10a608<<0x18|_0x10a608>>>0x8)&0xff00ff00;}return _0x5da529;},'clone':function(){var _0x2f5635=_0x177053,_0x274a5a=_0x47fe5b['clone'][_0x2f5635(0x2c9)](this);return _0x274a5a['_hash']=this[_0x2f5635(0x240)]['clone'](),_0x274a5a;}});function _0x2a75e1(_0x46623c,_0x235eb2,_0x3ad2a5,_0x54c515,_0x2cb510,_0x1f7047,_0x12ee32){var _0x32e328=_0x46623c+(_0x235eb2&_0x3ad2a5|~_0x235eb2&_0x54c515)+_0x2cb510+_0x12ee32;return(_0x32e328<<_0x1f7047|_0x32e328>>>0x20-_0x1f7047)+_0x235eb2;}function _0x423577(_0xd1c509,_0x5d17ae,_0x5c18f5,_0x1258af,_0x44385c,_0x19cc8d,_0x5f1072){var _0x5d8d67=_0xd1c509+(_0x5d17ae&_0x1258af|_0x5c18f5&~_0x1258af)+_0x44385c+_0x5f1072;return(_0x5d8d67<<_0x19cc8d|_0x5d8d67>>>0x20-_0x19cc8d)+_0x5d17ae;}function _0xcec8f5(_0x3f655c,_0x590eef,_0x5bea88,_0x43d970,_0x324e55,_0x14604d,_0x1f27e9){var _0x3bda32=_0x3f655c+(_0x590eef^_0x5bea88^_0x43d970)+_0x324e55+_0x1f27e9;return(_0x3bda32<<_0x14604d|_0x3bda32>>>0x20-_0x14604d)+_0x590eef;}function _0x2c15c6(_0x52e9c9,_0x177ae7,_0x56f1e4,_0x3cd6a1,_0xf342fd,_0x47a283,_0x25d15a){var _0xfb65ee=_0x52e9c9+(_0x56f1e4^(_0x177ae7|~_0x3cd6a1))+_0xf342fd+_0x25d15a;return(_0xfb65ee<<_0x47a283|_0xfb65ee>>>0x20-_0x47a283)+_0x177ae7;}_0x29ce4e[_0x177053(0x2fd)]=_0x47fe5b['_createHelper'](_0x354a5a),_0x29ce4e[_0x177053(0xe6)]=_0x47fe5b[_0x177053(0x143)](_0x354a5a);}(Math),_0x148b77[_0x198fa3(0x2fd)];}));}(_0x42b82a)),_0x42b82a[_0x131d75(0x27f)];}var _0x369c06={'exports':{}},_0x35ebca={'exports':{}},_0x1ab5ca=_0x35ebca['exports'],_0x32d791;function _0x186c99(){var _0x2bbfd3=_0x2343e6;return _0x32d791||(_0x32d791=0x1,function(_0x360c42,_0x28526e){(function(_0x434cf7,_0xb6d4db){var _0x1bd4e0=_0x2774;_0x360c42[_0x1bd4e0(0x27f)]=_0xb6d4db(_0x4aee35());}(_0x1ab5ca,function(_0x43e973){var _0x443384=_0x2774;return(function(){var _0x340134=_0x2774,_0x5669a9=_0x43e973,_0xb72a7a=_0x5669a9[_0x340134(0x160)],_0x1df207=_0xb72a7a[_0x340134(0x3ee)],_0x33fab5=_0xb72a7a[_0x340134(0x343)],_0x1e02d5=_0x5669a9[_0x340134(0x202)],_0x129760=[],_0x94dbc0=_0x1e02d5[_0x340134(0x181)]=_0x33fab5[_0x340134(0x1d9)]({'_doReset':function(){var _0xe3ff78=_0x340134;this['_hash']=new _0x1df207[(_0xe3ff78(0x203))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x57c6aa,_0x95d0a5){var _0x36dcd0=_0x340134;for(var _0x23a857=this[_0x36dcd0(0x240)][_0x36dcd0(0x425)],_0x2c3729=_0x23a857[0x0],_0x673b29=_0x23a857[0x1],_0x232ee2=_0x23a857[0x2],_0x158075=_0x23a857[0x3],_0x4c672d=_0x23a857[0x4],_0x1c6347=0x0;_0x1c6347<0x50;_0x1c6347++){if(_0x1c6347<0x10)_0x129760[_0x1c6347]=_0x57c6aa[_0x95d0a5+_0x1c6347]|0x0;else{var _0x416b22=_0x129760[_0x1c6347-0x3]^_0x129760[_0x1c6347-0x8]^_0x129760[_0x1c6347-0xe]^_0x129760[_0x1c6347-0x10];_0x129760[_0x1c6347]=_0x416b22<<0x1|_0x416b22>>>0x1f;}var _0x22972a=(_0x2c3729<<0x5|_0x2c3729>>>0x1b)+_0x4c672d+_0x129760[_0x1c6347];_0x1c6347<0x14?_0x22972a+=(_0x673b29&_0x232ee2|~_0x673b29&_0x158075)+0x5a827999:_0x1c6347<0x28?_0x22972a+=(_0x673b29^_0x232ee2^_0x158075)+0x6ed9eba1:_0x1c6347<0x3c?_0x22972a+=(_0x673b29&_0x232ee2|_0x673b29&_0x158075|_0x232ee2&_0x158075)-0x70e44324:_0x22972a+=(_0x673b29^_0x232ee2^_0x158075)-0x359d3e2a,_0x4c672d=_0x158075,_0x158075=_0x232ee2,_0x232ee2=_0x673b29<<0x1e|_0x673b29>>>0x2,_0x673b29=_0x2c3729,_0x2c3729=_0x22972a;}_0x23a857[0x0]=_0x23a857[0x0]+_0x2c3729|0x0,_0x23a857[0x1]=_0x23a857[0x1]+_0x673b29|0x0,_0x23a857[0x2]=_0x23a857[0x2]+_0x232ee2|0x0,_0x23a857[0x3]=_0x23a857[0x3]+_0x158075|0x0,_0x23a857[0x4]=_0x23a857[0x4]+_0x4c672d|0x0;},'_doFinalize':function(){var _0x54df36=_0x340134,_0x5074a3=this[_0x54df36(0x1da)],_0x28a09a=_0x5074a3[_0x54df36(0x425)],_0x45bde5=this['_nDataBytes']*0x8,_0x5c6bca=_0x5074a3[_0x54df36(0xee)]*0x8;return _0x28a09a[_0x5c6bca>>>0x5]|=0x80<<0x18-_0x5c6bca%0x20,_0x28a09a[(_0x5c6bca+0x40>>>0x9<<0x4)+0xe]=Math[_0x54df36(0x344)](_0x45bde5/0x100000000),_0x28a09a[(_0x5c6bca+0x40>>>0x9<<0x4)+0xf]=_0x45bde5,_0x5074a3[_0x54df36(0xee)]=_0x28a09a[_0x54df36(0xe7)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0xa416ff=_0x340134,_0x4acfbf=_0x33fab5[_0xa416ff(0x35a)][_0xa416ff(0x2c9)](this);return _0x4acfbf[_0xa416ff(0x240)]=this[_0xa416ff(0x240)][_0xa416ff(0x35a)](),_0x4acfbf;}});_0x5669a9[_0x340134(0x181)]=_0x33fab5[_0x340134(0x167)](_0x94dbc0),_0x5669a9[_0x340134(0x109)]=_0x33fab5[_0x340134(0x143)](_0x94dbc0);}()),_0x43e973[_0x443384(0x181)];}));}(_0x35ebca)),_0x35ebca[_0x2bbfd3(0x27f)];}var _0x47abf2={'exports':{}},_0x2e7e20=_0x47abf2[_0x2343e6(0x27f)],_0x3e550d;function _0x6a59af(){var _0x581a04=_0x2343e6;return _0x3e550d||(_0x3e550d=0x1,function(_0x39a972,_0x3f134a){(function(_0x299dba,_0x14abd9){var _0x4c8ddf=_0x2774;_0x39a972[_0x4c8ddf(0x27f)]=_0x14abd9(_0x4aee35());}(_0x2e7e20,function(_0x5d1479){(function(){var _0x28fd6f=_0x2774,_0x2cea1c=_0x5d1479,_0x3dd60c=_0x2cea1c[_0x28fd6f(0x160)],_0x309fbe=_0x3dd60c[_0x28fd6f(0x307)],_0x25b96a=_0x2cea1c['enc'],_0x4ef3d4=_0x25b96a[_0x28fd6f(0x325)],_0x1cfead=_0x2cea1c['algo'];_0x1cfead[_0x28fd6f(0x35f)]=_0x309fbe['extend']({'init':function(_0x4728ec,_0x343591){var _0x1af793=_0x28fd6f;_0x4728ec=this[_0x1af793(0x230)]=new _0x4728ec[(_0x1af793(0x203))](),typeof _0x343591=='string'&&(_0x343591=_0x4ef3d4[_0x1af793(0x13f)](_0x343591));var _0xa2b970=_0x4728ec[_0x1af793(0x13a)],_0xc7210e=_0xa2b970*0x4;_0x343591['sigBytes']>_0xc7210e&&(_0x343591=_0x4728ec[_0x1af793(0x245)](_0x343591)),_0x343591[_0x1af793(0x1aa)]();for(var _0x2090cf=this[_0x1af793(0x2f9)]=_0x343591[_0x1af793(0x35a)](),_0x383b47=this[_0x1af793(0xef)]=_0x343591[_0x1af793(0x35a)](),_0x40d280=_0x2090cf[_0x1af793(0x425)],_0x2a32e5=_0x383b47[_0x1af793(0x425)],_0x34a0db=0x0;_0x34a0db<_0xa2b970;_0x34a0db++)_0x40d280[_0x34a0db]^=0x5c5c5c5c,_0x2a32e5[_0x34a0db]^=0x36363636;_0x2090cf[_0x1af793(0xee)]=_0x383b47[_0x1af793(0xee)]=_0xc7210e,this[_0x1af793(0x23f)]();},'reset':function(){var _0x18262a=_0x28fd6f,_0x1a670c=this[_0x18262a(0x230)];_0x1a670c['reset'](),_0x1a670c['update'](this[_0x18262a(0xef)]);},'update':function(_0x252245){var _0x7387ef=_0x28fd6f;return this[_0x7387ef(0x230)][_0x7387ef(0x23e)](_0x252245),this;},'finalize':function(_0x3fca3b){var _0x742919=_0x28fd6f,_0x5171a7=this[_0x742919(0x230)],_0x2704fa=_0x5171a7[_0x742919(0x245)](_0x3fca3b);_0x5171a7[_0x742919(0x23f)]();var _0x4e3dc7=_0x5171a7[_0x742919(0x245)](this[_0x742919(0x2f9)][_0x742919(0x35a)]()[_0x742919(0x3c4)](_0x2704fa));return _0x4e3dc7;}});}());}));}(_0x47abf2)),_0x47abf2[_0x581a04(0x27f)];}var _0x1ad65a=_0x369c06[_0x2343e6(0x27f)],_0x4f1ca9;function _0x60c2d2(){return _0x4f1ca9||(_0x4f1ca9=0x1,function(_0x53f6e4,_0x702b63){(function(_0x5587ff,_0x1cb639,_0x1e9224){_0x53f6e4['exports']=_0x1cb639(_0x4aee35(),_0x186c99(),_0x6a59af());}(_0x1ad65a,function(_0x433d3e){return(function(){var _0x1def26=_0x2774,_0x53ca15=_0x433d3e,_0x135b46=_0x53ca15[_0x1def26(0x160)],_0x152feb=_0x135b46['Base'],_0x8b9a58=_0x135b46[_0x1def26(0x3ee)],_0x2e3be3=_0x53ca15[_0x1def26(0x202)],_0x26cf58=_0x2e3be3['MD5'],_0x472559=_0x2e3be3[_0x1def26(0x353)]=_0x152feb['extend']({'cfg':_0x152feb[_0x1def26(0x1d9)]({'keySize':0x80/0x20,'hasher':_0x26cf58,'iterations':0x1}),'init':function(_0xc4032b){var _0x45aaaf=_0x1def26;this[_0x45aaaf(0x292)]=this[_0x45aaaf(0x292)][_0x45aaaf(0x1d9)](_0xc4032b);},'compute':function(_0x528db7,_0x31faf4){var _0x5147bb=_0x1def26;for(var _0x14fcce,_0x27000d=this[_0x5147bb(0x292)],_0x34fc4f=_0x27000d[_0x5147bb(0x3df)][_0x5147bb(0x126)](),_0x2d17f8=_0x8b9a58[_0x5147bb(0x126)](),_0x801307=_0x2d17f8[_0x5147bb(0x425)],_0x2e1f19=_0x27000d['keySize'],_0x114e39=_0x27000d[_0x5147bb(0x2f0)];_0x801307[_0x5147bb(0xe7)]<_0x2e1f19;){_0x14fcce&&_0x34fc4f[_0x5147bb(0x23e)](_0x14fcce),_0x14fcce=_0x34fc4f[_0x5147bb(0x23e)](_0x528db7)['finalize'](_0x31faf4),_0x34fc4f[_0x5147bb(0x23f)]();for(var _0x96ccc0=0x1;_0x96ccc0<_0x114e39;_0x96ccc0++)_0x14fcce=_0x34fc4f[_0x5147bb(0x245)](_0x14fcce),_0x34fc4f['reset']();_0x2d17f8[_0x5147bb(0x3c4)](_0x14fcce);}return _0x2d17f8[_0x5147bb(0xee)]=_0x2e1f19*0x4,_0x2d17f8;}});_0x53ca15[_0x1def26(0x353)]=function(_0xbd4ec7,_0x2c92f1,_0x1177f9){return _0x472559['create'](_0x1177f9)['compute'](_0xbd4ec7,_0x2c92f1);};}()),_0x433d3e['EvpKDF'];}));}(_0x369c06)),_0x369c06['exports'];}var _0x5e093b={'exports':{}},_0x1c09de=_0x5e093b[_0x2343e6(0x27f)],_0x474bea;function _0x697f02(){var _0x2a0d5f=_0x2343e6;return _0x474bea||(_0x474bea=0x1,function(_0x2b41db,_0x495bde){(function(_0x258f1f,_0x55ba96,_0x585b25){var _0x3c6ebd=_0x2774;_0x2b41db[_0x3c6ebd(0x27f)]=_0x55ba96(_0x4aee35(),_0x60c2d2());}(_0x1c09de,function(_0x2ebda8){var _0x3470e5=_0x2774;_0x2ebda8[_0x3470e5(0x160)][_0x3470e5(0x169)]||function(_0x347d91){var _0x23bd00=_0x3470e5,_0xd02831=_0x2ebda8,_0x4bca82=_0xd02831[_0x23bd00(0x160)],_0x2c6fdf=_0x4bca82[_0x23bd00(0x307)],_0x119d54=_0x4bca82[_0x23bd00(0x3ee)],_0x3b9321=_0x4bca82['BufferedBlockAlgorithm'],_0x28041d=_0xd02831[_0x23bd00(0x174)];_0x28041d[_0x23bd00(0x325)];var _0x5ceec5=_0x28041d[_0x23bd00(0xed)],_0x330477=_0xd02831['algo'],_0x186782=_0x330477[_0x23bd00(0x353)],_0x25ed2c=_0x4bca82[_0x23bd00(0x169)]=_0x3b9321[_0x23bd00(0x1d9)]({'cfg':_0x2c6fdf['extend'](),'createEncryptor':function(_0x579370,_0x1b8b95){var _0x5d4d54=_0x23bd00;return this[_0x5d4d54(0x126)](this['_ENC_XFORM_MODE'],_0x579370,_0x1b8b95);},'createDecryptor':function(_0x241630,_0x154479){return this['create'](this['_DEC_XFORM_MODE'],_0x241630,_0x154479);},'init':function(_0x264a96,_0x3a5ccb,_0x3e3aaf){var _0x497ec4=_0x23bd00;this[_0x497ec4(0x292)]=this[_0x497ec4(0x292)][_0x497ec4(0x1d9)](_0x3e3aaf),this[_0x497ec4(0x423)]=_0x264a96,this[_0x497ec4(0x19f)]=_0x3a5ccb,this['reset']();},'reset':function(){var _0x3bbee5=_0x23bd00;_0x3b9321[_0x3bbee5(0x23f)][_0x3bbee5(0x2c9)](this),this[_0x3bbee5(0x38c)]();},'process':function(_0x529a8a){var _0x32ddb8=_0x23bd00;return this['_append'](_0x529a8a),this[_0x32ddb8(0x208)]();},'finalize':function(_0x5b1ed8){var _0x15cf8a=_0x23bd00;_0x5b1ed8&&this[_0x15cf8a(0x101)](_0x5b1ed8);var _0x4614fa=this[_0x15cf8a(0x2f8)]();return _0x4614fa;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x174c9d(_0x49699a){return typeof _0x49699a=='string'?_0x33aa76:_0x3f574b;}return function(_0x3244d1){return{'encrypt':function(_0x384b52,_0x1bc65a,_0x23719a){var _0x10225c=_0x2774;return _0x174c9d(_0x1bc65a)[_0x10225c(0x173)](_0x3244d1,_0x384b52,_0x1bc65a,_0x23719a);},'decrypt':function(_0x34044f,_0x358474,_0x3dc66b){var _0x4f903e=_0x2774;return _0x174c9d(_0x358474)[_0x4f903e(0x394)](_0x3244d1,_0x34044f,_0x358474,_0x3dc66b);}};};}())});_0x4bca82[_0x23bd00(0x222)]=_0x25ed2c[_0x23bd00(0x1d9)]({'_doFinalize':function(){var _0x3ae42f=this['_process'](!0x0);return _0x3ae42f;},'blockSize':0x1});var _0x413e2b=_0xd02831[_0x23bd00(0x249)]={},_0x48fb9b=_0x4bca82[_0x23bd00(0x1d0)]=_0x2c6fdf[_0x23bd00(0x1d9)]({'createEncryptor':function(_0x1ea4aa,_0x385b58){var _0x41fa90=_0x23bd00;return this['Encryptor'][_0x41fa90(0x126)](_0x1ea4aa,_0x385b58);},'createDecryptor':function(_0x5e2b04,_0x13a23d){var _0x3c4b66=_0x23bd00;return this[_0x3c4b66(0x366)]['create'](_0x5e2b04,_0x13a23d);},'init':function(_0x3c788f,_0x29ec28){var _0x341670=_0x23bd00;this[_0x341670(0x1f7)]=_0x3c788f,this[_0x341670(0x1ae)]=_0x29ec28;}}),_0x88b8c2=_0x413e2b[_0x23bd00(0x268)]=(function(){var _0x18169d=_0x23bd00,_0x2ab6a8=_0x48fb9b[_0x18169d(0x1d9)]();_0x2ab6a8[_0x18169d(0x1c3)]=_0x2ab6a8[_0x18169d(0x1d9)]({'processBlock':function(_0xd8f4dd,_0x247c7b){var _0x2e6a82=_0x18169d,_0x405b66=this[_0x2e6a82(0x1f7)],_0x4bd6e7=_0x405b66['blockSize'];_0x46b63d[_0x2e6a82(0x2c9)](this,_0xd8f4dd,_0x247c7b,_0x4bd6e7),_0x405b66[_0x2e6a82(0x3f6)](_0xd8f4dd,_0x247c7b),this[_0x2e6a82(0x1c0)]=_0xd8f4dd[_0x2e6a82(0x234)](_0x247c7b,_0x247c7b+_0x4bd6e7);}}),_0x2ab6a8[_0x18169d(0x366)]=_0x2ab6a8[_0x18169d(0x1d9)]({'processBlock':function(_0x4c9a18,_0x3ebd70){var _0x3258e8=_0x18169d,_0x5ac24d=this[_0x3258e8(0x1f7)],_0x275ad7=_0x5ac24d[_0x3258e8(0x13a)],_0x8755e8=_0x4c9a18[_0x3258e8(0x234)](_0x3ebd70,_0x3ebd70+_0x275ad7);_0x5ac24d[_0x3258e8(0x161)](_0x4c9a18,_0x3ebd70),_0x46b63d['call'](this,_0x4c9a18,_0x3ebd70,_0x275ad7),this[_0x3258e8(0x1c0)]=_0x8755e8;}});function _0x46b63d(_0x311bc6,_0x34289f,_0x53cdfa){var _0x3d5948=_0x18169d,_0x5030d0,_0x143be8=this[_0x3d5948(0x1ae)];_0x143be8?(_0x5030d0=_0x143be8,this[_0x3d5948(0x1ae)]=_0x347d91):_0x5030d0=this[_0x3d5948(0x1c0)];for(var _0x45fc40=0x0;_0x45fc40<_0x53cdfa;_0x45fc40++)_0x311bc6[_0x34289f+_0x45fc40]^=_0x5030d0[_0x45fc40];}return _0x2ab6a8;}()),_0x41b5d4=_0xd02831[_0x23bd00(0x3a7)]={},_0xc2f166=_0x41b5d4[_0x23bd00(0x3ba)]={'pad':function(_0x733b16,_0x4f87fd){var _0x1e2431=_0x23bd00;for(var _0x46efca=_0x4f87fd*0x4,_0x207a3e=_0x46efca-_0x733b16[_0x1e2431(0xee)]%_0x46efca,_0x299b64=_0x207a3e<<0x18|_0x207a3e<<0x10|_0x207a3e<<0x8|_0x207a3e,_0x54de06=[],_0x34a23f=0x0;_0x34a23f<_0x207a3e;_0x34a23f+=0x4)_0x54de06['push'](_0x299b64);var _0x2f4485=_0x119d54[_0x1e2431(0x126)](_0x54de06,_0x207a3e);_0x733b16[_0x1e2431(0x3c4)](_0x2f4485);},'unpad':function(_0x5c703b){var _0x2ff87f=_0x23bd00,_0x4de4b2=_0x5c703b[_0x2ff87f(0x425)][_0x5c703b[_0x2ff87f(0xee)]-0x1>>>0x2]&0xff;_0x5c703b[_0x2ff87f(0xee)]-=_0x4de4b2;}};_0x4bca82[_0x23bd00(0x19d)]=_0x25ed2c[_0x23bd00(0x1d9)]({'cfg':_0x25ed2c[_0x23bd00(0x292)][_0x23bd00(0x1d9)]({'mode':_0x88b8c2,'padding':_0xc2f166}),'reset':function(){var _0x2927eb=_0x23bd00,_0x26e6c9;_0x25ed2c[_0x2927eb(0x23f)]['call'](this);var _0x215563=this[_0x2927eb(0x292)],_0x5d1120=_0x215563['iv'],_0x158a6e=_0x215563[_0x2927eb(0x249)];this['_xformMode']==this[_0x2927eb(0x128)]?_0x26e6c9=_0x158a6e[_0x2927eb(0x392)]:(_0x26e6c9=_0x158a6e[_0x2927eb(0x3af)],this[_0x2927eb(0x457)]=0x1),this[_0x2927eb(0x432)]&&this[_0x2927eb(0x432)][_0x2927eb(0x306)]==_0x26e6c9?this[_0x2927eb(0x432)][_0x2927eb(0x203)](this,_0x5d1120&&_0x5d1120[_0x2927eb(0x425)]):(this[_0x2927eb(0x432)]=_0x26e6c9[_0x2927eb(0x2c9)](_0x158a6e,this,_0x5d1120&&_0x5d1120[_0x2927eb(0x425)]),this[_0x2927eb(0x432)][_0x2927eb(0x306)]=_0x26e6c9);},'_doProcessBlock':function(_0x25cc4a,_0x405d80){var _0x31646e=_0x23bd00;this[_0x31646e(0x432)][_0x31646e(0xf4)](_0x25cc4a,_0x405d80);},'_doFinalize':function(){var _0x50f6c4=_0x23bd00,_0x31a679,_0xedd931=this[_0x50f6c4(0x292)][_0x50f6c4(0xfc)];return this[_0x50f6c4(0x423)]==this[_0x50f6c4(0x128)]?(_0xedd931['pad'](this[_0x50f6c4(0x1da)],this[_0x50f6c4(0x13a)]),_0x31a679=this[_0x50f6c4(0x208)](!0x0)):(_0x31a679=this[_0x50f6c4(0x208)](!0x0),_0xedd931[_0x50f6c4(0x2fb)](_0x31a679)),_0x31a679;},'blockSize':0x80/0x20});var _0x143839=_0x4bca82[_0x23bd00(0x360)]=_0x2c6fdf[_0x23bd00(0x1d9)]({'init':function(_0x506e4d){var _0xc5e7b1=_0x23bd00;this[_0xc5e7b1(0x2d7)](_0x506e4d);},'toString':function(_0x132514){var _0x3a2c59=_0x23bd00;return(_0x132514||this['formatter'])[_0x3a2c59(0x338)](this);}}),_0x4fcd2b=_0xd02831[_0x23bd00(0x40b)]={},_0x4d58fe=_0x4fcd2b[_0x23bd00(0x26f)]={'stringify':function(_0x167aaf){var _0x413670=_0x23bd00,_0x26179d,_0x97311d=_0x167aaf[_0x413670(0x1ac)],_0x35e722=_0x167aaf[_0x413670(0x113)];return _0x35e722?_0x26179d=_0x119d54[_0x413670(0x126)]([0x53616c74,0x65645f5f])[_0x413670(0x3c4)](_0x35e722)[_0x413670(0x3c4)](_0x97311d):_0x26179d=_0x97311d,_0x26179d[_0x413670(0x310)](_0x5ceec5);},'parse':function(_0x46e71a){var _0x35a83c=_0x23bd00,_0x3f935d,_0x45b1f0=_0x5ceec5[_0x35a83c(0x13f)](_0x46e71a),_0x2e2c57=_0x45b1f0[_0x35a83c(0x425)];return _0x2e2c57[0x0]==0x53616c74&&_0x2e2c57[0x1]==0x65645f5f&&(_0x3f935d=_0x119d54['create'](_0x2e2c57[_0x35a83c(0x234)](0x2,0x4)),_0x2e2c57[_0x35a83c(0x3e2)](0x0,0x4),_0x45b1f0[_0x35a83c(0xee)]-=0x10),_0x143839['create']({'ciphertext':_0x45b1f0,'salt':_0x3f935d});}},_0x3f574b=_0x4bca82[_0x23bd00(0x209)]=_0x2c6fdf[_0x23bd00(0x1d9)]({'cfg':_0x2c6fdf['extend']({'format':_0x4d58fe}),'encrypt':function(_0x3be857,_0x314ccc,_0x420381,_0xbbe4a8){var _0x27b43c=_0x23bd00;_0xbbe4a8=this[_0x27b43c(0x292)]['extend'](_0xbbe4a8);var _0xb6bfb6=_0x3be857[_0x27b43c(0x392)](_0x420381,_0xbbe4a8),_0x575910=_0xb6bfb6[_0x27b43c(0x245)](_0x314ccc),_0x3fe971=_0xb6bfb6[_0x27b43c(0x292)];return _0x143839[_0x27b43c(0x126)]({'ciphertext':_0x575910,'key':_0x420381,'iv':_0x3fe971['iv'],'algorithm':_0x3be857,'mode':_0x3fe971[_0x27b43c(0x249)],'padding':_0x3fe971[_0x27b43c(0xfc)],'blockSize':_0x3be857[_0x27b43c(0x13a)],'formatter':_0xbbe4a8[_0x27b43c(0x40b)]});},'decrypt':function(_0x23c540,_0x44267d,_0xeb637c,_0x2dcc01){var _0x191d63=_0x23bd00;_0x2dcc01=this[_0x191d63(0x292)][_0x191d63(0x1d9)](_0x2dcc01),_0x44267d=this['_parse'](_0x44267d,_0x2dcc01[_0x191d63(0x40b)]);var _0x597fb8=_0x23c540[_0x191d63(0x3af)](_0xeb637c,_0x2dcc01)['finalize'](_0x44267d['ciphertext']);return _0x597fb8;},'_parse':function(_0x1bea5d,_0x11a0c9){var _0x2d39ac=_0x23bd00;return typeof _0x1bea5d==_0x2d39ac(0x280)?_0x11a0c9['parse'](_0x1bea5d,this):_0x1bea5d;}}),_0x1d1495=_0xd02831[_0x23bd00(0x1af)]={},_0x332f34=_0x1d1495[_0x23bd00(0x26f)]={'execute':function(_0x194af3,_0x111089,_0x654a3e,_0x52219,_0x47a05a){var _0x1d2dba=_0x23bd00;if(_0x52219||(_0x52219=_0x119d54[_0x1d2dba(0x288)](0x40/0x8)),_0x47a05a)var _0x4422cd=_0x186782[_0x1d2dba(0x126)]({'keySize':_0x111089+_0x654a3e,'hasher':_0x47a05a})[_0x1d2dba(0x3eb)](_0x194af3,_0x52219);else var _0x4422cd=_0x186782[_0x1d2dba(0x126)]({'keySize':_0x111089+_0x654a3e})[_0x1d2dba(0x3eb)](_0x194af3,_0x52219);var _0x47cccf=_0x119d54[_0x1d2dba(0x126)](_0x4422cd['words'][_0x1d2dba(0x234)](_0x111089),_0x654a3e*0x4);return _0x4422cd[_0x1d2dba(0xee)]=_0x111089*0x4,_0x143839[_0x1d2dba(0x126)]({'key':_0x4422cd,'iv':_0x47cccf,'salt':_0x52219});}},_0x33aa76=_0x4bca82['PasswordBasedCipher']=_0x3f574b['extend']({'cfg':_0x3f574b[_0x23bd00(0x292)][_0x23bd00(0x1d9)]({'kdf':_0x332f34}),'encrypt':function(_0x104bf,_0x208e51,_0x2ed997,_0x55cf9f){var _0x597fae=_0x23bd00;_0x55cf9f=this[_0x597fae(0x292)]['extend'](_0x55cf9f);var _0x495866=_0x55cf9f[_0x597fae(0x1af)][_0x597fae(0x22b)](_0x2ed997,_0x104bf['keySize'],_0x104bf[_0x597fae(0x114)],_0x55cf9f[_0x597fae(0x113)],_0x55cf9f[_0x597fae(0x3df)]);_0x55cf9f['iv']=_0x495866['iv'];var _0x83c0f0=_0x3f574b[_0x597fae(0x173)]['call'](this,_0x104bf,_0x208e51,_0x495866['key'],_0x55cf9f);return _0x83c0f0[_0x597fae(0x2d7)](_0x495866),_0x83c0f0;},'decrypt':function(_0x45c97c,_0x203c52,_0x16d6f3,_0x19b06c){var _0x181a5e=_0x23bd00;_0x19b06c=this[_0x181a5e(0x292)][_0x181a5e(0x1d9)](_0x19b06c),_0x203c52=this[_0x181a5e(0x3c3)](_0x203c52,_0x19b06c[_0x181a5e(0x40b)]);var _0x2f47b4=_0x19b06c[_0x181a5e(0x1af)][_0x181a5e(0x22b)](_0x16d6f3,_0x45c97c[_0x181a5e(0x324)],_0x45c97c['ivSize'],_0x203c52[_0x181a5e(0x113)],_0x19b06c[_0x181a5e(0x3df)]);_0x19b06c['iv']=_0x2f47b4['iv'];var _0x4a35d4=_0x3f574b[_0x181a5e(0x394)]['call'](this,_0x45c97c,_0x203c52,_0x2f47b4[_0x181a5e(0x2c3)],_0x19b06c);return _0x4a35d4;}});}();}));}(_0x5e093b)),_0x5e093b[_0x2a0d5f(0x27f)];}var _0x4e787a=_0x4980d1[_0x2343e6(0x27f)],_0x36eec4;function _0x9c1cf2(){return _0x36eec4||(_0x36eec4=0x1,function(_0x95f2a,_0x40a3e3){(function(_0x4eaf17,_0x435c00,_0x49b9d1){var _0x25dcdb=_0x2774;_0x95f2a[_0x25dcdb(0x27f)]=_0x435c00(_0x4aee35(),_0x554370(),_0x2f946a(),_0x60c2d2(),_0x697f02());}(_0x4e787a,function(_0x336dcc){var _0x437f8d=_0x2774;return(function(){var _0x1990d6=_0x2774,_0x1d0e93=_0x336dcc,_0x75b558=_0x1d0e93['lib'],_0x5c0a6f=_0x75b558[_0x1990d6(0x19d)],_0x36a234=_0x1d0e93[_0x1990d6(0x202)],_0x3b865f=[],_0x418146=[],_0x38f747=[],_0x17547a=[],_0x945dc3=[],_0x2f751c=[],_0x154d35=[],_0x2990d2=[],_0x284876=[],_0x6b3cdb=[];(function(){for(var _0x4bb246=[],_0x37886e=0x0;_0x37886e<0x100;_0x37886e++)_0x37886e<0x80?_0x4bb246[_0x37886e]=_0x37886e<<0x1:_0x4bb246[_0x37886e]=_0x37886e<<0x1^0x11b;for(var _0x25faa1=0x0,_0x433170=0x0,_0x37886e=0x0;_0x37886e<0x100;_0x37886e++){var _0x3f1425=_0x433170^_0x433170<<0x1^_0x433170<<0x2^_0x433170<<0x3^_0x433170<<0x4;_0x3f1425=_0x3f1425>>>0x8^_0x3f1425&0xff^0x63,_0x3b865f[_0x25faa1]=_0x3f1425,_0x418146[_0x3f1425]=_0x25faa1;var _0x5f3919=_0x4bb246[_0x25faa1],_0x3e7768=_0x4bb246[_0x5f3919],_0x105ee1=_0x4bb246[_0x3e7768],_0x475b2e=_0x4bb246[_0x3f1425]*0x101^_0x3f1425*0x1010100;_0x38f747[_0x25faa1]=_0x475b2e<<0x18|_0x475b2e>>>0x8,_0x17547a[_0x25faa1]=_0x475b2e<<0x10|_0x475b2e>>>0x10,_0x945dc3[_0x25faa1]=_0x475b2e<<0x8|_0x475b2e>>>0x18,_0x2f751c[_0x25faa1]=_0x475b2e;var _0x475b2e=_0x105ee1*0x1010101^_0x3e7768*0x10001^_0x5f3919*0x101^_0x25faa1*0x1010100;_0x154d35[_0x3f1425]=_0x475b2e<<0x18|_0x475b2e>>>0x8,_0x2990d2[_0x3f1425]=_0x475b2e<<0x10|_0x475b2e>>>0x10,_0x284876[_0x3f1425]=_0x475b2e<<0x8|_0x475b2e>>>0x18,_0x6b3cdb[_0x3f1425]=_0x475b2e,_0x25faa1?(_0x25faa1=_0x5f3919^_0x4bb246[_0x4bb246[_0x4bb246[_0x105ee1^_0x5f3919]]],_0x433170^=_0x4bb246[_0x4bb246[_0x433170]]):_0x25faa1=_0x433170=0x1;}}());var _0x5b075b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5aab5b=_0x36a234[_0x1990d6(0x290)]=_0x5c0a6f[_0x1990d6(0x1d9)]({'_doReset':function(){var _0x5ce662=_0x1990d6,_0x50780f;if(!(this[_0x5ce662(0x3cf)]&&this[_0x5ce662(0x428)]===this[_0x5ce662(0x19f)])){for(var _0x2ee2c0=this['_keyPriorReset']=this[_0x5ce662(0x19f)],_0x1bbbc7=_0x2ee2c0[_0x5ce662(0x425)],_0x5d9c76=_0x2ee2c0[_0x5ce662(0xee)]/0x4,_0x43af03=this[_0x5ce662(0x3cf)]=_0x5d9c76+0x6,_0x3c341d=(_0x43af03+0x1)*0x4,_0x1f0f34=this[_0x5ce662(0x18c)]=[],_0x3e99c8=0x0;_0x3e99c8<_0x3c341d;_0x3e99c8++)_0x3e99c8<_0x5d9c76?_0x1f0f34[_0x3e99c8]=_0x1bbbc7[_0x3e99c8]:(_0x50780f=_0x1f0f34[_0x3e99c8-0x1],_0x3e99c8%_0x5d9c76?_0x5d9c76>0x6&&_0x3e99c8%_0x5d9c76==0x4&&(_0x50780f=_0x3b865f[_0x50780f>>>0x18]<<0x18|_0x3b865f[_0x50780f>>>0x10&0xff]<<0x10|_0x3b865f[_0x50780f>>>0x8&0xff]<<0x8|_0x3b865f[_0x50780f&0xff]):(_0x50780f=_0x50780f<<0x8|_0x50780f>>>0x18,_0x50780f=_0x3b865f[_0x50780f>>>0x18]<<0x18|_0x3b865f[_0x50780f>>>0x10&0xff]<<0x10|_0x3b865f[_0x50780f>>>0x8&0xff]<<0x8|_0x3b865f[_0x50780f&0xff],_0x50780f^=_0x5b075b[_0x3e99c8/_0x5d9c76|0x0]<<0x18),_0x1f0f34[_0x3e99c8]=_0x1f0f34[_0x3e99c8-_0x5d9c76]^_0x50780f);for(var _0x5f6346=this[_0x5ce662(0x439)]=[],_0x136b19=0x0;_0x136b19<_0x3c341d;_0x136b19++){var _0x3e99c8=_0x3c341d-_0x136b19;if(_0x136b19%0x4)var _0x50780f=_0x1f0f34[_0x3e99c8];else var _0x50780f=_0x1f0f34[_0x3e99c8-0x4];_0x136b19<0x4||_0x3e99c8<=0x4?_0x5f6346[_0x136b19]=_0x50780f:_0x5f6346[_0x136b19]=_0x154d35[_0x3b865f[_0x50780f>>>0x18]]^_0x2990d2[_0x3b865f[_0x50780f>>>0x10&0xff]]^_0x284876[_0x3b865f[_0x50780f>>>0x8&0xff]]^_0x6b3cdb[_0x3b865f[_0x50780f&0xff]];}}},'encryptBlock':function(_0x463ff4,_0x2fb96f){var _0x29971c=_0x1990d6;this['_doCryptBlock'](_0x463ff4,_0x2fb96f,this[_0x29971c(0x18c)],_0x38f747,_0x17547a,_0x945dc3,_0x2f751c,_0x3b865f);},'decryptBlock':function(_0x376934,_0x3899a4){var _0x51dbbe=_0x1990d6,_0x1c5fc6=_0x376934[_0x3899a4+0x1];_0x376934[_0x3899a4+0x1]=_0x376934[_0x3899a4+0x3],_0x376934[_0x3899a4+0x3]=_0x1c5fc6,this[_0x51dbbe(0x225)](_0x376934,_0x3899a4,this[_0x51dbbe(0x439)],_0x154d35,_0x2990d2,_0x284876,_0x6b3cdb,_0x418146);var _0x1c5fc6=_0x376934[_0x3899a4+0x1];_0x376934[_0x3899a4+0x1]=_0x376934[_0x3899a4+0x3],_0x376934[_0x3899a4+0x3]=_0x1c5fc6;},'_doCryptBlock':function(_0x3157e2,_0x367b79,_0x216363,_0x288e40,_0x570aa9,_0x47fc7c,_0xaab9fa,_0x575032){var _0x49e612=_0x1990d6;for(var _0x272d43=this[_0x49e612(0x3cf)],_0x6bdb3d=_0x3157e2[_0x367b79]^_0x216363[0x0],_0x486375=_0x3157e2[_0x367b79+0x1]^_0x216363[0x1],_0x9fe6f6=_0x3157e2[_0x367b79+0x2]^_0x216363[0x2],_0x475446=_0x3157e2[_0x367b79+0x3]^_0x216363[0x3],_0x2c00e6=0x4,_0x3689ba=0x1;_0x3689ba<_0x272d43;_0x3689ba++){var _0x18b4a0=_0x288e40[_0x6bdb3d>>>0x18]^_0x570aa9[_0x486375>>>0x10&0xff]^_0x47fc7c[_0x9fe6f6>>>0x8&0xff]^_0xaab9fa[_0x475446&0xff]^_0x216363[_0x2c00e6++],_0x2ea0c9=_0x288e40[_0x486375>>>0x18]^_0x570aa9[_0x9fe6f6>>>0x10&0xff]^_0x47fc7c[_0x475446>>>0x8&0xff]^_0xaab9fa[_0x6bdb3d&0xff]^_0x216363[_0x2c00e6++],_0xabcfbd=_0x288e40[_0x9fe6f6>>>0x18]^_0x570aa9[_0x475446>>>0x10&0xff]^_0x47fc7c[_0x6bdb3d>>>0x8&0xff]^_0xaab9fa[_0x486375&0xff]^_0x216363[_0x2c00e6++],_0x495423=_0x288e40[_0x475446>>>0x18]^_0x570aa9[_0x6bdb3d>>>0x10&0xff]^_0x47fc7c[_0x486375>>>0x8&0xff]^_0xaab9fa[_0x9fe6f6&0xff]^_0x216363[_0x2c00e6++];_0x6bdb3d=_0x18b4a0,_0x486375=_0x2ea0c9,_0x9fe6f6=_0xabcfbd,_0x475446=_0x495423;}var _0x18b4a0=(_0x575032[_0x6bdb3d>>>0x18]<<0x18|_0x575032[_0x486375>>>0x10&0xff]<<0x10|_0x575032[_0x9fe6f6>>>0x8&0xff]<<0x8|_0x575032[_0x475446&0xff])^_0x216363[_0x2c00e6++],_0x2ea0c9=(_0x575032[_0x486375>>>0x18]<<0x18|_0x575032[_0x9fe6f6>>>0x10&0xff]<<0x10|_0x575032[_0x475446>>>0x8&0xff]<<0x8|_0x575032[_0x6bdb3d&0xff])^_0x216363[_0x2c00e6++],_0xabcfbd=(_0x575032[_0x9fe6f6>>>0x18]<<0x18|_0x575032[_0x475446>>>0x10&0xff]<<0x10|_0x575032[_0x6bdb3d>>>0x8&0xff]<<0x8|_0x575032[_0x486375&0xff])^_0x216363[_0x2c00e6++],_0x495423=(_0x575032[_0x475446>>>0x18]<<0x18|_0x575032[_0x6bdb3d>>>0x10&0xff]<<0x10|_0x575032[_0x486375>>>0x8&0xff]<<0x8|_0x575032[_0x9fe6f6&0xff])^_0x216363[_0x2c00e6++];_0x3157e2[_0x367b79]=_0x18b4a0,_0x3157e2[_0x367b79+0x1]=_0x2ea0c9,_0x3157e2[_0x367b79+0x2]=_0xabcfbd,_0x3157e2[_0x367b79+0x3]=_0x495423;},'keySize':0x100/0x20});_0x1d0e93[_0x1990d6(0x290)]=_0x5c0a6f[_0x1990d6(0x167)](_0x5aab5b);}()),_0x336dcc[_0x437f8d(0x290)];}));}(_0x4980d1)),_0x4980d1['exports'];}var _0x4a9d5a=_0x9c1cf2();const _0x238b79=_0x38aaa2(_0x4a9d5a);var _0x38859e=_0x554370();const _0x21b879=_0x38aaa2(_0x38859e);var _0x186fb0={'exports':{}},_0x85bf78=_0x186fb0['exports'],_0x167447;function _0x584e28(){var _0x48dc84=_0x2343e6;return _0x167447||(_0x167447=0x1,function(_0x5a461c,_0x1c67d7){(function(_0x5172f,_0xe82819){_0x5a461c['exports']=_0xe82819(_0x4aee35());}(_0x85bf78,function(_0x556fe3){var _0x548186=_0x2774;return _0x556fe3[_0x548186(0x174)]['Utf8'];}));}(_0x186fb0)),_0x186fb0[_0x48dc84(0x27f)];}var _0x5efa7a=_0x584e28();const _0x22118d=_0x38aaa2(_0x5efa7a);var _0x5561c0={'exports':{}},_0x309a3d=_0x5561c0[_0x2343e6(0x27f)],_0x2099ef;function _0x1b991c(){var _0x1566c2=_0x2343e6;return _0x2099ef||(_0x2099ef=0x1,function(_0x48e733,_0x2a9a01){(function(_0x2b7e10,_0x5c4f95){var _0x55f06f=_0x2774;_0x48e733[_0x55f06f(0x27f)]=_0x5c4f95(_0x4aee35());}(_0x309a3d,function(_0x1ef232){var _0x69f9ec=_0x2774;return(function(){var _0x5c6f6b=_0x2774;if(typeof ArrayBuffer==_0x5c6f6b(0x137)){var _0x57a6f9=_0x1ef232,_0x554754=_0x57a6f9[_0x5c6f6b(0x160)],_0x4345f9=_0x554754[_0x5c6f6b(0x3ee)],_0x47199f=_0x4345f9[_0x5c6f6b(0x203)],_0x5eec1c=_0x4345f9[_0x5c6f6b(0x203)]=function(_0x245eae){var _0x2e6122=_0x5c6f6b;if(_0x245eae instanceof ArrayBuffer&&(_0x245eae=new Uint8Array(_0x245eae)),(_0x245eae instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x245eae instanceof Uint8ClampedArray||_0x245eae instanceof Int16Array||_0x245eae instanceof Uint16Array||_0x245eae instanceof Int32Array||_0x245eae instanceof Uint32Array||_0x245eae instanceof Float32Array||_0x245eae instanceof Float64Array)&&(_0x245eae=new Uint8Array(_0x245eae[_0x2e6122(0x136)],_0x245eae[_0x2e6122(0x1ff)],_0x245eae[_0x2e6122(0x1bc)])),_0x245eae instanceof Uint8Array){for(var _0x536de3=_0x245eae[_0x2e6122(0x1bc)],_0x15aa0d=[],_0x5c49d7=0x0;_0x5c49d7<_0x536de3;_0x5c49d7++)_0x15aa0d[_0x5c49d7>>>0x2]|=_0x245eae[_0x5c49d7]<<0x18-_0x5c49d7%0x4*0x8;_0x47199f['call'](this,_0x15aa0d,_0x536de3);}else _0x47199f['apply'](this,arguments);};_0x5eec1c['prototype']=_0x4345f9;}}()),_0x1ef232['lib'][_0x69f9ec(0x3ee)];}));}(_0x5561c0)),_0x5561c0[_0x1566c2(0x27f)];}var _0x406a11=_0x1b991c();const _0x2c0aef=_0x38aaa2(_0x406a11);var _0x1c7a05={'exports':{}},_0x4c92ba=_0x1c7a05[_0x2343e6(0x27f)],_0x2cdad9;function _0x5a6fae(){var _0x5d56cb=_0x2343e6;return _0x2cdad9||(_0x2cdad9=0x1,function(_0xa0d50a,_0x353463){(function(_0x536169,_0x34c6ac,_0x2c5f37){_0xa0d50a['exports']=_0x34c6ac(_0x4aee35(),_0x697f02());}(_0x4c92ba,function(_0x5bc570){var _0x140bde=_0x2774;return _0x5bc570[_0x140bde(0x3a7)][_0x140bde(0x461)]={'pad':function(){},'unpad':function(){}},_0x5bc570[_0x140bde(0x3a7)]['NoPadding'];}));}(_0x1c7a05)),_0x1c7a05[_0x5d56cb(0x27f)];}var _0x5ee8eb=_0x5a6fae();const _0x56c681=_0x38aaa2(_0x5ee8eb);function _0x1f0a00(_0x102374,_0x2341d1){var _0x3e22a6=_0x2343e6;const _0x2de4ab=_0x2341d1-_0x102374[_0x3e22a6(0xe7)]%_0x2341d1,_0x3ba4ee=String['fromCharCode'](_0x2de4ab)[_0x3e22a6(0x1be)](_0x2de4ab);return _0x102374+_0x3ba4ee;}function _0x417e98(_0x29f6b9,_0x5b9c69){var _0x4e3c1e=_0x2343e6;const _0x3600d7=_0x2c0aef[_0x4e3c1e(0x288)](0x10),_0x197c15=_0x1f0a00(_0x29f6b9,0x10),_0x735abc=_0x238b79[_0x4e3c1e(0x173)](_0x22118d['parse'](_0x197c15),_0x21b879['parse'](_0x5b9c69),{'iv':_0x3600d7,'padding':_0x56c681});return _0x3600d7[_0x4e3c1e(0x3c4)](_0x735abc[_0x4e3c1e(0x1ac)])[_0x4e3c1e(0x310)](_0x21b879);}function _0x5f4d27(){var _0xa214ac=_0x2343e6;const _0x27f17f=_0x4d89d6['getGlobalObject']()[_0xa214ac(0x330)];if(_0x27f17f){const _0xb57877={'time':Math['floor'](Date[_0xa214ac(0x3ac)]()/0x3e8),'domain':location[_0xa214ac(0x2fe)]};return _0x417e98(JSON[_0xa214ac(0x338)](_0xb57877),_0x27f17f);}}var _0x2604c8=Object['getOwnPropertyDescriptor'],_0x4aa08b=(_0x1fd8fd,_0x3f24cd,_0x3b734d,_0x1920b1)=>{var _0x56e3fc=_0x2343e6;for(var _0x3f335e=_0x1920b1>0x1?void 0x0:_0x1920b1?_0x2604c8(_0x3f24cd,_0x3b734d):_0x3f24cd,_0x4241f6=_0x1fd8fd[_0x56e3fc(0xe7)]-0x1,_0x1f7daa;_0x4241f6>=0x0;_0x4241f6--)(_0x1f7daa=_0x1fd8fd[_0x4241f6])&&(_0x3f335e=_0x1f7daa(_0x3f335e)||_0x3f335e);return _0x3f335e;},_0x3b6e9f=(_0x26a7ad,_0x3b7da0)=>(_0x28348b,_0x550585)=>_0x3b7da0(_0x28348b,_0x550585,_0x26a7ad);let _0x156564=class{constructor(_0x371637){var _0x3bdb67=_0x2343e6;this['_httpService']=_0x371637,this[_0x3bdb67(0x1c6)]();}[_0x2343e6(0x1c6)](){var _0x4db4e9=_0x2343e6;this[_0x4db4e9(0x1d3)]['registerHTTPInterceptor']({'interceptor':(_0x1cc3ac,_0x116d9f)=>{var _0x92981=_0x4db4e9;const _0x5a8ea6=_0x1cc3ac['headers'],_0x4c5e5d=_0x5f4d27();return _0x4c5e5d&&_0x5a8ea6[_0x92981(0x2bd)](_0x92981(0x199),_0x4c5e5d),_0x116d9f(_0x1cc3ac);}});}};_0x156564=_0x4aa08b([_0x3b6e9f(0x0,_0x22bf6a[_0x2343e6(0x274)](_0x1d3e98['HTTPService']))],_0x156564);var _0x5cf065=Object[_0x2343e6(0x39e)],_0x2b8a9d=(_0x398db2,_0x60f851,_0x571912,_0xd94533)=>{for(var _0x318733=_0xd94533>0x1?void 0x0:_0xd94533?_0x5cf065(_0x60f851,_0x571912):_0x60f851,_0x48aaac=_0x398db2['length']-0x1,_0x23ad56;_0x48aaac>=0x0;_0x48aaac--)(_0x23ad56=_0x398db2[_0x48aaac])&&(_0x318733=_0x23ad56(_0x318733)||_0x318733);return _0x318733;},_0x355663=(_0x21e3d7,_0x1f19c6)=>(_0x492219,_0x1e5a7b)=>_0x1f19c6(_0x492219,_0x1e5a7b,_0x21e3d7);_0x9ad254[_0x2343e6(0x11f)]=class extends _0x22bf6a[_0x2343e6(0x3c0)]{constructor(_0x5cf5ce,_0x46eae6,_0x5af40d){var _0x19aa90=_0x2343e6;super(),_0x12b414(this,_0x19aa90(0x104),new _0x1786f2[(_0x19aa90(0x3d6))](null)),_0x12b414(this,_0x19aa90(0x3b2),this['_unitInfo$']['asObservable']()),(this[_0x19aa90(0x116)]=_0x5cf5ce,this[_0x19aa90(0x357)]=_0x46eae6,this['_localCacheService']=_0x5af40d);}async[_0x2343e6(0x12f)](_0x519223,_0x5dd91d,_0x2899da){var _0x271d27=_0x2343e6;this['_unitInfo$'][_0x271d27(0x3b5)]({'unitId':_0x519223,'type':_0x5dd91d});let _0x51fe19=null;switch(_0x5dd91d){case _0x1c9922[_0x271d27(0x376)]:{_0x51fe19=await this[_0x271d27(0x357)][_0x271d27(0x258)](_0x519223,_0x2899da);break;}case _0x1c9922[_0x271d27(0x2f1)]:{_0x51fe19=await this[_0x271d27(0x357)]['loadDoc'](_0x519223,_0x2899da);break;}default:{this[_0x271d27(0x116)][_0x271d27(0x153)](_0x271d27(0x251),_0x271d27(0x289));break;}}return _0x51fe19;}async[_0x2343e6(0xf9)](_0x3535b6,_0x5dab0d,_0x20a762){var _0x376aa6=_0x2343e6,_0x551709;this[_0x376aa6(0x104)][_0x376aa6(0x3b5)]({'unitId':_0x3535b6,'type':_0x5dab0d,'subUnitId':_0x20a762});let _0x1c4ac7=0x0;const _0xb3e7f4=await((_0x551709=this[_0x376aa6(0x13c)])==null?void 0x0:_0x551709['loadOfflineData'](_0x3535b6));return _0xb3e7f4&&(_0xb3e7f4['awaitingChangeset']||_0xb3e7f4[_0x376aa6(0x3ae)]['length']!==0x0)&&(_0x1c4ac7=_0xb3e7f4[_0x376aa6(0x19e)]),_0x1c4ac7===0x0&&this[_0x376aa6(0x116)][_0x376aa6(0x17d)](_0x376aa6(0x251),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x3535b6,_0x5dab0d,_0x1c4ac7);}},_0x9ad254[_0x2343e6(0x11f)]=_0x2b8a9d([_0x355663(0x0,_0x22bf6a[_0x2343e6(0x406)]),_0x355663(0x1,_0x22bf6a[_0x2343e6(0x274)](_0x4f7392[_0x2343e6(0xec)])),_0x355663(0x2,_0x22bf6a[_0x2343e6(0x20b)](_0x4394e7))],_0x9ad254[_0x2343e6(0x11f)]);var _0x2df9a9=Object[_0x2343e6(0x39e)],_0x2d6231=(_0x33835c,_0x2d2236,_0x311523,_0x246004)=>{var _0x5717a2=_0x2343e6;for(var _0x1bfd23=_0x246004>0x1?void 0x0:_0x246004?_0x2df9a9(_0x2d2236,_0x311523):_0x2d2236,_0x4102bf=_0x33835c[_0x5717a2(0xe7)]-0x1,_0x4c48d6;_0x4102bf>=0x0;_0x4102bf--)(_0x4c48d6=_0x33835c[_0x4102bf])&&(_0x1bfd23=_0x4c48d6(_0x1bfd23)||_0x1bfd23);return _0x1bfd23;},_0xd6d348=(_0x4c4357,_0x571b23)=>(_0x59cf3c,_0x389637)=>_0x571b23(_0x59cf3c,_0x389637,_0x4c4357);const _0x528d13=[_0x2343e6(0x2ae),_0x2343e6(0x22f),_0x2343e6(0x1f0),_0x2343e6(0x1ec),_0x2343e6(0x2e0)],_0x246e53=0x5*0x400*0x400,_0x1cab9c=_0x2343e6(0x14d),_0x2420ed=_0x2343e6(0x239);_0x9ad254[_0x2343e6(0x18f)]=class{constructor(_0x22e4d9,_0x2fc351,_0x34aebf){var _0x32f9c=_0x2343e6;_0x12b414(this,'_waitCount',0x0),_0x12b414(this,_0x32f9c(0x1bf),new _0x1786f2['Subject']()),_0x12b414(this,_0x32f9c(0x2d8),this[_0x32f9c(0x1bf)]),_0x12b414(this,_0x32f9c(0xf6),new Map()),(this[_0x32f9c(0x1d3)]=_0x22e4d9,this[_0x32f9c(0x1d4)]=_0x2fc351,this[_0x32f9c(0x381)]=_0x34aebf);}['setWaitCount'](_0x3bdf15){var _0x452901=_0x2343e6;this[_0x452901(0x37f)]=_0x3bdf15,this[_0x452901(0x1bf)]['next'](_0x3bdf15);}[_0x2343e6(0x409)](_0x5c1bb3,_0x2261a6){var _0x488259=_0x2343e6;if(_0x2261a6===_0x555468['ImageSourceType'][_0x488259(0x40c)]){const _0x456543=new Image();return _0x456543['src']=_0x5c1bb3,_0x456543;}return this[_0x488259(0xf6)][_0x488259(0x20e)](_0x5c1bb3);}[_0x2343e6(0x219)](_0x51a195,_0x1e282e,_0x3243a6){var _0x400e52=_0x2343e6;_0x1e282e===_0x555468[_0x400e52(0x337)][_0x400e52(0x40c)]||_0x3243a6==null||this['_imageSourceCache']['set'](_0x51a195,_0x3243a6);}async[_0x2343e6(0x1fa)](_0x49b111){var _0x125492=_0x2343e6;try{const _0x5ba0a7=this['_replaceFileID'](this[_0x125492(0x339)](),''+_0x49b111),_0xbfdfea=(await this[_0x125492(0x1d3)][_0x125492(0x20e)](_0x5ba0a7))[_0x125492(0x433)];if(_0xbfdfea['error']&&_0xbfdfea[_0x125492(0x153)][_0x125492(0x43d)]===_0x395aaa['OK']){const _0x30517f=new URL(_0xbfdfea['url'],this[_0x125492(0x16f)]())[_0x125492(0x310)]();return Promise[_0x125492(0x171)](_0x30517f);}return Promise['reject'](_0xbfdfea[_0x125492(0x153)]);}catch(_0x2002f9){return Promise[_0x125492(0x110)](_0x2002f9);}}async['saveImage'](_0x21079f){var _0x367165=_0x2343e6;let _0x80f46f='';if(!_0x528d13[_0x367165(0x29d)](_0x21079f[_0x367165(0x1c9)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x555468[_0x367165(0x1b5)][_0x367165(0x177)]));if(_0x21079f['size']>_0x246e53)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x555468[_0x367165(0x1b5)][_0x367165(0x1ba)]));try{const _0x386f7a=new FormData();_0x386f7a[_0x367165(0x198)](_0x367165(0x335),_0x21079f);const _0x436405=this[_0x367165(0x381)][_0x367165(0x10c)](),_0x49ae14=_0x436405==null?void 0x0:_0x436405[_0x367165(0x453)]();if(!_0x49ae14)throw new Error(_0x367165(0x23c));const _0x548d31=this[_0x367165(0x28c)]()+_0x367165(0x27c)+_0x21079f[_0x367165(0x36d)]['toString']()+_0x367165(0x1bb)+_0x4ae3ac[_0x367165(0x441)]+_0x367165(0x348)+encodeURIComponent(_0x49ae14),_0x58c2bc={'body':_0x386f7a},_0x2eb56d=(await this[_0x367165(0x1d3)][_0x367165(0x255)](_0x548d31,_0x58c2bc))[_0x367165(0x433)];if(typeof _0x2eb56d[_0x367165(0x226)]!=_0x367165(0x280))return this[_0x367165(0x2a0)](),Promise[_0x367165(0x110)](new Error(_0x555468['ImageUploadStatusType'][_0x367165(0x3d8)]));_0x80f46f=_0x2eb56d[_0x367165(0x226)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x555468[_0x367165(0x1b5)]['ERROR_IMAGE']));}return new Promise((_0x7fd2d7,_0xda3994)=>{var _0x9f2893=_0x367165;const _0x54c03c=new FileReader();_0x54c03c[_0x9f2893(0xda)](_0x21079f),_0x54c03c[_0x9f2893(0x285)]=_0x51aa98=>{var _0x458e1f=_0x9f2893,_0x58a396;const _0x5ba4c9=(_0x58a396=_0x51aa98[_0x458e1f(0x3b0)])==null?void 0x0:_0x58a396['result'];if(_0x5ba4c9==null){this[_0x458e1f(0x2a0)](),_0xda3994(new Error(_0x555468[_0x458e1f(0x1b5)][_0x458e1f(0x3d8)]));return;}const _0x39cf01=_0x22bf6a[_0x458e1f(0x1d8)](0x6);_0x7fd2d7({'imageId':_0x39cf01,'imageSourceType':_0x555468['ImageSourceType'][_0x458e1f(0x201)],'source':_0x80f46f,'base64Cache':_0x5ba4c9,'status':_0x555468['ImageUploadStatusType'][_0x458e1f(0x414)]}),this[_0x458e1f(0x2a0)]();};});}[_0x2343e6(0x28c)](){var _0x396c7b=_0x2343e6,_0x8bdc3f;const _0x55b992=this['_configService']['getConfig'](_0x18b23c);return(_0x8bdc3f=_0x55b992==null?void 0x0:_0x55b992[_0x396c7b(0x1dd)])!=null?_0x8bdc3f:_0x1cab9c;}[_0x2343e6(0x339)](){var _0x4507d0=_0x2343e6,_0x53f0ed;const _0x25af95=this[_0x4507d0(0x1d4)]['getConfig'](_0x18b23c);return(_0x53f0ed=_0x25af95==null?void 0x0:_0x25af95['signUrlServerUrl'])!=null?_0x53f0ed:_0x2420ed;}['_getDownloadEndpointURL'](){var _0x3f5b94=_0x2343e6,_0x563d4a;const _0x32f561=this[_0x3f5b94(0x1d4)][_0x3f5b94(0x2ee)](_0x18b23c);return(_0x563d4a=_0x32f561==null?void 0x0:_0x32f561['downloadEndpointUrl'])!=null?_0x563d4a:location[_0x3f5b94(0x1e2)];}[_0x2343e6(0x102)](_0x2e0da7,_0x33456a){var _0x58d171=_0x2343e6;return _0x2e0da7[_0x58d171(0x393)](_0x58d171(0x158),_0x33456a);}[_0x2343e6(0x2a0)](){var _0x3be0d5=_0x2343e6;this[_0x3be0d5(0x37f)]-=0x1,this['_change$'][_0x3be0d5(0x3b5)](this[_0x3be0d5(0x37f)]);}},_0x9ad254[_0x2343e6(0x18f)]=_0x2d6231([_0xd6d348(0x0,_0x22bf6a['Inject'](_0x1d3e98[_0x2343e6(0x38a)])),_0xd6d348(0x1,_0x22bf6a[_0x2343e6(0x2e7)]),_0xd6d348(0x2,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x373)]))],_0x9ad254['CollaborationImageIoService']);var _0x380ad3=Object[_0x2343e6(0x39e)],_0x2b60fa=(_0x17cb59,_0x274c53,_0xa2ad41,_0x30e98b)=>{var _0x223620=_0x2343e6;for(var _0x4f6839=_0x30e98b>0x1?void 0x0:_0x30e98b?_0x380ad3(_0x274c53,_0xa2ad41):_0x274c53,_0x484e74=_0x17cb59[_0x223620(0xe7)]-0x1,_0x3bbcb3;_0x484e74>=0x0;_0x484e74--)(_0x3bbcb3=_0x17cb59[_0x484e74])&&(_0x4f6839=_0x3bbcb3(_0x4f6839)||_0x4f6839);return _0x4f6839;},_0x1eed34=(_0x132d59,_0x43cb14)=>(_0x24b9ab,_0x1e9bb8)=>_0x43cb14(_0x24b9ab,_0x1e9bb8,_0x132d59);const _0x162f06=_0x2343e6(0x144);_0x9ad254[_0x2343e6(0x2f6)]=class{constructor(_0x192090,_0x54d862){var _0x1bf7bb=_0x2343e6;this[_0x1bf7bb(0x1d4)]=_0x192090,this['_HTTPService']=_0x54d862;}[_0x2343e6(0x1ef)](){var _0x564c79=_0x2343e6,_0x2e8624;const _0x4e9bdc=this[_0x564c79(0x1d4)]['getConfig'](_0x18b23c);return(_0x2e8624=_0x4e9bdc==null?void 0x0:_0x4e9bdc['authzUrl'])!=null?_0x2e8624:_0x162f06;}async[_0x2343e6(0x115)](_0x3b7a82){var _0xcf47ee=_0x2343e6;const _0x405582=this[_0xcf47ee(0x1ef)]()+_0xcf47ee(0x304);return{'list':[{'title':_0xcf47ee(0x20c),'mentions':(await this[_0xcf47ee(0x22e)]['get'](_0x405582,{'params':{'objectID':_0x3b7a82[_0xcf47ee(0x187)],'unitID':_0x3b7a82[_0xcf47ee(0x187)]}}))[_0xcf47ee(0x433)][_0xcf47ee(0x18a)][_0xcf47ee(0x1f3)](_0xbc297c=>({'objectId':_0xbc297c['id'],'name':_0xbc297c['subject'][_0xcf47ee(0x1ca)],'metadata':{'icon':_0xbc297c[_0xcf47ee(0x32b)][_0xcf47ee(0x3fc)]},'label':_0xbc297c[_0xcf47ee(0x32b)][_0xcf47ee(0x1ca)],'objectType':_0x22bf6a[_0xcf47ee(0x40d)][_0xcf47ee(0x282)]})),'metadata':{},'type':_0x22bf6a[_0xcf47ee(0x40d)][_0xcf47ee(0x282)]}]};}},_0x9ad254['MentionIoHttpService']=_0x2b60fa([_0x1eed34(0x0,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a['IConfigService'])),_0x1eed34(0x1,_0x22bf6a[_0x2343e6(0x274)](_0x1d3e98['HTTPService']))],_0x9ad254['MentionIoHttpService']);var _0x25fb91=Object[_0x2343e6(0x39e)],_0x461ba4=(_0x527509,_0x2e9e65,_0x2db5bd,_0x521f43)=>{var _0x481ae7=_0x2343e6;for(var _0x3f262a=_0x521f43>0x1?void 0x0:_0x521f43?_0x25fb91(_0x2e9e65,_0x2db5bd):_0x2e9e65,_0x6ca022=_0x527509[_0x481ae7(0xe7)]-0x1,_0x2277b5;_0x6ca022>=0x0;_0x6ca022--)(_0x2277b5=_0x527509[_0x6ca022])&&(_0x3f262a=_0x2277b5(_0x3f262a)||_0x3f262a);return _0x3f262a;},_0x52f950=(_0x9d863b,_0x140490)=>(_0x5aae73,_0x5034e0)=>_0x140490(_0x5aae73,_0x5034e0,_0x9d863b);let _0x216b21=class extends _0x22bf6a[_0x2343e6(0x3c0)]{constructor(_0x238f5d,_0xa3b1af,_0x6edbe5,_0x17bca1,_0x1efb7c){var _0x402b1d=_0x2343e6;super(),this[_0x402b1d(0x2dd)]=_0x238f5d,this[_0x402b1d(0x381)]=_0xa3b1af,this[_0x402b1d(0x1ee)]=_0x6edbe5,this['_collaborationSessionService']=_0x17bca1,this[_0x402b1d(0x253)]=_0x1efb7c,this['_initUnitPermissionChange'](),this[_0x402b1d(0x363)]();}[_0x2343e6(0x363)](){var _0x196618=_0x2343e6;const _0x19c325=async _0x5eb526=>{var _0x1fcd92=_0x2774;(await this['_collaborationSessionService'][_0x1fcd92(0x384)](_0x5eb526))[_0x1fcd92(0x2d0)][_0x1fcd92(0x25e)](_0x170216[_0x1fcd92(0x31c)](_0x39fb12=>_0x39fb12[_0x1fcd92(0x259)]===_0x4f7392[_0x1fcd92(0x2e4)][_0x1fcd92(0x3ed)]),_0x170216[_0x1fcd92(0x424)](this[_0x1fcd92(0x1a4)]))['subscribe'](_0x1c2711=>{var _0x317ee5=_0x1fcd92;const _0x5524fe=_0x1c2711,{reason:_0x4ac105}=_0x5524fe[_0x317ee5(0x34d)];this['_collaborationUIEventService'][_0x317ee5(0x2cf)]({'id':_0x563766[_0x317ee5(0x2ce)],'data':_0x4ac105}),this[_0x317ee5(0x1ee)][_0x317ee5(0x155)](new _0x165825[(_0x317ee5(0x14b))](_0x5eb526)['id'],!0x1),this[_0x317ee5(0x275)][_0x317ee5(0x34f)](_0x5eb526);});};_0x1786f2[_0x196618(0x3f4)](this[_0x196618(0x381)][_0x196618(0x28b)](_0x22bf6a[_0x196618(0x28d)][_0x196618(0x376)]),this[_0x196618(0x381)][_0x196618(0x28b)](_0x22bf6a[_0x196618(0x28d)][_0x196618(0x2f1)]))[_0x196618(0x25e)](_0x170216[_0x196618(0x1f3)](_0x12ae23=>_0x12ae23[_0x196618(0x453)]()),_0x170216['filter'](_0x533397=>!_0x22bf6a[_0x196618(0x241)](_0x533397)),_0x170216[_0x196618(0x424)](this[_0x196618(0x1a4)]))[_0x196618(0x2b1)](_0x1dbcee=>{_0x19c325(_0x1dbcee);});}[_0x2343e6(0x2cc)](){var _0x1d5f24=_0x2343e6;const _0x227333=async _0x11bb9f=>{var _0x2cb2f1=_0x2774;const _0x1b3a38=await this['_collaborationSessionService'][_0x2cb2f1(0x384)](_0x11bb9f),_0x332025=this[_0x2cb2f1(0x2dd)][_0x2cb2f1(0x20e)](_0x165825[_0x2cb2f1(0x151)]);_0x1b3a38[_0x2cb2f1(0x2d0)][_0x2cb2f1(0x25e)](_0x170216['filter'](_0x52bccf=>_0x52bccf[_0x2cb2f1(0x259)]===_0x4f7392[_0x2cb2f1(0x2e4)][_0x2cb2f1(0x2ea)]),_0x170216[_0x2cb2f1(0x424)](this['dispose$']))[_0x2cb2f1(0x2b1)](_0x503d08=>{var _0x43b1f6=_0x2cb2f1;const _0x236685=_0x503d08,{objectId:_0x315fc5}=_0x236685[_0x43b1f6(0x34d)];_0x315fc5===_0x11bb9f?_0x332025[_0x43b1f6(0x21d)](_0x11bb9f):_0x332025['refreshPermission'](_0x11bb9f,_0x315fc5);});};_0x1786f2[_0x1d5f24(0x3f4)](this[_0x1d5f24(0x381)][_0x1d5f24(0x28b)](_0x22bf6a[_0x1d5f24(0x28d)][_0x1d5f24(0x376)]))['pipe'](_0x170216[_0x1d5f24(0x1f3)](_0x49e2b8=>_0x49e2b8['getUnitId']()),_0x170216[_0x1d5f24(0x31c)](_0x5d27ec=>!_0x22bf6a['isInternalEditorID'](_0x5d27ec)),_0x170216[_0x1d5f24(0x424)](this[_0x1d5f24(0x1a4)]))[_0x1d5f24(0x2b1)](_0xdb38=>{_0x227333(_0xdb38);});}};_0x216b21=_0x461ba4([_0x52f950(0x0,_0x22bf6a[_0x2343e6(0x274)](_0x22bf6a[_0x2343e6(0x3b9)])),_0x52f950(0x1,_0x22bf6a[_0x2343e6(0x373)]),_0x52f950(0x2,_0x22bf6a[_0x2343e6(0x32c)]),_0x52f950(0x3,_0x22bf6a['Inject'](_0x9ad254[_0x2343e6(0x30f)])),_0x52f950(0x4,_0x22bf6a[_0x2343e6(0x274)](_0x37f895))],_0x216b21);var _0x1ea115=Object[_0x2343e6(0x39e)],_0x4ebbf3=(_0x132c19,_0x58f2a6,_0x2cb925,_0x303695)=>{for(var _0x39a49b=_0x303695>0x1?void 0x0:_0x303695?_0x1ea115(_0x58f2a6,_0x2cb925):_0x58f2a6,_0x1fe42a=_0x132c19['length']-0x1,_0x43e6a4;_0x1fe42a>=0x0;_0x1fe42a--)(_0x43e6a4=_0x132c19[_0x1fe42a])&&(_0x39a49b=_0x43e6a4(_0x39a49b)||_0x39a49b);return _0x39a49b;},_0x4f01e8=(_0x5f2d4a,_0x12cee3)=>(_0x2297f5,_0x139362)=>_0x12cee3(_0x2297f5,_0x139362,_0x5f2d4a);_0x9ad254[_0x2343e6(0x1e7)]=class{constructor(_0x516bf0,_0x1b63e4){this['_configService']=_0x516bf0,this['_httpService']=_0x1b63e4;}async[_0x2343e6(0xf5)](_0x1284d7,_0x53be6a){var _0x1e3e13=_0x2343e6,_0x445ee0;const {unitID:_0x29b0a4,type:_0x479c9f,revision:_0x3ac312=0x0}=_0x53be6a,_0x4989b3=this[_0x1e3e13(0x29b)]()+'/'+_0x479c9f+_0x1e3e13(0x2fc)+_0x29b0a4+_0x1e3e13(0x1a2)+_0x3ac312,_0x5e671a=(await this['_httpService'][_0x1e3e13(0x20e)](_0x4989b3))[_0x1e3e13(0x433)],_0x1a31eb=(_0x445ee0=_0x5e671a[_0x1e3e13(0x2a7)])==null?void 0x0:_0x445ee0[_0x1e3e13(0x317)];if(_0x1a31eb){const _0x599158=_0x1a31eb==null?void 0x0:_0x1a31eb[_0x1e3e13(0x3db)],_0x5411d1=_0x4f7392[_0x1e3e13(0x204)]['encode'](_0x4f7392[_0x1e3e13(0x15d)](_0x599158));_0x1a31eb[_0x1e3e13(0x3db)]=_0x5411d1,Object[_0x1e3e13(0x356)](_0x1a31eb[_0x1e3e13(0x31e)])['forEach'](([,_0x2ccc3e])=>{var _0x56aee5=_0x1e3e13;const _0x28d986=_0x2ccc3e[_0x56aee5(0x3db)],_0x1b793b=_0x4f7392[_0x56aee5(0x204)]['encode'](_0x4f7392[_0x56aee5(0x15d)](_0x28d986));_0x2ccc3e[_0x56aee5(0x3db)]=_0x1b793b;});}return _0x5e671a;}async[_0x2343e6(0x162)](_0x57abee,_0x11deea){var _0x4e2938=_0x2343e6;const {unitID:_0x4ee801,type:_0x51626e,blockID:_0x3c6fa7}=_0x11deea,_0x565b52=this[_0x4e2938(0x287)]()+'/'+_0x51626e+_0x4e2938(0x2fc)+_0x4ee801+_0x4e2938(0x3e5)+_0x3c6fa7;return(await this[_0x4e2938(0x1d3)][_0x4e2938(0x20e)](_0x565b52))[_0x4e2938(0x433)];}async[_0x2343e6(0x1e8)](_0xc1e03e,_0x1d4daf){var _0xb153cc=_0x2343e6;const {unitID:_0x4ebd69,type:_0xab9c2,blockID:_0x311cde}=_0x1d4daf,_0x449835=this[_0xb153cc(0x287)]()+_0xb153cc(0x3e5)+_0xab9c2+_0xb153cc(0x2fc)+_0x4ebd69+_0xb153cc(0x3e5)+_0x311cde;return(await this['_httpService']['get'](_0x449835))[_0xb153cc(0x433)];}async[_0x2343e6(0x456)](_0x2180d7,_0x376a3b){var _0x2dac65=_0x2343e6;const {unitID:_0x3e8955,type:_0x425a8a,from:_0x1fd46e,to:_0x230f2d}=_0x376a3b,_0x31dde0=this[_0x2dac65(0x287)]()+'/'+_0x425a8a+'/unit/'+_0x3e8955+'/fetchmissing?from='+_0x1fd46e+_0x2dac65(0x45b)+_0x230f2d;return(await this[_0x2dac65(0x1d3)][_0x2dac65(0x20e)](_0x31dde0))[_0x2dac65(0x433)];}[_0x2343e6(0x29b)](){var _0x2e3b7d=_0x2343e6,_0x53b118;return(_0x53b118=this[_0x2e3b7d(0x1d4)][_0x2e3b7d(0x2ee)](_0x490224))!=null?_0x53b118:this[_0x2e3b7d(0x287)]();}['_getAPIPrefix'](){var _0x27fb97=_0x2343e6,_0x38f761;const _0x179e1c=this[_0x27fb97(0x1d4)][_0x27fb97(0x2ee)](_0x18b23c);return(_0x38f761=_0x179e1c==null?void 0x0:_0x179e1c[_0x27fb97(0x117)])!=null?_0x38f761:_0x41c905;}async[_0x2343e6(0x267)](_0x4fb7aa,_0x1a90cf){var _0x3d1e94=_0x2343e6;const _0x135c8a=_0x3d1e94(0x1a3)+_0x1a90cf['type']+_0x3d1e94(0x2fc)+_0x1a90cf[_0x3d1e94(0xd9)]+_0x3d1e94(0x3d4);return(await this[_0x3d1e94(0x1d3)][_0x3d1e94(0x20e)](_0x135c8a,{'params':{'resourceId':JSON[_0x3d1e94(0x338)](_0x1a90cf[_0x3d1e94(0x444)])}}))[_0x3d1e94(0x433)];}[_0x2343e6(0x12c)](){var _0x5a2d70=_0x2343e6;throw new Error(_0x5a2d70(0x1d5));}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2343e6(0x11b)](){var _0xbc8f58=_0x2343e6;throw new Error(_0xbc8f58(0x1d5));}['saveChangeset'](){var _0x8faa11=_0x2343e6;throw new Error(_0x8faa11(0x1d5));}[_0x2343e6(0x3f9)](){var _0x5662de=_0x2343e6;throw new Error(_0x5662de(0x1d5));}[_0x2343e6(0x1bd)](){var _0x4f2504=_0x2343e6;throw new Error(_0x4f2504(0x1d5));}},_0x9ad254['SnapshotServerOverHTTPService']=_0x4ebbf3([_0x4f01e8(0x0,_0x22bf6a['IConfigService']),_0x4f01e8(0x1,_0x22bf6a[_0x2343e6(0x274)](_0x1d3e98[_0x2343e6(0x38a)]))],_0x9ad254[_0x2343e6(0x1e7)]);var _0xc0932f=Object[_0x2343e6(0x39e)],_0x19ea6d=(_0x20ae83,_0x42d2e8,_0x5d3f3c,_0x35bd1c)=>{for(var _0x533a42=_0x35bd1c>0x1?void 0x0:_0x35bd1c?_0xc0932f(_0x42d2e8,_0x5d3f3c):_0x42d2e8,_0x29d908=_0x20ae83['length']-0x1,_0x3f946f;_0x29d908>=0x0;_0x29d908--)(_0x3f946f=_0x20ae83[_0x29d908])&&(_0x533a42=_0x3f946f(_0x533a42)||_0x533a42);return _0x533a42;},_0x47f832=(_0x52513f,_0x1214ee)=>(_0xec257a,_0xa1dc0b)=>_0x1214ee(_0xec257a,_0xa1dc0b,_0x52513f);_0x9ad254['CollaborativeUndoRedoService']=class extends _0x22bf6a[_0x2343e6(0x1cc)]{constructor(_0xa97fd4,_0x1b31ab,_0x232bea,_0x53f8bb,_0x25e121){var _0x359c95=_0x2343e6;super(_0xa97fd4,_0x1b31ab,_0x232bea),this['_transformService']=_0x53f8bb,this[_0x359c95(0x116)]=_0x25e121;}['transformUndoRedo'](_0x27b709,_0x466fbe){var _0x1fcd40=_0x2343e6;const _0x422d35=this[_0x1fcd40(0x2d9)](_0x27b709);if(_0x422d35)try{const _0x33feb4=this[_0x1fcd40(0x379)](_0x422d35,_0x466fbe);this[_0x1fcd40(0xdb)](_0x27b709,_0x33feb4);}catch(_0x1dcca8){this[_0x1fcd40(0x116)][_0x1fcd40(0x153)](_0x1fcd40(0x41f),_0x1dcca8),this[_0x1fcd40(0x191)](_0x27b709);}const _0x29daf1=this[_0x1fcd40(0x380)](_0x27b709);if(_0x29daf1)try{const _0x7a43a6=this[_0x1fcd40(0x379)](_0x29daf1,_0x466fbe);this['_substituteRedoStack'](_0x27b709,_0x7a43a6);}catch(_0x1c3f29){this[_0x1fcd40(0x116)][_0x1fcd40(0x153)](_0x1c3f29),this[_0x1fcd40(0x186)](_0x27b709);}}[_0x2343e6(0x191)](_0x542d89){var _0x1ef992=_0x2343e6;const _0x3dd8d7=this['_getUndoStack'](_0x542d89);_0x3dd8d7&&(_0x3dd8d7[_0x1ef992(0xe7)]=0x0,this[_0x1ef992(0x36c)]());}[_0x2343e6(0x186)](_0x25ac9f){var _0x10cae2=_0x2343e6;const _0x2cfc82=this[_0x10cae2(0x380)](_0x25ac9f);_0x2cfc82&&(_0x2cfc82[_0x10cae2(0xe7)]=0x0,this[_0x10cae2(0x36c)]());}[_0x2343e6(0xdb)](_0x13b0b9,_0x1cd01a){var _0x7b67bf=_0x2343e6;this[_0x7b67bf(0x112)][_0x7b67bf(0x2bd)](_0x13b0b9,_0x1cd01a),this[_0x7b67bf(0x36c)]();}[_0x2343e6(0x15c)](_0x4caed4,_0x277135){var _0x280db7=_0x2343e6;this['_redoStacks'][_0x280db7(0x2bd)](_0x4caed4,_0x277135),this[_0x280db7(0x36c)]();}[_0x2343e6(0x379)](_0x364174,_0x15a4cc){var _0x2ba274=_0x2343e6;const _0x35ff5b=[];let _0x3edc80=_0x15a4cc,_0x36f996=_0x15a4cc;for(let _0x573722=_0x364174[_0x2ba274(0xe7)]-0x1;_0x573722>=0x0;_0x573722--){const {unitID:_0x5520ea,undoMutations:_0x532dd3,redoMutations:_0x5287d8}=_0x364174[_0x573722],_0x4211e5=this['_transformService'][_0x2ba274(0x36e)](_0x3edc80,_0x532dd3),_0x22dcc1=this[_0x2ba274(0x2f2)][_0x2ba274(0x36e)](_0x36f996,_0x5287d8);if(_0x4f7392['isTransformMutationsWithChangesetFailure'](_0x4211e5)||_0x4f7392[_0x2ba274(0x3ef)](_0x22dcc1)){this[_0x2ba274(0x116)]['error'](_0x2ba274(0x41f),_0x2ba274(0x27d),_0x4211e5,_0x22dcc1);break;}_0x3edc80=_0x4211e5[_0x2ba274(0x388)],_0x36f996=_0x22dcc1[_0x2ba274(0x388)],_0x35ff5b[_0x2ba274(0x2d1)]({'unitID':_0x5520ea,'undoMutations':_0x4211e5[_0x2ba274(0x371)],'redoMutations':_0x22dcc1['m2Prime']});}return _0x35ff5b[_0x2ba274(0xd8)]();}},_0x9ad254['CollaborativeUndoRedoService']=_0x19ea6d([_0x47f832(0x0,_0x22bf6a[_0x2343e6(0x373)]),_0x47f832(0x1,_0x22bf6a[_0x2343e6(0x1fb)]),_0x47f832(0x2,_0x22bf6a[_0x2343e6(0x1e6)]),_0x47f832(0x3,_0x4f7392['ITransformService']),_0x47f832(0x4,_0x22bf6a[_0x2343e6(0x406)])],_0x9ad254[_0x2343e6(0xfd)]);var _0x5d936f=Object['defineProperty'],_0x4f9cbe=Object[_0x2343e6(0x39e)],_0x2bda5a=(_0x2ed071,_0x35efd0,_0x535e01)=>_0x35efd0 in _0x2ed071?_0x5d936f(_0x2ed071,_0x35efd0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x535e01}):_0x2ed071[_0x35efd0]=_0x535e01,_0x30684b=(_0x3312fc,_0x4f0b45,_0x2c1332,_0x141996)=>{var _0x4d8541=_0x2343e6;for(var _0x2d678b=_0x141996>0x1?void 0x0:_0x141996?_0x4f9cbe(_0x4f0b45,_0x2c1332):_0x4f0b45,_0x1ea94d=_0x3312fc[_0x4d8541(0xe7)]-0x1,_0x1ceef6;_0x1ea94d>=0x0;_0x1ea94d--)(_0x1ceef6=_0x3312fc[_0x1ea94d])&&(_0x2d678b=_0x1ceef6(_0x2d678b)||_0x2d678b);return _0x2d678b;},_0x36bbfc=(_0x2b2a91,_0x44bb21)=>(_0x590f5e,_0x5822ea)=>_0x44bb21(_0x590f5e,_0x5822ea,_0x2b2a91),_0x37c145=(_0x32dc27,_0x34e48c,_0x5825e3)=>_0x2bda5a(_0x32dc27,_0x34e48c+'',_0x5825e3);const _0x21c1ad=_0x2343e6(0x233);_0x9ad254[_0x2343e6(0x389)]=class extends _0x22bf6a[_0x2343e6(0x17a)]{constructor(_0x31c4c4,_0x4340c1,_0x5ed2d0,_0x349d23){var _0x3943d7=_0x2343e6;super(),_0x12b414(this,_0x3943d7(0x1fd)),(this[_0x3943d7(0x116)]=_0x4340c1,this[_0x3943d7(0x2dd)]=_0x5ed2d0,this['_configService']=_0x349d23);const {..._0x23fff3}=_0x22bf6a[_0x3943d7(0x3f4)]({},_0x3a98b0,_0x31c4c4);if(!_0x23fff3['socketService'])throw new Error(_0x3943d7(0x3ad));this[_0x3943d7(0x1fd)]=_0x23fff3,this[_0x3943d7(0x1d4)]['setConfig'](_0x18b23c,_0x23fff3);}[_0x2343e6(0x1e1)](){var _0x5e5df0=_0x2343e6;this['_registerDependencies'](),this[_0x5e5df0(0x2b3)]();}[_0x2343e6(0x44f)](){var _0x4c15de=_0x2343e6,_0x109c2b,_0x1053a3;this['_injector'][_0x4c15de(0x130)](_0x22bf6a[_0x4c15de(0x16d)])&&this[_0x4c15de(0x116)][_0x4c15de(0x153)](_0x4c15de(0x15e),_0x4c15de(0x272));const _0x2d34df=_0x22bf6a[_0x4c15de(0x214)]([[_0x22bf6a[_0x4c15de(0x16d)],{'useClass':_0x9ad254['CollaborativeUndoRedoService']}],[_0x9ad254[_0x4c15de(0x30f)]],[_0x9ad254[_0x4c15de(0x243)]],[_0x9ad254[_0x4c15de(0x182)]],[_0x2ba7e2],[_0x156564],[_0x59755d],[_0x216b21],[_0x37f895],[_0x9ad254[_0x4c15de(0x11f)]],[_0x2ce10f,{'useClass':this[_0x4c15de(0x1fd)][_0x4c15de(0xdc)]}],[_0x4f7392[_0x4c15de(0x32f)],{'useClass':_0x9ad254['SnapshotServerOverHTTPService']}],[_0x22bf6a[_0x4c15de(0x1e5)],{'useClass':_0x9ad254['AuthzIoHttpService']}],[_0x555468[_0x4c15de(0x1c8)],{'useClass':_0x9ad254[_0x4c15de(0x18f)]}],[_0x22bf6a[_0x4c15de(0x413)],{'useClass':_0x9ad254[_0x4c15de(0x2f6)]}],[_0x9ad254['CollaborationController']],[_0x1bf0a5]],(_0x109c2b=this[_0x4c15de(0x1fd)])==null?void 0x0:_0x109c2b['override']);if(!((_0x1053a3=this[_0x4c15de(0x1fd)])!=null&&_0x1053a3[_0x4c15de(0x2aa)])){const _0x121e81=_0x2d34df['findIndex'](([_0x4d4583])=>_0x4d4583===_0x200cf8);_0x121e81!==-0x1&&_0x2d34df['splice'](_0x121e81,0x1);}_0x22bf6a[_0x4c15de(0x266)](this[_0x4c15de(0x2dd)],_0x2d34df);}[_0x2343e6(0x2b3)](){var _0x4e5ded=_0x2343e6,_0x50c12c,_0x5da8b2,_0x2c2147;this[_0x4e5ded(0x2dd)][_0x4e5ded(0x20e)](_0x1d3e98[_0x4e5ded(0x38a)])[_0x4e5ded(0x195)]({'priority':0x14,'interceptor':_0x1d3e98['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x50c12c=this[_0x4e5ded(0x1fd)])!=null&&_0x50c12c[_0x4e5ded(0x46a)]||(_0x5da8b2=this[_0x4e5ded(0x2dd)][_0x4e5ded(0x20e)](_0x4394e7,_0x22bf6a[_0x4e5ded(0x3ab)][_0x4e5ded(0x293)]))==null||_0x5da8b2[_0x4e5ded(0x156)](),(_0x2c2147=this[_0x4e5ded(0x1fd)])!=null&&_0x2c2147[_0x4e5ded(0x1b0)]&&_0x22bf6a[_0x4e5ded(0x133)](this[_0x4e5ded(0x2dd)],[[_0x2ba7e2]]),_0x22bf6a[_0x4e5ded(0x133)](this[_0x4e5ded(0x2dd)],[[_0x156564],[_0x9ad254['CollaborationController']],[_0x216b21]]);}},_0x37c145(_0x9ad254[_0x2343e6(0x389)],_0x2343e6(0x10b),_0x21c1ad),_0x9ad254[_0x2343e6(0x389)]=_0x30684b([_0x22bf6a[_0x2343e6(0x449)](_0x4f7392[_0x2343e6(0x386)],_0x1d3e98[_0x2343e6(0x2c7)]),_0x36bbfc(0x1,_0x22bf6a[_0x2343e6(0x406)]),_0x36bbfc(0x2,_0x22bf6a['Inject'](_0x22bf6a[_0x2343e6(0x3b9)])),_0x36bbfc(0x3,_0x22bf6a[_0x2343e6(0x2e7)])],_0x9ad254[_0x2343e6(0x389)]),_0x9ad254[_0x2343e6(0x3f5)]=_0x18b23c,_0x9ad254[_0x2343e6(0x1dc)]=_0x614bb5,_0x9ad254['CollaborationUIEventId']=_0x563766,_0x9ad254['CollaborationUIEventService']=_0x37f895,_0x9ad254[_0x2343e6(0x435)]=_0x59755d,_0x9ad254['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0xa980e0,_0x9ad254[_0x2343e6(0x369)]=_0x1c9e27,_0x9ad254[_0x2343e6(0x300)]=_0x9c0542,_0x9ad254[_0x2343e6(0x44d)]=_0x2ee1cf,_0x9ad254['HEARTBEAT_TIMEOUT_KEY']=_0x2ab30c,_0x9ad254[_0x2343e6(0x10a)]=_0x2ce10f,_0x9ad254[_0x2343e6(0x134)]=_0x4394e7,_0x9ad254[_0x2343e6(0x340)]=_0x5cc65f,_0x9ad254['ISingleActiveUnitService']=_0x200cf8,_0x9ad254['LOCAL_CACHE_INTERVAL']=0x3e8,_0x9ad254['LOCAL_CACHE_INTERVAL_KEY']=_0x38fcab,_0x9ad254['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x50bd51,_0x9ad254['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x3977ea,_0x9ad254[_0x2343e6(0x431)]=_0x2270b5,_0x9ad254[_0x2343e6(0x125)]=_0x5395d1,_0x9ad254[_0x2343e6(0x32e)]=_0x362c16,_0x9ad254[_0x2343e6(0x459)]=_0x4e400e,_0x9ad254[_0x2343e6(0x41d)]=_0xd15766,Object[_0x2343e6(0x100)](_0x9ad254,Symbol['toStringTag'],{'value':_0x2343e6(0xf0)});}));
2
+ function _0x572e(_0x79dfb7,_0x4431ea){_0x79dfb7=_0x79dfb7-0x7e;var _0x2c59ff=_0x2c59();var _0x572e03=_0x2c59ff[_0x79dfb7];return _0x572e03;}function _0x2c59(){var _0x10eefc=['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','collaMsg','_key','YUUMI_RATE_OVER_LIMIT','654713EkufYO','sheets','_createHandler','key','/universer-api/comb','reqId','APPLY_DUPLICATED','_onConnectionOpen','/block/','REDEMPTION_CODE_FULLY_REDEEMED','closeSession','PERSON','78124bgkpwF','reverse','getCurrentRevOfUnit','toDisposable','_unlockTransition','FetchingMissState','registerHTTPInterceptor','infoRsp','unitId','_transformStateCache','SheetTransformSelectionsService','RETRY_CONNECTING_MAX_COUNT_KEY','newCsEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','error$','mixIn','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getRandomValues','CollaborationEvent','collaborators','CBC','pending','_initCloseConn','_getSignURL','getSnapshotAPIPath','/universer-api/stream/file/upload','CompressMutationService','has','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','commentUpdateEvent','disposeWithMe','charCodeAt','MOBILE_VERIFY_CODE_MISMATCH','_singleActiveUnitService','YUUMI_CONNECTOR_URL_NOT_FOUND','_stopTelemetryCollaborationNewChangeset','2929608fXQHkf','PERMISSION_DENIED','_onConnectionFailed','MemberService','unitID','DEFAULT_FILE_NAME','enableCollaboration','1080684mmxvGU','_onOffline','find','compose','from','/-/object/list','REDEMPTION_CODE_INACTIVE','_HTTPService','loadOfflineData','/object/','isArray','min','image/jpeg','routeKey','[CollaborationUndoRedoService]','extend','setCurrentUser','save\x20fail\x20reason\x20is\x20','UniverNetworkPlugin','toggleOffline','override','name','_handlerCallback','/collaborator','keySize','headers','CollaborationSessionService','textEncoder','_snapshotService','roles','AWAITING_WITH_PENDING','awaiting','UniverProCollaboration','_clearRetryConnectingTimer','FETCH_MISSING','getActiveSheet','_onRemoteACK','ENTITLE_INSUFFICIENT_QUOTA','getUnitId','deleteCollaborator','\x0aAfter:\x20','SUBMIT_CHANGESET_TIMEOUT','ivSize','list','UPDATE_CURSOR','charAt','finalize','event$','UnitSnapshot','authzUrl','updateCollaborator','BufferedBlockAlgorithm','setShowComponents','Malformed\x20UTF-8\x20data','csRejEvent','_initRequestHeader','_toggleOnline','[CollaborationEntity]','onSyncEditingCollabCursor','_injector','IDLE','NOT_COLLAB','resolve','_snapshotServerService','MUTATION','_userManagerService','UniverNetwork','getMember','__creator','snapshot','_clearHeartbeatTimer','onTransformRemoteChangesetByIMECache','Decryptor','/universer-api/authz','range','APPLY_REJECT','_decreaseWaiting','InsertSheetMutation','&source=','refreshPermission','encode','ceil','Error\x20on\x20receiving\x20event','CollaborationStatus','UNIVER_DOC','UNAUTHENTICATED','repeat','socket\x20open.','SUBMIT_CHANGESET','UniverCore','USERS_ENTER','actions','@univerjs-pro/license','_transformService','@univerjs/network','_updateState','sin','saveChangeset','post','onRemoteAck','values','hasOwnProperty','YUUMI_TABLE_NOT_FOUND_IN_UNIT','members$','_config','parseProtocolChangeset','_toggleOffline','capture','ReplaySubject','FAIL','toggleOnline','AwaitingState','splice','univer-pro.collaboration-client.network-condition.service','startsWith','title','COMPLETION_FINISHED','Optional','parse','onRemoteChangeset','byteOffset','IPermissionService','_transformUndoredo','getOwnPropertyDescriptor','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','JOIN_ROOM_FAILED','RevisionService','duration','body','10438800iBJIcg','JOIN_ROOM_PERMISSION_DENIED','_eventService','_changesetSessionId','UNIVER_SLIDE','memberID','CHANGESET_SHOULD_RETRY','ENTITLE_CAN_NOT_BUY_LOWER_OTP','LOCAL_CACHE_INTERVAL_KEY','HTTPService','_getRedoStack','withCredentials','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20received\x20acknowledgement.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','IImageIoService','commentUpdate$','pluginName','iterations','originalMeta','ERROR_AGAIN','onRemoteRej','exports','EvpKDF','Workbook','UnitStatus','onLocalMutation','CHANGESET_ACK','_telemetryInfo','_redoStacks','APPLY_REVISION_CONFILICT','_replaceFileID','putCollaborators','YUUMI_SUBSCRIPTION_NOT_FOUND','_telemetryService','JOIN_ROOM_FULL','_commentService','USER_NOT_INVITED_CODE','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','ENTITLE_NEED_BILLING_ADDRESS','_onJoinRoomEvent','default','_showConflictNotification','_retryCount','function','editing\x20status\x20changed\x20to','_transformRemoteChangesetByStateCache','UNISCRIPT_RUN','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','findIndex','/-/object/-/batch_allowed','Disposable','HttpExport','transformSelections','Univer','_compressMutationService','updatePermissionObjEvent','replace','sequenceExecute','JSONX','result','allowed','LICENSE_EXPORT_SIZE_EXCEEDED','_roomMembers','mapDocumentTypeToUniverType','_substituteUndoStack','every','CommentService','sessionStatus','_clearTimeoutTimer','_doCreateSocket','url','incrementRevOfUnit','send','getTime','APPLY_NON_SEQUENTIAL_REVISION','dispose$','isInternalEditorID','_keyPriorReset','baseRev','_nRounds','@univerjs/telemetry','_createInitialStateImpl','UniverTelemetry','touchDependencies','_type','_localCacheService','CollaborationSession','collabSubmitChangesetUrl','action','_map','_updateStatus','open$','AWAITING','_lockTransition','pipe','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','mergeOverrideWithDependencies','/object','enc','PENDING','_doFinalize','MSG_FOR_ERROR','LocaleService','RETRY_CONNECTING_MAX_COUNT','MD5','_applyRemoteChangeset','_reverseMap','CollaborationController','encryptBlock','LIVESHARE_NEW_HOST','_joinRoom','_iKey','stringify','subscribe','HEARTBEAT','_revisionService','get','_sendHeartbeat','ISocketService','set','_doProcessBlock','OTHER_CLIENTS_EDITING','JOIN_ROOM_NOT_EXISTS','_prevBlock','UNDEFINED','reduce','LICENSE_DISTRO_REJECTED','_oKey','map','format','$super','HmacMD5','MentionType','complete','_waitForHeartbeatResponse','interceptor','target','c2Prime','_process','createIdentifier','filter','Base64','operators','IAuthzIoService','YUUMI_URL_COL_OUT_OF_RANGE','_onUserJoin','data','_getUploadFileURL','_fetchMissChangesets','Plugin','LOCAL_CACHE_INTERVAL','call','StreamCipher','getInterceptPoints','setConfig','_substituteRedoStack','socketService','UUID','x-univer-host','_remoteChangesetQueue','isPermissionRej','_tryEnsureSocket','SnapshotService','_onLocalMutation','defineProperty','JOINING','collabWebSocketUrl','patch','rxjs/operators','next','HmacSHA1','clamp','_onRemoteRetry','UNIVER_PROJECT','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','IContextService','updateCursorEvent','NEW_CHANGESETS','onMutationExecutedForCollab','deserializeToCombResponse','formatter','REDEMPTION_CODE_NOT_STARTED','transformStack\x20failed!','onMissedChangesetFetched','_cipher','getUnitType','session.join-failed','unknown','BehaviorSubject','_queuedRemoteChangesets','LocalUndoRedoService','session.room-cnt-exceeds','_changesetReqId','/new_changes','ENTITLE_USE_COUPON_NOT_1ST_TRADE','getAllMembers','INVITE_CODE_HAS_BEEN_UES','OPTIONAL','DataLoaderService','/universer-api/oidc/authpage','?url=','/universer-api/snapshot/','SNAPSHOT_INVALID_SNAPSHOT','clone','type','Failed\x20to\x20update\x20permission\x20point','SerializableCipher','not_collab','resend','prototype','state$','HMAC','awaitingChangeset','_collaborationTimeoutTimer','_retryConnectingTimer','YUUMI_ALL_TABLES_IS_INVALID','onTransformState','forEach','updateMember','offline','_onConflict','userID','unitInfo$','2ptDyEU','_createHelper','ThresholdInterceptorFactory','_clearRedo','GLOBAL_ROOMS_CNT_EXCEEDS','ENTITLE_REPORT_LIMIT_EXCEED','isTransformMutationsWithChangesetSuccess','_disableEditing','execute','UniverInstanceType','salt','mode','size','apply','status','auth.needGotoLoginAlert','_transformRemoteChangesetByIMECache','CollaborativeUndoRedoService','BlockCipher','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','INVITE_CODE_REQUIRED','AuthzIoHttpService','createSocket','\x20-\x20','_roomCreated$','concatMap','_createInitialState','objectType','_members','EMAIL_HAS_BEEN_BOUND','file','_shouldReportTelemetry','transformUndoRedo','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','LEAVE','_transformSelections','revision','mutations','[CollaborationSession]','ENTITLE_DUP_SUBSCRIPTION','getUnit','_resendTimer','UPDATE_PERMISSION_OBJ','ENSURE_SNAPSHOT_EXECUTION','getValue','getResourcesRequest','transformChangesets','\x20in\x20_schedule.','synced','_scheduleCompleteTimestamp','code','onlyLocal','getTypeOfUnitAdded$','_append','_initDependencies','WECHAT_HAS_BEEN_BOUND','YUUMI_NO_CUBOID_FOR_QUESTION','uniscriptRunEvent','/resources','ERROR_IMAGE','unsubscribe','__esModule','Hasher','TOO_MANY_REQUESTS','_onCombEvent','/unit/','DEFAULT_COLLAB_WEB_SOCKET_URL','UniverProLicense','POST','UNIVER_SHEET','_awaitingChangeset','_hasher','params','__splitChunk__','_getCtorByUniverType','_configService','uuidv4','_sendHeartbeatTimer','_iv','_commandService','ALREADY_EXISTS','onTransformSelections','SYNCED','state','_isPermissionRej','_exhaustRemoteChangesetQueue','enableAuthServer','resourceIDs','rev','UNIVER_COLLABORATION_CLIENT_PLUGIN','OpenSSL','ImageSourceType','workbook','_getAPIPrefixPath','loadUnitOfRevision','includes','ICommandService','getCurrentSelections','join','_state','_invKeySchedule','slice','padding','onRemoteRetry','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','floor','_doCryptBlock','_data','INGEST','method','_timeoutTimer','LIVESHARE_TERMINATE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_socket','_getUndoStack','Undefined','SNAPSHOT_URL_KEY','snapshotServerUrl','MergeInterceptorFactory','objectID','pad','objectActions','downloadEndpointUrl','getCollabEntity','_doReset','_waitCount','getFocusedUnit','ITelemetryService','focused$','/universer-api/user/session-ticket','230YSKkGe','_socketReady','/universer-api/file/{fileID}/sign-url','firstValueFrom','Cipher','AwaitingWithPendingState','_initMergeInterceptor','LIVESHARE_REQUEST_HOST','createEncryptor','CollaborationEntity','crypto','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','CONNECTOR_DATA_TOO_LARGE','isTransformMutationsWithChangesetFailure','fetchMiss','_submitChangeset','fetchThroughInterceptors','ISingleActiveUnitService','sigBytes','_sessions','getRoom','getConfig','ILogService','onSendChangeset','ENTITLE_CHAT_LIMIT_EXCEED','3064kuGuVf','YUUMI_ASYNCIO_CANCELLED','_mode','saveImage','ENTITLE_COUPON_USED_UP','UnitEmbedded','session.room-full','_sender','_incrementRevisionNumber','delete','_socketService','message$','takeUntil','_sendingTimer','SheetCollaborationEntity','APPLY_PERMISSION_DENIED','_socketMessageSubscription','IUniverInstanceService','blockSize','enableSingleActiveInstanceLock','NO_OTHER_CLIENTS_EDITING','IConfigService','onTransformRemoteChangesetByStateCache','/rev/','COMPRESS_MUTATION_APPLY','CLOSE_ROOM','_event$','_onFetchMissResult','[CollaborationState]:\x20apply\x20error!','batchAllowed','People','REDEMPTION_USER_REDEEM_TIMES_EXCEED','lib','change$','REDEMPTION_USER_NOT_ELIGIBLE','_onUserLeave','CollaborationUIEventService','_createHmacHelper','_getSendChangesetTimeout','LOGIN_FAILED','ClipsheetFragments','csShouldRetryEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_xformMode','_hash','INVALID_ARGUMENT','emitEvent','registerDependencies','onTransformIME','YUUMI_AI_RUN_FAILED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_permissionService','INVITE_CODE_ALREADY_BOUND','@univerjs/drawing','UserProfileImg','univer-pro.collaboration-client.single-active-unit-service','_transformStack','UniverCollaborationClientPlugin','_resendWithTimeout','merge','_initUnitPermissionChange','EMAIL_VERIFY_CODE_MISMATCH','Module','online$','_unitID','max','HELLO','_members$','LOGIN_TOKEN_PROCESSING_FAILED','_onRemoteRejected','b64DecodeUnicode','_collaborationSessionService','conflict','_checkMissing','_imageSourceCache','FETCH_MISS','shouldCloseConn','_status$','_throwTelemetryCollaborationNewChangeset','isTransformChangesetsSuccess','requestParams','encrypt','SyncedState','toString','_init','_ENC_XFORM_MODE','add','AUTHORIZE_CODE_ILLEGAL','asObservable','_sessionStatus$','SessionStatus','sendChangesetTimeout','fetch_missing','updateSnapshot','string','BlockCipherMode','onMissingChangesets','_collaborationUIEventService','then','delay','pauseCollaboration','_startTelemetryCollaborationNewChangeset','[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.','_undoStacks','WordArray','CollaborationSocketService','UNRECOGNIZED','rxjs','Utf8','executeCommand','SNAPSHOT_HAS_BEEN_REMOVED','joinRsp','_instanceService','readyForCollab','create','UNIVER_UNKNOWN','cfg','transformMutationsWithChangeset','IUndoRedoService','loadSheet','_resendTimeout','ONLINE','YUUMI_UNABLE_LOAD_URL','_clearScheduledTask','onCommentUpdate','ISnapshotServerService','_nDataBytes','[DataLoaderService]','unpad','now','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_DEC_XFORM_MODE','session','_getCurrentRevision','selections','ConflictState','_startCollaboration','@univerjs-pro/collaboration','DisposableCollection','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collaboration_new_changeset','enableOfflineEditing','href','updatePermissionPoint','session.room-permission-denied','2989wjDxsK','_transitionLocked','Subject','src','eventID','update','reset','saveSheetBlock','UniverProCollaborationClient','uploadFileServerUrl','connection\x20error','_collaborationPaused','_entities','c1Prime','updateOfflineData','image/png','Rectangle','_rescheduleHeartbeat','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_registerDependencies','catch','subject','createInstance','/allowed','[OfflineState]:\x20received\x20acknowledgement.','_pendingMutations','reject','sessionStatus$','_transformIMECache','USER_IS_ANONYMOUS','getUnitOnRev','dispose','_listenToNetworkCondition','leaveEvent','session.room-not-exists','fetchMissingChangesets','roomInfos','/role','PasswordBasedCipher','failed\x20to\x20apply\x20missed\x20changesets!','NOT_FOUND','clear','status$','SheetPermissionInitController','ITransformService','getCurrentUser','collaboration-client.config','debug','_replayCachedMutations','fetching\x20missing\x20changesets\x20from\x20','deepClone','hasher','Base','DocCollaborationEntity','DEFAULT_WS_SESSION_TICKET_URL','push','_entityInit$','take','ICollaborationSocketService','SHA1','Encryptor','LIVESHARE_FETCH_OPERATIONS','amd','concat','USERS_LEAVE','HEARTBEAT_INTERVAL','&assign=','msCrypto','SOCKET_FAILED','_univerInstanceService','getLatestCsReqIdBySid','LICENSE_IMPORT_SIZE_EXCEEDED','PendingState','members','listCollaborators','kdf','close','_getAPIPrefix','getDeserializedSheetBlock','Inject','_networkConditionService','reconnect','signUrlServerUrl','CommandType','decrypt','_getLoginPath','_schedule','algo','FileId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','requireSession','ImageUploadStatusType','[OfflineState]:\x20received\x20changeset.','put','cmd','CHANGESET_REJ','_collabSessionService','generateRandomId','location','PY_RUNTIME_SCRIPT_ERROR','_tryReconnect','PERMISSION_REJ','_minBufferSize','sid','responseType','CollaborationUIEventId','appendMutation','SheetsSelectionsService','_logService','_updateLocalCache','_state$','OFFLINE','RECV','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','BASE64','readInt32LE','EmptyMutationInfo','_removeRoom','_httpService','getImage','image/jpg','append','AES','2834190nyuYdp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','RxDisposable','socket$','MentionIoHttpService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_acknowledgedAwaitingChangeset','_onRemoteChangeset','_socket$','LIVESHARE_OPERATION','_unitInfo$','REDEMPTION_INVALID_CODE','@univerjs/core','{fileID}','_memberService','DATA_SOURCE_TOO_LARGE','PSEUDO_FETCH_MISSING_RESULT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationImageIoService','Pkcs7','HEARTBEAT_TIMEOUT_KEY','_commentUpdate$','error','words','Injector','ENTITLE_INVALID_COUPON_CODE','OfflineState','IMentionIOService','WorkbookEditablePermission','entityInit$','_syncEditingCollabCursor','_emitMembers','getCollabEntity$','univer-pro.collaboration-client-socket-service','UNKNOWN_CMD','close$','getImageSourceCache','image/gif','_change$','changesets','compute','_handler','submit\x20changeset\x20error!','liveShareOperation','OTHER_CLIENT_EDITING','createCollaborator','USER_NOT_FOUND','?size=','CURRENT_STATUS_CANNOT_OPERATE','getWorkbookSelections','length','removeMember','listRoles','_candidateSocket','_undoRedoService','REDEMPTION_CODE_HAS_BEEN_CREATED','INVALID_INVITE_CODE','JOIN','[CollaborationSessionService]','_scheduleCollaborationTimeoutTimer','_localeService','m2Prime','createDecryptor','_clearLocalCache','init','SnapshotServerOverHTTPService','liveShareNewHost','SetSelectionsOperation','HttpImport','ciphertext','_getDownloadEndpointURL','unit-cache-','confirm','initWorkbookPermissionChange','localCacheService','getSheetId','random','randomBytes','UniverDrawing','_clearCollaborationTimeoutTimer','stopTime','_onMessage','addHandlerCallback','origin','indexOf','_executeRemoteChangeset','INTERNAL_ERROR','COMPRESS_MUTATION_SEND','CONFLICT','RichTextEditingMutation','saveSnapshot','entries','getTypeOfUnitDisposed$','UNKNOWN_CODE','fromCharCode','fromCollab','textRanges','__Key__','COMMENT_UPDATE','MOBILE_HAS_BEEN_BOUND','encodeURIComponent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','CHANGESET_REVISION_CONFILICT','/universer-api/snapshot','Tools','SOCKET_FAILED_RETRY'];_0x2c59=function(){return _0x10eefc;};return _0x2c59();}(function(_0x4bf05f,_0x470280){var _0x2af513=_0x572e,_0x291840=_0x4bf05f();while(!![]){try{var _0x526013=parseInt(_0x2af513(0x325))/0x1*(-parseInt(_0x2af513(0x110))/0x2)+parseInt(_0x2af513(0x355))/0x3+parseInt(_0x2af513(0x331))/0x4*(-parseInt(_0x2af513(0x192))/0x5)+parseInt(_0x2af513(0x2b7))/0x6+parseInt(_0x2af513(0x23c))/0x7*(-parseInt(_0x2af513(0x1ab))/0x8)+-parseInt(_0x2af513(0x35c))/0x9+parseInt(_0x2af513(0x3dd))/0xa;if(_0x526013===_0x470280)break;else _0x291840['push'](_0x291840['shift']());}catch(_0xa0cfd4){_0x291840['push'](_0x291840['shift']());}}}(_0x2c59,0xa0299),function(_0x2ce3ed,_0x2b7725){var _0x4dcb84=_0x572e;typeof exports=='object'&&typeof module<'u'?_0x2b7725(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x4dcb84(0x409)&&define[_0x4dcb84(0x27a)]?define(['exports',_0x4dcb84(0x234),_0x4dcb84(0x2c3),'@univerjs/docs','@univerjs/sheets',_0x4dcb84(0x216),_0x4dcb84(0x81),_0x4dcb84(0xd9),_0x4dcb84(0x3ba),_0x4dcb84(0x1e0),_0x4dcb84(0x3b8)],_0x2b7725):(_0x2ce3ed=typeof globalThis<'u'?globalThis:_0x2ce3ed||self,_0x2b7725(_0x2ce3ed[_0x4dcb84(0x244)]={},_0x2ce3ed[_0x4dcb84(0x37c)],_0x2ce3ed[_0x4dcb84(0x3b5)],_0x2ce3ed['UniverDocs'],_0x2ce3ed['UniverSheets'],_0x2ce3ed[_0x4dcb84(0x216)],_0x2ce3ed[_0x4dcb84(0x83)],_0x2ce3ed[_0x4dcb84(0x216)][_0x4dcb84(0xbf)],_0x2ce3ed[_0x4dcb84(0x39e)],_0x2ce3ed[_0x4dcb84(0x305)],_0x2ce3ed[_0x4dcb84(0x153)]));}(this,function(_0x313ef4,_0xdad847,_0x593ae3,_0x6ea9c7,_0x196ab6,_0x2ff251,_0x5679e5,_0x137fa6,_0x38c133,_0x3fed8b,_0x349663){'use strict';var _0x509db9=_0x572e;var _0x3c850b=Object['defineProperty'],_0x2bb7ec=(_0x32fd6a,_0x5b2309,_0x2137f8)=>_0x5b2309 in _0x32fd6a?_0x3c850b(_0x32fd6a,_0x5b2309,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2137f8}):_0x32fd6a[_0x5b2309]=_0x2137f8,_0x309c0d=(_0x9c9d7,_0x3185d3,_0x11e036)=>_0x2bb7ec(_0x9c9d7,typeof _0x3185d3!='symbol'?_0x3185d3+'':_0x3185d3,_0x11e036);const _0x21d126=_0x509db9(0x31e),_0x16ba83=_0x509db9(0x184),_0x407f4f='ws://127.0.0.1:8000/universer-api/comb/connect',_0x29e50d=_0x509db9(0x191),_0x55547f=_0x509db9(0x27d),_0x30846d='HEARTBEAT_TIMEOUT',_0x52e10c=_0x509db9(0x98),_0x2b3841=_0x509db9(0xc7),_0x411702=_0x509db9(0x329),_0x1f9169=_0x509db9(0xf8),_0x5f3fee=_0x509db9(0x24e),_0x162619='/universer-api/uniscript';var _0x56ddea=(_0x626978=>(_0x626978[_0x626978[_0x509db9(0xad)]=0x0]='UNDEFINED',_0x626978[_0x626978['OK']=0x1]='OK',_0x626978[_0x626978[_0x509db9(0x30d)]=0x2]=_0x509db9(0x30d),_0x626978[_0x626978[_0x509db9(0x356)]=0x3]=_0x509db9(0x356),_0x626978[_0x626978[_0x509db9(0x264)]=0x4]=_0x509db9(0x264),_0x626978[_0x626978[_0x509db9(0x3b1)]=0x5]=_0x509db9(0x3b1),_0x626978[_0x626978[_0x509db9(0x160)]=0x6]='ALREADY_EXISTS',_0x626978[_0x626978[_0x509db9(0x1d8)]=0x7]=_0x509db9(0x1d8),_0x626978[_0x626978[_0x509db9(0x14f)]=0x8]=_0x509db9(0x14f),_0x626978[_0x626978[_0x509db9(0x3d0)]=0x9]=_0x509db9(0x3d0),_0x626978[_0x626978[_0x509db9(0x1d2)]=0xa]='LOGIN_FAILED',_0x626978[_0x626978[_0x509db9(0x351)]=0xb]=_0x509db9(0x351),_0x626978[_0x626978[_0x509db9(0x295)]=0xc]=_0x509db9(0x295),_0x626978[_0x626978['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x509db9(0x1e8),_0x626978[_0x626978['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x509db9(0x178),_0x626978[_0x626978['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x509db9(0x202),_0x626978[_0x626978[_0x509db9(0x1ef)]=0x10]=_0x509db9(0x1ef),_0x626978[_0x626978[_0x509db9(0x2e7)]=0x64]=_0x509db9(0x2e7),_0x626978[_0x626978['ERROR_AGAIN']=0x65]=_0x509db9(0x3f1),_0x626978[_0x626978[_0x509db9(0x2e5)]=0xc9]=_0x509db9(0x2e5),_0x626978[_0x626978[_0x509db9(0x259)]=0xca]='USER_IS_ANONYMOUS',_0x626978[_0x626978['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x509db9(0x31d),_0x626978[_0x626978[_0x509db9(0xfb)]=0x1771]=_0x509db9(0xfb),_0x626978[_0x626978['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x509db9(0x219),_0x626978[_0x626978[_0x509db9(0x13b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x626978[_0x626978[_0x509db9(0x3a7)]=0x1b59]=_0x509db9(0x3a7),_0x626978[_0x626978[_0x509db9(0x428)]=0x1b5a]=_0x509db9(0x428),_0x626978[_0x626978[_0x509db9(0x3fb)]=0x1b5b]=_0x509db9(0x3fb),_0x626978[_0x626978[_0x509db9(0x1ba)]=0x1b5c]=_0x509db9(0x1ba),_0x626978[_0x626978[_0x509db9(0x32b)]=0x1b5d]=_0x509db9(0x32b),_0x626978[_0x626978['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x509db9(0x19e),_0x626978[_0x626978['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x626978[_0x626978[_0x509db9(0x2c8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x626978[_0x626978[_0x509db9(0x283)]=0x232b]=_0x509db9(0x283),_0x626978[_0x626978['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x509db9(0x41b),_0x626978[_0x626978[_0x509db9(0xaf)]=0x232d]=_0x509db9(0xaf),_0x626978[_0x626978['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x509db9(0x225),_0x626978[_0x626978[_0x509db9(0xc1)]=0x2712]=_0x509db9(0xc1),_0x626978[_0x626978[_0x509db9(0x324)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x626978[_0x626978[_0x509db9(0x3fe)]=0x2714]=_0x509db9(0x3fe),_0x626978[_0x626978[_0x509db9(0x148)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x626978[_0x626978['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x509db9(0x1ac),_0x626978[_0x626978[_0x509db9(0x3c2)]=0x271c]=_0x509db9(0x3c2),_0x626978[_0x626978[_0x509db9(0x108)]=0x271d]=_0x509db9(0x108),_0x626978[_0x626978[_0x509db9(0x341)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x626978[_0x626978[_0x509db9(0x1dc)]=0x271f]=_0x509db9(0x1dc),_0x626978[_0x626978[_0x509db9(0x353)]=0x2720]=_0x509db9(0x353),_0x626978[_0x626978['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x509db9(0x29f),_0x626978[_0x626978[_0x509db9(0xf5)]=0x2ee1]=_0x509db9(0xf5),_0x626978[_0x626978['INVALID_INVITE_CODE']=0x2ee2]=_0x509db9(0x2ef),_0x626978[_0x626978[_0x509db9(0x124)]=0x2ee3]=_0x509db9(0x124),_0x626978[_0x626978[_0x509db9(0x402)]=0x2ee4]=_0x509db9(0x402),_0x626978[_0x626978[_0x509db9(0x1df)]=0x2ee5]=_0x509db9(0x1df),_0x626978[_0x626978[_0x509db9(0x147)]=0x32c9]=_0x509db9(0x147),_0x626978[_0x626978[_0x509db9(0x31a)]=0x32ca]=_0x509db9(0x31a),_0x626978[_0x626978[_0x509db9(0x12d)]=0x32cb]=_0x509db9(0x12d),_0x626978[_0x626978[_0x509db9(0x3e4)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x626978[_0x626978[_0x509db9(0x123)]=0x36b2]=_0x509db9(0x123),_0x626978[_0x626978[_0x509db9(0x137)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x626978[_0x626978['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x626978[_0x626978['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x509db9(0x2d0),_0x626978[_0x626978['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x626978[_0x626978[_0x509db9(0x1af)]=0x36b7]=_0x509db9(0x1af),_0x626978[_0x626978['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x509db9(0xf3),_0x626978[_0x626978['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x509db9(0x1aa),_0x626978[_0x626978[_0x509db9(0x115)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x626978[_0x626978[_0x509db9(0x381)]=0x3717]=_0x509db9(0x381),_0x626978[_0x626978[_0x509db9(0x404)]=0x37dd]=_0x509db9(0x404),_0x626978[_0x626978[_0x509db9(0x2c2)]=0x3a99]=_0x509db9(0x2c2),_0x626978[_0x626978[_0x509db9(0x362)]=0x3a9a]=_0x509db9(0x362),_0x626978[_0x626978[_0x509db9(0x32e)]=0x3a9b]=_0x509db9(0x32e),_0x626978[_0x626978[_0x509db9(0xe6)]=0x3a9c]=_0x509db9(0xe6),_0x626978[_0x626978[_0x509db9(0x1cd)]=0x3a9d]=_0x509db9(0x1cd),_0x626978[_0x626978[_0x509db9(0x1ca)]=0x3a9e]=_0x509db9(0x1ca),_0x626978[_0x626978[_0x509db9(0x2ee)]=0x3a9f]=_0x509db9(0x2ee),_0x626978[_0x626978['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x509db9(0x2c6),_0x626978[_0x626978['UNRECOGNIZED']=-0x1]=_0x509db9(0x215),_0x626978))(_0x56ddea||{}),_0x5dd1fb=(_0x29e193=>(_0x29e193[_0x29e193[_0x509db9(0x21e)]=0x0]='UNIVER_UNKNOWN',_0x29e193[_0x29e193[_0x509db9(0x3b0)]=0x1]='UNIVER_DOC',_0x29e193[_0x29e193[_0x509db9(0x155)]=0x2]=_0x509db9(0x155),_0x29e193[_0x29e193[_0x509db9(0x3e1)]=0x3]=_0x509db9(0x3e1),_0x29e193[_0x29e193['UNIVER_PROJECT']=0x4]=_0x509db9(0xde),_0x29e193[_0x29e193[_0x509db9(0x215)]=-0x1]=_0x509db9(0x215),_0x29e193))(_0x5dd1fb||{}),_0x1e67da=(_0x54a349=>(_0x54a349[_0x54a349[_0x509db9(0x2d9)]=0x0]='UNKNOWN_CMD',_0x54a349[_0x54a349[_0x509db9(0x1ed)]=0x1]='HELLO',_0x54a349[_0x54a349['JOIN']=0x2]='JOIN',_0x54a349[_0x54a349[_0x509db9(0x132)]=0x3]='LEAVE',_0x54a349[_0x54a349[_0x509db9(0x17c)]=0x4]=_0x509db9(0x17c),_0x54a349[_0x54a349['HEARTBEAT']=0x5]='HEARTBEAT',_0x54a349[_0x54a349['RECV']=0x6]='RECV',_0x54a349[_0x54a349['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x54a349))(_0x1e67da||{}),_0x201e78=(_0x3bfd96=>(_0x3bfd96[_0x3bfd96[_0x509db9(0x314)]=0x0]=_0x509db9(0x314),_0x3bfd96[_0x3bfd96['OK']=0x1]='OK',_0x3bfd96[_0x3bfd96[_0x509db9(0x3c9)]=0x2]='FAIL',_0x3bfd96[_0x3bfd96['JOIN_ROOM_FULL']=0x3e9]=_0x509db9(0x400),_0x3bfd96[_0x3bfd96[_0x509db9(0xab)]=0x3ea]=_0x509db9(0xab),_0x3bfd96[_0x3bfd96[_0x509db9(0x3de)]=0x3eb]=_0x509db9(0x3de),_0x3bfd96[_0x3bfd96[_0x509db9(0x114)]=0x3ec]=_0x509db9(0x114),_0x3bfd96[_0x3bfd96[_0x509db9(0x215)]=-0x1]=_0x509db9(0x215),_0x3bfd96))(_0x201e78||{}),_0x138411=(_0x33af43=>(_0x33af43[_0x33af43[_0x509db9(0x183)]=0x0]='Undefined',_0x33af43[_0x33af43['HttpImport']=0x1]=_0x509db9(0x2fb),_0x33af43[_0x33af43[_0x509db9(0x411)]=0x2]='HttpExport',_0x33af43[_0x33af43['UnitEmbedded']=0x3]=_0x509db9(0x1b0),_0x33af43[_0x33af43[_0x509db9(0x38c)]=0x4]=_0x509db9(0x38c),_0x33af43[_0x33af43[_0x509db9(0x1e1)]=0x5]=_0x509db9(0x1e1),_0x33af43[_0x33af43[_0x509db9(0x1d3)]=0x6]=_0x509db9(0x1d3),_0x33af43[_0x33af43[_0x509db9(0x215)]=-0x1]=_0x509db9(0x215),_0x33af43))(_0x138411||{});const _0x12cfff=_0x509db9(0x237);function _0xea1c49(_0x3746a1){var _0x27b6f7=_0x509db9;return JSON['stringify'](_0x3746a1)[_0x27b6f7(0x2e9)];}var _0x7c51aa=(_0x4e4d87=>(_0x4e4d87[_0x509db9(0x2e3)]=_0x509db9(0x2e3),_0x4e4d87[_0x509db9(0x356)]=_0x509db9(0x356),_0x4e4d87[_0x509db9(0x30f)]=_0x509db9(0x30f),_0x4e4d87['CLOSE_ROOM']=_0x509db9(0x1c4),_0x4e4d87[_0x509db9(0x3d9)]=_0x509db9(0x3d9),_0x4e4d87[_0x509db9(0x320)]='SOCKET_FAILED_RETRY',_0x4e4d87['SOCKET_FAILED']=_0x509db9(0x280),_0x4e4d87[_0x509db9(0x385)]=_0x509db9(0x385),_0x4e4d87))(_0x7c51aa||{});class _0x1e55fc{constructor(){var _0x1aad65=_0x509db9;_0x309c0d(this,_0x1aad65(0x1c5),new _0x2ff251[(_0x1aad65(0x23e))]()),_0x309c0d(this,_0x1aad65(0x38b),this[_0x1aad65(0x1c5)][_0x1aad65(0x203)]());}[_0x509db9(0x1d9)](_0x29fe23){var _0x4b6fb7=_0x509db9;this[_0x4b6fb7(0x1c5)][_0x4b6fb7(0xda)](_0x29fe23);}}class _0x29b036{constructor(){var _0x1fa706=_0x509db9;_0x309c0d(this,_0x1fa706(0x2cc),new _0x2ff251[(_0x1fa706(0x23e))]()),_0x309c0d(this,_0x1fa706(0x3ed),this[_0x1fa706(0x2cc)][_0x1fa706(0x203)]());}[_0x509db9(0x227)](_0x19d5d2){var _0x2241b0=_0x509db9;this[_0x2241b0(0x2cc)][_0x2241b0(0xda)](_0x19d5d2);}}var _0x2f0165=Object['getOwnPropertyDescriptor'],_0x412e19=(_0x4ee74a,_0x190443,_0xf68068,_0x498558)=>{var _0x4e2ad5=_0x509db9;for(var _0x293b18=_0x498558>0x1?void 0x0:_0x498558?_0x2f0165(_0x190443,_0xf68068):_0x190443,_0x2b99fd=_0x4ee74a[_0x4e2ad5(0x2e9)]-0x1,_0x1206b1;_0x2b99fd>=0x0;_0x2b99fd--)(_0x1206b1=_0x4ee74a[_0x2b99fd])&&(_0x293b18=_0x1206b1(_0x293b18)||_0x293b18);return _0x293b18;},_0x130723=(_0x5a790f,_0x32d8e0)=>(_0x211aad,_0x32f0c4)=>_0x32d8e0(_0x211aad,_0x32f0c4,_0x5a790f);_0x313ef4['MemberService']=class extends _0x593ae3['Disposable']{constructor(_0x59525a,_0x29dd9d){var _0x160179=_0x509db9;super(),_0x309c0d(this,_0x160179(0x41c),new Map()),_0x309c0d(this,_0x160179(0x128),new _0x2ff251[(_0x160179(0x23e))]()),(this[_0x160179(0x281)]=_0x59525a,this[_0x160179(0x39d)]=_0x29dd9d,this['disposeWithMe'](_0x2ff251[_0x160179(0x1e6)](this[_0x160179(0x281)][_0x160179(0x313)](_0x593ae3[_0x160179(0x119)][_0x160179(0x155)])['pipe'](_0x137fa6[_0x160179(0xb1)](_0x44d7ed=>_0x44d7ed[_0x160179(0x382)]())),this['_univerInstanceService'][_0x160179(0x313)](_0x593ae3[_0x160179(0x119)][_0x160179(0x3b0)])[_0x160179(0x8f)](_0x137fa6[_0x160179(0xb1)](_0x5c3e25=>_0x5c3e25[_0x160179(0x382)]())),this[_0x160179(0x281)][_0x160179(0x313)](_0x593ae3['UniverInstanceType'][_0x160179(0x3e1)])[_0x160179(0x8f)](_0x137fa6['map'](_0x2a1e26=>_0x2a1e26[_0x160179(0x382)]())))['subscribe'](_0x51ebcc=>this[_0x160179(0x2b1)](_0x51ebcc))));}['waitForRoom$'](_0x5f25ce){var _0x77334a=_0x509db9;return this[_0x77334a(0x41c)]['has'](_0x5f25ce)?_0x2ff251['of'](this[_0x77334a(0x41c)][_0x77334a(0xa5)](_0x5f25ce)):this[_0x77334a(0x128)][_0x77334a(0x8f)](_0x137fa6[_0x77334a(0xb1)](_0x442918=>{var _0x7db2ae=_0x77334a;if(_0x442918===_0x5f25ce)return this[_0x7db2ae(0x41c)][_0x7db2ae(0xa5)](_0x442918);}));}[_0x509db9(0x36c)](_0x47b9e5){var _0x2ebdee=_0x509db9;this[_0x2ebdee(0x39d)][_0x2ebdee(0x36c)](_0x47b9e5);}[_0x509db9(0x269)](){var _0x4a1aad=_0x509db9;return this[_0x4a1aad(0x39d)]['getCurrentUser']();}[_0x509db9(0x10b)](_0x1c3d88,_0x4404c3){var _0x55abf1=_0x509db9;let _0x74da86=this[_0x55abf1(0x41c)][_0x55abf1(0xa5)](_0x1c3d88);_0x74da86||(_0x74da86=new _0xa60f47(),this[_0x55abf1(0x41c)]['set'](_0x1c3d88,_0x74da86),this['_roomCreated$'][_0x55abf1(0xda)](_0x1c3d88)),_0x74da86[_0x55abf1(0x10b)](_0x4404c3);}[_0x509db9(0x2ea)](_0x31e9a8,_0x160e35){var _0x115f68=_0x509db9;const _0x3d06de=this[_0x115f68(0x41c)][_0x115f68(0xa5)](_0x31e9a8);_0x3d06de&&_0x3d06de[_0x115f68(0x2ea)](_0x160e35);}[_0x509db9(0x1a6)](_0x4819ce){var _0x554d95=_0x509db9;return this[_0x554d95(0x41c)][_0x554d95(0xa5)](_0x4819ce);}[_0x509db9(0x39f)](_0x3b1f5f,_0x4f9c85){var _0x118595=_0x509db9;const _0x4cf60a=this[_0x118595(0x41c)][_0x118595(0xa5)](_0x3b1f5f);if(_0x4cf60a)return _0x4cf60a[_0x118595(0x39f)](_0x4f9c85);}[_0x509db9(0x2b1)](_0x228aff){var _0x35e11a=_0x509db9;const _0x2ec9db=this[_0x35e11a(0x41c)][_0x35e11a(0xa5)](_0x228aff);_0x2ec9db&&(_0x2ec9db[_0x35e11a(0x25b)](),this[_0x35e11a(0x41c)][_0x35e11a(0x1b4)](_0x228aff));}['dispose'](){var _0x5d4919=_0x509db9;this[_0x5d4919(0x41c)][_0x5d4919(0x10a)](_0x2db8f0=>_0x2db8f0[_0x5d4919(0x25b)]()),this[_0x5d4919(0x41c)][_0x5d4919(0x265)](),this[_0x5d4919(0x128)]['complete']();}},_0x313ef4[_0x509db9(0x358)]=_0x412e19([_0x130723(0x0,_0x593ae3[_0x509db9(0x1bc)]),_0x130723(0x1,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['UserManagerService']))],_0x313ef4['MemberService']);class _0xa60f47 extends _0x593ae3['Disposable']{constructor(){var _0xc34fdc=_0x509db9;super(...arguments),_0x309c0d(this,_0xc34fdc(0x12c),new Map()),_0x309c0d(this,'_members$',new _0x2ff251['BehaviorSubject'](this[_0xc34fdc(0x12c)])),_0x309c0d(this,_0xc34fdc(0x3c3),this[_0xc34fdc(0x1ee)][_0xc34fdc(0x203)]());}['dispose'](){var _0x19c71c=_0x509db9;this[_0x19c71c(0x12c)]['clear']();}['updateMember'](_0x2bb47b){var _0x22a410=_0x509db9;this['_members'][_0x22a410(0xa8)](_0x2bb47b[_0x22a410(0x3e2)],_0x2bb47b),this[_0x22a410(0x2d6)]();}[_0x509db9(0x2ea)](_0x9f3b95){this['_members']['delete'](_0x9f3b95);}[_0x509db9(0x39f)](_0x2d1640){var _0x74bb4f=_0x509db9;return this[_0x74bb4f(0x12c)][_0x74bb4f(0xa5)](_0x2d1640);}[_0x509db9(0xf4)](){var _0x4ed951=_0x509db9;return Array[_0x4ed951(0x360)](this['_members'][_0x4ed951(0x3c0)]());}[_0x509db9(0x2d6)](){var _0x4c68e2=_0x509db9;this['_members$'][_0x4c68e2(0xda)](this[_0x4c68e2(0x12c)]);}}var _0x593841=Object[_0x509db9(0x3d7)],_0x26df5c=(_0x12de56,_0x13ff48,_0x1e9487,_0x4e44b5)=>{var _0x113ce5=_0x509db9;for(var _0x7c9cf6=_0x4e44b5>0x1?void 0x0:_0x4e44b5?_0x593841(_0x13ff48,_0x1e9487):_0x13ff48,_0x42c1ce=_0x12de56[_0x113ce5(0x2e9)]-0x1,_0xe1b385;_0x42c1ce>=0x0;_0x42c1ce--)(_0xe1b385=_0x12de56[_0x42c1ce])&&(_0x7c9cf6=_0xe1b385(_0x7c9cf6)||_0x7c9cf6);return _0x7c9cf6;},_0x45fb13=(_0x135f1e,_0x136643)=>(_0x6f7f03,_0x249c7c)=>_0x136643(_0x6f7f03,_0x249c7c,_0x135f1e),_0x4e4db9=(_0x596d10=>(_0x596d10[_0x596d10['IDLE']=0x0]=_0x509db9(0x398),_0x596d10[_0x596d10[_0x509db9(0xd6)]=0x1]='JOINING',_0x596d10[_0x596d10[_0x509db9(0x2ab)]=0x2]=_0x509db9(0x2ab),_0x596d10[_0x596d10[_0x509db9(0x224)]=0x3]=_0x509db9(0x224),_0x596d10))(_0x4e4db9||{});const _0x46af9d={[_0x201e78[_0x509db9(0x3c9)]]:_0x509db9(0xeb),[_0x201e78[_0x509db9(0x400)]]:_0x509db9(0x1b1),[_0x201e78['JOIN_ROOM_NOT_EXISTS']]:_0x509db9(0x25e),[_0x201e78['JOIN_ROOM_PERMISSION_DENIED']]:_0x509db9(0x23b),[_0x201e78[_0x509db9(0x114)]]:_0x509db9(0xf0)};_0x313ef4['CollaborationSession']=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0x4578a2,_0x456dc0,_0x21b58a,_0x3f1455,_0x45fdff,_0x37ac3a,_0x4f5407,_0x4497ec){var _0x3541ba=_0x509db9;super(),_0x309c0d(this,_0x3541ba(0x204),new _0x2ff251[(_0x3541ba(0xed))](0x0)),_0x309c0d(this,'sessionStatus$',this[_0x3541ba(0x204)][_0x3541ba(0x203)]()),_0x309c0d(this,_0x3541ba(0x1c5),new _0x2ff251[(_0x3541ba(0x23e))]()),_0x309c0d(this,_0x3541ba(0x38b),this[_0x3541ba(0x1c5)]['asObservable']()),_0x309c0d(this,'_socket'),_0x309c0d(this,_0x3541ba(0x1bb)),_0x309c0d(this,_0x3541ba(0x106)),_0x309c0d(this,_0x3541ba(0x12f),!0x1),_0x309c0d(this,_0x3541ba(0x3f9),null),(this[_0x3541ba(0x1eb)]=_0x4578a2,this[_0x3541ba(0x2a8)]=_0x21b58a,this[_0x3541ba(0x15b)]=_0x3f1455,this['_memberService']=_0x45fdff,this[_0x3541ba(0x401)]=_0x37ac3a,this['_collaborationUIEventService']=_0x4f5407,this['_telemetryService']=_0x4497ec,this[_0x3541ba(0x12f)]=!!this[_0x3541ba(0x3ff)],_0x456dc0[_0x3541ba(0x8f)](_0x2ff251[_0x3541ba(0x1b7)](this[_0x3541ba(0x429)]))[_0x3541ba(0xa2)](_0x47bde6=>{var _0x1aa37f=_0x3541ba,_0x2fa334;typeof _0x47bde6>'u'||(this[_0x1aa37f(0x181)]=_0x47bde6,_0x47bde6?(this[_0x1aa37f(0x9f)](_0x47bde6),this[_0x1aa37f(0x1bb)]=_0x47bde6[_0x1aa37f(0x1b6)][_0x1aa37f(0xa2)](_0x2e8670=>{var _0x2621d4=_0x1aa37f;_0x2e8670['routeKey']===this[_0x2621d4(0x1eb)]&&this[_0x2621d4(0x150)](_0x2e8670);})):(this[_0x1aa37f(0x1f9)](),this[_0x1aa37f(0x204)][_0x1aa37f(0xda)](0x2),(_0x2fa334=this[_0x1aa37f(0x1bb)])==null||_0x2fa334[_0x1aa37f(0x14c)](),this[_0x1aa37f(0x1bb)]=null));}));}get[_0x509db9(0x421)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){var _0x3712b7=_0x509db9,_0xa72120,_0x310ead;return(_0x310ead=(_0xa72120=this[_0x3712b7(0x181)])==null?void 0x0:_0xa72120[_0x3712b7(0x3e2)])!=null?_0x310ead:null;}[_0x509db9(0x25b)](){var _0x276475=_0x509db9;super[_0x276475(0x25b)](),this['dispose$'][_0x276475(0xda)](),this['dispose$'][_0x276475(0xb6)]();}[_0x509db9(0x288)](){var _0x28e0c7=_0x509db9,_0x3cd229,_0x49006;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3cd229=this[_0x28e0c7(0x181)])==null||_0x3cd229['send']({'cmd':_0x1e67da[_0x28e0c7(0x132)],'data':{'roomID':this[_0x28e0c7(0x1eb)]}}),(_0x49006=this[_0x28e0c7(0x181)])==null||_0x49006['close'](),this[_0x28e0c7(0x1c5)]['complete'](),this['_sessionStatus$']['complete'](),this[_0x28e0c7(0x25b)]();}[_0x509db9(0x150)](_0x3948d4){var _0x5989de=_0x509db9;_0x3948d4[_0x5989de(0x29a)]===_0x1e67da[_0x5989de(0x2f0)]?this[_0x5989de(0x405)](_0x3948d4):_0x3948d4[_0x5989de(0x29a)]===_0x1e67da['RECV']&&this['_onRecvEvent'](_0x3948d4);}['_joinRoom'](_0x5ea049){var _0x4f6b0d=_0x509db9;this[_0x4f6b0d(0x204)][_0x4f6b0d(0xda)](0x1),_0x5ea049[_0x4f6b0d(0x426)]({'cmd':_0x1e67da[_0x4f6b0d(0x2f0)],'routeKey':this[_0x4f6b0d(0x1eb)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x509db9(0x405)](_0x3fbbe4){var _0x558171=_0x509db9,_0xf6ae3a;if(_0x3fbbe4['code']in _0x46af9d){this[_0x558171(0x20c)][_0x558171(0x1d9)]({'id':_0x7c51aa[_0x558171(0x3d9)],'data':_0x46af9d[_0x3fbbe4[_0x558171(0x142)]]}),this['_sessionStatus$'][_0x558171(0xda)](0x2);return;}this[_0x558171(0x204)][_0x558171(0xda)](0x3);const _0x8a22b8=(_0xf6ae3a=_0x3fbbe4[_0x558171(0xc3)][_0x558171(0x260)][this['_unitID']])==null?void 0x0:_0xf6ae3a[_0x558171(0x285)];_0x8a22b8&&_0x8a22b8['forEach'](_0x4b1395=>this[_0x558171(0x2c5)][_0x558171(0x10b)](this[_0x558171(0x1eb)],_0x4b1395));}['_onRecvEvent'](_0x2de5b1){var _0x1e8179=_0x509db9;try{const _0x34c2ac=_0x2de5b1[_0x1e8179(0xc3)];switch(_0x34c2ac[_0x1e8179(0x240)]){case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x3b6)]:this[_0x1e8179(0xc2)](_0x34c2ac),this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x27c)]:this[_0x1e8179(0x1ce)](_0x34c2ac),this['_event$'][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x3f8)]:case _0xdad847[_0x1e8179(0x343)]['CHANGESET_SHOULD_RETRY']:this[_0x1e8179(0x354)](),this[_0x1e8179(0x306)](),this['_event$'][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x96)]:this[_0x1e8179(0x2a8)][_0x1e8179(0x2cd)](_0x1e8179(0x36d)+JSON[_0x1e8179(0xa1)](_0x34c2ac)),this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847['CollaborationEvent'][_0x1e8179(0x319)]:this[_0x1e8179(0x401)][_0x1e8179(0x227)](_0x34c2ac['data']),this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);break;default:this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);}}catch(_0x3abd40){this[_0x1e8179(0x2a8)][_0x1e8179(0x2cd)](_0x3abd40,_0x2de5b1);}}[_0x509db9(0xc2)](_0x5be4c8){var _0x5f0661=_0x509db9;this[_0x5f0661(0x2c5)][_0x5f0661(0x10b)](this[_0x5f0661(0x1eb)],_0x5be4c8[_0x5f0661(0xc3)]);}[_0x509db9(0x1ce)](_0xa08824){var _0x106cb9=_0x509db9;this[_0x106cb9(0x2c5)][_0x106cb9(0x2ea)](this['_unitID'],_0xa08824[_0x106cb9(0xc3)][_0x106cb9(0x3e2)]);}async[_0x509db9(0x426)](_0x54e07d,_0x4cc9d0){var _0x261cea=_0x509db9;if(this[_0x261cea(0x421)]!==0x3||!this[_0x261cea(0x181)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x54e07d[_0x261cea(0x240)]===_0xdad847[_0x261cea(0x343)]['SUBMIT_CHANGESET']&&(this[_0x261cea(0x2f2)](),this[_0x261cea(0x210)](_0x54e07d)),this['_socket'][_0x261cea(0x426)]({'cmd':_0x1e67da[_0x261cea(0x17c)],'routeKey':_0x4cc9d0,'routeType':'','data':_0x54e07d});}catch(_0x1616b4){this[_0x261cea(0x2a8)][_0x261cea(0x2cd)](_0x1616b4);}}[_0x509db9(0x2f2)](){var _0x3a6bdb=_0x509db9,_0x3b1cd0;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x342e7e=_0x572e;this[_0x342e7e(0x106)]=null,this['_collaborationUIEventService'][_0x342e7e(0x1d9)]({'id':_0x7c51aa['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3b1cd0=this['_configService'][_0x3a6bdb(0x1a7)](_0x30846d))!=null?_0x3b1cd0:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x18639b=_0x509db9;this[_0x18639b(0x106)]&&(clearTimeout(this[_0x18639b(0x106)]),this[_0x18639b(0x106)]=null);}[_0x509db9(0x210)](_0x35dfe7){var _0x35dfd5=_0x509db9;if(!this[_0x35dfd5(0x12f)])return;const {data:_0x45487b}=_0x35dfe7,{unitID:_0x14c33d,changeset:_0x2cca46}=_0x45487b,{mutations:_0x4bdb4c,type:_0x1bacce}=_0x2cca46;this[_0x35dfd5(0x3f9)]={'unitId':_0x14c33d,'type':_0x1bacce,'startTime':performance[_0x35dfd5(0x22c)](),'stopTime':0x0,'duration':0x0,'size':_0xea1c49(_0x4bdb4c)};}[_0x509db9(0x354)](){var _0x2e54b0=_0x509db9;if(this[_0x2e54b0(0x12f)]){if(!this['_telemetryInfo']){this[_0x2e54b0(0x2a8)][_0x2e54b0(0x2cd)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2e54b0(0x3f9)]['stopTime']=performance[_0x2e54b0(0x22c)](),this[_0x2e54b0(0x3f9)][_0x2e54b0(0x3db)]=this[_0x2e54b0(0x3f9)][_0x2e54b0(0x307)]-this[_0x2e54b0(0x3f9)]['startTime'],this['_telemetryService'][_0x2e54b0(0x3c7)](_0x12cfff,this['_telemetryInfo']),this[_0x2e54b0(0x3f9)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x189944=_0x509db9;this[_0x189944(0x3f9)]=null;}},_0x313ef4[_0x509db9(0x87)]=_0x26df5c([_0x45fb13(0x2,_0x593ae3[_0x509db9(0x1a8)]),_0x45fb13(0x3,_0x593ae3[_0x509db9(0x1c0)]),_0x45fb13(0x4,_0x593ae3[_0x509db9(0x28b)](_0x313ef4[_0x509db9(0x358)])),_0x45fb13(0x5,_0x593ae3[_0x509db9(0x28b)](_0x29b036)),_0x45fb13(0x6,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x45fb13(0x7,_0x593ae3[_0x509db9(0x3d1)](_0x5679e5[_0x509db9(0x18f)]))],_0x313ef4[_0x509db9(0x87)]);const _0x192e9c=_0x593ae3[_0x509db9(0xbc)]('collaboration-client.local-cache-service');function _0x142709(_0x1b6ae3){var _0x21c67e=_0x509db9;return _0x21c67e(0x2fe)+_0x1b6ae3;}var _0x46f717=Object[_0x509db9(0x3d7)],_0x23ac63=(_0xd329ba,_0x180de2,_0x1169f1,_0x242abd)=>{var _0x273447=_0x509db9;for(var _0xe41aa5=_0x242abd>0x1?void 0x0:_0x242abd?_0x46f717(_0x180de2,_0x1169f1):_0x180de2,_0x5cd43e=_0xd329ba[_0x273447(0x2e9)]-0x1,_0x43b716;_0x5cd43e>=0x0;_0x5cd43e--)(_0x43b716=_0xd329ba[_0x5cd43e])&&(_0xe41aa5=_0x43b716(_0xe41aa5)||_0xe41aa5);return _0xe41aa5;},_0x1ac9ce=(_0x28a70d,_0x34d0fb)=>(_0x1040af,_0x17a5fd)=>_0x34d0fb(_0x1040af,_0x17a5fd,_0x28a70d);function _0x2d7074(_0x1cf0cf){var _0x516eda=_0x509db9;const {unitID:_0x59015d,mutations:_0x50e737}=_0x1cf0cf;return{'unitId':_0x59015d,'subUnitId':_0x50e737[_0x516eda(0x2e9)]>0x0?_0x50e737[0x0]['params']['subUnitId']:null};}_0x313ef4['SheetTransformSelectionsService']=class{constructor(_0x1973e0,_0x51075f,_0x2a5b0a){var _0x36f9dc=_0x509db9;this[_0x36f9dc(0x397)]=_0x1973e0,this[_0x36f9dc(0x3b9)]=_0x51075f,this[_0x36f9dc(0x21b)]=_0x2a5b0a;}[_0x509db9(0x412)](_0x148a4f){var _0x1c8eb2=_0x509db9,_0x1c94d8,_0x36bb17,_0x2bbef7,_0x5660f7;const _0x250d67=this[_0x1c8eb2(0x397)][_0x1c8eb2(0xa5)](_0x196ab6[_0x1c8eb2(0x2a7)]),{unitId:_0x5a964b,subUnitId:_0x15d10f}=_0x2d7074(_0x148a4f),_0x9c6174=_0x250d67==null?void 0x0:_0x250d67[_0x1c8eb2(0x2e8)](_0x5a964b)[_0x1c8eb2(0x171)](),_0x30e0f3=(_0x36bb17=(_0x1c94d8=this[_0x1c8eb2(0x21b)][_0x1c8eb2(0x138)](_0x5a964b))==null?void 0x0:_0x1c94d8[_0x1c8eb2(0x37f)]())==null?void 0x0:_0x36bb17[_0x1c8eb2(0x302)]();if(_0x9c6174['length']===0x0||!_0x5a964b||!_0x15d10f)return;const _0x2532bc=[{'id':_0x196ab6[_0x1c8eb2(0x2fa)]['id'],'params':{'unitId':_0x5a964b,'subUnitId':_0x30e0f3,'selections':_0x593ae3[_0x1c8eb2(0x31f)][_0x1c8eb2(0x26e)](_0x9c6174)}}],_0x323735=this['_transformService'][_0x1c8eb2(0x220)](_0x148a4f,_0x2532bc);if(!_0xdad847[_0x1c8eb2(0x116)](_0x323735))throw _0x323735[_0x1c8eb2(0x2cd)];const _0x69377b=(_0x5660f7=(_0x2bbef7=_0x323735[_0x1c8eb2(0x2f4)][0x0])==null?void 0x0:_0x2bbef7[_0x1c8eb2(0x158)])==null?void 0x0:_0x5660f7[_0x1c8eb2(0x231)];if(Array[_0x1c8eb2(0x366)](_0x69377b)&&_0x69377b[_0x1c8eb2(0x2e9)]){if(_0x69377b[_0x1c8eb2(0x2e9)]===_0x2532bc[0x0][_0x1c8eb2(0x158)][_0x1c8eb2(0x231)][_0x1c8eb2(0x2e9)]&&_0x69377b[_0x1c8eb2(0x41f)]((_0xf05574,_0x32b969)=>_0x593ae3[_0x1c8eb2(0x24c)]['equals'](_0xf05574['range'],_0x2532bc[0x0][_0x1c8eb2(0x158)]['selections'][_0x32b969][_0x1c8eb2(0x3a6)])))return;this[_0x1c8eb2(0x397)][_0x1c8eb2(0xa5)](_0x593ae3[_0x1c8eb2(0x170)])[_0x1c8eb2(0x218)](_0x196ab6[_0x1c8eb2(0x2fa)]['id'],{'unitId':_0x5a964b,'subUnitId':_0x30e0f3,'selections':_0x69377b});}}},_0x313ef4[_0x509db9(0x33b)]=_0x23ac63([_0x1ac9ce(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x1ac9ce(0x1,_0xdad847[_0x509db9(0x268)]),_0x1ac9ce(0x2,_0x593ae3[_0x509db9(0x1bc)])],_0x313ef4[_0x509db9(0x33b)]);const _0x5647b7=_0x593ae3[_0x509db9(0xbc)](_0x509db9(0x1e2));var _0x1bfb46=(_0xf0bde5=>(_0xf0bde5[_0xf0bde5[_0x509db9(0x1bf)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xf0bde5[_0xf0bde5[_0x509db9(0xaa)]=0x1]=_0x509db9(0xaa),_0xf0bde5))(_0x1bfb46||{});const _0x9fbd4f=_0x509db9(0x26a),_0x39e350={};function _0x410431(_0x2ec7ec){var _0x5e4dec=_0x509db9,_0x5061b8;return!!((_0x5061b8=_0x2ec7ec[_0x5e4dec(0x158)])!=null&&_0x5061b8[_0x5e4dec(0x159)]);}const _0xc1b014=new Set([_0x196ab6[_0x509db9(0x3a9)]['id']]);function _0x55732f(_0x1a96ef,_0x1ba7b4,_0xbd8fb2,_0x2b9736,_0x8bd808){var _0x49c1a1=_0x509db9,_0x31b6d4,_0x3db875,_0x4cc956,_0xd85800;const _0x28f791=[];for(const _0x3761f0 of _0x1a96ef){if(_0xc1b014[_0x49c1a1(0x34c)](_0x3761f0['id'])){if(_0x28f791[_0x49c1a1(0x2e9)]>0x0)break;_0x28f791[_0x49c1a1(0x273)](_0x3761f0);break;}if(_0x410431(_0x3761f0)){if(_0x28f791[_0x49c1a1(0x2e9)]>0x0)break;_0x28f791[_0x49c1a1(0x273)](_0x3761f0);break;}_0x28f791[_0x49c1a1(0x273)](_0x3761f0);}const _0x418626=(_0x3db875=(_0x31b6d4=_0x8bd808[_0x49c1a1(0x269)]())==null?void 0x0:_0x31b6d4[_0x49c1a1(0x10e)])!=null?_0x3db875:'unknown',_0x134ed7=(_0xd85800=(_0x4cc956=_0x8bd808[_0x49c1a1(0x269)]())==null?void 0x0:_0x4cc956[_0x49c1a1(0x3e2)])!=null?_0xd85800:'unknown';return{'changeset':{'unitID':_0x1ba7b4,'type':_0xdad847[_0x49c1a1(0x41d)](_0xbd8fb2[_0x49c1a1(0xea)](_0x1ba7b4)),'baseRev':_0x2b9736['getCurrentRevOfUnit'](_0x1ba7b4),'revision':0x0,'userID':_0x418626,'memberID':_0x134ed7,'mutations':_0x28f791},'pendingMutations':_0x1a96ef['slice'](_0x28f791[_0x49c1a1(0x2e9)])};}function _0x2833b8(_0x3418d6,_0x20c20f,_0x474f87,_0x277332,_0x2bd724){var _0x578bcf=_0x509db9,_0x4130f5,_0x49b9a2,_0x1fba75,_0x3adaa4;const _0x59ee3b=[_0x3418d6[_0x578bcf(0xae)]((_0x37c618,_0x81de60)=>{var _0x11460d=_0x578bcf,_0x23c26f;const {id:_0x3b415f}=_0x37c618,{id:_0x308c80,type:_0x338ac7}=_0x81de60,_0x2691dc=(_0x23c26f=_0x37c618[_0x11460d(0x158)])!=null?_0x23c26f:{'actions':null},_0x3e76c1=_0x81de60[_0x11460d(0x158)];if(_0x3b415f&&_0x3b415f!==_0x308c80)throw new Error(_0x11460d(0x3d8)+_0x3b415f+_0x11460d(0x127)+_0x308c80+'.');return{..._0x37c618,'id':_0x308c80,'type':_0x338ac7,'params':{'unitId':_0x3e76c1[_0x11460d(0x339)],'textRanges':_0x3e76c1[_0x11460d(0x317)],'actions':_0x593ae3[_0x11460d(0x418)][_0x11460d(0x35f)](_0x2691dc['actions'],_0x3e76c1['actions'])}};},{})],_0x3c7130=(_0x49b9a2=(_0x4130f5=_0x2bd724[_0x578bcf(0x269)]())==null?void 0x0:_0x4130f5[_0x578bcf(0x10e)])!=null?_0x49b9a2:_0x578bcf(0xec),_0x10318b=(_0x3adaa4=(_0x1fba75=_0x2bd724[_0x578bcf(0x269)]())==null?void 0x0:_0x1fba75[_0x578bcf(0x3e2)])!=null?_0x3adaa4:_0x578bcf(0xec);return{'changeset':{'unitID':_0x20c20f,'type':_0xdad847[_0x578bcf(0x41d)](_0x474f87['getUnitType'](_0x20c20f)),'baseRev':_0x277332[_0x578bcf(0x333)](_0x20c20f),'revision':0x0,'userID':_0x3c7130,'memberID':_0x10318b,'mutations':_0x59ee3b},'pendingMutations':[]};}function _0x2f900f(_0x1898d4,_0x2209d2){var _0x19ba8c=_0x509db9;const _0x432aff=new _0x2ff251[(_0x19ba8c(0x3c8))](0x1);return setTimeout(()=>_0x432aff[_0x19ba8c(0xda)](_0x2209d2),_0x1898d4),_0x432aff[_0x19ba8c(0x203)]()['pipe'](_0x2ff251['take'](0x1));}var _0x3da7ed=Object[_0x509db9(0x3d7)],_0x388bf0=(_0x41a339,_0x40bbf1,_0x37096f,_0x140ce7)=>{var _0x3e68be=_0x509db9;for(var _0x4617b5=_0x140ce7>0x1?void 0x0:_0x140ce7?_0x3da7ed(_0x40bbf1,_0x37096f):_0x40bbf1,_0xe30009=_0x41a339[_0x3e68be(0x2e9)]-0x1,_0x1bf4ee;_0xe30009>=0x0;_0xe30009--)(_0x1bf4ee=_0x41a339[_0xe30009])&&(_0x4617b5=_0x1bf4ee(_0x4617b5)||_0x4617b5);return _0x4617b5;},_0x40dca1=(_0x1cfdb7,_0x3bf927)=>(_0x4e9b93,_0x4add42)=>_0x3bf927(_0x4e9b93,_0x4add42,_0x1cfdb7),_0x1ac262=(_0x326b6d=>(_0x326b6d[_0x509db9(0x399)]=_0x509db9(0x100),_0x326b6d[_0x509db9(0x162)]=_0x509db9(0x140),_0x326b6d[_0x509db9(0x94)]=_0x509db9(0x346),_0x326b6d[_0x509db9(0x8d)]='awaiting',_0x326b6d[_0x509db9(0x37a)]='awaiting_with_pending',_0x326b6d[_0x509db9(0x1f6)]=_0x509db9(0x207),_0x326b6d[_0x509db9(0x30f)]=_0x509db9(0x1f3),_0x326b6d['OFFLINE']='offline',_0x326b6d))(_0x1ac262||{});const _0x595904=0xea60;class _0x2b1fbc{constructor(_0x59b371,_0x3cf8d4,_0x44a2d8,_0x3a31f3,_0x2cd8b3,_0x5d0873,_0xf9785b,_0x319d0f,_0x1a0a39){var _0x5f2bed=_0x509db9;_0x309c0d(this,'_awaitingChangeset',null),_0x309c0d(this,_0x5f2bed(0x255),[]),(this[_0x5f2bed(0x359)]=_0x59b371,this[_0x5f2bed(0xfd)]=_0x3cf8d4,this['_handler']=_0x2cd8b3,this[_0x5f2bed(0x15f)]=_0x5d0873,this[_0x5f2bed(0x2ed)]=_0xf9785b,this[_0x5f2bed(0xa4)]=_0x319d0f,this[_0x5f2bed(0x86)]=_0x1a0a39,this[_0x5f2bed(0x156)]=_0x44a2d8,this[_0x5f2bed(0x255)]=_0x3a31f3);}[_0x509db9(0x1f4)](_0x1124fa){var _0x2da487=_0x509db9;const _0x21ccb1=this[_0x2da487(0xa4)]['getCurrentRevOfUnit'](this['unitID']);return _0x1124fa[_0x2da487(0x134)]>_0x21ccb1+0x1?(this[_0x2da487(0x2e0)][_0x2da487(0x20b)]({'from':_0x21ccb1,'to':_0x1124fa['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x116f23){var _0x55bc30=_0x509db9;this[_0x55bc30(0x2ed)]['transformUndoRedo'](this[_0x55bc30(0x359)],_0x116f23);}[_0x509db9(0x133)](_0x5cf683){var _0x12b6b4=_0x509db9,_0x70d67e,_0x18976b;(_0x18976b=(_0x70d67e=this[_0x12b6b4(0x2e0)])[_0x12b6b4(0x161)])==null||_0x18976b[_0x12b6b4(0xc8)](_0x70d67e,_0x5cf683);}[_0x509db9(0x258)](_0x442ac0){var _0x4e0a0a=_0x509db9,_0x242bb8,_0xa6a93d;return(_0xa6a93d=(_0x242bb8=this['_handler'])[_0x4e0a0a(0x1db)])==null?void 0x0:_0xa6a93d[_0x4e0a0a(0xc8)](_0x242bb8,_0x442ac0);}[_0x509db9(0x33a)](_0x58c660){var _0x2abc48=_0x509db9,_0x1fa24d,_0x14292f;return(_0x14292f=(_0x1fa24d=this[_0x2abc48(0x2e0)])[_0x2abc48(0x109)])==null?void 0x0:_0x14292f[_0x2abc48(0xc8)](_0x1fa24d,_0x58c660);}['_transformRemoteChangesetByIMECache'](_0xeb816d){var _0x148515=_0x509db9,_0x4e4d31,_0x14d248,_0x1cb908;return(_0x1cb908=(_0x14d248=(_0x4e4d31=this[_0x148515(0x2e0)])[_0x148515(0x3a3)])==null?void 0x0:_0x14d248[_0x148515(0xc8)](_0x4e4d31,_0xeb816d))!=null?_0x1cb908:_0xeb816d;}[_0x509db9(0x40b)](_0x257243){var _0x354ddb=_0x509db9,_0x34be1d,_0x21eea1,_0x3349b1;return(_0x3349b1=(_0x21eea1=(_0x34be1d=this[_0x354ddb(0x2e0)])[_0x354ddb(0x1c1)])==null?void 0x0:_0x21eea1[_0x354ddb(0xc8)](_0x34be1d,_0x257243))!=null?_0x3349b1:_0x257243;}[_0x509db9(0x2d5)](_0x3f7447){var _0x4e2fb2=_0x509db9,_0x31a0b3,_0xb5e5a6;if(this['type']===_0x5dd1fb[_0x4e2fb2(0x3b0)]){const {unitID:_0x2583c8,mutations:_0x2bdf07,memberID:_0x484c2c}=_0x3f7447,_0xa9ab1a=_0x2bdf07['length']>0x0?_0x2bdf07[0x0]['params'][_0x4e2fb2(0x317)]:[];Array[_0x4e2fb2(0x366)](_0xa9ab1a)&&_0xa9ab1a[_0x4e2fb2(0x2e9)]>0x0&&((_0xb5e5a6=(_0x31a0b3=this[_0x4e2fb2(0x2e0)])['onSyncEditingCollabCursor'])==null||_0xb5e5a6['call'](_0x31a0b3,{'unitID':_0x2583c8,'memberID':_0x484c2c,'textRanges':_0xa9ab1a}));}}['_updateLocalCache'](){var _0x294603=_0x509db9,_0x4b0d34;(_0x4b0d34=this[_0x294603(0x86)])==null||_0x4b0d34[_0x294603(0x24a)](this[_0x294603(0x359)],this['type'],this[_0x294603(0x156)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x510d0a=_0x509db9;return this[_0x510d0a(0xa4)]['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x4dce23=_0x509db9;this[_0x4dce23(0xa4)][_0x4dce23(0x425)](this[_0x4dce23(0x359)]);}[_0x509db9(0x30c)](_0x1442dc){var _0x2d6742=_0x509db9,_0x156582;let _0x574c5c=this[_0x2d6742(0x120)](_0x1442dc);_0x574c5c=this[_0x2d6742(0x40b)](_0x574c5c);const _0x4884f5=_0x593ae3[_0x2d6742(0x417)](_0x574c5c[_0x2d6742(0x135)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4884f5[_0x2d6742(0x419)])throw _0x4884f5['error']instanceof Error?_0x4884f5[_0x2d6742(0x2cd)]:new Error((_0x156582=_0x4884f5[_0x2d6742(0x2cd)])!=null?_0x156582:_0x2d6742(0x1c7));this[_0x2d6742(0x258)](_0x574c5c),this['_transformStateCache'](_0x574c5c),this[_0x2d6742(0x3d6)](_0x1442dc),this[_0x2d6742(0x133)](_0x574c5c),this['_syncEditingCollabCursor'](_0x574c5c),this[_0x2d6742(0x1b3)]();}}_0x313ef4['SyncedState']=class extends _0x2b1fbc{constructor(_0x75240d,_0x4f157c,_0x7a0f8,_0x4492a0,_0x267292,_0x5a4c13,_0x3e7171,_0x51e6a9,_0x2c455b,_0x21855a){var _0xc75945=_0x509db9;super(_0x75240d,_0x4f157c,null,[],_0x7a0f8,_0x3e7171,_0x5a4c13,_0x4492a0,_0x21855a),_0x309c0d(this,_0xc75945(0x11e),_0xc75945(0x140)),(this['_injector']=_0x267292,this['_logService']=_0x51e6a9,this['_transformService']=_0x2c455b,this[_0xc75945(0x301)]=_0x21855a);}['appendMutation'](_0x446be7){var _0x4c3e30=_0x509db9;const _0x359a51=this['_injector'][_0x4c3e30(0x252)](_0x313ef4[_0x4c3e30(0x284)],this[_0x4c3e30(0x359)],this[_0x4c3e30(0xfd)],[_0x446be7],this['_handler']);return _0x359a51[_0x4c3e30(0x292)](),_0x359a51[_0x4c3e30(0x2a9)](),_0x359a51;}[_0x509db9(0x3d3)](_0x29b7db){var _0xdd3662=_0x509db9;if(this[_0xdd3662(0x1f4)](_0x29b7db))return this['_injector'][_0xdd3662(0x252)](_0x313ef4['FetchingMissState'],this[_0xdd3662(0x359)],this[_0xdd3662(0xfd)],null,[],null,[_0x29b7db],this['_handler']);try{const _0x1f73de=this[_0xdd3662(0x3b9)][_0xdd3662(0x220)](_0x29b7db,[_0xdad847[_0xdd3662(0x2b0)]]);if(_0xdad847[_0xdd3662(0x116)](_0x1f73de)){const {c1Prime:_0x4a08e4}=_0x1f73de;return this['_executeRemoteChangeset'](_0x4a08e4),this;}throw _0x1f73de[_0xdd3662(0x2cd)];}catch(_0x56cc02){return this[_0xdd3662(0x2a8)][_0xdd3662(0x2cd)](_0x56cc02),this['_onConflict'](!0x1);}}[_0x509db9(0x10d)](_0x480935){var _0x10b9a9=_0x509db9;return this[_0x10b9a9(0x397)][_0x10b9a9(0x252)](_0x313ef4['ConflictState'],this[_0x10b9a9(0x359)],this[_0x10b9a9(0xfd)],null,[],this['_handler'],_0x480935);}['onRemoteAck'](){var _0x199acb=_0x509db9;throw new Error(_0x199acb(0x3ea));}[_0x509db9(0x3f2)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x509db9(0x36f)](){var _0x492482=_0x509db9;return this[_0x492482(0x397)][_0x492482(0x252)](_0x313ef4[_0x492482(0x2d1)],this[_0x492482(0x359)],this[_0x492482(0xfd)],null,[],this['_handler']);}[_0x509db9(0x3ca)](){return this;}['resend'](){var _0x56cdc1=_0x509db9;throw new Error(_0x56cdc1(0x1dd));}[_0x509db9(0x1a0)](){var _0x27ad07=_0x509db9;const _0x279893=this[_0x27ad07(0xa4)]['getCurrentRevOfUnit'](this[_0x27ad07(0x359)]);return this['_handler']['onMissingChangesets']({'from':_0x279893,'to':0x0}),this['_injector'][_0x27ad07(0x252)](_0x313ef4[_0x27ad07(0x336)],this['unitID'],this[_0x27ad07(0xfd)],null,[],null,[],this[_0x27ad07(0x2e0)]);}},_0x313ef4['SyncedState']=_0x388bf0([_0x40dca1(0x3,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x4,_0x593ae3['Inject'](_0x593ae3['Injector'])),_0x40dca1(0x5,_0x593ae3['IUndoRedoService']),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0x8,_0xdad847['ITransformService']),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x1fd)]),_0x313ef4[_0x509db9(0x284)]=class extends _0x2b1fbc{constructor(_0x1e45ce,_0x382399,_0x3a7257,_0x1ba61d,_0x331d0e,_0x46a2ac,_0x3f9e80,_0x29a1fa,_0x35aa58,_0x34e602,_0x19f93f,_0x47d0c5,_0x2e5729,_0x597a31){var _0x5a38dd=_0x509db9;super(_0x1e45ce,_0x382399,null,_0x3a7257,_0x1ba61d,_0x35aa58,_0x2e5729,_0x46a2ac,_0x597a31),_0x309c0d(this,_0x5a38dd(0x11e),_0x5a38dd(0x346)),_0x309c0d(this,_0x5a38dd(0x141),null),_0x309c0d(this,_0x5a38dd(0x1b8),null),(this[_0x5a38dd(0x397)]=_0x331d0e,this[_0x5a38dd(0x2c5)]=_0x3f9e80,this[_0x5a38dd(0x2a8)]=_0x29a1fa,this[_0x5a38dd(0x15b)]=_0x34e602,this[_0x5a38dd(0x3b9)]=_0x19f93f,this[_0x5a38dd(0x281)]=_0x47d0c5);}['appendMutation'](_0x5f18bc){return this['_pendingMutations']['push'](_0x5f18bc),this['_updateLocalCache'](),this;}[_0x509db9(0x3d3)](_0x5f234b){var _0x1274fd=_0x509db9;if(this[_0x1274fd(0x1f4)](_0x5f234b))return this[_0x1274fd(0x226)](),this[_0x1274fd(0x397)][_0x1274fd(0x252)](_0x313ef4[_0x1274fd(0x336)],this[_0x1274fd(0x359)],this[_0x1274fd(0xfd)],null,this['_pendingMutations'],null,[_0x5f234b],this[_0x1274fd(0x2e0)]);try{const _0x12f60c=this[_0x1274fd(0x3b9)][_0x1274fd(0x220)](_0x5f234b,this[_0x1274fd(0x255)]);if(_0xdad847[_0x1274fd(0x116)](_0x12f60c)){const {c1Prime:_0x24c82d,m2Prime:_0x4addb2}=_0x12f60c;this[_0x1274fd(0x30c)](_0x24c82d);const _0x10851e=this[_0x1274fd(0x397)][_0x1274fd(0x252)](_0x313ef4['PendingState'],this['unitID'],this[_0x1274fd(0xfd)],_0x4addb2,this[_0x1274fd(0x2e0)]);this['_clearScheduledTask']();const _0x261724=new Date()['getTime'](),_0x330ec6=this[_0x1274fd(0x141)]?Math[_0x1274fd(0x1ec)](this[_0x1274fd(0x141)]-_0x261724,0x0):this[_0x1274fd(0x1d1)]();return _0x10851e['_schedule'](_0x330ec6),_0x10851e;}throw _0x12f60c['error'];}catch(_0x503c59){return this[_0x1274fd(0x2a8)][_0x1274fd(0x2cd)](_0x503c59),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x509db9(0x3f2)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){var _0x16c615=_0x509db9;return this[_0x16c615(0x226)](),this['_injector'][_0x16c615(0x252)](_0x313ef4[_0x16c615(0x2d1)],this[_0x16c615(0x359)],this[_0x16c615(0xfd)],null,this['_pendingMutations'],this[_0x16c615(0x2e0)]);}['toggleOnline'](){return this;}[_0x509db9(0x292)](_0x4a81b2){var _0x44ec9a=_0x509db9;const _0xe2b702=_0x4a81b2!=null?_0x4a81b2:this[_0x44ec9a(0x1d1)]();this['_scheduleCompleteTimestamp']=new Date()[_0x44ec9a(0x427)]()+_0xe2b702,this[_0x44ec9a(0x1b8)]=setTimeout(()=>{var _0x2084a0=_0x44ec9a;this[_0x2084a0(0x226)]();let _0x30065e=null;switch(this[_0x2084a0(0xfd)]){case _0x5dd1fb[_0x2084a0(0x155)]:{_0x30065e=_0x55732f(this[_0x2084a0(0x255)],this[_0x2084a0(0x359)],this[_0x2084a0(0x281)],this[_0x2084a0(0xa4)],this[_0x2084a0(0x2c5)]);break;}case _0x5dd1fb[_0x2084a0(0x3b0)]:{this[_0x2084a0(0x255)]['every'](_0x536051=>_0x536051['id']===_0x6ea9c7[_0x2084a0(0x310)]['id'])?_0x30065e=_0x2833b8(this[_0x2084a0(0x255)],this[_0x2084a0(0x359)],this[_0x2084a0(0x281)],this[_0x2084a0(0xa4)],this[_0x2084a0(0x2c5)]):_0x30065e=_0x55732f(this[_0x2084a0(0x255)],this[_0x2084a0(0x359)],this[_0x2084a0(0x281)],this[_0x2084a0(0xa4)],this[_0x2084a0(0x2c5)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x2084a0(0xfd)]+_0x2084a0(0x13f));}const {changeset:_0x32e93d,pendingMutations:_0x3136c5}=_0x30065e;this[_0x2084a0(0x2e0)]['onSendChangeset'](_0x32e93d);const _0x30501f=_0x3136c5[_0x2084a0(0x2e9)]?this['_injector'][_0x2084a0(0x252)](_0x313ef4[_0x2084a0(0x197)],this[_0x2084a0(0x359)],this['type'],_0x32e93d,_0x3136c5,this[_0x2084a0(0x2e0)],void 0x0):this[_0x2084a0(0x397)][_0x2084a0(0x252)](_0x313ef4[_0x2084a0(0x3cb)],this[_0x2084a0(0x359)],this[_0x2084a0(0xfd)],_0x32e93d,this['_handler']);_0x30501f[_0x2084a0(0x2a9)](),this[_0x2084a0(0x2e0)]['onStateChange'](this,_0x30501f);},_0xe2b702);}[_0x509db9(0x1d1)](){var _0x560a81=_0x509db9,_0x1b69de;const _0x44e1ef=this[_0x560a81(0x15b)][_0x560a81(0x1a7)](_0x9fbd4f);return(_0x1b69de=_0x44e1ef==null?void 0x0:_0x44e1ef[_0x560a81(0x206)])!=null?_0x1b69de:0x7d0;}[_0x509db9(0x101)](){var _0x442649=_0x509db9;throw new Error(_0x442649(0x3e9));}[_0x509db9(0x226)](){var _0x11a575=_0x509db9;this[_0x11a575(0x1b8)]!=null&&(clearTimeout(this[_0x11a575(0x1b8)]),this[_0x11a575(0x1b8)]=null);}[_0x509db9(0x10d)](_0x119e6d){var _0x5503ae=_0x509db9;return this[_0x5503ae(0x226)](),this[_0x5503ae(0x397)][_0x5503ae(0x252)](_0x313ef4[_0x5503ae(0x232)],this[_0x5503ae(0x359)],this[_0x5503ae(0xfd)],null,this[_0x5503ae(0x255)],this[_0x5503ae(0x2e0)],_0x119e6d);}},_0x313ef4[_0x509db9(0x284)]=_0x388bf0([_0x40dca1(0x4,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['Injector'])),_0x40dca1(0x5,_0x593ae3['Inject'](_0xdad847['RevisionService'])),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0x313ef4[_0x509db9(0x358)])),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x1c0)]),_0x40dca1(0xa,_0xdad847['ITransformService']),_0x40dca1(0xb,_0x593ae3[_0x509db9(0x1bc)]),_0x40dca1(0xc,_0x593ae3['IUndoRedoService']),_0x40dca1(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x284)]),_0x313ef4['AwaitingState']=class extends _0x2b1fbc{constructor(_0x3afbf4,_0x200c88,_0x2aa338,_0x2d6907,_0x312596,_0x553563,_0x5d7532,_0x3e148d,_0x397dcf,_0x40c9e5,_0x2563ce){var _0x39c2e7=_0x509db9;super(_0x3afbf4,_0x200c88,_0x2aa338,[],_0x2d6907,_0x5d7532,_0x40c9e5,_0x553563,_0x2563ce),_0x309c0d(this,_0x39c2e7(0x11e),_0x39c2e7(0x37b)),_0x309c0d(this,_0x39c2e7(0x223),0x0),_0x309c0d(this,_0x39c2e7(0x139)),_0x309c0d(this,_0x39c2e7(0x1b2)),(this[_0x39c2e7(0x397)]=_0x312596,this[_0x39c2e7(0x2a8)]=_0x3e148d,this[_0x39c2e7(0x3b9)]=_0x397dcf);}['appendMutation'](_0x3152c7){var _0x296ccf=_0x509db9;this['_clearScheduledTask']();const _0x396d91=this['_injector'][_0x296ccf(0x252)](_0x313ef4['AwaitingWithPendingState'],this[_0x296ccf(0x359)],this[_0x296ccf(0xfd)],this[_0x296ccf(0x156)],[_0x3152c7],this[_0x296ccf(0x2e0)],this[_0x296ccf(0x139)]);return _0x396d91[_0x296ccf(0x2a9)](),_0x396d91;}[_0x509db9(0x3d3)](_0x57be7b){var _0x2db00b=_0x509db9;if(this[_0x2db00b(0x1f4)](_0x57be7b))return this[_0x2db00b(0x226)](),this[_0x2db00b(0x397)][_0x2db00b(0x252)](_0x313ef4[_0x2db00b(0x336)],this['unitID'],this[_0x2db00b(0xfd)],this['_awaitingChangeset'],[],null,[_0x57be7b],this['_handler']);try{const _0x4ef836=this['_transformService']['transformChangesets']([_0x57be7b],[this[_0x2db00b(0x156)]],!0x1);if(_0xdad847[_0x2db00b(0x1fa)](_0x4ef836)){const {c1Prime:_0xfd0ba4,c2Prime:_0x5d3850}=_0x4ef836;this[_0x2db00b(0x30c)](_0xfd0ba4[0x0]),_0x5d3850[0x0]['baseRev']=this[_0x2db00b(0x230)](),this[_0x2db00b(0x226)]();const _0x3dd9a7=this['_injector'][_0x2db00b(0x252)](_0x313ef4[_0x2db00b(0x3cb)],this[_0x2db00b(0x359)],this[_0x2db00b(0xfd)],_0x5d3850[0x0],this[_0x2db00b(0x2e0)]);return _0x3dd9a7['_updateLocalCache'](),_0x3dd9a7;}return this[_0x2db00b(0x10d)](!0x1);}catch(_0x3d6aac){return this['_logService'][_0x2db00b(0x2cd)](_0x3d6aac),this['_onConflict'](!0x1);}}[_0x509db9(0x3bf)](_0x1cc30){var _0xda708c=_0x509db9;this['_clearScheduledTask']();const _0x5d5c0d=this[_0xda708c(0xa4)][_0xda708c(0x333)](this[_0xda708c(0x359)]);if(_0x1cc30[_0xda708c(0x134)]<_0x5d5c0d-0x1)return this;if(this[_0xda708c(0x1f4)](_0x1cc30))return this[_0xda708c(0x397)][_0xda708c(0x252)](_0x313ef4[_0xda708c(0x336)],this[_0xda708c(0x359)],this[_0xda708c(0xfd)],null,[],this[_0xda708c(0x156)],[],this[_0xda708c(0x2e0)]);this['_incrementRevisionNumber']();const _0x48b785=this[_0xda708c(0x397)][_0xda708c(0x252)](_0x313ef4['SyncedState'],this[_0xda708c(0x359)],this[_0xda708c(0xfd)],this[_0xda708c(0x2e0)]);return _0x48b785[_0xda708c(0x2a9)](),_0x48b785;}[_0x509db9(0x3f2)](_0x271b6a){var _0x5d0b6a=_0x509db9;return this[_0x5d0b6a(0x10d)](!!(_0x271b6a!=null&&_0x271b6a[_0x5d0b6a(0xd1)]));}[_0x509db9(0x177)](_0x7d28fd){var _0x26daea=_0x509db9;return this[_0x26daea(0x223)]>_0x595904?this[_0x26daea(0x36f)]():(this[_0x26daea(0x139)]=_0x2f900f(this[_0x26daea(0x223)],{'timeout':this[_0x26daea(0x223)],'reqId':_0x7d28fd[_0x26daea(0x32a)]}),this[_0x26daea(0x1b2)]=this['_resendTimer'][_0x26daea(0xa2)](({reqId:_0x58ba36,timeout:_0x388c22})=>{var _0x596b9e=_0x26daea;this[_0x596b9e(0x1e5)](_0x58ba36,_0x388c22);}),this);}[_0x509db9(0x36f)](){var _0x281637=_0x509db9;return this[_0x281637(0x226)](),this['_injector'][_0x281637(0x252)](_0x313ef4['OfflineState'],this[_0x281637(0x359)],this[_0x281637(0xfd)],this[_0x281637(0x156)],[],this['_handler']);}[_0x509db9(0x3ca)](){return this;}[_0x509db9(0x101)](){var _0x79237f=_0x509db9;this['_handler']['onSendChangeset'](this[_0x79237f(0x156)]);}['_onConflict'](_0x2e4935){var _0x36f9b6=_0x509db9;return this[_0x36f9b6(0x226)](),this[_0x36f9b6(0x397)][_0x36f9b6(0x252)](_0x313ef4[_0x36f9b6(0x232)],this[_0x36f9b6(0x359)],this['type'],this[_0x36f9b6(0x156)],[],this[_0x36f9b6(0x2e0)],_0x2e4935);}['_resendWithTimeout'](_0x1fb3bc,_0x2bfa87){var _0x155f86=_0x509db9,_0x1226db;_0x1fb3bc===((_0x1226db=this['_awaitingChangeset'])==null?void 0x0:_0x1226db['reqId'])&&(this['resend'](),this[_0x155f86(0x223)]=_0x2bfa87===0x0?0x3e8:_0x2bfa87*0x2);}[_0x509db9(0x226)](){var _0x560971=_0x509db9,_0x482e83;(_0x482e83=this[_0x560971(0x1b2)])==null||_0x482e83[_0x560971(0x14c)](),this[_0x560971(0x223)]=0x0;}},_0x313ef4[_0x509db9(0x3cb)]=_0x388bf0([_0x40dca1(0x4,_0x593ae3['Inject'](_0x593ae3['Injector'])),_0x40dca1(0x5,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x7,_0x593ae3['ILogService']),_0x40dca1(0x8,_0xdad847[_0x509db9(0x268)]),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0xa,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x3cb)]),_0x313ef4['AwaitingWithPendingState']=class extends _0x2b1fbc{constructor(_0x41c8db,_0x3a8ae5,_0xace73d,_0x2632a5,_0xbcac4a,_0xda05a9,_0x6443d5,_0x133033,_0x3990a8,_0x319b5c,_0x2b4404,_0x1dd4a4,_0x38f80a){var _0x36ee1a=_0x509db9;super(_0x41c8db,_0x3a8ae5,_0xace73d,_0x2632a5,_0xbcac4a,_0x3990a8,_0x1dd4a4,_0x133033,_0x38f80a),_0x309c0d(this,_0x36ee1a(0x11e),'awaiting_with_pending'),_0x309c0d(this,_0x36ee1a(0x223),0x0),_0x309c0d(this,_0x36ee1a(0x139)),_0x309c0d(this,_0x36ee1a(0x1b2)),(this[_0x36ee1a(0x397)]=_0x6443d5,this['_logService']=_0x319b5c,this[_0x36ee1a(0x3b9)]=_0x2b4404,this[_0x36ee1a(0x301)]=_0x38f80a,_0xda05a9&&(this['_resendTimer']=_0xda05a9,this[_0x36ee1a(0x1b2)]=this[_0x36ee1a(0x139)][_0x36ee1a(0xa2)](({reqId:_0x189021,timeout:_0x4d3648})=>{var _0x397960=_0x36ee1a;this[_0x397960(0x1e5)](_0x189021,_0x4d3648);})));}[_0x509db9(0x2a6)](_0x4e824a){var _0x4e7886=_0x509db9;return this[_0x4e7886(0x255)][_0x4e7886(0x273)](_0x4e824a),this;}[_0x509db9(0x3d3)](_0x548101){var _0x3287e6=_0x509db9;if(this[_0x3287e6(0x1f4)](_0x548101))return this[_0x3287e6(0x226)](),this[_0x3287e6(0x397)][_0x3287e6(0x252)](_0x313ef4[_0x3287e6(0x336)],this[_0x3287e6(0x359)],this[_0x3287e6(0xfd)],this['_awaitingChangeset'],this[_0x3287e6(0x255)],null,[_0x548101],this[_0x3287e6(0x2e0)]);try{const _0x37ec4a=this['_transformService'][_0x3287e6(0x13e)]([_0x548101],[this[_0x3287e6(0x156)]],!0x1);if(_0xdad847[_0x3287e6(0x1fa)](_0x37ec4a)){const {c1Prime:_0x224173,c2Prime:_0x3c2ece}=_0x37ec4a,_0x330e4e=this[_0x3287e6(0x3b9)][_0x3287e6(0x220)](_0x224173[0x0],this['_pendingMutations']);if(_0xdad847[_0x3287e6(0x116)](_0x330e4e)){const {c1Prime:_0x30e586,m2Prime:_0x5c68eb}=_0x330e4e;return this[_0x3287e6(0x30c)](_0x30e586),_0x3c2ece[0x0][_0x3287e6(0x7f)]=this[_0x3287e6(0x230)](),this[_0x3287e6(0x226)](),this['_injector']['createInstance'](_0x313ef4[_0x3287e6(0x197)],this['unitID'],this[_0x3287e6(0xfd)],_0x3c2ece[0x0],_0x5c68eb,this[_0x3287e6(0x2e0)],void 0x0);}throw _0x330e4e[_0x3287e6(0x2cd)];}throw _0x37ec4a[_0x3287e6(0x2cd)];}catch(_0xe5a929){return this[_0x3287e6(0x2a8)]['error'](_0xe5a929),this[_0x3287e6(0x10d)](!0x1);}}[_0x509db9(0x3bf)](_0x303125){var _0x23133c=_0x509db9;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x303125))return this[_0x23133c(0x397)][_0x23133c(0x252)](_0x313ef4[_0x23133c(0x336)],this[_0x23133c(0x359)],this['type'],null,this[_0x23133c(0x255)],this[_0x23133c(0x156)],[],this[_0x23133c(0x2e0)]);this['_incrementRevisionNumber']();const _0x319971=this[_0x23133c(0x397)][_0x23133c(0x252)](_0x313ef4[_0x23133c(0x284)],this[_0x23133c(0x359)],this[_0x23133c(0xfd)],this[_0x23133c(0x255)],this[_0x23133c(0x2e0)]);return _0x319971[_0x23133c(0x292)](),_0x319971[_0x23133c(0x2a9)](),_0x319971;}['onRemoteRej'](_0x4279c8){var _0x3f10d5=_0x509db9;return this[_0x3f10d5(0x10d)](!!(_0x4279c8!=null&&_0x4279c8[_0x3f10d5(0xd1)]));}[_0x509db9(0x177)](_0x3f12ce){var _0x4192e0=_0x509db9;return this[_0x4192e0(0x223)]>_0x595904?this[_0x4192e0(0x36f)]():(this['_resendTimer']=_0x2f900f(this['_resendTimeout'],{'timeout':this[_0x4192e0(0x223)],'reqId':_0x3f12ce['reqId']}),this[_0x4192e0(0x1b2)]=this[_0x4192e0(0x139)][_0x4192e0(0xa2)](({reqId:_0x474674,timeout:_0x5b664e})=>{var _0x26fdba=_0x4192e0;this[_0x26fdba(0x1e5)](_0x474674,_0x5b664e);}),this);}[_0x509db9(0x36f)](){var _0x564e76=_0x509db9;return this[_0x564e76(0x226)](),this[_0x564e76(0x397)][_0x564e76(0x252)](_0x313ef4['OfflineState'],this[_0x564e76(0x359)],this[_0x564e76(0xfd)],this[_0x564e76(0x156)],this[_0x564e76(0x255)],this[_0x564e76(0x2e0)]);}[_0x509db9(0x3ca)](){return this;}[_0x509db9(0x101)](){var _0x5533c1=_0x509db9;this[_0x5533c1(0x2e0)][_0x5533c1(0x1a9)](this[_0x5533c1(0x156)]);}[_0x509db9(0x10d)](_0x278d1d){var _0x168ea4=_0x509db9;return this[_0x168ea4(0x226)](),this[_0x168ea4(0x397)][_0x168ea4(0x252)](_0x313ef4[_0x168ea4(0x232)],this[_0x168ea4(0x359)],this[_0x168ea4(0xfd)],null,this[_0x168ea4(0x255)],this[_0x168ea4(0x2e0)],_0x278d1d);}[_0x509db9(0x1e5)](_0x5435eb,_0x323da3){var _0x415dba=_0x509db9,_0x4dbef5;_0x5435eb===((_0x4dbef5=this[_0x415dba(0x156)])==null?void 0x0:_0x4dbef5[_0x415dba(0x32a)])&&(this[_0x415dba(0x101)](),this[_0x415dba(0x223)]=_0x323da3===0x0?0x3e8:_0x323da3*0x2);}[_0x509db9(0x226)](){var _0x1b7f96=_0x509db9,_0x2be2e4;(_0x2be2e4=this['_sender'])==null||_0x2be2e4[_0x1b7f96(0x14c)](),this['_resendTimeout']=0x0;}},_0x313ef4[_0x509db9(0x197)]=_0x388bf0([_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0xa,_0xdad847[_0x509db9(0x268)]),_0x40dca1(0xb,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0xc,_0x593ae3['Optional'](_0x192e9c))],_0x313ef4['AwaitingWithPendingState']),_0x313ef4[_0x509db9(0x232)]=class extends _0x2b1fbc{constructor(_0x511f28,_0x59f84e,_0x162835,_0x5ab743,_0x7516a2,_0x520c4f=!0x1,_0x3c4470,_0x470085,_0x4a3f0b,_0x3b9b97,_0x2679ea,_0x7c34db,_0x317976){var _0x35fccc=_0x509db9;super(_0x511f28,_0x59f84e,_0x162835,_0x5ab743,_0x7516a2,_0x470085,_0x4a3f0b,_0x3b9b97,_0x317976),_0x309c0d(this,_0x35fccc(0x11e),_0x35fccc(0x1f3)),(this[_0x35fccc(0x164)]=_0x520c4f,this[_0x35fccc(0x1de)]=_0x3c4470,this[_0x35fccc(0x2f3)]=_0x2679ea,this['_collaborationUIEventService']=_0x7c34db,this[_0x35fccc(0x301)]=_0x317976,this[_0x35fccc(0x407)](),this[_0x35fccc(0x2f6)](),this[_0x35fccc(0x117)]());}[_0x509db9(0x2a6)](){return this;}[_0x509db9(0x3d3)](){return this;}[_0x509db9(0x3bf)](){return this;}[_0x509db9(0x3f2)](){return this;}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){return this;}['toggleOnline'](){return this;}[_0x509db9(0x101)](){var _0x2c8c68=_0x509db9;throw new Error(_0x2c8c68(0x40d));}[_0x509db9(0x2f6)](){var _0x20278a=_0x509db9,_0x2ede5f;(_0x2ede5f=this[_0x20278a(0x86)])==null||_0x2ede5f[_0x20278a(0x24a)](this[_0x20278a(0x359)],this[_0x20278a(0xfd)],null,[]);}[_0x509db9(0x407)](){var _0x2a3eb5=_0x509db9;this[_0x2a3eb5(0x164)]?this[_0x2a3eb5(0x20c)][_0x2a3eb5(0x1d9)]({'id':_0x7c51aa[_0x2a3eb5(0x356)]}):this[_0x2a3eb5(0x20c)][_0x2a3eb5(0x1d9)]({'id':_0x7c51aa[_0x2a3eb5(0x30f)]});}[_0x509db9(0x117)](){var _0x3fc0a1=_0x509db9;this['_permissionService'][_0x3fc0a1(0x23a)](new _0x196ab6[(_0x3fc0a1(0x2d3))](this[_0x3fc0a1(0x359)])['id'],!0x1);}},_0x313ef4[_0x509db9(0x232)]=_0x388bf0([_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['IPermissionService'])),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0x9,_0x593ae3['Inject'](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0xa,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x97)])),_0x40dca1(0xb,_0x593ae3['Inject'](_0x1e55fc)),_0x40dca1(0xc,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x232)]),_0x313ef4[_0x509db9(0x2d1)]=class extends _0x2b1fbc{constructor(_0x32aa14,_0x4fbf88,_0x428c93,_0x21718e,_0xe9f69a,_0x403000,_0x3444c,_0x4408fb,_0x5d2a33,_0x67b5bf){var _0x5add91=_0x509db9;super(_0x32aa14,_0x4fbf88,_0x428c93,_0x21718e,_0xe9f69a,_0x4408fb,_0x5d2a33,_0x3444c,_0x67b5bf),_0x309c0d(this,'status',_0x5add91(0x10c)),this[_0x5add91(0x397)]=_0x403000;}['appendMutation'](_0x117bbe){var _0x2d8fd0=_0x509db9;return this['_pendingMutations'][_0x2d8fd0(0x273)](_0x117bbe),this[_0x2d8fd0(0x2a9)](),this;}['onRemoteChangeset'](_0x1da8ec){var _0x2ac379=_0x509db9;throw new Error(_0x2ac379(0x298));}['onRemoteAck'](){var _0x567d23=_0x509db9;throw new Error(_0x567d23(0x254));}[_0x509db9(0x3f2)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){return this;}[_0x509db9(0x3ca)](){var _0x5ef319=_0x509db9;const {_injector:_0x5f3cfc,_pendingMutations:_0xd008fc,_awaitingChangeset:_0x1e2bc8,unitID:_0x8a4fec,_handler:_0x10cec6,type:_0x58d306}=this,_0x36613c=_0x505af6(_0x5f3cfc,_0x8a4fec,_0x58d306,_0x1e2bc8,_0xd008fc,_0x10cec6);return _0x36613c instanceof _0x313ef4[_0x5ef319(0x284)]?_0x36613c['_schedule']():(_0x36613c instanceof _0x313ef4[_0x5ef319(0x197)]||_0x36613c instanceof _0x313ef4['AwaitingState'])&&_0x36613c[_0x5ef319(0x101)](),_0x36613c;}[_0x509db9(0x101)](){var _0x33f761=_0x509db9;throw new Error(_0x33f761(0x2ad));}},_0x313ef4[_0x509db9(0x2d1)]=_0x388bf0([_0x40dca1(0x5,_0x593ae3['Inject'](_0x593ae3['Injector'])),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x7,_0x593ae3['ICommandService']),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0x9,_0x593ae3['Optional'](_0x192e9c))],_0x313ef4['OfflineState']),_0x313ef4[_0x509db9(0x336)]=class extends _0x2b1fbc{constructor(_0x51850e,_0x59d296,_0x93ec0f,_0x18b29d,_0x427009,_0x244569,_0x291bdf,_0x31a937,_0x4c650f,_0x20063b,_0x5e9453,_0x247bb1,_0x12955a,_0x17d7d7){var _0x255272=_0x509db9;super(_0x51850e,_0x59d296,_0x93ec0f,_0x18b29d,_0x291bdf,_0x5e9453,_0x247bb1,_0x4c650f,_0x17d7d7),_0x309c0d(this,_0x255272(0x11e),_0x255272(0x207)),(this[_0x255272(0x2bd)]=_0x427009,this[_0x255272(0xee)]=_0x244569,this[_0x255272(0x397)]=_0x31a937,this[_0x255272(0x2a8)]=_0x20063b,this[_0x255272(0x3b9)]=_0x12955a,this[_0x255272(0x301)]=_0x17d7d7);}[_0x509db9(0xe8)](_0x401039){var _0x59a724=_0x509db9;try{const _0x7f2632=[..._0x401039,...this[_0x59a724(0xee)]],_0x5b1b09=[this['_awaitingChangeset']||this[_0x59a724(0x2bd)]][_0x59a724(0xbd)](_0xd4801e=>!!_0xd4801e);let _0x39ed0d,_0x1a9c60;if(_0x5b1b09[_0x59a724(0x2e9)]){const _0x5bfe9e=this[_0x59a724(0x3b9)][_0x59a724(0x13e)](_0x7f2632,_0x5b1b09,!0x1);if(!_0xdad847['isTransformChangesetsSuccess'](_0x5bfe9e))throw _0x5bfe9e['error'];_0x39ed0d=_0x5bfe9e[_0x59a724(0x249)],_0x1a9c60=_0x5bfe9e[_0x59a724(0xba)];}else _0x39ed0d=_0x7f2632,_0x1a9c60=[];let _0x4ce206=this[_0x59a724(0x255)];_0x39ed0d['forEach'](_0x4d4484=>{var _0x391f4a=_0x59a724;let _0x1fe420;if(_0x4ce206[_0x391f4a(0x2e9)]){const _0x3318ab=this[_0x391f4a(0x3b9)][_0x391f4a(0x220)](_0x4d4484,_0x4ce206);if(!_0xdad847[_0x391f4a(0x116)](_0x3318ab))throw _0x3318ab[_0x391f4a(0x2cd)];_0x1fe420=_0x3318ab[_0x391f4a(0x249)],_0x4ce206=_0x3318ab[_0x391f4a(0x2f4)];}else _0x1fe420=_0x4d4484;this[_0x391f4a(0x30c)](_0x1fe420);}),this[_0x59a724(0x2bd)]&&this[_0x59a724(0x1b3)](),this[_0x59a724(0x156)]&&_0x1a9c60['length']&&(_0x1a9c60[0x0][_0x59a724(0x7f)]=this[_0x59a724(0x230)]());let _0x20cdff;if(this[_0x59a724(0x156)]&&_0x4ce206[_0x59a724(0x2e9)]!==0x0)_0x20cdff=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x197)],this[_0x59a724(0x359)],this['type'],_0x1a9c60[0x0],_0x4ce206,this[_0x59a724(0x2e0)],void 0x0);else{if(this[_0x59a724(0x156)]&&_0x4ce206[_0x59a724(0x2e9)]===0x0)_0x1a9c60[0x0][_0x59a724(0x7f)]=this[_0x59a724(0x230)](),_0x20cdff=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x3cb)],this[_0x59a724(0x359)],this[_0x59a724(0xfd)],_0x1a9c60[0x0],this[_0x59a724(0x2e0)]);else{if(_0x4ce206['length']!==0x0){const _0x1abb31=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x284)],this[_0x59a724(0x359)],this['type'],_0x4ce206,this['_handler']);_0x1abb31[_0x59a724(0x292)](),_0x20cdff=_0x1abb31;}else _0x20cdff=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x1fd)],this[_0x59a724(0x359)],this[_0x59a724(0xfd)],this[_0x59a724(0x2e0)]);}}return _0x20cdff[_0x59a724(0x2a9)](),_0x20cdff;}catch(_0x2a71f4){return this[_0x59a724(0x2a8)]['error']('[FetchMissState]',_0x59a724(0x263),_0x2a71f4),this['_injector']['createInstance'](_0x313ef4[_0x59a724(0x232)],this['unitID'],this[_0x59a724(0xfd)],this[_0x59a724(0x156)],this[_0x59a724(0x255)],this[_0x59a724(0x2e0)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x509db9(0x2a6)](_0x663033){var _0x155bbe=_0x509db9;return this[_0x155bbe(0x255)][_0x155bbe(0x273)](_0x663033),this;}[_0x509db9(0x3d3)](_0x1b1b24){var _0x43ce5c=_0x509db9;return this[_0x43ce5c(0xee)]['push'](_0x1b1b24),this;}[_0x509db9(0x3bf)](_0x20ecff){var _0x23d631=_0x509db9;if(this['_awaitingChangeset'])return this[_0x23d631(0x2bd)]=this[_0x23d631(0x156)],this['_awaitingChangeset']=null,this;throw new Error(_0x23d631(0x180));}[_0x509db9(0x3f2)](_0x56af50){var _0x392d2a=_0x509db9;return this[_0x392d2a(0x10d)](!!(_0x56af50!=null&&_0x56af50[_0x392d2a(0xd1)]));}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){var _0x496187=_0x509db9;return this['_injector']['createInstance'](_0x313ef4[_0x496187(0x2d1)],this[_0x496187(0x359)],this[_0x496187(0xfd)],this[_0x496187(0x156)],this[_0x496187(0x255)],this[_0x496187(0x2e0)]);}[_0x509db9(0x3ca)](){return this;}[_0x509db9(0x10d)](_0x5ce27d){var _0x2359ef=_0x509db9;return this[_0x2359ef(0x397)][_0x2359ef(0x252)](_0x313ef4['ConflictState'],this[_0x2359ef(0x359)],this[_0x2359ef(0xfd)],this[_0x2359ef(0x156)],this[_0x2359ef(0x255)],this[_0x2359ef(0x2e0)],_0x5ce27d);}},_0x313ef4[_0x509db9(0x336)]=_0x388bf0([_0x40dca1(0x7,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x28b)](_0xdad847['RevisionService'])),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0xa,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0xb,_0x593ae3['IUndoRedoService']),_0x40dca1(0xc,_0xdad847[_0x509db9(0x268)]),_0x40dca1(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x336)]);function _0x505af6(_0x470634,_0x383c66,_0x33c637,_0x579714,_0x644610,_0x2e9ecd){var _0x2c603a=_0x509db9;return _0x579714&&_0x644610[_0x2c603a(0x2e9)]?_0x470634[_0x2c603a(0x252)](_0x313ef4['AwaitingWithPendingState'],_0x383c66,_0x33c637,_0x579714,_0x644610,_0x2e9ecd,void 0x0):_0x579714?_0x470634[_0x2c603a(0x252)](_0x313ef4[_0x2c603a(0x3cb)],_0x383c66,_0x33c637,_0x579714,_0x2e9ecd):_0x644610[_0x2c603a(0x2e9)]?_0x470634[_0x2c603a(0x252)](_0x313ef4[_0x2c603a(0x284)],_0x383c66,_0x33c637,_0x644610,_0x2e9ecd):_0x470634[_0x2c603a(0x252)](_0x313ef4[_0x2c603a(0x1fd)],_0x383c66,_0x33c637,_0x2e9ecd);}var _0x4d6815=Object[_0x509db9(0x3d7)],_0x5e4cc6=(_0x26d6c6,_0x4ecffa,_0xbbfe02,_0x3c3954)=>{var _0x483a22=_0x509db9;for(var _0x55cb61=_0x3c3954>0x1?void 0x0:_0x3c3954?_0x4d6815(_0x4ecffa,_0xbbfe02):_0x4ecffa,_0x5235e5=_0x26d6c6[_0x483a22(0x2e9)]-0x1,_0x113bac;_0x5235e5>=0x0;_0x5235e5--)(_0x113bac=_0x26d6c6[_0x5235e5])&&(_0x55cb61=_0x113bac(_0x55cb61)||_0x55cb61);return _0x55cb61;},_0x366d98=(_0x2dc839,_0x1ab311)=>(_0xa5d883,_0xedaa89)=>_0x1ab311(_0xa5d883,_0xedaa89,_0x2dc839);_0x313ef4['CollaborationEntity']=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0x4a30e0,_0x1485fc,_0x15346c,_0xd9f89d,_0x5b3d31,_0x7ef89e,_0x37d81d,_0x2fe90c,_0x231d2f,_0x4f581b,_0x3e45e9,_0x506b20,_0x29fd95,_0x2d97af){var _0x5dbc3f=_0x509db9;super(),_0x309c0d(this,_0x5dbc3f(0x2aa),new _0x2ff251['BehaviorSubject'](null)),_0x309c0d(this,_0x5dbc3f(0x103),this[_0x5dbc3f(0x2aa)][_0x5dbc3f(0x203)]()),_0x309c0d(this,_0x5dbc3f(0x173)),_0x309c0d(this,_0x5dbc3f(0x247),!0x1),_0x309c0d(this,_0x5dbc3f(0x3e0),''),_0x309c0d(this,'_changesetReqId',0x0),_0x309c0d(this,'status$',this['state$']['pipe'](_0x2ff251[_0x5dbc3f(0xb1)](_0x79839e=>_0x79839e?_0x79839e[_0x5dbc3f(0x11e)]:_0x1ac262[_0x5dbc3f(0x2ab)]),_0x2ff251['shareReplay'](0x1))),_0x309c0d(this,_0x5dbc3f(0x23d),!0x1),_0x309c0d(this,_0x5dbc3f(0xd0),[]),(this[_0x5dbc3f(0x359)]=_0x4a30e0,this[_0x5dbc3f(0x22f)]=_0x1485fc,this[_0x5dbc3f(0x85)]=_0x15346c,this[_0x5dbc3f(0x397)]=_0xd9f89d,this[_0x5dbc3f(0x414)]=_0x5b3d31,this[_0x5dbc3f(0x2f3)]=_0x7ef89e,this[_0x5dbc3f(0xa4)]=_0x37d81d,this[_0x5dbc3f(0x3df)]=_0x2fe90c,this[_0x5dbc3f(0x281)]=_0x231d2f,this['_logService']=_0x4f581b,this[_0x5dbc3f(0x15f)]=_0x3e45e9,this['_permissionService']=_0x506b20,this[_0x5dbc3f(0x352)]=_0x29fd95,this[_0x5dbc3f(0x86)]=_0x2d97af);}get[_0x509db9(0x163)](){return this['_state'];}async[_0x509db9(0x2f7)](){var _0x47a9ea=_0x509db9;if(this[_0x47a9ea(0x163)])throw new Error(_0x47a9ea(0x33e));await this[_0x47a9ea(0x1ff)]();}[_0x509db9(0x20f)](){var _0xe5c621=_0x509db9;return this[_0xe5c621(0x247)]=!0x0,_0x593ae3['toDisposable'](()=>{var _0x22b779=_0xe5c621;this['_collaborationPaused']=!0x1,this[_0x22b779(0x165)]();});}[_0x509db9(0x3f7)](_0x2f7f0a){var _0x45ac41=_0x509db9;this[_0x45ac41(0xd4)](_0x2f7f0a);}['_updateState'](_0xa6f6a6){var _0x24e6c6=_0x509db9;this[_0x24e6c6(0x173)]=_0xa6f6a6,this[_0x24e6c6(0x2aa)]['next'](_0xa6f6a6);}async[_0x509db9(0x1ff)](){var _0x28f007=_0x509db9,_0x1cbe72;this['_updateState'](await this['_createInitialState']()),this[_0x28f007(0x352)]&&((_0x1cbe72=this['_singleActiveUnitService'])==null||_0x1cbe72['editingUnit'](this[_0x28f007(0x359)]),this[_0x28f007(0x34f)](this[_0x28f007(0x352)]['getUnitStatus$'](this[_0x28f007(0x359)])['subscribe'](_0x343122=>{var _0x6d7e1f=_0x28f007;this[_0x6d7e1f(0x2a8)]['debug']('[CollaborationEntity]',_0x6d7e1f(0x40a),_0x343122),_0x343122===_0x1bfb46['OTHER_CLIENTS_EDITING']?(this[_0x6d7e1f(0x3df)]['emitEvent']({'id':_0x7c51aa[_0x6d7e1f(0x2e3)]}),this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x23a)](new _0x196ab6[(_0x6d7e1f(0x2d3))](this[_0x6d7e1f(0x359)])['id'],!0x1),this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x390)](!0x1)):(this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x23a)](new _0x196ab6['WorkbookEditablePermission'](this[_0x6d7e1f(0x359)])['id'],!0x0),this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x390)](!0x0));})));let _0x24e9e9=!0x1;return this[_0x28f007(0x34f)](this['session'][_0x28f007(0x257)]['subscribe'](_0x15d07e=>{var _0x562ee6=_0x28f007;_0x15d07e===_0x4e4db9['ONLINE']?this[_0x562ee6(0x394)](_0x24e9e9):_0x15d07e===_0x4e4db9['OFFLINE']&&(_0x24e9e9=!0x0,this[_0x562ee6(0x3c6)]());})),this[_0x28f007(0x34f)](this['session'][_0x28f007(0x38b)][_0x28f007(0xa2)](_0x362362=>{var _0x454205=_0x28f007;try{switch(_0x362362[_0x454205(0x240)]){case _0xdad847[_0x454205(0x343)][_0x454205(0xe2)]:{this[_0x454205(0x2be)](_0xdad847[_0x454205(0x3c5)](_0x362362['data']));break;}case _0xdad847[_0x454205(0x343)]['CHANGESET_ACK']:{this[_0x454205(0x380)](_0x362362[_0x454205(0xc3)]);break;}case _0xdad847[_0x454205(0x343)][_0x454205(0x29b)]:{this[_0x454205(0x1f0)]();break;}case _0xdad847[_0x454205(0x343)][_0x454205(0x3e3)]:{this['_onRemoteRetry'](_0x362362['data']);break;}case _0xdad847['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x362362[_0x454205(0xc3)][_0x454205(0x2de)][_0x454205(0xb1)](_0x34dad1=>_0xdad847[_0x454205(0x3c5)](_0x34dad1)));break;}case _0xdad847[_0x454205(0x343)]['PERMISSION_REJ']:{this[_0x454205(0x1f0)]({'isPermissionRej':!0x0});break;}case _0xdad847[_0x454205(0x343)][_0x454205(0x40c)]:break;}}catch(_0x20b91c){throw console[_0x454205(0x2cd)](_0x454205(0x3ae),_0x20b91c),_0x20b91c;}})),this['_state'];}[_0x509db9(0x335)](){this['_transitionLocked']=!0x1;}[_0x509db9(0x8e)](){var _0x1a050c=_0x509db9;if(this[_0x1a050c(0x23d)])throw new Error(_0x1a050c(0x211));this[_0x1a050c(0x23d)]=!0x0;}[_0x509db9(0xd4)](_0x462805){var _0x17c6a1=_0x509db9;this[_0x17c6a1(0x8e)](),this[_0x17c6a1(0x3bb)](this[_0x17c6a1(0x173)][_0x17c6a1(0x2a6)](_0x462805)),this['_unlockTransition']();}[_0x509db9(0x2be)](_0x3c4952){var _0x4f234c=_0x509db9;if(!(_0x3c4952[_0x4f234c(0x134)]<=this['_revisionService'][_0x4f234c(0x333)](this[_0x4f234c(0x359)]))){if(this[_0x4f234c(0x247)]){this[_0x4f234c(0xd0)]['push'](_0x3c4952);return;}this[_0x4f234c(0x9a)](_0x3c4952);}}[_0x509db9(0x165)](){var _0x406b86=_0x509db9;this[_0x406b86(0xd0)][_0x406b86(0x10a)](_0x5ace46=>this[_0x406b86(0x9a)](_0x5ace46)),this[_0x406b86(0xd0)]=[];}[_0x509db9(0x9a)](_0x3de35c){var _0xfb351d=_0x509db9;const _0x2dbee9=this[_0xfb351d(0x414)][_0xfb351d(0xb8)][_0xfb351d(0x1a2)](this[_0xfb351d(0x414)][_0xfb351d(0xb8)][_0xfb351d(0xca)]()['COMPRESS_MUTATION_APPLY'])(_0x3de35c[_0xfb351d(0x135)],null)||_0x3de35c[_0xfb351d(0x135)],_0x568da4={..._0x3de35c,'mutations':_0x2dbee9};this[_0xfb351d(0x8e)](),this[_0xfb351d(0x3bb)](this[_0xfb351d(0x173)][_0xfb351d(0x3d3)](_0x568da4)),this[_0xfb351d(0x335)]();}[_0x509db9(0x380)](_0x546e99){var _0xe49387=_0x509db9;this[_0xe49387(0x8e)](),this[_0xe49387(0x3bb)](this[_0xe49387(0x173)][_0xe49387(0x3bf)](_0x546e99)),this[_0xe49387(0x335)]();}['_onRemoteRejected'](_0x2fbe46){var _0x2c4eb7=_0x509db9;this['_lockTransition'](),this[_0x2c4eb7(0x3bb)](this[_0x2c4eb7(0x173)][_0x2c4eb7(0x3f2)](_0x2fbe46)),this[_0x2c4eb7(0x335)]();}[_0x509db9(0xdd)](_0x3b0fd9){var _0x351642=_0x509db9;this[_0x351642(0x8e)](),this[_0x351642(0x3bb)](this['_state'][_0x351642(0x177)](_0x3b0fd9)),this['_unlockTransition']();}[_0x509db9(0x1c6)](_0x56c6ca){var _0x41c85b=_0x509db9;if(!(this['_state']instanceof _0x313ef4['FetchingMissState']))throw new TypeError(_0x41c85b(0xdf));const _0x5cf224=_0x56c6ca['map'](_0xb0ad5f=>{var _0x34853d=_0x41c85b;const _0x97a87=this[_0x34853d(0x414)][_0x34853d(0xb8)][_0x34853d(0x1a2)](this[_0x34853d(0x414)][_0x34853d(0xb8)][_0x34853d(0xca)]()['COMPRESS_MUTATION_APPLY'])(_0xb0ad5f[_0x34853d(0x135)],null)||_0xb0ad5f[_0x34853d(0x135)];return{..._0xb0ad5f,'mutations':_0x97a87};});this[_0x41c85b(0x8e)](),this[_0x41c85b(0x3bb)](this['_state']['onMissedChangesetFetched'](_0x5cf224)),this[_0x41c85b(0x335)]();}[_0x509db9(0x3c6)](){var _0x21a467=_0x509db9;this['_lockTransition'](),this[_0x21a467(0x3bb)](this['_state'][_0x21a467(0x36f)]()),this[_0x21a467(0x335)]();}['_toggleOnline'](_0x3540e6=!0x1){var _0x297ca4=_0x509db9;this[_0x297ca4(0x8e)](),this[_0x297ca4(0x3bb)](this[_0x297ca4(0x173)]['toggleOnline']()),this[_0x297ca4(0x335)]();const _0x558723=this[_0x297ca4(0x173)];_0x3540e6&&_0x558723 instanceof _0x313ef4['SyncedState']&&(this[_0x297ca4(0x8e)](),this['_updateState'](_0x558723['fetchMiss']()),this[_0x297ca4(0x335)]());}async[_0x509db9(0x12a)](){return new Promise(_0x39b9c5=>{var _0x585426=_0x572e;this['session']['sessionStatus$'][_0x585426(0x8f)](_0x2ff251[_0x585426(0x275)](0x1))[_0x585426(0xa2)](async _0x1ca775=>{var _0x844eeb=_0x585426;_0x39b9c5(await this['_createInitialStateImpl'](_0x1ca775===_0x4e4db9[_0x844eeb(0x224)]));});});}[_0x509db9(0x327)](){var _0x7d3471=_0x509db9;const _0x205153=this[_0x7d3471(0x359)];return{'onStateChange':(_0x4cf6d5,_0x47a87e)=>{var _0x4320c0=_0x7d3471;if(_0x4cf6d5!==this['_state'])throw new Error(_0x4320c0(0x1d5)+_0x4cf6d5['status']+_0x4320c0(0x384)+_0x47a87e[_0x4320c0(0x11e)]+'\x0aCurrent:\x20'+this[_0x4320c0(0x173)][_0x4320c0(0x11e)]);this['_updateState'](_0x47a87e);},'onSendChangeset':_0x500199=>{var _0x1f0fb1=_0x7d3471;_0x500199[_0x1f0fb1(0x2a3)]||(_0x500199[_0x1f0fb1(0x2a3)]=this[_0x1f0fb1(0x3e0)],_0x500199[_0x1f0fb1(0x32a)]=++this['_changesetReqId']);const _0x338ea5={'eventID':_0xdad847[_0x1f0fb1(0x343)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x500199['unitID'],'unitType':this['_type'],'changeset':_0x500199,'memberID':this[_0x1f0fb1(0x22f)]['getMemberID']()}};this['session']['send'](_0x338ea5,this[_0x1f0fb1(0x359)]);},'onMissingChangesets':({from:_0x5b7c7b,to:_0x5b131c})=>{var _0x31eca6=_0x7d3471;this[_0x31eca6(0x2a8)][_0x31eca6(0x26b)](_0x31eca6(0x395),_0x31eca6(0x26d)+_0x5b7c7b+'\x20to\x20'+_0x5b131c);const _0x21bf10={'eventID':_0xdad847[_0x31eca6(0x343)]['FETCH_MISSING'],'data':{'unitID':_0x205153,'unitType':this[_0x31eca6(0x85)],'from':_0x5b7c7b,'to':_0x5b131c}};this[_0x31eca6(0x22f)][_0x31eca6(0x426)](_0x21bf10,this[_0x31eca6(0x359)]);}};}async[_0x509db9(0x82)](_0xffed3b){var _0x5ae534=_0x509db9,_0x660985,_0x94157f,_0xd3c803;const _0x277855=await((_0x660985=this[_0x5ae534(0x86)])==null?void 0x0:_0x660985[_0x5ae534(0x364)](this['unitID'])),_0x44bc07=(_0x94157f=_0x277855==null?void 0x0:_0x277855[_0x5ae534(0x135)])!=null?_0x94157f:[],_0x1ac309=(_0xd3c803=_0x277855==null?void 0x0:_0x277855[_0x5ae534(0x105)])!=null?_0xd3c803:null,_0x225e9b=!!(_0x1ac309!=null&&_0x1ac309['sid'])&&!!(_0x1ac309!=null&&_0x1ac309[_0x5ae534(0x32a)]);this[_0x5ae534(0x3e0)]=_0x225e9b?_0x1ac309[_0x5ae534(0x2a3)]:_0xdad847[_0x5ae534(0x15c)](),this[_0x5ae534(0xf1)]=_0x225e9b?_0x1ac309[_0x5ae534(0x32a)]:0x0;const _0x12efd5=this['unitID'];try{this[_0x5ae534(0x26c)](_0x1ac309,_0x44bc07);}catch(_0x588b5a){this[_0x5ae534(0x2a8)][_0x5ae534(0x2cd)](_0x588b5a);}const _0x424537=this[_0x5ae534(0x327)]();if(_0xffed3b){const _0x3755e4=_0x505af6(this['_injector'],_0x12efd5,this['_type'],_0x1ac309,_0x44bc07,_0x424537);return _0x3755e4 instanceof _0x313ef4[_0x5ae534(0x284)]?_0x3755e4[_0x5ae534(0x292)]():(_0x3755e4 instanceof _0x313ef4[_0x5ae534(0x197)]||_0x3755e4 instanceof _0x313ef4['AwaitingState'])&&_0x3755e4[_0x5ae534(0x101)](),_0x3755e4;}return this[_0x5ae534(0x397)][_0x5ae534(0x252)](_0x313ef4[_0x5ae534(0x2d1)],_0x12efd5,this[_0x5ae534(0x85)],_0x1ac309,_0x44bc07,_0x424537);}[_0x509db9(0x26c)](_0x4639b3,_0x1aaf39){var _0x49d4fc=_0x509db9,_0x291717,_0x5f4381;const _0x193980=this['_compressMutationService'][_0x49d4fc(0xb8)][_0x49d4fc(0x1a2)](this['_compressMutationService']['interceptor'][_0x49d4fc(0xca)]()[_0x49d4fc(0x1c3)]);(_0x291717=_0x193980((_0x4639b3==null?void 0x0:_0x4639b3[_0x49d4fc(0x135)])||[],null))==null||_0x291717[_0x49d4fc(0x10a)](_0x2811df=>this[_0x49d4fc(0x15f)][_0x49d4fc(0x218)](_0x2811df['id'],_0x2811df[_0x49d4fc(0x158)])),(_0x5f4381=_0x193980(_0x1aaf39||[],null))==null||_0x5f4381['forEach'](_0x544ec7=>this[_0x49d4fc(0x15f)][_0x49d4fc(0x218)](_0x544ec7['id'],_0x544ec7[_0x49d4fc(0x158)]));}},_0x313ef4[_0x509db9(0x19b)]=_0x5e4cc6([_0x366d98(0x3,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['Injector'])),_0x366d98(0x4,_0x593ae3[_0x509db9(0x28b)](_0xdad847['CompressMutationService'])),_0x366d98(0x5,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x97)])),_0x366d98(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x366d98(0x7,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x366d98(0x8,_0x593ae3[_0x509db9(0x1bc)]),_0x366d98(0x9,_0x593ae3['ILogService']),_0x366d98(0xa,_0x593ae3[_0x509db9(0x170)]),_0x366d98(0xb,_0x593ae3[_0x509db9(0x3d5)]),_0x366d98(0xc,_0x593ae3['Optional'](_0x5647b7)),_0x366d98(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x19b)]),_0x313ef4[_0x509db9(0x271)]=class extends _0x313ef4[_0x509db9(0x19b)]{constructor(_0x5489ac,_0x12ad51,_0x3cea00,_0x58d29d,_0x3f8c45,_0x3ad454,_0x490ea8,_0x5c4c14,_0x52c49a,_0x383359,_0x5afe07,_0x4df4ff,_0x1e5154,_0x1f191d){var _0x5aa6d0=_0x509db9;super(_0x5489ac,_0x3cea00,_0x12ad51,_0x58d29d,_0x3f8c45,_0x3ad454,_0x490ea8,_0x5c4c14,_0x52c49a,_0x383359,_0x5afe07,_0x4df4ff,_0x1e5154,_0x1f191d),_0x309c0d(this,_0x5aa6d0(0x372),null),(this[_0x5aa6d0(0x359)]=_0x5489ac,this[_0x5aa6d0(0xfd)]=_0x12ad51);}[_0x509db9(0x309)](_0x1a0132){var _0x368a1d=_0x509db9;this[_0x368a1d(0x372)]=_0x1a0132;}[_0x509db9(0x25b)](){var _0x424cd2=_0x509db9;this[_0x424cd2(0x372)]=null,super['dispose']();}['_createHandler'](){var _0x2f98e6=_0x509db9;const _0x56d55d=super[_0x2f98e6(0x327)]();return _0x56d55d[_0x2f98e6(0x1db)]=_0x2fdc11=>{var _0x37f4f9=_0x2f98e6,_0x318d25,_0x288220;return(_0x288220=(_0x318d25=this['_handlerCallback'])==null?void 0x0:_0x318d25[_0x37f4f9(0x1db)])==null?void 0x0:_0x288220[_0x37f4f9(0xc8)](_0x318d25,_0x2fdc11);},_0x56d55d[_0x2f98e6(0x109)]=_0x2d96bc=>{var _0xf76664=_0x2f98e6,_0x3db7f3,_0xb33246;return(_0xb33246=(_0x3db7f3=this[_0xf76664(0x372)])==null?void 0x0:_0x3db7f3['onTransformState'])==null?void 0x0:_0xb33246[_0xf76664(0xc8)](_0x3db7f3,_0x2d96bc);},_0x56d55d[_0x2f98e6(0x161)]=_0x2c1dc9=>{var _0x485987=_0x2f98e6,_0x25d97a,_0x456bf5;return(_0x456bf5=(_0x25d97a=this[_0x485987(0x372)])==null?void 0x0:_0x25d97a[_0x485987(0x161)])==null?void 0x0:_0x456bf5['call'](_0x25d97a,_0x2c1dc9);},_0x56d55d[_0x2f98e6(0x396)]=_0x355bd5=>{var _0xf0f04c=_0x2f98e6,_0x143ae1,_0x455d16;return(_0x455d16=(_0x143ae1=this[_0xf0f04c(0x372)])==null?void 0x0:_0x143ae1[_0xf0f04c(0x396)])==null?void 0x0:_0x455d16[_0xf0f04c(0xc8)](_0x143ae1,_0x355bd5);},_0x56d55d['onTransformRemoteChangesetByIMECache']=_0xac4d97=>{var _0x1561db=_0x2f98e6,_0x5e5ca5,_0x48b9b1,_0x1306a7;if(!((_0x5e5ca5=this[_0x1561db(0x372)])!=null&&_0x5e5ca5[_0x1561db(0x3a3)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1306a7=(_0x48b9b1=this[_0x1561db(0x372)])==null?void 0x0:_0x48b9b1[_0x1561db(0x3a3)])==null?void 0x0:_0x1306a7['call'](_0x48b9b1,_0xac4d97);},_0x56d55d[_0x2f98e6(0x1c1)]=_0xf55374=>{var _0x2dd012=_0x2f98e6,_0x147c23,_0x28de80,_0x2ec257;if(!((_0x147c23=this[_0x2dd012(0x372)])!=null&&_0x147c23[_0x2dd012(0x1c1)]))throw new Error(_0x2dd012(0x19d));return(_0x2ec257=(_0x28de80=this[_0x2dd012(0x372)])==null?void 0x0:_0x28de80[_0x2dd012(0x1c1)])==null?void 0x0:_0x2ec257['call'](_0x28de80,_0xf55374);},_0x56d55d;}async['_init'](){var _0x515c10=_0x509db9;const _0x185ecb=await super[_0x515c10(0x1ff)]();return this['disposeWithMe'](this[_0x515c10(0x15f)][_0x515c10(0xe3)]((_0xd0e023,_0x371b75)=>{var _0x593569=_0x515c10;if(_0xd0e023[_0x593569(0xfd)]!==_0x593ae3[_0x593569(0x28f)][_0x593569(0x39c)]||_0x371b75!=null&&_0x371b75[_0x593569(0x316)]||_0x371b75!=null&&_0x371b75[_0x593569(0x143)]||_0xd0e023['id']===_0x6ea9c7[_0x593569(0x310)]['id'])return;const _0x13a8c4=_0xd0e023['params'];if((_0x13a8c4==null?void 0x0:_0x13a8c4['unitId'])!==this[_0x593569(0x359)])return;const _0x176895=_0xd0e023,_0x1e77bd=this[_0x593569(0x414)]['interceptor'][_0x593569(0x1a2)](this['_compressMutationService'][_0x593569(0xb8)][_0x593569(0xca)]()[_0x593569(0x30e)])([_0x176895],this[_0x593569(0x281)])||[_0x176895];this[_0x593569(0xd4)](_0x1e77bd[0x0]);})),_0x185ecb;}},_0x313ef4[_0x509db9(0x271)]=_0x5e4cc6([_0x366d98(0x3,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x366d98(0x4,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x34b)])),_0x366d98(0x5,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x97)])),_0x366d98(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847['RevisionService'])),_0x366d98(0x7,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x366d98(0x8,_0x593ae3[_0x509db9(0x1bc)]),_0x366d98(0x9,_0x593ae3[_0x509db9(0x1a8)]),_0x366d98(0xa,_0x593ae3[_0x509db9(0x170)]),_0x366d98(0xb,_0x593ae3['IPermissionService']),_0x366d98(0xc,_0x593ae3[_0x509db9(0x3d1)](_0x5647b7)),_0x366d98(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x271)]),_0x313ef4[_0x509db9(0x1b9)]=class extends _0x313ef4[_0x509db9(0x19b)]{constructor(_0x38f908,_0x210f54,_0x79c48,_0x5b2914,_0x392dc6,_0x353859,_0x19bf6c,_0x11e8be,_0x249c04,_0x519361,_0x4b4071,_0x5970ac,_0x4d1e8a,_0x5b50ee,_0x1b7444){var _0x5cd51a=_0x509db9;super(_0x38f908,_0x79c48,_0x210f54,_0x5b2914,_0x392dc6,_0x353859,_0x19bf6c,_0x249c04,_0x519361,_0x4b4071,_0x5970ac,_0x4d1e8a,_0x5b50ee,_0x1b7444),this[_0x5cd51a(0x359)]=_0x38f908,this[_0x5cd51a(0xfd)]=_0x210f54,this['_sheetTransformSelectionsService']=_0x11e8be;}['_createHandler'](){var _0xa220b7=_0x509db9;const _0x3be61b=super[_0xa220b7(0x327)]();return _0x3be61b[_0xa220b7(0x161)]=_0xc0280b=>this['_sheetTransformSelectionsService'][_0xa220b7(0x412)](_0xc0280b),_0x3be61b;}async['_init'](){var _0x63857a=_0x509db9;const _0xa45812=await super[_0x63857a(0x1ff)]();return this[_0x63857a(0x34f)](this[_0x63857a(0x15f)]['onMutationExecutedForCollab']((_0x76c16c,_0x5638e6)=>{var _0x2291cc=_0x63857a;if(_0x76c16c[_0x2291cc(0xfd)]!==_0x593ae3[_0x2291cc(0x28f)][_0x2291cc(0x39c)]||_0x5638e6!=null&&_0x5638e6['fromCollab']||_0x5638e6!=null&&_0x5638e6[_0x2291cc(0x143)])return;const _0x4e4132=_0x76c16c[_0x2291cc(0x158)];if((_0x4e4132==null?void 0x0:_0x4e4132['unitId'])!==this[_0x2291cc(0x359)])return;const _0x5111b2=_0x76c16c,_0x502426=this['_compressMutationService'][_0x2291cc(0xb8)][_0x2291cc(0x1a2)](this[_0x2291cc(0x414)][_0x2291cc(0xb8)][_0x2291cc(0xca)]()[_0x2291cc(0x30e)])([_0x5111b2],this['_univerInstanceService'])||[_0x5111b2];this['_onLocalMutation'](_0x502426[0x0]);})),_0xa45812;}},_0x313ef4['SheetCollaborationEntity']=_0x5e4cc6([_0x366d98(0x3,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x366d98(0x4,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x34b)])),_0x366d98(0x5,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x97)])),_0x366d98(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x366d98(0x7,_0x593ae3[_0x509db9(0x28b)](_0x313ef4['SheetTransformSelectionsService'])),_0x366d98(0x8,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x366d98(0x9,_0x593ae3[_0x509db9(0x1bc)]),_0x366d98(0xa,_0x593ae3[_0x509db9(0x1a8)]),_0x366d98(0xb,_0x593ae3[_0x509db9(0x170)]),_0x366d98(0xc,_0x593ae3['IPermissionService']),_0x366d98(0xd,_0x593ae3['Optional'](_0x5647b7)),_0x366d98(0xe,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4['SheetCollaborationEntity']);const _0xcfc4ab=_0x593ae3[_0x509db9(0xbc)](_0x509db9(0x3cd));function _0x2f49ae(_0x45c8ff){var _0x3f8d1c=_0x509db9,_0xfaa120,_0x4b4c9c,_0x1fc8ce,_0x3663ee,_0x5a7f26;const _0x2bf55d=_0x45c8ff[_0x3f8d1c(0xc3)],_0xa06bfe=JSON['parse'](_0x2bf55d);switch(_0xa06bfe[_0x3f8d1c(0x29a)]){case _0x1e67da['HEARTBEAT']:case _0x1e67da[_0x3f8d1c(0x1ed)]:{const _0x4abdc0=_0xa06bfe[_0x3f8d1c(0x338)];return{..._0xa06bfe,'data':_0x4abdc0,'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};}case _0x1e67da[_0x3f8d1c(0x2f0)]:{const _0x42a397=_0xa06bfe[_0x3f8d1c(0x21a)];return{..._0xa06bfe,'data':_0x42a397,'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};}case _0x1e67da[_0x3f8d1c(0x2ac)]:{const _0x2ced65=_0xa06bfe[_0x3f8d1c(0x322)];switch(_0x2ced65[_0x3f8d1c(0x240)]){case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x2a1)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0xfaa120=_0x2ced65['permissionRejEvent'])==null?void 0x0:_0xfaa120['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x3f8)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x4b4c9c=_0x2ced65['csAckEvent'])==null?void 0x0:_0x4b4c9c['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0xe2)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x1fc8ce=_0x2ced65[_0x3f8d1c(0x33d)])==null?void 0x0:_0x1fc8ce['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['CHANGESET_REJ']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x3663ee=_0x2ced65[_0x3f8d1c(0x392)])==null?void 0x0:_0x3663ee['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['CHANGESET_SHOULD_RETRY']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x5a7f26=_0x2ced65[_0x3f8d1c(0x1d4)])==null?void 0x0:_0x5a7f26['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['UPDATE_CURSOR']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0xe1)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x3b6)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65['joinEvent']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x27c)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x25d)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x9e)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x2f9)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x279)]:case _0xdad847[_0x3f8d1c(0x343)]['LIVESHARE_OPERATION']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x2e2)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x17f)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x2f9)]},'cmd':_0xa06bfe['cmd']};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x96)]:return{..._0xa06bfe,'data':_0x2ced65,'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847['CollaborationEvent'][_0x3f8d1c(0x319)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x34e)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x13a)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x415)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['SHOULD_CLOSE_CONN']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x1f7)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x40c)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x149)]},'cmd':_0xa06bfe['cmd']};default:return _0xa06bfe;}}default:return _0xa06bfe;}}function _0x3ce187(_0x33c706){var _0x4770b8=_0x509db9;switch(_0x33c706[_0x4770b8(0x29a)]){case _0x1e67da['HEARTBEAT']:case _0x1e67da[_0x4770b8(0x1ed)]:return JSON[_0x4770b8(0xa1)]({'cmd':_0x33c706[_0x4770b8(0x29a)],'routeKey':_0x33c706[_0x4770b8(0x369)]});case _0x1e67da['INGEST']:{let _0x2cb28a;switch(_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0x240)]){case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x388)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['UPDATE_CURSOR'],'updateCursorEvent':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x27c)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)][_0x4770b8(0x27c)],'leaveEvent':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847['CollaborationEvent'][_0x4770b8(0x3b6)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['USERS_ENTER'],'joinEvent':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847['CollaborationEvent'][_0x4770b8(0x9e)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x2c0)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x17f)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)][_0x4770b8(0x17f)],'liveShareTerminate':_0x33c706['data']['data']};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x199)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)][_0x4770b8(0x199)],'liveShareRequestHost':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x279)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2cb28a={'eventID':_0x33c706['data']['eventID']};}return JSON[_0x4770b8(0xa1)]({'cmd':_0x33c706[_0x4770b8(0x29a)],'routeKey':_0x33c706[_0x4770b8(0x369)],'collaMsg':_0x2cb28a});}case _0x1e67da[_0x4770b8(0x2f0)]:return JSON[_0x4770b8(0xa1)]({'cmd':_0x33c706['cmd'],'routeKey':_0x33c706[_0x4770b8(0x369)],'joinReq':_0x33c706[_0x4770b8(0xc3)]});case _0x1e67da[_0x4770b8(0x132)]:return JSON['stringify']({'cmd':_0x33c706['cmd'],'routeKey':_0x33c706['routeKey'],'leaveReq':_0x33c706['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4fc748=Object[_0x509db9(0x3d7)],_0x268a83=(_0x322d6b,_0x396c73,_0x322427,_0x57b9b8)=>{var _0xb00219=_0x509db9;for(var _0x2a042d=_0x57b9b8>0x1?void 0x0:_0x57b9b8?_0x4fc748(_0x396c73,_0x322427):_0x396c73,_0xb02538=_0x322d6b[_0xb00219(0x2e9)]-0x1,_0x3a790b;_0xb02538>=0x0;_0xb02538--)(_0x3a790b=_0x322d6b[_0xb02538])&&(_0x2a042d=_0x3a790b(_0x2a042d)||_0x2a042d);return _0x2a042d;},_0x15f785=(_0x593eae,_0x5d93be)=>(_0x5dce47,_0x3d2745)=>_0x5d93be(_0x5dce47,_0x3d2745,_0x593eae);const _0x37eaae=_0x593ae3[_0x509db9(0xbc)](_0x509db9(0x2d8));function _0x227cd1(_0xd6b4ea,_0x4dcdf3,_0xdb8dea){var _0x2b312a=_0x509db9;return _0xd6b4ea+'/'+_0x4dcdf3+_0x2b312a(0x151)+_0xdb8dea+_0x2b312a(0xf2);}_0x313ef4[_0x509db9(0x214)]=class extends _0x593ae3[_0x509db9(0x410)]{constructor(_0x1b7c2f,_0x2256e4,_0x26f6f0,_0xb139af,_0x4ee0cb){var _0x1caa19=_0x509db9;super(),this[_0x1caa19(0x397)]=_0x1b7c2f,this[_0x1caa19(0x2b2)]=_0x2256e4,this[_0x1caa19(0x15b)]=_0x26f6f0,this['_logService']=_0xb139af,this[_0x1caa19(0x39b)]=_0x4ee0cb;}[_0x509db9(0x423)](_0x2cde51){var _0x1d205f=_0x509db9;const _0x3e46d1=this[_0x1d205f(0x397)][_0x1d205f(0xa5)](_0x38c133[_0x1d205f(0xa7)]);if(!_0x3e46d1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3f8780=_0x3e46d1['createSocket'](_0x2cde51);if(!_0x3f8780)throw new Error(_0x1d205f(0x90));const _0x1bb87b=new _0x593ae3[(_0x1d205f(0x235))](),_0xd8a2c3=new _0x2ff251[(_0x1d205f(0x23e))]();_0x1bb87b[_0x1d205f(0x201)](_0x3f8780[_0x1d205f(0x2da)]['subscribe'](_0x20ac22=>_0xd8a2c3[_0x1d205f(0xda)](_0x20ac22))),_0x1bb87b['add'](_0x593ae3['toDisposable'](()=>_0xd8a2c3[_0x1d205f(0xb6)]()));const _0x2abd62=new _0x2ff251['Subject']();_0x1bb87b[_0x1d205f(0x201)](_0x3f8780[_0x1d205f(0x33f)][_0x1d205f(0xa2)](_0x2e6857=>_0x2abd62[_0x1d205f(0xda)](_0x2e6857))),_0x1bb87b[_0x1d205f(0x201)](_0x593ae3[_0x1d205f(0x334)](()=>_0x2abd62[_0x1d205f(0xb6)]()));const _0x464e4e=new _0x2ff251['Subject']();_0x1bb87b[_0x1d205f(0x201)](_0x3f8780[_0x1d205f(0x1b6)]['subscribe'](_0x54442a=>{var _0x5de442=_0x1d205f;const _0x4ef5a0=_0x2f49ae(_0x54442a);_0x464e4e[_0x5de442(0xda)](_0x4ef5a0);})),_0x1bb87b['add'](_0x593ae3[_0x1d205f(0x334)](()=>_0x464e4e['complete']()));let _0x158b19;const _0x2415df=()=>{var _0x1aa12=_0x1d205f;_0x2abd62[_0x1aa12(0xda)](new Event(_0x1aa12(0x246))),_0xd8a2c3['next'](new Event(_0x1aa12(0x246))),_0x158b19['close']();};return _0x158b19={'memberID':'','close$':_0xd8a2c3[_0x1d205f(0x203)](),'error$':_0x2abd62[_0x1d205f(0x203)](),'open$':_0x3f8780['open$'],'message$':_0x464e4e[_0x1d205f(0x203)](),'send':_0x268573=>{var _0xa138cd=_0x1d205f;if(_0x268573[_0xa138cd(0x29a)]===_0x1e67da[_0xa138cd(0x17c)]){if(_0x268573['data'][_0xa138cd(0x240)]===_0xdad847[_0xa138cd(0x343)][_0xa138cd(0x3b4)]){this[_0xa138cd(0x1a1)](_0x158b19,_0x268573[_0xa138cd(0xc3)])[_0xa138cd(0x250)](_0x346b81=>{var _0x13b94f=_0xa138cd;this[_0x13b94f(0x2a8)][_0x13b94f(0x2cd)](_0x346b81),_0x2415df();});return;}if(_0x268573[_0xa138cd(0xc3)][_0xa138cd(0x240)]===_0xdad847[_0xa138cd(0x343)][_0xa138cd(0x37e)]){const _0x19aca7=_0x268573['data'];this[_0xa138cd(0xc5)](_0x19aca7)[_0xa138cd(0x20d)](_0x4bcbb9=>{var _0x553e9c=_0xa138cd;_0x464e4e[_0x553e9c(0xda)]({'cmd':_0x1e67da[_0x553e9c(0x2ac)],'code':_0x201e78['OK'],'routeKey':_0x19aca7[_0x553e9c(0xc3)][_0x553e9c(0x359)],'routeType':'','data':{'eventID':_0xdad847['CollaborationEvent'][_0x553e9c(0x2c7)],'data':{'changesets':_0x4bcbb9}}});})['catch'](_0x3daa9f=>{var _0x3b054f=_0xa138cd;this[_0x3b054f(0x2a8)][_0x3b054f(0x2cd)](_0x3daa9f),_0x2415df();});return;}}_0x3f8780['send'](_0x3ce187(_0x268573));},'close':()=>{var _0x25429e=_0x1d205f;_0x3f8780[_0x25429e(0x288)](),_0x1bb87b[_0x25429e(0x25b)]();}},_0x158b19;}async['_submitChangeset'](_0x411a70,_0x11a327){var _0xc338ba=_0x509db9,_0x3dfe48;const {unitType:_0x32e02d,unitID:_0x3a8b47,changeset:_0x31fde2}=_0x11a327[_0xc338ba(0xc3)],_0x4f9361={'unitID':_0x3a8b47,'memberID':_0x411a70[_0xc338ba(0x3e2)],'type':_0x32e02d,'changeset':_0xdad847['parseChangesetToProtocol'](_0x31fde2)},_0x2e138d=this[_0xc338ba(0x15b)][_0xc338ba(0x1a7)](_0x9fbd4f),_0x5d13bd=_0x227cd1((_0x3dfe48=_0x2e138d==null?void 0x0:_0x2e138d[_0xc338ba(0x88)])!=null?_0x3dfe48:_0x411702,_0x32e02d,_0x3a8b47);try{await this[_0xc338ba(0x2b2)][_0xc338ba(0x3be)](_0x5d13bd,{'body':_0x4f9361});}catch(_0x3d566b){throw this[_0xc338ba(0x2a8)][_0xc338ba(0x2cd)](_0xc338ba(0x136),_0xc338ba(0x2e1)),_0x3d566b;}}async[_0x509db9(0xc5)](_0x1d0faa){var _0x4e289f=_0x509db9;const {unitID:_0x22f004,from:_0x367a3b,to:_0x2525b3,unitType:_0x296093}=_0x1d0faa['data'];return(await this[_0x4e289f(0x39b)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x22f004,'type':_0x296093,'from':_0x367a3b,'to':_0x2525b3}))[_0x4e289f(0x2de)][_0x4e289f(0xb1)](_0x4412b5=>((_0x4412b5['mutations']===null||_0x4412b5['mutations']===void 0x0)&&(_0x4412b5[_0x4e289f(0x135)]=[]),_0x4412b5));}},_0x313ef4[_0x509db9(0x214)]=_0x268a83([_0x15f785(0x0,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x15f785(0x1,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0x15f785(0x2,_0x593ae3[_0x509db9(0x1c0)]),_0x15f785(0x3,_0x593ae3[_0x509db9(0x1a8)]),_0x15f785(0x4,_0xdad847['ISnapshotServerService'])],_0x313ef4[_0x509db9(0x214)]);var _0x45e922=Object[_0x509db9(0x3d7)],_0x5b66c2=(_0x3d0d15,_0x198b05,_0x50bb18,_0x3dfb40)=>{var _0x79aac5=_0x509db9;for(var _0x317c7d=_0x3dfb40>0x1?void 0x0:_0x3dfb40?_0x45e922(_0x198b05,_0x50bb18):_0x198b05,_0x4574f6=_0x3d0d15[_0x79aac5(0x2e9)]-0x1,_0x4d0207;_0x4574f6>=0x0;_0x4574f6--)(_0x4d0207=_0x3d0d15[_0x4574f6])&&(_0x317c7d=_0x4d0207(_0x317c7d)||_0x317c7d);return _0x317c7d;},_0x779534=(_0x110404,_0x531888)=>(_0x44e7c8,_0x52ae9f)=>_0x531888(_0x44e7c8,_0x52ae9f,_0x110404);_0x313ef4['CollaborationSessionService']=class extends _0x593ae3[_0x509db9(0x410)]{constructor(_0xebcd24,_0x82c8a9,_0x3c1b36,_0xb28410,_0x54bf31,_0x3ea9c7){var _0x3abdd5=_0x509db9;super(),_0x309c0d(this,_0x3abdd5(0x2bf),new _0x2ff251[(_0x3abdd5(0xed))](void 0x0)),_0x309c0d(this,_0x3abdd5(0x2ba),this[_0x3abdd5(0x2bf)][_0x3abdd5(0x203)]()),_0x309c0d(this,'_candidateSocket',null),_0x309c0d(this,_0x3abdd5(0x1a5),new Map()),_0x309c0d(this,_0x3abdd5(0x1f8),new _0x2ff251['BehaviorSubject'](_0x4e4db9[_0x3abdd5(0x398)])),_0x309c0d(this,_0x3abdd5(0x266),this[_0x3abdd5(0x1f8)][_0x3abdd5(0x203)]()),_0x309c0d(this,'_socketReady',!0x1),_0x309c0d(this,'_retryConnectingTimer'),_0x309c0d(this,_0x3abdd5(0x408),0x0),_0x309c0d(this,_0x3abdd5(0x15d)),_0x309c0d(this,_0x3abdd5(0x17e)),(this[_0x3abdd5(0x397)]=_0xebcd24,this['_logService']=_0x82c8a9,this[_0x3abdd5(0x15b)]=_0x3c1b36,this[_0x3abdd5(0x1b5)]=_0xb28410,this[_0x3abdd5(0x20c)]=_0x54bf31,this[_0x3abdd5(0x28c)]=_0x3ea9c7,this[_0x3abdd5(0x25c)]());}get['_socket'](){var _0x3c333d=_0x509db9;return this[_0x3c333d(0x2bf)][_0x3c333d(0x13c)]();}['_listenToNetworkCondition'](){var _0x4fd72b=_0x509db9;this[_0x4fd72b(0x28c)]&&this[_0x4fd72b(0x34f)](this[_0x4fd72b(0x28c)][_0x4fd72b(0x1ea)][_0x4fd72b(0xa2)](_0x4a9f7f=>{var _0x4e086c=_0x4fd72b;_0x4a9f7f&&!this['_socket']&&this[_0x4e086c(0x28d)](),_0x4a9f7f||this[_0x4e086c(0x35d)]();}));}[_0x509db9(0x25b)](){var _0x514663=_0x509db9;super[_0x514663(0x25b)](),this[_0x514663(0x37d)](),this[_0x514663(0x422)](),this[_0x514663(0x3a2)](),this[_0x514663(0x1a5)][_0x514663(0x10a)](_0x362963=>_0x362963[_0x514663(0x25b)]()),this[_0x514663(0x1a5)][_0x514663(0x265)](),this['_status$'][_0x514663(0xb6)]();}async[_0x509db9(0x296)](_0x234a39){var _0x10e9bb=_0x509db9;if(this[_0x10e9bb(0x1a5)][_0x10e9bb(0x34c)](_0x234a39))return this[_0x10e9bb(0x1a5)]['get'](_0x234a39);this[_0x10e9bb(0xd2)]();const _0x2ad97c=this['_injector'][_0x10e9bb(0x252)](_0x313ef4[_0x10e9bb(0x87)],_0x234a39,this[_0x10e9bb(0x2bf)][_0x10e9bb(0x203)]());return this['_sessions']['set'](_0x234a39,_0x2ad97c),_0x2ad97c;}[_0x509db9(0x32f)](_0x100cf3){var _0x4888e3=_0x509db9,_0x2ff4b7;const _0x401a3e=this[_0x4888e3(0x1a5)][_0x4888e3(0xa5)](_0x100cf3);_0x401a3e&&(this['_sessions'][_0x4888e3(0x1b4)](_0x100cf3),_0x401a3e['close']()),this[_0x4888e3(0x1a5)][_0x4888e3(0x11c)]||(_0x2ff4b7=this[_0x4888e3(0x181)])==null||_0x2ff4b7[_0x4888e3(0x288)]();}['reconnect'](){var _0xa7b8c5=_0x509db9;this[_0xa7b8c5(0x408)]=0x0,this[_0xa7b8c5(0x37d)](),this[_0xa7b8c5(0x2a0)]();}[_0x509db9(0x37d)](){var _0x2c03f3=_0x509db9;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2c03f3(0x107)]),this[_0x2c03f3(0x107)]=null);}async['_createSocket'](){var _0x2bdd1f=_0x509db9,_0x136669;const _0x2612d3=this[_0x2bdd1f(0x15b)]['getConfig'](_0x9fbd4f),_0x2ba899=(_0x136669=_0x2612d3==null?void 0x0:_0x2612d3[_0x2bdd1f(0xd7)])!=null?_0x136669:_0x407f4f,_0x5334d0=await this['_socketService'][_0x2bdd1f(0x126)](_0x2ba899);return this[_0x2bdd1f(0x2ec)]=_0x5334d0,_0x5334d0;}async[_0x509db9(0xd2)](){var _0x47719d=_0x509db9,_0xf4edea,_0x1f7b50;try{const _0x139e4f=(_0x1f7b50=(_0xf4edea=this[_0x47719d(0x181)])!=null?_0xf4edea:this[_0x47719d(0x2ec)])!=null?_0x1f7b50:await this['_createSocket']();if(_0x139e4f){const _0x2e99d9=_0x139e4f[_0x47719d(0x426)];_0x139e4f[_0x47719d(0x426)]=_0x5c0f45=>(this[_0x47719d(0x24d)](),_0x2e99d9[_0x47719d(0x11d)](_0x139e4f,[_0x5c0f45])),_0x139e4f[_0x47719d(0x1b6)]['subscribe'](_0x416c4e=>this[_0x47719d(0x308)](_0x139e4f,_0x416c4e)),_0x139e4f['error$'][_0x47719d(0x8f)](_0x137fa6[_0x47719d(0x275)](0x1))[_0x47719d(0xa2)](_0x4f96fe=>this[_0x47719d(0x2a8)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4f96fe)),_0x139e4f[_0x47719d(0x8c)]['pipe'](_0x137fa6[_0x47719d(0x275)](0x1))['subscribe'](()=>{var _0x1d9bb0=_0x47719d;this[_0x1d9bb0(0x32c)](_0x139e4f);}),_0x139e4f['close$'][_0x47719d(0x8f)](_0x137fa6['take'](0x1))['subscribe'](_0x521ae6=>{var _0x549b3d=_0x47719d;this[_0x549b3d(0x2a8)][_0x549b3d(0x26b)]('[CollaborationSessionService]','socket\x20close',_0x521ae6),this['_onConnectionFailed']();});}}catch(_0x5c5a9b){this[_0x47719d(0x2a8)][_0x47719d(0x2cd)](_0x5c5a9b),this['_onConnectionFailed']();}}[_0x509db9(0x32c)](_0x57445e){var _0x344586=_0x509db9;this[_0x344586(0x2a8)]['debug'](_0x344586(0x2f1),_0x344586(0x3b3)),_0x57445e[_0x344586(0x426)]({'cmd':_0x1e67da['HELLO']}),this[_0x344586(0x24d)]();}[_0x509db9(0x35d)](){var _0x114801=_0x509db9;this[_0x114801(0x193)]=!0x1,this['_candidateSocket']=null,this[_0x114801(0x1f8)][_0x114801(0xda)](_0x4e4db9[_0x114801(0x2ab)]),this[_0x114801(0x2bf)][_0x114801(0xda)](null),this['_clearTimeoutTimer'](),this[_0x114801(0x3a2)]();}[_0x509db9(0x357)](){var _0xd41bd4=_0x509db9,_0x2967ae;this[_0xd41bd4(0x35d)](),this['_retryCount']<((_0x2967ae=this[_0xd41bd4(0x15b)]['getConfig'](_0x52e10c))!=null?_0x2967ae:0x3)?(this[_0xd41bd4(0x20c)][_0xd41bd4(0x1d9)]({'id':_0x7c51aa[_0xd41bd4(0x320)]}),this[_0xd41bd4(0x2a0)]()):this['_collaborationUIEventService'][_0xd41bd4(0x1d9)]({'id':_0x7c51aa[_0xd41bd4(0x280)]});}['_tryReconnect'](){var _0x66962e=_0x509db9,_0x3f5571;const _0x16cc26=this[_0x66962e(0x408)],_0x5a68ce=this['_configService'][_0x66962e(0x1a7)](_0x9fbd4f),_0x42eafb=_0x16cc26===0x0?0x0:((_0x3f5571=_0x5a68ce==null?void 0x0:_0x5a68ce['retryConnectingInterval'])!=null?_0x3f5571:0x4e20)*0x2**_0x16cc26;this[_0x66962e(0x107)]=setTimeout(()=>{var _0x2dce33=_0x66962e;clearTimeout(this[_0x2dce33(0x107)]),this['_retryConnectingTimer']=null,this[_0x2dce33(0xd2)]();},_0x42eafb),this[_0x66962e(0x408)]+=0x1;}[_0x509db9(0x308)](_0x2cbf79,_0x270dd9){var _0x6166a2=_0x509db9;const {cmd:_0x5ad580}=_0x270dd9;_0x5ad580===_0x1e67da[_0x6166a2(0x1ed)]&&!this['_socketReady']&&(_0x2cbf79[_0x6166a2(0x3e2)]=_0x270dd9[_0x6166a2(0xc3)][_0x6166a2(0x3e2)],this[_0x6166a2(0x2bf)][_0x6166a2(0xda)](_0x2cbf79),this['_status$'][_0x6166a2(0xda)](_0x4e4db9[_0x6166a2(0x224)]),this['_socketReady']=!0x0,this[_0x6166a2(0x2ec)]=null),_0x5ad580===_0x1e67da[_0x6166a2(0xa3)]&&this[_0x6166a2(0x422)](),this[_0x6166a2(0x24d)]();}[_0x509db9(0x24d)](){var _0x5aad87=_0x509db9,_0x44ec9b;this[_0x5aad87(0x3a2)](),this[_0x5aad87(0x15d)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x44ec9b=this[_0x5aad87(0x15b)][_0x5aad87(0x1a7)](_0x55547f))!=null?_0x44ec9b:0x7530);}[_0x509db9(0xa6)](){var _0x162336=_0x509db9;this[_0x162336(0x181)][_0x162336(0x426)]({'cmd':_0x1e67da[_0x162336(0xa3)]}),this[_0x162336(0xb7)]();}[_0x509db9(0xb7)](){var _0x99340b=_0x509db9,_0x40ffb0;this['_timeoutTimer']=setTimeout(()=>this[_0x99340b(0x357)](),(_0x40ffb0=this[_0x99340b(0x15b)][_0x99340b(0x1a7)](_0x30846d))!=null?_0x40ffb0:0x4e20);}[_0x509db9(0x3a2)](){var _0x547efd=_0x509db9;this[_0x547efd(0x15d)]!=null&&(clearTimeout(this[_0x547efd(0x15d)]),this[_0x547efd(0x15d)]=null);}[_0x509db9(0x422)](){var _0x950c8e=_0x509db9;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x950c8e(0x17e)]),this['_timeoutTimer']=null);}},_0x313ef4['CollaborationSessionService']=_0x5b66c2([_0x779534(0x0,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x779534(0x1,_0x593ae3[_0x509db9(0x1a8)]),_0x779534(0x2,_0x593ae3[_0x509db9(0x1c0)]),_0x779534(0x3,_0x37eaae),_0x779534(0x4,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x779534(0x5,_0x593ae3[_0x509db9(0x3d1)](_0xcfc4ab))],_0x313ef4[_0x509db9(0x376)]);var _0x16fbdb=Object['getOwnPropertyDescriptor'],_0x4cdde6=(_0x3ab13b,_0x32f936,_0x4a55f6,_0x37edaa)=>{var _0x34c323=_0x509db9;for(var _0x4f6525=_0x37edaa>0x1?void 0x0:_0x37edaa?_0x16fbdb(_0x32f936,_0x4a55f6):_0x32f936,_0x26e157=_0x3ab13b[_0x34c323(0x2e9)]-0x1,_0x1116a3;_0x26e157>=0x0;_0x26e157--)(_0x1116a3=_0x3ab13b[_0x26e157])&&(_0x4f6525=_0x1116a3(_0x4f6525)||_0x4f6525);return _0x4f6525;},_0x107346=(_0xd3138,_0x216b0c)=>(_0x1232c1,_0xfd9d41)=>_0x216b0c(_0x1232c1,_0xfd9d41,_0xd3138);_0x313ef4[_0x509db9(0x9c)]=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0x352c85,_0x1db45b,_0x459bb0,_0x558f8d){var _0x5c473a=_0x509db9,_0x5e39fa;super(),_0x309c0d(this,_0x5c473a(0x248),new Map()),_0x309c0d(this,_0x5c473a(0x274),new _0x2ff251[(_0x5c473a(0x23e))]()),_0x309c0d(this,_0x5c473a(0x2d4),this[_0x5c473a(0x274)][_0x5c473a(0x203)]()),(this[_0x5c473a(0x397)]=_0x352c85,this[_0x5c473a(0x29c)]=_0x1db45b,this[_0x5c473a(0x15b)]=_0x459bb0,this[_0x5c473a(0x281)]=_0x558f8d,((_0x5e39fa=this[_0x5c473a(0x15b)][_0x5c473a(0x1a7)](_0x9fbd4f))==null?void 0x0:_0x5e39fa[_0x5c473a(0x35b)])!==!0x1&&this['_init']());}[_0x509db9(0x25b)](){var _0x2a02f1=_0x509db9;super[_0x2a02f1(0x25b)](),this[_0x2a02f1(0x248)]['forEach'](_0xbffaf8=>_0xbffaf8['dispose']()),this['_entities'][_0x2a02f1(0x265)]();}[_0x509db9(0x18b)](_0x33397c){var _0x4ce829=_0x509db9,_0x17fc60;return(_0x17fc60=this['_entities'][_0x4ce829(0xa5)](_0x33397c))!=null?_0x17fc60:null;}[_0x509db9(0x2d7)](_0x33a5cb){var _0x7ed2ef=_0x509db9;const _0x52cf37=this[_0x7ed2ef(0x18b)](_0x33a5cb);return _0x52cf37?_0x2ff251['of'](_0x52cf37):this['_entityInit$'][_0x7ed2ef(0x8f)](_0x137fa6[_0x7ed2ef(0xbd)](_0x2dd335=>_0x2dd335[_0x7ed2ef(0x359)]===_0x33a5cb));}[_0x509db9(0x21c)](_0x5ccd04){var _0x42b1a1=_0x509db9;return _0x2ff251[_0x42b1a1(0x195)](this[_0x42b1a1(0x2d7)](_0x5ccd04)[_0x42b1a1(0x8f)](_0x137fa6[_0x42b1a1(0xb1)](()=>{})));}[_0x509db9(0x1ff)](){var _0xd5a626=_0x509db9;this[_0xd5a626(0x281)]['getTypeOfUnitAdded$'](_0x593ae3[_0xd5a626(0x119)][_0xd5a626(0x155)])['pipe'](_0x2ff251['takeUntil'](this[_0xd5a626(0x429)]),_0x137fa6[_0xd5a626(0x20e)](0x10))['subscribe'](async _0x44e9ba=>{var _0x5c7261=_0xd5a626;const _0x39f3f3=_0x44e9ba[_0x5c7261(0x382)](),_0x5deb00=await this[_0x5c7261(0x233)](_0x39f3f3,_0x5dd1fb[_0x5c7261(0x155)]);this[_0x5c7261(0x248)]['set'](_0x39f3f3,_0x5deb00);}),this[_0xd5a626(0x281)]['getTypeOfUnitAdded$'](_0x593ae3['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x2ff251['takeUntil'](this[_0xd5a626(0x429)]),_0x137fa6[_0xd5a626(0x20e)](0x10))[_0xd5a626(0x8f)](_0x137fa6[_0xd5a626(0xbd)](_0x3fea29=>!_0x3fea29[_0xd5a626(0x382)]()[_0xd5a626(0x3ce)]('__')))['subscribe'](async _0x56a5a2=>{var _0x2b5b19=_0xd5a626;const _0x1fb4ea=_0x56a5a2[_0x2b5b19(0x382)](),_0xacc933=await this[_0x2b5b19(0x233)](_0x1fb4ea,_0x5dd1fb[_0x2b5b19(0x3b0)]);this[_0x2b5b19(0x248)][_0x2b5b19(0xa8)](_0x1fb4ea,_0xacc933);}),_0x2ff251[_0xd5a626(0x1e6)](this[_0xd5a626(0x281)][_0xd5a626(0x313)](_0x593ae3[_0xd5a626(0x119)]['UNIVER_SHEET']),this[_0xd5a626(0x281)][_0xd5a626(0x313)](_0x593ae3[_0xd5a626(0x119)][_0xd5a626(0x3b0)]))[_0xd5a626(0x8f)](_0x2ff251[_0xd5a626(0x1b7)](this['dispose$']))[_0xd5a626(0xa2)](_0x499561=>{var _0x238410=_0xd5a626;const _0x39ffec=_0x499561[_0x238410(0x382)](),_0x208a47=this[_0x238410(0x248)][_0x238410(0xa5)](_0x39ffec);_0x208a47&&(_0x208a47[_0x238410(0x25b)](),this[_0x238410(0x248)]['delete'](_0x39ffec));});}async[_0x509db9(0x233)](_0x294940,_0x4bda7a){var _0x4ef45e=_0x509db9;const _0x3c9048=await this['_collabSessionService'][_0x4ef45e(0x296)](_0x294940),_0x1fdead=this[_0x4ef45e(0x397)]['createInstance'](this[_0x4ef45e(0x15a)](_0x4bda7a),_0x294940,_0x4bda7a,_0x3c9048);return await _0x1fdead['init'](),this[_0x4ef45e(0x274)][_0x4ef45e(0xda)](_0x1fdead),_0x1fdead;}[_0x509db9(0x15a)](_0x29835b){var _0x37b706=_0x509db9;switch(_0x29835b){case _0x5dd1fb[_0x37b706(0x3b0)]:return _0x313ef4[_0x37b706(0x271)];case _0x5dd1fb[_0x37b706(0x155)]:return _0x313ef4[_0x37b706(0x1b9)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x29835b);}}},_0x313ef4[_0x509db9(0x9c)]=_0x4cdde6([_0x107346(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x107346(0x1,_0x593ae3[_0x509db9(0x28b)](_0x313ef4[_0x509db9(0x376)])),_0x107346(0x2,_0x593ae3['IConfigService']),_0x107346(0x3,_0x593ae3[_0x509db9(0x1bc)])],_0x313ef4[_0x509db9(0x9c)]);var _0x175b4a=Object['getOwnPropertyDescriptor'],_0x1b87f0=(_0x1f2f44,_0x3e5622,_0x26dbac,_0x46c4f4)=>{var _0x2deae8=_0x509db9;for(var _0x35fe8c=_0x46c4f4>0x1?void 0x0:_0x46c4f4?_0x175b4a(_0x3e5622,_0x26dbac):_0x3e5622,_0x2947a0=_0x1f2f44[_0x2deae8(0x2e9)]-0x1,_0x9b7781;_0x2947a0>=0x0;_0x2947a0--)(_0x9b7781=_0x1f2f44[_0x2947a0])&&(_0x35fe8c=_0x9b7781(_0x35fe8c)||_0x35fe8c);return _0x35fe8c;},_0x30a3ca=(_0x3b77a8,_0x1adbb4)=>(_0x1d2125,_0x405c64)=>_0x1adbb4(_0x1d2125,_0x405c64,_0x3b77a8);const _0x35de78=_0x509db9(0x35a),_0x592181=_0x509db9(0x413);let _0x261b6f=class extends _0x593ae3[_0x509db9(0x410)]{constructor(_0x19df21,_0x2dc237){var _0x2bf57b=_0x509db9;super(),this['_univerInstanceService']=_0x19df21,this[_0x2bf57b(0x15b)]=_0x2dc237,this[_0x2bf57b(0x1ff)]();}[_0x509db9(0x1ff)](){var _0xd86084=_0x509db9;this[_0xd86084(0x34f)](this[_0xd86084(0x281)][_0xd86084(0x190)][_0xd86084(0xa2)](()=>{var _0x47554d=_0xd86084,_0x8d26a1;const _0x5cc017=this[_0x47554d(0x281)][_0x47554d(0x18e)]();let _0x109459=(_0x8d26a1=this[_0x47554d(0x15b)]['getConfig'](_0x35de78))!=null?_0x8d26a1:_0x592181;_0x5cc017 instanceof _0x593ae3[_0x47554d(0x3f5)]&&(_0x109459=_0x5cc017[_0x47554d(0x371)]),document[_0x47554d(0x3cf)]=_0x109459;}));}};_0x261b6f=_0x1b87f0([_0x30a3ca(0x0,_0x593ae3[_0x509db9(0x1bc)]),_0x30a3ca(0x1,_0x593ae3[_0x509db9(0x1c0)])],_0x261b6f);var _0x361db3=Object['getOwnPropertyDescriptor'],_0x4da54c=(_0x1b1933,_0x465c24,_0x229bac,_0x5baddb)=>{var _0x1dc247=_0x509db9;for(var _0x4e3855=_0x5baddb>0x1?void 0x0:_0x5baddb?_0x361db3(_0x465c24,_0x229bac):_0x465c24,_0x463c30=_0x1b1933[_0x1dc247(0x2e9)]-0x1,_0x371396;_0x463c30>=0x0;_0x463c30--)(_0x371396=_0x1b1933[_0x463c30])&&(_0x4e3855=_0x371396(_0x4e3855)||_0x4e3855);return _0x4e3855;},_0x182883=(_0x46f3fb,_0x55cee8)=>(_0x2e73df,_0x5b7aa)=>_0x55cee8(_0x2e73df,_0x5b7aa,_0x46f3fb);let _0x3fee28=class{constructor(_0x893e32,_0x1dd81d,_0x9ad5bc){var _0x299f27=_0x509db9;this[_0x299f27(0x15b)]=_0x893e32,this[_0x299f27(0x2b2)]=_0x1dd81d,this['localeService']=_0x9ad5bc,this['init']();}[_0x509db9(0x2f7)](){var _0x472027=_0x509db9;this[_0x472027(0x2b2)][_0x472027(0x337)]({'priority':0x1,'interceptor':(_0x41d205,_0x191b07)=>_0x191b07(_0x41d205)[_0x472027(0x8f)](_0x2ff251[_0x472027(0x129)](async _0x585dd0=>{var _0x3ed99d=_0x472027;const _0x456643=_0x585dd0;if(_0x456643[_0x3ed99d(0x11e)]===0x191){if(typeof window>'u')throw new Error(_0x3ed99d(0x31c));if(window[_0x3ed99d(0x2ff)](this['localeService']['t'](_0x3ed99d(0x11f)))){const _0x387491=window[_0x3ed99d(0x31b)](window[_0x3ed99d(0x29e)]['href']);window[_0x3ed99d(0x29e)][_0x3ed99d(0x239)]=this[_0x3ed99d(0x291)]()+_0x3ed99d(0xf9)+_0x387491;}}return _0x456643;}))});}[_0x509db9(0x291)](){var _0x267b6d=_0x509db9,_0x57dd99;const _0xd59c5b=this[_0x267b6d(0x15b)]['getConfig'](_0x9fbd4f);return(_0x57dd99=_0xd59c5b==null?void 0x0:_0xd59c5b['loginUrlKey'])!=null?_0x57dd99:_0x1f9169;}};_0x3fee28=_0x4da54c([_0x182883(0x0,_0x593ae3[_0x509db9(0x1c0)]),_0x182883(0x1,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0x182883(0x2,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x97)]))],_0x3fee28);var _0x33aa76=Object['getOwnPropertyDescriptor'],_0x33d125=(_0xd7416f,_0x5f17d1,_0x26109f,_0x3e2144)=>{for(var _0x9b4c0a=_0x3e2144>0x1?void 0x0:_0x3e2144?_0x33aa76(_0x5f17d1,_0x26109f):_0x5f17d1,_0x4425d8=_0xd7416f['length']-0x1,_0x4ea90c;_0x4425d8>=0x0;_0x4425d8--)(_0x4ea90c=_0xd7416f[_0x4425d8])&&(_0x9b4c0a=_0x4ea90c(_0x9b4c0a)||_0x9b4c0a);return _0x9b4c0a;},_0x44485a=(_0x2ac48b,_0x1efbbf)=>(_0x475699,_0x22c59c)=>_0x1efbbf(_0x475699,_0x22c59c,_0x2ac48b);const _0x28bb2d=_0x509db9(0x3a5);_0x313ef4[_0x509db9(0x125)]=class extends _0x593ae3['Disposable']{constructor(_0x4b62d8,_0x4e97a6){var _0x437b8a=_0x509db9;super(),this[_0x437b8a(0x363)]=_0x4b62d8,this[_0x437b8a(0x15b)]=_0x4e97a6,this[_0x437b8a(0x198)]();}[_0x509db9(0x198)](){var _0x3ab44d=_0x509db9;const _0xe72796=this;this[_0x3ab44d(0x34f)](this[_0x3ab44d(0x363)][_0x3ab44d(0x337)]({'priority':0x3e7,'interceptor':_0x38c133[_0x3ab44d(0x186)]({'isMatch'(_0x181f74){var _0x1fa226=_0x3ab44d,_0x1e5608;if(_0x181f74[_0x1fa226(0x17d)]===_0x1fa226(0x154)&&((_0x1e5608=_0x181f74[_0x1fa226(0x1fb)])!=null&&_0x1e5608[_0x1fa226(0x3dc)])){const {objectID:_0x2d0af1,objectType:_0x2accbb}=_0x181f74['requestParams']['body']||{};if(!_0x2d0af1||_0x2accbb===void 0x0)return!0x1;const _0x4cddc6=_0xe72796[_0x1fa226(0x16d)]()+'/'+_0x2accbb+_0x1fa226(0x365)+_0x2d0af1+_0x1fa226(0x253);if(_0x181f74[_0x1fa226(0x424)]===_0x4cddc6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3b1449){var _0x18bfa6=_0x3ab44d,_0x413262;return(_0x413262=_0x3b1449['requestParams'])==null?void 0x0:_0x413262[_0x18bfa6(0x3dc)];},'mergeParamsToRequest'(_0x3ae873,_0x1448ed){var _0x2e24fe=_0x3ab44d;const _0x2813ac=_0xe72796[_0x2e24fe(0x16d)]()+'/-/object/-/batch_allowed',_0x138990=_0x3ae873[_0x2e24fe(0xae)]((_0x1a4424,_0x19f23e)=>{var _0x365d06=_0x2e24fe;const {unitID:_0xb935b6,objectID:_0x7c1b1f,objectType:_0x52ed71,actions:_0x2028c1}=_0x19f23e;return _0x1a4424[_0xb935b6]||(_0x1a4424[_0xb935b6]={}),_0x1a4424[_0xb935b6][_0x7c1b1f]||(_0x1a4424[_0xb935b6][_0x7c1b1f]={'objectID':_0x7c1b1f,'objectType':_0x52ed71,'actions':[]}),_0x1a4424[_0xb935b6][_0x7c1b1f][_0x365d06(0x3b7)][_0x365d06(0x273)](..._0x2028c1),_0x1a4424;},{}),_0x51b5d8=[];for(const _0x2ff5a3 in _0x138990)for(const _0x44b80a in _0x138990[_0x2ff5a3]){const {actions:_0x34e7a6,objectType:_0x3ada5b}=_0x138990[_0x2ff5a3][_0x44b80a],_0x3f515a=[...new Set(_0x34e7a6)];_0x51b5d8[_0x2e24fe(0x273)]({'unitID':_0x2ff5a3,'objectID':_0x44b80a,'objectType':_0x3ada5b,'actions':_0x3f515a});}return new _0x38c133['HTTPRequest'](_0x2e24fe(0x154),_0x2813ac,{'headers':_0x1448ed[_0x2e24fe(0x375)],'withCredentials':_0x1448ed[_0x2e24fe(0x3e8)],'responseType':_0x1448ed[_0x2e24fe(0x2a4)],'body':{'requests':_0x51b5d8}});}},{'distributeResult'(_0x3badfd,_0x3db19f){const {objectActions:_0x59ebbe}=_0x3badfd;return _0x3db19f['map'](_0x138fe4=>{var _0x30b5ce=_0x572e;const {unitID:_0x5c6831,objectID:_0x239071,actions:_0x2adad9}=_0x138fe4,_0x41ad3f=_0x59ebbe[_0x30b5ce(0x35e)](_0x1fd3ac=>_0x1fd3ac[_0x30b5ce(0x359)]===_0x5c6831&&_0x1fd3ac[_0x30b5ce(0x187)]===_0x239071),_0x244972=_0x2adad9[_0x30b5ce(0xb1)](_0x45bbc9=>_0x41ad3f==null?void 0x0:_0x41ad3f['actions'][_0x30b5ce(0x35e)](_0x4ec32a=>_0x4ec32a[_0x30b5ce(0x89)]===_0x45bbc9))[_0x30b5ce(0xbd)](_0x5cbdc8=>!!_0x5cbdc8);return{'config':_0x138fe4,'result':{'actions':_0x244972,'error':_0x3badfd[_0x30b5ce(0x2cd)]}};});}})}));}[_0x509db9(0x16d)](){var _0x67cbc7=_0x509db9,_0x4809c5;const _0x235bf8=this[_0x67cbc7(0x15b)][_0x67cbc7(0x1a7)](_0x9fbd4f);return(_0x4809c5=_0x235bf8==null?void 0x0:_0x235bf8[_0x67cbc7(0x38d)])!=null?_0x4809c5:_0x28bb2d;}async[_0x509db9(0x21d)](_0x4fe7b2){var _0x33b374=_0x509db9;const _0x1b33f2=this['_getAPIPrefixPath']()+'/'+_0x4fe7b2[_0x33b374(0x12b)]+_0x33b374(0x92);return(await this[_0x33b374(0x363)][_0x33b374(0x3be)](_0x1b33f2,{'body':_0x4fe7b2}))['body'][_0x33b374(0x187)]||'';}async[_0x509db9(0x387)](_0x515401){var _0x48a374=_0x509db9;const _0x3a1317=this[_0x48a374(0x16d)]()+_0x48a374(0x361);return(await this[_0x48a374(0x363)][_0x48a374(0x3be)](_0x3a1317,{'body':_0x515401}))['body']['objects'];}async[_0x509db9(0x241)](_0x3850a9){var _0x5cafaf=_0x509db9,_0x543f38,_0x2342e7;const _0x124638=this['_getAPIPrefixPath']()+'/'+_0x3850a9[_0x5cafaf(0x12b)]+'/object/'+_0x3850a9[_0x5cafaf(0x187)],_0x39aa9b=await this[_0x5cafaf(0x363)]['put'](_0x124638,{'body':_0x3850a9});if(((_0x2342e7=(_0x543f38=_0x39aa9b==null?void 0x0:_0x39aa9b[_0x5cafaf(0x3dc)])==null?void 0x0:_0x543f38[_0x5cafaf(0x2cd)])==null?void 0x0:_0x2342e7['code'])!==0x1)throw new Error(_0x5cafaf(0xfe));}async[_0x509db9(0x41a)](_0x239619){var _0x575990=_0x509db9;const _0x1512e7=this[_0x575990(0x16d)]()+'/'+_0x239619[_0x575990(0x12b)]+_0x575990(0x365)+_0x239619['objectID']+'/allowed';return(await this[_0x575990(0x363)][_0x575990(0x3be)](_0x1512e7,{'body':_0x239619}))['body'][_0x575990(0x3b7)];}async[_0x509db9(0x1c8)](_0x3c6071){var _0xa64415=_0x509db9;const _0x527512=this['_getAPIPrefixPath']()+_0xa64415(0x40f);return(await this['_HTTPService'][_0xa64415(0x3be)](_0x527512,{'body':{'requests':_0x3c6071}}))['body'][_0xa64415(0x189)];}async[_0x509db9(0x2eb)](_0x24f1ad){var _0x382593=_0x509db9;const _0x293fb4=this[_0x382593(0x16d)]()+'/'+_0x24f1ad[_0x382593(0x12b)]+_0x382593(0x261),_0x36447c=await this['_HTTPService'][_0x382593(0x3be)](_0x293fb4,{'body':_0x24f1ad});return{'roles':_0x36447c[_0x382593(0x3dc)][_0x382593(0x379)],'actions':_0x36447c[_0x382593(0x3dc)][_0x382593(0x3b7)]};}async[_0x509db9(0x383)](_0x59cd53){var _0x1607c6=_0x509db9;const _0x4454aa=this[_0x1607c6(0x16d)]()+'/collaborator';await this['_HTTPService'][_0x1607c6(0x1b4)](_0x4454aa,{'params':{'collaboratorID':_0x59cd53['collaboratorID'],'objectID':_0x59cd53[_0x1607c6(0x187)],'unitID':_0x59cd53[_0x1607c6(0x359)]}});}async[_0x509db9(0x38e)](_0x3bef83){var _0x263e06=_0x509db9;const _0x6de3b4=this[_0x263e06(0x16d)]()+_0x263e06(0x373);await this[_0x263e06(0x363)][_0x263e06(0xd8)](_0x6de3b4,{'body':_0x3bef83});}async[_0x509db9(0x2e4)](_0x48943c){var _0x410717=_0x509db9;const _0x23cb5a=this[_0x410717(0x16d)]()+_0x410717(0x373);await this[_0x410717(0x363)]['post'](_0x23cb5a,{'body':_0x48943c});}async[_0x509db9(0x286)](_0xb6c311){var _0x3da446=_0x509db9;const _0x3a5f8a=this[_0x3da446(0x16d)]()+_0x3da446(0x373);return(await this[_0x3da446(0x363)][_0x3da446(0xa5)](_0x3a5f8a,{'params':{'objectID':_0xb6c311[_0x3da446(0x187)],'unitID':_0xb6c311[_0x3da446(0x359)]}}))['body']['collaborators'];}async[_0x509db9(0x3fd)](_0x13a986){var _0x1d81ea=_0x509db9;const _0x3a39ee=this[_0x1d81ea(0x16d)]()+'/collaborator';await this[_0x1d81ea(0x363)][_0x1d81ea(0x299)](_0x3a39ee,{'body':_0x13a986});}},_0x313ef4[_0x509db9(0x125)]=_0x33d125([_0x44485a(0x0,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0x44485a(0x1,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x1c0)]))],_0x313ef4['AuthzIoHttpService']);var _0xc33fc4=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x58088d(_0x46a34b){var _0x4d9cd5=_0x509db9;return _0x46a34b&&_0x46a34b[_0x4d9cd5(0x14d)]&&Object[_0x4d9cd5(0x102)][_0x4d9cd5(0x3c1)]['call'](_0x46a34b,_0x4d9cd5(0x406))?_0x46a34b['default']:_0x46a34b;}var _0xe2b2c7={'exports':{}};function _0x350654(_0x22ad50){var _0x4a65bd=_0x509db9;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x22ad50+_0x4a65bd(0x403));}var _0xed66f9={'exports':{}},_0x16c0be=_0xed66f9[_0x509db9(0x3f3)],_0x2af21c;function _0x2303bf(){var _0x4de2c7=_0x509db9;return _0x2af21c||(_0x2af21c=0x1,function(_0x301115,_0x1fc6be){(function(_0x222104,_0x41d4b1){var _0x234c26=_0x572e;_0x301115[_0x234c26(0x3f3)]=_0x41d4b1();}(_0x16c0be,function(){var _0x458678=_0x458678||function(_0x2ca9c3,_0x5463d5){var _0xf69afb=_0x572e,_0x10120c;if(typeof window<'u'&&window[_0xf69afb(0x19c)]&&(_0x10120c=window[_0xf69afb(0x19c)]),typeof self<'u'&&self[_0xf69afb(0x19c)]&&(_0x10120c=self[_0xf69afb(0x19c)]),typeof globalThis<'u'&&globalThis[_0xf69afb(0x19c)]&&(_0x10120c=globalThis[_0xf69afb(0x19c)]),!_0x10120c&&typeof window<'u'&&window[_0xf69afb(0x27f)]&&(_0x10120c=window[_0xf69afb(0x27f)]),!_0x10120c&&typeof _0xc33fc4<'u'&&_0xc33fc4[_0xf69afb(0x19c)]&&(_0x10120c=_0xc33fc4[_0xf69afb(0x19c)]),!_0x10120c&&typeof _0x350654=='function')try{_0x10120c=require('crypto');}catch{}var _0x3d9eaa=function(){var _0x5c1699=_0xf69afb;if(_0x10120c){if(typeof _0x10120c[_0x5c1699(0x342)]==_0x5c1699(0x409))try{return _0x10120c[_0x5c1699(0x342)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x10120c[_0x5c1699(0x304)]==_0x5c1699(0x409))try{return _0x10120c[_0x5c1699(0x304)](0x4)[_0x5c1699(0x2af)]();}catch{}}throw new Error(_0x5c1699(0x3eb));},_0x4778be=Object[_0xf69afb(0x21d)]||(function(){function _0x323907(){}return function(_0x52cdc7){var _0x1db5a8=_0x572e,_0x33627d;return _0x323907[_0x1db5a8(0x102)]=_0x52cdc7,_0x33627d=new _0x323907(),_0x323907['prototype']=null,_0x33627d;};}()),_0x2a4a1b={},_0x525670=_0x2a4a1b[_0xf69afb(0x1cb)]={},_0x32acda=_0x525670[_0xf69afb(0x270)]=(function(){return{'extend':function(_0x3bdba0){var _0x476bea=_0x572e,_0x4c6460=_0x4778be(this);return _0x3bdba0&&_0x4c6460[_0x476bea(0x340)](_0x3bdba0),(!_0x4c6460[_0x476bea(0x3c1)](_0x476bea(0x2f7))||this['init']===_0x4c6460[_0x476bea(0x2f7)])&&(_0x4c6460[_0x476bea(0x2f7)]=function(){var _0x542dfc=_0x476bea;_0x4c6460[_0x542dfc(0xb3)][_0x542dfc(0x2f7)][_0x542dfc(0x11d)](this,arguments);}),_0x4c6460[_0x476bea(0x2f7)][_0x476bea(0x102)]=_0x4c6460,_0x4c6460[_0x476bea(0xb3)]=this,_0x4c6460;},'create':function(){var _0xb9fcd7=_0x572e,_0x3f74c0=this[_0xb9fcd7(0x36b)]();return _0x3f74c0[_0xb9fcd7(0x2f7)][_0xb9fcd7(0x11d)](_0x3f74c0,arguments),_0x3f74c0;},'init':function(){},'mixIn':function(_0x26a52b){var _0x1acea2=_0x572e;for(var _0x4e8160 in _0x26a52b)_0x26a52b[_0x1acea2(0x3c1)](_0x4e8160)&&(this[_0x4e8160]=_0x26a52b[_0x4e8160]);_0x26a52b[_0x1acea2(0x3c1)]('toString')&&(this[_0x1acea2(0x1fe)]=_0x26a52b[_0x1acea2(0x1fe)]);},'clone':function(){var _0x478d7f=_0x572e;return this['init'][_0x478d7f(0x102)]['extend'](this);}};}()),_0x5bf0bb=_0x525670[_0xf69afb(0x213)]=_0x32acda['extend']({'init':function(_0x2c2b6e,_0x5e71a4){var _0x4a654b=_0xf69afb;_0x2c2b6e=this[_0x4a654b(0x2ce)]=_0x2c2b6e||[],_0x5e71a4!=_0x5463d5?this[_0x4a654b(0x1a4)]=_0x5e71a4:this[_0x4a654b(0x1a4)]=_0x2c2b6e[_0x4a654b(0x2e9)]*0x4;},'toString':function(_0x446446){return(_0x446446||_0x3d22da)['stringify'](this);},'concat':function(_0xa65748){var _0x16fd58=_0xf69afb,_0x3fd695=this['words'],_0x5920b1=_0xa65748['words'],_0x2834f4=this['sigBytes'],_0x58aedb=_0xa65748[_0x16fd58(0x1a4)];if(this['clamp'](),_0x2834f4%0x4)for(var _0x3ace4e=0x0;_0x3ace4e<_0x58aedb;_0x3ace4e++){var _0x3c2c7a=_0x5920b1[_0x3ace4e>>>0x2]>>>0x18-_0x3ace4e%0x4*0x8&0xff;_0x3fd695[_0x2834f4+_0x3ace4e>>>0x2]|=_0x3c2c7a<<0x18-(_0x2834f4+_0x3ace4e)%0x4*0x8;}else{for(var _0x5d1295=0x0;_0x5d1295<_0x58aedb;_0x5d1295+=0x4)_0x3fd695[_0x2834f4+_0x5d1295>>>0x2]=_0x5920b1[_0x5d1295>>>0x2];}return this[_0x16fd58(0x1a4)]+=_0x58aedb,this;},'clamp':function(){var _0x565b6e=_0xf69afb,_0x4f3dc2=this[_0x565b6e(0x2ce)],_0x4e6ab9=this[_0x565b6e(0x1a4)];_0x4f3dc2[_0x4e6ab9>>>0x2]&=0xffffffff<<0x20-_0x4e6ab9%0x4*0x8,_0x4f3dc2['length']=_0x2ca9c3[_0x565b6e(0x3ad)](_0x4e6ab9/0x4);},'clone':function(){var _0x4e7daa=_0xf69afb,_0x91fa8=_0x32acda[_0x4e7daa(0xfc)][_0x4e7daa(0xc8)](this);return _0x91fa8[_0x4e7daa(0x2ce)]=this[_0x4e7daa(0x2ce)][_0x4e7daa(0x175)](0x0),_0x91fa8;},'random':function(_0x49aa77){var _0x220227=_0xf69afb;for(var _0x391ff0=[],_0x5b815c=0x0;_0x5b815c<_0x49aa77;_0x5b815c+=0x4)_0x391ff0[_0x220227(0x273)](_0x3d9eaa());return new _0x5bf0bb[(_0x220227(0x2f7))](_0x391ff0,_0x49aa77);}}),_0x58b236=_0x2a4a1b[_0xf69afb(0x93)]={},_0x3d22da=_0x58b236['Hex']={'stringify':function(_0x2d896d){var _0x3f7a30=_0xf69afb;for(var _0x10735a=_0x2d896d[_0x3f7a30(0x2ce)],_0x2bcabe=_0x2d896d[_0x3f7a30(0x1a4)],_0x575dc9=[],_0x300a10=0x0;_0x300a10<_0x2bcabe;_0x300a10++){var _0x267279=_0x10735a[_0x300a10>>>0x2]>>>0x18-_0x300a10%0x4*0x8&0xff;_0x575dc9[_0x3f7a30(0x273)]((_0x267279>>>0x4)[_0x3f7a30(0x1fe)](0x10)),_0x575dc9[_0x3f7a30(0x273)]((_0x267279&0xf)[_0x3f7a30(0x1fe)](0x10));}return _0x575dc9[_0x3f7a30(0x172)]('');},'parse':function(_0x52f86f){var _0x4429c8=_0xf69afb;for(var _0x5bd523=_0x52f86f['length'],_0xa245d5=[],_0x248489=0x0;_0x248489<_0x5bd523;_0x248489+=0x2)_0xa245d5[_0x248489>>>0x3]|=parseInt(_0x52f86f['substr'](_0x248489,0x2),0x10)<<0x18-_0x248489%0x8*0x4;return new _0x5bf0bb[(_0x4429c8(0x2f7))](_0xa245d5,_0x5bd523/0x2);}},_0x475a5e=_0x58b236['Latin1']={'stringify':function(_0x1d22d8){var _0x80ad71=_0xf69afb;for(var _0x4e7970=_0x1d22d8['words'],_0x342115=_0x1d22d8[_0x80ad71(0x1a4)],_0x20148f=[],_0x1f3636=0x0;_0x1f3636<_0x342115;_0x1f3636++){var _0x11b76b=_0x4e7970[_0x1f3636>>>0x2]>>>0x18-_0x1f3636%0x4*0x8&0xff;_0x20148f[_0x80ad71(0x273)](String['fromCharCode'](_0x11b76b));}return _0x20148f[_0x80ad71(0x172)]('');},'parse':function(_0x97e08f){var _0x3bc9d6=_0xf69afb;for(var _0x2d307c=_0x97e08f['length'],_0x169b11=[],_0xa6767c=0x0;_0xa6767c<_0x2d307c;_0xa6767c++)_0x169b11[_0xa6767c>>>0x2]|=(_0x97e08f[_0x3bc9d6(0x350)](_0xa6767c)&0xff)<<0x18-_0xa6767c%0x4*0x8;return new _0x5bf0bb[(_0x3bc9d6(0x2f7))](_0x169b11,_0x2d307c);}},_0x4efe4e=_0x58b236['Utf8']={'stringify':function(_0x3cb045){var _0x198d2b=_0xf69afb;try{return decodeURIComponent(escape(_0x475a5e[_0x198d2b(0xa1)](_0x3cb045)));}catch{throw new Error(_0x198d2b(0x391));}},'parse':function(_0x21ca2f){var _0x1bedc7=_0xf69afb;return _0x475a5e[_0x1bedc7(0x3d2)](unescape(encodeURIComponent(_0x21ca2f)));}},_0x542b1a=_0x525670[_0xf69afb(0x38f)]=_0x32acda[_0xf69afb(0x36b)]({'reset':function(){var _0x3682dd=_0xf69afb;this[_0x3682dd(0x17b)]=new _0x5bf0bb['init'](),this[_0x3682dd(0x229)]=0x0;},'_append':function(_0x1334f4){var _0x44202d=_0xf69afb;typeof _0x1334f4==_0x44202d(0x209)&&(_0x1334f4=_0x4efe4e[_0x44202d(0x3d2)](_0x1334f4)),this[_0x44202d(0x17b)][_0x44202d(0x27b)](_0x1334f4),this[_0x44202d(0x229)]+=_0x1334f4[_0x44202d(0x1a4)];},'_process':function(_0x27b51d){var _0x2c0a94=_0xf69afb,_0x564865,_0x4017fe=this['_data'],_0x2da8d2=_0x4017fe[_0x2c0a94(0x2ce)],_0x47b4ad=_0x4017fe[_0x2c0a94(0x1a4)],_0x4375d0=this[_0x2c0a94(0x1bd)],_0x305ff7=_0x4375d0*0x4,_0x302627=_0x47b4ad/_0x305ff7;_0x27b51d?_0x302627=_0x2ca9c3[_0x2c0a94(0x3ad)](_0x302627):_0x302627=_0x2ca9c3['max']((_0x302627|0x0)-this[_0x2c0a94(0x2a2)],0x0);var _0x40541f=_0x302627*_0x4375d0,_0x477019=_0x2ca9c3[_0x2c0a94(0x367)](_0x40541f*0x4,_0x47b4ad);if(_0x40541f){for(var _0x401ed0=0x0;_0x401ed0<_0x40541f;_0x401ed0+=_0x4375d0)this[_0x2c0a94(0xa9)](_0x2da8d2,_0x401ed0);_0x564865=_0x2da8d2[_0x2c0a94(0x3cc)](0x0,_0x40541f),_0x4017fe[_0x2c0a94(0x1a4)]-=_0x477019;}return new _0x5bf0bb[(_0x2c0a94(0x2f7))](_0x564865,_0x477019);},'clone':function(){var _0x52aca5=_0xf69afb,_0x3210d7=_0x32acda[_0x52aca5(0xfc)]['call'](this);return _0x3210d7[_0x52aca5(0x17b)]=this['_data'][_0x52aca5(0xfc)](),_0x3210d7;},'_minBufferSize':0x0});_0x525670['Hasher']=_0x542b1a[_0xf69afb(0x36b)]({'cfg':_0x32acda[_0xf69afb(0x36b)](),'init':function(_0xd7f0ff){var _0x24c1c4=_0xf69afb;this[_0x24c1c4(0x21f)]=this['cfg'][_0x24c1c4(0x36b)](_0xd7f0ff),this['reset']();},'reset':function(){var _0x52621a=_0xf69afb;_0x542b1a[_0x52621a(0x242)]['call'](this),this['_doReset']();},'update':function(_0x505efd){var _0x50fb6b=_0xf69afb;return this[_0x50fb6b(0x145)](_0x505efd),this[_0x50fb6b(0xbb)](),this;},'finalize':function(_0x228450){var _0x414f7d=_0xf69afb;_0x228450&&this[_0x414f7d(0x145)](_0x228450);var _0x1a3832=this[_0x414f7d(0x95)]();return _0x1a3832;},'blockSize':0x10,'_createHelper':function(_0x288e4a){return function(_0x2acc65,_0x52f1c5){var _0x141241=_0x572e;return new _0x288e4a['init'](_0x52f1c5)[_0x141241(0x38a)](_0x2acc65);};},'_createHmacHelper':function(_0x4de0f0){return function(_0x116933,_0x3dbbbb){var _0x25b316=_0x572e;return new _0x5e1faf[(_0x25b316(0x104))][(_0x25b316(0x2f7))](_0x4de0f0,_0x3dbbbb)[_0x25b316(0x38a)](_0x116933);};}});var _0x5e1faf=_0x2a4a1b['algo']={};return _0x2a4a1b;}(Math);return _0x458678;}));}(_0xed66f9)),_0xed66f9[_0x4de2c7(0x3f3)];}var _0x55d7e6={'exports':{}},_0x2b8bc1=_0x55d7e6[_0x509db9(0x3f3)],_0x5d4c10;function _0x8a71d1(){var _0x2f055e=_0x509db9;return _0x5d4c10||(_0x5d4c10=0x1,function(_0x28fea0,_0x2b5d29){(function(_0x555703,_0x5d93bf){var _0x3139c4=_0x572e;_0x28fea0[_0x3139c4(0x3f3)]=_0x5d93bf(_0x2303bf());}(_0x2b8bc1,function(_0x4d7701){var _0x224bc6=_0x572e;return(function(){var _0x1c0cd2=_0x572e,_0x4be0a4=_0x4d7701,_0x52a707=_0x4be0a4[_0x1c0cd2(0x1cb)],_0x2b1ba5=_0x52a707[_0x1c0cd2(0x213)],_0x144dbd=_0x4be0a4[_0x1c0cd2(0x93)];_0x144dbd[_0x1c0cd2(0xbe)]={'stringify':function(_0x4afa94){var _0x222fc3=_0x1c0cd2,_0x45f1a6=_0x4afa94[_0x222fc3(0x2ce)],_0x18885a=_0x4afa94[_0x222fc3(0x1a4)],_0x4b9eee=this[_0x222fc3(0x8a)];_0x4afa94[_0x222fc3(0xdc)]();for(var _0x5bd0a5=[],_0x5d10b8=0x0;_0x5d10b8<_0x18885a;_0x5d10b8+=0x3)for(var _0x2a9620=_0x45f1a6[_0x5d10b8>>>0x2]>>>0x18-_0x5d10b8%0x4*0x8&0xff,_0x11e722=_0x45f1a6[_0x5d10b8+0x1>>>0x2]>>>0x18-(_0x5d10b8+0x1)%0x4*0x8&0xff,_0x181131=_0x45f1a6[_0x5d10b8+0x2>>>0x2]>>>0x18-(_0x5d10b8+0x2)%0x4*0x8&0xff,_0x404730=_0x2a9620<<0x10|_0x11e722<<0x8|_0x181131,_0x29a795=0x0;_0x29a795<0x4&&_0x5d10b8+_0x29a795*0.75<_0x18885a;_0x29a795++)_0x5bd0a5[_0x222fc3(0x273)](_0x4b9eee[_0x222fc3(0x389)](_0x404730>>>0x6*(0x3-_0x29a795)&0x3f));var _0x2bb24a=_0x4b9eee['charAt'](0x40);if(_0x2bb24a){for(;_0x5bd0a5[_0x222fc3(0x2e9)]%0x4;)_0x5bd0a5[_0x222fc3(0x273)](_0x2bb24a);}return _0x5bd0a5[_0x222fc3(0x172)]('');},'parse':function(_0x1da554){var _0x356fc2=_0x1c0cd2,_0xc1706f=_0x1da554['length'],_0x56eefc=this[_0x356fc2(0x8a)],_0x5325dd=this[_0x356fc2(0x9b)];if(!_0x5325dd){_0x5325dd=this[_0x356fc2(0x9b)]=[];for(var _0x79bbc4=0x0;_0x79bbc4<_0x56eefc['length'];_0x79bbc4++)_0x5325dd[_0x56eefc[_0x356fc2(0x350)](_0x79bbc4)]=_0x79bbc4;}var _0x539e69=_0x56eefc['charAt'](0x40);if(_0x539e69){var _0x8dd79e=_0x1da554[_0x356fc2(0x30b)](_0x539e69);_0x8dd79e!==-0x1&&(_0xc1706f=_0x8dd79e);}return _0xa3f735(_0x1da554,_0xc1706f,_0x5325dd);},'_map':_0x1c0cd2(0x2bc)};function _0xa3f735(_0x55b4af,_0xa0aca1,_0x16a9cd){var _0x25a437=_0x1c0cd2;for(var _0x4c6d00=[],_0x2ec2ab=0x0,_0x39a25e=0x0;_0x39a25e<_0xa0aca1;_0x39a25e++)if(_0x39a25e%0x4){var _0x433806=_0x16a9cd[_0x55b4af['charCodeAt'](_0x39a25e-0x1)]<<_0x39a25e%0x4*0x2,_0x2c6366=_0x16a9cd[_0x55b4af['charCodeAt'](_0x39a25e)]>>>0x6-_0x39a25e%0x4*0x2,_0x343f45=_0x433806|_0x2c6366;_0x4c6d00[_0x2ec2ab>>>0x2]|=_0x343f45<<0x18-_0x2ec2ab%0x4*0x8,_0x2ec2ab++;}return _0x2b1ba5[_0x25a437(0x21d)](_0x4c6d00,_0x2ec2ab);}}()),_0x4d7701[_0x224bc6(0x93)][_0x224bc6(0xbe)];}));}(_0x55d7e6)),_0x55d7e6[_0x2f055e(0x3f3)];}var _0x259d36={'exports':{}},_0x3d84a1=_0x259d36[_0x509db9(0x3f3)],_0x3f435f;function _0x2fdd86(){var _0x1fb4c8=_0x509db9;return _0x3f435f||(_0x3f435f=0x1,function(_0x5adf3c,_0x421c78){(function(_0x25f8c9,_0x133598){var _0x3509ca=_0x572e;_0x5adf3c[_0x3509ca(0x3f3)]=_0x133598(_0x2303bf());}(_0x3d84a1,function(_0x5dd200){var _0x306b51=_0x572e;return function(_0x25d27b){var _0x1a5ecc=_0x572e,_0x3a7093=_0x5dd200,_0x39f27b=_0x3a7093[_0x1a5ecc(0x1cb)],_0x44a78b=_0x39f27b[_0x1a5ecc(0x213)],_0x4070ee=_0x39f27b['Hasher'],_0x39ca1e=_0x3a7093[_0x1a5ecc(0x293)],_0x58dd32=[];(function(){var _0x42b7c7=_0x1a5ecc;for(var _0x16866d=0x0;_0x16866d<0x40;_0x16866d++)_0x58dd32[_0x16866d]=_0x25d27b['abs'](_0x25d27b[_0x42b7c7(0x3bc)](_0x16866d+0x1))*0x100000000|0x0;}());var _0x216ea7=_0x39ca1e[_0x1a5ecc(0x99)]=_0x4070ee[_0x1a5ecc(0x36b)]({'_doReset':function(){var _0x32b480=_0x1a5ecc;this[_0x32b480(0x1d7)]=new _0x44a78b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x8a57a5,_0x3a9cee){var _0xeb8a99=_0x1a5ecc;for(var _0x22a4eb=0x0;_0x22a4eb<0x10;_0x22a4eb++){var _0x42d4eb=_0x3a9cee+_0x22a4eb,_0x14866b=_0x8a57a5[_0x42d4eb];_0x8a57a5[_0x42d4eb]=(_0x14866b<<0x8|_0x14866b>>>0x18)&0xff00ff|(_0x14866b<<0x18|_0x14866b>>>0x8)&0xff00ff00;}var _0x28380b=this['_hash'][_0xeb8a99(0x2ce)],_0x3426e3=_0x8a57a5[_0x3a9cee+0x0],_0x192303=_0x8a57a5[_0x3a9cee+0x1],_0x5e52fc=_0x8a57a5[_0x3a9cee+0x2],_0x1a638d=_0x8a57a5[_0x3a9cee+0x3],_0x598339=_0x8a57a5[_0x3a9cee+0x4],_0x34ad79=_0x8a57a5[_0x3a9cee+0x5],_0x42fc73=_0x8a57a5[_0x3a9cee+0x6],_0x50fcff=_0x8a57a5[_0x3a9cee+0x7],_0x3d280d=_0x8a57a5[_0x3a9cee+0x8],_0x5d88e3=_0x8a57a5[_0x3a9cee+0x9],_0x4bf2e5=_0x8a57a5[_0x3a9cee+0xa],_0xebbe50=_0x8a57a5[_0x3a9cee+0xb],_0x135a9c=_0x8a57a5[_0x3a9cee+0xc],_0x3c06b2=_0x8a57a5[_0x3a9cee+0xd],_0x1a77cb=_0x8a57a5[_0x3a9cee+0xe],_0x31a472=_0x8a57a5[_0x3a9cee+0xf],_0x4a5b93=_0x28380b[0x0],_0x53c7a7=_0x28380b[0x1],_0x47a550=_0x28380b[0x2],_0x3fe17d=_0x28380b[0x3];_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3426e3,0x7,_0x58dd32[0x0]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x192303,0xc,_0x58dd32[0x1]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x5e52fc,0x11,_0x58dd32[0x2]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x1a638d,0x16,_0x58dd32[0x3]),_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x598339,0x7,_0x58dd32[0x4]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x34ad79,0xc,_0x58dd32[0x5]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x42fc73,0x11,_0x58dd32[0x6]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x50fcff,0x16,_0x58dd32[0x7]),_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3d280d,0x7,_0x58dd32[0x8]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x5d88e3,0xc,_0x58dd32[0x9]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x4bf2e5,0x11,_0x58dd32[0xa]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0xebbe50,0x16,_0x58dd32[0xb]),_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x135a9c,0x7,_0x58dd32[0xc]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x3c06b2,0xc,_0x58dd32[0xd]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a77cb,0x11,_0x58dd32[0xe]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x31a472,0x16,_0x58dd32[0xf]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x192303,0x5,_0x58dd32[0x10]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x42fc73,0x9,_0x58dd32[0x11]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0xebbe50,0xe,_0x58dd32[0x12]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x3426e3,0x14,_0x58dd32[0x13]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x34ad79,0x5,_0x58dd32[0x14]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x4bf2e5,0x9,_0x58dd32[0x15]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x31a472,0xe,_0x58dd32[0x16]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x598339,0x14,_0x58dd32[0x17]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x5d88e3,0x5,_0x58dd32[0x18]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x1a77cb,0x9,_0x58dd32[0x19]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a638d,0xe,_0x58dd32[0x1a]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x3d280d,0x14,_0x58dd32[0x1b]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3c06b2,0x5,_0x58dd32[0x1c]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x5e52fc,0x9,_0x58dd32[0x1d]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x50fcff,0xe,_0x58dd32[0x1e]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x135a9c,0x14,_0x58dd32[0x1f]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x34ad79,0x4,_0x58dd32[0x20]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x3d280d,0xb,_0x58dd32[0x21]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0xebbe50,0x10,_0x58dd32[0x22]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x1a77cb,0x17,_0x58dd32[0x23]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x192303,0x4,_0x58dd32[0x24]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x598339,0xb,_0x58dd32[0x25]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x50fcff,0x10,_0x58dd32[0x26]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x4bf2e5,0x17,_0x58dd32[0x27]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3c06b2,0x4,_0x58dd32[0x28]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x3426e3,0xb,_0x58dd32[0x29]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a638d,0x10,_0x58dd32[0x2a]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x42fc73,0x17,_0x58dd32[0x2b]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x5d88e3,0x4,_0x58dd32[0x2c]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x135a9c,0xb,_0x58dd32[0x2d]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x31a472,0x10,_0x58dd32[0x2e]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x5e52fc,0x17,_0x58dd32[0x2f]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3426e3,0x6,_0x58dd32[0x30]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x50fcff,0xa,_0x58dd32[0x31]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a77cb,0xf,_0x58dd32[0x32]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x34ad79,0x15,_0x58dd32[0x33]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x135a9c,0x6,_0x58dd32[0x34]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x1a638d,0xa,_0x58dd32[0x35]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x4bf2e5,0xf,_0x58dd32[0x36]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x192303,0x15,_0x58dd32[0x37]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3d280d,0x6,_0x58dd32[0x38]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x31a472,0xa,_0x58dd32[0x39]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x42fc73,0xf,_0x58dd32[0x3a]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x3c06b2,0x15,_0x58dd32[0x3b]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x598339,0x6,_0x58dd32[0x3c]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0xebbe50,0xa,_0x58dd32[0x3d]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x5e52fc,0xf,_0x58dd32[0x3e]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x5d88e3,0x15,_0x58dd32[0x3f]),_0x28380b[0x0]=_0x28380b[0x0]+_0x4a5b93|0x0,_0x28380b[0x1]=_0x28380b[0x1]+_0x53c7a7|0x0,_0x28380b[0x2]=_0x28380b[0x2]+_0x47a550|0x0,_0x28380b[0x3]=_0x28380b[0x3]+_0x3fe17d|0x0;},'_doFinalize':function(){var _0x534328=_0x1a5ecc,_0x5d8962=this['_data'],_0x5dd632=_0x5d8962[_0x534328(0x2ce)],_0x24dbf5=this[_0x534328(0x229)]*0x8,_0x2faf7f=_0x5d8962[_0x534328(0x1a4)]*0x8;_0x5dd632[_0x2faf7f>>>0x5]|=0x80<<0x18-_0x2faf7f%0x20;var _0x58222e=_0x25d27b['floor'](_0x24dbf5/0x100000000),_0x1acffc=_0x24dbf5;_0x5dd632[(_0x2faf7f+0x40>>>0x9<<0x4)+0xf]=(_0x58222e<<0x8|_0x58222e>>>0x18)&0xff00ff|(_0x58222e<<0x18|_0x58222e>>>0x8)&0xff00ff00,_0x5dd632[(_0x2faf7f+0x40>>>0x9<<0x4)+0xe]=(_0x1acffc<<0x8|_0x1acffc>>>0x18)&0xff00ff|(_0x1acffc<<0x18|_0x1acffc>>>0x8)&0xff00ff00,_0x5d8962['sigBytes']=(_0x5dd632['length']+0x1)*0x4,this['_process']();for(var _0x175539=this[_0x534328(0x1d7)],_0x4bcce3=_0x175539[_0x534328(0x2ce)],_0x484289=0x0;_0x484289<0x4;_0x484289++){var _0x3940dc=_0x4bcce3[_0x484289];_0x4bcce3[_0x484289]=(_0x3940dc<<0x8|_0x3940dc>>>0x18)&0xff00ff|(_0x3940dc<<0x18|_0x3940dc>>>0x8)&0xff00ff00;}return _0x175539;},'clone':function(){var _0x2f7a1a=_0x1a5ecc,_0xb4030c=_0x4070ee[_0x2f7a1a(0xfc)]['call'](this);return _0xb4030c[_0x2f7a1a(0x1d7)]=this[_0x2f7a1a(0x1d7)][_0x2f7a1a(0xfc)](),_0xb4030c;}});function _0x377cce(_0x35e13e,_0x2bcefd,_0xcd2df5,_0x5a289e,_0x37cc30,_0x286735,_0x12508f){var _0x202158=_0x35e13e+(_0x2bcefd&_0xcd2df5|~_0x2bcefd&_0x5a289e)+_0x37cc30+_0x12508f;return(_0x202158<<_0x286735|_0x202158>>>0x20-_0x286735)+_0x2bcefd;}function _0x26b0a6(_0x145b44,_0x1a4fed,_0x5625a5,_0x5b14d8,_0xdeddf2,_0x371e4d,_0x149faa){var _0x11096a=_0x145b44+(_0x1a4fed&_0x5b14d8|_0x5625a5&~_0x5b14d8)+_0xdeddf2+_0x149faa;return(_0x11096a<<_0x371e4d|_0x11096a>>>0x20-_0x371e4d)+_0x1a4fed;}function _0x2cdc0a(_0x840fb9,_0x3ef06d,_0xa4b9e3,_0x5a5e12,_0x45f191,_0x49a2a7,_0x6af5de){var _0x3d49f7=_0x840fb9+(_0x3ef06d^_0xa4b9e3^_0x5a5e12)+_0x45f191+_0x6af5de;return(_0x3d49f7<<_0x49a2a7|_0x3d49f7>>>0x20-_0x49a2a7)+_0x3ef06d;}function _0x212546(_0x4c3df6,_0x8942a1,_0x16f11c,_0x3cb1bc,_0x18b051,_0x3d68c1,_0x250909){var _0x1ddf19=_0x4c3df6+(_0x16f11c^(_0x8942a1|~_0x3cb1bc))+_0x18b051+_0x250909;return(_0x1ddf19<<_0x3d68c1|_0x1ddf19>>>0x20-_0x3d68c1)+_0x8942a1;}_0x3a7093[_0x1a5ecc(0x99)]=_0x4070ee[_0x1a5ecc(0x111)](_0x216ea7),_0x3a7093[_0x1a5ecc(0xb4)]=_0x4070ee[_0x1a5ecc(0x1d0)](_0x216ea7);}(Math),_0x5dd200[_0x306b51(0x99)];}));}(_0x259d36)),_0x259d36[_0x1fb4c8(0x3f3)];}var _0x1ed96e={'exports':{}},_0x226327={'exports':{}},_0x2df906=_0x226327[_0x509db9(0x3f3)],_0x3a7b24;function _0x57d0e4(){var _0x7988c=_0x509db9;return _0x3a7b24||(_0x3a7b24=0x1,function(_0x3e155a,_0x30a257){(function(_0x3cdfbe,_0x5a9c0a){var _0x252472=_0x572e;_0x3e155a[_0x252472(0x3f3)]=_0x5a9c0a(_0x2303bf());}(_0x2df906,function(_0x42df0b){return(function(){var _0x58c864=_0x572e,_0x45a5ec=_0x42df0b,_0x93415b=_0x45a5ec['lib'],_0x51f35a=_0x93415b[_0x58c864(0x213)],_0x315995=_0x93415b[_0x58c864(0x14e)],_0xd2567d=_0x45a5ec[_0x58c864(0x293)],_0x2048e9=[],_0x27fa84=_0xd2567d[_0x58c864(0x277)]=_0x315995[_0x58c864(0x36b)]({'_doReset':function(){var _0x49916b=_0x58c864;this[_0x49916b(0x1d7)]=new _0x51f35a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x22289c,_0x173f49){var _0x5d93e0=_0x58c864;for(var _0x49513c=this[_0x5d93e0(0x1d7)]['words'],_0x2d4292=_0x49513c[0x0],_0x27e689=_0x49513c[0x1],_0x194415=_0x49513c[0x2],_0x248f29=_0x49513c[0x3],_0x413265=_0x49513c[0x4],_0x2f5146=0x0;_0x2f5146<0x50;_0x2f5146++){if(_0x2f5146<0x10)_0x2048e9[_0x2f5146]=_0x22289c[_0x173f49+_0x2f5146]|0x0;else{var _0x36a918=_0x2048e9[_0x2f5146-0x3]^_0x2048e9[_0x2f5146-0x8]^_0x2048e9[_0x2f5146-0xe]^_0x2048e9[_0x2f5146-0x10];_0x2048e9[_0x2f5146]=_0x36a918<<0x1|_0x36a918>>>0x1f;}var _0x20bff2=(_0x2d4292<<0x5|_0x2d4292>>>0x1b)+_0x413265+_0x2048e9[_0x2f5146];_0x2f5146<0x14?_0x20bff2+=(_0x27e689&_0x194415|~_0x27e689&_0x248f29)+0x5a827999:_0x2f5146<0x28?_0x20bff2+=(_0x27e689^_0x194415^_0x248f29)+0x6ed9eba1:_0x2f5146<0x3c?_0x20bff2+=(_0x27e689&_0x194415|_0x27e689&_0x248f29|_0x194415&_0x248f29)-0x70e44324:_0x20bff2+=(_0x27e689^_0x194415^_0x248f29)-0x359d3e2a,_0x413265=_0x248f29,_0x248f29=_0x194415,_0x194415=_0x27e689<<0x1e|_0x27e689>>>0x2,_0x27e689=_0x2d4292,_0x2d4292=_0x20bff2;}_0x49513c[0x0]=_0x49513c[0x0]+_0x2d4292|0x0,_0x49513c[0x1]=_0x49513c[0x1]+_0x27e689|0x0,_0x49513c[0x2]=_0x49513c[0x2]+_0x194415|0x0,_0x49513c[0x3]=_0x49513c[0x3]+_0x248f29|0x0,_0x49513c[0x4]=_0x49513c[0x4]+_0x413265|0x0;},'_doFinalize':function(){var _0x283b62=_0x58c864,_0x4fedb4=this[_0x283b62(0x17b)],_0x38801b=_0x4fedb4[_0x283b62(0x2ce)],_0x3aab42=this['_nDataBytes']*0x8,_0x11dbfb=_0x4fedb4['sigBytes']*0x8;return _0x38801b[_0x11dbfb>>>0x5]|=0x80<<0x18-_0x11dbfb%0x20,_0x38801b[(_0x11dbfb+0x40>>>0x9<<0x4)+0xe]=Math[_0x283b62(0x179)](_0x3aab42/0x100000000),_0x38801b[(_0x11dbfb+0x40>>>0x9<<0x4)+0xf]=_0x3aab42,_0x4fedb4[_0x283b62(0x1a4)]=_0x38801b[_0x283b62(0x2e9)]*0x4,this[_0x283b62(0xbb)](),this['_hash'];},'clone':function(){var _0x48ed31=_0x58c864,_0x1d0a75=_0x315995[_0x48ed31(0xfc)][_0x48ed31(0xc8)](this);return _0x1d0a75['_hash']=this[_0x48ed31(0x1d7)][_0x48ed31(0xfc)](),_0x1d0a75;}});_0x45a5ec[_0x58c864(0x277)]=_0x315995['_createHelper'](_0x27fa84),_0x45a5ec[_0x58c864(0xdb)]=_0x315995[_0x58c864(0x1d0)](_0x27fa84);}()),_0x42df0b['SHA1'];}));}(_0x226327)),_0x226327[_0x7988c(0x3f3)];}var _0x25a970={'exports':{}},_0x45f162=_0x25a970[_0x509db9(0x3f3)],_0x1c53ba;function _0x4e58d3(){var _0x38dd91=_0x509db9;return _0x1c53ba||(_0x1c53ba=0x1,function(_0x47d4f7,_0x29a5d7){(function(_0xe28d79,_0x445812){var _0x28eb1f=_0x572e;_0x47d4f7[_0x28eb1f(0x3f3)]=_0x445812(_0x2303bf());}(_0x45f162,function(_0xff345d){(function(){var _0x2a92fb=_0x572e,_0x3b967a=_0xff345d,_0xb9882d=_0x3b967a[_0x2a92fb(0x1cb)],_0x5892b4=_0xb9882d[_0x2a92fb(0x270)],_0x241975=_0x3b967a[_0x2a92fb(0x93)],_0x5cae4a=_0x241975['Utf8'],_0x570259=_0x3b967a[_0x2a92fb(0x293)];_0x570259[_0x2a92fb(0x104)]=_0x5892b4[_0x2a92fb(0x36b)]({'init':function(_0x3dc429,_0x514726){var _0x3fe88a=_0x2a92fb;_0x3dc429=this[_0x3fe88a(0x157)]=new _0x3dc429['init'](),typeof _0x514726==_0x3fe88a(0x209)&&(_0x514726=_0x5cae4a[_0x3fe88a(0x3d2)](_0x514726));var _0x3d4acc=_0x3dc429[_0x3fe88a(0x1bd)],_0xd69390=_0x3d4acc*0x4;_0x514726[_0x3fe88a(0x1a4)]>_0xd69390&&(_0x514726=_0x3dc429['finalize'](_0x514726)),_0x514726[_0x3fe88a(0xdc)]();for(var _0x41fedc=this['_oKey']=_0x514726[_0x3fe88a(0xfc)](),_0x53bca1=this[_0x3fe88a(0xa0)]=_0x514726[_0x3fe88a(0xfc)](),_0x23b701=_0x41fedc[_0x3fe88a(0x2ce)],_0x4faf68=_0x53bca1[_0x3fe88a(0x2ce)],_0x44805b=0x0;_0x44805b<_0x3d4acc;_0x44805b++)_0x23b701[_0x44805b]^=0x5c5c5c5c,_0x4faf68[_0x44805b]^=0x36363636;_0x41fedc[_0x3fe88a(0x1a4)]=_0x53bca1[_0x3fe88a(0x1a4)]=_0xd69390,this['reset']();},'reset':function(){var _0x1f13c6=_0x2a92fb,_0x11664e=this['_hasher'];_0x11664e[_0x1f13c6(0x242)](),_0x11664e[_0x1f13c6(0x241)](this[_0x1f13c6(0xa0)]);},'update':function(_0x5124b1){var _0x32db2f=_0x2a92fb;return this[_0x32db2f(0x157)]['update'](_0x5124b1),this;},'finalize':function(_0x3972ae){var _0x37d0d0=_0x2a92fb,_0x4bfff3=this[_0x37d0d0(0x157)],_0x479d37=_0x4bfff3[_0x37d0d0(0x38a)](_0x3972ae);_0x4bfff3['reset']();var _0x1800f5=_0x4bfff3[_0x37d0d0(0x38a)](this[_0x37d0d0(0xb0)]['clone']()[_0x37d0d0(0x27b)](_0x479d37));return _0x1800f5;}});}());}));}(_0x25a970)),_0x25a970[_0x38dd91(0x3f3)];}var _0x2daf1d=_0x1ed96e[_0x509db9(0x3f3)],_0x162a6b;function _0x377971(){var _0x4c6c89=_0x509db9;return _0x162a6b||(_0x162a6b=0x1,function(_0x1d2bc0,_0x3e7812){(function(_0x5dd7bb,_0x3a7a07,_0x576587){var _0x1abf1a=_0x572e;_0x1d2bc0[_0x1abf1a(0x3f3)]=_0x3a7a07(_0x2303bf(),_0x57d0e4(),_0x4e58d3());}(_0x2daf1d,function(_0x28cefc){return(function(){var _0x4ab862=_0x572e,_0x2c88de=_0x28cefc,_0x59ae25=_0x2c88de['lib'],_0x1e7474=_0x59ae25[_0x4ab862(0x270)],_0x476fd8=_0x59ae25['WordArray'],_0x5027aa=_0x2c88de[_0x4ab862(0x293)],_0x269cc5=_0x5027aa[_0x4ab862(0x99)],_0x2ae886=_0x5027aa[_0x4ab862(0x3f4)]=_0x1e7474['extend']({'cfg':_0x1e7474[_0x4ab862(0x36b)]({'keySize':0x80/0x20,'hasher':_0x269cc5,'iterations':0x1}),'init':function(_0x4b8bb1){var _0x482fcf=_0x4ab862;this[_0x482fcf(0x21f)]=this[_0x482fcf(0x21f)]['extend'](_0x4b8bb1);},'compute':function(_0x19e89e,_0x31c3cd){var _0x45dd7f=_0x4ab862;for(var _0x4df155,_0x3bfd2e=this[_0x45dd7f(0x21f)],_0x3c190b=_0x3bfd2e[_0x45dd7f(0x26f)][_0x45dd7f(0x21d)](),_0x318abf=_0x476fd8[_0x45dd7f(0x21d)](),_0x38d33c=_0x318abf['words'],_0x380518=_0x3bfd2e[_0x45dd7f(0x374)],_0x19ce69=_0x3bfd2e[_0x45dd7f(0x3ef)];_0x38d33c[_0x45dd7f(0x2e9)]<_0x380518;){_0x4df155&&_0x3c190b[_0x45dd7f(0x241)](_0x4df155),_0x4df155=_0x3c190b[_0x45dd7f(0x241)](_0x19e89e)[_0x45dd7f(0x38a)](_0x31c3cd),_0x3c190b[_0x45dd7f(0x242)]();for(var _0x4e27d4=0x1;_0x4e27d4<_0x19ce69;_0x4e27d4++)_0x4df155=_0x3c190b[_0x45dd7f(0x38a)](_0x4df155),_0x3c190b[_0x45dd7f(0x242)]();_0x318abf[_0x45dd7f(0x27b)](_0x4df155);}return _0x318abf[_0x45dd7f(0x1a4)]=_0x380518*0x4,_0x318abf;}});_0x2c88de['EvpKDF']=function(_0x5c97b1,_0x45b589,_0x351d41){var _0x45cfdf=_0x4ab862;return _0x2ae886[_0x45cfdf(0x21d)](_0x351d41)[_0x45cfdf(0x2df)](_0x5c97b1,_0x45b589);};}()),_0x28cefc['EvpKDF'];}));}(_0x1ed96e)),_0x1ed96e[_0x4c6c89(0x3f3)];}var _0x2ea77c={'exports':{}},_0x3265cb=_0x2ea77c[_0x509db9(0x3f3)],_0x10a435;function _0x285f87(){var _0x3c2e3d=_0x509db9;return _0x10a435||(_0x10a435=0x1,function(_0x5c26d3,_0x55a8c7){(function(_0x17d075,_0x46340f,_0x5cd8fa){var _0x56a661=_0x572e;_0x5c26d3[_0x56a661(0x3f3)]=_0x46340f(_0x2303bf(),_0x377971());}(_0x3265cb,function(_0xbcfefc){var _0x30047a=_0x572e;_0xbcfefc[_0x30047a(0x1cb)][_0x30047a(0x196)]||function(_0x31c21a){var _0x3d510e=_0x30047a,_0x42a16f=_0xbcfefc,_0x56f77d=_0x42a16f[_0x3d510e(0x1cb)],_0x1426ca=_0x56f77d[_0x3d510e(0x270)],_0xc132c1=_0x56f77d['WordArray'],_0x96453=_0x56f77d[_0x3d510e(0x38f)],_0x22e1d2=_0x42a16f[_0x3d510e(0x93)];_0x22e1d2[_0x3d510e(0x217)];var _0x1ce38e=_0x22e1d2[_0x3d510e(0xbe)],_0x48c77e=_0x42a16f[_0x3d510e(0x293)],_0x168fc4=_0x48c77e[_0x3d510e(0x3f4)],_0xf5ceb8=_0x56f77d[_0x3d510e(0x196)]=_0x96453[_0x3d510e(0x36b)]({'cfg':_0x1426ca[_0x3d510e(0x36b)](),'createEncryptor':function(_0x315e74,_0x23449b){var _0x505a2a=_0x3d510e;return this['create'](this[_0x505a2a(0x200)],_0x315e74,_0x23449b);},'createDecryptor':function(_0x52ba96,_0x377941){var _0x631a60=_0x3d510e;return this['create'](this[_0x631a60(0x22e)],_0x52ba96,_0x377941);},'init':function(_0x595620,_0x4a6e0f,_0x182d8d){var _0x3da1d1=_0x3d510e;this['cfg']=this[_0x3da1d1(0x21f)]['extend'](_0x182d8d),this[_0x3da1d1(0x1d6)]=_0x595620,this['_key']=_0x4a6e0f,this['reset']();},'reset':function(){var _0x173e3e=_0x3d510e;_0x96453[_0x173e3e(0x242)][_0x173e3e(0xc8)](this),this[_0x173e3e(0x18c)]();},'process':function(_0x47e18b){var _0x45aa11=_0x3d510e;return this[_0x45aa11(0x145)](_0x47e18b),this[_0x45aa11(0xbb)]();},'finalize':function(_0x4fd9f7){var _0x198be0=_0x3d510e;_0x4fd9f7&&this[_0x198be0(0x145)](_0x4fd9f7);var _0x9ebb35=this[_0x198be0(0x95)]();return _0x9ebb35;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3738be(_0x3e954b){var _0x21d99b=_0x572e;return typeof _0x3e954b==_0x21d99b(0x209)?_0x5f3194:_0xed1992;}return function(_0x439e85){return{'encrypt':function(_0xd4d2ac,_0x6ddf0d,_0xa86679){var _0x49fc5b=_0x572e;return _0x3738be(_0x6ddf0d)[_0x49fc5b(0x1fc)](_0x439e85,_0xd4d2ac,_0x6ddf0d,_0xa86679);},'decrypt':function(_0xf50178,_0x386302,_0x2dcedb){return _0x3738be(_0x386302)['decrypt'](_0x439e85,_0xf50178,_0x386302,_0x2dcedb);}};};}())});_0x56f77d[_0x3d510e(0xc9)]=_0xf5ceb8['extend']({'_doFinalize':function(){var _0x3bc10a=this['_process'](!0x0);return _0x3bc10a;},'blockSize':0x1});var _0x3ae6e2=_0x42a16f['mode']={},_0x39848c=_0x56f77d[_0x3d510e(0x20a)]=_0x1426ca['extend']({'createEncryptor':function(_0x1e812b,_0x1034d8){var _0x5dac5e=_0x3d510e;return this[_0x5dac5e(0x278)]['create'](_0x1e812b,_0x1034d8);},'createDecryptor':function(_0x3f5c55,_0x2c7ce8){return this['Decryptor']['create'](_0x3f5c55,_0x2c7ce8);},'init':function(_0xf06bd0,_0x18d01e){var _0x2531ac=_0x3d510e;this[_0x2531ac(0xe9)]=_0xf06bd0,this['_iv']=_0x18d01e;}}),_0x51adfb=_0x3ae6e2[_0x3d510e(0x345)]=(function(){var _0x316f4f=_0x3d510e,_0x38d5ea=_0x39848c[_0x316f4f(0x36b)]();_0x38d5ea[_0x316f4f(0x278)]=_0x38d5ea[_0x316f4f(0x36b)]({'processBlock':function(_0x1f1fe5,_0x1c5322){var _0x296ed5=_0x316f4f,_0x5a652a=this[_0x296ed5(0xe9)],_0x237f31=_0x5a652a[_0x296ed5(0x1bd)];_0x4214eb[_0x296ed5(0xc8)](this,_0x1f1fe5,_0x1c5322,_0x237f31),_0x5a652a[_0x296ed5(0x9d)](_0x1f1fe5,_0x1c5322),this['_prevBlock']=_0x1f1fe5[_0x296ed5(0x175)](_0x1c5322,_0x1c5322+_0x237f31);}}),_0x38d5ea[_0x316f4f(0x3a4)]=_0x38d5ea['extend']({'processBlock':function(_0x7e90f4,_0x6f9574){var _0x59a6ee=_0x316f4f,_0xeeb726=this[_0x59a6ee(0xe9)],_0x5450b3=_0xeeb726[_0x59a6ee(0x1bd)],_0x4cc747=_0x7e90f4['slice'](_0x6f9574,_0x6f9574+_0x5450b3);_0xeeb726['decryptBlock'](_0x7e90f4,_0x6f9574),_0x4214eb[_0x59a6ee(0xc8)](this,_0x7e90f4,_0x6f9574,_0x5450b3),this[_0x59a6ee(0xac)]=_0x4cc747;}});function _0x4214eb(_0x5468ff,_0x273df3,_0x1d8103){var _0xe46ecd=_0x316f4f,_0xca7820,_0x3cb700=this[_0xe46ecd(0x15e)];_0x3cb700?(_0xca7820=_0x3cb700,this[_0xe46ecd(0x15e)]=_0x31c21a):_0xca7820=this[_0xe46ecd(0xac)];for(var _0x734e89=0x0;_0x734e89<_0x1d8103;_0x734e89++)_0x5468ff[_0x273df3+_0x734e89]^=_0xca7820[_0x734e89];}return _0x38d5ea;}()),_0x31291c=_0x42a16f['pad']={},_0x4ff06b=_0x31291c[_0x3d510e(0x2ca)]={'pad':function(_0x2d8fa1,_0x47e6bc){var _0x237179=_0x3d510e;for(var _0x20cd56=_0x47e6bc*0x4,_0x1f8c0d=_0x20cd56-_0x2d8fa1[_0x237179(0x1a4)]%_0x20cd56,_0x5d2034=_0x1f8c0d<<0x18|_0x1f8c0d<<0x10|_0x1f8c0d<<0x8|_0x1f8c0d,_0x5cf7f2=[],_0x5823f0=0x0;_0x5823f0<_0x1f8c0d;_0x5823f0+=0x4)_0x5cf7f2[_0x237179(0x273)](_0x5d2034);var _0x4d90e0=_0xc132c1[_0x237179(0x21d)](_0x5cf7f2,_0x1f8c0d);_0x2d8fa1[_0x237179(0x27b)](_0x4d90e0);},'unpad':function(_0x583026){var _0x1212e4=_0x3d510e,_0x568528=_0x583026[_0x1212e4(0x2ce)][_0x583026['sigBytes']-0x1>>>0x2]&0xff;_0x583026[_0x1212e4(0x1a4)]-=_0x568528;}};_0x56f77d['BlockCipher']=_0xf5ceb8[_0x3d510e(0x36b)]({'cfg':_0xf5ceb8[_0x3d510e(0x21f)][_0x3d510e(0x36b)]({'mode':_0x51adfb,'padding':_0x4ff06b}),'reset':function(){var _0xff0a6d=_0x3d510e,_0x317f3d;_0xf5ceb8['reset'][_0xff0a6d(0xc8)](this);var _0x545563=this[_0xff0a6d(0x21f)],_0x29efb5=_0x545563['iv'],_0x208059=_0x545563[_0xff0a6d(0x11b)];this['_xformMode']==this[_0xff0a6d(0x200)]?_0x317f3d=_0x208059[_0xff0a6d(0x19a)]:(_0x317f3d=_0x208059[_0xff0a6d(0x2f5)],this['_minBufferSize']=0x1),this['_mode']&&this[_0xff0a6d(0x1ad)][_0xff0a6d(0x3a0)]==_0x317f3d?this[_0xff0a6d(0x1ad)]['init'](this,_0x29efb5&&_0x29efb5[_0xff0a6d(0x2ce)]):(this[_0xff0a6d(0x1ad)]=_0x317f3d[_0xff0a6d(0xc8)](_0x208059,this,_0x29efb5&&_0x29efb5[_0xff0a6d(0x2ce)]),this[_0xff0a6d(0x1ad)][_0xff0a6d(0x3a0)]=_0x317f3d);},'_doProcessBlock':function(_0x38ef19,_0x5e36fd){var _0x11ba1e=_0x3d510e;this[_0x11ba1e(0x1ad)]['processBlock'](_0x38ef19,_0x5e36fd);},'_doFinalize':function(){var _0x109af1=_0x3d510e,_0x5b205c,_0x3344fc=this[_0x109af1(0x21f)][_0x109af1(0x176)];return this['_xformMode']==this[_0x109af1(0x200)]?(_0x3344fc[_0x109af1(0x188)](this[_0x109af1(0x17b)],this[_0x109af1(0x1bd)]),_0x5b205c=this['_process'](!0x0)):(_0x5b205c=this[_0x109af1(0xbb)](!0x0),_0x3344fc[_0x109af1(0x22b)](_0x5b205c)),_0x5b205c;},'blockSize':0x80/0x20});var _0x25e437=_0x56f77d['CipherParams']=_0x1426ca[_0x3d510e(0x36b)]({'init':function(_0x11e89b){var _0x29c878=_0x3d510e;this[_0x29c878(0x340)](_0x11e89b);},'toString':function(_0x41f6e4){var _0x328bf5=_0x3d510e;return(_0x41f6e4||this[_0x328bf5(0xe5)])['stringify'](this);}}),_0x226e7c=_0x42a16f[_0x3d510e(0xb2)]={},_0x3b1aff=_0x226e7c[_0x3d510e(0x16a)]={'stringify':function(_0x509b71){var _0x23ea01=_0x3d510e,_0x50da0b,_0x71fca8=_0x509b71[_0x23ea01(0x2fc)],_0x1c3b11=_0x509b71[_0x23ea01(0x11a)];return _0x1c3b11?_0x50da0b=_0xc132c1['create']([0x53616c74,0x65645f5f])[_0x23ea01(0x27b)](_0x1c3b11)[_0x23ea01(0x27b)](_0x71fca8):_0x50da0b=_0x71fca8,_0x50da0b[_0x23ea01(0x1fe)](_0x1ce38e);},'parse':function(_0x52b6a6){var _0x5b4c2b=_0x3d510e,_0x106abb,_0x817955=_0x1ce38e['parse'](_0x52b6a6),_0xb4c8c6=_0x817955[_0x5b4c2b(0x2ce)];return _0xb4c8c6[0x0]==0x53616c74&&_0xb4c8c6[0x1]==0x65645f5f&&(_0x106abb=_0xc132c1[_0x5b4c2b(0x21d)](_0xb4c8c6[_0x5b4c2b(0x175)](0x2,0x4)),_0xb4c8c6[_0x5b4c2b(0x3cc)](0x0,0x4),_0x817955[_0x5b4c2b(0x1a4)]-=0x10),_0x25e437[_0x5b4c2b(0x21d)]({'ciphertext':_0x817955,'salt':_0x106abb});}},_0xed1992=_0x56f77d[_0x3d510e(0xff)]=_0x1426ca[_0x3d510e(0x36b)]({'cfg':_0x1426ca[_0x3d510e(0x36b)]({'format':_0x3b1aff}),'encrypt':function(_0x350d77,_0x19bd1f,_0x4962a4,_0x47326a){var _0x2c6a42=_0x3d510e;_0x47326a=this['cfg'][_0x2c6a42(0x36b)](_0x47326a);var _0x73f620=_0x350d77[_0x2c6a42(0x19a)](_0x4962a4,_0x47326a),_0x1fe3f6=_0x73f620['finalize'](_0x19bd1f),_0x488b14=_0x73f620[_0x2c6a42(0x21f)];return _0x25e437[_0x2c6a42(0x21d)]({'ciphertext':_0x1fe3f6,'key':_0x4962a4,'iv':_0x488b14['iv'],'algorithm':_0x350d77,'mode':_0x488b14[_0x2c6a42(0x11b)],'padding':_0x488b14[_0x2c6a42(0x176)],'blockSize':_0x350d77[_0x2c6a42(0x1bd)],'formatter':_0x47326a[_0x2c6a42(0xb2)]});},'decrypt':function(_0x5e42d8,_0x4218af,_0x4b53ac,_0x52972b){var _0x4b45b0=_0x3d510e;_0x52972b=this[_0x4b45b0(0x21f)]['extend'](_0x52972b),_0x4218af=this['_parse'](_0x4218af,_0x52972b['format']);var _0x4e0309=_0x5e42d8[_0x4b45b0(0x2f5)](_0x4b53ac,_0x52972b)[_0x4b45b0(0x38a)](_0x4218af[_0x4b45b0(0x2fc)]);return _0x4e0309;},'_parse':function(_0x4bcdd8,_0x55ed85){var _0x1d122d=_0x3d510e;return typeof _0x4bcdd8==_0x1d122d(0x209)?_0x55ed85[_0x1d122d(0x3d2)](_0x4bcdd8,this):_0x4bcdd8;}}),_0x7c49cb=_0x42a16f['kdf']={},_0x59a5e4=_0x7c49cb[_0x3d510e(0x16a)]={'execute':function(_0xc91efd,_0x149058,_0x56a7a1,_0x2a6c6d,_0x437d54){var _0x7a910c=_0x3d510e;if(_0x2a6c6d||(_0x2a6c6d=_0xc132c1[_0x7a910c(0x303)](0x40/0x8)),_0x437d54)var _0x3d3bf8=_0x168fc4[_0x7a910c(0x21d)]({'keySize':_0x149058+_0x56a7a1,'hasher':_0x437d54})[_0x7a910c(0x2df)](_0xc91efd,_0x2a6c6d);else var _0x3d3bf8=_0x168fc4[_0x7a910c(0x21d)]({'keySize':_0x149058+_0x56a7a1})[_0x7a910c(0x2df)](_0xc91efd,_0x2a6c6d);var _0x457263=_0xc132c1[_0x7a910c(0x21d)](_0x3d3bf8[_0x7a910c(0x2ce)][_0x7a910c(0x175)](_0x149058),_0x56a7a1*0x4);return _0x3d3bf8['sigBytes']=_0x149058*0x4,_0x25e437['create']({'key':_0x3d3bf8,'iv':_0x457263,'salt':_0x2a6c6d});}},_0x5f3194=_0x56f77d[_0x3d510e(0x262)]=_0xed1992[_0x3d510e(0x36b)]({'cfg':_0xed1992['cfg'][_0x3d510e(0x36b)]({'kdf':_0x59a5e4}),'encrypt':function(_0x22f8be,_0x185113,_0x1666ff,_0x46be58){var _0x3e9dba=_0x3d510e;_0x46be58=this['cfg'][_0x3e9dba(0x36b)](_0x46be58);var _0x243200=_0x46be58['kdf'][_0x3e9dba(0x118)](_0x1666ff,_0x22f8be[_0x3e9dba(0x374)],_0x22f8be[_0x3e9dba(0x386)],_0x46be58[_0x3e9dba(0x11a)],_0x46be58[_0x3e9dba(0x26f)]);_0x46be58['iv']=_0x243200['iv'];var _0x31255f=_0xed1992[_0x3e9dba(0x1fc)]['call'](this,_0x22f8be,_0x185113,_0x243200[_0x3e9dba(0x328)],_0x46be58);return _0x31255f[_0x3e9dba(0x340)](_0x243200),_0x31255f;},'decrypt':function(_0x1882a1,_0x491c28,_0x1217f0,_0x1d96bf){var _0x2304ca=_0x3d510e;_0x1d96bf=this[_0x2304ca(0x21f)]['extend'](_0x1d96bf),_0x491c28=this['_parse'](_0x491c28,_0x1d96bf['format']);var _0x1d240e=_0x1d96bf[_0x2304ca(0x287)]['execute'](_0x1217f0,_0x1882a1[_0x2304ca(0x374)],_0x1882a1[_0x2304ca(0x386)],_0x491c28[_0x2304ca(0x11a)],_0x1d96bf[_0x2304ca(0x26f)]);_0x1d96bf['iv']=_0x1d240e['iv'];var _0x31ef5e=_0xed1992[_0x2304ca(0x290)][_0x2304ca(0xc8)](this,_0x1882a1,_0x491c28,_0x1d240e['key'],_0x1d96bf);return _0x31ef5e;}});}();}));}(_0x2ea77c)),_0x2ea77c[_0x3c2e3d(0x3f3)];}var _0x3713ff=_0xe2b2c7['exports'],_0x426df2;function _0x9f0106(){var _0xc7c574=_0x509db9;return _0x426df2||(_0x426df2=0x1,function(_0x33c814,_0x178e00){(function(_0x86f73,_0x5dfa94,_0x46c96f){var _0x1a636c=_0x572e;_0x33c814[_0x1a636c(0x3f3)]=_0x5dfa94(_0x2303bf(),_0x8a71d1(),_0x2fdd86(),_0x377971(),_0x285f87());}(_0x3713ff,function(_0x5dd706){var _0x4b6a49=_0x572e;return(function(){var _0x1122bc=_0x572e,_0x13bd19=_0x5dd706,_0x24ae7e=_0x13bd19[_0x1122bc(0x1cb)],_0x230cbe=_0x24ae7e[_0x1122bc(0x122)],_0x2b3c9e=_0x13bd19['algo'],_0x1cb622=[],_0x3b1b8a=[],_0x4d2a06=[],_0x2b3ea2=[],_0x1ef984=[],_0x41a192=[],_0x1139e5=[],_0x26b563=[],_0x21ee93=[],_0x5ab2d5=[];(function(){for(var _0x5077f9=[],_0x38fa1d=0x0;_0x38fa1d<0x100;_0x38fa1d++)_0x38fa1d<0x80?_0x5077f9[_0x38fa1d]=_0x38fa1d<<0x1:_0x5077f9[_0x38fa1d]=_0x38fa1d<<0x1^0x11b;for(var _0x15f41d=0x0,_0x43e87a=0x0,_0x38fa1d=0x0;_0x38fa1d<0x100;_0x38fa1d++){var _0x3c8a37=_0x43e87a^_0x43e87a<<0x1^_0x43e87a<<0x2^_0x43e87a<<0x3^_0x43e87a<<0x4;_0x3c8a37=_0x3c8a37>>>0x8^_0x3c8a37&0xff^0x63,_0x1cb622[_0x15f41d]=_0x3c8a37,_0x3b1b8a[_0x3c8a37]=_0x15f41d;var _0x499d7b=_0x5077f9[_0x15f41d],_0x308697=_0x5077f9[_0x499d7b],_0x8767f=_0x5077f9[_0x308697],_0x4a36f1=_0x5077f9[_0x3c8a37]*0x101^_0x3c8a37*0x1010100;_0x4d2a06[_0x15f41d]=_0x4a36f1<<0x18|_0x4a36f1>>>0x8,_0x2b3ea2[_0x15f41d]=_0x4a36f1<<0x10|_0x4a36f1>>>0x10,_0x1ef984[_0x15f41d]=_0x4a36f1<<0x8|_0x4a36f1>>>0x18,_0x41a192[_0x15f41d]=_0x4a36f1;var _0x4a36f1=_0x8767f*0x1010101^_0x308697*0x10001^_0x499d7b*0x101^_0x15f41d*0x1010100;_0x1139e5[_0x3c8a37]=_0x4a36f1<<0x18|_0x4a36f1>>>0x8,_0x26b563[_0x3c8a37]=_0x4a36f1<<0x10|_0x4a36f1>>>0x10,_0x21ee93[_0x3c8a37]=_0x4a36f1<<0x8|_0x4a36f1>>>0x18,_0x5ab2d5[_0x3c8a37]=_0x4a36f1,_0x15f41d?(_0x15f41d=_0x499d7b^_0x5077f9[_0x5077f9[_0x5077f9[_0x8767f^_0x499d7b]]],_0x43e87a^=_0x5077f9[_0x5077f9[_0x43e87a]]):_0x15f41d=_0x43e87a=0x1;}}());var _0x3bcfe3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2930b6=_0x2b3c9e['AES']=_0x230cbe[_0x1122bc(0x36b)]({'_doReset':function(){var _0x422559=_0x1122bc,_0x232504;if(!(this[_0x422559(0x80)]&&this['_keyPriorReset']===this[_0x422559(0x323)])){for(var _0x43a160=this[_0x422559(0x7e)]=this[_0x422559(0x323)],_0x313a9c=_0x43a160['words'],_0x3ba7a9=_0x43a160[_0x422559(0x1a4)]/0x4,_0x17b224=this[_0x422559(0x80)]=_0x3ba7a9+0x6,_0x27885b=(_0x17b224+0x1)*0x4,_0xa6e5c2=this['_keySchedule']=[],_0x502f83=0x0;_0x502f83<_0x27885b;_0x502f83++)_0x502f83<_0x3ba7a9?_0xa6e5c2[_0x502f83]=_0x313a9c[_0x502f83]:(_0x232504=_0xa6e5c2[_0x502f83-0x1],_0x502f83%_0x3ba7a9?_0x3ba7a9>0x6&&_0x502f83%_0x3ba7a9==0x4&&(_0x232504=_0x1cb622[_0x232504>>>0x18]<<0x18|_0x1cb622[_0x232504>>>0x10&0xff]<<0x10|_0x1cb622[_0x232504>>>0x8&0xff]<<0x8|_0x1cb622[_0x232504&0xff]):(_0x232504=_0x232504<<0x8|_0x232504>>>0x18,_0x232504=_0x1cb622[_0x232504>>>0x18]<<0x18|_0x1cb622[_0x232504>>>0x10&0xff]<<0x10|_0x1cb622[_0x232504>>>0x8&0xff]<<0x8|_0x1cb622[_0x232504&0xff],_0x232504^=_0x3bcfe3[_0x502f83/_0x3ba7a9|0x0]<<0x18),_0xa6e5c2[_0x502f83]=_0xa6e5c2[_0x502f83-_0x3ba7a9]^_0x232504);for(var _0x2c0097=this['_invKeySchedule']=[],_0x47d78c=0x0;_0x47d78c<_0x27885b;_0x47d78c++){var _0x502f83=_0x27885b-_0x47d78c;if(_0x47d78c%0x4)var _0x232504=_0xa6e5c2[_0x502f83];else var _0x232504=_0xa6e5c2[_0x502f83-0x4];_0x47d78c<0x4||_0x502f83<=0x4?_0x2c0097[_0x47d78c]=_0x232504:_0x2c0097[_0x47d78c]=_0x1139e5[_0x1cb622[_0x232504>>>0x18]]^_0x26b563[_0x1cb622[_0x232504>>>0x10&0xff]]^_0x21ee93[_0x1cb622[_0x232504>>>0x8&0xff]]^_0x5ab2d5[_0x1cb622[_0x232504&0xff]];}}},'encryptBlock':function(_0xfb8a84,_0x2d4738){var _0x311461=_0x1122bc;this[_0x311461(0x17a)](_0xfb8a84,_0x2d4738,this['_keySchedule'],_0x4d2a06,_0x2b3ea2,_0x1ef984,_0x41a192,_0x1cb622);},'decryptBlock':function(_0x53cfb0,_0x23fb71){var _0x37d2c9=_0x1122bc,_0x2464ff=_0x53cfb0[_0x23fb71+0x1];_0x53cfb0[_0x23fb71+0x1]=_0x53cfb0[_0x23fb71+0x3],_0x53cfb0[_0x23fb71+0x3]=_0x2464ff,this['_doCryptBlock'](_0x53cfb0,_0x23fb71,this[_0x37d2c9(0x174)],_0x1139e5,_0x26b563,_0x21ee93,_0x5ab2d5,_0x3b1b8a);var _0x2464ff=_0x53cfb0[_0x23fb71+0x1];_0x53cfb0[_0x23fb71+0x1]=_0x53cfb0[_0x23fb71+0x3],_0x53cfb0[_0x23fb71+0x3]=_0x2464ff;},'_doCryptBlock':function(_0x595763,_0x48bc81,_0xdbb2e7,_0xce9824,_0x5b5c31,_0x12abf0,_0x9ac97c,_0x5043ab){var _0x2437d1=_0x1122bc;for(var _0x5db89e=this[_0x2437d1(0x80)],_0x42fbe4=_0x595763[_0x48bc81]^_0xdbb2e7[0x0],_0x408dca=_0x595763[_0x48bc81+0x1]^_0xdbb2e7[0x1],_0x414c84=_0x595763[_0x48bc81+0x2]^_0xdbb2e7[0x2],_0x3a7e02=_0x595763[_0x48bc81+0x3]^_0xdbb2e7[0x3],_0xf34cba=0x4,_0x1e8b20=0x1;_0x1e8b20<_0x5db89e;_0x1e8b20++){var _0x51cd07=_0xce9824[_0x42fbe4>>>0x18]^_0x5b5c31[_0x408dca>>>0x10&0xff]^_0x12abf0[_0x414c84>>>0x8&0xff]^_0x9ac97c[_0x3a7e02&0xff]^_0xdbb2e7[_0xf34cba++],_0x127748=_0xce9824[_0x408dca>>>0x18]^_0x5b5c31[_0x414c84>>>0x10&0xff]^_0x12abf0[_0x3a7e02>>>0x8&0xff]^_0x9ac97c[_0x42fbe4&0xff]^_0xdbb2e7[_0xf34cba++],_0x26c057=_0xce9824[_0x414c84>>>0x18]^_0x5b5c31[_0x3a7e02>>>0x10&0xff]^_0x12abf0[_0x42fbe4>>>0x8&0xff]^_0x9ac97c[_0x408dca&0xff]^_0xdbb2e7[_0xf34cba++],_0x40936f=_0xce9824[_0x3a7e02>>>0x18]^_0x5b5c31[_0x42fbe4>>>0x10&0xff]^_0x12abf0[_0x408dca>>>0x8&0xff]^_0x9ac97c[_0x414c84&0xff]^_0xdbb2e7[_0xf34cba++];_0x42fbe4=_0x51cd07,_0x408dca=_0x127748,_0x414c84=_0x26c057,_0x3a7e02=_0x40936f;}var _0x51cd07=(_0x5043ab[_0x42fbe4>>>0x18]<<0x18|_0x5043ab[_0x408dca>>>0x10&0xff]<<0x10|_0x5043ab[_0x414c84>>>0x8&0xff]<<0x8|_0x5043ab[_0x3a7e02&0xff])^_0xdbb2e7[_0xf34cba++],_0x127748=(_0x5043ab[_0x408dca>>>0x18]<<0x18|_0x5043ab[_0x414c84>>>0x10&0xff]<<0x10|_0x5043ab[_0x3a7e02>>>0x8&0xff]<<0x8|_0x5043ab[_0x42fbe4&0xff])^_0xdbb2e7[_0xf34cba++],_0x26c057=(_0x5043ab[_0x414c84>>>0x18]<<0x18|_0x5043ab[_0x3a7e02>>>0x10&0xff]<<0x10|_0x5043ab[_0x42fbe4>>>0x8&0xff]<<0x8|_0x5043ab[_0x408dca&0xff])^_0xdbb2e7[_0xf34cba++],_0x40936f=(_0x5043ab[_0x3a7e02>>>0x18]<<0x18|_0x5043ab[_0x42fbe4>>>0x10&0xff]<<0x10|_0x5043ab[_0x408dca>>>0x8&0xff]<<0x8|_0x5043ab[_0x414c84&0xff])^_0xdbb2e7[_0xf34cba++];_0x595763[_0x48bc81]=_0x51cd07,_0x595763[_0x48bc81+0x1]=_0x127748,_0x595763[_0x48bc81+0x2]=_0x26c057,_0x595763[_0x48bc81+0x3]=_0x40936f;},'keySize':0x100/0x20});_0x13bd19['AES']=_0x230cbe[_0x1122bc(0x111)](_0x2930b6);}()),_0x5dd706[_0x4b6a49(0x2b6)];}));}(_0xe2b2c7)),_0xe2b2c7[_0xc7c574(0x3f3)];}var _0x565a7d=_0x9f0106();const _0x5966cc=_0x58088d(_0x565a7d);var _0x24305a=_0x8a71d1();const _0x737d89=_0x58088d(_0x24305a);var _0x27a7b9={'exports':{}},_0x52fe28=_0x27a7b9['exports'],_0x2a7cab;function _0x27ac40(){return _0x2a7cab||(_0x2a7cab=0x1,function(_0x140740,_0x49732b){(function(_0x556bb9,_0xa2015){_0x140740['exports']=_0xa2015(_0x2303bf());}(_0x52fe28,function(_0x373c7d){var _0x518ce0=_0x572e;return _0x373c7d[_0x518ce0(0x93)][_0x518ce0(0x217)];}));}(_0x27a7b9)),_0x27a7b9['exports'];}var _0xa44ce6=_0x27ac40();const _0x3912bd=_0x58088d(_0xa44ce6);var _0x183055={'exports':{}},_0x397627=_0x183055[_0x509db9(0x3f3)],_0x385ee1;function _0x300dd0(){return _0x385ee1||(_0x385ee1=0x1,function(_0x4b421c,_0x237be8){(function(_0x530a44,_0x2c2d6b){var _0xc36650=_0x572e;_0x4b421c[_0xc36650(0x3f3)]=_0x2c2d6b(_0x2303bf());}(_0x397627,function(_0xc3c894){var _0x240687=_0x572e;return(function(){var _0x581a51=_0x572e;if(typeof ArrayBuffer==_0x581a51(0x409)){var _0x23289c=_0xc3c894,_0x19672e=_0x23289c[_0x581a51(0x1cb)],_0x106ffd=_0x19672e[_0x581a51(0x213)],_0xac8949=_0x106ffd['init'],_0x1ebf6e=_0x106ffd[_0x581a51(0x2f7)]=function(_0x26bd9b){var _0x2cf2a8=_0x581a51;if(_0x26bd9b instanceof ArrayBuffer&&(_0x26bd9b=new Uint8Array(_0x26bd9b)),(_0x26bd9b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26bd9b instanceof Uint8ClampedArray||_0x26bd9b instanceof Int16Array||_0x26bd9b instanceof Uint16Array||_0x26bd9b instanceof Int32Array||_0x26bd9b instanceof Uint32Array||_0x26bd9b instanceof Float32Array||_0x26bd9b instanceof Float64Array)&&(_0x26bd9b=new Uint8Array(_0x26bd9b['buffer'],_0x26bd9b[_0x2cf2a8(0x3d4)],_0x26bd9b['byteLength'])),_0x26bd9b instanceof Uint8Array){for(var _0x564a4c=_0x26bd9b['byteLength'],_0x2ba62a=[],_0x2fa584=0x0;_0x2fa584<_0x564a4c;_0x2fa584++)_0x2ba62a[_0x2fa584>>>0x2]|=_0x26bd9b[_0x2fa584]<<0x18-_0x2fa584%0x4*0x8;_0xac8949[_0x2cf2a8(0xc8)](this,_0x2ba62a,_0x564a4c);}else _0xac8949['apply'](this,arguments);};_0x1ebf6e['prototype']=_0x106ffd;}}()),_0xc3c894['lib'][_0x240687(0x213)];}));}(_0x183055)),_0x183055['exports'];}var _0x4173f9=_0x300dd0();const _0x4a2270=_0x58088d(_0x4173f9);var _0x1a22e8={'exports':{}},_0x4b990f=_0x1a22e8[_0x509db9(0x3f3)],_0x21adac;function _0x4cdcb1(){var _0x346192=_0x509db9;return _0x21adac||(_0x21adac=0x1,function(_0xbdd102,_0x5d3137){(function(_0x20d970,_0x48b25c,_0x28d1e0){var _0x2cbd0e=_0x572e;_0xbdd102[_0x2cbd0e(0x3f3)]=_0x48b25c(_0x2303bf(),_0x285f87());}(_0x4b990f,function(_0x468fc5){var _0x2489be=_0x572e;return _0x468fc5['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x468fc5[_0x2489be(0x188)]['NoPadding'];}));}(_0x1a22e8)),_0x1a22e8[_0x346192(0x3f3)];}var _0x19f378=_0x4cdcb1();const _0x10e367=_0x58088d(_0x19f378);function _0x51d599(_0x45e2a7,_0x1a2d9e){var _0x4cfeb7=_0x509db9;const _0x24cfe7=_0x1a2d9e-_0x45e2a7[_0x4cfeb7(0x2e9)]%_0x1a2d9e,_0x29f2ef=String[_0x4cfeb7(0x315)](_0x24cfe7)[_0x4cfeb7(0x3b2)](_0x24cfe7);return _0x45e2a7+_0x29f2ef;}function _0x447a42(_0x27d8c9,_0x18430f){var _0x18de7b=_0x509db9;const _0x2e0a11=_0x4a2270[_0x18de7b(0x303)](0x10),_0x5a582a=_0x51d599(_0x27d8c9,0x10),_0x2a7c43=_0x5966cc[_0x18de7b(0x1fc)](_0x3912bd['parse'](_0x5a582a),_0x737d89[_0x18de7b(0x3d2)](_0x18430f),{'iv':_0x2e0a11,'padding':_0x10e367});return _0x2e0a11[_0x18de7b(0x27b)](_0x2a7c43[_0x18de7b(0x2fc)])['toString'](_0x737d89);}function _0x132003(){var _0x5106d=_0x509db9;const _0x429316=_0x349663['getGlobalObject']()[_0x5106d(0x318)];if(_0x429316){const _0x205865={'time':Math[_0x5106d(0x179)](Date[_0x5106d(0x22c)]()/0x3e8),'domain':location['hostname']};return _0x447a42(JSON[_0x5106d(0xa1)](_0x205865),_0x429316);}}var _0x2ba689=Object['getOwnPropertyDescriptor'],_0x155794=(_0x493662,_0x4defba,_0x293cbd,_0x319d43)=>{var _0xfa1fa4=_0x509db9;for(var _0x3cb5f9=_0x319d43>0x1?void 0x0:_0x319d43?_0x2ba689(_0x4defba,_0x293cbd):_0x4defba,_0x165376=_0x493662[_0xfa1fa4(0x2e9)]-0x1,_0x464f24;_0x165376>=0x0;_0x165376--)(_0x464f24=_0x493662[_0x165376])&&(_0x3cb5f9=_0x464f24(_0x3cb5f9)||_0x3cb5f9);return _0x3cb5f9;},_0x45520a=(_0x208593,_0x55dfdd)=>(_0x1d2962,_0x4d1baa)=>_0x55dfdd(_0x1d2962,_0x4d1baa,_0x208593);let _0x16dfd7=class{constructor(_0x16b45e){var _0x52431d=_0x509db9;this[_0x52431d(0x2b2)]=_0x16b45e,this['_initRequestHeader']();}[_0x509db9(0x393)](){var _0x3b160a=_0x509db9;this[_0x3b160a(0x2b2)]['registerHTTPInterceptor']({'interceptor':(_0x8d7af6,_0x54c216)=>{var _0x2b2f86=_0x3b160a;const _0x1120d4=_0x8d7af6[_0x2b2f86(0x375)],_0x35a44a=_0x132003();return _0x35a44a&&_0x1120d4[_0x2b2f86(0xa8)](_0x2b2f86(0xcf),_0x35a44a),_0x54c216(_0x8d7af6);}});}};_0x16dfd7=_0x155794([_0x45520a(0x0,_0x593ae3['Inject'](_0x38c133[_0x509db9(0x3e6)]))],_0x16dfd7);var _0x3ea10a=Object[_0x509db9(0x3d7)],_0x7aac=(_0x1d7db2,_0x1467f7,_0x5bd937,_0x389f68)=>{var _0x24e64d=_0x509db9;for(var _0xfade0=_0x389f68>0x1?void 0x0:_0x389f68?_0x3ea10a(_0x1467f7,_0x5bd937):_0x1467f7,_0x381cfb=_0x1d7db2[_0x24e64d(0x2e9)]-0x1,_0x239e54;_0x381cfb>=0x0;_0x381cfb--)(_0x239e54=_0x1d7db2[_0x381cfb])&&(_0xfade0=_0x239e54(_0xfade0)||_0xfade0);return _0xfade0;},_0x2632f6=(_0x311df2,_0x288987)=>(_0x399a12,_0x2c911f)=>_0x288987(_0x399a12,_0x2c911f,_0x311df2);_0x313ef4[_0x509db9(0xf7)]=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0xf5b160,_0x4005e5,_0x3424ab){var _0x56e956=_0x509db9;super(),_0x309c0d(this,_0x56e956(0x2c1),new _0x2ff251['BehaviorSubject'](null)),_0x309c0d(this,_0x56e956(0x10f),this[_0x56e956(0x2c1)][_0x56e956(0x203)]()),(this[_0x56e956(0x2a8)]=_0xf5b160,this[_0x56e956(0x378)]=_0x4005e5,this[_0x56e956(0x86)]=_0x3424ab);}async[_0x509db9(0x16e)](_0x5a9818,_0x40d4c0,_0xb8fc0a){var _0x5b0427=_0x509db9;this[_0x5b0427(0x2c1)][_0x5b0427(0xda)]({'unitId':_0x5a9818,'type':_0x40d4c0});let _0x1dcb00=null;switch(_0x40d4c0){case _0x5dd1fb['UNIVER_SHEET']:{_0x1dcb00=await this[_0x5b0427(0x378)][_0x5b0427(0x222)](_0x5a9818,_0xb8fc0a);break;}case _0x5dd1fb[_0x5b0427(0x3b0)]:{_0x1dcb00=await this[_0x5b0427(0x378)]['loadDoc'](_0x5a9818,_0xb8fc0a);break;}default:{this['_logService'][_0x5b0427(0x2cd)](_0x5b0427(0x22a),_0x5b0427(0x22d));break;}}return _0x1dcb00;}async['loadUnit'](_0x4dc5fc,_0x1dee01,_0x44c3fd){var _0x168d54=_0x509db9,_0x3a29b9;this['_unitInfo$']['next']({'unitId':_0x4dc5fc,'type':_0x1dee01,'subUnitId':_0x44c3fd});let _0x1305f3=0x0;const _0x1fb04f=await((_0x3a29b9=this[_0x168d54(0x86)])==null?void 0x0:_0x3a29b9[_0x168d54(0x364)](_0x4dc5fc));return _0x1fb04f&&(_0x1fb04f[_0x168d54(0x105)]||_0x1fb04f[_0x168d54(0x135)][_0x168d54(0x2e9)]!==0x0)&&(_0x1305f3=_0x1fb04f[_0x168d54(0x168)]),_0x1305f3===0x0&&this['_logService'][_0x168d54(0x26b)]('[DataLoaderService]',_0x168d54(0x236)),this[_0x168d54(0x16e)](_0x4dc5fc,_0x1dee01,_0x1305f3);}},_0x313ef4[_0x509db9(0xf7)]=_0x7aac([_0x2632f6(0x0,_0x593ae3['ILogService']),_0x2632f6(0x1,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0xd3)])),_0x2632f6(0x2,_0x593ae3['Optional'](_0x192e9c))],_0x313ef4['DataLoaderService']);var _0xcd0b76=Object[_0x509db9(0x3d7)],_0x3d9f2f=(_0x2dcd09,_0xa9c461,_0x5d185e,_0x4fb3b6)=>{var _0xb5cb93=_0x509db9;for(var _0x4ae1b6=_0x4fb3b6>0x1?void 0x0:_0x4fb3b6?_0xcd0b76(_0xa9c461,_0x5d185e):_0xa9c461,_0x3757a5=_0x2dcd09[_0xb5cb93(0x2e9)]-0x1,_0x49da79;_0x3757a5>=0x0;_0x3757a5--)(_0x49da79=_0x2dcd09[_0x3757a5])&&(_0x4ae1b6=_0x49da79(_0x4ae1b6)||_0x4ae1b6);return _0x4ae1b6;},_0xaedea1=(_0x30dcde,_0x3bcc7c)=>(_0x224bad,_0x301b89)=>_0x3bcc7c(_0x224bad,_0x301b89,_0x30dcde);const _0x3ede90=[_0x509db9(0x24b),_0x509db9(0x368),_0x509db9(0x2b4),_0x509db9(0x2dc),'image/bmp'],_0x2553f4=0x5*0x400*0x400,_0x40c5d4=_0x509db9(0x34a),_0x3d03f4=_0x509db9(0x194);_0x313ef4[_0x509db9(0x2c9)]=class{constructor(_0x1c054b,_0x317a6b,_0x2e127f){var _0x41ab58=_0x509db9;_0x309c0d(this,_0x41ab58(0x18d),0x0),_0x309c0d(this,'_change$',new _0x2ff251['Subject']()),_0x309c0d(this,_0x41ab58(0x1cc),this[_0x41ab58(0x2dd)]),_0x309c0d(this,_0x41ab58(0x1f5),new Map()),(this[_0x41ab58(0x2b2)]=_0x1c054b,this['_configService']=_0x317a6b,this[_0x41ab58(0x281)]=_0x2e127f);}['setWaitCount'](_0x22ace6){var _0xeffb63=_0x509db9;this['_waitCount']=_0x22ace6,this[_0xeffb63(0x2dd)][_0xeffb63(0xda)](_0x22ace6);}[_0x509db9(0x2db)](_0x4a2317,_0x56cd44){var _0x4e55d1=_0x509db9;if(_0x56cd44===_0x3fed8b['ImageSourceType'][_0x4e55d1(0x2ae)]){const _0x5cbb39=new Image();return _0x5cbb39[_0x4e55d1(0x23f)]=_0x4a2317,_0x5cbb39;}return this[_0x4e55d1(0x1f5)][_0x4e55d1(0xa5)](_0x4a2317);}['addImageSourceCache'](_0x44dc7d,_0x4e9622,_0x76a53e){var _0x4e7d8d=_0x509db9;_0x4e9622===_0x3fed8b[_0x4e7d8d(0x16b)][_0x4e7d8d(0x2ae)]||_0x76a53e==null||this[_0x4e7d8d(0x1f5)]['set'](_0x44dc7d,_0x76a53e);}async[_0x509db9(0x2b3)](_0x25569b){var _0x2a3eac=_0x509db9;try{const _0x369ddc=this[_0x2a3eac(0x3fc)](this[_0x2a3eac(0x348)](),''+_0x25569b),_0x3f9fab=(await this[_0x2a3eac(0x2b2)][_0x2a3eac(0xa5)](_0x369ddc))[_0x2a3eac(0x3dc)];if(_0x3f9fab[_0x2a3eac(0x2cd)]&&_0x3f9fab[_0x2a3eac(0x2cd)][_0x2a3eac(0x142)]===_0x56ddea['OK']){const _0x6b2f09=new URL(_0x3f9fab['url'],this[_0x2a3eac(0x2fd)]())[_0x2a3eac(0x1fe)]();return Promise[_0x2a3eac(0x39a)](_0x6b2f09);}return Promise[_0x2a3eac(0x256)](_0x3f9fab[_0x2a3eac(0x2cd)]);}catch(_0x522a61){return Promise['reject'](_0x522a61);}}async[_0x509db9(0x1ae)](_0x3d032c){var _0x24e8a8=_0x509db9;let _0x50dbc0='';if(!_0x3ede90[_0x24e8a8(0x16f)](_0x3d032c[_0x24e8a8(0xfd)]))return this[_0x24e8a8(0x3a8)](),Promise[_0x24e8a8(0x256)](new Error(_0x3fed8b[_0x24e8a8(0x297)]['ERROR_IMAGE_TYPE']));if(_0x3d032c['size']>_0x2553f4)return this[_0x24e8a8(0x3a8)](),Promise['reject'](new Error(_0x3fed8b['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0xc8b505=new FormData();_0xc8b505[_0x24e8a8(0x2b5)](_0x24e8a8(0x12e),_0x3d032c);const _0x12d9ad=this[_0x24e8a8(0x281)][_0x24e8a8(0x18e)](),_0x550d78=_0x12d9ad==null?void 0x0:_0x12d9ad[_0x24e8a8(0x382)]();if(!_0x550d78)throw new Error('unitId\x20is\x20not\x20found');const _0x1cc7e9=this['_getUploadFileURL']()+_0x24e8a8(0x2e6)+_0x3d032c['size'][_0x24e8a8(0x1fe)]()+_0x24e8a8(0x3aa)+_0x138411[_0x24e8a8(0x1b0)]+_0x24e8a8(0x27e)+encodeURIComponent(_0x550d78),_0x3d0715={'body':_0xc8b505},_0x2ed1aa=(await this['_httpService']['post'](_0x1cc7e9,_0x3d0715))[_0x24e8a8(0x3dc)];if(typeof _0x2ed1aa[_0x24e8a8(0x294)]!=_0x24e8a8(0x209))return this['_decreaseWaiting'](),Promise[_0x24e8a8(0x256)](new Error(_0x3fed8b[_0x24e8a8(0x297)][_0x24e8a8(0x14b)]));_0x50dbc0=_0x2ed1aa[_0x24e8a8(0x294)];}catch{return this['_decreaseWaiting'](),Promise[_0x24e8a8(0x256)](new Error(_0x3fed8b[_0x24e8a8(0x297)]['ERROR_IMAGE']));}return new Promise((_0x22f8c4,_0x36ab56)=>{const _0x4e6c1d=new FileReader();_0x4e6c1d['readAsDataURL'](_0x3d032c),_0x4e6c1d['onload']=_0x170102=>{var _0x4baddc=_0x572e,_0x4d5d5e;const _0x424775=(_0x4d5d5e=_0x170102[_0x4baddc(0xb9)])==null?void 0x0:_0x4d5d5e[_0x4baddc(0x419)];if(_0x424775==null){this[_0x4baddc(0x3a8)](),_0x36ab56(new Error(_0x3fed8b['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x5a9e53=_0x593ae3[_0x4baddc(0x29d)](0x6);_0x22f8c4({'imageId':_0x5a9e53,'imageSourceType':_0x3fed8b[_0x4baddc(0x16b)][_0x4baddc(0xce)],'source':_0x50dbc0,'base64Cache':_0x424775,'status':_0x3fed8b[_0x4baddc(0x297)]['SUCCUSS']}),this[_0x4baddc(0x3a8)]();};});}[_0x509db9(0xc4)](){var _0x373a02=_0x509db9,_0x49d8b3;const _0x3c709d=this[_0x373a02(0x15b)]['getConfig'](_0x9fbd4f);return(_0x49d8b3=_0x3c709d==null?void 0x0:_0x3c709d[_0x373a02(0x245)])!=null?_0x49d8b3:_0x40c5d4;}[_0x509db9(0x348)](){var _0x4aca9f=_0x509db9,_0x1f5e8d;const _0x53db18=this['_configService']['getConfig'](_0x9fbd4f);return(_0x1f5e8d=_0x53db18==null?void 0x0:_0x53db18[_0x4aca9f(0x28e)])!=null?_0x1f5e8d:_0x3d03f4;}[_0x509db9(0x2fd)](){var _0x26a324=_0x509db9,_0x362633;const _0x327d98=this[_0x26a324(0x15b)][_0x26a324(0x1a7)](_0x9fbd4f);return(_0x362633=_0x327d98==null?void 0x0:_0x327d98[_0x26a324(0x18a)])!=null?_0x362633:location[_0x26a324(0x30a)];}[_0x509db9(0x3fc)](_0x2a6236,_0x2081a1){var _0x1236b=_0x509db9;return _0x2a6236[_0x1236b(0x416)](_0x1236b(0x2c4),_0x2081a1);}[_0x509db9(0x3a8)](){var _0x42c713=_0x509db9;this[_0x42c713(0x18d)]-=0x1,this[_0x42c713(0x2dd)]['next'](this[_0x42c713(0x18d)]);}},_0x313ef4[_0x509db9(0x2c9)]=_0x3d9f2f([_0xaedea1(0x0,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0xaedea1(0x1,_0x593ae3[_0x509db9(0x1c0)]),_0xaedea1(0x2,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x1bc)]))],_0x313ef4[_0x509db9(0x2c9)]);var _0x30fb2a=Object[_0x509db9(0x3d7)],_0x403e84=(_0x3ee570,_0x3e0d24,_0x2959bf,_0x519625)=>{for(var _0x6b2c49=_0x519625>0x1?void 0x0:_0x519625?_0x30fb2a(_0x3e0d24,_0x2959bf):_0x3e0d24,_0x799086=_0x3ee570['length']-0x1,_0x4e938d;_0x799086>=0x0;_0x799086--)(_0x4e938d=_0x3ee570[_0x799086])&&(_0x6b2c49=_0x4e938d(_0x6b2c49)||_0x6b2c49);return _0x6b2c49;},_0x53e041=(_0x1dd829,_0x59d29d)=>(_0x5805b8,_0x37286e)=>_0x59d29d(_0x5805b8,_0x37286e,_0x1dd829);const _0x20e0b9=_0x509db9(0x3a5);_0x313ef4['MentionIoHttpService']=class{constructor(_0x4dc5a7,_0x49a9f3){var _0x26832f=_0x509db9;this[_0x26832f(0x15b)]=_0x4dc5a7,this[_0x26832f(0x363)]=_0x49a9f3;}[_0x509db9(0x16d)](){var _0x2f55e4=_0x509db9,_0x2c2516;const _0x22ba82=this[_0x2f55e4(0x15b)][_0x2f55e4(0x1a7)](_0x9fbd4f);return(_0x2c2516=_0x22ba82==null?void 0x0:_0x22ba82[_0x2f55e4(0x38d)])!=null?_0x2c2516:_0x20e0b9;}async[_0x509db9(0x387)](_0x5623cf){var _0x145043=_0x509db9;const _0x1e093d=this[_0x145043(0x16d)]()+'/collaborator';return{'list':[{'title':_0x145043(0x1c9),'mentions':(await this[_0x145043(0x363)]['get'](_0x1e093d,{'params':{'objectID':_0x5623cf[_0x145043(0x339)],'unitID':_0x5623cf[_0x145043(0x339)]}}))[_0x145043(0x3dc)][_0x145043(0x344)]['map'](_0x565880=>({'objectId':_0x565880['id'],'name':_0x565880[_0x145043(0x251)][_0x145043(0x371)],'metadata':{'icon':_0x565880['subject']['avatar']},'label':_0x565880[_0x145043(0x251)][_0x145043(0x371)],'objectType':_0x593ae3[_0x145043(0xb5)]['PERSON']})),'metadata':{},'type':_0x593ae3[_0x145043(0xb5)][_0x145043(0x330)]}]};}},_0x313ef4['MentionIoHttpService']=_0x403e84([_0x53e041(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['IConfigService'])),_0x53e041(0x1,_0x593ae3['Inject'](_0x38c133[_0x509db9(0x3e6)]))],_0x313ef4[_0x509db9(0x2bb)]);var _0x582f80=Object['getOwnPropertyDescriptor'],_0x4aee48=(_0x57a81c,_0x502ccb,_0x299ee6,_0x5e8fbb)=>{var _0x826a40=_0x509db9;for(var _0x4f2645=_0x5e8fbb>0x1?void 0x0:_0x5e8fbb?_0x582f80(_0x502ccb,_0x299ee6):_0x502ccb,_0x39876c=_0x57a81c[_0x826a40(0x2e9)]-0x1,_0x2d07be;_0x39876c>=0x0;_0x39876c--)(_0x2d07be=_0x57a81c[_0x39876c])&&(_0x4f2645=_0x2d07be(_0x4f2645)||_0x4f2645);return _0x4f2645;},_0x203e3b=(_0x4d211b,_0x150e89)=>(_0x56c278,_0x43c473)=>_0x150e89(_0x56c278,_0x43c473,_0x4d211b);let _0x5878a5=class extends _0x593ae3['RxDisposable']{constructor(_0x37ab89,_0x1cafed,_0x4dbd54,_0x2d15b3,_0x55a1c1){var _0xdad672=_0x509db9;super(),this['_injector']=_0x37ab89,this['_univerInstanceService']=_0x1cafed,this[_0xdad672(0x1de)]=_0x4dbd54,this['_collaborationSessionService']=_0x2d15b3,this[_0xdad672(0x20c)]=_0x55a1c1,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x509db9(0x347)](){var _0x161200=_0x509db9;const _0x3b0c5d=async _0x39c16e=>{var _0x5c8acb=_0x572e;(await this['_collaborationSessionService'][_0x5c8acb(0x296)](_0x39c16e))['event$']['pipe'](_0x137fa6[_0x5c8acb(0xbd)](_0x4c2ee1=>_0x4c2ee1[_0x5c8acb(0x240)]===_0xdad847[_0x5c8acb(0x343)]['SHOULD_CLOSE_CONN']),_0x137fa6['takeUntil'](this[_0x5c8acb(0x429)]))[_0x5c8acb(0xa2)](_0x87eb78=>{var _0x8c4285=_0x5c8acb;const _0x2af369=_0x87eb78,{reason:_0x139ece}=_0x2af369[_0x8c4285(0xc3)];this[_0x8c4285(0x20c)]['emitEvent']({'id':_0x7c51aa[_0x8c4285(0x1c4)],'data':_0x139ece}),this[_0x8c4285(0x1de)][_0x8c4285(0x23a)](new _0x196ab6[(_0x8c4285(0x2d3))](_0x39c16e)['id'],!0x1),this[_0x8c4285(0x1f2)][_0x8c4285(0x32f)](_0x39c16e);});};_0x2ff251[_0x161200(0x1e6)](this[_0x161200(0x281)][_0x161200(0x144)](_0x593ae3[_0x161200(0x119)][_0x161200(0x155)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x593ae3['UniverInstanceType'][_0x161200(0x3b0)]))['pipe'](_0x137fa6[_0x161200(0xb1)](_0xf7122=>_0xf7122['getUnitId']()),_0x137fa6[_0x161200(0xbd)](_0x2b87a2=>!_0x593ae3[_0x161200(0x42a)](_0x2b87a2)),_0x137fa6['takeUntil'](this[_0x161200(0x429)]))[_0x161200(0xa2)](_0x4cc475=>{_0x3b0c5d(_0x4cc475);});}[_0x509db9(0x1e7)](){var _0x5c05f9=_0x509db9;const _0x4b3405=async _0x1d3cec=>{var _0x33c15a=_0x572e;const _0x32160a=await this[_0x33c15a(0x1f2)]['requireSession'](_0x1d3cec),_0x304073=this[_0x33c15a(0x397)]['get'](_0x196ab6[_0x33c15a(0x267)]);_0x32160a['event$'][_0x33c15a(0x8f)](_0x137fa6[_0x33c15a(0xbd)](_0x1f3176=>_0x1f3176[_0x33c15a(0x240)]===_0xdad847[_0x33c15a(0x343)][_0x33c15a(0x13a)]),_0x137fa6[_0x33c15a(0x1b7)](this[_0x33c15a(0x429)]))['subscribe'](_0x535f36=>{var _0x3fc0b1=_0x33c15a;const _0x40da2f=_0x535f36,{objectId:_0x3b8978}=_0x40da2f[_0x3fc0b1(0xc3)];_0x3b8978===_0x1d3cec?_0x304073[_0x3fc0b1(0x300)](_0x1d3cec):_0x304073[_0x3fc0b1(0x3ab)](_0x1d3cec,_0x3b8978);});};_0x2ff251['merge'](this[_0x5c05f9(0x281)][_0x5c05f9(0x144)](_0x593ae3[_0x5c05f9(0x119)][_0x5c05f9(0x155)]))['pipe'](_0x137fa6['map'](_0x2e1549=>_0x2e1549[_0x5c05f9(0x382)]()),_0x137fa6[_0x5c05f9(0xbd)](_0x57dc6b=>!_0x593ae3[_0x5c05f9(0x42a)](_0x57dc6b)),_0x137fa6[_0x5c05f9(0x1b7)](this[_0x5c05f9(0x429)]))['subscribe'](_0x27ae96=>{_0x4b3405(_0x27ae96);});}};_0x5878a5=_0x4aee48([_0x203e3b(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x203e3b(0x1,_0x593ae3[_0x509db9(0x1bc)]),_0x203e3b(0x2,_0x593ae3[_0x509db9(0x3d5)]),_0x203e3b(0x3,_0x593ae3['Inject'](_0x313ef4['CollaborationSessionService'])),_0x203e3b(0x4,_0x593ae3['Inject'](_0x1e55fc))],_0x5878a5);var _0x3fe915=Object['getOwnPropertyDescriptor'],_0xa7f767=(_0x19785f,_0x1c19ae,_0x1b48fc,_0x4f11db)=>{var _0x2879ca=_0x509db9;for(var _0x5bd4c4=_0x4f11db>0x1?void 0x0:_0x4f11db?_0x3fe915(_0x1c19ae,_0x1b48fc):_0x1c19ae,_0x537a87=_0x19785f[_0x2879ca(0x2e9)]-0x1,_0x496d3d;_0x537a87>=0x0;_0x537a87--)(_0x496d3d=_0x19785f[_0x537a87])&&(_0x5bd4c4=_0x496d3d(_0x5bd4c4)||_0x5bd4c4);return _0x5bd4c4;},_0x564755=(_0x5a6bd9,_0xaa807)=>(_0x16ea3b,_0x4ddf07)=>_0xaa807(_0x16ea3b,_0x4ddf07,_0x5a6bd9);_0x313ef4[_0x509db9(0x2f8)]=class{constructor(_0x5c2978,_0x4f9795){var _0x55c1d8=_0x509db9;this[_0x55c1d8(0x15b)]=_0x5c2978,this[_0x55c1d8(0x2b2)]=_0x4f9795;}async[_0x509db9(0x25a)](_0x175ad8,_0x166a42){var _0x48c5e4=_0x509db9,_0x63ec76;const {unitID:_0xc941ee,type:_0x5e67ff,revision:_0x4515b2=0x0}=_0x166a42,_0x590781=this[_0x48c5e4(0x349)]()+'/'+_0x5e67ff+_0x48c5e4(0x151)+_0xc941ee+_0x48c5e4(0x1c2)+_0x4515b2,_0x22aa75=(await this[_0x48c5e4(0x2b2)][_0x48c5e4(0xa5)](_0x590781))[_0x48c5e4(0x3dc)],_0x319167=(_0x63ec76=_0x22aa75[_0x48c5e4(0x3a1)])==null?void 0x0:_0x63ec76[_0x48c5e4(0x16c)];if(_0x319167){const _0xe3e06=_0x319167==null?void 0x0:_0x319167[_0x48c5e4(0x3f0)],_0x239b96=_0xdad847[_0x48c5e4(0x377)][_0x48c5e4(0x3ac)](_0xdad847[_0x48c5e4(0x1f1)](_0xe3e06));_0x319167[_0x48c5e4(0x3f0)]=_0x239b96,Object[_0x48c5e4(0x312)](_0x319167[_0x48c5e4(0x326)])[_0x48c5e4(0x10a)](([,_0x5ab009])=>{var _0x28e17f=_0x48c5e4;const _0x5cf96c=_0x5ab009[_0x28e17f(0x3f0)],_0x49d5fd=_0xdad847['textEncoder']['encode'](_0xdad847['b64DecodeUnicode'](_0x5cf96c));_0x5ab009[_0x28e17f(0x3f0)]=_0x49d5fd;});}return _0x22aa75;}async['getSheetBlock'](_0x38673b,_0x1fa33f){var _0x39320b=_0x509db9;const {unitID:_0x1d442f,type:_0x52eae6,blockID:_0x2f6fc2}=_0x1fa33f,_0x2ebb10=this[_0x39320b(0x289)]()+'/'+_0x52eae6+_0x39320b(0x151)+_0x1d442f+'/block/'+_0x2f6fc2;return(await this[_0x39320b(0x2b2)]['get'](_0x2ebb10))['body'];}async[_0x509db9(0x28a)](_0x5bd13b,_0x1ffa5a){var _0x40dd0e=_0x509db9;const {unitID:_0x18454f,type:_0x54e189,blockID:_0x567111}=_0x1ffa5a,_0x3512a1=this[_0x40dd0e(0x289)]()+_0x40dd0e(0x32d)+_0x54e189+'/unit/'+_0x18454f+_0x40dd0e(0x32d)+_0x567111;return(await this[_0x40dd0e(0x2b2)][_0x40dd0e(0xa5)](_0x3512a1))[_0x40dd0e(0x3dc)];}async[_0x509db9(0x25f)](_0x46ccfd,_0x55e8a1){var _0x5eccd6=_0x509db9;const {unitID:_0x3895e6,type:_0x45b9c1,from:_0x28fbda,to:_0x2a1c21}=_0x55e8a1,_0x5ef216=this[_0x5eccd6(0x289)]()+'/'+_0x45b9c1+_0x5eccd6(0x151)+_0x3895e6+'/fetchmissing?from='+_0x28fbda+'&to='+_0x2a1c21;return(await this['_httpService'][_0x5eccd6(0xa5)](_0x5ef216))[_0x5eccd6(0x3dc)];}[_0x509db9(0x349)](){var _0x3c5496=_0x509db9,_0x53374e;return(_0x53374e=this[_0x3c5496(0x15b)][_0x3c5496(0x1a7)](_0x16ba83))!=null?_0x53374e:this[_0x3c5496(0x289)]();}[_0x509db9(0x289)](){var _0x3905b0=_0x509db9,_0x59c39c;const _0x5b753e=this['_configService'][_0x3905b0(0x1a7)](_0x9fbd4f);return(_0x59c39c=_0x5b753e==null?void 0x0:_0x5b753e[_0x3905b0(0x185)])!=null?_0x59c39c:_0x21d126;}async[_0x509db9(0x13d)](_0x540362,_0x2853ac){var _0x27d402=_0x509db9;const _0x3408d5=_0x27d402(0xfa)+_0x2853ac[_0x27d402(0xfd)]+'/unit/'+_0x2853ac['unitID']+_0x27d402(0x14a);return(await this['_httpService'][_0x27d402(0xa5)](_0x3408d5,{'params':{'resourceId':JSON[_0x27d402(0xa1)](_0x2853ac[_0x27d402(0x167)])}}))[_0x27d402(0x3dc)];}[_0x509db9(0x311)](){var _0x4fa402=_0x509db9;throw new Error(_0x4fa402(0x2b8));}[_0x509db9(0x208)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x509db9(0x243)](){var _0x20c928=_0x509db9;throw new Error(_0x20c928(0x2b8));}[_0x509db9(0x3bd)](){var _0x2df5de=_0x509db9;throw new Error(_0x2df5de(0x2b8));}['copyFileMeta'](){var _0x1a0d41=_0x509db9;throw new Error(_0x1a0d41(0x2b8));}[_0x509db9(0x282)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x313ef4[_0x509db9(0x2f8)]=_0xa7f767([_0x564755(0x0,_0x593ae3[_0x509db9(0x1c0)]),_0x564755(0x1,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)]))],_0x313ef4[_0x509db9(0x2f8)]);var _0x5e1cdd=Object['getOwnPropertyDescriptor'],_0x57e67b=(_0x3b88fd,_0x314ebd,_0x3f2c55,_0x32033e)=>{var _0xec64a4=_0x509db9;for(var _0x3385f4=_0x32033e>0x1?void 0x0:_0x32033e?_0x5e1cdd(_0x314ebd,_0x3f2c55):_0x314ebd,_0x5352df=_0x3b88fd[_0xec64a4(0x2e9)]-0x1,_0x9143bf;_0x5352df>=0x0;_0x5352df--)(_0x9143bf=_0x3b88fd[_0x5352df])&&(_0x3385f4=_0x9143bf(_0x3385f4)||_0x3385f4);return _0x3385f4;},_0x2c4d56=(_0x1eeb4a,_0x1f3eac)=>(_0x2f5a9e,_0x56ef90)=>_0x1f3eac(_0x2f5a9e,_0x56ef90,_0x1eeb4a);_0x313ef4[_0x509db9(0x121)]=class extends _0x593ae3[_0x509db9(0xef)]{constructor(_0x4ddc49,_0x2f5bbf,_0x56ceb9,_0x27bc30,_0x1f96bf){var _0x1f071c=_0x509db9;super(_0x4ddc49,_0x2f5bbf,_0x56ceb9),this['_transformService']=_0x27bc30,this[_0x1f071c(0x2a8)]=_0x1f96bf;}[_0x509db9(0x130)](_0xc49084,_0x21b413){var _0x10b728=_0x509db9;const _0x5ad6b5=this[_0x10b728(0x182)](_0xc49084);if(_0x5ad6b5)try{const _0x408c95=this[_0x10b728(0x1e3)](_0x5ad6b5,_0x21b413);this['_substituteUndoStack'](_0xc49084,_0x408c95);}catch(_0xfb9a5d){this['_logService']['error'](_0x10b728(0x36a),_0xfb9a5d),this['_clearUndo'](_0xc49084);}const _0x189603=this[_0x10b728(0x3e7)](_0xc49084);if(_0x189603)try{const _0x3600ab=this[_0x10b728(0x1e3)](_0x189603,_0x21b413);this[_0x10b728(0xcc)](_0xc49084,_0x3600ab);}catch(_0x18597d){this[_0x10b728(0x2a8)]['error'](_0x18597d),this[_0x10b728(0x113)](_0xc49084);}}['_clearUndo'](_0x136670){var _0x56f0d9=_0x509db9;const _0x567356=this[_0x56f0d9(0x182)](_0x136670);_0x567356&&(_0x567356[_0x56f0d9(0x2e9)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x514156){var _0x1d1897=_0x509db9;const _0x513138=this[_0x1d1897(0x3e7)](_0x514156);_0x513138&&(_0x513138[_0x1d1897(0x2e9)]=0x0,this[_0x1d1897(0x8b)]());}[_0x509db9(0x41e)](_0x114bb6,_0x1c1777){var _0xd38668=_0x509db9;this[_0xd38668(0x212)][_0xd38668(0xa8)](_0x114bb6,_0x1c1777),this[_0xd38668(0x8b)]();}[_0x509db9(0xcc)](_0x2b6aa7,_0x4595bb){var _0x56ba0a=_0x509db9;this[_0x56ba0a(0x3fa)]['set'](_0x2b6aa7,_0x4595bb),this[_0x56ba0a(0x8b)]();}['_transformStack'](_0x541f58,_0x12fa1c){var _0x24d91c=_0x509db9;const _0x36cb8f=[];let _0x1eafc4=_0x12fa1c,_0x4633f9=_0x12fa1c;for(let _0x52d894=_0x541f58[_0x24d91c(0x2e9)]-0x1;_0x52d894>=0x0;_0x52d894--){const {unitID:_0x3d4e0f,undoMutations:_0xd47e34,redoMutations:_0x35532c}=_0x541f58[_0x52d894],_0x4f2c7e=this[_0x24d91c(0x3b9)][_0x24d91c(0x220)](_0x1eafc4,_0xd47e34),_0x25e4d7=this[_0x24d91c(0x3b9)]['transformMutationsWithChangeset'](_0x4633f9,_0x35532c);if(_0xdad847[_0x24d91c(0x19f)](_0x4f2c7e)||_0xdad847[_0x24d91c(0x19f)](_0x25e4d7)){this[_0x24d91c(0x2a8)][_0x24d91c(0x2cd)](_0x24d91c(0x36a),_0x24d91c(0xe7),_0x4f2c7e,_0x25e4d7);break;}_0x1eafc4=_0x4f2c7e[_0x24d91c(0x249)],_0x4633f9=_0x25e4d7[_0x24d91c(0x249)],_0x36cb8f[_0x24d91c(0x273)]({'unitID':_0x3d4e0f,'undoMutations':_0x4f2c7e[_0x24d91c(0x2f4)],'redoMutations':_0x25e4d7[_0x24d91c(0x2f4)]});}return _0x36cb8f[_0x24d91c(0x332)]();}},_0x313ef4['CollaborativeUndoRedoService']=_0x57e67b([_0x2c4d56(0x0,_0x593ae3[_0x509db9(0x1bc)]),_0x2c4d56(0x1,_0x593ae3[_0x509db9(0x170)]),_0x2c4d56(0x2,_0x593ae3[_0x509db9(0xe0)]),_0x2c4d56(0x3,_0xdad847['ITransformService']),_0x2c4d56(0x4,_0x593ae3[_0x509db9(0x1a8)])],_0x313ef4[_0x509db9(0x121)]);var _0x3e7c50=Object[_0x509db9(0xd5)],_0x2f5bbe=Object[_0x509db9(0x3d7)],_0x10fe37=(_0x1ca0d5,_0x520d4f,_0x3c1e43)=>_0x520d4f in _0x1ca0d5?_0x3e7c50(_0x1ca0d5,_0x520d4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c1e43}):_0x1ca0d5[_0x520d4f]=_0x3c1e43,_0x13e5e0=(_0x5332bc,_0x7dd517,_0x430e03,_0x2ff82d)=>{var _0xf25954=_0x509db9;for(var _0x3f82b8=_0x2ff82d>0x1?void 0x0:_0x2ff82d?_0x2f5bbe(_0x7dd517,_0x430e03):_0x7dd517,_0xf64a47=_0x5332bc[_0xf25954(0x2e9)]-0x1,_0x1a209b;_0xf64a47>=0x0;_0xf64a47--)(_0x1a209b=_0x5332bc[_0xf64a47])&&(_0x3f82b8=_0x1a209b(_0x3f82b8)||_0x3f82b8);return _0x3f82b8;},_0x210dce=(_0x309c77,_0x394100)=>(_0x4c6680,_0x1f457f)=>_0x394100(_0x4c6680,_0x1f457f,_0x309c77),_0x4cceca=(_0x5900f7,_0x82cda6,_0x5f1281)=>_0x10fe37(_0x5900f7,_0x82cda6+'',_0x5f1281);const _0x3b4b03=_0x509db9(0x169);_0x313ef4[_0x509db9(0x1e4)]=class extends _0x593ae3[_0x509db9(0xc6)]{constructor(_0x39278b,_0x7afacf,_0x12b9d7,_0x581436){var _0xa36e6=_0x509db9;super(),_0x309c0d(this,_0xa36e6(0x3c4)),(this['_logService']=_0x7afacf,this[_0xa36e6(0x397)]=_0x12b9d7,this[_0xa36e6(0x15b)]=_0x581436);const {..._0x424b05}=_0x593ae3['merge']({},_0x39e350,_0x39278b);if(!_0x424b05[_0xa36e6(0xcd)])throw new Error(_0xa36e6(0x34d));this[_0xa36e6(0x3c4)]=_0x424b05,this[_0xa36e6(0x15b)][_0xa36e6(0xcb)](_0x9fbd4f,_0x424b05);}['onStarting'](){var _0x187d10=_0x509db9;this[_0x187d10(0x24f)](),this[_0x187d10(0x146)]();}['_registerDependencies'](){var _0x121e18=_0x509db9,_0x49ce73,_0x5982f7;this['_injector'][_0x121e18(0x34c)](_0x593ae3[_0x121e18(0x221)])&&this[_0x121e18(0x2a8)]['error']('[UniverCollaborationClientPlugin]',_0x121e18(0x131));const _0x1346d5=_0x593ae3[_0x121e18(0x91)]([[_0x593ae3[_0x121e18(0x221)],{'useClass':_0x313ef4[_0x121e18(0x121)]}],[_0x313ef4['CollaborationSessionService']],[_0x313ef4[_0x121e18(0x358)]],[_0x313ef4['SheetTransformSelectionsService']],[_0x3fee28],[_0x16dfd7],[_0x29b036],[_0x5878a5],[_0x1e55fc],[_0x313ef4['DataLoaderService']],[_0x37eaae,{'useClass':this['_config'][_0x121e18(0xcd)]}],[_0xdad847[_0x121e18(0x228)],{'useClass':_0x313ef4[_0x121e18(0x2f8)]}],[_0x593ae3[_0x121e18(0xc0)],{'useClass':_0x313ef4['AuthzIoHttpService']}],[_0x3fed8b[_0x121e18(0x3ec)],{'useClass':_0x313ef4[_0x121e18(0x2c9)]}],[_0x593ae3[_0x121e18(0x2d2)],{'useClass':_0x313ef4[_0x121e18(0x2bb)]}],[_0x313ef4['CollaborationController']],[_0x261b6f]],(_0x49ce73=this[_0x121e18(0x3c4)])==null?void 0x0:_0x49ce73[_0x121e18(0x370)]);if(!((_0x5982f7=this['_config'])!=null&&_0x5982f7[_0x121e18(0x1be)])){const _0x21fb17=_0x1346d5[_0x121e18(0x40e)](([_0x532a66])=>_0x532a66===_0x5647b7);_0x21fb17!==-0x1&&_0x1346d5[_0x121e18(0x3cc)](_0x21fb17,0x1);}_0x593ae3[_0x121e18(0x1da)](this[_0x121e18(0x397)],_0x1346d5);}[_0x509db9(0x146)](){var _0x544055=_0x509db9,_0x46618a,_0x4f849a,_0x229817;this[_0x544055(0x397)][_0x544055(0xa5)](_0x38c133[_0x544055(0x3e6)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x38c133[_0x544055(0x112)]({'maxParallel':0x6})}),(_0x46618a=this[_0x544055(0x3c4)])!=null&&_0x46618a[_0x544055(0x238)]||(_0x4f849a=this[_0x544055(0x397)][_0x544055(0xa5)](_0x192e9c,_0x593ae3['Quantity'][_0x544055(0xf6)]))==null||_0x4f849a['disableLocalCache'](),(_0x229817=this[_0x544055(0x3c4)])!=null&&_0x229817[_0x544055(0x166)]&&_0x593ae3[_0x544055(0x84)](this[_0x544055(0x397)],[[_0x3fee28]]),_0x593ae3[_0x544055(0x84)](this[_0x544055(0x397)],[[_0x16dfd7],[_0x313ef4[_0x544055(0x9c)]],[_0x5878a5]]);}},_0x4cceca(_0x313ef4[_0x509db9(0x1e4)],_0x509db9(0x3ee),_0x3b4b03),_0x313ef4[_0x509db9(0x1e4)]=_0x13e5e0([_0x593ae3['DependentOn'](_0xdad847['UniverCollaborationPlugin'],_0x38c133[_0x509db9(0x36e)]),_0x210dce(0x1,_0x593ae3[_0x509db9(0x1a8)]),_0x210dce(0x2,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x210dce(0x3,_0x593ae3[_0x509db9(0x1c0)])],_0x313ef4[_0x509db9(0x1e4)]),_0x313ef4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x9fbd4f,_0x313ef4[_0x509db9(0x3af)]=_0x1ac262,_0x313ef4[_0x509db9(0x2a5)]=_0x7c51aa,_0x313ef4[_0x509db9(0x1cf)]=_0x1e55fc,_0x313ef4[_0x509db9(0x420)]=_0x29b036,_0x313ef4[_0x509db9(0x152)]=_0x407f4f,_0x313ef4['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x162619,_0x313ef4[_0x509db9(0x272)]=_0x29e50d,_0x313ef4['HEARTBEAT_INTERVAL_KEY']=_0x55547f,_0x313ef4[_0x509db9(0x2cb)]=_0x30846d,_0x313ef4[_0x509db9(0x276)]=_0x37eaae,_0x313ef4['ILocalCacheService']=_0x192e9c,_0x313ef4['INetworkConditionService']=_0xcfc4ab,_0x313ef4[_0x509db9(0x1a3)]=_0x5647b7,_0x313ef4[_0x509db9(0xc7)]=0x3e8,_0x313ef4[_0x509db9(0x3e5)]=_0x2b3841,_0x313ef4[_0x509db9(0x321)]=_0x5f3fee,_0x313ef4[_0x509db9(0x33c)]=_0x52e10c,_0x313ef4[_0x509db9(0x205)]=_0x4e4db9,_0x313ef4[_0x509db9(0x3f6)]=_0x1bfb46,_0x313ef4[_0x509db9(0xe4)]=_0x2f49ae,_0x313ef4['getLocalCacheKey']=_0x142709,_0x313ef4['serializeCombRequest']=_0x3ce187,Object[_0x509db9(0xd5)](_0x313ef4,Symbol['toStringTag'],{'value':_0x509db9(0x1e9)});}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- (function(_0x416a18,_0x5bfb6c){const _0x6a3f18=_0x1e3f,_0x456d6d=_0x416a18();while(!![]){try{const _0x56276c=parseInt(_0x6a3f18(0x14c))/0x1+parseInt(_0x6a3f18(0x133))/0x2+parseInt(_0x6a3f18(0x142))/0x3*(parseInt(_0x6a3f18(0x154))/0x4)+parseInt(_0x6a3f18(0x125))/0x5+-parseInt(_0x6a3f18(0x11c))/0x6*(parseInt(_0x6a3f18(0x12e))/0x7)+-parseInt(_0x6a3f18(0x129))/0x8+-parseInt(_0x6a3f18(0x12d))/0x9;if(_0x56276c===_0x5bfb6c)break;else _0x456d6d['push'](_0x456d6d['shift']());}catch(_0x461e65){_0x456d6d['push'](_0x456d6d['shift']());}}}(_0x21b1,0xe42f8),function(_0x5e6ed0,_0x54c7dc){const _0x22bbfd=_0x1e3f;typeof exports==_0x22bbfd(0x139)&&typeof module<'u'?_0x54c7dc(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define[_0x22bbfd(0x14a)]?define([_0x22bbfd(0x117),'@univerjs-pro/collaboration-client',_0x22bbfd(0x126),_0x22bbfd(0x137),_0x22bbfd(0x146),_0x22bbfd(0x138)],_0x54c7dc):(_0x5e6ed0=typeof globalThis<'u'?globalThis:_0x5e6ed0||self,_0x54c7dc(_0x5e6ed0[_0x22bbfd(0x143)]={},_0x5e6ed0[_0x22bbfd(0x118)],_0x5e6ed0[_0x22bbfd(0x12a)],_0x5e6ed0[_0x22bbfd(0x13e)],_0x5e6ed0[_0x22bbfd(0x131)],_0x5e6ed0['rxjs']));}(this,function(_0x2a89a7,_0xbde3,_0x1bfd23,_0x47a79d,_0x30a84a,_0x1ef26a){'use strict';const _0x2567d8=_0x1e3f;class _0x4d2c85 extends _0x1bfd23[_0x2567d8(0x116)]{get['CollaborationStatus'](){const _0x1bb494=_0x2567d8;return _0xbde3[_0x1bb494(0x11b)];}}_0x1bfd23['FEnum'][_0x2567d8(0x123)](_0x4d2c85);var _0x2111fe=Object[_0x2567d8(0x14f)],_0x2a8e4c=(_0x4ed91a,_0x879d66,_0x4bdc2d,_0x4b54e0)=>{for(var _0x4b0e4f=_0x4b54e0>0x1?void 0x0:_0x4b54e0?_0x2111fe(_0x879d66,_0x4bdc2d):_0x879d66,_0x53c978=_0x4ed91a['length']-0x1,_0x5ae0be;_0x53c978>=0x0;_0x53c978--)(_0x5ae0be=_0x4ed91a[_0x53c978])&&(_0x4b0e4f=_0x5ae0be(_0x4b0e4f)||_0x4b0e4f);return _0x4b0e4f;},_0x37c092=(_0x46f50f,_0x5b7219)=>(_0x30bbc4,_0x3b12ac)=>_0x5b7219(_0x30bbc4,_0x3b12ac,_0x46f50f);_0x2a89a7['FCollaboration']=class extends _0x1bfd23[_0x2567d8(0x14b)]{constructor(_0x46d9c6,_0x4b2a8a,_0x4f7545,_0x4c6ea6,_0x1775ed){const _0x522e2c=_0x2567d8;super(),this['_handler']=_0x46d9c6,this[_0x522e2c(0x149)]=_0x4b2a8a,this['_univerInstanceService']=_0x4f7545,this[_0x522e2c(0x150)]=_0x4c6ea6,this[_0x522e2c(0x11a)]=_0x1775ed;}async[_0x2567d8(0x12b)](){const _0x387d3f=_0x2567d8;return this[_0x387d3f(0x151)]();}async[_0x2567d8(0x151)](){const _0x3b5a49=_0x2567d8;throw new Error(_0x3b5a49(0x13f));}async[_0x2567d8(0x155)](_0xf9c347){return this['loadSheetAsync'](_0xf9c347);}async[_0x2567d8(0x11e)](_0x2e7cfc,_0xebd05a){const _0x120272=_0x2567d8;return await this[_0x120272(0x150)][_0x120272(0x155)](_0x2e7cfc,0x0,_0xebd05a)?(await this['_collaborationController'][_0x120272(0x136)](_0x2e7cfc),this[_0x120272(0x14e)]['getUniverSheet'](_0x2e7cfc)):null;}[_0x2567d8(0x13d)](_0x5d71be,_0x38ca3b){const _0x23e3cf=_0x2567d8,_0x5dd50a=this['_injector'][_0x23e3cf(0x121)](_0xbde3['MemberService'])[_0x23e3cf(0x130)](_0x5d71be)[_0x23e3cf(0x153)](_0x1ef26a[_0x23e3cf(0x14d)](_0x2e15aa=>_0x2e15aa[_0x23e3cf(0x12c)]))[_0x23e3cf(0x144)](_0x59dbef=>_0x38ca3b(Array[_0x23e3cf(0x122)](_0x59dbef['values']())));return _0x30a84a[_0x23e3cf(0x11f)](_0x5dd50a);}[_0x2567d8(0x145)](){const _0x5adc70=_0x2567d8,_0x490e97=this[_0x5adc70(0x147)][_0x5adc70(0x11d)]();if(!_0x490e97)return _0xbde3[_0x5adc70(0x11b)][_0x5adc70(0x119)];const _0x541546=this[_0x5adc70(0x11a)]['getCollabEntity'](_0x490e97[_0x5adc70(0x141)]());return _0x541546?_0x541546[_0x5adc70(0x148)][_0x5adc70(0x128)]:_0xbde3[_0x5adc70(0x11b)][_0x5adc70(0x119)];}},_0x2a89a7[_0x2567d8(0x127)]=_0x2a8e4c([_0x37c092(0x1,_0x30a84a[_0x2567d8(0x140)](_0x30a84a['Injector'])),_0x37c092(0x2,_0x30a84a['IUniverInstanceService']),_0x37c092(0x3,_0x30a84a[_0x2567d8(0x140)](_0x47a79d[_0x2567d8(0x124)])),_0x37c092(0x4,_0x30a84a[_0x2567d8(0x140)](_0xbde3[_0x2567d8(0x13c)]))],_0x2a89a7[_0x2567d8(0x127)]);class _0x5f2bd7 extends _0x1bfd23[_0x2567d8(0x13a)]{[_0x2567d8(0x12f)](){const _0x5025a9=_0x2567d8;return this[_0x5025a9(0x149)][_0x5025a9(0x152)](_0x2a89a7[_0x5025a9(0x127)],{'getUniverSheet':_0x13ad4d=>this[_0x5025a9(0x120)](_0x13ad4d)});}[_0x2567d8(0x135)](_0xc3be33,_0x3d01a2,_0x4a8bbb){const _0x31afef=_0x2567d8;return this['_injector'][_0x31afef(0x121)](_0xbde3[_0x31afef(0x132)])['loadUnit'](_0xc3be33,_0x3d01a2,_0x4a8bbb);}['loadServerUnitOfRevision'](_0x14c42a,_0x20ea46,_0x457f7c){const _0x4a6fbb=_0x2567d8;return this[_0x4a6fbb(0x149)][_0x4a6fbb(0x121)](_0xbde3[_0x4a6fbb(0x132)])['loadUnitOfRevision'](_0x14c42a,_0x20ea46,_0x457f7c);}}_0x1bfd23['FUniver'][_0x2567d8(0x123)](_0x5f2bd7),Object[_0x2567d8(0x134)](_0x2a89a7,Symbol['toStringTag'],{'value':_0x2567d8(0x13b)});}));function _0x1e3f(_0xcfb5f6,_0x1bc040){const _0x21b142=_0x21b1();return _0x1e3f=function(_0x1e3fad,_0x2cb3f2){_0x1e3fad=_0x1e3fad-0x116;let _0x1e71fe=_0x21b142[_0x1e3fad];return _0x1e71fe;},_0x1e3f(_0xcfb5f6,_0x1bc040);}function _0x21b1(){const _0x479581=['460017WautAG','switchMap','_handler','getOwnPropertyDescriptor','_snapshotService','loadActiveSheetAsync','createInstance','pipe','1000YVsooR','loadSheet','FEnum','exports','UniverProCollaborationClient','NOT_COLLAB','_collaborationController','CollaborationStatus','7656612hAQXHV','getFocusedUnit','loadSheetAsync','toDisposable','getUniverSheet','get','from','extend','SnapshotService','7994505achQLc','@univerjs/core/facade','FCollaboration','status','6256584EeUFep','UniverCoreFacade','loadActiveSheet','members$','8771778mKUPPM','7OIwMpb','getCollaboration','waitForRoom$','UniverCore','DataLoaderService','1291594VIUrCu','defineProperty','loadServerUnit','readyForCollab','@univerjs-pro/collaboration','rxjs','object','FUniver','Module','CollaborationController','subscribeCollaborators','UniverProCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','Inject','getUnitId','15153sDJAGg','UniverProCollaborationClientFacade','subscribe','getCollaborationStatus','@univerjs/core','_univerInstanceService','state','_injector','amd','FBase'];_0x21b1=function(){return _0x479581;};return _0x21b1();}
5
+ function _0x40d4(_0x406bf1,_0x44fb50){_0x406bf1=_0x406bf1-0xbf;const _0x57dc43=_0x57dc();let _0x40d4e3=_0x57dc43[_0x406bf1];return _0x40d4e3;}(function(_0x18edbd,_0x5d1c87){const _0x1adc46=_0x40d4,_0x1ef847=_0x18edbd();while(!![]){try{const _0x216dc0=-parseInt(_0x1adc46(0xfd))/0x1*(-parseInt(_0x1adc46(0xe3))/0x2)+-parseInt(_0x1adc46(0xf1))/0x3*(parseInt(_0x1adc46(0xf5))/0x4)+parseInt(_0x1adc46(0xe2))/0x5*(-parseInt(_0x1adc46(0xff))/0x6)+-parseInt(_0x1adc46(0xcd))/0x7+-parseInt(_0x1adc46(0xda))/0x8+parseInt(_0x1adc46(0xe1))/0x9+parseInt(_0x1adc46(0xf2))/0xa*(parseInt(_0x1adc46(0xf6))/0xb);if(_0x216dc0===_0x5d1c87)break;else _0x1ef847['push'](_0x1ef847['shift']());}catch(_0x2f895f){_0x1ef847['push'](_0x1ef847['shift']());}}}(_0x57dc,0x3d356),function(_0x3b3ae4,_0x3f9244){const _0x1a9cd0=_0x40d4;typeof exports==_0x1a9cd0(0xed)&&typeof module<'u'?_0x3f9244(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x1a9cd0(0xc6)&&define['amd']?define([_0x1a9cd0(0xfe),_0x1a9cd0(0xd3),_0x1a9cd0(0xf0),_0x1a9cd0(0xd1),'@univerjs/core','rxjs'],_0x3f9244):(_0x3b3ae4=typeof globalThis<'u'?globalThis:_0x3b3ae4||self,_0x3f9244(_0x3b3ae4[_0x1a9cd0(0xd5)]={},_0x3b3ae4[_0x1a9cd0(0x101)],_0x3b3ae4['UniverCoreFacade'],_0x3b3ae4['UniverProCollaboration'],_0x3b3ae4[_0x1a9cd0(0xc2)],_0x3b3ae4[_0x1a9cd0(0xe6)]));}(this,function(_0x829ad,_0x58fbc2,_0x1dff27,_0x535994,_0x1e2570,_0x4462fc){'use strict';const _0x41b8b7=_0x40d4;class _0x5ef0ce extends _0x1dff27[_0x41b8b7(0xc8)]{get[_0x41b8b7(0xd9)](){return _0x58fbc2['CollaborationStatus'];}}_0x1dff27['FEnum']['extend'](_0x5ef0ce);var _0x3ad50e=Object[_0x41b8b7(0xcc)],_0x5ea991=(_0x36aad2,_0x55ec25,_0x4ea9ca,_0x494cda)=>{const _0x570fb5=_0x41b8b7;for(var _0x4ea34a=_0x494cda>0x1?void 0x0:_0x494cda?_0x3ad50e(_0x55ec25,_0x4ea9ca):_0x55ec25,_0x5b1237=_0x36aad2[_0x570fb5(0xe5)]-0x1,_0x40deb3;_0x5b1237>=0x0;_0x5b1237--)(_0x40deb3=_0x36aad2[_0x5b1237])&&(_0x4ea34a=_0x40deb3(_0x4ea34a)||_0x4ea34a);return _0x4ea34a;},_0x5f1e2c=(_0x306e50,_0x35329b)=>(_0x5b8442,_0x4c6d85)=>_0x35329b(_0x5b8442,_0x4c6d85,_0x306e50);_0x829ad[_0x41b8b7(0xc0)]=class extends _0x1dff27['FBase']{constructor(_0xde635e,_0x3f8ece,_0x44e004,_0x533c31,_0x20b8ce){const _0x2d9b66=_0x41b8b7;super(),this[_0x2d9b66(0xc9)]=_0xde635e,this['_injector']=_0x3f8ece,this[_0x2d9b66(0xe0)]=_0x44e004,this['_snapshotService']=_0x533c31,this[_0x2d9b66(0xdf)]=_0x20b8ce;}async[_0x41b8b7(0xd7)](){const _0x5aa5d7=_0x41b8b7;return this[_0x5aa5d7(0xfa)]();}async[_0x41b8b7(0xfa)](){const _0x277cb4=_0x41b8b7;throw new Error(_0x277cb4(0xd6));}async[_0x41b8b7(0xe8)](_0x358967){const _0x10e24b=_0x41b8b7;return this[_0x10e24b(0xc7)](_0x358967);}async[_0x41b8b7(0xc7)](_0x306e58,_0x145f0b){const _0x5b5909=_0x41b8b7;return await this['_snapshotService'][_0x5b5909(0xe8)](_0x306e58,0x0,_0x145f0b)?(await this['_collaborationController'][_0x5b5909(0xef)](_0x306e58),this[_0x5b5909(0xc9)][_0x5b5909(0xde)](_0x306e58)):null;}[_0x41b8b7(0x100)](_0x48c148,_0x5ca938){const _0xcccbfb=_0x41b8b7,_0x46ee4e=this['_injector']['get'](_0x58fbc2[_0xcccbfb(0xc1)])[_0xcccbfb(0xf4)](_0x48c148)[_0xcccbfb(0xeb)](_0x4462fc[_0xcccbfb(0xe4)](_0x52af82=>_0x52af82[_0xcccbfb(0xea)]))[_0xcccbfb(0xc5)](_0x1895be=>_0x5ca938(Array[_0xcccbfb(0xd2)](_0x1895be[_0xcccbfb(0xe7)]())));return _0x1e2570[_0xcccbfb(0xec)](_0x46ee4e);}['getCollaborationStatus'](){const _0xced45b=_0x41b8b7,_0x331102=this[_0xced45b(0xe0)]['getFocusedUnit']();if(!_0x331102)return _0x58fbc2[_0xced45b(0xd9)][_0xced45b(0xca)];const _0xf0f196=this[_0xced45b(0xdf)][_0xced45b(0xf9)](_0x331102[_0xced45b(0xdd)]());return _0xf0f196?_0xf0f196[_0xced45b(0xd8)][_0xced45b(0xe9)]:_0x58fbc2['CollaborationStatus'][_0xced45b(0xca)];}},_0x829ad[_0x41b8b7(0xc0)]=_0x5ea991([_0x5f1e2c(0x1,_0x1e2570[_0x41b8b7(0xc3)](_0x1e2570[_0x41b8b7(0xf3)])),_0x5f1e2c(0x2,_0x1e2570[_0x41b8b7(0xd4)]),_0x5f1e2c(0x3,_0x1e2570[_0x41b8b7(0xc3)](_0x535994[_0x41b8b7(0xee)])),_0x5f1e2c(0x4,_0x1e2570[_0x41b8b7(0xc3)](_0x58fbc2[_0x41b8b7(0xf8)]))],_0x829ad[_0x41b8b7(0xc0)]);class _0x40b369 extends _0x1dff27['FUniver']{[_0x41b8b7(0xcf)](){const _0x5283a0=_0x41b8b7;return this[_0x5283a0(0xcb)][_0x5283a0(0xdc)](_0x829ad[_0x5283a0(0xc0)],{'getUniverSheet':_0xf3bb30=>this[_0x5283a0(0xde)](_0xf3bb30)});}[_0x41b8b7(0xfc)](_0x5bc55e,_0x27ae4a,_0x32e7dc){const _0x2b427b=_0x41b8b7;return this['_injector'][_0x2b427b(0xf7)](_0x58fbc2['DataLoaderService'])[_0x2b427b(0xce)](_0x5bc55e,_0x27ae4a,_0x32e7dc);}['loadServerUnitOfRevision'](_0x2b4bf0,_0xa0b41a,_0x4c5f62){const _0x54afa4=_0x41b8b7;return this[_0x54afa4(0xcb)][_0x54afa4(0xf7)](_0x58fbc2[_0x54afa4(0xd0)])[_0x54afa4(0xdb)](_0x2b4bf0,_0xa0b41a,_0x4c5f62);}}_0x1dff27[_0x41b8b7(0xc4)][_0x41b8b7(0xbf)](_0x40b369),Object['defineProperty'](_0x829ad,Symbol['toStringTag'],{'value':_0x41b8b7(0xfb)});}));function _0x57dc(){const _0x720272=['toDisposable','object','SnapshotService','readyForCollab','@univerjs/core/facade','3BwEFSt','72830wyQhEF','Injector','waitForRoom$','521384EQYVaA','1353JObstI','get','CollaborationController','getCollabEntity','loadActiveSheetAsync','Module','loadServerUnit','38835SdRpUK','exports','240522zmegQE','subscribeCollaborators','UniverProCollaborationClient','extend','FCollaboration','MemberService','UniverCore','Inject','FUniver','subscribe','function','loadSheetAsync','FEnum','_handler','NOT_COLLAB','_injector','getOwnPropertyDescriptor','2512349efaeyk','loadUnit','getCollaboration','DataLoaderService','@univerjs-pro/collaboration','from','@univerjs-pro/collaboration-client','IUniverInstanceService','UniverProCollaborationClientFacade','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','state','CollaborationStatus','2884416SbnfEy','loadUnitOfRevision','createInstance','getUnitId','getUniverSheet','_collaborationController','_univerInstanceService','3668805ccSxPd','35CHTTRl','4GshQrL','switchMap','length','rxjs','values','loadSheet','status','members$','pipe'];_0x57dc=function(){return _0x720272;};return _0x57dc();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x4915(){const _0x2515b2=['session.connection-failed','getCurrentSelections','includes','functionsExecutedState','triggerDblclick','_memberService','_commandService','APPLY_PERMISSION_DENIED','formula.calculation.unable','_onCursorUpdate','evenodd','touchDependencies','getSheetId','ACTIVE_UNIT_EVENT_CHANNEL','UniverInstanceType','_cursor','unitID','INotificationService','_memberID','reason','handleIRemoveCol','_updateSubUnitFromURLParams','url(#off-line-icon_clip0_910_343)','bind','CollaborationSocketService','ONLINE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabStatus.fetchMiss','_hasFormulaInDirtyRanges','ISocketService','collabStatus.synced','Rectangle','code','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_syncEditingCollabCursorService','UniverSheetsUi','_roomMembers$','_scheduleSaving','Error','YUUMI_CONNECTOR_URL_NOT_FOUND','ranges','USER_NOT_FOUND','handleInsertRangeMoveRight','M0\x200H16V16H0z','_disabled','collaboration.single-unit.warning','runOnServer','transformIMECache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SheetsSelectionsService','_uiPartsService','_univerInstanceService','storage','_colorAssignService','removeEventListener','Rect','fillText','_themeService','TEXT_RANGE_LAYER_INDEX','rxjs','setAlpha','REDEMPTION_USER_NOT_ELIGIBLE','useObservable','_entities','ILogService','collabStatus.syncing','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformIMECacheService','override','range','top','Injector','startRow','_configService','UniverCore','none','ColorKit','getCellMatrix','@univerjs/network','getCurrent','_config','_backgroundColor','LOCAL_CACHE_INTERVAL_KEY','deepClone','_online','unit','defs','_beforeCloseService','IUniverInstanceService','RichTextEditingMutation','getRenderById','217255BjcNwj','saveTaskMap','href','imageSourceType','disableLocalCache','object','_setFormulaLimitStatus','function','getUnitStatus$','textRanges','trim','LOGIN_TOKEN_PROCESSING_FAILED','MOBILE_HAS_BEEN_BOUND','REDEMPTION_CODE_INACTIVE','7532343bKFSqi','1em','forEach','_imageIoService','univerjs-icon\x20univerjs-icon-','from','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/universer-api/license/formula/limit/start','getVpScrollXYInfoByPosToVp','restore','RxDisposable','_createSocketURL','...','_initDependencies','CONNECTOR_DATA_TOO_LARGE','COLORS','roomMembers','permission.content','registerRenderModule','collaboration-client-ui.config','YUUMI_ALL_TABLES_IS_INVALID','getSkeleton','off-line-icon_clip0_910_343','CollaborationSessionService','WECHAT_HAS_BEEN_BOUND','MOBILE_VERIFY_CODE_MISMATCH','UniverRpc','UPDATE_CURSOR','limitInfo','OTHER_CLIENT_EDITING','_dataLoaderService','CONFLICT','_color','UniverIcon','FormulaExecutedStateType','source','SUCCESS','IMessageService','post','transform','_httpService','replace','_messageService','_lastResponseTimestamp','Failed','_getMergeRange','resize','collaboration-client.offline-data-not-saved','formula.calculation.waiting','init','VIEW_MAIN','_collaborationUIEventService','bottom','translate(.97)','getMemberID','HTTPService','createSocket','_clearOtherTimers','_getScale','assignAColorForMemberID','InsertRowCommandId','ENSURE_SNAPSHOT_EXECUTION','connectInjector','operators','mutations','getUndoRedoMutationParamsCache','_lastPointer','getAncestorScale','serializeRangeWithSheet','[LogService\x20Error]:\x20','Optional','onMouseMove','_heartbeatTimer','Inject','subscribe','jsx','DocStateChangeManagerService','setParam','_removeCollabCursors','INVITE_CODE_HAS_BEEN_UES','displayName','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','children','CollaborationUIEventService','replaceState','unitId','Shape','currentColor','getFocusedUnit','totalFormulasToCalculate','_injector','BehaviorSubject','hovered','ILocalCacheService','DisposableCollection','size','collabStatus.conflict','_collabCursorController','UniverNetwork','REDEMPTION_CODE_NOT_STARTED','UniverUi','_shapes','CollaborationController','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','HEADER_MENU','takeUntil','transformMutation','START_CALCULATION','addObjects','[Window\x20Error]:\x20','event$','_handleEvent','_assignedColors','ENTITLE_REPORT_LIMIT_EXCEED','react/jsx-runtime','MUTATION','now','http://www.w3.org/2000/svg','getMember','_saveCache','4OwGOzr','_initUserListener','_checkAndWaitForCalculationPermission','getUnitId','redoState','DocSkeletonManagerService','findNodePositionByCharIndex','asObservable','YUUMI_SUBSCRIPTION_NOT_FOUND','AUTHORIZE_CODE_ILLEGAL','OnLineIcon','getCollabCursors$','IConfigService','@univerjs/design','isTransformMutationFailure','_docTransformStateCacheService','defineProperty','currentUsage','REDEMPTION_CODE_HAS_BEEN_CREATED','SetWorksheetActivateCommand','_initWindowErrorListener','_scheduleClearOtherTimer','_entityInit$','getActiveSheet','DependentOn','Tools','onStarting','substring','origin','isArray','updateOfflineData','BuiltInUIPart','width','_registerDependencies','IRenderManagerService','DesktopCollaborationStatusDisplayController','4540316FEvePy','shareReplay','UniverSheets','off-line-icon','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','REDEMPTION_INVALID_CODE','history','svg','_initCommandInterceptor','sessionStatus$','executionId','searchParams','max','_getSessionTicket','m1Prime','_textBubble','getCollabEntity$','drawWith','row','collaboration.closeRoom','disposeWithMe','getColor','parseInt','currentSkeleton$','_updateURLWithCurrentState','onPointerLeave$','text','OFFLINE','useDependency','_cursors','WebSocketService','INVALID_ARGUMENT','getRelativeToViewportCoord','formula.calculation.started','SNAPSHOT_HAS_BEEN_REMOVED','beginPath','stage','beforeCommandExecuted','toRgbString','_transformUndoRedoStack','YUUMI_RATE_OVER_LIMIT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','/universer-api/frontend/logs','unshift','_collabCursorState$','isFormulaString','CommandType','createInstance','FETCH_MISS','SHEET_VIEWPORT_KEY','roomMembers$','_eventUnsubscribe','_init','registerRefRange','colno','TEXT','contains','SetSelectionsOperation','use','RemoveColCommandId','CHANGESET_REVISION_CONFILICT','send','getTypeOfUnitDisposed$','focused$','_collaborationSessionService','map','5456320dylzjd','_ensureSubject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','subunit','handleDeleteRangeMoveUp','747936XgwjBh','_refreshCollabCursors','_uploadLog','subscribeEvent','DocSelectionManagerService','_getAnchorBounding','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_anchorDot','_urlService','fillStyle','saveOfflineData','registerBeforeClose','IRemoteInstanceService','on-line-icon_clip0_910_349','onPointerEnter$','_initStatusListener','handleInsertRangeMoveDown','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','_hovered','unhandledrejection','with','_labelPosition','collab-client.tooltip.reconnect','path','_saveTaskMap','_getFormulaLimitStatus','entries','YUUMI_ASYNCIO_CANCELLED','filter','data','YUUMI_NO_CUBOID_FOR_QUESTION','_name','_collaborationController','sessionTicket','PERMISSION_DENIED','FromArray','onLocalMutation','INVALID_INVITE_CODE','_localStorageService','UniverProCollaborationClientUi','SUBMIT_CHANGESET_TIMEOUT','actions','split','combineLatest','EMAIL_VERIFY_CODE_MISMATCH','UNDEFINED','_initEvent','dispose$','clearTimeout','_registerRenderDependencies','DATA_SOURCE_TOO_LARGE','some','ENTITLE_NEED_BILLING_ADDRESS','toString','stageInfo','UnitStatus','generateRandomId','startColumn','socket$','useRef','_id','_toggleOnline','deserializeRangeWithSheet','ITransformService','UNAUTHENTICATED','_updateLocalCursor','_notificationService','enableFrontendLog','ticket','handleMoveRange','PY_RUNTIME_SCRIPT_ERROR','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getRangePointData','APPLY_DUPLICATED','_revisionService','_docTransformSelectionsService','onPointerMove$','LOGIN_FAILED','session.will-retry','_maxFormulaLimit','type','LocaleService','1160667Bhszou','colorChannel1','url(#$1','_setupBeforeClosingHandler','transformRemoteChangeset','defIds','_hover','clsx','_initEntityListener','color','EffectRefRangId','UniverDrawing','_cursorShapes','fromEventSubject','LICENSE_EXPORT_SIZE_EXCEEDED','[Unhandled\x20Rejection]:\x20','getParam','isFormulaId','SOCKET_FAILED','releaseFormulaLimitUrl','InsertRangeMoveRightCommandId','_refRangeService','Subject','NOT_FOUND','_sheetSkeletonManagerService','@univerjs-pro/collaboration-client','ALREADY_EXISTS','getCurrentRevOfUnit','RECT','Module','DocIMEInputManagerService','values','YUUMI_UNABLE_LOAD_URL','_transformPreviousActiveRange','univer-mr-2\x20univer-flex\x20univer-text-xl','get','getUnit','setStateCache','measureText','black','runId','Warning','_unitOnClients','m2Prime','getformulaLimitStatusUrl','reconnect','FormulaExecuteStageType','IURLService','@univerjs/docs-ui','whenReady','setShapeProps','_removeClearOtherTimer','syncEditingCollabCursor','cursorInfo','_startCalculationLimit','rxjs/operators','YUUMI_AI_RUN_FAILED','@univerjs/sheets-ui','getConfig','_checkCalculationAvailable','DOC_RANGE_TYPE','_handleHover','APPLY_NON_SEQUENTIAL_REVISION','_docClipboardService','COMPLETION_FINISHED','key','_localCacheService','entityInit$','_context','parse','_docSkeletonManagerService','CollaborationEvent','_transformHistoryAndStateStack','cursorInfo$','LICENSE_DISTRO_REJECTED','_drawRectRange','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','CURRENT_STATUS_CANNOT_OPERATE','show','setUndoRedoMutationParamsCache','undoState','54skcZHl','_initCommandExecutedListener','complete','endRow','onTransformChange$','_initStatusComponent','INTERNAL_ERROR','PENDING','USER_IS_ANONYMOUS','SetFormulaCalculationStartMutation','_docSyncEditingCollabCursorService','attrs','getStateCache','isTransformMutationsWithChangesetSuccess','exhaustSavingTask','_setupSubUnitSync','delete','eventID','UNIVER_SHEET','NOT_COLLAB','@univerjs/ui','requireSession','handleInsertRow','_collabSessionService','switchMap','[CollaborationDataLoaderController]','_logService','red.300','application/json','_cachedData','getValue','_doCreateSocket','fillRule','Success','subUnitId','MemberService','selection','getOwnPropertyDescriptor','getViewport','mergeOverrideWithDependencies','_unitStatus','body','removeParam','jsxs','LOCAL_CACHE_INTERVAL','JOIN_ROOM_FAILED','CollaborationStatus','_drawAnchor','xlink:href','SYNCED','RemoteUniscriptService','endColumn','getItem','@univerjs/engine-render','CollaborationUIEventId','message','_handleLeaveEvent','result','_currentUsage','docStateChange$','onCommandExecuted','selections','_onCursorDelete','CLOSE_ROOM','error','APPLY_REVISION_CONFILICT','_transformService','Vector2','handleInsertCol','ENTITLE_CHAT_LIMIT_EXCEED','INVITE_CODE_REQUIRED','white','/universer-api/license/formula/limit/status','BrowserCollaborationSocketService','stack','WebURLService','getTypeOfUnitAdded$','getUniverSheetInstance','newValue','collabStatus.offline','SetDocZoomRatioOperation','_releaseCalculationLimit','USER_NOT_INVITED_CODE','dispose','_startDocCollabCursor','flatMap','_pollingInterval','UNIVER_DOC','MessageType','NO_OTHER_CLIENTS_EDITING','idSuffix','next','getActiveRange','getColorFromTheme','collabCursorState$','startFormulaLimitUrl','LICENSE_MAX_UNITS_EXCEEDED','hide','1775736DzsqWW','setActiveRange','editingUnit','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_status$','RegularPolygon','_scene','isActive','arc','setConfig','react','addObject','stringify','transformSelections','params','createIdentifier','useCallback','CollaborationDataLoaderController','APPLY_REJECT','OTHER_CLIENTS_EDITING','lineno','setInterval','createElement','then','distinctUntilChanged','purple.300','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','add','_onRefRangeChange','EMAIL_HAS_BEEN_BOUND','_taskIds','IImageIoService','symbol','_initResize','has','tag','_range','ENTITLE_CAN_NOT_BUY_LOWER_OTP','unload','MoveRangeCommandId','ENTITLE_DUP_SUBSCRIPTION','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','React','UniverEngineFormula','_monkeyPatchLogService','SheetCollabCursorShape','_docStateChangeManagerService','addEventListener','_document','_toggleOffline','UniverDocsUi','fromEvent','setTimeout','string','getCoordByCell','push','moveTo','getMergeData','LICENSE_IMPORT_SIZE_EXCEEDED','UniverDocs','set','_session','debounce','debounceTime','catch','REDEMPTION_CODE_FULLY_REDEEMED','UniverCollaborationClientUIPlugin','round','ICommandService','executeCommand','makeDirty','getUnhiddenWorksheets','assign','blue.400','SessionStatus','TOO_MANY_REQUESTS','min','mapTo','green.600','UNRECOGNIZED','addHandlerCallback','div','_handleJoinEvent','forwardRef','_cursorInfo$','merge','unsubscribe','getDocRanges','session.collaboration-timeout','NodePositionConvertToRectRange','clipPath','_hideTimer','@univerjs/drawing','memberID','clearInterval','Tooltip','maxFormulaLimit','_updateCollabCursors','getSheetBySheetId','_renderManagerService','_scheduleHeartbeat','_anchor','_render','mask','urlChange$','IUIPartsService','_getSaveTimeout','toDisposable','_selfUnitIDs','UniverEngineRender','INVITE_CODE_ALREADY_BOUND','replaceDocRanges','RefRangeService','height','currentTheme$','setItem','@univerjs/sheets','InsertColCommandId','_localeService','pipe','save','_draw','\x20at\x20','_colorIndex','column','length','_initUnhandledRejectionListener','SOCKET_FAILED_RETRY','_drawTextRange','popstate','DeleteRangeMoveLeftCommandId','lineTo','location','pushState','doc.mutation.rich-text-editing','name','Disposable','fill','getLocalCacheKey','_send'];_0x4915=function(){return _0x2515b2;};return _0x4915();}function _0x1ae4(_0x1036b1,_0xdb132a){const _0x4915b4=_0x4915();return _0x1ae4=function(_0x1ae484,_0x48d759){_0x1ae484=_0x1ae484-0x90;let _0x3d303e=_0x4915b4[_0x1ae484];return _0x3d303e;},_0x1ae4(_0x1036b1,_0xdb132a);}(function(_0x4b9f7a,_0x4e7b1f){const _0x5c03cf=_0x1ae4,_0xc4520d=_0x4b9f7a();while(!![]){try{const _0x3956d0=parseInt(_0x5c03cf(0x118))/0x1+-parseInt(_0x5c03cf(0xad))/0x2*(-parseInt(_0x5c03cf(0x16b))/0x3)+-parseInt(_0x5c03cf(0xd1))/0x4+-parseInt(_0x5c03cf(0x306))/0x5*(-parseInt(_0x5c03cf(0x1bd))/0x6)+-parseInt(_0x5c03cf(0x314))/0x7+parseInt(_0x5c03cf(0x113))/0x8+parseInt(_0x5c03cf(0x21f))/0x9;if(_0x3956d0===_0x4e7b1f)break;else _0xc4520d['push'](_0xc4520d['shift']());}catch(_0x2a3fdd){_0xc4520d['push'](_0xc4520d['shift']());}}}(_0x4915,0x8dd7d),function(_0x3b2618,_0x2efe3d){const _0x1f3a5b=_0x1ae4;typeof exports==_0x1f3a5b(0x30b)&&typeof module<'u'?_0x2efe3d(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),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')):typeof define==_0x1f3a5b(0x30d)&&define['amd']?define(['exports',_0x1f3a5b(0xa7),_0x1f3a5b(0x184),'@univerjs/core',_0x1f3a5b(0x1d1),_0x1f3a5b(0x2e6),_0x1f3a5b(0xba),_0x1f3a5b(0x229),'@univerjs/rpc',_0x1f3a5b(0x293),_0x1f3a5b(0x1f2),_0x1f3a5b(0x2f9),_0x1f3a5b(0x19b),_0x1f3a5b(0x27b),'@univerjs-pro/collaboration','@univerjs/docs','@univerjs/engine-formula',_0x1f3a5b(0x1a2),_0x1f3a5b(0x1a4)],_0x2efe3d):(_0x3b2618=typeof globalThis<'u'?globalThis:_0x3b2618||self,_0x2efe3d(_0x3b2618[_0x1f3a5b(0x140)]={},_0x3b2618['React'],_0x3b2618['UniverProCollaborationClient'],_0x3b2618[_0x1f3a5b(0x2f5)],_0x3b2618[_0x1f3a5b(0x99)],_0x3b2618[_0x1f3a5b(0x2e6)],_0x3b2618['UniverDesign'],_0x3b2618[_0x1f3a5b(0x249)],_0x3b2618[_0x1f3a5b(0x32e)],_0x3b2618[_0x1f3a5b(0xd3)],_0x3b2618[_0x1f3a5b(0x28c)],_0x3b2618[_0x1f3a5b(0x97)],_0x3b2618[_0x1f3a5b(0x251)],_0x3b2618[_0x1f3a5b(0x176)],_0x3b2618['UniverProCollaboration'],_0x3b2618[_0x1f3a5b(0x25a)],_0x3b2618[_0x1f3a5b(0x24a)],_0x3b2618[_0x1f3a5b(0x2e6)][_0x1f3a5b(0x353)],_0x3b2618[_0x1f3a5b(0x2ce)]));}(this,function(_0x440074,_0x54094d,_0x29cbea,_0x4a5a1c,_0x270495,_0x8d94e0,_0x67c92c,_0x3728a4,_0xa7700f,_0x48c182,_0x5d2f68,_0xbeb642,_0x22126e,_0x1954a8,_0x4a6bb0,_0x5afd4e,_0x419491,_0x5d0515,_0x14ceff){'use strict';const _0x22d19e=_0x1ae4;var _0x23d957=Object[_0x22d19e(0xbd)],_0x1330f8=(_0x11b2ec,_0x320e19,_0x5b03dc)=>_0x320e19 in _0x11b2ec?_0x23d957(_0x11b2ec,_0x320e19,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b03dc}):_0x11b2ec[_0x320e19]=_0x5b03dc,_0xa63e61=(_0x3a2d11,_0x3be269,_0x20baab)=>_0x1330f8(_0x3a2d11,typeof _0x3be269!=_0x22d19e(0x23f)?_0x3be269+'':_0x3be269,_0x20baab);function _0x318455({ref:_0x573b24,..._0x5edf2d}){const _0x5a6d2a=_0x22d19e,{icon:_0x21b538,id:_0x20721a,className:_0x9f022a,extend:_0x255331,..._0x5d9e3f}=_0x5edf2d,_0x2203d9=(_0x5a6d2a(0x318)+_0x20721a+'\x20'+(_0x9f022a||''))[_0x5a6d2a(0x310)](),_0x289d=_0x3728a4[_0x5a6d2a(0x154)]('_'+_0x27e521());return _0x1e0ea2(_0x21b538,''+_0x20721a,{'defIds':_0x21b538[_0x5a6d2a(0x170)],'idSuffix':_0x289d['current']},{'ref':_0x573b24,'className':_0x2203d9,..._0x5d9e3f},_0x255331);}function _0x1e0ea2(_0x4bd170,_0x3f8811,_0x14644f,_0x563df1,_0x34bd43){const _0x3b38e3=_0x22d19e;return _0x3728a4[_0x3b38e3(0x235)](_0x4bd170['tag'],{'key':_0x3f8811,..._0x50e694(_0x4bd170,_0x14644f,_0x34bd43),..._0x563df1},(_0x30bd2f(_0x4bd170,_0x14644f)[_0x3b38e3(0x366)]||[])[_0x3b38e3(0x112)]((_0x4e6657,_0x36a2ba)=>_0x1e0ea2(_0x4e6657,_0x3f8811+'-'+_0x4bd170['tag']+'-'+_0x36a2ba,_0x14644f,void 0x0,_0x34bd43)));}function _0x50e694(_0x2f22d9,_0x41e017,_0x4c37b4){const _0x444033=_0x22d19e,_0x5e56d0={..._0x2f22d9[_0x444033(0x1c8)]};_0x4c37b4!=null&&_0x4c37b4[_0x444033(0x16c)]&&_0x5e56d0['fill']==='colorChannel1'&&(_0x5e56d0[_0x444033(0x2a8)]=_0x4c37b4['colorChannel1']),_0x2f22d9['tag']===_0x444033(0x286)&&_0x5e56d0['id']&&(_0x5e56d0['id']=_0x5e56d0['id']+_0x41e017[_0x444033(0x217)]),Object['entries'](_0x5e56d0)[_0x444033(0x316)](([_0x5d0914,_0x262066])=>{const _0x4d48b5=_0x444033;_0x5d0914===_0x4d48b5(0x286)&&typeof _0x262066==_0x4d48b5(0x254)&&(_0x5e56d0[_0x5d0914]=_0x262066[_0x4d48b5(0x33d)](/url\(#(.*)\)/,_0x4d48b5(0x16d)+_0x41e017['idSuffix']+')'));});const {defIds:_0x243c85}=_0x41e017;return!_0x243c85||_0x243c85['length']===0x0||(_0x2f22d9[_0x444033(0x242)]===_0x444033(0x10b)&&_0x5e56d0['xlink:href']&&(_0x5e56d0[_0x444033(0x1ed)]=_0x5e56d0['xlink:href']+_0x41e017[_0x444033(0x217)]),Object[_0x444033(0x133)](_0x5e56d0)[_0x444033(0x316)](([_0x29b0db,_0x1cdaa5])=>{const _0x16eb09=_0x444033;typeof _0x1cdaa5==_0x16eb09(0x254)&&(_0x5e56d0[_0x29b0db]=_0x1cdaa5['replace'](/url\(#(.*)\)/,_0x16eb09(0x16d)+_0x41e017['idSuffix']+')'));})),_0x5e56d0;}function _0x30bd2f(_0x16114f,_0x1862ec){const _0x4c2278=_0x22d19e;var _0xa1ad79;const {defIds:_0x1a890a}=_0x1862ec;return!_0x1a890a||_0x1a890a[_0x4c2278(0x29c)]===0x0?_0x16114f:_0x16114f[_0x4c2278(0x242)]===_0x4c2278(0x301)&&((_0xa1ad79=_0x16114f[_0x4c2278(0x366)])!=null&&_0xa1ad79[_0x4c2278(0x29c)])?{..._0x16114f,'children':_0x16114f[_0x4c2278(0x366)]['map'](_0x2ca2da=>typeof _0x2ca2da[_0x4c2278(0x1c8)]['id']==_0x4c2278(0x254)&&_0x1a890a&&_0x1a890a[_0x4c2278(0x2ad)](_0x2ca2da[_0x4c2278(0x1c8)]['id'])?{..._0x2ca2da,'attrs':{..._0x2ca2da['attrs'],'id':_0x2ca2da[_0x4c2278(0x1c8)]['id']+_0x1862ec['idSuffix']}}:_0x2ca2da)}:_0x16114f;}function _0x27e521(){const _0x2688af=_0x22d19e;return Math['random']()[_0x2688af(0x14e)](0x24)[_0x2688af(0xc8)](0x2,0x8);}_0x318455[_0x22d19e(0x364)]=_0x22d19e(0x335);const _0x2184c1={'tag':'svg','attrs':{'xmlns':_0x22d19e(0xaa),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x22d19e(0x315),'height':_0x22d19e(0x315)},'children':[{'tag':'g','attrs':{'clipPath':_0x22d19e(0x2c1)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x22d19e(0x9c),'strokeLinecap':'round','strokeLinejoin':_0x22d19e(0x262),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x22d19e(0x279),'attrs':{'id':_0x22d19e(0x32a)},'children':[{'tag':_0x22d19e(0x130),'attrs':{'fill':_0x22d19e(0x204),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x22d19e(0x32a)]},_0x81dcf2=_0x3728a4[_0x22d19e(0x272)](function(_0x3143c2,_0x56887c){const _0x599dcf=_0x22d19e;return _0x3728a4['createElement'](_0x318455,Object['assign']({},_0x3143c2,{'id':_0x599dcf(0xd4),'ref':_0x56887c,'icon':_0x2184c1}));});_0x81dcf2['displayName']='OffLineIcon';const _0x1b6a09={'tag':_0x22d19e(0xd8),'attrs':{'xmlns':_0x22d19e(0xaa),'fill':_0x22d19e(0x2f6),'viewBox':_0x22d19e(0x12a),'width':_0x22d19e(0x315),'height':_0x22d19e(0x315)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x22d19e(0x130),'attrs':{'stroke':_0x22d19e(0x36b),'d':_0x22d19e(0x1b7),'strokeLinecap':_0x22d19e(0x262),'strokeLinejoin':_0x22d19e(0x262),'strokeWidth':1.2}}]},{'tag':_0x22d19e(0x301),'attrs':{},'children':[{'tag':_0x22d19e(0x279),'attrs':{'id':_0x22d19e(0x125)},'children':[{'tag':'path','attrs':{'fill':_0x22d19e(0x204),'d':_0x22d19e(0x2d6),'transform':_0x22d19e(0x349)}}]}]}],'defIds':[_0x22d19e(0x125)]},_0x34b6b5=_0x3728a4['forwardRef'](function(_0x1b8960,_0x26ab7d){const _0x383d42=_0x22d19e;return _0x3728a4['createElement'](_0x318455,Object[_0x383d42(0x267)]({},_0x1b8960,{'id':'on-line-icon','ref':_0x26ab7d,'icon':_0x1b6a09}));});_0x34b6b5[_0x22d19e(0x364)]=_0x22d19e(0xb7);function _0x2ec0b1(_0x3b13b5){const _0x423fee=_0x22d19e;switch(_0x3b13b5){case _0x29cbea['CollaborationStatus'][_0x423fee(0xec)]:return _0x423fee(0x20c);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x333)]:return _0x423fee(0x95);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x101)]:return _0x423fee(0x2c6);case _0x29cbea['CollaborationStatus'][_0x423fee(0x1d0)]:return'collabStatus.notCollab';case _0x29cbea[_0x423fee(0x1eb)]['AWAITING']:case _0x29cbea['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x423fee(0x2ec);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x1ee)]:case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x1c4)]:return _0x423fee(0x2c9);}}function _0x1117e8(_0x4adb36){const _0x1bd57b=_0x22d19e,{status$:_0x30c60f}=_0x4adb36,_0x2954c3=_0x270495[_0x1bd57b(0x2e9)](_0x30c60f,_0x29cbea[_0x1bd57b(0x1eb)][_0x1bd57b(0x1d0)]),_0x220e44=_0x270495[_0x1bd57b(0xed)](_0x4a5a1c['LocaleService']),_0x2de525=_0x270495[_0x1bd57b(0xed)](_0x29cbea[_0x1bd57b(0x32b)]),_0x52723e=_0x2954c3!==_0x29cbea[_0x1bd57b(0x1eb)][_0x1bd57b(0xec)],_0x298913=_0x220e44['t'](_0x2ec0b1(_0x2954c3)),_0xc417c4=_0x52723e?_0x54094d[_0x1bd57b(0x35f)](_0x34b6b5,{}):_0x54094d['jsx'](_0x81dcf2,{}),_0x2d274f=_0x3728a4[_0x1bd57b(0x22f)](()=>{const _0x5aa915=_0x1bd57b;_0x52723e||_0x2de525[_0x5aa915(0x198)]();},[_0x52723e,_0x2de525]);function _0x1097cb(){const _0x35bc59=_0x1bd57b;return _0x54094d[_0x35bc59(0x1e8)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x2d274f,'children':[_0x54094d['jsx'](_0x35bc59(0x270),{'className':_0x67c92c[_0x35bc59(0x172)](_0x35bc59(0x18d),{'univer-text-green-500':_0x52723e,'univer-text-red-500':!_0x52723e}),'children':_0xc417c4}),_0x54094d[_0x35bc59(0x35f)](_0x35bc59(0x270),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x298913})]});}return _0x52723e?_0x1097cb():_0x54094d[_0x1bd57b(0x35f)](_0x67c92c[_0x1bd57b(0x27e)],{'title':_0x220e44['t'](_0x1bd57b(0x12f)),'children':_0x1097cb()});}var _0x1f95d9=Object[_0x22d19e(0x1e2)],_0x3de216=(_0x6eadce,_0x2738a2,_0x1d4c75,_0x5c5b2)=>{const _0x37168f=_0x22d19e;for(var _0xc73206=_0x5c5b2>0x1?void 0x0:_0x5c5b2?_0x1f95d9(_0x2738a2,_0x1d4c75):_0x2738a2,_0x5c0bd9=_0x6eadce[_0x37168f(0x29c)]-0x1,_0xfaff54;_0x5c0bd9>=0x0;_0x5c0bd9--)(_0xfaff54=_0x6eadce[_0x5c0bd9])&&(_0xc73206=_0xfaff54(_0xc73206)||_0xc73206);return _0xc73206;},_0x424a95=(_0xa05b8d,_0x4d579e)=>(_0x48e415,_0xcaf905)=>_0x4d579e(_0x48e415,_0xcaf905,_0xa05b8d);_0x440074[_0x22d19e(0xd0)]=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x3404a7,_0x3b1535,_0x33605e,_0x32930b){const _0x5c1c2f=_0x22d19e;super(),_0xa63e61(this,'_status$',new _0x8d94e0[(_0x5c1c2f(0x90))](_0x29cbea['CollaborationStatus'][_0x5c1c2f(0x1d0)])),(this[_0x5c1c2f(0x2de)]=_0x3404a7,this[_0x5c1c2f(0x36e)]=_0x3b1535,this[_0x5c1c2f(0x139)]=_0x33605e,this[_0x5c1c2f(0x2dd)]=_0x32930b,this[_0x5c1c2f(0x1c2)](),this[_0x5c1c2f(0x127)]());}['_initStatusListener'](){const _0x5a9163=_0x22d19e;this[_0x5a9163(0xe5)](this['_univerInstanceService'][_0x5a9163(0x110)][_0x5a9163(0x296)](_0x8d94e0['switchMap'](()=>{const _0x3dccd8=_0x5a9163,_0x24be5a=this[_0x3dccd8(0x2de)][_0x3dccd8(0x36c)]();return _0x24be5a?this[_0x3dccd8(0x139)][_0x3dccd8(0xe1)](_0x24be5a['getUnitId']()):_0x8d94e0['of'](null);}),_0x8d94e0[_0x5a9163(0x1d5)](_0x543ee5=>_0x543ee5?_0x543ee5['status$']:_0x8d94e0['of'](_0x29cbea[_0x5a9163(0x1eb)][_0x5a9163(0x1d0)])))[_0x5a9163(0x35e)](_0x2bcc0f=>{this['_status$']['next'](_0x2bcc0f);}));}[_0x22d19e(0x1c2)](){const _0x5b6566=_0x22d19e;this[_0x5b6566(0xe5)](this[_0x5b6566(0x2dd)]['registerComponent'](_0x270495[_0x5b6566(0xcc)][_0x5b6566(0x9d)],()=>_0x270495[_0x5b6566(0x352)](_0x55feb5({'status$':this[_0x5b6566(0x223)][_0x5b6566(0xb4)]()}),this[_0x5b6566(0x36e)])));}},_0x440074[_0x22d19e(0xd0)]=_0x3de216([_0x424a95(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x424a95(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['Injector'])),_0x424a95(0x2,_0x4a5a1c['Inject'](_0x29cbea[_0x22d19e(0x9b)])),_0x424a95(0x3,_0x270495[_0x22d19e(0x288)])],_0x440074['DesktopCollaborationStatusDisplayController']);function _0x55feb5(_0x4b30eb){const {status$:_0x40a8d5}=_0x4b30eb;return function(){return _0x54094d['jsx'](_0x1117e8,{'status$':_0x40a8d5});};}const _0x1a7106=_0x4a5a1c[_0x22d19e(0x22e)]('uni.network.url-service');var _0x2d8cb6=Object['getOwnPropertyDescriptor'],_0xbe8d43=(_0x2d6fc6,_0x29c0da,_0x532493,_0x234ce1)=>{const _0x241568=_0x22d19e;for(var _0x6c2526=_0x234ce1>0x1?void 0x0:_0x234ce1?_0x2d8cb6(_0x29c0da,_0x532493):_0x29c0da,_0x2f79a3=_0x2d6fc6[_0x241568(0x29c)]-0x1,_0x4c4eb0;_0x2f79a3>=0x0;_0x2f79a3--)(_0x4c4eb0=_0x2d6fc6[_0x2f79a3])&&(_0x6c2526=_0x4c4eb0(_0x6c2526)||_0x6c2526);return _0x6c2526;},_0x5dbae3=(_0x119d9e,_0x1fe68c)=>(_0x178431,_0x40df59)=>_0x1fe68c(_0x178431,_0x40df59,_0x119d9e);_0x440074[_0x22d19e(0x230)]=class extends _0x4a5a1c['RxDisposable']{constructor(_0x27a6c0,_0x14c1db,_0x393447,_0x1df618,_0x1358d9){const _0x5bf668=_0x22d19e;super(),this['_urlService']=_0x27a6c0,this[_0x5bf668(0x1d7)]=_0x14c1db,this[_0x5bf668(0x2b1)]=_0x393447,this[_0x5bf668(0x332)]=_0x1df618,_0x1358d9?_0x1358d9==null||_0x1358d9[_0x5bf668(0x19c)]()[_0x5bf668(0x236)](()=>this[_0x5bf668(0x105)]()):(this[_0x5bf668(0x1d7)]['debug'](_0x5bf668(0x1d6),_0x5bf668(0x2cc)),this['_init']());}async[_0x22d19e(0x105)](){const _0x3c86d5=_0x22d19e,_0x293a75=this[_0x3c86d5(0x120)][_0x3c86d5(0x17b)](_0x3c86d5(0x300)),_0x32416b=this[_0x3c86d5(0x120)][_0x3c86d5(0x17b)]('type'),_0x3bf553=this['_urlService'][_0x3c86d5(0x17b)](_0x3c86d5(0x116));if(!_0x293a75||!_0x32416b){this['_logService']['debug'](_0x3c86d5(0x1d6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x34975e=await this[_0x3c86d5(0x332)]['loadUnit'](_0x293a75,Number(_0x32416b),_0x3bf553);_0x34975e&&_0x34975e instanceof _0x4a5a1c['Workbook']&&this['_setupSubUnitSync'](_0x34975e);}async[_0x22d19e(0x1cc)](_0x2db9eb){const _0x22f3ce=_0x22d19e;await this[_0x22f3ce(0x2c0)](_0x2db9eb),_0x2db9eb['activeSheet$']['pipe'](_0x8d94e0['takeUntil'](this['dispose$']))['subscribe'](_0x2dfc38=>{_0x2dfc38&&this['_updateURLWithCurrentState'](_0x2dfc38);}),this[_0x22f3ce(0x120)][_0x22f3ce(0x287)][_0x22f3ce(0x296)](_0x8d94e0[_0x22f3ce(0x9e)](this[_0x22f3ce(0x148)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x2db9eb));}[_0x22d19e(0xe9)](_0x3d7f83,_0x14d469=!0x1){const _0x5dc393=_0x22d19e,_0x122890=this[_0x5dc393(0x120)]['getParam'](_0x5dc393(0x116));_0x3d7f83[_0x5dc393(0x2b7)]()!==_0x122890&&this[_0x5dc393(0x120)][_0x5dc393(0x361)](_0x5dc393(0x116),_0x3d7f83['getSheetId'](),_0x14d469);}async['_updateSubUnitFromURLParams'](_0x413b49){const _0x56fc63=_0x22d19e;var _0x50e521;const _0xf63ecf=this[_0x56fc63(0x120)][_0x56fc63(0x17b)](_0x56fc63(0x116));if(!_0xf63ecf||!_0x413b49[_0x56fc63(0x281)](_0xf63ecf)){const _0x477fa9=_0x413b49[_0x56fc63(0x266)]()[0x0],_0x454fbb=_0x413b49[_0x56fc63(0x281)](_0x477fa9);if(!_0x454fbb)return;this[_0x56fc63(0xe9)](_0x454fbb,!0x0),await this['_commandService'][_0x56fc63(0x264)](_0x48c182[_0x56fc63(0xc0)]['id'],{'unitId':_0x413b49[_0x56fc63(0xb0)](),'subUnitId':_0x477fa9});return;}((_0x50e521=_0x413b49[_0x56fc63(0xc4)]())==null?void 0x0:_0x50e521[_0x56fc63(0x2b7)]())!==_0xf63ecf&&await this[_0x56fc63(0x2b1)][_0x56fc63(0x264)](_0x48c182['SetWorksheetActivateCommand']['id'],{'unitId':_0x413b49[_0x56fc63(0xb0)](),'subUnitId':_0xf63ecf});}},_0x440074[_0x22d19e(0x230)]=_0xbe8d43([_0x5dbae3(0x0,_0x1a7106),_0x5dbae3(0x1,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x5dbae3(0x2,_0x4a5a1c['ICommandService']),_0x5dbae3(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea['DataLoaderService'])),_0x5dbae3(0x4,_0x4a5a1c[_0x22d19e(0x35a)](_0xa7700f[_0x22d19e(0x124)]))],_0x440074[_0x22d19e(0x230)]);var _0x2c66f9=Object[_0x22d19e(0x1e2)],_0x1bb1bc=(_0x4d337c,_0x34adb4,_0x248d98,_0x2432f0)=>{const _0x15c306=_0x22d19e;for(var _0x32cfda=_0x2432f0>0x1?void 0x0:_0x2432f0?_0x2c66f9(_0x34adb4,_0x248d98):_0x34adb4,_0x5ac6c2=_0x4d337c[_0x15c306(0x29c)]-0x1,_0x4937cc;_0x5ac6c2>=0x0;_0x5ac6c2--)(_0x4937cc=_0x4d337c[_0x5ac6c2])&&(_0x32cfda=_0x4937cc(_0x32cfda)||_0x32cfda);return _0x32cfda;},_0x3160a6=(_0x175297,_0x546bff)=>(_0x12f702,_0x192ba8)=>_0x546bff(_0x12f702,_0x192ba8,_0x175297);let _0x3b2848=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x1cd3a0,_0x2d1bbc){const _0x3e696c=_0x22d19e;super(),this[_0x3e696c(0x1aa)]=_0x1cd3a0,this['_imageIoService']=_0x2d1bbc,this[_0x3e696c(0x105)]();}[_0x22d19e(0x105)](){const _0x32d9c5=_0x22d19e,_0x1dd156=this;this[_0x32d9c5(0xe5)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x20676c=>{const _0x3635a1=_0x32d9c5,_0x93f367=await _0x1dd156[_0x3635a1(0x317)]['saveImage'](_0x20676c);return _0x93f367?{'source':_0x93f367[_0x3635a1(0x337)],'imageSourceType':_0x93f367[_0x3635a1(0x309)]}:null;}}));}};_0x3b2848=_0x1bb1bc([_0x3160a6(0x0,_0x22126e['IDocClipboardService']),_0x3160a6(0x1,_0x1954a8[_0x22d19e(0x23e)])],_0x3b2848);const _0x158c52=[_0x22d19e(0x238),'jiqing.500',_0x22d19e(0x26d),_0x22d19e(0x1d8),_0x22d19e(0x268),'yellow.400'];class _0x54052c extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(){const _0x1c78c4=_0x22d19e;super(...arguments),_0xa63e61(this,_0x1c78c4(0xa5),new Map()),_0xa63e61(this,_0x1c78c4(0x29a),0x0);}[_0x22d19e(0x34f)](_0x5690c3){const _0x34df30=_0x22d19e;if(this[_0x34df30(0xa5)]['has'](_0x5690c3))return this[_0x34df30(0xa5)][_0x34df30(0x18e)](_0x5690c3);const _0x816f2c=_0x158c52[this[_0x34df30(0x29a)]];return this[_0x34df30(0x29a)]=(this[_0x34df30(0x29a)]+0x1)%_0x158c52[_0x34df30(0x29c)],this[_0x34df30(0xa5)][_0x34df30(0x25b)](_0x5690c3,_0x816f2c),_0x816f2c;}}function _0x4fb987(_0xe93690){const _0xf8420d=_0x22d19e;let _0x1030cd='';for(const _0x11477e of _0xe93690){const {startOffset:_0x5922b9,endOffset:_0x33e75c,isActive:_0x239d45,rangeType:_0x4b0ba4,segmentId:_0x1581a0,segmentPage:_0x257805}=_0x11477e;_0x1030cd[_0xf8420d(0x29c)]&&(_0x1030cd+=','),_0x1030cd+=_0x5922b9+':'+_0x33e75c+':'+(_0x239d45?'1':'0')+':'+_0x4b0ba4+':'+_0x1581a0+':'+_0x257805;}return _0x1030cd;}function _0x1d4227(_0x3cd51b){const _0x1bb39a=_0x22d19e,_0x1d4422=_0x3cd51b[_0x1bb39a(0x143)](','),_0x4d2a21=[];for(const _0x190de4 of _0x1d4422){const [_0x7b613b,_0x205174,_0x2ea7d0,_0x50f178,_0x18a1c1,_0x8e7aa1]=_0x190de4[_0x1bb39a(0x143)](':');_0x4d2a21[_0x1bb39a(0x256)]({'startOffset':Number(_0x7b613b),'endOffset':Number(_0x205174),'collapsed':_0x7b613b===_0x205174,'isActive':_0x2ea7d0==='1','rangeType':_0x50f178===_0x4a5a1c[_0x1bb39a(0x1a7)][_0x1bb39a(0x108)]?_0x4a5a1c['DOC_RANGE_TYPE'][_0x1bb39a(0x108)]:_0x4a5a1c['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x18a1c1==_0x1bb39a(0x254)?String(_0x18a1c1):'','segmentPage':Number(_0x8e7aa1!=null?_0x8e7aa1:-0x1)});}return _0x4d2a21[_0x1bb39a(0x14c)](_0x4247e2=>_0x4247e2[_0x1bb39a(0x226)])||(_0x4d2a21[0x0]['isActive']=!0x0),_0x4d2a21;}class _0x5e2c98 extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(){const _0x58af81=_0x22d19e;super(...arguments),_0xa63e61(this,_0x58af81(0xfd),new _0x8d94e0[(_0x58af81(0x90))](null)),_0xa63e61(this,_0x58af81(0x21b),this[_0x58af81(0xfd)][_0x58af81(0xb4)]());}[_0x22d19e(0x19f)](_0x479c55){const _0x21340f=_0x22d19e,{unitID:_0x4d5051,memberID:_0x55b16c,textRanges:_0x1ac17e}=_0x479c55,_0x46fef3=_0x4fb987(_0x1ac17e);if(_0x46fef3==='')return;const _0x2c61fc={'unitID':_0x4d5051,'memberID':_0x55b16c,'selection':_0x46fef3};this[_0x21340f(0xfd)][_0x21340f(0x218)](_0x2c61fc);}}var _0xc6f851=Object['getOwnPropertyDescriptor'],_0x4c204a=(_0x55c449,_0xde6fec,_0x1228e2,_0x3a16f6)=>{const _0x4bcd02=_0x22d19e;for(var _0x241933=_0x3a16f6>0x1?void 0x0:_0x3a16f6?_0xc6f851(_0xde6fec,_0x1228e2):_0xde6fec,_0x41cbb9=_0x55c449[_0x4bcd02(0x29c)]-0x1,_0x8dd86c;_0x41cbb9>=0x0;_0x41cbb9--)(_0x8dd86c=_0x55c449[_0x41cbb9])&&(_0x241933=_0x8dd86c(_0x241933)||_0x241933);return _0x241933;},_0x758b0d=(_0xc2ac20,_0x4cf66e)=>(_0x3c8a59,_0x1b8e9c)=>_0x4cf66e(_0x3c8a59,_0x1b8e9c,_0xc2ac20);const _0x2b9030=0x12c,_0x5ccb76=0x64;let _0x5d83b2=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x553855,_0x138b41,_0x1cbaee,_0x1aa6fc,_0xcf3f78,_0x682c1a,_0x5b98a7,_0x4981c3,_0x5a3f81){const _0x3d33e6=_0x22d19e;super(),_0xa63e61(this,_0x3d33e6(0x2ff),!0x1),_0xa63e61(this,'_init',!0x1),_0xa63e61(this,_0x3d33e6(0x273),new _0x8d94e0[(_0x3d33e6(0x90))](new Map())),_0xa63e61(this,_0x3d33e6(0x1b4),this[_0x3d33e6(0x273)][_0x3d33e6(0xb4)]()),_0xa63e61(this,'_roomMembers$',new _0x8d94e0['BehaviorSubject']([])),_0xa63e61(this,_0x3d33e6(0x103),this['_roomMembers$']['pipe'](_0x8d94e0[_0x3d33e6(0x25e)](_0x2b9030))),_0xa63e61(this,_0x3d33e6(0x15a),_0x4a5a1c[_0x3d33e6(0x25d)](_0x106917=>{const _0xf1c192=_0x3d33e6,_0x4e4976={'eventID':_0x4a6bb0[_0xf1c192(0x1b2)][_0xf1c192(0x32f)],'data':{'unitID':this[_0xf1c192(0x2bb)],'memberID':this[_0xf1c192(0x25c)][_0xf1c192(0x34a)](),'selection':_0x4fb987(_0x106917)}};this[_0xf1c192(0x25c)]['send'](_0x4e4976,this[_0xf1c192(0x2bb)]);},_0x5ccb76)),(this[_0x3d33e6(0x2bb)]=_0x553855,this[_0x3d33e6(0x25c)]=_0x138b41,this[_0x3d33e6(0x36e)]=_0x1cbaee,this['_colorAssignService']=_0x1aa6fc,this[_0x3d33e6(0x2b0)]=_0xcf3f78,this[_0x3d33e6(0x2cd)]=_0x682c1a,this['_transformService']=_0x5b98a7,this[_0x3d33e6(0x2de)]=_0x4981c3,this['_commandService']=_0x5a3f81);}get[_0x22d19e(0x1a0)](){const _0x529f77=_0x22d19e;return this[_0x529f77(0x273)]['getValue']();}get[_0x22d19e(0x324)](){const _0x22960d=_0x22d19e;return this[_0x22960d(0x2cf)][_0x22960d(0x1db)]();}['dispose'](){const _0x21b3c5=_0x22d19e;super['dispose'](),this[_0x21b3c5(0x273)][_0x21b3c5(0x218)](new Map()),this['_cursorInfo$'][_0x21b3c5(0x1bf)](),this[_0x21b3c5(0x2cf)][_0x21b3c5(0x218)]([]),this[_0x21b3c5(0x2cf)][_0x21b3c5(0x1bf)]();}['init'](){const _0x3bb919=_0x22d19e;this[_0x3bb919(0x105)]||(this[_0x3bb919(0x105)]=!0x0,this['_session'][_0x3bb919(0xda)][_0x3bb919(0x296)](_0x8d94e0['takeUntil'](this[_0x3bb919(0x148)]))[_0x3bb919(0x35e)](_0x356a06=>{const _0x449cd3=_0x3bb919;_0x356a06===_0x29cbea[_0x449cd3(0x269)][_0x449cd3(0x2c4)]?this['_toggleOnline']():this[_0x449cd3(0x250)]();}),this['_session'][_0x3bb919(0xa3)][_0x3bb919(0x296)](_0x8d94e0['takeUntil'](this['dispose$']))[_0x3bb919(0x35e)](_0x3eb262=>{const _0x17aa51=_0x3bb919,_0x35b360=_0x3eb262[_0x17aa51(0x1ce)];_0x35b360===_0x4a6bb0[_0x17aa51(0x1b2)][_0x17aa51(0x32f)]&&this[_0x17aa51(0x2b4)](_0x3eb262),_0x35b360===_0x4a6bb0[_0x17aa51(0x1b2)]['USERS_LEAVE']&&this[_0x17aa51(0x1fb)](_0x3eb262);}),this['disposeWithMe'](this[_0x3bb919(0x2b1)][_0x3bb919(0x1f9)](_0x4ca2fc=>{const _0x59584c=_0x3bb919,_0x3e779d=_0x4ca2fc[_0x59584c(0x22d)];_0x3e779d!=null&&this[_0x59584c(0x2ff)]&&_0x4ca2fc['id']===_0x5afd4e['SetTextSelectionsOperation']['id']&&_0x3e779d[_0x59584c(0x369)]===this['unitID']&&_0x3e779d['isEditing']===!0x1&&_0x3e779d[_0x59584c(0x2d3)]['length']>0x0&&this['_updateLocalCursor'](_0x3e779d[_0x59584c(0x2d3)]);})),this['_syncEditingCollabCursorService'][_0x3bb919(0x21b)][_0x3bb919(0x296)](_0x8d94e0[_0x3bb919(0x9e)](this['dispose$']))[_0x3bb919(0x35e)](_0x5d9413=>{const _0x4521eb=_0x3bb919;if((_0x5d9413==null?void 0x0:_0x5d9413[_0x4521eb(0x2bb)])!==this[_0x4521eb(0x2bb)])return;const _0x4af0b4={'eventID':_0x4a6bb0[_0x4521eb(0x1b2)][_0x4521eb(0x32f)],'data':_0x5d9413};this[_0x4521eb(0x2b4)](_0x4af0b4);}),this[_0x3bb919(0xe5)](this[_0x3bb919(0x2b1)][_0x3bb919(0x1f9)](_0x362ac4=>{const _0x29d2ac=_0x3bb919;if(_0x362ac4[_0x29d2ac(0x22d)]==null)return;const _0x1912bc=_0x362ac4['params'];if(_0x362ac4['id']!==_0x5afd4e[_0x29d2ac(0x304)]['id']||_0x1912bc[_0x29d2ac(0x369)]!==this['unitID'])return;const _0x1044a9={'id':_0x29d2ac(0x2a5),'params':_0x1912bc},_0x1c2ea5=this['cursorInfo'];for(const [_0xf2cfa2,_0x315412]of _0x1c2ea5){const _0x46053b={'id':_0x29d2ac(0x2a5),'params':{'unitId':this[_0x29d2ac(0x2bb)],'actions':null,'textRanges':_0x315412[_0x29d2ac(0x2d3)]}},_0x2cac1d=this['_transformService'][_0x29d2ac(0x9f)](_0x1044a9,_0x46053b,!0x1);if(_0x4a6bb0['isTransformMutationFailure'](_0x2cac1d))throw _0x2cac1d['error'];_0x1c2ea5[_0x29d2ac(0x25b)](_0xf2cfa2,{..._0x315412,'ranges':_0x2cac1d['m2Prime']['params'][_0x29d2ac(0x30f)]});}queueMicrotask(()=>{const _0x1b850a=_0x29d2ac;this[_0x1b850a(0x273)][_0x1b850a(0x218)](_0x1c2ea5);});})));}['_onCursorUpdate'](_0x5895a1){const _0x5b36e4=_0x22d19e;var _0x38aa6b,_0x2f2eaa;const {memberID:_0x5200f1,selection:_0x26f9c5}=_0x5895a1[_0x5b36e4(0x136)],_0x2affd8=_0x1d4227(_0x26f9c5),_0x29f551=(_0x2f2eaa=(_0x38aa6b=this[_0x5b36e4(0x2b0)][_0x5b36e4(0xab)](this['unitID'],_0x5200f1))==null?void 0x0:_0x38aa6b['name'])!=null?_0x2f2eaa:'Unknown\x20user',_0x1bb3b1={'color':this[_0x5b36e4(0x2e0)]['assignAColorForMemberID'](_0x5200f1),'name':_0x29f551,'ranges':_0x2affd8},_0x54e1e6=this[_0x5b36e4(0x1a0)];_0x54e1e6['set'](_0x5200f1,_0x1bb3b1),this['_cursorInfo$'][_0x5b36e4(0x218)](_0x54e1e6);}[_0x22d19e(0x1fb)](_0x51a360){const _0x1feb13=_0x22d19e,{memberID:_0x1ab4b2}=_0x51a360[_0x1feb13(0x136)],_0x46635e=this[_0x1feb13(0x1a0)];_0x46635e['delete'](_0x1ab4b2),this['_cursorInfo$'][_0x1feb13(0x218)](_0x46635e);}[_0x22d19e(0x156)](){const _0x10d4c2=_0x22d19e;var _0x2bad50;if(this['_online']=!0x0,((_0x2bad50=this[_0x10d4c2(0x2de)]['getFocusedUnit']())==null?void 0x0:_0x2bad50[_0x10d4c2(0xb0)]())!==this[_0x10d4c2(0x2bb)])return;const _0x2e3d14=this[_0x10d4c2(0x36e)][_0x10d4c2(0x18e)](_0x5afd4e['DocSelectionManagerService'])[_0x10d4c2(0x276)]();Array[_0x10d4c2(0xca)](_0x2e3d14)&&_0x2e3d14[_0x10d4c2(0x29c)]>0x0&&this[_0x10d4c2(0x15a)](_0x2e3d14);}[_0x22d19e(0x250)](){const _0x330e1b=_0x22d19e;this[_0x330e1b(0x2ff)]=!0x1;}};_0x5d83b2=_0x4c204a([_0x758b0d(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x758b0d(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x54052c)),_0x758b0d(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x1e0)])),_0x758b0d(0x5,_0x4a5a1c[_0x22d19e(0x35d)](_0x5e2c98)),_0x758b0d(0x6,_0x4a6bb0['ITransformService']),_0x758b0d(0x7,_0x4a5a1c[_0x22d19e(0x303)]),_0x758b0d(0x8,_0x4a5a1c['ICommandService'])],_0x5d83b2);var _0x3fd83d=Object[_0x22d19e(0x1e2)],_0x117c72=(_0x3e7396,_0x4f889d,_0x52d4dd,_0x3aa87a)=>{const _0x263dd2=_0x22d19e;for(var _0x4dc25a=_0x3aa87a>0x1?void 0x0:_0x3aa87a?_0x3fd83d(_0x4f889d,_0x52d4dd):_0x4f889d,_0x312453=_0x3e7396[_0x263dd2(0x29c)]-0x1,_0x267aa3;_0x312453>=0x0;_0x312453--)(_0x267aa3=_0x3e7396[_0x312453])&&(_0x4dc25a=_0x267aa3(_0x4dc25a)||_0x4dc25a);return _0x4dc25a;},_0x3dc9f7=(_0x5879e1,_0x4082e9)=>(_0x56860d,_0x34dd26)=>_0x4082e9(_0x56860d,_0x34dd26,_0x5879e1);const _0x57f142=0x12c,_0x6b3f66=0x64,_0x6ec09=()=>{let _0x51a0d6=[],_0x5f083f=!0x1;return _0x2772c1=>{_0x51a0d6['push'](_0x2772c1),_0x5f083f||(_0x5f083f=!0x0,setTimeout(()=>{_0x51a0d6['forEach'](_0x53bd59=>_0x53bd59()),_0x51a0d6=[],_0x5f083f=!0x1;}));};};let _0xd019b3=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x1ef9a3,_0x237b5f,_0x47e80e,_0xfb1ad4,_0x220aaf,_0x53d56c,_0x449064,_0x2b9d95){const _0x52ddfb=_0x22d19e;super(),_0xa63e61(this,'_online',!0x1),_0xa63e61(this,_0x52ddfb(0x105),!0x1),_0xa63e61(this,'_cursorInfo$',new _0x8d94e0[(_0x52ddfb(0x90))](new Map())),_0xa63e61(this,_0x52ddfb(0x1b4),this[_0x52ddfb(0x273)][_0x52ddfb(0xb4)]()),_0xa63e61(this,_0x52ddfb(0x2cf),new _0x8d94e0[(_0x52ddfb(0x90))]([])),_0xa63e61(this,_0x52ddfb(0x103),this[_0x52ddfb(0x2cf)][_0x52ddfb(0x296)](_0x8d94e0[_0x52ddfb(0x25e)](_0x57f142))),_0xa63e61(this,_0x52ddfb(0x15a),_0x4a5a1c['debounce']((_0xf43d5,_0x4df24c)=>{const _0x3413d4=_0x52ddfb,_0x55923d={'eventID':_0x4a6bb0[_0x3413d4(0x1b2)][_0x3413d4(0x32f)],'data':{'unitID':this[_0x3413d4(0x2bb)],'memberID':this[_0x3413d4(0x25c)]['getMemberID'](),'selection':_0x419491[_0x3413d4(0x358)](_0xf43d5,_0x4df24c[_0x3413d4(0x2f0)])}};this[_0x3413d4(0x25c)][_0x3413d4(0x10e)](_0x55923d,this[_0x3413d4(0x2bb)]);},_0x6b3f66)),(this[_0x52ddfb(0x2bb)]=_0x1ef9a3,this[_0x52ddfb(0x25c)]=_0x237b5f,this[_0x52ddfb(0x36e)]=_0x47e80e,this[_0x52ddfb(0x2e0)]=_0xfb1ad4,this[_0x52ddfb(0x2b0)]=_0x220aaf,this[_0x52ddfb(0x2de)]=_0x53d56c,this[_0x52ddfb(0x2b1)]=_0x449064,this[_0x52ddfb(0x180)]=_0x2b9d95);}get['cursorInfo'](){const _0x2a9977=_0x22d19e;return this['_cursorInfo$'][_0x2a9977(0x1db)]();}get['roomMembers'](){const _0x355003=_0x22d19e;return this['_roomMembers$'][_0x355003(0x1db)]();}[_0x22d19e(0x210)](){const _0x714c78=_0x22d19e;super['dispose'](),this[_0x714c78(0x273)][_0x714c78(0x218)](new Map()),this[_0x714c78(0x273)][_0x714c78(0x1bf)](),this[_0x714c78(0x2cf)]['next']([]),this[_0x714c78(0x2cf)][_0x714c78(0x1bf)]();}['init'](){const _0x489218=_0x22d19e;this[_0x489218(0x105)]||(this[_0x489218(0x105)]=!0x0,this[_0x489218(0x25c)][_0x489218(0xda)]['pipe'](_0x8d94e0[_0x489218(0x9e)](this[_0x489218(0x148)]))['subscribe'](_0x363af4=>{const _0x27c6eb=_0x489218;_0x363af4===_0x29cbea['SessionStatus']['ONLINE']?this[_0x27c6eb(0x156)]():this['_toggleOffline']();}),this['_session'][_0x489218(0xa3)][_0x489218(0x296)](_0x8d94e0[_0x489218(0x9e)](this[_0x489218(0x148)]))['subscribe'](_0x103229=>{const _0x1b1504=_0x489218,_0x477f3e=_0x103229[_0x1b1504(0x1ce)];_0x477f3e===_0x4a6bb0[_0x1b1504(0x1b2)][_0x1b1504(0x32f)]&&this[_0x1b1504(0x2b4)](_0x103229),_0x477f3e===_0x4a6bb0[_0x1b1504(0x1b2)]['USERS_LEAVE']&&this[_0x1b1504(0x1fb)](_0x103229);}),this[_0x489218(0x23b)](),this[_0x489218(0xe5)](this[_0x489218(0x2b1)]['onCommandExecuted'](_0x133883=>{const _0x28f40c=_0x489218;if(this[_0x28f40c(0x2ff)]&&_0x133883['id']===_0x48c182[_0x28f40c(0x10a)]['id']&&_0x133883[_0x28f40c(0x22d)][_0x28f40c(0x369)]===this[_0x28f40c(0x2bb)]){const _0x48a9da=_0x133883['params'];this['_updateLocalCursor'](_0x48a9da[_0x28f40c(0x1df)],_0x48a9da[_0x28f40c(0x1fa)][0x0]);}})));}[_0x22d19e(0x2b4)](_0x3f8585){const _0x36108e=_0x22d19e;var _0x431eef,_0x411d9f;const {memberID:_0x4402e9,selection:_0x2c9f77}=_0x3f8585[_0x36108e(0x136)],{sheetName:_0x37a1a1,range:_0x341c04}=_0x419491[_0x36108e(0x157)](_0x2c9f77),_0x2c6f4b={'name':(_0x411d9f=(_0x431eef=this[_0x36108e(0x2b0)][_0x36108e(0xab)](this['unitID'],_0x4402e9))==null?void 0x0:_0x431eef[_0x36108e(0x2a6)])!=null?_0x411d9f:'Unknown\x20user','range':this[_0x36108e(0x341)](_0x37a1a1,_0x341c04),'sheetID':_0x37a1a1,'color':this[_0x36108e(0x2e0)]['assignAColorForMemberID'](_0x4402e9),'selection':_0x2c9f77},_0x10133a=this[_0x36108e(0x1a0)];_0x10133a[_0x36108e(0x25b)](_0x4402e9,_0x2c6f4b),this[_0x36108e(0x273)][_0x36108e(0x218)](_0x10133a);}[_0x22d19e(0x1fb)](_0x368942){const _0x18d6af=_0x22d19e,{memberID:_0x75a975}=_0x368942['data'],_0x345796=this['cursorInfo'];_0x345796['delete'](_0x75a975),this[_0x18d6af(0x273)][_0x18d6af(0x218)](_0x345796);}['_getMergeRange'](_0x34611d,_0xe6b6b9){const _0x43cec7=_0x22d19e;var _0x43079a,_0x369962;const _0x5d7f48=(_0x369962=(_0x43079a=this['_univerInstanceService'][_0x43cec7(0x20a)](this[_0x43cec7(0x2bb)]))==null?void 0x0:_0x43079a[_0x43cec7(0x281)](_0x34611d))==null?void 0x0:_0x369962[_0x43cec7(0x258)]();return(_0x5d7f48==null?void 0x0:_0x5d7f48['find'](_0x3a70f8=>_0x4a5a1c[_0x43cec7(0x2ca)][_0x43cec7(0x109)](_0x3a70f8,_0xe6b6b9)))||_0xe6b6b9;}[_0x22d19e(0x23b)](){const _0x5e2102=_0x22d19e,_0x2b4899=new _0x4a5a1c[(_0x5e2102(0x93))](),_0x14a752=_0x6ec09(),_0x1c3141=()=>{const _0x44fd84=_0x5e2102;_0x2b4899[_0x44fd84(0x210)]();const _0x228112=(_0x4ce6de,_0x224e37,_0x1029a4,_0x127bf0)=>{const _0x55d8c1=_0x44fd84;let _0x4a5942=[];switch(_0x4ce6de['id']){case _0x48c182['EffectRefRangId'][_0x55d8c1(0x2a1)]:{_0x4a5942=_0x48c182['handleDeleteRangeMoveLeft'](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)]['DeleteRangeMoveUpCommandId']:{_0x4a5942=_0x48c182[_0x55d8c1(0x117)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x294)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x201)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)]['InsertRangeMoveDownCommandId']:{_0x4a5942=_0x48c182[_0x55d8c1(0x128)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x17f)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x2d5)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x350)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x1d3)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x246)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x15e)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x10c)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x2bf)](_0x4ce6de,_0x127bf0);break;}case _0x48c182['EffectRefRangId']['RemoveRowCommandId']:{_0x4a5942=_0x48c182['handleIRemoveRow'](_0x4ce6de,_0x127bf0);break;}}const _0x496dfd=_0x48c182['runRefRangeMutations'](_0x4a5942,_0x127bf0),_0x260f33=this['cursorInfo']['get'](_0x224e37);if(_0x260f33&&_0x496dfd){const _0x128656={..._0x260f33,'range':_0x496dfd};this['cursorInfo'][_0x55d8c1(0x25b)](_0x224e37,_0x128656),_0x14a752(()=>{const _0x4a48dc=_0x55d8c1,_0x34768e=this[_0x4a48dc(0x180)][_0x4a48dc(0x106)](_0x496dfd,_0x17deac=>(_0x34768e[_0x4a48dc(0x210)](),_0x228112(_0x17deac,_0x224e37,_0x1029a4,_0x496dfd)));_0x2b4899['add'](_0x34768e);});}return{'redos':[],'undos':[]};};this[_0x44fd84(0x1a0)][_0x44fd84(0x316)]((_0x1c5a1c,_0x198a3f)=>{const _0x531827=_0x44fd84,{range:_0x13e629,sheetID:_0x55e11b}=_0x1c5a1c,_0x197fbd=this[_0x531827(0x180)][_0x531827(0x106)](_0x13e629,_0x56ba51=>(_0x197fbd[_0x531827(0x210)](),_0x228112(_0x56ba51,_0x198a3f,_0x55e11b,_0x13e629)));_0x2b4899[_0x531827(0x23a)](_0x197fbd);});};this['disposeWithMe'](_0x4a5a1c[_0x5e2102(0x28a)](this[_0x5e2102(0x273)][_0x5e2102(0x35e)](()=>{_0x1c3141();})));}[_0x22d19e(0x156)](){const _0x5e192e=_0x22d19e;var _0x3a4b46,_0x11ec8e;if(this[_0x5e192e(0x2ff)]=!0x0,((_0x3a4b46=this[_0x5e192e(0x2de)][_0x5e192e(0x36c)]())==null?void 0x0:_0x3a4b46[_0x5e192e(0xb0)]())!==this['unitID'])return;const _0x4e8271=(_0x11ec8e=this[_0x5e192e(0x36e)][_0x5e192e(0x18e)](_0x48c182[_0x5e192e(0x2dc)])[_0x5e192e(0x2ac)]())==null?void 0x0:_0x11ec8e[0x0],_0x3cf02e=this['_univerInstanceService']['getCurrentUnitForType'](_0x4a5a1c[_0x5e192e(0x2b9)][_0x5e192e(0x1cf)])['getActiveSheet']();_0x4e8271&&_0x3cf02e&&this['_updateLocalCursor'](_0x3cf02e[_0x5e192e(0x2b7)](),_0x4e8271);}['_toggleOffline'](){this['_online']=!0x1;}};_0xd019b3=_0x117c72([_0x3dc9f7(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x3dc9f7(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x54052c)),_0x3dc9f7(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x1e0)])),_0x3dc9f7(0x5,_0x4a5a1c[_0x22d19e(0x303)]),_0x3dc9f7(0x6,_0x4a5a1c[_0x22d19e(0x263)]),_0x3dc9f7(0x7,_0x4a5a1c[_0x22d19e(0x35d)](_0x48c182[_0x22d19e(0x28f)]))],_0xd019b3);var _0x5b765c=Object[_0x22d19e(0x1e2)],_0x1ec8f3=(_0x59d57e,_0x3c478e,_0x1a96e5,_0x457e59)=>{const _0x191fe8=_0x22d19e;for(var _0x1b37dd=_0x457e59>0x1?void 0x0:_0x457e59?_0x5b765c(_0x3c478e,_0x1a96e5):_0x3c478e,_0x586945=_0x59d57e[_0x191fe8(0x29c)]-0x1,_0x421264;_0x586945>=0x0;_0x586945--)(_0x421264=_0x59d57e[_0x586945])&&(_0x1b37dd=_0x421264(_0x1b37dd)||_0x1b37dd);return _0x1b37dd;},_0x18a1f3=(_0x1a705e,_0x567169)=>(_0x2f3a03,_0x213894)=>_0x567169(_0x2f3a03,_0x213894,_0x1a705e);let _0x8689c=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x31edf2,_0x49d082,_0x582c51){const _0xab9d06=_0x22d19e;super(),_0xa63e61(this,_0xab9d06(0x2ea),new Map()),_0xa63e61(this,'_entityInit$',new _0x8d94e0[(_0xab9d06(0x181))]()),(this[_0xab9d06(0x2de)]=_0x31edf2,this[_0xab9d06(0x36e)]=_0x49d082,this[_0xab9d06(0x1d4)]=_0x582c51,this[_0xab9d06(0x105)]());}[_0x22d19e(0x210)](){const _0x42d4cc=_0x22d19e;super[_0x42d4cc(0x210)](),this['_entityInit$'][_0x42d4cc(0x1bf)](),this[_0x42d4cc(0x2ea)][_0x42d4cc(0x316)](_0x2fa1b6=>_0x2fa1b6[_0x42d4cc(0x210)]());}[_0x22d19e(0xb8)](_0x5111af){const _0x2a74d2=_0x22d19e;return this['_entities'][_0x2a74d2(0x241)](_0x5111af)?this['_entities']['get'](_0x5111af)['cursorInfo$']:this['_entityInit$']['pipe'](_0x8d94e0['filter'](_0x18c20b=>_0x18c20b['unitID']===_0x5111af),_0x8d94e0[_0x2a74d2(0x1d5)](_0x288c16=>_0x288c16[_0x2a74d2(0x1b4)]));}[_0x22d19e(0x105)](){const _0x550f57=_0x22d19e;this['_univerInstanceService'][_0x550f57(0x209)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x1cf)])[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this[_0x550f57(0x148)]))[_0x550f57(0x35e)](async _0x1c31d8=>{const _0x22cdfd=_0x550f57,_0x138e08=_0x1c31d8[_0x22cdfd(0xb0)](),_0x2fb11f=await this['_startSheetCollabCursor'](_0x138e08);this[_0x22cdfd(0xc3)][_0x22cdfd(0x218)](_0x2fb11f),this['_entities']['set'](_0x138e08,_0x2fb11f);}),this[_0x550f57(0x2de)][_0x550f57(0x209)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x214)])[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this['dispose$']))[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x135)](_0x37060d=>!_0x37060d[_0x550f57(0xb0)]()['startsWith']('__')))[_0x550f57(0x35e)](async _0x44f11b=>{const _0x5cd1b5=_0x550f57,_0xe90904=_0x44f11b[_0x5cd1b5(0xb0)](),_0x4da763=await this[_0x5cd1b5(0x211)](_0xe90904);this['_entityInit$']['next'](_0x4da763),this[_0x5cd1b5(0x2ea)][_0x5cd1b5(0x25b)](_0xe90904,_0x4da763);}),_0x8d94e0['merge'](this['_univerInstanceService'][_0x550f57(0x10f)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x214)]),this[_0x550f57(0x2de)][_0x550f57(0x10f)](_0x4a5a1c[_0x550f57(0x2b9)][_0x550f57(0x1cf)]))[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this[_0x550f57(0x148)]))[_0x550f57(0x35e)](_0x3a3f77=>{const _0x2ea3df=_0x550f57,_0x433317=_0x3a3f77['getUnitId'](),_0x162fe9=this['_entities'][_0x2ea3df(0x18e)](_0x433317);_0x162fe9&&(_0x162fe9[_0x2ea3df(0x210)](),this['_entities']['delete'](_0x433317));});}async['_startSheetCollabCursor'](_0x3353d5){const _0x555608=_0x22d19e,_0x2e7ac3=await this[_0x555608(0x1d4)][_0x555608(0x1d2)](_0x3353d5),_0x325149=this[_0x555608(0x36e)][_0x555608(0x100)](_0xd019b3,_0x3353d5,_0x2e7ac3);return _0x325149[_0x555608(0x345)](),_0x325149;}async['_startDocCollabCursor'](_0xf2f7b){const _0x1303a9=_0x22d19e,_0x2ed682=await this[_0x1303a9(0x1d4)][_0x1303a9(0x1d2)](_0xf2f7b),_0xac6878=this['_injector'][_0x1303a9(0x100)](_0x5d83b2,_0xf2f7b,_0x2ed682);return _0xac6878['init'](),_0xac6878;}};_0x8689c=_0x1ec8f3([_0x18a1f3(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x18a1f3(0x1,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x18a1f3(0x2,_0x4a5a1c['Inject'](_0x29cbea[_0x22d19e(0x32b)]))],_0x8689c);const _0x3f556f=0x14,_0x4f017f=0xc8,_0x51b87a=0x4,_0x2d721b=0x5;function _0x1ed5be(_0x335bda,_0x2777a5){const _0x6f0338=_0x22d19e;let {radius:_0x151c66,width:_0x4f50eb,height:_0x127916}=_0x2777a5;_0x151c66=_0x151c66!=null?_0x151c66:0x0,_0x4f50eb=_0x4f50eb!=null?_0x4f50eb:0x1e,_0x127916=_0x127916!=null?_0x127916:0x1e;let _0x34ebdf=0x0,_0x21c8e8=0x0,_0x304ab6=0x0;_0x34ebdf=_0x21c8e8=_0x304ab6=Math[_0x6f0338(0x26b)](_0x151c66,_0x4f50eb/0x2,_0x127916/0x2),_0x335bda[_0x6f0338(0xf4)](),_0x335bda[_0x6f0338(0x257)](_0x34ebdf,0x0),_0x335bda['lineTo'](_0x4f50eb-_0x21c8e8,0x0),_0x335bda[_0x6f0338(0x227)](_0x4f50eb-_0x21c8e8,_0x21c8e8,_0x21c8e8,Math['PI']*0x3/0x2,0x0,!0x1),_0x335bda[_0x6f0338(0x2a2)](_0x4f50eb,_0x127916-_0x304ab6),_0x335bda[_0x6f0338(0x227)](_0x4f50eb-_0x304ab6,_0x127916-_0x304ab6,_0x304ab6,0x0,Math['PI']/0x2,!0x1),_0x335bda['lineTo'](0x0,_0x127916),_0x335bda['lineTo'](0x0,_0x34ebdf),_0x335bda[_0x6f0338(0x227)](_0x34ebdf,_0x34ebdf,_0x34ebdf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x335bda['closePath'](),_0x2777a5[_0x6f0338(0x2a8)]&&(_0x335bda['save'](),_0x335bda[_0x6f0338(0x121)]=_0x2777a5[_0x6f0338(0x2a8)],_0x2777a5[_0x6f0338(0x1dd)]==='evenodd'?_0x335bda[_0x6f0338(0x2a8)](_0x6f0338(0x2b5)):_0x335bda[_0x6f0338(0x2a8)](),_0x335bda['restore']());}class _0x132457 extends _0x5d2f68[_0x22d19e(0x36a)]{constructor(_0xc46710,_0x574458){const _0xf2eb44=_0x22d19e;super(_0xc46710,_0x574458),_0xa63e61(this,_0xf2eb44(0x174)),_0xa63e61(this,_0xf2eb44(0xeb)),(this['color']=_0x574458==null?void 0x0:_0x574458[_0xf2eb44(0x174)],this[_0xf2eb44(0xeb)]=_0x574458==null?void 0x0:_0x574458[_0xf2eb44(0xeb)]);}static[_0x22d19e(0xe2)](_0x1092cd,_0x27d2bc){const _0x12c3c2=_0x22d19e,{text:_0x43b5af,color:_0x4accbb}=_0x27d2bc;_0x1092cd['save'](),_0x1092cd['font']=_0x12c3c2(0x248);const _0x23139b=_0x1092cd[_0x12c3c2(0x191)](_0x43b5af)[_0x12c3c2(0xcd)],_0x46e3dd=Math[_0x12c3c2(0x26b)](_0x23139b+0x2*_0x51b87a,_0x4f017f);_0x1ed5be(_0x1092cd,{'height':_0x3f556f,'radius':0x4,'width':_0x46e3dd,'fill':_0x4accbb}),_0x1092cd['fillStyle']='#FFF';const _0x4f4e0d=_0x51b87a,_0x5464da=_0x3f556f-_0x2d721b,_0x371015=_0x4f017f-0x2*_0x51b87a;if(_0x23139b>_0x371015){let _0x4d7a8b='',_0x14a22a=0x0;for(const _0x521d69 of _0x43b5af){const _0x2a96e6=_0x1092cd[_0x12c3c2(0x191)](_0x521d69)[_0x12c3c2(0xcd)];if(_0x14a22a+_0x2a96e6<=_0x371015-_0x1092cd['measureText']('...')[_0x12c3c2(0xcd)])_0x4d7a8b+=_0x521d69,_0x14a22a+=_0x2a96e6;else{_0x4d7a8b+=_0x12c3c2(0x320);break;}}_0x1092cd[_0x12c3c2(0x2e3)](_0x4d7a8b,_0x4f4e0d,_0x5464da);}else _0x1092cd[_0x12c3c2(0x2e3)](_0x43b5af,_0x4f4e0d,_0x5464da);_0x1092cd[_0x12c3c2(0x31d)]();}[_0x22d19e(0x298)](_0x2b824a){const _0x1db956=_0x22d19e;_0x132457[_0x1db956(0xe2)](_0x2b824a,this);}}const _0x21ac9c='collab-text-anchor-',_0x449f34='collab-text-range-',_0x5726e9='collab-rect-range-',_0x35fbcb=0x6,_0x299333=1.5,_0x4c03e8=0x4,_0x741edc=1.5,_0x41b58e='rgba(255,\x20255,\x20255,\x200.01)';class _0x36a29c{constructor(_0x265d4f,_0x25aa93,_0x2652da,_0x5979db){const _0x2a3dba=_0x22d19e;_0xa63e61(this,_0x2a3dba(0x9a),[]),_0xa63e61(this,_0x2a3dba(0x284),null),_0xa63e61(this,_0x2a3dba(0xe0),null),_0xa63e61(this,_0x2a3dba(0x11f),null),_0xa63e61(this,'_hideTimer',null),_0xa63e61(this,_0x2a3dba(0x104),null),(this[_0x2a3dba(0x2ba)]=_0x265d4f,this[_0x2a3dba(0x225)]=_0x25aa93,this['_docSkeleton']=_0x2652da,this[_0x2a3dba(0x24f)]=_0x5979db,this['_render']());}set[_0x22d19e(0x171)](_0x403153){const _0x5a59ad=_0x22d19e;_0x403153?(this[_0x5a59ad(0x11f)]&&this[_0x5a59ad(0x11f)][_0x5a59ad(0x21e)](),this[_0x5a59ad(0xe0)]&&this['_textBubble'][_0x5a59ad(0x1ba)]()):(this[_0x5a59ad(0x11f)]&&this['_anchorDot'][_0x5a59ad(0x1ba)](),this['_textBubble']&&this[_0x5a59ad(0xe0)][_0x5a59ad(0x21e)]());}[_0x22d19e(0x210)](){const _0x6a6379=_0x22d19e;for(const _0x951cb9 of this['_shapes'])_0x951cb9[_0x6a6379(0x210)]();this[_0x6a6379(0xe0)]&&this[_0x6a6379(0xe0)][_0x6a6379(0x210)](),this[_0x6a6379(0x11f)]&&this['_anchorDot'][_0x6a6379(0x210)](),this[_0x6a6379(0x284)]&&this[_0x6a6379(0x284)][_0x6a6379(0x210)](),this[_0x6a6379(0x104)]&&this[_0x6a6379(0x104)]();}[_0x22d19e(0x285)](){const _0x22cdd8=_0x22d19e;var _0x41f901;const {_docSkeleton:_0x19013c,_document:_0x2cd9a1}=this,{color:_0x345a9a,name:_0x590c5c,ranges:_0x7a3c26}=this['_cursor'],_0x5e1351=_0x2cd9a1['getOffsetConfig'](),{docsLeft:_0x1c2933,docsTop:_0x54a833}=_0x5e1351,_0xd6ba62=new _0x22126e['NodePositionConvertToCursor'](_0x5e1351,_0x19013c);for(const {startOffset:_0x185d8e,endOffset:_0x32b07f,rangeType:_0x56f956,segmentId:_0x1135db,segmentPage:_0xa2ab01,collapsed:_0x4972d0,isActive:_0x5890be}of _0x7a3c26){const _0x33ad06=_0x19013c[_0x22cdd8(0xb3)](_0x185d8e,!0x0,_0x1135db,_0xa2ab01);let _0x46f309=_0x19013c[_0x22cdd8(0xb3)](_0x32b07f,!0x0,_0x1135db,_0xa2ab01);if(_0x46f309==null&&(_0x46f309=_0x19013c[_0x22cdd8(0xb3)](_0x32b07f-0x1,!0x1,_0x1135db,_0xa2ab01)),_0x5890be){const {contentBoxPointGroup:_0xcbe456}=_0xd6ba62['getRangePointData'](_0x46f309,_0x46f309);if(_0xcbe456[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x1ec)](_0x345a9a,_0xcbe456,_0x1c2933,_0x54a833,_0x590c5c),this['_eventUnsubscribe']=this[_0x22cdd8(0x1a8)]();}if(_0x33ad06&&_0x46f309){if(_0x56f956===_0x4a5a1c['DOC_RANGE_TYPE'][_0x22cdd8(0x187)]){const _0x5addac=new _0x22126e[(_0x22cdd8(0x278))](_0x5e1351,_0x19013c),{pointGroup:_0x2dcb9d}=(_0x41f901=_0x5addac[_0x22cdd8(0x161)](_0x33ad06,_0x46f309))!=null?_0x41f901:{};if(_0x2dcb9d==null||_0x2dcb9d[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x1b6)](_0x345a9a,_0x2dcb9d,_0x1c2933,_0x54a833);}else{if(!_0x4972d0){const {borderBoxPointGroup:_0x8f8e54}=_0xd6ba62[_0x22cdd8(0x161)](_0x33ad06,_0x46f309);if(_0x8f8e54[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x29f)](_0x345a9a,_0x8f8e54,_0x1c2933,_0x54a833);}}}}}[_0x22d19e(0x1ec)](_0x16bd38,_0x438e3a,_0x3f3060,_0x1d6237,_0x9dc24f){const _0x3ae99a=_0x22d19e,_0x13becf=this[_0x3ae99a(0x11d)](_0x438e3a),{left:_0xb68051,top:_0x170345,height:_0x5d7ec0}=_0x13becf,_0x5bb358=this['_getScale'](),_0xf659ce=_0x741edc/_0x5bb358,_0x57525b=new _0x5d2f68['Rect'](_0x21ac9c+_0x4a5a1c[_0x3ae99a(0x151)](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237,'height':_0x5d7ec0,'width':_0x299333,'fill':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)][_0x3ae99a(0x192)],0x0),'strokeWidth':_0xf659ce,'stroke':_0x41b58e,'evented':!0x0});this[_0x3ae99a(0x284)]=_0x57525b,this[_0x3ae99a(0x225)]['addObject'](_0x57525b,_0x22126e[_0x3ae99a(0x2e5)]);const _0x5d9f82=new _0x5d2f68[(_0x3ae99a(0x2e2))](_0x21ac9c+_0x4a5a1c[_0x3ae99a(0x151)](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237-_0x4c03e8/0x2,'height':_0x4c03e8,'width':_0x4c03e8,'fill':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x5d9f82,this[_0x3ae99a(0x225)][_0x3ae99a(0x22a)](_0x5d9f82,_0x22126e[_0x3ae99a(0x2e5)]);const _0xee7aae=new _0x132457(_0x21ac9c+_0x4a5a1c['generateRandomId'](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237-_0x3f556f,'text':_0x9dc24f,'color':_0x16bd38});this[_0x3ae99a(0xe0)]=_0xee7aae,this[_0x3ae99a(0x225)][_0x3ae99a(0x22a)](_0xee7aae,_0x22126e[_0x3ae99a(0x2e5)]),this[_0x3ae99a(0x171)]=!0x1;}[_0x22d19e(0x1a8)](){const _0x49ae3f=_0x22d19e,_0x2c2749=this[_0x49ae3f(0x284)][_0x49ae3f(0x126)][_0x49ae3f(0x11b)](()=>{this['_hover']=!0x0;}),_0x197b0d=this[_0x49ae3f(0x284)]['onPointerLeave$'][_0x49ae3f(0x11b)](()=>{const _0x17c82f=_0x49ae3f;this[_0x17c82f(0x27a)]&&clearTimeout(this[_0x17c82f(0x27a)]),this[_0x17c82f(0x27a)]=setTimeout(()=>{const _0x3f534a=_0x17c82f;this[_0x3f534a(0x171)]=!0x1;},0x7d0);});return()=>{const _0x8a982f=_0x49ae3f;_0x2c2749[_0x8a982f(0x275)](),_0x197b0d[_0x8a982f(0x275)]();};}[_0x22d19e(0x29f)](_0x197773,_0x2dcf01,_0x32629a,_0x2a657e){const _0x5779a2=_0x22d19e,_0x26bc99=new _0x4a5a1c[(_0x5779a2(0x2f7))](_0x197773)[_0x5779a2(0x2e7)](0.2)[_0x5779a2(0xf7)](),_0x42fe1d=new _0x5d2f68[(_0x5779a2(0x224))](_0x449f34+_0x4a5a1c['generateRandomId'](_0x35fbcb),{'pointsGroup':_0x2dcf01,'fill':_0x26bc99||_0x5d2f68[_0x5779a2(0xe6)](_0x4a5a1c['COLORS'][_0x5779a2(0x192)],0.2),'left':_0x32629a,'top':_0x2a657e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5779a2(0x9a)][_0x5779a2(0x256)](_0x42fe1d),this[_0x5779a2(0x225)][_0x5779a2(0x22a)](_0x42fe1d,_0x22126e[_0x5779a2(0x2e5)]);}[_0x22d19e(0x1b6)](_0x3aee8a,_0x5d7e61,_0x15f457,_0x153f1f){const _0x3e3bce=_0x22d19e,_0x4cf923=new _0x4a5a1c[(_0x3e3bce(0x2f7))](_0x3aee8a)['setAlpha'](0.2)[_0x3e3bce(0xf7)](),_0x44d672=new _0x5d2f68[(_0x3e3bce(0x224))](_0x5726e9+_0x4a5a1c[_0x3e3bce(0x151)](_0x35fbcb),{'pointsGroup':_0x5d7e61,'fill':_0x4cf923||_0x5d2f68[_0x3e3bce(0xe6)](_0x4a5a1c[_0x3e3bce(0x323)][_0x3e3bce(0x192)],0.2),'left':_0x15f457,'top':_0x153f1f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e3bce(0x9a)][_0x3e3bce(0x256)](_0x44d672),this[_0x3e3bce(0x225)][_0x3e3bce(0x22a)](_0x44d672,_0x22126e[_0x3e3bce(0x2e5)]);}[_0x22d19e(0x11d)](_0x3982bb){const _0x4a9cb5=_0x3982bb[0x0],_0x442b86=_0x4a9cb5[0x0],_0x16082f=_0x4a9cb5[0x2],{x:_0x52f330,y:_0x19c558}=_0x442b86,{x:_0x519d10,y:_0x584da6}=_0x16082f;return{'left':_0x52f330,'top':_0x19c558,'width':_0x519d10-_0x52f330,'height':_0x584da6-_0x19c558};}[_0x22d19e(0x34e)](){const _0x43308c=_0x22d19e,{scaleX:_0x2f726a,scaleY:_0x3e9acf}=this[_0x43308c(0x225)][_0x43308c(0x357)]();return Math[_0x43308c(0xdd)](_0x2f726a,_0x3e9acf);}}var _0x45ab62=Object[_0x22d19e(0x1e2)],_0x551c44=(_0x5db718,_0x1b0572,_0x1cb2a8,_0x3beea3)=>{const _0x1e6927=_0x22d19e;for(var _0x50bfac=_0x3beea3>0x1?void 0x0:_0x3beea3?_0x45ab62(_0x1b0572,_0x1cb2a8):_0x1b0572,_0x47a980=_0x5db718[_0x1e6927(0x29c)]-0x1,_0x15cff2;_0x47a980>=0x0;_0x47a980--)(_0x15cff2=_0x5db718[_0x47a980])&&(_0x50bfac=_0x15cff2(_0x50bfac)||_0x50bfac);return _0x50bfac;},_0x306641=(_0x468980,_0x5e870d)=>(_0x242460,_0xb5c329)=>_0x5e870d(_0x242460,_0xb5c329,_0x468980);let _0x238ac3=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x350d86,_0x2dd051,_0x2787f7,_0x17752e,_0x58a871){const _0x2e66f4=_0x22d19e;super(),_0xa63e61(this,_0x2e66f4(0x177),[]),_0xa63e61(this,'_cursors',[]),(this[_0x2e66f4(0x1af)]=_0x350d86,this[_0x2e66f4(0x1b1)]=_0x2dd051,this[_0x2e66f4(0x96)]=_0x2787f7,this[_0x2e66f4(0x2b1)]=_0x17752e,this['_themeService']=_0x58a871,this[_0x2e66f4(0x105)]());}['_init'](){const _0x5b7bc8=_0x22d19e,_0xdf54a2=this[_0x5b7bc8(0x1af)][_0x5b7bc8(0x369)],_0x3b8413=this[_0x5b7bc8(0x1b1)];this[_0x5b7bc8(0xe5)](_0x8d94e0[_0x5b7bc8(0x144)]([this[_0x5b7bc8(0x96)][_0x5b7bc8(0xb8)](_0xdf54a2),this[_0x5b7bc8(0x2e4)]['currentTheme$']])[_0x5b7bc8(0x296)](_0x5d0515[_0x5b7bc8(0x112)](([_0x86bcb8,_0x1b55d0])=>({'skeleton':_0x3b8413[_0x5b7bc8(0x329)](),'cursors':[..._0x86bcb8['values']()][_0x5b7bc8(0x212)](_0x33bdfe=>({..._0x33bdfe,'color':this[_0x5b7bc8(0x2e4)][_0x5b7bc8(0x21a)](_0x33bdfe[_0x5b7bc8(0x174)])}))})))[_0x5b7bc8(0x35e)](_0x2de330=>{const _0x401c18=_0x5b7bc8;if(this[_0x401c18(0x362)](),_0x2de330){const {skeleton:_0x1cfc7d,cursors:_0x3dd789}=_0x2de330;this['_updateCollabCursors'](_0x1cfc7d,_0x3dd789);}})),this['_initResize'](),this[_0x5b7bc8(0x1be)]();}[_0x22d19e(0x280)](_0x250719,_0x1dd58f){const _0x1a2829=_0x22d19e,{scene:_0x2728ef,mainComponent:_0x4e2da9}=this[_0x1a2829(0x1af)],_0x1fa1cf=_0x1dd58f['map'](_0x5ab4cd=>new _0x36a29c(_0x5ab4cd,_0x2728ef,_0x250719,_0x4e2da9));this[_0x1a2829(0x177)]=_0x1fa1cf,this['_cursors']=_0x1dd58f;}['_refreshCollabCursors'](){const _0x56426a=_0x22d19e;this[_0x56426a(0x362)]();const {scene:_0x214c20,mainComponent:_0x2d7fbe}=this[_0x56426a(0x1af)],_0x1b7442=this['_docSkeletonManagerService']['getSkeleton'](),_0x34e562=this[_0x56426a(0xee)]['map'](_0x84d40=>new _0x36a29c(_0x84d40,_0x214c20,_0x1b7442,_0x2d7fbe));this[_0x56426a(0x177)]=_0x34e562;}['_removeCollabCursors'](){const _0x4ca857=_0x22d19e;this[_0x4ca857(0x177)][_0x4ca857(0x316)](_0x52a65f=>_0x52a65f[_0x4ca857(0x210)]()),this[_0x4ca857(0x177)]=[];}[_0x22d19e(0x1be)](){const _0x4a353c=_0x22d19e,_0x2e8ef1=[_0x22126e[_0x4a353c(0x20d)]['id']];this['disposeWithMe'](this[_0x4a353c(0x2b1)][_0x4a353c(0x1f9)](_0x3cd6f0=>{const _0x2e5e25=_0x4a353c;_0x2e8ef1['includes'](_0x3cd6f0['id'])&&_0x3cd6f0[_0x2e5e25(0x22d)]['unitId']===this[_0x2e5e25(0x1af)]['unitId']&&this[_0x2e5e25(0x119)]();}));}[_0x22d19e(0x240)](){const _0x3b074b=_0x22d19e;this[_0x3b074b(0xe5)](_0x4a5a1c[_0x3b074b(0x178)](this[_0x3b074b(0x1af)]['engine'][_0x3b074b(0x1c1)])[_0x3b074b(0x296)](_0x5d0515['filter'](_0x51321a=>_0x51321a[_0x3b074b(0x169)]===_0x5d2f68[_0x3b074b(0x11e)][_0x3b074b(0x342)]),_0x5d0515['throttleTime'](0x10))[_0x3b074b(0x35e)](()=>{const _0x20d804=_0x3b074b;this[_0x20d804(0x119)]();}));}};_0x238ac3=_0x551c44([_0x306641(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x5afd4e[_0x22d19e(0xb2)])),_0x306641(0x2,_0x4a5a1c['Inject'](_0x8689c)),_0x306641(0x3,_0x4a5a1c[_0x22d19e(0x263)]),_0x306641(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['ThemeService']))],_0x238ac3);const _0x37ebd9=0x1,_0x4b9220=1.5;class _0x3fc4ac extends _0x5d2f68[_0x22d19e(0x36a)]{constructor(_0x16f6f4,_0x20c375){const _0x1e16d0=_0x22d19e;super(_0x16f6f4,_0x20c375),_0xa63e61(this,_0x1e16d0(0x334)),_0xa63e61(this,'_hovered',!0x1),_0xa63e61(this,_0x1e16d0(0x243)),_0xa63e61(this,_0x1e16d0(0x138),''),_0xa63e61(this,_0x1e16d0(0x12e),_0x1e16d0(0x2f1)),_0xa63e61(this,_0x1e16d0(0x2fc)),(_0x20c375&&this[_0x1e16d0(0x19d)](_0x20c375),this[_0x1e16d0(0x126)][_0x1e16d0(0x11b)](()=>this[_0x1e16d0(0x19d)]({'hovered':!0x0})),this[_0x1e16d0(0xea)][_0x1e16d0(0x11b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x22d19e(0x19d)](_0x40f190){const _0x3a3894=_0x22d19e;var _0x7c8d7e,_0x42f7ee,_0x5ab7aa,_0x1ba17a,_0x4fa998,_0x2c8534;this[_0x3a3894(0x334)]=(_0x7c8d7e=_0x40f190[_0x3a3894(0x174)])!=null?_0x7c8d7e:this[_0x3a3894(0x334)],this['_hovered']=(_0x42f7ee=_0x40f190[_0x3a3894(0x91)])!=null?_0x42f7ee:this[_0x3a3894(0x12b)],this['_range']=(_0x5ab7aa=_0x40f190[_0x3a3894(0x2f0)])!=null?_0x5ab7aa:this[_0x3a3894(0x243)],this[_0x3a3894(0x138)]=(_0x1ba17a=_0x40f190[_0x3a3894(0x2a6)])!=null?_0x1ba17a:this[_0x3a3894(0x138)],this[_0x3a3894(0x12e)]=(_0x4fa998=_0x40f190['labelPosition'])!=null?_0x4fa998:this[_0x3a3894(0x12e)],this[_0x3a3894(0x2fc)]=(_0x2c8534=_0x40f190[_0x3a3894(0x1b8)])!=null?_0x2c8534:this['_backgroundColor'],this['transformByState']({'width':_0x40f190[_0x3a3894(0xcd)],'height':_0x40f190[_0x3a3894(0x290)]});}[_0x22d19e(0x35b)](_0x481e27){const _0x1218da=_0x22d19e,{row:_0x5d8d41,column:_0x3d5f10}=_0x481e27;if(_0x5d8d41>=this['_range'][_0x1218da(0x2f3)]&&_0x5d8d41<=this[_0x1218da(0x243)]['endRow']&&_0x3d5f10>=this[_0x1218da(0x243)][_0x1218da(0x152)]&&_0x3d5f10<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1218da(0x19d)]({'hovered':!0x1});}[_0x22d19e(0x2af)](_0x1ecbad){return!0x1;}[_0x22d19e(0x298)](_0x3e7d5e){const _0x1398af=_0x22d19e;_0x5d2f68['Rect']['drawWith'](_0x3e7d5e,{'width':this[_0x1398af(0xcd)],'height':this[_0x1398af(0x290)],'strokeWidth':_0x4b9220,'stroke':this[_0x1398af(0x334)],'evented':!0x1,'fill':this[_0x1398af(0x2fc)]}),this['_hovered']&&(_0x3e7d5e[_0x1398af(0x297)](),_0x3e7d5e[_0x1398af(0x33b)](0x1,0x0,0x0,0x1,this[_0x1398af(0xcd)],this[_0x1398af(0x12e)]==='bottom'?0x0:-_0x3f556f),_0x132457[_0x1398af(0xe2)](_0x3e7d5e,{'text':this[_0x1398af(0x138)],'color':this[_0x1398af(0x334)]}),_0x3e7d5e[_0x1398af(0x31d)]());}}var _0x5b6e3a=Object[_0x22d19e(0x1e2)],_0x123afb=(_0x451458,_0x21391c,_0xb9a55c,_0x3069ae)=>{const _0x23fd42=_0x22d19e;for(var _0x3b1771=_0x3069ae>0x1?void 0x0:_0x3069ae?_0x5b6e3a(_0x21391c,_0xb9a55c):_0x21391c,_0x1d21e5=_0x451458[_0x23fd42(0x29c)]-0x1,_0x20fa1a;_0x1d21e5>=0x0;_0x1d21e5--)(_0x20fa1a=_0x451458[_0x1d21e5])&&(_0x3b1771=_0x20fa1a(_0x3b1771)||_0x3b1771);return _0x3b1771;},_0x2c8fdb=(_0x200e01,_0xb1552a)=>(_0x6221b2,_0x488829)=>_0xb1552a(_0x6221b2,_0x488829,_0x200e01);const _0x4981c6=0x1389;let _0x5e3b2e=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0xc0a7c0,_0x918cb4,_0x884162,_0x3c7e4a){const _0x7520f4=_0x22d19e;super(),_0xa63e61(this,_0x7520f4(0xee),new Set()),_0xa63e61(this,'_lastPointer',null),(this[_0x7520f4(0x1af)]=_0xc0a7c0,this['_sheetSkeletonManagerService']=_0x918cb4,this[_0x7520f4(0x96)]=_0x884162,this[_0x7520f4(0x2e4)]=_0x3c7e4a,this[_0x7520f4(0x105)]());}[_0x22d19e(0x105)](){const _0x37ae13=_0x22d19e;this['_sheetSkeletonManagerService'][_0x37ae13(0xe8)][_0x37ae13(0x296)](_0x5d0515[_0x37ae13(0x9e)](this[_0x37ae13(0x148)]),_0x5d0515[_0x37ae13(0x1d5)](_0x564d5d=>{const _0x17c9bc=_0x37ae13;if(_0x564d5d){const _0x21ac16=_0x564d5d['sheetId'];return _0x8d94e0['combineLatest'](this[_0x17c9bc(0x96)]['getCollabCursors$'](this[_0x17c9bc(0x1af)][_0x17c9bc(0x369)]),this[_0x17c9bc(0x2e4)][_0x17c9bc(0x291)])['pipe'](_0x5d0515['map'](([_0x38234a,_0x2b62b3])=>{const _0x403afc=_0x17c9bc,_0x8b1b0b=new Map();return _0x38234a[_0x403afc(0x316)]((_0x42ba82,_0x51e071)=>{const _0x3fe458=_0x403afc;if(_0x42ba82['sheetID']===_0x21ac16){const _0x2caeb5={..._0x42ba82};_0x2caeb5[_0x3fe458(0x174)]=this['_themeService']['getColorFromTheme'](_0x42ba82['color']),_0x8b1b0b[_0x3fe458(0x25b)](_0x51e071,_0x2caeb5);}}),{'skeleton':_0x564d5d,'cursors':_0x8b1b0b};}));}return _0x8d94e0['of']({'skeleton':null,'cursors':new Map()});}))[_0x37ae13(0x35e)](({skeleton:_0x387e9a,cursors:_0x4998d9})=>{const _0x33fdc9=_0x37ae13;this[_0x33fdc9(0x362)](),_0x387e9a&&this['_updateCollabCursors'](_0x387e9a,_0x4998d9);}),this[_0x37ae13(0x183)][_0x37ae13(0xe8)][_0x37ae13(0x35e)](_0xe98b6f=>{const _0x23f798=_0x37ae13;if(_0xe98b6f==null)return;const {skeleton:_0x395500}=_0xe98b6f,{scene:_0x176f8e}=this[_0x23f798(0x1af)];_0x176f8e[_0x23f798(0x165)][_0x23f798(0x11b)](_0x4a5a1c[_0x23f798(0x25d)](_0x1ceb7b=>{const _0x17cc75=_0x23f798;var _0x4d4985,_0x24fbb2;const {offsetX:_0x5210f5,offsetY:_0x3fe87a}=_0x1ceb7b,{x:_0x36451b,y:_0x1a8b29}=_0x176f8e[_0x17cc75(0xf1)](_0x5d2f68[_0x17cc75(0x200)]['FromArray']([_0x5210f5,_0x3fe87a])),{scaleX:_0x27b867,scaleY:_0x437aaa}=_0x176f8e[_0x17cc75(0x357)](),_0xdea498=_0x176f8e[_0x17cc75(0x1e3)](_0x5d2f68[_0x17cc75(0x102)][_0x17cc75(0x346)]),_0x41b152=_0x176f8e[_0x17cc75(0x31c)](_0x5d2f68[_0x17cc75(0x200)][_0x17cc75(0x13c)]([_0x36451b,_0x1a8b29]),_0xdea498),_0x70712f=_0x395500['getCellPositionByOffset'](_0x5210f5,_0x3fe87a,_0x27b867,_0x437aaa,_0x41b152);((_0x4d4985=this[_0x17cc75(0x356)])==null?void 0x0:_0x4d4985[_0x17cc75(0x29b)])===_0x70712f[_0x17cc75(0x29b)]&&((_0x24fbb2=this[_0x17cc75(0x356)])==null?void 0x0:_0x24fbb2[_0x17cc75(0xe3)])===_0x70712f[_0x17cc75(0xe3)]||this[_0x17cc75(0xee)][_0x17cc75(0x316)](_0x230724=>{const _0x284a41=_0x17cc75;_0x230724[_0x284a41(0x35b)](_0x70712f);});},0x64));});}[_0x22d19e(0x280)](_0x3b77cb,_0x3de7b2){const _0x45edd0=_0x22d19e;var _0x39c4bb;const _0x340c58=(_0x39c4bb=this[_0x45edd0(0x183)][_0x45edd0(0x2fa)]())==null?void 0x0:_0x39c4bb['skeleton'];if(!_0x340c58)return;const _0x3e4ee8=this['_getSheetObject']();if(!_0x3e4ee8)return;this[_0x45edd0(0xee)][_0x45edd0(0x316)](_0x59376d=>{const _0x1ccd5f=_0x45edd0;_0x59376d[_0x1ccd5f(0x265)]();});const {scene:_0xa5979b}=_0x3e4ee8,_0xaae2da=_0xe9c136(Array[_0x45edd0(0x319)](_0x3de7b2[_0x45edd0(0x18a)]()))[_0x45edd0(0x112)](_0x5b34d9=>{const _0x51903b=_0x45edd0,{color:_0x35dbe3,range:_0x2c9e92,name:_0x404b15,selection:_0x59b99c,sheetID:_0x1e21b7}=_0x5b34d9,{startColumn:_0x32e5d7,startRow:_0x133733,endColumn:_0x199882,endRow:_0x3766cf}=_0x2c9e92,_0x15d6dc=_0x14ceff[_0x51903b(0x255)](_0x133733,_0x32e5d7,_0xa5979b,_0x340c58),_0x1b4255=_0x14ceff[_0x51903b(0x255)](_0x3766cf,_0x199882,_0xa5979b,_0x340c58),{columnHeaderHeightAndMarginTop:_0x2aebd0}=_0x340c58,{startX:_0x48e206,startY:_0x2228b1}=_0x15d6dc,{endX:_0x3a76c6,endY:_0x2764b6}=_0x1b4255,_0x70de4=_0x3a76c6-_0x48e206,_0x25e41f=_0x2764b6-_0x2228b1,_0x200ef6={'labelPosition':_0x2228b1-_0x2aebd0>=_0x3f556f?'top':_0x51903b(0x348),'sheetID':_0x1e21b7,'range':_0x2c9e92,'color':_0x35dbe3,'name':_0x404b15,'selection':_0x59b99c,'left':_0x48e206,'top':_0x2228b1,'width':_0x70de4,'height':_0x25e41f,'evented':!0x1,'zIndex':_0x4981c6};return new _0x3fc4ac(_0x404b15,_0x200ef6);});_0xa5979b[_0x45edd0(0xa1)](_0xaae2da,_0x37ebd9),this[_0x45edd0(0xee)]=new Set(_0xaae2da);}[_0x22d19e(0x362)](){const _0x586d60=_0x22d19e;var _0x5ad3e0;(_0x5ad3e0=this[_0x586d60(0xee)])==null||_0x5ad3e0[_0x586d60(0x316)](_0x55f007=>_0x55f007[_0x586d60(0x210)]());}['_getSheetObject'](){const _0x1b1195=_0x22d19e;return _0x14ceff['getSheetObject'](this[_0x1b1195(0x1af)][_0x1b1195(0x300)],this[_0x1b1195(0x1af)]);}};_0x5e3b2e=_0x123afb([_0x2c8fdb(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x14ceff['SheetSkeletonManagerService'])),_0x2c8fdb(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x8689c)),_0x2c8fdb(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['ThemeService']))],_0x5e3b2e);function _0xe9c136(_0x412fd6){const _0x421b7d=_0x22d19e,_0x13e2f0=new Map();return _0x412fd6[_0x421b7d(0x316)](_0xc09a41=>{const _0x377a17=_0x421b7d;if(_0x13e2f0[_0x377a17(0x241)](_0xc09a41[_0x377a17(0x1e1)])){const _0x586cbc=_0x13e2f0[_0x377a17(0x18e)](_0xc09a41[_0x377a17(0x1e1)]);_0x586cbc['name']+=',\x20'+_0xc09a41[_0x377a17(0x2a6)];}else _0x13e2f0[_0x377a17(0x25b)](_0xc09a41[_0x377a17(0x1e1)],_0xc09a41);}),Array['from'](_0x13e2f0[_0x421b7d(0x18a)]());}var _0x56b286=Object[_0x22d19e(0x1e2)],_0x32f795=(_0x4b7e86,_0x14988d,_0x52405a,_0x43eec5)=>{const _0x19349c=_0x22d19e;for(var _0x4fcd80=_0x43eec5>0x1?void 0x0:_0x43eec5?_0x56b286(_0x14988d,_0x52405a):_0x14988d,_0x34d161=_0x4b7e86[_0x19349c(0x29c)]-0x1,_0x579168;_0x34d161>=0x0;_0x34d161--)(_0x579168=_0x4b7e86[_0x34d161])&&(_0x4fcd80=_0x579168(_0x4fcd80)||_0x4fcd80);return _0x4fcd80;},_0x34c263=(_0x58d813,_0x30919d)=>(_0xf6d27,_0x90ff8c)=>_0x30919d(_0xf6d27,_0x90ff8c,_0x58d813);let _0x6027b0=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x1ff4ae,_0x2119a5,_0x2b4120,_0x5c61e7,_0x490c37,_0x17c927){const _0x4da78c=_0x22d19e;super(),this['_beforeCloseService']=_0x1ff4ae,this[_0x4da78c(0x1ad)]=_0x2119a5,this[_0x4da78c(0x347)]=_0x2b4120,this['_messageService']=_0x5c61e7,this[_0x4da78c(0x15b)]=_0x490c37,this[_0x4da78c(0x295)]=_0x17c927,this[_0x4da78c(0x16e)](),this['_initEvent']();}[_0x22d19e(0x16e)](){const _0x1c672f=_0x22d19e;this[_0x1c672f(0xe5)](this[_0x1c672f(0x302)][_0x1c672f(0x123)](()=>{const _0x534f57=_0x1c672f;if(this[_0x534f57(0x1ad)]['saveTaskMap']['size'])return this[_0x534f57(0x295)]['t'](_0x534f57(0x343));}));}[_0x22d19e(0x147)](){const _0x1b87bd=_0x22d19e;this[_0x1b87bd(0xe5)](this['_collaborationUIEventService'][_0x1b87bd(0xa3)][_0x1b87bd(0x35e)](_0x51de90=>{const _0x14ef05=_0x1b87bd;_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x331)]&&this['_messageService'][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x2d8))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x1fc)]&&this[_0x14ef05(0x33e)]['show']({'type':_0x67c92c['MessageType'][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0xe4))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x13b)]&&this[_0x14ef05(0x15b)][_0x14ef05(0x1ba)]({'title':this[_0x14ef05(0x295)]['t']('permission.title'),'content':this['_localeService']['t'](_0x14ef05(0x325)),'type':_0x14ef05(0x1fd),'duration':0x0}),_0x51de90['id']===_0x29cbea['CollaborationUIEventId']['CONFLICT']&&this['_messageService']['show']({'type':_0x67c92c[_0x14ef05(0x215)]['Error'],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0xe4))+'('+_0x51de90[_0x14ef05(0x136)]+')'}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x1ea)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)]['Warning'],'content':this['_localeService']['t'](_0x51de90[_0x14ef05(0x136)]||'')}),_0x51de90['id']===_0x29cbea['CollaborationUIEventId'][_0x14ef05(0x29e)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x167))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x17d)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)]['Error'],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x2ab))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x141)]&&this[_0x14ef05(0x33e)]['show']({'type':_0x67c92c['MessageType'][_0x14ef05(0x2d1)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x277))});}));}};_0x6027b0=_0x32f795([_0x34c263(0x0,_0x270495['IBeforeCloseService']),_0x34c263(0x1,_0x29cbea[_0x22d19e(0x92)]),_0x34c263(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x367)])),_0x34c263(0x3,_0x270495[_0x22d19e(0x339)]),_0x34c263(0x4,_0x270495[_0x22d19e(0x2bc)]),_0x34c263(0x5,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x6027b0);var _0x2534f6=Object[_0x22d19e(0x1e2)],_0x4779a7=(_0x436021,_0x5cfb48,_0x3ac2b3,_0x19d4c0)=>{const _0x5963c1=_0x22d19e;for(var _0x38fae8=_0x19d4c0>0x1?void 0x0:_0x19d4c0?_0x2534f6(_0x5cfb48,_0x3ac2b3):_0x5cfb48,_0xff783e=_0x436021[_0x5963c1(0x29c)]-0x1,_0x2b9992;_0xff783e>=0x0;_0xff783e--)(_0x2b9992=_0x436021[_0xff783e])&&(_0x38fae8=_0x2b9992(_0x38fae8)||_0x38fae8);return _0x38fae8;},_0x5d525a=(_0x337f15,_0x3e3ee1)=>(_0x3e44bc,_0x184ab9)=>_0x3e3ee1(_0x3e44bc,_0x184ab9,_0x337f15);let _0x44bd4f=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x3e0612,_0x4069f1,_0x42c12b,_0x4552d3){const _0x58f53c=_0x22d19e;super(),_0xa63e61(this,'_memberID'),(this[_0x58f53c(0x36e)]=_0x3e0612,this[_0x58f53c(0x33c)]=_0x4069f1,this[_0x58f53c(0x1d7)]=_0x42c12b,this['_collaborationSessionService']=_0x4552d3,this[_0x58f53c(0x105)]());}[_0x22d19e(0x105)](){const _0x3f609c=_0x22d19e;this[_0x3f609c(0xc1)](),this[_0x3f609c(0x29d)](),this[_0x3f609c(0x24b)](),this[_0x3f609c(0xae)]();}[_0x22d19e(0xae)](){const _0xc79f7=_0x22d19e;this[_0xc79f7(0xe5)](this[_0xc79f7(0x111)][_0xc79f7(0x153)][_0xc79f7(0x35e)](_0x8c48cd=>{const _0x19e9df=_0xc79f7;this[_0x19e9df(0x2bd)]=_0x8c48cd==null?void 0x0:_0x8c48cd[_0x19e9df(0x27c)];}));}[_0x22d19e(0xc1)](){const _0x54a556=_0x22d19e,_0x2d64e5=_0x1344c1=>{const _0x33e348=_0x1ae4;var _0x5e0c46;this['_uploadLog'](_0x33e348(0x1fd),_0x33e348(0xa2)+_0x1344c1[_0x33e348(0x1f4)]+_0x33e348(0x299)+_0x1344c1['filename']+':'+_0x1344c1[_0x33e348(0x233)]+':'+_0x1344c1[_0x33e348(0x107)]+'\x0a'+(((_0x5e0c46=_0x1344c1[_0x33e348(0x1fd)])==null?void 0x0:_0x5e0c46[_0x33e348(0x207)])||''));};window[_0x54a556(0x24e)](_0x54a556(0x1fd),_0x2d64e5),this['disposeWithMe'](()=>{const _0x2a81b9=_0x54a556;window['removeEventListener'](_0x2a81b9(0x1fd),_0x2d64e5);});}[_0x22d19e(0x29d)](){const _0x289a88=_0x22d19e,_0x13f475=_0x143ac2=>{const _0x964fd0=_0x1ae4;this[_0x964fd0(0x11a)](_0x964fd0(0x1fd),_0x964fd0(0x17a)+_0x143ac2[_0x964fd0(0x2be)]);};window['addEventListener'](_0x289a88(0x12c),_0x13f475),this['disposeWithMe'](()=>{const _0x1cdda1=_0x289a88;window[_0x1cdda1(0x2e1)](_0x1cdda1(0x12c),_0x13f475);});}[_0x22d19e(0x24b)](){const _0x282ed6=_0x22d19e,_0x148744=this[_0x282ed6(0x1d7)][_0x282ed6(0x1fd)][_0x282ed6(0x2c2)](this[_0x282ed6(0x1d7)]);this[_0x282ed6(0x1d7)][_0x282ed6(0x1fd)]=(..._0x1d281f)=>{const _0x2de588=_0x282ed6,_0x2a47da=_0x1d281f[_0x2de588(0x112)](_0x296722=>_0x296722 instanceof Error?_0x296722[_0x2de588(0x1f4)]+'\x0a'+_0x296722[_0x2de588(0x207)]:String(_0x296722))['join']('\x20');this[_0x2de588(0x11a)]('error',_0x2de588(0x359)+_0x2a47da),_0x148744(..._0x1d281f);},this[_0x282ed6(0xe5)](()=>{const _0x400769=_0x282ed6;this[_0x400769(0x1d7)]['error']=_0x148744;});}['_uploadLog'](_0x479b43,_0xb7f84a){const _0x3d215d=_0x22d19e;try{const _0x39efb4={'userId':this[_0x3d215d(0x2bd)],'logLabel':_0x479b43,'content':_0xb7f84a};this[_0x3d215d(0x33c)][_0x3d215d(0x33a)](_0x3d215d(0xfb),{'body':_0x39efb4})[_0x3d215d(0x25f)](()=>{});}catch{}}};_0x44bd4f=_0x4779a7([_0x5d525a(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x5d525a(0x1,_0x4a5a1c['Inject'](_0xbeb642[_0x22d19e(0x34b)])),_0x5d525a(0x2,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x5d525a(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea['CollaborationSessionService']))],_0x44bd4f);const _0x48039f=_0x22d19e(0x327),_0x1eb4f8={};var _0x4021d8=Object[_0x22d19e(0x1e2)],_0xe85d6c=(_0x9502,_0xf0b3cc,_0x29f692,_0x257622)=>{const _0x1781cd=_0x22d19e;for(var _0x20c4d8=_0x257622>0x1?void 0x0:_0x257622?_0x4021d8(_0xf0b3cc,_0x29f692):_0xf0b3cc,_0x17b3e8=_0x9502[_0x1781cd(0x29c)]-0x1,_0x345359;_0x17b3e8>=0x0;_0x17b3e8--)(_0x345359=_0x9502[_0x17b3e8])&&(_0x20c4d8=_0x345359(_0x20c4d8)||_0x20c4d8);return _0x20c4d8;},_0x514d51=(_0x4c32b8,_0x5e59b8)=>(_0x4a4cd9,_0x12bb30)=>_0x5e59b8(_0x4a4cd9,_0x12bb30,_0x4c32b8);let _0xc53968=class{constructor(_0x1e9968,_0x30ee50){const _0x37bc0e=_0x22d19e;this['_transformService']=_0x1e9968,this[_0x37bc0e(0x282)]=_0x30ee50;}[_0x22d19e(0x2da)](_0x373217){const _0xc74015=_0x22d19e;this[_0xc74015(0xf8)](_0x373217),this[_0xc74015(0x18c)](_0x373217);}[_0x22d19e(0x16f)](_0x275c93){const _0x5f4cb2=_0x22d19e,{unitID:_0x4e18d7}=_0x275c93,_0x428d93=this[_0x5f4cb2(0x282)][_0x5f4cb2(0x305)](_0x4e18d7)['with'](_0x22126e['DocIMEInputManagerService']),{redoCache:_0x3f6c08}=_0x428d93[_0x5f4cb2(0x355)]();if(_0x3f6c08['length']===0x0)return _0x275c93;let _0x1d5905=_0x4a5a1c[_0x5f4cb2(0xc6)]['deepClone'](_0x275c93['mutations'][0x0]);for(let _0x6aa73=0x0;_0x6aa73<_0x3f6c08[_0x5f4cb2(0x29c)];_0x6aa73++){const _0x220387={'id':'doc.mutation.rich-text-editing','params':{..._0x3f6c08[_0x6aa73]}},_0x495384=this['_transformService'][_0x5f4cb2(0x9f)](_0x1d5905,_0x220387,!0x1);if(_0x4a6bb0[_0x5f4cb2(0xbb)](_0x495384))throw _0x495384['error'];_0x1d5905=_0x495384[_0x5f4cb2(0xdf)];}return{..._0x4a5a1c[_0x5f4cb2(0xc6)][_0x5f4cb2(0x2fe)](_0x275c93),'mutations':[_0x1d5905]};}[_0x22d19e(0xf8)](_0xc33245){const _0x467ff9=_0x22d19e,{unitID:_0xe9151a}=_0xc33245,_0x3f509c=this[_0x467ff9(0x282)]['getRenderById'](_0xe9151a)[_0x467ff9(0x12d)](_0x22126e[_0x467ff9(0x189)]),{undoCache:_0x5d84aa,redoCache:_0x11f967}=_0x3f509c[_0x467ff9(0x355)]();if(_0x5d84aa[_0x467ff9(0x29c)]===0x0||_0x11f967['length']===0x0)return;const _0x3c7979=[],_0x37d831=[];let _0x4b0dec=_0x4a5a1c[_0x467ff9(0xc6)][_0x467ff9(0x2fe)](_0xc33245[_0x467ff9(0x354)][0x0]),_0x2c8b50=_0x4a5a1c[_0x467ff9(0xc6)][_0x467ff9(0x2fe)](_0xc33245[_0x467ff9(0x354)][0x0]);for(let _0x2069b5=_0x5d84aa['length']-0x1;_0x2069b5>=0x0;_0x2069b5--){const _0x31b6de={'id':_0x467ff9(0x2a5),'params':{..._0x5d84aa[_0x2069b5]}},_0x64530b={'id':_0x467ff9(0x2a5),'params':{..._0x11f967[_0x2069b5]}},_0x26495b=this[_0x467ff9(0x1ff)][_0x467ff9(0x9f)](_0x4b0dec,_0x31b6de,!0x1),_0x34bd74=this['_transformService']['transformMutation'](_0x2c8b50,_0x64530b,!0x1);if(_0x4a6bb0[_0x467ff9(0xbb)](_0x26495b))throw _0x26495b[_0x467ff9(0x1fd)];if(_0x4a6bb0[_0x467ff9(0xbb)](_0x34bd74))throw _0x34bd74[_0x467ff9(0x1fd)];_0x3c7979[_0x467ff9(0xfc)](_0x26495b[_0x467ff9(0x196)][_0x467ff9(0x22d)]),_0x37d831[_0x467ff9(0xfc)](_0x34bd74[_0x467ff9(0x196)][_0x467ff9(0x22d)]),_0x4b0dec=_0x26495b['m1Prime'],_0x2c8b50=_0x34bd74[_0x467ff9(0xdf)];}_0x3f509c[_0x467ff9(0x1bb)]({'undoCache':_0x3c7979,'redoCache':_0x37d831});}[_0x22d19e(0x18c)](_0x1b58a7){const _0x27a007=_0x22d19e,{unitID:_0x146fda}=_0x1b58a7,_0x59c6c9=this[_0x27a007(0x282)][_0x27a007(0x305)](_0x146fda)[_0x27a007(0x12d)](_0x22126e[_0x27a007(0x189)]),_0x58a562=_0x59c6c9[_0x27a007(0x219)]();if(_0x58a562==null)return;const _0x22a906=[{'id':_0x27a007(0x2a5),'params':{'unitId':_0x1b58a7[_0x27a007(0x2bb)],'actions':null,'textRanges':[_0x58a562]}}],_0x1e49e0=this[_0x27a007(0x1ff)]['transformMutationsWithChangeset'](_0x1b58a7,_0x22a906);if(!_0x4a6bb0[_0x27a007(0x1ca)](_0x1e49e0))throw _0x1e49e0[_0x27a007(0x1fd)];const _0x54b2ec=_0x1e49e0[_0x27a007(0x196)][0x0][_0x27a007(0x22d)][_0x27a007(0x30f)];Array['isArray'](_0x54b2ec)&&_0x54b2ec[_0x27a007(0x29c)]&&_0x59c6c9[_0x27a007(0x220)](_0x54b2ec[0x0]);}};_0xc53968=_0xe85d6c([_0x514d51(0x0,_0x4a6bb0[_0x22d19e(0x158)]),_0x514d51(0x1,_0x5d2f68[_0x22d19e(0xcf)])],_0xc53968);var _0x509b22=Object[_0x22d19e(0x1e2)],_0x24bf3f=(_0x5db15b,_0x240ae3,_0x23a03f,_0x383737)=>{for(var _0x37cd0f=_0x383737>0x1?void 0x0:_0x383737?_0x509b22(_0x240ae3,_0x23a03f):_0x240ae3,_0x3903ab=_0x5db15b['length']-0x1,_0x21d0ad;_0x3903ab>=0x0;_0x3903ab--)(_0x21d0ad=_0x5db15b[_0x3903ab])&&(_0x37cd0f=_0x21d0ad(_0x37cd0f)||_0x37cd0f);return _0x37cd0f;},_0x1023f1=(_0x5f74e0,_0x1a47bf)=>(_0x2d55f9,_0x5bfbfd)=>_0x1a47bf(_0x2d55f9,_0x5bfbfd,_0x5f74e0);let _0x5cd1e2=class{constructor(_0xe7575,_0xb84641,_0x1e8e26){const _0x5659e8=_0x22d19e;this[_0x5659e8(0x36e)]=_0xe7575,this[_0x5659e8(0x1ff)]=_0xb84641,this[_0x5659e8(0x24d)]=_0x1e8e26;}['transformStateCache'](_0x698087){const _0x18dd99=_0x22d19e;this[_0x18dd99(0x1b3)](_0x698087);}['transformRemoteChangeset'](_0x3231a0){const _0x318d19=_0x22d19e,{unitID:_0x24be4d}=_0x3231a0,{collaboration:_0x530815}=this[_0x318d19(0x24d)][_0x318d19(0x1c9)](_0x24be4d);if(_0x530815[_0x318d19(0x29c)]===0x0)return _0x3231a0;let _0x132f93=_0x4a5a1c[_0x318d19(0xc6)][_0x318d19(0x2fe)](_0x3231a0['mutations'][0x0]);for(let _0x1b47c3=0x0;_0x1b47c3<_0x530815['length'];_0x1b47c3++){const _0x588c9a={'id':_0x318d19(0x2a5),'params':{'unitId':_0x530815[_0x1b47c3]['unitId'],..._0x530815[_0x1b47c3]['redoState']}},_0x1684f1=this[_0x318d19(0x1ff)][_0x318d19(0x9f)](_0x132f93,_0x588c9a,!0x1);if(_0x4a6bb0[_0x318d19(0xbb)](_0x1684f1))throw _0x1684f1[_0x318d19(0x1fd)];_0x132f93=_0x1684f1[_0x318d19(0xdf)];}return{..._0x4a5a1c[_0x318d19(0xc6)][_0x318d19(0x2fe)](_0x3231a0),'mutations':[_0x132f93]};}[_0x22d19e(0x1b3)](_0x547b56){const _0x4644d8=_0x22d19e,{unitID:_0x105ad4}=_0x547b56,{history:_0x46c4b9,collaboration:_0x345f88}=this[_0x4644d8(0x24d)]['getStateCache'](_0x105ad4);if(_0x46c4b9[_0x4644d8(0x29c)]===0x0&&_0x345f88[_0x4644d8(0x29c)]===0x0)return;const _0x23df02=[],_0x2cdae2=[];let _0x3eb7c7=_0x4a5a1c['Tools'][_0x4644d8(0x2fe)](_0x547b56[_0x4644d8(0x354)][0x0]),_0x391fd5=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]);for(let _0xff0a95=_0x46c4b9[_0x4644d8(0x29c)]-0x1;_0xff0a95>=0x0;_0xff0a95--){const _0x23272f={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x46c4b9[_0xff0a95][_0x4644d8(0x369)],..._0x46c4b9[_0xff0a95][_0x4644d8(0x1bc)]}},_0x4d48f5={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x46c4b9[_0xff0a95][_0x4644d8(0x369)],..._0x46c4b9[_0xff0a95][_0x4644d8(0xb1)]}},_0x150d91=this[_0x4644d8(0x1ff)]['transformMutation'](_0x3eb7c7,_0x23272f,!0x1),_0x5d5ff1=this[_0x4644d8(0x1ff)][_0x4644d8(0x9f)](_0x391fd5,_0x4d48f5,!0x1);if(_0x4a6bb0[_0x4644d8(0xbb)](_0x150d91))throw _0x150d91[_0x4644d8(0x1fd)];if(_0x4a6bb0[_0x4644d8(0xbb)](_0x5d5ff1))throw _0x5d5ff1[_0x4644d8(0x1fd)];_0x23df02[_0x4644d8(0xfc)]({..._0x46c4b9[_0xff0a95],'undoState':_0x150d91[_0x4644d8(0x196)][_0x4644d8(0x22d)],'redoState':_0x5d5ff1[_0x4644d8(0x196)]['params']}),_0x3eb7c7=_0x150d91[_0x4644d8(0xdf)],_0x391fd5=_0x5d5ff1[_0x4644d8(0xdf)];}_0x3eb7c7=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]),_0x391fd5=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]);for(let _0x4d469b=_0x345f88[_0x4644d8(0x29c)]-0x1;_0x4d469b>=0x0;_0x4d469b--){const _0x382420={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x345f88[_0x4d469b]['unitId'],..._0x345f88[_0x4d469b]['undoState']}},_0xa4d5d9={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x345f88[_0x4d469b][_0x4644d8(0x369)],..._0x345f88[_0x4d469b][_0x4644d8(0xb1)]}},_0x379087=this['_transformService'][_0x4644d8(0x9f)](_0x3eb7c7,_0x382420,!0x1),_0x16d48d=this[_0x4644d8(0x1ff)][_0x4644d8(0x9f)](_0x391fd5,_0xa4d5d9,!0x1);if(_0x4a6bb0[_0x4644d8(0xbb)](_0x379087))throw _0x379087[_0x4644d8(0x1fd)];if(_0x4a6bb0[_0x4644d8(0xbb)](_0x16d48d))throw _0x16d48d[_0x4644d8(0x1fd)];_0x2cdae2[_0x4644d8(0xfc)]({..._0x345f88[_0x4d469b],'undoState':_0x379087['m2Prime'][_0x4644d8(0x22d)],'redoState':_0x16d48d['m2Prime'][_0x4644d8(0x22d)]}),_0x3eb7c7=_0x379087['m1Prime'],_0x391fd5=_0x16d48d[_0x4644d8(0xdf)];}this[_0x4644d8(0x24d)][_0x4644d8(0x190)](_0x105ad4,{'history':_0x23df02,'collaboration':_0x2cdae2});}};_0x5cd1e2=_0x24bf3f([_0x1023f1(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x1023f1(0x1,_0x4a6bb0[_0x22d19e(0x158)]),_0x1023f1(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x22126e[_0x22d19e(0x360)]))],_0x5cd1e2);var _0x4c3448=Object[_0x22d19e(0x1e2)],_0x162572=(_0x3e0d2f,_0x56d2f6,_0x572248,_0x33ec11)=>{const _0x470657=_0x22d19e;for(var _0xfc2be5=_0x33ec11>0x1?void 0x0:_0x33ec11?_0x4c3448(_0x56d2f6,_0x572248):_0x56d2f6,_0x33087f=_0x3e0d2f[_0x470657(0x29c)]-0x1,_0x37002d;_0x33087f>=0x0;_0x33087f--)(_0x37002d=_0x3e0d2f[_0x33087f])&&(_0xfc2be5=_0x37002d(_0xfc2be5)||_0xfc2be5);return _0xfc2be5;},_0x222dbd=(_0x2a7f39,_0x14dace)=>(_0x34fd5a,_0x706f91)=>_0x14dace(_0x34fd5a,_0x706f91,_0x2a7f39);let _0x247291=class{constructor(_0x516aac,_0x1ef0e7){const _0x2ef52d=_0x22d19e;this[_0x2ef52d(0x36e)]=_0x516aac,this[_0x2ef52d(0x1ff)]=_0x1ef0e7;}[_0x22d19e(0x22c)](_0x86cb90){const _0x24b78e=_0x22d19e;var _0x32a1a0;const _0x1aa468=this[_0x24b78e(0x36e)][_0x24b78e(0x18e)](_0x5afd4e[_0x24b78e(0x11c)]),_0x2e2ea8=(_0x32a1a0=_0x1aa468['getDocRanges']())!=null?_0x32a1a0:[];if(_0x2e2ea8[_0x24b78e(0x29c)]===0x0)return;const _0x25c104=_0x86cb90['unitID'],_0x5681e9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25c104,'actions':null,'textRanges':_0x2e2ea8}}],_0x347f6a=this[_0x24b78e(0x1ff)]['transformMutationsWithChangeset'](_0x86cb90,_0x5681e9);if(!_0x4a6bb0[_0x24b78e(0x1ca)](_0x347f6a))throw _0x347f6a[_0x24b78e(0x1fd)];const _0x3ef64f=_0x347f6a[_0x24b78e(0x196)][0x0][_0x24b78e(0x22d)][_0x24b78e(0x30f)];Array[_0x24b78e(0xca)](_0x3ef64f)&&_0x3ef64f[_0x24b78e(0x29c)]&&_0x1aa468[_0x24b78e(0x28e)](_0x3ef64f,{'unitId':_0x25c104,'subUnitId':_0x25c104},!0x1);}};_0x247291=_0x162572([_0x222dbd(0x0,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x222dbd(0x1,_0x4a6bb0['ITransformService'])],_0x247291);var _0x125068=Object['getOwnPropertyDescriptor'],_0x4eb520=(_0x5e0214,_0x3914b2,_0xef1cc1,_0x181d3e)=>{for(var _0x4d5d95=_0x181d3e>0x1?void 0x0:_0x181d3e?_0x125068(_0x3914b2,_0xef1cc1):_0x3914b2,_0x1154ab=_0x5e0214['length']-0x1,_0x3e4bd1;_0x1154ab>=0x0;_0x1154ab--)(_0x3e4bd1=_0x5e0214[_0x1154ab])&&(_0x4d5d95=_0x3e4bd1(_0x4d5d95)||_0x4d5d95);return _0x4d5d95;},_0x503f53=(_0x12cc88,_0x294e1d)=>(_0x273e32,_0x4ff8c1)=>_0x294e1d(_0x273e32,_0x4ff8c1,_0x12cc88);let _0x29e630=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x558c08,_0x3cb307,_0x177f3d,_0x58ce66,_0x3b3621,_0x532204,_0x499879,_0x5880d8){const _0x220db8=_0x22d19e;super(),_0xa63e61(this,_0x220db8(0x223),new _0x8d94e0[(_0x220db8(0x90))](_0x29cbea[_0x220db8(0x1eb)][_0x220db8(0x1d0)])),(this[_0x220db8(0x24d)]=_0x558c08,this['_collaborationController']=_0x3cb307,this['_docTransformIMECacheService']=_0x177f3d,this[_0x220db8(0xbc)]=_0x58ce66,this[_0x220db8(0x164)]=_0x3b3621,this['_docSyncEditingCollabCursorService']=_0x532204,this['_messageService']=_0x499879,this[_0x220db8(0x295)]=_0x5880d8,this[_0x220db8(0x173)]());}[_0x22d19e(0x173)](){const _0x145901=_0x22d19e;this[_0x145901(0xe5)](this[_0x145901(0x139)][_0x145901(0x1ae)][_0x145901(0x35e)](_0x99f7b1=>{const _0x1d80b8=_0x145901,_0x3be00d=this['_docStateChangeManagerService'][_0x1d80b8(0x1f8)]['subscribe'](_0x10566a=>{const _0x1fda26=_0x1d80b8;if(_0x10566a==null)return;const {unitId:_0x308f06,redoState:_0x2b7b6a,commandId:_0x35a08c}=_0x10566a;if(_0x308f06!==_0x99f7b1['unitID'])return;const _0x46b6d3={'id':_0x35a08c,'type':_0x4a5a1c[_0x1fda26(0xff)][_0x1fda26(0xa8)],'params':{'unitId':_0x308f06,'actions':_0x2b7b6a[_0x1fda26(0x142)],'textRanges':null}};_0x99f7b1[_0x1fda26(0x13d)](_0x46b6d3);});if(_0x99f7b1['disposeWithMe'](_0x3be00d),_0x99f7b1 instanceof _0x29cbea['DocCollaborationEntity']){const _0x351b65={'onTransformIME':_0xea2754=>this[_0x1d80b8(0x2ee)][_0x1d80b8(0x2da)](_0xea2754),'onTransformState':_0x5b5301=>this[_0x1d80b8(0xbc)]['transformStateCache'](_0x5b5301),'onTransformSelections':_0x26cfa7=>this[_0x1d80b8(0x164)]['transformSelections'](_0x26cfa7),'onSyncEditingCollabCursor':_0x1ce5ee=>this[_0x1d80b8(0x1c7)]['syncEditingCollabCursor'](_0x1ce5ee),'onTransformRemoteChangesetByIMECache':_0xbed2cc=>this[_0x1d80b8(0x2ee)]['transformRemoteChangeset'](_0xbed2cc),'onTransformRemoteChangesetByStateCache':_0x2b75c3=>this[_0x1d80b8(0xbc)][_0x1d80b8(0x16f)](_0x2b75c3)};_0x99f7b1[_0x1d80b8(0x26f)](_0x351b65);}}));}};_0x29e630=_0x4eb520([_0x503f53(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x22126e[_0x22d19e(0x360)])),_0x503f53(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x9b)])),_0x503f53(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0xc53968)),_0x503f53(0x3,_0x4a5a1c['Inject'](_0x5cd1e2)),_0x503f53(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x247291)),_0x503f53(0x5,_0x4a5a1c['Inject'](_0x5e2c98)),_0x503f53(0x6,_0x270495[_0x22d19e(0x339)]),_0x503f53(0x7,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x29e630);var _0x4dfe1b=(_0x5a445a=>(_0x5a445a[_0x5a445a['UNDEFINED']=0x0]=_0x22d19e(0x146),_0x5a445a[_0x5a445a['OK']=0x1]='OK',_0x5a445a[_0x5a445a[_0x22d19e(0x1c3)]=0x2]=_0x22d19e(0x1c3),_0x5a445a[_0x5a445a[_0x22d19e(0x13b)]=0x3]=_0x22d19e(0x13b),_0x5a445a[_0x5a445a[_0x22d19e(0x182)]=0x4]=_0x22d19e(0x182),_0x5a445a[_0x5a445a[_0x22d19e(0x159)]=0x5]=_0x22d19e(0x159),_0x5a445a[_0x5a445a[_0x22d19e(0x185)]=0x6]=_0x22d19e(0x185),_0x5a445a[_0x5a445a[_0x22d19e(0xf0)]=0x7]=_0x22d19e(0xf0),_0x5a445a[_0x5a445a[_0x22d19e(0x26a)]=0x8]=_0x22d19e(0x26a),_0x5a445a[_0x5a445a[_0x22d19e(0x1ab)]=0x9]=_0x22d19e(0x1ab),_0x5a445a[_0x5a445a['LOGIN_FAILED']=0xa]=_0x22d19e(0x166),_0x5a445a[_0x5a445a[_0x22d19e(0x32d)]=0xb]=_0x22d19e(0x32d),_0x5a445a[_0x5a445a[_0x22d19e(0x2db)]=0xc]=_0x22d19e(0x2db),_0x5a445a[_0x5a445a[_0x22d19e(0x145)]=0xd]=_0x22d19e(0x145),_0x5a445a[_0x5a445a[_0x22d19e(0x31a)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5a445a[_0x5a445a[_0x22d19e(0xb6)]=0xf]=_0x22d19e(0xb6),_0x5a445a[_0x5a445a[_0x22d19e(0x311)]=0x10]=_0x22d19e(0x311),_0x5a445a[_0x5a445a[_0x22d19e(0x1b9)]=0x64]=_0x22d19e(0x1b9),_0x5a445a[_0x5a445a['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x5a445a[_0x5a445a[_0x22d19e(0x2d4)]=0xc9]=_0x22d19e(0x2d4),_0x5a445a[_0x5a445a[_0x22d19e(0x1c5)]=0xca]='USER_IS_ANONYMOUS',_0x5a445a[_0x5a445a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x22d19e(0x10d),_0x5a445a[_0x5a445a[_0x22d19e(0x129)]=0x1771]=_0x22d19e(0x129),_0x5a445a[_0x5a445a[_0x22d19e(0xf3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5a445a[_0x5a445a[_0x22d19e(0x351)]=0x1773]=_0x22d19e(0x351),_0x5a445a[_0x5a445a[_0x22d19e(0x231)]=0x1b59]='APPLY_REJECT',_0x5a445a[_0x5a445a[_0x22d19e(0x1a9)]=0x1b5a]=_0x22d19e(0x1a9),_0x5a445a[_0x5a445a['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x22d19e(0x1fe),_0x5a445a[_0x5a445a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x22d19e(0x2b2),_0x5a445a[_0x5a445a[_0x22d19e(0x162)]=0x1b5d]=_0x22d19e(0x162),_0x5a445a[_0x5a445a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x22d19e(0x322),_0x5a445a[_0x5a445a[_0x22d19e(0x21d)]=0x2329]=_0x22d19e(0x21d),_0x5a445a[_0x5a445a[_0x22d19e(0xd5)]=0x232a]=_0x22d19e(0xd5),_0x5a445a[_0x5a445a[_0x22d19e(0x259)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5a445a[_0x5a445a[_0x22d19e(0x179)]=0x232c]=_0x22d19e(0x179),_0x5a445a[_0x5a445a[_0x22d19e(0x1b5)]=0x232d]=_0x22d19e(0x1b5),_0x5a445a[_0x5a445a[_0x22d19e(0x18b)]=0x2711]=_0x22d19e(0x18b),_0x5a445a[_0x5a445a[_0x22d19e(0x2ed)]=0x2712]=_0x22d19e(0x2ed),_0x5a445a[_0x5a445a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x22d19e(0xf9),_0x5a445a[_0x5a445a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x22d19e(0xb5),_0x5a445a[_0x5a445a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x22d19e(0x137),_0x5a445a[_0x5a445a[_0x22d19e(0x134)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5a445a[_0x5a445a[_0x22d19e(0x160)]=0x271c]=_0x22d19e(0x160),_0x5a445a[_0x5a445a[_0x22d19e(0x328)]=0x271d]=_0x22d19e(0x328),_0x5a445a[_0x5a445a[_0x22d19e(0x239)]=0x271e]=_0x22d19e(0x239),_0x5a445a[_0x5a445a[_0x22d19e(0x1a3)]=0x271f]=_0x22d19e(0x1a3),_0x5a445a[_0x5a445a[_0x22d19e(0x2d2)]=0x2720]=_0x22d19e(0x2d2),_0x5a445a[_0x5a445a[_0x22d19e(0x15f)]=0x2af9]=_0x22d19e(0x15f),_0x5a445a[_0x5a445a[_0x22d19e(0x363)]=0x2ee1]=_0x22d19e(0x363),_0x5a445a[_0x5a445a['INVALID_INVITE_CODE']=0x2ee2]=_0x22d19e(0x13e),_0x5a445a[_0x5a445a[_0x22d19e(0x203)]=0x2ee3]=_0x22d19e(0x203),_0x5a445a[_0x5a445a[_0x22d19e(0x20f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5a445a[_0x5a445a[_0x22d19e(0x28d)]=0x2ee5]=_0x22d19e(0x28d),_0x5a445a[_0x5a445a[_0x22d19e(0x32c)]=0x32c9]=_0x22d19e(0x32c),_0x5a445a[_0x5a445a[_0x22d19e(0x312)]=0x32ca]=_0x22d19e(0x312),_0x5a445a[_0x5a445a[_0x22d19e(0x23c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5a445a[_0x5a445a[_0x22d19e(0x244)]=0x36b1]=_0x22d19e(0x244),_0x5a445a[_0x5a445a[_0x22d19e(0x365)]=0x36b2]=_0x22d19e(0x365),_0x5a445a[_0x5a445a[_0x22d19e(0x247)]=0x36b3]=_0x22d19e(0x247),_0x5a445a[_0x5a445a['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x5a445a[_0x5a445a[_0x22d19e(0x202)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5a445a[_0x5a445a[_0x22d19e(0xa6)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5a445a[_0x5a445a['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5a445a[_0x5a445a['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x22d19e(0x14d),_0x5a445a[_0x5a445a[_0x22d19e(0xd6)]=0x3a99]=_0x22d19e(0xd6),_0x5a445a[_0x5a445a['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x22d19e(0x313),_0x5a445a[_0x5a445a[_0x22d19e(0x260)]=0x3a9b]=_0x22d19e(0x260),_0x5a445a[_0x5a445a[_0x22d19e(0x98)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5a445a[_0x5a445a['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x22d19e(0x2e8),_0x5a445a[_0x5a445a['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x22d19e(0x222),_0x5a445a[_0x5a445a['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x22d19e(0xbf),_0x5a445a[_0x5a445a[_0x22d19e(0x14b)]=0x3e81]=_0x22d19e(0x14b),_0x5a445a[_0x5a445a[_0x22d19e(0x26e)]=-0x1]=_0x22d19e(0x26e),_0x5a445a))(_0x4dfe1b||{});function _0xb09571(_0x4b5af4){const _0x3fdd45=_0x22d19e;var _0xefe075,_0x122910;const _0x15dde3=(_0xefe075=_0x4b5af4['stageInfo'])==null?void 0x0:_0xefe075[_0x3fdd45(0xf5)],_0xcfd63=((_0x122910=_0x4b5af4[_0x3fdd45(0x14f)])==null?void 0x0:_0x122910[_0x3fdd45(0x36d)])||0x0;return _0x15dde3===_0x419491[_0x3fdd45(0x199)][_0x3fdd45(0xa0)]&&_0xcfd63>0x0;}function _0x1b97a4(_0x4cd6a6){const _0x5aa8b7=_0x22d19e;return _0x4cd6a6[_0x5aa8b7(0x2ae)]===_0x419491[_0x5aa8b7(0x336)][_0x5aa8b7(0x338)];}var _0x4a0f6f=Object[_0x22d19e(0x1e2)],_0x4bd536=(_0x2c7896,_0x2ba44c,_0x239d15,_0x3aa56c)=>{const _0x549fbc=_0x22d19e;for(var _0x3d24a4=_0x3aa56c>0x1?void 0x0:_0x3aa56c?_0x4a0f6f(_0x2ba44c,_0x239d15):_0x2ba44c,_0x305cb5=_0x2c7896[_0x549fbc(0x29c)]-0x1,_0x3beea4;_0x305cb5>=0x0;_0x305cb5--)(_0x3beea4=_0x2c7896[_0x305cb5])&&(_0x3d24a4=_0x3beea4(_0x3d24a4)||_0x3d24a4);return _0x3d24a4;},_0x595222=(_0x1dce99,_0x27e394)=>(_0x3200a2,_0x516c58)=>_0x27e394(_0x3200a2,_0x516c58,_0x1dce99);const _0x101a56=_0x22d19e(0x205),_0x2a05fd=_0x22d19e(0x31b),_0x290ec6='/universer-api/license/formula/limit/done';let _0x2c1a4e=class extends _0x4a5a1c['Disposable']{constructor(_0x5325d6,_0x53cf47,_0x7003a9,_0x2b1586,_0x3171c3,_0x52073f,_0x2dd6b9){const _0x4403a5=_0x22d19e;super(),_0xa63e61(this,_0x4403a5(0x213),null),_0xa63e61(this,_0x4403a5(0x168),0x0),_0xa63e61(this,'_currentUsage',0x0),_0xa63e61(this,_0x4403a5(0x23d),[]),_0xa63e61(this,_0x4403a5(0x33f),0x0),(this[_0x4403a5(0x33e)]=_0x5325d6,this[_0x4403a5(0x2b1)]=_0x53cf47,this[_0x4403a5(0x2f4)]=_0x7003a9,this['_httpService']=_0x2b1586,this[_0x4403a5(0x2de)]=_0x3171c3,this[_0x4403a5(0x1d7)]=_0x52073f,this[_0x4403a5(0x295)]=_0x2dd6b9,this[_0x4403a5(0xd9)]());}[_0x22d19e(0xd9)](){const _0x3811da=_0x22d19e;this['disposeWithMe'](this[_0x3811da(0x2b1)][_0x3811da(0xf6)]((_0x3cdbd9,_0x5bbbf5)=>{const _0x1e4978=_0x3811da;var _0x3dc4e5;if(_0x3cdbd9['id']!==_0x419491[_0x1e4978(0x1c6)]['id'])return;const _0x5217d3=_0x3cdbd9[_0x1e4978(0x22d)];if(!this[_0x1e4978(0x2c7)]((_0x3dc4e5=_0x5217d3['dirtyRanges'])!=null?_0x3dc4e5:[]))return;if(!this[_0x1e4978(0x1a6)]())throw this['_checkAndWaitForCalculationPermission'](_0x3cdbd9,_0x5bbbf5),this['_showGuardMessage'](),new _0x4a5a1c['CanceledError']();})),this['disposeWithMe'](this[_0x3811da(0x2b1)][_0x3811da(0x1f9)]((_0x2cf0d1,_0x2f4c9e)=>{const _0x377b7d=_0x3811da;if(_0x2cf0d1['id']!==_0x419491['SetFormulaCalculationNotificationMutation']['id'])return;const _0x55c898=_0x2cf0d1[_0x377b7d(0x22d)];if(_0xb09571(_0x55c898)){const _0x242882=_0x4a5a1c[_0x377b7d(0x151)]();this[_0x377b7d(0x23d)][_0x377b7d(0x256)](_0x242882),this[_0x377b7d(0x1a1)](_0x242882);}else{if(_0x1b97a4(_0x55c898)&&this[_0x377b7d(0x23d)][_0x377b7d(0x29c)]>0x0){const _0x46c3ee=this[_0x377b7d(0x23d)]['shift']();this[_0x377b7d(0x20e)](_0x46c3ee);}}}));}[_0x22d19e(0x210)](){const _0x4d8d23=_0x22d19e;super[_0x4d8d23(0x210)](),this['_clearPolling'](),this[_0x4d8d23(0x23d)]=[],this['_currentUsage']=0x0,this[_0x4d8d23(0x168)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x22d19e(0xaf)](_0x282746,_0x4a7ff1){const _0xffbd39=_0x22d19e;for(let _0x3bad9c=0x0;_0x3bad9c<0x1e;_0x3bad9c++)try{if(await this[_0xffbd39(0x132)](),this[_0xffbd39(0x1a6)]()){this['_applyCommand'](_0x282746,_0x4a7ff1),this[_0xffbd39(0x33e)]['show']({'content':this[_0xffbd39(0x295)]['t'](_0xffbd39(0xf2)),'type':_0x67c92c[_0xffbd39(0x215)][_0xffbd39(0x1de)]});return;}await new Promise(_0x562603=>{const _0x54fafd=_0xffbd39;this[_0x54fafd(0x213)]=window[_0x54fafd(0x253)](_0x562603,0x3e8);});}catch(_0x4bd4c3){this[_0xffbd39(0x1d7)]['error'](_0x4bd4c3);}this[_0xffbd39(0x33e)][_0xffbd39(0x1ba)]({'content':this['_localeService']['t'](_0xffbd39(0x2b3)),'type':_0x67c92c[_0xffbd39(0x215)][_0xffbd39(0x2d1)]});}['_applyCommand'](_0x5d27c9,_0x52d8e0){const _0x10792a=_0x22d19e;try{this[_0x10792a(0x2b1)][_0x10792a(0x264)](_0x5d27c9['id'],_0x5d27c9['params'],_0x52d8e0);}catch(_0x572cb0){this['_logService'][_0x10792a(0x1fd)](_0x572cb0);}}[_0x22d19e(0x30c)](_0x438d3b,_0x621548){const _0x367eff=_0x22d19e;_0x621548<this[_0x367eff(0x33f)]||(this[_0x367eff(0x33f)]=_0x621548,this['_maxFormulaLimit']=Number[_0x367eff(0xe7)](_0x438d3b[_0x367eff(0x27f)]),this['_currentUsage']=Number[_0x367eff(0xe7)](_0x438d3b[_0x367eff(0xbe)]));}async[_0x22d19e(0x1a1)](_0x52a0cd){const _0x4fcbd0=_0x22d19e;var _0x54b6e,_0x5bbcb3;const _0x44675c=Date['now']();try{const _0x24bbd5=((_0x54b6e=this[_0x4fcbd0(0x2f4)][_0x4fcbd0(0x1a5)](_0x29cbea[_0x4fcbd0(0x115)]))==null?void 0x0:_0x54b6e[_0x4fcbd0(0x21c)])||_0x2a05fd,_0x5ef78f=(await this[_0x4fcbd0(0x33c)][_0x4fcbd0(0x33a)](_0x24bbd5,{'body':JSON['stringify']({'taskId':_0x52a0cd})}))[_0x4fcbd0(0x1e6)];if(((_0x5bbcb3=_0x5ef78f[_0x4fcbd0(0x1fd)])==null?void 0x0:_0x5bbcb3['code'])!==_0x4dfe1b['OK'])return;this['_setFormulaLimitStatus'](_0x5ef78f[_0x4fcbd0(0x330)],_0x44675c);}catch(_0x3b9f6e){this[_0x4fcbd0(0x1d7)][_0x4fcbd0(0x1fd)](_0x3b9f6e);}}async['_getFormulaLimitStatus'](_0x357912){const _0x16ac17=_0x22d19e;var _0x20b4f5,_0x2a7aad;const _0x40d687=Date[_0x16ac17(0xa9)]();try{const _0x4f8a90=((_0x20b4f5=this['_configService'][_0x16ac17(0x1a5)](_0x29cbea[_0x16ac17(0x115)]))==null?void 0x0:_0x20b4f5[_0x16ac17(0x197)])||_0x101a56,_0x514985=_0x357912?_0x4f8a90+'?taskId='+encodeURIComponent(_0x357912):_0x4f8a90,_0x53fb94=(await this[_0x16ac17(0x33c)]['get'](_0x514985))[_0x16ac17(0x1e6)];if(((_0x2a7aad=_0x53fb94[_0x16ac17(0x1fd)])==null?void 0x0:_0x2a7aad[_0x16ac17(0x2cb)])!==_0x4dfe1b['OK'])return;this[_0x16ac17(0x30c)](_0x53fb94[_0x16ac17(0x330)],_0x40d687);}catch(_0x267521){this['_logService'][_0x16ac17(0x1fd)](_0x267521);}}async['_releaseCalculationLimit'](_0x20f6b1){const _0x504fd7=_0x22d19e;var _0x357435,_0x175a88;const _0x43beac=Date['now']();try{const _0x353859=((_0x357435=this[_0x504fd7(0x2f4)]['getConfig'](_0x29cbea[_0x504fd7(0x115)]))==null?void 0x0:_0x357435[_0x504fd7(0x17e)])||_0x290ec6,_0x29939d=(await this['_httpService']['post'](_0x353859,{'body':JSON[_0x504fd7(0x22b)]({'taskId':_0x20f6b1})}))['body'];if(((_0x175a88=_0x29939d[_0x504fd7(0x1fd)])==null?void 0x0:_0x175a88[_0x504fd7(0x2cb)])!==_0x4dfe1b['OK'])return;this[_0x504fd7(0x30c)](_0x29939d[_0x504fd7(0x330)],_0x43beac);}catch(_0x5da227){this['_logService'][_0x504fd7(0x1fd)](_0x5da227);}}[_0x22d19e(0x1a6)](){const _0x2f8b34=_0x22d19e;return this[_0x2f8b34(0x168)]===0x0?!0x0:this[_0x2f8b34(0x168)]-this[_0x2f8b34(0x1f7)]>0x0;}['_clearPolling'](){const _0x20b234=_0x22d19e;this[_0x20b234(0x213)]&&(clearTimeout(this[_0x20b234(0x213)]),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0xcb3a78=_0x22d19e;this['_messageService'][_0xcb3a78(0x1ba)]({'content':this[_0xcb3a78(0x295)]['t'](_0xcb3a78(0x344)),'type':_0x67c92c[_0xcb3a78(0x215)]['Loading']});}[_0x22d19e(0x2c7)](_0x3bc72b){const _0x25f605=_0x22d19e;for(const _0x9fa63d of _0x3bc72b){const {unitId:_0x32033c,sheetId:_0x38db36,range:_0x5d9e39}=_0x9fa63d,_0x5a9de3=this[_0x25f605(0x2de)][_0x25f605(0x18f)](_0x32033c);if(!_0x5a9de3)continue;const _0x9aea85=_0x5a9de3[_0x25f605(0x281)](_0x38db36);if(!_0x9aea85)continue;const _0x2f5a77=_0x9aea85[_0x25f605(0x2f8)]();for(let _0x408eea=_0x5d9e39['startRow'];_0x408eea<=_0x5d9e39[_0x25f605(0x1c0)];_0x408eea++)for(let _0x28441c=_0x5d9e39[_0x25f605(0x152)];_0x28441c<=_0x5d9e39[_0x25f605(0x1f0)];_0x28441c++){const _0x570892=_0x2f5a77[_0x25f605(0x1db)](_0x408eea,_0x28441c);if(_0x570892&&(_0x4a5a1c[_0x25f605(0xfe)](_0x570892['f'])||_0x4a5a1c[_0x25f605(0x17c)](_0x570892['si'])))return!0x0;}}return!0x1;}};_0x2c1a4e=_0x4bd536([_0x595222(0x0,_0x4a5a1c['Inject'](_0x270495['IMessageService'])),_0x595222(0x1,_0x4a5a1c[_0x22d19e(0x263)]),_0x595222(0x2,_0x4a5a1c['IConfigService']),_0x595222(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642['HTTPService'])),_0x595222(0x4,_0x4a5a1c['IUniverInstanceService']),_0x595222(0x5,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x595222(0x6,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x2c1a4e);var _0x14efc7=Object[_0x22d19e(0x1e2)],_0x469dc1=(_0x2d1aa4,_0x22c57a,_0x1d628,_0xd8babd)=>{const _0x279309=_0x22d19e;for(var _0x1883f6=_0xd8babd>0x1?void 0x0:_0xd8babd?_0x14efc7(_0x22c57a,_0x1d628):_0x22c57a,_0x5696bb=_0x2d1aa4[_0x279309(0x29c)]-0x1,_0x4e9040;_0x5696bb>=0x0;_0x5696bb--)(_0x4e9040=_0x2d1aa4[_0x5696bb])&&(_0x1883f6=_0x4e9040(_0x1883f6)||_0x1883f6);return _0x1883f6;},_0x14c1b8=(_0x4dd982,_0x1caced)=>(_0x41e088,_0x782287)=>_0x1caced(_0x41e088,_0x782287,_0x4dd982);let _0xc26255=class extends _0x4a5a1c['Disposable']{constructor(_0x57f0c0,_0x22941a,_0x428671){const _0x2795f0=_0x22d19e;super(),_0xa63e61(this,_0x2795f0(0x1da),new Map()),_0xa63e61(this,_0x2795f0(0x131),new Map()),_0xa63e61(this,'_disabled',!0x1),(this[_0x2795f0(0x2f4)]=_0x57f0c0,this['_localStorageService']=_0x22941a,this[_0x2795f0(0x163)]=_0x428671);}[_0x22d19e(0x30a)](){const _0x269231=_0x22d19e;this[_0x269231(0x2d7)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x22d19e(0x307)](){const _0x19590b=_0x22d19e;return this[_0x19590b(0x131)];}['dispose'](){const _0x38f0f9=_0x22d19e;this[_0x38f0f9(0x1cb)]()['then'](()=>super[_0x38f0f9(0x210)]());}async['loadOfflineData'](_0xf57006){const _0x3c8b9d=_0x22d19e;return this[_0x3c8b9d(0x2d7)]?null:this[_0x3c8b9d(0x13f)][_0x3c8b9d(0x1f1)](_0x29cbea[_0x3c8b9d(0x2a9)](_0xf57006));}async[_0x22d19e(0x122)](_0x101798,_0x4ff7bb){return!!this['_localStorageService']['setItem'](_0x101798,_0x4ff7bb);}[_0x22d19e(0xcb)](_0x3c0f1b,_0x15cb49,_0x44104a,_0x42872e){const _0x30203c=_0x22d19e,_0x529dee=this[_0x30203c(0x163)][_0x30203c(0x186)](_0x3c0f1b);this['_cachedData'][_0x30203c(0x25b)](_0x3c0f1b,{'unitID':_0x3c0f1b,'type':_0x15cb49,'awaitingChangeset':_0x44104a,'mutations':_0x42872e,'rev':_0x529dee}),this['_saveTaskMap'][_0x30203c(0x241)](_0x3c0f1b)||this[_0x30203c(0x2d0)](_0x3c0f1b);}[_0x22d19e(0x2d0)](_0x29d074){const _0x47260b=_0x22d19e,_0x5075c0=this['_getSaveTimeout']();_0x5075c0===0x0?this[_0x47260b(0xac)](_0x29d074):this[_0x47260b(0x131)]['set'](_0x29d074,setTimeout(()=>this[_0x47260b(0xac)](_0x29d074),_0x5075c0));}[_0x22d19e(0x289)](){const _0x26f7c9=_0x22d19e;var _0xf4f726;return(_0xf4f726=this[_0x26f7c9(0x2f4)]['getConfig'](_0x29cbea[_0x26f7c9(0x2fd)]))!=null?_0xf4f726:_0x29cbea[_0x26f7c9(0x1e9)];}[_0x22d19e(0xac)](_0x4f3ac4){const _0x12c131=_0x22d19e,_0x32ff45=this['_saveTaskMap'][_0x12c131(0x18e)](_0x4f3ac4);return _0x32ff45!==void 0x0&&window[_0x12c131(0x149)](_0x32ff45),this[_0x12c131(0x13f)][_0x12c131(0x292)](_0x29cbea[_0x12c131(0x2a9)](_0x4f3ac4),this[_0x12c131(0x1da)][_0x12c131(0x18e)](_0x4f3ac4))[_0x12c131(0x236)](()=>this[_0x12c131(0x131)][_0x12c131(0x1cd)](_0x4f3ac4));}async[_0x22d19e(0x1cb)](){const _0x434142=_0x22d19e,_0x2aa64c=[];this[_0x434142(0x131)][_0x434142(0x316)]((_0x2480cd,_0x5c702f)=>{const _0x13d2ca=_0x434142;window[_0x13d2ca(0x149)](_0x2480cd),_0x2aa64c[_0x13d2ca(0x256)](this[_0x13d2ca(0xac)](_0x5c702f)['then'](()=>{const _0x57ad79=_0x13d2ca;this[_0x57ad79(0x131)][_0x57ad79(0x1cd)](_0x5c702f);}));}),await Promise['all'](_0x2aa64c);}};_0xc26255=_0x469dc1([_0x14c1b8(0x0,_0x4a5a1c[_0x22d19e(0xb9)]),_0x14c1b8(0x1,_0x4a5a1c['ILocalStorageService']),_0x14c1b8(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a6bb0['RevisionService']))],_0xc26255);class _0x1410ea extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(){const _0x2f76ac=_0x22d19e;super(),_0xa63e61(this,_0x2f76ac(0x287)),this[_0x2f76ac(0x287)]=_0x8d94e0[_0x2f76ac(0x252)](window,_0x2f76ac(0x2a0))[_0x2f76ac(0x296)](_0x8d94e0[_0x2f76ac(0x9e)](this['dispose$']),_0x8d94e0[_0x2f76ac(0xd2)](0x1),_0x8d94e0[_0x2f76ac(0x26c)](void 0x0));}[_0x22d19e(0x361)](_0x1be3bb,_0x18b920,_0x1337b3=!0x1){const _0x451d57=_0x22d19e,_0x1187bc=new URL(window['location']['href']);_0x1187bc[_0x451d57(0xdc)][_0x451d57(0x25b)](_0x1be3bb,_0x18b920),_0x1337b3?window[_0x451d57(0xd7)][_0x451d57(0x368)]('','',_0x1187bc[_0x451d57(0x14e)]()):window[_0x451d57(0xd7)][_0x451d57(0x2a4)]('','',_0x1187bc[_0x451d57(0x14e)]());}[_0x22d19e(0x1e7)](_0x45a872,_0x18c1b2=!0x1){const _0x565a63=_0x22d19e,_0x48986f=new URL(window[_0x565a63(0x2a3)][_0x565a63(0x308)]);_0x48986f[_0x565a63(0xdc)][_0x565a63(0x1cd)](_0x45a872),_0x18c1b2?window['history']['replaceState']('','',_0x48986f[_0x565a63(0x14e)]()):window['history']['pushState']('','',_0x48986f[_0x565a63(0x14e)]());}[_0x22d19e(0x17b)](_0x16a21c){const _0x560ad5=_0x22d19e;var _0x24356a;return(_0x24356a=new URL(window['location']['href'])[_0x560ad5(0xdc)][_0x560ad5(0x18e)](_0x16a21c))!=null?_0x24356a:void 0x0;}}var _0x539921=Object[_0x22d19e(0xbd)],_0x902516=Object[_0x22d19e(0x1e2)],_0x2abd71=(_0x3fc476,_0x2037cc,_0x41095e)=>_0x2037cc in _0x3fc476?_0x539921(_0x3fc476,_0x2037cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41095e}):_0x3fc476[_0x2037cc]=_0x41095e,_0x22f639=(_0x569df8,_0x27de03,_0x325609,_0x351c5f)=>{const _0x2d5ef7=_0x22d19e;for(var _0x45eb43=_0x351c5f>0x1?void 0x0:_0x351c5f?_0x902516(_0x27de03,_0x325609):_0x27de03,_0x1b7282=_0x569df8[_0x2d5ef7(0x29c)]-0x1,_0x25ee8b;_0x1b7282>=0x0;_0x1b7282--)(_0x25ee8b=_0x569df8[_0x1b7282])&&(_0x45eb43=_0x25ee8b(_0x45eb43)||_0x45eb43);return _0x45eb43;},_0x315a14=(_0x4fa3e1,_0x5ab00f)=>(_0x40a023,_0x57e82f)=>_0x5ab00f(_0x40a023,_0x57e82f,_0x4fa3e1),_0x2a3c91=(_0x50cf56,_0xf29d36,_0x6d7322)=>_0x2abd71(_0x50cf56,_0xf29d36+'',_0x6d7322);const _0x5de403='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x440074[_0x22d19e(0x261)]=class extends _0x4a5a1c['Plugin']{constructor(_0x2f6994=_0x1eb4f8,_0x4b6e65,_0x58ae61,_0x143b59){const _0xf84547=_0x22d19e;super(),this['_config']=_0x2f6994,this[_0xf84547(0x282)]=_0x4b6e65,this[_0xf84547(0x36e)]=_0x58ae61,this[_0xf84547(0x2f4)]=_0x143b59;const {..._0x281f22}=_0x4a5a1c[_0xf84547(0x274)]({},_0x1eb4f8,this[_0xf84547(0x2fb)]);this[_0xf84547(0x2f4)][_0xf84547(0x228)](_0x48039f,_0x281f22);}[_0x22d19e(0xc7)](){const _0xbeb719=_0x22d19e;this[_0xbeb719(0xce)](),this[_0xbeb719(0x321)]();}['onRendered'](){const _0x2df3c7=_0x22d19e;this[_0x2df3c7(0x14a)]();}[_0x22d19e(0xce)](){const _0x385e16=_0x22d19e;var _0x37ca00;const _0x427cfa=[[_0x54052c],[_0x2c1a4e],[_0x247291],[_0xc53968],[_0x5cd1e2],[_0x5e2c98],[_0x1a7106,{'useClass':_0x1410ea}],[_0xbeb642[_0x385e16(0x2c8)],{'useClass':_0xbeb642[_0x385e16(0xef)]}],[_0x29cbea[_0x385e16(0x92)],{'useClass':_0xc26255}],[_0x440074[_0x385e16(0xd0)]],[_0x29e630],[_0x6027b0],[_0x8689c],[_0x3b2848],[_0x440074['CollaborationDataLoaderController']]];this['_config'][_0x385e16(0x15c)]&&_0x427cfa[_0x385e16(0x256)]([_0x44bd4f]),_0x4a5a1c['registerDependencies'](this[_0x385e16(0x36e)],_0x4a5a1c[_0x385e16(0x1e4)](_0x427cfa,(_0x37ca00=this[_0x385e16(0x2fb)])==null?void 0x0:_0x37ca00[_0x385e16(0x2ef)]));}['_registerRenderDependencies'](){const _0x348140=_0x22d19e;this['disposeWithMe'](this[_0x348140(0x282)][_0x348140(0x326)](_0x4a5a1c[_0x348140(0x2b9)]['UNIVER_DOC'],[_0x238ac3])),this[_0x348140(0xe5)](this[_0x348140(0x282)]['registerRenderModule'](_0x4a5a1c[_0x348140(0x2b9)][_0x348140(0x1cf)],[_0x5e3b2e]));}[_0x22d19e(0x321)](){const _0x554682=_0x22d19e;_0x4a5a1c[_0x554682(0x2b6)](this['_injector'],[[_0x8689c],[_0x440074['DesktopCollaborationStatusDisplayController']],[_0x29e630],[_0x6027b0],[_0x440074[_0x554682(0x230)]],[_0x2c1a4e]]),this['_config'][_0x554682(0x15c)]&&_0x4a5a1c['touchDependencies'](this[_0x554682(0x36e)],[[_0x44bd4f]]);}},_0x2a3c91(_0x440074[_0x22d19e(0x261)],'pluginName',_0x5de403),_0x440074[_0x22d19e(0x261)]=_0x22f639([_0x4a5a1c[_0x22d19e(0xc5)](_0x29cbea['UniverCollaborationClientPlugin']),_0x315a14(0x1,_0x5d2f68[_0x22d19e(0xcf)]),_0x315a14(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x315a14(0x3,_0x4a5a1c[_0x22d19e(0xb9)])],_0x440074[_0x22d19e(0x261)]);var _0x37bd06=Object['getOwnPropertyDescriptor'],_0x1f5987=(_0x1e9b91,_0x22b710,_0x293ae9,_0x5a131a)=>{const _0x5e0c94=_0x22d19e;for(var _0x3d268d=_0x5a131a>0x1?void 0x0:_0x5a131a?_0x37bd06(_0x22b710,_0x293ae9):_0x22b710,_0x3722b2=_0x1e9b91[_0x5e0c94(0x29c)]-0x1,_0x511877;_0x3722b2>=0x0;_0x3722b2--)(_0x511877=_0x1e9b91[_0x3722b2])&&(_0x3d268d=_0x511877(_0x3d268d)||_0x3d268d);return _0x3d268d;},_0x252204=(_0x35d3d0,_0x5dd376)=>(_0x2266c9,_0x1b49e5)=>_0x5dd376(_0x2266c9,_0x1b49e5,_0x35d3d0);_0x440074[_0x22d19e(0x206)]=class extends _0x29cbea[_0x22d19e(0x2c3)]{constructor(_0x9cbf42,_0x300b05,_0x25d74a,_0x3abfb0,_0x4851b4){super(_0x9cbf42,_0x300b05,_0x25d74a,_0x3abfb0,_0x4851b4);}async[_0x22d19e(0x34c)](_0x2ac4e1){const _0x5b552d=_0x22d19e,_0x54140a=await this[_0x5b552d(0xde)](),_0xcb64cf=this['_createSocketURL'](_0x2ac4e1,_0x54140a);return this[_0x5b552d(0x1dc)](_0xcb64cf);}[_0x22d19e(0x31f)](_0x18e95d,_0x293332){const _0x2d2a62=_0x22d19e,_0x16a08a=typeof window>'u'?new URL(_0x18e95d):new URL(_0x18e95d,window[_0x2d2a62(0x2a3)][_0x2d2a62(0xc9)]);_0x16a08a[_0x2d2a62(0xdc)][_0x2d2a62(0x25b)](_0x2d2a62(0x13a),_0x293332);const _0x7e3f7e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2d2a62(0x2a3)]['search']);return _0x7e3f7e[_0x2d2a62(0x18e)](_0x2d2a62(0x193))&&_0x16a08a[_0x2d2a62(0xdc)][_0x2d2a62(0x25b)](_0x2d2a62(0x193),_0x7e3f7e['get'](_0x2d2a62(0x193))),_0x16a08a['toString']();}async[_0x22d19e(0xde)](){const _0x2abd49=_0x22d19e;var _0x3e7113,_0x39883f,_0x5b800c;const _0x453054=this[_0x2abd49(0x2f4)][_0x2abd49(0x1a5)](_0x29cbea[_0x2abd49(0x115)]),_0x184180=(_0x3e7113=_0x453054==null?void 0x0:_0x453054['wsSessionTicketUrl'])!=null?_0x3e7113:_0x29cbea['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5b800c=(_0x39883f=(await this[_0x2abd49(0x33c)][_0x2abd49(0x18e)](_0x184180,{'headers':{'Content-Type':_0x2abd49(0x1d9)}}))['body'])==null?void 0x0:_0x39883f[_0x2abd49(0x15d)])!=null?_0x5b800c:'';}},_0x440074['BrowserCollaborationSocketService']=_0x1f5987([_0x252204(0x0,_0x4a5a1c['Inject'](_0x4a5a1c['Injector'])),_0x252204(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642['HTTPService'])),_0x252204(0x2,_0x4a5a1c[_0x22d19e(0xb9)]),_0x252204(0x3,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x252204(0x4,_0x4a6bb0['ISnapshotServerService'])],_0x440074[_0x22d19e(0x206)]);var _0x114027=Object[_0x22d19e(0x1e2)],_0xd87241=(_0x1656cc,_0x47eb8c,_0x416903,_0xc1f240)=>{const _0x13e513=_0x22d19e;for(var _0x3140e2=_0xc1f240>0x1?void 0x0:_0xc1f240?_0x114027(_0x47eb8c,_0x416903):_0x47eb8c,_0x2e13d5=_0x1656cc[_0x13e513(0x29c)]-0x1,_0x2654cb;_0x2e13d5>=0x0;_0x2e13d5--)(_0x2654cb=_0x1656cc[_0x2e13d5])&&(_0x3140e2=_0x2654cb(_0x3140e2)||_0x3140e2);return _0x3140e2;},_0x547ad9=(_0x39c96b,_0x4091ea)=>(_0xa02543,_0x56ff2e)=>_0x4091ea(_0xa02543,_0x56ff2e,_0x39c96b);_0x440074[_0x22d19e(0x1ef)]=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x5afd1e,_0x1f341b,_0x1c8206){const _0x154661=_0x22d19e;super(),this['_instanceService']=_0x5afd1e,this[_0x154661(0x33c)]=_0x1f341b,this[_0x154661(0x2f4)]=_0x1c8206;}async[_0x22d19e(0x2d9)](_0x1e68f9,_0x93e61e,_0x5e55d0,..._0x4d902c){const _0xa35e48=_0x22d19e;var _0x54c71c,_0x2fa3cf,_0x13745a,_0x25276b;const _0x76d44c=this['_instanceService'][_0xa35e48(0x36c)]();if(!_0x76d44c)throw new Error(_0xa35e48(0x2c5));const _0x2857cf=((_0x54c71c=this[_0xa35e48(0x2f4)][_0xa35e48(0x1a5)](_0x29cbea[_0xa35e48(0xfa)]))!=null?_0x54c71c:_0x29cbea['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1e68f9+'/run/'+_0x93e61e,_0x86e036=new URL(window[_0xa35e48(0x2a3)][_0xa35e48(0x308)]),_0x410488={'scriptId':_0x1e68f9,'runId':(_0x2fa3cf=_0x86e036[_0xa35e48(0xdc)][_0xa35e48(0x18e)](_0xa35e48(0x193)))!=null?_0x2fa3cf:'','function':_0x93e61e,'unitId':_0x76d44c[_0xa35e48(0xb0)](),'argsOfFunction':JSON[_0xa35e48(0x22b)](_0x4d902c),'invokeId':(_0x13745a=_0x5e55d0['invokeId'])!=null?_0x13745a:'','executionId':(_0x25276b=_0x5e55d0[_0xa35e48(0xdb)])!=null?_0x25276b:''};try{const _0x1049a4=await this[_0xa35e48(0x33c)]['post'](_0x2857cf,{'body':_0x410488});return _0x1049a4['body'][_0xa35e48(0x1fd)]&&_0x1049a4['body'][_0xa35e48(0x1fd)][_0xa35e48(0x2cb)]!==_0x4dfe1b['OK']?_0xa35e48(0x340):_0x1049a4['body'][_0xa35e48(0x1f6)];}catch{return _0xa35e48(0x340);}}},_0x440074['RemoteUniscriptService']=_0xd87241([_0x547ad9(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x547ad9(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642[_0x22d19e(0x34b)])),_0x547ad9(0x2,_0x4a5a1c[_0x22d19e(0xb9)])],_0x440074[_0x22d19e(0x1ef)]);const _0x19436c=0x7530,_0x6a45f=_0x22d19e(0x2b8);class _0x16b802 extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(){const _0x4f791c=_0x22d19e;super(),_0xa63e61(this,_0x4f791c(0x155),_0x4a5a1c[_0x4f791c(0x151)]()),_0xa63e61(this,_0x4f791c(0x28b),new Set()),_0xa63e61(this,_0x4f791c(0x195),new Map()),_0xa63e61(this,_0x4f791c(0x35c),null),_0xa63e61(this,_0x4f791c(0x34d),new Map()),_0xa63e61(this,_0x4f791c(0x1e5),new Map()),this['_init']();}[_0x22d19e(0x210)](){const _0x3a33b7=_0x22d19e;super['dispose'](),this[_0x3a33b7(0x34d)][_0x3a33b7(0x316)]((_0x957d8c,_0x602d83)=>this[_0x3a33b7(0x19e)](_0x602d83)),this[_0x3a33b7(0x35c)]&&window[_0x3a33b7(0x27d)](this['_heartbeatTimer']);}[_0x22d19e(0x30e)](_0x202ca5){const _0x37d96d=_0x22d19e;return this[_0x37d96d(0x114)](_0x202ca5)[_0x37d96d(0x296)](_0x8d94e0[_0x37d96d(0x237)]());}[_0x22d19e(0x221)](_0x378ff1){const _0x36c268=_0x22d19e;this[_0x36c268(0x28b)]['size']===0x0&&this[_0x36c268(0x283)](),this[_0x36c268(0x28b)][_0x36c268(0x23a)](_0x378ff1),this[_0x36c268(0x2aa)]({'type':0x0,'memberID':this[_0x36c268(0x155)],'unitIDs':[_0x378ff1],'isForwarded':!0x1});}['disposeUnit'](_0x48d90c){const _0x4c0920=_0x22d19e;this[_0x4c0920(0x28b)]['delete'](_0x48d90c),this[_0x4c0920(0x28b)][_0x4c0920(0x94)]===0x0&&this[_0x4c0920(0x35c)]&&window[_0x4c0920(0x27d)](this[_0x4c0920(0x35c)]);}['_init'](){const _0x3337f6=_0x22d19e;this[_0x3337f6(0xe5)](_0x4a5a1c['toDisposable'](_0x8d94e0['fromEvent'](window,_0x3337f6(0x2df))[_0x3337f6(0x35e)](_0x2713d6=>{const _0x4ad767=_0x3337f6;if(_0x2713d6[_0x4ad767(0x1ac)]!==_0x6a45f||!_0x2713d6[_0x4ad767(0x20b)])return;const _0x5cf9d9=JSON[_0x4ad767(0x1b0)](_0x2713d6[_0x4ad767(0x20b)]);this[_0x4ad767(0xa4)](_0x5cf9d9);}))),window[_0x3337f6(0x24e)](_0x3337f6(0x245),()=>this[_0x3337f6(0x2aa)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x3337f6(0x28b)])}));}[_0x22d19e(0xa4)](_0x5dd314){const _0x22506f=_0x22d19e;switch(_0x5dd314[_0x22506f(0x169)]){case 0x0:this[_0x22506f(0x271)](_0x5dd314);break;case 0x1:this['_handleLeaveEvent'](_0x5dd314);break;case 0x2:this['_handleHeartbeatEvent'](_0x5dd314);break;}}['_handleJoinEvent'](_0x38fbd2){const _0x467825=_0x22d19e,{unitIDs:_0x1ca779,memberID:_0x2c692f,isForwarded:_0x5c0861}=_0x38fbd2;_0x1ca779[_0x467825(0x316)](_0x52fac3=>{const _0x46cfb0=_0x467825;if(!_0x5c0861&&this[_0x46cfb0(0x195)][_0x46cfb0(0x241)](_0x52fac3)&&this['_ensureSubject'](_0x52fac3)[_0x46cfb0(0x218)](_0x29cbea[_0x46cfb0(0x150)][_0x46cfb0(0x232)]),!this[_0x46cfb0(0x195)][_0x46cfb0(0x241)](_0x52fac3)||!this[_0x46cfb0(0x195)][_0x46cfb0(0x18e)](_0x52fac3)[_0x46cfb0(0x241)](_0x2c692f)){const _0x925df5=this[_0x46cfb0(0x195)][_0x46cfb0(0x18e)](_0x52fac3)||new Set();_0x925df5[_0x46cfb0(0x23a)](_0x2c692f),this['_unitOnClients']['set'](_0x52fac3,_0x925df5),this[_0x46cfb0(0xc2)](_0x2c692f);}}),_0x5c0861||this[_0x467825(0x2aa)]({'type':0x0,'memberID':this[_0x467825(0x155)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x22d19e(0xc2)](_0x340477){const _0x5878bc=_0x22d19e;this[_0x5878bc(0x19e)](_0x340477);const _0x5a1feb=window[_0x5878bc(0x253)](()=>{const _0x37ecb7=_0x5878bc;this[_0x37ecb7(0x195)]['forEach'](_0x3915f1=>{_0x3915f1['delete'](_0x340477);});},_0x19436c*0x2);this[_0x5878bc(0x34d)][_0x5878bc(0x25b)](_0x340477,_0x5a1feb);}['_removeClearOtherTimer'](_0x282e48){const _0x4e68a0=_0x22d19e;if(this[_0x4e68a0(0x34d)][_0x4e68a0(0x241)](_0x282e48)){const _0x3c155b=this[_0x4e68a0(0x34d)][_0x4e68a0(0x18e)](_0x282e48);_0x3c155b&&window['clearTimeout'](_0x3c155b),this[_0x4e68a0(0x34d)][_0x4e68a0(0x25b)](_0x282e48,null);}}[_0x22d19e(0x1f5)](_0x1178c2){const {memberID:_0x1e811f,unitIDs:_0x2d1af2}=_0x1178c2;_0x2d1af2['forEach'](_0xd593a3=>{const _0x27013f=_0x1ae4;var _0x2c113a;const _0x38ca65=this[_0x27013f(0x195)][_0x27013f(0x18e)](_0xd593a3);_0x38ca65&&(_0x38ca65[_0x27013f(0x1cd)](_0x1e811f),(_0x2c113a=this[_0x27013f(0x114)](_0xd593a3))==null||_0x2c113a[_0x27013f(0x218)](_0x38ca65['size']===0x0?_0x29cbea[_0x27013f(0x150)][_0x27013f(0x216)]:_0x29cbea[_0x27013f(0x150)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1e811f);}['_handleHeartbeatEvent'](_0xe4a1ea){const _0x5b3ccc=_0x22d19e;this[_0x5b3ccc(0xc2)](_0xe4a1ea[_0x5b3ccc(0x27c)]);}['_send'](_0x343eee){const _0x40b4c9=_0x22d19e;localStorage[_0x40b4c9(0x292)](_0x6a45f,JSON[_0x40b4c9(0x22b)](_0x343eee));}['_scheduleHeartbeat'](){const _0x328506=_0x22d19e;this['_heartbeatTimer']=window[_0x328506(0x234)](()=>{const _0x39b939=_0x328506;this[_0x39b939(0x2aa)]({'type':0x2,'memberID':this['_id']});},_0x19436c);}['_ensureSubject'](_0x23a024){const _0x3e8e54=_0x22d19e;return this[_0x3e8e54(0x1e5)][_0x3e8e54(0x241)](_0x23a024)||this[_0x3e8e54(0x1e5)][_0x3e8e54(0x25b)](_0x23a024,new _0x8d94e0[(_0x3e8e54(0x90))](_0x29cbea['UnitStatus'][_0x3e8e54(0x216)])),this[_0x3e8e54(0x1e5)][_0x3e8e54(0x18e)](_0x23a024);}}_0x440074[_0x22d19e(0x19a)]=_0x1a7106,_0x440074[_0x22d19e(0x24c)]=_0x3fc4ac,_0x440074['WebBrowserSingleActiveUnitService']=_0x16b802,_0x440074[_0x22d19e(0x208)]=_0x1410ea,Object['defineProperty'](_0x440074,Symbol['toStringTag'],{'value':_0x22d19e(0x188)});}));
8
+ function _0x533d(_0x4ec67e,_0x47615a){_0x4ec67e=_0x4ec67e-0x137;const _0x4307e5=_0x4307();let _0x533d60=_0x4307e5[_0x4ec67e];return _0x533d60;}(function(_0xd4c929,_0x4c3d3f){const _0x1cfcd5=_0x533d,_0x112dbf=_0xd4c929();while(!![]){try{const _0x48ea2a=-parseInt(_0x1cfcd5(0x363))/0x1*(-parseInt(_0x1cfcd5(0x199))/0x2)+parseInt(_0x1cfcd5(0x2fe))/0x3+parseInt(_0x1cfcd5(0x242))/0x4+-parseInt(_0x1cfcd5(0x27f))/0x5*(parseInt(_0x1cfcd5(0x17a))/0x6)+parseInt(_0x1cfcd5(0x3cf))/0x7*(parseInt(_0x1cfcd5(0x1f5))/0x8)+-parseInt(_0x1cfcd5(0x212))/0x9*(parseInt(_0x1cfcd5(0x32d))/0xa)+-parseInt(_0x1cfcd5(0x16c))/0xb;if(_0x48ea2a===_0x4c3d3f)break;else _0x112dbf['push'](_0x112dbf['shift']());}catch(_0x162cb6){_0x112dbf['push'](_0x112dbf['shift']());}}}(_0x4307,0x4e4df),function(_0x205670,_0xaa4a85){const _0x16aa22=_0x533d;typeof exports==_0x16aa22(0x2d8)&&typeof module<'u'?_0xaa4a85(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),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')):typeof define==_0x16aa22(0x327)&&define[_0x16aa22(0x3e8)]?define([_0x16aa22(0x2e9),'react/jsx-runtime',_0x16aa22(0x29c),'@univerjs/core',_0x16aa22(0x1af),_0x16aa22(0x2b0),_0x16aa22(0x344),'react',_0x16aa22(0x209),_0x16aa22(0x185),'@univerjs/engine-render','@univerjs/network',_0x16aa22(0x216),_0x16aa22(0x202),_0x16aa22(0x213),_0x16aa22(0x256),'@univerjs/engine-formula','rxjs/operators',_0x16aa22(0x2a6)],_0xaa4a85):(_0x205670=typeof globalThis<'u'?globalThis:_0x205670||self,_0xaa4a85(_0x205670[_0x16aa22(0x397)]={},_0x205670[_0x16aa22(0x3b4)],_0x205670['UniverProCollaborationClient'],_0x205670[_0x16aa22(0x18b)],_0x205670['UniverUi'],_0x205670[_0x16aa22(0x2b0)],_0x205670[_0x16aa22(0x25d)],_0x205670[_0x16aa22(0x3b4)],_0x205670[_0x16aa22(0x286)],_0x205670[_0x16aa22(0x28e)],_0x205670[_0x16aa22(0x3cd)],_0x205670[_0x16aa22(0x2f7)],_0x205670[_0x16aa22(0x201)],_0x205670[_0x16aa22(0x33f)],_0x205670[_0x16aa22(0x254)],_0x205670[_0x16aa22(0x183)],_0x205670['UniverEngineFormula'],_0x205670[_0x16aa22(0x2b0)][_0x16aa22(0x3fc)],_0x205670[_0x16aa22(0x384)]));}(this,function(_0x44f94a,_0xfb03a,_0x792235,_0x4b903d,_0x109597,_0xdde2a6,_0x486dbb,_0x238001,_0x33e45c,_0x1901d9,_0x36ac30,_0x58c3fa,_0x809b8,_0x23d66c,_0x3810d3,_0x4c8112,_0x511fa6,_0x3a14cb,_0x4362f1){'use strict';const _0x151804=_0x533d;var _0x50376d=Object[_0x151804(0x163)],_0x389527=(_0x244681,_0x1e533b,_0x510d94)=>_0x1e533b in _0x244681?_0x50376d(_0x244681,_0x1e533b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x510d94}):_0x244681[_0x1e533b]=_0x510d94,_0x198f8a=(_0x4f6ac4,_0x57443d,_0xdabf2a)=>_0x389527(_0x4f6ac4,typeof _0x57443d!='symbol'?_0x57443d+'':_0x57443d,_0xdabf2a);function _0x51c0cd({ref:_0x17269c,..._0x416f3a}){const _0x4d9b3e=_0x151804,{icon:_0x2bc38f,id:_0x57ba11,className:_0x3f9bda,extend:_0x2aff11,..._0x5eeb01}=_0x416f3a,_0x4d153b=(_0x4d9b3e(0x37e)+_0x57ba11+'\x20'+(_0x3f9bda||''))[_0x4d9b3e(0x317)](),_0x3b893d=_0x238001[_0x4d9b3e(0x309)]('_'+_0x3c3b11());return _0x1c62e5(_0x2bc38f,''+_0x57ba11,{'defIds':_0x2bc38f[_0x4d9b3e(0x332)],'idSuffix':_0x3b893d[_0x4d9b3e(0x1df)]},{'ref':_0x17269c,'className':_0x4d153b,..._0x5eeb01},_0x2aff11);}function _0x1c62e5(_0x550ff2,_0x47b52f,_0xe1e65a,_0x2ddaf9,_0x4ea87b){const _0x5bd99d=_0x151804;return _0x238001[_0x5bd99d(0x239)](_0x550ff2[_0x5bd99d(0x28a)],{'key':_0x47b52f,..._0x1775dc(_0x550ff2,_0xe1e65a,_0x4ea87b),..._0x2ddaf9},(_0x2184ea(_0x550ff2,_0xe1e65a)['children']||[])[_0x5bd99d(0x2a2)]((_0x6b88a1,_0x146254)=>_0x1c62e5(_0x6b88a1,_0x47b52f+'-'+_0x550ff2[_0x5bd99d(0x28a)]+'-'+_0x146254,_0xe1e65a,void 0x0,_0x4ea87b)));}function _0x1775dc(_0x1a5489,_0x4a3622,_0x1e727a){const _0x14c13c=_0x151804,_0x44a469={..._0x1a5489['attrs']};_0x1e727a!=null&&_0x1e727a[_0x14c13c(0x39c)]&&_0x44a469[_0x14c13c(0x385)]===_0x14c13c(0x39c)&&(_0x44a469[_0x14c13c(0x385)]=_0x1e727a[_0x14c13c(0x39c)]),_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x1ce)&&_0x44a469['id']&&(_0x44a469['id']=_0x44a469['id']+_0x4a3622[_0x14c13c(0x367)]),Object[_0x14c13c(0x3e3)](_0x44a469)[_0x14c13c(0x293)](([_0x4f132e,_0x1a74e0])=>{const _0x14f3f3=_0x14c13c;_0x4f132e===_0x14f3f3(0x1ce)&&typeof _0x1a74e0==_0x14f3f3(0x15a)&&(_0x44a469[_0x4f132e]=_0x1a74e0[_0x14f3f3(0x2dd)](/url\(#(.*)\)/,'url(#$1'+_0x4a3622['idSuffix']+')'));});const {defIds:_0x359fad}=_0x4a3622;return!_0x359fad||_0x359fad[_0x14c13c(0x3e7)]===0x0||(_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x302)&&_0x44a469[_0x14c13c(0x197)]&&(_0x44a469['xlink:href']=_0x44a469[_0x14c13c(0x197)]+_0x4a3622[_0x14c13c(0x367)]),Object['entries'](_0x44a469)[_0x14c13c(0x293)](([_0x71fcdf,_0x38fca2])=>{const _0x20fada=_0x14c13c;typeof _0x38fca2==_0x20fada(0x15a)&&(_0x44a469[_0x71fcdf]=_0x38fca2[_0x20fada(0x2dd)](/url\(#(.*)\)/,_0x20fada(0x40c)+_0x4a3622[_0x20fada(0x367)]+')'));})),_0x44a469;}function _0x2184ea(_0x3aedf0,_0x479a83){const _0x570908=_0x151804;var _0x2dad87;const {defIds:_0x432ea2}=_0x479a83;return!_0x432ea2||_0x432ea2['length']===0x0?_0x3aedf0:_0x3aedf0['tag']===_0x570908(0x365)&&((_0x2dad87=_0x3aedf0['children'])!=null&&_0x2dad87[_0x570908(0x3e7)])?{..._0x3aedf0,'children':_0x3aedf0[_0x570908(0x18e)]['map'](_0x34b3ca=>typeof _0x34b3ca[_0x570908(0x21b)]['id']==_0x570908(0x15a)&&_0x432ea2&&_0x432ea2[_0x570908(0x36d)](_0x34b3ca[_0x570908(0x21b)]['id'])?{..._0x34b3ca,'attrs':{..._0x34b3ca[_0x570908(0x21b)],'id':_0x34b3ca[_0x570908(0x21b)]['id']+_0x479a83['idSuffix']}}:_0x34b3ca)}:_0x3aedf0;}function _0x3c3b11(){const _0x164f8f=_0x151804;return Math[_0x164f8f(0x258)]()[_0x164f8f(0x41b)](0x24)[_0x164f8f(0x40b)](0x2,0x8);}_0x51c0cd['displayName']=_0x151804(0x29b);const _0x53eabb={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x364)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'stroke':_0x151804(0x26c),'d':_0x151804(0x2da),'strokeLinecap':_0x151804(0x1c8),'strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x16e)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x431690=_0x238001[_0x151804(0x36e)](function(_0xb5645e,_0x597bfa){const _0x24ed04=_0x151804;return _0x238001[_0x24ed04(0x239)](_0x51c0cd,Object[_0x24ed04(0x3e6)]({},_0xb5645e,{'id':_0x24ed04(0x3ad),'ref':_0x597bfa,'icon':_0x53eabb}));});_0x431690[_0x151804(0x318)]='OffLineIcon';const _0x19b909={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x151804(0x329),'width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x37d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x151804(0x1be),'strokeLinecap':'round','strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x3e4)},'children':[{'tag':'path','attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e),'transform':_0x151804(0x260)}}]}]}],'defIds':[_0x151804(0x3e4)]},_0x301947=_0x238001[_0x151804(0x36e)](function(_0x3e7994,_0x4185fb){const _0x55d5dc=_0x151804;return _0x238001[_0x55d5dc(0x239)](_0x51c0cd,Object[_0x55d5dc(0x3e6)]({},_0x3e7994,{'id':'on-line-icon','ref':_0x4185fb,'icon':_0x19b909}));});_0x301947[_0x151804(0x318)]='OnLineIcon';function _0x48e103(_0x51ab06){const _0xad379a=_0x151804;switch(_0x51ab06){case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1e9)]:return _0xad379a(0x161);case _0x792235[_0xad379a(0x17c)]['CONFLICT']:return _0xad379a(0x22f);case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1f0)]:return'collabStatus.fetchMiss';case _0x792235['CollaborationStatus'][_0xad379a(0x283)]:return _0xad379a(0x259);case _0x792235['CollaborationStatus'][_0xad379a(0x23f)]:case _0x792235[_0xad379a(0x17c)]['AWAITING_WITH_PENDING']:return _0xad379a(0x30b);case _0x792235[_0xad379a(0x17c)]['SYNCED']:case _0x792235[_0xad379a(0x17c)][_0xad379a(0x2e1)]:return _0xad379a(0x1c0);}}function _0x5f1a43(_0x2c9324){const _0xf116d=_0x151804,{status$:_0x379821}=_0x2c9324,_0x2213ce=_0x109597[_0xf116d(0x1a6)](_0x379821,_0x792235[_0xf116d(0x17c)][_0xf116d(0x283)]),_0x4d661d=_0x109597['useDependency'](_0x4b903d['LocaleService']),_0x5d330a=_0x109597[_0xf116d(0x17b)](_0x792235[_0xf116d(0x167)]),_0x546260=_0x2213ce!==_0x792235['CollaborationStatus'][_0xf116d(0x1e9)],_0x159d06=_0x4d661d['t'](_0x48e103(_0x2213ce)),_0x5df6a2=_0x546260?_0xfb03a[_0xf116d(0x2e6)](_0x301947,{}):_0xfb03a[_0xf116d(0x2e6)](_0x431690,{}),_0x4e257b=_0x238001[_0xf116d(0x158)](()=>{const _0x572561=_0xf116d;_0x546260||_0x5d330a[_0x572561(0x1d5)]();},[_0x546260,_0x5d330a]);function _0x1f91bb(){const _0x4f2aa3=_0xf116d;return _0xfb03a['jsxs'](_0x4f2aa3(0x388),{'className':'univer-flex\x20univer-items-center','onClick':_0x4e257b,'children':[_0xfb03a['jsx'](_0x4f2aa3(0x388),{'className':_0x486dbb['clsx'](_0x4f2aa3(0x2cb),{'univer-text-green-500':_0x546260,'univer-text-red-500':!_0x546260}),'children':_0x5df6a2}),_0xfb03a[_0x4f2aa3(0x2e6)]('div',{'className':_0x4f2aa3(0x413),'children':_0x159d06})]});}return _0x546260?_0x1f91bb():_0xfb03a['jsx'](_0x486dbb[_0xf116d(0x164)],{'title':_0x4d661d['t']('collab-client.tooltip.reconnect'),'children':_0x1f91bb()});}var _0x5a7322=Object[_0x151804(0x277)],_0x517187=(_0x2d158d,_0x1709f3,_0x2ad856,_0x4a5294)=>{const _0x143fd4=_0x151804;for(var _0x48a7f2=_0x4a5294>0x1?void 0x0:_0x4a5294?_0x5a7322(_0x1709f3,_0x2ad856):_0x1709f3,_0x341914=_0x2d158d[_0x143fd4(0x3e7)]-0x1,_0x465370;_0x341914>=0x0;_0x341914--)(_0x465370=_0x2d158d[_0x341914])&&(_0x48a7f2=_0x465370(_0x48a7f2)||_0x48a7f2);return _0x48a7f2;},_0x1ac339=(_0x26024a,_0x2ac476)=>(_0xc5b000,_0x272d17)=>_0x2ac476(_0xc5b000,_0x272d17,_0x26024a);_0x44f94a[_0x151804(0x2ce)]=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x21f586,_0x43945e,_0x4b0bd3,_0x5be000){const _0x1790f0=_0x151804;super(),_0x198f8a(this,_0x1790f0(0x251),new _0xdde2a6[(_0x1790f0(0x2f9))](_0x792235[_0x1790f0(0x17c)][_0x1790f0(0x283)])),(this['_univerInstanceService']=_0x21f586,this[_0x1790f0(0x410)]=_0x43945e,this[_0x1790f0(0x268)]=_0x4b0bd3,this[_0x1790f0(0x252)]=_0x5be000,this['_initStatusComponent'](),this[_0x1790f0(0x1dd)]());}[_0x151804(0x1dd)](){const _0x3e948c=_0x151804;this[_0x3e948c(0x2f8)](this[_0x3e948c(0x224)][_0x3e948c(0x414)][_0x3e948c(0x2cc)](_0xdde2a6[_0x3e948c(0x214)](()=>{const _0x4cf0c9=_0x3e948c,_0x479c41=this['_univerInstanceService'][_0x4cf0c9(0x265)]();return _0x479c41?this[_0x4cf0c9(0x268)]['getCollabEntity$'](_0x479c41[_0x4cf0c9(0x192)]()):_0xdde2a6['of'](null);}),_0xdde2a6['switchMap'](_0x403631=>_0x403631?_0x403631[_0x3e948c(0x2a0)]:_0xdde2a6['of'](_0x792235['CollaborationStatus']['NOT_COLLAB'])))[_0x3e948c(0x24d)](_0x17a2a6=>{const _0x4227df=_0x3e948c;this[_0x4227df(0x251)][_0x4227df(0x3ef)](_0x17a2a6);}));}[_0x151804(0x1c1)](){const _0x2eabef=_0x151804;this[_0x2eabef(0x2f8)](this[_0x2eabef(0x252)][_0x2eabef(0x218)](_0x109597['BuiltInUIPart'][_0x2eabef(0x16f)],()=>_0x109597[_0x2eabef(0x3f5)](_0x422b57({'status$':this[_0x2eabef(0x251)]['asObservable']()}),this[_0x2eabef(0x410)])));}},_0x44f94a[_0x151804(0x2ce)]=_0x517187([_0x1ac339(0x0,_0x4b903d[_0x151804(0x342)]),_0x1ac339(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x1ac339(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235['CollaborationController'])),_0x1ac339(0x3,_0x109597[_0x151804(0x15e)])],_0x44f94a[_0x151804(0x2ce)]);function _0x422b57(_0x1ea306){const {status$:_0xae0696}=_0x1ea306;return function(){const _0x170353=_0x533d;return _0xfb03a[_0x170353(0x2e6)](_0x5f1a43,{'status$':_0xae0696});};}const _0x1c59a7=_0x4b903d[_0x151804(0x412)]('uni.network.url-service');var _0x8c05f0=Object[_0x151804(0x277)],_0x4cebe7=(_0xa71761,_0x31b8a1,_0x1268d2,_0x373ec7)=>{const _0x2fc163=_0x151804;for(var _0x58bc65=_0x373ec7>0x1?void 0x0:_0x373ec7?_0x8c05f0(_0x31b8a1,_0x1268d2):_0x31b8a1,_0x3762a4=_0xa71761[_0x2fc163(0x3e7)]-0x1,_0x30b098;_0x3762a4>=0x0;_0x3762a4--)(_0x30b098=_0xa71761[_0x3762a4])&&(_0x58bc65=_0x30b098(_0x58bc65)||_0x58bc65);return _0x58bc65;},_0x3fa3f2=(_0x394b2e,_0x5205b1)=>(_0x18e66d,_0x1933c6)=>_0x5205b1(_0x18e66d,_0x1933c6,_0x394b2e);_0x44f94a[_0x151804(0x278)]=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x4973db,_0x274b87,_0x5e6e84,_0x4d922d,_0x294509){const _0x473d10=_0x151804;super(),this[_0x473d10(0x1da)]=_0x4973db,this[_0x473d10(0x338)]=_0x274b87,this[_0x473d10(0x1c6)]=_0x5e6e84,this[_0x473d10(0x3d0)]=_0x4d922d,_0x294509?_0x294509==null||_0x294509[_0x473d10(0x20f)]()[_0x473d10(0x39b)](()=>this['_init']()):(this['_logService'][_0x473d10(0x274)](_0x473d10(0x407),_0x473d10(0x200)),this[_0x473d10(0x1b2)]());}async[_0x151804(0x1b2)](){const _0x229487=_0x151804,_0x6e6b9c=this[_0x229487(0x1da)]['getParam'](_0x229487(0x330)),_0x49749b=this['_urlService'][_0x229487(0x3e9)](_0x229487(0x276)),_0x5ccd14=this[_0x229487(0x1da)][_0x229487(0x3e9)]('subunit');if(!_0x6e6b9c||!_0x49749b){this[_0x229487(0x338)]['debug'](_0x229487(0x407),_0x229487(0x20b));return;}const _0x5213f2=await this[_0x229487(0x3d0)][_0x229487(0x34f)](_0x6e6b9c,Number(_0x49749b),_0x5ccd14);_0x5213f2&&_0x5213f2 instanceof _0x4b903d[_0x229487(0x229)]&&this[_0x229487(0x3b7)](_0x5213f2);}async[_0x151804(0x3b7)](_0x18a8ba){const _0x3f4019=_0x151804;await this[_0x3f4019(0x325)](_0x18a8ba),_0x18a8ba['activeSheet$'][_0x3f4019(0x2cc)](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](_0x27b09c=>{const _0x46a9d5=_0x3f4019;_0x27b09c&&this[_0x46a9d5(0x409)](_0x27b09c);}),this[_0x3f4019(0x1da)][_0x3f4019(0x39d)]['pipe'](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](()=>this[_0x3f4019(0x325)](_0x18a8ba));}[_0x151804(0x409)](_0x2e125e,_0x47725c=!0x1){const _0x2e950f=_0x151804,_0x2cf3bf=this[_0x2e950f(0x1da)]['getParam'](_0x2e950f(0x420));_0x2e125e[_0x2e950f(0x1ed)]()!==_0x2cf3bf&&this[_0x2e950f(0x1da)]['setParam'](_0x2e950f(0x420),_0x2e125e[_0x2e950f(0x1ed)](),_0x47725c);}async[_0x151804(0x325)](_0x3918d2){const _0x44b049=_0x151804;var _0x39b33e;const _0xe41756=this['_urlService'][_0x44b049(0x3e9)](_0x44b049(0x420));if(!_0xe41756||!_0x3918d2[_0x44b049(0x3cc)](_0xe41756)){const _0x5e47ef=_0x3918d2[_0x44b049(0x1b3)]()[0x0],_0x1e507c=_0x3918d2['getSheetBySheetId'](_0x5e47ef);if(!_0x1e507c)return;this['_updateURLWithCurrentState'](_0x1e507c,!0x0),await this[_0x44b049(0x1c6)][_0x44b049(0x3fd)](_0x1901d9[_0x44b049(0x150)]['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0x5e47ef});return;}((_0x39b33e=_0x3918d2[_0x44b049(0x169)]())==null?void 0x0:_0x39b33e[_0x44b049(0x1ed)]())!==_0xe41756&&await this['_commandService'][_0x44b049(0x3fd)](_0x1901d9['SetWorksheetActivateCommand']['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0xe41756});}},_0x44f94a[_0x151804(0x278)]=_0x4cebe7([_0x3fa3f2(0x0,_0x1c59a7),_0x3fa3f2(0x1,_0x4b903d[_0x151804(0x1d4)]),_0x3fa3f2(0x2,_0x4b903d['ICommandService']),_0x3fa3f2(0x3,_0x4b903d['Inject'](_0x792235['DataLoaderService'])),_0x3fa3f2(0x4,_0x4b903d[_0x151804(0x1c4)](_0x33e45c['IRemoteInstanceService']))],_0x44f94a[_0x151804(0x278)]);var _0x54ac13=Object[_0x151804(0x277)],_0xe4b5de=(_0x4c9d3c,_0x519b99,_0x4066c7,_0xda8735)=>{const _0xb6e167=_0x151804;for(var _0x2cea79=_0xda8735>0x1?void 0x0:_0xda8735?_0x54ac13(_0x519b99,_0x4066c7):_0x519b99,_0x2b2564=_0x4c9d3c[_0xb6e167(0x3e7)]-0x1,_0x51b13d;_0x2b2564>=0x0;_0x2b2564--)(_0x51b13d=_0x4c9d3c[_0x2b2564])&&(_0x2cea79=_0x51b13d(_0x2cea79)||_0x2cea79);return _0x2cea79;},_0x922270=(_0x133a70,_0x3ea5ed)=>(_0xc1134e,_0x4d8a47)=>_0x3ea5ed(_0xc1134e,_0x4d8a47,_0x133a70);let _0x479999=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1fe75e,_0x28f342){const _0x30b007=_0x151804;super(),this[_0x30b007(0x2bc)]=_0x1fe75e,this[_0x30b007(0x375)]=_0x28f342,this['_init']();}[_0x151804(0x1b2)](){const _0x523ce1=_0x151804,_0x1184f8=this;this[_0x523ce1(0x2f8)](this[_0x523ce1(0x2bc)][_0x523ce1(0x32f)]({'onBeforePasteImage':async _0x421807=>{const _0x5c7197=_0x523ce1,_0x231720=await _0x1184f8[_0x5c7197(0x375)][_0x5c7197(0x2c8)](_0x421807);return _0x231720?{'source':_0x231720[_0x5c7197(0x24e)],'imageSourceType':_0x231720[_0x5c7197(0x215)]}:null;}}));}};_0x479999=_0xe4b5de([_0x922270(0x0,_0x809b8[_0x151804(0x1b7)]),_0x922270(0x1,_0x23d66c['IImageIoService'])],_0x479999);const _0x3634fe=[_0x151804(0x18f),_0x151804(0x1db),_0x151804(0x40d),_0x151804(0x230),_0x151804(0x3f2),_0x151804(0x1a1)];class _0x2042e7 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0xd3cf12=_0x151804;super(...arguments),_0x198f8a(this,'_assignedColors',new Map()),_0x198f8a(this,_0xd3cf12(0x140),0x0);}['assignAColorForMemberID'](_0x16f472){const _0x405f42=_0x151804;if(this[_0x405f42(0x3c2)][_0x405f42(0x326)](_0x16f472))return this[_0x405f42(0x3c2)][_0x405f42(0x1a2)](_0x16f472);const _0x11b58d=_0x3634fe[this[_0x405f42(0x140)]];return this[_0x405f42(0x140)]=(this[_0x405f42(0x140)]+0x1)%_0x3634fe['length'],this[_0x405f42(0x3c2)][_0x405f42(0x2d7)](_0x16f472,_0x11b58d),_0x11b58d;}}function _0x3e3b6a(_0x520b66){const _0x454bf9=_0x151804;let _0x4b6b21='';for(const _0x297450 of _0x520b66){const {startOffset:_0x1a1dac,endOffset:_0x2b2fb0,isActive:_0x34f6e7,rangeType:_0xf61556,segmentId:_0x2f50df,segmentPage:_0x54f942}=_0x297450;_0x4b6b21[_0x454bf9(0x3e7)]&&(_0x4b6b21+=','),_0x4b6b21+=_0x1a1dac+':'+_0x2b2fb0+':'+(_0x34f6e7?'1':'0')+':'+_0xf61556+':'+_0x2f50df+':'+_0x54f942;}return _0x4b6b21;}function _0x524705(_0x52de8a){const _0x21ef59=_0x151804,_0x2245a8=_0x52de8a[_0x21ef59(0x3fe)](','),_0x4cecfc=[];for(const _0x573be5 of _0x2245a8){const [_0x4aaf5b,_0x2643a5,_0x33c38f,_0x38eae1,_0x5cdfd7,_0x1e3048]=_0x573be5[_0x21ef59(0x3fe)](':');_0x4cecfc[_0x21ef59(0x1eb)]({'startOffset':Number(_0x4aaf5b),'endOffset':Number(_0x2643a5),'collapsed':_0x4aaf5b===_0x2643a5,'isActive':_0x33c38f==='1','rangeType':_0x38eae1===_0x4b903d['DOC_RANGE_TYPE']['TEXT']?_0x4b903d[_0x21ef59(0x1f6)][_0x21ef59(0x190)]:_0x4b903d['DOC_RANGE_TYPE'][_0x21ef59(0x3dc)],'segmentId':typeof _0x5cdfd7==_0x21ef59(0x15a)?String(_0x5cdfd7):'','segmentPage':Number(_0x1e3048!=null?_0x1e3048:-0x1)});}return _0x4cecfc[_0x21ef59(0x1a3)](_0xaaf12f=>_0xaaf12f[_0x21ef59(0x1fd)])||(_0x4cecfc[0x0][_0x21ef59(0x1fd)]=!0x0),_0x4cecfc;}class _0x103d56 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x5da679=_0x151804;super(...arguments),_0x198f8a(this,_0x5da679(0x1a4),new _0xdde2a6[(_0x5da679(0x2f9))](null)),_0x198f8a(this,_0x5da679(0x2bb),this['_collabCursorState$'][_0x5da679(0x1a5)]());}[_0x151804(0x3d8)](_0x22e76a){const {unitID:_0x3c044d,memberID:_0x1ed431,textRanges:_0x48c0f1}=_0x22e76a,_0x4ebb7c=_0x3e3b6a(_0x48c0f1);if(_0x4ebb7c==='')return;const _0x22dc83={'unitID':_0x3c044d,'memberID':_0x1ed431,'selection':_0x4ebb7c};this['_collabCursorState$']['next'](_0x22dc83);}}var _0x126698=Object[_0x151804(0x277)],_0x537264=(_0x91b8b0,_0x67d8ca,_0x629d44,_0x39355e)=>{const _0x3e6720=_0x151804;for(var _0xe43cac=_0x39355e>0x1?void 0x0:_0x39355e?_0x126698(_0x67d8ca,_0x629d44):_0x67d8ca,_0xd468f0=_0x91b8b0[_0x3e6720(0x3e7)]-0x1,_0xee85e3;_0xd468f0>=0x0;_0xd468f0--)(_0xee85e3=_0x91b8b0[_0xd468f0])&&(_0xe43cac=_0xee85e3(_0xe43cac)||_0xe43cac);return _0xe43cac;},_0x4424dd=(_0x1527e4,_0x5ea11e)=>(_0x39602b,_0xea9f8)=>_0x5ea11e(_0x39602b,_0xea9f8,_0x1527e4);const _0x21deab=0x12c,_0xaed1ed=0x64;let _0xe1e1b0=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1ce692,_0x1c50f6,_0x22c829,_0x2afd99,_0x26a03d,_0x4c2a51,_0x382e52,_0x52dfb6,_0x371870){const _0x188104=_0x151804;super(),_0x198f8a(this,_0x188104(0x263),!0x1),_0x198f8a(this,'_init',!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,_0x188104(0x29f),this[_0x188104(0x282)][_0x188104(0x1a5)]()),_0x198f8a(this,_0x188104(0x1fe),new _0xdde2a6[(_0x188104(0x2f9))]([])),_0x198f8a(this,_0x188104(0x15c),this['_roomMembers$'][_0x188104(0x2cc)](_0xdde2a6[_0x188104(0x1c7)](_0x21deab))),_0x198f8a(this,_0x188104(0x2df),_0x4b903d[_0x188104(0x2ac)](_0x541da9=>{const _0xbf9622=_0x188104,_0x30cce3={'eventID':_0x3810d3[_0xbf9622(0x219)][_0xbf9622(0x2b1)],'data':{'unitID':this[_0xbf9622(0x36b)],'memberID':this[_0xbf9622(0x38b)][_0xbf9622(0x248)](),'selection':_0x3e3b6a(_0x541da9)}};this[_0xbf9622(0x38b)][_0xbf9622(0x3bb)](_0x30cce3,this[_0xbf9622(0x36b)]);},_0xaed1ed)),(this[_0x188104(0x36b)]=_0x1ce692,this[_0x188104(0x38b)]=_0x1c50f6,this[_0x188104(0x410)]=_0x22c829,this['_colorAssignService']=_0x2afd99,this['_memberService']=_0x26a03d,this[_0x188104(0x383)]=_0x4c2a51,this[_0x188104(0x21a)]=_0x382e52,this[_0x188104(0x224)]=_0x52dfb6,this[_0x188104(0x1c6)]=_0x371870);}get[_0x151804(0x1bf)](){const _0x24e2e5=_0x151804;return this['_cursorInfo$'][_0x24e2e5(0x313)]();}get[_0x151804(0x22b)](){const _0x25be5e=_0x151804;return this['_roomMembers$'][_0x25be5e(0x313)]();}[_0x151804(0x2b9)](){const _0x27ede6=_0x151804;super[_0x27ede6(0x2b9)](),this[_0x27ede6(0x282)][_0x27ede6(0x3ef)](new Map()),this[_0x27ede6(0x282)]['complete'](),this[_0x27ede6(0x1fe)][_0x27ede6(0x3ef)]([]),this[_0x27ede6(0x1fe)]['complete']();}['init'](){const _0x39cc71=_0x151804;this[_0x39cc71(0x1b2)]||(this['_init']=!0x0,this['_session'][_0x39cc71(0x1f4)][_0x39cc71(0x2cc)](_0xdde2a6['takeUntil'](this['dispose$']))['subscribe'](_0x3c67c1=>{const _0xeac753=_0x39cc71;_0x3c67c1===_0x792235[_0xeac753(0x226)]['ONLINE']?this[_0xeac753(0x191)]():this['_toggleOffline']();}),this[_0x39cc71(0x38b)][_0x39cc71(0x15b)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x3c7ed1=>{const _0x187987=_0x39cc71,_0x46f9c2=_0x3c7ed1[_0x187987(0x2b7)];_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x2b1)]&&this[_0x187987(0x193)](_0x3c7ed1),_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x211)]&&this[_0x187987(0x2fc)](_0x3c7ed1);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x2d0d40=>{const _0x5171be=_0x39cc71,_0x1cbfb4=_0x2d0d40[_0x5171be(0x1cb)];_0x1cbfb4!=null&&this['_online']&&_0x2d0d40['id']===_0x4c8112[_0x5171be(0x2bf)]['id']&&_0x1cbfb4['unitId']===this['unitID']&&_0x1cbfb4[_0x5171be(0x262)]===!0x1&&_0x1cbfb4[_0x5171be(0x307)][_0x5171be(0x3e7)]>0x0&&this[_0x5171be(0x2df)](_0x1cbfb4['ranges']);})),this[_0x39cc71(0x383)][_0x39cc71(0x2bb)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x135585=>{const _0x343366=_0x39cc71;if((_0x135585==null?void 0x0:_0x135585[_0x343366(0x36b)])!==this['unitID'])return;const _0x1a6daa={'eventID':_0x3810d3[_0x343366(0x219)][_0x343366(0x2b1)],'data':_0x135585};this['_onCursorUpdate'](_0x1a6daa);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x234c48=>{const _0x152615=_0x39cc71;if(_0x234c48['params']==null)return;const _0x5043f0=_0x234c48['params'];if(_0x234c48['id']!==_0x4c8112[_0x152615(0x220)]['id']||_0x5043f0['unitId']!==this[_0x152615(0x36b)])return;const _0x1198a1={'id':_0x152615(0x362),'params':_0x5043f0},_0xa0af04=this[_0x152615(0x1bf)];for(const [_0xd6ee14,_0x53ae57]of _0xa0af04){const _0x3ee3e0={'id':_0x152615(0x362),'params':{'unitId':this[_0x152615(0x36b)],'actions':null,'textRanges':_0x53ae57[_0x152615(0x307)]}},_0x14ab31=this[_0x152615(0x21a)][_0x152615(0x244)](_0x1198a1,_0x3ee3e0,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x14ab31))throw _0x14ab31['error'];_0xa0af04[_0x152615(0x2d7)](_0xd6ee14,{..._0x53ae57,'ranges':_0x14ab31[_0x152615(0x25b)][_0x152615(0x1cb)][_0x152615(0x173)]});}queueMicrotask(()=>{const _0x194ab8=_0x152615;this[_0x194ab8(0x282)]['next'](_0xa0af04);});})));}[_0x151804(0x193)](_0x466ce0){const _0x3b61b7=_0x151804;var _0x409c83,_0x1372e7;const {memberID:_0x391d04,selection:_0x5be557}=_0x466ce0[_0x3b61b7(0x40f)],_0x3087dd=_0x524705(_0x5be557),_0x4d8033=(_0x1372e7=(_0x409c83=this[_0x3b61b7(0x398)][_0x3b61b7(0x2a3)](this[_0x3b61b7(0x36b)],_0x391d04))==null?void 0x0:_0x409c83[_0x3b61b7(0x2d6)])!=null?_0x1372e7:'Unknown\x20user',_0x538979={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x391d04),'name':_0x4d8033,'ranges':_0x3087dd},_0x3b8e55=this[_0x3b61b7(0x1bf)];_0x3b8e55['set'](_0x391d04,_0x538979),this[_0x3b61b7(0x282)][_0x3b61b7(0x3ef)](_0x3b8e55);}[_0x151804(0x2fc)](_0x3af8dc){const _0x4a4b2a=_0x151804,{memberID:_0x194970}=_0x3af8dc[_0x4a4b2a(0x40f)],_0x1135cf=this[_0x4a4b2a(0x1bf)];_0x1135cf[_0x4a4b2a(0x312)](_0x194970),this[_0x4a4b2a(0x282)][_0x4a4b2a(0x3ef)](_0x1135cf);}[_0x151804(0x191)](){const _0x51b21e=_0x151804;var _0x2c7b87;if(this[_0x51b21e(0x263)]=!0x0,((_0x2c7b87=this[_0x51b21e(0x224)][_0x51b21e(0x265)]())==null?void 0x0:_0x2c7b87['getUnitId']())!==this[_0x51b21e(0x36b)])return;const _0xea468=this[_0x51b21e(0x410)][_0x51b21e(0x1a2)](_0x4c8112[_0x51b21e(0x22e)])['getDocRanges']();Array[_0x51b21e(0x373)](_0xea468)&&_0xea468[_0x51b21e(0x3e7)]>0x0&&this[_0x51b21e(0x2df)](_0xea468);}['_toggleOffline'](){const _0x26ee0b=_0x151804;this[_0x26ee0b(0x263)]=!0x1;}};_0xe1e1b0=_0x537264([_0x4424dd(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x4424dd(0x3,_0x4b903d['Inject'](_0x2042e7)),_0x4424dd(0x4,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x189)])),_0x4424dd(0x5,_0x4b903d[_0x151804(0x18d)](_0x103d56)),_0x4424dd(0x6,_0x3810d3[_0x151804(0x3aa)]),_0x4424dd(0x7,_0x4b903d[_0x151804(0x342)]),_0x4424dd(0x8,_0x4b903d[_0x151804(0x32e)])],_0xe1e1b0);var _0x1339dd=Object['getOwnPropertyDescriptor'],_0x922f35=(_0x4c2b17,_0x5787eb,_0x33d949,_0x1cf412)=>{const _0x12961d=_0x151804;for(var _0xb78287=_0x1cf412>0x1?void 0x0:_0x1cf412?_0x1339dd(_0x5787eb,_0x33d949):_0x5787eb,_0x15276f=_0x4c2b17[_0x12961d(0x3e7)]-0x1,_0x39fde6;_0x15276f>=0x0;_0x15276f--)(_0x39fde6=_0x4c2b17[_0x15276f])&&(_0xb78287=_0x39fde6(_0xb78287)||_0xb78287);return _0xb78287;},_0x234d1d=(_0x388ca3,_0xedea8a)=>(_0x174d89,_0xb9a648)=>_0xedea8a(_0x174d89,_0xb9a648,_0x388ca3);const _0x128971=0x12c,_0x27048d=0x64,_0x381cd8=()=>{let _0x777464=[],_0x2d8944=!0x1;return _0x325f0c=>{const _0x2ab2d4=_0x533d;_0x777464[_0x2ab2d4(0x1eb)](_0x325f0c),_0x2d8944||(_0x2d8944=!0x0,setTimeout(()=>{const _0x30709f=_0x2ab2d4;_0x777464[_0x30709f(0x293)](_0x5ca36e=>_0x5ca36e()),_0x777464=[],_0x2d8944=!0x1;}));};};let _0x4b2b97=class extends _0x4b903d['RxDisposable']{constructor(_0x3f0d19,_0x4feca9,_0x5300e5,_0x2c6915,_0x166e07,_0x4766b1,_0x4c816b,_0x440a62){const _0x156a83=_0x151804;super(),_0x198f8a(this,_0x156a83(0x263),!0x1),_0x198f8a(this,_0x156a83(0x1b2),!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,'cursorInfo$',this[_0x156a83(0x282)][_0x156a83(0x1a5)]()),_0x198f8a(this,_0x156a83(0x1fe),new _0xdde2a6[(_0x156a83(0x2f9))]([])),_0x198f8a(this,_0x156a83(0x15c),this[_0x156a83(0x1fe)]['pipe'](_0xdde2a6[_0x156a83(0x1c7)](_0x128971))),_0x198f8a(this,_0x156a83(0x2df),_0x4b903d[_0x156a83(0x2ac)]((_0x4dd231,_0x29053f)=>{const _0x856193=_0x156a83,_0x38ef9d={'eventID':_0x3810d3['CollaborationEvent'][_0x856193(0x2b1)],'data':{'unitID':this[_0x856193(0x36b)],'memberID':this[_0x856193(0x38b)][_0x856193(0x248)](),'selection':_0x511fa6['serializeRangeWithSheet'](_0x4dd231,_0x29053f[_0x856193(0x2dc)])}};this['_session'][_0x856193(0x3bb)](_0x38ef9d,this[_0x856193(0x36b)]);},_0x27048d)),(this[_0x156a83(0x36b)]=_0x3f0d19,this[_0x156a83(0x38b)]=_0x4feca9,this[_0x156a83(0x410)]=_0x5300e5,this['_colorAssignService']=_0x2c6915,this[_0x156a83(0x398)]=_0x166e07,this['_univerInstanceService']=_0x4766b1,this[_0x156a83(0x1c6)]=_0x4c816b,this[_0x156a83(0x36f)]=_0x440a62);}get[_0x151804(0x1bf)](){const _0x13bce4=_0x151804;return this[_0x13bce4(0x282)][_0x13bce4(0x313)]();}get[_0x151804(0x22b)](){const _0x4f89ff=_0x151804;return this[_0x4f89ff(0x1fe)]['getValue']();}['dispose'](){const _0x576611=_0x151804;super['dispose'](),this[_0x576611(0x282)][_0x576611(0x3ef)](new Map()),this[_0x576611(0x282)][_0x576611(0x138)](),this['_roomMembers$'][_0x576611(0x3ef)]([]),this['_roomMembers$'][_0x576611(0x138)]();}[_0x151804(0x3b2)](){const _0x5a4ca1=_0x151804;this[_0x5a4ca1(0x1b2)]||(this[_0x5a4ca1(0x1b2)]=!0x0,this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x1f4)][_0x5a4ca1(0x2cc)](_0xdde2a6[_0x5a4ca1(0x23e)](this[_0x5a4ca1(0x2ef)]))[_0x5a4ca1(0x24d)](_0x403c3f=>{const _0x230ae3=_0x5a4ca1;_0x403c3f===_0x792235[_0x230ae3(0x226)]['ONLINE']?this[_0x230ae3(0x191)]():this['_toggleOffline']();}),this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x15b)]['pipe'](_0xdde2a6[_0x5a4ca1(0x23e)](this['dispose$']))[_0x5a4ca1(0x24d)](_0x405056=>{const _0x34eafc=_0x5a4ca1,_0x4f7eb1=_0x405056[_0x34eafc(0x2b7)];_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)][_0x34eafc(0x2b1)]&&this['_onCursorUpdate'](_0x405056),_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)]['USERS_LEAVE']&&this[_0x34eafc(0x2fc)](_0x405056);}),this[_0x5a4ca1(0x21d)](),this[_0x5a4ca1(0x2f8)](this['_commandService'][_0x5a4ca1(0x280)](_0x2bbdbe=>{const _0x43c52b=_0x5a4ca1;if(this['_online']&&_0x2bbdbe['id']===_0x1901d9['SetSelectionsOperation']['id']&&_0x2bbdbe['params'][_0x43c52b(0x1a9)]===this[_0x43c52b(0x36b)]){const _0x28c91c=_0x2bbdbe[_0x43c52b(0x1cb)];this[_0x43c52b(0x2df)](_0x28c91c[_0x43c52b(0x41e)],_0x28c91c[_0x43c52b(0x2ad)][0x0]);}})));}['_onCursorUpdate'](_0x1e11b9){const _0x9daf96=_0x151804;var _0x167801,_0x472850;const {memberID:_0x49794b,selection:_0x315b14}=_0x1e11b9[_0x9daf96(0x40f)],{sheetName:_0x2a7d11,range:_0x4187ce}=_0x511fa6[_0x9daf96(0x30a)](_0x315b14),_0x25cf1d={'name':(_0x472850=(_0x167801=this[_0x9daf96(0x398)]['getMember'](this[_0x9daf96(0x36b)],_0x49794b))==null?void 0x0:_0x167801[_0x9daf96(0x2d6)])!=null?_0x472850:_0x9daf96(0x24c),'range':this[_0x9daf96(0x145)](_0x2a7d11,_0x4187ce),'sheetID':_0x2a7d11,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x49794b),'selection':_0x315b14},_0x11afd0=this[_0x9daf96(0x1bf)];_0x11afd0[_0x9daf96(0x2d7)](_0x49794b,_0x25cf1d),this[_0x9daf96(0x282)][_0x9daf96(0x3ef)](_0x11afd0);}[_0x151804(0x2fc)](_0x48b2d8){const _0x3757e3=_0x151804,{memberID:_0x16fdef}=_0x48b2d8[_0x3757e3(0x40f)],_0x30e545=this['cursorInfo'];_0x30e545[_0x3757e3(0x312)](_0x16fdef),this[_0x3757e3(0x282)][_0x3757e3(0x3ef)](_0x30e545);}['_getMergeRange'](_0xfe78d9,_0x3ecf){const _0x44f9eb=_0x151804;var _0x392b5a,_0x11a20e;const _0x35a07d=(_0x11a20e=(_0x392b5a=this[_0x44f9eb(0x224)][_0x44f9eb(0x196)](this[_0x44f9eb(0x36b)]))==null?void 0x0:_0x392b5a[_0x44f9eb(0x3cc)](_0xfe78d9))==null?void 0x0:_0x11a20e[_0x44f9eb(0x271)]();return(_0x35a07d==null?void 0x0:_0x35a07d[_0x44f9eb(0x394)](_0x41846f=>_0x4b903d[_0x44f9eb(0x401)][_0x44f9eb(0x39a)](_0x41846f,_0x3ecf)))||_0x3ecf;}[_0x151804(0x21d)](){const _0x57e0fa=_0x151804,_0x5d5409=new _0x4b903d[(_0x57e0fa(0x156))](),_0x1330bb=_0x381cd8(),_0x1bde8f=()=>{const _0x4c02bd=_0x57e0fa;_0x5d5409[_0x4c02bd(0x2b9)]();const _0x5eeb03=(_0x4b478e,_0x3dd49a,_0x44deb1,_0x469564)=>{const _0x4fdfe2=_0x4c02bd;let _0x1de7ff=[];switch(_0x4b478e['id']){case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x37a)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2de)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x38c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x38e)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x175)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x343)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x25c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2f3)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x421)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x1e5)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)]['InsertRowCommandId']:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x314)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x2e0)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x208)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x166)]:{_0x1de7ff=_0x1901d9['handleIRemoveCol'](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x3ae)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x331)](_0x4b478e,_0x469564);break;}}const _0x5e10fe=_0x1901d9['runRefRangeMutations'](_0x1de7ff,_0x469564),_0x39bebd=this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x1a2)](_0x3dd49a);if(_0x39bebd&&_0x5e10fe){const _0x2a34a1={..._0x39bebd,'range':_0x5e10fe};this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x2d7)](_0x3dd49a,_0x2a34a1),_0x1330bb(()=>{const _0x1e0d50=_0x4fdfe2,_0x30e76e=this[_0x1e0d50(0x36f)][_0x1e0d50(0x2ba)](_0x5e10fe,_0x2b78e8=>(_0x30e76e[_0x1e0d50(0x2b9)](),_0x5eeb03(_0x2b78e8,_0x3dd49a,_0x44deb1,_0x5e10fe)));_0x5d5409[_0x1e0d50(0x14a)](_0x30e76e);});}return{'redos':[],'undos':[]};};this[_0x4c02bd(0x1bf)]['forEach']((_0x45cc1b,_0x52eac3)=>{const _0x233b8f=_0x4c02bd,{range:_0x2d1bf8,sheetID:_0x5f116d}=_0x45cc1b,_0xe59f29=this[_0x233b8f(0x36f)][_0x233b8f(0x2ba)](_0x2d1bf8,_0x2f576a=>(_0xe59f29['dispose'](),_0x5eeb03(_0x2f576a,_0x52eac3,_0x5f116d,_0x2d1bf8)));_0x5d5409['add'](_0xe59f29);});};this[_0x57e0fa(0x2f8)](_0x4b903d[_0x57e0fa(0x402)](this[_0x57e0fa(0x282)]['subscribe'](()=>{_0x1bde8f();})));}[_0x151804(0x191)](){const _0x141527=_0x151804;var _0x1998b5,_0xe736ac;if(this[_0x141527(0x263)]=!0x0,((_0x1998b5=this[_0x141527(0x224)][_0x141527(0x265)]())==null?void 0x0:_0x1998b5[_0x141527(0x192)]())!==this[_0x141527(0x36b)])return;const _0x5c6426=(_0xe736ac=this[_0x141527(0x410)][_0x141527(0x1a2)](_0x1901d9['SheetsSelectionsService'])[_0x141527(0x2d5)]())==null?void 0x0:_0xe736ac[0x0],_0x215c70=this['_univerInstanceService'][_0x141527(0x360)](_0x4b903d[_0x141527(0x198)]['UNIVER_SHEET'])[_0x141527(0x169)]();_0x5c6426&&_0x215c70&&this[_0x141527(0x2df)](_0x215c70[_0x141527(0x1ed)](),_0x5c6426);}[_0x151804(0x292)](){this['_online']=!0x1;}};_0x4b2b97=_0x922f35([_0x234d1d(0x2,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x28d)])),_0x234d1d(0x3,_0x4b903d[_0x151804(0x18d)](_0x2042e7)),_0x234d1d(0x4,_0x4b903d['Inject'](_0x792235['MemberService'])),_0x234d1d(0x5,_0x4b903d[_0x151804(0x342)]),_0x234d1d(0x6,_0x4b903d['ICommandService']),_0x234d1d(0x7,_0x4b903d[_0x151804(0x18d)](_0x1901d9[_0x151804(0x1ee)]))],_0x4b2b97);var _0x4ea7b0=Object[_0x151804(0x277)],_0x19ba5c=(_0x3fe9b2,_0x1617b4,_0x5ddb25,_0x40aad5)=>{const _0x2c6d2a=_0x151804;for(var _0x3721ab=_0x40aad5>0x1?void 0x0:_0x40aad5?_0x4ea7b0(_0x1617b4,_0x5ddb25):_0x1617b4,_0x4f3481=_0x3fe9b2[_0x2c6d2a(0x3e7)]-0x1,_0x473ecb;_0x4f3481>=0x0;_0x4f3481--)(_0x473ecb=_0x3fe9b2[_0x4f3481])&&(_0x3721ab=_0x473ecb(_0x3721ab)||_0x3721ab);return _0x3721ab;},_0x5b5a62=(_0x3acbd8,_0x483ca0)=>(_0x2d3554,_0x57f9fd)=>_0x483ca0(_0x2d3554,_0x57f9fd,_0x3acbd8);let _0x8fdf50=class extends _0x4b903d['RxDisposable']{constructor(_0x122faa,_0x31a3b6,_0x30991d){const _0x4aebbd=_0x151804;super(),_0x198f8a(this,_0x4aebbd(0x2ea),new Map()),_0x198f8a(this,'_entityInit$',new _0xdde2a6['Subject']()),(this[_0x4aebbd(0x224)]=_0x122faa,this[_0x4aebbd(0x410)]=_0x31a3b6,this['_collabSessionService']=_0x30991d,this['_init']());}['dispose'](){const _0x345322=_0x151804;super['dispose'](),this[_0x345322(0x142)][_0x345322(0x138)](),this['_entities']['forEach'](_0x5d8b32=>_0x5d8b32[_0x345322(0x2b9)]());}[_0x151804(0x28c)](_0x2c6173){const _0x59d842=_0x151804;return this[_0x59d842(0x2ea)][_0x59d842(0x326)](_0x2c6173)?this['_entities']['get'](_0x2c6173)[_0x59d842(0x29f)]:this[_0x59d842(0x142)]['pipe'](_0xdde2a6[_0x59d842(0x182)](_0x22f9aa=>_0x22f9aa[_0x59d842(0x36b)]===_0x2c6173),_0xdde2a6['switchMap'](_0x5ee953=>_0x5ee953[_0x59d842(0x29f)]));}[_0x151804(0x1b2)](){const _0x46753b=_0x151804;this['_univerInstanceService'][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x24d)](async _0x4ca33e=>{const _0x10a97b=_0x46753b,_0x11e9fe=_0x4ca33e['getUnitId'](),_0x20c858=await this[_0x10a97b(0x415)](_0x11e9fe);this['_entityInit$'][_0x10a97b(0x3ef)](_0x20c858),this[_0x10a97b(0x2ea)]['set'](_0x11e9fe,_0x20c858);}),this[_0x46753b(0x224)][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x182)](_0x16c882=>!_0x16c882['getUnitId']()['startsWith']('__')))[_0x46753b(0x24d)](async _0x3324f8=>{const _0x57db11=_0x46753b,_0x48b584=_0x3324f8[_0x57db11(0x192)](),_0x51363c=await this[_0x57db11(0x1bb)](_0x48b584);this['_entityInit$'][_0x57db11(0x3ef)](_0x51363c),this[_0x57db11(0x2ea)][_0x57db11(0x2d7)](_0x48b584,_0x51363c);}),_0xdde2a6[_0x46753b(0x30e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)]),this[_0x46753b(0x224)][_0x46753b(0x2ca)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)]))[_0x46753b(0x2cc)](_0xdde2a6['takeUntil'](this[_0x46753b(0x2ef)]))['subscribe'](_0x287c36=>{const _0x2bba80=_0x46753b,_0x3b811a=_0x287c36[_0x2bba80(0x192)](),_0x1906af=this[_0x2bba80(0x2ea)][_0x2bba80(0x1a2)](_0x3b811a);_0x1906af&&(_0x1906af['dispose'](),this['_entities'][_0x2bba80(0x312)](_0x3b811a));});}async[_0x151804(0x415)](_0x17ffbc){const _0x10cb83=_0x151804,_0x230928=await this[_0x10cb83(0x3e1)]['requireSession'](_0x17ffbc),_0x532afa=this[_0x10cb83(0x410)][_0x10cb83(0x37c)](_0x4b2b97,_0x17ffbc,_0x230928);return _0x532afa[_0x10cb83(0x3b2)](),_0x532afa;}async[_0x151804(0x1bb)](_0x3c80b0){const _0x319167=_0x151804,_0x1bce1d=await this[_0x319167(0x3e1)]['requireSession'](_0x3c80b0),_0xe0d034=this['_injector'][_0x319167(0x37c)](_0xe1e1b0,_0x3c80b0,_0x1bce1d);return _0xe0d034['init'](),_0xe0d034;}};_0x8fdf50=_0x19ba5c([_0x5b5a62(0x0,_0x4b903d['IUniverInstanceService']),_0x5b5a62(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x5b5a62(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x167)]))],_0x8fdf50);const _0x167404=0x14,_0x51a030=0xc8,_0x435d0b=0x4,_0x52f54a=0x5;function _0x4ddd1c(_0x1f6446,_0x51468c){const _0x6353e=_0x151804;let {radius:_0x4072f3,width:_0x35c7e8,height:_0x3bb318}=_0x51468c;_0x4072f3=_0x4072f3!=null?_0x4072f3:0x0,_0x35c7e8=_0x35c7e8!=null?_0x35c7e8:0x1e,_0x3bb318=_0x3bb318!=null?_0x3bb318:0x1e;let _0x2658a3=0x0,_0x160211=0x0,_0x3a5ec9=0x0;_0x2658a3=_0x160211=_0x3a5ec9=Math[_0x6353e(0x1cd)](_0x4072f3,_0x35c7e8/0x2,_0x3bb318/0x2),_0x1f6446['beginPath'](),_0x1f6446[_0x6353e(0x3cb)](_0x2658a3,0x0),_0x1f6446[_0x6353e(0x250)](_0x35c7e8-_0x160211,0x0),_0x1f6446['arc'](_0x35c7e8-_0x160211,_0x160211,_0x160211,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f6446['lineTo'](_0x35c7e8,_0x3bb318-_0x3a5ec9),_0x1f6446['arc'](_0x35c7e8-_0x3a5ec9,_0x3bb318-_0x3a5ec9,_0x3a5ec9,0x0,Math['PI']/0x2,!0x1),_0x1f6446['lineTo'](0x0,_0x3bb318),_0x1f6446[_0x6353e(0x250)](0x0,_0x2658a3),_0x1f6446['arc'](_0x2658a3,_0x2658a3,_0x2658a3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f6446[_0x6353e(0x231)](),_0x51468c[_0x6353e(0x385)]&&(_0x1f6446[_0x6353e(0x1d2)](),_0x1f6446[_0x6353e(0x235)]=_0x51468c[_0x6353e(0x385)],_0x51468c[_0x6353e(0x2c9)]==='evenodd'?_0x1f6446[_0x6353e(0x385)](_0x6353e(0x253)):_0x1f6446['fill'](),_0x1f6446[_0x6353e(0x160)]());}class _0x15c6f5 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x4cb956,_0xcf942){const _0x2c39f4=_0x151804;super(_0x4cb956,_0xcf942),_0x198f8a(this,'color'),_0x198f8a(this,_0x2c39f4(0x3ee)),(this['color']=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x1cf)],this[_0x2c39f4(0x3ee)]=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x3ee)]);}static[_0x151804(0x2a4)](_0x382d98,_0x355e45){const _0x31ec77=_0x151804,{text:_0x1985a3,color:_0x1ecbbb}=_0x355e45;_0x382d98['save'](),_0x382d98[_0x31ec77(0x26b)]=_0x31ec77(0x392);const _0x50f954=_0x382d98[_0x31ec77(0x3f4)](_0x1985a3)['width'],_0x12b761=Math[_0x31ec77(0x1cd)](_0x50f954+0x2*_0x435d0b,_0x51a030);_0x4ddd1c(_0x382d98,{'height':_0x167404,'radius':0x4,'width':_0x12b761,'fill':_0x1ecbbb}),_0x382d98[_0x31ec77(0x235)]=_0x31ec77(0x3a6);const _0x2289b7=_0x435d0b,_0x207c38=_0x167404-_0x52f54a,_0x4e993b=_0x51a030-0x2*_0x435d0b;if(_0x50f954>_0x4e993b){let _0x13ff58='',_0x3d38f2=0x0;for(const _0x271c41 of _0x1985a3){const _0x5d2dc6=_0x382d98['measureText'](_0x271c41)['width'];if(_0x3d38f2+_0x5d2dc6<=_0x4e993b-_0x382d98[_0x31ec77(0x3f4)](_0x31ec77(0x261))['width'])_0x13ff58+=_0x271c41,_0x3d38f2+=_0x5d2dc6;else{_0x13ff58+=_0x31ec77(0x261);break;}}_0x382d98[_0x31ec77(0x23b)](_0x13ff58,_0x2289b7,_0x207c38);}else _0x382d98[_0x31ec77(0x23b)](_0x1985a3,_0x2289b7,_0x207c38);_0x382d98['restore']();}[_0x151804(0x324)](_0x120217){const _0x9595e4=_0x151804;_0x15c6f5[_0x9595e4(0x2a4)](_0x120217,this);}}const _0x4713d0=_0x151804(0x154),_0xd887ec=_0x151804(0x34e),_0x3ed5c0='collab-rect-range-',_0x4676e9=0x6,_0x354497=1.5,_0x1b1ec9=0x4,_0x3be6aa=1.5,_0x16c755=_0x151804(0x1e7);class _0xc1fbc{constructor(_0x1845d1,_0x43662b,_0x14b8aa,_0x10c727){const _0x4cf6f3=_0x151804;_0x198f8a(this,'_shapes',[]),_0x198f8a(this,_0x4cf6f3(0x180),null),_0x198f8a(this,_0x4cf6f3(0x146),null),_0x198f8a(this,_0x4cf6f3(0x2c1),null),_0x198f8a(this,'_hideTimer',null),_0x198f8a(this,_0x4cf6f3(0x299),null),(this[_0x4cf6f3(0x1e8)]=_0x1845d1,this[_0x4cf6f3(0x13a)]=_0x43662b,this['_docSkeleton']=_0x14b8aa,this[_0x4cf6f3(0x27d)]=_0x10c727,this[_0x4cf6f3(0x319)]());}set[_0x151804(0x349)](_0x3a79e8){const _0x2cd21a=_0x151804;_0x3a79e8?(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)]['hide'](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x2d4)]()):(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)][_0x2cd21a(0x2d4)](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x17e)]());}[_0x151804(0x2b9)](){const _0x4a798c=_0x151804;for(const _0x398d4d of this['_shapes'])_0x398d4d[_0x4a798c(0x2b9)]();this[_0x4a798c(0x146)]&&this['_textBubble'][_0x4a798c(0x2b9)](),this[_0x4a798c(0x2c1)]&&this[_0x4a798c(0x2c1)][_0x4a798c(0x2b9)](),this['_anchor']&&this[_0x4a798c(0x180)]['dispose'](),this[_0x4a798c(0x299)]&&this[_0x4a798c(0x299)]();}[_0x151804(0x319)](){const _0x2b20fd=_0x151804;var _0x508f56;const {_docSkeleton:_0x115474,_document:_0x503544}=this,{color:_0x5c42ca,name:_0x3f9b06,ranges:_0x143411}=this[_0x2b20fd(0x1e8)],_0xc6f19b=_0x503544[_0x2b20fd(0x418)](),{docsLeft:_0xad75c4,docsTop:_0x30a8c0}=_0xc6f19b,_0x174016=new _0x809b8[(_0x2b20fd(0x350))](_0xc6f19b,_0x115474);for(const {startOffset:_0x2ccd77,endOffset:_0x3eaf2e,rangeType:_0x164cd3,segmentId:_0x325462,segmentPage:_0x1a0d0d,collapsed:_0x11ad65,isActive:_0x5d570f}of _0x143411){const _0x5c0345=_0x115474[_0x2b20fd(0x3a4)](_0x2ccd77,!0x0,_0x325462,_0x1a0d0d);let _0x25f4b0=_0x115474['findNodePositionByCharIndex'](_0x3eaf2e,!0x0,_0x325462,_0x1a0d0d);if(_0x25f4b0==null&&(_0x25f4b0=_0x115474[_0x2b20fd(0x3a4)](_0x3eaf2e-0x1,!0x1,_0x325462,_0x1a0d0d)),_0x5d570f){const {contentBoxPointGroup:_0x2b6dff}=_0x174016['getRangePointData'](_0x25f4b0,_0x25f4b0);if(_0x2b6dff[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x31d)](_0x5c42ca,_0x2b6dff,_0xad75c4,_0x30a8c0,_0x3f9b06),this[_0x2b20fd(0x299)]=this[_0x2b20fd(0x17f)]();}if(_0x5c0345&&_0x25f4b0){if(_0x164cd3===_0x4b903d[_0x2b20fd(0x1f6)]['RECT']){const _0x6e7bd3=new _0x809b8[(_0x2b20fd(0x1de))](_0xc6f19b,_0x115474),{pointGroup:_0xf88919}=(_0x508f56=_0x6e7bd3[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0))!=null?_0x508f56:{};if(_0xf88919==null||_0xf88919[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1ab)](_0x5c42ca,_0xf88919,_0xad75c4,_0x30a8c0);}else{if(!_0x11ad65){const {borderBoxPointGroup:_0x566b2c}=_0x174016[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0);if(_0x566b2c[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1e0)](_0x5c42ca,_0x566b2c,_0xad75c4,_0x30a8c0);}}}}}['_drawAnchor'](_0x8f3274,_0xcad356,_0x17361c,_0x357361,_0xfb19c0){const _0x215c2c=_0x151804,_0x1f9a4b=this[_0x215c2c(0x345)](_0xcad356),{left:_0x3eea0a,top:_0x13b910,height:_0x3ffc}=_0x1f9a4b,_0x1fc936=this['_getScale'](),_0x48a2ad=_0x3be6aa/_0x1fc936,_0x5640aa=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361,'height':_0x3ffc,'width':_0x354497,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':_0x48a2ad,'stroke':_0x16c755,'evented':!0x0});this['_anchor']=_0x5640aa,this[_0x215c2c(0x13a)][_0x215c2c(0x289)](_0x5640aa,_0x809b8[_0x215c2c(0x2f4)]);const _0x4dd750=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d['generateRandomId'](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x1b1ec9/0x2,'height':_0x1b1ec9,'width':_0x1b1ec9,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':0x0,'stroke':_0x8f3274||_0x36ac30['getColor'](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'evented':!0x1});this[_0x215c2c(0x2c1)]=_0x4dd750,this[_0x215c2c(0x13a)]['addObject'](_0x4dd750,_0x809b8[_0x215c2c(0x2f4)]);const _0x3536b3=new _0x15c6f5(_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x167404,'text':_0xfb19c0,'color':_0x8f3274});this[_0x215c2c(0x146)]=_0x3536b3,this[_0x215c2c(0x13a)]['addObject'](_0x3536b3,_0x809b8[_0x215c2c(0x2f4)]),this['_hover']=!0x1;}['_handleHover'](){const _0xf0b697=_0x151804,_0x3afdbd=this[_0xf0b697(0x180)][_0xf0b697(0x357)][_0xf0b697(0x20e)](()=>{const _0x291a5b=_0xf0b697;this[_0x291a5b(0x349)]=!0x0;}),_0x1038cb=this[_0xf0b697(0x180)][_0xf0b697(0x35a)][_0xf0b697(0x20e)](()=>{const _0x1afc3f=_0xf0b697;this['_hideTimer']&&clearTimeout(this[_0x1afc3f(0x3ba)]),this[_0x1afc3f(0x3ba)]=setTimeout(()=>{const _0x376335=_0x1afc3f;this[_0x376335(0x349)]=!0x1;},0x7d0);});return()=>{const _0x46c887=_0xf0b697;_0x3afdbd['unsubscribe'](),_0x1038cb[_0x46c887(0x1ca)]();};}[_0x151804(0x1e0)](_0x5b98ff,_0x50ffbe,_0x8c617a,_0x172c3a){const _0x17e589=_0x151804,_0x314c84=new _0x4b903d['ColorKit'](_0x5b98ff)[_0x17e589(0x3f7)](0.2)[_0x17e589(0x246)](),_0x4eb79d=new _0x36ac30['RegularPolygon'](_0xd887ec+_0x4b903d[_0x17e589(0x24b)](_0x4676e9),{'pointsGroup':_0x50ffbe,'fill':_0x314c84||_0x36ac30[_0x17e589(0x2aa)](_0x4b903d[_0x17e589(0x291)][_0x17e589(0x1ef)],0.2),'left':_0x8c617a,'top':_0x172c3a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x17e589(0x34a)][_0x17e589(0x1eb)](_0x4eb79d),this[_0x17e589(0x13a)][_0x17e589(0x289)](_0x4eb79d,_0x809b8[_0x17e589(0x2f4)]);}[_0x151804(0x1ab)](_0x349a00,_0x1b6681,_0x13f569,_0x3ebbdb){const _0x191759=_0x151804,_0x28b5e5=new _0x4b903d[(_0x191759(0x35f))](_0x349a00)[_0x191759(0x3f7)](0.2)[_0x191759(0x246)](),_0xddd236=new _0x36ac30[(_0x191759(0x23c))](_0x3ed5c0+_0x4b903d['generateRandomId'](_0x4676e9),{'pointsGroup':_0x1b6681,'fill':_0x28b5e5||_0x36ac30[_0x191759(0x2aa)](_0x4b903d[_0x191759(0x291)][_0x191759(0x1ef)],0.2),'left':_0x13f569,'top':_0x3ebbdb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x191759(0x34a)]['push'](_0xddd236),this[_0x191759(0x13a)]['addObject'](_0xddd236,_0x809b8[_0x191759(0x2f4)]);}[_0x151804(0x345)](_0xbf6b6a){const _0x4e1103=_0xbf6b6a[0x0],_0x8c8899=_0x4e1103[0x0],_0x2bd041=_0x4e1103[0x2],{x:_0x307534,y:_0x144959}=_0x8c8899,{x:_0x545149,y:_0x46eead}=_0x2bd041;return{'left':_0x307534,'top':_0x144959,'width':_0x545149-_0x307534,'height':_0x46eead-_0x144959};}[_0x151804(0x341)](){const _0x2d8c78=_0x151804,{scaleX:_0x426088,scaleY:_0x2d71f3}=this['_scene'][_0x2d8c78(0x3f3)]();return Math[_0x2d8c78(0x386)](_0x426088,_0x2d71f3);}}var _0x1ca2fa=Object['getOwnPropertyDescriptor'],_0x394d3f=(_0x295841,_0x321067,_0x39b61a,_0x349131)=>{const _0x40b787=_0x151804;for(var _0x4b14dd=_0x349131>0x1?void 0x0:_0x349131?_0x1ca2fa(_0x321067,_0x39b61a):_0x321067,_0x1da662=_0x295841[_0x40b787(0x3e7)]-0x1,_0x34a29b;_0x1da662>=0x0;_0x1da662--)(_0x34a29b=_0x295841[_0x1da662])&&(_0x4b14dd=_0x34a29b(_0x4b14dd)||_0x4b14dd);return _0x4b14dd;},_0x1ccf69=(_0x5e271e,_0x3fa8e8)=>(_0xf01f6e,_0x175f29)=>_0x3fa8e8(_0xf01f6e,_0x175f29,_0x5e271e);let _0x3e9cd4=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x252915,_0x1c8ea1,_0x5ba69a,_0x5a1e59,_0x1008f1){const _0x235a00=_0x151804;super(),_0x198f8a(this,_0x235a00(0x323),[]),_0x198f8a(this,_0x235a00(0x249),[]),(this[_0x235a00(0x13b)]=_0x252915,this[_0x235a00(0x34b)]=_0x1c8ea1,this[_0x235a00(0x2eb)]=_0x5ba69a,this[_0x235a00(0x1c6)]=_0x5a1e59,this['_themeService']=_0x1008f1,this[_0x235a00(0x1b2)]());}['_init'](){const _0x1d4242=_0x151804,_0x2b4c37=this[_0x1d4242(0x13b)]['unitId'],_0x2c0c41=this[_0x1d4242(0x34b)];this[_0x1d4242(0x2f8)](_0xdde2a6[_0x1d4242(0x1ad)]([this[_0x1d4242(0x2eb)][_0x1d4242(0x28c)](_0x2b4c37),this[_0x1d4242(0x3a2)][_0x1d4242(0x168)]])[_0x1d4242(0x2cc)](_0x3a14cb[_0x1d4242(0x2a2)](([_0x434d03,_0x47179f])=>({'skeleton':_0x2c0c41[_0x1d4242(0x39e)](),'cursors':[..._0x434d03[_0x1d4242(0x27b)]()][_0x1d4242(0x1c9)](_0x4b5c18=>({..._0x4b5c18,'color':this['_themeService']['getColorFromTheme'](_0x4b5c18['color'])}))})))[_0x1d4242(0x24d)](_0x27c74a=>{const _0x1e9114=_0x1d4242;if(this[_0x1e9114(0x266)](),_0x27c74a){const {skeleton:_0xe49e98,cursors:_0x29df90}=_0x27c74a;this[_0x1e9114(0x417)](_0xe49e98,_0x29df90);}})),this[_0x1d4242(0x41a)](),this[_0x1d4242(0x390)]();}[_0x151804(0x417)](_0x4f300f,_0x495c0c){const _0x4f2e3d=_0x151804,{scene:_0x2b14ec,mainComponent:_0x1c8431}=this[_0x4f2e3d(0x13b)],_0x2be250=_0x495c0c[_0x4f2e3d(0x2a2)](_0xf14b8d=>new _0xc1fbc(_0xf14b8d,_0x2b14ec,_0x4f300f,_0x1c8431));this['_cursorShapes']=_0x2be250,this['_cursors']=_0x495c0c;}[_0x151804(0x334)](){const _0x4298e6=_0x151804;this[_0x4298e6(0x266)]();const {scene:_0x66e33d,mainComponent:_0x3a6490}=this[_0x4298e6(0x13b)],_0x1a6966=this['_docSkeletonManagerService'][_0x4298e6(0x39e)](),_0x50672f=this[_0x4298e6(0x249)][_0x4298e6(0x2a2)](_0xfb0b1b=>new _0xc1fbc(_0xfb0b1b,_0x66e33d,_0x1a6966,_0x3a6490));this[_0x4298e6(0x323)]=_0x50672f;}[_0x151804(0x266)](){const _0x6b500=_0x151804;this['_cursorShapes'][_0x6b500(0x293)](_0x11f33c=>_0x11f33c['dispose']()),this[_0x6b500(0x323)]=[];}[_0x151804(0x390)](){const _0x457570=_0x151804,_0xb02e59=[_0x809b8[_0x457570(0x295)]['id']];this[_0x457570(0x2f8)](this[_0x457570(0x1c6)][_0x457570(0x280)](_0xe0c73a=>{const _0x30b61a=_0x457570;_0xb02e59[_0x30b61a(0x36d)](_0xe0c73a['id'])&&_0xe0c73a[_0x30b61a(0x1cb)]['unitId']===this[_0x30b61a(0x13b)][_0x30b61a(0x1a9)]&&this[_0x30b61a(0x334)]();}));}['_initResize'](){const _0xb22a53=_0x151804;this['disposeWithMe'](_0x4b903d[_0xb22a53(0x26d)](this[_0xb22a53(0x13b)]['engine'][_0xb22a53(0x3ec)])[_0xb22a53(0x2cc)](_0x3a14cb[_0xb22a53(0x182)](_0x19fd8d=>_0x19fd8d[_0xb22a53(0x276)]===_0x36ac30[_0xb22a53(0x31f)][_0xb22a53(0x2a7)]),_0x3a14cb[_0xb22a53(0x217)](0x10))[_0xb22a53(0x24d)](()=>{const _0x2cfea6=_0xb22a53;this[_0x2cfea6(0x334)]();}));}};_0x3e9cd4=_0x394d3f([_0x1ccf69(0x1,_0x4b903d['Inject'](_0x4c8112[_0x151804(0x3c3)])),_0x1ccf69(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x1ccf69(0x3,_0x4b903d['ICommandService']),_0x1ccf69(0x4,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3e9cd4);const _0x49c0d0=0x1,_0x27c342=1.5;class _0x105416 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x2c97de,_0x3ce2e9){const _0x43dc38=_0x151804;super(_0x2c97de,_0x3ce2e9),_0x198f8a(this,'_color'),_0x198f8a(this,'_hovered',!0x1),_0x198f8a(this,_0x43dc38(0x3c1)),_0x198f8a(this,_0x43dc38(0x2cf),''),_0x198f8a(this,'_labelPosition','top'),_0x198f8a(this,'_backgroundColor'),(_0x3ce2e9&&this[_0x43dc38(0x2c2)](_0x3ce2e9),this[_0x43dc38(0x357)][_0x43dc38(0x20e)](()=>this[_0x43dc38(0x2c2)]({'hovered':!0x0})),this[_0x43dc38(0x35a)][_0x43dc38(0x20e)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x406739){const _0x1563e1=_0x151804;var _0x1c2612,_0x276ea2,_0x183984,_0x215ef1,_0xfa84f3,_0x2fb473;this[_0x1563e1(0x3c5)]=(_0x1c2612=_0x406739['color'])!=null?_0x1c2612:this[_0x1563e1(0x3c5)],this[_0x1563e1(0x1bd)]=(_0x276ea2=_0x406739[_0x1563e1(0x3d6)])!=null?_0x276ea2:this[_0x1563e1(0x1bd)],this[_0x1563e1(0x3c1)]=(_0x183984=_0x406739[_0x1563e1(0x2dc)])!=null?_0x183984:this['_range'],this['_name']=(_0x215ef1=_0x406739[_0x1563e1(0x2d6)])!=null?_0x215ef1:this['_name'],this[_0x1563e1(0x179)]=(_0xfa84f3=_0x406739[_0x1563e1(0x2e3)])!=null?_0xfa84f3:this[_0x1563e1(0x179)],this[_0x1563e1(0x3e0)]=(_0x2fb473=_0x406739[_0x1563e1(0x36a)])!=null?_0x2fb473:this['_backgroundColor'],this[_0x1563e1(0x3af)]({'width':_0x406739[_0x1563e1(0x355)],'height':_0x406739[_0x1563e1(0x247)]});}[_0x151804(0x353)](_0x12b3d5){const _0x47dfc8=_0x151804,{row:_0x51213a,column:_0x3321f0}=_0x12b3d5;if(_0x51213a>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1d9)]&&_0x51213a<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1f8)]&&_0x3321f0>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x15d)]&&_0x3321f0<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x294)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x151804(0x13e)](_0x2dd481){return!0x1;}[_0x151804(0x324)](_0x4689e6){const _0x13fa7a=_0x151804;_0x36ac30[_0x13fa7a(0x243)][_0x13fa7a(0x2a4)](_0x4689e6,{'width':this['width'],'height':this[_0x13fa7a(0x247)],'strokeWidth':_0x27c342,'stroke':this[_0x13fa7a(0x3c5)],'evented':!0x1,'fill':this[_0x13fa7a(0x3e0)]}),this[_0x13fa7a(0x1bd)]&&(_0x4689e6[_0x13fa7a(0x1d2)](),_0x4689e6[_0x13fa7a(0x3f6)](0x1,0x0,0x0,0x1,this[_0x13fa7a(0x355)],this[_0x13fa7a(0x179)]===_0x13fa7a(0x33d)?0x0:-_0x167404),_0x15c6f5[_0x13fa7a(0x2a4)](_0x4689e6,{'text':this[_0x13fa7a(0x2cf)],'color':this['_color']}),_0x4689e6[_0x13fa7a(0x160)]());}}var _0x2abc87=Object['getOwnPropertyDescriptor'],_0x4a5579=(_0x4b9b66,_0x23e776,_0x529207,_0x287adc)=>{for(var _0x151cf4=_0x287adc>0x1?void 0x0:_0x287adc?_0x2abc87(_0x23e776,_0x529207):_0x23e776,_0x2b61c0=_0x4b9b66['length']-0x1,_0x2a7aea;_0x2b61c0>=0x0;_0x2b61c0--)(_0x2a7aea=_0x4b9b66[_0x2b61c0])&&(_0x151cf4=_0x2a7aea(_0x151cf4)||_0x151cf4);return _0x151cf4;},_0x37de3b=(_0x23a192,_0x906d73)=>(_0x1eaa92,_0x268872)=>_0x906d73(_0x1eaa92,_0x268872,_0x23a192);const _0x340cbe=0x1389;let _0x3481bc=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x950eb6,_0x2a7e12,_0x5bf512,_0x2d83c6){const _0x2cbf72=_0x151804;super(),_0x198f8a(this,_0x2cbf72(0x249),new Set()),_0x198f8a(this,_0x2cbf72(0x405),null),(this[_0x2cbf72(0x13b)]=_0x950eb6,this[_0x2cbf72(0x19c)]=_0x2a7e12,this[_0x2cbf72(0x2eb)]=_0x5bf512,this[_0x2cbf72(0x3a2)]=_0x2d83c6,this['_init']());}[_0x151804(0x1b2)](){const _0x40e611=_0x151804;this[_0x40e611(0x19c)][_0x40e611(0x1ea)][_0x40e611(0x2cc)](_0x3a14cb[_0x40e611(0x23e)](this[_0x40e611(0x2ef)]),_0x3a14cb['switchMap'](_0x127bf8=>{const _0x250c19=_0x40e611;if(_0x127bf8){const _0x2b63e7=_0x127bf8[_0x250c19(0x2b2)];return _0xdde2a6[_0x250c19(0x1ad)](this['_collabCursorController'][_0x250c19(0x28c)](this[_0x250c19(0x13b)][_0x250c19(0x1a9)]),this['_themeService'][_0x250c19(0x168)])[_0x250c19(0x2cc)](_0x3a14cb[_0x250c19(0x2a2)](([_0x4089c7,_0x6eba7c])=>{const _0x405613=_0x250c19,_0x1c82f4=new Map();return _0x4089c7[_0x405613(0x293)]((_0x441356,_0x4e3d13)=>{const _0x454bac=_0x405613;if(_0x441356[_0x454bac(0x3d3)]===_0x2b63e7){const _0x3351d0={..._0x441356};_0x3351d0[_0x454bac(0x1cf)]=this['_themeService'][_0x454bac(0x33e)](_0x441356[_0x454bac(0x1cf)]),_0x1c82f4[_0x454bac(0x2d7)](_0x4e3d13,_0x3351d0);}}),{'skeleton':_0x127bf8,'cursors':_0x1c82f4};}));}return _0xdde2a6['of']({'skeleton':null,'cursors':new Map()});}))[_0x40e611(0x24d)](({skeleton:_0x22ee56,cursors:_0x38d121})=>{const _0xe077e2=_0x40e611;this[_0xe077e2(0x266)](),_0x22ee56&&this[_0xe077e2(0x417)](_0x22ee56,_0x38d121);}),this[_0x40e611(0x19c)][_0x40e611(0x1ea)]['subscribe'](_0x4ff1ca=>{const _0x19ca23=_0x40e611;if(_0x4ff1ca==null)return;const {skeleton:_0x31c4dc}=_0x4ff1ca,{scene:_0x7a711d}=this['_context'];_0x7a711d['onPointerMove$']['subscribeEvent'](_0x4b903d[_0x19ca23(0x2ac)](_0x4ef36b=>{const _0x5bcd4f=_0x19ca23;var _0x5b07de,_0x53c19e;const {offsetX:_0x82c3ba,offsetY:_0x262db8}=_0x4ef36b,{x:_0x1ae050,y:_0x184f99}=_0x7a711d[_0x5bcd4f(0x300)](_0x36ac30['Vector2'][_0x5bcd4f(0x411)]([_0x82c3ba,_0x262db8])),{scaleX:_0x23801c,scaleY:_0x5a6196}=_0x7a711d[_0x5bcd4f(0x3f3)](),_0x30e215=_0x7a711d[_0x5bcd4f(0x1ba)](_0x36ac30[_0x5bcd4f(0x3a3)]['VIEW_MAIN']),_0x58ae44=_0x7a711d[_0x5bcd4f(0x369)](_0x36ac30['Vector2']['FromArray']([_0x1ae050,_0x184f99]),_0x30e215),_0x50da3d=_0x31c4dc[_0x5bcd4f(0x3e2)](_0x82c3ba,_0x262db8,_0x23801c,_0x5a6196,_0x58ae44);((_0x5b07de=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x5b07de['column'])===_0x50da3d[_0x5bcd4f(0x206)]&&((_0x53c19e=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x53c19e[_0x5bcd4f(0x2c4)])===_0x50da3d[_0x5bcd4f(0x2c4)]||this[_0x5bcd4f(0x249)][_0x5bcd4f(0x293)](_0x25ab19=>{const _0x340042=_0x5bcd4f;_0x25ab19[_0x340042(0x353)](_0x50da3d);});},0x64));});}[_0x151804(0x417)](_0x5b8d40,_0x4cb8b6){const _0xe8736c=_0x151804;var _0x54d14d;const _0x48b309=(_0x54d14d=this[_0xe8736c(0x19c)][_0xe8736c(0x3f0)]())==null?void 0x0:_0x54d14d[_0xe8736c(0x2d1)];if(!_0x48b309)return;const _0x2c4999=this[_0xe8736c(0x3be)]();if(!_0x2c4999)return;this[_0xe8736c(0x249)][_0xe8736c(0x293)](_0x275884=>{const _0x29441e=_0xe8736c;_0x275884[_0x29441e(0x315)]();});const {scene:_0x253dda}=_0x2c4999,_0x2bfaf3=_0x3df09c(Array['from'](_0x4cb8b6[_0xe8736c(0x27b)]()))[_0xe8736c(0x2a2)](_0x1c6bf6=>{const _0x45f969=_0xe8736c,{color:_0x9227ed,range:_0xb9a04b,name:_0x1ed242,selection:_0x196d86,sheetID:_0x23f9b8}=_0x1c6bf6,{startColumn:_0x5dcbbe,startRow:_0x7af52d,endColumn:_0x1dfd94,endRow:_0x48710c}=_0xb9a04b,_0x3b5e7a=_0x4362f1['getCoordByCell'](_0x7af52d,_0x5dcbbe,_0x253dda,_0x48b309),_0x547053=_0x4362f1[_0x45f969(0x1d6)](_0x48710c,_0x1dfd94,_0x253dda,_0x48b309),{columnHeaderHeightAndMarginTop:_0x334c5f}=_0x48b309,{startX:_0x4f0090,startY:_0x1d5539}=_0x3b5e7a,{endX:_0x17b657,endY:_0x1b0480}=_0x547053,_0x1576d7=_0x17b657-_0x4f0090,_0x332894=_0x1b0480-_0x1d5539,_0x5c70df={'labelPosition':_0x1d5539-_0x334c5f>=_0x167404?'top':_0x45f969(0x33d),'sheetID':_0x23f9b8,'range':_0xb9a04b,'color':_0x9227ed,'name':_0x1ed242,'selection':_0x196d86,'left':_0x4f0090,'top':_0x1d5539,'width':_0x1576d7,'height':_0x332894,'evented':!0x1,'zIndex':_0x340cbe};return new _0x105416(_0x1ed242,_0x5c70df);});_0x253dda[_0xe8736c(0x3d2)](_0x2bfaf3,_0x49c0d0),this[_0xe8736c(0x249)]=new Set(_0x2bfaf3);}[_0x151804(0x266)](){const _0x5802d9=_0x151804;var _0xfef0a7;(_0xfef0a7=this[_0x5802d9(0x249)])==null||_0xfef0a7[_0x5802d9(0x293)](_0x448285=>_0x448285['dispose']());}[_0x151804(0x3be)](){const _0x4099f7=_0x151804;return _0x4362f1[_0x4099f7(0x1e3)](this[_0x4099f7(0x13b)][_0x4099f7(0x330)],this[_0x4099f7(0x13b)]);}};_0x3481bc=_0x4a5579([_0x37de3b(0x1,_0x4b903d[_0x151804(0x18d)](_0x4362f1['SheetSkeletonManagerService'])),_0x37de3b(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x37de3b(0x3,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3481bc);function _0x3df09c(_0x164d7d){const _0x19430d=_0x151804,_0x56f620=new Map();return _0x164d7d[_0x19430d(0x293)](_0x1cdec8=>{const _0x4a0b46=_0x19430d;if(_0x56f620[_0x4a0b46(0x326)](_0x1cdec8[_0x4a0b46(0x2af)])){const _0x348488=_0x56f620[_0x4a0b46(0x1a2)](_0x1cdec8[_0x4a0b46(0x2af)]);_0x348488[_0x4a0b46(0x2d6)]+=',\x20'+_0x1cdec8[_0x4a0b46(0x2d6)];}else _0x56f620[_0x4a0b46(0x2d7)](_0x1cdec8[_0x4a0b46(0x2af)],_0x1cdec8);}),Array[_0x19430d(0x2bd)](_0x56f620[_0x19430d(0x27b)]());}var _0x1c45b9=Object[_0x151804(0x277)],_0x174f35=(_0x321099,_0x283f0a,_0x1a8fdb,_0x183133)=>{for(var _0x4b7541=_0x183133>0x1?void 0x0:_0x183133?_0x1c45b9(_0x283f0a,_0x1a8fdb):_0x283f0a,_0x186712=_0x321099['length']-0x1,_0x51621e;_0x186712>=0x0;_0x186712--)(_0x51621e=_0x321099[_0x186712])&&(_0x4b7541=_0x51621e(_0x4b7541)||_0x4b7541);return _0x4b7541;},_0x5c2120=(_0x1956e7,_0x281960)=>(_0x3a0349,_0x485c2b)=>_0x281960(_0x3a0349,_0x485c2b,_0x1956e7);let _0x492873=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x147ab3,_0x5e5e6b,_0x5af092,_0x4beaaf,_0x906691,_0x504ffe){const _0x27d472=_0x151804;super(),this[_0x27d472(0x3b9)]=_0x147ab3,this[_0x27d472(0x306)]=_0x5e5e6b,this[_0x27d472(0x225)]=_0x5af092,this['_messageService']=_0x4beaaf,this[_0x27d472(0x2e4)]=_0x906691,this[_0x27d472(0x304)]=_0x504ffe,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x151804(0x3f8)](){const _0x3e9026=_0x151804;this['disposeWithMe'](this[_0x3e9026(0x3b9)][_0x3e9026(0x1b8)](()=>{const _0x4352c8=_0x3e9026;if(this[_0x4352c8(0x306)][_0x4352c8(0x1fb)]['size'])return this['_localeService']['t'](_0x4352c8(0x3db));}));}[_0x151804(0x336)](){const _0x47c7a7=_0x151804;this['disposeWithMe'](this[_0x47c7a7(0x225)][_0x47c7a7(0x15b)]['subscribe'](_0x35afb6=>{const _0x429e5a=_0x47c7a7;_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x393)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t']('collaboration.single-unit.warning')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['CLOSE_ROOM']&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x1f7))}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x328)]&&this[_0x429e5a(0x2e4)]['show']({'title':this[_0x429e5a(0x304)]['t']('permission.title'),'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x207)),'type':_0x429e5a(0x2ff),'duration':0x0}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x41c)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x2a1)],'content':this['_localeService']['t'](_0x429e5a(0x1f7))+'('+_0x35afb6[_0x429e5a(0x40f)]+')'}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x25f)]&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Warning'],'content':this[_0x429e5a(0x304)]['t'](_0x35afb6[_0x429e5a(0x40f)]||'')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x16d)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x27e))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x396)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t'](_0x429e5a(0x14c))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x492873=_0x174f35([_0x5c2120(0x0,_0x109597['IBeforeCloseService']),_0x5c2120(0x1,_0x792235['ILocalCacheService']),_0x5c2120(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x34c)])),_0x5c2120(0x3,_0x109597[_0x151804(0x1e1)]),_0x5c2120(0x4,_0x109597[_0x151804(0x2f2)]),_0x5c2120(0x5,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x492873);var _0x2a1ed3=Object[_0x151804(0x277)],_0x1d1b2c=(_0x4ef4e5,_0x4cf192,_0x211590,_0x5e1455)=>{const _0x21f337=_0x151804;for(var _0x59ba27=_0x5e1455>0x1?void 0x0:_0x5e1455?_0x2a1ed3(_0x4cf192,_0x211590):_0x4cf192,_0xa3275b=_0x4ef4e5[_0x21f337(0x3e7)]-0x1,_0x5e367e;_0xa3275b>=0x0;_0xa3275b--)(_0x5e367e=_0x4ef4e5[_0xa3275b])&&(_0x59ba27=_0x5e367e(_0x59ba27)||_0x59ba27);return _0x59ba27;},_0x503f65=(_0x3bf4f2,_0xdb85b9)=>(_0x45ef27,_0x26471b)=>_0xdb85b9(_0x45ef27,_0x26471b,_0x3bf4f2);let _0x48fc71=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x3b41eb,_0xd74649,_0xe3a714,_0x2cad09){const _0x118129=_0x151804;super(),_0x198f8a(this,_0x118129(0x391)),(this[_0x118129(0x410)]=_0x3b41eb,this[_0x118129(0x3b3)]=_0xd74649,this[_0x118129(0x338)]=_0xe3a714,this[_0x118129(0x16b)]=_0x2cad09,this[_0x118129(0x1b2)]());}['_init'](){const _0x2ee006=_0x151804;this['_initWindowErrorListener'](),this[_0x2ee006(0x399)](),this[_0x2ee006(0x404)](),this[_0x2ee006(0x269)]();}['_initUserListener'](){const _0x4cf586=_0x151804;this[_0x4cf586(0x2f8)](this['_collaborationSessionService']['socket$'][_0x4cf586(0x24d)](_0x3ce960=>{const _0x5d9fb1=_0x4cf586;this[_0x5d9fb1(0x391)]=_0x3ce960==null?void 0x0:_0x3ce960[_0x5d9fb1(0x19b)];}));}[_0x151804(0x19f)](){const _0x191ab9=_0x151804,_0x37e98f=_0x45d830=>{const _0xfda7d1=_0x533d;var _0x114485;this['_uploadLog'](_0xfda7d1(0x2ff),_0xfda7d1(0x1ec)+_0x45d830[_0xfda7d1(0x3d7)]+'\x20at\x20'+_0x45d830['filename']+':'+_0x45d830[_0xfda7d1(0x2b4)]+':'+_0x45d830[_0xfda7d1(0x370)]+'\x0a'+(((_0x114485=_0x45d830[_0xfda7d1(0x2ff)])==null?void 0x0:_0x114485[_0xfda7d1(0x3b5)])||''));};window[_0x191ab9(0x3bc)](_0x191ab9(0x2ff),_0x37e98f),this['disposeWithMe'](()=>{const _0x323870=_0x191ab9;window[_0x323870(0x2b3)](_0x323870(0x2ff),_0x37e98f);});}[_0x151804(0x399)](){const _0x3104b5=_0x151804,_0x3209a0=_0x35e05f=>{const _0x12fbd1=_0x533d;this['_uploadLog']('error',_0x12fbd1(0x172)+_0x35e05f[_0x12fbd1(0x1d8)]);};window[_0x3104b5(0x3bc)](_0x3104b5(0x371),_0x3209a0),this[_0x3104b5(0x2f8)](()=>{const _0x342b28=_0x3104b5;window[_0x342b28(0x2b3)]('unhandledrejection',_0x3209a0);});}[_0x151804(0x404)](){const _0x1e03b2=_0x151804,_0x2b433f=this['_logService'][_0x1e03b2(0x2ff)]['bind'](this[_0x1e03b2(0x338)]);this[_0x1e03b2(0x338)][_0x1e03b2(0x2ff)]=(..._0x389c7a)=>{const _0x15458d=_0x1e03b2,_0x304aa6=_0x389c7a[_0x15458d(0x2a2)](_0x4c3dc4=>_0x4c3dc4 instanceof Error?_0x4c3dc4[_0x15458d(0x3d7)]+'\x0a'+_0x4c3dc4[_0x15458d(0x3b5)]:String(_0x4c3dc4))[_0x15458d(0x3eb)]('\x20');this[_0x15458d(0x3bf)]('error',_0x15458d(0x3ab)+_0x304aa6),_0x2b433f(..._0x389c7a);},this[_0x1e03b2(0x2f8)](()=>{const _0x1df2ec=_0x1e03b2;this[_0x1df2ec(0x338)][_0x1df2ec(0x2ff)]=_0x2b433f;});}['_uploadLog'](_0x48597e,_0x4d9f50){const _0x11199a=_0x151804;try{const _0x5c70fa={'userId':this[_0x11199a(0x391)],'logLabel':_0x48597e,'content':_0x4d9f50};this[_0x11199a(0x3b3)][_0x11199a(0x257)]('/universer-api/frontend/logs',{'body':_0x5c70fa})[_0x11199a(0x255)](()=>{});}catch{}}};_0x48fc71=_0x1d1b2c([_0x503f65(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d['Injector'])),_0x503f65(0x1,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x503f65(0x2,_0x4b903d[_0x151804(0x1d4)]),_0x503f65(0x3,_0x4b903d['Inject'](_0x792235[_0x151804(0x167)]))],_0x48fc71);const _0x58e469='collaboration-client-ui.config',_0x6daa16={};var _0x308a00=Object[_0x151804(0x277)],_0x2a40f0=(_0x5a1fb3,_0xaf07fb,_0xe90649,_0x2e5f0f)=>{const _0x4fcd69=_0x151804;for(var _0x140fbd=_0x2e5f0f>0x1?void 0x0:_0x2e5f0f?_0x308a00(_0xaf07fb,_0xe90649):_0xaf07fb,_0x3a6c1f=_0x5a1fb3[_0x4fcd69(0x3e7)]-0x1,_0x4e1cab;_0x3a6c1f>=0x0;_0x3a6c1f--)(_0x4e1cab=_0x5a1fb3[_0x3a6c1f])&&(_0x140fbd=_0x4e1cab(_0x140fbd)||_0x140fbd);return _0x140fbd;},_0x5c4100=(_0x5b6cb1,_0xc57ebf)=>(_0x46c9b8,_0xec1398)=>_0xc57ebf(_0x46c9b8,_0xec1398,_0x5b6cb1);let _0x37eb54=class{constructor(_0x59e9e2,_0x307412){const _0x42908b=_0x151804;this[_0x42908b(0x21a)]=_0x59e9e2,this[_0x42908b(0x3bd)]=_0x307412;}[_0x151804(0x419)](_0x55dc0){const _0x241947=_0x151804;this[_0x241947(0x22d)](_0x55dc0),this[_0x241947(0x240)](_0x55dc0);}[_0x151804(0x2f5)](_0x2d3cf9){const _0x2c3563=_0x151804,{unitID:_0x179b3b}=_0x2d3cf9,_0xe0cebc=this[_0x2c3563(0x3bd)][_0x2c3563(0x32a)](_0x179b3b)[_0x2c3563(0x1b6)](_0x809b8[_0x2c3563(0x204)]),{redoCache:_0x56dd4c}=_0xe0cebc[_0x2c3563(0x18a)]();if(_0x56dd4c['length']===0x0)return _0x2d3cf9;let _0x42dad4=_0x4b903d[_0x2c3563(0x395)]['deepClone'](_0x2d3cf9['mutations'][0x0]);for(let _0x5c14e4=0x0;_0x5c14e4<_0x56dd4c[_0x2c3563(0x3e7)];_0x5c14e4++){const _0x11ff6b={'id':_0x2c3563(0x362),'params':{..._0x56dd4c[_0x5c14e4]}},_0x2b41a8=this[_0x2c3563(0x21a)][_0x2c3563(0x244)](_0x42dad4,_0x11ff6b,!0x1);if(_0x3810d3[_0x2c3563(0x3c9)](_0x2b41a8))throw _0x2b41a8[_0x2c3563(0x2ff)];_0x42dad4=_0x2b41a8[_0x2c3563(0x1a8)];}return{..._0x4b903d[_0x2c3563(0x395)][_0x2c3563(0x3ed)](_0x2d3cf9),'mutations':[_0x42dad4]};}[_0x151804(0x22d)](_0x2c292f){const _0x345908=_0x151804,{unitID:_0x47f65f}=_0x2c292f,_0x4ae1c2=this['_renderManagerService'][_0x345908(0x32a)](_0x47f65f)[_0x345908(0x1b6)](_0x809b8[_0x345908(0x204)]),{undoCache:_0x4a6b37,redoCache:_0x3883db}=_0x4ae1c2[_0x345908(0x18a)]();if(_0x4a6b37[_0x345908(0x3e7)]===0x0||_0x3883db[_0x345908(0x3e7)]===0x0)return;const _0x5773c3=[],_0x53e579=[];let _0x418cb9=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]),_0x1a7cf1=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]);for(let _0x195115=_0x4a6b37[_0x345908(0x3e7)]-0x1;_0x195115>=0x0;_0x195115--){const _0x39f81d={'id':_0x345908(0x362),'params':{..._0x4a6b37[_0x195115]}},_0x185efc={'id':_0x345908(0x362),'params':{..._0x3883db[_0x195115]}},_0x35f143=this[_0x345908(0x21a)][_0x345908(0x244)](_0x418cb9,_0x39f81d,!0x1),_0x2750a8=this[_0x345908(0x21a)][_0x345908(0x244)](_0x1a7cf1,_0x185efc,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x35f143))throw _0x35f143[_0x345908(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x2750a8))throw _0x2750a8[_0x345908(0x2ff)];_0x5773c3[_0x345908(0x184)](_0x35f143[_0x345908(0x25b)][_0x345908(0x1cb)]),_0x53e579[_0x345908(0x184)](_0x2750a8['m2Prime'][_0x345908(0x1cb)]),_0x418cb9=_0x35f143['m1Prime'],_0x1a7cf1=_0x2750a8[_0x345908(0x1a8)];}_0x4ae1c2[_0x345908(0x382)]({'undoCache':_0x5773c3,'redoCache':_0x53e579});}[_0x151804(0x240)](_0x409fe4){const _0x53a731=_0x151804,{unitID:_0x14a2f8}=_0x409fe4,_0x56ac84=this[_0x53a731(0x3bd)][_0x53a731(0x32a)](_0x14a2f8)[_0x53a731(0x1b6)](_0x809b8['DocIMEInputManagerService']),_0x2a4993=_0x56ac84[_0x53a731(0x177)]();if(_0x2a4993==null)return;const _0x627a86=[{'id':_0x53a731(0x362),'params':{'unitId':_0x409fe4['unitID'],'actions':null,'textRanges':[_0x2a4993]}}],_0x1669e9=this[_0x53a731(0x21a)]['transformMutationsWithChangeset'](_0x409fe4,_0x627a86);if(!_0x3810d3[_0x53a731(0x1ff)](_0x1669e9))throw _0x1669e9[_0x53a731(0x2ff)];const _0x2d84a3=_0x1669e9[_0x53a731(0x25b)][0x0]['params'][_0x53a731(0x173)];Array['isArray'](_0x2d84a3)&&_0x2d84a3[_0x53a731(0x3e7)]&&_0x56ac84[_0x53a731(0x2d2)](_0x2d84a3[0x0]);}};_0x37eb54=_0x2a40f0([_0x5c4100(0x0,_0x3810d3[_0x151804(0x3aa)]),_0x5c4100(0x1,_0x36ac30['IRenderManagerService'])],_0x37eb54);var _0x4d87ad=Object['getOwnPropertyDescriptor'],_0x17dceb=(_0x420595,_0x5a4f0f,_0x4de47c,_0x186204)=>{const _0xa70dc=_0x151804;for(var _0x1c0750=_0x186204>0x1?void 0x0:_0x186204?_0x4d87ad(_0x5a4f0f,_0x4de47c):_0x5a4f0f,_0x438d39=_0x420595[_0xa70dc(0x3e7)]-0x1,_0x220c65;_0x438d39>=0x0;_0x438d39--)(_0x220c65=_0x420595[_0x438d39])&&(_0x1c0750=_0x220c65(_0x1c0750)||_0x1c0750);return _0x1c0750;},_0xd36a72=(_0x346644,_0x14d5a7)=>(_0x1c4f17,_0x147a54)=>_0x14d5a7(_0x1c4f17,_0x147a54,_0x346644);let _0x28eae8=class{constructor(_0x3c544d,_0x1096ef,_0x20a0b6){const _0x85c5d=_0x151804;this[_0x85c5d(0x410)]=_0x3c544d,this['_transformService']=_0x1096ef,this[_0x85c5d(0x22c)]=_0x20a0b6;}[_0x151804(0x358)](_0x32251e){const _0x4b0447=_0x151804;this[_0x4b0447(0x305)](_0x32251e);}[_0x151804(0x2f5)](_0x2aafcf){const _0x26aac7=_0x151804,{unitID:_0x47c506}=_0x2aafcf,{collaboration:_0x193000}=this['_docStateChangeManagerService']['getStateCache'](_0x47c506);if(_0x193000[_0x26aac7(0x3e7)]===0x0)return _0x2aafcf;let _0x56763c=_0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf['mutations'][0x0]);for(let _0x5b95c7=0x0;_0x5b95c7<_0x193000['length'];_0x5b95c7++){const _0x38d118={'id':_0x26aac7(0x362),'params':{'unitId':_0x193000[_0x5b95c7][_0x26aac7(0x1a9)],..._0x193000[_0x5b95c7][_0x26aac7(0x35c)]}},_0xc53519=this[_0x26aac7(0x21a)][_0x26aac7(0x244)](_0x56763c,_0x38d118,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0xc53519))throw _0xc53519[_0x26aac7(0x2ff)];_0x56763c=_0xc53519[_0x26aac7(0x1a8)];}return{..._0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf),'mutations':[_0x56763c]};}[_0x151804(0x305)](_0x3bbcd6){const _0x238e58=_0x151804,{unitID:_0x537ea1}=_0x3bbcd6,{history:_0x56fb7e,collaboration:_0x3e2894}=this['_docStateChangeManagerService'][_0x238e58(0x236)](_0x537ea1);if(_0x56fb7e['length']===0x0&&_0x3e2894[_0x238e58(0x3e7)]===0x0)return;const _0x264ab0=[],_0x514a38=[];let _0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)]['deepClone'](_0x3bbcd6['mutations'][0x0]);for(let _0x5b8f6f=_0x56fb7e[_0x238e58(0x3e7)]-0x1;_0x5b8f6f>=0x0;_0x5b8f6f--){const _0x303813={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f]['undoState']}},_0x545604={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f][_0x238e58(0x35c)]}},_0x29fb02=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x303813,!0x1),_0x50d4c3=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1dc0fa,_0x545604,!0x1);if(_0x3810d3[_0x238e58(0x3c9)](_0x29fb02))throw _0x29fb02[_0x238e58(0x2ff)];if(_0x3810d3[_0x238e58(0x3c9)](_0x50d4c3))throw _0x50d4c3[_0x238e58(0x2ff)];_0x264ab0[_0x238e58(0x184)]({..._0x56fb7e[_0x5b8f6f],'undoState':_0x29fb02[_0x238e58(0x25b)][_0x238e58(0x1cb)],'redoState':_0x50d4c3[_0x238e58(0x25b)][_0x238e58(0x1cb)]}),_0x1ce5c6=_0x29fb02[_0x238e58(0x1a8)],_0x1dc0fa=_0x50d4c3[_0x238e58(0x1a8)];}_0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]);for(let _0x3c3a83=_0x3e2894[_0x238e58(0x3e7)]-0x1;_0x3c3a83>=0x0;_0x3c3a83--){const _0x1874dd={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83]['unitId'],..._0x3e2894[_0x3c3a83]['undoState']}},_0x12886a={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83][_0x238e58(0x1a9)],..._0x3e2894[_0x3c3a83]['redoState']}},_0x48fc9b=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x1874dd,!0x1),_0x5148a1=this['_transformService']['transformMutation'](_0x1dc0fa,_0x12886a,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x48fc9b))throw _0x48fc9b[_0x238e58(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x5148a1))throw _0x5148a1['error'];_0x514a38[_0x238e58(0x184)]({..._0x3e2894[_0x3c3a83],'undoState':_0x48fc9b[_0x238e58(0x25b)]['params'],'redoState':_0x5148a1[_0x238e58(0x25b)]['params']}),_0x1ce5c6=_0x48fc9b['m1Prime'],_0x1dc0fa=_0x5148a1[_0x238e58(0x1a8)];}this['_docStateChangeManagerService'][_0x238e58(0x275)](_0x537ea1,{'history':_0x264ab0,'collaboration':_0x514a38});}};_0x28eae8=_0x17dceb([_0xd36a72(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0xd36a72(0x1,_0x3810d3[_0x151804(0x3aa)]),_0xd36a72(0x2,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)]))],_0x28eae8);var _0xb3bdd=Object[_0x151804(0x277)],_0x484c37=(_0x31b90f,_0x4d4405,_0x12b02c,_0x3e0ae6)=>{const _0x7e03b3=_0x151804;for(var _0x42b80f=_0x3e0ae6>0x1?void 0x0:_0x3e0ae6?_0xb3bdd(_0x4d4405,_0x12b02c):_0x4d4405,_0x140d09=_0x31b90f[_0x7e03b3(0x3e7)]-0x1,_0x113ce2;_0x140d09>=0x0;_0x140d09--)(_0x113ce2=_0x31b90f[_0x140d09])&&(_0x42b80f=_0x113ce2(_0x42b80f)||_0x42b80f);return _0x42b80f;},_0x1b81ef=(_0x34f45c,_0x164986)=>(_0x42c8f3,_0x2b62eb)=>_0x164986(_0x42c8f3,_0x2b62eb,_0x34f45c);let _0x37c8c3=class{constructor(_0x270515,_0x839625){const _0x2061a5=_0x151804;this['_injector']=_0x270515,this[_0x2061a5(0x21a)]=_0x839625;}[_0x151804(0x2b8)](_0x55631e){const _0x3cdb98=_0x151804;var _0x3ff802;const _0x3b4f2d=this[_0x3cdb98(0x410)][_0x3cdb98(0x1a2)](_0x4c8112[_0x3cdb98(0x22e)]),_0x41027e=(_0x3ff802=_0x3b4f2d['getDocRanges']())!=null?_0x3ff802:[];if(_0x41027e['length']===0x0)return;const _0xfb6904=_0x55631e[_0x3cdb98(0x36b)],_0x4c87b0=[{'id':_0x3cdb98(0x362),'params':{'unitId':_0xfb6904,'actions':null,'textRanges':_0x41027e}}],_0x3b6ac1=this['_transformService'][_0x3cdb98(0x273)](_0x55631e,_0x4c87b0);if(!_0x3810d3[_0x3cdb98(0x1ff)](_0x3b6ac1))throw _0x3b6ac1['error'];const _0x36c17a=_0x3b6ac1['m2Prime'][0x0]['params'][_0x3cdb98(0x173)];Array[_0x3cdb98(0x373)](_0x36c17a)&&_0x36c17a['length']&&_0x3b4f2d[_0x3cdb98(0x1fa)](_0x36c17a,{'unitId':_0xfb6904,'subUnitId':_0xfb6904},!0x1);}};_0x37c8c3=_0x484c37([_0x1b81ef(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x1b81ef(0x1,_0x3810d3[_0x151804(0x3aa)])],_0x37c8c3);var _0x354429=Object[_0x151804(0x277)],_0x469280=(_0x10f93c,_0x14630a,_0x3a99db,_0x517652)=>{const _0x45233c=_0x151804;for(var _0x25884e=_0x517652>0x1?void 0x0:_0x517652?_0x354429(_0x14630a,_0x3a99db):_0x14630a,_0x219ba0=_0x10f93c[_0x45233c(0x3e7)]-0x1,_0x3d7107;_0x219ba0>=0x0;_0x219ba0--)(_0x3d7107=_0x10f93c[_0x219ba0])&&(_0x25884e=_0x3d7107(_0x25884e)||_0x25884e);return _0x25884e;},_0x4c7540=(_0xdfbb88,_0x4aa08d)=>(_0xfe734f,_0x1cc31d)=>_0x4aa08d(_0xfe734f,_0x1cc31d,_0xdfbb88);let _0x337b06=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x2df077,_0x487325,_0x5c1295,_0x4015ca,_0x25535a,_0x1d7806,_0x48ed4a,_0x248218){const _0x1927d2=_0x151804;super(),_0x198f8a(this,'_status$',new _0xdde2a6[(_0x1927d2(0x2f9))](_0x792235[_0x1927d2(0x17c)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x2df077,this[_0x1927d2(0x268)]=_0x487325,this[_0x1927d2(0x356)]=_0x5c1295,this[_0x1927d2(0x40e)]=_0x4015ca,this[_0x1927d2(0x1ae)]=_0x25535a,this['_docSyncEditingCollabCursorService']=_0x1d7806,this['_messageService']=_0x48ed4a,this[_0x1927d2(0x304)]=_0x248218,this[_0x1927d2(0x221)]());}[_0x151804(0x221)](){const _0x26db84=_0x151804;this[_0x26db84(0x2f8)](this[_0x26db84(0x268)][_0x26db84(0x33a)][_0x26db84(0x24d)](_0x48f6b6=>{const _0x19c0f7=_0x26db84,_0x543b42=this[_0x19c0f7(0x22c)]['docStateChange$'][_0x19c0f7(0x24d)](_0x2fe264=>{const _0x26c864=_0x19c0f7;if(_0x2fe264==null)return;const {unitId:_0x245651,redoState:_0x209140,commandId:_0x351c25}=_0x2fe264;if(_0x245651!==_0x48f6b6[_0x26c864(0x36b)])return;const _0x235d68={'id':_0x351c25,'type':_0x4b903d['CommandType'][_0x26c864(0x3a9)],'params':{'unitId':_0x245651,'actions':_0x209140[_0x26c864(0x1bc)],'textRanges':null}};_0x48f6b6[_0x26c864(0x3c7)](_0x235d68);});if(_0x48f6b6['disposeWithMe'](_0x543b42),_0x48f6b6 instanceof _0x792235[_0x19c0f7(0x137)]){const _0x3b97b8={'onTransformIME':_0x502b7a=>this[_0x19c0f7(0x356)][_0x19c0f7(0x419)](_0x502b7a),'onTransformState':_0xbcad89=>this[_0x19c0f7(0x40e)][_0x19c0f7(0x358)](_0xbcad89),'onTransformSelections':_0x149231=>this[_0x19c0f7(0x1ae)]['transformSelections'](_0x149231),'onSyncEditingCollabCursor':_0x1082c9=>this[_0x19c0f7(0x41f)][_0x19c0f7(0x3d8)](_0x1082c9),'onTransformRemoteChangesetByIMECache':_0xfca5b=>this['_docTransformIMECacheService'][_0x19c0f7(0x2f5)](_0xfca5b),'onTransformRemoteChangesetByStateCache':_0x5e4110=>this[_0x19c0f7(0x40e)]['transformRemoteChangeset'](_0x5e4110)};_0x48f6b6[_0x19c0f7(0x223)](_0x3b97b8);}}));}};_0x337b06=_0x469280([_0x4c7540(0x0,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)])),_0x4c7540(0x1,_0x4b903d['Inject'](_0x792235['CollaborationController'])),_0x4c7540(0x2,_0x4b903d['Inject'](_0x37eb54)),_0x4c7540(0x3,_0x4b903d['Inject'](_0x28eae8)),_0x4c7540(0x4,_0x4b903d['Inject'](_0x37c8c3)),_0x4c7540(0x5,_0x4b903d['Inject'](_0x103d56)),_0x4c7540(0x6,_0x109597[_0x151804(0x1e1)]),_0x4c7540(0x7,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x337b06);var _0x36c5dc=(_0x221edf=>(_0x221edf[_0x221edf[_0x151804(0x284)]=0x0]=_0x151804(0x284),_0x221edf[_0x221edf['OK']=0x1]='OK',_0x221edf[_0x221edf[_0x151804(0x3fa)]=0x2]=_0x151804(0x3fa),_0x221edf[_0x221edf[_0x151804(0x328)]=0x3]='PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x3df)]=0x4]=_0x151804(0x3df),_0x221edf[_0x221edf[_0x151804(0x348)]=0x5]=_0x151804(0x348),_0x221edf[_0x221edf[_0x151804(0x322)]=0x6]=_0x151804(0x322),_0x221edf[_0x221edf[_0x151804(0x321)]=0x7]=_0x151804(0x321),_0x221edf[_0x221edf[_0x151804(0x27a)]=0x8]='TOO_MANY_REQUESTS',_0x221edf[_0x221edf['COMPLETION_FINISHED']=0x9]=_0x151804(0x3c6),_0x221edf[_0x221edf[_0x151804(0x203)]=0xa]='LOGIN_FAILED',_0x221edf[_0x221edf[_0x151804(0x28f)]=0xb]=_0x151804(0x28f),_0x221edf[_0x221edf[_0x151804(0x1c2)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x151804(0x301),_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x151804(0x377),_0x221edf[_0x221edf['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x221edf[_0x221edf[_0x151804(0x346)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x221edf[_0x221edf['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x221edf[_0x221edf[_0x151804(0x298)]=0x65]='ERROR_AGAIN',_0x221edf[_0x221edf['USER_NOT_FOUND']=0xc9]=_0x151804(0x400),_0x221edf[_0x221edf[_0x151804(0x1cc)]=0xca]=_0x151804(0x1cc),_0x221edf[_0x221edf[_0x151804(0x25a)]=0x1389]=_0x151804(0x25a),_0x221edf[_0x221edf[_0x151804(0x19d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x221edf[_0x221edf[_0x151804(0x210)]=0x1772]=_0x151804(0x210),_0x221edf[_0x221edf[_0x151804(0x2a8)]=0x1773]=_0x151804(0x2a8),_0x221edf[_0x221edf['APPLY_REJECT']=0x1b59]=_0x151804(0x39f),_0x221edf[_0x221edf['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x151804(0x1f1),_0x221edf[_0x221edf[_0x151804(0x148)]=0x1b5b]=_0x151804(0x148),_0x221edf[_0x221edf[_0x151804(0x2be)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x38a)]=0x1b5d]=_0x151804(0x38a),_0x221edf[_0x221edf[_0x151804(0x181)]=0x1f41]=_0x151804(0x181),_0x221edf[_0x221edf[_0x151804(0x153)]=0x2329]=_0x151804(0x153),_0x221edf[_0x221edf[_0x151804(0x24a)]=0x232a]=_0x151804(0x24a),_0x221edf[_0x221edf[_0x151804(0x3b8)]=0x232b]=_0x151804(0x3b8),_0x221edf[_0x221edf[_0x151804(0x139)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x221edf[_0x221edf[_0x151804(0x2e5)]=0x232d]=_0x151804(0x2e5),_0x221edf[_0x221edf[_0x151804(0x165)]=0x2711]=_0x151804(0x165),_0x221edf[_0x221edf[_0x151804(0x3f9)]=0x2712]=_0x151804(0x3f9),_0x221edf[_0x221edf['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x151804(0x32c),_0x221edf[_0x221edf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x151804(0x2f0),_0x221edf[_0x221edf[_0x151804(0x264)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x221edf[_0x221edf[_0x151804(0x23d)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x221edf[_0x221edf[_0x151804(0x296)]=0x271c]=_0x151804(0x296),_0x221edf[_0x221edf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x221edf[_0x221edf['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x151804(0x31a),_0x221edf[_0x221edf['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x221edf[_0x221edf[_0x151804(0x3b6)]=0x2720]=_0x151804(0x3b6),_0x221edf[_0x221edf[_0x151804(0x3ff)]=0x2af9]=_0x151804(0x3ff),_0x221edf[_0x221edf[_0x151804(0x20a)]=0x2ee1]=_0x151804(0x20a),_0x221edf[_0x221edf[_0x151804(0x387)]=0x2ee2]=_0x151804(0x387),_0x221edf[_0x221edf[_0x151804(0x3dd)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x221edf[_0x221edf[_0x151804(0x21e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x221edf[_0x221edf[_0x151804(0x2b5)]=0x2ee5]=_0x151804(0x2b5),_0x221edf[_0x221edf['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x151804(0x3ca),_0x221edf[_0x221edf['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x151804(0x303),_0x221edf[_0x221edf['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x151804(0x2ec),_0x221edf[_0x221edf['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x151804(0x30d),_0x221edf[_0x221edf[_0x151804(0x14b)]=0x36b2]=_0x151804(0x14b),_0x221edf[_0x221edf[_0x151804(0x1b1)]=0x36b3]=_0x151804(0x1b1),_0x221edf[_0x221edf[_0x151804(0x379)]=0x36b4]=_0x151804(0x379),_0x221edf[_0x221edf[_0x151804(0x2ee)]=0x36b5]=_0x151804(0x2ee),_0x221edf[_0x221edf[_0x151804(0x29a)]=0x36b6]=_0x151804(0x29a),_0x221edf[_0x221edf[_0x151804(0x1d3)]=0x36b7]=_0x151804(0x1d3),_0x221edf[_0x221edf[_0x151804(0x3c8)]=0x36b8]=_0x151804(0x3c8),_0x221edf[_0x221edf[_0x151804(0x26f)]=0x3715]=_0x151804(0x26f),_0x221edf[_0x221edf[_0x151804(0x1f9)]=0x3716]=_0x151804(0x1f9),_0x221edf[_0x221edf[_0x151804(0x21c)]=0x3717]=_0x151804(0x21c),_0x221edf[_0x221edf[_0x151804(0x354)]=0x37dd]=_0x151804(0x354),_0x221edf[_0x221edf[_0x151804(0x3d1)]=0x3a99]=_0x151804(0x3d1),_0x221edf[_0x221edf[_0x151804(0x149)]=0x3a9a]=_0x151804(0x149),_0x221edf[_0x221edf[_0x151804(0x13f)]=0x3a9b]=_0x151804(0x13f),_0x221edf[_0x221edf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x151804(0x3ea),_0x221edf[_0x221edf[_0x151804(0x188)]=0x3a9d]=_0x151804(0x188),_0x221edf[_0x221edf[_0x151804(0x2f1)]=0x3a9e]=_0x151804(0x2f1),_0x221edf[_0x221edf[_0x151804(0x2ed)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x221edf[_0x221edf[_0x151804(0x13c)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x221edf[_0x221edf[_0x151804(0x1c5)]=-0x1]=_0x151804(0x1c5),_0x221edf))(_0x36c5dc||{});function _0xed846c(_0x275228){const _0x150c5c=_0x151804;var _0x419a9f,_0x53cea5;const _0x409ca8=(_0x419a9f=_0x275228['stageInfo'])==null?void 0x0:_0x419a9f[_0x150c5c(0x14f)],_0x59a5d7=((_0x53cea5=_0x275228[_0x150c5c(0x2e8)])==null?void 0x0:_0x53cea5[_0x150c5c(0x1b0)])||0x0;return _0x409ca8===_0x511fa6['FormulaExecuteStageType'][_0x150c5c(0x1f2)]&&_0x59a5d7>0x0;}function _0x1d571b(_0x1fcc2c){const _0x253705=_0x151804;return _0x1fcc2c[_0x253705(0x245)]===_0x511fa6[_0x253705(0x238)][_0x253705(0x272)];}var _0x206412=Object[_0x151804(0x277)],_0x4f8316=(_0x52f47b,_0xc7c620,_0x25f32e,_0x1470a3)=>{const _0x40146b=_0x151804;for(var _0x46f1d0=_0x1470a3>0x1?void 0x0:_0x1470a3?_0x206412(_0xc7c620,_0x25f32e):_0xc7c620,_0x3c1adb=_0x52f47b[_0x40146b(0x3e7)]-0x1,_0x341db9;_0x3c1adb>=0x0;_0x3c1adb--)(_0x341db9=_0x52f47b[_0x3c1adb])&&(_0x46f1d0=_0x341db9(_0x46f1d0)||_0x46f1d0);return _0x46f1d0;},_0x39e0af=(_0x58ccae,_0x3ba85d)=>(_0x5d02ad,_0x2f77de)=>_0x3ba85d(_0x5d02ad,_0x2f77de,_0x58ccae);const _0x2befbf='/universer-api/license/formula/limit/status',_0x3a8cd5='/universer-api/license/formula/limit/start',_0x43c983=_0x151804(0x279);let _0x27767e=class extends _0x4b903d['Disposable']{constructor(_0x1f13c7,_0x3ef86b,_0x48297b,_0x45ac14,_0x578c70,_0x2383cd,_0x1e8ca3){const _0x259f8a=_0x151804;super(),_0x198f8a(this,_0x259f8a(0x241),null),_0x198f8a(this,_0x259f8a(0x374),0x0),_0x198f8a(this,_0x259f8a(0x270),0x0),_0x198f8a(this,_0x259f8a(0x3a1),[]),_0x198f8a(this,_0x259f8a(0x28b),0x0),(this[_0x259f8a(0x3a0)]=_0x1f13c7,this[_0x259f8a(0x1c6)]=_0x3ef86b,this[_0x259f8a(0x316)]=_0x48297b,this[_0x259f8a(0x3b3)]=_0x45ac14,this['_univerInstanceService']=_0x578c70,this['_logService']=_0x2383cd,this['_localeService']=_0x1e8ca3,this[_0x259f8a(0x2d3)]());}[_0x151804(0x2d3)](){const _0x4243df=_0x151804;this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x3d5)]((_0x1ebb0b,_0x29c3e8)=>{const _0x4b411b=_0x4243df;var _0x199494;if(_0x1ebb0b['id']!==_0x511fa6[_0x4b411b(0x2ae)]['id'])return;const _0x3f8e27=_0x1ebb0b[_0x4b411b(0x1cb)];if(!this[_0x4b411b(0x2ab)]((_0x199494=_0x3f8e27[_0x4b411b(0x38d)])!=null?_0x199494:[]))return;if(!this[_0x4b411b(0x339)]())throw this['_checkAndWaitForCalculationPermission'](_0x1ebb0b,_0x29c3e8),this[_0x4b411b(0x232)](),new _0x4b903d[(_0x4b411b(0x195))]();})),this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x280)]((_0x486d4d,_0x328f42)=>{const _0x52b435=_0x4243df;if(_0x486d4d['id']!==_0x511fa6[_0x52b435(0x233)]['id'])return;const _0x218438=_0x486d4d[_0x52b435(0x1cb)];if(_0xed846c(_0x218438)){const _0x32318f=_0x4b903d[_0x52b435(0x24b)]();this[_0x52b435(0x3a1)][_0x52b435(0x1eb)](_0x32318f),this[_0x52b435(0x35b)](_0x32318f);}else{if(_0x1d571b(_0x218438)&&this[_0x52b435(0x3a1)]['length']>0x0){const _0x14ce88=this['_taskIds']['shift']();this['_releaseCalculationLimit'](_0x14ce88);}}}));}[_0x151804(0x2b9)](){const _0x263323=_0x151804;super['dispose'](),this[_0x263323(0x337)](),this[_0x263323(0x3a1)]=[],this[_0x263323(0x270)]=0x0,this[_0x263323(0x374)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x151804(0x2b6)](_0x26d79,_0x4269af){const _0x6f3c2c=_0x151804;for(let _0x1d9aa6=0x0;_0x1d9aa6<0x1e;_0x1d9aa6++)try{if(await this[_0x6f3c2c(0x1e4)](),this[_0x6f3c2c(0x339)]()){this['_applyCommand'](_0x26d79,_0x4269af),this[_0x6f3c2c(0x3a0)][_0x6f3c2c(0x2d4)]({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x22a)),'type':_0x486dbb[_0x6f3c2c(0x3c4)][_0x6f3c2c(0x297)]});return;}await new Promise(_0x312c5a=>{const _0x221c05=_0x6f3c2c;this[_0x221c05(0x241)]=window['setTimeout'](_0x312c5a,0x3e8);});}catch(_0x778bf5){this[_0x6f3c2c(0x338)]['error'](_0x778bf5);}this[_0x6f3c2c(0x3a0)]['show']({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x376)),'type':_0x486dbb['MessageType'][_0x6f3c2c(0x2a1)]});}[_0x151804(0x187)](_0x2cb789,_0x5a68b8){const _0xd9571c=_0x151804;try{this['_commandService'][_0xd9571c(0x3fd)](_0x2cb789['id'],_0x2cb789['params'],_0x5a68b8);}catch(_0x4c90c9){this[_0xd9571c(0x338)][_0xd9571c(0x2ff)](_0x4c90c9);}}['_setFormulaLimitStatus'](_0x3b660f,_0x446434){const _0x39f27a=_0x151804;_0x446434<this[_0x39f27a(0x28b)]||(this[_0x39f27a(0x28b)]=_0x446434,this[_0x39f27a(0x374)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x228)]),this[_0x39f27a(0x270)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x27c)]));}async['_startCalculationLimit'](_0x161389){const _0x4a0e5d=_0x151804;var _0x347d6d,_0x353bc5;const _0x535061=Date['now']();try{const _0x46ffa1=((_0x347d6d=this['_configService'][_0x4a0e5d(0x14e)](_0x792235[_0x4a0e5d(0x227)]))==null?void 0x0:_0x347d6d['startFormulaLimitUrl'])||_0x3a8cd5,_0x3a531d=(await this[_0x4a0e5d(0x3b3)]['post'](_0x46ffa1,{'body':JSON[_0x4a0e5d(0x1aa)]({'taskId':_0x161389})}))[_0x4a0e5d(0x1a0)];if(((_0x353bc5=_0x3a531d[_0x4a0e5d(0x2ff)])==null?void 0x0:_0x353bc5[_0x4a0e5d(0x378)])!==_0x36c5dc['OK'])return;this[_0x4a0e5d(0x3ac)](_0x3a531d['limitInfo'],_0x535061);}catch(_0x20ecda){this[_0x4a0e5d(0x338)][_0x4a0e5d(0x2ff)](_0x20ecda);}}async[_0x151804(0x1e4)](_0x495d76){const _0x17a212=_0x151804;var _0xdad023,_0x4c41ea;const _0x561f64=Date[_0x17a212(0x20d)]();try{const _0x12cf6a=((_0xdad023=this[_0x17a212(0x316)][_0x17a212(0x14e)](_0x792235[_0x17a212(0x227)]))==null?void 0x0:_0xdad023['getformulaLimitStatusUrl'])||_0x2befbf,_0x1906a2=_0x495d76?_0x12cf6a+_0x17a212(0x141)+encodeURIComponent(_0x495d76):_0x12cf6a,_0x447e3c=(await this[_0x17a212(0x3b3)][_0x17a212(0x1a2)](_0x1906a2))['body'];if(((_0x4c41ea=_0x447e3c[_0x17a212(0x2ff)])==null?void 0x0:_0x4c41ea[_0x17a212(0x378)])!==_0x36c5dc['OK'])return;this['_setFormulaLimitStatus'](_0x447e3c[_0x17a212(0x25e)],_0x561f64);}catch(_0x5d299b){this['_logService'][_0x17a212(0x2ff)](_0x5d299b);}}async[_0x151804(0x2e2)](_0x3c6040){const _0x239f94=_0x151804;var _0x4dfe60,_0x36540d;const _0xb753cb=Date[_0x239f94(0x20d)]();try{const _0x1e2e48=((_0x4dfe60=this[_0x239f94(0x316)][_0x239f94(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4dfe60[_0x239f94(0x366)])||_0x43c983,_0x18d593=(await this[_0x239f94(0x3b3)][_0x239f94(0x257)](_0x1e2e48,{'body':JSON['stringify']({'taskId':_0x3c6040})}))[_0x239f94(0x1a0)];if(((_0x36540d=_0x18d593[_0x239f94(0x2ff)])==null?void 0x0:_0x36540d['code'])!==_0x36c5dc['OK'])return;this[_0x239f94(0x3ac)](_0x18d593[_0x239f94(0x25e)],_0xb753cb);}catch(_0x2c992f){this[_0x239f94(0x338)]['error'](_0x2c992f);}}[_0x151804(0x339)](){const _0x94f8c4=_0x151804;return this[_0x94f8c4(0x374)]===0x0?!0x0:this[_0x94f8c4(0x374)]-this[_0x94f8c4(0x270)]>0x0;}[_0x151804(0x337)](){const _0x4fc3f9=_0x151804;this[_0x4fc3f9(0x241)]&&(clearTimeout(this[_0x4fc3f9(0x241)]),this[_0x4fc3f9(0x241)]=null);}[_0x151804(0x232)](){const _0x31df76=_0x151804;this[_0x31df76(0x3a0)][_0x31df76(0x2d4)]({'content':this[_0x31df76(0x304)]['t'](_0x31df76(0x3a8)),'type':_0x486dbb['MessageType'][_0x31df76(0x2a9)]});}[_0x151804(0x2ab)](_0x5be480){const _0x3d7abd=_0x151804;for(const _0x412f02 of _0x5be480){const {unitId:_0x578865,sheetId:_0x1e6afa,range:_0x4487bf}=_0x412f02,_0x34406a=this['_univerInstanceService'][_0x3d7abd(0x333)](_0x578865);if(!_0x34406a)continue;const _0x10c898=_0x34406a[_0x3d7abd(0x3cc)](_0x1e6afa);if(!_0x10c898)continue;const _0x1c8bdc=_0x10c898[_0x3d7abd(0x170)]();for(let _0x3fa93c=_0x4487bf[_0x3d7abd(0x1d9)];_0x3fa93c<=_0x4487bf['endRow'];_0x3fa93c++)for(let _0x2e5238=_0x4487bf[_0x3d7abd(0x15d)];_0x2e5238<=_0x4487bf[_0x3d7abd(0x294)];_0x2e5238++){const _0x18d69b=_0x1c8bdc[_0x3d7abd(0x313)](_0x3fa93c,_0x2e5238);if(_0x18d69b&&(_0x4b903d[_0x3d7abd(0x1ac)](_0x18d69b['f'])||_0x4b903d[_0x3d7abd(0x30f)](_0x18d69b['si'])))return!0x0;}}return!0x1;}};_0x27767e=_0x4f8316([_0x39e0af(0x0,_0x4b903d[_0x151804(0x18d)](_0x109597[_0x151804(0x1e1)])),_0x39e0af(0x1,_0x4b903d['ICommandService']),_0x39e0af(0x2,_0x4b903d['IConfigService']),_0x39e0af(0x3,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x39e0af(0x4,_0x4b903d['IUniverInstanceService']),_0x39e0af(0x5,_0x4b903d['ILogService']),_0x39e0af(0x6,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x3de)]))],_0x27767e);var _0x106516=Object['getOwnPropertyDescriptor'],_0x4c3645=(_0x24f99d,_0x15e2ad,_0x525292,_0x21e641)=>{for(var _0x45eba0=_0x21e641>0x1?void 0x0:_0x21e641?_0x106516(_0x15e2ad,_0x525292):_0x15e2ad,_0x180d01=_0x24f99d['length']-0x1,_0x4a05b5;_0x180d01>=0x0;_0x180d01--)(_0x4a05b5=_0x24f99d[_0x180d01])&&(_0x45eba0=_0x4a05b5(_0x45eba0)||_0x45eba0);return _0x45eba0;},_0x14d776=(_0x132494,_0x178296)=>(_0x420866,_0x6b338e)=>_0x178296(_0x420866,_0x6b338e,_0x132494);let _0x2ca6a3=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x51b720,_0x5f1c95,_0x536acd){const _0x4e0698=_0x151804;super(),_0x198f8a(this,_0x4e0698(0x381),new Map()),_0x198f8a(this,_0x4e0698(0x19a),new Map()),_0x198f8a(this,'_disabled',!0x1),(this[_0x4e0698(0x316)]=_0x51b720,this[_0x4e0698(0x352)]=_0x5f1c95,this[_0x4e0698(0x222)]=_0x536acd);}[_0x151804(0x2c5)](){this['_disabled']=!0x0;}[_0x151804(0x144)](){this['_disabled']=!0x1;}get[_0x151804(0x1fb)](){const _0x26e37f=_0x151804;return this[_0x26e37f(0x19a)];}[_0x151804(0x2b9)](){const _0x37d027=_0x151804;this[_0x37d027(0x1d1)]()[_0x37d027(0x39b)](()=>super['dispose']());}async[_0x151804(0x38f)](_0x54d320){const _0x4fcf8a=_0x151804;return this['_disabled']?null:this[_0x4fcf8a(0x352)]['getItem'](_0x792235[_0x4fcf8a(0x17d)](_0x54d320));}async['saveOfflineData'](_0x328549,_0x5b2d35){const _0x155c00=_0x151804;return!!this['_localStorageService'][_0x155c00(0x20c)](_0x328549,_0x5b2d35);}[_0x151804(0x26e)](_0x1b4d08,_0x174c69,_0x2d0c4a,_0x25399a){const _0xde1eb9=_0x151804,_0x204799=this[_0xde1eb9(0x222)][_0xde1eb9(0x29d)](_0x1b4d08);this['_cachedData'][_0xde1eb9(0x2d7)](_0x1b4d08,{'unitID':_0x1b4d08,'type':_0x174c69,'awaitingChangeset':_0x2d0c4a,'mutations':_0x25399a,'rev':_0x204799}),this[_0xde1eb9(0x19a)]['has'](_0x1b4d08)||this[_0xde1eb9(0x368)](_0x1b4d08);}[_0x151804(0x368)](_0x3b5a3c){const _0x1a5b78=_0x151804,_0x4d0175=this[_0x1a5b78(0x347)]();_0x4d0175===0x0?this[_0x1a5b78(0x267)](_0x3b5a3c):this[_0x1a5b78(0x19a)]['set'](_0x3b5a3c,setTimeout(()=>this[_0x1a5b78(0x267)](_0x3b5a3c),_0x4d0175));}['_getSaveTimeout'](){const _0x2b613b=_0x151804;var _0x355736;return(_0x355736=this[_0x2b613b(0x316)][_0x2b613b(0x14e)](_0x792235[_0x2b613b(0x2c6)]))!=null?_0x355736:_0x792235[_0x2b613b(0x1e6)];}[_0x151804(0x267)](_0x4a3fb7){const _0x11119d=_0x151804,_0xcf7bc7=this[_0x11119d(0x19a)][_0x11119d(0x1a2)](_0x4a3fb7);return _0xcf7bc7!==void 0x0&&window[_0x11119d(0x40a)](_0xcf7bc7),this[_0x11119d(0x352)][_0x11119d(0x20c)](_0x792235[_0x11119d(0x17d)](_0x4a3fb7),this[_0x11119d(0x381)]['get'](_0x4a3fb7))[_0x11119d(0x39b)](()=>this['_saveTaskMap'][_0x11119d(0x312)](_0x4a3fb7));}async[_0x151804(0x1d1)](){const _0xde3672=_0x151804,_0x5c9034=[];this['_saveTaskMap'][_0xde3672(0x293)]((_0xceeb21,_0x42831a)=>{const _0x566767=_0xde3672;window[_0x566767(0x40a)](_0xceeb21),_0x5c9034[_0x566767(0x1eb)](this[_0x566767(0x267)](_0x42831a)[_0x566767(0x39b)](()=>{const _0x10d743=_0x566767;this[_0x10d743(0x19a)][_0x10d743(0x312)](_0x42831a);}));}),await Promise[_0xde3672(0x389)](_0x5c9034);}};_0x2ca6a3=_0x4c3645([_0x14d776(0x0,_0x4b903d[_0x151804(0x281)]),_0x14d776(0x1,_0x4b903d['ILocalStorageService']),_0x14d776(0x2,_0x4b903d[_0x151804(0x18d)](_0x3810d3['RevisionService']))],_0x2ca6a3);class _0x551a25 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x4e73d4=_0x151804;super(),_0x198f8a(this,'urlChange$'),this[_0x4e73d4(0x39d)]=_0xdde2a6[_0x4e73d4(0x1d7)](window,'popstate')[_0x4e73d4(0x2cc)](_0xdde2a6['takeUntil'](this[_0x4e73d4(0x2ef)]),_0xdde2a6['shareReplay'](0x1),_0xdde2a6['mapTo'](void 0x0));}[_0x151804(0x174)](_0x36bee0,_0x2415ce,_0x4f516a=!0x1){const _0xb2bd22=_0x151804,_0x29387f=new URL(window[_0xb2bd22(0x416)][_0xb2bd22(0x186)]);_0x29387f[_0xb2bd22(0x171)][_0xb2bd22(0x2d7)](_0x36bee0,_0x2415ce),_0x4f516a?window['history'][_0xb2bd22(0x2fb)]('','',_0x29387f[_0xb2bd22(0x41b)]()):window[_0xb2bd22(0x3b0)][_0xb2bd22(0x152)]('','',_0x29387f['toString']());}['removeParam'](_0x5c574b,_0x359202=!0x1){const _0x518e65=_0x151804,_0xeba47=new URL(window[_0x518e65(0x416)][_0x518e65(0x186)]);_0xeba47[_0x518e65(0x171)][_0x518e65(0x312)](_0x5c574b),_0x359202?window[_0x518e65(0x3b0)][_0x518e65(0x2fb)]('','',_0xeba47['toString']()):window[_0x518e65(0x3b0)]['pushState']('','',_0xeba47[_0x518e65(0x41b)]());}[_0x151804(0x3e9)](_0x166c24){const _0x9c9527=_0x151804;var _0x2eb9fb;return(_0x2eb9fb=new URL(window[_0x9c9527(0x416)][_0x9c9527(0x186)])[_0x9c9527(0x171)][_0x9c9527(0x1a2)](_0x166c24))!=null?_0x2eb9fb:void 0x0;}}var _0x13d603=Object['defineProperty'],_0x504013=Object[_0x151804(0x277)],_0x4c4ed5=(_0x3aa0d2,_0x3d57ab,_0x3c72aa)=>_0x3d57ab in _0x3aa0d2?_0x13d603(_0x3aa0d2,_0x3d57ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c72aa}):_0x3aa0d2[_0x3d57ab]=_0x3c72aa,_0x2852d3=(_0x2f04cd,_0x5c201c,_0x192ff4,_0x17e479)=>{const _0x370971=_0x151804;for(var _0x23e388=_0x17e479>0x1?void 0x0:_0x17e479?_0x504013(_0x5c201c,_0x192ff4):_0x5c201c,_0x18ddc6=_0x2f04cd[_0x370971(0x3e7)]-0x1,_0x42e0d6;_0x18ddc6>=0x0;_0x18ddc6--)(_0x42e0d6=_0x2f04cd[_0x18ddc6])&&(_0x23e388=_0x42e0d6(_0x23e388)||_0x23e388);return _0x23e388;},_0x7e47f4=(_0x13efec,_0x45faf8)=>(_0x225f24,_0x5e5bd2)=>_0x45faf8(_0x225f24,_0x5e5bd2,_0x13efec),_0xec3e5f=(_0x18155e,_0x4a5e98,_0x37bffe)=>_0x4c4ed5(_0x18155e,_0x4a5e98+'',_0x37bffe);const _0x5d213f=_0x151804(0x1dc);_0x44f94a[_0x151804(0x2c3)]=class extends _0x4b903d[_0x151804(0x335)]{constructor(_0x24078d=_0x6daa16,_0x5c3e0a,_0x536dc3,_0x1a4164){const _0x21037b=_0x151804;super(),this[_0x21037b(0x18c)]=_0x24078d,this[_0x21037b(0x3bd)]=_0x5c3e0a,this[_0x21037b(0x410)]=_0x536dc3,this[_0x21037b(0x316)]=_0x1a4164;const {..._0x32fa7b}=_0x4b903d[_0x21037b(0x30e)]({},_0x6daa16,this['_config']);this[_0x21037b(0x316)]['setConfig'](_0x58e469,_0x32fa7b);}[_0x151804(0x1a7)](){const _0xf821c2=_0x151804;this[_0xf821c2(0x237)](),this[_0xf821c2(0x2db)]();}[_0x151804(0x310)](){const _0x2ae45d=_0x151804;this[_0x2ae45d(0x31c)]();}[_0x151804(0x237)](){const _0x295dfb=_0x151804;var _0x2fda9d;const _0x10c36c=[[_0x2042e7],[_0x27767e],[_0x37c8c3],[_0x37eb54],[_0x28eae8],[_0x103d56],[_0x1c59a7,{'useClass':_0x551a25}],[_0x58c3fa['ISocketService'],{'useClass':_0x58c3fa[_0x295dfb(0x2a5)]}],[_0x792235['ILocalCacheService'],{'useClass':_0x2ca6a3}],[_0x44f94a[_0x295dfb(0x2ce)]],[_0x337b06],[_0x492873],[_0x8fdf50],[_0x479999],[_0x44f94a[_0x295dfb(0x278)]]];this['_config'][_0x295dfb(0x2c7)]&&_0x10c36c[_0x295dfb(0x1eb)]([_0x48fc71]),_0x4b903d['registerDependencies'](this[_0x295dfb(0x410)],_0x4b903d[_0x295dfb(0x30c)](_0x10c36c,(_0x2fda9d=this[_0x295dfb(0x18c)])==null?void 0x0:_0x2fda9d['override']));}[_0x151804(0x31c)](){const _0x2d8ef2=_0x151804;this[_0x2d8ef2(0x2f8)](this['_renderManagerService'][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)][_0x2d8ef2(0x1b9)],[_0x3e9cd4])),this[_0x2d8ef2(0x2f8)](this[_0x2d8ef2(0x3bd)][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)]['UNIVER_SHEET'],[_0x3481bc]));}['_initDependencies'](){const _0x4c0de0=_0x151804;_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x8fdf50],[_0x44f94a[_0x4c0de0(0x2ce)]],[_0x337b06],[_0x492873],[_0x44f94a[_0x4c0de0(0x278)]],[_0x27767e]]),this[_0x4c0de0(0x18c)][_0x4c0de0(0x2c7)]&&_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x48fc71]]);}},_0xec3e5f(_0x44f94a['UniverCollaborationClientUIPlugin'],'pluginName',_0x5d213f),_0x44f94a[_0x151804(0x2c3)]=_0x2852d3([_0x4b903d[_0x151804(0x15f)](_0x792235[_0x151804(0x178)]),_0x7e47f4(0x1,_0x36ac30[_0x151804(0x2fa)]),_0x7e47f4(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x7e47f4(0x3,_0x4b903d[_0x151804(0x281)])],_0x44f94a[_0x151804(0x2c3)]);var _0x156063=Object[_0x151804(0x277)],_0x3d47fc=(_0x200ba3,_0x1eb742,_0x4c4926,_0x1c505f)=>{for(var _0x55dea1=_0x1c505f>0x1?void 0x0:_0x1c505f?_0x156063(_0x1eb742,_0x4c4926):_0x1eb742,_0x416dd1=_0x200ba3['length']-0x1,_0x3721ae;_0x416dd1>=0x0;_0x416dd1--)(_0x3721ae=_0x200ba3[_0x416dd1])&&(_0x55dea1=_0x3721ae(_0x55dea1)||_0x55dea1);return _0x55dea1;},_0x388490=(_0xba35ac,_0x4c3f00)=>(_0x42351a,_0x164c67)=>_0x4c3f00(_0x42351a,_0x164c67,_0xba35ac);_0x44f94a['BrowserCollaborationSocketService']=class extends _0x792235[_0x151804(0x37f)]{constructor(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b){super(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b);}async[_0x151804(0x24f)](_0x2dfe33){const _0x417155=_0x151804,_0x1eff11=await this[_0x417155(0x340)](),_0x48407e=this['_createSocketURL'](_0x2dfe33,_0x1eff11);return this[_0x417155(0x143)](_0x48407e);}[_0x151804(0x2d9)](_0x541c27,_0x3cefd8){const _0x7a5eb8=_0x151804,_0x3624aa=typeof window>'u'?new URL(_0x541c27):new URL(_0x541c27,window[_0x7a5eb8(0x416)][_0x7a5eb8(0x3a5)]);_0x3624aa[_0x7a5eb8(0x171)]['set']('sessionTicket',_0x3cefd8);const _0x51f8c7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7a5eb8(0x416)]['search']);return _0x51f8c7['get'](_0x7a5eb8(0x1c3))&&_0x3624aa[_0x7a5eb8(0x171)][_0x7a5eb8(0x2d7)](_0x7a5eb8(0x1c3),_0x51f8c7[_0x7a5eb8(0x1a2)](_0x7a5eb8(0x1c3))),_0x3624aa[_0x7a5eb8(0x41b)]();}async[_0x151804(0x340)](){const _0x2da27e=_0x151804;var _0x21ed0c,_0x251664,_0x1b711e;const _0x93389d=this[_0x2da27e(0x316)][_0x2da27e(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x22ffe2=(_0x21ed0c=_0x93389d==null?void 0x0:_0x93389d['wsSessionTicketUrl'])!=null?_0x21ed0c:_0x792235['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1b711e=(_0x251664=(await this[_0x2da27e(0x3b3)][_0x2da27e(0x1a2)](_0x22ffe2,{'headers':{'Content-Type':_0x2da27e(0x351)}}))[_0x2da27e(0x1a0)])==null?void 0x0:_0x251664[_0x2da27e(0x194)])!=null?_0x1b711e:'';}},_0x44f94a[_0x151804(0x288)]=_0x3d47fc([_0x388490(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x388490(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x388490(0x2,_0x4b903d[_0x151804(0x281)]),_0x388490(0x3,_0x4b903d[_0x151804(0x1d4)]),_0x388490(0x4,_0x3810d3[_0x151804(0x1d0)])],_0x44f94a[_0x151804(0x288)]);var _0x2a2cc1=Object[_0x151804(0x277)],_0x218c89=(_0xb7d45f,_0x395535,_0x29b6d4,_0x2fc73b)=>{const _0x1ac305=_0x151804;for(var _0x198d14=_0x2fc73b>0x1?void 0x0:_0x2fc73b?_0x2a2cc1(_0x395535,_0x29b6d4):_0x395535,_0x56e45f=_0xb7d45f[_0x1ac305(0x3e7)]-0x1,_0x27d708;_0x56e45f>=0x0;_0x56e45f--)(_0x27d708=_0xb7d45f[_0x56e45f])&&(_0x198d14=_0x27d708(_0x198d14)||_0x198d14);return _0x198d14;},_0x1e0626=(_0x40f6b4,_0x4f08e9)=>(_0x1d6096,_0x400d47)=>_0x4f08e9(_0x1d6096,_0x400d47,_0x40f6b4);_0x44f94a['RemoteUniscriptService']=class extends _0x4b903d['Disposable']{constructor(_0x87d6d9,_0x5d0989,_0x3c744d){const _0x2de77a=_0x151804;super(),this[_0x2de77a(0x36c)]=_0x87d6d9,this[_0x2de77a(0x3b3)]=_0x5d0989,this[_0x2de77a(0x316)]=_0x3c744d;}async[_0x151804(0x14d)](_0x3f5fd0,_0x5aadaf,_0x5a32ca,..._0x5a3553){const _0xf6fe0e=_0x151804;var _0x3222f7,_0x5af4ce,_0x3fcd40,_0x492df4;const _0x2698e3=this[_0xf6fe0e(0x36c)][_0xf6fe0e(0x265)]();if(!_0x2698e3)throw new Error(_0xf6fe0e(0x147));const _0x155e1e=((_0x3222f7=this['_configService'][_0xf6fe0e(0x14e)](_0x792235[_0xf6fe0e(0x380)]))!=null?_0x3222f7:_0x792235['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3f5fd0+_0xf6fe0e(0x3fb)+_0x5aadaf,_0x2b5d6a=new URL(window[_0xf6fe0e(0x416)]['href']),_0x4f46db={'scriptId':_0x3f5fd0,'runId':(_0x5af4ce=_0x2b5d6a[_0xf6fe0e(0x171)][_0xf6fe0e(0x1a2)]('runId'))!=null?_0x5af4ce:'','function':_0x5aadaf,'unitId':_0x2698e3[_0xf6fe0e(0x192)](),'argsOfFunction':JSON[_0xf6fe0e(0x1aa)](_0x5a3553),'invokeId':(_0x3fcd40=_0x5a32ca[_0xf6fe0e(0x311)])!=null?_0x3fcd40:'','executionId':(_0x492df4=_0x5a32ca[_0xf6fe0e(0x3d4)])!=null?_0x492df4:''};try{const _0x4984da=await this[_0xf6fe0e(0x3b3)][_0xf6fe0e(0x257)](_0x155e1e,{'body':_0x4f46db});return _0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)]&&_0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)][_0xf6fe0e(0x378)]!==_0x36c5dc['OK']?_0xf6fe0e(0x285):_0x4984da[_0xf6fe0e(0x1a0)]['result'];}catch{return'Failed';}}},_0x44f94a[_0x151804(0x2d0)]=_0x218c89([_0x1e0626(0x0,_0x4b903d[_0x151804(0x342)]),_0x1e0626(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x1e0626(0x2,_0x4b903d['IConfigService'])],_0x44f94a[_0x151804(0x2d0)]);const _0x12fa25=0x7530,_0x29a1d4=_0x151804(0x13d);class _0x1e7a25 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0x39a6e6=_0x151804;super(),_0x198f8a(this,_0x39a6e6(0x359),_0x4b903d[_0x39a6e6(0x24b)]()),_0x198f8a(this,_0x39a6e6(0x33c),new Set()),_0x198f8a(this,_0x39a6e6(0x3b1),new Map()),_0x198f8a(this,_0x39a6e6(0x1b4),null),_0x198f8a(this,_0x39a6e6(0x1b5),new Map()),_0x198f8a(this,'_unitStatus',new Map()),this[_0x39a6e6(0x1b2)]();}[_0x151804(0x2b9)](){const _0x12e693=_0x151804;super[_0x12e693(0x2b9)](),this[_0x12e693(0x1b5)][_0x12e693(0x293)]((_0x5dfdfe,_0x70ea09)=>this['_removeClearOtherTimer'](_0x70ea09)),this[_0x12e693(0x1b4)]&&window[_0x12e693(0x19e)](this[_0x12e693(0x1b4)]);}[_0x151804(0x26a)](_0x36d58a){const _0x2039b1=_0x151804;return this[_0x2039b1(0x41d)](_0x36d58a)[_0x2039b1(0x2cc)](_0xdde2a6['distinctUntilChanged']());}[_0x151804(0x403)](_0x32c162){const _0x39e977=_0x151804;this['_selfUnitIDs'][_0x39e977(0x2fd)]===0x0&&this[_0x39e977(0x29e)](),this[_0x39e977(0x33c)][_0x39e977(0x14a)](_0x32c162),this[_0x39e977(0x16a)]({'type':0x0,'memberID':this[_0x39e977(0x359)],'unitIDs':[_0x32c162],'isForwarded':!0x1});}['disposeUnit'](_0x19dd41){const _0x360547=_0x151804;this[_0x360547(0x33c)]['delete'](_0x19dd41),this[_0x360547(0x33c)][_0x360547(0x2fd)]===0x0&&this[_0x360547(0x1b4)]&&window['clearInterval'](this[_0x360547(0x1b4)]);}[_0x151804(0x1b2)](){const _0x319969=_0x151804;this[_0x319969(0x2f8)](_0x4b903d[_0x319969(0x402)](_0xdde2a6['fromEvent'](window,'storage')[_0x319969(0x24d)](_0x5c8a6c=>{const _0x15dadd=_0x319969;if(_0x5c8a6c['key']!==_0x29a1d4||!_0x5c8a6c[_0x15dadd(0x2f6)])return;const _0x20ac6a=JSON['parse'](_0x5c8a6c[_0x15dadd(0x2f6)]);this[_0x15dadd(0x1e2)](_0x20ac6a);}))),window['addEventListener'](_0x319969(0x3c0),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x319969(0x2bd)](this['_selfUnitIDs'])}));}[_0x151804(0x1e2)](_0x424023){const _0x1883b0=_0x151804;switch(_0x424023[_0x1883b0(0x276)]){case 0x0:this[_0x1883b0(0x290)](_0x424023);break;case 0x1:this[_0x1883b0(0x33b)](_0x424023);break;case 0x2:this[_0x1883b0(0x205)](_0x424023);break;}}['_handleJoinEvent'](_0x5030e7){const _0x46e15e=_0x151804,{unitIDs:_0x53760f,memberID:_0x3e178a,isForwarded:_0x409445}=_0x5030e7;_0x53760f['forEach'](_0x121148=>{const _0x5f0bbe=_0x533d;if(!_0x409445&&this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)&&this[_0x5f0bbe(0x41d)](_0x121148)[_0x5f0bbe(0x3ef)](_0x792235[_0x5f0bbe(0x3a7)][_0x5f0bbe(0x372)]),!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)||!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x1a2)](_0x121148)['has'](_0x3e178a)){const _0x5845aa=this['_unitOnClients'][_0x5f0bbe(0x1a2)](_0x121148)||new Set();_0x5845aa['add'](_0x3e178a),this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x2d7)](_0x121148,_0x5845aa),this[_0x5f0bbe(0x234)](_0x3e178a);}}),_0x409445||this['_send']({'type':0x0,'memberID':this[_0x46e15e(0x359)],'unitIDs':[...this[_0x46e15e(0x33c)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x9f3efd){const _0x29fe78=_0x151804;this[_0x29fe78(0x2c0)](_0x9f3efd);const _0x1d6389=window[_0x29fe78(0x3e5)](()=>{const _0x239fc1=_0x29fe78;this['_unitOnClients'][_0x239fc1(0x293)](_0x5b958f=>{const _0x178594=_0x239fc1;_0x5b958f[_0x178594(0x312)](_0x9f3efd);});},_0x12fa25*0x2);this[_0x29fe78(0x1b5)][_0x29fe78(0x2d7)](_0x9f3efd,_0x1d6389);}[_0x151804(0x2c0)](_0x197021){const _0x635a=_0x151804;if(this[_0x635a(0x1b5)][_0x635a(0x326)](_0x197021)){const _0x3238ce=this['_clearOtherTimers']['get'](_0x197021);_0x3238ce&&window[_0x635a(0x40a)](_0x3238ce),this[_0x635a(0x1b5)]['set'](_0x197021,null);}}[_0x151804(0x33b)](_0x1b1de7){const _0x5c4acf=_0x151804,{memberID:_0x35d6b5,unitIDs:_0x1d4692}=_0x1b1de7;_0x1d4692[_0x5c4acf(0x293)](_0x58c00b=>{const _0x102ab3=_0x5c4acf;var _0x12d519;const _0x4325a3=this['_unitOnClients'][_0x102ab3(0x1a2)](_0x58c00b);_0x4325a3&&(_0x4325a3[_0x102ab3(0x312)](_0x35d6b5),(_0x12d519=this[_0x102ab3(0x41d)](_0x58c00b))==null||_0x12d519[_0x102ab3(0x3ef)](_0x4325a3[_0x102ab3(0x2fd)]===0x0?_0x792235[_0x102ab3(0x3a7)]['NO_OTHER_CLIENTS_EDITING']:_0x792235[_0x102ab3(0x3a7)][_0x102ab3(0x372)]));}),this[_0x5c4acf(0x2c0)](_0x35d6b5);}['_handleHeartbeatEvent'](_0x506b98){const _0x137de3=_0x151804;this[_0x137de3(0x234)](_0x506b98['memberID']);}[_0x151804(0x16a)](_0x45b5b1){const _0x4133da=_0x151804;localStorage['setItem'](_0x29a1d4,JSON[_0x4133da(0x1aa)](_0x45b5b1));}[_0x151804(0x29e)](){const _0x100bd9=_0x151804;this[_0x100bd9(0x1b4)]=window['setInterval'](()=>{const _0x18201b=_0x100bd9;this[_0x18201b(0x16a)]({'type':0x2,'memberID':this[_0x18201b(0x359)]});},_0x12fa25);}[_0x151804(0x41d)](_0x229923){const _0x16b3c4=_0x151804;return this[_0x16b3c4(0x406)][_0x16b3c4(0x326)](_0x229923)||this[_0x16b3c4(0x406)][_0x16b3c4(0x2d7)](_0x229923,new _0xdde2a6[(_0x16b3c4(0x2f9))](_0x792235[_0x16b3c4(0x3a7)][_0x16b3c4(0x2e7)])),this[_0x16b3c4(0x406)][_0x16b3c4(0x1a2)](_0x229923);}}_0x44f94a[_0x151804(0x3d9)]=_0x1c59a7,_0x44f94a[_0x151804(0x361)]=_0x105416,_0x44f94a[_0x151804(0x157)]=_0x1e7a25,_0x44f94a[_0x151804(0x2cd)]=_0x551a25,Object['defineProperty'](_0x44f94a,Symbol[_0x151804(0x1f3)],{'value':_0x151804(0x151)});}));function _0x4307(){const _0x1f45f1=['ALREADY_EXISTS','_cursorShapes','_draw','_updateSubUnitFromURLParams','has','function','PERMISSION_DENIED','0\x200\x2017\x2016','getRenderById','svg','YUUMI_RATE_OVER_LIMIT','990AFCeXy','ICommandService','addClipboardHook','unit','handleIRemoveRow','defIds','getUnit','_refreshCollabCursors','Plugin','_initEvent','_clearPolling','_logService','_checkCalculationAvailable','entityInit$','_handleLeaveEvent','_selfUnitIDs','bottom','getColorFromTheme','UniverDrawing','_getSessionTicket','_getScale','IUniverInstanceService','handleInsertCol','@univerjs/design','_getAnchorBounding','LOGIN_TOKEN_PROCESSING_FAILED','_getSaveTimeout','UNAUTHENTICATED','_hover','_shapes','_docSkeletonManagerService','CollaborationUIEventService','mutations','collab-text-range-','loadUnit','NodePositionConvertToCursor','application/json','_localStorageService','onMouseMove','ENTITLE_NEED_BILLING_ADDRESS','width','_docTransformIMECacheService','onPointerEnter$','transformStateCache','_id','onPointerLeave$','_startCalculationLimit','redoState','RxDisposable','white','ColorKit','getCurrentUnitForType','SheetCollabCursorShape','doc.mutation.rich-text-editing','1XPYPoh','url(#off-line-icon_clip0_910_343)','defs','releaseFormulaLimitUrl','idSuffix','_scheduleSaving','getVpScrollXYInfoByPosToVp','backgroundColor','unitID','_instanceService','includes','forwardRef','_refRangeService','colno','unhandledrejection','OTHER_CLIENTS_EDITING','isArray','_maxFormulaLimit','_imageIoService','formula.calculation.unable','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','code','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','getRangePointData','createInstance','url(#on-line-icon_clip0_910_349)','univerjs-icon\x20univerjs-icon-','CollaborationSocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cachedData','setUndoRedoMutationParamsCache','_syncEditingCollabCursorService','UniverSheetsUi','fill','max','INVALID_INVITE_CODE','div','all','APPLY_DUPLICATED','_session','DeleteRangeMoveUpCommandId','dirtyRanges','handleDeleteRangeMoveUp','loadOfflineData','_initCommandExecutedListener','_memberID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OTHER_CLIENT_EDITING','find','Tools','SOCKET_FAILED','UniverProCollaborationClientUi','_memberService','_initUnhandledRejectionListener','contains','then','colorChannel1','urlChange$','getSkeleton','APPLY_REJECT','_messageService','_taskIds','_themeService','SHEET_VIEWPORT_KEY','findNodePositionByCharIndex','origin','#FFF','UnitStatus','formula.calculation.waiting','MUTATION','ITransformService','[LogService\x20Error]:\x20','_setFormulaLimitStatus','off-line-icon','RemoveRowCommandId','transformByState','history','_unitOnClients','init','_httpService','React','stack','YUUMI_CONNECTOR_URL_NOT_FOUND','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','_beforeCloseService','_hideTimer','send','addEventListener','_renderManagerService','_getSheetObject','_uploadLog','unload','_range','_assignedColors','DocSkeletonManagerService','MessageType','_color','COMPLETION_FINISHED','onLocalMutation','ENTITLE_USE_COUPON_NOT_1ST_TRADE','isTransformMutationFailure','WECHAT_HAS_BEEN_BOUND','moveTo','getSheetBySheetId','UniverEngineRender','ThemeService','21AHKcII','_dataLoaderService','REDEMPTION_INVALID_CODE','addObjects','sheetID','executionId','beforeCommandExecuted','hovered','message','syncEditingCollabCursor','IURLService','touchDependencies','collaboration.offline-data-not-saved','RECT','INVITE_CODE_REQUIRED','LocaleService','NOT_FOUND','_backgroundColor','_collabSessionService','getCellPositionByOffset','entries','on-line-icon_clip0_910_349','setTimeout','assign','length','amd','getParam','REDEMPTION_CODE_NOT_STARTED','join','onTransformChange$','deepClone','text','next','getCurrent','HTTPService','blue.400','getAncestorScale','measureText','connectInjector','transform','setAlpha','_setupBeforeClosingHandler','YUUMI_URL_COL_OUT_OF_RANGE','INTERNAL_ERROR','/run/','operators','executeCommand','split','PY_RUNTIME_SCRIPT_ERROR','USER_NOT_FOUND','Rectangle','toDisposable','editingUnit','_monkeyPatchLogService','_lastPointer','_unitStatus','[CollaborationDataLoaderController]','getTypeOfUnitAdded$','_updateURLWithCurrentState','clearTimeout','substring','url(#$1','green.600','_docTransformStateCacheService','data','_injector','FromArray','createIdentifier','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','focused$','_startSheetCollabCursor','location','_updateCollabCursors','getOffsetConfig','transformIMECache','_initResize','toString','CONFLICT','_ensureSubject','subUnitId','_docSyncEditingCollabCursorService','subunit','InsertRangeMoveRightCommandId','DocCollaborationEntity','complete','LICENSE_EXPORT_SIZE_EXCEEDED','_scene','_context','DATA_SOURCE_TOO_LARGE','ACTIVE_UNIT_EVENT_CHANNEL','triggerDblclick','REDEMPTION_CODE_FULLY_REDEEMED','_colorIndex','?taskId=','_entityInit$','_doCreateSocket','enableLocalCache','_getMergeRange','_textBubble','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_REVISION_CONFILICT','REDEMPTION_CODE_INACTIVE','add','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','session.connection-failed','runOnServer','getConfig','stage','SetWorksheetActivateCommand','Module','pushState','LICENSE_MAX_UNITS_EXCEEDED','collab-text-anchor-','registerRenderModule','DisposableCollection','WebBrowserSingleActiveUnitService','useCallback','CollaborationUIEventId','string','event$','roomMembers$','startColumn','IUIPartsService','DependentOn','restore','collabStatus.offline','Shape','defineProperty','Tooltip','YUUMI_UNABLE_LOAD_URL','RemoveColCommandId','CollaborationSessionService','currentTheme$','getActiveSheet','_send','_collaborationSessionService','2966337mySpKM','SOCKET_FAILED_RETRY','off-line-icon_clip0_910_343','HEADER_MENU','getCellMatrix','searchParams','[Unhandled\x20Rejection]:\x20','textRanges','setParam','InsertColCommandId','Disposable','getActiveRange','UniverCollaborationClientPlugin','_labelPosition','42lzcPDT','useDependency','CollaborationStatus','getLocalCacheKey','hide','_handleHover','_anchor','CONNECTOR_DATA_TOO_LARGE','filter','UniverDocs','unshift','@univerjs/sheets','href','_applyCommand','REDEMPTION_USER_NOT_ELIGIBLE','MemberService','getUndoRedoMutationParamsCache','UniverCore','_config','Inject','children','purple.300','TEXT','_toggleOnline','getUnitId','_onCursorUpdate','ticket','CanceledError','getUniverSheetInstance','xlink:href','UniverInstanceType','554706RqQdGQ','_saveTaskMap','memberID','_sheetSkeletonManagerService','SNAPSHOT_INVALID_SNAPSHOT','clearInterval','_initWindowErrorListener','body','yellow.400','get','some','_collabCursorState$','asObservable','useObservable','onStarting','m1Prime','unitId','stringify','_drawRectRange','isFormulaString','combineLatest','_docTransformSelectionsService','@univerjs/ui','totalFormulasToCalculate','ENTITLE_DUP_SUBSCRIPTION','_init','getUnhiddenWorksheets','_heartbeatTimer','_clearOtherTimers','with','IDocClipboardService','registerBeforeClose','UNIVER_DOC','getViewport','_startDocCollabCursor','actions','_hovered','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','cursorInfo','collabStatus.synced','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','runId','Optional','UNRECOGNIZED','_commandService','debounceTime','round','flatMap','unsubscribe','params','USER_IS_ANONYMOUS','min','mask','color','ISnapshotServerService','exhaustSavingTask','save','ENTITLE_COUPON_USED_UP','ILogService','reconnect','getCoordByCell','fromEvent','reason','startRow','_urlService','jiqing.500','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initStatusListener','NodePositionConvertToRectRange','current','_drawTextRange','IMessageService','_handleEvent','getSheetObject','_getFormulaLimitStatus','handleInsertRangeMoveRight','LOCAL_CACHE_INTERVAL','rgba(255,\x20255,\x20255,\x200.01)','_cursor','OFFLINE','currentSkeleton$','push','[Window\x20Error]:\x20','getSheetId','RefRangeService','black','FETCH_MISS','APPLY_NON_SEQUENTIAL_REVISION','START_CALCULATION','toStringTag','sessionStatus$','1481104SfAxqi','DOC_RANGE_TYPE','collaboration.closeRoom','endRow','ENTITLE_REPORT_LIMIT_EXCEED','replaceDocRanges','saveTaskMap','path','isActive','_roomMembers$','isTransformMutationsWithChangesetSuccess','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverDocsUi','@univerjs/drawing','LOGIN_FAILED','DocIMEInputManagerService','_handleHeartbeatEvent','column','permission.content','handleMoveRange','@univerjs/rpc','INVITE_CODE_HAS_BEEN_UES','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setItem','now','subscribeEvent','whenReady','SNAPSHOT_HAS_BEEN_REMOVED','USERS_LEAVE','57501dmabcy','@univerjs-pro/collaboration','switchMap','imageSourceType','@univerjs/docs-ui','throttleTime','registerComponent','CollaborationEvent','_transformService','attrs','ENTITLE_INSUFFICIENT_QUOTA','_onRefRangeChange','USER_NOT_INVITED_CODE','UNIVER_SHEET','RichTextEditingMutation','_initEntityListener','_revisionService','addHandlerCallback','_univerInstanceService','_collaborationUIEventService','SessionStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','maxFormulaLimit','Workbook','formula.calculation.started','roomMembers','_docStateChangeManagerService','_transformUndoRedoStack','DocSelectionManagerService','collabStatus.conflict','red.300','closePath','_showGuardMessage','SetFormulaCalculationNotificationMutation','_scheduleClearOtherTimer','fillStyle','getStateCache','_registerDependencies','FormulaExecutedStateType','createElement','clipPath','fillText','RegularPolygon','YUUMI_ASYNCIO_CANCELLED','takeUntil','AWAITING','_transformPreviousActiveRange','_pollingInterval','1570540ABCoSF','Rect','transformMutation','functionsExecutedState','toRgbString','height','getMemberID','_cursors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','generateRandomId','Unknown\x20user','subscribe','source','createSocket','lineTo','_status$','_uiPartsService','evenodd','UniverProCollaboration','catch','@univerjs/docs','post','random','collabStatus.notCollab','CHANGESET_REVISION_CONFILICT','m2Prime','InsertRangeMoveDownCommandId','UniverDesign','limitInfo','JOIN_ROOM_FAILED','translate(.97)','...','isEditing','_online','YUUMI_NO_CUBOID_FOR_QUESTION','getFocusedUnit','_removeCollabCursors','_saveCache','_collaborationController','_initUserListener','getUnitStatus$','font','currentColor','fromEventSubject','updateOfflineData','ENTITLE_CHAT_LIMIT_EXCEED','_currentUsage','getMergeData','SUCCESS','transformMutationsWithChangeset','debug','setStateCache','type','getOwnPropertyDescriptor','CollaborationDataLoaderController','/universer-api/license/formula/limit/done','TOO_MANY_REQUESTS','values','currentUsage','_document','session.will-retry','69670SfFGvj','onCommandExecuted','IConfigService','_cursorInfo$','NOT_COLLAB','UNDEFINED','Failed','UniverRpc','1em','BrowserCollaborationSocketService','addObject','tag','_lastResponseTimestamp','getCollabCursors$','Injector','UniverSheets','MOBILE_VERIFY_CODE_MISMATCH','_handleJoinEvent','COLORS','_toggleOffline','forEach','endColumn','SetDocZoomRatioOperation','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Success','ERROR_AGAIN','_eventUnsubscribe','ENTITLE_COUPON_EXPIRED','UniverIcon','@univerjs-pro/collaboration-client','getCurrentRevOfUnit','_scheduleHeartbeat','cursorInfo$','status$','Error','map','getMember','drawWith','WebSocketService','@univerjs/sheets-ui','resize','ENSURE_SNAPSHOT_EXECUTION','Loading','getColor','_hasFormulaInDirtyRanges','debounce','selections','SetFormulaCalculationStartMutation','selection','rxjs','UPDATE_CURSOR','sheetId','removeEventListener','lineno','INVITE_CODE_ALREADY_BOUND','_checkAndWaitForCalculationPermission','eventID','transformSelections','dispose','registerRefRange','collabCursorState$','_docClipboardService','from','APPLY_PERMISSION_DENIED','SetTextSelectionsOperation','_removeClearOtherTimer','_anchorDot','setShapeProps','UniverCollaborationClientUIPlugin','row','disableLocalCache','LOCAL_CACHE_INTERVAL_KEY','enableFrontendLog','saveImage','fillRule','getTypeOfUnitDisposed$','univer-mr-2\x20univer-flex\x20univer-text-xl','pipe','WebURLService','DesktopCollaborationStatusDisplayController','_name','RemoteUniscriptService','skeleton','setActiveRange','_initCommandInterceptor','show','getCurrentSelections','name','set','object','_createSocketURL','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','_initDependencies','range','replace','handleDeleteRangeMoveLeft','_updateLocalCursor','MoveRangeCommandId','PENDING','_releaseCalculationLimit','labelPosition','_notificationService','LICENSE_DISTRO_REJECTED','jsx','NO_OTHER_CLIENTS_EDITING','stageInfo','exports','_entities','_collabCursorController','EMAIL_HAS_BEEN_BOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','ENTITLE_INVALID_COUPON_CODE','dispose$','YUUMI_SUBSCRIPTION_NOT_FOUND','REDEMPTION_USER_REDEEM_TIMES_EXCEED','INotificationService','handleInsertRangeMoveDown','TEXT_RANGE_LAYER_INDEX','transformRemoteChangeset','newValue','UniverNetwork','disposeWithMe','BehaviorSubject','IRenderManagerService','replaceState','_onCursorDelete','size','285147NgoZnr','error','getRelativeToViewportCoord','EMAIL_VERIFY_CODE_MISMATCH','use','MOBILE_HAS_BEEN_BOUND','_localeService','_transformHistoryAndStateStack','_localCacheService','ranges','Warning','useRef','deserializeRangeWithSheet','collabStatus.syncing','mergeOverrideWithDependencies','ENTITLE_CAN_NOT_BUY_LOWER_OTP','merge','isFormulaId','onRendered','invokeId','delete','getValue','handleInsertRow','makeDirty','_configService','trim','displayName','_render','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','EffectRefRangId','_registerRenderDependencies','_drawAnchor','M0\x200H16V16H0z','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DocStateChangeManagerService','INVALID_ARGUMENT'];_0x4307=function(){return _0x1f45f1;};return _0x4307();}
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- (function(_0x4d833f,_0x1916bc){var _0x10d2f4=_0x32cf,_0x1cc653=_0x4d833f();while(!![]){try{var _0x3d790e=parseInt(_0x10d2f4(0x1d1))/0x1+-parseInt(_0x10d2f4(0x1c5))/0x2*(-parseInt(_0x10d2f4(0x1d7))/0x3)+parseInt(_0x10d2f4(0x1cb))/0x4*(-parseInt(_0x10d2f4(0x1c6))/0x5)+-parseInt(_0x10d2f4(0x1c8))/0x6*(-parseInt(_0x10d2f4(0x1d8))/0x7)+-parseInt(_0x10d2f4(0x1cd))/0x8+parseInt(_0x10d2f4(0x1d0))/0x9*(-parseInt(_0x10d2f4(0x1d9))/0xa)+-parseInt(_0x10d2f4(0x1da))/0xb*(-parseInt(_0x10d2f4(0x1dc))/0xc);if(_0x3d790e===_0x1916bc)break;else _0x1cc653['push'](_0x1cc653['shift']());}catch(_0x216eb3){_0x1cc653['push'](_0x1cc653['shift']());}}}(_0x1ead,0x3c413),function(_0x3811a6,_0x172d46){var _0x120431=_0x32cf;typeof exports==_0x120431(0x1d6)&&typeof module<'u'?_0x172d46(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x120431(0x1ca)&&define[_0x120431(0x1d4)]?define([_0x120431(0x1ce),_0x120431(0x1cf)],_0x172d46):(_0x3811a6=typeof globalThis<'u'?globalThis:_0x3811a6||self,_0x172d46(_0x3811a6[_0x120431(0x1d5)],_0x3811a6[_0x120431(0x1d3)]));}(this,function(_0x5b2503,_0x4d977a){'use strict';var _0x473043=_0x32cf;class _0x52359a extends _0x4d977a[_0x473043(0x1db)]{[_0x473043(0x1c9)](_0x2a1e74,_0x4f2e3a,..._0x530a28){var _0x4903e5=_0x473043;return this[_0x4903e5(0x1c7)][_0x4903e5(0x1cc)](_0x5b2503['RemoteUniscriptService'])['runOnServer'](_0x2a1e74,_0x4f2e3a,{},..._0x530a28);}}_0x4d977a[_0x473043(0x1db)][_0x473043(0x1d2)](_0x52359a);}));function _0x32cf(_0x34a1af,_0x573fd5){var _0x1eadbe=_0x1ead();return _0x32cf=function(_0x32cfb0,_0xef8495){_0x32cfb0=_0x32cfb0-0x1c5;var _0x840ccf=_0x1eadbe[_0x32cfb0];return _0x840ccf;},_0x32cf(_0x34a1af,_0x573fd5);}function _0x1ead(){var _0x5c49c4=['2308tAMHOL','get','1717592Uvdstf','@univerjs-pro/collaboration-client-ui','@univerjs/core/facade','870615ruUoxI','284439OLrDey','extend','UniverCoreFacade','amd','UniverProCollaborationClientUi','object','19194uSlVWd','56QdmHDl','50fXCSCX','22yFOVaw','FUniver','3288432csUXAb','116PnthMq','2770sjPBMd','_injector','45930WLrYbU','runOnServer','function'];_0x1ead=function(){return _0x5c49c4;};return _0x1ead();}
11
+ function _0x4dcf(_0x2df2b5,_0x527874){_0x2df2b5=_0x2df2b5-0x1dd;var _0x1e0dcd=_0x1e0d();var _0x4dcfdf=_0x1e0dcd[_0x2df2b5];return _0x4dcfdf;}(function(_0x3e9f3f,_0x5492a9){var _0x576ffd=_0x4dcf,_0x22abf3=_0x3e9f3f();while(!![]){try{var _0x583033=-parseInt(_0x576ffd(0x1e6))/0x1*(-parseInt(_0x576ffd(0x1e9))/0x2)+parseInt(_0x576ffd(0x1e5))/0x3+-parseInt(_0x576ffd(0x1ea))/0x4*(-parseInt(_0x576ffd(0x1e1))/0x5)+parseInt(_0x576ffd(0x1e7))/0x6*(-parseInt(_0x576ffd(0x1ef))/0x7)+-parseInt(_0x576ffd(0x1f0))/0x8+parseInt(_0x576ffd(0x1e2))/0x9+parseInt(_0x576ffd(0x1eb))/0xa;if(_0x583033===_0x5492a9)break;else _0x22abf3['push'](_0x22abf3['shift']());}catch(_0x4f77f5){_0x22abf3['push'](_0x22abf3['shift']());}}}(_0x1e0d,0x96c4c),function(_0x12cc6f,_0x3b302b){var _0xe17fe6=_0x4dcf;typeof exports==_0xe17fe6(0x1dd)&&typeof module<'u'?_0x3b302b(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0xe17fe6(0x1e0)&&define[_0xe17fe6(0x1ee)]?define(['@univerjs-pro/collaboration-client-ui',_0xe17fe6(0x1e8)],_0x3b302b):(_0x12cc6f=typeof globalThis<'u'?globalThis:_0x12cc6f||self,_0x3b302b(_0x12cc6f['UniverProCollaborationClientUi'],_0x12cc6f[_0xe17fe6(0x1e3)]));}(this,function(_0x4d67f2,_0x214a18){'use strict';var _0x542dcd=_0x4dcf;class _0x1e86d5 extends _0x214a18[_0x542dcd(0x1ec)]{['runOnServer'](_0x5c9521,_0x35d162,..._0x4e283a){var _0x4d0535=_0x542dcd;return this[_0x4d0535(0x1df)][_0x4d0535(0x1ed)](_0x4d67f2[_0x4d0535(0x1de)])[_0x4d0535(0x1e4)](_0x5c9521,_0x35d162,{},..._0x4e283a);}}_0x214a18[_0x542dcd(0x1ec)]['extend'](_0x1e86d5);}));function _0x1e0d(){var _0x25fb95=['5rbgxCJ','4310937rLWWKB','UniverCoreFacade','runOnServer','815772eeBazi','900449gjVAFS','6GhkAZW','@univerjs/core/facade','2uhiCRo','2039836kRxSyB','4379340aJleKU','FUniver','get','amd','6333047swomuh','8615920VbLDEl','object','RemoteUniscriptService','_injector','function'];_0x1e0d=function(){return _0x25fb95;};return _0x1e0d();}
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"})}));