@univerjs/preset-sheets-collaboration 0.12.4-experimental.20251211-e01e32a → 0.12.4-insiders.20251212-6c41730

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,23 +1,23 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x49c3(){var _0x403216=['[CollaborationSessionService]:\x20socket\x20error','_redoStacks','c1Prime','LocaleService','LICENSE_DISTRO_REJECTED','SUBMIT_CHANGESET_TIMEOUT','fromCollab','next','hasOwnProperty','CollaborationStatus','_emitMembers','__esModule','_waitCount','sin','YUUMI_ASYNCIO_CANCELLED','?url=','liveShareOperation','_onJoinRoomEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_keySchedule','[CollaborationSession]','Univer','_getLoginPath','SetSelectionsOperation','_transformRemoteChangesetByStateCache','_submitChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_unitInfo$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','parseProtocolChangeset','loadUnitOfRevision','RxDisposable','originalMeta','getCurrentRevOfUnit','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_commentService','NOT_FOUND','charCodeAt','PY_RUNTIME_SCRIPT_ERROR','AwaitingState','every','IUniverInstanceService','routeKey','joinEvent','setConfig','SNAPSHOT_URL_KEY','onSendChangeset','amd','_waitForHeartbeatResponse','HTTPRequest','toStringTag','requireSession','_removeRoom','_state','_collabSessionService','hasher','updateMember','SNAPSHOT_INVALID_SNAPSHOT','override','executeCommand','_sheetTransformSelectionsService','onLocalMutation','OfflineState','LIVESHARE_TERMINATE','SessionStatus','IAuthzIoService','_event$','_applyRemoteChangeset','_collaborationSessionService','registerDependencies','EvpKDF','HEARTBEAT_INTERVAL','_getUploadFileURL','_transformStack','roles','getTypeOfUnitAdded$','method','ENTITLE_DUP_SUBSCRIPTION','MUTATION','disableLocalCache','key','_onConflict','YUUMI_ALL_TABLES_IS_INVALID','fetchMissingChangesets','_scheduleCompleteTimestamp','\x0aAfter:\x20','/new_changes','[CollaborationSessionService]','getWorkbookSelections','_unlockTransition','4202723bzGhvr','downloadEndpointUrl','_initRequestHeader','onRemoteChangeset','EMAIL_HAS_BEEN_BOUND','patch','UniverCollaborationPlugin','_getSendChangesetTimeout','_commentUpdate$','encrypt','sid','getLatestCsReqIdBySid','subscribe','_invKeySchedule','updateOfflineData','delay','UnitSnapshot','_socketMessageSubscription','_resendTimeout','getImageSourceCache','length','APPLY_PERMISSION_DENIED','_ENC_XFORM_MODE','file','ONLINE','_tryEnsureSocket','clamp','image/jpg','BehaviorSubject','_iKey','resend','_doReset','NO_OTHER_CLIENTS_EDITING','YUUMI_UNABLE_LOAD_URL','decrypt','loadUnit','m2Prime','UnitStatus','_startTelemetryCollaborationNewChangeset','_iv','_decreaseWaiting','?size=','compute','AwaitingWithPendingState','UNIVER_UNKNOWN','push','_pendingMutations','image/png','/-/object/-/batch_allowed','HTTPService','_revisionService','set','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unpad','_fetchMissChangesets','REDEMPTION_CODE_INACTIVE','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','min','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','RETRY_CONNECTING_MAX_COUNT_KEY','_exhaustRemoteChangesetQueue','ERROR_EXCEED_SIZE','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_REJECT','/-/object/list','MOBILE_VERIFY_CODE_MISMATCH','_queuedRemoteChangesets','from','getImage','_onRemoteChangeset','ENTITLE_INSUFFICIENT_QUOTA','_lockTransition','People','_nDataBytes','origin','UniverNetwork','Cipher','rxjs/operators','AES','/universer-api/file/{fileID}/sign-url','symbol','getMember','splice','pending','format','auth.needGotoLoginAlert','_rescheduleHeartbeat','RETRY_CONNECTING_MAX_COUNT','error$','session.join-failed','_roomMembers','_doFinalize','event$','DEFAULT_COLLAB_WEB_SOCKET_URL','CHANGESET_REVISION_CONFILICT','_resendWithTimeout','transformChangesets','readyForCollab','salt','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','cmd','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createSocket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','focused$','Decryptor','_permissionService','WECHAT_HAS_BEEN_BOUND','MSG_FOR_ERROR','_process','getSnapshotAPIPath','_acknowledgedAwaitingChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','socket\x20close','CLOSE_ROOM','src','ReplaySubject','WordArray','takeUntil','/unit/','setShowComponents','Undefined','add','put','_status$','LEAVE','AuthzIoHttpService','_updateState','send','floor','getUnitType','ICommandService','ivSize','CBC','session','_scheduleCollaborationTimeoutTimer','loginUrlKey','liveShareNewHost','prototype','snapshot','addImageSourceCache','@univerjs-pro/collaboration','delete','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','default','duration','submit\x20changeset\x20error!','[SyncedState]:\x20received\x20acknowledgement.','_transitionLocked','CHANGESET_SHOULD_RETRY','_entityInit$','JOIN_ROOM_PERMISSION_DENIED','/universer-api/snapshot','dispose$','FetchingMissState','find','_univerInstanceService','reqId','call','BufferedBlockAlgorithm','_singleActiveUnitService','toDisposable','ConflictState','_clearHeartbeatTimer','/rev/','transformSelections','pad','_DEC_XFORM_MODE','deleteCollaborator','Base','USERS_LEAVE','ISocketService','asObservable','Quantity','COMPRESS_MUTATION_APPLY','mode','SOCKET_FAILED','registerHTTPInterceptor','DocCollaborationEntity','339162oDNKqt','init','Encryptor','_remoteChangesetQueue','createInstance','GLOBAL_ROOMS_CNT_EXCEEDS','collabSubmitChangesetUrl','DependentOn','addHandlerCallback','_isPermissionRej','concatMap','merge','USERS_ENTER','now','ENTITLE_USE_COUPON_NOT_1ST_TRADE','BlockCipherMode','Optional','sessionStatus','SerializableCipher','_clearRetryConnectingTimer','_retryCount','HEARTBEAT_TIMEOUT','_checkMissing','_onOffline','_unitID','_initDependencies','saveChangeset','editing\x20status\x20changed\x20to','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_imageSourceCache','avatar','HELLO','emitEvent','state$','PendingState','UniverNetworkPlugin','loadDoc','JOIN_ROOM_FAILED','_userManagerService','isTransformMutationsWithChangesetFailure','_onLocalMutation','@univerjs/telemetry','_state$','HmacMD5','stopTime','CollaborationSession','_parse','Base64','_replayCachedMutations','PasswordBasedCipher','UniverProCollaborationClient','_telemetryInfo','actions','_substituteUndoStack','_replaceFileID','__splitChunk__','reconnect','encode','name','collaborators','onMissedChangesetFetched','_transformService','[OfflineState]:\x20received\x20acknowledgement.','WorkbookEditablePermission','reverse','allowed','_syncEditingCollabCursor','_createHmacHelper','CollaborationSocketService','_map','CompressMutationService','__creator','onMissingChangesets','_toggleOffline','getUnitId','open$','crypto','processBlock','INVITE_CODE_ALREADY_BOUND','SheetTransformSelectionsService','_logService','interceptor','lib','UNIVER_SHEET','_collaborationTimeoutTimer','_registerDependencies','_retryConnectingTimer','exports','TOO_MANY_REQUESTS','textRanges','getInterceptPoints','join','324ZPAIKe','UniverProLicense','_shouldReportTelemetry','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_onFetchMissResult','byteLength','unitInfo$','eventID','RevisionService','close$','IPermissionService','putCollaborators','session.room-not-exists','iterations','rxjs','resolve','append','waitForRoom$','commentUpdate$','transformStack\x20failed!','DEFAULT_FILE_NAME','_createHandler','UNISCRIPT_RUN','shouldCloseConn','enableCollaboration','image/gif','_change$','withCredentials','YUUMI_URL_COL_OUT_OF_RANGE','unitId','EMAIL_VERIFY_CODE_MISMATCH','/universer-api/authz','onSyncEditingCollabCursor','FETCH_MISS','title','CHANGESET_ACK','_handlerCallback','awaiting_with_pending','getValue','ciphertext','SyncedState','DEFAULT_WS_SESSION_TICKET_URL','_changesetSessionId','map','_entities','changesets','LOCAL_CACHE_INTERVAL','parse','updatePermissionObjEvent','REDEMPTION_USER_REDEEM_TIMES_EXCEED','commentUpdateEvent','mergeOverrideWithDependencies','_doCreateSocket','_undoRedoService','_joinRoom','_timeoutTimer','JOIN','_createHelper','blockSize','UniverDocs','onTransformState','20471508qSUVZO','_snapshotServerService','data','sessionStatus$','unknown','getCurrentSelections','JOIN_ROOM_FULL','objectID','decryptBlock','baseRev','_members$','_nRounds','_snapshotService','unitId\x20is\x20not\x20found','CollaborationEvent','retryConnectingInterval','words','_collaborationPaused','_minBufferSize','_socket','onMutationExecutedForCollab','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNKNOWN_CMD','href','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','60584LdmVfl','/collaborator','[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.','newCsEvent','abs','uniscriptRunEvent','PERSON','encryptBlock','UNAUTHENTICATED','/fetchmissing?from=','snapshotServerUrl','_memberService','_HTTPService','body','close','_localCacheService','filter','enableOfflineEditing','222TrfIsO','listRoles','_handler','&to=','collaboration-client.config','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onRecvEvent','createDecryptor','getOwnPropertyDescriptor','@univerjs-pro/license','getConfig','_undoStacks','algo','onRemoteRetry','\x20-\x20','ENTITLE_NEED_BILLING_ADDRESS','reset','SnapshotServerOverHTTPService','CollaborationSessionService','_xformMode','_clearScheduledTask','_executeRemoteChangeset','NEW_CHANGESETS','apply','_doProcessBlock','deserializeToCombResponse','univer-pro.collaboration-client.single-active-unit-service','_data','Malformed\x20UTF-8\x20data','ERROR_AGAIN','onRemoteAck','LIVESHARE_REQUEST_HOST','params','ERROR_IMAGE','HEARTBEAT_INTERVAL_KEY','_initCloseConn','complete','responseType','LIVESHARE_NEW_HOST','ENTITLE_CAN_NOT_BUY_LOWER_OTP','formatter','LICENSE_EXPORT_SIZE_EXCEEDED','IUndoRedoService','_awaitingChangeset','then','take','Inject','UNIVER_DOC','setWaitCount','INVALID_ARGUMENT','appendMutation','_clearLocalCache','ILocalCacheService','readInt32LE','/universer-api/user/session-ticket','DataLoaderService','_roomCreated$','FAIL','indexOf','_sendingTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UniverTelemetry','session.room-full','UNRECOGNIZED','REDEMPTION_INVALID_CODE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_getSignURL','leaveEvent','localCacheService','CollaborativeUndoRedoService','YUUMI_RATE_OVER_LIMIT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LocalUndoRedoService','HttpExport','getRandomValues','HMAC','getSheetId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_reverseMap','awaiting','getDeserializedSheetBlock','function','REDEMPTION_CODE_HAS_BEEN_CREATED','SHA1','reject','COMMENT_UPDATE','onTransformRemoteChangesetByStateCache','listCollaborators','NOT_COLLAB','getCurrentUser','_listenToNetworkCondition','PAYMENT_CHANNEL_NOT_SUPPORT','_configService','synced','equals','_localeService','@univerjs/sheets','ImageSourceType','byteOffset','OpenSSL','_disableEditing','cfg','createIdentifier','getFocusedUnit','PSEUDO_FETCH_MISSING_RESULT','_sessions','AUTHORIZE_CODE_ILLEGAL','_init','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','SheetCollaborationEntity','UserManagerService','_doCryptBlock','MOBILE_HAS_BEEN_BOUND','connection\x20error','[PendingState]:\x20received\x20acknowledgement.','UserProfileImg','objects','_collaborationUIEventService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','editingUnit','Failed\x20to\x20update\x20permission\x20point','_clearRedo','_onRemoteACK','Injector','_transformUndoredo','_httpService','replace','getUnit','_eventService','isTransformChangesetsSuccess','disposeWithMe','_schedule','slice','_compressMutationService','batchAllowed','CollaborationImageIoService','onTransformRemoteChangesetByIMECache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','pauseCollaboration','YUUMI_NO_CUBOID_FOR_QUESTION','_tryReconnect','socket$','_changesetReqId','workbook','update','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UNKNOWN_CODE','SOCKET_FAILED_RETRY','list','_getDownloadEndpointURL','FETCH_MISSING','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_injector','object','LOGIN_TOKEN_PROCESSING_FAILED','_createSocket','collaMsg','OTHER_CLIENT_EDITING','APPLY_NON_SEQUENTIAL_REVISION','catch','UniverCollaborationClientPlugin','onStarting','ENTITLE_COUPON_EXPIRED','stringify','not_collab','@univerjs/drawing','USER_IS_ANONYMOUS','_toggleOnline','enc','uploadFileServerUrl','MentionIoHttpService','size','__Key__','SUCCUSS','isTransformMutationsWithChangesetSuccess','mutations','defineProperty','_cipher','IConfigService','sigBytes','[UniverCollaborationClientPlugin]','[DataLoaderService]','_key','onRemoteRej','result','_hasher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','entityInit$','status$','INVITE_CODE_HAS_BEEN_UES','members$','toString','UUID','_onConnectionFailed','ENTITLE_INVALID_COUPON_CODE','_socket$','_createInitialState','/universer-api/uniscript','capture','Pkcs7','1728584ddqPFE','[CollaborationEntity]','_onRemoteRetry','members','range','mapDocumentTypeToUniverType','padding','Could\x20not\x20dynamically\x20require\x20\x22','CONNECTOR_DATA_TOO_LARGE','CONFLICT','debug','msCrypto','_startCollaboration','ALREADY_EXISTS','firstValueFrom','CommandType','type','saveImage','signUrlServerUrl','SHOULD_CLOSE_CONN','getGlobalObject','BASE64','forEach','clear','_getCurrentRevision','JOINING','session.room-permission-denied','JOIN_ROOM_NOT_EXISTS','_socketService','randomBytes','failed\x20to\x20apply\x20missed\x20changesets!','_candidateSocket','[CollaborationState]:\x20apply\x20error!','_getAPIPrefixPath','mixIn','createCollaborator','[OfflineState]:\x20received\x20rejection.','location','_onConnectionOpen','RECV','/allowed','_getCtorByUniverType','_networkConditionService','_onRemoteRejected','UniverSheets','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','REDEMPTION_CODE_FULLY_REDEEMED','OPTIONAL','/resources','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','Tools','ILogService','objectActions','SUBMIT_CHANGESET','_getUndoStack','memberID','Plugin','max','INGEST','_throwTelemetryCollaborationNewChangeset','has','[SyncedState]:\x20received\x20rejection.','_sendHeartbeatTimer','/block/','_clearUndo','_getAPIPrefix','SYNCED','SheetPermissionInitController','post','startsWith','IDLE','/object/','_resendTimer','localeService','rev','USER_NOT_INVITED_CODE','_incrementRevisionNumber','isInternalEditorID','/object','UNIVER_PROJECT','_sessionStatus$','_clearTimeoutTimer','onlyLocal','$super','ISnapshotServerService','UniverInstanceType','setCurrentUser','UNDEFINED','compose','ENTITLE_CHAT_LIMIT_EXCEED','touchDependencies','status','conflict','toggleOffline','get','pluginName','fetchMiss','LIVESHARE_FETCH_OPERATIONS','subUnitId','HEARTBEAT_TIMEOUT_KEY','onload','APPLY_REVISION_CONFILICT','Subject','_onCombEvent','headers','subject','univer-pro.collaboration-client.network-condition.service','_onMessage','PERMISSION_DENIED','unitID','dispose','_transformRemoteChangesetByIMECache','LICENSE_MAX_UNITS_EXCEEDED','fromCharCode','collaboration_new_changeset','x-univer-host','CURRENT_STATUS_CANNOT_OPERATE','state','CipherParams','NoPadding','_getRedoStack','Hasher','InsertSheetMutation','1279226ZpPGzm','[CollaborationUndoRedoService]','AWAITING_WITH_PENDING','_initMergeInterceptor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_SLIDE','updatePermissionPoint','_updateStatus','_transformStateCache','unsubscribe','_onUserJoin','CollaborationController','_maxTotalRetryTimeout','transformUndoRedo','createEncryptor','onTransformIME','univer-pro.collaboration-client-socket-service','HmacSHA1','_transformSelections','Utf8','revision','selections','ENSURE_SNAPSHOT_EXECUTION','_showConflictNotification','_socketReady','concat','message$','COMPRESS_MUTATION_SEND','toggleOnline','fetch_missing','clone','_telemetryService','random','INTERNAL_ERROR','APPLY_DUPLICATED','includes','collabWebSocketUrl','fetchThroughInterceptors','_substituteRedoStack','offline','Disposable','_updateLocalCache','_instanceService','transformMutationsWithChangeset','sendChangesetTimeout','fetching\x20missing\x20changesets\x20from\x20','LOGIN_FAILED','objectType','save\x20fail\x20reason\x20is\x20','finalize','ThresholdInterceptorFactory','BlockCipher','_commandService','ceil','charAt','action','SheetsSelectionsService','YUUMI_AI_RUN_FAILED','image/bmp','loadOfflineData','POST','IMentionIOService','getMemberID','requestParams','_members','CHANGESET_REJ','UnitEmbedded','DATA_SOURCE_TOO_LARGE','keySize','_hash','authzUrl','REDEMPTION_USER_NOT_ELIGIBLE','CollaborationEntity','@univerjs/network','code','closeSession','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','pipe','uuidv4','getUnitStatus$','_type','INVITE_CODE_REQUIRED','getCollabEntity$','ImageUploadStatusType','loadSheet','ENTITLE_COUPON_USED_UP','getCollabEntity','_mode','/role','url','RichTextEditingMutation','session.room-cnt-exceeds','kdf','serializeCombRequest','LOCAL_CACHE_INTERVAL_KEY','_stopTelemetryCollaborationNewChangeset','MemberService','isPermissionRej','socketService','extend','string','getTypeOfUnitDisposed$','_append','INVALID_INVITE_CODE','\x0aCurrent:\x20','_prevBlock','OFFLINE','37385SJgvnK','FileId','_initUnitPermissionChange','LIVESHARE_OPERATION','infoRsp','onCommentUpdate','substr','HEARTBEAT','removeMember','StreamCipher','isArray','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','unit-cache-','error','_onUserLeave','onStateChange','SnapshotService','_config','create','ClipsheetFragments','change$','_keyPriorReset','_transformIMECache','USER_NOT_FOUND','CollaborationUIEventId','joinRsp','REDEMPTION_CODE_NOT_STARTED','enableSingleActiveInstanceLock','_sendHeartbeat','onTransformSelections','PERMISSION_REJ','_createInitialStateImpl','textEncoder','_sender','execute','reduce','YUUMI_CONNECTOR_URL_NOT_FOUND','JSONX','ITransformService','updateCollaborator','csShouldRetryEvent'];_0x49c3=function(){return _0x403216;};return _0x49c3();}function _0x515f(_0x315031,_0x43045c){_0x315031=_0x315031-0xb6;var _0x49c37b=_0x49c3();var _0x515f9e=_0x49c37b[_0x315031];return _0x515f9e;}(function(_0x3cf604,_0xbdd840){var _0x13076d=_0x515f,_0x550c14=_0x3cf604();while(!![]){try{var _0x3a9d3e=-parseInt(_0x13076d(0x235))/0x1+-parseInt(_0x13076d(0x3d6))/0x2+-parseInt(_0x13076d(0xf1))/0x3*(parseInt(_0x13076d(0xdf))/0x4)+parseInt(_0x13076d(0x2a0))/0x5*(parseInt(_0x13076d(0x432))/0x6)+parseInt(_0x13076d(0x323))/0x7+parseInt(_0x13076d(0x1ba))/0x8+parseInt(_0x13076d(0xc5))/0x9;if(_0x3a9d3e===_0xbdd840)break;else _0x550c14['push'](_0x550c14['shift']());}catch(_0x1ecf8a){_0x550c14['push'](_0x550c14['shift']());}}}(_0x49c3,0xe1e25),function(_0x15adb4,_0x13f4dc){var _0x2c2593=_0x515f;typeof exports==_0x2c2593(0x18b)&&typeof module<'u'?_0x13f4dc(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=='function'&&define[_0x2c2593(0x2f8)]?define([_0x2c2593(0x42d),_0x2c2593(0x3b0),'@univerjs/core','@univerjs/docs',_0x2c2593(0x152),_0x2c2593(0x440),_0x2c2593(0x3ff),_0x2c2593(0x370),_0x2c2593(0x27e),_0x2c2593(0x197),_0x2c2593(0xfa)],_0x13f4dc):(_0x15adb4=typeof globalThis<'u'?globalThis:_0x15adb4||self,_0x13f4dc(_0x15adb4[_0x2c2593(0x408)]={},_0x15adb4['UniverProCollaboration'],_0x15adb4['UniverCore'],_0x15adb4[_0x2c2593(0xc3)],_0x15adb4[_0x2c2593(0x1e6)],_0x15adb4[_0x2c2593(0x440)],_0x15adb4[_0x2c2593(0x12e)],_0x15adb4['rxjs']['operators'],_0x15adb4[_0x2c2593(0x36e)],_0x15adb4['UniverDrawing'],_0x15adb4[_0x2c2593(0x433)]));}(this,function(_0x4113be,_0x19b128,_0x414ab0,_0x33516d,_0x19c319,_0x5691e8,_0x4c96b5,_0x1f22ee,_0x3bd1c1,_0x3f9464,_0x4ae2a6){'use strict';var _0x4a9ac9=_0x515f;var _0x1ccdb5=Object[_0x4a9ac9(0x1a2)],_0x4b06f6=(_0x35e6e3,_0xe84587,_0x12a346)=>_0xe84587 in _0x35e6e3?_0x1ccdb5(_0x35e6e3,_0xe84587,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12a346}):_0x35e6e3[_0xe84587]=_0x12a346,_0x213c49=(_0xa90663,_0x180c0e,_0x3a8375)=>_0x4b06f6(_0xa90663,typeof _0x180c0e!=_0x4a9ac9(0x373)?_0x180c0e+'':_0x180c0e,_0x3a8375);const _0x49d908=_0x4a9ac9(0x3bb),_0x41378d=_0x4a9ac9(0x2f6),_0x340e26='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3a5dca=_0x4a9ac9(0x127),_0x18d90d=_0x4a9ac9(0x310),_0x2beeb0=_0x4a9ac9(0x3eb),_0x314a57=_0x4a9ac9(0x37a),_0x38c987=_0x4a9ac9(0xb6),_0x213ef9='/universer-api/comb',_0x22dd04='/universer-api/oidc/authpage',_0x19b088=_0x4a9ac9(0x38a),_0x17cb6d=_0x4a9ac9(0x1b7);var _0xcd798d=(_0x3a0c72=>(_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x211)]=0x0]=_0x4a9ac9(0x211),_0x3a0c72[_0x3a0c72['OK']=0x1]='OK',_0x3a0c72[_0x3a0c72['INTERNAL_ERROR']=0x2]=_0x4a9ac9(0x256),_0x3a0c72[_0x3a0c72['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2ed)]=0x4]=_0x4a9ac9(0x2ed),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0xe7)]=0x5]=_0x4a9ac9(0xe7),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1c7)]=0x6]=_0x4a9ac9(0x1c7),_0x3a0c72[_0x3a0c72['INVALID_ARGUMENT']=0x7]=_0x4a9ac9(0x122),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x42e)]=0x8]=_0x4a9ac9(0x42e),_0x3a0c72[_0x3a0c72['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x263)]=0xa]=_0x4a9ac9(0x263),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x364)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x357)]=0xc]=_0x4a9ac9(0x357),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x450)]=0xd]=_0x4a9ac9(0x450),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x239)]=0xe]=_0x4a9ac9(0x239),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x15c)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x18c)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x22e)]=0x64]=_0x4a9ac9(0x22e),_0x3a0c72[_0x3a0c72['ERROR_AGAIN']=0x65]=_0x4a9ac9(0x10e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2b7)]=0xc9]='USER_NOT_FOUND',_0x3a0c72[_0x3a0c72['USER_IS_ANONYMOUS']=0xca]=_0x4a9ac9(0x198),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x381)]=0x1389]=_0x4a9ac9(0x381),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x302)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3a0c72[_0x3a0c72['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3a0c72[_0x3a0c72['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a9ac9(0x24b),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x362)]=0x1b59]=_0x4a9ac9(0x362),_0x3a0c72[_0x3a0c72['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4a9ac9(0x190),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x21f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x338)]=0x1b5c]=_0x4a9ac9(0x338),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x257)]=0x1b5d]='APPLY_DUPLICATED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1c2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x22a)]=0x2329]=_0x4a9ac9(0x22a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2e3)]=0x232a]=_0x4a9ac9(0x2e3),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x393)]=0x232b]=_0x4a9ac9(0x393),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x11a)]=0x232c]=_0x4a9ac9(0x11a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2cd)]=0x232d]=_0x4a9ac9(0x2cd),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x344)]=0x2711]=_0x4a9ac9(0x344),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x44e)]=0x2712]=_0x4a9ac9(0x44e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x137)]=0x2713]=_0x4a9ac9(0x137),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x361)]=0x2714]=_0x4a9ac9(0x361),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x17d)]=0x271a]=_0x4a9ac9(0x17d),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2d7)]=0x271b]=_0x4a9ac9(0x2d7),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x189)]=0x271c]=_0x4a9ac9(0x189),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x31b)]=0x271d]=_0x4a9ac9(0x31b),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x13e)]=0x271e]=_0x4a9ac9(0x13e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x26e)]=0x271f]=_0x4a9ac9(0x26e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2c4)]=0x2720]=_0x4a9ac9(0x2c4),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2ef)]=0x2af9]=_0x4a9ac9(0x2ef),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1af)]=0x2ee1]=_0x4a9ac9(0x1af),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x29c)]=0x2ee2]='INVALID_INVITE_CODE',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x286)]=0x2ee3]=_0x4a9ac9(0x286),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x205)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3a0c72[_0x3a0c72['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4a9ac9(0x424),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x38e)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x162)]=0x32ca]=_0x4a9ac9(0x162),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x327)]=0x32cb]=_0x4a9ac9(0x327),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x118)]=0x36b1]=_0x4a9ac9(0x118),_0x3a0c72[_0x3a0c72['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4a9ac9(0x15e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x316)]=0x36b3]=_0x4a9ac9(0x316),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x14d)]=0x36b4]=_0x4a9ac9(0x14d),_0x3a0c72[_0x3a0c72['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x4a9ac9(0x1b4),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x194)]=0x36b6]=_0x4a9ac9(0x194),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x28a)]=0x36b7]=_0x4a9ac9(0x28a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x3e4)]=0x36b8]=_0x4a9ac9(0x3e4),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x213)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3a0c72[_0x3a0c72['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x3a0c72[_0x3a0c72['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4a9ac9(0x369),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x100)]=0x37dd]=_0x4a9ac9(0x100),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x131)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x35a)]=0x3a9a]=_0x4a9ac9(0x35a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1e8)]=0x3a9b]=_0x4a9ac9(0x1e8),_0x3a0c72[_0x3a0c72['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x4a9ac9(0x2ba),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x27c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3a0c72[_0x3a0c72['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4a9ac9(0xb9),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x144)]=0x3a9f]=_0x4a9ac9(0x144),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x278)]=0x3e81]=_0x4a9ac9(0x278),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0x3a0c72))(_0xcd798d||{}),_0x5599c4=(_0x3e57c7=>(_0x3e57c7[_0x3e57c7['UNIVER_UNKNOWN']=0x0]=_0x4a9ac9(0x34f),_0x3e57c7[_0x3e57c7['UNIVER_DOC']=0x1]=_0x4a9ac9(0x120),_0x3e57c7[_0x3e57c7['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x3e57c7[_0x3e57c7[_0x4a9ac9(0x23a)]=0x3]=_0x4a9ac9(0x23a),_0x3e57c7[_0x3e57c7[_0x4a9ac9(0x209)]=0x4]='UNIVER_PROJECT',_0x3e57c7[_0x3e57c7[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0x3e57c7))(_0x5599c4||{}),_0x4b3637=(_0x39a69e=>(_0x39a69e[_0x39a69e[_0x4a9ac9(0xdb)]=0x0]=_0x4a9ac9(0xdb),_0x39a69e[_0x39a69e[_0x4a9ac9(0x3f5)]=0x1]=_0x4a9ac9(0x3f5),_0x39a69e[_0x39a69e[_0x4a9ac9(0xc0)]=0x2]=_0x4a9ac9(0xc0),_0x39a69e[_0x39a69e[_0x4a9ac9(0x3a0)]=0x3]=_0x4a9ac9(0x3a0),_0x39a69e[_0x39a69e[_0x4a9ac9(0x1f4)]=0x4]=_0x4a9ac9(0x1f4),_0x39a69e[_0x39a69e[_0x4a9ac9(0x2a7)]=0x5]=_0x4a9ac9(0x2a7),_0x39a69e[_0x39a69e[_0x4a9ac9(0x1e1)]=0x6]=_0x4a9ac9(0x1e1),_0x39a69e[_0x39a69e[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0x39a69e))(_0x4b3637||{}),_0x2e116a=(_0x4315b3=>(_0x4315b3[_0x4315b3[_0x4a9ac9(0x184)]=0x0]=_0x4a9ac9(0x184),_0x4315b3[_0x4315b3['OK']=0x1]='OK',_0x4315b3[_0x4315b3[_0x4a9ac9(0x12a)]=0x2]=_0x4a9ac9(0x12a),_0x4315b3[_0x4315b3['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x4315b3[_0x4315b3['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4315b3[_0x4315b3[_0x4a9ac9(0x3ba)]=0x3eb]=_0x4a9ac9(0x3ba),_0x4315b3[_0x4315b3['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4a9ac9(0x3db),_0x4315b3[_0x4315b3['UNRECOGNIZED']=-0x1]=_0x4a9ac9(0x130),_0x4315b3))(_0x2e116a||{}),_0xbed5ec=(_0xe3d453=>(_0xe3d453[_0xe3d453[_0x4a9ac9(0x39c)]=0x0]='Undefined',_0xe3d453[_0xe3d453['HttpImport']=0x1]='HttpImport',_0xe3d453[_0xe3d453[_0x4a9ac9(0x13a)]=0x2]='HttpExport',_0xe3d453[_0xe3d453[_0x4a9ac9(0x277)]=0x3]=_0x4a9ac9(0x277),_0xe3d453[_0xe3d453[_0x4a9ac9(0x333)]=0x4]='UnitSnapshot',_0xe3d453[_0xe3d453[_0x4a9ac9(0x165)]=0x5]=_0x4a9ac9(0x165),_0xe3d453[_0xe3d453[_0x4a9ac9(0x2b3)]=0x6]=_0x4a9ac9(0x2b3),_0xe3d453[_0xe3d453[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0xe3d453))(_0xbed5ec||{});const _0x4f1b95=_0x4a9ac9(0x22c);function _0x38f3d6(_0x327a5d){var _0x113a21=_0x4a9ac9;return JSON[_0x113a21(0x195)](_0x327a5d)[_0x113a21(0x337)];}var _0x51d7a4=(_0x1c4a2f=>(_0x1c4a2f[_0x4a9ac9(0x18f)]=_0x4a9ac9(0x18f),_0x1c4a2f[_0x4a9ac9(0x226)]=_0x4a9ac9(0x226),_0x1c4a2f[_0x4a9ac9(0x1c3)]='CONFLICT',_0x1c4a2f['CLOSE_ROOM']='CLOSE_ROOM',_0x1c4a2f[_0x4a9ac9(0x3fb)]=_0x4a9ac9(0x3fb),_0x1c4a2f['SOCKET_FAILED_RETRY']=_0x4a9ac9(0x185),_0x1c4a2f[_0x4a9ac9(0x3d3)]=_0x4a9ac9(0x3d3),_0x1c4a2f['SUBMIT_CHANGESET_TIMEOUT']=_0x4a9ac9(0x2ce),_0x1c4a2f))(_0x51d7a4||{});class _0x26aa78{constructor(){var _0x1e48d4=_0x4a9ac9;_0x213c49(this,_0x1e48d4(0x30b),new _0x5691e8[(_0x1e48d4(0x220))]()),_0x213c49(this,_0x1e48d4(0x37f),this['_event$'][_0x1e48d4(0x3cf)]());}[_0x4a9ac9(0x3f6)](_0x21dacf){var _0x25f9c6=_0x4a9ac9;this['_event$'][_0x25f9c6(0x2d0)](_0x21dacf);}}class _0x3e56a6{constructor(){var _0x2c4c8b=_0x4a9ac9;_0x213c49(this,_0x2c4c8b(0x32b),new _0x5691e8[(_0x2c4c8b(0x220))]()),_0x213c49(this,_0x2c4c8b(0x444),this[_0x2c4c8b(0x32b)][_0x2c4c8b(0x3cf)]());}[_0x4a9ac9(0x2a5)](_0x523efd){var _0x41904c=_0x4a9ac9;this[_0x41904c(0x32b)][_0x41904c(0x2d0)](_0x523efd);}}var _0x6bc8c3=Object['getOwnPropertyDescriptor'],_0x381211=(_0x501606,_0x15dc1c,_0x49354b,_0x3eb0f8)=>{var _0x289ff2=_0x4a9ac9;for(var _0x230f8f=_0x3eb0f8>0x1?void 0x0:_0x3eb0f8?_0x6bc8c3(_0x15dc1c,_0x49354b):_0x15dc1c,_0x1955be=_0x501606[_0x289ff2(0x337)]-0x1,_0x40aa2d;_0x1955be>=0x0;_0x1955be--)(_0x40aa2d=_0x501606[_0x1955be])&&(_0x230f8f=_0x40aa2d(_0x230f8f)||_0x230f8f);return _0x230f8f;},_0x54a946=(_0x4b0c45,_0x113e84)=>(_0x3c0837,_0x27cba6)=>_0x113e84(_0x3c0837,_0x27cba6,_0x4b0c45);_0x4113be[_0x4a9ac9(0x295)]=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x593bf6,_0x2d46c8){var _0x330b0b=_0x4a9ac9;super(),_0x213c49(this,_0x330b0b(0x37d),new Map()),_0x213c49(this,_0x330b0b(0x129),new _0x5691e8[(_0x330b0b(0x220))]()),(this['_univerInstanceService']=_0x593bf6,this['_userManagerService']=_0x2d46c8,this[_0x330b0b(0x174)](_0x5691e8[_0x330b0b(0x3e1)](this[_0x330b0b(0x3bf)][_0x330b0b(0x29a)](_0x414ab0[_0x330b0b(0x20f)][_0x330b0b(0x429)])[_0x330b0b(0x282)](_0x1f22ee[_0x330b0b(0x45d)](_0x18c160=>_0x18c160[_0x330b0b(0x420)]())),this[_0x330b0b(0x3bf)]['getTypeOfUnitDisposed$'](_0x414ab0[_0x330b0b(0x20f)][_0x330b0b(0x120)])['pipe'](_0x1f22ee[_0x330b0b(0x45d)](_0x448b52=>_0x448b52[_0x330b0b(0x420)]())),this[_0x330b0b(0x3bf)][_0x330b0b(0x29a)](_0x414ab0[_0x330b0b(0x20f)][_0x330b0b(0x23a)])[_0x330b0b(0x282)](_0x1f22ee[_0x330b0b(0x45d)](_0x534d19=>_0x534d19[_0x330b0b(0x420)]())))[_0x330b0b(0x32f)](_0x2149e3=>this[_0x330b0b(0x2fd)](_0x2149e3))));}[_0x4a9ac9(0x443)](_0x363871){var _0x777d06=_0x4a9ac9;return this[_0x777d06(0x37d)]['has'](_0x363871)?_0x5691e8['of'](this[_0x777d06(0x37d)][_0x777d06(0x218)](_0x363871)):this[_0x777d06(0x129)][_0x777d06(0x282)](_0x1f22ee[_0x777d06(0x45d)](_0x45900a=>{var _0x5d8f27=_0x777d06;if(_0x45900a===_0x363871)return this[_0x5d8f27(0x37d)][_0x5d8f27(0x218)](_0x45900a);}));}[_0x4a9ac9(0x210)](_0x5b82df){var _0x1a90d5=_0x4a9ac9;this[_0x1a90d5(0x3fc)][_0x1a90d5(0x210)](_0x5b82df);}[_0x4a9ac9(0x14b)](){var _0x4204b2=_0x4a9ac9;return this['_userManagerService'][_0x4204b2(0x14b)]();}[_0x4a9ac9(0x301)](_0x69850d,_0x6d9d1b){var _0x8523de=_0x4a9ac9;let _0x2de8e0=this[_0x8523de(0x37d)][_0x8523de(0x218)](_0x69850d);_0x2de8e0||(_0x2de8e0=new _0x384627(),this[_0x8523de(0x37d)]['set'](_0x69850d,_0x2de8e0),this[_0x8523de(0x129)]['next'](_0x69850d)),_0x2de8e0['updateMember'](_0x6d9d1b);}[_0x4a9ac9(0x2a8)](_0x2aa534,_0x1df35a){var _0x4cb3e5=_0x4a9ac9;const _0x11d71d=this['_roomMembers'][_0x4cb3e5(0x218)](_0x2aa534);_0x11d71d&&_0x11d71d[_0x4cb3e5(0x2a8)](_0x1df35a);}['getRoom'](_0x68cd1a){var _0x37c41a=_0x4a9ac9;return this[_0x37c41a(0x37d)][_0x37c41a(0x218)](_0x68cd1a);}[_0x4a9ac9(0x374)](_0x2c8383,_0x1ccbdd){var _0x19af2c=_0x4a9ac9;const _0x3f6ad3=this[_0x19af2c(0x37d)][_0x19af2c(0x218)](_0x2c8383);if(_0x3f6ad3)return _0x3f6ad3[_0x19af2c(0x374)](_0x1ccbdd);}['_removeRoom'](_0x1e0b7b){var _0x3cf277=_0x4a9ac9;const _0x322ad1=this['_roomMembers'][_0x3cf277(0x218)](_0x1e0b7b);_0x322ad1&&(_0x322ad1['dispose'](),this[_0x3cf277(0x37d)][_0x3cf277(0x3b1)](_0x1e0b7b));}[_0x4a9ac9(0x228)](){var _0x3f7e43=_0x4a9ac9;this['_roomMembers'][_0x3f7e43(0x1d0)](_0x145f92=>_0x145f92[_0x3f7e43(0x228)]()),this[_0x3f7e43(0x37d)][_0x3f7e43(0x1d1)](),this[_0x3f7e43(0x129)][_0x3f7e43(0x115)]();}},_0x4113be[_0x4a9ac9(0x295)]=_0x381211([_0x54a946(0x0,_0x414ab0['IUniverInstanceService']),_0x54a946(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x160)]))],_0x4113be[_0x4a9ac9(0x295)]);class _0x384627 extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(){var _0x151a3c=_0x4a9ac9;super(...arguments),_0x213c49(this,_0x151a3c(0x275),new Map()),_0x213c49(this,'_members$',new _0x5691e8[(_0x151a3c(0x33f))](this[_0x151a3c(0x275)])),_0x213c49(this,_0x151a3c(0x1b0),this[_0x151a3c(0xcf)][_0x151a3c(0x3cf)]());}[_0x4a9ac9(0x228)](){var _0x25c473=_0x4a9ac9;this[_0x25c473(0x275)][_0x25c473(0x1d1)]();}[_0x4a9ac9(0x301)](_0x99956d){var _0x33976c=_0x4a9ac9;this[_0x33976c(0x275)][_0x33976c(0x356)](_0x99956d['memberID'],_0x99956d),this[_0x33976c(0x2d3)]();}['removeMember'](_0x43a6c5){var _0x142f22=_0x4a9ac9;this['_members'][_0x142f22(0x3b1)](_0x43a6c5);}['getMember'](_0x1ac0b1){var _0x24f2a5=_0x4a9ac9;return this[_0x24f2a5(0x275)]['get'](_0x1ac0b1);}['getAllMembers'](){var _0x596be4=_0x4a9ac9;return Array[_0x596be4(0x366)](this[_0x596be4(0x275)]['values']());}[_0x4a9ac9(0x2d3)](){var _0x2415a0=_0x4a9ac9;this[_0x2415a0(0xcf)][_0x2415a0(0x2d0)](this[_0x2415a0(0x275)]);}}var _0x379cb3=Object['getOwnPropertyDescriptor'],_0x2d5bed=(_0x1f3a73,_0x341bf8,_0x5b15c6,_0x11c7c6)=>{var _0x3f8e07=_0x4a9ac9;for(var _0x22be63=_0x11c7c6>0x1?void 0x0:_0x11c7c6?_0x379cb3(_0x341bf8,_0x5b15c6):_0x341bf8,_0x42fdc9=_0x1f3a73[_0x3f8e07(0x337)]-0x1,_0x377cae;_0x42fdc9>=0x0;_0x42fdc9--)(_0x377cae=_0x1f3a73[_0x42fdc9])&&(_0x22be63=_0x377cae(_0x22be63)||_0x22be63);return _0x22be63;},_0x40f2d4=(_0x5699cd,_0x5c2d15)=>(_0xe62484,_0x178cbd)=>_0x5c2d15(_0xe62484,_0x178cbd,_0x5699cd),_0x38c5e4=(_0x4faa7e=>(_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x200)]=0x0]=_0x4a9ac9(0x200),_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x1d3)]=0x1]=_0x4a9ac9(0x1d3),_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x29f)]=0x2]=_0x4a9ac9(0x29f),_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x33b)]=0x3]=_0x4a9ac9(0x33b),_0x4faa7e))(_0x38c5e4||{});const _0x4e79dc={[_0x2e116a[_0x4a9ac9(0x12a)]]:_0x4a9ac9(0x37c),[_0x2e116a[_0x4a9ac9(0xcb)]]:_0x4a9ac9(0x12f),[_0x2e116a[_0x4a9ac9(0x1d5)]]:_0x4a9ac9(0x43e),[_0x2e116a[_0x4a9ac9(0x3ba)]]:_0x4a9ac9(0x1d4),[_0x2e116a[_0x4a9ac9(0x3db)]]:_0x4a9ac9(0x290)};_0x4113be[_0x4a9ac9(0x403)]=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x25bdde,_0x2c30e5,_0x3b5fc2,_0xcad245,_0x2c40ab,_0x5626b4,_0x19b482,_0x801958){var _0x2376c6=_0x4a9ac9;super(),_0x213c49(this,_0x2376c6(0x20a),new _0x5691e8[(_0x2376c6(0x33f))](0x0)),_0x213c49(this,_0x2376c6(0xc8),this['_sessionStatus$'][_0x2376c6(0x3cf)]()),_0x213c49(this,_0x2376c6(0x30b),new _0x5691e8['Subject']()),_0x213c49(this,_0x2376c6(0x37f),this[_0x2376c6(0x30b)][_0x2376c6(0x3cf)]()),_0x213c49(this,_0x2376c6(0xd8)),_0x213c49(this,_0x2376c6(0x334)),_0x213c49(this,'_collaborationTimeoutTimer'),_0x213c49(this,'_shouldReportTelemetry',!0x1),_0x213c49(this,'_telemetryInfo',null),(this['_unitID']=_0x25bdde,this[_0x2376c6(0x426)]=_0x3b5fc2,this[_0x2376c6(0x14e)]=_0xcad245,this[_0x2376c6(0xea)]=_0x2c40ab,this[_0x2376c6(0x2ec)]=_0x5626b4,this[_0x2376c6(0x167)]=_0x19b482,this[_0x2376c6(0x254)]=_0x801958,this['_shouldReportTelemetry']=!!this[_0x2376c6(0x254)],_0x2c30e5[_0x2376c6(0x282)](_0x5691e8['takeUntil'](this['dispose$']))[_0x2376c6(0x32f)](_0x284555=>{var _0x595603=_0x2376c6,_0x235184;typeof _0x284555>'u'||(this[_0x595603(0xd8)]=_0x284555,_0x284555?(this[_0x595603(0xbe)](_0x284555),this[_0x595603(0x334)]=_0x284555[_0x595603(0x24f)][_0x595603(0x32f)](_0x43de06=>{var _0x4396da=_0x595603;_0x43de06[_0x4396da(0x2f3)]===this[_0x4396da(0x3ee)]&&this[_0x4396da(0x221)](_0x43de06);})):(this[_0x595603(0x1f5)](),this['_sessionStatus$'][_0x595603(0x2d0)](0x2),(_0x235184=this[_0x595603(0x334)])==null||_0x235184[_0x595603(0x23e)](),this[_0x595603(0x334)]=null));}));}get[_0x4a9ac9(0x3e7)](){var _0x45dde3=_0x4a9ac9;return this[_0x45dde3(0x20a)][_0x45dde3(0x458)]();}[_0x4a9ac9(0x273)](){var _0x36a82a=_0x4a9ac9,_0x1282ef,_0x66f8bf;return(_0x66f8bf=(_0x1282ef=this[_0x36a82a(0xd8)])==null?void 0x0:_0x1282ef['memberID'])!=null?_0x66f8bf:null;}[_0x4a9ac9(0x228)](){var _0x30d1d1=_0x4a9ac9;super[_0x30d1d1(0x228)](),this[_0x30d1d1(0x3bc)]['next'](),this[_0x30d1d1(0x3bc)]['complete']();}['close'](){var _0x452f6a=_0x4a9ac9,_0x1e8a1f,_0x4a268d;this[_0x452f6a(0x1f5)](),(_0x1e8a1f=this[_0x452f6a(0xd8)])==null||_0x1e8a1f['send']({'cmd':_0x4b3637[_0x452f6a(0x3a0)],'data':{'roomID':this[_0x452f6a(0x3ee)]}}),(_0x4a268d=this[_0x452f6a(0xd8)])==null||_0x4a268d['close'](),this['_event$'][_0x452f6a(0x115)](),this[_0x452f6a(0x20a)][_0x452f6a(0x115)](),this[_0x452f6a(0x228)]();}['_onCombEvent'](_0x1d6802){var _0xbbae74=_0x4a9ac9;_0x1d6802['cmd']===_0x4b3637['JOIN']?this[_0xbbae74(0x2da)](_0x1d6802):_0x1d6802['cmd']===_0x4b3637[_0xbbae74(0x1e1)]&&this[_0xbbae74(0xf7)](_0x1d6802);}[_0x4a9ac9(0xbe)](_0x2e441e){var _0x55e022=_0x4a9ac9;this[_0x55e022(0x20a)][_0x55e022(0x2d0)](0x1),_0x2e441e[_0x55e022(0x3a3)]({'cmd':_0x4b3637['JOIN'],'routeKey':this[_0x55e022(0x3ee)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4a9ac9(0x2da)](_0x63747f){var _0x4532b8=_0x4a9ac9,_0x15360d;if(_0x63747f[_0x4532b8(0x27f)]in _0x4e79dc){this['_collaborationUIEventService'][_0x4532b8(0x3f6)]({'id':_0x51d7a4[_0x4532b8(0x3fb)],'data':_0x4e79dc[_0x63747f[_0x4532b8(0x27f)]]}),this['_sessionStatus$'][_0x4532b8(0x2d0)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x3e39c9=(_0x15360d=_0x63747f['data']['roomInfos'][this[_0x4532b8(0x3ee)]])==null?void 0x0:_0x15360d[_0x4532b8(0x1bd)];_0x3e39c9&&_0x3e39c9['forEach'](_0x9fc452=>this['_memberService'][_0x4532b8(0x301)](this[_0x4532b8(0x3ee)],_0x9fc452));}[_0x4a9ac9(0xf7)](_0x1f7b5d){var _0x286bb2=_0x4a9ac9;try{const _0x561ee6=_0x1f7b5d[_0x286bb2(0xc7)];switch(_0x561ee6[_0x286bb2(0x439)]){case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x3e2)]:this[_0x286bb2(0x23f)](_0x561ee6),this[_0x286bb2(0x30b)][_0x286bb2(0x2d0)](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x3cd)]:this['_onUserLeave'](_0x561ee6),this[_0x286bb2(0x30b)]['next'](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x455)]:case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x3b8)]:this[_0x286bb2(0x294)](),this['_clearCollaborationTimeoutTimer'](),this[_0x286bb2(0x30b)]['next'](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x38f)]:this[_0x286bb2(0x426)][_0x286bb2(0x2ad)](_0x286bb2(0x265)+JSON['stringify'](_0x561ee6)),this[_0x286bb2(0x30b)][_0x286bb2(0x2d0)](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x147)]:this['_commentService'][_0x286bb2(0x2a5)](_0x561ee6['data']),this['_event$'][_0x286bb2(0x2d0)](_0x561ee6);break;default:this['_event$'][_0x286bb2(0x2d0)](_0x561ee6);}}catch(_0xfbbb6c){this[_0x286bb2(0x426)][_0x286bb2(0x2ad)](_0xfbbb6c,_0x1f7b5d);}}['_onUserJoin'](_0x472cef){var _0x4adee5=_0x4a9ac9;this[_0x4adee5(0xea)][_0x4adee5(0x301)](this[_0x4adee5(0x3ee)],_0x472cef[_0x4adee5(0xc7)]);}[_0x4a9ac9(0x2ae)](_0x363d26){var _0x581696=_0x4a9ac9;this['_memberService'][_0x581696(0x2a8)](this[_0x581696(0x3ee)],_0x363d26[_0x581696(0xc7)][_0x581696(0x1f1)]);}async[_0x4a9ac9(0x3a3)](_0x342535,_0x3eeaf8){var _0x132787=_0x4a9ac9;if(this[_0x132787(0x3e7)]!==0x3||!this[_0x132787(0xd8)])throw new Error(_0x132787(0xde));try{_0x342535[_0x132787(0x439)]===_0x19b128[_0x132787(0xd3)]['SUBMIT_CHANGESET']&&(this[_0x132787(0x3aa)](),this[_0x132787(0x349)](_0x342535)),this[_0x132787(0xd8)][_0x132787(0x3a3)]({'cmd':_0x4b3637[_0x132787(0x1f4)],'routeKey':_0x3eeaf8,'routeType':'','data':_0x342535});}catch(_0x3e3a0f){this[_0x132787(0x426)][_0x132787(0x2ad)](_0x3e3a0f);}}['_scheduleCollaborationTimeoutTimer'](){var _0x129ad2=_0x4a9ac9,_0xb34cd1;this[_0x129ad2(0x42a)]=setTimeout(()=>{var _0x1ec63f=_0x129ad2;this[_0x1ec63f(0x42a)]=null,this[_0x1ec63f(0x167)][_0x1ec63f(0x3f6)]({'id':_0x51d7a4['SUBMIT_CHANGESET_TIMEOUT']});},(_0xb34cd1=this[_0x129ad2(0x14e)][_0x129ad2(0xfb)](_0x2beeb0))!=null?_0xb34cd1:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x3cc786=_0x4a9ac9;this[_0x3cc786(0x42a)]&&(clearTimeout(this[_0x3cc786(0x42a)]),this[_0x3cc786(0x42a)]=null);}[_0x4a9ac9(0x349)](_0x14e481){var _0x1ef9aa=_0x4a9ac9;if(!this['_shouldReportTelemetry'])return;const {data:_0x5adba2}=_0x14e481,{unitID:_0x56c4b1,changeset:_0xbad2b8}=_0x5adba2,{mutations:_0x457c54,type:_0x15c910}=_0xbad2b8;this[_0x1ef9aa(0x409)]={'unitId':_0x56c4b1,'type':_0x15c910,'startTime':performance[_0x1ef9aa(0x3e3)](),'stopTime':0x0,'duration':0x0,'size':_0x38f3d6(_0x457c54)};}[_0x4a9ac9(0x294)](){var _0x70dc61=_0x4a9ac9;if(this[_0x70dc61(0x434)]){if(!this[_0x70dc61(0x409)]){this['_logService'][_0x70dc61(0x2ad)](_0x70dc61(0x2dd),_0x70dc61(0xdd));return;}this[_0x70dc61(0x409)]['stopTime']=performance[_0x70dc61(0x3e3)](),this[_0x70dc61(0x409)][_0x70dc61(0x3b4)]=this[_0x70dc61(0x409)][_0x70dc61(0x402)]-this[_0x70dc61(0x409)]['startTime'],this[_0x70dc61(0x254)][_0x70dc61(0x1b8)](_0x4f1b95,this[_0x70dc61(0x409)]),this['_telemetryInfo']=null;}}[_0x4a9ac9(0x1f5)](){this['_telemetryInfo']=null;}},_0x4113be['CollaborationSession']=_0x2d5bed([_0x40f2d4(0x2,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x40f2d4(0x3,_0x414ab0['IConfigService']),_0x40f2d4(0x4,_0x414ab0['Inject'](_0x4113be['MemberService'])),_0x40f2d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x3e56a6)),_0x40f2d4(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x40f2d4(0x7,_0x414ab0[_0x4a9ac9(0x3e6)](_0x4c96b5['ITelemetryService']))],_0x4113be[_0x4a9ac9(0x403)]);const _0x364389=_0x414ab0[_0x4a9ac9(0x158)]('collaboration-client.local-cache-service');function _0x35a8e8(_0x2c6cb4){var _0x2c5cce=_0x4a9ac9;return _0x2c5cce(0x2ac)+_0x2c6cb4;}var _0x2710f1=Object[_0x4a9ac9(0xf9)],_0x40738a=(_0x172a03,_0x31fcca,_0x322799,_0x2efe7d)=>{var _0x4433ac=_0x4a9ac9;for(var _0x58542a=_0x2efe7d>0x1?void 0x0:_0x2efe7d?_0x2710f1(_0x31fcca,_0x322799):_0x31fcca,_0x413c98=_0x172a03[_0x4433ac(0x337)]-0x1,_0xd9c0f9;_0x413c98>=0x0;_0x413c98--)(_0xd9c0f9=_0x172a03[_0x413c98])&&(_0x58542a=_0xd9c0f9(_0x58542a)||_0x58542a);return _0x58542a;},_0x802a3d=(_0x54acea,_0xeaba2d)=>(_0x3e9670,_0x304320)=>_0xeaba2d(_0x3e9670,_0x304320,_0x54acea);function _0x5a2bba(_0x13aa34){var _0x4856cf=_0x4a9ac9;const {unitID:_0xff3e6d,mutations:_0x23e1dd}=_0x13aa34;return{'unitId':_0xff3e6d,'subUnitId':_0x23e1dd[_0x4856cf(0x337)]>0x0?_0x23e1dd[0x0]['params'][_0x4856cf(0x21c)]:null};}_0x4113be[_0x4a9ac9(0x425)]=class{constructor(_0x383610,_0x2cef6b,_0x3395a5){var _0x1428e1=_0x4a9ac9;this[_0x1428e1(0x18a)]=_0x383610,this[_0x1428e1(0x413)]=_0x2cef6b,this['_instanceService']=_0x3395a5;}[_0x4a9ac9(0x3c8)](_0x25cdd9){var _0x15c089=_0x4a9ac9,_0x4f5c17,_0x43c3c4,_0x46daf8,_0x5b5ca9;const _0x4a9fe6=this[_0x15c089(0x18a)][_0x15c089(0x218)](_0x19c319[_0x15c089(0x26d)]),{unitId:_0xd72b42,subUnitId:_0x5dfd49}=_0x5a2bba(_0x25cdd9),_0x206f0d=_0x4a9fe6==null?void 0x0:_0x4a9fe6[_0x15c089(0x321)](_0xd72b42)[_0x15c089(0xca)](),_0x1b7e18=(_0x43c3c4=(_0x4f5c17=this[_0x15c089(0x25f)][_0x15c089(0x171)](_0xd72b42))==null?void 0x0:_0x4f5c17['getActiveSheet']())==null?void 0x0:_0x43c3c4[_0x15c089(0x13d)]();if(_0x206f0d[_0x15c089(0x337)]===0x0||!_0xd72b42||!_0x5dfd49)return;const _0x4c80d8=[{'id':_0x19c319[_0x15c089(0x2e0)]['id'],'params':{'unitId':_0xd72b42,'subUnitId':_0x1b7e18,'selections':_0x414ab0[_0x15c089(0x1ec)]['deepClone'](_0x206f0d)}}],_0x4d99b3=this[_0x15c089(0x413)][_0x15c089(0x260)](_0x25cdd9,_0x4c80d8);if(!_0x19b128['isTransformMutationsWithChangesetSuccess'](_0x4d99b3))throw _0x4d99b3[_0x15c089(0x2ad)];const _0x184d87=(_0x5b5ca9=(_0x46daf8=_0x4d99b3[_0x15c089(0x347)][0x0])==null?void 0x0:_0x46daf8[_0x15c089(0x111)])==null?void 0x0:_0x5b5ca9[_0x15c089(0x24a)];if(Array['isArray'](_0x184d87)&&_0x184d87[_0x15c089(0x337)]){if(_0x184d87[_0x15c089(0x337)]===_0x4c80d8[0x0][_0x15c089(0x111)]['selections']['length']&&_0x184d87[_0x15c089(0x2f1)]((_0x22db0e,_0x1e3fe1)=>_0x414ab0['Rectangle'][_0x15c089(0x150)](_0x22db0e['range'],_0x4c80d8[0x0][_0x15c089(0x111)][_0x15c089(0x24a)][_0x1e3fe1][_0x15c089(0x1be)])))return;this[_0x15c089(0x18a)][_0x15c089(0x218)](_0x414ab0[_0x15c089(0x3a6)])['executeCommand'](_0x19c319['SetSelectionsOperation']['id'],{'unitId':_0xd72b42,'subUnitId':_0x1b7e18,'selections':_0x184d87});}}},_0x4113be[_0x4a9ac9(0x425)]=_0x40738a([_0x802a3d(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x802a3d(0x1,_0x19b128['ITransformService']),_0x802a3d(0x2,_0x414ab0[_0x4a9ac9(0x2f2)])],_0x4113be[_0x4a9ac9(0x425)]);const _0x5db1cd=_0x414ab0['createIdentifier'](_0x4a9ac9(0x10b));var _0x39c98c=(_0x3c329e=>(_0x3c329e[_0x3c329e[_0x4a9ac9(0x343)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3c329e[_0x3c329e['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x3c329e))(_0x39c98c||{});const _0xfa3b98=_0x4a9ac9(0xf5),_0x13dd70={};function _0x579114(_0x57c733){var _0x186e2b=_0x4a9ac9,_0x2b86fa;return!!((_0x2b86fa=_0x57c733[_0x186e2b(0x111)])!=null&&_0x2b86fa[_0x186e2b(0x40d)]);}const _0x2ed16f=new Set([_0x19c319[_0x4a9ac9(0x234)]['id']]);function _0x35ea1c(_0x5170a2,_0x40c38d,_0x41e240,_0x158d9a,_0x400339){var _0x5a0629=_0x4a9ac9,_0x13afeb,_0x204e01,_0x114785,_0x225baf;const _0x15990c=[];for(const _0x133d61 of _0x5170a2){if(_0x2ed16f[_0x5a0629(0x1f6)](_0x133d61['id'])){if(_0x15990c[_0x5a0629(0x337)]>0x0)break;_0x15990c[_0x5a0629(0x350)](_0x133d61);break;}if(_0x579114(_0x133d61)){if(_0x15990c[_0x5a0629(0x337)]>0x0)break;_0x15990c[_0x5a0629(0x350)](_0x133d61);break;}_0x15990c[_0x5a0629(0x350)](_0x133d61);}const _0x33a6c9=(_0x204e01=(_0x13afeb=_0x400339[_0x5a0629(0x14b)]())==null?void 0x0:_0x13afeb['userID'])!=null?_0x204e01:_0x5a0629(0xc9),_0x637c7d=(_0x225baf=(_0x114785=_0x400339[_0x5a0629(0x14b)]())==null?void 0x0:_0x114785[_0x5a0629(0x1f1)])!=null?_0x225baf:_0x5a0629(0xc9);return{'changeset':{'unitID':_0x40c38d,'type':_0x19b128[_0x5a0629(0x1bf)](_0x41e240[_0x5a0629(0x3a5)](_0x40c38d)),'baseRev':_0x158d9a[_0x5a0629(0x2ea)](_0x40c38d),'revision':0x0,'userID':_0x33a6c9,'memberID':_0x637c7d,'mutations':_0x15990c},'pendingMutations':_0x5170a2['slice'](_0x15990c['length'])};}function _0x1fd6f4(_0x150093,_0x44f73c,_0x294988,_0x13fec2,_0x99e3a7){var _0x468cfe=_0x4a9ac9,_0x54f54f,_0x2615d4,_0x3bcf95,_0x2f0728;const _0x54270c=[_0x150093['reduce']((_0x241f51,_0xbf6f51)=>{var _0x145d1a=_0x515f,_0x4c163c;const {id:_0xf48f58}=_0x241f51,{id:_0x1c58a6,type:_0x2a07f5}=_0xbf6f51,_0x580c53=(_0x4c163c=_0x241f51['params'])!=null?_0x4c163c:{'actions':null},_0x5e1510=_0xbf6f51[_0x145d1a(0x111)];if(_0xf48f58&&_0xf48f58!==_0x1c58a6)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0xf48f58+_0x145d1a(0xff)+_0x1c58a6+'.');return{..._0x241f51,'id':_0x1c58a6,'type':_0x2a07f5,'params':{'unitId':_0x5e1510['unitId'],'textRanges':_0x5e1510[_0x145d1a(0x42f)],'actions':_0x414ab0[_0x145d1a(0x2c5)][_0x145d1a(0x212)](_0x580c53[_0x145d1a(0x40a)],_0x5e1510[_0x145d1a(0x40a)])}};},{})],_0x38b6ef=(_0x2615d4=(_0x54f54f=_0x99e3a7[_0x468cfe(0x14b)]())==null?void 0x0:_0x54f54f['userID'])!=null?_0x2615d4:_0x468cfe(0xc9),_0x4f6909=(_0x2f0728=(_0x3bcf95=_0x99e3a7[_0x468cfe(0x14b)]())==null?void 0x0:_0x3bcf95[_0x468cfe(0x1f1)])!=null?_0x2f0728:_0x468cfe(0xc9);return{'changeset':{'unitID':_0x44f73c,'type':_0x19b128['mapDocumentTypeToUniverType'](_0x294988[_0x468cfe(0x3a5)](_0x44f73c)),'baseRev':_0x13fec2['getCurrentRevOfUnit'](_0x44f73c),'revision':0x0,'userID':_0x38b6ef,'memberID':_0x4f6909,'mutations':_0x54270c},'pendingMutations':[]};}function _0x5efdb(_0x40d464,_0x23840a){var _0x24c21f=_0x4a9ac9;const _0x365ac1=new _0x5691e8[(_0x24c21f(0x397))](0x1);return setTimeout(()=>_0x365ac1[_0x24c21f(0x2d0)](_0x23840a),_0x40d464),_0x365ac1[_0x24c21f(0x3cf)]()[_0x24c21f(0x282)](_0x5691e8[_0x24c21f(0x11e)](0x1));}var _0x1f6f4d=Object[_0x4a9ac9(0xf9)],_0x17135f=(_0x23a8ef,_0x4a45a9,_0x2d0f86,_0x172477)=>{var _0x30a484=_0x4a9ac9;for(var _0x4bd087=_0x172477>0x1?void 0x0:_0x172477?_0x1f6f4d(_0x4a45a9,_0x2d0f86):_0x4a45a9,_0x351612=_0x23a8ef[_0x30a484(0x337)]-0x1,_0x1ceb34;_0x351612>=0x0;_0x351612--)(_0x1ceb34=_0x23a8ef[_0x351612])&&(_0x4bd087=_0x1ceb34(_0x4bd087)||_0x4bd087);return _0x4bd087;},_0x1af1cc=(_0x1b3f38,_0x300290)=>(_0x4e7980,_0x103cf0)=>_0x300290(_0x4e7980,_0x103cf0,_0x1b3f38),_0x70296d=(_0x32884b=>(_0x32884b[_0x4a9ac9(0x14a)]=_0x4a9ac9(0x196),_0x32884b[_0x4a9ac9(0x1fc)]=_0x4a9ac9(0x14f),_0x32884b['PENDING']=_0x4a9ac9(0x376),_0x32884b['AWAITING']=_0x4a9ac9(0x141),_0x32884b[_0x4a9ac9(0x237)]='awaiting_with_pending',_0x32884b[_0x4a9ac9(0x453)]=_0x4a9ac9(0x252),_0x32884b[_0x4a9ac9(0x1c3)]=_0x4a9ac9(0x216),_0x32884b['OFFLINE']=_0x4a9ac9(0x25c),_0x32884b))(_0x70296d||{});const _0x1f4f9b=0x4e20,_0x29f7bc=0x2bf20;class _0x24b4fb{constructor(_0x3a3309,_0x2c8eee,_0x3cb408,_0x3cabd9,_0x1b672d,_0x4017f5,_0x12239d,_0x32b0d6,_0x31c322){var _0x4f03a1=_0x4a9ac9;_0x213c49(this,_0x4f03a1(0x11c),null),_0x213c49(this,_0x4f03a1(0x351),[]),(this[_0x4f03a1(0x227)]=_0x3a3309,this['type']=_0x2c8eee,this[_0x4f03a1(0xf3)]=_0x1b672d,this[_0x4f03a1(0x269)]=_0x4017f5,this[_0x4f03a1(0xbd)]=_0x12239d,this[_0x4f03a1(0x355)]=_0x32b0d6,this[_0x4f03a1(0xee)]=_0x31c322,this['_awaitingChangeset']=_0x3cb408,this[_0x4f03a1(0x351)]=_0x3cabd9);}['_checkMissing'](_0x2b328d){var _0x3f44fe=_0x4a9ac9;const _0x4fbb8c=this['_revisionService'][_0x3f44fe(0x2ea)](this[_0x3f44fe(0x227)]);return _0x2b328d[_0x3f44fe(0x249)]>_0x4fbb8c+0x1?(this[_0x3f44fe(0xf3)]['onMissingChangesets']({'from':_0x4fbb8c,'to':_0x2b328d[_0x3f44fe(0x249)]-0x1}),!0x0):!0x1;}[_0x4a9ac9(0x16e)](_0x2ace62){var _0x336504=_0x4a9ac9;this[_0x336504(0xbd)][_0x336504(0x242)](this[_0x336504(0x227)],_0x2ace62);}['_transformSelections'](_0x507066){var _0x8df79a=_0x4a9ac9,_0x140294,_0x29a6b3;(_0x29a6b3=(_0x140294=this[_0x8df79a(0xf3)])[_0x8df79a(0x2bd)])==null||_0x29a6b3[_0x8df79a(0x3c1)](_0x140294,_0x507066);}[_0x4a9ac9(0x2b6)](_0x430fc6){var _0x5eb4f3=_0x4a9ac9,_0x369c8f,_0xd71460;return(_0xd71460=(_0x369c8f=this[_0x5eb4f3(0xf3)])['onTransformIME'])==null?void 0x0:_0xd71460[_0x5eb4f3(0x3c1)](_0x369c8f,_0x430fc6);}['_transformStateCache'](_0x167b4e){var _0x35aecb=_0x4a9ac9,_0x110e7a,_0x5dbfff;return(_0x5dbfff=(_0x110e7a=this[_0x35aecb(0xf3)])[_0x35aecb(0xc4)])==null?void 0x0:_0x5dbfff[_0x35aecb(0x3c1)](_0x110e7a,_0x167b4e);}[_0x4a9ac9(0x229)](_0x3fde45){var _0x366e2b=_0x4a9ac9,_0x11036b,_0x51ba21,_0x54bec8;return(_0x54bec8=(_0x51ba21=(_0x11036b=this[_0x366e2b(0xf3)])[_0x366e2b(0x17a)])==null?void 0x0:_0x51ba21['call'](_0x11036b,_0x3fde45))!=null?_0x54bec8:_0x3fde45;}[_0x4a9ac9(0x2e1)](_0x4a89d9){var _0x277e4d=_0x4a9ac9,_0x3d9ef9,_0x1cd4da,_0x2a8560;return(_0x2a8560=(_0x1cd4da=(_0x3d9ef9=this[_0x277e4d(0xf3)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1cd4da[_0x277e4d(0x3c1)](_0x3d9ef9,_0x4a89d9))!=null?_0x2a8560:_0x4a89d9;}['_syncEditingCollabCursor'](_0x5039ba){var _0x25021e=_0x4a9ac9,_0x42b00c,_0x59ceac;if(this[_0x25021e(0x1ca)]===_0x5599c4[_0x25021e(0x120)]){const {unitID:_0x24afe5,mutations:_0xba6952,memberID:_0x499a56}=_0x5039ba,_0x4c7620=_0xba6952['length']>0x0?_0xba6952[0x0][_0x25021e(0x111)]['textRanges']:[];Array[_0x25021e(0x2aa)](_0x4c7620)&&_0x4c7620[_0x25021e(0x337)]>0x0&&((_0x59ceac=(_0x42b00c=this[_0x25021e(0xf3)])['onSyncEditingCollabCursor'])==null||_0x59ceac[_0x25021e(0x3c1)](_0x42b00c,{'unitID':_0x24afe5,'memberID':_0x499a56,'textRanges':_0x4c7620}));}}[_0x4a9ac9(0x25e)](){var _0x534c38=_0x4a9ac9,_0x55f6e3;(_0x55f6e3=this[_0x534c38(0xee)])==null||_0x55f6e3[_0x534c38(0x331)](this[_0x534c38(0x227)],this['type'],this['_awaitingChangeset'],this[_0x534c38(0x351)]);}[_0x4a9ac9(0x1d2)](){var _0x4d803b=_0x4a9ac9;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x4d803b(0x227)]);}[_0x4a9ac9(0x206)](){var _0x517b3e=_0x4a9ac9;this[_0x517b3e(0x355)]['incrementRevOfUnit'](this['unitID']);}[_0x4a9ac9(0x106)](_0x1761d5){var _0x20422c=_0x4a9ac9,_0xce6078;let _0x4e63bd=this['_transformRemoteChangesetByIMECache'](_0x1761d5);_0x4e63bd=this[_0x20422c(0x2e1)](_0x4e63bd);const _0x2e18d9=_0x414ab0['sequenceExecute'](_0x4e63bd[_0x20422c(0x1a1)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2e18d9[_0x20422c(0x1aa)])throw _0x2e18d9[_0x20422c(0x2ad)]instanceof Error?_0x2e18d9['error']:new Error((_0xce6078=_0x2e18d9[_0x20422c(0x2ad)])!=null?_0xce6078:_0x20422c(0x1da));this[_0x20422c(0x2b6)](_0x4e63bd),this[_0x20422c(0x23d)](_0x4e63bd),this['_transformUndoredo'](_0x1761d5),this[_0x20422c(0x247)](_0x4e63bd),this[_0x20422c(0x418)](_0x4e63bd),this[_0x20422c(0x206)]();}}_0x4113be['SyncedState']=class extends _0x24b4fb{constructor(_0x160512,_0x3f9793,_0x3bdd60,_0x323f76,_0x328a5f,_0x567334,_0x2997cb,_0x529973,_0x4f0da9,_0x1d096a){var _0x4dba52=_0x4a9ac9;super(_0x160512,_0x3f9793,null,[],_0x3bdd60,_0x2997cb,_0x567334,_0x323f76,_0x1d096a),_0x213c49(this,_0x4dba52(0x215),'synced'),(this[_0x4dba52(0x18a)]=_0x328a5f,this[_0x4dba52(0x426)]=_0x529973,this[_0x4dba52(0x413)]=_0x4f0da9,this[_0x4dba52(0x135)]=_0x1d096a);}[_0x4a9ac9(0x123)](_0x3d4f88){var _0x3a85f4=_0x4a9ac9;const _0x3dc37b=this[_0x3a85f4(0x18a)][_0x3a85f4(0x3da)](_0x4113be[_0x3a85f4(0x3f8)],this[_0x3a85f4(0x227)],this[_0x3a85f4(0x1ca)],[_0x3d4f88],this[_0x3a85f4(0xf3)]);return _0x3dc37b['_schedule'](),_0x3dc37b[_0x3a85f4(0x25e)](),_0x3dc37b;}[_0x4a9ac9(0x326)](_0x4c496c){var _0x5d28d9=_0x4a9ac9;if(this[_0x5d28d9(0x3ec)](_0x4c496c))return this[_0x5d28d9(0x18a)]['createInstance'](_0x4113be[_0x5d28d9(0x3bd)],this['unitID'],this[_0x5d28d9(0x1ca)],null,[],null,[_0x4c496c],this[_0x5d28d9(0xf3)]);try{const _0x3631b8=this['_transformService'][_0x5d28d9(0x260)](_0x4c496c,[_0x19b128['EmptyMutationInfo']]);if(_0x19b128[_0x5d28d9(0x1a0)](_0x3631b8)){const {c1Prime:_0xeb8392}=_0x3631b8;return this[_0x5d28d9(0x106)](_0xeb8392),this;}throw _0x3631b8['error'];}catch(_0x3ad5da){return this['_logService'][_0x5d28d9(0x2ad)](_0x3ad5da),this[_0x5d28d9(0x31a)](!0x1);}}[_0x4a9ac9(0x31a)](_0x226c55){var _0x3235fe=_0x4a9ac9;return this[_0x3235fe(0x18a)][_0x3235fe(0x3da)](_0x4113be['ConflictState'],this[_0x3235fe(0x227)],this[_0x3235fe(0x1ca)],null,[],this['_handler'],_0x226c55);}[_0x4a9ac9(0x10f)](){var _0x36af1d=_0x4a9ac9;throw new Error(_0x36af1d(0x3b6));}[_0x4a9ac9(0x1a9)](){var _0x2f05e5=_0x4a9ac9;throw new Error(_0x2f05e5(0x1f7));}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){var _0x301d7a=_0x4a9ac9;return this['_injector'][_0x301d7a(0x3da)](_0x4113be[_0x301d7a(0x307)],this[_0x301d7a(0x227)],this[_0x301d7a(0x1ca)],null,[],this[_0x301d7a(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}[_0x4a9ac9(0x341)](){var _0x35af37=_0x4a9ac9;throw new Error(_0x35af37(0x1e7));}[_0x4a9ac9(0x21a)](){var _0x35b612=_0x4a9ac9;const _0x30e947=this[_0x35b612(0x355)][_0x35b612(0x2ea)](this[_0x35b612(0x227)]);return this[_0x35b612(0xf3)][_0x35b612(0x41e)]({'from':_0x30e947,'to':0x0}),this[_0x35b612(0x18a)][_0x35b612(0x3da)](_0x4113be[_0x35b612(0x3bd)],this[_0x35b612(0x227)],this[_0x35b612(0x1ca)],null,[],null,[],this[_0x35b612(0xf3)]);}},_0x4113be[_0x4a9ac9(0x45a)]=_0x17135f([_0x1af1cc(0x3,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af1cc(0x5,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x1af1cc(0x8,_0x19b128['ITransformService']),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x45a)]),_0x4113be['PendingState']=class extends _0x24b4fb{constructor(_0x13414c,_0x242d0e,_0x6b4d10,_0x363e8d,_0x20549c,_0x929767,_0x404c49,_0x5861ca,_0x42c3ac,_0x1dbcd4,_0x42cce4,_0x58e91c,_0x184a47,_0x2a4336){var _0x1c808b=_0x4a9ac9;super(_0x13414c,_0x242d0e,null,_0x6b4d10,_0x363e8d,_0x42c3ac,_0x184a47,_0x929767,_0x2a4336),_0x213c49(this,_0x1c808b(0x215),_0x1c808b(0x376)),_0x213c49(this,'_scheduleCompleteTimestamp',null),_0x213c49(this,'_sendingTimer',null),(this['_injector']=_0x20549c,this[_0x1c808b(0xea)]=_0x404c49,this['_logService']=_0x5861ca,this[_0x1c808b(0x14e)]=_0x1dbcd4,this[_0x1c808b(0x413)]=_0x42cce4,this[_0x1c808b(0x3bf)]=_0x58e91c);}['appendMutation'](_0x2662f4){var _0x74a658=_0x4a9ac9;return this[_0x74a658(0x351)]['push'](_0x2662f4),this[_0x74a658(0x25e)](),this;}['onRemoteChangeset'](_0x4757d2){var _0x1218ed=_0x4a9ac9;if(this[_0x1218ed(0x3ec)](_0x4757d2))return this[_0x1218ed(0x105)](),this[_0x1218ed(0x18a)][_0x1218ed(0x3da)](_0x4113be[_0x1218ed(0x3bd)],this['unitID'],this['type'],null,this[_0x1218ed(0x351)],null,[_0x4757d2],this[_0x1218ed(0xf3)]);try{const _0x387f50=this[_0x1218ed(0x413)][_0x1218ed(0x260)](_0x4757d2,this[_0x1218ed(0x351)]);if(_0x19b128[_0x1218ed(0x1a0)](_0x387f50)){const {c1Prime:_0x4fdb80,m2Prime:_0x33207d}=_0x387f50;this['_executeRemoteChangeset'](_0x4fdb80);const _0x5ea8ee=this['_injector']['createInstance'](_0x4113be[_0x1218ed(0x3f8)],this[_0x1218ed(0x227)],this[_0x1218ed(0x1ca)],_0x33207d,this['_handler']);this[_0x1218ed(0x105)]();const _0x552149=new Date()['getTime'](),_0x4af9a7=this[_0x1218ed(0x31d)]?Math[_0x1218ed(0x1f3)](this[_0x1218ed(0x31d)]-_0x552149,0x0):this['_getSendChangesetTimeout']();return _0x5ea8ee[_0x1218ed(0x175)](_0x4af9a7),_0x5ea8ee;}throw _0x387f50[_0x1218ed(0x2ad)];}catch(_0xb03726){return this[_0x1218ed(0x426)][_0x1218ed(0x2ad)](_0xb03726),this[_0x1218ed(0x31a)](!0x1);}}[_0x4a9ac9(0x10f)](){var _0x1bcdb3=_0x4a9ac9;throw new Error(_0x1bcdb3(0x164));}[_0x4a9ac9(0x1a9)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){var _0x3ab47c=_0x4a9ac9;return this['_clearScheduledTask'](),this[_0x3ab47c(0x18a)]['createInstance'](_0x4113be['OfflineState'],this[_0x3ab47c(0x227)],this[_0x3ab47c(0x1ca)],null,this[_0x3ab47c(0x351)],this[_0x3ab47c(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}[_0x4a9ac9(0x175)](_0x16e0f0){var _0x4228ea=_0x4a9ac9;const _0x5af507=_0x16e0f0!=null?_0x16e0f0:this[_0x4228ea(0x32a)]();this[_0x4228ea(0x31d)]=new Date()['getTime']()+_0x5af507,this[_0x4228ea(0x12c)]=setTimeout(()=>{var _0x1df6fb=_0x4228ea;this[_0x1df6fb(0x105)]();let _0x188b5d=null;switch(this[_0x1df6fb(0x1ca)]){case _0x5599c4[_0x1df6fb(0x429)]:{_0x188b5d=_0x35ea1c(this[_0x1df6fb(0x351)],this[_0x1df6fb(0x227)],this[_0x1df6fb(0x3bf)],this[_0x1df6fb(0x355)],this[_0x1df6fb(0xea)]);break;}case _0x5599c4[_0x1df6fb(0x120)]:{this[_0x1df6fb(0x351)][_0x1df6fb(0x2f1)](_0x2f18a7=>_0x2f18a7['id']===_0x33516d[_0x1df6fb(0x28f)]['id'])?_0x188b5d=_0x1fd6f4(this[_0x1df6fb(0x351)],this[_0x1df6fb(0x227)],this[_0x1df6fb(0x3bf)],this['_revisionService'],this['_memberService']):_0x188b5d=_0x35ea1c(this['_pendingMutations'],this[_0x1df6fb(0x227)],this['_univerInstanceService'],this[_0x1df6fb(0x355)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1df6fb(0x1ca)]+'\x20in\x20_schedule.');}const {changeset:_0x1c094d,pendingMutations:_0x7056ef}=_0x188b5d;this[_0x1df6fb(0xf3)][_0x1df6fb(0x2f7)](_0x1c094d);const _0x38c949=_0x7056ef[_0x1df6fb(0x337)]?this[_0x1df6fb(0x18a)][_0x1df6fb(0x3da)](_0x4113be[_0x1df6fb(0x34e)],this[_0x1df6fb(0x227)],this[_0x1df6fb(0x1ca)],_0x1c094d,_0x7056ef,this['_handler'],void 0x0):this[_0x1df6fb(0x18a)]['createInstance'](_0x4113be[_0x1df6fb(0x2f0)],this['unitID'],this[_0x1df6fb(0x1ca)],_0x1c094d,this[_0x1df6fb(0xf3)]);_0x38c949[_0x1df6fb(0x25e)](),this[_0x1df6fb(0xf3)][_0x1df6fb(0x2af)](this,_0x38c949);},_0x5af507);}[_0x4a9ac9(0x32a)](){var _0x4b3e27=_0x4a9ac9,_0x3221fe;const _0x30059f=this['_configService'][_0x4b3e27(0xfb)](_0xfa3b98);return(_0x3221fe=_0x30059f==null?void 0x0:_0x30059f[_0x4b3e27(0x261)])!=null?_0x3221fe:0x7d0;}[_0x4a9ac9(0x341)](){var _0x2e0b50=_0x4a9ac9;throw new Error(_0x2e0b50(0x435));}['_clearScheduledTask'](){var _0x4fc870=_0x4a9ac9;this['_sendingTimer']!=null&&(clearTimeout(this[_0x4fc870(0x12c)]),this[_0x4fc870(0x12c)]=null);}[_0x4a9ac9(0x31a)](_0x8cff7d){var _0x40e0ba=_0x4a9ac9;return this['_clearScheduledTask'](),this[_0x40e0ba(0x18a)][_0x40e0ba(0x3da)](_0x4113be[_0x40e0ba(0x3c5)],this[_0x40e0ba(0x227)],this[_0x40e0ba(0x1ca)],null,this['_pendingMutations'],this[_0x40e0ba(0xf3)],_0x8cff7d);}},_0x4113be[_0x4a9ac9(0x3f8)]=_0x17135f([_0x1af1cc(0x4,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af1cc(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x4113be[_0x4a9ac9(0x295)])),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x9,_0x414ab0['IConfigService']),_0x1af1cc(0xa,_0x19b128[_0x4a9ac9(0x2c6)]),_0x1af1cc(0xb,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x1af1cc(0xc,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x3f8)]),_0x4113be['AwaitingState']=class extends _0x24b4fb{constructor(_0x13f41b,_0x49fc0b,_0x43aa0f,_0x3f5390,_0x5b0a1f,_0x23db7e,_0x3f0758,_0x5bd8f0,_0x112ffb,_0x4f2844,_0x474a67){var _0x38fb23=_0x4a9ac9;super(_0x13f41b,_0x49fc0b,_0x43aa0f,[],_0x3f5390,_0x3f0758,_0x4f2844,_0x23db7e,_0x474a67),_0x213c49(this,_0x38fb23(0x215),_0x38fb23(0x141)),_0x213c49(this,_0x38fb23(0x335),0x0),_0x213c49(this,_0x38fb23(0x241),0x0),_0x213c49(this,_0x38fb23(0x202)),_0x213c49(this,'_sender'),(this[_0x38fb23(0x18a)]=_0x5b0a1f,this[_0x38fb23(0x426)]=_0x5bd8f0,this['_transformService']=_0x112ffb);}[_0x4a9ac9(0x123)](_0x39e19b){var _0xa268e0=_0x4a9ac9;this[_0xa268e0(0x105)]();const _0x148155=this['_injector'][_0xa268e0(0x3da)](_0x4113be[_0xa268e0(0x34e)],this['unitID'],this['type'],this[_0xa268e0(0x11c)],[_0x39e19b],this[_0xa268e0(0xf3)],this[_0xa268e0(0x202)]);return _0x148155[_0xa268e0(0x25e)](),_0x148155;}[_0x4a9ac9(0x326)](_0x4bd1f9){var _0x271574=_0x4a9ac9;if(this[_0x271574(0x3ec)](_0x4bd1f9))return this[_0x271574(0x105)](),this[_0x271574(0x18a)]['createInstance'](_0x4113be[_0x271574(0x3bd)],this['unitID'],this[_0x271574(0x1ca)],this['_awaitingChangeset'],[],null,[_0x4bd1f9],this[_0x271574(0xf3)]);try{const _0x250a32=this[_0x271574(0x413)][_0x271574(0x383)]([_0x4bd1f9],[this[_0x271574(0x11c)]],!0x1);if(_0x19b128[_0x271574(0x173)](_0x250a32)){const {c1Prime:_0x203ce4,c2Prime:_0x2d6921}=_0x250a32;this[_0x271574(0x106)](_0x203ce4[0x0]),_0x2d6921[0x0][_0x271574(0xce)]=this['_getCurrentRevision'](),this[_0x271574(0x105)]();const _0x1802bf=this[_0x271574(0x18a)][_0x271574(0x3da)](_0x4113be[_0x271574(0x2f0)],this[_0x271574(0x227)],this['type'],_0x2d6921[0x0],this[_0x271574(0xf3)]);return _0x1802bf['_updateLocalCache'](),_0x1802bf;}return this[_0x271574(0x31a)](!0x1);}catch(_0x3c2ea4){return this[_0x271574(0x426)][_0x271574(0x2ad)](_0x3c2ea4),this[_0x271574(0x31a)](!0x1);}}[_0x4a9ac9(0x10f)](_0xf0480c){var _0x4595d2=_0x4a9ac9;this['_clearScheduledTask']();const _0x57388e=this[_0x4595d2(0x355)][_0x4595d2(0x2ea)](this[_0x4595d2(0x227)]);if(_0xf0480c[_0x4595d2(0x249)]<_0x57388e-0x1)return this;if(this[_0x4595d2(0x3ec)](_0xf0480c))return this[_0x4595d2(0x18a)][_0x4595d2(0x3da)](_0x4113be['FetchingMissState'],this['unitID'],this[_0x4595d2(0x1ca)],null,[],this[_0x4595d2(0x11c)],[],this[_0x4595d2(0xf3)]);this[_0x4595d2(0x206)]();const _0x2081c8=this[_0x4595d2(0x18a)][_0x4595d2(0x3da)](_0x4113be['SyncedState'],this[_0x4595d2(0x227)],this['type'],this[_0x4595d2(0xf3)]);return _0x2081c8[_0x4595d2(0x25e)](),_0x2081c8;}[_0x4a9ac9(0x1a9)](_0x3113b3){var _0x2989ad=_0x4a9ac9;return this[_0x2989ad(0x31a)](!!(_0x3113b3!=null&&_0x3113b3[_0x2989ad(0x296)]));}['onRemoteRetry'](_0x2109a5){var _0x26f1be=_0x4a9ac9;return this[_0x26f1be(0x241)]>_0x29f7bc?this[_0x26f1be(0x217)]():(this[_0x26f1be(0x202)]=_0x5efdb(this[_0x26f1be(0x335)],{'timeout':this['_resendTimeout'],'reqId':_0x2109a5[_0x26f1be(0x3c0)]}),this[_0x26f1be(0x2c1)]=this[_0x26f1be(0x202)][_0x26f1be(0x32f)](({reqId:_0x2f1a7c,timeout:_0x360703})=>{this['_resendWithTimeout'](_0x2f1a7c,_0x360703);}),this);}[_0x4a9ac9(0x217)](){var _0x14558b=_0x4a9ac9;return this[_0x14558b(0x105)](),this[_0x14558b(0x18a)][_0x14558b(0x3da)](_0x4113be[_0x14558b(0x307)],this['unitID'],this[_0x14558b(0x1ca)],this['_awaitingChangeset'],[],this[_0x14558b(0xf3)]);}['toggleOnline'](){return this;}['resend'](){var _0x2d1e79=_0x4a9ac9;this[_0x2d1e79(0xf3)][_0x2d1e79(0x2f7)](this['_awaitingChangeset']);}['_onConflict'](_0x58667b){var _0x18f097=_0x4a9ac9;return this[_0x18f097(0x105)](),this[_0x18f097(0x18a)][_0x18f097(0x3da)](_0x4113be['ConflictState'],this[_0x18f097(0x227)],this[_0x18f097(0x1ca)],this[_0x18f097(0x11c)],[],this['_handler'],_0x58667b);}[_0x4a9ac9(0x382)](_0x25f0f7,_0x16e368){var _0x480af4=_0x4a9ac9,_0x436c54;_0x25f0f7===((_0x436c54=this[_0x480af4(0x11c)])==null?void 0x0:_0x436c54[_0x480af4(0x3c0)])&&(this['resend'](),this[_0x480af4(0x335)]=_0x16e368===0x0?0x3e8:Math[_0x480af4(0x35c)](_0x16e368*0x2,_0x1f4f9b),this[_0x480af4(0x241)]+=this[_0x480af4(0x335)]);}['_clearScheduledTask'](){var _0x4ef883=_0x4a9ac9,_0x1f8546;(_0x1f8546=this[_0x4ef883(0x2c1)])==null||_0x1f8546[_0x4ef883(0x23e)](),this[_0x4ef883(0x335)]=0x0,this[_0x4ef883(0x241)]=0x0;}},_0x4113be[_0x4a9ac9(0x2f0)]=_0x17135f([_0x1af1cc(0x4,_0x414ab0['Inject'](_0x414ab0['Injector'])),_0x1af1cc(0x5,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x1af1cc(0x8,_0x19b128['ITransformService']),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0xa,_0x414ab0['Optional'](_0x364389))],_0x4113be['AwaitingState']),_0x4113be['AwaitingWithPendingState']=class extends _0x24b4fb{constructor(_0x413660,_0x5b6945,_0x381424,_0x50082b,_0xc4de1a,_0x4e7d25,_0x54f121,_0x20ccba,_0x290aed,_0x20d205,_0x372a70,_0x45af16,_0x1751f3){var _0x1c6c89=_0x4a9ac9;super(_0x413660,_0x5b6945,_0x381424,_0x50082b,_0xc4de1a,_0x290aed,_0x45af16,_0x20ccba,_0x1751f3),_0x213c49(this,_0x1c6c89(0x215),_0x1c6c89(0x457)),_0x213c49(this,_0x1c6c89(0x335),0x0),_0x213c49(this,_0x1c6c89(0x241),0x0),_0x213c49(this,_0x1c6c89(0x202)),_0x213c49(this,_0x1c6c89(0x2c1)),(this['_injector']=_0x54f121,this[_0x1c6c89(0x426)]=_0x20d205,this[_0x1c6c89(0x413)]=_0x372a70,this[_0x1c6c89(0x135)]=_0x1751f3,_0x4e7d25&&(this[_0x1c6c89(0x202)]=_0x4e7d25,this['_sender']=this[_0x1c6c89(0x202)][_0x1c6c89(0x32f)](({reqId:_0x53b713,timeout:_0x3bd975})=>{var _0x327f47=_0x1c6c89;this[_0x327f47(0x382)](_0x53b713,_0x3bd975);})));}['appendMutation'](_0x3b0a1a){var _0x5e1971=_0x4a9ac9;return this[_0x5e1971(0x351)]['push'](_0x3b0a1a),this;}[_0x4a9ac9(0x326)](_0x48588e){var _0x1efe61=_0x4a9ac9;if(this[_0x1efe61(0x3ec)](_0x48588e))return this['_clearScheduledTask'](),this[_0x1efe61(0x18a)][_0x1efe61(0x3da)](_0x4113be[_0x1efe61(0x3bd)],this[_0x1efe61(0x227)],this[_0x1efe61(0x1ca)],this[_0x1efe61(0x11c)],this[_0x1efe61(0x351)],null,[_0x48588e],this[_0x1efe61(0xf3)]);try{const _0x321e46=this['_transformService'][_0x1efe61(0x383)]([_0x48588e],[this['_awaitingChangeset']],!0x1);if(_0x19b128[_0x1efe61(0x173)](_0x321e46)){const {c1Prime:_0x347981,c2Prime:_0x32236d}=_0x321e46,_0x49c0a4=this[_0x1efe61(0x413)][_0x1efe61(0x260)](_0x347981[0x0],this[_0x1efe61(0x351)]);if(_0x19b128[_0x1efe61(0x1a0)](_0x49c0a4)){const {c1Prime:_0x53545b,m2Prime:_0x4a81ba}=_0x49c0a4;return this[_0x1efe61(0x106)](_0x53545b),_0x32236d[0x0][_0x1efe61(0xce)]=this[_0x1efe61(0x1d2)](),this[_0x1efe61(0x105)](),this['_injector'][_0x1efe61(0x3da)](_0x4113be[_0x1efe61(0x34e)],this[_0x1efe61(0x227)],this[_0x1efe61(0x1ca)],_0x32236d[0x0],_0x4a81ba,this[_0x1efe61(0xf3)],void 0x0);}throw _0x49c0a4['error'];}throw _0x321e46['error'];}catch(_0x547646){return this[_0x1efe61(0x426)][_0x1efe61(0x2ad)](_0x547646),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1aa109){var _0x3a8e6c=_0x4a9ac9;if(this['_clearScheduledTask'](),this[_0x3a8e6c(0x3ec)](_0x1aa109))return this['_injector'][_0x3a8e6c(0x3da)](_0x4113be[_0x3a8e6c(0x3bd)],this[_0x3a8e6c(0x227)],this['type'],null,this['_pendingMutations'],this[_0x3a8e6c(0x11c)],[],this[_0x3a8e6c(0xf3)]);this[_0x3a8e6c(0x206)]();const _0x3fd1f5=this[_0x3a8e6c(0x18a)][_0x3a8e6c(0x3da)](_0x4113be['PendingState'],this[_0x3a8e6c(0x227)],this[_0x3a8e6c(0x1ca)],this['_pendingMutations'],this[_0x3a8e6c(0xf3)]);return _0x3fd1f5[_0x3a8e6c(0x175)](),_0x3fd1f5[_0x3a8e6c(0x25e)](),_0x3fd1f5;}[_0x4a9ac9(0x1a9)](_0x5c0f7d){var _0x9a43f6=_0x4a9ac9;return this['_onConflict'](!!(_0x5c0f7d!=null&&_0x5c0f7d[_0x9a43f6(0x296)]));}[_0x4a9ac9(0xfe)](_0x16feac){var _0x106539=_0x4a9ac9;return this[_0x106539(0x241)]>_0x29f7bc?this[_0x106539(0x217)]():(this[_0x106539(0x202)]=_0x5efdb(this[_0x106539(0x335)],{'timeout':this['_resendTimeout'],'reqId':_0x16feac[_0x106539(0x3c0)]}),this[_0x106539(0x2c1)]=this[_0x106539(0x202)][_0x106539(0x32f)](({reqId:_0x366962,timeout:_0x4e89dd})=>{var _0x201a59=_0x106539;this[_0x201a59(0x382)](_0x366962,_0x4e89dd);}),this);}['toggleOffline'](){var _0x1a5531=_0x4a9ac9;return this[_0x1a5531(0x105)](),this[_0x1a5531(0x18a)][_0x1a5531(0x3da)](_0x4113be[_0x1a5531(0x307)],this[_0x1a5531(0x227)],this[_0x1a5531(0x1ca)],this['_awaitingChangeset'],this[_0x1a5531(0x351)],this[_0x1a5531(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}['resend'](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x29c398){var _0x391809=_0x4a9ac9;return this[_0x391809(0x105)](),this['_injector'][_0x391809(0x3da)](_0x4113be[_0x391809(0x3c5)],this['unitID'],this[_0x391809(0x1ca)],null,this[_0x391809(0x351)],this[_0x391809(0xf3)],_0x29c398);}['_resendWithTimeout'](_0x51324b,_0x21b94c){var _0x20d059=_0x4a9ac9,_0x243383;_0x51324b===((_0x243383=this[_0x20d059(0x11c)])==null?void 0x0:_0x243383['reqId'])&&(this[_0x20d059(0x341)](),this[_0x20d059(0x335)]=_0x21b94c===0x0?0x3e8:Math['min'](_0x21b94c*0x2,_0x1f4f9b),this[_0x20d059(0x241)]+=this[_0x20d059(0x335)]);}[_0x4a9ac9(0x105)](){var _0x33cf20=_0x4a9ac9,_0x208be4;(_0x208be4=this[_0x33cf20(0x2c1)])==null||_0x208be4['unsubscribe'](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x4113be['AwaitingWithPendingState']=_0x17135f([_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0['Injector'])),_0x1af1cc(0x7,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x9,_0x414ab0['ILogService']),_0x1af1cc(0xa,_0x19b128['ITransformService']),_0x1af1cc(0xb,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0xc,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x34e)]),_0x4113be[_0x4a9ac9(0x3c5)]=class extends _0x24b4fb{constructor(_0x81fa71,_0x209358,_0x22b478,_0x197e73,_0x6fddc2,_0x5478fa=!0x1,_0xcc6ae2,_0x763a7e,_0x1918b5,_0x2913f1,_0x2683b2,_0x2cff02,_0x11745c){var _0x51c83c=_0x4a9ac9;super(_0x81fa71,_0x209358,_0x22b478,_0x197e73,_0x6fddc2,_0x763a7e,_0x1918b5,_0x2913f1,_0x11745c),_0x213c49(this,_0x51c83c(0x215),_0x51c83c(0x216)),(this[_0x51c83c(0x3df)]=_0x5478fa,this[_0x51c83c(0x38d)]=_0xcc6ae2,this[_0x51c83c(0x151)]=_0x2683b2,this[_0x51c83c(0x167)]=_0x2cff02,this[_0x51c83c(0x135)]=_0x11745c,this[_0x51c83c(0x24c)](),this[_0x51c83c(0x124)](),this[_0x51c83c(0x156)]());}[_0x4a9ac9(0x123)](){return this;}['onRemoteChangeset'](){return this;}[_0x4a9ac9(0x10f)](){return this;}[_0x4a9ac9(0x1a9)](){return this;}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){return this;}['toggleOnline'](){return this;}[_0x4a9ac9(0x341)](){var _0x1fe0e6=_0x4a9ac9;throw new Error(_0x1fe0e6(0x281));}[_0x4a9ac9(0x124)](){var _0x1dac1b=_0x4a9ac9,_0x336d34;(_0x336d34=this[_0x1dac1b(0xee)])==null||_0x336d34['updateOfflineData'](this[_0x1dac1b(0x227)],this['type'],null,[]);}['_showConflictNotification'](){var _0x2658b6=_0x4a9ac9;this['_isPermissionRej']?this[_0x2658b6(0x167)][_0x2658b6(0x3f6)]({'id':_0x51d7a4[_0x2658b6(0x226)]}):this['_collaborationUIEventService']['emitEvent']({'id':_0x51d7a4[_0x2658b6(0x1c3)]});}[_0x4a9ac9(0x156)](){var _0x16210a=_0x4a9ac9;this[_0x16210a(0x38d)][_0x16210a(0x23b)](new _0x19c319['WorkbookEditablePermission'](this[_0x16210a(0x227)])['id'],!0x1);}},_0x4113be[_0x4a9ac9(0x3c5)]=_0x17135f([_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x43c)])),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0xa,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x1af1cc(0xb,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x1af1cc(0xc,_0x414ab0['Optional'](_0x364389))],_0x4113be['ConflictState']),_0x4113be['OfflineState']=class extends _0x24b4fb{constructor(_0x28398c,_0xfaba12,_0xa7eecb,_0x1bd6a0,_0x536b1a,_0x52d90a,_0x3ccf01,_0x7985e1,_0x5c4a2f,_0x4ac768){var _0x5e2227=_0x4a9ac9;super(_0x28398c,_0xfaba12,_0xa7eecb,_0x1bd6a0,_0x536b1a,_0x7985e1,_0x5c4a2f,_0x3ccf01,_0x4ac768),_0x213c49(this,'status',_0x5e2227(0x25c)),this[_0x5e2227(0x18a)]=_0x52d90a;}[_0x4a9ac9(0x123)](_0x5299da){var _0x4e1de9=_0x4a9ac9;return this[_0x4e1de9(0x351)][_0x4e1de9(0x350)](_0x5299da),this['_updateLocalCache'](),this;}[_0x4a9ac9(0x326)](_0x58c2a5){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x2eecd8=_0x4a9ac9;throw new Error(_0x2eecd8(0x414));}[_0x4a9ac9(0x1a9)](){var _0x406483=_0x4a9ac9;throw new Error(_0x406483(0x1de));}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){return this;}[_0x4a9ac9(0x251)](){var _0x3261c1=_0x4a9ac9;const {_injector:_0x4f850e,_pendingMutations:_0x5003ab,_awaitingChangeset:_0x411784,unitID:_0x179960,_handler:_0x438f64,type:_0x2ca498}=this,_0x384eaa=_0x1ccfb1(_0x4f850e,_0x179960,_0x2ca498,_0x411784,_0x5003ab,_0x438f64);return _0x384eaa instanceof _0x4113be[_0x3261c1(0x3f8)]?_0x384eaa[_0x3261c1(0x175)]():(_0x384eaa instanceof _0x4113be['AwaitingWithPendingState']||_0x384eaa instanceof _0x4113be[_0x3261c1(0x2f0)])&&_0x384eaa[_0x3261c1(0x341)](),_0x384eaa;}[_0x4a9ac9(0x341)](){var _0x12a7c1=_0x4a9ac9;throw new Error(_0x12a7c1(0x168));}},_0x4113be[_0x4a9ac9(0x307)]=_0x17135f([_0x1af1cc(0x5,_0x414ab0['Inject'](_0x414ab0['Injector'])),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be['OfflineState']),_0x4113be[_0x4a9ac9(0x3bd)]=class extends _0x24b4fb{constructor(_0x5a179f,_0x12c568,_0x2fb372,_0x5bf081,_0x2cefbb,_0xe94c91,_0x2d485e,_0x2e6f32,_0x55310,_0x1b508d,_0xfd323b,_0x28881b,_0xe06046,_0x4c21be){var _0x198ed2=_0x4a9ac9;super(_0x5a179f,_0x12c568,_0x2fb372,_0x5bf081,_0x2d485e,_0xfd323b,_0x28881b,_0x55310,_0x4c21be),_0x213c49(this,'status',_0x198ed2(0x252)),(this[_0x198ed2(0x392)]=_0x2cefbb,this[_0x198ed2(0x365)]=_0xe94c91,this['_injector']=_0x2e6f32,this[_0x198ed2(0x426)]=_0x1b508d,this[_0x198ed2(0x413)]=_0xe06046,this['localCacheService']=_0x4c21be);}['onMissedChangesetFetched'](_0x4b9b17){var _0x206ce5=_0x4a9ac9;try{const _0x300741=[..._0x4b9b17,...this[_0x206ce5(0x365)]],_0x45614e=[this['_awaitingChangeset']||this[_0x206ce5(0x392)]][_0x206ce5(0xef)](_0x5dacf2=>!!_0x5dacf2);let _0x2f2d2c,_0x24b9ac;if(_0x45614e['length']){const _0x226779=this[_0x206ce5(0x413)]['transformChangesets'](_0x300741,_0x45614e,!0x1);if(!_0x19b128[_0x206ce5(0x173)](_0x226779))throw _0x226779[_0x206ce5(0x2ad)];_0x2f2d2c=_0x226779[_0x206ce5(0x2cb)],_0x24b9ac=_0x226779['c2Prime'];}else _0x2f2d2c=_0x300741,_0x24b9ac=[];let _0xacabe0=this['_pendingMutations'];_0x2f2d2c[_0x206ce5(0x1d0)](_0x56d218=>{var _0x4cfb2b=_0x206ce5;let _0x1b814f;if(_0xacabe0[_0x4cfb2b(0x337)]){const _0x1267e7=this['_transformService'][_0x4cfb2b(0x260)](_0x56d218,_0xacabe0);if(!_0x19b128['isTransformMutationsWithChangesetSuccess'](_0x1267e7))throw _0x1267e7[_0x4cfb2b(0x2ad)];_0x1b814f=_0x1267e7[_0x4cfb2b(0x2cb)],_0xacabe0=_0x1267e7[_0x4cfb2b(0x347)];}else _0x1b814f=_0x56d218;this[_0x4cfb2b(0x106)](_0x1b814f);}),this['_acknowledgedAwaitingChangeset']&&this[_0x206ce5(0x206)](),this[_0x206ce5(0x11c)]&&_0x24b9ac[_0x206ce5(0x337)]&&(_0x24b9ac[0x0][_0x206ce5(0xce)]=this['_getCurrentRevision']());let _0x53c088;if(this['_awaitingChangeset']&&_0xacabe0[_0x206ce5(0x337)]!==0x0)_0x53c088=this['_injector'][_0x206ce5(0x3da)](_0x4113be['AwaitingWithPendingState'],this['unitID'],this[_0x206ce5(0x1ca)],_0x24b9ac[0x0],_0xacabe0,this[_0x206ce5(0xf3)],void 0x0);else{if(this[_0x206ce5(0x11c)]&&_0xacabe0['length']===0x0)_0x24b9ac[0x0]['baseRev']=this[_0x206ce5(0x1d2)](),_0x53c088=this['_injector']['createInstance'](_0x4113be[_0x206ce5(0x2f0)],this['unitID'],this['type'],_0x24b9ac[0x0],this[_0x206ce5(0xf3)]);else{if(_0xacabe0[_0x206ce5(0x337)]!==0x0){const _0x22454b=this[_0x206ce5(0x18a)][_0x206ce5(0x3da)](_0x4113be['PendingState'],this['unitID'],this[_0x206ce5(0x1ca)],_0xacabe0,this[_0x206ce5(0xf3)]);_0x22454b[_0x206ce5(0x175)](),_0x53c088=_0x22454b;}else _0x53c088=this['_injector'][_0x206ce5(0x3da)](_0x4113be['SyncedState'],this['unitID'],this[_0x206ce5(0x1ca)],this['_handler']);}}return _0x53c088[_0x206ce5(0x25e)](),_0x53c088;}catch(_0x17fa6b){return this['_logService'][_0x206ce5(0x2ad)]('[FetchMissState]',_0x206ce5(0x1d8),_0x17fa6b),this[_0x206ce5(0x18a)][_0x206ce5(0x3da)](_0x4113be[_0x206ce5(0x3c5)],this[_0x206ce5(0x227)],this[_0x206ce5(0x1ca)],this[_0x206ce5(0x11c)],this['_pendingMutations'],this[_0x206ce5(0xf3)],!0x1);}}[_0x4a9ac9(0x341)](){var _0x167a56=_0x4a9ac9;throw new Error(_0x167a56(0x2ab));}[_0x4a9ac9(0x123)](_0x257f8d){var _0x1967a5=_0x4a9ac9;return this[_0x1967a5(0x351)]['push'](_0x257f8d),this;}[_0x4a9ac9(0x326)](_0x153d69){return this['_queuedRemoteChangesets']['push'](_0x153d69),this;}[_0x4a9ac9(0x10f)](_0x17451d){var _0x10af21=_0x4a9ac9;if(this['_awaitingChangeset'])return this[_0x10af21(0x392)]=this[_0x10af21(0x11c)],this[_0x10af21(0x11c)]=null,this;throw new Error(_0x10af21(0x3f2));}[_0x4a9ac9(0x1a9)](_0x140ec9){var _0x4d3b64=_0x4a9ac9;return this[_0x4d3b64(0x31a)](!!(_0x140ec9!=null&&_0x140ec9[_0x4d3b64(0x296)]));}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){var _0x4d91df=_0x4a9ac9;return this[_0x4d91df(0x18a)]['createInstance'](_0x4113be[_0x4d91df(0x307)],this[_0x4d91df(0x227)],this[_0x4d91df(0x1ca)],this[_0x4d91df(0x11c)],this[_0x4d91df(0x351)],this[_0x4d91df(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}['_onConflict'](_0x320ceb){var _0x12accc=_0x4a9ac9;return this[_0x12accc(0x18a)][_0x12accc(0x3da)](_0x4113be[_0x12accc(0x3c5)],this[_0x12accc(0x227)],this[_0x12accc(0x1ca)],this[_0x12accc(0x11c)],this['_pendingMutations'],this['_handler'],_0x320ceb);}},_0x4113be[_0x4a9ac9(0x3bd)]=_0x17135f([_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x9,_0x414ab0['ILogService']),_0x1af1cc(0xa,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0xb,_0x414ab0['IUndoRedoService']),_0x1af1cc(0xc,_0x19b128['ITransformService']),_0x1af1cc(0xd,_0x414ab0['Optional'](_0x364389))],_0x4113be[_0x4a9ac9(0x3bd)]);function _0x1ccfb1(_0x2baa72,_0x57e8d5,_0x9a179b,_0x7e7508,_0x45bb7e,_0x4d9f25){var _0x5daf54=_0x4a9ac9;return _0x7e7508&&_0x45bb7e[_0x5daf54(0x337)]?_0x2baa72[_0x5daf54(0x3da)](_0x4113be[_0x5daf54(0x34e)],_0x57e8d5,_0x9a179b,_0x7e7508,_0x45bb7e,_0x4d9f25,void 0x0):_0x7e7508?_0x2baa72[_0x5daf54(0x3da)](_0x4113be[_0x5daf54(0x2f0)],_0x57e8d5,_0x9a179b,_0x7e7508,_0x4d9f25):_0x45bb7e[_0x5daf54(0x337)]?_0x2baa72['createInstance'](_0x4113be['PendingState'],_0x57e8d5,_0x9a179b,_0x45bb7e,_0x4d9f25):_0x2baa72[_0x5daf54(0x3da)](_0x4113be[_0x5daf54(0x45a)],_0x57e8d5,_0x9a179b,_0x4d9f25);}var _0x380431=Object[_0x4a9ac9(0xf9)],_0x3086fd=(_0x1ac048,_0x19e884,_0x3e51c3,_0x15b8f1)=>{var _0xbf1ad5=_0x4a9ac9;for(var _0x308265=_0x15b8f1>0x1?void 0x0:_0x15b8f1?_0x380431(_0x19e884,_0x3e51c3):_0x19e884,_0x2c9e26=_0x1ac048[_0xbf1ad5(0x337)]-0x1,_0xf2b271;_0x2c9e26>=0x0;_0x2c9e26--)(_0xf2b271=_0x1ac048[_0x2c9e26])&&(_0x308265=_0xf2b271(_0x308265)||_0x308265);return _0x308265;},_0x4e29d4=(_0x358f86,_0x3010ea)=>(_0xad47b6,_0x143302)=>_0x3010ea(_0xad47b6,_0x143302,_0x358f86);_0x4113be[_0x4a9ac9(0x27d)]=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x33f0b9,_0x66edf,_0x14d9f6,_0x43bb6e,_0x3fe3c9,_0x10cb61,_0x1d212f,_0x4f8c04,_0x40c1a8,_0x32559c,_0x221b45,_0x2be801,_0x41227b,_0x2da495){var _0x3bbd71=_0x4a9ac9;super(),_0x213c49(this,'_state$',new _0x5691e8['BehaviorSubject'](null)),_0x213c49(this,'state$',this[_0x3bbd71(0x400)][_0x3bbd71(0x3cf)]()),_0x213c49(this,_0x3bbd71(0x2fe)),_0x213c49(this,_0x3bbd71(0xd6),!0x1),_0x213c49(this,_0x3bbd71(0x45c),''),_0x213c49(this,_0x3bbd71(0x180),0x0),_0x213c49(this,_0x3bbd71(0x1ae),this[_0x3bbd71(0x3f7)][_0x3bbd71(0x282)](_0x5691e8[_0x3bbd71(0x45d)](_0x495b99=>_0x495b99?_0x495b99[_0x3bbd71(0x215)]:_0x70296d[_0x3bbd71(0x29f)]),_0x5691e8['shareReplay'](0x1))),_0x213c49(this,_0x3bbd71(0x3b7),!0x1),_0x213c49(this,_0x3bbd71(0x3d9),[]),(this['unitID']=_0x33f0b9,this[_0x3bbd71(0x3a9)]=_0x66edf,this[_0x3bbd71(0x285)]=_0x14d9f6,this['_injector']=_0x43bb6e,this[_0x3bbd71(0x177)]=_0x3fe3c9,this['_localeService']=_0x10cb61,this['_revisionService']=_0x1d212f,this[_0x3bbd71(0x172)]=_0x4f8c04,this[_0x3bbd71(0x3bf)]=_0x40c1a8,this[_0x3bbd71(0x426)]=_0x32559c,this['_commandService']=_0x221b45,this[_0x3bbd71(0x38d)]=_0x2be801,this[_0x3bbd71(0x3c3)]=_0x41227b,this[_0x3bbd71(0xee)]=_0x2da495);}get[_0x4a9ac9(0x22f)](){var _0x37f4ea=_0x4a9ac9;return this[_0x37f4ea(0x2fe)];}async[_0x4a9ac9(0x3d7)](){var _0x481dc5=_0x4a9ac9;if(this[_0x481dc5(0x22f)])throw new Error(_0x481dc5(0x132));await this['_init']();}[_0x4a9ac9(0x17c)](){var _0x172306=_0x4a9ac9;return this[_0x172306(0xd6)]=!0x0,_0x414ab0[_0x172306(0x3c4)](()=>{var _0x478f49=_0x172306;this[_0x478f49(0xd6)]=!0x1,this[_0x478f49(0x35f)]();});}[_0x4a9ac9(0x306)](_0x300a62){var _0x408778=_0x4a9ac9;this[_0x408778(0x3fe)](_0x300a62);}[_0x4a9ac9(0x3a2)](_0x1ffee3){var _0x4e3a19=_0x4a9ac9;this['_state']=_0x1ffee3,this[_0x4e3a19(0x400)][_0x4e3a19(0x2d0)](_0x1ffee3);}async[_0x4a9ac9(0x15d)](){var _0x3c694a=_0x4a9ac9,_0x316b7d;this[_0x3c694a(0x3a2)](await this[_0x3c694a(0x1b6)]()),this[_0x3c694a(0x3c3)]&&((_0x316b7d=this[_0x3c694a(0x3c3)])==null||_0x316b7d[_0x3c694a(0x169)](this[_0x3c694a(0x227)]),this[_0x3c694a(0x174)](this['_singleActiveUnitService'][_0x3c694a(0x284)](this[_0x3c694a(0x227)])[_0x3c694a(0x32f)](_0x148200=>{var _0x4b8ca7=_0x3c694a;this['_logService']['debug'](_0x4b8ca7(0x1bb),_0x4b8ca7(0x3f1),_0x148200),_0x148200===_0x39c98c['OTHER_CLIENTS_EDITING']?(this[_0x4b8ca7(0x172)]['emitEvent']({'id':_0x51d7a4[_0x4b8ca7(0x18f)]}),this['_permissionService']['updatePermissionPoint'](new _0x19c319['WorkbookEditablePermission'](this[_0x4b8ca7(0x227)])['id'],!0x1),this[_0x4b8ca7(0x38d)][_0x4b8ca7(0x39b)](!0x1)):(this[_0x4b8ca7(0x38d)][_0x4b8ca7(0x23b)](new _0x19c319[(_0x4b8ca7(0x415))](this[_0x4b8ca7(0x227)])['id'],!0x0),this[_0x4b8ca7(0x38d)][_0x4b8ca7(0x39b)](!0x0));})));let _0x3cddee=!0x1;return this[_0x3c694a(0x174)](this[_0x3c694a(0x3a9)][_0x3c694a(0xc8)][_0x3c694a(0x32f)](_0x4c9ac8=>{var _0x45a282=_0x3c694a;_0x4c9ac8===_0x38c5e4['ONLINE']?this[_0x45a282(0x199)](_0x3cddee):_0x4c9ac8===_0x38c5e4[_0x45a282(0x29f)]&&(_0x3cddee=!0x0,this[_0x45a282(0x41f)]());})),this[_0x3c694a(0x174)](this[_0x3c694a(0x3a9)][_0x3c694a(0x37f)][_0x3c694a(0x32f)](_0xe69888=>{var _0x59aba3=_0x3c694a;try{switch(_0xe69888['eventID']){case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x107)]:{this[_0x59aba3(0x368)](_0x19b128[_0x59aba3(0x2e6)](_0xe69888[_0x59aba3(0xc7)]));break;}case _0x19b128[_0x59aba3(0xd3)]['CHANGESET_ACK']:{this[_0x59aba3(0x16c)](_0xe69888[_0x59aba3(0xc7)]);break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x276)]:{this['_onRemoteRejected']();break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x3b8)]:{this[_0x59aba3(0x1bc)](_0xe69888[_0x59aba3(0xc7)]);break;}case _0x19b128['CollaborationEvent'][_0x59aba3(0x15a)]:{this['_onFetchMissResult'](_0xe69888['data'][_0x59aba3(0x45f)][_0x59aba3(0x45d)](_0x188703=>_0x19b128[_0x59aba3(0x2e6)](_0x188703)));break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x2be)]:{this[_0x59aba3(0x1e5)]({'isPermissionRej':!0x0});break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x448)]:break;}}catch(_0x1d0cb0){throw console['error']('Error\x20on\x20receiving\x20event',_0x1d0cb0),_0x1d0cb0;}})),this[_0x3c694a(0x2fe)];}[_0x4a9ac9(0x322)](){var _0x4fb288=_0x4a9ac9;this[_0x4fb288(0x3b7)]=!0x1;}['_lockTransition'](){var _0x342376=_0x4a9ac9;if(this[_0x342376(0x3b7)])throw new Error(_0x342376(0xe1));this[_0x342376(0x3b7)]=!0x0;}[_0x4a9ac9(0x3fe)](_0xd7b8f5){var _0x224c53=_0x4a9ac9;this[_0x224c53(0x36a)](),this['_updateState'](this[_0x224c53(0x2fe)][_0x224c53(0x123)](_0xd7b8f5)),this[_0x224c53(0x322)]();}['_onRemoteChangeset'](_0xe89c08){var _0x35d185=_0x4a9ac9;if(!(_0xe89c08[_0x35d185(0x249)]<=this[_0x35d185(0x355)][_0x35d185(0x2ea)](this['unitID']))){if(this[_0x35d185(0xd6)]){this[_0x35d185(0x3d9)][_0x35d185(0x350)](_0xe89c08);return;}this['_applyRemoteChangeset'](_0xe89c08);}}[_0x4a9ac9(0x35f)](){var _0xc94068=_0x4a9ac9;this[_0xc94068(0x3d9)][_0xc94068(0x1d0)](_0x8d3aa4=>this[_0xc94068(0x30c)](_0x8d3aa4)),this[_0xc94068(0x3d9)]=[];}[_0x4a9ac9(0x30c)](_0x3b94b8){var _0x134fc3=_0x4a9ac9;const _0x49d237=this[_0x134fc3(0x177)][_0x134fc3(0x427)][_0x134fc3(0x25a)](this['_compressMutationService'][_0x134fc3(0x427)][_0x134fc3(0x430)]()[_0x134fc3(0x3d1)])(_0x3b94b8[_0x134fc3(0x1a1)],null)||_0x3b94b8[_0x134fc3(0x1a1)],_0x58ab15={..._0x3b94b8,'mutations':_0x49d237};this[_0x134fc3(0x36a)](),this[_0x134fc3(0x3a2)](this[_0x134fc3(0x2fe)][_0x134fc3(0x326)](_0x58ab15)),this[_0x134fc3(0x322)]();}['_onRemoteACK'](_0x5aa514){var _0x5437e6=_0x4a9ac9;this[_0x5437e6(0x36a)](),this['_updateState'](this[_0x5437e6(0x2fe)][_0x5437e6(0x10f)](_0x5aa514)),this[_0x5437e6(0x322)]();}[_0x4a9ac9(0x1e5)](_0x47bb52){var _0x1b2338=_0x4a9ac9;this[_0x1b2338(0x36a)](),this[_0x1b2338(0x3a2)](this[_0x1b2338(0x2fe)][_0x1b2338(0x1a9)](_0x47bb52)),this[_0x1b2338(0x322)]();}['_onRemoteRetry'](_0x2a273b){var _0x56143c=_0x4a9ac9;this[_0x56143c(0x36a)](),this[_0x56143c(0x3a2)](this[_0x56143c(0x2fe)][_0x56143c(0xfe)](_0x2a273b)),this[_0x56143c(0x322)]();}[_0x4a9ac9(0x436)](_0x358f92){var _0x3a01b8=_0x4a9ac9;if(!(this[_0x3a01b8(0x2fe)]instanceof _0x4113be[_0x3a01b8(0x3bd)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3ebfe6=_0x358f92[_0x3a01b8(0x45d)](_0x345a17=>{var _0x5fb9eb=_0x3a01b8;const _0x5be895=this['_compressMutationService'][_0x5fb9eb(0x427)][_0x5fb9eb(0x25a)](this[_0x5fb9eb(0x177)][_0x5fb9eb(0x427)][_0x5fb9eb(0x430)]()['COMPRESS_MUTATION_APPLY'])(_0x345a17['mutations'],null)||_0x345a17[_0x5fb9eb(0x1a1)];return{..._0x345a17,'mutations':_0x5be895};});this[_0x3a01b8(0x36a)](),this[_0x3a01b8(0x3a2)](this[_0x3a01b8(0x2fe)][_0x3a01b8(0x412)](_0x3ebfe6)),this[_0x3a01b8(0x322)]();}['_toggleOffline'](){var _0x47aa8f=_0x4a9ac9;this['_lockTransition'](),this[_0x47aa8f(0x3a2)](this[_0x47aa8f(0x2fe)][_0x47aa8f(0x217)]()),this['_unlockTransition']();}[_0x4a9ac9(0x199)](_0x2b2a15=!0x1){var _0x67f5e6=_0x4a9ac9;this['_lockTransition'](),this[_0x67f5e6(0x3a2)](this[_0x67f5e6(0x2fe)][_0x67f5e6(0x251)]()),this[_0x67f5e6(0x322)]();const _0xdbeb0d=this[_0x67f5e6(0x2fe)];_0x2b2a15&&_0xdbeb0d instanceof _0x4113be[_0x67f5e6(0x45a)]&&(this[_0x67f5e6(0x36a)](),this[_0x67f5e6(0x3a2)](_0xdbeb0d[_0x67f5e6(0x21a)]()),this[_0x67f5e6(0x322)]());}async['_createInitialState'](){return new Promise(_0x116972=>{var _0x4b41ad=_0x515f;this[_0x4b41ad(0x3a9)][_0x4b41ad(0xc8)][_0x4b41ad(0x282)](_0x5691e8[_0x4b41ad(0x11e)](0x1))['subscribe'](async _0x366d16=>{var _0x275293=_0x4b41ad;_0x116972(await this[_0x275293(0x2bf)](_0x366d16===_0x38c5e4[_0x275293(0x33b)]));});});}[_0x4a9ac9(0x447)](){var _0x9a00b1=_0x4a9ac9;const _0x9200c9=this[_0x9a00b1(0x227)];return{'onStateChange':(_0x3985fb,_0x28fc0f)=>{var _0x59a43c=_0x9a00b1;if(_0x3985fb!==this[_0x59a43c(0x2fe)])throw new Error(_0x59a43c(0x1ac)+_0x3985fb[_0x59a43c(0x215)]+_0x59a43c(0x31e)+_0x28fc0f[_0x59a43c(0x215)]+_0x59a43c(0x29d)+this[_0x59a43c(0x2fe)]['status']);this[_0x59a43c(0x3a2)](_0x28fc0f);},'onSendChangeset':_0x53d0a8=>{var _0x43acb6=_0x9a00b1;_0x53d0a8[_0x43acb6(0x32d)]||(_0x53d0a8['sid']=this[_0x43acb6(0x45c)],_0x53d0a8['reqId']=++this[_0x43acb6(0x180)]);const _0x244a2b={'eventID':_0x19b128['CollaborationEvent'][_0x43acb6(0x1ef)],'data':{'unitID':_0x53d0a8[_0x43acb6(0x227)],'unitType':this[_0x43acb6(0x285)],'changeset':_0x53d0a8,'memberID':this[_0x43acb6(0x3a9)]['getMemberID']()}};this[_0x43acb6(0x3a9)]['send'](_0x244a2b,this[_0x43acb6(0x227)]);},'onMissingChangesets':({from:_0x1bc51e,to:_0x1e4e9b})=>{var _0x5c586f=_0x9a00b1;this[_0x5c586f(0x426)][_0x5c586f(0x1c4)](_0x5c586f(0x1bb),_0x5c586f(0x262)+_0x1bc51e+'\x20to\x20'+_0x1e4e9b);const _0x106ad5={'eventID':_0x19b128[_0x5c586f(0xd3)][_0x5c586f(0x188)],'data':{'unitID':_0x9200c9,'unitType':this[_0x5c586f(0x285)],'from':_0x1bc51e,'to':_0x1e4e9b}};this['session']['send'](_0x106ad5,this[_0x5c586f(0x227)]);}};}async[_0x4a9ac9(0x2bf)](_0x4aad30){var _0x2e025e=_0x4a9ac9,_0x385293,_0x453b26,_0x10fea9;const _0x4a0f0f=await((_0x385293=this[_0x2e025e(0xee)])==null?void 0x0:_0x385293[_0x2e025e(0x270)](this[_0x2e025e(0x227)])),_0x3322a9=(_0x453b26=_0x4a0f0f==null?void 0x0:_0x4a0f0f[_0x2e025e(0x1a1)])!=null?_0x453b26:[],_0x1cb32e=(_0x10fea9=_0x4a0f0f==null?void 0x0:_0x4a0f0f['awaitingChangeset'])!=null?_0x10fea9:null,_0x10d090=!!(_0x1cb32e!=null&&_0x1cb32e['sid'])&&!!(_0x1cb32e!=null&&_0x1cb32e[_0x2e025e(0x3c0)]);this['_changesetSessionId']=_0x10d090?_0x1cb32e['sid']:_0x19b128[_0x2e025e(0x283)](),this['_changesetReqId']=_0x10d090?_0x1cb32e[_0x2e025e(0x3c0)]:0x0;const _0x54454c=this['unitID'];try{this[_0x2e025e(0x406)](_0x1cb32e,_0x3322a9);}catch(_0x240409){this[_0x2e025e(0x426)]['error'](_0x240409);}const _0x98a11b=this['_createHandler']();if(_0x4aad30){const _0x4c4ceb=_0x1ccfb1(this[_0x2e025e(0x18a)],_0x54454c,this[_0x2e025e(0x285)],_0x1cb32e,_0x3322a9,_0x98a11b);return _0x4c4ceb instanceof _0x4113be[_0x2e025e(0x3f8)]?_0x4c4ceb[_0x2e025e(0x175)]():(_0x4c4ceb instanceof _0x4113be['AwaitingWithPendingState']||_0x4c4ceb instanceof _0x4113be[_0x2e025e(0x2f0)])&&_0x4c4ceb[_0x2e025e(0x341)](),_0x4c4ceb;}return this['_injector']['createInstance'](_0x4113be[_0x2e025e(0x307)],_0x54454c,this['_type'],_0x1cb32e,_0x3322a9,_0x98a11b);}[_0x4a9ac9(0x406)](_0x144031,_0x469dd6){var _0x1d3146=_0x4a9ac9,_0x316d74,_0x5a3634;const _0x54afc1=this[_0x1d3146(0x177)][_0x1d3146(0x427)][_0x1d3146(0x25a)](this['_compressMutationService'][_0x1d3146(0x427)]['getInterceptPoints']()[_0x1d3146(0x3d1)]);(_0x316d74=_0x54afc1((_0x144031==null?void 0x0:_0x144031[_0x1d3146(0x1a1)])||[],null))==null||_0x316d74[_0x1d3146(0x1d0)](_0x25f20f=>this[_0x1d3146(0x269)][_0x1d3146(0x304)](_0x25f20f['id'],_0x25f20f[_0x1d3146(0x111)])),(_0x5a3634=_0x54afc1(_0x469dd6||[],null))==null||_0x5a3634['forEach'](_0x4e5cf3=>this[_0x1d3146(0x269)]['executeCommand'](_0x4e5cf3['id'],_0x4e5cf3[_0x1d3146(0x111)]));}},_0x4113be[_0x4a9ac9(0x27d)]=_0x3086fd([_0x4e29d4(0x3,_0x414ab0['Inject'](_0x414ab0['Injector'])),_0x4e29d4(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x41c)])),_0x4e29d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x4e29d4(0x6,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x43a)])),_0x4e29d4(0x7,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x4e29d4(0x8,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x4e29d4(0x9,_0x414ab0['ILogService']),_0x4e29d4(0xa,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x4e29d4(0xb,_0x414ab0['IPermissionService']),_0x4e29d4(0xc,_0x414ab0[_0x4a9ac9(0x3e6)](_0x5db1cd)),_0x4e29d4(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x27d)]),_0x4113be[_0x4a9ac9(0x3d5)]=class extends _0x4113be['CollaborationEntity']{constructor(_0x153f65,_0x355aa9,_0x5b9a5b,_0x54ca63,_0x5d1cfe,_0x1f72b3,_0x8fec30,_0x43b3b0,_0x4100e2,_0x37ca3e,_0x27e221,_0x5cf753,_0x499d4c,_0x2c910d){var _0xb5898d=_0x4a9ac9;super(_0x153f65,_0x5b9a5b,_0x355aa9,_0x54ca63,_0x5d1cfe,_0x1f72b3,_0x8fec30,_0x43b3b0,_0x4100e2,_0x37ca3e,_0x27e221,_0x5cf753,_0x499d4c,_0x2c910d),_0x213c49(this,_0xb5898d(0x456),null),(this[_0xb5898d(0x227)]=_0x153f65,this[_0xb5898d(0x1ca)]=_0x355aa9);}[_0x4a9ac9(0x3de)](_0x1a9d43){this['_handlerCallback']=_0x1a9d43;}[_0x4a9ac9(0x228)](){var _0x5f1d37=_0x4a9ac9;this['_handlerCallback']=null,super[_0x5f1d37(0x228)]();}['_createHandler'](){var _0x1a15d2=_0x4a9ac9;const _0x1c6073=super[_0x1a15d2(0x447)]();return _0x1c6073[_0x1a15d2(0x244)]=_0x59c302=>{var _0x330af1=_0x1a15d2,_0x4c2337,_0x31d26e;return(_0x31d26e=(_0x4c2337=this[_0x330af1(0x456)])==null?void 0x0:_0x4c2337[_0x330af1(0x244)])==null?void 0x0:_0x31d26e[_0x330af1(0x3c1)](_0x4c2337,_0x59c302);},_0x1c6073['onTransformState']=_0x52275c=>{var _0x4d2ca2=_0x1a15d2,_0x123918,_0x3db668;return(_0x3db668=(_0x123918=this[_0x4d2ca2(0x456)])==null?void 0x0:_0x123918[_0x4d2ca2(0xc4)])==null?void 0x0:_0x3db668[_0x4d2ca2(0x3c1)](_0x123918,_0x52275c);},_0x1c6073['onTransformSelections']=_0x4f0a13=>{var _0x104b20=_0x1a15d2,_0x4fa708,_0x41ced6;return(_0x41ced6=(_0x4fa708=this[_0x104b20(0x456)])==null?void 0x0:_0x4fa708[_0x104b20(0x2bd)])==null?void 0x0:_0x41ced6[_0x104b20(0x3c1)](_0x4fa708,_0x4f0a13);},_0x1c6073[_0x1a15d2(0x452)]=_0x3a855c=>{var _0xe76612=_0x1a15d2,_0x95677b,_0x2f3c1c;return(_0x2f3c1c=(_0x95677b=this['_handlerCallback'])==null?void 0x0:_0x95677b['onSyncEditingCollabCursor'])==null?void 0x0:_0x2f3c1c[_0xe76612(0x3c1)](_0x95677b,_0x3a855c);},_0x1c6073[_0x1a15d2(0x17a)]=_0x1828c4=>{var _0x33c031=_0x1a15d2,_0x1f8ac9,_0x2a9fef,_0x3e56f5;if(!((_0x1f8ac9=this['_handlerCallback'])!=null&&_0x1f8ac9[_0x33c031(0x17a)]))throw new Error(_0x33c031(0x35b));return(_0x3e56f5=(_0x2a9fef=this[_0x33c031(0x456)])==null?void 0x0:_0x2a9fef['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3e56f5['call'](_0x2a9fef,_0x1828c4);},_0x1c6073[_0x1a15d2(0x148)]=_0x1c1b48=>{var _0x530aa8=_0x1a15d2,_0x357d47,_0x5b7270,_0x2fd3a9;if(!((_0x357d47=this['_handlerCallback'])!=null&&_0x357d47[_0x530aa8(0x148)]))throw new Error(_0x530aa8(0x1eb));return(_0x2fd3a9=(_0x5b7270=this['_handlerCallback'])==null?void 0x0:_0x5b7270['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2fd3a9[_0x530aa8(0x3c1)](_0x5b7270,_0x1c1b48);},_0x1c6073;}async[_0x4a9ac9(0x15d)](){var _0x3839ad=_0x4a9ac9;const _0x5db2e5=await super[_0x3839ad(0x15d)]();return this[_0x3839ad(0x174)](this[_0x3839ad(0x269)][_0x3839ad(0xd9)]((_0x2051de,_0x1c3d89)=>{var _0x2ce128=_0x3839ad;if(_0x2051de['type']!==_0x414ab0[_0x2ce128(0x1c9)][_0x2ce128(0x317)]||_0x1c3d89!=null&&_0x1c3d89[_0x2ce128(0x2cf)]||_0x1c3d89!=null&&_0x1c3d89['onlyLocal']||_0x2051de['id']===_0x33516d[_0x2ce128(0x28f)]['id'])return;const _0x352e50=_0x2051de[_0x2ce128(0x111)];if((_0x352e50==null?void 0x0:_0x352e50[_0x2ce128(0x44f)])!==this['unitID'])return;const _0x32e320=_0x2051de,_0x388eee=this[_0x2ce128(0x177)][_0x2ce128(0x427)][_0x2ce128(0x25a)](this[_0x2ce128(0x177)][_0x2ce128(0x427)][_0x2ce128(0x430)]()['COMPRESS_MUTATION_SEND'])([_0x32e320],this['_univerInstanceService'])||[_0x32e320];this['_onLocalMutation'](_0x388eee[0x0]);})),_0x5db2e5;}},_0x4113be['DocCollaborationEntity']=_0x3086fd([_0x4e29d4(0x3,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x4e29d4(0x4,_0x414ab0['Inject'](_0x19b128['CompressMutationService'])),_0x4e29d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x4e29d4(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x4e29d4(0x7,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x4e29d4(0x8,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x4e29d4(0x9,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x4e29d4(0xa,_0x414ab0['ICommandService']),_0x4e29d4(0xb,_0x414ab0[_0x4a9ac9(0x43c)]),_0x4e29d4(0xc,_0x414ab0[_0x4a9ac9(0x3e6)](_0x5db1cd)),_0x4e29d4(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x3d5)]),_0x4113be[_0x4a9ac9(0x15f)]=class extends _0x4113be[_0x4a9ac9(0x27d)]{constructor(_0x38f191,_0x431abd,_0x5a420d,_0x289cf6,_0x55aeb5,_0x731879,_0x562a8f,_0xb2e282,_0x550ea0,_0x424477,_0x491dad,_0x548018,_0x25f2e5,_0x5ec695,_0x531ead){var _0x112d63=_0x4a9ac9;super(_0x38f191,_0x5a420d,_0x431abd,_0x289cf6,_0x55aeb5,_0x731879,_0x562a8f,_0x550ea0,_0x424477,_0x491dad,_0x548018,_0x25f2e5,_0x5ec695,_0x531ead),this[_0x112d63(0x227)]=_0x38f191,this[_0x112d63(0x1ca)]=_0x431abd,this['_sheetTransformSelectionsService']=_0xb2e282;}[_0x4a9ac9(0x447)](){var _0x53ca2a=_0x4a9ac9;const _0x59f9bd=super[_0x53ca2a(0x447)]();return _0x59f9bd[_0x53ca2a(0x2bd)]=_0x3bc6fa=>this[_0x53ca2a(0x305)][_0x53ca2a(0x3c8)](_0x3bc6fa),_0x59f9bd;}async['_init'](){var _0x1fa15a=_0x4a9ac9;const _0x2b7181=await super['_init']();return this[_0x1fa15a(0x174)](this[_0x1fa15a(0x269)]['onMutationExecutedForCollab']((_0xb51ef4,_0x442972)=>{var _0xe737e2=_0x1fa15a;if(_0xb51ef4[_0xe737e2(0x1ca)]!==_0x414ab0[_0xe737e2(0x1c9)][_0xe737e2(0x317)]||_0x442972!=null&&_0x442972['fromCollab']||_0x442972!=null&&_0x442972[_0xe737e2(0x20c)])return;const _0x21c261=_0xb51ef4[_0xe737e2(0x111)];if((_0x21c261==null?void 0x0:_0x21c261[_0xe737e2(0x44f)])!==this['unitID'])return;const _0x375a08=_0xb51ef4,_0x195228=this['_compressMutationService'][_0xe737e2(0x427)][_0xe737e2(0x25a)](this[_0xe737e2(0x177)][_0xe737e2(0x427)]['getInterceptPoints']()[_0xe737e2(0x250)])([_0x375a08],this[_0xe737e2(0x3bf)])||[_0x375a08];this[_0xe737e2(0x3fe)](_0x195228[0x0]);})),_0x2b7181;}},_0x4113be[_0x4a9ac9(0x15f)]=_0x3086fd([_0x4e29d4(0x3,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x4e29d4(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x41c)])),_0x4e29d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x4e29d4(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x4e29d4(0x7,_0x414ab0['Inject'](_0x4113be[_0x4a9ac9(0x425)])),_0x4e29d4(0x8,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x4e29d4(0x9,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x4e29d4(0xa,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x4e29d4(0xb,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x4e29d4(0xc,_0x414ab0[_0x4a9ac9(0x43c)]),_0x4e29d4(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x5db1cd)),_0x4e29d4(0xe,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x15f)]);const _0xc74a4=_0x414ab0[_0x4a9ac9(0x158)](_0x4a9ac9(0x224));function _0x5efbeb(_0x57df17){var _0x4a75ee=_0x4a9ac9,_0x3900d6,_0x189bdf,_0x119018,_0x38fea0,_0x1f4fab;const _0x3047c0=_0x57df17[_0x4a75ee(0xc7)],_0x2a26bd=JSON[_0x4a75ee(0xb7)](_0x3047c0);switch(_0x2a26bd['cmd']){case _0x4b3637[_0x4a75ee(0x2a7)]:case _0x4b3637['HELLO']:{const _0x4ad1ea=_0x2a26bd[_0x4a75ee(0x2a4)];return{..._0x2a26bd,'data':_0x4ad1ea,'cmd':_0x2a26bd[_0x4a75ee(0x387)]};}case _0x4b3637['JOIN']:{const _0x4259eb=_0x2a26bd[_0x4a75ee(0x2b9)];return{..._0x2a26bd,'data':_0x4259eb,'cmd':_0x2a26bd[_0x4a75ee(0x387)]};}case _0x4b3637[_0x4a75ee(0x1e1)]:{const _0x2d240d=_0x2a26bd[_0x4a75ee(0x18e)];switch(_0x2d240d[_0x4a75ee(0x439)]){case _0x19b128['CollaborationEvent']['PERMISSION_REJ']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x3900d6=_0x2d240d['permissionRejEvent'])==null?void 0x0:_0x3900d6['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x455)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x189bdf=_0x2d240d['csAckEvent'])==null?void 0x0:_0x189bdf['cs']},'cmd':_0x2a26bd['cmd']};case _0x19b128['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x119018=_0x2d240d[_0x4a75ee(0xe2)])==null?void 0x0:_0x119018['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x276)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x38fea0=_0x2d240d['csRejEvent'])==null?void 0x0:_0x38fea0['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x1f4fab=_0x2d240d[_0x4a75ee(0x2c8)])==null?void 0x0:_0x1f4fab['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)]['UPDATE_CURSOR']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d['updateCursorEvent']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x3e2)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x2f4)]},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x3cd)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x134)]},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)]['LIVESHARE_NEW_HOST']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x3ac)]},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x21b)]:case _0x19b128['CollaborationEvent'][_0x4a75ee(0x2a3)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x2d9)]},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x308)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d['liveShareNewHost']},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x38f)]:return{..._0x2a26bd,'data':_0x2d240d,'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x147)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0xba)]},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)]['UPDATE_PERMISSION_OBJ']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0xb8)]},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x1cd)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x449)]},'cmd':_0x2a26bd['cmd']};case _0x19b128['CollaborationEvent'][_0x4a75ee(0x448)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0xe4)]},'cmd':_0x2a26bd['cmd']};default:return _0x2a26bd;}}default:return _0x2a26bd;}}function _0x320526(_0x36ebfc){var _0x18d121=_0x4a9ac9;switch(_0x36ebfc[_0x18d121(0x387)]){case _0x4b3637[_0x18d121(0x2a7)]:case _0x4b3637['HELLO']:return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc[_0x18d121(0x387)],'routeKey':_0x36ebfc[_0x18d121(0x2f3)]});case _0x4b3637[_0x18d121(0x1f4)]:{let _0x47f9f0;switch(_0x36ebfc['data'][_0x18d121(0x439)]){case _0x19b128[_0x18d121(0xd3)]['UPDATE_CURSOR']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)]['UPDATE_CURSOR'],'updateCursorEvent':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128['CollaborationEvent']['USERS_LEAVE']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x3cd)],'leaveEvent':_0x36ebfc['data']['data']};break;}case _0x19b128['CollaborationEvent'][_0x18d121(0x3e2)]:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x3e2)],'joinEvent':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128[_0x18d121(0xd3)][_0x18d121(0x117)]:{_0x47f9f0={'eventID':_0x19b128['CollaborationEvent'][_0x18d121(0x117)],'liveShareNewHost':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128[_0x18d121(0xd3)]['LIVESHARE_OPERATION']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x2a3)],'liveShareOperation':_0x36ebfc['data']['data']};break;}case _0x19b128['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x308)],'liveShareTerminate':_0x36ebfc[_0x18d121(0xc7)][_0x18d121(0xc7)]};break;}case _0x19b128[_0x18d121(0xd3)][_0x18d121(0x110)]:{_0x47f9f0={'eventID':_0x19b128['CollaborationEvent'][_0x18d121(0x110)],'liveShareRequestHost':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128[_0x18d121(0xd3)][_0x18d121(0x21b)]:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x21b)]};break;}default:_0x47f9f0={'eventID':_0x36ebfc[_0x18d121(0xc7)][_0x18d121(0x439)]};}return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc['cmd'],'routeKey':_0x36ebfc['routeKey'],'collaMsg':_0x47f9f0});}case _0x4b3637['JOIN']:return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc[_0x18d121(0x387)],'routeKey':_0x36ebfc[_0x18d121(0x2f3)],'joinReq':_0x36ebfc[_0x18d121(0xc7)]});case _0x4b3637[_0x18d121(0x3a0)]:return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc['cmd'],'routeKey':_0x36ebfc[_0x18d121(0x2f3)],'leaveReq':_0x36ebfc[_0x18d121(0xc7)]});default:throw new Error(_0x18d121(0x2eb));}}var _0x4bdb8a=Object[_0x4a9ac9(0xf9)],_0x69bf7=(_0x1fd6e2,_0x10ca7e,_0xe641eb,_0x21896b)=>{for(var _0x16d9c0=_0x21896b>0x1?void 0x0:_0x21896b?_0x4bdb8a(_0x10ca7e,_0xe641eb):_0x10ca7e,_0x30fd65=_0x1fd6e2['length']-0x1,_0xa50bba;_0x30fd65>=0x0;_0x30fd65--)(_0xa50bba=_0x1fd6e2[_0x30fd65])&&(_0x16d9c0=_0xa50bba(_0x16d9c0)||_0x16d9c0);return _0x16d9c0;},_0x45d37c=(_0x4eb236,_0x61c714)=>(_0x42e7de,_0x312f21)=>_0x61c714(_0x42e7de,_0x312f21,_0x4eb236);const _0x1c92c3=_0x414ab0[_0x4a9ac9(0x158)](_0x4a9ac9(0x245));function _0x44a122(_0x238a4f,_0x229655,_0x3ab2b7){var _0xc19d32=_0x4a9ac9;return _0x238a4f+'/'+_0x229655+_0xc19d32(0x39a)+_0x3ab2b7+_0xc19d32(0x31f);}_0x4113be[_0x4a9ac9(0x41a)]=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x2799e7,_0x2dcd2f,_0x2ca1cc,_0x591f28,_0x177a12){var _0x5e658a=_0x4a9ac9;super(),this[_0x5e658a(0x18a)]=_0x2799e7,this[_0x5e658a(0x16f)]=_0x2dcd2f,this[_0x5e658a(0x14e)]=_0x2ca1cc,this['_logService']=_0x591f28,this[_0x5e658a(0xc6)]=_0x177a12;}[_0x4a9ac9(0xbc)](_0x12127d){var _0x200836=_0x4a9ac9;const _0x17b093=this[_0x200836(0x18a)]['get'](_0x3bd1c1[_0x200836(0x3ce)]);if(!_0x17b093)throw new Error(_0x200836(0x17b));const _0x4f1b02=_0x17b093[_0x200836(0x389)](_0x12127d);if(!_0x4f1b02)throw new Error(_0x200836(0x2e5));const _0x1e1b17=new _0x414ab0['DisposableCollection'](),_0x24240f=new _0x5691e8['Subject']();_0x1e1b17[_0x200836(0x39d)](_0x4f1b02[_0x200836(0x43b)][_0x200836(0x32f)](_0x5da6f6=>_0x24240f[_0x200836(0x2d0)](_0x5da6f6))),_0x1e1b17[_0x200836(0x39d)](_0x414ab0[_0x200836(0x3c4)](()=>_0x24240f[_0x200836(0x115)]()));const _0x3b83f9=new _0x5691e8[(_0x200836(0x220))]();_0x1e1b17[_0x200836(0x39d)](_0x4f1b02['error$']['subscribe'](_0x79dbbe=>_0x3b83f9[_0x200836(0x2d0)](_0x79dbbe))),_0x1e1b17[_0x200836(0x39d)](_0x414ab0[_0x200836(0x3c4)](()=>_0x3b83f9[_0x200836(0x115)]()));const _0x3e86f0=new _0x5691e8['Subject']();_0x1e1b17[_0x200836(0x39d)](_0x4f1b02[_0x200836(0x24f)][_0x200836(0x32f)](_0x817d2a=>{var _0x4b1af2=_0x200836;const _0x2adb27=_0x5efbeb(_0x817d2a);_0x3e86f0[_0x4b1af2(0x2d0)](_0x2adb27);})),_0x1e1b17[_0x200836(0x39d)](_0x414ab0['toDisposable'](()=>_0x3e86f0[_0x200836(0x115)]()));let _0x275bc2;const _0x8f8b5b=()=>{var _0xbe9e7=_0x200836;_0x3b83f9['next'](new Event('connection\x20error')),_0x24240f[_0xbe9e7(0x2d0)](new Event(_0xbe9e7(0x163))),_0x275bc2[_0xbe9e7(0xed)]();};return _0x275bc2={'memberID':'','close$':_0x24240f[_0x200836(0x3cf)](),'error$':_0x3b83f9['asObservable'](),'open$':_0x4f1b02[_0x200836(0x421)],'message$':_0x3e86f0[_0x200836(0x3cf)](),'send':_0x3710ec=>{var _0x54eeae=_0x200836;if(_0x3710ec[_0x54eeae(0x387)]===_0x4b3637[_0x54eeae(0x1f4)]){if(_0x3710ec[_0x54eeae(0xc7)]['eventID']===_0x19b128[_0x54eeae(0xd3)]['SUBMIT_CHANGESET']){this[_0x54eeae(0x2e2)](_0x275bc2,_0x3710ec[_0x54eeae(0xc7)])[_0x54eeae(0x191)](_0x45bace=>{var _0x5108df=_0x54eeae;this[_0x5108df(0x426)][_0x5108df(0x2ad)](_0x45bace),_0x8f8b5b();});return;}if(_0x3710ec[_0x54eeae(0xc7)][_0x54eeae(0x439)]===_0x19b128[_0x54eeae(0xd3)][_0x54eeae(0x188)]){const _0x48c03e=_0x3710ec[_0x54eeae(0xc7)];this['_fetchMissChangesets'](_0x48c03e)[_0x54eeae(0x11d)](_0x2708b8=>{var _0x56874e=_0x54eeae;_0x3e86f0[_0x56874e(0x2d0)]({'cmd':_0x4b3637[_0x56874e(0x1e1)],'code':_0x2e116a['OK'],'routeKey':_0x48c03e[_0x56874e(0xc7)]['unitID'],'routeType':'','data':{'eventID':_0x19b128[_0x56874e(0xd3)][_0x56874e(0x15a)],'data':{'changesets':_0x2708b8}}});})[_0x54eeae(0x191)](_0x2fe264=>{var _0x197bcd=_0x54eeae;this[_0x197bcd(0x426)][_0x197bcd(0x2ad)](_0x2fe264),_0x8f8b5b();});return;}}_0x4f1b02[_0x54eeae(0x3a3)](_0x320526(_0x3710ec));},'close':()=>{var _0x2a89e3=_0x200836;_0x4f1b02[_0x2a89e3(0xed)](),_0x1e1b17[_0x2a89e3(0x228)]();}},_0x275bc2;}async[_0x4a9ac9(0x2e2)](_0x3e4264,_0x9e1f96){var _0x377630=_0x4a9ac9,_0x4d0cc7;const {unitType:_0xc47d65,unitID:_0xf7ce5d,changeset:_0x17512d}=_0x9e1f96['data'],_0x25bcb9={'unitID':_0xf7ce5d,'memberID':_0x3e4264[_0x377630(0x1f1)],'type':_0xc47d65,'changeset':_0x19b128['parseChangesetToProtocol'](_0x17512d)},_0x5f577f=this[_0x377630(0x14e)][_0x377630(0xfb)](_0xfa3b98),_0x3ab7b3=_0x44a122((_0x4d0cc7=_0x5f577f==null?void 0x0:_0x5f577f[_0x377630(0x3dc)])!=null?_0x4d0cc7:_0x213ef9,_0xc47d65,_0xf7ce5d);try{await this[_0x377630(0x16f)][_0x377630(0x1fe)](_0x3ab7b3,{'body':_0x25bcb9});}catch(_0x40377b){throw this[_0x377630(0x426)][_0x377630(0x2ad)](_0x377630(0x2dd),_0x377630(0x3b5)),_0x40377b;}}async[_0x4a9ac9(0x359)](_0x338dba){var _0x4a5fd3=_0x4a9ac9;const {unitID:_0x41b68b,from:_0x26bf78,to:_0x242d13,unitType:_0x4faf10}=_0x338dba[_0x4a5fd3(0xc7)];return(await this[_0x4a5fd3(0xc6)][_0x4a5fd3(0x31c)]({'metadata':void 0x0},{'unitID':_0x41b68b,'type':_0x4faf10,'from':_0x26bf78,'to':_0x242d13}))[_0x4a5fd3(0x45f)][_0x4a5fd3(0x45d)](_0x169d19=>((_0x169d19[_0x4a5fd3(0x1a1)]===null||_0x169d19[_0x4a5fd3(0x1a1)]===void 0x0)&&(_0x169d19[_0x4a5fd3(0x1a1)]=[]),_0x169d19));}},_0x4113be['CollaborationSocketService']=_0x69bf7([_0x45d37c(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x45d37c(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1['HTTPService'])),_0x45d37c(0x2,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x45d37c(0x3,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x45d37c(0x4,_0x19b128[_0x4a9ac9(0x20e)])],_0x4113be['CollaborationSocketService']);var _0x4b0f3a=Object[_0x4a9ac9(0xf9)],_0xe9919d=(_0x1f3f44,_0x8d7f45,_0x4c0380,_0x397859)=>{var _0x4a1566=_0x4a9ac9;for(var _0x430cc3=_0x397859>0x1?void 0x0:_0x397859?_0x4b0f3a(_0x8d7f45,_0x4c0380):_0x8d7f45,_0x53c53b=_0x1f3f44[_0x4a1566(0x337)]-0x1,_0x2cbcd6;_0x53c53b>=0x0;_0x53c53b--)(_0x2cbcd6=_0x1f3f44[_0x53c53b])&&(_0x430cc3=_0x2cbcd6(_0x430cc3)||_0x430cc3);return _0x430cc3;},_0x56d56d=(_0xce5532,_0x5c868f)=>(_0x2367b8,_0x2ad8b8)=>_0x5c868f(_0x2367b8,_0x2ad8b8,_0xce5532);_0x4113be[_0x4a9ac9(0x103)]=class extends _0x414ab0['Disposable']{constructor(_0x1faf4e,_0x2e2446,_0x31da43,_0x395a06,_0x44e3c9,_0x4df1ff){var _0x2f2bb3=_0x4a9ac9;super(),_0x213c49(this,'_socket$',new _0x5691e8[(_0x2f2bb3(0x33f))](void 0x0)),_0x213c49(this,_0x2f2bb3(0x17f),this[_0x2f2bb3(0x1b5)][_0x2f2bb3(0x3cf)]()),_0x213c49(this,'_candidateSocket',null),_0x213c49(this,'_sessions',new Map()),_0x213c49(this,_0x2f2bb3(0x39f),new _0x5691e8[(_0x2f2bb3(0x33f))](_0x38c5e4[_0x2f2bb3(0x200)])),_0x213c49(this,_0x2f2bb3(0x1ae),this[_0x2f2bb3(0x39f)][_0x2f2bb3(0x3cf)]()),_0x213c49(this,_0x2f2bb3(0x24d),!0x1),_0x213c49(this,_0x2f2bb3(0x42c)),_0x213c49(this,_0x2f2bb3(0x3ea),0x0),_0x213c49(this,_0x2f2bb3(0x1f8)),_0x213c49(this,_0x2f2bb3(0xbf)),(this[_0x2f2bb3(0x18a)]=_0x1faf4e,this[_0x2f2bb3(0x426)]=_0x2e2446,this['_configService']=_0x31da43,this[_0x2f2bb3(0x1d6)]=_0x395a06,this['_collaborationUIEventService']=_0x44e3c9,this[_0x2f2bb3(0x1e4)]=_0x4df1ff,this[_0x2f2bb3(0x14c)]());}get[_0x4a9ac9(0xd8)](){var _0x50a13f=_0x4a9ac9;return this[_0x50a13f(0x1b5)][_0x50a13f(0x458)]();}['_listenToNetworkCondition'](){var _0x460c7a=_0x4a9ac9;this[_0x460c7a(0x1e4)]&&this[_0x460c7a(0x174)](this[_0x460c7a(0x1e4)]['online$'][_0x460c7a(0x32f)](_0x70467c=>{var _0x39ea63=_0x460c7a;_0x70467c&&!this[_0x39ea63(0xd8)]&&this['reconnect'](),_0x70467c||this[_0x39ea63(0x3ed)]();}));}[_0x4a9ac9(0x228)](){var _0x4731cd=_0x4a9ac9;super['dispose'](),this[_0x4731cd(0x3e9)](),this[_0x4731cd(0x20b)](),this[_0x4731cd(0x3c6)](),this[_0x4731cd(0x15b)]['forEach'](_0x3ad8c1=>_0x3ad8c1[_0x4731cd(0x228)]()),this[_0x4731cd(0x15b)]['clear'](),this[_0x4731cd(0x39f)][_0x4731cd(0x115)]();}async[_0x4a9ac9(0x2fc)](_0x2c0090){var _0x583bb2=_0x4a9ac9;if(this['_sessions'][_0x583bb2(0x1f6)](_0x2c0090))return this[_0x583bb2(0x15b)][_0x583bb2(0x218)](_0x2c0090);this[_0x583bb2(0x33c)]();const _0x2dfd91=this[_0x583bb2(0x18a)][_0x583bb2(0x3da)](_0x4113be['CollaborationSession'],_0x2c0090,this['_socket$'][_0x583bb2(0x3cf)]());return this['_sessions'][_0x583bb2(0x356)](_0x2c0090,_0x2dfd91),_0x2dfd91;}[_0x4a9ac9(0x280)](_0x5dabb1){var _0x503840=_0x4a9ac9,_0x46d5d9;const _0x1f059e=this[_0x503840(0x15b)][_0x503840(0x218)](_0x5dabb1);_0x1f059e&&(this[_0x503840(0x15b)]['delete'](_0x5dabb1),_0x1f059e['close']()),this[_0x503840(0x15b)]['size']||(_0x46d5d9=this[_0x503840(0xd8)])==null||_0x46d5d9[_0x503840(0xed)]();}[_0x4a9ac9(0x40e)](){var _0x3074bd=_0x4a9ac9;this['_retryCount']=0x0,this[_0x3074bd(0x3e9)](),this[_0x3074bd(0x17e)]();}[_0x4a9ac9(0x3e9)](){var _0x466b0c=_0x4a9ac9;this[_0x466b0c(0x42c)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x7e02fe=_0x4a9ac9,_0x22eb44;const _0x188be8=this['_configService'][_0x7e02fe(0xfb)](_0xfa3b98),_0x2a79c2=(_0x22eb44=_0x188be8==null?void 0x0:_0x188be8[_0x7e02fe(0x259)])!=null?_0x22eb44:_0x340e26,_0x242e2f=await this[_0x7e02fe(0x1d6)][_0x7e02fe(0x389)](_0x2a79c2);return this[_0x7e02fe(0x1d9)]=_0x242e2f,_0x242e2f;}async[_0x4a9ac9(0x33c)](){var _0x395f27=_0x4a9ac9,_0x583952,_0x4e4183;try{const _0x205bcf=(_0x4e4183=(_0x583952=this['_socket'])!=null?_0x583952:this[_0x395f27(0x1d9)])!=null?_0x4e4183:await this[_0x395f27(0x18d)]();if(_0x205bcf){const _0x11d267=_0x205bcf[_0x395f27(0x3a3)];_0x205bcf['send']=_0x2c6ca3=>(this[_0x395f27(0x379)](),_0x11d267[_0x395f27(0x108)](_0x205bcf,[_0x2c6ca3])),_0x205bcf[_0x395f27(0x24f)]['subscribe'](_0x34a5d6=>this[_0x395f27(0x225)](_0x205bcf,_0x34a5d6)),_0x205bcf[_0x395f27(0x37b)][_0x395f27(0x282)](_0x1f22ee[_0x395f27(0x11e)](0x1))[_0x395f27(0x32f)](_0x406226=>this[_0x395f27(0x426)][_0x395f27(0x2ad)](_0x395f27(0x2c9),_0x406226)),_0x205bcf[_0x395f27(0x421)][_0x395f27(0x282)](_0x1f22ee['take'](0x1))[_0x395f27(0x32f)](()=>{this['_onConnectionOpen'](_0x205bcf);}),_0x205bcf['close$'][_0x395f27(0x282)](_0x1f22ee[_0x395f27(0x11e)](0x1))['subscribe'](_0x13e39c=>{var _0x161d34=_0x395f27;this[_0x161d34(0x426)][_0x161d34(0x1c4)](_0x161d34(0x320),_0x161d34(0x394),_0x13e39c),this['_onConnectionFailed']();});}}catch(_0x443017){this[_0x395f27(0x426)]['error'](_0x443017),this['_onConnectionFailed']();}}[_0x4a9ac9(0x1e0)](_0x313ffe){var _0x5ab9b9=_0x4a9ac9;this['_logService'][_0x5ab9b9(0x1c4)]('[CollaborationSessionService]','socket\x20open.'),_0x313ffe[_0x5ab9b9(0x3a3)]({'cmd':_0x4b3637[_0x5ab9b9(0x3f5)]}),this[_0x5ab9b9(0x379)]();}['_onOffline'](){var _0x2c5146=_0x4a9ac9;this[_0x2c5146(0x24d)]=!0x1,this[_0x2c5146(0x1d9)]=null,this[_0x2c5146(0x39f)][_0x2c5146(0x2d0)](_0x38c5e4['OFFLINE']),this['_socket$'][_0x2c5146(0x2d0)](null),this['_clearTimeoutTimer'](),this[_0x2c5146(0x3c6)]();}[_0x4a9ac9(0x1b3)](){var _0x1cd81f=_0x4a9ac9,_0x483fd2;this['_onOffline'](),this[_0x1cd81f(0x3ea)]<((_0x483fd2=this[_0x1cd81f(0x14e)][_0x1cd81f(0xfb)](_0x314a57))!=null?_0x483fd2:0x3)?(this[_0x1cd81f(0x167)]['emitEvent']({'id':_0x51d7a4[_0x1cd81f(0x185)]}),this[_0x1cd81f(0x17e)]()):this['_collaborationUIEventService'][_0x1cd81f(0x3f6)]({'id':_0x51d7a4[_0x1cd81f(0x3d3)]});}[_0x4a9ac9(0x17e)](){var _0x31ef2d=_0x4a9ac9,_0x4a90c6;const _0x458c9d=this[_0x31ef2d(0x3ea)],_0x20332f=this[_0x31ef2d(0x14e)][_0x31ef2d(0xfb)](_0xfa3b98),_0x1a9d19=_0x458c9d===0x0?0x0:((_0x4a90c6=_0x20332f==null?void 0x0:_0x20332f[_0x31ef2d(0xd4)])!=null?_0x4a90c6:0x4e20)*0x2**_0x458c9d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x294fb7=_0x31ef2d;clearTimeout(this[_0x294fb7(0x42c)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x1a9d19),this['_retryCount']+=0x1;}['_onMessage'](_0x31ff4b,_0x11cd69){var _0x1ab180=_0x4a9ac9;const {cmd:_0x34c8ca}=_0x11cd69;_0x34c8ca===_0x4b3637[_0x1ab180(0x3f5)]&&!this[_0x1ab180(0x24d)]&&(_0x31ff4b[_0x1ab180(0x1f1)]=_0x11cd69[_0x1ab180(0xc7)][_0x1ab180(0x1f1)],this[_0x1ab180(0x1b5)][_0x1ab180(0x2d0)](_0x31ff4b),this['_status$'][_0x1ab180(0x2d0)](_0x38c5e4[_0x1ab180(0x33b)]),this[_0x1ab180(0x24d)]=!0x0,this[_0x1ab180(0x1d9)]=null),_0x34c8ca===_0x4b3637[_0x1ab180(0x2a7)]&&this['_clearTimeoutTimer'](),this[_0x1ab180(0x379)]();}['_rescheduleHeartbeat'](){var _0x243444=_0x4a9ac9,_0x1affcd;this['_clearHeartbeatTimer'](),this[_0x243444(0x1f8)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1affcd=this[_0x243444(0x14e)][_0x243444(0xfb)](_0x18d90d))!=null?_0x1affcd:0x7530);}[_0x4a9ac9(0x2bc)](){var _0x10e901=_0x4a9ac9;this[_0x10e901(0xd8)]['send']({'cmd':_0x4b3637[_0x10e901(0x2a7)]}),this[_0x10e901(0x2f9)]();}['_waitForHeartbeatResponse'](){var _0x42f855=_0x4a9ac9,_0x253bcc;this[_0x42f855(0xbf)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x253bcc=this['_configService']['getConfig'](_0x2beeb0))!=null?_0x253bcc:0x4e20);}[_0x4a9ac9(0x3c6)](){var _0x436e93=_0x4a9ac9;this[_0x436e93(0x1f8)]!=null&&(clearTimeout(this[_0x436e93(0x1f8)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x291ab2=_0x4a9ac9;this[_0x291ab2(0xbf)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x291ab2(0xbf)]=null);}},_0x4113be[_0x4a9ac9(0x103)]=_0xe9919d([_0x56d56d(0x0,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x56d56d(0x1,_0x414ab0['ILogService']),_0x56d56d(0x2,_0x414ab0['IConfigService']),_0x56d56d(0x3,_0x1c92c3),_0x56d56d(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x56d56d(0x5,_0x414ab0[_0x4a9ac9(0x3e6)](_0xc74a4))],_0x4113be[_0x4a9ac9(0x103)]);var _0x2323ab=Object[_0x4a9ac9(0xf9)],_0x49dc86=(_0x25903c,_0x147f83,_0x1491d9,_0x186bf1)=>{for(var _0x4038be=_0x186bf1>0x1?void 0x0:_0x186bf1?_0x2323ab(_0x147f83,_0x1491d9):_0x147f83,_0x778728=_0x25903c['length']-0x1,_0x539616;_0x778728>=0x0;_0x778728--)(_0x539616=_0x25903c[_0x778728])&&(_0x4038be=_0x539616(_0x4038be)||_0x4038be);return _0x4038be;},_0x1af6fc=(_0xa375a0,_0x5373dc)=>(_0x528011,_0x498adb)=>_0x5373dc(_0x528011,_0x498adb,_0xa375a0);_0x4113be[_0x4a9ac9(0x240)]=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x5a89b5,_0x492f9,_0x1517fd,_0x4f11d4){var _0x39db4f=_0x4a9ac9,_0x2978bb;super(),_0x213c49(this,'_entities',new Map()),_0x213c49(this,'_entityInit$',new _0x5691e8[(_0x39db4f(0x220))]()),_0x213c49(this,_0x39db4f(0x1ad),this[_0x39db4f(0x3b9)][_0x39db4f(0x3cf)]()),(this[_0x39db4f(0x18a)]=_0x5a89b5,this[_0x39db4f(0x2ff)]=_0x492f9,this[_0x39db4f(0x14e)]=_0x1517fd,this['_univerInstanceService']=_0x4f11d4,((_0x2978bb=this[_0x39db4f(0x14e)][_0x39db4f(0xfb)](_0xfa3b98))==null?void 0x0:_0x2978bb[_0x39db4f(0x44a)])!==!0x1&&this[_0x39db4f(0x15d)]());}[_0x4a9ac9(0x228)](){var _0x414772=_0x4a9ac9;super['dispose'](),this[_0x414772(0x45e)][_0x414772(0x1d0)](_0x50f329=>_0x50f329[_0x414772(0x228)]()),this[_0x414772(0x45e)][_0x414772(0x1d1)]();}[_0x4a9ac9(0x28b)](_0x414fdb){var _0x2f22ab=_0x4a9ac9,_0x2a1d8c;return(_0x2a1d8c=this[_0x2f22ab(0x45e)][_0x2f22ab(0x218)](_0x414fdb))!=null?_0x2a1d8c:null;}['getCollabEntity$'](_0x2f3770){var _0xad02f1=_0x4a9ac9;const _0x20f756=this[_0xad02f1(0x28b)](_0x2f3770);return _0x20f756?_0x5691e8['of'](_0x20f756):this[_0xad02f1(0x3b9)][_0xad02f1(0x282)](_0x1f22ee['filter'](_0x324941=>_0x324941[_0xad02f1(0x227)]===_0x2f3770));}[_0x4a9ac9(0x384)](_0x43df4b){var _0x54e466=_0x4a9ac9;return _0x5691e8[_0x54e466(0x1c8)](this[_0x54e466(0x287)](_0x43df4b)['pipe'](_0x1f22ee[_0x54e466(0x45d)](()=>{})));}[_0x4a9ac9(0x15d)](){var _0x4c123b=_0x4a9ac9;this[_0x4c123b(0x3bf)][_0x4c123b(0x314)](_0x414ab0[_0x4c123b(0x20f)][_0x4c123b(0x429)])['pipe'](_0x5691e8['takeUntil'](this[_0x4c123b(0x3bc)]),_0x1f22ee[_0x4c123b(0x332)](0x10))[_0x4c123b(0x32f)](async _0x2b1679=>{var _0x2df93d=_0x4c123b;const _0x2580b8=_0x2b1679[_0x2df93d(0x420)](),_0xe67b4d=await this[_0x2df93d(0x1c6)](_0x2580b8,_0x5599c4['UNIVER_SHEET']);this[_0x2df93d(0x45e)][_0x2df93d(0x356)](_0x2580b8,_0xe67b4d);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x414ab0['UniverInstanceType'][_0x4c123b(0x120)])[_0x4c123b(0x282)](_0x5691e8[_0x4c123b(0x399)](this['dispose$']),_0x1f22ee[_0x4c123b(0x332)](0x10))['pipe'](_0x1f22ee[_0x4c123b(0xef)](_0x3e6703=>!_0x3e6703[_0x4c123b(0x420)]()[_0x4c123b(0x1ff)]('__')))['subscribe'](async _0x5dfcc2=>{var _0x37ebe3=_0x4c123b;const _0x3dbb0e=_0x5dfcc2[_0x37ebe3(0x420)](),_0xa5c01c=await this[_0x37ebe3(0x1c6)](_0x3dbb0e,_0x5599c4[_0x37ebe3(0x120)]);this[_0x37ebe3(0x45e)]['set'](_0x3dbb0e,_0xa5c01c);}),_0x5691e8[_0x4c123b(0x3e1)](this[_0x4c123b(0x3bf)]['getTypeOfUnitDisposed$'](_0x414ab0[_0x4c123b(0x20f)][_0x4c123b(0x429)]),this[_0x4c123b(0x3bf)][_0x4c123b(0x29a)](_0x414ab0['UniverInstanceType']['UNIVER_DOC']))[_0x4c123b(0x282)](_0x5691e8['takeUntil'](this[_0x4c123b(0x3bc)]))[_0x4c123b(0x32f)](_0x1c34ca=>{var _0x58418d=_0x4c123b;const _0x1675a6=_0x1c34ca[_0x58418d(0x420)](),_0x2c1af5=this[_0x58418d(0x45e)][_0x58418d(0x218)](_0x1675a6);_0x2c1af5&&(_0x2c1af5[_0x58418d(0x228)](),this[_0x58418d(0x45e)]['delete'](_0x1675a6));});}async['_startCollaboration'](_0x230de4,_0x111e72){var _0x390796=_0x4a9ac9;const _0x3909bc=await this[_0x390796(0x2ff)][_0x390796(0x2fc)](_0x230de4),_0x308fde=this[_0x390796(0x18a)][_0x390796(0x3da)](this[_0x390796(0x1e3)](_0x111e72),_0x230de4,_0x111e72,_0x3909bc);return await _0x308fde['init'](),this[_0x390796(0x3b9)][_0x390796(0x2d0)](_0x308fde),_0x308fde;}[_0x4a9ac9(0x1e3)](_0x43af85){var _0x45695d=_0x4a9ac9;switch(_0x43af85){case _0x5599c4[_0x45695d(0x120)]:return _0x4113be[_0x45695d(0x3d5)];case _0x5599c4[_0x45695d(0x429)]:return _0x4113be['SheetCollaborationEntity'];default:throw new Error(_0x45695d(0x386)+_0x43af85);}}},_0x4113be[_0x4a9ac9(0x240)]=_0x49dc86([_0x1af6fc(0x0,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af6fc(0x1,_0x414ab0['Inject'](_0x4113be[_0x4a9ac9(0x103)])),_0x1af6fc(0x2,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x1af6fc(0x3,_0x414ab0[_0x4a9ac9(0x2f2)])],_0x4113be[_0x4a9ac9(0x240)]);var _0x8608fd=Object[_0x4a9ac9(0xf9)],_0x5e5267=(_0x36056f,_0x585277,_0x56d346,_0x56de94)=>{var _0x56106f=_0x4a9ac9;for(var _0x17ec9e=_0x56de94>0x1?void 0x0:_0x56de94?_0x8608fd(_0x585277,_0x56d346):_0x585277,_0x10c50c=_0x36056f[_0x56106f(0x337)]-0x1,_0x4497ba;_0x10c50c>=0x0;_0x10c50c--)(_0x4497ba=_0x36056f[_0x10c50c])&&(_0x17ec9e=_0x4497ba(_0x17ec9e)||_0x17ec9e);return _0x17ec9e;},_0x43f37d=(_0x4c997c,_0x13b51d)=>(_0xcecd27,_0x3d9e7f)=>_0x13b51d(_0xcecd27,_0x3d9e7f,_0x4c997c);const _0x39264b=_0x4a9ac9(0x446),_0x3c9b50=_0x4a9ac9(0x2de);let _0x3df3a0=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x4b1485,_0x22d866){var _0x233e59=_0x4a9ac9;super(),this[_0x233e59(0x3bf)]=_0x4b1485,this[_0x233e59(0x14e)]=_0x22d866,this[_0x233e59(0x15d)]();}[_0x4a9ac9(0x15d)](){var _0xeb6136=_0x4a9ac9;this[_0xeb6136(0x174)](this[_0xeb6136(0x3bf)][_0xeb6136(0x38b)][_0xeb6136(0x32f)](()=>{var _0x59e069=_0xeb6136,_0x23837d;const _0x2e5574=this['_univerInstanceService'][_0x59e069(0x159)]();let _0x557d0e=(_0x23837d=this['_configService'][_0x59e069(0xfb)](_0x39264b))!=null?_0x23837d:_0x3c9b50;_0x2e5574 instanceof _0x414ab0['Workbook']&&(_0x557d0e=_0x2e5574['name']),document[_0x59e069(0x454)]=_0x557d0e;}));}};_0x3df3a0=_0x5e5267([_0x43f37d(0x0,_0x414ab0['IUniverInstanceService']),_0x43f37d(0x1,_0x414ab0[_0x4a9ac9(0x1a4)])],_0x3df3a0);var _0x2c806a=Object['getOwnPropertyDescriptor'],_0x497c12=(_0x47a6b5,_0x581ef8,_0x5adc40,_0x11e537)=>{var _0x27d018=_0x4a9ac9;for(var _0x599d1d=_0x11e537>0x1?void 0x0:_0x11e537?_0x2c806a(_0x581ef8,_0x5adc40):_0x581ef8,_0x24f4a4=_0x47a6b5[_0x27d018(0x337)]-0x1,_0x20a21c;_0x24f4a4>=0x0;_0x24f4a4--)(_0x20a21c=_0x47a6b5[_0x24f4a4])&&(_0x599d1d=_0x20a21c(_0x599d1d)||_0x599d1d);return _0x599d1d;},_0x494533=(_0x382f83,_0x594949)=>(_0x280bcf,_0x484b82)=>_0x594949(_0x280bcf,_0x484b82,_0x382f83);let _0x34dd56=class{constructor(_0x4119c1,_0x11bbf6,_0x38f370){var _0x13644a=_0x4a9ac9;this['_configService']=_0x4119c1,this[_0x13644a(0x16f)]=_0x11bbf6,this['localeService']=_0x38f370,this[_0x13644a(0x3d7)]();}[_0x4a9ac9(0x3d7)](){var _0x4b9698=_0x4a9ac9;this[_0x4b9698(0x16f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5dee71,_0x434e36)=>_0x434e36(_0x5dee71)[_0x4b9698(0x282)](_0x5691e8[_0x4b9698(0x3e0)](async _0x208699=>{var _0x4fe336=_0x4b9698;const _0x44a8a5=_0x208699;if(_0x44a8a5['status']===0x191){if(typeof window>'u')throw new Error(_0x4fe336(0x35d));if(window['confirm'](this[_0x4fe336(0x203)]['t'](_0x4fe336(0x378)))){const _0x1cbaa5=window['encodeURIComponent'](window['location'][_0x4fe336(0xdc)]);window[_0x4fe336(0x1df)][_0x4fe336(0xdc)]=this[_0x4fe336(0x2df)]()+_0x4fe336(0x2d8)+_0x1cbaa5;}}return _0x44a8a5;}))});}[_0x4a9ac9(0x2df)](){var _0xb4a56d=_0x4a9ac9,_0x4e03c0;const _0x4f97f5=this[_0xb4a56d(0x14e)][_0xb4a56d(0xfb)](_0xfa3b98);return(_0x4e03c0=_0x4f97f5==null?void 0x0:_0x4f97f5[_0xb4a56d(0x3ab)])!=null?_0x4e03c0:_0x22dd04;}};_0x34dd56=_0x497c12([_0x494533(0x0,_0x414ab0['IConfigService']),_0x494533(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1[_0x4a9ac9(0x354)])),_0x494533(0x2,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)]))],_0x34dd56);var _0x47abf9=Object['getOwnPropertyDescriptor'],_0x1a83b9=(_0x32caa6,_0x160f17,_0x242497,_0xd1f69b)=>{var _0x5db4d3=_0x4a9ac9;for(var _0x19805b=_0xd1f69b>0x1?void 0x0:_0xd1f69b?_0x47abf9(_0x160f17,_0x242497):_0x160f17,_0x158cd7=_0x32caa6[_0x5db4d3(0x337)]-0x1,_0xec0b0d;_0x158cd7>=0x0;_0x158cd7--)(_0xec0b0d=_0x32caa6[_0x158cd7])&&(_0x19805b=_0xec0b0d(_0x19805b)||_0x19805b);return _0x19805b;},_0x5729a2=(_0x238d15,_0x17e3ca)=>(_0x3edd64,_0x511a47)=>_0x17e3ca(_0x3edd64,_0x511a47,_0x238d15);const _0x1ccda8='/universer-api/authz';_0x4113be[_0x4a9ac9(0x3a1)]=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x4e85e3,_0x5604fe){var _0x365006=_0x4a9ac9;super(),this[_0x365006(0xeb)]=_0x4e85e3,this[_0x365006(0x14e)]=_0x5604fe,this['_initMergeInterceptor']();}[_0x4a9ac9(0x238)](){var _0x53976f=_0x4a9ac9;const _0x2029e4=this;this['disposeWithMe'](this[_0x53976f(0xeb)][_0x53976f(0x3d4)]({'priority':0x3e7,'interceptor':_0x3bd1c1['MergeInterceptorFactory']({'isMatch'(_0x4c90fb){var _0x238c82=_0x53976f,_0x1da594;if(_0x4c90fb[_0x238c82(0x315)]==='POST'&&((_0x1da594=_0x4c90fb[_0x238c82(0x274)])!=null&&_0x1da594['body'])){const {objectID:_0x43f849,objectType:_0x1471fd}=_0x4c90fb[_0x238c82(0x274)][_0x238c82(0xec)]||{};if(!_0x43f849||_0x1471fd===void 0x0)return!0x1;const _0x220b1b=_0x2029e4[_0x238c82(0x1db)]()+'/'+_0x1471fd+'/object/'+_0x43f849+_0x238c82(0x1e2);if(_0x4c90fb[_0x238c82(0x28e)]===_0x220b1b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f6f70){var _0xcdf56f;return(_0xcdf56f=_0x2f6f70['requestParams'])==null?void 0x0:_0xcdf56f['body'];},'mergeParamsToRequest'(_0x360d2b,_0x4f5ce8){var _0x2e11a9=_0x53976f;const _0x26b080=_0x2029e4[_0x2e11a9(0x1db)]()+'/-/object/-/batch_allowed',_0x240028=_0x360d2b[_0x2e11a9(0x2c3)]((_0x40de00,_0x52968c)=>{var _0x322ddf=_0x2e11a9;const {unitID:_0x5ecc56,objectID:_0x45d780,objectType:_0x53ee5a,actions:_0x30ca77}=_0x52968c;return _0x40de00[_0x5ecc56]||(_0x40de00[_0x5ecc56]={}),_0x40de00[_0x5ecc56][_0x45d780]||(_0x40de00[_0x5ecc56][_0x45d780]={'objectID':_0x45d780,'objectType':_0x53ee5a,'actions':[]}),_0x40de00[_0x5ecc56][_0x45d780][_0x322ddf(0x40a)][_0x322ddf(0x350)](..._0x30ca77),_0x40de00;},{}),_0x4362fb=[];for(const _0x2f9825 in _0x240028)for(const _0x5938cc in _0x240028[_0x2f9825]){const {actions:_0x5e4f39,objectType:_0x50692b}=_0x240028[_0x2f9825][_0x5938cc],_0x312162=[...new Set(_0x5e4f39)];_0x4362fb[_0x2e11a9(0x350)]({'unitID':_0x2f9825,'objectID':_0x5938cc,'objectType':_0x50692b,'actions':_0x312162});}return new _0x3bd1c1[(_0x2e11a9(0x2fa))](_0x2e11a9(0x271),_0x26b080,{'headers':_0x4f5ce8[_0x2e11a9(0x222)],'withCredentials':_0x4f5ce8[_0x2e11a9(0x44d)],'responseType':_0x4f5ce8[_0x2e11a9(0x116)],'body':{'requests':_0x4362fb}});}},{'distributeResult'(_0x435a4e,_0x1b9618){var _0x3c1039=_0x53976f;const {objectActions:_0x14e30a}=_0x435a4e;return _0x1b9618[_0x3c1039(0x45d)](_0x5a72a5=>{var _0x31bcf8=_0x3c1039;const {unitID:_0xef99e5,objectID:_0xb0da48,actions:_0x32482}=_0x5a72a5,_0x3a59c5=_0x14e30a[_0x31bcf8(0x3be)](_0x44223f=>_0x44223f[_0x31bcf8(0x227)]===_0xef99e5&&_0x44223f[_0x31bcf8(0xcc)]===_0xb0da48),_0x1fbf19=_0x32482['map'](_0x4c110f=>_0x3a59c5==null?void 0x0:_0x3a59c5[_0x31bcf8(0x40a)][_0x31bcf8(0x3be)](_0x311ccc=>_0x311ccc[_0x31bcf8(0x26c)]===_0x4c110f))[_0x31bcf8(0xef)](_0x464785=>!!_0x464785);return{'config':_0x5a72a5,'result':{'actions':_0x1fbf19,'error':_0x435a4e[_0x31bcf8(0x2ad)]}};});}})}));}[_0x4a9ac9(0x1db)](){var _0x2d30ae=_0x4a9ac9,_0x5910f5;const _0x350fc6=this['_configService'][_0x2d30ae(0xfb)](_0xfa3b98);return(_0x5910f5=_0x350fc6==null?void 0x0:_0x350fc6[_0x2d30ae(0x27b)])!=null?_0x5910f5:_0x1ccda8;}async[_0x4a9ac9(0x2b2)](_0x1a79cd){var _0x2d1e0f=_0x4a9ac9;const _0x302b21=this[_0x2d1e0f(0x1db)]()+'/'+_0x1a79cd[_0x2d1e0f(0x264)]+_0x2d1e0f(0x208);return(await this[_0x2d1e0f(0xeb)][_0x2d1e0f(0x1fe)](_0x302b21,{'body':_0x1a79cd}))[_0x2d1e0f(0xec)]['objectID']||'';}async[_0x4a9ac9(0x186)](_0x3660b2){var _0x5877a1=_0x4a9ac9;const _0x4116b9=this[_0x5877a1(0x1db)]()+_0x5877a1(0x363);return(await this[_0x5877a1(0xeb)]['post'](_0x4116b9,{'body':_0x3660b2}))[_0x5877a1(0xec)][_0x5877a1(0x166)];}async[_0x4a9ac9(0x182)](_0x54b557){var _0x47f352=_0x4a9ac9,_0x1cb6d9,_0x452a61;const _0x230c77=this[_0x47f352(0x1db)]()+'/'+_0x54b557[_0x47f352(0x264)]+_0x47f352(0x201)+_0x54b557[_0x47f352(0xcc)],_0x3c3e7c=await this['_HTTPService'][_0x47f352(0x39e)](_0x230c77,{'body':_0x54b557});if(((_0x452a61=(_0x1cb6d9=_0x3c3e7c==null?void 0x0:_0x3c3e7c[_0x47f352(0xec)])==null?void 0x0:_0x1cb6d9[_0x47f352(0x2ad)])==null?void 0x0:_0x452a61['code'])!==0x1)throw new Error(_0x47f352(0x16a));}async[_0x4a9ac9(0x417)](_0x1ab0bb){var _0x54b930=_0x4a9ac9;const _0x556d7d=this[_0x54b930(0x1db)]()+'/'+_0x1ab0bb[_0x54b930(0x264)]+_0x54b930(0x201)+_0x1ab0bb['objectID']+_0x54b930(0x1e2);return(await this[_0x54b930(0xeb)][_0x54b930(0x1fe)](_0x556d7d,{'body':_0x1ab0bb}))[_0x54b930(0xec)]['actions'];}async[_0x4a9ac9(0x178)](_0x15f12a){var _0xaa6bdc=_0x4a9ac9;const _0xe051be=this[_0xaa6bdc(0x1db)]()+_0xaa6bdc(0x353);return(await this[_0xaa6bdc(0xeb)][_0xaa6bdc(0x1fe)](_0xe051be,{'body':{'requests':_0x15f12a}}))['body'][_0xaa6bdc(0x1ee)];}async[_0x4a9ac9(0xf2)](_0x571b4b){var _0x2ab6da=_0x4a9ac9;const _0x573938=this['_getAPIPrefixPath']()+'/'+_0x571b4b[_0x2ab6da(0x264)]+_0x2ab6da(0x28d),_0x57df8a=await this[_0x2ab6da(0xeb)]['post'](_0x573938,{'body':_0x571b4b});return{'roles':_0x57df8a[_0x2ab6da(0xec)][_0x2ab6da(0x313)],'actions':_0x57df8a['body'][_0x2ab6da(0x40a)]};}async[_0x4a9ac9(0x3cb)](_0x52da8c){var _0x465924=_0x4a9ac9;const _0xa83793=this[_0x465924(0x1db)]()+_0x465924(0xe0);await this['_HTTPService'][_0x465924(0x3b1)](_0xa83793,{'params':{'collaboratorID':_0x52da8c['collaboratorID'],'objectID':_0x52da8c[_0x465924(0xcc)],'unitID':_0x52da8c[_0x465924(0x227)]}});}async[_0x4a9ac9(0x2c7)](_0x51f6b8){var _0x15ae2d=_0x4a9ac9;const _0x43593d=this['_getAPIPrefixPath']()+_0x15ae2d(0xe0);await this['_HTTPService'][_0x15ae2d(0x328)](_0x43593d,{'body':_0x51f6b8});}async[_0x4a9ac9(0x1dd)](_0x444b34){var _0x261f61=_0x4a9ac9;const _0x480e47=this[_0x261f61(0x1db)]()+_0x261f61(0xe0);await this[_0x261f61(0xeb)][_0x261f61(0x1fe)](_0x480e47,{'body':_0x444b34});}async[_0x4a9ac9(0x149)](_0x5cdf9c){var _0x392a0d=_0x4a9ac9;const _0x5ba545=this[_0x392a0d(0x1db)]()+_0x392a0d(0xe0);return(await this[_0x392a0d(0xeb)][_0x392a0d(0x218)](_0x5ba545,{'params':{'objectID':_0x5cdf9c[_0x392a0d(0xcc)],'unitID':_0x5cdf9c[_0x392a0d(0x227)]}}))[_0x392a0d(0xec)][_0x392a0d(0x411)];}async[_0x4a9ac9(0x43d)](_0x585f4d){var _0x41fb09=_0x4a9ac9;const _0x2c1e71=this[_0x41fb09(0x1db)]()+_0x41fb09(0xe0);await this[_0x41fb09(0xeb)][_0x41fb09(0x39e)](_0x2c1e71,{'body':_0x585f4d});}},_0x4113be[_0x4a9ac9(0x3a1)]=_0x1a83b9([_0x5729a2(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1['HTTPService'])),_0x5729a2(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x1a4)]))],_0x4113be['AuthzIoHttpService']);var _0x3b8175=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x164355(_0x2795f8){var _0x2a3f87=_0x4a9ac9;return _0x2795f8&&_0x2795f8[_0x2a3f87(0x2d4)]&&Object[_0x2a3f87(0x3ad)]['hasOwnProperty'][_0x2a3f87(0x3c1)](_0x2795f8,_0x2a3f87(0x3b3))?_0x2795f8[_0x2a3f87(0x3b3)]:_0x2795f8;}var _0x227988={'exports':{}};function _0x34b389(_0x26f21b){var _0x4dd0cf=_0x4a9ac9;throw new Error(_0x4dd0cf(0x1c1)+_0x26f21b+_0x4dd0cf(0x3b2));}var _0x3b501c={'exports':{}},_0xa3c777=_0x3b501c[_0x4a9ac9(0x42d)],_0x15eda4;function _0x576c57(){return _0x15eda4||(_0x15eda4=0x1,function(_0x311df7,_0x1f00d4){(function(_0x27e873,_0xc4d890){var _0x978c66=_0x515f;_0x311df7[_0x978c66(0x42d)]=_0xc4d890();}(_0xa3c777,function(){var _0x2d1a3b=_0x2d1a3b||function(_0x1c9203,_0xe1dff3){var _0x4e7af5=_0x515f,_0x1606dc;if(typeof window<'u'&&window[_0x4e7af5(0x422)]&&(_0x1606dc=window[_0x4e7af5(0x422)]),typeof self<'u'&&self[_0x4e7af5(0x422)]&&(_0x1606dc=self[_0x4e7af5(0x422)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1606dc=globalThis[_0x4e7af5(0x422)]),!_0x1606dc&&typeof window<'u'&&window[_0x4e7af5(0x1c5)]&&(_0x1606dc=window[_0x4e7af5(0x1c5)]),!_0x1606dc&&typeof _0x3b8175<'u'&&_0x3b8175['crypto']&&(_0x1606dc=_0x3b8175[_0x4e7af5(0x422)]),!_0x1606dc&&typeof _0x34b389=='function')try{_0x1606dc=require('crypto');}catch{}var _0x4718b9=function(){var _0x1c16ca=_0x4e7af5;if(_0x1606dc){if(typeof _0x1606dc[_0x1c16ca(0x13b)]==_0x1c16ca(0x143))try{return _0x1606dc[_0x1c16ca(0x13b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1606dc[_0x1c16ca(0x1d7)]=='function')try{return _0x1606dc[_0x1c16ca(0x1d7)](0x4)[_0x1c16ca(0x126)]();}catch{}}throw new Error(_0x1c16ca(0x13f));},_0x4c7cf9=Object[_0x4e7af5(0x2b2)]||(function(){function _0x3db480(){}return function(_0x4bed51){var _0x8764ba=_0x515f,_0x1622f7;return _0x3db480[_0x8764ba(0x3ad)]=_0x4bed51,_0x1622f7=new _0x3db480(),_0x3db480['prototype']=null,_0x1622f7;};}()),_0x319338={},_0xa6c77=_0x319338['lib']={},_0x2fe6df=_0xa6c77[_0x4e7af5(0x3cc)]=(function(){return{'extend':function(_0x2bf738){var _0x513ffd=_0x515f,_0x2a2ee1=_0x4c7cf9(this);return _0x2bf738&&_0x2a2ee1[_0x513ffd(0x1dc)](_0x2bf738),(!_0x2a2ee1[_0x513ffd(0x2d1)](_0x513ffd(0x3d7))||this[_0x513ffd(0x3d7)]===_0x2a2ee1[_0x513ffd(0x3d7)])&&(_0x2a2ee1['init']=function(){var _0x1d5b70=_0x513ffd;_0x2a2ee1[_0x1d5b70(0x20d)][_0x1d5b70(0x3d7)][_0x1d5b70(0x108)](this,arguments);}),_0x2a2ee1[_0x513ffd(0x3d7)][_0x513ffd(0x3ad)]=_0x2a2ee1,_0x2a2ee1['$super']=this,_0x2a2ee1;},'create':function(){var _0x299f09=_0x515f,_0x6482ec=this[_0x299f09(0x298)]();return _0x6482ec[_0x299f09(0x3d7)]['apply'](_0x6482ec,arguments),_0x6482ec;},'init':function(){},'mixIn':function(_0x32e018){var _0x437744=_0x515f;for(var _0x141ef1 in _0x32e018)_0x32e018[_0x437744(0x2d1)](_0x141ef1)&&(this[_0x141ef1]=_0x32e018[_0x141ef1]);_0x32e018['hasOwnProperty'](_0x437744(0x1b1))&&(this['toString']=_0x32e018[_0x437744(0x1b1)]);},'clone':function(){var _0x3cc071=_0x515f;return this['init'][_0x3cc071(0x3ad)][_0x3cc071(0x298)](this);}};}()),_0x3f5348=_0xa6c77[_0x4e7af5(0x398)]=_0x2fe6df[_0x4e7af5(0x298)]({'init':function(_0x1db92b,_0x5a17b5){var _0x5a2566=_0x4e7af5;_0x1db92b=this[_0x5a2566(0xd5)]=_0x1db92b||[],_0x5a17b5!=_0xe1dff3?this[_0x5a2566(0x1a5)]=_0x5a17b5:this[_0x5a2566(0x1a5)]=_0x1db92b[_0x5a2566(0x337)]*0x4;},'toString':function(_0x22c958){var _0x31bed1=_0x4e7af5;return(_0x22c958||_0x1ff77d)[_0x31bed1(0x195)](this);},'concat':function(_0x520007){var _0x3bebfb=_0x4e7af5,_0x4cfb42=this[_0x3bebfb(0xd5)],_0x5297e9=_0x520007['words'],_0x1bc9c5=this[_0x3bebfb(0x1a5)],_0x283940=_0x520007[_0x3bebfb(0x1a5)];if(this[_0x3bebfb(0x33d)](),_0x1bc9c5%0x4)for(var _0x2df350=0x0;_0x2df350<_0x283940;_0x2df350++){var _0xcb0091=_0x5297e9[_0x2df350>>>0x2]>>>0x18-_0x2df350%0x4*0x8&0xff;_0x4cfb42[_0x1bc9c5+_0x2df350>>>0x2]|=_0xcb0091<<0x18-(_0x1bc9c5+_0x2df350)%0x4*0x8;}else{for(var _0x10d438=0x0;_0x10d438<_0x283940;_0x10d438+=0x4)_0x4cfb42[_0x1bc9c5+_0x10d438>>>0x2]=_0x5297e9[_0x10d438>>>0x2];}return this[_0x3bebfb(0x1a5)]+=_0x283940,this;},'clamp':function(){var _0xa8b624=_0x4e7af5,_0x2fb712=this[_0xa8b624(0xd5)],_0x3dc16f=this[_0xa8b624(0x1a5)];_0x2fb712[_0x3dc16f>>>0x2]&=0xffffffff<<0x20-_0x3dc16f%0x4*0x8,_0x2fb712['length']=_0x1c9203['ceil'](_0x3dc16f/0x4);},'clone':function(){var _0x4cc158=_0x4e7af5,_0x7f2a3a=_0x2fe6df[_0x4cc158(0x253)][_0x4cc158(0x3c1)](this);return _0x7f2a3a[_0x4cc158(0xd5)]=this[_0x4cc158(0xd5)]['slice'](0x0),_0x7f2a3a;},'random':function(_0x59e3a9){var _0x304fcd=_0x4e7af5;for(var _0x185fe3=[],_0xc3fe1e=0x0;_0xc3fe1e<_0x59e3a9;_0xc3fe1e+=0x4)_0x185fe3['push'](_0x4718b9());return new _0x3f5348[(_0x304fcd(0x3d7))](_0x185fe3,_0x59e3a9);}}),_0x3980e0=_0x319338['enc']={},_0x1ff77d=_0x3980e0['Hex']={'stringify':function(_0xdc8ebb){var _0x262107=_0x4e7af5;for(var _0x3ccf11=_0xdc8ebb[_0x262107(0xd5)],_0x2dbc8b=_0xdc8ebb['sigBytes'],_0x5ebc14=[],_0x5e8bbd=0x0;_0x5e8bbd<_0x2dbc8b;_0x5e8bbd++){var _0x55f40e=_0x3ccf11[_0x5e8bbd>>>0x2]>>>0x18-_0x5e8bbd%0x4*0x8&0xff;_0x5ebc14['push']((_0x55f40e>>>0x4)['toString'](0x10)),_0x5ebc14[_0x262107(0x350)]((_0x55f40e&0xf)[_0x262107(0x1b1)](0x10));}return _0x5ebc14['join']('');},'parse':function(_0x46428b){var _0x2366c6=_0x4e7af5;for(var _0x433d76=_0x46428b[_0x2366c6(0x337)],_0x2836be=[],_0x19ec2c=0x0;_0x19ec2c<_0x433d76;_0x19ec2c+=0x2)_0x2836be[_0x19ec2c>>>0x3]|=parseInt(_0x46428b[_0x2366c6(0x2a6)](_0x19ec2c,0x2),0x10)<<0x18-_0x19ec2c%0x8*0x4;return new _0x3f5348['init'](_0x2836be,_0x433d76/0x2);}},_0x3e417f=_0x3980e0['Latin1']={'stringify':function(_0x3b05c4){var _0x17b29d=_0x4e7af5;for(var _0x1656b5=_0x3b05c4[_0x17b29d(0xd5)],_0x3c7838=_0x3b05c4['sigBytes'],_0x2d0eee=[],_0x4ded98=0x0;_0x4ded98<_0x3c7838;_0x4ded98++){var _0x38753e=_0x1656b5[_0x4ded98>>>0x2]>>>0x18-_0x4ded98%0x4*0x8&0xff;_0x2d0eee[_0x17b29d(0x350)](String[_0x17b29d(0x22b)](_0x38753e));}return _0x2d0eee[_0x17b29d(0x431)]('');},'parse':function(_0x49c428){var _0x1c6c7e=_0x4e7af5;for(var _0x56d7e7=_0x49c428[_0x1c6c7e(0x337)],_0x1beb44=[],_0x99ca01=0x0;_0x99ca01<_0x56d7e7;_0x99ca01++)_0x1beb44[_0x99ca01>>>0x2]|=(_0x49c428[_0x1c6c7e(0x2ee)](_0x99ca01)&0xff)<<0x18-_0x99ca01%0x4*0x8;return new _0x3f5348[(_0x1c6c7e(0x3d7))](_0x1beb44,_0x56d7e7);}},_0x52f9ea=_0x3980e0[_0x4e7af5(0x248)]={'stringify':function(_0x309ad4){var _0x274e64=_0x4e7af5;try{return decodeURIComponent(escape(_0x3e417f[_0x274e64(0x195)](_0x309ad4)));}catch{throw new Error(_0x274e64(0x10d));}},'parse':function(_0x154c43){var _0x2f9970=_0x4e7af5;return _0x3e417f[_0x2f9970(0xb7)](unescape(encodeURIComponent(_0x154c43)));}},_0x4a0a47=_0xa6c77[_0x4e7af5(0x3c2)]=_0x2fe6df['extend']({'reset':function(){var _0x50ae28=_0x4e7af5;this[_0x50ae28(0x10c)]=new _0x3f5348[(_0x50ae28(0x3d7))](),this['_nDataBytes']=0x0;},'_append':function(_0x323351){var _0x3776b1=_0x4e7af5;typeof _0x323351=='string'&&(_0x323351=_0x52f9ea[_0x3776b1(0xb7)](_0x323351)),this[_0x3776b1(0x10c)]['concat'](_0x323351),this['_nDataBytes']+=_0x323351[_0x3776b1(0x1a5)];},'_process':function(_0x2e6163){var _0x2f9168=_0x4e7af5,_0x1cc630,_0x21dfe1=this['_data'],_0x3f8d7d=_0x21dfe1[_0x2f9168(0xd5)],_0xe8bdef=_0x21dfe1[_0x2f9168(0x1a5)],_0x29b598=this[_0x2f9168(0xc2)],_0x2497d1=_0x29b598*0x4,_0x109b9c=_0xe8bdef/_0x2497d1;_0x2e6163?_0x109b9c=_0x1c9203[_0x2f9168(0x26a)](_0x109b9c):_0x109b9c=_0x1c9203['max']((_0x109b9c|0x0)-this[_0x2f9168(0xd7)],0x0);var _0x836b21=_0x109b9c*_0x29b598,_0x425cc9=_0x1c9203[_0x2f9168(0x35c)](_0x836b21*0x4,_0xe8bdef);if(_0x836b21){for(var _0x4a3de2=0x0;_0x4a3de2<_0x836b21;_0x4a3de2+=_0x29b598)this[_0x2f9168(0x109)](_0x3f8d7d,_0x4a3de2);_0x1cc630=_0x3f8d7d[_0x2f9168(0x375)](0x0,_0x836b21),_0x21dfe1[_0x2f9168(0x1a5)]-=_0x425cc9;}return new _0x3f5348[(_0x2f9168(0x3d7))](_0x1cc630,_0x425cc9);},'clone':function(){var _0x584754=_0x4e7af5,_0x42ca3f=_0x2fe6df['clone'][_0x584754(0x3c1)](this);return _0x42ca3f[_0x584754(0x10c)]=this[_0x584754(0x10c)][_0x584754(0x253)](),_0x42ca3f;},'_minBufferSize':0x0});_0xa6c77[_0x4e7af5(0x233)]=_0x4a0a47['extend']({'cfg':_0x2fe6df[_0x4e7af5(0x298)](),'init':function(_0x220c1a){var _0x131f66=_0x4e7af5;this['cfg']=this[_0x131f66(0x157)][_0x131f66(0x298)](_0x220c1a),this[_0x131f66(0x101)]();},'reset':function(){var _0xb20f01=_0x4e7af5;_0x4a0a47['reset'][_0xb20f01(0x3c1)](this),this[_0xb20f01(0x342)]();},'update':function(_0x137523){var _0x401c17=_0x4e7af5;return this[_0x401c17(0x29b)](_0x137523),this[_0x401c17(0x390)](),this;},'finalize':function(_0x1a9f82){var _0x587af8=_0x4e7af5;_0x1a9f82&&this[_0x587af8(0x29b)](_0x1a9f82);var _0x1abc03=this[_0x587af8(0x37e)]();return _0x1abc03;},'blockSize':0x10,'_createHelper':function(_0x134994){return function(_0x30be06,_0x27665){var _0x25009a=_0x515f;return new _0x134994[(_0x25009a(0x3d7))](_0x27665)[_0x25009a(0x266)](_0x30be06);};},'_createHmacHelper':function(_0x44a6a4){return function(_0x5d5f36,_0x4b159f){var _0x1fc912=_0x515f;return new _0x34c1cb[(_0x1fc912(0x13c))][(_0x1fc912(0x3d7))](_0x44a6a4,_0x4b159f)[_0x1fc912(0x266)](_0x5d5f36);};}});var _0x34c1cb=_0x319338[_0x4e7af5(0xfd)]={};return _0x319338;}(Math);return _0x2d1a3b;}));}(_0x3b501c)),_0x3b501c['exports'];}var _0x49ec4d={'exports':{}},_0x1d0889=_0x49ec4d['exports'],_0x3fdbfe;function _0x3a836a(){return _0x3fdbfe||(_0x3fdbfe=0x1,function(_0x14c58b,_0x34231f){(function(_0x1d4999,_0xaaf1b2){_0x14c58b['exports']=_0xaaf1b2(_0x576c57());}(_0x1d0889,function(_0x578da8){var _0x14d21e=_0x515f;return(function(){var _0x25eac0=_0x515f,_0xbda2c9=_0x578da8,_0x218ab8=_0xbda2c9[_0x25eac0(0x428)],_0x358595=_0x218ab8['WordArray'],_0x16f3d2=_0xbda2c9[_0x25eac0(0x19a)];_0x16f3d2[_0x25eac0(0x405)]={'stringify':function(_0x4c9bf9){var _0x4b4286=_0x25eac0,_0x496d09=_0x4c9bf9[_0x4b4286(0xd5)],_0x497af6=_0x4c9bf9[_0x4b4286(0x1a5)],_0x319935=this[_0x4b4286(0x41b)];_0x4c9bf9[_0x4b4286(0x33d)]();for(var _0x2485d5=[],_0x2365f4=0x0;_0x2365f4<_0x497af6;_0x2365f4+=0x3)for(var _0xf7a027=_0x496d09[_0x2365f4>>>0x2]>>>0x18-_0x2365f4%0x4*0x8&0xff,_0x3e3c3f=_0x496d09[_0x2365f4+0x1>>>0x2]>>>0x18-(_0x2365f4+0x1)%0x4*0x8&0xff,_0xf35634=_0x496d09[_0x2365f4+0x2>>>0x2]>>>0x18-(_0x2365f4+0x2)%0x4*0x8&0xff,_0x4870cc=_0xf7a027<<0x10|_0x3e3c3f<<0x8|_0xf35634,_0x1dbc56=0x0;_0x1dbc56<0x4&&_0x2365f4+_0x1dbc56*0.75<_0x497af6;_0x1dbc56++)_0x2485d5[_0x4b4286(0x350)](_0x319935[_0x4b4286(0x26b)](_0x4870cc>>>0x6*(0x3-_0x1dbc56)&0x3f));var _0x2bab18=_0x319935[_0x4b4286(0x26b)](0x40);if(_0x2bab18){for(;_0x2485d5[_0x4b4286(0x337)]%0x4;)_0x2485d5[_0x4b4286(0x350)](_0x2bab18);}return _0x2485d5[_0x4b4286(0x431)]('');},'parse':function(_0x4896c5){var _0xfa725b=_0x25eac0,_0x3ac740=_0x4896c5[_0xfa725b(0x337)],_0xe94f85=this[_0xfa725b(0x41b)],_0xf619d6=this[_0xfa725b(0x140)];if(!_0xf619d6){_0xf619d6=this[_0xfa725b(0x140)]=[];for(var _0x2016b4=0x0;_0x2016b4<_0xe94f85[_0xfa725b(0x337)];_0x2016b4++)_0xf619d6[_0xe94f85[_0xfa725b(0x2ee)](_0x2016b4)]=_0x2016b4;}var _0xc0ee8f=_0xe94f85['charAt'](0x40);if(_0xc0ee8f){var _0x402af9=_0x4896c5[_0xfa725b(0x12b)](_0xc0ee8f);_0x402af9!==-0x1&&(_0x3ac740=_0x402af9);}return _0x55b3e0(_0x4896c5,_0x3ac740,_0xf619d6);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x55b3e0(_0x1d2078,_0x989dd,_0x38894c){var _0x96eef1=_0x25eac0;for(var _0x38300e=[],_0x3310d9=0x0,_0xd55d53=0x0;_0xd55d53<_0x989dd;_0xd55d53++)if(_0xd55d53%0x4){var _0x2b4dff=_0x38894c[_0x1d2078['charCodeAt'](_0xd55d53-0x1)]<<_0xd55d53%0x4*0x2,_0x10769f=_0x38894c[_0x1d2078[_0x96eef1(0x2ee)](_0xd55d53)]>>>0x6-_0xd55d53%0x4*0x2,_0x477b2f=_0x2b4dff|_0x10769f;_0x38300e[_0x3310d9>>>0x2]|=_0x477b2f<<0x18-_0x3310d9%0x4*0x8,_0x3310d9++;}return _0x358595['create'](_0x38300e,_0x3310d9);}}()),_0x578da8[_0x14d21e(0x19a)][_0x14d21e(0x405)];}));}(_0x49ec4d)),_0x49ec4d['exports'];}var _0x1e5191={'exports':{}},_0x4c455a=_0x1e5191[_0x4a9ac9(0x42d)],_0x14d8c0;function _0x3a0f7b(){var _0x427ce4=_0x4a9ac9;return _0x14d8c0||(_0x14d8c0=0x1,function(_0x173619,_0x1c8596){(function(_0x306e40,_0x485e46){var _0x3eb332=_0x515f;_0x173619[_0x3eb332(0x42d)]=_0x485e46(_0x576c57());}(_0x4c455a,function(_0x47fca2){return function(_0x37f40b){var _0x56cfc5=_0x515f,_0x1eca9a=_0x47fca2,_0x1ee1ea=_0x1eca9a['lib'],_0x16d1ab=_0x1ee1ea[_0x56cfc5(0x398)],_0x3db592=_0x1ee1ea[_0x56cfc5(0x233)],_0x5c042a=_0x1eca9a[_0x56cfc5(0xfd)],_0x37321a=[];(function(){var _0x1d4b4c=_0x56cfc5;for(var _0x123dc4=0x0;_0x123dc4<0x40;_0x123dc4++)_0x37321a[_0x123dc4]=_0x37f40b[_0x1d4b4c(0xe3)](_0x37f40b[_0x1d4b4c(0x2d6)](_0x123dc4+0x1))*0x100000000|0x0;}());var _0x486a51=_0x5c042a['MD5']=_0x3db592['extend']({'_doReset':function(){var _0x4d3da8=_0x56cfc5;this[_0x4d3da8(0x27a)]=new _0x16d1ab['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f5029,_0x56bdaf){var _0x1a86e6=_0x56cfc5;for(var _0x56200f=0x0;_0x56200f<0x10;_0x56200f++){var _0x45ddd7=_0x56bdaf+_0x56200f,_0xbfee07=_0x2f5029[_0x45ddd7];_0x2f5029[_0x45ddd7]=(_0xbfee07<<0x8|_0xbfee07>>>0x18)&0xff00ff|(_0xbfee07<<0x18|_0xbfee07>>>0x8)&0xff00ff00;}var _0x52d345=this[_0x1a86e6(0x27a)][_0x1a86e6(0xd5)],_0x433de0=_0x2f5029[_0x56bdaf+0x0],_0x45691c=_0x2f5029[_0x56bdaf+0x1],_0x7387f0=_0x2f5029[_0x56bdaf+0x2],_0x18aea6=_0x2f5029[_0x56bdaf+0x3],_0x175265=_0x2f5029[_0x56bdaf+0x4],_0x244c48=_0x2f5029[_0x56bdaf+0x5],_0x1ddbcd=_0x2f5029[_0x56bdaf+0x6],_0x1e0f53=_0x2f5029[_0x56bdaf+0x7],_0x2809ea=_0x2f5029[_0x56bdaf+0x8],_0x1309bb=_0x2f5029[_0x56bdaf+0x9],_0x5382a7=_0x2f5029[_0x56bdaf+0xa],_0x28f8ee=_0x2f5029[_0x56bdaf+0xb],_0x27e04c=_0x2f5029[_0x56bdaf+0xc],_0x6ce202=_0x2f5029[_0x56bdaf+0xd],_0x5600b4=_0x2f5029[_0x56bdaf+0xe],_0x207e74=_0x2f5029[_0x56bdaf+0xf],_0x4a3133=_0x52d345[0x0],_0x20b4c6=_0x52d345[0x1],_0x4f837b=_0x52d345[0x2],_0x21e62d=_0x52d345[0x3];_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x433de0,0x7,_0x37321a[0x0]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x45691c,0xc,_0x37321a[0x1]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x7387f0,0x11,_0x37321a[0x2]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x18aea6,0x16,_0x37321a[0x3]),_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x175265,0x7,_0x37321a[0x4]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x244c48,0xc,_0x37321a[0x5]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1ddbcd,0x11,_0x37321a[0x6]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x1e0f53,0x16,_0x37321a[0x7]),_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x2809ea,0x7,_0x37321a[0x8]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x1309bb,0xc,_0x37321a[0x9]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5382a7,0x11,_0x37321a[0xa]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x28f8ee,0x16,_0x37321a[0xb]),_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x27e04c,0x7,_0x37321a[0xc]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x6ce202,0xc,_0x37321a[0xd]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5600b4,0x11,_0x37321a[0xe]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x207e74,0x16,_0x37321a[0xf]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x45691c,0x5,_0x37321a[0x10]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x1ddbcd,0x9,_0x37321a[0x11]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x28f8ee,0xe,_0x37321a[0x12]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x433de0,0x14,_0x37321a[0x13]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x244c48,0x5,_0x37321a[0x14]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x5382a7,0x9,_0x37321a[0x15]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x207e74,0xe,_0x37321a[0x16]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x175265,0x14,_0x37321a[0x17]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x1309bb,0x5,_0x37321a[0x18]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x5600b4,0x9,_0x37321a[0x19]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x18aea6,0xe,_0x37321a[0x1a]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x2809ea,0x14,_0x37321a[0x1b]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x6ce202,0x5,_0x37321a[0x1c]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x7387f0,0x9,_0x37321a[0x1d]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1e0f53,0xe,_0x37321a[0x1e]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x27e04c,0x14,_0x37321a[0x1f]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x244c48,0x4,_0x37321a[0x20]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x2809ea,0xb,_0x37321a[0x21]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x28f8ee,0x10,_0x37321a[0x22]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x5600b4,0x17,_0x37321a[0x23]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x45691c,0x4,_0x37321a[0x24]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x175265,0xb,_0x37321a[0x25]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1e0f53,0x10,_0x37321a[0x26]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x5382a7,0x17,_0x37321a[0x27]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x6ce202,0x4,_0x37321a[0x28]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x433de0,0xb,_0x37321a[0x29]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x18aea6,0x10,_0x37321a[0x2a]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x1ddbcd,0x17,_0x37321a[0x2b]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x1309bb,0x4,_0x37321a[0x2c]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x27e04c,0xb,_0x37321a[0x2d]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x207e74,0x10,_0x37321a[0x2e]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x7387f0,0x17,_0x37321a[0x2f]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x433de0,0x6,_0x37321a[0x30]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x1e0f53,0xa,_0x37321a[0x31]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5600b4,0xf,_0x37321a[0x32]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x244c48,0x15,_0x37321a[0x33]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x27e04c,0x6,_0x37321a[0x34]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x18aea6,0xa,_0x37321a[0x35]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5382a7,0xf,_0x37321a[0x36]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x45691c,0x15,_0x37321a[0x37]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x2809ea,0x6,_0x37321a[0x38]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x207e74,0xa,_0x37321a[0x39]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1ddbcd,0xf,_0x37321a[0x3a]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x6ce202,0x15,_0x37321a[0x3b]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x175265,0x6,_0x37321a[0x3c]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x28f8ee,0xa,_0x37321a[0x3d]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x7387f0,0xf,_0x37321a[0x3e]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x1309bb,0x15,_0x37321a[0x3f]),_0x52d345[0x0]=_0x52d345[0x0]+_0x4a3133|0x0,_0x52d345[0x1]=_0x52d345[0x1]+_0x20b4c6|0x0,_0x52d345[0x2]=_0x52d345[0x2]+_0x4f837b|0x0,_0x52d345[0x3]=_0x52d345[0x3]+_0x21e62d|0x0;},'_doFinalize':function(){var _0x211b4c=_0x56cfc5,_0x16c07b=this['_data'],_0x493222=_0x16c07b[_0x211b4c(0xd5)],_0xe1e53=this[_0x211b4c(0x36c)]*0x8,_0x63f9cc=_0x16c07b['sigBytes']*0x8;_0x493222[_0x63f9cc>>>0x5]|=0x80<<0x18-_0x63f9cc%0x20;var _0x48e4ce=_0x37f40b[_0x211b4c(0x3a4)](_0xe1e53/0x100000000),_0x294271=_0xe1e53;_0x493222[(_0x63f9cc+0x40>>>0x9<<0x4)+0xf]=(_0x48e4ce<<0x8|_0x48e4ce>>>0x18)&0xff00ff|(_0x48e4ce<<0x18|_0x48e4ce>>>0x8)&0xff00ff00,_0x493222[(_0x63f9cc+0x40>>>0x9<<0x4)+0xe]=(_0x294271<<0x8|_0x294271>>>0x18)&0xff00ff|(_0x294271<<0x18|_0x294271>>>0x8)&0xff00ff00,_0x16c07b[_0x211b4c(0x1a5)]=(_0x493222[_0x211b4c(0x337)]+0x1)*0x4,this[_0x211b4c(0x390)]();for(var _0x225bd7=this[_0x211b4c(0x27a)],_0x1a557=_0x225bd7['words'],_0xa1e5d7=0x0;_0xa1e5d7<0x4;_0xa1e5d7++){var _0x4dd271=_0x1a557[_0xa1e5d7];_0x1a557[_0xa1e5d7]=(_0x4dd271<<0x8|_0x4dd271>>>0x18)&0xff00ff|(_0x4dd271<<0x18|_0x4dd271>>>0x8)&0xff00ff00;}return _0x225bd7;},'clone':function(){var _0x4ca5b9=_0x56cfc5,_0x3027a6=_0x3db592[_0x4ca5b9(0x253)][_0x4ca5b9(0x3c1)](this);return _0x3027a6[_0x4ca5b9(0x27a)]=this['_hash'][_0x4ca5b9(0x253)](),_0x3027a6;}});function _0x3e5bc9(_0x81119a,_0x5a582b,_0x166a93,_0x62010,_0x2f1a98,_0x50e925,_0x355745){var _0x88b1ab=_0x81119a+(_0x5a582b&_0x166a93|~_0x5a582b&_0x62010)+_0x2f1a98+_0x355745;return(_0x88b1ab<<_0x50e925|_0x88b1ab>>>0x20-_0x50e925)+_0x5a582b;}function _0x17e8f4(_0xbd03a0,_0x401cc8,_0x445b35,_0x1438cf,_0x184a1d,_0x28e3b3,_0x164246){var _0x36e471=_0xbd03a0+(_0x401cc8&_0x1438cf|_0x445b35&~_0x1438cf)+_0x184a1d+_0x164246;return(_0x36e471<<_0x28e3b3|_0x36e471>>>0x20-_0x28e3b3)+_0x401cc8;}function _0x139fc8(_0x42282f,_0x592866,_0x438d96,_0x337052,_0x49b3dc,_0x20da0e,_0x22c05c){var _0x2c3a9d=_0x42282f+(_0x592866^_0x438d96^_0x337052)+_0x49b3dc+_0x22c05c;return(_0x2c3a9d<<_0x20da0e|_0x2c3a9d>>>0x20-_0x20da0e)+_0x592866;}function _0xa1034c(_0x24649f,_0x526491,_0xb6b907,_0x3f7776,_0x5d6a94,_0x5586f9,_0x120ae0){var _0x1e5096=_0x24649f+(_0xb6b907^(_0x526491|~_0x3f7776))+_0x5d6a94+_0x120ae0;return(_0x1e5096<<_0x5586f9|_0x1e5096>>>0x20-_0x5586f9)+_0x526491;}_0x1eca9a['MD5']=_0x3db592[_0x56cfc5(0xc1)](_0x486a51),_0x1eca9a[_0x56cfc5(0x401)]=_0x3db592[_0x56cfc5(0x419)](_0x486a51);}(Math),_0x47fca2['MD5'];}));}(_0x1e5191)),_0x1e5191[_0x427ce4(0x42d)];}var _0x383907={'exports':{}},_0x2038ab={'exports':{}},_0x10b00c=_0x2038ab[_0x4a9ac9(0x42d)],_0xac229b;function _0x284e27(){var _0x5cc5f4=_0x4a9ac9;return _0xac229b||(_0xac229b=0x1,function(_0xb087d,_0x232a1a){(function(_0x2ffdcb,_0x55e2b7){var _0x5b7790=_0x515f;_0xb087d[_0x5b7790(0x42d)]=_0x55e2b7(_0x576c57());}(_0x10b00c,function(_0x10b7d0){var _0x2de935=_0x515f;return(function(){var _0x2e9208=_0x515f,_0x1814fc=_0x10b7d0,_0x1856ac=_0x1814fc['lib'],_0x10e443=_0x1856ac[_0x2e9208(0x398)],_0x29ca02=_0x1856ac[_0x2e9208(0x233)],_0x4c431d=_0x1814fc[_0x2e9208(0xfd)],_0x47adab=[],_0x1a5dbf=_0x4c431d[_0x2e9208(0x145)]=_0x29ca02[_0x2e9208(0x298)]({'_doReset':function(){var _0x285931=_0x2e9208;this[_0x285931(0x27a)]=new _0x10e443[(_0x285931(0x3d7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27b59f,_0x12eb4b){var _0x20af6e=_0x2e9208;for(var _0x415e65=this['_hash'][_0x20af6e(0xd5)],_0x3a7a5e=_0x415e65[0x0],_0x519e4e=_0x415e65[0x1],_0x409dac=_0x415e65[0x2],_0x4fdc59=_0x415e65[0x3],_0x4a8f12=_0x415e65[0x4],_0x3b2292=0x0;_0x3b2292<0x50;_0x3b2292++){if(_0x3b2292<0x10)_0x47adab[_0x3b2292]=_0x27b59f[_0x12eb4b+_0x3b2292]|0x0;else{var _0x22eb4=_0x47adab[_0x3b2292-0x3]^_0x47adab[_0x3b2292-0x8]^_0x47adab[_0x3b2292-0xe]^_0x47adab[_0x3b2292-0x10];_0x47adab[_0x3b2292]=_0x22eb4<<0x1|_0x22eb4>>>0x1f;}var _0x21575c=(_0x3a7a5e<<0x5|_0x3a7a5e>>>0x1b)+_0x4a8f12+_0x47adab[_0x3b2292];_0x3b2292<0x14?_0x21575c+=(_0x519e4e&_0x409dac|~_0x519e4e&_0x4fdc59)+0x5a827999:_0x3b2292<0x28?_0x21575c+=(_0x519e4e^_0x409dac^_0x4fdc59)+0x6ed9eba1:_0x3b2292<0x3c?_0x21575c+=(_0x519e4e&_0x409dac|_0x519e4e&_0x4fdc59|_0x409dac&_0x4fdc59)-0x70e44324:_0x21575c+=(_0x519e4e^_0x409dac^_0x4fdc59)-0x359d3e2a,_0x4a8f12=_0x4fdc59,_0x4fdc59=_0x409dac,_0x409dac=_0x519e4e<<0x1e|_0x519e4e>>>0x2,_0x519e4e=_0x3a7a5e,_0x3a7a5e=_0x21575c;}_0x415e65[0x0]=_0x415e65[0x0]+_0x3a7a5e|0x0,_0x415e65[0x1]=_0x415e65[0x1]+_0x519e4e|0x0,_0x415e65[0x2]=_0x415e65[0x2]+_0x409dac|0x0,_0x415e65[0x3]=_0x415e65[0x3]+_0x4fdc59|0x0,_0x415e65[0x4]=_0x415e65[0x4]+_0x4a8f12|0x0;},'_doFinalize':function(){var _0x58791f=_0x2e9208,_0x3aa728=this[_0x58791f(0x10c)],_0x41eb2c=_0x3aa728['words'],_0x2fbf49=this[_0x58791f(0x36c)]*0x8,_0x4bb912=_0x3aa728[_0x58791f(0x1a5)]*0x8;return _0x41eb2c[_0x4bb912>>>0x5]|=0x80<<0x18-_0x4bb912%0x20,_0x41eb2c[(_0x4bb912+0x40>>>0x9<<0x4)+0xe]=Math[_0x58791f(0x3a4)](_0x2fbf49/0x100000000),_0x41eb2c[(_0x4bb912+0x40>>>0x9<<0x4)+0xf]=_0x2fbf49,_0x3aa728[_0x58791f(0x1a5)]=_0x41eb2c[_0x58791f(0x337)]*0x4,this[_0x58791f(0x390)](),this[_0x58791f(0x27a)];},'clone':function(){var _0x1d00ad=_0x2e9208,_0x55896e=_0x29ca02[_0x1d00ad(0x253)][_0x1d00ad(0x3c1)](this);return _0x55896e[_0x1d00ad(0x27a)]=this[_0x1d00ad(0x27a)][_0x1d00ad(0x253)](),_0x55896e;}});_0x1814fc['SHA1']=_0x29ca02[_0x2e9208(0xc1)](_0x1a5dbf),_0x1814fc[_0x2e9208(0x246)]=_0x29ca02['_createHmacHelper'](_0x1a5dbf);}()),_0x10b7d0[_0x2de935(0x145)];}));}(_0x2038ab)),_0x2038ab[_0x5cc5f4(0x42d)];}var _0x474439={'exports':{}},_0x4d1777=_0x474439['exports'],_0x4b11f4;function _0x4c4ca8(){var _0x119f82=_0x4a9ac9;return _0x4b11f4||(_0x4b11f4=0x1,function(_0x37c315,_0x10fede){(function(_0x58ad54,_0x1bccf0){var _0x3d05eb=_0x515f;_0x37c315[_0x3d05eb(0x42d)]=_0x1bccf0(_0x576c57());}(_0x4d1777,function(_0x50458a){(function(){var _0x21c78e=_0x515f,_0x425828=_0x50458a,_0x6df2e9=_0x425828[_0x21c78e(0x428)],_0x37dc67=_0x6df2e9[_0x21c78e(0x3cc)],_0x3b0c58=_0x425828['enc'],_0x2543d7=_0x3b0c58[_0x21c78e(0x248)],_0x5ecb6f=_0x425828[_0x21c78e(0xfd)];_0x5ecb6f[_0x21c78e(0x13c)]=_0x37dc67[_0x21c78e(0x298)]({'init':function(_0x5d852d,_0x49ae5d){var _0x4b24a3=_0x21c78e;_0x5d852d=this[_0x4b24a3(0x1ab)]=new _0x5d852d[(_0x4b24a3(0x3d7))](),typeof _0x49ae5d==_0x4b24a3(0x299)&&(_0x49ae5d=_0x2543d7[_0x4b24a3(0xb7)](_0x49ae5d));var _0x66db74=_0x5d852d[_0x4b24a3(0xc2)],_0x35fe8e=_0x66db74*0x4;_0x49ae5d[_0x4b24a3(0x1a5)]>_0x35fe8e&&(_0x49ae5d=_0x5d852d[_0x4b24a3(0x266)](_0x49ae5d)),_0x49ae5d[_0x4b24a3(0x33d)]();for(var _0xa224d6=this['_oKey']=_0x49ae5d['clone'](),_0x301400=this[_0x4b24a3(0x340)]=_0x49ae5d['clone'](),_0x45fd94=_0xa224d6[_0x4b24a3(0xd5)],_0x5ea1a5=_0x301400[_0x4b24a3(0xd5)],_0x415057=0x0;_0x415057<_0x66db74;_0x415057++)_0x45fd94[_0x415057]^=0x5c5c5c5c,_0x5ea1a5[_0x415057]^=0x36363636;_0xa224d6['sigBytes']=_0x301400[_0x4b24a3(0x1a5)]=_0x35fe8e,this[_0x4b24a3(0x101)]();},'reset':function(){var _0x1b2fb4=_0x21c78e,_0x24bf82=this[_0x1b2fb4(0x1ab)];_0x24bf82[_0x1b2fb4(0x101)](),_0x24bf82['update'](this[_0x1b2fb4(0x340)]);},'update':function(_0x1cb2a8){var _0x46c3dd=_0x21c78e;return this[_0x46c3dd(0x1ab)]['update'](_0x1cb2a8),this;},'finalize':function(_0x5deb77){var _0x38936e=_0x21c78e,_0xc29160=this[_0x38936e(0x1ab)],_0x34eef7=_0xc29160[_0x38936e(0x266)](_0x5deb77);_0xc29160[_0x38936e(0x101)]();var _0x5004cc=_0xc29160[_0x38936e(0x266)](this['_oKey'][_0x38936e(0x253)]()[_0x38936e(0x24e)](_0x34eef7));return _0x5004cc;}});}());}));}(_0x474439)),_0x474439[_0x119f82(0x42d)];}var _0xf5dc48=_0x383907[_0x4a9ac9(0x42d)],_0x227cea;function _0x1c2ae5(){var _0x114382=_0x4a9ac9;return _0x227cea||(_0x227cea=0x1,function(_0x4b5799,_0x7e7968){(function(_0x40f4ea,_0x571e29,_0x1d57cc){_0x4b5799['exports']=_0x571e29(_0x576c57(),_0x284e27(),_0x4c4ca8());}(_0xf5dc48,function(_0xca77c4){return(function(){var _0x590e10=_0x515f,_0x4ac5d0=_0xca77c4,_0x7ece34=_0x4ac5d0[_0x590e10(0x428)],_0x44e77d=_0x7ece34['Base'],_0xa94e10=_0x7ece34[_0x590e10(0x398)],_0x5b11ce=_0x4ac5d0['algo'],_0x831cbf=_0x5b11ce['MD5'],_0x843d47=_0x5b11ce[_0x590e10(0x30f)]=_0x44e77d[_0x590e10(0x298)]({'cfg':_0x44e77d[_0x590e10(0x298)]({'keySize':0x80/0x20,'hasher':_0x831cbf,'iterations':0x1}),'init':function(_0x364081){var _0x3445f7=_0x590e10;this[_0x3445f7(0x157)]=this[_0x3445f7(0x157)][_0x3445f7(0x298)](_0x364081);},'compute':function(_0x2c818d,_0x272192){var _0x1122d2=_0x590e10;for(var _0x14bcc2,_0x38d43b=this['cfg'],_0x3d8280=_0x38d43b['hasher'][_0x1122d2(0x2b2)](),_0x18c271=_0xa94e10[_0x1122d2(0x2b2)](),_0x45fc37=_0x18c271['words'],_0x2cb5bd=_0x38d43b[_0x1122d2(0x279)],_0x23525d=_0x38d43b[_0x1122d2(0x43f)];_0x45fc37[_0x1122d2(0x337)]<_0x2cb5bd;){_0x14bcc2&&_0x3d8280[_0x1122d2(0x182)](_0x14bcc2),_0x14bcc2=_0x3d8280['update'](_0x2c818d)[_0x1122d2(0x266)](_0x272192),_0x3d8280[_0x1122d2(0x101)]();for(var _0x59de5f=0x1;_0x59de5f<_0x23525d;_0x59de5f++)_0x14bcc2=_0x3d8280[_0x1122d2(0x266)](_0x14bcc2),_0x3d8280['reset']();_0x18c271['concat'](_0x14bcc2);}return _0x18c271['sigBytes']=_0x2cb5bd*0x4,_0x18c271;}});_0x4ac5d0[_0x590e10(0x30f)]=function(_0x21cdb0,_0x58aad2,_0x1ebbc3){var _0x59a9dd=_0x590e10;return _0x843d47[_0x59a9dd(0x2b2)](_0x1ebbc3)[_0x59a9dd(0x34d)](_0x21cdb0,_0x58aad2);};}()),_0xca77c4['EvpKDF'];}));}(_0x383907)),_0x383907[_0x114382(0x42d)];}var _0x407824={'exports':{}},_0x33805b=_0x407824[_0x4a9ac9(0x42d)],_0x1981a5;function _0x2e7639(){var _0x1819cf=_0x4a9ac9;return _0x1981a5||(_0x1981a5=0x1,function(_0x201471,_0x4f74dc){(function(_0x3e05e7,_0xe02101,_0x1c2950){var _0x26c41c=_0x515f;_0x201471[_0x26c41c(0x42d)]=_0xe02101(_0x576c57(),_0x1c2ae5());}(_0x33805b,function(_0xd4f0d6){var _0x3795e1=_0x515f;_0xd4f0d6['lib'][_0x3795e1(0x36f)]||function(_0xad4fc3){var _0x3f4063=_0x3795e1,_0x390542=_0xd4f0d6,_0x5d3a75=_0x390542[_0x3f4063(0x428)],_0x26da69=_0x5d3a75['Base'],_0x53a5ac=_0x5d3a75['WordArray'],_0x4d4d1e=_0x5d3a75['BufferedBlockAlgorithm'],_0x43dc3c=_0x390542[_0x3f4063(0x19a)];_0x43dc3c[_0x3f4063(0x248)];var _0x4b56b7=_0x43dc3c[_0x3f4063(0x405)],_0x45a89b=_0x390542[_0x3f4063(0xfd)],_0x12f44c=_0x45a89b['EvpKDF'],_0x24463a=_0x5d3a75[_0x3f4063(0x36f)]=_0x4d4d1e[_0x3f4063(0x298)]({'cfg':_0x26da69[_0x3f4063(0x298)](),'createEncryptor':function(_0x1bb132,_0x2aa083){var _0x1d5252=_0x3f4063;return this[_0x1d5252(0x2b2)](this[_0x1d5252(0x339)],_0x1bb132,_0x2aa083);},'createDecryptor':function(_0x51478a,_0x6c15d){var _0x56d549=_0x3f4063;return this['create'](this[_0x56d549(0x3ca)],_0x51478a,_0x6c15d);},'init':function(_0x29d976,_0x14c384,_0x1dd747){var _0x1f567b=_0x3f4063;this[_0x1f567b(0x157)]=this[_0x1f567b(0x157)]['extend'](_0x1dd747),this[_0x1f567b(0x104)]=_0x29d976,this[_0x1f567b(0x1a8)]=_0x14c384,this[_0x1f567b(0x101)]();},'reset':function(){var _0x440e37=_0x3f4063;_0x4d4d1e[_0x440e37(0x101)][_0x440e37(0x3c1)](this),this[_0x440e37(0x342)]();},'process':function(_0x5dd85f){var _0x2c6088=_0x3f4063;return this[_0x2c6088(0x29b)](_0x5dd85f),this[_0x2c6088(0x390)]();},'finalize':function(_0x2e8b5b){var _0xe8d782=_0x3f4063;_0x2e8b5b&&this['_append'](_0x2e8b5b);var _0x4467cf=this[_0xe8d782(0x37e)]();return _0x4467cf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x296151(_0xa539ca){var _0x3ea7b7=_0x515f;return typeof _0xa539ca==_0x3ea7b7(0x299)?_0x5a2bd0:_0x422514;}return function(_0x1a16f1){return{'encrypt':function(_0x3770e3,_0x11b9b8,_0x3d45b6){return _0x296151(_0x11b9b8)['encrypt'](_0x1a16f1,_0x3770e3,_0x11b9b8,_0x3d45b6);},'decrypt':function(_0x535f74,_0x2dd979,_0x47b3be){var _0x53c009=_0x515f;return _0x296151(_0x2dd979)[_0x53c009(0x345)](_0x1a16f1,_0x535f74,_0x2dd979,_0x47b3be);}};};}())});_0x5d3a75[_0x3f4063(0x2a9)]=_0x24463a[_0x3f4063(0x298)]({'_doFinalize':function(){var _0x54c401=_0x3f4063,_0x169245=this[_0x54c401(0x390)](!0x0);return _0x169245;},'blockSize':0x1});var _0x2ce270=_0x390542[_0x3f4063(0x3d2)]={},_0x191774=_0x5d3a75[_0x3f4063(0x3e5)]=_0x26da69['extend']({'createEncryptor':function(_0x5949dc,_0x679de1){var _0x3e9b54=_0x3f4063;return this[_0x3e9b54(0x3d8)][_0x3e9b54(0x2b2)](_0x5949dc,_0x679de1);},'createDecryptor':function(_0x3a13c9,_0x4f9efa){var _0x1328be=_0x3f4063;return this[_0x1328be(0x38c)][_0x1328be(0x2b2)](_0x3a13c9,_0x4f9efa);},'init':function(_0x1ba175,_0xb0e8b7){var _0x2c5e49=_0x3f4063;this[_0x2c5e49(0x1a3)]=_0x1ba175,this[_0x2c5e49(0x34a)]=_0xb0e8b7;}}),_0x167d98=_0x2ce270[_0x3f4063(0x3a8)]=(function(){var _0x44a2ad=_0x3f4063,_0x4396fd=_0x191774[_0x44a2ad(0x298)]();_0x4396fd[_0x44a2ad(0x3d8)]=_0x4396fd['extend']({'processBlock':function(_0xf2c42a,_0xef90bf){var _0x45adb7=_0x44a2ad,_0x1faea8=this['_cipher'],_0x3d7573=_0x1faea8[_0x45adb7(0xc2)];_0x41912e[_0x45adb7(0x3c1)](this,_0xf2c42a,_0xef90bf,_0x3d7573),_0x1faea8[_0x45adb7(0xe6)](_0xf2c42a,_0xef90bf),this[_0x45adb7(0x29e)]=_0xf2c42a[_0x45adb7(0x176)](_0xef90bf,_0xef90bf+_0x3d7573);}}),_0x4396fd[_0x44a2ad(0x38c)]=_0x4396fd[_0x44a2ad(0x298)]({'processBlock':function(_0x455287,_0x3cb16){var _0x409215=_0x44a2ad,_0x27c02a=this[_0x409215(0x1a3)],_0x1485e7=_0x27c02a[_0x409215(0xc2)],_0x3645df=_0x455287[_0x409215(0x176)](_0x3cb16,_0x3cb16+_0x1485e7);_0x27c02a[_0x409215(0xcd)](_0x455287,_0x3cb16),_0x41912e[_0x409215(0x3c1)](this,_0x455287,_0x3cb16,_0x1485e7),this[_0x409215(0x29e)]=_0x3645df;}});function _0x41912e(_0x12a1b0,_0x16a9d9,_0x2f19d3){var _0x207d2f=_0x44a2ad,_0x1478c7,_0x1461d5=this[_0x207d2f(0x34a)];_0x1461d5?(_0x1478c7=_0x1461d5,this['_iv']=_0xad4fc3):_0x1478c7=this[_0x207d2f(0x29e)];for(var _0x5e0729=0x0;_0x5e0729<_0x2f19d3;_0x5e0729++)_0x12a1b0[_0x16a9d9+_0x5e0729]^=_0x1478c7[_0x5e0729];}return _0x4396fd;}()),_0x18d8ec=_0x390542[_0x3f4063(0x3c9)]={},_0x5d0039=_0x18d8ec[_0x3f4063(0x1b9)]={'pad':function(_0x5d9871,_0x280d07){var _0x37ab65=_0x3f4063;for(var _0x47e257=_0x280d07*0x4,_0x4c4930=_0x47e257-_0x5d9871[_0x37ab65(0x1a5)]%_0x47e257,_0x458ab7=_0x4c4930<<0x18|_0x4c4930<<0x10|_0x4c4930<<0x8|_0x4c4930,_0x347a21=[],_0x3ed46f=0x0;_0x3ed46f<_0x4c4930;_0x3ed46f+=0x4)_0x347a21['push'](_0x458ab7);var _0x11281d=_0x53a5ac['create'](_0x347a21,_0x4c4930);_0x5d9871[_0x37ab65(0x24e)](_0x11281d);},'unpad':function(_0x35b67e){var _0x20d25e=_0x3f4063,_0x33d1a2=_0x35b67e[_0x20d25e(0xd5)][_0x35b67e[_0x20d25e(0x1a5)]-0x1>>>0x2]&0xff;_0x35b67e['sigBytes']-=_0x33d1a2;}};_0x5d3a75[_0x3f4063(0x268)]=_0x24463a[_0x3f4063(0x298)]({'cfg':_0x24463a[_0x3f4063(0x157)][_0x3f4063(0x298)]({'mode':_0x167d98,'padding':_0x5d0039}),'reset':function(){var _0x5ec4f1=_0x3f4063,_0x3b0007;_0x24463a['reset'][_0x5ec4f1(0x3c1)](this);var _0x3ca8d1=this[_0x5ec4f1(0x157)],_0x2a44f6=_0x3ca8d1['iv'],_0x2313ff=_0x3ca8d1[_0x5ec4f1(0x3d2)];this[_0x5ec4f1(0x104)]==this[_0x5ec4f1(0x339)]?_0x3b0007=_0x2313ff[_0x5ec4f1(0x243)]:(_0x3b0007=_0x2313ff[_0x5ec4f1(0xf8)],this[_0x5ec4f1(0xd7)]=0x1),this['_mode']&&this[_0x5ec4f1(0x28c)][_0x5ec4f1(0x41d)]==_0x3b0007?this['_mode'][_0x5ec4f1(0x3d7)](this,_0x2a44f6&&_0x2a44f6[_0x5ec4f1(0xd5)]):(this[_0x5ec4f1(0x28c)]=_0x3b0007[_0x5ec4f1(0x3c1)](_0x2313ff,this,_0x2a44f6&&_0x2a44f6[_0x5ec4f1(0xd5)]),this['_mode']['__creator']=_0x3b0007);},'_doProcessBlock':function(_0x250c72,_0x508c21){var _0x41f20b=_0x3f4063;this[_0x41f20b(0x28c)][_0x41f20b(0x423)](_0x250c72,_0x508c21);},'_doFinalize':function(){var _0x41142a=_0x3f4063,_0x432f4a,_0x48007e=this[_0x41142a(0x157)]['padding'];return this[_0x41142a(0x104)]==this[_0x41142a(0x339)]?(_0x48007e[_0x41142a(0x3c9)](this[_0x41142a(0x10c)],this[_0x41142a(0xc2)]),_0x432f4a=this[_0x41142a(0x390)](!0x0)):(_0x432f4a=this[_0x41142a(0x390)](!0x0),_0x48007e[_0x41142a(0x358)](_0x432f4a)),_0x432f4a;},'blockSize':0x80/0x20});var _0x10d3c=_0x5d3a75[_0x3f4063(0x230)]=_0x26da69[_0x3f4063(0x298)]({'init':function(_0x346642){var _0x29afa4=_0x3f4063;this[_0x29afa4(0x1dc)](_0x346642);},'toString':function(_0x3d505f){var _0x1fb9ae=_0x3f4063;return(_0x3d505f||this[_0x1fb9ae(0x119)])[_0x1fb9ae(0x195)](this);}}),_0x276dfc=_0x390542['format']={},_0xed76ac=_0x276dfc[_0x3f4063(0x155)]={'stringify':function(_0x53403e){var _0x3cd9be=_0x3f4063,_0xc83ff1,_0x51582f=_0x53403e[_0x3cd9be(0x459)],_0x5379cc=_0x53403e[_0x3cd9be(0x385)];return _0x5379cc?_0xc83ff1=_0x53a5ac[_0x3cd9be(0x2b2)]([0x53616c74,0x65645f5f])['concat'](_0x5379cc)[_0x3cd9be(0x24e)](_0x51582f):_0xc83ff1=_0x51582f,_0xc83ff1[_0x3cd9be(0x1b1)](_0x4b56b7);},'parse':function(_0x229be3){var _0x2b02a1=_0x3f4063,_0x409288,_0x44d431=_0x4b56b7[_0x2b02a1(0xb7)](_0x229be3),_0x1d43ad=_0x44d431['words'];return _0x1d43ad[0x0]==0x53616c74&&_0x1d43ad[0x1]==0x65645f5f&&(_0x409288=_0x53a5ac[_0x2b02a1(0x2b2)](_0x1d43ad[_0x2b02a1(0x176)](0x2,0x4)),_0x1d43ad[_0x2b02a1(0x375)](0x0,0x4),_0x44d431['sigBytes']-=0x10),_0x10d3c[_0x2b02a1(0x2b2)]({'ciphertext':_0x44d431,'salt':_0x409288});}},_0x422514=_0x5d3a75[_0x3f4063(0x3e8)]=_0x26da69[_0x3f4063(0x298)]({'cfg':_0x26da69[_0x3f4063(0x298)]({'format':_0xed76ac}),'encrypt':function(_0x2f41a6,_0x5df91f,_0x27bd1c,_0x572777){var _0x28c4de=_0x3f4063;_0x572777=this[_0x28c4de(0x157)][_0x28c4de(0x298)](_0x572777);var _0x23c30b=_0x2f41a6['createEncryptor'](_0x27bd1c,_0x572777),_0xa5d0b8=_0x23c30b[_0x28c4de(0x266)](_0x5df91f),_0x38f24f=_0x23c30b[_0x28c4de(0x157)];return _0x10d3c['create']({'ciphertext':_0xa5d0b8,'key':_0x27bd1c,'iv':_0x38f24f['iv'],'algorithm':_0x2f41a6,'mode':_0x38f24f[_0x28c4de(0x3d2)],'padding':_0x38f24f[_0x28c4de(0x1c0)],'blockSize':_0x2f41a6[_0x28c4de(0xc2)],'formatter':_0x572777[_0x28c4de(0x377)]});},'decrypt':function(_0x18f667,_0x1f8d46,_0x5f4615,_0x2fbc52){var _0x4ac68b=_0x3f4063;_0x2fbc52=this['cfg'][_0x4ac68b(0x298)](_0x2fbc52),_0x1f8d46=this['_parse'](_0x1f8d46,_0x2fbc52['format']);var _0x4e613e=_0x18f667[_0x4ac68b(0xf8)](_0x5f4615,_0x2fbc52)[_0x4ac68b(0x266)](_0x1f8d46['ciphertext']);return _0x4e613e;},'_parse':function(_0x12cd97,_0x3b40df){var _0x3dd54f=_0x3f4063;return typeof _0x12cd97==_0x3dd54f(0x299)?_0x3b40df[_0x3dd54f(0xb7)](_0x12cd97,this):_0x12cd97;}}),_0x50bcca=_0x390542[_0x3f4063(0x291)]={},_0x42a305=_0x50bcca[_0x3f4063(0x155)]={'execute':function(_0x3d2695,_0x1d571d,_0x3c548c,_0x4bcfa2,_0x491a92){var _0x3a956b=_0x3f4063;if(_0x4bcfa2||(_0x4bcfa2=_0x53a5ac[_0x3a956b(0x255)](0x40/0x8)),_0x491a92)var _0x52b745=_0x12f44c[_0x3a956b(0x2b2)]({'keySize':_0x1d571d+_0x3c548c,'hasher':_0x491a92})[_0x3a956b(0x34d)](_0x3d2695,_0x4bcfa2);else var _0x52b745=_0x12f44c[_0x3a956b(0x2b2)]({'keySize':_0x1d571d+_0x3c548c})['compute'](_0x3d2695,_0x4bcfa2);var _0x49253d=_0x53a5ac[_0x3a956b(0x2b2)](_0x52b745['words'][_0x3a956b(0x176)](_0x1d571d),_0x3c548c*0x4);return _0x52b745[_0x3a956b(0x1a5)]=_0x1d571d*0x4,_0x10d3c['create']({'key':_0x52b745,'iv':_0x49253d,'salt':_0x4bcfa2});}},_0x5a2bd0=_0x5d3a75[_0x3f4063(0x407)]=_0x422514['extend']({'cfg':_0x422514[_0x3f4063(0x157)]['extend']({'kdf':_0x42a305}),'encrypt':function(_0x3db482,_0x509f23,_0x4e5512,_0x5580ae){var _0x1d8a96=_0x3f4063;_0x5580ae=this[_0x1d8a96(0x157)]['extend'](_0x5580ae);var _0x129b6e=_0x5580ae['kdf'][_0x1d8a96(0x2c2)](_0x4e5512,_0x3db482[_0x1d8a96(0x279)],_0x3db482[_0x1d8a96(0x3a7)],_0x5580ae[_0x1d8a96(0x385)],_0x5580ae[_0x1d8a96(0x300)]);_0x5580ae['iv']=_0x129b6e['iv'];var _0x56eb1a=_0x422514[_0x1d8a96(0x32c)][_0x1d8a96(0x3c1)](this,_0x3db482,_0x509f23,_0x129b6e[_0x1d8a96(0x319)],_0x5580ae);return _0x56eb1a[_0x1d8a96(0x1dc)](_0x129b6e),_0x56eb1a;},'decrypt':function(_0x312aa2,_0x4001c8,_0x359d62,_0x2c2930){var _0xabdb90=_0x3f4063;_0x2c2930=this[_0xabdb90(0x157)][_0xabdb90(0x298)](_0x2c2930),_0x4001c8=this[_0xabdb90(0x404)](_0x4001c8,_0x2c2930[_0xabdb90(0x377)]);var _0x1ab816=_0x2c2930[_0xabdb90(0x291)]['execute'](_0x359d62,_0x312aa2[_0xabdb90(0x279)],_0x312aa2[_0xabdb90(0x3a7)],_0x4001c8[_0xabdb90(0x385)],_0x2c2930['hasher']);_0x2c2930['iv']=_0x1ab816['iv'];var _0xc9ed72=_0x422514[_0xabdb90(0x345)]['call'](this,_0x312aa2,_0x4001c8,_0x1ab816[_0xabdb90(0x319)],_0x2c2930);return _0xc9ed72;}});}();}));}(_0x407824)),_0x407824[_0x1819cf(0x42d)];}var _0x3b4b4a=_0x227988[_0x4a9ac9(0x42d)],_0x24745e;function _0x53b78d(){var _0x34a0b5=_0x4a9ac9;return _0x24745e||(_0x24745e=0x1,function(_0x53ce01,_0x4207b2){(function(_0xeda989,_0x3d6c09,_0x58695a){var _0xce04ba=_0x515f;_0x53ce01[_0xce04ba(0x42d)]=_0x3d6c09(_0x576c57(),_0x3a836a(),_0x3a0f7b(),_0x1c2ae5(),_0x2e7639());}(_0x3b4b4a,function(_0x4a8e3b){var _0x4acb76=_0x515f;return(function(){var _0xb0f9a1=_0x515f,_0x55cc00=_0x4a8e3b,_0x1460f8=_0x55cc00['lib'],_0xee5830=_0x1460f8[_0xb0f9a1(0x268)],_0x4fa229=_0x55cc00['algo'],_0x4c0a0c=[],_0x51c8d5=[],_0x562a0c=[],_0x49d982=[],_0x30f00a=[],_0x5e2349=[],_0x2b6213=[],_0x3f804e=[],_0x2b328e=[],_0x6d6d6e=[];(function(){for(var _0x379463=[],_0x61f325=0x0;_0x61f325<0x100;_0x61f325++)_0x61f325<0x80?_0x379463[_0x61f325]=_0x61f325<<0x1:_0x379463[_0x61f325]=_0x61f325<<0x1^0x11b;for(var _0x53123f=0x0,_0xa4a679=0x0,_0x61f325=0x0;_0x61f325<0x100;_0x61f325++){var _0xfaa861=_0xa4a679^_0xa4a679<<0x1^_0xa4a679<<0x2^_0xa4a679<<0x3^_0xa4a679<<0x4;_0xfaa861=_0xfaa861>>>0x8^_0xfaa861&0xff^0x63,_0x4c0a0c[_0x53123f]=_0xfaa861,_0x51c8d5[_0xfaa861]=_0x53123f;var _0x553125=_0x379463[_0x53123f],_0x431616=_0x379463[_0x553125],_0x2b30b0=_0x379463[_0x431616],_0x31daaa=_0x379463[_0xfaa861]*0x101^_0xfaa861*0x1010100;_0x562a0c[_0x53123f]=_0x31daaa<<0x18|_0x31daaa>>>0x8,_0x49d982[_0x53123f]=_0x31daaa<<0x10|_0x31daaa>>>0x10,_0x30f00a[_0x53123f]=_0x31daaa<<0x8|_0x31daaa>>>0x18,_0x5e2349[_0x53123f]=_0x31daaa;var _0x31daaa=_0x2b30b0*0x1010101^_0x431616*0x10001^_0x553125*0x101^_0x53123f*0x1010100;_0x2b6213[_0xfaa861]=_0x31daaa<<0x18|_0x31daaa>>>0x8,_0x3f804e[_0xfaa861]=_0x31daaa<<0x10|_0x31daaa>>>0x10,_0x2b328e[_0xfaa861]=_0x31daaa<<0x8|_0x31daaa>>>0x18,_0x6d6d6e[_0xfaa861]=_0x31daaa,_0x53123f?(_0x53123f=_0x553125^_0x379463[_0x379463[_0x379463[_0x2b30b0^_0x553125]]],_0xa4a679^=_0x379463[_0x379463[_0xa4a679]]):_0x53123f=_0xa4a679=0x1;}}());var _0x3a3740=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xbd07a9=_0x4fa229[_0xb0f9a1(0x371)]=_0xee5830[_0xb0f9a1(0x298)]({'_doReset':function(){var _0x59dd57=_0xb0f9a1,_0x3fedae;if(!(this[_0x59dd57(0xd0)]&&this[_0x59dd57(0x2b5)]===this[_0x59dd57(0x1a8)])){for(var _0x1a254a=this[_0x59dd57(0x2b5)]=this[_0x59dd57(0x1a8)],_0x22b40a=_0x1a254a[_0x59dd57(0xd5)],_0x11ddaa=_0x1a254a[_0x59dd57(0x1a5)]/0x4,_0x2fe5c4=this[_0x59dd57(0xd0)]=_0x11ddaa+0x6,_0x3c63cc=(_0x2fe5c4+0x1)*0x4,_0x10767b=this[_0x59dd57(0x2dc)]=[],_0x46e58b=0x0;_0x46e58b<_0x3c63cc;_0x46e58b++)_0x46e58b<_0x11ddaa?_0x10767b[_0x46e58b]=_0x22b40a[_0x46e58b]:(_0x3fedae=_0x10767b[_0x46e58b-0x1],_0x46e58b%_0x11ddaa?_0x11ddaa>0x6&&_0x46e58b%_0x11ddaa==0x4&&(_0x3fedae=_0x4c0a0c[_0x3fedae>>>0x18]<<0x18|_0x4c0a0c[_0x3fedae>>>0x10&0xff]<<0x10|_0x4c0a0c[_0x3fedae>>>0x8&0xff]<<0x8|_0x4c0a0c[_0x3fedae&0xff]):(_0x3fedae=_0x3fedae<<0x8|_0x3fedae>>>0x18,_0x3fedae=_0x4c0a0c[_0x3fedae>>>0x18]<<0x18|_0x4c0a0c[_0x3fedae>>>0x10&0xff]<<0x10|_0x4c0a0c[_0x3fedae>>>0x8&0xff]<<0x8|_0x4c0a0c[_0x3fedae&0xff],_0x3fedae^=_0x3a3740[_0x46e58b/_0x11ddaa|0x0]<<0x18),_0x10767b[_0x46e58b]=_0x10767b[_0x46e58b-_0x11ddaa]^_0x3fedae);for(var _0x747856=this[_0x59dd57(0x330)]=[],_0x29dc37=0x0;_0x29dc37<_0x3c63cc;_0x29dc37++){var _0x46e58b=_0x3c63cc-_0x29dc37;if(_0x29dc37%0x4)var _0x3fedae=_0x10767b[_0x46e58b];else var _0x3fedae=_0x10767b[_0x46e58b-0x4];_0x29dc37<0x4||_0x46e58b<=0x4?_0x747856[_0x29dc37]=_0x3fedae:_0x747856[_0x29dc37]=_0x2b6213[_0x4c0a0c[_0x3fedae>>>0x18]]^_0x3f804e[_0x4c0a0c[_0x3fedae>>>0x10&0xff]]^_0x2b328e[_0x4c0a0c[_0x3fedae>>>0x8&0xff]]^_0x6d6d6e[_0x4c0a0c[_0x3fedae&0xff]];}}},'encryptBlock':function(_0x3ac6ba,_0x2fe087){var _0x40a528=_0xb0f9a1;this[_0x40a528(0x161)](_0x3ac6ba,_0x2fe087,this[_0x40a528(0x2dc)],_0x562a0c,_0x49d982,_0x30f00a,_0x5e2349,_0x4c0a0c);},'decryptBlock':function(_0x16f6a7,_0x2cca92){var _0x17b47f=_0xb0f9a1,_0x51e159=_0x16f6a7[_0x2cca92+0x1];_0x16f6a7[_0x2cca92+0x1]=_0x16f6a7[_0x2cca92+0x3],_0x16f6a7[_0x2cca92+0x3]=_0x51e159,this[_0x17b47f(0x161)](_0x16f6a7,_0x2cca92,this[_0x17b47f(0x330)],_0x2b6213,_0x3f804e,_0x2b328e,_0x6d6d6e,_0x51c8d5);var _0x51e159=_0x16f6a7[_0x2cca92+0x1];_0x16f6a7[_0x2cca92+0x1]=_0x16f6a7[_0x2cca92+0x3],_0x16f6a7[_0x2cca92+0x3]=_0x51e159;},'_doCryptBlock':function(_0x5e8ce8,_0x52afc2,_0x4cbc04,_0x9637bc,_0x3b737a,_0x3d1a7b,_0x8a093a,_0x3c5588){for(var _0x237acc=this['_nRounds'],_0x1d4c69=_0x5e8ce8[_0x52afc2]^_0x4cbc04[0x0],_0x56e018=_0x5e8ce8[_0x52afc2+0x1]^_0x4cbc04[0x1],_0x446003=_0x5e8ce8[_0x52afc2+0x2]^_0x4cbc04[0x2],_0x38a6b3=_0x5e8ce8[_0x52afc2+0x3]^_0x4cbc04[0x3],_0x376871=0x4,_0x5d8ccc=0x1;_0x5d8ccc<_0x237acc;_0x5d8ccc++){var _0x3f4b93=_0x9637bc[_0x1d4c69>>>0x18]^_0x3b737a[_0x56e018>>>0x10&0xff]^_0x3d1a7b[_0x446003>>>0x8&0xff]^_0x8a093a[_0x38a6b3&0xff]^_0x4cbc04[_0x376871++],_0x3a863a=_0x9637bc[_0x56e018>>>0x18]^_0x3b737a[_0x446003>>>0x10&0xff]^_0x3d1a7b[_0x38a6b3>>>0x8&0xff]^_0x8a093a[_0x1d4c69&0xff]^_0x4cbc04[_0x376871++],_0x50030c=_0x9637bc[_0x446003>>>0x18]^_0x3b737a[_0x38a6b3>>>0x10&0xff]^_0x3d1a7b[_0x1d4c69>>>0x8&0xff]^_0x8a093a[_0x56e018&0xff]^_0x4cbc04[_0x376871++],_0x1a5eab=_0x9637bc[_0x38a6b3>>>0x18]^_0x3b737a[_0x1d4c69>>>0x10&0xff]^_0x3d1a7b[_0x56e018>>>0x8&0xff]^_0x8a093a[_0x446003&0xff]^_0x4cbc04[_0x376871++];_0x1d4c69=_0x3f4b93,_0x56e018=_0x3a863a,_0x446003=_0x50030c,_0x38a6b3=_0x1a5eab;}var _0x3f4b93=(_0x3c5588[_0x1d4c69>>>0x18]<<0x18|_0x3c5588[_0x56e018>>>0x10&0xff]<<0x10|_0x3c5588[_0x446003>>>0x8&0xff]<<0x8|_0x3c5588[_0x38a6b3&0xff])^_0x4cbc04[_0x376871++],_0x3a863a=(_0x3c5588[_0x56e018>>>0x18]<<0x18|_0x3c5588[_0x446003>>>0x10&0xff]<<0x10|_0x3c5588[_0x38a6b3>>>0x8&0xff]<<0x8|_0x3c5588[_0x1d4c69&0xff])^_0x4cbc04[_0x376871++],_0x50030c=(_0x3c5588[_0x446003>>>0x18]<<0x18|_0x3c5588[_0x38a6b3>>>0x10&0xff]<<0x10|_0x3c5588[_0x1d4c69>>>0x8&0xff]<<0x8|_0x3c5588[_0x56e018&0xff])^_0x4cbc04[_0x376871++],_0x1a5eab=(_0x3c5588[_0x38a6b3>>>0x18]<<0x18|_0x3c5588[_0x1d4c69>>>0x10&0xff]<<0x10|_0x3c5588[_0x56e018>>>0x8&0xff]<<0x8|_0x3c5588[_0x446003&0xff])^_0x4cbc04[_0x376871++];_0x5e8ce8[_0x52afc2]=_0x3f4b93,_0x5e8ce8[_0x52afc2+0x1]=_0x3a863a,_0x5e8ce8[_0x52afc2+0x2]=_0x50030c,_0x5e8ce8[_0x52afc2+0x3]=_0x1a5eab;},'keySize':0x100/0x20});_0x55cc00['AES']=_0xee5830[_0xb0f9a1(0xc1)](_0xbd07a9);}()),_0x4a8e3b[_0x4acb76(0x371)];}));}(_0x227988)),_0x227988[_0x34a0b5(0x42d)];}var _0x472caf=_0x53b78d();const _0x2b5247=_0x164355(_0x472caf);var _0xfcabc9=_0x3a836a();const _0x524601=_0x164355(_0xfcabc9);var _0x29788f={'exports':{}},_0x201d61=_0x29788f[_0x4a9ac9(0x42d)],_0x2b4276;function _0x4acd7a(){var _0x211a0e=_0x4a9ac9;return _0x2b4276||(_0x2b4276=0x1,function(_0x4e1ec7,_0x2b8f91){(function(_0x3ae892,_0x251400){var _0x48ea08=_0x515f;_0x4e1ec7[_0x48ea08(0x42d)]=_0x251400(_0x576c57());}(_0x201d61,function(_0x330467){return _0x330467['enc']['Utf8'];}));}(_0x29788f)),_0x29788f[_0x211a0e(0x42d)];}var _0x1d84ec=_0x4acd7a();const _0x30df85=_0x164355(_0x1d84ec);var _0x513618={'exports':{}},_0x2ba85a=_0x513618[_0x4a9ac9(0x42d)],_0x40fc7c;function _0x1974c6(){var _0x2bbf50=_0x4a9ac9;return _0x40fc7c||(_0x40fc7c=0x1,function(_0x40f230,_0xfe44a3){(function(_0x537512,_0x554b02){var _0x35419b=_0x515f;_0x40f230[_0x35419b(0x42d)]=_0x554b02(_0x576c57());}(_0x2ba85a,function(_0x196c2f){var _0x1ce2e8=_0x515f;return(function(){var _0x1ed723=_0x515f;if(typeof ArrayBuffer==_0x1ed723(0x143)){var _0x1ccd28=_0x196c2f,_0x1d2af7=_0x1ccd28[_0x1ed723(0x428)],_0x310b28=_0x1d2af7['WordArray'],_0x122e28=_0x310b28[_0x1ed723(0x3d7)],_0x2fdb61=_0x310b28[_0x1ed723(0x3d7)]=function(_0x30b34e){var _0x23985c=_0x1ed723;if(_0x30b34e instanceof ArrayBuffer&&(_0x30b34e=new Uint8Array(_0x30b34e)),(_0x30b34e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x30b34e instanceof Uint8ClampedArray||_0x30b34e instanceof Int16Array||_0x30b34e instanceof Uint16Array||_0x30b34e instanceof Int32Array||_0x30b34e instanceof Uint32Array||_0x30b34e instanceof Float32Array||_0x30b34e instanceof Float64Array)&&(_0x30b34e=new Uint8Array(_0x30b34e['buffer'],_0x30b34e[_0x23985c(0x154)],_0x30b34e[_0x23985c(0x437)])),_0x30b34e instanceof Uint8Array){for(var _0x3d783c=_0x30b34e[_0x23985c(0x437)],_0x573121=[],_0x453bf8=0x0;_0x453bf8<_0x3d783c;_0x453bf8++)_0x573121[_0x453bf8>>>0x2]|=_0x30b34e[_0x453bf8]<<0x18-_0x453bf8%0x4*0x8;_0x122e28[_0x23985c(0x3c1)](this,_0x573121,_0x3d783c);}else _0x122e28[_0x23985c(0x108)](this,arguments);};_0x2fdb61[_0x1ed723(0x3ad)]=_0x310b28;}}()),_0x196c2f[_0x1ce2e8(0x428)][_0x1ce2e8(0x398)];}));}(_0x513618)),_0x513618[_0x2bbf50(0x42d)];}var _0x157f4c=_0x1974c6();const _0x145f7a=_0x164355(_0x157f4c);var _0x52d416={'exports':{}},_0xe84bf4=_0x52d416[_0x4a9ac9(0x42d)],_0x4b13b6;function _0x589bf3(){var _0x13ce2a=_0x4a9ac9;return _0x4b13b6||(_0x4b13b6=0x1,function(_0x168c3e,_0x5b7f76){(function(_0x17cfb7,_0x53bf9c,_0x1d029f){var _0x22651a=_0x515f;_0x168c3e[_0x22651a(0x42d)]=_0x53bf9c(_0x576c57(),_0x2e7639());}(_0xe84bf4,function(_0x12753f){var _0x2418fa=_0x515f;return _0x12753f['pad'][_0x2418fa(0x231)]={'pad':function(){},'unpad':function(){}},_0x12753f[_0x2418fa(0x3c9)]['NoPadding'];}));}(_0x52d416)),_0x52d416[_0x13ce2a(0x42d)];}var _0x47a926=_0x589bf3();const _0x495650=_0x164355(_0x47a926);function _0x2a2b7b(_0x3d5a3c,_0x34f0e5){var _0x1f6edd=_0x4a9ac9;const _0x2a77d9=_0x34f0e5-_0x3d5a3c[_0x1f6edd(0x337)]%_0x34f0e5,_0xe5f949=String[_0x1f6edd(0x22b)](_0x2a77d9)['repeat'](_0x2a77d9);return _0x3d5a3c+_0xe5f949;}function _0x1c615f(_0x265287,_0xe13727){var _0x593aa6=_0x4a9ac9;const _0x191be4=_0x145f7a[_0x593aa6(0x255)](0x10),_0x5cfe3b=_0x2a2b7b(_0x265287,0x10),_0x2495bb=_0x2b5247['encrypt'](_0x30df85['parse'](_0x5cfe3b),_0x524601['parse'](_0xe13727),{'iv':_0x191be4,'padding':_0x495650});return _0x191be4['concat'](_0x2495bb[_0x593aa6(0x459)])[_0x593aa6(0x1b1)](_0x524601);}function _0x5f1112(){var _0x4a85c7=_0x4a9ac9;const _0x59598d=_0x4ae2a6[_0x4a85c7(0x1ce)]()[_0x4a85c7(0x19e)];if(_0x59598d){const _0x2fee29={'time':Math[_0x4a85c7(0x3a4)](Date['now']()/0x3e8),'domain':location['hostname']};return _0x1c615f(JSON[_0x4a85c7(0x195)](_0x2fee29),_0x59598d);}}var _0x1e0e92=Object['getOwnPropertyDescriptor'],_0xece349=(_0x30e8c6,_0x19ede,_0x1e5dc9,_0x3dd9de)=>{var _0x5b7785=_0x4a9ac9;for(var _0x2c8db3=_0x3dd9de>0x1?void 0x0:_0x3dd9de?_0x1e0e92(_0x19ede,_0x1e5dc9):_0x19ede,_0x1881d9=_0x30e8c6[_0x5b7785(0x337)]-0x1,_0x5b9479;_0x1881d9>=0x0;_0x1881d9--)(_0x5b9479=_0x30e8c6[_0x1881d9])&&(_0x2c8db3=_0x5b9479(_0x2c8db3)||_0x2c8db3);return _0x2c8db3;},_0x37aef5=(_0x29ae90,_0x52de04)=>(_0x20c25c,_0x3ef106)=>_0x52de04(_0x20c25c,_0x3ef106,_0x29ae90);let _0x29cb3a=class{constructor(_0x3b76ce){var _0x410b92=_0x4a9ac9;this['_httpService']=_0x3b76ce,this[_0x410b92(0x325)]();}[_0x4a9ac9(0x325)](){var _0x2a7d67=_0x4a9ac9;this[_0x2a7d67(0x16f)][_0x2a7d67(0x3d4)]({'interceptor':(_0x170027,_0x416942)=>{var _0x15cfb2=_0x2a7d67;const _0x466553=_0x170027[_0x15cfb2(0x222)],_0x5a684c=_0x5f1112();return _0x5a684c&&_0x466553[_0x15cfb2(0x356)](_0x15cfb2(0x22d),_0x5a684c),_0x416942(_0x170027);}});}};_0x29cb3a=_0xece349([_0x37aef5(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1['HTTPService']))],_0x29cb3a);var _0x5e0736=Object['getOwnPropertyDescriptor'],_0x2b691d=(_0x40ac74,_0x19a62b,_0x166850,_0xfe7c9d)=>{var _0x183820=_0x4a9ac9;for(var _0x4a0532=_0xfe7c9d>0x1?void 0x0:_0xfe7c9d?_0x5e0736(_0x19a62b,_0x166850):_0x19a62b,_0x1e946b=_0x40ac74[_0x183820(0x337)]-0x1,_0x3016a9;_0x1e946b>=0x0;_0x1e946b--)(_0x3016a9=_0x40ac74[_0x1e946b])&&(_0x4a0532=_0x3016a9(_0x4a0532)||_0x4a0532);return _0x4a0532;},_0x3b8089=(_0x1b07a0,_0x34e45e)=>(_0x530c9e,_0x274c0b)=>_0x34e45e(_0x530c9e,_0x274c0b,_0x1b07a0);_0x4113be['DataLoaderService']=class extends _0x414ab0['RxDisposable']{constructor(_0x3dfae5,_0x518bce,_0x1b17bc){var _0x229889=_0x4a9ac9;super(),_0x213c49(this,_0x229889(0x2e4),new _0x5691e8['BehaviorSubject'](null)),_0x213c49(this,_0x229889(0x438),this['_unitInfo$'][_0x229889(0x3cf)]()),(this['_logService']=_0x3dfae5,this[_0x229889(0xd1)]=_0x518bce,this[_0x229889(0xee)]=_0x1b17bc);}async[_0x4a9ac9(0x2e7)](_0x340035,_0x959ccb,_0x2f57e9){var _0x55c084=_0x4a9ac9;this[_0x55c084(0x2e4)][_0x55c084(0x2d0)]({'unitId':_0x340035,'type':_0x959ccb});let _0x4bdbea=null;switch(_0x959ccb){case _0x5599c4[_0x55c084(0x429)]:{_0x4bdbea=await this[_0x55c084(0xd1)][_0x55c084(0x289)](_0x340035,_0x2f57e9);break;}case _0x5599c4[_0x55c084(0x120)]:{_0x4bdbea=await this['_snapshotService'][_0x55c084(0x3fa)](_0x340035,_0x2f57e9);break;}default:{this[_0x55c084(0x426)][_0x55c084(0x2ad)](_0x55c084(0x1a7),_0x55c084(0x388));break;}}return _0x4bdbea;}async[_0x4a9ac9(0x346)](_0x262deb,_0x2aa33b,_0x40dfaa){var _0x29faa2=_0x4a9ac9,_0x4d14f7;this[_0x29faa2(0x2e4)]['next']({'unitId':_0x262deb,'type':_0x2aa33b,'subUnitId':_0x40dfaa});let _0x4efd9c=0x0;const _0x59ec0b=await((_0x4d14f7=this[_0x29faa2(0xee)])==null?void 0x0:_0x4d14f7[_0x29faa2(0x270)](_0x262deb));return _0x59ec0b&&(_0x59ec0b['awaitingChangeset']||_0x59ec0b[_0x29faa2(0x1a1)][_0x29faa2(0x337)]!==0x0)&&(_0x4efd9c=_0x59ec0b[_0x29faa2(0x204)]),_0x4efd9c===0x0&&this[_0x29faa2(0x426)]['debug'](_0x29faa2(0x1a7),_0x29faa2(0x138)),this[_0x29faa2(0x2e7)](_0x262deb,_0x2aa33b,_0x4efd9c);}},_0x4113be[_0x4a9ac9(0x128)]=_0x2b691d([_0x3b8089(0x0,_0x414ab0['ILogService']),_0x3b8089(0x1,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x2b0)])),_0x3b8089(0x2,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be['DataLoaderService']);var _0x137d67=Object[_0x4a9ac9(0xf9)],_0x3b3f72=(_0x29b503,_0xed1a2d,_0x3131b8,_0x4e7ec1)=>{var _0xebac0=_0x4a9ac9;for(var _0x57dd53=_0x4e7ec1>0x1?void 0x0:_0x4e7ec1?_0x137d67(_0xed1a2d,_0x3131b8):_0xed1a2d,_0x44369f=_0x29b503[_0xebac0(0x337)]-0x1,_0x1e5fba;_0x44369f>=0x0;_0x44369f--)(_0x1e5fba=_0x29b503[_0x44369f])&&(_0x57dd53=_0x1e5fba(_0x57dd53)||_0x57dd53);return _0x57dd53;},_0x13f26e=(_0x120533,_0x1c8065)=>(_0x5da9b0,_0x5518c9)=>_0x1c8065(_0x5da9b0,_0x5518c9,_0x120533);const _0x1ae77f=[_0x4a9ac9(0x352),'image/jpeg',_0x4a9ac9(0x33e),_0x4a9ac9(0x44b),_0x4a9ac9(0x26f)],_0x338689=0x5*0x400*0x400,_0x4cd13d='/universer-api/stream/file/upload',_0x339a94=_0x4a9ac9(0x372);_0x4113be[_0x4a9ac9(0x179)]=class{constructor(_0x5c89c3,_0x45ac7b,_0x1a6cbe){var _0x4a725c=_0x4a9ac9;_0x213c49(this,'_waitCount',0x0),_0x213c49(this,'_change$',new _0x5691e8[(_0x4a725c(0x220))]()),_0x213c49(this,_0x4a725c(0x2b4),this[_0x4a725c(0x44c)]),_0x213c49(this,'_imageSourceCache',new Map()),(this[_0x4a725c(0x16f)]=_0x5c89c3,this[_0x4a725c(0x14e)]=_0x45ac7b,this[_0x4a725c(0x3bf)]=_0x1a6cbe);}[_0x4a9ac9(0x121)](_0x456375){var _0x17957a=_0x4a9ac9;this[_0x17957a(0x2d5)]=_0x456375,this['_change$']['next'](_0x456375);}[_0x4a9ac9(0x336)](_0x4ad942,_0x10d7d9){var _0xe4f8d0=_0x4a9ac9;if(_0x10d7d9===_0x3f9464[_0xe4f8d0(0x153)][_0xe4f8d0(0x1cf)]){const _0x123cf2=new Image();return _0x123cf2[_0xe4f8d0(0x396)]=_0x4ad942,_0x123cf2;}return this['_imageSourceCache'][_0xe4f8d0(0x218)](_0x4ad942);}[_0x4a9ac9(0x3af)](_0x82449b,_0x2b5e9e,_0x15d47e){var _0x5dccca=_0x4a9ac9;_0x2b5e9e===_0x3f9464[_0x5dccca(0x153)][_0x5dccca(0x1cf)]||_0x15d47e==null||this[_0x5dccca(0x3f3)]['set'](_0x82449b,_0x15d47e);}async[_0x4a9ac9(0x367)](_0x20476a){var _0x1e7db=_0x4a9ac9;try{const _0x2e5cbe=this[_0x1e7db(0x40c)](this[_0x1e7db(0x133)](),''+_0x20476a),_0x5570d9=(await this[_0x1e7db(0x16f)][_0x1e7db(0x218)](_0x2e5cbe))[_0x1e7db(0xec)];if(_0x5570d9[_0x1e7db(0x2ad)]&&_0x5570d9['error']['code']===_0xcd798d['OK']){const _0xc94abb=new URL(_0x5570d9[_0x1e7db(0x28e)],this[_0x1e7db(0x187)]())[_0x1e7db(0x1b1)]();return Promise[_0x1e7db(0x441)](_0xc94abb);}return Promise[_0x1e7db(0x146)](_0x5570d9[_0x1e7db(0x2ad)]);}catch(_0xa4c267){return Promise[_0x1e7db(0x146)](_0xa4c267);}}async[_0x4a9ac9(0x1cb)](_0x20dc22){var _0x27f99b=_0x4a9ac9;let _0x5026a9='';if(!_0x1ae77f[_0x27f99b(0x258)](_0x20dc22[_0x27f99b(0x1ca)]))return this[_0x27f99b(0x34b)](),Promise[_0x27f99b(0x146)](new Error(_0x3f9464[_0x27f99b(0x288)]['ERROR_IMAGE_TYPE']));if(_0x20dc22['size']>_0x338689)return this[_0x27f99b(0x34b)](),Promise['reject'](new Error(_0x3f9464[_0x27f99b(0x288)][_0x27f99b(0x360)]));try{const _0x24db27=new FormData();_0x24db27[_0x27f99b(0x442)](_0x27f99b(0x33a),_0x20dc22);const _0x5e47ca=this['_univerInstanceService'][_0x27f99b(0x159)](),_0x5268b9=_0x5e47ca==null?void 0x0:_0x5e47ca[_0x27f99b(0x420)]();if(!_0x5268b9)throw new Error(_0x27f99b(0xd2));const _0xf99e49=this['_getUploadFileURL']()+_0x27f99b(0x34c)+_0x20dc22[_0x27f99b(0x19d)]['toString']()+'&source='+_0xbed5ec['UnitEmbedded']+'&assign='+encodeURIComponent(_0x5268b9),_0xabd736={'body':_0x24db27},_0xb3ddae=(await this[_0x27f99b(0x16f)][_0x27f99b(0x1fe)](_0xf99e49,_0xabd736))['body'];if(typeof _0xb3ddae[_0x27f99b(0x2a1)]!=_0x27f99b(0x299))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3f9464['ImageUploadStatusType'][_0x27f99b(0x112)]));_0x5026a9=_0xb3ddae[_0x27f99b(0x2a1)];}catch{return this[_0x27f99b(0x34b)](),Promise['reject'](new Error(_0x3f9464['ImageUploadStatusType'][_0x27f99b(0x112)]));}return new Promise((_0x1f908c,_0x24180b)=>{var _0x180424=_0x27f99b;const _0x1c8b63=new FileReader();_0x1c8b63['readAsDataURL'](_0x20dc22),_0x1c8b63[_0x180424(0x21e)]=_0x558fcc=>{var _0x5c4ba3=_0x180424,_0x242963;const _0x263f09=(_0x242963=_0x558fcc['target'])==null?void 0x0:_0x242963['result'];if(_0x263f09==null){this[_0x5c4ba3(0x34b)](),_0x24180b(new Error(_0x3f9464[_0x5c4ba3(0x288)]['ERROR_IMAGE']));return;}const _0x3c08b1=_0x414ab0['generateRandomId'](0x6);_0x1f908c({'imageId':_0x3c08b1,'imageSourceType':_0x3f9464[_0x5c4ba3(0x153)][_0x5c4ba3(0x1b2)],'source':_0x5026a9,'base64Cache':_0x263f09,'status':_0x3f9464['ImageUploadStatusType'][_0x5c4ba3(0x19f)]}),this[_0x5c4ba3(0x34b)]();};});}[_0x4a9ac9(0x311)](){var _0x1e7a8d=_0x4a9ac9,_0x14af70;const _0x38dd33=this['_configService'][_0x1e7a8d(0xfb)](_0xfa3b98);return(_0x14af70=_0x38dd33==null?void 0x0:_0x38dd33[_0x1e7a8d(0x19b)])!=null?_0x14af70:_0x4cd13d;}[_0x4a9ac9(0x133)](){var _0x102f0e=_0x4a9ac9,_0x1a0aa4;const _0x576951=this['_configService']['getConfig'](_0xfa3b98);return(_0x1a0aa4=_0x576951==null?void 0x0:_0x576951[_0x102f0e(0x1cc)])!=null?_0x1a0aa4:_0x339a94;}['_getDownloadEndpointURL'](){var _0x3b4d71=_0x4a9ac9,_0x2e8a62;const _0x560317=this[_0x3b4d71(0x14e)]['getConfig'](_0xfa3b98);return(_0x2e8a62=_0x560317==null?void 0x0:_0x560317[_0x3b4d71(0x324)])!=null?_0x2e8a62:location[_0x3b4d71(0x36d)];}[_0x4a9ac9(0x40c)](_0x445afc,_0x4c44d7){var _0x6db6aa=_0x4a9ac9;return _0x445afc[_0x6db6aa(0x170)]('{fileID}',_0x4c44d7);}['_decreaseWaiting'](){var _0x3b161c=_0x4a9ac9;this[_0x3b161c(0x2d5)]-=0x1,this[_0x3b161c(0x44c)][_0x3b161c(0x2d0)](this['_waitCount']);}},_0x4113be[_0x4a9ac9(0x179)]=_0x3b3f72([_0x13f26e(0x0,_0x414ab0['Inject'](_0x3bd1c1[_0x4a9ac9(0x354)])),_0x13f26e(0x1,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x13f26e(0x2,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2f2)]))],_0x4113be['CollaborationImageIoService']);var _0x9cd1ea=Object['getOwnPropertyDescriptor'],_0x34e72f=(_0x21f83c,_0xf2c6b2,_0x3a54e7,_0x3cb429)=>{var _0x1b17da=_0x4a9ac9;for(var _0x5196c6=_0x3cb429>0x1?void 0x0:_0x3cb429?_0x9cd1ea(_0xf2c6b2,_0x3a54e7):_0xf2c6b2,_0x370f97=_0x21f83c[_0x1b17da(0x337)]-0x1,_0x51c977;_0x370f97>=0x0;_0x370f97--)(_0x51c977=_0x21f83c[_0x370f97])&&(_0x5196c6=_0x51c977(_0x5196c6)||_0x5196c6);return _0x5196c6;},_0x2b2fed=(_0x5b115e,_0x5dc348)=>(_0x17c227,_0x1a7942)=>_0x5dc348(_0x17c227,_0x1a7942,_0x5b115e);const _0x357087=_0x4a9ac9(0x451);_0x4113be[_0x4a9ac9(0x19c)]=class{constructor(_0x594ade,_0x3d3f28){var _0x2ac566=_0x4a9ac9;this[_0x2ac566(0x14e)]=_0x594ade,this[_0x2ac566(0xeb)]=_0x3d3f28;}[_0x4a9ac9(0x1db)](){var _0x1a95bb=_0x4a9ac9,_0x18d786;const _0x1c7661=this[_0x1a95bb(0x14e)]['getConfig'](_0xfa3b98);return(_0x18d786=_0x1c7661==null?void 0x0:_0x1c7661[_0x1a95bb(0x27b)])!=null?_0x18d786:_0x357087;}async[_0x4a9ac9(0x186)](_0x191ba3){var _0xfb039a=_0x4a9ac9;const _0x53dde2=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0xfb039a(0x36b),'mentions':(await this['_HTTPService'][_0xfb039a(0x218)](_0x53dde2,{'params':{'objectID':_0x191ba3['unitId'],'unitID':_0x191ba3[_0xfb039a(0x44f)]}}))[_0xfb039a(0xec)][_0xfb039a(0x411)][_0xfb039a(0x45d)](_0x461379=>({'objectId':_0x461379['id'],'name':_0x461379[_0xfb039a(0x223)][_0xfb039a(0x410)],'metadata':{'icon':_0x461379['subject'][_0xfb039a(0x3f4)]},'label':_0x461379[_0xfb039a(0x223)][_0xfb039a(0x410)],'objectType':_0x414ab0['MentionType']['PERSON']})),'metadata':{},'type':_0x414ab0['MentionType'][_0xfb039a(0xe5)]}]};}},_0x4113be[_0x4a9ac9(0x19c)]=_0x34e72f([_0x2b2fed(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x1a4)])),_0x2b2fed(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1[_0x4a9ac9(0x354)]))],_0x4113be[_0x4a9ac9(0x19c)]);var _0x552d8b=Object[_0x4a9ac9(0xf9)],_0x4ec73e=(_0x4e8703,_0x10cbd0,_0xae2e23,_0x2b5d29)=>{var _0x442a33=_0x4a9ac9;for(var _0x8b0596=_0x2b5d29>0x1?void 0x0:_0x2b5d29?_0x552d8b(_0x10cbd0,_0xae2e23):_0x10cbd0,_0x3dddc2=_0x4e8703[_0x442a33(0x337)]-0x1,_0x76c91e;_0x3dddc2>=0x0;_0x3dddc2--)(_0x76c91e=_0x4e8703[_0x3dddc2])&&(_0x8b0596=_0x76c91e(_0x8b0596)||_0x8b0596);return _0x8b0596;},_0x460c7f=(_0x2e364e,_0x519693)=>(_0x11d7c8,_0x247343)=>_0x519693(_0x11d7c8,_0x247343,_0x2e364e);let _0x34aaee=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x4f880a,_0x3554ff,_0x35236f,_0x98c34c,_0x38a278){var _0x2ace43=_0x4a9ac9;super(),this['_injector']=_0x4f880a,this[_0x2ace43(0x3bf)]=_0x3554ff,this[_0x2ace43(0x38d)]=_0x35236f,this[_0x2ace43(0x30d)]=_0x98c34c,this[_0x2ace43(0x167)]=_0x38a278,this[_0x2ace43(0x2a2)](),this[_0x2ace43(0x114)]();}[_0x4a9ac9(0x114)](){var _0x408ae5=_0x4a9ac9;const _0x5079f6=async _0x55588d=>{var _0x4667aa=_0x515f;(await this[_0x4667aa(0x30d)][_0x4667aa(0x2fc)](_0x55588d))['event$'][_0x4667aa(0x282)](_0x1f22ee[_0x4667aa(0xef)](_0x12802c=>_0x12802c['eventID']===_0x19b128['CollaborationEvent'][_0x4667aa(0x1cd)]),_0x1f22ee[_0x4667aa(0x399)](this['dispose$']))['subscribe'](_0x25e9da=>{var _0x3ab976=_0x4667aa;const _0x5e5b78=_0x25e9da,{reason:_0x28f98e}=_0x5e5b78['data'];this[_0x3ab976(0x167)][_0x3ab976(0x3f6)]({'id':_0x51d7a4[_0x3ab976(0x395)],'data':_0x28f98e}),this[_0x3ab976(0x38d)][_0x3ab976(0x23b)](new _0x19c319[(_0x3ab976(0x415))](_0x55588d)['id'],!0x1),this[_0x3ab976(0x30d)][_0x3ab976(0x280)](_0x55588d);});};_0x5691e8[_0x408ae5(0x3e1)](this[_0x408ae5(0x3bf)][_0x408ae5(0x314)](_0x414ab0[_0x408ae5(0x20f)][_0x408ae5(0x429)]),this[_0x408ae5(0x3bf)]['getTypeOfUnitAdded$'](_0x414ab0[_0x408ae5(0x20f)][_0x408ae5(0x120)]))[_0x408ae5(0x282)](_0x1f22ee[_0x408ae5(0x45d)](_0x381132=>_0x381132['getUnitId']()),_0x1f22ee['filter'](_0x3ebc1a=>!_0x414ab0[_0x408ae5(0x207)](_0x3ebc1a)),_0x1f22ee['takeUntil'](this[_0x408ae5(0x3bc)]))[_0x408ae5(0x32f)](_0x40067b=>{_0x5079f6(_0x40067b);});}['_initUnitPermissionChange'](){var _0x4a9261=_0x4a9ac9;const _0x598ec4=async _0x586dbf=>{var _0x4a0121=_0x515f;const _0x4a7f84=await this['_collaborationSessionService'][_0x4a0121(0x2fc)](_0x586dbf),_0x1c7b4b=this['_injector'][_0x4a0121(0x218)](_0x19c319[_0x4a0121(0x1fd)]);_0x4a7f84[_0x4a0121(0x37f)][_0x4a0121(0x282)](_0x1f22ee[_0x4a0121(0xef)](_0x4fd922=>_0x4fd922[_0x4a0121(0x439)]===_0x19b128[_0x4a0121(0xd3)]['UPDATE_PERMISSION_OBJ']),_0x1f22ee[_0x4a0121(0x399)](this[_0x4a0121(0x3bc)]))['subscribe'](_0x5707ea=>{var _0x2c15bb=_0x4a0121;const _0x14e402=_0x5707ea,{objectId:_0xf8257a}=_0x14e402[_0x2c15bb(0xc7)];_0xf8257a===_0x586dbf?_0x1c7b4b['initWorkbookPermissionChange'](_0x586dbf):_0x1c7b4b['refreshPermission'](_0x586dbf,_0xf8257a);});};_0x5691e8['merge'](this[_0x4a9261(0x3bf)][_0x4a9261(0x314)](_0x414ab0['UniverInstanceType']['UNIVER_SHEET']))[_0x4a9261(0x282)](_0x1f22ee[_0x4a9261(0x45d)](_0x58fc85=>_0x58fc85[_0x4a9261(0x420)]()),_0x1f22ee[_0x4a9261(0xef)](_0x8cf009=>!_0x414ab0[_0x4a9261(0x207)](_0x8cf009)),_0x1f22ee[_0x4a9261(0x399)](this[_0x4a9261(0x3bc)]))[_0x4a9261(0x32f)](_0x324811=>{_0x598ec4(_0x324811);});}};_0x34aaee=_0x4ec73e([_0x460c7f(0x0,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x460c7f(0x1,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x460c7f(0x2,_0x414ab0['IPermissionService']),_0x460c7f(0x3,_0x414ab0[_0x4a9ac9(0x11f)](_0x4113be[_0x4a9ac9(0x103)])),_0x460c7f(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78))],_0x34aaee);var _0x3f2c41=Object[_0x4a9ac9(0xf9)],_0x1b625a=(_0x52b432,_0x33f75a,_0x1d0b14,_0x3eef25)=>{var _0x397af6=_0x4a9ac9;for(var _0x56b2c9=_0x3eef25>0x1?void 0x0:_0x3eef25?_0x3f2c41(_0x33f75a,_0x1d0b14):_0x33f75a,_0x18dfba=_0x52b432[_0x397af6(0x337)]-0x1,_0x1c41c9;_0x18dfba>=0x0;_0x18dfba--)(_0x1c41c9=_0x52b432[_0x18dfba])&&(_0x56b2c9=_0x1c41c9(_0x56b2c9)||_0x56b2c9);return _0x56b2c9;},_0x1a19e6=(_0x2cc949,_0x146eba)=>(_0x371fac,_0x16f1e3)=>_0x146eba(_0x371fac,_0x16f1e3,_0x2cc949);_0x4113be[_0x4a9ac9(0x102)]=class{constructor(_0x21a7e8,_0x4ba5e0){var _0x1c598b=_0x4a9ac9;this[_0x1c598b(0x14e)]=_0x21a7e8,this[_0x1c598b(0x16f)]=_0x4ba5e0;}async['getUnitOnRev'](_0x28e5be,_0x40674d){var _0x1e740f=_0x4a9ac9,_0x30519f;const {unitID:_0x577363,type:_0x647d17,revision:_0x3799cd=0x0}=_0x40674d,_0x1e2a22=this['getSnapshotAPIPath']()+'/'+_0x647d17+_0x1e740f(0x39a)+_0x577363+_0x1e740f(0x3c7)+_0x3799cd,_0x59df4f=(await this['_httpService'][_0x1e740f(0x218)](_0x1e2a22))[_0x1e740f(0xec)],_0x4e3552=(_0x30519f=_0x59df4f[_0x1e740f(0x3ae)])==null?void 0x0:_0x30519f[_0x1e740f(0x181)];if(_0x4e3552){const _0x21b826=_0x4e3552==null?void 0x0:_0x4e3552['originalMeta'],_0x423f50=_0x19b128[_0x1e740f(0x2c0)][_0x1e740f(0x40f)](_0x19b128['b64DecodeUnicode'](_0x21b826));_0x4e3552[_0x1e740f(0x2e9)]=_0x423f50,Object['entries'](_0x4e3552['sheets'])['forEach'](([,_0x216753])=>{var _0xcdfba0=_0x1e740f;const _0x24825a=_0x216753[_0xcdfba0(0x2e9)],_0x55bcc4=_0x19b128[_0xcdfba0(0x2c0)][_0xcdfba0(0x40f)](_0x19b128['b64DecodeUnicode'](_0x24825a));_0x216753[_0xcdfba0(0x2e9)]=_0x55bcc4;});}return _0x59df4f;}async['getSheetBlock'](_0x490ca5,_0x430dab){var _0x27a2e2=_0x4a9ac9;const {unitID:_0x37790b,type:_0x23154a,blockID:_0x5023bb}=_0x430dab,_0x2342fa=this[_0x27a2e2(0x1fb)]()+'/'+_0x23154a+_0x27a2e2(0x39a)+_0x37790b+'/block/'+_0x5023bb;return(await this[_0x27a2e2(0x16f)]['get'](_0x2342fa))['body'];}async[_0x4a9ac9(0x142)](_0x522e89,_0x5c871c){var _0x57da77=_0x4a9ac9;const {unitID:_0x5746ea,type:_0x5efedc,blockID:_0x52cbfa}=_0x5c871c,_0x7fc9b=this[_0x57da77(0x1fb)]()+_0x57da77(0x1f9)+_0x5efedc+_0x57da77(0x39a)+_0x5746ea+_0x57da77(0x1f9)+_0x52cbfa;return(await this['_httpService'][_0x57da77(0x218)](_0x7fc9b))['body'];}async[_0x4a9ac9(0x31c)](_0x4083e7,_0x833aa){var _0x1f2232=_0x4a9ac9;const {unitID:_0x7d498e,type:_0x2c2928,from:_0x34b357,to:_0x217a21}=_0x833aa,_0x737ab1=this[_0x1f2232(0x1fb)]()+'/'+_0x2c2928+_0x1f2232(0x39a)+_0x7d498e+_0x1f2232(0xe8)+_0x34b357+_0x1f2232(0xf4)+_0x217a21;return(await this[_0x1f2232(0x16f)]['get'](_0x737ab1))[_0x1f2232(0xec)];}[_0x4a9ac9(0x391)](){var _0x2c73fd=_0x4a9ac9,_0x107a9e;return(_0x107a9e=this[_0x2c73fd(0x14e)][_0x2c73fd(0xfb)](_0x41378d))!=null?_0x107a9e:this[_0x2c73fd(0x1fb)]();}[_0x4a9ac9(0x1fb)](){var _0x5372d4=_0x4a9ac9,_0x5e663b;const _0x3ab1e7=this[_0x5372d4(0x14e)]['getConfig'](_0xfa3b98);return(_0x5e663b=_0x3ab1e7==null?void 0x0:_0x3ab1e7[_0x5372d4(0xe9)])!=null?_0x5e663b:_0x49d908;}async['getResourcesRequest'](_0x23ee2d,_0x234b05){var _0x35aa83=_0x4a9ac9;const _0x4b30d7='/universer-api/snapshot/'+_0x234b05[_0x35aa83(0x1ca)]+_0x35aa83(0x39a)+_0x234b05[_0x35aa83(0x227)]+_0x35aa83(0x1ea);return(await this['_httpService'][_0x35aa83(0x218)](_0x4b30d7,{'params':{'resourceId':JSON[_0x35aa83(0x195)](_0x234b05['resourceIDs'])}}))[_0x35aa83(0xec)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x3038d1=_0x4a9ac9;throw new Error(_0x3038d1(0xda));}['saveSheetBlock'](){var _0x32fb91=_0x4a9ac9;throw new Error(_0x32fb91(0xda));}[_0x4a9ac9(0x3f0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x5037b2=_0x4a9ac9;throw new Error(_0x5037b2(0xda));}[_0x4a9ac9(0x32e)](){var _0x2bc52e=_0x4a9ac9;throw new Error(_0x2bc52e(0xda));}},_0x4113be[_0x4a9ac9(0x102)]=_0x1b625a([_0x1a19e6(0x0,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x1a19e6(0x1,_0x414ab0['Inject'](_0x3bd1c1[_0x4a9ac9(0x354)]))],_0x4113be[_0x4a9ac9(0x102)]);var _0x58acf6=Object[_0x4a9ac9(0xf9)],_0x362f1f=(_0x347b19,_0x544f66,_0x17268d,_0x1e8ce1)=>{var _0x4eb1cd=_0x4a9ac9;for(var _0x34e50f=_0x1e8ce1>0x1?void 0x0:_0x1e8ce1?_0x58acf6(_0x544f66,_0x17268d):_0x544f66,_0x5ecf5b=_0x347b19[_0x4eb1cd(0x337)]-0x1,_0x37159f;_0x5ecf5b>=0x0;_0x5ecf5b--)(_0x37159f=_0x347b19[_0x5ecf5b])&&(_0x34e50f=_0x37159f(_0x34e50f)||_0x34e50f);return _0x34e50f;},_0x49ed12=(_0x4664ef,_0x8a5df5)=>(_0x4d25f7,_0x410cd0)=>_0x8a5df5(_0x4d25f7,_0x410cd0,_0x4664ef);_0x4113be['CollaborativeUndoRedoService']=class extends _0x414ab0[_0x4a9ac9(0x139)]{constructor(_0x32e966,_0x442e89,_0x3c0f7a,_0x33d5d2,_0x566594){super(_0x32e966,_0x442e89,_0x3c0f7a),this['_transformService']=_0x33d5d2,this['_logService']=_0x566594;}[_0x4a9ac9(0x242)](_0x35287a,_0x42a191){var _0x2d47e3=_0x4a9ac9;const _0x222d12=this[_0x2d47e3(0x1f0)](_0x35287a);if(_0x222d12)try{const _0x25653c=this[_0x2d47e3(0x312)](_0x222d12,_0x42a191);this['_substituteUndoStack'](_0x35287a,_0x25653c);}catch(_0x7df686){this[_0x2d47e3(0x426)]['error'](_0x2d47e3(0x236),_0x7df686),this[_0x2d47e3(0x1fa)](_0x35287a);}const _0x570ae4=this[_0x2d47e3(0x232)](_0x35287a);if(_0x570ae4)try{const _0x51660f=this[_0x2d47e3(0x312)](_0x570ae4,_0x42a191);this[_0x2d47e3(0x25b)](_0x35287a,_0x51660f);}catch(_0x5eb7cd){this[_0x2d47e3(0x426)][_0x2d47e3(0x2ad)](_0x5eb7cd),this[_0x2d47e3(0x16b)](_0x35287a);}}[_0x4a9ac9(0x1fa)](_0x400e9d){var _0x150a53=_0x4a9ac9;const _0x6e1c60=this[_0x150a53(0x1f0)](_0x400e9d);_0x6e1c60&&(_0x6e1c60[_0x150a53(0x337)]=0x0,this['_updateStatus']());}[_0x4a9ac9(0x16b)](_0x2475a2){var _0x5a01f6=_0x4a9ac9;const _0xf9611e=this['_getRedoStack'](_0x2475a2);_0xf9611e&&(_0xf9611e[_0x5a01f6(0x337)]=0x0,this[_0x5a01f6(0x23c)]());}[_0x4a9ac9(0x40b)](_0x2bf73f,_0x4deb30){var _0x12abad=_0x4a9ac9;this[_0x12abad(0xfc)]['set'](_0x2bf73f,_0x4deb30),this[_0x12abad(0x23c)]();}['_substituteRedoStack'](_0x55f211,_0x13e890){var _0x41f169=_0x4a9ac9;this[_0x41f169(0x2ca)][_0x41f169(0x356)](_0x55f211,_0x13e890),this[_0x41f169(0x23c)]();}[_0x4a9ac9(0x312)](_0x1bd40b,_0xc1cce2){var _0x5172bb=_0x4a9ac9;const _0x46b955=[];let _0x2c57c9=_0xc1cce2,_0x55c89e=_0xc1cce2;for(let _0x23ece3=_0x1bd40b['length']-0x1;_0x23ece3>=0x0;_0x23ece3--){const {unitID:_0x1df3ad,undoMutations:_0x261ca3,redoMutations:_0xe255ec}=_0x1bd40b[_0x23ece3],_0x2eeb1f=this[_0x5172bb(0x413)][_0x5172bb(0x260)](_0x2c57c9,_0x261ca3),_0x297303=this[_0x5172bb(0x413)]['transformMutationsWithChangeset'](_0x55c89e,_0xe255ec);if(_0x19b128[_0x5172bb(0x3fd)](_0x2eeb1f)||_0x19b128[_0x5172bb(0x3fd)](_0x297303)){this[_0x5172bb(0x426)][_0x5172bb(0x2ad)]('[CollaborationUndoRedoService]',_0x5172bb(0x445),_0x2eeb1f,_0x297303);break;}_0x2c57c9=_0x2eeb1f['c1Prime'],_0x55c89e=_0x297303[_0x5172bb(0x2cb)],_0x46b955['push']({'unitID':_0x1df3ad,'undoMutations':_0x2eeb1f[_0x5172bb(0x347)],'redoMutations':_0x297303[_0x5172bb(0x347)]});}return _0x46b955[_0x5172bb(0x416)]();}},_0x4113be[_0x4a9ac9(0x136)]=_0x362f1f([_0x49ed12(0x0,_0x414ab0['IUniverInstanceService']),_0x49ed12(0x1,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x49ed12(0x2,_0x414ab0['IContextService']),_0x49ed12(0x3,_0x19b128[_0x4a9ac9(0x2c6)]),_0x49ed12(0x4,_0x414ab0['ILogService'])],_0x4113be['CollaborativeUndoRedoService']);var _0x54c2d1=Object[_0x4a9ac9(0x1a2)],_0x134334=Object[_0x4a9ac9(0xf9)],_0x1e5321=(_0x30a975,_0x23c277,_0x400957)=>_0x23c277 in _0x30a975?_0x54c2d1(_0x30a975,_0x23c277,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x400957}):_0x30a975[_0x23c277]=_0x400957,_0x5c932a=(_0x20ab88,_0x4e8995,_0x2b4214,_0x441103)=>{var _0x399f0c=_0x4a9ac9;for(var _0x582900=_0x441103>0x1?void 0x0:_0x441103?_0x134334(_0x4e8995,_0x2b4214):_0x4e8995,_0x366c84=_0x20ab88[_0x399f0c(0x337)]-0x1,_0x25aa26;_0x366c84>=0x0;_0x366c84--)(_0x25aa26=_0x20ab88[_0x366c84])&&(_0x582900=_0x25aa26(_0x582900)||_0x582900);return _0x582900;},_0x1cfdd4=(_0x2c03e6,_0x4fe0e8)=>(_0x8ae7e7,_0x2349d1)=>_0x4fe0e8(_0x8ae7e7,_0x2349d1,_0x2c03e6),_0x269e3d=(_0x20bc4a,_0x5dc5ec,_0x1b1cae)=>_0x1e5321(_0x20bc4a,_0x5dc5ec+'',_0x1b1cae);const _0x2c7f14=_0x4a9ac9(0xf6);_0x4113be[_0x4a9ac9(0x192)]=class extends _0x414ab0[_0x4a9ac9(0x1f2)]{constructor(_0x30d3f3,_0x27a8fb,_0x1e5a04,_0x1b5fac){var _0x214e26=_0x4a9ac9;super(),_0x213c49(this,_0x214e26(0x2b1)),(this[_0x214e26(0x426)]=_0x27a8fb,this[_0x214e26(0x18a)]=_0x1e5a04,this[_0x214e26(0x14e)]=_0x1b5fac);const {..._0x245132}=_0x414ab0['merge']({},_0x13dd70,_0x30d3f3);if(!_0x245132[_0x214e26(0x297)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x245132,this[_0x214e26(0x14e)][_0x214e26(0x2f5)](_0xfa3b98,_0x245132);}[_0x4a9ac9(0x193)](){var _0x573ec3=_0x4a9ac9;this[_0x573ec3(0x42b)](),this[_0x573ec3(0x3ef)]();}[_0x4a9ac9(0x42b)](){var _0x149206=_0x4a9ac9,_0x4f93c5,_0x4f54ab;this[_0x149206(0x18a)][_0x149206(0x1f6)](_0x414ab0['IUndoRedoService'])&&this['_logService'][_0x149206(0x2ad)](_0x149206(0x1a6),_0x149206(0x12d));const _0x2290a7=_0x414ab0[_0x149206(0xbb)]([[_0x414ab0[_0x149206(0x11b)],{'useClass':_0x4113be[_0x149206(0x136)]}],[_0x4113be['CollaborationSessionService']],[_0x4113be[_0x149206(0x295)]],[_0x4113be[_0x149206(0x425)]],[_0x34dd56],[_0x29cb3a],[_0x3e56a6],[_0x34aaee],[_0x26aa78],[_0x4113be[_0x149206(0x128)]],[_0x1c92c3,{'useClass':this['_config'][_0x149206(0x297)]}],[_0x19b128[_0x149206(0x20e)],{'useClass':_0x4113be['SnapshotServerOverHTTPService']}],[_0x414ab0[_0x149206(0x30a)],{'useClass':_0x4113be[_0x149206(0x3a1)]}],[_0x3f9464['IImageIoService'],{'useClass':_0x4113be[_0x149206(0x179)]}],[_0x414ab0[_0x149206(0x272)],{'useClass':_0x4113be[_0x149206(0x19c)]}],[_0x4113be['CollaborationController']],[_0x3df3a0]],(_0x4f93c5=this['_config'])==null?void 0x0:_0x4f93c5[_0x149206(0x303)]);if(!((_0x4f54ab=this[_0x149206(0x2b1)])!=null&&_0x4f54ab[_0x149206(0x2bb)])){const _0x2a81a4=_0x2290a7['findIndex'](([_0x3dabec])=>_0x3dabec===_0x5db1cd);_0x2a81a4!==-0x1&&_0x2290a7[_0x149206(0x375)](_0x2a81a4,0x1);}_0x414ab0[_0x149206(0x30e)](this[_0x149206(0x18a)],_0x2290a7);}[_0x4a9ac9(0x3ef)](){var _0x446b9a=_0x4a9ac9,_0x22c943,_0x5f12fa,_0x478336;this[_0x446b9a(0x18a)][_0x446b9a(0x218)](_0x3bd1c1[_0x446b9a(0x354)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3bd1c1[_0x446b9a(0x267)]({'maxParallel':0x6})}),(_0x22c943=this[_0x446b9a(0x2b1)])!=null&&_0x22c943[_0x446b9a(0xf0)]||(_0x5f12fa=this[_0x446b9a(0x18a)][_0x446b9a(0x218)](_0x364389,_0x414ab0[_0x446b9a(0x3d0)][_0x446b9a(0x1e9)]))==null||_0x5f12fa[_0x446b9a(0x318)](),(_0x478336=this['_config'])!=null&&_0x478336['enableAuthServer']&&_0x414ab0[_0x446b9a(0x214)](this[_0x446b9a(0x18a)],[[_0x34dd56]]),_0x414ab0[_0x446b9a(0x214)](this[_0x446b9a(0x18a)],[[_0x29cb3a],[_0x4113be['CollaborationController']],[_0x34aaee]]);}},_0x269e3d(_0x4113be[_0x4a9ac9(0x192)],_0x4a9ac9(0x219),_0x2c7f14),_0x4113be[_0x4a9ac9(0x192)]=_0x5c932a([_0x414ab0[_0x4a9ac9(0x3dd)](_0x19b128[_0x4a9ac9(0x329)],_0x3bd1c1[_0x4a9ac9(0x3f9)]),_0x1cfdd4(0x1,_0x414ab0['ILogService']),_0x1cfdd4(0x2,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1cfdd4(0x3,_0x414ab0['IConfigService'])],_0x4113be[_0x4a9ac9(0x192)]),_0x4113be[_0x4a9ac9(0x2db)]=_0xfa3b98,_0x4113be[_0x4a9ac9(0x2d2)]=_0x70296d,_0x4113be[_0x4a9ac9(0x2b8)]=_0x51d7a4,_0x4113be['CollaborationUIEventService']=_0x26aa78,_0x4113be['CommentService']=_0x3e56a6,_0x4113be[_0x4a9ac9(0x380)]=_0x340e26,_0x4113be[_0x4a9ac9(0x183)]=_0x17cb6d,_0x4113be[_0x4a9ac9(0x45b)]=_0x3a5dca,_0x4113be[_0x4a9ac9(0x113)]=_0x18d90d,_0x4113be[_0x4a9ac9(0x21d)]=_0x2beeb0,_0x4113be['ICollaborationSocketService']=_0x1c92c3,_0x4113be[_0x4a9ac9(0x125)]=_0x364389,_0x4113be['INetworkConditionService']=_0xc74a4,_0x4113be['ISingleActiveUnitService']=_0x5db1cd,_0x4113be[_0x4a9ac9(0xb6)]=0x3e8,_0x4113be[_0x4a9ac9(0x293)]=_0x38c987,_0x4113be['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x19b088,_0x4113be[_0x4a9ac9(0x35e)]=_0x314a57,_0x4113be[_0x4a9ac9(0x309)]=_0x38c5e4,_0x4113be[_0x4a9ac9(0x348)]=_0x39c98c,_0x4113be[_0x4a9ac9(0x10a)]=_0x5efbeb,_0x4113be['getLocalCacheKey']=_0x35a8e8,_0x4113be[_0x4a9ac9(0x292)]=_0x320526,Object[_0x4a9ac9(0x1a2)](_0x4113be,Symbol[_0x4a9ac9(0x2fb)],{'value':'Module'});}));
2
+ (function(_0x15a6f1,_0x5383a0){var _0x2bae91=_0x479e,_0x183171=_0x15a6f1();while(!![]){try{var _0x28be94=-parseInt(_0x2bae91(0x39b))/0x1*(parseInt(_0x2bae91(0x418))/0x2)+parseInt(_0x2bae91(0x242))/0x3+parseInt(_0x2bae91(0x3bf))/0x4*(-parseInt(_0x2bae91(0x377))/0x5)+parseInt(_0x2bae91(0x323))/0x6*(parseInt(_0x2bae91(0x24d))/0x7)+-parseInt(_0x2bae91(0x113))/0x8*(-parseInt(_0x2bae91(0x2b1))/0x9)+-parseInt(_0x2bae91(0x43e))/0xa*(-parseInt(_0x2bae91(0x236))/0xb)+parseInt(_0x2bae91(0x1ae))/0xc*(-parseInt(_0x2bae91(0x134))/0xd);if(_0x28be94===_0x5383a0)break;else _0x183171['push'](_0x183171['shift']());}catch(_0x352915){_0x183171['push'](_0x183171['shift']());}}}(_0x119d,0x55a31),function(_0x2ae8f5,_0x49a433){var _0x38867a=_0x479e;typeof exports=='object'&&typeof module<'u'?_0x49a433(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==_0x38867a(0x198)&&define[_0x38867a(0x393)]?define([_0x38867a(0x18f),_0x38867a(0x441),'@univerjs/core',_0x38867a(0x386),_0x38867a(0x2f0),_0x38867a(0x45d),_0x38867a(0x137),_0x38867a(0x28f),'@univerjs/network',_0x38867a(0x1c7),_0x38867a(0x2ac)],_0x49a433):(_0x2ae8f5=typeof globalThis<'u'?globalThis:_0x2ae8f5||self,_0x49a433(_0x2ae8f5[_0x38867a(0x356)]={},_0x2ae8f5['UniverProCollaboration'],_0x2ae8f5['UniverCore'],_0x2ae8f5[_0x38867a(0x293)],_0x2ae8f5['UniverSheets'],_0x2ae8f5[_0x38867a(0x45d)],_0x2ae8f5[_0x38867a(0x413)],_0x2ae8f5[_0x38867a(0x45d)][_0x38867a(0x329)],_0x2ae8f5[_0x38867a(0x142)],_0x2ae8f5[_0x38867a(0x29b)],_0x2ae8f5['UniverProLicense']));}(this,function(_0x190799,_0x5a8633,_0xecd3bb,_0x306b12,_0x51c935,_0x3b002d,_0x5103ff,_0x42edf7,_0x3fafbd,_0x102bc9,_0x2a124c){'use strict';var _0x27d9cd=_0x479e;var _0x3cb47d=Object[_0x27d9cd(0x3ab)],_0x17a276=(_0x49e137,_0x2ecb2c,_0x598a25)=>_0x2ecb2c in _0x49e137?_0x3cb47d(_0x49e137,_0x2ecb2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x598a25}):_0x49e137[_0x2ecb2c]=_0x598a25,_0x45ccb1=(_0x78b0e8,_0xb494fc,_0x16aac9)=>_0x17a276(_0x78b0e8,typeof _0xb494fc!=_0x27d9cd(0x190)?_0xb494fc+'':_0xb494fc,_0x16aac9);const _0x2607b1='/universer-api/snapshot',_0xa5b735='SNAPSHOT_URL_KEY',_0x4aed1f=_0x27d9cd(0x1a8),_0x4bf3a7=_0x27d9cd(0x3b5),_0x5b9780=_0x27d9cd(0x224),_0x251bae=_0x27d9cd(0x3ac),_0x2b73c1='RETRY_CONNECTING_MAX_COUNT',_0x35aad7=_0x27d9cd(0x2a7),_0x1b64ed=_0x27d9cd(0x437),_0x267162=_0x27d9cd(0x29a),_0x5d8d62=_0x27d9cd(0x175),_0x355e17=_0x27d9cd(0x153);var _0x1ddbd0=(_0x54164c=>(_0x54164c[_0x54164c[_0x27d9cd(0x38b)]=0x0]=_0x27d9cd(0x38b),_0x54164c[_0x54164c['OK']=0x1]='OK',_0x54164c[_0x54164c['INTERNAL_ERROR']=0x2]=_0x27d9cd(0x325),_0x54164c[_0x54164c[_0x27d9cd(0x25c)]=0x3]=_0x27d9cd(0x25c),_0x54164c[_0x54164c[_0x27d9cd(0x19b)]=0x4]='NOT_FOUND',_0x54164c[_0x54164c[_0x27d9cd(0x3ba)]=0x5]=_0x27d9cd(0x3ba),_0x54164c[_0x54164c[_0x27d9cd(0x30a)]=0x6]='ALREADY_EXISTS',_0x54164c[_0x54164c[_0x27d9cd(0x35d)]=0x7]=_0x27d9cd(0x35d),_0x54164c[_0x54164c[_0x27d9cd(0x35e)]=0x8]=_0x27d9cd(0x35e),_0x54164c[_0x54164c[_0x27d9cd(0x41f)]=0x9]=_0x27d9cd(0x41f),_0x54164c[_0x54164c[_0x27d9cd(0x415)]=0xa]='LOGIN_FAILED',_0x54164c[_0x54164c[_0x27d9cd(0x40a)]=0xb]=_0x27d9cd(0x40a),_0x54164c[_0x54164c['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x27d9cd(0x3e7),_0x54164c[_0x54164c[_0x27d9cd(0x490)]=0xd]=_0x27d9cd(0x490),_0x54164c[_0x54164c[_0x27d9cd(0x239)]=0xe]=_0x27d9cd(0x239),_0x54164c[_0x54164c[_0x27d9cd(0x2ed)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x54164c[_0x54164c[_0x27d9cd(0x215)]=0x10]=_0x27d9cd(0x215),_0x54164c[_0x54164c[_0x27d9cd(0x3b9)]=0x64]=_0x27d9cd(0x3b9),_0x54164c[_0x54164c['ERROR_AGAIN']=0x65]=_0x27d9cd(0x352),_0x54164c[_0x54164c[_0x27d9cd(0x171)]=0xc9]=_0x27d9cd(0x171),_0x54164c[_0x54164c[_0x27d9cd(0x25f)]=0xca]='USER_IS_ANONYMOUS',_0x54164c[_0x54164c[_0x27d9cd(0x287)]=0x1389]=_0x27d9cd(0x287),_0x54164c[_0x54164c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x27d9cd(0x493),_0x54164c[_0x54164c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x27d9cd(0x14a),_0x54164c[_0x54164c[_0x27d9cd(0x43c)]=0x1773]=_0x27d9cd(0x43c),_0x54164c[_0x54164c['APPLY_REJECT']=0x1b59]=_0x27d9cd(0x2da),_0x54164c[_0x54164c[_0x27d9cd(0x346)]=0x1b5a]=_0x27d9cd(0x346),_0x54164c[_0x54164c['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x54164c[_0x54164c[_0x27d9cd(0xfc)]=0x1b5c]=_0x27d9cd(0xfc),_0x54164c[_0x54164c[_0x27d9cd(0x3f3)]=0x1b5d]=_0x27d9cd(0x3f3),_0x54164c[_0x54164c[_0x27d9cd(0x1b2)]=0x1f41]=_0x27d9cd(0x1b2),_0x54164c[_0x54164c[_0x27d9cd(0x3fd)]=0x2329]=_0x27d9cd(0x3fd),_0x54164c[_0x54164c[_0x27d9cd(0x149)]=0x232a]=_0x27d9cd(0x149),_0x54164c[_0x54164c[_0x27d9cd(0x39a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x54164c[_0x54164c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x27d9cd(0x1a1),_0x54164c[_0x54164c[_0x27d9cd(0x260)]=0x232d]=_0x27d9cd(0x260),_0x54164c[_0x54164c[_0x27d9cd(0x282)]=0x2711]=_0x27d9cd(0x282),_0x54164c[_0x54164c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x27d9cd(0x361),_0x54164c[_0x54164c[_0x27d9cd(0x2b5)]=0x2713]=_0x27d9cd(0x2b5),_0x54164c[_0x54164c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x27d9cd(0x2f1),_0x54164c[_0x54164c[_0x27d9cd(0x15a)]=0x271a]=_0x27d9cd(0x15a),_0x54164c[_0x54164c[_0x27d9cd(0x31e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x54164c[_0x54164c[_0x27d9cd(0x350)]=0x271c]=_0x27d9cd(0x350),_0x54164c[_0x54164c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x27d9cd(0x474),_0x54164c[_0x54164c[_0x27d9cd(0x24b)]=0x271e]=_0x27d9cd(0x24b),_0x54164c[_0x54164c[_0x27d9cd(0x360)]=0x271f]=_0x27d9cd(0x360),_0x54164c[_0x54164c[_0x27d9cd(0x37d)]=0x2720]=_0x27d9cd(0x37d),_0x54164c[_0x54164c['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x27d9cd(0x1fa),_0x54164c[_0x54164c[_0x27d9cd(0x43b)]=0x2ee1]=_0x27d9cd(0x43b),_0x54164c[_0x54164c[_0x27d9cd(0x423)]=0x2ee2]=_0x27d9cd(0x423),_0x54164c[_0x54164c[_0x27d9cd(0x2cc)]=0x2ee3]=_0x27d9cd(0x2cc),_0x54164c[_0x54164c[_0x27d9cd(0x1b9)]=0x2ee4]=_0x27d9cd(0x1b9),_0x54164c[_0x54164c[_0x27d9cd(0x3a7)]=0x2ee5]=_0x27d9cd(0x3a7),_0x54164c[_0x54164c[_0x27d9cd(0x16a)]=0x32c9]=_0x27d9cd(0x16a),_0x54164c[_0x54164c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x27d9cd(0x1d1),_0x54164c[_0x54164c[_0x27d9cd(0x2ca)]=0x32cb]=_0x27d9cd(0x2ca),_0x54164c[_0x54164c[_0x27d9cd(0x45f)]=0x36b1]=_0x27d9cd(0x45f),_0x54164c[_0x54164c[_0x27d9cd(0x46e)]=0x36b2]=_0x27d9cd(0x46e),_0x54164c[_0x54164c['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x54164c[_0x54164c[_0x27d9cd(0x37c)]=0x36b4]=_0x27d9cd(0x37c),_0x54164c[_0x54164c['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x54164c[_0x54164c[_0x27d9cd(0x128)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x54164c[_0x54164c[_0x27d9cd(0x270)]=0x36b7]=_0x27d9cd(0x270),_0x54164c[_0x54164c['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x54164c[_0x54164c[_0x27d9cd(0x249)]=0x3715]=_0x27d9cd(0x249),_0x54164c[_0x54164c['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x27d9cd(0x294),_0x54164c[_0x54164c[_0x27d9cd(0x1e3)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x54164c[_0x54164c[_0x27d9cd(0x234)]=0x37dd]=_0x27d9cd(0x234),_0x54164c[_0x54164c[_0x27d9cd(0x335)]=0x3a99]=_0x27d9cd(0x335),_0x54164c[_0x54164c[_0x27d9cd(0x289)]=0x3a9a]=_0x27d9cd(0x289),_0x54164c[_0x54164c[_0x27d9cd(0x491)]=0x3a9b]=_0x27d9cd(0x491),_0x54164c[_0x54164c[_0x27d9cd(0x2a6)]=0x3a9c]=_0x27d9cd(0x2a6),_0x54164c[_0x54164c[_0x27d9cd(0x36d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x54164c[_0x54164c[_0x27d9cd(0x24a)]=0x3a9e]=_0x27d9cd(0x24a),_0x54164c[_0x54164c[_0x27d9cd(0x33e)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x54164c[_0x54164c[_0x27d9cd(0x112)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x54164c[_0x54164c['UNRECOGNIZED']=-0x1]=_0x27d9cd(0x1fd),_0x54164c))(_0x1ddbd0||{}),_0x3bdfff=(_0x45936a=>(_0x45936a[_0x45936a[_0x27d9cd(0x18b)]=0x0]=_0x27d9cd(0x18b),_0x45936a[_0x45936a[_0x27d9cd(0x374)]=0x1]=_0x27d9cd(0x374),_0x45936a[_0x45936a[_0x27d9cd(0x15b)]=0x2]=_0x27d9cd(0x15b),_0x45936a[_0x45936a['UNIVER_SLIDE']=0x3]=_0x27d9cd(0x466),_0x45936a[_0x45936a['UNIVER_PROJECT']=0x4]=_0x27d9cd(0x469),_0x45936a[_0x45936a[_0x27d9cd(0x1fd)]=-0x1]='UNRECOGNIZED',_0x45936a))(_0x3bdfff||{}),_0x5958c6=(_0x285a27=>(_0x285a27[_0x285a27[_0x27d9cd(0x2ff)]=0x0]=_0x27d9cd(0x2ff),_0x285a27[_0x285a27[_0x27d9cd(0x3c1)]=0x1]=_0x27d9cd(0x3c1),_0x285a27[_0x285a27['JOIN']=0x2]=_0x27d9cd(0x23e),_0x285a27[_0x285a27[_0x27d9cd(0x183)]=0x3]=_0x27d9cd(0x183),_0x285a27[_0x285a27[_0x27d9cd(0x2d7)]=0x4]='INGEST',_0x285a27[_0x285a27[_0x27d9cd(0x12b)]=0x5]=_0x27d9cd(0x12b),_0x285a27[_0x285a27[_0x27d9cd(0x152)]=0x6]=_0x27d9cd(0x152),_0x285a27[_0x285a27['UNRECOGNIZED']=-0x1]=_0x27d9cd(0x1fd),_0x285a27))(_0x5958c6||{}),_0x5a152d=(_0x12ebe8=>(_0x12ebe8[_0x12ebe8[_0x27d9cd(0x285)]=0x0]=_0x27d9cd(0x285),_0x12ebe8[_0x12ebe8['OK']=0x1]='OK',_0x12ebe8[_0x12ebe8[_0x27d9cd(0x37a)]=0x2]=_0x27d9cd(0x37a),_0x12ebe8[_0x12ebe8['JOIN_ROOM_FULL']=0x3e9]=_0x27d9cd(0x324),_0x12ebe8[_0x12ebe8['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x27d9cd(0x2c2),_0x12ebe8[_0x12ebe8[_0x27d9cd(0x3e0)]=0x3eb]=_0x27d9cd(0x3e0),_0x12ebe8[_0x12ebe8[_0x27d9cd(0x3a9)]=0x3ec]=_0x27d9cd(0x3a9),_0x12ebe8[_0x12ebe8[_0x27d9cd(0x1fd)]=-0x1]=_0x27d9cd(0x1fd),_0x12ebe8))(_0x5a152d||{}),_0x17e6be=(_0xc46f8b=>(_0xc46f8b[_0xc46f8b[_0x27d9cd(0x1df)]=0x0]=_0x27d9cd(0x1df),_0xc46f8b[_0xc46f8b['HttpImport']=0x1]=_0x27d9cd(0x338),_0xc46f8b[_0xc46f8b['HttpExport']=0x2]=_0x27d9cd(0x310),_0xc46f8b[_0xc46f8b[_0x27d9cd(0x43d)]=0x3]=_0x27d9cd(0x43d),_0xc46f8b[_0xc46f8b['UnitSnapshot']=0x4]=_0x27d9cd(0x1e4),_0xc46f8b[_0xc46f8b[_0x27d9cd(0x256)]=0x5]=_0x27d9cd(0x256),_0xc46f8b[_0xc46f8b[_0x27d9cd(0x214)]=0x6]=_0x27d9cd(0x214),_0xc46f8b[_0xc46f8b[_0x27d9cd(0x1fd)]=-0x1]=_0x27d9cd(0x1fd),_0xc46f8b))(_0x17e6be||{});const _0x3ca197=_0x27d9cd(0x206);function _0x53956a(_0xfc19ed){var _0x421d98=_0x27d9cd;return JSON[_0x421d98(0x38c)](_0xfc19ed)['length'];}var _0x1af2c4=(_0x526628=>(_0x526628[_0x27d9cd(0x431)]=_0x27d9cd(0x431),_0x526628[_0x27d9cd(0x25c)]=_0x27d9cd(0x25c),_0x526628[_0x27d9cd(0x302)]=_0x27d9cd(0x302),_0x526628[_0x27d9cd(0x286)]=_0x27d9cd(0x286),_0x526628[_0x27d9cd(0x445)]=_0x27d9cd(0x445),_0x526628[_0x27d9cd(0x2c4)]='SOCKET_FAILED_RETRY',_0x526628[_0x27d9cd(0x3fa)]='SOCKET_FAILED',_0x526628[_0x27d9cd(0x11d)]=_0x27d9cd(0x11d),_0x526628))(_0x1af2c4||{});class _0x560d80{constructor(){var _0x1a77b5=_0x27d9cd;_0x45ccb1(this,_0x1a77b5(0x26b),new _0x3b002d[(_0x1a77b5(0x26c))]()),_0x45ccb1(this,_0x1a77b5(0x14f),this[_0x1a77b5(0x26b)][_0x1a77b5(0x3d0)]());}[_0x27d9cd(0x2eb)](_0x1d9ef9){var _0x2dba73=_0x27d9cd;this[_0x2dba73(0x26b)]['next'](_0x1d9ef9);}}class _0x163fa3{constructor(){var _0x1dfc08=_0x27d9cd;_0x45ccb1(this,_0x1dfc08(0x478),new _0x3b002d[(_0x1dfc08(0x26c))]()),_0x45ccb1(this,_0x1dfc08(0x45a),this[_0x1dfc08(0x478)][_0x1dfc08(0x3d0)]());}[_0x27d9cd(0x313)](_0x2c173e){var _0x361a77=_0x27d9cd;this[_0x361a77(0x478)][_0x361a77(0x3f9)](_0x2c173e);}}var _0x2facc6=Object['getOwnPropertyDescriptor'],_0x9d15bc=(_0x24397d,_0x4a8c31,_0x53f146,_0x4eae26)=>{var _0x337add=_0x27d9cd;for(var _0x23ca6d=_0x4eae26>0x1?void 0x0:_0x4eae26?_0x2facc6(_0x4a8c31,_0x53f146):_0x4a8c31,_0x39e989=_0x24397d[_0x337add(0x3ea)]-0x1,_0x13aa3b;_0x39e989>=0x0;_0x39e989--)(_0x13aa3b=_0x24397d[_0x39e989])&&(_0x23ca6d=_0x13aa3b(_0x23ca6d)||_0x23ca6d);return _0x23ca6d;},_0x4330f9=(_0x165537,_0x52c850)=>(_0x222d34,_0x73658)=>_0x52c850(_0x222d34,_0x73658,_0x165537);_0x190799[_0x27d9cd(0x3cb)]=class extends _0xecd3bb[_0x27d9cd(0x1af)]{constructor(_0x14f383,_0x3df5a7){var _0x48ae0d=_0x27d9cd;super(),_0x45ccb1(this,_0x48ae0d(0x348),new Map()),_0x45ccb1(this,'_roomCreated$',new _0x3b002d[(_0x48ae0d(0x26c))]()),(this[_0x48ae0d(0x3c6)]=_0x14f383,this['_userManagerService']=_0x3df5a7,this[_0x48ae0d(0x17c)](_0x3b002d[_0x48ae0d(0x2a5)](this[_0x48ae0d(0x3c6)][_0x48ae0d(0x1f6)](_0xecd3bb[_0x48ae0d(0x444)][_0x48ae0d(0x15b)])[_0x48ae0d(0x15f)](_0x42edf7[_0x48ae0d(0x14b)](_0xe32fa7=>_0xe32fa7[_0x48ae0d(0x279)]())),this['_univerInstanceService'][_0x48ae0d(0x1f6)](_0xecd3bb[_0x48ae0d(0x444)][_0x48ae0d(0x374)])['pipe'](_0x42edf7[_0x48ae0d(0x14b)](_0x243c70=>_0x243c70['getUnitId']())),this[_0x48ae0d(0x3c6)][_0x48ae0d(0x1f6)](_0xecd3bb[_0x48ae0d(0x444)][_0x48ae0d(0x466)])[_0x48ae0d(0x15f)](_0x42edf7[_0x48ae0d(0x14b)](_0x133e6e=>_0x133e6e['getUnitId']())))[_0x48ae0d(0x316)](_0x372259=>this[_0x48ae0d(0x18d)](_0x372259))));}[_0x27d9cd(0x39d)](_0x1bd0f3){var _0x57c960=_0x27d9cd;return this[_0x57c960(0x348)][_0x57c960(0x1c8)](_0x1bd0f3)?_0x3b002d['of'](this['_roomMembers'][_0x57c960(0x15d)](_0x1bd0f3)):this[_0x57c960(0x21e)][_0x57c960(0x15f)](_0x42edf7[_0x57c960(0x14b)](_0x40c6e2=>{var _0x47dad9=_0x57c960;if(_0x40c6e2===_0x1bd0f3)return this[_0x47dad9(0x348)][_0x47dad9(0x15d)](_0x40c6e2);}));}[_0x27d9cd(0x115)](_0xcbe867){var _0x2e78e8=_0x27d9cd;this[_0x2e78e8(0x12e)]['setCurrentUser'](_0xcbe867);}[_0x27d9cd(0x259)](){var _0xe33585=_0x27d9cd;return this[_0xe33585(0x12e)][_0xe33585(0x259)]();}[_0x27d9cd(0x487)](_0x369414,_0x321b36){var _0x214919=_0x27d9cd;let _0x54a875=this['_roomMembers'][_0x214919(0x15d)](_0x369414);_0x54a875||(_0x54a875=new _0x20292d(),this[_0x214919(0x348)][_0x214919(0x2fa)](_0x369414,_0x54a875),this['_roomCreated$']['next'](_0x369414)),_0x54a875[_0x214919(0x487)](_0x321b36);}[_0x27d9cd(0x28e)](_0x134484,_0x5bda70){var _0x547279=_0x27d9cd;const _0x1ee55c=this[_0x547279(0x348)][_0x547279(0x15d)](_0x134484);_0x1ee55c&&_0x1ee55c[_0x547279(0x28e)](_0x5bda70);}[_0x27d9cd(0x2c7)](_0x2e198d){var _0x21ad98=_0x27d9cd;return this[_0x21ad98(0x348)][_0x21ad98(0x15d)](_0x2e198d);}['getMember'](_0x55087e,_0x43d132){var _0xf12dfc=_0x27d9cd;const _0x563691=this[_0xf12dfc(0x348)][_0xf12dfc(0x15d)](_0x55087e);if(_0x563691)return _0x563691['getMember'](_0x43d132);}[_0x27d9cd(0x18d)](_0x229be6){var _0x286e79=_0x27d9cd;const _0x349b49=this['_roomMembers'][_0x286e79(0x15d)](_0x229be6);_0x349b49&&(_0x349b49['dispose'](),this['_roomMembers']['delete'](_0x229be6));}[_0x27d9cd(0x380)](){var _0x45438c=_0x27d9cd;this[_0x45438c(0x348)]['forEach'](_0x55a42f=>_0x55a42f['dispose']()),this[_0x45438c(0x348)][_0x45438c(0x2aa)](),this['_roomCreated$'][_0x45438c(0x2e4)]();}},_0x190799[_0x27d9cd(0x3cb)]=_0x9d15bc([_0x4330f9(0x0,_0xecd3bb[_0x27d9cd(0x104)]),_0x4330f9(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['UserManagerService']))],_0x190799['MemberService']);class _0x20292d extends _0xecd3bb[_0x27d9cd(0x1af)]{constructor(){var _0x4e4bd1=_0x27d9cd;super(...arguments),_0x45ccb1(this,_0x4e4bd1(0x22c),new Map()),_0x45ccb1(this,'_members$',new _0x3b002d['BehaviorSubject'](this[_0x4e4bd1(0x22c)])),_0x45ccb1(this,_0x4e4bd1(0x37b),this['_members$']['asObservable']());}['dispose'](){var _0x98e2c6=_0x27d9cd;this['_members'][_0x98e2c6(0x2aa)]();}[_0x27d9cd(0x487)](_0x39aa3c){var _0x4b9de4=_0x27d9cd;this[_0x4b9de4(0x22c)][_0x4b9de4(0x2fa)](_0x39aa3c[_0x4b9de4(0x2c3)],_0x39aa3c),this[_0x4b9de4(0x1dc)]();}[_0x27d9cd(0x28e)](_0x2eb671){var _0x119ba7=_0x27d9cd;this[_0x119ba7(0x22c)][_0x119ba7(0x297)](_0x2eb671);}[_0x27d9cd(0x2ef)](_0x4eeebc){var _0x34e105=_0x27d9cd;return this[_0x34e105(0x22c)][_0x34e105(0x15d)](_0x4eeebc);}[_0x27d9cd(0x326)](){var _0x104a3a=_0x27d9cd;return Array['from'](this[_0x104a3a(0x22c)][_0x104a3a(0x210)]());}[_0x27d9cd(0x1dc)](){var _0x3ab8bb=_0x27d9cd;this[_0x3ab8bb(0x35f)][_0x3ab8bb(0x3f9)](this[_0x3ab8bb(0x22c)]);}}var _0x25963d=Object[_0x27d9cd(0x49e)],_0x382202=(_0x24e292,_0x25c882,_0x857c6,_0x35b8b9)=>{var _0x1351a8=_0x27d9cd;for(var _0x804b60=_0x35b8b9>0x1?void 0x0:_0x35b8b9?_0x25963d(_0x25c882,_0x857c6):_0x25c882,_0x5d3f9d=_0x24e292[_0x1351a8(0x3ea)]-0x1,_0x3d21d8;_0x5d3f9d>=0x0;_0x5d3f9d--)(_0x3d21d8=_0x24e292[_0x5d3f9d])&&(_0x804b60=_0x3d21d8(_0x804b60)||_0x804b60);return _0x804b60;},_0x2544f4=(_0x183336,_0x2ca749)=>(_0x398a54,_0x2afeea)=>_0x2ca749(_0x398a54,_0x2afeea,_0x183336),_0xe17649=(_0x50f929=>(_0x50f929[_0x50f929['IDLE']=0x0]='IDLE',_0x50f929[_0x50f929[_0x27d9cd(0x36b)]=0x1]=_0x27d9cd(0x36b),_0x50f929[_0x50f929[_0x27d9cd(0x47c)]=0x2]=_0x27d9cd(0x47c),_0x50f929[_0x50f929[_0x27d9cd(0x318)]=0x3]=_0x27d9cd(0x318),_0x50f929))(_0xe17649||{});const _0x3c7dfc={[_0x5a152d[_0x27d9cd(0x37a)]]:_0x27d9cd(0x3c0),[_0x5a152d[_0x27d9cd(0x324)]]:'session.room-full',[_0x5a152d[_0x27d9cd(0x2c2)]]:_0x27d9cd(0x280),[_0x5a152d['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[_0x5a152d[_0x27d9cd(0x3a9)]]:_0x27d9cd(0xfa)};_0x190799[_0x27d9cd(0x1a3)]=class extends _0xecd3bb[_0x27d9cd(0x1e0)]{constructor(_0x1d7744,_0x1de727,_0x1afd29,_0x3a1113,_0x44667c,_0x8cd732,_0x2bf694,_0xeda4c5){var _0xd7277b=_0x27d9cd;super(),_0x45ccb1(this,_0xd7277b(0x47f),new _0x3b002d[(_0xd7277b(0x131))](0x0)),_0x45ccb1(this,_0xd7277b(0x2a8),this['_sessionStatus$']['asObservable']()),_0x45ccb1(this,'_event$',new _0x3b002d[(_0xd7277b(0x26c))]()),_0x45ccb1(this,'event$',this['_event$'][_0xd7277b(0x3d0)]()),_0x45ccb1(this,'_socket'),_0x45ccb1(this,_0xd7277b(0x41b)),_0x45ccb1(this,_0xd7277b(0x419)),_0x45ccb1(this,_0xd7277b(0x31f),!0x1),_0x45ccb1(this,_0xd7277b(0x403),null),(this['_unitID']=_0x1d7744,this['_logService']=_0x1afd29,this['_configService']=_0x3a1113,this[_0xd7277b(0x1d0)]=_0x44667c,this[_0xd7277b(0x3a0)]=_0x8cd732,this['_collaborationUIEventService']=_0x2bf694,this[_0xd7277b(0x43f)]=_0xeda4c5,this[_0xd7277b(0x31f)]=!!this[_0xd7277b(0x43f)],_0x1de727[_0xd7277b(0x15f)](_0x3b002d[_0xd7277b(0x106)](this[_0xd7277b(0x27f)]))['subscribe'](_0x2b7198=>{var _0x181f69=_0xd7277b,_0x6f4097;typeof _0x2b7198>'u'||(this[_0x181f69(0x35a)]=_0x2b7198,_0x2b7198?(this[_0x181f69(0x230)](_0x2b7198),this['_socketMessageSubscription']=_0x2b7198[_0x181f69(0x2f3)][_0x181f69(0x316)](_0x571ec7=>{var _0x1810be=_0x181f69;_0x571ec7[_0x1810be(0x18a)]===this[_0x1810be(0x427)]&&this['_onCombEvent'](_0x571ec7);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x181f69(0x47f)]['next'](0x2),(_0x6f4097=this[_0x181f69(0x41b)])==null||_0x6f4097['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x27d9cd(0x30c)](){var _0xe691b7=_0x27d9cd;return this[_0xe691b7(0x47f)][_0xe691b7(0x429)]();}['getMemberID'](){var _0x3afda8=_0x27d9cd,_0x1e43f6,_0x48c4af;return(_0x48c4af=(_0x1e43f6=this[_0x3afda8(0x35a)])==null?void 0x0:_0x1e43f6['memberID'])!=null?_0x48c4af:null;}['dispose'](){var _0x11de7f=_0x27d9cd;super[_0x11de7f(0x380)](),this[_0x11de7f(0x27f)][_0x11de7f(0x3f9)](),this[_0x11de7f(0x27f)]['complete']();}[_0x27d9cd(0x1b3)](){var _0x4ad5e4=_0x27d9cd,_0x31361f,_0x202375;this['_throwTelemetryCollaborationNewChangeset'](),(_0x31361f=this[_0x4ad5e4(0x35a)])==null||_0x31361f[_0x4ad5e4(0x119)]({'cmd':_0x5958c6[_0x4ad5e4(0x183)],'data':{'roomID':this[_0x4ad5e4(0x427)]}}),(_0x202375=this[_0x4ad5e4(0x35a)])==null||_0x202375[_0x4ad5e4(0x1b3)](),this[_0x4ad5e4(0x26b)]['complete'](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0x27d9cd(0x10b)](_0x574aec){var _0x31c398=_0x27d9cd;_0x574aec[_0x31c398(0x1e1)]===_0x5958c6[_0x31c398(0x23e)]?this[_0x31c398(0x492)](_0x574aec):_0x574aec[_0x31c398(0x1e1)]===_0x5958c6['RECV']&&this['_onRecvEvent'](_0x574aec);}[_0x27d9cd(0x230)](_0x48d3ea){var _0xedfd6f=_0x27d9cd;this[_0xedfd6f(0x47f)][_0xedfd6f(0x3f9)](0x1),_0x48d3ea[_0xedfd6f(0x119)]({'cmd':_0x5958c6[_0xedfd6f(0x23e)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xedfd6f(0x427)]}]}});}[_0x27d9cd(0x492)](_0x29f6e7){var _0x289f85=_0x27d9cd,_0x43f207;if(_0x29f6e7[_0x289f85(0x1ba)]in _0x3c7dfc){this[_0x289f85(0x2de)]['emitEvent']({'id':_0x1af2c4[_0x289f85(0x445)],'data':_0x3c7dfc[_0x29f6e7[_0x289f85(0x1ba)]]}),this[_0x289f85(0x47f)][_0x289f85(0x3f9)](0x2);return;}this[_0x289f85(0x47f)][_0x289f85(0x3f9)](0x3);const _0x35f3b5=(_0x43f207=_0x29f6e7[_0x289f85(0x23d)][_0x289f85(0x477)][this['_unitID']])==null?void 0x0:_0x43f207['members'];_0x35f3b5&&_0x35f3b5[_0x289f85(0x266)](_0x3fd0a7=>this[_0x289f85(0x1d0)][_0x289f85(0x487)](this[_0x289f85(0x427)],_0x3fd0a7));}['_onRecvEvent'](_0x37c41b){var _0x53ce56=_0x27d9cd;try{const _0x1d4236=_0x37c41b['data'];switch(_0x1d4236[_0x53ce56(0x2e3)]){case _0x5a8633[_0x53ce56(0x1ca)][_0x53ce56(0x174)]:this[_0x53ce56(0x2b8)](_0x1d4236),this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);break;case _0x5a8633[_0x53ce56(0x1ca)][_0x53ce56(0x36f)]:this['_onUserLeave'](_0x1d4236),this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);break;case _0x5a8633['CollaborationEvent'][_0x53ce56(0x2b0)]:case _0x5a8633[_0x53ce56(0x1ca)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x53ce56(0x317)](),this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);break;case _0x5a8633[_0x53ce56(0x1ca)][_0x53ce56(0x331)]:this['_logService'][_0x53ce56(0x25e)](_0x53ce56(0x34c)+JSON[_0x53ce56(0x38c)](_0x1d4236)),this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);break;case _0x5a8633['CollaborationEvent']['COMMENT_UPDATE']:this[_0x53ce56(0x3a0)][_0x53ce56(0x313)](_0x1d4236['data']),this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);break;default:this[_0x53ce56(0x26b)][_0x53ce56(0x3f9)](_0x1d4236);}}catch(_0x6d45aa){this[_0x53ce56(0x200)][_0x53ce56(0x25e)](_0x6d45aa,_0x37c41b);}}[_0x27d9cd(0x2b8)](_0x24bfdd){var _0x331b40=_0x27d9cd;this[_0x331b40(0x1d0)]['updateMember'](this[_0x331b40(0x427)],_0x24bfdd[_0x331b40(0x23d)]);}['_onUserLeave'](_0x5acdb4){var _0xaecdac=_0x27d9cd;this['_memberService'][_0xaecdac(0x28e)](this['_unitID'],_0x5acdb4[_0xaecdac(0x23d)][_0xaecdac(0x2c3)]);}async[_0x27d9cd(0x119)](_0x26d4c8,_0x5d696c){var _0x1af19a=_0x27d9cd;if(this[_0x1af19a(0x30c)]!==0x3||!this[_0x1af19a(0x35a)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x26d4c8[_0x1af19a(0x2e3)]===_0x5a8633[_0x1af19a(0x1ca)][_0x1af19a(0x3cd)]&&(this[_0x1af19a(0xfd)](),this[_0x1af19a(0x340)](_0x26d4c8)),this[_0x1af19a(0x35a)]['send']({'cmd':_0x5958c6['INGEST'],'routeKey':_0x5d696c,'routeType':'','data':_0x26d4c8});}catch(_0x1851d9){this[_0x1af19a(0x200)][_0x1af19a(0x25e)](_0x1851d9);}}['_scheduleCollaborationTimeoutTimer'](){var _0xece3ab=_0x27d9cd,_0x3fcb1c;this[_0xece3ab(0x419)]=setTimeout(()=>{var _0x50d641=_0xece3ab;this[_0x50d641(0x419)]=null,this[_0x50d641(0x2de)][_0x50d641(0x2eb)]({'id':_0x1af2c4[_0x50d641(0x11d)]});},(_0x3fcb1c=this[_0xece3ab(0x435)][_0xece3ab(0x36e)](_0x251bae))!=null?_0x3fcb1c:0x4e20);}[_0x27d9cd(0x317)](){var _0x1eea44=_0x27d9cd;this[_0x1eea44(0x419)]&&(clearTimeout(this[_0x1eea44(0x419)]),this[_0x1eea44(0x419)]=null);}[_0x27d9cd(0x340)](_0x67be35){var _0x39628b=_0x27d9cd;if(!this['_shouldReportTelemetry'])return;const {data:_0x2a38c8}=_0x67be35,{unitID:_0x536daa,changeset:_0x1cb383}=_0x2a38c8,{mutations:_0x57eac1,type:_0x31a38d}=_0x1cb383;this[_0x39628b(0x403)]={'unitId':_0x536daa,'type':_0x31a38d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x53956a(_0x57eac1)};}[_0x27d9cd(0x27b)](){var _0x2a644d=_0x27d9cd;if(this[_0x2a644d(0x31f)]){if(!this[_0x2a644d(0x403)]){this[_0x2a644d(0x200)]['error']('[CollaborationSession]',_0x2a644d(0x14d));return;}this['_telemetryInfo']['stopTime']=performance['now'](),this[_0x2a644d(0x403)]['duration']=this[_0x2a644d(0x403)][_0x2a644d(0x177)]-this[_0x2a644d(0x403)]['startTime'],this[_0x2a644d(0x43f)][_0x2a644d(0x138)](_0x3ca197,this[_0x2a644d(0x403)]),this[_0x2a644d(0x403)]=null;}}[_0x27d9cd(0x2a0)](){var _0x133fa0=_0x27d9cd;this[_0x133fa0(0x403)]=null;}},_0x190799[_0x27d9cd(0x1a3)]=_0x382202([_0x2544f4(0x2,_0xecd3bb[_0x27d9cd(0x30e)]),_0x2544f4(0x3,_0xecd3bb[_0x27d9cd(0x34d)]),_0x2544f4(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x190799[_0x27d9cd(0x3cb)])),_0x2544f4(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0x163fa3)),_0x2544f4(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x2544f4(0x7,_0xecd3bb['Optional'](_0x5103ff[_0x27d9cd(0x32b)]))],_0x190799['CollaborationSession']);const _0x521485=_0xecd3bb[_0x27d9cd(0x2f6)]('collaboration-client.local-cache-service');function _0x2679aa(_0x62a1b3){var _0x5ad301=_0x27d9cd;return _0x5ad301(0x2d0)+_0x62a1b3;}var _0x124155=Object[_0x27d9cd(0x49e)],_0x62af0=(_0x40acbf,_0x11fe56,_0x474032,_0x351cfa)=>{var _0x409f62=_0x27d9cd;for(var _0x148ac0=_0x351cfa>0x1?void 0x0:_0x351cfa?_0x124155(_0x11fe56,_0x474032):_0x11fe56,_0x429034=_0x40acbf[_0x409f62(0x3ea)]-0x1,_0x266de2;_0x429034>=0x0;_0x429034--)(_0x266de2=_0x40acbf[_0x429034])&&(_0x148ac0=_0x266de2(_0x148ac0)||_0x148ac0);return _0x148ac0;},_0x11fb07=(_0x250a83,_0x387cc4)=>(_0x3c57a5,_0x21ce4e)=>_0x387cc4(_0x3c57a5,_0x21ce4e,_0x250a83);function _0x41e26d(_0x280344){var _0x223b18=_0x27d9cd;const {unitID:_0x29d9cc,mutations:_0x481b99}=_0x280344;return{'unitId':_0x29d9cc,'subUnitId':_0x481b99[_0x223b18(0x3ea)]>0x0?_0x481b99[0x0][_0x223b18(0x300)][_0x223b18(0x384)]:null};}_0x190799[_0x27d9cd(0x298)]=class{constructor(_0x41ace0,_0x2a4a25,_0x87fc11){var _0x3ccfa2=_0x27d9cd;this[_0x3ccfa2(0x3d5)]=_0x41ace0,this[_0x3ccfa2(0x2f2)]=_0x2a4a25,this['_instanceService']=_0x87fc11;}[_0x27d9cd(0x22a)](_0x2a335b){var _0x2ad1e4=_0x27d9cd,_0x4bd0dc,_0x26c558,_0x1f9053,_0x3317b2;const _0x15a207=this[_0x2ad1e4(0x3d5)][_0x2ad1e4(0x15d)](_0x51c935[_0x2ad1e4(0x2fd)]),{unitId:_0x5b367f,subUnitId:_0x28e7e2}=_0x41e26d(_0x2a335b),_0x4d0a57=_0x15a207==null?void 0x0:_0x15a207[_0x2ad1e4(0x3f6)](_0x5b367f)[_0x2ad1e4(0x159)](),_0x57ba14=(_0x26c558=(_0x4bd0dc=this[_0x2ad1e4(0x397)][_0x2ad1e4(0x251)](_0x5b367f))==null?void 0x0:_0x4bd0dc[_0x2ad1e4(0x17e)]())==null?void 0x0:_0x26c558[_0x2ad1e4(0x391)]();if(_0x4d0a57[_0x2ad1e4(0x3ea)]===0x0||!_0x5b367f||!_0x28e7e2)return;const _0x32c4e9=[{'id':_0x51c935[_0x2ad1e4(0x3d1)]['id'],'params':{'unitId':_0x5b367f,'subUnitId':_0x57ba14,'selections':_0xecd3bb[_0x2ad1e4(0x2b2)][_0x2ad1e4(0x1c5)](_0x4d0a57)}}],_0x455e4b=this[_0x2ad1e4(0x2f2)][_0x2ad1e4(0x48a)](_0x2a335b,_0x32c4e9);if(!_0x5a8633[_0x2ad1e4(0x396)](_0x455e4b))throw _0x455e4b[_0x2ad1e4(0x25e)];const _0x195fb4=(_0x3317b2=(_0x1f9053=_0x455e4b['m2Prime'][0x0])==null?void 0x0:_0x1f9053[_0x2ad1e4(0x300)])==null?void 0x0:_0x3317b2[_0x2ad1e4(0x277)];if(Array[_0x2ad1e4(0x1f9)](_0x195fb4)&&_0x195fb4[_0x2ad1e4(0x3ea)]){if(_0x195fb4[_0x2ad1e4(0x3ea)]===_0x32c4e9[0x0]['params'][_0x2ad1e4(0x277)][_0x2ad1e4(0x3ea)]&&_0x195fb4[_0x2ad1e4(0x139)]((_0x294a88,_0x3d7c9e)=>_0xecd3bb[_0x2ad1e4(0x347)]['equals'](_0x294a88['range'],_0x32c4e9[0x0][_0x2ad1e4(0x300)][_0x2ad1e4(0x277)][_0x3d7c9e][_0x2ad1e4(0x102)])))return;this[_0x2ad1e4(0x3d5)][_0x2ad1e4(0x15d)](_0xecd3bb[_0x2ad1e4(0x48d)])[_0x2ad1e4(0x25d)](_0x51c935[_0x2ad1e4(0x3d1)]['id'],{'unitId':_0x5b367f,'subUnitId':_0x57ba14,'selections':_0x195fb4});}}},_0x190799['SheetTransformSelectionsService']=_0x62af0([_0x11fb07(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['Injector'])),_0x11fb07(0x1,_0x5a8633[_0x27d9cd(0x2af)]),_0x11fb07(0x2,_0xecd3bb[_0x27d9cd(0x104)])],_0x190799[_0x27d9cd(0x298)]);const _0x4a5240=_0xecd3bb[_0x27d9cd(0x2f6)](_0x27d9cd(0x339));var _0x502878=(_0x4a8a82=>(_0x4a8a82[_0x4a8a82[_0x27d9cd(0x39c)]=0x0]=_0x27d9cd(0x39c),_0x4a8a82[_0x4a8a82[_0x27d9cd(0x2e1)]=0x1]=_0x27d9cd(0x2e1),_0x4a8a82))(_0x502878||{});const _0xa270ad='collaboration-client.config',_0x2a19ca={};function _0x99712d(_0x4b75a5){var _0x4395f1=_0x27d9cd,_0x125baf;return!!((_0x125baf=_0x4b75a5[_0x4395f1(0x300)])!=null&&_0x125baf[_0x4395f1(0x449)]);}const _0x54fc96=new Set([_0x51c935[_0x27d9cd(0x2d1)]['id']]);function _0x16565d(_0x500b0c,_0x37a1c8,_0x2b804a,_0x3cd361,_0x22c4ed){var _0x4c04db=_0x27d9cd,_0x26060f,_0x5ab133,_0x3b7707,_0x4db0f3;const _0x4405d9=[];for(const _0x42e62a of _0x500b0c){if(_0x54fc96['has'](_0x42e62a['id'])){if(_0x4405d9['length']>0x0)break;_0x4405d9['push'](_0x42e62a);break;}if(_0x99712d(_0x42e62a)){if(_0x4405d9['length']>0x0)break;_0x4405d9['push'](_0x42e62a);break;}_0x4405d9[_0x4c04db(0x484)](_0x42e62a);}const _0xbd8aa1=(_0x5ab133=(_0x26060f=_0x22c4ed['getCurrentUser']())==null?void 0x0:_0x26060f[_0x4c04db(0x1e9)])!=null?_0x5ab133:'unknown',_0xad0265=(_0x4db0f3=(_0x3b7707=_0x22c4ed['getCurrentUser']())==null?void 0x0:_0x3b7707[_0x4c04db(0x2c3)])!=null?_0x4db0f3:'unknown';return{'changeset':{'unitID':_0x37a1c8,'type':_0x5a8633[_0x4c04db(0x1b7)](_0x2b804a[_0x4c04db(0x2d9)](_0x37a1c8)),'baseRev':_0x3cd361[_0x4c04db(0x2e2)](_0x37a1c8),'revision':0x0,'userID':_0xbd8aa1,'memberID':_0xad0265,'mutations':_0x4405d9},'pendingMutations':_0x500b0c['slice'](_0x4405d9[_0x4c04db(0x3ea)])};}function _0x287691(_0x18df05,_0x3ce1ba,_0x53ffe2,_0x3255e,_0x29b7a0){var _0x24a11d=_0x27d9cd,_0x1d3d44,_0x45266b,_0x482ca7,_0x24b65a;const _0xa49abb=[_0x18df05[_0x24a11d(0x33c)]((_0x51382c,_0x304d6a)=>{var _0x3591c2=_0x24a11d,_0x100fe7;const {id:_0x3eacf4}=_0x51382c,{id:_0xb12b2a,type:_0x265c03}=_0x304d6a,_0x284e16=(_0x100fe7=_0x51382c[_0x3591c2(0x300)])!=null?_0x100fe7:{'actions':null},_0x38dc70=_0x304d6a[_0x3591c2(0x300)];if(_0x3eacf4&&_0x3eacf4!==_0xb12b2a)throw new Error(_0x3591c2(0x392)+_0x3eacf4+_0x3591c2(0x315)+_0xb12b2a+'.');return{..._0x51382c,'id':_0xb12b2a,'type':_0x265c03,'params':{'unitId':_0x38dc70['unitId'],'textRanges':_0x38dc70[_0x3591c2(0x421)],'actions':_0xecd3bb[_0x3591c2(0x342)][_0x3591c2(0x1c9)](_0x284e16['actions'],_0x38dc70[_0x3591c2(0x2bd)])}};},{})],_0x26ef62=(_0x45266b=(_0x1d3d44=_0x29b7a0['getCurrentUser']())==null?void 0x0:_0x1d3d44[_0x24a11d(0x1e9)])!=null?_0x45266b:_0x24a11d(0x26d),_0x4dace3=(_0x24b65a=(_0x482ca7=_0x29b7a0['getCurrentUser']())==null?void 0x0:_0x482ca7[_0x24a11d(0x2c3)])!=null?_0x24b65a:_0x24a11d(0x26d);return{'changeset':{'unitID':_0x3ce1ba,'type':_0x5a8633[_0x24a11d(0x1b7)](_0x53ffe2['getUnitType'](_0x3ce1ba)),'baseRev':_0x3255e[_0x24a11d(0x2e2)](_0x3ce1ba),'revision':0x0,'userID':_0x26ef62,'memberID':_0x4dace3,'mutations':_0xa49abb},'pendingMutations':[]};}function _0x23da11(_0xd59987,_0x3bb9fd){var _0x26d9fe=_0x27d9cd;const _0x478f85=new _0x3b002d[(_0x26d9fe(0x238))](0x1);return setTimeout(()=>_0x478f85[_0x26d9fe(0x3f9)](_0x3bb9fd),_0xd59987),_0x478f85[_0x26d9fe(0x3d0)]()['pipe'](_0x3b002d['take'](0x1));}var _0x5495d9=Object['getOwnPropertyDescriptor'],_0x4767ae=(_0x499934,_0x4ef0d0,_0x1944b5,_0xb2479e)=>{var _0x129a6e=_0x27d9cd;for(var _0x53f120=_0xb2479e>0x1?void 0x0:_0xb2479e?_0x5495d9(_0x4ef0d0,_0x1944b5):_0x4ef0d0,_0x2b9d24=_0x499934[_0x129a6e(0x3ea)]-0x1,_0x3de3fa;_0x2b9d24>=0x0;_0x2b9d24--)(_0x3de3fa=_0x499934[_0x2b9d24])&&(_0x53f120=_0x3de3fa(_0x53f120)||_0x53f120);return _0x53f120;},_0x27af08=(_0x4aab78,_0x69f02a)=>(_0x46e6bf,_0x3fc743)=>_0x69f02a(_0x46e6bf,_0x3fc743,_0x4aab78),_0x5d612c=(_0x34e78e=>(_0x34e78e[_0x27d9cd(0x32c)]=_0x27d9cd(0x336),_0x34e78e['SYNCED']=_0x27d9cd(0x41a),_0x34e78e[_0x27d9cd(0x44c)]=_0x27d9cd(0x1f7),_0x34e78e[_0x27d9cd(0x47e)]='awaiting',_0x34e78e[_0x27d9cd(0x482)]='awaiting_with_pending',_0x34e78e[_0x27d9cd(0x130)]=_0x27d9cd(0x44a),_0x34e78e['CONFLICT']=_0x27d9cd(0x3f2),_0x34e78e[_0x27d9cd(0x47c)]=_0x27d9cd(0x488),_0x34e78e))(_0x5d612c||{});const _0x2a0dcc=0x4e20,_0xdb260c=0x2bf20;class _0x3bb8e0{constructor(_0x100766,_0x30c164,_0x41c635,_0x1c51e2,_0x2b68b4,_0x438b85,_0x27ea68,_0x6bcf59,_0x2226ec){var _0x50062c=_0x27d9cd;_0x45ccb1(this,_0x50062c(0x2fc),null),_0x45ccb1(this,_0x50062c(0x1cf),[]),(this[_0x50062c(0x114)]=_0x100766,this[_0x50062c(0x430)]=_0x30c164,this[_0x50062c(0x127)]=_0x2b68b4,this['_commandService']=_0x438b85,this[_0x50062c(0x410)]=_0x27ea68,this['_revisionService']=_0x6bcf59,this[_0x50062c(0x22d)]=_0x2226ec,this[_0x50062c(0x2fc)]=_0x41c635,this['_pendingMutations']=_0x1c51e2);}[_0x27d9cd(0x479)](_0x343c06){var _0x29b9c9=_0x27d9cd;const _0xe7167f=this[_0x29b9c9(0x184)][_0x29b9c9(0x2e2)](this['unitID']);return _0x343c06[_0x29b9c9(0x2a4)]>_0xe7167f+0x1?(this[_0x29b9c9(0x127)][_0x29b9c9(0x19d)]({'from':_0xe7167f,'to':_0x343c06[_0x29b9c9(0x2a4)]-0x1}),!0x0):!0x1;}[_0x27d9cd(0x11c)](_0x2438ef){var _0x34ff35=_0x27d9cd;this[_0x34ff35(0x410)][_0x34ff35(0x28a)](this[_0x34ff35(0x114)],_0x2438ef);}[_0x27d9cd(0x27a)](_0x151ef1){var _0x31cd9f=_0x27d9cd,_0x35f24a,_0x32faca;(_0x32faca=(_0x35f24a=this[_0x31cd9f(0x127)])[_0x31cd9f(0x334)])==null||_0x32faca[_0x31cd9f(0x281)](_0x35f24a,_0x151ef1);}[_0x27d9cd(0x208)](_0x71ba19){var _0x53ce6d=_0x27d9cd,_0x317c02,_0x57fc3b;return(_0x57fc3b=(_0x317c02=this['_handler'])[_0x53ce6d(0x191)])==null?void 0x0:_0x57fc3b[_0x53ce6d(0x281)](_0x317c02,_0x71ba19);}[_0x27d9cd(0x118)](_0x320fe2){var _0x429bf8=_0x27d9cd,_0x1ff397,_0x443d8f;return(_0x443d8f=(_0x1ff397=this['_handler'])['onTransformState'])==null?void 0x0:_0x443d8f[_0x429bf8(0x281)](_0x1ff397,_0x320fe2);}[_0x27d9cd(0x349)](_0x572c47){var _0xa4c024=_0x27d9cd,_0x6351e3,_0x11d068,_0x2c55c5;return(_0x2c55c5=(_0x11d068=(_0x6351e3=this[_0xa4c024(0x127)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x11d068[_0xa4c024(0x281)](_0x6351e3,_0x572c47))!=null?_0x2c55c5:_0x572c47;}[_0x27d9cd(0x110)](_0x2ff086){var _0xfec4ac=_0x27d9cd,_0x110f1c,_0x1236b6,_0x1d9321;return(_0x1d9321=(_0x1236b6=(_0x110f1c=this[_0xfec4ac(0x127)])[_0xfec4ac(0x42b)])==null?void 0x0:_0x1236b6[_0xfec4ac(0x281)](_0x110f1c,_0x2ff086))!=null?_0x1d9321:_0x2ff086;}['_syncEditingCollabCursor'](_0xc7198b){var _0x225e8c=_0x27d9cd,_0x5bda9a,_0x4d469b;if(this['type']===_0x3bdfff[_0x225e8c(0x374)]){const {unitID:_0x30c45d,mutations:_0x5f43bd,memberID:_0x1e85f8}=_0xc7198b,_0x4d6c0b=_0x5f43bd[_0x225e8c(0x3ea)]>0x0?_0x5f43bd[0x0][_0x225e8c(0x300)][_0x225e8c(0x421)]:[];Array[_0x225e8c(0x1f9)](_0x4d6c0b)&&_0x4d6c0b[_0x225e8c(0x3ea)]>0x0&&((_0x4d469b=(_0x5bda9a=this[_0x225e8c(0x127)])[_0x225e8c(0x3f8)])==null||_0x4d469b[_0x225e8c(0x281)](_0x5bda9a,{'unitID':_0x30c45d,'memberID':_0x1e85f8,'textRanges':_0x4d6c0b}));}}[_0x27d9cd(0x220)](){var _0x17e9a6=_0x27d9cd,_0x13b49b;(_0x13b49b=this[_0x17e9a6(0x22d)])==null||_0x13b49b[_0x17e9a6(0x1db)](this[_0x17e9a6(0x114)],this[_0x17e9a6(0x430)],this[_0x17e9a6(0x2fc)],this[_0x17e9a6(0x1cf)]);}[_0x27d9cd(0x217)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}[_0x27d9cd(0x1ea)](){var _0x78c49a=_0x27d9cd;this[_0x78c49a(0x184)][_0x78c49a(0x41c)](this['unitID']);}[_0x27d9cd(0x204)](_0x16e104){var _0x59b6e1=_0x27d9cd,_0xebdc5e;let _0x1911a2=this[_0x59b6e1(0x349)](_0x16e104);_0x1911a2=this['_transformRemoteChangesetByStateCache'](_0x1911a2);const _0x21f290=_0xecd3bb[_0x59b6e1(0x1be)](_0x1911a2['mutations'],this[_0x59b6e1(0x267)],{'fromCollab':!0x0});if(!_0x21f290[_0x59b6e1(0x2b9)])throw _0x21f290[_0x59b6e1(0x25e)]instanceof Error?_0x21f290['error']:new Error((_0xebdc5e=_0x21f290[_0x59b6e1(0x25e)])!=null?_0xebdc5e:_0x59b6e1(0x366));this[_0x59b6e1(0x208)](_0x1911a2),this['_transformStateCache'](_0x1911a2),this[_0x59b6e1(0x11c)](_0x16e104),this[_0x59b6e1(0x27a)](_0x1911a2),this['_syncEditingCollabCursor'](_0x1911a2),this[_0x59b6e1(0x1ea)]();}}_0x190799[_0x27d9cd(0x485)]=class extends _0x3bb8e0{constructor(_0x3baf06,_0xe4361c,_0x4cf982,_0x17e29c,_0x4edf1b,_0x204c7d,_0x22bbe4,_0x88860d,_0x5d658a,_0x2e1ffd){var _0x116290=_0x27d9cd;super(_0x3baf06,_0xe4361c,null,[],_0x4cf982,_0x22bbe4,_0x204c7d,_0x17e29c,_0x2e1ffd),_0x45ccb1(this,_0x116290(0x1c1),'synced'),(this[_0x116290(0x3d5)]=_0x4edf1b,this[_0x116290(0x200)]=_0x88860d,this[_0x116290(0x2f2)]=_0x5d658a,this['localCacheService']=_0x2e1ffd);}[_0x27d9cd(0x433)](_0x23c468){var _0x372561=_0x27d9cd;const _0x475602=this[_0x372561(0x3d5)][_0x372561(0x264)](_0x190799['PendingState'],this[_0x372561(0x114)],this[_0x372561(0x430)],[_0x23c468],this[_0x372561(0x127)]);return _0x475602['_schedule'](),_0x475602['_updateLocalCache'](),_0x475602;}['onRemoteChangeset'](_0x31a4f3){var _0x1eb8a7=_0x27d9cd;if(this[_0x1eb8a7(0x479)](_0x31a4f3))return this[_0x1eb8a7(0x3d5)][_0x1eb8a7(0x264)](_0x190799['FetchingMissState'],this['unitID'],this['type'],null,[],null,[_0x31a4f3],this[_0x1eb8a7(0x127)]);try{const _0x18fc3e=this[_0x1eb8a7(0x2f2)][_0x1eb8a7(0x48a)](_0x31a4f3,[_0x5a8633[_0x1eb8a7(0x1c3)]]);if(_0x5a8633['isTransformMutationsWithChangesetSuccess'](_0x18fc3e)){const {c1Prime:_0x37e1dc}=_0x18fc3e;return this[_0x1eb8a7(0x204)](_0x37e1dc),this;}throw _0x18fc3e[_0x1eb8a7(0x25e)];}catch(_0x52b794){return this[_0x1eb8a7(0x200)][_0x1eb8a7(0x25e)](_0x52b794),this['_onConflict'](!0x1);}}[_0x27d9cd(0x426)](_0x58997b){var _0x180952=_0x27d9cd;return this[_0x180952(0x3d5)][_0x180952(0x264)](_0x190799[_0x180952(0x2dd)],this[_0x180952(0x114)],this[_0x180952(0x430)],null,[],this[_0x180952(0x127)],_0x58997b);}['onRemoteAck'](){var _0xd94a1=_0x27d9cd;throw new Error(_0xd94a1(0x36a));}[_0x27d9cd(0x296)](){var _0x13a95e=_0x27d9cd;throw new Error(_0x13a95e(0x14e));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x144dc9=_0x27d9cd;return this[_0x144dc9(0x3d5)][_0x144dc9(0x264)](_0x190799[_0x144dc9(0x48b)],this[_0x144dc9(0x114)],this[_0x144dc9(0x430)],null,[],this[_0x144dc9(0x127)]);}['toggleOnline'](){return this;}['resend'](){var _0x34f08f=_0x27d9cd;throw new Error(_0x34f08f(0x2b6));}[_0x27d9cd(0x3a5)](){var _0x56c569=_0x27d9cd;const _0x3bdf3c=this[_0x56c569(0x184)][_0x56c569(0x2e2)](this[_0x56c569(0x114)]);return this[_0x56c569(0x127)][_0x56c569(0x19d)]({'from':_0x3bdf3c,'to':0x0}),this[_0x56c569(0x3d5)][_0x56c569(0x264)](_0x190799['FetchingMissState'],this['unitID'],this['type'],null,[],null,[],this['_handler']);}},_0x190799[_0x27d9cd(0x485)]=_0x4767ae([_0x27af08(0x3,_0xecd3bb['Inject'](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x27af08(0x5,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0x6,_0xecd3bb[_0x27d9cd(0x48d)]),_0x27af08(0x7,_0xecd3bb[_0x27d9cd(0x30e)]),_0x27af08(0x8,_0x5a8633['ITransformService']),_0x27af08(0x9,_0xecd3bb['Optional'](_0x521485))],_0x190799[_0x27d9cd(0x485)]),_0x190799[_0x27d9cd(0x3e5)]=class extends _0x3bb8e0{constructor(_0x5d0fe1,_0x537f1c,_0x3ae3e4,_0x56059b,_0x8acb71,_0xd14664,_0x30fddd,_0x35e279,_0x606ce2,_0x29f414,_0x29c320,_0x1b3992,_0x424d69,_0x550993){var _0x2fd5dc=_0x27d9cd;super(_0x5d0fe1,_0x537f1c,null,_0x3ae3e4,_0x56059b,_0x606ce2,_0x424d69,_0xd14664,_0x550993),_0x45ccb1(this,_0x2fd5dc(0x1c1),_0x2fd5dc(0x1f7)),_0x45ccb1(this,_0x2fd5dc(0x2b4),null),_0x45ccb1(this,_0x2fd5dc(0x46f),null),(this[_0x2fd5dc(0x3d5)]=_0x8acb71,this[_0x2fd5dc(0x1d0)]=_0x30fddd,this['_logService']=_0x35e279,this['_configService']=_0x29f414,this[_0x2fd5dc(0x2f2)]=_0x29c320,this[_0x2fd5dc(0x3c6)]=_0x1b3992);}[_0x27d9cd(0x433)](_0x33bd15){var _0x4912aa=_0x27d9cd;return this[_0x4912aa(0x1cf)][_0x4912aa(0x484)](_0x33bd15),this[_0x4912aa(0x220)](),this;}['onRemoteChangeset'](_0x1e9fd9){var _0x5899be=_0x27d9cd;if(this[_0x5899be(0x479)](_0x1e9fd9))return this[_0x5899be(0x443)](),this[_0x5899be(0x3d5)]['createInstance'](_0x190799[_0x5899be(0x314)],this[_0x5899be(0x114)],this[_0x5899be(0x430)],null,this[_0x5899be(0x1cf)],null,[_0x1e9fd9],this[_0x5899be(0x127)]);try{const _0x2b9422=this[_0x5899be(0x2f2)][_0x5899be(0x48a)](_0x1e9fd9,this[_0x5899be(0x1cf)]);if(_0x5a8633[_0x5899be(0x396)](_0x2b9422)){const {c1Prime:_0x5c39ec,m2Prime:_0xc06b86}=_0x2b9422;this[_0x5899be(0x204)](_0x5c39ec);const _0x23cf50=this[_0x5899be(0x3d5)][_0x5899be(0x264)](_0x190799[_0x5899be(0x3e5)],this[_0x5899be(0x114)],this[_0x5899be(0x430)],_0xc06b86,this[_0x5899be(0x127)]);this[_0x5899be(0x443)]();const _0x4f81a2=new Date()[_0x5899be(0x1f1)](),_0x1ee5cc=this[_0x5899be(0x2b4)]?Math[_0x5899be(0x129)](this[_0x5899be(0x2b4)]-_0x4f81a2,0x0):this[_0x5899be(0x3ed)]();return _0x23cf50[_0x5899be(0x3bd)](_0x1ee5cc),_0x23cf50;}throw _0x2b9422['error'];}catch(_0xcde3c){return this[_0x5899be(0x200)][_0x5899be(0x25e)](_0xcde3c),this['_onConflict'](!0x1);}}[_0x27d9cd(0x45e)](){var _0x4a1afc=_0x27d9cd;throw new Error(_0x4a1afc(0x3a6));}[_0x27d9cd(0x296)](){var _0x587f1f=_0x27d9cd;throw new Error(_0x587f1f(0x1c4));}['onRemoteRetry'](){return this;}[_0x27d9cd(0x109)](){var _0x3ae01b=_0x27d9cd;return this[_0x3ae01b(0x443)](),this['_injector']['createInstance'](_0x190799['OfflineState'],this[_0x3ae01b(0x114)],this[_0x3ae01b(0x430)],null,this[_0x3ae01b(0x1cf)],this[_0x3ae01b(0x127)]);}[_0x27d9cd(0x101)](){return this;}['_schedule'](_0x4f6ed1){var _0x43704d=_0x27d9cd;const _0x59230f=_0x4f6ed1!=null?_0x4f6ed1:this[_0x43704d(0x3ed)]();this[_0x43704d(0x2b4)]=new Date()[_0x43704d(0x1f1)]()+_0x59230f,this[_0x43704d(0x46f)]=setTimeout(()=>{var _0x18c1cf=_0x43704d;this['_clearScheduledTask']();let _0x50c88a=null;switch(this[_0x18c1cf(0x430)]){case _0x3bdfff[_0x18c1cf(0x15b)]:{_0x50c88a=_0x16565d(this[_0x18c1cf(0x1cf)],this[_0x18c1cf(0x114)],this[_0x18c1cf(0x3c6)],this[_0x18c1cf(0x184)],this[_0x18c1cf(0x1d0)]);break;}case _0x3bdfff[_0x18c1cf(0x374)]:{this[_0x18c1cf(0x1cf)]['every'](_0x351a8e=>_0x351a8e['id']===_0x306b12['RichTextEditingMutation']['id'])?_0x50c88a=_0x287691(this[_0x18c1cf(0x1cf)],this[_0x18c1cf(0x114)],this[_0x18c1cf(0x3c6)],this[_0x18c1cf(0x184)],this['_memberService']):_0x50c88a=_0x16565d(this['_pendingMutations'],this[_0x18c1cf(0x114)],this[_0x18c1cf(0x3c6)],this[_0x18c1cf(0x184)],this[_0x18c1cf(0x1d0)]);break;}default:throw new Error(_0x18c1cf(0x439)+this[_0x18c1cf(0x430)]+'\x20in\x20_schedule.');}const {changeset:_0x5f1b1a,pendingMutations:_0x7aa050}=_0x50c88a;this[_0x18c1cf(0x127)][_0x18c1cf(0x205)](_0x5f1b1a);const _0x3a5331=_0x7aa050['length']?this[_0x18c1cf(0x3d5)][_0x18c1cf(0x264)](_0x190799['AwaitingWithPendingState'],this['unitID'],this[_0x18c1cf(0x430)],_0x5f1b1a,_0x7aa050,this[_0x18c1cf(0x127)],void 0x0):this[_0x18c1cf(0x3d5)]['createInstance'](_0x190799['AwaitingState'],this[_0x18c1cf(0x114)],this[_0x18c1cf(0x430)],_0x5f1b1a,this[_0x18c1cf(0x127)]);_0x3a5331[_0x18c1cf(0x220)](),this[_0x18c1cf(0x127)][_0x18c1cf(0x39e)](this,_0x3a5331);},_0x59230f);}[_0x27d9cd(0x3ed)](){var _0x585db8=_0x27d9cd,_0x1e57a9;const _0x338529=this[_0x585db8(0x435)]['getConfig'](_0xa270ad);return(_0x1e57a9=_0x338529==null?void 0x0:_0x338529['sendChangesetTimeout'])!=null?_0x1e57a9:0x7d0;}[_0x27d9cd(0x48e)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x5ec2c8=_0x27d9cd;this[_0x5ec2c8(0x46f)]!=null&&(clearTimeout(this[_0x5ec2c8(0x46f)]),this[_0x5ec2c8(0x46f)]=null);}[_0x27d9cd(0x426)](_0x147669){var _0x2bcd4f=_0x27d9cd;return this[_0x2bcd4f(0x443)](),this[_0x2bcd4f(0x3d5)][_0x2bcd4f(0x264)](_0x190799[_0x2bcd4f(0x2dd)],this[_0x2bcd4f(0x114)],this[_0x2bcd4f(0x430)],null,this['_pendingMutations'],this[_0x2bcd4f(0x127)],_0x147669);}},_0x190799[_0x27d9cd(0x3e5)]=_0x4767ae([_0x27af08(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['Injector'])),_0x27af08(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0x190799[_0x27d9cd(0x3cb)])),_0x27af08(0x7,_0xecd3bb[_0x27d9cd(0x30e)]),_0x27af08(0x8,_0xecd3bb[_0x27d9cd(0x48d)]),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x34d)]),_0x27af08(0xa,_0x5a8633[_0x27d9cd(0x2af)]),_0x27af08(0xb,_0xecd3bb['IUniverInstanceService']),_0x27af08(0xc,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0xd,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799['PendingState']),_0x190799[_0x27d9cd(0x1dd)]=class extends _0x3bb8e0{constructor(_0x544eef,_0x5b587c,_0x509cf5,_0x30b1a2,_0x1c3830,_0xf882d5,_0x43caa7,_0x8b934b,_0xac8869,_0x29980c,_0x1b2382){var _0x21f7ac=_0x27d9cd;super(_0x544eef,_0x5b587c,_0x509cf5,[],_0x30b1a2,_0x43caa7,_0x29980c,_0xf882d5,_0x1b2382),_0x45ccb1(this,_0x21f7ac(0x1c1),_0x21f7ac(0x41e)),_0x45ccb1(this,_0x21f7ac(0x160),0x0),_0x45ccb1(this,_0x21f7ac(0x357),0x0),_0x45ccb1(this,'_resendTimer'),_0x45ccb1(this,_0x21f7ac(0x19c)),(this[_0x21f7ac(0x3d5)]=_0x1c3830,this[_0x21f7ac(0x200)]=_0x8b934b,this['_transformService']=_0xac8869);}[_0x27d9cd(0x433)](_0x24e071){var _0x52c4bb=_0x27d9cd;this['_clearScheduledTask']();const _0x589a1e=this[_0x52c4bb(0x3d5)][_0x52c4bb(0x264)](_0x190799['AwaitingWithPendingState'],this['unitID'],this[_0x52c4bb(0x430)],this[_0x52c4bb(0x2fc)],[_0x24e071],this[_0x52c4bb(0x127)],this[_0x52c4bb(0x226)]);return _0x589a1e['_updateLocalCache'](),_0x589a1e;}[_0x27d9cd(0x20a)](_0x1edbf7){var _0x5d89ce=_0x27d9cd;if(this['_checkMissing'](_0x1edbf7))return this['_clearScheduledTask'](),this['_injector'][_0x5d89ce(0x264)](_0x190799[_0x5d89ce(0x314)],this[_0x5d89ce(0x114)],this[_0x5d89ce(0x430)],this['_awaitingChangeset'],[],null,[_0x1edbf7],this[_0x5d89ce(0x127)]);try{const _0x54d6a8=this[_0x5d89ce(0x2f2)]['transformChangesets']([_0x1edbf7],[this[_0x5d89ce(0x2fc)]],!0x1);if(_0x5a8633['isTransformChangesetsSuccess'](_0x54d6a8)){const {c1Prime:_0x2b5188,c2Prime:_0xa46e60}=_0x54d6a8;this[_0x5d89ce(0x204)](_0x2b5188[0x0]),_0xa46e60[0x0][_0x5d89ce(0x343)]=this[_0x5d89ce(0x217)](),this[_0x5d89ce(0x443)]();const _0x26d7b9=this[_0x5d89ce(0x3d5)]['createInstance'](_0x190799[_0x5d89ce(0x1dd)],this[_0x5d89ce(0x114)],this[_0x5d89ce(0x430)],_0xa46e60[0x0],this[_0x5d89ce(0x127)]);return _0x26d7b9[_0x5d89ce(0x220)](),_0x26d7b9;}return this['_onConflict'](!0x1);}catch(_0x2fcfcb){return this['_logService'][_0x5d89ce(0x25e)](_0x2fcfcb),this['_onConflict'](!0x1);}}[_0x27d9cd(0x45e)](_0x19a0f8){var _0x5e216c=_0x27d9cd;this[_0x5e216c(0x443)]();const _0x3171cc=this[_0x5e216c(0x184)][_0x5e216c(0x2e2)](this[_0x5e216c(0x114)]);if(_0x19a0f8[_0x5e216c(0x2a4)]<_0x3171cc-0x1)return this;if(this[_0x5e216c(0x479)](_0x19a0f8))return this[_0x5e216c(0x3d5)][_0x5e216c(0x264)](_0x190799[_0x5e216c(0x314)],this['unitID'],this[_0x5e216c(0x430)],null,[],this[_0x5e216c(0x2fc)],[],this[_0x5e216c(0x127)]);this[_0x5e216c(0x1ea)]();const _0x3cc6ef=this[_0x5e216c(0x3d5)][_0x5e216c(0x264)](_0x190799['SyncedState'],this[_0x5e216c(0x114)],this[_0x5e216c(0x430)],this[_0x5e216c(0x127)]);return _0x3cc6ef['_updateLocalCache'](),_0x3cc6ef;}[_0x27d9cd(0x296)](_0x176d2d){var _0x232d4c=_0x27d9cd;return this[_0x232d4c(0x426)](!!(_0x176d2d!=null&&_0x176d2d[_0x232d4c(0x155)]));}[_0x27d9cd(0x2db)](_0x4a9c7e){var _0x14a625=_0x27d9cd;return this['_maxTotalRetryTimeout']>_0xdb260c?this[_0x14a625(0x109)]():(this[_0x14a625(0x226)]=_0x23da11(this[_0x14a625(0x160)],{'timeout':this[_0x14a625(0x160)],'reqId':_0x4a9c7e[_0x14a625(0x31c)]}),this[_0x14a625(0x19c)]=this['_resendTimer'][_0x14a625(0x316)](({reqId:_0x5377ca,timeout:_0x175892})=>{var _0x30ccad=_0x14a625;this[_0x30ccad(0x37e)](_0x5377ca,_0x175892);}),this);}['toggleOffline'](){var _0x1dd275=_0x27d9cd;return this[_0x1dd275(0x443)](),this['_injector']['createInstance'](_0x190799[_0x1dd275(0x48b)],this[_0x1dd275(0x114)],this[_0x1dd275(0x430)],this[_0x1dd275(0x2fc)],[],this[_0x1dd275(0x127)]);}[_0x27d9cd(0x101)](){return this;}[_0x27d9cd(0x48e)](){var _0x120140=_0x27d9cd;this[_0x120140(0x127)][_0x120140(0x205)](this['_awaitingChangeset']);}['_onConflict'](_0x26c0ba){var _0x582328=_0x27d9cd;return this[_0x582328(0x443)](),this[_0x582328(0x3d5)][_0x582328(0x264)](_0x190799[_0x582328(0x2dd)],this['unitID'],this[_0x582328(0x430)],this[_0x582328(0x2fc)],[],this['_handler'],_0x26c0ba);}[_0x27d9cd(0x37e)](_0x10d955,_0x272ba7){var _0x409397=_0x27d9cd,_0x1169a1;_0x10d955===((_0x1169a1=this[_0x409397(0x2fc)])==null?void 0x0:_0x1169a1[_0x409397(0x31c)])&&(this['resend'](),this[_0x409397(0x160)]=_0x272ba7===0x0?0x3e8:Math[_0x409397(0x32f)](_0x272ba7*0x2,_0x2a0dcc),this[_0x409397(0x357)]+=this['_resendTimeout']);}[_0x27d9cd(0x443)](){var _0x445fdf=_0x27d9cd,_0x533a82;(_0x533a82=this[_0x445fdf(0x19c)])==null||_0x533a82[_0x445fdf(0x416)](),this[_0x445fdf(0x160)]=0x0,this[_0x445fdf(0x357)]=0x0;}},_0x190799[_0x27d9cd(0x1dd)]=_0x4767ae([_0x27af08(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x27af08(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x6,_0xecd3bb['ICommandService']),_0x27af08(0x7,_0xecd3bb[_0x27d9cd(0x30e)]),_0x27af08(0x8,_0x5a8633[_0x27d9cd(0x2af)]),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0xa,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799[_0x27d9cd(0x1dd)]),_0x190799[_0x27d9cd(0x1d4)]=class extends _0x3bb8e0{constructor(_0x9e3e7a,_0x4750a2,_0x19a3a9,_0x2ce0fe,_0x5d7333,_0x4b95fa,_0x36aa11,_0x5b12cb,_0x88261e,_0x398d36,_0x130a7e,_0xc895a9,_0x9775d7){var _0x1c228b=_0x27d9cd;super(_0x9e3e7a,_0x4750a2,_0x19a3a9,_0x2ce0fe,_0x5d7333,_0x88261e,_0xc895a9,_0x5b12cb,_0x9775d7),_0x45ccb1(this,'status',_0x1c228b(0x480)),_0x45ccb1(this,_0x1c228b(0x160),0x0),_0x45ccb1(this,_0x1c228b(0x357),0x0),_0x45ccb1(this,_0x1c228b(0x226)),_0x45ccb1(this,_0x1c228b(0x19c)),(this[_0x1c228b(0x3d5)]=_0x36aa11,this[_0x1c228b(0x200)]=_0x398d36,this[_0x1c228b(0x2f2)]=_0x130a7e,this[_0x1c228b(0x193)]=_0x9775d7,_0x4b95fa&&(this[_0x1c228b(0x226)]=_0x4b95fa,this[_0x1c228b(0x19c)]=this[_0x1c228b(0x226)][_0x1c228b(0x316)](({reqId:_0x8c19e6,timeout:_0x452d0c})=>{var _0x2beb93=_0x1c228b;this[_0x2beb93(0x37e)](_0x8c19e6,_0x452d0c);})));}['appendMutation'](_0x3d5a88){var _0x266ecf=_0x27d9cd;return this[_0x266ecf(0x1cf)][_0x266ecf(0x484)](_0x3d5a88),this;}[_0x27d9cd(0x20a)](_0x37799a){var _0x27f653=_0x27d9cd;if(this[_0x27f653(0x479)](_0x37799a))return this[_0x27f653(0x443)](),this[_0x27f653(0x3d5)][_0x27f653(0x264)](_0x190799[_0x27f653(0x314)],this[_0x27f653(0x114)],this['type'],this[_0x27f653(0x2fc)],this[_0x27f653(0x1cf)],null,[_0x37799a],this[_0x27f653(0x127)]);try{const _0x8c87e1=this[_0x27f653(0x2f2)][_0x27f653(0x462)]([_0x37799a],[this['_awaitingChangeset']],!0x1);if(_0x5a8633['isTransformChangesetsSuccess'](_0x8c87e1)){const {c1Prime:_0x23d761,c2Prime:_0x3a414e}=_0x8c87e1,_0x21f0e0=this[_0x27f653(0x2f2)]['transformMutationsWithChangeset'](_0x23d761[0x0],this[_0x27f653(0x1cf)]);if(_0x5a8633['isTransformMutationsWithChangesetSuccess'](_0x21f0e0)){const {c1Prime:_0x3f2d6b,m2Prime:_0x5b748c}=_0x21f0e0;return this['_executeRemoteChangeset'](_0x3f2d6b),_0x3a414e[0x0][_0x27f653(0x343)]=this[_0x27f653(0x217)](),this[_0x27f653(0x443)](),this[_0x27f653(0x3d5)][_0x27f653(0x264)](_0x190799[_0x27f653(0x1d4)],this[_0x27f653(0x114)],this['type'],_0x3a414e[0x0],_0x5b748c,this[_0x27f653(0x127)],void 0x0);}throw _0x21f0e0[_0x27f653(0x25e)];}throw _0x8c87e1[_0x27f653(0x25e)];}catch(_0x312b7e){return this[_0x27f653(0x200)][_0x27f653(0x25e)](_0x312b7e),this[_0x27f653(0x426)](!0x1);}}[_0x27d9cd(0x45e)](_0x41a368){var _0x241f1f=_0x27d9cd;if(this['_clearScheduledTask'](),this[_0x241f1f(0x479)](_0x41a368))return this[_0x241f1f(0x3d5)][_0x241f1f(0x264)](_0x190799[_0x241f1f(0x314)],this[_0x241f1f(0x114)],this['type'],null,this[_0x241f1f(0x1cf)],this[_0x241f1f(0x2fc)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x4f8a6e=this[_0x241f1f(0x3d5)]['createInstance'](_0x190799[_0x241f1f(0x3e5)],this[_0x241f1f(0x114)],this[_0x241f1f(0x430)],this[_0x241f1f(0x1cf)],this[_0x241f1f(0x127)]);return _0x4f8a6e[_0x241f1f(0x3bd)](),_0x4f8a6e[_0x241f1f(0x220)](),_0x4f8a6e;}[_0x27d9cd(0x296)](_0x2c0066){var _0x459392=_0x27d9cd;return this[_0x459392(0x426)](!!(_0x2c0066!=null&&_0x2c0066[_0x459392(0x155)]));}[_0x27d9cd(0x2db)](_0xee8211){var _0x20731a=_0x27d9cd;return this['_maxTotalRetryTimeout']>_0xdb260c?this[_0x20731a(0x109)]():(this[_0x20731a(0x226)]=_0x23da11(this[_0x20731a(0x160)],{'timeout':this['_resendTimeout'],'reqId':_0xee8211[_0x20731a(0x31c)]}),this[_0x20731a(0x19c)]=this[_0x20731a(0x226)][_0x20731a(0x316)](({reqId:_0x4dd544,timeout:_0x38c467})=>{var _0x165bf9=_0x20731a;this[_0x165bf9(0x37e)](_0x4dd544,_0x38c467);}),this);}[_0x27d9cd(0x109)](){var _0x6cd511=_0x27d9cd;return this[_0x6cd511(0x443)](),this['_injector'][_0x6cd511(0x264)](_0x190799['OfflineState'],this[_0x6cd511(0x114)],this[_0x6cd511(0x430)],this[_0x6cd511(0x2fc)],this[_0x6cd511(0x1cf)],this[_0x6cd511(0x127)]);}[_0x27d9cd(0x101)](){return this;}[_0x27d9cd(0x48e)](){var _0x55302e=_0x27d9cd;this['_handler']['onSendChangeset'](this[_0x55302e(0x2fc)]);}[_0x27d9cd(0x426)](_0x52934d){var _0x1ae0f7=_0x27d9cd;return this[_0x1ae0f7(0x443)](),this[_0x1ae0f7(0x3d5)]['createInstance'](_0x190799[_0x1ae0f7(0x2dd)],this[_0x1ae0f7(0x114)],this[_0x1ae0f7(0x430)],null,this['_pendingMutations'],this[_0x1ae0f7(0x127)],_0x52934d);}[_0x27d9cd(0x37e)](_0x1fe09d,_0x49089b){var _0x5a7441=_0x27d9cd,_0x1ec2ab;_0x1fe09d===((_0x1ec2ab=this[_0x5a7441(0x2fc)])==null?void 0x0:_0x1ec2ab[_0x5a7441(0x31c)])&&(this[_0x5a7441(0x48e)](),this[_0x5a7441(0x160)]=_0x49089b===0x0?0x3e8:Math['min'](_0x49089b*0x2,_0x2a0dcc),this[_0x5a7441(0x357)]+=this['_resendTimeout']);}['_clearScheduledTask'](){var _0x558bdb=_0x27d9cd,_0x4676a8;(_0x4676a8=this['_sender'])==null||_0x4676a8[_0x558bdb(0x416)](),this['_resendTimeout']=0x0,this[_0x558bdb(0x357)]=0x0;}},_0x190799[_0x27d9cd(0x1d4)]=_0x4767ae([_0x27af08(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x27af08(0x7,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x8,_0xecd3bb[_0x27d9cd(0x48d)]),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x30e)]),_0x27af08(0xa,_0x5a8633['ITransformService']),_0x27af08(0xb,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0xc,_0xecd3bb['Optional'](_0x521485))],_0x190799[_0x27d9cd(0x1d4)]),_0x190799[_0x27d9cd(0x2dd)]=class extends _0x3bb8e0{constructor(_0x9b6c8b,_0x527f5f,_0x378355,_0x2b69e6,_0x476839,_0x1f7e74=!0x1,_0x39a457,_0x3ca38d,_0x3c9324,_0x302db7,_0x469b66,_0x52568f,_0xbc476d){var _0x43893d=_0x27d9cd;super(_0x9b6c8b,_0x527f5f,_0x378355,_0x2b69e6,_0x476839,_0x3ca38d,_0x3c9324,_0x302db7,_0xbc476d),_0x45ccb1(this,_0x43893d(0x1c1),_0x43893d(0x3f2)),(this[_0x43893d(0x40c)]=_0x1f7e74,this[_0x43893d(0x1cd)]=_0x39a457,this['_localeService']=_0x469b66,this['_collaborationUIEventService']=_0x52568f,this['localCacheService']=_0xbc476d,this[_0x43893d(0x186)](),this[_0x43893d(0x2e8)](),this[_0x43893d(0x2c5)]());}['appendMutation'](){return this;}[_0x27d9cd(0x20a)](){return this;}[_0x27d9cd(0x45e)](){return this;}[_0x27d9cd(0x296)](){return this;}[_0x27d9cd(0x2db)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x27d9cd(0x48e)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0xe6fef9=_0x27d9cd,_0x1ae53a;(_0x1ae53a=this[_0xe6fef9(0x22d)])==null||_0x1ae53a[_0xe6fef9(0x1db)](this[_0xe6fef9(0x114)],this[_0xe6fef9(0x430)],null,[]);}[_0x27d9cd(0x186)](){var _0x5036c6=_0x27d9cd;this[_0x5036c6(0x40c)]?this['_collaborationUIEventService'][_0x5036c6(0x2eb)]({'id':_0x1af2c4[_0x5036c6(0x25c)]}):this[_0x5036c6(0x2de)][_0x5036c6(0x2eb)]({'id':_0x1af2c4[_0x5036c6(0x302)]});}[_0x27d9cd(0x2c5)](){var _0x51f783=_0x27d9cd;this['_permissionService'][_0x51f783(0x3d2)](new _0x51c935[(_0x51f783(0x1ef))](this[_0x51f783(0x114)])['id'],!0x1);}},_0x190799['ConflictState']=_0x4767ae([_0x27af08(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['IPermissionService'])),_0x27af08(0x7,_0xecd3bb['ICommandService']),_0x27af08(0x8,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0xa,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x2ba)])),_0x27af08(0xb,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x27af08(0xc,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799[_0x27d9cd(0x2dd)]),_0x190799[_0x27d9cd(0x48b)]=class extends _0x3bb8e0{constructor(_0x2db3be,_0x3d512c,_0x45832b,_0x2fddb3,_0x29d24c,_0x255b2b,_0x3b6115,_0x342747,_0x579302,_0x4b9d7c){var _0x1eef62=_0x27d9cd;super(_0x2db3be,_0x3d512c,_0x45832b,_0x2fddb3,_0x29d24c,_0x342747,_0x579302,_0x3b6115,_0x4b9d7c),_0x45ccb1(this,_0x1eef62(0x1c1),_0x1eef62(0x488)),this[_0x1eef62(0x3d5)]=_0x255b2b;}[_0x27d9cd(0x433)](_0x4486c1){var _0x3daa95=_0x27d9cd;return this[_0x3daa95(0x1cf)][_0x3daa95(0x484)](_0x4486c1),this[_0x3daa95(0x220)](),this;}[_0x27d9cd(0x20a)](_0x2aec6e){var _0x5bbcfb=_0x27d9cd;throw new Error(_0x5bbcfb(0x3d4));}[_0x27d9cd(0x45e)](){var _0x1a1dcc=_0x27d9cd;throw new Error(_0x1a1dcc(0x246));}[_0x27d9cd(0x296)](){var _0x13842d=_0x27d9cd;throw new Error(_0x13842d(0x165));}[_0x27d9cd(0x2db)](){return this;}['toggleOffline'](){return this;}[_0x27d9cd(0x101)](){var _0x4b128a=_0x27d9cd;const {_injector:_0x36ef1d,_pendingMutations:_0x2cf80f,_awaitingChangeset:_0x200cac,unitID:_0x19d483,_handler:_0x115fa7,type:_0x1624e1}=this,_0x4dc38f=_0x54b301(_0x36ef1d,_0x19d483,_0x1624e1,_0x200cac,_0x2cf80f,_0x115fa7);return _0x4dc38f instanceof _0x190799[_0x4b128a(0x3e5)]?_0x4dc38f[_0x4b128a(0x3bd)]():(_0x4dc38f instanceof _0x190799[_0x4b128a(0x1d4)]||_0x4dc38f instanceof _0x190799[_0x4b128a(0x1dd)])&&_0x4dc38f[_0x4b128a(0x48e)](),_0x4dc38f;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x190799[_0x27d9cd(0x48b)]=_0x4767ae([_0x27af08(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x27af08(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x7,_0xecd3bb[_0x27d9cd(0x48d)]),_0x27af08(0x8,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799['OfflineState']),_0x190799[_0x27d9cd(0x314)]=class extends _0x3bb8e0{constructor(_0x573a3e,_0x411ac2,_0x98979,_0x1d2ba8,_0x573409,_0x1a33f2,_0x5721a5,_0x533518,_0x39f727,_0x404a84,_0x23fad1,_0x53c3d5,_0xb2d7f7,_0xf2e34e){var _0x3b3ca7=_0x27d9cd;super(_0x573a3e,_0x411ac2,_0x98979,_0x1d2ba8,_0x5721a5,_0x23fad1,_0x53c3d5,_0x39f727,_0xf2e34e),_0x45ccb1(this,'status',_0x3b3ca7(0x44a)),(this[_0x3b3ca7(0x3ec)]=_0x573409,this['_queuedRemoteChangesets']=_0x1a33f2,this[_0x3b3ca7(0x3d5)]=_0x533518,this['_logService']=_0x404a84,this['_transformService']=_0xb2d7f7,this[_0x3b3ca7(0x193)]=_0xf2e34e);}[_0x27d9cd(0x1e7)](_0x118e37){var _0x2e7620=_0x27d9cd;try{const _0x566b2d=[..._0x118e37,...this[_0x2e7620(0x227)]],_0x162b41=[this[_0x2e7620(0x2fc)]||this[_0x2e7620(0x3ec)]][_0x2e7620(0x31b)](_0x4aa2da=>!!_0x4aa2da);let _0x3be3af,_0x2b610b;if(_0x162b41[_0x2e7620(0x3ea)]){const _0x66f10c=this[_0x2e7620(0x2f2)]['transformChangesets'](_0x566b2d,_0x162b41,!0x1);if(!_0x5a8633['isTransformChangesetsSuccess'](_0x66f10c))throw _0x66f10c[_0x2e7620(0x25e)];_0x3be3af=_0x66f10c[_0x2e7620(0x1fe)],_0x2b610b=_0x66f10c[_0x2e7620(0x42e)];}else _0x3be3af=_0x566b2d,_0x2b610b=[];let _0xae5fff=this[_0x2e7620(0x1cf)];_0x3be3af[_0x2e7620(0x266)](_0x2c5db2=>{var _0xf1bc81=_0x2e7620;let _0xd87fc0;if(_0xae5fff[_0xf1bc81(0x3ea)]){const _0x1ab707=this[_0xf1bc81(0x2f2)]['transformMutationsWithChangeset'](_0x2c5db2,_0xae5fff);if(!_0x5a8633[_0xf1bc81(0x396)](_0x1ab707))throw _0x1ab707['error'];_0xd87fc0=_0x1ab707['c1Prime'],_0xae5fff=_0x1ab707[_0xf1bc81(0x16e)];}else _0xd87fc0=_0x2c5db2;this[_0xf1bc81(0x204)](_0xd87fc0);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2e7620(0x1ea)](),this['_awaitingChangeset']&&_0x2b610b[_0x2e7620(0x3ea)]&&(_0x2b610b[0x0][_0x2e7620(0x343)]=this[_0x2e7620(0x217)]());let _0x8ee623;if(this['_awaitingChangeset']&&_0xae5fff['length']!==0x0)_0x8ee623=this['_injector'][_0x2e7620(0x264)](_0x190799[_0x2e7620(0x1d4)],this[_0x2e7620(0x114)],this[_0x2e7620(0x430)],_0x2b610b[0x0],_0xae5fff,this[_0x2e7620(0x127)],void 0x0);else{if(this[_0x2e7620(0x2fc)]&&_0xae5fff[_0x2e7620(0x3ea)]===0x0)_0x2b610b[0x0][_0x2e7620(0x343)]=this[_0x2e7620(0x217)](),_0x8ee623=this['_injector']['createInstance'](_0x190799['AwaitingState'],this[_0x2e7620(0x114)],this[_0x2e7620(0x430)],_0x2b610b[0x0],this[_0x2e7620(0x127)]);else{if(_0xae5fff[_0x2e7620(0x3ea)]!==0x0){const _0x2e0ae6=this['_injector'][_0x2e7620(0x264)](_0x190799['PendingState'],this[_0x2e7620(0x114)],this[_0x2e7620(0x430)],_0xae5fff,this['_handler']);_0x2e0ae6['_schedule'](),_0x8ee623=_0x2e0ae6;}else _0x8ee623=this[_0x2e7620(0x3d5)][_0x2e7620(0x264)](_0x190799['SyncedState'],this[_0x2e7620(0x114)],this[_0x2e7620(0x430)],this['_handler']);}}return _0x8ee623[_0x2e7620(0x220)](),_0x8ee623;}catch(_0x3c9729){return this[_0x2e7620(0x200)][_0x2e7620(0x25e)](_0x2e7620(0x489),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3c9729),this[_0x2e7620(0x3d5)][_0x2e7620(0x264)](_0x190799['ConflictState'],this['unitID'],this[_0x2e7620(0x430)],this[_0x2e7620(0x2fc)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x27d9cd(0x48e)](){var _0x91db91=_0x27d9cd;throw new Error(_0x91db91(0x3e8));}[_0x27d9cd(0x433)](_0xbc6e4a){var _0x50693f=_0x27d9cd;return this[_0x50693f(0x1cf)][_0x50693f(0x484)](_0xbc6e4a),this;}[_0x27d9cd(0x20a)](_0x30e680){var _0x5fb990=_0x27d9cd;return this[_0x5fb990(0x227)]['push'](_0x30e680),this;}['onRemoteAck'](_0x3b50a7){var _0x429229=_0x27d9cd;if(this[_0x429229(0x2fc)])return this['_acknowledgedAwaitingChangeset']=this[_0x429229(0x2fc)],this[_0x429229(0x2fc)]=null,this;throw new Error(_0x429229(0x48f));}[_0x27d9cd(0x296)](_0x2fb5e7){var _0x41e4b6=_0x27d9cd;return this[_0x41e4b6(0x426)](!!(_0x2fb5e7!=null&&_0x2fb5e7['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2edd91=_0x27d9cd;return this[_0x2edd91(0x3d5)][_0x2edd91(0x264)](_0x190799[_0x2edd91(0x48b)],this[_0x2edd91(0x114)],this[_0x2edd91(0x430)],this[_0x2edd91(0x2fc)],this[_0x2edd91(0x1cf)],this[_0x2edd91(0x127)]);}[_0x27d9cd(0x101)](){return this;}['_onConflict'](_0x4fedcc){var _0x413805=_0x27d9cd;return this[_0x413805(0x3d5)]['createInstance'](_0x190799['ConflictState'],this['unitID'],this[_0x413805(0x430)],this[_0x413805(0x2fc)],this[_0x413805(0x1cf)],this[_0x413805(0x127)],_0x4fedcc);}},_0x190799[_0x27d9cd(0x314)]=_0x4767ae([_0x27af08(0x7,_0xecd3bb['Inject'](_0xecd3bb[_0x27d9cd(0x185)])),_0x27af08(0x8,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x27af08(0x9,_0xecd3bb[_0x27d9cd(0x30e)]),_0x27af08(0xa,_0xecd3bb[_0x27d9cd(0x48d)]),_0x27af08(0xb,_0xecd3bb[_0x27d9cd(0x2e7)]),_0x27af08(0xc,_0x5a8633[_0x27d9cd(0x2af)]),_0x27af08(0xd,_0xecd3bb['Optional'](_0x521485))],_0x190799[_0x27d9cd(0x314)]);function _0x54b301(_0x4bf4d1,_0x130e39,_0x391433,_0x85fb2e,_0x5ab0b8,_0x5c12a6){var _0x32c8e5=_0x27d9cd;return _0x85fb2e&&_0x5ab0b8[_0x32c8e5(0x3ea)]?_0x4bf4d1[_0x32c8e5(0x264)](_0x190799[_0x32c8e5(0x1d4)],_0x130e39,_0x391433,_0x85fb2e,_0x5ab0b8,_0x5c12a6,void 0x0):_0x85fb2e?_0x4bf4d1[_0x32c8e5(0x264)](_0x190799[_0x32c8e5(0x1dd)],_0x130e39,_0x391433,_0x85fb2e,_0x5c12a6):_0x5ab0b8[_0x32c8e5(0x3ea)]?_0x4bf4d1[_0x32c8e5(0x264)](_0x190799[_0x32c8e5(0x3e5)],_0x130e39,_0x391433,_0x5ab0b8,_0x5c12a6):_0x4bf4d1[_0x32c8e5(0x264)](_0x190799[_0x32c8e5(0x485)],_0x130e39,_0x391433,_0x5c12a6);}var _0x20e657=Object[_0x27d9cd(0x49e)],_0x51a4d0=(_0x2e8d98,_0x2addf0,_0x387151,_0x42249b)=>{for(var _0x7e2699=_0x42249b>0x1?void 0x0:_0x42249b?_0x20e657(_0x2addf0,_0x387151):_0x2addf0,_0x1ad074=_0x2e8d98['length']-0x1,_0x3eea19;_0x1ad074>=0x0;_0x1ad074--)(_0x3eea19=_0x2e8d98[_0x1ad074])&&(_0x7e2699=_0x3eea19(_0x7e2699)||_0x7e2699);return _0x7e2699;},_0x1b6f50=(_0x5779d8,_0x4f2f9b)=>(_0x275975,_0x3fd733)=>_0x4f2f9b(_0x275975,_0x3fd733,_0x5779d8);_0x190799[_0x27d9cd(0x3dd)]=class extends _0xecd3bb[_0x27d9cd(0x1e0)]{constructor(_0x5914a7,_0x42f455,_0x4c30d9,_0x3cd6ea,_0x474cf2,_0x38423a,_0x2f9007,_0x4613d8,_0x535823,_0x4c0774,_0x50f5d4,_0x2edafe,_0x23d9a9,_0x1beb19){var _0x13f86b=_0x27d9cd;super(),_0x45ccb1(this,'_state$',new _0x3b002d[(_0x13f86b(0x131))](null)),_0x45ccb1(this,_0x13f86b(0x223),this[_0x13f86b(0x255)][_0x13f86b(0x3d0)]()),_0x45ccb1(this,_0x13f86b(0x21a)),_0x45ccb1(this,_0x13f86b(0x24c),!0x1),_0x45ccb1(this,_0x13f86b(0x1e6),''),_0x45ccb1(this,_0x13f86b(0x189),0x0),_0x45ccb1(this,_0x13f86b(0x436),this[_0x13f86b(0x223)][_0x13f86b(0x15f)](_0x3b002d[_0x13f86b(0x14b)](_0x493686=>_0x493686?_0x493686[_0x13f86b(0x1c1)]:_0x5d612c[_0x13f86b(0x47c)]),_0x3b002d[_0x13f86b(0x108)](0x1))),_0x45ccb1(this,_0x13f86b(0x28b),!0x1),_0x45ccb1(this,_0x13f86b(0x1cc),[]),(this['unitID']=_0x5914a7,this['session']=_0x42f455,this[_0x13f86b(0x1b6)]=_0x4c30d9,this[_0x13f86b(0x3d5)]=_0x3cd6ea,this[_0x13f86b(0x121)]=_0x474cf2,this[_0x13f86b(0x151)]=_0x38423a,this['_revisionService']=_0x2f9007,this['_eventService']=_0x4613d8,this[_0x13f86b(0x3c6)]=_0x535823,this[_0x13f86b(0x200)]=_0x4c0774,this[_0x13f86b(0x267)]=_0x50f5d4,this[_0x13f86b(0x1cd)]=_0x2edafe,this[_0x13f86b(0x3db)]=_0x23d9a9,this[_0x13f86b(0x22d)]=_0x1beb19);}get['state'](){var _0x4b7541=_0x27d9cd;return this[_0x4b7541(0x21a)];}async['init'](){var _0x36051f=_0x27d9cd;if(this['state'])throw new Error(_0x36051f(0x197));await this[_0x36051f(0x27e)]();}[_0x27d9cd(0x1eb)](){var _0x439866=_0x27d9cd;return this[_0x439866(0x24c)]=!0x0,_0xecd3bb[_0x439866(0x13a)](()=>{var _0x20ae9a=_0x439866;this[_0x20ae9a(0x24c)]=!0x1,this[_0x20ae9a(0x412)]();});}[_0x27d9cd(0x213)](_0x25fb1d){this['_onLocalMutation'](_0x25fb1d);}[_0x27d9cd(0x381)](_0xf34fe5){this['_state']=_0xf34fe5,this['_state$']['next'](_0xf34fe5);}async[_0x27d9cd(0x27e)](){var _0x488346=_0x27d9cd,_0x486024;this[_0x488346(0x381)](await this[_0x488346(0x29c)]()),this[_0x488346(0x3db)]&&((_0x486024=this[_0x488346(0x3db)])==null||_0x486024[_0x488346(0x35b)](this['unitID']),this[_0x488346(0x17c)](this[_0x488346(0x3db)][_0x488346(0x456)](this['unitID'])[_0x488346(0x316)](_0x38e851=>{var _0x203a9b=_0x488346;this[_0x203a9b(0x200)]['debug'](_0x203a9b(0x29e),_0x203a9b(0x35c),_0x38e851),_0x38e851===_0x502878[_0x203a9b(0x2e1)]?(this[_0x203a9b(0x1d8)][_0x203a9b(0x2eb)]({'id':_0x1af2c4[_0x203a9b(0x431)]}),this[_0x203a9b(0x1cd)]['updatePermissionPoint'](new _0x51c935[(_0x203a9b(0x1ef))](this[_0x203a9b(0x114)])['id'],!0x1),this[_0x203a9b(0x1cd)][_0x203a9b(0x19e)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x51c935[(_0x203a9b(0x1ef))](this[_0x203a9b(0x114)])['id'],!0x0),this[_0x203a9b(0x1cd)][_0x203a9b(0x19e)](!0x0));})));let _0x353d43=!0x1;return this[_0x488346(0x17c)](this[_0x488346(0x3fe)][_0x488346(0x2a8)][_0x488346(0x316)](_0x325772=>{var _0x2b0fa2=_0x488346;_0x325772===_0xe17649[_0x2b0fa2(0x318)]?this[_0x2b0fa2(0x3b2)](_0x353d43):_0x325772===_0xe17649['OFFLINE']&&(_0x353d43=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x488346(0x3fe)][_0x488346(0x14f)]['subscribe'](_0x445984=>{var _0x5a1652=_0x488346;try{switch(_0x445984['eventID']){case _0x5a8633[_0x5a1652(0x1ca)][_0x5a1652(0x303)]:{this[_0x5a1652(0x3bb)](_0x5a8633['parseProtocolChangeset'](_0x445984[_0x5a1652(0x23d)]));break;}case _0x5a8633[_0x5a1652(0x1ca)]['CHANGESET_ACK']:{this[_0x5a1652(0x2cf)](_0x445984[_0x5a1652(0x23d)]);break;}case _0x5a8633[_0x5a1652(0x1ca)][_0x5a1652(0x233)]:{this['_onRemoteRejected']();break;}case _0x5a8633['CollaborationEvent'][_0x5a1652(0x44f)]:{this[_0x5a1652(0x320)](_0x445984[_0x5a1652(0x23d)]);break;}case _0x5a8633[_0x5a1652(0x1ca)][_0x5a1652(0x2cb)]:{this[_0x5a1652(0x475)](_0x445984[_0x5a1652(0x23d)][_0x5a1652(0x221)]['map'](_0x2be05d=>_0x5a8633[_0x5a1652(0x45b)](_0x2be05d)));break;}case _0x5a8633['CollaborationEvent'][_0x5a1652(0x460)]:{this[_0x5a1652(0x451)]({'isPermissionRej':!0x0});break;}case _0x5a8633['CollaborationEvent'][_0x5a1652(0x278)]:break;}}catch(_0x423b8c){throw console['error'](_0x5a1652(0x1a2),_0x423b8c),_0x423b8c;}})),this[_0x488346(0x21a)];}[_0x27d9cd(0x400)](){var _0x1a024b=_0x27d9cd;this[_0x1a024b(0x28b)]=!0x1;}[_0x27d9cd(0x407)](){var _0x27cfbb=_0x27d9cd;if(this['_transitionLocked'])throw new Error(_0x27cfbb(0x26e));this[_0x27cfbb(0x28b)]=!0x0;}['_onLocalMutation'](_0x31eb16){var _0x184650=_0x27d9cd;this[_0x184650(0x407)](),this[_0x184650(0x381)](this[_0x184650(0x21a)][_0x184650(0x433)](_0x31eb16)),this[_0x184650(0x400)]();}[_0x27d9cd(0x3bb)](_0x62ff55){var _0x2c6886=_0x27d9cd;if(!(_0x62ff55['revision']<=this[_0x2c6886(0x184)]['getCurrentRevOfUnit'](this[_0x2c6886(0x114)]))){if(this[_0x2c6886(0x24c)]){this[_0x2c6886(0x1cc)]['push'](_0x62ff55);return;}this['_applyRemoteChangeset'](_0x62ff55);}}[_0x27d9cd(0x412)](){var _0x44fd39=_0x27d9cd;this[_0x44fd39(0x1cc)][_0x44fd39(0x266)](_0x2fd795=>this[_0x44fd39(0x23c)](_0x2fd795)),this[_0x44fd39(0x1cc)]=[];}[_0x27d9cd(0x23c)](_0x1dfd45){var _0x44aad9=_0x27d9cd;const _0x6a4fa7=this[_0x44aad9(0x121)][_0x44aad9(0x395)][_0x44aad9(0x359)](this[_0x44aad9(0x121)][_0x44aad9(0x395)][_0x44aad9(0x211)]()[_0x44aad9(0x422)])(_0x1dfd45['mutations'],null)||_0x1dfd45[_0x44aad9(0x1c6)],_0x5c76a9={..._0x1dfd45,'mutations':_0x6a4fa7};this[_0x44aad9(0x407)](),this['_updateState'](this[_0x44aad9(0x21a)][_0x44aad9(0x20a)](_0x5c76a9)),this[_0x44aad9(0x400)]();}[_0x27d9cd(0x2cf)](_0x3cd26a){var _0xc11b5b=_0x27d9cd;this['_lockTransition'](),this[_0xc11b5b(0x381)](this[_0xc11b5b(0x21a)][_0xc11b5b(0x45e)](_0x3cd26a)),this[_0xc11b5b(0x400)]();}[_0x27d9cd(0x451)](_0x14a5d0){var _0x36915f=_0x27d9cd;this[_0x36915f(0x407)](),this[_0x36915f(0x381)](this[_0x36915f(0x21a)]['onRemoteRej'](_0x14a5d0)),this[_0x36915f(0x400)]();}['_onRemoteRetry'](_0x12b9c4){var _0x19a680=_0x27d9cd;this['_lockTransition'](),this[_0x19a680(0x381)](this[_0x19a680(0x21a)][_0x19a680(0x2db)](_0x12b9c4)),this[_0x19a680(0x400)]();}[_0x27d9cd(0x475)](_0x291b6d){var _0x20e9c9=_0x27d9cd;if(!(this[_0x20e9c9(0x21a)]instanceof _0x190799[_0x20e9c9(0x314)]))throw new TypeError(_0x20e9c9(0x46d));const _0xf5680c=_0x291b6d[_0x20e9c9(0x14b)](_0x461bb0=>{var _0x37b224=_0x20e9c9;const _0x105b2b=this[_0x37b224(0x121)]['interceptor'][_0x37b224(0x359)](this[_0x37b224(0x121)][_0x37b224(0x395)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x461bb0[_0x37b224(0x1c6)],null)||_0x461bb0['mutations'];return{..._0x461bb0,'mutations':_0x105b2b};});this[_0x20e9c9(0x407)](),this[_0x20e9c9(0x381)](this[_0x20e9c9(0x21a)]['onMissedChangesetFetched'](_0xf5680c)),this['_unlockTransition']();}[_0x27d9cd(0x26a)](){var _0x3bb9d5=_0x27d9cd;this[_0x3bb9d5(0x407)](),this[_0x3bb9d5(0x381)](this['_state'][_0x3bb9d5(0x109)]()),this[_0x3bb9d5(0x400)]();}[_0x27d9cd(0x3b2)](_0x55db0d=!0x1){var _0xfb2a56=_0x27d9cd;this[_0xfb2a56(0x407)](),this[_0xfb2a56(0x381)](this[_0xfb2a56(0x21a)][_0xfb2a56(0x101)]()),this['_unlockTransition']();const _0x31dfc6=this[_0xfb2a56(0x21a)];_0x55db0d&&_0x31dfc6 instanceof _0x190799[_0xfb2a56(0x485)]&&(this['_lockTransition'](),this[_0xfb2a56(0x381)](_0x31dfc6[_0xfb2a56(0x3a5)]()),this[_0xfb2a56(0x400)]());}async[_0x27d9cd(0x29c)](){return new Promise(_0x28d5d9=>{var _0x3f71f2=_0x479e;this[_0x3f71f2(0x3fe)][_0x3f71f2(0x2a8)][_0x3f71f2(0x15f)](_0x3b002d['take'](0x1))[_0x3f71f2(0x316)](async _0x573aea=>{var _0x38a36c=_0x3f71f2;_0x28d5d9(await this['_createInitialStateImpl'](_0x573aea===_0xe17649[_0x38a36c(0x318)]));});});}[_0x27d9cd(0x304)](){var _0xe3d325=_0x27d9cd;const _0x16fe55=this[_0xe3d325(0x114)];return{'onStateChange':(_0x4d0df6,_0x1517d0)=>{var _0x4c11f0=_0xe3d325;if(_0x4d0df6!==this['_state'])throw new Error(_0x4c11f0(0x162)+_0x4d0df6[_0x4c11f0(0x1c1)]+'\x0aAfter:\x20'+_0x1517d0['status']+'\x0aCurrent:\x20'+this[_0x4c11f0(0x21a)][_0x4c11f0(0x1c1)]);this['_updateState'](_0x1517d0);},'onSendChangeset':_0x236aa5=>{var _0x3c2618=_0xe3d325;_0x236aa5['sid']||(_0x236aa5[_0x3c2618(0x2ce)]=this[_0x3c2618(0x1e6)],_0x236aa5[_0x3c2618(0x31c)]=++this[_0x3c2618(0x189)]);const _0x203bbe={'eventID':_0x5a8633[_0x3c2618(0x1ca)][_0x3c2618(0x3cd)],'data':{'unitID':_0x236aa5[_0x3c2618(0x114)],'unitType':this[_0x3c2618(0x1b6)],'changeset':_0x236aa5,'memberID':this[_0x3c2618(0x3fe)]['getMemberID']()}};this[_0x3c2618(0x3fe)]['send'](_0x203bbe,this[_0x3c2618(0x114)]);},'onMissingChangesets':({from:_0x3c7eae,to:_0x390f04})=>{var _0x50f1cd=_0xe3d325;this['_logService'][_0x50f1cd(0x176)](_0x50f1cd(0x29e),_0x50f1cd(0x3e9)+_0x3c7eae+_0x50f1cd(0x354)+_0x390f04);const _0x3b9e4b={'eventID':_0x5a8633['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x16fe55,'unitType':this[_0x50f1cd(0x1b6)],'from':_0x3c7eae,'to':_0x390f04}};this[_0x50f1cd(0x3fe)][_0x50f1cd(0x119)](_0x3b9e4b,this[_0x50f1cd(0x114)]);}};}async[_0x27d9cd(0x402)](_0x3c77a8){var _0x5a7f8c=_0x27d9cd,_0x36d219,_0x205253,_0x594e66;const _0x2ada21=await((_0x36d219=this[_0x5a7f8c(0x22d)])==null?void 0x0:_0x36d219[_0x5a7f8c(0x254)](this['unitID'])),_0x4b23bd=(_0x205253=_0x2ada21==null?void 0x0:_0x2ada21['mutations'])!=null?_0x205253:[],_0x47ae90=(_0x594e66=_0x2ada21==null?void 0x0:_0x2ada21[_0x5a7f8c(0x103)])!=null?_0x594e66:null,_0x37b27a=!!(_0x47ae90!=null&&_0x47ae90[_0x5a7f8c(0x2ce)])&&!!(_0x47ae90!=null&&_0x47ae90['reqId']);this[_0x5a7f8c(0x1e6)]=_0x37b27a?_0x47ae90[_0x5a7f8c(0x2ce)]:_0x5a8633[_0x5a7f8c(0x1d7)](),this[_0x5a7f8c(0x189)]=_0x37b27a?_0x47ae90['reqId']:0x0;const _0x36615f=this[_0x5a7f8c(0x114)];try{this[_0x5a7f8c(0x2c8)](_0x47ae90,_0x4b23bd);}catch(_0x3ef166){this['_logService'][_0x5a7f8c(0x25e)](_0x3ef166);}const _0x441652=this[_0x5a7f8c(0x304)]();if(_0x3c77a8){const _0xb8138b=_0x54b301(this['_injector'],_0x36615f,this[_0x5a7f8c(0x1b6)],_0x47ae90,_0x4b23bd,_0x441652);return _0xb8138b instanceof _0x190799[_0x5a7f8c(0x3e5)]?_0xb8138b[_0x5a7f8c(0x3bd)]():(_0xb8138b instanceof _0x190799[_0x5a7f8c(0x1d4)]||_0xb8138b instanceof _0x190799[_0x5a7f8c(0x1dd)])&&_0xb8138b[_0x5a7f8c(0x48e)](),_0xb8138b;}return this[_0x5a7f8c(0x3d5)][_0x5a7f8c(0x264)](_0x190799[_0x5a7f8c(0x48b)],_0x36615f,this[_0x5a7f8c(0x1b6)],_0x47ae90,_0x4b23bd,_0x441652);}['_replayCachedMutations'](_0x383b5b,_0x175580){var _0x442799=_0x27d9cd,_0x21fdf6,_0x42457d;const _0x183485=this['_compressMutationService'][_0x442799(0x395)][_0x442799(0x359)](this['_compressMutationService'][_0x442799(0x395)][_0x442799(0x211)]()[_0x442799(0x422)]);(_0x21fdf6=_0x183485((_0x383b5b==null?void 0x0:_0x383b5b[_0x442799(0x1c6)])||[],null))==null||_0x21fdf6[_0x442799(0x266)](_0x228528=>this['_commandService'][_0x442799(0x25d)](_0x228528['id'],_0x228528[_0x442799(0x300)])),(_0x42457d=_0x183485(_0x175580||[],null))==null||_0x42457d[_0x442799(0x266)](_0x4bb88f=>this[_0x442799(0x267)][_0x442799(0x25d)](_0x4bb88f['id'],_0x4bb88f[_0x442799(0x300)]));}},_0x190799['CollaborationEntity']=_0x51a4d0([_0x1b6f50(0x3,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x1b6f50(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x120)])),_0x1b6f50(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x2ba)])),_0x1b6f50(0x6,_0xecd3bb['Inject'](_0x5a8633[_0x27d9cd(0x344)])),_0x1b6f50(0x7,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x1b6f50(0x8,_0xecd3bb[_0x27d9cd(0x104)]),_0x1b6f50(0x9,_0xecd3bb['ILogService']),_0x1b6f50(0xa,_0xecd3bb[_0x27d9cd(0x48d)]),_0x1b6f50(0xb,_0xecd3bb[_0x27d9cd(0x321)]),_0x1b6f50(0xc,_0xecd3bb['Optional'](_0x4a5240)),_0x1b6f50(0xd,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799['CollaborationEntity']),_0x190799['DocCollaborationEntity']=class extends _0x190799[_0x27d9cd(0x3dd)]{constructor(_0x4c3451,_0x2cf909,_0x3fe64d,_0x57ffed,_0x28f406,_0x26f0ea,_0x4bd10f,_0x599a86,_0x4c557a,_0x21a221,_0x5882b5,_0x6b1df4,_0x13cfdc,_0x384f5c){var _0x466ac5=_0x27d9cd;super(_0x4c3451,_0x3fe64d,_0x2cf909,_0x57ffed,_0x28f406,_0x26f0ea,_0x4bd10f,_0x599a86,_0x4c557a,_0x21a221,_0x5882b5,_0x6b1df4,_0x13cfdc,_0x384f5c),_0x45ccb1(this,_0x466ac5(0x2fb),null),(this[_0x466ac5(0x114)]=_0x4c3451,this[_0x466ac5(0x430)]=_0x2cf909);}[_0x27d9cd(0x1e2)](_0x41d2dc){this['_handlerCallback']=_0x41d2dc;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}[_0x27d9cd(0x304)](){var _0x226afe=_0x27d9cd;const _0x444e92=super[_0x226afe(0x304)]();return _0x444e92['onTransformIME']=_0x349bb7=>{var _0x19ab88=_0x226afe,_0xe74608,_0xf4771b;return(_0xf4771b=(_0xe74608=this[_0x19ab88(0x2fb)])==null?void 0x0:_0xe74608['onTransformIME'])==null?void 0x0:_0xf4771b[_0x19ab88(0x281)](_0xe74608,_0x349bb7);},_0x444e92['onTransformState']=_0x421247=>{var _0x6248b7=_0x226afe,_0x1b442f,_0x4bec89;return(_0x4bec89=(_0x1b442f=this[_0x6248b7(0x2fb)])==null?void 0x0:_0x1b442f['onTransformState'])==null?void 0x0:_0x4bec89[_0x6248b7(0x281)](_0x1b442f,_0x421247);},_0x444e92[_0x226afe(0x334)]=_0x466beb=>{var _0x2b614f=_0x226afe,_0x365e4b,_0x25a620;return(_0x25a620=(_0x365e4b=this[_0x2b614f(0x2fb)])==null?void 0x0:_0x365e4b[_0x2b614f(0x334)])==null?void 0x0:_0x25a620[_0x2b614f(0x281)](_0x365e4b,_0x466beb);},_0x444e92[_0x226afe(0x3f8)]=_0xa3a43=>{var _0x4b5517=_0x226afe,_0x4f7740,_0x2cc324;return(_0x2cc324=(_0x4f7740=this[_0x4b5517(0x2fb)])==null?void 0x0:_0x4f7740[_0x4b5517(0x3f8)])==null?void 0x0:_0x2cc324[_0x4b5517(0x281)](_0x4f7740,_0xa3a43);},_0x444e92[_0x226afe(0x319)]=_0x55acb1=>{var _0x522010=_0x226afe,_0x452c75,_0x27de86,_0xefc3b;if(!((_0x452c75=this[_0x522010(0x2fb)])!=null&&_0x452c75[_0x522010(0x319)]))throw new Error(_0x522010(0x34a));return(_0xefc3b=(_0x27de86=this['_handlerCallback'])==null?void 0x0:_0x27de86[_0x522010(0x319)])==null?void 0x0:_0xefc3b['call'](_0x27de86,_0x55acb1);},_0x444e92[_0x226afe(0x42b)]=_0x4c63df=>{var _0x1ed4eb=_0x226afe,_0x24b934,_0x32bea2,_0x5bd144;if(!((_0x24b934=this[_0x1ed4eb(0x2fb)])!=null&&_0x24b934[_0x1ed4eb(0x42b)]))throw new Error(_0x1ed4eb(0x173));return(_0x5bd144=(_0x32bea2=this[_0x1ed4eb(0x2fb)])==null?void 0x0:_0x32bea2[_0x1ed4eb(0x42b)])==null?void 0x0:_0x5bd144[_0x1ed4eb(0x281)](_0x32bea2,_0x4c63df);},_0x444e92;}async[_0x27d9cd(0x27e)](){var _0x499783=_0x27d9cd;const _0x3e25e3=await super[_0x499783(0x27e)]();return this[_0x499783(0x17c)](this[_0x499783(0x267)][_0x499783(0x3c8)]((_0x59ad8f,_0x14eb62)=>{var _0x59d1da=_0x499783;if(_0x59ad8f[_0x59d1da(0x430)]!==_0xecd3bb[_0x59d1da(0x1f2)][_0x59d1da(0x172)]||_0x14eb62!=null&&_0x14eb62['fromCollab']||_0x14eb62!=null&&_0x14eb62[_0x59d1da(0x3cc)]||_0x59ad8f['id']===_0x306b12['RichTextEditingMutation']['id'])return;const _0xbe3339=_0x59ad8f['params'];if((_0xbe3339==null?void 0x0:_0xbe3339[_0x59d1da(0x18c)])!==this[_0x59d1da(0x114)])return;const _0x5152a1=_0x59ad8f,_0x2bfb96=this[_0x59d1da(0x121)]['interceptor'][_0x59d1da(0x359)](this[_0x59d1da(0x121)][_0x59d1da(0x395)]['getInterceptPoints']()[_0x59d1da(0x399)])([_0x5152a1],this['_univerInstanceService'])||[_0x5152a1];this[_0x59d1da(0x1f0)](_0x2bfb96[0x0]);})),_0x3e25e3;}},_0x190799[_0x27d9cd(0x3ae)]=_0x51a4d0([_0x1b6f50(0x3,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['Injector'])),_0x1b6f50(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x120)])),_0x1b6f50(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x2ba)])),_0x1b6f50(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x344)])),_0x1b6f50(0x7,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x1b6f50(0x8,_0xecd3bb[_0x27d9cd(0x104)]),_0x1b6f50(0x9,_0xecd3bb[_0x27d9cd(0x30e)]),_0x1b6f50(0xa,_0xecd3bb[_0x27d9cd(0x48d)]),_0x1b6f50(0xb,_0xecd3bb['IPermissionService']),_0x1b6f50(0xc,_0xecd3bb[_0x27d9cd(0x12d)](_0x4a5240)),_0x1b6f50(0xd,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799[_0x27d9cd(0x3ae)]),_0x190799[_0x27d9cd(0x12c)]=class extends _0x190799[_0x27d9cd(0x3dd)]{constructor(_0x3f5def,_0x2c5636,_0x2b9f1a,_0xe6460d,_0x579ac8,_0x371a72,_0xb844d4,_0x15b055,_0x328590,_0x38e4a7,_0x17fe77,_0x3dd344,_0xf2fc95,_0x4bc9bc,_0x65a89d){var _0x9d67bf=_0x27d9cd;super(_0x3f5def,_0x2b9f1a,_0x2c5636,_0xe6460d,_0x579ac8,_0x371a72,_0xb844d4,_0x328590,_0x38e4a7,_0x17fe77,_0x3dd344,_0xf2fc95,_0x4bc9bc,_0x65a89d),this[_0x9d67bf(0x114)]=_0x3f5def,this[_0x9d67bf(0x430)]=_0x2c5636,this['_sheetTransformSelectionsService']=_0x15b055;}['_createHandler'](){var _0x3e9d92=_0x27d9cd;const _0x48d390=super[_0x3e9d92(0x304)]();return _0x48d390['onTransformSelections']=_0x249e27=>this[_0x3e9d92(0x3be)][_0x3e9d92(0x22a)](_0x249e27),_0x48d390;}async[_0x27d9cd(0x27e)](){var _0x5f10fd=_0x27d9cd;const _0x1a5d38=await super[_0x5f10fd(0x27e)]();return this[_0x5f10fd(0x17c)](this[_0x5f10fd(0x267)][_0x5f10fd(0x3c8)]((_0xb98b07,_0x3188b1)=>{var _0x14e0ec=_0x5f10fd;if(_0xb98b07[_0x14e0ec(0x430)]!==_0xecd3bb['CommandType'][_0x14e0ec(0x172)]||_0x3188b1!=null&&_0x3188b1[_0x14e0ec(0x1b4)]||_0x3188b1!=null&&_0x3188b1[_0x14e0ec(0x3cc)])return;const _0xebf430=_0xb98b07[_0x14e0ec(0x300)];if((_0xebf430==null?void 0x0:_0xebf430[_0x14e0ec(0x18c)])!==this['unitID'])return;const _0x8ff97=_0xb98b07,_0x27a64e=this[_0x14e0ec(0x121)][_0x14e0ec(0x395)][_0x14e0ec(0x359)](this[_0x14e0ec(0x121)]['interceptor'][_0x14e0ec(0x211)]()[_0x14e0ec(0x399)])([_0x8ff97],this['_univerInstanceService'])||[_0x8ff97];this['_onLocalMutation'](_0x27a64e[0x0]);})),_0x1a5d38;}},_0x190799[_0x27d9cd(0x12c)]=_0x51a4d0([_0x1b6f50(0x3,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x1b6f50(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x120)])),_0x1b6f50(0x5,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x2ba)])),_0x1b6f50(0x6,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633['RevisionService'])),_0x1b6f50(0x7,_0xecd3bb['Inject'](_0x190799['SheetTransformSelectionsService'])),_0x1b6f50(0x8,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x1b6f50(0x9,_0xecd3bb['IUniverInstanceService']),_0x1b6f50(0xa,_0xecd3bb[_0x27d9cd(0x30e)]),_0x1b6f50(0xb,_0xecd3bb[_0x27d9cd(0x48d)]),_0x1b6f50(0xc,_0xecd3bb[_0x27d9cd(0x321)]),_0x1b6f50(0xd,_0xecd3bb[_0x27d9cd(0x12d)](_0x4a5240)),_0x1b6f50(0xe,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799[_0x27d9cd(0x12c)]);const _0x53c606=_0xecd3bb[_0x27d9cd(0x2f6)](_0x27d9cd(0x467));function _0x4414ba(_0x17f66e){var _0x37a44c=_0x27d9cd,_0x30a802,_0x56d5c1,_0x386fe9,_0x6e1343,_0xd08c02;const _0x5ad925=_0x17f66e['data'],_0x40aa59=JSON[_0x37a44c(0x21c)](_0x5ad925);switch(_0x40aa59[_0x37a44c(0x1e1)]){case _0x5958c6[_0x37a44c(0x12b)]:case _0x5958c6[_0x37a44c(0x3c1)]:{const _0x409c23=_0x40aa59[_0x37a44c(0x38e)];return{..._0x40aa59,'data':_0x409c23,'cmd':_0x40aa59[_0x37a44c(0x1e1)]};}case _0x5958c6['JOIN']:{const _0x4296fa=_0x40aa59[_0x37a44c(0x219)];return{..._0x40aa59,'data':_0x4296fa,'cmd':_0x40aa59[_0x37a44c(0x1e1)]};}case _0x5958c6['RECV']:{const _0x4b3602=_0x40aa59[_0x37a44c(0x122)];switch(_0x4b3602[_0x37a44c(0x2e3)]){case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x460)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':(_0x30a802=_0x4b3602[_0x37a44c(0x309)])==null?void 0x0:_0x30a802['cs']},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633['CollaborationEvent'][_0x37a44c(0x2b0)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':(_0x56d5c1=_0x4b3602[_0x37a44c(0x161)])==null?void 0x0:_0x56d5c1['cs']},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)]['NEW_CHANGESETS']:return{..._0x40aa59,'data':{..._0x4b3602,'data':(_0x386fe9=_0x4b3602['newCsEvent'])==null?void 0x0:_0x386fe9['cs']},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x233)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':(_0x6e1343=_0x4b3602[_0x37a44c(0x47a)])==null?void 0x0:_0x6e1343['cs']},'cmd':_0x40aa59['cmd']};case _0x5a8633[_0x37a44c(0x1ca)]['CHANGESET_SHOULD_RETRY']:return{..._0x40aa59,'data':{..._0x4b3602,'data':(_0xd08c02=_0x4b3602[_0x37a44c(0x15e)])==null?void 0x0:_0xd08c02['cs']},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x1d6)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0xff)]},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x174)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x272)]},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633['CollaborationEvent']['USERS_LEAVE']:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x34f)]},'cmd':_0x40aa59['cmd']};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x30f)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x24f)]},'cmd':_0x40aa59['cmd']};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x1e8)]:case _0x5a8633['CollaborationEvent'][_0x37a44c(0x167)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602['liveShareOperation']},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x387)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x24f)]},'cmd':_0x40aa59['cmd']};case _0x5a8633[_0x37a44c(0x1ca)]['MSG_FOR_ERROR']:return{..._0x40aa59,'data':_0x4b3602,'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633['CollaborationEvent'][_0x37a44c(0x49d)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x16c)]},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)][_0x37a44c(0x16f)]:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x124)]},'cmd':_0x40aa59['cmd']};case _0x5a8633[_0x37a44c(0x1ca)]['SHOULD_CLOSE_CONN']:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x164)]},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};case _0x5a8633[_0x37a44c(0x1ca)]['UNISCRIPT_RUN']:return{..._0x40aa59,'data':{..._0x4b3602,'data':_0x4b3602[_0x37a44c(0x3a4)]},'cmd':_0x40aa59[_0x37a44c(0x1e1)]};default:return _0x40aa59;}}default:return _0x40aa59;}}function _0xe15d3a(_0x3fadc2){var _0x47c4de=_0x27d9cd;switch(_0x3fadc2[_0x47c4de(0x1e1)]){case _0x5958c6[_0x47c4de(0x12b)]:case _0x5958c6[_0x47c4de(0x3c1)]:return JSON['stringify']({'cmd':_0x3fadc2['cmd'],'routeKey':_0x3fadc2[_0x47c4de(0x18a)]});case _0x5958c6[_0x47c4de(0x2d7)]:{let _0x5493ef;switch(_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x2e3)]){case _0x5a8633[_0x47c4de(0x1ca)]['UPDATE_CURSOR']:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x1d6)],'updateCursorEvent':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x36f)]:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x36f)],'leaveEvent':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x174)]:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)]['USERS_ENTER'],'joinEvent':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x30f)]:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)]['LIVESHARE_OPERATION']:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x3fadc2['data'][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x387)]:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x387)],'liveShareTerminate':_0x3fadc2[_0x47c4de(0x23d)]['data']};break;}case _0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x337)]:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x23d)]};break;}case _0x5a8633[_0x47c4de(0x1ca)]['LIVESHARE_FETCH_OPERATIONS']:{_0x5493ef={'eventID':_0x5a8633[_0x47c4de(0x1ca)][_0x47c4de(0x1e8)]};break;}default:_0x5493ef={'eventID':_0x3fadc2[_0x47c4de(0x23d)][_0x47c4de(0x2e3)]};}return JSON[_0x47c4de(0x38c)]({'cmd':_0x3fadc2[_0x47c4de(0x1e1)],'routeKey':_0x3fadc2['routeKey'],'collaMsg':_0x5493ef});}case _0x5958c6['JOIN']:return JSON[_0x47c4de(0x38c)]({'cmd':_0x3fadc2['cmd'],'routeKey':_0x3fadc2['routeKey'],'joinReq':_0x3fadc2['data']});case _0x5958c6['LEAVE']:return JSON[_0x47c4de(0x38c)]({'cmd':_0x3fadc2[_0x47c4de(0x1e1)],'routeKey':_0x3fadc2[_0x47c4de(0x18a)],'leaveReq':_0x3fadc2[_0x47c4de(0x23d)]});default:throw new Error(_0x47c4de(0x229));}}var _0xc4a0e8=Object['getOwnPropertyDescriptor'],_0x42e6f1=(_0x32e646,_0x418f58,_0x16a39f,_0x56b79f)=>{var _0x44bd97=_0x27d9cd;for(var _0x429941=_0x56b79f>0x1?void 0x0:_0x56b79f?_0xc4a0e8(_0x418f58,_0x16a39f):_0x418f58,_0x1c9de8=_0x32e646[_0x44bd97(0x3ea)]-0x1,_0x38d007;_0x1c9de8>=0x0;_0x1c9de8--)(_0x38d007=_0x32e646[_0x1c9de8])&&(_0x429941=_0x38d007(_0x429941)||_0x429941);return _0x429941;},_0x2103eb=(_0x51a974,_0x291d99)=>(_0x1d427a,_0x19fd6f)=>_0x291d99(_0x1d427a,_0x19fd6f,_0x51a974);const _0x3f811f=_0xecd3bb['createIdentifier'](_0x27d9cd(0x2d8));function _0x28edf5(_0x2baeb7,_0x2e2d3f,_0x2e7638){var _0x5270e5=_0x27d9cd;return _0x2baeb7+'/'+_0x2e2d3f+_0x5270e5(0x434)+_0x2e7638+_0x5270e5(0x45c);}_0x190799[_0x27d9cd(0x2a9)]=class extends _0xecd3bb['Disposable']{constructor(_0x57253c,_0x45df71,_0x193daa,_0x34c2dd,_0x3ada28){var _0x1543b9=_0x27d9cd;super(),this['_injector']=_0x57253c,this[_0x1543b9(0x1f5)]=_0x45df71,this[_0x1543b9(0x435)]=_0x193daa,this[_0x1543b9(0x200)]=_0x34c2dd,this[_0x1543b9(0x3b8)]=_0x3ada28;}[_0x27d9cd(0x365)](_0x1fb3b2){var _0x33de2f=_0x27d9cd;const _0x2d3fe3=this['_injector'][_0x33de2f(0x15d)](_0x3fafbd[_0x33de2f(0x252)]);if(!_0x2d3fe3)throw new Error(_0x33de2f(0x383));const _0x531dd9=_0x2d3fe3['createSocket'](_0x1fb3b2);if(!_0x531dd9)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5dd8a2=new _0xecd3bb[(_0x33de2f(0x328))](),_0x228529=new _0x3b002d[(_0x33de2f(0x26c))]();_0x5dd8a2[_0x33de2f(0x1e5)](_0x531dd9[_0x33de2f(0x2c1)][_0x33de2f(0x316)](_0x4060c6=>_0x228529['next'](_0x4060c6))),_0x5dd8a2['add'](_0xecd3bb[_0x33de2f(0x13a)](()=>_0x228529[_0x33de2f(0x2e4)]()));const _0x557681=new _0x3b002d['Subject']();_0x5dd8a2['add'](_0x531dd9[_0x33de2f(0x143)]['subscribe'](_0x54a9db=>_0x557681[_0x33de2f(0x3f9)](_0x54a9db))),_0x5dd8a2[_0x33de2f(0x1e5)](_0xecd3bb[_0x33de2f(0x13a)](()=>_0x557681['complete']()));const _0x1c533f=new _0x3b002d['Subject']();_0x5dd8a2[_0x33de2f(0x1e5)](_0x531dd9[_0x33de2f(0x2f3)]['subscribe'](_0x4a6bdb=>{const _0x1fcb16=_0x4414ba(_0x4a6bdb);_0x1c533f['next'](_0x1fcb16);})),_0x5dd8a2[_0x33de2f(0x1e5)](_0xecd3bb[_0x33de2f(0x13a)](()=>_0x1c533f['complete']()));let _0x394e41;const _0x2cb360=()=>{var _0x57ce73=_0x33de2f;_0x557681[_0x57ce73(0x3f9)](new Event('connection\x20error')),_0x228529['next'](new Event('connection\x20error')),_0x394e41[_0x57ce73(0x1b3)]();};return _0x394e41={'memberID':'','close$':_0x228529['asObservable'](),'error$':_0x557681[_0x33de2f(0x3d0)](),'open$':_0x531dd9['open$'],'message$':_0x1c533f['asObservable'](),'send':_0x52f0e5=>{var _0x2b7ed4=_0x33de2f;if(_0x52f0e5[_0x2b7ed4(0x1e1)]===_0x5958c6['INGEST']){if(_0x52f0e5[_0x2b7ed4(0x23d)][_0x2b7ed4(0x2e3)]===_0x5a8633[_0x2b7ed4(0x1ca)][_0x2b7ed4(0x3cd)]){this['_submitChangeset'](_0x394e41,_0x52f0e5[_0x2b7ed4(0x23d)])['catch'](_0x433147=>{var _0x21a288=_0x2b7ed4;this[_0x21a288(0x200)][_0x21a288(0x25e)](_0x433147),_0x2cb360();});return;}if(_0x52f0e5['data'][_0x2b7ed4(0x2e3)]===_0x5a8633[_0x2b7ed4(0x1ca)][_0x2b7ed4(0x248)]){const _0x46249a=_0x52f0e5[_0x2b7ed4(0x23d)];this[_0x2b7ed4(0x265)](_0x46249a)[_0x2b7ed4(0x10c)](_0x292b64=>{var _0x368675=_0x2b7ed4;_0x1c533f[_0x368675(0x3f9)]({'cmd':_0x5958c6[_0x368675(0x152)],'code':_0x5a152d['OK'],'routeKey':_0x46249a[_0x368675(0x23d)][_0x368675(0x114)],'routeType':'','data':{'eventID':_0x5a8633['CollaborationEvent'][_0x368675(0x2cb)],'data':{'changesets':_0x292b64}}});})['catch'](_0x18321a=>{var _0x1a579f=_0x2b7ed4;this[_0x1a579f(0x200)][_0x1a579f(0x25e)](_0x18321a),_0x2cb360();});return;}}_0x531dd9[_0x2b7ed4(0x119)](_0xe15d3a(_0x52f0e5));},'close':()=>{var _0x3f2ff2=_0x33de2f;_0x531dd9['close'](),_0x5dd8a2[_0x3f2ff2(0x380)]();}},_0x394e41;}async[_0x27d9cd(0xfb)](_0x5a52c1,_0x987f48){var _0x16204d=_0x27d9cd,_0x3262f4;const {unitType:_0x1b0b34,unitID:_0x57bc1f,changeset:_0x2e667b}=_0x987f48[_0x16204d(0x23d)],_0x23a869={'unitID':_0x57bc1f,'memberID':_0x5a52c1[_0x16204d(0x2c3)],'type':_0x1b0b34,'changeset':_0x5a8633[_0x16204d(0x379)](_0x2e667b)},_0x246d63=this['_configService'][_0x16204d(0x36e)](_0xa270ad),_0x4b0a51=_0x28edf5((_0x3262f4=_0x246d63==null?void 0x0:_0x246d63['collabSubmitChangesetUrl'])!=null?_0x3262f4:_0x1b64ed,_0x1b0b34,_0x57bc1f);try{await this[_0x16204d(0x1f5)]['post'](_0x4b0a51,{'body':_0x23a869});}catch(_0x9eaa58){throw this[_0x16204d(0x200)][_0x16204d(0x25e)]('[CollaborationSession]',_0x16204d(0x1b1)),_0x9eaa58;}}async[_0x27d9cd(0x265)](_0x8f3137){var _0x5cbdad=_0x27d9cd;const {unitID:_0x3515cd,from:_0x8455d5,to:_0x2d69ba,unitType:_0x2f021c}=_0x8f3137[_0x5cbdad(0x23d)];return(await this[_0x5cbdad(0x3b8)][_0x5cbdad(0x389)]({'metadata':void 0x0},{'unitID':_0x3515cd,'type':_0x2f021c,'from':_0x8455d5,'to':_0x2d69ba}))[_0x5cbdad(0x221)]['map'](_0x297567=>((_0x297567['mutations']===null||_0x297567[_0x5cbdad(0x1c6)]===void 0x0)&&(_0x297567['mutations']=[]),_0x297567));}},_0x190799[_0x27d9cd(0x2a9)]=_0x42e6f1([_0x2103eb(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x2103eb(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x3fafbd['HTTPService'])),_0x2103eb(0x2,_0xecd3bb[_0x27d9cd(0x34d)]),_0x2103eb(0x3,_0xecd3bb[_0x27d9cd(0x30e)]),_0x2103eb(0x4,_0x5a8633[_0x27d9cd(0x30d)])],_0x190799[_0x27d9cd(0x2a9)]);var _0x4409e9=Object['getOwnPropertyDescriptor'],_0x7aa854=(_0x400193,_0x5d0082,_0x4f6bf2,_0x42d0dc)=>{var _0x4de1bf=_0x27d9cd;for(var _0x5acc2f=_0x42d0dc>0x1?void 0x0:_0x42d0dc?_0x4409e9(_0x5d0082,_0x4f6bf2):_0x5d0082,_0x2e2d04=_0x400193[_0x4de1bf(0x3ea)]-0x1,_0xe7eea2;_0x2e2d04>=0x0;_0x2e2d04--)(_0xe7eea2=_0x400193[_0x2e2d04])&&(_0x5acc2f=_0xe7eea2(_0x5acc2f)||_0x5acc2f);return _0x5acc2f;},_0x365e29=(_0x580158,_0x16d203)=>(_0x220e50,_0x557233)=>_0x16d203(_0x220e50,_0x557233,_0x580158);_0x190799[_0x27d9cd(0x394)]=class extends _0xecd3bb[_0x27d9cd(0x1af)]{constructor(_0x503d0b,_0xa19621,_0x5ab3cb,_0x561cc6,_0x344e12,_0x10514b){var _0x34d73a=_0x27d9cd;super(),_0x45ccb1(this,_0x34d73a(0x21b),new _0x3b002d[(_0x34d73a(0x131))](void 0x0)),_0x45ccb1(this,'socket$',this[_0x34d73a(0x21b)][_0x34d73a(0x3d0)]()),_0x45ccb1(this,'_candidateSocket',null),_0x45ccb1(this,_0x34d73a(0x1a6),new Map()),_0x45ccb1(this,_0x34d73a(0x291),new _0x3b002d[(_0x34d73a(0x131))](_0xe17649[_0x34d73a(0x181)])),_0x45ccb1(this,_0x34d73a(0x436),this[_0x34d73a(0x291)][_0x34d73a(0x3d0)]()),_0x45ccb1(this,_0x34d73a(0x32a),!0x1),_0x45ccb1(this,'_retryConnectingTimer'),_0x45ccb1(this,_0x34d73a(0x465),0x0),_0x45ccb1(this,'_sendHeartbeatTimer'),_0x45ccb1(this,_0x34d73a(0x3ff)),(this[_0x34d73a(0x3d5)]=_0x503d0b,this['_logService']=_0xa19621,this[_0x34d73a(0x435)]=_0x5ab3cb,this[_0x34d73a(0x3de)]=_0x561cc6,this[_0x34d73a(0x2de)]=_0x344e12,this[_0x34d73a(0x2ab)]=_0x10514b,this[_0x34d73a(0x21d)]());}get[_0x27d9cd(0x35a)](){var _0x3704fc=_0x27d9cd;return this[_0x3704fc(0x21b)][_0x3704fc(0x429)]();}[_0x27d9cd(0x21d)](){var _0x4b915c=_0x27d9cd;this['_networkConditionService']&&this[_0x4b915c(0x17c)](this['_networkConditionService'][_0x4b915c(0x333)][_0x4b915c(0x316)](_0x4c3bbc=>{var _0x45683c=_0x4b915c;_0x4c3bbc&&!this[_0x45683c(0x35a)]&&this[_0x45683c(0x37f)](),_0x4c3bbc||this['_onOffline']();}));}[_0x27d9cd(0x380)](){var _0x5b400c=_0x27d9cd;super['dispose'](),this[_0x5b400c(0x44d)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x5b400c(0x1a6)][_0x5b400c(0x266)](_0x18f1e3=>_0x18f1e3['dispose']()),this[_0x5b400c(0x1a6)][_0x5b400c(0x2aa)](),this[_0x5b400c(0x291)][_0x5b400c(0x2e4)]();}async[_0x27d9cd(0x420)](_0x56aaaa){var _0x1cc9de=_0x27d9cd;if(this[_0x1cc9de(0x1a6)][_0x1cc9de(0x1c8)](_0x56aaaa))return this['_sessions'][_0x1cc9de(0x15d)](_0x56aaaa);this['_tryEnsureSocket']();const _0x50e03c=this[_0x1cc9de(0x3d5)]['createInstance'](_0x190799[_0x1cc9de(0x1a3)],_0x56aaaa,this[_0x1cc9de(0x21b)][_0x1cc9de(0x3d0)]());return this[_0x1cc9de(0x1a6)][_0x1cc9de(0x2fa)](_0x56aaaa,_0x50e03c),_0x50e03c;}['closeSession'](_0x476360){var _0x2a11be=_0x27d9cd,_0xc1e2f6;const _0x4e3f69=this[_0x2a11be(0x1a6)]['get'](_0x476360);_0x4e3f69&&(this[_0x2a11be(0x1a6)][_0x2a11be(0x297)](_0x476360),_0x4e3f69[_0x2a11be(0x1b3)]()),this[_0x2a11be(0x1a6)][_0x2a11be(0x401)]||(_0xc1e2f6=this['_socket'])==null||_0xc1e2f6[_0x2a11be(0x1b3)]();}['reconnect'](){var _0x4896a5=_0x27d9cd;this[_0x4896a5(0x465)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x4896a5(0x368)]();}[_0x27d9cd(0x44d)](){var _0x530bcc=_0x27d9cd;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x530bcc(0x288)]),this[_0x530bcc(0x288)]=null);}async[_0x27d9cd(0x1c2)](){var _0xa75c29=_0x27d9cd,_0xcb4c21;const _0x56aba7=this[_0xa75c29(0x435)][_0xa75c29(0x36e)](_0xa270ad),_0x3dc46f=(_0xcb4c21=_0x56aba7==null?void 0x0:_0x56aba7[_0xa75c29(0x2fe)])!=null?_0xcb4c21:_0x4aed1f,_0x228640=await this['_socketService']['createSocket'](_0x3dc46f);return this[_0xa75c29(0x448)]=_0x228640,_0x228640;}async[_0x27d9cd(0x438)](){var _0x22138c=_0x27d9cd,_0x340ebe,_0x169f8f;try{const _0x4a2b7f=(_0x169f8f=(_0x340ebe=this[_0x22138c(0x35a)])!=null?_0x340ebe:this[_0x22138c(0x448)])!=null?_0x169f8f:await this[_0x22138c(0x1c2)]();if(_0x4a2b7f){const _0x19a027=_0x4a2b7f[_0x22138c(0x119)];_0x4a2b7f[_0x22138c(0x119)]=_0x23340b=>(this[_0x22138c(0x299)](),_0x19a027[_0x22138c(0x1fc)](_0x4a2b7f,[_0x23340b])),_0x4a2b7f[_0x22138c(0x2f3)]['subscribe'](_0x5466c5=>this[_0x22138c(0x3bc)](_0x4a2b7f,_0x5466c5)),_0x4a2b7f[_0x22138c(0x143)][_0x22138c(0x15f)](_0x42edf7[_0x22138c(0x11e)](0x1))[_0x22138c(0x316)](_0x7a1c44=>this[_0x22138c(0x200)][_0x22138c(0x25e)]('[CollaborationSessionService]:\x20socket\x20error',_0x7a1c44)),_0x4a2b7f[_0x22138c(0x1f8)][_0x22138c(0x15f)](_0x42edf7[_0x22138c(0x11e)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x4a2b7f);}),_0x4a2b7f[_0x22138c(0x2c1)][_0x22138c(0x15f)](_0x42edf7[_0x22138c(0x11e)](0x1))[_0x22138c(0x316)](_0x50c9fd=>{var _0x5c32d0=_0x22138c;this[_0x5c32d0(0x200)][_0x5c32d0(0x176)](_0x5c32d0(0x20b),_0x5c32d0(0x3b0),_0x50c9fd),this[_0x5c32d0(0x1f4)]();});}}catch(_0x576c67){this[_0x22138c(0x200)][_0x22138c(0x25e)](_0x576c67),this['_onConnectionFailed']();}}[_0x27d9cd(0x40d)](_0x732ed5){var _0x29dcc=_0x27d9cd;this[_0x29dcc(0x200)][_0x29dcc(0x176)](_0x29dcc(0x20b),'socket\x20open.'),_0x732ed5[_0x29dcc(0x119)]({'cmd':_0x5958c6[_0x29dcc(0x3c1)]}),this[_0x29dcc(0x299)]();}['_onOffline'](){var _0x47fea7=_0x27d9cd;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x47fea7(0x291)]['next'](_0xe17649[_0x47fea7(0x47c)]),this['_socket$'][_0x47fea7(0x3f9)](null),this[_0x47fea7(0x163)](),this['_clearHeartbeatTimer']();}[_0x27d9cd(0x1f4)](){var _0x521454=_0x27d9cd,_0x581bb4;this[_0x521454(0x16b)](),this[_0x521454(0x465)]<((_0x581bb4=this[_0x521454(0x435)][_0x521454(0x36e)](_0x2b73c1))!=null?_0x581bb4:0x3)?(this['_collaborationUIEventService'][_0x521454(0x2eb)]({'id':_0x1af2c4[_0x521454(0x2c4)]}),this[_0x521454(0x368)]()):this[_0x521454(0x2de)][_0x521454(0x2eb)]({'id':_0x1af2c4['SOCKET_FAILED']});}[_0x27d9cd(0x368)](){var _0x215f23=_0x27d9cd,_0x259273;const _0x435c4f=this[_0x215f23(0x465)],_0x31f16b=this[_0x215f23(0x435)]['getConfig'](_0xa270ad),_0x34f756=_0x435c4f===0x0?0x0:((_0x259273=_0x31f16b==null?void 0x0:_0x31f16b['retryConnectingInterval'])!=null?_0x259273:0x4e20)*0x2**_0x435c4f;this[_0x215f23(0x288)]=setTimeout(()=>{var _0x16bcc7=_0x215f23;clearTimeout(this[_0x16bcc7(0x288)]),this['_retryConnectingTimer']=null,this[_0x16bcc7(0x438)]();},_0x34f756),this[_0x215f23(0x465)]+=0x1;}[_0x27d9cd(0x3bc)](_0x25ac29,_0x589dbd){var _0x40d6d9=_0x27d9cd;const {cmd:_0x33dd05}=_0x589dbd;_0x33dd05===_0x5958c6['HELLO']&&!this['_socketReady']&&(_0x25ac29['memberID']=_0x589dbd[_0x40d6d9(0x23d)][_0x40d6d9(0x2c3)],this[_0x40d6d9(0x21b)][_0x40d6d9(0x3f9)](_0x25ac29),this[_0x40d6d9(0x291)][_0x40d6d9(0x3f9)](_0xe17649[_0x40d6d9(0x318)]),this['_socketReady']=!0x0,this[_0x40d6d9(0x448)]=null),_0x33dd05===_0x5958c6[_0x40d6d9(0x12b)]&&this[_0x40d6d9(0x163)](),this['_rescheduleHeartbeat']();}[_0x27d9cd(0x299)](){var _0x9c04e9=_0x27d9cd,_0x3edac5;this[_0x9c04e9(0x13c)](),this[_0x9c04e9(0x42c)]=setTimeout(()=>this[_0x9c04e9(0x2e6)](),(_0x3edac5=this['_configService'][_0x9c04e9(0x36e)](_0x5b9780))!=null?_0x3edac5:0x7530);}['_sendHeartbeat'](){var _0x962aa0=_0x27d9cd;this[_0x962aa0(0x35a)][_0x962aa0(0x119)]({'cmd':_0x5958c6[_0x962aa0(0x12b)]}),this[_0x962aa0(0x308)]();}['_waitForHeartbeatResponse'](){var _0x27a431=_0x27d9cd,_0x29da60;this[_0x27a431(0x3ff)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x29da60=this[_0x27a431(0x435)]['getConfig'](_0x251bae))!=null?_0x29da60:0x4e20);}[_0x27d9cd(0x13c)](){var _0x1718e9=_0x27d9cd;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1718e9(0x42c)]=null);}[_0x27d9cd(0x163)](){var _0x5a7064=_0x27d9cd;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5a7064(0x3ff)]),this[_0x5a7064(0x3ff)]=null);}},_0x190799['CollaborationSessionService']=_0x7aa854([_0x365e29(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb['Injector'])),_0x365e29(0x1,_0xecd3bb[_0x27d9cd(0x30e)]),_0x365e29(0x2,_0xecd3bb[_0x27d9cd(0x34d)]),_0x365e29(0x3,_0x3f811f),_0x365e29(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80)),_0x365e29(0x5,_0xecd3bb[_0x27d9cd(0x12d)](_0x53c606))],_0x190799[_0x27d9cd(0x394)]);var _0x2d4509=Object['getOwnPropertyDescriptor'],_0x822a80=(_0x45f1ca,_0x5e3978,_0x223ebc,_0x227596)=>{var _0x2209db=_0x27d9cd;for(var _0x30354e=_0x227596>0x1?void 0x0:_0x227596?_0x2d4509(_0x5e3978,_0x223ebc):_0x5e3978,_0xe2c8e7=_0x45f1ca[_0x2209db(0x3ea)]-0x1,_0x3fc1cd;_0xe2c8e7>=0x0;_0xe2c8e7--)(_0x3fc1cd=_0x45f1ca[_0xe2c8e7])&&(_0x30354e=_0x3fc1cd(_0x30354e)||_0x30354e);return _0x30354e;},_0x21fa9b=(_0x4c3525,_0x352267)=>(_0x2c5d29,_0x55fc5b)=>_0x352267(_0x2c5d29,_0x55fc5b,_0x4c3525);_0x190799[_0x27d9cd(0x245)]=class extends _0xecd3bb['RxDisposable']{constructor(_0x14f80b,_0x316340,_0x55d68a,_0x5a343a){var _0x348602=_0x27d9cd,_0x3d1af7;super(),_0x45ccb1(this,_0x348602(0x432),new Map()),_0x45ccb1(this,'_entityInit$',new _0x3b002d[(_0x348602(0x26c))]()),_0x45ccb1(this,_0x348602(0x375),this[_0x348602(0x2dc)][_0x348602(0x3d0)]()),(this['_injector']=_0x14f80b,this[_0x348602(0x371)]=_0x316340,this[_0x348602(0x435)]=_0x55d68a,this[_0x348602(0x3c6)]=_0x5a343a,((_0x3d1af7=this[_0x348602(0x435)]['getConfig'](_0xa270ad))==null?void 0x0:_0x3d1af7['enableCollaboration'])!==!0x1&&this[_0x348602(0x27e)]());}[_0x27d9cd(0x380)](){var _0x103665=_0x27d9cd;super[_0x103665(0x380)](),this['_entities']['forEach'](_0xc86b59=>_0xc86b59[_0x103665(0x380)]()),this['_entities'][_0x103665(0x2aa)]();}[_0x27d9cd(0x463)](_0x494e8c){var _0x43bd70=_0x27d9cd,_0x1098bb;return(_0x1098bb=this[_0x43bd70(0x432)]['get'](_0x494e8c))!=null?_0x1098bb:null;}[_0x27d9cd(0x2be)](_0x57d84d){var _0x551355=_0x27d9cd;const _0x39bbdd=this[_0x551355(0x463)](_0x57d84d);return _0x39bbdd?_0x3b002d['of'](_0x39bbdd):this[_0x551355(0x2dc)]['pipe'](_0x42edf7[_0x551355(0x31b)](_0x36181b=>_0x36181b[_0x551355(0x114)]===_0x57d84d));}[_0x27d9cd(0x31a)](_0xa64f01){var _0x3c32e9=_0x27d9cd;return _0x3b002d[_0x3c32e9(0x133)](this[_0x3c32e9(0x2be)](_0xa64f01)[_0x3c32e9(0x15f)](_0x42edf7['map'](()=>{})));}[_0x27d9cd(0x27e)](){var _0x604e70=_0x27d9cd;this[_0x604e70(0x3c6)][_0x604e70(0x19a)](_0xecd3bb[_0x604e70(0x444)][_0x604e70(0x15b)])['pipe'](_0x3b002d[_0x604e70(0x106)](this[_0x604e70(0x27f)]),_0x42edf7['delay'](0x10))[_0x604e70(0x316)](async _0x1ded85=>{var _0x4494cc=_0x604e70;const _0x49113b=_0x1ded85['getUnitId'](),_0x5eba35=await this[_0x4494cc(0x247)](_0x49113b,_0x3bdfff[_0x4494cc(0x15b)]);this[_0x4494cc(0x432)][_0x4494cc(0x2fa)](_0x49113b,_0x5eba35);}),this[_0x604e70(0x3c6)][_0x604e70(0x19a)](_0xecd3bb[_0x604e70(0x444)][_0x604e70(0x374)])[_0x604e70(0x15f)](_0x3b002d[_0x604e70(0x106)](this[_0x604e70(0x27f)]),_0x42edf7[_0x604e70(0x2c6)](0x10))[_0x604e70(0x15f)](_0x42edf7[_0x604e70(0x31b)](_0x921430=>!_0x921430['getUnitId']()['startsWith']('__')))[_0x604e70(0x316)](async _0x463b31=>{var _0x280d31=_0x604e70;const _0x8aa872=_0x463b31[_0x280d31(0x279)](),_0x24a7b9=await this[_0x280d31(0x247)](_0x8aa872,_0x3bdfff[_0x280d31(0x374)]);this[_0x280d31(0x432)][_0x280d31(0x2fa)](_0x8aa872,_0x24a7b9);}),_0x3b002d[_0x604e70(0x2a5)](this['_univerInstanceService'][_0x604e70(0x1f6)](_0xecd3bb[_0x604e70(0x444)][_0x604e70(0x15b)]),this[_0x604e70(0x3c6)][_0x604e70(0x1f6)](_0xecd3bb[_0x604e70(0x444)][_0x604e70(0x374)]))[_0x604e70(0x15f)](_0x3b002d[_0x604e70(0x106)](this[_0x604e70(0x27f)]))[_0x604e70(0x316)](_0x38435f=>{var _0xf3aaf9=_0x604e70;const _0x268435=_0x38435f[_0xf3aaf9(0x279)](),_0x8cac36=this[_0xf3aaf9(0x432)][_0xf3aaf9(0x15d)](_0x268435);_0x8cac36&&(_0x8cac36[_0xf3aaf9(0x380)](),this['_entities']['delete'](_0x268435));});}async[_0x27d9cd(0x247)](_0x1c5c48,_0x58d8c3){var _0x2b01f7=_0x27d9cd;const _0x28fffd=await this[_0x2b01f7(0x371)]['requireSession'](_0x1c5c48),_0x15f870=this[_0x2b01f7(0x3d5)][_0x2b01f7(0x264)](this['_getCtorByUniverType'](_0x58d8c3),_0x1c5c48,_0x58d8c3,_0x28fffd);return await _0x15f870[_0x2b01f7(0x38f)](),this['_entityInit$'][_0x2b01f7(0x3f9)](_0x15f870),_0x15f870;}[_0x27d9cd(0x3c3)](_0x5ebce8){var _0x308e7e=_0x27d9cd;switch(_0x5ebce8){case _0x3bdfff[_0x308e7e(0x374)]:return _0x190799[_0x308e7e(0x3ae)];case _0x3bdfff[_0x308e7e(0x15b)]:return _0x190799[_0x308e7e(0x12c)];default:throw new Error(_0x308e7e(0x22e)+_0x5ebce8);}}},_0x190799[_0x27d9cd(0x245)]=_0x822a80([_0x21fa9b(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0x21fa9b(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x190799[_0x27d9cd(0x394)])),_0x21fa9b(0x2,_0xecd3bb[_0x27d9cd(0x34d)]),_0x21fa9b(0x3,_0xecd3bb[_0x27d9cd(0x104)])],_0x190799[_0x27d9cd(0x245)]);var _0x1d1787=Object[_0x27d9cd(0x49e)],_0x280f8a=(_0x31176a,_0x239c59,_0x4f31f1,_0x2b53b0)=>{var _0xa3388=_0x27d9cd;for(var _0x157740=_0x2b53b0>0x1?void 0x0:_0x2b53b0?_0x1d1787(_0x239c59,_0x4f31f1):_0x239c59,_0x549dcb=_0x31176a[_0xa3388(0x3ea)]-0x1,_0x58ecf5;_0x549dcb>=0x0;_0x549dcb--)(_0x58ecf5=_0x31176a[_0x549dcb])&&(_0x157740=_0x58ecf5(_0x157740)||_0x157740);return _0x157740;},_0x129899=(_0x5c9682,_0x4cdd96)=>(_0x107c12,_0x323b46)=>_0x4cdd96(_0x107c12,_0x323b46,_0x5c9682);const _0xb93054=_0x27d9cd(0x398),_0x18732a='Univer';let _0x5e7f79=class extends _0xecd3bb[_0x27d9cd(0x1af)]{constructor(_0x50208d,_0x2b9741){var _0x3232e6=_0x27d9cd;super(),this[_0x3232e6(0x3c6)]=_0x50208d,this[_0x3232e6(0x435)]=_0x2b9741,this[_0x3232e6(0x27e)]();}[_0x27d9cd(0x27e)](){var _0x311f32=_0x27d9cd;this[_0x311f32(0x17c)](this[_0x311f32(0x3c6)]['focused$'][_0x311f32(0x316)](()=>{var _0x3b4bd9=_0x311f32,_0xa2fd34;const _0x36c2b1=this[_0x3b4bd9(0x3c6)]['getFocusedUnit']();let _0x539301=(_0xa2fd34=this[_0x3b4bd9(0x435)][_0x3b4bd9(0x36e)](_0xb93054))!=null?_0xa2fd34:_0x18732a;_0x36c2b1 instanceof _0xecd3bb['Workbook']&&(_0x539301=_0x36c2b1[_0x3b4bd9(0x495)]),document[_0x3b4bd9(0x147)]=_0x539301;}));}};_0x5e7f79=_0x280f8a([_0x129899(0x0,_0xecd3bb['IUniverInstanceService']),_0x129899(0x1,_0xecd3bb[_0x27d9cd(0x34d)])],_0x5e7f79);var _0x254997=Object[_0x27d9cd(0x49e)],_0x2c033b=(_0x1311e7,_0x5c86fb,_0x388444,_0x4c0e05)=>{for(var _0x244191=_0x4c0e05>0x1?void 0x0:_0x4c0e05?_0x254997(_0x5c86fb,_0x388444):_0x5c86fb,_0x3414c8=_0x1311e7['length']-0x1,_0x11191a;_0x3414c8>=0x0;_0x3414c8--)(_0x11191a=_0x1311e7[_0x3414c8])&&(_0x244191=_0x11191a(_0x244191)||_0x244191);return _0x244191;},_0x1b7041=(_0xd3c1f2,_0x23d71d)=>(_0x4af3d6,_0x4fcf3)=>_0x23d71d(_0x4af3d6,_0x4fcf3,_0xd3c1f2);let _0xe53648=class{constructor(_0x4457b3,_0x41dd4d,_0x5b6c36){var _0x154c22=_0x27d9cd;this[_0x154c22(0x435)]=_0x4457b3,this[_0x154c22(0x1f5)]=_0x41dd4d,this[_0x154c22(0x453)]=_0x5b6c36,this['init']();}[_0x27d9cd(0x38f)](){var _0x5d538d=_0x27d9cd;this[_0x5d538d(0x1f5)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4c7310,_0x266834)=>_0x266834(_0x4c7310)[_0x5d538d(0x15f)](_0x3b002d[_0x5d538d(0x257)](async _0x319c3b=>{var _0x56e0f1=_0x5d538d;const _0x36d3ba=_0x319c3b;if(_0x36d3ba[_0x56e0f1(0x1c1)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x56e0f1(0x3cf)](this[_0x56e0f1(0x453)]['t'](_0x56e0f1(0x10d)))){const _0x458d70=window['encodeURIComponent'](window['location'][_0x56e0f1(0x20c)]);window['location']['href']=this[_0x56e0f1(0x472)]()+_0x56e0f1(0x117)+_0x458d70;}}return _0x36d3ba;}))});}['_getLoginPath'](){var _0x1c8b54=_0x27d9cd,_0x41e9db;const _0x2bdf92=this[_0x1c8b54(0x435)][_0x1c8b54(0x36e)](_0xa270ad);return(_0x41e9db=_0x2bdf92==null?void 0x0:_0x2bdf92['loginUrlKey'])!=null?_0x41e9db:_0x267162;}};_0xe53648=_0x2c033b([_0x1b7041(0x0,_0xecd3bb[_0x27d9cd(0x34d)]),_0x1b7041(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x3fafbd[_0x27d9cd(0x3d8)])),_0x1b7041(0x2,_0xecd3bb['Inject'](_0xecd3bb['LocaleService']))],_0xe53648);var _0x387bdd=Object[_0x27d9cd(0x49e)],_0x323a71=(_0x5b1dbc,_0xa41d90,_0x5b7482,_0x5772ae)=>{for(var _0x2dabc5=_0x5772ae>0x1?void 0x0:_0x5772ae?_0x387bdd(_0xa41d90,_0x5b7482):_0xa41d90,_0x36933a=_0x5b1dbc['length']-0x1,_0x20ef21;_0x36933a>=0x0;_0x36933a--)(_0x20ef21=_0x5b1dbc[_0x36933a])&&(_0x2dabc5=_0x20ef21(_0x2dabc5)||_0x2dabc5);return _0x2dabc5;},_0x34bf51=(_0x4da22e,_0xb4cf5e)=>(_0x54f995,_0x4cd6b6)=>_0xb4cf5e(_0x54f995,_0x4cd6b6,_0x4da22e);const _0x209456=_0x27d9cd(0x1aa);_0x190799[_0x27d9cd(0x34e)]=class extends _0xecd3bb[_0x27d9cd(0x1af)]{constructor(_0x39e8fe,_0x2d7fee){var _0x4dc40a=_0x27d9cd;super(),this[_0x4dc40a(0x2f8)]=_0x39e8fe,this[_0x4dc40a(0x435)]=_0x2d7fee,this[_0x4dc40a(0x111)]();}['_initMergeInterceptor'](){var _0x50a38f=_0x27d9cd;const _0x3fcd60=this;this[_0x50a38f(0x17c)](this[_0x50a38f(0x2f8)][_0x50a38f(0x2b7)]({'priority':0x3e7,'interceptor':_0x3fafbd['MergeInterceptorFactory']({'isMatch'(_0x84be92){var _0x33e801=_0x50a38f,_0x364271;if(_0x84be92['method']===_0x33e801(0x364)&&((_0x364271=_0x84be92['requestParams'])!=null&&_0x364271[_0x33e801(0x3df)])){const {objectID:_0x3b15f4,objectType:_0x23c268}=_0x84be92[_0x33e801(0x3b4)]['body']||{};if(!_0x3b15f4||_0x23c268===void 0x0)return!0x1;const _0x48643b=_0x3fcd60[_0x33e801(0x156)]()+'/'+_0x23c268+'/object/'+_0x3b15f4+_0x33e801(0x158);if(_0x84be92['url']===_0x48643b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51a9ce){var _0x57d4b9=_0x50a38f,_0x495eb7;return(_0x495eb7=_0x51a9ce[_0x57d4b9(0x3b4)])==null?void 0x0:_0x495eb7[_0x57d4b9(0x3df)];},'mergeParamsToRequest'(_0x1bbcb1,_0x701099){var _0x4f0374=_0x50a38f;const _0x125488=_0x3fcd60[_0x4f0374(0x156)]()+_0x4f0374(0x16d),_0x257d28=_0x1bbcb1[_0x4f0374(0x33c)]((_0x4f9bcd,_0x473f2c)=>{var _0x3f968b=_0x4f0374;const {unitID:_0x58e6b9,objectID:_0x43eae5,objectType:_0x40dd86,actions:_0x13d56c}=_0x473f2c;return _0x4f9bcd[_0x58e6b9]||(_0x4f9bcd[_0x58e6b9]={}),_0x4f9bcd[_0x58e6b9][_0x43eae5]||(_0x4f9bcd[_0x58e6b9][_0x43eae5]={'objectID':_0x43eae5,'objectType':_0x40dd86,'actions':[]}),_0x4f9bcd[_0x58e6b9][_0x43eae5][_0x3f968b(0x2bd)][_0x3f968b(0x484)](..._0x13d56c),_0x4f9bcd;},{}),_0x5cca17=[];for(const _0x36051a in _0x257d28)for(const _0x3fa1fa in _0x257d28[_0x36051a]){const {actions:_0x2ec886,objectType:_0xbf9a09}=_0x257d28[_0x36051a][_0x3fa1fa],_0x4148a6=[...new Set(_0x2ec886)];_0x5cca17[_0x4f0374(0x484)]({'unitID':_0x36051a,'objectID':_0x3fa1fa,'objectType':_0xbf9a09,'actions':_0x4148a6});}return new _0x3fafbd[(_0x4f0374(0x1a9))](_0x4f0374(0x364),_0x125488,{'headers':_0x701099[_0x4f0374(0x3a8)],'withCredentials':_0x701099[_0x4f0374(0x499)],'responseType':_0x701099[_0x4f0374(0x207)],'body':{'requests':_0x5cca17}});}},{'distributeResult'(_0x5d199b,_0x595be7){var _0x13cb19=_0x50a38f;const {objectActions:_0x508708}=_0x5d199b;return _0x595be7[_0x13cb19(0x14b)](_0x10f79a=>{var _0x5b05bd=_0x13cb19;const {unitID:_0x395a4f,objectID:_0x767a82,actions:_0x26fb92}=_0x10f79a,_0x148b0b=_0x508708[_0x5b05bd(0x496)](_0x3f20bd=>_0x3f20bd[_0x5b05bd(0x114)]===_0x395a4f&&_0x3f20bd[_0x5b05bd(0x1b8)]===_0x767a82),_0x2f6bb4=_0x26fb92[_0x5b05bd(0x14b)](_0x3ea2fc=>_0x148b0b==null?void 0x0:_0x148b0b['actions'][_0x5b05bd(0x496)](_0x54860a=>_0x54860a[_0x5b05bd(0x11a)]===_0x3ea2fc))[_0x5b05bd(0x31b)](_0x27a665=>!!_0x27a665);return{'config':_0x10f79a,'result':{'actions':_0x2f6bb4,'error':_0x5d199b[_0x5b05bd(0x25e)]}};});}})}));}['_getAPIPrefixPath'](){var _0x18c613=_0x27d9cd,_0x103590;const _0x428393=this['_configService'][_0x18c613(0x36e)](_0xa270ad);return(_0x103590=_0x428393==null?void 0x0:_0x428393['authzUrl'])!=null?_0x103590:_0x209456;}async['create'](_0x41167b){var _0xf4ee05=_0x27d9cd;const _0x36733e=this['_getAPIPrefixPath']()+'/'+_0x41167b[_0xf4ee05(0x307)]+_0xf4ee05(0x27c);return(await this[_0xf4ee05(0x2f8)][_0xf4ee05(0x1ff)](_0x36733e,{'body':_0x41167b}))[_0xf4ee05(0x3df)][_0xf4ee05(0x1b8)]||'';}async['list'](_0xd427ec){var _0x1db165=_0x27d9cd;const _0x21b18d=this[_0x1db165(0x156)]()+_0x1db165(0x235);return(await this[_0x1db165(0x2f8)][_0x1db165(0x1ff)](_0x21b18d,{'body':_0xd427ec}))[_0x1db165(0x3df)][_0x1db165(0x311)];}async[_0x27d9cd(0x3fc)](_0x45190f){var _0x62ec04=_0x27d9cd,_0x5d5ad3,_0x18941e;const _0x2a48c9=this[_0x62ec04(0x156)]()+'/'+_0x45190f[_0x62ec04(0x307)]+_0x62ec04(0x187)+_0x45190f[_0x62ec04(0x1b8)],_0x405b69=await this[_0x62ec04(0x2f8)]['put'](_0x2a48c9,{'body':_0x45190f});if(((_0x18941e=(_0x5d5ad3=_0x405b69==null?void 0x0:_0x405b69[_0x62ec04(0x3df)])==null?void 0x0:_0x5d5ad3[_0x62ec04(0x25e)])==null?void 0x0:_0x18941e[_0x62ec04(0x1ba)])!==0x1)throw new Error(_0x62ec04(0x2f7));}async[_0x27d9cd(0xf8)](_0x20ff70){var _0x52affc=_0x27d9cd;const _0x25a5bf=this[_0x52affc(0x156)]()+'/'+_0x20ff70[_0x52affc(0x307)]+_0x52affc(0x187)+_0x20ff70[_0x52affc(0x1b8)]+'/allowed';return(await this[_0x52affc(0x2f8)][_0x52affc(0x1ff)](_0x25a5bf,{'body':_0x20ff70}))['body'][_0x52affc(0x2bd)];}async[_0x27d9cd(0x23f)](_0x3b2c80){var _0xc17214=_0x27d9cd;const _0x175728=this['_getAPIPrefixPath']()+_0xc17214(0x16d);return(await this['_HTTPService'][_0xc17214(0x1ff)](_0x175728,{'body':{'requests':_0x3b2c80}}))[_0xc17214(0x3df)][_0xc17214(0x49a)];}async[_0x27d9cd(0x126)](_0x102841){var _0x4f9bb1=_0x27d9cd;const _0x52226c=this['_getAPIPrefixPath']()+'/'+_0x102841[_0x4f9bb1(0x307)]+_0x4f9bb1(0x47d),_0x4722ea=await this['_HTTPService'][_0x4f9bb1(0x1ff)](_0x52226c,{'body':_0x102841});return{'roles':_0x4722ea[_0x4f9bb1(0x3df)]['roles'],'actions':_0x4722ea[_0x4f9bb1(0x3df)][_0x4f9bb1(0x2bd)]};}async[_0x27d9cd(0x1cb)](_0x31108c){var _0x3f6c72=_0x27d9cd;const _0x150693=this[_0x3f6c72(0x156)]()+'/collaborator';await this[_0x3f6c72(0x2f8)][_0x3f6c72(0x297)](_0x150693,{'params':{'collaboratorID':_0x31108c['collaboratorID'],'objectID':_0x31108c['objectID'],'unitID':_0x31108c['unitID']}});}async[_0x27d9cd(0x218)](_0x5dbb97){var _0x34aaa0=_0x27d9cd;const _0x30415e=this[_0x34aaa0(0x156)]()+_0x34aaa0(0x27d);await this[_0x34aaa0(0x2f8)][_0x34aaa0(0x253)](_0x30415e,{'body':_0x5dbb97});}async[_0x27d9cd(0x3b6)](_0x350332){var _0x7dac3a=_0x27d9cd;const _0x57c3ca=this[_0x7dac3a(0x156)]()+_0x7dac3a(0x27d);await this[_0x7dac3a(0x2f8)][_0x7dac3a(0x1ff)](_0x57c3ca,{'body':_0x350332});}async[_0x27d9cd(0x3af)](_0x3d4b87){var _0x40d094=_0x27d9cd;const _0xbf30b7=this[_0x40d094(0x156)]()+_0x40d094(0x27d);return(await this['_HTTPService'][_0x40d094(0x15d)](_0xbf30b7,{'params':{'objectID':_0x3d4b87['objectID'],'unitID':_0x3d4b87['unitID']}}))[_0x40d094(0x3df)][_0x40d094(0x47b)];}async[_0x27d9cd(0xf9)](_0x53afca){var _0x45061f=_0x27d9cd;const _0x120691=this[_0x45061f(0x156)]()+_0x45061f(0x27d);await this[_0x45061f(0x2f8)][_0x45061f(0x10e)](_0x120691,{'body':_0x53afca});}},_0x190799[_0x27d9cd(0x34e)]=_0x323a71([_0x34bf51(0x0,_0xecd3bb['Inject'](_0x3fafbd['HTTPService'])),_0x34bf51(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x34d)]))],_0x190799[_0x27d9cd(0x34e)]);var _0x29bcec=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3ec628(_0x565fe7){var _0x470b70=_0x27d9cd;return _0x565fe7&&_0x565fe7[_0x470b70(0x358)]&&Object['prototype'][_0x470b70(0x382)][_0x470b70(0x281)](_0x565fe7,_0x470b70(0x209))?_0x565fe7[_0x470b70(0x209)]:_0x565fe7;}var _0x5b936c={'exports':{}};function _0x5d3f88(_0x29e37b){var _0x1fc795=_0x27d9cd;throw new Error(_0x1fc795(0x100)+_0x29e37b+_0x1fc795(0x345));}var _0x32f0ba={'exports':{}},_0x12cb56=_0x32f0ba['exports'],_0x236d24;function _0x421067(){return _0x236d24||(_0x236d24=0x1,function(_0x1445af,_0x57e22e){(function(_0x50a4e9,_0x53d52e){_0x1445af['exports']=_0x53d52e();}(_0x12cb56,function(){var _0x2a6d3a=_0x2a6d3a||function(_0x59b568,_0x12c02f){var _0x246742=_0x479e,_0x179f18;if(typeof window<'u'&&window['crypto']&&(_0x179f18=window[_0x246742(0x222)]),typeof self<'u'&&self[_0x246742(0x222)]&&(_0x179f18=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x179f18=globalThis['crypto']),!_0x179f18&&typeof window<'u'&&window['msCrypto']&&(_0x179f18=window[_0x246742(0x25b)]),!_0x179f18&&typeof _0x29bcec<'u'&&_0x29bcec[_0x246742(0x222)]&&(_0x179f18=_0x29bcec[_0x246742(0x222)]),!_0x179f18&&typeof _0x5d3f88==_0x246742(0x198))try{_0x179f18=require('crypto');}catch{}var _0x402cda=function(){var _0x59f55b=_0x246742;if(_0x179f18){if(typeof _0x179f18['getRandomValues']==_0x59f55b(0x198))try{return _0x179f18[_0x59f55b(0x192)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x179f18[_0x59f55b(0x283)]==_0x59f55b(0x198))try{return _0x179f18['randomBytes'](0x4)[_0x59f55b(0x290)]();}catch{}}throw new Error(_0x59f55b(0x17d));},_0x25da2a=Object[_0x246742(0x1b0)]||(function(){function _0x5512d4(){}return function(_0x238251){var _0x2482c9=_0x479e,_0x15421e;return _0x5512d4[_0x2482c9(0x19f)]=_0x238251,_0x15421e=new _0x5512d4(),_0x5512d4[_0x2482c9(0x19f)]=null,_0x15421e;};}()),_0x45422c={},_0x53074d=_0x45422c[_0x246742(0x33a)]={},_0x3b8ef0=_0x53074d[_0x246742(0x3c5)]=(function(){return{'extend':function(_0x30aef2){var _0x25fffa=_0x479e,_0x12bf6f=_0x25da2a(this);return _0x30aef2&&_0x12bf6f[_0x25fffa(0x1ed)](_0x30aef2),(!_0x12bf6f[_0x25fffa(0x382)](_0x25fffa(0x38f))||this['init']===_0x12bf6f[_0x25fffa(0x38f)])&&(_0x12bf6f['init']=function(){var _0x1e2bb1=_0x25fffa;_0x12bf6f[_0x1e2bb1(0x3d9)][_0x1e2bb1(0x38f)]['apply'](this,arguments);}),_0x12bf6f[_0x25fffa(0x38f)][_0x25fffa(0x19f)]=_0x12bf6f,_0x12bf6f['$super']=this,_0x12bf6f;},'create':function(){var _0x48ba9a=_0x479e,_0x4ed87d=this[_0x48ba9a(0x201)]();return _0x4ed87d[_0x48ba9a(0x38f)][_0x48ba9a(0x1fc)](_0x4ed87d,arguments),_0x4ed87d;},'init':function(){},'mixIn':function(_0x790fe){var _0x2fa699=_0x479e;for(var _0x7caa2e in _0x790fe)_0x790fe[_0x2fa699(0x382)](_0x7caa2e)&&(this[_0x7caa2e]=_0x790fe[_0x7caa2e]);_0x790fe[_0x2fa699(0x382)](_0x2fa699(0x2e5))&&(this['toString']=_0x790fe[_0x2fa699(0x2e5)]);},'clone':function(){var _0x39b34a=_0x479e;return this[_0x39b34a(0x38f)][_0x39b34a(0x19f)][_0x39b34a(0x201)](this);}};}()),_0x42592f=_0x53074d[_0x246742(0x17f)]=_0x3b8ef0[_0x246742(0x201)]({'init':function(_0x263d2a,_0xd19e02){var _0x426e8d=_0x246742;_0x263d2a=this[_0x426e8d(0x468)]=_0x263d2a||[],_0xd19e02!=_0x12c02f?this['sigBytes']=_0xd19e02:this[_0x426e8d(0x157)]=_0x263d2a[_0x426e8d(0x3ea)]*0x4;},'toString':function(_0x2877c8){var _0x4ccae5=_0x246742;return(_0x2877c8||_0x57db77)[_0x4ccae5(0x38c)](this);},'concat':function(_0x494dea){var _0x54400f=_0x246742,_0x1cba3a=this[_0x54400f(0x468)],_0x35adf9=_0x494dea[_0x54400f(0x468)],_0x4a57f0=this[_0x54400f(0x157)],_0x3f9ec1=_0x494dea[_0x54400f(0x157)];if(this[_0x54400f(0x332)](),_0x4a57f0%0x4)for(var _0x5d02bf=0x0;_0x5d02bf<_0x3f9ec1;_0x5d02bf++){var _0x466e0d=_0x35adf9[_0x5d02bf>>>0x2]>>>0x18-_0x5d02bf%0x4*0x8&0xff;_0x1cba3a[_0x4a57f0+_0x5d02bf>>>0x2]|=_0x466e0d<<0x18-(_0x4a57f0+_0x5d02bf)%0x4*0x8;}else{for(var _0x305c5b=0x0;_0x305c5b<_0x3f9ec1;_0x305c5b+=0x4)_0x1cba3a[_0x4a57f0+_0x305c5b>>>0x2]=_0x35adf9[_0x305c5b>>>0x2];}return this[_0x54400f(0x157)]+=_0x3f9ec1,this;},'clamp':function(){var _0x5cdcb5=_0x246742,_0x477dc4=this[_0x5cdcb5(0x468)],_0x35db3b=this[_0x5cdcb5(0x157)];_0x477dc4[_0x35db3b>>>0x2]&=0xffffffff<<0x20-_0x35db3b%0x4*0x8,_0x477dc4[_0x5cdcb5(0x3ea)]=_0x59b568[_0x5cdcb5(0x29f)](_0x35db3b/0x4);},'clone':function(){var _0x84993c=_0x246742,_0x438607=_0x3b8ef0[_0x84993c(0x1bd)]['call'](this);return _0x438607['words']=this[_0x84993c(0x468)][_0x84993c(0x447)](0x0),_0x438607;},'random':function(_0x13bf21){var _0x5dbe78=_0x246742;for(var _0x1ff63b=[],_0x4a30cc=0x0;_0x4a30cc<_0x13bf21;_0x4a30cc+=0x4)_0x1ff63b[_0x5dbe78(0x484)](_0x402cda());return new _0x42592f[(_0x5dbe78(0x38f))](_0x1ff63b,_0x13bf21);}}),_0x5e8940=_0x45422c[_0x246742(0x1a0)]={},_0x57db77=_0x5e8940[_0x246742(0x2a3)]={'stringify':function(_0x55d793){var _0x78c7a5=_0x246742;for(var _0x42969f=_0x55d793[_0x78c7a5(0x468)],_0x436b3a=_0x55d793['sigBytes'],_0x270cb5=[],_0xe7ffb4=0x0;_0xe7ffb4<_0x436b3a;_0xe7ffb4++){var _0x488cbf=_0x42969f[_0xe7ffb4>>>0x2]>>>0x18-_0xe7ffb4%0x4*0x8&0xff;_0x270cb5[_0x78c7a5(0x484)]((_0x488cbf>>>0x4)[_0x78c7a5(0x2e5)](0x10)),_0x270cb5[_0x78c7a5(0x484)]((_0x488cbf&0xf)['toString'](0x10));}return _0x270cb5[_0x78c7a5(0x1d2)]('');},'parse':function(_0xb550f8){var _0x131488=_0x246742;for(var _0x1be698=_0xb550f8['length'],_0x23f4c9=[],_0x36bd9a=0x0;_0x36bd9a<_0x1be698;_0x36bd9a+=0x2)_0x23f4c9[_0x36bd9a>>>0x3]|=parseInt(_0xb550f8[_0x131488(0x2df)](_0x36bd9a,0x2),0x10)<<0x18-_0x36bd9a%0x8*0x4;return new _0x42592f[(_0x131488(0x38f))](_0x23f4c9,_0x1be698/0x2);}},_0x48126d=_0x5e8940['Latin1']={'stringify':function(_0xfac0a1){var _0x1a9792=_0x246742;for(var _0x1329b9=_0xfac0a1[_0x1a9792(0x468)],_0x6a1fdb=_0xfac0a1['sigBytes'],_0x58f9bb=[],_0x509a99=0x0;_0x509a99<_0x6a1fdb;_0x509a99++){var _0x36a90b=_0x1329b9[_0x509a99>>>0x2]>>>0x18-_0x509a99%0x4*0x8&0xff;_0x58f9bb[_0x1a9792(0x484)](String['fromCharCode'](_0x36a90b));}return _0x58f9bb[_0x1a9792(0x1d2)]('');},'parse':function(_0x249c09){var _0x2ded43=_0x246742;for(var _0x584b78=_0x249c09[_0x2ded43(0x3ea)],_0xd1704b=[],_0xdc2ccd=0x0;_0xdc2ccd<_0x584b78;_0xdc2ccd++)_0xd1704b[_0xdc2ccd>>>0x2]|=(_0x249c09[_0x2ded43(0x425)](_0xdc2ccd)&0xff)<<0x18-_0xdc2ccd%0x4*0x8;return new _0x42592f[(_0x2ded43(0x38f))](_0xd1704b,_0x584b78);}},_0xa92e86=_0x5e8940['Utf8']={'stringify':function(_0x229783){var _0x10fbef=_0x246742;try{return decodeURIComponent(escape(_0x48126d[_0x10fbef(0x38c)](_0x229783)));}catch{throw new Error(_0x10fbef(0x367));}},'parse':function(_0x449ef4){return _0x48126d['parse'](unescape(encodeURIComponent(_0x449ef4)));}},_0xae0f44=_0x53074d[_0x246742(0x148)]=_0x3b8ef0[_0x246742(0x201)]({'reset':function(){var _0x3f36d9=_0x246742;this['_data']=new _0x42592f[(_0x3f36d9(0x38f))](),this[_0x3f36d9(0x376)]=0x0;},'_append':function(_0x16dcbc){var _0x12839e=_0x246742;typeof _0x16dcbc==_0x12839e(0x1a5)&&(_0x16dcbc=_0xa92e86[_0x12839e(0x21c)](_0x16dcbc)),this[_0x12839e(0x2d2)][_0x12839e(0x306)](_0x16dcbc),this['_nDataBytes']+=_0x16dcbc[_0x12839e(0x157)];},'_process':function(_0x53a2f2){var _0x5867a6=_0x246742,_0xbc4bc8,_0x172bd2=this[_0x5867a6(0x2d2)],_0x378d64=_0x172bd2[_0x5867a6(0x468)],_0x4da88c=_0x172bd2[_0x5867a6(0x157)],_0x17c4a1=this[_0x5867a6(0x32e)],_0x496bef=_0x17c4a1*0x4,_0x2aa976=_0x4da88c/_0x496bef;_0x53a2f2?_0x2aa976=_0x59b568[_0x5867a6(0x29f)](_0x2aa976):_0x2aa976=_0x59b568['max']((_0x2aa976|0x0)-this['_minBufferSize'],0x0);var _0xf884c1=_0x2aa976*_0x17c4a1,_0x27b2b9=_0x59b568['min'](_0xf884c1*0x4,_0x4da88c);if(_0xf884c1){for(var _0x5efc39=0x0;_0x5efc39<_0xf884c1;_0x5efc39+=_0x17c4a1)this['_doProcessBlock'](_0x378d64,_0x5efc39);_0xbc4bc8=_0x378d64[_0x5867a6(0x486)](0x0,_0xf884c1),_0x172bd2['sigBytes']-=_0x27b2b9;}return new _0x42592f['init'](_0xbc4bc8,_0x27b2b9);},'clone':function(){var _0x5ccba6=_0x246742,_0x392951=_0x3b8ef0[_0x5ccba6(0x1bd)][_0x5ccba6(0x281)](this);return _0x392951[_0x5ccba6(0x2d2)]=this[_0x5ccba6(0x2d2)][_0x5ccba6(0x1bd)](),_0x392951;},'_minBufferSize':0x0});_0x53074d['Hasher']=_0xae0f44[_0x246742(0x201)]({'cfg':_0x3b8ef0['extend'](),'init':function(_0x19185d){var _0x213139=_0x246742;this['cfg']=this['cfg'][_0x213139(0x201)](_0x19185d),this[_0x213139(0x30b)]();},'reset':function(){var _0x4c1493=_0x246742;_0xae0f44['reset'][_0x4c1493(0x281)](this),this[_0x4c1493(0x2d4)]();},'update':function(_0x428e86){var _0x1dff7b=_0x246742;return this[_0x1dff7b(0x2ee)](_0x428e86),this[_0x1dff7b(0x3f0)](),this;},'finalize':function(_0x15bb4f){var _0x1aa7f4=_0x246742;_0x15bb4f&&this['_append'](_0x15bb4f);var _0x4d30f6=this[_0x1aa7f4(0x23b)]();return _0x4d30f6;},'blockSize':0x10,'_createHelper':function(_0x453025){return function(_0x420978,_0x13e1e8){var _0x16d56c=_0x479e;return new _0x453025[(_0x16d56c(0x38f))](_0x13e1e8)[_0x16d56c(0x24e)](_0x420978);};},'_createHmacHelper':function(_0x3dbc14){return function(_0x1a4f19,_0x5c4976){var _0x3e767d=_0x479e;return new _0x3af041['HMAC'][(_0x3e767d(0x38f))](_0x3dbc14,_0x5c4976)['finalize'](_0x1a4f19);};}});var _0x3af041=_0x45422c[_0x246742(0x116)]={};return _0x45422c;}(Math);return _0x2a6d3a;}));}(_0x32f0ba)),_0x32f0ba['exports'];}var _0x1f58f0={'exports':{}},_0x1cf5df=_0x1f58f0[_0x27d9cd(0x18f)],_0x3d14b3;function _0x54b5ab(){var _0x4bf598=_0x27d9cd;return _0x3d14b3||(_0x3d14b3=0x1,function(_0x1bcf84,_0x512089){(function(_0x50c252,_0xfa92fe){var _0x55c665=_0x479e;_0x1bcf84[_0x55c665(0x18f)]=_0xfa92fe(_0x421067());}(_0x1cf5df,function(_0x6c04b1){var _0x4cd0a6=_0x479e;return(function(){var _0x4d16cf=_0x479e,_0xb023a2=_0x6c04b1,_0x33c3f8=_0xb023a2[_0x4d16cf(0x33a)],_0x1c6d29=_0x33c3f8[_0x4d16cf(0x17f)],_0x1c2df2=_0xb023a2['enc'];_0x1c2df2[_0x4d16cf(0x20e)]={'stringify':function(_0x1fd849){var _0x2fb6f0=_0x4d16cf,_0x14f7e5=_0x1fd849['words'],_0x34bf57=_0x1fd849['sigBytes'],_0x358f03=this[_0x2fb6f0(0x305)];_0x1fd849[_0x2fb6f0(0x332)]();for(var _0x4b506a=[],_0x475e6d=0x0;_0x475e6d<_0x34bf57;_0x475e6d+=0x3)for(var _0x35a574=_0x14f7e5[_0x475e6d>>>0x2]>>>0x18-_0x475e6d%0x4*0x8&0xff,_0x37f431=_0x14f7e5[_0x475e6d+0x1>>>0x2]>>>0x18-(_0x475e6d+0x1)%0x4*0x8&0xff,_0x63a4cd=_0x14f7e5[_0x475e6d+0x2>>>0x2]>>>0x18-(_0x475e6d+0x2)%0x4*0x8&0xff,_0x458dd4=_0x35a574<<0x10|_0x37f431<<0x8|_0x63a4cd,_0x1a6cbf=0x0;_0x1a6cbf<0x4&&_0x475e6d+_0x1a6cbf*0.75<_0x34bf57;_0x1a6cbf++)_0x4b506a[_0x2fb6f0(0x484)](_0x358f03[_0x2fb6f0(0x404)](_0x458dd4>>>0x6*(0x3-_0x1a6cbf)&0x3f));var _0x731224=_0x358f03['charAt'](0x40);if(_0x731224){for(;_0x4b506a[_0x2fb6f0(0x3ea)]%0x4;)_0x4b506a['push'](_0x731224);}return _0x4b506a[_0x2fb6f0(0x1d2)]('');},'parse':function(_0x599a4d){var _0x3faf7d=_0x4d16cf,_0x1dd440=_0x599a4d[_0x3faf7d(0x3ea)],_0x12fbbd=this[_0x3faf7d(0x305)],_0x29d1ce=this[_0x3faf7d(0x41d)];if(!_0x29d1ce){_0x29d1ce=this['_reverseMap']=[];for(var _0x31de51=0x0;_0x31de51<_0x12fbbd['length'];_0x31de51++)_0x29d1ce[_0x12fbbd[_0x3faf7d(0x425)](_0x31de51)]=_0x31de51;}var _0x54f0fa=_0x12fbbd[_0x3faf7d(0x404)](0x40);if(_0x54f0fa){var _0x522988=_0x599a4d[_0x3faf7d(0x180)](_0x54f0fa);_0x522988!==-0x1&&(_0x1dd440=_0x522988);}return _0x5391a3(_0x599a4d,_0x1dd440,_0x29d1ce);},'_map':_0x4d16cf(0x33d)};function _0x5391a3(_0x4b4f74,_0x30516c,_0x4a028b){var _0x304a3d=_0x4d16cf;for(var _0x4ca5b0=[],_0x1606db=0x0,_0x4d4696=0x0;_0x4d4696<_0x30516c;_0x4d4696++)if(_0x4d4696%0x4){var _0x30ce80=_0x4a028b[_0x4b4f74[_0x304a3d(0x425)](_0x4d4696-0x1)]<<_0x4d4696%0x4*0x2,_0x1ebf14=_0x4a028b[_0x4b4f74[_0x304a3d(0x425)](_0x4d4696)]>>>0x6-_0x4d4696%0x4*0x2,_0x21b4c6=_0x30ce80|_0x1ebf14;_0x4ca5b0[_0x1606db>>>0x2]|=_0x21b4c6<<0x18-_0x1606db%0x4*0x8,_0x1606db++;}return _0x1c6d29[_0x304a3d(0x1b0)](_0x4ca5b0,_0x1606db);}}()),_0x6c04b1[_0x4cd0a6(0x1a0)][_0x4cd0a6(0x20e)];}));}(_0x1f58f0)),_0x1f58f0[_0x4bf598(0x18f)];}var _0x326dcf={'exports':{}},_0x969926=_0x326dcf[_0x27d9cd(0x18f)],_0x154d38;function _0xc3e901(){var _0x40d604=_0x27d9cd;return _0x154d38||(_0x154d38=0x1,function(_0x3e7fee,_0x48f099){(function(_0x17f402,_0x287b1c){var _0x413ea0=_0x479e;_0x3e7fee[_0x413ea0(0x18f)]=_0x287b1c(_0x421067());}(_0x969926,function(_0x1adf47){var _0x2879cd=_0x479e;return function(_0xcc314e){var _0x4a19c8=_0x479e,_0x3cf531=_0x1adf47,_0x53091a=_0x3cf531['lib'],_0x47b239=_0x53091a['WordArray'],_0x23bb5c=_0x53091a[_0x4a19c8(0x3ce)],_0x115988=_0x3cf531['algo'],_0x8ba4b7=[];(function(){var _0x42d4a3=_0x4a19c8;for(var _0x468cd4=0x0;_0x468cd4<0x40;_0x468cd4++)_0x8ba4b7[_0x468cd4]=_0xcc314e[_0x42d4a3(0x1ec)](_0xcc314e[_0x42d4a3(0x12f)](_0x468cd4+0x1))*0x100000000|0x0;}());var _0x2ed6a7=_0x115988[_0x4a19c8(0x2bb)]=_0x23bb5c['extend']({'_doReset':function(){var _0x31603a=_0x4a19c8;this['_hash']=new _0x47b239[(_0x31603a(0x38f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3546b3,_0x591e9c){var _0x30e72f=_0x4a19c8;for(var _0x24f7ee=0x0;_0x24f7ee<0x10;_0x24f7ee++){var _0x384e39=_0x591e9c+_0x24f7ee,_0x3fe9e4=_0x3546b3[_0x384e39];_0x3546b3[_0x384e39]=(_0x3fe9e4<<0x8|_0x3fe9e4>>>0x18)&0xff00ff|(_0x3fe9e4<<0x18|_0x3fe9e4>>>0x8)&0xff00ff00;}var _0x3a362c=this['_hash'][_0x30e72f(0x468)],_0x25c082=_0x3546b3[_0x591e9c+0x0],_0x52ae3a=_0x3546b3[_0x591e9c+0x1],_0x1bf35d=_0x3546b3[_0x591e9c+0x2],_0x166c60=_0x3546b3[_0x591e9c+0x3],_0x420230=_0x3546b3[_0x591e9c+0x4],_0x7fec51=_0x3546b3[_0x591e9c+0x5],_0x57b592=_0x3546b3[_0x591e9c+0x6],_0x4e3d98=_0x3546b3[_0x591e9c+0x7],_0x24fd31=_0x3546b3[_0x591e9c+0x8],_0x34ed51=_0x3546b3[_0x591e9c+0x9],_0x4606e7=_0x3546b3[_0x591e9c+0xa],_0x7c0569=_0x3546b3[_0x591e9c+0xb],_0x38726c=_0x3546b3[_0x591e9c+0xc],_0x1ccfda=_0x3546b3[_0x591e9c+0xd],_0x3c8650=_0x3546b3[_0x591e9c+0xe],_0x54522a=_0x3546b3[_0x591e9c+0xf],_0x3476c3=_0x3a362c[0x0],_0x27a7e2=_0x3a362c[0x1],_0x49e9a2=_0x3a362c[0x2],_0x23d47c=_0x3a362c[0x3];_0x3476c3=_0x378fa4(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x25c082,0x7,_0x8ba4b7[0x0]),_0x23d47c=_0x378fa4(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x52ae3a,0xc,_0x8ba4b7[0x1]),_0x49e9a2=_0x378fa4(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x1bf35d,0x11,_0x8ba4b7[0x2]),_0x27a7e2=_0x378fa4(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x166c60,0x16,_0x8ba4b7[0x3]),_0x3476c3=_0x378fa4(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x420230,0x7,_0x8ba4b7[0x4]),_0x23d47c=_0x378fa4(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x7fec51,0xc,_0x8ba4b7[0x5]),_0x49e9a2=_0x378fa4(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x57b592,0x11,_0x8ba4b7[0x6]),_0x27a7e2=_0x378fa4(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x4e3d98,0x16,_0x8ba4b7[0x7]),_0x3476c3=_0x378fa4(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x24fd31,0x7,_0x8ba4b7[0x8]),_0x23d47c=_0x378fa4(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x34ed51,0xc,_0x8ba4b7[0x9]),_0x49e9a2=_0x378fa4(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x4606e7,0x11,_0x8ba4b7[0xa]),_0x27a7e2=_0x378fa4(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x7c0569,0x16,_0x8ba4b7[0xb]),_0x3476c3=_0x378fa4(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x38726c,0x7,_0x8ba4b7[0xc]),_0x23d47c=_0x378fa4(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x1ccfda,0xc,_0x8ba4b7[0xd]),_0x49e9a2=_0x378fa4(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x3c8650,0x11,_0x8ba4b7[0xe]),_0x27a7e2=_0x378fa4(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x54522a,0x16,_0x8ba4b7[0xf]),_0x3476c3=_0x2b4221(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x52ae3a,0x5,_0x8ba4b7[0x10]),_0x23d47c=_0x2b4221(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x57b592,0x9,_0x8ba4b7[0x11]),_0x49e9a2=_0x2b4221(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x7c0569,0xe,_0x8ba4b7[0x12]),_0x27a7e2=_0x2b4221(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x25c082,0x14,_0x8ba4b7[0x13]),_0x3476c3=_0x2b4221(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x7fec51,0x5,_0x8ba4b7[0x14]),_0x23d47c=_0x2b4221(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x4606e7,0x9,_0x8ba4b7[0x15]),_0x49e9a2=_0x2b4221(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x54522a,0xe,_0x8ba4b7[0x16]),_0x27a7e2=_0x2b4221(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x420230,0x14,_0x8ba4b7[0x17]),_0x3476c3=_0x2b4221(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x34ed51,0x5,_0x8ba4b7[0x18]),_0x23d47c=_0x2b4221(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x3c8650,0x9,_0x8ba4b7[0x19]),_0x49e9a2=_0x2b4221(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x166c60,0xe,_0x8ba4b7[0x1a]),_0x27a7e2=_0x2b4221(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x24fd31,0x14,_0x8ba4b7[0x1b]),_0x3476c3=_0x2b4221(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x1ccfda,0x5,_0x8ba4b7[0x1c]),_0x23d47c=_0x2b4221(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x1bf35d,0x9,_0x8ba4b7[0x1d]),_0x49e9a2=_0x2b4221(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x4e3d98,0xe,_0x8ba4b7[0x1e]),_0x27a7e2=_0x2b4221(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x38726c,0x14,_0x8ba4b7[0x1f]),_0x3476c3=_0xdbe04e(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x7fec51,0x4,_0x8ba4b7[0x20]),_0x23d47c=_0xdbe04e(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x24fd31,0xb,_0x8ba4b7[0x21]),_0x49e9a2=_0xdbe04e(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x7c0569,0x10,_0x8ba4b7[0x22]),_0x27a7e2=_0xdbe04e(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x3c8650,0x17,_0x8ba4b7[0x23]),_0x3476c3=_0xdbe04e(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x52ae3a,0x4,_0x8ba4b7[0x24]),_0x23d47c=_0xdbe04e(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x420230,0xb,_0x8ba4b7[0x25]),_0x49e9a2=_0xdbe04e(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x4e3d98,0x10,_0x8ba4b7[0x26]),_0x27a7e2=_0xdbe04e(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x4606e7,0x17,_0x8ba4b7[0x27]),_0x3476c3=_0xdbe04e(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x1ccfda,0x4,_0x8ba4b7[0x28]),_0x23d47c=_0xdbe04e(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x25c082,0xb,_0x8ba4b7[0x29]),_0x49e9a2=_0xdbe04e(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x166c60,0x10,_0x8ba4b7[0x2a]),_0x27a7e2=_0xdbe04e(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x57b592,0x17,_0x8ba4b7[0x2b]),_0x3476c3=_0xdbe04e(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x34ed51,0x4,_0x8ba4b7[0x2c]),_0x23d47c=_0xdbe04e(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x38726c,0xb,_0x8ba4b7[0x2d]),_0x49e9a2=_0xdbe04e(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x54522a,0x10,_0x8ba4b7[0x2e]),_0x27a7e2=_0xdbe04e(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x1bf35d,0x17,_0x8ba4b7[0x2f]),_0x3476c3=_0x21547c(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x25c082,0x6,_0x8ba4b7[0x30]),_0x23d47c=_0x21547c(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x4e3d98,0xa,_0x8ba4b7[0x31]),_0x49e9a2=_0x21547c(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x3c8650,0xf,_0x8ba4b7[0x32]),_0x27a7e2=_0x21547c(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x7fec51,0x15,_0x8ba4b7[0x33]),_0x3476c3=_0x21547c(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x38726c,0x6,_0x8ba4b7[0x34]),_0x23d47c=_0x21547c(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x166c60,0xa,_0x8ba4b7[0x35]),_0x49e9a2=_0x21547c(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x4606e7,0xf,_0x8ba4b7[0x36]),_0x27a7e2=_0x21547c(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x52ae3a,0x15,_0x8ba4b7[0x37]),_0x3476c3=_0x21547c(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x24fd31,0x6,_0x8ba4b7[0x38]),_0x23d47c=_0x21547c(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x54522a,0xa,_0x8ba4b7[0x39]),_0x49e9a2=_0x21547c(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x57b592,0xf,_0x8ba4b7[0x3a]),_0x27a7e2=_0x21547c(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x1ccfda,0x15,_0x8ba4b7[0x3b]),_0x3476c3=_0x21547c(_0x3476c3,_0x27a7e2,_0x49e9a2,_0x23d47c,_0x420230,0x6,_0x8ba4b7[0x3c]),_0x23d47c=_0x21547c(_0x23d47c,_0x3476c3,_0x27a7e2,_0x49e9a2,_0x7c0569,0xa,_0x8ba4b7[0x3d]),_0x49e9a2=_0x21547c(_0x49e9a2,_0x23d47c,_0x3476c3,_0x27a7e2,_0x1bf35d,0xf,_0x8ba4b7[0x3e]),_0x27a7e2=_0x21547c(_0x27a7e2,_0x49e9a2,_0x23d47c,_0x3476c3,_0x34ed51,0x15,_0x8ba4b7[0x3f]),_0x3a362c[0x0]=_0x3a362c[0x0]+_0x3476c3|0x0,_0x3a362c[0x1]=_0x3a362c[0x1]+_0x27a7e2|0x0,_0x3a362c[0x2]=_0x3a362c[0x2]+_0x49e9a2|0x0,_0x3a362c[0x3]=_0x3a362c[0x3]+_0x23d47c|0x0;},'_doFinalize':function(){var _0x47ee5f=_0x4a19c8,_0x576479=this['_data'],_0x17cfc2=_0x576479[_0x47ee5f(0x468)],_0x552286=this[_0x47ee5f(0x376)]*0x8,_0x4dc337=_0x576479[_0x47ee5f(0x157)]*0x8;_0x17cfc2[_0x4dc337>>>0x5]|=0x80<<0x18-_0x4dc337%0x20;var _0x2d610a=_0xcc314e['floor'](_0x552286/0x100000000),_0x2ec4dc=_0x552286;_0x17cfc2[(_0x4dc337+0x40>>>0x9<<0x4)+0xf]=(_0x2d610a<<0x8|_0x2d610a>>>0x18)&0xff00ff|(_0x2d610a<<0x18|_0x2d610a>>>0x8)&0xff00ff00,_0x17cfc2[(_0x4dc337+0x40>>>0x9<<0x4)+0xe]=(_0x2ec4dc<<0x8|_0x2ec4dc>>>0x18)&0xff00ff|(_0x2ec4dc<<0x18|_0x2ec4dc>>>0x8)&0xff00ff00,_0x576479[_0x47ee5f(0x157)]=(_0x17cfc2[_0x47ee5f(0x3ea)]+0x1)*0x4,this['_process']();for(var _0x4c1b7b=this[_0x47ee5f(0x46a)],_0x42b7aa=_0x4c1b7b['words'],_0x8cd735=0x0;_0x8cd735<0x4;_0x8cd735++){var _0x235d57=_0x42b7aa[_0x8cd735];_0x42b7aa[_0x8cd735]=(_0x235d57<<0x8|_0x235d57>>>0x18)&0xff00ff|(_0x235d57<<0x18|_0x235d57>>>0x8)&0xff00ff00;}return _0x4c1b7b;},'clone':function(){var _0x510a3b=_0x4a19c8,_0x253b87=_0x23bb5c['clone'][_0x510a3b(0x281)](this);return _0x253b87[_0x510a3b(0x46a)]=this['_hash'][_0x510a3b(0x1bd)](),_0x253b87;}});function _0x378fa4(_0x2340ed,_0x439950,_0x45b251,_0x3fb99d,_0x143556,_0x4c038b,_0x373d73){var _0x593ae8=_0x2340ed+(_0x439950&_0x45b251|~_0x439950&_0x3fb99d)+_0x143556+_0x373d73;return(_0x593ae8<<_0x4c038b|_0x593ae8>>>0x20-_0x4c038b)+_0x439950;}function _0x2b4221(_0x1f0166,_0x227329,_0x243328,_0x413c69,_0x255451,_0x3dc3b4,_0x159abc){var _0x50c200=_0x1f0166+(_0x227329&_0x413c69|_0x243328&~_0x413c69)+_0x255451+_0x159abc;return(_0x50c200<<_0x3dc3b4|_0x50c200>>>0x20-_0x3dc3b4)+_0x227329;}function _0xdbe04e(_0x2bff98,_0x5573c7,_0x3bdaae,_0x505bf2,_0x516680,_0x56f194,_0x1aeb83){var _0x253b9a=_0x2bff98+(_0x5573c7^_0x3bdaae^_0x505bf2)+_0x516680+_0x1aeb83;return(_0x253b9a<<_0x56f194|_0x253b9a>>>0x20-_0x56f194)+_0x5573c7;}function _0x21547c(_0x9372a9,_0x4c5b62,_0x16a0d9,_0x3be7bd,_0x301ee0,_0x123578,_0x3482c4){var _0x5ab42d=_0x9372a9+(_0x16a0d9^(_0x4c5b62|~_0x3be7bd))+_0x301ee0+_0x3482c4;return(_0x5ab42d<<_0x123578|_0x5ab42d>>>0x20-_0x123578)+_0x4c5b62;}_0x3cf531[_0x4a19c8(0x2bb)]=_0x23bb5c[_0x4a19c8(0x3c9)](_0x2ed6a7),_0x3cf531[_0x4a19c8(0x25a)]=_0x23bb5c[_0x4a19c8(0x428)](_0x2ed6a7);}(Math),_0x1adf47[_0x2879cd(0x2bb)];}));}(_0x326dcf)),_0x326dcf[_0x40d604(0x18f)];}var _0x493475={'exports':{}},_0x49fab7={'exports':{}},_0x417584=_0x49fab7[_0x27d9cd(0x18f)],_0x3e8046;function _0x7dbe6f(){var _0x5cca58=_0x27d9cd;return _0x3e8046||(_0x3e8046=0x1,function(_0x16ffb7,_0x4bde11){(function(_0x363043,_0x429968){var _0x1412a9=_0x479e;_0x16ffb7[_0x1412a9(0x18f)]=_0x429968(_0x421067());}(_0x417584,function(_0x209eab){var _0x29e11b=_0x479e;return(function(){var _0x3bed05=_0x479e,_0x200920=_0x209eab,_0x3dd36f=_0x200920[_0x3bed05(0x33a)],_0x207939=_0x3dd36f['WordArray'],_0x551b27=_0x3dd36f['Hasher'],_0x233a44=_0x200920['algo'],_0x2a7f8c=[],_0x4962d8=_0x233a44[_0x3bed05(0x3ee)]=_0x551b27['extend']({'_doReset':function(){var _0x51569f=_0x3bed05;this['_hash']=new _0x207939[(_0x51569f(0x38f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3a8ee5,_0x3a46ff){var _0x5c4b4d=_0x3bed05;for(var _0x31d571=this[_0x5c4b4d(0x46a)][_0x5c4b4d(0x468)],_0xcc4461=_0x31d571[0x0],_0x1097a9=_0x31d571[0x1],_0x32c7bf=_0x31d571[0x2],_0x2cb4bc=_0x31d571[0x3],_0x4a92b1=_0x31d571[0x4],_0x270e38=0x0;_0x270e38<0x50;_0x270e38++){if(_0x270e38<0x10)_0x2a7f8c[_0x270e38]=_0x3a8ee5[_0x3a46ff+_0x270e38]|0x0;else{var _0x1be5fb=_0x2a7f8c[_0x270e38-0x3]^_0x2a7f8c[_0x270e38-0x8]^_0x2a7f8c[_0x270e38-0xe]^_0x2a7f8c[_0x270e38-0x10];_0x2a7f8c[_0x270e38]=_0x1be5fb<<0x1|_0x1be5fb>>>0x1f;}var _0x5d809c=(_0xcc4461<<0x5|_0xcc4461>>>0x1b)+_0x4a92b1+_0x2a7f8c[_0x270e38];_0x270e38<0x14?_0x5d809c+=(_0x1097a9&_0x32c7bf|~_0x1097a9&_0x2cb4bc)+0x5a827999:_0x270e38<0x28?_0x5d809c+=(_0x1097a9^_0x32c7bf^_0x2cb4bc)+0x6ed9eba1:_0x270e38<0x3c?_0x5d809c+=(_0x1097a9&_0x32c7bf|_0x1097a9&_0x2cb4bc|_0x32c7bf&_0x2cb4bc)-0x70e44324:_0x5d809c+=(_0x1097a9^_0x32c7bf^_0x2cb4bc)-0x359d3e2a,_0x4a92b1=_0x2cb4bc,_0x2cb4bc=_0x32c7bf,_0x32c7bf=_0x1097a9<<0x1e|_0x1097a9>>>0x2,_0x1097a9=_0xcc4461,_0xcc4461=_0x5d809c;}_0x31d571[0x0]=_0x31d571[0x0]+_0xcc4461|0x0,_0x31d571[0x1]=_0x31d571[0x1]+_0x1097a9|0x0,_0x31d571[0x2]=_0x31d571[0x2]+_0x32c7bf|0x0,_0x31d571[0x3]=_0x31d571[0x3]+_0x2cb4bc|0x0,_0x31d571[0x4]=_0x31d571[0x4]+_0x4a92b1|0x0;},'_doFinalize':function(){var _0x1a9957=_0x3bed05,_0x3a6b8d=this[_0x1a9957(0x2d2)],_0x4e3fb2=_0x3a6b8d[_0x1a9957(0x468)],_0x1c57c4=this[_0x1a9957(0x376)]*0x8,_0x5a4ea5=_0x3a6b8d[_0x1a9957(0x157)]*0x8;return _0x4e3fb2[_0x5a4ea5>>>0x5]|=0x80<<0x18-_0x5a4ea5%0x20,_0x4e3fb2[(_0x5a4ea5+0x40>>>0x9<<0x4)+0xe]=Math[_0x1a9957(0x269)](_0x1c57c4/0x100000000),_0x4e3fb2[(_0x5a4ea5+0x40>>>0x9<<0x4)+0xf]=_0x1c57c4,_0x3a6b8d[_0x1a9957(0x157)]=_0x4e3fb2[_0x1a9957(0x3ea)]*0x4,this[_0x1a9957(0x3f0)](),this[_0x1a9957(0x46a)];},'clone':function(){var _0x48fe99=_0x3bed05,_0x11b20c=_0x551b27[_0x48fe99(0x1bd)][_0x48fe99(0x281)](this);return _0x11b20c[_0x48fe99(0x46a)]=this[_0x48fe99(0x46a)][_0x48fe99(0x1bd)](),_0x11b20c;}});_0x200920['SHA1']=_0x551b27[_0x3bed05(0x3c9)](_0x4962d8),_0x200920['HmacSHA1']=_0x551b27['_createHmacHelper'](_0x4962d8);}()),_0x209eab[_0x29e11b(0x3ee)];}));}(_0x49fab7)),_0x49fab7[_0x5cca58(0x18f)];}var _0x52ab2d={'exports':{}},_0x16bc2b=_0x52ab2d[_0x27d9cd(0x18f)],_0x562dc1;function _0x2f88c8(){return _0x562dc1||(_0x562dc1=0x1,function(_0x159739,_0x2c6a11){(function(_0x36e8a6,_0xb9d965){_0x159739['exports']=_0xb9d965(_0x421067());}(_0x16bc2b,function(_0x5098d4){(function(){var _0x4717bb=_0x479e,_0x27ee03=_0x5098d4,_0x2d7d3f=_0x27ee03[_0x4717bb(0x33a)],_0x220b0f=_0x2d7d3f[_0x4717bb(0x3c5)],_0x47586b=_0x27ee03[_0x4717bb(0x1a0)],_0x2097cb=_0x47586b[_0x4717bb(0x48c)],_0x559ac4=_0x27ee03[_0x4717bb(0x116)];_0x559ac4['HMAC']=_0x220b0f[_0x4717bb(0x201)]({'init':function(_0x4b9eb6,_0xc25a6){var _0x37756f=_0x4717bb;_0x4b9eb6=this[_0x37756f(0x3a1)]=new _0x4b9eb6[(_0x37756f(0x38f))](),typeof _0xc25a6==_0x37756f(0x1a5)&&(_0xc25a6=_0x2097cb['parse'](_0xc25a6));var _0x508e87=_0x4b9eb6[_0x37756f(0x32e)],_0x175970=_0x508e87*0x4;_0xc25a6[_0x37756f(0x157)]>_0x175970&&(_0xc25a6=_0x4b9eb6['finalize'](_0xc25a6)),_0xc25a6[_0x37756f(0x332)]();for(var _0x157c10=this[_0x37756f(0x1a7)]=_0xc25a6[_0x37756f(0x1bd)](),_0x3b4e93=this[_0x37756f(0x3b3)]=_0xc25a6[_0x37756f(0x1bd)](),_0x2be3f6=_0x157c10[_0x37756f(0x468)],_0x247ec6=_0x3b4e93['words'],_0x24d319=0x0;_0x24d319<_0x508e87;_0x24d319++)_0x2be3f6[_0x24d319]^=0x5c5c5c5c,_0x247ec6[_0x24d319]^=0x36363636;_0x157c10[_0x37756f(0x157)]=_0x3b4e93[_0x37756f(0x157)]=_0x175970,this['reset']();},'reset':function(){var _0x56f196=_0x4717bb,_0x2053c6=this[_0x56f196(0x3a1)];_0x2053c6[_0x56f196(0x30b)](),_0x2053c6[_0x56f196(0x3fc)](this[_0x56f196(0x3b3)]);},'update':function(_0x3f5cf8){var _0x356b34=_0x4717bb;return this[_0x356b34(0x3a1)][_0x356b34(0x3fc)](_0x3f5cf8),this;},'finalize':function(_0x344222){var _0x133181=_0x4717bb,_0x15207d=this[_0x133181(0x3a1)],_0xf411b0=_0x15207d['finalize'](_0x344222);_0x15207d[_0x133181(0x30b)]();var _0x5c904d=_0x15207d['finalize'](this[_0x133181(0x1a7)][_0x133181(0x1bd)]()['concat'](_0xf411b0));return _0x5c904d;}});}());}));}(_0x52ab2d)),_0x52ab2d['exports'];}var _0x45ab2c=_0x493475[_0x27d9cd(0x18f)],_0x4e9056;function _0x4d13dd(){var _0x5af8df=_0x27d9cd;return _0x4e9056||(_0x4e9056=0x1,function(_0x57b8fa,_0xcd11a8){(function(_0x173aa3,_0x3ed79e,_0x32637b){_0x57b8fa['exports']=_0x3ed79e(_0x421067(),_0x7dbe6f(),_0x2f88c8());}(_0x45ab2c,function(_0x1d22e8){var _0x35b24d=_0x479e;return(function(){var _0x158230=_0x479e,_0x24f288=_0x1d22e8,_0x5b1a5a=_0x24f288[_0x158230(0x33a)],_0x451b23=_0x5b1a5a[_0x158230(0x3c5)],_0x1cb51f=_0x5b1a5a[_0x158230(0x17f)],_0x190366=_0x24f288[_0x158230(0x116)],_0x2abbd0=_0x190366[_0x158230(0x2bb)],_0x39e5a4=_0x190366[_0x158230(0x196)]=_0x451b23[_0x158230(0x201)]({'cfg':_0x451b23[_0x158230(0x201)]({'keySize':0x80/0x20,'hasher':_0x2abbd0,'iterations':0x1}),'init':function(_0x49c22d){var _0x4ad260=_0x158230;this[_0x4ad260(0x271)]=this[_0x4ad260(0x271)][_0x4ad260(0x201)](_0x49c22d);},'compute':function(_0x4cb2a3,_0xa25511){var _0x153dc2=_0x158230;for(var _0x5e22cc,_0x4acb1c=this[_0x153dc2(0x271)],_0x4b5385=_0x4acb1c['hasher']['create'](),_0x56d196=_0x1cb51f[_0x153dc2(0x1b0)](),_0x5a4d49=_0x56d196[_0x153dc2(0x468)],_0x667b62=_0x4acb1c[_0x153dc2(0x471)],_0x34b944=_0x4acb1c['iterations'];_0x5a4d49['length']<_0x667b62;){_0x5e22cc&&_0x4b5385[_0x153dc2(0x3fc)](_0x5e22cc),_0x5e22cc=_0x4b5385[_0x153dc2(0x3fc)](_0x4cb2a3)[_0x153dc2(0x24e)](_0xa25511),_0x4b5385[_0x153dc2(0x30b)]();for(var _0x14d8d1=0x1;_0x14d8d1<_0x34b944;_0x14d8d1++)_0x5e22cc=_0x4b5385[_0x153dc2(0x24e)](_0x5e22cc),_0x4b5385[_0x153dc2(0x30b)]();_0x56d196[_0x153dc2(0x306)](_0x5e22cc);}return _0x56d196[_0x153dc2(0x157)]=_0x667b62*0x4,_0x56d196;}});_0x24f288['EvpKDF']=function(_0x5800d6,_0x38195c,_0xdf84){var _0x32c088=_0x158230;return _0x39e5a4[_0x32c088(0x1b0)](_0xdf84)[_0x32c088(0x301)](_0x5800d6,_0x38195c);};}()),_0x1d22e8[_0x35b24d(0x196)];}));}(_0x493475)),_0x493475[_0x5af8df(0x18f)];}var _0xb5fe26={'exports':{}},_0xc9ba00=_0xb5fe26['exports'],_0x379188;function _0x2e4f8e(){return _0x379188||(_0x379188=0x1,function(_0x3b5b86,_0x177413){(function(_0x40d1a8,_0x542ed6,_0x3fc6c7){var _0x432397=_0x479e;_0x3b5b86[_0x432397(0x18f)]=_0x542ed6(_0x421067(),_0x4d13dd());}(_0xc9ba00,function(_0x2d59ee){var _0x156295=_0x479e;_0x2d59ee[_0x156295(0x33a)]['Cipher']||function(_0x29bca5){var _0x343a8b=_0x156295,_0x83faab=_0x2d59ee,_0x9b77b9=_0x83faab[_0x343a8b(0x33a)],_0x1d4bff=_0x9b77b9[_0x343a8b(0x3c5)],_0x553c00=_0x9b77b9[_0x343a8b(0x17f)],_0x4fa32c=_0x9b77b9[_0x343a8b(0x148)],_0x3cde87=_0x83faab['enc'];_0x3cde87['Utf8'];var _0x184d3c=_0x3cde87[_0x343a8b(0x20e)],_0x2c6bb9=_0x83faab['algo'],_0x5f1dd4=_0x2c6bb9[_0x343a8b(0x196)],_0x26b1b5=_0x9b77b9[_0x343a8b(0x3f7)]=_0x4fa32c[_0x343a8b(0x201)]({'cfg':_0x1d4bff[_0x343a8b(0x201)](),'createEncryptor':function(_0x11284b,_0x2c361e){var _0x47e9fb=_0x343a8b;return this[_0x47e9fb(0x1b0)](this[_0x47e9fb(0x34b)],_0x11284b,_0x2c361e);},'createDecryptor':function(_0x1aea05,_0xd70c06){var _0x5b307b=_0x343a8b;return this['create'](this[_0x5b307b(0x330)],_0x1aea05,_0xd70c06);},'init':function(_0x24914e,_0x418720,_0x569286){var _0x2217ff=_0x343a8b;this[_0x2217ff(0x271)]=this[_0x2217ff(0x271)][_0x2217ff(0x201)](_0x569286),this[_0x2217ff(0x263)]=_0x24914e,this[_0x2217ff(0x363)]=_0x418720,this['reset']();},'reset':function(){var _0x627392=_0x343a8b;_0x4fa32c['reset'][_0x627392(0x281)](this),this[_0x627392(0x2d4)]();},'process':function(_0x3fdb52){var _0x454e62=_0x343a8b;return this[_0x454e62(0x2ee)](_0x3fdb52),this['_process']();},'finalize':function(_0x5cd580){var _0x54a2fd=_0x343a8b;_0x5cd580&&this['_append'](_0x5cd580);var _0x4eea18=this[_0x54a2fd(0x23b)]();return _0x4eea18;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x40d3f4(_0x3f1833){var _0x2f43bb=_0x479e;return typeof _0x3f1833==_0x2f43bb(0x1a5)?_0xab1b46:_0x53e8b8;}return function(_0x3bccf5){return{'encrypt':function(_0x368ab5,_0x4da299,_0x3b6f5c){var _0x156fee=_0x479e;return _0x40d3f4(_0x4da299)[_0x156fee(0x166)](_0x3bccf5,_0x368ab5,_0x4da299,_0x3b6f5c);},'decrypt':function(_0x29f635,_0x2c2be6,_0x38d1eb){var _0x5898b3=_0x479e;return _0x40d3f4(_0x2c2be6)[_0x5898b3(0x322)](_0x3bccf5,_0x29f635,_0x2c2be6,_0x38d1eb);}};};}())});_0x9b77b9['StreamCipher']=_0x26b1b5[_0x343a8b(0x201)]({'_doFinalize':function(){var _0x5cdf1d=_0x343a8b,_0x2a649d=this[_0x5cdf1d(0x3f0)](!0x0);return _0x2a649d;},'blockSize':0x1});var _0xe63a86=_0x83faab['mode']={},_0xa6d06d=_0x9b77b9[_0x343a8b(0x150)]=_0x1d4bff[_0x343a8b(0x201)]({'createEncryptor':function(_0x54854e,_0x5239ff){return this['Encryptor']['create'](_0x54854e,_0x5239ff);},'createDecryptor':function(_0x1395cd,_0x32207d){var _0x1ca88b=_0x343a8b;return this[_0x1ca88b(0x169)][_0x1ca88b(0x1b0)](_0x1395cd,_0x32207d);},'init':function(_0x1e1089,_0xf650c3){var _0x1adbe2=_0x343a8b;this[_0x1adbe2(0x258)]=_0x1e1089,this[_0x1adbe2(0x136)]=_0xf650c3;}}),_0x590da6=_0xe63a86[_0x343a8b(0x244)]=(function(){var _0x348454=_0x343a8b,_0x408ebf=_0xa6d06d['extend']();_0x408ebf[_0x348454(0x2ae)]=_0x408ebf[_0x348454(0x201)]({'processBlock':function(_0x358a75,_0xc5c228){var _0x231552=_0x348454,_0x4b7600=this['_cipher'],_0x2f2754=_0x4b7600[_0x231552(0x32e)];_0x6e24ff['call'](this,_0x358a75,_0xc5c228,_0x2f2754),_0x4b7600[_0x231552(0x125)](_0x358a75,_0xc5c228),this[_0x231552(0x3aa)]=_0x358a75['slice'](_0xc5c228,_0xc5c228+_0x2f2754);}}),_0x408ebf['Decryptor']=_0x408ebf[_0x348454(0x201)]({'processBlock':function(_0x1b7164,_0x4d1069){var _0x18de31=_0x348454,_0x1ee3e5=this[_0x18de31(0x258)],_0x2314c5=_0x1ee3e5['blockSize'],_0xcd5ede=_0x1b7164[_0x18de31(0x447)](_0x4d1069,_0x4d1069+_0x2314c5);_0x1ee3e5[_0x18de31(0x22b)](_0x1b7164,_0x4d1069),_0x6e24ff[_0x18de31(0x281)](this,_0x1b7164,_0x4d1069,_0x2314c5),this[_0x18de31(0x3aa)]=_0xcd5ede;}});function _0x6e24ff(_0x34e1ef,_0x3d6c31,_0x143b36){var _0x293e91=_0x348454,_0x4256e0,_0x2f5101=this[_0x293e91(0x136)];_0x2f5101?(_0x4256e0=_0x2f5101,this[_0x293e91(0x136)]=_0x29bca5):_0x4256e0=this[_0x293e91(0x3aa)];for(var _0x19b9d1=0x0;_0x19b9d1<_0x143b36;_0x19b9d1++)_0x34e1ef[_0x3d6c31+_0x19b9d1]^=_0x4256e0[_0x19b9d1];}return _0x408ebf;}()),_0x5abf57=_0x83faab[_0x343a8b(0x1ad)]={},_0x3229d5=_0x5abf57[_0x343a8b(0x105)]={'pad':function(_0x4bbb2d,_0xeb3235){var _0x504b0f=_0x343a8b;for(var _0x32f66f=_0xeb3235*0x4,_0x4574a1=_0x32f66f-_0x4bbb2d[_0x504b0f(0x157)]%_0x32f66f,_0x1d9b61=_0x4574a1<<0x18|_0x4574a1<<0x10|_0x4574a1<<0x8|_0x4574a1,_0x39e9ad=[],_0x953727=0x0;_0x953727<_0x4574a1;_0x953727+=0x4)_0x39e9ad[_0x504b0f(0x484)](_0x1d9b61);var _0x1ec5f2=_0x553c00[_0x504b0f(0x1b0)](_0x39e9ad,_0x4574a1);_0x4bbb2d[_0x504b0f(0x306)](_0x1ec5f2);},'unpad':function(_0x59a1d0){var _0x5da2b4=_0x343a8b,_0x6866cb=_0x59a1d0[_0x5da2b4(0x468)][_0x59a1d0[_0x5da2b4(0x157)]-0x1>>>0x2]&0xff;_0x59a1d0[_0x5da2b4(0x157)]-=_0x6866cb;}};_0x9b77b9[_0x343a8b(0x2a2)]=_0x26b1b5['extend']({'cfg':_0x26b1b5[_0x343a8b(0x271)][_0x343a8b(0x201)]({'mode':_0x590da6,'padding':_0x3229d5}),'reset':function(){var _0x1b4f52=_0x343a8b,_0x2e6b07;_0x26b1b5[_0x1b4f52(0x30b)][_0x1b4f52(0x281)](this);var _0x5650bb=this['cfg'],_0xd6301b=_0x5650bb['iv'],_0x52b891=_0x5650bb['mode'];this[_0x1b4f52(0x263)]==this[_0x1b4f52(0x34b)]?_0x2e6b07=_0x52b891['createEncryptor']:(_0x2e6b07=_0x52b891[_0x1b4f52(0x2ad)],this[_0x1b4f52(0x312)]=0x1),this['_mode']&&this[_0x1b4f52(0x21f)][_0x1b4f52(0x2b3)]==_0x2e6b07?this[_0x1b4f52(0x21f)][_0x1b4f52(0x38f)](this,_0xd6301b&&_0xd6301b['words']):(this[_0x1b4f52(0x21f)]=_0x2e6b07[_0x1b4f52(0x281)](_0x52b891,this,_0xd6301b&&_0xd6301b['words']),this[_0x1b4f52(0x21f)][_0x1b4f52(0x2b3)]=_0x2e6b07);},'_doProcessBlock':function(_0x4f4b0d,_0x43a896){var _0x7c0c66=_0x343a8b;this['_mode'][_0x7c0c66(0x3b7)](_0x4f4b0d,_0x43a896);},'_doFinalize':function(){var _0x16ee36=_0x343a8b,_0x3a643f,_0x956859=this['cfg'][_0x16ee36(0x241)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x956859[_0x16ee36(0x1ad)](this[_0x16ee36(0x2d2)],this[_0x16ee36(0x32e)]),_0x3a643f=this[_0x16ee36(0x3f0)](!0x0)):(_0x3a643f=this[_0x16ee36(0x3f0)](!0x0),_0x956859['unpad'](_0x3a643f)),_0x3a643f;},'blockSize':0x80/0x20});var _0x24d873=_0x9b77b9[_0x343a8b(0x1ab)]=_0x1d4bff[_0x343a8b(0x201)]({'init':function(_0x48098a){this['mixIn'](_0x48098a);},'toString':function(_0x4e948e){var _0x5d19c0=_0x343a8b;return(_0x4e948e||this[_0x5d19c0(0x10f)])['stringify'](this);}}),_0x401203=_0x83faab[_0x343a8b(0x1d5)]={},_0x38b7be=_0x401203['OpenSSL']={'stringify':function(_0x43a343){var _0x2d71c7=_0x343a8b,_0x417ddd,_0x18f7a7=_0x43a343[_0x2d71c7(0x33b)],_0x1768bf=_0x43a343['salt'];return _0x1768bf?_0x417ddd=_0x553c00[_0x2d71c7(0x1b0)]([0x53616c74,0x65645f5f])['concat'](_0x1768bf)[_0x2d71c7(0x306)](_0x18f7a7):_0x417ddd=_0x18f7a7,_0x417ddd[_0x2d71c7(0x2e5)](_0x184d3c);},'parse':function(_0x3c7062){var _0xafaf02=_0x343a8b,_0x1260f7,_0x57727d=_0x184d3c[_0xafaf02(0x21c)](_0x3c7062),_0x57555c=_0x57727d['words'];return _0x57555c[0x0]==0x53616c74&&_0x57555c[0x1]==0x65645f5f&&(_0x1260f7=_0x553c00[_0xafaf02(0x1b0)](_0x57555c[_0xafaf02(0x447)](0x2,0x4)),_0x57555c[_0xafaf02(0x486)](0x0,0x4),_0x57727d[_0xafaf02(0x157)]-=0x10),_0x24d873[_0xafaf02(0x1b0)]({'ciphertext':_0x57727d,'salt':_0x1260f7});}},_0x53e8b8=_0x9b77b9[_0x343a8b(0x459)]=_0x1d4bff[_0x343a8b(0x201)]({'cfg':_0x1d4bff['extend']({'format':_0x38b7be}),'encrypt':function(_0x1a9942,_0x4af609,_0xb92917,_0x2be9b9){var _0xdf1f40=_0x343a8b;_0x2be9b9=this[_0xdf1f40(0x271)]['extend'](_0x2be9b9);var _0x4977f6=_0x1a9942[_0xdf1f40(0x11b)](_0xb92917,_0x2be9b9),_0x20f006=_0x4977f6[_0xdf1f40(0x24e)](_0x4af609),_0x7abf0e=_0x4977f6[_0xdf1f40(0x271)];return _0x24d873[_0xdf1f40(0x1b0)]({'ciphertext':_0x20f006,'key':_0xb92917,'iv':_0x7abf0e['iv'],'algorithm':_0x1a9942,'mode':_0x7abf0e[_0xdf1f40(0x362)],'padding':_0x7abf0e[_0xdf1f40(0x241)],'blockSize':_0x1a9942[_0xdf1f40(0x32e)],'formatter':_0x2be9b9[_0xdf1f40(0x1d5)]});},'decrypt':function(_0x4aa26a,_0x59b02b,_0x5486a6,_0x51a1fb){var _0x47c881=_0x343a8b;_0x51a1fb=this[_0x47c881(0x271)][_0x47c881(0x201)](_0x51a1fb),_0x59b02b=this[_0x47c881(0x3ca)](_0x59b02b,_0x51a1fb[_0x47c881(0x1d5)]);var _0x4844c7=_0x4aa26a['createDecryptor'](_0x5486a6,_0x51a1fb)[_0x47c881(0x24e)](_0x59b02b['ciphertext']);return _0x4844c7;},'_parse':function(_0xdba122,_0x17607f){var _0x468b03=_0x343a8b;return typeof _0xdba122==_0x468b03(0x1a5)?_0x17607f['parse'](_0xdba122,this):_0xdba122;}}),_0x479a0f=_0x83faab[_0x343a8b(0x284)]={},_0x25b151=_0x479a0f[_0x343a8b(0x10a)]={'execute':function(_0x3c1622,_0xdb31bc,_0xf507b2,_0x2a5850,_0x3bb621){var _0x1fcf24=_0x343a8b;if(_0x2a5850||(_0x2a5850=_0x553c00[_0x1fcf24(0x3ef)](0x40/0x8)),_0x3bb621)var _0x1f2398=_0x5f1dd4[_0x1fcf24(0x1b0)]({'keySize':_0xdb31bc+_0xf507b2,'hasher':_0x3bb621})[_0x1fcf24(0x301)](_0x3c1622,_0x2a5850);else var _0x1f2398=_0x5f1dd4['create']({'keySize':_0xdb31bc+_0xf507b2})['compute'](_0x3c1622,_0x2a5850);var _0x2cae98=_0x553c00[_0x1fcf24(0x1b0)](_0x1f2398[_0x1fcf24(0x468)][_0x1fcf24(0x447)](_0xdb31bc),_0xf507b2*0x4);return _0x1f2398[_0x1fcf24(0x157)]=_0xdb31bc*0x4,_0x24d873[_0x1fcf24(0x1b0)]({'key':_0x1f2398,'iv':_0x2cae98,'salt':_0x2a5850});}},_0xab1b46=_0x9b77b9[_0x343a8b(0x2f5)]=_0x53e8b8['extend']({'cfg':_0x53e8b8[_0x343a8b(0x271)][_0x343a8b(0x201)]({'kdf':_0x25b151}),'encrypt':function(_0x1464fd,_0xcac8ca,_0x394f46,_0x2e77f3){var _0x31646c=_0x343a8b;_0x2e77f3=this[_0x31646c(0x271)]['extend'](_0x2e77f3);var _0x320843=_0x2e77f3[_0x31646c(0x284)][_0x31646c(0x3e2)](_0x394f46,_0x1464fd[_0x31646c(0x471)],_0x1464fd[_0x31646c(0x228)],_0x2e77f3[_0x31646c(0x464)],_0x2e77f3[_0x31646c(0x497)]);_0x2e77f3['iv']=_0x320843['iv'];var _0x901d2c=_0x53e8b8[_0x31646c(0x166)][_0x31646c(0x281)](this,_0x1464fd,_0xcac8ca,_0x320843['key'],_0x2e77f3);return _0x901d2c['mixIn'](_0x320843),_0x901d2c;},'decrypt':function(_0x1a7349,_0x81203d,_0x32997b,_0x2742fc){var _0x3600db=_0x343a8b;_0x2742fc=this[_0x3600db(0x271)][_0x3600db(0x201)](_0x2742fc),_0x81203d=this['_parse'](_0x81203d,_0x2742fc[_0x3600db(0x1d5)]);var _0x3dba2d=_0x2742fc[_0x3600db(0x284)][_0x3600db(0x3e2)](_0x32997b,_0x1a7349[_0x3600db(0x471)],_0x1a7349['ivSize'],_0x81203d[_0x3600db(0x464)],_0x2742fc[_0x3600db(0x497)]);_0x2742fc['iv']=_0x3dba2d['iv'];var _0x10e7b8=_0x53e8b8['decrypt'][_0x3600db(0x281)](this,_0x1a7349,_0x81203d,_0x3dba2d[_0x3600db(0x13e)],_0x2742fc);return _0x10e7b8;}});}();}));}(_0xb5fe26)),_0xb5fe26['exports'];}var _0x13d03b=_0x5b936c[_0x27d9cd(0x18f)],_0xfd2f9c;function _0x12110b(){var _0x239d3e=_0x27d9cd;return _0xfd2f9c||(_0xfd2f9c=0x1,function(_0x2ab781,_0x5ca277){(function(_0x43614e,_0x52490f,_0x461a5d){var _0x5305fd=_0x479e;_0x2ab781[_0x5305fd(0x18f)]=_0x52490f(_0x421067(),_0x54b5ab(),_0xc3e901(),_0x4d13dd(),_0x2e4f8e());}(_0x13d03b,function(_0x4a732b){var _0x34adcd=_0x479e;return(function(){var _0x29bec6=_0x479e,_0x428d31=_0x4a732b,_0x2b8c68=_0x428d31[_0x29bec6(0x33a)],_0x18dfdf=_0x2b8c68[_0x29bec6(0x2a2)],_0xf7ab39=_0x428d31[_0x29bec6(0x116)],_0x4d724f=[],_0x74e008=[],_0x3648c0=[],_0x480b9e=[],_0x563861=[],_0x4af45e=[],_0xcb0935=[],_0x1a45f2=[],_0x579d9f=[],_0x1922d8=[];(function(){for(var _0x2af059=[],_0x28c129=0x0;_0x28c129<0x100;_0x28c129++)_0x28c129<0x80?_0x2af059[_0x28c129]=_0x28c129<<0x1:_0x2af059[_0x28c129]=_0x28c129<<0x1^0x11b;for(var _0x3bc8fe=0x0,_0x4a8658=0x0,_0x28c129=0x0;_0x28c129<0x100;_0x28c129++){var _0x3e7e33=_0x4a8658^_0x4a8658<<0x1^_0x4a8658<<0x2^_0x4a8658<<0x3^_0x4a8658<<0x4;_0x3e7e33=_0x3e7e33>>>0x8^_0x3e7e33&0xff^0x63,_0x4d724f[_0x3bc8fe]=_0x3e7e33,_0x74e008[_0x3e7e33]=_0x3bc8fe;var _0x409ee8=_0x2af059[_0x3bc8fe],_0x1d88fc=_0x2af059[_0x409ee8],_0x298a2f=_0x2af059[_0x1d88fc],_0x56b634=_0x2af059[_0x3e7e33]*0x101^_0x3e7e33*0x1010100;_0x3648c0[_0x3bc8fe]=_0x56b634<<0x18|_0x56b634>>>0x8,_0x480b9e[_0x3bc8fe]=_0x56b634<<0x10|_0x56b634>>>0x10,_0x563861[_0x3bc8fe]=_0x56b634<<0x8|_0x56b634>>>0x18,_0x4af45e[_0x3bc8fe]=_0x56b634;var _0x56b634=_0x298a2f*0x1010101^_0x1d88fc*0x10001^_0x409ee8*0x101^_0x3bc8fe*0x1010100;_0xcb0935[_0x3e7e33]=_0x56b634<<0x18|_0x56b634>>>0x8,_0x1a45f2[_0x3e7e33]=_0x56b634<<0x10|_0x56b634>>>0x10,_0x579d9f[_0x3e7e33]=_0x56b634<<0x8|_0x56b634>>>0x18,_0x1922d8[_0x3e7e33]=_0x56b634,_0x3bc8fe?(_0x3bc8fe=_0x409ee8^_0x2af059[_0x2af059[_0x2af059[_0x298a2f^_0x409ee8]]],_0x4a8658^=_0x2af059[_0x2af059[_0x4a8658]]):_0x3bc8fe=_0x4a8658=0x1;}}());var _0x26680b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x847cca=_0xf7ab39[_0x29bec6(0x1c0)]=_0x18dfdf['extend']({'_doReset':function(){var _0x4caba0=_0x29bec6,_0x303b29;if(!(this[_0x4caba0(0x3c7)]&&this[_0x4caba0(0x275)]===this[_0x4caba0(0x363)])){for(var _0x2e599e=this[_0x4caba0(0x275)]=this[_0x4caba0(0x363)],_0x54f2c5=_0x2e599e['words'],_0x2dacd8=_0x2e599e[_0x4caba0(0x157)]/0x4,_0x4b76a1=this[_0x4caba0(0x3c7)]=_0x2dacd8+0x6,_0x148494=(_0x4b76a1+0x1)*0x4,_0x32081f=this[_0x4caba0(0x2a1)]=[],_0x2239b0=0x0;_0x2239b0<_0x148494;_0x2239b0++)_0x2239b0<_0x2dacd8?_0x32081f[_0x2239b0]=_0x54f2c5[_0x2239b0]:(_0x303b29=_0x32081f[_0x2239b0-0x1],_0x2239b0%_0x2dacd8?_0x2dacd8>0x6&&_0x2239b0%_0x2dacd8==0x4&&(_0x303b29=_0x4d724f[_0x303b29>>>0x18]<<0x18|_0x4d724f[_0x303b29>>>0x10&0xff]<<0x10|_0x4d724f[_0x303b29>>>0x8&0xff]<<0x8|_0x4d724f[_0x303b29&0xff]):(_0x303b29=_0x303b29<<0x8|_0x303b29>>>0x18,_0x303b29=_0x4d724f[_0x303b29>>>0x18]<<0x18|_0x4d724f[_0x303b29>>>0x10&0xff]<<0x10|_0x4d724f[_0x303b29>>>0x8&0xff]<<0x8|_0x4d724f[_0x303b29&0xff],_0x303b29^=_0x26680b[_0x2239b0/_0x2dacd8|0x0]<<0x18),_0x32081f[_0x2239b0]=_0x32081f[_0x2239b0-_0x2dacd8]^_0x303b29);for(var _0x421b01=this[_0x4caba0(0x3ad)]=[],_0xb788b6=0x0;_0xb788b6<_0x148494;_0xb788b6++){var _0x2239b0=_0x148494-_0xb788b6;if(_0xb788b6%0x4)var _0x303b29=_0x32081f[_0x2239b0];else var _0x303b29=_0x32081f[_0x2239b0-0x4];_0xb788b6<0x4||_0x2239b0<=0x4?_0x421b01[_0xb788b6]=_0x303b29:_0x421b01[_0xb788b6]=_0xcb0935[_0x4d724f[_0x303b29>>>0x18]]^_0x1a45f2[_0x4d724f[_0x303b29>>>0x10&0xff]]^_0x579d9f[_0x4d724f[_0x303b29>>>0x8&0xff]]^_0x1922d8[_0x4d724f[_0x303b29&0xff]];}}},'encryptBlock':function(_0x254e1d,_0x26282){var _0xeb3ef4=_0x29bec6;this[_0xeb3ef4(0x276)](_0x254e1d,_0x26282,this[_0xeb3ef4(0x2a1)],_0x3648c0,_0x480b9e,_0x563861,_0x4af45e,_0x4d724f);},'decryptBlock':function(_0x59ca59,_0x558c9a){var _0xb009a1=_0x29bec6,_0x5e38cc=_0x59ca59[_0x558c9a+0x1];_0x59ca59[_0x558c9a+0x1]=_0x59ca59[_0x558c9a+0x3],_0x59ca59[_0x558c9a+0x3]=_0x5e38cc,this['_doCryptBlock'](_0x59ca59,_0x558c9a,this[_0xb009a1(0x3ad)],_0xcb0935,_0x1a45f2,_0x579d9f,_0x1922d8,_0x74e008);var _0x5e38cc=_0x59ca59[_0x558c9a+0x1];_0x59ca59[_0x558c9a+0x1]=_0x59ca59[_0x558c9a+0x3],_0x59ca59[_0x558c9a+0x3]=_0x5e38cc;},'_doCryptBlock':function(_0x22e25d,_0x15e8cb,_0x4b58df,_0x3fb3d9,_0x45bbab,_0x1858b1,_0xf4d09f,_0xe1261d){var _0x4cecfb=_0x29bec6;for(var _0x19ff74=this[_0x4cecfb(0x3c7)],_0x1a2315=_0x22e25d[_0x15e8cb]^_0x4b58df[0x0],_0x34b647=_0x22e25d[_0x15e8cb+0x1]^_0x4b58df[0x1],_0x23f507=_0x22e25d[_0x15e8cb+0x2]^_0x4b58df[0x2],_0x4bce73=_0x22e25d[_0x15e8cb+0x3]^_0x4b58df[0x3],_0x5c69b2=0x4,_0x4ae830=0x1;_0x4ae830<_0x19ff74;_0x4ae830++){var _0x21cd29=_0x3fb3d9[_0x1a2315>>>0x18]^_0x45bbab[_0x34b647>>>0x10&0xff]^_0x1858b1[_0x23f507>>>0x8&0xff]^_0xf4d09f[_0x4bce73&0xff]^_0x4b58df[_0x5c69b2++],_0x27f23c=_0x3fb3d9[_0x34b647>>>0x18]^_0x45bbab[_0x23f507>>>0x10&0xff]^_0x1858b1[_0x4bce73>>>0x8&0xff]^_0xf4d09f[_0x1a2315&0xff]^_0x4b58df[_0x5c69b2++],_0x91cce5=_0x3fb3d9[_0x23f507>>>0x18]^_0x45bbab[_0x4bce73>>>0x10&0xff]^_0x1858b1[_0x1a2315>>>0x8&0xff]^_0xf4d09f[_0x34b647&0xff]^_0x4b58df[_0x5c69b2++],_0x2401fc=_0x3fb3d9[_0x4bce73>>>0x18]^_0x45bbab[_0x1a2315>>>0x10&0xff]^_0x1858b1[_0x34b647>>>0x8&0xff]^_0xf4d09f[_0x23f507&0xff]^_0x4b58df[_0x5c69b2++];_0x1a2315=_0x21cd29,_0x34b647=_0x27f23c,_0x23f507=_0x91cce5,_0x4bce73=_0x2401fc;}var _0x21cd29=(_0xe1261d[_0x1a2315>>>0x18]<<0x18|_0xe1261d[_0x34b647>>>0x10&0xff]<<0x10|_0xe1261d[_0x23f507>>>0x8&0xff]<<0x8|_0xe1261d[_0x4bce73&0xff])^_0x4b58df[_0x5c69b2++],_0x27f23c=(_0xe1261d[_0x34b647>>>0x18]<<0x18|_0xe1261d[_0x23f507>>>0x10&0xff]<<0x10|_0xe1261d[_0x4bce73>>>0x8&0xff]<<0x8|_0xe1261d[_0x1a2315&0xff])^_0x4b58df[_0x5c69b2++],_0x91cce5=(_0xe1261d[_0x23f507>>>0x18]<<0x18|_0xe1261d[_0x4bce73>>>0x10&0xff]<<0x10|_0xe1261d[_0x1a2315>>>0x8&0xff]<<0x8|_0xe1261d[_0x34b647&0xff])^_0x4b58df[_0x5c69b2++],_0x2401fc=(_0xe1261d[_0x4bce73>>>0x18]<<0x18|_0xe1261d[_0x1a2315>>>0x10&0xff]<<0x10|_0xe1261d[_0x34b647>>>0x8&0xff]<<0x8|_0xe1261d[_0x23f507&0xff])^_0x4b58df[_0x5c69b2++];_0x22e25d[_0x15e8cb]=_0x21cd29,_0x22e25d[_0x15e8cb+0x1]=_0x27f23c,_0x22e25d[_0x15e8cb+0x2]=_0x91cce5,_0x22e25d[_0x15e8cb+0x3]=_0x2401fc;},'keySize':0x100/0x20});_0x428d31[_0x29bec6(0x1c0)]=_0x18dfdf['_createHelper'](_0x847cca);}()),_0x4a732b[_0x34adcd(0x1c0)];}));}(_0x5b936c)),_0x5b936c[_0x239d3e(0x18f)];}var _0x3bf15f=_0x12110b();const _0x57d211=_0x3ec628(_0x3bf15f);var _0x4fb1c6=_0x54b5ab();const _0x55a154=_0x3ec628(_0x4fb1c6);var _0x135dcc={'exports':{}},_0x3e54f9=_0x135dcc[_0x27d9cd(0x18f)],_0x128af5;function _0x356752(){var _0x7bcfae=_0x27d9cd;return _0x128af5||(_0x128af5=0x1,function(_0xfedf46,_0x33d7cb){(function(_0x390600,_0x494343){var _0x208f98=_0x479e;_0xfedf46[_0x208f98(0x18f)]=_0x494343(_0x421067());}(_0x3e54f9,function(_0x43a634){var _0x2b889b=_0x479e;return _0x43a634[_0x2b889b(0x1a0)][_0x2b889b(0x48c)];}));}(_0x135dcc)),_0x135dcc[_0x7bcfae(0x18f)];}var _0x985a49=_0x356752();const _0x125ee2=_0x3ec628(_0x985a49);var _0x3d4ba0={'exports':{}},_0x2bce6a=_0x3d4ba0[_0x27d9cd(0x18f)],_0x58d75e;function _0x6fc998(){var _0x4ac6e8=_0x27d9cd;return _0x58d75e||(_0x58d75e=0x1,function(_0x372876,_0x55f68d){(function(_0x418b81,_0x4a43bd){_0x372876['exports']=_0x4a43bd(_0x421067());}(_0x2bce6a,function(_0x41717f){var _0x20a272=_0x479e;return(function(){var _0x343126=_0x479e;if(typeof ArrayBuffer==_0x343126(0x198)){var _0x365485=_0x41717f,_0x170eec=_0x365485[_0x343126(0x33a)],_0x27bd80=_0x170eec['WordArray'],_0x3736ab=_0x27bd80['init'],_0x22e120=_0x27bd80[_0x343126(0x38f)]=function(_0x426de3){var _0x5175f2=_0x343126;if(_0x426de3 instanceof ArrayBuffer&&(_0x426de3=new Uint8Array(_0x426de3)),(_0x426de3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x426de3 instanceof Uint8ClampedArray||_0x426de3 instanceof Int16Array||_0x426de3 instanceof Uint16Array||_0x426de3 instanceof Int32Array||_0x426de3 instanceof Uint32Array||_0x426de3 instanceof Float32Array||_0x426de3 instanceof Float64Array)&&(_0x426de3=new Uint8Array(_0x426de3[_0x5175f2(0x417)],_0x426de3[_0x5175f2(0x378)],_0x426de3[_0x5175f2(0x2ea)])),_0x426de3 instanceof Uint8Array){for(var _0x4686d9=_0x426de3[_0x5175f2(0x2ea)],_0x171a5c=[],_0x4c1cfc=0x0;_0x4c1cfc<_0x4686d9;_0x4c1cfc++)_0x171a5c[_0x4c1cfc>>>0x2]|=_0x426de3[_0x4c1cfc]<<0x18-_0x4c1cfc%0x4*0x8;_0x3736ab['call'](this,_0x171a5c,_0x4686d9);}else _0x3736ab[_0x5175f2(0x1fc)](this,arguments);};_0x22e120[_0x343126(0x19f)]=_0x27bd80;}}()),_0x41717f[_0x20a272(0x33a)][_0x20a272(0x17f)];}));}(_0x3d4ba0)),_0x3d4ba0[_0x4ac6e8(0x18f)];}var _0x513cd=_0x6fc998();const _0x365f3b=_0x3ec628(_0x513cd);var _0x397bb7={'exports':{}},_0x265277=_0x397bb7['exports'],_0xb9de2f;function _0x9b7317(){var _0x5d278c=_0x27d9cd;return _0xb9de2f||(_0xb9de2f=0x1,function(_0x447a5f,_0x543709){(function(_0x40cdb5,_0xf6c385,_0x29d443){var _0x38304a=_0x479e;_0x447a5f[_0x38304a(0x18f)]=_0xf6c385(_0x421067(),_0x2e4f8e());}(_0x265277,function(_0x18f266){var _0x59e8d8=_0x479e;return _0x18f266[_0x59e8d8(0x1ad)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x18f266[_0x59e8d8(0x1ad)][_0x59e8d8(0x455)];}));}(_0x397bb7)),_0x397bb7[_0x5d278c(0x18f)];}var _0x2f3a19=_0x9b7317();const _0x54fa13=_0x3ec628(_0x2f3a19);function _0xd691f(_0x19f5b4,_0x1fbf1c){var _0x5b9479=_0x27d9cd;const _0x4ec886=_0x1fbf1c-_0x19f5b4[_0x5b9479(0x3ea)]%_0x1fbf1c,_0x20ba90=String['fromCharCode'](_0x4ec886)[_0x5b9479(0x3e6)](_0x4ec886);return _0x19f5b4+_0x20ba90;}function _0x4b3abf(_0x27609c,_0x127523){var _0x15c236=_0x27d9cd;const _0x4ad1d2=_0x365f3b[_0x15c236(0x3ef)](0x10),_0x2e5d79=_0xd691f(_0x27609c,0x10),_0x458f4f=_0x57d211[_0x15c236(0x166)](_0x125ee2['parse'](_0x2e5d79),_0x55a154[_0x15c236(0x21c)](_0x127523),{'iv':_0x4ad1d2,'padding':_0x54fa13});return _0x4ad1d2[_0x15c236(0x306)](_0x458f4f['ciphertext'])[_0x15c236(0x2e5)](_0x55a154);}function _0x468205(){var _0xd82a22=_0x27d9cd;const _0xd14bf6=_0x2a124c[_0xd82a22(0x274)]()[_0xd82a22(0x42f)];if(_0xd14bf6){const _0x22cca5={'time':Math[_0xd82a22(0x269)](Date[_0xd82a22(0x212)]()/0x3e8),'domain':location['hostname']};return _0x4b3abf(JSON[_0xd82a22(0x38c)](_0x22cca5),_0xd14bf6);}}var _0x267be9=Object['getOwnPropertyDescriptor'],_0x5eae1c=(_0x4afc0b,_0x2b3bbf,_0x3bf6ab,_0x4b221a)=>{var _0x24d3b5=_0x27d9cd;for(var _0x4e206a=_0x4b221a>0x1?void 0x0:_0x4b221a?_0x267be9(_0x2b3bbf,_0x3bf6ab):_0x2b3bbf,_0x2b4155=_0x4afc0b[_0x24d3b5(0x3ea)]-0x1,_0xa9f308;_0x2b4155>=0x0;_0x2b4155--)(_0xa9f308=_0x4afc0b[_0x2b4155])&&(_0x4e206a=_0xa9f308(_0x4e206a)||_0x4e206a);return _0x4e206a;},_0x467f41=(_0x4cb696,_0x375526)=>(_0x39d861,_0x33e14f)=>_0x375526(_0x39d861,_0x33e14f,_0x4cb696);let _0x3ba46f=class{constructor(_0x13a6c5){var _0x27e572=_0x27d9cd;this[_0x27e572(0x1f5)]=_0x13a6c5,this[_0x27e572(0x355)]();}[_0x27d9cd(0x355)](){var _0x204e75=_0x27d9cd;this[_0x204e75(0x1f5)][_0x204e75(0x2b7)]({'interceptor':(_0x4f0bc8,_0x40874d)=>{var _0x27f83c=_0x204e75;const _0x40b483=_0x4f0bc8[_0x27f83c(0x3a8)],_0x188ae2=_0x468205();return _0x188ae2&&_0x40b483['set'](_0x27f83c(0x194),_0x188ae2),_0x40874d(_0x4f0bc8);}});}};_0x3ba46f=_0x5eae1c([_0x467f41(0x0,_0xecd3bb['Inject'](_0x3fafbd[_0x27d9cd(0x3d8)]))],_0x3ba46f);var _0x2491f3=Object['getOwnPropertyDescriptor'],_0x197051=(_0x1e93a1,_0x4790b4,_0x3b3bca,_0x1835c8)=>{var _0x4da1cd=_0x27d9cd;for(var _0x5e5802=_0x1835c8>0x1?void 0x0:_0x1835c8?_0x2491f3(_0x4790b4,_0x3b3bca):_0x4790b4,_0xd240a5=_0x1e93a1[_0x4da1cd(0x3ea)]-0x1,_0x330b34;_0xd240a5>=0x0;_0xd240a5--)(_0x330b34=_0x1e93a1[_0xd240a5])&&(_0x5e5802=_0x330b34(_0x5e5802)||_0x5e5802);return _0x5e5802;},_0x2234fb=(_0x592e52,_0x14b025)=>(_0x2d3a3c,_0x9bd748)=>_0x14b025(_0x2d3a3c,_0x9bd748,_0x592e52);_0x190799[_0x27d9cd(0x39f)]=class extends _0xecd3bb['RxDisposable']{constructor(_0x4d23b5,_0x1a15b9,_0x5b3b7d){var _0x336076=_0x27d9cd;super(),_0x45ccb1(this,'_unitInfo$',new _0x3b002d['BehaviorSubject'](null)),_0x45ccb1(this,'unitInfo$',this['_unitInfo$'][_0x336076(0x3d0)]()),(this[_0x336076(0x200)]=_0x4d23b5,this['_snapshotService']=_0x1a15b9,this[_0x336076(0x22d)]=_0x5b3b7d);}async[_0x27d9cd(0x232)](_0x1ec8b0,_0x3d860b,_0x488c17){var _0x4df39a=_0x27d9cd;this['_unitInfo$']['next']({'unitId':_0x1ec8b0,'type':_0x3d860b});let _0x1cb2d6=null;switch(_0x3d860b){case _0x3bdfff[_0x4df39a(0x15b)]:{_0x1cb2d6=await this[_0x4df39a(0x2c0)][_0x4df39a(0x481)](_0x1ec8b0,_0x488c17);break;}case _0x3bdfff['UNIVER_DOC']:{_0x1cb2d6=await this[_0x4df39a(0x2c0)]['loadDoc'](_0x1ec8b0,_0x488c17);break;}default:{this[_0x4df39a(0x200)][_0x4df39a(0x25e)](_0x4df39a(0x450),_0x4df39a(0x46b));break;}}return _0x1cb2d6;}async[_0x27d9cd(0x452)](_0x38f626,_0x349d87,_0x4424c3){var _0x34a964=_0x27d9cd,_0x649c12;this[_0x34a964(0x327)][_0x34a964(0x3f9)]({'unitId':_0x38f626,'type':_0x349d87,'subUnitId':_0x4424c3});let _0x1c8662=0x0;const _0xaa5ff3=await((_0x649c12=this[_0x34a964(0x22d)])==null?void 0x0:_0x649c12[_0x34a964(0x254)](_0x38f626));return _0xaa5ff3&&(_0xaa5ff3[_0x34a964(0x103)]||_0xaa5ff3['mutations']['length']!==0x0)&&(_0x1c8662=_0xaa5ff3['rev']),_0x1c8662===0x0&&this[_0x34a964(0x200)][_0x34a964(0x176)]('[DataLoaderService]',_0x34a964(0x454)),this[_0x34a964(0x232)](_0x38f626,_0x349d87,_0x1c8662);}},_0x190799[_0x27d9cd(0x39f)]=_0x197051([_0x2234fb(0x0,_0xecd3bb['ILogService']),_0x2234fb(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x5a8633[_0x27d9cd(0x385)])),_0x2234fb(0x2,_0xecd3bb[_0x27d9cd(0x12d)](_0x521485))],_0x190799[_0x27d9cd(0x39f)]);var _0x2228f4=Object['getOwnPropertyDescriptor'],_0x58729b=(_0x15a34a,_0x50a55c,_0x2b766a,_0x294fa4)=>{for(var _0x2c6fe9=_0x294fa4>0x1?void 0x0:_0x294fa4?_0x2228f4(_0x50a55c,_0x2b766a):_0x50a55c,_0x36a56a=_0x15a34a['length']-0x1,_0x13f756;_0x36a56a>=0x0;_0x36a56a--)(_0x13f756=_0x15a34a[_0x36a56a])&&(_0x2c6fe9=_0x13f756(_0x2c6fe9)||_0x2c6fe9);return _0x2c6fe9;},_0x5d7bba=(_0x5af371,_0x21cfec)=>(_0x539b3b,_0x206026)=>_0x21cfec(_0x539b3b,_0x206026,_0x5af371);const _0x2a4db4=[_0x27d9cd(0x1fb),_0x27d9cd(0x1ac),_0x27d9cd(0x1d3),'image/gif',_0x27d9cd(0x3a2)],_0x3b7533=0x5*0x400*0x400,_0x215a0c=_0x27d9cd(0x141),_0x786e=_0x27d9cd(0x458);_0x190799[_0x27d9cd(0x49f)]=class{constructor(_0x321c85,_0x507a96,_0x46faf5){var _0x2240ff=_0x27d9cd;_0x45ccb1(this,_0x2240ff(0x36c),0x0),_0x45ccb1(this,_0x2240ff(0x1bc),new _0x3b002d[(_0x2240ff(0x26c))]()),_0x45ccb1(this,_0x2240ff(0x28d),this[_0x2240ff(0x1bc)]),_0x45ccb1(this,_0x2240ff(0x3f5),new Map()),(this[_0x2240ff(0x1f5)]=_0x321c85,this[_0x2240ff(0x435)]=_0x507a96,this[_0x2240ff(0x3c6)]=_0x46faf5);}[_0x27d9cd(0x2c9)](_0x3e2005){var _0x1e1209=_0x27d9cd;this[_0x1e1209(0x36c)]=_0x3e2005,this[_0x1e1209(0x1bc)][_0x1e1209(0x3f9)](_0x3e2005);}['getImageSourceCache'](_0x33826a,_0xc7094a){var _0x4f4fe4=_0x27d9cd;if(_0xc7094a===_0x102bc9['ImageSourceType'][_0x4f4fe4(0x440)]){const _0x424fe4=new Image();return _0x424fe4[_0x4f4fe4(0x483)]=_0x33826a,_0x424fe4;}return this['_imageSourceCache'][_0x4f4fe4(0x15d)](_0x33826a);}[_0x27d9cd(0x29d)](_0x2b6b28,_0x16b94e,_0x1541e6){var _0x9299db=_0x27d9cd;_0x16b94e===_0x102bc9[_0x9299db(0x268)][_0x9299db(0x440)]||_0x1541e6==null||this[_0x9299db(0x3f5)][_0x9299db(0x2fa)](_0x2b6b28,_0x1541e6);}async[_0x27d9cd(0x12a)](_0x26692f){var _0x2bc2f9=_0x27d9cd;try{const _0x4339a4=this['_replaceFileID'](this[_0x2bc2f9(0x168)](),''+_0x26692f),_0x4e28d0=(await this[_0x2bc2f9(0x1f5)]['get'](_0x4339a4))[_0x2bc2f9(0x3df)];if(_0x4e28d0[_0x2bc2f9(0x25e)]&&_0x4e28d0[_0x2bc2f9(0x25e)][_0x2bc2f9(0x1ba)]===_0x1ddbd0['OK']){const _0x2e253b=new URL(_0x4e28d0[_0x2bc2f9(0x26f)],this[_0x2bc2f9(0x22f)]())['toString']();return Promise[_0x2bc2f9(0x135)](_0x2e253b);}return Promise[_0x2bc2f9(0x476)](_0x4e28d0['error']);}catch(_0x38dcc5){return Promise[_0x2bc2f9(0x476)](_0x38dcc5);}}async[_0x27d9cd(0x17b)](_0x21f894){var _0x224f85=_0x27d9cd;let _0x136520='';if(!_0x2a4db4[_0x224f85(0x23a)](_0x21f894[_0x224f85(0x430)]))return this[_0x224f85(0x372)](),Promise[_0x224f85(0x476)](new Error(_0x102bc9['ImageUploadStatusType'][_0x224f85(0x351)]));if(_0x21f894['size']>_0x3b7533)return this[_0x224f85(0x372)](),Promise[_0x224f85(0x476)](new Error(_0x102bc9[_0x224f85(0x1f3)]['ERROR_EXCEED_SIZE']));try{const _0x242df0=new FormData();_0x242df0[_0x224f85(0x202)](_0x224f85(0x231),_0x21f894);const _0x3f16a7=this[_0x224f85(0x3c6)]['getFocusedUnit'](),_0x1e315b=_0x3f16a7==null?void 0x0:_0x3f16a7[_0x224f85(0x279)]();if(!_0x1e315b)throw new Error(_0x224f85(0x17a));const _0x51996b=this['_getUploadFileURL']()+_0x224f85(0x2d5)+_0x21f894[_0x224f85(0x401)]['toString']()+_0x224f85(0x42a)+_0x17e6be[_0x224f85(0x43d)]+_0x224f85(0x3b1)+encodeURIComponent(_0x1e315b),_0x1c4a2a={'body':_0x242df0},_0x4c6b0d=(await this['_httpService'][_0x224f85(0x1ff)](_0x51996b,_0x1c4a2a))[_0x224f85(0x3df)];if(typeof _0x4c6b0d[_0x224f85(0x49b)]!=_0x224f85(0x1a5))return this[_0x224f85(0x372)](),Promise[_0x224f85(0x476)](new Error(_0x102bc9[_0x224f85(0x1f3)][_0x224f85(0x14c)]));_0x136520=_0x4c6b0d[_0x224f85(0x49b)];}catch{return this[_0x224f85(0x372)](),Promise['reject'](new Error(_0x102bc9[_0x224f85(0x1f3)][_0x224f85(0x14c)]));}return new Promise((_0x1d87be,_0x351fa5)=>{var _0x2a2612=_0x224f85;const _0x194671=new FileReader();_0x194671[_0x2a2612(0x13d)](_0x21f894),_0x194671[_0x2a2612(0x28c)]=_0x450891=>{var _0x6dc4eb=_0x2a2612,_0x5245cc;const _0x5e54e0=(_0x5245cc=_0x450891['target'])==null?void 0x0:_0x5245cc[_0x6dc4eb(0x2b9)];if(_0x5e54e0==null){this[_0x6dc4eb(0x372)](),_0x351fa5(new Error(_0x102bc9['ImageUploadStatusType'][_0x6dc4eb(0x14c)]));return;}const _0x2102f0=_0xecd3bb[_0x6dc4eb(0x38d)](0x6);_0x1d87be({'imageId':_0x2102f0,'imageSourceType':_0x102bc9['ImageSourceType']['UUID'],'source':_0x136520,'base64Cache':_0x5e54e0,'status':_0x102bc9[_0x6dc4eb(0x1f3)][_0x6dc4eb(0xfe)]}),this[_0x6dc4eb(0x372)]();};});}[_0x27d9cd(0x470)](){var _0x1d3a1e=_0x27d9cd,_0x97b10d;const _0x1b9b4c=this[_0x1d3a1e(0x435)][_0x1d3a1e(0x36e)](_0xa270ad);return(_0x97b10d=_0x1b9b4c==null?void 0x0:_0x1b9b4c['uploadFileServerUrl'])!=null?_0x97b10d:_0x215a0c;}['_getSignURL'](){var _0x4b8c31=_0x27d9cd,_0xa0656a;const _0x50b92e=this[_0x4b8c31(0x435)][_0x4b8c31(0x36e)](_0xa270ad);return(_0xa0656a=_0x50b92e==null?void 0x0:_0x50b92e[_0x4b8c31(0x178)])!=null?_0xa0656a:_0x786e;}[_0x27d9cd(0x22f)](){var _0x2608ec=_0x27d9cd,_0x1f5480;const _0xa63237=this[_0x2608ec(0x435)][_0x2608ec(0x36e)](_0xa270ad);return(_0x1f5480=_0xa63237==null?void 0x0:_0xa63237[_0x2608ec(0x3a3)])!=null?_0x1f5480:location[_0x2608ec(0x373)];}[_0x27d9cd(0x170)](_0x5d8114,_0x2f5843){var _0x450a66=_0x27d9cd;return _0x5d8114[_0x450a66(0x13b)]('{fileID}',_0x2f5843);}[_0x27d9cd(0x372)](){var _0xf2a5a5=_0x27d9cd;this['_waitCount']-=0x1,this[_0xf2a5a5(0x1bc)][_0xf2a5a5(0x3f9)](this[_0xf2a5a5(0x36c)]);}},_0x190799['CollaborationImageIoService']=_0x58729b([_0x5d7bba(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0x3fafbd[_0x27d9cd(0x3d8)])),_0x5d7bba(0x1,_0xecd3bb['IConfigService']),_0x5d7bba(0x2,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x104)]))],_0x190799[_0x27d9cd(0x49f)]);var _0x132842=Object[_0x27d9cd(0x49e)],_0x526ca1=(_0x18b1b1,_0x3dd182,_0x118385,_0x188f74)=>{for(var _0x1467f0=_0x188f74>0x1?void 0x0:_0x188f74?_0x132842(_0x3dd182,_0x118385):_0x3dd182,_0x29b19f=_0x18b1b1['length']-0x1,_0x5daf9c;_0x29b19f>=0x0;_0x29b19f--)(_0x5daf9c=_0x18b1b1[_0x29b19f])&&(_0x1467f0=_0x5daf9c(_0x1467f0)||_0x1467f0);return _0x1467f0;},_0x2f47ce=(_0x142a40,_0x45092e)=>(_0x27f287,_0x16f1a6)=>_0x45092e(_0x27f287,_0x16f1a6,_0x142a40);const _0x4a31ea='/universer-api/authz';_0x190799[_0x27d9cd(0x33f)]=class{constructor(_0x11076a,_0x780b23){var _0x20a75b=_0x27d9cd;this[_0x20a75b(0x435)]=_0x11076a,this[_0x20a75b(0x2f8)]=_0x780b23;}['_getAPIPrefixPath'](){var _0x14059d=_0x27d9cd,_0xcde67a;const _0x4c998c=this[_0x14059d(0x435)][_0x14059d(0x36e)](_0xa270ad);return(_0xcde67a=_0x4c998c==null?void 0x0:_0x4c998c['authzUrl'])!=null?_0xcde67a:_0x4a31ea;}async[_0x27d9cd(0x40b)](_0x3e357d){var _0xa6fea3=_0x27d9cd;const _0x499b3a=this[_0xa6fea3(0x156)]()+'/collaborator';return{'list':[{'title':_0xa6fea3(0x409),'mentions':(await this[_0xa6fea3(0x2f8)][_0xa6fea3(0x15d)](_0x499b3a,{'params':{'objectID':_0x3e357d[_0xa6fea3(0x18c)],'unitID':_0x3e357d[_0xa6fea3(0x18c)]}}))[_0xa6fea3(0x3df)][_0xa6fea3(0x47b)]['map'](_0x31c309=>({'objectId':_0x31c309['id'],'name':_0x31c309[_0xa6fea3(0x3da)][_0xa6fea3(0x495)],'metadata':{'icon':_0x31c309[_0xa6fea3(0x3da)][_0xa6fea3(0x123)]},'label':_0x31c309[_0xa6fea3(0x3da)][_0xa6fea3(0x495)],'objectType':_0xecd3bb[_0xa6fea3(0x3f4)][_0xa6fea3(0x341)]})),'metadata':{},'type':_0xecd3bb['MentionType'][_0xa6fea3(0x341)]}]};}},_0x190799[_0x27d9cd(0x33f)]=_0x526ca1([_0x2f47ce(0x0,_0xecd3bb['Inject'](_0xecd3bb[_0x27d9cd(0x34d)])),_0x2f47ce(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x3fafbd[_0x27d9cd(0x3d8)]))],_0x190799['MentionIoHttpService']);var _0x2fe726=Object['getOwnPropertyDescriptor'],_0x511c6b=(_0x5df371,_0x55c108,_0x2cf44f,_0x205007)=>{var _0x45a4f2=_0x27d9cd;for(var _0x594268=_0x205007>0x1?void 0x0:_0x205007?_0x2fe726(_0x55c108,_0x2cf44f):_0x55c108,_0x1313c5=_0x5df371[_0x45a4f2(0x3ea)]-0x1,_0x39079a;_0x1313c5>=0x0;_0x1313c5--)(_0x39079a=_0x5df371[_0x1313c5])&&(_0x594268=_0x39079a(_0x594268)||_0x594268);return _0x594268;},_0xeef9de=(_0x19fde1,_0x10fc22)=>(_0x43071a,_0x4314a7)=>_0x10fc22(_0x43071a,_0x4314a7,_0x19fde1);let _0x4af6e4=class extends _0xecd3bb[_0x27d9cd(0x1e0)]{constructor(_0x1c087d,_0x2deef4,_0x4a4960,_0x1d3bd8,_0x50275f){var _0x205b5e=_0x27d9cd;super(),this[_0x205b5e(0x3d5)]=_0x1c087d,this['_univerInstanceService']=_0x2deef4,this[_0x205b5e(0x1cd)]=_0x4a4960,this['_collaborationSessionService']=_0x1d3bd8,this[_0x205b5e(0x2de)]=_0x50275f,this[_0x205b5e(0x182)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x14421d=_0x27d9cd;const _0x64f4ea=async _0x632c4=>{var _0x1b4acb=_0x479e;(await this['_collaborationSessionService'][_0x1b4acb(0x420)](_0x632c4))[_0x1b4acb(0x14f)][_0x1b4acb(0x15f)](_0x42edf7[_0x1b4acb(0x31b)](_0x21eca2=>_0x21eca2[_0x1b4acb(0x2e3)]===_0x5a8633[_0x1b4acb(0x1ca)][_0x1b4acb(0x498)]),_0x42edf7[_0x1b4acb(0x106)](this[_0x1b4acb(0x27f)]))[_0x1b4acb(0x316)](_0x4325fa=>{var _0x18c07f=_0x1b4acb;const _0x739ff7=_0x4325fa,{reason:_0x58385c}=_0x739ff7[_0x18c07f(0x23d)];this[_0x18c07f(0x2de)][_0x18c07f(0x2eb)]({'id':_0x1af2c4['CLOSE_ROOM'],'data':_0x58385c}),this[_0x18c07f(0x1cd)][_0x18c07f(0x3d2)](new _0x51c935['WorkbookEditablePermission'](_0x632c4)['id'],!0x1),this[_0x18c07f(0x3eb)][_0x18c07f(0x424)](_0x632c4);});};_0x3b002d[_0x14421d(0x2a5)](this[_0x14421d(0x3c6)]['getTypeOfUnitAdded$'](_0xecd3bb[_0x14421d(0x444)][_0x14421d(0x15b)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xecd3bb[_0x14421d(0x444)][_0x14421d(0x374)]))[_0x14421d(0x15f)](_0x42edf7[_0x14421d(0x14b)](_0x9e9fa0=>_0x9e9fa0[_0x14421d(0x279)]()),_0x42edf7[_0x14421d(0x31b)](_0x243644=>!_0xecd3bb[_0x14421d(0x3c4)](_0x243644)),_0x42edf7['takeUntil'](this[_0x14421d(0x27f)]))['subscribe'](_0x5b0499=>{_0x64f4ea(_0x5b0499);});}[_0x27d9cd(0x182)](){var _0x31a0b8=_0x27d9cd;const _0x5b5ca5=async _0x494bbd=>{var _0x22cad7=_0x479e;const _0x2c1f96=await this['_collaborationSessionService'][_0x22cad7(0x420)](_0x494bbd),_0x147a1b=this[_0x22cad7(0x3d5)][_0x22cad7(0x15d)](_0x51c935[_0x22cad7(0x145)]);_0x2c1f96['event$'][_0x22cad7(0x15f)](_0x42edf7[_0x22cad7(0x31b)](_0x14a279=>_0x14a279[_0x22cad7(0x2e3)]===_0x5a8633[_0x22cad7(0x1ca)]['UPDATE_PERMISSION_OBJ']),_0x42edf7[_0x22cad7(0x106)](this[_0x22cad7(0x27f)]))['subscribe'](_0x5ae1f4=>{var _0x1893fa=_0x22cad7;const _0x3f8506=_0x5ae1f4,{objectId:_0x1f7c6f}=_0x3f8506['data'];_0x1f7c6f===_0x494bbd?_0x147a1b[_0x1893fa(0x388)](_0x494bbd):_0x147a1b['refreshPermission'](_0x494bbd,_0x1f7c6f);});};_0x3b002d['merge'](this[_0x31a0b8(0x3c6)][_0x31a0b8(0x19a)](_0xecd3bb['UniverInstanceType']['UNIVER_SHEET']))[_0x31a0b8(0x15f)](_0x42edf7[_0x31a0b8(0x14b)](_0x1ee786=>_0x1ee786[_0x31a0b8(0x279)]()),_0x42edf7[_0x31a0b8(0x31b)](_0x32bdd8=>!_0xecd3bb['isInternalEditorID'](_0x32bdd8)),_0x42edf7[_0x31a0b8(0x106)](this[_0x31a0b8(0x27f)]))[_0x31a0b8(0x316)](_0x1ead1e=>{_0x5b5ca5(_0x1ead1e);});}};_0x4af6e4=_0x511c6b([_0xeef9de(0x0,_0xecd3bb[_0x27d9cd(0x1ce)](_0xecd3bb[_0x27d9cd(0x185)])),_0xeef9de(0x1,_0xecd3bb['IUniverInstanceService']),_0xeef9de(0x2,_0xecd3bb[_0x27d9cd(0x321)]),_0xeef9de(0x3,_0xecd3bb['Inject'](_0x190799[_0x27d9cd(0x394)])),_0xeef9de(0x4,_0xecd3bb[_0x27d9cd(0x1ce)](_0x560d80))],_0x4af6e4);var _0x4ae754=Object[_0x27d9cd(0x49e)],_0x29d687=(_0xd9d700,_0xf6a1f2,_0x58c936,_0x5e9b03)=>{for(var _0x13c7c6=_0x5e9b03>0x1?void 0x0:_0x5e9b03?_0x4ae754(_0xf6a1f2,_0x58c936):_0xf6a1f2,_0x3fbd8a=_0xd9d700['length']-0x1,_0x42c75e;_0x3fbd8a>=0x0;_0x3fbd8a--)(_0x42c75e=_0xd9d700[_0x3fbd8a])&&(_0x13c7c6=_0x42c75e(_0x13c7c6)||_0x13c7c6);return _0x13c7c6;},_0x2641b7=(_0x309448,_0x53c848)=>(_0x326a19,_0x3d2674)=>_0x53c848(_0x326a19,_0x3d2674,_0x309448);_0x190799[_0x27d9cd(0x461)]=class{constructor(_0x328400,_0x2aa5e7){var _0x6325b1=_0x27d9cd;this[_0x6325b1(0x435)]=_0x328400,this[_0x6325b1(0x1f5)]=_0x2aa5e7;}async[_0x27d9cd(0x408)](_0x149021,_0x2c9a2e){var _0x5b967b=_0x27d9cd,_0x264c27;const {unitID:_0x1d1865,type:_0x207c14,revision:_0x225b01=0x0}=_0x2c9a2e,_0x16986b=this[_0x5b967b(0x3e3)]()+'/'+_0x207c14+_0x5b967b(0x434)+_0x1d1865+_0x5b967b(0x40e)+_0x225b01,_0x3cd244=(await this[_0x5b967b(0x1f5)]['get'](_0x16986b))['body'],_0xdf5b1=(_0x264c27=_0x3cd244['snapshot'])==null?void 0x0:_0x264c27[_0x5b967b(0x261)];if(_0xdf5b1){const _0x4bbaf2=_0xdf5b1==null?void 0x0:_0xdf5b1[_0x5b967b(0x3fb)],_0x27b88e=_0x5a8633[_0x5b967b(0x3d3)][_0x5b967b(0x13f)](_0x5a8633[_0x5b967b(0x2d6)](_0x4bbaf2));_0xdf5b1['originalMeta']=_0x27b88e,Object[_0x5b967b(0x144)](_0xdf5b1[_0x5b967b(0x1b5)])['forEach'](([,_0x3fc927])=>{var _0x5cb52c=_0x5b967b;const _0x4e5cf9=_0x3fc927['originalMeta'],_0x19ac33=_0x5a8633[_0x5cb52c(0x3d3)][_0x5cb52c(0x13f)](_0x5a8633[_0x5cb52c(0x2d6)](_0x4e5cf9));_0x3fc927[_0x5cb52c(0x3fb)]=_0x19ac33;});}return _0x3cd244;}async[_0x27d9cd(0x154)](_0x1cae6e,_0xd760d){var _0x296edf=_0x27d9cd;const {unitID:_0xbbf71,type:_0xec6e11,blockID:_0x1a8ac0}=_0xd760d,_0x39035c=this['_getAPIPrefix']()+'/'+_0xec6e11+_0x296edf(0x434)+_0xbbf71+_0x296edf(0x44b)+_0x1a8ac0;return(await this[_0x296edf(0x1f5)][_0x296edf(0x15d)](_0x39035c))['body'];}async[_0x27d9cd(0x32d)](_0x7cec8f,_0x15dcda){var _0x1e19ad=_0x27d9cd;const {unitID:_0x26e13a,type:_0x339f45,blockID:_0x42440c}=_0x15dcda,_0x4b676e=this[_0x1e19ad(0x107)]()+'/block/'+_0x339f45+_0x1e19ad(0x434)+_0x26e13a+_0x1e19ad(0x44b)+_0x42440c;return(await this[_0x1e19ad(0x1f5)][_0x1e19ad(0x15d)](_0x4b676e))[_0x1e19ad(0x3df)];}async[_0x27d9cd(0x389)](_0x6eb650,_0x3ca418){var _0x36479c=_0x27d9cd;const {unitID:_0x2fb4ca,type:_0x40a382,from:_0x1cb880,to:_0x1bacff}=_0x3ca418,_0x14b40f=this[_0x36479c(0x107)]()+'/'+_0x40a382+_0x36479c(0x434)+_0x2fb4ca+_0x36479c(0x411)+_0x1cb880+_0x36479c(0x199)+_0x1bacff;return(await this[_0x36479c(0x1f5)]['get'](_0x14b40f))[_0x36479c(0x3df)];}[_0x27d9cd(0x3e3)](){var _0x3addad=_0x27d9cd,_0x20807a;return(_0x20807a=this['_configService'][_0x3addad(0x36e)](_0xa5b735))!=null?_0x20807a:this[_0x3addad(0x107)]();}[_0x27d9cd(0x107)](){var _0x58e637=_0x27d9cd,_0x2eb859;const _0x5f1d66=this[_0x58e637(0x435)][_0x58e637(0x36e)](_0xa270ad);return(_0x2eb859=_0x5f1d66==null?void 0x0:_0x5f1d66['snapshotServerUrl'])!=null?_0x2eb859:_0x2607b1;}async[_0x27d9cd(0x18e)](_0x4cd61d,_0x131404){var _0x4e6596=_0x27d9cd;const _0x51fd4b=_0x4e6596(0x250)+_0x131404[_0x4e6596(0x430)]+_0x4e6596(0x434)+_0x131404[_0x4e6596(0x114)]+_0x4e6596(0x146);return(await this[_0x4e6596(0x1f5)][_0x4e6596(0x15d)](_0x51fd4b,{'params':{'resourceId':JSON[_0x4e6596(0x38c)](_0x131404['resourceIDs'])}}))[_0x4e6596(0x3df)];}['saveSnapshot'](){var _0x5cb800=_0x27d9cd;throw new Error(_0x5cb800(0x38a));}[_0x27d9cd(0x43a)](){var _0x37bac1=_0x27d9cd;throw new Error(_0x37bac1(0x38a));}[_0x27d9cd(0x446)](){var _0x587e96=_0x27d9cd;throw new Error(_0x587e96(0x38a));}[_0x27d9cd(0x405)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x27d9cd(0x179)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x453c2f=_0x27d9cd;throw new Error(_0x453c2f(0x38a));}},_0x190799[_0x27d9cd(0x461)]=_0x29d687([_0x2641b7(0x0,_0xecd3bb[_0x27d9cd(0x34d)]),_0x2641b7(0x1,_0xecd3bb[_0x27d9cd(0x1ce)](_0x3fafbd['HTTPService']))],_0x190799[_0x27d9cd(0x461)]);var _0x4d2236=Object['getOwnPropertyDescriptor'],_0x3bb43f=(_0x28c05e,_0x494922,_0x29eeec,_0x37b3a3)=>{var _0x5a140c=_0x27d9cd;for(var _0x1da1ab=_0x37b3a3>0x1?void 0x0:_0x37b3a3?_0x4d2236(_0x494922,_0x29eeec):_0x494922,_0x25cbe5=_0x28c05e[_0x5a140c(0x3ea)]-0x1,_0x58d566;_0x25cbe5>=0x0;_0x25cbe5--)(_0x58d566=_0x28c05e[_0x25cbe5])&&(_0x1da1ab=_0x58d566(_0x1da1ab)||_0x1da1ab);return _0x1da1ab;},_0x4a07c5=(_0x189f43,_0x30a971)=>(_0x10eaea,_0x271f63)=>_0x30a971(_0x10eaea,_0x271f63,_0x189f43);_0x190799[_0x27d9cd(0x2d3)]=class extends _0xecd3bb['LocalUndoRedoService']{constructor(_0x22a4bd,_0x1cf831,_0x44c2aa,_0xafd673,_0x161f91){var _0x20a37d=_0x27d9cd;super(_0x22a4bd,_0x1cf831,_0x44c2aa),this[_0x20a37d(0x2f2)]=_0xafd673,this['_logService']=_0x161f91;}[_0x27d9cd(0x28a)](_0x1fedc6,_0xaf59c0){var _0x4c9ba3=_0x27d9cd;const _0x16b889=this[_0x4c9ba3(0x31d)](_0x1fedc6);if(_0x16b889)try{const _0x787f77=this[_0x4c9ba3(0x3e4)](_0x16b889,_0xaf59c0);this[_0x4c9ba3(0x1bf)](_0x1fedc6,_0x787f77);}catch(_0x31ad5c){this[_0x4c9ba3(0x200)][_0x4c9ba3(0x25e)](_0x4c9ba3(0x225),_0x31ad5c),this[_0x4c9ba3(0x2e0)](_0x1fedc6);}const _0x2db54f=this[_0x4c9ba3(0x15c)](_0x1fedc6);if(_0x2db54f)try{const _0x1c6f6f=this[_0x4c9ba3(0x3e4)](_0x2db54f,_0xaf59c0);this[_0x4c9ba3(0x2e9)](_0x1fedc6,_0x1c6f6f);}catch(_0x40d1a2){this['_logService'][_0x4c9ba3(0x25e)](_0x40d1a2),this['_clearRedo'](_0x1fedc6);}}['_clearUndo'](_0x5d248d){var _0x20f07b=_0x27d9cd;const _0x3b0312=this[_0x20f07b(0x31d)](_0x5d248d);_0x3b0312&&(_0x3b0312[_0x20f07b(0x3ea)]=0x0,this[_0x20f07b(0x494)]());}[_0x27d9cd(0x3e1)](_0x451e45){const _0x43484f=this['_getRedoStack'](_0x451e45);_0x43484f&&(_0x43484f['length']=0x0,this['_updateStatus']());}[_0x27d9cd(0x1bf)](_0x3fe147,_0x5e5667){var _0x33a638=_0x27d9cd;this[_0x33a638(0x44e)][_0x33a638(0x2fa)](_0x3fe147,_0x5e5667),this[_0x33a638(0x494)]();}[_0x27d9cd(0x2e9)](_0x51f3a0,_0x1cba9a){var _0x2a47dc=_0x27d9cd;this[_0x2a47dc(0x273)][_0x2a47dc(0x2fa)](_0x51f3a0,_0x1cba9a),this['_updateStatus']();}[_0x27d9cd(0x3e4)](_0x14acfb,_0x1945f2){var _0x4c5ecb=_0x27d9cd;const _0x2335f0=[];let _0x17ef0c=_0x1945f2,_0x14148b=_0x1945f2;for(let _0x4219af=_0x14acfb[_0x4c5ecb(0x3ea)]-0x1;_0x4219af>=0x0;_0x4219af--){const {unitID:_0xef54cf,undoMutations:_0x5e60cb,redoMutations:_0x2bb51d}=_0x14acfb[_0x4219af],_0x5bf7bd=this[_0x4c5ecb(0x2f2)][_0x4c5ecb(0x48a)](_0x17ef0c,_0x5e60cb),_0x37d155=this['_transformService'][_0x4c5ecb(0x48a)](_0x14148b,_0x2bb51d);if(_0x5a8633[_0x4c5ecb(0x457)](_0x5bf7bd)||_0x5a8633[_0x4c5ecb(0x457)](_0x37d155)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x4c5ecb(0x20d),_0x5bf7bd,_0x37d155);break;}_0x17ef0c=_0x5bf7bd[_0x4c5ecb(0x1fe)],_0x14148b=_0x37d155[_0x4c5ecb(0x1fe)],_0x2335f0['push']({'unitID':_0xef54cf,'undoMutations':_0x5bf7bd['m2Prime'],'redoMutations':_0x37d155['m2Prime']});}return _0x2335f0['reverse']();}},_0x190799[_0x27d9cd(0x2d3)]=_0x3bb43f([_0x4a07c5(0x0,_0xecd3bb['IUniverInstanceService']),_0x4a07c5(0x1,_0xecd3bb['ICommandService']),_0x4a07c5(0x2,_0xecd3bb[_0x27d9cd(0x1d9)]),_0x4a07c5(0x3,_0x5a8633[_0x27d9cd(0x2af)]),_0x4a07c5(0x4,_0xecd3bb[_0x27d9cd(0x30e)])],_0x190799[_0x27d9cd(0x2d3)]);var _0x3ab565=Object[_0x27d9cd(0x3ab)],_0x55d5dc=Object[_0x27d9cd(0x49e)],_0x59a125=(_0x2233d6,_0x3fa4d5,_0x2192e)=>_0x3fa4d5 in _0x2233d6?_0x3ab565(_0x2233d6,_0x3fa4d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2192e}):_0x2233d6[_0x3fa4d5]=_0x2192e,_0x5f3eda=(_0x438d7e,_0x47d3c1,_0x491d78,_0x229842)=>{var _0x57e7f8=_0x27d9cd;for(var _0x57ad59=_0x229842>0x1?void 0x0:_0x229842?_0x55d5dc(_0x47d3c1,_0x491d78):_0x47d3c1,_0x3f48da=_0x438d7e[_0x57e7f8(0x3ea)]-0x1,_0x30aa15;_0x3f48da>=0x0;_0x3f48da--)(_0x30aa15=_0x438d7e[_0x3f48da])&&(_0x57ad59=_0x30aa15(_0x57ad59)||_0x57ad59);return _0x57ad59;},_0x22f617=(_0x276c37,_0x3d361f)=>(_0x305efc,_0x3cd6ad)=>_0x3d361f(_0x305efc,_0x3cd6ad,_0x276c37),_0x1f65d2=(_0x5c1c27,_0x45c71b,_0x33d738)=>_0x59a125(_0x5c1c27,_0x45c71b+'',_0x33d738);const _0x17ef91=_0x27d9cd(0x1da);_0x190799[_0x27d9cd(0x473)]=class extends _0xecd3bb[_0x27d9cd(0x3f1)]{constructor(_0x32e579,_0x3ff88e,_0x1e47c7,_0xd3fb7f){var _0x4bf315=_0x27d9cd;super(),_0x45ccb1(this,_0x4bf315(0x2f4)),(this['_logService']=_0x3ff88e,this[_0x4bf315(0x3d5)]=_0x1e47c7,this['_configService']=_0xd3fb7f);const {..._0x5acb00}=_0xecd3bb[_0x4bf315(0x2a5)]({},_0x2a19ca,_0x32e579);if(!_0x5acb00['socketService'])throw new Error(_0x4bf315(0x40f));this[_0x4bf315(0x2f4)]=_0x5acb00,this['_configService'][_0x4bf315(0x1a4)](_0xa270ad,_0x5acb00);}['onStarting'](){var _0x119e0f=_0x27d9cd;this[_0x119e0f(0x262)](),this[_0x119e0f(0x3d6)]();}[_0x27d9cd(0x262)](){var _0x3920f2=_0x27d9cd,_0x3bfded,_0x9d2af2;this[_0x3920f2(0x3d5)]['has'](_0xecd3bb['IUndoRedoService'])&&this[_0x3920f2(0x200)][_0x3920f2(0x25e)](_0x3920f2(0x203),_0x3920f2(0x49c));const _0x5db5a1=_0xecd3bb[_0x3920f2(0x2cd)]([[_0xecd3bb[_0x3920f2(0x2e7)],{'useClass':_0x190799['CollaborativeUndoRedoService']}],[_0x190799[_0x3920f2(0x394)]],[_0x190799['MemberService']],[_0x190799[_0x3920f2(0x298)]],[_0xe53648],[_0x3ba46f],[_0x163fa3],[_0x4af6e4],[_0x560d80],[_0x190799[_0x3920f2(0x39f)]],[_0x3f811f,{'useClass':this[_0x3920f2(0x2f4)][_0x3920f2(0x46c)]}],[_0x5a8633[_0x3920f2(0x30d)],{'useClass':_0x190799[_0x3920f2(0x461)]}],[_0xecd3bb[_0x3920f2(0x42d)],{'useClass':_0x190799['AuthzIoHttpService']}],[_0x102bc9[_0x3920f2(0x292)],{'useClass':_0x190799['CollaborationImageIoService']}],[_0xecd3bb[_0x3920f2(0x1de)],{'useClass':_0x190799['MentionIoHttpService']}],[_0x190799[_0x3920f2(0x245)]],[_0x5e7f79]],(_0x3bfded=this[_0x3920f2(0x2f4)])==null?void 0x0:_0x3bfded[_0x3920f2(0x243)]);if(!((_0x9d2af2=this[_0x3920f2(0x2f4)])!=null&&_0x9d2af2[_0x3920f2(0x216)])){const _0x41791f=_0x5db5a1[_0x3920f2(0x369)](([_0x139275])=>_0x139275===_0x4a5240);_0x41791f!==-0x1&&_0x5db5a1['splice'](_0x41791f,0x1);}_0xecd3bb['registerDependencies'](this['_injector'],_0x5db5a1);}[_0x27d9cd(0x3d6)](){var _0x5d17db=_0x27d9cd,_0x23bc98,_0x4de82c,_0xaba1dd;this[_0x5d17db(0x3d5)][_0x5d17db(0x15d)](_0x3fafbd[_0x5d17db(0x3d8)])[_0x5d17db(0x2b7)]({'priority':0x14,'interceptor':_0x3fafbd[_0x5d17db(0x140)]({'maxParallel':0x6})}),(_0x23bc98=this[_0x5d17db(0x2f4)])!=null&&_0x23bc98['enableOfflineEditing']||(_0x4de82c=this['_injector'][_0x5d17db(0x15d)](_0x521485,_0xecd3bb[_0x5d17db(0x1ee)][_0x5d17db(0x442)]))==null||_0x4de82c['disableLocalCache'](),(_0xaba1dd=this['_config'])!=null&&_0xaba1dd[_0x5d17db(0x20f)]&&_0xecd3bb['touchDependencies'](this[_0x5d17db(0x3d5)],[[_0xe53648]]),_0xecd3bb['touchDependencies'](this[_0x5d17db(0x3d5)],[[_0x3ba46f],[_0x190799[_0x5d17db(0x245)]],[_0x4af6e4]]);}},_0x1f65d2(_0x190799[_0x27d9cd(0x473)],_0x27d9cd(0x2ec),_0x17ef91),_0x190799['UniverCollaborationClientPlugin']=_0x5f3eda([_0xecd3bb['DependentOn'](_0x5a8633['UniverCollaborationPlugin'],_0x3fafbd[_0x27d9cd(0x353)]),_0x22f617(0x1,_0xecd3bb['ILogService']),_0x22f617(0x2,_0xecd3bb['Inject'](_0xecd3bb[_0x27d9cd(0x185)])),_0x22f617(0x3,_0xecd3bb[_0x27d9cd(0x34d)])],_0x190799[_0x27d9cd(0x473)]),_0x190799['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0xa270ad,_0x190799[_0x27d9cd(0x406)]=_0x5d612c,_0x190799[_0x27d9cd(0x188)]=_0x1af2c4,_0x190799[_0x27d9cd(0x11f)]=_0x560d80,_0x190799[_0x27d9cd(0x3d7)]=_0x163fa3,_0x190799['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x4aed1f,_0x190799[_0x27d9cd(0x295)]=_0x355e17,_0x190799[_0x27d9cd(0x390)]=_0x4bf3a7,_0x190799[_0x27d9cd(0x240)]=_0x5b9780,_0x190799[_0x27d9cd(0x132)]=_0x251bae,_0x190799[_0x27d9cd(0x237)]=_0x3f811f,_0x190799[_0x27d9cd(0x195)]=_0x521485,_0x190799[_0x27d9cd(0x2bc)]=_0x53c606,_0x190799['ISingleActiveUnitService']=_0x4a5240,_0x190799[_0x27d9cd(0x2a7)]=0x3e8,_0x190799[_0x27d9cd(0x1bb)]=_0x35aad7,_0x190799[_0x27d9cd(0x3dc)]=_0x5d8d62,_0x190799[_0x27d9cd(0x3c2)]=_0x2b73c1,_0x190799['SessionStatus']=_0xe17649,_0x190799[_0x27d9cd(0x2f9)]=_0x502878,_0x190799[_0x27d9cd(0x414)]=_0x4414ba,_0x190799[_0x27d9cd(0x2bf)]=_0x2679aa,_0x190799[_0x27d9cd(0x370)]=_0xe15d3a,Object[_0x27d9cd(0x3ab)](_0x190799,Symbol['toStringTag'],{'value':'Module'});}));function _0x479e(_0x98d3a0,_0x975092){_0x98d3a0=_0x98d3a0-0xf8;var _0x119d87=_0x119d();var _0x479e49=_0x119d87[_0x98d3a0];return _0x479e49;}function _0x119d(){var _0x4be982=['SheetsSelectionsService','collabWebSocketUrl','UNKNOWN_CMD','params','compute','CONFLICT','NEW_CHANGESETS','_createHandler','_map','concat','objectType','_waitForHeartbeatResponse','permissionRejEvent','ALREADY_EXISTS','reset','sessionStatus','ISnapshotServerService','ILogService','LIVESHARE_NEW_HOST','HttpExport','objects','_minBufferSize','onCommentUpdate','FetchingMissState','\x20-\x20','subscribe','_clearCollaborationTimeoutTimer','ONLINE','onTransformRemoteChangesetByIMECache','readyForCollab','filter','reqId','_getUndoStack','YUUMI_ASYNCIO_CANCELLED','_shouldReportTelemetry','_onRemoteRetry','IPermissionService','decrypt','3037098vodWsu','JOIN_ROOM_FULL','INTERNAL_ERROR','getAllMembers','_unitInfo$','DisposableCollection','operators','_socketReady','ITelemetryService','NOT_COLLAB','getDeserializedSheetBlock','blockSize','min','_DEC_XFORM_MODE','MSG_FOR_ERROR','clamp','online$','onTransformSelections','REDEMPTION_INVALID_CODE','not_collab','LIVESHARE_REQUEST_HOST','HttpImport','univer-pro.collaboration-client.single-active-unit-service','lib','ciphertext','reduce','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','REDEMPTION_CODE_HAS_BEEN_CREATED','MentionIoHttpService','_startTelemetryCollaborationNewChangeset','PERSON','JSONX','baseRev','RevisionService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','APPLY_NON_SEQUENTIAL_REVISION','Rectangle','_roomMembers','_transformRemoteChangesetByIMECache','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_ENC_XFORM_MODE','save\x20fail\x20reason\x20is\x20','IConfigService','AuthzIoHttpService','leaveEvent','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ERROR_IMAGE_TYPE','ERROR_AGAIN','UniverNetworkPlugin','\x20to\x20','_initRequestHeader','UniverProCollaborationClient','_maxTotalRetryTimeout','__esModule','fetchThroughInterceptors','_socket','editingUnit','editing\x20status\x20changed\x20to','INVALID_ARGUMENT','TOO_MANY_REQUESTS','_members$','YUUMI_AI_RUN_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','mode','_key','POST','_doCreateSocket','[CollaborationState]:\x20apply\x20error!','Malformed\x20UTF-8\x20data','_tryReconnect','findIndex','[SyncedState]:\x20received\x20acknowledgement.','JOINING','_waitCount','REDEMPTION_USER_NOT_ELIGIBLE','getConfig','USERS_LEAVE','serializeCombRequest','_collabSessionService','_decreaseWaiting','origin','UNIVER_DOC','entityInit$','_nDataBytes','5edxQlU','byteOffset','parseChangesetToProtocol','FAIL','members$','PAYMENT_CHANNEL_NOT_SUPPORT','YUUMI_CONNECTOR_URL_NOT_FOUND','_resendWithTimeout','reconnect','dispose','_updateState','hasOwnProperty','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','subUnitId','SnapshotService','@univerjs/docs','LIVESHARE_TERMINATE','initWorkbookPermissionChange','fetchMissingChangesets','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNDEFINED','stringify','generateRandomId','infoRsp','init','DEFAULT_WS_SESSION_TICKET_URL','getSheetId','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','amd','CollaborationSessionService','interceptor','isTransformMutationsWithChangesetSuccess','_instanceService','DEFAULT_FILE_NAME','COMPRESS_MUTATION_SEND','LICENSE_IMPORT_SIZE_EXCEEDED','195VjAESY','NO_OTHER_CLIENTS_EDITING','waitForRoom$','onStateChange','DataLoaderService','_commentService','_hasher','image/bmp','downloadEndpointUrl','uniscriptRunEvent','fetchMiss','[PendingState]:\x20received\x20acknowledgement.','INVITE_CODE_ALREADY_BOUND','headers','GLOBAL_ROOMS_CNT_EXCEEDS','_prevBlock','defineProperty','HEARTBEAT_TIMEOUT','_invKeySchedule','DocCollaborationEntity','listCollaborators','socket\x20close','&assign=','_toggleOnline','_iKey','requestParams','/universer-api/user/session-ticket','createCollaborator','processBlock','_snapshotServerService','CURRENT_STATUS_CANNOT_OPERATE','UNAUTHENTICATED','_onRemoteChangeset','_onMessage','_schedule','_sheetTransformSelectionsService','1944644hpPHcf','session.join-failed','HELLO','RETRY_CONNECTING_MAX_COUNT_KEY','_getCtorByUniverType','isInternalEditorID','Base','_univerInstanceService','_nRounds','onMutationExecutedForCollab','_createHelper','_parse','MemberService','onlyLocal','SUBMIT_CHANGESET','Hasher','confirm','asObservable','SetSelectionsOperation','updatePermissionPoint','textEncoder','[OfflineState]:\x20received\x20changeset.','_injector','_initDependencies','CommentService','HTTPService','$super','subject','_singleActiveUnitService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CollaborationEntity','_socketService','body','JOIN_ROOM_PERMISSION_DENIED','_clearRedo','execute','getSnapshotAPIPath','_transformStack','PendingState','repeat','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','fetching\x20missing\x20changesets\x20from\x20','length','_collaborationSessionService','_acknowledgedAwaitingChangeset','_getSendChangesetTimeout','SHA1','random','_process','Plugin','conflict','APPLY_DUPLICATED','MentionType','_imageSourceCache','getWorkbookSelections','Cipher','onSyncEditingCollabCursor','next','SOCKET_FAILED','originalMeta','update','LICENSE_MAX_UNITS_EXCEEDED','session','_timeoutTimer','_unlockTransition','size','_createInitialStateImpl','_telemetryInfo','charAt','saveChangeset','CollaborationStatus','_lockTransition','getUnitOnRev','People','MOBILE_VERIFY_CODE_MISMATCH','list','_isPermissionRej','_onConnectionOpen','/rev/','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_undoRedoService','/fetchmissing?from=','_exhaustRemoteChangesetQueue','UniverTelemetry','deserializeToCombResponse','LOGIN_FAILED','unsubscribe','buffer','1970gUvwqq','_collaborationTimeoutTimer','synced','_socketMessageSubscription','incrementRevOfUnit','_reverseMap','awaiting','COMPLETION_FINISHED','requireSession','textRanges','COMPRESS_MUTATION_APPLY','INVALID_INVITE_CODE','closeSession','charCodeAt','_onConflict','_unitID','_createHmacHelper','getValue','&source=','onTransformRemoteChangesetByStateCache','_sendHeartbeatTimer','IAuthzIoService','c2Prime','__Key__','type','OTHER_CLIENT_EDITING','_entities','appendMutation','/unit/','_configService','status$','/universer-api/comb','_tryEnsureSocket','[PendingState]:\x20unhandled\x20univer\x20type:\x20','updateSnapshot','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','UnitEmbedded','60XYGFBc','_telemetryService','BASE64','@univerjs-pro/collaboration','OPTIONAL','_clearScheduledTask','UniverInstanceType','JOIN_ROOM_FAILED','saveSheetBlock','slice','_candidateSocket','__splitChunk__','fetch_missing','/block/','PENDING','_clearRetryConnectingTimer','_undoStacks','CHANGESET_SHOULD_RETRY','[DataLoaderService]','_onRemoteRejected','loadUnit','localeService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','NoPadding','getUnitStatus$','isTransformMutationsWithChangesetFailure','/universer-api/file/{fileID}/sign-url','SerializableCipher','commentUpdate$','parseProtocolChangeset','/new_changes','rxjs','onRemoteAck','ENTITLE_CAN_NOT_BUY_LOWER_OTP','PERMISSION_REJ','SnapshotServerOverHTTPService','transformChangesets','getCollabEntity','salt','_retryCount','UNIVER_SLIDE','univer-pro.collaboration-client.network-condition.service','words','UNIVER_PROJECT','_hash','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','socketService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_sendingTimer','_getUploadFileURL','keySize','_getLoginPath','UniverCollaborationClientPlugin','YUUMI_ALL_TABLES_IS_INVALID','_onFetchMissResult','reject','roomInfos','_commentUpdate$','_checkMissing','csRejEvent','collaborators','OFFLINE','/role','AWAITING','_sessionStatus$','awaiting_with_pending','loadSheet','AWAITING_WITH_PENDING','src','push','SyncedState','splice','updateMember','offline','[FetchMissState]','transformMutationsWithChangeset','OfflineState','Utf8','ICommandService','resend','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','EMAIL_VERIFY_CODE_MISMATCH','REDEMPTION_CODE_FULLY_REDEEMED','_onJoinRoomEvent','SNAPSHOT_INVALID_SNAPSHOT','_updateStatus','name','find','hasher','SHOULD_CLOSE_CONN','withCredentials','objectActions','FileId','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','COMMENT_UPDATE','getOwnPropertyDescriptor','CollaborationImageIoService','allowed','putCollaborators','session.room-cnt-exceeds','_submitChangeset','APPLY_PERMISSION_DENIED','_scheduleCollaborationTimeoutTimer','SUCCUSS','updateCursorEvent','Could\x20not\x20dynamically\x20require\x20\x22','toggleOnline','range','awaitingChangeset','IUniverInstanceService','Pkcs7','takeUntil','_getAPIPrefix','shareReplay','toggleOffline','OpenSSL','_onCombEvent','then','auth.needGotoLoginAlert','put','formatter','_transformRemoteChangesetByStateCache','_initMergeInterceptor','DATA_SOURCE_TOO_LARGE','189232ZwrKJP','unitID','setCurrentUser','algo','?url=','_transformStateCache','send','action','createEncryptor','_transformUndoredo','SUBMIT_CHANGESET_TIMEOUT','take','CollaborationUIEventService','CompressMutationService','_compressMutationService','collaMsg','avatar','updatePermissionObjEvent','encryptBlock','listRoles','_handler','ENTITLE_COUPON_EXPIRED','max','getImage','HEARTBEAT','SheetCollaborationEntity','Optional','_userManagerService','sin','FETCH_MISS','BehaviorSubject','HEARTBEAT_TIMEOUT_KEY','firstValueFrom','13usyGBm','resolve','_iv','@univerjs/telemetry','capture','every','toDisposable','replace','_clearHeartbeatTimer','readAsDataURL','key','encode','ThresholdInterceptorFactory','/universer-api/stream/file/upload','UniverNetwork','error$','entries','SheetPermissionInitController','/resources','title','BufferedBlockAlgorithm','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','map','ERROR_IMAGE','telemetry\x20info\x20is\x20not\x20initialized','[SyncedState]:\x20received\x20rejection.','event$','BlockCipherMode','_localeService','RECV','/universer-api/uniscript','getSheetBlock','isPermissionRej','_getAPIPrefixPath','sigBytes','/allowed','getCurrentSelections','YUUMI_NO_CUBOID_FOR_QUESTION','UNIVER_SHEET','_getRedoStack','get','csShouldRetryEvent','pipe','_resendTimeout','csAckEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_clearTimeoutTimer','shouldCloseConn','[OfflineState]:\x20received\x20rejection.','encrypt','LIVESHARE_OPERATION','_getSignURL','Decryptor','WECHAT_HAS_BEEN_BOUND','_onOffline','commentUpdateEvent','/-/object/-/batch_allowed','m2Prime','UPDATE_PERMISSION_OBJ','_replaceFileID','USER_NOT_FOUND','MUTATION','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','USERS_ENTER','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','debug','stopTime','signUrlServerUrl','copyFileMeta','unitId\x20is\x20not\x20found','saveImage','disposeWithMe','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getActiveSheet','WordArray','indexOf','IDLE','_initUnitPermissionChange','LEAVE','_revisionService','Injector','_showConflictNotification','/object/','CollaborationUIEventId','_changesetReqId','routeKey','UNIVER_UNKNOWN','unitId','_removeRoom','getResourcesRequest','exports','symbol','onTransformIME','getRandomValues','localCacheService','x-univer-host','ILocalCacheService','EvpKDF','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','function','&to=','getTypeOfUnitAdded$','NOT_FOUND','_sender','onMissingChangesets','setShowComponents','prototype','enc','LICENSE_EXPORT_SIZE_EXCEEDED','Error\x20on\x20receiving\x20event','CollaborationSession','setConfig','string','_sessions','_oKey','ws://127.0.0.1:8000/universer-api/comb/connect','HTTPRequest','/universer-api/authz','CipherParams','image/jpeg','pad','2755452sAAUmr','Disposable','create','submit\x20changeset\x20error!','CONNECTOR_DATA_TOO_LARGE','close','fromCollab','sheets','_type','mapDocumentTypeToUniverType','objectID','USER_NOT_INVITED_CODE','code','LOCAL_CACHE_INTERVAL_KEY','_change$','clone','sequenceExecute','_substituteUndoStack','AES','status','_createSocket','EmptyMutationInfo','[PendingState]:\x20received\x20rejection.','deepClone','mutations','@univerjs/drawing','has','compose','CollaborationEvent','deleteCollaborator','_remoteChangesetQueue','_permissionService','Inject','_pendingMutations','_memberService','MOBILE_HAS_BEEN_BOUND','join','image/jpg','AwaitingWithPendingState','format','UPDATE_CURSOR','uuidv4','_eventService','IContextService','UNIVER_COLLABORATION_CLIENT_PLUGIN','updateOfflineData','_emitMembers','AwaitingState','IMentionIOService','Undefined','RxDisposable','cmd','addHandlerCallback','ENTITLE_INSUFFICIENT_QUOTA','UnitSnapshot','add','_changesetSessionId','onMissedChangesetFetched','LIVESHARE_FETCH_OPERATIONS','userID','_incrementRevisionNumber','pauseCollaboration','abs','mixIn','Quantity','WorkbookEditablePermission','_onLocalMutation','getTime','CommandType','ImageUploadStatusType','_onConnectionFailed','_httpService','getTypeOfUnitDisposed$','pending','open$','isArray','PY_RUNTIME_SCRIPT_ERROR','image/png','apply','UNRECOGNIZED','c1Prime','post','_logService','extend','append','[UniverCollaborationClientPlugin]','_executeRemoteChangeset','onSendChangeset','collaboration_new_changeset','responseType','_transformIMECache','default','onRemoteChangeset','[CollaborationSessionService]','href','transformStack\x20failed!','Base64','enableAuthServer','values','getInterceptPoints','now','onLocalMutation','ClipsheetFragments','LOGIN_TOKEN_PROCESSING_FAILED','enableSingleActiveInstanceLock','_getCurrentRevision','updateCollaborator','joinRsp','_state','_socket$','parse','_listenToNetworkCondition','_roomCreated$','_mode','_updateLocalCache','changesets','crypto','state$','HEARTBEAT_INTERVAL','[CollaborationUndoRedoService]','_resendTimer','_queuedRemoteChangesets','ivSize','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','transformSelections','decryptBlock','_members','_localCacheService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getDownloadEndpointURL','_joinRoom','file','loadUnitOfRevision','CHANGESET_REJ','ENTITLE_NEED_BILLING_ADDRESS','/-/object/list','472978RaGBYv','ICollaborationSocketService','ReplaySubject','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','includes','_doFinalize','_applyRemoteChangeset','data','JOIN','batchAllowed','HEARTBEAT_INTERVAL_KEY','padding','1341441AukuKD','override','CBC','CollaborationController','[OfflineState]:\x20received\x20acknowledgement.','_startCollaboration','FETCH_MISSING','ENTITLE_CHAT_LIMIT_EXCEED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_collaborationPaused','7UfcJoC','finalize','liveShareNewHost','/universer-api/snapshot/','getUnit','ISocketService','patch','loadOfflineData','_state$','UserProfileImg','concatMap','_cipher','getCurrentUser','HmacMD5','msCrypto','PERMISSION_DENIED','executeCommand','error','USER_IS_ANONYMOUS','LICENSE_DISTRO_REJECTED','workbook','_registerDependencies','_xformMode','createInstance','_fetchMissChangesets','forEach','_commandService','ImageSourceType','floor','_toggleOffline','_event$','Subject','unknown','[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.','url','ENTITLE_COUPON_USED_UP','cfg','joinEvent','_redoStacks','getGlobalObject','_keyPriorReset','_doCryptBlock','selections','UNISCRIPT_RUN','getUnitId','_transformSelections','_stopTelemetryCollaborationNewChangeset','/object','/collaborator','_init','dispose$','session.room-not-exists','call','YUUMI_UNABLE_LOAD_URL','randomBytes','kdf','UNKNOWN_CODE','CLOSE_ROOM','CHANGESET_REVISION_CONFILICT','_retryConnectingTimer','REDEMPTION_CODE_INACTIVE','transformUndoRedo','_transitionLocked','onload','change$','removeMember','rxjs/operators','readInt32LE','_status$','IImageIoService','UniverDocs','ENTITLE_REPORT_LIMIT_EXCEED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onRemoteRej','delete','SheetTransformSelectionsService','_rescheduleHeartbeat','/universer-api/oidc/authpage','UniverDrawing','_createInitialState','addImageSourceCache','[CollaborationEntity]','ceil','_throwTelemetryCollaborationNewChangeset','_keySchedule','BlockCipher','Hex','revision','merge','REDEMPTION_CODE_NOT_STARTED','LOCAL_CACHE_INTERVAL','sessionStatus$','CollaborationSocketService','clear','_networkConditionService','@univerjs-pro/license','createDecryptor','Encryptor','ITransformService','CHANGESET_ACK','18GeiSmb','Tools','__creator','_scheduleCompleteTimestamp','YUUMI_RATE_OVER_LIMIT','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','registerHTTPInterceptor','_onUserJoin','result','LocaleService','MD5','INetworkConditionService','actions','getCollabEntity$','getLocalCacheKey','_snapshotService','close$','JOIN_ROOM_NOT_EXISTS','memberID','SOCKET_FAILED_RETRY','_disableEditing','delay','getRoom','_replayCachedMutations','setWaitCount','EMAIL_HAS_BEEN_BOUND','PSEUDO_FETCH_MISSING_RESULT','INVITE_CODE_REQUIRED','mergeOverrideWithDependencies','sid','_onRemoteACK','unit-cache-','InsertSheetMutation','_data','CollaborativeUndoRedoService','_doReset','?size=','b64DecodeUnicode','INGEST','univer-pro.collaboration-client-socket-service','getUnitType','APPLY_REJECT','onRemoteRetry','_entityInit$','ConflictState','_collaborationUIEventService','substr','_clearUndo','OTHER_CLIENTS_EDITING','getCurrentRevOfUnit','eventID','complete','toString','_sendHeartbeat','IUndoRedoService','_clearLocalCache','_substituteRedoStack','byteLength','emitEvent','pluginName','AUTHORIZE_CODE_ILLEGAL','_append','getMember','@univerjs/sheets','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformService','message$','_config','PasswordBasedCipher','createIdentifier','Failed\x20to\x20update\x20permission\x20point','_HTTPService','UnitStatus','set','_handlerCallback','_awaitingChangeset'];_0x119d=function(){return _0x4be982;};return _0x119d();}
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- (function(_0x302158,_0x48d71f){const _0x10c33b=_0x1038,_0x2e6a48=_0x302158();while(!![]){try{const _0x4f03e6=parseInt(_0x10c33b(0x1ee))/0x1*(-parseInt(_0x10c33b(0x1eb))/0x2)+-parseInt(_0x10c33b(0x205))/0x3*(parseInt(_0x10c33b(0x20d))/0x4)+-parseInt(_0x10c33b(0x222))/0x5+parseInt(_0x10c33b(0x209))/0x6*(parseInt(_0x10c33b(0x207))/0x7)+parseInt(_0x10c33b(0x22c))/0x8+parseInt(_0x10c33b(0x20b))/0x9*(-parseInt(_0x10c33b(0x1f6))/0xa)+parseInt(_0x10c33b(0x226))/0xb;if(_0x4f03e6===_0x48d71f)break;else _0x2e6a48['push'](_0x2e6a48['shift']());}catch(_0xb276d1){_0x2e6a48['push'](_0x2e6a48['shift']());}}}(_0x2176,0xa6286),function(_0x32e263,_0x1bc0f2){const _0x3d9ec6=_0x1038;typeof exports==_0x3d9ec6(0x216)&&typeof module<'u'?_0x1bc0f2(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x3d9ec6(0x214)&&define[_0x3d9ec6(0x228)]?define(['exports',_0x3d9ec6(0x21d),'@univerjs/core/facade',_0x3d9ec6(0x219),'@univerjs/core',_0x3d9ec6(0x1f5)],_0x1bc0f2):(_0x32e263=typeof globalThis<'u'?globalThis:_0x32e263||self,_0x1bc0f2(_0x32e263['UniverProCollaborationClientFacade']={},_0x32e263[_0x3d9ec6(0x1f7)],_0x32e263['UniverCoreFacade'],_0x32e263['UniverProCollaboration'],_0x32e263[_0x3d9ec6(0x1f4)],_0x32e263[_0x3d9ec6(0x1f5)]));}(this,function(_0x411b95,_0x4a70bf,_0x5d6cb1,_0x3d9c4d,_0x155af0,_0x2fbd16){'use strict';const _0x433ff2=_0x1038;class _0xa299fa extends _0x5d6cb1[_0x433ff2(0x1fc)]{get['CollaborationStatus'](){const _0x5dd72c=_0x433ff2;return _0x4a70bf[_0x5dd72c(0x1fe)];}}_0x5d6cb1[_0x433ff2(0x1fc)][_0x433ff2(0x21a)](_0xa299fa);var _0x2bf28f=Object[_0x433ff2(0x1ea)],_0x1fcabb=(_0x2dac40,_0xf16a48,_0x2225b8,_0x2c9d70)=>{const _0x3d5570=_0x433ff2;for(var _0x409e5b=_0x2c9d70>0x1?void 0x0:_0x2c9d70?_0x2bf28f(_0xf16a48,_0x2225b8):_0xf16a48,_0xe13cda=_0x2dac40[_0x3d5570(0x21e)]-0x1,_0x4a97d0;_0xe13cda>=0x0;_0xe13cda--)(_0x4a97d0=_0x2dac40[_0xe13cda])&&(_0x409e5b=_0x4a97d0(_0x409e5b)||_0x409e5b);return _0x409e5b;},_0xe6d8ca=(_0x5d46aa,_0x14fb6f)=>(_0x58b10a,_0xefdd7e)=>_0x14fb6f(_0x58b10a,_0xefdd7e,_0x5d46aa);_0x411b95['FCollaboration']=class extends _0x5d6cb1[_0x433ff2(0x1fa)]{constructor(_0x52fbd0,_0x1630a2,_0x5cca96,_0x4b42b2,_0x3b1d08){const _0xe0371a=_0x433ff2;super(),this[_0xe0371a(0x203)]=_0x52fbd0,this['_injector']=_0x1630a2,this[_0xe0371a(0x22d)]=_0x5cca96,this[_0xe0371a(0x204)]=_0x4b42b2,this['_collaborationController']=_0x3b1d08;}async[_0x433ff2(0x227)](){const _0x1c4e05=_0x433ff2;return this[_0x1c4e05(0x1f3)]();}async[_0x433ff2(0x1f3)](){const _0x290fd4=_0x433ff2;throw new Error(_0x290fd4(0x21c));}async[_0x433ff2(0x224)](_0xb7cf1a){return this['loadSheetAsync'](_0xb7cf1a);}async[_0x433ff2(0x1fd)](_0x35af9b,_0x31d9cc){const _0x44c85c=_0x433ff2;return await this['_snapshotService'][_0x44c85c(0x224)](_0x35af9b,0x0,_0x31d9cc)?(await this['_collaborationController'][_0x44c85c(0x1ed)](_0x35af9b),this[_0x44c85c(0x203)][_0x44c85c(0x1f1)](_0x35af9b)):null;}['subscribeCollaborators'](_0x534d5d,_0x3ff9af){const _0x56a891=_0x433ff2,_0x24c7a2=this['_injector'][_0x56a891(0x20f)](_0x4a70bf[_0x56a891(0x215)])[_0x56a891(0x22a)](_0x534d5d)['pipe'](_0x2fbd16[_0x56a891(0x1f9)](_0x363ec5=>_0x363ec5[_0x56a891(0x22e)]))[_0x56a891(0x218)](_0x4f4855=>_0x3ff9af(Array[_0x56a891(0x1fb)](_0x4f4855[_0x56a891(0x210)]())));return _0x155af0[_0x56a891(0x1f0)](_0x24c7a2);}[_0x433ff2(0x1f8)](){const _0x3749ba=_0x433ff2,_0x380afd=this['_univerInstanceService'][_0x3749ba(0x1ef)]();if(!_0x380afd)return _0x4a70bf[_0x3749ba(0x1fe)][_0x3749ba(0x20a)];const _0x2d9d5e=this[_0x3749ba(0x201)][_0x3749ba(0x202)](_0x380afd[_0x3749ba(0x21f)]());return _0x2d9d5e?_0x2d9d5e[_0x3749ba(0x1f2)][_0x3749ba(0x212)]:_0x4a70bf[_0x3749ba(0x1fe)][_0x3749ba(0x20a)];}},_0x411b95[_0x433ff2(0x21b)]=_0x1fcabb([_0xe6d8ca(0x1,_0x155af0['Inject'](_0x155af0[_0x433ff2(0x211)])),_0xe6d8ca(0x2,_0x155af0[_0x433ff2(0x200)]),_0xe6d8ca(0x3,_0x155af0[_0x433ff2(0x221)](_0x3d9c4d[_0x433ff2(0x223)])),_0xe6d8ca(0x4,_0x155af0['Inject'](_0x4a70bf[_0x433ff2(0x208)]))],_0x411b95[_0x433ff2(0x21b)]);class _0x14dbd8 extends _0x5d6cb1[_0x433ff2(0x229)]{[_0x433ff2(0x225)](){const _0x55e8a0=_0x433ff2;return this['_injector'][_0x55e8a0(0x220)](_0x411b95[_0x55e8a0(0x21b)],{'getUniverSheet':_0x3ec7b3=>this['getUniverSheet'](_0x3ec7b3)});}[_0x433ff2(0x20c)](_0x56a903,_0xe9bcf2,_0xbf5d0b){const _0x2b81bc=_0x433ff2;return this['_injector'][_0x2b81bc(0x20f)](_0x4a70bf['DataLoaderService'])[_0x2b81bc(0x206)](_0x56a903,_0xe9bcf2,_0xbf5d0b);}[_0x433ff2(0x217)](_0x3ef471,_0x275120,_0x2c53c7){const _0x4c5f70=_0x433ff2;return this[_0x4c5f70(0x1ec)]['get'](_0x4a70bf[_0x4c5f70(0x213)])[_0x4c5f70(0x20e)](_0x3ef471,_0x275120,_0x2c53c7);}}_0x5d6cb1[_0x433ff2(0x229)][_0x433ff2(0x21a)](_0x14dbd8),Object['defineProperty'](_0x411b95,Symbol[_0x433ff2(0x22b)],{'value':_0x433ff2(0x1ff)});}));function _0x1038(_0x3b8148,_0x432be1){_0x3b8148=_0x3b8148-0x1ea;const _0x2176d8=_0x2176();let _0x10382d=_0x2176d8[_0x3b8148];return _0x10382d;}function _0x2176(){const _0x17a4bb=['waitForRoom$','toStringTag','7597920ImlQPi','_univerInstanceService','members$','getOwnPropertyDescriptor','852UGFjNl','_injector','readyForCollab','1361xgFbKv','getFocusedUnit','toDisposable','getUniverSheet','state','loadActiveSheetAsync','UniverCore','rxjs','2110060bxYovq','UniverProCollaborationClient','getCollaborationStatus','switchMap','FBase','from','FEnum','loadSheetAsync','CollaborationStatus','Module','IUniverInstanceService','_collaborationController','getCollabEntity','_handler','_snapshotService','6vqKfBc','loadUnit','687617qzZEeo','CollaborationController','18RvxqMw','NOT_COLLAB','27OFAfQd','loadServerUnit','931852SxczxC','loadUnitOfRevision','get','values','Injector','status','DataLoaderService','function','MemberService','object','loadServerUnitOfRevision','subscribe','@univerjs-pro/collaboration','extend','FCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','length','getUnitId','createInstance','Inject','3147665PgbILP','SnapshotService','loadSheet','getCollaboration','19188532aOHRqZ','loadActiveSheet','amd','FUniver'];_0x2176=function(){return _0x17a4bb;};return _0x2176();}
5
+ function _0x91a6(_0x19705a,_0x220f18){_0x19705a=_0x19705a-0x10c;const _0x53d767=_0x53d7();let _0x91a6f=_0x53d767[_0x19705a];return _0x91a6f;}(function(_0x510686,_0x122bad){const _0x3a304e=_0x91a6,_0x367b81=_0x510686();while(!![]){try{const _0x5a4040=parseInt(_0x3a304e(0x113))/0x1+-parseInt(_0x3a304e(0x125))/0x2+-parseInt(_0x3a304e(0x133))/0x3+-parseInt(_0x3a304e(0x13f))/0x4+parseInt(_0x3a304e(0x131))/0x5+-parseInt(_0x3a304e(0x11e))/0x6*(parseInt(_0x3a304e(0x11b))/0x7)+parseInt(_0x3a304e(0x10e))/0x8;if(_0x5a4040===_0x122bad)break;else _0x367b81['push'](_0x367b81['shift']());}catch(_0x8d24b3){_0x367b81['push'](_0x367b81['shift']());}}}(_0x53d7,0xa5eb7),function(_0xbb0b01,_0x531bfa){const _0x1b7067=_0x91a6;typeof exports==_0x1b7067(0x143)&&typeof module<'u'?_0x531bfa(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define[_0x1b7067(0x148)]?define([_0x1b7067(0x145),_0x1b7067(0x118),_0x1b7067(0x14c),_0x1b7067(0x117),'@univerjs/core',_0x1b7067(0x124)],_0x531bfa):(_0xbb0b01=typeof globalThis<'u'?globalThis:_0xbb0b01||self,_0x531bfa(_0xbb0b01[_0x1b7067(0x115)]={},_0xbb0b01[_0x1b7067(0x122)],_0xbb0b01[_0x1b7067(0x12a)],_0xbb0b01[_0x1b7067(0x11f)],_0xbb0b01[_0x1b7067(0x119)],_0xbb0b01[_0x1b7067(0x124)]));}(this,function(_0x7bf351,_0x594716,_0x17c37e,_0x2cb4ff,_0x4c2a01,_0x4d58bb){'use strict';const _0x4224c7=_0x91a6;class _0x5582f6 extends _0x17c37e[_0x4224c7(0x134)]{get[_0x4224c7(0x114)](){return _0x594716['CollaborationStatus'];}}_0x17c37e['FEnum'][_0x4224c7(0x13e)](_0x5582f6);var _0x4f1997=Object['getOwnPropertyDescriptor'],_0x2507e4=(_0x140cbb,_0x42c638,_0x35675c,_0x338403)=>{const _0x5e2a0f=_0x4224c7;for(var _0x4978be=_0x338403>0x1?void 0x0:_0x338403?_0x4f1997(_0x42c638,_0x35675c):_0x42c638,_0x53c307=_0x140cbb[_0x5e2a0f(0x14a)]-0x1,_0x44197a;_0x53c307>=0x0;_0x53c307--)(_0x44197a=_0x140cbb[_0x53c307])&&(_0x4978be=_0x44197a(_0x4978be)||_0x4978be);return _0x4978be;},_0x174d6a=(_0x947039,_0x5d76e6)=>(_0x252f15,_0x295545)=>_0x5d76e6(_0x252f15,_0x295545,_0x947039);_0x7bf351[_0x4224c7(0x144)]=class extends _0x17c37e[_0x4224c7(0x11c)]{constructor(_0x59808b,_0x152c05,_0x565ea8,_0x39b2b9,_0x2c8bf7){const _0x1bc41e=_0x4224c7;super(),this[_0x1bc41e(0x112)]=_0x59808b,this['_injector']=_0x152c05,this[_0x1bc41e(0x129)]=_0x565ea8,this[_0x1bc41e(0x11d)]=_0x39b2b9,this[_0x1bc41e(0x128)]=_0x2c8bf7;}async[_0x4224c7(0x13a)](){const _0xcd74f3=_0x4224c7;return this[_0xcd74f3(0x135)]();}async[_0x4224c7(0x135)](){const _0x21078d=_0x4224c7;throw new Error(_0x21078d(0x13c));}async[_0x4224c7(0x121)](_0x6f43e2){return this['loadSheetAsync'](_0x6f43e2);}async[_0x4224c7(0x14e)](_0x450142,_0x2d20e8){const _0x49acfa=_0x4224c7;return await this[_0x49acfa(0x11d)][_0x49acfa(0x121)](_0x450142,0x0,_0x2d20e8)?(await this[_0x49acfa(0x128)][_0x49acfa(0x116)](_0x450142),this[_0x49acfa(0x112)]['getUniverSheet'](_0x450142)):null;}['subscribeCollaborators'](_0x1368c9,_0x409a09){const _0x89a095=_0x4224c7,_0xd5ceba=this['_injector'][_0x89a095(0x12f)](_0x594716[_0x89a095(0x130)])[_0x89a095(0x147)](_0x1368c9)[_0x89a095(0x13b)](_0x4d58bb[_0x89a095(0x110)](_0x5d2a15=>_0x5d2a15[_0x89a095(0x146)]))[_0x89a095(0x10c)](_0xe45d6b=>_0x409a09(Array[_0x89a095(0x12b)](_0xe45d6b[_0x89a095(0x142)]())));return _0x4c2a01['toDisposable'](_0xd5ceba);}[_0x4224c7(0x10f)](){const _0x10a43a=_0x4224c7,_0xe62e96=this['_univerInstanceService'][_0x10a43a(0x137)]();if(!_0xe62e96)return _0x594716[_0x10a43a(0x114)][_0x10a43a(0x11a)];const _0x1d310b=this['_collaborationController']['getCollabEntity'](_0xe62e96['getUnitId']());return _0x1d310b?_0x1d310b[_0x10a43a(0x120)][_0x10a43a(0x138)]:_0x594716['CollaborationStatus'][_0x10a43a(0x11a)];}},_0x7bf351[_0x4224c7(0x144)]=_0x2507e4([_0x174d6a(0x1,_0x4c2a01[_0x4224c7(0x149)](_0x4c2a01[_0x4224c7(0x123)])),_0x174d6a(0x2,_0x4c2a01['IUniverInstanceService']),_0x174d6a(0x3,_0x4c2a01[_0x4224c7(0x149)](_0x2cb4ff[_0x4224c7(0x140)])),_0x174d6a(0x4,_0x4c2a01[_0x4224c7(0x149)](_0x594716[_0x4224c7(0x10d)]))],_0x7bf351[_0x4224c7(0x144)]);class _0x2aafde extends _0x17c37e[_0x4224c7(0x14b)]{[_0x4224c7(0x12c)](){const _0x3bb165=_0x4224c7;return this['_injector'][_0x3bb165(0x139)](_0x7bf351[_0x3bb165(0x144)],{'getUniverSheet':_0x110240=>this[_0x3bb165(0x111)](_0x110240)});}[_0x4224c7(0x127)](_0x18faa7,_0x3cc826,_0x357263){const _0x3c47cd=_0x4224c7;return this[_0x3c47cd(0x126)]['get'](_0x594716[_0x3c47cd(0x132)])[_0x3c47cd(0x141)](_0x18faa7,_0x3cc826,_0x357263);}[_0x4224c7(0x12e)](_0x173f5f,_0x1d8dac,_0x1c7d69){const _0x10749a=_0x4224c7;return this[_0x10749a(0x126)][_0x10749a(0x12f)](_0x594716[_0x10749a(0x132)])[_0x10749a(0x13d)](_0x173f5f,_0x1d8dac,_0x1c7d69);}}_0x17c37e[_0x4224c7(0x14b)][_0x4224c7(0x13e)](_0x2aafde),Object[_0x4224c7(0x136)](_0x7bf351,Symbol[_0x4224c7(0x14d)],{'value':_0x4224c7(0x12d)});}));function _0x53d7(){const _0x3a3511=['_snapshotService','416136WkGuYw','UniverProCollaboration','state','loadSheet','UniverProCollaborationClient','Injector','rxjs','2716088fmkpxJ','_injector','loadServerUnit','_collaborationController','_univerInstanceService','UniverCoreFacade','from','getCollaboration','Module','loadServerUnitOfRevision','get','MemberService','3921250CFcrXi','DataLoaderService','2601615GGnIEm','FEnum','loadActiveSheetAsync','defineProperty','getFocusedUnit','status','createInstance','loadActiveSheet','pipe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadUnitOfRevision','extend','4082420mpEXac','SnapshotService','loadUnit','values','object','FCollaboration','exports','members$','waitForRoom$','amd','Inject','length','FUniver','@univerjs/core/facade','toStringTag','loadSheetAsync','subscribe','CollaborationController','29283664ZzIwZQ','getCollaborationStatus','switchMap','getUniverSheet','_handler','798517zvVBmJ','CollaborationStatus','UniverProCollaborationClientFacade','readyForCollab','@univerjs-pro/collaboration','@univerjs-pro/collaboration-client','UniverCore','NOT_COLLAB','133HdRbuk','FBase'];_0x53d7=function(){return _0x3a3511;};return _0x53d7();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x42c3(){const _0x3a0e29=['CONNECTOR_DATA_TOO_LARGE','svg','CURRENT_STATUS_CANNOT_OPERATE','beforeCommandExecuted','Injector','NOT_COLLAB','takeUntil','blue.400','_onRefRangeChange','_lastResponseTimestamp','UnitStatus','_removeCollabCursors','[CollaborationDataLoaderController]','UniverInstanceType','filter','collaboration.closeRoom','url(#$1','IRemoteInstanceService','collabStatus.offline','createIdentifier','Warning','ILocalStorageService','_toggleOffline','save','startsWith','executionId','_range','on-line-icon_clip0_910_349','_unitStatus','get','BehaviorSubject','_initStatusListener','onPointerEnter$','_currentUsage','_ensureSubject','20FAmBmk','result','closePath','Rect','onPointerMove$','isTransformMutationsWithChangesetSuccess','deepClone','isFormulaString','_hideTimer','_maxFormulaLimit','NodePositionConvertToCursor','params','4bpxakG','ranges','LICENSE_IMPORT_SIZE_EXCEEDED','_docSkeletonManagerService','_docSyncEditingCollabCursorService','session.collaboration-timeout','getCoordByCell','complete','getRelativeToViewportCoord','setTimeout','ICommandService','_uiPartsService','deserializeRangeWithSheet','getMemberID','[LogService\x20Error]:\x20','_handleHover','_registerDependencies','defineProperty','forwardRef','20QxvavE','setParam','getUndoRedoMutationParamsCache','_refRangeService','transformIMECache','onStarting','getUnitId','toString','MessageType','_init','distinctUntilChanged','getCurrentSelections','ALREADY_EXISTS','error','PY_RUNTIME_SCRIPT_ERROR','evenodd','_revisionService','UniverDocsUi','SNAPSHOT_INVALID_SNAPSHOT','ILocalCacheService','font','SheetsSelectionsService','@univerjs/engine-render','subscribe','updateOfflineData','DataLoaderService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','delete','setItem','RemoveRowCommandId','_hovered','_send','handleInsertCol','_collaborationController','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getDocRanges','_unitOnClients','13ggOBkk','subunit','getMember','assignAColorForMemberID','LocaleService','_transformHistoryAndStateStack','collabStatus.conflict','saveTaskMap','loadOfflineData','_docTransformIMECacheService','_name','_syncEditingCollabCursorService','_saveTaskMap','APPLY_PERMISSION_DENIED','Subject','_pollingInterval','dirtyRanges','Tools','CONFLICT','EffectRefRangId','UNDEFINED','formula.calculation.unable','UniverDrawing','_httpService','NO_OTHER_CLIENTS_EDITING','reconnect','generateRandomId','_online','split','_hasFormulaInDirtyRanges','function','touchDependencies','_messageService','_drawAnchor','COLORS','registerRefRange','_onCursorDelete','has','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addObjects','_initUserListener','_initWindowErrorListener','socket$','width','ticket','SetFormulaCalculationNotificationMutation','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','clipPath','drawWith','getViewport','registerDependencies','m1Prime','skeleton','80628WjFkMp','url(#off-line-icon_clip0_910_343)','_releaseCalculationLimit','IImageIoService','@univerjs/network','createInstance','transformSelections','useRef','debounce','_handleEvent','unitId','DesktopCollaborationStatusDisplayController','enableFrontendLog','MoveRangeCommandId','debug','div','CollaborationSessionService','setConfig','red.300','toStringTag','_imageIoService','NodePositionConvertToRectRange','rxjs/operators','@univerjs/design','collab-text-range-','/universer-api/license/formula/limit/status','collaboration.single-unit.warning','_refreshCollabCursors','_setFormulaLimitStatus','_setupSubUnitSync','getCurrentUnitForType','@univerjs/docs-ui','from','_shapes','OTHER_CLIENTS_EDITING','32231JpwpuO','undoState','RefRangeService','_updateCollabCursors','_registerRenderDependencies','black','off-line-icon_clip0_910_343','FormulaExecuteStageType','code','@univerjs-pro/collaboration-client','mutations','random','react','path','getColorFromTheme','Inject','6DpqCOx','DocCollaborationEntity','IRenderManagerService','round','...','OFFLINE','onTransformChange$','event$','size','_memberService','permission.title','UniverProCollaborationClientUi','wsSessionTicketUrl','YUUMI_AI_RUN_FAILED','top','arc','UNIVER_DOC','children','unitID','REDEMPTION_CODE_FULLY_REDEEMED','_roomMembers$','_disabled','_initUnhandledRejectionListener','includes','formula.calculation.waiting','APPLY_NON_SEQUENTIAL_REVISION','now','clsx','transformMutationsWithChangeset','UniverCollaborationClientUIPlugin','mapTo','UniverEngineRender','_hover','APPLY_REVISION_CONFILICT','_checkAndWaitForCalculationPermission','serializeRangeWithSheet','?taskId=','_sheetSkeletonManagerService','MOBILE_VERIFY_CODE_MISMATCH','currentSkeleton$','executeCommand','memberID','isArray','CLOSE_ROOM','getAncestorScale','entries','LICENSE_MAX_UNITS_EXCEEDED','whenReady','WebBrowserSingleActiveUnitService','AUTHORIZE_CODE_ILLEGAL','createSocket','CollaborationStatus','collabCursorState$','_startSheetCollabCursor','setStateCache','location','_commandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','source','currentColor','unhandledrejection','http://www.w3.org/2000/svg','/universer-api/frontend/logs','_id','DOC_RANGE_TYPE','REDEMPTION_INVALID_CODE','RevisionService','getRenderById','getSheetObject','_draw','rxjs','colno','_cursorShapes','RemoteUniscriptService','off-line-icon','message','_getAnchorBounding','DocIMEInputManagerService','_backgroundColor','makeDirty','_updateURLWithCurrentState','SetDocZoomRatioOperation','TOO_MANY_REQUESTS','replaceDocRanges','UniverDesign','getItem','pushState','_setupBeforeClosingHandler','EMAIL_HAS_BEEN_BOUND','stage','COMPLETION_FINISHED','0\x200\x2017\x2016','setAlpha','_eventUnsubscribe','ThemeService','isActive','BrowserCollaborationSocketService','ENTITLE_NEED_BILLING_ADDRESS','CHANGESET_REVISION_CONFILICT','collab-rect-range-','idSuffix','1912440Yabwcb','_localeService','collabStatus.syncing','ENTITLE_CAN_NOT_BUY_LOWER_OTP','transformRemoteChangeset','_renderManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','React','0\x200\x2016\x2016','REDEMPTION_CODE_NOT_STARTED','AWAITING','override','rgba(255,\x20255,\x20255,\x200.01)','useObservable','_color','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','maxFormulaLimit','HEADER_MENU','getParam','LOCAL_CACHE_INTERVAL','cursorInfo','Shape','_docClipboardService','FormulaExecutedStateType','fillText','name','current','startColumn','WebURLService','jsx','getActiveSheet','Optional','ENTITLE_COUPON_USED_UP','getTypeOfUnitAdded$','_initEntityListener','UniverDocs','Vector2','1em','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','CollaborationEvent','reason','storage','DEFAULT_WS_SESSION_TICKET_URL','filename','show','uni.network.url-service','MUTATION','xlink:href','findNodePositionByCharIndex','push','_cursor','WECHAT_HAS_BEEN_BOUND','_removeClearOtherTimer','unshift','ENTITLE_REPORT_LIMIT_EXCEED','registerRenderModule','syncEditingCollabCursor','tag','INVALID_ARGUMENT','_session','OnLineIcon','_collaborationUIEventService','OffLineIcon','_labelPosition','FromArray','getSkeleton','requireSession','parseInt','lineTo','YUUMI_UNABLE_LOAD_URL','then','selection','_createSocketURL','APPLY_REJECT','CollaborationUIEventService','useDependency','fromEvent','jiqing.500','Disposable','_render','_toggleOnline','_config','_cursorInfo$','releaseFormulaLimitUrl','UniverNetwork','721007sCbDjr','onMouseMove','ENTITLE_CHAT_LIMIT_EXCEED','UniverProCollaboration','some','getConfig','editingUnit','dispose','1104323JLXTTE','setShapeProps','replace','handleMoveRange','_localStorageService','_entityInit$','_handleLeaveEvent','min','IUIPartsService','endColumn','CollaborationController','_univerInstanceService','substring','_instanceService','UniverProCollaborationClient','onCommandExecuted','DeleteRangeMoveUpCommandId','LOGIN_TOKEN_PROCESSING_FAILED','asObservable','_clearOtherTimers','BuiltInUIPart','enableLocalCache','SheetCollabCursorShape','beginPath','collabStatus.fetchMiss','fill','ENTITLE_COUPON_EXPIRED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getFocusedUnit','ENTITLE_USE_COUPON_NOT_1ST_TRADE','subscribeEvent','_getFormulaLimitStatus','_initCommandInterceptor','handleIRemoveRow','collaboration.offline-data-not-saved','_docStateChangeManagerService','fromEventSubject','status$','SetWorksheetActivateCommand','ONLINE','getformulaLimitStatusUrl','_collabCursorState$','handleIRemoveCol','stageInfo','collabStatus.notCollab','_lastPointer','connectInjector','handleInsertRow','application/json','colorChannel1','measureText','_docTransformSelectionsService','createElement','stringify','_notificationService','type','exhaustSavingTask','SessionStatus','ILogService','hide','_context','lineno','parse','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_anchor','getUnit','column','_updateLocalCursor','textRanges','_collabSessionService','endRow','USER_IS_ANONYMOUS','VIEW_MAIN','_updateSubUnitFromURLParams','next','saveImage','dispose$','START_CALCULATION','white','disposeUnit','operators','SetSelectionsOperation','actions','IConfigService','fillRule','UPDATE_CURSOR','REDEMPTION_USER_REDEEM_TIMES_EXCEED','InsertColCommandId','transformMutation','YUUMI_NO_CUBOID_FOR_QUESTION','DocSelectionManagerService','ENTITLE_INSUFFICIENT_QUOTA','RichTextEditingMutation','PERMISSION_DENIED','REDEMPTION_USER_NOT_ELIGIBLE','NOT_FOUND','runId','LOCAL_CACHE_INTERVAL_KEY','INVITE_CODE_ALREADY_BOUND','MemberService','MOBILE_HAS_BEEN_BOUND','onLocalMutation','history','limitInfo','getUnitStatus$','_applyCommand','_assignedColors','TEXT_RANGE_LAYER_INDEX','map','936NopxBC','SOCKET_FAILED','_scheduleClearOtherTimer','none','3120XaRKSK','defIds','selections','find','data','SetTextSelectionsOperation','_showGuardMessage','getCellMatrix','_configService','ERROR_AGAIN','startRow','removeEventListener','1201095YBxlUN','_scheduleSaving','DisposableCollection','_initResize','body','_collaborationSessionService','RECT','getOwnPropertyDescriptor','UNAUTHENTICATED','currentTheme$','combineLatest','getCurrent','transform','functionsExecutedState','YUUMI_RATE_OVER_LIMIT','_saveCache','INTERNAL_ERROR','unit','_colorIndex','getCellPositionByOffset','Workbook','newValue','_drawRectRange','href','startFormulaLimitUrl','IMessageService','ITransformService','getCollabCursors$','moveTo','_initDependencies','attrs','_cachedData','LOGIN_FAILED','addEventListener','_initEvent','with','getColor','CollaborationDataLoaderController','@univerjs/drawing','YUUMI_URL_COL_OUT_OF_RANGE','_onCursorUpdate','jsxs','_injector','symbol','toRgbString','string','_checkCalculationAvailable','engine','_dataLoaderService','getCurrentRevOfUnit','[Window\x20Error]:\x20','IURLService','isFormulaId','onPointerLeave$','flatMap','searchParams','@univerjs/ui','object','length','HTTPService','roomMembers$','INVITE_CODE_HAS_BEEN_UES','@univerjs/sheets-ui','_transformUndoRedoStack','sheetId','_colorAssignService','all','setUndoRedoMutationParamsCache','contains','USER_NOT_FOUND','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverUi','_beforeCloseService','transformStateCache','UniverRpc','resize','disableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformStateCacheService','ENTITLE_DUP_SUBSCRIPTION','_heartbeatTimer','addClipboardHook','RegularPolygon','assign','restore','removeParam','isTransformMutationFailure','_getMergeRange','transformByState','TEXT','SYNCED','_doCreateSocket','post','_entities','_uploadLog','forEach','_collabCursorController','totalFormulasToCalculate','stack','YUUMI_ALL_TABLES_IS_INVALID','exports','YUUMI_ASYNCIO_CANCELLED','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','CollaborationUIEventId','range','_themeService','sessionStatus$','saveOfflineData','_transformService','shift','_startDocCollabCursor','_logService','merge','disposeWithMe','replaceState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_monkeyPatchLogService','_drawTextRange','handleInsertRangeMoveDown','IUniverInstanceService','getOffsetConfig','collab-text-anchor-','ENSURE_SNAPSHOT_EXECUTION','_taskIds','@univerjs/core','handleDeleteRangeMoveUp','currentUsage','Error','_getSessionTicket','entityInit$','bottom','cursorInfo$','values','subUnitId','_anchorDot','ENTITLE_INVALID_COUPON_CODE','catch','color','redoState','urlChange$','INVITE_CODE_REQUIRED','UNIVER_SHEET','_clearPolling','useCallback','RxDisposable','UniverEngineFormula','/universer-api/license/formula/limit/start','CanceledError','UniverCore','add','DependentOn','USERS_LEAVE','text','getLocalCacheKey','unsubscribe','key','_transformPreviousActiveRange','collabStatus.synced','APPLY_DUPLICATED','height','invokeId','origin','throttleTime','mergeOverrideWithDependencies','_urlService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','init','_handleHeartbeatEvent','_startCalculationLimit','_localCacheService','translate(.97)','@univerjs/engine-formula','WebSocketService','doc.mutation.rich-text-editing','DATA_SOURCE_TOO_LARGE','Failed','getUnhiddenWorksheets','getSheetBySheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_EXPORT_SIZE_EXCEEDED','\x20at\x20','loadUnit','set','clearInterval','_status$','Success','_getSaveTimeout','DocSkeletonManagerService','collab-client.tooltip.reconnect','_selfUnitIDs','DocStateChangeManagerService','send','_getSheetObject','/universer-api/license/formula/limit/done','collaboration-client-ui.config','SNAPSHOT_HAS_BEEN_REMOVED','SetFormulaCalculationStartMutation','m2Prime','pipe','YUUMI_CONNECTOR_URL_NOT_FOUND','labelPosition','M0\x200H16V16H0z','getSheetId','_scene','LICENSE_DISTRO_REJECTED','debounceTime','row','pluginName','UniverSheets','isEditing','getRangePointData','_textBubble','ColorKit','getUniverSheetInstance','_cursors','Loading','getStateCache','switchMap','_scheduleHeartbeat','clearTimeout','displayName','EMAIL_VERIFY_CODE_MISMATCH','green.600','use','getValue'];_0x42c3=function(){return _0x3a0e29;};return _0x42c3();}function _0x3fad(_0x51e7db,_0x448028){_0x51e7db=_0x51e7db-0xbd;const _0x42c325=_0x42c3();let _0x3fadc9=_0x42c325[_0x51e7db];return _0x3fadc9;}(function(_0x5384d3,_0x15efaf){const _0x34be41=_0x3fad,_0x4d707d=_0x5384d3();while(!![]){try{const _0x4145e4=-parseInt(_0x34be41(0xcc))/0x1*(-parseInt(_0x34be41(0x323))/0x2)+parseInt(_0x34be41(0x39e))/0x3*(parseInt(_0x34be41(0x32f))/0x4)+parseInt(_0x34be41(0x21d))/0x5+-parseInt(_0x34be41(0xdc))/0x6*(parseInt(_0x34be41(0x198))/0x7)+parseInt(_0x34be41(0x211))/0x8*(parseInt(_0x34be41(0x20d))/0x9)+-parseInt(_0x34be41(0x342))/0xa*(parseInt(_0x34be41(0x1a0))/0xb)+-parseInt(_0x34be41(0x141))/0xc*(parseInt(_0x34be41(0x368))/0xd);if(_0x4145e4===_0x15efaf)break;else _0x4d707d['push'](_0x4d707d['shift']());}catch(_0x4131ab){_0x4d707d['push'](_0x4d707d['shift']());}}}(_0x42c3,0x28b98),function(_0x573077,_0x383f41){const _0x5de9d3=_0x3fad;typeof exports==_0x5de9d3(0x256)&&typeof module<'u'?_0x383f41(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==_0x5de9d3(0x386)&&define['amd']?define([_0x5de9d3(0x281),'react/jsx-runtime',_0x5de9d3(0xd5),_0x5de9d3(0x299),_0x5de9d3(0x255),'rxjs',_0x5de9d3(0xc0),_0x5de9d3(0xd8),'@univerjs/rpc','@univerjs/sheets',_0x5de9d3(0x358),_0x5de9d3(0x3a2),_0x5de9d3(0xc8),_0x5de9d3(0x243),'@univerjs-pro/collaboration','@univerjs/docs',_0x5de9d3(0x2c9),_0x5de9d3(0xbf),_0x5de9d3(0x25b)],_0x383f41):(_0x573077=typeof globalThis<'u'?globalThis:_0x573077||self,_0x383f41(_0x573077[_0x5de9d3(0xe7)]={},_0x573077[_0x5de9d3(0x148)],_0x573077[_0x5de9d3(0x1ae)],_0x573077[_0x5de9d3(0x2b1)],_0x573077[_0x5de9d3(0x264)],_0x573077[_0x5de9d3(0x122)],_0x573077[_0x5de9d3(0x130)],_0x573077[_0x5de9d3(0x148)],_0x573077[_0x5de9d3(0x267)],_0x573077[_0x5de9d3(0x2ef)],_0x573077[_0x5de9d3(0xfb)],_0x573077[_0x5de9d3(0x197)],_0x573077[_0x5de9d3(0x353)],_0x573077[_0x5de9d3(0x37e)],_0x573077[_0x5de9d3(0x19b)],_0x573077[_0x5de9d3(0x165)],_0x573077[_0x5de9d3(0x2ae)],_0x573077['rxjs'][_0x5de9d3(0x1f0)],_0x573077['UniverSheetsUi']));}(this,function(_0x1e8a5b,_0x3b5db8,_0x5e7c26,_0x3a09c4,_0x592aaf,_0x41fba3,_0x2a2db6,_0x5c82c4,_0x22bf51,_0x6f871,_0x271b4b,_0x20de86,_0x9d9b14,_0x5b74e1,_0x5e9418,_0x4995f4,_0x3202a1,_0x360399,_0x577dad){'use strict';const _0x29bde7=_0x3fad;var _0xddd7bc=Object[_0x29bde7(0x340)],_0x4fef61=(_0x244bd4,_0x318e5b,_0x20be18)=>_0x318e5b in _0x244bd4?_0xddd7bc(_0x244bd4,_0x318e5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20be18}):_0x244bd4[_0x318e5b]=_0x20be18,_0x9f87fa=(_0x713eda,_0x5dd261,_0x5ce16d)=>_0x4fef61(_0x713eda,typeof _0x5dd261!=_0x29bde7(0x248)?_0x5dd261+'':_0x5dd261,_0x5ce16d);function _0xd2a620({ref:_0x12c1b3,..._0x517030}){const _0xe651fb=_0x29bde7,{icon:_0x54ff81,id:_0x5e86cc,className:_0xb1c0f7,extend:_0x23cad8,..._0x1cfae7}=_0x517030,_0x5e24fc=('univerjs-icon\x20univerjs-icon-'+_0x5e86cc+'\x20'+(_0xb1c0f7||''))['trim'](),_0xd71011=_0x5c82c4[_0xe651fb(0x3a5)]('_'+_0x45d478());return _0x18f2df(_0x54ff81,''+_0x5e86cc,{'defIds':_0x54ff81[_0xe651fb(0x212)],'idSuffix':_0xd71011[_0xe651fb(0x15c)]},{'ref':_0x12c1b3,'className':_0x5e24fc,..._0x1cfae7},_0x23cad8);}function _0x18f2df(_0x1411f6,_0x256ff3,_0x3d8548,_0x3bbabf,_0x5dc9f2){const _0x368a23=_0x29bde7;return _0x5c82c4['createElement'](_0x1411f6['tag'],{'key':_0x256ff3,..._0x4299c0(_0x1411f6,_0x3d8548,_0x5dc9f2),..._0x3bbabf},(_0x5bd913(_0x1411f6,_0x3d8548)['children']||[])[_0x368a23(0x20c)]((_0x88b2e9,_0x1eeaae)=>_0x18f2df(_0x88b2e9,_0x256ff3+'-'+_0x1411f6[_0x368a23(0x17c)]+'-'+_0x1eeaae,_0x3d8548,void 0x0,_0x5dc9f2)));}function _0x4299c0(_0x1867ae,_0x5a6774,_0x5b7533){const _0x285641=_0x29bde7,_0x70abd8={..._0x1867ae[_0x285641(0x23b)]};_0x5b7533!=null&&_0x5b7533[_0x285641(0x1d1)]&&_0x70abd8[_0x285641(0x1b9)]===_0x285641(0x1d1)&&(_0x70abd8[_0x285641(0x1b9)]=_0x5b7533['colorChannel1']),_0x1867ae['tag']==='mask'&&_0x70abd8['id']&&(_0x70abd8['id']=_0x70abd8['id']+_0x5a6774[_0x285641(0x140)]),Object[_0x285641(0x109)](_0x70abd8)[_0x285641(0x27c)](([_0x223cbb,_0x4a1cdf])=>{const _0xb1ecd2=_0x285641;_0x223cbb==='mask'&&typeof _0x4a1cdf==_0xb1ecd2(0x24a)&&(_0x70abd8[_0x223cbb]=_0x4a1cdf[_0xb1ecd2(0x1a2)](/url\(#(.*)\)/,_0xb1ecd2(0x310)+_0x5a6774[_0xb1ecd2(0x140)]+')'));});const {defIds:_0x88c3c7}=_0x5a6774;return!_0x88c3c7||_0x88c3c7[_0x285641(0x257)]===0x0||(_0x1867ae['tag']===_0x285641(0x2fe)&&_0x70abd8[_0x285641(0x172)]&&(_0x70abd8['xlink:href']=_0x70abd8[_0x285641(0x172)]+_0x5a6774[_0x285641(0x140)]),Object[_0x285641(0x109)](_0x70abd8)[_0x285641(0x27c)](([_0x2293e5,_0x403190])=>{const _0x15e6e8=_0x285641;typeof _0x403190==_0x15e6e8(0x24a)&&(_0x70abd8[_0x2293e5]=_0x403190[_0x15e6e8(0x1a2)](/url\(#(.*)\)/,_0x15e6e8(0x310)+_0x5a6774['idSuffix']+')'));})),_0x70abd8;}function _0x5bd913(_0x2bd4a6,_0x46c937){const _0x11eee5=_0x29bde7;var _0x415b4f;const {defIds:_0x40e702}=_0x46c937;return!_0x40e702||_0x40e702[_0x11eee5(0x257)]===0x0?_0x2bd4a6:_0x2bd4a6['tag']==='defs'&&((_0x415b4f=_0x2bd4a6['children'])!=null&&_0x415b4f[_0x11eee5(0x257)])?{..._0x2bd4a6,'children':_0x2bd4a6[_0x11eee5(0xed)][_0x11eee5(0x20c)](_0x4bdc98=>typeof _0x4bdc98[_0x11eee5(0x23b)]['id']==_0x11eee5(0x24a)&&_0x40e702&&_0x40e702[_0x11eee5(0xf3)](_0x4bdc98['attrs']['id'])?{..._0x4bdc98,'attrs':{..._0x4bdc98[_0x11eee5(0x23b)],'id':_0x4bdc98[_0x11eee5(0x23b)]['id']+_0x46c937[_0x11eee5(0x140)]}}:_0x4bdc98)}:_0x2bd4a6;}function _0x45d478(){const _0x204c51=_0x29bde7;return Math[_0x204c51(0xd7)]()['toString'](0x24)[_0x204c51(0x1ac)](0x2,0x8);}_0xd2a620[_0x29bde7(0x2fb)]='UniverIcon';const _0x2368a1={'tag':_0x29bde7(0x301),'attrs':{'xmlns':_0x29bde7(0x119),'fill':_0x29bde7(0x210),'viewBox':_0x29bde7(0x149),'width':_0x29bde7(0x167),'height':_0x29bde7(0x167)},'children':[{'tag':'g','attrs':{'clipPath':_0x29bde7(0x39f)},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'stroke':_0x29bde7(0x117),'d':'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','strokeLinecap':_0x29bde7(0xdf),'strokeLinejoin':_0x29bde7(0xdf),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29bde7(0x398),'attrs':{'id':_0x29bde7(0xd2)},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'fill':'white','d':_0x29bde7(0x2e8)}}]}]}],'defIds':[_0x29bde7(0xd2)]},_0x3d03f0=_0x5c82c4['forwardRef'](function(_0x52cb2b,_0x387246){const _0x4f9536=_0x29bde7;return _0x5c82c4[_0x4f9536(0x1d4)](_0xd2a620,Object[_0x4f9536(0x270)]({},_0x52cb2b,{'id':_0x4f9536(0x126),'ref':_0x387246,'icon':_0x2368a1}));});_0x3d03f0['displayName']=_0x29bde7(0x181);const _0x5338e0={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x29bde7(0x210),'viewBox':_0x29bde7(0x137),'width':_0x29bde7(0x167),'height':_0x29bde7(0x167)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'stroke':_0x29bde7(0x117),'d':_0x29bde7(0x283),'strokeLinecap':_0x29bde7(0xdf),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29bde7(0x398),'attrs':{'id':_0x29bde7(0x31b)},'children':[{'tag':'path','attrs':{'fill':_0x29bde7(0x1ee),'d':_0x29bde7(0x2e8),'transform':_0x29bde7(0x2c8)}}]}]}],'defIds':[_0x29bde7(0x31b)]},_0x5d6bcd=_0x5c82c4[_0x29bde7(0x341)](function(_0x40cbfc,_0x43ba27){const _0x514212=_0x29bde7;return _0x5c82c4[_0x514212(0x1d4)](_0xd2a620,Object['assign']({},_0x40cbfc,{'id':'on-line-icon','ref':_0x43ba27,'icon':_0x5338e0}));});_0x5d6bcd[_0x29bde7(0x2fb)]=_0x29bde7(0x17f);function _0x51b422(_0x358998){const _0x33ec7b=_0x29bde7;switch(_0x358998){case _0x5e7c26[_0x33ec7b(0x10f)]['OFFLINE']:return _0x33ec7b(0x312);case _0x5e7c26['CollaborationStatus'][_0x33ec7b(0x37a)]:return _0x33ec7b(0x36e);case _0x5e7c26[_0x33ec7b(0x10f)]['FETCH_MISS']:return _0x33ec7b(0x1b8);case _0x5e7c26[_0x33ec7b(0x10f)][_0x33ec7b(0x305)]:return _0x33ec7b(0x1cc);case _0x5e7c26['CollaborationStatus'][_0x33ec7b(0x14b)]:case _0x5e7c26[_0x33ec7b(0x10f)]['AWAITING_WITH_PENDING']:return _0x33ec7b(0x143);case _0x5e7c26[_0x33ec7b(0x10f)][_0x33ec7b(0x277)]:case _0x5e7c26['CollaborationStatus']['PENDING']:return _0x33ec7b(0x2ba);}}function _0x586a64(_0x1274d0){const _0x372534=_0x29bde7,{status$:_0x238fed}=_0x1274d0,_0x5809f9=_0x592aaf[_0x372534(0x14e)](_0x238fed,_0x5e7c26[_0x372534(0x10f)][_0x372534(0x305)]),_0x213133=_0x592aaf[_0x372534(0x18e)](_0x3a09c4[_0x372534(0x36c)]),_0x5e12ff=_0x592aaf['useDependency'](_0x5e7c26[_0x372534(0x3ae)]),_0x2a58a8=_0x5809f9!==_0x5e7c26['CollaborationStatus'][_0x372534(0xe1)],_0x3e5e3b=_0x213133['t'](_0x51b422(_0x5809f9)),_0x110329=_0x2a58a8?_0x3b5db8[_0x372534(0x15f)](_0x5d6bcd,{}):_0x3b5db8[_0x372534(0x15f)](_0x3d03f0,{}),_0x3ff55d=_0x5c82c4[_0x372534(0x2ac)](()=>{const _0x593ea9=_0x372534;_0x2a58a8||_0x5e12ff[_0x593ea9(0x381)]();},[_0x2a58a8,_0x5e12ff]);function _0x7facce(){const _0x4fb858=_0x372534;return _0x3b5db8[_0x4fb858(0x246)]('div',{'className':_0x4fb858(0x168),'onClick':_0x3ff55d,'children':[_0x3b5db8[_0x4fb858(0x15f)](_0x4fb858(0x3ad),{'className':_0x2a2db6[_0x4fb858(0xf7)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2a58a8,'univer-text-red-500':!_0x2a58a8}),'children':_0x110329}),_0x3b5db8[_0x4fb858(0x15f)](_0x4fb858(0x3ad),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3e5e3b})]});}return _0x2a58a8?_0x7facce():_0x3b5db8[_0x372534(0x15f)](_0x2a2db6['Tooltip'],{'title':_0x213133['t'](_0x372534(0x2db)),'children':_0x7facce()});}var _0xf3d9cc=Object['getOwnPropertyDescriptor'],_0x2212a1=(_0x15cf22,_0x1e3076,_0x3bb8be,_0x5f1cca)=>{for(var _0x458e8d=_0x5f1cca>0x1?void 0x0:_0x5f1cca?_0xf3d9cc(_0x1e3076,_0x3bb8be):_0x1e3076,_0x5bac29=_0x15cf22['length']-0x1,_0x440c44;_0x5bac29>=0x0;_0x5bac29--)(_0x440c44=_0x15cf22[_0x5bac29])&&(_0x458e8d=_0x440c44(_0x458e8d)||_0x458e8d);return _0x458e8d;},_0x125c7b=(_0x50bb02,_0x9ab62)=>(_0x2b79ea,_0x53a27d)=>_0x9ab62(_0x2b79ea,_0x53a27d,_0x50bb02);_0x1e8a5b[_0x29bde7(0x3a9)]=class extends _0x3a09c4['Disposable']{constructor(_0x1828a0,_0x1654f8,_0xf9548b,_0x5bbf48){const _0x563957=_0x29bde7;super(),_0x9f87fa(this,_0x563957(0x2d7),new _0x41fba3[(_0x563957(0x31e))](_0x5e7c26[_0x563957(0x10f)][_0x563957(0x305)])),(this['_univerInstanceService']=_0x1828a0,this[_0x563957(0x247)]=_0x1654f8,this[_0x563957(0x364)]=_0xf9548b,this[_0x563957(0x33a)]=_0x5bbf48,this['_initStatusComponent'](),this[_0x563957(0x31f)]());}['_initStatusListener'](){const _0x5415e5=_0x29bde7;this[_0x5415e5(0x28e)](this['_univerInstanceService']['focused$'][_0x5415e5(0x2e5)](_0x41fba3[_0x5415e5(0x2f8)](()=>{const _0x3238dc=_0x5415e5,_0x4ec5f4=this[_0x3238dc(0x1ab)][_0x3238dc(0x1bc)]();return _0x4ec5f4?this['_collaborationController']['getCollabEntity$'](_0x4ec5f4[_0x3238dc(0x348)]()):_0x41fba3['of'](null);}),_0x41fba3['switchMap'](_0x453dc0=>_0x453dc0?_0x453dc0[_0x5415e5(0x1c5)]:_0x41fba3['of'](_0x5e7c26[_0x5415e5(0x10f)]['NOT_COLLAB'])))['subscribe'](_0xed8cd4=>{const _0x40e6fe=_0x5415e5;this['_status$'][_0x40e6fe(0x1ea)](_0xed8cd4);}));}['_initStatusComponent'](){const _0x1797a5=_0x29bde7;this['disposeWithMe'](this[_0x1797a5(0x33a)]['registerComponent'](_0x592aaf[_0x1797a5(0x1b4)][_0x1797a5(0x153)],()=>_0x592aaf[_0x1797a5(0x1ce)](_0x4e323b({'status$':this['_status$']['asObservable']()}),this[_0x1797a5(0x247)])));}},_0x1e8a5b[_0x29bde7(0x3a9)]=_0x2212a1([_0x125c7b(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x125c7b(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x125c7b(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x1aa)])),_0x125c7b(0x3,_0x592aaf[_0x29bde7(0x1a8)])],_0x1e8a5b[_0x29bde7(0x3a9)]);function _0x4e323b(_0x484373){const {status$:_0x230ea8}=_0x484373;return function(){return _0x3b5db8['jsx'](_0x586a64,{'status$':_0x230ea8});};}const _0x5c7e96=_0x3a09c4[_0x29bde7(0x313)](_0x29bde7(0x170));var _0x50b63b=Object[_0x29bde7(0x224)],_0x293bd3=(_0x76e25b,_0x2544ac,_0x3eb896,_0x5262f7)=>{const _0x4f9bbc=_0x29bde7;for(var _0xb7184d=_0x5262f7>0x1?void 0x0:_0x5262f7?_0x50b63b(_0x2544ac,_0x3eb896):_0x2544ac,_0xda8740=_0x76e25b[_0x4f9bbc(0x257)]-0x1,_0x3e0700;_0xda8740>=0x0;_0xda8740--)(_0x3e0700=_0x76e25b[_0xda8740])&&(_0xb7184d=_0x3e0700(_0xb7184d)||_0xb7184d);return _0xb7184d;},_0x55071e=(_0x5a4a0e,_0x1f3ab5)=>(_0x425401,_0x5253be)=>_0x1f3ab5(_0x425401,_0x5253be,_0x5a4a0e);_0x1e8a5b[_0x29bde7(0x242)]=class extends _0x3a09c4['RxDisposable']{constructor(_0x534445,_0x100654,_0x448937,_0x33f605,_0xf894ab){const _0x55140a=_0x29bde7;super(),this[_0x55140a(0x2c1)]=_0x534445,this['_logService']=_0x100654,this['_commandService']=_0x448937,this[_0x55140a(0x24d)]=_0x33f605,_0xf894ab?_0xf894ab==null||_0xf894ab[_0x55140a(0x10b)]()[_0x55140a(0x189)](()=>this[_0x55140a(0x34b)]()):(this[_0x55140a(0x28c)][_0x55140a(0x3ac)](_0x55140a(0x30c),_0x55140a(0x35c)),this[_0x55140a(0x34b)]());}async[_0x29bde7(0x34b)](){const _0x2b24ca=_0x29bde7,_0x5334ab=this[_0x2b24ca(0x2c1)][_0x2b24ca(0x154)](_0x2b24ca(0x22e)),_0x4ce4aa=this[_0x2b24ca(0x2c1)]['getParam'](_0x2b24ca(0x1d7)),_0xe101cc=this['_urlService'][_0x2b24ca(0x154)](_0x2b24ca(0x369));if(!_0x5334ab||!_0x4ce4aa){this[_0x2b24ca(0x28c)][_0x2b24ca(0x3ac)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4025e4=await this[_0x2b24ca(0x24d)][_0x2b24ca(0x2d4)](_0x5334ab,Number(_0x4ce4aa),_0xe101cc);_0x4025e4&&_0x4025e4 instanceof _0x3a09c4[_0x2b24ca(0x231)]&&this['_setupSubUnitSync'](_0x4025e4);}async[_0x29bde7(0xc6)](_0x2ddd3d){const _0x5d7d0e=_0x29bde7;await this[_0x5d7d0e(0x1e9)](_0x2ddd3d),_0x2ddd3d['activeSheet$'][_0x5d7d0e(0x2e5)](_0x41fba3[_0x5d7d0e(0x306)](this['dispose$']))[_0x5d7d0e(0x359)](_0x183143=>{const _0x2dfb3e=_0x5d7d0e;_0x183143&&this[_0x2dfb3e(0x12c)](_0x183143);}),this['_urlService'][_0x5d7d0e(0x2a8)]['pipe'](_0x41fba3[_0x5d7d0e(0x306)](this[_0x5d7d0e(0x1ec)]))[_0x5d7d0e(0x359)](()=>this[_0x5d7d0e(0x1e9)](_0x2ddd3d));}[_0x29bde7(0x12c)](_0x40e31c,_0xab951b=!0x1){const _0x4c0474=_0x29bde7,_0x3f94c6=this[_0x4c0474(0x2c1)][_0x4c0474(0x154)](_0x4c0474(0x369));_0x40e31c['getSheetId']()!==_0x3f94c6&&this[_0x4c0474(0x2c1)][_0x4c0474(0x343)](_0x4c0474(0x369),_0x40e31c['getSheetId'](),_0xab951b);}async['_updateSubUnitFromURLParams'](_0x117af2){const _0xd5fe35=_0x29bde7;var _0x2a2d2c;const _0x4b7957=this[_0xd5fe35(0x2c1)][_0xd5fe35(0x154)](_0xd5fe35(0x369));if(!_0x4b7957||!_0x117af2[_0xd5fe35(0x2cf)](_0x4b7957)){const _0x246a50=_0x117af2[_0xd5fe35(0x2ce)]()[0x0],_0x5b0af4=_0x117af2['getSheetBySheetId'](_0x246a50);if(!_0x5b0af4)return;this['_updateURLWithCurrentState'](_0x5b0af4,!0x0),await this[_0xd5fe35(0x114)]['executeCommand'](_0x6f871[_0xd5fe35(0x1c6)]['id'],{'unitId':_0x117af2[_0xd5fe35(0x348)](),'subUnitId':_0x246a50});return;}((_0x2a2d2c=_0x117af2[_0xd5fe35(0x160)]())==null?void 0x0:_0x2a2d2c[_0xd5fe35(0x2e9)]())!==_0x4b7957&&await this[_0xd5fe35(0x114)][_0xd5fe35(0x104)](_0x6f871[_0xd5fe35(0x1c6)]['id'],{'unitId':_0x117af2[_0xd5fe35(0x348)](),'subUnitId':_0x4b7957});}},_0x1e8a5b[_0x29bde7(0x242)]=_0x293bd3([_0x55071e(0x0,_0x5c7e96),_0x55071e(0x1,_0x3a09c4[_0x29bde7(0x1da)]),_0x55071e(0x2,_0x3a09c4[_0x29bde7(0x339)]),_0x55071e(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x35b)])),_0x55071e(0x4,_0x3a09c4[_0x29bde7(0x161)](_0x22bf51[_0x29bde7(0x311)]))],_0x1e8a5b[_0x29bde7(0x242)]);var _0x59dd67=Object['getOwnPropertyDescriptor'],_0x1f6ee5=(_0x3641a5,_0x5a750d,_0x52953a,_0x216761)=>{for(var _0xc6c788=_0x216761>0x1?void 0x0:_0x216761?_0x59dd67(_0x5a750d,_0x52953a):_0x5a750d,_0xdf652d=_0x3641a5['length']-0x1,_0x4df46e;_0xdf652d>=0x0;_0xdf652d--)(_0x4df46e=_0x3641a5[_0xdf652d])&&(_0xc6c788=_0x4df46e(_0xc6c788)||_0xc6c788);return _0xc6c788;},_0x412726=(_0x2e07d1,_0x14e67f)=>(_0x414345,_0x17c263)=>_0x14e67f(_0x414345,_0x17c263,_0x2e07d1);let _0x43ac4d=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x687e24,_0x2b0bb2){const _0x1f4338=_0x29bde7;super(),this[_0x1f4338(0x158)]=_0x687e24,this[_0x1f4338(0xbd)]=_0x2b0bb2,this[_0x1f4338(0x34b)]();}[_0x29bde7(0x34b)](){const _0x3186bc=_0x29bde7,_0x5d9da8=this;this['disposeWithMe'](this['_docClipboardService'][_0x3186bc(0x26e)]({'onBeforePasteImage':async _0xaca630=>{const _0x75e8e9=_0x3186bc,_0x5d56f8=await _0x5d9da8[_0x75e8e9(0xbd)][_0x75e8e9(0x1eb)](_0xaca630);return _0x5d56f8?{'source':_0x5d56f8[_0x75e8e9(0x116)],'imageSourceType':_0x5d56f8['imageSourceType']}:null;}}));}};_0x43ac4d=_0x1f6ee5([_0x412726(0x0,_0x9d9b14['IDocClipboardService']),_0x412726(0x1,_0x5b74e1[_0x29bde7(0x3a1)])],_0x43ac4d);const _0xccb0ec=['purple.300',_0x29bde7(0x190),_0x29bde7(0x2fd),_0x29bde7(0x3b0),_0x29bde7(0x307),'yellow.400'];class _0x1acd06 extends _0x3a09c4['Disposable']{constructor(){const _0x5c58ff=_0x29bde7;super(...arguments),_0x9f87fa(this,_0x5c58ff(0x20a),new Map()),_0x9f87fa(this,_0x5c58ff(0x22f),0x0);}['assignAColorForMemberID'](_0x16c02b){const _0x312eb5=_0x29bde7;if(this[_0x312eb5(0x20a)]['has'](_0x16c02b))return this['_assignedColors'][_0x312eb5(0x31d)](_0x16c02b);const _0x573efa=_0xccb0ec[this[_0x312eb5(0x22f)]];return this[_0x312eb5(0x22f)]=(this[_0x312eb5(0x22f)]+0x1)%_0xccb0ec[_0x312eb5(0x257)],this['_assignedColors'][_0x312eb5(0x2d5)](_0x16c02b,_0x573efa),_0x573efa;}}function _0x440e57(_0x3b9d77){const _0x191ce6=_0x29bde7;let _0x339c96='';for(const _0x4018c6 of _0x3b9d77){const {startOffset:_0x492c5b,endOffset:_0x1ab40f,isActive:_0x331634,rangeType:_0x4cd3f9,segmentId:_0x3c2dfb,segmentPage:_0x134841}=_0x4018c6;_0x339c96[_0x191ce6(0x257)]&&(_0x339c96+=','),_0x339c96+=_0x492c5b+':'+_0x1ab40f+':'+(_0x331634?'1':'0')+':'+_0x4cd3f9+':'+_0x3c2dfb+':'+_0x134841;}return _0x339c96;}function _0x1f91e0(_0x47344c){const _0x3c8fde=_0x29bde7,_0x27004f=_0x47344c[_0x3c8fde(0x384)](','),_0x4cb024=[];for(const _0x1449d7 of _0x27004f){const [_0x22d4a6,_0x18bb39,_0x2d7f4a,_0x4f2012,_0x3d0541,_0x334d61]=_0x1449d7[_0x3c8fde(0x384)](':');_0x4cb024[_0x3c8fde(0x174)]({'startOffset':Number(_0x22d4a6),'endOffset':Number(_0x18bb39),'collapsed':_0x22d4a6===_0x18bb39,'isActive':_0x2d7f4a==='1','rangeType':_0x4f2012===_0x3a09c4[_0x3c8fde(0x11c)][_0x3c8fde(0x276)]?_0x3a09c4[_0x3c8fde(0x11c)]['TEXT']:_0x3a09c4[_0x3c8fde(0x11c)][_0x3c8fde(0x223)],'segmentId':typeof _0x3d0541==_0x3c8fde(0x24a)?String(_0x3d0541):'','segmentPage':Number(_0x334d61!=null?_0x334d61:-0x1)});}return _0x4cb024[_0x3c8fde(0x19c)](_0x52618c=>_0x52618c[_0x3c8fde(0x13b)])||(_0x4cb024[0x0]['isActive']=!0x0),_0x4cb024;}class _0x3d295c extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(){const _0x3da188=_0x29bde7;super(...arguments),_0x9f87fa(this,'_collabCursorState$',new _0x41fba3['BehaviorSubject'](null)),_0x9f87fa(this,_0x3da188(0x110),this[_0x3da188(0x1c9)]['asObservable']());}['syncEditingCollabCursor'](_0x4f0b0d){const _0xf34b9f=_0x29bde7,{unitID:_0x1f9429,memberID:_0x219b14,textRanges:_0x124610}=_0x4f0b0d,_0x84b018=_0x440e57(_0x124610);if(_0x84b018==='')return;const _0x4d1585={'unitID':_0x1f9429,'memberID':_0x219b14,'selection':_0x84b018};this[_0xf34b9f(0x1c9)]['next'](_0x4d1585);}}var _0x264d27=Object['getOwnPropertyDescriptor'],_0x512f44=(_0x3eb956,_0x42abc8,_0x5431ec,_0x3c6565)=>{const _0x35b302=_0x29bde7;for(var _0x32e78c=_0x3c6565>0x1?void 0x0:_0x3c6565?_0x264d27(_0x42abc8,_0x5431ec):_0x42abc8,_0x61e866=_0x3eb956[_0x35b302(0x257)]-0x1,_0x40a2bd;_0x61e866>=0x0;_0x61e866--)(_0x40a2bd=_0x3eb956[_0x61e866])&&(_0x32e78c=_0x40a2bd(_0x32e78c)||_0x32e78c);return _0x32e78c;},_0x3ed4c3=(_0x5ac82d,_0x108264)=>(_0xbb4dcc,_0x5c3baa)=>_0x108264(_0xbb4dcc,_0x5c3baa,_0x5ac82d);const _0x37e166=0x12c,_0x5f06e4=0x64;let _0x977053=class extends _0x3a09c4['RxDisposable']{constructor(_0x1762de,_0x502ffe,_0x3a9ca6,_0x2f1b08,_0x5dba4b,_0x2708c0,_0x102f29,_0x38e35a,_0x25ad68){const _0x4db517=_0x29bde7;super(),_0x9f87fa(this,'_online',!0x1),_0x9f87fa(this,_0x4db517(0x34b),!0x1),_0x9f87fa(this,_0x4db517(0x195),new _0x41fba3[(_0x4db517(0x31e))](new Map())),_0x9f87fa(this,_0x4db517(0x2a0),this[_0x4db517(0x195)][_0x4db517(0x1b2)]()),_0x9f87fa(this,'_roomMembers$',new _0x41fba3[(_0x4db517(0x31e))]([])),_0x9f87fa(this,_0x4db517(0x259),this[_0x4db517(0xf0)][_0x4db517(0x2e5)](_0x41fba3[_0x4db517(0x2ec)](_0x37e166))),_0x9f87fa(this,_0x4db517(0x1e3),_0x3a09c4[_0x4db517(0x3a6)](_0x107227=>{const _0xe8057b=_0x4db517,_0x15975a={'eventID':_0x5e9418[_0xe8057b(0x16a)][_0xe8057b(0x1f5)],'data':{'unitID':this[_0xe8057b(0xee)],'memberID':this[_0xe8057b(0x17e)][_0xe8057b(0x33c)](),'selection':_0x440e57(_0x107227)}};this[_0xe8057b(0x17e)][_0xe8057b(0x2de)](_0x15975a,this[_0xe8057b(0xee)]);},_0x5f06e4)),(this[_0x4db517(0xee)]=_0x1762de,this[_0x4db517(0x17e)]=_0x502ffe,this[_0x4db517(0x247)]=_0x3a9ca6,this[_0x4db517(0x25e)]=_0x2f1b08,this[_0x4db517(0xe5)]=_0x5dba4b,this['_syncEditingCollabCursorService']=_0x2708c0,this[_0x4db517(0x289)]=_0x102f29,this[_0x4db517(0x1ab)]=_0x38e35a,this[_0x4db517(0x114)]=_0x25ad68);}get['cursorInfo'](){const _0x25d88c=_0x29bde7;return this[_0x25d88c(0x195)][_0x25d88c(0x2ff)]();}get['roomMembers'](){const _0x1ad6f6=_0x29bde7;return this[_0x1ad6f6(0xf0)][_0x1ad6f6(0x2ff)]();}[_0x29bde7(0x19f)](){const _0x1a61ae=_0x29bde7;super[_0x1a61ae(0x19f)](),this[_0x1a61ae(0x195)][_0x1a61ae(0x1ea)](new Map()),this[_0x1a61ae(0x195)][_0x1a61ae(0x336)](),this[_0x1a61ae(0xf0)][_0x1a61ae(0x1ea)]([]),this[_0x1a61ae(0xf0)][_0x1a61ae(0x336)]();}['init'](){const _0x5c4887=_0x29bde7;this['_init']||(this[_0x5c4887(0x34b)]=!0x0,this[_0x5c4887(0x17e)][_0x5c4887(0x287)]['pipe'](_0x41fba3[_0x5c4887(0x306)](this[_0x5c4887(0x1ec)]))[_0x5c4887(0x359)](_0x301b06=>{const _0x5b2bd2=_0x5c4887;_0x301b06===_0x5e7c26['SessionStatus'][_0x5b2bd2(0x1c7)]?this[_0x5b2bd2(0x193)]():this[_0x5b2bd2(0x316)]();}),this[_0x5c4887(0x17e)][_0x5c4887(0xe3)][_0x5c4887(0x2e5)](_0x41fba3[_0x5c4887(0x306)](this['dispose$']))[_0x5c4887(0x359)](_0x57ab44=>{const _0x17b5ab=_0x5c4887,_0x371346=_0x57ab44['eventID'];_0x371346===_0x5e9418[_0x17b5ab(0x16a)][_0x17b5ab(0x1f5)]&&this['_onCursorUpdate'](_0x57ab44),_0x371346===_0x5e9418[_0x17b5ab(0x16a)][_0x17b5ab(0x2b4)]&&this[_0x17b5ab(0x38c)](_0x57ab44);}),this['disposeWithMe'](this[_0x5c4887(0x114)][_0x5c4887(0x1af)](_0x107d24=>{const _0x3fd03e=_0x5c4887,_0x5746d6=_0x107d24[_0x3fd03e(0x32e)];_0x5746d6!=null&&this[_0x3fd03e(0x383)]&&_0x107d24['id']===_0x4995f4[_0x3fd03e(0x216)]['id']&&_0x5746d6['unitId']===this[_0x3fd03e(0xee)]&&_0x5746d6[_0x3fd03e(0x2f0)]===!0x1&&_0x5746d6[_0x3fd03e(0x330)][_0x3fd03e(0x257)]>0x0&&this[_0x3fd03e(0x1e3)](_0x5746d6[_0x3fd03e(0x330)]);})),this[_0x5c4887(0x373)]['collabCursorState$'][_0x5c4887(0x2e5)](_0x41fba3['takeUntil'](this['dispose$']))[_0x5c4887(0x359)](_0x263ce9=>{const _0x4acfaa=_0x5c4887;if((_0x263ce9==null?void 0x0:_0x263ce9[_0x4acfaa(0xee)])!==this['unitID'])return;const _0x313061={'eventID':_0x5e9418[_0x4acfaa(0x16a)]['UPDATE_CURSOR'],'data':_0x263ce9};this[_0x4acfaa(0x245)](_0x313061);}),this['disposeWithMe'](this['_commandService'][_0x5c4887(0x1af)](_0x1d9f60=>{const _0x379040=_0x5c4887;if(_0x1d9f60['params']==null)return;const _0x9b4c3b=_0x1d9f60[_0x379040(0x32e)];if(_0x1d9f60['id']!==_0x4995f4[_0x379040(0x1fc)]['id']||_0x9b4c3b[_0x379040(0x3a8)]!==this['unitID'])return;const _0x2ba056={'id':'doc.mutation.rich-text-editing','params':_0x9b4c3b},_0x18db26=this['cursorInfo'];for(const [_0x107b4d,_0x12ef70]of _0x18db26){const _0x2be9af={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x379040(0xee)],'actions':null,'textRanges':_0x12ef70[_0x379040(0x330)]}},_0x339855=this[_0x379040(0x289)][_0x379040(0x1f8)](_0x2ba056,_0x2be9af,!0x1);if(_0x5e9418[_0x379040(0x273)](_0x339855))throw _0x339855[_0x379040(0x34f)];_0x18db26[_0x379040(0x2d5)](_0x107b4d,{..._0x12ef70,'ranges':_0x339855['m2Prime'][_0x379040(0x32e)][_0x379040(0x1e4)]});}queueMicrotask(()=>{const _0x20eb5b=_0x379040;this[_0x20eb5b(0x195)][_0x20eb5b(0x1ea)](_0x18db26);});})));}[_0x29bde7(0x245)](_0x5d50fd){const _0x5a4899=_0x29bde7;var _0x40d3fc,_0x34ea49;const {memberID:_0xad60b5,selection:_0x40d80b}=_0x5d50fd[_0x5a4899(0x215)],_0x3f9f7e=_0x1f91e0(_0x40d80b),_0x1f8190=(_0x34ea49=(_0x40d3fc=this[_0x5a4899(0xe5)][_0x5a4899(0x36a)](this[_0x5a4899(0xee)],_0xad60b5))==null?void 0x0:_0x40d3fc[_0x5a4899(0x15b)])!=null?_0x34ea49:'Unknown\x20user',_0x598d06={'color':this['_colorAssignService'][_0x5a4899(0x36b)](_0xad60b5),'name':_0x1f8190,'ranges':_0x3f9f7e},_0x5a326b=this['cursorInfo'];_0x5a326b[_0x5a4899(0x2d5)](_0xad60b5,_0x598d06),this[_0x5a4899(0x195)]['next'](_0x5a326b);}[_0x29bde7(0x38c)](_0x13402f){const _0xbe1a67=_0x29bde7,{memberID:_0xf26e6a}=_0x13402f[_0xbe1a67(0x215)],_0x581ba1=this[_0xbe1a67(0x156)];_0x581ba1['delete'](_0xf26e6a),this['_cursorInfo$']['next'](_0x581ba1);}[_0x29bde7(0x193)](){const _0x46b535=_0x29bde7;var _0x51eef7;if(this[_0x46b535(0x383)]=!0x0,((_0x51eef7=this[_0x46b535(0x1ab)][_0x46b535(0x1bc)]())==null?void 0x0:_0x51eef7[_0x46b535(0x348)]())!==this['unitID'])return;const _0x5c357a=this[_0x46b535(0x247)][_0x46b535(0x31d)](_0x4995f4[_0x46b535(0x1fa)])[_0x46b535(0x366)]();Array[_0x46b535(0x106)](_0x5c357a)&&_0x5c357a['length']>0x0&&this[_0x46b535(0x1e3)](_0x5c357a);}[_0x29bde7(0x316)](){const _0x1b62ee=_0x29bde7;this[_0x1b62ee(0x383)]=!0x1;}};_0x977053=_0x512f44([_0x3ed4c3(0x2,_0x3a09c4['Inject'](_0x3a09c4['Injector'])),_0x3ed4c3(0x3,_0x3a09c4['Inject'](_0x1acd06)),_0x3ed4c3(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x203)])),_0x3ed4c3(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3d295c)),_0x3ed4c3(0x6,_0x5e9418[_0x29bde7(0x237)]),_0x3ed4c3(0x7,_0x3a09c4[_0x29bde7(0x294)]),_0x3ed4c3(0x8,_0x3a09c4['ICommandService'])],_0x977053);var _0x528743=Object[_0x29bde7(0x224)],_0x20c1aa=(_0x2bd934,_0x5068e0,_0x30fed3,_0x1bcdb1)=>{for(var _0x4ff0cb=_0x1bcdb1>0x1?void 0x0:_0x1bcdb1?_0x528743(_0x5068e0,_0x30fed3):_0x5068e0,_0x4bb9b2=_0x2bd934['length']-0x1,_0x301922;_0x4bb9b2>=0x0;_0x4bb9b2--)(_0x301922=_0x2bd934[_0x4bb9b2])&&(_0x4ff0cb=_0x301922(_0x4ff0cb)||_0x4ff0cb);return _0x4ff0cb;},_0x565401=(_0x3feeb5,_0x124d92)=>(_0x2d7e58,_0x5d9aad)=>_0x124d92(_0x2d7e58,_0x5d9aad,_0x3feeb5);const _0xde364e=0x12c,_0x4deb90=0x64,_0x92e6b9=()=>{let _0x160b00=[],_0x2c3dbb=!0x1;return _0x1d3847=>{_0x160b00['push'](_0x1d3847),_0x2c3dbb||(_0x2c3dbb=!0x0,setTimeout(()=>{_0x160b00['forEach'](_0x962fba=>_0x962fba()),_0x160b00=[],_0x2c3dbb=!0x1;}));};};let _0xd3e96a=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x598747,_0x55b114,_0x501e3f,_0x34f2b2,_0x594a9f,_0x2bc6c0,_0x2f924e,_0x238a58){const _0x32c75f=_0x29bde7;super(),_0x9f87fa(this,_0x32c75f(0x383),!0x1),_0x9f87fa(this,_0x32c75f(0x34b),!0x1),_0x9f87fa(this,_0x32c75f(0x195),new _0x41fba3[(_0x32c75f(0x31e))](new Map())),_0x9f87fa(this,_0x32c75f(0x2a0),this[_0x32c75f(0x195)][_0x32c75f(0x1b2)]()),_0x9f87fa(this,_0x32c75f(0xf0),new _0x41fba3['BehaviorSubject']([])),_0x9f87fa(this,_0x32c75f(0x259),this[_0x32c75f(0xf0)][_0x32c75f(0x2e5)](_0x41fba3['debounceTime'](_0xde364e))),_0x9f87fa(this,_0x32c75f(0x1e3),_0x3a09c4[_0x32c75f(0x3a6)]((_0x499441,_0xbc2603)=>{const _0x3fdd03=_0x32c75f,_0x127e66={'eventID':_0x5e9418['CollaborationEvent'][_0x3fdd03(0x1f5)],'data':{'unitID':this[_0x3fdd03(0xee)],'memberID':this[_0x3fdd03(0x17e)][_0x3fdd03(0x33c)](),'selection':_0x3202a1[_0x3fdd03(0xff)](_0x499441,_0xbc2603[_0x3fdd03(0x285)])}};this[_0x3fdd03(0x17e)]['send'](_0x127e66,this[_0x3fdd03(0xee)]);},_0x4deb90)),(this['unitID']=_0x598747,this[_0x32c75f(0x17e)]=_0x55b114,this[_0x32c75f(0x247)]=_0x501e3f,this['_colorAssignService']=_0x34f2b2,this[_0x32c75f(0xe5)]=_0x594a9f,this['_univerInstanceService']=_0x2bc6c0,this['_commandService']=_0x2f924e,this[_0x32c75f(0x345)]=_0x238a58);}get[_0x29bde7(0x156)](){const _0x545423=_0x29bde7;return this[_0x545423(0x195)][_0x545423(0x2ff)]();}get['roomMembers'](){const _0x1012b1=_0x29bde7;return this[_0x1012b1(0xf0)][_0x1012b1(0x2ff)]();}['dispose'](){const _0x22a559=_0x29bde7;super[_0x22a559(0x19f)](),this[_0x22a559(0x195)][_0x22a559(0x1ea)](new Map()),this[_0x22a559(0x195)][_0x22a559(0x336)](),this[_0x22a559(0xf0)][_0x22a559(0x1ea)]([]),this[_0x22a559(0xf0)][_0x22a559(0x336)]();}[_0x29bde7(0x2c4)](){const _0x443468=_0x29bde7;this[_0x443468(0x34b)]||(this[_0x443468(0x34b)]=!0x0,this['_session'][_0x443468(0x287)][_0x443468(0x2e5)](_0x41fba3[_0x443468(0x306)](this['dispose$']))[_0x443468(0x359)](_0x5c1287=>{const _0x36ff6c=_0x443468;_0x5c1287===_0x5e7c26[_0x36ff6c(0x1d9)]['ONLINE']?this['_toggleOnline']():this[_0x36ff6c(0x316)]();}),this[_0x443468(0x17e)][_0x443468(0xe3)][_0x443468(0x2e5)](_0x41fba3[_0x443468(0x306)](this[_0x443468(0x1ec)]))[_0x443468(0x359)](_0x289b71=>{const _0x3605a2=_0x443468,_0x31c61e=_0x289b71['eventID'];_0x31c61e===_0x5e9418[_0x3605a2(0x16a)][_0x3605a2(0x1f5)]&&this['_onCursorUpdate'](_0x289b71),_0x31c61e===_0x5e9418['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x289b71);}),this[_0x443468(0x308)](),this[_0x443468(0x28e)](this[_0x443468(0x114)][_0x443468(0x1af)](_0x26c5f7=>{const _0x26f6ac=_0x443468;if(this[_0x26f6ac(0x383)]&&_0x26c5f7['id']===_0x6f871[_0x26f6ac(0x1f1)]['id']&&_0x26c5f7[_0x26f6ac(0x32e)][_0x26f6ac(0x3a8)]===this[_0x26f6ac(0xee)]){const _0x503de8=_0x26c5f7['params'];this[_0x26f6ac(0x1e3)](_0x503de8[_0x26f6ac(0x2a2)],_0x503de8[_0x26f6ac(0x213)][0x0]);}})));}['_onCursorUpdate'](_0x2fbd71){const _0x24b77d=_0x29bde7;var _0x1f9d23,_0x269e46;const {memberID:_0x2959bf,selection:_0x3b8b4a}=_0x2fbd71['data'],{sheetName:_0x40439b,range:_0x38922d}=_0x3202a1[_0x24b77d(0x33b)](_0x3b8b4a),_0x5ca0a0={'name':(_0x269e46=(_0x1f9d23=this[_0x24b77d(0xe5)][_0x24b77d(0x36a)](this[_0x24b77d(0xee)],_0x2959bf))==null?void 0x0:_0x1f9d23[_0x24b77d(0x15b)])!=null?_0x269e46:'Unknown\x20user','range':this['_getMergeRange'](_0x40439b,_0x38922d),'sheetID':_0x40439b,'color':this[_0x24b77d(0x25e)]['assignAColorForMemberID'](_0x2959bf),'selection':_0x3b8b4a},_0x34c8ac=this['cursorInfo'];_0x34c8ac['set'](_0x2959bf,_0x5ca0a0),this['_cursorInfo$']['next'](_0x34c8ac);}['_onCursorDelete'](_0x26ebbd){const _0x551703=_0x29bde7,{memberID:_0x55bbbf}=_0x26ebbd[_0x551703(0x215)],_0x254160=this['cursorInfo'];_0x254160[_0x551703(0x35e)](_0x55bbbf),this[_0x551703(0x195)][_0x551703(0x1ea)](_0x254160);}[_0x29bde7(0x274)](_0x5a0f06,_0x3ed744){const _0x3d1199=_0x29bde7;var _0x2e76df,_0x103ffa;const _0x307cd7=(_0x103ffa=(_0x2e76df=this[_0x3d1199(0x1ab)][_0x3d1199(0x2f4)](this[_0x3d1199(0xee)]))==null?void 0x0:_0x2e76df[_0x3d1199(0x2cf)](_0x5a0f06))==null?void 0x0:_0x103ffa['getMergeData']();return(_0x307cd7==null?void 0x0:_0x307cd7[_0x3d1199(0x214)](_0x29e1c2=>_0x3a09c4['Rectangle'][_0x3d1199(0x261)](_0x29e1c2,_0x3ed744)))||_0x3ed744;}[_0x29bde7(0x308)](){const _0x5827ab=_0x29bde7,_0x4091eb=new _0x3a09c4[(_0x5827ab(0x21f))](),_0x1002be=_0x92e6b9(),_0x448ef0=()=>{const _0x4820ee=_0x5827ab;_0x4091eb[_0x4820ee(0x19f)]();const _0x539a40=(_0x4e0087,_0x5d3997,_0x12e556,_0x60dd61)=>{const _0x487617=_0x4820ee;let _0x57ec46=[];switch(_0x4e0087['id']){case _0x6f871[_0x487617(0x37b)][_0x487617(0x151)]:{_0x57ec46=_0x6f871['handleDeleteRangeMoveLeft'](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x1b0)]:{_0x57ec46=_0x6f871[_0x487617(0x29a)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x1f7)]:{_0x57ec46=_0x6f871[_0x487617(0x363)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRangeMoveDownCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x293)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRangeMoveRightCommandId']:{_0x57ec46=_0x6f871['handleInsertRangeMoveRight'](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRowCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x1cf)](_0x4e0087,_0x60dd61);break;}case _0x6f871['EffectRefRangId'][_0x487617(0x3ab)]:{_0x57ec46=_0x6f871[_0x487617(0x1a3)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['RemoveColCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x1ca)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x360)]:{_0x57ec46=_0x6f871[_0x487617(0x1c1)](_0x4e0087,_0x60dd61);break;}}const _0x325812=_0x6f871['runRefRangeMutations'](_0x57ec46,_0x60dd61),_0x3e4a17=this[_0x487617(0x156)][_0x487617(0x31d)](_0x5d3997);if(_0x3e4a17&&_0x325812){const _0x1eb09c={..._0x3e4a17,'range':_0x325812};this['cursorInfo']['set'](_0x5d3997,_0x1eb09c),_0x1002be(()=>{const _0xef7f7=_0x487617,_0x599a3f=this['_refRangeService'][_0xef7f7(0x38b)](_0x325812,_0x48982b=>(_0x599a3f[_0xef7f7(0x19f)](),_0x539a40(_0x48982b,_0x5d3997,_0x12e556,_0x325812)));_0x4091eb['add'](_0x599a3f);});}return{'redos':[],'undos':[]};};this[_0x4820ee(0x156)][_0x4820ee(0x27c)]((_0x2d30ae,_0xcf814d)=>{const _0x5ae9f0=_0x4820ee,{range:_0x1eba62,sheetID:_0x5b3bb3}=_0x2d30ae,_0x2f70ab=this[_0x5ae9f0(0x345)][_0x5ae9f0(0x38b)](_0x1eba62,_0x4d85a3=>(_0x2f70ab[_0x5ae9f0(0x19f)](),_0x539a40(_0x4d85a3,_0xcf814d,_0x5b3bb3,_0x1eba62)));_0x4091eb[_0x5ae9f0(0x2b2)](_0x2f70ab);});};this[_0x5827ab(0x28e)](_0x3a09c4['toDisposable'](this[_0x5827ab(0x195)][_0x5827ab(0x359)](()=>{_0x448ef0();})));}[_0x29bde7(0x193)](){const _0x278587=_0x29bde7;var _0x6771c8,_0x53c53d;if(this[_0x278587(0x383)]=!0x0,((_0x6771c8=this[_0x278587(0x1ab)]['getFocusedUnit']())==null?void 0x0:_0x6771c8[_0x278587(0x348)]())!==this[_0x278587(0xee)])return;const _0x5e5221=(_0x53c53d=this['_injector']['get'](_0x6f871[_0x278587(0x357)])[_0x278587(0x34d)]())==null?void 0x0:_0x53c53d[0x0],_0x3f3f33=this[_0x278587(0x1ab)][_0x278587(0xc7)](_0x3a09c4[_0x278587(0x30d)][_0x278587(0x2aa)])[_0x278587(0x160)]();_0x5e5221&&_0x3f3f33&&this[_0x278587(0x1e3)](_0x3f3f33['getSheetId'](),_0x5e5221);}['_toggleOffline'](){const _0x556bd1=_0x29bde7;this[_0x556bd1(0x383)]=!0x1;}};_0xd3e96a=_0x20c1aa([_0x565401(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x565401(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x1acd06)),_0x565401(0x4,_0x3a09c4['Inject'](_0x5e7c26[_0x29bde7(0x203)])),_0x565401(0x5,_0x3a09c4['IUniverInstanceService']),_0x565401(0x6,_0x3a09c4[_0x29bde7(0x339)]),_0x565401(0x7,_0x3a09c4[_0x29bde7(0xdb)](_0x6f871[_0x29bde7(0xce)]))],_0xd3e96a);var _0x4e2170=Object[_0x29bde7(0x224)],_0x218f59=(_0x5f5943,_0x2238b0,_0x34fc00,_0x56a336)=>{const _0xa1ef26=_0x29bde7;for(var _0x1b79ff=_0x56a336>0x1?void 0x0:_0x56a336?_0x4e2170(_0x2238b0,_0x34fc00):_0x2238b0,_0x1c7458=_0x5f5943[_0xa1ef26(0x257)]-0x1,_0x4d74bd;_0x1c7458>=0x0;_0x1c7458--)(_0x4d74bd=_0x5f5943[_0x1c7458])&&(_0x1b79ff=_0x4d74bd(_0x1b79ff)||_0x1b79ff);return _0x1b79ff;},_0x52c822=(_0x3457ea,_0x22bdbc)=>(_0x19b6dc,_0x2d732a)=>_0x22bdbc(_0x19b6dc,_0x2d732a,_0x3457ea);let _0x2763d1=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x2c80fb,_0x38b36d,_0x368003){const _0x2b4869=_0x29bde7;super(),_0x9f87fa(this,_0x2b4869(0x27a),new Map()),_0x9f87fa(this,_0x2b4869(0x1a5),new _0x41fba3[(_0x2b4869(0x376))]()),(this[_0x2b4869(0x1ab)]=_0x2c80fb,this[_0x2b4869(0x247)]=_0x38b36d,this[_0x2b4869(0x1e5)]=_0x368003,this[_0x2b4869(0x34b)]());}[_0x29bde7(0x19f)](){const _0x317844=_0x29bde7;super[_0x317844(0x19f)](),this['_entityInit$'][_0x317844(0x336)](),this['_entities'][_0x317844(0x27c)](_0x5a9b41=>_0x5a9b41[_0x317844(0x19f)]());}[_0x29bde7(0x238)](_0x14ec27){const _0x3e9153=_0x29bde7;return this['_entities']['has'](_0x14ec27)?this[_0x3e9153(0x27a)][_0x3e9153(0x31d)](_0x14ec27)[_0x3e9153(0x2a0)]:this[_0x3e9153(0x1a5)][_0x3e9153(0x2e5)](_0x41fba3[_0x3e9153(0x30e)](_0x50e413=>_0x50e413[_0x3e9153(0xee)]===_0x14ec27),_0x41fba3[_0x3e9153(0x2f8)](_0x18c779=>_0x18c779[_0x3e9153(0x2a0)]));}['_init'](){const _0x3ec692=_0x29bde7;this['_univerInstanceService'][_0x3ec692(0x163)](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0x2aa)])[_0x3ec692(0x2e5)](_0x41fba3['takeUntil'](this[_0x3ec692(0x1ec)]))['subscribe'](async _0x18906c=>{const _0x43ad84=_0x3ec692,_0x4d8c6a=_0x18906c[_0x43ad84(0x348)](),_0x101ec4=await this['_startSheetCollabCursor'](_0x4d8c6a);this['_entityInit$'][_0x43ad84(0x1ea)](_0x101ec4),this[_0x43ad84(0x27a)]['set'](_0x4d8c6a,_0x101ec4);}),this['_univerInstanceService'][_0x3ec692(0x163)](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0xec)])[_0x3ec692(0x2e5)](_0x41fba3[_0x3ec692(0x306)](this[_0x3ec692(0x1ec)]))[_0x3ec692(0x2e5)](_0x41fba3[_0x3ec692(0x30e)](_0x1941c3=>!_0x1941c3[_0x3ec692(0x348)]()[_0x3ec692(0x318)]('__')))[_0x3ec692(0x359)](async _0x522cb3=>{const _0x15189f=_0x3ec692,_0x806c88=_0x522cb3[_0x15189f(0x348)](),_0x1ad223=await this[_0x15189f(0x28b)](_0x806c88);this['_entityInit$'][_0x15189f(0x1ea)](_0x1ad223),this[_0x15189f(0x27a)][_0x15189f(0x2d5)](_0x806c88,_0x1ad223);}),_0x41fba3[_0x3ec692(0x28d)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0xec)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3a09c4['UniverInstanceType'][_0x3ec692(0x2aa)]))['pipe'](_0x41fba3[_0x3ec692(0x306)](this[_0x3ec692(0x1ec)]))[_0x3ec692(0x359)](_0x3289bc=>{const _0x41ebfa=_0x3ec692,_0x1c41f7=_0x3289bc[_0x41ebfa(0x348)](),_0x1a9cd4=this[_0x41ebfa(0x27a)][_0x41ebfa(0x31d)](_0x1c41f7);_0x1a9cd4&&(_0x1a9cd4[_0x41ebfa(0x19f)](),this[_0x41ebfa(0x27a)][_0x41ebfa(0x35e)](_0x1c41f7));});}async[_0x29bde7(0x111)](_0x1dd71f){const _0xeea0ea=_0x29bde7,_0x5efc46=await this[_0xeea0ea(0x1e5)][_0xeea0ea(0x185)](_0x1dd71f),_0x1d06ce=this['_injector'][_0xeea0ea(0x3a3)](_0xd3e96a,_0x1dd71f,_0x5efc46);return _0x1d06ce[_0xeea0ea(0x2c4)](),_0x1d06ce;}async[_0x29bde7(0x28b)](_0x10d354){const _0x502a1c=_0x29bde7,_0x522e3b=await this[_0x502a1c(0x1e5)][_0x502a1c(0x185)](_0x10d354),_0x3a82ab=this[_0x502a1c(0x247)][_0x502a1c(0x3a3)](_0x977053,_0x10d354,_0x522e3b);return _0x3a82ab['init'](),_0x3a82ab;}};_0x2763d1=_0x218f59([_0x52c822(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x52c822(0x1,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x52c822(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x3ae)]))],_0x2763d1);const _0x3ad07c=0x14,_0x4afbb1=0xc8,_0x221ad0=0x4,_0x5ef308=0x5;function _0x314ac8(_0x136a0f,_0x144f2b){const _0x39dbc2=_0x29bde7;let {radius:_0x47e621,width:_0x4609c4,height:_0x15cd9c}=_0x144f2b;_0x47e621=_0x47e621!=null?_0x47e621:0x0,_0x4609c4=_0x4609c4!=null?_0x4609c4:0x1e,_0x15cd9c=_0x15cd9c!=null?_0x15cd9c:0x1e;let _0x4039f2=0x0,_0x26d23c=0x0,_0x14382e=0x0;_0x4039f2=_0x26d23c=_0x14382e=Math[_0x39dbc2(0x1a7)](_0x47e621,_0x4609c4/0x2,_0x15cd9c/0x2),_0x136a0f[_0x39dbc2(0x1b7)](),_0x136a0f[_0x39dbc2(0x239)](_0x4039f2,0x0),_0x136a0f[_0x39dbc2(0x187)](_0x4609c4-_0x26d23c,0x0),_0x136a0f[_0x39dbc2(0xeb)](_0x4609c4-_0x26d23c,_0x26d23c,_0x26d23c,Math['PI']*0x3/0x2,0x0,!0x1),_0x136a0f[_0x39dbc2(0x187)](_0x4609c4,_0x15cd9c-_0x14382e),_0x136a0f[_0x39dbc2(0xeb)](_0x4609c4-_0x14382e,_0x15cd9c-_0x14382e,_0x14382e,0x0,Math['PI']/0x2,!0x1),_0x136a0f['lineTo'](0x0,_0x15cd9c),_0x136a0f['lineTo'](0x0,_0x4039f2),_0x136a0f[_0x39dbc2(0xeb)](_0x4039f2,_0x4039f2,_0x4039f2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x136a0f[_0x39dbc2(0x325)](),_0x144f2b[_0x39dbc2(0x1b9)]&&(_0x136a0f[_0x39dbc2(0x317)](),_0x136a0f['fillStyle']=_0x144f2b[_0x39dbc2(0x1b9)],_0x144f2b[_0x39dbc2(0x1f4)]===_0x39dbc2(0x351)?_0x136a0f[_0x39dbc2(0x1b9)](_0x39dbc2(0x351)):_0x136a0f[_0x39dbc2(0x1b9)](),_0x136a0f[_0x39dbc2(0x271)]());}class _0xb13f21 extends _0x271b4b[_0x29bde7(0x157)]{constructor(_0x43ed6c,_0xea6e14){const _0xddeab2=_0x29bde7;super(_0x43ed6c,_0xea6e14),_0x9f87fa(this,_0xddeab2(0x2a6)),_0x9f87fa(this,_0xddeab2(0x2b5)),(this[_0xddeab2(0x2a6)]=_0xea6e14==null?void 0x0:_0xea6e14['color'],this[_0xddeab2(0x2b5)]=_0xea6e14==null?void 0x0:_0xea6e14[_0xddeab2(0x2b5)]);}static[_0x29bde7(0x399)](_0x55a5f0,_0x5a2b77){const _0x115991=_0x29bde7,{text:_0x4735b,color:_0x51d243}=_0x5a2b77;_0x55a5f0[_0x115991(0x317)](),_0x55a5f0[_0x115991(0x356)]=_0x115991(0x397);const _0x4e0753=_0x55a5f0[_0x115991(0x1d2)](_0x4735b)[_0x115991(0x393)],_0x125730=Math[_0x115991(0x1a7)](_0x4e0753+0x2*_0x221ad0,_0x4afbb1);_0x314ac8(_0x55a5f0,{'height':_0x3ad07c,'radius':0x4,'width':_0x125730,'fill':_0x51d243}),_0x55a5f0['fillStyle']='#FFF';const _0x32b9a1=_0x221ad0,_0x2e37c7=_0x3ad07c-_0x5ef308,_0xfc4fc5=_0x4afbb1-0x2*_0x221ad0;if(_0x4e0753>_0xfc4fc5){let _0x195510='',_0x58803e=0x0;for(const _0xaf6479 of _0x4735b){const _0x5404cf=_0x55a5f0[_0x115991(0x1d2)](_0xaf6479)['width'];if(_0x58803e+_0x5404cf<=_0xfc4fc5-_0x55a5f0['measureText'](_0x115991(0xe0))[_0x115991(0x393)])_0x195510+=_0xaf6479,_0x58803e+=_0x5404cf;else{_0x195510+='...';break;}}_0x55a5f0['fillText'](_0x195510,_0x32b9a1,_0x2e37c7);}else _0x55a5f0[_0x115991(0x15a)](_0x4735b,_0x32b9a1,_0x2e37c7);_0x55a5f0['restore']();}[_0x29bde7(0x121)](_0x2e2c96){const _0xdc63b7=_0x29bde7;_0xb13f21[_0xdc63b7(0x399)](_0x2e2c96,this);}}const _0x576984=_0x29bde7(0x296),_0x1d1b28=_0x29bde7(0xc1),_0x10b1db=_0x29bde7(0x13f),_0x4b09c8=0x6,_0x4564fc=1.5,_0x59a3b3=0x4,_0x3debe4=1.5,_0xfd59bb=_0x29bde7(0x14d);class _0x544971{constructor(_0x5c210e,_0x1be163,_0x472a3e,_0x3006cd){const _0x3df967=_0x29bde7;_0x9f87fa(this,'_shapes',[]),_0x9f87fa(this,_0x3df967(0x1e0),null),_0x9f87fa(this,'_textBubble',null),_0x9f87fa(this,_0x3df967(0x2a3),null),_0x9f87fa(this,_0x3df967(0x32b),null),_0x9f87fa(this,_0x3df967(0x139),null),(this['_cursor']=_0x5c210e,this['_scene']=_0x1be163,this['_docSkeleton']=_0x472a3e,this['_document']=_0x3006cd,this[_0x3df967(0x192)]());}set[_0x29bde7(0xfc)](_0x19af79){const _0x2da6b9=_0x29bde7;_0x19af79?(this['_anchorDot']&&this['_anchorDot'][_0x2da6b9(0x1db)](),this[_0x2da6b9(0x2f2)]&&this[_0x2da6b9(0x2f2)][_0x2da6b9(0x16f)]()):(this['_anchorDot']&&this[_0x2da6b9(0x2a3)][_0x2da6b9(0x16f)](),this[_0x2da6b9(0x2f2)]&&this['_textBubble']['hide']());}[_0x29bde7(0x19f)](){const _0x46ce7a=_0x29bde7;for(const _0x26d093 of this[_0x46ce7a(0xca)])_0x26d093[_0x46ce7a(0x19f)]();this[_0x46ce7a(0x2f2)]&&this[_0x46ce7a(0x2f2)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x2a3)]&&this[_0x46ce7a(0x2a3)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x1e0)]&&this[_0x46ce7a(0x1e0)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x139)]&&this[_0x46ce7a(0x139)]();}['_render'](){const _0x1fdfe9=_0x29bde7;var _0x2afc87;const {_docSkeleton:_0xc41b26,_document:_0x3ae2e3}=this,{color:_0x414d6e,name:_0x478b36,ranges:_0x511a91}=this[_0x1fdfe9(0x175)],_0x16a598=_0x3ae2e3[_0x1fdfe9(0x295)](),{docsLeft:_0x251af4,docsTop:_0x2692bd}=_0x16a598,_0x46a766=new _0x9d9b14[(_0x1fdfe9(0x32d))](_0x16a598,_0xc41b26);for(const {startOffset:_0x28f588,endOffset:_0x517be2,rangeType:_0x5ce289,segmentId:_0x44024d,segmentPage:_0x37d0f6,collapsed:_0x1789c2,isActive:_0x20dcd0}of _0x511a91){const _0x3240be=_0xc41b26['findNodePositionByCharIndex'](_0x28f588,!0x0,_0x44024d,_0x37d0f6);let _0x102b79=_0xc41b26[_0x1fdfe9(0x173)](_0x517be2,!0x0,_0x44024d,_0x37d0f6);if(_0x102b79==null&&(_0x102b79=_0xc41b26[_0x1fdfe9(0x173)](_0x517be2-0x1,!0x1,_0x44024d,_0x37d0f6)),_0x20dcd0){const {contentBoxPointGroup:_0x5f4b4b}=_0x46a766[_0x1fdfe9(0x2f1)](_0x102b79,_0x102b79);if(_0x5f4b4b[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x389)](_0x414d6e,_0x5f4b4b,_0x251af4,_0x2692bd,_0x478b36),this['_eventUnsubscribe']=this[_0x1fdfe9(0x33e)]();}if(_0x3240be&&_0x102b79){if(_0x5ce289===_0x3a09c4[_0x1fdfe9(0x11c)][_0x1fdfe9(0x223)]){const _0x2cec86=new _0x9d9b14[(_0x1fdfe9(0xbe))](_0x16a598,_0xc41b26),{pointGroup:_0x47a5f6}=(_0x2afc87=_0x2cec86['getRangePointData'](_0x3240be,_0x102b79))!=null?_0x2afc87:{};if(_0x47a5f6==null||_0x47a5f6[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x233)](_0x414d6e,_0x47a5f6,_0x251af4,_0x2692bd);}else{if(!_0x1789c2){const {borderBoxPointGroup:_0x1a6290}=_0x46a766[_0x1fdfe9(0x2f1)](_0x3240be,_0x102b79);if(_0x1a6290[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x292)](_0x414d6e,_0x1a6290,_0x251af4,_0x2692bd);}}}}}[_0x29bde7(0x389)](_0x232110,_0x3557cc,_0xc439cb,_0x19f45e,_0x5cd9df){const _0x5d295b=_0x29bde7,_0x4f08b1=this[_0x5d295b(0x128)](_0x3557cc),{left:_0x357a0f,top:_0x254e85,height:_0x3ea74f}=_0x4f08b1,_0x256591=this['_getScale'](),_0x37392d=_0x3debe4/_0x256591,_0x5d0e17=new _0x271b4b[(_0x5d295b(0x326))](_0x576984+_0x3a09c4[_0x5d295b(0x382)](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e,'height':_0x3ea74f,'width':_0x4564fc,'fill':_0x232110||_0x271b4b[_0x5d295b(0x241)](_0x3a09c4[_0x5d295b(0x38a)][_0x5d295b(0xd1)],0x0),'strokeWidth':_0x37392d,'stroke':_0xfd59bb,'evented':!0x0});this['_anchor']=_0x5d0e17,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0x5d0e17,_0x9d9b14[_0x5d295b(0x20b)]);const _0x1271e5=new _0x271b4b['Rect'](_0x576984+_0x3a09c4['generateRandomId'](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e-_0x59a3b3/0x2,'height':_0x59a3b3,'width':_0x59a3b3,'fill':_0x232110||_0x271b4b[_0x5d295b(0x241)](_0x3a09c4[_0x5d295b(0x38a)][_0x5d295b(0xd1)],0x0),'strokeWidth':0x0,'stroke':_0x232110||_0x271b4b['getColor'](_0x3a09c4['COLORS'][_0x5d295b(0xd1)],0x0),'evented':!0x1});this[_0x5d295b(0x2a3)]=_0x1271e5,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0x1271e5,_0x9d9b14[_0x5d295b(0x20b)]);const _0xd876ef=new _0xb13f21(_0x576984+_0x3a09c4[_0x5d295b(0x382)](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e-_0x3ad07c,'text':_0x5cd9df,'color':_0x232110});this[_0x5d295b(0x2f2)]=_0xd876ef,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0xd876ef,_0x9d9b14[_0x5d295b(0x20b)]),this[_0x5d295b(0xfc)]=!0x1;}['_handleHover'](){const _0x507d67=_0x29bde7,_0x1efc7d=this[_0x507d67(0x1e0)][_0x507d67(0x320)]['subscribeEvent'](()=>{const _0x269f55=_0x507d67;this[_0x269f55(0xfc)]=!0x0;}),_0x5f25f2=this[_0x507d67(0x1e0)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x228edb=_0x507d67;this[_0x228edb(0x32b)]&&clearTimeout(this[_0x228edb(0x32b)]),this[_0x228edb(0x32b)]=setTimeout(()=>{const _0x4ddab5=_0x228edb;this[_0x4ddab5(0xfc)]=!0x1;},0x7d0);});return()=>{const _0x2da018=_0x507d67;_0x1efc7d[_0x2da018(0x2b7)](),_0x5f25f2[_0x2da018(0x2b7)]();};}[_0x29bde7(0x292)](_0xcbeaf9,_0x24409b,_0x1a0689,_0x2a0946){const _0x51d7cf=_0x29bde7,_0x12f80f=new _0x3a09c4[(_0x51d7cf(0x2f3))](_0xcbeaf9)[_0x51d7cf(0x138)](0.2)['toRgbString'](),_0x305ab6=new _0x271b4b[(_0x51d7cf(0x26f))](_0x1d1b28+_0x3a09c4[_0x51d7cf(0x382)](_0x4b09c8),{'pointsGroup':_0x24409b,'fill':_0x12f80f||_0x271b4b[_0x51d7cf(0x241)](_0x3a09c4[_0x51d7cf(0x38a)][_0x51d7cf(0xd1)],0.2),'left':_0x1a0689,'top':_0x2a0946,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x305ab6),this[_0x51d7cf(0x2ea)][_0x51d7cf(0x396)](_0x305ab6,_0x9d9b14[_0x51d7cf(0x20b)]);}[_0x29bde7(0x233)](_0x1cf7c8,_0x41acac,_0x4e40e7,_0x2f30a1){const _0x4a848b=_0x29bde7,_0x3b9fcb=new _0x3a09c4['ColorKit'](_0x1cf7c8)['setAlpha'](0.2)[_0x4a848b(0x249)](),_0x471b14=new _0x271b4b[(_0x4a848b(0x26f))](_0x10b1db+_0x3a09c4[_0x4a848b(0x382)](_0x4b09c8),{'pointsGroup':_0x41acac,'fill':_0x3b9fcb||_0x271b4b['getColor'](_0x3a09c4['COLORS'][_0x4a848b(0xd1)],0.2),'left':_0x4e40e7,'top':_0x2f30a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a848b(0xca)][_0x4a848b(0x174)](_0x471b14),this[_0x4a848b(0x2ea)][_0x4a848b(0x396)](_0x471b14,_0x9d9b14[_0x4a848b(0x20b)]);}['_getAnchorBounding'](_0x5b7ec){const _0x1559c3=_0x5b7ec[0x0],_0x562452=_0x1559c3[0x0],_0xabfa07=_0x1559c3[0x2],{x:_0x4bd49e,y:_0x481d14}=_0x562452,{x:_0x41756d,y:_0x27fe0a}=_0xabfa07;return{'left':_0x4bd49e,'top':_0x481d14,'width':_0x41756d-_0x4bd49e,'height':_0x27fe0a-_0x481d14};}['_getScale'](){const _0x37b4b0=_0x29bde7,{scaleX:_0x3a70f3,scaleY:_0x55992f}=this[_0x37b4b0(0x2ea)]['getAncestorScale']();return Math['max'](_0x3a70f3,_0x55992f);}}var _0x2e0a2e=Object[_0x29bde7(0x224)],_0xf368bb=(_0x4cbfcb,_0x3f9482,_0x2dadcf,_0x4a076c)=>{for(var _0x51c50e=_0x4a076c>0x1?void 0x0:_0x4a076c?_0x2e0a2e(_0x3f9482,_0x2dadcf):_0x3f9482,_0x44a4d0=_0x4cbfcb['length']-0x1,_0xab0f3b;_0x44a4d0>=0x0;_0x44a4d0--)(_0xab0f3b=_0x4cbfcb[_0x44a4d0])&&(_0x51c50e=_0xab0f3b(_0x51c50e)||_0x51c50e);return _0x51c50e;},_0x9203be=(_0x2c5e4b,_0x5811dc)=>(_0x21152a,_0x24d69e)=>_0x5811dc(_0x21152a,_0x24d69e,_0x2c5e4b);let _0x4ec09a=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x34636e,_0x32d985,_0x300d63,_0x2cd2f4,_0x5a4aad){const _0x12f6ce=_0x29bde7;super(),_0x9f87fa(this,_0x12f6ce(0x124),[]),_0x9f87fa(this,_0x12f6ce(0x2f5),[]),(this[_0x12f6ce(0x1dc)]=_0x34636e,this['_docSkeletonManagerService']=_0x32d985,this[_0x12f6ce(0x27d)]=_0x300d63,this[_0x12f6ce(0x114)]=_0x2cd2f4,this[_0x12f6ce(0x286)]=_0x5a4aad,this[_0x12f6ce(0x34b)]());}['_init'](){const _0x1c0317=_0x29bde7,_0x584cf9=this[_0x1c0317(0x1dc)][_0x1c0317(0x3a8)],_0x816b14=this[_0x1c0317(0x332)];this[_0x1c0317(0x28e)](_0x41fba3[_0x1c0317(0x227)]([this[_0x1c0317(0x27d)][_0x1c0317(0x238)](_0x584cf9),this['_themeService'][_0x1c0317(0x226)]])[_0x1c0317(0x2e5)](_0x360399[_0x1c0317(0x20c)](([_0xa4c5ef,_0x1da424])=>({'skeleton':_0x816b14['getSkeleton'](),'cursors':[..._0xa4c5ef['values']()][_0x1c0317(0x253)](_0x78f409=>({..._0x78f409,'color':this['_themeService'][_0x1c0317(0xda)](_0x78f409[_0x1c0317(0x2a6)])}))})))[_0x1c0317(0x359)](_0x4c91d2=>{const _0x11ea0c=_0x1c0317;if(this[_0x11ea0c(0x30b)](),_0x4c91d2){const {skeleton:_0x586069,cursors:_0x52e314}=_0x4c91d2;this[_0x11ea0c(0xcf)](_0x586069,_0x52e314);}})),this[_0x1c0317(0x220)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x231b48,_0x4a75a4){const _0x1e160f=_0x29bde7,{scene:_0x1dba02,mainComponent:_0x51135b}=this['_context'],_0x41da39=_0x4a75a4[_0x1e160f(0x20c)](_0x173184=>new _0x544971(_0x173184,_0x1dba02,_0x231b48,_0x51135b));this['_cursorShapes']=_0x41da39,this[_0x1e160f(0x2f5)]=_0x4a75a4;}['_refreshCollabCursors'](){const _0x1a321b=_0x29bde7;this[_0x1a321b(0x30b)]();const {scene:_0x3c2f6d,mainComponent:_0x4fc845}=this[_0x1a321b(0x1dc)],_0x1d116e=this['_docSkeletonManagerService'][_0x1a321b(0x184)](),_0x461525=this[_0x1a321b(0x2f5)]['map'](_0x636d24=>new _0x544971(_0x636d24,_0x3c2f6d,_0x1d116e,_0x4fc845));this[_0x1a321b(0x124)]=_0x461525;}['_removeCollabCursors'](){const _0x22bc5f=_0x29bde7;this[_0x22bc5f(0x124)]['forEach'](_0x5b7b69=>_0x5b7b69[_0x22bc5f(0x19f)]()),this[_0x22bc5f(0x124)]=[];}['_initCommandExecutedListener'](){const _0x322076=_0x29bde7,_0x2b8933=[_0x9d9b14[_0x322076(0x12d)]['id']];this[_0x322076(0x28e)](this[_0x322076(0x114)][_0x322076(0x1af)](_0x271a3c=>{const _0x4f710d=_0x322076;_0x2b8933[_0x4f710d(0xf3)](_0x271a3c['id'])&&_0x271a3c[_0x4f710d(0x32e)][_0x4f710d(0x3a8)]===this[_0x4f710d(0x1dc)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x29bde7(0x220)](){const _0x2f66a7=_0x29bde7;this['disposeWithMe'](_0x3a09c4[_0x2f66a7(0x1c4)](this['_context'][_0x2f66a7(0x24c)][_0x2f66a7(0xe2)])[_0x2f66a7(0x2e5)](_0x360399[_0x2f66a7(0x30e)](_0x36dd83=>_0x36dd83[_0x2f66a7(0x1d7)]===_0x271b4b[_0x2f66a7(0x1bb)][_0x2f66a7(0x268)]),_0x360399[_0x2f66a7(0x2bf)](0x10))[_0x2f66a7(0x359)](()=>{const _0x4d6f49=_0x2f66a7;this[_0x4d6f49(0xc4)]();}));}};_0x4ec09a=_0xf368bb([_0x9203be(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x4995f4[_0x29bde7(0x2da)])),_0x9203be(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x2763d1)),_0x9203be(0x3,_0x3a09c4['ICommandService']),_0x9203be(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x13a)]))],_0x4ec09a);const _0x5b7afe=0x1,_0x407b6e=1.5;class _0x526d2d extends _0x271b4b[_0x29bde7(0x157)]{constructor(_0x8c7dcf,_0x110cc5){const _0x2f85da=_0x29bde7;super(_0x8c7dcf,_0x110cc5),_0x9f87fa(this,_0x2f85da(0x14f)),_0x9f87fa(this,'_hovered',!0x1),_0x9f87fa(this,_0x2f85da(0x31a)),_0x9f87fa(this,_0x2f85da(0x372),''),_0x9f87fa(this,_0x2f85da(0x182),_0x2f85da(0xea)),_0x9f87fa(this,_0x2f85da(0x12a)),(_0x110cc5&&this[_0x2f85da(0x1a1)](_0x110cc5),this['onPointerEnter$'][_0x2f85da(0x1be)](()=>this[_0x2f85da(0x1a1)]({'hovered':!0x0})),this[_0x2f85da(0x252)][_0x2f85da(0x1be)](()=>this[_0x2f85da(0x1a1)]({'hovered':!0x1})));}[_0x29bde7(0x1a1)](_0x1be9bc){const _0x27232e=_0x29bde7;var _0x17aa54,_0x27dfe3,_0x4112a1,_0x338c46,_0x97b0fc,_0x251153;this[_0x27232e(0x14f)]=(_0x17aa54=_0x1be9bc[_0x27232e(0x2a6)])!=null?_0x17aa54:this[_0x27232e(0x14f)],this[_0x27232e(0x361)]=(_0x27dfe3=_0x1be9bc['hovered'])!=null?_0x27dfe3:this[_0x27232e(0x361)],this[_0x27232e(0x31a)]=(_0x4112a1=_0x1be9bc[_0x27232e(0x285)])!=null?_0x4112a1:this['_range'],this[_0x27232e(0x372)]=(_0x338c46=_0x1be9bc['name'])!=null?_0x338c46:this[_0x27232e(0x372)],this['_labelPosition']=(_0x97b0fc=_0x1be9bc[_0x27232e(0x2e7)])!=null?_0x97b0fc:this[_0x27232e(0x182)],this['_backgroundColor']=(_0x251153=_0x1be9bc['backgroundColor'])!=null?_0x251153:this[_0x27232e(0x12a)],this[_0x27232e(0x275)]({'width':_0x1be9bc[_0x27232e(0x393)],'height':_0x1be9bc['height']});}[_0x29bde7(0x199)](_0x30a776){const _0x3fa98b=_0x29bde7,{row:_0x1143c6,column:_0xaae917}=_0x30a776;if(_0x1143c6>=this[_0x3fa98b(0x31a)]['startRow']&&_0x1143c6<=this[_0x3fa98b(0x31a)][_0x3fa98b(0x1e6)]&&_0xaae917>=this[_0x3fa98b(0x31a)][_0x3fa98b(0x15d)]&&_0xaae917<=this[_0x3fa98b(0x31a)][_0x3fa98b(0x1a9)]){this[_0x3fa98b(0x1a1)]({'hovered':!0x0});return;}this[_0x3fa98b(0x1a1)]({'hovered':!0x1});}['triggerDblclick'](_0x90ab2){return!0x1;}[_0x29bde7(0x121)](_0x4dc10d){const _0x5e5c3a=_0x29bde7;_0x271b4b[_0x5e5c3a(0x326)]['drawWith'](_0x4dc10d,{'width':this['width'],'height':this[_0x5e5c3a(0x2bc)],'strokeWidth':_0x407b6e,'stroke':this[_0x5e5c3a(0x14f)],'evented':!0x1,'fill':this[_0x5e5c3a(0x12a)]}),this[_0x5e5c3a(0x361)]&&(_0x4dc10d['save'](),_0x4dc10d[_0x5e5c3a(0x229)](0x1,0x0,0x0,0x1,this[_0x5e5c3a(0x393)],this['_labelPosition']===_0x5e5c3a(0x29f)?0x0:-_0x3ad07c),_0xb13f21[_0x5e5c3a(0x399)](_0x4dc10d,{'text':this[_0x5e5c3a(0x372)],'color':this['_color']}),_0x4dc10d[_0x5e5c3a(0x271)]());}}var _0x16a55b=Object[_0x29bde7(0x224)],_0x1c0456=(_0x17dfd5,_0x3b593b,_0x2c916f,_0x4ef92d)=>{for(var _0x17bd27=_0x4ef92d>0x1?void 0x0:_0x4ef92d?_0x16a55b(_0x3b593b,_0x2c916f):_0x3b593b,_0x5508ef=_0x17dfd5['length']-0x1,_0x470be4;_0x5508ef>=0x0;_0x5508ef--)(_0x470be4=_0x17dfd5[_0x5508ef])&&(_0x17bd27=_0x470be4(_0x17bd27)||_0x17bd27);return _0x17bd27;},_0x423606=(_0x59ab5a,_0x15455b)=>(_0x3e2590,_0x24b57e)=>_0x15455b(_0x3e2590,_0x24b57e,_0x59ab5a);const _0x20bda2=0x1389;let _0x27259b=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x265b11,_0x4c59e3,_0x5f28bb,_0x1896b9){const _0x5db528=_0x29bde7;super(),_0x9f87fa(this,'_cursors',new Set()),_0x9f87fa(this,_0x5db528(0x1cd),null),(this['_context']=_0x265b11,this[_0x5db528(0x101)]=_0x4c59e3,this['_collabCursorController']=_0x5f28bb,this['_themeService']=_0x1896b9,this[_0x5db528(0x34b)]());}[_0x29bde7(0x34b)](){const _0x296cb6=_0x29bde7;this[_0x296cb6(0x101)][_0x296cb6(0x103)][_0x296cb6(0x2e5)](_0x360399['takeUntil'](this['dispose$']),_0x360399[_0x296cb6(0x2f8)](_0x394cef=>{const _0x28daea=_0x296cb6;if(_0x394cef){const _0x540861=_0x394cef[_0x28daea(0x25d)];return _0x41fba3[_0x28daea(0x227)](this[_0x28daea(0x27d)][_0x28daea(0x238)](this[_0x28daea(0x1dc)][_0x28daea(0x3a8)]),this['_themeService'][_0x28daea(0x226)])[_0x28daea(0x2e5)](_0x360399[_0x28daea(0x20c)](([_0x391d4a,_0x556693])=>{const _0x3243b1=new Map();return _0x391d4a['forEach']((_0x4f3ce3,_0x23313e)=>{const _0x48fec0=_0x3fad;if(_0x4f3ce3['sheetID']===_0x540861){const _0x3c1275={..._0x4f3ce3};_0x3c1275[_0x48fec0(0x2a6)]=this['_themeService']['getColorFromTheme'](_0x4f3ce3[_0x48fec0(0x2a6)]),_0x3243b1[_0x48fec0(0x2d5)](_0x23313e,_0x3c1275);}}),{'skeleton':_0x394cef,'cursors':_0x3243b1};}));}return _0x41fba3['of']({'skeleton':null,'cursors':new Map()});}))[_0x296cb6(0x359)](({skeleton:_0x26566c,cursors:_0x43db7a})=>{const _0x4e99b0=_0x296cb6;this[_0x4e99b0(0x30b)](),_0x26566c&&this['_updateCollabCursors'](_0x26566c,_0x43db7a);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x5b1065=>{const _0x2ec879=_0x296cb6;if(_0x5b1065==null)return;const {skeleton:_0x461401}=_0x5b1065,{scene:_0x361528}=this[_0x2ec879(0x1dc)];_0x361528[_0x2ec879(0x327)]['subscribeEvent'](_0x3a09c4[_0x2ec879(0x3a6)](_0x2d783e=>{const _0x227887=_0x2ec879;var _0xa9cea9,_0x290d73;const {offsetX:_0x5b6c5a,offsetY:_0x31c953}=_0x2d783e,{x:_0x4fb5f2,y:_0x35f800}=_0x361528[_0x227887(0x337)](_0x271b4b[_0x227887(0x166)]['FromArray']([_0x5b6c5a,_0x31c953])),{scaleX:_0x424bd0,scaleY:_0x490992}=_0x361528[_0x227887(0x108)](),_0x2ee426=_0x361528[_0x227887(0x39a)](_0x271b4b['SHEET_VIEWPORT_KEY'][_0x227887(0x1e8)]),_0x5119cb=_0x361528['getVpScrollXYInfoByPosToVp'](_0x271b4b[_0x227887(0x166)][_0x227887(0x183)]([_0x4fb5f2,_0x35f800]),_0x2ee426),_0x421b25=_0x461401[_0x227887(0x230)](_0x5b6c5a,_0x31c953,_0x424bd0,_0x490992,_0x5119cb);((_0xa9cea9=this[_0x227887(0x1cd)])==null?void 0x0:_0xa9cea9[_0x227887(0x1e2)])===_0x421b25[_0x227887(0x1e2)]&&((_0x290d73=this['_lastPointer'])==null?void 0x0:_0x290d73[_0x227887(0x2ed)])===_0x421b25[_0x227887(0x2ed)]||this[_0x227887(0x2f5)][_0x227887(0x27c)](_0x1e6df1=>{_0x1e6df1['onMouseMove'](_0x421b25);});},0x64));});}[_0x29bde7(0xcf)](_0x52c013,_0x539cec){const _0x29d0e3=_0x29bde7;var _0x4295c4;const _0x5aa635=(_0x4295c4=this[_0x29d0e3(0x101)][_0x29d0e3(0x228)]())==null?void 0x0:_0x4295c4[_0x29d0e3(0x39d)];if(!_0x5aa635)return;const _0x512e8f=this[_0x29d0e3(0x2df)]();if(!_0x512e8f)return;this['_cursors'][_0x29d0e3(0x27c)](_0x1d48ae=>{const _0x3a3e24=_0x29d0e3;_0x1d48ae[_0x3a3e24(0x12b)]();});const {scene:_0x4fe874}=_0x512e8f,_0x1ce790=_0x149313(Array['from'](_0x539cec[_0x29d0e3(0x2a1)]()))[_0x29d0e3(0x20c)](_0x260674=>{const _0x4f126c=_0x29d0e3,{color:_0x3c36f4,range:_0x41cd54,name:_0x116191,selection:_0x26d2e8,sheetID:_0x410c76}=_0x260674,{startColumn:_0x79dc81,startRow:_0x2cc771,endColumn:_0x3bd07a,endRow:_0x633d6a}=_0x41cd54,_0x5da82a=_0x577dad['getCoordByCell'](_0x2cc771,_0x79dc81,_0x4fe874,_0x5aa635),_0x2cefcb=_0x577dad[_0x4f126c(0x335)](_0x633d6a,_0x3bd07a,_0x4fe874,_0x5aa635),{columnHeaderHeightAndMarginTop:_0x1ab6c6}=_0x5aa635,{startX:_0x957c82,startY:_0x4a43b6}=_0x5da82a,{endX:_0x2ee712,endY:_0x4e28a4}=_0x2cefcb,_0x1f7642=_0x2ee712-_0x957c82,_0x23698d=_0x4e28a4-_0x4a43b6,_0x3d770b={'labelPosition':_0x4a43b6-_0x1ab6c6>=_0x3ad07c?_0x4f126c(0xea):_0x4f126c(0x29f),'sheetID':_0x410c76,'range':_0x41cd54,'color':_0x3c36f4,'name':_0x116191,'selection':_0x26d2e8,'left':_0x957c82,'top':_0x4a43b6,'width':_0x1f7642,'height':_0x23698d,'evented':!0x1,'zIndex':_0x20bda2};return new _0x526d2d(_0x116191,_0x3d770b);});_0x4fe874[_0x29d0e3(0x38f)](_0x1ce790,_0x5b7afe),this[_0x29d0e3(0x2f5)]=new Set(_0x1ce790);}[_0x29bde7(0x30b)](){const _0x25825d=_0x29bde7;var _0x47796d;(_0x47796d=this['_cursors'])==null||_0x47796d[_0x25825d(0x27c)](_0x4c3464=>_0x4c3464[_0x25825d(0x19f)]());}['_getSheetObject'](){const _0x3513ab=_0x29bde7;return _0x577dad[_0x3513ab(0x120)](this[_0x3513ab(0x1dc)][_0x3513ab(0x22e)],this['_context']);}};_0x27259b=_0x1c0456([_0x423606(0x1,_0x3a09c4['Inject'](_0x577dad['SheetSkeletonManagerService'])),_0x423606(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x2763d1)),_0x423606(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x13a)]))],_0x27259b);function _0x149313(_0x468862){const _0x47f526=_0x29bde7,_0x2cae6b=new Map();return _0x468862['forEach'](_0x5e0be0=>{const _0x316ab6=_0x3fad;if(_0x2cae6b['has'](_0x5e0be0[_0x316ab6(0x18a)])){const _0x21d45d=_0x2cae6b[_0x316ab6(0x31d)](_0x5e0be0[_0x316ab6(0x18a)]);_0x21d45d[_0x316ab6(0x15b)]+=',\x20'+_0x5e0be0['name'];}else _0x2cae6b[_0x316ab6(0x2d5)](_0x5e0be0['selection'],_0x5e0be0);}),Array[_0x47f526(0xc9)](_0x2cae6b[_0x47f526(0x2a1)]());}var _0x5148f1=Object[_0x29bde7(0x224)],_0xac81cc=(_0x38838a,_0x1dbaa4,_0x17d60a,_0x4e196b)=>{for(var _0x2476e2=_0x4e196b>0x1?void 0x0:_0x4e196b?_0x5148f1(_0x1dbaa4,_0x17d60a):_0x1dbaa4,_0x4d6155=_0x38838a['length']-0x1,_0x1a8819;_0x4d6155>=0x0;_0x4d6155--)(_0x1a8819=_0x38838a[_0x4d6155])&&(_0x2476e2=_0x1a8819(_0x2476e2)||_0x2476e2);return _0x2476e2;},_0x46b179=(_0x2a1f91,_0xc1fae1)=>(_0x4c3511,_0xe4b076)=>_0xc1fae1(_0x4c3511,_0xe4b076,_0x2a1f91);let _0x2ee8d7=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x4decdb,_0x165174,_0x3268f4,_0x53fda2,_0x566582,_0x179dec){const _0x3773ac=_0x29bde7;super(),this[_0x3773ac(0x265)]=_0x4decdb,this[_0x3773ac(0x2c7)]=_0x165174,this[_0x3773ac(0x180)]=_0x3268f4,this[_0x3773ac(0x388)]=_0x53fda2,this[_0x3773ac(0x1d6)]=_0x566582,this[_0x3773ac(0x142)]=_0x179dec,this['_setupBeforeClosingHandler'](),this[_0x3773ac(0x23f)]();}[_0x29bde7(0x133)](){const _0xecd386=_0x29bde7;this['disposeWithMe'](this[_0xecd386(0x265)]['registerBeforeClose'](()=>{const _0x212f30=_0xecd386;if(this[_0x212f30(0x2c7)][_0x212f30(0x36f)][_0x212f30(0xe4)])return this[_0x212f30(0x142)]['t'](_0x212f30(0x1c2));}));}['_initEvent'](){const _0x230e6d=_0x29bde7;this[_0x230e6d(0x28e)](this[_0x230e6d(0x180)][_0x230e6d(0xe3)][_0x230e6d(0x359)](_0x1a3f55=>{const _0x20a5c6=_0x230e6d;_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['OTHER_CLIENT_EDITING']&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0xc3))}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)][_0x20a5c6(0x107)]&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0x30f))}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['PERMISSION_DENIED']&&this[_0x20a5c6(0x1d6)][_0x20a5c6(0x16f)]({'title':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0xe6)),'content':this[_0x20a5c6(0x142)]['t']('permission.content'),'type':_0x20a5c6(0x34f),'duration':0x0}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)][_0x20a5c6(0x37a)]&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Error'],'content':this['_localeService']['t'](_0x20a5c6(0x30f))+'('+_0x1a3f55[_0x20a5c6(0x215)]+')'}),_0x1a3f55['id']===_0x5e7c26['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x1a3f55['data']||'')}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['SOCKET_FAILED_RETRY']&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Warning'],'content':this[_0x20a5c6(0x142)]['t']('session.will-retry')}),_0x1a3f55['id']===_0x5e7c26['CollaborationUIEventId'][_0x20a5c6(0x20e)]&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Error'],'content':this[_0x20a5c6(0x142)]['t']('session.connection-failed')}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x29c)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0x334))});}));}};_0x2ee8d7=_0xac81cc([_0x46b179(0x0,_0x592aaf['IBeforeCloseService']),_0x46b179(0x1,_0x5e7c26[_0x29bde7(0x355)]),_0x46b179(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x18d)])),_0x46b179(0x3,_0x592aaf[_0x29bde7(0x236)]),_0x46b179(0x4,_0x592aaf['INotificationService']),_0x46b179(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x36c)]))],_0x2ee8d7);var _0x19fc27=Object['getOwnPropertyDescriptor'],_0x21ee04=(_0x4df1a1,_0x31b6a8,_0x464c23,_0x3d4d72)=>{for(var _0x4117c7=_0x3d4d72>0x1?void 0x0:_0x3d4d72?_0x19fc27(_0x31b6a8,_0x464c23):_0x31b6a8,_0x189eca=_0x4df1a1['length']-0x1,_0x323889;_0x189eca>=0x0;_0x189eca--)(_0x323889=_0x4df1a1[_0x189eca])&&(_0x4117c7=_0x323889(_0x4117c7)||_0x4117c7);return _0x4117c7;},_0x3f2815=(_0x10580b,_0x588e8c)=>(_0x3f81ea,_0x15eedc)=>_0x588e8c(_0x3f81ea,_0x15eedc,_0x10580b);let _0x32a527=class extends _0x3a09c4['Disposable']{constructor(_0x46a485,_0x3416b6,_0x336e1d,_0x121a3b){const _0x4ccb85=_0x29bde7;super(),_0x9f87fa(this,'_memberID'),(this['_injector']=_0x46a485,this['_httpService']=_0x3416b6,this[_0x4ccb85(0x28c)]=_0x336e1d,this[_0x4ccb85(0x222)]=_0x121a3b,this[_0x4ccb85(0x34b)]());}[_0x29bde7(0x34b)](){const _0x34cdb1=_0x29bde7;this[_0x34cdb1(0x391)](),this[_0x34cdb1(0xf2)](),this['_monkeyPatchLogService'](),this[_0x34cdb1(0x390)]();}[_0x29bde7(0x390)](){const _0x40be7c=_0x29bde7;this[_0x40be7c(0x28e)](this['_collaborationSessionService'][_0x40be7c(0x392)][_0x40be7c(0x359)](_0x29cf5b=>{const _0x300d7f=_0x40be7c;this['_memberID']=_0x29cf5b==null?void 0x0:_0x29cf5b[_0x300d7f(0x105)];}));}['_initWindowErrorListener'](){const _0x269f6d=_0x29bde7,_0x2dfd29=_0x52308f=>{const _0xc12670=_0x3fad;var _0x4b30c7;this['_uploadLog'](_0xc12670(0x34f),_0xc12670(0x24f)+_0x52308f[_0xc12670(0x127)]+_0xc12670(0x2d3)+_0x52308f[_0xc12670(0x16e)]+':'+_0x52308f[_0xc12670(0x1dd)]+':'+_0x52308f[_0xc12670(0x123)]+'\x0a'+(((_0x4b30c7=_0x52308f[_0xc12670(0x34f)])==null?void 0x0:_0x4b30c7[_0xc12670(0x27f)])||''));};window[_0x269f6d(0x23e)]('error',_0x2dfd29),this['disposeWithMe'](()=>{const _0x5a6530=_0x269f6d;window[_0x5a6530(0x21c)]('error',_0x2dfd29);});}[_0x29bde7(0xf2)](){const _0x421304=_0x29bde7,_0x5037d3=_0x4de7a7=>{const _0x248ede=_0x3fad;this[_0x248ede(0x27b)](_0x248ede(0x34f),'[Unhandled\x20Rejection]:\x20'+_0x4de7a7[_0x248ede(0x16b)]);};window[_0x421304(0x23e)](_0x421304(0x118),_0x5037d3),this[_0x421304(0x28e)](()=>{const _0x5d3cd5=_0x421304;window[_0x5d3cd5(0x21c)](_0x5d3cd5(0x118),_0x5037d3);});}[_0x29bde7(0x291)](){const _0x452b58=_0x29bde7,_0x306448=this[_0x452b58(0x28c)]['error']['bind'](this[_0x452b58(0x28c)]);this['_logService']['error']=(..._0x5659a6)=>{const _0x558c69=_0x452b58,_0x2e2201=_0x5659a6[_0x558c69(0x20c)](_0x4d67d1=>_0x4d67d1 instanceof Error?_0x4d67d1[_0x558c69(0x127)]+'\x0a'+_0x4d67d1['stack']:String(_0x4d67d1))['join']('\x20');this[_0x558c69(0x27b)](_0x558c69(0x34f),_0x558c69(0x33d)+_0x2e2201),_0x306448(..._0x5659a6);},this[_0x452b58(0x28e)](()=>{this['_logService']['error']=_0x306448;});}['_uploadLog'](_0x2ba37b,_0x3ea335){const _0x15b994=_0x29bde7;try{const _0x3a9d68={'userId':this['_memberID'],'logLabel':_0x2ba37b,'content':_0x3ea335};this['_httpService'][_0x15b994(0x279)](_0x15b994(0x11a),{'body':_0x3a9d68})[_0x15b994(0x2a5)](()=>{});}catch{}}};_0x32a527=_0x21ee04([_0x3f2815(0x0,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x3f2815(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86[_0x29bde7(0x258)])),_0x3f2815(0x2,_0x3a09c4[_0x29bde7(0x1da)]),_0x3f2815(0x3,_0x3a09c4['Inject'](_0x5e7c26['CollaborationSessionService']))],_0x32a527);const _0x2d74b1=_0x29bde7(0x2e1),_0x2c5eff={};var _0x3cba64=Object[_0x29bde7(0x224)],_0x51b25a=(_0x4a6cd2,_0x490862,_0x3c0353,_0x496da8)=>{const _0x484a22=_0x29bde7;for(var _0x9aee0e=_0x496da8>0x1?void 0x0:_0x496da8?_0x3cba64(_0x490862,_0x3c0353):_0x490862,_0xa5ba32=_0x4a6cd2[_0x484a22(0x257)]-0x1,_0x590c3c;_0xa5ba32>=0x0;_0xa5ba32--)(_0x590c3c=_0x4a6cd2[_0xa5ba32])&&(_0x9aee0e=_0x590c3c(_0x9aee0e)||_0x9aee0e);return _0x9aee0e;},_0x18d7b0=(_0x4d44a1,_0x446d6f)=>(_0x5eb091,_0x440b52)=>_0x446d6f(_0x5eb091,_0x440b52,_0x4d44a1);let _0x5e0130=class{constructor(_0x46ac11,_0x49180f){const _0x147723=_0x29bde7;this[_0x147723(0x289)]=_0x46ac11,this[_0x147723(0x146)]=_0x49180f;}[_0x29bde7(0x346)](_0x31be42){const _0x1fd5f4=_0x29bde7;this[_0x1fd5f4(0x25c)](_0x31be42),this[_0x1fd5f4(0x2b9)](_0x31be42);}[_0x29bde7(0x145)](_0x363631){const _0x29cf6e=_0x29bde7,{unitID:_0x527aae}=_0x363631,_0x355805=this[_0x29cf6e(0x146)][_0x29cf6e(0x11f)](_0x527aae)[_0x29cf6e(0x240)](_0x9d9b14[_0x29cf6e(0x129)]),{redoCache:_0x4a4ca1}=_0x355805[_0x29cf6e(0x344)]();if(_0x4a4ca1['length']===0x0)return _0x363631;let _0x539830=_0x3a09c4[_0x29cf6e(0x379)]['deepClone'](_0x363631[_0x29cf6e(0xd6)][0x0]);for(let _0xf484e=0x0;_0xf484e<_0x4a4ca1[_0x29cf6e(0x257)];_0xf484e++){const _0x393f9d={'id':_0x29cf6e(0x2cb),'params':{..._0x4a4ca1[_0xf484e]}},_0x116539=this[_0x29cf6e(0x289)][_0x29cf6e(0x1f8)](_0x539830,_0x393f9d,!0x1);if(_0x5e9418[_0x29cf6e(0x273)](_0x116539))throw _0x116539['error'];_0x539830=_0x116539[_0x29cf6e(0x39c)];}return{..._0x3a09c4[_0x29cf6e(0x379)][_0x29cf6e(0x329)](_0x363631),'mutations':[_0x539830]};}[_0x29bde7(0x25c)](_0x1ad039){const _0x3fb531=_0x29bde7,{unitID:_0x8bc2f8}=_0x1ad039,_0x3a4260=this[_0x3fb531(0x146)][_0x3fb531(0x11f)](_0x8bc2f8)['with'](_0x9d9b14['DocIMEInputManagerService']),{undoCache:_0x4b405c,redoCache:_0x4e4199}=_0x3a4260[_0x3fb531(0x344)]();if(_0x4b405c['length']===0x0||_0x4e4199[_0x3fb531(0x257)]===0x0)return;const _0xc9069f=[],_0x34bc50=[];let _0x102345=_0x3a09c4[_0x3fb531(0x379)][_0x3fb531(0x329)](_0x1ad039['mutations'][0x0]),_0x16e30d=_0x3a09c4[_0x3fb531(0x379)][_0x3fb531(0x329)](_0x1ad039[_0x3fb531(0xd6)][0x0]);for(let _0x56d1cb=_0x4b405c[_0x3fb531(0x257)]-0x1;_0x56d1cb>=0x0;_0x56d1cb--){const _0x45d03e={'id':_0x3fb531(0x2cb),'params':{..._0x4b405c[_0x56d1cb]}},_0x4b4bf9={'id':_0x3fb531(0x2cb),'params':{..._0x4e4199[_0x56d1cb]}},_0x304759=this[_0x3fb531(0x289)][_0x3fb531(0x1f8)](_0x102345,_0x45d03e,!0x1),_0x2ab12b=this[_0x3fb531(0x289)][_0x3fb531(0x1f8)](_0x16e30d,_0x4b4bf9,!0x1);if(_0x5e9418[_0x3fb531(0x273)](_0x304759))throw _0x304759[_0x3fb531(0x34f)];if(_0x5e9418[_0x3fb531(0x273)](_0x2ab12b))throw _0x2ab12b['error'];_0xc9069f[_0x3fb531(0x178)](_0x304759[_0x3fb531(0x2e4)]['params']),_0x34bc50[_0x3fb531(0x178)](_0x2ab12b['m2Prime'][_0x3fb531(0x32e)]),_0x102345=_0x304759[_0x3fb531(0x39c)],_0x16e30d=_0x2ab12b[_0x3fb531(0x39c)];}_0x3a4260[_0x3fb531(0x260)]({'undoCache':_0xc9069f,'redoCache':_0x34bc50});}[_0x29bde7(0x2b9)](_0x361b1a){const _0x4e253a=_0x29bde7,{unitID:_0x3fa9eb}=_0x361b1a,_0x4ad21b=this[_0x4e253a(0x146)]['getRenderById'](_0x3fa9eb)[_0x4e253a(0x240)](_0x9d9b14['DocIMEInputManagerService']),_0x57afc8=_0x4ad21b['getActiveRange']();if(_0x57afc8==null)return;const _0x19201b=[{'id':_0x4e253a(0x2cb),'params':{'unitId':_0x361b1a[_0x4e253a(0xee)],'actions':null,'textRanges':[_0x57afc8]}}],_0x596121=this['_transformService'][_0x4e253a(0xf8)](_0x361b1a,_0x19201b);if(!_0x5e9418['isTransformMutationsWithChangesetSuccess'](_0x596121))throw _0x596121[_0x4e253a(0x34f)];const _0x51de96=_0x596121[_0x4e253a(0x2e4)][0x0][_0x4e253a(0x32e)][_0x4e253a(0x1e4)];Array[_0x4e253a(0x106)](_0x51de96)&&_0x51de96[_0x4e253a(0x257)]&&_0x4ad21b['setActiveRange'](_0x51de96[0x0]);}};_0x5e0130=_0x51b25a([_0x18d7b0(0x0,_0x5e9418['ITransformService']),_0x18d7b0(0x1,_0x271b4b[_0x29bde7(0xde)])],_0x5e0130);var _0x30175c=Object[_0x29bde7(0x224)],_0xe6434d=(_0x471187,_0x2c77be,_0x5f1d88,_0x5642e3)=>{const _0x4ca838=_0x29bde7;for(var _0x20d0c4=_0x5642e3>0x1?void 0x0:_0x5642e3?_0x30175c(_0x2c77be,_0x5f1d88):_0x2c77be,_0x2c1fa4=_0x471187[_0x4ca838(0x257)]-0x1,_0x446dc4;_0x2c1fa4>=0x0;_0x2c1fa4--)(_0x446dc4=_0x471187[_0x2c1fa4])&&(_0x20d0c4=_0x446dc4(_0x20d0c4)||_0x20d0c4);return _0x20d0c4;},_0x21662e=(_0x445231,_0x404cc8)=>(_0x19d142,_0x2841f1)=>_0x404cc8(_0x19d142,_0x2841f1,_0x445231);let _0xc132fe=class{constructor(_0x4d1833,_0xb8780,_0x1a7f94){const _0x3fd455=_0x29bde7;this[_0x3fd455(0x247)]=_0x4d1833,this[_0x3fd455(0x289)]=_0xb8780,this['_docStateChangeManagerService']=_0x1a7f94;}[_0x29bde7(0x266)](_0x951add){this['_transformHistoryAndStateStack'](_0x951add);}[_0x29bde7(0x145)](_0x1fe947){const _0x1463be=_0x29bde7,{unitID:_0x452286}=_0x1fe947,{collaboration:_0x1e5729}=this['_docStateChangeManagerService'][_0x1463be(0x2f7)](_0x452286);if(_0x1e5729[_0x1463be(0x257)]===0x0)return _0x1fe947;let _0x4d3727=_0x3a09c4[_0x1463be(0x379)]['deepClone'](_0x1fe947[_0x1463be(0xd6)][0x0]);for(let _0x15588b=0x0;_0x15588b<_0x1e5729[_0x1463be(0x257)];_0x15588b++){const _0x53120f={'id':_0x1463be(0x2cb),'params':{'unitId':_0x1e5729[_0x15588b][_0x1463be(0x3a8)],..._0x1e5729[_0x15588b]['redoState']}},_0x1a9230=this[_0x1463be(0x289)][_0x1463be(0x1f8)](_0x4d3727,_0x53120f,!0x1);if(_0x5e9418[_0x1463be(0x273)](_0x1a9230))throw _0x1a9230[_0x1463be(0x34f)];_0x4d3727=_0x1a9230['m1Prime'];}return{..._0x3a09c4[_0x1463be(0x379)][_0x1463be(0x329)](_0x1fe947),'mutations':[_0x4d3727]};}[_0x29bde7(0x36d)](_0x36608a){const _0xdb503b=_0x29bde7,{unitID:_0x1bbe6f}=_0x36608a,{history:_0x181d1e,collaboration:_0x1fe449}=this[_0xdb503b(0x1c3)]['getStateCache'](_0x1bbe6f);if(_0x181d1e[_0xdb503b(0x257)]===0x0&&_0x1fe449[_0xdb503b(0x257)]===0x0)return;const _0x5df06a=[],_0x48bec6=[];let _0x2a1738=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]),_0x46eacb=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]);for(let _0x1a6a85=_0x181d1e[_0xdb503b(0x257)]-0x1;_0x1a6a85>=0x0;_0x1a6a85--){const _0x312f8e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x181d1e[_0x1a6a85][_0xdb503b(0x3a8)],..._0x181d1e[_0x1a6a85][_0xdb503b(0xcd)]}},_0x1a4215={'id':_0xdb503b(0x2cb),'params':{'unitId':_0x181d1e[_0x1a6a85]['unitId'],..._0x181d1e[_0x1a6a85][_0xdb503b(0x2a7)]}},_0x212c06=this['_transformService']['transformMutation'](_0x2a1738,_0x312f8e,!0x1),_0x121780=this['_transformService'][_0xdb503b(0x1f8)](_0x46eacb,_0x1a4215,!0x1);if(_0x5e9418['isTransformMutationFailure'](_0x212c06))throw _0x212c06[_0xdb503b(0x34f)];if(_0x5e9418[_0xdb503b(0x273)](_0x121780))throw _0x121780[_0xdb503b(0x34f)];_0x5df06a['unshift']({..._0x181d1e[_0x1a6a85],'undoState':_0x212c06[_0xdb503b(0x2e4)][_0xdb503b(0x32e)],'redoState':_0x121780['m2Prime'][_0xdb503b(0x32e)]}),_0x2a1738=_0x212c06[_0xdb503b(0x39c)],_0x46eacb=_0x121780[_0xdb503b(0x39c)];}_0x2a1738=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]),_0x46eacb=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a['mutations'][0x0]);for(let _0x3eecd4=_0x1fe449[_0xdb503b(0x257)]-0x1;_0x3eecd4>=0x0;_0x3eecd4--){const _0x1abe45={'id':_0xdb503b(0x2cb),'params':{'unitId':_0x1fe449[_0x3eecd4][_0xdb503b(0x3a8)],..._0x1fe449[_0x3eecd4][_0xdb503b(0xcd)]}},_0x5fecfe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fe449[_0x3eecd4][_0xdb503b(0x3a8)],..._0x1fe449[_0x3eecd4][_0xdb503b(0x2a7)]}},_0x473a58=this[_0xdb503b(0x289)][_0xdb503b(0x1f8)](_0x2a1738,_0x1abe45,!0x1),_0xf5921a=this[_0xdb503b(0x289)][_0xdb503b(0x1f8)](_0x46eacb,_0x5fecfe,!0x1);if(_0x5e9418[_0xdb503b(0x273)](_0x473a58))throw _0x473a58[_0xdb503b(0x34f)];if(_0x5e9418[_0xdb503b(0x273)](_0xf5921a))throw _0xf5921a[_0xdb503b(0x34f)];_0x48bec6[_0xdb503b(0x178)]({..._0x1fe449[_0x3eecd4],'undoState':_0x473a58[_0xdb503b(0x2e4)][_0xdb503b(0x32e)],'redoState':_0xf5921a[_0xdb503b(0x2e4)]['params']}),_0x2a1738=_0x473a58['m1Prime'],_0x46eacb=_0xf5921a[_0xdb503b(0x39c)];}this[_0xdb503b(0x1c3)][_0xdb503b(0x112)](_0x1bbe6f,{'history':_0x5df06a,'collaboration':_0x48bec6});}};_0xc132fe=_0xe6434d([_0x21662e(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x21662e(0x1,_0x5e9418[_0x29bde7(0x237)]),_0x21662e(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x9d9b14['DocStateChangeManagerService']))],_0xc132fe);var _0x4e3357=Object['getOwnPropertyDescriptor'],_0x488474=(_0xdaf1e1,_0x1c8191,_0x4f8528,_0x440258)=>{const _0xea4b78=_0x29bde7;for(var _0x5aeca5=_0x440258>0x1?void 0x0:_0x440258?_0x4e3357(_0x1c8191,_0x4f8528):_0x1c8191,_0x1a17d1=_0xdaf1e1[_0xea4b78(0x257)]-0x1,_0x546ccf;_0x1a17d1>=0x0;_0x1a17d1--)(_0x546ccf=_0xdaf1e1[_0x1a17d1])&&(_0x5aeca5=_0x546ccf(_0x5aeca5)||_0x5aeca5);return _0x5aeca5;},_0x375f2d=(_0x34f72a,_0x1c8754)=>(_0x43b805,_0x27c4ee)=>_0x1c8754(_0x43b805,_0x27c4ee,_0x34f72a);let _0x3628e2=class{constructor(_0x206071,_0x80ed11){const _0x202272=_0x29bde7;this[_0x202272(0x247)]=_0x206071,this[_0x202272(0x289)]=_0x80ed11;}['transformSelections'](_0x4f2465){const _0x92e285=_0x29bde7;var _0x2daa7c;const _0xce762d=this[_0x92e285(0x247)]['get'](_0x4995f4[_0x92e285(0x1fa)]),_0x530f86=(_0x2daa7c=_0xce762d['getDocRanges']())!=null?_0x2daa7c:[];if(_0x530f86[_0x92e285(0x257)]===0x0)return;const _0x20c844=_0x4f2465['unitID'],_0x340d69=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x20c844,'actions':null,'textRanges':_0x530f86}}],_0x5c9d93=this['_transformService'][_0x92e285(0xf8)](_0x4f2465,_0x340d69);if(!_0x5e9418[_0x92e285(0x328)](_0x5c9d93))throw _0x5c9d93['error'];const _0x3e528e=_0x5c9d93[_0x92e285(0x2e4)][0x0]['params'][_0x92e285(0x1e4)];Array['isArray'](_0x3e528e)&&_0x3e528e['length']&&_0xce762d[_0x92e285(0x12f)](_0x3e528e,{'unitId':_0x20c844,'subUnitId':_0x20c844},!0x1);}};_0x3628e2=_0x488474([_0x375f2d(0x0,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x375f2d(0x1,_0x5e9418[_0x29bde7(0x237)])],_0x3628e2);var _0x405e8b=Object[_0x29bde7(0x224)],_0x77179d=(_0xf3d97,_0x22e5c6,_0x5bb703,_0x38cc92)=>{const _0x1bf41f=_0x29bde7;for(var _0x208496=_0x38cc92>0x1?void 0x0:_0x38cc92?_0x405e8b(_0x22e5c6,_0x5bb703):_0x22e5c6,_0x47f74f=_0xf3d97[_0x1bf41f(0x257)]-0x1,_0x1d59f6;_0x47f74f>=0x0;_0x47f74f--)(_0x1d59f6=_0xf3d97[_0x47f74f])&&(_0x208496=_0x1d59f6(_0x208496)||_0x208496);return _0x208496;},_0x4f961f=(_0x3c3af0,_0x1eec20)=>(_0x15cd8e,_0x3c6593)=>_0x1eec20(_0x15cd8e,_0x3c6593,_0x3c3af0);let _0x30a1d6=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x5928fd,_0x45ed03,_0x4fcb60,_0x90e601,_0xf1aa05,_0x1ac937,_0x53f9db,_0x104782){const _0x5470a5=_0x29bde7;super(),_0x9f87fa(this,_0x5470a5(0x2d7),new _0x41fba3[(_0x5470a5(0x31e))](_0x5e7c26[_0x5470a5(0x10f)][_0x5470a5(0x305)])),(this[_0x5470a5(0x1c3)]=_0x5928fd,this[_0x5470a5(0x364)]=_0x45ed03,this[_0x5470a5(0x371)]=_0x4fcb60,this['_docTransformStateCacheService']=_0x90e601,this['_docTransformSelectionsService']=_0xf1aa05,this[_0x5470a5(0x333)]=_0x1ac937,this[_0x5470a5(0x388)]=_0x53f9db,this[_0x5470a5(0x142)]=_0x104782,this[_0x5470a5(0x164)]());}[_0x29bde7(0x164)](){const _0x57b943=_0x29bde7;this[_0x57b943(0x28e)](this['_collaborationController'][_0x57b943(0x29e)][_0x57b943(0x359)](_0x259004=>{const _0x6a0de=_0x57b943,_0x324414=this['_docStateChangeManagerService']['docStateChange$'][_0x6a0de(0x359)](_0x976e3c=>{const _0x28eb6b=_0x6a0de;if(_0x976e3c==null)return;const {unitId:_0xb11880,redoState:_0x36001e,commandId:_0x37232c}=_0x976e3c;if(_0xb11880!==_0x259004[_0x28eb6b(0xee)])return;const _0x4af2ba={'id':_0x37232c,'type':_0x3a09c4['CommandType'][_0x28eb6b(0x171)],'params':{'unitId':_0xb11880,'actions':_0x36001e[_0x28eb6b(0x1f2)],'textRanges':null}};_0x259004[_0x28eb6b(0x205)](_0x4af2ba);});if(_0x259004[_0x6a0de(0x28e)](_0x324414),_0x259004 instanceof _0x5e7c26[_0x6a0de(0xdd)]){const _0xc989bf={'onTransformIME':_0x3f3e83=>this[_0x6a0de(0x371)]['transformIMECache'](_0x3f3e83),'onTransformState':_0x441681=>this[_0x6a0de(0x26b)][_0x6a0de(0x266)](_0x441681),'onTransformSelections':_0x4aca1c=>this[_0x6a0de(0x1d3)][_0x6a0de(0x3a4)](_0x4aca1c),'onSyncEditingCollabCursor':_0x447912=>this[_0x6a0de(0x333)][_0x6a0de(0x17b)](_0x447912),'onTransformRemoteChangesetByIMECache':_0x22098b=>this['_docTransformIMECacheService'][_0x6a0de(0x145)](_0x22098b),'onTransformRemoteChangesetByStateCache':_0x44e168=>this['_docTransformStateCacheService'][_0x6a0de(0x145)](_0x44e168)};_0x259004['addHandlerCallback'](_0xc989bf);}}));}};_0x30a1d6=_0x77179d([_0x4f961f(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x9d9b14[_0x29bde7(0x2dd)])),_0x4f961f(0x1,_0x3a09c4['Inject'](_0x5e7c26[_0x29bde7(0x1aa)])),_0x4f961f(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e0130)),_0x4f961f(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0xc132fe)),_0x4f961f(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x3628e2)),_0x4f961f(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3d295c)),_0x4f961f(0x6,_0x592aaf[_0x29bde7(0x236)]),_0x4f961f(0x7,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4['LocaleService']))],_0x30a1d6);var _0x2b04bc=(_0x2abc76=>(_0x2abc76[_0x2abc76[_0x29bde7(0x37c)]=0x0]=_0x29bde7(0x37c),_0x2abc76[_0x2abc76['OK']=0x1]='OK',_0x2abc76[_0x2abc76[_0x29bde7(0x22d)]=0x2]='INTERNAL_ERROR',_0x2abc76[_0x2abc76[_0x29bde7(0x1fd)]=0x3]='PERMISSION_DENIED',_0x2abc76[_0x2abc76[_0x29bde7(0x1ff)]=0x4]=_0x29bde7(0x1ff),_0x2abc76[_0x2abc76[_0x29bde7(0x225)]=0x5]=_0x29bde7(0x225),_0x2abc76[_0x2abc76[_0x29bde7(0x34e)]=0x6]=_0x29bde7(0x34e),_0x2abc76[_0x2abc76[_0x29bde7(0x17d)]=0x7]=_0x29bde7(0x17d),_0x2abc76[_0x2abc76[_0x29bde7(0x12e)]=0x8]='TOO_MANY_REQUESTS',_0x2abc76[_0x2abc76['COMPLETION_FINISHED']=0x9]=_0x29bde7(0x136),_0x2abc76[_0x2abc76[_0x29bde7(0x23d)]=0xa]=_0x29bde7(0x23d),_0x2abc76[_0x2abc76[_0x29bde7(0x102)]=0xb]=_0x29bde7(0x102),_0x2abc76[_0x2abc76['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x29bde7(0x365),_0x2abc76[_0x2abc76[_0x29bde7(0x2fc)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2abc76[_0x2abc76[_0x29bde7(0x38e)]=0xe]=_0x29bde7(0x38e),_0x2abc76[_0x2abc76[_0x29bde7(0x10d)]=0xf]=_0x29bde7(0x10d),_0x2abc76[_0x2abc76[_0x29bde7(0x1b1)]=0x10]=_0x29bde7(0x1b1),_0x2abc76[_0x2abc76[_0x29bde7(0x302)]=0x64]=_0x29bde7(0x302),_0x2abc76[_0x2abc76['ERROR_AGAIN']=0x65]=_0x29bde7(0x21a),_0x2abc76[_0x2abc76[_0x29bde7(0x262)]=0xc9]=_0x29bde7(0x262),_0x2abc76[_0x2abc76[_0x29bde7(0x1e7)]=0xca]=_0x29bde7(0x1e7),_0x2abc76[_0x2abc76[_0x29bde7(0x13e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2abc76[_0x2abc76[_0x29bde7(0x354)]=0x1771]=_0x29bde7(0x354),_0x2abc76[_0x2abc76[_0x29bde7(0x2e2)]=0x1772]=_0x29bde7(0x2e2),_0x2abc76[_0x2abc76[_0x29bde7(0x297)]=0x1773]=_0x29bde7(0x297),_0x2abc76[_0x2abc76['APPLY_REJECT']=0x1b59]=_0x29bde7(0x18c),_0x2abc76[_0x2abc76[_0x29bde7(0xf5)]=0x1b5a]=_0x29bde7(0xf5),_0x2abc76[_0x2abc76['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x29bde7(0xfd),_0x2abc76[_0x2abc76[_0x29bde7(0x375)]=0x1b5c]=_0x29bde7(0x375),_0x2abc76[_0x2abc76[_0x29bde7(0x2bb)]=0x1b5d]=_0x29bde7(0x2bb),_0x2abc76[_0x2abc76[_0x29bde7(0x300)]=0x1f41]=_0x29bde7(0x300),_0x2abc76[_0x2abc76[_0x29bde7(0x10a)]=0x2329]=_0x29bde7(0x10a),_0x2abc76[_0x2abc76[_0x29bde7(0x115)]=0x232a]=_0x29bde7(0x115),_0x2abc76[_0x2abc76[_0x29bde7(0x331)]=0x232b]=_0x29bde7(0x331),_0x2abc76[_0x2abc76[_0x29bde7(0x2d2)]=0x232c]=_0x29bde7(0x2d2),_0x2abc76[_0x2abc76[_0x29bde7(0x2eb)]=0x232d]=_0x29bde7(0x2eb),_0x2abc76[_0x2abc76[_0x29bde7(0x188)]=0x2711]=_0x29bde7(0x188),_0x2abc76[_0x2abc76['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x29bde7(0x244),_0x2abc76[_0x2abc76[_0x29bde7(0x22b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2abc76[_0x2abc76['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x29bde7(0x2d0),_0x2abc76[_0x2abc76[_0x29bde7(0x1f9)]=0x271a]=_0x29bde7(0x1f9),_0x2abc76[_0x2abc76[_0x29bde7(0x282)]=0x271b]=_0x29bde7(0x282),_0x2abc76[_0x2abc76[_0x29bde7(0x290)]=0x271c]=_0x29bde7(0x290),_0x2abc76[_0x2abc76[_0x29bde7(0x280)]=0x271d]=_0x29bde7(0x280),_0x2abc76[_0x2abc76[_0x29bde7(0x2c2)]=0x271e]=_0x29bde7(0x2c2),_0x2abc76[_0x2abc76[_0x29bde7(0xe9)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2abc76[_0x2abc76[_0x29bde7(0x2e6)]=0x2720]=_0x29bde7(0x2e6),_0x2abc76[_0x2abc76[_0x29bde7(0x350)]=0x2af9]=_0x29bde7(0x350),_0x2abc76[_0x2abc76['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x29bde7(0x25a),_0x2abc76[_0x2abc76[_0x29bde7(0x169)]=0x2ee2]=_0x29bde7(0x169),_0x2abc76[_0x2abc76[_0x29bde7(0x2a9)]=0x2ee3]=_0x29bde7(0x2a9),_0x2abc76[_0x2abc76['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x2abc76[_0x2abc76['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x29bde7(0x202),_0x2abc76[_0x2abc76[_0x29bde7(0x176)]=0x32c9]=_0x29bde7(0x176),_0x2abc76[_0x2abc76[_0x29bde7(0x204)]=0x32ca]=_0x29bde7(0x204),_0x2abc76[_0x2abc76[_0x29bde7(0x134)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2abc76[_0x2abc76[_0x29bde7(0x144)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2abc76[_0x2abc76[_0x29bde7(0x263)]=0x36b2]=_0x29bde7(0x263),_0x2abc76[_0x2abc76[_0x29bde7(0x26c)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x2abc76[_0x2abc76[_0x29bde7(0x150)]=0x36b4]=_0x29bde7(0x150),_0x2abc76[_0x2abc76[_0x29bde7(0x2a4)]=0x36b5]=_0x29bde7(0x2a4),_0x2abc76[_0x2abc76[_0x29bde7(0x1ba)]=0x36b6]=_0x29bde7(0x1ba),_0x2abc76[_0x2abc76[_0x29bde7(0x162)]=0x36b7]=_0x29bde7(0x162),_0x2abc76[_0x2abc76[_0x29bde7(0x1bd)]=0x36b8]=_0x29bde7(0x1bd),_0x2abc76[_0x2abc76[_0x29bde7(0x19a)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2abc76[_0x2abc76[_0x29bde7(0x179)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2abc76[_0x2abc76[_0x29bde7(0x1fb)]=0x3717]=_0x29bde7(0x1fb),_0x2abc76[_0x2abc76[_0x29bde7(0x13d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2abc76[_0x2abc76[_0x29bde7(0x11d)]=0x3a99]=_0x29bde7(0x11d),_0x2abc76[_0x2abc76['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x2abc76[_0x2abc76[_0x29bde7(0xef)]=0x3a9b]=_0x29bde7(0xef),_0x2abc76[_0x2abc76[_0x29bde7(0x14a)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2abc76[_0x2abc76[_0x29bde7(0x1fe)]=0x3a9d]=_0x29bde7(0x1fe),_0x2abc76[_0x2abc76[_0x29bde7(0x1f6)]=0x3a9e]=_0x29bde7(0x1f6),_0x2abc76[_0x2abc76[_0x29bde7(0x147)]=0x3a9f]=_0x29bde7(0x147),_0x2abc76[_0x2abc76[_0x29bde7(0x2cc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x2abc76[_0x2abc76[_0x29bde7(0x35d)]=-0x1]=_0x29bde7(0x35d),_0x2abc76))(_0x2b04bc||{});function _0x541d21(_0x1033dd){const _0xcc7aca=_0x29bde7;var _0x20c779,_0x3a0d01;const _0xa49bd=(_0x20c779=_0x1033dd[_0xcc7aca(0x1cb)])==null?void 0x0:_0x20c779[_0xcc7aca(0x135)],_0x473bff=((_0x3a0d01=_0x1033dd['stageInfo'])==null?void 0x0:_0x3a0d01[_0xcc7aca(0x27e)])||0x0;return _0xa49bd===_0x3202a1[_0xcc7aca(0xd3)][_0xcc7aca(0x1ed)]&&_0x473bff>0x0;}function _0x3dbd8b(_0x127b5c){const _0x377898=_0x29bde7;return _0x127b5c[_0x377898(0x22a)]===_0x3202a1[_0x377898(0x159)]['SUCCESS'];}var _0x46379b=Object['getOwnPropertyDescriptor'],_0x1dfd3c=(_0x327ece,_0x5405c2,_0x59ecf8,_0x49de0d)=>{const _0x1f8d10=_0x29bde7;for(var _0x267fd0=_0x49de0d>0x1?void 0x0:_0x49de0d?_0x46379b(_0x5405c2,_0x59ecf8):_0x5405c2,_0x142276=_0x327ece[_0x1f8d10(0x257)]-0x1,_0x2e66bf;_0x142276>=0x0;_0x142276--)(_0x2e66bf=_0x327ece[_0x142276])&&(_0x267fd0=_0x2e66bf(_0x267fd0)||_0x267fd0);return _0x267fd0;},_0x55e2d6=(_0x49744f,_0x4a733a)=>(_0x1d7186,_0x3ab44b)=>_0x4a733a(_0x1d7186,_0x3ab44b,_0x49744f);const _0x417e1d=_0x29bde7(0xc2),_0x4e7f71=_0x29bde7(0x2af),_0x47b146=_0x29bde7(0x2e0);let _0x353926=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x32adfd,_0x47335e,_0x3c097a,_0x8a3673,_0x520ca4,_0x188019,_0x1d8d74){const _0x5a2d7c=_0x29bde7;super(),_0x9f87fa(this,_0x5a2d7c(0x377),null),_0x9f87fa(this,'_maxFormulaLimit',0x0),_0x9f87fa(this,_0x5a2d7c(0x321),0x0),_0x9f87fa(this,_0x5a2d7c(0x298),[]),_0x9f87fa(this,_0x5a2d7c(0x309),0x0),(this[_0x5a2d7c(0x388)]=_0x32adfd,this[_0x5a2d7c(0x114)]=_0x47335e,this[_0x5a2d7c(0x219)]=_0x3c097a,this[_0x5a2d7c(0x37f)]=_0x8a3673,this[_0x5a2d7c(0x1ab)]=_0x520ca4,this[_0x5a2d7c(0x28c)]=_0x188019,this['_localeService']=_0x1d8d74,this[_0x5a2d7c(0x1c0)]());}[_0x29bde7(0x1c0)](){const _0x7fcf32=_0x29bde7;this[_0x7fcf32(0x28e)](this[_0x7fcf32(0x114)][_0x7fcf32(0x303)]((_0x5ea7de,_0x15236e)=>{const _0x3bee13=_0x7fcf32;var _0x36e788;if(_0x5ea7de['id']!==_0x3202a1[_0x3bee13(0x2e3)]['id'])return;const _0x43cc5e=_0x5ea7de[_0x3bee13(0x32e)];if(!this[_0x3bee13(0x385)]((_0x36e788=_0x43cc5e[_0x3bee13(0x378)])!=null?_0x36e788:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x3bee13(0xfe)](_0x5ea7de,_0x15236e),this[_0x3bee13(0x217)](),new _0x3a09c4[(_0x3bee13(0x2b0))]();})),this[_0x7fcf32(0x28e)](this['_commandService']['onCommandExecuted']((_0x57d299,_0x44268b)=>{const _0x218ad3=_0x7fcf32;if(_0x57d299['id']!==_0x3202a1[_0x218ad3(0x395)]['id'])return;const _0x4b1205=_0x57d299[_0x218ad3(0x32e)];if(_0x541d21(_0x4b1205)){const _0x204129=_0x3a09c4[_0x218ad3(0x382)]();this[_0x218ad3(0x298)][_0x218ad3(0x174)](_0x204129),this[_0x218ad3(0x2c6)](_0x204129);}else{if(_0x3dbd8b(_0x4b1205)&&this['_taskIds'][_0x218ad3(0x257)]>0x0){const _0xadfb32=this['_taskIds'][_0x218ad3(0x28a)]();this[_0x218ad3(0x3a0)](_0xadfb32);}}}));}['dispose'](){const _0x298b96=_0x29bde7;super[_0x298b96(0x19f)](),this[_0x298b96(0x2ab)](),this['_taskIds']=[],this[_0x298b96(0x321)]=0x0,this[_0x298b96(0x32c)]=0x0,this[_0x298b96(0x309)]=0x0;}async[_0x29bde7(0xfe)](_0x1ef5cf,_0x57834a){const _0x48cf07=_0x29bde7;for(let _0xd69dac=0x0;_0xd69dac<0x1e;_0xd69dac++)try{if(await this[_0x48cf07(0x1bf)](),this[_0x48cf07(0x24b)]()){this[_0x48cf07(0x209)](_0x1ef5cf,_0x57834a),this[_0x48cf07(0x388)][_0x48cf07(0x16f)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x2a2db6[_0x48cf07(0x34a)][_0x48cf07(0x2d8)]});return;}await new Promise(_0x2b02fc=>{const _0x1e39ae=_0x48cf07;this['_pollingInterval']=window[_0x1e39ae(0x338)](_0x2b02fc,0x3e8);});}catch(_0x2fd45e){this[_0x48cf07(0x28c)]['error'](_0x2fd45e);}this[_0x48cf07(0x388)][_0x48cf07(0x16f)]({'content':this['_localeService']['t'](_0x48cf07(0x37d)),'type':_0x2a2db6[_0x48cf07(0x34a)][_0x48cf07(0x29c)]});}[_0x29bde7(0x209)](_0x382c07,_0x2293e9){const _0x5cbc0c=_0x29bde7;try{this['_commandService'][_0x5cbc0c(0x104)](_0x382c07['id'],_0x382c07[_0x5cbc0c(0x32e)],_0x2293e9);}catch(_0x43c8db){this[_0x5cbc0c(0x28c)]['error'](_0x43c8db);}}[_0x29bde7(0xc5)](_0x1d380e,_0x13f2e4){const _0x4f46c8=_0x29bde7;_0x13f2e4<this[_0x4f46c8(0x309)]||(this[_0x4f46c8(0x309)]=_0x13f2e4,this['_maxFormulaLimit']=Number[_0x4f46c8(0x186)](_0x1d380e[_0x4f46c8(0x152)]),this[_0x4f46c8(0x321)]=Number[_0x4f46c8(0x186)](_0x1d380e[_0x4f46c8(0x29b)]));}async[_0x29bde7(0x2c6)](_0x122bde){const _0x36f003=_0x29bde7;var _0x3c9801,_0x75dd4e;const _0x83ecaf=Date[_0x36f003(0xf6)]();try{const _0x564a38=((_0x3c9801=this[_0x36f003(0x219)][_0x36f003(0x19d)](_0x5e7c26[_0x36f003(0x2c3)]))==null?void 0x0:_0x3c9801[_0x36f003(0x235)])||_0x4e7f71,_0x1dd61d=(await this[_0x36f003(0x37f)][_0x36f003(0x279)](_0x564a38,{'body':JSON[_0x36f003(0x1d5)]({'taskId':_0x122bde})}))[_0x36f003(0x221)];if(((_0x75dd4e=_0x1dd61d[_0x36f003(0x34f)])==null?void 0x0:_0x75dd4e['code'])!==_0x2b04bc['OK'])return;this[_0x36f003(0xc5)](_0x1dd61d[_0x36f003(0x207)],_0x83ecaf);}catch(_0x5cf12f){this['_logService'][_0x36f003(0x34f)](_0x5cf12f);}}async[_0x29bde7(0x1bf)](_0x4fd1ea){const _0x4577b6=_0x29bde7;var _0x27d13c,_0x59a78;const _0x3dbd22=Date[_0x4577b6(0xf6)]();try{const _0x22c263=((_0x27d13c=this[_0x4577b6(0x219)]['getConfig'](_0x5e7c26[_0x4577b6(0x2c3)]))==null?void 0x0:_0x27d13c[_0x4577b6(0x1c8)])||_0x417e1d,_0x113b01=_0x4fd1ea?_0x22c263+_0x4577b6(0x100)+encodeURIComponent(_0x4fd1ea):_0x22c263,_0x34b497=(await this[_0x4577b6(0x37f)][_0x4577b6(0x31d)](_0x113b01))[_0x4577b6(0x221)];if(((_0x59a78=_0x34b497['error'])==null?void 0x0:_0x59a78['code'])!==_0x2b04bc['OK'])return;this[_0x4577b6(0xc5)](_0x34b497[_0x4577b6(0x207)],_0x3dbd22);}catch(_0x5723fb){this[_0x4577b6(0x28c)][_0x4577b6(0x34f)](_0x5723fb);}}async[_0x29bde7(0x3a0)](_0x4928ed){const _0xb0c2e1=_0x29bde7;var _0x1651cc,_0x1ce4a9;const _0x2409c6=Date[_0xb0c2e1(0xf6)]();try{const _0x4f3d9d=((_0x1651cc=this[_0xb0c2e1(0x219)][_0xb0c2e1(0x19d)](_0x5e7c26['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x1651cc[_0xb0c2e1(0x196)])||_0x47b146,_0x349498=(await this['_httpService'][_0xb0c2e1(0x279)](_0x4f3d9d,{'body':JSON[_0xb0c2e1(0x1d5)]({'taskId':_0x4928ed})}))[_0xb0c2e1(0x221)];if(((_0x1ce4a9=_0x349498['error'])==null?void 0x0:_0x1ce4a9[_0xb0c2e1(0xd4)])!==_0x2b04bc['OK'])return;this['_setFormulaLimitStatus'](_0x349498['limitInfo'],_0x2409c6);}catch(_0xd2377e){this[_0xb0c2e1(0x28c)][_0xb0c2e1(0x34f)](_0xd2377e);}}[_0x29bde7(0x24b)](){const _0x4c3c87=_0x29bde7;return this[_0x4c3c87(0x32c)]===0x0?!0x0:this[_0x4c3c87(0x32c)]-this[_0x4c3c87(0x321)]>0x0;}[_0x29bde7(0x2ab)](){const _0x4b7a52=_0x29bde7;this[_0x4b7a52(0x377)]&&(clearTimeout(this[_0x4b7a52(0x377)]),this[_0x4b7a52(0x377)]=null);}[_0x29bde7(0x217)](){const _0x4025c3=_0x29bde7;this[_0x4025c3(0x388)][_0x4025c3(0x16f)]({'content':this[_0x4025c3(0x142)]['t'](_0x4025c3(0xf4)),'type':_0x2a2db6['MessageType'][_0x4025c3(0x2f6)]});}['_hasFormulaInDirtyRanges'](_0x28f628){const _0x1af6a6=_0x29bde7;for(const _0x29ac28 of _0x28f628){const {unitId:_0x5af3a7,sheetId:_0x122c18,range:_0x970384}=_0x29ac28,_0x5572ac=this[_0x1af6a6(0x1ab)][_0x1af6a6(0x1e1)](_0x5af3a7);if(!_0x5572ac)continue;const _0x1388dc=_0x5572ac[_0x1af6a6(0x2cf)](_0x122c18);if(!_0x1388dc)continue;const _0x4d3588=_0x1388dc[_0x1af6a6(0x218)]();for(let _0x5afd4d=_0x970384[_0x1af6a6(0x21b)];_0x5afd4d<=_0x970384[_0x1af6a6(0x1e6)];_0x5afd4d++)for(let _0x735523=_0x970384[_0x1af6a6(0x15d)];_0x735523<=_0x970384[_0x1af6a6(0x1a9)];_0x735523++){const _0x5b8960=_0x4d3588[_0x1af6a6(0x2ff)](_0x5afd4d,_0x735523);if(_0x5b8960&&(_0x3a09c4[_0x1af6a6(0x32a)](_0x5b8960['f'])||_0x3a09c4[_0x1af6a6(0x251)](_0x5b8960['si'])))return!0x0;}}return!0x1;}};_0x353926=_0x1dfd3c([_0x55e2d6(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x592aaf[_0x29bde7(0x236)])),_0x55e2d6(0x1,_0x3a09c4[_0x29bde7(0x339)]),_0x55e2d6(0x2,_0x3a09c4[_0x29bde7(0x1f3)]),_0x55e2d6(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86['HTTPService'])),_0x55e2d6(0x4,_0x3a09c4[_0x29bde7(0x294)]),_0x55e2d6(0x5,_0x3a09c4[_0x29bde7(0x1da)]),_0x55e2d6(0x6,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x36c)]))],_0x353926);var _0x5e6e28=Object[_0x29bde7(0x224)],_0x36d557=(_0x4c2ccf,_0x8e5ba5,_0x4478e1,_0xb68c4c)=>{const _0x363a85=_0x29bde7;for(var _0x5ebd13=_0xb68c4c>0x1?void 0x0:_0xb68c4c?_0x5e6e28(_0x8e5ba5,_0x4478e1):_0x8e5ba5,_0x4c05b9=_0x4c2ccf[_0x363a85(0x257)]-0x1,_0x39c86e;_0x4c05b9>=0x0;_0x4c05b9--)(_0x39c86e=_0x4c2ccf[_0x4c05b9])&&(_0x5ebd13=_0x39c86e(_0x5ebd13)||_0x5ebd13);return _0x5ebd13;},_0x287ce9=(_0x43e1f9,_0x30459e)=>(_0x2bd312,_0x154b5b)=>_0x30459e(_0x2bd312,_0x154b5b,_0x43e1f9);let _0x10ebcc=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x4a1415,_0x3aae6c,_0x5e160d){const _0x20a91d=_0x29bde7;super(),_0x9f87fa(this,_0x20a91d(0x23c),new Map()),_0x9f87fa(this,_0x20a91d(0x374),new Map()),_0x9f87fa(this,_0x20a91d(0xf1),!0x1),(this[_0x20a91d(0x219)]=_0x4a1415,this[_0x20a91d(0x1a4)]=_0x3aae6c,this[_0x20a91d(0x352)]=_0x5e160d);}[_0x29bde7(0x269)](){const _0x278245=_0x29bde7;this[_0x278245(0xf1)]=!0x0;}[_0x29bde7(0x1b5)](){const _0xd56cd2=_0x29bde7;this[_0xd56cd2(0xf1)]=!0x1;}get[_0x29bde7(0x36f)](){const _0x7f8b47=_0x29bde7;return this[_0x7f8b47(0x374)];}['dispose'](){const _0xf9898a=_0x29bde7;this['exhaustSavingTask']()[_0xf9898a(0x189)](()=>super[_0xf9898a(0x19f)]());}async[_0x29bde7(0x370)](_0x46af0b){const _0x4c6fa5=_0x29bde7;return this[_0x4c6fa5(0xf1)]?null:this[_0x4c6fa5(0x1a4)][_0x4c6fa5(0x131)](_0x5e7c26[_0x4c6fa5(0x2b6)](_0x46af0b));}async[_0x29bde7(0x288)](_0x5b9eb,_0x3d1c4a){const _0x5c6875=_0x29bde7;return!!this['_localStorageService'][_0x5c6875(0x35f)](_0x5b9eb,_0x3d1c4a);}[_0x29bde7(0x35a)](_0x5de9ba,_0x73c898,_0x3fbb4c,_0xcb84c2){const _0x83fe4f=_0x29bde7,_0x22a8d1=this['_revisionService'][_0x83fe4f(0x24e)](_0x5de9ba);this[_0x83fe4f(0x23c)]['set'](_0x5de9ba,{'unitID':_0x5de9ba,'type':_0x73c898,'awaitingChangeset':_0x3fbb4c,'mutations':_0xcb84c2,'rev':_0x22a8d1}),this['_saveTaskMap']['has'](_0x5de9ba)||this[_0x83fe4f(0x21e)](_0x5de9ba);}[_0x29bde7(0x21e)](_0x18df72){const _0x2c74ae=_0x29bde7,_0x296285=this['_getSaveTimeout']();_0x296285===0x0?this[_0x2c74ae(0x22c)](_0x18df72):this[_0x2c74ae(0x374)][_0x2c74ae(0x2d5)](_0x18df72,setTimeout(()=>this['_saveCache'](_0x18df72),_0x296285));}[_0x29bde7(0x2d9)](){const _0x453438=_0x29bde7;var _0x21168b;return(_0x21168b=this[_0x453438(0x219)][_0x453438(0x19d)](_0x5e7c26[_0x453438(0x201)]))!=null?_0x21168b:_0x5e7c26[_0x453438(0x155)];}[_0x29bde7(0x22c)](_0x45ab3f){const _0x1d77fe=_0x29bde7,_0x54070d=this[_0x1d77fe(0x374)]['get'](_0x45ab3f);return _0x54070d!==void 0x0&&window[_0x1d77fe(0x2fa)](_0x54070d),this[_0x1d77fe(0x1a4)][_0x1d77fe(0x35f)](_0x5e7c26[_0x1d77fe(0x2b6)](_0x45ab3f),this[_0x1d77fe(0x23c)]['get'](_0x45ab3f))[_0x1d77fe(0x189)](()=>this[_0x1d77fe(0x374)][_0x1d77fe(0x35e)](_0x45ab3f));}async[_0x29bde7(0x1d8)](){const _0x40ebc0=_0x29bde7,_0x3f4958=[];this[_0x40ebc0(0x374)][_0x40ebc0(0x27c)]((_0x150a76,_0x38638c)=>{const _0x52e278=_0x40ebc0;window[_0x52e278(0x2fa)](_0x150a76),_0x3f4958[_0x52e278(0x174)](this[_0x52e278(0x22c)](_0x38638c)[_0x52e278(0x189)](()=>{const _0x371c28=_0x52e278;this[_0x371c28(0x374)][_0x371c28(0x35e)](_0x38638c);}));}),await Promise[_0x40ebc0(0x25f)](_0x3f4958);}};_0x10ebcc=_0x36d557([_0x287ce9(0x0,_0x3a09c4[_0x29bde7(0x1f3)]),_0x287ce9(0x1,_0x3a09c4[_0x29bde7(0x315)]),_0x287ce9(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e9418[_0x29bde7(0x11e)]))],_0x10ebcc);class _0x18c0ae extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(){const _0xfa6ab9=_0x29bde7;super(),_0x9f87fa(this,_0xfa6ab9(0x2a8)),this['urlChange$']=_0x41fba3[_0xfa6ab9(0x18f)](window,'popstate')[_0xfa6ab9(0x2e5)](_0x41fba3[_0xfa6ab9(0x306)](this['dispose$']),_0x41fba3['shareReplay'](0x1),_0x41fba3[_0xfa6ab9(0xfa)](void 0x0));}[_0x29bde7(0x343)](_0x293c15,_0x58ebd6,_0x187a54=!0x1){const _0x5a188f=_0x29bde7,_0x5f1f2a=new URL(window[_0x5a188f(0x113)]['href']);_0x5f1f2a['searchParams'][_0x5a188f(0x2d5)](_0x293c15,_0x58ebd6),_0x187a54?window['history'][_0x5a188f(0x28f)]('','',_0x5f1f2a['toString']()):window[_0x5a188f(0x206)][_0x5a188f(0x132)]('','',_0x5f1f2a[_0x5a188f(0x349)]());}[_0x29bde7(0x272)](_0x3e3b87,_0x487dfb=!0x1){const _0x3b690f=_0x29bde7,_0xddaaf7=new URL(window[_0x3b690f(0x113)][_0x3b690f(0x234)]);_0xddaaf7['searchParams'][_0x3b690f(0x35e)](_0x3e3b87),_0x487dfb?window[_0x3b690f(0x206)]['replaceState']('','',_0xddaaf7[_0x3b690f(0x349)]()):window[_0x3b690f(0x206)][_0x3b690f(0x132)]('','',_0xddaaf7[_0x3b690f(0x349)]());}[_0x29bde7(0x154)](_0x4a7ea5){const _0x4dcdc6=_0x29bde7;var _0x4e3022;return(_0x4e3022=new URL(window['location'][_0x4dcdc6(0x234)])['searchParams'][_0x4dcdc6(0x31d)](_0x4a7ea5))!=null?_0x4e3022:void 0x0;}}var _0x40d0a6=Object[_0x29bde7(0x340)],_0x4cf4cb=Object['getOwnPropertyDescriptor'],_0x4e65bd=(_0x3bed3f,_0x417391,_0x17c5b2)=>_0x417391 in _0x3bed3f?_0x40d0a6(_0x3bed3f,_0x417391,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17c5b2}):_0x3bed3f[_0x417391]=_0x17c5b2,_0x362661=(_0x3d7015,_0x1a0a69,_0x4b50b4,_0x3ab994)=>{for(var _0xbe30bb=_0x3ab994>0x1?void 0x0:_0x3ab994?_0x4cf4cb(_0x1a0a69,_0x4b50b4):_0x1a0a69,_0x21aa17=_0x3d7015['length']-0x1,_0x5d7aa9;_0x21aa17>=0x0;_0x21aa17--)(_0x5d7aa9=_0x3d7015[_0x21aa17])&&(_0xbe30bb=_0x5d7aa9(_0xbe30bb)||_0xbe30bb);return _0xbe30bb;},_0x6ce988=(_0x859eb4,_0x59af9e)=>(_0x25350f,_0x2a4772)=>_0x59af9e(_0x25350f,_0x2a4772,_0x859eb4),_0xa9b818=(_0x5b9cb2,_0x1bc10d,_0x4e5f5e)=>_0x4e65bd(_0x5b9cb2,_0x1bc10d+'',_0x4e5f5e);const _0x4a74e3=_0x29bde7(0x1df);_0x1e8a5b[_0x29bde7(0xf9)]=class extends _0x3a09c4['Plugin']{constructor(_0x133867=_0x2c5eff,_0x2c50f6,_0x17fd8a,_0x18cbc8){const _0x395517=_0x29bde7;super(),this[_0x395517(0x194)]=_0x133867,this[_0x395517(0x146)]=_0x2c50f6,this[_0x395517(0x247)]=_0x17fd8a,this[_0x395517(0x219)]=_0x18cbc8;const {..._0x262aba}=_0x3a09c4['merge']({},_0x2c5eff,this[_0x395517(0x194)]);this['_configService'][_0x395517(0x3af)](_0x2d74b1,_0x262aba);}[_0x29bde7(0x347)](){const _0x3249a5=_0x29bde7;this[_0x3249a5(0x33f)](),this[_0x3249a5(0x23a)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4f50d8=_0x29bde7;var _0x1a73fb;const _0x28e67a=[[_0x1acd06],[_0x353926],[_0x3628e2],[_0x5e0130],[_0xc132fe],[_0x3d295c],[_0x5c7e96,{'useClass':_0x18c0ae}],[_0x20de86['ISocketService'],{'useClass':_0x20de86[_0x4f50d8(0x2ca)]}],[_0x5e7c26[_0x4f50d8(0x355)],{'useClass':_0x10ebcc}],[_0x1e8a5b[_0x4f50d8(0x3a9)]],[_0x30a1d6],[_0x2ee8d7],[_0x2763d1],[_0x43ac4d],[_0x1e8a5b[_0x4f50d8(0x242)]]];this['_config'][_0x4f50d8(0x3aa)]&&_0x28e67a[_0x4f50d8(0x174)]([_0x32a527]),_0x3a09c4[_0x4f50d8(0x39b)](this[_0x4f50d8(0x247)],_0x3a09c4[_0x4f50d8(0x2c0)](_0x28e67a,(_0x1a73fb=this[_0x4f50d8(0x194)])==null?void 0x0:_0x1a73fb[_0x4f50d8(0x14c)]));}[_0x29bde7(0xd0)](){const _0x43c60c=_0x29bde7;this[_0x43c60c(0x28e)](this[_0x43c60c(0x146)]['registerRenderModule'](_0x3a09c4[_0x43c60c(0x30d)][_0x43c60c(0xec)],[_0x4ec09a])),this[_0x43c60c(0x28e)](this[_0x43c60c(0x146)][_0x43c60c(0x17a)](_0x3a09c4[_0x43c60c(0x30d)][_0x43c60c(0x2aa)],[_0x27259b]));}[_0x29bde7(0x23a)](){const _0x13fc16=_0x29bde7;_0x3a09c4['touchDependencies'](this['_injector'],[[_0x2763d1],[_0x1e8a5b[_0x13fc16(0x3a9)]],[_0x30a1d6],[_0x2ee8d7],[_0x1e8a5b['CollaborationDataLoaderController']],[_0x353926]]),this[_0x13fc16(0x194)][_0x13fc16(0x3aa)]&&_0x3a09c4[_0x13fc16(0x387)](this[_0x13fc16(0x247)],[[_0x32a527]]);}},_0xa9b818(_0x1e8a5b[_0x29bde7(0xf9)],_0x29bde7(0x2ee),_0x4a74e3),_0x1e8a5b[_0x29bde7(0xf9)]=_0x362661([_0x3a09c4[_0x29bde7(0x2b3)](_0x5e7c26['UniverCollaborationClientPlugin']),_0x6ce988(0x1,_0x271b4b[_0x29bde7(0xde)]),_0x6ce988(0x2,_0x3a09c4['Inject'](_0x3a09c4['Injector'])),_0x6ce988(0x3,_0x3a09c4['IConfigService'])],_0x1e8a5b[_0x29bde7(0xf9)]);var _0x58f851=Object['getOwnPropertyDescriptor'],_0x515c24=(_0x1393e3,_0x1eedb2,_0x42718c,_0x2ecd75)=>{for(var _0x374c44=_0x2ecd75>0x1?void 0x0:_0x2ecd75?_0x58f851(_0x1eedb2,_0x42718c):_0x1eedb2,_0x2f1f24=_0x1393e3['length']-0x1,_0x36db24;_0x2f1f24>=0x0;_0x2f1f24--)(_0x36db24=_0x1393e3[_0x2f1f24])&&(_0x374c44=_0x36db24(_0x374c44)||_0x374c44);return _0x374c44;},_0x349abe=(_0x4f04bd,_0x2eca08)=>(_0x3e37fb,_0x534a3e)=>_0x2eca08(_0x3e37fb,_0x534a3e,_0x4f04bd);_0x1e8a5b[_0x29bde7(0x13c)]=class extends _0x5e7c26['CollaborationSocketService']{constructor(_0x5a00a7,_0x42748a,_0x2883d4,_0x361ebf,_0x19f007){super(_0x5a00a7,_0x42748a,_0x2883d4,_0x361ebf,_0x19f007);}async[_0x29bde7(0x10e)](_0x2722fb){const _0x170255=_0x29bde7,_0x3fbae5=await this['_getSessionTicket'](),_0x3d751a=this['_createSocketURL'](_0x2722fb,_0x3fbae5);return this[_0x170255(0x278)](_0x3d751a);}[_0x29bde7(0x18b)](_0x2acf11,_0x3d2f68){const _0x8b325b=_0x29bde7,_0xff6a03=typeof window>'u'?new URL(_0x2acf11):new URL(_0x2acf11,window['location'][_0x8b325b(0x2be)]);_0xff6a03[_0x8b325b(0x254)]['set']('sessionTicket',_0x3d2f68);const _0x38ac96=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x38ac96[_0x8b325b(0x31d)](_0x8b325b(0x200))&&_0xff6a03[_0x8b325b(0x254)][_0x8b325b(0x2d5)](_0x8b325b(0x200),_0x38ac96['get'](_0x8b325b(0x200))),_0xff6a03[_0x8b325b(0x349)]();}async[_0x29bde7(0x29d)](){const _0x5b2f3b=_0x29bde7;var _0x46c27c,_0x571d12,_0x1b47e9;const _0x3b8afd=this['_configService']['getConfig'](_0x5e7c26[_0x5b2f3b(0x2c3)]),_0x28d8d4=(_0x46c27c=_0x3b8afd==null?void 0x0:_0x3b8afd[_0x5b2f3b(0xe8)])!=null?_0x46c27c:_0x5e7c26[_0x5b2f3b(0x16d)];return(_0x1b47e9=(_0x571d12=(await this[_0x5b2f3b(0x37f)][_0x5b2f3b(0x31d)](_0x28d8d4,{'headers':{'Content-Type':_0x5b2f3b(0x1d0)}}))['body'])==null?void 0x0:_0x571d12[_0x5b2f3b(0x394)])!=null?_0x1b47e9:'';}},_0x1e8a5b['BrowserCollaborationSocketService']=_0x515c24([_0x349abe(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x349abe(0x1,_0x3a09c4['Inject'](_0x20de86['HTTPService'])),_0x349abe(0x2,_0x3a09c4[_0x29bde7(0x1f3)]),_0x349abe(0x3,_0x3a09c4['ILogService']),_0x349abe(0x4,_0x5e9418['ISnapshotServerService'])],_0x1e8a5b[_0x29bde7(0x13c)]);var _0x3f6a8a=Object[_0x29bde7(0x224)],_0x798b80=(_0x3107e3,_0x11ede5,_0x60ba4e,_0x2f701d)=>{const _0x1d2085=_0x29bde7;for(var _0x6a827c=_0x2f701d>0x1?void 0x0:_0x2f701d?_0x3f6a8a(_0x11ede5,_0x60ba4e):_0x11ede5,_0x1cce90=_0x3107e3[_0x1d2085(0x257)]-0x1,_0x2bc55e;_0x1cce90>=0x0;_0x1cce90--)(_0x2bc55e=_0x3107e3[_0x1cce90])&&(_0x6a827c=_0x2bc55e(_0x6a827c)||_0x6a827c);return _0x6a827c;},_0x1b5bce=(_0x1d814a,_0x243f25)=>(_0x1cf4ad,_0x4c3959)=>_0x243f25(_0x1cf4ad,_0x4c3959,_0x1d814a);_0x1e8a5b[_0x29bde7(0x125)]=class extends _0x3a09c4['Disposable']{constructor(_0xed5a70,_0x2ee3b3,_0x46b998){const _0x454fe5=_0x29bde7;super(),this[_0x454fe5(0x1ad)]=_0xed5a70,this[_0x454fe5(0x37f)]=_0x2ee3b3,this[_0x454fe5(0x219)]=_0x46b998;}async['runOnServer'](_0xa81255,_0x4001ef,_0x4db5fd,..._0x2637ee){const _0x3d3569=_0x29bde7;var _0x58e2f3,_0x1c8760,_0x16fed7,_0x2b5764;const _0x20b803=this['_instanceService'][_0x3d3569(0x1bc)]();if(!_0x20b803)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1dba06=((_0x58e2f3=this[_0x3d3569(0x219)][_0x3d3569(0x19d)](_0x5e7c26['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x58e2f3:_0x5e7c26[_0x3d3569(0x2d1)])+'/'+_0xa81255+'/run/'+_0x4001ef,_0x24a444=new URL(window[_0x3d3569(0x113)][_0x3d3569(0x234)]),_0x3f4bdb={'scriptId':_0xa81255,'runId':(_0x1c8760=_0x24a444[_0x3d3569(0x254)][_0x3d3569(0x31d)](_0x3d3569(0x200)))!=null?_0x1c8760:'','function':_0x4001ef,'unitId':_0x20b803[_0x3d3569(0x348)](),'argsOfFunction':JSON['stringify'](_0x2637ee),'invokeId':(_0x16fed7=_0x4db5fd[_0x3d3569(0x2bd)])!=null?_0x16fed7:'','executionId':(_0x2b5764=_0x4db5fd[_0x3d3569(0x319)])!=null?_0x2b5764:''};try{const _0x2d40a4=await this[_0x3d3569(0x37f)][_0x3d3569(0x279)](_0x1dba06,{'body':_0x3f4bdb});return _0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x34f)]&&_0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x34f)]['code']!==_0x2b04bc['OK']?_0x3d3569(0x2cd):_0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x324)];}catch{return _0x3d3569(0x2cd);}}},_0x1e8a5b[_0x29bde7(0x125)]=_0x798b80([_0x1b5bce(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x1b5bce(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86[_0x29bde7(0x258)])),_0x1b5bce(0x2,_0x3a09c4[_0x29bde7(0x1f3)])],_0x1e8a5b[_0x29bde7(0x125)]);const _0x568b98=0x7530,_0x476747=_0x29bde7(0x26a);class _0x5a1ef8 extends _0x3a09c4[_0x29bde7(0x191)]{constructor(){const _0x152e36=_0x29bde7;super(),_0x9f87fa(this,_0x152e36(0x11b),_0x3a09c4[_0x152e36(0x382)]()),_0x9f87fa(this,_0x152e36(0x2dc),new Set()),_0x9f87fa(this,_0x152e36(0x367),new Map()),_0x9f87fa(this,_0x152e36(0x26d),null),_0x9f87fa(this,_0x152e36(0x1b3),new Map()),_0x9f87fa(this,_0x152e36(0x31c),new Map()),this['_init']();}[_0x29bde7(0x19f)](){const _0x17e505=_0x29bde7;super[_0x17e505(0x19f)](),this[_0x17e505(0x1b3)]['forEach']((_0x227c02,_0x3bc3cf)=>this[_0x17e505(0x177)](_0x3bc3cf)),this[_0x17e505(0x26d)]&&window[_0x17e505(0x2d6)](this[_0x17e505(0x26d)]);}[_0x29bde7(0x208)](_0xac6b7d){const _0x3b18d1=_0x29bde7;return this['_ensureSubject'](_0xac6b7d)[_0x3b18d1(0x2e5)](_0x41fba3[_0x3b18d1(0x34c)]());}[_0x29bde7(0x19e)](_0x6f973b){const _0x2dfc7b=_0x29bde7;this[_0x2dfc7b(0x2dc)][_0x2dfc7b(0xe4)]===0x0&&this[_0x2dfc7b(0x2f9)](),this[_0x2dfc7b(0x2dc)]['add'](_0x6f973b),this[_0x2dfc7b(0x362)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x6f973b],'isForwarded':!0x1});}[_0x29bde7(0x1ef)](_0x1a490e){const _0x29f810=_0x29bde7;this[_0x29f810(0x2dc)]['delete'](_0x1a490e),this['_selfUnitIDs'][_0x29f810(0xe4)]===0x0&&this[_0x29f810(0x26d)]&&window['clearInterval'](this[_0x29f810(0x26d)]);}[_0x29bde7(0x34b)](){const _0x34e0ec=_0x29bde7;this[_0x34e0ec(0x28e)](_0x3a09c4['toDisposable'](_0x41fba3['fromEvent'](window,_0x34e0ec(0x16c))[_0x34e0ec(0x359)](_0xe351ff=>{const _0x59214a=_0x34e0ec;if(_0xe351ff[_0x59214a(0x2b8)]!==_0x476747||!_0xe351ff['newValue'])return;const _0x51a041=JSON[_0x59214a(0x1de)](_0xe351ff[_0x59214a(0x232)]);this['_handleEvent'](_0x51a041);}))),window[_0x34e0ec(0x23e)]('unload',()=>this[_0x34e0ec(0x362)]({'type':0x1,'memberID':this[_0x34e0ec(0x11b)],'unitIDs':Array[_0x34e0ec(0xc9)](this[_0x34e0ec(0x2dc)])}));}[_0x29bde7(0x3a7)](_0x5763cc){const _0x32827b=_0x29bde7;switch(_0x5763cc[_0x32827b(0x1d7)]){case 0x0:this['_handleJoinEvent'](_0x5763cc);break;case 0x1:this[_0x32827b(0x1a6)](_0x5763cc);break;case 0x2:this[_0x32827b(0x2c5)](_0x5763cc);break;}}['_handleJoinEvent'](_0x1153e6){const _0x4ee3a5=_0x29bde7,{unitIDs:_0x1f5bbf,memberID:_0x200a64,isForwarded:_0x7e41bc}=_0x1153e6;_0x1f5bbf[_0x4ee3a5(0x27c)](_0x38f07d=>{const _0x2073b3=_0x4ee3a5;if(!_0x7e41bc&&this['_unitOnClients']['has'](_0x38f07d)&&this[_0x2073b3(0x322)](_0x38f07d)['next'](_0x5e7c26[_0x2073b3(0x30a)]['OTHER_CLIENTS_EDITING']),!this[_0x2073b3(0x367)][_0x2073b3(0x38d)](_0x38f07d)||!this['_unitOnClients'][_0x2073b3(0x31d)](_0x38f07d)['has'](_0x200a64)){const _0x4e72d6=this['_unitOnClients'][_0x2073b3(0x31d)](_0x38f07d)||new Set();_0x4e72d6[_0x2073b3(0x2b2)](_0x200a64),this[_0x2073b3(0x367)][_0x2073b3(0x2d5)](_0x38f07d,_0x4e72d6),this[_0x2073b3(0x20f)](_0x200a64);}}),_0x7e41bc||this['_send']({'type':0x0,'memberID':this[_0x4ee3a5(0x11b)],'unitIDs':[...this[_0x4ee3a5(0x2dc)]],'isForwarded':!0x0});}[_0x29bde7(0x20f)](_0x23646e){const _0x1c9721=_0x29bde7;this['_removeClearOtherTimer'](_0x23646e);const _0x1580a8=window[_0x1c9721(0x338)](()=>{const _0xa94e3c=_0x1c9721;this[_0xa94e3c(0x367)][_0xa94e3c(0x27c)](_0x58a876=>{const _0x54fea0=_0xa94e3c;_0x58a876[_0x54fea0(0x35e)](_0x23646e);});},_0x568b98*0x2);this[_0x1c9721(0x1b3)][_0x1c9721(0x2d5)](_0x23646e,_0x1580a8);}['_removeClearOtherTimer'](_0x29595){const _0x2f4fd1=_0x29bde7;if(this['_clearOtherTimers'][_0x2f4fd1(0x38d)](_0x29595)){const _0xfa1747=this[_0x2f4fd1(0x1b3)]['get'](_0x29595);_0xfa1747&&window[_0x2f4fd1(0x2fa)](_0xfa1747),this[_0x2f4fd1(0x1b3)][_0x2f4fd1(0x2d5)](_0x29595,null);}}[_0x29bde7(0x1a6)](_0x3ec245){const _0x634342=_0x29bde7,{memberID:_0x52529e,unitIDs:_0x5212aa}=_0x3ec245;_0x5212aa[_0x634342(0x27c)](_0x10ccbd=>{const _0x46faf0=_0x634342;var _0x49540a;const _0x83a62e=this[_0x46faf0(0x367)][_0x46faf0(0x31d)](_0x10ccbd);_0x83a62e&&(_0x83a62e[_0x46faf0(0x35e)](_0x52529e),(_0x49540a=this[_0x46faf0(0x322)](_0x10ccbd))==null||_0x49540a[_0x46faf0(0x1ea)](_0x83a62e[_0x46faf0(0xe4)]===0x0?_0x5e7c26[_0x46faf0(0x30a)][_0x46faf0(0x380)]:_0x5e7c26[_0x46faf0(0x30a)][_0x46faf0(0xcb)]));}),this[_0x634342(0x177)](_0x52529e);}[_0x29bde7(0x2c5)](_0xf91ef0){const _0x271436=_0x29bde7;this[_0x271436(0x20f)](_0xf91ef0[_0x271436(0x105)]);}['_send'](_0x577e97){localStorage['setItem'](_0x476747,JSON['stringify'](_0x577e97));}[_0x29bde7(0x2f9)](){const _0x3f8e08=_0x29bde7;this[_0x3f8e08(0x26d)]=window['setInterval'](()=>{const _0xdbfa94=_0x3f8e08;this['_send']({'type':0x2,'memberID':this[_0xdbfa94(0x11b)]});},_0x568b98);}[_0x29bde7(0x322)](_0x5aa104){const _0x4ea97c=_0x29bde7;return this[_0x4ea97c(0x31c)][_0x4ea97c(0x38d)](_0x5aa104)||this[_0x4ea97c(0x31c)][_0x4ea97c(0x2d5)](_0x5aa104,new _0x41fba3[(_0x4ea97c(0x31e))](_0x5e7c26['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x4ea97c(0x31c)][_0x4ea97c(0x31d)](_0x5aa104);}}_0x1e8a5b[_0x29bde7(0x250)]=_0x5c7e96,_0x1e8a5b[_0x29bde7(0x1b6)]=_0x526d2d,_0x1e8a5b[_0x29bde7(0x10c)]=_0x5a1ef8,_0x1e8a5b[_0x29bde7(0x15e)]=_0x18c0ae,Object['defineProperty'](_0x1e8a5b,Symbol[_0x29bde7(0x3b1)],{'value':'Module'});}));
8
+ function _0x1e96(_0x33e75d,_0x33584b){_0x33e75d=_0x33e75d-0x8b;const _0x276d1c=_0x276d();let _0x1e961c=_0x276d1c[_0x33e75d];return _0x1e961c;}function _0x276d(){const _0x252eaa=['deserializeRangeWithSheet','flatMap','fillText','getColorFromTheme','doc.mutation.rich-text-editing','react/jsx-runtime','IRenderManagerService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','VIEW_MAIN','REDEMPTION_USER_NOT_ELIGIBLE','cursorInfo$','parseInt','_hideTimer','find','_updateURLWithCurrentState','IBeforeCloseService','[LogService\x20Error]:\x20','size','getCellPositionByOffset','collabStatus.fetchMiss','registerRefRange','_docTransformIMECacheService','createIdentifier','_startDocCollabCursor','ranges','exhaustSavingTask','shareReplay','storage','ENTITLE_CHAT_LIMIT_EXCEED','CollaborationSocketService','addObject','unhandledrejection','SessionStatus','stringify','YUUMI_RATE_OVER_LIMIT','subscribeEvent','collabStatus.syncing','Rect','_scheduleSaving','_collaborationUIEventService','_taskIds','isTransformMutationFailure','SetTextSelectionsOperation','removeParam','_createSocketURL','getRenderById','jsxs','makeDirty','_docStateChangeManagerService','_updateLocalCursor','RECT','FETCH_MISS','getMemberID','getFocusedUnit','_initUserListener','getStateCache','top','green.600','actions','@univerjs/docs-ui','RemoveColCommandId','functionsExecutedState','getConfig','getMember','_send','_memberID','SHEET_VIEWPORT_KEY','YUUMI_AI_RUN_FAILED','setItem','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','REDEMPTION_CODE_FULLY_REDEEMED','_shapes','SUBMIT_CHANGESET_TIMEOUT','amd','DeleteRangeMoveLeftCommandId','source','reason','height','DocStateChangeManagerService','displayName','forEach','_onRefRangeChange','saveOfflineData','UniverCore','getTypeOfUnitAdded$','useDependency','UniverInstanceType','_labelPosition','_showGuardMessage','_docSkeletonManagerService','IUIPartsService','pluginName','rgba(255,\x20255,\x20255,\x200.01)','post','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_config','_color','onPointerMove$','collabStatus.notCollab','DOC_RANGE_TYPE','getUniverSheetInstance','CanceledError','_uiPartsService','_setFormulaLimitStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','SetFormulaCalculationStartMutation','useCallback','ENTITLE_DUP_SUBSCRIPTION','UniverEngineFormula','filter','Unknown\x20user','max','LOCAL_CACHE_INTERVAL','href','_setupBeforeClosingHandler','React','Failed','_hovered','handleIRemoveCol','loadOfflineData','_initEvent','random','permission.content','APPLY_REJECT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_drawTextRange','UniverCollaborationClientUIPlugin','APPLY_NON_SEQUENTIAL_REVISION','disposeWithMe','handleInsertRow','isTransformMutationsWithChangesetSuccess','Tooltip','UniverDrawing','addObjects','_collaborationController','_registerDependencies','invokeId','hide','unitId','USERS_LEAVE','PY_RUNTIME_SCRIPT_ERROR','createInstance','collab-text-range-','AWAITING_WITH_PENDING','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','PENDING','REDEMPTION_INVALID_CODE','generateRandomId','_dataLoaderService','_imageIoService','colorChannel1','next','getUnitId','from','ThemeService','OFFLINE','disableLocalCache','_saveTaskMap','pipe','RevisionService','@univerjs/core','lineTo','DataLoaderService','_pollingInterval','_eventUnsubscribe','getSheetId','delete','SOCKET_FAILED','UNIVER_DOC','_render','debounce','getCurrentUnitForType','getTypeOfUnitDisposed$','push','handleInsertRangeMoveRight','round','_messageService','_saveCache','START_CALCULATION','Inject','_toggleOffline','length','@univerjs/ui','_docTransformSelectionsService','_transformPreviousActiveRange','collaboration.closeRoom','jsx','DocSelectionManagerService','object','transform','2258135IPvvWV','/run/','roomMembers','connectInjector','registerRenderModule','INVITE_CODE_REQUIRED','_hasFormulaInDirtyRanges','_collabSessionService','295SthjCV','FormulaExecuteStageType','_transformService','M0\x200H16V16H0z','getSkeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CollaborationUIEventId','complete','_getFormulaLimitStatus','ENTITLE_COUPON_USED_UP','_context','_setupSubUnitSync','_urlService','/universer-api/license/formula/limit/done','registerBeforeClose','ENTITLE_COUPON_EXPIRED','labelPosition','APPLY_PERMISSION_DENIED','subscribe','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','activeSheet$','beforeCommandExecuted','\x20at\x20','_docTransformStateCacheService','getCurrentRevOfUnit','_initCommandExecutedListener','#FFF','_removeClearOtherTimer','registerDependencies','takeUntil','CommandType','_docClipboardService','INVALID_INVITE_CODE','unshift','YUUMI_ASYNCIO_CANCELLED','_handleHeartbeatEvent','transformSelections','message','_collaborationSessionService','Disposable','startRow','SNAPSHOT_HAS_BEEN_REMOVED','_renderManagerService','_onCursorUpdate','http://www.w3.org/2000/svg','replaceState','@univerjs/network','sessionStatus$','...','getCollabCursors$','includes','collaboration.offline-data-not-saved','181089lbLabS','@univerjs/engine-formula','ENTITLE_REPORT_LIMIT_EXCEED','NO_OTHER_CLIENTS_EDITING','arc','?taskId=','eventID','_applyCommand','_scheduleClearOtherTimer','UNIVER_SHEET','div','InsertRangeMoveDownCommandId','COLORS','status$','setShapeProps','setConfig','imageSourceType','USER_NOT_FOUND','selections','_selfUnitIDs','drawWith','RemoveRowCommandId','_disabled','createElement','_online','disposeUnit','idSuffix','onPointerLeave$','saveTaskMap','code','onMouseMove','_localCacheService','currentColor','_cursorShapes','dispose$','EffectRefRangId','LOCAL_CACHE_INTERVAL_KEY','limitInfo','ENTITLE_INSUFFICIENT_QUOTA','CollaborationController','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getLocalCacheKey','off-line-icon_clip0_910_343','_checkAndWaitForCalculationPermission','OTHER_CLIENT_EDITING','transformRemoteChangeset','transformByState','_initWindowErrorListener','isFormulaString','_hover','DEFAULT_WS_SESSION_TICKET_URL','_drawAnchor','ISnapshotServerService','LocaleService','mutations','clearTimeout','_revisionService','_init','_cachedData','has','isFormulaId','getColor','xlink:href','_cursorInfo$','popstate','jiqing.500','IConfigService','body','stack','on-line-icon','LICENSE_MAX_UNITS_EXCEEDED','INotificationService','_doCreateSocket','EMAIL_HAS_BEEN_BOUND','_uploadLog','_docSkeleton','onPointerEnter$','_collabCursorController','getUndoRedoMutationParamsCache','_initStatusComponent','startFormulaLimitUrl','add','REDEMPTION_CODE_NOT_STARTED','Tools','_roomMembers$','some','_httpService','_currentUsage','getOffsetConfig','_name','LOGIN_TOKEN_PROCESSING_FAILED','width','UniverRpc','SetWorksheetActivateCommand','beginPath','_refRangeService','@univerjs/docs','mergeOverrideWithDependencies','CollaborationSessionService','react','runId','_monkeyPatchLogService','_anchorDot','getCurrentSelections','fromEvent','selection','_initEntityListener','debug','18916caFSAs','parse','_sheetSkeletonManagerService','runOnServer','_textBubble','1em','replace','_checkCalculationAvailable','_transformHistoryAndStateStack','isEditing','stageInfo','_cursor','touchDependencies','ILocalCacheService','removeEventListener','handleDeleteRangeMoveLeft','_handleEvent','REDEMPTION_CODE_HAS_BEEN_CREATED','ONLINE','UniverProCollaborationClientUi','_entityInit$','engine','UniverProCollaboration','FromArray','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','wsSessionTicketUrl','[CollaborationDataLoaderController]','registerComponent','_memberService','UNAUTHENTICATED','UniverCollaborationClientPlugin','range','bind','YUUMI_URL_COL_OUT_OF_RANGE','getVpScrollXYInfoByPosToVp','SYNCED','IRemoteInstanceService','40jMqPiQ','defIds','_initResize','TOO_MANY_REQUESTS','collab-rect-range-','getCollabEntity$','UniverEngineRender','@univerjs-pro/collaboration-client','AUTHORIZE_CODE_ILLEGAL','_getAnchorBounding','RegularPolygon','event$','error','_docSyncEditingCollabCursorService','_getSaveTimeout','USER_NOT_INVITED_CODE','lineno','DocIMEInputManagerService','_initUnhandledRejectionListener','LOGIN_FAILED','cursorInfo','collabStatus.offline','throttleTime','deepClone','Optional','docStateChange$','NOT_FOUND','_instanceService','BehaviorSubject','AWAITING','COMPLETION_FINISHED','combineLatest','toStringTag','UPDATE_CURSOR','CollaborationEvent','history','_syncEditingCollabCursorService','session.connection-failed','getUnitStatus$','defs','saveImage','translate(.97)','triggerDblclick','CONNECTOR_DATA_TOO_LARGE','rxjs','/universer-api/frontend/logs','_scene','isArray','INTERNAL_ERROR','string','subunit','collabCursorState$','_themeService','CLOSE_ROOM','_colorAssignService','fillStyle','enableLocalCache','redoState','isActive','ENTITLE_CAN_NOT_BUY_LOWER_OTP','MOBILE_VERIFY_CODE_MISMATCH','_heartbeatTimer','collaboration-client-ui.config','RemoteUniscriptService','_lastResponseTimestamp','urlChange$','session.will-retry','APPLY_DUPLICATED','_refreshCollabCursors','_unitOnClients','BrowserCollaborationSocketService','RefRangeService','SheetCollabCursorShape','backgroundColor','substring','497iTMlYs','_document','_assignedColors','_localStorageService','black','OnLineIcon','_draw','m2Prime','transformMutationsWithChangeset','collab-client.tooltip.reconnect','_configService','onLocalMutation','attrs','WebSocketService','UnitStatus','SetFormulaCalculationNotificationMutation','6696376HqjzyV','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getActiveSheet','replaceDocRanges','path','SetDocZoomRatioOperation','18gpJTFk','SetSelectionsOperation','ALREADY_EXISTS','IDocClipboardService','key','data','getValue','blue.400','evenodd','USER_IS_ANONYMOUS','values','UniverIcon','result','_commandService','Loading','requireSession','getSheetBySheetId','clearInterval','currentUsage','JOIN_ROOM_FAILED','url(#off-line-icon_clip0_910_343)','0\x200\x2016\x2016','ICommandService','save','addClipboardHook','currentTheme$','maxFormulaLimit','serializeRangeWithSheet','url(#$1','_backgroundColor','_id','children','Subject','search','@univerjs/rpc','map','svg','_handleLeaveEvent','_injector','ERROR_AGAIN','49926gzHczx','YUUMI_UNABLE_LOAD_URL','_maxFormulaLimit','releaseFormulaLimitUrl','getRelativeToViewportCoord','YUUMI_ALL_TABLES_IS_INVALID','13591GRwXvr','_startCalculationLimit','_logService','YUUMI_CONNECTOR_URL_NOT_FOUND','clsx','params','_startSheetCollabCursor','_range','location','socket$','memberID','YUUMI_NO_CUBOID_FOR_QUESTION','TEXT','column','Injector','@univerjs/sheets-ui','permission.title','_ensureSubject','with','UniverUi','ENTITLE_NEED_BILLING_ADDRESS','univerjs-icon\x20univerjs-icon-','LICENSE_IMPORT_SIZE_EXCEEDED','@univerjs/engine-render','debounceTime','application/json','unload','_entities','_univerInstanceService','stage','_localeService','assign','fill','handleInsertCol','getCurrent','unit','contains','yellow.400','type','WebBrowserSingleActiveUnitService','toRgbString','1587660YSrlrE','REDEMPTION_CODE_INACTIVE','setAlpha','_getScale','MoveRangeCommandId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Shape','ColorKit','_updateCollabCursors','INVITE_CODE_HAS_BEEN_UES','endRow','assignAColorForMemberID','collaboration.single-unit.warning','sheetID','UNDEFINED','getRangePointData','MUTATION','CHANGESET_REVISION_CONFILICT','tag','toString','DocCollaborationEntity','_drawRectRange','ITransformService','_lastPointer','LICENSE_EXPORT_SIZE_EXCEEDED','RxDisposable','_session','NodePositionConvertToRectRange','ILocalStorageService','ISocketService','formula.calculation.unable','onCommandExecuted','measureText','OTHER_CLIENTS_EDITING','collab-text-anchor-','init','setInterval','getUnit','createSocket','getParam','BuiltInUIPart','HTTPService','get','Warning','ENTITLE_INVALID_COUPON_CODE','onStarting','_initDependencies','_initStatusListener','unsubscribe','_handleJoinEvent','_registerRenderDependencies','now','set','text','asObservable','MessageType','startColumn','DesktopCollaborationStatusDisplayController','WECHAT_HAS_BEEN_BOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','newValue','_collabCursorState$','ACTIVE_UNIT_EVENT_CHANNEL','IUniverInstanceService','transformStateCache','univer-mr-2\x20univer-flex\x20univer-text-xl','_unitStatus','_colorIndex','CONFLICT','YUUMI_SUBSCRIPTION_NOT_FOUND','getAncestorScale','_releaseCalculationLimit','Vector2','executionId','entityInit$','_transformUndoRedoStack','getDocRanges','SOCKET_FAILED_RETRY','_onCursorDelete','@univerjs/sheets','session.collaboration-timeout','setStateCache','subUnitId','[Unhandled\x20Rejection]:\x20','show','OffLineIcon','handleDeleteRangeMoveUp','_removeCollabCursors','clipPath','_clearPolling','_getMergeRange','reconnect','_scheduleHeartbeat','TEXT_RANGE_LAYER_INDEX','textRanges','LICENSE_DISTRO_REJECTED','forwardRef','row','undoState','getMergeData','setParam','_updateSubUnitFromURLParams','restore','enableFrontendLog','24NZTuGy','_getSessionTicket','ILogService','addEventListener','send','white','_status$','getOwnPropertyDescriptor','switchMap','name','@univerjs-pro/collaboration','CURRENT_STATUS_CANNOT_OPERATE','APPLY_REVISION_CONFILICT','color','NOT_COLLAB','transformIMECache','m1Prime','dispose','NodePositionConvertToCursor','PAYMENT_CHANNEL_NOT_SUPPORT','then','join','endColumn','ENSURE_SNAPSHOT_EXECUTION','none','INVITE_CODE_ALREADY_BOUND','toDisposable','_initCommandInterceptor','distinctUntilChanged','InsertRangeMoveRightCommandId','INVALID_ARGUMENT','currentSkeleton$','Workbook','transformMutation','univer-flex\x20univer-items-center','whenReady','override','setTimeout','_cursors','_clearOtherTimers','IImageIoService','mask','min','fillRule','PERMISSION_DENIED','_notificationService','findNodePositionByCharIndex','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','DATA_SOURCE_TOO_LARGE','getCoordByCell','CollaborationUIEventService','unitID','mapTo','Error','roomMembers$','UniverDocs','_toggleOnline','_anchor','0\x200\x2017\x2016','searchParams','CollaborationDataLoaderController','IMessageService','UniverNetwork','[RemoteUniscriptService]:\x20no\x20focused\x20unit','on-line-icon_clip0_910_349','CollaborationStatus','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sessionTicket','defineProperty'];_0x276d=function(){return _0x252eaa;};return _0x276d();}(function(_0xa40f83,_0x3951a8){const _0x105a11=_0x1e96,_0x252545=_0xa40f83();while(!![]){try{const _0x3e8963=parseInt(_0x105a11(0x119))/0x1*(parseInt(_0x105a11(0x37b))/0x2)+parseInt(_0x105a11(0x2ea))/0x3+parseInt(_0x105a11(0x356))/0x4*(parseInt(_0x105a11(0x2b6))/0x5)+parseInt(_0x105a11(0x113))/0x6*(parseInt(_0x105a11(0xd5))/0x7)+-parseInt(_0x105a11(0xe5))/0x8+parseInt(_0x105a11(0xeb))/0x9*(-parseInt(_0x105a11(0x142))/0xa)+-parseInt(_0x105a11(0x2ae))/0xb*(-parseInt(_0x105a11(0x1aa))/0xc);if(_0x3e8963===_0x3951a8)break;else _0x252545['push'](_0x252545['shift']());}catch(_0xfd562b){_0x252545['push'](_0x252545['shift']());}}}(_0x276d,0x6fcf8),function(_0x102fe5,_0x1a16fe){const _0x14ea45=_0x1e96;typeof exports==_0x14ea45(0x2ac)&&typeof module<'u'?_0x1a16fe(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=='function'&&define[_0x14ea45(0x238)]?define(['exports',_0x14ea45(0x1f4),_0x14ea45(0x91),_0x14ea45(0x290),_0x14ea45(0x2a6),_0x14ea45(0xb6),'@univerjs/design',_0x14ea45(0x34d),_0x14ea45(0x10d),_0x14ea45(0x191),_0x14ea45(0x130),_0x14ea45(0x2e4),_0x14ea45(0x22a),'@univerjs/drawing',_0x14ea45(0x1b4),_0x14ea45(0x34a),_0x14ea45(0x2eb),'rxjs/operators',_0x14ea45(0x128)],_0x1a16fe):(_0x102fe5=typeof globalThis<'u'?globalThis:_0x102fe5||self,_0x1a16fe(_0x102fe5[_0x14ea45(0x369)]={},_0x102fe5[_0x14ea45(0x262)],_0x102fe5['UniverProCollaborationClient'],_0x102fe5[_0x14ea45(0x242)],_0x102fe5[_0x14ea45(0x12c)],_0x102fe5['rxjs'],_0x102fe5['UniverDesign'],_0x102fe5[_0x14ea45(0x262)],_0x102fe5[_0x14ea45(0x346)],_0x102fe5['UniverSheets'],_0x102fe5[_0x14ea45(0x90)],_0x102fe5[_0x14ea45(0x1e8)],_0x102fe5['UniverDocsUi'],_0x102fe5[_0x14ea45(0x273)],_0x102fe5[_0x14ea45(0x36c)],_0x102fe5[_0x14ea45(0x1e1)],_0x102fe5[_0x14ea45(0x25b)],_0x102fe5['rxjs']['operators'],_0x102fe5['UniverSheetsUi']));}(this,function(_0x606468,_0x5c5bf7,_0x1fb0d5,_0x51c300,_0x316cc8,_0x26ac39,_0x1d9515,_0x1d7edf,_0x25dc54,_0x5898ab,_0x50dad4,_0x3f6e7a,_0x517afe,_0x13674f,_0x564972,_0x1f24cd,_0x4f54c4,_0x7a3377,_0x38208b){'use strict';const _0x17d35d=_0x1e96;var _0x2fa194=Object['defineProperty'],_0x55c694=(_0x4c1ec3,_0x45ee3c,_0x205384)=>_0x45ee3c in _0x4c1ec3?_0x2fa194(_0x4c1ec3,_0x45ee3c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x205384}):_0x4c1ec3[_0x45ee3c]=_0x205384,_0x3a1755=(_0x5dbb7a,_0x43351e,_0x2d6703)=>_0x55c694(_0x5dbb7a,typeof _0x43351e!='symbol'?_0x43351e+'':_0x43351e,_0x2d6703);function _0x378932({ref:_0x554c64,..._0x456568}){const _0x16307b=_0x1e96,{icon:_0x3df70d,id:_0x4152f5,className:_0x2c8bad,extend:_0xb3c899,..._0x10cb63}=_0x456568,_0x32d025=(_0x16307b(0x12e)+_0x4152f5+'\x20'+(_0x2c8bad||''))['trim'](),_0x8abd19=_0x1d7edf['useRef']('_'+_0xcab300());return _0xf80eeb(_0x3df70d,''+_0x4152f5,{'defIds':_0x3df70d[_0x16307b(0x8b)],'idSuffix':_0x8abd19['current']},{'ref':_0x554c64,'className':_0x32d025,..._0x10cb63},_0xb3c899);}function _0xf80eeb(_0x3b0f8d,_0x300428,_0x4ba0ac,_0x29e412,_0x2c3e68){const _0x29879a=_0x1e96;return _0x1d7edf[_0x29879a(0x301)](_0x3b0f8d[_0x29879a(0x154)],{'key':_0x300428,..._0x4c0a5b(_0x3b0f8d,_0x4ba0ac,_0x2c3e68),..._0x29e412},(_0x2ab4f8(_0x3b0f8d,_0x4ba0ac)[_0x29879a(0x10a)]||[])[_0x29879a(0x10e)]((_0x435e11,_0x361436)=>_0xf80eeb(_0x435e11,_0x300428+'-'+_0x3b0f8d[_0x29879a(0x154)]+'-'+_0x361436,_0x4ba0ac,void 0x0,_0x2c3e68)));}function _0x4c0a5b(_0x43843e,_0x35e274,_0x144f6c){const _0x2fee40=_0x1e96,_0x3211c6={..._0x43843e[_0x2fee40(0xe1)]};_0x144f6c!=null&&_0x144f6c[_0x2fee40(0x286)]&&_0x3211c6[_0x2fee40(0x139)]===_0x2fee40(0x286)&&(_0x3211c6['fill']=_0x144f6c[_0x2fee40(0x286)]),_0x43843e['tag']===_0x2fee40(0x1d3)&&_0x3211c6['id']&&(_0x3211c6['id']=_0x3211c6['id']+_0x35e274[_0x2fee40(0x304)]),Object['entries'](_0x3211c6)['forEach'](([_0x1a5ac5,_0x77105f])=>{const _0x3324fb=_0x2fee40;_0x1a5ac5===_0x3324fb(0x1d3)&&typeof _0x77105f=='string'&&(_0x3211c6[_0x1a5ac5]=_0x77105f[_0x3324fb(0x35c)](/url\(#(.*)\)/,_0x3324fb(0x107)+_0x35e274[_0x3324fb(0x304)]+')'));});const {defIds:_0x3f43be}=_0x35e274;return!_0x3f43be||_0x3f43be['length']===0x0||(_0x43843e[_0x2fee40(0x154)]==='use'&&_0x3211c6[_0x2fee40(0x328)]&&(_0x3211c6[_0x2fee40(0x328)]=_0x3211c6[_0x2fee40(0x328)]+_0x35e274[_0x2fee40(0x304)]),Object['entries'](_0x3211c6)[_0x2fee40(0x23f)](([_0xddb639,_0x26c6a7])=>{const _0x342cc8=_0x2fee40;typeof _0x26c6a7=='string'&&(_0x3211c6[_0xddb639]=_0x26c6a7[_0x342cc8(0x35c)](/url\(#(.*)\)/,'url(#$1'+_0x35e274[_0x342cc8(0x304)]+')'));})),_0x3211c6;}function _0x2ab4f8(_0x1892ce,_0x8b616e){const _0xd0e1f9=_0x1e96;var _0x3330ec;const {defIds:_0x41e178}=_0x8b616e;return!_0x41e178||_0x41e178[_0xd0e1f9(0x2a5)]===0x0?_0x1892ce:_0x1892ce[_0xd0e1f9(0x154)]===_0xd0e1f9(0xb1)&&((_0x3330ec=_0x1892ce[_0xd0e1f9(0x10a)])!=null&&_0x3330ec[_0xd0e1f9(0x2a5)])?{..._0x1892ce,'children':_0x1892ce[_0xd0e1f9(0x10a)]['map'](_0x52f982=>typeof _0x52f982[_0xd0e1f9(0xe1)]['id']==_0xd0e1f9(0xbb)&&_0x41e178&&_0x41e178[_0xd0e1f9(0x2e8)](_0x52f982['attrs']['id'])?{..._0x52f982,'attrs':{..._0x52f982[_0xd0e1f9(0xe1)],'id':_0x52f982[_0xd0e1f9(0xe1)]['id']+_0x8b616e['idSuffix']}}:_0x52f982)}:_0x1892ce;}function _0xcab300(){const _0x454db2=_0x1e96;return Math[_0x454db2(0x268)]()[_0x454db2(0x155)](0x24)[_0x454db2(0xd4)](0x2,0x8);}_0x378932[_0x17d35d(0x23e)]=_0x17d35d(0xf6);const _0x509446={'tag':_0x17d35d(0x10f),'attrs':{'xmlns':_0x17d35d(0x2e2),'fill':'none','viewBox':_0x17d35d(0x100),'width':_0x17d35d(0x35b),'height':_0x17d35d(0x35b)},'children':[{'tag':'g','attrs':{'clipPath':_0x17d35d(0xff)},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'stroke':_0x17d35d(0x30a),'d':'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','strokeLinecap':_0x17d35d(0x29f),'strokeLinejoin':_0x17d35d(0x29f),'strokeWidth':1.2}}]},{'tag':_0x17d35d(0xb1),'attrs':{},'children':[{'tag':_0x17d35d(0x19a),'attrs':{'id':_0x17d35d(0x314)},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'fill':_0x17d35d(0x1af),'d':_0x17d35d(0x2b9)}}]}]}],'defIds':[_0x17d35d(0x314)]},_0x395cc3=_0x1d7edf[_0x17d35d(0x1a2)](function(_0x53714d,_0x15199e){const _0x2be05a=_0x17d35d;return _0x1d7edf['createElement'](_0x378932,Object[_0x2be05a(0x138)]({},_0x53714d,{'id':'off-line-icon','ref':_0x15199e,'icon':_0x509446}));});_0x395cc3[_0x17d35d(0x23e)]=_0x17d35d(0x197);const _0x517233={'tag':_0x17d35d(0x10f),'attrs':{'xmlns':_0x17d35d(0x2e2),'fill':_0x17d35d(0x1c2),'viewBox':_0x17d35d(0x1e4),'width':_0x17d35d(0x35b),'height':_0x17d35d(0x35b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'stroke':_0x17d35d(0x30a),'d':_0x17d35d(0x234),'strokeLinecap':_0x17d35d(0x29f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x17d35d(0xb1),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x17d35d(0x1ea)},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'fill':_0x17d35d(0x1af),'d':'M0\x200H16V16H0z','transform':_0x17d35d(0xb3)}}]}]}],'defIds':[_0x17d35d(0x1ea)]},_0x264afe=_0x1d7edf[_0x17d35d(0x1a2)](function(_0x19923b,_0x17d755){const _0x139bfd=_0x17d35d;return _0x1d7edf['createElement'](_0x378932,Object['assign']({},_0x19923b,{'id':_0x139bfd(0x32f),'ref':_0x17d755,'icon':_0x517233}));});_0x264afe['displayName']=_0x17d35d(0xda);function _0x371803(_0x19d419){const _0x7d4125=_0x17d35d;switch(_0x19d419){case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x28b)]:return _0x7d4125(0x9f);case _0x1fb0d5[_0x7d4125(0x1eb)]['CONFLICT']:return'collabStatus.conflict';case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x222)]:return _0x7d4125(0x202);case _0x1fb0d5[_0x7d4125(0x1eb)][_0x7d4125(0x1b8)]:return _0x7d4125(0x251);case _0x1fb0d5[_0x7d4125(0x1eb)][_0x7d4125(0xa7)]:case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x27e)]:return _0x7d4125(0x213);case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x379)]:case _0x1fb0d5[_0x7d4125(0x1eb)][_0x7d4125(0x281)]:return'collabStatus.synced';}}function _0x30aed3(_0x267312){const _0x20f9d0=_0x17d35d,{status$:_0x453b01}=_0x267312,_0x8095ca=_0x316cc8['useObservable'](_0x453b01,_0x1fb0d5[_0x20f9d0(0x1eb)][_0x20f9d0(0x1b8)]),_0x3787d8=_0x316cc8[_0x20f9d0(0x244)](_0x51c300[_0x20f9d0(0x31f)]),_0x4be3c8=_0x316cc8[_0x20f9d0(0x244)](_0x1fb0d5[_0x20f9d0(0x34c)]),_0xb9115e=_0x8095ca!==_0x1fb0d5[_0x20f9d0(0x1eb)][_0x20f9d0(0x28b)],_0xc4c677=_0x3787d8['t'](_0x371803(_0x8095ca)),_0x33d027=_0xb9115e?_0x5c5bf7[_0x20f9d0(0x2aa)](_0x264afe,{}):_0x5c5bf7[_0x20f9d0(0x2aa)](_0x395cc3,{}),_0x56ad6c=_0x1d7edf[_0x20f9d0(0x259)](()=>{const _0x39ab1c=_0x20f9d0;_0xb9115e||_0x4be3c8[_0x39ab1c(0x19d)]();},[_0xb9115e,_0x4be3c8]);function _0x16f139(){const _0x409b42=_0x20f9d0;return _0x5c5bf7[_0x409b42(0x21d)]('div',{'className':_0x409b42(0x1cc),'onClick':_0x56ad6c,'children':[_0x5c5bf7[_0x409b42(0x2aa)](_0x409b42(0x2f4),{'className':_0x1d9515[_0x409b42(0x11d)](_0x409b42(0x183),{'univer-text-green-500':_0xb9115e,'univer-text-red-500':!_0xb9115e}),'children':_0x33d027}),_0x5c5bf7[_0x409b42(0x2aa)](_0x409b42(0x2f4),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xc4c677})]});}return _0xb9115e?_0x16f139():_0x5c5bf7[_0x20f9d0(0x2aa)](_0x1d9515[_0x20f9d0(0x272)],{'title':_0x3787d8['t'](_0x20f9d0(0xde)),'children':_0x16f139()});}var _0x122733=Object['getOwnPropertyDescriptor'],_0x2a72fd=(_0x3a3d4d,_0x58e57c,_0x194b09,_0x1972c3)=>{const _0x4c7689=_0x17d35d;for(var _0x2cff63=_0x1972c3>0x1?void 0x0:_0x1972c3?_0x122733(_0x58e57c,_0x194b09):_0x58e57c,_0x161baa=_0x3a3d4d[_0x4c7689(0x2a5)]-0x1,_0x40008d;_0x161baa>=0x0;_0x161baa--)(_0x40008d=_0x3a3d4d[_0x161baa])&&(_0x2cff63=_0x40008d(_0x2cff63)||_0x2cff63);return _0x2cff63;},_0x5801d5=(_0x2b6d7f,_0x50ae21)=>(_0x27500d,_0x27d83b)=>_0x50ae21(_0x27500d,_0x27d83b,_0x2b6d7f);_0x606468[_0x17d35d(0x17b)]=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x1620a0,_0x14dbd9,_0x5b67c6,_0x420f5f){const _0xad6e6a=_0x17d35d;super(),_0x3a1755(this,_0xad6e6a(0x1b0),new _0x26ac39[(_0xad6e6a(0xa6))](_0x1fb0d5[_0xad6e6a(0x1eb)][_0xad6e6a(0x1b8)])),(this[_0xad6e6a(0x135)]=_0x1620a0,this[_0xad6e6a(0x111)]=_0x14dbd9,this[_0xad6e6a(0x275)]=_0x5b67c6,this[_0xad6e6a(0x255)]=_0x420f5f,this[_0xad6e6a(0x339)](),this[_0xad6e6a(0x171)]());}[_0x17d35d(0x171)](){const _0x1a8346=_0x17d35d;this[_0x1a8346(0x26f)](this['_univerInstanceService']['focused$'][_0x1a8346(0x28e)](_0x26ac39[_0x1a8346(0x1b2)](()=>{const _0x19adac=_0x1a8346,_0x3ddbae=this[_0x19adac(0x135)][_0x19adac(0x224)]();return _0x3ddbae?this[_0x19adac(0x275)][_0x19adac(0x8f)](_0x3ddbae[_0x19adac(0x288)]()):_0x26ac39['of'](null);}),_0x26ac39[_0x1a8346(0x1b2)](_0xaf9c92=>_0xaf9c92?_0xaf9c92[_0x1a8346(0x2f7)]:_0x26ac39['of'](_0x1fb0d5['CollaborationStatus'][_0x1a8346(0x1b8)])))['subscribe'](_0x161e38=>{const _0x3305fc=_0x1a8346;this[_0x3305fc(0x1b0)]['next'](_0x161e38);}));}[_0x17d35d(0x339)](){const _0x4763a3=_0x17d35d;this[_0x4763a3(0x26f)](this[_0x4763a3(0x255)][_0x4763a3(0x371)](_0x316cc8[_0x4763a3(0x16a)]['HEADER_MENU'],()=>_0x316cc8[_0x4763a3(0x2b1)](_0x40f696({'status$':this[_0x4763a3(0x1b0)][_0x4763a3(0x178)]()}),this[_0x4763a3(0x111)])));}},_0x606468['DesktopCollaborationStatusDisplayController']=_0x2a72fd([_0x5801d5(0x0,_0x51c300[_0x17d35d(0x181)]),_0x5801d5(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x51c300['Injector'])),_0x5801d5(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5[_0x17d35d(0x311)])),_0x5801d5(0x3,_0x316cc8[_0x17d35d(0x249)])],_0x606468[_0x17d35d(0x17b)]);function _0x40f696(_0x429182){const {status$:_0x2411a0}=_0x429182;return function(){const _0x220e7d=_0x1e96;return _0x5c5bf7[_0x220e7d(0x2aa)](_0x30aed3,{'status$':_0x2411a0});};}const _0x1fcf33=_0x51c300[_0x17d35d(0x205)]('uni.network.url-service');var _0xba0257=Object[_0x17d35d(0x1b1)],_0x287dfb=(_0x452080,_0x3e8f74,_0x2eb359,_0x2de4bf)=>{const _0x270caa=_0x17d35d;for(var _0x5b413d=_0x2de4bf>0x1?void 0x0:_0x2de4bf?_0xba0257(_0x3e8f74,_0x2eb359):_0x3e8f74,_0x4da03c=_0x452080[_0x270caa(0x2a5)]-0x1,_0x373ab3;_0x4da03c>=0x0;_0x4da03c--)(_0x373ab3=_0x452080[_0x4da03c])&&(_0x5b413d=_0x373ab3(_0x5b413d)||_0x5b413d);return _0x5b413d;},_0x36f2ae=(_0xf8f983,_0x3c78cc)=>(_0x1b234d,_0x4fd2f1)=>_0x3c78cc(_0x1b234d,_0x4fd2f1,_0xf8f983);_0x606468[_0x17d35d(0x1e6)]=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x1592d1,_0x4644ce,_0x365ce3,_0x26b0e8,_0x17979e){const _0x3a982e=_0x17d35d;super(),this[_0x3a982e(0x2c2)]=_0x1592d1,this['_logService']=_0x4644ce,this[_0x3a982e(0xf8)]=_0x365ce3,this['_dataLoaderService']=_0x26b0e8,_0x17979e?_0x17979e==null||_0x17979e[_0x3a982e(0x1cd)]()[_0x3a982e(0x1be)](()=>this[_0x3a982e(0x323)]()):(this['_logService'][_0x3a982e(0x355)](_0x3a982e(0x370),_0x3a982e(0x2bb)),this[_0x3a982e(0x323)]());}async['_init'](){const _0x3464f2=_0x17d35d,_0x5cdef4=this[_0x3464f2(0x2c2)]['getParam'](_0x3464f2(0x13c)),_0x2cf8b9=this[_0x3464f2(0x2c2)]['getParam'](_0x3464f2(0x13f)),_0x19966d=this[_0x3464f2(0x2c2)][_0x3464f2(0x169)](_0x3464f2(0xbc));if(!_0x5cdef4||!_0x2cf8b9){this[_0x3464f2(0x11b)]['debug'](_0x3464f2(0x370),_0x3464f2(0x1d9));return;}const _0x17d276=await this[_0x3464f2(0x284)]['loadUnit'](_0x5cdef4,Number(_0x2cf8b9),_0x19966d);_0x17d276&&_0x17d276 instanceof _0x51c300[_0x3464f2(0x1ca)]&&this['_setupSubUnitSync'](_0x17d276);}async[_0x17d35d(0x2c1)](_0x5e592a){const _0x52ee4f=_0x17d35d;await this[_0x52ee4f(0x1a7)](_0x5e592a),_0x5e592a[_0x52ee4f(0x2ca)][_0x52ee4f(0x28e)](_0x26ac39[_0x52ee4f(0x2d3)](this[_0x52ee4f(0x30c)]))[_0x52ee4f(0x2c8)](_0x175bb9=>{const _0x4cf1c7=_0x52ee4f;_0x175bb9&&this[_0x4cf1c7(0x1fd)](_0x175bb9);}),this[_0x52ee4f(0x2c2)][_0x52ee4f(0xcb)][_0x52ee4f(0x28e)](_0x26ac39[_0x52ee4f(0x2d3)](this[_0x52ee4f(0x30c)]))['subscribe'](()=>this[_0x52ee4f(0x1a7)](_0x5e592a));}[_0x17d35d(0x1fd)](_0x2733a8,_0x9eb3d6=!0x1){const _0x190bbf=_0x17d35d,_0x6c641b=this['_urlService']['getParam'](_0x190bbf(0xbc));_0x2733a8[_0x190bbf(0x295)]()!==_0x6c641b&&this[_0x190bbf(0x2c2)][_0x190bbf(0x1a6)](_0x190bbf(0xbc),_0x2733a8[_0x190bbf(0x295)](),_0x9eb3d6);}async[_0x17d35d(0x1a7)](_0x50a2bf){const _0xb27cb4=_0x17d35d;var _0x4788c7;const _0x35e5ba=this[_0xb27cb4(0x2c2)][_0xb27cb4(0x169)](_0xb27cb4(0xbc));if(!_0x35e5ba||!_0x50a2bf[_0xb27cb4(0xfb)](_0x35e5ba)){const _0x5b6ded=_0x50a2bf['getUnhiddenWorksheets']()[0x0],_0x1c113a=_0x50a2bf['getSheetBySheetId'](_0x5b6ded);if(!_0x1c113a)return;this[_0xb27cb4(0x1fd)](_0x1c113a,!0x0),await this[_0xb27cb4(0xf8)]['executeCommand'](_0x5898ab[_0xb27cb4(0x347)]['id'],{'unitId':_0x50a2bf[_0xb27cb4(0x288)](),'subUnitId':_0x5b6ded});return;}((_0x4788c7=_0x50a2bf[_0xb27cb4(0xe7)]())==null?void 0x0:_0x4788c7['getSheetId']())!==_0x35e5ba&&await this[_0xb27cb4(0xf8)]['executeCommand'](_0x5898ab[_0xb27cb4(0x347)]['id'],{'unitId':_0x50a2bf['getUnitId'](),'subUnitId':_0x35e5ba});}},_0x606468[_0x17d35d(0x1e6)]=_0x287dfb([_0x36f2ae(0x0,_0x1fcf33),_0x36f2ae(0x1,_0x51c300[_0x17d35d(0x1ac)]),_0x36f2ae(0x2,_0x51c300[_0x17d35d(0x101)]),_0x36f2ae(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5[_0x17d35d(0x292)])),_0x36f2ae(0x4,_0x51c300[_0x17d35d(0xa2)](_0x25dc54[_0x17d35d(0x37a)]))],_0x606468[_0x17d35d(0x1e6)]);var _0x5d1b7d=Object[_0x17d35d(0x1b1)],_0x562d88=(_0x344650,_0x2d3cbe,_0x4fc7c0,_0x3193c2)=>{const _0x1164a4=_0x17d35d;for(var _0x25f13d=_0x3193c2>0x1?void 0x0:_0x3193c2?_0x5d1b7d(_0x2d3cbe,_0x4fc7c0):_0x2d3cbe,_0x99c98c=_0x344650[_0x1164a4(0x2a5)]-0x1,_0x224de9;_0x99c98c>=0x0;_0x99c98c--)(_0x224de9=_0x344650[_0x99c98c])&&(_0x25f13d=_0x224de9(_0x25f13d)||_0x25f13d);return _0x25f13d;},_0x1744e7=(_0x1aed5a,_0x20cd9e)=>(_0x4cdf41,_0x5763b6)=>_0x20cd9e(_0x4cdf41,_0x5763b6,_0x1aed5a);let _0x47d9f6=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x7dba11,_0x877133){const _0xf00362=_0x17d35d;super(),this[_0xf00362(0x2d5)]=_0x7dba11,this[_0xf00362(0x285)]=_0x877133,this[_0xf00362(0x323)]();}[_0x17d35d(0x323)](){const _0x4e137f=_0x17d35d,_0x5b720b=this;this['disposeWithMe'](this[_0x4e137f(0x2d5)][_0x4e137f(0x103)]({'onBeforePasteImage':async _0x20ab3c=>{const _0x5d619c=_0x4e137f,_0xa8a8e9=await _0x5b720b[_0x5d619c(0x285)][_0x5d619c(0xb2)](_0x20ab3c);return _0xa8a8e9?{'source':_0xa8a8e9[_0x5d619c(0x23a)],'imageSourceType':_0xa8a8e9[_0x5d619c(0x2fa)]}:null;}}));}};_0x47d9f6=_0x562d88([_0x1744e7(0x0,_0x517afe[_0x17d35d(0xee)]),_0x1744e7(0x1,_0x13674f[_0x17d35d(0x1d2)])],_0x47d9f6);const _0x3d1f79=['purple.300',_0x17d35d(0x32b),_0x17d35d(0x228),'red.300',_0x17d35d(0xf2),_0x17d35d(0x13e)];class _0x18a9e9 extends _0x51c300[_0x17d35d(0x2dd)]{constructor(){const _0x32e919=_0x17d35d;super(...arguments),_0x3a1755(this,'_assignedColors',new Map()),_0x3a1755(this,_0x32e919(0x185),0x0);}[_0x17d35d(0x14d)](_0x2d4105){const _0x2593d5=_0x17d35d;if(this[_0x2593d5(0xd7)][_0x2593d5(0x325)](_0x2d4105))return this[_0x2593d5(0xd7)][_0x2593d5(0x16c)](_0x2d4105);const _0xa71d64=_0x3d1f79[this[_0x2593d5(0x185)]];return this[_0x2593d5(0x185)]=(this[_0x2593d5(0x185)]+0x1)%_0x3d1f79['length'],this[_0x2593d5(0xd7)]['set'](_0x2d4105,_0xa71d64),_0xa71d64;}}function _0x53d8f3(_0x4558a7){const _0x4ec3fa=_0x17d35d;let _0x33f554='';for(const _0x25292d of _0x4558a7){const {startOffset:_0x4975dc,endOffset:_0x97996d,isActive:_0x400b64,rangeType:_0x51d4af,segmentId:_0x51c6b6,segmentPage:_0x4119f1}=_0x25292d;_0x33f554[_0x4ec3fa(0x2a5)]&&(_0x33f554+=','),_0x33f554+=_0x4975dc+':'+_0x97996d+':'+(_0x400b64?'1':'0')+':'+_0x51d4af+':'+_0x51c6b6+':'+_0x4119f1;}return _0x33f554;}function _0x3f574f(_0x3ba5fc){const _0x216f48=_0x17d35d,_0x4fd1b0=_0x3ba5fc['split'](','),_0x64c880=[];for(const _0x54358b of _0x4fd1b0){const [_0x202d40,_0x2d6a71,_0x54548e,_0x872dde,_0x26b678,_0x3b8adf]=_0x54358b['split'](':');_0x64c880[_0x216f48(0x29d)]({'startOffset':Number(_0x202d40),'endOffset':Number(_0x2d6a71),'collapsed':_0x202d40===_0x2d6a71,'isActive':_0x54548e==='1','rangeType':_0x872dde===_0x51c300['DOC_RANGE_TYPE'][_0x216f48(0x125)]?_0x51c300[_0x216f48(0x252)][_0x216f48(0x125)]:_0x51c300[_0x216f48(0x252)][_0x216f48(0x221)],'segmentId':typeof _0x26b678=='string'?String(_0x26b678):'','segmentPage':Number(_0x3b8adf!=null?_0x3b8adf:-0x1)});}return _0x64c880[_0x216f48(0x33f)](_0x50f13f=>_0x50f13f['isActive'])||(_0x64c880[0x0][_0x216f48(0xc4)]=!0x0),_0x64c880;}class _0x2bcc62 extends _0x51c300['RxDisposable']{constructor(){const _0x1d3807=_0x17d35d;super(...arguments),_0x3a1755(this,_0x1d3807(0x17f),new _0x26ac39[(_0x1d3807(0xa6))](null)),_0x3a1755(this,_0x1d3807(0xbd),this[_0x1d3807(0x17f)][_0x1d3807(0x178)]());}['syncEditingCollabCursor'](_0x40bc4e){const _0x432845=_0x17d35d,{unitID:_0x4ecb7e,memberID:_0x57a13c,textRanges:_0x18cc78}=_0x40bc4e,_0x5def2c=_0x53d8f3(_0x18cc78);if(_0x5def2c==='')return;const _0x110ae8={'unitID':_0x4ecb7e,'memberID':_0x57a13c,'selection':_0x5def2c};this[_0x432845(0x17f)][_0x432845(0x287)](_0x110ae8);}}var _0x4daeae=Object[_0x17d35d(0x1b1)],_0x22f911=(_0x16fdf0,_0x4e00a6,_0x3efcda,_0x3701fc)=>{for(var _0x265da3=_0x3701fc>0x1?void 0x0:_0x3701fc?_0x4daeae(_0x4e00a6,_0x3efcda):_0x4e00a6,_0x39ac9c=_0x16fdf0['length']-0x1,_0x4f66b4;_0x39ac9c>=0x0;_0x39ac9c--)(_0x4f66b4=_0x16fdf0[_0x39ac9c])&&(_0x265da3=_0x4f66b4(_0x265da3)||_0x265da3);return _0x265da3;},_0x1da7b2=(_0x9b39ba,_0x3ba84e)=>(_0x432dda,_0x469e8b)=>_0x3ba84e(_0x432dda,_0x469e8b,_0x9b39ba);const _0x214f40=0x12c,_0x3a5aa4=0x64;let _0x52f626=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x4891b1,_0x41d6e9,_0x4319c9,_0x422e73,_0x8a6ed7,_0x4371a5,_0x1a0383,_0x44a22d,_0x711baf){const _0x103dba=_0x17d35d;super(),_0x3a1755(this,_0x103dba(0x302),!0x1),_0x3a1755(this,_0x103dba(0x323),!0x1),_0x3a1755(this,_0x103dba(0x329),new _0x26ac39[(_0x103dba(0xa6))](new Map())),_0x3a1755(this,_0x103dba(0x1f9),this[_0x103dba(0x329)][_0x103dba(0x178)]()),_0x3a1755(this,_0x103dba(0x33e),new _0x26ac39[(_0x103dba(0xa6))]([])),_0x3a1755(this,_0x103dba(0x1e0),this[_0x103dba(0x33e)][_0x103dba(0x28e)](_0x26ac39[_0x103dba(0x131)](_0x214f40))),_0x3a1755(this,_0x103dba(0x220),_0x51c300[_0x103dba(0x29a)](_0x307c80=>{const _0x44854d=_0x103dba,_0x47d68b={'eventID':_0x564972[_0x44854d(0xac)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x44854d(0x1dd)],'memberID':this['_session'][_0x44854d(0x223)](),'selection':_0x53d8f3(_0x307c80)}};this[_0x44854d(0x15c)][_0x44854d(0x1ae)](_0x47d68b,this[_0x44854d(0x1dd)]);},_0x3a5aa4)),(this[_0x103dba(0x1dd)]=_0x4891b1,this[_0x103dba(0x15c)]=_0x41d6e9,this[_0x103dba(0x111)]=_0x4319c9,this[_0x103dba(0xc0)]=_0x422e73,this[_0x103dba(0x372)]=_0x8a6ed7,this[_0x103dba(0xae)]=_0x4371a5,this[_0x103dba(0x2b8)]=_0x1a0383,this['_univerInstanceService']=_0x44a22d,this['_commandService']=_0x711baf);}get[_0x17d35d(0x9e)](){const _0x41a8a2=_0x17d35d;return this['_cursorInfo$'][_0x41a8a2(0xf1)]();}get[_0x17d35d(0x2b0)](){const _0x4047e0=_0x17d35d;return this['_roomMembers$'][_0x4047e0(0xf1)]();}['dispose'](){const _0x289a29=_0x17d35d;super[_0x289a29(0x1bb)](),this[_0x289a29(0x329)][_0x289a29(0x287)](new Map()),this[_0x289a29(0x329)][_0x289a29(0x2bd)](),this['_roomMembers$'][_0x289a29(0x287)]([]),this['_roomMembers$'][_0x289a29(0x2bd)]();}['init'](){const _0x38c802=_0x17d35d;this['_init']||(this[_0x38c802(0x323)]=!0x0,this[_0x38c802(0x15c)][_0x38c802(0x2e5)][_0x38c802(0x28e)](_0x26ac39[_0x38c802(0x2d3)](this[_0x38c802(0x30c)]))[_0x38c802(0x2c8)](_0x4c45f0=>{const _0x333b00=_0x38c802;_0x4c45f0===_0x1fb0d5['SessionStatus'][_0x333b00(0x368)]?this[_0x333b00(0x1e2)]():this[_0x333b00(0x2a4)]();}),this[_0x38c802(0x15c)]['event$']['pipe'](_0x26ac39[_0x38c802(0x2d3)](this['dispose$']))[_0x38c802(0x2c8)](_0x10ca19=>{const _0x13448e=_0x38c802,_0x29fd92=_0x10ca19[_0x13448e(0x2f0)];_0x29fd92===_0x564972[_0x13448e(0xac)][_0x13448e(0xab)]&&this[_0x13448e(0x2e1)](_0x10ca19),_0x29fd92===_0x564972[_0x13448e(0xac)][_0x13448e(0x27a)]&&this[_0x13448e(0x190)](_0x10ca19);}),this[_0x38c802(0x26f)](this[_0x38c802(0xf8)][_0x38c802(0x161)](_0x398d4d=>{const _0x16b89d=_0x38c802,_0x4fdf94=_0x398d4d[_0x16b89d(0x11e)];_0x4fdf94!=null&&this[_0x16b89d(0x302)]&&_0x398d4d['id']===_0x1f24cd[_0x16b89d(0x219)]['id']&&_0x4fdf94[_0x16b89d(0x279)]===this[_0x16b89d(0x1dd)]&&_0x4fdf94[_0x16b89d(0x35f)]===!0x1&&_0x4fdf94[_0x16b89d(0x207)]['length']>0x0&&this[_0x16b89d(0x220)](_0x4fdf94[_0x16b89d(0x207)]);})),this[_0x38c802(0xae)][_0x38c802(0xbd)]['pipe'](_0x26ac39[_0x38c802(0x2d3)](this['dispose$']))['subscribe'](_0x541095=>{const _0x10d9ed=_0x38c802;if((_0x541095==null?void 0x0:_0x541095[_0x10d9ed(0x1dd)])!==this[_0x10d9ed(0x1dd)])return;const _0x1f9259={'eventID':_0x564972[_0x10d9ed(0xac)]['UPDATE_CURSOR'],'data':_0x541095};this['_onCursorUpdate'](_0x1f9259);}),this[_0x38c802(0x26f)](this[_0x38c802(0xf8)][_0x38c802(0x161)](_0x4607e9=>{const _0x1cb5a7=_0x38c802;if(_0x4607e9[_0x1cb5a7(0x11e)]==null)return;const _0x5b3366=_0x4607e9[_0x1cb5a7(0x11e)];if(_0x4607e9['id']!==_0x1f24cd['RichTextEditingMutation']['id']||_0x5b3366[_0x1cb5a7(0x279)]!==this[_0x1cb5a7(0x1dd)])return;const _0x22f741={'id':'doc.mutation.rich-text-editing','params':_0x5b3366},_0x2b2ba9=this[_0x1cb5a7(0x9e)];for(const [_0x5adcd9,_0x1cedf2]of _0x2b2ba9){const _0x5ac6a6={'id':_0x1cb5a7(0x1f3),'params':{'unitId':this[_0x1cb5a7(0x1dd)],'actions':null,'textRanges':_0x1cedf2[_0x1cb5a7(0x207)]}},_0x1d4333=this[_0x1cb5a7(0x2b8)][_0x1cb5a7(0x1cb)](_0x22f741,_0x5ac6a6,!0x1);if(_0x564972[_0x1cb5a7(0x218)](_0x1d4333))throw _0x1d4333['error'];_0x2b2ba9['set'](_0x5adcd9,{..._0x1cedf2,'ranges':_0x1d4333['m2Prime'][_0x1cb5a7(0x11e)]['textRanges']});}queueMicrotask(()=>{const _0x557a85=_0x1cb5a7;this[_0x557a85(0x329)][_0x557a85(0x287)](_0x2b2ba9);});})));}[_0x17d35d(0x2e1)](_0x4ba7a2){const _0x2b5396=_0x17d35d;var _0x50fe41,_0x4c99d1;const {memberID:_0x347078,selection:_0x50a431}=_0x4ba7a2[_0x2b5396(0xf0)],_0x1e50ba=_0x3f574f(_0x50a431),_0x4adbc8=(_0x4c99d1=(_0x50fe41=this[_0x2b5396(0x372)][_0x2b5396(0x22e)](this[_0x2b5396(0x1dd)],_0x347078))==null?void 0x0:_0x50fe41[_0x2b5396(0x1b3)])!=null?_0x4c99d1:_0x2b5396(0x25d),_0x50926b={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x347078),'name':_0x4adbc8,'ranges':_0x1e50ba},_0x39b9a8=this[_0x2b5396(0x9e)];_0x39b9a8[_0x2b5396(0x176)](_0x347078,_0x50926b),this[_0x2b5396(0x329)][_0x2b5396(0x287)](_0x39b9a8);}[_0x17d35d(0x190)](_0x227840){const _0x3f507f=_0x17d35d,{memberID:_0x37b83f}=_0x227840[_0x3f507f(0xf0)],_0x47fd13=this['cursorInfo'];_0x47fd13['delete'](_0x37b83f),this['_cursorInfo$']['next'](_0x47fd13);}[_0x17d35d(0x1e2)](){const _0x35ebb2=_0x17d35d;var _0x1951aa;if(this[_0x35ebb2(0x302)]=!0x0,((_0x1951aa=this[_0x35ebb2(0x135)]['getFocusedUnit']())==null?void 0x0:_0x1951aa[_0x35ebb2(0x288)]())!==this[_0x35ebb2(0x1dd)])return;const _0x286951=this['_injector'][_0x35ebb2(0x16c)](_0x1f24cd[_0x35ebb2(0x2ab)])[_0x35ebb2(0x18e)]();Array[_0x35ebb2(0xb9)](_0x286951)&&_0x286951[_0x35ebb2(0x2a5)]>0x0&&this[_0x35ebb2(0x220)](_0x286951);}[_0x17d35d(0x2a4)](){const _0x1e250b=_0x17d35d;this[_0x1e250b(0x302)]=!0x1;}};_0x52f626=_0x22f911([_0x1da7b2(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x1da7b2(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x18a9e9)),_0x1da7b2(0x4,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5['MemberService'])),_0x1da7b2(0x5,_0x51c300['Inject'](_0x2bcc62)),_0x1da7b2(0x6,_0x564972[_0x17d35d(0x158)]),_0x1da7b2(0x7,_0x51c300[_0x17d35d(0x181)]),_0x1da7b2(0x8,_0x51c300[_0x17d35d(0x101)])],_0x52f626);var _0x6d5007=Object[_0x17d35d(0x1b1)],_0x4d927b=(_0x5adada,_0x1dabda,_0xb1b5e8,_0x2a568b)=>{const _0x3a7fa6=_0x17d35d;for(var _0xf2161=_0x2a568b>0x1?void 0x0:_0x2a568b?_0x6d5007(_0x1dabda,_0xb1b5e8):_0x1dabda,_0x5110ea=_0x5adada[_0x3a7fa6(0x2a5)]-0x1,_0x31f475;_0x5110ea>=0x0;_0x5110ea--)(_0x31f475=_0x5adada[_0x5110ea])&&(_0xf2161=_0x31f475(_0xf2161)||_0xf2161);return _0xf2161;},_0x8f5e3c=(_0x5b4656,_0x1243a4)=>(_0x242fe7,_0x1203dd)=>_0x1243a4(_0x242fe7,_0x1203dd,_0x5b4656);const _0x392b95=0x12c,_0x48371d=0x64,_0x1e1ad6=()=>{let _0x352555=[],_0x229679=!0x1;return _0x34a44f=>{const _0x2f0bd7=_0x1e96;_0x352555[_0x2f0bd7(0x29d)](_0x34a44f),_0x229679||(_0x229679=!0x0,setTimeout(()=>{_0x352555['forEach'](_0x5a0e40=>_0x5a0e40()),_0x352555=[],_0x229679=!0x1;}));};};let _0x28fe3d=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x66194,_0x5d2974,_0x1d8832,_0x3d7e4c,_0x56e97c,_0x3b3ccb,_0x219c01,_0x209870){const _0x2585dd=_0x17d35d;super(),_0x3a1755(this,_0x2585dd(0x302),!0x1),_0x3a1755(this,'_init',!0x1),_0x3a1755(this,'_cursorInfo$',new _0x26ac39['BehaviorSubject'](new Map())),_0x3a1755(this,_0x2585dd(0x1f9),this[_0x2585dd(0x329)]['asObservable']()),_0x3a1755(this,_0x2585dd(0x33e),new _0x26ac39['BehaviorSubject']([])),_0x3a1755(this,_0x2585dd(0x1e0),this[_0x2585dd(0x33e)]['pipe'](_0x26ac39[_0x2585dd(0x131)](_0x392b95))),_0x3a1755(this,_0x2585dd(0x220),_0x51c300[_0x2585dd(0x29a)]((_0x2b72e0,_0x5207d3)=>{const _0x566cdb=_0x2585dd,_0x465b0f={'eventID':_0x564972[_0x566cdb(0xac)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x566cdb(0x1dd)],'memberID':this[_0x566cdb(0x15c)][_0x566cdb(0x223)](),'selection':_0x4f54c4[_0x566cdb(0x106)](_0x2b72e0,_0x5207d3[_0x566cdb(0x375)])}};this[_0x566cdb(0x15c)][_0x566cdb(0x1ae)](_0x465b0f,this[_0x566cdb(0x1dd)]);},_0x48371d)),(this[_0x2585dd(0x1dd)]=_0x66194,this['_session']=_0x5d2974,this[_0x2585dd(0x111)]=_0x1d8832,this['_colorAssignService']=_0x3d7e4c,this[_0x2585dd(0x372)]=_0x56e97c,this[_0x2585dd(0x135)]=_0x3b3ccb,this[_0x2585dd(0xf8)]=_0x219c01,this[_0x2585dd(0x349)]=_0x209870);}get[_0x17d35d(0x9e)](){const _0x2f96e7=_0x17d35d;return this[_0x2f96e7(0x329)][_0x2f96e7(0xf1)]();}get[_0x17d35d(0x2b0)](){const _0x2f4664=_0x17d35d;return this[_0x2f4664(0x33e)][_0x2f4664(0xf1)]();}['dispose'](){const _0x34c6d5=_0x17d35d;super[_0x34c6d5(0x1bb)](),this[_0x34c6d5(0x329)][_0x34c6d5(0x287)](new Map()),this[_0x34c6d5(0x329)][_0x34c6d5(0x2bd)](),this[_0x34c6d5(0x33e)]['next']([]),this[_0x34c6d5(0x33e)][_0x34c6d5(0x2bd)]();}[_0x17d35d(0x165)](){const _0x3b38cf=_0x17d35d;this['_init']||(this['_init']=!0x0,this[_0x3b38cf(0x15c)][_0x3b38cf(0x2e5)][_0x3b38cf(0x28e)](_0x26ac39[_0x3b38cf(0x2d3)](this['dispose$']))[_0x3b38cf(0x2c8)](_0x5016ca=>{const _0x24c098=_0x3b38cf;_0x5016ca===_0x1fb0d5[_0x24c098(0x20f)][_0x24c098(0x368)]?this[_0x24c098(0x1e2)]():this[_0x24c098(0x2a4)]();}),this[_0x3b38cf(0x15c)][_0x3b38cf(0x95)][_0x3b38cf(0x28e)](_0x26ac39[_0x3b38cf(0x2d3)](this[_0x3b38cf(0x30c)]))[_0x3b38cf(0x2c8)](_0x49b6bc=>{const _0x58e72a=_0x3b38cf,_0x26c579=_0x49b6bc[_0x58e72a(0x2f0)];_0x26c579===_0x564972[_0x58e72a(0xac)]['UPDATE_CURSOR']&&this[_0x58e72a(0x2e1)](_0x49b6bc),_0x26c579===_0x564972[_0x58e72a(0xac)][_0x58e72a(0x27a)]&&this[_0x58e72a(0x190)](_0x49b6bc);}),this[_0x3b38cf(0x240)](),this[_0x3b38cf(0x26f)](this[_0x3b38cf(0xf8)]['onCommandExecuted'](_0x32964b=>{const _0x14149c=_0x3b38cf;if(this[_0x14149c(0x302)]&&_0x32964b['id']===_0x5898ab[_0x14149c(0xec)]['id']&&_0x32964b[_0x14149c(0x11e)][_0x14149c(0x279)]===this[_0x14149c(0x1dd)]){const _0x2a3e98=_0x32964b[_0x14149c(0x11e)];this[_0x14149c(0x220)](_0x2a3e98[_0x14149c(0x194)],_0x2a3e98[_0x14149c(0x2fc)][0x0]);}})));}[_0x17d35d(0x2e1)](_0x4fbbf5){const _0x505b7c=_0x17d35d;var _0x520f55,_0x237992;const {memberID:_0x11c45f,selection:_0x1f209d}=_0x4fbbf5['data'],{sheetName:_0x3dc3aa,range:_0x2ddb6b}=_0x4f54c4[_0x505b7c(0x1ef)](_0x1f209d),_0x26d7e9={'name':(_0x237992=(_0x520f55=this[_0x505b7c(0x372)]['getMember'](this[_0x505b7c(0x1dd)],_0x11c45f))==null?void 0x0:_0x520f55[_0x505b7c(0x1b3)])!=null?_0x237992:_0x505b7c(0x25d),'range':this[_0x505b7c(0x19c)](_0x3dc3aa,_0x2ddb6b),'sheetID':_0x3dc3aa,'color':this[_0x505b7c(0xc0)][_0x505b7c(0x14d)](_0x11c45f),'selection':_0x1f209d},_0x77edb7=this['cursorInfo'];_0x77edb7[_0x505b7c(0x176)](_0x11c45f,_0x26d7e9),this[_0x505b7c(0x329)][_0x505b7c(0x287)](_0x77edb7);}[_0x17d35d(0x190)](_0x44c076){const _0x4def7c=_0x17d35d,{memberID:_0x32ae2e}=_0x44c076[_0x4def7c(0xf0)],_0x732e4=this[_0x4def7c(0x9e)];_0x732e4[_0x4def7c(0x296)](_0x32ae2e),this[_0x4def7c(0x329)][_0x4def7c(0x287)](_0x732e4);}[_0x17d35d(0x19c)](_0x40547f,_0x1e5ab6){const _0x2172d9=_0x17d35d;var _0x19dab6,_0x3e4b73;const _0x11c3a1=(_0x3e4b73=(_0x19dab6=this[_0x2172d9(0x135)][_0x2172d9(0x253)](this[_0x2172d9(0x1dd)]))==null?void 0x0:_0x19dab6[_0x2172d9(0xfb)](_0x40547f))==null?void 0x0:_0x3e4b73[_0x2172d9(0x1a5)]();return(_0x11c3a1==null?void 0x0:_0x11c3a1[_0x2172d9(0x1fc)](_0x378459=>_0x51c300['Rectangle'][_0x2172d9(0x13d)](_0x378459,_0x1e5ab6)))||_0x1e5ab6;}[_0x17d35d(0x240)](){const _0x586c7a=_0x17d35d,_0x369317=new _0x51c300['DisposableCollection'](),_0x188a70=_0x1e1ad6(),_0x2a9704=()=>{const _0x134270=_0x1e96;_0x369317[_0x134270(0x1bb)]();const _0x5df6b6=(_0x1e9f91,_0x285859,_0x220a3f,_0x479918)=>{const _0x23c44f=_0x134270;let _0x44c131=[];switch(_0x1e9f91['id']){case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x239)]:{_0x44c131=_0x5898ab[_0x23c44f(0x365)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)]['DeleteRangeMoveUpCommandId']:{_0x44c131=_0x5898ab[_0x23c44f(0x198)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)]['InsertColCommandId']:{_0x44c131=_0x5898ab[_0x23c44f(0x13a)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x2f5)]:{_0x44c131=_0x5898ab['handleInsertRangeMoveDown'](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x1c7)]:{_0x44c131=_0x5898ab[_0x23c44f(0x29e)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)]['InsertRowCommandId']:{_0x44c131=_0x5898ab[_0x23c44f(0x270)](_0x1e9f91,_0x479918);break;}case _0x5898ab['EffectRefRangId'][_0x23c44f(0x146)]:{_0x44c131=_0x5898ab['handleMoveRange'](_0x1e9f91,_0x479918);break;}case _0x5898ab['EffectRefRangId'][_0x23c44f(0x22b)]:{_0x44c131=_0x5898ab[_0x23c44f(0x265)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x2ff)]:{_0x44c131=_0x5898ab['handleIRemoveRow'](_0x1e9f91,_0x479918);break;}}const _0x5704b8=_0x5898ab['runRefRangeMutations'](_0x44c131,_0x479918),_0x4f8a65=this[_0x23c44f(0x9e)][_0x23c44f(0x16c)](_0x285859);if(_0x4f8a65&&_0x5704b8){const _0x5c96b5={..._0x4f8a65,'range':_0x5704b8};this['cursorInfo'][_0x23c44f(0x176)](_0x285859,_0x5c96b5),_0x188a70(()=>{const _0x25dfdd=_0x23c44f,_0x23bbc0=this[_0x25dfdd(0x349)][_0x25dfdd(0x203)](_0x5704b8,_0xca9c3=>(_0x23bbc0[_0x25dfdd(0x1bb)](),_0x5df6b6(_0xca9c3,_0x285859,_0x220a3f,_0x5704b8)));_0x369317[_0x25dfdd(0x33b)](_0x23bbc0);});}return{'redos':[],'undos':[]};};this[_0x134270(0x9e)][_0x134270(0x23f)]((_0xf5fbe9,_0x17b0e3)=>{const _0x461b6f=_0x134270,{range:_0x1214b6,sheetID:_0x2fa938}=_0xf5fbe9,_0x6be8db=this[_0x461b6f(0x349)][_0x461b6f(0x203)](_0x1214b6,_0x4c5cc3=>(_0x6be8db['dispose'](),_0x5df6b6(_0x4c5cc3,_0x17b0e3,_0x2fa938,_0x1214b6)));_0x369317[_0x461b6f(0x33b)](_0x6be8db);});};this[_0x586c7a(0x26f)](_0x51c300[_0x586c7a(0x1c4)](this[_0x586c7a(0x329)]['subscribe'](()=>{_0x2a9704();})));}[_0x17d35d(0x1e2)](){const _0x3e96bc=_0x17d35d;var _0x25b609,_0x222f58;if(this[_0x3e96bc(0x302)]=!0x0,((_0x25b609=this['_univerInstanceService'][_0x3e96bc(0x224)]())==null?void 0x0:_0x25b609[_0x3e96bc(0x288)]())!==this[_0x3e96bc(0x1dd)])return;const _0x2cc26c=(_0x222f58=this[_0x3e96bc(0x111)]['get'](_0x5898ab['SheetsSelectionsService'])[_0x3e96bc(0x351)]())==null?void 0x0:_0x222f58[0x0],_0x20df21=this[_0x3e96bc(0x135)][_0x3e96bc(0x29b)](_0x51c300[_0x3e96bc(0x245)]['UNIVER_SHEET'])['getActiveSheet']();_0x2cc26c&&_0x20df21&&this['_updateLocalCursor'](_0x20df21['getSheetId'](),_0x2cc26c);}[_0x17d35d(0x2a4)](){const _0x130f33=_0x17d35d;this[_0x130f33(0x302)]=!0x1;}};_0x28fe3d=_0x4d927b([_0x8f5e3c(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x8f5e3c(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x18a9e9)),_0x8f5e3c(0x4,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5['MemberService'])),_0x8f5e3c(0x5,_0x51c300[_0x17d35d(0x181)]),_0x8f5e3c(0x6,_0x51c300[_0x17d35d(0x101)]),_0x8f5e3c(0x7,_0x51c300['Inject'](_0x5898ab[_0x17d35d(0xd1)]))],_0x28fe3d);var _0x20cb22=Object[_0x17d35d(0x1b1)],_0x5e06c5=(_0x4b3801,_0x5de9b8,_0x43b1b4,_0x329bfb)=>{const _0x534bc1=_0x17d35d;for(var _0x192cc0=_0x329bfb>0x1?void 0x0:_0x329bfb?_0x20cb22(_0x5de9b8,_0x43b1b4):_0x5de9b8,_0x2b3ea9=_0x4b3801[_0x534bc1(0x2a5)]-0x1,_0x440ad0;_0x2b3ea9>=0x0;_0x2b3ea9--)(_0x440ad0=_0x4b3801[_0x2b3ea9])&&(_0x192cc0=_0x440ad0(_0x192cc0)||_0x192cc0);return _0x192cc0;},_0x33151a=(_0x23de39,_0x2c1f2b)=>(_0x315ef7,_0x1de233)=>_0x2c1f2b(_0x315ef7,_0x1de233,_0x23de39);let _0x5c07ee=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0xa11cfd,_0x230ba6,_0x34a3d4){const _0x25e75a=_0x17d35d;super(),_0x3a1755(this,_0x25e75a(0x134),new Map()),_0x3a1755(this,_0x25e75a(0x36a),new _0x26ac39[(_0x25e75a(0x10b))]()),(this[_0x25e75a(0x135)]=_0xa11cfd,this[_0x25e75a(0x111)]=_0x230ba6,this[_0x25e75a(0x2b5)]=_0x34a3d4,this[_0x25e75a(0x323)]());}[_0x17d35d(0x1bb)](){const _0x2191c1=_0x17d35d;super[_0x2191c1(0x1bb)](),this[_0x2191c1(0x36a)][_0x2191c1(0x2bd)](),this[_0x2191c1(0x134)]['forEach'](_0x1a000c=>_0x1a000c[_0x2191c1(0x1bb)]());}[_0x17d35d(0x2e7)](_0x2aa530){const _0xd1e13e=_0x17d35d;return this['_entities']['has'](_0x2aa530)?this[_0xd1e13e(0x134)][_0xd1e13e(0x16c)](_0x2aa530)['cursorInfo$']:this[_0xd1e13e(0x36a)]['pipe'](_0x26ac39[_0xd1e13e(0x25c)](_0x27a2dc=>_0x27a2dc[_0xd1e13e(0x1dd)]===_0x2aa530),_0x26ac39[_0xd1e13e(0x1b2)](_0x26f5aa=>_0x26f5aa[_0xd1e13e(0x1f9)]));}[_0x17d35d(0x323)](){const _0x486e33=_0x17d35d;this[_0x486e33(0x135)][_0x486e33(0x243)](_0x51c300[_0x486e33(0x245)]['UNIVER_SHEET'])[_0x486e33(0x28e)](_0x26ac39[_0x486e33(0x2d3)](this[_0x486e33(0x30c)]))[_0x486e33(0x2c8)](async _0x258034=>{const _0x4feba3=_0x486e33,_0x172722=_0x258034['getUnitId'](),_0xa8846e=await this[_0x4feba3(0x11f)](_0x172722);this[_0x4feba3(0x36a)][_0x4feba3(0x287)](_0xa8846e),this[_0x4feba3(0x134)][_0x4feba3(0x176)](_0x172722,_0xa8846e);}),this[_0x486e33(0x135)]['getTypeOfUnitAdded$'](_0x51c300[_0x486e33(0x245)][_0x486e33(0x298)])[_0x486e33(0x28e)](_0x26ac39[_0x486e33(0x2d3)](this['dispose$']))[_0x486e33(0x28e)](_0x26ac39['filter'](_0x172383=>!_0x172383['getUnitId']()['startsWith']('__')))[_0x486e33(0x2c8)](async _0xfd8535=>{const _0x3a04d0=_0x486e33,_0x25c7a1=_0xfd8535['getUnitId'](),_0x4fa361=await this[_0x3a04d0(0x206)](_0x25c7a1);this[_0x3a04d0(0x36a)][_0x3a04d0(0x287)](_0x4fa361),this['_entities']['set'](_0x25c7a1,_0x4fa361);}),_0x26ac39['merge'](this[_0x486e33(0x135)][_0x486e33(0x29c)](_0x51c300[_0x486e33(0x245)][_0x486e33(0x298)]),this['_univerInstanceService'][_0x486e33(0x29c)](_0x51c300[_0x486e33(0x245)][_0x486e33(0x2f3)]))[_0x486e33(0x28e)](_0x26ac39[_0x486e33(0x2d3)](this[_0x486e33(0x30c)]))[_0x486e33(0x2c8)](_0x41cb1a=>{const _0x49aa7a=_0x486e33,_0xe0bee1=_0x41cb1a[_0x49aa7a(0x288)](),_0x5f56a2=this['_entities']['get'](_0xe0bee1);_0x5f56a2&&(_0x5f56a2[_0x49aa7a(0x1bb)](),this[_0x49aa7a(0x134)][_0x49aa7a(0x296)](_0xe0bee1));});}async[_0x17d35d(0x11f)](_0x35532e){const _0x1c4057=_0x17d35d,_0x7ec605=await this['_collabSessionService'][_0x1c4057(0xfa)](_0x35532e),_0x1ed7c6=this['_injector'][_0x1c4057(0x27c)](_0x28fe3d,_0x35532e,_0x7ec605);return _0x1ed7c6[_0x1c4057(0x165)](),_0x1ed7c6;}async[_0x17d35d(0x206)](_0x52d051){const _0x1ac989=_0x17d35d,_0x19822c=await this['_collabSessionService'][_0x1ac989(0xfa)](_0x52d051),_0x42e3b9=this[_0x1ac989(0x111)][_0x1ac989(0x27c)](_0x52f626,_0x52d051,_0x19822c);return _0x42e3b9['init'](),_0x42e3b9;}};_0x5c07ee=_0x5e06c5([_0x33151a(0x0,_0x51c300[_0x17d35d(0x181)]),_0x33151a(0x1,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x127)])),_0x33151a(0x2,_0x51c300['Inject'](_0x1fb0d5['CollaborationSessionService']))],_0x5c07ee);const _0x7a0843=0x14,_0xc1df0b=0xc8,_0x5d113f=0x4,_0x11d589=0x5;function _0x37c559(_0x243636,_0x5a730c){const _0x8b9ccf=_0x17d35d;let {radius:_0x860907,width:_0x106bcb,height:_0x33bd20}=_0x5a730c;_0x860907=_0x860907!=null?_0x860907:0x0,_0x106bcb=_0x106bcb!=null?_0x106bcb:0x1e,_0x33bd20=_0x33bd20!=null?_0x33bd20:0x1e;let _0x38a596=0x0,_0x4bf2c7=0x0,_0x17b941=0x0;_0x38a596=_0x4bf2c7=_0x17b941=Math[_0x8b9ccf(0x1d4)](_0x860907,_0x106bcb/0x2,_0x33bd20/0x2),_0x243636[_0x8b9ccf(0x348)](),_0x243636['moveTo'](_0x38a596,0x0),_0x243636[_0x8b9ccf(0x291)](_0x106bcb-_0x4bf2c7,0x0),_0x243636[_0x8b9ccf(0x2ee)](_0x106bcb-_0x4bf2c7,_0x4bf2c7,_0x4bf2c7,Math['PI']*0x3/0x2,0x0,!0x1),_0x243636[_0x8b9ccf(0x291)](_0x106bcb,_0x33bd20-_0x17b941),_0x243636[_0x8b9ccf(0x2ee)](_0x106bcb-_0x17b941,_0x33bd20-_0x17b941,_0x17b941,0x0,Math['PI']/0x2,!0x1),_0x243636[_0x8b9ccf(0x291)](0x0,_0x33bd20),_0x243636[_0x8b9ccf(0x291)](0x0,_0x38a596),_0x243636[_0x8b9ccf(0x2ee)](_0x38a596,_0x38a596,_0x38a596,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x243636['closePath'](),_0x5a730c['fill']&&(_0x243636[_0x8b9ccf(0x102)](),_0x243636[_0x8b9ccf(0xc1)]=_0x5a730c[_0x8b9ccf(0x139)],_0x5a730c[_0x8b9ccf(0x1d5)]==='evenodd'?_0x243636[_0x8b9ccf(0x139)](_0x8b9ccf(0xf3)):_0x243636[_0x8b9ccf(0x139)](),_0x243636[_0x8b9ccf(0x1a8)]());}class _0x3b8824 extends _0x50dad4['Shape']{constructor(_0x5d4c60,_0x5cedea){const _0x4dd881=_0x17d35d;super(_0x5d4c60,_0x5cedea),_0x3a1755(this,_0x4dd881(0x1b7)),_0x3a1755(this,_0x4dd881(0x177)),(this['color']=_0x5cedea==null?void 0x0:_0x5cedea[_0x4dd881(0x1b7)],this[_0x4dd881(0x177)]=_0x5cedea==null?void 0x0:_0x5cedea[_0x4dd881(0x177)]);}static[_0x17d35d(0x2fe)](_0xcd1ca,_0x1c2a23){const _0x50e9bc=_0x17d35d,{text:_0x55fbc7,color:_0x77925f}=_0x1c2a23;_0xcd1ca['save'](),_0xcd1ca['font']=_0x50e9bc(0x1ec);const _0x31ac11=_0xcd1ca[_0x50e9bc(0x162)](_0x55fbc7)[_0x50e9bc(0x345)],_0x4433cf=Math[_0x50e9bc(0x1d4)](_0x31ac11+0x2*_0x5d113f,_0xc1df0b);_0x37c559(_0xcd1ca,{'height':_0x7a0843,'radius':0x4,'width':_0x4433cf,'fill':_0x77925f}),_0xcd1ca[_0x50e9bc(0xc1)]=_0x50e9bc(0x2d0);const _0x5adf2f=_0x5d113f,_0x1a374e=_0x7a0843-_0x11d589,_0x7b37d9=_0xc1df0b-0x2*_0x5d113f;if(_0x31ac11>_0x7b37d9){let _0x24ba10='',_0x170b8a=0x0;for(const _0x2c6fe3 of _0x55fbc7){const _0x44ca3e=_0xcd1ca[_0x50e9bc(0x162)](_0x2c6fe3)[_0x50e9bc(0x345)];if(_0x170b8a+_0x44ca3e<=_0x7b37d9-_0xcd1ca[_0x50e9bc(0x162)](_0x50e9bc(0x2e6))[_0x50e9bc(0x345)])_0x24ba10+=_0x2c6fe3,_0x170b8a+=_0x44ca3e;else{_0x24ba10+=_0x50e9bc(0x2e6);break;}}_0xcd1ca['fillText'](_0x24ba10,_0x5adf2f,_0x1a374e);}else _0xcd1ca[_0x50e9bc(0x1f1)](_0x55fbc7,_0x5adf2f,_0x1a374e);_0xcd1ca[_0x50e9bc(0x1a8)]();}[_0x17d35d(0xdb)](_0x4abcc1){const _0xb9efa6=_0x17d35d;_0x3b8824[_0xb9efa6(0x2fe)](_0x4abcc1,this);}}const _0x36b479=_0x17d35d(0x164),_0x1a42c8=_0x17d35d(0x27d),_0x113ad9=_0x17d35d(0x8e),_0x18de62=0x6,_0x508d38=1.5,_0x170cfc=0x4,_0xef646=1.5,_0x18fe6d=_0x17d35d(0x24b);class _0x2a191c{constructor(_0x476ca0,_0xe9ce2b,_0x3c87b5,_0x4073cf){const _0x158de3=_0x17d35d;_0x3a1755(this,_0x158de3(0x236),[]),_0x3a1755(this,_0x158de3(0x1e3),null),_0x3a1755(this,_0x158de3(0x35a),null),_0x3a1755(this,_0x158de3(0x350),null),_0x3a1755(this,_0x158de3(0x1fb),null),_0x3a1755(this,_0x158de3(0x294),null),(this[_0x158de3(0x361)]=_0x476ca0,this[_0x158de3(0xb8)]=_0xe9ce2b,this[_0x158de3(0x335)]=_0x3c87b5,this[_0x158de3(0xd6)]=_0x4073cf,this[_0x158de3(0x299)]());}set['_hover'](_0x5631e7){const _0x5e951c=_0x17d35d;_0x5631e7?(this[_0x5e951c(0x350)]&&this[_0x5e951c(0x350)][_0x5e951c(0x278)](),this[_0x5e951c(0x35a)]&&this[_0x5e951c(0x35a)][_0x5e951c(0x196)]()):(this[_0x5e951c(0x350)]&&this[_0x5e951c(0x350)][_0x5e951c(0x196)](),this[_0x5e951c(0x35a)]&&this[_0x5e951c(0x35a)][_0x5e951c(0x278)]());}[_0x17d35d(0x1bb)](){const _0x1ee1ec=_0x17d35d;for(const _0x53fe41 of this['_shapes'])_0x53fe41[_0x1ee1ec(0x1bb)]();this[_0x1ee1ec(0x35a)]&&this[_0x1ee1ec(0x35a)][_0x1ee1ec(0x1bb)](),this[_0x1ee1ec(0x350)]&&this[_0x1ee1ec(0x350)][_0x1ee1ec(0x1bb)](),this[_0x1ee1ec(0x1e3)]&&this['_anchor']['dispose'](),this[_0x1ee1ec(0x294)]&&this['_eventUnsubscribe']();}[_0x17d35d(0x299)](){const _0x44b524=_0x17d35d;var _0x2c256d;const {_docSkeleton:_0x1ab39c,_document:_0x31e1a8}=this,{color:_0x494e22,name:_0x35135d,ranges:_0x123106}=this[_0x44b524(0x361)],_0x294a64=_0x31e1a8[_0x44b524(0x342)](),{docsLeft:_0x171436,docsTop:_0x51ffeb}=_0x294a64,_0x35104e=new _0x517afe[(_0x44b524(0x1bc))](_0x294a64,_0x1ab39c);for(const {startOffset:_0x302b20,endOffset:_0x4c1af2,rangeType:_0x55d150,segmentId:_0x2bd677,segmentPage:_0x178622,collapsed:_0x3907ed,isActive:_0x57211f}of _0x123106){const _0x407c19=_0x1ab39c['findNodePositionByCharIndex'](_0x302b20,!0x0,_0x2bd677,_0x178622);let _0x565e05=_0x1ab39c['findNodePositionByCharIndex'](_0x4c1af2,!0x0,_0x2bd677,_0x178622);if(_0x565e05==null&&(_0x565e05=_0x1ab39c[_0x44b524(0x1d8)](_0x4c1af2-0x1,!0x1,_0x2bd677,_0x178622)),_0x57211f){const {contentBoxPointGroup:_0x577358}=_0x35104e[_0x44b524(0x151)](_0x565e05,_0x565e05);if(_0x577358[_0x44b524(0x2a5)]===0x0)continue;this[_0x44b524(0x31d)](_0x494e22,_0x577358,_0x171436,_0x51ffeb,_0x35135d),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x407c19&&_0x565e05){if(_0x55d150===_0x51c300['DOC_RANGE_TYPE'][_0x44b524(0x221)]){const _0x36aee5=new _0x517afe[(_0x44b524(0x15d))](_0x294a64,_0x1ab39c),{pointGroup:_0x19737d}=(_0x2c256d=_0x36aee5[_0x44b524(0x151)](_0x407c19,_0x565e05))!=null?_0x2c256d:{};if(_0x19737d==null||_0x19737d[_0x44b524(0x2a5)]===0x0)continue;this['_drawRectRange'](_0x494e22,_0x19737d,_0x171436,_0x51ffeb);}else{if(!_0x3907ed){const {borderBoxPointGroup:_0x4df898}=_0x35104e['getRangePointData'](_0x407c19,_0x565e05);if(_0x4df898[_0x44b524(0x2a5)]===0x0)continue;this[_0x44b524(0x26c)](_0x494e22,_0x4df898,_0x171436,_0x51ffeb);}}}}}[_0x17d35d(0x31d)](_0x32504a,_0x4141f7,_0x17bff9,_0x5d9cab,_0x3b5248){const _0x125ac3=_0x17d35d,_0x403763=this[_0x125ac3(0x93)](_0x4141f7),{left:_0x310558,top:_0x569cf8,height:_0x2c1d8f}=_0x403763,_0xf8feb1=this['_getScale'](),_0x120082=_0xef646/_0xf8feb1,_0x10f041=new _0x50dad4[(_0x125ac3(0x214))](_0x36b479+_0x51c300['generateRandomId'](_0x18de62),{'left':_0x310558+_0x17bff9-_0x120082,'top':_0x569cf8+_0x5d9cab,'height':_0x2c1d8f,'width':_0x508d38,'fill':_0x32504a||_0x50dad4[_0x125ac3(0x327)](_0x51c300[_0x125ac3(0x2f6)][_0x125ac3(0xd9)],0x0),'strokeWidth':_0x120082,'stroke':_0x18fe6d,'evented':!0x0});this['_anchor']=_0x10f041,this[_0x125ac3(0xb8)][_0x125ac3(0x20d)](_0x10f041,_0x517afe[_0x125ac3(0x19f)]);const _0x4e6e23=new _0x50dad4[(_0x125ac3(0x214))](_0x36b479+_0x51c300[_0x125ac3(0x283)](_0x18de62),{'left':_0x310558+_0x17bff9-_0x120082,'top':_0x569cf8+_0x5d9cab-_0x170cfc/0x2,'height':_0x170cfc,'width':_0x170cfc,'fill':_0x32504a||_0x50dad4[_0x125ac3(0x327)](_0x51c300[_0x125ac3(0x2f6)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x32504a||_0x50dad4[_0x125ac3(0x327)](_0x51c300[_0x125ac3(0x2f6)][_0x125ac3(0xd9)],0x0),'evented':!0x1});this[_0x125ac3(0x350)]=_0x4e6e23,this[_0x125ac3(0xb8)][_0x125ac3(0x20d)](_0x4e6e23,_0x517afe['TEXT_RANGE_LAYER_INDEX']);const _0x1e8880=new _0x3b8824(_0x36b479+_0x51c300['generateRandomId'](_0x18de62),{'left':_0x310558+_0x17bff9-_0x120082,'top':_0x569cf8+_0x5d9cab-_0x7a0843,'text':_0x3b5248,'color':_0x32504a});this[_0x125ac3(0x35a)]=_0x1e8880,this['_scene'][_0x125ac3(0x20d)](_0x1e8880,_0x517afe['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x25ec46=_0x17d35d,_0x5106d5=this[_0x25ec46(0x1e3)][_0x25ec46(0x336)][_0x25ec46(0x212)](()=>{const _0x49ba0c=_0x25ec46;this[_0x49ba0c(0x31b)]=!0x0;}),_0x50bac8=this[_0x25ec46(0x1e3)][_0x25ec46(0x305)][_0x25ec46(0x212)](()=>{const _0x1d908e=_0x25ec46;this['_hideTimer']&&clearTimeout(this[_0x1d908e(0x1fb)]),this[_0x1d908e(0x1fb)]=setTimeout(()=>{const _0x4830af=_0x1d908e;this[_0x4830af(0x31b)]=!0x1;},0x7d0);});return()=>{const _0x2f82ff=_0x25ec46;_0x5106d5['unsubscribe'](),_0x50bac8[_0x2f82ff(0x172)]();};}['_drawTextRange'](_0x3d3680,_0x4c5c45,_0x33af06,_0x3e1399){const _0x13bfca=_0x17d35d,_0x2532e3=new _0x51c300['ColorKit'](_0x3d3680)['setAlpha'](0.2)[_0x13bfca(0x141)](),_0x20d18a=new _0x50dad4[(_0x13bfca(0x94))](_0x1a42c8+_0x51c300['generateRandomId'](_0x18de62),{'pointsGroup':_0x4c5c45,'fill':_0x2532e3||_0x50dad4[_0x13bfca(0x327)](_0x51c300[_0x13bfca(0x2f6)]['black'],0.2),'left':_0x33af06,'top':_0x3e1399,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x13bfca(0x236)][_0x13bfca(0x29d)](_0x20d18a),this['_scene'][_0x13bfca(0x20d)](_0x20d18a,_0x517afe['TEXT_RANGE_LAYER_INDEX']);}[_0x17d35d(0x157)](_0x5cbf11,_0x59e206,_0x1105b3,_0x39815b){const _0x5e32f3=_0x17d35d,_0x581693=new _0x51c300[(_0x5e32f3(0x149))](_0x5cbf11)[_0x5e32f3(0x144)](0.2)['toRgbString'](),_0xa1feeb=new _0x50dad4[(_0x5e32f3(0x94))](_0x113ad9+_0x51c300[_0x5e32f3(0x283)](_0x18de62),{'pointsGroup':_0x59e206,'fill':_0x581693||_0x50dad4[_0x5e32f3(0x327)](_0x51c300[_0x5e32f3(0x2f6)]['black'],0.2),'left':_0x1105b3,'top':_0x39815b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5e32f3(0x29d)](_0xa1feeb),this[_0x5e32f3(0xb8)][_0x5e32f3(0x20d)](_0xa1feeb,_0x517afe[_0x5e32f3(0x19f)]);}[_0x17d35d(0x93)](_0x5a65ef){const _0x1e1448=_0x5a65ef[0x0],_0x597301=_0x1e1448[0x0],_0x1a50d5=_0x1e1448[0x2],{x:_0x4f1fd4,y:_0x56a18e}=_0x597301,{x:_0x4a31b4,y:_0x52b18a}=_0x1a50d5;return{'left':_0x4f1fd4,'top':_0x56a18e,'width':_0x4a31b4-_0x4f1fd4,'height':_0x52b18a-_0x56a18e};}[_0x17d35d(0x145)](){const _0xea14cf=_0x17d35d,{scaleX:_0x487e52,scaleY:_0x21e45d}=this['_scene'][_0xea14cf(0x188)]();return Math[_0xea14cf(0x25e)](_0x487e52,_0x21e45d);}}var _0x456cb1=Object[_0x17d35d(0x1b1)],_0x3de26e=(_0x3c0273,_0x16c5d8,_0x3839c5,_0xeca21f)=>{for(var _0xe8e57e=_0xeca21f>0x1?void 0x0:_0xeca21f?_0x456cb1(_0x16c5d8,_0x3839c5):_0x16c5d8,_0x1d7b71=_0x3c0273['length']-0x1,_0x5a182c;_0x1d7b71>=0x0;_0x1d7b71--)(_0x5a182c=_0x3c0273[_0x1d7b71])&&(_0xe8e57e=_0x5a182c(_0xe8e57e)||_0xe8e57e);return _0xe8e57e;},_0x408c0f=(_0x4f8670,_0xdc412d)=>(_0x19c190,_0xdc7b8a)=>_0xdc412d(_0x19c190,_0xdc7b8a,_0x4f8670);let _0x323dd0=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x49ee3f,_0x48b88b,_0x28f5d9,_0x272b7d,_0x5eebe2){const _0x56d9d8=_0x17d35d;super(),_0x3a1755(this,'_cursorShapes',[]),_0x3a1755(this,'_cursors',[]),(this[_0x56d9d8(0x2c0)]=_0x49ee3f,this[_0x56d9d8(0x248)]=_0x48b88b,this[_0x56d9d8(0x337)]=_0x28f5d9,this[_0x56d9d8(0xf8)]=_0x272b7d,this[_0x56d9d8(0xbe)]=_0x5eebe2,this[_0x56d9d8(0x323)]());}[_0x17d35d(0x323)](){const _0x5d6917=_0x17d35d,_0x340615=this[_0x5d6917(0x2c0)][_0x5d6917(0x279)],_0x4747cc=this[_0x5d6917(0x248)];this[_0x5d6917(0x26f)](_0x26ac39['combineLatest']([this['_collabCursorController'][_0x5d6917(0x2e7)](_0x340615),this[_0x5d6917(0xbe)][_0x5d6917(0x104)]])[_0x5d6917(0x28e)](_0x7a3377['map'](([_0xfa0bbf,_0x8773a])=>({'skeleton':_0x4747cc[_0x5d6917(0x2ba)](),'cursors':[..._0xfa0bbf[_0x5d6917(0xf5)]()][_0x5d6917(0x1f0)](_0x208944=>({..._0x208944,'color':this[_0x5d6917(0xbe)][_0x5d6917(0x1f2)](_0x208944['color'])}))})))['subscribe'](_0x36a51c=>{const _0x395d2c=_0x5d6917;if(this[_0x395d2c(0x199)](),_0x36a51c){const {skeleton:_0x2b708c,cursors:_0x4978ef}=_0x36a51c;this[_0x395d2c(0x14a)](_0x2b708c,_0x4978ef);}})),this['_initResize'](),this[_0x5d6917(0x2cf)]();}[_0x17d35d(0x14a)](_0x31f875,_0x2c72fc){const _0x421fcd=_0x17d35d,{scene:_0x19ddc9,mainComponent:_0x30442a}=this[_0x421fcd(0x2c0)],_0x1b60fb=_0x2c72fc[_0x421fcd(0x10e)](_0x201137=>new _0x2a191c(_0x201137,_0x19ddc9,_0x31f875,_0x30442a));this['_cursorShapes']=_0x1b60fb,this[_0x421fcd(0x1d0)]=_0x2c72fc;}['_refreshCollabCursors'](){const _0x3982f1=_0x17d35d;this[_0x3982f1(0x199)]();const {scene:_0x2d0266,mainComponent:_0x191320}=this['_context'],_0x2efd95=this[_0x3982f1(0x248)][_0x3982f1(0x2ba)](),_0x17d3a0=this[_0x3982f1(0x1d0)][_0x3982f1(0x10e)](_0x1f3ff7=>new _0x2a191c(_0x1f3ff7,_0x2d0266,_0x2efd95,_0x191320));this[_0x3982f1(0x30b)]=_0x17d3a0;}['_removeCollabCursors'](){const _0xd87de1=_0x17d35d;this[_0xd87de1(0x30b)][_0xd87de1(0x23f)](_0x442964=>_0x442964[_0xd87de1(0x1bb)]()),this[_0xd87de1(0x30b)]=[];}[_0x17d35d(0x2cf)](){const _0x589f79=_0x17d35d,_0x2457d6=[_0x517afe[_0x589f79(0xea)]['id']];this[_0x589f79(0x26f)](this[_0x589f79(0xf8)][_0x589f79(0x161)](_0x368ff5=>{const _0x35c768=_0x589f79;_0x2457d6[_0x35c768(0x2e8)](_0x368ff5['id'])&&_0x368ff5[_0x35c768(0x11e)][_0x35c768(0x279)]===this[_0x35c768(0x2c0)][_0x35c768(0x279)]&&this[_0x35c768(0xce)]();}));}[_0x17d35d(0x8c)](){const _0x166c22=_0x17d35d;this[_0x166c22(0x26f)](_0x51c300['fromEventSubject'](this['_context'][_0x166c22(0x36b)]['onTransformChange$'])[_0x166c22(0x28e)](_0x7a3377['filter'](_0x19825d=>_0x19825d[_0x166c22(0x13f)]===_0x50dad4['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x7a3377[_0x166c22(0xa0)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x323dd0=_0x3de26e([_0x408c0f(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x1f24cd['DocSkeletonManagerService'])),_0x408c0f(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x5c07ee)),_0x408c0f(0x3,_0x51c300[_0x17d35d(0x101)]),_0x408c0f(0x4,_0x51c300[_0x17d35d(0x2a3)](_0x51c300['ThemeService']))],_0x323dd0);const _0x3b8c0e=0x1,_0x351cb2=1.5;class _0x424484 extends _0x50dad4[_0x17d35d(0x148)]{constructor(_0x153c7c,_0x2e1fa3){const _0x1783ce=_0x17d35d;super(_0x153c7c,_0x2e1fa3),_0x3a1755(this,_0x1783ce(0x24f)),_0x3a1755(this,_0x1783ce(0x264),!0x1),_0x3a1755(this,_0x1783ce(0x120)),_0x3a1755(this,_0x1783ce(0x343),''),_0x3a1755(this,_0x1783ce(0x246),'top'),_0x3a1755(this,'_backgroundColor'),(_0x2e1fa3&&this['setShapeProps'](_0x2e1fa3),this['onPointerEnter$'][_0x1783ce(0x212)](()=>this[_0x1783ce(0x2f8)]({'hovered':!0x0})),this[_0x1783ce(0x305)][_0x1783ce(0x212)](()=>this[_0x1783ce(0x2f8)]({'hovered':!0x1})));}[_0x17d35d(0x2f8)](_0x2733e7){const _0x101c45=_0x17d35d;var _0xce1903,_0x23a0e4,_0x479007,_0x477168,_0x56b864,_0x315e8b;this[_0x101c45(0x24f)]=(_0xce1903=_0x2733e7[_0x101c45(0x1b7)])!=null?_0xce1903:this[_0x101c45(0x24f)],this[_0x101c45(0x264)]=(_0x23a0e4=_0x2733e7['hovered'])!=null?_0x23a0e4:this[_0x101c45(0x264)],this[_0x101c45(0x120)]=(_0x479007=_0x2733e7[_0x101c45(0x375)])!=null?_0x479007:this['_range'],this[_0x101c45(0x343)]=(_0x477168=_0x2733e7[_0x101c45(0x1b3)])!=null?_0x477168:this[_0x101c45(0x343)],this[_0x101c45(0x246)]=(_0x56b864=_0x2733e7[_0x101c45(0x2c6)])!=null?_0x56b864:this[_0x101c45(0x246)],this[_0x101c45(0x108)]=(_0x315e8b=_0x2733e7[_0x101c45(0xd3)])!=null?_0x315e8b:this[_0x101c45(0x108)],this[_0x101c45(0x318)]({'width':_0x2733e7['width'],'height':_0x2733e7[_0x101c45(0x23c)]});}[_0x17d35d(0x308)](_0x203945){const _0x4ad553=_0x17d35d,{row:_0x666983,column:_0x418216}=_0x203945;if(_0x666983>=this[_0x4ad553(0x120)]['startRow']&&_0x666983<=this[_0x4ad553(0x120)][_0x4ad553(0x14c)]&&_0x418216>=this[_0x4ad553(0x120)][_0x4ad553(0x17a)]&&_0x418216<=this[_0x4ad553(0x120)][_0x4ad553(0x1c0)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4ad553(0x2f8)]({'hovered':!0x1});}[_0x17d35d(0xb4)](_0x332238){return!0x1;}['_draw'](_0xd0c148){const _0x436708=_0x17d35d;_0x50dad4[_0x436708(0x214)][_0x436708(0x2fe)](_0xd0c148,{'width':this[_0x436708(0x345)],'height':this[_0x436708(0x23c)],'strokeWidth':_0x351cb2,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x436708(0x108)]}),this[_0x436708(0x264)]&&(_0xd0c148['save'](),_0xd0c148[_0x436708(0x2ad)](0x1,0x0,0x0,0x1,this[_0x436708(0x345)],this['_labelPosition']==='bottom'?0x0:-_0x7a0843),_0x3b8824[_0x436708(0x2fe)](_0xd0c148,{'text':this[_0x436708(0x343)],'color':this[_0x436708(0x24f)]}),_0xd0c148[_0x436708(0x1a8)]());}}var _0x1a86b0=Object[_0x17d35d(0x1b1)],_0x28e435=(_0x2a5e96,_0x20860e,_0x159f03,_0x15c2c4)=>{const _0x246a84=_0x17d35d;for(var _0x5cdf0d=_0x15c2c4>0x1?void 0x0:_0x15c2c4?_0x1a86b0(_0x20860e,_0x159f03):_0x20860e,_0x435e43=_0x2a5e96[_0x246a84(0x2a5)]-0x1,_0x4b122d;_0x435e43>=0x0;_0x435e43--)(_0x4b122d=_0x2a5e96[_0x435e43])&&(_0x5cdf0d=_0x4b122d(_0x5cdf0d)||_0x5cdf0d);return _0x5cdf0d;},_0x3ea754=(_0x4ffb27,_0x598490)=>(_0x1b9bf2,_0x557eb7)=>_0x598490(_0x1b9bf2,_0x557eb7,_0x4ffb27);const _0x5957f=0x1389;let _0x1cbee9=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x3f34b1,_0x57f5da,_0x2641d2,_0x3f2b6d){const _0x3e170d=_0x17d35d;super(),_0x3a1755(this,_0x3e170d(0x1d0),new Set()),_0x3a1755(this,_0x3e170d(0x159),null),(this[_0x3e170d(0x2c0)]=_0x3f34b1,this[_0x3e170d(0x358)]=_0x57f5da,this[_0x3e170d(0x337)]=_0x2641d2,this['_themeService']=_0x3f2b6d,this[_0x3e170d(0x323)]());}[_0x17d35d(0x323)](){const _0x5f23b4=_0x17d35d;this[_0x5f23b4(0x358)]['currentSkeleton$']['pipe'](_0x7a3377[_0x5f23b4(0x2d3)](this[_0x5f23b4(0x30c)]),_0x7a3377['switchMap'](_0x587af9=>{const _0x13a2be=_0x5f23b4;if(_0x587af9){const _0x4081da=_0x587af9['sheetId'];return _0x26ac39[_0x13a2be(0xa9)](this[_0x13a2be(0x337)][_0x13a2be(0x2e7)](this[_0x13a2be(0x2c0)][_0x13a2be(0x279)]),this['_themeService'][_0x13a2be(0x104)])[_0x13a2be(0x28e)](_0x7a3377[_0x13a2be(0x10e)](([_0x371681,_0x4fefc8])=>{const _0x295fbf=_0x13a2be,_0x43dbc4=new Map();return _0x371681[_0x295fbf(0x23f)]((_0x52a44a,_0x449677)=>{const _0x2a9d18=_0x295fbf;if(_0x52a44a[_0x2a9d18(0x14f)]===_0x4081da){const _0x364a7a={..._0x52a44a};_0x364a7a[_0x2a9d18(0x1b7)]=this[_0x2a9d18(0xbe)][_0x2a9d18(0x1f2)](_0x52a44a[_0x2a9d18(0x1b7)]),_0x43dbc4['set'](_0x449677,_0x364a7a);}}),{'skeleton':_0x587af9,'cursors':_0x43dbc4};}));}return _0x26ac39['of']({'skeleton':null,'cursors':new Map()});}))[_0x5f23b4(0x2c8)](({skeleton:_0x5c15ac,cursors:_0x29c411})=>{const _0xba2d9=_0x5f23b4;this[_0xba2d9(0x199)](),_0x5c15ac&&this[_0xba2d9(0x14a)](_0x5c15ac,_0x29c411);}),this[_0x5f23b4(0x358)][_0x5f23b4(0x1c9)][_0x5f23b4(0x2c8)](_0x2220de=>{const _0x26b9fd=_0x5f23b4;if(_0x2220de==null)return;const {skeleton:_0x47619b}=_0x2220de,{scene:_0x56928d}=this['_context'];_0x56928d[_0x26b9fd(0x250)][_0x26b9fd(0x212)](_0x51c300[_0x26b9fd(0x29a)](_0x268f88=>{const _0x1d7db8=_0x26b9fd;var _0x330362,_0x524544;const {offsetX:_0x53e2d1,offsetY:_0x752e2e}=_0x268f88,{x:_0x217320,y:_0x551ef1}=_0x56928d[_0x1d7db8(0x117)](_0x50dad4['Vector2']['FromArray']([_0x53e2d1,_0x752e2e])),{scaleX:_0x115719,scaleY:_0x573f1c}=_0x56928d[_0x1d7db8(0x188)](),_0x32b5aa=_0x56928d['getViewport'](_0x50dad4[_0x1d7db8(0x231)][_0x1d7db8(0x1f7)]),_0x580a7a=_0x56928d[_0x1d7db8(0x378)](_0x50dad4[_0x1d7db8(0x18a)][_0x1d7db8(0x36d)]([_0x217320,_0x551ef1]),_0x32b5aa),_0x3d4fb7=_0x47619b[_0x1d7db8(0x201)](_0x53e2d1,_0x752e2e,_0x115719,_0x573f1c,_0x580a7a);((_0x330362=this[_0x1d7db8(0x159)])==null?void 0x0:_0x330362[_0x1d7db8(0x126)])===_0x3d4fb7['column']&&((_0x524544=this[_0x1d7db8(0x159)])==null?void 0x0:_0x524544[_0x1d7db8(0x1a3)])===_0x3d4fb7[_0x1d7db8(0x1a3)]||this[_0x1d7db8(0x1d0)][_0x1d7db8(0x23f)](_0x4b2d9a=>{_0x4b2d9a['onMouseMove'](_0x3d4fb7);});},0x64));});}[_0x17d35d(0x14a)](_0x5208bc,_0x46da74){const _0x1e1709=_0x17d35d;var _0x2e9ef7;const _0x373191=(_0x2e9ef7=this[_0x1e1709(0x358)][_0x1e1709(0x13b)]())==null?void 0x0:_0x2e9ef7['skeleton'];if(!_0x373191)return;const _0x1348f2=this['_getSheetObject']();if(!_0x1348f2)return;this[_0x1e1709(0x1d0)]['forEach'](_0x212ee4=>{const _0x368bcb=_0x1e1709;_0x212ee4[_0x368bcb(0x21e)]();});const {scene:_0x3bacfa}=_0x1348f2,_0x3c80df=_0x20c2e1(Array[_0x1e1709(0x289)](_0x46da74[_0x1e1709(0xf5)]()))['map'](_0xc43634=>{const _0xf6516a=_0x1e1709,{color:_0x677033,range:_0x5e2acc,name:_0x490c20,selection:_0x43b81a,sheetID:_0x4b3086}=_0xc43634,{startColumn:_0x4915eb,startRow:_0x2fce74,endColumn:_0x26198d,endRow:_0x1291d4}=_0x5e2acc,_0x4c04a4=_0x38208b['getCoordByCell'](_0x2fce74,_0x4915eb,_0x3bacfa,_0x373191),_0x11ea3a=_0x38208b[_0xf6516a(0x1db)](_0x1291d4,_0x26198d,_0x3bacfa,_0x373191),{columnHeaderHeightAndMarginTop:_0x3d45b7}=_0x373191,{startX:_0x4ca7cf,startY:_0x11cc7d}=_0x4c04a4,{endX:_0x42cbcd,endY:_0x49592b}=_0x11ea3a,_0x3e1df5=_0x42cbcd-_0x4ca7cf,_0x5ed910=_0x49592b-_0x11cc7d,_0x50a2a2={'labelPosition':_0x11cc7d-_0x3d45b7>=_0x7a0843?_0xf6516a(0x227):'bottom','sheetID':_0x4b3086,'range':_0x5e2acc,'color':_0x677033,'name':_0x490c20,'selection':_0x43b81a,'left':_0x4ca7cf,'top':_0x11cc7d,'width':_0x3e1df5,'height':_0x5ed910,'evented':!0x1,'zIndex':_0x5957f};return new _0x424484(_0x490c20,_0x50a2a2);});_0x3bacfa[_0x1e1709(0x274)](_0x3c80df,_0x3b8c0e),this[_0x1e1709(0x1d0)]=new Set(_0x3c80df);}[_0x17d35d(0x199)](){const _0x1cff76=_0x17d35d;var _0x40918d;(_0x40918d=this[_0x1cff76(0x1d0)])==null||_0x40918d[_0x1cff76(0x23f)](_0x6685c=>_0x6685c[_0x1cff76(0x1bb)]());}['_getSheetObject'](){const _0x576857=_0x17d35d;return _0x38208b['getSheetObject'](this[_0x576857(0x2c0)][_0x576857(0x13c)],this[_0x576857(0x2c0)]);}};_0x1cbee9=_0x28e435([_0x3ea754(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x38208b['SheetSkeletonManagerService'])),_0x3ea754(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x5c07ee)),_0x3ea754(0x3,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x28a)]))],_0x1cbee9);function _0x20c2e1(_0x2a1b92){const _0x53048f=_0x17d35d,_0x14c172=new Map();return _0x2a1b92[_0x53048f(0x23f)](_0x46fa8c=>{const _0x5b96aa=_0x53048f;if(_0x14c172[_0x5b96aa(0x325)](_0x46fa8c[_0x5b96aa(0x353)])){const _0x366efc=_0x14c172[_0x5b96aa(0x16c)](_0x46fa8c['selection']);_0x366efc[_0x5b96aa(0x1b3)]+=',\x20'+_0x46fa8c[_0x5b96aa(0x1b3)];}else _0x14c172[_0x5b96aa(0x176)](_0x46fa8c[_0x5b96aa(0x353)],_0x46fa8c);}),Array[_0x53048f(0x289)](_0x14c172[_0x53048f(0xf5)]());}var _0x4a5a79=Object[_0x17d35d(0x1b1)],_0x41d705=(_0x4ce5e1,_0x57a4d8,_0x157751,_0xae9b23)=>{const _0x2e7c7a=_0x17d35d;for(var _0x66dc4b=_0xae9b23>0x1?void 0x0:_0xae9b23?_0x4a5a79(_0x57a4d8,_0x157751):_0x57a4d8,_0x5505c9=_0x4ce5e1[_0x2e7c7a(0x2a5)]-0x1,_0x813a9a;_0x5505c9>=0x0;_0x5505c9--)(_0x813a9a=_0x4ce5e1[_0x5505c9])&&(_0x66dc4b=_0x813a9a(_0x66dc4b)||_0x66dc4b);return _0x66dc4b;},_0x3c1bfc=(_0x1fe5a2,_0x23fc66)=>(_0x276087,_0x524851)=>_0x23fc66(_0x276087,_0x524851,_0x1fe5a2);let _0x744c25=class extends _0x51c300['Disposable']{constructor(_0x4a4105,_0x5da994,_0x46d99f,_0x3fc437,_0x367bdc,_0x35be5f){const _0x256750=_0x17d35d;super(),this['_beforeCloseService']=_0x4a4105,this['_localCacheService']=_0x5da994,this[_0x256750(0x216)]=_0x46d99f,this[_0x256750(0x2a0)]=_0x3fc437,this[_0x256750(0x1d7)]=_0x367bdc,this[_0x256750(0x137)]=_0x35be5f,this[_0x256750(0x261)](),this['_initEvent']();}[_0x17d35d(0x261)](){const _0x2d10e1=_0x17d35d;this[_0x2d10e1(0x26f)](this['_beforeCloseService'][_0x2d10e1(0x2c4)](()=>{const _0x2beb28=_0x2d10e1;if(this[_0x2beb28(0x309)][_0x2beb28(0x306)][_0x2beb28(0x200)])return this[_0x2beb28(0x137)]['t'](_0x2beb28(0x2e9));}));}[_0x17d35d(0x267)](){const _0x3ae9c9=_0x17d35d;this[_0x3ae9c9(0x26f)](this[_0x3ae9c9(0x216)][_0x3ae9c9(0x95)][_0x3ae9c9(0x2c8)](_0x1aaa0d=>{const _0x4c5649=_0x3ae9c9;_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x316)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x16d)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x14e))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0xbf)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x16d)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x2a9))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x1d6)]&&this[_0x4c5649(0x1d7)]['show']({'title':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x129)),'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x269)),'type':_0x4c5649(0x96),'duration':0x0}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x186)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x1df)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x2a9))+'('+_0x1aaa0d[_0x4c5649(0xf0)]+')'}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0xfe)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)]['Warning'],'content':this[_0x4c5649(0x137)]['t'](_0x1aaa0d['data']||'')}),_0x1aaa0d['id']===_0x1fb0d5['CollaborationUIEventId'][_0x4c5649(0x18f)]&&this[_0x4c5649(0x2a0)]['show']({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x16d)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0xcc))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x297)]&&this[_0x4c5649(0x2a0)]['show']({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x1df)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0xaf))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x237)]&&this['_messageService']['show']({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x1df)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x192))});}));}};_0x744c25=_0x41d705([_0x3c1bfc(0x0,_0x316cc8[_0x17d35d(0x1fe)]),_0x3c1bfc(0x1,_0x1fb0d5[_0x17d35d(0x363)]),_0x3c1bfc(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5[_0x17d35d(0x1dc)])),_0x3c1bfc(0x3,_0x316cc8[_0x17d35d(0x1e7)]),_0x3c1bfc(0x4,_0x316cc8[_0x17d35d(0x331)]),_0x3c1bfc(0x5,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x31f)]))],_0x744c25);var _0x361406=Object[_0x17d35d(0x1b1)],_0x5bd109=(_0x162037,_0x854191,_0x2d47fa,_0x12119b)=>{for(var _0x2eee45=_0x12119b>0x1?void 0x0:_0x12119b?_0x361406(_0x854191,_0x2d47fa):_0x854191,_0x334d91=_0x162037['length']-0x1,_0x282878;_0x334d91>=0x0;_0x334d91--)(_0x282878=_0x162037[_0x334d91])&&(_0x2eee45=_0x282878(_0x2eee45)||_0x2eee45);return _0x2eee45;},_0x44f6f1=(_0x4ee58d,_0x4e14ad)=>(_0x1c884d,_0x5a92b0)=>_0x4e14ad(_0x1c884d,_0x5a92b0,_0x4ee58d);let _0x2379d1=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x28e44,_0x181b85,_0x2c210b,_0x4049eb){const _0x3c4f7b=_0x17d35d;super(),_0x3a1755(this,_0x3c4f7b(0x230)),(this['_injector']=_0x28e44,this[_0x3c4f7b(0x340)]=_0x181b85,this[_0x3c4f7b(0x11b)]=_0x2c210b,this[_0x3c4f7b(0x2dc)]=_0x4049eb,this['_init']());}[_0x17d35d(0x323)](){const _0x63375f=_0x17d35d;this[_0x63375f(0x319)](),this[_0x63375f(0x9c)](),this[_0x63375f(0x34f)](),this[_0x63375f(0x225)]();}[_0x17d35d(0x225)](){const _0x613919=_0x17d35d;this['disposeWithMe'](this[_0x613919(0x2dc)][_0x613919(0x122)][_0x613919(0x2c8)](_0xfcc1f5=>{const _0x5d8027=_0x613919;this[_0x5d8027(0x230)]=_0xfcc1f5==null?void 0x0:_0xfcc1f5[_0x5d8027(0x123)];}));}['_initWindowErrorListener'](){const _0x203a71=_0x17d35d,_0x2e7214=_0x2afa98=>{const _0x500d08=_0x1e96;var _0x15a517;this[_0x500d08(0x334)]('error','[Window\x20Error]:\x20'+_0x2afa98[_0x500d08(0x2db)]+_0x500d08(0x2cc)+_0x2afa98['filename']+':'+_0x2afa98[_0x500d08(0x9a)]+':'+_0x2afa98['colno']+'\x0a'+(((_0x15a517=_0x2afa98[_0x500d08(0x96)])==null?void 0x0:_0x15a517['stack'])||''));};window[_0x203a71(0x1ad)](_0x203a71(0x96),_0x2e7214),this[_0x203a71(0x26f)](()=>{const _0x5565f6=_0x203a71;window[_0x5565f6(0x364)](_0x5565f6(0x96),_0x2e7214);});}['_initUnhandledRejectionListener'](){const _0x5d972c=_0x17d35d,_0x9f585d=_0x1569d8=>{const _0x291bfd=_0x1e96;this[_0x291bfd(0x334)](_0x291bfd(0x96),_0x291bfd(0x195)+_0x1569d8[_0x291bfd(0x23b)]);};window['addEventListener'](_0x5d972c(0x20e),_0x9f585d),this[_0x5d972c(0x26f)](()=>{const _0x12a243=_0x5d972c;window[_0x12a243(0x364)](_0x12a243(0x20e),_0x9f585d);});}[_0x17d35d(0x34f)](){const _0x14508c=_0x17d35d,_0x295e41=this[_0x14508c(0x11b)][_0x14508c(0x96)][_0x14508c(0x376)](this['_logService']);this[_0x14508c(0x11b)][_0x14508c(0x96)]=(..._0x3edf9d)=>{const _0x24a9a4=_0x14508c,_0x25a1fe=_0x3edf9d['map'](_0x1ee988=>_0x1ee988 instanceof Error?_0x1ee988[_0x24a9a4(0x2db)]+'\x0a'+_0x1ee988[_0x24a9a4(0x32e)]:String(_0x1ee988))[_0x24a9a4(0x1bf)]('\x20');this[_0x24a9a4(0x334)](_0x24a9a4(0x96),_0x24a9a4(0x1ff)+_0x25a1fe),_0x295e41(..._0x3edf9d);},this[_0x14508c(0x26f)](()=>{const _0x5f4f6a=_0x14508c;this['_logService'][_0x5f4f6a(0x96)]=_0x295e41;});}[_0x17d35d(0x334)](_0x5b3fbd,_0x5384cf){const _0x5e6c94=_0x17d35d;try{const _0x1b0e17={'userId':this[_0x5e6c94(0x230)],'logLabel':_0x5b3fbd,'content':_0x5384cf};this[_0x5e6c94(0x340)]['post'](_0x5e6c94(0xb7),{'body':_0x1b0e17})['catch'](()=>{});}catch{}}};_0x2379d1=_0x5bd109([_0x44f6f1(0x0,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x127)])),_0x44f6f1(0x1,_0x51c300['Inject'](_0x3f6e7a[_0x17d35d(0x16b)])),_0x44f6f1(0x2,_0x51c300[_0x17d35d(0x1ac)]),_0x44f6f1(0x3,_0x51c300['Inject'](_0x1fb0d5[_0x17d35d(0x34c)]))],_0x2379d1);const _0x33fb92=_0x17d35d(0xc8),_0x574bdb={};var _0x36ed2e=Object[_0x17d35d(0x1b1)],_0x3ca102=(_0x1ed7d8,_0x65e990,_0x43b2a2,_0x12bdc8)=>{const _0x303037=_0x17d35d;for(var _0x53caa6=_0x12bdc8>0x1?void 0x0:_0x12bdc8?_0x36ed2e(_0x65e990,_0x43b2a2):_0x65e990,_0x2dfd3e=_0x1ed7d8[_0x303037(0x2a5)]-0x1,_0xdb95ef;_0x2dfd3e>=0x0;_0x2dfd3e--)(_0xdb95ef=_0x1ed7d8[_0x2dfd3e])&&(_0x53caa6=_0xdb95ef(_0x53caa6)||_0x53caa6);return _0x53caa6;},_0x56a1f3=(_0x258649,_0x329892)=>(_0x6479da,_0x5abcff)=>_0x329892(_0x6479da,_0x5abcff,_0x258649);let _0x5348e9=class{constructor(_0x3a17c3,_0x5cbcec){const _0x4c8266=_0x17d35d;this[_0x4c8266(0x2b8)]=_0x3a17c3,this[_0x4c8266(0x2e0)]=_0x5cbcec;}[_0x17d35d(0x1b9)](_0x1a2d95){const _0x140dbb=_0x17d35d;this[_0x140dbb(0x18d)](_0x1a2d95),this[_0x140dbb(0x2a8)](_0x1a2d95);}[_0x17d35d(0x317)](_0x39bdde){const _0x3d0038=_0x17d35d,{unitID:_0x2f774b}=_0x39bdde,_0x49890c=this[_0x3d0038(0x2e0)][_0x3d0038(0x21c)](_0x2f774b)[_0x3d0038(0x12b)](_0x517afe[_0x3d0038(0x9b)]),{redoCache:_0x29961b}=_0x49890c[_0x3d0038(0x338)]();if(_0x29961b['length']===0x0)return _0x39bdde;let _0x3702fd=_0x51c300[_0x3d0038(0x33d)]['deepClone'](_0x39bdde['mutations'][0x0]);for(let _0x1a9a54=0x0;_0x1a9a54<_0x29961b[_0x3d0038(0x2a5)];_0x1a9a54++){const _0x4537c6={'id':_0x3d0038(0x1f3),'params':{..._0x29961b[_0x1a9a54]}},_0x5014b0=this[_0x3d0038(0x2b8)]['transformMutation'](_0x3702fd,_0x4537c6,!0x1);if(_0x564972[_0x3d0038(0x218)](_0x5014b0))throw _0x5014b0['error'];_0x3702fd=_0x5014b0[_0x3d0038(0x1ba)];}return{..._0x51c300[_0x3d0038(0x33d)][_0x3d0038(0xa1)](_0x39bdde),'mutations':[_0x3702fd]};}[_0x17d35d(0x18d)](_0xa984b4){const _0x101591=_0x17d35d,{unitID:_0x5a6681}=_0xa984b4,_0x1d9bbc=this[_0x101591(0x2e0)][_0x101591(0x21c)](_0x5a6681)['with'](_0x517afe[_0x101591(0x9b)]),{undoCache:_0x2c1abd,redoCache:_0x1d1336}=_0x1d9bbc[_0x101591(0x338)]();if(_0x2c1abd[_0x101591(0x2a5)]===0x0||_0x1d1336['length']===0x0)return;const _0xa7eebb=[],_0x1a3ced=[];let _0x4045e0=_0x51c300[_0x101591(0x33d)][_0x101591(0xa1)](_0xa984b4['mutations'][0x0]),_0x4b3460=_0x51c300[_0x101591(0x33d)][_0x101591(0xa1)](_0xa984b4['mutations'][0x0]);for(let _0x18314c=_0x2c1abd[_0x101591(0x2a5)]-0x1;_0x18314c>=0x0;_0x18314c--){const _0xc4b2c4={'id':'doc.mutation.rich-text-editing','params':{..._0x2c1abd[_0x18314c]}},_0x250657={'id':_0x101591(0x1f3),'params':{..._0x1d1336[_0x18314c]}},_0x545736=this[_0x101591(0x2b8)]['transformMutation'](_0x4045e0,_0xc4b2c4,!0x1),_0x36ed77=this[_0x101591(0x2b8)][_0x101591(0x1cb)](_0x4b3460,_0x250657,!0x1);if(_0x564972['isTransformMutationFailure'](_0x545736))throw _0x545736['error'];if(_0x564972['isTransformMutationFailure'](_0x36ed77))throw _0x36ed77[_0x101591(0x96)];_0xa7eebb[_0x101591(0x2d7)](_0x545736[_0x101591(0xdc)][_0x101591(0x11e)]),_0x1a3ced[_0x101591(0x2d7)](_0x36ed77[_0x101591(0xdc)]['params']),_0x4045e0=_0x545736[_0x101591(0x1ba)],_0x4b3460=_0x36ed77[_0x101591(0x1ba)];}_0x1d9bbc['setUndoRedoMutationParamsCache']({'undoCache':_0xa7eebb,'redoCache':_0x1a3ced});}['_transformPreviousActiveRange'](_0x21d733){const _0x5c7821=_0x17d35d,{unitID:_0x33b757}=_0x21d733,_0x47fd74=this[_0x5c7821(0x2e0)][_0x5c7821(0x21c)](_0x33b757)[_0x5c7821(0x12b)](_0x517afe[_0x5c7821(0x9b)]),_0x40182d=_0x47fd74['getActiveRange']();if(_0x40182d==null)return;const _0x1d2c8b=[{'id':_0x5c7821(0x1f3),'params':{'unitId':_0x21d733[_0x5c7821(0x1dd)],'actions':null,'textRanges':[_0x40182d]}}],_0x5d8ba6=this[_0x5c7821(0x2b8)][_0x5c7821(0xdd)](_0x21d733,_0x1d2c8b);if(!_0x564972[_0x5c7821(0x271)](_0x5d8ba6))throw _0x5d8ba6[_0x5c7821(0x96)];const _0xc3d76d=_0x5d8ba6[_0x5c7821(0xdc)][0x0][_0x5c7821(0x11e)][_0x5c7821(0x1a0)];Array['isArray'](_0xc3d76d)&&_0xc3d76d[_0x5c7821(0x2a5)]&&_0x47fd74['setActiveRange'](_0xc3d76d[0x0]);}};_0x5348e9=_0x3ca102([_0x56a1f3(0x0,_0x564972[_0x17d35d(0x158)]),_0x56a1f3(0x1,_0x50dad4[_0x17d35d(0x1f5)])],_0x5348e9);var _0xb1763e=Object[_0x17d35d(0x1b1)],_0x16ec86=(_0x2448a6,_0x5d13b8,_0x130811,_0x243619)=>{for(var _0x1ff72b=_0x243619>0x1?void 0x0:_0x243619?_0xb1763e(_0x5d13b8,_0x130811):_0x5d13b8,_0x15b649=_0x2448a6['length']-0x1,_0x21a80a;_0x15b649>=0x0;_0x15b649--)(_0x21a80a=_0x2448a6[_0x15b649])&&(_0x1ff72b=_0x21a80a(_0x1ff72b)||_0x1ff72b);return _0x1ff72b;},_0x192112=(_0x92c297,_0x4d54e2)=>(_0x1297df,_0x13a765)=>_0x4d54e2(_0x1297df,_0x13a765,_0x92c297);let _0x432530=class{constructor(_0x127885,_0x6d2665,_0x4483aa){const _0x12f62e=_0x17d35d;this[_0x12f62e(0x111)]=_0x127885,this[_0x12f62e(0x2b8)]=_0x6d2665,this[_0x12f62e(0x21f)]=_0x4483aa;}[_0x17d35d(0x182)](_0x29aa39){this['_transformHistoryAndStateStack'](_0x29aa39);}[_0x17d35d(0x317)](_0x1c426e){const _0x5c8dbe=_0x17d35d,{unitID:_0x16744a}=_0x1c426e,{collaboration:_0x3f783b}=this[_0x5c8dbe(0x21f)][_0x5c8dbe(0x226)](_0x16744a);if(_0x3f783b[_0x5c8dbe(0x2a5)]===0x0)return _0x1c426e;let _0x534c9e=_0x51c300[_0x5c8dbe(0x33d)][_0x5c8dbe(0xa1)](_0x1c426e[_0x5c8dbe(0x320)][0x0]);for(let _0x26ba55=0x0;_0x26ba55<_0x3f783b[_0x5c8dbe(0x2a5)];_0x26ba55++){const _0x508617={'id':_0x5c8dbe(0x1f3),'params':{'unitId':_0x3f783b[_0x26ba55]['unitId'],..._0x3f783b[_0x26ba55][_0x5c8dbe(0xc3)]}},_0x3dd5a6=this[_0x5c8dbe(0x2b8)]['transformMutation'](_0x534c9e,_0x508617,!0x1);if(_0x564972[_0x5c8dbe(0x218)](_0x3dd5a6))throw _0x3dd5a6['error'];_0x534c9e=_0x3dd5a6[_0x5c8dbe(0x1ba)];}return{..._0x51c300[_0x5c8dbe(0x33d)][_0x5c8dbe(0xa1)](_0x1c426e),'mutations':[_0x534c9e]};}[_0x17d35d(0x35e)](_0x38baec){const _0x439531=_0x17d35d,{unitID:_0x280a7d}=_0x38baec,{history:_0x1c07e2,collaboration:_0x5db477}=this[_0x439531(0x21f)][_0x439531(0x226)](_0x280a7d);if(_0x1c07e2[_0x439531(0x2a5)]===0x0&&_0x5db477[_0x439531(0x2a5)]===0x0)return;const _0x4d0ac1=[],_0xed5d30=[];let _0x198cdb=_0x51c300[_0x439531(0x33d)][_0x439531(0xa1)](_0x38baec[_0x439531(0x320)][0x0]),_0xd958b7=_0x51c300[_0x439531(0x33d)][_0x439531(0xa1)](_0x38baec[_0x439531(0x320)][0x0]);for(let _0x246947=_0x1c07e2[_0x439531(0x2a5)]-0x1;_0x246947>=0x0;_0x246947--){const _0x8eca02={'id':_0x439531(0x1f3),'params':{'unitId':_0x1c07e2[_0x246947][_0x439531(0x279)],..._0x1c07e2[_0x246947][_0x439531(0x1a4)]}},_0x6e52af={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c07e2[_0x246947][_0x439531(0x279)],..._0x1c07e2[_0x246947][_0x439531(0xc3)]}},_0x36cfdc=this[_0x439531(0x2b8)][_0x439531(0x1cb)](_0x198cdb,_0x8eca02,!0x1),_0x1d3357=this[_0x439531(0x2b8)][_0x439531(0x1cb)](_0xd958b7,_0x6e52af,!0x1);if(_0x564972[_0x439531(0x218)](_0x36cfdc))throw _0x36cfdc[_0x439531(0x96)];if(_0x564972['isTransformMutationFailure'](_0x1d3357))throw _0x1d3357[_0x439531(0x96)];_0x4d0ac1['unshift']({..._0x1c07e2[_0x246947],'undoState':_0x36cfdc[_0x439531(0xdc)][_0x439531(0x11e)],'redoState':_0x1d3357[_0x439531(0xdc)][_0x439531(0x11e)]}),_0x198cdb=_0x36cfdc[_0x439531(0x1ba)],_0xd958b7=_0x1d3357[_0x439531(0x1ba)];}_0x198cdb=_0x51c300['Tools']['deepClone'](_0x38baec[_0x439531(0x320)][0x0]),_0xd958b7=_0x51c300[_0x439531(0x33d)][_0x439531(0xa1)](_0x38baec['mutations'][0x0]);for(let _0x2bff9f=_0x5db477[_0x439531(0x2a5)]-0x1;_0x2bff9f>=0x0;_0x2bff9f--){const _0x50fb9c={'id':_0x439531(0x1f3),'params':{'unitId':_0x5db477[_0x2bff9f]['unitId'],..._0x5db477[_0x2bff9f][_0x439531(0x1a4)]}},_0x33e918={'id':_0x439531(0x1f3),'params':{'unitId':_0x5db477[_0x2bff9f][_0x439531(0x279)],..._0x5db477[_0x2bff9f]['redoState']}},_0x323b91=this[_0x439531(0x2b8)][_0x439531(0x1cb)](_0x198cdb,_0x50fb9c,!0x1),_0x1cd5b5=this[_0x439531(0x2b8)]['transformMutation'](_0xd958b7,_0x33e918,!0x1);if(_0x564972[_0x439531(0x218)](_0x323b91))throw _0x323b91[_0x439531(0x96)];if(_0x564972[_0x439531(0x218)](_0x1cd5b5))throw _0x1cd5b5['error'];_0xed5d30[_0x439531(0x2d7)]({..._0x5db477[_0x2bff9f],'undoState':_0x323b91[_0x439531(0xdc)][_0x439531(0x11e)],'redoState':_0x1cd5b5['m2Prime']['params']}),_0x198cdb=_0x323b91[_0x439531(0x1ba)],_0xd958b7=_0x1cd5b5[_0x439531(0x1ba)];}this['_docStateChangeManagerService'][_0x439531(0x193)](_0x280a7d,{'history':_0x4d0ac1,'collaboration':_0xed5d30});}};_0x432530=_0x16ec86([_0x192112(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x192112(0x1,_0x564972['ITransformService']),_0x192112(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x517afe[_0x17d35d(0x23d)]))],_0x432530);var _0x420ada=Object[_0x17d35d(0x1b1)],_0x1b70d4=(_0x102e50,_0x14385c,_0x35ce6b,_0x22cf81)=>{const _0x81cff9=_0x17d35d;for(var _0x4234ff=_0x22cf81>0x1?void 0x0:_0x22cf81?_0x420ada(_0x14385c,_0x35ce6b):_0x14385c,_0x11fc03=_0x102e50[_0x81cff9(0x2a5)]-0x1,_0x335976;_0x11fc03>=0x0;_0x11fc03--)(_0x335976=_0x102e50[_0x11fc03])&&(_0x4234ff=_0x335976(_0x4234ff)||_0x4234ff);return _0x4234ff;},_0x1ee831=(_0x4003b5,_0x31801c)=>(_0x573865,_0xd71b78)=>_0x31801c(_0x573865,_0xd71b78,_0x4003b5);let _0x44cb39=class{constructor(_0x37df06,_0x587aa6){const _0x4fdfee=_0x17d35d;this[_0x4fdfee(0x111)]=_0x37df06,this[_0x4fdfee(0x2b8)]=_0x587aa6;}[_0x17d35d(0x2da)](_0x3e3067){const _0x16d3c0=_0x17d35d;var _0x29b379;const _0x108446=this[_0x16d3c0(0x111)]['get'](_0x1f24cd[_0x16d3c0(0x2ab)]),_0x15356d=(_0x29b379=_0x108446['getDocRanges']())!=null?_0x29b379:[];if(_0x15356d[_0x16d3c0(0x2a5)]===0x0)return;const _0x328df3=_0x3e3067[_0x16d3c0(0x1dd)],_0x51c244=[{'id':_0x16d3c0(0x1f3),'params':{'unitId':_0x328df3,'actions':null,'textRanges':_0x15356d}}],_0x4b8134=this['_transformService'][_0x16d3c0(0xdd)](_0x3e3067,_0x51c244);if(!_0x564972['isTransformMutationsWithChangesetSuccess'](_0x4b8134))throw _0x4b8134['error'];const _0x4b3c33=_0x4b8134[_0x16d3c0(0xdc)][0x0][_0x16d3c0(0x11e)][_0x16d3c0(0x1a0)];Array['isArray'](_0x4b3c33)&&_0x4b3c33[_0x16d3c0(0x2a5)]&&_0x108446[_0x16d3c0(0xe8)](_0x4b3c33,{'unitId':_0x328df3,'subUnitId':_0x328df3},!0x1);}};_0x44cb39=_0x1b70d4([_0x1ee831(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x1ee831(0x1,_0x564972[_0x17d35d(0x158)])],_0x44cb39);var _0x5ee03a=Object[_0x17d35d(0x1b1)],_0x2bf7c1=(_0x3432e7,_0x508459,_0x13fdaa,_0x260fb9)=>{const _0x47b015=_0x17d35d;for(var _0x34ad56=_0x260fb9>0x1?void 0x0:_0x260fb9?_0x5ee03a(_0x508459,_0x13fdaa):_0x508459,_0x4cb13b=_0x3432e7[_0x47b015(0x2a5)]-0x1,_0x120d9f;_0x4cb13b>=0x0;_0x4cb13b--)(_0x120d9f=_0x3432e7[_0x4cb13b])&&(_0x34ad56=_0x120d9f(_0x34ad56)||_0x34ad56);return _0x34ad56;},_0x17b199=(_0x12d0b2,_0x29e14e)=>(_0x1b2fad,_0x4eb7af)=>_0x29e14e(_0x1b2fad,_0x4eb7af,_0x12d0b2);let _0x2ed237=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x4312ab,_0x5ecea4,_0x116253,_0x599c8b,_0x3e38a0,_0x5c3bf1,_0x3e9113,_0x5d6594){const _0x133093=_0x17d35d;super(),_0x3a1755(this,_0x133093(0x1b0),new _0x26ac39[(_0x133093(0xa6))](_0x1fb0d5[_0x133093(0x1eb)][_0x133093(0x1b8)])),(this[_0x133093(0x21f)]=_0x4312ab,this['_collaborationController']=_0x5ecea4,this[_0x133093(0x204)]=_0x116253,this[_0x133093(0x2cd)]=_0x599c8b,this[_0x133093(0x2a7)]=_0x3e38a0,this[_0x133093(0x97)]=_0x5c3bf1,this[_0x133093(0x2a0)]=_0x3e9113,this[_0x133093(0x137)]=_0x5d6594,this[_0x133093(0x354)]());}['_initEntityListener'](){const _0x837dbd=_0x17d35d;this[_0x837dbd(0x26f)](this[_0x837dbd(0x275)][_0x837dbd(0x18c)][_0x837dbd(0x2c8)](_0x31f4ef=>{const _0x1225d2=_0x837dbd,_0xed836a=this[_0x1225d2(0x21f)][_0x1225d2(0xa3)][_0x1225d2(0x2c8)](_0x2dc908=>{const _0x45587c=_0x1225d2;if(_0x2dc908==null)return;const {unitId:_0x288025,redoState:_0x1980d6,commandId:_0x11719}=_0x2dc908;if(_0x288025!==_0x31f4ef[_0x45587c(0x1dd)])return;const _0x7ad3d0={'id':_0x11719,'type':_0x51c300[_0x45587c(0x2d4)][_0x45587c(0x152)],'params':{'unitId':_0x288025,'actions':_0x1980d6[_0x45587c(0x229)],'textRanges':null}};_0x31f4ef[_0x45587c(0xe0)](_0x7ad3d0);});if(_0x31f4ef['disposeWithMe'](_0xed836a),_0x31f4ef instanceof _0x1fb0d5[_0x1225d2(0x156)]){const _0x171aa5={'onTransformIME':_0x177f1c=>this[_0x1225d2(0x204)][_0x1225d2(0x1b9)](_0x177f1c),'onTransformState':_0x424024=>this['_docTransformStateCacheService']['transformStateCache'](_0x424024),'onTransformSelections':_0x1578a2=>this['_docTransformSelectionsService'][_0x1225d2(0x2da)](_0x1578a2),'onSyncEditingCollabCursor':_0x39d977=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x39d977),'onTransformRemoteChangesetByIMECache':_0x430f57=>this[_0x1225d2(0x204)]['transformRemoteChangeset'](_0x430f57),'onTransformRemoteChangesetByStateCache':_0x3bc3b1=>this[_0x1225d2(0x2cd)][_0x1225d2(0x317)](_0x3bc3b1)};_0x31f4ef['addHandlerCallback'](_0x171aa5);}}));}};_0x2ed237=_0x2bf7c1([_0x17b199(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x517afe[_0x17d35d(0x23d)])),_0x17b199(0x1,_0x51c300['Inject'](_0x1fb0d5[_0x17d35d(0x311)])),_0x17b199(0x2,_0x51c300['Inject'](_0x5348e9)),_0x17b199(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x432530)),_0x17b199(0x4,_0x51c300['Inject'](_0x44cb39)),_0x17b199(0x5,_0x51c300[_0x17d35d(0x2a3)](_0x2bcc62)),_0x17b199(0x6,_0x316cc8[_0x17d35d(0x1e7)]),_0x17b199(0x7,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x31f)]))],_0x2ed237);var _0x25292b=(_0x5b6859=>(_0x5b6859[_0x5b6859[_0x17d35d(0x150)]=0x0]='UNDEFINED',_0x5b6859[_0x5b6859['OK']=0x1]='OK',_0x5b6859[_0x5b6859[_0x17d35d(0xba)]=0x2]='INTERNAL_ERROR',_0x5b6859[_0x5b6859['PERMISSION_DENIED']=0x3]=_0x17d35d(0x1d6),_0x5b6859[_0x5b6859[_0x17d35d(0xa4)]=0x4]='NOT_FOUND',_0x5b6859[_0x5b6859[_0x17d35d(0x373)]=0x5]=_0x17d35d(0x373),_0x5b6859[_0x5b6859[_0x17d35d(0xed)]=0x6]=_0x17d35d(0xed),_0x5b6859[_0x5b6859[_0x17d35d(0x1c8)]=0x7]=_0x17d35d(0x1c8),_0x5b6859[_0x5b6859[_0x17d35d(0x8d)]=0x8]=_0x17d35d(0x8d),_0x5b6859[_0x5b6859[_0x17d35d(0xa8)]=0x9]=_0x17d35d(0xa8),_0x5b6859[_0x5b6859[_0x17d35d(0x9d)]=0xa]=_0x17d35d(0x9d),_0x5b6859[_0x5b6859[_0x17d35d(0xc6)]=0xb]=_0x17d35d(0xc6),_0x5b6859[_0x5b6859[_0x17d35d(0xe6)]=0xc]=_0x17d35d(0xe6),_0x5b6859[_0x5b6859['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5b6859[_0x5b6859[_0x17d35d(0x36e)]=0xe]=_0x17d35d(0x36e),_0x5b6859[_0x5b6859[_0x17d35d(0x92)]=0xf]=_0x17d35d(0x92),_0x5b6859[_0x5b6859[_0x17d35d(0x344)]=0x10]=_0x17d35d(0x344),_0x5b6859[_0x5b6859['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x17d35d(0x1b5),_0x5b6859[_0x5b6859['ERROR_AGAIN']=0x65]=_0x17d35d(0x112),_0x5b6859[_0x5b6859[_0x17d35d(0x2fb)]=0xc9]='USER_NOT_FOUND',_0x5b6859[_0x5b6859[_0x17d35d(0xf4)]=0xca]='USER_IS_ANONYMOUS',_0x5b6859[_0x5b6859[_0x17d35d(0x153)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5b6859[_0x5b6859['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5b6859[_0x5b6859[_0x17d35d(0x2df)]=0x1772]=_0x17d35d(0x2df),_0x5b6859[_0x5b6859[_0x17d35d(0x1c1)]=0x1773]=_0x17d35d(0x1c1),_0x5b6859[_0x5b6859[_0x17d35d(0x26a)]=0x1b59]=_0x17d35d(0x26a),_0x5b6859[_0x5b6859[_0x17d35d(0x26e)]=0x1b5a]=_0x17d35d(0x26e),_0x5b6859[_0x5b6859['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x17d35d(0x1b6),_0x5b6859[_0x5b6859['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x17d35d(0x2c7),_0x5b6859[_0x5b6859[_0x17d35d(0xcd)]=0x1b5d]=_0x17d35d(0xcd),_0x5b6859[_0x5b6859[_0x17d35d(0xb5)]=0x1f41]=_0x17d35d(0xb5),_0x5b6859[_0x5b6859[_0x17d35d(0x330)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5b6859[_0x5b6859[_0x17d35d(0x1f6)]=0x232a]=_0x17d35d(0x1f6),_0x5b6859[_0x5b6859[_0x17d35d(0x12f)]=0x232b]=_0x17d35d(0x12f),_0x5b6859[_0x5b6859[_0x17d35d(0x15a)]=0x232c]=_0x17d35d(0x15a),_0x5b6859[_0x5b6859[_0x17d35d(0x1a1)]=0x232d]=_0x17d35d(0x1a1),_0x5b6859[_0x5b6859[_0x17d35d(0x114)]=0x2711]=_0x17d35d(0x114),_0x5b6859[_0x5b6859[_0x17d35d(0x377)]=0x2712]=_0x17d35d(0x377),_0x5b6859[_0x5b6859[_0x17d35d(0x211)]=0x2713]=_0x17d35d(0x211),_0x5b6859[_0x5b6859[_0x17d35d(0x187)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5b6859[_0x5b6859[_0x17d35d(0x124)]=0x271a]=_0x17d35d(0x124),_0x5b6859[_0x5b6859[_0x17d35d(0x2d8)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5b6859[_0x5b6859[_0x17d35d(0x17d)]=0x271c]=_0x17d35d(0x17d),_0x5b6859[_0x5b6859[_0x17d35d(0x118)]=0x271d]=_0x17d35d(0x118),_0x5b6859[_0x5b6859[_0x17d35d(0x27f)]=0x271e]=_0x17d35d(0x27f),_0x5b6859[_0x5b6859[_0x17d35d(0x232)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5b6859[_0x5b6859['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x17d35d(0x11c),_0x5b6859[_0x5b6859[_0x17d35d(0x27b)]=0x2af9]=_0x17d35d(0x27b),_0x5b6859[_0x5b6859[_0x17d35d(0x14b)]=0x2ee1]=_0x17d35d(0x14b),_0x5b6859[_0x5b6859[_0x17d35d(0x2d6)]=0x2ee2]=_0x17d35d(0x2d6),_0x5b6859[_0x5b6859[_0x17d35d(0x2b3)]=0x2ee3]=_0x17d35d(0x2b3),_0x5b6859[_0x5b6859[_0x17d35d(0x99)]=0x2ee4]=_0x17d35d(0x99),_0x5b6859[_0x5b6859[_0x17d35d(0x1c3)]=0x2ee5]=_0x17d35d(0x1c3),_0x5b6859[_0x5b6859[_0x17d35d(0x17c)]=0x32c9]=_0x17d35d(0x17c),_0x5b6859[_0x5b6859['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5b6859[_0x5b6859[_0x17d35d(0x333)]=0x32cb]=_0x17d35d(0x333),_0x5b6859[_0x5b6859[_0x17d35d(0xc5)]=0x36b1]=_0x17d35d(0xc5),_0x5b6859[_0x5b6859[_0x17d35d(0x312)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x5b6859[_0x5b6859[_0x17d35d(0x25a)]=0x36b3]=_0x17d35d(0x25a),_0x5b6859[_0x5b6859[_0x17d35d(0x1bd)]=0x36b4]=_0x17d35d(0x1bd),_0x5b6859[_0x5b6859[_0x17d35d(0x16e)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5b6859[_0x5b6859[_0x17d35d(0x2c5)]=0x36b6]=_0x17d35d(0x2c5),_0x5b6859[_0x5b6859[_0x17d35d(0x2bf)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x5b6859[_0x5b6859['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x17d35d(0x280),_0x5b6859[_0x5b6859['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x17d35d(0x20b),_0x5b6859[_0x5b6859[_0x17d35d(0x2ec)]=0x3716]=_0x17d35d(0x2ec),_0x5b6859[_0x5b6859[_0x17d35d(0x310)]=0x3717]=_0x17d35d(0x310),_0x5b6859[_0x5b6859[_0x17d35d(0x12d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5b6859[_0x5b6859['REDEMPTION_INVALID_CODE']=0x3a99]=_0x17d35d(0x282),_0x5b6859[_0x5b6859[_0x17d35d(0x143)]=0x3a9a]=_0x17d35d(0x143),_0x5b6859[_0x5b6859[_0x17d35d(0x235)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x5b6859[_0x5b6859[_0x17d35d(0x33c)]=0x3a9c]=_0x17d35d(0x33c),_0x5b6859[_0x5b6859[_0x17d35d(0x1f8)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x5b6859[_0x5b6859[_0x17d35d(0x26b)]=0x3a9e]=_0x17d35d(0x26b),_0x5b6859[_0x5b6859[_0x17d35d(0x367)]=0x3a9f]=_0x17d35d(0x367),_0x5b6859[_0x5b6859[_0x17d35d(0x1da)]=0x3e81]=_0x17d35d(0x1da),_0x5b6859[_0x5b6859['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5b6859))(_0x25292b||{});function _0x1d9b52(_0x79def){const _0x220f9e=_0x17d35d;var _0x57330d,_0x3f4daa;const _0x4d88ca=(_0x57330d=_0x79def[_0x220f9e(0x360)])==null?void 0x0:_0x57330d[_0x220f9e(0x136)],_0x55394e=((_0x3f4daa=_0x79def[_0x220f9e(0x360)])==null?void 0x0:_0x3f4daa['totalFormulasToCalculate'])||0x0;return _0x4d88ca===_0x4f54c4[_0x220f9e(0x2b7)][_0x220f9e(0x2a2)]&&_0x55394e>0x0;}function _0x2b46df(_0x32e058){const _0x5db89f=_0x17d35d;return _0x32e058[_0x5db89f(0x22c)]===_0x4f54c4['FormulaExecutedStateType']['SUCCESS'];}var _0x21f51b=Object[_0x17d35d(0x1b1)],_0x5c34d9=(_0x4144d5,_0x85be27,_0x3120ac,_0x35f30f)=>{for(var _0x202944=_0x35f30f>0x1?void 0x0:_0x35f30f?_0x21f51b(_0x85be27,_0x3120ac):_0x85be27,_0xeecd69=_0x4144d5['length']-0x1,_0x5a41d5;_0xeecd69>=0x0;_0xeecd69--)(_0x5a41d5=_0x4144d5[_0xeecd69])&&(_0x202944=_0x5a41d5(_0x202944)||_0x202944);return _0x202944;},_0x20d37c=(_0x35e213,_0x119ec1)=>(_0x31ad31,_0x57484a)=>_0x119ec1(_0x31ad31,_0x57484a,_0x35e213);const _0x32f55e='/universer-api/license/formula/limit/status',_0x154d2f='/universer-api/license/formula/limit/start',_0x11b762=_0x17d35d(0x2c3);let _0x2ce8fb=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x307cdd,_0x6eb2e8,_0x328a93,_0x2dcc56,_0x4e136f,_0x1a2340,_0x2884e7){const _0x4f0bf2=_0x17d35d;super(),_0x3a1755(this,_0x4f0bf2(0x293),null),_0x3a1755(this,_0x4f0bf2(0x115),0x0),_0x3a1755(this,'_currentUsage',0x0),_0x3a1755(this,_0x4f0bf2(0x217),[]),_0x3a1755(this,_0x4f0bf2(0xca),0x0),(this[_0x4f0bf2(0x2a0)]=_0x307cdd,this[_0x4f0bf2(0xf8)]=_0x6eb2e8,this[_0x4f0bf2(0xdf)]=_0x328a93,this[_0x4f0bf2(0x340)]=_0x2dcc56,this[_0x4f0bf2(0x135)]=_0x4e136f,this['_logService']=_0x1a2340,this[_0x4f0bf2(0x137)]=_0x2884e7,this['_initCommandInterceptor']());}[_0x17d35d(0x1c5)](){const _0x460b6d=_0x17d35d;this[_0x460b6d(0x26f)](this['_commandService'][_0x460b6d(0x2cb)]((_0x21315b,_0x1d1d56)=>{const _0x35b202=_0x460b6d;var _0x13aa29;if(_0x21315b['id']!==_0x4f54c4[_0x35b202(0x258)]['id'])return;const _0x4a1c16=_0x21315b[_0x35b202(0x11e)];if(!this[_0x35b202(0x2b4)]((_0x13aa29=_0x4a1c16['dirtyRanges'])!=null?_0x13aa29:[]))return;if(!this[_0x35b202(0x35d)]())throw this[_0x35b202(0x315)](_0x21315b,_0x1d1d56),this[_0x35b202(0x247)](),new _0x51c300[(_0x35b202(0x254))]();})),this[_0x460b6d(0x26f)](this[_0x460b6d(0xf8)][_0x460b6d(0x161)]((_0x59b5bb,_0x363003)=>{const _0x5ae59e=_0x460b6d;if(_0x59b5bb['id']!==_0x4f54c4[_0x5ae59e(0xe4)]['id'])return;const _0x3207b4=_0x59b5bb[_0x5ae59e(0x11e)];if(_0x1d9b52(_0x3207b4)){const _0xb08d7e=_0x51c300[_0x5ae59e(0x283)]();this[_0x5ae59e(0x217)][_0x5ae59e(0x29d)](_0xb08d7e),this[_0x5ae59e(0x11a)](_0xb08d7e);}else{if(_0x2b46df(_0x3207b4)&&this[_0x5ae59e(0x217)][_0x5ae59e(0x2a5)]>0x0){const _0x1e2bdd=this[_0x5ae59e(0x217)]['shift']();this[_0x5ae59e(0x189)](_0x1e2bdd);}}}));}[_0x17d35d(0x1bb)](){const _0x408d4a=_0x17d35d;super[_0x408d4a(0x1bb)](),this['_clearPolling'](),this['_taskIds']=[],this[_0x408d4a(0x341)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x408d4a(0xca)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x47641d,_0xac8228){const _0x8b0c57=_0x17d35d;for(let _0x13390e=0x0;_0x13390e<0x1e;_0x13390e++)try{if(await this[_0x8b0c57(0x2be)](),this[_0x8b0c57(0x35d)]()){this[_0x8b0c57(0x2f1)](_0x47641d,_0xac8228),this[_0x8b0c57(0x2a0)][_0x8b0c57(0x196)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x1d9515['MessageType']['Success']});return;}await new Promise(_0x4d5fd1=>{const _0x48bc5e=_0x8b0c57;this[_0x48bc5e(0x293)]=window[_0x48bc5e(0x1cf)](_0x4d5fd1,0x3e8);});}catch(_0x4392da){this['_logService']['error'](_0x4392da);}this[_0x8b0c57(0x2a0)][_0x8b0c57(0x196)]({'content':this[_0x8b0c57(0x137)]['t'](_0x8b0c57(0x160)),'type':_0x1d9515[_0x8b0c57(0x179)][_0x8b0c57(0x1df)]});}[_0x17d35d(0x2f1)](_0x45467c,_0x1c0a26){const _0xb0b7b1=_0x17d35d;try{this['_commandService']['executeCommand'](_0x45467c['id'],_0x45467c[_0xb0b7b1(0x11e)],_0x1c0a26);}catch(_0x2b2266){this['_logService'][_0xb0b7b1(0x96)](_0x2b2266);}}['_setFormulaLimitStatus'](_0x41fd11,_0x324843){const _0x573d8a=_0x17d35d;_0x324843<this[_0x573d8a(0xca)]||(this[_0x573d8a(0xca)]=_0x324843,this[_0x573d8a(0x115)]=Number['parseInt'](_0x41fd11[_0x573d8a(0x105)]),this[_0x573d8a(0x341)]=Number[_0x573d8a(0x1fa)](_0x41fd11[_0x573d8a(0xfd)]));}async[_0x17d35d(0x11a)](_0x33d30e){const _0x37f0aa=_0x17d35d;var _0x56644c,_0x32e2b8;const _0xf67603=Date[_0x37f0aa(0x175)]();try{const _0x57864b=((_0x56644c=this[_0x37f0aa(0xdf)][_0x37f0aa(0x22d)](_0x1fb0d5[_0x37f0aa(0x257)]))==null?void 0x0:_0x56644c[_0x37f0aa(0x33a)])||_0x154d2f,_0x4e760b=(await this[_0x37f0aa(0x340)]['post'](_0x57864b,{'body':JSON[_0x37f0aa(0x210)]({'taskId':_0x33d30e})}))[_0x37f0aa(0x32d)];if(((_0x32e2b8=_0x4e760b['error'])==null?void 0x0:_0x32e2b8[_0x37f0aa(0x307)])!==_0x25292b['OK'])return;this['_setFormulaLimitStatus'](_0x4e760b[_0x37f0aa(0x30f)],_0xf67603);}catch(_0x3371b6){this[_0x37f0aa(0x11b)][_0x37f0aa(0x96)](_0x3371b6);}}async[_0x17d35d(0x2be)](_0x5466a6){const _0x38f837=_0x17d35d;var _0x262233,_0x2557e1;const _0x579193=Date['now']();try{const _0xe5b581=((_0x262233=this[_0x38f837(0xdf)][_0x38f837(0x22d)](_0x1fb0d5[_0x38f837(0x257)]))==null?void 0x0:_0x262233['getformulaLimitStatusUrl'])||_0x32f55e,_0x5b55b2=_0x5466a6?_0xe5b581+_0x38f837(0x2ef)+encodeURIComponent(_0x5466a6):_0xe5b581,_0x5986cd=(await this[_0x38f837(0x340)][_0x38f837(0x16c)](_0x5b55b2))[_0x38f837(0x32d)];if(((_0x2557e1=_0x5986cd[_0x38f837(0x96)])==null?void 0x0:_0x2557e1[_0x38f837(0x307)])!==_0x25292b['OK'])return;this[_0x38f837(0x256)](_0x5986cd['limitInfo'],_0x579193);}catch(_0x8a584a){this[_0x38f837(0x11b)][_0x38f837(0x96)](_0x8a584a);}}async[_0x17d35d(0x189)](_0x17d226){const _0x200060=_0x17d35d;var _0x3d3646,_0x3dafa3;const _0x106ddd=Date[_0x200060(0x175)]();try{const _0x4f276d=((_0x3d3646=this['_configService'][_0x200060(0x22d)](_0x1fb0d5[_0x200060(0x257)]))==null?void 0x0:_0x3d3646[_0x200060(0x116)])||_0x11b762,_0x3e9ed1=(await this[_0x200060(0x340)][_0x200060(0x24c)](_0x4f276d,{'body':JSON[_0x200060(0x210)]({'taskId':_0x17d226})}))[_0x200060(0x32d)];if(((_0x3dafa3=_0x3e9ed1[_0x200060(0x96)])==null?void 0x0:_0x3dafa3[_0x200060(0x307)])!==_0x25292b['OK'])return;this[_0x200060(0x256)](_0x3e9ed1['limitInfo'],_0x106ddd);}catch(_0x2e02d7){this['_logService']['error'](_0x2e02d7);}}[_0x17d35d(0x35d)](){const _0x273be2=_0x17d35d;return this[_0x273be2(0x115)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x273be2(0x341)]>0x0;}[_0x17d35d(0x19b)](){const _0x1da157=_0x17d35d;this[_0x1da157(0x293)]&&(clearTimeout(this[_0x1da157(0x293)]),this[_0x1da157(0x293)]=null);}[_0x17d35d(0x247)](){const _0x4ff791=_0x17d35d;this[_0x4ff791(0x2a0)][_0x4ff791(0x196)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x1d9515[_0x4ff791(0x179)][_0x4ff791(0xf9)]});}['_hasFormulaInDirtyRanges'](_0x43c09c){const _0x2d6b96=_0x17d35d;for(const _0x57c688 of _0x43c09c){const {unitId:_0x24834a,sheetId:_0x32044b,range:_0x343324}=_0x57c688,_0x2f629c=this[_0x2d6b96(0x135)][_0x2d6b96(0x167)](_0x24834a);if(!_0x2f629c)continue;const _0x279b0e=_0x2f629c[_0x2d6b96(0xfb)](_0x32044b);if(!_0x279b0e)continue;const _0x1d2560=_0x279b0e['getCellMatrix']();for(let _0x19f843=_0x343324[_0x2d6b96(0x2de)];_0x19f843<=_0x343324[_0x2d6b96(0x14c)];_0x19f843++)for(let _0x3a0305=_0x343324[_0x2d6b96(0x17a)];_0x3a0305<=_0x343324[_0x2d6b96(0x1c0)];_0x3a0305++){const _0x10f113=_0x1d2560[_0x2d6b96(0xf1)](_0x19f843,_0x3a0305);if(_0x10f113&&(_0x51c300[_0x2d6b96(0x31a)](_0x10f113['f'])||_0x51c300[_0x2d6b96(0x326)](_0x10f113['si'])))return!0x0;}}return!0x1;}};_0x2ce8fb=_0x5c34d9([_0x20d37c(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x316cc8[_0x17d35d(0x1e7)])),_0x20d37c(0x1,_0x51c300[_0x17d35d(0x101)]),_0x20d37c(0x2,_0x51c300[_0x17d35d(0x32c)]),_0x20d37c(0x3,_0x51c300['Inject'](_0x3f6e7a[_0x17d35d(0x16b)])),_0x20d37c(0x4,_0x51c300[_0x17d35d(0x181)]),_0x20d37c(0x5,_0x51c300[_0x17d35d(0x1ac)]),_0x20d37c(0x6,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x31f)]))],_0x2ce8fb);var _0xe92fbe=Object[_0x17d35d(0x1b1)],_0xfe02ad=(_0x43462e,_0x51ad33,_0x2e3824,_0x3a0d51)=>{for(var _0x2315a1=_0x3a0d51>0x1?void 0x0:_0x3a0d51?_0xe92fbe(_0x51ad33,_0x2e3824):_0x51ad33,_0x37bfae=_0x43462e['length']-0x1,_0x3d2645;_0x37bfae>=0x0;_0x37bfae--)(_0x3d2645=_0x43462e[_0x37bfae])&&(_0x2315a1=_0x3d2645(_0x2315a1)||_0x2315a1);return _0x2315a1;},_0x410fd0=(_0x1e4b82,_0x162404)=>(_0x48cdb4,_0x5a9aa8)=>_0x162404(_0x48cdb4,_0x5a9aa8,_0x1e4b82);let _0x11105d=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x4a07cc,_0x3d8ed2,_0x2ccb4d){const _0x32adcf=_0x17d35d;super(),_0x3a1755(this,_0x32adcf(0x324),new Map()),_0x3a1755(this,_0x32adcf(0x28d),new Map()),_0x3a1755(this,_0x32adcf(0x300),!0x1),(this[_0x32adcf(0xdf)]=_0x4a07cc,this[_0x32adcf(0xd8)]=_0x3d8ed2,this[_0x32adcf(0x322)]=_0x2ccb4d);}[_0x17d35d(0x28c)](){const _0x4c841b=_0x17d35d;this[_0x4c841b(0x300)]=!0x0;}[_0x17d35d(0xc2)](){const _0x23f5dd=_0x17d35d;this[_0x23f5dd(0x300)]=!0x1;}get['saveTaskMap'](){const _0x5ecd2a=_0x17d35d;return this[_0x5ecd2a(0x28d)];}[_0x17d35d(0x1bb)](){const _0x331b50=_0x17d35d;this[_0x331b50(0x208)]()['then'](()=>super[_0x331b50(0x1bb)]());}async[_0x17d35d(0x266)](_0x564011){const _0x189238=_0x17d35d;return this['_disabled']?null:this[_0x189238(0xd8)]['getItem'](_0x1fb0d5['getLocalCacheKey'](_0x564011));}async[_0x17d35d(0x241)](_0x5aac37,_0x276be1){const _0x5f4742=_0x17d35d;return!!this[_0x5f4742(0xd8)][_0x5f4742(0x233)](_0x5aac37,_0x276be1);}['updateOfflineData'](_0x419c4e,_0x31bc19,_0x113a1b,_0x46c40f){const _0x56413f=_0x17d35d,_0x524350=this['_revisionService'][_0x56413f(0x2ce)](_0x419c4e);this['_cachedData'][_0x56413f(0x176)](_0x419c4e,{'unitID':_0x419c4e,'type':_0x31bc19,'awaitingChangeset':_0x113a1b,'mutations':_0x46c40f,'rev':_0x524350}),this[_0x56413f(0x28d)][_0x56413f(0x325)](_0x419c4e)||this[_0x56413f(0x215)](_0x419c4e);}[_0x17d35d(0x215)](_0x1b859d){const _0x8def1a=_0x17d35d,_0x3a5cdd=this[_0x8def1a(0x98)]();_0x3a5cdd===0x0?this[_0x8def1a(0x2a1)](_0x1b859d):this[_0x8def1a(0x28d)][_0x8def1a(0x176)](_0x1b859d,setTimeout(()=>this['_saveCache'](_0x1b859d),_0x3a5cdd));}[_0x17d35d(0x98)](){const _0x4c800c=_0x17d35d;var _0xe26821;return(_0xe26821=this[_0x4c800c(0xdf)]['getConfig'](_0x1fb0d5[_0x4c800c(0x30e)]))!=null?_0xe26821:_0x1fb0d5[_0x4c800c(0x25f)];}[_0x17d35d(0x2a1)](_0x5a19e8){const _0x48de8f=_0x17d35d,_0x5728c9=this[_0x48de8f(0x28d)]['get'](_0x5a19e8);return _0x5728c9!==void 0x0&&window['clearTimeout'](_0x5728c9),this['_localStorageService'][_0x48de8f(0x233)](_0x1fb0d5[_0x48de8f(0x313)](_0x5a19e8),this[_0x48de8f(0x324)]['get'](_0x5a19e8))[_0x48de8f(0x1be)](()=>this[_0x48de8f(0x28d)][_0x48de8f(0x296)](_0x5a19e8));}async['exhaustSavingTask'](){const _0x1b378b=_0x17d35d,_0x2ab9be=[];this[_0x1b378b(0x28d)][_0x1b378b(0x23f)]((_0xa6df03,_0x2ad096)=>{const _0x9967=_0x1b378b;window[_0x9967(0x321)](_0xa6df03),_0x2ab9be[_0x9967(0x29d)](this[_0x9967(0x2a1)](_0x2ad096)['then'](()=>{const _0x40f978=_0x9967;this['_saveTaskMap'][_0x40f978(0x296)](_0x2ad096);}));}),await Promise['all'](_0x2ab9be);}};_0x11105d=_0xfe02ad([_0x410fd0(0x0,_0x51c300[_0x17d35d(0x32c)]),_0x410fd0(0x1,_0x51c300[_0x17d35d(0x15e)]),_0x410fd0(0x2,_0x51c300['Inject'](_0x564972[_0x17d35d(0x28f)]))],_0x11105d);class _0xdacd90 extends _0x51c300[_0x17d35d(0x15b)]{constructor(){const _0x3ad798=_0x17d35d;super(),_0x3a1755(this,_0x3ad798(0xcb)),this['urlChange$']=_0x26ac39['fromEvent'](window,_0x3ad798(0x32a))[_0x3ad798(0x28e)](_0x26ac39[_0x3ad798(0x2d3)](this['dispose$']),_0x26ac39[_0x3ad798(0x209)](0x1),_0x26ac39[_0x3ad798(0x1de)](void 0x0));}[_0x17d35d(0x1a6)](_0x30bc99,_0xb71249,_0x57e913=!0x1){const _0x143423=_0x17d35d,_0x5695c6=new URL(window[_0x143423(0x121)]['href']);_0x5695c6[_0x143423(0x1e5)][_0x143423(0x176)](_0x30bc99,_0xb71249),_0x57e913?window[_0x143423(0xad)][_0x143423(0x2e3)]('','',_0x5695c6[_0x143423(0x155)]()):window['history']['pushState']('','',_0x5695c6[_0x143423(0x155)]());}[_0x17d35d(0x21a)](_0x1652ed,_0x16c3ce=!0x1){const _0xd14a39=_0x17d35d,_0x1c6cd8=new URL(window[_0xd14a39(0x121)][_0xd14a39(0x260)]);_0x1c6cd8[_0xd14a39(0x1e5)][_0xd14a39(0x296)](_0x1652ed),_0x16c3ce?window[_0xd14a39(0xad)]['replaceState']('','',_0x1c6cd8['toString']()):window[_0xd14a39(0xad)]['pushState']('','',_0x1c6cd8[_0xd14a39(0x155)]());}[_0x17d35d(0x169)](_0x24e50c){const _0xef962b=_0x17d35d;var _0x1df8bb;return(_0x1df8bb=new URL(window[_0xef962b(0x121)][_0xef962b(0x260)])[_0xef962b(0x1e5)][_0xef962b(0x16c)](_0x24e50c))!=null?_0x1df8bb:void 0x0;}}var _0xe3cb26=Object[_0x17d35d(0x1ee)],_0xd1e5ef=Object[_0x17d35d(0x1b1)],_0x33be02=(_0x2914a6,_0x4b1437,_0x5581c2)=>_0x4b1437 in _0x2914a6?_0xe3cb26(_0x2914a6,_0x4b1437,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5581c2}):_0x2914a6[_0x4b1437]=_0x5581c2,_0x4ad30a=(_0x4e9231,_0x4e534e,_0x3be09d,_0x2b2209)=>{const _0x5d43aa=_0x17d35d;for(var _0x8d3b35=_0x2b2209>0x1?void 0x0:_0x2b2209?_0xd1e5ef(_0x4e534e,_0x3be09d):_0x4e534e,_0x574c05=_0x4e9231[_0x5d43aa(0x2a5)]-0x1,_0x17b188;_0x574c05>=0x0;_0x574c05--)(_0x17b188=_0x4e9231[_0x574c05])&&(_0x8d3b35=_0x17b188(_0x8d3b35)||_0x8d3b35);return _0x8d3b35;},_0x5816c2=(_0x486a05,_0x3bb2e6)=>(_0x4c1df1,_0x5e4817)=>_0x3bb2e6(_0x4c1df1,_0x5e4817,_0x486a05),_0x422bec=(_0x41400e,_0xc78679,_0x220546)=>_0x33be02(_0x41400e,_0xc78679+'',_0x220546);const _0x291eab=_0x17d35d(0x2c9);_0x606468[_0x17d35d(0x26d)]=class extends _0x51c300['Plugin']{constructor(_0xc3d0d6=_0x574bdb,_0x47d4ff,_0x510d68,_0x102f0c){const _0x4ddf88=_0x17d35d;super(),this['_config']=_0xc3d0d6,this[_0x4ddf88(0x2e0)]=_0x47d4ff,this[_0x4ddf88(0x111)]=_0x510d68,this[_0x4ddf88(0xdf)]=_0x102f0c;const {..._0x52626c}=_0x51c300['merge']({},_0x574bdb,this[_0x4ddf88(0x24e)]);this[_0x4ddf88(0xdf)][_0x4ddf88(0x2f9)](_0x33fb92,_0x52626c);}[_0x17d35d(0x16f)](){const _0xdf57cc=_0x17d35d;this[_0xdf57cc(0x276)](),this[_0xdf57cc(0x170)]();}['onRendered'](){const _0x332049=_0x17d35d;this[_0x332049(0x174)]();}[_0x17d35d(0x276)](){const _0x5b16f2=_0x17d35d;var _0x4ada10;const _0x2178c1=[[_0x18a9e9],[_0x2ce8fb],[_0x44cb39],[_0x5348e9],[_0x432530],[_0x2bcc62],[_0x1fcf33,{'useClass':_0xdacd90}],[_0x3f6e7a[_0x5b16f2(0x15f)],{'useClass':_0x3f6e7a[_0x5b16f2(0xe2)]}],[_0x1fb0d5[_0x5b16f2(0x363)],{'useClass':_0x11105d}],[_0x606468[_0x5b16f2(0x17b)]],[_0x2ed237],[_0x744c25],[_0x5c07ee],[_0x47d9f6],[_0x606468[_0x5b16f2(0x1e6)]]];this[_0x5b16f2(0x24e)][_0x5b16f2(0x1a9)]&&_0x2178c1['push']([_0x2379d1]),_0x51c300[_0x5b16f2(0x2d2)](this[_0x5b16f2(0x111)],_0x51c300[_0x5b16f2(0x34b)](_0x2178c1,(_0x4ada10=this[_0x5b16f2(0x24e)])==null?void 0x0:_0x4ada10[_0x5b16f2(0x1ce)]));}[_0x17d35d(0x174)](){const _0x584cbe=_0x17d35d;this[_0x584cbe(0x26f)](this[_0x584cbe(0x2e0)][_0x584cbe(0x2b2)](_0x51c300[_0x584cbe(0x245)][_0x584cbe(0x298)],[_0x323dd0])),this[_0x584cbe(0x26f)](this[_0x584cbe(0x2e0)][_0x584cbe(0x2b2)](_0x51c300[_0x584cbe(0x245)][_0x584cbe(0x2f3)],[_0x1cbee9]));}[_0x17d35d(0x170)](){const _0x426cad=_0x17d35d;_0x51c300['touchDependencies'](this[_0x426cad(0x111)],[[_0x5c07ee],[_0x606468['DesktopCollaborationStatusDisplayController']],[_0x2ed237],[_0x744c25],[_0x606468['CollaborationDataLoaderController']],[_0x2ce8fb]]),this[_0x426cad(0x24e)]['enableFrontendLog']&&_0x51c300[_0x426cad(0x362)](this['_injector'],[[_0x2379d1]]);}},_0x422bec(_0x606468[_0x17d35d(0x26d)],_0x17d35d(0x24a),_0x291eab),_0x606468[_0x17d35d(0x26d)]=_0x4ad30a([_0x51c300['DependentOn'](_0x1fb0d5[_0x17d35d(0x374)]),_0x5816c2(0x1,_0x50dad4[_0x17d35d(0x1f5)]),_0x5816c2(0x2,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x127)])),_0x5816c2(0x3,_0x51c300[_0x17d35d(0x32c)])],_0x606468[_0x17d35d(0x26d)]);var _0x40b1fe=Object[_0x17d35d(0x1b1)],_0x51a157=(_0x1fbe10,_0x4456ba,_0x13ab75,_0xc0d200)=>{const _0x527a38=_0x17d35d;for(var _0x203401=_0xc0d200>0x1?void 0x0:_0xc0d200?_0x40b1fe(_0x4456ba,_0x13ab75):_0x4456ba,_0x11f207=_0x1fbe10[_0x527a38(0x2a5)]-0x1,_0x25fcf0;_0x11f207>=0x0;_0x11f207--)(_0x25fcf0=_0x1fbe10[_0x11f207])&&(_0x203401=_0x25fcf0(_0x203401)||_0x203401);return _0x203401;},_0x263ccd=(_0x5140b5,_0x3b5612)=>(_0x57baec,_0x690aad)=>_0x3b5612(_0x57baec,_0x690aad,_0x5140b5);_0x606468[_0x17d35d(0xd0)]=class extends _0x1fb0d5[_0x17d35d(0x20c)]{constructor(_0xad4f38,_0x193f59,_0x14306e,_0xe40386,_0x583b4e){super(_0xad4f38,_0x193f59,_0x14306e,_0xe40386,_0x583b4e);}async[_0x17d35d(0x168)](_0x51bff9){const _0x55a2d9=_0x17d35d,_0x177f43=await this[_0x55a2d9(0x1ab)](),_0x4b26b7=this['_createSocketURL'](_0x51bff9,_0x177f43);return this[_0x55a2d9(0x332)](_0x4b26b7);}[_0x17d35d(0x21b)](_0x3f05f4,_0x1aaf82){const _0x1a8118=_0x17d35d,_0x174ad4=typeof window>'u'?new URL(_0x3f05f4):new URL(_0x3f05f4,window[_0x1a8118(0x121)]['origin']);_0x174ad4[_0x1a8118(0x1e5)][_0x1a8118(0x176)](_0x1a8118(0x1ed),_0x1aaf82);const _0x516a9c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1a8118(0x121)][_0x1a8118(0x10c)]);return _0x516a9c[_0x1a8118(0x16c)](_0x1a8118(0x34e))&&_0x174ad4[_0x1a8118(0x1e5)][_0x1a8118(0x176)]('runId',_0x516a9c[_0x1a8118(0x16c)](_0x1a8118(0x34e))),_0x174ad4[_0x1a8118(0x155)]();}async[_0x17d35d(0x1ab)](){const _0x97775c=_0x17d35d;var _0x554609,_0x4426e7,_0x3a11f5;const _0x5d87df=this['_configService']['getConfig'](_0x1fb0d5[_0x97775c(0x257)]),_0x2bcd82=(_0x554609=_0x5d87df==null?void 0x0:_0x5d87df[_0x97775c(0x36f)])!=null?_0x554609:_0x1fb0d5[_0x97775c(0x31c)];return(_0x3a11f5=(_0x4426e7=(await this[_0x97775c(0x340)][_0x97775c(0x16c)](_0x2bcd82,{'headers':{'Content-Type':_0x97775c(0x132)}}))['body'])==null?void 0x0:_0x4426e7['ticket'])!=null?_0x3a11f5:'';}},_0x606468['BrowserCollaborationSocketService']=_0x51a157([_0x263ccd(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x263ccd(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x3f6e7a['HTTPService'])),_0x263ccd(0x2,_0x51c300[_0x17d35d(0x32c)]),_0x263ccd(0x3,_0x51c300['ILogService']),_0x263ccd(0x4,_0x564972[_0x17d35d(0x31e)])],_0x606468[_0x17d35d(0xd0)]);var _0x43f108=Object[_0x17d35d(0x1b1)],_0x2ea0b5=(_0x376d9d,_0x3e92f9,_0x5dc36d,_0x563ea7)=>{for(var _0x4c3ee2=_0x563ea7>0x1?void 0x0:_0x563ea7?_0x43f108(_0x3e92f9,_0x5dc36d):_0x3e92f9,_0x1f2a9c=_0x376d9d['length']-0x1,_0x377625;_0x1f2a9c>=0x0;_0x1f2a9c--)(_0x377625=_0x376d9d[_0x1f2a9c])&&(_0x4c3ee2=_0x377625(_0x4c3ee2)||_0x4c3ee2);return _0x4c3ee2;},_0xa8b1b6=(_0xdb629c,_0x12424f)=>(_0x4755d1,_0x33060f)=>_0x12424f(_0x4755d1,_0x33060f,_0xdb629c);_0x606468[_0x17d35d(0xc9)]=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x2e88eb,_0x5b8b8f,_0x435d37){const _0x20f8d6=_0x17d35d;super(),this[_0x20f8d6(0xa5)]=_0x2e88eb,this[_0x20f8d6(0x340)]=_0x5b8b8f,this[_0x20f8d6(0xdf)]=_0x435d37;}async[_0x17d35d(0x359)](_0x257cc3,_0x258db1,_0x81c821,..._0x5d9e44){const _0x1537d0=_0x17d35d;var _0x4299ba,_0xaddbe6,_0xca6b81,_0x2cbf66;const _0x2982f4=this[_0x1537d0(0xa5)][_0x1537d0(0x224)]();if(!_0x2982f4)throw new Error(_0x1537d0(0x1e9));const _0x2dcadd=((_0x4299ba=this['_configService'][_0x1537d0(0x22d)](_0x1fb0d5[_0x1537d0(0x24d)]))!=null?_0x4299ba:_0x1fb0d5[_0x1537d0(0x147)])+'/'+_0x257cc3+_0x1537d0(0x2af)+_0x258db1,_0x3e7a74=new URL(window[_0x1537d0(0x121)][_0x1537d0(0x260)]),_0x40ef19={'scriptId':_0x257cc3,'runId':(_0xaddbe6=_0x3e7a74[_0x1537d0(0x1e5)][_0x1537d0(0x16c)](_0x1537d0(0x34e)))!=null?_0xaddbe6:'','function':_0x258db1,'unitId':_0x2982f4['getUnitId'](),'argsOfFunction':JSON[_0x1537d0(0x210)](_0x5d9e44),'invokeId':(_0xca6b81=_0x81c821[_0x1537d0(0x277)])!=null?_0xca6b81:'','executionId':(_0x2cbf66=_0x81c821[_0x1537d0(0x18b)])!=null?_0x2cbf66:''};try{const _0x556d2b=await this[_0x1537d0(0x340)][_0x1537d0(0x24c)](_0x2dcadd,{'body':_0x40ef19});return _0x556d2b[_0x1537d0(0x32d)][_0x1537d0(0x96)]&&_0x556d2b[_0x1537d0(0x32d)]['error'][_0x1537d0(0x307)]!==_0x25292b['OK']?_0x1537d0(0x263):_0x556d2b['body'][_0x1537d0(0xf7)];}catch{return _0x1537d0(0x263);}}},_0x606468[_0x17d35d(0xc9)]=_0x2ea0b5([_0xa8b1b6(0x0,_0x51c300[_0x17d35d(0x181)]),_0xa8b1b6(0x1,_0x51c300['Inject'](_0x3f6e7a[_0x17d35d(0x16b)])),_0xa8b1b6(0x2,_0x51c300[_0x17d35d(0x32c)])],_0x606468[_0x17d35d(0xc9)]);const _0x2dcc94=0x7530,_0x2727e9=_0x17d35d(0x180);class _0x59543c extends _0x51c300[_0x17d35d(0x2dd)]{constructor(){const _0x2a4ea0=_0x17d35d;super(),_0x3a1755(this,'_id',_0x51c300['generateRandomId']()),_0x3a1755(this,_0x2a4ea0(0x2fd),new Set()),_0x3a1755(this,_0x2a4ea0(0xcf),new Map()),_0x3a1755(this,_0x2a4ea0(0xc7),null),_0x3a1755(this,_0x2a4ea0(0x1d1),new Map()),_0x3a1755(this,'_unitStatus',new Map()),this[_0x2a4ea0(0x323)]();}[_0x17d35d(0x1bb)](){const _0x171e26=_0x17d35d;super['dispose'](),this['_clearOtherTimers'][_0x171e26(0x23f)]((_0x3c190c,_0x170649)=>this[_0x171e26(0x2d1)](_0x170649)),this[_0x171e26(0xc7)]&&window[_0x171e26(0xfc)](this[_0x171e26(0xc7)]);}[_0x17d35d(0xb0)](_0x6b0fa5){const _0x5a8d19=_0x17d35d;return this['_ensureSubject'](_0x6b0fa5)[_0x5a8d19(0x28e)](_0x26ac39[_0x5a8d19(0x1c6)]());}['editingUnit'](_0x5df3cf){const _0x3d7a72=_0x17d35d;this[_0x3d7a72(0x2fd)][_0x3d7a72(0x200)]===0x0&&this[_0x3d7a72(0x19e)](),this[_0x3d7a72(0x2fd)]['add'](_0x5df3cf),this[_0x3d7a72(0x22f)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5df3cf],'isForwarded':!0x1});}[_0x17d35d(0x303)](_0x17f681){const _0x2273c9=_0x17d35d;this[_0x2273c9(0x2fd)][_0x2273c9(0x296)](_0x17f681),this['_selfUnitIDs'][_0x2273c9(0x200)]===0x0&&this[_0x2273c9(0xc7)]&&window[_0x2273c9(0xfc)](this[_0x2273c9(0xc7)]);}[_0x17d35d(0x323)](){const _0x22ad25=_0x17d35d;this['disposeWithMe'](_0x51c300[_0x22ad25(0x1c4)](_0x26ac39[_0x22ad25(0x352)](window,_0x22ad25(0x20a))[_0x22ad25(0x2c8)](_0x39f6e8=>{const _0x39ff46=_0x22ad25;if(_0x39f6e8[_0x39ff46(0xef)]!==_0x2727e9||!_0x39f6e8[_0x39ff46(0x17e)])return;const _0x1534c4=JSON[_0x39ff46(0x357)](_0x39f6e8['newValue']);this[_0x39ff46(0x366)](_0x1534c4);}))),window['addEventListener'](_0x22ad25(0x133),()=>this[_0x22ad25(0x22f)]({'type':0x1,'memberID':this[_0x22ad25(0x109)],'unitIDs':Array[_0x22ad25(0x289)](this[_0x22ad25(0x2fd)])}));}['_handleEvent'](_0x1229b9){const _0x2ce2e=_0x17d35d;switch(_0x1229b9[_0x2ce2e(0x13f)]){case 0x0:this[_0x2ce2e(0x173)](_0x1229b9);break;case 0x1:this[_0x2ce2e(0x110)](_0x1229b9);break;case 0x2:this[_0x2ce2e(0x2d9)](_0x1229b9);break;}}[_0x17d35d(0x173)](_0x58f9d0){const _0x289cad=_0x17d35d,{unitIDs:_0x58b490,memberID:_0x30666d,isForwarded:_0x2b71e7}=_0x58f9d0;_0x58b490[_0x289cad(0x23f)](_0x8783b8=>{const _0x1e0a7c=_0x289cad;if(!_0x2b71e7&&this[_0x1e0a7c(0xcf)]['has'](_0x8783b8)&&this[_0x1e0a7c(0x12a)](_0x8783b8)['next'](_0x1fb0d5[_0x1e0a7c(0xe3)]['OTHER_CLIENTS_EDITING']),!this[_0x1e0a7c(0xcf)]['has'](_0x8783b8)||!this[_0x1e0a7c(0xcf)][_0x1e0a7c(0x16c)](_0x8783b8)[_0x1e0a7c(0x325)](_0x30666d)){const _0x5b973d=this['_unitOnClients'][_0x1e0a7c(0x16c)](_0x8783b8)||new Set();_0x5b973d['add'](_0x30666d),this[_0x1e0a7c(0xcf)][_0x1e0a7c(0x176)](_0x8783b8,_0x5b973d),this[_0x1e0a7c(0x2f2)](_0x30666d);}}),_0x2b71e7||this[_0x289cad(0x22f)]({'type':0x0,'memberID':this[_0x289cad(0x109)],'unitIDs':[...this[_0x289cad(0x2fd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x15739b){const _0x26adfc=_0x17d35d;this[_0x26adfc(0x2d1)](_0x15739b);const _0x4c38b1=window[_0x26adfc(0x1cf)](()=>{const _0x56cb02=_0x26adfc;this['_unitOnClients'][_0x56cb02(0x23f)](_0x4ac6f3=>{_0x4ac6f3['delete'](_0x15739b);});},_0x2dcc94*0x2);this[_0x26adfc(0x1d1)]['set'](_0x15739b,_0x4c38b1);}['_removeClearOtherTimer'](_0x158462){const _0x43f4ca=_0x17d35d;if(this[_0x43f4ca(0x1d1)][_0x43f4ca(0x325)](_0x158462)){const _0x5f3fb7=this[_0x43f4ca(0x1d1)][_0x43f4ca(0x16c)](_0x158462);_0x5f3fb7&&window[_0x43f4ca(0x321)](_0x5f3fb7),this[_0x43f4ca(0x1d1)][_0x43f4ca(0x176)](_0x158462,null);}}[_0x17d35d(0x110)](_0xbea34b){const _0x7a45e3=_0x17d35d,{memberID:_0x4193f4,unitIDs:_0x2e7ef2}=_0xbea34b;_0x2e7ef2[_0x7a45e3(0x23f)](_0x1dbf65=>{const _0x391635=_0x7a45e3;var _0x3c7ccf;const _0x58983c=this[_0x391635(0xcf)][_0x391635(0x16c)](_0x1dbf65);_0x58983c&&(_0x58983c['delete'](_0x4193f4),(_0x3c7ccf=this[_0x391635(0x12a)](_0x1dbf65))==null||_0x3c7ccf[_0x391635(0x287)](_0x58983c[_0x391635(0x200)]===0x0?_0x1fb0d5[_0x391635(0xe3)][_0x391635(0x2ed)]:_0x1fb0d5[_0x391635(0xe3)][_0x391635(0x163)]));}),this['_removeClearOtherTimer'](_0x4193f4);}[_0x17d35d(0x2d9)](_0x5a2300){const _0x382b18=_0x17d35d;this[_0x382b18(0x2f2)](_0x5a2300[_0x382b18(0x123)]);}[_0x17d35d(0x22f)](_0x2352ce){const _0x42d4be=_0x17d35d;localStorage[_0x42d4be(0x233)](_0x2727e9,JSON[_0x42d4be(0x210)](_0x2352ce));}[_0x17d35d(0x19e)](){const _0x6bcffe=_0x17d35d;this[_0x6bcffe(0xc7)]=window[_0x6bcffe(0x166)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x2dcc94);}['_ensureSubject'](_0x50f621){const _0x4e16f4=_0x17d35d;return this[_0x4e16f4(0x184)][_0x4e16f4(0x325)](_0x50f621)||this[_0x4e16f4(0x184)][_0x4e16f4(0x176)](_0x50f621,new _0x26ac39[(_0x4e16f4(0xa6))](_0x1fb0d5[_0x4e16f4(0xe3)][_0x4e16f4(0x2ed)])),this['_unitStatus'][_0x4e16f4(0x16c)](_0x50f621);}}_0x606468['IURLService']=_0x1fcf33,_0x606468[_0x17d35d(0xd2)]=_0x424484,_0x606468[_0x17d35d(0x140)]=_0x59543c,_0x606468['WebURLService']=_0xdacd90,Object[_0x17d35d(0x1ee)](_0x606468,Symbol[_0x17d35d(0xaa)],{'value':'Module'});}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x4c4f(_0x4daf18,_0x24d125){_0x4daf18=_0x4daf18-0x1a6;var _0x1688a6=_0x1688();var _0x4c4f85=_0x1688a6[_0x4daf18];return _0x4c4f85;}(function(_0x43f6cf,_0x421573){var _0x3f35be=_0x4c4f,_0x3b1543=_0x43f6cf();while(!![]){try{var _0x1e57d5=-parseInt(_0x3f35be(0x1b0))/0x1+parseInt(_0x3f35be(0x1ad))/0x2+parseInt(_0x3f35be(0x1a7))/0x3*(parseInt(_0x3f35be(0x1ae))/0x4)+parseInt(_0x3f35be(0x1ba))/0x5+parseInt(_0x3f35be(0x1a8))/0x6*(parseInt(_0x3f35be(0x1ab))/0x7)+parseInt(_0x3f35be(0x1b4))/0x8*(-parseInt(_0x3f35be(0x1ac))/0x9)+-parseInt(_0x3f35be(0x1b9))/0xa*(parseInt(_0x3f35be(0x1b2))/0xb);if(_0x1e57d5===_0x421573)break;else _0x3b1543['push'](_0x3b1543['shift']());}catch(_0x5dae08){_0x3b1543['push'](_0x3b1543['shift']());}}}(_0x1688,0x9f889),function(_0x2c2eda,_0x22aa4b){var _0x30b530=_0x4c4f;typeof exports=='object'&&typeof module<'u'?_0x22aa4b(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x30b530(0x1b7)]?define([_0x30b530(0x1b6),_0x30b530(0x1b1)],_0x22aa4b):(_0x2c2eda=typeof globalThis<'u'?globalThis:_0x2c2eda||self,_0x22aa4b(_0x2c2eda[_0x30b530(0x1b5)],_0x2c2eda[_0x30b530(0x1af)]));}(this,function(_0x2474d0,_0x264755){'use strict';var _0x36fc63=_0x4c4f;class _0x34bdce extends _0x264755[_0x36fc63(0x1aa)]{[_0x36fc63(0x1a6)](_0x5421f7,_0x92fa55,..._0x11041a){var _0x4c9632=_0x36fc63;return this[_0x4c9632(0x1b8)][_0x4c9632(0x1b3)](_0x2474d0[_0x4c9632(0x1a9)])['runOnServer'](_0x5421f7,_0x92fa55,{},..._0x11041a);}}_0x264755['FUniver']['extend'](_0x34bdce);}));function _0x1688(){var _0x2552ac=['1204022GdxFio','@univerjs/core/facade','1081289BvcsUi','get','232YmrcpU','UniverProCollaborationClientUi','@univerjs-pro/collaboration-client-ui','amd','_injector','70jyqQAh','4316985eJaQCy','runOnServer','15FvwJBm','138WLvNXz','RemoteUniscriptService','FUniver','209062ZCsFQK','261018XzRPbY','1758424UlETNX','765676repusk','UniverCoreFacade'];_0x1688=function(){return _0x2552ac;};return _0x1688();}
11
+ function _0x4376(_0x1b4137,_0x2c3770){_0x1b4137=_0x1b4137-0xef;var _0x2635e9=_0x2635();var _0x43768d=_0x2635e9[_0x1b4137];return _0x43768d;}(function(_0x58dbfc,_0xdd249b){var _0x47376c=_0x4376,_0x1e2f4f=_0x58dbfc();while(!![]){try{var _0x4be082=-parseInt(_0x47376c(0x106))/0x1+parseInt(_0x47376c(0xfc))/0x2+parseInt(_0x47376c(0xf5))/0x3*(parseInt(_0x47376c(0xfa))/0x4)+parseInt(_0x47376c(0xfd))/0x5*(parseInt(_0x47376c(0x103))/0x6)+parseInt(_0x47376c(0xfe))/0x7*(-parseInt(_0x47376c(0xef))/0x8)+-parseInt(_0x47376c(0xf6))/0x9*(-parseInt(_0x47376c(0xf2))/0xa)+parseInt(_0x47376c(0xfb))/0xb*(-parseInt(_0x47376c(0xf4))/0xc);if(_0x4be082===_0xdd249b)break;else _0x1e2f4f['push'](_0x1e2f4f['shift']());}catch(_0x5861ba){_0x1e2f4f['push'](_0x1e2f4f['shift']());}}}(_0x2635,0x7d5ae),function(_0x159f3f,_0x152a67){var _0x38c23b=_0x4376;typeof exports==_0x38c23b(0xf7)&&typeof module<'u'?_0x152a67(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x38c23b(0xf0)&&define[_0x38c23b(0x101)]?define([_0x38c23b(0x102),_0x38c23b(0xf3)],_0x152a67):(_0x159f3f=typeof globalThis<'u'?globalThis:_0x159f3f||self,_0x152a67(_0x159f3f[_0x38c23b(0xf8)],_0x159f3f[_0x38c23b(0xf1)]));}(this,function(_0x2232b7,_0x3fbdc7){'use strict';var _0x8777fa=_0x4376;class _0x3c00b0 extends _0x3fbdc7[_0x8777fa(0x107)]{[_0x8777fa(0xf9)](_0x210b7c,_0x28e937,..._0x413d03){var _0x366582=_0x8777fa;return this[_0x366582(0x105)][_0x366582(0x104)](_0x2232b7[_0x366582(0x100)])[_0x366582(0xf9)](_0x210b7c,_0x28e937,{},..._0x413d03);}}_0x3fbdc7[_0x8777fa(0x107)][_0x8777fa(0xff)](_0x3c00b0);}));function _0x2635(){var _0x282d82=['amd','@univerjs-pro/collaboration-client-ui','3384frEfZJ','get','_injector','1008244bJwPmJ','FUniver','368CzfhSJ','function','UniverCoreFacade','170RDPKIK','@univerjs/core/facade','3588ogrWFF','14955sQHmlB','299214qGfzGw','object','UniverProCollaborationClientUi','runOnServer','508hmUeEy','33451pQqbYc','1707180nLECFa','4985OZfLVX','27881RPDZIm','extend','RemoteUniscriptService'];_0x2635=function(){return _0x282d82;};return _0x2635();}
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- (function(_0x5617cd,_0x40078b){const _0x54d6fd=_0xfd9a,_0xa17569=_0x5617cd();while(!![]){try{const _0x5559f3=parseInt(_0x54d6fd(0xf1))/0x1+-parseInt(_0x54d6fd(0x125))/0x2+-parseInt(_0x54d6fd(0x114))/0x3*(-parseInt(_0x54d6fd(0xf3))/0x4)+parseInt(_0x54d6fd(0x11e))/0x5+parseInt(_0x54d6fd(0xfc))/0x6*(-parseInt(_0x54d6fd(0x139))/0x7)+-parseInt(_0x54d6fd(0xf0))/0x8*(-parseInt(_0x54d6fd(0x136))/0x9)+-parseInt(_0x54d6fd(0x128))/0xa;if(_0x5559f3===_0x40078b)break;else _0xa17569['push'](_0xa17569['shift']());}catch(_0x4c4af5){_0xa17569['push'](_0xa17569['shift']());}}}(_0x4ba8,0xafe32),function(_0x2dee80,_0x812a82){const _0xa5c6bc=_0xfd9a;typeof exports=='object'&&typeof module<'u'?_0x812a82(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define=='function'&&define[_0xa5c6bc(0x12d)]?define([_0xa5c6bc(0xcf),_0xa5c6bc(0x124),'@univerjs-pro/license','@univerjs/core',_0xa5c6bc(0xc7),_0xa5c6bc(0x12c),_0xa5c6bc(0xe0),_0xa5c6bc(0x126)],_0x812a82):(_0x2dee80=typeof globalThis<'u'?globalThis:_0x2dee80||self,_0x812a82(_0x2dee80[_0xa5c6bc(0xdc)]={},_0x2dee80[_0xa5c6bc(0x135)],_0x2dee80[_0xa5c6bc(0x13a)],_0x2dee80[_0xa5c6bc(0x117)],_0x2dee80[_0xa5c6bc(0xe5)],_0x2dee80[_0xa5c6bc(0xe4)],_0x2dee80[_0xa5c6bc(0xe0)],_0x2dee80['UniverNetwork']));}(this,function(_0x4d29f2,_0x217c0e,_0x37e221,_0x32905e,_0x755e1,_0x184247,_0x4ffd50,_0x53e959){'use strict';const _0x58b6af=_0xfd9a;const _0x379e79=_0x58b6af(0x137);var _0x53814a=(_0x328956=>(_0x328956[_0x328956['OpenOrReOpen']=0x0]=_0x58b6af(0xfa),_0x328956[_0x328956[_0x58b6af(0xf9)]=0x1]=_0x58b6af(0xf9),_0x328956[_0x328956[_0x58b6af(0x10e)]=-0x1]=_0x58b6af(0x10e),_0x328956))(_0x53814a||{}),_0x1c1f6d=(_0x1002bb=>(_0x1002bb[_0x1002bb[_0x58b6af(0x11a)]=0x0]='Unknown',_0x1002bb[_0x1002bb[_0x58b6af(0xee)]=0x1]=_0x58b6af(0xee),_0x1002bb[_0x1002bb[_0x58b6af(0x122)]=0x2]=_0x58b6af(0x122),_0x1002bb[_0x1002bb['Edit']=0x3]=_0x58b6af(0x103),_0x1002bb[_0x1002bb[_0x58b6af(0xdf)]=0x4]=_0x58b6af(0xdf),_0x1002bb[_0x1002bb[_0x58b6af(0xb5)]=0x5]=_0x58b6af(0xb5),_0x1002bb[_0x1002bb[_0x58b6af(0x10e)]=-0x1]=_0x58b6af(0x10e),_0x1002bb))(_0x1c1f6d||{});const _0x2ef30b=_0x565ecc=>_0x32905e['dayjs'](new Date(+_0x565ecc))['format'](_0x58b6af(0x108)),_0x2d1c3f=async(_0x36c8f8,_0x56b803)=>{const _0xe2a725=_0x58b6af,_0x333613=_0x36c8f8[_0xe2a725(0x110)](_0x32905e[_0xe2a725(0x102)]),_0x3cf0ca=_0x36c8f8['get'](_0x53e959['HTTPService']);_0x56b803['forEach'](_0x10a82b=>{const _0x2ac92f=_0xe2a725;_0x333613[_0x2ac92f(0xbb)](_0x10a82b)&&_0x56b803[_0x2ac92f(0x104)](_0x10a82b);}),_0x56b803[_0xe2a725(0x123)]&&(await _0x3cf0ca['get'](_0xe2a725(0x10a),{'params':{'userIDs':[..._0x56b803]}}))[_0xe2a725(0xcb)][_0xe2a725(0xea)][_0xe2a725(0xb9)](_0x44b216=>{const _0x530b72=_0xe2a725;_0x44b216&&_0x333613[_0x530b72(0xd9)](_0x44b216);});};var _0x39a2d9=Object['getOwnPropertyDescriptor'],_0x50939f=(_0x450453,_0xfb6952,_0x293fba,_0x17a63a)=>{const _0x3333b5=_0x58b6af;for(var _0x35f3c1=_0x17a63a>0x1?void 0x0:_0x17a63a?_0x39a2d9(_0xfb6952,_0x293fba):_0xfb6952,_0x1a99de=_0x450453[_0x3333b5(0x112)]-0x1,_0x41a6a3;_0x1a99de>=0x0;_0x1a99de--)(_0x41a6a3=_0x450453[_0x1a99de])&&(_0x35f3c1=_0x41a6a3(_0x35f3c1)||_0x35f3c1);return _0x35f3c1;},_0x45db65=(_0x3cd17b,_0x4e4bd9)=>(_0x42a318,_0x12f6e8)=>_0x4e4bd9(_0x42a318,_0x12f6e8,_0x3cd17b);let _0x509eb6=class extends _0x32905e[_0x58b6af(0x11b)]{constructor(_0x2e18ac,_0x52ab0e,_0x21c58a,_0x1242f0){const _0x426d54=_0x58b6af;super(),this['_commentService']=_0x2e18ac,this[_0x426d54(0xd2)]=_0x52ab0e,this[_0x426d54(0xe3)]=_0x21c58a,this[_0x426d54(0xd3)]=_0x1242f0,this[_0x426d54(0xc8)](),this['_initUserSync']();}[_0x58b6af(0x129)](){const _0x3475a5=_0x58b6af;this[_0x3475a5(0x10c)](this[_0x3475a5(0xd2)][_0x3475a5(0xda)][_0x3475a5(0xbd)](_0x4ffd50[_0x3475a5(0x12b)](0x10))[_0x3475a5(0x11d)](_0x2ab170=>{const _0x1dbacc=_0x3475a5,_0x355ea7=new Set();_0x2ab170[_0x1dbacc(0xb9)](_0x880a47=>{const _0x1e6b92=_0x1dbacc;switch(_0x880a47[_0x1e6b92(0xc0)]){case'add':{const _0x25f39e=_0x880a47[_0x1e6b92(0xef)]['personId'];_0x355ea7[_0x1e6b92(0x127)](_0x25f39e);break;}}}),_0x2d1c3f(this[_0x1dbacc(0xd3)],_0x355ea7);}));}[_0x58b6af(0xc8)](){const _0x2fddb3=_0x58b6af;this['disposeWithMe'](this[_0x2fddb3(0x111)]['commentUpdate$'][_0x2fddb3(0x11d)](async _0x3d7834=>{const _0x1bf521=_0x2fddb3;var _0x5dbf8f,_0x1e866e,_0x562693,_0x1d47cc;const _0x144d9f=(_0x5dbf8f=this[_0x1bf521(0xd2)]['getUnit'](_0x3d7834[_0x1bf521(0xc6)])[_0x1bf521(0x105)](_0x2e976b=>_0x2e976b[_0x1bf521(0x116)]===_0x3d7834['threadId']))==null?void 0x0:_0x5dbf8f[_0x1bf521(0xd4)];if(!_0x144d9f)return;const {unitId:_0x953a21,subUnitId:_0x155340}=_0x144d9f;switch(_0x3d7834[_0x1bf521(0xf6)]&&this['_userService'][_0x1bf521(0xd9)](_0x3d7834['user']),_0x3d7834[_0x1bf521(0xc0)]){case _0x1c1f6d[_0x1bf521(0xee)]:break;case _0x1c1f6d['Reply']:{this['_threadCommentModel'][_0x1bf521(0x109)](_0x953a21,_0x155340,{'unitId':_0x953a21,'subUnitId':_0x155340,'ref':'','id':_0x3d7834[_0x1bf521(0x12f)],'dT':_0x2ef30b(+_0x3d7834[_0x1bf521(0x13b)]),'threadId':_0x3d7834['threadId'],'personId':(_0x562693=(_0x1e866e=_0x3d7834[_0x1bf521(0xf6)])==null?void 0x0:_0x1e866e['userID'])!=null?_0x562693:_0x3d7834[_0x1bf521(0xb8)],'text':JSON[_0x1bf521(0x101)](_0x3d7834[_0x1bf521(0xc3)]),'parentId':_0x144d9f['id']});break;}case _0x1c1f6d['Delete']:{const _0x179d70=this[_0x1bf521(0xd2)][_0x1bf521(0x131)](_0x953a21,_0x155340,_0x3d7834['replyId']);_0x179d70&&_0x179d70[_0x1bf521(0xca)]&&this[_0x1bf521(0xd2)][_0x1bf521(0x11c)](_0x953a21,_0x155340,_0x3d7834[_0x1bf521(0x12f)]);break;}case _0x1c1f6d[_0x1bf521(0x103)]:{this[_0x1bf521(0xd2)][_0x1bf521(0x115)](_0x953a21,_0x155340,{'commentId':_0x3d7834[_0x1bf521(0x12f)],'text':JSON[_0x1bf521(0x101)](_0x3d7834['content'])});break;}case _0x1c1f6d[_0x1bf521(0xb5)]:{const _0x4b195e=(_0x1d47cc=this['_threadCommentModel'][_0x1bf521(0xd7)](_0x3d7834['unitId'])[_0x1bf521(0x105)](_0x494d69=>_0x494d69['threadId']===_0x3d7834[_0x1bf521(0x116)]))==null?void 0x0:_0x1d47cc['root'];_0x4b195e&&this[_0x1bf521(0xd2)][_0x1bf521(0x12e)](_0x953a21,_0x155340,_0x4b195e['id'],_0x3d7834[_0x1bf521(0xf2)]===_0x53814a[_0x1bf521(0xf9)]);break;}}}));}};_0x509eb6=_0x50939f([_0x45db65(0x0,_0x32905e[_0x58b6af(0x121)](_0x217c0e['CommentService'])),_0x45db65(0x1,_0x32905e[_0x58b6af(0x121)](_0x184247[_0x58b6af(0x132)])),_0x45db65(0x2,_0x32905e[_0x58b6af(0x121)](_0x32905e[_0x58b6af(0x102)])),_0x45db65(0x3,_0x32905e[_0x58b6af(0x121)](_0x32905e[_0x58b6af(0x130)]))],_0x509eb6);const _0x45e78a='thread-comment-data-source.config',_0x245238={};var _0x1cc9aa=Object[_0x58b6af(0xd6)],_0x435b09=(_0x6ff581,_0x35a1d6,_0x33ba56,_0x42183d)=>{for(var _0x498770=_0x42183d>0x1?void 0x0:_0x42183d?_0x1cc9aa(_0x35a1d6,_0x33ba56):_0x35a1d6,_0x241c6f=_0x6ff581['length']-0x1,_0x268758;_0x241c6f>=0x0;_0x241c6f--)(_0x268758=_0x6ff581[_0x241c6f])&&(_0x498770=_0x268758(_0x498770)||_0x498770);return _0x498770;},_0x3debcb=(_0x3bfd81,_0x10d7c3)=>(_0x42e6a2,_0x34070b)=>_0x10d7c3(_0x42e6a2,_0x34070b,_0x3bfd81);function _0x151da5(_0x367cc5,_0x2ab70d){const _0x6b7e21=_0x58b6af,_0x344dc8=_0x367cc5['replies'][0x0];return{..._0x2ab70d,'id':_0x344dc8['replyId'],'resolved':_0x367cc5['solved']===0x1,'dT':_0x2ef30b(_0x344dc8[_0x6b7e21(0x13b)]),'personId':_0x344dc8[_0x6b7e21(0xb8)],'threadId':_0x344dc8[_0x6b7e21(0x116)]};}function _0x120876(_0x94061,_0x17447e,_0x52a099){const _0xe753d=_0x58b6af;var _0x501abe,_0xbf85f1;if(((_0xbf85f1=(_0x501abe=_0x94061==null?void 0x0:_0x94061[_0xe753d(0x120)])==null?void 0x0:_0x501abe[_0xe753d(0x112)])!=null?_0xbf85f1:0x0)>0x0){const _0x5562a1=(_0x193f66,_0x193d38)=>({'id':_0x193f66[_0xe753d(0x12f)],'threadId':_0x193f66[_0xe753d(0x116)],'dT':_0x2ef30b(_0x193f66['createTimestamp']),'personId':_0x193f66[_0xe753d(0xb8)],'resolved':_0x94061['solved']===_0x53814a['Solved'],'unitId':_0x17447e,'subUnitId':_0x52a099,'text':JSON[_0xe753d(0x101)](_0x193f66[_0xe753d(0xc3)]),'parentId':_0x193d38}),_0x16f544=_0x5562a1(_0x94061['replies'][0x0]);return{..._0x16f544,'children':_0x94061[_0xe753d(0x120)][_0xe753d(0xe1)](0x1)['map'](_0x314816=>_0x5562a1(_0x314816,_0x16f544['id']))};}return null;}let _0x2313c9=class{constructor(_0x23b1e7,_0x3687ca,_0x29f7ca){const _0x1b9257=_0x58b6af;this[_0x1b9257(0x11f)]=_0x23b1e7,this[_0x1b9257(0xe3)]=_0x3687ca,this[_0x1b9257(0xdb)]=_0x29f7ca;}async[_0x58b6af(0x109)](_0x4286c7){const _0x59a6a0=_0x58b6af;var _0x395ccb,_0x15462e;const {parentId:_0x4e35ee,unitId:_0x4fb3be,text:_0x27f5cb,threadId:_0x119542}=_0x4286c7,_0x179653=(_0x15462e=(_0x395ccb=_0x27f5cb[_0x59a6a0(0x12a)])==null?void 0x0:_0x395ccb['filter'](_0x3ae080=>_0x3ae080['rangeType']===_0x32905e[_0x59a6a0(0xfe)][_0x59a6a0(0xb7)])['map'](_0x4e0dad=>_0x4e0dad[_0x59a6a0(0xf4)]))!=null?_0x15462e:[],_0xc08086=JSON[_0x59a6a0(0xc4)](_0x27f5cb),_0x4950e1=(await this[_0x59a6a0(0xdb)][_0x59a6a0(0x113)](_0x4fb3be))[_0x59a6a0(0x107)]();if(_0x4e35ee){const _0x363da8={'memberId':_0x4950e1,'unitId':_0x4fb3be,'content':_0xc08086,'mention':_0x179653,'threadId':_0x119542},_0x356935=(await this[_0x59a6a0(0x11f)][_0x59a6a0(0xc5)](_0x59a6a0(0x10b)+_0x4fb3be+'/reply',{'body':_0x363da8}))[_0x59a6a0(0xcb)][_0x59a6a0(0xff)];return{..._0x4286c7,'id':_0x356935['replyId'],'dT':_0x32905e[_0x59a6a0(0xce)](+_0x356935[_0x59a6a0(0x13b)])[_0x59a6a0(0xba)](_0x59a6a0(0x108)),'personId':_0x356935[_0x59a6a0(0xb8)]};}else{const _0xca38c7={'memberId':_0x4950e1,'unitId':_0x4fb3be,'content':_0xc08086,'mention':_0x179653},_0x54daf1=await this['_httpService'][_0x59a6a0(0xc5)](_0x59a6a0(0x10b)+_0x4fb3be+_0x59a6a0(0xc1),{'body':_0xca38c7});return _0x151da5(_0x54daf1[_0x59a6a0(0xcb)][_0x59a6a0(0xd5)],_0x4286c7);}}async[_0x58b6af(0x115)](_0x5ce69a){const _0x1e3c04=_0x58b6af;var _0x52c907,_0x2710d5;const {text:_0x2d9cd6,unitId:_0x4e65de}=_0x5ce69a,_0x2ba9b3=(_0x2710d5=(_0x52c907=_0x2d9cd6['customRanges'])==null?void 0x0:_0x52c907['filter'](_0x3d3a64=>_0x3d3a64[_0x1e3c04(0xeb)]===_0x32905e[_0x1e3c04(0xfe)]['COMMENT'])['map'](_0x4e93c1=>_0x4e93c1[_0x1e3c04(0xf4)]))!=null?_0x2710d5:[],_0x3d7ac5=JSON['stringify'](_0x2d9cd6),_0x514f18=_0x5ce69a[_0x1e3c04(0x116)],_0x4caee4=_0x5ce69a['id'],_0x20a279={'memberId':(await this[_0x1e3c04(0xdb)][_0x1e3c04(0x113)](_0x4e65de))[_0x1e3c04(0x107)](),'unitId':_0x4e65de,'threadId':_0x514f18,'mention':_0x2ba9b3,'content':_0x3d7ac5,'replyId':_0x4caee4},_0xa57cad=await this['_httpService'][_0x1e3c04(0xc5)](_0x1e3c04(0x10b)+_0x4e65de+'/edit',{'body':_0x20a279});return!_0xa57cad[_0x1e3c04(0xcb)][_0x1e3c04(0xd0)]||_0xa57cad['body'][_0x1e3c04(0xd0)]['code']===0x1;}async[_0x58b6af(0x12e)](_0x1968ed){const _0x56602f=_0x58b6af,{unitId:_0x928749}=_0x1968ed,_0x5a812c=_0x1968ed[_0x56602f(0x116)],_0x244475={'memberId':this[_0x56602f(0xe3)]['getCurrentUser']()['userID'],'unitId':_0x928749,'threadId':_0x5a812c,'solved':_0x1968ed[_0x56602f(0x138)]?_0x53814a[_0x56602f(0xf9)]:_0x53814a[_0x56602f(0xfa)]},_0x589899=await this[_0x56602f(0x11f)]['post']('/universer-api/comment/unit/'+_0x928749+_0x56602f(0x134),{'body':_0x244475});return!_0x589899['body']['error']||_0x589899[_0x56602f(0xcb)][_0x56602f(0xd0)]['code']===0x1;}async[_0x58b6af(0x11c)](_0x17661b,_0x4972c2,_0x500233,_0x312b43){const _0x124c10=_0x58b6af,_0x4fb490={'memberId':(await this['_sessionService'][_0x124c10(0x113)](_0x17661b))[_0x124c10(0x107)](),'threadId':_0x500233,'replyId':_0x312b43,'unitId':_0x17661b},_0x1711aa=await this[_0x124c10(0x11f)][_0x124c10(0xc5)](_0x124c10(0x10b)+_0x17661b+'/delete',{'body':_0x4fb490});return!_0x1711aa['body']['error']||_0x1711aa[_0x124c10(0xcb)][_0x124c10(0xd0)][_0x124c10(0x106)]===0x1;}async[_0x58b6af(0xd1)](_0x21bdd3,_0x4342d7,_0x28854d){const _0x4b7bdb=_0x58b6af,_0xaa7ddf={'unitId':_0x21bdd3,'threadId':_0x28854d},_0x45ae22=await this[_0x4b7bdb(0x11f)][_0x4b7bdb(0xc5)]('/universer-api/comment/unit/'+_0x21bdd3+_0x4b7bdb(0xe2),{'body':_0xaa7ddf}),_0x358b73=_0x28854d[_0x4b7bdb(0xf7)](_0x3656c7=>_0x120876(_0x45ae22['body'][_0x4b7bdb(0xed)][_0x3656c7],_0x21bdd3,_0x4342d7))[_0x4b7bdb(0xd8)](Boolean);return Object[_0x4b7bdb(0xfd)](_0x45ae22[_0x4b7bdb(0xcb)][_0x4b7bdb(0xea)])[_0x4b7bdb(0xb9)](_0x9f3e48=>{this['_userService']['addUser'](_0x9f3e48);}),_0x358b73;}[_0x58b6af(0xb6)](_0x2b95ab){const _0x335ba8=_0x58b6af;return{'id':_0x2b95ab['id'],'threadId':_0x2b95ab[_0x335ba8(0x116)],'ref':_0x2b95ab[_0x335ba8(0xdd)]};}};_0x2313c9=_0x435b09([_0x3debcb(0x0,_0x32905e['Inject'](_0x53e959[_0x58b6af(0x118)])),_0x3debcb(0x1,_0x32905e[_0x58b6af(0x121)](_0x32905e['UserManagerService'])),_0x3debcb(0x2,_0x32905e[_0x58b6af(0x121)](_0x217c0e[_0x58b6af(0xe8)]))],_0x2313c9);var _0x5ef52f=Object[_0x58b6af(0xd6)],_0x24ada9=(_0x55ac4d,_0x109920,_0x52646c,_0xab023e)=>{const _0x5c9509=_0x58b6af;for(var _0x34d219=_0xab023e>0x1?void 0x0:_0xab023e?_0x5ef52f(_0x109920,_0x52646c):_0x109920,_0x1f082d=_0x55ac4d[_0x5c9509(0x112)]-0x1,_0x1f8c4d;_0x1f082d>=0x0;_0x1f082d--)(_0x1f8c4d=_0x55ac4d[_0x1f082d])&&(_0x34d219=_0x1f8c4d(_0x34d219)||_0x34d219);return _0x34d219;},_0x5a2316=(_0x5af494,_0x205cca)=>(_0x2e8013,_0x3db82d)=>_0x205cca(_0x2e8013,_0x3db82d,_0x5af494);let _0x40c124=class extends _0x32905e['Disposable']{constructor(_0x283a1c,_0x16c4c3){const _0x5851ea=_0x58b6af;super(),this['_threadCommentDataSourceService']=_0x283a1c,this[_0x5851ea(0x119)]=_0x16c4c3,this[_0x5851ea(0xf8)]();}['_initDataSource'](){const _0x741710=_0x58b6af;this[_0x741710(0xbc)]['dataSource']=this[_0x741710(0x119)],this[_0x741710(0xbc)][_0x741710(0xe6)]=!0x1;}};_0x40c124=_0x24ada9([_0x5a2316(0x0,_0x184247['IThreadCommentDataSourceService']),_0x5a2316(0x1,_0x32905e[_0x58b6af(0x121)](_0x2313c9))],_0x40c124);var _0x1006ce=Object[_0x58b6af(0xcc)],_0x2b7ddf=Object['getOwnPropertyDescriptor'],_0x304488=(_0x2b5b05,_0x3820c4,_0x30d704)=>_0x3820c4 in _0x2b5b05?_0x1006ce(_0x2b5b05,_0x3820c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30d704}):_0x2b5b05[_0x3820c4]=_0x30d704,_0x508122=(_0x183a86,_0x3c1873,_0xa46be4,_0x4250c5)=>{for(var _0x167aa2=_0x4250c5>0x1?void 0x0:_0x4250c5?_0x2b7ddf(_0x3c1873,_0xa46be4):_0x3c1873,_0x46d1b0=_0x183a86['length']-0x1,_0x314f12;_0x46d1b0>=0x0;_0x46d1b0--)(_0x314f12=_0x183a86[_0x46d1b0])&&(_0x167aa2=_0x314f12(_0x167aa2)||_0x167aa2);return _0x167aa2;},_0xbaca1d=(_0x1c90bc,_0x148c67)=>(_0x27a234,_0x2fdfda)=>_0x148c67(_0x27a234,_0x2fdfda,_0x1c90bc),_0x57ce49=(_0x1946b1,_0x917f08,_0x56dcb6)=>_0x304488(_0x1946b1,typeof _0x917f08!='symbol'?_0x917f08+'':_0x917f08,_0x56dcb6);_0x4d29f2[_0x58b6af(0xc9)]=class extends _0x32905e[_0x58b6af(0x133)]{constructor(_0x4e3e52=_0x245238,_0x55e17e,_0x601f35){const _0xc1d4a2=_0x58b6af;super(),this[_0xc1d4a2(0x10f)]=_0x4e3e52,this[_0xc1d4a2(0xd3)]=_0x55e17e,this[_0xc1d4a2(0x10d)]=_0x601f35;const {..._0x3f550f}=_0x32905e[_0xc1d4a2(0xbe)]({},_0x245238,this[_0xc1d4a2(0x10f)]);this[_0xc1d4a2(0x10d)][_0xc1d4a2(0xfb)](_0x45e78a,_0x3f550f);}[_0x58b6af(0xe7)](){const _0x30cc78=_0x58b6af;[[_0x2313c9],[_0x40c124],[_0x509eb6]][_0x30cc78(0xb9)](_0x13ccb9=>{const _0x572403=_0x30cc78;this['_injector'][_0x572403(0x127)](_0x13ccb9);});}[_0x58b6af(0xe9)](){const _0x4736f0=_0x58b6af;this[_0x4736f0(0xd3)]['get'](_0x40c124),this['_injector'][_0x4736f0(0x110)](_0x509eb6);}},_0x57ce49(_0x4d29f2['UniverThreadCommentDataSourcePlugin'],'pluginName',_0x379e79),_0x57ce49(_0x4d29f2[_0x58b6af(0xc9)],_0x58b6af(0xc0),_0x32905e[_0x58b6af(0xf5)]['UNIVER_UNKNOWN']),_0x4d29f2[_0x58b6af(0xc9)]=_0x508122([_0x32905e['DependentOn'](_0x755e1[_0x58b6af(0x100)],_0x217c0e[_0x58b6af(0xec)],_0x37e221[_0x58b6af(0xcd)]),_0xbaca1d(0x1,_0x32905e['Inject'](_0x32905e[_0x58b6af(0x130)])),_0xbaca1d(0x2,_0x32905e[_0x58b6af(0xc2)])],_0x4d29f2[_0x58b6af(0xc9)]),Object[_0x58b6af(0xcc)](_0x4d29f2,Symbol[_0x58b6af(0xde)],{'value':_0x58b6af(0xbf)});}));function _0xfd9a(_0x3dcced,_0x418a57){_0x3dcced=_0x3dcced-0xb5;const _0x4ba8f3=_0x4ba8();let _0xfd9a5a=_0x4ba8f3[_0x3dcced];return _0xfd9a5a;}function _0x4ba8(){const _0x117e60=['UNRECOGNIZED','_config','get','_commentService','length','requireSession','1303791fAazRy','updateComment','threadId','UniverCore','HTTPService','_threadCommentDataSource','Unknown','Disposable','deleteComment','subscribe','2449415sWMSeV','_httpService','replies','Inject','Reply','size','@univerjs-pro/collaboration-client','1077390cHajiS','@univerjs/network','add','20780000RJeMQD','_initUserSync','customRanges','bufferTime','@univerjs/thread-comment','amd','resolveComment','replyId','Injector','getComment','ThreadCommentModel','Plugin','/solved','UniverProCollaborationClient','12796560hwTCtB','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','resolved','28JpjkdG','UniverProLicense','createTimestamp','Solve','saveCommentToSnapshot','COMMENT','userId','forEach','format','getUser','_threadCommentDataSourceService','pipe','merge','Module','type','/add','IConfigService','content','stringify','post','unitId','@univerjs/thread-comment-ui','_init','UniverThreadCommentDataSourcePlugin','parentId','body','defineProperty','UniverLicensePlugin','dayjs','exports','error','listComments','_threadCommentModel','_injector','root','comment','getOwnPropertyDescriptor','getUnit','filter','addUser','commentUpdate$','_sessionService','UniverProThreadCommentDatasource','ref','toStringTag','Delete','rxjs','slice','/list','_userService','UniverThreadComment','UniverThreadCommentUi','syncUpdateMutationToColla','onStarting','CollaborationSessionService','onReady','users','rangeType','UniverCollaborationClientPlugin','comments','Add','payload','8VbVAfT','1384403SteYfU','solved','12BygrRx','rangeId','UniverInstanceType','user','map','_initDataSource','Solved','OpenOrReOpen','setConfig','1894182ZpVQAW','values','CustomRangeType','reply','UniverThreadCommentUIPlugin','parse','UserManagerService','Edit','delete','find','code','getMemberID','YYYY/MM/DD\x20HH:mm','addComment','/universer-api/user/list','/universer-api/comment/unit/','disposeWithMe','_configService'];_0x4ba8=function(){return _0x117e60;};return _0x4ba8();}
14
+ function _0x32aa(_0x169fba,_0x2cf823){_0x169fba=_0x169fba-0x1f3;const _0x5392ae=_0x5392();let _0x32aad4=_0x5392ae[_0x169fba];return _0x32aad4;}function _0x5392(){const _0x142342=['_configService','_httpService','personId','/delete','_sessionService','UniverThreadCommentUi','CustomRangeType','payload','CollaborationSessionService','exports','comments','disposeWithMe','42OZJhlV','IThreadCommentDataSourceService','YYYY/MM/DD\x20HH:mm','root','user','94340yhzjVM','saveCommentToSnapshot','Injector','object','UNIVER_UNKNOWN','replyId','stringify','reply','_threadCommentModel','updateComment','getComment','_userService','Solve','UniverCore','deleteComment','slice','threadId','/solved','parse','UniverThreadCommentUIPlugin','getCurrentUser','add','@univerjs/core','Plugin','UniverThreadComment','getMemberID','@univerjs/network','defineProperty','UniverProThreadCommentDatasource','requireSession','syncUpdateMutationToColla','bufferTime','commentUpdate$','983ftbIMz','content','_injector','336705STMOrj','/reply','body','replies','userId','UserManagerService','/list','Module','_commentService','2606XOpIes','createTimestamp','post','UniverThreadCommentDataSourcePlugin','Delete','ref','Disposable','@univerjs/thread-comment','807GxenwF','getOwnPropertyDescriptor','_threadCommentDataSource','length','COMMENT','symbol','CommentService','users','/universer-api/comment/unit/','error','function','subscribe','78cHavmc','type','_config','amd','2263984oPKCCC','UniverLicensePlugin','pluginName','_threadCommentDataSourceService','rangeType','3884309TeftOX','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','DependentOn','format','forEach','resolveComment','UniverProCollaborationClient','Unknown','delete','356iLpGDO','5277429THNYwR','resolved','@univerjs-pro/license','map','Reply','UniverProLicense','toStringTag','HTTPService','setConfig','Edit','getUnit','unitId','addComment','Solved','UniverNetwork','_initUserSync','@univerjs-pro/collaboration-client','addUser','/universer-api/user/list','UNRECOGNIZED','24cDoVxK','onStarting','get','rangeId','_initDataSource','find','_init','@univerjs/thread-comment-ui','Add','getUser','code','OpenOrReOpen','Inject','solved','size','dataSource','filter','merge','onReady','userID','ThreadCommentModel','values','pipe'];_0x5392=function(){return _0x142342;};return _0x5392();}(function(_0x59d862,_0x23ab41){const _0x4e40f5=_0x32aa,_0x242ed2=_0x59d862();while(!![]){try{const _0x42b06d=parseInt(_0x4e40f5(0x228))/0x1*(-parseInt(_0x4e40f5(0x234))/0x2)+-parseInt(_0x4e40f5(0x23c))/0x3*(-parseInt(_0x4e40f5(0x25a))/0x4)+-parseInt(_0x4e40f5(0x22b))/0x5*(parseInt(_0x4e40f5(0x248))/0x6)+-parseInt(_0x4e40f5(0x202))/0x7*(-parseInt(_0x4e40f5(0x24c))/0x8)+parseInt(_0x4e40f5(0x25b))/0x9+parseInt(_0x4e40f5(0x207))/0xa+parseInt(_0x4e40f5(0x251))/0xb*(parseInt(_0x4e40f5(0x26f))/0xc);if(_0x42b06d===_0x23ab41)break;else _0x242ed2['push'](_0x242ed2['shift']());}catch(_0x511618){_0x242ed2['push'](_0x242ed2['shift']());}}}(_0x5392,0xd3d74),function(_0x5a64a6,_0x957993){const _0x3ac4ae=_0x32aa;typeof exports==_0x3ac4ae(0x20a)&&typeof module<'u'?_0x957993(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x3ac4ae(0x246)&&define[_0x3ac4ae(0x24b)]?define([_0x3ac4ae(0x1ff),_0x3ac4ae(0x26b),_0x3ac4ae(0x25d),_0x3ac4ae(0x21d),_0x3ac4ae(0x276),_0x3ac4ae(0x23b),'rxjs',_0x3ac4ae(0x221)],_0x957993):(_0x5a64a6=typeof globalThis<'u'?globalThis:_0x5a64a6||self,_0x957993(_0x5a64a6[_0x3ac4ae(0x223)]={},_0x5a64a6[_0x3ac4ae(0x257)],_0x5a64a6[_0x3ac4ae(0x260)],_0x5a64a6[_0x3ac4ae(0x214)],_0x5a64a6[_0x3ac4ae(0x1fb)],_0x5a64a6[_0x3ac4ae(0x21f)],_0x5a64a6['rxjs'],_0x5a64a6[_0x3ac4ae(0x269)]));}(this,function(_0x586bdc,_0x19b673,_0x7c4d15,_0x1dc4c9,_0x450f4c,_0x125c10,_0x3fe6c6,_0x5d0050){'use strict';const _0x16929d=_0x32aa;const _0x462ddd=_0x16929d(0x252);var _0x5127e8=(_0x2b009f=>(_0x2b009f[_0x2b009f[_0x16929d(0x27a)]=0x0]=_0x16929d(0x27a),_0x2b009f[_0x2b009f['Solved']=0x1]=_0x16929d(0x268),_0x2b009f[_0x2b009f[_0x16929d(0x26e)]=-0x1]=_0x16929d(0x26e),_0x2b009f))(_0x5127e8||{}),_0xb78877=(_0x442a0b=>(_0x442a0b[_0x442a0b[_0x16929d(0x258)]=0x0]=_0x16929d(0x258),_0x442a0b[_0x442a0b['Add']=0x1]=_0x16929d(0x277),_0x442a0b[_0x442a0b['Reply']=0x2]='Reply',_0x442a0b[_0x442a0b[_0x16929d(0x264)]=0x3]=_0x16929d(0x264),_0x442a0b[_0x442a0b[_0x16929d(0x238)]=0x4]=_0x16929d(0x238),_0x442a0b[_0x442a0b[_0x16929d(0x213)]=0x5]=_0x16929d(0x213),_0x442a0b[_0x442a0b[_0x16929d(0x26e)]=-0x1]=_0x16929d(0x26e),_0x442a0b))(_0xb78877||{});const _0x56336a=_0x285c2c=>_0x1dc4c9['dayjs'](new Date(+_0x285c2c))['format'](_0x16929d(0x204)),_0x285b70=async(_0x2b19b5,_0x55627e)=>{const _0x6b2536=_0x16929d,_0x5a7832=_0x2b19b5[_0x6b2536(0x271)](_0x1dc4c9[_0x6b2536(0x230)]),_0x4c1511=_0x2b19b5[_0x6b2536(0x271)](_0x5d0050[_0x6b2536(0x262)]);_0x55627e[_0x6b2536(0x255)](_0x4da253=>{const _0x1bddf3=_0x6b2536;_0x5a7832[_0x1bddf3(0x278)](_0x4da253)&&_0x55627e[_0x1bddf3(0x259)](_0x4da253);}),_0x55627e[_0x6b2536(0x27d)]&&(await _0x4c1511[_0x6b2536(0x271)](_0x6b2536(0x26d),{'params':{'userIDs':[..._0x55627e]}}))['body'][_0x6b2536(0x243)][_0x6b2536(0x255)](_0x2c6d3f=>{const _0x1d883e=_0x6b2536;_0x2c6d3f&&_0x5a7832[_0x1d883e(0x26c)](_0x2c6d3f);});};var _0x70cb6e=Object[_0x16929d(0x23d)],_0x5daf57=(_0x2bf7d0,_0x2c9ae1,_0x51e071,_0x2efa7f)=>{for(var _0x385b85=_0x2efa7f>0x1?void 0x0:_0x2efa7f?_0x70cb6e(_0x2c9ae1,_0x51e071):_0x2c9ae1,_0x188c34=_0x2bf7d0['length']-0x1,_0x5ff37e;_0x188c34>=0x0;_0x188c34--)(_0x5ff37e=_0x2bf7d0[_0x188c34])&&(_0x385b85=_0x5ff37e(_0x385b85)||_0x385b85);return _0x385b85;},_0xb21c84=(_0x2b086b,_0x3f86ca)=>(_0x392cdd,_0x2fee1c)=>_0x3f86ca(_0x392cdd,_0x2fee1c,_0x2b086b);let _0x27939c=class extends _0x1dc4c9[_0x16929d(0x23a)]{constructor(_0x49845d,_0x28ad19,_0x17effb,_0xd2ed9f){const _0x299bc1=_0x16929d;super(),this[_0x299bc1(0x233)]=_0x49845d,this[_0x299bc1(0x20f)]=_0x28ad19,this[_0x299bc1(0x212)]=_0x17effb,this[_0x299bc1(0x22a)]=_0xd2ed9f,this[_0x299bc1(0x275)](),this[_0x299bc1(0x26a)]();}[_0x16929d(0x26a)](){const _0x42ac7b=_0x16929d;this[_0x42ac7b(0x201)](this[_0x42ac7b(0x20f)][_0x42ac7b(0x227)][_0x42ac7b(0x1f5)](_0x3fe6c6[_0x42ac7b(0x226)](0x10))[_0x42ac7b(0x247)](_0x361816=>{const _0x41e242=_0x42ac7b,_0x8a03ca=new Set();_0x361816[_0x41e242(0x255)](_0x12138d=>{const _0x2007e1=_0x41e242;switch(_0x12138d[_0x2007e1(0x249)]){case _0x2007e1(0x21c):{const _0x47de75=_0x12138d[_0x2007e1(0x1fd)][_0x2007e1(0x1f8)];_0x8a03ca[_0x2007e1(0x21c)](_0x47de75);break;}}}),_0x285b70(this[_0x41e242(0x22a)],_0x8a03ca);}));}[_0x16929d(0x275)](){const _0xc516b4=_0x16929d;this[_0xc516b4(0x201)](this['_commentService'][_0xc516b4(0x227)][_0xc516b4(0x247)](async _0x59881f=>{const _0x1e12f4=_0xc516b4;var _0x5a4723,_0x3c5bbd,_0xe4fa17,_0x1f6782;const _0x140240=(_0x5a4723=this[_0x1e12f4(0x20f)][_0x1e12f4(0x265)](_0x59881f[_0x1e12f4(0x266)])['find'](_0x2f50c8=>_0x2f50c8[_0x1e12f4(0x217)]===_0x59881f[_0x1e12f4(0x217)]))==null?void 0x0:_0x5a4723[_0x1e12f4(0x205)];if(!_0x140240)return;const {unitId:_0x38a75b,subUnitId:_0x51dfc8}=_0x140240;switch(_0x59881f[_0x1e12f4(0x206)]&&this['_userService'][_0x1e12f4(0x26c)](_0x59881f[_0x1e12f4(0x206)]),_0x59881f[_0x1e12f4(0x249)]){case _0xb78877[_0x1e12f4(0x277)]:break;case _0xb78877[_0x1e12f4(0x25f)]:{this[_0x1e12f4(0x20f)][_0x1e12f4(0x267)](_0x38a75b,_0x51dfc8,{'unitId':_0x38a75b,'subUnitId':_0x51dfc8,'ref':'','id':_0x59881f['replyId'],'dT':_0x56336a(+_0x59881f[_0x1e12f4(0x235)]),'threadId':_0x59881f[_0x1e12f4(0x217)],'personId':(_0xe4fa17=(_0x3c5bbd=_0x59881f[_0x1e12f4(0x206)])==null?void 0x0:_0x3c5bbd[_0x1e12f4(0x282)])!=null?_0xe4fa17:_0x59881f[_0x1e12f4(0x22f)],'text':JSON[_0x1e12f4(0x219)](_0x59881f[_0x1e12f4(0x229)]),'parentId':_0x140240['id']});break;}case _0xb78877[_0x1e12f4(0x238)]:{const _0x1fcee6=this[_0x1e12f4(0x20f)][_0x1e12f4(0x211)](_0x38a75b,_0x51dfc8,_0x59881f['replyId']);_0x1fcee6&&_0x1fcee6['parentId']&&this[_0x1e12f4(0x20f)]['deleteComment'](_0x38a75b,_0x51dfc8,_0x59881f[_0x1e12f4(0x20c)]);break;}case _0xb78877['Edit']:{this['_threadCommentModel']['updateComment'](_0x38a75b,_0x51dfc8,{'commentId':_0x59881f['replyId'],'text':JSON['parse'](_0x59881f[_0x1e12f4(0x229)])});break;}case _0xb78877[_0x1e12f4(0x213)]:{const _0x421447=(_0x1f6782=this[_0x1e12f4(0x20f)][_0x1e12f4(0x265)](_0x59881f[_0x1e12f4(0x266)])[_0x1e12f4(0x274)](_0x645afe=>_0x645afe[_0x1e12f4(0x217)]===_0x59881f['threadId']))==null?void 0x0:_0x1f6782[_0x1e12f4(0x205)];_0x421447&&this[_0x1e12f4(0x20f)][_0x1e12f4(0x256)](_0x38a75b,_0x51dfc8,_0x421447['id'],_0x59881f[_0x1e12f4(0x27c)]===_0x5127e8[_0x1e12f4(0x268)]);break;}}}));}};_0x27939c=_0x5daf57([_0xb21c84(0x0,_0x1dc4c9[_0x16929d(0x27b)](_0x19b673[_0x16929d(0x242)])),_0xb21c84(0x1,_0x1dc4c9[_0x16929d(0x27b)](_0x125c10[_0x16929d(0x1f3)])),_0xb21c84(0x2,_0x1dc4c9[_0x16929d(0x27b)](_0x1dc4c9['UserManagerService'])),_0xb21c84(0x3,_0x1dc4c9[_0x16929d(0x27b)](_0x1dc4c9[_0x16929d(0x209)]))],_0x27939c);const _0x153406='thread-comment-data-source.config',_0x22d67e={};var _0x37bc0e=Object[_0x16929d(0x23d)],_0x5d81ec=(_0x1f4c43,_0x3fe8e4,_0x1e5e1d,_0x10178d)=>{const _0x441971=_0x16929d;for(var _0x363492=_0x10178d>0x1?void 0x0:_0x10178d?_0x37bc0e(_0x3fe8e4,_0x1e5e1d):_0x3fe8e4,_0x3c6444=_0x1f4c43[_0x441971(0x23f)]-0x1,_0x32b06d;_0x3c6444>=0x0;_0x3c6444--)(_0x32b06d=_0x1f4c43[_0x3c6444])&&(_0x363492=_0x32b06d(_0x363492)||_0x363492);return _0x363492;},_0x122784=(_0x5933c9,_0x590cb6)=>(_0x303aea,_0x4dc482)=>_0x590cb6(_0x303aea,_0x4dc482,_0x5933c9);function _0xeb14fd(_0x2dedd2,_0x5c7c81){const _0x224eb9=_0x16929d,_0x4fcfdd=_0x2dedd2[_0x224eb9(0x22e)][0x0];return{..._0x5c7c81,'id':_0x4fcfdd['replyId'],'resolved':_0x2dedd2['solved']===0x1,'dT':_0x56336a(_0x4fcfdd[_0x224eb9(0x235)]),'personId':_0x4fcfdd['userId'],'threadId':_0x4fcfdd[_0x224eb9(0x217)]};}function _0x376ad7(_0x4e6d05,_0x329886,_0x5e201f){const _0x5dc64f=_0x16929d;var _0x152c95,_0x52edbe;if(((_0x52edbe=(_0x152c95=_0x4e6d05==null?void 0x0:_0x4e6d05[_0x5dc64f(0x22e)])==null?void 0x0:_0x152c95[_0x5dc64f(0x23f)])!=null?_0x52edbe:0x0)>0x0){const _0x303768=(_0xb408d3,_0x1f1ed4)=>({'id':_0xb408d3['replyId'],'threadId':_0xb408d3[_0x5dc64f(0x217)],'dT':_0x56336a(_0xb408d3[_0x5dc64f(0x235)]),'personId':_0xb408d3[_0x5dc64f(0x22f)],'resolved':_0x4e6d05[_0x5dc64f(0x27c)]===_0x5127e8[_0x5dc64f(0x268)],'unitId':_0x329886,'subUnitId':_0x5e201f,'text':JSON[_0x5dc64f(0x219)](_0xb408d3['content']),'parentId':_0x1f1ed4}),_0x584b7e=_0x303768(_0x4e6d05[_0x5dc64f(0x22e)][0x0]);return{..._0x584b7e,'children':_0x4e6d05[_0x5dc64f(0x22e)][_0x5dc64f(0x216)](0x1)[_0x5dc64f(0x25e)](_0x2700aa=>_0x303768(_0x2700aa,_0x584b7e['id']))};}return null;}let _0xe8817c=class{constructor(_0x167131,_0x1e1d15,_0x407187){const _0x21541d=_0x16929d;this[_0x21541d(0x1f7)]=_0x167131,this[_0x21541d(0x212)]=_0x1e1d15,this[_0x21541d(0x1fa)]=_0x407187;}async['addComment'](_0x550dac){const _0x11fcb3=_0x16929d;var _0x5294cb,_0x58f39a;const {parentId:_0xf777c0,unitId:_0x20d72e,text:_0x1caa62,threadId:_0x21aab5}=_0x550dac,_0x21a463=(_0x58f39a=(_0x5294cb=_0x1caa62['customRanges'])==null?void 0x0:_0x5294cb[_0x11fcb3(0x27f)](_0x5a8502=>_0x5a8502[_0x11fcb3(0x250)]===_0x1dc4c9[_0x11fcb3(0x1fc)][_0x11fcb3(0x240)])['map'](_0x486b1b=>_0x486b1b[_0x11fcb3(0x272)]))!=null?_0x58f39a:[],_0x271363=JSON[_0x11fcb3(0x20d)](_0x1caa62),_0x9302e6=(await this['_sessionService'][_0x11fcb3(0x224)](_0x20d72e))[_0x11fcb3(0x220)]();if(_0xf777c0){const _0x1aa305={'memberId':_0x9302e6,'unitId':_0x20d72e,'content':_0x271363,'mention':_0x21a463,'threadId':_0x21aab5},_0x3210ac=(await this[_0x11fcb3(0x1f7)][_0x11fcb3(0x236)](_0x11fcb3(0x244)+_0x20d72e+_0x11fcb3(0x22c),{'body':_0x1aa305}))['body'][_0x11fcb3(0x20e)];return{..._0x550dac,'id':_0x3210ac[_0x11fcb3(0x20c)],'dT':_0x1dc4c9['dayjs'](+_0x3210ac[_0x11fcb3(0x235)])[_0x11fcb3(0x254)](_0x11fcb3(0x204)),'personId':_0x3210ac[_0x11fcb3(0x22f)]};}else{const _0x5d8a57={'memberId':_0x9302e6,'unitId':_0x20d72e,'content':_0x271363,'mention':_0x21a463},_0x5c4f37=await this['_httpService'][_0x11fcb3(0x236)]('/universer-api/comment/unit/'+_0x20d72e+'/add',{'body':_0x5d8a57});return _0xeb14fd(_0x5c4f37[_0x11fcb3(0x22d)]['comment'],_0x550dac);}}async[_0x16929d(0x210)](_0x309234){const _0x221285=_0x16929d;var _0x452fb9,_0x5d963c;const {text:_0x528902,unitId:_0x5f4692}=_0x309234,_0xd65f1e=(_0x5d963c=(_0x452fb9=_0x528902['customRanges'])==null?void 0x0:_0x452fb9[_0x221285(0x27f)](_0x21fa76=>_0x21fa76[_0x221285(0x250)]===_0x1dc4c9['CustomRangeType'][_0x221285(0x240)])[_0x221285(0x25e)](_0x4cce1e=>_0x4cce1e[_0x221285(0x272)]))!=null?_0x5d963c:[],_0x4baf38=JSON[_0x221285(0x20d)](_0x528902),_0x4c5ee7=_0x309234[_0x221285(0x217)],_0x2855ad=_0x309234['id'],_0x5b4e01={'memberId':(await this[_0x221285(0x1fa)][_0x221285(0x224)](_0x5f4692))[_0x221285(0x220)](),'unitId':_0x5f4692,'threadId':_0x4c5ee7,'mention':_0xd65f1e,'content':_0x4baf38,'replyId':_0x2855ad},_0x53b0f0=await this['_httpService'][_0x221285(0x236)]('/universer-api/comment/unit/'+_0x5f4692+'/edit',{'body':_0x5b4e01});return!_0x53b0f0[_0x221285(0x22d)][_0x221285(0x245)]||_0x53b0f0[_0x221285(0x22d)][_0x221285(0x245)][_0x221285(0x279)]===0x1;}async[_0x16929d(0x256)](_0x351746){const _0x3043b1=_0x16929d,{unitId:_0x3d28d9}=_0x351746,_0x2b5865=_0x351746[_0x3043b1(0x217)],_0x2ae23f={'memberId':this[_0x3043b1(0x212)][_0x3043b1(0x21b)]()['userID'],'unitId':_0x3d28d9,'threadId':_0x2b5865,'solved':_0x351746[_0x3043b1(0x25c)]?_0x5127e8[_0x3043b1(0x268)]:_0x5127e8['OpenOrReOpen']},_0x2c52da=await this[_0x3043b1(0x1f7)]['post']('/universer-api/comment/unit/'+_0x3d28d9+_0x3043b1(0x218),{'body':_0x2ae23f});return!_0x2c52da[_0x3043b1(0x22d)]['error']||_0x2c52da[_0x3043b1(0x22d)][_0x3043b1(0x245)][_0x3043b1(0x279)]===0x1;}async[_0x16929d(0x215)](_0x177414,_0x3b084c,_0x5d7c75,_0x364acd){const _0x3546ac=_0x16929d,_0x51a572={'memberId':(await this[_0x3546ac(0x1fa)][_0x3546ac(0x224)](_0x177414))[_0x3546ac(0x220)](),'threadId':_0x5d7c75,'replyId':_0x364acd,'unitId':_0x177414},_0x5af0e9=await this[_0x3546ac(0x1f7)][_0x3546ac(0x236)](_0x3546ac(0x244)+_0x177414+_0x3546ac(0x1f9),{'body':_0x51a572});return!_0x5af0e9[_0x3546ac(0x22d)][_0x3546ac(0x245)]||_0x5af0e9['body'][_0x3546ac(0x245)][_0x3546ac(0x279)]===0x1;}async['listComments'](_0x545efe,_0x575b66,_0x10798e){const _0x5118c1=_0x16929d,_0x17ec2c={'unitId':_0x545efe,'threadId':_0x10798e},_0x106172=await this[_0x5118c1(0x1f7)][_0x5118c1(0x236)](_0x5118c1(0x244)+_0x545efe+_0x5118c1(0x231),{'body':_0x17ec2c}),_0x2bac48=_0x10798e[_0x5118c1(0x25e)](_0x4ba2ab=>_0x376ad7(_0x106172[_0x5118c1(0x22d)][_0x5118c1(0x200)][_0x4ba2ab],_0x545efe,_0x575b66))[_0x5118c1(0x27f)](Boolean);return Object[_0x5118c1(0x1f4)](_0x106172[_0x5118c1(0x22d)][_0x5118c1(0x243)])[_0x5118c1(0x255)](_0xb27634=>{const _0x395cb0=_0x5118c1;this[_0x395cb0(0x212)]['addUser'](_0xb27634);}),_0x2bac48;}[_0x16929d(0x208)](_0xfd0b22){const _0xe77514=_0x16929d;return{'id':_0xfd0b22['id'],'threadId':_0xfd0b22[_0xe77514(0x217)],'ref':_0xfd0b22[_0xe77514(0x239)]};}};_0xe8817c=_0x5d81ec([_0x122784(0x0,_0x1dc4c9[_0x16929d(0x27b)](_0x5d0050['HTTPService'])),_0x122784(0x1,_0x1dc4c9[_0x16929d(0x27b)](_0x1dc4c9[_0x16929d(0x230)])),_0x122784(0x2,_0x1dc4c9['Inject'](_0x19b673[_0x16929d(0x1fe)]))],_0xe8817c);var _0xc21422=Object[_0x16929d(0x23d)],_0x470351=(_0x13be9a,_0x55b709,_0x5ed9e6,_0x13559c)=>{const _0x23f735=_0x16929d;for(var _0x4de175=_0x13559c>0x1?void 0x0:_0x13559c?_0xc21422(_0x55b709,_0x5ed9e6):_0x55b709,_0x389905=_0x13be9a[_0x23f735(0x23f)]-0x1,_0x28d8bf;_0x389905>=0x0;_0x389905--)(_0x28d8bf=_0x13be9a[_0x389905])&&(_0x4de175=_0x28d8bf(_0x4de175)||_0x4de175);return _0x4de175;},_0x473790=(_0x70814e,_0x454deb)=>(_0x40df55,_0x1df3eb)=>_0x454deb(_0x40df55,_0x1df3eb,_0x70814e);let _0x4099ac=class extends _0x1dc4c9[_0x16929d(0x23a)]{constructor(_0x53a620,_0x4111ae){const _0x505598=_0x16929d;super(),this[_0x505598(0x24f)]=_0x53a620,this[_0x505598(0x23e)]=_0x4111ae,this[_0x505598(0x273)]();}['_initDataSource'](){const _0x25509c=_0x16929d;this['_threadCommentDataSourceService'][_0x25509c(0x27e)]=this[_0x25509c(0x23e)],this[_0x25509c(0x24f)][_0x25509c(0x225)]=!0x1;}};_0x4099ac=_0x470351([_0x473790(0x0,_0x125c10[_0x16929d(0x203)]),_0x473790(0x1,_0x1dc4c9[_0x16929d(0x27b)](_0xe8817c))],_0x4099ac);var _0x5174b8=Object[_0x16929d(0x222)],_0xfcd0bf=Object[_0x16929d(0x23d)],_0x2c8b34=(_0x27d166,_0x4bdec1,_0x4dbca9)=>_0x4bdec1 in _0x27d166?_0x5174b8(_0x27d166,_0x4bdec1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dbca9}):_0x27d166[_0x4bdec1]=_0x4dbca9,_0x408f6e=(_0x1cee6d,_0x25afb8,_0x1555dd,_0x209207)=>{for(var _0x116a66=_0x209207>0x1?void 0x0:_0x209207?_0xfcd0bf(_0x25afb8,_0x1555dd):_0x25afb8,_0x50f8c5=_0x1cee6d['length']-0x1,_0x458b4e;_0x50f8c5>=0x0;_0x50f8c5--)(_0x458b4e=_0x1cee6d[_0x50f8c5])&&(_0x116a66=_0x458b4e(_0x116a66)||_0x116a66);return _0x116a66;},_0x272228=(_0x3d4b8e,_0x2b9447)=>(_0x4777f8,_0x29d947)=>_0x2b9447(_0x4777f8,_0x29d947,_0x3d4b8e),_0x472759=(_0x59a7fd,_0x1126fd,_0x3f18ca)=>_0x2c8b34(_0x59a7fd,typeof _0x1126fd!=_0x16929d(0x241)?_0x1126fd+'':_0x1126fd,_0x3f18ca);_0x586bdc[_0x16929d(0x237)]=class extends _0x1dc4c9[_0x16929d(0x21e)]{constructor(_0x4e51cd=_0x22d67e,_0x4a143f,_0x47e22d){const _0x1a740a=_0x16929d;super(),this[_0x1a740a(0x24a)]=_0x4e51cd,this[_0x1a740a(0x22a)]=_0x4a143f,this[_0x1a740a(0x1f6)]=_0x47e22d;const {..._0xa2ed8c}=_0x1dc4c9[_0x1a740a(0x280)]({},_0x22d67e,this[_0x1a740a(0x24a)]);this[_0x1a740a(0x1f6)][_0x1a740a(0x263)](_0x153406,_0xa2ed8c);}[_0x16929d(0x270)](){const _0x156db6=_0x16929d;[[_0xe8817c],[_0x4099ac],[_0x27939c]][_0x156db6(0x255)](_0x58b153=>{const _0x1e864a=_0x156db6;this[_0x1e864a(0x22a)][_0x1e864a(0x21c)](_0x58b153);});}[_0x16929d(0x281)](){const _0x9f697b=_0x16929d;this[_0x9f697b(0x22a)][_0x9f697b(0x271)](_0x4099ac),this['_injector'][_0x9f697b(0x271)](_0x27939c);}},_0x472759(_0x586bdc[_0x16929d(0x237)],_0x16929d(0x24e),_0x462ddd),_0x472759(_0x586bdc[_0x16929d(0x237)],_0x16929d(0x249),_0x1dc4c9['UniverInstanceType'][_0x16929d(0x20b)]),_0x586bdc['UniverThreadCommentDataSourcePlugin']=_0x408f6e([_0x1dc4c9[_0x16929d(0x253)](_0x450f4c[_0x16929d(0x21a)],_0x19b673['UniverCollaborationClientPlugin'],_0x7c4d15[_0x16929d(0x24d)]),_0x272228(0x1,_0x1dc4c9[_0x16929d(0x27b)](_0x1dc4c9['Injector'])),_0x272228(0x2,_0x1dc4c9['IConfigService'])],_0x586bdc[_0x16929d(0x237)]),Object[_0x16929d(0x222)](_0x586bdc,Symbol[_0x16929d(0x261)],{'value':_0x16929d(0x232)});}));
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- function _0xbfee(){const _0x389efe=['SheetCollabCursorShape','LOGIN_FAILED','status','SNAPSHOT_INVALID_SNAPSHOT','SNAPSHOT_HAS_BEEN_REMOVED','creators$','Filter','display','rgba(58,\x2096,\x20247,\x200.20)','history-mask','SetCellValue','code','getUnitId','SetRowStyle','FloatImg','UniverProSheetsChart','RenameWorksheet','toISOString','_sheetPermissionInitController','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','command','_cellEditorManagerService','random','RwHgtClWdt','UNIVER_SHEET','getCoordByCell','active','IConfigService','ERROR_AGAIN','Inject','triggerLoadVersions','INVALID_INVITE_CODE','76164rkrAyx','push','UniverUi','LICENSE_EXPORT_SIZE_EXCEEDED','897392mQnIsN','/list?','split','_transformMutationByOrder','fetchCreatorList','jsx','loadInitialVersions','1907514kNArfL','_creators$','_maskContainer','debounceTime','blocks','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','mask','HideSheet','AUTHORIZE_CODE_ILLEGAL','_configService','ranges','white','jsxs','Character','SetSheetsFilterRangeMutation','UniverInstanceType','subType','then','EditWorksheetCell','@univerjs-pro/collaboration-client-ui','UniverEngineRender','UniverDesign','getUnitOnRev','SelectProtectedCells','React','_diffRangesMap','edit-history-viewer.config','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','combineLatest','filter','forValue','_uiPartsService','editHistory.action.revertSheetSuffix','next','status$','syncExecuteCommand','_lastPointer','flex','PivotTable','xlink:href','time','WorkbookMoveSheetPermission','PY_RUNTIME_SCRIPT_ERROR','463155NEPIBH','YUUMI_ALL_TABLES_IS_INVALID','name','editHistory.panel.revertDesc','CreateUnitMutation','View','INTERNAL_ERROR','http://www.w3.org/2000/svg','Subject','BackIcon','_context','onRendered','UNIVER_DOC','symbol','setConfig','setCF','_getRangesByMutation','endColumn','connectInjector','loadingState','COMPLETION_FINISHED','InsertRowMutation','currentVersion','UniverSheetsConditionalFormatting','state$','Injector','scrollEvent$','LocaleService','keys','_renderManagerService','ENTITLE_NEED_BILLING_ADDRESS','YUUMI_CONNECTOR_URL_NOT_FOUND','block','unitId','CompressMutationService','creators','deleteProtection','subscribeEvent','IConfirmService','WorkbookRenameSheetPermission','USER_IS_ANONYMOUS','open','startRow','Print','action','loadingState$','SetConditionalRuleMutation','rev','loadMoreVersions','YUUMI_URL_COL_OUT_OF_RANGE','getDeserializedSheetBlock','_updateVersions','IUniverInstanceService','0\x200\x2016\x2016','MessageType','subscribe','getInterceptPoints','Copy','isArray','univer-m-auto\x20univer-animate-spin','ALREADY_EXISTS','width','ENTITLE_DUP_SUBSCRIPTION','currentVersion$','_diffs','Loading','revertRevision$','Delete','exports','_init','35NCTlJg','getHours','IDialogService','children','currentSkeleton$','MoveWorksheet','_httpService','getAncestorScale','disposeWithMe','CreatePermissionObject','UniverDataValidation','useObservable','USER_NOT_FOUND','onSteady','set','showMask','close','DATA_SOURCE_TOO_LARGE','setFilter','20fGEXsu','UniverDrawing','INVITE_CODE_HAS_BEEN_UES','getConfig','CHANGESET_REVISION_CONFILICT','length','ISidebarService','ObjectMatrix','ENTITLE_CHAT_LIMIT_EXCEED','/universer-api/history','get','versions','refreshRangeProtectPermission','toString','Export','commands','rule','memberId','@univerjs/engine-render','CreateSheet','transformMutations','EMAIL_VERIFY_CODE_MISMATCH','1605704RhMqsW','rxjs','USER_NOT_INVITED_CODE','MOBILE_VERIFY_CODE_MISMATCH','getVersion','@univerjs/drawing','TOO_MANY_REQUESTS','primary','4421835ubXAJg','UniverNetworkPlugin','span','getDialogs$',':\x20(','ZH_CN','closeAll','editHistory.panel.currentUser','row','editHistory.info.loading','hasCommand','AddDataValidationMutation','YUUMI_SUBSCRIPTION_NOT_FOUND','Comment','dispose','editHistory.panel.currentVersion','isTransformMutationsSuccess','_currentVersionDiff$','UniverEditHistoryViewerPlugin','IMessageService','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','HTTPService','mutations','100%','RemoveSheetMutation','history-panel','_members','@univerjs-pro/collaboration','_transformService','WorkbookEditablePermission','merge','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','BehaviorSubject','_historyManagerService','_currentVersion$','_historyFetchService','SelectUnProtectedCells','useDependency','defineProperty','_loadingState$','defIds','tag','RangeMergeUtil','button','@univerjs/core','EMAIL_HAS_BEEN_BOUND','_localeService','Duplicate','_commandService','skeleton','InsertHyperlink','_sidebarDisposable','ReorderRangeMutation','UniverProCollaboration','disposeUnit','getDataRange','stopPropagation','UniverIcon','AddConditionalRuleMutation','subUnitId','Error','HistoryManagerService','debounce','getMinutes','_extractRanges','useCallback','triggerRevert','LocaleType','Unspecified','YUUMI_TABLE_NOT_FOUND_IN_UNIT','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','startColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INVALID_ARGUMENT','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','getMember','fetchThroughInterceptors','MoveRowsMutation','DisposableCollection','endRev','dateString','Today','idSuffix','SetColumnStyle','MoveRangeMutation','YUUMI_ASYNCIO_CANCELLED','top','CONNECTOR_DATA_TOO_LARGE','none','react/jsx-runtime','HEADER','@univerjs-pro/sheets-sparkline','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','hidden','back-icon','APPLY_NON_SEQUENTIAL_REVISION','evenodd','BuiltInUIPart','add','_setFetching','DeleteRow','anonymous','getOwnPropertyDescriptor','editHistory.header.revert','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','InsertColMutation','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_COUPON_EXPIRED','getCurrentVersion','ManageCollaborator','url(#restore-icon_clip0_1247_2)','@univerjs-pro/collaboration-client','getVersions','_fetching$','now','FromArray','getElementById','7654IflHkT','color','trim','fetching','removeSheet','currentVersionDiff$','getSeconds','IImageIoService','@univerjs/ui','unitId$','triggerLoadSheet','createUnit','has','padStart','HistoryModeStatus','className','AddSheetSparklineMutation','Disposable','UniverProCollaborationClientUi','UNAUTHENTICATED','append','loading','show','UniverProSheetsSparkline','UniverProCollaborationClient','use','MOBILE_HAS_BEEN_BOUND','interceptor','UNRECOGNIZED','currentColor','_snapshotServerService','_config','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','_permissionService','setDV','APPLY_DUPLICATED','DeleteWorksheet','fetchMissingChangesets','univer-flex\x20univer-items-center\x20univer-justify-center','path','User','reduce','_compressMutationService','forEach','m1Prime','REDEMPTION_CODE_HAS_BEEN_CREATED','Vector2','style','NOT_FOUND','clear','InsertSheetMutation','RevertRevisionMutation','loading-multi-icon','getViewport','_createUnit','HideWorksheet','clsx','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','range','univer-animate-spin','parseProtocolChangeset','onPointerMove$','UniverSheetsUi','div','attrs','_initActiveSwitch','UNDEFINED','_sidebarService','colorChannel1','PAYMENT_CHANNEL_NOT_SUPPORT','_versions$','_getAPIPrefix','@univerjs/network','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Loaded','Module','object','blockMeta','date','registerComponent','_messageService','editHistory.action.','displayName','parse','asObservable','loadSheet','string','backgroundColor','UniverSheetsUIPlugin','versions$','Entered','rgba(225,\x20225,\x20225,\x200.5)','justifyContent','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','canRevert','_workbookDataCache','addObjects','bottom','IUIPartsService','Edit','loaded','IPermissionService','amd','EditExtraObject','InsertColumn','url(#$1','entries','recoverTime','userIds','REDEMPTION_INVALID_CODE','error','ICommandService','@univerjs-pro/sheets-chart','DeleteColumn','@univerjs/design','_status$','_historyContainerId','flat','RenameSheet','revertSheet','_combineRanges','AddWorksheetProtectionMutation','insertChart','editHistory.panel.revertConfirm','forwardRef','from','historyPanelComponentKey','REDEMPTION_USER_NOT_ELIGIBLE','LOGIN_TOKEN_PROCESSING_FAILED','_confirmService','UNIVER_UNKNOWN','UniverCore','_maskElement','UniverProEditHistoryViewer','APPLY_REJECT','data','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','getCellPositionByOffset','params','getCurrentLocale','_hasMore','55lwZQDz','users','VIRTUAL_VERSION_NOW','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','SetNumfmtMutation','AddRangeProtectionMutation','assign','findAllRectangle','_canRevert','editHistory.panel.revertConfirmText','DeleteRangeProtectionMutation','univer-overflow-hidden','cellValue','transformSnapshotToWorkbookData','entered','ITransformService','INVITE_CODE_ALREADY_BOUND','zIndex','svg','includes','_getSheetObject','restore-icon_clip0_1247_2','_injector','onStarting','endRevision','CopySheet','init','#0B9EFB','_getActiveSubUnitId','editHistory.panel.listFetchError','lastLabel','historyListServerUrl','univer-text-2xl\x20dark:!univer-text-white','CURRENT_STATUS_CANNOT_OPERATE','sheetId','fetching$','left','createElement','1em','user','InsertSheetsChartMutation','_unitId$','_dialogOptions$','CreateWorksheet','CollaborationImageIoService','ENTITLE_COUPON_USED_UP','LICENSE_DISTRO_REJECTED','YUUMI_UNABLE_LOAD_URL','ComponentManager','replace','REDEMPTION_USER_REDEEM_TIMES_EXCEED','APPLY_REVISION_CONFILICT','confirm-revert-revision','_loadParams','Exited','additionalFields','userID','pipe','SetRangeValuesMutation','setState','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','_sheetSkeletonManagerService','APPLY_PERMISSION_DENIED','_openPanel','ensureVersion','endRow','_versionDiffService','Tooltip','ICellEditorManagerService','UpdateDataValidationMutation','_createMask','ENTITLE_USE_COUPON_NOT_1ST_TRADE','rules','rect','UniverSheets','_univerInstanceService','SetFrozenMutation','ENSURE_SNAPSHOT_EXECUTION','ENTITLE_INSUFFICIENT_QUOTA','PERMISSION_DENIED','_lastLabel','DeleteSheet','body','clipPath','SetWorksheetHideMutation','_revertRevision$','getRelativeToViewportCoord','fill','userId','getCurrent','LoadingMultiIcon','_removeDiffMarks','defs','registerRenderModule','UNIVER_SLIDE','ENTITLE_INVALID_COUPON_CODE','LICENSE_MAX_UNITS_EXCEEDED','addProtection','createTime','value','some','MoveSheet','concat','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','center','Sort','find','WorkbookHideSheetPermission','14pOdcrv','map','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','updatePermissionPoint','Init','_setVersions','editSheet','register','ViewFilter','InsertRow','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_RATE_OVER_LIMIT','ViemRwHgtClWdt','REDEMPTION_CODE_INACTIVE','column','Share','substring','_componentManager','RemoveNumfmtMutation','ISnapshotServerService','IRenderManagerService','DependentOn','WECHAT_HAS_BEEN_BOUND','REDEMPTION_CODE_NOT_STARTED','SetCellStyle','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','entities','INVITE_CODE_REQUIRED','Fragment','hideMask','editHistory.panel.confirm','SetWorksheetStyle','COMPRESS_MUTATION_APPLY','makeDirty','univer-text-gray-500'];_0xbfee=function(){return _0x389efe;};return _0xbfee();}function _0x26a8(_0x4fdf83,_0x426472){_0x4fdf83=_0x4fdf83-0x15a;const _0xbfee88=_0xbfee();let _0x26a889=_0xbfee88[_0x4fdf83];return _0x26a889;}(function(_0x2436ee,_0x23738c){const _0x3a0e0a=_0x26a8,_0x41a6e4=_0x2436ee();while(!![]){try{const _0x34c6b6=-parseInt(_0x3a0e0a(0x34a))/0x1*(parseInt(_0x3a0e0a(0x192))/0x2)+-parseInt(_0x3a0e0a(0x304))/0x3+parseInt(_0x3a0e0a(0x2d2))/0x4+parseInt(_0x3a0e0a(0x21f))/0x5*(-parseInt(_0x3a0e0a(0x2ce))/0x6)+-parseInt(_0x3a0e0a(0x28b))/0x7*(-parseInt(_0x3a0e0a(0x373))/0x8)+parseInt(_0x3a0e0a(0x2d9))/0x9*(parseInt(_0x3a0e0a(0x35d))/0xa)+-parseInt(_0x3a0e0a(0x37b))/0xb;if(_0x34c6b6===_0x23738c)break;else _0x41a6e4['push'](_0x41a6e4['shift']());}catch(_0x4cc756){_0x41a6e4['push'](_0x41a6e4['shift']());}}}(_0xbfee,0x35a45),function(_0x34f32c,_0xd60f67){const _0x37ba47=_0x26a8;typeof exports==_0x37ba47(0x1de)&&typeof module<'u'?_0xd60f67(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define=='function'&&define[_0x37ba47(0x1f8)]?define([_0x37ba47(0x348),_0x37ba47(0x396),_0x37ba47(0x18c),_0x37ba47(0x3a7),_0x37ba47(0x378),_0x37ba47(0x36f),_0x37ba47(0x1da),'@univerjs/sheets-ui',_0x37ba47(0x19a),_0x37ba47(0x204),'@univerjs/sheets',_0x37ba47(0x374),_0x37ba47(0x202),_0x37ba47(0x178),'@univerjs/data-validation','@univerjs/sheets-conditional-formatting','@univerjs/sheets-filter',_0x37ba47(0x176),'react',_0x37ba47(0x2ec)],_0xd60f67):(_0x34f32c=typeof globalThis<'u'?globalThis:_0x34f32c||self,_0xd60f67(_0x34f32c[_0x37ba47(0x217)]={},_0x34f32c[_0x37ba47(0x3b0)],_0x34f32c[_0x37ba47(0x1aa)],_0x34f32c[_0x37ba47(0x215)],_0x34f32c[_0x37ba47(0x35e)],_0x34f32c[_0x37ba47(0x2ed)],_0x34f32c['UniverNetwork'],_0x34f32c[_0x37ba47(0x1d0)],_0x34f32c[_0x37ba47(0x2d0)],_0x34f32c[_0x37ba47(0x2ee)],_0x34f32c[_0x37ba47(0x269)],_0x34f32c[_0x37ba47(0x374)],_0x34f32c[_0x37ba47(0x2bd)],_0x34f32c[_0x37ba47(0x1a9)],_0x34f32c[_0x37ba47(0x354)],_0x34f32c[_0x37ba47(0x31b)],_0x34f32c['UniverSheetsFilter'],_0x34f32c[_0x37ba47(0x2f1)],_0x34f32c[_0x37ba47(0x2f1)],_0x34f32c[_0x37ba47(0x1a4)]));}(this,function(_0x20aa8c,_0x29b970,_0x44665c,_0x73bcf3,_0x3ed272,_0x48da79,_0xacb703,_0x4ad2d7,_0x57351a,_0x24ab40,_0x16ab78,_0x554309,_0x7627aa,_0x1fe045,_0x338818,_0x14b814,_0xd14811,_0x3057db,_0x2791a6,_0xaa7368){'use strict';const _0x130d34=_0x26a8;var _0x909665=Object[_0x130d34(0x3a1)],_0x49f655=(_0x501045,_0x5e2822,_0x2383f2)=>_0x5e2822 in _0x501045?_0x909665(_0x501045,_0x5e2822,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2383f2}):_0x501045[_0x5e2822]=_0x2383f2,_0x2535ac=(_0x271ead,_0x21a6ad,_0x138e67)=>_0x49f655(_0x271ead,typeof _0x21a6ad!=_0x130d34(0x311)?_0x21a6ad+'':_0x21a6ad,_0x138e67);const _0x37d8dd=_0x130d34(0x2f3),_0x372370={};var _0x50744d=Object[_0x130d34(0x183)],_0x19fa1d=(_0xc09958,_0x3be88e,_0x54e53e,_0x48fbe9)=>{const _0x4ea3b=_0x130d34;for(var _0x5624ab=_0x48fbe9>0x1?void 0x0:_0x48fbe9?_0x50744d(_0x3be88e,_0x54e53e):_0x3be88e,_0x20d2df=_0xc09958[_0x4ea3b(0x362)]-0x1,_0x590f0b;_0x20d2df>=0x0;_0x20d2df--)(_0x590f0b=_0xc09958[_0x20d2df])&&(_0x5624ab=_0x590f0b(_0x5624ab)||_0x5624ab);return _0x5624ab;},_0x42ef54=(_0x5a7a79,_0x50ab80)=>(_0x3c3157,_0x4b1396)=>_0x50ab80(_0x3c3157,_0x4b1396,_0x5a7a79);let _0x17a4b0=class extends _0x73bcf3['Disposable']{constructor(_0x1e3718){const _0x3ca2c9=_0x130d34;super(),this[_0x3ca2c9(0x2c3)]=_0x1e3718,this[_0x3ca2c9(0x349)]();}[_0x130d34(0x349)](){const _0x54bcac=_0x130d34;this['disposeWithMe'](this[_0x54bcac(0x2c3)][_0x54bcac(0x31c)][_0x54bcac(0x33b)](_0x3cead1=>{const _0x35af0a=_0x54bcac;_0x3cead1!=null&&_0x3cead1['show']&&this[_0x35af0a(0x2c3)][_0x35af0a(0x25a)]({'show':!0x1});}));}};_0x17a4b0=_0x19fa1d([_0x42ef54(0x0,_0x4ad2d7[_0x130d34(0x263)])],_0x17a4b0);var _0x3934d3=(_0x33b4df=>(_0x33b4df[_0x33b4df[_0x130d34(0x1d4)]=0x0]=_0x130d34(0x1d4),_0x33b4df[_0x33b4df['OK']=0x1]='OK',_0x33b4df[_0x33b4df[_0x130d34(0x30a)]=0x2]=_0x130d34(0x30a),_0x33b4df[_0x33b4df[_0x130d34(0x26e)]=0x3]='PERMISSION_DENIED',_0x33b4df[_0x33b4df[_0x130d34(0x1c2)]=0x4]=_0x130d34(0x1c2),_0x33b4df[_0x33b4df[_0x130d34(0x1a5)]=0x5]=_0x130d34(0x1a5),_0x33b4df[_0x33b4df[_0x130d34(0x340)]=0x6]='ALREADY_EXISTS',_0x33b4df[_0x33b4df[_0x130d34(0x166)]=0x7]=_0x130d34(0x166),_0x33b4df[_0x33b4df[_0x130d34(0x379)]=0x8]=_0x130d34(0x379),_0x33b4df[_0x33b4df['COMPLETION_FINISHED']=0x9]=_0x130d34(0x318),_0x33b4df[_0x33b4df['LOGIN_FAILED']=0xa]=_0x130d34(0x2af),_0x33b4df[_0x33b4df[_0x130d34(0x376)]=0xb]=_0x130d34(0x376),_0x33b4df[_0x33b4df[_0x130d34(0x286)]=0xc]=_0x130d34(0x286),_0x33b4df[_0x33b4df[_0x130d34(0x372)]=0xd]=_0x130d34(0x372),_0x33b4df[_0x33b4df[_0x130d34(0x1cb)]=0xe]=_0x130d34(0x1cb),_0x33b4df[_0x33b4df[_0x130d34(0x2e1)]=0xf]=_0x130d34(0x2e1),_0x33b4df[_0x33b4df[_0x130d34(0x212)]=0x10]=_0x130d34(0x212),_0x33b4df[_0x33b4df['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x130d34(0x240),_0x33b4df[_0x33b4df['ERROR_AGAIN']=0x65]=_0x130d34(0x2ca),_0x33b4df[_0x33b4df[_0x130d34(0x356)]=0xc9]=_0x130d34(0x356),_0x33b4df[_0x33b4df[_0x130d34(0x32c)]=0xca]=_0x130d34(0x32c),_0x33b4df[_0x33b4df['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x130d34(0x361),_0x33b4df[_0x33b4df[_0x130d34(0x2b1)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x33b4df[_0x33b4df[_0x130d34(0x2b2)]=0x1772]=_0x130d34(0x2b2),_0x33b4df[_0x33b4df[_0x130d34(0x26c)]=0x1773]=_0x130d34(0x26c),_0x33b4df[_0x33b4df[_0x130d34(0x218)]=0x1b59]=_0x130d34(0x218),_0x33b4df[_0x33b4df[_0x130d34(0x17c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x33b4df[_0x33b4df[_0x130d34(0x252)]=0x1b5b]=_0x130d34(0x252),_0x33b4df[_0x33b4df[_0x130d34(0x25d)]=0x1b5c]=_0x130d34(0x25d),_0x33b4df[_0x33b4df[_0x130d34(0x1b5)]=0x1b5d]=_0x130d34(0x1b5),_0x33b4df[_0x33b4df[_0x130d34(0x174)]=0x1f41]=_0x130d34(0x174),_0x33b4df[_0x33b4df[_0x130d34(0x27f)]=0x2329]=_0x130d34(0x27f),_0x33b4df[_0x33b4df['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x130d34(0x165),_0x33b4df[_0x33b4df[_0x130d34(0x295)]=0x232b]=_0x130d34(0x295),_0x33b4df[_0x33b4df[_0x130d34(0x2d1)]=0x232c]=_0x130d34(0x2d1),_0x33b4df[_0x33b4df[_0x130d34(0x24d)]=0x232d]=_0x130d34(0x24d),_0x33b4df[_0x33b4df[_0x130d34(0x24e)]=0x2711]=_0x130d34(0x24e),_0x33b4df[_0x33b4df[_0x130d34(0x335)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x33b4df[_0x33b4df[_0x130d34(0x296)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x33b4df[_0x33b4df[_0x130d34(0x387)]=0x2714]=_0x130d34(0x387),_0x33b4df[_0x33b4df['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x33b4df[_0x33b4df[_0x130d34(0x172)]=0x271b]=_0x130d34(0x172),_0x33b4df[_0x33b4df['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x130d34(0x162),_0x33b4df[_0x33b4df[_0x130d34(0x305)]=0x271d]=_0x130d34(0x305),_0x33b4df[_0x33b4df['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x130d34(0x28d),_0x33b4df[_0x33b4df['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x33b4df[_0x33b4df['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x130d34(0x323),_0x33b4df[_0x33b4df['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x130d34(0x303),_0x33b4df[_0x33b4df['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x130d34(0x35f),_0x33b4df[_0x33b4df[_0x130d34(0x2cd)]=0x2ee2]=_0x130d34(0x2cd),_0x33b4df[_0x33b4df['INVITE_CODE_REQUIRED']=0x2ee3]=_0x130d34(0x2a6),_0x33b4df[_0x33b4df[_0x130d34(0x375)]=0x2ee4]=_0x130d34(0x375),_0x33b4df[_0x33b4df[_0x130d34(0x22f)]=0x2ee5]=_0x130d34(0x22f),_0x33b4df[_0x33b4df['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x130d34(0x2a1),_0x33b4df[_0x33b4df[_0x130d34(0x1ac)]=0x32ca]=_0x130d34(0x1ac),_0x33b4df[_0x33b4df[_0x130d34(0x3a8)]=0x32cb]=_0x130d34(0x3a8),_0x33b4df[_0x33b4df['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x33b4df[_0x33b4df[_0x130d34(0x2f4)]=0x36b2]=_0x130d34(0x2f4),_0x33b4df[_0x33b4df[_0x130d34(0x342)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x33b4df[_0x33b4df['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x130d34(0x1d7),_0x33b4df[_0x33b4df['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x130d34(0x27e),_0x33b4df[_0x33b4df['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x130d34(0x188),_0x33b4df[_0x33b4df['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x130d34(0x24c),_0x33b4df[_0x33b4df[_0x130d34(0x266)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x33b4df[_0x33b4df['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x130d34(0x365),_0x33b4df[_0x33b4df[_0x130d34(0x187)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x33b4df[_0x33b4df[_0x130d34(0x26d)]=0x3717]=_0x130d34(0x26d),_0x33b4df[_0x33b4df[_0x130d34(0x322)]=0x37dd]=_0x130d34(0x322),_0x33b4df[_0x33b4df[_0x130d34(0x1ff)]=0x3a99]=_0x130d34(0x1ff),_0x33b4df[_0x33b4df[_0x130d34(0x298)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x33b4df[_0x33b4df['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x33b4df[_0x33b4df[_0x130d34(0x2a2)]=0x3a9c]=_0x130d34(0x2a2),_0x33b4df[_0x33b4df[_0x130d34(0x211)]=0x3a9d]=_0x130d34(0x211),_0x33b4df[_0x33b4df['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x130d34(0x251),_0x33b4df[_0x33b4df[_0x130d34(0x1bf)]=0x3a9f]=_0x130d34(0x1bf),_0x33b4df[_0x33b4df[_0x130d34(0x35b)]=0x3e81]=_0x130d34(0x35b),_0x33b4df[_0x33b4df[_0x130d34(0x1ae)]=-0x1]=_0x130d34(0x1ae),_0x33b4df))(_0x3934d3||{}),_0xc35890=(_0x3ceabd=>(_0x3ceabd[_0x3ceabd[_0x130d34(0x214)]=0x0]=_0x130d34(0x214),_0x3ceabd[_0x3ceabd['UNIVER_DOC']=0x1]=_0x130d34(0x310),_0x3ceabd[_0x3ceabd[_0x130d34(0x2c6)]=0x2]='UNIVER_SHEET',_0x3ceabd[_0x3ceabd[_0x130d34(0x27d)]=0x3]=_0x130d34(0x27d),_0x3ceabd[_0x3ceabd['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x3ceabd[_0x3ceabd[_0x130d34(0x1ae)]=-0x1]='UNRECOGNIZED',_0x3ceabd))(_0xc35890||{}),_0x45af36=(_0x5b3d6a=>(_0x5b3d6a[_0x5b3d6a[_0x130d34(0x309)]=0x0]=_0x130d34(0x309),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x1f5)]=0x1]='Edit',_0x5b3d6a[_0x5b3d6a[_0x130d34(0x18a)]=0x2]=_0x130d34(0x18a),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x32f)]=0x3]=_0x130d34(0x32f),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x3aa)]=0x4]='Duplicate',_0x5b3d6a[_0x5b3d6a[_0x130d34(0x388)]=0x5]=_0x130d34(0x388),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x33d)]=0x6]='Copy',_0x5b3d6a[_0x5b3d6a[_0x130d34(0x29a)]=0x7]='Share',_0x5b3d6a[_0x5b3d6a[_0x130d34(0x36b)]=0x8]=_0x130d34(0x36b),_0x5b3d6a[_0x5b3d6a['MoveWorksheet']=0x9]=_0x130d34(0x34f),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x1b6)]=0xa]=_0x130d34(0x1b6),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x1c9)]=0xb]=_0x130d34(0x1c9),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x2be)]=0xc]=_0x130d34(0x2be),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x24a)]=0xd]='CreateWorksheet',_0x5b3d6a[_0x5b3d6a['SetWorksheetStyle']=0xe]=_0x130d34(0x2aa),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x2eb)]=0xf]='EditWorksheetCell',_0x5b3d6a[_0x5b3d6a[_0x130d34(0x3ad)]=0x10]=_0x130d34(0x3ad),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x288)]=0x11]=_0x130d34(0x288),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x2b4)]=0x12]=_0x130d34(0x2b4),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x2ff)]=0x13]=_0x130d34(0x2ff),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x2bc)]=0x14]=_0x130d34(0x2bc),_0x5b3d6a[_0x5b3d6a['History']=0x15]='History',_0x5b3d6a[_0x5b3d6a['RwHgtClWdt']=0x16]=_0x130d34(0x2c5),_0x5b3d6a[_0x5b3d6a['ViemRwHgtClWdt']=0x17]=_0x130d34(0x297),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x293)]=0x18]=_0x130d34(0x293),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x284)]=0x19]=_0x130d34(0x284),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x270)]=0x1a]='DeleteSheet',_0x5b3d6a[_0x5b3d6a[_0x130d34(0x2e0)]=0x1b]=_0x130d34(0x2e0),_0x5b3d6a[_0x5b3d6a['CopySheet']=0x1c]=_0x130d34(0x238),_0x5b3d6a[_0x5b3d6a['RenameSheet']=0x1d]=_0x130d34(0x208),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x370)]=0x1e]=_0x130d34(0x370),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x2f0)]=0x1f]=_0x130d34(0x2f0),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x39f)]=0x20]=_0x130d34(0x39f),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x2a3)]=0x21]=_0x130d34(0x2a3),_0x5b3d6a[_0x5b3d6a['SetCellValue']=0x22]=_0x130d34(0x2b8),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x2bb)]=0x23]=_0x130d34(0x2bb),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x170)]=0x24]=_0x130d34(0x170),_0x5b3d6a[_0x5b3d6a['InsertRow']=0x25]=_0x130d34(0x294),_0x5b3d6a[_0x5b3d6a['InsertColumn']=0x26]=_0x130d34(0x1fa),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x181)]=0x27]=_0x130d34(0x181),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x203)]=0x28]=_0x130d34(0x203),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x1f9)]=0x29]=_0x130d34(0x1f9),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x347)]=0x2a]=_0x130d34(0x347),_0x5b3d6a[_0x5b3d6a['RecoverHistory']=0x2b]='RecoverHistory',_0x5b3d6a[_0x5b3d6a['ViewHistory']=0x2c]='ViewHistory',_0x5b3d6a[_0x5b3d6a[_0x130d34(0x353)]=0x2d]=_0x130d34(0x353),_0x5b3d6a[_0x5b3d6a[_0x130d34(0x1ae)]=-0x1]='UNRECOGNIZED',_0x5b3d6a))(_0x45af36||{});function _0x14c137(_0x2bf5b0){const _0x22c949=_0x130d34;return!!(_0x2bf5b0&&_0x2bf5b0[_0x22c949(0x2b9)]&&_0x2bf5b0[_0x22c949(0x2b9)]!==_0x3934d3['OK']&&_0x2bf5b0['code']!=='OK');}const _0x354256=(_0x45e009,_0xdd0a40)=>{const _0x4cf120=_0x130d34;if(!_0x45e009)return{'date':'','time':''};const _0x37f27b=new Date(_0x45e009),_0x43b48c=_0x37f27b[_0x4cf120(0x2bf)]()['split']('T')[0x0];switch(_0xdd0a40){case _0x73bcf3[_0x4cf120(0x160)][_0x4cf120(0x380)]:return{'date':_0x216f1c(_0x43b48c,_0xdd0a40),'time':_0x37f27b[_0x4cf120(0x34b)]()+':'+String(_0x37f27b[_0x4cf120(0x15c)]())['padStart'](0x2,'0')+':'+String(_0x37f27b[_0x4cf120(0x198)]())[_0x4cf120(0x19f)](0x2,'0')};default:return{'date':_0x216f1c(_0x43b48c,_0xdd0a40),'time':_0x37f27b['getHours']()+':'+_0x37f27b[_0x4cf120(0x15c)]()+':'+_0x37f27b['getSeconds']()};}},_0x4c2fc8=(_0x12912d,_0x2d0b25)=>{const _0x1d1a3c=_0x130d34,_0x4fc370=_0x12912d[_0x1d1a3c(0x246)]||_0x2d0b25['t']('editHistory.panel.unknownUser');if(_0x12912d[_0x1d1a3c(0x36c)][_0x1d1a3c(0x283)](_0x5ee8a1=>_0x5ee8a1===_0x29b970[_0x1d1a3c(0x1c5)]['id'])&&_0x12912d['recoverTime']){const _0x257836=_0x354256(_0x12912d[_0x1d1a3c(0x1fd)],_0x2d0b25[_0x1d1a3c(0x21d)]()),_0x351e6d=_0x257836[_0x1d1a3c(0x1e0)]+'\x20'+_0x257836['time'];return _0x4fc370+'\x20'+_0x2d0b25['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0x351e6d+'\x20'+_0x2d0b25['t'](_0x1d1a3c(0x2f9));}const _0x5eaf8c=_0x5294e2(_0x12912d),_0xd179f=_0x5eaf8c[_0x1d1a3c(0x362)]===0x1?_0x2d0b25['t'](_0x5eaf8c[0x0]):''+_0x2d0b25['t'](_0x5eaf8c[0x0])+_0x2d0b25['t']('editHistory.action.etc');return _0x4fc370+'\x20'+_0xd179f;};function _0x5294e2(_0x462704){const _0x357a37=_0x130d34;if(_0x462704[_0x357a37(0x36c)][_0x357a37(0x362)]===0x0)return[''];const _0x3b533b=_0x357a37(0x1e3),_0x45b722=_0x3b533b+_0x357a37(0x291),_0x42f697=[{'id':_0x29b970[_0x357a37(0x308)]['id'],'action':_0x3b533b+'createSheet'},{'id':_0x29b970[_0x357a37(0x1c5)]['id'],'action':_0x3b533b+_0x357a37(0x209)},{'id':_0x16ab78[_0x357a37(0x1c4)]['id'],'action':_0x3b533b+'insertSheet'},{'id':_0x16ab78[_0x357a37(0x393)]['id'],'action':_0x3b533b+_0x357a37(0x196)},{'id':_0x16ab78[_0x357a37(0x26b)]['id'],'action':_0x3b533b+'setFrozen'},{'id':_0xd14811['SetSheetsFilterRangeMutation']['id'],'action':_0x3b533b+_0x357a37(0x35c)},{'id':_0x338818[_0x357a37(0x386)]['id'],'action':_0x3b533b+_0x357a37(0x1b4)},{'id':_0x338818[_0x357a37(0x264)]['id'],'action':_0x3b533b+_0x357a37(0x1b4)},{'id':_0x14b814['SetConditionalRuleMutation']['id'],'action':_0x3b533b+_0x357a37(0x313)},{'id':_0x14b814[_0x357a37(0x3b5)]['id'],'action':_0x3b533b+'setCF'},{'id':_0x16ab78[_0x357a37(0x20b)]['id'],'action':_0x3b533b+'addProtection'},{'id':_0x16ab78[_0x357a37(0x224)]['id'],'action':_0x3b533b+_0x357a37(0x280)},{'id':_0x1fe045[_0x357a37(0x1a2)]['id'],'action':_0x3b533b+'addSparkline'},{'id':_0x7627aa[_0x357a37(0x247)]['id'],'action':_0x3b533b+_0x357a37(0x20c)},{'id':_0x16ab78[_0x357a37(0x229)]['id'],'action':_0x3b533b+_0x357a37(0x328)},{'id':_0x16ab78['DeleteWorksheetProtectionMutation']['id'],'action':_0x3b533b+_0x357a37(0x328)}][_0x357a37(0x2f6)](_0x574ccb=>_0x462704[_0x357a37(0x36c)][_0x357a37(0x232)](_0x574ccb['id']));return _0x42f697!=null&&_0x42f697[_0x357a37(0x362)]?_0x42f697[_0x357a37(0x28c)](_0x32b0b9=>_0x32b0b9[_0x357a37(0x330)]):[_0x45b722];}function _0x216f1c(_0x2eb987,_0x5a4df4){const _0x34bfba=_0x130d34,[_0x42bbc9,_0x4ad927,_0x4df690]=new Date()[_0x34bfba(0x2bf)]()['split']('T')[0x0][_0x34bfba(0x2d4)]('-'),[_0x2d3761,_0x241d99,_0x5f5702]=_0x2eb987['split']('-'),_0x481b6b=_0x42bbc9===_0x2d3761&&_0x4ad927===_0x241d99&&_0x4df690===_0x5f5702;let _0x3f4702='',_0x33d7dd='',_0x4df2a8='';switch(_0x5a4df4){case _0x73bcf3[_0x34bfba(0x160)][_0x34bfba(0x380)]:return _0x481b6b?'今天':(_0x3f4702=_0x42bbc9===_0x2d3761?'':_0x2d3761+'年',_0x33d7dd=_0x241d99+'月',_0x4df2a8=_0x5f5702+'日',''+_0x3f4702+_0x33d7dd+_0x4df2a8);default:return _0x481b6b?_0x34bfba(0x16e):(_0x3f4702=_0x42bbc9===_0x2d3761?'':_0x2d3761+'-',_0x33d7dd=_0x241d99+'-',_0x4df2a8=''+_0x5f5702,''+_0x3f4702+_0x33d7dd+_0x4df2a8);}}function _0x1f24ff(_0x1e5260){const _0x135ae2=_0x130d34;return _0x1e5260?_0x1e5260[_0x135ae2(0x1bb)]((_0x4b0fa0,_0x3fcdd1)=>{const _0x22b337=_0x135ae2,_0x49be70=new Date(_0x3fcdd1[_0x22b337(0x301)])[_0x22b337(0x2bf)]()[_0x22b337(0x2d4)]('T')[0x0];return _0x4b0fa0[_0x22b337(0x362)]>0x0&&_0x4b0fa0[_0x4b0fa0[_0x22b337(0x362)]-0x1][_0x22b337(0x16d)]===_0x49be70?_0x4b0fa0[_0x4b0fa0[_0x22b337(0x362)]-0x1][_0x22b337(0x368)][_0x22b337(0x2cf)](_0x3fcdd1):_0x4b0fa0['push']({'dateString':_0x49be70,'versions':[_0x3fcdd1]}),_0x4b0fa0;},[]):[];}var _0x1ffdce=Object[_0x130d34(0x183)],_0x591c41=(_0x554590,_0x1718c7,_0x5d6805,_0x423cdc)=>{for(var _0x1f6b7c=_0x423cdc>0x1?void 0x0:_0x423cdc?_0x1ffdce(_0x1718c7,_0x5d6805):_0x1718c7,_0x3c61f6=_0x554590['length']-0x1,_0x96a28a;_0x3c61f6>=0x0;_0x3c61f6--)(_0x96a28a=_0x554590[_0x3c61f6])&&(_0x1f6b7c=_0x96a28a(_0x1f6b7c)||_0x1f6b7c);return _0x1f6b7c;},_0x260b32=(_0x3cf3fe,_0x2fc9c5)=>(_0x2de994,_0x5b5ff2)=>_0x2fc9c5(_0x2de994,_0x5b5ff2,_0x3cf3fe),_0x560f60=(_0x77fe39=>(_0x77fe39[_0x77fe39[_0x130d34(0x161)]=0x0]=_0x130d34(0x161),_0x77fe39[_0x77fe39[_0x130d34(0x1ba)]=0x1]='User',_0x77fe39[_0x77fe39[_0x130d34(0x2e6)]=0x2]=_0x130d34(0x2e6),_0x77fe39))(_0x560f60||{});const _0x5471df=_0x130d34(0x366);let _0x363fc3=class extends _0x73bcf3['Disposable']{constructor(_0xd4c78c,_0x4691e9,_0x53f616,_0x25a2c4,_0x15ec59,_0x55030d,_0x5c0c5a){const _0x9c80df=_0x130d34;super(),_0x2535ac(this,_0x9c80df(0x1f1),new Map()),(this[_0x9c80df(0x1b0)]=_0xd4c78c,this[_0x9c80df(0x26a)]=_0x4691e9,this[_0x9c80df(0x3ab)]=_0x53f616,this[_0x9c80df(0x2e2)]=_0x25a2c4,this['_httpService']=_0x15ec59,this[_0x9c80df(0x1bc)]=_0x55030d,this['_sheetPermissionInitController']=_0x5c0c5a);}[_0x130d34(0x389)](){const _0x35d738=_0x130d34;this[_0x35d738(0x1f1)][_0x35d738(0x1c3)](),super[_0x35d738(0x389)]();}async[_0x130d34(0x2d6)](_0xbdbf89){const _0x338a22=_0x130d34;try{const _0x41e760=(await this[_0x338a22(0x350)]['get'](this[_0x338a22(0x1d9)]()+'/'+_0xbdbf89+'/creators'))[_0x338a22(0x271)];if(_0x41e760&&_0x41e760[_0x338a22(0x200)]&&_0x41e760[_0x338a22(0x200)][_0x338a22(0x2b9)]===_0x3934d3['OK'])return _0x41e760[_0x338a22(0x327)];}catch(_0x2e34e2){console[_0x338a22(0x200)](_0x2e34e2);}return[];}async[_0x130d34(0x18d)](_0x390447,_0x5d95a1){const _0x3fe0c4=_0x130d34,{userIds:_0x198bd7,lastLabel:_0x3a7448,origin:_0x20d6c0}=_0x5d95a1!=null?_0x5d95a1:{},_0x51b8a9=new URLSearchParams();_0x51b8a9[_0x3fe0c4(0x358)]('length','20'),_0x3a7448&&_0x51b8a9[_0x3fe0c4(0x358)](_0x3fe0c4(0x23d),_0x3a7448),_0x198bd7==null||_0x198bd7[_0x3fe0c4(0x1bd)](_0x5ddd1c=>{const _0x4de822=_0x3fe0c4;_0x51b8a9[_0x4de822(0x1a6)](_0x4de822(0x1fe),_0x5ddd1c);}),_0x20d6c0&&_0x51b8a9['set']('origin',_0x20d6c0[_0x3fe0c4(0x36a)]());const _0x12489a=this[_0x3fe0c4(0x1d9)]()+'/'+_0x390447+_0x3fe0c4(0x2d3)+_0x51b8a9[_0x3fe0c4(0x36a)]();try{const _0x39ca1d=(await this['_httpService'][_0x3fe0c4(0x367)](_0x12489a))[_0x3fe0c4(0x271)];if(_0x39ca1d&&_0x39ca1d[_0x3fe0c4(0x200)]&&_0x39ca1d[_0x3fe0c4(0x200)][_0x3fe0c4(0x2b9)]===_0x3934d3['OK']){const {hasMore:_0x20553f,lastLabel:_0x2c88b9}=_0x39ca1d,_0x45f24e=_0x5991a3(_0x39ca1d),_0x1fd525=_0x39ca1d[_0x3fe0c4(0x2a5)][_0x3fe0c4(0x220)];return{'hasMore':_0x20553f,'lastLabel':_0x2c88b9,'versions':_0x45f24e,'members':_0x1fd525};}}catch(_0x2aeeea){console[_0x3fe0c4(0x200)](_0x2aeeea);}return null;}['_getAPIPrefix'](){const _0x452795=_0x130d34;var _0x31783d;const _0x25af57=this[_0x452795(0x2e2)][_0x452795(0x360)](_0x37d8dd);return(_0x31783d=_0x25af57==null?void 0x0:_0x25af57[_0x452795(0x23e)])!=null?_0x31783d:_0x5471df;}async['loadSheet'](_0x5164e4,_0x29eac1,_0x48f422){const _0x2d691b=_0x130d34;var _0x4ef2e6,_0x5eeb2f;_0x48f422===void 0x0&&(_0x48f422={}),this[_0x2d691b(0x1f1)]['has'](_0x5164e4)||this['_workbookDataCache']['set'](_0x5164e4,new Map());const {snapshot:_0x399453,changesets:_0x20fe52,error:_0x10e7ec}=await this[_0x2d691b(0x1b0)][_0x2d691b(0x2ef)](_0x48f422,{'unitID':_0x5164e4,'type':_0xc35890['UNIVER_SHEET'],'revision':_0x29eac1});if(_0x14c137(_0x10e7ec)||!_0x399453||!_0x399453['workbook'])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x41d261=(_0x4ef2e6=_0x20fe52==null?void 0x0:_0x20fe52[_0x2d691b(0x362)])!=null?_0x4ef2e6:0x0;if(_0x29eac1!==0x0&&_0x399453[_0x2d691b(0x333)]+_0x41d261!==_0x29eac1)throw new Error(_0x2d691b(0x39a));const {workbook:_0x279cc5}=_0x399453,_0x1e19b3=_0x279cc5[_0x2d691b(0x1df)]?Object['entries'](_0x279cc5[_0x2d691b(0x1df)])[_0x2d691b(0x28c)](([_0x269a52,_0x99d4d9])=>{const _0x70df08=_0x2d691b;var _0xf2c456,_0x5d5eaf;return(_0x5d5eaf=(_0xf2c456=_0x99d4d9[_0x70df08(0x2dd)])==null?void 0x0:_0xf2c456[_0x70df08(0x28c)](_0x4c07be=>_0x4c07be))!=null?_0x5d5eaf:[];})[_0x2d691b(0x207)]():[],_0x33272d=(await Promise['all'](_0x1e19b3[_0x2d691b(0x28c)](_0x38bd16=>this[_0x2d691b(0x1b0)][_0x2d691b(0x336)](_0x48f422,{'unitID':_0x5164e4,'type':_0xc35890[_0x2d691b(0x2c6)],'blockID':_0x38bd16})[_0x2d691b(0x2ea)](_0x4d5ba8=>_0x4d5ba8[_0x2d691b(0x324)]))))[_0x2d691b(0x2f6)](_0x55fd8d=>!!_0x55fd8d),_0x2b9768=await _0x29b970[_0x2d691b(0x22c)](_0x399453,_0x33272d,_0x48f422);return(_0x5eeb2f=this['_workbookDataCache']['get'](_0x5164e4))==null||_0x5eeb2f[_0x2d691b(0x358)](_0x29eac1,{'workbook':_0x2b9768}),new Promise(_0x4e795e=>{const _0x27cb48=_0x2d691b,_0x141c35=this[_0x27cb48(0x26a)]['getCurrentUnitForType'](_0x73bcf3[_0x27cb48(0x2e8)]['UNIVER_SHEET']);_0x141c35?(this[_0x27cb48(0x26a)][_0x27cb48(0x3b1)](_0x141c35[_0x27cb48(0x2ba)]()),setTimeout(()=>{const _0x33d0dc=_0x27cb48;this['_createUnit'](_0x2b9768,_0x20fe52),this[_0x33d0dc(0x2c0)][_0x33d0dc(0x369)](),_0x4e795e(!0x0);},0x0)):(this[_0x27cb48(0x1c8)](_0x2b9768,_0x20fe52),_0x4e795e(!0x0));});}[_0x130d34(0x1c8)](_0x4c52d6,_0x22f665){const _0x479f13=_0x130d34,_0x10e9d4=this[_0x479f13(0x26a)][_0x479f13(0x19d)](_0x73bcf3['UniverInstanceType'][_0x479f13(0x2c6)],_0x4c52d6);this['_univerInstanceService']['focusUnit'](_0x10e9d4[_0x479f13(0x2ba)]());const _0x31bed8=this[_0x479f13(0x1bc)][_0x479f13(0x1ad)][_0x479f13(0x169)](this[_0x479f13(0x1bc)]['interceptor'][_0x479f13(0x33c)]()[_0x479f13(0x2ab)]);return _0x22f665==null||_0x22f665[_0x479f13(0x1bd)](_0x22c30e=>{const _0x1953d2=_0x479f13,_0x2ea45c=_0x22c30e['mutations'][_0x1953d2(0x28c)](_0x2d312b=>({'id':_0x2d312b['id'],'params':JSON[_0x1953d2(0x1e5)](_0x2d312b[_0x1953d2(0x219)])}));({..._0x22c30e,'mutations':_0x31bed8(_0x2ea45c,null)||_0x2ea45c}[_0x1953d2(0x391)]['forEach'](_0x3c6e3f=>{const _0x56e1d5=_0x1953d2;this[_0x56e1d5(0x3ab)][_0x56e1d5(0x385)](_0x3c6e3f['id'])&&this['_commandService'][_0x56e1d5(0x2fc)](_0x3c6e3f['id'],_0x3c6e3f[_0x56e1d5(0x21c)]);}));}),_0x10e9d4;}};_0x363fc3=_0x591c41([_0x260b32(0x0,_0x29b970[_0x130d34(0x29e)]),_0x260b32(0x1,_0x73bcf3[_0x130d34(0x338)]),_0x260b32(0x2,_0x73bcf3[_0x130d34(0x201)]),_0x260b32(0x3,_0x73bcf3[_0x130d34(0x2c9)]),_0x260b32(0x4,_0x73bcf3[_0x130d34(0x2cb)](_0xacb703[_0x130d34(0x390)])),_0x260b32(0x5,_0x73bcf3[_0x130d34(0x2cb)](_0x29b970[_0x130d34(0x326)])),_0x260b32(0x6,_0x73bcf3[_0x130d34(0x2cb)](_0x16ab78['SheetPermissionInitController']))],_0x363fc3);function _0x5991a3(_0x456858){const _0x2507e7=_0x130d34;var _0xe39db7,_0x4607f1;const _0x3229b3=[],{entities:_0x1ebb17,historyIds:_0x2c8b0a}=_0x456858,{datas:_0x5e8ddc,users:_0x536c6e}=_0x1ebb17;for(const _0x597680 of _0x2c8b0a){const _0x216096=_0x5e8ddc[_0x597680];if(_0x216096){const _0x4c77e0=!!((_0xe39db7=_0x536c6e[_0x216096[_0x2507e7(0x277)]])!=null&&_0xe39db7[_0x2507e7(0x182)]);_0x3229b3['push']({'unitId':_0x216096[_0x2507e7(0x325)],'user':_0x4c77e0?'':((_0x4607f1=_0x536c6e==null?void 0x0:_0x536c6e[_0x216096[_0x2507e7(0x277)]])==null?void 0x0:_0x4607f1[_0x2507e7(0x306)])||'','isAnonymous':_0x4c77e0,'id':_0x597680,'time':_0x216096[_0x2507e7(0x281)]?Number(_0x216096[_0x2507e7(0x281)]):void 0x0,'commands':_0x216096[_0x2507e7(0x2c2)],'startRev':Number(_0x216096['startRevision']),'endRev':Number(_0x216096[_0x2507e7(0x237)]),'recoverTime':_0x216096[_0x2507e7(0x1fd)]?Number(_0x216096[_0x2507e7(0x1fd)]):void 0x0,'additionalFields':_0x216096[_0x2507e7(0x256)]});}}return _0x3229b3;}var _0xb19b30=Object[_0x130d34(0x183)],_0xd2f5c0=(_0x351853,_0xbe2cbf,_0x721f8f,_0x2811a1)=>{const _0x2a005b=_0x130d34;for(var _0x4cf5fe=_0x2811a1>0x1?void 0x0:_0x2811a1?_0xb19b30(_0xbe2cbf,_0x721f8f):_0xbe2cbf,_0x29aa1a=_0x351853[_0x2a005b(0x362)]-0x1,_0x359bbb;_0x29aa1a>=0x0;_0x29aa1a--)(_0x359bbb=_0x351853[_0x29aa1a])&&(_0x4cf5fe=_0x359bbb(_0x4cf5fe)||_0x4cf5fe);return _0x4cf5fe;},_0x47867e=(_0x4ddc04,_0x56cf5f)=>(_0x430959,_0x4a6d30)=>_0x56cf5f(_0x430959,_0x4a6d30,_0x4ddc04),_0x1ac100=(_0x3a7c12=>(_0x3a7c12[_0x130d34(0x1ec)]=_0x130d34(0x22d),_0x3a7c12[_0x130d34(0x255)]='exited',_0x3a7c12[_0x130d34(0x3b7)]=_0x130d34(0x200),_0x3a7c12))(_0x1ac100||{}),_0x4769d0=(_0x473fa1=>(_0x473fa1[_0x130d34(0x28f)]=_0x130d34(0x239),_0x473fa1[_0x130d34(0x345)]=_0x130d34(0x1a7),_0x473fa1[_0x130d34(0x1dc)]=_0x130d34(0x1f6),_0x473fa1))(_0x4769d0||{});const _0x19bd97=_0x130d34(0x221);_0x20aa8c['HistoryManagerService']=class extends _0x73bcf3[_0x130d34(0x1a3)]{constructor(_0x36e7a9,_0x21f7d0,_0x26a4dc,_0x4cd3d9){const _0x5e6e73=_0x130d34;super(),_0x2535ac(this,'_versions$',new _0x554309['BehaviorSubject']([])),_0x2535ac(this,'versions$',this[_0x5e6e73(0x1d8)][_0x5e6e73(0x1e6)]()),_0x2535ac(this,_0x5e6e73(0x39d),new _0x554309['BehaviorSubject']('')),_0x2535ac(this,'currentVersion$',this[_0x5e6e73(0x39d)]['asObservable']()),_0x2535ac(this,_0x5e6e73(0x205),new _0x554309[(_0x5e6e73(0x39b))](_0x5e6e73(0x22d))),_0x2535ac(this,_0x5e6e73(0x2fb),this[_0x5e6e73(0x205)][_0x5e6e73(0x1e6)]()),_0x2535ac(this,_0x5e6e73(0x274),new _0x554309[(_0x5e6e73(0x39b))](0x0)),_0x2535ac(this,_0x5e6e73(0x346),this[_0x5e6e73(0x274)][_0x5e6e73(0x1e6)]()),_0x2535ac(this,_0x5e6e73(0x248),new _0x554309['BehaviorSubject']('')),_0x2535ac(this,_0x5e6e73(0x19b),this[_0x5e6e73(0x248)][_0x5e6e73(0x1e6)]()),_0x2535ac(this,_0x5e6e73(0x18e),new _0x554309[(_0x5e6e73(0x39b))](!0x1)),_0x2535ac(this,_0x5e6e73(0x242),this[_0x5e6e73(0x18e)][_0x5e6e73(0x1e6)]()),_0x2535ac(this,_0x5e6e73(0x2da),new _0x554309['BehaviorSubject']([])),_0x2535ac(this,_0x5e6e73(0x2b3),this[_0x5e6e73(0x2da)]['asObservable']()),_0x2535ac(this,_0x5e6e73(0x3a2),new _0x554309['BehaviorSubject'](_0x5e6e73(0x239))),_0x2535ac(this,_0x5e6e73(0x331),this[_0x5e6e73(0x3a2)][_0x5e6e73(0x1e6)]()),_0x2535ac(this,_0x5e6e73(0x26f),null),_0x2535ac(this,_0x5e6e73(0x21e),!0x0),_0x2535ac(this,'_members',new Map()),_0x2535ac(this,_0x5e6e73(0x206)),_0x2535ac(this,'_maskContainer'),_0x2535ac(this,_0x5e6e73(0x216)),_0x2535ac(this,'_canRevert',!0x1),_0x2535ac(this,_0x5e6e73(0x254),null),(this[_0x5e6e73(0x1e2)]=_0x36e7a9,this[_0x5e6e73(0x213)]=_0x21f7d0,this[_0x5e6e73(0x3a9)]=_0x26a4dc,this[_0x5e6e73(0x39e)]=_0x4cd3d9);}[_0x130d34(0x180)](_0x4aa0c3){const _0x38ee25=_0x130d34;this[_0x38ee25(0x18e)][_0x38ee25(0x2fa)](_0x4aa0c3);}get[_0x130d34(0x195)](){const _0x34d61e=_0x130d34;return this[_0x34d61e(0x18e)]['value'];}async[_0x130d34(0x2cc)](_0x17f496,_0x1d6070,_0x354022){const _0x1275c4=_0x130d34;this[_0x1275c4(0x206)]=_0x1d6070,this[_0x1275c4(0x227)]=_0x354022,await this[_0x1275c4(0x2d8)](_0x17f496);}async[_0x130d34(0x2d8)](_0x19520f,_0x26e11d){const _0xbbeaf5=_0x130d34;this['_unitId$'][_0xbbeaf5(0x2fa)](_0x19520f),this[_0xbbeaf5(0x254)]=_0x26e11d!=null?_0x26e11d:null,this[_0xbbeaf5(0x180)](!0x0);const _0x17694a=await this[_0xbbeaf5(0x39e)][_0xbbeaf5(0x18d)](_0x19520f,_0x26e11d);if(this['_setFetching'](!0x1),_0x17694a){const {versions:_0x46b70b,lastLabel:_0x48197,hasMore:_0x1fc073,members:_0x1675f5}=_0x17694a;_0x46b70b[_0xbbeaf5(0x362)]===0x0&&_0x46b70b[_0xbbeaf5(0x2cf)]({'unitId':_0x19520f,'id':_0x19bd97,'startRev':0x1,'endRev':0x0,'time':Date[_0xbbeaf5(0x18f)](),'user':this[_0xbbeaf5(0x3a9)]['t'](_0xbbeaf5(0x382)),'commands':[],'isAnonymous':!0x1}),this[_0xbbeaf5(0x337)](_0x46b70b,_0x1fc073,_0x48197,!0x1,_0x1675f5),this['_currentVersion$'][_0xbbeaf5(0x2fa)](_0x46b70b[0x0]['id']);}else this['_status$'][_0xbbeaf5(0x2fa)](_0xbbeaf5(0x200));}async[_0x130d34(0x334)](){const _0x1a5153=_0x130d34;if(!this[_0x1a5153(0x26f)]||!this[_0x1a5153(0x21e)]||this[_0x1a5153(0x195)])return!0x1;this[_0x1a5153(0x180)](!0x0);const _0x23acc1=await this[_0x1a5153(0x39e)][_0x1a5153(0x18d)](this[_0x1a5153(0x325)],{'lastLabel':this[_0x1a5153(0x26f)],...this[_0x1a5153(0x254)]});if(this[_0x1a5153(0x180)](!0x1),_0x23acc1){const {versions:_0x55482e,lastLabel:_0x45b883,hasMore:_0x2b38ee,members:_0xd2575d}=_0x23acc1;this[_0x1a5153(0x337)](_0x55482e,_0x2b38ee,_0x45b883,!0x0,_0xd2575d);}else this['_messageService'][_0x1a5153(0x1a8)]({'content':this[_0x1a5153(0x3a9)]['t'](_0x1a5153(0x23c)),'type':_0x24ab40['MessageType'][_0x1a5153(0x3b7)],'duration':0xbb8});return!0x0;}async['loadHistoryCreatorList'](){const _0x4867aa=_0x130d34,{unitId:_0x35d997}=this;if(!_0x35d997)return;const _0x2b4df2=await this[_0x4867aa(0x39e)]['fetchCreatorList'](_0x35d997);_0x2b4df2&&this[_0x4867aa(0x2da)]['next'](_0x2b4df2);}async[_0x130d34(0x19c)](_0x963360){const _0x46e1a3=_0x130d34;var _0x2a2007;const _0x2063a2=(_0x2a2007=this[_0x46e1a3(0x1d8)][_0x46e1a3(0x282)])==null?void 0x0:_0x2a2007[_0x46e1a3(0x289)](_0x55cb15=>_0x55cb15['id']===_0x963360),{endRev:_0x2aad05}=_0x2063a2||{};_0x2aad05||_0x2aad05===0x0?(this[_0x46e1a3(0x3a2)][_0x46e1a3(0x2fa)]('loading'),await this['_historyFetchService'][_0x46e1a3(0x1e7)](this['unitId'],_0x2aad05),this[_0x46e1a3(0x3a2)]['next'](_0x46e1a3(0x1f6))):this[_0x46e1a3(0x205)]['next'](_0x46e1a3(0x200));}async['triggerRevert'](_0x5aefc6){const _0x17ab65=_0x130d34,_0x210127=_0x5aefc6?this[_0x17ab65(0x377)](_0x5aefc6):this[_0x17ab65(0x189)]();if(!_0x210127)return;const _0x3b38a1=_0x210127[_0x17ab65(0x16c)],_0x10934e=_0x354256(_0x210127[_0x17ab65(0x301)],this['_localeService'][_0x17ab65(0x21d)]());await this[_0x17ab65(0x213)]['confirm']({'id':_0x17ab65(0x253),'title':{'title':this['_localeService']['t'](_0x17ab65(0x20d))},'children':{'title':this[_0x17ab65(0x3a9)]['t'](_0x17ab65(0x228))+_0x17ab65(0x37f)+_0x10934e[_0x17ab65(0x1e0)]+'\x20'+_0x10934e['time']+')'},'cancelText':this[_0x17ab65(0x3a9)]['t']('editHistory.panel.cancel'),'confirmText':this['_localeService']['t'](_0x17ab65(0x2a9))})&&this[_0x17ab65(0x274)][_0x17ab65(0x2fa)](_0x3b38a1);}[_0x130d34(0x337)](_0x44032a,_0x4020be,_0x473217,_0xcb599,_0x54890e){const _0x46fbee=_0x130d34;this['_setVersions'](_0xcb599?this['_versions$'][_0x46fbee(0x282)][_0x46fbee(0x285)](_0x44032a):_0x44032a),this[_0x46fbee(0x21e)]=_0x4020be,this[_0x46fbee(0x26f)]=_0x473217,_0x54890e&&Object['keys'](_0x54890e)['forEach'](_0x4f8807=>this['_members'][_0x46fbee(0x358)](_0x4f8807,_0x54890e[_0x4f8807]));}['getCurrentVersion'](){const _0x407e4a=_0x130d34;return this['getVersion'](this[_0x407e4a(0x39d)][_0x407e4a(0x282)]);}[_0x130d34(0x290)](_0x3e5170){const _0x5c65ea=_0x130d34;this[_0x5c65ea(0x1d8)]['next'](_0x3e5170);}[_0x130d34(0x377)](_0x3f8e85){const _0x2b7ac6=_0x130d34;var _0x14a3a4;return(_0x14a3a4=this[_0x2b7ac6(0x1d8)]['value'])==null?void 0x0:_0x14a3a4[_0x2b7ac6(0x289)](_0x3251f5=>_0x3251f5['id']===_0x3f8e85);}['getMember'](_0x14dfdb){const _0x307faa=_0x130d34;return this[_0x307faa(0x395)][_0x307faa(0x367)](_0x14dfdb);}[_0x130d34(0x265)](){const _0x138850=_0x130d34;this[_0x138850(0x216)]=document[_0x138850(0x244)]('div'),this[_0x138850(0x216)][_0x138850(0x1a1)]=_0x138850(0x2b7),this['_maskElement']['style']['position']='absolute',this['_maskElement'][_0x138850(0x1c1)][_0x138850(0x173)]='0',this['_maskElement'][_0x138850(0x1c1)][_0x138850(0x243)]='0',this[_0x138850(0x216)][_0x138850(0x1c1)][_0x138850(0x341)]=_0x138850(0x392),this['_maskElement']['style']['height']=_0x138850(0x392),this['_maskElement'][_0x138850(0x1c1)][_0x138850(0x1e9)]=_0x138850(0x1ed),this[_0x138850(0x216)][_0x138850(0x1c1)][_0x138850(0x193)]=_0x138850(0x2e4),this[_0x138850(0x216)][_0x138850(0x1c1)]['display']=_0x138850(0x2fe),this[_0x138850(0x216)][_0x138850(0x1c1)][_0x138850(0x1ee)]=_0x138850(0x287),this[_0x138850(0x216)][_0x138850(0x1c1)][_0x138850(0x230)]='1000',this['_maskElement']['style'][_0x138850(0x2b5)]=_0x138850(0x175),this[_0x138850(0x2db)]['append'](this[_0x138850(0x216)]);}['_initMaskContainer'](){const _0x5a67c1=_0x130d34;var _0x147826;const _0x293a44=(_0x147826=document[_0x5a67c1(0x191)](this[_0x5a67c1(0x206)]))==null?void 0x0:_0x147826['querySelector']('.univer-app-container-content');_0x293a44&&(this[_0x5a67c1(0x2db)]=_0x293a44,this[_0x5a67c1(0x265)]());}[_0x130d34(0x359)](){const _0x471cb3=_0x130d34;this['_maskContainer']||this['_initMaskContainer'](),this[_0x471cb3(0x216)]&&(this[_0x471cb3(0x216)]['style'][_0x471cb3(0x2b5)]='flex');}[_0x130d34(0x2a8)](){const _0x1e1591=_0x130d34;this['_maskElement']&&(this['_maskElement']['style'][_0x1e1591(0x2b5)]='none');}set[_0x130d34(0x2b0)](_0x35cac3){const _0x13913c=_0x130d34;this[_0x13913c(0x205)][_0x13913c(0x2fa)](_0x35cac3);}set['currentVersion'](_0x5f12c2){const _0x45da5f=_0x130d34;_0x5f12c2!==this[_0x45da5f(0x39d)][_0x45da5f(0x282)]&&this['_currentVersion$'][_0x45da5f(0x2fa)](_0x5f12c2);}get[_0x130d34(0x31a)](){const _0x511736=_0x130d34;return this[_0x511736(0x39d)]['value'];}set[_0x130d34(0x325)](_0x485695){const _0x4f2f9b=_0x130d34;this[_0x4f2f9b(0x248)][_0x4f2f9b(0x2fa)](_0x485695);}get['unitId'](){const _0x41afd0=_0x130d34;return this[_0x41afd0(0x248)][_0x41afd0(0x282)];}get[_0x130d34(0x1f0)](){const _0x45608e=_0x130d34;return this[_0x45608e(0x227)];}get[_0x130d34(0x317)](){const _0x3aa4cd=_0x130d34;return this[_0x3aa4cd(0x3a2)][_0x3aa4cd(0x282)];}},_0x20aa8c[_0x130d34(0x15a)]=_0xd2f5c0([_0x47867e(0x0,_0x57351a[_0x130d34(0x38e)]),_0x47867e(0x1,_0x57351a[_0x130d34(0x32a)]),_0x47867e(0x2,_0x73bcf3['Inject'](_0x73bcf3[_0x130d34(0x31f)])),_0x47867e(0x3,_0x73bcf3['Inject'](_0x363fc3))],_0x20aa8c[_0x130d34(0x15a)]);function _0x1bed95({ref:_0x25b247,..._0x178959}){const _0x9281db=_0x130d34,{icon:_0x282911,id:_0x28ea31,className:_0x4e8d6a,extend:_0x127c5d,..._0x3fca32}=_0x178959,_0x1c70e4=('univerjs-icon\x20univerjs-icon-'+_0x28ea31+'\x20'+(_0x4e8d6a||''))[_0x9281db(0x194)](),_0x1b0d16=_0x2791a6['useRef']('_'+_0x24de58());return _0x521eaa(_0x282911,''+_0x28ea31,{'defIds':_0x282911[_0x9281db(0x3a3)],'idSuffix':_0x1b0d16['current']},{'ref':_0x25b247,'className':_0x1c70e4,..._0x3fca32},_0x127c5d);}function _0x521eaa(_0x3b44a9,_0x4354ed,_0xcb1eb4,_0x284e86,_0x365064){const _0x10b09a=_0x130d34;return _0x2791a6['createElement'](_0x3b44a9[_0x10b09a(0x3a4)],{'key':_0x4354ed,..._0x14c696(_0x3b44a9,_0xcb1eb4,_0x365064),..._0x284e86},(_0x24718d(_0x3b44a9,_0xcb1eb4)[_0x10b09a(0x34d)]||[])['map']((_0x579f93,_0x3b1717)=>_0x521eaa(_0x579f93,_0x4354ed+'-'+_0x3b44a9[_0x10b09a(0x3a4)]+'-'+_0x3b1717,_0xcb1eb4,void 0x0,_0x365064)));}function _0x14c696(_0x88c9da,_0x2f40d5,_0x17a59d){const _0x311ad6=_0x130d34,_0x5974ec={..._0x88c9da['attrs']};_0x17a59d!=null&&_0x17a59d[_0x311ad6(0x1d6)]&&_0x5974ec[_0x311ad6(0x276)]===_0x311ad6(0x1d6)&&(_0x5974ec[_0x311ad6(0x276)]=_0x17a59d[_0x311ad6(0x1d6)]),_0x88c9da['tag']===_0x311ad6(0x2df)&&_0x5974ec['id']&&(_0x5974ec['id']=_0x5974ec['id']+_0x2f40d5[_0x311ad6(0x16f)]),Object[_0x311ad6(0x1fc)](_0x5974ec)[_0x311ad6(0x1bd)](([_0x204a9c,_0x6e408d])=>{const _0x25b3fa=_0x311ad6;_0x204a9c===_0x25b3fa(0x2df)&&typeof _0x6e408d=='string'&&(_0x5974ec[_0x204a9c]=_0x6e408d[_0x25b3fa(0x250)](/url\(#(.*)\)/,_0x25b3fa(0x1fb)+_0x2f40d5[_0x25b3fa(0x16f)]+')'));});const {defIds:_0x35412d}=_0x2f40d5;return!_0x35412d||_0x35412d[_0x311ad6(0x362)]===0x0||(_0x88c9da[_0x311ad6(0x3a4)]===_0x311ad6(0x1ab)&&_0x5974ec[_0x311ad6(0x300)]&&(_0x5974ec[_0x311ad6(0x300)]=_0x5974ec['xlink:href']+_0x2f40d5['idSuffix']),Object[_0x311ad6(0x1fc)](_0x5974ec)['forEach'](([_0x51338e,_0x18558a])=>{const _0x1d6341=_0x311ad6;typeof _0x18558a==_0x1d6341(0x1e8)&&(_0x5974ec[_0x51338e]=_0x18558a[_0x1d6341(0x250)](/url\(#(.*)\)/,'url(#$1'+_0x2f40d5['idSuffix']+')'));})),_0x5974ec;}function _0x24718d(_0x59e37c,_0x3d9961){const _0x278e52=_0x130d34;var _0x37f546;const {defIds:_0x245b69}=_0x3d9961;return!_0x245b69||_0x245b69[_0x278e52(0x362)]===0x0?_0x59e37c:_0x59e37c[_0x278e52(0x3a4)]===_0x278e52(0x27b)&&((_0x37f546=_0x59e37c[_0x278e52(0x34d)])!=null&&_0x37f546[_0x278e52(0x362)])?{..._0x59e37c,'children':_0x59e37c['children'][_0x278e52(0x28c)](_0x202805=>typeof _0x202805['attrs']['id']==_0x278e52(0x1e8)&&_0x245b69&&_0x245b69['includes'](_0x202805[_0x278e52(0x1d2)]['id'])?{..._0x202805,'attrs':{..._0x202805['attrs'],'id':_0x202805[_0x278e52(0x1d2)]['id']+_0x3d9961['idSuffix']}}:_0x202805)}:_0x59e37c;}function _0x24de58(){const _0x109ea4=_0x130d34;return Math[_0x109ea4(0x2c4)]()[_0x109ea4(0x36a)](0x24)[_0x109ea4(0x29b)](0x2,0x8);}_0x1bed95[_0x130d34(0x1e4)]=_0x130d34(0x3b4);const _0x5dc425={'tag':_0x130d34(0x231),'attrs':{'xmlns':_0x130d34(0x30b),'fill':'none','viewBox':_0x130d34(0x339),'width':_0x130d34(0x245),'height':_0x130d34(0x245)},'children':[{'tag':_0x130d34(0x1b9),'attrs':{'fill':_0x130d34(0x1af),'d':'M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z'}}]},_0x29bf0e=_0x2791a6[_0x130d34(0x20e)](function(_0x4226e4,_0x2ff0bc){const _0x1c7508=_0x130d34;return _0x2791a6[_0x1c7508(0x244)](_0x1bed95,Object[_0x1c7508(0x225)]({},_0x4226e4,{'id':_0x1c7508(0x17b),'ref':_0x2ff0bc,'icon':_0x5dc425}));});_0x29bf0e[_0x130d34(0x1e4)]=_0x130d34(0x30d);const _0x49f2e8={'tag':_0x130d34(0x231),'attrs':{'xmlns':_0x130d34(0x30b),'fill':_0x130d34(0x175),'viewBox':'0\x200\x2016\x2017','width':'1em','height':_0x130d34(0x245)},'children':[{'tag':'g','attrs':{'fill':_0x130d34(0x1af),'clipPath':_0x130d34(0x18b)},'children':[{'tag':'path','attrs':{'d':_0x130d34(0x179)}},{'tag':'path','attrs':{'d':_0x130d34(0x2a4),'fillRule':_0x130d34(0x17d),'clipRule':_0x130d34(0x17d)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x130d34(0x272),'attrs':{'id':_0x130d34(0x234)},'children':[{'tag':_0x130d34(0x268),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x130d34(0x2e4),'rx':0x4}}]}]}],'defIds':[_0x130d34(0x234)]},_0x2532e4=_0x2791a6['forwardRef'](function(_0x2fd1b5,_0x1b1aa1){const _0x2460c2=_0x130d34;return _0x2791a6[_0x2460c2(0x244)](_0x1bed95,Object[_0x2460c2(0x225)]({},_0x2fd1b5,{'id':'restore-icon','ref':_0x1b1aa1,'icon':_0x49f2e8}));});_0x2532e4[_0x130d34(0x1e4)]='RestoreIcon';const _0x93d42d={'tag':_0x130d34(0x231),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x130d34(0x175),'viewBox':_0x130d34(0x339),'width':_0x130d34(0x245),'height':_0x130d34(0x245)},'children':[{'tag':_0x130d34(0x1b9),'attrs':{'fill':_0x130d34(0x23a),'d':_0x130d34(0x2de),'fillOpacity':0.2,'fillRule':_0x130d34(0x17d),'clipRule':_0x130d34(0x17d)}},{'tag':'path','attrs':{'fill':_0x130d34(0x23a),'d':_0x130d34(0x38f),'fillRule':_0x130d34(0x17d),'clipRule':_0x130d34(0x17d)}}]},_0x2ead1c=_0x2791a6['forwardRef'](function(_0x593c7a,_0x145e3f){const _0x14a590=_0x130d34;return _0x2791a6[_0x14a590(0x244)](_0x1bed95,Object[_0x14a590(0x225)]({},_0x593c7a,{'id':_0x14a590(0x1c6),'ref':_0x145e3f,'icon':_0x93d42d}));});_0x2ead1c[_0x130d34(0x1e4)]=_0x130d34(0x279);function _0x2afe50(){const _0x4a1575=_0x130d34;var _0x30c792;const _0x16e8a8=_0x57351a[_0x4a1575(0x3a0)](_0x20aa8c[_0x4a1575(0x15a)]),_0x195c71=_0x57351a[_0x4a1575(0x3a0)](_0x73bcf3[_0x4a1575(0x31f)]),_0x2af9ac=_0x2791a6[_0x4a1575(0x15e)](()=>{const _0x3d3adf=_0x4a1575;_0x16e8a8['status']=_0x1ac100[_0x3d3adf(0x255)];},[_0x16e8a8]),_0x3eaae7=_0x2791a6[_0x4a1575(0x15e)](()=>{const _0x54d2ae=_0x4a1575;_0x16e8a8[_0x54d2ae(0x15f)]();},[_0x16e8a8]),_0x397469=_0x57351a[_0x4a1575(0x355)](_0x16e8a8[_0x4a1575(0x343)]),_0x4d6628=_0x57351a['useObservable'](_0x16e8a8[_0x4a1575(0x1eb)]),_0x654d83=_0x397469===((_0x30c792=_0x4d6628==null?void 0x0:_0x4d6628[0x0])==null?void 0x0:_0x30c792['id']),_0x315216=_0x397469!==''&&!_0x654d83&&_0x16e8a8[_0x4a1575(0x1f0)];return _0x3057db[_0x4a1575(0x2e5)](_0x4a1575(0x1d1),{'className':_0x24ab40[_0x4a1575(0x1ca)](_0x4a1575(0x222),_0x24ab40['borderBottomClassName']),'children':[_0x3057db[_0x4a1575(0x2d7)]('a',{'className':_0x4a1575(0x1ef),'role':_0x4a1575(0x3a6),'onClick':_0x2af9ac,'children':_0x3057db[_0x4a1575(0x2d7)](_0x29bf0e,{'className':_0x4a1575(0x23f)})}),_0x3057db[_0x4a1575(0x2d7)](_0x4a1575(0x1d1),{'className':_0x4a1575(0x167),'children':_0x315216&&_0x3057db[_0x4a1575(0x2d7)](_0x24ab40['Button'],{'variant':_0x4a1575(0x37a),'onClick':_0x3eaae7,'children':_0x195c71['t'](_0x4a1575(0x184))})})]});}var _0x368e3f=Object[_0x130d34(0x183)],_0x4b905b=(_0x476d74,_0x21bd0f,_0x1eaf6a,_0x20ba85)=>{const _0x10a78c=_0x130d34;for(var _0x2f374a=_0x20ba85>0x1?void 0x0:_0x20ba85?_0x368e3f(_0x21bd0f,_0x1eaf6a):_0x21bd0f,_0x141530=_0x476d74[_0x10a78c(0x362)]-0x1,_0x13260b;_0x141530>=0x0;_0x141530--)(_0x13260b=_0x476d74[_0x141530])&&(_0x2f374a=_0x13260b(_0x2f374a)||_0x2f374a);return _0x2f374a;},_0x25ba2c=(_0x15d14f,_0xcbc5c9)=>(_0x19b592,_0x239d74)=>_0xcbc5c9(_0x19b592,_0x239d74,_0x15d14f);let _0xea3ff1=class extends _0x73bcf3[_0x130d34(0x1a3)]{constructor(_0x3b07f7,_0x2abbfd,_0x53983f,_0x2393b1,_0x465c43,_0x22b512){const _0x69fac0=_0x130d34;super(),this['_permissionService']=_0x3b07f7,this[_0x69fac0(0x2f8)]=_0x2abbfd,this[_0x69fac0(0x1e2)]=_0x53983f,this['_localeService']=_0x2393b1,this[_0x69fac0(0x39c)]=_0x465c43,this['_injector']=_0x22b512,this[_0x69fac0(0x349)]();}[_0x130d34(0x349)](){const _0x5c6132=_0x130d34;this[_0x5c6132(0x352)](this[_0x5c6132(0x39c)][_0x5c6132(0x343)][_0x5c6132(0x33b)](_0x501cc4=>{const _0x2faeba=_0x5c6132;_0x501cc4&&this[_0x2faeba(0x39c)][_0x2faeba(0x19c)](_0x501cc4);})),this[_0x5c6132(0x352)](this[_0x5c6132(0x1b3)]['permissionPointUpdate$'][_0x5c6132(0x33b)](_0x2e34f7=>{const _0xcada4c=_0x5c6132,_0x6706bd=this[_0xcada4c(0x39c)][_0xcada4c(0x325)];_0x6706bd&&(_0x2e34f7['subType']===_0x45af36[_0xcada4c(0x1f5)]&&_0x2e34f7[_0xcada4c(0x282)]===!0x0&&this[_0xcada4c(0x1b3)][_0xcada4c(0x28e)](new _0x16ab78[(_0xcada4c(0x398))](_0x6706bd)['id'],!0x1),_0x2e34f7[_0xcada4c(0x2e9)]===_0x45af36['RenameSheet']&&_0x2e34f7[_0xcada4c(0x282)]===!0x0&&this[_0xcada4c(0x1b3)][_0xcada4c(0x28e)](new _0x16ab78[(_0xcada4c(0x32b))](_0x6706bd)['id'],!0x1),_0x2e34f7['subType']===_0x45af36[_0xcada4c(0x284)]&&_0x2e34f7['value']===!0x0&&this[_0xcada4c(0x1b3)][_0xcada4c(0x28e)](new _0x16ab78[(_0xcada4c(0x302))](_0x6706bd)['id'],!0x1),_0x2e34f7[_0xcada4c(0x2e9)]===_0x45af36[_0xcada4c(0x2e0)]&&_0x2e34f7[_0xcada4c(0x282)]===!0x0&&this[_0xcada4c(0x1b3)][_0xcada4c(0x28e)](new _0x16ab78[(_0xcada4c(0x28a))](_0x6706bd)['id'],!0x1),_0x2e34f7[_0xcada4c(0x2e9)]===_0x45af36['Comment']&&_0x2e34f7[_0xcada4c(0x282)]===!0x0&&this[_0xcada4c(0x1b3)]['updatePermissionPoint'](new _0x16ab78['WorkbookEditablePermission'](_0x6706bd)['id'],!0x1),_0x2e34f7[_0xcada4c(0x2e9)]===_0x45af36[_0xcada4c(0x2bc)]&&_0x2e34f7[_0xcada4c(0x282)]===!0x0&&this[_0xcada4c(0x1b3)][_0xcada4c(0x28e)](new _0x16ab78[(_0xcada4c(0x398))](_0x6706bd)['id'],!0x1));})),this[_0x5c6132(0x352)](this[_0x5c6132(0x2f8)][_0x5c6132(0x1e1)](_0x57351a[_0x5c6132(0x17e)][_0x5c6132(0x177)],()=>_0x57351a[_0x5c6132(0x316)](_0x2afe50,this[_0x5c6132(0x235)])));let _0x4205a1;this['disposeWithMe'](this[_0x5c6132(0x39c)][_0x5c6132(0x331)]['subscribe'](_0x34f41a=>{const _0x2133c2=_0x5c6132;_0x4205a1==null||_0x4205a1['dispose'](),_0x34f41a===_0x4769d0[_0x2133c2(0x345)]&&(this['_historyManagerService'][_0x2133c2(0x359)](),_0x4205a1=this[_0x2133c2(0x1e2)][_0x2133c2(0x1a8)]({'type':_0x24ab40[_0x2133c2(0x33a)]['Info'],'content':this[_0x2133c2(0x3a9)]['t'](_0x2133c2(0x384))})),_0x34f41a===_0x4769d0[_0x2133c2(0x1dc)]&&this['_historyManagerService'][_0x2133c2(0x2a8)]();}));}};_0xea3ff1=_0x4b905b([_0x25ba2c(0x0,_0x73bcf3[_0x130d34(0x1f7)]),_0x25ba2c(0x1,_0x57351a[_0x130d34(0x1f4)]),_0x25ba2c(0x2,_0x57351a[_0x130d34(0x38e)]),_0x25ba2c(0x3,_0x73bcf3[_0x130d34(0x2cb)](_0x73bcf3[_0x130d34(0x31f)])),_0x25ba2c(0x4,_0x73bcf3[_0x130d34(0x2cb)](_0x20aa8c['HistoryManagerService'])),_0x25ba2c(0x5,_0x73bcf3[_0x130d34(0x2cb)](_0x73bcf3[_0x130d34(0x31d)]))],_0xea3ff1);var _0x2c876f=Object[_0x130d34(0x183)],_0x4f0a02=(_0x4ea33f,_0x318dd0,_0x1f16f4,_0x3eff7f)=>{for(var _0x5cdc8b=_0x3eff7f>0x1?void 0x0:_0x3eff7f?_0x2c876f(_0x318dd0,_0x1f16f4):_0x318dd0,_0x2dfd55=_0x4ea33f['length']-0x1,_0x3c121c;_0x2dfd55>=0x0;_0x2dfd55--)(_0x3c121c=_0x4ea33f[_0x2dfd55])&&(_0x5cdc8b=_0x3c121c(_0x5cdc8b)||_0x5cdc8b);return _0x5cdc8b;},_0x92929=(_0x3d25dd,_0x93d4b7)=>(_0x2a0a83,_0x110a14)=>_0x93d4b7(_0x2a0a83,_0x110a14,_0x3d25dd);let _0x43d3f3=class extends _0x73bcf3[_0x130d34(0x1a3)]{constructor(_0x3baa29,_0x3008fe,_0xe1ac28){const _0x19458c=_0x130d34;super(),_0x2535ac(this,_0x19458c(0x2f2),new Map()),_0x2535ac(this,_0x19458c(0x38c),new _0x554309[(_0x19458c(0x39b))]({'ranges':new Map(),'active':null})),_0x2535ac(this,_0x19458c(0x197),this[_0x19458c(0x38c)][_0x19458c(0x1e6)]()),(this[_0x19458c(0x39c)]=_0x3baa29,this[_0x19458c(0x397)]=_0x3008fe,this[_0x19458c(0x1b0)]=_0xe1ac28,this[_0x19458c(0x349)]());}[_0x130d34(0x349)](){const _0x5186be=_0x130d34;this[_0x5186be(0x2f2)]=new Map(),this[_0x5186be(0x352)](this[_0x5186be(0x39c)]['unitId$'][_0x5186be(0x33b)](_0x24a552=>{const _0x1ae62b=_0x5186be;_0x24a552&&!this[_0x1ae62b(0x2f2)][_0x1ae62b(0x19e)](_0x24a552)&&this['_diffRangesMap']['set'](_0x24a552,new Map());})),this[_0x5186be(0x352)](this['_historyManagerService'][_0x5186be(0x343)][_0x5186be(0x33b)](async _0x1a46ca=>{const _0x3eaeb1=_0x5186be;var _0x598b50;_0x1a46ca&&(await this[_0x3eaeb1(0x25f)](_0x1a46ca),this[_0x3eaeb1(0x38c)][_0x3eaeb1(0x2fa)](((_0x598b50=this[_0x3eaeb1(0x2f2)][_0x3eaeb1(0x367)](this[_0x3eaeb1(0x39c)][_0x3eaeb1(0x325)]))==null?void 0x0:_0x598b50[_0x3eaeb1(0x367)](_0x1a46ca))||{'ranges':new Map(),'active':null}));}));}async[_0x130d34(0x25f)](_0xd8258a){const _0xd12685=_0x130d34;var _0x2348aa,_0x4291b6;const _0x42e2ad=this[_0xd12685(0x39c)][_0xd12685(0x377)](_0xd8258a),_0x2c3058=this[_0xd12685(0x39c)][_0xd12685(0x325)];if(!_0x42e2ad||!_0x2c3058)return;const _0x5e6b1a=this[_0xd12685(0x2f2)][_0xd12685(0x367)](_0x2c3058);if(_0x5e6b1a||this[_0xd12685(0x2f2)][_0xd12685(0x358)](_0x2c3058,new Map()),(_0x2348aa=this[_0xd12685(0x2f2)]['get'](_0x2c3058))!=null&&_0x2348aa[_0xd12685(0x19e)](_0x42e2ad['id']))return;const {startRev:_0x10a1b3,endRev:_0x3514c4}=_0x42e2ad;if(_0x10a1b3===0x1){_0x5e6b1a[_0xd12685(0x358)](_0x42e2ad['id'],{'ranges':new Map(),'active':null});return;}const _0x168a1c=_0x10a1b3-0x1,_0x484796=_0x3514c4,_0xcec82b=await this['_snapshotServerService'][_0xd12685(0x1b7)]({},{'unitID':_0x2c3058,'from':_0x168a1c,'to':_0x484796,'type':_0xc35890[_0xd12685(0x2c6)]});if(((_0x4291b6=_0xcec82b['error'])==null?void 0x0:_0x4291b6[_0xd12685(0x2b9)])===_0x3934d3['OK']){const _0x369b5c=_0xcec82b['changesets'][_0xd12685(0x28c)](_0x5b46c7=>((_0x5b46c7['mutations']===null||_0x5b46c7[_0xd12685(0x391)]===void 0x0)&&(_0x5b46c7[_0xd12685(0x391)]=[]),_0x29b970[_0xd12685(0x1ce)](_0x5b46c7)))[_0xd12685(0x28c)](_0x16ca62=>_0x16ca62[_0xd12685(0x391)]['map'](_0x4bb9a6=>({..._0x4bb9a6,'params':{..._0x4bb9a6[_0xd12685(0x21c)],'memberId':_0x16ca62[_0xd12685(0x257)]}})))[_0xd12685(0x207)](),_0xdbeda5=this[_0xd12685(0x2d5)](_0x369b5c),_0x344c40=this[_0xd12685(0x23b)](_0x369b5c),_0x1140e1=this[_0xd12685(0x15d)](_0xdbeda5);_0x5e6b1a[_0xd12685(0x358)](_0x42e2ad['id'],{'ranges':_0x1140e1,'active':_0x344c40});}}[_0x130d34(0x2d5)](_0x5d9d9d){const _0x526f58=_0x130d34;let _0x53e5ce=[];for(let _0x228cb2=0x0;_0x228cb2<_0x5d9d9d[_0x526f58(0x362)];_0x228cb2++){const _0x4d381d=_0x5d9d9d[_0x228cb2];if(_0x53e5ce['push'](_0x4d381d),_0x228cb2!==_0x5d9d9d[_0x526f58(0x362)]-0x1){const _0x53a51e=_0x5d9d9d[_0x228cb2+0x1],_0x30c0f7=this[_0x526f58(0x397)][_0x526f58(0x371)](_0x53e5ce,[_0x53a51e]);_0x29b970[_0x526f58(0x38b)](_0x30c0f7)?_0x53e5ce=_0x30c0f7[_0x526f58(0x1be)]:_0x53e5ce=[];}}return _0x53e5ce;}[_0x130d34(0x23b)](_0x53671f){const _0x40a105=_0x130d34;let _0x1b55c4=[];return _0x53671f['forEach'](_0x340f95=>{const _0x4f492d=_0x26a8;if(_0x340f95['id']===_0x16ab78[_0x4f492d(0x1c4)]['id']){const _0x1846ff=_0x340f95['params'];_0x1b55c4[_0x4f492d(0x2cf)](_0x1846ff['sheet']['id']);}else{if(_0x340f95['id']===_0x16ab78[_0x4f492d(0x393)]['id']){const _0x27c115=_0x340f95['params'];_0x1b55c4[_0x4f492d(0x362)]>0x0&&(_0x1b55c4=_0x1b55c4['filter'](_0x42aded=>_0x42aded!==_0x27c115[_0x4f492d(0x3b6)]));}else{if(_0x340f95['id']===_0x16ab78[_0x4f492d(0x273)]['id']){const _0x65768a=_0x340f95[_0x4f492d(0x21c)];_0x65768a[_0x4f492d(0x17a)]?_0x1b55c4=_0x1b55c4[_0x4f492d(0x2f6)](_0x5dce5f=>_0x5dce5f!==_0x65768a['subUnitId']):_0x1b55c4[_0x4f492d(0x2cf)](_0x65768a[_0x4f492d(0x3b6)]);}else{const _0x47bad4=_0x340f95[_0x4f492d(0x21c)];_0x47bad4['subUnitId']&&_0x1b55c4['push'](_0x47bad4[_0x4f492d(0x3b6)]);}}}}),_0x1b55c4[_0x40a105(0x362)]>0x0?_0x1b55c4[_0x1b55c4[_0x40a105(0x362)]-0x1]:null;}[_0x130d34(0x15d)](_0x7de975){const _0x23b443=_0x130d34,_0x18fec2=new Map();return _0x7de975['forEach'](_0x41056b=>{const _0x4844c1=_0x26a8;var _0x33e020,_0x59db23;const _0x3e893b=(_0x33e020=_0x41056b['params'])==null?void 0x0:_0x33e020[_0x4844c1(0x36e)];if(_0x3e893b){_0x18fec2['has'](_0x3e893b)||_0x18fec2[_0x4844c1(0x358)](_0x3e893b,[]);const _0x500a4c=this['_getRangesByMutation'](_0x41056b);(_0x59db23=_0x18fec2['get'](_0x3e893b))==null||_0x59db23['push'](..._0x500a4c);}}),_0x18fec2[_0x23b443(0x1bd)]((_0x1d41fc,_0x400ea7)=>{const _0x16c25c=_0x23b443;_0x18fec2[_0x16c25c(0x358)](_0x400ea7,this[_0x16c25c(0x20a)](_0x1d41fc));}),_0x18fec2;}[_0x130d34(0x314)](_0x4492db){const _0x34f855=_0x130d34;switch(_0x4492db['id']){case _0x16ab78[_0x34f855(0x224)]['id']:{const _0x5ebacc=_0x4492db[_0x34f855(0x21c)];return _0x5ebacc[_0x34f855(0x267)][_0x34f855(0x28c)](_0x336553=>_0x336553[_0x34f855(0x2e3)][_0x34f855(0x28c)](_0x5c8244=>({'range':_0x5c8244,'unitId':_0x5ebacc['unitId'],'subUnitId':_0x5ebacc[_0x34f855(0x3b6)]})))['flat']();}case _0x16ab78['AddWorksheetMergeMutation']['id']:{const _0x42154c=_0x4492db[_0x34f855(0x21c)];return _0x42154c[_0x34f855(0x2e3)][_0x34f855(0x28c)](_0x2bea29=>({'range':_0x2bea29,'unitId':_0x42154c['unitId'],'subUnitId':_0x42154c['subUnitId']}));}case _0x16ab78[_0x34f855(0x319)]['id']:{const _0x139415=_0x4492db[_0x34f855(0x21c)];return[{'range':_0x139415['range'],'unitId':_0x139415[_0x34f855(0x325)],'subUnitId':_0x139415[_0x34f855(0x3b6)]}];}case _0x16ab78[_0x34f855(0x186)]['id']:{const _0x2d36d4=_0x4492db[_0x34f855(0x21c)];return[{'range':_0x2d36d4[_0x34f855(0x1cc)],'unitId':_0x2d36d4['unitId'],'subUnitId':_0x2d36d4[_0x34f855(0x3b6)]}];}case _0x16ab78[_0x34f855(0x171)]['id']:{const _0x4a7bab=_0x4492db['params'],{from:_0x2263e2,to:_0x43d2b9,unitId:_0x3bd2b8}=_0x4a7bab;return[{'range':_0x80f4e(_0x2263e2[_0x34f855(0x282)]),'unitId':_0x3bd2b8,'subUnitId':_0x2263e2[_0x34f855(0x3b6)]},{'range':_0x80f4e(_0x43d2b9[_0x34f855(0x282)]),'unitId':_0x3bd2b8,'subUnitId':_0x43d2b9[_0x34f855(0x3b6)]}];}case _0x16ab78[_0x34f855(0x16a)]['id']:{const _0x1c96fc=_0x4492db['params'],{unitId:_0x334395,subUnitId:_0x368b3b,sourceRange:_0xf23600,targetRange:_0xfc72fe}=_0x1c96fc,_0x44ecf1=_0xf23600[_0x34f855(0x260)]-_0xf23600['startRow']+0x1;return[{'range':_0xfc72fe[_0x34f855(0x32e)]<=_0xf23600[_0x34f855(0x32e)]?_0xfc72fe:{..._0xfc72fe,'startRow':_0xfc72fe[_0x34f855(0x32e)]-_0x44ecf1,'endRow':_0xfc72fe[_0x34f855(0x260)]-_0x44ecf1},'unitId':_0x334395,'subUnitId':_0x368b3b}];}case _0x16ab78['MoveColsMutation']['id']:{const _0x20a5ca=_0x4492db[_0x34f855(0x21c)],{unitId:_0x284672,subUnitId:_0x580e56,sourceRange:_0x2d2431,targetRange:_0x58bbc0}=_0x20a5ca,_0x434fef=_0x2d2431['endColumn']-_0x2d2431[_0x34f855(0x164)]+0x1;return[{'range':_0x58bbc0[_0x34f855(0x164)]<=_0x2d2431[_0x34f855(0x164)]?_0x58bbc0:{..._0x58bbc0,'startColumn':_0x58bbc0[_0x34f855(0x164)]-_0x434fef,'endColumn':_0x58bbc0['endColumn']-_0x434fef},'unitId':_0x284672,'subUnitId':_0x580e56}];}case _0x16ab78[_0x34f855(0x223)]['id']:{const _0x45a0c7=_0x4492db['params'],{values:_0x484bda,unitId:_0x55f734,subUnitId:_0x3efb83}=_0x45a0c7;return Object['values'](_0x484bda)[_0x34f855(0x28c)](_0x55a19b=>_0x55a19b[_0x34f855(0x2e3)]['map'](_0x162996=>({'range':_0x162996,'unitId':_0x55f734,'subUnitId':_0x3efb83})))['flat']();}case _0x16ab78[_0x34f855(0x29d)]['id']:{const _0x26a921=_0x4492db[_0x34f855(0x21c)],{ranges:_0x551bbb,unitId:_0x431772,subUnitId:_0xd0c66a}=_0x26a921;return _0x551bbb[_0x34f855(0x28c)](_0x1c15a1=>({'range':_0x1c15a1,'unitId':_0x431772,'subUnitId':_0xd0c66a}));}case _0x16ab78[_0x34f855(0x3af)]['id']:{const _0x2a1e0a=_0x4492db[_0x34f855(0x21c)],{unitId:_0x2c7fc6,subUnitId:_0x2402c2,range:_0x14d643}=_0x2a1e0a;return[{'range':_0x14d643,'unitId':_0x2c7fc6,'subUnitId':_0x2402c2}];}case _0x16ab78['SetRangeProtectionMutation']['id']:{const _0x34abb8=_0x4492db[_0x34f855(0x21c)];return _0x34abb8['rule'][_0x34f855(0x2e3)]['map'](_0x92dad=>({'range':_0x92dad,'unitId':_0x34abb8[_0x34f855(0x325)],'subUnitId':_0x34abb8[_0x34f855(0x3b6)]}));}case _0x16ab78[_0x34f855(0x259)]['id']:{const _0x2096e7=_0x4492db[_0x34f855(0x21c)];return _0x2096e7[_0x34f855(0x22b)]?_0x59a6f0(_0x2096e7[_0x34f855(0x22b)])[_0x34f855(0x28c)](_0x5db873=>({'range':_0x5db873,'unitId':_0x2096e7['unitId'],'subUnitId':_0x2096e7['subUnitId']})):[];}case _0xd14811[_0x34f855(0x2e7)]['id']:{const _0x3f6a84=_0x4492db['params'];return[{'range':_0x3f6a84[_0x34f855(0x1cc)],'unitId':_0x3f6a84[_0x34f855(0x325)],'subUnitId':_0x3f6a84['subUnitId']}];}case _0x338818[_0x34f855(0x386)]['id']:{const _0x3a6533=_0x4492db[_0x34f855(0x21c)];return(Array[_0x34f855(0x33e)](_0x3a6533[_0x34f855(0x36d)])?_0x3a6533['rule']:[_0x3a6533[_0x34f855(0x36d)]])[_0x34f855(0x28c)](_0x2fa337=>_0x2fa337[_0x34f855(0x2e3)][_0x34f855(0x28c)](_0x28d89e=>({'range':_0x28d89e,'unitId':_0x3a6533[_0x34f855(0x325)],'subUnitId':_0x3a6533[_0x34f855(0x3b6)]})))['flat']();}case _0x14b814[_0x34f855(0x332)]['id']:{const _0x286503=_0x4492db[_0x34f855(0x21c)];return _0x286503[_0x34f855(0x36d)][_0x34f855(0x2e3)]['map'](_0x51fd39=>({'range':_0x51fd39,'unitId':_0x286503[_0x34f855(0x325)],'subUnitId':_0x286503[_0x34f855(0x3b6)]}));}default:return[];}}[_0x130d34(0x20a)](_0x2bd1c9){const _0x407a59=_0x130d34;if(_0x2bd1c9[_0x407a59(0x362)]<=0x1)return _0x2bd1c9;const _0x3a37d8=new Map();return _0x2bd1c9[_0x407a59(0x1bd)](_0xaa40d6=>{const _0x387449=_0x407a59;var _0x30ded3;const {unitId:_0xfe9d52,subUnitId:_0x15f4a9}=_0xaa40d6,_0x102d46=_0xfe9d52+'-'+_0x15f4a9;_0x3a37d8[_0x387449(0x19e)](_0x102d46)?(_0x30ded3=_0x3a37d8['get'](_0x102d46))==null||_0x30ded3[_0x387449(0x2cf)](_0xaa40d6):_0x3a37d8[_0x387449(0x358)](_0x102d46,[_0xaa40d6]);}),Array['from'](_0x3a37d8['values']())[_0x407a59(0x28c)](_0x2bb49e=>new _0x16ab78[(_0x407a59(0x3a5))]()[_0x407a59(0x17f)](..._0x2bb49e['map'](_0x597878=>_0x597878[_0x407a59(0x1cc)]))[_0x407a59(0x399)]()[_0x407a59(0x28c)](_0x177b74=>({'range':_0x177b74,'unitId':_0x2bb49e[0x0][_0x407a59(0x325)],'subUnitId':_0x2bb49e[0x0][_0x407a59(0x3b6)]})))['flat']();}};_0x43d3f3=_0x4f0a02([_0x92929(0x0,_0x73bcf3[_0x130d34(0x2cb)](_0x20aa8c[_0x130d34(0x15a)])),_0x92929(0x1,_0x29b970[_0x130d34(0x22e)]),_0x92929(0x2,_0x29b970[_0x130d34(0x29e)])],_0x43d3f3);function _0x80f4e(_0x271259){const _0x5d41a1=_0x130d34;return new _0x73bcf3['ObjectMatrix'](_0x271259)[_0x5d41a1(0x3b2)]();}function _0x59a6f0(_0x34fb35){const _0x277687=_0x130d34,_0x2e77d5=new _0x73bcf3[(_0x277687(0x364))](_0x34fb35),_0xfceece=new _0x73bcf3['ObjectMatrix']();return _0x2e77d5[_0x277687(0x2f7)]((_0x4d80c9,_0xe2b99)=>{_0xfceece['setValue'](_0x4d80c9,_0xe2b99,0x1);}),_0x16ab78[_0x277687(0x226)](_0xfceece);}var _0x46dd9d=Object[_0x130d34(0x183)],_0x1a7d9d=(_0x7f200d,_0x3e2a49,_0x17d7d5,_0xdc20c8)=>{const _0x3997ea=_0x130d34;for(var _0x4095b4=_0xdc20c8>0x1?void 0x0:_0xdc20c8?_0x46dd9d(_0x3e2a49,_0x17d7d5):_0x3e2a49,_0x2c48be=_0x7f200d[_0x3997ea(0x362)]-0x1,_0x3e7bb3;_0x2c48be>=0x0;_0x2c48be--)(_0x3e7bb3=_0x7f200d[_0x2c48be])&&(_0x4095b4=_0x3e7bb3(_0x4095b4)||_0x4095b4);return _0x4095b4;},_0xe79b8e=(_0x376d09,_0x5e93a7)=>(_0x3d3d1f,_0x54d4bf)=>_0x5e93a7(_0x3d3d1f,_0x54d4bf,_0x376d09);let _0x1dcf64=class extends _0x73bcf3['Disposable']{constructor(_0x41140e,_0x5bf571,_0x2999ed,_0x303bd0,_0x10a59d,_0x591d43,_0x5209cc){const _0xf5ffb2=_0x130d34;super(),_0x2535ac(this,_0xf5ffb2(0x344),new Set()),_0x2535ac(this,_0xf5ffb2(0x2fd),null),(this[_0xf5ffb2(0x30e)]=_0x41140e,this[_0xf5ffb2(0x39c)]=_0x5bf571,this['_versionDiffService']=_0x2999ed,this[_0xf5ffb2(0x26a)]=_0x303bd0,this[_0xf5ffb2(0x321)]=_0x10a59d,this[_0xf5ffb2(0x25c)]=_0x591d43,this['_commandService']=_0x5209cc,this[_0xf5ffb2(0x349)]());}[_0x130d34(0x349)](){const _0x3aee2a=_0x130d34;this['_initRender'](),this[_0x3aee2a(0x1d3)]();}['_initRender'](){const _0x2048a4=_0x130d34;this[_0x2048a4(0x352)](_0x554309[_0x2048a4(0x2f5)]([this[_0x2048a4(0x39c)][_0x2048a4(0x331)],this['_sheetSkeletonManagerService']['currentSkeleton$']])[_0x2048a4(0x258)](_0x554309['switchMap'](([_0x2e3d39,_0x155e8e])=>{const _0x2e9cd1=_0x2048a4;if(_0x2e3d39===_0x4769d0['Loaded']&&_0x155e8e){const _0x48c326=_0x155e8e[_0x2e9cd1(0x241)];return this[_0x2e9cd1(0x261)][_0x2e9cd1(0x197)]['pipe'](_0x554309[_0x2e9cd1(0x28c)](_0x6ba8b9=>{const _0x37aca8=_0x2e9cd1,_0x4e6071=new Map();return _0x6ba8b9[_0x37aca8(0x2e3)][_0x37aca8(0x1bd)]((_0xec229f,_0x346453)=>{const _0x26ec9d=_0x37aca8,_0x344198=_0xec229f[_0x26ec9d(0x2f6)](_0xc8c3c4=>_0xc8c3c4['subUnitId']===_0x48c326);_0x4e6071['set'](_0x346453,_0x344198);}),{'skeleton':_0x155e8e,'diffs':_0x4e6071};}));}return _0x554309['of']({'skeleton':null,'diffs':new Map()});}))[_0x2048a4(0x33b)](({skeleton:_0x519d18,diffs:_0x38ebd1})=>{const _0x522845=_0x2048a4;this[_0x522845(0x27a)](),_0x519d18&&this['_updateDiffMarks'](_0x519d18,_0x38ebd1);})),this[_0x2048a4(0x352)](this[_0x2048a4(0x25c)][_0x2048a4(0x34e)][_0x2048a4(0x33b)](_0x3d62d2=>{const _0x40f02f=_0x2048a4;if(_0x3d62d2==null)return;const {skeleton:_0x26bf78}=_0x3d62d2,{scene:_0x3ee0fe}=this[_0x40f02f(0x30e)];_0x3ee0fe[_0x40f02f(0x1cf)][_0x40f02f(0x329)](_0x73bcf3[_0x40f02f(0x15b)](_0x2fcf46=>{const _0x331397=_0x40f02f;var _0x235770,_0x3bfba2;const {offsetX:_0x3c7daf,offsetY:_0x4e655c}=_0x2fcf46,{x:_0x5883c7,y:_0x57369d}=_0x3ee0fe[_0x331397(0x275)](_0x48da79[_0x331397(0x1c0)][_0x331397(0x190)]([_0x3c7daf,_0x4e655c])),{scaleX:_0x31926a,scaleY:_0x5071f9}=_0x3ee0fe[_0x331397(0x351)](),_0x16b717=_0x3ee0fe[_0x331397(0x1c7)](_0x48da79['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x3807d7=_0x3ee0fe['getVpScrollXYInfoByPosToVp'](_0x48da79['Vector2']['FromArray']([_0x5883c7,_0x57369d]),_0x16b717),_0x3c8750=_0x26bf78[_0x331397(0x21b)](_0x3c7daf,_0x4e655c,_0x31926a,_0x5071f9,_0x3807d7);((_0x235770=this[_0x331397(0x2fd)])==null?void 0x0:_0x235770[_0x331397(0x299)])===_0x3c8750[_0x331397(0x299)]&&((_0x3bfba2=this[_0x331397(0x2fd)])==null?void 0x0:_0x3bfba2['row'])===_0x3c8750[_0x331397(0x383)]||this[_0x331397(0x344)]['forEach'](_0x3aeed0=>{_0x3aeed0['onMouseMove'](_0x3c8750);});},0x64));}));}[_0x130d34(0x1d3)](){const _0x240a4c=_0x130d34;this[_0x240a4c(0x352)](this[_0x240a4c(0x39c)][_0x240a4c(0x331)]['subscribe'](_0x53d1da=>{const _0x2ebe69=_0x240a4c,_0x1be410=new _0x73bcf3[(_0x2ebe69(0x16b))]();return _0x53d1da===_0x4769d0['Loaded']&&(_0x1be410['dispose'](),_0x1be410[_0x2ebe69(0x17f)](this['_versionDiffService'][_0x2ebe69(0x197)]['subscribe'](_0xc2e9e7=>{const _0x1c84e8=_0x2ebe69;_0xc2e9e7['active']&&this[_0x1c84e8(0x3ab)]['executeCommand'](_0x16ab78['SetWorksheetActiveOperation']['id'],{'unitId':this[_0x1c84e8(0x30e)][_0x1c84e8(0x325)],'subUnitId':_0xc2e9e7[_0x1c84e8(0x2c8)]});}))),()=>_0x1be410[_0x2ebe69(0x389)]();}));}['_updateDiffMarks'](_0x2e3cd9,_0x40f783){const _0x4402e0=_0x130d34;var _0x326350;const _0x2902f0=(_0x326350=this[_0x4402e0(0x25c)][_0x4402e0(0x278)]())==null?void 0x0:_0x326350[_0x4402e0(0x3ac)];if(!_0x2902f0)return;this[_0x4402e0(0x344)]['forEach'](_0x550bc1=>{const _0x43a9e7=_0x4402e0;_0x550bc1[_0x43a9e7(0x2ac)]();});const {scene:_0x371b2c}=this[_0x4402e0(0x30e)],_0x344c97=Array[_0x4402e0(0x20f)](_0x40f783[_0x4402e0(0x320)]())['map'](_0x3fa58b=>_0x40f783[_0x4402e0(0x367)](_0x3fa58b)['map'](_0x1bcb6a=>{const _0x49a38f=_0x4402e0;var _0x14dd4d;const {range:_0x38cc9e,subUnitId:_0x5f3ce7,unitId:_0x326ef5}=_0x1bcb6a,{startColumn:_0x10a5da,startRow:_0x4ed5fc,endColumn:_0x52a76b,endRow:_0x4a640d}=_0x38cc9e,_0x2e7ea4=_0x4ad2d7[_0x49a38f(0x2c7)](_0x4ed5fc,_0x10a5da,_0x371b2c,_0x2902f0),_0x527fdd=_0x4ad2d7['getCoordByCell'](_0x4a640d,_0x52a76b,_0x371b2c,_0x2902f0),{columnHeaderHeightAndMarginTop:_0x37e9ed}=_0x2902f0,{startX:_0x16d7e8,startY:_0x2aa0b1}=_0x2e7ea4,{endX:_0x5e3979,endY:_0x5ec896}=_0x527fdd,_0x30e6f8=_0x5e3979-_0x16d7e8,_0x2f2273=_0x5ec896-_0x2aa0b1,_0x1b25a0={'labelPosition':_0x2aa0b1-_0x37e9ed>=0x14?_0x49a38f(0x173):_0x49a38f(0x1f3),'sheetID':_0x5f3ce7,'range':_0x38cc9e,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x49a38f(0x2b6),'name':((_0x14dd4d=this[_0x49a38f(0x39c)][_0x49a38f(0x168)](_0x3fa58b))==null?void 0x0:_0x14dd4d[_0x49a38f(0x306)])||'','selection':_0x326ef5+'-'+_0x5f3ce7+'-'+_0x38cc9e[_0x49a38f(0x164)]+'-'+_0x38cc9e[_0x49a38f(0x32e)]+'-'+_0x38cc9e[_0x49a38f(0x315)]+'-'+_0x38cc9e[_0x49a38f(0x260)],'left':_0x16d7e8,'top':_0x2aa0b1,'width':_0x30e6f8,'height':_0x2f2273,'evented':!0x1,'zIndex':0x1};return new _0xaa7368[(_0x49a38f(0x2ae))]('',_0x1b25a0);}))[_0x4402e0(0x207)]();_0x371b2c[_0x4402e0(0x1f2)](_0x344c97,0x1),this[_0x4402e0(0x344)]=new Set(_0x344c97);}['_removeDiffMarks'](){var _0x176dae;(_0x176dae=this['_diffs'])==null||_0x176dae['forEach'](_0x403eb8=>_0x403eb8['dispose']());}[_0x130d34(0x233)](){const _0x5df927=_0x130d34;return _0x4ad2d7['getSheetObject'](this['_univerInstanceService'],this[_0x5df927(0x321)]);}};_0x1dcf64=_0x1a7d9d([_0xe79b8e(0x1,_0x73bcf3[_0x130d34(0x2cb)](_0x20aa8c[_0x130d34(0x15a)])),_0xe79b8e(0x2,_0x73bcf3['Inject'](_0x43d3f3)),_0xe79b8e(0x3,_0x73bcf3[_0x130d34(0x338)]),_0xe79b8e(0x4,_0x48da79['IRenderManagerService']),_0xe79b8e(0x5,_0x73bcf3[_0x130d34(0x2cb)](_0x4ad2d7['SheetSkeletonManagerService'])),_0xe79b8e(0x6,_0x73bcf3[_0x130d34(0x201)])],_0x1dcf64);function _0x578070(){const _0x5195e7=_0x130d34,_0x2ff1d7=_0x57351a[_0x5195e7(0x3a0)](_0x20aa8c[_0x5195e7(0x15a)]),_0x5ed548=_0x57351a[_0x5195e7(0x355)](_0x2ff1d7['versions$']),[_0x436c78,_0x1cc787]=_0x2791a6['useState'](!0x1),_0x1eb552=_0x1f24ff(_0x5ed548);return _0x5ed548?_0x3057db[_0x5195e7(0x2d7)](_0x5195e7(0x1d1),{'className':_0x5195e7(0x22a),'children':_0x3057db[_0x5195e7(0x2e5)]('div',{'className':_0x5195e7(0x163),'children':[_0x1eb552[_0x5195e7(0x28c)]((_0x8fd96f,_0x134e09)=>_0x3057db[_0x5195e7(0x2e5)](_0x2791a6[_0x5195e7(0x2a7)],{'children':[_0x3057db[_0x5195e7(0x2d7)](_0x4e028e,{'date':_0x8fd96f[_0x5195e7(0x16d)]}),_0x8fd96f[_0x5195e7(0x368)][_0x5195e7(0x28c)]((_0x308b53,_0x24be5f)=>_0x3057db['jsx'](_0x58e7a7,{'index':[_0x134e09,_0x24be5f],'item':_0x308b53},_0x134e09+'-'+_0x24be5f))]},_0x8fd96f[_0x5195e7(0x16d)])),_0x436c78&&_0x3057db[_0x5195e7(0x2d7)](_0x5c9c2d,{})]})}):_0x3057db[_0x5195e7(0x2d7)](_0x14f28a,{});}function _0x5c9c2d(){const _0x5bea76=_0x130d34;return _0x3057db[_0x5bea76(0x2d7)](_0x5bea76(0x1d1),{'className':_0x5bea76(0x1b2),'children':_0x3057db[_0x5bea76(0x2d7)](_0x2ead1c,{'className':_0x5bea76(0x1cd)})});}function _0x14f28a(){const _0x40f590=_0x130d34;return _0x3057db[_0x40f590(0x2d7)]('div',{'className':_0x40f590(0x1b8),'children':_0x3057db[_0x40f590(0x2d7)](_0x40f590(0x37d),{'className':_0x40f590(0x2ad),'children':_0x3057db[_0x40f590(0x2d7)](_0x2ead1c,{'className':_0x40f590(0x33f)})})});}function _0x4e028e(_0x3bee60){const _0x5dc4a3=_0x130d34,_0xd772a9=_0x57351a[_0x5dc4a3(0x3a0)](_0x73bcf3[_0x5dc4a3(0x31f)]),{date:_0x548f06}=_0x3bee60;return _0x3057db[_0x5dc4a3(0x2d7)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','children':_0x216f1c(_0x548f06,_0xd772a9[_0x5dc4a3(0x21d)]())});}function _0x58e7a7(_0x249396){const _0x26cae8=_0x130d34,{item:_0x3152a2,index:_0x4ca18f}=_0x249396,{time:_0x36a00b,user:_0x1e3391}=_0x3152a2,[_0x3c54ad,_0x457227]=_0x4ca18f,_0x74a04f=_0x57351a[_0x26cae8(0x3a0)](_0x20aa8c[_0x26cae8(0x15a)]),_0x479958=_0x57351a[_0x26cae8(0x355)](_0x74a04f['currentVersion$'],'',!0x0)===_0x3152a2['id'],_0x35fd11=_0x3c54ad===0x0&&_0x457227===0x0,_0x159db4=!_0x35fd11&&_0x74a04f[_0x26cae8(0x1f0)],_0x21cf7a=_0x57351a['useDependency'](_0x73bcf3[_0x26cae8(0x31f)]),_0xa2947a=_0x21cf7a['getCurrentLocale'](),_0x3129e2=_0x354256(_0x36a00b,_0xa2947a),_0x3a6996=_0x21cf7a['t'](_0x26cae8(0x38a)),_0x15ce38=_0x2791a6[_0x26cae8(0x15e)](_0x48b11a=>{const _0x4ed4d1=_0x26cae8;_0x74a04f[_0x4ed4d1(0x317)]!==_0x4769d0['Loading']&&(_0x74a04f[_0x4ed4d1(0x31a)]=_0x48b11a);},[_0x74a04f]),_0x1c612e=_0x2791a6['useCallback'](_0x2f5686=>{const _0x3c1eea=_0x26cae8;_0x74a04f[_0x3c1eea(0x15f)](_0x2f5686);},[_0x74a04f]);return _0x3057db[_0x26cae8(0x2e5)](_0x26cae8(0x1d1),{'className':_0x24ab40[_0x26cae8(0x1ca)]('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x479958}),'onClick':()=>_0x15ce38(_0x3152a2['id']),'children':[_0x3057db[_0x26cae8(0x2e5)](_0x26cae8(0x1d1),{'className':_0x26cae8(0x2c1),'children':[_0x3057db[_0x26cae8(0x2e5)](_0x26cae8(0x1d1),{'className':_0x26cae8(0x1db),'children':[_0x3057db[_0x26cae8(0x2d7)](_0x26cae8(0x37d),{'children':_0x3129e2['time']}),_0x35fd11&&_0x3057db['jsx'](_0x26cae8(0x37d),{'className':_0x26cae8(0x25b),'children':_0x3a6996})]}),_0x3057db[_0x26cae8(0x2d7)](_0x26cae8(0x1d1),{'children':_0x159db4&&_0x3057db[_0x26cae8(0x2d7)](_0x24ab40[_0x26cae8(0x262)],{'title':_0x21cf7a['t'](_0x26cae8(0x307)),'children':_0x3057db[_0x26cae8(0x2d7)]('div',{'onClick':_0x1a246f=>{const _0xc2fb80=_0x26cae8;_0x1a246f[_0xc2fb80(0x3b3)](),_0x1c612e(_0x3152a2['id']);},'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':_0x3057db['jsx'](_0x2532e4,{})})})})]}),_0x3057db['jsx'](_0x26cae8(0x1d1),{'className':_0x26cae8(0x21a),'children':_0x4c2fc8(_0x3152a2,_0x21cf7a)})]});}var _0x4fc3eb=Object['getOwnPropertyDescriptor'],_0x521389=(_0x4e4e79,_0x31b7d7,_0x4e9bf3,_0x320594)=>{const _0x1b9ef9=_0x130d34;for(var _0x5e33df=_0x320594>0x1?void 0x0:_0x320594?_0x4fc3eb(_0x31b7d7,_0x4e9bf3):_0x31b7d7,_0x1d783e=_0x4e4e79[_0x1b9ef9(0x362)]-0x1,_0x1ff304;_0x1d783e>=0x0;_0x1d783e--)(_0x1ff304=_0x4e4e79[_0x1d783e])&&(_0x5e33df=_0x1ff304(_0x5e33df)||_0x5e33df);return _0x5e33df;},_0x3da4bf=(_0x56abc4,_0x3ad32e)=>(_0x35dfad,_0x258d1b)=>_0x3ad32e(_0x35dfad,_0x258d1b,_0x56abc4);const _0x2d6875=_0x130d34(0x394);let _0x153e03=class extends _0x73bcf3[_0x130d34(0x1a3)]{constructor(_0x45f32e,_0x2caec1,_0x56718e,_0x107b41,_0x367bfa){const _0x100371=_0x130d34;super(),_0x2535ac(this,_0x100371(0x3ae),null),(this['_sidebarService']=_0x45f32e,this[_0x100371(0x29c)]=_0x2caec1,this['_localeService']=_0x56718e,this['_historyManagerService']=_0x107b41,this[_0x100371(0x2e2)]=_0x367bfa,this[_0x100371(0x349)]());}[_0x130d34(0x349)](){const _0x511383=_0x130d34;this['_initPanel'](),this[_0x511383(0x25e)]();}[_0x130d34(0x25e)](){const _0x59b5ea=_0x130d34;var _0x18eba6;if(this['_sidebarDisposable'])return;const _0x2966d8=((_0x18eba6=this['_configService'][_0x59b5ea(0x360)](_0x37d8dd))==null?void 0x0:_0x18eba6[_0x59b5ea(0x210)])||_0x2d6875,_0x42e3b6={'header':{'title':this[_0x59b5ea(0x3a9)]['t']('editHistory.panel.title')},'children':{'label':_0x2966d8},'onClose':()=>{const _0x2cbe23=_0x59b5ea;this[_0x2cbe23(0x3ae)]=null,this['_historyManagerService'][_0x2cbe23(0x2b0)]=_0x1ac100['Exited'];}};this[_0x59b5ea(0x3ae)]=this[_0x59b5ea(0x1d5)]['open']({..._0x42e3b6});}['_initPanel'](){const _0x2b7b8d=_0x130d34;this[_0x2b7b8d(0x352)](this[_0x2b7b8d(0x29c)][_0x2b7b8d(0x292)](_0x2d6875,_0x578070)),this[_0x2b7b8d(0x352)](this['_sidebarService'][_0x2b7b8d(0x31e)][_0x2b7b8d(0x258)](_0x554309[_0x2b7b8d(0x2dc)](0x64))[_0x2b7b8d(0x33b)](_0x346bcf=>{const _0xc2b371=_0x2b7b8d,{target:_0x1daaac}=_0x346bcf||{};if(_0x1daaac){const {scrollTop:_0x35dd87,scrollHeight:_0x337285,clientHeight:_0x57b120}=_0x1daaac;_0x35dd87+_0x57b120>=_0x337285-0x5&&this[_0xc2b371(0x39c)][_0xc2b371(0x334)]();}}));}};_0x153e03=_0x521389([_0x3da4bf(0x0,_0x57351a[_0x130d34(0x363)]),_0x3da4bf(0x1,_0x73bcf3[_0x130d34(0x2cb)](_0x57351a[_0x130d34(0x24f)])),_0x3da4bf(0x2,_0x73bcf3[_0x130d34(0x2cb)](_0x73bcf3['LocaleService'])),_0x3da4bf(0x3,_0x73bcf3[_0x130d34(0x2cb)](_0x20aa8c[_0x130d34(0x15a)])),_0x3da4bf(0x4,_0x73bcf3[_0x130d34(0x2c9)])],_0x153e03);class _0x23627e extends _0x73bcf3[_0x130d34(0x1a3)]{constructor(){const _0x17bd15=_0x130d34;super(),_0x2535ac(this,_0x17bd15(0x249),new _0x554309[(_0x17bd15(0x30c))]());}[_0x130d34(0x32d)](){return _0x73bcf3['toDisposable'](()=>{});}[_0x130d34(0x35a)](){}[_0x130d34(0x381)](_0x2571ee){}[_0x130d34(0x37e)](){const _0x5a8aff=_0x130d34;return this['_dialogOptions$'][_0x5a8aff(0x1e6)]();}}var _0x332cd2=Object[_0x130d34(0x3a1)],_0x2d80bb=Object[_0x130d34(0x183)],_0x1866c1=(_0x30b0b7,_0x5df6d2,_0x29e196)=>_0x5df6d2 in _0x30b0b7?_0x332cd2(_0x30b0b7,_0x5df6d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29e196}):_0x30b0b7[_0x5df6d2]=_0x29e196,_0x4927c6=(_0x2ff2f6,_0x10a222,_0x357264,_0x46f493)=>{for(var _0x4a0ab8=_0x46f493>0x1?void 0x0:_0x46f493?_0x2d80bb(_0x10a222,_0x357264):_0x10a222,_0x201bb4=_0x2ff2f6['length']-0x1,_0x45e599;_0x201bb4>=0x0;_0x201bb4--)(_0x45e599=_0x2ff2f6[_0x201bb4])&&(_0x4a0ab8=_0x45e599(_0x4a0ab8)||_0x4a0ab8);return _0x4a0ab8;},_0x5d5db9=(_0x4b868b,_0x21eae7)=>(_0x4d2162,_0x5971b2)=>_0x21eae7(_0x4d2162,_0x5971b2,_0x4b868b),_0xf0be33=(_0x384db8,_0x2b6437,_0x2b3e1c)=>_0x1866c1(_0x384db8,_0x2b6437+'',_0x2b3e1c);const _0x195be7=_0x130d34(0x185);_0x20aa8c['UniverEditHistoryViewerPlugin']=class extends _0x73bcf3['Plugin']{constructor(_0x4f3004=_0x372370,_0x10a5bd,_0x244f70,_0x3b5fc7){const _0x4f03cd=_0x130d34;super(),this[_0x4f03cd(0x1b1)]=_0x4f3004,this['_injector']=_0x10a5bd,this[_0x4f03cd(0x321)]=_0x244f70,this[_0x4f03cd(0x2e2)]=_0x3b5fc7;const {..._0x480fdf}=_0x73bcf3['merge']({},_0x372370,this[_0x4f03cd(0x1b1)]);this[_0x4f03cd(0x2e2)][_0x4f03cd(0x312)](_0x37d8dd,_0x480fdf);}[_0x130d34(0x236)](){const _0x4ecb81=_0x130d34;[[_0x20aa8c[_0x4ecb81(0x15a)]],[_0xea3ff1],[_0x43d3f3],[_0x363fc3],[_0x153e03],[_0x17a4b0],[_0x29b970['ISnapshotServerService'],{'useClass':_0x44665c['SnapshotServerOverHTTPService']}],[_0x57351a[_0x4ecb81(0x34c)],{'useClass':_0x23627e}],[_0x3ed272[_0x4ecb81(0x199)],{'useClass':_0x44665c[_0x4ecb81(0x24b)]}]]['forEach'](_0x469a49=>this['_injector'][_0x4ecb81(0x17f)](_0x469a49)),this[_0x4ecb81(0x235)][_0x4ecb81(0x367)](_0xea3ff1);}[_0x130d34(0x30f)](){const _0xe1a3e8=_0x130d34;[[_0x1dcf64]][_0xe1a3e8(0x1bd)](_0x1c096f=>{const _0x45188d=_0xe1a3e8;this['disposeWithMe'](this[_0x45188d(0x321)][_0x45188d(0x27c)](_0x73bcf3['UniverInstanceType']['UNIVER_SHEET'],_0x1c096f));}),this['_injector'][_0xe1a3e8(0x367)](_0x17a4b0),this[_0xe1a3e8(0x235)][_0xe1a3e8(0x367)](_0x153e03);}[_0x130d34(0x357)](){const _0x414954=_0x130d34;this[_0x414954(0x235)][_0x414954(0x367)](_0x43d3f3);}},_0xf0be33(_0x20aa8c[_0x130d34(0x38d)],'pluginName',_0x195be7),_0x20aa8c['UniverEditHistoryViewerPlugin']=_0x4927c6([_0x73bcf3[_0x130d34(0x2a0)](_0x4ad2d7[_0x130d34(0x1ea)],_0xacb703[_0x130d34(0x37c)]),_0x5d5db9(0x1,_0x73bcf3['Inject'](_0x73bcf3[_0x130d34(0x31d)])),_0x5d5db9(0x2,_0x48da79[_0x130d34(0x29f)]),_0x5d5db9(0x3,_0x73bcf3[_0x130d34(0x2c9)])],_0x20aa8c['UniverEditHistoryViewerPlugin']),_0x20aa8c[_0x130d34(0x1a0)]=_0x1ac100,_0x20aa8c['HistoryOrigin']=_0x560f60,Object['defineProperty'](_0x20aa8c,Symbol['toStringTag'],{'value':_0x130d34(0x1dd)});}));
17
+ function _0x1597(_0x37ec37,_0x4fcba0){_0x37ec37=_0x37ec37-0x1a0;const _0x5d8733=_0x5d87();let _0x159789=_0x5d8733[_0x37ec37];return _0x159789;}(function(_0x8e5514,_0x1d41c4){const _0x2199de=_0x1597,_0x45c1d8=_0x8e5514();while(!![]){try{const _0x46aec1=-parseInt(_0x2199de(0x30b))/0x1*(parseInt(_0x2199de(0x243))/0x2)+parseInt(_0x2199de(0x332))/0x3*(parseInt(_0x2199de(0x255))/0x4)+parseInt(_0x2199de(0x1f5))/0x5+-parseInt(_0x2199de(0x2d7))/0x6+parseInt(_0x2199de(0x1fa))/0x7+-parseInt(_0x2199de(0x217))/0x8+-parseInt(_0x2199de(0x2c8))/0x9*(-parseInt(_0x2199de(0x379))/0xa);if(_0x46aec1===_0x1d41c4)break;else _0x45c1d8['push'](_0x45c1d8['shift']());}catch(_0x5e97ec){_0x45c1d8['push'](_0x45c1d8['shift']());}}}(_0x5d87,0xe58e4),function(_0x483f02,_0x3875a1){const _0x413e0a=_0x1597;typeof exports=='object'&&typeof module<'u'?_0x3875a1(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define=='function'&&define[_0x413e0a(0x1b3)]?define(['exports',_0x413e0a(0x22a),_0x413e0a(0x3e4),'@univerjs/core',_0x413e0a(0x287),'@univerjs/engine-render',_0x413e0a(0x1bf),'@univerjs/sheets-ui','@univerjs/ui','@univerjs/design',_0x413e0a(0x2ec),_0x413e0a(0x329),_0x413e0a(0x3d8),_0x413e0a(0x33b),_0x413e0a(0x3b9),_0x413e0a(0x3ca),_0x413e0a(0x283),_0x413e0a(0x3b5),_0x413e0a(0x395),_0x413e0a(0x336)],_0x3875a1):(_0x483f02=typeof globalThis<'u'?globalThis:_0x483f02||self,_0x3875a1(_0x483f02[_0x413e0a(0x2ae)]={},_0x483f02[_0x413e0a(0x3aa)],_0x483f02[_0x413e0a(0x30e)],_0x483f02[_0x413e0a(0x3d6)],_0x483f02[_0x413e0a(0x1ad)],_0x483f02['UniverEngineRender'],_0x483f02[_0x413e0a(0x1e3)],_0x483f02['UniverSheetsUi'],_0x483f02[_0x413e0a(0x3e2)],_0x483f02[_0x413e0a(0x393)],_0x483f02[_0x413e0a(0x274)],_0x483f02[_0x413e0a(0x329)],_0x483f02[_0x413e0a(0x2c0)],_0x483f02[_0x413e0a(0x33f)],_0x483f02['UniverDataValidation'],_0x483f02[_0x413e0a(0x318)],_0x483f02[_0x413e0a(0x271)],_0x483f02['React'],_0x483f02['React'],_0x483f02[_0x413e0a(0x2ea)]));}(this,function(_0x1dc907,_0x4cc1f5,_0x29afcc,_0x2b1020,_0x2779fe,_0x404f3a,_0x4200f5,_0x40443a,_0xd6c0fb,_0x197b1d,_0x22d459,_0x23366c,_0x2ebba0,_0x77306f,_0x25fe08,_0x42b7a9,_0x3b8e1d,_0x3d7079,_0x2cee47,_0x36b411){'use strict';const _0x44ffc9=_0x1597;var _0x5c482b=Object['defineProperty'],_0x16a92a=(_0x542e6a,_0x52600c,_0x5e33c5)=>_0x52600c in _0x542e6a?_0x5c482b(_0x542e6a,_0x52600c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e33c5}):_0x542e6a[_0x52600c]=_0x5e33c5,_0x216b91=(_0x3c0ecc,_0x19bea4,_0x3236bf)=>_0x16a92a(_0x3c0ecc,typeof _0x19bea4!='symbol'?_0x19bea4+'':_0x19bea4,_0x3236bf);const _0x2757e9=_0x44ffc9(0x233),_0x43e083={};var _0x47b248=Object['getOwnPropertyDescriptor'],_0x29715d=(_0x362f8a,_0x30422e,_0x210d16,_0x10619f)=>{const _0x583e54=_0x44ffc9;for(var _0x5bb3bf=_0x10619f>0x1?void 0x0:_0x10619f?_0x47b248(_0x30422e,_0x210d16):_0x30422e,_0x10de72=_0x362f8a[_0x583e54(0x35e)]-0x1,_0x3e8dd1;_0x10de72>=0x0;_0x10de72--)(_0x3e8dd1=_0x362f8a[_0x10de72])&&(_0x5bb3bf=_0x3e8dd1(_0x5bb3bf)||_0x5bb3bf);return _0x5bb3bf;},_0x43d43a=(_0x639c5f,_0x3d3c35)=>(_0x141b68,_0x425592)=>_0x3d3c35(_0x141b68,_0x425592,_0x639c5f);let _0x3868f2=class extends _0x2b1020['Disposable']{constructor(_0x388857){const _0x15ac9a=_0x44ffc9;super(),this[_0x15ac9a(0x30d)]=_0x388857,this[_0x15ac9a(0x25e)]();}['_init'](){const _0x54e226=_0x44ffc9;this[_0x54e226(0x3bb)](this[_0x54e226(0x30d)][_0x54e226(0x237)][_0x54e226(0x364)](_0x454126=>{const _0x2c2e32=_0x54e226;_0x454126!=null&&_0x454126[_0x2c2e32(0x229)]&&this[_0x2c2e32(0x30d)][_0x2c2e32(0x331)]({'show':!0x1});}));}};_0x3868f2=_0x29715d([_0x43d43a(0x0,_0x40443a[_0x44ffc9(0x278)])],_0x3868f2);var _0xc7a7f3=(_0x77ea88=>(_0x77ea88[_0x77ea88['UNDEFINED']=0x0]=_0x44ffc9(0x3a8),_0x77ea88[_0x77ea88['OK']=0x1]='OK',_0x77ea88[_0x77ea88[_0x44ffc9(0x2a8)]=0x2]=_0x44ffc9(0x2a8),_0x77ea88[_0x77ea88[_0x44ffc9(0x2c7)]=0x3]=_0x44ffc9(0x2c7),_0x77ea88[_0x77ea88[_0x44ffc9(0x368)]=0x4]=_0x44ffc9(0x368),_0x77ea88[_0x77ea88[_0x44ffc9(0x220)]=0x5]=_0x44ffc9(0x220),_0x77ea88[_0x77ea88[_0x44ffc9(0x3a7)]=0x6]='ALREADY_EXISTS',_0x77ea88[_0x77ea88['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x77ea88[_0x77ea88[_0x44ffc9(0x1db)]=0x8]=_0x44ffc9(0x1db),_0x77ea88[_0x77ea88[_0x44ffc9(0x326)]=0x9]=_0x44ffc9(0x326),_0x77ea88[_0x77ea88[_0x44ffc9(0x3b0)]=0xa]=_0x44ffc9(0x3b0),_0x77ea88[_0x77ea88[_0x44ffc9(0x3e6)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x77ea88[_0x77ea88[_0x44ffc9(0x291)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x77ea88[_0x77ea88[_0x44ffc9(0x205)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x77ea88[_0x77ea88[_0x44ffc9(0x1b7)]=0xe]=_0x44ffc9(0x1b7),_0x77ea88[_0x77ea88[_0x44ffc9(0x30f)]=0xf]=_0x44ffc9(0x30f),_0x77ea88[_0x77ea88[_0x44ffc9(0x24b)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x77ea88[_0x77ea88[_0x44ffc9(0x1fe)]=0x64]=_0x44ffc9(0x1fe),_0x77ea88[_0x77ea88[_0x44ffc9(0x1bd)]=0x65]='ERROR_AGAIN',_0x77ea88[_0x77ea88[_0x44ffc9(0x3c1)]=0xc9]='USER_NOT_FOUND',_0x77ea88[_0x77ea88[_0x44ffc9(0x38f)]=0xca]=_0x44ffc9(0x38f),_0x77ea88[_0x77ea88[_0x44ffc9(0x1d1)]=0x1389]=_0x44ffc9(0x1d1),_0x77ea88[_0x77ea88['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x77ea88[_0x77ea88[_0x44ffc9(0x363)]=0x1772]=_0x44ffc9(0x363),_0x77ea88[_0x77ea88[_0x44ffc9(0x2d5)]=0x1773]=_0x44ffc9(0x2d5),_0x77ea88[_0x77ea88[_0x44ffc9(0x280)]=0x1b59]=_0x44ffc9(0x280),_0x77ea88[_0x77ea88[_0x44ffc9(0x37b)]=0x1b5a]=_0x44ffc9(0x37b),_0x77ea88[_0x77ea88['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x44ffc9(0x35d),_0x77ea88[_0x77ea88[_0x44ffc9(0x303)]=0x1b5c]=_0x44ffc9(0x303),_0x77ea88[_0x77ea88[_0x44ffc9(0x1e0)]=0x1b5d]=_0x44ffc9(0x1e0),_0x77ea88[_0x77ea88[_0x44ffc9(0x380)]=0x1f41]=_0x44ffc9(0x380),_0x77ea88[_0x77ea88[_0x44ffc9(0x39a)]=0x2329]=_0x44ffc9(0x39a),_0x77ea88[_0x77ea88['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x77ea88[_0x77ea88[_0x44ffc9(0x2d8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x77ea88[_0x77ea88['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x44ffc9(0x272),_0x77ea88[_0x77ea88[_0x44ffc9(0x3b3)]=0x232d]=_0x44ffc9(0x3b3),_0x77ea88[_0x77ea88['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x44ffc9(0x2bb),_0x77ea88[_0x77ea88[_0x44ffc9(0x23b)]=0x2712]=_0x44ffc9(0x23b),_0x77ea88[_0x77ea88['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x44ffc9(0x2bd),_0x77ea88[_0x77ea88[_0x44ffc9(0x29d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x77ea88[_0x77ea88['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x44ffc9(0x35b),_0x77ea88[_0x77ea88[_0x44ffc9(0x1bb)]=0x271b]=_0x44ffc9(0x1bb),_0x77ea88[_0x77ea88[_0x44ffc9(0x1f4)]=0x271c]=_0x44ffc9(0x1f4),_0x77ea88[_0x77ea88[_0x44ffc9(0x212)]=0x271d]=_0x44ffc9(0x212),_0x77ea88[_0x77ea88[_0x44ffc9(0x23a)]=0x271e]=_0x44ffc9(0x23a),_0x77ea88[_0x77ea88[_0x44ffc9(0x1e2)]=0x271f]=_0x44ffc9(0x1e2),_0x77ea88[_0x77ea88['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x44ffc9(0x226),_0x77ea88[_0x77ea88['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x44ffc9(0x2c6),_0x77ea88[_0x77ea88[_0x44ffc9(0x215)]=0x2ee1]=_0x44ffc9(0x215),_0x77ea88[_0x77ea88[_0x44ffc9(0x1c2)]=0x2ee2]=_0x44ffc9(0x1c2),_0x77ea88[_0x77ea88[_0x44ffc9(0x369)]=0x2ee3]=_0x44ffc9(0x369),_0x77ea88[_0x77ea88[_0x44ffc9(0x2a7)]=0x2ee4]=_0x44ffc9(0x2a7),_0x77ea88[_0x77ea88['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x77ea88[_0x77ea88[_0x44ffc9(0x2df)]=0x32c9]=_0x44ffc9(0x2df),_0x77ea88[_0x77ea88['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x44ffc9(0x36f),_0x77ea88[_0x77ea88[_0x44ffc9(0x2e6)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x77ea88[_0x77ea88[_0x44ffc9(0x29c)]=0x36b1]=_0x44ffc9(0x29c),_0x77ea88[_0x77ea88['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x77ea88[_0x77ea88[_0x44ffc9(0x355)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x77ea88[_0x77ea88[_0x44ffc9(0x1fd)]=0x36b4]=_0x44ffc9(0x1fd),_0x77ea88[_0x77ea88[_0x44ffc9(0x304)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x77ea88[_0x77ea88['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x44ffc9(0x39c),_0x77ea88[_0x77ea88['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x44ffc9(0x253),_0x77ea88[_0x77ea88['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x44ffc9(0x2e9),_0x77ea88[_0x77ea88[_0x44ffc9(0x309)]=0x3715]=_0x44ffc9(0x309),_0x77ea88[_0x77ea88[_0x44ffc9(0x319)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x77ea88[_0x77ea88[_0x44ffc9(0x3cd)]=0x3717]=_0x44ffc9(0x3cd),_0x77ea88[_0x77ea88[_0x44ffc9(0x270)]=0x37dd]=_0x44ffc9(0x270),_0x77ea88[_0x77ea88[_0x44ffc9(0x1e4)]=0x3a99]=_0x44ffc9(0x1e4),_0x77ea88[_0x77ea88[_0x44ffc9(0x383)]=0x3a9a]=_0x44ffc9(0x383),_0x77ea88[_0x77ea88[_0x44ffc9(0x3b6)]=0x3a9b]=_0x44ffc9(0x3b6),_0x77ea88[_0x77ea88[_0x44ffc9(0x218)]=0x3a9c]=_0x44ffc9(0x218),_0x77ea88[_0x77ea88['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x77ea88[_0x77ea88[_0x44ffc9(0x200)]=0x3a9e]=_0x44ffc9(0x200),_0x77ea88[_0x77ea88[_0x44ffc9(0x1ea)]=0x3a9f]=_0x44ffc9(0x1ea),_0x77ea88[_0x77ea88[_0x44ffc9(0x36c)]=0x3e81]=_0x44ffc9(0x36c),_0x77ea88[_0x77ea88[_0x44ffc9(0x328)]=-0x1]=_0x44ffc9(0x328),_0x77ea88))(_0xc7a7f3||{}),_0x3fc599=(_0x471120=>(_0x471120[_0x471120[_0x44ffc9(0x3d3)]=0x0]=_0x44ffc9(0x3d3),_0x471120[_0x471120[_0x44ffc9(0x341)]=0x1]=_0x44ffc9(0x341),_0x471120[_0x471120[_0x44ffc9(0x23c)]=0x2]=_0x44ffc9(0x23c),_0x471120[_0x471120['UNIVER_SLIDE']=0x3]=_0x44ffc9(0x2fc),_0x471120[_0x471120[_0x44ffc9(0x321)]=0x4]=_0x44ffc9(0x321),_0x471120[_0x471120[_0x44ffc9(0x328)]=-0x1]=_0x44ffc9(0x328),_0x471120))(_0x3fc599||{}),_0x595cfb=(_0x224901=>(_0x224901[_0x224901['View']=0x0]=_0x44ffc9(0x1e8),_0x224901[_0x224901[_0x44ffc9(0x1fc)]=0x1]=_0x44ffc9(0x1fc),_0x224901[_0x224901[_0x44ffc9(0x250)]=0x2]=_0x44ffc9(0x250),_0x224901[_0x224901[_0x44ffc9(0x317)]=0x3]=_0x44ffc9(0x317),_0x224901[_0x224901[_0x44ffc9(0x3f2)]=0x4]='Duplicate',_0x224901[_0x224901['Comment']=0x5]=_0x44ffc9(0x2d2),_0x224901[_0x224901[_0x44ffc9(0x2e4)]=0x6]=_0x44ffc9(0x2e4),_0x224901[_0x224901[_0x44ffc9(0x342)]=0x7]=_0x44ffc9(0x342),_0x224901[_0x224901[_0x44ffc9(0x31a)]=0x8]=_0x44ffc9(0x31a),_0x224901[_0x224901[_0x44ffc9(0x1cc)]=0x9]='MoveWorksheet',_0x224901[_0x224901['DeleteWorksheet']=0xa]=_0x44ffc9(0x219),_0x224901[_0x224901[_0x44ffc9(0x388)]=0xb]=_0x44ffc9(0x388),_0x224901[_0x224901[_0x44ffc9(0x2b9)]=0xc]=_0x44ffc9(0x2b9),_0x224901[_0x224901[_0x44ffc9(0x3da)]=0xd]=_0x44ffc9(0x3da),_0x224901[_0x224901[_0x44ffc9(0x1ae)]=0xe]=_0x44ffc9(0x1ae),_0x224901[_0x224901['EditWorksheetCell']=0xf]='EditWorksheetCell',_0x224901[_0x224901[_0x44ffc9(0x33d)]=0x10]=_0x44ffc9(0x33d),_0x224901[_0x224901[_0x44ffc9(0x27d)]=0x11]=_0x44ffc9(0x27d),_0x224901[_0x224901[_0x44ffc9(0x20f)]=0x12]=_0x44ffc9(0x20f),_0x224901[_0x224901[_0x44ffc9(0x1c4)]=0x13]=_0x44ffc9(0x1c4),_0x224901[_0x224901['FloatImg']=0x14]=_0x44ffc9(0x30a),_0x224901[_0x224901['History']=0x15]=_0x44ffc9(0x344),_0x224901[_0x224901[_0x44ffc9(0x359)]=0x16]='RwHgtClWdt',_0x224901[_0x224901['ViemRwHgtClWdt']=0x17]=_0x44ffc9(0x2cb),_0x224901[_0x224901['ViewFilter']=0x18]=_0x44ffc9(0x1e7),_0x224901[_0x224901[_0x44ffc9(0x1eb)]=0x19]=_0x44ffc9(0x1eb),_0x224901[_0x224901[_0x44ffc9(0x1a0)]=0x1a]=_0x44ffc9(0x1a0),_0x224901[_0x224901[_0x44ffc9(0x1a8)]=0x1b]=_0x44ffc9(0x1a8),_0x224901[_0x224901[_0x44ffc9(0x21e)]=0x1c]=_0x44ffc9(0x21e),_0x224901[_0x224901['RenameSheet']=0x1d]=_0x44ffc9(0x2af),_0x224901[_0x224901[_0x44ffc9(0x308)]=0x1e]=_0x44ffc9(0x308),_0x224901[_0x224901['SelectProtectedCells']=0x1f]='SelectProtectedCells',_0x224901[_0x224901[_0x44ffc9(0x289)]=0x20]='SelectUnProtectedCells',_0x224901[_0x224901[_0x44ffc9(0x222)]=0x21]=_0x44ffc9(0x222),_0x224901[_0x224901[_0x44ffc9(0x1f2)]=0x22]=_0x44ffc9(0x1f2),_0x224901[_0x224901[_0x44ffc9(0x252)]=0x23]='SetRowStyle',_0x224901[_0x224901[_0x44ffc9(0x1f3)]=0x24]=_0x44ffc9(0x1f3),_0x224901[_0x224901['InsertRow']=0x25]=_0x44ffc9(0x384),_0x224901[_0x224901[_0x44ffc9(0x392)]=0x26]=_0x44ffc9(0x392),_0x224901[_0x224901['DeleteRow']=0x27]=_0x44ffc9(0x2f8),_0x224901[_0x224901['DeleteColumn']=0x28]=_0x44ffc9(0x276),_0x224901[_0x224901[_0x44ffc9(0x3d2)]=0x29]='EditExtraObject',_0x224901[_0x224901['Delete']=0x2a]=_0x44ffc9(0x2f6),_0x224901[_0x224901[_0x44ffc9(0x3cb)]=0x2b]=_0x44ffc9(0x3cb),_0x224901[_0x224901[_0x44ffc9(0x31e)]=0x2c]=_0x44ffc9(0x31e),_0x224901[_0x224901['CreatePermissionObject']=0x2d]=_0x44ffc9(0x38b),_0x224901[_0x224901[_0x44ffc9(0x328)]=-0x1]=_0x44ffc9(0x328),_0x224901))(_0x595cfb||{});function _0x2966b3(_0x19bdf9){const _0x4b334f=_0x44ffc9;return!!(_0x19bdf9&&_0x19bdf9[_0x4b334f(0x22b)]&&_0x19bdf9[_0x4b334f(0x22b)]!==_0xc7a7f3['OK']&&_0x19bdf9['code']!=='OK');}const _0x122189=(_0x5a84ff,_0x278f56)=>{const _0x12630c=_0x44ffc9;if(!_0x5a84ff)return{'date':'','time':''};const _0x579a66=new Date(_0x5a84ff),_0x1ac4e7=_0x579a66['toISOString']()[_0x12630c(0x251)]('T')[0x0];switch(_0x278f56){case _0x2b1020[_0x12630c(0x3b1)][_0x12630c(0x21d)]:return{'date':_0x1f73d9(_0x1ac4e7,_0x278f56),'time':_0x579a66[_0x12630c(0x1d8)]()+':'+String(_0x579a66[_0x12630c(0x39d)]())[_0x12630c(0x389)](0x2,'0')+':'+String(_0x579a66[_0x12630c(0x2f7)]())[_0x12630c(0x389)](0x2,'0')};default:return{'date':_0x1f73d9(_0x1ac4e7,_0x278f56),'time':_0x579a66[_0x12630c(0x1d8)]()+':'+_0x579a66[_0x12630c(0x39d)]()+':'+_0x579a66[_0x12630c(0x2f7)]()};}},_0x517423=(_0x36f0d2,_0xbb84ec)=>{const _0x213d06=_0x44ffc9,_0x5d7f91=_0x36f0d2[_0x213d06(0x396)]||_0xbb84ec['t']('editHistory.panel.unknownUser');if(_0x36f0d2[_0x213d06(0x1b9)][_0x213d06(0x27c)](_0x2f6586=>_0x2f6586===_0x4cc1f5['RevertRevisionMutation']['id'])&&_0x36f0d2[_0x213d06(0x21f)]){const _0x48102e=_0x122189(_0x36f0d2[_0x213d06(0x21f)],_0xbb84ec[_0x213d06(0x231)]()),_0x2eae35=_0x48102e[_0x213d06(0x26c)]+'\x20'+_0x48102e[_0x213d06(0x23d)];return _0x5d7f91+'\x20'+_0xbb84ec['t'](_0x213d06(0x36a))+'\x20'+_0x2eae35+'\x20'+_0xbb84ec['t'](_0x213d06(0x1ba));}const _0x462539=_0x366199(_0x36f0d2),_0x57c057=_0x462539['length']===0x1?_0xbb84ec['t'](_0x462539[0x0]):''+_0xbb84ec['t'](_0x462539[0x0])+_0xbb84ec['t'](_0x213d06(0x2f5));return _0x5d7f91+'\x20'+_0x57c057;};function _0x366199(_0x26589a){const _0x5c0868=_0x44ffc9;if(_0x26589a['commands'][_0x5c0868(0x35e)]===0x0)return[''];const _0x42cd4=_0x5c0868(0x2fd),_0x43339a=_0x42cd4+_0x5c0868(0x29e),_0x23e43b=[{'id':_0x4cc1f5[_0x5c0868(0x399)]['id'],'action':_0x42cd4+_0x5c0868(0x3c7)},{'id':_0x4cc1f5[_0x5c0868(0x3a5)]['id'],'action':_0x42cd4+_0x5c0868(0x1ee)},{'id':_0x22d459[_0x5c0868(0x294)]['id'],'action':_0x42cd4+_0x5c0868(0x3bd)},{'id':_0x22d459[_0x5c0868(0x3ac)]['id'],'action':_0x42cd4+'removeSheet'},{'id':_0x22d459[_0x5c0868(0x33a)]['id'],'action':_0x42cd4+_0x5c0868(0x1b2)},{'id':_0x3b8e1d[_0x5c0868(0x2b3)]['id'],'action':_0x42cd4+_0x5c0868(0x302)},{'id':_0x25fe08[_0x5c0868(0x2b6)]['id'],'action':_0x42cd4+'setDV'},{'id':_0x25fe08[_0x5c0868(0x258)]['id'],'action':_0x42cd4+_0x5c0868(0x279)},{'id':_0x42b7a9[_0x5c0868(0x2ef)]['id'],'action':_0x42cd4+'setCF'},{'id':_0x42b7a9[_0x5c0868(0x357)]['id'],'action':_0x42cd4+_0x5c0868(0x3bf)},{'id':_0x22d459[_0x5c0868(0x330)]['id'],'action':_0x42cd4+'addProtection'},{'id':_0x22d459['AddRangeProtectionMutation']['id'],'action':_0x42cd4+_0x5c0868(0x21c)},{'id':_0x77306f[_0x5c0868(0x3e1)]['id'],'action':_0x42cd4+_0x5c0868(0x370)},{'id':_0x2ebba0[_0x5c0868(0x2ca)]['id'],'action':_0x42cd4+'insertChart'},{'id':_0x22d459[_0x5c0868(0x257)]['id'],'action':_0x42cd4+_0x5c0868(0x3e9)},{'id':_0x22d459[_0x5c0868(0x2b8)]['id'],'action':_0x42cd4+_0x5c0868(0x3e9)}][_0x5c0868(0x223)](_0x58d4c6=>_0x26589a['commands'][_0x5c0868(0x38e)](_0x58d4c6['id']));return _0x23e43b!=null&&_0x23e43b['length']?_0x23e43b[_0x5c0868(0x385)](_0x269f5b=>_0x269f5b[_0x5c0868(0x22c)]):[_0x43339a];}function _0x1f73d9(_0x1e8d46,_0x3ca213){const _0x44edec=_0x44ffc9,[_0x295565,_0x4b032d,_0x1beaa9]=new Date()['toISOString']()[_0x44edec(0x251)]('T')[0x0]['split']('-'),[_0x3bfdc3,_0x3c1884,_0x552f18]=_0x1e8d46[_0x44edec(0x251)]('-'),_0x17a334=_0x295565===_0x3bfdc3&&_0x4b032d===_0x3c1884&&_0x1beaa9===_0x552f18;let _0x402c81='',_0x83df22='',_0x298ada='';switch(_0x3ca213){case _0x2b1020[_0x44edec(0x3b1)][_0x44edec(0x21d)]:return _0x17a334?'今天':(_0x402c81=_0x295565===_0x3bfdc3?'':_0x3bfdc3+'年',_0x83df22=_0x3c1884+'月',_0x298ada=_0x552f18+'日',''+_0x402c81+_0x83df22+_0x298ada);default:return _0x17a334?_0x44edec(0x1f7):(_0x402c81=_0x295565===_0x3bfdc3?'':_0x3bfdc3+'-',_0x83df22=_0x3c1884+'-',_0x298ada=''+_0x552f18,''+_0x402c81+_0x83df22+_0x298ada);}}function _0x4a3c73(_0xac3ec0){return _0xac3ec0?_0xac3ec0['reduce']((_0x555659,_0x3c3098)=>{const _0x2db6fb=_0x1597,_0x1392da=new Date(_0x3c3098[_0x2db6fb(0x23d)])[_0x2db6fb(0x209)]()[_0x2db6fb(0x251)]('T')[0x0];return _0x555659[_0x2db6fb(0x35e)]>0x0&&_0x555659[_0x555659['length']-0x1][_0x2db6fb(0x25f)]===_0x1392da?_0x555659[_0x555659[_0x2db6fb(0x35e)]-0x1][_0x2db6fb(0x2a1)][_0x2db6fb(0x2d0)](_0x3c3098):_0x555659['push']({'dateString':_0x1392da,'versions':[_0x3c3098]}),_0x555659;},[]):[];}var _0x194c76=Object[_0x44ffc9(0x2ab)],_0xff9e8=(_0x1a240a,_0x1d6906,_0x4bf546,_0x3428a4)=>{const _0x9d88aa=_0x44ffc9;for(var _0x12aec1=_0x3428a4>0x1?void 0x0:_0x3428a4?_0x194c76(_0x1d6906,_0x4bf546):_0x1d6906,_0x187a0a=_0x1a240a[_0x9d88aa(0x35e)]-0x1,_0x3499c3;_0x187a0a>=0x0;_0x187a0a--)(_0x3499c3=_0x1a240a[_0x187a0a])&&(_0x12aec1=_0x3499c3(_0x12aec1)||_0x12aec1);return _0x12aec1;},_0x4d2673=(_0x172e28,_0x154f4c)=>(_0x2b4640,_0x387cfe)=>_0x154f4c(_0x2b4640,_0x387cfe,_0x172e28),_0x5d3d5c=(_0xb619ed=>(_0xb619ed[_0xb619ed['Unspecified']=0x0]='Unspecified',_0xb619ed[_0xb619ed[_0x44ffc9(0x351)]=0x1]='User',_0xb619ed[_0xb619ed[_0x44ffc9(0x261)]=0x2]=_0x44ffc9(0x261),_0xb619ed))(_0x5d3d5c||{});const _0x528d30=_0x44ffc9(0x2e8);let _0xa17f4a=class extends _0x2b1020[_0x44ffc9(0x35f)]{constructor(_0x378c1b,_0x2484fd,_0x2450ba,_0x4180bf,_0x30945d,_0x22bd7e,_0x4a6840){const _0x5af022=_0x44ffc9;super(),_0x216b91(this,_0x5af022(0x1be),new Map()),(this['_snapshotServerService']=_0x378c1b,this[_0x5af022(0x27a)]=_0x2484fd,this[_0x5af022(0x1cd)]=_0x2450ba,this[_0x5af022(0x288)]=_0x4180bf,this['_httpService']=_0x30945d,this[_0x5af022(0x2c3)]=_0x22bd7e,this[_0x5af022(0x256)]=_0x4a6840);}['dispose'](){const _0x3865fb=_0x44ffc9;this[_0x3865fb(0x1be)]['clear'](),super[_0x3865fb(0x2ee)]();}async['fetchCreatorList'](_0x45ef66){const _0x597a7d=_0x44ffc9;try{const _0x90021f=(await this[_0x597a7d(0x2eb)][_0x597a7d(0x282)](this[_0x597a7d(0x2bf)]()+'/'+_0x45ef66+'/creators'))[_0x597a7d(0x2a3)];if(_0x90021f&&_0x90021f[_0x597a7d(0x1d6)]&&_0x90021f[_0x597a7d(0x1d6)]['code']===_0xc7a7f3['OK'])return _0x90021f[_0x597a7d(0x335)];}catch(_0x474a62){console['error'](_0x474a62);}return[];}async['getVersions'](_0x412cab,_0x46bc3a){const _0x4dbdf1=_0x44ffc9,{userIds:_0x4afe6e,lastLabel:_0x5e498b,origin:_0x174a81}=_0x46bc3a!=null?_0x46bc3a:{},_0x49a072=new URLSearchParams();_0x49a072[_0x4dbdf1(0x23f)](_0x4dbdf1(0x35e),'20'),_0x5e498b&&_0x49a072[_0x4dbdf1(0x23f)](_0x4dbdf1(0x34d),_0x5e498b),_0x4afe6e==null||_0x4afe6e[_0x4dbdf1(0x3d7)](_0x193ffd=>{const _0x2656ff=_0x4dbdf1;_0x49a072['append'](_0x2656ff(0x2f0),_0x193ffd);}),_0x174a81&&_0x49a072[_0x4dbdf1(0x23f)](_0x4dbdf1(0x32a),_0x174a81[_0x4dbdf1(0x2c9)]());const _0x5b9e8e=this[_0x4dbdf1(0x2bf)]()+'/'+_0x412cab+_0x4dbdf1(0x20c)+_0x49a072[_0x4dbdf1(0x2c9)]();try{const _0x3c51d2=(await this[_0x4dbdf1(0x2eb)]['get'](_0x5b9e8e))[_0x4dbdf1(0x2a3)];if(_0x3c51d2&&_0x3c51d2[_0x4dbdf1(0x1d6)]&&_0x3c51d2[_0x4dbdf1(0x1d6)][_0x4dbdf1(0x22b)]===_0xc7a7f3['OK']){const {hasMore:_0x1d3845,lastLabel:_0x3c3286}=_0x3c51d2,_0x133374=_0x18cb8b(_0x3c51d2),_0xdc0203=_0x3c51d2[_0x4dbdf1(0x1c8)][_0x4dbdf1(0x22e)];return{'hasMore':_0x1d3845,'lastLabel':_0x3c3286,'versions':_0x133374,'members':_0xdc0203};}}catch(_0x6fb59e){console[_0x4dbdf1(0x1d6)](_0x6fb59e);}return null;}[_0x44ffc9(0x2bf)](){const _0x59877a=_0x44ffc9;var _0x247394;const _0xfbfc2c=this[_0x59877a(0x288)][_0x59877a(0x244)](_0x2757e9);return(_0x247394=_0xfbfc2c==null?void 0x0:_0xfbfc2c[_0x59877a(0x3e8)])!=null?_0x247394:_0x528d30;}async[_0x44ffc9(0x3e3)](_0x3f63ce,_0x1e77ae,_0x1b3fa6){const _0x23b924=_0x44ffc9;var _0x11a9f9,_0x501cd6;_0x1b3fa6===void 0x0&&(_0x1b3fa6={}),this[_0x23b924(0x1be)][_0x23b924(0x2b1)](_0x3f63ce)||this[_0x23b924(0x1be)]['set'](_0x3f63ce,new Map());const {snapshot:_0x21d107,changesets:_0x2663af,error:_0x21a18b}=await this[_0x23b924(0x3de)]['getUnitOnRev'](_0x1b3fa6,{'unitID':_0x3f63ce,'type':_0x3fc599['UNIVER_SHEET'],'revision':_0x1e77ae});if(_0x2966b3(_0x21a18b)||!_0x21d107||!_0x21d107[_0x23b924(0x343)])throw new Error(_0x23b924(0x1b1));const _0x1488b8=(_0x11a9f9=_0x2663af==null?void 0x0:_0x2663af[_0x23b924(0x35e)])!=null?_0x11a9f9:0x0;if(_0x1e77ae!==0x0&&_0x21d107['rev']+_0x1488b8!==_0x1e77ae)throw new Error(_0x23b924(0x1ed));const {workbook:_0x49e48e}=_0x21d107,_0x2509e5=_0x49e48e['blockMeta']?Object[_0x23b924(0x265)](_0x49e48e[_0x23b924(0x277)])[_0x23b924(0x385)](([_0x4ac187,_0x5091f5])=>{const _0x56e317=_0x23b924;var _0x381474,_0x425d38;return(_0x425d38=(_0x381474=_0x5091f5[_0x56e317(0x32b)])==null?void 0x0:_0x381474[_0x56e317(0x385)](_0x31f090=>_0x31f090))!=null?_0x425d38:[];})[_0x23b924(0x373)]():[],_0x370e14=(await Promise[_0x23b924(0x293)](_0x2509e5['map'](_0x1e414f=>this[_0x23b924(0x3de)][_0x23b924(0x248)](_0x1b3fa6,{'unitID':_0x3f63ce,'type':_0x3fc599['UNIVER_SHEET'],'blockID':_0x1e414f})['then'](_0x2baa29=>_0x2baa29['block']))))['filter'](_0x3463da=>!!_0x3463da),_0x2dc958=await _0x4cc1f5[_0x23b924(0x31b)](_0x21d107,_0x370e14,_0x1b3fa6);return(_0x501cd6=this['_workbookDataCache'][_0x23b924(0x282)](_0x3f63ce))==null||_0x501cd6['set'](_0x1e77ae,{'workbook':_0x2dc958}),new Promise(_0x157ae1=>{const _0x295d7b=_0x23b924,_0x18747e=this[_0x295d7b(0x27a)][_0x295d7b(0x2a5)](_0x2b1020[_0x295d7b(0x322)][_0x295d7b(0x23c)]);_0x18747e?(this[_0x295d7b(0x27a)][_0x295d7b(0x3db)](_0x18747e['getUnitId']()),setTimeout(()=>{const _0x4bb1ba=_0x295d7b;this[_0x4bb1ba(0x28e)](_0x2dc958,_0x2663af),this[_0x4bb1ba(0x256)]['refreshRangeProtectPermission'](),_0x157ae1(!0x0);},0x0)):(this[_0x295d7b(0x28e)](_0x2dc958,_0x2663af),_0x157ae1(!0x0));});}[_0x44ffc9(0x28e)](_0x145996,_0x2eb2f5){const _0xa5f745=_0x44ffc9,_0x48aa76=this[_0xa5f745(0x27a)]['createUnit'](_0x2b1020[_0xa5f745(0x322)]['UNIVER_SHEET'],_0x145996);this[_0xa5f745(0x27a)][_0xa5f745(0x213)](_0x48aa76[_0xa5f745(0x398)]());const _0x37ae2f=this[_0xa5f745(0x2c3)]['interceptor']['fetchThroughInterceptors'](this[_0xa5f745(0x2c3)][_0xa5f745(0x36d)][_0xa5f745(0x1dc)]()[_0xa5f745(0x26a)]);return _0x2eb2f5==null||_0x2eb2f5[_0xa5f745(0x3d7)](_0x415b1a=>{const _0x518f6c=_0xa5f745,_0x532ce6=_0x415b1a['mutations'][_0x518f6c(0x385)](_0x595562=>({'id':_0x595562['id'],'params':JSON[_0x518f6c(0x1d2)](_0x595562[_0x518f6c(0x25d)])}));({..._0x415b1a,'mutations':_0x37ae2f(_0x532ce6,null)||_0x532ce6}[_0x518f6c(0x387)][_0x518f6c(0x3d7)](_0x43d94b=>{const _0x2f4350=_0x518f6c;this[_0x2f4350(0x1cd)][_0x2f4350(0x2aa)](_0x43d94b['id'])&&this[_0x2f4350(0x1cd)][_0x2f4350(0x27f)](_0x43d94b['id'],_0x43d94b[_0x2f4350(0x1f6)]);}));}),_0x48aa76;}};_0xa17f4a=_0xff9e8([_0x4d2673(0x0,_0x4cc1f5[_0x44ffc9(0x2fa)]),_0x4d2673(0x1,_0x2b1020['IUniverInstanceService']),_0x4d2673(0x2,_0x2b1020[_0x44ffc9(0x2e5)]),_0x4d2673(0x3,_0x2b1020[_0x44ffc9(0x2e2)]),_0x4d2673(0x4,_0x2b1020[_0x44ffc9(0x33e)](_0x4200f5['HTTPService'])),_0x4d2673(0x5,_0x2b1020[_0x44ffc9(0x33e)](_0x4cc1f5['CompressMutationService'])),_0x4d2673(0x6,_0x2b1020[_0x44ffc9(0x33e)](_0x22d459['SheetPermissionInitController']))],_0xa17f4a);function _0x18cb8b(_0xa38a12){const _0x26ea09=_0x44ffc9;var _0x681ab3,_0x443424;const _0x31eec8=[],{entities:_0x30066f,historyIds:_0xc32ac2}=_0xa38a12,{datas:_0x47d0bf,users:_0x2418ce}=_0x30066f;for(const _0x37abc9 of _0xc32ac2){const _0x44c202=_0x47d0bf[_0x37abc9];if(_0x44c202){const _0x3ed491=!!((_0x681ab3=_0x2418ce[_0x44c202[_0x26ea09(0x26f)]])!=null&&_0x681ab3[_0x26ea09(0x31c)]);_0x31eec8[_0x26ea09(0x2d0)]({'unitId':_0x44c202[_0x26ea09(0x340)],'user':_0x3ed491?'':((_0x443424=_0x2418ce==null?void 0x0:_0x2418ce[_0x44c202[_0x26ea09(0x26f)]])==null?void 0x0:_0x443424['name'])||'','isAnonymous':_0x3ed491,'id':_0x37abc9,'time':_0x44c202['createTime']?Number(_0x44c202[_0x26ea09(0x297)]):void 0x0,'commands':_0x44c202[_0x26ea09(0x2cf)],'startRev':Number(_0x44c202[_0x26ea09(0x3df)]),'endRev':Number(_0x44c202[_0x26ea09(0x246)]),'recoverTime':_0x44c202[_0x26ea09(0x21f)]?Number(_0x44c202[_0x26ea09(0x21f)]):void 0x0,'additionalFields':_0x44c202[_0x26ea09(0x3c3)]});}}return _0x31eec8;}var _0x14d274=Object[_0x44ffc9(0x2ab)],_0x329df6=(_0x25aca0,_0x569d2f,_0x1829f9,_0x43a95d)=>{for(var _0x46050b=_0x43a95d>0x1?void 0x0:_0x43a95d?_0x14d274(_0x569d2f,_0x1829f9):_0x569d2f,_0xd3dba6=_0x25aca0['length']-0x1,_0x5dbf9f;_0xd3dba6>=0x0;_0xd3dba6--)(_0x5dbf9f=_0x25aca0[_0xd3dba6])&&(_0x46050b=_0x5dbf9f(_0x46050b)||_0x46050b);return _0x46050b;},_0x4eb04c=(_0x2d6008,_0x3675ac)=>(_0x3ee82b,_0x1ca721)=>_0x3675ac(_0x3ee82b,_0x1ca721,_0x2d6008),_0x49205b=(_0x1b376b=>(_0x1b376b['Entered']=_0x44ffc9(0x1bc),_0x1b376b[_0x44ffc9(0x1c7)]='exited',_0x1b376b[_0x44ffc9(0x1f9)]='error',_0x1b376b))(_0x49205b||{}),_0x2adc54=(_0x49bdb3=>(_0x49bdb3[_0x44ffc9(0x311)]='init',_0x49bdb3[_0x44ffc9(0x1c9)]=_0x44ffc9(0x2d3),_0x49bdb3[_0x44ffc9(0x1d9)]=_0x44ffc9(0x3b8),_0x49bdb3))(_0x2adc54||{});const _0x938f55=_0x44ffc9(0x2dd);_0x1dc907[_0x44ffc9(0x358)]=class extends _0x2b1020[_0x44ffc9(0x35f)]{constructor(_0x4aa2f0,_0x422736,_0x4f18de,_0x549d3d){const _0x138b04=_0x44ffc9;super(),_0x216b91(this,_0x138b04(0x27b),new _0x23366c[(_0x138b04(0x224))]([])),_0x216b91(this,'versions$',this[_0x138b04(0x27b)]['asObservable']()),_0x216b91(this,'_currentVersion$',new _0x23366c[(_0x138b04(0x224))]('')),_0x216b91(this,_0x138b04(0x2fe),this['_currentVersion$'][_0x138b04(0x25b)]()),_0x216b91(this,_0x138b04(0x2a0),new _0x23366c[(_0x138b04(0x224))]('entered')),_0x216b91(this,_0x138b04(0x238),this['_status$'][_0x138b04(0x25b)]()),_0x216b91(this,_0x138b04(0x27e),new _0x23366c[(_0x138b04(0x224))](0x0)),_0x216b91(this,_0x138b04(0x324),this[_0x138b04(0x27e)][_0x138b04(0x25b)]()),_0x216b91(this,_0x138b04(0x22d),new _0x23366c[(_0x138b04(0x224))]('')),_0x216b91(this,_0x138b04(0x206),this[_0x138b04(0x22d)]['asObservable']()),_0x216b91(this,'_fetching$',new _0x23366c[(_0x138b04(0x224))](!0x1)),_0x216b91(this,_0x138b04(0x34f),this[_0x138b04(0x333)][_0x138b04(0x25b)]()),_0x216b91(this,_0x138b04(0x25c),new _0x23366c['BehaviorSubject']([])),_0x216b91(this,_0x138b04(0x239),this[_0x138b04(0x25c)][_0x138b04(0x25b)]()),_0x216b91(this,_0x138b04(0x1a3),new _0x23366c[(_0x138b04(0x224))](_0x138b04(0x1ab))),_0x216b91(this,_0x138b04(0x3c4),this[_0x138b04(0x1a3)]['asObservable']()),_0x216b91(this,_0x138b04(0x32e),null),_0x216b91(this,_0x138b04(0x234),!0x0),_0x216b91(this,'_members',new Map()),_0x216b91(this,_0x138b04(0x307)),_0x216b91(this,_0x138b04(0x202)),_0x216b91(this,_0x138b04(0x1c6)),_0x216b91(this,'_canRevert',!0x1),_0x216b91(this,_0x138b04(0x362),null),(this['_messageService']=_0x4aa2f0,this[_0x138b04(0x323)]=_0x422736,this[_0x138b04(0x2c2)]=_0x4f18de,this[_0x138b04(0x1d3)]=_0x549d3d);}['_setFetching'](_0xe6e6e7){const _0x1cf9cb=_0x44ffc9;this[_0x1cf9cb(0x333)][_0x1cf9cb(0x3a6)](_0xe6e6e7);}get['fetching'](){const _0x38bb09=_0x44ffc9;return this[_0x38bb09(0x333)][_0x38bb09(0x20a)];}async['triggerLoadVersions'](_0x32d49b,_0x524723,_0x4cc27d){const _0x3b5935=_0x44ffc9;this[_0x3b5935(0x307)]=_0x524723,this[_0x3b5935(0x33c)]=_0x4cc27d,await this[_0x3b5935(0x3f1)](_0x32d49b);}async['loadInitialVersions'](_0x1c1d39,_0x86185){const _0x3a4a88=_0x44ffc9;this[_0x3a4a88(0x22d)][_0x3a4a88(0x3a6)](_0x1c1d39),this[_0x3a4a88(0x362)]=_0x86185!=null?_0x86185:null,this[_0x3a4a88(0x262)](!0x0);const _0x4729c2=await this[_0x3a4a88(0x1d3)][_0x3a4a88(0x2f1)](_0x1c1d39,_0x86185);if(this[_0x3a4a88(0x262)](!0x1),_0x4729c2){const {versions:_0x78e73c,lastLabel:_0x4aae7f,hasMore:_0xd14bb4,members:_0x3ad314}=_0x4729c2;_0x78e73c[_0x3a4a88(0x35e)]===0x0&&_0x78e73c['push']({'unitId':_0x1c1d39,'id':_0x938f55,'startRev':0x1,'endRev':0x0,'time':Date[_0x3a4a88(0x2e7)](),'user':this[_0x3a4a88(0x2c2)]['t'](_0x3a4a88(0x1dd)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x78e73c,_0xd14bb4,_0x4aae7f,!0x1,_0x3ad314),this[_0x3a4a88(0x2bc)][_0x3a4a88(0x3a6)](_0x78e73c[0x0]['id']);}else this[_0x3a4a88(0x2a0)]['next']('error');}async[_0x44ffc9(0x3a0)](){const _0x316101=_0x44ffc9;if(!this[_0x316101(0x32e)]||!this['_hasMore']||this[_0x316101(0x1a5)])return!0x1;this[_0x316101(0x262)](!0x0);const _0x50321d=await this[_0x316101(0x1d3)][_0x316101(0x2f1)](this[_0x316101(0x340)],{'lastLabel':this['_lastLabel'],...this['_loadParams']});if(this['_setFetching'](!0x1),_0x50321d){const {versions:_0x3313fb,lastLabel:_0xa2f7c9,hasMore:_0x550c9e,members:_0x19122d}=_0x50321d;this[_0x316101(0x1ec)](_0x3313fb,_0x550c9e,_0xa2f7c9,!0x0,_0x19122d);}else this[_0x316101(0x263)][_0x316101(0x229)]({'content':this[_0x316101(0x2c2)]['t'](_0x316101(0x2b4)),'type':_0x197b1d['MessageType'][_0x316101(0x1f9)],'duration':0xbb8});return!0x0;}async[_0x44ffc9(0x211)](){const _0x42d864=_0x44ffc9,{unitId:_0x30eaf9}=this;if(!_0x30eaf9)return;const _0x319efb=await this[_0x42d864(0x1d3)][_0x42d864(0x2cc)](_0x30eaf9);_0x319efb&&this[_0x42d864(0x25c)][_0x42d864(0x3a6)](_0x319efb);}async['triggerLoadSheet'](_0x2ebb0d){const _0x5350f5=_0x44ffc9;var _0x204b02;const _0x43ccf4=(_0x204b02=this[_0x5350f5(0x27b)][_0x5350f5(0x20a)])==null?void 0x0:_0x204b02['find'](_0x56d215=>_0x56d215['id']===_0x2ebb0d),{endRev:_0x3b35f2}=_0x43ccf4||{};_0x3b35f2||_0x3b35f2===0x0?(this['_loadingState$']['next']('loading'),await this[_0x5350f5(0x1d3)][_0x5350f5(0x3e3)](this[_0x5350f5(0x340)],_0x3b35f2),this[_0x5350f5(0x1a3)]['next'](_0x5350f5(0x3b8))):this['_status$']['next'](_0x5350f5(0x1d6));}async[_0x44ffc9(0x2b5)](_0xb12b4b){const _0x5a5999=_0x44ffc9,_0x29888b=_0xb12b4b?this['getVersion'](_0xb12b4b):this[_0x5a5999(0x3d9)]();if(!_0x29888b)return;const _0x4c94a2=_0x29888b[_0x5a5999(0x394)],_0x21c3f8=_0x122189(_0x29888b['time'],this[_0x5a5999(0x2c2)][_0x5a5999(0x231)]());await this['_confirmService'][_0x5a5999(0x1a2)]({'id':_0x5a5999(0x338),'title':{'title':this[_0x5a5999(0x2c2)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x5a5999(0x2c2)]['t'](_0x5a5999(0x2ed))+_0x5a5999(0x39f)+_0x21c3f8['date']+'\x20'+_0x21c3f8['time']+')'},'cancelText':this[_0x5a5999(0x2c2)]['t'](_0x5a5999(0x25a)),'confirmText':this[_0x5a5999(0x2c2)]['t']('editHistory.panel.confirm')})&&this[_0x5a5999(0x27e)][_0x5a5999(0x3a6)](_0x4c94a2);}['_updateVersions'](_0x447614,_0x188f94,_0x275e41,_0x4039b6,_0x3676dd){const _0x5b9b55=_0x44ffc9;this[_0x5b9b55(0x1b0)](_0x4039b6?this['_versions$'][_0x5b9b55(0x20a)]['concat'](_0x447614):_0x447614),this['_hasMore']=_0x188f94,this[_0x5b9b55(0x32e)]=_0x275e41,_0x3676dd&&Object['keys'](_0x3676dd)[_0x5b9b55(0x3d7)](_0x45ca83=>this[_0x5b9b55(0x26b)][_0x5b9b55(0x23f)](_0x45ca83,_0x3676dd[_0x45ca83]));}[_0x44ffc9(0x3d9)](){const _0x347f78=_0x44ffc9;return this[_0x347f78(0x37e)](this[_0x347f78(0x2bc)][_0x347f78(0x20a)]);}[_0x44ffc9(0x1b0)](_0x2dc397){const _0x5b16c6=_0x44ffc9;this[_0x5b16c6(0x27b)][_0x5b16c6(0x3a6)](_0x2dc397);}['getVersion'](_0x35f459){var _0x6be990;return(_0x6be990=this['_versions$']['value'])==null?void 0x0:_0x6be990['find'](_0x124426=>_0x124426['id']===_0x35f459);}[_0x44ffc9(0x1ef)](_0x55ebe4){const _0x404ffd=_0x44ffc9;return this[_0x404ffd(0x26b)][_0x404ffd(0x282)](_0x55ebe4);}[_0x44ffc9(0x347)](){const _0xc604ba=_0x44ffc9;this[_0xc604ba(0x1c6)]=document[_0xc604ba(0x314)](_0xc604ba(0x365)),this[_0xc604ba(0x1c6)][_0xc604ba(0x35c)]=_0xc604ba(0x3b2),this[_0xc604ba(0x1c6)]['style'][_0xc604ba(0x378)]=_0xc604ba(0x2d9),this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x375)]='0',this[_0xc604ba(0x1c6)]['style'][_0xc604ba(0x21a)]='0',this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x38d)]='100%',this['_maskElement']['style'][_0xc604ba(0x3ad)]=_0xc604ba(0x299),this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x20d)]=_0xc604ba(0x376),this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x210)]='white',this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x29b)]='flex',this[_0xc604ba(0x1c6)]['style']['justifyContent']=_0xc604ba(0x240),this[_0xc604ba(0x1c6)][_0xc604ba(0x1ca)][_0xc604ba(0x36b)]=_0xc604ba(0x3eb),this[_0xc604ba(0x1c6)]['style']['display']=_0xc604ba(0x2b2),this[_0xc604ba(0x202)][_0xc604ba(0x28b)](this['_maskElement']);}[_0x44ffc9(0x367)](){const _0x148163=_0x44ffc9;var _0x3918c3;const _0x33409f=(_0x3918c3=document[_0x148163(0x2ba)](this['_historyContainerId']))==null?void 0x0:_0x3918c3[_0x148163(0x2db)](_0x148163(0x28d));_0x33409f&&(this[_0x148163(0x202)]=_0x33409f,this[_0x148163(0x347)]());}[_0x44ffc9(0x20e)](){const _0x333d9b=_0x44ffc9;this[_0x333d9b(0x202)]||this[_0x333d9b(0x367)](),this[_0x333d9b(0x1c6)]&&(this[_0x333d9b(0x1c6)]['style']['display']='flex');}[_0x44ffc9(0x2da)](){const _0x2408b9=_0x44ffc9;this[_0x2408b9(0x1c6)]&&(this[_0x2408b9(0x1c6)]['style'][_0x2408b9(0x29b)]=_0x2408b9(0x2b2));}set[_0x44ffc9(0x3f5)](_0x71498d){const _0x2217df=_0x44ffc9;this[_0x2217df(0x2a0)][_0x2217df(0x3a6)](_0x71498d);}set[_0x44ffc9(0x310)](_0x26759a){const _0x23053b=_0x44ffc9;_0x26759a!==this['_currentVersion$'][_0x23053b(0x20a)]&&this[_0x23053b(0x2bc)][_0x23053b(0x3a6)](_0x26759a);}get[_0x44ffc9(0x310)](){const _0x2b4286=_0x44ffc9;return this[_0x2b4286(0x2bc)][_0x2b4286(0x20a)];}set[_0x44ffc9(0x340)](_0x17e9e4){const _0x182033=_0x44ffc9;this['_unitId$'][_0x182033(0x3a6)](_0x17e9e4);}get[_0x44ffc9(0x340)](){const _0x35f325=_0x44ffc9;return this[_0x35f325(0x22d)][_0x35f325(0x20a)];}get[_0x44ffc9(0x37a)](){const _0x5bcfad=_0x44ffc9;return this[_0x5bcfad(0x33c)];}get['loadingState'](){const _0x4d0516=_0x44ffc9;return this[_0x4d0516(0x1a3)]['value'];}},_0x1dc907[_0x44ffc9(0x358)]=_0x329df6([_0x4eb04c(0x0,_0xd6c0fb[_0x44ffc9(0x3ec)]),_0x4eb04c(0x1,_0xd6c0fb[_0x44ffc9(0x259)]),_0x4eb04c(0x2,_0x2b1020[_0x44ffc9(0x33e)](_0x2b1020[_0x44ffc9(0x325)])),_0x4eb04c(0x3,_0x2b1020['Inject'](_0xa17f4a))],_0x1dc907[_0x44ffc9(0x358)]);function _0x1672cc({ref:_0x49a443,..._0x28ff09}){const _0x278364=_0x44ffc9,{icon:_0x2ef8bf,id:_0x27362f,className:_0x654625,extend:_0x1691a3,..._0x4a89e0}=_0x28ff09,_0x1f0953=('univerjs-icon\x20univerjs-icon-'+_0x27362f+'\x20'+(_0x654625||''))[_0x278364(0x264)](),_0x2fc893=_0x2cee47[_0x278364(0x361)]('_'+_0x307ff8());return _0x35b1c5(_0x2ef8bf,''+_0x27362f,{'defIds':_0x2ef8bf[_0x278364(0x2f2)],'idSuffix':_0x2fc893[_0x278364(0x34b)]},{'ref':_0x49a443,'className':_0x1f0953,..._0x4a89e0},_0x1691a3);}function _0x35b1c5(_0x5e5295,_0x6eff5a,_0x589366,_0x3ffcc8,_0x4c83bb){const _0x1937c7=_0x44ffc9;return _0x2cee47['createElement'](_0x5e5295[_0x1937c7(0x284)],{'key':_0x6eff5a,..._0x2c25ea(_0x5e5295,_0x589366,_0x4c83bb),..._0x3ffcc8},(_0xe6472d(_0x5e5295,_0x589366)['children']||[])[_0x1937c7(0x385)]((_0x229459,_0x1e942f)=>_0x35b1c5(_0x229459,_0x6eff5a+'-'+_0x5e5295[_0x1937c7(0x284)]+'-'+_0x1e942f,_0x589366,void 0x0,_0x4c83bb)));}function _0x2c25ea(_0x5d9167,_0x428b01,_0x5d99c8){const _0x1ae68d=_0x44ffc9,_0x15e981={..._0x5d9167['attrs']};_0x5d99c8!=null&&_0x5d99c8[_0x1ae68d(0x23e)]&&_0x15e981[_0x1ae68d(0x315)]==='colorChannel1'&&(_0x15e981[_0x1ae68d(0x315)]=_0x5d99c8[_0x1ae68d(0x23e)]),_0x5d9167[_0x1ae68d(0x284)]===_0x1ae68d(0x2ad)&&_0x15e981['id']&&(_0x15e981['id']=_0x15e981['id']+_0x428b01[_0x1ae68d(0x2c5)]),Object['entries'](_0x15e981)[_0x1ae68d(0x3d7)](([_0x4fcaa5,_0x2a9027])=>{const _0x24d29d=_0x1ae68d;_0x4fcaa5===_0x24d29d(0x2ad)&&typeof _0x2a9027=='string'&&(_0x15e981[_0x4fcaa5]=_0x2a9027[_0x24d29d(0x216)](/url\(#(.*)\)/,_0x24d29d(0x2a4)+_0x428b01[_0x24d29d(0x2c5)]+')'));});const {defIds:_0x21f200}=_0x428b01;return!_0x21f200||_0x21f200[_0x1ae68d(0x35e)]===0x0||(_0x5d9167[_0x1ae68d(0x284)]===_0x1ae68d(0x1f0)&&_0x15e981[_0x1ae68d(0x3ef)]&&(_0x15e981[_0x1ae68d(0x3ef)]=_0x15e981['xlink:href']+_0x428b01[_0x1ae68d(0x2c5)]),Object['entries'](_0x15e981)[_0x1ae68d(0x3d7)](([_0x3bc3fe,_0x134d2f])=>{const _0x2339ad=_0x1ae68d;typeof _0x134d2f==_0x2339ad(0x2ce)&&(_0x15e981[_0x3bc3fe]=_0x134d2f[_0x2339ad(0x216)](/url\(#(.*)\)/,_0x2339ad(0x2a4)+_0x428b01[_0x2339ad(0x2c5)]+')'));})),_0x15e981;}function _0xe6472d(_0x662685,_0x497643){const _0x3dd2dc=_0x44ffc9;var _0x5599f8;const {defIds:_0x53b318}=_0x497643;return!_0x53b318||_0x53b318[_0x3dd2dc(0x35e)]===0x0?_0x662685:_0x662685[_0x3dd2dc(0x284)]===_0x3dd2dc(0x3e0)&&((_0x5599f8=_0x662685['children'])!=null&&_0x5599f8[_0x3dd2dc(0x35e)])?{..._0x662685,'children':_0x662685[_0x3dd2dc(0x2ac)][_0x3dd2dc(0x385)](_0x587ca9=>typeof _0x587ca9['attrs']['id']==_0x3dd2dc(0x2ce)&&_0x53b318&&_0x53b318[_0x3dd2dc(0x38e)](_0x587ca9[_0x3dd2dc(0x3d0)]['id'])?{..._0x587ca9,'attrs':{..._0x587ca9[_0x3dd2dc(0x3d0)],'id':_0x587ca9[_0x3dd2dc(0x3d0)]['id']+_0x497643[_0x3dd2dc(0x2c5)]}}:_0x587ca9)}:_0x662685;}function _0x307ff8(){const _0x3077b3=_0x44ffc9;return Math[_0x3077b3(0x21b)]()[_0x3077b3(0x2c9)](0x24)['substring'](0x2,0x8);}_0x1672cc[_0x44ffc9(0x3a4)]=_0x44ffc9(0x1aa);const _0x3dd1cb={'tag':'svg','attrs':{'xmlns':_0x44ffc9(0x316),'fill':_0x44ffc9(0x2b2),'viewBox':_0x44ffc9(0x3f4),'width':'1em','height':_0x44ffc9(0x3a1)},'children':[{'tag':_0x44ffc9(0x3b4),'attrs':{'fill':_0x44ffc9(0x301),'d':_0x44ffc9(0x312)}}]},_0x505d3e=_0x2cee47[_0x44ffc9(0x2d4)](function(_0x507416,_0x79fa1d){const _0x5b5d98=_0x44ffc9;return _0x2cee47['createElement'](_0x1672cc,Object[_0x5b5d98(0x2de)]({},_0x507416,{'id':'back-icon','ref':_0x79fa1d,'icon':_0x3dd1cb}));});_0x505d3e['displayName']='BackIcon';const _0x562d82={'tag':_0x44ffc9(0x1d4),'attrs':{'xmlns':_0x44ffc9(0x316),'fill':_0x44ffc9(0x2b2),'viewBox':_0x44ffc9(0x1e6),'width':_0x44ffc9(0x3a1),'height':_0x44ffc9(0x3a1)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x44ffc9(0x3b4),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':_0x44ffc9(0x3b4),'attrs':{'d':_0x44ffc9(0x337),'fillRule':_0x44ffc9(0x3c0),'clipRule':_0x44ffc9(0x3c0)}}]},{'tag':_0x44ffc9(0x3e0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x44ffc9(0x235)},'children':[{'tag':_0x44ffc9(0x225),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x44ffc9(0x3e5),'rx':0x4}}]}]}],'defIds':[_0x44ffc9(0x235)]},_0x97c456=_0x2cee47[_0x44ffc9(0x2d4)](function(_0x327fea,_0x3fd3f5){const _0x325350=_0x44ffc9;return _0x2cee47['createElement'](_0x1672cc,Object['assign']({},_0x327fea,{'id':_0x325350(0x300),'ref':_0x3fd3f5,'icon':_0x562d82}));});_0x97c456[_0x44ffc9(0x3a4)]=_0x44ffc9(0x28c);const _0x45cef8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44ffc9(0x2b2),'viewBox':'0\x200\x2016\x2016','width':_0x44ffc9(0x3a1),'height':_0x44ffc9(0x3a1)},'children':[{'tag':_0x44ffc9(0x3b4),'attrs':{'fill':'#0B9EFB','d':_0x44ffc9(0x241),'fillOpacity':0.2,'fillRule':_0x44ffc9(0x3c0),'clipRule':_0x44ffc9(0x3c0)}},{'tag':_0x44ffc9(0x3b4),'attrs':{'fill':_0x44ffc9(0x285),'d':_0x44ffc9(0x1a6),'fillRule':'evenodd','clipRule':_0x44ffc9(0x3c0)}}]},_0x360cfe=_0x2cee47[_0x44ffc9(0x2d4)](function(_0x1cd5c9,_0x3d6def){const _0xac4abb=_0x44ffc9;return _0x2cee47[_0xac4abb(0x314)](_0x1672cc,Object[_0xac4abb(0x2de)]({},_0x1cd5c9,{'id':'loading-multi-icon','ref':_0x3d6def,'icon':_0x45cef8}));});_0x360cfe[_0x44ffc9(0x3a4)]=_0x44ffc9(0x1ff);function _0x402cd4(){const _0x230964=_0x44ffc9;var _0x231f00;const _0x43a30a=_0xd6c0fb['useDependency'](_0x1dc907[_0x230964(0x358)]),_0x3f74d0=_0xd6c0fb[_0x230964(0x1a4)](_0x2b1020[_0x230964(0x325)]),_0x5500fa=_0x2cee47[_0x230964(0x346)](()=>{const _0x29a199=_0x230964;_0x43a30a['status']=_0x49205b[_0x29a199(0x1c7)];},[_0x43a30a]),_0x287e8b=_0x2cee47[_0x230964(0x346)](()=>{_0x43a30a['triggerRevert']();},[_0x43a30a]),_0x1a4296=_0xd6c0fb[_0x230964(0x227)](_0x43a30a[_0x230964(0x2fe)]),_0x2afe41=_0xd6c0fb[_0x230964(0x227)](_0x43a30a[_0x230964(0x207)]),_0x26351f=_0x1a4296===((_0x231f00=_0x2afe41==null?void 0x0:_0x2afe41[0x0])==null?void 0x0:_0x231f00['id']),_0xdf3e3=_0x1a4296!==''&&!_0x26351f&&_0x43a30a[_0x230964(0x37a)];return _0x3d7079['jsxs'](_0x230964(0x365),{'className':_0x197b1d[_0x230964(0x3ab)](_0x230964(0x296),_0x197b1d['borderBottomClassName']),'children':[_0x3d7079[_0x230964(0x3c8)]('a',{'className':_0x230964(0x2e1),'role':_0x230964(0x3dc),'onClick':_0x5500fa,'children':_0x3d7079[_0x230964(0x3c8)](_0x505d3e,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),_0x3d7079['jsx']('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0xdf3e3&&_0x3d7079['jsx'](_0x197b1d[_0x230964(0x2e0)],{'variant':_0x230964(0x348),'onClick':_0x287e8b,'children':_0x3f74d0['t']('editHistory.header.revert')})})]});}var _0x44c217=Object['getOwnPropertyDescriptor'],_0x50ebbe=(_0x2b8f91,_0x375167,_0x47f540,_0x2ff84f)=>{const _0x414d3d=_0x44ffc9;for(var _0x3d18f6=_0x2ff84f>0x1?void 0x0:_0x2ff84f?_0x44c217(_0x375167,_0x47f540):_0x375167,_0x482d08=_0x2b8f91[_0x414d3d(0x35e)]-0x1,_0x2694a0;_0x482d08>=0x0;_0x482d08--)(_0x2694a0=_0x2b8f91[_0x482d08])&&(_0x3d18f6=_0x2694a0(_0x3d18f6)||_0x3d18f6);return _0x3d18f6;},_0x1d8144=(_0x3f09b6,_0x412e70)=>(_0x3a8dc0,_0x1f95e0)=>_0x412e70(_0x3a8dc0,_0x1f95e0,_0x3f09b6);let _0x3a1d7e=class extends _0x2b1020[_0x44ffc9(0x35f)]{constructor(_0x3423bb,_0x52bb89,_0x5a6289,_0x136599,_0x3fdc47,_0x3ad32f){const _0x24e82e=_0x44ffc9;super(),this['_permissionService']=_0x3423bb,this[_0x24e82e(0x1cf)]=_0x52bb89,this['_messageService']=_0x5a6289,this['_localeService']=_0x136599,this[_0x24e82e(0x201)]=_0x3fdc47,this['_injector']=_0x3ad32f,this['_init']();}[_0x44ffc9(0x25e)](){const _0x5a3134=_0x44ffc9;this[_0x5a3134(0x3bb)](this[_0x5a3134(0x201)]['currentVersion$'][_0x5a3134(0x364)](_0x5bbc07=>{const _0xd97909=_0x5a3134;_0x5bbc07&&this['_historyManagerService'][_0xd97909(0x3a9)](_0x5bbc07);})),this[_0x5a3134(0x3bb)](this[_0x5a3134(0x2be)][_0x5a3134(0x281)][_0x5a3134(0x364)](_0x20f9d1=>{const _0x454fae=_0x5a3134,_0x26c6a5=this[_0x454fae(0x201)][_0x454fae(0x340)];_0x26c6a5&&(_0x20f9d1['subType']===_0x595cfb[_0x454fae(0x1fc)]&&_0x20f9d1['value']===!0x0&&this[_0x454fae(0x2be)][_0x454fae(0x2f3)](new _0x22d459['WorkbookEditablePermission'](_0x26c6a5)['id'],!0x1),_0x20f9d1[_0x454fae(0x1e1)]===_0x595cfb['RenameSheet']&&_0x20f9d1['value']===!0x0&&this['_permissionService'][_0x454fae(0x2f3)](new _0x22d459[(_0x454fae(0x3c2))](_0x26c6a5)['id'],!0x1),_0x20f9d1[_0x454fae(0x1e1)]===_0x595cfb['MoveSheet']&&_0x20f9d1['value']===!0x0&&this['_permissionService'][_0x454fae(0x2f3)](new _0x22d459['WorkbookMoveSheetPermission'](_0x26c6a5)['id'],!0x1),_0x20f9d1[_0x454fae(0x1e1)]===_0x595cfb[_0x454fae(0x1a8)]&&_0x20f9d1[_0x454fae(0x20a)]===!0x0&&this['_permissionService'][_0x454fae(0x2f3)](new _0x22d459[(_0x454fae(0x327))](_0x26c6a5)['id'],!0x1),_0x20f9d1[_0x454fae(0x1e1)]===_0x595cfb[_0x454fae(0x2d2)]&&_0x20f9d1[_0x454fae(0x20a)]===!0x0&&this[_0x454fae(0x2be)][_0x454fae(0x2f3)](new _0x22d459[(_0x454fae(0x381))](_0x26c6a5)['id'],!0x1),_0x20f9d1[_0x454fae(0x1e1)]===_0x595cfb['FloatImg']&&_0x20f9d1[_0x454fae(0x20a)]===!0x0&&this[_0x454fae(0x2be)][_0x454fae(0x2f3)](new _0x22d459[(_0x454fae(0x381))](_0x26c6a5)['id'],!0x1));})),this[_0x5a3134(0x3bb)](this['_uiPartsService'][_0x5a3134(0x1a1)](_0xd6c0fb[_0x5a3134(0x275)][_0x5a3134(0x1ac)],()=>_0xd6c0fb[_0x5a3134(0x1af)](_0x402cd4,this[_0x5a3134(0x3b7)])));let _0x556d33;this[_0x5a3134(0x3bb)](this['_historyManagerService'][_0x5a3134(0x3c4)][_0x5a3134(0x364)](_0x4a86d9=>{const _0x257569=_0x5a3134;_0x556d33==null||_0x556d33[_0x257569(0x2ee)](),_0x4a86d9===_0x2adc54[_0x257569(0x1c9)]&&(this[_0x257569(0x201)][_0x257569(0x20e)](),_0x556d33=this[_0x257569(0x263)][_0x257569(0x229)]({'type':_0x197b1d[_0x257569(0x3ae)][_0x257569(0x3c9)],'content':this[_0x257569(0x2c2)]['t'](_0x257569(0x3dd))})),_0x4a86d9===_0x2adc54[_0x257569(0x1d9)]&&this[_0x257569(0x201)][_0x257569(0x2da)]();}));}};_0x3a1d7e=_0x50ebbe([_0x1d8144(0x0,_0x2b1020[_0x44ffc9(0x35a)]),_0x1d8144(0x1,_0xd6c0fb[_0x44ffc9(0x208)]),_0x1d8144(0x2,_0xd6c0fb[_0x44ffc9(0x3ec)]),_0x1d8144(0x3,_0x2b1020[_0x44ffc9(0x33e)](_0x2b1020[_0x44ffc9(0x325)])),_0x1d8144(0x4,_0x2b1020[_0x44ffc9(0x33e)](_0x1dc907[_0x44ffc9(0x358)])),_0x1d8144(0x5,_0x2b1020['Inject'](_0x2b1020['Injector']))],_0x3a1d7e);var _0xa26c03=Object[_0x44ffc9(0x2ab)],_0x5dd3d3=(_0x1c86fa,_0x48e116,_0x540d6b,_0x55ead4)=>{const _0x5adcd0=_0x44ffc9;for(var _0x50c357=_0x55ead4>0x1?void 0x0:_0x55ead4?_0xa26c03(_0x48e116,_0x540d6b):_0x48e116,_0x9f4c0c=_0x1c86fa[_0x5adcd0(0x35e)]-0x1,_0x22292c;_0x9f4c0c>=0x0;_0x9f4c0c--)(_0x22292c=_0x1c86fa[_0x9f4c0c])&&(_0x50c357=_0x22292c(_0x50c357)||_0x50c357);return _0x50c357;},_0x493742=(_0x52b295,_0x3824c6)=>(_0x24ec49,_0x1cd6e3)=>_0x3824c6(_0x24ec49,_0x1cd6e3,_0x52b295);let _0x1d4592=class extends _0x2b1020[_0x44ffc9(0x35f)]{constructor(_0x1ca95c,_0xa58e29,_0x3ebe8f){const _0x76abc8=_0x44ffc9;super(),_0x216b91(this,_0x76abc8(0x24c),new Map()),_0x216b91(this,_0x76abc8(0x34c),new _0x23366c[(_0x76abc8(0x224))]({'ranges':new Map(),'active':null})),_0x216b91(this,_0x76abc8(0x292),this[_0x76abc8(0x34c)][_0x76abc8(0x25b)]()),(this[_0x76abc8(0x201)]=_0x1ca95c,this[_0x76abc8(0x3f3)]=_0xa58e29,this[_0x76abc8(0x3de)]=_0x3ebe8f,this[_0x76abc8(0x25e)]());}['_init'](){const _0x4e742b=_0x44ffc9;this[_0x4e742b(0x24c)]=new Map(),this[_0x4e742b(0x3bb)](this[_0x4e742b(0x201)][_0x4e742b(0x206)]['subscribe'](_0x34ab40=>{const _0x497910=_0x4e742b;_0x34ab40&&!this['_diffRangesMap'][_0x497910(0x2b1)](_0x34ab40)&&this['_diffRangesMap'][_0x497910(0x23f)](_0x34ab40,new Map());})),this['disposeWithMe'](this[_0x4e742b(0x201)]['currentVersion$'][_0x4e742b(0x364)](async _0x374a79=>{const _0x2f3768=_0x4e742b;var _0x360b22;_0x374a79&&(await this[_0x2f3768(0x1de)](_0x374a79),this[_0x2f3768(0x34c)][_0x2f3768(0x3a6)](((_0x360b22=this[_0x2f3768(0x24c)][_0x2f3768(0x282)](this['_historyManagerService'][_0x2f3768(0x340)]))==null?void 0x0:_0x360b22[_0x2f3768(0x282)](_0x374a79))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x4a6050){const _0x367ebb=_0x44ffc9;var _0x4ee1ff,_0x40d51b;const _0x308ad6=this[_0x367ebb(0x201)][_0x367ebb(0x37e)](_0x4a6050),_0x234927=this[_0x367ebb(0x201)][_0x367ebb(0x340)];if(!_0x308ad6||!_0x234927)return;const _0x453717=this[_0x367ebb(0x24c)][_0x367ebb(0x282)](_0x234927);if(_0x453717||this[_0x367ebb(0x24c)][_0x367ebb(0x23f)](_0x234927,new Map()),(_0x4ee1ff=this['_diffRangesMap'][_0x367ebb(0x282)](_0x234927))!=null&&_0x4ee1ff[_0x367ebb(0x2b1)](_0x308ad6['id']))return;const {startRev:_0x15e8bf,endRev:_0x289609}=_0x308ad6;if(_0x15e8bf===0x1){_0x453717['set'](_0x308ad6['id'],{'ranges':new Map(),'active':null});return;}const _0x1e8105=_0x15e8bf-0x1,_0x430139=_0x289609,_0x311e98=await this[_0x367ebb(0x3de)][_0x367ebb(0x3ce)]({},{'unitID':_0x234927,'from':_0x1e8105,'to':_0x430139,'type':_0x3fc599[_0x367ebb(0x23c)]});if(((_0x40d51b=_0x311e98[_0x367ebb(0x1d6)])==null?void 0x0:_0x40d51b['code'])===_0xc7a7f3['OK']){const _0x3a545b=_0x311e98[_0x367ebb(0x1d0)]['map'](_0x549a6b=>((_0x549a6b[_0x367ebb(0x387)]===null||_0x549a6b[_0x367ebb(0x387)]===void 0x0)&&(_0x549a6b[_0x367ebb(0x387)]=[]),_0x4cc1f5[_0x367ebb(0x260)](_0x549a6b)))[_0x367ebb(0x385)](_0x58ead4=>_0x58ead4[_0x367ebb(0x387)][_0x367ebb(0x385)](_0x507d50=>({..._0x507d50,'params':{..._0x507d50[_0x367ebb(0x1f6)],'memberId':_0x58ead4[_0x367ebb(0x3c6)]}})))[_0x367ebb(0x373)](),_0x196391=await this[_0x367ebb(0x32f)](_0x3a545b),_0x21e8c8=this['_getActiveSubUnitId'](_0x3a545b),_0x56d437=this[_0x367ebb(0x339)](_0x196391);_0x453717['set'](_0x308ad6['id'],{'ranges':_0x56d437,'active':_0x21e8c8});}}async[_0x44ffc9(0x32f)](_0x26e1e4){const _0x1d605c=_0x44ffc9;let _0x482dab=[];for(let _0x1b1ecb=0x0;_0x1b1ecb<_0x26e1e4[_0x1d605c(0x35e)];_0x1b1ecb++){const _0x2a0916=_0x26e1e4[_0x1b1ecb];if(_0x482dab['push'](_0x2a0916),_0x1b1ecb!==_0x26e1e4[_0x1d605c(0x35e)]-0x1){const _0x32d413=_0x26e1e4[_0x1b1ecb+0x1],_0x54b741=this[_0x1d605c(0x3f3)]['transformMutations'](_0x482dab,[_0x32d413]);_0x4cc1f5['isTransformMutationsSuccess'](_0x54b741)?_0x482dab=_0x54b741[_0x1d605c(0x3d5)]:_0x482dab=[];}_0x1b1ecb%0xa===0x0&&_0x1b1ecb>0x0&&await this[_0x1d605c(0x377)]();}return _0x482dab;}['_yieldToMain'](){return new Promise(_0x4eb926=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x4eb926(),{'timeout':0x64}):setTimeout(_0x4eb926,0x0);});}['_getActiveSubUnitId'](_0x508fe6){const _0x4898e9=_0x44ffc9;let _0x5d2e2e=[];return _0x508fe6[_0x4898e9(0x3d7)](_0x3923c2=>{const _0x406ca5=_0x4898e9;if(_0x3923c2['id']===_0x22d459[_0x406ca5(0x294)]['id']){const _0x76dc32=_0x3923c2['params'];_0x5d2e2e[_0x406ca5(0x2d0)](_0x76dc32[_0x406ca5(0x3c5)]['id']);}else{if(_0x3923c2['id']===_0x22d459['RemoveSheetMutation']['id']){const _0xa22022=_0x3923c2[_0x406ca5(0x1f6)];_0x5d2e2e[_0x406ca5(0x35e)]>0x0&&(_0x5d2e2e=_0x5d2e2e[_0x406ca5(0x223)](_0x2356cd=>_0x2356cd!==_0xa22022[_0x406ca5(0x32c)]));}else{if(_0x3923c2['id']===_0x22d459[_0x406ca5(0x39b)]['id']){const _0x1d8287=_0x3923c2[_0x406ca5(0x1f6)];_0x1d8287['hidden']?_0x5d2e2e=_0x5d2e2e[_0x406ca5(0x223)](_0x55454d=>_0x55454d!==_0x1d8287[_0x406ca5(0x32c)]):_0x5d2e2e['push'](_0x1d8287[_0x406ca5(0x32c)]);}else{const _0x58d7ea=_0x3923c2['params'];_0x58d7ea[_0x406ca5(0x32c)]&&_0x5d2e2e['push'](_0x58d7ea[_0x406ca5(0x32c)]);}}}}),_0x5d2e2e[_0x4898e9(0x35e)]>0x0?_0x5d2e2e[_0x5d2e2e[_0x4898e9(0x35e)]-0x1]:null;}['_extractRanges'](_0x1565bf){const _0x1723cc=_0x44ffc9,_0x3c1bbc=new Map();return _0x1565bf['forEach'](_0x1f9449=>{const _0x508c49=_0x1597;var _0x27a5cc,_0x582a5c;const _0x4ec578=(_0x27a5cc=_0x1f9449[_0x508c49(0x1f6)])==null?void 0x0:_0x27a5cc['memberId'];if(_0x4ec578){_0x3c1bbc['has'](_0x4ec578)||_0x3c1bbc['set'](_0x4ec578,[]);const _0x40302f=this[_0x508c49(0x1f8)](_0x1f9449);(_0x582a5c=_0x3c1bbc['get'](_0x4ec578))==null||_0x582a5c[_0x508c49(0x2d0)](..._0x40302f);}}),_0x3c1bbc[_0x1723cc(0x3d7)]((_0x2a4ddf,_0x288801)=>{const _0xe485d8=_0x1723cc;_0x3c1bbc['set'](_0x288801,this[_0xe485d8(0x390)](_0x2a4ddf));}),_0x3c1bbc;}[_0x44ffc9(0x1f8)](_0x255997){const _0x43eb63=_0x44ffc9;switch(_0x255997['id']){case _0x22d459[_0x43eb63(0x3cf)]['id']:{const _0x37250a=_0x255997['params'];return _0x37250a['rules']['map'](_0xab3bd6=>_0xab3bd6['ranges']['map'](_0x1b00f0=>({'range':_0x1b00f0,'unitId':_0x37250a[_0x43eb63(0x340)],'subUnitId':_0x37250a[_0x43eb63(0x32c)]})))[_0x43eb63(0x373)]();}case _0x22d459[_0x43eb63(0x34e)]['id']:{const _0x54c4b2=_0x255997[_0x43eb63(0x1f6)];return _0x54c4b2['ranges'][_0x43eb63(0x385)](_0x4e431e=>({'range':_0x4e431e,'unitId':_0x54c4b2[_0x43eb63(0x340)],'subUnitId':_0x54c4b2[_0x43eb63(0x32c)]}));}case _0x22d459[_0x43eb63(0x247)]['id']:{const _0x889097=_0x255997[_0x43eb63(0x1f6)];return[{'range':_0x889097[_0x43eb63(0x3cc)],'unitId':_0x889097[_0x43eb63(0x340)],'subUnitId':_0x889097[_0x43eb63(0x32c)]}];}case _0x22d459['InsertColMutation']['id']:{const _0x4a33d0=_0x255997[_0x43eb63(0x1f6)];return[{'range':_0x4a33d0['range'],'unitId':_0x4a33d0[_0x43eb63(0x340)],'subUnitId':_0x4a33d0[_0x43eb63(0x32c)]}];}case _0x22d459['MoveRangeMutation']['id']:{const _0x27e0cd=_0x255997[_0x43eb63(0x1f6)],{from:_0x47f0a8,to:_0x1694b9,unitId:_0x898f8d}=_0x27e0cd;return[{'range':_0x29e3a1(_0x47f0a8[_0x43eb63(0x20a)]),'unitId':_0x898f8d,'subUnitId':_0x47f0a8[_0x43eb63(0x32c)]},{'range':_0x29e3a1(_0x1694b9[_0x43eb63(0x20a)]),'unitId':_0x898f8d,'subUnitId':_0x1694b9['subUnitId']}];}case _0x22d459[_0x43eb63(0x1a9)]['id']:{const _0xb24151=_0x255997[_0x43eb63(0x1f6)],{unitId:_0x561bf0,subUnitId:_0x40590b,sourceRange:_0x335a5c,targetRange:_0x562a50}=_0xb24151,_0x1fe754=_0x335a5c[_0x43eb63(0x2f9)]-_0x335a5c[_0x43eb63(0x268)]+0x1;return[{'range':_0x562a50[_0x43eb63(0x268)]<=_0x335a5c[_0x43eb63(0x268)]?_0x562a50:{..._0x562a50,'startRow':_0x562a50[_0x43eb63(0x268)]-_0x1fe754,'endRow':_0x562a50[_0x43eb63(0x2f9)]-_0x1fe754},'unitId':_0x561bf0,'subUnitId':_0x40590b}];}case _0x22d459['MoveColsMutation']['id']:{const _0x403e46=_0x255997[_0x43eb63(0x1f6)],{unitId:_0x277dca,subUnitId:_0x5ed917,sourceRange:_0x477971,targetRange:_0x5be9e1}=_0x403e46,_0xb19d7c=_0x477971['endColumn']-_0x477971['startColumn']+0x1;return[{'range':_0x5be9e1['startColumn']<=_0x477971[_0x43eb63(0x28f)]?_0x5be9e1:{..._0x5be9e1,'startColumn':_0x5be9e1[_0x43eb63(0x28f)]-_0xb19d7c,'endColumn':_0x5be9e1[_0x43eb63(0x3f0)]-_0xb19d7c},'unitId':_0x277dca,'subUnitId':_0x5ed917}];}case _0x22d459[_0x43eb63(0x286)]['id']:{const _0x1fb96f=_0x255997[_0x43eb63(0x1f6)],{values:_0x576c8c,unitId:_0x14941e,subUnitId:_0x5adddd}=_0x1fb96f;return Object['values'](_0x576c8c)[_0x43eb63(0x385)](_0x512e4e=>_0x512e4e[_0x43eb63(0x1da)][_0x43eb63(0x385)](_0x2709bf=>({'range':_0x2709bf,'unitId':_0x14941e,'subUnitId':_0x5adddd})))[_0x43eb63(0x373)]();}case _0x22d459[_0x43eb63(0x371)]['id']:{const _0x489347=_0x255997[_0x43eb63(0x1f6)],{ranges:_0x1fd9bc,unitId:_0x41a020,subUnitId:_0x42c37b}=_0x489347;return _0x1fd9bc[_0x43eb63(0x385)](_0x13cbc0=>({'range':_0x13cbc0,'unitId':_0x41a020,'subUnitId':_0x42c37b}));}case _0x22d459['ReorderRangeMutation']['id']:{const _0x5bd411=_0x255997['params'],{unitId:_0x19031e,subUnitId:_0xcb83db,range:_0x2fc422}=_0x5bd411;return[{'range':_0x2fc422,'unitId':_0x19031e,'subUnitId':_0xcb83db}];}case _0x22d459[_0x43eb63(0x352)]['id']:{const _0x39ed38=_0x255997[_0x43eb63(0x1f6)];return _0x39ed38[_0x43eb63(0x37c)][_0x43eb63(0x1da)][_0x43eb63(0x385)](_0x17d1c6=>({'range':_0x17d1c6,'unitId':_0x39ed38[_0x43eb63(0x340)],'subUnitId':_0x39ed38[_0x43eb63(0x32c)]}));}case _0x22d459[_0x43eb63(0x39e)]['id']:{const _0x274740=_0x255997[_0x43eb63(0x1f6)];return _0x274740[_0x43eb63(0x30c)]?_0x1c5df7(_0x274740['cellValue'])[_0x43eb63(0x385)](_0x1d7a35=>({'range':_0x1d7a35,'unitId':_0x274740['unitId'],'subUnitId':_0x274740[_0x43eb63(0x32c)]})):[];}case _0x3b8e1d[_0x43eb63(0x2b3)]['id']:{const _0x3ba1a4=_0x255997['params'];return[{'range':_0x3ba1a4[_0x43eb63(0x3cc)],'unitId':_0x3ba1a4[_0x43eb63(0x340)],'subUnitId':_0x3ba1a4[_0x43eb63(0x32c)]}];}case _0x25fe08['AddDataValidationMutation']['id']:{const _0x3f11fc=_0x255997[_0x43eb63(0x1f6)];return(Array[_0x43eb63(0x360)](_0x3f11fc[_0x43eb63(0x37c)])?_0x3f11fc[_0x43eb63(0x37c)]:[_0x3f11fc[_0x43eb63(0x37c)]])['map'](_0x522273=>_0x522273[_0x43eb63(0x1da)][_0x43eb63(0x385)](_0x3098ae=>({'range':_0x3098ae,'unitId':_0x3f11fc[_0x43eb63(0x340)],'subUnitId':_0x3f11fc[_0x43eb63(0x32c)]})))[_0x43eb63(0x373)]();}case _0x42b7a9[_0x43eb63(0x2ef)]['id']:{const _0x343f9e=_0x255997[_0x43eb63(0x1f6)];return _0x343f9e[_0x43eb63(0x37c)]['ranges']['map'](_0x50c27a=>({'range':_0x50c27a,'unitId':_0x343f9e[_0x43eb63(0x340)],'subUnitId':_0x343f9e['subUnitId']}));}default:return[];}}[_0x44ffc9(0x390)](_0x1fcf5f){const _0x561d12=_0x44ffc9;if(_0x1fcf5f[_0x561d12(0x35e)]<=0x1)return _0x1fcf5f;const _0x22f781=new Map();return _0x1fcf5f['forEach'](_0x40d6f2=>{const _0x2177d4=_0x561d12;var _0x1323ef;const {unitId:_0x4c706b,subUnitId:_0x26b063}=_0x40d6f2,_0x428b19=_0x4c706b+'-'+_0x26b063;_0x22f781[_0x2177d4(0x2b1)](_0x428b19)?(_0x1323ef=_0x22f781[_0x2177d4(0x282)](_0x428b19))==null||_0x1323ef[_0x2177d4(0x2d0)](_0x40d6f2):_0x22f781['set'](_0x428b19,[_0x40d6f2]);}),Array[_0x561d12(0x2e3)](_0x22f781[_0x561d12(0x1c0)]())[_0x561d12(0x385)](_0x4950de=>new _0x22d459[(_0x561d12(0x37f))]()['add'](..._0x4950de[_0x561d12(0x385)](_0x5ef00c=>_0x5ef00c['range']))['merge']()[_0x561d12(0x385)](_0x46943f=>({'range':_0x46943f,'unitId':_0x4950de[0x0][_0x561d12(0x340)],'subUnitId':_0x4950de[0x0][_0x561d12(0x32c)]})))[_0x561d12(0x373)]();}};_0x1d4592=_0x5dd3d3([_0x493742(0x0,_0x2b1020[_0x44ffc9(0x33e)](_0x1dc907[_0x44ffc9(0x358)])),_0x493742(0x1,_0x4cc1f5[_0x44ffc9(0x305)]),_0x493742(0x2,_0x4cc1f5['ISnapshotServerService'])],_0x1d4592);function _0x29e3a1(_0x56a62d){const _0x373b1e=_0x44ffc9;return new _0x2b1020[(_0x373b1e(0x32d))](_0x56a62d)[_0x373b1e(0x38a)]();}function _0x1c5df7(_0x339a56){const _0x449652=_0x44ffc9,_0x3c9b25=new _0x2b1020[(_0x449652(0x32d))](_0x339a56),_0x45941b=new _0x2b1020[(_0x449652(0x32d))]();return _0x3c9b25[_0x449652(0x20b)]((_0x3f999b,_0x3db144)=>{_0x45941b['setValue'](_0x3f999b,_0x3db144,0x1);}),_0x22d459['findAllRectangle'](_0x45941b);}var _0x4eec02=Object[_0x44ffc9(0x2ab)],_0x2fa159=(_0x41824d,_0x35beb4,_0x4ef8c5,_0x2c7b55)=>{const _0x3e3943=_0x44ffc9;for(var _0x117c74=_0x2c7b55>0x1?void 0x0:_0x2c7b55?_0x4eec02(_0x35beb4,_0x4ef8c5):_0x35beb4,_0x3d5ffb=_0x41824d[_0x3e3943(0x35e)]-0x1,_0xf4ec78;_0x3d5ffb>=0x0;_0x3d5ffb--)(_0xf4ec78=_0x41824d[_0x3d5ffb])&&(_0x117c74=_0xf4ec78(_0x117c74)||_0x117c74);return _0x117c74;},_0x3dc02d=(_0x32e46b,_0x585275)=>(_0x5e7cf8,_0x510e51)=>_0x585275(_0x5e7cf8,_0x510e51,_0x32e46b);let _0x2172b4=class extends _0x2b1020['Disposable']{constructor(_0x5ef754,_0x45ae03,_0x4bfc9d,_0x1964e8,_0xf4d094,_0x597995,_0x4a9fa9){const _0x56d405=_0x44ffc9;super(),_0x216b91(this,_0x56d405(0x1cb),new Set()),_0x216b91(this,_0x56d405(0x34a),null),(this[_0x56d405(0x24f)]=_0x5ef754,this[_0x56d405(0x201)]=_0x45ae03,this['_versionDiffService']=_0x4bfc9d,this[_0x56d405(0x27a)]=_0x1964e8,this[_0x56d405(0x295)]=_0xf4d094,this['_sheetSkeletonManagerService']=_0x597995,this['_commandService']=_0x4a9fa9,this[_0x56d405(0x25e)]());}[_0x44ffc9(0x25e)](){const _0x22c10d=_0x44ffc9;this[_0x22c10d(0x1b5)](),this[_0x22c10d(0x273)]();}[_0x44ffc9(0x1b5)](){const _0x3c4ea2=_0x44ffc9;this[_0x3c4ea2(0x3bb)](_0x23366c[_0x3c4ea2(0x1a7)]([this['_historyManagerService'][_0x3c4ea2(0x3c4)],this['_sheetSkeletonManagerService'][_0x3c4ea2(0x1e5)]])[_0x3c4ea2(0x349)](_0x23366c[_0x3c4ea2(0x2dc)](([_0x3a7b26,_0x1b1c2e])=>{const _0x59c273=_0x3c4ea2;if(_0x3a7b26===_0x2adc54[_0x59c273(0x1d9)]&&_0x1b1c2e){const _0x3721b4=_0x1b1c2e['sheetId'];return this[_0x59c273(0x1b8)][_0x59c273(0x292)]['pipe'](_0x23366c['map'](_0x1725fd=>{const _0x135830=_0x59c273,_0x96ad4=new Map();return _0x1725fd[_0x135830(0x1da)][_0x135830(0x3d7)]((_0x4bc26b,_0x12c3ff)=>{const _0x50ba2d=_0x135830,_0x44aa91=_0x4bc26b[_0x50ba2d(0x223)](_0x55c383=>_0x55c383[_0x50ba2d(0x32c)]===_0x3721b4);_0x96ad4[_0x50ba2d(0x23f)](_0x12c3ff,_0x44aa91);}),{'skeleton':_0x1b1c2e,'diffs':_0x96ad4};}));}return _0x23366c['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x825843,diffs:_0xed326d})=>{const _0x19a2eb=_0x3c4ea2;this[_0x19a2eb(0x2ff)](),_0x825843&&this['_updateDiffMarks'](_0x825843,_0xed326d);})),this[_0x3c4ea2(0x3bb)](this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3c4ea2(0x364)](_0x5cb626=>{const _0xf7d225=_0x3c4ea2;if(_0x5cb626==null)return;const {skeleton:_0x2779e9}=_0x5cb626,{scene:_0x442ced}=this[_0xf7d225(0x24f)];_0x442ced[_0xf7d225(0x386)][_0xf7d225(0x345)](_0x2b1020[_0xf7d225(0x1d7)](_0x1dafdb=>{const _0x19d6cf=_0xf7d225;var _0x138914,_0x2a8001;const {offsetX:_0x17537a,offsetY:_0x7a10f4}=_0x1dafdb,{x:_0x2312fb,y:_0xf742e2}=_0x442ced[_0x19d6cf(0x22f)](_0x404f3a[_0x19d6cf(0x245)][_0x19d6cf(0x2d1)]([_0x17537a,_0x7a10f4])),{scaleX:_0x169aed,scaleY:_0x4bdfb1}=_0x442ced[_0x19d6cf(0x1b4)](),_0x59e462=_0x442ced[_0x19d6cf(0x31f)](_0x404f3a['SHEET_VIEWPORT_KEY'][_0x19d6cf(0x28a)]),_0x62abb1=_0x442ced[_0x19d6cf(0x269)](_0x404f3a[_0x19d6cf(0x245)][_0x19d6cf(0x2d1)]([_0x2312fb,_0xf742e2]),_0x59e462),_0x3e5154=_0x2779e9[_0x19d6cf(0x228)](_0x17537a,_0x7a10f4,_0x169aed,_0x4bdfb1,_0x62abb1);((_0x138914=this[_0x19d6cf(0x34a)])==null?void 0x0:_0x138914[_0x19d6cf(0x24e)])===_0x3e5154['column']&&((_0x2a8001=this[_0x19d6cf(0x34a)])==null?void 0x0:_0x2a8001[_0x19d6cf(0x391)])===_0x3e5154[_0x19d6cf(0x391)]||this[_0x19d6cf(0x1cb)]['forEach'](_0x42a8c9=>{const _0x1ca868=_0x19d6cf;_0x42a8c9[_0x1ca868(0x242)](_0x3e5154);});},0x64));}));}['_initActiveSwitch'](){const _0x4b13f9=_0x44ffc9;this[_0x4b13f9(0x3bb)](this[_0x4b13f9(0x201)]['loadingState$'][_0x4b13f9(0x364)](_0x3518e6=>{const _0x55e534=_0x4b13f9,_0x281e3c=new _0x2b1020[(_0x55e534(0x1c3))]();return _0x3518e6===_0x2adc54[_0x55e534(0x1d9)]&&(_0x281e3c[_0x55e534(0x2ee)](),_0x281e3c[_0x55e534(0x26e)](this[_0x55e534(0x1b8)][_0x55e534(0x292)][_0x55e534(0x364)](_0xb4455a=>{const _0x20db19=_0x55e534;_0xb4455a[_0x20db19(0x3ee)]&&this[_0x20db19(0x1cd)][_0x20db19(0x3ba)](_0x22d459[_0x20db19(0x26d)]['id'],{'unitId':this['_context'][_0x20db19(0x340)],'subUnitId':_0xb4455a[_0x20db19(0x3ee)]});}))),()=>_0x281e3c['dispose']();}));}['_updateDiffMarks'](_0x3f7f59,_0xb33ae2){const _0x94a8a3=_0x44ffc9;var _0x286596;const _0x502b42=(_0x286596=this['_sheetSkeletonManagerService'][_0x94a8a3(0x2cd)]())==null?void 0x0:_0x286596[_0x94a8a3(0x2f4)];if(!_0x502b42)return;this[_0x94a8a3(0x1cb)][_0x94a8a3(0x3d7)](_0x3c32fe=>{const _0x1ec916=_0x94a8a3;_0x3c32fe[_0x1ec916(0x249)]();});const {scene:_0x1ca307}=this[_0x94a8a3(0x24f)],_0x7bd39=Array[_0x94a8a3(0x2e3)](_0xb33ae2['keys']())[_0x94a8a3(0x385)](_0x14b858=>_0xb33ae2['get'](_0x14b858)['map'](_0x1eee6b=>{const _0x14efa2=_0x94a8a3;var _0x2cfe89;const {range:_0x3c8591,subUnitId:_0x5eeb88,unitId:_0x4ace3f}=_0x1eee6b,{startColumn:_0x41eeac,startRow:_0x81817b,endColumn:_0x5a5273,endRow:_0x59176c}=_0x3c8591,_0xe90e9b=_0x40443a[_0x14efa2(0x306)](_0x81817b,_0x41eeac,_0x1ca307,_0x502b42),_0x1408f2=_0x40443a['getCoordByCell'](_0x59176c,_0x5a5273,_0x1ca307,_0x502b42),{columnHeaderHeightAndMarginTop:_0xbc0e44}=_0x502b42,{startX:_0x128ca6,startY:_0x2dca24}=_0xe90e9b,{endX:_0x2abe69,endY:_0x358c69}=_0x1408f2,_0x56aa21=_0x2abe69-_0x128ca6,_0x152894=_0x358c69-_0x2dca24,_0xdd8c57={'labelPosition':_0x2dca24-_0xbc0e44>=0x14?_0x14efa2(0x375):_0x14efa2(0x372),'sheetID':_0x5eeb88,'range':_0x3c8591,'color':_0x14efa2(0x3a2),'fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x2cfe89=this[_0x14efa2(0x201)][_0x14efa2(0x1ef)](_0x14b858))==null?void 0x0:_0x2cfe89[_0x14efa2(0x354)])||'','selection':_0x4ace3f+'-'+_0x5eeb88+'-'+_0x3c8591[_0x14efa2(0x28f)]+'-'+_0x3c8591[_0x14efa2(0x268)]+'-'+_0x3c8591['endColumn']+'-'+_0x3c8591['endRow'],'left':_0x128ca6,'top':_0x2dca24,'width':_0x56aa21,'height':_0x152894,'evented':!0x1,'zIndex':0x1};return new _0x36b411[(_0x14efa2(0x221))]('',_0xdd8c57);}))[_0x94a8a3(0x373)]();_0x1ca307['addObjects'](_0x7bd39,0x1),this[_0x94a8a3(0x1cb)]=new Set(_0x7bd39);}[_0x44ffc9(0x2ff)](){const _0x2005c9=_0x44ffc9;var _0x466c62;(_0x466c62=this[_0x2005c9(0x1cb)])==null||_0x466c62[_0x2005c9(0x3d7)](_0x3ab134=>_0x3ab134[_0x2005c9(0x2ee)]());}[_0x44ffc9(0x267)](){const _0x58432c=_0x44ffc9;return _0x40443a[_0x58432c(0x1b6)](this[_0x58432c(0x27a)],this[_0x58432c(0x295)]);}};_0x2172b4=_0x2fa159([_0x3dc02d(0x1,_0x2b1020['Inject'](_0x1dc907[_0x44ffc9(0x358)])),_0x3dc02d(0x2,_0x2b1020['Inject'](_0x1d4592)),_0x3dc02d(0x3,_0x2b1020['IUniverInstanceService']),_0x3dc02d(0x4,_0x404f3a[_0x44ffc9(0x236)]),_0x3dc02d(0x5,_0x2b1020[_0x44ffc9(0x33e)](_0x40443a['SheetSkeletonManagerService'])),_0x3dc02d(0x6,_0x2b1020['ICommandService'])],_0x2172b4);function _0x37292c(){const _0x28f720=_0x44ffc9,_0x11390e=_0xd6c0fb['useDependency'](_0x1dc907[_0x28f720(0x358)]),_0x173fe3=_0xd6c0fb[_0x28f720(0x227)](_0x11390e[_0x28f720(0x207)]),[_0xf2605c,_0x2bddc9]=_0x2cee47[_0x28f720(0x298)](!0x1),_0x3bd20a=_0x4a3c73(_0x173fe3);return _0x173fe3?_0x3d7079['jsx']('div',{'className':_0x28f720(0x3a3),'children':_0x3d7079[_0x28f720(0x2a9)](_0x28f720(0x365),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x3bd20a[_0x28f720(0x385)]((_0x57e6b4,_0x5abb7b)=>_0x3d7079['jsxs'](_0x2cee47[_0x28f720(0x230)],{'children':[_0x3d7079[_0x28f720(0x3c8)](_0x3c7e43,{'date':_0x57e6b4['dateString']}),_0x57e6b4[_0x28f720(0x2a1)][_0x28f720(0x385)]((_0x266375,_0x56ad92)=>_0x3d7079['jsx'](_0x57274a,{'index':[_0x5abb7b,_0x56ad92],'item':_0x266375},_0x5abb7b+'-'+_0x56ad92))]},_0x57e6b4[_0x28f720(0x25f)])),_0xf2605c&&_0x3d7079[_0x28f720(0x3c8)](_0x479a08,{})]})}):_0x3d7079['jsx'](_0xbd7a5d,{});}function _0x479a08(){const _0x257c7a=_0x44ffc9;return _0x3d7079[_0x257c7a(0x3c8)](_0x257c7a(0x365),{'className':_0x257c7a(0x2c4),'children':_0x3d7079[_0x257c7a(0x3c8)](_0x360cfe,{'className':'univer-animate-spin'})});}function _0xbd7a5d(){const _0x1f2372=_0x44ffc9;return _0x3d7079['jsx']('div',{'className':_0x1f2372(0x1df),'children':_0x3d7079[_0x1f2372(0x3c8)](_0x1f2372(0x203),{'className':_0x1f2372(0x3ea),'children':_0x3d7079[_0x1f2372(0x3c8)](_0x360cfe,{'className':_0x1f2372(0x3d4)})})});}function _0x3c7e43(_0x1f26f5){const _0x2dec9d=_0x44ffc9,_0x15e510=_0xd6c0fb['useDependency'](_0x2b1020[_0x2dec9d(0x325)]),{date:_0x1db55d}=_0x1f26f5;return _0x3d7079[_0x2dec9d(0x3c8)](_0x2dec9d(0x365),{'className':_0x2dec9d(0x290),'children':_0x1f73d9(_0x1db55d,_0x15e510[_0x2dec9d(0x231)]())});}function _0x57274a(_0x19dcd9){const _0x59f4ea=_0x44ffc9,{item:_0x4ca7e1,index:_0x34b524}=_0x19dcd9,{time:_0x588863,user:_0x51eb4f}=_0x4ca7e1,[_0x2b6b35,_0x455c3f]=_0x34b524,_0x5d7328=_0xd6c0fb[_0x59f4ea(0x1a4)](_0x1dc907[_0x59f4ea(0x358)]),_0x1599a2=_0xd6c0fb[_0x59f4ea(0x227)](_0x5d7328[_0x59f4ea(0x2fe)],'',!0x0)===_0x4ca7e1['id'],_0x15fda9=_0x2b6b35===0x0&&_0x455c3f===0x0,_0x4ea326=!_0x15fda9&&_0x5d7328['canRevert'],_0x2a1ce3=_0xd6c0fb[_0x59f4ea(0x1a4)](_0x2b1020[_0x59f4ea(0x325)]),_0x103cef=_0x2a1ce3[_0x59f4ea(0x231)](),_0x19a570=_0x122189(_0x588863,_0x103cef),_0x2aa671=_0x2a1ce3['t'](_0x59f4ea(0x2a6)),_0xbc7456=_0x2cee47[_0x59f4ea(0x346)](_0x2ad36b=>{const _0x2584ec=_0x59f4ea;_0x5d7328[_0x2584ec(0x31d)]!==_0x2adc54[_0x2584ec(0x1c9)]&&(_0x5d7328['currentVersion']=_0x2ad36b);},[_0x5d7328]),_0x1193be=_0x2cee47[_0x59f4ea(0x346)](_0x55db10=>{const _0x49e128=_0x59f4ea;_0x5d7328[_0x49e128(0x2b5)](_0x55db10);},[_0x5d7328]);return _0x3d7079[_0x59f4ea(0x2a9)]('div',{'className':_0x197b1d[_0x59f4ea(0x3ab)](_0x59f4ea(0x24a),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x1599a2}),'onClick':()=>_0xbc7456(_0x4ca7e1['id']),'children':[_0x3d7079[_0x59f4ea(0x2a9)](_0x59f4ea(0x365),{'className':_0x59f4ea(0x214),'children':[_0x3d7079[_0x59f4ea(0x2a9)](_0x59f4ea(0x365),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x3d7079['jsx']('span',{'children':_0x19a570[_0x59f4ea(0x23d)]}),_0x15fda9&&_0x3d7079[_0x59f4ea(0x3c8)](_0x59f4ea(0x203),{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x2aa671})]}),_0x3d7079[_0x59f4ea(0x3c8)]('div',{'children':_0x4ea326&&_0x3d7079[_0x59f4ea(0x3c8)](_0x197b1d['Tooltip'],{'title':_0x2a1ce3['t'](_0x59f4ea(0x1c5)),'children':_0x3d7079[_0x59f4ea(0x3c8)]('div',{'onClick':_0x175914=>{const _0x358284=_0x59f4ea;_0x175914[_0x358284(0x1ce)](),_0x1193be(_0x4ca7e1['id']);},'className':_0x59f4ea(0x1e9),'children':_0x3d7079[_0x59f4ea(0x3c8)](_0x97c456,{})})})})]}),_0x3d7079[_0x59f4ea(0x3c8)](_0x59f4ea(0x365),{'className':_0x59f4ea(0x1f1),'children':_0x517423(_0x4ca7e1,_0x2a1ce3)})]});}var _0x77da65=Object[_0x44ffc9(0x2ab)],_0x58f917=(_0x2b4d6b,_0x691e4,_0x8de09,_0x3da0ca)=>{for(var _0x40177e=_0x3da0ca>0x1?void 0x0:_0x3da0ca?_0x77da65(_0x691e4,_0x8de09):_0x691e4,_0xb801d9=_0x2b4d6b['length']-0x1,_0x211fa0;_0xb801d9>=0x0;_0xb801d9--)(_0x211fa0=_0x2b4d6b[_0xb801d9])&&(_0x40177e=_0x211fa0(_0x40177e)||_0x40177e);return _0x40177e;},_0x568e7c=(_0x194f02,_0x7ab72d)=>(_0x3106a4,_0x14daf6)=>_0x7ab72d(_0x3106a4,_0x14daf6,_0x194f02);const _0x2401d6=_0x44ffc9(0x204);let _0x851966=class extends _0x2b1020[_0x44ffc9(0x35f)]{constructor(_0x2ecfc3,_0x141781,_0x434f8d,_0x101ab4,_0x2f53ac){const _0x4b49fe=_0x44ffc9;super(),_0x216b91(this,'_sidebarDisposable',null),(this[_0x4b49fe(0x320)]=_0x2ecfc3,this[_0x4b49fe(0x232)]=_0x141781,this[_0x4b49fe(0x2c2)]=_0x434f8d,this[_0x4b49fe(0x201)]=_0x101ab4,this[_0x4b49fe(0x288)]=_0x2f53ac,this[_0x4b49fe(0x25e)]());}[_0x44ffc9(0x25e)](){const _0x57170e=_0x44ffc9;this[_0x57170e(0x3af)](),this[_0x57170e(0x3d1)]();}['_openPanel'](){const _0x46ef8b=_0x44ffc9;var _0xe7887e;if(this['_sidebarDisposable'])return;const _0x1e6e12=((_0xe7887e=this[_0x46ef8b(0x288)][_0x46ef8b(0x244)](_0x2757e9))==null?void 0x0:_0xe7887e[_0x46ef8b(0x36e)])||_0x2401d6,_0x46e6b9={'header':{'title':this[_0x46ef8b(0x2c2)]['t'](_0x46ef8b(0x3e7))},'children':{'label':_0x1e6e12},'onClose':()=>{const _0x2bfa7f=_0x46ef8b;this['_sidebarDisposable']=null,this[_0x2bfa7f(0x201)][_0x2bfa7f(0x3f5)]=_0x49205b[_0x2bfa7f(0x1c7)];}};this[_0x46ef8b(0x3be)]=this[_0x46ef8b(0x320)][_0x46ef8b(0x382)]({..._0x46e6b9});}[_0x44ffc9(0x3af)](){const _0x19b1b7=_0x44ffc9;this['disposeWithMe'](this[_0x19b1b7(0x232)][_0x19b1b7(0x397)](_0x2401d6,_0x37292c)),this[_0x19b1b7(0x3bb)](this[_0x19b1b7(0x320)][_0x19b1b7(0x266)][_0x19b1b7(0x349)](_0x23366c[_0x19b1b7(0x2b7)](0x64))['subscribe'](_0x561cab=>{const _0x1975ef=_0x19b1b7,{target:_0xb0bcc6}=_0x561cab||{};if(_0xb0bcc6){const {scrollTop:_0x47dba0,scrollHeight:_0x1e5277,clientHeight:_0x13615d}=_0xb0bcc6;_0x47dba0+_0x13615d>=_0x1e5277-0x5&&this[_0x1975ef(0x201)][_0x1975ef(0x3a0)]();}}));}};_0x851966=_0x58f917([_0x568e7c(0x0,_0xd6c0fb[_0x44ffc9(0x3ed)]),_0x568e7c(0x1,_0x2b1020[_0x44ffc9(0x33e)](_0xd6c0fb['ComponentManager'])),_0x568e7c(0x2,_0x2b1020[_0x44ffc9(0x33e)](_0x2b1020[_0x44ffc9(0x325)])),_0x568e7c(0x3,_0x2b1020[_0x44ffc9(0x33e)](_0x1dc907['HistoryManagerService'])),_0x568e7c(0x4,_0x2b1020['IConfigService'])],_0x851966);class _0x22854b extends _0x2b1020['Disposable']{constructor(){const _0x3eb410=_0x44ffc9;super(),_0x216b91(this,_0x3eb410(0x350),new _0x23366c['Subject']());}[_0x44ffc9(0x382)](){const _0x3a58f8=_0x44ffc9;return _0x2b1020[_0x3a58f8(0x1d5)](()=>{});}['close'](){}[_0x44ffc9(0x24d)](_0x7e0f65){}[_0x44ffc9(0x37d)](){const _0x1b9a29=_0x44ffc9;return this['_dialogOptions$'][_0x1b9a29(0x25b)]();}}var _0x2648ff=Object[_0x44ffc9(0x353)],_0x34485e=Object['getOwnPropertyDescriptor'],_0x31dbd5=(_0x4db943,_0x30cca5,_0x563232)=>_0x30cca5 in _0x4db943?_0x2648ff(_0x4db943,_0x30cca5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x563232}):_0x4db943[_0x30cca5]=_0x563232,_0x4cdb5f=(_0x39d1c2,_0xd2ae2d,_0x1640b1,_0x36c4c7)=>{const _0x92e70=_0x44ffc9;for(var _0x12b9e9=_0x36c4c7>0x1?void 0x0:_0x36c4c7?_0x34485e(_0xd2ae2d,_0x1640b1):_0xd2ae2d,_0x550417=_0x39d1c2[_0x92e70(0x35e)]-0x1,_0x4813de;_0x550417>=0x0;_0x550417--)(_0x4813de=_0x39d1c2[_0x550417])&&(_0x12b9e9=_0x4813de(_0x12b9e9)||_0x12b9e9);return _0x12b9e9;},_0x52bab6=(_0x563f55,_0x158ae0)=>(_0x52b847,_0x43fc75)=>_0x158ae0(_0x52b847,_0x43fc75,_0x563f55),_0x7a817=(_0x315d4b,_0xbd3035,_0x4dbd33)=>_0x31dbd5(_0x315d4b,_0xbd3035+'',_0x4dbd33);const _0x153a1f='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';_0x1dc907[_0x44ffc9(0x2d6)]=class extends _0x2b1020['Plugin']{constructor(_0x5db56c=_0x43e083,_0xca6a08,_0x295317,_0x4c06eb){const _0x1be541=_0x44ffc9;super(),this[_0x1be541(0x2a2)]=_0x5db56c,this['_injector']=_0xca6a08,this[_0x1be541(0x295)]=_0x295317,this[_0x1be541(0x288)]=_0x4c06eb;const {..._0x115412}=_0x2b1020[_0x1be541(0x366)]({},_0x43e083,this[_0x1be541(0x2a2)]);this[_0x1be541(0x288)][_0x1be541(0x334)](_0x2757e9,_0x115412);}[_0x44ffc9(0x29a)](){const _0x316b59=_0x44ffc9;[[_0x1dc907[_0x316b59(0x358)]],[_0x3a1d7e],[_0x1d4592],[_0xa17f4a],[_0x851966],[_0x3868f2],[_0x4cc1f5['ISnapshotServerService'],{'useClass':_0x29afcc[_0x316b59(0x2fb)]}],[_0xd6c0fb['IDialogService'],{'useClass':_0x22854b}],[_0x2779fe[_0x316b59(0x2c1)],{'useClass':_0x29afcc[_0x316b59(0x356)]}]][_0x316b59(0x3d7)](_0x482cc9=>this[_0x316b59(0x3b7)][_0x316b59(0x26e)](_0x482cc9)),this['_injector'][_0x316b59(0x282)](_0x3a1d7e);}[_0x44ffc9(0x374)](){const _0x5876b6=_0x44ffc9;[[_0x2172b4]][_0x5876b6(0x3d7)](_0x3b835d=>{const _0x58af60=_0x5876b6;this[_0x58af60(0x3bb)](this[_0x58af60(0x295)]['registerRenderModule'](_0x2b1020[_0x58af60(0x322)][_0x58af60(0x23c)],_0x3b835d));}),this['_injector']['get'](_0x3868f2),this[_0x5876b6(0x3b7)][_0x5876b6(0x282)](_0x851966);}['onSteady'](){const _0x56b26a=_0x44ffc9;this[_0x56b26a(0x3b7)]['get'](_0x1d4592);}},_0x7a817(_0x1dc907[_0x44ffc9(0x2d6)],_0x44ffc9(0x1fb),_0x153a1f),_0x1dc907[_0x44ffc9(0x2d6)]=_0x4cdb5f([_0x2b1020[_0x44ffc9(0x313)](_0x40443a[_0x44ffc9(0x1c1)],_0x4200f5[_0x44ffc9(0x2b0)]),_0x52bab6(0x1,_0x2b1020[_0x44ffc9(0x33e)](_0x2b1020[_0x44ffc9(0x3bc)])),_0x52bab6(0x2,_0x404f3a[_0x44ffc9(0x236)]),_0x52bab6(0x3,_0x2b1020[_0x44ffc9(0x2e2)])],_0x1dc907[_0x44ffc9(0x2d6)]),_0x1dc907[_0x44ffc9(0x38c)]=_0x49205b,_0x1dc907['HistoryOrigin']=_0x5d3d5c,Object['defineProperty'](_0x1dc907,Symbol[_0x44ffc9(0x29f)],{'value':_0x44ffc9(0x254)});}));function _0x5d87(){const _0x2de5e3=['REDEMPTION_CODE_INACTIVE','InsertRow','map','onPointerMove$','mutations','HideWorksheet','padStart','getDataRange','CreatePermissionObject','HistoryModeStatus','width','includes','USER_IS_ANONYMOUS','_combineRanges','row','InsertColumn','UniverDesign','endRev','react','user','register','getUnitId','CreateUnitMutation','LICENSE_MAX_UNITS_EXCEEDED','SetWorksheetHideMutation','ENTITLE_COUPON_EXPIRED','getMinutes','SetRangeValuesMutation',':\x20(','loadMoreVersions','1em','rgba(58,\x2096,\x20247,\x200.20)','univer-overflow-hidden','displayName','RevertRevisionMutation','next','ALREADY_EXISTS','UNDEFINED','triggerLoadSheet','UniverProCollaboration','clsx','RemoveSheetMutation','height','MessageType','_initPanel','LOGIN_FAILED','LocaleType','history-mask','LICENSE_DISTRO_REJECTED','path','react/jsx-runtime','REDEMPTION_CODE_FULLY_REDEEMED','_injector','loaded','@univerjs/data-validation','executeCommand','disposeWithMe','Injector','insertSheet','_sidebarDisposable','setCF','evenodd','USER_NOT_FOUND','WorkbookRenameSheetPermission','additionalFields','loadingState$','sheet','userID','createSheet','jsx','Info','@univerjs/sheets-conditional-formatting','RecoverHistory','range','ENTITLE_INSUFFICIENT_QUOTA','fetchMissingChangesets','AddRangeProtectionMutation','attrs','_openPanel','EditExtraObject','UNIVER_UNKNOWN','univer-m-auto\x20univer-animate-spin','m1Prime','UniverCore','forEach','@univerjs-pro/sheets-chart','getCurrentVersion','CreateWorksheet','disposeUnit','button','editHistory.info.loading','_snapshotServerService','startRevision','defs','AddSheetSparklineMutation','UniverUi','loadSheet','@univerjs-pro/collaboration-client','white','MOBILE_VERIFY_CODE_MISMATCH','editHistory.panel.title','historyListServerUrl','deleteProtection','univer-text-gray-500','1000','IMessageService','ISidebarService','active','xlink:href','endColumn','loadInitialVersions','Duplicate','_transformService','0\x200\x2016\x2016','status','DeleteSheet','registerComponent','confirm','_loadingState$','useDependency','fetching','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','combineLatest','HideSheet','MoveRowsMutation','UniverIcon','init','HEADER','UniverDrawing','SetWorksheetStyle','connectInjector','_setVersions','[HistoryFetchService]:\x20request\x20snapshot\x20error!','setFrozen','amd','getAncestorScale','_initRender','getSheetObject','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_versionDiffService','commands','editHistory.action.revertSheetSuffix','YUUMI_ASYNCIO_CANCELLED','entered','ERROR_AGAIN','_workbookDataCache','@univerjs/network','values','UniverSheetsUIPlugin','INVALID_INVITE_CODE','DisposableCollection','PivotTable','editHistory.panel.revertDesc','_maskElement','Exited','entities','Loading','style','_diffs','MoveWorksheet','_commandService','stopPropagation','_uiPartsService','changesets','CHANGESET_REVISION_CONFILICT','parse','_historyFetchService','svg','toDisposable','error','debounce','getHours','Loaded','ranges','TOO_MANY_REQUESTS','getInterceptPoints','editHistory.panel.currentUser','ensureVersion','univer-flex\x20univer-items-center\x20univer-justify-center','APPLY_DUPLICATED','subType','YUUMI_AI_RUN_FAILED','UniverNetwork','REDEMPTION_INVALID_CODE','currentSkeleton$','0\x200\x2016\x2017','ViewFilter','View','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','REDEMPTION_CODE_HAS_BEEN_CREATED','MoveSheet','_updateVersions','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','revertSheet','getMember','use','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','SetCellValue','SetColumnStyle','YUUMI_TABLE_NOT_FOUND_IN_UNIT','4003360kUGOhW','params','Today','_getRangesByMutation','Error','3095491wzuZuS','pluginName','Edit','PAYMENT_CHANNEL_NOT_SUPPORT','CURRENT_STATUS_CANNOT_OPERATE','LoadingMultiIcon','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_historyManagerService','_maskContainer','span','history-panel','EMAIL_VERIFY_CODE_MISMATCH','unitId$','versions$','IUIPartsService','toISOString','value','forValue','/list?','backgroundColor','showMask','Filter','color','loadHistoryCreatorList','YUUMI_ALL_TABLES_IS_INVALID','focusUnit','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','INVITE_CODE_HAS_BEEN_UES','replace','11452208NVAgJw','REDEMPTION_CODE_NOT_STARTED','DeleteWorksheet','left','random','addProtection','ZH_CN','CopySheet','recoverTime','UNAUTHENTICATED','SheetCollabCursorShape','SetCellStyle','filter','BehaviorSubject','rect','YUUMI_CONNECTOR_URL_NOT_FOUND','useObservable','getCellPositionByOffset','show','@univerjs-pro/collaboration','code','action','_unitId$','users','getRelativeToViewportCoord','Fragment','getCurrentLocale','_componentManager','edit-history-viewer.config','_hasMore','restore-icon_clip0_1247_2','IRenderManagerService','state$','status$','creators$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_SHEET','time','colorChannel1','set','center','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','onMouseMove','4psudjR','getConfig','Vector2','endRevision','InsertRowMutation','getDeserializedSheetBlock','makeDirty','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','LOGIN_TOKEN_PROCESSING_FAILED','_diffRangesMap','closeAll','column','_context','ManageCollaborator','split','SetRowStyle','ENTITLE_COUPON_USED_UP','Module','16OlqgID','_sheetPermissionInitController','DeleteRangeProtectionMutation','UpdateDataValidationMutation','IConfirmService','editHistory.panel.cancel','asObservable','_creators$','data','_init','dateString','parseProtocolChangeset','Character','_setFetching','_messageService','trim','entries','scrollEvent$','_getSheetObject','startRow','getVpScrollXYInfoByPosToVp','COMPRESS_MUTATION_APPLY','_members','date','SetWorksheetActiveOperation','add','userId','ENTITLE_NEED_BILLING_ADDRESS','UniverSheetsFilter','LICENSE_EXPORT_SIZE_EXCEEDED','_initActiveSwitch','UniverSheets','BuiltInUIPart','DeleteColumn','blockMeta','ICellEditorManagerService','setDV','_univerInstanceService','_versions$','some','Sort','_revertRevision$','syncExecuteCommand','APPLY_REJECT','permissionPointUpdate$','get','@univerjs/sheets-filter','tag','#0B9EFB','SetNumfmtMutation','@univerjs/drawing','_configService','SelectUnProtectedCells','VIEW_MAIN','append','RestoreIcon','.univer-app-container-content','_createUnit','startColumn','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','currentVersionDiff$','all','InsertSheetMutation','_renderManagerService','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','createTime','useState','100%','onStarting','display','ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_SUBSCRIPTION_NOT_FOUND','editSheet','toStringTag','_status$','versions','_config','body','url(#$1','getCurrentUnitForType','editHistory.panel.currentVersion','USER_NOT_INVITED_CODE','INTERNAL_ERROR','jsxs','hasCommand','getOwnPropertyDescriptor','children','mask','UniverProEditHistoryViewer','RenameSheet','UniverNetworkPlugin','has','none','SetSheetsFilterRangeMutation','editHistory.panel.listFetchError','triggerRevert','AddDataValidationMutation','debounceTime','DeleteWorksheetProtectionMutation','RenameWorksheet','getElementById','YUUMI_UNABLE_LOAD_URL','_currentVersion$','YUUMI_RATE_OVER_LIMIT','_permissionService','_getAPIPrefix','UniverProSheetsChart','IImageIoService','_localeService','_compressMutationService','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','idSuffix','PY_RUNTIME_SCRIPT_ERROR','PERMISSION_DENIED','801UCMzdk','toString','InsertSheetsChartMutation','ViemRwHgtClWdt','fetchCreatorList','getCurrent','string','command','push','FromArray','Comment','loading','forwardRef','ENSURE_SNAPSHOT_EXECUTION','UniverEditHistoryViewerPlugin','4180230FDMJDx','LICENSE_IMPORT_SIZE_EXCEEDED','absolute','hideMask','querySelector','switchMap','VIRTUAL_VERSION_NOW','assign','WECHAT_HAS_BEEN_BOUND','Button','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','IConfigService','from','Copy','ICommandService','EMAIL_HAS_BEEN_BOUND','now','/universer-api/history','ENTITLE_USE_COUPON_NOT_1ST_TRADE','UniverProCollaborationClientUi','_httpService','@univerjs/sheets','editHistory.panel.revertConfirmText','dispose','SetConditionalRuleMutation','userIds','getVersions','defIds','updatePermissionPoint','skeleton','editHistory.action.etc','Delete','getSeconds','DeleteRow','endRow','ISnapshotServerService','SnapshotServerOverHTTPService','UNIVER_SLIDE','editHistory.action.','currentVersion$','_removeDiffMarks','restore-icon','currentColor','setFilter','APPLY_PERMISSION_DENIED','ENTITLE_INVALID_COUPON_CODE','ITransformService','getCoordByCell','_historyContainerId','CreateSheet','ENTITLE_CHAT_LIMIT_EXCEED','FloatImg','592900JDGmdg','cellValue','_cellEditorManagerService','UniverProCollaborationClient','AUTHORIZE_CODE_ILLEGAL','currentVersion','Init','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','DependentOn','createElement','fill','http://www.w3.org/2000/svg','Print','UniverSheetsConditionalFormatting','ENTITLE_REPORT_LIMIT_EXCEED','Export','transformSnapshotToWorkbookData','anonymous','loadingState','ViewHistory','getViewport','_sidebarService','UNIVER_PROJECT','UniverInstanceType','_confirmService','revertRevision$','LocaleService','COMPLETION_FINISHED','WorkbookHideSheetPermission','UNRECOGNIZED','rxjs','origin','blocks','subUnitId','ObjectMatrix','_lastLabel','_transformMutationByOrder','AddWorksheetProtectionMutation','setState','1274793fXtKvn','_fetching$','setConfig','creators','@univerjs-pro/collaboration-client-ui','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','confirm-revert-revision','_extractRanges','SetFrozenMutation','@univerjs-pro/sheets-sparkline','_canRevert','InsertHyperlink','Inject','UniverProSheetsSparkline','unitId','UNIVER_DOC','Share','workbook','History','subscribeEvent','useCallback','_createMask','primary','pipe','_lastPointer','current','_currentVersionDiff$','lastLabel','AddWorksheetMergeMutation','fetching$','_dialogOptions$','User','SetRangeProtectionMutation','defineProperty','name','ENTITLE_DUP_SUBSCRIPTION','CollaborationImageIoService','AddConditionalRuleMutation','HistoryManagerService','RwHgtClWdt','IPermissionService','YUUMI_NO_CUBOID_FOR_QUESTION','className','APPLY_REVISION_CONFILICT','length','Disposable','isArray','useRef','_loadParams','SNAPSHOT_HAS_BEEN_REMOVED','subscribe','div','merge','_initMaskContainer','NOT_FOUND','INVITE_CODE_REQUIRED','editHistory.action.revertSheetPrefix','zIndex','DATA_SOURCE_TOO_LARGE','interceptor','historyPanelComponentKey','MOBILE_HAS_BEEN_BOUND','addSparkline','RemoveNumfmtMutation','bottom','flat','onRendered','top','rgba(225,\x20225,\x20225,\x200.5)','_yieldToMain','position','147380dykjQE','canRevert','APPLY_NON_SEQUENTIAL_REVISION','rule','getDialogs$','getVersion','RangeMergeUtil','CONNECTOR_DATA_TOO_LARGE','WorkbookEditablePermission','open'];_0x5d87=function(){return _0x2de5e3;};return _0x5d87();}
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- function _0x4cb2(){const _0x5ac856=['disposeWithMe','UniverProLicense','show','_collaborationController','setDarkMode','Loading','getConfig','getOwnPropertyDescriptor','zIndex','length','UniverProEditHistoryViewer','forwardRef','getSubunitRuleList','historyUniver$','substring','_configService','UniverSheetsNumfmt','UniverSheetsDrawingPlugin','UniverDocsUIPlugin','MessageType','editHistory.panel.title','menu','permissionId','LocaleService','onSteady','Plugin','UniverSheetsNumfmtPlugin','@univerjs/design','UniverSheetsDataValidationUi','@univerjs-pro/sheets-sparkline-ui','getCurrentLocale','UNIVER_CONTAINER_ID_KEY','UniverRenderEnginePlugin','history-icon_clip0_907_281','toDisposable','_messageService','UniverFormulaEnginePlugin','BUTTON','onCommandExecuted','forEach','unMountHistoryContent','react','set','UNIVER_HISTORY_CONTAINER_ID','7jKGOWo','_historyManagerService','UniverEditHistoryViewerPlugin','style','WorksheetEditPermission','ThemeService','svg','292448macDZb','close','@univerjs/sheets-formula-ui','combineLatest','UniverSheetsFilter','_themeService','LS_CONFIG_KEY','next','2856636ZsCrNp','ICommandService','appendChild','UniverSheetsFormulaUIPlugin','reload','dataset','exhaustSavingTask','state$','UniverProEditHistoryLoader','UniverProSheetsPivot','children','BehaviorSubject','_config','PLUGIN_CONFIG_KEY_WORKER_THREAD','_init','register','univer-history-container','exports','xlink:href','@univerjs-pro/edit-history-viewer','HistoryLoaderService','registerPlugin','UniverSheetsFormulaUi','session','@univerjs/sheets-data-validation','workerURL','UniverSheetsDrawingUi','1em','executeCommand','some','_injector','@univerjs/sheets-filter-ui','SYNCED','http://www.w3.org/2000/svg','_permissionService','_commandService','1000','MenuItemType','_localCacheService','UNIVER_SHEET','UniverProSheetsSparkline','UniverSheetsFilterUIPlugin','_menuManagerService','IAuthzIoService','_initListener','UniverSheetsHyperLink','UniverProSheetsChartUi','left','status$','mountHistoryContent','UniverNetworkPlugin','Entered','IConfigService','UniverSheetsFormulaPlugin','display','UniverDrawing','@univerjs-pro/sheets-sparkline','@univerjs-pro/sheets-pivot','UniverSheetsChartPlugin','subscribe','composePermission','RxDisposable','event$','833184EwCnBB','@univerjs-pro/license','toStringTag','displayName','UniverUi','_checkCanRevert','UniverSheetsPlugin','HistoryManagerService','dispose','UniverDataValidationPlugin','symbol','data','Module','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','includes','history-container','UniverProCollaboration','@univerjs/sheets-hyper-link','univerContainerId','getSheets','IPermissionService','flat','UniverInstanceType','clear','UniverNetwork','UniverSheetsDataValidation','url(#$1','fill','UniverSheetsConditionalFormattingPlugin','@univerjs/sheets-hyper-link-ui','OPERATION','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','createElement','setLocale','location','_historyUniver$','univer-container','UniverSheetsFormula','@univerjs/sheets-data-validation-ui','Injector','from','WorkbookEditablePermission','entries','UniverSheetsDrawing','assign','2906110tYsVHP','historyUniver','Inject','unsubscribe','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','UniverDrawingPlugin','WorkbookRecoverHistoryPermission','UNIVER_CONTAINER_ID','IDialogService','Exited','attrs','path','setTheme','_disposableCollection','colorChannel1','_univerInstanceService','univerjs-icon\x20univerjs-icon-','UniverDataValidation','idSuffix','7060024ityujG','330431NaxbZo','Disposable','univer.operation.exit-edit-history','block','UniverSheetsUIPlugin','getLocales','_dialogService','@univerjs-pro/collaboration-client','trim','getElementById','IMessageService','mask','defineProperty','object','UniverProSheetsSparklineUi','UniverSheets','@univerjs/rpc','editHistory.panel.reverting','ComponentManager','params','_initUniver','currentTheme$','UniverSheetsFilterUi','UniverSheetsDrawingUIPlugin','UniverEngineRender','get','_initPlugins','IUniverInstanceService','closeAll','getMenuHiddenObservable','clipPath','_initContainer','UniverDrawingUi','_pluginMap','UniverSheetsFilterPlugin','React','merge','\x20has\x20been\x20registered.','mergeMenu','getUnit','@univerjs/docs-ui','RevertRevisionMutation','CommandType','HistoryModeStatus','_selectionProtectionRuleModel','absolute','historyPanelComponentKey','random','has','RibbonStartGroup','defIds','add','UniverSheetSparklinePlugin','UniverEditHistoryLoaderPlugin','pluginName','none','_componentManager','rxjs','100%','editHistory.panel.listFetchError','_sidebarService','currentColor','registerCommand','height','map','function','UniverIcon','@univerjs/engine-render','every','UniverProCollaborationClient','useRef','defs','width','@univerjs/drawing-ui','current','UniverCollaborationPlugin','IMenuManagerService','UniverSheetsChartUIPlugin','UniverSheetsHyperLinkUIPlugin','eventID','UniverSheetsPivotTablePlugin','white','_revertErrorTimer','UniverSheetsConditionalFormattingUIPlugin','triggerLoadVersions','replace','UniverRPCMainThreadPlugin','@univerjs/sheets-numfmt','UniverDocsUi','UniverSheetsDataValidationPlugin','CHANGESET_ACK','setConfig','getCurrentRangeDisable$','@univerjs/sheets-drawing-ui','UniverDrawingUIPlugin','UniverSheetsDataValidationUIPlugin','1307748WAgwWC','@univerjs-pro/sheets-chart-ui','string','@univerjs/docs','__getInjector','UniverRpc','UniverLicensePlugin','_localeService','tag','HistoryIcon','WorkbookViewHistoryPermission','ILocalCacheService','UNIVER_UNKNOWN','@univerjs/sheets-ui','asObservable'];_0x4cb2=function(){return _0x5ac856;};return _0x4cb2();}function _0x1a3c(_0x31a2e7,_0x4cb1fa){_0x31a2e7=_0x31a2e7-0x16c;const _0x4cb294=_0x4cb2();let _0x1a3ca9=_0x4cb294[_0x31a2e7];return _0x1a3ca9;}(function(_0x1ca163,_0x39f51b){const _0x4e79c9=_0x1a3c,_0x5ea0db=_0x1ca163();while(!![]){try{const _0x2c44d8=parseInt(_0x4e79c9(0x269))/0x1+-parseInt(_0x4e79c9(0x1e1))/0x2+parseInt(_0x4e79c9(0x228))/0x3+-parseInt(_0x4e79c9(0x19f))/0x4+parseInt(_0x4e79c9(0x255))/0x5+parseInt(_0x4e79c9(0x1e9))/0x6+-parseInt(_0x4e79c9(0x1da))/0x7*(parseInt(_0x4e79c9(0x268))/0x8);if(_0x2c44d8===_0x39f51b)break;else _0x5ea0db['push'](_0x5ea0db['shift']());}catch(_0x297567){_0x5ea0db['push'](_0x5ea0db['shift']());}}}(_0x4cb2,0x4ba3f),function(_0x21b420,_0xdc6854){const _0x4675b2=_0x1a3c;typeof exports==_0x4675b2(0x276)&&typeof module<'u'?_0xdc6854(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x4675b2(0x180)&&define['amd']?define([_0x4675b2(0x1fa),'@univerjs/core','@univerjs-pro/collaboration',_0x4675b2(0x270),_0x4675b2(0x1c9),_0x4675b2(0x1d7),'@univerjs/ui',_0x4675b2(0x178),'@univerjs/sheets',_0x4675b2(0x1fc),_0x4675b2(0x229),'@univerjs-pro/sheets-chart',_0x4675b2(0x1a0),_0x4675b2(0x222),_0x4675b2(0x221),_0x4675b2(0x1cb),'@univerjs/data-validation',_0x4675b2(0x1a2),_0x4675b2(0x291),'@univerjs/drawing',_0x4675b2(0x188),'@univerjs/engine-formula',_0x4675b2(0x182),'@univerjs/network',_0x4675b2(0x279),'@univerjs/sheets-conditional-formatting','@univerjs/sheets-conditional-formatting-ui',_0x4675b2(0x201),_0x4675b2(0x24e),'@univerjs/sheets-drawing',_0x4675b2(0x19c),'@univerjs/sheets-filter',_0x4675b2(0x208),'@univerjs/sheets-formula',_0x4675b2(0x1e3),_0x4675b2(0x239),_0x4675b2(0x245),_0x4675b2(0x196),_0x4675b2(0x1ac)],_0xdc6854):(_0x21b420=typeof globalThis<'u'?globalThis:_0x21b420||self,_0xdc6854(_0x21b420[_0x4675b2(0x1f1)]={},_0x21b420['UniverCore'],_0x21b420[_0x4675b2(0x238)],_0x21b420[_0x4675b2(0x184)],_0x21b420['UniverDesign'],_0x21b420[_0x4675b2(0x28c)],_0x21b420[_0x4675b2(0x22c)],_0x21b420[_0x4675b2(0x178)],_0x21b420[_0x4675b2(0x278)],_0x21b420[_0x4675b2(0x1b8)],_0x21b420[_0x4675b2(0x1af)],_0x21b420['UniverProSheetsChart'],_0x21b420[_0x4675b2(0x217)],_0x21b420[_0x4675b2(0x1f2)],_0x21b420[_0x4675b2(0x211)],_0x21b420[_0x4675b2(0x277)],_0x21b420[_0x4675b2(0x266)],_0x21b420['UniverDocs'],_0x21b420[_0x4675b2(0x197)],_0x21b420[_0x4675b2(0x220)],_0x21b420[_0x4675b2(0x289)],_0x21b420['UniverEngineFormula'],_0x21b420[_0x4675b2(0x281)],_0x21b420[_0x4675b2(0x240)],_0x21b420[_0x4675b2(0x1a4)],_0x21b420['UniverSheetsConditionalFormatting'],_0x21b420['UniverSheetsConditionalFormattingUi'],_0x21b420[_0x4675b2(0x241)],_0x21b420[_0x4675b2(0x1ca)],_0x21b420[_0x4675b2(0x253)],_0x21b420[_0x4675b2(0x203)],_0x21b420[_0x4675b2(0x1e5)],_0x21b420[_0x4675b2(0x27f)],_0x21b420[_0x4675b2(0x24d)],_0x21b420[_0x4675b2(0x1ff)],_0x21b420[_0x4675b2(0x216)],_0x21b420['UniverSheetsHyperLinkUi'],_0x21b420[_0x4675b2(0x1be)],_0x21b420['UniverSheetsUi']));}(this,function(_0x1a525a,_0x226b70,_0x3407c5,_0x30e526,_0x59d46b,_0xce8770,_0x25dca3,_0xaa4b0a,_0x28f6bf,_0x86a39d,_0x150a18,_0x421511,_0x2b3067,_0x3cfe18,_0x5a94fc,_0xcdbc3f,_0x55040f,_0x3ddbb9,_0x9ef1d2,_0x55e568,_0x5c3764,_0x35a686,_0x2f04c9,_0x393e08,_0x4d1d39,_0x2a79d3,_0x23cd3a,_0x1605c6,_0x1e49b9,_0x2f89d3,_0x4a6b5c,_0x4cf6a0,_0x22b663,_0x53cc5a,_0x1c25f5,_0x1986b1,_0x214495,_0x239958,_0x277b8f){'use strict';const _0x45b718=_0x1a3c;var _0x154949=Object[_0x45b718(0x275)],_0x331db5=(_0x5a0d8c,_0x31ee77,_0x24201a)=>_0x31ee77 in _0x5a0d8c?_0x154949(_0x5a0d8c,_0x31ee77,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24201a}):_0x5a0d8c[_0x31ee77]=_0x24201a,_0x567471=(_0x560ba0,_0x2c05f8,_0x3fc3c1)=>_0x331db5(_0x560ba0,typeof _0x2c05f8!=_0x45b718(0x232)?_0x2c05f8+'':_0x2c05f8,_0x3fc3c1),_0x4fc701;const _0x102f57='edit-history-loader.config',_0x5bad82={};function _0x5a3dd5({ref:_0x4e4858,..._0x11d72c}){const _0x5c790b=_0x45b718,{icon:_0x1d72ed,id:_0x4f9735,className:_0x5c368e,extend:_0x46b304,..._0x4921a2}=_0x11d72c,_0x1e2c40=(_0x5c790b(0x265)+_0x4f9735+'\x20'+(_0x5c368e||''))[_0x5c790b(0x271)](),_0x30d3c7=_0xce8770[_0x5c790b(0x185)]('_'+_0xddac33());return _0x8d3b6a(_0x1d72ed,''+_0x4f9735,{'defIds':_0x1d72ed[_0x5c790b(0x171)],'idSuffix':_0x30d3c7[_0x5c790b(0x189)]},{'ref':_0x4e4858,'className':_0x1e2c40,..._0x4921a2},_0x46b304);}function _0x8d3b6a(_0x5ab5a6,_0x530355,_0xc0143b,_0x47b190,_0x3271f5){const _0x3e86bb=_0x45b718;return _0xce8770[_0x3e86bb(0x248)](_0x5ab5a6['tag'],{'key':_0x530355,..._0x43c6f4(_0x5ab5a6,_0xc0143b,_0x3271f5),..._0x47b190},(_0x23de53(_0x5ab5a6,_0xc0143b)['children']||[])[_0x3e86bb(0x17f)]((_0x53c44d,_0x19000b)=>_0x8d3b6a(_0x53c44d,_0x530355+'-'+_0x5ab5a6[_0x3e86bb(0x1a7)]+'-'+_0x19000b,_0xc0143b,void 0x0,_0x3271f5)));}function _0x43c6f4(_0x2825a2,_0x420180,_0x7bed33){const _0x18a740=_0x45b718,_0x414f74={..._0x2825a2['attrs']};_0x7bed33!=null&&_0x7bed33[_0x18a740(0x263)]&&_0x414f74[_0x18a740(0x243)]===_0x18a740(0x263)&&(_0x414f74['fill']=_0x7bed33[_0x18a740(0x263)]),_0x2825a2[_0x18a740(0x1a7)]===_0x18a740(0x274)&&_0x414f74['id']&&(_0x414f74['id']=_0x414f74['id']+_0x420180['idSuffix']),Object[_0x18a740(0x252)](_0x414f74)[_0x18a740(0x1d5)](([_0x46c662,_0x417261])=>{const _0x2af227=_0x18a740;_0x46c662===_0x2af227(0x274)&&typeof _0x417261==_0x2af227(0x1a1)&&(_0x414f74[_0x46c662]=_0x417261[_0x2af227(0x194)](/url\(#(.*)\)/,'url(#$1'+_0x420180[_0x2af227(0x267)]+')'));});const {defIds:_0x3e4dd9}=_0x420180;return!_0x3e4dd9||_0x3e4dd9[_0x18a740(0x1b7)]===0x0||(_0x2825a2[_0x18a740(0x1a7)]==='use'&&_0x414f74[_0x18a740(0x1fb)]&&(_0x414f74[_0x18a740(0x1fb)]=_0x414f74[_0x18a740(0x1fb)]+_0x420180[_0x18a740(0x267)]),Object['entries'](_0x414f74)[_0x18a740(0x1d5)](([_0x351fb9,_0x456f69])=>{const _0x127e31=_0x18a740;typeof _0x456f69==_0x127e31(0x1a1)&&(_0x414f74[_0x351fb9]=_0x456f69[_0x127e31(0x194)](/url\(#(.*)\)/,_0x127e31(0x242)+_0x420180[_0x127e31(0x267)]+')'));})),_0x414f74;}function _0x23de53(_0x25cfff,_0x3fb740){const _0x45fae3=_0x45b718;var _0x277e1c;const {defIds:_0x4e3d34}=_0x3fb740;return!_0x4e3d34||_0x4e3d34[_0x45fae3(0x1b7)]===0x0?_0x25cfff:_0x25cfff['tag']==='defs'&&((_0x277e1c=_0x25cfff[_0x45fae3(0x1f3)])!=null&&_0x277e1c['length'])?{..._0x25cfff,'children':_0x25cfff[_0x45fae3(0x1f3)][_0x45fae3(0x17f)](_0x290f92=>typeof _0x290f92[_0x45fae3(0x25f)]['id']==_0x45fae3(0x1a1)&&_0x4e3d34&&_0x4e3d34[_0x45fae3(0x236)](_0x290f92['attrs']['id'])?{..._0x290f92,'attrs':{..._0x290f92['attrs'],'id':_0x290f92[_0x45fae3(0x25f)]['id']+_0x3fb740[_0x45fae3(0x267)]}}:_0x290f92)}:_0x25cfff;}function _0xddac33(){const _0xc04786=_0x45b718;return Math[_0xc04786(0x16e)]()['toString'](0x24)[_0xc04786(0x1bc)](0x2,0x8);}_0x5a3dd5[_0x45b718(0x22b)]=_0x45b718(0x181);const _0x24f68c={'tag':_0x45b718(0x1e0),'attrs':{'xmlns':_0x45b718(0x20a),'fill':_0x45b718(0x176),'viewBox':'0\x200\x2016\x2016','width':_0x45b718(0x204),'height':_0x45b718(0x204)},'children':[{'tag':'g','attrs':{'fill':_0x45b718(0x17c),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x45b718(0x260),'attrs':{'d':_0x45b718(0x259)}},{'tag':_0x45b718(0x260),'attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':_0x45b718(0x186),'attrs':{},'children':[{'tag':_0x45b718(0x287),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x45b718(0x260),'attrs':{'fill':_0x45b718(0x190),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x45b718(0x1cf)]},_0x2f9e40=_0xce8770[_0x45b718(0x1b9)](function(_0x11629c,_0x415d2b){const _0x191524=_0x45b718;return _0xce8770[_0x191524(0x248)](_0x5a3dd5,Object[_0x191524(0x254)]({},_0x11629c,{'id':'history-icon','ref':_0x415d2b,'icon':_0x24f68c}));});_0x2f9e40[_0x45b718(0x22b)]=_0x45b718(0x1a8);var _0xe1fc01=Object[_0x45b718(0x1b5)],_0x588f59=(_0x2a7fc1,_0x3b740a,_0x1f3581,_0x4b589c)=>{const _0x36a9f3=_0x45b718;for(var _0x5e07f6=_0x4b589c>0x1?void 0x0:_0x4b589c?_0xe1fc01(_0x3b740a,_0x1f3581):_0x3b740a,_0x164ec5=_0x2a7fc1[_0x36a9f3(0x1b7)]-0x1,_0x275f9e;_0x164ec5>=0x0;_0x164ec5--)(_0x275f9e=_0x2a7fc1[_0x164ec5])&&(_0x5e07f6=_0x275f9e(_0x5e07f6)||_0x5e07f6);return _0x5e07f6;},_0x15f646=(_0x18a30e,_0x44b062)=>(_0x21b674,_0x5d07a3)=>_0x44b062(_0x21b674,_0x5d07a3,_0x18a30e);const _0x593ec1=_0x45b718(0x24c),_0x3c19ca=_0x45b718(0x25c),_0x2fe665=_0x45b718(0x1f9);_0x1a525a[_0x45b718(0x1fd)]=class extends _0x226b70[_0x45b718(0x26a)]{constructor(_0x255ce1,_0x383856,_0x232be7,_0x1e420d,_0x518b50,_0x34fa0c,_0xa71df8,_0x34e15a,_0x1df95d,_0x3ef0aa){const _0x4320d4=_0x45b718;super(),_0x567471(this,'_historyUniver$',new _0xaa4b0a[(_0x4320d4(0x1f4))](null)),_0x567471(this,_0x4320d4(0x1bb),this[_0x4320d4(0x24b)][_0x4320d4(0x1ad)]()),_0x567471(this,_0x4320d4(0x262),new _0x226b70['DisposableCollection']()),_0x567471(this,_0x4320d4(0x28a),new Map()),(this['_localeService']=_0x255ce1,this[_0x4320d4(0x264)]=_0x383856,this[_0x4320d4(0x1bd)]=_0x232be7,this[_0x4320d4(0x20c)]=_0x1e420d,this[_0x4320d4(0x1d1)]=_0x518b50,this[_0x4320d4(0x20b)]=_0x34fa0c,this[_0x4320d4(0x295)]=_0xa71df8,this['_dialogService']=_0x34e15a,this['_sidebarService']=_0x1df95d,this[_0x4320d4(0x1e6)]=_0x3ef0aa,this[_0x4320d4(0x1f7)]());}get[_0x45b718(0x256)](){return this['_historyUniver$']['value'];}[_0x45b718(0x1f7)](){const _0x3473c6=_0x45b718;this['_initContainer'](),this[_0x3473c6(0x283)]();}[_0x45b718(0x288)](){const _0x4cd211=_0x45b718;var _0x1c9ba8;const _0x1916a3=(_0x1c9ba8=this[_0x4cd211(0x1bd)][_0x4cd211(0x1b4)](_0x3c19ca))!=null?_0x1c9ba8:_0x593ec1,_0x300d70=document[_0x4cd211(0x272)](_0x1916a3);if(!_0x300d70)return;const _0x12f043=document[_0x4cd211(0x248)]('div');_0x12f043['id']=_0x2fe665,_0x12f043[_0x4cd211(0x1ee)]['uComp']=_0x4cd211(0x237),_0x12f043[_0x4cd211(0x1dd)]['position']=_0x4cd211(0x16c),_0x12f043['style']['top']='0',_0x12f043[_0x4cd211(0x1dd)][_0x4cd211(0x218)]='0',_0x12f043['style'][_0x4cd211(0x187)]=_0x4cd211(0x179),_0x12f043[_0x4cd211(0x1dd)][_0x4cd211(0x17e)]=_0x4cd211(0x179),_0x12f043[_0x4cd211(0x1dd)][_0x4cd211(0x1b6)]=_0x4cd211(0x20d),_0x12f043[_0x4cd211(0x1dd)]['display']=_0x4cd211(0x176),_0x300d70[_0x4cd211(0x1eb)](_0x12f043);}['_initPlugins'](){const _0x432650=_0x45b718;var _0x733e21,_0x5aee86,_0x1c91ca,_0x29b043;[[_0x2f04c9[_0x432650(0x1ce)]],[_0x25dca3['UniverUIPlugin'],{'container':_0x2fe665,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x25dca3[_0x432650(0x25d)],null]]}],[_0x393e08[_0x432650(0x21b)]],[_0x55e568[_0x432650(0x25a)],{'override':[[_0x55e568['IImageIoService'],null]]}],[_0x3ddbb9['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x9ef1d2[_0x432650(0x1c0)]],[_0x239958[_0x432650(0x1c8)]],[_0x28f6bf[_0x432650(0x22e)],{'notExecuteFormula':!0x0}],[_0x277b8f[_0x432650(0x26d)]],[_0x53cc5a[_0x432650(0x21e)]],[_0x1c25f5[_0x432650(0x1ec)]],[_0x3407c5[_0x432650(0x18a)]],[_0x4cf6a0[_0x432650(0x28b)]],[_0x22b663[_0x432650(0x212)]],[_0x2a79d3[_0x432650(0x244)]],[_0x23cd3a[_0x432650(0x192)]],[_0x1986b1['UniverSheetsHyperLinkPlugin']],[_0x214495[_0x432650(0x18d)]],[_0x55040f[_0x432650(0x231)]],[_0x1605c6[_0x432650(0x198)]],[_0x1e49b9[_0x432650(0x19e)]],[_0x35a686[_0x432650(0x1d2)],{'notExecuteFormula':!0x0}],[_0x4d1d39[_0x432650(0x195)],{'workerURL':(_0x5aee86=(_0x733e21=this['_configService'][_0x432650(0x1b4)](_0x4d1d39[_0x432650(0x1f6)]))==null?void 0x0:_0x733e21[_0x432650(0x202)])!=null?_0x5aee86:'./worker.js'}],[_0x5c3764[_0x432650(0x19d)]],[_0x2f89d3[_0x432650(0x1bf)]],[_0x4a6b5c[_0x432650(0x280)]],[_0x5a94fc[_0x432650(0x173)]],[_0xcdbc3f['UniverSheetSparklineUIPlugin']],[_0x421511[_0x432650(0x223)]],[_0x2b3067[_0x432650(0x18c)]],[_0x3cfe18[_0x432650(0x18f)],{'notExecuteFormula':!0x0}],[_0x86a39d[_0x432650(0x1dc)],{'historyListServerUrl':(_0x1c91ca=this[_0x432650(0x1bd)][_0x432650(0x1b4)](_0x102f57))==null?void 0x0:_0x1c91ca['historyListServerUrl'],'historyPanelComponentKey':(_0x29b043=this['_configService'][_0x432650(0x1b4)](_0x102f57))==null?void 0x0:_0x29b043[_0x432650(0x16d)]}]][_0x432650(0x1d5)](([_0x105136,_0x5c8fc2])=>this[_0x432650(0x1fe)](_0x105136,_0x5c8fc2));}[_0x45b718(0x230)](){const _0x442db0=_0x45b718;super[_0x442db0(0x230)](),this[_0x442db0(0x1d6)](),this[_0x442db0(0x28a)][_0x442db0(0x23f)]();}['registerPlugin'](_0x4e525c,_0x3eb767,_0x529df5){const _0x5008b4=_0x45b718;if(this[_0x5008b4(0x28a)][_0x5008b4(0x16f)](_0x4e525c[_0x5008b4(0x175)])&&!_0x529df5)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x4e525c[_0x5008b4(0x175)]+_0x5008b4(0x28e));this['_pluginMap'][_0x5008b4(0x1d8)](_0x4e525c[_0x5008b4(0x175)],[_0x4e525c,_0x3eb767]);}['getAllPlugins'](){const _0x14a67a=_0x45b718;return Array[_0x14a67a(0x250)](this[_0x14a67a(0x28a)]['values']());}['mountHistoryContent'](_0x4f242c){const _0x9dec66=_0x45b718,_0x1063e0=document[_0x9dec66(0x272)](_0x2fe665);_0x1063e0&&(_0x1063e0[_0x9dec66(0x1dd)][_0x9dec66(0x21f)]=_0x9dec66(0x26c),this[_0x9dec66(0x27d)](_0x4f242c,_0x2fe665));}[_0x45b718(0x1d6)](){const _0x2ba31b=_0x45b718;var _0x9d1c1b;this[_0x2ba31b(0x262)][_0x2ba31b(0x230)](),(_0x9d1c1b=this[_0x2ba31b(0x256)])==null||_0x9d1c1b[_0x2ba31b(0x230)](),this[_0x2ba31b(0x24b)]['next'](null);const _0x22309d=document[_0x2ba31b(0x272)](_0x2fe665);_0x22309d&&(_0x22309d[_0x2ba31b(0x1dd)][_0x2ba31b(0x21f)]=_0x2ba31b(0x176));}[_0x45b718(0x27d)](_0x34745e,_0x5ded29){const _0x4eaf53=_0x45b718;if(this['historyUniver'])return;const _0x5c5911=new _0x226b70['Univer']({'locales':{[this[_0x4eaf53(0x1a6)][_0x4eaf53(0x1cc)]()]:this[_0x4eaf53(0x1a6)][_0x4eaf53(0x26e)]()},'override':[[_0x226b70[_0x4eaf53(0x214)],{'useClass':_0x30e526['AuthzIoHttpService']}]]}),_0xf56191=_0x5c5911[_0x4eaf53(0x1a3)]();this['disposeWithMe'](this[_0x4eaf53(0x1e6)]['darkMode$'][_0x4eaf53(0x224)](_0x275405=>{const _0x17d352=_0x4eaf53;_0xf56191[_0x17d352(0x282)](_0x226b70[_0x17d352(0x1df)])[_0x17d352(0x1b2)](_0x275405);})),this[_0x4eaf53(0x1ae)](this[_0x4eaf53(0x1e6)][_0x4eaf53(0x27e)][_0x4eaf53(0x224)](_0x24248f=>{const _0x240b48=_0x4eaf53;_0xf56191[_0x240b48(0x282)](_0x226b70[_0x240b48(0x1df)])[_0x240b48(0x261)](_0x24248f);})),_0xf56191[_0x4eaf53(0x282)](_0x226b70[_0x4eaf53(0x1c5)])[_0x4eaf53(0x249)](this[_0x4eaf53(0x1a6)][_0x4eaf53(0x1cc)]()),_0xf56191[_0x4eaf53(0x282)](_0x226b70[_0x4eaf53(0x21d)])['setConfig'](_0x30e526[_0x4eaf53(0x247)],this['_configService'][_0x4eaf53(0x1b4)](_0x30e526['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x29ee07=this['_configService'][_0x4eaf53(0x1b4)](_0x150a18[_0x4eaf53(0x1e7)]);_0x29ee07&&_0x5c5911['registerPlugin'](_0x150a18[_0x4eaf53(0x1a5)],{'license':_0x29ee07['ls']}),this[_0x4eaf53(0x28a)][_0x4eaf53(0x1d5)](([_0x29adbc,_0x25f2c5])=>{const _0x705347=_0x4eaf53;_0x5c5911[_0x705347(0x1fe)](_0x29adbc,_0x25f2c5);}),_0xf56191['invoke'](_0x51b7cc=>{const _0x2a9d69=_0x4eaf53;this[_0x2a9d69(0x215)](_0x51b7cc,_0x34745e);}),this[_0x4eaf53(0x24b)][_0x4eaf53(0x1e8)](_0x5c5911);const _0x1ea275=_0xf56191[_0x4eaf53(0x282)](_0x86a39d[_0x4eaf53(0x22f)]),_0x51cc1c=this[_0x4eaf53(0x22d)](_0x34745e);_0x1ea275[_0x4eaf53(0x193)](_0x34745e,_0x5ded29,_0x51cc1c);}[_0x45b718(0x215)](_0x1919bf,_0x3b8995){const _0xe1789b=_0x45b718,_0x4cfcf0=_0x1919bf[_0xe1789b(0x282)](_0x86a39d[_0xe1789b(0x22f)]);this[_0xe1789b(0x262)][_0xe1789b(0x172)](_0x4cfcf0[_0xe1789b(0x219)]['subscribe'](_0x11d11e=>{const _0xb361f4=_0xe1789b;switch(_0x11d11e){case _0x86a39d[_0xb361f4(0x294)][_0xb361f4(0x21c)]:this[_0xb361f4(0x26f)][_0xb361f4(0x285)](),this[_0xb361f4(0x17b)][_0xb361f4(0x1e2)]();break;case _0x86a39d['HistoryModeStatus'][_0xb361f4(0x25e)]:this[_0xb361f4(0x20c)][_0xb361f4(0x205)](_0x5d966a['id']),this['unMountHistoryContent']();break;case _0x86a39d[_0xb361f4(0x294)]['Error']:this[_0xb361f4(0x1d6)](),this[_0xb361f4(0x1d1)]['show']({'content':this[_0xb361f4(0x1a6)]['t'](_0xb361f4(0x17a)),'type':_0x59d46b['MessageType']['Error'],'duration':0xbb8});break;}})),this[_0xe1789b(0x262)][_0xe1789b(0x172)](_0x4cfcf0['revertRevision$'][_0xe1789b(0x224)](async _0x519510=>{const _0x15464f=_0xe1789b;_0x519510&&this['_commandService'][_0x15464f(0x205)](_0x3407c5[_0x15464f(0x292)]['id'],{'unitId':_0x3b8995,'revision':_0x519510});}));}['_checkCanRevert'](_0x371317){const _0xc40e7a=_0x45b718,_0x1d9ae3=this[_0xc40e7a(0x264)][_0xc40e7a(0x290)](_0x371317)[_0xc40e7a(0x23b)]()[_0xc40e7a(0x17f)](_0x2290cc=>_0x2290cc['getSheetId']()),_0xc06a0d=new _0x28f6bf[(_0xc40e7a(0x251))](_0x371317)['id'],_0x29d29e=_0x1d9ae3[_0xc40e7a(0x17f)](_0x453529=>new _0x28f6bf[(_0xc40e7a(0x1de))](_0x371317,_0x453529)['id']),_0x4926c0=_0x1d9ae3[_0xc40e7a(0x17f)](_0x368486=>this[_0xc40e7a(0x295)][_0xc40e7a(0x1ba)](_0x371317,_0x368486)[_0xc40e7a(0x17f)](_0x3e5fac=>new _0x28f6bf['RangeProtectionPermissionEditPoint'](_0x371317,_0x368486,_0x3e5fac[_0xc40e7a(0x1c4)])['id']))[_0xc40e7a(0x23d)](),_0x431b52=new _0x28f6bf[(_0xc40e7a(0x25b))](_0x371317)['id'];return this[_0xc40e7a(0x20b)][_0xc40e7a(0x225)]([_0xc06a0d,..._0x29d29e,..._0x4926c0,_0x431b52])[_0xc40e7a(0x183)](_0x32b1e1=>!!_0x32b1e1['value']);}},_0x1a525a['HistoryLoaderService']=_0x588f59([_0x15f646(0x0,_0x226b70[_0x45b718(0x257)](_0x226b70[_0x45b718(0x1c5)])),_0x15f646(0x1,_0x226b70[_0x45b718(0x284)]),_0x15f646(0x2,_0x226b70[_0x45b718(0x21d)]),_0x15f646(0x3,_0x226b70[_0x45b718(0x1ea)]),_0x15f646(0x4,_0x25dca3['IMessageService']),_0x15f646(0x5,_0x226b70[_0x45b718(0x23c)]),_0x15f646(0x6,_0x226b70[_0x45b718(0x257)](_0x28f6bf['RangeProtectionRuleModel'])),_0x15f646(0x7,_0x226b70[_0x45b718(0x257)](_0x25dca3[_0x45b718(0x25d)])),_0x15f646(0x8,_0x226b70[_0x45b718(0x257)](_0x25dca3['ISidebarService'])),_0x15f646(0x9,_0x226b70[_0x45b718(0x257)](_0x226b70[_0x45b718(0x1df)]))],_0x1a525a[_0x45b718(0x1fd)]);const _0x4ae15b={'id':'univer.operation.toggle-edit-history','type':_0x226b70[_0x45b718(0x293)][_0x45b718(0x246)],'handler':_0x2065b4=>{const _0x3a139e=_0x45b718,_0x28722c=_0x2065b4['get'](_0x1a525a[_0x3a139e(0x1fd)]),_0x4080d3=_0x2065b4[_0x3a139e(0x282)](_0x226b70[_0x3a139e(0x284)]),{unitId:_0x31a680}=_0x28f6bf['getSheetCommandTarget'](_0x4080d3)||{};return _0x31a680?(_0x28722c[_0x3a139e(0x21a)](_0x31a680),!0x0):!0x1;}},_0x5d966a={'id':_0x45b718(0x26b),'type':_0x226b70[_0x45b718(0x293)]['OPERATION'],'handler':()=>!0x0};function _0x368244(_0x4393ae){const _0x3a84e1=_0x45b718;return{'id':_0x4ae15b['id'],'type':_0x25dca3[_0x3a84e1(0x20e)][_0x3a84e1(0x1d3)],'icon':_0x3a84e1(0x1a8),'tooltip':_0x3a84e1(0x1c2),'hidden$':_0x25dca3[_0x3a84e1(0x286)](_0x4393ae,_0x226b70['UniverInstanceType'][_0x3a84e1(0x210)]),'disabled$':_0x277b8f[_0x3a84e1(0x19b)](_0x4393ae,{'workbookTypes':[_0x28f6bf[_0x3a84e1(0x251)],_0x28f6bf[_0x3a84e1(0x1a9)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x40a79e={[_0x25dca3[_0x45b718(0x170)]['OTHERS']]:{[_0x4ae15b['id']]:{'order':0.2,'menuItemFactory':_0x368244}}};var _0x2e8e57=Object[_0x45b718(0x1b5)],_0x24d211=(_0x5bf599,_0xe44ea7,_0x1f3594,_0x44a16d)=>{const _0x187017=_0x45b718;for(var _0x555f6f=_0x44a16d>0x1?void 0x0:_0x44a16d?_0x2e8e57(_0xe44ea7,_0x1f3594):_0xe44ea7,_0x4d3eef=_0x5bf599[_0x187017(0x1b7)]-0x1,_0x46d753;_0x4d3eef>=0x0;_0x4d3eef--)(_0x46d753=_0x5bf599[_0x4d3eef])&&(_0x555f6f=_0x46d753(_0x555f6f)||_0x555f6f);return _0x555f6f;},_0x24f713=(_0x3a28f8,_0x4e211f)=>(_0x41aa34,_0xd03037)=>_0x4e211f(_0x41aa34,_0xd03037,_0x3a28f8);let _0x330975=class extends _0x226b70[_0x45b718(0x226)]{constructor(_0x9ad564,_0x119891,_0xa7eccc,_0x2b425c,_0x104498,_0x30e686,_0xd3d160,_0x174557){const _0x45587c=_0x45b718;super(),_0x567471(this,_0x45587c(0x191),null),(this['_commandService']=_0x9ad564,this[_0x45587c(0x213)]=_0x119891,this[_0x45587c(0x177)]=_0xa7eccc,this['_historyManagerService']=_0x2b425c,this['_localeService']=_0x104498,this[_0x45587c(0x1d1)]=_0x30e686,this[_0x45587c(0x1b1)]=_0xd3d160,this[_0x45587c(0x20f)]=_0x174557,this[_0x45587c(0x1f7)]());}[_0x45b718(0x1f7)](){const _0x3a3dd8=_0x45b718;[_0x4ae15b,_0x5d966a][_0x3a3dd8(0x1d5)](_0x10b063=>this[_0x3a3dd8(0x1ae)](_0x226b70[_0x3a3dd8(0x1d0)](this['_commandService'][_0x3a3dd8(0x17d)](_0x10b063)))),this[_0x3a3dd8(0x1ae)](this[_0x3a3dd8(0x177)][_0x3a3dd8(0x1f8)]('HistoryIcon',_0x2f9e40)),this[_0x3a3dd8(0x213)][_0x3a3dd8(0x28f)](_0x40a79e),this['disposeWithMe'](this[_0x3a3dd8(0x20c)][_0x3a3dd8(0x1d4)](_0x3b7dca=>{const _0x4d9ccd=_0x3a3dd8;if(_0x3b7dca['id']===_0x3407c5[_0x4d9ccd(0x292)]['id']){this[_0x4d9ccd(0x1d1)][_0x4d9ccd(0x1b0)]({'content':this[_0x4d9ccd(0x1a6)]['t'](_0x4d9ccd(0x27a)),'type':_0x59d46b[_0x4d9ccd(0x1c1)][_0x4d9ccd(0x1b3)],'duration':0x1388});const {unitId:_0x30f990}=_0x3b7dca[_0x4d9ccd(0x27c)],_0x4fff35=this[_0x4d9ccd(0x1b1)]['getCollabEntity'](_0x30f990),_0x46d518=_0xaa4b0a[_0x4d9ccd(0x1e4)]([_0x4fff35[_0x4d9ccd(0x200)][_0x4d9ccd(0x227)],_0x4fff35[_0x4d9ccd(0x1f0)]])[_0x4d9ccd(0x224)](async([_0x2512c2,_0x5681b5])=>{const _0x2ad146=_0x4d9ccd;var _0x2cec54;_0x2512c2[_0x2ad146(0x18e)]===_0x3407c5['CollaborationEvent'][_0x2ad146(0x199)]&&(_0x5681b5==null?void 0x0:_0x5681b5['status'])===_0x30e526['CollaborationStatus'][_0x2ad146(0x209)]&&_0x2512c2[_0x2ad146(0x233)]['mutations'][_0x2ad146(0x206)](_0x243dd8=>_0x243dd8['id']===_0x3407c5[_0x2ad146(0x292)]['id'])&&(this[_0x2ad146(0x1db)]['unMountHistoryContent'](),_0x46d518[_0x2ad146(0x258)](),this['_revertErrorTimer']&&clearTimeout(this['_revertErrorTimer']),await((_0x2cec54=this[_0x2ad146(0x20f)])==null?void 0x0:_0x2cec54[_0x2ad146(0x1ef)]()),setTimeout(()=>window[_0x2ad146(0x24a)][_0x2ad146(0x1ed)]()));});this[_0x4d9ccd(0x191)]=setTimeout(()=>{const _0x358ecb=_0x4d9ccd;_0x46d518[_0x358ecb(0x258)](),this['_messageService']['show']({'content':this[_0x358ecb(0x1a6)]['t']('editHistory.panel.revertFailed'),'type':_0x59d46b[_0x358ecb(0x1c1)]['Error'],'duration':0xbb8});},0x1388);}}));}};_0x330975=_0x24d211([_0x24f713(0x0,_0x226b70[_0x45b718(0x1ea)]),_0x24f713(0x1,_0x25dca3[_0x45b718(0x18b)]),_0x24f713(0x2,_0x226b70[_0x45b718(0x257)](_0x25dca3[_0x45b718(0x27b)])),_0x24f713(0x3,_0x226b70['Inject'](_0x1a525a['HistoryLoaderService'])),_0x24f713(0x4,_0x226b70[_0x45b718(0x257)](_0x226b70[_0x45b718(0x1c5)])),_0x24f713(0x5,_0x25dca3[_0x45b718(0x273)]),_0x24f713(0x6,_0x226b70[_0x45b718(0x257)](_0x30e526['CollaborationController'])),_0x24f713(0x7,_0x30e526[_0x45b718(0x1aa)])],_0x330975);var _0x57999b=Object[_0x45b718(0x1b5)],_0x4e8c2e=(_0x15c9d9,_0x186c84,_0x38cea0,_0x426b53)=>{const _0xb7b101=_0x45b718;for(var _0x36281a=_0x426b53>0x1?void 0x0:_0x426b53?_0x57999b(_0x186c84,_0x38cea0):_0x186c84,_0x40e9e0=_0x15c9d9[_0xb7b101(0x1b7)]-0x1,_0x26a768;_0x40e9e0>=0x0;_0x40e9e0--)(_0x26a768=_0x15c9d9[_0x40e9e0])&&(_0x36281a=_0x26a768(_0x36281a)||_0x36281a);return _0x36281a;},_0x4c4eec=(_0x18f287,_0x46f2f4)=>(_0x3b6983,_0x5120c1)=>_0x46f2f4(_0x3b6983,_0x5120c1,_0x18f287);const _0x4dbdf7=_0x45b718(0x235);_0x1a525a[_0x45b718(0x174)]=(_0x4fc701=class extends _0x226b70[_0x45b718(0x1c7)]{constructor(_0x6f459a=_0x5bad82,_0x81de90,_0x1a0742){const _0x520024=_0x45b718;super(),this[_0x520024(0x1f5)]=_0x6f459a,this[_0x520024(0x207)]=_0x81de90,this['_configService']=_0x1a0742;const {menu:_0x3b69c8,..._0x32b1ed}=_0x226b70[_0x520024(0x28d)]({},_0x5bad82,this[_0x520024(0x1f5)]);_0x3b69c8&&this[_0x520024(0x1bd)][_0x520024(0x19a)](_0x520024(0x1c3),_0x3b69c8,{'merge':!0x0}),this[_0x520024(0x1bd)]['setConfig'](_0x102f57,_0x32b1ed),this['_config']['univerContainerId']&&this['_configService'][_0x520024(0x19a)](_0x3c19ca,this[_0x520024(0x1f5)][_0x520024(0x23a)]);}['onStarting'](){const _0x43443d=_0x45b718;[[_0x1a525a[_0x43443d(0x1fd)]],[_0x330975]][_0x43443d(0x1d5)](_0x38b3ff=>this[_0x43443d(0x207)][_0x43443d(0x172)](_0x38b3ff));}[_0x45b718(0x1c6)](){const _0x673a0e=_0x45b718;this['_injector'][_0x673a0e(0x282)](_0x330975);}},_0x567471(_0x4fc701,'type',_0x226b70[_0x45b718(0x23e)][_0x45b718(0x1ab)]),_0x567471(_0x4fc701,_0x45b718(0x175),_0x4dbdf7),_0x4fc701),_0x1a525a[_0x45b718(0x174)]=_0x4e8c2e([_0x4c4eec(0x1,_0x226b70[_0x45b718(0x257)](_0x226b70[_0x45b718(0x24f)])),_0x4c4eec(0x2,_0x226b70['IConfigService'])],_0x1a525a[_0x45b718(0x174)]),_0x1a525a[_0x45b718(0x1cd)]=_0x3c19ca,_0x1a525a[_0x45b718(0x1d9)]=_0x2fe665,Object[_0x45b718(0x275)](_0x1a525a,Symbol[_0x45b718(0x22a)],{'value':_0x45b718(0x234)});}));
20
+ function _0xa0b4(){const _0x41949a=['@univerjs/sheets-drawing','disposeWithMe','mergeMenu','UniverFormulaEnginePlugin','status$','colorChannel1','getSheets','UniverSheetsDataValidation','historyListServerUrl','UniverDesign','@univerjs/design','M0\x200H16V16H0z','includes','React','UniverSheetsConditionalFormattingUi','unMountHistoryContent','_sidebarService','entries','value','UniverEditHistoryViewerPlugin','CommandType','http://www.w3.org/2000/svg','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/sheets-filter-ui','UniverSheetsChartPlugin','location','@univerjs/sheets-drawing-ui','UniverProSheetsChartUi','symbol','_revertErrorTimer','UniverSheetsUIPlugin','UniverSheetsDataValidationUIPlugin','CollaborationController','UniverNetwork','getAllPlugins','status','_historyUniver$','UniverSheetsChartUIPlugin','registerCommand','WorkbookRecoverHistoryPermission','display','11209462yzhjXK','defIds','@univerjs-pro/sheets-chart','_config','DisposableCollection','composePermission','100%','editHistory.panel.revertFailed','height','darkMode$','asObservable','WorksheetEditPermission','toStringTag','UniverRpc','univerContainerId','xlink:href','editHistory.panel.listFetchError','url(#$1','assign','path','getConfig','@univerjs/core','Univer','OTHERS','_initContainer','UniverProSheetsSparklineUi','setLocale','_injector','CollaborationEvent','_checkCanRevert','ISidebarService','@univerjs-pro/edit-history-viewer','UniverInstanceType','42040SKmFnQ','Inject','block','exhaustSavingTask','[HistoryLoaderService]:\x20Plugin\x20','MenuItemType','onStarting','49FXQynz','CHANGESET_ACK','UniverSheetsFormula','revertRevision$','eventID','RxDisposable','UNIVER_UNKNOWN','combineLatest','_dialogService','UniverProSheetsSparkline','UniverEngineFormula','@univerjs/ui','history-container','_collaborationController','div','UniverSheetsFilterUi','UniverProCollaborationClient','@univerjs/engine-render','IAuthzIoService','forEach','@univerjs/data-validation','string','658881cNdQif','setConfig','Injector','RevertRevisionMutation','IMenuManagerService','BUTTON','UniverUIPlugin','286182gUiIaH','every','UniverProLicense','RibbonStartGroup','workerURL','fill','UniverSheetsDrawingUi','merge','amd','@univerjs/sheets-data-validation','edit-history-loader.config','UniverSheetsHyperLink','UniverDrawing','getSubunitRuleList','@univerjs/sheets','HistoryIcon','_pluginMap','onCommandExecuted','defs','@univerjs-pro/sheets-sparkline-ui','url(#history-icon_clip0_907_281)','1em','_localCacheService','attrs','exports','has','IConfigService','BehaviorSubject','UniverRenderEnginePlugin','@univerjs/sheets-filter','_historyManagerService','1275096XObPvi','data','0\x200\x2016\x2016','editHistory.panel.reverting','IPermissionService','editHistory.panel.title','useRef','UniverDataValidation','triggerLoadVersions','Loading','WorkbookViewHistoryPermission','substring','clipPath','WorkbookEditablePermission','reload','UniverDataValidationPlugin','ThemeService','@univerjs/sheets-conditional-formatting','@univerjs-pro/license','univer-container','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','univer-history-container','_initPlugins','rxjs','none','_init','UniverSheetsHyperLinkPlugin','285786RAykXO','UniverSheetsConditionalFormatting','mountHistoryContent','UniverUi','ComponentManager','MessageType','setTheme','SYNCED','\x20has\x20been\x20registered.','9uorfwL','Plugin','_configService','@univerjs/docs','HistoryModeStatus','_menuManagerService','_themeService','2Yydywb','close','UniverDrawingUIPlugin','HistoryManagerService','IImageIoService','UniverSheetSparklineUIPlugin','_messageService','@univerjs/sheets-formula-ui','invoke','historyUniver$','_disposableCollection','HistoryLoaderService','UniverSheetSparklinePlugin','Exited','length','@univerjs/engine-formula','IMessageService','@univerjs/drawing','show','idSuffix','UniverSheetsFormulaPlugin','permissionId','dataset','session','get','getSheetId','UniverEditHistoryLoaderPlugin','_permissionService','getUnit','@univerjs/network','some','RangeProtectionRuleModel','values','UniverSheetsPlugin','state$','createElement','LS_CONFIG_KEY','UniverSheetsConditionalFormattingPlugin','_selectionProtectionRuleModel','mutations','subscribe','UniverSheetsNumfmtPlugin','style','@univerjs-pro/sheets-sparkline','_commandService','tag','map','IUniverInstanceService','params','UniverEngineRender','ICommandService','676128Ereqwv','Error','UniverRPCMainThreadPlugin','_initUniver','event$','@univerjs/sheets-hyper-link-ui','univer.operation.toggle-edit-history','UniverSheetsDataValidationPlugin','next','@univerjs/drawing-ui','dispose','ILocalCacheService','getOwnPropertyDescriptor','type','UniverLicensePlugin','setDarkMode','UniverSheetsFormulaUi','10WnASWe','UniverSheetsDrawingPlugin','history-icon_clip0_907_281','appendChild','register','UniverProSheetsChart','children','registerPlugin','getMenuHiddenObservable','historyUniver','OPERATION','getElementById','defineProperty','menu','UniverSheetsDrawingUIPlugin','@univerjs/sheets-numfmt','displayName','UniverSheetsConditionalFormattingUIPlugin','_initListener','unsubscribe','RangeProtectionPermissionEditPoint','UniverSheetsHyperLinkUIPlugin','AuthzIoHttpService','LocaleService','function','executeCommand','UniverDocsPlugin','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','@univerjs-pro/sheets-chart-ui','add','@univerjs/rpc','pluginName','UniverCollaborationPlugin','_localeService','mask','UniverSheetsDrawing','_univerInstanceService','@univerjs/sheets-formula','top'];_0xa0b4=function(){return _0x41949a;};return _0xa0b4();}function _0x3eb5(_0x60793e,_0x3fbec1){_0x60793e=_0x60793e-0x102;const _0xa0b43a=_0xa0b4();let _0x3eb5c5=_0xa0b43a[_0x60793e];return _0x3eb5c5;}(function(_0x128eec,_0x205e6d){const _0x3be5ee=_0x3eb5,_0x12738a=_0x128eec();while(!![]){try{const _0xee3c1f=parseInt(_0x3be5ee(0x20c))/0x1*(-parseInt(_0x3be5ee(0x1c2))/0x2)+-parseInt(_0x3be5ee(0x1bb))/0x3+-parseInt(_0x3be5ee(0x11c))/0x4+parseInt(_0x3be5ee(0x19e))/0x5+parseInt(_0x3be5ee(0x1fc))/0x6*(-parseInt(_0x3be5ee(0x1a5))/0x7)+parseInt(_0x3be5ee(0x1e1))/0x8*(parseInt(_0x3be5ee(0x205))/0x9)+parseInt(_0x3be5ee(0x12d))/0xa*(parseInt(_0x3be5ee(0x17d))/0xb);if(_0xee3c1f===_0x205e6d)break;else _0x12738a['push'](_0x12738a['shift']());}catch(_0x492d88){_0x12738a['push'](_0x12738a['shift']());}}}(_0xa0b4,0x2b993),function(_0x3a5700,_0x4e1573){const _0x10ba30=_0x3eb5;typeof exports=='object'&&typeof module<'u'?_0x4e1573(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x10ba30(0x145)&&define[_0x10ba30(0x1ca)]?define([_0x10ba30(0x1da),_0x10ba30(0x192),'@univerjs-pro/collaboration','@univerjs-pro/collaboration-client',_0x10ba30(0x15e),'react',_0x10ba30(0x1b0),_0x10ba30(0x1f8),_0x10ba30(0x1d0),_0x10ba30(0x19c),_0x10ba30(0x1f3),_0x10ba30(0x17f),_0x10ba30(0x149),'@univerjs-pro/sheets-pivot',_0x10ba30(0x114),_0x10ba30(0x1d5),_0x10ba30(0x1b9),_0x10ba30(0x208),'@univerjs/docs-ui',_0x10ba30(0x21d),_0x10ba30(0x125),_0x10ba30(0x21b),_0x10ba30(0x1b6),_0x10ba30(0x106),_0x10ba30(0x14b),_0x10ba30(0x1f2),'@univerjs/sheets-conditional-formatting-ui',_0x10ba30(0x1cb),'@univerjs/sheets-data-validation-ui',_0x10ba30(0x154),_0x10ba30(0x16e),_0x10ba30(0x1df),_0x10ba30(0x16b),_0x10ba30(0x152),_0x10ba30(0x213),'@univerjs/sheets-hyper-link',_0x10ba30(0x121),_0x10ba30(0x13c),'@univerjs/sheets-ui'],_0x4e1573):(_0x3a5700=typeof globalThis<'u'?globalThis:_0x3a5700||self,_0x4e1573(_0x3a5700['UniverProEditHistoryLoader']={},_0x3a5700['UniverCore'],_0x3a5700['UniverProCollaboration'],_0x3a5700[_0x10ba30(0x1b5)],_0x3a5700[_0x10ba30(0x15d)],_0x3a5700[_0x10ba30(0x161)],_0x3a5700[_0x10ba30(0x1ff)],_0x3a5700['rxjs'],_0x3a5700['UniverSheets'],_0x3a5700['UniverProEditHistoryViewer'],_0x3a5700[_0x10ba30(0x1c4)],_0x3a5700[_0x10ba30(0x132)],_0x3a5700[_0x10ba30(0x16f)],_0x3a5700['UniverProSheetsPivot'],_0x3a5700[_0x10ba30(0x1ae)],_0x3a5700[_0x10ba30(0x196)],_0x3a5700[_0x10ba30(0x1e8)],_0x3a5700['UniverDocs'],_0x3a5700['UniverDocsUi'],_0x3a5700[_0x10ba30(0x1ce)],_0x3a5700['UniverDrawingUi'],_0x3a5700[_0x10ba30(0x1af)],_0x3a5700[_0x10ba30(0x11a)],_0x3a5700[_0x10ba30(0x175)],_0x3a5700[_0x10ba30(0x18a)],_0x3a5700[_0x10ba30(0x1fd)],_0x3a5700[_0x10ba30(0x162)],_0x3a5700[_0x10ba30(0x15b)],_0x3a5700['UniverSheetsDataValidationUi'],_0x3a5700[_0x10ba30(0x150)],_0x3a5700[_0x10ba30(0x1c8)],_0x3a5700['UniverSheetsFilter'],_0x3a5700[_0x10ba30(0x1b4)],_0x3a5700[_0x10ba30(0x1a7)],_0x3a5700[_0x10ba30(0x12c)],_0x3a5700[_0x10ba30(0x1cd)],_0x3a5700['UniverSheetsHyperLinkUi'],_0x3a5700['UniverSheetsNumfmt'],_0x3a5700['UniverSheetsUi']));}(this,function(_0x280e88,_0x233f08,_0xaaeebb,_0x4c4856,_0x28dc16,_0x19842c,_0x26c674,_0x88a227,_0x52be2e,_0x3de5b9,_0x17c309,_0x25a116,_0x3a73a7,_0x2b0423,_0x29cd2d,_0x3f4b93,_0x1b8685,_0x56ad77,_0x371393,_0x249fa8,_0x42a28a,_0x2d9ea5,_0x2424a1,_0xfb2797,_0x1e121d,_0x19cd24,_0x23d0b0,_0x4ca176,_0x391292,_0xf68933,_0x38902d,_0x24a080,_0x57edba,_0x27debd,_0x196c9b,_0x346911,_0x41df1,_0x5b3102,_0x5d4cdb){'use strict';const _0x3bfe25=_0x3eb5;var _0x4c26b8=Object[_0x3bfe25(0x139)],_0x4c3d2b=(_0x31d6fa,_0xcc7d3d,_0x5bfd0f)=>_0xcc7d3d in _0x31d6fa?_0x4c26b8(_0x31d6fa,_0xcc7d3d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bfd0f}):_0x31d6fa[_0xcc7d3d]=_0x5bfd0f,_0x229616=(_0x1c2187,_0x583608,_0x2e21fd)=>_0x4c3d2b(_0x1c2187,typeof _0x583608!=_0x3bfe25(0x170)?_0x583608+'':_0x583608,_0x2e21fd),_0x124250;const _0x575c58=_0x3bfe25(0x1cc),_0x4eaee0={};function _0x2c55e9({ref:_0x5e07bf,..._0x289867}){const _0x2a9582=_0x3bfe25,{icon:_0x4c6d86,id:_0x4a7964,className:_0x284a95,extend:_0x3477b5,..._0x415fcb}=_0x289867,_0x3fcf34=('univerjs-icon\x20univerjs-icon-'+_0x4a7964+'\x20'+(_0x284a95||''))['trim'](),_0x388e29=_0x19842c[_0x2a9582(0x1e7)]('_'+_0x441822());return _0x40ff87(_0x4c6d86,''+_0x4a7964,{'defIds':_0x4c6d86[_0x2a9582(0x17e)],'idSuffix':_0x388e29['current']},{'ref':_0x5e07bf,'className':_0x3fcf34,..._0x415fcb},_0x3477b5);}function _0x40ff87(_0x38cf1a,_0xb90da7,_0xf91921,_0xb24378,_0x28c412){const _0x2c15f9=_0x3bfe25;return _0x19842c[_0x2c15f9(0x10c)](_0x38cf1a['tag'],{'key':_0xb90da7,..._0x66108e(_0x38cf1a,_0xf91921,_0x28c412),..._0xb24378},(_0x35f598(_0x38cf1a,_0xf91921)['children']||[])['map']((_0x424d9a,_0x3691ee)=>_0x40ff87(_0x424d9a,_0xb90da7+'-'+_0x38cf1a[_0x2c15f9(0x116)]+'-'+_0x3691ee,_0xf91921,void 0x0,_0x28c412)));}function _0x66108e(_0x206b54,_0x5f2460,_0x687be0){const _0x40c5ac=_0x3bfe25,_0x395c90={..._0x206b54[_0x40c5ac(0x1d9)]};_0x687be0!=null&&_0x687be0[_0x40c5ac(0x159)]&&_0x395c90[_0x40c5ac(0x1c7)]==='colorChannel1'&&(_0x395c90[_0x40c5ac(0x1c7)]=_0x687be0['colorChannel1']),_0x206b54[_0x40c5ac(0x116)]===_0x40c5ac(0x14f)&&_0x395c90['id']&&(_0x395c90['id']=_0x395c90['id']+_0x5f2460[_0x40c5ac(0x21f)]),Object[_0x40c5ac(0x165)](_0x395c90)[_0x40c5ac(0x1b8)](([_0x1839d5,_0x45c7f5])=>{const _0x13ab8b=_0x40c5ac;_0x1839d5===_0x13ab8b(0x14f)&&typeof _0x45c7f5=='string'&&(_0x395c90[_0x1839d5]=_0x45c7f5['replace'](/url\(#(.*)\)/,_0x13ab8b(0x18e)+_0x5f2460[_0x13ab8b(0x21f)]+')'));});const {defIds:_0x1346a3}=_0x5f2460;return!_0x1346a3||_0x1346a3[_0x40c5ac(0x21a)]===0x0||(_0x206b54[_0x40c5ac(0x116)]==='use'&&_0x395c90[_0x40c5ac(0x18c)]&&(_0x395c90[_0x40c5ac(0x18c)]=_0x395c90[_0x40c5ac(0x18c)]+_0x5f2460[_0x40c5ac(0x21f)]),Object['entries'](_0x395c90)[_0x40c5ac(0x1b8)](([_0x4ee312,_0x4599b7])=>{const _0x5d57c2=_0x40c5ac;typeof _0x4599b7==_0x5d57c2(0x1ba)&&(_0x395c90[_0x4ee312]=_0x4599b7['replace'](/url\(#(.*)\)/,'url(#$1'+_0x5f2460[_0x5d57c2(0x21f)]+')'));})),_0x395c90;}function _0x35f598(_0x43ea14,_0x18ddf2){const _0x57c4ed=_0x3bfe25;var _0x58aaa1;const {defIds:_0x5b33ba}=_0x18ddf2;return!_0x5b33ba||_0x5b33ba['length']===0x0?_0x43ea14:_0x43ea14[_0x57c4ed(0x116)]===_0x57c4ed(0x1d4)&&((_0x58aaa1=_0x43ea14[_0x57c4ed(0x133)])!=null&&_0x58aaa1[_0x57c4ed(0x21a)])?{..._0x43ea14,'children':_0x43ea14[_0x57c4ed(0x133)][_0x57c4ed(0x117)](_0x51d293=>typeof _0x51d293[_0x57c4ed(0x1d9)]['id']==_0x57c4ed(0x1ba)&&_0x5b33ba&&_0x5b33ba[_0x57c4ed(0x160)](_0x51d293[_0x57c4ed(0x1d9)]['id'])?{..._0x51d293,'attrs':{..._0x51d293[_0x57c4ed(0x1d9)],'id':_0x51d293[_0x57c4ed(0x1d9)]['id']+_0x18ddf2[_0x57c4ed(0x21f)]}}:_0x51d293)}:_0x43ea14;}function _0x441822(){const _0x5edeeb=_0x3bfe25;return Math['random']()['toString'](0x24)[_0x5edeeb(0x1ec)](0x2,0x8);}_0x2c55e9[_0x3bfe25(0x13d)]='UniverIcon';const _0x20cb47={'tag':'svg','attrs':{'xmlns':_0x3bfe25(0x169),'fill':'none','viewBox':_0x3bfe25(0x1e3),'width':_0x3bfe25(0x1d7),'height':_0x3bfe25(0x1d7)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x3bfe25(0x1d6)},'children':[{'tag':_0x3bfe25(0x190),'attrs':{'d':_0x3bfe25(0x1f5)}},{'tag':_0x3bfe25(0x190),'attrs':{'d':_0x3bfe25(0x148)}}]},{'tag':_0x3bfe25(0x1d4),'attrs':{},'children':[{'tag':_0x3bfe25(0x1ed),'attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x3bfe25(0x190),'attrs':{'fill':'white','d':_0x3bfe25(0x15f)}}]}]}],'defIds':[_0x3bfe25(0x12f)]},_0x4a181e=_0x19842c['forwardRef'](function(_0x4ab9f2,_0x2cbe46){const _0x4f53c0=_0x3bfe25;return _0x19842c[_0x4f53c0(0x10c)](_0x2c55e9,Object[_0x4f53c0(0x18f)]({},_0x4ab9f2,{'id':'history-icon','ref':_0x2cbe46,'icon':_0x20cb47}));});_0x4a181e[_0x3bfe25(0x13d)]=_0x3bfe25(0x1d1);var _0x3cbb54=Object[_0x3bfe25(0x128)],_0x59bcae=(_0x324612,_0x5a2f05,_0x542cfd,_0x4e6cc2)=>{for(var _0x1cb9a6=_0x4e6cc2>0x1?void 0x0:_0x4e6cc2?_0x3cbb54(_0x5a2f05,_0x542cfd):_0x5a2f05,_0xd5d22a=_0x324612['length']-0x1,_0x294eb1;_0xd5d22a>=0x0;_0xd5d22a--)(_0x294eb1=_0x324612[_0xd5d22a])&&(_0x1cb9a6=_0x294eb1(_0x1cb9a6)||_0x1cb9a6);return _0x1cb9a6;},_0x474e4e=(_0x30929a,_0x37fa12)=>(_0xc0422c,_0x52db97)=>_0x37fa12(_0xc0422c,_0x52db97,_0x30929a);const _0x2c0214=_0x3bfe25(0x1f4),_0x5a4c2c='UNIVER_CONTAINER_ID',_0x391694=_0x3bfe25(0x1f6);_0x280e88['HistoryLoaderService']=class extends _0x233f08['Disposable']{constructor(_0x40989d,_0x13d95d,_0x51ee08,_0xb60ada,_0x279b95,_0x2d344b,_0x4dee8e,_0x1f1df3,_0x57df34,_0x357804){const _0x5630be=_0x3bfe25;super(),_0x229616(this,'_historyUniver$',new _0x88a227[(_0x5630be(0x1dd))](null)),_0x229616(this,_0x5630be(0x215),this[_0x5630be(0x178)][_0x5630be(0x187)]()),_0x229616(this,_0x5630be(0x216),new _0x233f08[(_0x5630be(0x181))]()),_0x229616(this,_0x5630be(0x1d2),new Map()),(this[_0x5630be(0x14e)]=_0x40989d,this[_0x5630be(0x151)]=_0x13d95d,this[_0x5630be(0x207)]=_0x51ee08,this[_0x5630be(0x115)]=_0xb60ada,this[_0x5630be(0x212)]=_0x279b95,this[_0x5630be(0x104)]=_0x2d344b,this[_0x5630be(0x10f)]=_0x4dee8e,this[_0x5630be(0x1ad)]=_0x1f1df3,this[_0x5630be(0x164)]=_0x57df34,this[_0x5630be(0x20b)]=_0x357804,this[_0x5630be(0x1fa)]());}get['historyUniver'](){const _0x31f876=_0x3bfe25;return this[_0x31f876(0x178)][_0x31f876(0x166)];}[_0x3bfe25(0x1fa)](){const _0xe188cd=_0x3bfe25;this[_0xe188cd(0x195)](),this[_0xe188cd(0x1f7)]();}['_initContainer'](){const _0x5c44d0=_0x3bfe25;var _0x11c8c3;const _0x3b7351=(_0x11c8c3=this[_0x5c44d0(0x207)]['getConfig'](_0x5a4c2c))!=null?_0x11c8c3:_0x2c0214,_0x440228=document[_0x5c44d0(0x138)](_0x3b7351);if(!_0x440228)return;const _0x1b6edc=document[_0x5c44d0(0x10c)](_0x5c44d0(0x1b3));_0x1b6edc['id']=_0x391694,_0x1b6edc[_0x5c44d0(0x222)]['uComp']=_0x5c44d0(0x1b1),_0x1b6edc[_0x5c44d0(0x113)]['position']='absolute',_0x1b6edc['style'][_0x5c44d0(0x153)]='0',_0x1b6edc[_0x5c44d0(0x113)]['left']='0',_0x1b6edc['style']['width']='100%',_0x1b6edc[_0x5c44d0(0x113)][_0x5c44d0(0x185)]=_0x5c44d0(0x183),_0x1b6edc['style']['zIndex']='1000',_0x1b6edc['style']['display']=_0x5c44d0(0x1f9),_0x440228[_0x5c44d0(0x130)](_0x1b6edc);}[_0x3bfe25(0x1f7)](){const _0x588067=_0x3bfe25;var _0x564664,_0x453338,_0xa08e,_0x3155a8;[[_0x2424a1[_0x588067(0x1de)]],[_0x26c674[_0x588067(0x1c1)],{'container':_0x391694,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x26c674['IDialogService'],null]]}],[_0xfb2797['UniverNetworkPlugin']],[_0x249fa8['UniverDrawingPlugin'],{'override':[[_0x249fa8[_0x588067(0x210)],null]]}],[_0x56ad77[_0x588067(0x147)],{'hasScroll':!0x1}],[_0x371393['UniverDocsUIPlugin']],[_0x5b3102[_0x588067(0x112)]],[_0x52be2e[_0x588067(0x10a)],{'notExecuteFormula':!0x0}],[_0x5d4cdb[_0x588067(0x172)]],[_0x27debd[_0x588067(0x220)]],[_0x196c9b['UniverSheetsFormulaUIPlugin']],[_0xaaeebb[_0x588067(0x14d)]],[_0x24a080['UniverSheetsFilterPlugin']],[_0x57edba['UniverSheetsFilterUIPlugin']],[_0x19cd24[_0x588067(0x10e)]],[_0x23d0b0[_0x588067(0x13e)]],[_0x346911[_0x588067(0x1fb)]],[_0x41df1[_0x588067(0x142)]],[_0x1b8685[_0x588067(0x1f0)]],[_0x4ca176[_0x588067(0x123)]],[_0x391292[_0x588067(0x173)]],[_0x2d9ea5[_0x588067(0x157)],{'notExecuteFormula':!0x0}],[_0x1e121d[_0x588067(0x11e)],{'workerURL':(_0x453338=(_0x564664=this[_0x588067(0x207)]['getConfig'](_0x1e121d['PLUGIN_CONFIG_KEY_MAIN_THREAD']))==null?void 0x0:_0x564664[_0x588067(0x1c6)])!=null?_0x453338:'./worker.js'}],[_0x42a28a[_0x588067(0x20e)]],[_0xf68933[_0x588067(0x12e)]],[_0x38902d[_0x588067(0x13b)]],[_0x29cd2d[_0x588067(0x218)]],[_0x3f4b93[_0x588067(0x211)]],[_0x25a116[_0x588067(0x16c)]],[_0x3a73a7[_0x588067(0x179)]],[_0x2b0423['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x3de5b9[_0x588067(0x167)],{'historyListServerUrl':(_0xa08e=this[_0x588067(0x207)]['getConfig'](_0x575c58))==null?void 0x0:_0xa08e[_0x588067(0x15c)],'historyPanelComponentKey':(_0x3155a8=this['_configService'][_0x588067(0x191)](_0x575c58))==null?void 0x0:_0x3155a8['historyPanelComponentKey']}]][_0x588067(0x1b8)](([_0xf98628,_0x3b4eb2])=>this['registerPlugin'](_0xf98628,_0x3b4eb2));}['dispose'](){const _0x53d4bf=_0x3bfe25;super[_0x53d4bf(0x126)](),this[_0x53d4bf(0x163)](),this[_0x53d4bf(0x1d2)]['clear']();}[_0x3bfe25(0x134)](_0x5675f1,_0x2077a1,_0x415f82){const _0x3952c8=_0x3bfe25;if(this[_0x3952c8(0x1d2)][_0x3952c8(0x1db)](_0x5675f1[_0x3952c8(0x14c)])&&!_0x415f82)throw new Error(_0x3952c8(0x1a2)+_0x5675f1['pluginName']+_0x3952c8(0x204));this[_0x3952c8(0x1d2)]['set'](_0x5675f1[_0x3952c8(0x14c)],[_0x5675f1,_0x2077a1]);}[_0x3bfe25(0x176)](){const _0x10ae64=_0x3bfe25;return Array['from'](this[_0x10ae64(0x1d2)][_0x10ae64(0x109)]());}[_0x3bfe25(0x1fe)](_0x196636){const _0x5b3121=_0x3bfe25,_0x4ea361=document[_0x5b3121(0x138)](_0x391694);_0x4ea361&&(_0x4ea361[_0x5b3121(0x113)][_0x5b3121(0x17c)]=_0x5b3121(0x1a0),this[_0x5b3121(0x11f)](_0x196636,_0x391694));}[_0x3bfe25(0x163)](){const _0x1900ee=_0x3bfe25;var _0x12a315;this[_0x1900ee(0x216)][_0x1900ee(0x126)](),(_0x12a315=this[_0x1900ee(0x136)])==null||_0x12a315['dispose'](),this[_0x1900ee(0x178)][_0x1900ee(0x124)](null);const _0x5049c6=document[_0x1900ee(0x138)](_0x391694);_0x5049c6&&(_0x5049c6['style'][_0x1900ee(0x17c)]='none');}[_0x3bfe25(0x11f)](_0x19415b,_0x16ee50){const _0x3eea5d=_0x3bfe25;if(this[_0x3eea5d(0x136)])return;const _0x5034cf=new _0x233f08[(_0x3eea5d(0x193))]({'locales':{[this[_0x3eea5d(0x14e)]['getCurrentLocale']()]:this[_0x3eea5d(0x14e)]['getLocales']()},'override':[[_0x233f08[_0x3eea5d(0x1b7)],{'useClass':_0x4c4856[_0x3eea5d(0x143)]}]]}),_0x460380=_0x5034cf['__getInjector']();this['disposeWithMe'](this[_0x3eea5d(0x20b)][_0x3eea5d(0x186)][_0x3eea5d(0x111)](_0x5d680=>{const _0x53ace5=_0x3eea5d;_0x460380['get'](_0x233f08[_0x53ace5(0x1f1)])[_0x53ace5(0x12b)](_0x5d680);})),this['disposeWithMe'](this[_0x3eea5d(0x20b)]['currentTheme$'][_0x3eea5d(0x111)](_0x37e5da=>{const _0x868c83=_0x3eea5d;_0x460380[_0x868c83(0x224)](_0x233f08['ThemeService'])[_0x868c83(0x202)](_0x37e5da);})),_0x460380[_0x3eea5d(0x224)](_0x233f08[_0x3eea5d(0x144)])[_0x3eea5d(0x197)](this['_localeService']['getCurrentLocale']()),_0x460380['get'](_0x233f08[_0x3eea5d(0x1dc)])['setConfig'](_0x4c4856[_0x3eea5d(0x16a)],this[_0x3eea5d(0x207)][_0x3eea5d(0x191)](_0x4c4856[_0x3eea5d(0x16a)]));const _0x2cf8f2=this[_0x3eea5d(0x207)][_0x3eea5d(0x191)](_0x17c309[_0x3eea5d(0x10d)]);_0x2cf8f2&&_0x5034cf['registerPlugin'](_0x17c309[_0x3eea5d(0x12a)],{'license':_0x2cf8f2['ls']}),this[_0x3eea5d(0x1d2)][_0x3eea5d(0x1b8)](([_0x22b1a1,_0x48bdcb])=>{const _0x2bb217=_0x3eea5d;_0x5034cf[_0x2bb217(0x134)](_0x22b1a1,_0x48bdcb);}),_0x460380[_0x3eea5d(0x214)](_0x420cc4=>{const _0x5a9ade=_0x3eea5d;this[_0x5a9ade(0x13f)](_0x420cc4,_0x19415b);}),this[_0x3eea5d(0x178)]['next'](_0x5034cf);const _0x5895ce=_0x460380[_0x3eea5d(0x224)](_0x3de5b9[_0x3eea5d(0x20f)]),_0x34f09c=this[_0x3eea5d(0x19a)](_0x19415b);_0x5895ce[_0x3eea5d(0x1e9)](_0x19415b,_0x16ee50,_0x34f09c);}[_0x3bfe25(0x13f)](_0x301d72,_0x581495){const _0x56c3df=_0x3bfe25,_0x13c952=_0x301d72['get'](_0x3de5b9['HistoryManagerService']);this[_0x56c3df(0x216)][_0x56c3df(0x14a)](_0x13c952[_0x56c3df(0x158)][_0x56c3df(0x111)](_0x3fc221=>{const _0x45cc8d=_0x56c3df;switch(_0x3fc221){case _0x3de5b9[_0x45cc8d(0x209)]['Entered']:this['_dialogService']['closeAll'](),this[_0x45cc8d(0x164)][_0x45cc8d(0x20d)]();break;case _0x3de5b9[_0x45cc8d(0x209)][_0x45cc8d(0x219)]:this[_0x45cc8d(0x115)][_0x45cc8d(0x146)](_0x1be2fb['id']),this[_0x45cc8d(0x163)]();break;case _0x3de5b9['HistoryModeStatus'][_0x45cc8d(0x11d)]:this[_0x45cc8d(0x163)](),this[_0x45cc8d(0x212)]['show']({'content':this[_0x45cc8d(0x14e)]['t'](_0x45cc8d(0x18d)),'type':_0x28dc16[_0x45cc8d(0x201)][_0x45cc8d(0x11d)],'duration':0xbb8});break;}})),this[_0x56c3df(0x216)][_0x56c3df(0x14a)](_0x13c952[_0x56c3df(0x1a8)]['subscribe'](async _0x2dfaee=>{const _0x11c129=_0x56c3df;_0x2dfaee&&this['_commandService'][_0x11c129(0x146)](_0xaaeebb[_0x11c129(0x1be)]['id'],{'unitId':_0x581495,'revision':_0x2dfaee});}));}[_0x3bfe25(0x19a)](_0x56301b){const _0x127bda=_0x3bfe25,_0x27efa9=this[_0x127bda(0x151)][_0x127bda(0x105)](_0x56301b)[_0x127bda(0x15a)]()[_0x127bda(0x117)](_0x1d0224=>_0x1d0224[_0x127bda(0x102)]()),_0x67be6a=new _0x52be2e[(_0x127bda(0x1ee))](_0x56301b)['id'],_0x3aabde=_0x27efa9[_0x127bda(0x117)](_0x14156d=>new _0x52be2e[(_0x127bda(0x188))](_0x56301b,_0x14156d)['id']),_0x5b162d=_0x27efa9[_0x127bda(0x117)](_0x370746=>this[_0x127bda(0x10f)][_0x127bda(0x1cf)](_0x56301b,_0x370746)['map'](_0xb3a530=>new _0x52be2e[(_0x127bda(0x141))](_0x56301b,_0x370746,_0xb3a530[_0x127bda(0x221)])['id']))['flat'](),_0x20fcb2=new _0x52be2e[(_0x127bda(0x17b))](_0x56301b)['id'];return this['_permissionService'][_0x127bda(0x182)]([_0x67be6a,..._0x3aabde,..._0x5b162d,_0x20fcb2])[_0x127bda(0x1c3)](_0x2f9adf=>!!_0x2f9adf[_0x127bda(0x166)]);}},_0x280e88[_0x3bfe25(0x217)]=_0x59bcae([_0x474e4e(0x0,_0x233f08[_0x3bfe25(0x19f)](_0x233f08[_0x3bfe25(0x144)])),_0x474e4e(0x1,_0x233f08[_0x3bfe25(0x118)]),_0x474e4e(0x2,_0x233f08[_0x3bfe25(0x1dc)]),_0x474e4e(0x3,_0x233f08[_0x3bfe25(0x11b)]),_0x474e4e(0x4,_0x26c674['IMessageService']),_0x474e4e(0x5,_0x233f08[_0x3bfe25(0x1e5)]),_0x474e4e(0x6,_0x233f08[_0x3bfe25(0x19f)](_0x52be2e[_0x3bfe25(0x108)])),_0x474e4e(0x7,_0x233f08[_0x3bfe25(0x19f)](_0x26c674['IDialogService'])),_0x474e4e(0x8,_0x233f08[_0x3bfe25(0x19f)](_0x26c674[_0x3bfe25(0x19b)])),_0x474e4e(0x9,_0x233f08[_0x3bfe25(0x19f)](_0x233f08['ThemeService']))],_0x280e88['HistoryLoaderService']);const _0x57d6fc={'id':_0x3bfe25(0x122),'type':_0x233f08[_0x3bfe25(0x168)]['OPERATION'],'handler':_0x5b5b14=>{const _0x4074d6=_0x3bfe25,_0x5b0fe2=_0x5b5b14['get'](_0x280e88[_0x4074d6(0x217)]),_0x108576=_0x5b5b14['get'](_0x233f08['IUniverInstanceService']),{unitId:_0xa65585}=_0x52be2e['getSheetCommandTarget'](_0x108576)||{};return _0xa65585?(_0x5b0fe2['mountHistoryContent'](_0xa65585),!0x0):!0x1;}},_0x1be2fb={'id':'univer.operation.exit-edit-history','type':_0x233f08[_0x3bfe25(0x168)][_0x3bfe25(0x137)],'handler':()=>!0x0};function _0x4f717c(_0x37a8a4){const _0x5d4f75=_0x3bfe25;return{'id':_0x57d6fc['id'],'type':_0x26c674[_0x5d4f75(0x1a3)][_0x5d4f75(0x1c0)],'icon':_0x5d4f75(0x1d1),'tooltip':_0x5d4f75(0x1e6),'hidden$':_0x26c674[_0x5d4f75(0x135)](_0x37a8a4,_0x233f08[_0x5d4f75(0x19d)]['UNIVER_SHEET']),'disabled$':_0x5d4cdb['getCurrentRangeDisable$'](_0x37a8a4,{'workbookTypes':[_0x52be2e[_0x5d4f75(0x1ee)],_0x52be2e[_0x5d4f75(0x1eb)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x3495f5={[_0x26c674[_0x3bfe25(0x1c5)][_0x3bfe25(0x194)]]:{[_0x57d6fc['id']]:{'order':0.2,'menuItemFactory':_0x4f717c}}};var _0x5b0e7d=Object[_0x3bfe25(0x128)],_0x3bfa4a=(_0x2ee89b,_0x4faf0b,_0x4185c5,_0x573c9c)=>{for(var _0x5a1eff=_0x573c9c>0x1?void 0x0:_0x573c9c?_0x5b0e7d(_0x4faf0b,_0x4185c5):_0x4faf0b,_0x271c78=_0x2ee89b['length']-0x1,_0x198146;_0x271c78>=0x0;_0x271c78--)(_0x198146=_0x2ee89b[_0x271c78])&&(_0x5a1eff=_0x198146(_0x5a1eff)||_0x5a1eff);return _0x5a1eff;},_0x365ced=(_0x33c9ae,_0xfbf93a)=>(_0x493f61,_0xaf7765)=>_0xfbf93a(_0x493f61,_0xaf7765,_0x33c9ae);let _0x61b69d=class extends _0x233f08[_0x3bfe25(0x1aa)]{constructor(_0x67821d,_0x12683b,_0x26cafa,_0x2ab6f1,_0xdec945,_0x381971,_0x28d7fd,_0x2988bd){const _0x2bf8f5=_0x3bfe25;super(),_0x229616(this,_0x2bf8f5(0x171),null),(this[_0x2bf8f5(0x115)]=_0x67821d,this[_0x2bf8f5(0x20a)]=_0x12683b,this['_componentManager']=_0x26cafa,this['_historyManagerService']=_0x2ab6f1,this[_0x2bf8f5(0x14e)]=_0xdec945,this['_messageService']=_0x381971,this[_0x2bf8f5(0x1b2)]=_0x28d7fd,this[_0x2bf8f5(0x1d8)]=_0x2988bd,this['_init']());}[_0x3bfe25(0x1fa)](){const _0x5993cf=_0x3bfe25;[_0x57d6fc,_0x1be2fb]['forEach'](_0x51f7fc=>this['disposeWithMe'](_0x233f08['toDisposable'](this[_0x5993cf(0x115)][_0x5993cf(0x17a)](_0x51f7fc)))),this[_0x5993cf(0x155)](this['_componentManager'][_0x5993cf(0x131)](_0x5993cf(0x1d1),_0x4a181e)),this['_menuManagerService'][_0x5993cf(0x156)](_0x3495f5),this[_0x5993cf(0x155)](this[_0x5993cf(0x115)][_0x5993cf(0x1d3)](_0x18ccff=>{const _0x32938c=_0x5993cf;if(_0x18ccff['id']===_0xaaeebb[_0x32938c(0x1be)]['id']){this[_0x32938c(0x212)]['show']({'content':this['_localeService']['t'](_0x32938c(0x1e4)),'type':_0x28dc16[_0x32938c(0x201)][_0x32938c(0x1ea)],'duration':0x1388});const {unitId:_0x46010b}=_0x18ccff[_0x32938c(0x119)],_0x5f356c=this[_0x32938c(0x1b2)]['getCollabEntity'](_0x46010b),_0x2c0a48=_0x88a227[_0x32938c(0x1ac)]([_0x5f356c[_0x32938c(0x223)][_0x32938c(0x120)],_0x5f356c[_0x32938c(0x10b)]])['subscribe'](async([_0x181030,_0xd8cecd])=>{const _0x507f1f=_0x32938c;var _0xdddbfa;_0x181030[_0x507f1f(0x1a9)]===_0xaaeebb[_0x507f1f(0x199)][_0x507f1f(0x1a6)]&&(_0xd8cecd==null?void 0x0:_0xd8cecd[_0x507f1f(0x177)])===_0x4c4856['CollaborationStatus'][_0x507f1f(0x203)]&&_0x181030[_0x507f1f(0x1e2)][_0x507f1f(0x110)][_0x507f1f(0x107)](_0x3ee8b3=>_0x3ee8b3['id']===_0xaaeebb[_0x507f1f(0x1be)]['id'])&&(this[_0x507f1f(0x1e0)]['unMountHistoryContent'](),_0x2c0a48['unsubscribe'](),this[_0x507f1f(0x171)]&&clearTimeout(this[_0x507f1f(0x171)]),await((_0xdddbfa=this[_0x507f1f(0x1d8)])==null?void 0x0:_0xdddbfa[_0x507f1f(0x1a1)]()),setTimeout(()=>window[_0x507f1f(0x16d)][_0x507f1f(0x1ef)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x50e3bb=_0x32938c;_0x2c0a48[_0x50e3bb(0x140)](),this[_0x50e3bb(0x212)][_0x50e3bb(0x21e)]({'content':this['_localeService']['t'](_0x50e3bb(0x184)),'type':_0x28dc16['MessageType']['Error'],'duration':0xbb8});},0x1388);}}));}};_0x61b69d=_0x3bfa4a([_0x365ced(0x0,_0x233f08[_0x3bfe25(0x11b)]),_0x365ced(0x1,_0x26c674[_0x3bfe25(0x1bf)]),_0x365ced(0x2,_0x233f08[_0x3bfe25(0x19f)](_0x26c674[_0x3bfe25(0x200)])),_0x365ced(0x3,_0x233f08[_0x3bfe25(0x19f)](_0x280e88[_0x3bfe25(0x217)])),_0x365ced(0x4,_0x233f08[_0x3bfe25(0x19f)](_0x233f08[_0x3bfe25(0x144)])),_0x365ced(0x5,_0x26c674[_0x3bfe25(0x21c)]),_0x365ced(0x6,_0x233f08[_0x3bfe25(0x19f)](_0x4c4856[_0x3bfe25(0x174)])),_0x365ced(0x7,_0x4c4856[_0x3bfe25(0x127)])],_0x61b69d);var _0x215c38=Object[_0x3bfe25(0x128)],_0x1c9cd8=(_0x209c8f,_0xfd99d2,_0x5ce4fa,_0x4c040e)=>{const _0x32848a=_0x3bfe25;for(var _0x169a73=_0x4c040e>0x1?void 0x0:_0x4c040e?_0x215c38(_0xfd99d2,_0x5ce4fa):_0xfd99d2,_0x47741f=_0x209c8f[_0x32848a(0x21a)]-0x1,_0x22ee3f;_0x47741f>=0x0;_0x47741f--)(_0x22ee3f=_0x209c8f[_0x47741f])&&(_0x169a73=_0x22ee3f(_0x169a73)||_0x169a73);return _0x169a73;},_0x577880=(_0x12d4f9,_0x259bd1)=>(_0x418589,_0x1731c2)=>_0x259bd1(_0x418589,_0x1731c2,_0x12d4f9);const _0x4c82b7='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';_0x280e88[_0x3bfe25(0x103)]=(_0x124250=class extends _0x233f08[_0x3bfe25(0x206)]{constructor(_0x50164d=_0x4eaee0,_0x5cebfc,_0x257a37){const _0x37b57b=_0x3bfe25;super(),this['_config']=_0x50164d,this[_0x37b57b(0x198)]=_0x5cebfc,this[_0x37b57b(0x207)]=_0x257a37;const {menu:_0x3b25d0,..._0x4441f7}=_0x233f08[_0x37b57b(0x1c9)]({},_0x4eaee0,this[_0x37b57b(0x180)]);_0x3b25d0&&this[_0x37b57b(0x207)][_0x37b57b(0x1bc)](_0x37b57b(0x13a),_0x3b25d0,{'merge':!0x0}),this[_0x37b57b(0x207)][_0x37b57b(0x1bc)](_0x575c58,_0x4441f7),this[_0x37b57b(0x180)][_0x37b57b(0x18b)]&&this[_0x37b57b(0x207)][_0x37b57b(0x1bc)](_0x5a4c2c,this['_config']['univerContainerId']);}[_0x3bfe25(0x1a4)](){const _0x10ac53=_0x3bfe25;[[_0x280e88['HistoryLoaderService']],[_0x61b69d]]['forEach'](_0x199d82=>this[_0x10ac53(0x198)][_0x10ac53(0x14a)](_0x199d82));}['onSteady'](){const _0x45a02b=_0x3bfe25;this[_0x45a02b(0x198)][_0x45a02b(0x224)](_0x61b69d);}},_0x229616(_0x124250,_0x3bfe25(0x129),_0x233f08[_0x3bfe25(0x19d)][_0x3bfe25(0x1ab)]),_0x229616(_0x124250,'pluginName',_0x4c82b7),_0x124250),_0x280e88[_0x3bfe25(0x103)]=_0x1c9cd8([_0x577880(0x1,_0x233f08[_0x3bfe25(0x19f)](_0x233f08[_0x3bfe25(0x1bd)])),_0x577880(0x2,_0x233f08[_0x3bfe25(0x1dc)])],_0x280e88[_0x3bfe25(0x103)]),_0x280e88['UNIVER_CONTAINER_ID_KEY']=_0x5a4c2c,_0x280e88['UNIVER_HISTORY_CONTAINER_ID']=_0x391694,Object['defineProperty'](_0x280e88,Symbol[_0x3bfe25(0x189)],{'value':'Module'});}));
21
21
 
22
22
  // index
23
23
  (function(e,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(e=typeof globalThis<"u"?globalThis:e||self,o(e.UniverPresetSheetsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi,e.UniverProEditHistoryLoader))})(this,(function(e,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0}=n,r=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:s(`${r}/universer-api/comb/connect`),loginUrlKey:`${r}/universer-api/oidc/authpage`,uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${r}/`,wsSessionTicketUrl:`${r}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${r}/universer-api/history`}]]}}e.UniverSheetsCollaborationPreset=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));