@univerjs/preset-sheets-collaboration 0.12.2 → 0.12.3-experimental.20251205-e439e48
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 +7 -7
- package/lib/umd/locales/ca-ES.js +3 -3
- package/lib/umd/locales/en-US.js +3 -3
- package/lib/umd/locales/es-ES.js +3 -3
- package/lib/umd/locales/fa-IR.js +3 -3
- package/lib/umd/locales/fr-FR.js +3 -3
- package/lib/umd/locales/ja-JP.js +3 -3
- package/lib/umd/locales/ko-KR.js +3 -3
- package/lib/umd/locales/ru-RU.js +3 -3
- package/lib/umd/locales/vi-VN.js +3 -3
- package/lib/umd/locales/zh-CN.js +3 -3
- package/lib/umd/locales/zh-TW.js +3 -3
- package/package.json +10 -10
package/lib/umd/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
function _0x532f(_0x25f1b2,_0x868a62){var _0x44db5c=_0x44db();return _0x532f=function(_0x532f4b,_0x1f002c){_0x532f4b=_0x532f4b-0x85;var _0x1c092f=_0x44db5c[_0x532f4b];return _0x1c092f;},_0x532f(_0x25f1b2,_0x868a62);}function _0x44db(){var _0x28651c=['APPLY_PERMISSION_DENIED','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_INVALID_CODE','COMPRESS_MUTATION_APPLY','USER_NOT_FOUND','setCurrentUser','_onUserLeave','infoRsp','every','[CollaborationState]:\x20apply\x20error!','update','_startCollaboration','CollaborativeUndoRedoService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','updatePermissionObjEvent','MUTATION','_univerInstanceService','abs','_onConflict','HEARTBEAT_TIMEOUT','CHANGESET_REJ','ICollaborationSocketService','deserializeToCombResponse','getTypeOfUnitDisposed$','avatar','saveSheetBlock','JSONX','status$','CHANGESET_ACK','@univerjs-pro/license','_unitID','_data','eventID','b64DecodeUnicode','_injector','_acknowledgedAwaitingChangeset','_toggleOnline','listCollaborators','_redoStacks','put','includes','toggleOnline','csShouldRetryEvent','HEARTBEAT_INTERVAL','APPLY_REJECT','_checkMissing','stopTime','DisposableCollection','_getDownloadEndpointURL','MOBILE_VERIFY_CODE_MISMATCH','withCredentials','call','SUBMIT_CHANGESET','CollaborationEvent','data','resourceIDs','Injector','CollaborationUIEventId','_onCombEvent','sessionStatus','/unit/','_resendWithTimeout','_schedule','_lockTransition','_doProcessBlock','loadUnitOfRevision','[DataLoaderService]','[OfflineState]:\x20received\x20rejection.','REDEMPTION_USER_NOT_ELIGIBLE','AuthzIoHttpService','_transformStack','LOCAL_CACHE_INTERVAL','awaiting','CollaborationController','JOIN_ROOM_FULL','catch','finalize','SOCKET_FAILED_RETRY','_handler','HEARTBEAT_INTERVAL_KEY','13124520cFEMFe','sequenceExecute','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','addHandlerCallback','uuidv4','UNRECOGNIZED','getSnapshotAPIPath','override','getTypeOfUnitAdded$','compute','pipe','telemetry\x20info\x20is\x20not\x20initialized','UniverDocs','_clearLocalCache','ciphertext','/universer-api/uniscript','SNAPSHOT_HAS_BEEN_REMOVED','/universer-api/snapshot','PSEUDO_FETCH_MISSING_RESULT','copyFileMeta','YUUMI_AI_RUN_FAILED','prototype','Disposable','/object/','deepClone','\x20in\x20_schedule.','SHOULD_CLOSE_CONN','length','WECHAT_HAS_BEEN_BOUND','NOT_FOUND','awaiting_with_pending','FileId','_replayCachedMutations','_xformMode','leaveEvent','saveSnapshot','SnapshotServerOverHTTPService','fetch_missing','operators','GLOBAL_ROOMS_CNT_EXCEEDS','IUniverInstanceService','name','state$','onTransformState','onTransformRemoteChangesetByStateCache','dispose$','_nDataBytes','getMember','OPTIONAL','getUnitId','createCollaborator','HTTPRequest','@univerjs/drawing','INVITE_CODE_REQUIRED','socket\x20open.','_disableEditing','_collaborationTimeoutTimer','onRemoteAck','CollaborationImageIoService','focused$','_clearRetryConnectingTimer','repeat','fromCollab','src','mapDocumentTypeToUniverType','CHANGESET_REVISION_CONFILICT','_configService','reset','_changesetSessionId','Hex','routeKey','_transformService','_socket$','onTransformIME','map','_updateState','isPermissionRej','_listenToNetworkCondition','resend','_tryEnsureSocket','ConflictState','close','_tryReconnect','ITransformService','DEFAULT_COLLAB_WEB_SOCKET_URL','executeCommand','decryptBlock','/object','_init','SheetTransformSelectionsService','_updateStatus','YUUMI_ASYNCIO_CANCELLED','_cipher','entries','salt','indexOf','_getLoginPath','_onFetchMissResult','apply','ILogService','_pendingMutations','JOIN','UNIVER_SLIDE','unknown','collaboratorID','event$','_socket','words','UNAUTHENTICATED','_iKey','LocaleService','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_UNABLE_LOAD_URL','encrypt','LICENSE_MAX_UNITS_EXCEEDED','Hasher','_revisionService','open$','touchDependencies','/universer-api/snapshot/','_parse','WordArray','emitEvent','_snapshotService','_telemetryService','_resendTimeout','EMAIL_VERIFY_CODE_MISMATCH','LocalUndoRedoService','UniverNetworkPlugin','string','_doReset','DependentOn','Quantity','@univerjs/docs','saveChangeset','EmptyMutationInfo','set','resolve','BehaviorSubject','serializeCombRequest','default','commentUpdateEvent','_shouldReportTelemetry','members','ITelemetryService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','type','state','OfflineState','9948qvKcbM','HmacMD5','@univerjs/core','ENTITLE_DUP_SUBSCRIPTION','_exhaustRemoteChangesetQueue','UniverCollaborationPlugin','removeMember','APPLY_NON_SEQUENTIAL_REVISION','c2Prime','getValue','image/png','has','createInstance','_initRequestHeader','title','message$','ERROR_IMAGE_TYPE','status','transformChangesets','RxDisposable','getAllMembers','Base64','_executeRemoteChangeset','batchAllowed','Base','ISnapshotServerService','_localeService','CollaborationEntity','RETRY_CONNECTING_MAX_COUNT_KEY','_localCacheService','Inject','_doCryptBlock','SetSelectionsOperation','offline','defineProperty','floor','unitId','UNISCRIPT_RUN','OTHER_CLIENT_EDITING','function','joinEvent','_rescheduleHeartbeat','method','crypto','getDeserializedSheetBlock','USER_IS_ANONYMOUS','fetchThroughInterceptors','waitForRoom$','_onOffline','subject','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','univer-pro.collaboration-client.network-condition.service','getImageSourceCache','updateMember','HttpImport','registerDependencies','hasOwnProperty','push','disposeWithMe','getCurrentUser','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNDEFINED','session.room-cnt-exceeds','delay','UNIVER_DOC','addImageSourceCache','toString','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','create','_submitChangeset','action','uploadFileServerUrl','_onRemoteRetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoredo','&source=','UNIVER_PROJECT','objectActions','OTHER_CLIENTS_EDITING','UniverNetwork','_substituteRedoStack','PERSON','SNAPSHOT_INVALID_SNAPSHOT','subscribe','NEW_CHANGESETS','setConfig','collaMsg','error','enableSingleActiveInstanceLock','target','Plugin','[CollaborationSessionService]:\x20socket\x20error','getLocalCacheKey','ENTITLE_REPORT_LIMIT_EXCEED','JOIN_ROOM_PERMISSION_DENIED','listRoles','shareReplay','REDEMPTION_CODE_HAS_BEEN_CREATED','APPLY_REVISION_CONFILICT','actions','UniverInstanceType','UUID','_waitForHeartbeatResponse','updateCollaborator','SHA1','BlockCipher','isTransformChangesetsSuccess','ENSURE_SNAPSHOT_EXECUTION','rev','UniverProLicense','slice','RevisionService','getTime','signUrlServerUrl','FETCH_MISS','IImageIoService','baseRev','onlyLocal','_doFinalize','_remoteChangesetQueue','_getCtorByUniverType','_HTTPService','min','values','onTransformSelections','AWAITING_WITH_PENDING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','JOIN_ROOM_FAILED','JOINING','_collaborationSessionService','enableOfflineEditing','_getCurrentRevision','clone','[OfflineState]:\x20received\x20changeset.','toDisposable','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getCollabEntity','412IdMjkA','objectType','UNIVER_SHEET','_onConnectionFailed','originalMeta','CommandType','_instanceService','JOIN_ROOM_NOT_EXISTS','INGEST','PERMISSION_DENIED','SerializableCipher','unitID','_nRounds','readAsDataURL','IUndoRedoService','_entities','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_scheduleCollaborationTimeoutTimer','formatter','DataLoaderService','readInt32LE','MD5','LICENSE_EXPORT_SIZE_EXCEEDED','symbol','getSheetBlock','collaboration-client.local-cache-service','{fileID}','_handlerCallback','onMissedChangesetFetched','parseProtocolChangeset','PasswordBasedCipher','_getAPIPrefix','concatMap','_oKey','UnitStatus','_append','IMentionIOService','INVALID_INVITE_CODE','mutations','closeSession','findIndex','_queuedRemoteChangesets','randomBytes','_clearScheduledTask','_throwTelemetryCollaborationNewChangeset','BASE64','ClipsheetFragments','format','FETCH_MISSING','_state$','_sendHeartbeat','execute','_toggleOffline','_emitMembers','kdf','updatePermissionPoint','processBlock','getUnitType','complete','_createInitialState','/new_changes','_registerDependencies','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','reduce','OpenSSL','lib','Univer','now','range','_entityInit$','_undoStacks','_transformSelections','getOwnPropertyDescriptor','isTransformMutationsWithChangesetFailure','unpad','@univerjs-pro/collaboration','createEncryptor','_clearRedo','__creator','[CollaborationUndoRedoService]','m2Prime','onMissingChangesets','310721Cnriwb','_hasher','_joinRoom','/block/','ISocketService','_keySchedule','UnitSnapshot','UPDATE_CURSOR','DEFAULT_WS_SESSION_TICKET_URL','origin','reconnect','ILocalCacheService','textRanges','YUUMI_CONNECTOR_URL_NOT_FOUND','_incrementRevisionNumber','takeUntil','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ws://127.0.0.1:8000/universer-api/comb/connect','_singleActiveUnitService','Undefined','socketService','byteLength','pad','sessionStatus$','_decreaseWaiting','add','47353141CTsEwu','DATA_SOURCE_TOO_LARGE','_transformRemoteChangesetByStateCache','LICENSE_IMPORT_SIZE_EXCEEDED','6LHxlkj','Decryptor','_imageSourceCache','AwaitingWithPendingState','[SyncedState]:\x20received\x20rejection.','createIdentifier','ERROR_IMAGE','_onRemoteRejected','duration','selections','sendChangesetTimeout','RETRY_CONNECTING_MAX_COUNT','/rev/','1560348rLzMAh','ENTITLE_INSUFFICIENT_QUOTA','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_transitionLocked','REDEMPTION_CODE_NOT_STARTED','_substituteUndoStack','_compressMutationService','_initDependencies','MOBILE_HAS_BEEN_BOUND','generateRandomId','pluginName','_getSendChangesetTimeout','transformMutationsWithChangeset','EvpKDF','_snapshotServerService','loadOfflineData','rxjs/operators','Utf8','editingUnit','_roomMembers','getActiveSheet','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','&assign=','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','saveImage','session.join-failed','getSheetId','CommentService','newCsEvent','startsWith','init','HEARTBEAT','_prevBlock','_socketMessageSubscription','_candidateSocket','COMPRESS_MUTATION_SEND','revision','\x0aCurrent:\x20','_onRemoteACK','onSendChangeset','IConfigService','failed\x20to\x20apply\x20missed\x20changesets!','[FetchMissState]','_showConflictNotification','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','byteOffset','_logService','key','authzUrl','hostname','CHANGESET_SHOULD_RETRY','_createInitialStateImpl','save\x20fail\x20reason\x20is\x20','ReplaySubject','_updateLocalCache','@univerjs/network','c1Prime','HMAC','getCurrentSelections','_event$','incrementRevOfUnit','_commandService','ceil','MSG_FOR_ERROR','UnitEmbedded','_retryCount','FetchingMissState','SessionStatus','INVITE_CODE_HAS_BEEN_UES','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Module','Optional','_sendHeartbeatTimer','disableLocalCache','merge','ONLINE','[PendingState]:\x20received\x20rejection.','LOGIN_TOKEN_PROCESSING_FAILED','DEFAULT_FILE_NAME','from','SUCCUSS','AWAITING','cfg','getMemberID','enc','LIVESHARE_OPERATION','_commentUpdate$','LIVESHARE_FETCH_OPERATIONS','objectID','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_hash','ImageUploadStatusType','transformStack\x20failed!','UNKNOWN_CMD','_status$','__Key__','LICENSE_DISTRO_REJECTED','error$','post','/universer-api/stream/file/upload','HELLO','max','SOCKET_FAILED','AwaitingState','_telemetryInfo','/universer-api/user/session-ticket','?url=','toggleOffline','uniscriptRunEvent','FAIL','Subject','NO_OTHER_CLIENTS_EDITING','enableCollaboration','list','_process','_keyPriorReset','_scheduleCompleteTimestamp','ENTITLE_NEED_BILLING_ADDRESS','BlockCipherMode','stringify','find','_collaborationUIEventService','auth.needGotoLoginAlert','getResourcesRequest','EMAIL_HAS_BEEN_BOUND','_initUnitPermissionChange','PERMISSION_REJ','[CollaborationSessionService]','session.room-permission-denied','YUUMI_NO_CUBOID_FOR_QUESTION','next','CBC','CLOSE_ROOM','_removeRoom','UNIVER_UNKNOWN','_change$','location','BufferedBlockAlgorithm','reverse','_timeoutTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','1297865YMucoc','Latin1','APPLY_DUPLICATED','NOT_COLLAB','_onConnectionOpen','transformUndoRedo','LIVESHARE_TERMINATE','snapshotServerUrl','onTransformRemoteChangesetByIMECache','SUBMIT_CHANGESET_TIMEOUT','reqId','_minBufferSize','_mode','getConfig','exports','_onUserJoin','YUUMI_URL_COL_OUT_OF_RANGE','random','then','_transformRemoteChangesetByIMECache','_onRecvEvent','_clearHeartbeatTimer','workbook','splice','pending','readyForCollab','CompressMutationService','_map','onSyncEditingCollabCursor','getUnitOnRev','SheetPermissionInitController','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_syncEditingCollabCursor','LIVESHARE_REQUEST_HOST','localeService','textEncoder','session','_initMergeInterceptor','getRandomValues','_userManagerService','USERS_LEAVE','headers','_clearUndo','ALREADY_EXISTS','HttpExport','COMPLETION_FINISHED','code','memberID','RichTextEditingMutation','buffer','_networkConditionService','_waitCount','fromCharCode','CONNECTOR_DATA_TOO_LARGE','sid','substr','/universer-api/authz','CONFLICT','body','asObservable','[OfflineState]:\x20received\x20acknowledgement.','close$','3138lrOVOJ','ivSize','_isPermissionRej','cmd','unsubscribe','patch','confirm','getInterceptPoints','ThresholdInterceptorFactory','SheetsSelectionsService','updateOfflineData','LOGIN_FAILED','_sessionStatus$','_createHandler','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getImage','IPermissionService','_iv','_stopTelemetryCollaborationNewChangeset','HTTPService','file','_sessions','\x0aAfter:\x20','equals','_clearCollaborationTimeoutTimer','enableAuthServer','REDEMPTION_CODE_INACTIVE','_changesetReqId','[PendingState]:\x20received\x20acknowledgement.','_createSocket','ImageSourceType','INVALID_ARGUMENT','ENTITLE_CHAT_LIMIT_EXCEED','isArray','forEach','localCacheService','entityInit$','image/bmp','send','IContextService','_collaborationPaused','CollaborationSession','fetchMissingChangesets','2149sjqSKa','getWorkbookSelections','OFFLINE','_ENC_XFORM_MODE','LIVESHARE_NEW_HOST','CollaborationSocketService','getCollabEntity$','padding','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','iterations','_state','_onMessage','shouldCloseConn','setWaitCount','TOO_MANY_REQUESTS','params','_permissionService','clamp','UniverCollaborationClientPlugin','_memberService','ERROR_EXCEED_SIZE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnit','70ZodXYR','CURRENT_STATUS_CANNOT_OPERATE','_createHmacHelper','isTransformMutationsWithChangesetSuccess','_collabSessionService','_type','INTERNAL_ERROR','clear','INVITE_CODE_ALREADY_BOUND','UniverCore','_httpService','INetworkConditionService','_getAPIPrefixPath','REDEMPTION_CODE_FULLY_REDEEMED','[CollaborationSession]','_getUploadFileURL','_commentService','requestParams','href','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_members','mixIn','RECV','POST','onRemoteRetry','[SyncedState]:\x20received\x20acknowledgement.','onCommandExecuted','Failed\x20to\x20update\x20permission\x20point','sheets','unitInfo$','Malformed\x20UTF-8\x20data','_createHelper','_sheetTransformSelectionsService','_socketReady','USERS_ENTER','NoPadding','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','liveShareNewHost','IAuthzIoService','_key','_sender','Workbook','PendingState','onRemoteRej','awaitingChangeset','changesets','downloadEndpointUrl','loadSheet','_socketService','take','commentUpdate$','_config','encodeURIComponent','_members$','getUnit','MentionIoHttpService','liveShareOperation','onRemoteChangeset','transformSelections','size','isInternalEditorID','CollaborationUIEventService','AES','image/jpg','extend','UserManagerService','appendMutation','hasher','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverDrawing','_fetchMissChangesets','?size=','interceptor','/-/object/-/batch_allowed','sin','_awaitingChangeset','image/gif','socket\x20close','_roomCreated$','debug','_onRemoteChangeset','retryConnectingInterval','USER_NOT_INVITED_CODE','fetching\x20missing\x20changesets\x20from\x20','PY_RUNTIME_SCRIPT_ERROR','_clearTimeoutTimer','getCurrentRevOfUnit','/allowed','getFocusedUnit','rxjs','joinRsp','People','capture','online$','ICommandService','dispose','WorkbookEditablePermission','getLatestCsReqIdBySid','Error\x20on\x20receiving\x20event','_transformIMECache','SyncedState','msCrypto','IDLE','createDecryptor','reject','SNAPSHOT_URL_KEY','_eventService','_onLocalMutation','/collaborator','blockSize','charCodeAt','url','startTime','CollaborationStatus','UniverProCollaborationClient','_reverseMap','[UniverCollaborationClientPlugin]','keySize','UniverSheets','collaborators','_startTelemetryCollaborationNewChangeset','parse','SheetCollaborationEntity','_initCloseConn','UNIVER_COLLABORATION_CLIENT_PLUGIN','mode','join','Encryptor','requireSession','onStateChange','algo','setShowComponents','$super','roles','LEAVE','_unlockTransition','MemberService','sigBytes','univer-pro.collaboration-client.single-active-unit-service','[PendingState]:\x20unhandled\x20univer\x20type:\x20','DocCollaborationEntity','CollaborationSessionService','UNKNOWN_CODE','charAt','_retryConnectingTimer','PAYMENT_CHANNEL_NOT_SUPPORT','connection\x20error','get','_applyRemoteChangeset','InsertSheetMutation','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','result','loadDoc','concat','userID','MentionType','_sendingTimer','createSocket','_onJoinRoomEvent','filter','_unitInfo$','registerHTTPInterceptor','_getSignURL','_resendTimer','ERROR_AGAIN','initWorkbookPermissionChange','delete','HmacSHA1'];_0x44db=function(){return _0x28651c;};return _0x44db();}(function(_0x1dd14f,_0x56d8ed){var _0x447e10=_0x532f,_0x19d4ac=_0x1dd14f();while(!![]){try{var _0x5480fc=parseInt(_0x447e10(0x1db))/0x1*(-parseInt(_0x447e10(0x1f9))/0x2)+-parseInt(_0x447e10(0x100))/0x3*(-parseInt(_0x447e10(0x189))/0x4)+parseInt(_0x447e10(0x295))/0x5+-parseInt(_0x447e10(0x2d3))/0x6*(parseInt(_0x447e10(0x2ff))/0x7)+-parseInt(_0x447e10(0x40f))/0x8+parseInt(_0x447e10(0x206))/0x9*(-parseInt(_0x447e10(0x316))/0xa)+parseInt(_0x447e10(0x1f5))/0xb;if(_0x5480fc===_0x56d8ed)break;else _0x19d4ac['push'](_0x19d4ac['shift']());}catch(_0x3a5ecb){_0x19d4ac['push'](_0x19d4ac['shift']());}}}(_0x44db,0xea253),function(_0x3ff5c3,_0x1cf5e0){var _0xe7f8c3=_0x532f;typeof exports=='object'&&typeof module<'u'?_0x1cf5e0(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==_0xe7f8c3(0x127)&&define['amd']?define([_0xe7f8c3(0x2a3),_0xe7f8c3(0x1d4),_0xe7f8c3(0x102),_0xe7f8c3(0xf0),'@univerjs/sheets',_0xe7f8c3(0x370),'@univerjs/telemetry',_0xe7f8c3(0x216),_0xe7f8c3(0x23e),_0xe7f8c3(0x9f),_0xe7f8c3(0x3dc)],_0x1cf5e0):(_0x3ff5c3=typeof globalThis<'u'?globalThis:_0x3ff5c3||self,_0x1cf5e0(_0x3ff5c3[_0xe7f8c3(0x389)]={},_0x3ff5c3['UniverProCollaboration'],_0x3ff5c3[_0xe7f8c3(0x31f)],_0x3ff5c3[_0xe7f8c3(0x41c)],_0x3ff5c3[_0xe7f8c3(0x38d)],_0x3ff5c3[_0xe7f8c3(0x370)],_0x3ff5c3['UniverTelemetry'],_0x3ff5c3['rxjs'][_0xe7f8c3(0x91)],_0x3ff5c3[_0xe7f8c3(0x14f)],_0x3ff5c3[_0xe7f8c3(0x35c)],_0x3ff5c3[_0xe7f8c3(0x16d)]));}(this,function(_0x247d18,_0x4f9634,_0x112078,_0x171cda,_0x44a4a2,_0x1909d3,_0x1782f1,_0x57d774,_0x1b0b18,_0x4b9ee5,_0x236deb){'use strict';var _0x46a189=_0x532f;var _0x3f386d=Object[_0x46a189(0x122)],_0x2a6c22=(_0x4525f8,_0x3c351a,_0x565171)=>_0x3c351a in _0x4525f8?_0x3f386d(_0x4525f8,_0x3c351a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x565171}):_0x4525f8[_0x3c351a]=_0x565171,_0x25aa6e=(_0x56ef5b,_0x5a9b84,_0x1eafcd)=>_0x2a6c22(_0x56ef5b,typeof _0x5a9b84!=_0x46a189(0x1a0)?_0x5a9b84+'':_0x5a9b84,_0x1eafcd);const _0x22f59e=_0x46a189(0x421),_0x30d808=_0x46a189(0x380),_0x1cfacc=_0x46a189(0x1ec),_0x35d64c=_0x46a189(0x271),_0x3dbfa6=_0x46a189(0x3ea),_0x375a07=_0x46a189(0x3d2),_0x302883=_0x46a189(0x204),_0x2ccf29=_0x46a189(0x406),_0x18fa10='/universer-api/comb',_0x1c9c58='/universer-api/oidc/authpage',_0x475e7c=_0x46a189(0x24c),_0x3f6e73=_0x46a189(0x41f);var _0x169ac9=(_0x45a58d=>(_0x45a58d[_0x45a58d['UNDEFINED']=0x0]=_0x46a189(0x13d),_0x45a58d[_0x45a58d['OK']=0x1]='OK',_0x45a58d[_0x45a58d[_0x46a189(0x31c)]=0x2]=_0x46a189(0x31c),_0x45a58d[_0x45a58d[_0x46a189(0x192)]=0x3]=_0x46a189(0x192),_0x45a58d[_0x45a58d[_0x46a189(0x88)]=0x4]=_0x46a189(0x88),_0x45a58d[_0x45a58d[_0x46a189(0xd7)]=0x5]=_0x46a189(0xd7),_0x45a58d[_0x45a58d['ALREADY_EXISTS']=0x6]=_0x46a189(0x2c0),_0x45a58d[_0x45a58d[_0x46a189(0x2f3)]=0x7]=_0x46a189(0x2f3),_0x45a58d[_0x45a58d[_0x46a189(0x30d)]=0x8]=_0x46a189(0x30d),_0x45a58d[_0x45a58d[_0x46a189(0x2c2)]=0x9]='COMPLETION_FINISHED',_0x45a58d[_0x45a58d[_0x46a189(0x2de)]=0xa]=_0x46a189(0x2de),_0x45a58d[_0x45a58d[_0x46a189(0x3f0)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x45a58d[_0x45a58d[_0x46a189(0x17e)]=0xc]=_0x46a189(0x17e),_0x45a58d[_0x45a58d[_0x46a189(0xe9)]=0xd]=_0x46a189(0xe9),_0x45a58d[_0x45a58d[_0x46a189(0x32a)]=0xe]=_0x46a189(0x32a),_0x45a58d[_0x45a58d[_0x46a189(0x3c0)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x45a58d[_0x45a58d[_0x46a189(0x254)]=0x10]=_0x46a189(0x254),_0x45a58d[_0x45a58d[_0x46a189(0x317)]=0x64]=_0x46a189(0x317),_0x45a58d[_0x45a58d[_0x46a189(0x3bb)]=0x65]=_0x46a189(0x3bb),_0x45a58d[_0x45a58d[_0x46a189(0x3c3)]=0xc9]=_0x46a189(0x3c3),_0x45a58d[_0x45a58d[_0x46a189(0x12d)]=0xca]=_0x46a189(0x12d),_0x45a58d[_0x45a58d[_0x46a189(0xac)]=0x1389]=_0x46a189(0xac),_0x45a58d[_0x45a58d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x46a189(0x152),_0x45a58d[_0x45a58d[_0x46a189(0x420)]=0x1772]=_0x46a189(0x420),_0x45a58d[_0x45a58d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x46a189(0x16b),_0x45a58d[_0x45a58d[_0x46a189(0x3eb)]=0x1b59]=_0x46a189(0x3eb),_0x45a58d[_0x45a58d[_0x46a189(0x107)]=0x1b5a]=_0x46a189(0x107),_0x45a58d[_0x45a58d[_0x46a189(0x162)]=0x1b5b]=_0x46a189(0x162),_0x45a58d[_0x45a58d[_0x46a189(0x3bf)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x45a58d[_0x45a58d[_0x46a189(0x297)]=0x1b5d]=_0x46a189(0x297),_0x45a58d[_0x45a58d[_0x46a189(0x2ca)]=0x1f41]=_0x46a189(0x2ca),_0x45a58d[_0x45a58d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x46a189(0xdd),_0x45a58d[_0x45a58d[_0x46a189(0x21b)]=0x232a]=_0x46a189(0x21b),_0x45a58d[_0x45a58d[_0x46a189(0x1f8)]=0x232b]=_0x46a189(0x1f8),_0x45a58d[_0x45a58d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x46a189(0x19f),_0x45a58d[_0x45a58d[_0x46a189(0x268)]=0x232d]=_0x46a189(0x268),_0x45a58d[_0x45a58d[_0x46a189(0xdb)]=0x2711]=_0x46a189(0xdb),_0x45a58d[_0x45a58d[_0x46a189(0x2a5)]=0x2712]=_0x46a189(0x2a5),_0x45a58d[_0x45a58d['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x45a58d[_0x45a58d[_0x46a189(0xda)]=0x2714]=_0x46a189(0xda),_0x45a58d[_0x45a58d[_0x46a189(0x289)]=0x271a]=_0x46a189(0x289),_0x45a58d[_0x45a58d[_0x46a189(0xc6)]=0x271b]=_0x46a189(0xc6),_0x45a58d[_0x45a58d[_0x46a189(0x261)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x45a58d[_0x45a58d['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x45a58d[_0x45a58d[_0x46a189(0x35b)]=0x271e]=_0x46a189(0x35b),_0x45a58d[_0x45a58d[_0x46a189(0x424)]=0x271f]=_0x46a189(0x424),_0x45a58d[_0x45a58d[_0x46a189(0x1e8)]=0x2720]=_0x46a189(0x1e8),_0x45a58d[_0x45a58d[_0x46a189(0x36b)]=0x2af9]=_0x46a189(0x36b),_0x45a58d[_0x45a58d['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x46a189(0x24b),_0x45a58d[_0x45a58d[_0x46a189(0x1ae)]=0x2ee2]=_0x46a189(0x1ae),_0x45a58d[_0x45a58d[_0x46a189(0xa0)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x45a58d[_0x45a58d[_0x46a189(0x369)]=0x2ee4]=_0x46a189(0x369),_0x45a58d[_0x45a58d[_0x46a189(0x31e)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x45a58d[_0x45a58d[_0x46a189(0x87)]=0x32c9]=_0x46a189(0x87),_0x45a58d[_0x45a58d[_0x46a189(0x20e)]=0x32ca]=_0x46a189(0x20e),_0x45a58d[_0x45a58d[_0x46a189(0x284)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x45a58d[_0x45a58d[_0x46a189(0x199)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x45a58d[_0x45a58d[_0x46a189(0x13c)]=0x36b2]=_0x46a189(0x13c),_0x45a58d[_0x45a58d[_0x46a189(0x103)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x45a58d[_0x45a58d[_0x46a189(0x3a8)]=0x36b4]=_0x46a189(0x3a8),_0x45a58d[_0x45a58d[_0x46a189(0x2f4)]=0x3715]=_0x46a189(0x2f4),_0x45a58d[_0x45a58d[_0x46a189(0x15d)]=0x3716]=_0x46a189(0x15d),_0x45a58d[_0x45a58d[_0x46a189(0x207)]=0x3717]=_0x46a189(0x207),_0x45a58d[_0x45a58d[_0x46a189(0x27d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x45a58d[_0x45a58d[_0x46a189(0x3c1)]=0x3a99]=_0x46a189(0x3c1),_0x45a58d[_0x45a58d[_0x46a189(0x2ee)]=0x3a9a]=_0x46a189(0x2ee),_0x45a58d[_0x45a58d[_0x46a189(0x323)]=0x3a9b]=_0x46a189(0x323),_0x45a58d[_0x45a58d[_0x46a189(0x20a)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x45a58d[_0x45a58d['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x46a189(0x403),_0x45a58d[_0x45a58d[_0x46a189(0x2b4)]=0x3a9e]=_0x46a189(0x2b4),_0x45a58d[_0x45a58d['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x46a189(0x161),_0x45a58d[_0x45a58d['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x46a189(0x1f6),_0x45a58d[_0x45a58d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x45a58d))(_0x169ac9||{}),_0x193e02=(_0x307967=>(_0x307967[_0x307967[_0x46a189(0x28e)]=0x0]=_0x46a189(0x28e),_0x307967[_0x307967['UNIVER_DOC']=0x1]=_0x46a189(0x140),_0x307967[_0x307967['UNIVER_SHEET']=0x2]=_0x46a189(0x18b),_0x307967[_0x307967[_0x46a189(0xd1)]=0x3]=_0x46a189(0xd1),_0x307967[_0x307967[_0x46a189(0x14c)]=0x4]='UNIVER_PROJECT',_0x307967[_0x307967[_0x46a189(0x415)]=-0x1]=_0x46a189(0x415),_0x307967))(_0x193e02||{}),_0x32720a=(_0x57b738=>(_0x57b738[_0x57b738[_0x46a189(0x265)]=0x0]=_0x46a189(0x265),_0x57b738[_0x57b738[_0x46a189(0x26c)]=0x1]='HELLO',_0x57b738[_0x57b738['JOIN']=0x2]=_0x46a189(0xd0),_0x57b738[_0x57b738[_0x46a189(0x39d)]=0x3]='LEAVE',_0x57b738[_0x57b738[_0x46a189(0x191)]=0x4]='INGEST',_0x57b738[_0x57b738[_0x46a189(0x226)]=0x5]=_0x46a189(0x226),_0x57b738[_0x57b738[_0x46a189(0x32d)]=0x6]=_0x46a189(0x32d),_0x57b738[_0x57b738[_0x46a189(0x415)]=-0x1]=_0x46a189(0x415),_0x57b738))(_0x32720a||{}),_0x142cf7=(_0x500a0c=>(_0x500a0c[_0x500a0c['UNKNOWN_CODE']=0x0]=_0x46a189(0x3a5),_0x500a0c[_0x500a0c['OK']=0x1]='OK',_0x500a0c[_0x500a0c['FAIL']=0x2]='FAIL',_0x500a0c[_0x500a0c[_0x46a189(0x409)]=0x3e9]=_0x46a189(0x409),_0x500a0c[_0x500a0c[_0x46a189(0x190)]=0x3ea]=_0x46a189(0x190),_0x500a0c[_0x500a0c[_0x46a189(0x15e)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x500a0c[_0x500a0c[_0x46a189(0x92)]=0x3ec]=_0x46a189(0x92),_0x500a0c[_0x500a0c[_0x46a189(0x415)]=-0x1]=_0x46a189(0x415),_0x500a0c))(_0x142cf7||{}),_0x6a4310=(_0x71b615=>(_0x71b615[_0x71b615[_0x46a189(0x1ee)]=0x0]=_0x46a189(0x1ee),_0x71b615[_0x71b615['HttpImport']=0x1]=_0x46a189(0x136),_0x71b615[_0x71b615[_0x46a189(0x2c1)]=0x2]=_0x46a189(0x2c1),_0x71b615[_0x71b615[_0x46a189(0x247)]=0x3]=_0x46a189(0x247),_0x71b615[_0x71b615[_0x46a189(0x1e1)]=0x4]=_0x46a189(0x1e1),_0x71b615[_0x71b615['UserProfileImg']=0x5]='UserProfileImg',_0x71b615[_0x71b615[_0x46a189(0x1b7)]=0x6]=_0x46a189(0x1b7),_0x71b615[_0x71b615[_0x46a189(0x415)]=-0x1]='UNRECOGNIZED',_0x71b615))(_0x6a4310||{});const _0x31a0de='collaboration_new_changeset';function _0x5170bd(_0x4c3de5){var _0xe7d2e5=_0x46a189;return JSON[_0xe7d2e5(0x27f)](_0x4c3de5)[_0xe7d2e5(0x86)];}var _0xee750e=(_0x18023d=>(_0x18023d[_0x46a189(0x126)]='OTHER_CLIENT_EDITING',_0x18023d['PERMISSION_DENIED']='PERMISSION_DENIED',_0x18023d[_0x46a189(0x2ce)]=_0x46a189(0x2ce),_0x18023d[_0x46a189(0x28c)]='CLOSE_ROOM',_0x18023d['JOIN_ROOM_FAILED']=_0x46a189(0x17f),_0x18023d['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x18023d['SOCKET_FAILED']='SOCKET_FAILED',_0x18023d[_0x46a189(0x29e)]='SUBMIT_CHANGESET_TIMEOUT',_0x18023d))(_0xee750e||{});class _0x12b7ba{constructor(){var _0x14992d=_0x46a189;_0x25aa6e(this,'_event$',new _0x1909d3[(_0x14992d(0x276))]()),_0x25aa6e(this,_0x14992d(0xd4),this[_0x14992d(0x242)]['asObservable']());}[_0x46a189(0xe5)](_0x417e97){var _0x3b9f9d=_0x46a189;this['_event$'][_0x3b9f9d(0x28a)](_0x417e97);}}class _0x4b3801{constructor(){var _0x917324=_0x46a189;_0x25aa6e(this,'_commentUpdate$',new _0x1909d3['Subject']()),_0x25aa6e(this,_0x917324(0x349),this[_0x917324(0x25d)][_0x917324(0x2d0)]());}['onCommentUpdate'](_0x29a07a){var _0x12abf5=_0x46a189;this['_commentUpdate$'][_0x12abf5(0x28a)](_0x29a07a);}}var _0x5178df=Object[_0x46a189(0x1d1)],_0x10812b=(_0x493b55,_0x31989a,_0x1b9379,_0x2fc5f9)=>{var _0x4a596c=_0x46a189;for(var _0x529dda=_0x2fc5f9>0x1?void 0x0:_0x2fc5f9?_0x5178df(_0x31989a,_0x1b9379):_0x31989a,_0x95f1b9=_0x493b55[_0x4a596c(0x86)]-0x1,_0x506b6e;_0x95f1b9>=0x0;_0x95f1b9--)(_0x506b6e=_0x493b55[_0x95f1b9])&&(_0x529dda=_0x506b6e(_0x529dda)||_0x529dda);return _0x529dda;},_0x226330=(_0x36f549,_0x2fb304)=>(_0x2f5581,_0x1f236c)=>_0x2fb304(_0x2f5581,_0x1f236c,_0x36f549);_0x247d18[_0x46a189(0x39f)]=class extends _0x112078[_0x46a189(0x426)]{constructor(_0x1310e9,_0x17b136){var _0x27763=_0x46a189;super(),_0x25aa6e(this,_0x27763(0x219),new Map()),_0x25aa6e(this,'_roomCreated$',new _0x1909d3[(_0x27763(0x276))]()),(this[_0x27763(0x3cf)]=_0x1310e9,this['_userManagerService']=_0x17b136,this[_0x27763(0x13a)](_0x1909d3[_0x27763(0x251)](this[_0x27763(0x3cf)][_0x27763(0x3d6)](_0x112078[_0x27763(0x164)]['UNIVER_SHEET'])[_0x27763(0x41a)](_0x57d774[_0x27763(0xb5)](_0x412ac1=>_0x412ac1[_0x27763(0x9c)]())),this['_univerInstanceService'][_0x27763(0x3d6)](_0x112078[_0x27763(0x164)]['UNIVER_DOC'])[_0x27763(0x41a)](_0x57d774['map'](_0x3e53fa=>_0x3e53fa['getUnitId']())),this[_0x27763(0x3cf)][_0x27763(0x3d6)](_0x112078[_0x27763(0x164)][_0x27763(0xd1)])['pipe'](_0x57d774['map'](_0x5a3970=>_0x5a3970[_0x27763(0x9c)]())))[_0x27763(0x153)](_0x37879c=>this[_0x27763(0x28d)](_0x37879c))));}[_0x46a189(0x12f)](_0x30d39e){var _0x22498b=_0x46a189;return this[_0x22498b(0x219)][_0x22498b(0x10b)](_0x30d39e)?_0x1909d3['of'](this['_roomMembers'][_0x22498b(0x3aa)](_0x30d39e)):this[_0x22498b(0x365)][_0x22498b(0x41a)](_0x57d774[_0x22498b(0xb5)](_0x38ad1b=>{var _0x4ed957=_0x22498b;if(_0x38ad1b===_0x30d39e)return this[_0x4ed957(0x219)][_0x4ed957(0x3aa)](_0x38ad1b);}));}[_0x46a189(0x3c4)](_0x50fc61){var _0x1074a3=_0x46a189;this[_0x1074a3(0x2bc)]['setCurrentUser'](_0x50fc61);}[_0x46a189(0x13b)](){var _0x51d8e3=_0x46a189;return this[_0x51d8e3(0x2bc)][_0x51d8e3(0x13b)]();}[_0x46a189(0x135)](_0x5a2c63,_0xdbf0d2){var _0x7e8a3c=_0x46a189;let _0x18be40=this['_roomMembers']['get'](_0x5a2c63);_0x18be40||(_0x18be40=new _0x8f18a2(),this[_0x7e8a3c(0x219)][_0x7e8a3c(0xf3)](_0x5a2c63,_0x18be40),this[_0x7e8a3c(0x365)][_0x7e8a3c(0x28a)](_0x5a2c63)),_0x18be40[_0x7e8a3c(0x135)](_0xdbf0d2);}[_0x46a189(0x106)](_0x3de89b,_0x8d3a43){var _0x267127=_0x46a189;const _0x49d129=this[_0x267127(0x219)][_0x267127(0x3aa)](_0x3de89b);_0x49d129&&_0x49d129[_0x267127(0x106)](_0x8d3a43);}['getRoom'](_0x485367){var _0x5d8f02=_0x46a189;return this[_0x5d8f02(0x219)][_0x5d8f02(0x3aa)](_0x485367);}[_0x46a189(0x9a)](_0x79a973,_0x1e8b0c){var _0x2a2188=_0x46a189;const _0x297339=this[_0x2a2188(0x219)][_0x2a2188(0x3aa)](_0x79a973);if(_0x297339)return _0x297339[_0x2a2188(0x9a)](_0x1e8b0c);}[_0x46a189(0x28d)](_0x1adacb){var _0x3f7099=_0x46a189;const _0x219fc2=this[_0x3f7099(0x219)]['get'](_0x1adacb);_0x219fc2&&(_0x219fc2[_0x3f7099(0x376)](),this[_0x3f7099(0x219)][_0x3f7099(0x3bd)](_0x1adacb));}[_0x46a189(0x376)](){var _0x1790b0=_0x46a189;this[_0x1790b0(0x219)][_0x1790b0(0x2f6)](_0x51d581=>_0x51d581[_0x1790b0(0x376)]()),this[_0x1790b0(0x219)][_0x1790b0(0x31d)](),this['_roomCreated$'][_0x1790b0(0x1c3)]();}},_0x247d18[_0x46a189(0x39f)]=_0x10812b([_0x226330(0x0,_0x112078[_0x46a189(0x93)]),_0x226330(0x1,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x358)]))],_0x247d18[_0x46a189(0x39f)]);class _0x8f18a2 extends _0x112078[_0x46a189(0x426)]{constructor(){var _0x24eb48=_0x46a189;super(...arguments),_0x25aa6e(this,_0x24eb48(0x32b),new Map()),_0x25aa6e(this,_0x24eb48(0x34c),new _0x1909d3['BehaviorSubject'](this[_0x24eb48(0x32b)])),_0x25aa6e(this,'members$',this[_0x24eb48(0x34c)]['asObservable']());}[_0x46a189(0x376)](){var _0x1cba53=_0x46a189;this['_members'][_0x1cba53(0x31d)]();}[_0x46a189(0x135)](_0x473519){var _0x3fb3cc=_0x46a189;this[_0x3fb3cc(0x32b)][_0x3fb3cc(0xf3)](_0x473519['memberID'],_0x473519),this['_emitMembers']();}['removeMember'](_0x4e323b){var _0x439dda=_0x46a189;this[_0x439dda(0x32b)][_0x439dda(0x3bd)](_0x4e323b);}[_0x46a189(0x9a)](_0x3571d6){var _0x1bc299=_0x46a189;return this[_0x1bc299(0x32b)]['get'](_0x3571d6);}[_0x46a189(0x114)](){var _0x55935d=_0x46a189;return Array[_0x55935d(0x256)](this[_0x55935d(0x32b)][_0x55935d(0x17b)]());}[_0x46a189(0x1be)](){var _0x859ac7=_0x46a189;this[_0x859ac7(0x34c)][_0x859ac7(0x28a)](this[_0x859ac7(0x32b)]);}}var _0x1384ba=Object['getOwnPropertyDescriptor'],_0x2aeca1=(_0x31341b,_0x408785,_0x329157,_0x45e07d)=>{for(var _0x4af454=_0x45e07d>0x1?void 0x0:_0x45e07d?_0x1384ba(_0x408785,_0x329157):_0x408785,_0x330ad5=_0x31341b['length']-0x1,_0x4c6ae9;_0x330ad5>=0x0;_0x330ad5--)(_0x4c6ae9=_0x31341b[_0x330ad5])&&(_0x4af454=_0x4c6ae9(_0x4af454)||_0x4af454);return _0x4af454;},_0x5bc123=(_0x3f688c,_0x4dcc57)=>(_0x3e57df,_0x744d43)=>_0x4dcc57(_0x3e57df,_0x744d43,_0x3f688c),_0x4f1434=(_0x3956ba=>(_0x3956ba[_0x3956ba[_0x46a189(0x37d)]=0x0]=_0x46a189(0x37d),_0x3956ba[_0x3956ba[_0x46a189(0x180)]=0x1]=_0x46a189(0x180),_0x3956ba[_0x3956ba['OFFLINE']=0x2]=_0x46a189(0x301),_0x3956ba[_0x3956ba[_0x46a189(0x252)]=0x3]=_0x46a189(0x252),_0x3956ba))(_0x4f1434||{});const _0x51a3a6={[_0x142cf7[_0x46a189(0x275)]]:_0x46a189(0x220),[_0x142cf7[_0x46a189(0x409)]]:'session.room-full',[_0x142cf7[_0x46a189(0x190)]]:'session.room-not-exists',[_0x142cf7['JOIN_ROOM_PERMISSION_DENIED']]:_0x46a189(0x288),[_0x142cf7[_0x46a189(0x92)]]:_0x46a189(0x13e)};_0x247d18[_0x46a189(0x2fd)]=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x1f4042,_0x14430d,_0xb64d32,_0x404b49,_0x34f835,_0x52ceba,_0x4914c8,_0x5cfa75){var _0x3298e9=_0x46a189;super(),_0x25aa6e(this,_0x3298e9(0x2df),new _0x1909d3[(_0x3298e9(0xf5))](0x0)),_0x25aa6e(this,_0x3298e9(0x1f2),this[_0x3298e9(0x2df)]['asObservable']()),_0x25aa6e(this,_0x3298e9(0x242),new _0x1909d3[(_0x3298e9(0x276))]()),_0x25aa6e(this,_0x3298e9(0xd4),this['_event$'][_0x3298e9(0x2d0)]()),_0x25aa6e(this,_0x3298e9(0xd5)),_0x25aa6e(this,_0x3298e9(0x228)),_0x25aa6e(this,_0x3298e9(0xa3)),_0x25aa6e(this,_0x3298e9(0xf9),!0x1),_0x25aa6e(this,_0x3298e9(0x270),null),(this[_0x3298e9(0x3dd)]=_0x1f4042,this[_0x3298e9(0x235)]=_0xb64d32,this[_0x3298e9(0xad)]=_0x404b49,this[_0x3298e9(0x312)]=_0x34f835,this[_0x3298e9(0x326)]=_0x52ceba,this[_0x3298e9(0x281)]=_0x4914c8,this[_0x3298e9(0xe7)]=_0x5cfa75,this['_shouldReportTelemetry']=!!this[_0x3298e9(0xe7)],_0x14430d[_0x3298e9(0x41a)](_0x1909d3[_0x3298e9(0x1ea)](this[_0x3298e9(0x98)]))[_0x3298e9(0x153)](_0x580b78=>{var _0x532f5e=_0x3298e9,_0x56994a;typeof _0x580b78>'u'||(this[_0x532f5e(0xd5)]=_0x580b78,_0x580b78?(this[_0x532f5e(0x1dd)](_0x580b78),this[_0x532f5e(0x228)]=_0x580b78['message$']['subscribe'](_0x35ec51=>{var _0xcb3d2c=_0x532f5e;_0x35ec51[_0xcb3d2c(0xb1)]===this['_unitID']&&this[_0xcb3d2c(0x3f9)](_0x35ec51);})):(this[_0x532f5e(0x1b5)](),this[_0x532f5e(0x2df)][_0x532f5e(0x28a)](0x2),(_0x56994a=this[_0x532f5e(0x228)])==null||_0x56994a[_0x532f5e(0x2d7)](),this[_0x532f5e(0x228)]=null));}));}get[_0x46a189(0x3fa)](){var _0xbaaac5=_0x46a189;return this[_0xbaaac5(0x2df)]['getValue']();}[_0x46a189(0x25a)](){var _0x1335a3=_0x46a189,_0x6d8109,_0x541133;return(_0x541133=(_0x6d8109=this['_socket'])==null?void 0x0:_0x6d8109[_0x1335a3(0x2c4)])!=null?_0x541133:null;}[_0x46a189(0x376)](){var _0xe67f98=_0x46a189;super[_0xe67f98(0x376)](),this[_0xe67f98(0x98)][_0xe67f98(0x28a)](),this['dispose$'][_0xe67f98(0x1c3)]();}[_0x46a189(0xbc)](){var _0x179474=_0x46a189,_0x5967c4,_0x47ea24;this[_0x179474(0x1b5)](),(_0x5967c4=this[_0x179474(0xd5)])==null||_0x5967c4[_0x179474(0x2fa)]({'cmd':_0x32720a[_0x179474(0x39d)],'data':{'roomID':this[_0x179474(0x3dd)]}}),(_0x47ea24=this['_socket'])==null||_0x47ea24['close'](),this[_0x179474(0x242)]['complete'](),this['_sessionStatus$'][_0x179474(0x1c3)](),this[_0x179474(0x376)]();}[_0x46a189(0x3f9)](_0xdda356){var _0x2cacce=_0x46a189;_0xdda356[_0x2cacce(0x2d6)]===_0x32720a['JOIN']?this[_0x2cacce(0x3b5)](_0xdda356):_0xdda356[_0x2cacce(0x2d6)]===_0x32720a[_0x2cacce(0x32d)]&&this[_0x2cacce(0x2a9)](_0xdda356);}[_0x46a189(0x1dd)](_0x5c6826){var _0x537e8c=_0x46a189;this[_0x537e8c(0x2df)]['next'](0x1),_0x5c6826[_0x537e8c(0x2fa)]({'cmd':_0x32720a['JOIN'],'routeKey':this[_0x537e8c(0x3dd)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x46a189(0x3b5)](_0x325a7c){var _0x41a1a9=_0x46a189,_0x34867a;if(_0x325a7c[_0x41a1a9(0x2c3)]in _0x51a3a6){this[_0x41a1a9(0x281)]['emitEvent']({'id':_0xee750e[_0x41a1a9(0x17f)],'data':_0x51a3a6[_0x325a7c[_0x41a1a9(0x2c3)]]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x41a1a9(0x28a)](0x3);const _0x56fd95=(_0x34867a=_0x325a7c[_0x41a1a9(0x3f5)]['roomInfos'][this[_0x41a1a9(0x3dd)]])==null?void 0x0:_0x34867a[_0x41a1a9(0xfa)];_0x56fd95&&_0x56fd95[_0x41a1a9(0x2f6)](_0x2de559=>this[_0x41a1a9(0x312)][_0x41a1a9(0x135)](this[_0x41a1a9(0x3dd)],_0x2de559));}[_0x46a189(0x2a9)](_0x418b68){var _0x15aaa3=_0x46a189;try{const _0x2e2ebf=_0x418b68['data'];switch(_0x2e2ebf[_0x15aaa3(0x3df)]){case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x339)]:this[_0x15aaa3(0x2a4)](_0x2e2ebf),this[_0x15aaa3(0x242)][_0x15aaa3(0x28a)](_0x2e2ebf);break;case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x2bd)]:this[_0x15aaa3(0x3c5)](_0x2e2ebf),this['_event$']['next'](_0x2e2ebf);break;case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x3db)]:case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x239)]:this[_0x15aaa3(0x2e6)](),this[_0x15aaa3(0x2ec)](),this[_0x15aaa3(0x242)][_0x15aaa3(0x28a)](_0x2e2ebf);break;case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x246)]:this[_0x15aaa3(0x235)][_0x15aaa3(0x157)](_0x15aaa3(0x23b)+JSON['stringify'](_0x2e2ebf)),this['_event$'][_0x15aaa3(0x28a)](_0x2e2ebf);break;case _0x4f9634['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x2e2ebf[_0x15aaa3(0x3f5)]),this[_0x15aaa3(0x242)]['next'](_0x2e2ebf);break;default:this[_0x15aaa3(0x242)][_0x15aaa3(0x28a)](_0x2e2ebf);}}catch(_0x26ebcd){this[_0x15aaa3(0x235)]['error'](_0x26ebcd,_0x418b68);}}['_onUserJoin'](_0x510666){var _0x1d4e8e=_0x46a189;this[_0x1d4e8e(0x312)][_0x1d4e8e(0x135)](this[_0x1d4e8e(0x3dd)],_0x510666['data']);}[_0x46a189(0x3c5)](_0x1d6670){var _0x37b399=_0x46a189;this['_memberService'][_0x37b399(0x106)](this[_0x37b399(0x3dd)],_0x1d6670['data']['memberID']);}async[_0x46a189(0x2fa)](_0x5a4511,_0x843b12){var _0x272cbf=_0x46a189;if(this[_0x272cbf(0x3fa)]!==0x3||!this[_0x272cbf(0xd5)])throw new Error(_0x272cbf(0x307));try{_0x5a4511[_0x272cbf(0x3df)]===_0x4f9634[_0x272cbf(0x3f4)][_0x272cbf(0x3f3)]&&(this[_0x272cbf(0x19a)](),this[_0x272cbf(0x38f)](_0x5a4511)),this[_0x272cbf(0xd5)][_0x272cbf(0x2fa)]({'cmd':_0x32720a[_0x272cbf(0x191)],'routeKey':_0x843b12,'routeType':'','data':_0x5a4511});}catch(_0x5db594){this[_0x272cbf(0x235)][_0x272cbf(0x157)](_0x5db594);}}[_0x46a189(0x19a)](){var _0x2e47ca=_0x46a189,_0x42af6b;this[_0x2e47ca(0xa3)]=setTimeout(()=>{var _0xe9ec2f=_0x2e47ca;this[_0xe9ec2f(0xa3)]=null,this[_0xe9ec2f(0x281)][_0xe9ec2f(0xe5)]({'id':_0xee750e['SUBMIT_CHANGESET_TIMEOUT']});},(_0x42af6b=this['_configService']['getConfig'](_0x375a07))!=null?_0x42af6b:0x4e20);}[_0x46a189(0x2ec)](){var _0x4294e4=_0x46a189;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4294e4(0xa3)]),this[_0x4294e4(0xa3)]=null);}[_0x46a189(0x38f)](_0x60f685){var _0x2c7be0=_0x46a189;if(!this[_0x2c7be0(0xf9)])return;const {data:_0x172094}=_0x60f685,{unitID:_0x113ab3,changeset:_0x422081}=_0x172094,{mutations:_0x356bf4,type:_0x1068e7}=_0x422081;this[_0x2c7be0(0x270)]={'unitId':_0x113ab3,'type':_0x1068e7,'startTime':performance[_0x2c7be0(0x1cc)](),'stopTime':0x0,'duration':0x0,'size':_0x5170bd(_0x356bf4)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x704e94=_0x46a189;if(this[_0x704e94(0xf9)]){if(!this['_telemetryInfo']){this['_logService'][_0x704e94(0x157)](_0x704e94(0x324),_0x704e94(0x41b));return;}this[_0x704e94(0x270)][_0x704e94(0x3ed)]=performance[_0x704e94(0x1cc)](),this['_telemetryInfo'][_0x704e94(0x201)]=this[_0x704e94(0x270)][_0x704e94(0x3ed)]-this[_0x704e94(0x270)][_0x704e94(0x387)],this[_0x704e94(0xe7)][_0x704e94(0x373)](_0x31a0de,this[_0x704e94(0x270)]),this[_0x704e94(0x270)]=null;}}[_0x46a189(0x1b5)](){var _0x33ef8c=_0x46a189;this[_0x33ef8c(0x270)]=null;}},_0x247d18[_0x46a189(0x2fd)]=_0x2aeca1([_0x5bc123(0x2,_0x112078[_0x46a189(0xce)]),_0x5bc123(0x3,_0x112078[_0x46a189(0x22f)]),_0x5bc123(0x4,_0x112078['Inject'](_0x247d18['MemberService'])),_0x5bc123(0x5,_0x112078['Inject'](_0x4b3801)),_0x5bc123(0x6,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x5bc123(0x7,_0x112078[_0x46a189(0x24e)](_0x1782f1[_0x46a189(0xfb)]))],_0x247d18[_0x46a189(0x2fd)]);const _0x1257cc=_0x112078[_0x46a189(0x1fe)](_0x46a189(0x1a2));function _0x37fe5f(_0x4cf76b){return'unit-cache-'+_0x4cf76b;}var _0x3a5878=Object[_0x46a189(0x1d1)],_0x4e1184=(_0x229f6e,_0x1d08ba,_0x182e0d,_0x3cac18)=>{for(var _0x1299d0=_0x3cac18>0x1?void 0x0:_0x3cac18?_0x3a5878(_0x1d08ba,_0x182e0d):_0x1d08ba,_0xb683ab=_0x229f6e['length']-0x1,_0xcdde53;_0xb683ab>=0x0;_0xb683ab--)(_0xcdde53=_0x229f6e[_0xb683ab])&&(_0x1299d0=_0xcdde53(_0x1299d0)||_0x1299d0);return _0x1299d0;},_0x4b5882=(_0xff0538,_0x303e15)=>(_0xf5f05b,_0x3d10a5)=>_0x303e15(_0xf5f05b,_0x3d10a5,_0xff0538);function _0x53c8db(_0x496c32){var _0x598242=_0x46a189;const {unitID:_0x852b40,mutations:_0x2c28ec}=_0x496c32;return{'unitId':_0x852b40,'subUnitId':_0x2c28ec[_0x598242(0x86)]>0x0?_0x2c28ec[0x0][_0x598242(0x30e)]['subUnitId']:null};}_0x247d18['SheetTransformSelectionsService']=class{constructor(_0x43e6f9,_0xec7f45,_0x5ddcab){var _0x2ede86=_0x46a189;this['_injector']=_0x43e6f9,this['_transformService']=_0xec7f45,this[_0x2ede86(0x18f)]=_0x5ddcab;}['transformSelections'](_0x11f8b0){var _0x37cc37=_0x46a189,_0x3838c8,_0x7d2f2,_0x4529d0,_0xbfceee;const _0x411aea=this['_injector'][_0x37cc37(0x3aa)](_0x44a4a2[_0x37cc37(0x2dc)]),{unitId:_0x5d5b8,subUnitId:_0x331700}=_0x53c8db(_0x11f8b0),_0x2bea25=_0x411aea==null?void 0x0:_0x411aea[_0x37cc37(0x300)](_0x5d5b8)[_0x37cc37(0x241)](),_0x331ba8=(_0x7d2f2=(_0x3838c8=this[_0x37cc37(0x18f)][_0x37cc37(0x34d)](_0x5d5b8))==null?void 0x0:_0x3838c8[_0x37cc37(0x21a)]())==null?void 0x0:_0x7d2f2[_0x37cc37(0x221)]();if(_0x2bea25[_0x37cc37(0x86)]===0x0||!_0x5d5b8||!_0x331700)return;const _0x5b5f80=[{'id':_0x44a4a2[_0x37cc37(0x120)]['id'],'params':{'unitId':_0x5d5b8,'subUnitId':_0x331ba8,'selections':_0x112078['Tools'][_0x37cc37(0x428)](_0x2bea25)}}],_0x149875=this['_transformService'][_0x37cc37(0x212)](_0x11f8b0,_0x5b5f80);if(!_0x4f9634[_0x37cc37(0x319)](_0x149875))throw _0x149875['error'];const _0x1b8acc=(_0xbfceee=(_0x4529d0=_0x149875[_0x37cc37(0x1d9)][0x0])==null?void 0x0:_0x4529d0[_0x37cc37(0x30e)])==null?void 0x0:_0xbfceee['selections'];if(Array[_0x37cc37(0x2f5)](_0x1b8acc)&&_0x1b8acc[_0x37cc37(0x86)]){if(_0x1b8acc[_0x37cc37(0x86)]===_0x5b5f80[0x0][_0x37cc37(0x30e)][_0x37cc37(0x202)]['length']&&_0x1b8acc['every']((_0x470069,_0x14c43b)=>_0x112078['Rectangle'][_0x37cc37(0x2eb)](_0x470069[_0x37cc37(0x1cd)],_0x5b5f80[0x0][_0x37cc37(0x30e)][_0x37cc37(0x202)][_0x14c43b][_0x37cc37(0x1cd)])))return;this[_0x37cc37(0x3e1)][_0x37cc37(0x3aa)](_0x112078[_0x37cc37(0x375)])[_0x37cc37(0xc0)](_0x44a4a2['SetSelectionsOperation']['id'],{'unitId':_0x5d5b8,'subUnitId':_0x331ba8,'selections':_0x1b8acc});}}},_0x247d18[_0x46a189(0xc4)]=_0x4e1184([_0x4b5882(0x0,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x4b5882(0x1,_0x4f9634[_0x46a189(0xbe)]),_0x4b5882(0x2,_0x112078[_0x46a189(0x93)])],_0x247d18[_0x46a189(0xc4)]);const _0x51ca0c=_0x112078[_0x46a189(0x1fe)](_0x46a189(0x3a1));var _0xaf572f=(_0x553b74=>(_0x553b74[_0x553b74[_0x46a189(0x277)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x553b74[_0x553b74[_0x46a189(0x14e)]=0x1]=_0x46a189(0x14e),_0x553b74))(_0xaf572f||{});const _0x4f0c7a='collaboration-client.config',_0x13cd5c={},_0x2bc183=new Set([_0x44a4a2[_0x46a189(0x3ac)]['id']]);function _0x20c38c(_0x2e5210,_0x3e2548,_0x361151,_0x1bf89a,_0x237fa0){var _0x2b2f4f=_0x46a189,_0x10a2fb,_0x5629f3,_0x3f6dc5,_0x41713d;const _0x9c8733=[];for(const _0x344be4 of _0x2e5210)if(_0x2bc183[_0x2b2f4f(0x10b)](_0x344be4['id'])){if(_0x9c8733['length']>0x0)break;_0x9c8733[_0x2b2f4f(0x139)](_0x344be4);break;}else _0x9c8733[_0x2b2f4f(0x139)](_0x344be4);const _0x468960=(_0x5629f3=(_0x10a2fb=_0x237fa0[_0x2b2f4f(0x13b)]())==null?void 0x0:_0x10a2fb[_0x2b2f4f(0x3b1)])!=null?_0x5629f3:_0x2b2f4f(0xd2),_0x57727f=(_0x41713d=(_0x3f6dc5=_0x237fa0[_0x2b2f4f(0x13b)]())==null?void 0x0:_0x3f6dc5[_0x2b2f4f(0x2c4)])!=null?_0x41713d:_0x2b2f4f(0xd2);return{'changeset':{'unitID':_0x3e2548,'type':_0x4f9634['mapDocumentTypeToUniverType'](_0x361151['getUnitType'](_0x3e2548)),'baseRev':_0x1bf89a[_0x2b2f4f(0x36d)](_0x3e2548),'revision':0x0,'userID':_0x468960,'memberID':_0x57727f,'mutations':_0x9c8733},'pendingMutations':_0x2e5210[_0x2b2f4f(0x16e)](_0x9c8733[_0x2b2f4f(0x86)])};}function _0x4de314(_0x576e95,_0x38b69d,_0x48e115,_0x5934a6,_0x2d6925){var _0xfe1b14=_0x46a189,_0x258b30,_0x2d5172,_0x5a16bb,_0x13520d;const _0x285bf4=[_0x576e95['reduce']((_0x202b67,_0x2cdf60)=>{var _0x2b9376=_0x532f,_0x4dcdc4;const {id:_0x5715b4}=_0x202b67,{id:_0x396bbb,type:_0xdfffa0}=_0x2cdf60,_0x39e548=(_0x4dcdc4=_0x202b67[_0x2b9376(0x30e)])!=null?_0x4dcdc4:{'actions':null},_0x26f689=_0x2cdf60[_0x2b9376(0x30e)];if(_0x5715b4&&_0x5715b4!==_0x396bbb)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5715b4+'\x20-\x20'+_0x396bbb+'.');return{..._0x202b67,'id':_0x396bbb,'type':_0xdfffa0,'params':{'unitId':_0x26f689[_0x2b9376(0x124)],'textRanges':_0x26f689[_0x2b9376(0x1e7)],'actions':_0x112078[_0x2b9376(0x3d9)]['compose'](_0x39e548[_0x2b9376(0x163)],_0x26f689['actions'])}};},{})],_0x366684=(_0x2d5172=(_0x258b30=_0x2d6925[_0xfe1b14(0x13b)]())==null?void 0x0:_0x258b30[_0xfe1b14(0x3b1)])!=null?_0x2d5172:_0xfe1b14(0xd2),_0x3fe92b=(_0x13520d=(_0x5a16bb=_0x2d6925[_0xfe1b14(0x13b)]())==null?void 0x0:_0x5a16bb[_0xfe1b14(0x2c4)])!=null?_0x13520d:'unknown';return{'changeset':{'unitID':_0x38b69d,'type':_0x4f9634[_0xfe1b14(0xab)](_0x48e115[_0xfe1b14(0x1c2)](_0x38b69d)),'baseRev':_0x5934a6[_0xfe1b14(0x36d)](_0x38b69d),'revision':0x0,'userID':_0x366684,'memberID':_0x3fe92b,'mutations':_0x285bf4},'pendingMutations':[]};}function _0x8f7348(_0x1c3015,_0x13e0d8){var _0x478d70=_0x46a189;const _0x257237=new _0x1909d3[(_0x478d70(0x23c))](0x1);return setTimeout(()=>_0x257237[_0x478d70(0x28a)](_0x13e0d8),_0x1c3015),_0x257237[_0x478d70(0x2d0)]()[_0x478d70(0x41a)](_0x1909d3[_0x478d70(0x348)](0x1));}var _0x20317f=Object[_0x46a189(0x1d1)],_0x476bd3=(_0x2ef545,_0x8f8e39,_0x12a602,_0x375b16)=>{var _0x4ea487=_0x46a189;for(var _0x2ab777=_0x375b16>0x1?void 0x0:_0x375b16?_0x20317f(_0x8f8e39,_0x12a602):_0x8f8e39,_0x2ab7e0=_0x2ef545[_0x4ea487(0x86)]-0x1,_0x122758;_0x2ab7e0>=0x0;_0x2ab7e0--)(_0x122758=_0x2ef545[_0x2ab7e0])&&(_0x2ab777=_0x122758(_0x2ab777)||_0x2ab777);return _0x2ab777;},_0x1064ef=(_0x331aaf,_0x1f05da)=>(_0x21001e,_0x1083bc)=>_0x1f05da(_0x21001e,_0x1083bc,_0x331aaf),_0x41e9c8=(_0x34b2e4=>(_0x34b2e4[_0x46a189(0x298)]='not_collab',_0x34b2e4['SYNCED']='synced',_0x34b2e4['PENDING']=_0x46a189(0x2ad),_0x34b2e4[_0x46a189(0x258)]=_0x46a189(0x407),_0x34b2e4[_0x46a189(0x17d)]=_0x46a189(0x89),_0x34b2e4[_0x46a189(0x172)]=_0x46a189(0x90),_0x34b2e4[_0x46a189(0x2ce)]='conflict',_0x34b2e4['OFFLINE']='offline',_0x34b2e4))(_0x41e9c8||{});const _0x42e30a=0xea60;class _0x1442ea{constructor(_0x1138e0,_0x370112,_0x54aed7,_0x25ee0d,_0x298d13,_0xc14b27,_0x2f9670,_0x37fecd,_0x1627c7){var _0x1d444d=_0x46a189;_0x25aa6e(this,_0x1d444d(0x362),null),_0x25aa6e(this,_0x1d444d(0xcf),[]),(this['unitID']=_0x1138e0,this[_0x1d444d(0xfd)]=_0x370112,this['_handler']=_0x298d13,this[_0x1d444d(0x244)]=_0xc14b27,this['_undoRedoService']=_0x2f9670,this[_0x1d444d(0xdf)]=_0x37fecd,this[_0x1d444d(0x11d)]=_0x1627c7,this[_0x1d444d(0x362)]=_0x54aed7,this[_0x1d444d(0xcf)]=_0x25ee0d);}['_checkMissing'](_0x56a5eb){var _0x3cc9ff=_0x46a189;const _0x3ceb35=this[_0x3cc9ff(0xdf)][_0x3cc9ff(0x36d)](this[_0x3cc9ff(0x194)]);return _0x56a5eb[_0x3cc9ff(0x22b)]>_0x3ceb35+0x1?(this[_0x3cc9ff(0x40d)][_0x3cc9ff(0x1da)]({'from':_0x3ceb35,'to':_0x56a5eb[_0x3cc9ff(0x22b)]-0x1}),!0x0):!0x1;}[_0x46a189(0x14a)](_0x5c8c6d){var _0x3af2c7=_0x46a189;this['_undoRedoService'][_0x3af2c7(0x29a)](this[_0x3af2c7(0x194)],_0x5c8c6d);}[_0x46a189(0x1d0)](_0x2b78a0){var _0x455409=_0x46a189,_0x3840cf,_0x22a9e2;(_0x22a9e2=(_0x3840cf=this['_handler'])[_0x455409(0x17c)])==null||_0x22a9e2[_0x455409(0x3f2)](_0x3840cf,_0x2b78a0);}['_transformIMECache'](_0x5d758e){var _0x2b3eb7=_0x46a189,_0x6d551f,_0x6be772;return(_0x6be772=(_0x6d551f=this[_0x2b3eb7(0x40d)])[_0x2b3eb7(0xb4)])==null?void 0x0:_0x6be772[_0x2b3eb7(0x3f2)](_0x6d551f,_0x5d758e);}['_transformStateCache'](_0x1f14e3){var _0x3d2221=_0x46a189,_0x58d8d0,_0x217b80;return(_0x217b80=(_0x58d8d0=this[_0x3d2221(0x40d)])[_0x3d2221(0x96)])==null?void 0x0:_0x217b80['call'](_0x58d8d0,_0x1f14e3);}[_0x46a189(0x2a8)](_0x56c35f){var _0x1c013f=_0x46a189,_0x4f1478,_0x377d05,_0x329513;return(_0x329513=(_0x377d05=(_0x4f1478=this[_0x1c013f(0x40d)])[_0x1c013f(0x29d)])==null?void 0x0:_0x377d05[_0x1c013f(0x3f2)](_0x4f1478,_0x56c35f))!=null?_0x329513:_0x56c35f;}[_0x46a189(0x1f7)](_0x818c7e){var _0x11e88f=_0x46a189,_0x7f87f4,_0x47d6fe,_0x71b20a;return(_0x71b20a=(_0x47d6fe=(_0x7f87f4=this['_handler'])[_0x11e88f(0x97)])==null?void 0x0:_0x47d6fe[_0x11e88f(0x3f2)](_0x7f87f4,_0x818c7e))!=null?_0x71b20a:_0x818c7e;}[_0x46a189(0x2b5)](_0x2f5983){var _0x364fcc=_0x46a189,_0x3ca6f8,_0x4ac548;if(this[_0x364fcc(0xfd)]===_0x193e02[_0x364fcc(0x140)]){const {unitID:_0x26ceea,mutations:_0x21066e,memberID:_0x29415a}=_0x2f5983,_0x1f727d=_0x21066e[_0x364fcc(0x86)]>0x0?_0x21066e[0x0][_0x364fcc(0x30e)][_0x364fcc(0x1e7)]:[];Array[_0x364fcc(0x2f5)](_0x1f727d)&&_0x1f727d['length']>0x0&&((_0x4ac548=(_0x3ca6f8=this[_0x364fcc(0x40d)])[_0x364fcc(0x2b1)])==null||_0x4ac548[_0x364fcc(0x3f2)](_0x3ca6f8,{'unitID':_0x26ceea,'memberID':_0x29415a,'textRanges':_0x1f727d}));}}[_0x46a189(0x23d)](){var _0xd05c38=_0x46a189,_0x173d68;(_0x173d68=this[_0xd05c38(0x11d)])==null||_0x173d68[_0xd05c38(0x2dd)](this['unitID'],this[_0xd05c38(0xfd)],this[_0xd05c38(0x362)],this[_0xd05c38(0xcf)]);}[_0x46a189(0x183)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x768ba1=_0x46a189;this[_0x768ba1(0xdf)][_0x768ba1(0x243)](this[_0x768ba1(0x194)]);}['_executeRemoteChangeset'](_0x1fffc8){var _0x1085d5=_0x46a189,_0x403109;let _0x2a6425=this[_0x1085d5(0x2a8)](_0x1fffc8);_0x2a6425=this['_transformRemoteChangesetByStateCache'](_0x2a6425);const _0x56e65a=_0x112078[_0x1085d5(0x410)](_0x2a6425[_0x1085d5(0x1af)],this['_commandService'],{'fromCollab':!0x0});if(!_0x56e65a[_0x1085d5(0x3ae)])throw _0x56e65a['error']instanceof Error?_0x56e65a['error']:new Error((_0x403109=_0x56e65a['error'])!=null?_0x403109:_0x1085d5(0x3c8));this[_0x1085d5(0x37a)](_0x2a6425),this['_transformStateCache'](_0x2a6425),this[_0x1085d5(0x14a)](_0x1fffc8),this[_0x1085d5(0x1d0)](_0x2a6425),this['_syncEditingCollabCursor'](_0x2a6425),this[_0x1085d5(0x1e9)]();}}_0x247d18[_0x46a189(0x37b)]=class extends _0x1442ea{constructor(_0x214e95,_0x2ddf40,_0x697988,_0x9c5b78,_0x38a320,_0x224d9a,_0x2db070,_0x5089e9,_0xc7b761,_0xfd80bc){var _0x465824=_0x46a189;super(_0x214e95,_0x2ddf40,null,[],_0x697988,_0x2db070,_0x224d9a,_0x9c5b78,_0xfd80bc),_0x25aa6e(this,_0x465824(0x111),'synced'),(this[_0x465824(0x3e1)]=_0x38a320,this[_0x465824(0x235)]=_0x5089e9,this[_0x465824(0xb2)]=_0xc7b761,this[_0x465824(0x2f7)]=_0xfd80bc);}['appendMutation'](_0x570385){var _0x2dac91=_0x46a189;const _0x475977=this[_0x2dac91(0x3e1)][_0x2dac91(0x10c)](_0x247d18[_0x2dac91(0x341)],this[_0x2dac91(0x194)],this['type'],[_0x570385],this[_0x2dac91(0x40d)]);return _0x475977['_schedule'](),_0x475977['_updateLocalCache'](),_0x475977;}['onRemoteChangeset'](_0x541875){var _0x51bf14=_0x46a189;if(this['_checkMissing'](_0x541875))return this['_injector'][_0x51bf14(0x10c)](_0x247d18[_0x51bf14(0x249)],this[_0x51bf14(0x194)],this['type'],null,[],null,[_0x541875],this['_handler']);try{const _0x1cea13=this[_0x51bf14(0xb2)][_0x51bf14(0x212)](_0x541875,[_0x4f9634[_0x51bf14(0xf2)]]);if(_0x4f9634[_0x51bf14(0x319)](_0x1cea13)){const {c1Prime:_0x224877}=_0x1cea13;return this[_0x51bf14(0x116)](_0x224877),this;}throw _0x1cea13[_0x51bf14(0x157)];}catch(_0x546284){return this[_0x51bf14(0x235)]['error'](_0x546284),this['_onConflict'](!0x1);}}[_0x46a189(0x3d1)](_0x44df7d){var _0x45dc48=_0x46a189;return this['_injector']['createInstance'](_0x247d18[_0x45dc48(0xbb)],this[_0x45dc48(0x194)],this[_0x45dc48(0xfd)],null,[],this[_0x45dc48(0x40d)],_0x44df7d);}[_0x46a189(0xa4)](){var _0x11f205=_0x46a189;throw new Error(_0x11f205(0x330));}[_0x46a189(0x342)](){var _0x5ebf51=_0x46a189;throw new Error(_0x5ebf51(0x1fd));}['onRemoteRetry'](){return this;}[_0x46a189(0x273)](){var _0x5ad2f8=_0x46a189;return this[_0x5ad2f8(0x3e1)][_0x5ad2f8(0x10c)](_0x247d18['OfflineState'],this[_0x5ad2f8(0x194)],this[_0x5ad2f8(0xfd)],null,[],this['_handler']);}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x56c311=_0x46a189;throw new Error(_0x56c311(0x21e));}['fetchMiss'](){var _0x1ba959=_0x46a189;const _0x1e02b5=this[_0x1ba959(0xdf)][_0x1ba959(0x36d)](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x1e02b5,'to':0x0}),this[_0x1ba959(0x3e1)][_0x1ba959(0x10c)](_0x247d18[_0x1ba959(0x249)],this[_0x1ba959(0x194)],this[_0x1ba959(0xfd)],null,[],null,[],this[_0x1ba959(0x40d)]);}},_0x247d18[_0x46a189(0x37b)]=_0x476bd3([_0x1064ef(0x3,_0x112078['Inject'](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x4,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x5,_0x112078[_0x46a189(0x197)]),_0x1064ef(0x6,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x7,_0x112078[_0x46a189(0xce)]),_0x1064ef(0x8,_0x4f9634['ITransformService']),_0x1064ef(0x9,_0x112078['Optional'](_0x1257cc))],_0x247d18[_0x46a189(0x37b)]),_0x247d18[_0x46a189(0x341)]=class extends _0x1442ea{constructor(_0x4122ca,_0x19ca1d,_0x1b931c,_0x3fcabe,_0x34ecd7,_0x1892fe,_0x555a22,_0x457f05,_0x5c9781,_0x3de0ab,_0x564c0a,_0x6ca685,_0x195264,_0x141903){var _0x4f8955=_0x46a189;super(_0x4122ca,_0x19ca1d,null,_0x1b931c,_0x3fcabe,_0x5c9781,_0x195264,_0x1892fe,_0x141903),_0x25aa6e(this,_0x4f8955(0x111),_0x4f8955(0x2ad)),_0x25aa6e(this,_0x4f8955(0x27c),null),_0x25aa6e(this,_0x4f8955(0x3b3),null),(this[_0x4f8955(0x3e1)]=_0x34ecd7,this[_0x4f8955(0x312)]=_0x555a22,this[_0x4f8955(0x235)]=_0x457f05,this[_0x4f8955(0xad)]=_0x3de0ab,this[_0x4f8955(0xb2)]=_0x564c0a,this['_univerInstanceService']=_0x6ca685);}[_0x46a189(0x359)](_0x1355b5){var _0x518813=_0x46a189;return this['_pendingMutations'][_0x518813(0x139)](_0x1355b5),this[_0x518813(0x23d)](),this;}['onRemoteChangeset'](_0x191d3e){var _0x54b520=_0x46a189;if(this[_0x54b520(0x3ec)](_0x191d3e))return this['_clearScheduledTask'](),this[_0x54b520(0x3e1)][_0x54b520(0x10c)](_0x247d18[_0x54b520(0x249)],this[_0x54b520(0x194)],this[_0x54b520(0xfd)],null,this['_pendingMutations'],null,[_0x191d3e],this[_0x54b520(0x40d)]);try{const _0x587603=this[_0x54b520(0xb2)][_0x54b520(0x212)](_0x191d3e,this[_0x54b520(0xcf)]);if(_0x4f9634['isTransformMutationsWithChangesetSuccess'](_0x587603)){const {c1Prime:_0x3d45cf,m2Prime:_0x11a8ea}=_0x587603;this['_executeRemoteChangeset'](_0x3d45cf);const _0x36e24b=this['_injector']['createInstance'](_0x247d18[_0x54b520(0x341)],this[_0x54b520(0x194)],this['type'],_0x11a8ea,this[_0x54b520(0x40d)]);this[_0x54b520(0x1b4)]();const _0x3d34b5=new Date()[_0x54b520(0x170)](),_0x5cd823=this[_0x54b520(0x27c)]?Math[_0x54b520(0x26d)](this['_scheduleCompleteTimestamp']-_0x3d34b5,0x0):this[_0x54b520(0x211)]();return _0x36e24b[_0x54b520(0x3fd)](_0x5cd823),_0x36e24b;}throw _0x587603[_0x54b520(0x157)];}catch(_0x13e089){return this[_0x54b520(0x235)][_0x54b520(0x157)](_0x13e089),this[_0x54b520(0x3d1)](!0x1);}}[_0x46a189(0xa4)](){var _0x2f8aca=_0x46a189;throw new Error(_0x2f8aca(0x2f0));}['onRemoteRej'](){var _0x4ee18b=_0x46a189;throw new Error(_0x4ee18b(0x253));}['onRemoteRetry'](){return this;}[_0x46a189(0x273)](){var _0xaeb4c6=_0x46a189;return this[_0xaeb4c6(0x1b4)](),this[_0xaeb4c6(0x3e1)][_0xaeb4c6(0x10c)](_0x247d18[_0xaeb4c6(0xff)],this[_0xaeb4c6(0x194)],this['type'],null,this[_0xaeb4c6(0xcf)],this[_0xaeb4c6(0x40d)]);}['toggleOnline'](){return this;}[_0x46a189(0x3fd)](_0x24b9da){var _0x2ce5e2=_0x46a189;const _0x2c79ac=_0x24b9da!=null?_0x24b9da:this['_getSendChangesetTimeout']();this[_0x2ce5e2(0x27c)]=new Date()['getTime']()+_0x2c79ac,this['_sendingTimer']=setTimeout(()=>{var _0x298310=_0x2ce5e2;this[_0x298310(0x1b4)]();let _0x575a68=null;switch(this[_0x298310(0xfd)]){case _0x193e02[_0x298310(0x18b)]:{_0x575a68=_0x20c38c(this[_0x298310(0xcf)],this[_0x298310(0x194)],this[_0x298310(0x3cf)],this[_0x298310(0xdf)],this[_0x298310(0x312)]);break;}case _0x193e02['UNIVER_DOC']:{this[_0x298310(0xcf)][_0x298310(0x3c7)](_0x160882=>_0x160882['id']===_0x171cda['RichTextEditingMutation']['id'])?_0x575a68=_0x4de314(this[_0x298310(0xcf)],this['unitID'],this[_0x298310(0x3cf)],this[_0x298310(0xdf)],this[_0x298310(0x312)]):_0x575a68=_0x20c38c(this[_0x298310(0xcf)],this[_0x298310(0x194)],this['_univerInstanceService'],this[_0x298310(0xdf)],this[_0x298310(0x312)]);break;}default:throw new Error(_0x298310(0x3a2)+this[_0x298310(0xfd)]+_0x298310(0x429));}const {changeset:_0x2228df,pendingMutations:_0x5d509d}=_0x575a68;this['_handler'][_0x298310(0x22e)](_0x2228df);const _0x2f3bd4=_0x5d509d[_0x298310(0x86)]?this[_0x298310(0x3e1)]['createInstance'](_0x247d18['AwaitingWithPendingState'],this[_0x298310(0x194)],this[_0x298310(0xfd)],_0x2228df,_0x5d509d,this[_0x298310(0x40d)],void 0x0):this[_0x298310(0x3e1)][_0x298310(0x10c)](_0x247d18[_0x298310(0x26f)],this[_0x298310(0x194)],this[_0x298310(0xfd)],_0x2228df,this[_0x298310(0x40d)]);_0x2f3bd4[_0x298310(0x23d)](),this['_handler'][_0x298310(0x398)](this,_0x2f3bd4);},_0x2c79ac);}[_0x46a189(0x211)](){var _0x493661=_0x46a189,_0x4c16ee;const _0x3727cb=this[_0x493661(0xad)]['getConfig'](_0x4f0c7a);return(_0x4c16ee=_0x3727cb==null?void 0x0:_0x3727cb[_0x493661(0x203)])!=null?_0x4c16ee:0x7d0;}[_0x46a189(0xb9)](){var _0x1266e1=_0x46a189;throw new Error(_0x1266e1(0x314));}['_clearScheduledTask'](){var _0x36c7f1=_0x46a189;this[_0x36c7f1(0x3b3)]!=null&&(clearTimeout(this[_0x36c7f1(0x3b3)]),this['_sendingTimer']=null);}[_0x46a189(0x3d1)](_0x4d575a){var _0x2142c1=_0x46a189;return this[_0x2142c1(0x1b4)](),this[_0x2142c1(0x3e1)][_0x2142c1(0x10c)](_0x247d18[_0x2142c1(0xbb)],this[_0x2142c1(0x194)],this[_0x2142c1(0xfd)],null,this[_0x2142c1(0xcf)],this['_handler'],_0x4d575a);}},_0x247d18[_0x46a189(0x341)]=_0x476bd3([_0x1064ef(0x4,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x5,_0x112078[_0x46a189(0x11e)](_0x4f9634['RevisionService'])),_0x1064ef(0x6,_0x112078[_0x46a189(0x11e)](_0x247d18[_0x46a189(0x39f)])),_0x1064ef(0x7,_0x112078[_0x46a189(0xce)]),_0x1064ef(0x8,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x22f)]),_0x1064ef(0xa,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0xb,_0x112078['IUniverInstanceService']),_0x1064ef(0xc,_0x112078['IUndoRedoService']),_0x1064ef(0xd,_0x112078['Optional'](_0x1257cc))],_0x247d18[_0x46a189(0x341)]),_0x247d18['AwaitingState']=class extends _0x1442ea{constructor(_0x492b66,_0x29cdc6,_0x4ff168,_0x503d41,_0x315f92,_0x1cad9d,_0x5dda73,_0x1fee45,_0x43770d,_0x21dccc,_0x1b7633){var _0x314ebb=_0x46a189;super(_0x492b66,_0x29cdc6,_0x4ff168,[],_0x503d41,_0x5dda73,_0x21dccc,_0x1cad9d,_0x1b7633),_0x25aa6e(this,_0x314ebb(0x111),_0x314ebb(0x407)),_0x25aa6e(this,_0x314ebb(0xe8),0x0),_0x25aa6e(this,_0x314ebb(0x3ba)),_0x25aa6e(this,_0x314ebb(0x33f)),(this[_0x314ebb(0x3e1)]=_0x315f92,this['_logService']=_0x1fee45,this[_0x314ebb(0xb2)]=_0x43770d);}['appendMutation'](_0x18050c){var _0x8e1a50=_0x46a189;this['_clearScheduledTask']();const _0x48a480=this[_0x8e1a50(0x3e1)][_0x8e1a50(0x10c)](_0x247d18['AwaitingWithPendingState'],this[_0x8e1a50(0x194)],this[_0x8e1a50(0xfd)],this[_0x8e1a50(0x362)],[_0x18050c],this[_0x8e1a50(0x40d)],this[_0x8e1a50(0x3ba)]);return _0x48a480[_0x8e1a50(0x23d)](),_0x48a480;}['onRemoteChangeset'](_0x2bbae6){var _0x18b413=_0x46a189;if(this[_0x18b413(0x3ec)](_0x2bbae6))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x247d18[_0x18b413(0x249)],this[_0x18b413(0x194)],this[_0x18b413(0xfd)],this[_0x18b413(0x362)],[],null,[_0x2bbae6],this[_0x18b413(0x40d)]);try{const _0x489b39=this[_0x18b413(0xb2)][_0x18b413(0x112)]([_0x2bbae6],[this[_0x18b413(0x362)]],!0x1);if(_0x4f9634['isTransformChangesetsSuccess'](_0x489b39)){const {c1Prime:_0x11b0e6,c2Prime:_0x57fd37}=_0x489b39;this['_executeRemoteChangeset'](_0x11b0e6[0x0]),_0x57fd37[0x0]['baseRev']=this[_0x18b413(0x183)](),this[_0x18b413(0x1b4)]();const _0xd7f0ad=this[_0x18b413(0x3e1)][_0x18b413(0x10c)](_0x247d18[_0x18b413(0x26f)],this['unitID'],this[_0x18b413(0xfd)],_0x57fd37[0x0],this['_handler']);return _0xd7f0ad['_updateLocalCache'](),_0xd7f0ad;}return this[_0x18b413(0x3d1)](!0x1);}catch(_0x8a2352){return this['_logService'][_0x18b413(0x157)](_0x8a2352),this[_0x18b413(0x3d1)](!0x1);}}['onRemoteAck'](_0x184b53){var _0x97f4bd=_0x46a189;this['_clearScheduledTask']();const _0x50eb37=this[_0x97f4bd(0xdf)][_0x97f4bd(0x36d)](this[_0x97f4bd(0x194)]);if(_0x184b53[_0x97f4bd(0x22b)]<_0x50eb37-0x1)return this;if(this[_0x97f4bd(0x3ec)](_0x184b53))return this[_0x97f4bd(0x3e1)][_0x97f4bd(0x10c)](_0x247d18[_0x97f4bd(0x249)],this[_0x97f4bd(0x194)],this['type'],null,[],this[_0x97f4bd(0x362)],[],this[_0x97f4bd(0x40d)]);this[_0x97f4bd(0x1e9)]();const _0x4e6c53=this[_0x97f4bd(0x3e1)][_0x97f4bd(0x10c)](_0x247d18['SyncedState'],this['unitID'],this[_0x97f4bd(0xfd)],this[_0x97f4bd(0x40d)]);return _0x4e6c53[_0x97f4bd(0x23d)](),_0x4e6c53;}[_0x46a189(0x342)](_0x3a6192){var _0x20a671=_0x46a189;return this[_0x20a671(0x3d1)](!!(_0x3a6192!=null&&_0x3a6192[_0x20a671(0xb7)]));}[_0x46a189(0x32f)](_0x1fdf7b){var _0x23a844=_0x46a189;return this['_resendTimeout']>_0x42e30a?this[_0x23a844(0x273)]():(this[_0x23a844(0x3ba)]=_0x8f7348(this[_0x23a844(0xe8)],{'timeout':this[_0x23a844(0xe8)],'reqId':_0x1fdf7b[_0x23a844(0x29f)]}),this[_0x23a844(0x33f)]=this[_0x23a844(0x3ba)][_0x23a844(0x153)](({reqId:_0x4ab516,timeout:_0x2d794d})=>{var _0x2a617c=_0x23a844;this[_0x2a617c(0x3fc)](_0x4ab516,_0x2d794d);}),this);}[_0x46a189(0x273)](){var _0x42e0d7=_0x46a189;return this[_0x42e0d7(0x1b4)](),this[_0x42e0d7(0x3e1)][_0x42e0d7(0x10c)](_0x247d18[_0x42e0d7(0xff)],this[_0x42e0d7(0x194)],this[_0x42e0d7(0xfd)],this['_awaitingChangeset'],[],this[_0x42e0d7(0x40d)]);}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x2d51a9=_0x46a189;this[_0x2d51a9(0x40d)][_0x2d51a9(0x22e)](this['_awaitingChangeset']);}['_onConflict'](_0x2e9c97){var _0x3bf08f=_0x46a189;return this[_0x3bf08f(0x1b4)](),this[_0x3bf08f(0x3e1)]['createInstance'](_0x247d18['ConflictState'],this[_0x3bf08f(0x194)],this[_0x3bf08f(0xfd)],this[_0x3bf08f(0x362)],[],this[_0x3bf08f(0x40d)],_0x2e9c97);}['_resendWithTimeout'](_0x48e11e,_0x99b7b4){var _0x519647=_0x46a189,_0x5e602b;_0x48e11e===((_0x5e602b=this[_0x519647(0x362)])==null?void 0x0:_0x5e602b['reqId'])&&(this[_0x519647(0xb9)](),this['_resendTimeout']=_0x99b7b4===0x0?0x3e8:_0x99b7b4*0x2);}['_clearScheduledTask'](){var _0x5090ba=_0x46a189,_0xd6aeb9;(_0xd6aeb9=this['_sender'])==null||_0xd6aeb9[_0x5090ba(0x2d7)](),this[_0x5090ba(0xe8)]=0x0;}},_0x247d18['AwaitingState']=_0x476bd3([_0x1064ef(0x4,_0x112078['Inject'](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x5,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x6,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x7,_0x112078[_0x46a189(0xce)]),_0x1064ef(0x8,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x197)]),_0x1064ef(0xa,_0x112078['Optional'](_0x1257cc))],_0x247d18[_0x46a189(0x26f)]),_0x247d18[_0x46a189(0x1fc)]=class extends _0x1442ea{constructor(_0x309fd0,_0x5bebbe,_0x4345e9,_0x3dfe20,_0x2a869a,_0x127df5,_0xeefc8e,_0x476542,_0x144a99,_0x2115ce,_0x505f1c,_0x38d4e0,_0x1038c3){var _0x214c35=_0x46a189;super(_0x309fd0,_0x5bebbe,_0x4345e9,_0x3dfe20,_0x2a869a,_0x144a99,_0x38d4e0,_0x476542,_0x1038c3),_0x25aa6e(this,_0x214c35(0x111),'awaiting_with_pending'),_0x25aa6e(this,'_resendTimeout',0x0),_0x25aa6e(this,_0x214c35(0x3ba)),_0x25aa6e(this,'_sender'),(this['_injector']=_0xeefc8e,this[_0x214c35(0x235)]=_0x2115ce,this[_0x214c35(0xb2)]=_0x505f1c,this['localCacheService']=_0x1038c3,_0x127df5&&(this['_resendTimer']=_0x127df5,this[_0x214c35(0x33f)]=this[_0x214c35(0x3ba)][_0x214c35(0x153)](({reqId:_0x15540b,timeout:_0x539347})=>{var _0x237706=_0x214c35;this[_0x237706(0x3fc)](_0x15540b,_0x539347);})));}[_0x46a189(0x359)](_0x398e77){var _0x4e9b98=_0x46a189;return this[_0x4e9b98(0xcf)][_0x4e9b98(0x139)](_0x398e77),this;}[_0x46a189(0x350)](_0x33cdd){var _0x3f5376=_0x46a189;if(this[_0x3f5376(0x3ec)](_0x33cdd))return this[_0x3f5376(0x1b4)](),this['_injector'][_0x3f5376(0x10c)](_0x247d18[_0x3f5376(0x249)],this[_0x3f5376(0x194)],this[_0x3f5376(0xfd)],this[_0x3f5376(0x362)],this[_0x3f5376(0xcf)],null,[_0x33cdd],this[_0x3f5376(0x40d)]);try{const _0x13f0be=this['_transformService'][_0x3f5376(0x112)]([_0x33cdd],[this['_awaitingChangeset']],!0x1);if(_0x4f9634[_0x3f5376(0x16a)](_0x13f0be)){const {c1Prime:_0x302da5,c2Prime:_0x1465f3}=_0x13f0be,_0x52a157=this['_transformService']['transformMutationsWithChangeset'](_0x302da5[0x0],this[_0x3f5376(0xcf)]);if(_0x4f9634[_0x3f5376(0x319)](_0x52a157)){const {c1Prime:_0x30fba4,m2Prime:_0x9a34be}=_0x52a157;return this[_0x3f5376(0x116)](_0x30fba4),_0x1465f3[0x0][_0x3f5376(0x174)]=this[_0x3f5376(0x183)](),this[_0x3f5376(0x1b4)](),this['_injector'][_0x3f5376(0x10c)](_0x247d18[_0x3f5376(0x1fc)],this['unitID'],this['type'],_0x1465f3[0x0],_0x9a34be,this[_0x3f5376(0x40d)],void 0x0);}throw _0x52a157[_0x3f5376(0x157)];}throw _0x13f0be[_0x3f5376(0x157)];}catch(_0x1c2fbc){return this['_logService'][_0x3f5376(0x157)](_0x1c2fbc),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x589d0b){var _0x23ccb3=_0x46a189;if(this[_0x23ccb3(0x1b4)](),this['_checkMissing'](_0x589d0b))return this[_0x23ccb3(0x3e1)][_0x23ccb3(0x10c)](_0x247d18[_0x23ccb3(0x249)],this['unitID'],this[_0x23ccb3(0xfd)],null,this[_0x23ccb3(0xcf)],this[_0x23ccb3(0x362)],[],this[_0x23ccb3(0x40d)]);this['_incrementRevisionNumber']();const _0x52d3a1=this[_0x23ccb3(0x3e1)][_0x23ccb3(0x10c)](_0x247d18[_0x23ccb3(0x341)],this['unitID'],this[_0x23ccb3(0xfd)],this[_0x23ccb3(0xcf)],this[_0x23ccb3(0x40d)]);return _0x52d3a1[_0x23ccb3(0x3fd)](),_0x52d3a1[_0x23ccb3(0x23d)](),_0x52d3a1;}[_0x46a189(0x342)](_0x4fda86){var _0x16b85d=_0x46a189;return this[_0x16b85d(0x3d1)](!!(_0x4fda86!=null&&_0x4fda86[_0x16b85d(0xb7)]));}['onRemoteRetry'](_0x3da459){var _0x24601e=_0x46a189;return this[_0x24601e(0xe8)]>_0x42e30a?this[_0x24601e(0x273)]():(this[_0x24601e(0x3ba)]=_0x8f7348(this[_0x24601e(0xe8)],{'timeout':this[_0x24601e(0xe8)],'reqId':_0x3da459[_0x24601e(0x29f)]}),this[_0x24601e(0x33f)]=this[_0x24601e(0x3ba)][_0x24601e(0x153)](({reqId:_0x43f786,timeout:_0x265f15})=>{var _0x3bc793=_0x24601e;this[_0x3bc793(0x3fc)](_0x43f786,_0x265f15);}),this);}['toggleOffline'](){var _0x1b664c=_0x46a189;return this[_0x1b664c(0x1b4)](),this['_injector'][_0x1b664c(0x10c)](_0x247d18[_0x1b664c(0xff)],this[_0x1b664c(0x194)],this['type'],this[_0x1b664c(0x362)],this[_0x1b664c(0xcf)],this[_0x1b664c(0x40d)]);}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x38810c=_0x46a189;this['_handler'][_0x38810c(0x22e)](this[_0x38810c(0x362)]);}[_0x46a189(0x3d1)](_0x8e067){var _0x517a72=_0x46a189;return this['_clearScheduledTask'](),this[_0x517a72(0x3e1)][_0x517a72(0x10c)](_0x247d18[_0x517a72(0xbb)],this[_0x517a72(0x194)],this['type'],null,this[_0x517a72(0xcf)],this[_0x517a72(0x40d)],_0x8e067);}['_resendWithTimeout'](_0x4bcdb6,_0x18db0e){var _0x10ea87=_0x46a189,_0x38bf53;_0x4bcdb6===((_0x38bf53=this[_0x10ea87(0x362)])==null?void 0x0:_0x38bf53['reqId'])&&(this[_0x10ea87(0xb9)](),this[_0x10ea87(0xe8)]=_0x18db0e===0x0?0x3e8:_0x18db0e*0x2);}['_clearScheduledTask'](){var _0x34296b=_0x46a189,_0x3ed64d;(_0x3ed64d=this[_0x34296b(0x33f)])==null||_0x3ed64d['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x247d18[_0x46a189(0x1fc)]=_0x476bd3([_0x1064ef(0x6,_0x112078['Inject'](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x7,_0x112078[_0x46a189(0x11e)](_0x4f9634['RevisionService'])),_0x1064ef(0x8,_0x112078['ICommandService']),_0x1064ef(0x9,_0x112078[_0x46a189(0xce)]),_0x1064ef(0xa,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0xb,_0x112078[_0x46a189(0x197)]),_0x1064ef(0xc,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x1fc)]),_0x247d18[_0x46a189(0xbb)]=class extends _0x1442ea{constructor(_0x452086,_0x445b97,_0x2390d0,_0x2e7721,_0x34136d,_0x48c79c=!0x1,_0x56fdac,_0x1c9306,_0xd03f58,_0x46983f,_0x940f55,_0x1a9906,_0x5462d1){var _0x2cdac0=_0x46a189;super(_0x452086,_0x445b97,_0x2390d0,_0x2e7721,_0x34136d,_0x1c9306,_0xd03f58,_0x46983f,_0x5462d1),_0x25aa6e(this,_0x2cdac0(0x111),'conflict'),(this['_isPermissionRej']=_0x48c79c,this[_0x2cdac0(0x30f)]=_0x56fdac,this[_0x2cdac0(0x11a)]=_0x940f55,this['_collaborationUIEventService']=_0x1a9906,this[_0x2cdac0(0x2f7)]=_0x5462d1,this[_0x2cdac0(0x232)](),this[_0x2cdac0(0x41d)](),this[_0x2cdac0(0xa2)]());}[_0x46a189(0x359)](){return this;}['onRemoteChangeset'](){return this;}[_0x46a189(0xa4)](){return this;}['onRemoteRej'](){return this;}[_0x46a189(0x32f)](){return this;}[_0x46a189(0x273)](){return this;}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x2ea67b=_0x46a189;throw new Error(_0x2ea67b(0x2e2));}[_0x46a189(0x41d)](){var _0x14183b=_0x46a189,_0x58ba2d;(_0x58ba2d=this['_localCacheService'])==null||_0x58ba2d[_0x14183b(0x2dd)](this[_0x14183b(0x194)],this['type'],null,[]);}[_0x46a189(0x232)](){var _0x413b8b=_0x46a189;this[_0x413b8b(0x2d5)]?this[_0x413b8b(0x281)]['emitEvent']({'id':_0xee750e[_0x413b8b(0x192)]}):this[_0x413b8b(0x281)][_0x413b8b(0xe5)]({'id':_0xee750e[_0x413b8b(0x2ce)]});}[_0x46a189(0xa2)](){var _0x3b7669=_0x46a189;this[_0x3b7669(0x30f)][_0x3b7669(0x1c0)](new _0x44a4a2['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},_0x247d18[_0x46a189(0xbb)]=_0x476bd3([_0x1064ef(0x6,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x2e4)])),_0x1064ef(0x7,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x8,_0x112078[_0x46a189(0x197)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0xa,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)])),_0x1064ef(0xb,_0x112078['Inject'](_0x12b7ba)),_0x1064ef(0xc,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18['ConflictState']),_0x247d18[_0x46a189(0xff)]=class extends _0x1442ea{constructor(_0xe0342a,_0x1f7ab6,_0x29b8a8,_0x1f68a2,_0x205121,_0x1085d2,_0x45290d,_0x321d1a,_0x53c8bf,_0x59a920){var _0x1ec399=_0x46a189;super(_0xe0342a,_0x1f7ab6,_0x29b8a8,_0x1f68a2,_0x205121,_0x321d1a,_0x53c8bf,_0x45290d,_0x59a920),_0x25aa6e(this,'status',_0x1ec399(0x121)),this['_injector']=_0x1085d2;}['appendMutation'](_0x1574cc){var _0x2defeb=_0x46a189;return this['_pendingMutations'][_0x2defeb(0x139)](_0x1574cc),this[_0x2defeb(0x23d)](),this;}[_0x46a189(0x350)](_0xaff2b1){var _0x42781d=_0x46a189;throw new Error(_0x42781d(0x185));}[_0x46a189(0xa4)](){var _0x5cb1ca=_0x46a189;throw new Error(_0x5cb1ca(0x2d1));}[_0x46a189(0x342)](){var _0x3a4134=_0x46a189;throw new Error(_0x3a4134(0x402));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x46a189(0x3e8)](){var _0x1a577f=_0x46a189;const {_injector:_0x215638,_pendingMutations:_0x2f529b,_awaitingChangeset:_0x4643b0,unitID:_0x5b1e14,_handler:_0x198e81,type:_0x330baa}=this,_0x2876b4=_0x43dba4(_0x215638,_0x5b1e14,_0x330baa,_0x4643b0,_0x2f529b,_0x198e81);return _0x2876b4 instanceof _0x247d18['PendingState']?_0x2876b4[_0x1a577f(0x3fd)]():(_0x2876b4 instanceof _0x247d18[_0x1a577f(0x1fc)]||_0x2876b4 instanceof _0x247d18[_0x1a577f(0x26f)])&&_0x2876b4[_0x1a577f(0xb9)](),_0x2876b4;}[_0x46a189(0xb9)](){var _0x31ce57=_0x46a189;throw new Error(_0x31ce57(0x149));}},_0x247d18[_0x46a189(0xff)]=_0x476bd3([_0x1064ef(0x5,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x6,_0x112078['Inject'](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x7,_0x112078['ICommandService']),_0x1064ef(0x8,_0x112078[_0x46a189(0x197)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0xff)]),_0x247d18[_0x46a189(0x249)]=class extends _0x1442ea{constructor(_0x34b05c,_0x5681a1,_0x2948dc,_0x4c008a,_0x2de0e3,_0x5da276,_0x20aaac,_0xc5ecd1,_0xc9a751,_0x1f303f,_0x19fa9f,_0x37010b,_0x56de84,_0x481533){var _0x5e84b5=_0x46a189;super(_0x34b05c,_0x5681a1,_0x2948dc,_0x4c008a,_0x20aaac,_0x19fa9f,_0x37010b,_0xc9a751,_0x481533),_0x25aa6e(this,'status',_0x5e84b5(0x90)),(this[_0x5e84b5(0x3e2)]=_0x2de0e3,this[_0x5e84b5(0x1b2)]=_0x5da276,this['_injector']=_0xc5ecd1,this[_0x5e84b5(0x235)]=_0x1f303f,this['_transformService']=_0x56de84,this[_0x5e84b5(0x2f7)]=_0x481533);}[_0x46a189(0x1a5)](_0x4a3019){var _0x4e8158=_0x46a189;try{const _0x313009=[..._0x4a3019,...this[_0x4e8158(0x1b2)]],_0x1eaa1d=[this[_0x4e8158(0x362)]||this[_0x4e8158(0x3e2)]]['filter'](_0x3b9481=>!!_0x3b9481);let _0x5e8979,_0x9a4888;if(_0x1eaa1d[_0x4e8158(0x86)]){const _0x5965b8=this[_0x4e8158(0xb2)][_0x4e8158(0x112)](_0x313009,_0x1eaa1d,!0x1);if(!_0x4f9634[_0x4e8158(0x16a)](_0x5965b8))throw _0x5965b8['error'];_0x5e8979=_0x5965b8['c1Prime'],_0x9a4888=_0x5965b8[_0x4e8158(0x108)];}else _0x5e8979=_0x313009,_0x9a4888=[];let _0x20edfb=this[_0x4e8158(0xcf)];_0x5e8979[_0x4e8158(0x2f6)](_0xb9dd83=>{var _0x140d68=_0x4e8158;let _0x216e97;if(_0x20edfb[_0x140d68(0x86)]){const _0x1f1f5a=this['_transformService']['transformMutationsWithChangeset'](_0xb9dd83,_0x20edfb);if(!_0x4f9634['isTransformMutationsWithChangesetSuccess'](_0x1f1f5a))throw _0x1f1f5a['error'];_0x216e97=_0x1f1f5a[_0x140d68(0x23f)],_0x20edfb=_0x1f1f5a[_0x140d68(0x1d9)];}else _0x216e97=_0xb9dd83;this['_executeRemoteChangeset'](_0x216e97);}),this[_0x4e8158(0x3e2)]&&this['_incrementRevisionNumber'](),this[_0x4e8158(0x362)]&&_0x9a4888[_0x4e8158(0x86)]&&(_0x9a4888[0x0][_0x4e8158(0x174)]=this[_0x4e8158(0x183)]());let _0x1048f1;if(this[_0x4e8158(0x362)]&&_0x20edfb[_0x4e8158(0x86)]!==0x0)_0x1048f1=this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0x1fc)],this[_0x4e8158(0x194)],this[_0x4e8158(0xfd)],_0x9a4888[0x0],_0x20edfb,this[_0x4e8158(0x40d)],void 0x0);else{if(this[_0x4e8158(0x362)]&&_0x20edfb['length']===0x0)_0x9a4888[0x0]['baseRev']=this[_0x4e8158(0x183)](),_0x1048f1=this['_injector'][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0x26f)],this['unitID'],this[_0x4e8158(0xfd)],_0x9a4888[0x0],this[_0x4e8158(0x40d)]);else{if(_0x20edfb['length']!==0x0){const _0x1161e3=this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18['PendingState'],this[_0x4e8158(0x194)],this[_0x4e8158(0xfd)],_0x20edfb,this[_0x4e8158(0x40d)]);_0x1161e3[_0x4e8158(0x3fd)](),_0x1048f1=_0x1161e3;}else _0x1048f1=this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0x37b)],this[_0x4e8158(0x194)],this[_0x4e8158(0xfd)],this['_handler']);}}return _0x1048f1[_0x4e8158(0x23d)](),_0x1048f1;}catch(_0xba8702){return this[_0x4e8158(0x235)]['error'](_0x4e8158(0x231),_0x4e8158(0x230),_0xba8702),this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0xbb)],this['unitID'],this[_0x4e8158(0xfd)],this[_0x4e8158(0x362)],this[_0x4e8158(0xcf)],this[_0x4e8158(0x40d)],!0x1);}}[_0x46a189(0xb9)](){var _0x511eda=_0x46a189;throw new Error(_0x511eda(0xfc));}['appendMutation'](_0x2fd673){var _0x5c1a87=_0x46a189;return this['_pendingMutations'][_0x5c1a87(0x139)](_0x2fd673),this;}[_0x46a189(0x350)](_0xec5058){var _0x30a127=_0x46a189;return this[_0x30a127(0x1b2)][_0x30a127(0x139)](_0xec5058),this;}[_0x46a189(0xa4)](_0x8da4de){var _0x3c46fa=_0x46a189;if(this[_0x3c46fa(0x362)])return this[_0x3c46fa(0x3e2)]=this[_0x3c46fa(0x362)],this['_awaitingChangeset']=null,this;throw new Error(_0x3c46fa(0x294));}[_0x46a189(0x342)](_0x50b19d){var _0x2b799c=_0x46a189;return this['_onConflict'](!!(_0x50b19d!=null&&_0x50b19d[_0x2b799c(0xb7)]));}[_0x46a189(0x32f)](){return this;}[_0x46a189(0x273)](){var _0x2c1367=_0x46a189;return this[_0x2c1367(0x3e1)]['createInstance'](_0x247d18[_0x2c1367(0xff)],this[_0x2c1367(0x194)],this[_0x2c1367(0xfd)],this['_awaitingChangeset'],this[_0x2c1367(0xcf)],this[_0x2c1367(0x40d)]);}[_0x46a189(0x3e8)](){return this;}['_onConflict'](_0x4f5a81){var _0x50b6cf=_0x46a189;return this[_0x50b6cf(0x3e1)][_0x50b6cf(0x10c)](_0x247d18[_0x50b6cf(0xbb)],this['unitID'],this[_0x50b6cf(0xfd)],this[_0x50b6cf(0x362)],this[_0x50b6cf(0xcf)],this['_handler'],_0x4f5a81);}},_0x247d18['FetchingMissState']=_0x476bd3([_0x1064ef(0x7,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x8,_0x112078['Inject'](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x9,_0x112078[_0x46a189(0xce)]),_0x1064ef(0xa,_0x112078['ICommandService']),_0x1064ef(0xb,_0x112078['IUndoRedoService']),_0x1064ef(0xc,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0xd,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x249)]);function _0x43dba4(_0x19f7c5,_0x347c81,_0x33cd0b,_0x134c46,_0x131a52,_0x33e7c8){var _0x2e0447=_0x46a189;return _0x134c46&&_0x131a52[_0x2e0447(0x86)]?_0x19f7c5[_0x2e0447(0x10c)](_0x247d18[_0x2e0447(0x1fc)],_0x347c81,_0x33cd0b,_0x134c46,_0x131a52,_0x33e7c8,void 0x0):_0x134c46?_0x19f7c5[_0x2e0447(0x10c)](_0x247d18[_0x2e0447(0x26f)],_0x347c81,_0x33cd0b,_0x134c46,_0x33e7c8):_0x131a52[_0x2e0447(0x86)]?_0x19f7c5['createInstance'](_0x247d18['PendingState'],_0x347c81,_0x33cd0b,_0x131a52,_0x33e7c8):_0x19f7c5[_0x2e0447(0x10c)](_0x247d18['SyncedState'],_0x347c81,_0x33cd0b,_0x33e7c8);}var _0x1ecd97=Object[_0x46a189(0x1d1)],_0x6fafde=(_0x522f63,_0x1530bb,_0x18eb0f,_0x4bd28e)=>{var _0x56993a=_0x46a189;for(var _0x10faf9=_0x4bd28e>0x1?void 0x0:_0x4bd28e?_0x1ecd97(_0x1530bb,_0x18eb0f):_0x1530bb,_0x450808=_0x522f63[_0x56993a(0x86)]-0x1,_0x32c5a2;_0x450808>=0x0;_0x450808--)(_0x32c5a2=_0x522f63[_0x450808])&&(_0x10faf9=_0x32c5a2(_0x10faf9)||_0x10faf9);return _0x10faf9;},_0x3290fe=(_0x39b6fa,_0x3ea48d)=>(_0x4c7c5e,_0x543f78)=>_0x3ea48d(_0x4c7c5e,_0x543f78,_0x39b6fa);_0x247d18[_0x46a189(0x11b)]=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x16f116,_0x36e33b,_0x55986d,_0x3b0c5e,_0x150441,_0x10162a,_0x3555c3,_0x47f9ef,_0x326ef6,_0x36eeec,_0x3c052b,_0x171318,_0x450070,_0x3a82f2){var _0x12980b=_0x46a189;super(),_0x25aa6e(this,'_state$',new _0x1909d3['BehaviorSubject'](null)),_0x25aa6e(this,'state$',this[_0x12980b(0x1ba)][_0x12980b(0x2d0)]()),_0x25aa6e(this,_0x12980b(0x309)),_0x25aa6e(this,_0x12980b(0x2fc),!0x1),_0x25aa6e(this,'_changesetSessionId',''),_0x25aa6e(this,_0x12980b(0x2ef),0x0),_0x25aa6e(this,_0x12980b(0x3da),this[_0x12980b(0x95)]['pipe'](_0x1909d3[_0x12980b(0xb5)](_0x476aba=>_0x476aba?_0x476aba[_0x12980b(0x111)]:_0x41e9c8[_0x12980b(0x301)]),_0x1909d3[_0x12980b(0x160)](0x1))),_0x25aa6e(this,_0x12980b(0x209),!0x1),_0x25aa6e(this,_0x12980b(0x177),[]),(this[_0x12980b(0x194)]=_0x16f116,this[_0x12980b(0x2b9)]=_0x36e33b,this[_0x12980b(0x31b)]=_0x55986d,this['_injector']=_0x3b0c5e,this['_compressMutationService']=_0x150441,this['_localeService']=_0x10162a,this[_0x12980b(0xdf)]=_0x3555c3,this[_0x12980b(0x381)]=_0x47f9ef,this[_0x12980b(0x3cf)]=_0x326ef6,this[_0x12980b(0x235)]=_0x36eeec,this['_commandService']=_0x3c052b,this['_permissionService']=_0x171318,this['_singleActiveUnitService']=_0x450070,this[_0x12980b(0x11d)]=_0x3a82f2);}get[_0x46a189(0xfe)](){var _0x1cfcb8=_0x46a189;return this[_0x1cfcb8(0x309)];}async[_0x46a189(0x225)](){var _0x212e19=_0x46a189;if(this[_0x212e19(0xfe)])throw new Error(_0x212e19(0x412));await this[_0x212e19(0xc3)]();}['pauseCollaboration'](){var _0x54b5bd=_0x46a189;return this[_0x54b5bd(0x2fc)]=!0x0,_0x112078[_0x54b5bd(0x186)](()=>{var _0x381e25=_0x54b5bd;this['_collaborationPaused']=!0x1,this[_0x381e25(0x104)]();});}['onLocalMutation'](_0x39e184){var _0x10d38a=_0x46a189;this[_0x10d38a(0x382)](_0x39e184);}[_0x46a189(0xb6)](_0x3c0fd4){var _0x3ff702=_0x46a189;this[_0x3ff702(0x309)]=_0x3c0fd4,this[_0x3ff702(0x1ba)][_0x3ff702(0x28a)](_0x3c0fd4);}async[_0x46a189(0xc3)](){var _0x37e64d=_0x46a189,_0x444113;this[_0x37e64d(0xb6)](await this[_0x37e64d(0x1c4)]()),this[_0x37e64d(0x1ed)]&&((_0x444113=this[_0x37e64d(0x1ed)])==null||_0x444113[_0x37e64d(0x218)](this[_0x37e64d(0x194)]),this[_0x37e64d(0x13a)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x37e64d(0x194)])[_0x37e64d(0x153)](_0x380456=>{var _0x10de85=_0x37e64d;this['_logService'][_0x10de85(0x366)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x380456),_0x380456===_0xaf572f[_0x10de85(0x14e)]?(this[_0x10de85(0x381)][_0x10de85(0xe5)]({'id':_0xee750e['OTHER_CLIENT_EDITING']}),this[_0x10de85(0x30f)][_0x10de85(0x1c0)](new _0x44a4a2[(_0x10de85(0x377))](this[_0x10de85(0x194)])['id'],!0x1),this[_0x10de85(0x30f)][_0x10de85(0x39a)](!0x1)):(this[_0x10de85(0x30f)][_0x10de85(0x1c0)](new _0x44a4a2[(_0x10de85(0x377))](this[_0x10de85(0x194)])['id'],!0x0),this[_0x10de85(0x30f)][_0x10de85(0x39a)](!0x0));})));let _0x2006c0=!0x1;return this[_0x37e64d(0x13a)](this[_0x37e64d(0x2b9)][_0x37e64d(0x1f2)][_0x37e64d(0x153)](_0x1dc9b7=>{var _0x22196c=_0x37e64d;_0x1dc9b7===_0x4f1434['ONLINE']?this['_toggleOnline'](_0x2006c0):_0x1dc9b7===_0x4f1434['OFFLINE']&&(_0x2006c0=!0x0,this[_0x22196c(0x1bd)]());})),this[_0x37e64d(0x13a)](this[_0x37e64d(0x2b9)][_0x37e64d(0xd4)][_0x37e64d(0x153)](_0x1c8d0a=>{var _0xaf258f=_0x37e64d;try{switch(_0x1c8d0a[_0xaf258f(0x3df)]){case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x154)]:{this[_0xaf258f(0x367)](_0x4f9634[_0xaf258f(0x1a6)](_0x1c8d0a[_0xaf258f(0x3f5)]));break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x3db)]:{this[_0xaf258f(0x22d)](_0x1c8d0a[_0xaf258f(0x3f5)]);break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x3d3)]:{this[_0xaf258f(0x200)]();break;}case _0x4f9634['CollaborationEvent'][_0xaf258f(0x239)]:{this[_0xaf258f(0x148)](_0x1c8d0a['data']);break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x422)]:{this[_0xaf258f(0xcc)](_0x1c8d0a['data'][_0xaf258f(0x344)][_0xaf258f(0xb5)](_0x464d49=>_0x4f9634['parseProtocolChangeset'](_0x464d49)));break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x286)]:{this[_0xaf258f(0x200)]({'isPermissionRej':!0x0});break;}case _0x4f9634['CollaborationEvent'][_0xaf258f(0x125)]:break;}}catch(_0x10f3be){throw console[_0xaf258f(0x157)](_0xaf258f(0x379),_0x10f3be),_0x10f3be;}})),this[_0x37e64d(0x309)];}[_0x46a189(0x39e)](){var _0x4b0dc1=_0x46a189;this[_0x4b0dc1(0x209)]=!0x1;}[_0x46a189(0x3fe)](){var _0x2f610a=_0x46a189;if(this[_0x2f610a(0x209)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x2f610a(0x209)]=!0x0;}['_onLocalMutation'](_0x47916d){var _0x4b700e=_0x46a189;this[_0x4b700e(0x3fe)](),this[_0x4b700e(0xb6)](this[_0x4b700e(0x309)][_0x4b700e(0x359)](_0x47916d)),this[_0x4b700e(0x39e)]();}[_0x46a189(0x367)](_0x572fba){var _0x239562=_0x46a189;if(!(_0x572fba[_0x239562(0x22b)]<=this[_0x239562(0xdf)][_0x239562(0x36d)](this[_0x239562(0x194)]))){if(this[_0x239562(0x2fc)]){this[_0x239562(0x177)][_0x239562(0x139)](_0x572fba);return;}this[_0x239562(0x3ab)](_0x572fba);}}['_exhaustRemoteChangesetQueue'](){var _0x1545b6=_0x46a189;this[_0x1545b6(0x177)][_0x1545b6(0x2f6)](_0x210d43=>this[_0x1545b6(0x3ab)](_0x210d43)),this[_0x1545b6(0x177)]=[];}[_0x46a189(0x3ab)](_0x13d800){var _0x5573c6=_0x46a189;const _0x5d433b=this[_0x5573c6(0x20c)][_0x5573c6(0x35f)][_0x5573c6(0x12e)](this['_compressMutationService']['interceptor'][_0x5573c6(0x2da)]()[_0x5573c6(0x3c2)])(_0x13d800[_0x5573c6(0x1af)],null)||_0x13d800[_0x5573c6(0x1af)],_0x4cd3bc={..._0x13d800,'mutations':_0x5d433b};this[_0x5573c6(0x3fe)](),this[_0x5573c6(0xb6)](this['_state'][_0x5573c6(0x350)](_0x4cd3bc)),this[_0x5573c6(0x39e)]();}[_0x46a189(0x22d)](_0x4f41bd){var _0x110b15=_0x46a189;this[_0x110b15(0x3fe)](),this['_updateState'](this[_0x110b15(0x309)]['onRemoteAck'](_0x4f41bd)),this['_unlockTransition']();}['_onRemoteRejected'](_0x1dbd52){var _0x157bbb=_0x46a189;this[_0x157bbb(0x3fe)](),this['_updateState'](this[_0x157bbb(0x309)][_0x157bbb(0x342)](_0x1dbd52)),this['_unlockTransition']();}[_0x46a189(0x148)](_0x4d1aa1){var _0x47b50a=_0x46a189;this['_lockTransition'](),this[_0x47b50a(0xb6)](this[_0x47b50a(0x309)]['onRemoteRetry'](_0x4d1aa1)),this['_unlockTransition']();}[_0x46a189(0xcc)](_0x431f4c){var _0x5d9a9b=_0x46a189;if(!(this['_state']instanceof _0x247d18['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xd4b78=_0x431f4c[_0x5d9a9b(0xb5)](_0x1147b2=>{var _0x36d576=_0x5d9a9b;const _0x513ca7=this[_0x36d576(0x20c)][_0x36d576(0x35f)][_0x36d576(0x12e)](this['_compressMutationService'][_0x36d576(0x35f)]['getInterceptPoints']()[_0x36d576(0x3c2)])(_0x1147b2['mutations'],null)||_0x1147b2['mutations'];return{..._0x1147b2,'mutations':_0x513ca7};});this[_0x5d9a9b(0x3fe)](),this[_0x5d9a9b(0xb6)](this[_0x5d9a9b(0x309)][_0x5d9a9b(0x1a5)](_0xd4b78)),this[_0x5d9a9b(0x39e)]();}[_0x46a189(0x1bd)](){var _0x4f41a8=_0x46a189;this[_0x4f41a8(0x3fe)](),this[_0x4f41a8(0xb6)](this[_0x4f41a8(0x309)][_0x4f41a8(0x273)]()),this[_0x4f41a8(0x39e)]();}[_0x46a189(0x3e3)](_0x3a15a1=!0x1){var _0x26ba61=_0x46a189;this[_0x26ba61(0x3fe)](),this['_updateState'](this[_0x26ba61(0x309)][_0x26ba61(0x3e8)]()),this['_unlockTransition']();const _0x506c95=this[_0x26ba61(0x309)];_0x3a15a1&&_0x506c95 instanceof _0x247d18[_0x26ba61(0x37b)]&&(this[_0x26ba61(0x3fe)](),this['_updateState'](_0x506c95['fetchMiss']()),this[_0x26ba61(0x39e)]());}async[_0x46a189(0x1c4)](){return new Promise(_0x28ebf8=>{var _0x3d759c=_0x532f;this[_0x3d759c(0x2b9)]['sessionStatus$'][_0x3d759c(0x41a)](_0x1909d3[_0x3d759c(0x348)](0x1))['subscribe'](async _0xcf26f5=>{var _0x3ddd64=_0x3d759c;_0x28ebf8(await this['_createInitialStateImpl'](_0xcf26f5===_0x4f1434[_0x3ddd64(0x252)]));});});}['_createHandler'](){var _0x283fff=_0x46a189;const _0x1dcad4=this[_0x283fff(0x194)];return{'onStateChange':(_0xd951c3,_0x1d90f2)=>{var _0x4711a4=_0x283fff;if(_0xd951c3!==this[_0x4711a4(0x309)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xd951c3['status']+_0x4711a4(0x2ea)+_0x1d90f2[_0x4711a4(0x111)]+_0x4711a4(0x22c)+this[_0x4711a4(0x309)][_0x4711a4(0x111)]);this[_0x4711a4(0xb6)](_0x1d90f2);},'onSendChangeset':_0x3691a2=>{var _0x421f77=_0x283fff;_0x3691a2[_0x421f77(0x2cb)]||(_0x3691a2['sid']=this[_0x421f77(0xaf)],_0x3691a2[_0x421f77(0x29f)]=++this[_0x421f77(0x2ef)]);const _0x587db2={'eventID':_0x4f9634[_0x421f77(0x3f4)][_0x421f77(0x3f3)],'data':{'unitID':_0x3691a2[_0x421f77(0x194)],'unitType':this[_0x421f77(0x31b)],'changeset':_0x3691a2,'memberID':this[_0x421f77(0x2b9)][_0x421f77(0x25a)]()}};this['session'][_0x421f77(0x2fa)](_0x587db2,this[_0x421f77(0x194)]);},'onMissingChangesets':({from:_0x282d96,to:_0x79b22c})=>{var _0x2c6009=_0x283fff;this[_0x2c6009(0x235)][_0x2c6009(0x366)]('[CollaborationEntity]',_0x2c6009(0x36a)+_0x282d96+'\x20to\x20'+_0x79b22c);const _0x4257dc={'eventID':_0x4f9634['CollaborationEvent'][_0x2c6009(0x1b9)],'data':{'unitID':_0x1dcad4,'unitType':this[_0x2c6009(0x31b)],'from':_0x282d96,'to':_0x79b22c}};this[_0x2c6009(0x2b9)]['send'](_0x4257dc,this[_0x2c6009(0x194)]);}};}async[_0x46a189(0x23a)](_0x445883){var _0x54c873=_0x46a189,_0x106b8c,_0x32bfcb,_0x29ac10;const _0x5bc15a=await((_0x106b8c=this[_0x54c873(0x11d)])==null?void 0x0:_0x106b8c[_0x54c873(0x215)](this[_0x54c873(0x194)])),_0x31d820=(_0x32bfcb=_0x5bc15a==null?void 0x0:_0x5bc15a[_0x54c873(0x1af)])!=null?_0x32bfcb:[],_0x7cd963=(_0x29ac10=_0x5bc15a==null?void 0x0:_0x5bc15a['awaitingChangeset'])!=null?_0x29ac10:null,_0x3990a6=!!(_0x7cd963!=null&&_0x7cd963[_0x54c873(0x2cb)])&&!!(_0x7cd963!=null&&_0x7cd963[_0x54c873(0x29f)]);this[_0x54c873(0xaf)]=_0x3990a6?_0x7cd963[_0x54c873(0x2cb)]:_0x4f9634[_0x54c873(0x414)](),this[_0x54c873(0x2ef)]=_0x3990a6?_0x7cd963[_0x54c873(0x29f)]:0x0;const _0x1fd5b2=this[_0x54c873(0x194)];try{this[_0x54c873(0x8b)](_0x7cd963,_0x31d820);}catch(_0x121857){this['_logService']['error'](_0x121857);}const _0x402e8e=this[_0x54c873(0x2e0)]();if(_0x445883){const _0x89fbe7=_0x43dba4(this[_0x54c873(0x3e1)],_0x1fd5b2,this[_0x54c873(0x31b)],_0x7cd963,_0x31d820,_0x402e8e);return _0x89fbe7 instanceof _0x247d18[_0x54c873(0x341)]?_0x89fbe7['_schedule']():(_0x89fbe7 instanceof _0x247d18[_0x54c873(0x1fc)]||_0x89fbe7 instanceof _0x247d18[_0x54c873(0x26f)])&&_0x89fbe7['resend'](),_0x89fbe7;}return this[_0x54c873(0x3e1)][_0x54c873(0x10c)](_0x247d18[_0x54c873(0xff)],_0x1fd5b2,this[_0x54c873(0x31b)],_0x7cd963,_0x31d820,_0x402e8e);}[_0x46a189(0x8b)](_0x2da263,_0x5aa6bc){var _0x2b496d=_0x46a189,_0x419d23,_0x47c31d;const _0x1f1221=this[_0x2b496d(0x20c)]['interceptor'][_0x2b496d(0x12e)](this['_compressMutationService'][_0x2b496d(0x35f)][_0x2b496d(0x2da)]()[_0x2b496d(0x3c2)]);(_0x419d23=_0x1f1221((_0x2da263==null?void 0x0:_0x2da263[_0x2b496d(0x1af)])||[],null))==null||_0x419d23[_0x2b496d(0x2f6)](_0x268cd9=>this[_0x2b496d(0x244)][_0x2b496d(0xc0)](_0x268cd9['id'],_0x268cd9['params'])),(_0x47c31d=_0x1f1221(_0x5aa6bc||[],null))==null||_0x47c31d[_0x2b496d(0x2f6)](_0x1e5cbd=>this[_0x2b496d(0x244)]['executeCommand'](_0x1e5cbd['id'],_0x1e5cbd[_0x2b496d(0x30e)]));}},_0x247d18['CollaborationEntity']=_0x6fafde([_0x3290fe(0x3,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x3290fe(0x4,_0x112078['Inject'](_0x4f9634[_0x46a189(0x2af)])),_0x3290fe(0x5,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)])),_0x3290fe(0x6,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x3290fe(0x7,_0x112078['Inject'](_0x12b7ba)),_0x3290fe(0x8,_0x112078['IUniverInstanceService']),_0x3290fe(0x9,_0x112078['ILogService']),_0x3290fe(0xa,_0x112078['ICommandService']),_0x3290fe(0xb,_0x112078[_0x46a189(0x2e4)]),_0x3290fe(0xc,_0x112078[_0x46a189(0x24e)](_0x51ca0c)),_0x3290fe(0xd,_0x112078['Optional'](_0x1257cc))],_0x247d18['CollaborationEntity']),_0x247d18[_0x46a189(0x3a3)]=class extends _0x247d18[_0x46a189(0x11b)]{constructor(_0x1b7403,_0x1a8b0a,_0x4d8d28,_0x3ba352,_0xe6b339,_0x4892dd,_0x5c0392,_0x26ecf8,_0x20a136,_0x300966,_0x2e4512,_0x4949b9,_0x36ef31,_0x3ab146){var _0x4ed337=_0x46a189;super(_0x1b7403,_0x4d8d28,_0x1a8b0a,_0x3ba352,_0xe6b339,_0x4892dd,_0x5c0392,_0x26ecf8,_0x20a136,_0x300966,_0x2e4512,_0x4949b9,_0x36ef31,_0x3ab146),_0x25aa6e(this,_0x4ed337(0x1a4),null),(this[_0x4ed337(0x194)]=_0x1b7403,this[_0x4ed337(0xfd)]=_0x1a8b0a);}[_0x46a189(0x413)](_0x477d30){var _0x186c6c=_0x46a189;this[_0x186c6c(0x1a4)]=_0x477d30;}['dispose'](){var _0x30eac4=_0x46a189;this['_handlerCallback']=null,super[_0x30eac4(0x376)]();}[_0x46a189(0x2e0)](){var _0x4c9cc3=_0x46a189;const _0x52a79d=super[_0x4c9cc3(0x2e0)]();return _0x52a79d[_0x4c9cc3(0xb4)]=_0x1d38d5=>{var _0x3d430f=_0x4c9cc3,_0x337177,_0x1318e8;return(_0x1318e8=(_0x337177=this[_0x3d430f(0x1a4)])==null?void 0x0:_0x337177[_0x3d430f(0xb4)])==null?void 0x0:_0x1318e8[_0x3d430f(0x3f2)](_0x337177,_0x1d38d5);},_0x52a79d[_0x4c9cc3(0x96)]=_0x18d378=>{var _0x29078c=_0x4c9cc3,_0x356075,_0x283c31;return(_0x283c31=(_0x356075=this[_0x29078c(0x1a4)])==null?void 0x0:_0x356075[_0x29078c(0x96)])==null?void 0x0:_0x283c31[_0x29078c(0x3f2)](_0x356075,_0x18d378);},_0x52a79d[_0x4c9cc3(0x17c)]=_0x32135e=>{var _0x464d5a=_0x4c9cc3,_0x5581b8,_0x479f06;return(_0x479f06=(_0x5581b8=this['_handlerCallback'])==null?void 0x0:_0x5581b8[_0x464d5a(0x17c)])==null?void 0x0:_0x479f06['call'](_0x5581b8,_0x32135e);},_0x52a79d[_0x4c9cc3(0x2b1)]=_0xfe58a3=>{var _0x13cec1=_0x4c9cc3,_0x50710c,_0x3c8c04;return(_0x3c8c04=(_0x50710c=this['_handlerCallback'])==null?void 0x0:_0x50710c['onSyncEditingCollabCursor'])==null?void 0x0:_0x3c8c04[_0x13cec1(0x3f2)](_0x50710c,_0xfe58a3);},_0x52a79d['onTransformRemoteChangesetByIMECache']=_0x42e961=>{var _0x2afac2=_0x4c9cc3,_0x21c3db,_0x1211e5,_0x51200f;if(!((_0x21c3db=this[_0x2afac2(0x1a4)])!=null&&_0x21c3db[_0x2afac2(0x29d)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x51200f=(_0x1211e5=this[_0x2afac2(0x1a4)])==null?void 0x0:_0x1211e5[_0x2afac2(0x29d)])==null?void 0x0:_0x51200f[_0x2afac2(0x3f2)](_0x1211e5,_0x42e961);},_0x52a79d[_0x4c9cc3(0x97)]=_0x497c55=>{var _0x15bddf=_0x4c9cc3,_0x151166,_0x47e785,_0x93cef8;if(!((_0x151166=this[_0x15bddf(0x1a4)])!=null&&_0x151166[_0x15bddf(0x97)]))throw new Error(_0x15bddf(0x132));return(_0x93cef8=(_0x47e785=this[_0x15bddf(0x1a4)])==null?void 0x0:_0x47e785[_0x15bddf(0x97)])==null?void 0x0:_0x93cef8[_0x15bddf(0x3f2)](_0x47e785,_0x497c55);},_0x52a79d;}async['_init'](){var _0x81432a=_0x46a189;const _0x26253a=await super['_init']();return this[_0x81432a(0x13a)](this[_0x81432a(0x244)]['onCommandExecuted']((_0x3327f2,_0x429e4d)=>{var _0x4f65ed=_0x81432a;if(_0x3327f2[_0x4f65ed(0xfd)]!==_0x112078['CommandType'][_0x4f65ed(0x3ce)]||_0x429e4d!=null&&_0x429e4d[_0x4f65ed(0xa9)]||_0x429e4d!=null&&_0x429e4d[_0x4f65ed(0x175)]||_0x3327f2['id']===_0x171cda[_0x4f65ed(0x2c5)]['id'])return;const _0x5028de=_0x3327f2['params'];if((_0x5028de==null?void 0x0:_0x5028de[_0x4f65ed(0x124)])!==this[_0x4f65ed(0x194)])return;const _0x2827f2=_0x3327f2,_0x377840=this[_0x4f65ed(0x20c)][_0x4f65ed(0x35f)][_0x4f65ed(0x12e)](this[_0x4f65ed(0x20c)][_0x4f65ed(0x35f)][_0x4f65ed(0x2da)]()[_0x4f65ed(0x22a)])([_0x2827f2],this[_0x4f65ed(0x3cf)])||[_0x2827f2];this['_onLocalMutation'](_0x377840[0x0]);})),_0x26253a;}},_0x247d18[_0x46a189(0x3a3)]=_0x6fafde([_0x3290fe(0x3,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x3290fe(0x4,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x2af)])),_0x3290fe(0x5,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)])),_0x3290fe(0x6,_0x112078['Inject'](_0x4f9634['RevisionService'])),_0x3290fe(0x7,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x3290fe(0x8,_0x112078[_0x46a189(0x93)]),_0x3290fe(0x9,_0x112078['ILogService']),_0x3290fe(0xa,_0x112078[_0x46a189(0x375)]),_0x3290fe(0xb,_0x112078['IPermissionService']),_0x3290fe(0xc,_0x112078[_0x46a189(0x24e)](_0x51ca0c)),_0x3290fe(0xd,_0x112078['Optional'](_0x1257cc))],_0x247d18['DocCollaborationEntity']),_0x247d18[_0x46a189(0x391)]=class extends _0x247d18[_0x46a189(0x11b)]{constructor(_0x51150b,_0x2cea13,_0x50bc74,_0x3aacf9,_0x45c34d,_0x1274eb,_0x322080,_0x256131,_0xca5ece,_0x2a73a8,_0x26dce4,_0x1cc97b,_0x554cb8,_0x1828c1,_0x318adc){var _0x471356=_0x46a189;super(_0x51150b,_0x50bc74,_0x2cea13,_0x3aacf9,_0x45c34d,_0x1274eb,_0x322080,_0xca5ece,_0x2a73a8,_0x26dce4,_0x1cc97b,_0x554cb8,_0x1828c1,_0x318adc),this['unitID']=_0x51150b,this[_0x471356(0xfd)]=_0x2cea13,this[_0x471356(0x337)]=_0x256131;}[_0x46a189(0x2e0)](){var _0x12c16a=_0x46a189;const _0xa139e3=super['_createHandler']();return _0xa139e3[_0x12c16a(0x17c)]=_0x4ecda1=>this[_0x12c16a(0x337)][_0x12c16a(0x351)](_0x4ecda1),_0xa139e3;}async[_0x46a189(0xc3)](){var _0x1535e2=_0x46a189;const _0x1ddd29=await super[_0x1535e2(0xc3)]();return this[_0x1535e2(0x13a)](this['_commandService'][_0x1535e2(0x331)]((_0x5a26f1,_0x57a7a3)=>{var _0x390f84=_0x1535e2;if(_0x5a26f1[_0x390f84(0xfd)]!==_0x112078[_0x390f84(0x18e)][_0x390f84(0x3ce)]||_0x57a7a3!=null&&_0x57a7a3[_0x390f84(0xa9)]||_0x57a7a3!=null&&_0x57a7a3[_0x390f84(0x175)])return;const _0xc3a16f=_0x5a26f1['params'];if((_0xc3a16f==null?void 0x0:_0xc3a16f['unitId'])!==this['unitID'])return;const _0x58fcc1=_0x5a26f1,_0x5cdf44=this['_compressMutationService'][_0x390f84(0x35f)][_0x390f84(0x12e)](this[_0x390f84(0x20c)][_0x390f84(0x35f)][_0x390f84(0x2da)]()[_0x390f84(0x22a)])([_0x58fcc1],this[_0x390f84(0x3cf)])||[_0x58fcc1];this[_0x390f84(0x382)](_0x5cdf44[0x0]);})),_0x1ddd29;}},_0x247d18[_0x46a189(0x391)]=_0x6fafde([_0x3290fe(0x3,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x3290fe(0x4,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x2af)])),_0x3290fe(0x5,_0x112078['Inject'](_0x112078['LocaleService'])),_0x3290fe(0x6,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x3290fe(0x7,_0x112078[_0x46a189(0x11e)](_0x247d18[_0x46a189(0xc4)])),_0x3290fe(0x8,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x3290fe(0x9,_0x112078[_0x46a189(0x93)]),_0x3290fe(0xa,_0x112078['ILogService']),_0x3290fe(0xb,_0x112078[_0x46a189(0x375)]),_0x3290fe(0xc,_0x112078[_0x46a189(0x2e4)]),_0x3290fe(0xd,_0x112078[_0x46a189(0x24e)](_0x51ca0c)),_0x3290fe(0xe,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x391)]);const _0x4284be=_0x112078[_0x46a189(0x1fe)](_0x46a189(0x133));function _0x3a30da(_0x36c8b2){var _0x412ef9=_0x46a189,_0x44ac5b,_0x2406fb,_0x1e60b5,_0x4b64fb,_0x20d046;const _0xfdcb12=_0x36c8b2[_0x412ef9(0x3f5)],_0x17149d=JSON[_0x412ef9(0x390)](_0xfdcb12);switch(_0x17149d[_0x412ef9(0x2d6)]){case _0x32720a[_0x412ef9(0x226)]:case _0x32720a[_0x412ef9(0x26c)]:{const _0x2540a8=_0x17149d[_0x412ef9(0x3c6)];return{..._0x17149d,'data':_0x2540a8,'cmd':_0x17149d['cmd']};}case _0x32720a[_0x412ef9(0xd0)]:{const _0x1c87c4=_0x17149d[_0x412ef9(0x371)];return{..._0x17149d,'data':_0x1c87c4,'cmd':_0x17149d[_0x412ef9(0x2d6)]};}case _0x32720a[_0x412ef9(0x32d)]:{const _0x5153a0=_0x17149d[_0x412ef9(0x156)];switch(_0x5153a0[_0x412ef9(0x3df)]){case _0x4f9634['CollaborationEvent'][_0x412ef9(0x286)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x44ac5b=_0x5153a0['permissionRejEvent'])==null?void 0x0:_0x44ac5b['cs']},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x3db)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x2406fb=_0x5153a0['csAckEvent'])==null?void 0x0:_0x2406fb['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)]['NEW_CHANGESETS']:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x1e60b5=_0x5153a0[_0x412ef9(0x223)])==null?void 0x0:_0x1e60b5['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x3d3)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x4b64fb=_0x5153a0['csRejEvent'])==null?void 0x0:_0x4b64fb['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x239)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x20d046=_0x5153a0[_0x412ef9(0x3e9)])==null?void 0x0:_0x20d046['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x1e2)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0['updateCursorEvent']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x339)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x128)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634['CollaborationEvent']['USERS_LEAVE']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x8d)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634['CollaborationEvent'][_0x412ef9(0x303)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x33c)]},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x25e)]:case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x25c)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x34f)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634['CollaborationEvent'][_0x412ef9(0x29b)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x33c)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['MSG_FOR_ERROR']:return{..._0x17149d,'data':_0x5153a0,'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['COMMENT_UPDATE']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0xf8)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['UPDATE_PERMISSION_OBJ']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x3cd)]},'cmd':_0x17149d['cmd']};case _0x4f9634['CollaborationEvent'][_0x412ef9(0x85)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x30b)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['UNISCRIPT_RUN']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x274)]},'cmd':_0x17149d['cmd']};default:return _0x17149d;}}default:return _0x17149d;}}function _0x5da2ca(_0x583679){var _0x5b6b62=_0x46a189;switch(_0x583679[_0x5b6b62(0x2d6)]){case _0x32720a[_0x5b6b62(0x226)]:case _0x32720a[_0x5b6b62(0x26c)]:return JSON[_0x5b6b62(0x27f)]({'cmd':_0x583679['cmd'],'routeKey':_0x583679[_0x5b6b62(0xb1)]});case _0x32720a[_0x5b6b62(0x191)]:{let _0x55e346;switch(_0x583679[_0x5b6b62(0x3f5)][_0x5b6b62(0x3df)]){case _0x4f9634['CollaborationEvent'][_0x5b6b62(0x1e2)]:{_0x55e346={'eventID':_0x4f9634['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x583679[_0x5b6b62(0x3f5)][_0x5b6b62(0x3f5)]};break;}case _0x4f9634[_0x5b6b62(0x3f4)]['USERS_LEAVE']:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x2bd)],'leaveEvent':_0x583679['data']['data']};break;}case _0x4f9634['CollaborationEvent'][_0x5b6b62(0x339)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x339)],'joinEvent':_0x583679['data']['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x303)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x303)],'liveShareNewHost':_0x583679[_0x5b6b62(0x3f5)]['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25c)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25c)],'liveShareOperation':_0x583679[_0x5b6b62(0x3f5)]['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x29b)]:{_0x55e346={'eventID':_0x4f9634['CollaborationEvent'][_0x5b6b62(0x29b)],'liveShareTerminate':_0x583679[_0x5b6b62(0x3f5)][_0x5b6b62(0x3f5)]};break;}case _0x4f9634[_0x5b6b62(0x3f4)]['LIVESHARE_REQUEST_HOST']:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x2b6)],'liveShareRequestHost':_0x583679['data']['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25e)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25e)]};break;}default:_0x55e346={'eventID':_0x583679['data'][_0x5b6b62(0x3df)]};}return JSON['stringify']({'cmd':_0x583679[_0x5b6b62(0x2d6)],'routeKey':_0x583679['routeKey'],'collaMsg':_0x55e346});}case _0x32720a[_0x5b6b62(0xd0)]:return JSON[_0x5b6b62(0x27f)]({'cmd':_0x583679[_0x5b6b62(0x2d6)],'routeKey':_0x583679[_0x5b6b62(0xb1)],'joinReq':_0x583679[_0x5b6b62(0x3f5)]});case _0x32720a[_0x5b6b62(0x39d)]:return JSON[_0x5b6b62(0x27f)]({'cmd':_0x583679['cmd'],'routeKey':_0x583679[_0x5b6b62(0xb1)],'leaveReq':_0x583679[_0x5b6b62(0x3f5)]});default:throw new Error(_0x5b6b62(0x21c));}}var _0x42b74e=Object['getOwnPropertyDescriptor'],_0x30e8f2=(_0x264a45,_0xe17de,_0x313136,_0x2d4897)=>{var _0x1c9d40=_0x46a189;for(var _0x3110e7=_0x2d4897>0x1?void 0x0:_0x2d4897?_0x42b74e(_0xe17de,_0x313136):_0xe17de,_0x37e8cf=_0x264a45[_0x1c9d40(0x86)]-0x1,_0xa52f31;_0x37e8cf>=0x0;_0x37e8cf--)(_0xa52f31=_0x264a45[_0x37e8cf])&&(_0x3110e7=_0xa52f31(_0x3110e7)||_0x3110e7);return _0x3110e7;},_0x3feea7=(_0x1d920e,_0x18821d)=>(_0x36a04c,_0x4ee9ac)=>_0x18821d(_0x36a04c,_0x4ee9ac,_0x1d920e);const _0x5501e9=_0x112078[_0x46a189(0x1fe)]('univer-pro.collaboration-client-socket-service');function _0x2ae8ef(_0x447bae,_0x2d638a,_0x498a4c){var _0x520f04=_0x46a189;return _0x447bae+'/'+_0x2d638a+_0x520f04(0x3fb)+_0x498a4c+_0x520f04(0x1c5);}_0x247d18[_0x46a189(0x304)]=class extends _0x112078[_0x46a189(0x426)]{constructor(_0x4014bd,_0x563819,_0x2fc33c,_0xac7335,_0x317c2e){var _0x23203e=_0x46a189;super(),this[_0x23203e(0x3e1)]=_0x4014bd,this[_0x23203e(0x320)]=_0x563819,this[_0x23203e(0xad)]=_0x2fc33c,this[_0x23203e(0x235)]=_0xac7335,this[_0x23203e(0x214)]=_0x317c2e;}['_doCreateSocket'](_0x3506a6){var _0x1a6fac=_0x46a189;const _0x1746e9=this[_0x1a6fac(0x3e1)][_0x1a6fac(0x3aa)](_0x1b0b18[_0x1a6fac(0x1df)]);if(!_0x1746e9)throw new Error(_0x1a6fac(0x2e1));const _0x3f3a92=_0x1746e9[_0x1a6fac(0x3b4)](_0x3506a6);if(!_0x3f3a92)throw new Error(_0x1a6fac(0x260));const _0x44e3b2=new _0x112078[(_0x1a6fac(0x3ee))](),_0x404c6f=new _0x1909d3['Subject']();_0x44e3b2['add'](_0x3f3a92[_0x1a6fac(0x2d2)][_0x1a6fac(0x153)](_0x9278e6=>_0x404c6f['next'](_0x9278e6))),_0x44e3b2[_0x1a6fac(0x1f4)](_0x112078['toDisposable'](()=>_0x404c6f['complete']()));const _0x400deb=new _0x1909d3[(_0x1a6fac(0x276))]();_0x44e3b2[_0x1a6fac(0x1f4)](_0x3f3a92[_0x1a6fac(0x269)][_0x1a6fac(0x153)](_0x3b3020=>_0x400deb[_0x1a6fac(0x28a)](_0x3b3020))),_0x44e3b2[_0x1a6fac(0x1f4)](_0x112078[_0x1a6fac(0x186)](()=>_0x400deb[_0x1a6fac(0x1c3)]()));const _0x113e2e=new _0x1909d3[(_0x1a6fac(0x276))]();_0x44e3b2[_0x1a6fac(0x1f4)](_0x3f3a92['message$'][_0x1a6fac(0x153)](_0x36d514=>{var _0xa5e038=_0x1a6fac;const _0x402377=_0x3a30da(_0x36d514);_0x113e2e[_0xa5e038(0x28a)](_0x402377);})),_0x44e3b2[_0x1a6fac(0x1f4)](_0x112078[_0x1a6fac(0x186)](()=>_0x113e2e['complete']()));let _0x4834b9;const _0x1fd89f=()=>{var _0x41f840=_0x1a6fac;_0x400deb[_0x41f840(0x28a)](new Event(_0x41f840(0x3a9))),_0x404c6f['next'](new Event(_0x41f840(0x3a9))),_0x4834b9[_0x41f840(0xbc)]();};return _0x4834b9={'memberID':'','close$':_0x404c6f[_0x1a6fac(0x2d0)](),'error$':_0x400deb[_0x1a6fac(0x2d0)](),'open$':_0x3f3a92[_0x1a6fac(0xe0)],'message$':_0x113e2e[_0x1a6fac(0x2d0)](),'send':_0x4d4bf9=>{var _0x26db11=_0x1a6fac;if(_0x4d4bf9[_0x26db11(0x2d6)]===_0x32720a[_0x26db11(0x191)]){if(_0x4d4bf9['data']['eventID']===_0x4f9634[_0x26db11(0x3f4)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x4834b9,_0x4d4bf9[_0x26db11(0x3f5)])[_0x26db11(0x40a)](_0x2fe844=>{var _0x32a246=_0x26db11;this[_0x32a246(0x235)][_0x32a246(0x157)](_0x2fe844),_0x1fd89f();});return;}if(_0x4d4bf9[_0x26db11(0x3f5)][_0x26db11(0x3df)]===_0x4f9634[_0x26db11(0x3f4)][_0x26db11(0x1b9)]){const _0x22207a=_0x4d4bf9[_0x26db11(0x3f5)];this[_0x26db11(0x35d)](_0x22207a)[_0x26db11(0x2a7)](_0x349413=>{var _0x4e11c4=_0x26db11;_0x113e2e[_0x4e11c4(0x28a)]({'cmd':_0x32720a[_0x4e11c4(0x32d)],'code':_0x142cf7['OK'],'routeKey':_0x22207a[_0x4e11c4(0x3f5)]['unitID'],'routeType':'','data':{'eventID':_0x4f9634[_0x4e11c4(0x3f4)][_0x4e11c4(0x422)],'data':{'changesets':_0x349413}}});})['catch'](_0x3e1703=>{var _0x379cea=_0x26db11;this[_0x379cea(0x235)][_0x379cea(0x157)](_0x3e1703),_0x1fd89f();});return;}}_0x3f3a92['send'](_0x5da2ca(_0x4d4bf9));},'close':()=>{_0x3f3a92['close'](),_0x44e3b2['dispose']();}},_0x4834b9;}async[_0x46a189(0x145)](_0x9e485d,_0x53cddc){var _0xced9f0=_0x46a189,_0x349d30;const {unitType:_0x29bda1,unitID:_0x9de0a6,changeset:_0xd176a1}=_0x53cddc[_0xced9f0(0x3f5)],_0x4d132f={'unitID':_0x9de0a6,'memberID':_0x9e485d[_0xced9f0(0x2c4)],'type':_0x29bda1,'changeset':_0x4f9634['parseChangesetToProtocol'](_0xd176a1)},_0x44bcad=this[_0xced9f0(0xad)][_0xced9f0(0x2a2)](_0x4f0c7a),_0x3a0a79=_0x2ae8ef((_0x349d30=_0x44bcad==null?void 0x0:_0x44bcad['collabSubmitChangesetUrl'])!=null?_0x349d30:_0x18fa10,_0x29bda1,_0x9de0a6);try{await this[_0xced9f0(0x320)]['post'](_0x3a0a79,{'body':_0x4d132f});}catch(_0x20a04a){throw this['_logService'][_0xced9f0(0x157)](_0xced9f0(0x324),'submit\x20changeset\x20error!'),_0x20a04a;}}async[_0x46a189(0x35d)](_0x46d198){var _0x5039b4=_0x46a189;const {unitID:_0x47ed61,from:_0x501211,to:_0x5c8bc4,unitType:_0x494f00}=_0x46d198[_0x5039b4(0x3f5)];return(await this[_0x5039b4(0x214)][_0x5039b4(0x2fe)]({'metadata':void 0x0},{'unitID':_0x47ed61,'type':_0x494f00,'from':_0x501211,'to':_0x5c8bc4}))['changesets']['map'](_0x5eb4c6=>((_0x5eb4c6['mutations']===null||_0x5eb4c6[_0x5039b4(0x1af)]===void 0x0)&&(_0x5eb4c6[_0x5039b4(0x1af)]=[]),_0x5eb4c6));}},_0x247d18[_0x46a189(0x304)]=_0x30e8f2([_0x3feea7(0x0,_0x112078[_0x46a189(0x11e)](_0x112078['Injector'])),_0x3feea7(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)])),_0x3feea7(0x2,_0x112078[_0x46a189(0x22f)]),_0x3feea7(0x3,_0x112078[_0x46a189(0xce)]),_0x3feea7(0x4,_0x4f9634[_0x46a189(0x119)])],_0x247d18[_0x46a189(0x304)]);var _0x3e9554=Object[_0x46a189(0x1d1)],_0x3bf711=(_0x44b016,_0x1dfba1,_0x5e6ba7,_0x49940e)=>{var _0x4036e8=_0x46a189;for(var _0x4d2fb1=_0x49940e>0x1?void 0x0:_0x49940e?_0x3e9554(_0x1dfba1,_0x5e6ba7):_0x1dfba1,_0xbc37a=_0x44b016[_0x4036e8(0x86)]-0x1,_0x3d9974;_0xbc37a>=0x0;_0xbc37a--)(_0x3d9974=_0x44b016[_0xbc37a])&&(_0x4d2fb1=_0x3d9974(_0x4d2fb1)||_0x4d2fb1);return _0x4d2fb1;},_0x1c57e1=(_0x12729c,_0x466b7f)=>(_0x534ae2,_0xaf5322)=>_0x466b7f(_0x534ae2,_0xaf5322,_0x12729c);_0x247d18[_0x46a189(0x3a4)]=class extends _0x112078['Disposable']{constructor(_0x2a10c6,_0x5a8b9e,_0x9ec38b,_0x867483,_0x4c62a9,_0x206722){var _0x381671=_0x46a189;super(),_0x25aa6e(this,_0x381671(0xb3),new _0x1909d3[(_0x381671(0xf5))](void 0x0)),_0x25aa6e(this,'socket$',this['_socket$']['asObservable']()),_0x25aa6e(this,_0x381671(0x229),null),_0x25aa6e(this,_0x381671(0x2e9),new Map()),_0x25aa6e(this,_0x381671(0x266),new _0x1909d3[(_0x381671(0xf5))](_0x4f1434[_0x381671(0x37d)])),_0x25aa6e(this,_0x381671(0x3da),this[_0x381671(0x266)][_0x381671(0x2d0)]()),_0x25aa6e(this,_0x381671(0x338),!0x1),_0x25aa6e(this,_0x381671(0x3a7)),_0x25aa6e(this,_0x381671(0x248),0x0),_0x25aa6e(this,_0x381671(0x24f)),_0x25aa6e(this,_0x381671(0x293)),(this[_0x381671(0x3e1)]=_0x2a10c6,this['_logService']=_0x5a8b9e,this['_configService']=_0x9ec38b,this[_0x381671(0x347)]=_0x867483,this[_0x381671(0x281)]=_0x4c62a9,this[_0x381671(0x2c7)]=_0x206722,this[_0x381671(0xb8)]());}get['_socket'](){var _0x21a3a3=_0x46a189;return this[_0x21a3a3(0xb3)][_0x21a3a3(0x109)]();}['_listenToNetworkCondition'](){var _0x4a1412=_0x46a189;this[_0x4a1412(0x2c7)]&&this[_0x4a1412(0x13a)](this[_0x4a1412(0x2c7)][_0x4a1412(0x374)][_0x4a1412(0x153)](_0x3e5ce4=>{var _0x73d1d1=_0x4a1412;_0x3e5ce4&&!this[_0x73d1d1(0xd5)]&&this[_0x73d1d1(0x1e5)](),_0x3e5ce4||this[_0x73d1d1(0x130)]();}));}['dispose'](){var _0x46fc68=_0x46a189;super['dispose'](),this[_0x46fc68(0xa7)](),this[_0x46fc68(0x36c)](),this[_0x46fc68(0x2aa)](),this[_0x46fc68(0x2e9)]['forEach'](_0xd640d0=>_0xd640d0[_0x46fc68(0x376)]()),this[_0x46fc68(0x2e9)][_0x46fc68(0x31d)](),this[_0x46fc68(0x266)][_0x46fc68(0x1c3)]();}async['requireSession'](_0x565158){var _0x4d8a2d=_0x46a189;if(this[_0x4d8a2d(0x2e9)]['has'](_0x565158))return this['_sessions'][_0x4d8a2d(0x3aa)](_0x565158);this[_0x4d8a2d(0xba)]();const _0x4a3db3=this[_0x4d8a2d(0x3e1)][_0x4d8a2d(0x10c)](_0x247d18[_0x4d8a2d(0x2fd)],_0x565158,this[_0x4d8a2d(0xb3)][_0x4d8a2d(0x2d0)]());return this[_0x4d8a2d(0x2e9)]['set'](_0x565158,_0x4a3db3),_0x4a3db3;}['closeSession'](_0x19345b){var _0x312920=_0x46a189,_0x3b4277;const _0x15c9af=this[_0x312920(0x2e9)][_0x312920(0x3aa)](_0x19345b);_0x15c9af&&(this[_0x312920(0x2e9)][_0x312920(0x3bd)](_0x19345b),_0x15c9af[_0x312920(0xbc)]()),this['_sessions'][_0x312920(0x352)]||(_0x3b4277=this['_socket'])==null||_0x3b4277[_0x312920(0xbc)]();}[_0x46a189(0x1e5)](){var _0x1dc7f=_0x46a189;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x1dc7f(0xbd)]();}['_clearRetryConnectingTimer'](){var _0x29a665=_0x46a189;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x29a665(0x3a7)]),this[_0x29a665(0x3a7)]=null);}async['_createSocket'](){var _0x3c5fd4=_0x46a189,_0x4c1184;const _0x4e38d6=this[_0x3c5fd4(0xad)][_0x3c5fd4(0x2a2)](_0x4f0c7a),_0x6d06ba=(_0x4c1184=_0x4e38d6==null?void 0x0:_0x4e38d6['collabWebSocketUrl'])!=null?_0x4c1184:_0x1cfacc,_0x11cc41=await this['_socketService']['createSocket'](_0x6d06ba);return this[_0x3c5fd4(0x229)]=_0x11cc41,_0x11cc41;}async[_0x46a189(0xba)](){var _0x5457ce=_0x46a189,_0x37b002,_0x45c13a;try{const _0x13bcc4=(_0x45c13a=(_0x37b002=this[_0x5457ce(0xd5)])!=null?_0x37b002:this[_0x5457ce(0x229)])!=null?_0x45c13a:await this[_0x5457ce(0x2f1)]();if(_0x13bcc4){const _0x552dd2=_0x13bcc4['send'];_0x13bcc4[_0x5457ce(0x2fa)]=_0x132604=>(this[_0x5457ce(0x129)](),_0x552dd2[_0x5457ce(0xcd)](_0x13bcc4,[_0x132604])),_0x13bcc4[_0x5457ce(0x10f)][_0x5457ce(0x153)](_0x7237be=>this[_0x5457ce(0x30a)](_0x13bcc4,_0x7237be)),_0x13bcc4[_0x5457ce(0x269)]['pipe'](_0x57d774[_0x5457ce(0x348)](0x1))[_0x5457ce(0x153)](_0x454d98=>this[_0x5457ce(0x235)][_0x5457ce(0x157)](_0x5457ce(0x15b),_0x454d98)),_0x13bcc4['open$']['pipe'](_0x57d774[_0x5457ce(0x348)](0x1))[_0x5457ce(0x153)](()=>{this['_onConnectionOpen'](_0x13bcc4);}),_0x13bcc4['close$'][_0x5457ce(0x41a)](_0x57d774[_0x5457ce(0x348)](0x1))[_0x5457ce(0x153)](_0x5b9d42=>{var _0x3f453d=_0x5457ce;this['_logService']['debug'](_0x3f453d(0x287),_0x3f453d(0x364),_0x5b9d42),this['_onConnectionFailed']();});}}catch(_0x5a329e){this['_logService'][_0x5457ce(0x157)](_0x5a329e),this[_0x5457ce(0x18c)]();}}[_0x46a189(0x299)](_0x523974){var _0x3129c4=_0x46a189;this[_0x3129c4(0x235)][_0x3129c4(0x366)](_0x3129c4(0x287),_0x3129c4(0xa1)),_0x523974['send']({'cmd':_0x32720a[_0x3129c4(0x26c)]}),this[_0x3129c4(0x129)]();}[_0x46a189(0x130)](){var _0x12e067=_0x46a189;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x12e067(0x266)]['next'](_0x4f1434[_0x12e067(0x301)]),this[_0x12e067(0xb3)][_0x12e067(0x28a)](null),this[_0x12e067(0x36c)](),this[_0x12e067(0x2aa)]();}[_0x46a189(0x18c)](){var _0x58c9aa=_0x46a189,_0x3e01ab;this[_0x58c9aa(0x130)](),this[_0x58c9aa(0x248)]<((_0x3e01ab=this[_0x58c9aa(0xad)]['getConfig'](_0x302883))!=null?_0x3e01ab:0x3)?(this['_collaborationUIEventService'][_0x58c9aa(0xe5)]({'id':_0xee750e[_0x58c9aa(0x40c)]}),this[_0x58c9aa(0xbd)]()):this['_collaborationUIEventService'][_0x58c9aa(0xe5)]({'id':_0xee750e[_0x58c9aa(0x26e)]});}[_0x46a189(0xbd)](){var _0x45142f=_0x46a189,_0x11161b;const _0x1806b3=this[_0x45142f(0x248)],_0x45dae8=this[_0x45142f(0xad)][_0x45142f(0x2a2)](_0x4f0c7a),_0x13044a=_0x1806b3===0x0?0x0:((_0x11161b=_0x45dae8==null?void 0x0:_0x45dae8[_0x45142f(0x368)])!=null?_0x11161b:0x4e20)*0x2**_0x1806b3;this['_retryConnectingTimer']=setTimeout(()=>{var _0x126bcd=_0x45142f;clearTimeout(this[_0x126bcd(0x3a7)]),this[_0x126bcd(0x3a7)]=null,this[_0x126bcd(0xba)]();},_0x13044a),this['_retryCount']+=0x1;}['_onMessage'](_0x467efc,_0x37c7c4){var _0x393cb8=_0x46a189;const {cmd:_0x533ec3}=_0x37c7c4;_0x533ec3===_0x32720a[_0x393cb8(0x26c)]&&!this[_0x393cb8(0x338)]&&(_0x467efc[_0x393cb8(0x2c4)]=_0x37c7c4[_0x393cb8(0x3f5)][_0x393cb8(0x2c4)],this['_socket$'][_0x393cb8(0x28a)](_0x467efc),this[_0x393cb8(0x266)][_0x393cb8(0x28a)](_0x4f1434['ONLINE']),this['_socketReady']=!0x0,this[_0x393cb8(0x229)]=null),_0x533ec3===_0x32720a['HEARTBEAT']&&this[_0x393cb8(0x36c)](),this[_0x393cb8(0x129)]();}[_0x46a189(0x129)](){var _0x7c6321=_0x46a189,_0x41cabd;this[_0x7c6321(0x2aa)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x7c6321(0x1bb)](),(_0x41cabd=this[_0x7c6321(0xad)]['getConfig'](_0x3dbfa6))!=null?_0x41cabd:0x7530);}[_0x46a189(0x1bb)](){var _0x1b555a=_0x46a189;this['_socket'][_0x1b555a(0x2fa)]({'cmd':_0x32720a[_0x1b555a(0x226)]}),this[_0x1b555a(0x166)]();}[_0x46a189(0x166)](){var _0x5d018a=_0x46a189,_0x1f809e;this['_timeoutTimer']=setTimeout(()=>this[_0x5d018a(0x18c)](),(_0x1f809e=this['_configService']['getConfig'](_0x375a07))!=null?_0x1f809e:0x4e20);}[_0x46a189(0x2aa)](){var _0x51e66f=_0x46a189;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x51e66f(0x24f)]=null);}[_0x46a189(0x36c)](){var _0x271762=_0x46a189;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x271762(0x293)]),this[_0x271762(0x293)]=null);}},_0x247d18['CollaborationSessionService']=_0x3bf711([_0x1c57e1(0x0,_0x112078[_0x46a189(0x11e)](_0x112078['Injector'])),_0x1c57e1(0x1,_0x112078[_0x46a189(0xce)]),_0x1c57e1(0x2,_0x112078['IConfigService']),_0x1c57e1(0x3,_0x5501e9),_0x1c57e1(0x4,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x1c57e1(0x5,_0x112078[_0x46a189(0x24e)](_0x4284be))],_0x247d18[_0x46a189(0x3a4)]);var _0x2a5326=Object['getOwnPropertyDescriptor'],_0xe69e2c=(_0x3f7f39,_0x5f56a2,_0x38b627,_0x305fa9)=>{var _0x36befa=_0x46a189;for(var _0x27abf9=_0x305fa9>0x1?void 0x0:_0x305fa9?_0x2a5326(_0x5f56a2,_0x38b627):_0x5f56a2,_0x543c92=_0x3f7f39[_0x36befa(0x86)]-0x1,_0x3f1672;_0x543c92>=0x0;_0x543c92--)(_0x3f1672=_0x3f7f39[_0x543c92])&&(_0x27abf9=_0x3f1672(_0x27abf9)||_0x27abf9);return _0x27abf9;},_0x740c56=(_0x3c3a9a,_0x5b6436)=>(_0x583e08,_0x4922f7)=>_0x5b6436(_0x583e08,_0x4922f7,_0x3c3a9a);_0x247d18[_0x46a189(0x408)]=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x426a66,_0x5e49e5,_0x405122,_0x1d98d8){var _0x2ae217=_0x46a189,_0x1e7152;super(),_0x25aa6e(this,'_entities',new Map()),_0x25aa6e(this,_0x2ae217(0x1ce),new _0x1909d3[(_0x2ae217(0x276))]()),_0x25aa6e(this,_0x2ae217(0x2f8),this[_0x2ae217(0x1ce)][_0x2ae217(0x2d0)]()),(this[_0x2ae217(0x3e1)]=_0x426a66,this[_0x2ae217(0x31a)]=_0x5e49e5,this[_0x2ae217(0xad)]=_0x405122,this[_0x2ae217(0x3cf)]=_0x1d98d8,((_0x1e7152=this[_0x2ae217(0xad)][_0x2ae217(0x2a2)](_0x4f0c7a))==null?void 0x0:_0x1e7152[_0x2ae217(0x278)])!==!0x1&&this[_0x2ae217(0xc3)]());}[_0x46a189(0x376)](){var _0x481ccc=_0x46a189;super['dispose'](),this[_0x481ccc(0x198)][_0x481ccc(0x2f6)](_0x343dcd=>_0x343dcd[_0x481ccc(0x376)]()),this['_entities'][_0x481ccc(0x31d)]();}[_0x46a189(0x188)](_0x44aa69){var _0xa82b35=_0x46a189,_0x271d64;return(_0x271d64=this[_0xa82b35(0x198)][_0xa82b35(0x3aa)](_0x44aa69))!=null?_0x271d64:null;}[_0x46a189(0x305)](_0x30fc64){var _0x5047ab=_0x46a189;const _0x2aa111=this[_0x5047ab(0x188)](_0x30fc64);return _0x2aa111?_0x1909d3['of'](_0x2aa111):this[_0x5047ab(0x1ce)][_0x5047ab(0x41a)](_0x57d774['filter'](_0x32147c=>_0x32147c['unitID']===_0x30fc64));}[_0x46a189(0x2ae)](_0x431a8b){var _0x36fc1f=_0x46a189;return _0x1909d3['firstValueFrom'](this['getCollabEntity$'](_0x431a8b)[_0x36fc1f(0x41a)](_0x57d774[_0x36fc1f(0xb5)](()=>{})));}[_0x46a189(0xc3)](){var _0x3c53fc=_0x46a189;this['_univerInstanceService'][_0x3c53fc(0x418)](_0x112078[_0x3c53fc(0x164)][_0x3c53fc(0x18b)])[_0x3c53fc(0x41a)](_0x1909d3[_0x3c53fc(0x1ea)](this[_0x3c53fc(0x98)]),_0x57d774[_0x3c53fc(0x13f)](0x10))[_0x3c53fc(0x153)](async _0x29e027=>{var _0x1a263c=_0x3c53fc;const _0x2b978d=_0x29e027[_0x1a263c(0x9c)](),_0x1ebe39=await this['_startCollaboration'](_0x2b978d,_0x193e02[_0x1a263c(0x18b)]);this['_entities']['set'](_0x2b978d,_0x1ebe39);}),this[_0x3c53fc(0x3cf)][_0x3c53fc(0x418)](_0x112078[_0x3c53fc(0x164)]['UNIVER_DOC'])['pipe'](_0x1909d3[_0x3c53fc(0x1ea)](this[_0x3c53fc(0x98)]),_0x57d774[_0x3c53fc(0x13f)](0x10))[_0x3c53fc(0x41a)](_0x57d774['filter'](_0x341214=>!_0x341214[_0x3c53fc(0x9c)]()[_0x3c53fc(0x224)]('__')))['subscribe'](async _0x590be6=>{var _0x2f3524=_0x3c53fc;const _0x1b1e40=_0x590be6[_0x2f3524(0x9c)](),_0x3dd82a=await this[_0x2f3524(0x3ca)](_0x1b1e40,_0x193e02['UNIVER_DOC']);this['_entities'][_0x2f3524(0xf3)](_0x1b1e40,_0x3dd82a);}),_0x1909d3[_0x3c53fc(0x251)](this[_0x3c53fc(0x3cf)][_0x3c53fc(0x3d6)](_0x112078[_0x3c53fc(0x164)]['UNIVER_SHEET']),this[_0x3c53fc(0x3cf)][_0x3c53fc(0x3d6)](_0x112078['UniverInstanceType'][_0x3c53fc(0x140)]))[_0x3c53fc(0x41a)](_0x1909d3[_0x3c53fc(0x1ea)](this[_0x3c53fc(0x98)]))['subscribe'](_0x10c0e5=>{var _0x1327ec=_0x3c53fc;const _0x429061=_0x10c0e5['getUnitId'](),_0x3c150d=this['_entities'][_0x1327ec(0x3aa)](_0x429061);_0x3c150d&&(_0x3c150d[_0x1327ec(0x376)](),this['_entities']['delete'](_0x429061));});}async[_0x46a189(0x3ca)](_0x3fdf4a,_0x39cbdc){var _0x1833c1=_0x46a189;const _0x464ce0=await this[_0x1833c1(0x31a)]['requireSession'](_0x3fdf4a),_0xdb7934=this[_0x1833c1(0x3e1)][_0x1833c1(0x10c)](this[_0x1833c1(0x178)](_0x39cbdc),_0x3fdf4a,_0x39cbdc,_0x464ce0);return await _0xdb7934[_0x1833c1(0x225)](),this[_0x1833c1(0x1ce)]['next'](_0xdb7934),_0xdb7934;}[_0x46a189(0x178)](_0x2c81ed){var _0x56e939=_0x46a189;switch(_0x2c81ed){case _0x193e02[_0x56e939(0x140)]:return _0x247d18[_0x56e939(0x3a3)];case _0x193e02[_0x56e939(0x18b)]:return _0x247d18[_0x56e939(0x391)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2c81ed);}}},_0x247d18[_0x46a189(0x408)]=_0xe69e2c([_0x740c56(0x0,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x740c56(0x1,_0x112078[_0x46a189(0x11e)](_0x247d18['CollaborationSessionService'])),_0x740c56(0x2,_0x112078[_0x46a189(0x22f)]),_0x740c56(0x3,_0x112078[_0x46a189(0x93)])],_0x247d18[_0x46a189(0x408)]);var _0x2de2aa=Object[_0x46a189(0x1d1)],_0x16263a=(_0x2803f6,_0x1b1a24,_0x81c26f,_0x4bf719)=>{var _0x5c1992=_0x46a189;for(var _0x11701b=_0x4bf719>0x1?void 0x0:_0x4bf719?_0x2de2aa(_0x1b1a24,_0x81c26f):_0x1b1a24,_0x4f29b9=_0x2803f6[_0x5c1992(0x86)]-0x1,_0x416b81;_0x4f29b9>=0x0;_0x4f29b9--)(_0x416b81=_0x2803f6[_0x4f29b9])&&(_0x11701b=_0x416b81(_0x11701b)||_0x11701b);return _0x11701b;},_0x517170=(_0x24b02a,_0x525430)=>(_0x5e188c,_0x1af0d7)=>_0x525430(_0x5e188c,_0x1af0d7,_0x24b02a);const _0x191a2d=_0x46a189(0x255),_0x1c24eb=_0x46a189(0x1cb);let _0x2f6ee9=class extends _0x112078[_0x46a189(0x426)]{constructor(_0xd720b5,_0x26b828){var _0x484347=_0x46a189;super(),this[_0x484347(0x3cf)]=_0xd720b5,this['_configService']=_0x26b828,this[_0x484347(0xc3)]();}['_init'](){var _0x592c41=_0x46a189;this[_0x592c41(0x13a)](this['_univerInstanceService'][_0x592c41(0xa6)][_0x592c41(0x153)](()=>{var _0x48672e=_0x592c41,_0x2bedd4;const _0x758c9c=this[_0x48672e(0x3cf)][_0x48672e(0x36f)]();let _0x5e1311=(_0x2bedd4=this[_0x48672e(0xad)][_0x48672e(0x2a2)](_0x191a2d))!=null?_0x2bedd4:_0x1c24eb;_0x758c9c instanceof _0x112078[_0x48672e(0x340)]&&(_0x5e1311=_0x758c9c[_0x48672e(0x94)]),document[_0x48672e(0x10e)]=_0x5e1311;}));}};_0x2f6ee9=_0x16263a([_0x517170(0x0,_0x112078['IUniverInstanceService']),_0x517170(0x1,_0x112078['IConfigService'])],_0x2f6ee9);var _0x25bca7=Object[_0x46a189(0x1d1)],_0x5ab716=(_0x336943,_0x308ec6,_0x580aa4,_0x8f155d)=>{for(var _0x52c189=_0x8f155d>0x1?void 0x0:_0x8f155d?_0x25bca7(_0x308ec6,_0x580aa4):_0x308ec6,_0x3f7244=_0x336943['length']-0x1,_0x1a80be;_0x3f7244>=0x0;_0x3f7244--)(_0x1a80be=_0x336943[_0x3f7244])&&(_0x52c189=_0x1a80be(_0x52c189)||_0x52c189);return _0x52c189;},_0x5c2816=(_0x9f344f,_0x9dc40c)=>(_0x1324a2,_0x33bcef)=>_0x9dc40c(_0x1324a2,_0x33bcef,_0x9f344f);let _0x327685=class{constructor(_0x3c797b,_0x3cc66b,_0x1f853d){var _0x4bed67=_0x46a189;this['_configService']=_0x3c797b,this[_0x4bed67(0x320)]=_0x3cc66b,this['localeService']=_0x1f853d,this[_0x4bed67(0x225)]();}['init'](){var _0x490e1f=_0x46a189;this[_0x490e1f(0x320)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x474adf,_0xbb15e1)=>_0xbb15e1(_0x474adf)[_0x490e1f(0x41a)](_0x1909d3[_0x490e1f(0x1a9)](async _0x4d6051=>{var _0x2d4008=_0x490e1f;const _0x2edbfe=_0x4d6051;if(_0x2edbfe['status']===0x191){if(typeof window>'u')throw new Error(_0x2d4008(0x208));if(window[_0x2d4008(0x2d9)](this[_0x2d4008(0x2b7)]['t'](_0x2d4008(0x282)))){const _0x5c9916=window[_0x2d4008(0x34b)](window['location'][_0x2d4008(0x328)]);window[_0x2d4008(0x290)][_0x2d4008(0x328)]=this['_getLoginPath']()+_0x2d4008(0x272)+_0x5c9916;}}return _0x2edbfe;}))});}[_0x46a189(0xcb)](){var _0x925e4a=_0x46a189,_0xa475c0;const _0x1ee0a6=this[_0x925e4a(0xad)][_0x925e4a(0x2a2)](_0x4f0c7a);return(_0xa475c0=_0x1ee0a6==null?void 0x0:_0x1ee0a6['loginUrlKey'])!=null?_0xa475c0:_0x1c9c58;}};_0x327685=_0x5ab716([_0x5c2816(0x0,_0x112078[_0x46a189(0x22f)]),_0x5c2816(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)])),_0x5c2816(0x2,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)]))],_0x327685);var _0x175056=Object['getOwnPropertyDescriptor'],_0x4a2d78=(_0x3ad132,_0x3435c2,_0x2645ad,_0x5e08a8)=>{var _0x39264f=_0x46a189;for(var _0x32e74d=_0x5e08a8>0x1?void 0x0:_0x5e08a8?_0x175056(_0x3435c2,_0x2645ad):_0x3435c2,_0x278815=_0x3ad132[_0x39264f(0x86)]-0x1,_0x2a0ef5;_0x278815>=0x0;_0x278815--)(_0x2a0ef5=_0x3ad132[_0x278815])&&(_0x32e74d=_0x2a0ef5(_0x32e74d)||_0x32e74d);return _0x32e74d;},_0x1a822f=(_0x18556f,_0x824614)=>(_0x509dfa,_0x3eddce)=>_0x824614(_0x509dfa,_0x3eddce,_0x18556f);const _0xa7fa46=_0x46a189(0x2cd);_0x247d18[_0x46a189(0x404)]=class extends _0x112078['Disposable']{constructor(_0x2d8ec4,_0x48e81b){var _0x2e4577=_0x46a189;super(),this[_0x2e4577(0x179)]=_0x2d8ec4,this['_configService']=_0x48e81b,this[_0x2e4577(0x2ba)]();}[_0x46a189(0x2ba)](){var _0x5ca6da=_0x46a189;const _0xfcbf1d=this;this[_0x5ca6da(0x13a)](this[_0x5ca6da(0x179)][_0x5ca6da(0x3b8)]({'priority':0x3e7,'interceptor':_0x1b0b18['MergeInterceptorFactory']({'isMatch'(_0x36f796){var _0xd24edc=_0x5ca6da,_0x414fb3;if(_0x36f796[_0xd24edc(0x12a)]===_0xd24edc(0x32e)&&((_0x414fb3=_0x36f796[_0xd24edc(0x327)])!=null&&_0x414fb3[_0xd24edc(0x2cf)])){const {objectID:_0x14b66b,objectType:_0x569a06}=_0x36f796['requestParams'][_0xd24edc(0x2cf)]||{};if(!_0x14b66b||_0x569a06===void 0x0)return!0x1;const _0x2978b0=_0xfcbf1d['_getAPIPrefixPath']()+'/'+_0x569a06+_0xd24edc(0x427)+_0x14b66b+_0xd24edc(0x36e);if(_0x36f796[_0xd24edc(0x386)]===_0x2978b0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x410031){var _0x96f0a6=_0x5ca6da,_0x561bce;return(_0x561bce=_0x410031[_0x96f0a6(0x327)])==null?void 0x0:_0x561bce[_0x96f0a6(0x2cf)];},'mergeParamsToRequest'(_0x27b2d3,_0x50ca47){var _0x32eb2b=_0x5ca6da;const _0x13ded2=_0xfcbf1d[_0x32eb2b(0x322)]()+'/-/object/-/batch_allowed',_0x48511a=_0x27b2d3[_0x32eb2b(0x1c8)]((_0x509dbf,_0x2c0cf0)=>{var _0x43f622=_0x32eb2b;const {unitID:_0x481f3e,objectID:_0x1a7aae,objectType:_0x326fc5,actions:_0x13084f}=_0x2c0cf0;return _0x509dbf[_0x481f3e]||(_0x509dbf[_0x481f3e]={}),_0x509dbf[_0x481f3e][_0x1a7aae]||(_0x509dbf[_0x481f3e][_0x1a7aae]={'objectID':_0x1a7aae,'objectType':_0x326fc5,'actions':[]}),_0x509dbf[_0x481f3e][_0x1a7aae]['actions'][_0x43f622(0x139)](..._0x13084f),_0x509dbf;},{}),_0x3fd785=[];for(const _0x4db1a5 in _0x48511a)for(const _0x46a4ca in _0x48511a[_0x4db1a5]){const {actions:_0x4b7457,objectType:_0x49f00e}=_0x48511a[_0x4db1a5][_0x46a4ca],_0x30ece8=[...new Set(_0x4b7457)];_0x3fd785[_0x32eb2b(0x139)]({'unitID':_0x4db1a5,'objectID':_0x46a4ca,'objectType':_0x49f00e,'actions':_0x30ece8});}return new _0x1b0b18[(_0x32eb2b(0x9e))]('POST',_0x13ded2,{'headers':_0x50ca47[_0x32eb2b(0x2be)],'withCredentials':_0x50ca47[_0x32eb2b(0x3f1)],'responseType':_0x50ca47['responseType'],'body':{'requests':_0x3fd785}});}},{'distributeResult'(_0x57b279,_0x208710){var _0x30e812=_0x5ca6da;const {objectActions:_0x3199f7}=_0x57b279;return _0x208710[_0x30e812(0xb5)](_0x5d9843=>{var _0x1e0ac6=_0x30e812;const {unitID:_0xa68185,objectID:_0x162680,actions:_0x38ba66}=_0x5d9843,_0x252275=_0x3199f7[_0x1e0ac6(0x280)](_0x493b0e=>_0x493b0e[_0x1e0ac6(0x194)]===_0xa68185&&_0x493b0e[_0x1e0ac6(0x25f)]===_0x162680),_0x21583c=_0x38ba66[_0x1e0ac6(0xb5)](_0x272895=>_0x252275==null?void 0x0:_0x252275[_0x1e0ac6(0x163)][_0x1e0ac6(0x280)](_0x35c817=>_0x35c817[_0x1e0ac6(0x146)]===_0x272895))['filter'](_0x11b1c4=>!!_0x11b1c4);return{'config':_0x5d9843,'result':{'actions':_0x21583c,'error':_0x57b279['error']}};});}})}));}[_0x46a189(0x322)](){var _0x429527=_0x46a189,_0x9654bd;const _0x544d2c=this[_0x429527(0xad)][_0x429527(0x2a2)](_0x4f0c7a);return(_0x9654bd=_0x544d2c==null?void 0x0:_0x544d2c[_0x429527(0x237)])!=null?_0x9654bd:_0xa7fa46;}async[_0x46a189(0x144)](_0x455972){var _0x346473=_0x46a189;const _0x49f638=this[_0x346473(0x322)]()+'/'+_0x455972[_0x346473(0x18a)]+_0x346473(0xc2);return(await this[_0x346473(0x179)][_0x346473(0x26a)](_0x49f638,{'body':_0x455972}))[_0x346473(0x2cf)]['objectID']||'';}async[_0x46a189(0x279)](_0x20bf6c){var _0x1bbb9c=_0x46a189;const _0x3fea84=this[_0x1bbb9c(0x322)]()+'/-/object/list';return(await this[_0x1bbb9c(0x179)][_0x1bbb9c(0x26a)](_0x3fea84,{'body':_0x20bf6c}))['body']['objects'];}async['update'](_0x490441){var _0x2f06c9=_0x46a189,_0x4b5e6a,_0x1966dc;const _0x26dfd7=this[_0x2f06c9(0x322)]()+'/'+_0x490441[_0x2f06c9(0x18a)]+_0x2f06c9(0x427)+_0x490441[_0x2f06c9(0x25f)],_0x2c5c65=await this['_HTTPService'][_0x2f06c9(0x3e6)](_0x26dfd7,{'body':_0x490441});if(((_0x1966dc=(_0x4b5e6a=_0x2c5c65==null?void 0x0:_0x2c5c65['body'])==null?void 0x0:_0x4b5e6a[_0x2f06c9(0x157)])==null?void 0x0:_0x1966dc[_0x2f06c9(0x2c3)])!==0x1)throw new Error(_0x2f06c9(0x332));}async['allowed'](_0x429f1a){var _0x4fcece=_0x46a189;const _0x267b4b=this[_0x4fcece(0x322)]()+'/'+_0x429f1a['objectType']+_0x4fcece(0x427)+_0x429f1a[_0x4fcece(0x25f)]+_0x4fcece(0x36e);return(await this[_0x4fcece(0x179)]['post'](_0x267b4b,{'body':_0x429f1a}))[_0x4fcece(0x2cf)][_0x4fcece(0x163)];}async[_0x46a189(0x117)](_0x47f394){var _0xc3dd5d=_0x46a189;const _0x4144f4=this[_0xc3dd5d(0x322)]()+_0xc3dd5d(0x360);return(await this[_0xc3dd5d(0x179)][_0xc3dd5d(0x26a)](_0x4144f4,{'body':{'requests':_0x47f394}}))['body'][_0xc3dd5d(0x14d)];}async[_0x46a189(0x15f)](_0x3add96){var _0xbfd2f8=_0x46a189;const _0x3a861c=this[_0xbfd2f8(0x322)]()+'/'+_0x3add96[_0xbfd2f8(0x18a)]+'/role',_0x31bd29=await this[_0xbfd2f8(0x179)][_0xbfd2f8(0x26a)](_0x3a861c,{'body':_0x3add96});return{'roles':_0x31bd29[_0xbfd2f8(0x2cf)][_0xbfd2f8(0x39c)],'actions':_0x31bd29[_0xbfd2f8(0x2cf)]['actions']};}async['deleteCollaborator'](_0x49ecf1){var _0x54334a=_0x46a189;const _0x74ec34=this[_0x54334a(0x322)]()+_0x54334a(0x383);await this[_0x54334a(0x179)]['delete'](_0x74ec34,{'params':{'collaboratorID':_0x49ecf1[_0x54334a(0xd3)],'objectID':_0x49ecf1[_0x54334a(0x25f)],'unitID':_0x49ecf1[_0x54334a(0x194)]}});}async[_0x46a189(0x167)](_0x22a81a){var _0x250bd3=_0x46a189;const _0x10fb7f=this[_0x250bd3(0x322)]()+_0x250bd3(0x383);await this[_0x250bd3(0x179)][_0x250bd3(0x2d8)](_0x10fb7f,{'body':_0x22a81a});}async[_0x46a189(0x9d)](_0x4f2593){var _0x303689=_0x46a189;const _0x220f76=this[_0x303689(0x322)]()+_0x303689(0x383);await this[_0x303689(0x179)]['post'](_0x220f76,{'body':_0x4f2593});}async[_0x46a189(0x3e4)](_0x58824a){var _0x206f0d=_0x46a189;const _0x136d5d=this[_0x206f0d(0x322)]()+'/collaborator';return(await this[_0x206f0d(0x179)][_0x206f0d(0x3aa)](_0x136d5d,{'params':{'objectID':_0x58824a[_0x206f0d(0x25f)],'unitID':_0x58824a['unitID']}}))[_0x206f0d(0x2cf)][_0x206f0d(0x38e)];}async['putCollaborators'](_0x56c010){var _0x40e75d=_0x46a189;const _0xdd1785=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x40e75d(0x179)][_0x40e75d(0x3e6)](_0xdd1785,{'body':_0x56c010});}},_0x247d18[_0x46a189(0x404)]=_0x4a2d78([_0x1a822f(0x0,_0x112078['Inject'](_0x1b0b18['HTTPService'])),_0x1a822f(0x1,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x22f)]))],_0x247d18[_0x46a189(0x404)]);var _0x4ed974=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x2577ba(_0x49ed25){var _0x2f86ce=_0x46a189;return _0x49ed25&&_0x49ed25['__esModule']&&Object['prototype'][_0x2f86ce(0x138)][_0x2f86ce(0x3f2)](_0x49ed25,'default')?_0x49ed25[_0x2f86ce(0xf7)]:_0x49ed25;}var _0x12cccc={'exports':{}};function _0x1aa7ab(_0x1679d4){var _0x593c70=_0x46a189;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1679d4+_0x593c70(0x33b));}var _0x2cc2eb={'exports':{}},_0xae656c=_0x2cc2eb['exports'],_0x23a4d6;function _0x10f252(){var _0x9d089b=_0x46a189;return _0x23a4d6||(_0x23a4d6=0x1,function(_0x40eda3,_0x5c1c36){(function(_0x407356,_0x3b7640){_0x40eda3['exports']=_0x3b7640();}(_0xae656c,function(){var _0x1744d6=_0x1744d6||function(_0xe0b69d,_0x2c8e3a){var _0x5f437f=_0x532f,_0x17c1fa;if(typeof window<'u'&&window[_0x5f437f(0x12b)]&&(_0x17c1fa=window[_0x5f437f(0x12b)]),typeof self<'u'&&self[_0x5f437f(0x12b)]&&(_0x17c1fa=self[_0x5f437f(0x12b)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x17c1fa=globalThis[_0x5f437f(0x12b)]),!_0x17c1fa&&typeof window<'u'&&window[_0x5f437f(0x37c)]&&(_0x17c1fa=window[_0x5f437f(0x37c)]),!_0x17c1fa&&typeof _0x4ed974<'u'&&_0x4ed974[_0x5f437f(0x12b)]&&(_0x17c1fa=_0x4ed974[_0x5f437f(0x12b)]),!_0x17c1fa&&typeof _0x1aa7ab==_0x5f437f(0x127))try{_0x17c1fa=require('crypto');}catch{}var _0x1b492a=function(){var _0x468de3=_0x5f437f;if(_0x17c1fa){if(typeof _0x17c1fa['getRandomValues']==_0x468de3(0x127))try{return _0x17c1fa[_0x468de3(0x2bb)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x17c1fa['randomBytes']==_0x468de3(0x127))try{return _0x17c1fa[_0x468de3(0x1b3)](0x4)[_0x468de3(0x19d)]();}catch{}}throw new Error(_0x468de3(0x411));},_0x3ec6a2=Object[_0x5f437f(0x144)]||(function(){function _0xe2cd12(){}return function(_0x5986ae){var _0x1e9927=_0x532f,_0x48f699;return _0xe2cd12[_0x1e9927(0x425)]=_0x5986ae,_0x48f699=new _0xe2cd12(),_0xe2cd12[_0x1e9927(0x425)]=null,_0x48f699;};}()),_0x46b9ac={},_0x5dd9ae=_0x46b9ac['lib']={},_0x4ab59a=_0x5dd9ae[_0x5f437f(0x118)]=(function(){return{'extend':function(_0x23bbd7){var _0xf3ccc9=_0x532f,_0x188581=_0x3ec6a2(this);return _0x23bbd7&&_0x188581['mixIn'](_0x23bbd7),(!_0x188581[_0xf3ccc9(0x138)](_0xf3ccc9(0x225))||this[_0xf3ccc9(0x225)]===_0x188581['init'])&&(_0x188581[_0xf3ccc9(0x225)]=function(){var _0x1f60cf=_0xf3ccc9;_0x188581['$super'][_0x1f60cf(0x225)]['apply'](this,arguments);}),_0x188581['init']['prototype']=_0x188581,_0x188581[_0xf3ccc9(0x39b)]=this,_0x188581;},'create':function(){var _0x3159a6=_0x532f,_0xf23265=this['extend']();return _0xf23265[_0x3159a6(0x225)][_0x3159a6(0xcd)](_0xf23265,arguments),_0xf23265;},'init':function(){},'mixIn':function(_0x4bbeb){var _0x17907e=_0x532f;for(var _0x2f1a9a in _0x4bbeb)_0x4bbeb[_0x17907e(0x138)](_0x2f1a9a)&&(this[_0x2f1a9a]=_0x4bbeb[_0x2f1a9a]);_0x4bbeb[_0x17907e(0x138)](_0x17907e(0x142))&&(this[_0x17907e(0x142)]=_0x4bbeb[_0x17907e(0x142)]);},'clone':function(){var _0x4a6a79=_0x532f;return this[_0x4a6a79(0x225)]['prototype'][_0x4a6a79(0x357)](this);}};}()),_0x290000=_0x5dd9ae[_0x5f437f(0xe4)]=_0x4ab59a[_0x5f437f(0x357)]({'init':function(_0x3722cd,_0x419900){var _0x5c4f92=_0x5f437f;_0x3722cd=this[_0x5c4f92(0xd6)]=_0x3722cd||[],_0x419900!=_0x2c8e3a?this[_0x5c4f92(0x3a0)]=_0x419900:this[_0x5c4f92(0x3a0)]=_0x3722cd[_0x5c4f92(0x86)]*0x4;},'toString':function(_0x343a9d){var _0x48dd1e=_0x5f437f;return(_0x343a9d||_0x3e2458)[_0x48dd1e(0x27f)](this);},'concat':function(_0x13bea7){var _0x26f2b5=_0x5f437f,_0x45dd00=this['words'],_0x46778a=_0x13bea7[_0x26f2b5(0xd6)],_0x1177f6=this[_0x26f2b5(0x3a0)],_0x36fa37=_0x13bea7['sigBytes'];if(this[_0x26f2b5(0x310)](),_0x1177f6%0x4)for(var _0x4e2495=0x0;_0x4e2495<_0x36fa37;_0x4e2495++){var _0x2a5c01=_0x46778a[_0x4e2495>>>0x2]>>>0x18-_0x4e2495%0x4*0x8&0xff;_0x45dd00[_0x1177f6+_0x4e2495>>>0x2]|=_0x2a5c01<<0x18-(_0x1177f6+_0x4e2495)%0x4*0x8;}else{for(var _0x13f64f=0x0;_0x13f64f<_0x36fa37;_0x13f64f+=0x4)_0x45dd00[_0x1177f6+_0x13f64f>>>0x2]=_0x46778a[_0x13f64f>>>0x2];}return this['sigBytes']+=_0x36fa37,this;},'clamp':function(){var _0x4f84f7=_0x5f437f,_0x297b2f=this[_0x4f84f7(0xd6)],_0x5518b5=this['sigBytes'];_0x297b2f[_0x5518b5>>>0x2]&=0xffffffff<<0x20-_0x5518b5%0x4*0x8,_0x297b2f[_0x4f84f7(0x86)]=_0xe0b69d['ceil'](_0x5518b5/0x4);},'clone':function(){var _0x2e6cb0=_0x5f437f,_0x19ad73=_0x4ab59a['clone'][_0x2e6cb0(0x3f2)](this);return _0x19ad73[_0x2e6cb0(0xd6)]=this[_0x2e6cb0(0xd6)][_0x2e6cb0(0x16e)](0x0),_0x19ad73;},'random':function(_0xc1048d){var _0x2faae1=_0x5f437f;for(var _0x2ae013=[],_0x17e954=0x0;_0x17e954<_0xc1048d;_0x17e954+=0x4)_0x2ae013[_0x2faae1(0x139)](_0x1b492a());return new _0x290000[(_0x2faae1(0x225))](_0x2ae013,_0xc1048d);}}),_0x1ecb11=_0x46b9ac[_0x5f437f(0x25b)]={},_0x3e2458=_0x1ecb11[_0x5f437f(0xb0)]={'stringify':function(_0x1b98e){var _0x194c1b=_0x5f437f;for(var _0x322bec=_0x1b98e[_0x194c1b(0xd6)],_0x2ac69e=_0x1b98e['sigBytes'],_0x174493=[],_0x36753c=0x0;_0x36753c<_0x2ac69e;_0x36753c++){var _0x743288=_0x322bec[_0x36753c>>>0x2]>>>0x18-_0x36753c%0x4*0x8&0xff;_0x174493['push']((_0x743288>>>0x4)[_0x194c1b(0x142)](0x10)),_0x174493[_0x194c1b(0x139)]((_0x743288&0xf)[_0x194c1b(0x142)](0x10));}return _0x174493[_0x194c1b(0x395)]('');},'parse':function(_0x446568){var _0xa4d59b=_0x5f437f;for(var _0x477543=_0x446568[_0xa4d59b(0x86)],_0x1a44f0=[],_0x3baa14=0x0;_0x3baa14<_0x477543;_0x3baa14+=0x2)_0x1a44f0[_0x3baa14>>>0x3]|=parseInt(_0x446568[_0xa4d59b(0x2cc)](_0x3baa14,0x2),0x10)<<0x18-_0x3baa14%0x8*0x4;return new _0x290000[(_0xa4d59b(0x225))](_0x1a44f0,_0x477543/0x2);}},_0x4da516=_0x1ecb11[_0x5f437f(0x296)]={'stringify':function(_0x405df8){var _0x593d0f=_0x5f437f;for(var _0x40f5a9=_0x405df8[_0x593d0f(0xd6)],_0x5ab703=_0x405df8[_0x593d0f(0x3a0)],_0x37bc22=[],_0x5be502=0x0;_0x5be502<_0x5ab703;_0x5be502++){var _0x3b7b3e=_0x40f5a9[_0x5be502>>>0x2]>>>0x18-_0x5be502%0x4*0x8&0xff;_0x37bc22['push'](String[_0x593d0f(0x2c9)](_0x3b7b3e));}return _0x37bc22['join']('');},'parse':function(_0xca0b8e){var _0x197de5=_0x5f437f;for(var _0x5474ed=_0xca0b8e['length'],_0x5c1d59=[],_0x2f61f8=0x0;_0x2f61f8<_0x5474ed;_0x2f61f8++)_0x5c1d59[_0x2f61f8>>>0x2]|=(_0xca0b8e[_0x197de5(0x385)](_0x2f61f8)&0xff)<<0x18-_0x2f61f8%0x4*0x8;return new _0x290000[(_0x197de5(0x225))](_0x5c1d59,_0x5474ed);}},_0x2540cf=_0x1ecb11[_0x5f437f(0x217)]={'stringify':function(_0x3d162e){var _0x346c45=_0x5f437f;try{return decodeURIComponent(escape(_0x4da516[_0x346c45(0x27f)](_0x3d162e)));}catch{throw new Error(_0x346c45(0x335));}},'parse':function(_0x152162){var _0x1a5ef8=_0x5f437f;return _0x4da516[_0x1a5ef8(0x390)](unescape(encodeURIComponent(_0x152162)));}},_0x8bbeaa=_0x5dd9ae[_0x5f437f(0x291)]=_0x4ab59a[_0x5f437f(0x357)]({'reset':function(){var _0x5247c8=_0x5f437f;this[_0x5247c8(0x3de)]=new _0x290000[(_0x5247c8(0x225))](),this[_0x5247c8(0x99)]=0x0;},'_append':function(_0x6748a7){var _0x56c281=_0x5f437f;typeof _0x6748a7==_0x56c281(0xec)&&(_0x6748a7=_0x2540cf[_0x56c281(0x390)](_0x6748a7)),this[_0x56c281(0x3de)][_0x56c281(0x3b0)](_0x6748a7),this['_nDataBytes']+=_0x6748a7[_0x56c281(0x3a0)];},'_process':function(_0x3a214){var _0x4303e2=_0x5f437f,_0xf7e441,_0x56a39c=this[_0x4303e2(0x3de)],_0x3e7a6d=_0x56a39c[_0x4303e2(0xd6)],_0x2fc6d7=_0x56a39c[_0x4303e2(0x3a0)],_0x28bae6=this['blockSize'],_0x4abad8=_0x28bae6*0x4,_0x2a2277=_0x2fc6d7/_0x4abad8;_0x3a214?_0x2a2277=_0xe0b69d[_0x4303e2(0x245)](_0x2a2277):_0x2a2277=_0xe0b69d[_0x4303e2(0x26d)]((_0x2a2277|0x0)-this['_minBufferSize'],0x0);var _0x3c6d3c=_0x2a2277*_0x28bae6,_0xca05f0=_0xe0b69d[_0x4303e2(0x17a)](_0x3c6d3c*0x4,_0x2fc6d7);if(_0x3c6d3c){for(var _0x56aa3d=0x0;_0x56aa3d<_0x3c6d3c;_0x56aa3d+=_0x28bae6)this[_0x4303e2(0x3ff)](_0x3e7a6d,_0x56aa3d);_0xf7e441=_0x3e7a6d['splice'](0x0,_0x3c6d3c),_0x56a39c[_0x4303e2(0x3a0)]-=_0xca05f0;}return new _0x290000[(_0x4303e2(0x225))](_0xf7e441,_0xca05f0);},'clone':function(){var _0x22ec2f=_0x5f437f,_0x3f6871=_0x4ab59a[_0x22ec2f(0x184)][_0x22ec2f(0x3f2)](this);return _0x3f6871[_0x22ec2f(0x3de)]=this[_0x22ec2f(0x3de)][_0x22ec2f(0x184)](),_0x3f6871;},'_minBufferSize':0x0});_0x5dd9ae[_0x5f437f(0xde)]=_0x8bbeaa['extend']({'cfg':_0x4ab59a[_0x5f437f(0x357)](),'init':function(_0x332c4b){var _0x3f0fb1=_0x5f437f;this['cfg']=this[_0x3f0fb1(0x259)]['extend'](_0x332c4b),this[_0x3f0fb1(0xae)]();},'reset':function(){var _0x1c5710=_0x5f437f;_0x8bbeaa[_0x1c5710(0xae)][_0x1c5710(0x3f2)](this),this['_doReset']();},'update':function(_0x20cbf8){var _0x4b9d1e=_0x5f437f;return this[_0x4b9d1e(0x1ac)](_0x20cbf8),this[_0x4b9d1e(0x27a)](),this;},'finalize':function(_0x446849){var _0x209ef4=_0x5f437f;_0x446849&&this[_0x209ef4(0x1ac)](_0x446849);var _0xe4b67e=this[_0x209ef4(0x176)]();return _0xe4b67e;},'blockSize':0x10,'_createHelper':function(_0x509bf3){return function(_0x2824bb,_0x6138ef){var _0x156337=_0x532f;return new _0x509bf3[(_0x156337(0x225))](_0x6138ef)[_0x156337(0x40b)](_0x2824bb);};},'_createHmacHelper':function(_0x7c5d5a){return function(_0x59928c,_0x475dd8){var _0x4341ff=_0x532f;return new _0x1de18c[(_0x4341ff(0x240))][(_0x4341ff(0x225))](_0x7c5d5a,_0x475dd8)[_0x4341ff(0x40b)](_0x59928c);};}});var _0x1de18c=_0x46b9ac[_0x5f437f(0x399)]={};return _0x46b9ac;}(Math);return _0x1744d6;}));}(_0x2cc2eb)),_0x2cc2eb[_0x9d089b(0x2a3)];}var _0x5e9580={'exports':{}},_0x36c3ec=_0x5e9580['exports'],_0x421702;function _0x2ea24d(){return _0x421702||(_0x421702=0x1,function(_0x24122d,_0x5c977d){(function(_0x10b78e,_0x36dac7){var _0x29f9a6=_0x532f;_0x24122d[_0x29f9a6(0x2a3)]=_0x36dac7(_0x10f252());}(_0x36c3ec,function(_0x445774){var _0x16dd7c=_0x532f;return(function(){var _0x4bbc19=_0x532f,_0x27ed06=_0x445774,_0x876224=_0x27ed06[_0x4bbc19(0x1ca)],_0x3d6632=_0x876224[_0x4bbc19(0xe4)],_0x19aeb6=_0x27ed06['enc'];_0x19aeb6['Base64']={'stringify':function(_0x62b609){var _0x7e05bd=_0x4bbc19,_0x1c98ef=_0x62b609[_0x7e05bd(0xd6)],_0x4ba96=_0x62b609['sigBytes'],_0x5807f5=this[_0x7e05bd(0x2b0)];_0x62b609[_0x7e05bd(0x310)]();for(var _0x2a1210=[],_0x3728d2=0x0;_0x3728d2<_0x4ba96;_0x3728d2+=0x3)for(var _0x62a4ec=_0x1c98ef[_0x3728d2>>>0x2]>>>0x18-_0x3728d2%0x4*0x8&0xff,_0x391ea1=_0x1c98ef[_0x3728d2+0x1>>>0x2]>>>0x18-(_0x3728d2+0x1)%0x4*0x8&0xff,_0x5fea58=_0x1c98ef[_0x3728d2+0x2>>>0x2]>>>0x18-(_0x3728d2+0x2)%0x4*0x8&0xff,_0x5a9387=_0x62a4ec<<0x10|_0x391ea1<<0x8|_0x5fea58,_0x2c4dd5=0x0;_0x2c4dd5<0x4&&_0x3728d2+_0x2c4dd5*0.75<_0x4ba96;_0x2c4dd5++)_0x2a1210[_0x7e05bd(0x139)](_0x5807f5[_0x7e05bd(0x3a6)](_0x5a9387>>>0x6*(0x3-_0x2c4dd5)&0x3f));var _0x28f161=_0x5807f5[_0x7e05bd(0x3a6)](0x40);if(_0x28f161){for(;_0x2a1210[_0x7e05bd(0x86)]%0x4;)_0x2a1210['push'](_0x28f161);}return _0x2a1210[_0x7e05bd(0x395)]('');},'parse':function(_0x59866b){var _0x50430e=_0x4bbc19,_0x5c5f83=_0x59866b[_0x50430e(0x86)],_0x2661c9=this[_0x50430e(0x2b0)],_0x5e9c71=this['_reverseMap'];if(!_0x5e9c71){_0x5e9c71=this[_0x50430e(0x38a)]=[];for(var _0x4b74be=0x0;_0x4b74be<_0x2661c9[_0x50430e(0x86)];_0x4b74be++)_0x5e9c71[_0x2661c9[_0x50430e(0x385)](_0x4b74be)]=_0x4b74be;}var _0x23b6a9=_0x2661c9[_0x50430e(0x3a6)](0x40);if(_0x23b6a9){var _0x384c05=_0x59866b[_0x50430e(0xca)](_0x23b6a9);_0x384c05!==-0x1&&(_0x5c5f83=_0x384c05);}return _0x4cca7b(_0x59866b,_0x5c5f83,_0x5e9c71);},'_map':_0x4bbc19(0x3cc)};function _0x4cca7b(_0x3bc865,_0x2a2b03,_0x393580){var _0x18c7b3=_0x4bbc19;for(var _0x5b308f=[],_0x4089f8=0x0,_0x7b29df=0x0;_0x7b29df<_0x2a2b03;_0x7b29df++)if(_0x7b29df%0x4){var _0x5f1df0=_0x393580[_0x3bc865[_0x18c7b3(0x385)](_0x7b29df-0x1)]<<_0x7b29df%0x4*0x2,_0x2f697c=_0x393580[_0x3bc865['charCodeAt'](_0x7b29df)]>>>0x6-_0x7b29df%0x4*0x2,_0x44e017=_0x5f1df0|_0x2f697c;_0x5b308f[_0x4089f8>>>0x2]|=_0x44e017<<0x18-_0x4089f8%0x4*0x8,_0x4089f8++;}return _0x3d6632['create'](_0x5b308f,_0x4089f8);}}()),_0x445774[_0x16dd7c(0x25b)][_0x16dd7c(0x115)];}));}(_0x5e9580)),_0x5e9580['exports'];}var _0x342287={'exports':{}},_0x36ae9d=_0x342287[_0x46a189(0x2a3)],_0x7fdac5;function _0xda11a2(){var _0x5d5de3=_0x46a189;return _0x7fdac5||(_0x7fdac5=0x1,function(_0x24645c,_0x1a00f2){(function(_0x4685a9,_0x358792){var _0x2996b2=_0x532f;_0x24645c[_0x2996b2(0x2a3)]=_0x358792(_0x10f252());}(_0x36ae9d,function(_0x3bfd84){var _0x975bdd=_0x532f;return function(_0x86fcc4){var _0x297ce5=_0x532f,_0x2e2faa=_0x3bfd84,_0x1fb80b=_0x2e2faa[_0x297ce5(0x1ca)],_0x3c9167=_0x1fb80b['WordArray'],_0x43dcf2=_0x1fb80b[_0x297ce5(0xde)],_0x27081b=_0x2e2faa[_0x297ce5(0x399)],_0x406ef5=[];(function(){var _0x8fbf7e=_0x297ce5;for(var _0x191717=0x0;_0x191717<0x40;_0x191717++)_0x406ef5[_0x191717]=_0x86fcc4[_0x8fbf7e(0x3d0)](_0x86fcc4[_0x8fbf7e(0x361)](_0x191717+0x1))*0x100000000|0x0;}());var _0x4d5971=_0x27081b['MD5']=_0x43dcf2[_0x297ce5(0x357)]({'_doReset':function(){var _0x15f925=_0x297ce5;this[_0x15f925(0x262)]=new _0x3c9167['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x471cfb,_0x1c8571){var _0x48bdd9=_0x297ce5;for(var _0x13a423=0x0;_0x13a423<0x10;_0x13a423++){var _0x26f132=_0x1c8571+_0x13a423,_0x1eeb1a=_0x471cfb[_0x26f132];_0x471cfb[_0x26f132]=(_0x1eeb1a<<0x8|_0x1eeb1a>>>0x18)&0xff00ff|(_0x1eeb1a<<0x18|_0x1eeb1a>>>0x8)&0xff00ff00;}var _0x290463=this[_0x48bdd9(0x262)][_0x48bdd9(0xd6)],_0x1fa8f5=_0x471cfb[_0x1c8571+0x0],_0x1cf97c=_0x471cfb[_0x1c8571+0x1],_0x22c7f4=_0x471cfb[_0x1c8571+0x2],_0x5b6abd=_0x471cfb[_0x1c8571+0x3],_0x435b56=_0x471cfb[_0x1c8571+0x4],_0xf023ba=_0x471cfb[_0x1c8571+0x5],_0x24af45=_0x471cfb[_0x1c8571+0x6],_0x184785=_0x471cfb[_0x1c8571+0x7],_0x2429fe=_0x471cfb[_0x1c8571+0x8],_0x365c16=_0x471cfb[_0x1c8571+0x9],_0x4581d6=_0x471cfb[_0x1c8571+0xa],_0x2780b9=_0x471cfb[_0x1c8571+0xb],_0x5ede7f=_0x471cfb[_0x1c8571+0xc],_0x16bcba=_0x471cfb[_0x1c8571+0xd],_0x5a3917=_0x471cfb[_0x1c8571+0xe],_0x538047=_0x471cfb[_0x1c8571+0xf],_0x1d0eea=_0x290463[0x0],_0x2f7d86=_0x290463[0x1],_0x59fd8e=_0x290463[0x2],_0x9e2461=_0x290463[0x3];_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1fa8f5,0x7,_0x406ef5[0x0]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x1cf97c,0xc,_0x406ef5[0x1]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x22c7f4,0x11,_0x406ef5[0x2]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x5b6abd,0x16,_0x406ef5[0x3]),_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x435b56,0x7,_0x406ef5[0x4]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0xf023ba,0xc,_0x406ef5[0x5]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x24af45,0x11,_0x406ef5[0x6]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x184785,0x16,_0x406ef5[0x7]),_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x2429fe,0x7,_0x406ef5[0x8]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x365c16,0xc,_0x406ef5[0x9]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x4581d6,0x11,_0x406ef5[0xa]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2780b9,0x16,_0x406ef5[0xb]),_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x5ede7f,0x7,_0x406ef5[0xc]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x16bcba,0xc,_0x406ef5[0xd]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5a3917,0x11,_0x406ef5[0xe]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x538047,0x16,_0x406ef5[0xf]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1cf97c,0x5,_0x406ef5[0x10]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x24af45,0x9,_0x406ef5[0x11]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x2780b9,0xe,_0x406ef5[0x12]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x1fa8f5,0x14,_0x406ef5[0x13]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0xf023ba,0x5,_0x406ef5[0x14]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x4581d6,0x9,_0x406ef5[0x15]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x538047,0xe,_0x406ef5[0x16]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x435b56,0x14,_0x406ef5[0x17]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x365c16,0x5,_0x406ef5[0x18]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x5a3917,0x9,_0x406ef5[0x19]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5b6abd,0xe,_0x406ef5[0x1a]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2429fe,0x14,_0x406ef5[0x1b]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x16bcba,0x5,_0x406ef5[0x1c]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x22c7f4,0x9,_0x406ef5[0x1d]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x184785,0xe,_0x406ef5[0x1e]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x5ede7f,0x14,_0x406ef5[0x1f]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0xf023ba,0x4,_0x406ef5[0x20]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x2429fe,0xb,_0x406ef5[0x21]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x2780b9,0x10,_0x406ef5[0x22]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x5a3917,0x17,_0x406ef5[0x23]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1cf97c,0x4,_0x406ef5[0x24]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x435b56,0xb,_0x406ef5[0x25]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x184785,0x10,_0x406ef5[0x26]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x4581d6,0x17,_0x406ef5[0x27]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x16bcba,0x4,_0x406ef5[0x28]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x1fa8f5,0xb,_0x406ef5[0x29]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5b6abd,0x10,_0x406ef5[0x2a]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x24af45,0x17,_0x406ef5[0x2b]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x365c16,0x4,_0x406ef5[0x2c]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x5ede7f,0xb,_0x406ef5[0x2d]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x538047,0x10,_0x406ef5[0x2e]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x22c7f4,0x17,_0x406ef5[0x2f]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1fa8f5,0x6,_0x406ef5[0x30]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x184785,0xa,_0x406ef5[0x31]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5a3917,0xf,_0x406ef5[0x32]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0xf023ba,0x15,_0x406ef5[0x33]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x5ede7f,0x6,_0x406ef5[0x34]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x5b6abd,0xa,_0x406ef5[0x35]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x4581d6,0xf,_0x406ef5[0x36]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x1cf97c,0x15,_0x406ef5[0x37]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x2429fe,0x6,_0x406ef5[0x38]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x538047,0xa,_0x406ef5[0x39]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x24af45,0xf,_0x406ef5[0x3a]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x16bcba,0x15,_0x406ef5[0x3b]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x435b56,0x6,_0x406ef5[0x3c]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x2780b9,0xa,_0x406ef5[0x3d]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x22c7f4,0xf,_0x406ef5[0x3e]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x365c16,0x15,_0x406ef5[0x3f]),_0x290463[0x0]=_0x290463[0x0]+_0x1d0eea|0x0,_0x290463[0x1]=_0x290463[0x1]+_0x2f7d86|0x0,_0x290463[0x2]=_0x290463[0x2]+_0x59fd8e|0x0,_0x290463[0x3]=_0x290463[0x3]+_0x9e2461|0x0;},'_doFinalize':function(){var _0x1278f6=_0x297ce5,_0x5b90b3=this[_0x1278f6(0x3de)],_0x5c7509=_0x5b90b3[_0x1278f6(0xd6)],_0x50be0a=this[_0x1278f6(0x99)]*0x8,_0x404702=_0x5b90b3[_0x1278f6(0x3a0)]*0x8;_0x5c7509[_0x404702>>>0x5]|=0x80<<0x18-_0x404702%0x20;var _0x3ca141=_0x86fcc4[_0x1278f6(0x123)](_0x50be0a/0x100000000),_0x27e5a3=_0x50be0a;_0x5c7509[(_0x404702+0x40>>>0x9<<0x4)+0xf]=(_0x3ca141<<0x8|_0x3ca141>>>0x18)&0xff00ff|(_0x3ca141<<0x18|_0x3ca141>>>0x8)&0xff00ff00,_0x5c7509[(_0x404702+0x40>>>0x9<<0x4)+0xe]=(_0x27e5a3<<0x8|_0x27e5a3>>>0x18)&0xff00ff|(_0x27e5a3<<0x18|_0x27e5a3>>>0x8)&0xff00ff00,_0x5b90b3[_0x1278f6(0x3a0)]=(_0x5c7509[_0x1278f6(0x86)]+0x1)*0x4,this[_0x1278f6(0x27a)]();for(var _0x1d74ee=this[_0x1278f6(0x262)],_0x1a6f51=_0x1d74ee[_0x1278f6(0xd6)],_0xeac78f=0x0;_0xeac78f<0x4;_0xeac78f++){var _0x2db9ea=_0x1a6f51[_0xeac78f];_0x1a6f51[_0xeac78f]=(_0x2db9ea<<0x8|_0x2db9ea>>>0x18)&0xff00ff|(_0x2db9ea<<0x18|_0x2db9ea>>>0x8)&0xff00ff00;}return _0x1d74ee;},'clone':function(){var _0x1e242d=_0x297ce5,_0x4ee524=_0x43dcf2[_0x1e242d(0x184)][_0x1e242d(0x3f2)](this);return _0x4ee524[_0x1e242d(0x262)]=this[_0x1e242d(0x262)]['clone'](),_0x4ee524;}});function _0x401850(_0xe16463,_0x63a854,_0xe71591,_0x22add8,_0x31bafb,_0x12d243,_0x1b3812){var _0x3ae620=_0xe16463+(_0x63a854&_0xe71591|~_0x63a854&_0x22add8)+_0x31bafb+_0x1b3812;return(_0x3ae620<<_0x12d243|_0x3ae620>>>0x20-_0x12d243)+_0x63a854;}function _0x1dd239(_0x224b90,_0x176c4c,_0x487a9b,_0x1aa548,_0x1e2cbe,_0x29724f,_0x55dcea){var _0x57835f=_0x224b90+(_0x176c4c&_0x1aa548|_0x487a9b&~_0x1aa548)+_0x1e2cbe+_0x55dcea;return(_0x57835f<<_0x29724f|_0x57835f>>>0x20-_0x29724f)+_0x176c4c;}function _0x1117eb(_0x24dde9,_0x53e24e,_0xd73c9,_0x89eda5,_0x35ccaa,_0x29c26b,_0x380d30){var _0x8b1e7b=_0x24dde9+(_0x53e24e^_0xd73c9^_0x89eda5)+_0x35ccaa+_0x380d30;return(_0x8b1e7b<<_0x29c26b|_0x8b1e7b>>>0x20-_0x29c26b)+_0x53e24e;}function _0x4c0b37(_0x581c19,_0x3c7e56,_0x97e040,_0x34a63c,_0x4d3b99,_0x2de15b,_0x849ffd){var _0x3d8efd=_0x581c19+(_0x97e040^(_0x3c7e56|~_0x34a63c))+_0x4d3b99+_0x849ffd;return(_0x3d8efd<<_0x2de15b|_0x3d8efd>>>0x20-_0x2de15b)+_0x3c7e56;}_0x2e2faa[_0x297ce5(0x19e)]=_0x43dcf2['_createHelper'](_0x4d5971),_0x2e2faa[_0x297ce5(0x101)]=_0x43dcf2[_0x297ce5(0x318)](_0x4d5971);}(Math),_0x3bfd84[_0x975bdd(0x19e)];}));}(_0x342287)),_0x342287[_0x5d5de3(0x2a3)];}var _0x37193c={'exports':{}},_0x5db7b3={'exports':{}},_0x2e9a09=_0x5db7b3[_0x46a189(0x2a3)],_0x6be86;function _0x16ec76(){return _0x6be86||(_0x6be86=0x1,function(_0x3fc51a,_0x4765eb){(function(_0x36e6dc,_0x4e21c1){var _0x282da8=_0x532f;_0x3fc51a[_0x282da8(0x2a3)]=_0x4e21c1(_0x10f252());}(_0x2e9a09,function(_0x591f86){return(function(){var _0x228588=_0x532f,_0x3d27b6=_0x591f86,_0x138a31=_0x3d27b6[_0x228588(0x1ca)],_0xb4898=_0x138a31[_0x228588(0xe4)],_0xb83018=_0x138a31[_0x228588(0xde)],_0x13c8ac=_0x3d27b6['algo'],_0x1643c1=[],_0x1ae154=_0x13c8ac['SHA1']=_0xb83018[_0x228588(0x357)]({'_doReset':function(){var _0x4e0e19=_0x228588;this[_0x4e0e19(0x262)]=new _0xb4898[(_0x4e0e19(0x225))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x35d9ee,_0x79faf9){var _0x48dec0=_0x228588;for(var _0x3392fc=this['_hash'][_0x48dec0(0xd6)],_0x21b1cd=_0x3392fc[0x0],_0x107397=_0x3392fc[0x1],_0x2e0d33=_0x3392fc[0x2],_0x2cf707=_0x3392fc[0x3],_0x546c4d=_0x3392fc[0x4],_0x17d174=0x0;_0x17d174<0x50;_0x17d174++){if(_0x17d174<0x10)_0x1643c1[_0x17d174]=_0x35d9ee[_0x79faf9+_0x17d174]|0x0;else{var _0x5a6f4b=_0x1643c1[_0x17d174-0x3]^_0x1643c1[_0x17d174-0x8]^_0x1643c1[_0x17d174-0xe]^_0x1643c1[_0x17d174-0x10];_0x1643c1[_0x17d174]=_0x5a6f4b<<0x1|_0x5a6f4b>>>0x1f;}var _0x38173b=(_0x21b1cd<<0x5|_0x21b1cd>>>0x1b)+_0x546c4d+_0x1643c1[_0x17d174];_0x17d174<0x14?_0x38173b+=(_0x107397&_0x2e0d33|~_0x107397&_0x2cf707)+0x5a827999:_0x17d174<0x28?_0x38173b+=(_0x107397^_0x2e0d33^_0x2cf707)+0x6ed9eba1:_0x17d174<0x3c?_0x38173b+=(_0x107397&_0x2e0d33|_0x107397&_0x2cf707|_0x2e0d33&_0x2cf707)-0x70e44324:_0x38173b+=(_0x107397^_0x2e0d33^_0x2cf707)-0x359d3e2a,_0x546c4d=_0x2cf707,_0x2cf707=_0x2e0d33,_0x2e0d33=_0x107397<<0x1e|_0x107397>>>0x2,_0x107397=_0x21b1cd,_0x21b1cd=_0x38173b;}_0x3392fc[0x0]=_0x3392fc[0x0]+_0x21b1cd|0x0,_0x3392fc[0x1]=_0x3392fc[0x1]+_0x107397|0x0,_0x3392fc[0x2]=_0x3392fc[0x2]+_0x2e0d33|0x0,_0x3392fc[0x3]=_0x3392fc[0x3]+_0x2cf707|0x0,_0x3392fc[0x4]=_0x3392fc[0x4]+_0x546c4d|0x0;},'_doFinalize':function(){var _0x7288ca=_0x228588,_0x572478=this[_0x7288ca(0x3de)],_0x382dfe=_0x572478['words'],_0x3c6e9d=this[_0x7288ca(0x99)]*0x8,_0x530de1=_0x572478[_0x7288ca(0x3a0)]*0x8;return _0x382dfe[_0x530de1>>>0x5]|=0x80<<0x18-_0x530de1%0x20,_0x382dfe[(_0x530de1+0x40>>>0x9<<0x4)+0xe]=Math[_0x7288ca(0x123)](_0x3c6e9d/0x100000000),_0x382dfe[(_0x530de1+0x40>>>0x9<<0x4)+0xf]=_0x3c6e9d,_0x572478[_0x7288ca(0x3a0)]=_0x382dfe[_0x7288ca(0x86)]*0x4,this[_0x7288ca(0x27a)](),this['_hash'];},'clone':function(){var _0x309553=_0x228588,_0x3ea30e=_0xb83018[_0x309553(0x184)][_0x309553(0x3f2)](this);return _0x3ea30e[_0x309553(0x262)]=this[_0x309553(0x262)][_0x309553(0x184)](),_0x3ea30e;}});_0x3d27b6[_0x228588(0x168)]=_0xb83018[_0x228588(0x336)](_0x1ae154),_0x3d27b6[_0x228588(0x3be)]=_0xb83018['_createHmacHelper'](_0x1ae154);}()),_0x591f86['SHA1'];}));}(_0x5db7b3)),_0x5db7b3['exports'];}var _0x19d76a={'exports':{}},_0x1c3506=_0x19d76a['exports'],_0x5cabd3;function _0x1d8a3d(){var _0x578398=_0x46a189;return _0x5cabd3||(_0x5cabd3=0x1,function(_0x599ae1,_0x473831){(function(_0x12c6fe,_0x3ac746){var _0x1dc4ab=_0x532f;_0x599ae1[_0x1dc4ab(0x2a3)]=_0x3ac746(_0x10f252());}(_0x1c3506,function(_0x1438d7){(function(){var _0x336939=_0x532f,_0x7f17b6=_0x1438d7,_0x47aeb4=_0x7f17b6[_0x336939(0x1ca)],_0x2c943c=_0x47aeb4[_0x336939(0x118)],_0x2658a9=_0x7f17b6[_0x336939(0x25b)],_0x1f5e30=_0x2658a9[_0x336939(0x217)],_0x33f76a=_0x7f17b6[_0x336939(0x399)];_0x33f76a[_0x336939(0x240)]=_0x2c943c[_0x336939(0x357)]({'init':function(_0x4141d0,_0x106bb2){var _0x180d1e=_0x336939;_0x4141d0=this[_0x180d1e(0x1dc)]=new _0x4141d0['init'](),typeof _0x106bb2==_0x180d1e(0xec)&&(_0x106bb2=_0x1f5e30['parse'](_0x106bb2));var _0x33d054=_0x4141d0[_0x180d1e(0x384)],_0x46fa1e=_0x33d054*0x4;_0x106bb2[_0x180d1e(0x3a0)]>_0x46fa1e&&(_0x106bb2=_0x4141d0[_0x180d1e(0x40b)](_0x106bb2)),_0x106bb2[_0x180d1e(0x310)]();for(var _0x7ac494=this['_oKey']=_0x106bb2[_0x180d1e(0x184)](),_0x2ee453=this[_0x180d1e(0xd8)]=_0x106bb2[_0x180d1e(0x184)](),_0x29d6a9=_0x7ac494[_0x180d1e(0xd6)],_0x346705=_0x2ee453[_0x180d1e(0xd6)],_0xfe33e=0x0;_0xfe33e<_0x33d054;_0xfe33e++)_0x29d6a9[_0xfe33e]^=0x5c5c5c5c,_0x346705[_0xfe33e]^=0x36363636;_0x7ac494['sigBytes']=_0x2ee453[_0x180d1e(0x3a0)]=_0x46fa1e,this[_0x180d1e(0xae)]();},'reset':function(){var _0x2e832b=_0x336939,_0x2f6f7=this[_0x2e832b(0x1dc)];_0x2f6f7['reset'](),_0x2f6f7['update'](this[_0x2e832b(0xd8)]);},'update':function(_0x58a9bd){var _0x5f289f=_0x336939;return this[_0x5f289f(0x1dc)]['update'](_0x58a9bd),this;},'finalize':function(_0x46dc3e){var _0x1c03f4=_0x336939,_0x581afe=this['_hasher'],_0x5aeb82=_0x581afe[_0x1c03f4(0x40b)](_0x46dc3e);_0x581afe['reset']();var _0x3b2eda=_0x581afe[_0x1c03f4(0x40b)](this[_0x1c03f4(0x1aa)][_0x1c03f4(0x184)]()['concat'](_0x5aeb82));return _0x3b2eda;}});}());}));}(_0x19d76a)),_0x19d76a[_0x578398(0x2a3)];}var _0x302572=_0x37193c[_0x46a189(0x2a3)],_0x307f45;function _0x483d34(){var _0x5d8cfa=_0x46a189;return _0x307f45||(_0x307f45=0x1,function(_0x3186ae,_0xe960a8){(function(_0x53ed37,_0x13ee18,_0x5c9a89){var _0x40509c=_0x532f;_0x3186ae[_0x40509c(0x2a3)]=_0x13ee18(_0x10f252(),_0x16ec76(),_0x1d8a3d());}(_0x302572,function(_0xe8325a){return(function(){var _0x3512a6=_0x532f,_0x2f7a2a=_0xe8325a,_0x52e320=_0x2f7a2a[_0x3512a6(0x1ca)],_0xa56e19=_0x52e320[_0x3512a6(0x118)],_0x37983f=_0x52e320[_0x3512a6(0xe4)],_0x39b6f1=_0x2f7a2a[_0x3512a6(0x399)],_0x3e1042=_0x39b6f1['MD5'],_0x4aaab9=_0x39b6f1[_0x3512a6(0x213)]=_0xa56e19[_0x3512a6(0x357)]({'cfg':_0xa56e19['extend']({'keySize':0x80/0x20,'hasher':_0x3e1042,'iterations':0x1}),'init':function(_0x2c568d){var _0x4cf574=_0x3512a6;this[_0x4cf574(0x259)]=this[_0x4cf574(0x259)]['extend'](_0x2c568d);},'compute':function(_0x5d294e,_0x55e7c9){var _0x315db6=_0x3512a6;for(var _0x452296,_0x79abd=this[_0x315db6(0x259)],_0x2a76b6=_0x79abd[_0x315db6(0x35a)][_0x315db6(0x144)](),_0x39edd5=_0x37983f[_0x315db6(0x144)](),_0x32cff9=_0x39edd5[_0x315db6(0xd6)],_0x5b7efb=_0x79abd['keySize'],_0xdc009a=_0x79abd[_0x315db6(0x308)];_0x32cff9[_0x315db6(0x86)]<_0x5b7efb;){_0x452296&&_0x2a76b6[_0x315db6(0x3c9)](_0x452296),_0x452296=_0x2a76b6[_0x315db6(0x3c9)](_0x5d294e)[_0x315db6(0x40b)](_0x55e7c9),_0x2a76b6[_0x315db6(0xae)]();for(var _0x27c182=0x1;_0x27c182<_0xdc009a;_0x27c182++)_0x452296=_0x2a76b6[_0x315db6(0x40b)](_0x452296),_0x2a76b6[_0x315db6(0xae)]();_0x39edd5[_0x315db6(0x3b0)](_0x452296);}return _0x39edd5[_0x315db6(0x3a0)]=_0x5b7efb*0x4,_0x39edd5;}});_0x2f7a2a[_0x3512a6(0x213)]=function(_0x17f055,_0x8b31d9,_0x4d3ed1){var _0x1cd282=_0x3512a6;return _0x4aaab9[_0x1cd282(0x144)](_0x4d3ed1)[_0x1cd282(0x419)](_0x17f055,_0x8b31d9);};}()),_0xe8325a['EvpKDF'];}));}(_0x37193c)),_0x37193c[_0x5d8cfa(0x2a3)];}var _0x1e4111={'exports':{}},_0x1c4120=_0x1e4111[_0x46a189(0x2a3)],_0x5272b4;function _0x2f791f(){return _0x5272b4||(_0x5272b4=0x1,function(_0xd3e8c3,_0x259ed0){(function(_0x48be0e,_0x25045a,_0x18c47e){var _0x27bdb2=_0x532f;_0xd3e8c3[_0x27bdb2(0x2a3)]=_0x25045a(_0x10f252(),_0x483d34());}(_0x1c4120,function(_0x35551e){_0x35551e['lib']['Cipher']||function(_0xbc4d0f){var _0x7619a0=_0x532f,_0x474867=_0x35551e,_0x1da7dc=_0x474867[_0x7619a0(0x1ca)],_0x8daec0=_0x1da7dc[_0x7619a0(0x118)],_0x1f1921=_0x1da7dc[_0x7619a0(0xe4)],_0x67fbad=_0x1da7dc['BufferedBlockAlgorithm'],_0x179783=_0x474867[_0x7619a0(0x25b)];_0x179783[_0x7619a0(0x217)];var _0x51453f=_0x179783[_0x7619a0(0x115)],_0x39c2f1=_0x474867[_0x7619a0(0x399)],_0x53a8d1=_0x39c2f1[_0x7619a0(0x213)],_0x53a236=_0x1da7dc['Cipher']=_0x67fbad[_0x7619a0(0x357)]({'cfg':_0x8daec0[_0x7619a0(0x357)](),'createEncryptor':function(_0x457f00,_0x32f7e7){var _0x48e447=_0x7619a0;return this['create'](this[_0x48e447(0x302)],_0x457f00,_0x32f7e7);},'createDecryptor':function(_0x4f7783,_0x2b403f){var _0x5c961f=_0x7619a0;return this[_0x5c961f(0x144)](this['_DEC_XFORM_MODE'],_0x4f7783,_0x2b403f);},'init':function(_0x369b32,_0x17770a,_0x55560a){var _0x5ccce1=_0x7619a0;this['cfg']=this[_0x5ccce1(0x259)]['extend'](_0x55560a),this[_0x5ccce1(0x8c)]=_0x369b32,this['_key']=_0x17770a,this[_0x5ccce1(0xae)]();},'reset':function(){var _0x17489e=_0x7619a0;_0x67fbad[_0x17489e(0xae)][_0x17489e(0x3f2)](this),this[_0x17489e(0xed)]();},'process':function(_0x1989bc){var _0x112606=_0x7619a0;return this['_append'](_0x1989bc),this[_0x112606(0x27a)]();},'finalize':function(_0x348e77){var _0x4b7ccf=_0x7619a0;_0x348e77&&this[_0x4b7ccf(0x1ac)](_0x348e77);var _0x465bfe=this[_0x4b7ccf(0x176)]();return _0x465bfe;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa807b6(_0xeb8691){var _0x57039e=_0x532f;return typeof _0xeb8691==_0x57039e(0xec)?_0xb75352:_0x1f7cd3;}return function(_0xdd3fe){return{'encrypt':function(_0x597a85,_0x48ae0b,_0x5ef71a){var _0x5e0eef=_0x532f;return _0xa807b6(_0x48ae0b)[_0x5e0eef(0xdc)](_0xdd3fe,_0x597a85,_0x48ae0b,_0x5ef71a);},'decrypt':function(_0x4304a1,_0x4b1b9d,_0x213e93){return _0xa807b6(_0x4b1b9d)['decrypt'](_0xdd3fe,_0x4304a1,_0x4b1b9d,_0x213e93);}};};}())});_0x1da7dc['StreamCipher']=_0x53a236[_0x7619a0(0x357)]({'_doFinalize':function(){var _0x5dec51=_0x7619a0,_0x21c12d=this[_0x5dec51(0x27a)](!0x0);return _0x21c12d;},'blockSize':0x1});var _0x341c0f=_0x474867[_0x7619a0(0x394)]={},_0x56a6bf=_0x1da7dc[_0x7619a0(0x27e)]=_0x8daec0[_0x7619a0(0x357)]({'createEncryptor':function(_0x4f2575,_0x7fba76){var _0x541883=_0x7619a0;return this[_0x541883(0x396)]['create'](_0x4f2575,_0x7fba76);},'createDecryptor':function(_0x40c351,_0x45dd5b){var _0x54e69f=_0x7619a0;return this[_0x54e69f(0x1fa)]['create'](_0x40c351,_0x45dd5b);},'init':function(_0x332dc1,_0xce64f6){var _0x3507d3=_0x7619a0;this[_0x3507d3(0xc7)]=_0x332dc1,this['_iv']=_0xce64f6;}}),_0x500090=_0x341c0f[_0x7619a0(0x28b)]=(function(){var _0x1d1ebd=_0x7619a0,_0x156648=_0x56a6bf[_0x1d1ebd(0x357)]();_0x156648[_0x1d1ebd(0x396)]=_0x156648[_0x1d1ebd(0x357)]({'processBlock':function(_0x4995cf,_0x23a23c){var _0x2abe46=_0x1d1ebd,_0x255d26=this[_0x2abe46(0xc7)],_0x13481d=_0x255d26[_0x2abe46(0x384)];_0x56940f[_0x2abe46(0x3f2)](this,_0x4995cf,_0x23a23c,_0x13481d),_0x255d26['encryptBlock'](_0x4995cf,_0x23a23c),this[_0x2abe46(0x227)]=_0x4995cf[_0x2abe46(0x16e)](_0x23a23c,_0x23a23c+_0x13481d);}}),_0x156648[_0x1d1ebd(0x1fa)]=_0x156648[_0x1d1ebd(0x357)]({'processBlock':function(_0x2f904d,_0x14755b){var _0x55c1e4=_0x1d1ebd,_0x524169=this['_cipher'],_0x3fd58c=_0x524169[_0x55c1e4(0x384)],_0x495877=_0x2f904d[_0x55c1e4(0x16e)](_0x14755b,_0x14755b+_0x3fd58c);_0x524169[_0x55c1e4(0xc1)](_0x2f904d,_0x14755b),_0x56940f[_0x55c1e4(0x3f2)](this,_0x2f904d,_0x14755b,_0x3fd58c),this['_prevBlock']=_0x495877;}});function _0x56940f(_0x21ed39,_0x2b4cba,_0x185a8f){var _0x521a02=_0x1d1ebd,_0xbaf534,_0x33fe2d=this[_0x521a02(0x2e5)];_0x33fe2d?(_0xbaf534=_0x33fe2d,this[_0x521a02(0x2e5)]=_0xbc4d0f):_0xbaf534=this[_0x521a02(0x227)];for(var _0x339d05=0x0;_0x339d05<_0x185a8f;_0x339d05++)_0x21ed39[_0x2b4cba+_0x339d05]^=_0xbaf534[_0x339d05];}return _0x156648;}()),_0x5a9f68=_0x474867['pad']={},_0x668057=_0x5a9f68['Pkcs7']={'pad':function(_0x3396ed,_0x160df3){var _0x254bd7=_0x7619a0;for(var _0x4f3325=_0x160df3*0x4,_0xcd68ef=_0x4f3325-_0x3396ed[_0x254bd7(0x3a0)]%_0x4f3325,_0x509ec8=_0xcd68ef<<0x18|_0xcd68ef<<0x10|_0xcd68ef<<0x8|_0xcd68ef,_0x3aadd4=[],_0x2de6e8=0x0;_0x2de6e8<_0xcd68ef;_0x2de6e8+=0x4)_0x3aadd4[_0x254bd7(0x139)](_0x509ec8);var _0x483bdf=_0x1f1921[_0x254bd7(0x144)](_0x3aadd4,_0xcd68ef);_0x3396ed[_0x254bd7(0x3b0)](_0x483bdf);},'unpad':function(_0x28b407){var _0x10212c=_0x7619a0,_0x215fca=_0x28b407[_0x10212c(0xd6)][_0x28b407[_0x10212c(0x3a0)]-0x1>>>0x2]&0xff;_0x28b407[_0x10212c(0x3a0)]-=_0x215fca;}};_0x1da7dc['BlockCipher']=_0x53a236['extend']({'cfg':_0x53a236[_0x7619a0(0x259)][_0x7619a0(0x357)]({'mode':_0x500090,'padding':_0x668057}),'reset':function(){var _0x3c9df7=_0x7619a0,_0x1bea3a;_0x53a236[_0x3c9df7(0xae)][_0x3c9df7(0x3f2)](this);var _0x5d8947=this[_0x3c9df7(0x259)],_0x9b8e42=_0x5d8947['iv'],_0x2b2266=_0x5d8947['mode'];this[_0x3c9df7(0x8c)]==this['_ENC_XFORM_MODE']?_0x1bea3a=_0x2b2266[_0x3c9df7(0x1d5)]:(_0x1bea3a=_0x2b2266[_0x3c9df7(0x37e)],this[_0x3c9df7(0x2a0)]=0x1),this[_0x3c9df7(0x2a1)]&&this[_0x3c9df7(0x2a1)][_0x3c9df7(0x1d7)]==_0x1bea3a?this[_0x3c9df7(0x2a1)][_0x3c9df7(0x225)](this,_0x9b8e42&&_0x9b8e42[_0x3c9df7(0xd6)]):(this[_0x3c9df7(0x2a1)]=_0x1bea3a[_0x3c9df7(0x3f2)](_0x2b2266,this,_0x9b8e42&&_0x9b8e42[_0x3c9df7(0xd6)]),this[_0x3c9df7(0x2a1)][_0x3c9df7(0x1d7)]=_0x1bea3a);},'_doProcessBlock':function(_0x3b7eec,_0x24c7f4){var _0x4d1593=_0x7619a0;this[_0x4d1593(0x2a1)][_0x4d1593(0x1c1)](_0x3b7eec,_0x24c7f4);},'_doFinalize':function(){var _0x6957f=_0x7619a0,_0x15673a,_0x5a2f25=this[_0x6957f(0x259)]['padding'];return this[_0x6957f(0x8c)]==this[_0x6957f(0x302)]?(_0x5a2f25[_0x6957f(0x1f1)](this['_data'],this['blockSize']),_0x15673a=this[_0x6957f(0x27a)](!0x0)):(_0x15673a=this['_process'](!0x0),_0x5a2f25[_0x6957f(0x1d3)](_0x15673a)),_0x15673a;},'blockSize':0x80/0x20});var _0x161b9e=_0x1da7dc['CipherParams']=_0x8daec0[_0x7619a0(0x357)]({'init':function(_0x220c17){this['mixIn'](_0x220c17);},'toString':function(_0x160905){var _0x3de998=_0x7619a0;return(_0x160905||this[_0x3de998(0x19b)])[_0x3de998(0x27f)](this);}}),_0x5678f7=_0x474867[_0x7619a0(0x1b8)]={},_0x509e02=_0x5678f7[_0x7619a0(0x1c9)]={'stringify':function(_0xaa5dd8){var _0x256f10=_0x7619a0,_0x5aed4c,_0x4f56a2=_0xaa5dd8[_0x256f10(0x41e)],_0x2fd791=_0xaa5dd8['salt'];return _0x2fd791?_0x5aed4c=_0x1f1921[_0x256f10(0x144)]([0x53616c74,0x65645f5f])[_0x256f10(0x3b0)](_0x2fd791)[_0x256f10(0x3b0)](_0x4f56a2):_0x5aed4c=_0x4f56a2,_0x5aed4c[_0x256f10(0x142)](_0x51453f);},'parse':function(_0x82cab4){var _0x14d44a=_0x7619a0,_0xda43ff,_0x1584b2=_0x51453f[_0x14d44a(0x390)](_0x82cab4),_0x2548a9=_0x1584b2['words'];return _0x2548a9[0x0]==0x53616c74&&_0x2548a9[0x1]==0x65645f5f&&(_0xda43ff=_0x1f1921[_0x14d44a(0x144)](_0x2548a9[_0x14d44a(0x16e)](0x2,0x4)),_0x2548a9[_0x14d44a(0x2ac)](0x0,0x4),_0x1584b2[_0x14d44a(0x3a0)]-=0x10),_0x161b9e['create']({'ciphertext':_0x1584b2,'salt':_0xda43ff});}},_0x1f7cd3=_0x1da7dc[_0x7619a0(0x193)]=_0x8daec0['extend']({'cfg':_0x8daec0[_0x7619a0(0x357)]({'format':_0x509e02}),'encrypt':function(_0x4acb0b,_0x3d3b92,_0x39348c,_0x36d506){var _0x4db0a2=_0x7619a0;_0x36d506=this[_0x4db0a2(0x259)][_0x4db0a2(0x357)](_0x36d506);var _0x3a4aaf=_0x4acb0b[_0x4db0a2(0x1d5)](_0x39348c,_0x36d506),_0x1d14a4=_0x3a4aaf[_0x4db0a2(0x40b)](_0x3d3b92),_0x1b5867=_0x3a4aaf[_0x4db0a2(0x259)];return _0x161b9e[_0x4db0a2(0x144)]({'ciphertext':_0x1d14a4,'key':_0x39348c,'iv':_0x1b5867['iv'],'algorithm':_0x4acb0b,'mode':_0x1b5867['mode'],'padding':_0x1b5867[_0x4db0a2(0x306)],'blockSize':_0x4acb0b['blockSize'],'formatter':_0x36d506[_0x4db0a2(0x1b8)]});},'decrypt':function(_0x968088,_0x4b1392,_0x5a8361,_0x2d78f0){var _0x37bbec=_0x7619a0;_0x2d78f0=this[_0x37bbec(0x259)]['extend'](_0x2d78f0),_0x4b1392=this[_0x37bbec(0xe3)](_0x4b1392,_0x2d78f0[_0x37bbec(0x1b8)]);var _0x545118=_0x968088[_0x37bbec(0x37e)](_0x5a8361,_0x2d78f0)[_0x37bbec(0x40b)](_0x4b1392[_0x37bbec(0x41e)]);return _0x545118;},'_parse':function(_0x514dbb,_0x42765b){var _0x535545=_0x7619a0;return typeof _0x514dbb==_0x535545(0xec)?_0x42765b[_0x535545(0x390)](_0x514dbb,this):_0x514dbb;}}),_0x531d57=_0x474867[_0x7619a0(0x1bf)]={},_0x24debb=_0x531d57[_0x7619a0(0x1c9)]={'execute':function(_0x1b5ee1,_0xb66a36,_0x2890f1,_0x59f49e,_0x18d544){var _0x5e98b5=_0x7619a0;if(_0x59f49e||(_0x59f49e=_0x1f1921[_0x5e98b5(0x2a6)](0x40/0x8)),_0x18d544)var _0x387f84=_0x53a8d1[_0x5e98b5(0x144)]({'keySize':_0xb66a36+_0x2890f1,'hasher':_0x18d544})[_0x5e98b5(0x419)](_0x1b5ee1,_0x59f49e);else var _0x387f84=_0x53a8d1[_0x5e98b5(0x144)]({'keySize':_0xb66a36+_0x2890f1})[_0x5e98b5(0x419)](_0x1b5ee1,_0x59f49e);var _0x1ca3e3=_0x1f1921[_0x5e98b5(0x144)](_0x387f84[_0x5e98b5(0xd6)][_0x5e98b5(0x16e)](_0xb66a36),_0x2890f1*0x4);return _0x387f84[_0x5e98b5(0x3a0)]=_0xb66a36*0x4,_0x161b9e[_0x5e98b5(0x144)]({'key':_0x387f84,'iv':_0x1ca3e3,'salt':_0x59f49e});}},_0xb75352=_0x1da7dc[_0x7619a0(0x1a7)]=_0x1f7cd3[_0x7619a0(0x357)]({'cfg':_0x1f7cd3[_0x7619a0(0x259)][_0x7619a0(0x357)]({'kdf':_0x24debb}),'encrypt':function(_0x560737,_0x27d749,_0x471689,_0x4a7acd){var _0x520b74=_0x7619a0;_0x4a7acd=this[_0x520b74(0x259)][_0x520b74(0x357)](_0x4a7acd);var _0x2553f6=_0x4a7acd['kdf']['execute'](_0x471689,_0x560737['keySize'],_0x560737[_0x520b74(0x2d4)],_0x4a7acd['salt'],_0x4a7acd[_0x520b74(0x35a)]);_0x4a7acd['iv']=_0x2553f6['iv'];var _0x21a82a=_0x1f7cd3[_0x520b74(0xdc)][_0x520b74(0x3f2)](this,_0x560737,_0x27d749,_0x2553f6[_0x520b74(0x236)],_0x4a7acd);return _0x21a82a[_0x520b74(0x32c)](_0x2553f6),_0x21a82a;},'decrypt':function(_0x1b8bae,_0x375d5c,_0x551e36,_0x51947e){var _0x16bebf=_0x7619a0;_0x51947e=this[_0x16bebf(0x259)]['extend'](_0x51947e),_0x375d5c=this['_parse'](_0x375d5c,_0x51947e[_0x16bebf(0x1b8)]);var _0x255b35=_0x51947e['kdf'][_0x16bebf(0x1bc)](_0x551e36,_0x1b8bae[_0x16bebf(0x38c)],_0x1b8bae['ivSize'],_0x375d5c[_0x16bebf(0xc9)],_0x51947e[_0x16bebf(0x35a)]);_0x51947e['iv']=_0x255b35['iv'];var _0x5581eb=_0x1f7cd3['decrypt'][_0x16bebf(0x3f2)](this,_0x1b8bae,_0x375d5c,_0x255b35[_0x16bebf(0x236)],_0x51947e);return _0x5581eb;}});}();}));}(_0x1e4111)),_0x1e4111['exports'];}var _0x58a2ec=_0x12cccc[_0x46a189(0x2a3)],_0x3983b9;function _0x1fffcc(){var _0x863490=_0x46a189;return _0x3983b9||(_0x3983b9=0x1,function(_0x10fd9f,_0xf2a92c){(function(_0x446395,_0x1831ac,_0x3a7d3a){var _0x3ebb8a=_0x532f;_0x10fd9f[_0x3ebb8a(0x2a3)]=_0x1831ac(_0x10f252(),_0x2ea24d(),_0xda11a2(),_0x483d34(),_0x2f791f());}(_0x58a2ec,function(_0x18ab1){var _0x1bfc3d=_0x532f;return(function(){var _0x49acc8=_0x532f,_0x32efa6=_0x18ab1,_0x5de56c=_0x32efa6[_0x49acc8(0x1ca)],_0xf09ed8=_0x5de56c[_0x49acc8(0x169)],_0x305881=_0x32efa6[_0x49acc8(0x399)],_0x5edbb4=[],_0x2ac440=[],_0x5cef2c=[],_0x3608ff=[],_0x239944=[],_0x57231a=[],_0x107979=[],_0x33668a=[],_0x189ee3=[],_0x3be325=[];(function(){for(var _0x3acc58=[],_0x73f168=0x0;_0x73f168<0x100;_0x73f168++)_0x73f168<0x80?_0x3acc58[_0x73f168]=_0x73f168<<0x1:_0x3acc58[_0x73f168]=_0x73f168<<0x1^0x11b;for(var _0x2fee91=0x0,_0x5a3a8b=0x0,_0x73f168=0x0;_0x73f168<0x100;_0x73f168++){var _0x56fb05=_0x5a3a8b^_0x5a3a8b<<0x1^_0x5a3a8b<<0x2^_0x5a3a8b<<0x3^_0x5a3a8b<<0x4;_0x56fb05=_0x56fb05>>>0x8^_0x56fb05&0xff^0x63,_0x5edbb4[_0x2fee91]=_0x56fb05,_0x2ac440[_0x56fb05]=_0x2fee91;var _0x2b8ea9=_0x3acc58[_0x2fee91],_0x5a98d4=_0x3acc58[_0x2b8ea9],_0xf7c0f5=_0x3acc58[_0x5a98d4],_0x24eee2=_0x3acc58[_0x56fb05]*0x101^_0x56fb05*0x1010100;_0x5cef2c[_0x2fee91]=_0x24eee2<<0x18|_0x24eee2>>>0x8,_0x3608ff[_0x2fee91]=_0x24eee2<<0x10|_0x24eee2>>>0x10,_0x239944[_0x2fee91]=_0x24eee2<<0x8|_0x24eee2>>>0x18,_0x57231a[_0x2fee91]=_0x24eee2;var _0x24eee2=_0xf7c0f5*0x1010101^_0x5a98d4*0x10001^_0x2b8ea9*0x101^_0x2fee91*0x1010100;_0x107979[_0x56fb05]=_0x24eee2<<0x18|_0x24eee2>>>0x8,_0x33668a[_0x56fb05]=_0x24eee2<<0x10|_0x24eee2>>>0x10,_0x189ee3[_0x56fb05]=_0x24eee2<<0x8|_0x24eee2>>>0x18,_0x3be325[_0x56fb05]=_0x24eee2,_0x2fee91?(_0x2fee91=_0x2b8ea9^_0x3acc58[_0x3acc58[_0x3acc58[_0xf7c0f5^_0x2b8ea9]]],_0x5a3a8b^=_0x3acc58[_0x3acc58[_0x5a3a8b]]):_0x2fee91=_0x5a3a8b=0x1;}}());var _0x5e769=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x49315e=_0x305881[_0x49acc8(0x355)]=_0xf09ed8[_0x49acc8(0x357)]({'_doReset':function(){var _0x25aa6c=_0x49acc8,_0x12dfb2;if(!(this[_0x25aa6c(0x195)]&&this[_0x25aa6c(0x27b)]===this[_0x25aa6c(0x33e)])){for(var _0x146655=this[_0x25aa6c(0x27b)]=this[_0x25aa6c(0x33e)],_0x479933=_0x146655[_0x25aa6c(0xd6)],_0x357875=_0x146655[_0x25aa6c(0x3a0)]/0x4,_0x541f06=this['_nRounds']=_0x357875+0x6,_0x5184bd=(_0x541f06+0x1)*0x4,_0x3eccf9=this[_0x25aa6c(0x1e0)]=[],_0x20fc91=0x0;_0x20fc91<_0x5184bd;_0x20fc91++)_0x20fc91<_0x357875?_0x3eccf9[_0x20fc91]=_0x479933[_0x20fc91]:(_0x12dfb2=_0x3eccf9[_0x20fc91-0x1],_0x20fc91%_0x357875?_0x357875>0x6&&_0x20fc91%_0x357875==0x4&&(_0x12dfb2=_0x5edbb4[_0x12dfb2>>>0x18]<<0x18|_0x5edbb4[_0x12dfb2>>>0x10&0xff]<<0x10|_0x5edbb4[_0x12dfb2>>>0x8&0xff]<<0x8|_0x5edbb4[_0x12dfb2&0xff]):(_0x12dfb2=_0x12dfb2<<0x8|_0x12dfb2>>>0x18,_0x12dfb2=_0x5edbb4[_0x12dfb2>>>0x18]<<0x18|_0x5edbb4[_0x12dfb2>>>0x10&0xff]<<0x10|_0x5edbb4[_0x12dfb2>>>0x8&0xff]<<0x8|_0x5edbb4[_0x12dfb2&0xff],_0x12dfb2^=_0x5e769[_0x20fc91/_0x357875|0x0]<<0x18),_0x3eccf9[_0x20fc91]=_0x3eccf9[_0x20fc91-_0x357875]^_0x12dfb2);for(var _0x191b46=this['_invKeySchedule']=[],_0x1e8335=0x0;_0x1e8335<_0x5184bd;_0x1e8335++){var _0x20fc91=_0x5184bd-_0x1e8335;if(_0x1e8335%0x4)var _0x12dfb2=_0x3eccf9[_0x20fc91];else var _0x12dfb2=_0x3eccf9[_0x20fc91-0x4];_0x1e8335<0x4||_0x20fc91<=0x4?_0x191b46[_0x1e8335]=_0x12dfb2:_0x191b46[_0x1e8335]=_0x107979[_0x5edbb4[_0x12dfb2>>>0x18]]^_0x33668a[_0x5edbb4[_0x12dfb2>>>0x10&0xff]]^_0x189ee3[_0x5edbb4[_0x12dfb2>>>0x8&0xff]]^_0x3be325[_0x5edbb4[_0x12dfb2&0xff]];}}},'encryptBlock':function(_0x154af8,_0x2a74a4){var _0x300f2a=_0x49acc8;this[_0x300f2a(0x11f)](_0x154af8,_0x2a74a4,this[_0x300f2a(0x1e0)],_0x5cef2c,_0x3608ff,_0x239944,_0x57231a,_0x5edbb4);},'decryptBlock':function(_0x3aff9f,_0x205e6c){var _0x993469=_0x3aff9f[_0x205e6c+0x1];_0x3aff9f[_0x205e6c+0x1]=_0x3aff9f[_0x205e6c+0x3],_0x3aff9f[_0x205e6c+0x3]=_0x993469,this['_doCryptBlock'](_0x3aff9f,_0x205e6c,this['_invKeySchedule'],_0x107979,_0x33668a,_0x189ee3,_0x3be325,_0x2ac440);var _0x993469=_0x3aff9f[_0x205e6c+0x1];_0x3aff9f[_0x205e6c+0x1]=_0x3aff9f[_0x205e6c+0x3],_0x3aff9f[_0x205e6c+0x3]=_0x993469;},'_doCryptBlock':function(_0x1c1784,_0x3b2135,_0x2b7c39,_0x14209d,_0x459b5c,_0x4fda33,_0x8cec09,_0x552142){var _0xdd2feb=_0x49acc8;for(var _0x434af1=this[_0xdd2feb(0x195)],_0x15784f=_0x1c1784[_0x3b2135]^_0x2b7c39[0x0],_0x140361=_0x1c1784[_0x3b2135+0x1]^_0x2b7c39[0x1],_0x4ef20f=_0x1c1784[_0x3b2135+0x2]^_0x2b7c39[0x2],_0x559674=_0x1c1784[_0x3b2135+0x3]^_0x2b7c39[0x3],_0x3cfbd3=0x4,_0x31880f=0x1;_0x31880f<_0x434af1;_0x31880f++){var _0xd05593=_0x14209d[_0x15784f>>>0x18]^_0x459b5c[_0x140361>>>0x10&0xff]^_0x4fda33[_0x4ef20f>>>0x8&0xff]^_0x8cec09[_0x559674&0xff]^_0x2b7c39[_0x3cfbd3++],_0x3e12c4=_0x14209d[_0x140361>>>0x18]^_0x459b5c[_0x4ef20f>>>0x10&0xff]^_0x4fda33[_0x559674>>>0x8&0xff]^_0x8cec09[_0x15784f&0xff]^_0x2b7c39[_0x3cfbd3++],_0x4a61d7=_0x14209d[_0x4ef20f>>>0x18]^_0x459b5c[_0x559674>>>0x10&0xff]^_0x4fda33[_0x15784f>>>0x8&0xff]^_0x8cec09[_0x140361&0xff]^_0x2b7c39[_0x3cfbd3++],_0x560a56=_0x14209d[_0x559674>>>0x18]^_0x459b5c[_0x15784f>>>0x10&0xff]^_0x4fda33[_0x140361>>>0x8&0xff]^_0x8cec09[_0x4ef20f&0xff]^_0x2b7c39[_0x3cfbd3++];_0x15784f=_0xd05593,_0x140361=_0x3e12c4,_0x4ef20f=_0x4a61d7,_0x559674=_0x560a56;}var _0xd05593=(_0x552142[_0x15784f>>>0x18]<<0x18|_0x552142[_0x140361>>>0x10&0xff]<<0x10|_0x552142[_0x4ef20f>>>0x8&0xff]<<0x8|_0x552142[_0x559674&0xff])^_0x2b7c39[_0x3cfbd3++],_0x3e12c4=(_0x552142[_0x140361>>>0x18]<<0x18|_0x552142[_0x4ef20f>>>0x10&0xff]<<0x10|_0x552142[_0x559674>>>0x8&0xff]<<0x8|_0x552142[_0x15784f&0xff])^_0x2b7c39[_0x3cfbd3++],_0x4a61d7=(_0x552142[_0x4ef20f>>>0x18]<<0x18|_0x552142[_0x559674>>>0x10&0xff]<<0x10|_0x552142[_0x15784f>>>0x8&0xff]<<0x8|_0x552142[_0x140361&0xff])^_0x2b7c39[_0x3cfbd3++],_0x560a56=(_0x552142[_0x559674>>>0x18]<<0x18|_0x552142[_0x15784f>>>0x10&0xff]<<0x10|_0x552142[_0x140361>>>0x8&0xff]<<0x8|_0x552142[_0x4ef20f&0xff])^_0x2b7c39[_0x3cfbd3++];_0x1c1784[_0x3b2135]=_0xd05593,_0x1c1784[_0x3b2135+0x1]=_0x3e12c4,_0x1c1784[_0x3b2135+0x2]=_0x4a61d7,_0x1c1784[_0x3b2135+0x3]=_0x560a56;},'keySize':0x100/0x20});_0x32efa6[_0x49acc8(0x355)]=_0xf09ed8[_0x49acc8(0x336)](_0x49315e);}()),_0x18ab1[_0x1bfc3d(0x355)];}));}(_0x12cccc)),_0x12cccc[_0x863490(0x2a3)];}var _0x1f0d38=_0x1fffcc();const _0x29a064=_0x2577ba(_0x1f0d38);var _0x4c9ec2=_0x2ea24d();const _0x29432a=_0x2577ba(_0x4c9ec2);var _0x6ae997={'exports':{}},_0x10b11a=_0x6ae997[_0x46a189(0x2a3)],_0x31c95e;function _0x3c8809(){var _0x3ef456=_0x46a189;return _0x31c95e||(_0x31c95e=0x1,function(_0xbc2158,_0x1b4740){(function(_0x5cde01,_0x2bbc6d){var _0x3d3708=_0x532f;_0xbc2158[_0x3d3708(0x2a3)]=_0x2bbc6d(_0x10f252());}(_0x10b11a,function(_0x25b816){var _0x2e6c8d=_0x532f;return _0x25b816[_0x2e6c8d(0x25b)][_0x2e6c8d(0x217)];}));}(_0x6ae997)),_0x6ae997[_0x3ef456(0x2a3)];}var _0x1b8d63=_0x3c8809();const _0xa89690=_0x2577ba(_0x1b8d63);var _0x5e7554={'exports':{}},_0x534396=_0x5e7554[_0x46a189(0x2a3)],_0x5f0f1a;function _0x3dd0f4(){return _0x5f0f1a||(_0x5f0f1a=0x1,function(_0x1f1675,_0x4c7890){(function(_0x35df7a,_0x3d94a8){var _0x23929f=_0x532f;_0x1f1675[_0x23929f(0x2a3)]=_0x3d94a8(_0x10f252());}(_0x534396,function(_0x34288b){var _0x255ebf=_0x532f;return(function(){var _0x172654=_0x532f;if(typeof ArrayBuffer==_0x172654(0x127)){var _0x173da4=_0x34288b,_0x2dad44=_0x173da4[_0x172654(0x1ca)],_0x13dc80=_0x2dad44[_0x172654(0xe4)],_0x40870a=_0x13dc80['init'],_0x208b51=_0x13dc80[_0x172654(0x225)]=function(_0x58600e){var _0x430e6f=_0x172654;if(_0x58600e instanceof ArrayBuffer&&(_0x58600e=new Uint8Array(_0x58600e)),(_0x58600e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x58600e instanceof Uint8ClampedArray||_0x58600e instanceof Int16Array||_0x58600e instanceof Uint16Array||_0x58600e instanceof Int32Array||_0x58600e instanceof Uint32Array||_0x58600e instanceof Float32Array||_0x58600e instanceof Float64Array)&&(_0x58600e=new Uint8Array(_0x58600e[_0x430e6f(0x2c6)],_0x58600e[_0x430e6f(0x234)],_0x58600e[_0x430e6f(0x1f0)])),_0x58600e instanceof Uint8Array){for(var _0x474a2a=_0x58600e[_0x430e6f(0x1f0)],_0x40e189=[],_0x36cd8f=0x0;_0x36cd8f<_0x474a2a;_0x36cd8f++)_0x40e189[_0x36cd8f>>>0x2]|=_0x58600e[_0x36cd8f]<<0x18-_0x36cd8f%0x4*0x8;_0x40870a[_0x430e6f(0x3f2)](this,_0x40e189,_0x474a2a);}else _0x40870a[_0x430e6f(0xcd)](this,arguments);};_0x208b51[_0x172654(0x425)]=_0x13dc80;}}()),_0x34288b[_0x255ebf(0x1ca)][_0x255ebf(0xe4)];}));}(_0x5e7554)),_0x5e7554['exports'];}var _0x3d8bdd=_0x3dd0f4();const _0x290c96=_0x2577ba(_0x3d8bdd);var _0x5231d0={'exports':{}},_0x1a542c=_0x5231d0[_0x46a189(0x2a3)],_0x4e44a5;function _0x37dbdc(){return _0x4e44a5||(_0x4e44a5=0x1,function(_0x3833f8,_0x26c9ab){(function(_0x15ef89,_0x44aceb,_0x2a3125){_0x3833f8['exports']=_0x44aceb(_0x10f252(),_0x2f791f());}(_0x1a542c,function(_0x58747f){var _0x35fe3e=_0x532f;return _0x58747f['pad'][_0x35fe3e(0x33a)]={'pad':function(){},'unpad':function(){}},_0x58747f[_0x35fe3e(0x1f1)][_0x35fe3e(0x33a)];}));}(_0x5231d0)),_0x5231d0['exports'];}var _0x44b051=_0x37dbdc();const _0x53790f=_0x2577ba(_0x44b051);function _0x4ecc23(_0x2c99ce,_0x1c8e1d){var _0x3cdb15=_0x46a189;const _0x1f1fa0=_0x1c8e1d-_0x2c99ce[_0x3cdb15(0x86)]%_0x1c8e1d,_0x24b038=String['fromCharCode'](_0x1f1fa0)[_0x3cdb15(0xa8)](_0x1f1fa0);return _0x2c99ce+_0x24b038;}function _0x388b3d(_0x255e29,_0x43900f){var _0x51dff5=_0x46a189;const _0xf5cba2=_0x290c96[_0x51dff5(0x2a6)](0x10),_0x3ca512=_0x4ecc23(_0x255e29,0x10),_0x4d1b51=_0x29a064[_0x51dff5(0xdc)](_0xa89690[_0x51dff5(0x390)](_0x3ca512),_0x29432a[_0x51dff5(0x390)](_0x43900f),{'iv':_0xf5cba2,'padding':_0x53790f});return _0xf5cba2['concat'](_0x4d1b51[_0x51dff5(0x41e)])['toString'](_0x29432a);}function _0x4f8bd1(){var _0x105328=_0x46a189;const _0x16f8f9=_0x236deb['getGlobalObject']()[_0x105328(0x267)];if(_0x16f8f9){const _0x409d68={'time':Math[_0x105328(0x123)](Date[_0x105328(0x1cc)]()/0x3e8),'domain':location[_0x105328(0x238)]};return _0x388b3d(JSON[_0x105328(0x27f)](_0x409d68),_0x16f8f9);}}var _0x346cd1=Object['getOwnPropertyDescriptor'],_0x561292=(_0xeeb68d,_0xa7874c,_0x155527,_0x31f91f)=>{for(var _0x390a87=_0x31f91f>0x1?void 0x0:_0x31f91f?_0x346cd1(_0xa7874c,_0x155527):_0xa7874c,_0x55ba58=_0xeeb68d['length']-0x1,_0x27ace5;_0x55ba58>=0x0;_0x55ba58--)(_0x27ace5=_0xeeb68d[_0x55ba58])&&(_0x390a87=_0x27ace5(_0x390a87)||_0x390a87);return _0x390a87;},_0x29b1d6=(_0x430222,_0x550a13)=>(_0x5a47bf,_0x1ee3ea)=>_0x550a13(_0x5a47bf,_0x1ee3ea,_0x430222);let _0x2162c9=class{constructor(_0xc3faf1){var _0x52dae6=_0x46a189;this['_httpService']=_0xc3faf1,this[_0x52dae6(0x10d)]();}['_initRequestHeader'](){var _0x4d53b1=_0x46a189;this[_0x4d53b1(0x320)][_0x4d53b1(0x3b8)]({'interceptor':(_0x25f59f,_0x59322c)=>{var _0x55eb52=_0x4d53b1;const _0x207c9f=_0x25f59f[_0x55eb52(0x2be)],_0x89e251=_0x4f8bd1();return _0x89e251&&_0x207c9f[_0x55eb52(0xf3)]('x-univer-host',_0x89e251),_0x59322c(_0x25f59f);}});}};_0x2162c9=_0x561292([_0x29b1d6(0x0,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)]))],_0x2162c9);var _0x1cf9a2=Object[_0x46a189(0x1d1)],_0x473bbc=(_0x3959c3,_0xbea1f8,_0x39ac77,_0x403515)=>{var _0x5c5b0a=_0x46a189;for(var _0x434b0d=_0x403515>0x1?void 0x0:_0x403515?_0x1cf9a2(_0xbea1f8,_0x39ac77):_0xbea1f8,_0x56ef71=_0x3959c3[_0x5c5b0a(0x86)]-0x1,_0x3a2d82;_0x56ef71>=0x0;_0x56ef71--)(_0x3a2d82=_0x3959c3[_0x56ef71])&&(_0x434b0d=_0x3a2d82(_0x434b0d)||_0x434b0d);return _0x434b0d;},_0x572752=(_0x4e901d,_0x2c9078)=>(_0x548e99,_0x110e25)=>_0x2c9078(_0x548e99,_0x110e25,_0x4e901d);_0x247d18[_0x46a189(0x19c)]=class extends _0x112078['RxDisposable']{constructor(_0x35f63e,_0x1a4825,_0x316efc){var _0x3936fc=_0x46a189;super(),_0x25aa6e(this,_0x3936fc(0x3b7),new _0x1909d3[(_0x3936fc(0xf5))](null)),_0x25aa6e(this,_0x3936fc(0x334),this[_0x3936fc(0x3b7)]['asObservable']()),(this[_0x3936fc(0x235)]=_0x35f63e,this[_0x3936fc(0xe6)]=_0x1a4825,this['_localCacheService']=_0x316efc);}async[_0x46a189(0x400)](_0x2f19c8,_0x124935,_0x3fdf64){var _0x379a9e=_0x46a189;this[_0x379a9e(0x3b7)][_0x379a9e(0x28a)]({'unitId':_0x2f19c8,'type':_0x124935});let _0x52ad54=null;switch(_0x124935){case _0x193e02['UNIVER_SHEET']:{_0x52ad54=await this[_0x379a9e(0xe6)][_0x379a9e(0x346)](_0x2f19c8,_0x3fdf64);break;}case _0x193e02[_0x379a9e(0x140)]:{_0x52ad54=await this[_0x379a9e(0xe6)][_0x379a9e(0x3af)](_0x2f19c8,_0x3fdf64);break;}default:{this['_logService'][_0x379a9e(0x157)](_0x379a9e(0x401),_0x379a9e(0x3ad));break;}}return _0x52ad54;}async[_0x46a189(0x315)](_0x46ce79,_0xeb9716,_0x26f6cc){var _0x211596=_0x46a189,_0x5b1834;this[_0x211596(0x3b7)][_0x211596(0x28a)]({'unitId':_0x46ce79,'type':_0xeb9716,'subUnitId':_0x26f6cc});let _0x5b5336=0x0;const _0x161428=await((_0x5b1834=this[_0x211596(0x11d)])==null?void 0x0:_0x5b1834[_0x211596(0x215)](_0x46ce79));return _0x161428&&(_0x161428[_0x211596(0x343)]||_0x161428['mutations'][_0x211596(0x86)]!==0x0)&&(_0x5b5336=_0x161428[_0x211596(0x16c)]),_0x5b5336===0x0&&this[_0x211596(0x235)][_0x211596(0x366)](_0x211596(0x401),_0x211596(0x1eb)),this[_0x211596(0x400)](_0x46ce79,_0xeb9716,_0x5b5336);}},_0x247d18[_0x46a189(0x19c)]=_0x473bbc([_0x572752(0x0,_0x112078[_0x46a189(0xce)]),_0x572752(0x1,_0x112078[_0x46a189(0x11e)](_0x4f9634['SnapshotService'])),_0x572752(0x2,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x19c)]);var _0x3d2c22=Object['getOwnPropertyDescriptor'],_0xb52317=(_0x44c1dc,_0x2bdcdf,_0x4b5e72,_0x524755)=>{var _0x27527a=_0x46a189;for(var _0x2c5f1b=_0x524755>0x1?void 0x0:_0x524755?_0x3d2c22(_0x2bdcdf,_0x4b5e72):_0x2bdcdf,_0x4387d6=_0x44c1dc[_0x27527a(0x86)]-0x1,_0x386436;_0x4387d6>=0x0;_0x4387d6--)(_0x386436=_0x44c1dc[_0x4387d6])&&(_0x2c5f1b=_0x386436(_0x2c5f1b)||_0x2c5f1b);return _0x2c5f1b;},_0xf1d62a=(_0x6716fd,_0x531b8b)=>(_0xd0a757,_0x45c351)=>_0x531b8b(_0xd0a757,_0x45c351,_0x6716fd);const _0xb20945=[_0x46a189(0x10a),'image/jpeg',_0x46a189(0x356),_0x46a189(0x363),_0x46a189(0x2f9)],_0x3b87e1=0x5*0x400*0x400,_0x319048=_0x46a189(0x26b),_0x1448a2='/universer-api/file/{fileID}/sign-url';_0x247d18['CollaborationImageIoService']=class{constructor(_0x3ee740,_0x591fc9,_0xf29407){var _0x3db03e=_0x46a189;_0x25aa6e(this,_0x3db03e(0x2c8),0x0),_0x25aa6e(this,'_change$',new _0x1909d3[(_0x3db03e(0x276))]()),_0x25aa6e(this,'change$',this['_change$']),_0x25aa6e(this,_0x3db03e(0x1fb),new Map()),(this[_0x3db03e(0x320)]=_0x3ee740,this[_0x3db03e(0xad)]=_0x591fc9,this[_0x3db03e(0x3cf)]=_0xf29407);}[_0x46a189(0x30c)](_0x1dd9c4){var _0x154b0c=_0x46a189;this['_waitCount']=_0x1dd9c4,this['_change$'][_0x154b0c(0x28a)](_0x1dd9c4);}[_0x46a189(0x134)](_0x1a7a08,_0x23d4e2){var _0xaf373d=_0x46a189;if(_0x23d4e2===_0x4b9ee5[_0xaf373d(0x2f2)][_0xaf373d(0x1b6)]){const _0x1efa86=new Image();return _0x1efa86[_0xaf373d(0xaa)]=_0x1a7a08,_0x1efa86;}return this['_imageSourceCache']['get'](_0x1a7a08);}[_0x46a189(0x141)](_0x247869,_0x30b100,_0x5e83f4){var _0x460304=_0x46a189;_0x30b100===_0x4b9ee5['ImageSourceType']['BASE64']||_0x5e83f4==null||this[_0x460304(0x1fb)][_0x460304(0xf3)](_0x247869,_0x5e83f4);}async[_0x46a189(0x2e3)](_0x34a054){var _0x38e042=_0x46a189;try{const _0x48455f=this['_replaceFileID'](this[_0x38e042(0x3b9)](),''+_0x34a054),_0x291fe7=(await this[_0x38e042(0x320)]['get'](_0x48455f))[_0x38e042(0x2cf)];if(_0x291fe7['error']&&_0x291fe7[_0x38e042(0x157)][_0x38e042(0x2c3)]===_0x169ac9['OK']){const _0x38c3f7=new URL(_0x291fe7[_0x38e042(0x386)],this[_0x38e042(0x3ef)]())['toString']();return Promise[_0x38e042(0xf4)](_0x38c3f7);}return Promise[_0x38e042(0x37f)](_0x291fe7[_0x38e042(0x157)]);}catch(_0x2630b1){return Promise['reject'](_0x2630b1);}}async[_0x46a189(0x21f)](_0x5e5bc0){var _0x4f2aee=_0x46a189;let _0x2b2fe4='';if(!_0xb20945[_0x4f2aee(0x3e7)](_0x5e5bc0[_0x4f2aee(0xfd)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x4b9ee5['ImageUploadStatusType'][_0x4f2aee(0x110)]));if(_0x5e5bc0[_0x4f2aee(0x352)]>_0x3b87e1)return this[_0x4f2aee(0x1f3)](),Promise[_0x4f2aee(0x37f)](new Error(_0x4b9ee5[_0x4f2aee(0x263)][_0x4f2aee(0x313)]));try{const _0x55510c=new FormData();_0x55510c['append'](_0x4f2aee(0x2e8),_0x5e5bc0);const _0x2ff32d=this['_univerInstanceService'][_0x4f2aee(0x36f)](),_0x584f5f=_0x2ff32d==null?void 0x0:_0x2ff32d[_0x4f2aee(0x9c)]();if(!_0x584f5f)throw new Error('unitId\x20is\x20not\x20found');const _0x2e2e48=this['_getUploadFileURL']()+_0x4f2aee(0x35e)+_0x5e5bc0['size'][_0x4f2aee(0x142)]()+_0x4f2aee(0x14b)+_0x6a4310[_0x4f2aee(0x247)]+_0x4f2aee(0x21d)+encodeURIComponent(_0x584f5f),_0x12857e={'body':_0x55510c},_0x4f7446=(await this[_0x4f2aee(0x320)][_0x4f2aee(0x26a)](_0x2e2e48,_0x12857e))[_0x4f2aee(0x2cf)];if(typeof _0x4f7446[_0x4f2aee(0x8a)]!=_0x4f2aee(0xec))return this[_0x4f2aee(0x1f3)](),Promise[_0x4f2aee(0x37f)](new Error(_0x4b9ee5[_0x4f2aee(0x263)]['ERROR_IMAGE']));_0x2b2fe4=_0x4f7446['FileId'];}catch{return this[_0x4f2aee(0x1f3)](),Promise[_0x4f2aee(0x37f)](new Error(_0x4b9ee5[_0x4f2aee(0x263)]['ERROR_IMAGE']));}return new Promise((_0x59a16d,_0x4859a1)=>{var _0x4e29fe=_0x4f2aee;const _0x2b7757=new FileReader();_0x2b7757[_0x4e29fe(0x196)](_0x5e5bc0),_0x2b7757['onload']=_0x1c2a86=>{var _0x51b03f=_0x4e29fe,_0xd9ac5f;const _0x287062=(_0xd9ac5f=_0x1c2a86[_0x51b03f(0x159)])==null?void 0x0:_0xd9ac5f[_0x51b03f(0x3ae)];if(_0x287062==null){this['_decreaseWaiting'](),_0x4859a1(new Error(_0x4b9ee5['ImageUploadStatusType'][_0x51b03f(0x1ff)]));return;}const _0x40dc18=_0x112078[_0x51b03f(0x20f)](0x6);_0x59a16d({'imageId':_0x40dc18,'imageSourceType':_0x4b9ee5['ImageSourceType'][_0x51b03f(0x165)],'source':_0x2b2fe4,'base64Cache':_0x287062,'status':_0x4b9ee5['ImageUploadStatusType'][_0x51b03f(0x257)]}),this[_0x51b03f(0x1f3)]();};});}[_0x46a189(0x325)](){var _0x29b05d=_0x46a189,_0x3c4562;const _0x14b03b=this[_0x29b05d(0xad)]['getConfig'](_0x4f0c7a);return(_0x3c4562=_0x14b03b==null?void 0x0:_0x14b03b[_0x29b05d(0x147)])!=null?_0x3c4562:_0x319048;}[_0x46a189(0x3b9)](){var _0x444d61=_0x46a189,_0x3f8ac4;const _0x160bad=this[_0x444d61(0xad)][_0x444d61(0x2a2)](_0x4f0c7a);return(_0x3f8ac4=_0x160bad==null?void 0x0:_0x160bad[_0x444d61(0x171)])!=null?_0x3f8ac4:_0x1448a2;}['_getDownloadEndpointURL'](){var _0x3b0cf0=_0x46a189,_0x5e7cb6;const _0x504243=this['_configService'][_0x3b0cf0(0x2a2)](_0x4f0c7a);return(_0x5e7cb6=_0x504243==null?void 0x0:_0x504243[_0x3b0cf0(0x345)])!=null?_0x5e7cb6:location[_0x3b0cf0(0x1e4)];}['_replaceFileID'](_0x151a65,_0x3a2229){var _0x30804f=_0x46a189;return _0x151a65['replace'](_0x30804f(0x1a3),_0x3a2229);}['_decreaseWaiting'](){var _0xa57c9a=_0x46a189;this['_waitCount']-=0x1,this[_0xa57c9a(0x28f)]['next'](this[_0xa57c9a(0x2c8)]);}},_0x247d18[_0x46a189(0xa5)]=_0xb52317([_0xf1d62a(0x0,_0x112078['Inject'](_0x1b0b18[_0x46a189(0x2e7)])),_0xf1d62a(0x1,_0x112078[_0x46a189(0x22f)]),_0xf1d62a(0x2,_0x112078['Inject'](_0x112078[_0x46a189(0x93)]))],_0x247d18[_0x46a189(0xa5)]);var _0x221bcd=Object[_0x46a189(0x1d1)],_0x502118=(_0x1ed2fc,_0x1e2138,_0x4f8a21,_0x5a3a99)=>{for(var _0x5ce225=_0x5a3a99>0x1?void 0x0:_0x5a3a99?_0x221bcd(_0x1e2138,_0x4f8a21):_0x1e2138,_0x5ee481=_0x1ed2fc['length']-0x1,_0x514588;_0x5ee481>=0x0;_0x5ee481--)(_0x514588=_0x1ed2fc[_0x5ee481])&&(_0x5ce225=_0x514588(_0x5ce225)||_0x5ce225);return _0x5ce225;},_0x1c741a=(_0x2d5761,_0x43e026)=>(_0x3f5086,_0xeac417)=>_0x43e026(_0x3f5086,_0xeac417,_0x2d5761);const _0xddd260=_0x46a189(0x2cd);_0x247d18[_0x46a189(0x34e)]=class{constructor(_0x4a8ec2,_0x1670d9){var _0x23ea4d=_0x46a189;this[_0x23ea4d(0xad)]=_0x4a8ec2,this[_0x23ea4d(0x179)]=_0x1670d9;}['_getAPIPrefixPath'](){var _0x772e77=_0x46a189,_0x355034;const _0x318160=this[_0x772e77(0xad)]['getConfig'](_0x4f0c7a);return(_0x355034=_0x318160==null?void 0x0:_0x318160[_0x772e77(0x237)])!=null?_0x355034:_0xddd260;}async['list'](_0x156763){var _0x5c7029=_0x46a189;const _0x41cbb8=this[_0x5c7029(0x322)]()+_0x5c7029(0x383);return{'list':[{'title':_0x5c7029(0x372),'mentions':(await this['_HTTPService'][_0x5c7029(0x3aa)](_0x41cbb8,{'params':{'objectID':_0x156763[_0x5c7029(0x124)],'unitID':_0x156763['unitId']}}))[_0x5c7029(0x2cf)][_0x5c7029(0x38e)][_0x5c7029(0xb5)](_0x4efd2c=>({'objectId':_0x4efd2c['id'],'name':_0x4efd2c['subject'][_0x5c7029(0x94)],'metadata':{'icon':_0x4efd2c['subject'][_0x5c7029(0x3d7)]},'label':_0x4efd2c[_0x5c7029(0x131)]['name'],'objectType':_0x112078[_0x5c7029(0x3b2)][_0x5c7029(0x151)]})),'metadata':{},'type':_0x112078[_0x5c7029(0x3b2)]['PERSON']}]};}},_0x247d18['MentionIoHttpService']=_0x502118([_0x1c741a(0x0,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x22f)])),_0x1c741a(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)]))],_0x247d18[_0x46a189(0x34e)]);var _0x91cbc5=Object[_0x46a189(0x1d1)],_0x59b95e=(_0x3fd0a3,_0x2423d8,_0x37fb02,_0x2e23d8)=>{var _0x349141=_0x46a189;for(var _0x26b345=_0x2e23d8>0x1?void 0x0:_0x2e23d8?_0x91cbc5(_0x2423d8,_0x37fb02):_0x2423d8,_0x9016d8=_0x3fd0a3[_0x349141(0x86)]-0x1,_0x158fac;_0x9016d8>=0x0;_0x9016d8--)(_0x158fac=_0x3fd0a3[_0x9016d8])&&(_0x26b345=_0x158fac(_0x26b345)||_0x26b345);return _0x26b345;},_0x3888a8=(_0x2b480a,_0x37e460)=>(_0x1958ff,_0x209a8d)=>_0x37e460(_0x1958ff,_0x209a8d,_0x2b480a);let _0x5c1315=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x174f52,_0x2f9042,_0xb87f0e,_0x1fcd17,_0x1065fa){var _0x271655=_0x46a189;super(),this['_injector']=_0x174f52,this[_0x271655(0x3cf)]=_0x2f9042,this[_0x271655(0x30f)]=_0xb87f0e,this[_0x271655(0x181)]=_0x1fcd17,this[_0x271655(0x281)]=_0x1065fa,this[_0x271655(0x285)](),this['_initCloseConn']();}[_0x46a189(0x392)](){var _0x2551b2=_0x46a189;const _0x621c66=async _0x36024f=>{var _0x230276=_0x532f;(await this[_0x230276(0x181)][_0x230276(0x397)](_0x36024f))[_0x230276(0xd4)][_0x230276(0x41a)](_0x57d774[_0x230276(0x3b6)](_0x467d8e=>_0x467d8e[_0x230276(0x3df)]===_0x4f9634['CollaborationEvent'][_0x230276(0x85)]),_0x57d774[_0x230276(0x1ea)](this['dispose$']))[_0x230276(0x153)](_0x337279=>{var _0xf3634c=_0x230276;const _0x3a311b=_0x337279,{reason:_0x2489e1}=_0x3a311b[_0xf3634c(0x3f5)];this[_0xf3634c(0x281)][_0xf3634c(0xe5)]({'id':_0xee750e['CLOSE_ROOM'],'data':_0x2489e1}),this['_permissionService'][_0xf3634c(0x1c0)](new _0x44a4a2[(_0xf3634c(0x377))](_0x36024f)['id'],!0x1),this[_0xf3634c(0x181)][_0xf3634c(0x1b0)](_0x36024f);});};_0x1909d3[_0x2551b2(0x251)](this[_0x2551b2(0x3cf)][_0x2551b2(0x418)](_0x112078[_0x2551b2(0x164)]['UNIVER_SHEET']),this[_0x2551b2(0x3cf)][_0x2551b2(0x418)](_0x112078[_0x2551b2(0x164)]['UNIVER_DOC']))['pipe'](_0x57d774[_0x2551b2(0xb5)](_0x2ffd73=>_0x2ffd73['getUnitId']()),_0x57d774['filter'](_0x965efd=>!_0x112078['isInternalEditorID'](_0x965efd)),_0x57d774['takeUntil'](this[_0x2551b2(0x98)]))[_0x2551b2(0x153)](_0xe03acf=>{_0x621c66(_0xe03acf);});}['_initUnitPermissionChange'](){var _0x2d45d9=_0x46a189;const _0x3a2b71=async _0x36ae60=>{var _0x3e97fd=_0x532f;const _0x4b78fa=await this[_0x3e97fd(0x181)][_0x3e97fd(0x397)](_0x36ae60),_0x17ecbc=this['_injector']['get'](_0x44a4a2[_0x3e97fd(0x2b3)]);_0x4b78fa['event$'][_0x3e97fd(0x41a)](_0x57d774['filter'](_0x1f324c=>_0x1f324c[_0x3e97fd(0x3df)]===_0x4f9634[_0x3e97fd(0x3f4)]['UPDATE_PERMISSION_OBJ']),_0x57d774['takeUntil'](this['dispose$']))['subscribe'](_0x4bd593=>{var _0x15eb99=_0x3e97fd;const _0x45fcba=_0x4bd593,{objectId:_0x313c9e}=_0x45fcba[_0x15eb99(0x3f5)];_0x313c9e===_0x36ae60?_0x17ecbc[_0x15eb99(0x3bc)](_0x36ae60):_0x17ecbc['refreshPermission'](_0x36ae60,_0x313c9e);});};_0x1909d3[_0x2d45d9(0x251)](this[_0x2d45d9(0x3cf)]['getTypeOfUnitAdded$'](_0x112078[_0x2d45d9(0x164)][_0x2d45d9(0x18b)]))[_0x2d45d9(0x41a)](_0x57d774[_0x2d45d9(0xb5)](_0x1a2176=>_0x1a2176[_0x2d45d9(0x9c)]()),_0x57d774[_0x2d45d9(0x3b6)](_0x255c19=>!_0x112078[_0x2d45d9(0x353)](_0x255c19)),_0x57d774[_0x2d45d9(0x1ea)](this[_0x2d45d9(0x98)]))[_0x2d45d9(0x153)](_0x48fbae=>{_0x3a2b71(_0x48fbae);});}};_0x5c1315=_0x59b95e([_0x3888a8(0x0,_0x112078[_0x46a189(0x11e)](_0x112078['Injector'])),_0x3888a8(0x1,_0x112078[_0x46a189(0x93)]),_0x3888a8(0x2,_0x112078[_0x46a189(0x2e4)]),_0x3888a8(0x3,_0x112078[_0x46a189(0x11e)](_0x247d18[_0x46a189(0x3a4)])),_0x3888a8(0x4,_0x112078['Inject'](_0x12b7ba))],_0x5c1315);var _0x43e49d=Object[_0x46a189(0x1d1)],_0x2704e5=(_0x2f078f,_0x2ec0ac,_0x4c93e3,_0x3db6b8)=>{var _0x3b3b41=_0x46a189;for(var _0x24c6a3=_0x3db6b8>0x1?void 0x0:_0x3db6b8?_0x43e49d(_0x2ec0ac,_0x4c93e3):_0x2ec0ac,_0x45564d=_0x2f078f[_0x3b3b41(0x86)]-0x1,_0x5b4e87;_0x45564d>=0x0;_0x45564d--)(_0x5b4e87=_0x2f078f[_0x45564d])&&(_0x24c6a3=_0x5b4e87(_0x24c6a3)||_0x24c6a3);return _0x24c6a3;},_0x2ad91f=(_0x5793b0,_0x170b44)=>(_0x8431c5,_0x229979)=>_0x170b44(_0x8431c5,_0x229979,_0x5793b0);_0x247d18[_0x46a189(0x8f)]=class{constructor(_0x1dddf,_0x31d663){var _0x4dd42e=_0x46a189;this[_0x4dd42e(0xad)]=_0x1dddf,this[_0x4dd42e(0x320)]=_0x31d663;}async[_0x46a189(0x2b2)](_0x3a686b,_0x5edd00){var _0x5c8e04=_0x46a189,_0x5cdd22;const {unitID:_0x422ef5,type:_0x9e6201,revision:_0x45f661=0x0}=_0x5edd00,_0x8ea1a1=this[_0x5c8e04(0x416)]()+'/'+_0x9e6201+'/unit/'+_0x422ef5+_0x5c8e04(0x205)+_0x45f661,_0x41c4c3=(await this['_httpService'][_0x5c8e04(0x3aa)](_0x8ea1a1))[_0x5c8e04(0x2cf)],_0x2a5ed3=(_0x5cdd22=_0x41c4c3['snapshot'])==null?void 0x0:_0x5cdd22[_0x5c8e04(0x2ab)];if(_0x2a5ed3){const _0x1dccbb=_0x2a5ed3==null?void 0x0:_0x2a5ed3['originalMeta'],_0x5382eb=_0x4f9634[_0x5c8e04(0x2b8)]['encode'](_0x4f9634[_0x5c8e04(0x3e0)](_0x1dccbb));_0x2a5ed3['originalMeta']=_0x5382eb,Object[_0x5c8e04(0xc8)](_0x2a5ed3[_0x5c8e04(0x333)])['forEach'](([,_0x3f80f4])=>{var _0x4a82a1=_0x5c8e04;const _0x18ab00=_0x3f80f4[_0x4a82a1(0x18d)],_0x5f2b8e=_0x4f9634[_0x4a82a1(0x2b8)]['encode'](_0x4f9634[_0x4a82a1(0x3e0)](_0x18ab00));_0x3f80f4['originalMeta']=_0x5f2b8e;});}return _0x41c4c3;}async[_0x46a189(0x1a1)](_0x29c389,_0x290cc2){var _0x368914=_0x46a189;const {unitID:_0x568fa0,type:_0x405d61,blockID:_0x310d34}=_0x290cc2,_0x59cd40=this['_getAPIPrefix']()+'/'+_0x405d61+'/unit/'+_0x568fa0+_0x368914(0x1de)+_0x310d34;return(await this[_0x368914(0x320)][_0x368914(0x3aa)](_0x59cd40))[_0x368914(0x2cf)];}async[_0x46a189(0x12c)](_0x30cce2,_0x33a057){var _0x17b2e4=_0x46a189;const {unitID:_0x312386,type:_0x400b0d,blockID:_0x1cd8c1}=_0x33a057,_0xc98ede=this[_0x17b2e4(0x1a8)]()+_0x17b2e4(0x1de)+_0x400b0d+_0x17b2e4(0x3fb)+_0x312386+'/block/'+_0x1cd8c1;return(await this['_httpService']['get'](_0xc98ede))[_0x17b2e4(0x2cf)];}async[_0x46a189(0x2fe)](_0x111835,_0x3fd6e4){var _0xabf185=_0x46a189;const {unitID:_0x40d28e,type:_0x44e35f,from:_0x49704a,to:_0xc26ef9}=_0x3fd6e4,_0x16d5a7=this[_0xabf185(0x1a8)]()+'/'+_0x44e35f+_0xabf185(0x3fb)+_0x40d28e+'/fetchmissing?from='+_0x49704a+'&to='+_0xc26ef9;return(await this[_0xabf185(0x320)]['get'](_0x16d5a7))[_0xabf185(0x2cf)];}[_0x46a189(0x416)](){var _0x3a827e=_0x46a189,_0x27d095;return(_0x27d095=this[_0x3a827e(0xad)][_0x3a827e(0x2a2)](_0x30d808))!=null?_0x27d095:this[_0x3a827e(0x1a8)]();}[_0x46a189(0x1a8)](){var _0x5c844f=_0x46a189,_0x4f09f3;const _0x4df906=this[_0x5c844f(0xad)][_0x5c844f(0x2a2)](_0x4f0c7a);return(_0x4f09f3=_0x4df906==null?void 0x0:_0x4df906[_0x5c844f(0x29c)])!=null?_0x4f09f3:_0x22f59e;}async[_0x46a189(0x283)](_0x19c3ec,_0xd24f3b){var _0x351434=_0x46a189;const _0x5cd2e5=_0x351434(0xe2)+_0xd24f3b[_0x351434(0xfd)]+_0x351434(0x3fb)+_0xd24f3b[_0x351434(0x194)]+'/resources';return(await this[_0x351434(0x320)][_0x351434(0x3aa)](_0x5cd2e5,{'params':{'resourceId':JSON[_0x351434(0x27f)](_0xd24f3b[_0x351434(0x3f6)])}}))[_0x351434(0x2cf)];}[_0x46a189(0x8e)](){var _0x861d21=_0x46a189;throw new Error(_0x861d21(0x187));}['updateSnapshot'](){var _0x1fbd43=_0x46a189;throw new Error(_0x1fbd43(0x187));}[_0x46a189(0x3d8)](){var _0x47dd20=_0x46a189;throw new Error(_0x47dd20(0x187));}[_0x46a189(0xf1)](){var _0x18e87b=_0x46a189;throw new Error(_0x18e87b(0x187));}[_0x46a189(0x423)](){var _0x171be6=_0x46a189;throw new Error(_0x171be6(0x187));}[_0x46a189(0x378)](){var _0x48cfa5=_0x46a189;throw new Error(_0x48cfa5(0x187));}},_0x247d18[_0x46a189(0x8f)]=_0x2704e5([_0x2ad91f(0x0,_0x112078[_0x46a189(0x22f)]),_0x2ad91f(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)]))],_0x247d18['SnapshotServerOverHTTPService']);var _0xf24acb=Object[_0x46a189(0x1d1)],_0x12787b=(_0x2e1fb8,_0x28ad49,_0x13d5b8,_0xae6a22)=>{var _0x4f8585=_0x46a189;for(var _0x16e704=_0xae6a22>0x1?void 0x0:_0xae6a22?_0xf24acb(_0x28ad49,_0x13d5b8):_0x28ad49,_0x537790=_0x2e1fb8[_0x4f8585(0x86)]-0x1,_0x160bed;_0x537790>=0x0;_0x537790--)(_0x160bed=_0x2e1fb8[_0x537790])&&(_0x16e704=_0x160bed(_0x16e704)||_0x16e704);return _0x16e704;},_0x1f9d63=(_0x4db8ca,_0x152f0b)=>(_0x5b3de7,_0x5eab82)=>_0x152f0b(_0x5b3de7,_0x5eab82,_0x4db8ca);_0x247d18[_0x46a189(0x3cb)]=class extends _0x112078[_0x46a189(0xea)]{constructor(_0x5e6f1a,_0x4e6175,_0x305dc3,_0xce5c31,_0x13753b){var _0x5d1407=_0x46a189;super(_0x5e6f1a,_0x4e6175,_0x305dc3),this[_0x5d1407(0xb2)]=_0xce5c31,this[_0x5d1407(0x235)]=_0x13753b;}['transformUndoRedo'](_0x139939,_0x250099){var _0x2b2abb=_0x46a189;const _0x533579=this['_getUndoStack'](_0x139939);if(_0x533579)try{const _0x2c30be=this[_0x2b2abb(0x405)](_0x533579,_0x250099);this[_0x2b2abb(0x20b)](_0x139939,_0x2c30be);}catch(_0x4cbaec){this['_logService']['error'](_0x2b2abb(0x1d8),_0x4cbaec),this['_clearUndo'](_0x139939);}const _0x5d2eee=this['_getRedoStack'](_0x139939);if(_0x5d2eee)try{const _0x361064=this[_0x2b2abb(0x405)](_0x5d2eee,_0x250099);this[_0x2b2abb(0x150)](_0x139939,_0x361064);}catch(_0x3a8250){this[_0x2b2abb(0x235)][_0x2b2abb(0x157)](_0x3a8250),this['_clearRedo'](_0x139939);}}[_0x46a189(0x2bf)](_0x5c7778){var _0x2193a9=_0x46a189;const _0x3436ad=this['_getUndoStack'](_0x5c7778);_0x3436ad&&(_0x3436ad[_0x2193a9(0x86)]=0x0,this[_0x2193a9(0xc5)]());}[_0x46a189(0x1d6)](_0xd4f3a2){var _0x380e2f=_0x46a189;const _0x118d92=this['_getRedoStack'](_0xd4f3a2);_0x118d92&&(_0x118d92[_0x380e2f(0x86)]=0x0,this[_0x380e2f(0xc5)]());}['_substituteUndoStack'](_0x5c997b,_0x15164e){var _0x1dde0d=_0x46a189;this[_0x1dde0d(0x1cf)][_0x1dde0d(0xf3)](_0x5c997b,_0x15164e),this[_0x1dde0d(0xc5)]();}[_0x46a189(0x150)](_0x46881d,_0x335d0e){var _0xac4f16=_0x46a189;this[_0xac4f16(0x3e5)][_0xac4f16(0xf3)](_0x46881d,_0x335d0e),this[_0xac4f16(0xc5)]();}[_0x46a189(0x405)](_0x7ed71,_0x84f137){var _0x3c11a0=_0x46a189;const _0xd7f05d=[];let _0x3f8252=_0x84f137,_0x1f9b0d=_0x84f137;for(let _0x14e657=_0x7ed71[_0x3c11a0(0x86)]-0x1;_0x14e657>=0x0;_0x14e657--){const {unitID:_0x1e0713,undoMutations:_0xd0cf3f,redoMutations:_0x4319db}=_0x7ed71[_0x14e657],_0x17e65=this[_0x3c11a0(0xb2)][_0x3c11a0(0x212)](_0x3f8252,_0xd0cf3f),_0x5d76a1=this[_0x3c11a0(0xb2)][_0x3c11a0(0x212)](_0x1f9b0d,_0x4319db);if(_0x4f9634[_0x3c11a0(0x1d2)](_0x17e65)||_0x4f9634['isTransformMutationsWithChangesetFailure'](_0x5d76a1)){this[_0x3c11a0(0x235)]['error'](_0x3c11a0(0x1d8),_0x3c11a0(0x264),_0x17e65,_0x5d76a1);break;}_0x3f8252=_0x17e65['c1Prime'],_0x1f9b0d=_0x5d76a1[_0x3c11a0(0x23f)],_0xd7f05d[_0x3c11a0(0x139)]({'unitID':_0x1e0713,'undoMutations':_0x17e65[_0x3c11a0(0x1d9)],'redoMutations':_0x5d76a1[_0x3c11a0(0x1d9)]});}return _0xd7f05d[_0x3c11a0(0x292)]();}},_0x247d18[_0x46a189(0x3cb)]=_0x12787b([_0x1f9d63(0x0,_0x112078[_0x46a189(0x93)]),_0x1f9d63(0x1,_0x112078['ICommandService']),_0x1f9d63(0x2,_0x112078[_0x46a189(0x2fb)]),_0x1f9d63(0x3,_0x4f9634[_0x46a189(0xbe)]),_0x1f9d63(0x4,_0x112078['ILogService'])],_0x247d18['CollaborativeUndoRedoService']);var _0x42659b=Object[_0x46a189(0x122)],_0x3685fb=Object[_0x46a189(0x1d1)],_0x411738=(_0x2df5c4,_0x23509c,_0x5922a9)=>_0x23509c in _0x2df5c4?_0x42659b(_0x2df5c4,_0x23509c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5922a9}):_0x2df5c4[_0x23509c]=_0x5922a9,_0x6c4e83=(_0x182600,_0x560f58,_0x383e7b,_0x185e53)=>{var _0x251a36=_0x46a189;for(var _0x3b6354=_0x185e53>0x1?void 0x0:_0x185e53?_0x3685fb(_0x560f58,_0x383e7b):_0x560f58,_0xff5734=_0x182600[_0x251a36(0x86)]-0x1,_0x22b89b;_0xff5734>=0x0;_0xff5734--)(_0x22b89b=_0x182600[_0xff5734])&&(_0x3b6354=_0x22b89b(_0x3b6354)||_0x3b6354);return _0x3b6354;},_0x1f1c7a=(_0x19b247,_0x38310e)=>(_0x529bfc,_0x3ff81d)=>_0x38310e(_0x529bfc,_0x3ff81d,_0x19b247),_0x2bc8e8=(_0x24c9e2,_0x8d253e,_0x3f4296)=>_0x411738(_0x24c9e2,_0x8d253e+'',_0x3f4296);const _0x479ff3=_0x46a189(0x393);_0x247d18[_0x46a189(0x311)]=class extends _0x112078[_0x46a189(0x15a)]{constructor(_0x3bcb6e,_0x3512ec,_0x29d113,_0x5a9281){var _0x3b862f=_0x46a189;super(),_0x25aa6e(this,_0x3b862f(0x34a)),(this[_0x3b862f(0x235)]=_0x3512ec,this[_0x3b862f(0x3e1)]=_0x29d113,this[_0x3b862f(0xad)]=_0x5a9281);const {..._0x2702c5}=_0x112078['merge']({},_0x13cd5c,_0x3bcb6e);if(!_0x2702c5[_0x3b862f(0x1ef)])throw new Error(_0x3b862f(0x1c7));this[_0x3b862f(0x34a)]=_0x2702c5,this[_0x3b862f(0xad)][_0x3b862f(0x155)](_0x4f0c7a,_0x2702c5);}['onStarting'](){var _0x152c0a=_0x46a189;this['_registerDependencies'](),this[_0x152c0a(0x20d)]();}[_0x46a189(0x1c6)](){var _0x200bca=_0x46a189,_0x12bc4e,_0x43b454;this['_injector'][_0x200bca(0x10b)](_0x112078[_0x200bca(0x197)])&&this[_0x200bca(0x235)][_0x200bca(0x157)](_0x200bca(0x38b),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2d9a72=_0x112078['mergeOverrideWithDependencies']([[_0x112078[_0x200bca(0x197)],{'useClass':_0x247d18[_0x200bca(0x3cb)]}],[_0x247d18[_0x200bca(0x3a4)]],[_0x247d18[_0x200bca(0x39f)]],[_0x247d18[_0x200bca(0xc4)]],[_0x327685],[_0x2162c9],[_0x4b3801],[_0x5c1315],[_0x12b7ba],[_0x247d18[_0x200bca(0x19c)]],[_0x5501e9,{'useClass':this[_0x200bca(0x34a)]['socketService']}],[_0x4f9634[_0x200bca(0x119)],{'useClass':_0x247d18['SnapshotServerOverHTTPService']}],[_0x112078[_0x200bca(0x33d)],{'useClass':_0x247d18[_0x200bca(0x404)]}],[_0x4b9ee5[_0x200bca(0x173)],{'useClass':_0x247d18[_0x200bca(0xa5)]}],[_0x112078[_0x200bca(0x1ad)],{'useClass':_0x247d18['MentionIoHttpService']}],[_0x247d18[_0x200bca(0x408)]],[_0x2f6ee9]],(_0x12bc4e=this[_0x200bca(0x34a)])==null?void 0x0:_0x12bc4e[_0x200bca(0x417)]);if(!((_0x43b454=this[_0x200bca(0x34a)])!=null&&_0x43b454[_0x200bca(0x158)])){const _0x3acf1f=_0x2d9a72[_0x200bca(0x1b1)](([_0x246669])=>_0x246669===_0x51ca0c);_0x3acf1f!==-0x1&&_0x2d9a72[_0x200bca(0x2ac)](_0x3acf1f,0x1);}_0x112078[_0x200bca(0x137)](this['_injector'],_0x2d9a72);}[_0x46a189(0x20d)](){var _0x2d377d=_0x46a189,_0x3bb22,_0x474389,_0xf74353;this['_injector'][_0x2d377d(0x3aa)](_0x1b0b18[_0x2d377d(0x2e7)])[_0x2d377d(0x3b8)]({'priority':0x14,'interceptor':_0x1b0b18[_0x2d377d(0x2db)]({'maxParallel':0x6})}),(_0x3bb22=this[_0x2d377d(0x34a)])!=null&&_0x3bb22[_0x2d377d(0x182)]||(_0x474389=this['_injector'][_0x2d377d(0x3aa)](_0x1257cc,_0x112078[_0x2d377d(0xef)][_0x2d377d(0x9b)]))==null||_0x474389[_0x2d377d(0x250)](),(_0xf74353=this['_config'])!=null&&_0xf74353[_0x2d377d(0x2ed)]&&_0x112078[_0x2d377d(0xe1)](this[_0x2d377d(0x3e1)],[[_0x327685]]),_0x112078['touchDependencies'](this['_injector'],[[_0x2162c9],[_0x247d18[_0x2d377d(0x408)]],[_0x5c1315]]);}},_0x2bc8e8(_0x247d18[_0x46a189(0x311)],_0x46a189(0x210),_0x479ff3),_0x247d18['UniverCollaborationClientPlugin']=_0x6c4e83([_0x112078[_0x46a189(0xee)](_0x4f9634[_0x46a189(0x105)],_0x1b0b18[_0x46a189(0xeb)]),_0x1f1c7a(0x1,_0x112078[_0x46a189(0xce)]),_0x1f1c7a(0x2,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1f1c7a(0x3,_0x112078['IConfigService'])],_0x247d18['UniverCollaborationClientPlugin']),_0x247d18[_0x46a189(0x143)]=_0x4f0c7a,_0x247d18[_0x46a189(0x388)]=_0x41e9c8,_0x247d18[_0x46a189(0x3f8)]=_0xee750e,_0x247d18[_0x46a189(0x354)]=_0x12b7ba,_0x247d18[_0x46a189(0x222)]=_0x4b3801,_0x247d18[_0x46a189(0xbf)]=_0x1cfacc,_0x247d18[_0x46a189(0x329)]=_0x3f6e73,_0x247d18[_0x46a189(0x1e3)]=_0x35d64c,_0x247d18[_0x46a189(0x40e)]=_0x3dbfa6,_0x247d18['HEARTBEAT_TIMEOUT_KEY']=_0x375a07,_0x247d18[_0x46a189(0x3d4)]=_0x5501e9,_0x247d18[_0x46a189(0x1e6)]=_0x1257cc,_0x247d18[_0x46a189(0x321)]=_0x4284be,_0x247d18['ISingleActiveUnitService']=_0x51ca0c,_0x247d18['LOCAL_CACHE_INTERVAL']=0x3e8,_0x247d18['LOCAL_CACHE_INTERVAL_KEY']=_0x2ccf29,_0x247d18[_0x46a189(0x233)]=_0x475e7c,_0x247d18[_0x46a189(0x11c)]=_0x302883,_0x247d18[_0x46a189(0x24a)]=_0x4f1434,_0x247d18[_0x46a189(0x1ab)]=_0xaf572f,_0x247d18[_0x46a189(0x3d5)]=_0x3a30da,_0x247d18[_0x46a189(0x15c)]=_0x37fe5f,_0x247d18[_0x46a189(0xf6)]=_0x5da2ca,Object['defineProperty'](_0x247d18,Symbol['toStringTag'],{'value':_0x46a189(0x24d)});}));
|
|
2
|
+
(function(_0x35d321,_0x3d4506){var _0x355873=_0x1b3a,_0x27c441=_0x35d321();while(!![]){try{var _0x32e752=-parseInt(_0x355873(0x1a9))/0x1*(-parseInt(_0x355873(0x48c))/0x2)+-parseInt(_0x355873(0x24b))/0x3+parseInt(_0x355873(0x368))/0x4*(parseInt(_0x355873(0x2b4))/0x5)+-parseInt(_0x355873(0x2cf))/0x6+-parseInt(_0x355873(0x1e0))/0x7+parseInt(_0x355873(0x4cb))/0x8*(-parseInt(_0x355873(0x22e))/0x9)+-parseInt(_0x355873(0x331))/0xa*(-parseInt(_0x355873(0x25e))/0xb);if(_0x32e752===_0x3d4506)break;else _0x27c441['push'](_0x27c441['shift']());}catch(_0x469b40){_0x27c441['push'](_0x27c441['shift']());}}}(_0xd393,0x845bf),function(_0x427c06,_0x202562){var _0x259fbd=_0x1b3a;typeof exports==_0x259fbd(0x1ca)&&typeof module<'u'?_0x202562(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==_0x259fbd(0x1e6)&&define[_0x259fbd(0x18f)]?define([_0x259fbd(0x204),'@univerjs-pro/collaboration',_0x259fbd(0x27c),_0x259fbd(0x38b),_0x259fbd(0x26e),'rxjs',_0x259fbd(0x44c),'rxjs/operators',_0x259fbd(0x421),_0x259fbd(0x3f4),_0x259fbd(0x427)],_0x202562):(_0x427c06=typeof globalThis<'u'?globalThis:_0x427c06||self,_0x202562(_0x427c06[_0x259fbd(0x46a)]={},_0x427c06['UniverProCollaboration'],_0x427c06['UniverCore'],_0x427c06[_0x259fbd(0x431)],_0x427c06[_0x259fbd(0x1a4)],_0x427c06[_0x259fbd(0x300)],_0x427c06[_0x259fbd(0x387)],_0x427c06['rxjs'][_0x259fbd(0x3ef)],_0x427c06[_0x259fbd(0x1eb)],_0x427c06['UniverDrawing'],_0x427c06[_0x259fbd(0x42f)]));}(this,function(_0xc0bd37,_0x24336b,_0x31a84a,_0x10cd63,_0x2a4560,_0x3dd64f,_0x1810a1,_0x50cad4,_0x53093c,_0x213bba,_0x4d4a17){'use strict';var _0x1150fd=_0x1b3a;var _0x5b9143=Object[_0x1150fd(0x3aa)],_0xf4a279=(_0x273fcc,_0x36676b,_0x1794d9)=>_0x36676b in _0x273fcc?_0x5b9143(_0x273fcc,_0x36676b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1794d9}):_0x273fcc[_0x36676b]=_0x1794d9,_0x516c5a=(_0xe5139c,_0x384a92,_0x32884d)=>_0xf4a279(_0xe5139c,typeof _0x384a92!='symbol'?_0x384a92+'':_0x384a92,_0x32884d);const _0x38f9a6='/universer-api/snapshot',_0x4e9b22='SNAPSHOT_URL_KEY',_0x279807=_0x1150fd(0x2a2),_0x4c8f54=_0x1150fd(0x419),_0x2cfd52=_0x1150fd(0x3b2),_0x55b9af=_0x1150fd(0x3cb),_0x5b4b03=_0x1150fd(0x19e),_0x2dee97=_0x1150fd(0x189),_0x24cf81=_0x1150fd(0x2a5),_0xf6df30='/universer-api/oidc/authpage',_0x29aa70=_0x1150fd(0x2b0),_0x2b8aca='/universer-api/uniscript';var _0x492a24=(_0x46e829=>(_0x46e829[_0x46e829[_0x1150fd(0x456)]=0x0]='UNDEFINED',_0x46e829[_0x46e829['OK']=0x1]='OK',_0x46e829[_0x46e829[_0x1150fd(0x3a4)]=0x2]='INTERNAL_ERROR',_0x46e829[_0x46e829['PERMISSION_DENIED']=0x3]=_0x1150fd(0x1b3),_0x46e829[_0x46e829[_0x1150fd(0x379)]=0x4]='NOT_FOUND',_0x46e829[_0x46e829['UNAUTHENTICATED']=0x5]=_0x1150fd(0x2ca),_0x46e829[_0x46e829[_0x1150fd(0x2bb)]=0x6]='ALREADY_EXISTS',_0x46e829[_0x46e829['INVALID_ARGUMENT']=0x7]=_0x1150fd(0x317),_0x46e829[_0x46e829[_0x1150fd(0x30a)]=0x8]=_0x1150fd(0x30a),_0x46e829[_0x46e829[_0x1150fd(0x417)]=0x9]=_0x1150fd(0x417),_0x46e829[_0x46e829[_0x1150fd(0x214)]=0xa]=_0x1150fd(0x214),_0x46e829[_0x46e829['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x46e829[_0x46e829['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1150fd(0x49a),_0x46e829[_0x46e829[_0x1150fd(0x4c3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x46e829[_0x46e829[_0x1150fd(0x3a5)]=0xe]=_0x1150fd(0x3a5),_0x46e829[_0x46e829[_0x1150fd(0x46f)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x46e829[_0x46e829[_0x1150fd(0x313)]=0x10]=_0x1150fd(0x313),_0x46e829[_0x46e829['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1150fd(0x23b),_0x46e829[_0x46e829['ERROR_AGAIN']=0x65]=_0x1150fd(0x3fa),_0x46e829[_0x46e829[_0x1150fd(0x1bb)]=0xc9]=_0x1150fd(0x1bb),_0x46e829[_0x46e829[_0x1150fd(0x26a)]=0xca]=_0x1150fd(0x26a),_0x46e829[_0x46e829[_0x1150fd(0x435)]=0x1389]=_0x1150fd(0x435),_0x46e829[_0x46e829[_0x1150fd(0x3d7)]=0x1771]=_0x1150fd(0x3d7),_0x46e829[_0x46e829[_0x1150fd(0x319)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x46e829[_0x46e829['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1150fd(0x286),_0x46e829[_0x46e829['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x46e829[_0x46e829['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1150fd(0x48f),_0x46e829[_0x46e829[_0x1150fd(0x3d5)]=0x1b5b]=_0x1150fd(0x3d5),_0x46e829[_0x46e829[_0x1150fd(0x2bf)]=0x1b5c]=_0x1150fd(0x2bf),_0x46e829[_0x46e829[_0x1150fd(0x17f)]=0x1b5d]=_0x1150fd(0x17f),_0x46e829[_0x46e829['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1150fd(0x31e),_0x46e829[_0x46e829[_0x1150fd(0x2cb)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x46e829[_0x46e829['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1150fd(0x162),_0x46e829[_0x46e829['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1150fd(0x2ea),_0x46e829[_0x46e829[_0x1150fd(0x256)]=0x232c]=_0x1150fd(0x256),_0x46e829[_0x46e829[_0x1150fd(0x375)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x46e829[_0x46e829[_0x1150fd(0x1b6)]=0x2711]=_0x1150fd(0x1b6),_0x46e829[_0x46e829[_0x1150fd(0x396)]=0x2712]=_0x1150fd(0x396),_0x46e829[_0x46e829[_0x1150fd(0x470)]=0x2713]=_0x1150fd(0x470),_0x46e829[_0x46e829['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1150fd(0x1ce),_0x46e829[_0x46e829[_0x1150fd(0x2f4)]=0x271a]=_0x1150fd(0x2f4),_0x46e829[_0x46e829['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1150fd(0x203),_0x46e829[_0x46e829['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x46e829[_0x46e829['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1150fd(0x1dd),_0x46e829[_0x46e829[_0x1150fd(0x4c0)]=0x271e]=_0x1150fd(0x4c0),_0x46e829[_0x46e829['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1150fd(0x2fa),_0x46e829[_0x46e829[_0x1150fd(0x43d)]=0x2720]=_0x1150fd(0x43d),_0x46e829[_0x46e829[_0x1150fd(0x150)]=0x2af9]=_0x1150fd(0x150),_0x46e829[_0x46e829[_0x1150fd(0x398)]=0x2ee1]=_0x1150fd(0x398),_0x46e829[_0x46e829[_0x1150fd(0x402)]=0x2ee2]=_0x1150fd(0x402),_0x46e829[_0x46e829[_0x1150fd(0x432)]=0x2ee3]=_0x1150fd(0x432),_0x46e829[_0x46e829['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1150fd(0x192),_0x46e829[_0x46e829['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1150fd(0x372),_0x46e829[_0x46e829[_0x1150fd(0x271)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x46e829[_0x46e829[_0x1150fd(0x27e)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x46e829[_0x46e829['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1150fd(0x488),_0x46e829[_0x46e829[_0x1150fd(0x37d)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x46e829[_0x46e829[_0x1150fd(0x281)]=0x36b2]=_0x1150fd(0x281),_0x46e829[_0x46e829['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x46e829[_0x46e829[_0x1150fd(0x3ee)]=0x36b4]=_0x1150fd(0x3ee),_0x46e829[_0x46e829[_0x1150fd(0x447)]=0x36b5]=_0x1150fd(0x447),_0x46e829[_0x46e829['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x1150fd(0x1e4),_0x46e829[_0x46e829[_0x1150fd(0x422)]=0x36b7]=_0x1150fd(0x422),_0x46e829[_0x46e829[_0x1150fd(0x29c)]=0x36b8]=_0x1150fd(0x29c),_0x46e829[_0x46e829['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1150fd(0x22c),_0x46e829[_0x46e829[_0x1150fd(0x47e)]=0x3716]=_0x1150fd(0x47e),_0x46e829[_0x46e829[_0x1150fd(0x4ca)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x46e829[_0x46e829[_0x1150fd(0x390)]=0x37dd]=_0x1150fd(0x390),_0x46e829[_0x46e829[_0x1150fd(0x3f6)]=0x3a99]=_0x1150fd(0x3f6),_0x46e829[_0x46e829[_0x1150fd(0x3c0)]=0x3a9a]=_0x1150fd(0x3c0),_0x46e829[_0x46e829['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x1150fd(0x399),_0x46e829[_0x46e829[_0x1150fd(0x327)]=0x3a9c]=_0x1150fd(0x327),_0x46e829[_0x46e829[_0x1150fd(0x266)]=0x3a9d]=_0x1150fd(0x266),_0x46e829[_0x46e829[_0x1150fd(0x349)]=0x3a9e]=_0x1150fd(0x349),_0x46e829[_0x46e829[_0x1150fd(0x460)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x46e829[_0x46e829[_0x1150fd(0x205)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x46e829[_0x46e829[_0x1150fd(0x186)]=-0x1]='UNRECOGNIZED',_0x46e829))(_0x492a24||{}),_0x4e99ce=(_0xd5a581=>(_0xd5a581[_0xd5a581[_0x1150fd(0x1ae)]=0x0]='UNIVER_UNKNOWN',_0xd5a581[_0xd5a581[_0x1150fd(0x3a8)]=0x1]=_0x1150fd(0x3a8),_0xd5a581[_0xd5a581[_0x1150fd(0x3d4)]=0x2]='UNIVER_SHEET',_0xd5a581[_0xd5a581[_0x1150fd(0x275)]=0x3]='UNIVER_SLIDE',_0xd5a581[_0xd5a581[_0x1150fd(0x3b9)]=0x4]=_0x1150fd(0x3b9),_0xd5a581[_0xd5a581[_0x1150fd(0x186)]=-0x1]=_0x1150fd(0x186),_0xd5a581))(_0x4e99ce||{}),_0x14a22b=(_0x1b528e=>(_0x1b528e[_0x1b528e['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x1b528e[_0x1b528e['HELLO']=0x1]='HELLO',_0x1b528e[_0x1b528e[_0x1150fd(0x28c)]=0x2]=_0x1150fd(0x28c),_0x1b528e[_0x1b528e['LEAVE']=0x3]=_0x1150fd(0x32b),_0x1b528e[_0x1b528e[_0x1150fd(0x314)]=0x4]=_0x1150fd(0x314),_0x1b528e[_0x1b528e['HEARTBEAT']=0x5]=_0x1150fd(0x27f),_0x1b528e[_0x1b528e[_0x1150fd(0x3a0)]=0x6]=_0x1150fd(0x3a0),_0x1b528e[_0x1b528e[_0x1150fd(0x186)]=-0x1]=_0x1150fd(0x186),_0x1b528e))(_0x14a22b||{}),_0x54c09b=(_0x3ba1b7=>(_0x3ba1b7[_0x3ba1b7['UNKNOWN_CODE']=0x0]=_0x1150fd(0x367),_0x3ba1b7[_0x3ba1b7['OK']=0x1]='OK',_0x3ba1b7[_0x3ba1b7[_0x1150fd(0x301)]=0x2]=_0x1150fd(0x301),_0x3ba1b7[_0x3ba1b7['JOIN_ROOM_FULL']=0x3e9]=_0x1150fd(0x382),_0x3ba1b7[_0x3ba1b7[_0x1150fd(0x29f)]=0x3ea]=_0x1150fd(0x29f),_0x3ba1b7[_0x3ba1b7['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3ba1b7[_0x3ba1b7[_0x1150fd(0x1e8)]=0x3ec]=_0x1150fd(0x1e8),_0x3ba1b7[_0x3ba1b7[_0x1150fd(0x186)]=-0x1]=_0x1150fd(0x186),_0x3ba1b7))(_0x54c09b||{}),_0x276b64=(_0x27a5a3=>(_0x27a5a3[_0x27a5a3[_0x1150fd(0x365)]=0x0]=_0x1150fd(0x365),_0x27a5a3[_0x27a5a3[_0x1150fd(0x19f)]=0x1]=_0x1150fd(0x19f),_0x27a5a3[_0x27a5a3[_0x1150fd(0x48a)]=0x2]='HttpExport',_0x27a5a3[_0x27a5a3[_0x1150fd(0x480)]=0x3]='UnitEmbedded',_0x27a5a3[_0x27a5a3[_0x1150fd(0x4ae)]=0x4]='UnitSnapshot',_0x27a5a3[_0x27a5a3[_0x1150fd(0x2aa)]=0x5]=_0x1150fd(0x2aa),_0x27a5a3[_0x27a5a3[_0x1150fd(0x16e)]=0x6]=_0x1150fd(0x16e),_0x27a5a3[_0x27a5a3[_0x1150fd(0x186)]=-0x1]='UNRECOGNIZED',_0x27a5a3))(_0x276b64||{});const _0x497851='collaboration_new_changeset';function _0x3c5d79(_0x5359d0){var _0x1356ee=_0x1150fd;return JSON[_0x1356ee(0x16b)](_0x5359d0)[_0x1356ee(0x17d)];}var _0x106d5d=(_0x114672=>(_0x114672[_0x1150fd(0x451)]=_0x1150fd(0x451),_0x114672[_0x1150fd(0x1b3)]=_0x1150fd(0x1b3),_0x114672[_0x1150fd(0x216)]=_0x1150fd(0x216),_0x114672[_0x1150fd(0x242)]=_0x1150fd(0x242),_0x114672[_0x1150fd(0x45c)]=_0x1150fd(0x45c),_0x114672[_0x1150fd(0x44b)]=_0x1150fd(0x44b),_0x114672[_0x1150fd(0x259)]=_0x1150fd(0x259),_0x114672[_0x1150fd(0x32d)]=_0x1150fd(0x32d),_0x114672))(_0x106d5d||{});class _0x38b704{constructor(){var _0x5ba397=_0x1150fd;_0x516c5a(this,_0x5ba397(0x2ad),new _0x3dd64f[(_0x5ba397(0x478))]()),_0x516c5a(this,_0x5ba397(0x4aa),this[_0x5ba397(0x2ad)]['asObservable']());}['emitEvent'](_0x43957a){var _0x3f4aa9=_0x1150fd;this['_event$'][_0x3f4aa9(0x2f2)](_0x43957a);}}class _0x494f7b{constructor(){var _0x4f1f13=_0x1150fd;_0x516c5a(this,_0x4f1f13(0x44a),new _0x3dd64f[(_0x4f1f13(0x478))]()),_0x516c5a(this,_0x4f1f13(0x363),this['_commentUpdate$'][_0x4f1f13(0x499)]());}[_0x1150fd(0x2ac)](_0x51ee3d){var _0x626eff=_0x1150fd;this[_0x626eff(0x44a)]['next'](_0x51ee3d);}}var _0x2293f4=Object[_0x1150fd(0x13b)],_0x14a435=(_0x208477,_0x1ee34d,_0x59e398,_0x5ae05a)=>{var _0x53ec15=_0x1150fd;for(var _0x51223a=_0x5ae05a>0x1?void 0x0:_0x5ae05a?_0x2293f4(_0x1ee34d,_0x59e398):_0x1ee34d,_0xfcf8c1=_0x208477[_0x53ec15(0x17d)]-0x1,_0x37c2a5;_0xfcf8c1>=0x0;_0xfcf8c1--)(_0x37c2a5=_0x208477[_0xfcf8c1])&&(_0x51223a=_0x37c2a5(_0x51223a)||_0x51223a);return _0x51223a;},_0x565165=(_0x249461,_0x9d7771)=>(_0x7b3c19,_0x570bf6)=>_0x9d7771(_0x7b3c19,_0x570bf6,_0x249461);_0xc0bd37[_0x1150fd(0x146)]=class extends _0x31a84a[_0x1150fd(0x2e4)]{constructor(_0x11458b,_0x457a39){var _0x2a0c12=_0x1150fd;super(),_0x516c5a(this,_0x2a0c12(0x26d),new Map()),_0x516c5a(this,_0x2a0c12(0x1b9),new _0x3dd64f['Subject']()),(this[_0x2a0c12(0x252)]=_0x11458b,this['_userManagerService']=_0x457a39,this[_0x2a0c12(0x441)](_0x3dd64f[_0x2a0c12(0x373)](this[_0x2a0c12(0x252)][_0x2a0c12(0x438)](_0x31a84a[_0x2a0c12(0x2fc)][_0x2a0c12(0x3d4)])[_0x2a0c12(0x3ad)](_0x50cad4[_0x2a0c12(0x3fd)](_0x11b278=>_0x11b278['getUnitId']())),this[_0x2a0c12(0x252)][_0x2a0c12(0x438)](_0x31a84a['UniverInstanceType'][_0x2a0c12(0x3a8)])[_0x2a0c12(0x3ad)](_0x50cad4[_0x2a0c12(0x3fd)](_0x4e1a03=>_0x4e1a03[_0x2a0c12(0x44e)]())),this[_0x2a0c12(0x252)][_0x2a0c12(0x438)](_0x31a84a[_0x2a0c12(0x2fc)]['UNIVER_SLIDE'])[_0x2a0c12(0x3ad)](_0x50cad4['map'](_0x51f6b7=>_0x51f6b7[_0x2a0c12(0x44e)]())))['subscribe'](_0x44c348=>this['_removeRoom'](_0x44c348))));}[_0x1150fd(0x3f7)](_0x408c51){var _0x2d6e7c=_0x1150fd;return this[_0x2d6e7c(0x26d)][_0x2d6e7c(0x1d6)](_0x408c51)?_0x3dd64f['of'](this[_0x2d6e7c(0x26d)][_0x2d6e7c(0x173)](_0x408c51)):this[_0x2d6e7c(0x1b9)][_0x2d6e7c(0x3ad)](_0x50cad4['map'](_0x425381=>{var _0x172406=_0x2d6e7c;if(_0x425381===_0x408c51)return this[_0x172406(0x26d)]['get'](_0x425381);}));}[_0x1150fd(0x459)](_0x323b3c){var _0x42825d=_0x1150fd;this[_0x42825d(0x4b2)][_0x42825d(0x459)](_0x323b3c);}[_0x1150fd(0x472)](){var _0x27539d=_0x1150fd;return this[_0x27539d(0x4b2)][_0x27539d(0x472)]();}['updateMember'](_0x5790be,_0xc37e4f){var _0x24e785=_0x1150fd;let _0x221289=this[_0x24e785(0x26d)]['get'](_0x5790be);_0x221289||(_0x221289=new _0xa808f6(),this['_roomMembers'][_0x24e785(0x289)](_0x5790be,_0x221289),this[_0x24e785(0x1b9)][_0x24e785(0x2f2)](_0x5790be)),_0x221289[_0x24e785(0x36f)](_0xc37e4f);}[_0x1150fd(0x276)](_0x2173fd,_0x15ae73){var _0x2eca9f=_0x1150fd;const _0x50483b=this[_0x2eca9f(0x26d)][_0x2eca9f(0x173)](_0x2173fd);_0x50483b&&_0x50483b[_0x2eca9f(0x276)](_0x15ae73);}[_0x1150fd(0x2cc)](_0x4051e3){var _0x170008=_0x1150fd;return this['_roomMembers'][_0x170008(0x173)](_0x4051e3);}['getMember'](_0x4d539f,_0x30c25e){var _0xd48d31=_0x1150fd;const _0x13a47e=this[_0xd48d31(0x26d)][_0xd48d31(0x173)](_0x4d539f);if(_0x13a47e)return _0x13a47e['getMember'](_0x30c25e);}[_0x1150fd(0x4b4)](_0x4cb577){var _0x3cddf3=_0x1150fd;const _0x58ce8f=this[_0x3cddf3(0x26d)][_0x3cddf3(0x173)](_0x4cb577);_0x58ce8f&&(_0x58ce8f[_0x3cddf3(0x21e)](),this['_roomMembers'][_0x3cddf3(0x2c5)](_0x4cb577));}[_0x1150fd(0x21e)](){var _0x1789f2=_0x1150fd;this[_0x1789f2(0x26d)][_0x1789f2(0x39d)](_0x42aa8a=>_0x42aa8a['dispose']()),this[_0x1789f2(0x26d)][_0x1789f2(0x25d)](),this[_0x1789f2(0x1b9)][_0x1789f2(0x41c)]();}},_0xc0bd37[_0x1150fd(0x146)]=_0x14a435([_0x565165(0x0,_0x31a84a['IUniverInstanceService']),_0x565165(0x1,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x433)]))],_0xc0bd37[_0x1150fd(0x146)]);class _0xa808f6 extends _0x31a84a[_0x1150fd(0x2e4)]{constructor(){var _0x238b53=_0x1150fd;super(...arguments),_0x516c5a(this,_0x238b53(0x263),new Map()),_0x516c5a(this,_0x238b53(0x370),new _0x3dd64f[(_0x238b53(0x353))](this[_0x238b53(0x263)])),_0x516c5a(this,'members$',this['_members$']['asObservable']());}['dispose'](){var _0x4cd248=_0x1150fd;this['_members'][_0x4cd248(0x25d)]();}[_0x1150fd(0x36f)](_0x19efa2){var _0x350421=_0x1150fd;this[_0x350421(0x263)][_0x350421(0x289)](_0x19efa2['memberID'],_0x19efa2),this['_emitMembers']();}['removeMember'](_0x382ef6){var _0x33d4b1=_0x1150fd;this['_members'][_0x33d4b1(0x2c5)](_0x382ef6);}[_0x1150fd(0x305)](_0x519e86){var _0x48897d=_0x1150fd;return this[_0x48897d(0x263)][_0x48897d(0x173)](_0x519e86);}[_0x1150fd(0x254)](){var _0xf1cb44=_0x1150fd;return Array[_0xf1cb44(0x1db)](this[_0xf1cb44(0x263)][_0xf1cb44(0x4a6)]());}[_0x1150fd(0x260)](){var _0x566f24=_0x1150fd;this['_members$']['next'](this[_0x566f24(0x263)]);}}var _0x3f9de5=Object[_0x1150fd(0x13b)],_0xcad3f1=(_0x18922a,_0xd5c885,_0x1de655,_0x36a782)=>{var _0x4cbe64=_0x1150fd;for(var _0x2cec28=_0x36a782>0x1?void 0x0:_0x36a782?_0x3f9de5(_0xd5c885,_0x1de655):_0xd5c885,_0x1664c0=_0x18922a[_0x4cbe64(0x17d)]-0x1,_0x1cdad4;_0x1664c0>=0x0;_0x1664c0--)(_0x1cdad4=_0x18922a[_0x1664c0])&&(_0x2cec28=_0x1cdad4(_0x2cec28)||_0x2cec28);return _0x2cec28;},_0x4efd0b=(_0x953661,_0x38ab24)=>(_0x256395,_0x232b24)=>_0x38ab24(_0x256395,_0x232b24,_0x953661),_0x4f2d39=(_0x58f50e=>(_0x58f50e[_0x58f50e['IDLE']=0x0]=_0x1150fd(0x3b0),_0x58f50e[_0x58f50e[_0x1150fd(0x35c)]=0x1]=_0x1150fd(0x35c),_0x58f50e[_0x58f50e['OFFLINE']=0x2]=_0x1150fd(0x38e),_0x58f50e[_0x58f50e['ONLINE']=0x3]='ONLINE',_0x58f50e))(_0x4f2d39||{});const _0x590ddb={[_0x54c09b[_0x1150fd(0x301)]]:_0x1150fd(0x413),[_0x54c09b[_0x1150fd(0x382)]]:'session.room-full',[_0x54c09b[_0x1150fd(0x29f)]]:'session.room-not-exists',[_0x54c09b[_0x1150fd(0x414)]]:_0x1150fd(0x4a4),[_0x54c09b[_0x1150fd(0x1e8)]]:_0x1150fd(0x37a)};_0xc0bd37[_0x1150fd(0x1df)]=class extends _0x31a84a[_0x1150fd(0x2be)]{constructor(_0x48dcc5,_0x713135,_0x900563,_0x4f8d41,_0x3685d1,_0x2954ca,_0x18c1d8,_0x2992ff){var _0x24ee6d=_0x1150fd;super(),_0x516c5a(this,_0x24ee6d(0x3ce),new _0x3dd64f[(_0x24ee6d(0x353))](0x0)),_0x516c5a(this,'sessionStatus$',this[_0x24ee6d(0x3ce)][_0x24ee6d(0x499)]()),_0x516c5a(this,_0x24ee6d(0x2ad),new _0x3dd64f[(_0x24ee6d(0x478))]()),_0x516c5a(this,_0x24ee6d(0x4aa),this['_event$'][_0x24ee6d(0x499)]()),_0x516c5a(this,'_socket'),_0x516c5a(this,'_socketMessageSubscription'),_0x516c5a(this,_0x24ee6d(0x1b0)),_0x516c5a(this,_0x24ee6d(0x4cf),!0x1),_0x516c5a(this,_0x24ee6d(0x1a2),null),(this['_unitID']=_0x48dcc5,this[_0x24ee6d(0x4b0)]=_0x900563,this[_0x24ee6d(0x430)]=_0x4f8d41,this[_0x24ee6d(0x187)]=_0x3685d1,this['_commentService']=_0x2954ca,this[_0x24ee6d(0x24f)]=_0x18c1d8,this[_0x24ee6d(0x2b5)]=_0x2992ff,this[_0x24ee6d(0x4cf)]=!!this['_telemetryService'],_0x713135[_0x24ee6d(0x3ad)](_0x3dd64f[_0x24ee6d(0x418)](this[_0x24ee6d(0x1ac)]))[_0x24ee6d(0x3c3)](_0x7380b3=>{var _0x1f0a3d=_0x24ee6d,_0x207976;typeof _0x7380b3>'u'||(this[_0x1f0a3d(0x284)]=_0x7380b3,_0x7380b3?(this[_0x1f0a3d(0x357)](_0x7380b3),this[_0x1f0a3d(0x193)]=_0x7380b3['message$']['subscribe'](_0x8f9b38=>{var _0x2cab3a=_0x1f0a3d;_0x8f9b38['routeKey']===this['_unitID']&&this[_0x2cab3a(0x22f)](_0x8f9b38);})):(this[_0x1f0a3d(0x2d9)](),this[_0x1f0a3d(0x3ce)]['next'](0x2),(_0x207976=this[_0x1f0a3d(0x193)])==null||_0x207976['unsubscribe'](),this[_0x1f0a3d(0x193)]=null));}));}get[_0x1150fd(0x475)](){var _0x321088=_0x1150fd;return this[_0x321088(0x3ce)]['getValue']();}[_0x1150fd(0x4a3)](){var _0x5359df=_0x1150fd,_0x55dbea,_0x1add83;return(_0x1add83=(_0x55dbea=this[_0x5359df(0x284)])==null?void 0x0:_0x55dbea[_0x5359df(0x149)])!=null?_0x1add83:null;}[_0x1150fd(0x21e)](){var _0x44e9a2=_0x1150fd;super[_0x44e9a2(0x21e)](),this['dispose$'][_0x44e9a2(0x2f2)](),this['dispose$']['complete']();}[_0x1150fd(0x1ec)](){var _0x3e41d8=_0x1150fd,_0xfe6543,_0x20b8a6;this[_0x3e41d8(0x2d9)](),(_0xfe6543=this[_0x3e41d8(0x284)])==null||_0xfe6543[_0x3e41d8(0x467)]({'cmd':_0x14a22b['LEAVE'],'data':{'roomID':this[_0x3e41d8(0x2f7)]}}),(_0x20b8a6=this['_socket'])==null||_0x20b8a6[_0x3e41d8(0x1ec)](),this['_event$'][_0x3e41d8(0x41c)](),this[_0x3e41d8(0x3ce)][_0x3e41d8(0x41c)](),this[_0x3e41d8(0x21e)]();}[_0x1150fd(0x22f)](_0x243a06){var _0x55cbbf=_0x1150fd;_0x243a06['cmd']===_0x14a22b['JOIN']?this[_0x55cbbf(0x287)](_0x243a06):_0x243a06[_0x55cbbf(0x246)]===_0x14a22b['RECV']&&this[_0x55cbbf(0x18d)](_0x243a06);}[_0x1150fd(0x357)](_0x2ce319){var _0x2523c9=_0x1150fd;this[_0x2523c9(0x3ce)][_0x2523c9(0x2f2)](0x1),_0x2ce319[_0x2523c9(0x467)]({'cmd':_0x14a22b[_0x2523c9(0x28c)],'routeKey':this[_0x2523c9(0x2f7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2523c9(0x2f7)]}]}});}[_0x1150fd(0x287)](_0xcdf079){var _0x369185=_0x1150fd,_0x3f35d5;if(_0xcdf079[_0x369185(0x3bf)]in _0x590ddb){this['_collaborationUIEventService'][_0x369185(0x169)]({'id':_0x106d5d[_0x369185(0x45c)],'data':_0x590ddb[_0xcdf079[_0x369185(0x3bf)]]}),this[_0x369185(0x3ce)][_0x369185(0x2f2)](0x2);return;}this[_0x369185(0x3ce)][_0x369185(0x2f2)](0x3);const _0x9a37fc=(_0x3f35d5=_0xcdf079[_0x369185(0x33c)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x3f35d5['members'];_0x9a37fc&&_0x9a37fc['forEach'](_0x525bc4=>this['_memberService']['updateMember'](this[_0x369185(0x2f7)],_0x525bc4));}[_0x1150fd(0x18d)](_0x198dd6){var _0x1bbf03=_0x1150fd;try{const _0x1f01e8=_0x198dd6[_0x1bbf03(0x33c)];switch(_0x1f01e8['eventID']){case _0x24336b[_0x1bbf03(0x405)]['USERS_ENTER']:this[_0x1bbf03(0x341)](_0x1f01e8),this[_0x1bbf03(0x2ad)]['next'](_0x1f01e8);break;case _0x24336b[_0x1bbf03(0x405)]['USERS_LEAVE']:this[_0x1bbf03(0x27a)](_0x1f01e8),this[_0x1bbf03(0x2ad)][_0x1bbf03(0x2f2)](_0x1f01e8);break;case _0x24336b[_0x1bbf03(0x405)]['CHANGESET_ACK']:case _0x24336b[_0x1bbf03(0x405)]['CHANGESET_SHOULD_RETRY']:this[_0x1bbf03(0x142)](),this[_0x1bbf03(0x461)](),this[_0x1bbf03(0x2ad)][_0x1bbf03(0x2f2)](_0x1f01e8);break;case _0x24336b[_0x1bbf03(0x405)]['MSG_FOR_ERROR']:this[_0x1bbf03(0x4b0)][_0x1bbf03(0x1f9)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x1bbf03(0x16b)](_0x1f01e8)),this[_0x1bbf03(0x2ad)]['next'](_0x1f01e8);break;case _0x24336b['CollaborationEvent']['COMMENT_UPDATE']:this[_0x1bbf03(0x191)]['onCommentUpdate'](_0x1f01e8['data']),this[_0x1bbf03(0x2ad)][_0x1bbf03(0x2f2)](_0x1f01e8);break;default:this['_event$']['next'](_0x1f01e8);}}catch(_0x103e70){this[_0x1bbf03(0x4b0)][_0x1bbf03(0x1f9)](_0x103e70,_0x198dd6);}}[_0x1150fd(0x341)](_0x1c940a){var _0x2f44b7=_0x1150fd;this[_0x2f44b7(0x187)][_0x2f44b7(0x36f)](this[_0x2f44b7(0x2f7)],_0x1c940a[_0x2f44b7(0x33c)]);}[_0x1150fd(0x27a)](_0x4d7e03){var _0x96c52f=_0x1150fd;this['_memberService'][_0x96c52f(0x276)](this[_0x96c52f(0x2f7)],_0x4d7e03[_0x96c52f(0x33c)]['memberID']);}async[_0x1150fd(0x467)](_0x12110c,_0xf40680){var _0x567806=_0x1150fd;if(this[_0x567806(0x475)]!==0x3||!this[_0x567806(0x284)])throw new Error(_0x567806(0x4c7));try{_0x12110c[_0x567806(0x15a)]===_0x24336b[_0x567806(0x405)][_0x567806(0x39b)]&&(this[_0x567806(0x1ba)](),this[_0x567806(0x346)](_0x12110c)),this[_0x567806(0x284)]['send']({'cmd':_0x14a22b[_0x567806(0x314)],'routeKey':_0xf40680,'routeType':'','data':_0x12110c});}catch(_0x3c48df){this[_0x567806(0x4b0)][_0x567806(0x1f9)](_0x3c48df);}}[_0x1150fd(0x1ba)](){var _0x13e84d=_0x1150fd,_0x46ee25;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x2743c3=_0x1b3a;this[_0x2743c3(0x1b0)]=null,this[_0x2743c3(0x24f)][_0x2743c3(0x169)]({'id':_0x106d5d[_0x2743c3(0x32d)]});},(_0x46ee25=this[_0x13e84d(0x430)]['getConfig'](_0x55b9af))!=null?_0x46ee25:0x4e20);}[_0x1150fd(0x461)](){var _0x48351b=_0x1150fd;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x48351b(0x1b0)]),this[_0x48351b(0x1b0)]=null);}[_0x1150fd(0x346)](_0x46aeb7){var _0x2f2f1c=_0x1150fd;if(!this[_0x2f2f1c(0x4cf)])return;const {data:_0x26fbc7}=_0x46aeb7,{unitID:_0x170428,changeset:_0x1ca598}=_0x26fbc7,{mutations:_0x33e685,type:_0x4e2308}=_0x1ca598;this[_0x2f2f1c(0x1a2)]={'unitId':_0x170428,'type':_0x4e2308,'startTime':performance[_0x2f2f1c(0x234)](),'stopTime':0x0,'duration':0x0,'size':_0x3c5d79(_0x33e685)};}[_0x1150fd(0x142)](){var _0x17bab3=_0x1150fd;if(this[_0x17bab3(0x4cf)]){if(!this[_0x17bab3(0x1a2)]){this['_logService'][_0x17bab3(0x1f9)](_0x17bab3(0x170),_0x17bab3(0x49d));return;}this['_telemetryInfo'][_0x17bab3(0x490)]=performance[_0x17bab3(0x234)](),this['_telemetryInfo'][_0x17bab3(0x339)]=this[_0x17bab3(0x1a2)][_0x17bab3(0x490)]-this[_0x17bab3(0x1a2)][_0x17bab3(0x28e)],this[_0x17bab3(0x2b5)][_0x17bab3(0x4ac)](_0x497851,this[_0x17bab3(0x1a2)]),this['_telemetryInfo']=null;}}[_0x1150fd(0x2d9)](){var _0x4774b3=_0x1150fd;this[_0x4774b3(0x1a2)]=null;}},_0xc0bd37['CollaborationSession']=_0xcad3f1([_0x4efd0b(0x2,_0x31a84a[_0x1150fd(0x41e)]),_0x4efd0b(0x3,_0x31a84a[_0x1150fd(0x13d)]),_0x4efd0b(0x4,_0x31a84a['Inject'](_0xc0bd37[_0x1150fd(0x146)])),_0x4efd0b(0x5,_0x31a84a[_0x1150fd(0x348)](_0x494f7b)),_0x4efd0b(0x6,_0x31a84a['Inject'](_0x38b704)),_0x4efd0b(0x7,_0x31a84a[_0x1150fd(0x181)](_0x1810a1[_0x1150fd(0x47d)]))],_0xc0bd37[_0x1150fd(0x1df)]);const _0x361671=_0x31a84a[_0x1150fd(0x3cc)](_0x1150fd(0x2b2));function _0x5606f5(_0x274b9f){var _0x52f280=_0x1150fd;return _0x52f280(0x3e6)+_0x274b9f;}var _0x19e659=Object[_0x1150fd(0x13b)],_0x2e88d4=(_0x87fecc,_0x4b93f2,_0x12159f,_0x511b06)=>{var _0x5bf2a6=_0x1150fd;for(var _0x2ccf2d=_0x511b06>0x1?void 0x0:_0x511b06?_0x19e659(_0x4b93f2,_0x12159f):_0x4b93f2,_0xf705c6=_0x87fecc[_0x5bf2a6(0x17d)]-0x1,_0x3a4603;_0xf705c6>=0x0;_0xf705c6--)(_0x3a4603=_0x87fecc[_0xf705c6])&&(_0x2ccf2d=_0x3a4603(_0x2ccf2d)||_0x2ccf2d);return _0x2ccf2d;},_0x56b48e=(_0x2f9edf,_0x37d143)=>(_0x1ced43,_0x52aad7)=>_0x37d143(_0x1ced43,_0x52aad7,_0x2f9edf);function _0x21039e(_0x1a0603){var _0x1c27a1=_0x1150fd;const {unitID:_0x151544,mutations:_0x4b56cf}=_0x1a0603;return{'unitId':_0x151544,'subUnitId':_0x4b56cf['length']>0x0?_0x4b56cf[0x0][_0x1c27a1(0x211)][_0x1c27a1(0x249)]:null};}_0xc0bd37['SheetTransformSelectionsService']=class{constructor(_0xed0640,_0xb677eb,_0x36d6fd){var _0x4ca468=_0x1150fd;this[_0x4ca468(0x208)]=_0xed0640,this[_0x4ca468(0x2ba)]=_0xb677eb,this[_0x4ca468(0x136)]=_0x36d6fd;}['transformSelections'](_0x2e57a0){var _0x48b820=_0x1150fd,_0x3e4bb6,_0x25c80a,_0x4fff83,_0x31c284;const _0x121bba=this[_0x48b820(0x208)][_0x48b820(0x173)](_0x2a4560[_0x48b820(0x310)]),{unitId:_0x4b9a15,subUnitId:_0x541c6d}=_0x21039e(_0x2e57a0),_0x5698d4=_0x121bba==null?void 0x0:_0x121bba[_0x48b820(0x1b8)](_0x4b9a15)[_0x48b820(0x3af)](),_0x2b839f=(_0x25c80a=(_0x3e4bb6=this['_instanceService'][_0x48b820(0x464)](_0x4b9a15))==null?void 0x0:_0x3e4bb6[_0x48b820(0x469)]())==null?void 0x0:_0x25c80a['getSheetId']();if(_0x5698d4[_0x48b820(0x17d)]===0x0||!_0x4b9a15||!_0x541c6d)return;const _0x2eff2f=[{'id':_0x2a4560[_0x48b820(0x45a)]['id'],'params':{'unitId':_0x4b9a15,'subUnitId':_0x2b839f,'selections':_0x31a84a[_0x48b820(0x2c6)][_0x48b820(0x37c)](_0x5698d4)}}],_0x5181ec=this['_transformService']['transformMutationsWithChangeset'](_0x2e57a0,_0x2eff2f);if(!_0x24336b[_0x48b820(0x354)](_0x5181ec))throw _0x5181ec[_0x48b820(0x1f9)];const _0x96853d=(_0x31c284=(_0x4fff83=_0x5181ec['m2Prime'][0x0])==null?void 0x0:_0x4fff83['params'])==null?void 0x0:_0x31c284[_0x48b820(0x171)];if(Array['isArray'](_0x96853d)&&_0x96853d[_0x48b820(0x17d)]){if(_0x96853d[_0x48b820(0x17d)]===_0x2eff2f[0x0][_0x48b820(0x211)][_0x48b820(0x171)][_0x48b820(0x17d)]&&_0x96853d[_0x48b820(0x138)]((_0x240146,_0x2a46a6)=>_0x31a84a[_0x48b820(0x315)]['equals'](_0x240146[_0x48b820(0x2a1)],_0x2eff2f[0x0][_0x48b820(0x211)]['selections'][_0x2a46a6][_0x48b820(0x2a1)])))return;this[_0x48b820(0x208)][_0x48b820(0x173)](_0x31a84a[_0x48b820(0x3f8)])[_0x48b820(0x450)](_0x2a4560[_0x48b820(0x45a)]['id'],{'unitId':_0x4b9a15,'subUnitId':_0x2b839f,'selections':_0x96853d});}}},_0xc0bd37[_0x1150fd(0x47c)]=_0x2e88d4([_0x56b48e(0x0,_0x31a84a[_0x1150fd(0x348)](_0x31a84a['Injector'])),_0x56b48e(0x1,_0x24336b[_0x1150fd(0x153)]),_0x56b48e(0x2,_0x31a84a[_0x1150fd(0x32c)])],_0xc0bd37[_0x1150fd(0x47c)]);const _0x5f4ca3=_0x31a84a[_0x1150fd(0x3cc)](_0x1150fd(0x29b));var _0x35034f=(_0x581761=>(_0x581761[_0x581761[_0x1150fd(0x4b8)]=0x0]=_0x1150fd(0x4b8),_0x581761[_0x581761[_0x1150fd(0x3ab)]=0x1]=_0x1150fd(0x3ab),_0x581761))(_0x35034f||{});const _0x4b13f9=_0x1150fd(0x24c),_0x58b254={};function _0x1a6a35(_0x4dc442){var _0x4fb126=_0x1150fd,_0xaf2991;return!!((_0xaf2991=_0x4dc442['params'])!=null&&_0xaf2991[_0x4fb126(0x2d3)]);}const _0x44acdc=new Set([_0x2a4560[_0x1150fd(0x210)]['id']]);function _0x1dd415(_0x2f4c3b,_0x57e957,_0xb9f7b0,_0x5f517c,_0x169d12){var _0x2461a2=_0x1150fd,_0x2ed065,_0x274064,_0x4eec87,_0x185488;const _0x453a96=[];for(const _0x209026 of _0x2f4c3b){if(_0x44acdc[_0x2461a2(0x1d6)](_0x209026['id'])){if(_0x453a96[_0x2461a2(0x17d)]>0x0)break;_0x453a96[_0x2461a2(0x356)](_0x209026);break;}if(_0x1a6a35(_0x209026)){if(_0x453a96[_0x2461a2(0x17d)]>0x0)break;_0x453a96[_0x2461a2(0x356)](_0x209026);break;}_0x453a96[_0x2461a2(0x356)](_0x209026);}const _0x24b9d0=(_0x274064=(_0x2ed065=_0x169d12['getCurrentUser']())==null?void 0x0:_0x2ed065[_0x2461a2(0x1e7)])!=null?_0x274064:'unknown',_0x438365=(_0x185488=(_0x4eec87=_0x169d12['getCurrentUser']())==null?void 0x0:_0x4eec87[_0x2461a2(0x149)])!=null?_0x185488:_0x2461a2(0x2f8);return{'changeset':{'unitID':_0x57e957,'type':_0x24336b[_0x2461a2(0x33b)](_0xb9f7b0['getUnitType'](_0x57e957)),'baseRev':_0x5f517c['getCurrentRevOfUnit'](_0x57e957),'revision':0x0,'userID':_0x24b9d0,'memberID':_0x438365,'mutations':_0x453a96},'pendingMutations':_0x2f4c3b['slice'](_0x453a96[_0x2461a2(0x17d)])};}function _0x23476c(_0x48d768,_0x3d44e6,_0x472c50,_0x18226f,_0x1a9e6e){var _0x41d31a=_0x1150fd,_0x9676b7,_0x257274,_0x592832,_0x52f352;const _0x365b46=[_0x48d768[_0x41d31a(0x1c9)]((_0x415b5f,_0x307507)=>{var _0x1133d6=_0x41d31a,_0x4c398f;const {id:_0x1d925e}=_0x415b5f,{id:_0x3be55c,type:_0x596d1e}=_0x307507,_0x59928a=(_0x4c398f=_0x415b5f['params'])!=null?_0x4c398f:{'actions':null},_0x4a3bb7=_0x307507['params'];if(_0x1d925e&&_0x1d925e!==_0x3be55c)throw new Error(_0x1133d6(0x394)+_0x1d925e+'\x20-\x20'+_0x3be55c+'.');return{..._0x415b5f,'id':_0x3be55c,'type':_0x596d1e,'params':{'unitId':_0x4a3bb7[_0x1133d6(0x220)],'textRanges':_0x4a3bb7[_0x1133d6(0x326)],'actions':_0x31a84a[_0x1133d6(0x342)][_0x1133d6(0x184)](_0x59928a['actions'],_0x4a3bb7[_0x1133d6(0x19b)])}};},{})],_0x5e6a80=(_0x257274=(_0x9676b7=_0x1a9e6e[_0x41d31a(0x472)]())==null?void 0x0:_0x9676b7[_0x41d31a(0x1e7)])!=null?_0x257274:_0x41d31a(0x2f8),_0x5f3038=(_0x52f352=(_0x592832=_0x1a9e6e[_0x41d31a(0x472)]())==null?void 0x0:_0x592832[_0x41d31a(0x149)])!=null?_0x52f352:_0x41d31a(0x2f8);return{'changeset':{'unitID':_0x3d44e6,'type':_0x24336b[_0x41d31a(0x33b)](_0x472c50[_0x41d31a(0x3d9)](_0x3d44e6)),'baseRev':_0x18226f['getCurrentRevOfUnit'](_0x3d44e6),'revision':0x0,'userID':_0x5e6a80,'memberID':_0x5f3038,'mutations':_0x365b46},'pendingMutations':[]};}function _0x6c5bd0(_0x430378,_0x1b0b40){var _0x2ded22=_0x1150fd;const _0x4b5729=new _0x3dd64f['ReplaySubject'](0x1);return setTimeout(()=>_0x4b5729[_0x2ded22(0x2f2)](_0x1b0b40),_0x430378),_0x4b5729[_0x2ded22(0x499)]()[_0x2ded22(0x3ad)](_0x3dd64f[_0x2ded22(0x492)](0x1));}var _0x353d87=Object[_0x1150fd(0x13b)],_0x13e202=(_0x4ecc9d,_0x2019c1,_0x5b9045,_0x22bf4a)=>{var _0x1bee18=_0x1150fd;for(var _0x345dbd=_0x22bf4a>0x1?void 0x0:_0x22bf4a?_0x353d87(_0x2019c1,_0x5b9045):_0x2019c1,_0x570d8a=_0x4ecc9d[_0x1bee18(0x17d)]-0x1,_0x22c764;_0x570d8a>=0x0;_0x570d8a--)(_0x22c764=_0x4ecc9d[_0x570d8a])&&(_0x345dbd=_0x22c764(_0x345dbd)||_0x345dbd);return _0x345dbd;},_0x20f0a1=(_0x497830,_0x1114fe)=>(_0x3a2e9e,_0x1c7373)=>_0x1114fe(_0x3a2e9e,_0x1c7373,_0x497830),_0x125b0f=(_0x25b397=>(_0x25b397['NOT_COLLAB']=_0x1150fd(0x3c4),_0x25b397[_0x1150fd(0x20f)]=_0x1150fd(0x2db),_0x25b397[_0x1150fd(0x28b)]=_0x1150fd(0x3d3),_0x25b397[_0x1150fd(0x366)]=_0x1150fd(0x1d5),_0x25b397['AWAITING_WITH_PENDING']=_0x1150fd(0x3cf),_0x25b397[_0x1150fd(0x486)]=_0x1150fd(0x140),_0x25b397[_0x1150fd(0x216)]=_0x1150fd(0x270),_0x25b397['OFFLINE']='offline',_0x25b397))(_0x125b0f||{});const _0x5e8b5e=0xea60;class _0x5004e0{constructor(_0x1fe8a8,_0x44b017,_0x4a6d22,_0xeaf752,_0x39e1cd,_0x57e122,_0x5b929d,_0x4697bd,_0x25e426){var _0x4322a9=_0x1150fd;_0x516c5a(this,_0x4322a9(0x4a5),null),_0x516c5a(this,_0x4322a9(0x16a),[]),(this[_0x4322a9(0x1bc)]=_0x1fe8a8,this['type']=_0x44b017,this['_handler']=_0x39e1cd,this['_commandService']=_0x57e122,this[_0x4322a9(0x1d2)]=_0x5b929d,this[_0x4322a9(0x374)]=_0x4697bd,this['_localCacheService']=_0x25e426,this[_0x4322a9(0x4a5)]=_0x4a6d22,this['_pendingMutations']=_0xeaf752);}['_checkMissing'](_0x540af6){var _0xe67d38=_0x1150fd;const _0x50ebe4=this[_0xe67d38(0x374)][_0xe67d38(0x42a)](this[_0xe67d38(0x1bc)]);return _0x540af6[_0xe67d38(0x49e)]>_0x50ebe4+0x1?(this['_handler'][_0xe67d38(0x144)]({'from':_0x50ebe4,'to':_0x540af6[_0xe67d38(0x49e)]-0x1}),!0x0):!0x1;}[_0x1150fd(0x18a)](_0x4bab70){var _0x36e8e1=_0x1150fd;this[_0x36e8e1(0x1d2)][_0x36e8e1(0x30b)](this['unitID'],_0x4bab70);}[_0x1150fd(0x385)](_0x4f2164){var _0x966084=_0x1150fd,_0x2c0c66,_0x51fc4b;(_0x51fc4b=(_0x2c0c66=this[_0x966084(0x239)])[_0x966084(0x497)])==null||_0x51fc4b[_0x966084(0x43f)](_0x2c0c66,_0x4f2164);}[_0x1150fd(0x487)](_0x10570f){var _0x2ad246=_0x1150fd,_0x3a1c81,_0x53c3e7;return(_0x53c3e7=(_0x3a1c81=this[_0x2ad246(0x239)])[_0x2ad246(0x494)])==null?void 0x0:_0x53c3e7[_0x2ad246(0x43f)](_0x3a1c81,_0x10570f);}[_0x1150fd(0x177)](_0xd56fca){var _0x1b189b=_0x1150fd,_0x1cc052,_0x333a88;return(_0x333a88=(_0x1cc052=this[_0x1b189b(0x239)])[_0x1b189b(0x3de)])==null?void 0x0:_0x333a88[_0x1b189b(0x43f)](_0x1cc052,_0xd56fca);}[_0x1150fd(0x24a)](_0x4dd5e7){var _0x4a6407=_0x1150fd,_0xa32181,_0x5b1e62,_0x4c505f;return(_0x4c505f=(_0x5b1e62=(_0xa32181=this[_0x4a6407(0x239)])[_0x4a6407(0x2eb)])==null?void 0x0:_0x5b1e62['call'](_0xa32181,_0x4dd5e7))!=null?_0x4c505f:_0x4dd5e7;}[_0x1150fd(0x1b5)](_0xac5edc){var _0x16b3a9=_0x1150fd,_0x2345c8,_0x212fd3,_0x56e2a5;return(_0x56e2a5=(_0x212fd3=(_0x2345c8=this['_handler'])[_0x16b3a9(0x154)])==null?void 0x0:_0x212fd3[_0x16b3a9(0x43f)](_0x2345c8,_0xac5edc))!=null?_0x56e2a5:_0xac5edc;}[_0x1150fd(0x4bf)](_0x2420e8){var _0x5d9f85=_0x1150fd,_0x1e99ed,_0x46f7ca;if(this[_0x5d9f85(0x13e)]===_0x4e99ce[_0x5d9f85(0x3a8)]){const {unitID:_0x186dd8,mutations:_0x1f2bfd,memberID:_0x887166}=_0x2420e8,_0x308e20=_0x1f2bfd[_0x5d9f85(0x17d)]>0x0?_0x1f2bfd[0x0]['params'][_0x5d9f85(0x326)]:[];Array[_0x5d9f85(0x4b5)](_0x308e20)&&_0x308e20['length']>0x0&&((_0x46f7ca=(_0x1e99ed=this[_0x5d9f85(0x239)])[_0x5d9f85(0x3bc)])==null||_0x46f7ca[_0x5d9f85(0x43f)](_0x1e99ed,{'unitID':_0x186dd8,'memberID':_0x887166,'textRanges':_0x308e20}));}}[_0x1150fd(0x359)](){var _0x24829c=_0x1150fd,_0x5ba03c;(_0x5ba03c=this[_0x24829c(0x2d5)])==null||_0x5ba03c[_0x24829c(0x14c)](this[_0x24829c(0x1bc)],this[_0x24829c(0x13e)],this[_0x24829c(0x4a5)],this[_0x24829c(0x16a)]);}['_getCurrentRevision'](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}[_0x1150fd(0x25a)](){var _0x24a992=_0x1150fd;this[_0x24a992(0x374)]['incrementRevOfUnit'](this[_0x24a992(0x1bc)]);}['_executeRemoteChangeset'](_0x4dcde8){var _0x357351=_0x1150fd,_0x22f087;let _0x5ec7de=this[_0x357351(0x24a)](_0x4dcde8);_0x5ec7de=this['_transformRemoteChangesetByStateCache'](_0x5ec7de);const _0x4a7bcb=_0x31a84a[_0x357351(0x4ba)](_0x5ec7de[_0x357351(0x22b)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4a7bcb['result'])throw _0x4a7bcb[_0x357351(0x1f9)]instanceof Error?_0x4a7bcb[_0x357351(0x1f9)]:new Error((_0x22f087=_0x4a7bcb[_0x357351(0x1f9)])!=null?_0x22f087:_0x357351(0x43c));this[_0x357351(0x487)](_0x5ec7de),this['_transformStateCache'](_0x5ec7de),this[_0x357351(0x18a)](_0x4dcde8),this[_0x357351(0x385)](_0x5ec7de),this[_0x357351(0x4bf)](_0x5ec7de),this[_0x357351(0x25a)]();}}_0xc0bd37[_0x1150fd(0x3f0)]=class extends _0x5004e0{constructor(_0x3bc1e0,_0x27d7c5,_0x53493b,_0x239e23,_0x5bd3de,_0x5b8d63,_0x28910d,_0xd7be7d,_0x2bc96f,_0x1abf6d){var _0x34bebd=_0x1150fd;super(_0x3bc1e0,_0x27d7c5,null,[],_0x53493b,_0x28910d,_0x5b8d63,_0x239e23,_0x1abf6d),_0x516c5a(this,'status','synced'),(this[_0x34bebd(0x208)]=_0x5bd3de,this['_logService']=_0xd7be7d,this[_0x34bebd(0x2ba)]=_0x2bc96f,this[_0x34bebd(0x2e6)]=_0x1abf6d);}[_0x1150fd(0x18b)](_0xedd6aa){var _0x43a291=_0x1150fd;const _0x573e18=this[_0x43a291(0x208)]['createInstance'](_0xc0bd37['PendingState'],this[_0x43a291(0x1bc)],this['type'],[_0xedd6aa],this[_0x43a291(0x239)]);return _0x573e18[_0x43a291(0x1fa)](),_0x573e18[_0x43a291(0x359)](),_0x573e18;}[_0x1150fd(0x147)](_0x218e1a){var _0x40d001=_0x1150fd;if(this[_0x40d001(0x45f)](_0x218e1a))return this[_0x40d001(0x208)][_0x40d001(0x1c6)](_0xc0bd37[_0x40d001(0x1a8)],this['unitID'],this[_0x40d001(0x13e)],null,[],null,[_0x218e1a],this[_0x40d001(0x239)]);try{const _0x232a21=this[_0x40d001(0x2ba)]['transformMutationsWithChangeset'](_0x218e1a,[_0x24336b['EmptyMutationInfo']]);if(_0x24336b[_0x40d001(0x354)](_0x232a21)){const {c1Prime:_0x44b52e}=_0x232a21;return this[_0x40d001(0x180)](_0x44b52e),this;}throw _0x232a21[_0x40d001(0x1f9)];}catch(_0x226693){return this[_0x40d001(0x4b0)]['error'](_0x226693),this['_onConflict'](!0x1);}}[_0x1150fd(0x226)](_0x3bd8c4){var _0x40526e=_0x1150fd;return this['_injector']['createInstance'](_0xc0bd37[_0x40526e(0x152)],this[_0x40526e(0x1bc)],this[_0x40526e(0x13e)],null,[],this['_handler'],_0x3bd8c4);}[_0x1150fd(0x15e)](){var _0x768c41=_0x1150fd;throw new Error(_0x768c41(0x20a));}[_0x1150fd(0x33a)](){var _0x4b2610=_0x1150fd;throw new Error(_0x4b2610(0x2b7));}[_0x1150fd(0x42b)](){return this;}[_0x1150fd(0x232)](){var _0x5a736d=_0x1150fd;return this[_0x5a736d(0x208)][_0x5a736d(0x1c6)](_0xc0bd37[_0x5a736d(0x268)],this[_0x5a736d(0x1bc)],this[_0x5a736d(0x13e)],null,[],this[_0x5a736d(0x239)]);}[_0x1150fd(0x235)](){return this;}[_0x1150fd(0x294)](){var _0x47b858=_0x1150fd;throw new Error(_0x47b858(0x2c1));}[_0x1150fd(0x411)](){var _0x3756e5=_0x1150fd;const _0x33705e=this[_0x3756e5(0x374)][_0x3756e5(0x42a)](this[_0x3756e5(0x1bc)]);return this[_0x3756e5(0x239)]['onMissingChangesets']({'from':_0x33705e,'to':0x0}),this[_0x3756e5(0x208)][_0x3756e5(0x1c6)](_0xc0bd37[_0x3756e5(0x1a8)],this[_0x3756e5(0x1bc)],this[_0x3756e5(0x13e)],null,[],null,[],this[_0x3756e5(0x239)]);}},_0xc0bd37[_0x1150fd(0x3f0)]=_0x13e202([_0x20f0a1(0x3,_0x31a84a[_0x1150fd(0x348)](_0x24336b['RevisionService'])),_0x20f0a1(0x4,_0x31a84a[_0x1150fd(0x348)](_0x31a84a['Injector'])),_0x20f0a1(0x5,_0x31a84a['IUndoRedoService']),_0x20f0a1(0x6,_0x31a84a[_0x1150fd(0x3f8)]),_0x20f0a1(0x7,_0x31a84a['ILogService']),_0x20f0a1(0x8,_0x24336b[_0x1150fd(0x153)]),_0x20f0a1(0x9,_0x31a84a['Optional'](_0x361671))],_0xc0bd37[_0x1150fd(0x3f0)]),_0xc0bd37[_0x1150fd(0x474)]=class extends _0x5004e0{constructor(_0x11b894,_0x199dcf,_0x310eca,_0x41cd4e,_0x3cf026,_0x30d570,_0x4fb0ec,_0x4d438e,_0x557b75,_0x5a79f,_0x57763e,_0x3d4f9e,_0x4f18a4,_0x2e11d6){var _0x556c9a=_0x1150fd;super(_0x11b894,_0x199dcf,null,_0x310eca,_0x41cd4e,_0x557b75,_0x4f18a4,_0x30d570,_0x2e11d6),_0x516c5a(this,_0x556c9a(0x400),_0x556c9a(0x3d3)),_0x516c5a(this,_0x556c9a(0x23c),null),_0x516c5a(this,_0x556c9a(0x45d),null),(this[_0x556c9a(0x208)]=_0x3cf026,this[_0x556c9a(0x187)]=_0x4fb0ec,this[_0x556c9a(0x4b0)]=_0x4d438e,this[_0x556c9a(0x430)]=_0x5a79f,this[_0x556c9a(0x2ba)]=_0x57763e,this[_0x556c9a(0x252)]=_0x3d4f9e);}['appendMutation'](_0x5d2784){var _0x2ac667=_0x1150fd;return this[_0x2ac667(0x16a)][_0x2ac667(0x356)](_0x5d2784),this[_0x2ac667(0x359)](),this;}['onRemoteChangeset'](_0x21c742){var _0x43b5d7=_0x1150fd;if(this[_0x43b5d7(0x45f)](_0x21c742))return this[_0x43b5d7(0x35e)](),this[_0x43b5d7(0x208)]['createInstance'](_0xc0bd37[_0x43b5d7(0x1a8)],this[_0x43b5d7(0x1bc)],this[_0x43b5d7(0x13e)],null,this[_0x43b5d7(0x16a)],null,[_0x21c742],this[_0x43b5d7(0x239)]);try{const _0x3f269d=this[_0x43b5d7(0x2ba)]['transformMutationsWithChangeset'](_0x21c742,this[_0x43b5d7(0x16a)]);if(_0x24336b[_0x43b5d7(0x354)](_0x3f269d)){const {c1Prime:_0x6b4131,m2Prime:_0x131988}=_0x3f269d;this['_executeRemoteChangeset'](_0x6b4131);const _0x4e07d4=this['_injector'][_0x43b5d7(0x1c6)](_0xc0bd37[_0x43b5d7(0x474)],this['unitID'],this[_0x43b5d7(0x13e)],_0x131988,this[_0x43b5d7(0x239)]);this[_0x43b5d7(0x35e)]();const _0x25249d=new Date()[_0x43b5d7(0x1cd)](),_0x3b639e=this[_0x43b5d7(0x23c)]?Math[_0x43b5d7(0x265)](this[_0x43b5d7(0x23c)]-_0x25249d,0x0):this[_0x43b5d7(0x3b1)]();return _0x4e07d4[_0x43b5d7(0x1fa)](_0x3b639e),_0x4e07d4;}throw _0x3f269d[_0x43b5d7(0x1f9)];}catch(_0xab798c){return this['_logService'][_0x43b5d7(0x1f9)](_0xab798c),this[_0x43b5d7(0x226)](!0x1);}}[_0x1150fd(0x15e)](){var _0xa0849f=_0x1150fd;throw new Error(_0xa0849f(0x1ab));}[_0x1150fd(0x33a)](){var _0x35b788=_0x1150fd;throw new Error(_0x35b788(0x2d1));}[_0x1150fd(0x42b)](){return this;}['toggleOffline'](){var _0x555365=_0x1150fd;return this[_0x555365(0x35e)](),this['_injector'][_0x555365(0x1c6)](_0xc0bd37[_0x555365(0x268)],this[_0x555365(0x1bc)],this['type'],null,this[_0x555365(0x16a)],this[_0x555365(0x239)]);}[_0x1150fd(0x235)](){return this;}['_schedule'](_0x1f1fab){var _0x2aa153=_0x1150fd;const _0x2ee996=_0x1f1fab!=null?_0x1f1fab:this[_0x2aa153(0x3b1)]();this[_0x2aa153(0x23c)]=new Date()[_0x2aa153(0x1cd)]()+_0x2ee996,this['_sendingTimer']=setTimeout(()=>{var _0x3c327e=_0x2aa153;this[_0x3c327e(0x35e)]();let _0x5d2f05=null;switch(this[_0x3c327e(0x13e)]){case _0x4e99ce[_0x3c327e(0x3d4)]:{_0x5d2f05=_0x1dd415(this['_pendingMutations'],this[_0x3c327e(0x1bc)],this[_0x3c327e(0x252)],this['_revisionService'],this[_0x3c327e(0x187)]);break;}case _0x4e99ce[_0x3c327e(0x3a8)]:{this[_0x3c327e(0x16a)][_0x3c327e(0x138)](_0x13608f=>_0x13608f['id']===_0x10cd63['RichTextEditingMutation']['id'])?_0x5d2f05=_0x23476c(this['_pendingMutations'],this[_0x3c327e(0x1bc)],this[_0x3c327e(0x252)],this[_0x3c327e(0x374)],this[_0x3c327e(0x187)]):_0x5d2f05=_0x1dd415(this[_0x3c327e(0x16a)],this[_0x3c327e(0x1bc)],this[_0x3c327e(0x252)],this[_0x3c327e(0x374)],this['_memberService']);break;}default:throw new Error(_0x3c327e(0x458)+this['type']+_0x3c327e(0x481));}const {changeset:_0x1678d5,pendingMutations:_0x119576}=_0x5d2f05;this[_0x3c327e(0x239)][_0x3c327e(0x1c3)](_0x1678d5);const _0x4e48a6=_0x119576['length']?this[_0x3c327e(0x208)][_0x3c327e(0x1c6)](_0xc0bd37['AwaitingWithPendingState'],this[_0x3c327e(0x1bc)],this[_0x3c327e(0x13e)],_0x1678d5,_0x119576,this[_0x3c327e(0x239)],void 0x0):this[_0x3c327e(0x208)]['createInstance'](_0xc0bd37[_0x3c327e(0x199)],this[_0x3c327e(0x1bc)],this[_0x3c327e(0x13e)],_0x1678d5,this[_0x3c327e(0x239)]);_0x4e48a6[_0x3c327e(0x359)](),this[_0x3c327e(0x239)]['onStateChange'](this,_0x4e48a6);},_0x2ee996);}[_0x1150fd(0x3b1)](){var _0x25a22e=_0x1150fd,_0x2a6508;const _0x3ad5f8=this[_0x25a22e(0x430)][_0x25a22e(0x16d)](_0x4b13f9);return(_0x2a6508=_0x3ad5f8==null?void 0x0:_0x3ad5f8['sendChangesetTimeout'])!=null?_0x2a6508:0x7d0;}[_0x1150fd(0x294)](){var _0x515450=_0x1150fd;throw new Error(_0x515450(0x3ff));}[_0x1150fd(0x35e)](){var _0x389d79=_0x1150fd;this[_0x389d79(0x45d)]!=null&&(clearTimeout(this[_0x389d79(0x45d)]),this['_sendingTimer']=null);}[_0x1150fd(0x226)](_0x22a6c4){var _0x5bd7f7=_0x1150fd;return this[_0x5bd7f7(0x35e)](),this[_0x5bd7f7(0x208)][_0x5bd7f7(0x1c6)](_0xc0bd37[_0x5bd7f7(0x152)],this[_0x5bd7f7(0x1bc)],this[_0x5bd7f7(0x13e)],null,this['_pendingMutations'],this[_0x5bd7f7(0x239)],_0x22a6c4);}},_0xc0bd37['PendingState']=_0x13e202([_0x20f0a1(0x4,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x388)])),_0x20f0a1(0x5,_0x31a84a[_0x1150fd(0x348)](_0x24336b[_0x1150fd(0x412)])),_0x20f0a1(0x6,_0x31a84a['Inject'](_0xc0bd37[_0x1150fd(0x146)])),_0x20f0a1(0x7,_0x31a84a[_0x1150fd(0x41e)]),_0x20f0a1(0x8,_0x31a84a[_0x1150fd(0x3f8)]),_0x20f0a1(0x9,_0x31a84a[_0x1150fd(0x13d)]),_0x20f0a1(0xa,_0x24336b[_0x1150fd(0x153)]),_0x20f0a1(0xb,_0x31a84a[_0x1150fd(0x32c)]),_0x20f0a1(0xc,_0x31a84a['IUndoRedoService']),_0x20f0a1(0xd,_0x31a84a[_0x1150fd(0x181)](_0x361671))],_0xc0bd37[_0x1150fd(0x474)]),_0xc0bd37[_0x1150fd(0x199)]=class extends _0x5004e0{constructor(_0x5289bb,_0x2c5a99,_0x514b5d,_0xe4285c,_0xb3d4c8,_0xe0a705,_0x42df03,_0x57f038,_0x3738bb,_0xdbae95,_0x44e304){var _0x2473bd=_0x1150fd;super(_0x5289bb,_0x2c5a99,_0x514b5d,[],_0xe4285c,_0x42df03,_0xdbae95,_0xe0a705,_0x44e304),_0x516c5a(this,_0x2473bd(0x400),_0x2473bd(0x1d5)),_0x516c5a(this,_0x2473bd(0x377),0x0),_0x516c5a(this,_0x2473bd(0x343)),_0x516c5a(this,_0x2473bd(0x381)),(this['_injector']=_0xb3d4c8,this[_0x2473bd(0x4b0)]=_0x57f038,this[_0x2473bd(0x2ba)]=_0x3738bb);}[_0x1150fd(0x18b)](_0x5e3a80){var _0x2a067e=_0x1150fd;this['_clearScheduledTask']();const _0x178990=this[_0x2a067e(0x208)][_0x2a067e(0x1c6)](_0xc0bd37[_0x2a067e(0x2a7)],this[_0x2a067e(0x1bc)],this[_0x2a067e(0x13e)],this[_0x2a067e(0x4a5)],[_0x5e3a80],this['_handler'],this[_0x2a067e(0x343)]);return _0x178990[_0x2a067e(0x359)](),_0x178990;}[_0x1150fd(0x147)](_0x34b4c2){var _0x1b941e=_0x1150fd;if(this[_0x1b941e(0x45f)](_0x34b4c2))return this[_0x1b941e(0x35e)](),this[_0x1b941e(0x208)][_0x1b941e(0x1c6)](_0xc0bd37[_0x1b941e(0x1a8)],this['unitID'],this[_0x1b941e(0x13e)],this[_0x1b941e(0x4a5)],[],null,[_0x34b4c2],this[_0x1b941e(0x239)]);try{const _0x3b49aa=this[_0x1b941e(0x2ba)][_0x1b941e(0x2ce)]([_0x34b4c2],[this[_0x1b941e(0x4a5)]],!0x1);if(_0x24336b[_0x1b941e(0x49c)](_0x3b49aa)){const {c1Prime:_0x35f52a,c2Prime:_0x1eb560}=_0x3b49aa;this['_executeRemoteChangeset'](_0x35f52a[0x0]),_0x1eb560[0x0]['baseRev']=this[_0x1b941e(0x448)](),this[_0x1b941e(0x35e)]();const _0x112813=this[_0x1b941e(0x208)]['createInstance'](_0xc0bd37[_0x1b941e(0x199)],this[_0x1b941e(0x1bc)],this[_0x1b941e(0x13e)],_0x1eb560[0x0],this[_0x1b941e(0x239)]);return _0x112813[_0x1b941e(0x359)](),_0x112813;}return this['_onConflict'](!0x1);}catch(_0x3633de){return this['_logService'][_0x1b941e(0x1f9)](_0x3633de),this[_0x1b941e(0x226)](!0x1);}}[_0x1150fd(0x15e)](_0x1eaecd){var _0x4f8b7b=_0x1150fd;this[_0x4f8b7b(0x35e)]();const _0x160ac5=this['_revisionService'][_0x4f8b7b(0x42a)](this[_0x4f8b7b(0x1bc)]);if(_0x1eaecd[_0x4f8b7b(0x49e)]<_0x160ac5-0x1)return this;if(this[_0x4f8b7b(0x45f)](_0x1eaecd))return this[_0x4f8b7b(0x208)]['createInstance'](_0xc0bd37[_0x4f8b7b(0x1a8)],this['unitID'],this[_0x4f8b7b(0x13e)],null,[],this[_0x4f8b7b(0x4a5)],[],this[_0x4f8b7b(0x239)]);this[_0x4f8b7b(0x25a)]();const _0x26501b=this[_0x4f8b7b(0x208)]['createInstance'](_0xc0bd37[_0x4f8b7b(0x3f0)],this[_0x4f8b7b(0x1bc)],this[_0x4f8b7b(0x13e)],this[_0x4f8b7b(0x239)]);return _0x26501b[_0x4f8b7b(0x359)](),_0x26501b;}['onRemoteRej'](_0x5a3c86){var _0x3dacac=_0x1150fd;return this['_onConflict'](!!(_0x5a3c86!=null&&_0x5a3c86[_0x3dacac(0x240)]));}[_0x1150fd(0x42b)](_0x151387){var _0x2fb7cd=_0x1150fd;return this[_0x2fb7cd(0x377)]>_0x5e8b5e?this[_0x2fb7cd(0x232)]():(this[_0x2fb7cd(0x343)]=_0x6c5bd0(this[_0x2fb7cd(0x377)],{'timeout':this[_0x2fb7cd(0x377)],'reqId':_0x151387[_0x2fb7cd(0x4b3)]}),this[_0x2fb7cd(0x381)]=this[_0x2fb7cd(0x343)][_0x2fb7cd(0x3c3)](({reqId:_0x5ae9a7,timeout:_0x2e2b57})=>{var _0x415571=_0x2fb7cd;this[_0x415571(0x466)](_0x5ae9a7,_0x2e2b57);}),this);}[_0x1150fd(0x232)](){var _0x772fce=_0x1150fd;return this[_0x772fce(0x35e)](),this[_0x772fce(0x208)][_0x772fce(0x1c6)](_0xc0bd37['OfflineState'],this[_0x772fce(0x1bc)],this[_0x772fce(0x13e)],this[_0x772fce(0x4a5)],[],this['_handler']);}[_0x1150fd(0x235)](){return this;}[_0x1150fd(0x294)](){var _0x49b926=_0x1150fd;this[_0x49b926(0x239)][_0x49b926(0x1c3)](this[_0x49b926(0x4a5)]);}['_onConflict'](_0x2f0491){var _0x53881e=_0x1150fd;return this[_0x53881e(0x35e)](),this[_0x53881e(0x208)][_0x53881e(0x1c6)](_0xc0bd37[_0x53881e(0x152)],this['unitID'],this[_0x53881e(0x13e)],this[_0x53881e(0x4a5)],[],this['_handler'],_0x2f0491);}[_0x1150fd(0x466)](_0x56d8bd,_0x4eb05f){var _0xded9c9=_0x1150fd,_0x14cc50;_0x56d8bd===((_0x14cc50=this[_0xded9c9(0x4a5)])==null?void 0x0:_0x14cc50[_0xded9c9(0x4b3)])&&(this[_0xded9c9(0x294)](),this[_0xded9c9(0x377)]=_0x4eb05f===0x0?0x3e8:_0x4eb05f*0x2);}['_clearScheduledTask'](){var _0x3efd1f=_0x1150fd,_0x2b0d2d;(_0x2b0d2d=this[_0x3efd1f(0x381)])==null||_0x2b0d2d[_0x3efd1f(0x334)](),this[_0x3efd1f(0x377)]=0x0;}},_0xc0bd37['AwaitingState']=_0x13e202([_0x20f0a1(0x4,_0x31a84a['Inject'](_0x31a84a[_0x1150fd(0x388)])),_0x20f0a1(0x5,_0x31a84a[_0x1150fd(0x348)](_0x24336b[_0x1150fd(0x412)])),_0x20f0a1(0x6,_0x31a84a[_0x1150fd(0x3f8)]),_0x20f0a1(0x7,_0x31a84a[_0x1150fd(0x41e)]),_0x20f0a1(0x8,_0x24336b[_0x1150fd(0x153)]),_0x20f0a1(0x9,_0x31a84a[_0x1150fd(0x267)]),_0x20f0a1(0xa,_0x31a84a[_0x1150fd(0x181)](_0x361671))],_0xc0bd37[_0x1150fd(0x199)]),_0xc0bd37[_0x1150fd(0x2a7)]=class extends _0x5004e0{constructor(_0x3cc46a,_0x25acff,_0x2a2845,_0x4d4a81,_0x593f62,_0xc44f3,_0x1e369c,_0x4a133c,_0x462e1d,_0x47bc12,_0x47aed0,_0xa090ab,_0x3ca1a2){var _0x588222=_0x1150fd;super(_0x3cc46a,_0x25acff,_0x2a2845,_0x4d4a81,_0x593f62,_0x462e1d,_0xa090ab,_0x4a133c,_0x3ca1a2),_0x516c5a(this,_0x588222(0x400),'awaiting_with_pending'),_0x516c5a(this,_0x588222(0x377),0x0),_0x516c5a(this,_0x588222(0x343)),_0x516c5a(this,_0x588222(0x381)),(this[_0x588222(0x208)]=_0x1e369c,this[_0x588222(0x4b0)]=_0x47bc12,this[_0x588222(0x2ba)]=_0x47aed0,this[_0x588222(0x2e6)]=_0x3ca1a2,_0xc44f3&&(this[_0x588222(0x343)]=_0xc44f3,this[_0x588222(0x381)]=this[_0x588222(0x343)][_0x588222(0x3c3)](({reqId:_0x2e1437,timeout:_0x3c2770})=>{var _0x295477=_0x588222;this[_0x295477(0x466)](_0x2e1437,_0x3c2770);})));}[_0x1150fd(0x18b)](_0x36af06){var _0x4d806b=_0x1150fd;return this[_0x4d806b(0x16a)][_0x4d806b(0x356)](_0x36af06),this;}['onRemoteChangeset'](_0x3cacf6){var _0x22f023=_0x1150fd;if(this[_0x22f023(0x45f)](_0x3cacf6))return this[_0x22f023(0x35e)](),this['_injector'][_0x22f023(0x1c6)](_0xc0bd37[_0x22f023(0x1a8)],this[_0x22f023(0x1bc)],this[_0x22f023(0x13e)],this[_0x22f023(0x4a5)],this['_pendingMutations'],null,[_0x3cacf6],this[_0x22f023(0x239)]);try{const _0x339660=this[_0x22f023(0x2ba)][_0x22f023(0x2ce)]([_0x3cacf6],[this[_0x22f023(0x4a5)]],!0x1);if(_0x24336b[_0x22f023(0x49c)](_0x339660)){const {c1Prime:_0x3e56e1,c2Prime:_0x25cda6}=_0x339660,_0x2faca9=this[_0x22f023(0x2ba)][_0x22f023(0x2e5)](_0x3e56e1[0x0],this[_0x22f023(0x16a)]);if(_0x24336b['isTransformMutationsWithChangesetSuccess'](_0x2faca9)){const {c1Prime:_0x3f9ceb,m2Prime:_0x423ad6}=_0x2faca9;return this[_0x22f023(0x180)](_0x3f9ceb),_0x25cda6[0x0][_0x22f023(0x2a0)]=this[_0x22f023(0x448)](),this[_0x22f023(0x35e)](),this[_0x22f023(0x208)][_0x22f023(0x1c6)](_0xc0bd37[_0x22f023(0x2a7)],this[_0x22f023(0x1bc)],this[_0x22f023(0x13e)],_0x25cda6[0x0],_0x423ad6,this[_0x22f023(0x239)],void 0x0);}throw _0x2faca9[_0x22f023(0x1f9)];}throw _0x339660[_0x22f023(0x1f9)];}catch(_0x4e4cb4){return this[_0x22f023(0x4b0)]['error'](_0x4e4cb4),this[_0x22f023(0x226)](!0x1);}}[_0x1150fd(0x15e)](_0x1250ce){var _0x44e53e=_0x1150fd;if(this[_0x44e53e(0x35e)](),this[_0x44e53e(0x45f)](_0x1250ce))return this['_injector']['createInstance'](_0xc0bd37[_0x44e53e(0x1a8)],this[_0x44e53e(0x1bc)],this[_0x44e53e(0x13e)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this[_0x44e53e(0x25a)]();const _0x1cda46=this[_0x44e53e(0x208)][_0x44e53e(0x1c6)](_0xc0bd37[_0x44e53e(0x474)],this[_0x44e53e(0x1bc)],this[_0x44e53e(0x13e)],this[_0x44e53e(0x16a)],this[_0x44e53e(0x239)]);return _0x1cda46['_schedule'](),_0x1cda46[_0x44e53e(0x359)](),_0x1cda46;}[_0x1150fd(0x33a)](_0x3674e9){var _0x1e1d44=_0x1150fd;return this[_0x1e1d44(0x226)](!!(_0x3674e9!=null&&_0x3674e9['isPermissionRej']));}[_0x1150fd(0x42b)](_0x33f7d5){var _0x3b352c=_0x1150fd;return this['_resendTimeout']>_0x5e8b5e?this[_0x3b352c(0x232)]():(this[_0x3b352c(0x343)]=_0x6c5bd0(this['_resendTimeout'],{'timeout':this[_0x3b352c(0x377)],'reqId':_0x33f7d5[_0x3b352c(0x4b3)]}),this[_0x3b352c(0x381)]=this[_0x3b352c(0x343)]['subscribe'](({reqId:_0x1b65d8,timeout:_0x56b0ac})=>{var _0x43dd3e=_0x3b352c;this[_0x43dd3e(0x466)](_0x1b65d8,_0x56b0ac);}),this);}['toggleOffline'](){var _0x272a5c=_0x1150fd;return this[_0x272a5c(0x35e)](),this[_0x272a5c(0x208)][_0x272a5c(0x1c6)](_0xc0bd37[_0x272a5c(0x268)],this[_0x272a5c(0x1bc)],this[_0x272a5c(0x13e)],this[_0x272a5c(0x4a5)],this['_pendingMutations'],this[_0x272a5c(0x239)]);}['toggleOnline'](){return this;}[_0x1150fd(0x294)](){var _0x2b0804=_0x1150fd;this[_0x2b0804(0x239)]['onSendChangeset'](this[_0x2b0804(0x4a5)]);}[_0x1150fd(0x226)](_0xd9adba){var _0x2bf563=_0x1150fd;return this['_clearScheduledTask'](),this['_injector'][_0x2bf563(0x1c6)](_0xc0bd37['ConflictState'],this[_0x2bf563(0x1bc)],this[_0x2bf563(0x13e)],null,this[_0x2bf563(0x16a)],this[_0x2bf563(0x239)],_0xd9adba);}[_0x1150fd(0x466)](_0x267d1f,_0x1307b3){var _0x16c8d0=_0x1150fd,_0x55ef7a;_0x267d1f===((_0x55ef7a=this[_0x16c8d0(0x4a5)])==null?void 0x0:_0x55ef7a[_0x16c8d0(0x4b3)])&&(this[_0x16c8d0(0x294)](),this[_0x16c8d0(0x377)]=_0x1307b3===0x0?0x3e8:_0x1307b3*0x2);}[_0x1150fd(0x35e)](){var _0x2b1c35=_0x1150fd,_0x57e895;(_0x57e895=this[_0x2b1c35(0x381)])==null||_0x57e895[_0x2b1c35(0x334)](),this[_0x2b1c35(0x377)]=0x0;}},_0xc0bd37['AwaitingWithPendingState']=_0x13e202([_0x20f0a1(0x6,_0x31a84a[_0x1150fd(0x348)](_0x31a84a['Injector'])),_0x20f0a1(0x7,_0x31a84a[_0x1150fd(0x348)](_0x24336b[_0x1150fd(0x412)])),_0x20f0a1(0x8,_0x31a84a[_0x1150fd(0x3f8)]),_0x20f0a1(0x9,_0x31a84a[_0x1150fd(0x41e)]),_0x20f0a1(0xa,_0x24336b[_0x1150fd(0x153)]),_0x20f0a1(0xb,_0x31a84a[_0x1150fd(0x267)]),_0x20f0a1(0xc,_0x31a84a[_0x1150fd(0x181)](_0x361671))],_0xc0bd37[_0x1150fd(0x2a7)]),_0xc0bd37['ConflictState']=class extends _0x5004e0{constructor(_0x7e385a,_0x902230,_0x311aa2,_0x350b35,_0x2f74a6,_0x5029d6=!0x1,_0x3c6e32,_0x243d36,_0x2e2adb,_0xdb7811,_0x45f576,_0xd1468a,_0x3836ef){var _0x476e6b=_0x1150fd;super(_0x7e385a,_0x902230,_0x311aa2,_0x350b35,_0x2f74a6,_0x243d36,_0x2e2adb,_0xdb7811,_0x3836ef),_0x516c5a(this,_0x476e6b(0x400),_0x476e6b(0x270)),(this[_0x476e6b(0x404)]=_0x5029d6,this[_0x476e6b(0x3a1)]=_0x3c6e32,this[_0x476e6b(0x1ff)]=_0x45f576,this[_0x476e6b(0x24f)]=_0xd1468a,this[_0x476e6b(0x2e6)]=_0x3836ef,this['_showConflictNotification'](),this[_0x476e6b(0x1f0)](),this[_0x476e6b(0x178)]());}[_0x1150fd(0x18b)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x1150fd(0x42b)](){return this;}[_0x1150fd(0x232)](){return this;}[_0x1150fd(0x235)](){return this;}[_0x1150fd(0x294)](){var _0x2b809a=_0x1150fd;throw new Error(_0x2b809a(0x2bd));}[_0x1150fd(0x1f0)](){var _0x11cbd1=_0x1150fd,_0x587ef0;(_0x587ef0=this[_0x11cbd1(0x2d5)])==null||_0x587ef0[_0x11cbd1(0x14c)](this[_0x11cbd1(0x1bc)],this[_0x11cbd1(0x13e)],null,[]);}[_0x1150fd(0x241)](){var _0x1f4894=_0x1150fd;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x1f4894(0x169)]({'id':_0x106d5d[_0x1f4894(0x1b3)]}):this[_0x1f4894(0x24f)][_0x1f4894(0x169)]({'id':_0x106d5d['CONFLICT']});}[_0x1150fd(0x178)](){var _0x3a9afc=_0x1150fd;this[_0x3a9afc(0x3a1)][_0x3a9afc(0x3d6)](new _0x2a4560[(_0x3a9afc(0x215))](this[_0x3a9afc(0x1bc)])['id'],!0x1);}},_0xc0bd37[_0x1150fd(0x152)]=_0x13e202([_0x20f0a1(0x6,_0x31a84a[_0x1150fd(0x348)](_0x31a84a['IPermissionService'])),_0x20f0a1(0x7,_0x31a84a[_0x1150fd(0x3f8)]),_0x20f0a1(0x8,_0x31a84a[_0x1150fd(0x267)]),_0x20f0a1(0x9,_0x31a84a['Inject'](_0x24336b[_0x1150fd(0x412)])),_0x20f0a1(0xa,_0x31a84a['Inject'](_0x31a84a[_0x1150fd(0x21f)])),_0x20f0a1(0xb,_0x31a84a['Inject'](_0x38b704)),_0x20f0a1(0xc,_0x31a84a[_0x1150fd(0x181)](_0x361671))],_0xc0bd37['ConflictState']),_0xc0bd37[_0x1150fd(0x268)]=class extends _0x5004e0{constructor(_0xc1db97,_0xb600ed,_0x15e65a,_0x538e44,_0x4082cb,_0x3742ee,_0x51cc5e,_0x188514,_0x2594a5,_0x535c09){var _0x45a414=_0x1150fd;super(_0xc1db97,_0xb600ed,_0x15e65a,_0x538e44,_0x4082cb,_0x188514,_0x2594a5,_0x51cc5e,_0x535c09),_0x516c5a(this,_0x45a414(0x400),_0x45a414(0x36c)),this[_0x45a414(0x208)]=_0x3742ee;}[_0x1150fd(0x18b)](_0x5d6f2d){var _0x3af446=_0x1150fd;return this[_0x3af446(0x16a)][_0x3af446(0x356)](_0x5d6f2d),this[_0x3af446(0x359)](),this;}[_0x1150fd(0x147)](_0x500369){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1150fd(0x15e)](){var _0x49cab8=_0x1150fd;throw new Error(_0x49cab8(0x262));}[_0x1150fd(0x33a)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1150fd(0x42b)](){return this;}['toggleOffline'](){return this;}[_0x1150fd(0x235)](){var _0x2c2db4=_0x1150fd;const {_injector:_0x18b6dc,_pendingMutations:_0x457e4c,_awaitingChangeset:_0x43e8e7,unitID:_0x467fb9,_handler:_0x2b8909,type:_0x2068d1}=this,_0x284982=_0x3febc1(_0x18b6dc,_0x467fb9,_0x2068d1,_0x43e8e7,_0x457e4c,_0x2b8909);return _0x284982 instanceof _0xc0bd37[_0x2c2db4(0x474)]?_0x284982[_0x2c2db4(0x1fa)]():(_0x284982 instanceof _0xc0bd37[_0x2c2db4(0x2a7)]||_0x284982 instanceof _0xc0bd37['AwaitingState'])&&_0x284982['resend'](),_0x284982;}[_0x1150fd(0x294)](){var _0x46ce92=_0x1150fd;throw new Error(_0x46ce92(0x37b));}},_0xc0bd37[_0x1150fd(0x268)]=_0x13e202([_0x20f0a1(0x5,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x388)])),_0x20f0a1(0x6,_0x31a84a[_0x1150fd(0x348)](_0x24336b[_0x1150fd(0x412)])),_0x20f0a1(0x7,_0x31a84a[_0x1150fd(0x3f8)]),_0x20f0a1(0x8,_0x31a84a[_0x1150fd(0x267)]),_0x20f0a1(0x9,_0x31a84a['Optional'](_0x361671))],_0xc0bd37['OfflineState']),_0xc0bd37[_0x1150fd(0x1a8)]=class extends _0x5004e0{constructor(_0x44c107,_0x428728,_0x3c3988,_0x73c0ca,_0x16f106,_0xea6594,_0xbdb9a0,_0x48bc0b,_0x841c40,_0x2a2e8e,_0x28df3c,_0x483eee,_0x40b3a7,_0x317b8b){var _0x5e80f7=_0x1150fd;super(_0x44c107,_0x428728,_0x3c3988,_0x73c0ca,_0xbdb9a0,_0x28df3c,_0x483eee,_0x841c40,_0x317b8b),_0x516c5a(this,_0x5e80f7(0x400),_0x5e80f7(0x140)),(this[_0x5e80f7(0x3ea)]=_0x16f106,this[_0x5e80f7(0x1f5)]=_0xea6594,this[_0x5e80f7(0x208)]=_0x48bc0b,this[_0x5e80f7(0x4b0)]=_0x2a2e8e,this[_0x5e80f7(0x2ba)]=_0x40b3a7,this[_0x5e80f7(0x2e6)]=_0x317b8b);}[_0x1150fd(0x28d)](_0x29b886){var _0x282f2b=_0x1150fd;try{const _0x2c6fa5=[..._0x29b886,...this[_0x282f2b(0x1f5)]],_0x153f11=[this[_0x282f2b(0x4a5)]||this['_acknowledgedAwaitingChangeset']][_0x282f2b(0x1c8)](_0x4b3263=>!!_0x4b3263);let _0x20afc4,_0x57adea;if(_0x153f11[_0x282f2b(0x17d)]){const _0x5c5afa=this[_0x282f2b(0x2ba)][_0x282f2b(0x2ce)](_0x2c6fa5,_0x153f11,!0x1);if(!_0x24336b[_0x282f2b(0x49c)](_0x5c5afa))throw _0x5c5afa[_0x282f2b(0x1f9)];_0x20afc4=_0x5c5afa['c1Prime'],_0x57adea=_0x5c5afa[_0x282f2b(0x14b)];}else _0x20afc4=_0x2c6fa5,_0x57adea=[];let _0x2b80b7=this[_0x282f2b(0x16a)];_0x20afc4[_0x282f2b(0x39d)](_0xd42acc=>{var _0x415c6b=_0x282f2b;let _0x1507b1;if(_0x2b80b7['length']){const _0x207f57=this[_0x415c6b(0x2ba)][_0x415c6b(0x2e5)](_0xd42acc,_0x2b80b7);if(!_0x24336b[_0x415c6b(0x354)](_0x207f57))throw _0x207f57[_0x415c6b(0x1f9)];_0x1507b1=_0x207f57[_0x415c6b(0x22d)],_0x2b80b7=_0x207f57[_0x415c6b(0x207)];}else _0x1507b1=_0xd42acc;this[_0x415c6b(0x180)](_0x1507b1);}),this[_0x282f2b(0x3ea)]&&this[_0x282f2b(0x25a)](),this[_0x282f2b(0x4a5)]&&_0x57adea[_0x282f2b(0x17d)]&&(_0x57adea[0x0][_0x282f2b(0x2a0)]=this['_getCurrentRevision']());let _0x12a1a5;if(this[_0x282f2b(0x4a5)]&&_0x2b80b7['length']!==0x0)_0x12a1a5=this[_0x282f2b(0x208)][_0x282f2b(0x1c6)](_0xc0bd37[_0x282f2b(0x2a7)],this[_0x282f2b(0x1bc)],this[_0x282f2b(0x13e)],_0x57adea[0x0],_0x2b80b7,this[_0x282f2b(0x239)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2b80b7['length']===0x0)_0x57adea[0x0][_0x282f2b(0x2a0)]=this[_0x282f2b(0x448)](),_0x12a1a5=this['_injector']['createInstance'](_0xc0bd37[_0x282f2b(0x199)],this[_0x282f2b(0x1bc)],this[_0x282f2b(0x13e)],_0x57adea[0x0],this[_0x282f2b(0x239)]);else{if(_0x2b80b7[_0x282f2b(0x17d)]!==0x0){const _0x103f8e=this[_0x282f2b(0x208)][_0x282f2b(0x1c6)](_0xc0bd37[_0x282f2b(0x474)],this[_0x282f2b(0x1bc)],this[_0x282f2b(0x13e)],_0x2b80b7,this['_handler']);_0x103f8e[_0x282f2b(0x1fa)](),_0x12a1a5=_0x103f8e;}else _0x12a1a5=this[_0x282f2b(0x208)][_0x282f2b(0x1c6)](_0xc0bd37[_0x282f2b(0x3f0)],this[_0x282f2b(0x1bc)],this['type'],this[_0x282f2b(0x239)]);}}return _0x12a1a5[_0x282f2b(0x359)](),_0x12a1a5;}catch(_0x4d4844){return this[_0x282f2b(0x4b0)][_0x282f2b(0x1f9)](_0x282f2b(0x3fe),_0x282f2b(0x429),_0x4d4844),this[_0x282f2b(0x208)][_0x282f2b(0x1c6)](_0xc0bd37[_0x282f2b(0x152)],this[_0x282f2b(0x1bc)],this[_0x282f2b(0x13e)],this[_0x282f2b(0x4a5)],this[_0x282f2b(0x16a)],this[_0x282f2b(0x239)],!0x1);}}[_0x1150fd(0x294)](){var _0x1c3f02=_0x1150fd;throw new Error(_0x1c3f02(0x3a9));}[_0x1150fd(0x18b)](_0x480a4a){var _0x203f27=_0x1150fd;return this[_0x203f27(0x16a)][_0x203f27(0x356)](_0x480a4a),this;}['onRemoteChangeset'](_0x4b4453){var _0x4b55d1=_0x1150fd;return this[_0x4b55d1(0x1f5)][_0x4b55d1(0x356)](_0x4b4453),this;}['onRemoteAck'](_0x5bef7d){var _0x5ded98=_0x1150fd;if(this['_awaitingChangeset'])return this[_0x5ded98(0x3ea)]=this[_0x5ded98(0x4a5)],this[_0x5ded98(0x4a5)]=null,this;throw new Error(_0x5ded98(0x200));}[_0x1150fd(0x33a)](_0x9bd684){var _0x57be9e=_0x1150fd;return this[_0x57be9e(0x226)](!!(_0x9bd684!=null&&_0x9bd684[_0x57be9e(0x240)]));}['onRemoteRetry'](){return this;}[_0x1150fd(0x232)](){var _0x789cfc=_0x1150fd;return this[_0x789cfc(0x208)][_0x789cfc(0x1c6)](_0xc0bd37[_0x789cfc(0x268)],this[_0x789cfc(0x1bc)],this[_0x789cfc(0x13e)],this[_0x789cfc(0x4a5)],this[_0x789cfc(0x16a)],this[_0x789cfc(0x239)]);}[_0x1150fd(0x235)](){return this;}[_0x1150fd(0x226)](_0x156687){var _0x4b265a=_0x1150fd;return this[_0x4b265a(0x208)][_0x4b265a(0x1c6)](_0xc0bd37[_0x4b265a(0x152)],this[_0x4b265a(0x1bc)],this[_0x4b265a(0x13e)],this[_0x4b265a(0x4a5)],this['_pendingMutations'],this[_0x4b265a(0x239)],_0x156687);}},_0xc0bd37[_0x1150fd(0x1a8)]=_0x13e202([_0x20f0a1(0x7,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x388)])),_0x20f0a1(0x8,_0x31a84a[_0x1150fd(0x348)](_0x24336b['RevisionService'])),_0x20f0a1(0x9,_0x31a84a[_0x1150fd(0x41e)]),_0x20f0a1(0xa,_0x31a84a[_0x1150fd(0x3f8)]),_0x20f0a1(0xb,_0x31a84a['IUndoRedoService']),_0x20f0a1(0xc,_0x24336b['ITransformService']),_0x20f0a1(0xd,_0x31a84a[_0x1150fd(0x181)](_0x361671))],_0xc0bd37[_0x1150fd(0x1a8)]);function _0x3febc1(_0x1ffe24,_0x124bb2,_0x1e5270,_0x2af071,_0x39a0cd,_0x4855d1){var _0x323fb6=_0x1150fd;return _0x2af071&&_0x39a0cd['length']?_0x1ffe24[_0x323fb6(0x1c6)](_0xc0bd37[_0x323fb6(0x2a7)],_0x124bb2,_0x1e5270,_0x2af071,_0x39a0cd,_0x4855d1,void 0x0):_0x2af071?_0x1ffe24['createInstance'](_0xc0bd37[_0x323fb6(0x199)],_0x124bb2,_0x1e5270,_0x2af071,_0x4855d1):_0x39a0cd[_0x323fb6(0x17d)]?_0x1ffe24[_0x323fb6(0x1c6)](_0xc0bd37['PendingState'],_0x124bb2,_0x1e5270,_0x39a0cd,_0x4855d1):_0x1ffe24[_0x323fb6(0x1c6)](_0xc0bd37[_0x323fb6(0x3f0)],_0x124bb2,_0x1e5270,_0x4855d1);}var _0x28da3d=Object[_0x1150fd(0x13b)],_0x3c6b77=(_0x148963,_0x18bcc5,_0x597ced,_0xcbee9a)=>{var _0x1c2d7a=_0x1150fd;for(var _0x3bd5aa=_0xcbee9a>0x1?void 0x0:_0xcbee9a?_0x28da3d(_0x18bcc5,_0x597ced):_0x18bcc5,_0x5714a5=_0x148963[_0x1c2d7a(0x17d)]-0x1,_0x51d200;_0x5714a5>=0x0;_0x5714a5--)(_0x51d200=_0x148963[_0x5714a5])&&(_0x3bd5aa=_0x51d200(_0x3bd5aa)||_0x3bd5aa);return _0x3bd5aa;},_0x4cf2d4=(_0x15e04a,_0x50a323)=>(_0x5b4288,_0x51313a)=>_0x50a323(_0x5b4288,_0x51313a,_0x15e04a);_0xc0bd37[_0x1150fd(0x2c0)]=class extends _0x31a84a[_0x1150fd(0x2be)]{constructor(_0x299749,_0x280cd3,_0x6cac9f,_0x13ac0e,_0x17b578,_0x53d4d3,_0x149b31,_0x116178,_0x11c9ab,_0x11d65c,_0x87a2a7,_0x4bf8ab,_0x2be17a,_0x6c3a7){var _0x3eca54=_0x1150fd;super(),_0x516c5a(this,_0x3eca54(0x297),new _0x3dd64f['BehaviorSubject'](null)),_0x516c5a(this,_0x3eca54(0x40b),this[_0x3eca54(0x297)][_0x3eca54(0x499)]()),_0x516c5a(this,_0x3eca54(0x3f1)),_0x516c5a(this,_0x3eca54(0x2a8),!0x1),_0x516c5a(this,_0x3eca54(0x489),''),_0x516c5a(this,_0x3eca54(0x3d1),0x0),_0x516c5a(this,_0x3eca54(0x3bb),this['state$'][_0x3eca54(0x3ad)](_0x3dd64f[_0x3eca54(0x3fd)](_0xb4caf8=>_0xb4caf8?_0xb4caf8[_0x3eca54(0x400)]:_0x125b0f[_0x3eca54(0x38e)]),_0x3dd64f[_0x3eca54(0x1fc)](0x1))),_0x516c5a(this,'_transitionLocked',!0x1),_0x516c5a(this,_0x3eca54(0x21b),[]),(this['unitID']=_0x299749,this[_0x3eca54(0x238)]=_0x280cd3,this[_0x3eca54(0x4b7)]=_0x6cac9f,this[_0x3eca54(0x208)]=_0x13ac0e,this[_0x3eca54(0x2d8)]=_0x17b578,this[_0x3eca54(0x1ff)]=_0x53d4d3,this[_0x3eca54(0x374)]=_0x149b31,this[_0x3eca54(0x2fb)]=_0x116178,this[_0x3eca54(0x252)]=_0x11c9ab,this[_0x3eca54(0x4b0)]=_0x11d65c,this[_0x3eca54(0x2ee)]=_0x87a2a7,this[_0x3eca54(0x3a1)]=_0x4bf8ab,this[_0x3eca54(0x202)]=_0x2be17a,this['_localCacheService']=_0x6c3a7);}get[_0x1150fd(0x424)](){return this['_state'];}async[_0x1150fd(0x227)](){var _0x7755cc=_0x1150fd;if(this[_0x7755cc(0x424)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x7755cc(0x1a1)]();}['pauseCollaboration'](){var _0x31429f=_0x1150fd;return this[_0x31429f(0x2a8)]=!0x0,_0x31a84a[_0x31429f(0x48e)](()=>{var _0xd52938=_0x31429f;this[_0xd52938(0x2a8)]=!0x1,this[_0xd52938(0x30d)]();});}['onLocalMutation'](_0x42dfef){var _0x2923c1=_0x1150fd;this[_0x2923c1(0x340)](_0x42dfef);}[_0x1150fd(0x2f0)](_0x214a74){this['_state']=_0x214a74,this['_state$']['next'](_0x214a74);}async['_init'](){var _0x46d7ae=_0x1150fd,_0x2af26d;this[_0x46d7ae(0x2f0)](await this['_createInitialState']()),this[_0x46d7ae(0x202)]&&((_0x2af26d=this[_0x46d7ae(0x202)])==null||_0x2af26d[_0x46d7ae(0x436)](this[_0x46d7ae(0x1bc)]),this[_0x46d7ae(0x441)](this[_0x46d7ae(0x202)][_0x46d7ae(0x2dc)](this[_0x46d7ae(0x1bc)])[_0x46d7ae(0x3c3)](_0x17ca5c=>{var _0x925944=_0x46d7ae;this[_0x925944(0x4b0)][_0x925944(0x25b)](_0x925944(0x4ce),'editing\x20status\x20changed\x20to',_0x17ca5c),_0x17ca5c===_0x35034f['OTHER_CLIENTS_EDITING']?(this[_0x925944(0x2fb)][_0x925944(0x169)]({'id':_0x106d5d[_0x925944(0x451)]}),this['_permissionService'][_0x925944(0x3d6)](new _0x2a4560[(_0x925944(0x215))](this[_0x925944(0x1bc)])['id'],!0x1),this['_permissionService'][_0x925944(0x493)](!0x1)):(this[_0x925944(0x3a1)][_0x925944(0x3d6)](new _0x2a4560[(_0x925944(0x215))](this[_0x925944(0x1bc)])['id'],!0x0),this[_0x925944(0x3a1)][_0x925944(0x493)](!0x0));})));let _0x49c1a2=!0x1;return this[_0x46d7ae(0x441)](this[_0x46d7ae(0x238)][_0x46d7ae(0x43e)][_0x46d7ae(0x3c3)](_0x10c2ef=>{var _0x50fee1=_0x46d7ae;_0x10c2ef===_0x4f2d39[_0x50fee1(0x2d0)]?this['_toggleOnline'](_0x49c1a2):_0x10c2ef===_0x4f2d39[_0x50fee1(0x38e)]&&(_0x49c1a2=!0x0,this[_0x50fee1(0x1f7)]());})),this[_0x46d7ae(0x441)](this['session']['event$'][_0x46d7ae(0x3c3)](_0x1b1abb=>{var _0x18016b=_0x46d7ae;try{switch(_0x1b1abb['eventID']){case _0x24336b[_0x18016b(0x405)]['NEW_CHANGESETS']:{this[_0x18016b(0x409)](_0x24336b['parseProtocolChangeset'](_0x1b1abb[_0x18016b(0x33c)]));break;}case _0x24336b[_0x18016b(0x405)]['CHANGESET_ACK']:{this[_0x18016b(0x2de)](_0x1b1abb['data']);break;}case _0x24336b['CollaborationEvent']['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x24336b[_0x18016b(0x405)][_0x18016b(0x316)]:{this[_0x18016b(0x355)](_0x1b1abb[_0x18016b(0x33c)]);break;}case _0x24336b[_0x18016b(0x405)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x18016b(0x384)](_0x1b1abb[_0x18016b(0x33c)][_0x18016b(0x3e7)][_0x18016b(0x3fd)](_0x9ed55f=>_0x24336b[_0x18016b(0x1cc)](_0x9ed55f)));break;}case _0x24336b[_0x18016b(0x405)][_0x18016b(0x31a)]:{this[_0x18016b(0x320)]({'isPermissionRej':!0x0});break;}case _0x24336b[_0x18016b(0x405)][_0x18016b(0x2af)]:break;}}catch(_0x20c799){throw console[_0x18016b(0x1f9)]('Error\x20on\x20receiving\x20event',_0x20c799),_0x20c799;}})),this[_0x46d7ae(0x3f1)];}[_0x1150fd(0x1b1)](){this['_transitionLocked']=!0x1;}[_0x1150fd(0x3b6)](){var _0x10ee41=_0x1150fd;if(this[_0x10ee41(0x33f)])throw new Error(_0x10ee41(0x167));this[_0x10ee41(0x33f)]=!0x0;}[_0x1150fd(0x340)](_0x2c6082){var _0x1ea31f=_0x1150fd;this['_lockTransition'](),this[_0x1ea31f(0x2f0)](this[_0x1ea31f(0x3f1)][_0x1ea31f(0x18b)](_0x2c6082)),this[_0x1ea31f(0x1b1)]();}[_0x1150fd(0x409)](_0x47e9a0){var _0x4f0d5b=_0x1150fd;if(!(_0x47e9a0[_0x4f0d5b(0x49e)]<=this[_0x4f0d5b(0x374)][_0x4f0d5b(0x42a)](this[_0x4f0d5b(0x1bc)]))){if(this[_0x4f0d5b(0x2a8)]){this[_0x4f0d5b(0x21b)][_0x4f0d5b(0x356)](_0x47e9a0);return;}this['_applyRemoteChangeset'](_0x47e9a0);}}[_0x1150fd(0x30d)](){var _0x342249=_0x1150fd;this[_0x342249(0x21b)]['forEach'](_0x59c55c=>this[_0x342249(0x2ef)](_0x59c55c)),this[_0x342249(0x21b)]=[];}[_0x1150fd(0x2ef)](_0x21f364){var _0x133f87=_0x1150fd;const _0x3e20b3=this[_0x133f87(0x2d8)][_0x133f87(0x38f)][_0x133f87(0x237)](this[_0x133f87(0x2d8)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x21f364[_0x133f87(0x22b)],null)||_0x21f364[_0x133f87(0x22b)],_0x378451={..._0x21f364,'mutations':_0x3e20b3};this[_0x133f87(0x3b6)](),this[_0x133f87(0x2f0)](this[_0x133f87(0x3f1)][_0x133f87(0x147)](_0x378451)),this['_unlockTransition']();}[_0x1150fd(0x2de)](_0xf274b5){var _0x9fbd38=_0x1150fd;this[_0x9fbd38(0x3b6)](),this['_updateState'](this[_0x9fbd38(0x3f1)][_0x9fbd38(0x15e)](_0xf274b5)),this[_0x9fbd38(0x1b1)]();}['_onRemoteRejected'](_0x59bc9f){var _0x187218=_0x1150fd;this['_lockTransition'](),this[_0x187218(0x2f0)](this[_0x187218(0x3f1)][_0x187218(0x33a)](_0x59bc9f)),this[_0x187218(0x1b1)]();}[_0x1150fd(0x355)](_0x1a7f5f){var _0xbdfe4c=_0x1150fd;this[_0xbdfe4c(0x3b6)](),this['_updateState'](this[_0xbdfe4c(0x3f1)][_0xbdfe4c(0x42b)](_0x1a7f5f)),this[_0xbdfe4c(0x1b1)]();}[_0x1150fd(0x384)](_0x5373a4){var _0x2c9602=_0x1150fd;if(!(this[_0x2c9602(0x3f1)]instanceof _0xc0bd37['FetchingMissState']))throw new TypeError(_0x2c9602(0x425));const _0x510984=_0x5373a4[_0x2c9602(0x3fd)](_0x2e5079=>{var _0x3aea0d=_0x2c9602;const _0x2a23c8=this[_0x3aea0d(0x2d8)][_0x3aea0d(0x38f)]['fetchThroughInterceptors'](this[_0x3aea0d(0x2d8)][_0x3aea0d(0x38f)][_0x3aea0d(0x3b7)]()[_0x3aea0d(0x2a4)])(_0x2e5079[_0x3aea0d(0x22b)],null)||_0x2e5079[_0x3aea0d(0x22b)];return{..._0x2e5079,'mutations':_0x2a23c8};});this[_0x2c9602(0x3b6)](),this[_0x2c9602(0x2f0)](this[_0x2c9602(0x3f1)][_0x2c9602(0x28d)](_0x510984)),this[_0x2c9602(0x1b1)]();}[_0x1150fd(0x1f7)](){var _0x5cd9e2=_0x1150fd;this[_0x5cd9e2(0x3b6)](),this[_0x5cd9e2(0x2f0)](this[_0x5cd9e2(0x3f1)][_0x5cd9e2(0x232)]()),this[_0x5cd9e2(0x1b1)]();}[_0x1150fd(0x2fe)](_0x4025eb=!0x1){var _0x5e909f=_0x1150fd;this[_0x5e909f(0x3b6)](),this[_0x5e909f(0x2f0)](this[_0x5e909f(0x3f1)][_0x5e909f(0x235)]()),this[_0x5e909f(0x1b1)]();const _0x3aad98=this[_0x5e909f(0x3f1)];_0x4025eb&&_0x3aad98 instanceof _0xc0bd37['SyncedState']&&(this[_0x5e909f(0x3b6)](),this[_0x5e909f(0x2f0)](_0x3aad98[_0x5e909f(0x411)]()),this[_0x5e909f(0x1b1)]());}async['_createInitialState'](){return new Promise(_0x5808ac=>{var _0x54ef28=_0x1b3a;this[_0x54ef28(0x238)][_0x54ef28(0x43e)][_0x54ef28(0x3ad)](_0x3dd64f['take'](0x1))[_0x54ef28(0x3c3)](async _0xb3baaf=>{var _0x42b7f8=_0x54ef28;_0x5808ac(await this[_0x42b7f8(0x183)](_0xb3baaf===_0x4f2d39[_0x42b7f8(0x2d0)]));});});}[_0x1150fd(0x32a)](){var _0x119830=_0x1150fd;const _0x4c4271=this[_0x119830(0x1bc)];return{'onStateChange':(_0x15d4f0,_0x5c6f60)=>{var _0x379d78=_0x119830;if(_0x15d4f0!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x15d4f0[_0x379d78(0x400)]+_0x379d78(0x28f)+_0x5c6f60['status']+_0x379d78(0x49f)+this[_0x379d78(0x3f1)]['status']);this['_updateState'](_0x5c6f60);},'onSendChangeset':_0x5823e0=>{var _0x3154ec=_0x119830;_0x5823e0[_0x3154ec(0x304)]||(_0x5823e0[_0x3154ec(0x304)]=this[_0x3154ec(0x489)],_0x5823e0[_0x3154ec(0x4b3)]=++this[_0x3154ec(0x3d1)]);const _0x3c640b={'eventID':_0x24336b[_0x3154ec(0x405)][_0x3154ec(0x39b)],'data':{'unitID':_0x5823e0[_0x3154ec(0x1bc)],'unitType':this['_type'],'changeset':_0x5823e0,'memberID':this[_0x3154ec(0x238)][_0x3154ec(0x4a3)]()}};this['session'][_0x3154ec(0x467)](_0x3c640b,this[_0x3154ec(0x1bc)]);},'onMissingChangesets':({from:_0x4f0b0e,to:_0x39d2c0})=>{var _0x8fda41=_0x119830;this[_0x8fda41(0x4b0)][_0x8fda41(0x25b)]('[CollaborationEntity]',_0x8fda41(0x4c4)+_0x4f0b0e+'\x20to\x20'+_0x39d2c0);const _0x184b6a={'eventID':_0x24336b[_0x8fda41(0x405)][_0x8fda41(0x15c)],'data':{'unitID':_0x4c4271,'unitType':this[_0x8fda41(0x4b7)],'from':_0x4f0b0e,'to':_0x39d2c0}};this[_0x8fda41(0x238)][_0x8fda41(0x467)](_0x184b6a,this[_0x8fda41(0x1bc)]);}};}async[_0x1150fd(0x183)](_0x13ce49){var _0x38b591=_0x1150fd,_0x3055f0,_0x5df6de,_0x4d0417;const _0x5a0b51=await((_0x3055f0=this[_0x38b591(0x2d5)])==null?void 0x0:_0x3055f0['loadOfflineData'](this[_0x38b591(0x1bc)])),_0x21bdd5=(_0x5df6de=_0x5a0b51==null?void 0x0:_0x5a0b51[_0x38b591(0x22b)])!=null?_0x5df6de:[],_0x2347a9=(_0x4d0417=_0x5a0b51==null?void 0x0:_0x5a0b51[_0x38b591(0x1d7)])!=null?_0x4d0417:null,_0x1d7741=!!(_0x2347a9!=null&&_0x2347a9[_0x38b591(0x304)])&&!!(_0x2347a9!=null&&_0x2347a9[_0x38b591(0x4b3)]);this[_0x38b591(0x489)]=_0x1d7741?_0x2347a9[_0x38b591(0x304)]:_0x24336b[_0x38b591(0x1f1)](),this[_0x38b591(0x3d1)]=_0x1d7741?_0x2347a9[_0x38b591(0x4b3)]:0x0;const _0x532dc1=this[_0x38b591(0x1bc)];try{this[_0x38b591(0x2a3)](_0x2347a9,_0x21bdd5);}catch(_0x14e684){this[_0x38b591(0x4b0)][_0x38b591(0x1f9)](_0x14e684);}const _0x5a8d12=this['_createHandler']();if(_0x13ce49){const _0x1cf25e=_0x3febc1(this[_0x38b591(0x208)],_0x532dc1,this[_0x38b591(0x4b7)],_0x2347a9,_0x21bdd5,_0x5a8d12);return _0x1cf25e instanceof _0xc0bd37[_0x38b591(0x474)]?_0x1cf25e[_0x38b591(0x1fa)]():(_0x1cf25e instanceof _0xc0bd37[_0x38b591(0x2a7)]||_0x1cf25e instanceof _0xc0bd37[_0x38b591(0x199)])&&_0x1cf25e[_0x38b591(0x294)](),_0x1cf25e;}return this['_injector'][_0x38b591(0x1c6)](_0xc0bd37[_0x38b591(0x268)],_0x532dc1,this['_type'],_0x2347a9,_0x21bdd5,_0x5a8d12);}[_0x1150fd(0x2a3)](_0x3c0893,_0x508e03){var _0x332d35=_0x1150fd,_0x2f40a3,_0x58c71b;const _0x321c12=this[_0x332d35(0x2d8)][_0x332d35(0x38f)][_0x332d35(0x237)](this[_0x332d35(0x2d8)][_0x332d35(0x38f)][_0x332d35(0x3b7)]()[_0x332d35(0x2a4)]);(_0x2f40a3=_0x321c12((_0x3c0893==null?void 0x0:_0x3c0893[_0x332d35(0x22b)])||[],null))==null||_0x2f40a3[_0x332d35(0x39d)](_0xc547f8=>this[_0x332d35(0x2ee)][_0x332d35(0x450)](_0xc547f8['id'],_0xc547f8['params'])),(_0x58c71b=_0x321c12(_0x508e03||[],null))==null||_0x58c71b['forEach'](_0x35f6c2=>this[_0x332d35(0x2ee)][_0x332d35(0x450)](_0x35f6c2['id'],_0x35f6c2[_0x332d35(0x211)]));}},_0xc0bd37['CollaborationEntity']=_0x3c6b77([_0x4cf2d4(0x3,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x388)])),_0x4cf2d4(0x4,_0x31a84a[_0x1150fd(0x348)](_0x24336b[_0x1150fd(0x3c6)])),_0x4cf2d4(0x5,_0x31a84a[_0x1150fd(0x348)](_0x31a84a['LocaleService'])),_0x4cf2d4(0x6,_0x31a84a[_0x1150fd(0x348)](_0x24336b[_0x1150fd(0x412)])),_0x4cf2d4(0x7,_0x31a84a['Inject'](_0x38b704)),_0x4cf2d4(0x8,_0x31a84a['IUniverInstanceService']),_0x4cf2d4(0x9,_0x31a84a[_0x1150fd(0x41e)]),_0x4cf2d4(0xa,_0x31a84a[_0x1150fd(0x3f8)]),_0x4cf2d4(0xb,_0x31a84a['IPermissionService']),_0x4cf2d4(0xc,_0x31a84a[_0x1150fd(0x181)](_0x5f4ca3)),_0x4cf2d4(0xd,_0x31a84a[_0x1150fd(0x181)](_0x361671))],_0xc0bd37['CollaborationEntity']),_0xc0bd37[_0x1150fd(0x1a5)]=class extends _0xc0bd37[_0x1150fd(0x2c0)]{constructor(_0x2e7c64,_0x5ed4c9,_0x283f71,_0x2ffbfb,_0x4a8596,_0x78a801,_0x277f0a,_0x3573e8,_0x1fbe3f,_0x21bdf3,_0x3e3d40,_0x1c8b48,_0x45e90b,_0x192e50){var _0x31fdb7=_0x1150fd;super(_0x2e7c64,_0x283f71,_0x5ed4c9,_0x2ffbfb,_0x4a8596,_0x78a801,_0x277f0a,_0x3573e8,_0x1fbe3f,_0x21bdf3,_0x3e3d40,_0x1c8b48,_0x45e90b,_0x192e50),_0x516c5a(this,_0x31fdb7(0x426),null),(this[_0x31fdb7(0x1bc)]=_0x2e7c64,this[_0x31fdb7(0x13e)]=_0x5ed4c9);}[_0x1150fd(0x31f)](_0x120888){var _0x165417=_0x1150fd;this[_0x165417(0x426)]=_0x120888;}[_0x1150fd(0x21e)](){var _0x557e62=_0x1150fd;this['_handlerCallback']=null,super[_0x557e62(0x21e)]();}[_0x1150fd(0x32a)](){var _0x2c5380=_0x1150fd;const _0x448470=super[_0x2c5380(0x32a)]();return _0x448470[_0x2c5380(0x494)]=_0x25490f=>{var _0x5c5901=_0x2c5380,_0x11f515,_0x59a8d2;return(_0x59a8d2=(_0x11f515=this[_0x5c5901(0x426)])==null?void 0x0:_0x11f515['onTransformIME'])==null?void 0x0:_0x59a8d2['call'](_0x11f515,_0x25490f);},_0x448470[_0x2c5380(0x3de)]=_0x2a3da0=>{var _0x1eecd5=_0x2c5380,_0x2ead42,_0x3ab68d;return(_0x3ab68d=(_0x2ead42=this[_0x1eecd5(0x426)])==null?void 0x0:_0x2ead42['onTransformState'])==null?void 0x0:_0x3ab68d[_0x1eecd5(0x43f)](_0x2ead42,_0x2a3da0);},_0x448470['onTransformSelections']=_0x26d0e8=>{var _0xf6a2b2=_0x2c5380,_0x656b61,_0x5a409d;return(_0x5a409d=(_0x656b61=this[_0xf6a2b2(0x426)])==null?void 0x0:_0x656b61[_0xf6a2b2(0x497)])==null?void 0x0:_0x5a409d[_0xf6a2b2(0x43f)](_0x656b61,_0x26d0e8);},_0x448470[_0x2c5380(0x3bc)]=_0x5df667=>{var _0x3127f7=_0x2c5380,_0x1334ae,_0x1cde90;return(_0x1cde90=(_0x1334ae=this[_0x3127f7(0x426)])==null?void 0x0:_0x1334ae[_0x3127f7(0x3bc)])==null?void 0x0:_0x1cde90[_0x3127f7(0x43f)](_0x1334ae,_0x5df667);},_0x448470[_0x2c5380(0x2eb)]=_0x323344=>{var _0x4a7caa=_0x2c5380,_0x1bf5d9,_0x4ea8a1,_0x199be1;if(!((_0x1bf5d9=this['_handlerCallback'])!=null&&_0x1bf5d9[_0x4a7caa(0x2eb)]))throw new Error(_0x4a7caa(0x4c2));return(_0x199be1=(_0x4ea8a1=this[_0x4a7caa(0x426)])==null?void 0x0:_0x4ea8a1[_0x4a7caa(0x2eb)])==null?void 0x0:_0x199be1[_0x4a7caa(0x43f)](_0x4ea8a1,_0x323344);},_0x448470[_0x2c5380(0x154)]=_0x3bc0d6=>{var _0x27d218=_0x2c5380,_0x2afbed,_0x4b3200,_0x2bd528;if(!((_0x2afbed=this[_0x27d218(0x426)])!=null&&_0x2afbed[_0x27d218(0x154)]))throw new Error(_0x27d218(0x1b4));return(_0x2bd528=(_0x4b3200=this[_0x27d218(0x426)])==null?void 0x0:_0x4b3200['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2bd528[_0x27d218(0x43f)](_0x4b3200,_0x3bc0d6);},_0x448470;}async[_0x1150fd(0x1a1)](){var _0x3b0ce6=_0x1150fd;const _0x54206c=await super[_0x3b0ce6(0x1a1)]();return this[_0x3b0ce6(0x441)](this[_0x3b0ce6(0x2ee)]['onMutationExecutedForCollab']((_0x56d832,_0x3bfd99)=>{var _0xcf5f93=_0x3b0ce6;if(_0x56d832[_0xcf5f93(0x13e)]!==_0x31a84a[_0xcf5f93(0x39a)]['MUTATION']||_0x3bfd99!=null&&_0x3bfd99[_0xcf5f93(0x376)]||_0x3bfd99!=null&&_0x3bfd99[_0xcf5f93(0x3a3)]||_0x56d832['id']===_0x10cd63[_0xcf5f93(0x299)]['id'])return;const _0x3a4950=_0x56d832['params'];if((_0x3a4950==null?void 0x0:_0x3a4950[_0xcf5f93(0x220)])!==this[_0xcf5f93(0x1bc)])return;const _0x48b9c9=_0x56d832,_0x1c0222=this['_compressMutationService'][_0xcf5f93(0x38f)][_0xcf5f93(0x237)](this[_0xcf5f93(0x2d8)][_0xcf5f93(0x38f)]['getInterceptPoints']()[_0xcf5f93(0x1ad)])([_0x48b9c9],this['_univerInstanceService'])||[_0x48b9c9];this['_onLocalMutation'](_0x1c0222[0x0]);})),_0x54206c;}},_0xc0bd37[_0x1150fd(0x1a5)]=_0x3c6b77([_0x4cf2d4(0x3,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x388)])),_0x4cf2d4(0x4,_0x31a84a['Inject'](_0x24336b[_0x1150fd(0x3c6)])),_0x4cf2d4(0x5,_0x31a84a[_0x1150fd(0x348)](_0x31a84a['LocaleService'])),_0x4cf2d4(0x6,_0x31a84a['Inject'](_0x24336b['RevisionService'])),_0x4cf2d4(0x7,_0x31a84a[_0x1150fd(0x348)](_0x38b704)),_0x4cf2d4(0x8,_0x31a84a[_0x1150fd(0x32c)]),_0x4cf2d4(0x9,_0x31a84a['ILogService']),_0x4cf2d4(0xa,_0x31a84a[_0x1150fd(0x3f8)]),_0x4cf2d4(0xb,_0x31a84a[_0x1150fd(0x19c)]),_0x4cf2d4(0xc,_0x31a84a[_0x1150fd(0x181)](_0x5f4ca3)),_0x4cf2d4(0xd,_0x31a84a[_0x1150fd(0x181)](_0x361671))],_0xc0bd37[_0x1150fd(0x1a5)]),_0xc0bd37[_0x1150fd(0x34f)]=class extends _0xc0bd37['CollaborationEntity']{constructor(_0x5f0f0f,_0x3f12dc,_0x1655de,_0x8a71,_0x328d05,_0x1609bb,_0x6015a4,_0x26e39b,_0x28b2ab,_0x8a0e2b,_0x29117e,_0x471940,_0x3332c9,_0x409a06,_0x3964a0){super(_0x5f0f0f,_0x1655de,_0x3f12dc,_0x8a71,_0x328d05,_0x1609bb,_0x6015a4,_0x28b2ab,_0x8a0e2b,_0x29117e,_0x471940,_0x3332c9,_0x409a06,_0x3964a0),this['unitID']=_0x5f0f0f,this['type']=_0x3f12dc,this['_sheetTransformSelectionsService']=_0x26e39b;}['_createHandler'](){var _0x1c6631=_0x1150fd;const _0x2b63b7=super[_0x1c6631(0x32a)]();return _0x2b63b7[_0x1c6631(0x497)]=_0x2f6a0b=>this['_sheetTransformSelectionsService'][_0x1c6631(0x2f3)](_0x2f6a0b),_0x2b63b7;}async[_0x1150fd(0x1a1)](){var _0x211d1e=_0x1150fd;const _0x1e50b5=await super['_init']();return this[_0x211d1e(0x441)](this[_0x211d1e(0x2ee)][_0x211d1e(0x2e0)]((_0x405348,_0x45df89)=>{var _0x2359b8=_0x211d1e;if(_0x405348[_0x2359b8(0x13e)]!==_0x31a84a['CommandType'][_0x2359b8(0x332)]||_0x45df89!=null&&_0x45df89[_0x2359b8(0x376)]||_0x45df89!=null&&_0x45df89[_0x2359b8(0x3a3)])return;const _0x27ad0a=_0x405348[_0x2359b8(0x211)];if((_0x27ad0a==null?void 0x0:_0x27ad0a[_0x2359b8(0x220)])!==this['unitID'])return;const _0x3f09e7=_0x405348,_0xaac755=this[_0x2359b8(0x2d8)][_0x2359b8(0x38f)][_0x2359b8(0x237)](this[_0x2359b8(0x2d8)][_0x2359b8(0x38f)][_0x2359b8(0x3b7)]()[_0x2359b8(0x1ad)])([_0x3f09e7],this[_0x2359b8(0x252)])||[_0x3f09e7];this[_0x2359b8(0x340)](_0xaac755[0x0]);})),_0x1e50b5;}},_0xc0bd37[_0x1150fd(0x34f)]=_0x3c6b77([_0x4cf2d4(0x3,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x388)])),_0x4cf2d4(0x4,_0x31a84a[_0x1150fd(0x348)](_0x24336b['CompressMutationService'])),_0x4cf2d4(0x5,_0x31a84a['Inject'](_0x31a84a[_0x1150fd(0x21f)])),_0x4cf2d4(0x6,_0x31a84a[_0x1150fd(0x348)](_0x24336b[_0x1150fd(0x412)])),_0x4cf2d4(0x7,_0x31a84a['Inject'](_0xc0bd37[_0x1150fd(0x47c)])),_0x4cf2d4(0x8,_0x31a84a[_0x1150fd(0x348)](_0x38b704)),_0x4cf2d4(0x9,_0x31a84a['IUniverInstanceService']),_0x4cf2d4(0xa,_0x31a84a[_0x1150fd(0x41e)]),_0x4cf2d4(0xb,_0x31a84a[_0x1150fd(0x3f8)]),_0x4cf2d4(0xc,_0x31a84a[_0x1150fd(0x19c)]),_0x4cf2d4(0xd,_0x31a84a['Optional'](_0x5f4ca3)),_0x4cf2d4(0xe,_0x31a84a['Optional'](_0x361671))],_0xc0bd37[_0x1150fd(0x34f)]);const _0x2f77c4=_0x31a84a[_0x1150fd(0x3cc)](_0x1150fd(0x2b8));function _0x317bf9(_0x2f5aad){var _0xd838b8=_0x1150fd,_0x425125,_0x529e96,_0x4c5cbb,_0x23e0ab,_0x54289a;const _0x41f337=_0x2f5aad[_0xd838b8(0x33c)],_0x25aa57=JSON['parse'](_0x41f337);switch(_0x25aa57['cmd']){case _0x14a22b[_0xd838b8(0x27f)]:case _0x14a22b[_0xd838b8(0x1e2)]:{const _0x258c08=_0x25aa57['infoRsp'];return{..._0x25aa57,'data':_0x258c08,'cmd':_0x25aa57[_0xd838b8(0x246)]};}case _0x14a22b[_0xd838b8(0x28c)]:{const _0x181ec0=_0x25aa57[_0xd838b8(0x43b)];return{..._0x25aa57,'data':_0x181ec0,'cmd':_0x25aa57[_0xd838b8(0x246)]};}case _0x14a22b[_0xd838b8(0x3a0)]:{const _0xe137d3=_0x25aa57['collaMsg'];switch(_0xe137d3[_0xd838b8(0x15a)]){case _0x24336b[_0xd838b8(0x405)][_0xd838b8(0x31a)]:return{..._0x25aa57,'data':{..._0xe137d3,'data':(_0x425125=_0xe137d3[_0xd838b8(0x236)])==null?void 0x0:_0x425125['cs']},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)]['CHANGESET_ACK']:return{..._0x25aa57,'data':{..._0xe137d3,'data':(_0x529e96=_0xe137d3[_0xd838b8(0x255)])==null?void 0x0:_0x529e96['cs']},'cmd':_0x25aa57['cmd']};case _0x24336b[_0xd838b8(0x405)][_0xd838b8(0x442)]:return{..._0x25aa57,'data':{..._0xe137d3,'data':(_0x4c5cbb=_0xe137d3[_0xd838b8(0x1aa)])==null?void 0x0:_0x4c5cbb['cs']},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)]['CHANGESET_REJ']:return{..._0x25aa57,'data':{..._0xe137d3,'data':(_0x23e0ab=_0xe137d3[_0xd838b8(0x47b)])==null?void 0x0:_0x23e0ab['cs']},'cmd':_0x25aa57['cmd']};case _0x24336b[_0xd838b8(0x405)][_0xd838b8(0x316)]:return{..._0x25aa57,'data':{..._0xe137d3,'data':(_0x54289a=_0xe137d3[_0xd838b8(0x165)])==null?void 0x0:_0x54289a['cs']},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)]['UPDATE_CURSOR']:return{..._0x25aa57,'data':{..._0xe137d3,'data':_0xe137d3[_0xd838b8(0x371)]},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)][_0xd838b8(0x1a6)]:return{..._0x25aa57,'data':{..._0xe137d3,'data':_0xe137d3['joinEvent']},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)][_0xd838b8(0x290)]:return{..._0x25aa57,'data':{..._0xe137d3,'data':_0xe137d3['leaveEvent']},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)][_0xd838b8(0x2ab)]:return{..._0x25aa57,'data':{..._0xe137d3,'data':_0xe137d3[_0xd838b8(0x330)]},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)]['LIVESHARE_FETCH_OPERATIONS']:case _0x24336b[_0xd838b8(0x405)][_0xd838b8(0x219)]:return{..._0x25aa57,'data':{..._0xe137d3,'data':_0xe137d3[_0xd838b8(0x2f9)]},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)][_0xd838b8(0x378)]:return{..._0x25aa57,'data':{..._0xe137d3,'data':_0xe137d3['liveShareNewHost']},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x25aa57,'data':_0xe137d3,'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)][_0xd838b8(0x34d)]:return{..._0x25aa57,'data':{..._0xe137d3,'data':_0xe137d3[_0xd838b8(0x309)]},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)]['UPDATE_PERMISSION_OBJ']:return{..._0x25aa57,'data':{..._0xe137d3,'data':_0xe137d3[_0xd838b8(0x20e)]},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b['CollaborationEvent'][_0xd838b8(0x336)]:return{..._0x25aa57,'data':{..._0xe137d3,'data':_0xe137d3[_0xd838b8(0x482)]},'cmd':_0x25aa57[_0xd838b8(0x246)]};case _0x24336b[_0xd838b8(0x405)]['UNISCRIPT_RUN']:return{..._0x25aa57,'data':{..._0xe137d3,'data':_0xe137d3['uniscriptRunEvent']},'cmd':_0x25aa57[_0xd838b8(0x246)]};default:return _0x25aa57;}}default:return _0x25aa57;}}function _0x28e49f(_0x34299c){var _0x1dcae3=_0x1150fd;switch(_0x34299c[_0x1dcae3(0x246)]){case _0x14a22b[_0x1dcae3(0x27f)]:case _0x14a22b[_0x1dcae3(0x1e2)]:return JSON[_0x1dcae3(0x16b)]({'cmd':_0x34299c['cmd'],'routeKey':_0x34299c[_0x1dcae3(0x473)]});case _0x14a22b[_0x1dcae3(0x314)]:{let _0x398b73;switch(_0x34299c[_0x1dcae3(0x33c)][_0x1dcae3(0x15a)]){case _0x24336b[_0x1dcae3(0x405)]['UPDATE_CURSOR']:{_0x398b73={'eventID':_0x24336b['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x34299c[_0x1dcae3(0x33c)][_0x1dcae3(0x33c)]};break;}case _0x24336b[_0x1dcae3(0x405)][_0x1dcae3(0x290)]:{_0x398b73={'eventID':_0x24336b[_0x1dcae3(0x405)]['USERS_LEAVE'],'leaveEvent':_0x34299c[_0x1dcae3(0x33c)][_0x1dcae3(0x33c)]};break;}case _0x24336b[_0x1dcae3(0x405)][_0x1dcae3(0x1a6)]:{_0x398b73={'eventID':_0x24336b[_0x1dcae3(0x405)][_0x1dcae3(0x1a6)],'joinEvent':_0x34299c[_0x1dcae3(0x33c)][_0x1dcae3(0x33c)]};break;}case _0x24336b[_0x1dcae3(0x405)][_0x1dcae3(0x2ab)]:{_0x398b73={'eventID':_0x24336b[_0x1dcae3(0x405)][_0x1dcae3(0x2ab)],'liveShareNewHost':_0x34299c[_0x1dcae3(0x33c)][_0x1dcae3(0x33c)]};break;}case _0x24336b['CollaborationEvent'][_0x1dcae3(0x219)]:{_0x398b73={'eventID':_0x24336b[_0x1dcae3(0x405)][_0x1dcae3(0x219)],'liveShareOperation':_0x34299c[_0x1dcae3(0x33c)]['data']};break;}case _0x24336b['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x398b73={'eventID':_0x24336b['CollaborationEvent'][_0x1dcae3(0x378)],'liveShareTerminate':_0x34299c['data'][_0x1dcae3(0x33c)]};break;}case _0x24336b['CollaborationEvent'][_0x1dcae3(0x198)]:{_0x398b73={'eventID':_0x24336b['CollaborationEvent'][_0x1dcae3(0x198)],'liveShareRequestHost':_0x34299c[_0x1dcae3(0x33c)]['data']};break;}case _0x24336b[_0x1dcae3(0x405)][_0x1dcae3(0x23a)]:{_0x398b73={'eventID':_0x24336b[_0x1dcae3(0x405)][_0x1dcae3(0x23a)]};break;}default:_0x398b73={'eventID':_0x34299c[_0x1dcae3(0x33c)]['eventID']};}return JSON[_0x1dcae3(0x16b)]({'cmd':_0x34299c['cmd'],'routeKey':_0x34299c[_0x1dcae3(0x473)],'collaMsg':_0x398b73});}case _0x14a22b['JOIN']:return JSON[_0x1dcae3(0x16b)]({'cmd':_0x34299c['cmd'],'routeKey':_0x34299c[_0x1dcae3(0x473)],'joinReq':_0x34299c[_0x1dcae3(0x33c)]});case _0x14a22b[_0x1dcae3(0x32b)]:return JSON[_0x1dcae3(0x16b)]({'cmd':_0x34299c[_0x1dcae3(0x246)],'routeKey':_0x34299c[_0x1dcae3(0x473)],'leaveReq':_0x34299c[_0x1dcae3(0x33c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x17f009=Object[_0x1150fd(0x13b)],_0x226293=(_0x5b9908,_0x3f9a2b,_0x4dae05,_0x4f830d)=>{var _0x343323=_0x1150fd;for(var _0x16aa9c=_0x4f830d>0x1?void 0x0:_0x4f830d?_0x17f009(_0x3f9a2b,_0x4dae05):_0x3f9a2b,_0x566ed3=_0x5b9908[_0x343323(0x17d)]-0x1,_0x221c66;_0x566ed3>=0x0;_0x566ed3--)(_0x221c66=_0x5b9908[_0x566ed3])&&(_0x16aa9c=_0x221c66(_0x16aa9c)||_0x16aa9c);return _0x16aa9c;},_0x5233f3=(_0x4086bc,_0xed8d6f)=>(_0x12f8d9,_0x4b0471)=>_0xed8d6f(_0x12f8d9,_0x4b0471,_0x4086bc);const _0x1f69ae=_0x31a84a[_0x1150fd(0x3cc)](_0x1150fd(0x233));function _0x10c1bb(_0x46ac05,_0x6d0550,_0x220b86){var _0x199154=_0x1150fd;return _0x46ac05+'/'+_0x6d0550+'/unit/'+_0x220b86+_0x199154(0x321);}_0xc0bd37['CollaborationSocketService']=class extends _0x31a84a['Disposable']{constructor(_0x46874a,_0x4e684b,_0x20849a,_0x37dad9,_0xb2d76b){var _0x25ebb2=_0x1150fd;super(),this[_0x25ebb2(0x208)]=_0x46874a,this['_httpService']=_0x4e684b,this[_0x25ebb2(0x430)]=_0x20849a,this['_logService']=_0x37dad9,this[_0x25ebb2(0x335)]=_0xb2d76b;}[_0x1150fd(0x23f)](_0x2b8eab){var _0x10230b=_0x1150fd;const _0x25f4c4=this[_0x10230b(0x208)][_0x10230b(0x173)](_0x53093c['ISocketService']);if(!_0x25f4c4)throw new Error(_0x10230b(0x280));const _0x5c9cc7=_0x25f4c4[_0x10230b(0x498)](_0x2b8eab);if(!_0x5c9cc7)throw new Error(_0x10230b(0x1fd));const _0x1d9ad2=new _0x31a84a['DisposableCollection'](),_0x18c6eb=new _0x3dd64f[(_0x10230b(0x478))]();_0x1d9ad2[_0x10230b(0x248)](_0x5c9cc7[_0x10230b(0x39c)]['subscribe'](_0x36f4cd=>_0x18c6eb[_0x10230b(0x2f2)](_0x36f4cd))),_0x1d9ad2[_0x10230b(0x248)](_0x31a84a[_0x10230b(0x48e)](()=>_0x18c6eb[_0x10230b(0x41c)]()));const _0x5d7125=new _0x3dd64f['Subject']();_0x1d9ad2[_0x10230b(0x248)](_0x5c9cc7[_0x10230b(0x471)][_0x10230b(0x3c3)](_0x55d712=>_0x5d7125['next'](_0x55d712))),_0x1d9ad2[_0x10230b(0x248)](_0x31a84a[_0x10230b(0x48e)](()=>_0x5d7125['complete']()));const _0x1704a3=new _0x3dd64f[(_0x10230b(0x478))]();_0x1d9ad2['add'](_0x5c9cc7[_0x10230b(0x163)][_0x10230b(0x3c3)](_0x315537=>{const _0x322c01=_0x317bf9(_0x315537);_0x1704a3['next'](_0x322c01);})),_0x1d9ad2[_0x10230b(0x248)](_0x31a84a[_0x10230b(0x48e)](()=>_0x1704a3['complete']()));let _0x400c00;const _0x543246=()=>{var _0x600b96=_0x10230b;_0x5d7125[_0x600b96(0x2f2)](new Event('connection\x20error')),_0x18c6eb[_0x600b96(0x2f2)](new Event(_0x600b96(0x1fe))),_0x400c00[_0x600b96(0x1ec)]();};return _0x400c00={'memberID':'','close$':_0x18c6eb['asObservable'](),'error$':_0x5d7125[_0x10230b(0x499)](),'open$':_0x5c9cc7['open$'],'message$':_0x1704a3[_0x10230b(0x499)](),'send':_0x5c7793=>{var _0x1a0db7=_0x10230b;if(_0x5c7793['cmd']===_0x14a22b['INGEST']){if(_0x5c7793[_0x1a0db7(0x33c)]['eventID']===_0x24336b[_0x1a0db7(0x405)][_0x1a0db7(0x39b)]){this['_submitChangeset'](_0x400c00,_0x5c7793[_0x1a0db7(0x33c)])[_0x1a0db7(0x155)](_0x3d8ee7=>{var _0x337a96=_0x1a0db7;this['_logService'][_0x337a96(0x1f9)](_0x3d8ee7),_0x543246();});return;}if(_0x5c7793[_0x1a0db7(0x33c)][_0x1a0db7(0x15a)]===_0x24336b['CollaborationEvent'][_0x1a0db7(0x15c)]){const _0x568e6a=_0x5c7793[_0x1a0db7(0x33c)];this[_0x1a0db7(0x1c2)](_0x568e6a)['then'](_0x5120b6=>{var _0x2ff56d=_0x1a0db7;_0x1704a3['next']({'cmd':_0x14a22b[_0x2ff56d(0x3a0)],'code':_0x54c09b['OK'],'routeKey':_0x568e6a[_0x2ff56d(0x33c)]['unitID'],'routeType':'','data':{'eventID':_0x24336b[_0x2ff56d(0x405)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5120b6}}});})[_0x1a0db7(0x155)](_0x5b5d07=>{var _0x1deaf8=_0x1a0db7;this[_0x1deaf8(0x4b0)]['error'](_0x5b5d07),_0x543246();});return;}}_0x5c9cc7[_0x1a0db7(0x467)](_0x28e49f(_0x5c7793));},'close':()=>{var _0x231f25=_0x10230b;_0x5c9cc7[_0x231f25(0x1ec)](),_0x1d9ad2[_0x231f25(0x21e)]();}},_0x400c00;}async[_0x1150fd(0x1e9)](_0x463e6a,_0x264da6){var _0x4cccf0=_0x1150fd,_0x18a244;const {unitType:_0x53d0a3,unitID:_0x3168e4,changeset:_0x8cc639}=_0x264da6[_0x4cccf0(0x33c)],_0x2a7776={'unitID':_0x3168e4,'memberID':_0x463e6a[_0x4cccf0(0x149)],'type':_0x53d0a3,'changeset':_0x24336b['parseChangesetToProtocol'](_0x8cc639)},_0x3df8a4=this['_configService'][_0x4cccf0(0x16d)](_0x4b13f9),_0x138350=_0x10c1bb((_0x18a244=_0x3df8a4==null?void 0x0:_0x3df8a4[_0x4cccf0(0x2b6)])!=null?_0x18a244:_0x24cf81,_0x53d0a3,_0x3168e4);try{await this[_0x4cccf0(0x32f)][_0x4cccf0(0x3e4)](_0x138350,{'body':_0x2a7776});}catch(_0xc4945b){throw this['_logService']['error'](_0x4cccf0(0x170),'submit\x20changeset\x20error!'),_0xc4945b;}}async[_0x1150fd(0x1c2)](_0x20a19d){var _0x76fa40=_0x1150fd;const {unitID:_0x13492e,from:_0x4514e7,to:_0x30df5c,unitType:_0x44a168}=_0x20a19d[_0x76fa40(0x33c)];return(await this[_0x76fa40(0x335)][_0x76fa40(0x3dc)]({'metadata':void 0x0},{'unitID':_0x13492e,'type':_0x44a168,'from':_0x4514e7,'to':_0x30df5c}))['changesets'][_0x76fa40(0x3fd)](_0x2e53c8=>((_0x2e53c8[_0x76fa40(0x22b)]===null||_0x2e53c8[_0x76fa40(0x22b)]===void 0x0)&&(_0x2e53c8[_0x76fa40(0x22b)]=[]),_0x2e53c8));}},_0xc0bd37[_0x1150fd(0x329)]=_0x226293([_0x5233f3(0x0,_0x31a84a[_0x1150fd(0x348)](_0x31a84a['Injector'])),_0x5233f3(0x1,_0x31a84a['Inject'](_0x53093c[_0x1150fd(0x4c8)])),_0x5233f3(0x2,_0x31a84a[_0x1150fd(0x13d)]),_0x5233f3(0x3,_0x31a84a[_0x1150fd(0x41e)]),_0x5233f3(0x4,_0x24336b['ISnapshotServerService'])],_0xc0bd37[_0x1150fd(0x329)]);var _0x56349a=Object[_0x1150fd(0x13b)],_0x134019=(_0x46d621,_0x5797f3,_0x5e2f16,_0x593d16)=>{var _0x3674d7=_0x1150fd;for(var _0x4eef69=_0x593d16>0x1?void 0x0:_0x593d16?_0x56349a(_0x5797f3,_0x5e2f16):_0x5797f3,_0x4700bd=_0x46d621[_0x3674d7(0x17d)]-0x1,_0x37b9e9;_0x4700bd>=0x0;_0x4700bd--)(_0x37b9e9=_0x46d621[_0x4700bd])&&(_0x4eef69=_0x37b9e9(_0x4eef69)||_0x4eef69);return _0x4eef69;},_0x4e2cbb=(_0x55b395,_0x3a6df6)=>(_0x566ddf,_0x12b421)=>_0x3a6df6(_0x566ddf,_0x12b421,_0x55b395);_0xc0bd37[_0x1150fd(0x1b7)]=class extends _0x31a84a[_0x1150fd(0x2e4)]{constructor(_0x302a6e,_0x3f7dd3,_0x2a6fac,_0x301c52,_0xf8318c,_0x1b6112){var _0xfddcfc=_0x1150fd;super(),_0x516c5a(this,_0xfddcfc(0x2d6),new _0x3dd64f[(_0xfddcfc(0x353))](void 0x0)),_0x516c5a(this,_0xfddcfc(0x389),this[_0xfddcfc(0x2d6)][_0xfddcfc(0x499)]()),_0x516c5a(this,_0xfddcfc(0x463),null),_0x516c5a(this,_0xfddcfc(0x282),new Map()),_0x516c5a(this,_0xfddcfc(0x278),new _0x3dd64f[(_0xfddcfc(0x353))](_0x4f2d39['IDLE'])),_0x516c5a(this,_0xfddcfc(0x3bb),this[_0xfddcfc(0x278)][_0xfddcfc(0x499)]()),_0x516c5a(this,'_socketReady',!0x1),_0x516c5a(this,_0xfddcfc(0x454)),_0x516c5a(this,_0xfddcfc(0x3ec),0x0),_0x516c5a(this,_0xfddcfc(0x161)),_0x516c5a(this,_0xfddcfc(0x190)),(this['_injector']=_0x302a6e,this['_logService']=_0x3f7dd3,this[_0xfddcfc(0x430)]=_0x2a6fac,this['_socketService']=_0x301c52,this[_0xfddcfc(0x24f)]=_0xf8318c,this[_0xfddcfc(0x160)]=_0x1b6112,this[_0xfddcfc(0x224)]());}get[_0x1150fd(0x284)](){var _0x4b2c19=_0x1150fd;return this['_socket$'][_0x4b2c19(0x4c6)]();}[_0x1150fd(0x224)](){var _0x1412d4=_0x1150fd;this[_0x1412d4(0x160)]&&this[_0x1412d4(0x441)](this[_0x1412d4(0x160)][_0x1412d4(0x369)][_0x1412d4(0x3c3)](_0x4c53d0=>{var _0x164230=_0x1412d4;_0x4c53d0&&!this['_socket']&&this[_0x164230(0x26f)](),_0x4c53d0||this[_0x164230(0x4bd)]();}));}[_0x1150fd(0x21e)](){var _0x25f983=_0x1150fd;super[_0x25f983(0x21e)](),this[_0x25f983(0x41d)](),this[_0x25f983(0x3c5)](),this[_0x25f983(0x1c5)](),this[_0x25f983(0x282)][_0x25f983(0x39d)](_0x2c2b47=>_0x2c2b47[_0x25f983(0x21e)]()),this[_0x25f983(0x282)][_0x25f983(0x25d)](),this[_0x25f983(0x278)][_0x25f983(0x41c)]();}async[_0x1150fd(0x4a7)](_0x2179fc){var _0xba8c0b=_0x1150fd;if(this[_0xba8c0b(0x282)][_0xba8c0b(0x1d6)](_0x2179fc))return this[_0xba8c0b(0x282)][_0xba8c0b(0x173)](_0x2179fc);this[_0xba8c0b(0x3cd)]();const _0x20fc78=this['_injector'][_0xba8c0b(0x1c6)](_0xc0bd37[_0xba8c0b(0x1df)],_0x2179fc,this['_socket$'][_0xba8c0b(0x499)]());return this[_0xba8c0b(0x282)][_0xba8c0b(0x289)](_0x2179fc,_0x20fc78),_0x20fc78;}[_0x1150fd(0x258)](_0x41a330){var _0x139e98=_0x1150fd,_0x4fdc66;const _0x5007a7=this['_sessions'][_0x139e98(0x173)](_0x41a330);_0x5007a7&&(this[_0x139e98(0x282)][_0x139e98(0x2c5)](_0x41a330),_0x5007a7[_0x139e98(0x1ec)]()),this['_sessions']['size']||(_0x4fdc66=this[_0x139e98(0x284)])==null||_0x4fdc66[_0x139e98(0x1ec)]();}[_0x1150fd(0x26f)](){var _0x29f207=_0x1150fd;this[_0x29f207(0x3ec)]=0x0,this[_0x29f207(0x41d)](),this[_0x29f207(0x403)]();}['_clearRetryConnectingTimer'](){var _0x4fdcb8=_0x1150fd;this[_0x4fdcb8(0x454)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x4fdcb8(0x454)]=null);}async[_0x1150fd(0x312)](){var _0x3951e7=_0x1150fd,_0x16499e;const _0x23da82=this['_configService'][_0x3951e7(0x16d)](_0x4b13f9),_0x47a99e=(_0x16499e=_0x23da82==null?void 0x0:_0x23da82[_0x3951e7(0x383)])!=null?_0x16499e:_0x279807,_0x424b6e=await this['_socketService']['createSocket'](_0x47a99e);return this[_0x3951e7(0x463)]=_0x424b6e,_0x424b6e;}async[_0x1150fd(0x3cd)](){var _0x431570=_0x1150fd,_0x360542,_0x25c4be;try{const _0x3c552a=(_0x25c4be=(_0x360542=this[_0x431570(0x284)])!=null?_0x360542:this[_0x431570(0x463)])!=null?_0x25c4be:await this['_createSocket']();if(_0x3c552a){const _0x5b4416=_0x3c552a[_0x431570(0x467)];_0x3c552a[_0x431570(0x467)]=_0x2a5ed8=>(this['_rescheduleHeartbeat'](),_0x5b4416[_0x431570(0x2e7)](_0x3c552a,[_0x2a5ed8])),_0x3c552a[_0x431570(0x163)]['subscribe'](_0xce806f=>this['_onMessage'](_0x3c552a,_0xce806f)),_0x3c552a['error$'][_0x431570(0x3ad)](_0x50cad4['take'](0x1))[_0x431570(0x3c3)](_0x1240d1=>this[_0x431570(0x4b0)][_0x431570(0x1f9)](_0x431570(0x251),_0x1240d1)),_0x3c552a[_0x431570(0x3c7)][_0x431570(0x3ad)](_0x50cad4[_0x431570(0x492)](0x1))[_0x431570(0x3c3)](()=>{var _0x218481=_0x431570;this[_0x218481(0x2a6)](_0x3c552a);}),_0x3c552a[_0x431570(0x39c)]['pipe'](_0x50cad4[_0x431570(0x492)](0x1))['subscribe'](_0x490a58=>{var _0x509fdc=_0x431570;this[_0x509fdc(0x4b0)][_0x509fdc(0x25b)](_0x509fdc(0x145),_0x509fdc(0x46c),_0x490a58),this[_0x509fdc(0x3f5)]();});}}catch(_0x226253){this['_logService'][_0x431570(0x1f9)](_0x226253),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0xd4acdb){var _0x2a2319=_0x1150fd;this[_0x2a2319(0x4b0)]['debug'](_0x2a2319(0x145),'socket\x20open.'),_0xd4acdb[_0x2a2319(0x467)]({'cmd':_0x14a22b[_0x2a2319(0x1e2)]}),this['_rescheduleHeartbeat']();}[_0x1150fd(0x4bd)](){var _0x2cea70=_0x1150fd;this['_socketReady']=!0x1,this[_0x2cea70(0x463)]=null,this['_status$']['next'](_0x4f2d39[_0x2cea70(0x38e)]),this[_0x2cea70(0x2d6)]['next'](null),this[_0x2cea70(0x3c5)](),this['_clearHeartbeatTimer']();}[_0x1150fd(0x3f5)](){var _0x238c90=_0x1150fd,_0x180174;this[_0x238c90(0x4bd)](),this[_0x238c90(0x3ec)]<((_0x180174=this[_0x238c90(0x430)][_0x238c90(0x16d)](_0x5b4b03))!=null?_0x180174:0x3)?(this[_0x238c90(0x24f)][_0x238c90(0x169)]({'id':_0x106d5d[_0x238c90(0x44b)]}),this[_0x238c90(0x403)]()):this[_0x238c90(0x24f)][_0x238c90(0x169)]({'id':_0x106d5d['SOCKET_FAILED']});}[_0x1150fd(0x403)](){var _0xd1f7f8=_0x1150fd,_0x18612e;const _0x49e305=this['_retryCount'],_0xd52f85=this[_0xd1f7f8(0x430)]['getConfig'](_0x4b13f9),_0x37f539=_0x49e305===0x0?0x0:((_0x18612e=_0xd52f85==null?void 0x0:_0xd52f85[_0xd1f7f8(0x1ef)])!=null?_0x18612e:0x4e20)*0x2**_0x49e305;this['_retryConnectingTimer']=setTimeout(()=>{var _0x4c32a5=_0xd1f7f8;clearTimeout(this[_0x4c32a5(0x454)]),this['_retryConnectingTimer']=null,this[_0x4c32a5(0x3cd)]();},_0x37f539),this[_0xd1f7f8(0x3ec)]+=0x1;}['_onMessage'](_0x10aef5,_0x56683e){var _0x591f38=_0x1150fd;const {cmd:_0x14d5b0}=_0x56683e;_0x14d5b0===_0x14a22b['HELLO']&&!this[_0x591f38(0x29d)]&&(_0x10aef5[_0x591f38(0x149)]=_0x56683e[_0x591f38(0x33c)][_0x591f38(0x149)],this[_0x591f38(0x2d6)][_0x591f38(0x2f2)](_0x10aef5),this[_0x591f38(0x278)][_0x591f38(0x2f2)](_0x4f2d39[_0x591f38(0x2d0)]),this[_0x591f38(0x29d)]=!0x0,this[_0x591f38(0x463)]=null),_0x14d5b0===_0x14a22b[_0x591f38(0x27f)]&&this[_0x591f38(0x3c5)](),this[_0x591f38(0x16f)]();}[_0x1150fd(0x16f)](){var _0x3bcf80=_0x1150fd,_0x2a4fc2;this[_0x3bcf80(0x1c5)](),this[_0x3bcf80(0x161)]=setTimeout(()=>this[_0x3bcf80(0x157)](),(_0x2a4fc2=this[_0x3bcf80(0x430)][_0x3bcf80(0x16d)](_0x2cfd52))!=null?_0x2a4fc2:0x7530);}[_0x1150fd(0x157)](){var _0x3beaaa=_0x1150fd;this[_0x3beaaa(0x284)][_0x3beaaa(0x467)]({'cmd':_0x14a22b[_0x3beaaa(0x27f)]}),this['_waitForHeartbeatResponse']();}[_0x1150fd(0x2c3)](){var _0x412792=_0x1150fd,_0xec20a2;this[_0x412792(0x190)]=setTimeout(()=>this[_0x412792(0x3f5)](),(_0xec20a2=this['_configService'][_0x412792(0x16d)](_0x55b9af))!=null?_0xec20a2:0x4e20);}['_clearHeartbeatTimer'](){var _0x282adf=_0x1150fd;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x282adf(0x161)]),this['_sendHeartbeatTimer']=null);}[_0x1150fd(0x3c5)](){var _0x5000e9=_0x1150fd;this[_0x5000e9(0x190)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5000e9(0x190)]=null);}},_0xc0bd37[_0x1150fd(0x1b7)]=_0x134019([_0x4e2cbb(0x0,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x388)])),_0x4e2cbb(0x1,_0x31a84a[_0x1150fd(0x41e)]),_0x4e2cbb(0x2,_0x31a84a[_0x1150fd(0x13d)]),_0x4e2cbb(0x3,_0x1f69ae),_0x4e2cbb(0x4,_0x31a84a[_0x1150fd(0x348)](_0x38b704)),_0x4e2cbb(0x5,_0x31a84a[_0x1150fd(0x181)](_0x2f77c4))],_0xc0bd37[_0x1150fd(0x1b7)]);var _0x55486a=Object[_0x1150fd(0x13b)],_0x2232a8=(_0x1b6f20,_0x244733,_0x3931cc,_0x364ffb)=>{var _0x754caa=_0x1150fd;for(var _0x403448=_0x364ffb>0x1?void 0x0:_0x364ffb?_0x55486a(_0x244733,_0x3931cc):_0x244733,_0x1b72ef=_0x1b6f20[_0x754caa(0x17d)]-0x1,_0x3c0d5a;_0x1b72ef>=0x0;_0x1b72ef--)(_0x3c0d5a=_0x1b6f20[_0x1b72ef])&&(_0x403448=_0x3c0d5a(_0x403448)||_0x403448);return _0x403448;},_0x4dfb52=(_0x3e12c7,_0x3866bf)=>(_0x2e888e,_0x232162)=>_0x3866bf(_0x2e888e,_0x232162,_0x3e12c7);_0xc0bd37[_0x1150fd(0x185)]=class extends _0x31a84a[_0x1150fd(0x2be)]{constructor(_0x3a224f,_0x5ed03c,_0x3d7179,_0xce03be){var _0x1d574e=_0x1150fd,_0x24a496;super(),_0x516c5a(this,_0x1d574e(0x175),new Map()),_0x516c5a(this,_0x1d574e(0x25c),new _0x3dd64f['Subject']()),_0x516c5a(this,'entityInit$',this[_0x1d574e(0x25c)][_0x1d574e(0x499)]()),(this[_0x1d574e(0x208)]=_0x3a224f,this[_0x1d574e(0x352)]=_0x5ed03c,this[_0x1d574e(0x430)]=_0x3d7179,this[_0x1d574e(0x252)]=_0xce03be,((_0x24a496=this[_0x1d574e(0x430)][_0x1d574e(0x16d)](_0x4b13f9))==null?void 0x0:_0x24a496[_0x1d574e(0x26b)])!==!0x1&&this[_0x1d574e(0x1a1)]());}[_0x1150fd(0x21e)](){var _0x2b4d4a=_0x1150fd;super[_0x2b4d4a(0x21e)](),this[_0x2b4d4a(0x175)]['forEach'](_0x1717cc=>_0x1717cc['dispose']()),this['_entities'][_0x2b4d4a(0x25d)]();}[_0x1150fd(0x462)](_0x49d70e){var _0x9cd346=_0x1150fd,_0x1c5d93;return(_0x1c5d93=this['_entities'][_0x9cd346(0x173)](_0x49d70e))!=null?_0x1c5d93:null;}[_0x1150fd(0x18e)](_0x4eaea0){var _0x4c66e5=_0x1150fd;const _0x4c5669=this[_0x4c66e5(0x462)](_0x4eaea0);return _0x4c5669?_0x3dd64f['of'](_0x4c5669):this['_entityInit$'][_0x4c66e5(0x3ad)](_0x50cad4['filter'](_0xdc09d8=>_0xdc09d8[_0x4c66e5(0x1bc)]===_0x4eaea0));}[_0x1150fd(0x3b8)](_0x25fd68){var _0x2e3e0a=_0x1150fd;return _0x3dd64f[_0x2e3e0a(0x391)](this[_0x2e3e0a(0x18e)](_0x25fd68)[_0x2e3e0a(0x3ad)](_0x50cad4[_0x2e3e0a(0x3fd)](()=>{})));}[_0x1150fd(0x1a1)](){var _0x5a22c9=_0x1150fd;this['_univerInstanceService'][_0x5a22c9(0x401)](_0x31a84a[_0x5a22c9(0x2fc)][_0x5a22c9(0x3d4)])[_0x5a22c9(0x3ad)](_0x3dd64f[_0x5a22c9(0x418)](this[_0x5a22c9(0x1ac)]),_0x50cad4['delay'](0x10))[_0x5a22c9(0x3c3)](async _0x5835e0=>{var _0x256e91=_0x5a22c9;const _0x18659d=_0x5835e0['getUnitId'](),_0x193ca5=await this[_0x256e91(0x2c8)](_0x18659d,_0x4e99ce['UNIVER_SHEET']);this[_0x256e91(0x175)][_0x256e91(0x289)](_0x18659d,_0x193ca5);}),this[_0x5a22c9(0x252)][_0x5a22c9(0x401)](_0x31a84a[_0x5a22c9(0x2fc)]['UNIVER_DOC'])[_0x5a22c9(0x3ad)](_0x3dd64f[_0x5a22c9(0x418)](this['dispose$']),_0x50cad4[_0x5a22c9(0x261)](0x10))[_0x5a22c9(0x3ad)](_0x50cad4[_0x5a22c9(0x1c8)](_0x135983=>!_0x135983['getUnitId']()[_0x5a22c9(0x4a1)]('__')))['subscribe'](async _0x1dc96d=>{var _0x42045b=_0x5a22c9;const _0x507a74=_0x1dc96d[_0x42045b(0x44e)](),_0xdc1af9=await this[_0x42045b(0x2c8)](_0x507a74,_0x4e99ce[_0x42045b(0x3a8)]);this[_0x42045b(0x175)]['set'](_0x507a74,_0xdc1af9);}),_0x3dd64f[_0x5a22c9(0x373)](this['_univerInstanceService'][_0x5a22c9(0x438)](_0x31a84a[_0x5a22c9(0x2fc)]['UNIVER_SHEET']),this[_0x5a22c9(0x252)]['getTypeOfUnitDisposed$'](_0x31a84a[_0x5a22c9(0x2fc)][_0x5a22c9(0x3a8)]))[_0x5a22c9(0x3ad)](_0x3dd64f['takeUntil'](this[_0x5a22c9(0x1ac)]))[_0x5a22c9(0x3c3)](_0x1d314e=>{var _0x79e580=_0x5a22c9;const _0x3d8708=_0x1d314e[_0x79e580(0x44e)](),_0x545829=this[_0x79e580(0x175)][_0x79e580(0x173)](_0x3d8708);_0x545829&&(_0x545829[_0x79e580(0x21e)](),this[_0x79e580(0x175)][_0x79e580(0x2c5)](_0x3d8708));});}async['_startCollaboration'](_0x1ed313,_0x3e6bad){var _0x46b8d6=_0x1150fd;const _0x2669ae=await this[_0x46b8d6(0x352)][_0x46b8d6(0x4a7)](_0x1ed313),_0x1e4b8b=this[_0x46b8d6(0x208)][_0x46b8d6(0x1c6)](this['_getCtorByUniverType'](_0x3e6bad),_0x1ed313,_0x3e6bad,_0x2669ae);return await _0x1e4b8b[_0x46b8d6(0x227)](),this[_0x46b8d6(0x25c)][_0x46b8d6(0x2f2)](_0x1e4b8b),_0x1e4b8b;}[_0x1150fd(0x49b)](_0x73b05e){var _0x2b8ad5=_0x1150fd;switch(_0x73b05e){case _0x4e99ce[_0x2b8ad5(0x3a8)]:return _0xc0bd37['DocCollaborationEntity'];case _0x4e99ce[_0x2b8ad5(0x3d4)]:return _0xc0bd37['SheetCollaborationEntity'];default:throw new Error(_0x2b8ad5(0x361)+_0x73b05e);}}},_0xc0bd37[_0x1150fd(0x185)]=_0x2232a8([_0x4dfb52(0x0,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x388)])),_0x4dfb52(0x1,_0x31a84a[_0x1150fd(0x348)](_0xc0bd37[_0x1150fd(0x1b7)])),_0x4dfb52(0x2,_0x31a84a['IConfigService']),_0x4dfb52(0x3,_0x31a84a[_0x1150fd(0x32c)])],_0xc0bd37['CollaborationController']);var _0x11597c=Object[_0x1150fd(0x13b)],_0x102090=(_0x50a040,_0xe05832,_0x49fe8e,_0x1816f8)=>{for(var _0x431392=_0x1816f8>0x1?void 0x0:_0x1816f8?_0x11597c(_0xe05832,_0x49fe8e):_0xe05832,_0x726103=_0x50a040['length']-0x1,_0x2f6a7d;_0x726103>=0x0;_0x726103--)(_0x2f6a7d=_0x50a040[_0x726103])&&(_0x431392=_0x2f6a7d(_0x431392)||_0x431392);return _0x431392;},_0xfc9867=(_0x5a2c3d,_0x217211)=>(_0x1fce91,_0x4dbe87)=>_0x217211(_0x1fce91,_0x4dbe87,_0x5a2c3d);const _0x540d02=_0x1150fd(0x36a),_0x172c6e=_0x1150fd(0x201);let _0xc24684=class extends _0x31a84a[_0x1150fd(0x2e4)]{constructor(_0xe3932b,_0x2090ba){var _0x5afb28=_0x1150fd;super(),this[_0x5afb28(0x252)]=_0xe3932b,this[_0x5afb28(0x430)]=_0x2090ba,this[_0x5afb28(0x1a1)]();}['_init'](){var _0x32a9d6=_0x1150fd;this[_0x32a9d6(0x441)](this['_univerInstanceService'][_0x32a9d6(0x4cc)][_0x32a9d6(0x3c3)](()=>{var _0x41c08f=_0x32a9d6,_0x13e78d;const _0x18100d=this[_0x41c08f(0x252)][_0x41c08f(0x264)]();let _0x541661=(_0x13e78d=this[_0x41c08f(0x430)][_0x41c08f(0x16d)](_0x540d02))!=null?_0x13e78d:_0x172c6e;_0x18100d instanceof _0x31a84a[_0x41c08f(0x14f)]&&(_0x541661=_0x18100d[_0x41c08f(0x18c)]),document[_0x41c08f(0x174)]=_0x541661;}));}};_0xc24684=_0x102090([_0xfc9867(0x0,_0x31a84a[_0x1150fd(0x32c)]),_0xfc9867(0x1,_0x31a84a[_0x1150fd(0x13d)])],_0xc24684);var _0x3fa2f2=Object[_0x1150fd(0x13b)],_0x32fa38=(_0x8ff5fa,_0x45fcb2,_0x2bb09a,_0x9e733a)=>{var _0x1f82cd=_0x1150fd;for(var _0x9ff4dd=_0x9e733a>0x1?void 0x0:_0x9e733a?_0x3fa2f2(_0x45fcb2,_0x2bb09a):_0x45fcb2,_0x5cb5c2=_0x8ff5fa[_0x1f82cd(0x17d)]-0x1,_0x595ab9;_0x5cb5c2>=0x0;_0x5cb5c2--)(_0x595ab9=_0x8ff5fa[_0x5cb5c2])&&(_0x9ff4dd=_0x595ab9(_0x9ff4dd)||_0x9ff4dd);return _0x9ff4dd;},_0x395b07=(_0x479f5b,_0x56a1cc)=>(_0x196fe8,_0x348915)=>_0x56a1cc(_0x196fe8,_0x348915,_0x479f5b);let _0x288171=class{constructor(_0x5b5062,_0x5258d2,_0x4c12f1){var _0x47ede7=_0x1150fd;this[_0x47ede7(0x430)]=_0x5b5062,this[_0x47ede7(0x32f)]=_0x5258d2,this[_0x47ede7(0x3fb)]=_0x4c12f1,this[_0x47ede7(0x227)]();}['init'](){var _0x443884=_0x1150fd;this[_0x443884(0x32f)][_0x443884(0x1d1)]({'priority':0x1,'interceptor':(_0x17b6e3,_0x4f1e62)=>_0x4f1e62(_0x17b6e3)[_0x443884(0x3ad)](_0x3dd64f[_0x443884(0x17c)](async _0x17a75e=>{var _0x415cde=_0x443884;const _0x2c49e4=_0x17a75e;if(_0x2c49e4[_0x415cde(0x400)]===0x191){if(typeof window>'u')throw new Error(_0x415cde(0x16c));if(window[_0x415cde(0x272)](this[_0x415cde(0x3fb)]['t'](_0x415cde(0x40d)))){const _0x21925a=window[_0x415cde(0x26c)](window[_0x415cde(0x4a9)][_0x415cde(0x43a)]);window[_0x415cde(0x4a9)]['href']=this[_0x415cde(0x41a)]()+'?url='+_0x21925a;}}return _0x2c49e4;}))});}['_getLoginPath'](){var _0x1c1fd8=_0x1150fd,_0x16ff7d;const _0x38e4bd=this['_configService'][_0x1c1fd8(0x16d)](_0x4b13f9);return(_0x16ff7d=_0x38e4bd==null?void 0x0:_0x38e4bd['loginUrlKey'])!=null?_0x16ff7d:_0xf6df30;}};_0x288171=_0x32fa38([_0x395b07(0x0,_0x31a84a[_0x1150fd(0x13d)]),_0x395b07(0x1,_0x31a84a[_0x1150fd(0x348)](_0x53093c[_0x1150fd(0x4c8)])),_0x395b07(0x2,_0x31a84a['Inject'](_0x31a84a['LocaleService']))],_0x288171);var _0x1da60a=Object[_0x1150fd(0x13b)],_0x11e9dc=(_0x3446bf,_0x4f15a1,_0x52a053,_0x4b5ac0)=>{var _0x40f1ce=_0x1150fd;for(var _0x3b2b0c=_0x4b5ac0>0x1?void 0x0:_0x4b5ac0?_0x1da60a(_0x4f15a1,_0x52a053):_0x4f15a1,_0x11afde=_0x3446bf[_0x40f1ce(0x17d)]-0x1,_0x20a68e;_0x11afde>=0x0;_0x11afde--)(_0x20a68e=_0x3446bf[_0x11afde])&&(_0x3b2b0c=_0x20a68e(_0x3b2b0c)||_0x3b2b0c);return _0x3b2b0c;},_0x19dab2=(_0x271ef6,_0x561057)=>(_0x14487f,_0x1f1793)=>_0x561057(_0x14487f,_0x1f1793,_0x271ef6);const _0x1fd9b4=_0x1150fd(0x4b6);_0xc0bd37[_0x1150fd(0x479)]=class extends _0x31a84a[_0x1150fd(0x2e4)]{constructor(_0x202237,_0x4e334){var _0x1b69c3=_0x1150fd;super(),this['_HTTPService']=_0x202237,this[_0x1b69c3(0x430)]=_0x4e334,this['_initMergeInterceptor']();}[_0x1150fd(0x218)](){var _0x108e7f=_0x1150fd;const _0x15c382=this;this[_0x108e7f(0x441)](this['_HTTPService'][_0x108e7f(0x1d1)]({'priority':0x3e7,'interceptor':_0x53093c['MergeInterceptorFactory']({'isMatch'(_0x33bb16){var _0x375a00=_0x108e7f,_0x1cec5c;if(_0x33bb16['method']===_0x375a00(0x2e8)&&((_0x1cec5c=_0x33bb16[_0x375a00(0x4a8)])!=null&&_0x1cec5c[_0x375a00(0x166)])){const {objectID:_0x40cc51,objectType:_0x3368e4}=_0x33bb16[_0x375a00(0x4a8)]['body']||{};if(!_0x40cc51||_0x3368e4===void 0x0)return!0x1;const _0x230890=_0x15c382[_0x375a00(0x28a)]()+'/'+_0x3368e4+_0x375a00(0x408)+_0x40cc51+_0x375a00(0x40c);if(_0x33bb16[_0x375a00(0x159)]===_0x230890)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xf8bb4b){var _0x4f1561=_0x108e7f,_0x5645f8;return(_0x5645f8=_0xf8bb4b[_0x4f1561(0x4a8)])==null?void 0x0:_0x5645f8[_0x4f1561(0x166)];},'mergeParamsToRequest'(_0x32cc01,_0x4137f5){var _0xab4954=_0x108e7f;const _0x44f514=_0x15c382[_0xab4954(0x28a)]()+_0xab4954(0x288),_0x4d7d94=_0x32cc01[_0xab4954(0x1c9)]((_0x81eb78,_0x535485)=>{var _0x2ad34d=_0xab4954;const {unitID:_0x7d6113,objectID:_0x5d6e34,objectType:_0x1f24ab,actions:_0x2d5466}=_0x535485;return _0x81eb78[_0x7d6113]||(_0x81eb78[_0x7d6113]={}),_0x81eb78[_0x7d6113][_0x5d6e34]||(_0x81eb78[_0x7d6113][_0x5d6e34]={'objectID':_0x5d6e34,'objectType':_0x1f24ab,'actions':[]}),_0x81eb78[_0x7d6113][_0x5d6e34][_0x2ad34d(0x19b)]['push'](..._0x2d5466),_0x81eb78;},{}),_0x110986=[];for(const _0x42fbdc in _0x4d7d94)for(const _0x1dc5dc in _0x4d7d94[_0x42fbdc]){const {actions:_0x3f8d17,objectType:_0x2c1e28}=_0x4d7d94[_0x42fbdc][_0x1dc5dc],_0x4db98a=[...new Set(_0x3f8d17)];_0x110986[_0xab4954(0x356)]({'unitID':_0x42fbdc,'objectID':_0x1dc5dc,'objectType':_0x2c1e28,'actions':_0x4db98a});}return new _0x53093c['HTTPRequest']('POST',_0x44f514,{'headers':_0x4137f5['headers'],'withCredentials':_0x4137f5[_0xab4954(0x338)],'responseType':_0x4137f5[_0xab4954(0x3d8)],'body':{'requests':_0x110986}});}},{'distributeResult'(_0x2fce02,_0x4d8cee){const {objectActions:_0x5d7baa}=_0x2fce02;return _0x4d8cee['map'](_0x282a01=>{var _0x362f73=_0x1b3a;const {unitID:_0x1570da,objectID:_0x5ea549,actions:_0x599e11}=_0x282a01,_0x3f880a=_0x5d7baa[_0x362f73(0x465)](_0x2e0c86=>_0x2e0c86[_0x362f73(0x1bc)]===_0x1570da&&_0x2e0c86['objectID']===_0x5ea549),_0x396416=_0x599e11[_0x362f73(0x3fd)](_0x137739=>_0x3f880a==null?void 0x0:_0x3f880a[_0x362f73(0x19b)][_0x362f73(0x465)](_0x591932=>_0x591932[_0x362f73(0x37e)]===_0x137739))[_0x362f73(0x1c8)](_0x5a524e=>!!_0x5a524e);return{'config':_0x282a01,'result':{'actions':_0x396416,'error':_0x2fce02[_0x362f73(0x1f9)]}};});}})}));}[_0x1150fd(0x28a)](){var _0x307b33=_0x1150fd,_0x34aeab;const _0x48c047=this[_0x307b33(0x430)]['getConfig'](_0x4b13f9);return(_0x34aeab=_0x48c047==null?void 0x0:_0x48c047[_0x307b33(0x4a2)])!=null?_0x34aeab:_0x1fd9b4;}async[_0x1150fd(0x1f3)](_0x1fb21b){var _0x516314=_0x1150fd;const _0x383cf3=this[_0x516314(0x28a)]()+'/'+_0x1fb21b['objectType']+_0x516314(0x2b3);return(await this[_0x516314(0x2c2)][_0x516314(0x3e4)](_0x383cf3,{'body':_0x1fb21b}))[_0x516314(0x166)][_0x516314(0x14d)]||'';}async[_0x1150fd(0x407)](_0x304a80){var _0x14b95f=_0x1150fd;const _0x4b8aa9=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x14b95f(0x2c2)][_0x14b95f(0x3e4)](_0x4b8aa9,{'body':_0x304a80}))[_0x14b95f(0x166)][_0x14b95f(0x133)];}async[_0x1150fd(0x2dd)](_0x3f1b07){var _0x3e5e4d=_0x1150fd,_0x22280f,_0x32328f;const _0x2f80ce=this[_0x3e5e4d(0x28a)]()+'/'+_0x3f1b07['objectType']+_0x3e5e4d(0x408)+_0x3f1b07[_0x3e5e4d(0x14d)],_0x58d77b=await this['_HTTPService'][_0x3e5e4d(0x415)](_0x2f80ce,{'body':_0x3f1b07});if(((_0x32328f=(_0x22280f=_0x58d77b==null?void 0x0:_0x58d77b[_0x3e5e4d(0x166)])==null?void 0x0:_0x22280f['error'])==null?void 0x0:_0x32328f[_0x3e5e4d(0x3bf)])!==0x1)throw new Error(_0x3e5e4d(0x423));}async[_0x1150fd(0x1a0)](_0x1c214c){var _0x555dd8=_0x1150fd;const _0x18496b=this['_getAPIPrefixPath']()+'/'+_0x1c214c[_0x555dd8(0x13a)]+_0x555dd8(0x408)+_0x1c214c['objectID']+_0x555dd8(0x40c);return(await this[_0x555dd8(0x2c2)]['post'](_0x18496b,{'body':_0x1c214c}))[_0x555dd8(0x166)]['actions'];}async[_0x1150fd(0x468)](_0xc65e91){var _0x11a8c6=_0x1150fd;const _0xfbb638=this[_0x11a8c6(0x28a)]()+_0x11a8c6(0x288);return(await this['_HTTPService'][_0x11a8c6(0x3e4)](_0xfbb638,{'body':{'requests':_0xc65e91}}))[_0x11a8c6(0x166)][_0x11a8c6(0x1dc)];}async['listRoles'](_0x2d1cfd){var _0x23dabf=_0x1150fd;const _0x23ae58=this['_getAPIPrefixPath']()+'/'+_0x2d1cfd[_0x23dabf(0x13a)]+_0x23dabf(0x337),_0xc42e48=await this[_0x23dabf(0x2c2)][_0x23dabf(0x3e4)](_0x23ae58,{'body':_0x2d1cfd});return{'roles':_0xc42e48[_0x23dabf(0x166)][_0x23dabf(0x322)],'actions':_0xc42e48[_0x23dabf(0x166)][_0x23dabf(0x19b)]};}async[_0x1150fd(0x3ca)](_0x3a740c){var _0x447da3=_0x1150fd;const _0x37e562=this[_0x447da3(0x28a)]()+_0x447da3(0x243);await this[_0x447da3(0x2c2)][_0x447da3(0x2c5)](_0x37e562,{'params':{'collaboratorID':_0x3a740c['collaboratorID'],'objectID':_0x3a740c[_0x447da3(0x14d)],'unitID':_0x3a740c[_0x447da3(0x1bc)]}});}async[_0x1150fd(0x35d)](_0x24763b){var _0x3b3db1=_0x1150fd;const _0x4d1ea1=this[_0x3b3db1(0x28a)]()+_0x3b3db1(0x243);await this[_0x3b3db1(0x2c2)][_0x3b3db1(0x295)](_0x4d1ea1,{'body':_0x24763b});}async[_0x1150fd(0x37f)](_0x11f023){var _0x4b5373=_0x1150fd;const _0x368271=this['_getAPIPrefixPath']()+_0x4b5373(0x243);await this[_0x4b5373(0x2c2)]['post'](_0x368271,{'body':_0x11f023});}async[_0x1150fd(0x31c)](_0x4fe36e){var _0x268ea0=_0x1150fd;const _0x4f2a78=this[_0x268ea0(0x28a)]()+_0x268ea0(0x243);return(await this[_0x268ea0(0x2c2)][_0x268ea0(0x173)](_0x4f2a78,{'params':{'objectID':_0x4fe36e[_0x268ea0(0x14d)],'unitID':_0x4fe36e[_0x268ea0(0x1bc)]}}))['body'][_0x268ea0(0x23e)];}async['putCollaborators'](_0x40666b){var _0x22df30=_0x1150fd;const _0x397747=this[_0x22df30(0x28a)]()+_0x22df30(0x243);await this['_HTTPService'][_0x22df30(0x415)](_0x397747,{'body':_0x40666b});}},_0xc0bd37[_0x1150fd(0x479)]=_0x11e9dc([_0x19dab2(0x0,_0x31a84a[_0x1150fd(0x348)](_0x53093c[_0x1150fd(0x4c8)])),_0x19dab2(0x1,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x13d)]))],_0xc0bd37[_0x1150fd(0x479)]);var _0x30d7b6=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x513dad(_0x3ae57b){var _0x16ddfc=_0x1150fd;return _0x3ae57b&&_0x3ae57b['__esModule']&&Object[_0x16ddfc(0x279)][_0x16ddfc(0x2df)][_0x16ddfc(0x43f)](_0x3ae57b,_0x16ddfc(0x1ee))?_0x3ae57b[_0x16ddfc(0x1ee)]:_0x3ae57b;}var _0x5c6e22={'exports':{}};function _0xda4361(_0x56f8ef){var _0x1f350c=_0x1150fd;throw new Error(_0x1f350c(0x39f)+_0x56f8ef+_0x1f350c(0x1a7));}var _0x1fd6d6={'exports':{}},_0x54c121=_0x1fd6d6['exports'],_0x443858;function _0x114852(){return _0x443858||(_0x443858=0x1,function(_0x31e384,_0x51e17a){(function(_0x1de244,_0x21d0ae){var _0x4bef7f=_0x1b3a;_0x31e384[_0x4bef7f(0x204)]=_0x21d0ae();}(_0x54c121,function(){var _0x29728e=_0x29728e||function(_0x4c3d63,_0x192448){var _0x424fa9=_0x1b3a,_0x4af547;if(typeof window<'u'&&window[_0x424fa9(0x477)]&&(_0x4af547=window['crypto']),typeof self<'u'&&self[_0x424fa9(0x477)]&&(_0x4af547=self['crypto']),typeof globalThis<'u'&&globalThis[_0x424fa9(0x477)]&&(_0x4af547=globalThis[_0x424fa9(0x477)]),!_0x4af547&&typeof window<'u'&&window[_0x424fa9(0x2ae)]&&(_0x4af547=window[_0x424fa9(0x2ae)]),!_0x4af547&&typeof _0x30d7b6<'u'&&_0x30d7b6[_0x424fa9(0x477)]&&(_0x4af547=_0x30d7b6[_0x424fa9(0x477)]),!_0x4af547&&typeof _0xda4361==_0x424fa9(0x1e6))try{_0x4af547=require('crypto');}catch{}var _0xdda89=function(){var _0x395162=_0x424fa9;if(_0x4af547){if(typeof _0x4af547['getRandomValues']==_0x395162(0x1e6))try{return _0x4af547[_0x395162(0x14a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4af547[_0x395162(0x17a)]==_0x395162(0x1e6))try{return _0x4af547[_0x395162(0x17a)](0x4)[_0x395162(0x38a)]();}catch{}}throw new Error(_0x395162(0x324));},_0x2913ae=Object['create']||(function(){function _0x30ba17(){}return function(_0x3de14a){var _0xc4514=_0x1b3a,_0x183de2;return _0x30ba17[_0xc4514(0x279)]=_0x3de14a,_0x183de2=new _0x30ba17(),_0x30ba17['prototype']=null,_0x183de2;};}()),_0x41cefc={},_0x51dfff=_0x41cefc['lib']={},_0x4e2648=_0x51dfff[_0x424fa9(0x40f)]=(function(){return{'extend':function(_0x1070f0){var _0xabffc0=_0x1b3a,_0x59bf59=_0x2913ae(this);return _0x1070f0&&_0x59bf59[_0xabffc0(0x168)](_0x1070f0),(!_0x59bf59[_0xabffc0(0x2df)](_0xabffc0(0x227))||this['init']===_0x59bf59[_0xabffc0(0x227)])&&(_0x59bf59[_0xabffc0(0x227)]=function(){var _0x1b1065=_0xabffc0;_0x59bf59[_0x1b1065(0x221)][_0x1b1065(0x227)]['apply'](this,arguments);}),_0x59bf59['init'][_0xabffc0(0x279)]=_0x59bf59,_0x59bf59[_0xabffc0(0x221)]=this,_0x59bf59;},'create':function(){var _0x16746c=_0x1b3a,_0x1ce14a=this[_0x16746c(0x48d)]();return _0x1ce14a[_0x16746c(0x227)][_0x16746c(0x2e7)](_0x1ce14a,arguments),_0x1ce14a;},'init':function(){},'mixIn':function(_0x164f20){var _0x20be6e=_0x1b3a;for(var _0x585a25 in _0x164f20)_0x164f20['hasOwnProperty'](_0x585a25)&&(this[_0x585a25]=_0x164f20[_0x585a25]);_0x164f20[_0x20be6e(0x2df)](_0x20be6e(0x364))&&(this['toString']=_0x164f20[_0x20be6e(0x364)]);},'clone':function(){var _0x26ebfa=_0x1b3a;return this[_0x26ebfa(0x227)][_0x26ebfa(0x279)][_0x26ebfa(0x48d)](this);}};}()),_0x4759e6=_0x51dfff[_0x424fa9(0x291)]=_0x4e2648[_0x424fa9(0x48d)]({'init':function(_0x47963e,_0x19beb2){var _0x144911=_0x424fa9;_0x47963e=this[_0x144911(0x4c5)]=_0x47963e||[],_0x19beb2!=_0x192448?this['sigBytes']=_0x19beb2:this[_0x144911(0x3eb)]=_0x47963e[_0x144911(0x17d)]*0x4;},'toString':function(_0x5adf48){var _0x44222d=_0x424fa9;return(_0x5adf48||_0x425688)[_0x44222d(0x16b)](this);},'concat':function(_0x3ab95a){var _0x31b7a2=_0x424fa9,_0x2006a6=this[_0x31b7a2(0x4c5)],_0x2b4599=_0x3ab95a[_0x31b7a2(0x4c5)],_0x144f05=this[_0x31b7a2(0x3eb)],_0x206cb9=_0x3ab95a['sigBytes'];if(this[_0x31b7a2(0x250)](),_0x144f05%0x4)for(var _0x495c80=0x0;_0x495c80<_0x206cb9;_0x495c80++){var _0x41cd19=_0x2b4599[_0x495c80>>>0x2]>>>0x18-_0x495c80%0x4*0x8&0xff;_0x2006a6[_0x144f05+_0x495c80>>>0x2]|=_0x41cd19<<0x18-(_0x144f05+_0x495c80)%0x4*0x8;}else{for(var _0x254066=0x0;_0x254066<_0x206cb9;_0x254066+=0x4)_0x2006a6[_0x144f05+_0x254066>>>0x2]=_0x2b4599[_0x254066>>>0x2];}return this['sigBytes']+=_0x206cb9,this;},'clamp':function(){var _0x1bf682=_0x424fa9,_0x15b16e=this['words'],_0x323855=this[_0x1bf682(0x3eb)];_0x15b16e[_0x323855>>>0x2]&=0xffffffff<<0x20-_0x323855%0x4*0x8,_0x15b16e['length']=_0x4c3d63[_0x1bf682(0x1d0)](_0x323855/0x4);},'clone':function(){var _0x23d524=_0x424fa9,_0x129d31=_0x4e2648[_0x23d524(0x446)][_0x23d524(0x43f)](this);return _0x129d31[_0x23d524(0x4c5)]=this[_0x23d524(0x4c5)][_0x23d524(0x344)](0x0),_0x129d31;},'random':function(_0xe4dc03){var _0xe95071=_0x424fa9;for(var _0x3aa60a=[],_0x1b9173=0x0;_0x1b9173<_0xe4dc03;_0x1b9173+=0x4)_0x3aa60a['push'](_0xdda89());return new _0x4759e6[(_0xe95071(0x227))](_0x3aa60a,_0xe4dc03);}}),_0x1387a0=_0x41cefc[_0x424fa9(0x22a)]={},_0x425688=_0x1387a0[_0x424fa9(0x27d)]={'stringify':function(_0x57701e){var _0x4cd7f5=_0x424fa9;for(var _0xbfc590=_0x57701e[_0x4cd7f5(0x4c5)],_0x46ba5f=_0x57701e['sigBytes'],_0x29879d=[],_0x257180=0x0;_0x257180<_0x46ba5f;_0x257180++){var _0x1ee88c=_0xbfc590[_0x257180>>>0x2]>>>0x18-_0x257180%0x4*0x8&0xff;_0x29879d[_0x4cd7f5(0x356)]((_0x1ee88c>>>0x4)['toString'](0x10)),_0x29879d[_0x4cd7f5(0x356)]((_0x1ee88c&0xf)[_0x4cd7f5(0x364)](0x10));}return _0x29879d[_0x4cd7f5(0x34c)]('');},'parse':function(_0x568a88){var _0x3c970f=_0x424fa9;for(var _0xff1c08=_0x568a88[_0x3c970f(0x17d)],_0x48899b=[],_0x53b1cd=0x0;_0x53b1cd<_0xff1c08;_0x53b1cd+=0x2)_0x48899b[_0x53b1cd>>>0x3]|=parseInt(_0x568a88['substr'](_0x53b1cd,0x2),0x10)<<0x18-_0x53b1cd%0x8*0x4;return new _0x4759e6[(_0x3c970f(0x227))](_0x48899b,_0xff1c08/0x2);}},_0x4b4951=_0x1387a0[_0x424fa9(0x395)]={'stringify':function(_0x57bc11){var _0x566a5b=_0x424fa9;for(var _0x379c32=_0x57bc11['words'],_0x49b3c2=_0x57bc11[_0x566a5b(0x3eb)],_0x205b06=[],_0x294734=0x0;_0x294734<_0x49b3c2;_0x294734++){var _0xab0738=_0x379c32[_0x294734>>>0x2]>>>0x18-_0x294734%0x4*0x8&0xff;_0x205b06['push'](String[_0x566a5b(0x428)](_0xab0738));}return _0x205b06[_0x566a5b(0x34c)]('');},'parse':function(_0x276db6){var _0x2ce98d=_0x424fa9;for(var _0x3a2d0c=_0x276db6[_0x2ce98d(0x17d)],_0x35aaae=[],_0x32cb48=0x0;_0x32cb48<_0x3a2d0c;_0x32cb48++)_0x35aaae[_0x32cb48>>>0x2]|=(_0x276db6[_0x2ce98d(0x3be)](_0x32cb48)&0xff)<<0x18-_0x32cb48%0x4*0x8;return new _0x4759e6[(_0x2ce98d(0x227))](_0x35aaae,_0x3a2d0c);}},_0x18a757=_0x1387a0[_0x424fa9(0x323)]={'stringify':function(_0x165ccc){var _0x3966fe=_0x424fa9;try{return decodeURIComponent(escape(_0x4b4951[_0x3966fe(0x16b)](_0x165ccc)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x131e12){var _0x4f8420=_0x424fa9;return _0x4b4951[_0x4f8420(0x1f8)](unescape(encodeURIComponent(_0x131e12)));}},_0x242805=_0x51dfff[_0x424fa9(0x380)]=_0x4e2648[_0x424fa9(0x48d)]({'reset':function(){var _0x39699c=_0x424fa9;this[_0x39699c(0x452)]=new _0x4759e6[(_0x39699c(0x227))](),this[_0x39699c(0x4af)]=0x0;},'_append':function(_0x5e049c){var _0x5a9270=_0x424fa9;typeof _0x5e049c==_0x5a9270(0x3c2)&&(_0x5e049c=_0x18a757[_0x5a9270(0x1f8)](_0x5e049c)),this[_0x5a9270(0x452)]['concat'](_0x5e049c),this[_0x5a9270(0x4af)]+=_0x5e049c[_0x5a9270(0x3eb)];},'_process':function(_0x1c467e){var _0x4c82f8=_0x424fa9,_0x59a0ae,_0x4e57e=this[_0x4c82f8(0x452)],_0xd0ce16=_0x4e57e['words'],_0x3ad1c6=_0x4e57e[_0x4c82f8(0x3eb)],_0x198594=this[_0x4c82f8(0x1e3)],_0x4e99a6=_0x198594*0x4,_0x4b9c34=_0x3ad1c6/_0x4e99a6;_0x1c467e?_0x4b9c34=_0x4c3d63['ceil'](_0x4b9c34):_0x4b9c34=_0x4c3d63['max']((_0x4b9c34|0x0)-this[_0x4c82f8(0x311)],0x0);var _0xd03baf=_0x4b9c34*_0x198594,_0x225063=_0x4c3d63[_0x4c82f8(0x38d)](_0xd03baf*0x4,_0x3ad1c6);if(_0xd03baf){for(var _0x431942=0x0;_0x431942<_0xd03baf;_0x431942+=_0x198594)this[_0x4c82f8(0x3c1)](_0xd0ce16,_0x431942);_0x59a0ae=_0xd0ce16[_0x4c82f8(0x3f2)](0x0,_0xd03baf),_0x4e57e[_0x4c82f8(0x3eb)]-=_0x225063;}return new _0x4759e6[(_0x4c82f8(0x227))](_0x59a0ae,_0x225063);},'clone':function(){var _0x24d4d6=_0x424fa9,_0x4a06ea=_0x4e2648[_0x24d4d6(0x446)][_0x24d4d6(0x43f)](this);return _0x4a06ea[_0x24d4d6(0x452)]=this[_0x24d4d6(0x452)][_0x24d4d6(0x446)](),_0x4a06ea;},'_minBufferSize':0x0});_0x51dfff['Hasher']=_0x242805[_0x424fa9(0x48d)]({'cfg':_0x4e2648[_0x424fa9(0x48d)](),'init':function(_0x54ab1a){var _0x4ac995=_0x424fa9;this['cfg']=this[_0x4ac995(0x21a)][_0x4ac995(0x48d)](_0x54ab1a),this[_0x4ac995(0x30f)]();},'reset':function(){var _0x3c8b0a=_0x424fa9;_0x242805[_0x3c8b0a(0x30f)][_0x3c8b0a(0x43f)](this),this[_0x3c8b0a(0x358)]();},'update':function(_0xd98ee1){var _0x15306f=_0x424fa9;return this[_0x15306f(0x143)](_0xd98ee1),this[_0x15306f(0x213)](),this;},'finalize':function(_0xa58d23){var _0x4d7818=_0x424fa9;_0xa58d23&&this[_0x4d7818(0x143)](_0xa58d23);var _0x555b77=this['_doFinalize']();return _0x555b77;},'blockSize':0x10,'_createHelper':function(_0x47a719){return function(_0x1aed52,_0x4f73a3){return new _0x47a719['init'](_0x4f73a3)['finalize'](_0x1aed52);};},'_createHmacHelper':function(_0x74c846){return function(_0x3e0887,_0x290a5e){var _0xa6f945=_0x1b3a;return new _0x55a799[(_0xa6f945(0x44d))][(_0xa6f945(0x227))](_0x74c846,_0x290a5e)[_0xa6f945(0x440)](_0x3e0887);};}});var _0x55a799=_0x41cefc['algo']={};return _0x41cefc;}(Math);return _0x29728e;}));}(_0x1fd6d6)),_0x1fd6d6['exports'];}var _0x29dd8f={'exports':{}},_0xff34d1=_0x29dd8f[_0x1150fd(0x204)],_0x4997cc;function _0x54754a(){var _0xa61161=_0x1150fd;return _0x4997cc||(_0x4997cc=0x1,function(_0x3869b2,_0x21329b){(function(_0x23f1c5,_0x2d8263){_0x3869b2['exports']=_0x2d8263(_0x114852());}(_0xff34d1,function(_0x3c615d){var _0x1efa1b=_0x1b3a;return(function(){var _0x40a8a7=_0x1b3a,_0x5a5326=_0x3c615d,_0x17ac5a=_0x5a5326['lib'],_0x5314b0=_0x17ac5a[_0x40a8a7(0x291)],_0x58d728=_0x5a5326[_0x40a8a7(0x22a)];_0x58d728['Base64']={'stringify':function(_0x20c495){var _0x1aefc7=_0x40a8a7,_0x2126bd=_0x20c495[_0x1aefc7(0x4c5)],_0x2d2669=_0x20c495[_0x1aefc7(0x3eb)],_0x4342cc=this[_0x1aefc7(0x41b)];_0x20c495[_0x1aefc7(0x250)]();for(var _0x1c8d21=[],_0xfaf1d=0x0;_0xfaf1d<_0x2d2669;_0xfaf1d+=0x3)for(var _0x44b9a6=_0x2126bd[_0xfaf1d>>>0x2]>>>0x18-_0xfaf1d%0x4*0x8&0xff,_0x1983e8=_0x2126bd[_0xfaf1d+0x1>>>0x2]>>>0x18-(_0xfaf1d+0x1)%0x4*0x8&0xff,_0x50434a=_0x2126bd[_0xfaf1d+0x2>>>0x2]>>>0x18-(_0xfaf1d+0x2)%0x4*0x8&0xff,_0x2dd214=_0x44b9a6<<0x10|_0x1983e8<<0x8|_0x50434a,_0x5794ab=0x0;_0x5794ab<0x4&&_0xfaf1d+_0x5794ab*0.75<_0x2d2669;_0x5794ab++)_0x1c8d21[_0x1aefc7(0x356)](_0x4342cc[_0x1aefc7(0x212)](_0x2dd214>>>0x6*(0x3-_0x5794ab)&0x3f));var _0x56f2b6=_0x4342cc[_0x1aefc7(0x212)](0x40);if(_0x56f2b6){for(;_0x1c8d21['length']%0x4;)_0x1c8d21[_0x1aefc7(0x356)](_0x56f2b6);}return _0x1c8d21[_0x1aefc7(0x34c)]('');},'parse':function(_0xec8971){var _0x128037=_0x40a8a7,_0x4be485=_0xec8971['length'],_0x32d37f=this['_map'],_0x4d24c7=this[_0x128037(0x4b1)];if(!_0x4d24c7){_0x4d24c7=this['_reverseMap']=[];for(var _0x1f6fa7=0x0;_0x1f6fa7<_0x32d37f['length'];_0x1f6fa7++)_0x4d24c7[_0x32d37f['charCodeAt'](_0x1f6fa7)]=_0x1f6fa7;}var _0x36b8c1=_0x32d37f['charAt'](0x40);if(_0x36b8c1){var _0x33e6e3=_0xec8971[_0x128037(0x223)](_0x36b8c1);_0x33e6e3!==-0x1&&(_0x4be485=_0x33e6e3);}return _0x101e8d(_0xec8971,_0x4be485,_0x4d24c7);},'_map':_0x40a8a7(0x1d3)};function _0x101e8d(_0x348360,_0x2384b0,_0x53e0be){var _0x1f75df=_0x40a8a7;for(var _0xee55b0=[],_0x249f9c=0x0,_0x2a93b6=0x0;_0x2a93b6<_0x2384b0;_0x2a93b6++)if(_0x2a93b6%0x4){var _0x52b129=_0x53e0be[_0x348360[_0x1f75df(0x3be)](_0x2a93b6-0x1)]<<_0x2a93b6%0x4*0x2,_0x4cc5ce=_0x53e0be[_0x348360['charCodeAt'](_0x2a93b6)]>>>0x6-_0x2a93b6%0x4*0x2,_0x48401=_0x52b129|_0x4cc5ce;_0xee55b0[_0x249f9c>>>0x2]|=_0x48401<<0x18-_0x249f9c%0x4*0x8,_0x249f9c++;}return _0x5314b0[_0x1f75df(0x1f3)](_0xee55b0,_0x249f9c);}}()),_0x3c615d[_0x1efa1b(0x22a)]['Base64'];}));}(_0x29dd8f)),_0x29dd8f[_0xa61161(0x204)];}var _0x31711f={'exports':{}},_0x206c23=_0x31711f[_0x1150fd(0x204)],_0x37cb61;function _0x2aa1d2(){var _0x254e02=_0x1150fd;return _0x37cb61||(_0x37cb61=0x1,function(_0x2944ff,_0xdb01b){(function(_0x2b31be,_0x2f05b5){_0x2944ff['exports']=_0x2f05b5(_0x114852());}(_0x206c23,function(_0xc1ebb0){var _0x3fedd4=_0x1b3a;return function(_0x1b080b){var _0xa4cfb4=_0x1b3a,_0x2f0049=_0xc1ebb0,_0x1fe674=_0x2f0049['lib'],_0x4b7669=_0x1fe674[_0xa4cfb4(0x291)],_0x13bb10=_0x1fe674['Hasher'],_0x479859=_0x2f0049[_0xa4cfb4(0x1da)],_0x2cb50d=[];(function(){var _0x3421ea=_0xa4cfb4;for(var _0x49e7d3=0x0;_0x49e7d3<0x40;_0x49e7d3++)_0x2cb50d[_0x49e7d3]=_0x1b080b[_0x3421ea(0x292)](_0x1b080b[_0x3421ea(0x33d)](_0x49e7d3+0x1))*0x100000000|0x0;}());var _0x383163=_0x479859[_0xa4cfb4(0x228)]=_0x13bb10['extend']({'_doReset':function(){var _0x580fd0=_0xa4cfb4;this[_0x580fd0(0x2d7)]=new _0x4b7669[(_0x580fd0(0x227))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x22a31c,_0x482313){var _0x390c21=_0xa4cfb4;for(var _0x5c2ec6=0x0;_0x5c2ec6<0x10;_0x5c2ec6++){var _0x42135f=_0x482313+_0x5c2ec6,_0x943335=_0x22a31c[_0x42135f];_0x22a31c[_0x42135f]=(_0x943335<<0x8|_0x943335>>>0x18)&0xff00ff|(_0x943335<<0x18|_0x943335>>>0x8)&0xff00ff00;}var _0x5caff0=this[_0x390c21(0x2d7)][_0x390c21(0x4c5)],_0x549f9f=_0x22a31c[_0x482313+0x0],_0x45e02b=_0x22a31c[_0x482313+0x1],_0x510c33=_0x22a31c[_0x482313+0x2],_0x247f13=_0x22a31c[_0x482313+0x3],_0x46abb9=_0x22a31c[_0x482313+0x4],_0x3f2c79=_0x22a31c[_0x482313+0x5],_0x376459=_0x22a31c[_0x482313+0x6],_0x29edb1=_0x22a31c[_0x482313+0x7],_0x572b52=_0x22a31c[_0x482313+0x8],_0x1c7291=_0x22a31c[_0x482313+0x9],_0x2843ba=_0x22a31c[_0x482313+0xa],_0x2b4bd0=_0x22a31c[_0x482313+0xb],_0x1e42ad=_0x22a31c[_0x482313+0xc],_0xe56c7e=_0x22a31c[_0x482313+0xd],_0x8868a3=_0x22a31c[_0x482313+0xe],_0x343ff1=_0x22a31c[_0x482313+0xf],_0x215052=_0x5caff0[0x0],_0x3c7b74=_0x5caff0[0x1],_0x107377=_0x5caff0[0x2],_0x5601bd=_0x5caff0[0x3];_0x215052=_0x41069f(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x549f9f,0x7,_0x2cb50d[0x0]),_0x5601bd=_0x41069f(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x45e02b,0xc,_0x2cb50d[0x1]),_0x107377=_0x41069f(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x510c33,0x11,_0x2cb50d[0x2]),_0x3c7b74=_0x41069f(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x247f13,0x16,_0x2cb50d[0x3]),_0x215052=_0x41069f(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x46abb9,0x7,_0x2cb50d[0x4]),_0x5601bd=_0x41069f(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x3f2c79,0xc,_0x2cb50d[0x5]),_0x107377=_0x41069f(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x376459,0x11,_0x2cb50d[0x6]),_0x3c7b74=_0x41069f(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x29edb1,0x16,_0x2cb50d[0x7]),_0x215052=_0x41069f(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x572b52,0x7,_0x2cb50d[0x8]),_0x5601bd=_0x41069f(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x1c7291,0xc,_0x2cb50d[0x9]),_0x107377=_0x41069f(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x2843ba,0x11,_0x2cb50d[0xa]),_0x3c7b74=_0x41069f(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x2b4bd0,0x16,_0x2cb50d[0xb]),_0x215052=_0x41069f(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x1e42ad,0x7,_0x2cb50d[0xc]),_0x5601bd=_0x41069f(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0xe56c7e,0xc,_0x2cb50d[0xd]),_0x107377=_0x41069f(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x8868a3,0x11,_0x2cb50d[0xe]),_0x3c7b74=_0x41069f(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x343ff1,0x16,_0x2cb50d[0xf]),_0x215052=_0x508064(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x45e02b,0x5,_0x2cb50d[0x10]),_0x5601bd=_0x508064(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x376459,0x9,_0x2cb50d[0x11]),_0x107377=_0x508064(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x2b4bd0,0xe,_0x2cb50d[0x12]),_0x3c7b74=_0x508064(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x549f9f,0x14,_0x2cb50d[0x13]),_0x215052=_0x508064(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x3f2c79,0x5,_0x2cb50d[0x14]),_0x5601bd=_0x508064(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x2843ba,0x9,_0x2cb50d[0x15]),_0x107377=_0x508064(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x343ff1,0xe,_0x2cb50d[0x16]),_0x3c7b74=_0x508064(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x46abb9,0x14,_0x2cb50d[0x17]),_0x215052=_0x508064(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x1c7291,0x5,_0x2cb50d[0x18]),_0x5601bd=_0x508064(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x8868a3,0x9,_0x2cb50d[0x19]),_0x107377=_0x508064(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x247f13,0xe,_0x2cb50d[0x1a]),_0x3c7b74=_0x508064(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x572b52,0x14,_0x2cb50d[0x1b]),_0x215052=_0x508064(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0xe56c7e,0x5,_0x2cb50d[0x1c]),_0x5601bd=_0x508064(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x510c33,0x9,_0x2cb50d[0x1d]),_0x107377=_0x508064(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x29edb1,0xe,_0x2cb50d[0x1e]),_0x3c7b74=_0x508064(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x1e42ad,0x14,_0x2cb50d[0x1f]),_0x215052=_0x3dbc11(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x3f2c79,0x4,_0x2cb50d[0x20]),_0x5601bd=_0x3dbc11(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x572b52,0xb,_0x2cb50d[0x21]),_0x107377=_0x3dbc11(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x2b4bd0,0x10,_0x2cb50d[0x22]),_0x3c7b74=_0x3dbc11(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x8868a3,0x17,_0x2cb50d[0x23]),_0x215052=_0x3dbc11(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x45e02b,0x4,_0x2cb50d[0x24]),_0x5601bd=_0x3dbc11(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x46abb9,0xb,_0x2cb50d[0x25]),_0x107377=_0x3dbc11(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x29edb1,0x10,_0x2cb50d[0x26]),_0x3c7b74=_0x3dbc11(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x2843ba,0x17,_0x2cb50d[0x27]),_0x215052=_0x3dbc11(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0xe56c7e,0x4,_0x2cb50d[0x28]),_0x5601bd=_0x3dbc11(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x549f9f,0xb,_0x2cb50d[0x29]),_0x107377=_0x3dbc11(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x247f13,0x10,_0x2cb50d[0x2a]),_0x3c7b74=_0x3dbc11(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x376459,0x17,_0x2cb50d[0x2b]),_0x215052=_0x3dbc11(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x1c7291,0x4,_0x2cb50d[0x2c]),_0x5601bd=_0x3dbc11(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x1e42ad,0xb,_0x2cb50d[0x2d]),_0x107377=_0x3dbc11(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x343ff1,0x10,_0x2cb50d[0x2e]),_0x3c7b74=_0x3dbc11(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x510c33,0x17,_0x2cb50d[0x2f]),_0x215052=_0x260afc(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x549f9f,0x6,_0x2cb50d[0x30]),_0x5601bd=_0x260afc(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x29edb1,0xa,_0x2cb50d[0x31]),_0x107377=_0x260afc(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x8868a3,0xf,_0x2cb50d[0x32]),_0x3c7b74=_0x260afc(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x3f2c79,0x15,_0x2cb50d[0x33]),_0x215052=_0x260afc(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x1e42ad,0x6,_0x2cb50d[0x34]),_0x5601bd=_0x260afc(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x247f13,0xa,_0x2cb50d[0x35]),_0x107377=_0x260afc(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x2843ba,0xf,_0x2cb50d[0x36]),_0x3c7b74=_0x260afc(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x45e02b,0x15,_0x2cb50d[0x37]),_0x215052=_0x260afc(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x572b52,0x6,_0x2cb50d[0x38]),_0x5601bd=_0x260afc(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x343ff1,0xa,_0x2cb50d[0x39]),_0x107377=_0x260afc(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x376459,0xf,_0x2cb50d[0x3a]),_0x3c7b74=_0x260afc(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0xe56c7e,0x15,_0x2cb50d[0x3b]),_0x215052=_0x260afc(_0x215052,_0x3c7b74,_0x107377,_0x5601bd,_0x46abb9,0x6,_0x2cb50d[0x3c]),_0x5601bd=_0x260afc(_0x5601bd,_0x215052,_0x3c7b74,_0x107377,_0x2b4bd0,0xa,_0x2cb50d[0x3d]),_0x107377=_0x260afc(_0x107377,_0x5601bd,_0x215052,_0x3c7b74,_0x510c33,0xf,_0x2cb50d[0x3e]),_0x3c7b74=_0x260afc(_0x3c7b74,_0x107377,_0x5601bd,_0x215052,_0x1c7291,0x15,_0x2cb50d[0x3f]),_0x5caff0[0x0]=_0x5caff0[0x0]+_0x215052|0x0,_0x5caff0[0x1]=_0x5caff0[0x1]+_0x3c7b74|0x0,_0x5caff0[0x2]=_0x5caff0[0x2]+_0x107377|0x0,_0x5caff0[0x3]=_0x5caff0[0x3]+_0x5601bd|0x0;},'_doFinalize':function(){var _0x8f278d=_0xa4cfb4,_0x38e719=this['_data'],_0x1129c6=_0x38e719[_0x8f278d(0x4c5)],_0x2322bb=this[_0x8f278d(0x4af)]*0x8,_0xde88d1=_0x38e719[_0x8f278d(0x3eb)]*0x8;_0x1129c6[_0xde88d1>>>0x5]|=0x80<<0x18-_0xde88d1%0x20;var _0x4be8b0=_0x1b080b[_0x8f278d(0x1c7)](_0x2322bb/0x100000000),_0xae5099=_0x2322bb;_0x1129c6[(_0xde88d1+0x40>>>0x9<<0x4)+0xf]=(_0x4be8b0<<0x8|_0x4be8b0>>>0x18)&0xff00ff|(_0x4be8b0<<0x18|_0x4be8b0>>>0x8)&0xff00ff00,_0x1129c6[(_0xde88d1+0x40>>>0x9<<0x4)+0xe]=(_0xae5099<<0x8|_0xae5099>>>0x18)&0xff00ff|(_0xae5099<<0x18|_0xae5099>>>0x8)&0xff00ff00,_0x38e719[_0x8f278d(0x3eb)]=(_0x1129c6['length']+0x1)*0x4,this['_process']();for(var _0x57df91=this[_0x8f278d(0x2d7)],_0x5991db=_0x57df91[_0x8f278d(0x4c5)],_0xca32e9=0x0;_0xca32e9<0x4;_0xca32e9++){var _0x4769da=_0x5991db[_0xca32e9];_0x5991db[_0xca32e9]=(_0x4769da<<0x8|_0x4769da>>>0x18)&0xff00ff|(_0x4769da<<0x18|_0x4769da>>>0x8)&0xff00ff00;}return _0x57df91;},'clone':function(){var _0x28df40=_0xa4cfb4,_0x2df7b6=_0x13bb10[_0x28df40(0x446)][_0x28df40(0x43f)](this);return _0x2df7b6['_hash']=this[_0x28df40(0x2d7)][_0x28df40(0x446)](),_0x2df7b6;}});function _0x41069f(_0x237792,_0x247e28,_0x3a5963,_0x5e8714,_0x3dc973,_0x2dfb70,_0x548d87){var _0x110ea1=_0x237792+(_0x247e28&_0x3a5963|~_0x247e28&_0x5e8714)+_0x3dc973+_0x548d87;return(_0x110ea1<<_0x2dfb70|_0x110ea1>>>0x20-_0x2dfb70)+_0x247e28;}function _0x508064(_0x8c0302,_0x22e9c5,_0x21d104,_0x6f2dc6,_0x5dd3a5,_0x11286e,_0x506281){var _0x315cd0=_0x8c0302+(_0x22e9c5&_0x6f2dc6|_0x21d104&~_0x6f2dc6)+_0x5dd3a5+_0x506281;return(_0x315cd0<<_0x11286e|_0x315cd0>>>0x20-_0x11286e)+_0x22e9c5;}function _0x3dbc11(_0x2113e9,_0x1f76e3,_0x1b814a,_0x2f69ac,_0x3a22a7,_0x643816,_0x56c244){var _0x37af69=_0x2113e9+(_0x1f76e3^_0x1b814a^_0x2f69ac)+_0x3a22a7+_0x56c244;return(_0x37af69<<_0x643816|_0x37af69>>>0x20-_0x643816)+_0x1f76e3;}function _0x260afc(_0x119a8e,_0x2a46bf,_0x3db72c,_0x4cb6c7,_0x18e540,_0x111d0e,_0x12a7ea){var _0x567a15=_0x119a8e+(_0x3db72c^(_0x2a46bf|~_0x4cb6c7))+_0x18e540+_0x12a7ea;return(_0x567a15<<_0x111d0e|_0x567a15>>>0x20-_0x111d0e)+_0x2a46bf;}_0x2f0049[_0xa4cfb4(0x228)]=_0x13bb10[_0xa4cfb4(0x23d)](_0x383163),_0x2f0049[_0xa4cfb4(0x38c)]=_0x13bb10[_0xa4cfb4(0x3df)](_0x383163);}(Math),_0xc1ebb0[_0x3fedd4(0x228)];}));}(_0x31711f)),_0x31711f[_0x254e02(0x204)];}var _0x35b9ba={'exports':{}},_0x280140={'exports':{}},_0x138dda=_0x280140[_0x1150fd(0x204)],_0xaba304;function _0xa9615(){var _0x5bbe43=_0x1150fd;return _0xaba304||(_0xaba304=0x1,function(_0x192a5e,_0x55fde8){(function(_0x4d74c5,_0x119621){var _0x3abd3c=_0x1b3a;_0x192a5e[_0x3abd3c(0x204)]=_0x119621(_0x114852());}(_0x138dda,function(_0x5c4265){return(function(){var _0x361364=_0x1b3a,_0x962095=_0x5c4265,_0x27b072=_0x962095[_0x361364(0x47f)],_0x18df45=_0x27b072[_0x361364(0x291)],_0x3e1f57=_0x27b072['Hasher'],_0x5d59b6=_0x962095[_0x361364(0x1da)],_0x37c72e=[],_0x45b22e=_0x5d59b6[_0x361364(0x386)]=_0x3e1f57[_0x361364(0x48d)]({'_doReset':function(){var _0x18a0ed=_0x361364;this[_0x18a0ed(0x2d7)]=new _0x18df45[(_0x18a0ed(0x227))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2670ed,_0x4003d9){for(var _0x241c7f=this['_hash']['words'],_0x5ce944=_0x241c7f[0x0],_0x36207b=_0x241c7f[0x1],_0x8276d6=_0x241c7f[0x2],_0x351296=_0x241c7f[0x3],_0x3f819b=_0x241c7f[0x4],_0x12c3d0=0x0;_0x12c3d0<0x50;_0x12c3d0++){if(_0x12c3d0<0x10)_0x37c72e[_0x12c3d0]=_0x2670ed[_0x4003d9+_0x12c3d0]|0x0;else{var _0x3b5cdf=_0x37c72e[_0x12c3d0-0x3]^_0x37c72e[_0x12c3d0-0x8]^_0x37c72e[_0x12c3d0-0xe]^_0x37c72e[_0x12c3d0-0x10];_0x37c72e[_0x12c3d0]=_0x3b5cdf<<0x1|_0x3b5cdf>>>0x1f;}var _0x563100=(_0x5ce944<<0x5|_0x5ce944>>>0x1b)+_0x3f819b+_0x37c72e[_0x12c3d0];_0x12c3d0<0x14?_0x563100+=(_0x36207b&_0x8276d6|~_0x36207b&_0x351296)+0x5a827999:_0x12c3d0<0x28?_0x563100+=(_0x36207b^_0x8276d6^_0x351296)+0x6ed9eba1:_0x12c3d0<0x3c?_0x563100+=(_0x36207b&_0x8276d6|_0x36207b&_0x351296|_0x8276d6&_0x351296)-0x70e44324:_0x563100+=(_0x36207b^_0x8276d6^_0x351296)-0x359d3e2a,_0x3f819b=_0x351296,_0x351296=_0x8276d6,_0x8276d6=_0x36207b<<0x1e|_0x36207b>>>0x2,_0x36207b=_0x5ce944,_0x5ce944=_0x563100;}_0x241c7f[0x0]=_0x241c7f[0x0]+_0x5ce944|0x0,_0x241c7f[0x1]=_0x241c7f[0x1]+_0x36207b|0x0,_0x241c7f[0x2]=_0x241c7f[0x2]+_0x8276d6|0x0,_0x241c7f[0x3]=_0x241c7f[0x3]+_0x351296|0x0,_0x241c7f[0x4]=_0x241c7f[0x4]+_0x3f819b|0x0;},'_doFinalize':function(){var _0x210343=_0x361364,_0x49b60e=this[_0x210343(0x452)],_0x4edc48=_0x49b60e['words'],_0x3e03ba=this[_0x210343(0x4af)]*0x8,_0x6b3ce6=_0x49b60e[_0x210343(0x3eb)]*0x8;return _0x4edc48[_0x6b3ce6>>>0x5]|=0x80<<0x18-_0x6b3ce6%0x20,_0x4edc48[(_0x6b3ce6+0x40>>>0x9<<0x4)+0xe]=Math[_0x210343(0x1c7)](_0x3e03ba/0x100000000),_0x4edc48[(_0x6b3ce6+0x40>>>0x9<<0x4)+0xf]=_0x3e03ba,_0x49b60e[_0x210343(0x3eb)]=_0x4edc48[_0x210343(0x17d)]*0x4,this[_0x210343(0x213)](),this['_hash'];},'clone':function(){var _0xabe342=_0x361364,_0x60c88f=_0x3e1f57[_0xabe342(0x446)][_0xabe342(0x43f)](this);return _0x60c88f[_0xabe342(0x2d7)]=this['_hash']['clone'](),_0x60c88f;}});_0x962095['SHA1']=_0x3e1f57[_0x361364(0x23d)](_0x45b22e),_0x962095['HmacSHA1']=_0x3e1f57[_0x361364(0x3df)](_0x45b22e);}()),_0x5c4265['SHA1'];}));}(_0x280140)),_0x280140[_0x5bbe43(0x204)];}var _0x5e52a4={'exports':{}},_0x3f7bfd=_0x5e52a4[_0x1150fd(0x204)],_0x12cde6;function _0x181f4b(){return _0x12cde6||(_0x12cde6=0x1,function(_0x52bd5e,_0x29ff00){(function(_0x10ceae,_0x17dace){_0x52bd5e['exports']=_0x17dace(_0x114852());}(_0x3f7bfd,function(_0x1a4836){(function(){var _0x11c444=_0x1b3a,_0x3a7724=_0x1a4836,_0x4c0d80=_0x3a7724[_0x11c444(0x47f)],_0x4d2bc2=_0x4c0d80['Base'],_0xf1f74c=_0x3a7724[_0x11c444(0x22a)],_0x5b0eae=_0xf1f74c[_0x11c444(0x323)],_0x364ec=_0x3a7724[_0x11c444(0x1da)];_0x364ec['HMAC']=_0x4d2bc2['extend']({'init':function(_0x5dfe13,_0x1e80c3){var _0x40b46a=_0x11c444;_0x5dfe13=this[_0x40b46a(0x40a)]=new _0x5dfe13['init'](),typeof _0x1e80c3==_0x40b46a(0x3c2)&&(_0x1e80c3=_0x5b0eae[_0x40b46a(0x1f8)](_0x1e80c3));var _0x396571=_0x5dfe13['blockSize'],_0x46e87b=_0x396571*0x4;_0x1e80c3[_0x40b46a(0x3eb)]>_0x46e87b&&(_0x1e80c3=_0x5dfe13[_0x40b46a(0x440)](_0x1e80c3)),_0x1e80c3[_0x40b46a(0x250)]();for(var _0x1108af=this[_0x40b46a(0x2f5)]=_0x1e80c3[_0x40b46a(0x446)](),_0x5cebcb=this[_0x40b46a(0x392)]=_0x1e80c3['clone'](),_0x25bcae=_0x1108af['words'],_0x1883f1=_0x5cebcb[_0x40b46a(0x4c5)],_0x350559=0x0;_0x350559<_0x396571;_0x350559++)_0x25bcae[_0x350559]^=0x5c5c5c5c,_0x1883f1[_0x350559]^=0x36363636;_0x1108af['sigBytes']=_0x5cebcb[_0x40b46a(0x3eb)]=_0x46e87b,this[_0x40b46a(0x30f)]();},'reset':function(){var _0x160c8d=_0x11c444,_0x247e23=this[_0x160c8d(0x40a)];_0x247e23[_0x160c8d(0x30f)](),_0x247e23[_0x160c8d(0x2dd)](this[_0x160c8d(0x392)]);},'update':function(_0x35317c){var _0x42efff=_0x11c444;return this[_0x42efff(0x40a)][_0x42efff(0x2dd)](_0x35317c),this;},'finalize':function(_0x83bb8e){var _0x342a6f=_0x11c444,_0x575687=this['_hasher'],_0x1c3f6f=_0x575687[_0x342a6f(0x440)](_0x83bb8e);_0x575687[_0x342a6f(0x30f)]();var _0x1b2297=_0x575687[_0x342a6f(0x440)](this[_0x342a6f(0x2f5)][_0x342a6f(0x446)]()[_0x342a6f(0x32e)](_0x1c3f6f));return _0x1b2297;}});}());}));}(_0x5e52a4)),_0x5e52a4['exports'];}var _0xec4ea0=_0x35b9ba[_0x1150fd(0x204)],_0x195c31;function _0x5276d4(){var _0x36a1eb=_0x1150fd;return _0x195c31||(_0x195c31=0x1,function(_0x2ea62f,_0x583bff){(function(_0x21f354,_0x2ed61f,_0xd3daaa){var _0xeb1474=_0x1b3a;_0x2ea62f[_0xeb1474(0x204)]=_0x2ed61f(_0x114852(),_0xa9615(),_0x181f4b());}(_0xec4ea0,function(_0x45444e){return(function(){var _0x11c26a=_0x1b3a,_0x3bb4fd=_0x45444e,_0xf2410f=_0x3bb4fd[_0x11c26a(0x47f)],_0x919ad6=_0xf2410f[_0x11c26a(0x40f)],_0xb07c02=_0xf2410f[_0x11c26a(0x291)],_0x5d9ae6=_0x3bb4fd[_0x11c26a(0x1da)],_0x4be03c=_0x5d9ae6[_0x11c26a(0x228)],_0x5118bc=_0x5d9ae6['EvpKDF']=_0x919ad6[_0x11c26a(0x48d)]({'cfg':_0x919ad6[_0x11c26a(0x48d)]({'keySize':0x80/0x20,'hasher':_0x4be03c,'iterations':0x1}),'init':function(_0x4e8e2f){var _0x145b6f=_0x11c26a;this[_0x145b6f(0x21a)]=this[_0x145b6f(0x21a)][_0x145b6f(0x48d)](_0x4e8e2f);},'compute':function(_0x25005a,_0x6c1266){var _0x46b801=_0x11c26a;for(var _0x1d680b,_0x388c18=this[_0x46b801(0x21a)],_0x223b92=_0x388c18[_0x46b801(0x3e3)][_0x46b801(0x1f3)](),_0xa05b46=_0xb07c02[_0x46b801(0x1f3)](),_0x121440=_0xa05b46[_0x46b801(0x4c5)],_0x2c23ef=_0x388c18[_0x46b801(0x274)],_0x39d815=_0x388c18[_0x46b801(0x230)];_0x121440[_0x46b801(0x17d)]<_0x2c23ef;){_0x1d680b&&_0x223b92[_0x46b801(0x2dd)](_0x1d680b),_0x1d680b=_0x223b92['update'](_0x25005a)[_0x46b801(0x440)](_0x6c1266),_0x223b92[_0x46b801(0x30f)]();for(var _0x9c2c73=0x1;_0x9c2c73<_0x39d815;_0x9c2c73++)_0x1d680b=_0x223b92['finalize'](_0x1d680b),_0x223b92['reset']();_0xa05b46[_0x46b801(0x32e)](_0x1d680b);}return _0xa05b46[_0x46b801(0x3eb)]=_0x2c23ef*0x4,_0xa05b46;}});_0x3bb4fd[_0x11c26a(0x2d2)]=function(_0x422147,_0xe2306b,_0x4d534c){var _0x4e4c47=_0x11c26a;return _0x5118bc['create'](_0x4d534c)[_0x4e4c47(0x434)](_0x422147,_0xe2306b);};}()),_0x45444e['EvpKDF'];}));}(_0x35b9ba)),_0x35b9ba[_0x36a1eb(0x204)];}var _0x3b1ec6={'exports':{}},_0x53e2e1=_0x3b1ec6[_0x1150fd(0x204)],_0x38274c;function _0x1931a3(){var _0x43b470=_0x1150fd;return _0x38274c||(_0x38274c=0x1,function(_0x1b8ea0,_0x45a74c){(function(_0x33f254,_0xe1caad,_0x2f68e7){var _0xaa632d=_0x1b3a;_0x1b8ea0[_0xaa632d(0x204)]=_0xe1caad(_0x114852(),_0x5276d4());}(_0x53e2e1,function(_0x1b578d){var _0x4039ac=_0x1b3a;_0x1b578d[_0x4039ac(0x47f)]['Cipher']||function(_0x23c2b4){var _0x28b0ed=_0x4039ac,_0x27f400=_0x1b578d,_0x368d68=_0x27f400[_0x28b0ed(0x47f)],_0x45c17c=_0x368d68[_0x28b0ed(0x40f)],_0x465213=_0x368d68[_0x28b0ed(0x291)],_0x11bfc2=_0x368d68[_0x28b0ed(0x380)],_0x1e199f=_0x27f400[_0x28b0ed(0x22a)];_0x1e199f[_0x28b0ed(0x323)];var _0x2f51ee=_0x1e199f[_0x28b0ed(0x20d)],_0x3a2d7a=_0x27f400[_0x28b0ed(0x1da)],_0x5f1ca3=_0x3a2d7a['EvpKDF'],_0x12944d=_0x368d68[_0x28b0ed(0x156)]=_0x11bfc2['extend']({'cfg':_0x45c17c[_0x28b0ed(0x48d)](),'createEncryptor':function(_0x20eb39,_0x2432e0){var _0xa2c565=_0x28b0ed;return this[_0xa2c565(0x1f3)](this[_0xa2c565(0x3dd)],_0x20eb39,_0x2432e0);},'createDecryptor':function(_0x1caec1,_0x440967){var _0x34b121=_0x28b0ed;return this[_0x34b121(0x1f3)](this[_0x34b121(0x1d8)],_0x1caec1,_0x440967);},'init':function(_0x237aa0,_0x397c76,_0x490271){var _0x29caea=_0x28b0ed;this[_0x29caea(0x21a)]=this[_0x29caea(0x21a)][_0x29caea(0x48d)](_0x490271),this['_xformMode']=_0x237aa0,this['_key']=_0x397c76,this[_0x29caea(0x30f)]();},'reset':function(){var _0x59b3d2=_0x28b0ed;_0x11bfc2[_0x59b3d2(0x30f)][_0x59b3d2(0x43f)](this),this['_doReset']();},'process':function(_0xcc91b6){var _0x3238b3=_0x28b0ed;return this[_0x3238b3(0x143)](_0xcc91b6),this[_0x3238b3(0x213)]();},'finalize':function(_0x19465f){var _0x4197bc=_0x28b0ed;_0x19465f&&this['_append'](_0x19465f);var _0x4f0a7b=this[_0x4197bc(0x31b)]();return _0x4f0a7b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4a1ad7(_0x553dd0){var _0x4157d2=_0x1b3a;return typeof _0x553dd0==_0x4157d2(0x3c2)?_0x172c12:_0x38a4c9;}return function(_0x39b834){return{'encrypt':function(_0x122679,_0x923955,_0x104e7a){var _0x3ef7e4=_0x1b3a;return _0x4a1ad7(_0x923955)[_0x3ef7e4(0x4cd)](_0x39b834,_0x122679,_0x923955,_0x104e7a);},'decrypt':function(_0x83668c,_0x1b3f8c,_0x6686f6){var _0x11afef=_0x1b3a;return _0x4a1ad7(_0x1b3f8c)[_0x11afef(0x1c0)](_0x39b834,_0x83668c,_0x1b3f8c,_0x6686f6);}};};}())});_0x368d68[_0x28b0ed(0x406)]=_0x12944d[_0x28b0ed(0x48d)]({'_doFinalize':function(){var _0x1aca6d=_0x28b0ed,_0xb660df=this[_0x1aca6d(0x213)](!0x0);return _0xb660df;},'blockSize':0x1});var _0x14f996=_0x27f400[_0x28b0ed(0x206)]={},_0x321132=_0x368d68[_0x28b0ed(0x13c)]=_0x45c17c['extend']({'createEncryptor':function(_0x7581b3,_0x27bc01){var _0x4d8f42=_0x28b0ed;return this[_0x4d8f42(0x325)][_0x4d8f42(0x1f3)](_0x7581b3,_0x27bc01);},'createDecryptor':function(_0x355a77,_0x2fd3b2){var _0xe4f6f6=_0x28b0ed;return this[_0xe4f6f6(0x21c)][_0xe4f6f6(0x1f3)](_0x355a77,_0x2fd3b2);},'init':function(_0x48d989,_0x11f0af){var _0x561c10=_0x28b0ed;this['_cipher']=_0x48d989,this[_0x561c10(0x2d4)]=_0x11f0af;}}),_0x28c0e5=_0x14f996[_0x28b0ed(0x151)]=(function(){var _0x8c3a5=_0x28b0ed,_0x2981de=_0x321132['extend']();_0x2981de[_0x8c3a5(0x325)]=_0x2981de[_0x8c3a5(0x48d)]({'processBlock':function(_0x2f2541,_0x5a18a3){var _0x273131=_0x8c3a5,_0x1438aa=this['_cipher'],_0x23cf9d=_0x1438aa['blockSize'];_0x50509f['call'](this,_0x2f2541,_0x5a18a3,_0x23cf9d),_0x1438aa['encryptBlock'](_0x2f2541,_0x5a18a3),this[_0x273131(0x3f9)]=_0x2f2541[_0x273131(0x344)](_0x5a18a3,_0x5a18a3+_0x23cf9d);}}),_0x2981de[_0x8c3a5(0x21c)]=_0x2981de[_0x8c3a5(0x48d)]({'processBlock':function(_0xc5ab79,_0x201841){var _0x1f6e65=_0x8c3a5,_0x43014c=this[_0x1f6e65(0x15d)],_0x4fccfb=_0x43014c['blockSize'],_0x2ca789=_0xc5ab79['slice'](_0x201841,_0x201841+_0x4fccfb);_0x43014c[_0x1f6e65(0x4bb)](_0xc5ab79,_0x201841),_0x50509f[_0x1f6e65(0x43f)](this,_0xc5ab79,_0x201841,_0x4fccfb),this[_0x1f6e65(0x3f9)]=_0x2ca789;}});function _0x50509f(_0x5e1bce,_0x1fda84,_0x7b504c){var _0x487dac=_0x8c3a5,_0x1c0b3d,_0x78e44c=this['_iv'];_0x78e44c?(_0x1c0b3d=_0x78e44c,this[_0x487dac(0x2d4)]=_0x23c2b4):_0x1c0b3d=this['_prevBlock'];for(var _0x30014d=0x0;_0x30014d<_0x7b504c;_0x30014d++)_0x5e1bce[_0x1fda84+_0x30014d]^=_0x1c0b3d[_0x30014d];}return _0x2981de;}()),_0x3f9721=_0x27f400[_0x28b0ed(0x3e9)]={},_0x6a97=_0x3f9721['Pkcs7']={'pad':function(_0x566e0a,_0x39b048){var _0x275788=_0x28b0ed;for(var _0x7af519=_0x39b048*0x4,_0x38bc9c=_0x7af519-_0x566e0a['sigBytes']%_0x7af519,_0x826009=_0x38bc9c<<0x18|_0x38bc9c<<0x10|_0x38bc9c<<0x8|_0x38bc9c,_0x1a68e5=[],_0x2ca406=0x0;_0x2ca406<_0x38bc9c;_0x2ca406+=0x4)_0x1a68e5['push'](_0x826009);var _0x1bde61=_0x465213[_0x275788(0x1f3)](_0x1a68e5,_0x38bc9c);_0x566e0a[_0x275788(0x32e)](_0x1bde61);},'unpad':function(_0x592905){var _0x47e5fb=_0x28b0ed,_0x36e8d9=_0x592905[_0x47e5fb(0x4c5)][_0x592905[_0x47e5fb(0x3eb)]-0x1>>>0x2]&0xff;_0x592905[_0x47e5fb(0x3eb)]-=_0x36e8d9;}};_0x368d68['BlockCipher']=_0x12944d['extend']({'cfg':_0x12944d['cfg']['extend']({'mode':_0x28c0e5,'padding':_0x6a97}),'reset':function(){var _0x177191=_0x28b0ed,_0x42e165;_0x12944d[_0x177191(0x30f)][_0x177191(0x43f)](this);var _0x174f58=this['cfg'],_0x23bc98=_0x174f58['iv'],_0x252640=_0x174f58[_0x177191(0x206)];this[_0x177191(0x333)]==this[_0x177191(0x3dd)]?_0x42e165=_0x252640['createEncryptor']:(_0x42e165=_0x252640[_0x177191(0x416)],this[_0x177191(0x311)]=0x1),this[_0x177191(0x17e)]&&this[_0x177191(0x17e)][_0x177191(0x3ac)]==_0x42e165?this['_mode'][_0x177191(0x227)](this,_0x23bc98&&_0x23bc98[_0x177191(0x4c5)]):(this[_0x177191(0x17e)]=_0x42e165['call'](_0x252640,this,_0x23bc98&&_0x23bc98[_0x177191(0x4c5)]),this[_0x177191(0x17e)][_0x177191(0x3ac)]=_0x42e165);},'_doProcessBlock':function(_0x35eb6d,_0x10806e){var _0x13f098=_0x28b0ed;this[_0x13f098(0x17e)][_0x13f098(0x3db)](_0x35eb6d,_0x10806e);},'_doFinalize':function(){var _0x47b9e6=_0x28b0ed,_0x1775d0,_0x51d1f1=this[_0x47b9e6(0x21a)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x51d1f1[_0x47b9e6(0x3e9)](this[_0x47b9e6(0x452)],this[_0x47b9e6(0x1e3)]),_0x1775d0=this[_0x47b9e6(0x213)](!0x0)):(_0x1775d0=this[_0x47b9e6(0x213)](!0x0),_0x51d1f1[_0x47b9e6(0x457)](_0x1775d0)),_0x1775d0;},'blockSize':0x80/0x20});var _0xaed3b8=_0x368d68[_0x28b0ed(0x4c1)]=_0x45c17c['extend']({'init':function(_0x24d58e){var _0xeb34a4=_0x28b0ed;this[_0xeb34a4(0x168)](_0x24d58e);},'toString':function(_0x52ca70){var _0x589172=_0x28b0ed;return(_0x52ca70||this[_0x589172(0x4b9)])['stringify'](this);}}),_0x339a8c=_0x27f400[_0x28b0ed(0x306)]={},_0x59aeda=_0x339a8c[_0x28b0ed(0x4be)]={'stringify':function(_0x3a003f){var _0x1bd27b=_0x28b0ed,_0x2f0bb5,_0x580f50=_0x3a003f[_0x1bd27b(0x1ea)],_0x475e00=_0x3a003f[_0x1bd27b(0x2f1)];return _0x475e00?_0x2f0bb5=_0x465213[_0x1bd27b(0x1f3)]([0x53616c74,0x65645f5f])['concat'](_0x475e00)['concat'](_0x580f50):_0x2f0bb5=_0x580f50,_0x2f0bb5[_0x1bd27b(0x364)](_0x2f51ee);},'parse':function(_0x413f77){var _0x2bd753=_0x28b0ed,_0xd13213,_0x3916b3=_0x2f51ee[_0x2bd753(0x1f8)](_0x413f77),_0x424405=_0x3916b3[_0x2bd753(0x4c5)];return _0x424405[0x0]==0x53616c74&&_0x424405[0x1]==0x65645f5f&&(_0xd13213=_0x465213['create'](_0x424405['slice'](0x2,0x4)),_0x424405['splice'](0x0,0x4),_0x3916b3[_0x2bd753(0x3eb)]-=0x10),_0xaed3b8['create']({'ciphertext':_0x3916b3,'salt':_0xd13213});}},_0x38a4c9=_0x368d68['SerializableCipher']=_0x45c17c[_0x28b0ed(0x48d)]({'cfg':_0x45c17c[_0x28b0ed(0x48d)]({'format':_0x59aeda}),'encrypt':function(_0x366a24,_0x1ef99a,_0x412dfc,_0x30d60b){var _0x4b5ed1=_0x28b0ed;_0x30d60b=this[_0x4b5ed1(0x21a)][_0x4b5ed1(0x48d)](_0x30d60b);var _0x51e639=_0x366a24[_0x4b5ed1(0x46d)](_0x412dfc,_0x30d60b),_0x22af1b=_0x51e639['finalize'](_0x1ef99a),_0x1c38aa=_0x51e639[_0x4b5ed1(0x21a)];return _0xaed3b8['create']({'ciphertext':_0x22af1b,'key':_0x412dfc,'iv':_0x1c38aa['iv'],'algorithm':_0x366a24,'mode':_0x1c38aa['mode'],'padding':_0x1c38aa[_0x4b5ed1(0x3c9)],'blockSize':_0x366a24[_0x4b5ed1(0x1e3)],'formatter':_0x30d60b[_0x4b5ed1(0x306)]});},'decrypt':function(_0x3a7b13,_0x6250d7,_0x2659fd,_0x1995b3){var _0x48213b=_0x28b0ed;_0x1995b3=this[_0x48213b(0x21a)][_0x48213b(0x48d)](_0x1995b3),_0x6250d7=this[_0x48213b(0x2e9)](_0x6250d7,_0x1995b3[_0x48213b(0x306)]);var _0x22a754=_0x3a7b13[_0x48213b(0x416)](_0x2659fd,_0x1995b3)[_0x48213b(0x440)](_0x6250d7[_0x48213b(0x1ea)]);return _0x22a754;},'_parse':function(_0x1dc7f5,_0x488774){var _0x25ea7b=_0x28b0ed;return typeof _0x1dc7f5==_0x25ea7b(0x3c2)?_0x488774[_0x25ea7b(0x1f8)](_0x1dc7f5,this):_0x1dc7f5;}}),_0x4fc7e3=_0x27f400['kdf']={},_0x151352=_0x4fc7e3[_0x28b0ed(0x4be)]={'execute':function(_0x5a2e91,_0x515a00,_0x26e13a,_0x5b4ce0,_0x2db479){var _0x4c846c=_0x28b0ed;if(_0x5b4ce0||(_0x5b4ce0=_0x465213[_0x4c846c(0x1b2)](0x40/0x8)),_0x2db479)var _0x1758df=_0x5f1ca3[_0x4c846c(0x1f3)]({'keySize':_0x515a00+_0x26e13a,'hasher':_0x2db479})['compute'](_0x5a2e91,_0x5b4ce0);else var _0x1758df=_0x5f1ca3[_0x4c846c(0x1f3)]({'keySize':_0x515a00+_0x26e13a})[_0x4c846c(0x434)](_0x5a2e91,_0x5b4ce0);var _0x39d66c=_0x465213[_0x4c846c(0x1f3)](_0x1758df[_0x4c846c(0x4c5)][_0x4c846c(0x344)](_0x515a00),_0x26e13a*0x4);return _0x1758df[_0x4c846c(0x3eb)]=_0x515a00*0x4,_0xaed3b8[_0x4c846c(0x1f3)]({'key':_0x1758df,'iv':_0x39d66c,'salt':_0x5b4ce0});}},_0x172c12=_0x368d68[_0x28b0ed(0x1bf)]=_0x38a4c9[_0x28b0ed(0x48d)]({'cfg':_0x38a4c9[_0x28b0ed(0x21a)][_0x28b0ed(0x48d)]({'kdf':_0x151352}),'encrypt':function(_0x716724,_0x31ca42,_0xecbd4,_0x23ffbf){var _0x200c32=_0x28b0ed;_0x23ffbf=this[_0x200c32(0x21a)][_0x200c32(0x48d)](_0x23ffbf);var _0x38eac2=_0x23ffbf[_0x200c32(0x15b)]['execute'](_0xecbd4,_0x716724[_0x200c32(0x274)],_0x716724['ivSize'],_0x23ffbf[_0x200c32(0x2f1)],_0x23ffbf[_0x200c32(0x3e3)]);_0x23ffbf['iv']=_0x38eac2['iv'];var _0x26ecb5=_0x38a4c9[_0x200c32(0x4cd)]['call'](this,_0x716724,_0x31ca42,_0x38eac2[_0x200c32(0x449)],_0x23ffbf);return _0x26ecb5[_0x200c32(0x168)](_0x38eac2),_0x26ecb5;},'decrypt':function(_0x336781,_0x16a286,_0x19430d,_0x2e19f7){var _0x48db81=_0x28b0ed;_0x2e19f7=this[_0x48db81(0x21a)][_0x48db81(0x48d)](_0x2e19f7),_0x16a286=this['_parse'](_0x16a286,_0x2e19f7['format']);var _0x3adc5b=_0x2e19f7[_0x48db81(0x15b)]['execute'](_0x19430d,_0x336781[_0x48db81(0x274)],_0x336781['ivSize'],_0x16a286['salt'],_0x2e19f7[_0x48db81(0x3e3)]);_0x2e19f7['iv']=_0x3adc5b['iv'];var _0x436b60=_0x38a4c9['decrypt'][_0x48db81(0x43f)](this,_0x336781,_0x16a286,_0x3adc5b['key'],_0x2e19f7);return _0x436b60;}});}();}));}(_0x3b1ec6)),_0x3b1ec6[_0x43b470(0x204)];}var _0x17dba9=_0x5c6e22[_0x1150fd(0x204)],_0x3aa339;function _0x3d50e0(){var _0x403e36=_0x1150fd;return _0x3aa339||(_0x3aa339=0x1,function(_0x35a2e2,_0x5cc1ea){(function(_0x35c4fe,_0x32da14,_0x211958){var _0x5bf370=_0x1b3a;_0x35a2e2[_0x5bf370(0x204)]=_0x32da14(_0x114852(),_0x54754a(),_0x2aa1d2(),_0x5276d4(),_0x1931a3());}(_0x17dba9,function(_0x1fe965){var _0x4e0b5a=_0x1b3a;return(function(){var _0x3a0ff5=_0x1b3a,_0x2dc2fd=_0x1fe965,_0x2f2cd1=_0x2dc2fd[_0x3a0ff5(0x47f)],_0x5e29e2=_0x2f2cd1[_0x3a0ff5(0x1c4)],_0x3f3335=_0x2dc2fd[_0x3a0ff5(0x1da)],_0x5a01c7=[],_0x46cffd=[],_0x51feb6=[],_0x2a03fb=[],_0xcedd49=[],_0x5b3ff3=[],_0x128bcd=[],_0x265f8a=[],_0x57c868=[],_0x375e8a=[];(function(){for(var _0x3abb30=[],_0x3c8907=0x0;_0x3c8907<0x100;_0x3c8907++)_0x3c8907<0x80?_0x3abb30[_0x3c8907]=_0x3c8907<<0x1:_0x3abb30[_0x3c8907]=_0x3c8907<<0x1^0x11b;for(var _0x113db3=0x0,_0x5da099=0x0,_0x3c8907=0x0;_0x3c8907<0x100;_0x3c8907++){var _0x129b32=_0x5da099^_0x5da099<<0x1^_0x5da099<<0x2^_0x5da099<<0x3^_0x5da099<<0x4;_0x129b32=_0x129b32>>>0x8^_0x129b32&0xff^0x63,_0x5a01c7[_0x113db3]=_0x129b32,_0x46cffd[_0x129b32]=_0x113db3;var _0x428ce1=_0x3abb30[_0x113db3],_0x105373=_0x3abb30[_0x428ce1],_0x4725f5=_0x3abb30[_0x105373],_0x3c76bc=_0x3abb30[_0x129b32]*0x101^_0x129b32*0x1010100;_0x51feb6[_0x113db3]=_0x3c76bc<<0x18|_0x3c76bc>>>0x8,_0x2a03fb[_0x113db3]=_0x3c76bc<<0x10|_0x3c76bc>>>0x10,_0xcedd49[_0x113db3]=_0x3c76bc<<0x8|_0x3c76bc>>>0x18,_0x5b3ff3[_0x113db3]=_0x3c76bc;var _0x3c76bc=_0x4725f5*0x1010101^_0x105373*0x10001^_0x428ce1*0x101^_0x113db3*0x1010100;_0x128bcd[_0x129b32]=_0x3c76bc<<0x18|_0x3c76bc>>>0x8,_0x265f8a[_0x129b32]=_0x3c76bc<<0x10|_0x3c76bc>>>0x10,_0x57c868[_0x129b32]=_0x3c76bc<<0x8|_0x3c76bc>>>0x18,_0x375e8a[_0x129b32]=_0x3c76bc,_0x113db3?(_0x113db3=_0x428ce1^_0x3abb30[_0x3abb30[_0x3abb30[_0x4725f5^_0x428ce1]]],_0x5da099^=_0x3abb30[_0x3abb30[_0x5da099]]):_0x113db3=_0x5da099=0x1;}}());var _0x5548bf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4cdded=_0x3f3335[_0x3a0ff5(0x1be)]=_0x5e29e2['extend']({'_doReset':function(){var _0x46e11f=_0x3a0ff5,_0x38a5df;if(!(this[_0x46e11f(0x3a7)]&&this[_0x46e11f(0x35b)]===this[_0x46e11f(0x42d)])){for(var _0x442d0c=this[_0x46e11f(0x35b)]=this[_0x46e11f(0x42d)],_0x3d1d8f=_0x442d0c['words'],_0x4e17c5=_0x442d0c[_0x46e11f(0x3eb)]/0x4,_0x1b32fd=this[_0x46e11f(0x3a7)]=_0x4e17c5+0x6,_0x1a372f=(_0x1b32fd+0x1)*0x4,_0x426502=this['_keySchedule']=[],_0x109247=0x0;_0x109247<_0x1a372f;_0x109247++)_0x109247<_0x4e17c5?_0x426502[_0x109247]=_0x3d1d8f[_0x109247]:(_0x38a5df=_0x426502[_0x109247-0x1],_0x109247%_0x4e17c5?_0x4e17c5>0x6&&_0x109247%_0x4e17c5==0x4&&(_0x38a5df=_0x5a01c7[_0x38a5df>>>0x18]<<0x18|_0x5a01c7[_0x38a5df>>>0x10&0xff]<<0x10|_0x5a01c7[_0x38a5df>>>0x8&0xff]<<0x8|_0x5a01c7[_0x38a5df&0xff]):(_0x38a5df=_0x38a5df<<0x8|_0x38a5df>>>0x18,_0x38a5df=_0x5a01c7[_0x38a5df>>>0x18]<<0x18|_0x5a01c7[_0x38a5df>>>0x10&0xff]<<0x10|_0x5a01c7[_0x38a5df>>>0x8&0xff]<<0x8|_0x5a01c7[_0x38a5df&0xff],_0x38a5df^=_0x5548bf[_0x109247/_0x4e17c5|0x0]<<0x18),_0x426502[_0x109247]=_0x426502[_0x109247-_0x4e17c5]^_0x38a5df);for(var _0x4e938e=this['_invKeySchedule']=[],_0x3d66af=0x0;_0x3d66af<_0x1a372f;_0x3d66af++){var _0x109247=_0x1a372f-_0x3d66af;if(_0x3d66af%0x4)var _0x38a5df=_0x426502[_0x109247];else var _0x38a5df=_0x426502[_0x109247-0x4];_0x3d66af<0x4||_0x109247<=0x4?_0x4e938e[_0x3d66af]=_0x38a5df:_0x4e938e[_0x3d66af]=_0x128bcd[_0x5a01c7[_0x38a5df>>>0x18]]^_0x265f8a[_0x5a01c7[_0x38a5df>>>0x10&0xff]]^_0x57c868[_0x5a01c7[_0x38a5df>>>0x8&0xff]]^_0x375e8a[_0x5a01c7[_0x38a5df&0xff]];}}},'encryptBlock':function(_0x5b475f,_0x4026f6){var _0x500b80=_0x3a0ff5;this[_0x500b80(0x3c8)](_0x5b475f,_0x4026f6,this[_0x500b80(0x194)],_0x51feb6,_0x2a03fb,_0xcedd49,_0x5b3ff3,_0x5a01c7);},'decryptBlock':function(_0x350b76,_0x5b317a){var _0x27ccb8=_0x350b76[_0x5b317a+0x1];_0x350b76[_0x5b317a+0x1]=_0x350b76[_0x5b317a+0x3],_0x350b76[_0x5b317a+0x3]=_0x27ccb8,this['_doCryptBlock'](_0x350b76,_0x5b317a,this['_invKeySchedule'],_0x128bcd,_0x265f8a,_0x57c868,_0x375e8a,_0x46cffd);var _0x27ccb8=_0x350b76[_0x5b317a+0x1];_0x350b76[_0x5b317a+0x1]=_0x350b76[_0x5b317a+0x3],_0x350b76[_0x5b317a+0x3]=_0x27ccb8;},'_doCryptBlock':function(_0xfe1c44,_0x506afa,_0x13db0e,_0x24e6cb,_0x49b69a,_0x2700db,_0x1955c7,_0x5cde26){var _0x4ba7d2=_0x3a0ff5;for(var _0x14eebe=this[_0x4ba7d2(0x3a7)],_0x4d7a10=_0xfe1c44[_0x506afa]^_0x13db0e[0x0],_0x15055b=_0xfe1c44[_0x506afa+0x1]^_0x13db0e[0x1],_0x16cc5f=_0xfe1c44[_0x506afa+0x2]^_0x13db0e[0x2],_0xf9932e=_0xfe1c44[_0x506afa+0x3]^_0x13db0e[0x3],_0x2a0a07=0x4,_0x494da8=0x1;_0x494da8<_0x14eebe;_0x494da8++){var _0x1588f0=_0x24e6cb[_0x4d7a10>>>0x18]^_0x49b69a[_0x15055b>>>0x10&0xff]^_0x2700db[_0x16cc5f>>>0x8&0xff]^_0x1955c7[_0xf9932e&0xff]^_0x13db0e[_0x2a0a07++],_0x2736a9=_0x24e6cb[_0x15055b>>>0x18]^_0x49b69a[_0x16cc5f>>>0x10&0xff]^_0x2700db[_0xf9932e>>>0x8&0xff]^_0x1955c7[_0x4d7a10&0xff]^_0x13db0e[_0x2a0a07++],_0x37ecaa=_0x24e6cb[_0x16cc5f>>>0x18]^_0x49b69a[_0xf9932e>>>0x10&0xff]^_0x2700db[_0x4d7a10>>>0x8&0xff]^_0x1955c7[_0x15055b&0xff]^_0x13db0e[_0x2a0a07++],_0x607c89=_0x24e6cb[_0xf9932e>>>0x18]^_0x49b69a[_0x4d7a10>>>0x10&0xff]^_0x2700db[_0x15055b>>>0x8&0xff]^_0x1955c7[_0x16cc5f&0xff]^_0x13db0e[_0x2a0a07++];_0x4d7a10=_0x1588f0,_0x15055b=_0x2736a9,_0x16cc5f=_0x37ecaa,_0xf9932e=_0x607c89;}var _0x1588f0=(_0x5cde26[_0x4d7a10>>>0x18]<<0x18|_0x5cde26[_0x15055b>>>0x10&0xff]<<0x10|_0x5cde26[_0x16cc5f>>>0x8&0xff]<<0x8|_0x5cde26[_0xf9932e&0xff])^_0x13db0e[_0x2a0a07++],_0x2736a9=(_0x5cde26[_0x15055b>>>0x18]<<0x18|_0x5cde26[_0x16cc5f>>>0x10&0xff]<<0x10|_0x5cde26[_0xf9932e>>>0x8&0xff]<<0x8|_0x5cde26[_0x4d7a10&0xff])^_0x13db0e[_0x2a0a07++],_0x37ecaa=(_0x5cde26[_0x16cc5f>>>0x18]<<0x18|_0x5cde26[_0xf9932e>>>0x10&0xff]<<0x10|_0x5cde26[_0x4d7a10>>>0x8&0xff]<<0x8|_0x5cde26[_0x15055b&0xff])^_0x13db0e[_0x2a0a07++],_0x607c89=(_0x5cde26[_0xf9932e>>>0x18]<<0x18|_0x5cde26[_0x4d7a10>>>0x10&0xff]<<0x10|_0x5cde26[_0x15055b>>>0x8&0xff]<<0x8|_0x5cde26[_0x16cc5f&0xff])^_0x13db0e[_0x2a0a07++];_0xfe1c44[_0x506afa]=_0x1588f0,_0xfe1c44[_0x506afa+0x1]=_0x2736a9,_0xfe1c44[_0x506afa+0x2]=_0x37ecaa,_0xfe1c44[_0x506afa+0x3]=_0x607c89;},'keySize':0x100/0x20});_0x2dc2fd[_0x3a0ff5(0x1be)]=_0x5e29e2['_createHelper'](_0x4cdded);}()),_0x1fe965[_0x4e0b5a(0x1be)];}));}(_0x5c6e22)),_0x5c6e22[_0x403e36(0x204)];}var _0x56c071=_0x3d50e0();const _0x34e1ca=_0x513dad(_0x56c071);var _0x692d15=_0x54754a();const _0x36f66a=_0x513dad(_0x692d15);var _0x136ed9={'exports':{}},_0x20190f=_0x136ed9['exports'],_0x204e07;function _0x47a6e2(){var _0x460358=_0x1150fd;return _0x204e07||(_0x204e07=0x1,function(_0x29f295,_0x4a2bc7){(function(_0x5a3641,_0x581fbc){_0x29f295['exports']=_0x581fbc(_0x114852());}(_0x20190f,function(_0x1a7d21){var _0x582a2b=_0x1b3a;return _0x1a7d21[_0x582a2b(0x22a)]['Utf8'];}));}(_0x136ed9)),_0x136ed9[_0x460358(0x204)];}var _0xd25787=_0x47a6e2();const _0x4c3a59=_0x513dad(_0xd25787);var _0x1a3825={'exports':{}},_0xc993c9=_0x1a3825[_0x1150fd(0x204)],_0x44ecf7;function _0x2bd3b6(){var _0x15ccf2=_0x1150fd;return _0x44ecf7||(_0x44ecf7=0x1,function(_0x112746,_0x347454){(function(_0x439a46,_0xaa673b){var _0x2fad7c=_0x1b3a;_0x112746[_0x2fad7c(0x204)]=_0xaa673b(_0x114852());}(_0xc993c9,function(_0x132270){return(function(){var _0x262d21=_0x1b3a;if(typeof ArrayBuffer==_0x262d21(0x1e6)){var _0x10e2ec=_0x132270,_0x2f6d0a=_0x10e2ec['lib'],_0x51bfc5=_0x2f6d0a[_0x262d21(0x291)],_0x149207=_0x51bfc5[_0x262d21(0x227)],_0x508e17=_0x51bfc5[_0x262d21(0x227)]=function(_0x109278){var _0x47f41a=_0x262d21;if(_0x109278 instanceof ArrayBuffer&&(_0x109278=new Uint8Array(_0x109278)),(_0x109278 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x109278 instanceof Uint8ClampedArray||_0x109278 instanceof Int16Array||_0x109278 instanceof Uint16Array||_0x109278 instanceof Int32Array||_0x109278 instanceof Uint32Array||_0x109278 instanceof Float32Array||_0x109278 instanceof Float64Array)&&(_0x109278=new Uint8Array(_0x109278[_0x47f41a(0x393)],_0x109278['byteOffset'],_0x109278[_0x47f41a(0x2b9)])),_0x109278 instanceof Uint8Array){for(var _0xd4e39d=_0x109278['byteLength'],_0x54f35c=[],_0x561fa0=0x0;_0x561fa0<_0xd4e39d;_0x561fa0++)_0x54f35c[_0x561fa0>>>0x2]|=_0x109278[_0x561fa0]<<0x18-_0x561fa0%0x4*0x8;_0x149207['call'](this,_0x54f35c,_0xd4e39d);}else _0x149207[_0x47f41a(0x2e7)](this,arguments);};_0x508e17[_0x262d21(0x279)]=_0x51bfc5;}}()),_0x132270['lib']['WordArray'];}));}(_0x1a3825)),_0x1a3825[_0x15ccf2(0x204)];}var _0x129bcf=_0x2bd3b6();const _0xcbe039=_0x513dad(_0x129bcf);var _0x2ff205={'exports':{}},_0xeb694b=_0x2ff205[_0x1150fd(0x204)],_0x336faf;function _0x2d2f5b(){return _0x336faf||(_0x336faf=0x1,function(_0x23025c,_0x52077e){(function(_0x535e5a,_0x4ad80b,_0x3432ce){var _0x393eb4=_0x1b3a;_0x23025c[_0x393eb4(0x204)]=_0x4ad80b(_0x114852(),_0x1931a3());}(_0xeb694b,function(_0x564b98){var _0x56378e=_0x1b3a;return _0x564b98['pad'][_0x56378e(0x1a3)]={'pad':function(){},'unpad':function(){}},_0x564b98['pad']['NoPadding'];}));}(_0x2ff205)),_0x2ff205['exports'];}var _0x4375dd=_0x2d2f5b();const _0x46de4a=_0x513dad(_0x4375dd);function _0x9bb655(_0x183712,_0x243197){var _0x33481e=_0x1150fd;const _0x18db19=_0x243197-_0x183712[_0x33481e(0x17d)]%_0x243197,_0x7b308b=String[_0x33481e(0x428)](_0x18db19)[_0x33481e(0x41f)](_0x18db19);return _0x183712+_0x7b308b;}function _0xefa371(_0x2b0470,_0x330020){var _0x529ebf=_0x1150fd;const _0x90f060=_0xcbe039[_0x529ebf(0x1b2)](0x10),_0xf9194c=_0x9bb655(_0x2b0470,0x10),_0x262809=_0x34e1ca[_0x529ebf(0x4cd)](_0x4c3a59[_0x529ebf(0x1f8)](_0xf9194c),_0x36f66a[_0x529ebf(0x1f8)](_0x330020),{'iv':_0x90f060,'padding':_0x46de4a});return _0x90f060['concat'](_0x262809['ciphertext'])[_0x529ebf(0x364)](_0x36f66a);}function _0x3f6be2(){var _0x4f7fd8=_0x1150fd;const _0x539ee0=_0x4d4a17['getGlobalObject']()[_0x4f7fd8(0x135)];if(_0x539ee0){const _0xc97c18={'time':Math[_0x4f7fd8(0x1c7)](Date['now']()/0x3e8),'domain':location['hostname']};return _0xefa371(JSON['stringify'](_0xc97c18),_0x539ee0);}}var _0x10fbac=Object[_0x1150fd(0x13b)],_0x274c01=(_0x4e7998,_0x564b85,_0x4e5fb9,_0x5235b0)=>{var _0x5a20b8=_0x1150fd;for(var _0x145ab1=_0x5235b0>0x1?void 0x0:_0x5235b0?_0x10fbac(_0x564b85,_0x4e5fb9):_0x564b85,_0x447d54=_0x4e7998[_0x5a20b8(0x17d)]-0x1,_0x50f433;_0x447d54>=0x0;_0x447d54--)(_0x50f433=_0x4e7998[_0x447d54])&&(_0x145ab1=_0x50f433(_0x145ab1)||_0x145ab1);return _0x145ab1;},_0x29963a=(_0x478d6a,_0x40ffcf)=>(_0x5e85aa,_0x344b5c)=>_0x40ffcf(_0x5e85aa,_0x344b5c,_0x478d6a);let _0x42a29d=class{constructor(_0x28fcf8){var _0x3136d8=_0x1150fd;this[_0x3136d8(0x32f)]=_0x28fcf8,this[_0x3136d8(0x302)]();}[_0x1150fd(0x302)](){var _0x4e8eb4=_0x1150fd;this[_0x4e8eb4(0x32f)]['registerHTTPInterceptor']({'interceptor':(_0x384b8d,_0x2d75de)=>{var _0x53eee1=_0x4e8eb4;const _0x58f5b6=_0x384b8d[_0x53eee1(0x3d2)],_0xed0e84=_0x3f6be2();return _0xed0e84&&_0x58f5b6[_0x53eee1(0x289)](_0x53eee1(0x1e1),_0xed0e84),_0x2d75de(_0x384b8d);}});}};_0x42a29d=_0x274c01([_0x29963a(0x0,_0x31a84a[_0x1150fd(0x348)](_0x53093c[_0x1150fd(0x4c8)]))],_0x42a29d);var _0x45e838=Object[_0x1150fd(0x13b)],_0x5097a7=(_0x3967aa,_0x3d7b1a,_0x2638fb,_0x5384cc)=>{for(var _0x2b5d62=_0x5384cc>0x1?void 0x0:_0x5384cc?_0x45e838(_0x3d7b1a,_0x2638fb):_0x3d7b1a,_0x2f7174=_0x3967aa['length']-0x1,_0x1133a7;_0x2f7174>=0x0;_0x2f7174--)(_0x1133a7=_0x3967aa[_0x2f7174])&&(_0x2b5d62=_0x1133a7(_0x2b5d62)||_0x2b5d62);return _0x2b5d62;},_0x512afa=(_0x14a5b3,_0x91141)=>(_0x34d340,_0x2a86c0)=>_0x91141(_0x34d340,_0x2a86c0,_0x14a5b3);_0xc0bd37[_0x1150fd(0x29e)]=class extends _0x31a84a[_0x1150fd(0x2be)]{constructor(_0xa68c1,_0xeb7a37,_0x2ad085){var _0x4146fe=_0x1150fd;super(),_0x516c5a(this,_0x4146fe(0x29a),new _0x3dd64f[(_0x4146fe(0x353))](null)),_0x516c5a(this,_0x4146fe(0x1d9),this[_0x4146fe(0x29a)][_0x4146fe(0x499)]()),(this[_0x4146fe(0x4b0)]=_0xa68c1,this[_0x4146fe(0x2c4)]=_0xeb7a37,this[_0x4146fe(0x2d5)]=_0x2ad085);}async[_0x1150fd(0x21d)](_0x14c2c9,_0x4561ff,_0x1e9997){var _0x2ec424=_0x1150fd;this[_0x2ec424(0x29a)]['next']({'unitId':_0x14c2c9,'type':_0x4561ff});let _0x52bd3b=null;switch(_0x4561ff){case _0x4e99ce[_0x2ec424(0x3d4)]:{_0x52bd3b=await this[_0x2ec424(0x2c4)][_0x2ec424(0x25f)](_0x14c2c9,_0x1e9997);break;}case _0x4e99ce['UNIVER_DOC']:{_0x52bd3b=await this['_snapshotService'][_0x2ec424(0x293)](_0x14c2c9,_0x1e9997);break;}default:{this[_0x2ec424(0x4b0)][_0x2ec424(0x1f9)](_0x2ec424(0x1fb),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x52bd3b;}async[_0x1150fd(0x179)](_0x1ffc4e,_0xcaf4b1,_0x4ef65f){var _0x40e1c2=_0x1150fd,_0x4f128b;this[_0x40e1c2(0x29a)][_0x40e1c2(0x2f2)]({'unitId':_0x1ffc4e,'type':_0xcaf4b1,'subUnitId':_0x4ef65f});let _0x3fc241=0x0;const _0x124b4a=await((_0x4f128b=this['_localCacheService'])==null?void 0x0:_0x4f128b[_0x40e1c2(0x296)](_0x1ffc4e));return _0x124b4a&&(_0x124b4a[_0x40e1c2(0x1d7)]||_0x124b4a[_0x40e1c2(0x22b)][_0x40e1c2(0x17d)]!==0x0)&&(_0x3fc241=_0x124b4a[_0x40e1c2(0x247)]),_0x3fc241===0x0&&this[_0x40e1c2(0x4b0)][_0x40e1c2(0x25b)](_0x40e1c2(0x1fb),_0x40e1c2(0x40e)),this[_0x40e1c2(0x21d)](_0x1ffc4e,_0xcaf4b1,_0x3fc241);}},_0xc0bd37['DataLoaderService']=_0x5097a7([_0x512afa(0x0,_0x31a84a[_0x1150fd(0x41e)]),_0x512afa(0x1,_0x31a84a[_0x1150fd(0x348)](_0x24336b['SnapshotService'])),_0x512afa(0x2,_0x31a84a[_0x1150fd(0x181)](_0x361671))],_0xc0bd37[_0x1150fd(0x29e)]);var _0x3405e4=Object[_0x1150fd(0x13b)],_0x276e8b=(_0x668849,_0x5f3661,_0x2c81af,_0x357f00)=>{var _0x3c5c39=_0x1150fd;for(var _0x396dd4=_0x357f00>0x1?void 0x0:_0x357f00?_0x3405e4(_0x5f3661,_0x2c81af):_0x5f3661,_0x2d4c4a=_0x668849[_0x3c5c39(0x17d)]-0x1,_0x13b2f3;_0x2d4c4a>=0x0;_0x2d4c4a--)(_0x13b2f3=_0x668849[_0x2d4c4a])&&(_0x396dd4=_0x13b2f3(_0x396dd4)||_0x396dd4);return _0x396dd4;},_0x27acb4=(_0x1f08e8,_0x47b63f)=>(_0x468438,_0x45c719)=>_0x47b63f(_0x468438,_0x45c719,_0x1f08e8);const _0x5f1906=[_0x1150fd(0x4d0),_0x1150fd(0x222),_0x1150fd(0x308),_0x1150fd(0x30e),_0x1150fd(0x148)],_0x443559=0x5*0x400*0x400,_0x3b478b=_0x1150fd(0x2ff),_0x47c485=_0x1150fd(0x3e2);_0xc0bd37['CollaborationImageIoService']=class{constructor(_0x4564f1,_0x5ee9a2,_0x3c97e7){var _0x35d376=_0x1150fd;_0x516c5a(this,_0x35d376(0x273),0x0),_0x516c5a(this,_0x35d376(0x17b),new _0x3dd64f[(_0x35d376(0x478))]()),_0x516c5a(this,'change$',this[_0x35d376(0x17b)]),_0x516c5a(this,'_imageSourceCache',new Map()),(this[_0x35d376(0x32f)]=_0x4564f1,this[_0x35d376(0x430)]=_0x5ee9a2,this['_univerInstanceService']=_0x3c97e7);}[_0x1150fd(0x197)](_0x358ee6){var _0x378fee=_0x1150fd;this[_0x378fee(0x273)]=_0x358ee6,this['_change$'][_0x378fee(0x2f2)](_0x358ee6);}[_0x1150fd(0x20c)](_0x113e6e,_0x3c6441){var _0x39137c=_0x1150fd;if(_0x3c6441===_0x213bba['ImageSourceType'][_0x39137c(0x2b1)]){const _0x133156=new Image();return _0x133156['src']=_0x113e6e,_0x133156;}return this[_0x39137c(0x3b3)][_0x39137c(0x173)](_0x113e6e);}[_0x1150fd(0x303)](_0x1a1706,_0x2715f4,_0x4aba19){var _0x440574=_0x1150fd;_0x2715f4===_0x213bba['ImageSourceType']['BASE64']||_0x4aba19==null||this['_imageSourceCache'][_0x440574(0x289)](_0x1a1706,_0x4aba19);}async['getImage'](_0x1e944a){var _0x4a4726=_0x1150fd;try{const _0x438add=this[_0x4a4726(0x182)](this[_0x4a4726(0x45b)](),''+_0x1e944a),_0x362f24=(await this[_0x4a4726(0x32f)][_0x4a4726(0x173)](_0x438add))['body'];if(_0x362f24[_0x4a4726(0x1f9)]&&_0x362f24['error']['code']===_0x492a24['OK']){const _0x129f7c=new URL(_0x362f24['url'],this[_0x4a4726(0x283)]())[_0x4a4726(0x364)]();return Promise[_0x4a4726(0x19d)](_0x129f7c);}return Promise[_0x4a4726(0x483)](_0x362f24[_0x4a4726(0x1f9)]);}catch(_0x1a4ec8){return Promise[_0x4a4726(0x483)](_0x1a4ec8);}}async[_0x1150fd(0x360)](_0x46c24c){var _0x592a00=_0x1150fd;let _0x52c4c6='';if(!_0x5f1906[_0x592a00(0x285)](_0x46c24c['type']))return this['_decreaseWaiting'](),Promise[_0x592a00(0x483)](new Error(_0x213bba['ImageUploadStatusType'][_0x592a00(0x33e)]));if(_0x46c24c[_0x592a00(0x34b)]>_0x443559)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x213bba[_0x592a00(0x244)][_0x592a00(0x231)]));try{const _0xfdac19=new FormData();_0xfdac19['append'](_0x592a00(0x139),_0x46c24c);const _0x4a65cf=this[_0x592a00(0x252)]['getFocusedUnit'](),_0x531b5c=_0x4a65cf==null?void 0x0:_0x4a65cf[_0x592a00(0x44e)]();if(!_0x531b5c)throw new Error('unitId\x20is\x20not\x20found');const _0x53a73c=this[_0x592a00(0x3a6)]()+'?size='+_0x46c24c['size']['toString']()+_0x592a00(0x47a)+_0x276b64[_0x592a00(0x480)]+_0x592a00(0x36b)+encodeURIComponent(_0x531b5c),_0x10e6b1={'body':_0xfdac19},_0x411151=(await this[_0x592a00(0x32f)][_0x592a00(0x3e4)](_0x53a73c,_0x10e6b1))[_0x592a00(0x166)];if(typeof _0x411151['FileId']!=_0x592a00(0x3c2))return this[_0x592a00(0x445)](),Promise[_0x592a00(0x483)](new Error(_0x213bba['ImageUploadStatusType'][_0x592a00(0x14e)]));_0x52c4c6=_0x411151[_0x592a00(0x443)];}catch{return this[_0x592a00(0x445)](),Promise[_0x592a00(0x483)](new Error(_0x213bba[_0x592a00(0x244)][_0x592a00(0x14e)]));}return new Promise((_0xc0cc99,_0x41b410)=>{var _0x49f5b6=_0x592a00;const _0x39db54=new FileReader();_0x39db54[_0x49f5b6(0x1de)](_0x46c24c),_0x39db54[_0x49f5b6(0x188)]=_0x11744f=>{var _0x13ebfc=_0x49f5b6,_0x7b4d9c;const _0x4b27bd=(_0x7b4d9c=_0x11744f['target'])==null?void 0x0:_0x7b4d9c[_0x13ebfc(0x347)];if(_0x4b27bd==null){this['_decreaseWaiting'](),_0x41b410(new Error(_0x213bba['ImageUploadStatusType'][_0x13ebfc(0x14e)]));return;}const _0x75c753=_0x31a84a[_0x13ebfc(0x3bd)](0x6);_0xc0cc99({'imageId':_0x75c753,'imageSourceType':_0x213bba[_0x13ebfc(0x277)][_0x13ebfc(0x3da)],'source':_0x52c4c6,'base64Cache':_0x4b27bd,'status':_0x213bba[_0x13ebfc(0x244)][_0x13ebfc(0x42c)]}),this[_0x13ebfc(0x445)]();};});}['_getUploadFileURL'](){var _0x221dbb=_0x1150fd,_0x353228;const _0x16bf25=this[_0x221dbb(0x430)][_0x221dbb(0x16d)](_0x4b13f9);return(_0x353228=_0x16bf25==null?void 0x0:_0x16bf25[_0x221dbb(0x485)])!=null?_0x353228:_0x3b478b;}[_0x1150fd(0x45b)](){var _0x1eac67=_0x1150fd,_0x47fe78;const _0x5c2c6d=this[_0x1eac67(0x430)][_0x1eac67(0x16d)](_0x4b13f9);return(_0x47fe78=_0x5c2c6d==null?void 0x0:_0x5c2c6d[_0x1eac67(0x4d1)])!=null?_0x47fe78:_0x47c485;}[_0x1150fd(0x283)](){var _0x24d8fb=_0x1150fd,_0x972240;const _0x4d797b=this[_0x24d8fb(0x430)][_0x24d8fb(0x16d)](_0x4b13f9);return(_0x972240=_0x4d797b==null?void 0x0:_0x4d797b['downloadEndpointUrl'])!=null?_0x972240:location[_0x24d8fb(0x2bc)];}['_replaceFileID'](_0x3c1179,_0x20d4ec){var _0x240ca9=_0x1150fd;return _0x3c1179[_0x240ca9(0x30c)](_0x240ca9(0x229),_0x20d4ec);}['_decreaseWaiting'](){var _0x171b87=_0x1150fd;this[_0x171b87(0x273)]-=0x1,this['_change$'][_0x171b87(0x2f2)](this[_0x171b87(0x273)]);}},_0xc0bd37[_0x1150fd(0x164)]=_0x276e8b([_0x27acb4(0x0,_0x31a84a[_0x1150fd(0x348)](_0x53093c[_0x1150fd(0x4c8)])),_0x27acb4(0x1,_0x31a84a['IConfigService']),_0x27acb4(0x2,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x32c)]))],_0xc0bd37['CollaborationImageIoService']);var _0x4776c7=Object['getOwnPropertyDescriptor'],_0xb61f69=(_0x5c5f15,_0x5df5f6,_0x619f0e,_0x307846)=>{var _0x25a66e=_0x1150fd;for(var _0x1b9768=_0x307846>0x1?void 0x0:_0x307846?_0x4776c7(_0x5df5f6,_0x619f0e):_0x5df5f6,_0x277707=_0x5c5f15[_0x25a66e(0x17d)]-0x1,_0x5572ad;_0x277707>=0x0;_0x277707--)(_0x5572ad=_0x5c5f15[_0x277707])&&(_0x1b9768=_0x5572ad(_0x1b9768)||_0x1b9768);return _0x1b9768;},_0x444c49=(_0x55db87,_0x17ef45)=>(_0x42a9a3,_0x1728c1)=>_0x17ef45(_0x42a9a3,_0x1728c1,_0x55db87);const _0x341acc=_0x1150fd(0x4b6);_0xc0bd37[_0x1150fd(0x45e)]=class{constructor(_0xb83e4c,_0x1077cd){var _0x40962d=_0x1150fd;this[_0x40962d(0x430)]=_0xb83e4c,this[_0x40962d(0x2c2)]=_0x1077cd;}[_0x1150fd(0x28a)](){var _0x56c632=_0x1150fd,_0x4f2be3;const _0x45d447=this[_0x56c632(0x430)]['getConfig'](_0x4b13f9);return(_0x4f2be3=_0x45d447==null?void 0x0:_0x45d447[_0x56c632(0x4a2)])!=null?_0x4f2be3:_0x341acc;}async[_0x1150fd(0x407)](_0x426f14){var _0x55f34d=_0x1150fd;const _0x12c622=this[_0x55f34d(0x28a)]()+_0x55f34d(0x243);return{'list':[{'title':_0x55f34d(0x132),'mentions':(await this['_HTTPService'][_0x55f34d(0x173)](_0x12c622,{'params':{'objectID':_0x426f14[_0x55f34d(0x220)],'unitID':_0x426f14[_0x55f34d(0x220)]}}))[_0x55f34d(0x166)][_0x55f34d(0x23e)][_0x55f34d(0x3fd)](_0x4078c2=>({'objectId':_0x4078c2['id'],'name':_0x4078c2[_0x55f34d(0x253)]['name'],'metadata':{'icon':_0x4078c2['subject'][_0x55f34d(0x46e)]},'label':_0x4078c2[_0x55f34d(0x253)][_0x55f34d(0x18c)],'objectType':_0x31a84a[_0x55f34d(0x362)][_0x55f34d(0x195)]})),'metadata':{},'type':_0x31a84a[_0x55f34d(0x362)]['PERSON']}]};}},_0xc0bd37['MentionIoHttpService']=_0xb61f69([_0x444c49(0x0,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x13d)])),_0x444c49(0x1,_0x31a84a['Inject'](_0x53093c[_0x1150fd(0x4c8)]))],_0xc0bd37[_0x1150fd(0x45e)]);var _0x556d63=Object[_0x1150fd(0x13b)],_0x91651b=(_0x11b372,_0x58ac7d,_0x2dcd7e,_0x480bdd)=>{for(var _0x42a9bd=_0x480bdd>0x1?void 0x0:_0x480bdd?_0x556d63(_0x58ac7d,_0x2dcd7e):_0x58ac7d,_0x588551=_0x11b372['length']-0x1,_0x4813e8;_0x588551>=0x0;_0x588551--)(_0x4813e8=_0x11b372[_0x588551])&&(_0x42a9bd=_0x4813e8(_0x42a9bd)||_0x42a9bd);return _0x42a9bd;},_0x5b5970=(_0x5698ca,_0x24f0e7)=>(_0xe232b8,_0x421333)=>_0x24f0e7(_0xe232b8,_0x421333,_0x5698ca);let _0x1ac585=class extends _0x31a84a[_0x1150fd(0x2be)]{constructor(_0x21bdbc,_0x2e05c9,_0x237a79,_0x4c7889,_0x22788c){var _0x632c46=_0x1150fd;super(),this[_0x632c46(0x208)]=_0x21bdbc,this['_univerInstanceService']=_0x2e05c9,this['_permissionService']=_0x237a79,this[_0x632c46(0x217)]=_0x4c7889,this['_collaborationUIEventService']=_0x22788c,this[_0x632c46(0x3e5)](),this[_0x632c46(0x420)]();}['_initCloseConn'](){var _0x28eada=_0x1150fd;const _0x52f46d=async _0x333af2=>{var _0x2a316c=_0x1b3a;(await this[_0x2a316c(0x217)][_0x2a316c(0x4a7)](_0x333af2))['event$'][_0x2a316c(0x3ad)](_0x50cad4[_0x2a316c(0x1c8)](_0xc8ce8e=>_0xc8ce8e['eventID']===_0x24336b['CollaborationEvent'][_0x2a316c(0x336)]),_0x50cad4[_0x2a316c(0x418)](this['dispose$']))['subscribe'](_0x16c814=>{var _0x1d941f=_0x2a316c;const _0x5d1bdb=_0x16c814,{reason:_0x3a2b6b}=_0x5d1bdb[_0x1d941f(0x33c)];this[_0x1d941f(0x24f)][_0x1d941f(0x169)]({'id':_0x106d5d[_0x1d941f(0x242)],'data':_0x3a2b6b}),this[_0x1d941f(0x3a1)]['updatePermissionPoint'](new _0x2a4560['WorkbookEditablePermission'](_0x333af2)['id'],!0x1),this['_collaborationSessionService'][_0x1d941f(0x258)](_0x333af2);});};_0x3dd64f[_0x28eada(0x373)](this[_0x28eada(0x252)][_0x28eada(0x401)](_0x31a84a[_0x28eada(0x2fc)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x28eada(0x401)](_0x31a84a[_0x28eada(0x2fc)][_0x28eada(0x3a8)]))[_0x28eada(0x3ad)](_0x50cad4[_0x28eada(0x3fd)](_0x25f1ef=>_0x25f1ef['getUnitId']()),_0x50cad4[_0x28eada(0x1c8)](_0x1a7f21=>!_0x31a84a['isInternalEditorID'](_0x1a7f21)),_0x50cad4['takeUntil'](this[_0x28eada(0x1ac)]))[_0x28eada(0x3c3)](_0x4b3d4c=>{_0x52f46d(_0x4b3d4c);});}[_0x1150fd(0x3e5)](){var _0x5e243d=_0x1150fd;const _0x30fe07=async _0x1992f8=>{var _0x46649b=_0x1b3a;const _0x18d335=await this[_0x46649b(0x217)][_0x46649b(0x4a7)](_0x1992f8),_0x1caa21=this['_injector'][_0x46649b(0x173)](_0x2a4560['SheetPermissionInitController']);_0x18d335[_0x46649b(0x4aa)][_0x46649b(0x3ad)](_0x50cad4[_0x46649b(0x1c8)](_0x461d3f=>_0x461d3f[_0x46649b(0x15a)]===_0x24336b[_0x46649b(0x405)][_0x46649b(0x3d0)]),_0x50cad4['takeUntil'](this[_0x46649b(0x1ac)]))[_0x46649b(0x3c3)](_0x100742=>{var _0x515428=_0x46649b;const _0x1ed3b6=_0x100742,{objectId:_0x1a3118}=_0x1ed3b6[_0x515428(0x33c)];_0x1a3118===_0x1992f8?_0x1caa21['initWorkbookPermissionChange'](_0x1992f8):_0x1caa21[_0x515428(0x15f)](_0x1992f8,_0x1a3118);});};_0x3dd64f[_0x5e243d(0x373)](this[_0x5e243d(0x252)]['getTypeOfUnitAdded$'](_0x31a84a['UniverInstanceType'][_0x5e243d(0x3d4)]))[_0x5e243d(0x3ad)](_0x50cad4[_0x5e243d(0x3fd)](_0x1560b3=>_0x1560b3[_0x5e243d(0x44e)]()),_0x50cad4['filter'](_0x3e0ef3=>!_0x31a84a[_0x5e243d(0x27b)](_0x3e0ef3)),_0x50cad4['takeUntil'](this[_0x5e243d(0x1ac)]))[_0x5e243d(0x3c3)](_0xce837e=>{_0x30fe07(_0xce837e);});}};_0x1ac585=_0x91651b([_0x5b5970(0x0,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x388)])),_0x5b5970(0x1,_0x31a84a[_0x1150fd(0x32c)]),_0x5b5970(0x2,_0x31a84a[_0x1150fd(0x19c)]),_0x5b5970(0x3,_0x31a84a['Inject'](_0xc0bd37[_0x1150fd(0x1b7)])),_0x5b5970(0x4,_0x31a84a[_0x1150fd(0x348)](_0x38b704))],_0x1ac585);var _0x1d99ee=Object['getOwnPropertyDescriptor'],_0x2a0cf6=(_0x45f537,_0x3929b9,_0x1ea6b6,_0x6a2c16)=>{var _0x5dfd7d=_0x1150fd;for(var _0x66ace3=_0x6a2c16>0x1?void 0x0:_0x6a2c16?_0x1d99ee(_0x3929b9,_0x1ea6b6):_0x3929b9,_0x1d7c39=_0x45f537[_0x5dfd7d(0x17d)]-0x1,_0xc63cf0;_0x1d7c39>=0x0;_0x1d7c39--)(_0xc63cf0=_0x45f537[_0x1d7c39])&&(_0x66ace3=_0xc63cf0(_0x66ace3)||_0x66ace3);return _0x66ace3;},_0x255589=(_0x3316a9,_0x32cec3)=>(_0x5ec362,_0x40f24d)=>_0x32cec3(_0x5ec362,_0x40f24d,_0x3316a9);_0xc0bd37[_0x1150fd(0x495)]=class{constructor(_0x207428,_0x3f3087){var _0x496e2d=_0x1150fd;this[_0x496e2d(0x430)]=_0x207428,this[_0x496e2d(0x32f)]=_0x3f3087;}async[_0x1150fd(0x1af)](_0x4816cf,_0x312f9e){var _0x32c285=_0x1150fd,_0x430d01;const {unitID:_0x25c80d,type:_0x3679fb,revision:_0x2b9a41=0x0}=_0x312f9e,_0x1718b9=this[_0x32c285(0x1f6)]()+'/'+_0x3679fb+_0x32c285(0x42e)+_0x25c80d+_0x32c285(0x437)+_0x2b9a41,_0xb98443=(await this[_0x32c285(0x32f)][_0x32c285(0x173)](_0x1718b9))[_0x32c285(0x166)],_0x25dd2d=(_0x430d01=_0xb98443[_0x32c285(0x2ed)])==null?void 0x0:_0x430d01[_0x32c285(0x2c9)];if(_0x25dd2d){const _0x12b4cb=_0x25dd2d==null?void 0x0:_0x25dd2d[_0x32c285(0x4ab)],_0x3fead6=_0x24336b[_0x32c285(0x3a2)][_0x32c285(0x3f3)](_0x24336b['b64DecodeUnicode'](_0x12b4cb));_0x25dd2d['originalMeta']=_0x3fead6,Object[_0x32c285(0x2a9)](_0x25dd2d[_0x32c285(0x397)])[_0x32c285(0x39d)](([,_0x367642])=>{var _0xa253a1=_0x32c285;const _0x4e84cd=_0x367642['originalMeta'],_0x67e425=_0x24336b['textEncoder']['encode'](_0x24336b[_0xa253a1(0x3ed)](_0x4e84cd));_0x367642[_0xa253a1(0x4ab)]=_0x67e425;});}return _0xb98443;}async[_0x1150fd(0x2da)](_0x234e81,_0x395847){var _0x121e17=_0x1150fd;const {unitID:_0x3d5a3f,type:_0x382687,blockID:_0x5cd4d3}=_0x395847,_0xbb31c5=this[_0x121e17(0x35a)]()+'/'+_0x382687+'/unit/'+_0x3d5a3f+_0x121e17(0x4c9)+_0x5cd4d3;return(await this[_0x121e17(0x32f)][_0x121e17(0x173)](_0xbb31c5))[_0x121e17(0x166)];}async[_0x1150fd(0x4ad)](_0x1dc812,_0x2172f7){var _0x13f411=_0x1150fd;const {unitID:_0x39cd48,type:_0x1fcaf1,blockID:_0x38d1af}=_0x2172f7,_0x395c0d=this[_0x13f411(0x35a)]()+_0x13f411(0x4c9)+_0x1fcaf1+'/unit/'+_0x39cd48+_0x13f411(0x4c9)+_0x38d1af;return(await this[_0x13f411(0x32f)][_0x13f411(0x173)](_0x395c0d))[_0x13f411(0x166)];}async[_0x1150fd(0x3dc)](_0x578fb6,_0x144b0b){var _0x25998c=_0x1150fd;const {unitID:_0x16cf38,type:_0x363479,from:_0x5d0eca,to:_0x3fe0eb}=_0x144b0b,_0x14f3fb=this[_0x25998c(0x35a)]()+'/'+_0x363479+_0x25998c(0x42e)+_0x16cf38+_0x25998c(0x439)+_0x5d0eca+_0x25998c(0x24e)+_0x3fe0eb;return(await this[_0x25998c(0x32f)][_0x25998c(0x173)](_0x14f3fb))['body'];}[_0x1150fd(0x1f6)](){var _0x362a60=_0x1150fd,_0x154e6c;return(_0x154e6c=this[_0x362a60(0x430)]['getConfig'](_0x4e9b22))!=null?_0x154e6c:this[_0x362a60(0x35a)]();}[_0x1150fd(0x35a)](){var _0x43f6c0=_0x1150fd,_0x4ba272;const _0x189ba4=this['_configService'][_0x43f6c0(0x16d)](_0x4b13f9);return(_0x4ba272=_0x189ba4==null?void 0x0:_0x189ba4[_0x43f6c0(0x410)])!=null?_0x4ba272:_0x38f9a6;}async['getResourcesRequest'](_0x1503ad,_0x8ba50f){var _0xe95e0=_0x1150fd;const _0x39ff87='/universer-api/snapshot/'+_0x8ba50f[_0xe95e0(0x13e)]+_0xe95e0(0x42e)+_0x8ba50f[_0xe95e0(0x1bc)]+_0xe95e0(0x176);return(await this[_0xe95e0(0x32f)][_0xe95e0(0x173)](_0x39ff87,{'params':{'resourceId':JSON[_0xe95e0(0x16b)](_0x8ba50f['resourceIDs'])}}))[_0xe95e0(0x166)];}[_0x1150fd(0x3ae)](){var _0x400f9f=_0x1150fd;throw new Error(_0x400f9f(0x1c1));}[_0x1150fd(0x35f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1150fd(0x4bc)](){var _0x3b7b6f=_0x1150fd;throw new Error(_0x3b7b6f(0x1c1));}[_0x1150fd(0x484)](){var _0x11a42f=_0x1150fd;throw new Error(_0x11a42f(0x1c1));}[_0x1150fd(0x444)](){var _0x45eda0=_0x1150fd;throw new Error(_0x45eda0(0x1c1));}[_0x1150fd(0x496)](){var _0x5153ce=_0x1150fd;throw new Error(_0x5153ce(0x1c1));}},_0xc0bd37[_0x1150fd(0x495)]=_0x2a0cf6([_0x255589(0x0,_0x31a84a[_0x1150fd(0x13d)]),_0x255589(0x1,_0x31a84a['Inject'](_0x53093c[_0x1150fd(0x4c8)]))],_0xc0bd37[_0x1150fd(0x495)]);var _0x55925b=Object[_0x1150fd(0x13b)],_0x4b5dd9=(_0x2bd23a,_0x564880,_0x449109,_0x5da412)=>{var _0x349185=_0x1150fd;for(var _0x33f791=_0x5da412>0x1?void 0x0:_0x5da412?_0x55925b(_0x564880,_0x449109):_0x564880,_0x2b36bb=_0x2bd23a[_0x349185(0x17d)]-0x1,_0x1f5ffd;_0x2b36bb>=0x0;_0x2b36bb--)(_0x1f5ffd=_0x2bd23a[_0x2b36bb])&&(_0x33f791=_0x1f5ffd(_0x33f791)||_0x33f791);return _0x33f791;},_0x6ef0ec=(_0x56978c,_0x2ee635)=>(_0x2fe42a,_0x531f0f)=>_0x2ee635(_0x2fe42a,_0x531f0f,_0x56978c);_0xc0bd37['CollaborativeUndoRedoService']=class extends _0x31a84a[_0x1150fd(0x2ec)]{constructor(_0x32a997,_0x91501d,_0x37a05d,_0x498b4b,_0x533b3a){var _0x23e4c9=_0x1150fd;super(_0x32a997,_0x91501d,_0x37a05d),this[_0x23e4c9(0x2ba)]=_0x498b4b,this[_0x23e4c9(0x4b0)]=_0x533b3a;}[_0x1150fd(0x30b)](_0x893754,_0x2dced9){var _0x259e22=_0x1150fd;const _0x36e81b=this[_0x259e22(0x3b4)](_0x893754);if(_0x36e81b)try{const _0x33a218=this['_transformStack'](_0x36e81b,_0x2dced9);this[_0x259e22(0x134)](_0x893754,_0x33a218);}catch(_0x588311){this[_0x259e22(0x4b0)]['error'](_0x259e22(0x1cf),_0x588311),this[_0x259e22(0x2e2)](_0x893754);}const _0x5bf1ec=this[_0x259e22(0x1d4)](_0x893754);if(_0x5bf1ec)try{const _0x294524=this[_0x259e22(0x1bd)](_0x5bf1ec,_0x2dced9);this[_0x259e22(0x3ba)](_0x893754,_0x294524);}catch(_0x295007){this[_0x259e22(0x4b0)][_0x259e22(0x1f9)](_0x295007),this['_clearRedo'](_0x893754);}}[_0x1150fd(0x2e2)](_0x497ef2){var _0x99bbc2=_0x1150fd;const _0x4ac2ef=this[_0x99bbc2(0x3b4)](_0x497ef2);_0x4ac2ef&&(_0x4ac2ef[_0x99bbc2(0x17d)]=0x0,this[_0x99bbc2(0x2fd)]());}[_0x1150fd(0x3e8)](_0x43b869){var _0x5d8e4e=_0x1150fd;const _0x3eb32a=this[_0x5d8e4e(0x1d4)](_0x43b869);_0x3eb32a&&(_0x3eb32a[_0x5d8e4e(0x17d)]=0x0,this[_0x5d8e4e(0x2fd)]());}[_0x1150fd(0x134)](_0x28e4a7,_0x738a42){var _0x1afd8a=_0x1150fd;this[_0x1afd8a(0x36e)][_0x1afd8a(0x289)](_0x28e4a7,_0x738a42),this[_0x1afd8a(0x2fd)]();}['_substituteRedoStack'](_0x279df2,_0x407536){var _0x552e9c=_0x1150fd;this[_0x552e9c(0x20b)]['set'](_0x279df2,_0x407536),this['_updateStatus']();}['_transformStack'](_0x1fc165,_0x39110f){var _0x20fb20=_0x1150fd;const _0x6a682c=[];let _0x575649=_0x39110f,_0x549cb7=_0x39110f;for(let _0x3c1f12=_0x1fc165[_0x20fb20(0x17d)]-0x1;_0x3c1f12>=0x0;_0x3c1f12--){const {unitID:_0x5586c1,undoMutations:_0x11d045,redoMutations:_0x6cbc98}=_0x1fc165[_0x3c1f12],_0xa5bdb=this['_transformService'][_0x20fb20(0x2e5)](_0x575649,_0x11d045),_0x5cb17e=this[_0x20fb20(0x2ba)][_0x20fb20(0x2e5)](_0x549cb7,_0x6cbc98);if(_0x24336b[_0x20fb20(0x44f)](_0xa5bdb)||_0x24336b[_0x20fb20(0x44f)](_0x5cb17e)){this[_0x20fb20(0x4b0)]['error'](_0x20fb20(0x1cf),_0x20fb20(0x1f2),_0xa5bdb,_0x5cb17e);break;}_0x575649=_0xa5bdb[_0x20fb20(0x22d)],_0x549cb7=_0x5cb17e[_0x20fb20(0x22d)],_0x6a682c[_0x20fb20(0x356)]({'unitID':_0x5586c1,'undoMutations':_0xa5bdb[_0x20fb20(0x207)],'redoMutations':_0x5cb17e[_0x20fb20(0x207)]});}return _0x6a682c[_0x20fb20(0x172)]();}},_0xc0bd37[_0x1150fd(0x158)]=_0x4b5dd9([_0x6ef0ec(0x0,_0x31a84a[_0x1150fd(0x32c)]),_0x6ef0ec(0x1,_0x31a84a[_0x1150fd(0x3f8)]),_0x6ef0ec(0x2,_0x31a84a[_0x1150fd(0x1e5)]),_0x6ef0ec(0x3,_0x24336b[_0x1150fd(0x153)]),_0x6ef0ec(0x4,_0x31a84a[_0x1150fd(0x41e)])],_0xc0bd37[_0x1150fd(0x158)]);var _0x2a0787=Object[_0x1150fd(0x3aa)],_0x4d6bee=Object[_0x1150fd(0x13b)],_0x1822ae=(_0x421007,_0x113705,_0x581c28)=>_0x113705 in _0x421007?_0x2a0787(_0x421007,_0x113705,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x581c28}):_0x421007[_0x113705]=_0x581c28,_0xfc45bd=(_0x4d42e4,_0x3bcc97,_0x18fed0,_0x46312e)=>{var _0x216c3c=_0x1150fd;for(var _0x8675a=_0x46312e>0x1?void 0x0:_0x46312e?_0x4d6bee(_0x3bcc97,_0x18fed0):_0x3bcc97,_0x4f9c29=_0x4d42e4[_0x216c3c(0x17d)]-0x1,_0x3afcb6;_0x4f9c29>=0x0;_0x4f9c29--)(_0x3afcb6=_0x4d42e4[_0x4f9c29])&&(_0x8675a=_0x3afcb6(_0x8675a)||_0x8675a);return _0x8675a;},_0x2a035f=(_0x3c6b6e,_0x42db11)=>(_0x36ad12,_0x4c2be6)=>_0x42db11(_0x36ad12,_0x4c2be6,_0x3c6b6e),_0x427b21=(_0x17be3,_0x11ceb8,_0x325ff8)=>_0x1822ae(_0x17be3,_0x11ceb8+'',_0x325ff8);const _0x4d16f4=_0x1150fd(0x455);_0xc0bd37['UniverCollaborationClientPlugin']=class extends _0x31a84a[_0x1150fd(0x34e)]{constructor(_0x208f06,_0x422ff3,_0xadc815,_0x136a9e){var _0x3d2a6f=_0x1150fd;super(),_0x516c5a(this,_0x3d2a6f(0x2e1)),(this[_0x3d2a6f(0x4b0)]=_0x422ff3,this['_injector']=_0xadc815,this['_configService']=_0x136a9e);const {..._0x43e3bf}=_0x31a84a[_0x3d2a6f(0x373)]({},_0x58b254,_0x208f06);if(!_0x43e3bf[_0x3d2a6f(0x2e3)])throw new Error(_0x3d2a6f(0x4a0));this[_0x3d2a6f(0x2e1)]=_0x43e3bf,this['_configService'][_0x3d2a6f(0x3e1)](_0x4b13f9,_0x43e3bf);}['onStarting'](){var _0xcf3a43=_0x1150fd;this[_0xcf3a43(0x13f)](),this[_0xcf3a43(0x24d)]();}['_registerDependencies'](){var _0x2ceedc=_0x1150fd,_0x5a4ec4,_0x35c356;this[_0x2ceedc(0x208)][_0x2ceedc(0x1d6)](_0x31a84a[_0x2ceedc(0x267)])&&this['_logService']['error'](_0x2ceedc(0x351),_0x2ceedc(0x318));const _0x5c5614=_0x31a84a['mergeOverrideWithDependencies']([[_0x31a84a[_0x2ceedc(0x267)],{'useClass':_0xc0bd37[_0x2ceedc(0x158)]}],[_0xc0bd37[_0x2ceedc(0x1b7)]],[_0xc0bd37['MemberService']],[_0xc0bd37[_0x2ceedc(0x47c)]],[_0x288171],[_0x42a29d],[_0x494f7b],[_0x1ac585],[_0x38b704],[_0xc0bd37[_0x2ceedc(0x29e)]],[_0x1f69ae,{'useClass':this[_0x2ceedc(0x2e1)][_0x2ceedc(0x2e3)]}],[_0x24336b[_0x2ceedc(0x269)],{'useClass':_0xc0bd37['SnapshotServerOverHTTPService']}],[_0x31a84a[_0x2ceedc(0x36d)],{'useClass':_0xc0bd37[_0x2ceedc(0x479)]}],[_0x213bba[_0x2ceedc(0x476)],{'useClass':_0xc0bd37['CollaborationImageIoService']}],[_0x31a84a['IMentionIOService'],{'useClass':_0xc0bd37[_0x2ceedc(0x45e)]}],[_0xc0bd37[_0x2ceedc(0x185)]],[_0xc24684]],(_0x5a4ec4=this['_config'])==null?void 0x0:_0x5a4ec4['override']);if(!((_0x35c356=this[_0x2ceedc(0x2e1)])!=null&&_0x35c356[_0x2ceedc(0x141)])){const _0x2f8706=_0x5c5614[_0x2ceedc(0x3fc)](([_0x4af498])=>_0x4af498===_0x5f4ca3);_0x2f8706!==-0x1&&_0x5c5614[_0x2ceedc(0x3f2)](_0x2f8706,0x1);}_0x31a84a[_0x2ceedc(0x1f4)](this[_0x2ceedc(0x208)],_0x5c5614);}[_0x1150fd(0x24d)](){var _0x4ec469=_0x1150fd,_0xfe8d76,_0x42dfbd,_0x534caa;this['_injector'][_0x4ec469(0x173)](_0x53093c['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x53093c['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0xfe8d76=this[_0x4ec469(0x2e1)])!=null&&_0xfe8d76['enableOfflineEditing']||(_0x42dfbd=this[_0x4ec469(0x208)][_0x4ec469(0x173)](_0x361671,_0x31a84a[_0x4ec469(0x1cb)][_0x4ec469(0x491)]))==null||_0x42dfbd[_0x4ec469(0x196)](),(_0x534caa=this[_0x4ec469(0x2e1)])!=null&&_0x534caa['enableAuthServer']&&_0x31a84a['touchDependencies'](this[_0x4ec469(0x208)],[[_0x288171]]),_0x31a84a[_0x4ec469(0x209)](this[_0x4ec469(0x208)],[[_0x42a29d],[_0xc0bd37[_0x4ec469(0x185)]],[_0x1ac585]]);}},_0x427b21(_0xc0bd37[_0x1150fd(0x298)],'pluginName',_0x4d16f4),_0xc0bd37[_0x1150fd(0x298)]=_0xfc45bd([_0x31a84a[_0x1150fd(0x257)](_0x24336b[_0x1150fd(0x137)],_0x53093c['UniverNetworkPlugin']),_0x2a035f(0x1,_0x31a84a[_0x1150fd(0x41e)]),_0x2a035f(0x2,_0x31a84a[_0x1150fd(0x348)](_0x31a84a[_0x1150fd(0x388)])),_0x2a035f(0x3,_0x31a84a[_0x1150fd(0x13d)])],_0xc0bd37['UniverCollaborationClientPlugin']),_0xc0bd37['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x4b13f9,_0xc0bd37[_0x1150fd(0x1ed)]=_0x125b0f,_0xc0bd37[_0x1150fd(0x3b5)]=_0x106d5d,_0xc0bd37['CollaborationUIEventService']=_0x38b704,_0xc0bd37[_0x1150fd(0x225)]=_0x494f7b,_0xc0bd37[_0x1150fd(0x307)]=_0x279807,_0xc0bd37[_0x1150fd(0x3e0)]=_0x2b8aca,_0xc0bd37['DEFAULT_WS_SESSION_TICKET_URL']=_0x4c8f54,_0xc0bd37['HEARTBEAT_INTERVAL_KEY']=_0x2cfd52,_0xc0bd37[_0x1150fd(0x31d)]=_0x55b9af,_0xc0bd37['ICollaborationSocketService']=_0x1f69ae,_0xc0bd37[_0x1150fd(0x2cd)]=_0x361671,_0xc0bd37[_0x1150fd(0x39e)]=_0x2f77c4,_0xc0bd37[_0x1150fd(0x34a)]=_0x5f4ca3,_0xc0bd37[_0x1150fd(0x189)]=0x3e8,_0xc0bd37[_0x1150fd(0x46b)]=_0x2dee97,_0xc0bd37[_0x1150fd(0x328)]=_0x29aa70,_0xc0bd37[_0x1150fd(0x2f6)]=_0x5b4b03,_0xc0bd37[_0x1150fd(0x453)]=_0x4f2d39,_0xc0bd37[_0x1150fd(0x2c7)]=_0x35034f,_0xc0bd37[_0x1150fd(0x350)]=_0x317bf9,_0xc0bd37[_0x1150fd(0x19a)]=_0x5606f5,_0xc0bd37[_0x1150fd(0x345)]=_0x28e49f,Object[_0x1150fd(0x3aa)](_0xc0bd37,Symbol[_0x1150fd(0x245)],{'value':_0x1150fd(0x48b)});}));function _0x1b3a(_0x4cafb1,_0x3ba731){_0x4cafb1=_0x4cafb1-0x132;var _0xd39365=_0xd393();var _0x1b3a9d=_0xd39365[_0x4cafb1];return _0x1b3a9d;}function _0xd393(){var _0x47720d=['JOIN_ROOM_FULL','collabWebSocketUrl','_onFetchMissResult','_transformSelections','SHA1','UniverTelemetry','Injector','socket$','readInt32LE','@univerjs/docs','HmacMD5','min','OFFLINE','interceptor','ENTITLE_NEED_BILLING_ADDRESS','firstValueFrom','_iKey','buffer','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Latin1','YUUMI_URL_COL_OUT_OF_RANGE','sheets','INVITE_CODE_HAS_BEEN_UES','REDEMPTION_CODE_FULLY_REDEEMED','CommandType','SUBMIT_CHANGESET','close$','forEach','INetworkConditionService','Could\x20not\x20dynamically\x20require\x20\x22','RECV','_permissionService','textEncoder','onlyLocal','INTERNAL_ERROR','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getUploadFileURL','_nRounds','UNIVER_DOC','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','defineProperty','OTHER_CLIENTS_EDITING','__creator','pipe','saveSnapshot','getCurrentSelections','IDLE','_getSendChangesetTimeout','HEARTBEAT_INTERVAL','_imageSourceCache','_getUndoStack','CollaborationUIEventId','_lockTransition','getInterceptPoints','readyForCollab','UNIVER_PROJECT','_substituteRedoStack','status$','onSyncEditingCollabCursor','generateRandomId','charCodeAt','code','REDEMPTION_CODE_INACTIVE','_doProcessBlock','string','subscribe','not_collab','_clearTimeoutTimer','CompressMutationService','open$','_doCryptBlock','padding','deleteCollaborator','HEARTBEAT_TIMEOUT','createIdentifier','_tryEnsureSocket','_sessionStatus$','awaiting_with_pending','UPDATE_PERMISSION_OBJ','_changesetReqId','headers','pending','UNIVER_SHEET','APPLY_REVISION_CONFILICT','updatePermissionPoint','SNAPSHOT_INVALID_SNAPSHOT','responseType','getUnitType','UUID','processBlock','fetchMissingChangesets','_ENC_XFORM_MODE','onTransformState','_createHmacHelper','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setConfig','/universer-api/file/{fileID}/sign-url','hasher','post','_initUnitPermissionChange','unit-cache-','changesets','_clearRedo','pad','_acknowledgedAwaitingChangeset','sigBytes','_retryCount','b64DecodeUnicode','PAYMENT_CHANNEL_NOT_SUPPORT','operators','SyncedState','_state','splice','encode','@univerjs/drawing','_onConnectionFailed','REDEMPTION_INVALID_CODE','waitForRoom$','ICommandService','_prevBlock','ERROR_AGAIN','localeService','findIndex','map','[FetchMissState]','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','status','getTypeOfUnitAdded$','INVALID_INVITE_CODE','_tryReconnect','_isPermissionRej','CollaborationEvent','StreamCipher','list','/object/','_onRemoteChangeset','_hasher','state$','/allowed','auth.needGotoLoginAlert','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Base','snapshotServerUrl','fetchMiss','RevisionService','session.join-failed','JOIN_ROOM_PERMISSION_DENIED','put','createDecryptor','COMPLETION_FINISHED','takeUntil','/universer-api/user/session-ticket','_getLoginPath','_map','complete','_clearRetryConnectingTimer','ILogService','repeat','_initCloseConn','@univerjs/network','ENTITLE_COUPON_USED_UP','Failed\x20to\x20update\x20permission\x20point','state','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_handlerCallback','@univerjs-pro/license','fromCharCode','failed\x20to\x20apply\x20missed\x20changesets!','getCurrentRevOfUnit','onRemoteRetry','SUCCUSS','_key','/unit/','UniverProLicense','_configService','UniverDocs','INVITE_CODE_REQUIRED','UserManagerService','compute','CHANGESET_REVISION_CONFILICT','editingUnit','/rev/','getTypeOfUnitDisposed$','/fetchmissing?from=','href','joinRsp','[CollaborationState]:\x20apply\x20error!','YUUMI_CONNECTOR_URL_NOT_FOUND','sessionStatus$','call','finalize','disposeWithMe','NEW_CHANGESETS','FileId','copyFileMeta','_decreaseWaiting','clone','ENTITLE_INVALID_COUPON_CODE','_getCurrentRevision','key','_commentUpdate$','SOCKET_FAILED_RETRY','@univerjs/telemetry','HMAC','getUnitId','isTransformMutationsWithChangesetFailure','executeCommand','OTHER_CLIENT_EDITING','_data','SessionStatus','_retryConnectingTimer','UNIVER_COLLABORATION_CLIENT_PLUGIN','UNDEFINED','unpad','[PendingState]:\x20unhandled\x20univer\x20type:\x20','setCurrentUser','SetSelectionsOperation','_getSignURL','JOIN_ROOM_FAILED','_sendingTimer','MentionIoHttpService','_checkMissing','REDEMPTION_CODE_HAS_BEEN_CREATED','_clearCollaborationTimeoutTimer','getCollabEntity','_candidateSocket','getUnit','find','_resendWithTimeout','send','batchAllowed','getActiveSheet','UniverProCollaborationClient','LOCAL_CACHE_INTERVAL_KEY','socket\x20close','createEncryptor','avatar','AUTHORIZE_CODE_ILLEGAL','YUUMI_RATE_OVER_LIMIT','error$','getCurrentUser','routeKey','PendingState','sessionStatus','IImageIoService','crypto','Subject','AuthzIoHttpService','&source=','csRejEvent','SheetTransformSelectionsService','ITelemetryService','ENTITLE_REPORT_LIMIT_EXCEED','lib','UnitEmbedded','\x20in\x20_schedule.','shouldCloseConn','reject','saveChangeset','uploadFileServerUrl','FETCH_MISS','_transformIMECache','EMAIL_HAS_BEEN_BOUND','_changesetSessionId','HttpExport','Module','614KKVcKw','extend','toDisposable','APPLY_NON_SEQUENTIAL_REVISION','stopTime','OPTIONAL','take','setShowComponents','onTransformIME','SnapshotServerOverHTTPService','getLatestCsReqIdBySid','onTransformSelections','createSocket','asObservable','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getCtorByUniverType','isTransformChangesetsSuccess','telemetry\x20info\x20is\x20not\x20initialized','revision','\x0aCurrent:\x20','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','startsWith','authzUrl','getMemberID','session.room-permission-denied','_awaitingChangeset','values','requireSession','requestParams','location','event$','originalMeta','capture','getDeserializedSheetBlock','UnitSnapshot','_nDataBytes','_logService','_reverseMap','_userManagerService','reqId','_removeRoom','isArray','/universer-api/authz','_type','NO_OTHER_CLIENTS_EDITING','formatter','sequenceExecute','decryptBlock','saveSheetBlock','_onOffline','OpenSSL','_syncEditingCollabCursor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CipherParams','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','EMAIL_VERIFY_CODE_MISMATCH','fetching\x20missing\x20changesets\x20from\x20','words','getValue','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','HTTPService','/block/','ENTITLE_INSUFFICIENT_QUOTA','32JcrapM','focused$','encrypt','[CollaborationEntity]','_shouldReportTelemetry','image/png','signUrlServerUrl','People','objects','_substituteUndoStack','__Key__','_instanceService','UniverCollaborationPlugin','every','file','objectType','getOwnPropertyDescriptor','BlockCipherMode','IConfigService','type','_registerDependencies','fetch_missing','enableSingleActiveInstanceLock','_stopTelemetryCollaborationNewChangeset','_append','onMissingChangesets','[CollaborationSessionService]','MemberService','onRemoteChangeset','image/bmp','memberID','getRandomValues','c2Prime','updateOfflineData','objectID','ERROR_IMAGE','Workbook','PY_RUNTIME_SCRIPT_ERROR','CBC','ConflictState','ITransformService','onTransformRemoteChangesetByStateCache','catch','Cipher','_sendHeartbeat','CollaborativeUndoRedoService','url','eventID','kdf','FETCH_MISSING','_cipher','onRemoteAck','refreshPermission','_networkConditionService','_sendHeartbeatTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','message$','CollaborationImageIoService','csShouldRetryEvent','body','[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.','mixIn','emitEvent','_pendingMutations','stringify','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getConfig','ClipsheetFragments','_rescheduleHeartbeat','[CollaborationSession]','selections','reverse','get','title','_entities','/resources','_transformStateCache','_disableEditing','loadUnit','randomBytes','_change$','concatMap','length','_mode','APPLY_DUPLICATED','_executeRemoteChangeset','Optional','_replaceFileID','_createInitialStateImpl','compose','CollaborationController','UNRECOGNIZED','_memberService','onload','LOCAL_CACHE_INTERVAL','_transformUndoredo','appendMutation','name','_onRecvEvent','getCollabEntity$','amd','_timeoutTimer','_commentService','USER_NOT_INVITED_CODE','_socketMessageSubscription','_keySchedule','PERSON','disableLocalCache','setWaitCount','LIVESHARE_REQUEST_HOST','AwaitingState','getLocalCacheKey','actions','IPermissionService','resolve','RETRY_CONNECTING_MAX_COUNT','HttpImport','allowed','_init','_telemetryInfo','NoPadding','UniverSheets','DocCollaborationEntity','USERS_ENTER','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','FetchingMissState','786EDXyrr','newCsEvent','[PendingState]:\x20received\x20acknowledgement.','dispose$','COMPRESS_MUTATION_SEND','UNIVER_UNKNOWN','getUnitOnRev','_collaborationTimeoutTimer','_unlockTransition','random','PERMISSION_DENIED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_transformRemoteChangesetByStateCache','YUUMI_UNABLE_LOAD_URL','CollaborationSessionService','getWorkbookSelections','_roomCreated$','_scheduleCollaborationTimeoutTimer','USER_NOT_FOUND','unitID','_transformStack','AES','PasswordBasedCipher','decrypt','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_fetchMissChangesets','onSendChangeset','BlockCipher','_clearHeartbeatTimer','createInstance','floor','filter','reduce','object','Quantity','parseProtocolChangeset','getTime','YUUMI_SUBSCRIPTION_NOT_FOUND','[CollaborationUndoRedoService]','ceil','registerHTTPInterceptor','_undoRedoService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_getRedoStack','awaiting','has','awaitingChangeset','_DEC_XFORM_MODE','unitInfo$','algo','from','objectActions','YUUMI_ALL_TABLES_IS_INVALID','readAsDataURL','CollaborationSession','5742212ccxCrv','x-univer-host','HELLO','blockSize','ENTITLE_COUPON_EXPIRED','IContextService','function','userID','GLOBAL_ROOMS_CNT_EXCEEDS','_submitChangeset','ciphertext','UniverNetwork','close','CollaborationStatus','default','retryConnectingInterval','_clearLocalCache','uuidv4','transformStack\x20failed!','create','registerDependencies','_queuedRemoteChangesets','getSnapshotAPIPath','_toggleOffline','parse','error','_schedule','[DataLoaderService]','shareReplay','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','connection\x20error','_localeService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Univer','_singleActiveUnitService','YUUMI_ASYNCIO_CANCELLED','exports','DATA_SOURCE_TOO_LARGE','mode','m2Prime','_injector','touchDependencies','[SyncedState]:\x20received\x20acknowledgement.','_redoStacks','getImageSourceCache','Base64','updatePermissionObjEvent','SYNCED','InsertSheetMutation','params','charAt','_process','LOGIN_FAILED','WorkbookEditablePermission','CONFLICT','_collaborationSessionService','_initMergeInterceptor','LIVESHARE_OPERATION','cfg','_remoteChangesetQueue','Decryptor','loadUnitOfRevision','dispose','LocaleService','unitId','$super','image/jpeg','indexOf','_listenToNetworkCondition','CommentService','_onConflict','init','MD5','{fileID}','enc','mutations','ENTITLE_CHAT_LIMIT_EXCEED','c1Prime','2235861eGcRnh','_onCombEvent','iterations','ERROR_EXCEED_SIZE','toggleOffline','univer-pro.collaboration-client-socket-service','now','toggleOnline','permissionRejEvent','fetchThroughInterceptors','session','_handler','LIVESHARE_FETCH_OPERATIONS','CURRENT_STATUS_CANNOT_OPERATE','_scheduleCompleteTimestamp','_createHelper','collaborators','_doCreateSocket','isPermissionRej','_showConflictNotification','CLOSE_ROOM','/collaborator','ImageUploadStatusType','toStringTag','cmd','rev','add','subUnitId','_transformRemoteChangesetByIMECache','3174027oxkmJF','collaboration-client.config','_initDependencies','&to=','_collaborationUIEventService','clamp','[CollaborationSessionService]:\x20socket\x20error','_univerInstanceService','subject','getAllMembers','csAckEvent','LICENSE_EXPORT_SIZE_EXCEEDED','DependentOn','closeSession','SOCKET_FAILED','_incrementRevisionNumber','debug','_entityInit$','clear','55QtpMQF','loadSheet','_emitMembers','delay','[OfflineState]:\x20received\x20acknowledgement.','_members','getFocusedUnit','max','REDEMPTION_USER_NOT_ELIGIBLE','IUndoRedoService','OfflineState','ISnapshotServerService','USER_IS_ANONYMOUS','enableCollaboration','encodeURIComponent','_roomMembers','@univerjs/sheets','reconnect','conflict','WECHAT_HAS_BEEN_BOUND','confirm','_waitCount','keySize','UNIVER_SLIDE','removeMember','ImageSourceType','_status$','prototype','_onUserLeave','isInternalEditorID','@univerjs/core','Hex','MOBILE_HAS_BEEN_BOUND','HEARTBEAT','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_sessions','_getDownloadEndpointURL','_socket','includes','ENSURE_SNAPSHOT_EXECUTION','_onJoinRoomEvent','/-/object/-/batch_allowed','set','_getAPIPrefixPath','PENDING','JOIN','onMissedChangesetFetched','startTime','\x0aAfter:\x20','USERS_LEAVE','WordArray','abs','loadDoc','resend','patch','loadOfflineData','_state$','UniverCollaborationClientPlugin','RichTextEditingMutation','_unitInfo$','univer-pro.collaboration-client.single-active-unit-service','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_socketReady','DataLoaderService','JOIN_ROOM_NOT_EXISTS','baseRev','range','ws://127.0.0.1:8000/universer-api/comb/connect','_replayCachedMutations','COMPRESS_MUTATION_APPLY','/universer-api/comb','_onConnectionOpen','AwaitingWithPendingState','_collaborationPaused','entries','UserProfileImg','LIVESHARE_NEW_HOST','onCommentUpdate','_event$','msCrypto','UNISCRIPT_RUN','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','BASE64','collaboration-client.local-cache-service','/object','10ltjqDu','_telemetryService','collabSubmitChangesetUrl','[SyncedState]:\x20received\x20rejection.','univer-pro.collaboration-client.network-condition.service','byteLength','_transformService','ALREADY_EXISTS','origin','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','RxDisposable','APPLY_PERMISSION_DENIED','CollaborationEntity','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_HTTPService','_waitForHeartbeatResponse','_snapshotService','delete','Tools','UnitStatus','_startCollaboration','workbook','UNAUTHENTICATED','LICENSE_MAX_UNITS_EXCEEDED','getRoom','ILocalCacheService','transformChangesets','5232960HebKci','ONLINE','[PendingState]:\x20received\x20rejection.','EvpKDF','__splitChunk__','_iv','_localCacheService','_socket$','_hash','_compressMutationService','_throwTelemetryCollaborationNewChangeset','getSheetBlock','synced','getUnitStatus$','update','_onRemoteACK','hasOwnProperty','onMutationExecutedForCollab','_config','_clearUndo','socketService','Disposable','transformMutationsWithChangeset','localCacheService','apply','POST','_parse','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformRemoteChangesetByIMECache','LocalUndoRedoService','snapshot','_commandService','_applyRemoteChangeset','_updateState','salt','next','transformSelections','YUUMI_NO_CUBOID_FOR_QUESTION','_oKey','RETRY_CONNECTING_MAX_COUNT_KEY','_unitID','unknown','liveShareOperation','YUUMI_AI_RUN_FAILED','_eventService','UniverInstanceType','_updateStatus','_toggleOnline','/universer-api/stream/file/upload','rxjs','FAIL','_initRequestHeader','addImageSourceCache','sid','getMember','format','DEFAULT_COLLAB_WEB_SOCKET_URL','image/jpg','commentUpdateEvent','TOO_MANY_REQUESTS','transformUndoRedo','replace','_exhaustRemoteChangesetQueue','image/gif','reset','SheetsSelectionsService','_minBufferSize','_createSocket','LOGIN_TOKEN_PROCESSING_FAILED','INGEST','Rectangle','CHANGESET_SHOULD_RETRY','INVALID_ARGUMENT','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','SNAPSHOT_HAS_BEEN_REMOVED','PERMISSION_REJ','_doFinalize','listCollaborators','HEARTBEAT_TIMEOUT_KEY','CONNECTOR_DATA_TOO_LARGE','addHandlerCallback','_onRemoteRejected','/new_changes','roles','Utf8','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','Encryptor','textRanges','REDEMPTION_CODE_NOT_STARTED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CollaborationSocketService','_createHandler','LEAVE','IUniverInstanceService','SUBMIT_CHANGESET_TIMEOUT','concat','_httpService','liveShareNewHost','6359880sFhEHH','MUTATION','_xformMode','unsubscribe','_snapshotServerService','SHOULD_CLOSE_CONN','/role','withCredentials','duration','onRemoteRej','mapDocumentTypeToUniverType','data','sin','ERROR_IMAGE_TYPE','_transitionLocked','_onLocalMutation','_onUserJoin','JSONX','_resendTimer','slice','serializeCombRequest','_startTelemetryCollaborationNewChangeset','result','Inject','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ISingleActiveUnitService','size','join','COMMENT_UPDATE','Plugin','SheetCollaborationEntity','deserializeToCombResponse','[UniverCollaborationClientPlugin]','_collabSessionService','BehaviorSubject','isTransformMutationsWithChangesetSuccess','_onRemoteRetry','push','_joinRoom','_doReset','_updateLocalCache','_getAPIPrefix','_keyPriorReset','JOINING','updateCollaborator','_clearScheduledTask','updateSnapshot','saveImage','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','MentionType','commentUpdate$','toString','Undefined','AWAITING','UNKNOWN_CODE','1730204UMAjgq','online$','DEFAULT_FILE_NAME','&assign=','offline','IAuthzIoService','_undoStacks','updateMember','_members$','updateCursorEvent','INVITE_CODE_ALREADY_BOUND','merge','_revisionService','LICENSE_DISTRO_REJECTED','fromCollab','_resendTimeout','LIVESHARE_TERMINATE','NOT_FOUND','session.room-cnt-exceeds','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','deepClone','ENTITLE_CAN_NOT_BUY_LOWER_OTP','action','createCollaborator','BufferedBlockAlgorithm','_sender'];_0xd393=function(){return _0x47720d;};return _0xd393();}
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
(function(
|
|
5
|
+
function _0x97f8(){const _0x7fa4c4=['DataLoaderService','getCollabEntity','_injector','getFocusedUnit','_collaborationController','loadUnitOfRevision','loadServerUnitOfRevision','status','toDisposable','Inject','CollaborationStatus','847969awFeXv','820923oWdzJT','subscribe','145072aRiPGb','loadSheetAsync','@univerjs-pro/collaboration','UniverCore','_handler','from','pipe','28EKhhaF','FEnum','FCollaboration','rxjs','values','SnapshotService','defineProperty','Injector','FUniver','switchMap','getCollaboration','110GQGiqc','_univerInstanceService','readyForCollab','396cqxjEi','CollaborationController','toStringTag','loadActiveSheet','loadServerUnit','state','length','18925rIXcHh','Module','loadUnit','1166828eYirdf','UniverProCollaborationClient','getCollaborationStatus','exports','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_snapshotService','MemberService','loadActiveSheetAsync','members$','amd','get','@univerjs/core/facade','extend','subscribeCollaborators','createInstance','loadSheet','UniverCoreFacade','@univerjs/core','2061261PKJiJk','function','873078TSkvPR'];_0x97f8=function(){return _0x7fa4c4;};return _0x97f8();}function _0x37e7(_0x222845,_0x506184){_0x222845=_0x222845-0xc4;const _0x97f8e9=_0x97f8();let _0x37e716=_0x97f8e9[_0x222845];return _0x37e716;}(function(_0xa4b0d0,_0x2ae893){const _0xc56051=_0x37e7,_0x33921c=_0xa4b0d0();while(!![]){try{const _0x486bf0=-parseInt(_0xc56051(0xd7))/0x1+-parseInt(_0xc56051(0xcb))/0x2+-parseInt(_0xc56051(0xd8))/0x3+-parseInt(_0xc56051(0xf9))/0x4+-parseInt(_0xc56051(0xf6))/0x5*(parseInt(_0xc56051(0xef))/0x6)+parseInt(_0xc56051(0xe1))/0x7*(parseInt(_0xc56051(0xda))/0x8)+parseInt(_0xc56051(0xc9))/0x9*(parseInt(_0xc56051(0xec))/0xa);if(_0x486bf0===_0x2ae893)break;else _0x33921c['push'](_0x33921c['shift']());}catch(_0x2d2fa1){_0x33921c['push'](_0x33921c['shift']());}}}(_0x97f8,0x7829d),function(_0x2913d8,_0x3831aa){const _0x53277e=_0x37e7;typeof exports=='object'&&typeof module<'u'?_0x3831aa(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x53277e(0xca)&&define[_0x53277e(0x102)]?define([_0x53277e(0xfc),'@univerjs-pro/collaboration-client',_0x53277e(0x104),_0x53277e(0xdc),_0x53277e(0xc8),_0x53277e(0xe4)],_0x3831aa):(_0x2913d8=typeof globalThis<'u'?globalThis:_0x2913d8||self,_0x3831aa(_0x2913d8['UniverProCollaborationClientFacade']={},_0x2913d8[_0x53277e(0xfa)],_0x2913d8[_0x53277e(0xc7)],_0x2913d8['UniverProCollaboration'],_0x2913d8[_0x53277e(0xdd)],_0x2913d8[_0x53277e(0xe4)]));}(this,function(_0x4cb583,_0x586c47,_0x2e9cb1,_0x263472,_0x8570ab,_0x5f00e5){'use strict';const _0x37e9d2=_0x37e7;class _0x2cd310 extends _0x2e9cb1[_0x37e9d2(0xe2)]{get[_0x37e9d2(0xd6)](){const _0x15d854=_0x37e9d2;return _0x586c47[_0x15d854(0xd6)];}}_0x2e9cb1[_0x37e9d2(0xe2)][_0x37e9d2(0x105)](_0x2cd310);var _0x21e0ff=Object['getOwnPropertyDescriptor'],_0x477849=(_0x2e1ab4,_0x332e68,_0x4734cf,_0x520e07)=>{const _0x584aeb=_0x37e9d2;for(var _0x3bebb7=_0x520e07>0x1?void 0x0:_0x520e07?_0x21e0ff(_0x332e68,_0x4734cf):_0x332e68,_0x9dbe58=_0x2e1ab4[_0x584aeb(0xf5)]-0x1,_0x501f8d;_0x9dbe58>=0x0;_0x9dbe58--)(_0x501f8d=_0x2e1ab4[_0x9dbe58])&&(_0x3bebb7=_0x501f8d(_0x3bebb7)||_0x3bebb7);return _0x3bebb7;},_0x1b8999=(_0x47ce15,_0x4dbeb9)=>(_0x5ed34f,_0x52c791)=>_0x4dbeb9(_0x5ed34f,_0x52c791,_0x47ce15);_0x4cb583[_0x37e9d2(0xe3)]=class extends _0x2e9cb1['FBase']{constructor(_0x4a41d7,_0x3a5a11,_0x6e039a,_0x55ad4d,_0x2e6791){const _0x3cf3b4=_0x37e9d2;super(),this[_0x3cf3b4(0xde)]=_0x4a41d7,this[_0x3cf3b4(0xce)]=_0x3a5a11,this[_0x3cf3b4(0xed)]=_0x6e039a,this[_0x3cf3b4(0xfe)]=_0x55ad4d,this[_0x3cf3b4(0xd0)]=_0x2e6791;}async[_0x37e9d2(0xf2)](){const _0x1d1587=_0x37e9d2;return this[_0x1d1587(0x100)]();}async[_0x37e9d2(0x100)](){const _0x40f542=_0x37e9d2;throw new Error(_0x40f542(0xfd));}async[_0x37e9d2(0xc6)](_0x46c229){return this['loadSheetAsync'](_0x46c229);}async[_0x37e9d2(0xdb)](_0x239ffa,_0x37cdcf){const _0x40e7ed=_0x37e9d2;return await this[_0x40e7ed(0xfe)]['loadSheet'](_0x239ffa,0x0,_0x37cdcf)?(await this[_0x40e7ed(0xd0)][_0x40e7ed(0xee)](_0x239ffa),this[_0x40e7ed(0xde)]['getUniverSheet'](_0x239ffa)):null;}[_0x37e9d2(0xc4)](_0x24d767,_0x3836ab){const _0x4b2b09=_0x37e9d2,_0x43089d=this['_injector'][_0x4b2b09(0x103)](_0x586c47[_0x4b2b09(0xff)])['waitForRoom$'](_0x24d767)[_0x4b2b09(0xe0)](_0x5f00e5[_0x4b2b09(0xea)](_0x263aae=>_0x263aae[_0x4b2b09(0x101)]))[_0x4b2b09(0xd9)](_0x27d1d5=>_0x3836ab(Array[_0x4b2b09(0xdf)](_0x27d1d5[_0x4b2b09(0xe5)]())));return _0x8570ab[_0x4b2b09(0xd4)](_0x43089d);}[_0x37e9d2(0xfb)](){const _0x1512b6=_0x37e9d2,_0x1e1a19=this[_0x1512b6(0xed)][_0x1512b6(0xcf)]();if(!_0x1e1a19)return _0x586c47[_0x1512b6(0xd6)]['NOT_COLLAB'];const _0x591257=this[_0x1512b6(0xd0)][_0x1512b6(0xcd)](_0x1e1a19['getUnitId']());return _0x591257?_0x591257[_0x1512b6(0xf4)][_0x1512b6(0xd3)]:_0x586c47[_0x1512b6(0xd6)]['NOT_COLLAB'];}},_0x4cb583[_0x37e9d2(0xe3)]=_0x477849([_0x1b8999(0x1,_0x8570ab[_0x37e9d2(0xd5)](_0x8570ab[_0x37e9d2(0xe8)])),_0x1b8999(0x2,_0x8570ab['IUniverInstanceService']),_0x1b8999(0x3,_0x8570ab[_0x37e9d2(0xd5)](_0x263472[_0x37e9d2(0xe6)])),_0x1b8999(0x4,_0x8570ab['Inject'](_0x586c47[_0x37e9d2(0xf0)]))],_0x4cb583['FCollaboration']);class _0x3ccc10 extends _0x2e9cb1[_0x37e9d2(0xe9)]{[_0x37e9d2(0xeb)](){const _0x1bb13d=_0x37e9d2;return this[_0x1bb13d(0xce)][_0x1bb13d(0xc5)](_0x4cb583[_0x1bb13d(0xe3)],{'getUniverSheet':_0x29897e=>this['getUniverSheet'](_0x29897e)});}[_0x37e9d2(0xf3)](_0x20434a,_0x24c7e7,_0x483c38){const _0x1c4102=_0x37e9d2;return this[_0x1c4102(0xce)][_0x1c4102(0x103)](_0x586c47[_0x1c4102(0xcc)])[_0x1c4102(0xf8)](_0x20434a,_0x24c7e7,_0x483c38);}[_0x37e9d2(0xd2)](_0x599b95,_0x236a9e,_0x2463bd){const _0xf0835d=_0x37e9d2;return this['_injector'][_0xf0835d(0x103)](_0x586c47[_0xf0835d(0xcc)])[_0xf0835d(0xd1)](_0x599b95,_0x236a9e,_0x2463bd);}}_0x2e9cb1[_0x37e9d2(0xe9)][_0x37e9d2(0x105)](_0x3ccc10),Object[_0x37e9d2(0xe7)](_0x4cb583,Symbol[_0x37e9d2(0xf1)],{'value':_0x37e9d2(0xf7)});}));
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0xd869(_0x1dc9d5,_0x23723e){const _0x5f3338=_0x5f33();return _0xd869=function(_0xd869b9,_0x1602dd){_0xd869b9=_0xd869b9-0x1ea;let _0x230744=_0x5f3338[_0xd869b9];return _0x230744;},_0xd869(_0x1dc9d5,_0x23723e);}function _0x5f33(){const _0x1515d6=['href','_updateLocalCursor','dispose','collabStatus.offline','_textBubble','getFocusedUnit','_hasFormulaInDirtyRanges','INVITE_CODE_REQUIRED','@univerjs-pro/collaboration-client','_initWindowErrorListener','_handleEvent','_docTransformStateCacheService','TOO_MANY_REQUESTS','OffLineIcon','now','_cursors','stage','UniverProCollaborationClientUi','_syncEditingCollabCursorService','cursorInfo','url(#off-line-icon_clip0_910_343)','rgba(255,\x20255,\x20255,\x200.01)','with','whenReady','on-line-icon_clip0_910_349','m1Prime','_showGuardMessage','editingUnit','_online','ENTITLE_CHAT_LIMIT_EXCEED','handleInsertCol','UniverRpc','forwardRef','_anchorDot','forEach','_status$','FromArray','_docSkeleton','enableFrontendLog','currentColor','setShapeProps','height','getViewport','/universer-api/license/formula/limit/start','hovered','INVALID_ARGUMENT','SheetSkeletonManagerService','_localStorageService','IDocClipboardService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_updateURLWithCurrentState','NOT_COLLAB','currentSkeleton$','beginPath','@univerjs/drawing','FormulaExecutedStateType','_onCursorDelete','SetSelectionsOperation','Shape','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_ASYNCIO_CANCELLED','_document','then','origin','string','transformRemoteChangeset','getCellPositionByOffset','url(#on-line-icon_clip0_910_349)','AUTHORIZE_CODE_ILLEGAL','registerBeforeClose','CONNECTOR_DATA_TOO_LARGE','APPLY_NON_SEQUENTIAL_REVISION','location','runOnServer','throttleTime','ILogService','CollaborationDataLoaderController','_initCommandExecutedListener','startsWith','_localeService','session.collaboration-timeout','shift','UniverInstanceType','triggerDblclick','transformByState','SetTextSelectionsOperation','Disposable','dispose$','SetDocZoomRatioOperation','univer-flex\x20univer-items-center','ENSURE_SNAPSHOT_EXECUTION','DependentOn','registerRefRange','setConfig','getActiveRange','_transformPreviousActiveRange','_colorIndex','_docTransformSelectionsService','PENDING','UPDATE_CURSOR','_toggleOffline','registerRenderModule','m2Prime','_entities','getValue','switchMap','_logService','_checkAndWaitForCalculationPermission','_init','UniverDrawing','_assignedColors','show','259329UrHHwt','_hover','SetFormulaCalculationStartMutation','RemoveColCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','reconnect','YUUMI_SUBSCRIPTION_NOT_FOUND','limitInfo','type','deserializeRangeWithSheet','sessionStatus$','425752JqPTVa','_hideTimer','getColor','colorChannel1','UNDEFINED','ENTITLE_REPORT_LIMIT_EXCEED','catch','history','@univerjs/ui','random','getOwnPropertyDescriptor','searchParams','startColumn','14RCztlw','size','DocCollaborationEntity','stringify','IRenderManagerService','APPLY_DUPLICATED','setStateCache','ENTITLE_DUP_SUBSCRIPTION','1543959JwKbjP','clipPath','startRow','SYNCED','_handleLeaveEvent','transformStateCache','connectInjector','runId','getTypeOfUnitAdded$','TEXT_RANGE_LAYER_INDEX','_setFormulaLimitStatus','imageSourceType','rxjs','ALREADY_EXISTS','@univerjs/docs-ui','save','UniverProCollaborationClient','@univerjs/sheets','WebURLService','min','_createSocketURL','_getFormulaLimitStatus','_cursorInfo$','EMAIL_HAS_BEEN_BOUND','DeleteRangeMoveLeftCommandId','makeDirty','endRow','tag','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNIVER_SHEET','addObject','_clearOtherTimers','_startDocCollabCursor','UniverNetwork','_getScale','getUniverSheetInstance','CollaborationEvent','getMember','getCollabEntity$','shareReplay','executeCommand','handleMoveRange','distinctUntilChanged','from','error','_initStatusListener','unitID','SheetsSelectionsService','UNIVER_DOC','urlChange$','_injector','LOGIN_FAILED','HEADER_MENU','runRefRangeMutations','off-line-icon','SNAPSHOT_INVALID_SNAPSHOT','handleInsertRangeMoveDown','NodePositionConvertToRectRange','ENTITLE_CAN_NOT_BUY_LOWER_OTP','22mwYeYY','/universer-api/license/formula/limit/done','OTHER_CLIENT_EDITING','COMPLETION_FINISHED','sheetID','labelPosition','addObjects','INotificationService','removeParam','collab-client.tooltip.reconnect','#FFF','disposeUnit','CollaborationUIEventService','CHANGESET_REVISION_CONFILICT','width','toStringTag','CommandType','Tools','REDEMPTION_CODE_HAS_BEEN_CREATED','MemberService','subscribeEvent','UniverEngineFormula','cursorInfo$','totalFormulasToCalculate','clsx','_cursorShapes','Plugin','_handleHeartbeatEvent','WECHAT_HAS_BEEN_BOUND','UniverSheets','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','beforeCommandExecuted','on-line-icon','LOGIN_TOKEN_PROCESSING_FAILED','_getSessionTicket','params','handleInsertRangeMoveRight','@univerjs/design','_transformService','undoState','[Window\x20Error]:\x20','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','PAYMENT_CHANNEL_NOT_SUPPORT','collabStatus.synced','VIEW_MAIN','ThemeService','operators','_saveTaskMap','_collabSessionService','InsertRangeMoveRightCommandId','svg','COLORS','0\x200\x2017\x2016','max','_lastPointer','fromEvent','_taskIds','UNAUTHENTICATED','BrowserCollaborationSocketService','attrs','DataLoaderService','fill','debounceTime','USER_NOT_INVITED_CODE','UniverEngineRender','RxDisposable','pipe','ITransformService','RevisionService','getCellMatrix','UnitStatus','sessionTicket','HTTPService','@univerjs/engine-formula','complete','maxFormulaLimit','_dataLoaderService','current','_initStatusComponent','map','defineProperty','_collaborationUIEventService','DisposableCollection','filter','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_instanceService','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','2226fZHjkT','handleInsertRow','debounce','_config','RegularPolygon','handleDeleteRangeMoveLeft','getTypeOfUnitDisposed$','white','_httpService','UniverSheetsUi','_handleJoinEvent','_docClipboardService','stageInfo','isTransformMutationFailure','getLocalCacheKey','parseInt','getSkeleton','replaceState','_id','DOC_RANGE_TYPE','jsx','textRanges','row','_colorAssignService','children','restore','_refreshCollabCursors','ILocalStorageService','DEFAULT_WS_SESSION_TICKET_URL','PY_RUNTIME_SCRIPT_ERROR','onRendered','removeEventListener','_applyCommand','join','transformSelections','code','subUnitId','subunit','session.will-retry','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initEntityListener','JOIN_ROOM_FAILED','toDisposable','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','none','_initUserListener','_sheetSkeletonManagerService','CanceledError','react','_session','/universer-api/license/formula/limit/status','black','_color','startFormulaLimitUrl','trim','_revisionService','_anchor','_scheduleSaving','MoveRangeCommandId','_collaborationController','CollaborationUIEventId','FETCH_MISS','ICommandService','UniverDesign','onCommandExecuted','IUIPartsService','OnLineIcon','0\x200\x2016\x2016','_ensureSubject','_beforeCloseService','setTimeout','YUUMI_URL_COL_OUT_OF_RANGE','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','_startCalculationLimit','text','NOT_FOUND','getSheetBySheetId','IMessageService','stack','react/jsx-runtime','CollaborationStatus','combineLatest','length','_updateSubUnitFromURLParams','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Vector2','top','getRangePointData','_name','YUUMI_AI_RUN_FAILED','getVpScrollXYInfoByPosToVp','ENTITLE_INSUFFICIENT_QUOTA','_docSkeletonManagerService','NO_OTHER_CLIENTS_EDITING','formula.calculation.started','_pollingInterval','_refRangeService','MOBILE_HAS_BEEN_BOUND','ISocketService','ERROR_AGAIN','uni.network.url-service','permission.title','syncEditingCollabCursor','_transformUndoRedoStack','evenodd','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getOffsetConfig','engine','72FWqkmd','30SYEfYo','entityInit$','_drawTextRange','unit','InsertRangeMoveDownCommandId','USER_NOT_FOUND','memberID','_scheduleClearOtherTimer','addClipboardHook','collab-rect-range-','http://www.w3.org/2000/svg','OFFLINE','socket$','storage','_registerRenderDependencies','onPointerMove$','bottom','M0\x200H16V16H0z','get','RemoveRowCommandId','_unitStatus','750688NEMche','DATA_SOURCE_TOO_LARGE','roomMembers','EMAIL_VERIFY_CODE_MISMATCH','UniverCollaborationClientUIPlugin','...','ILocalCacheService','createElement','unshift','all','getConfig','lineno','_initUnhandledRejectionListener','getStateCache','saveImage','INVITE_CODE_HAS_BEEN_UES','YUUMI_CONNECTOR_URL_NOT_FOUND','getDocRanges','resize','name','_registerDependencies','CONFLICT','OTHER_CLIENTS_EDITING','3615UXBiDd','UniverProCollaboration','popstate','updateOfflineData','CollaborationSessionService','saveOfflineData','search','disposeWithMe','_initCommandInterceptor','DocSkeletonManagerService','CollaborationController','LICENSE_DISTRO_REJECTED','isArray','_heartbeatTimer','getAncestorScale','green.600','IRemoteInstanceService','INVITE_CODE_ALREADY_BOUND','measureText','ticket','ENTITLE_NEED_BILLING_ADDRESS','arc','REDEMPTION_CODE_INACTIVE','_collaborationSessionService','_uiPartsService','_selfUnitIDs','RECT','setAlpha','skeleton','_docStateChangeManagerService','handleIRemoveRow','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','bind','takeUntil','UniverDocsUi','mask','_startSheetCollabCursor','idSuffix','releaseFormulaLimitUrl','invokeId','getMemberID','closePath','red.300','doc.mutation.rich-text-editing','_disabled','_renderManagerService','_checkCalculationAvailable','_monkeyPatchLogService','collaboration-client.offline-data-not-saved','functionsExecutedState','collabStatus.conflict','addEventListener','ColorKit','SOCKET_FAILED_RETRY','pushState','_handleHover','mapTo','_render','_initEvent','getUnit','useObservable','purple.300','set','_hovered','_removeCollabCursors','getSheetId','_setupSubUnitSync','values','includes','NodePositionConvertToCursor','Error','createSocket','saveTaskMap','activeSheet$','permission.content','_univerInstanceService','LICENSE_MAX_UNITS_EXCEEDED','fillRule','currentTheme$','translate(.97)','object','_initDependencies','send','formula.calculation.unable','BehaviorSubject','236985OBhAqh','backgroundColor','APPLY_PERMISSION_DENIED','find','Loading','SheetCollabCursorShape','IConfigService','2466924jgvjOc','YUUMI_NO_CUBOID_FOR_QUESTION','@univerjs/network','_cursor','_backgroundColor','endColumn','APPLY_REVISION_CONFILICT','getUnitStatus$','touchDependencies','_transformHistoryAndStateStack','setItem','APPLY_REJECT','_uploadLog','next','deepClone','getRenderById','collaboration.single-unit.warning','REDEMPTION_INVALID_CODE','clearTimeout','ranges','_lastResponseTimestamp','pluginName','IUniverInstanceService','_releaseCalculationLimit','AWAITING_WITH_PENDING','_messageService','actions','Rectangle','_localCacheService','unitId','getCoordByCell','Injector','_collabCursorState$','Subject','SessionStatus','useRef','MessageType','body','assignAColorForMemberID','redoState','focused$','fillText','path','univer-mr-2\x20univer-flex\x20univer-text-xl','_onRefRangeChange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transform','application/json','YUUMI_UNABLE_LOAD_URL','LocaleService','selection','replace','SetFormulaCalculationNotificationMutation','CLOSE_ROOM','init','isActive','[Unhandled\x20Rejection]:\x20','@univerjs/core','disableLocalCache','fromEventSubject','unsubscribe','_onCursorUpdate','off-line-icon_clip0_910_343','_labelPosition','_send','flatMap','getformulaLimitStatusUrl','unhandledrejection','_clearPolling','findNodePositionByCharIndex','_getSheetObject','PERMISSION_DENIED','onPointerEnter$','_getAnchorBounding','_maxFormulaLimit','merge','has','_scheduleHeartbeat','collabStatus.notCollab','REDEMPTION_USER_REDEEM_TIMES_EXCEED','transformIMECache','loadUnit','INVALID_INVITE_CODE','eventID','Optional','setParam','_scene','_draw','CURRENT_STATUS_CANNOT_OPERATE','START_CALCULATION','collaboration-client-ui.config','exhaustSavingTask','_doCreateSocket','parse','generateRandomId','UniverCollaborationClientPlugin','LICENSE_IMPORT_SIZE_EXCEEDED','push','Warning','USERS_LEAVE','range','enableLocalCache','defs','transformMutation','subscribe','_toggleOnline','Workbook','LOCAL_CACHE_INTERVAL','collab-text-range-','?taskId=','xlink:href','UniverUi','transformMutationsWithChangeset','fillStyle','drawWith','selections','_eventUnsubscribe','clearInterval','event$','Rect','_setupBeforeClosingHandler','currentUsage','_currentUsage','getParam','_getMergeRange','sheetId','jsxs','_memberService','result','getUndoRedoMutationParamsCache','_themeService','SHEET_VIEWPORT_KEY','_docTransformIMECacheService','delete','split','add','_drawAnchor','contains','_range','_commandService','requireSession','column','DocStateChangeManagerService','color','round','mutations','docStateChange$','DesktopCollaborationStatusDisplayController','DocIMEInputManagerService','dirtyRanges','YUUMI_RATE_OVER_LIMIT','EffectRefRangId','SUCCESS','getCurrentRevOfUnit','getColorFromTheme','@univerjs-pro/collaboration','displayName','status$','toString','_shapes','ACTIVE_UNIT_EVENT_CHANNEL','reason','UNRECOGNIZED','DocSelectionManagerService','getCollabCursors$','_updateCollabCursors','post','_removeClearOtherTimer','colno','handleIRemoveCol','_entityInit$','message','replaceDocRanges','isEditing','hide','exports','@univerjs/rpc','_collabCursorController','SetWorksheetActivateCommand','_roomMembers$','handleDeleteRangeMoveUp','div','Inject','_configService','data','Failed','INTERNAL_ERROR','formula.calculation.waiting','debug','REDEMPTION_CODE_FULLY_REDEEMED','1em','RichTextEditingMutation','lineTo','TEXT','_imageIoService','_unitOnClients','getUnitId','amd','RemoteUniscriptService','_cachedData','newValue','isTransformMutationsWithChangesetSuccess','_saveCache','registerComponent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_memberID','asObservable','[CollaborationDataLoaderController]','LOCAL_CACHE_INTERVAL_KEY','SUBMIT_CHANGESET_TIMEOUT','_notificationService','_context','symbol','wsSessionTicketUrl','some','IImageIoService'];_0x5f33=function(){return _0x1515d6;};return _0x5f33();}(function(_0x5d7b73,_0x1d1cb9){const _0x32d03d=_0xd869,_0x251028=_0x5d7b73();while(!![]){try{const _0x2fee79=-parseInt(_0x32d03d(0x4c7))/0x1+parseInt(_0x32d03d(0x3ab))/0x2*(parseInt(_0x32d03d(0x244))/0x3)+-parseInt(_0x32d03d(0x39e))/0x4+-parseInt(_0x32d03d(0x1ee))/0x5*(-parseInt(_0x32d03d(0x445))/0x6)+-parseInt(_0x32d03d(0x393))/0x7*(-parseInt(_0x32d03d(0x4b1))/0x8)+parseInt(_0x32d03d(0x3b3))/0x9*(parseInt(_0x32d03d(0x4b2))/0xa)+parseInt(_0x32d03d(0x3ee))/0xb*(-parseInt(_0x32d03d(0x24b))/0xc);if(_0x2fee79===_0x1d1cb9)break;else _0x251028['push'](_0x251028['shift']());}catch(_0x1d844d){_0x251028['push'](_0x251028['shift']());}}}(_0x5f33,0x61e62),function(_0x56a97c,_0x1aab00){const _0x16dc1c=_0xd869;typeof exports==_0x16dc1c(0x23f)&&typeof module<'u'?_0x1aab00(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[_0x16dc1c(0x310)]?define([_0x16dc1c(0x2fa),_0x16dc1c(0x494),_0x16dc1c(0x32b),_0x16dc1c(0x284),_0x16dc1c(0x3a6),'rxjs',_0x16dc1c(0x413),_0x16dc1c(0x475),_0x16dc1c(0x2fb),_0x16dc1c(0x3c4),'@univerjs/engine-render',_0x16dc1c(0x24d),_0x16dc1c(0x3c1),_0x16dc1c(0x359),_0x16dc1c(0x2e6),'@univerjs/docs',_0x16dc1c(0x437),'rxjs/operators','@univerjs/sheets-ui'],_0x1aab00):(_0x56a97c=typeof globalThis<'u'?globalThis:_0x56a97c||self,_0x1aab00(_0x56a97c[_0x16dc1c(0x334)]={},_0x56a97c['React'],_0x56a97c[_0x16dc1c(0x3c3)],_0x56a97c['UniverCore'],_0x56a97c[_0x16dc1c(0x2ba)],_0x56a97c[_0x16dc1c(0x3bf)],_0x56a97c[_0x16dc1c(0x484)],_0x56a97c['React'],_0x56a97c[_0x16dc1c(0x342)],_0x56a97c[_0x16dc1c(0x40b)],_0x56a97c[_0x16dc1c(0x42e)],_0x56a97c[_0x16dc1c(0x3d4)],_0x56a97c[_0x16dc1c(0x211)],_0x56a97c[_0x16dc1c(0x390)],_0x56a97c[_0x16dc1c(0x1ef)],_0x56a97c['UniverDocs'],_0x56a97c[_0x16dc1c(0x403)],_0x56a97c['rxjs'][_0x16dc1c(0x41c)],_0x56a97c[_0x16dc1c(0x44e)]));}(this,function(_0x3e1990,_0x28f318,_0x493e59,_0x51c091,_0x47d161,_0x2d756d,_0x1039db,_0x48ac88,_0x455030,_0x184ff5,_0x396fb6,_0x38be65,_0x594fa4,_0x2e6991,_0x5b9cab,_0x37270e,_0xfcd088,_0xe24628,_0x5aaf45){'use strict';const _0x25c8ac=_0xd869;var _0x16d5e3=Object[_0x25c8ac(0x43e)],_0x108762=(_0x35cb87,_0x2bb3a0,_0x55b7ef)=>_0x2bb3a0 in _0x35cb87?_0x16d5e3(_0x35cb87,_0x2bb3a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55b7ef}):_0x35cb87[_0x2bb3a0]=_0x55b7ef,_0x3a54cf=(_0x6e6c74,_0xb6a63b,_0x48e5f6)=>_0x108762(_0x6e6c74,typeof _0xb6a63b!=_0x25c8ac(0x31f)?_0xb6a63b+'':_0xb6a63b,_0x48e5f6);function _0x30e69f({ref:_0x32af84,..._0xd224fa}){const _0x334bda=_0x25c8ac,{icon:_0x4edddc,id:_0x483b3e,className:_0x235cc8,extend:_0x36fd03,..._0x4ce8ec}=_0xd224fa,_0x50b6fd=('univerjs-icon\x20univerjs-icon-'+_0x483b3e+'\x20'+(_0x235cc8||''))[_0x334bda(0x47b)](),_0xb16133=_0x48ac88[_0x334bda(0x26e)]('_'+_0x3cd384());return _0x1824cc(_0x4edddc,''+_0x483b3e,{'defIds':_0x4edddc['defIds'],'idSuffix':_0xb16133[_0x334bda(0x43b)]},{'ref':_0x32af84,'className':_0x50b6fd,..._0x4ce8ec},_0x36fd03);}function _0x1824cc(_0x139793,_0x433eee,_0x44ece7,_0x139346,_0x5d40b3){const _0x4c3fb8=_0x25c8ac;return _0x48ac88['createElement'](_0x139793[_0x4c3fb8(0x3ce)],{'key':_0x433eee,..._0x3bb75a(_0x139793,_0x44ece7,_0x5d40b3),..._0x139346},(_0x20c545(_0x139793,_0x44ece7)[_0x4c3fb8(0x45d)]||[])[_0x4c3fb8(0x43d)]((_0x581013,_0x208988)=>_0x1824cc(_0x581013,_0x433eee+'-'+_0x139793[_0x4c3fb8(0x3ce)]+'-'+_0x208988,_0x44ece7,void 0x0,_0x5d40b3)));}function _0x3bb75a(_0x34d2f4,_0x867fd9,_0xaa8e4e){const _0x2ccbd9=_0x25c8ac,_0x8552e6={..._0x34d2f4['attrs']};_0xaa8e4e!=null&&_0xaa8e4e[_0x2ccbd9(0x3a1)]&&_0x8552e6['fill']===_0x2ccbd9(0x3a1)&&(_0x8552e6['fill']=_0xaa8e4e['colorChannel1']),_0x34d2f4[_0x2ccbd9(0x3ce)]===_0x2ccbd9(0x212)&&_0x8552e6['id']&&(_0x8552e6['id']=_0x8552e6['id']+_0x867fd9[_0x2ccbd9(0x214)]),Object['entries'](_0x8552e6)[_0x2ccbd9(0x345)](([_0x300140,_0x11e6e4])=>{const _0x3fc173=_0x2ccbd9;_0x300140===_0x3fc173(0x212)&&typeof _0x11e6e4==_0x3fc173(0x363)&&(_0x8552e6[_0x300140]=_0x11e6e4[_0x3fc173(0x27e)](/url\(#(.*)\)/,'url(#$1'+_0x867fd9['idSuffix']+')'));});const {defIds:_0x444ff1}=_0x867fd9;return!_0x444ff1||_0x444ff1[_0x2ccbd9(0x497)]===0x0||(_0x34d2f4[_0x2ccbd9(0x3ce)]==='use'&&_0x8552e6[_0x2ccbd9(0x2b9)]&&(_0x8552e6[_0x2ccbd9(0x2b9)]=_0x8552e6[_0x2ccbd9(0x2b9)]+_0x867fd9[_0x2ccbd9(0x214)]),Object['entries'](_0x8552e6)[_0x2ccbd9(0x345)](([_0x5b4e43,_0x3327de])=>{const _0x27d23e=_0x2ccbd9;typeof _0x3327de=='string'&&(_0x8552e6[_0x5b4e43]=_0x3327de[_0x27d23e(0x27e)](/url\(#(.*)\)/,'url(#$1'+_0x867fd9[_0x27d23e(0x214)]+')'));})),_0x8552e6;}function _0x20c545(_0x4cbd60,_0x2bb8ec){const _0x280936=_0x25c8ac;var _0x53d5ca;const {defIds:_0x1b606f}=_0x2bb8ec;return!_0x1b606f||_0x1b606f[_0x280936(0x497)]===0x0?_0x4cbd60:_0x4cbd60[_0x280936(0x3ce)]===_0x280936(0x2b1)&&((_0x53d5ca=_0x4cbd60['children'])!=null&&_0x53d5ca[_0x280936(0x497)])?{..._0x4cbd60,'children':_0x4cbd60['children']['map'](_0xd9bd40=>typeof _0xd9bd40['attrs']['id']=='string'&&_0x1b606f&&_0x1b606f[_0x280936(0x233)](_0xd9bd40['attrs']['id'])?{..._0xd9bd40,'attrs':{..._0xd9bd40[_0x280936(0x429)],'id':_0xd9bd40[_0x280936(0x429)]['id']+_0x2bb8ec[_0x280936(0x214)]}}:_0xd9bd40)}:_0x4cbd60;}function _0x3cd384(){const _0x59fc07=_0x25c8ac;return Math[_0x59fc07(0x3a7)]()[_0x59fc07(0x2e9)](0x24)['substring'](0x2,0x8);}_0x30e69f[_0x25c8ac(0x2e7)]='UniverIcon';const _0x44a0c2={'tag':_0x25c8ac(0x420),'attrs':{'xmlns':_0x25c8ac(0x4bc),'fill':_0x25c8ac(0x471),'viewBox':_0x25c8ac(0x488),'width':_0x25c8ac(0x309),'height':_0x25c8ac(0x309)},'children':[{'tag':'g','attrs':{'clipPath':_0x25c8ac(0x337)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'stroke':_0x25c8ac(0x34a),'d':_0x25c8ac(0x48d),'strokeLinecap':_0x25c8ac(0x2db),'strokeLinejoin':_0x25c8ac(0x2db),'strokeWidth':1.2}}]},{'tag':_0x25c8ac(0x2b1),'attrs':{},'children':[{'tag':_0x25c8ac(0x3b4),'attrs':{'id':_0x25c8ac(0x289)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'fill':_0x25c8ac(0x44c),'d':_0x25c8ac(0x4c3)}}]}]}],'defIds':[_0x25c8ac(0x289)]},_0x203892=_0x48ac88['forwardRef'](function(_0x32a454,_0x3a44e2){const _0x3f9267=_0x25c8ac;return _0x48ac88[_0x3f9267(0x4ce)](_0x30e69f,Object['assign']({},_0x32a454,{'id':_0x3f9267(0x3e9),'ref':_0x3a44e2,'icon':_0x44a0c2}));});_0x203892[_0x25c8ac(0x2e7)]=_0x25c8ac(0x330);const _0x154113={'tag':_0x25c8ac(0x420),'attrs':{'xmlns':_0x25c8ac(0x4bc),'fill':'none','viewBox':_0x25c8ac(0x422),'width':_0x25c8ac(0x309),'height':_0x25c8ac(0x309)},'children':[{'tag':'g','attrs':{'clipPath':_0x25c8ac(0x366)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'stroke':_0x25c8ac(0x34a),'d':_0x25c8ac(0x444),'strokeLinecap':'round','strokeLinejoin':_0x25c8ac(0x2db),'strokeWidth':1.2}}]},{'tag':_0x25c8ac(0x2b1),'attrs':{},'children':[{'tag':_0x25c8ac(0x3b4),'attrs':{'id':_0x25c8ac(0x33b)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'fill':_0x25c8ac(0x44c),'d':_0x25c8ac(0x4c3),'transform':_0x25c8ac(0x23e)}}]}]}],'defIds':[_0x25c8ac(0x33b)]},_0xf8140=_0x48ac88[_0x25c8ac(0x343)](function(_0x38025a,_0x33f56d){const _0x5f2372=_0x25c8ac;return _0x48ac88[_0x5f2372(0x4ce)](_0x30e69f,Object['assign']({},_0x38025a,{'id':_0x5f2372(0x40e),'ref':_0x33f56d,'icon':_0x154113}));});_0xf8140[_0x25c8ac(0x2e7)]=_0x25c8ac(0x487);function _0x23753c(_0x4a96a6){const _0x5a20bf=_0x25c8ac;switch(_0x4a96a6){case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x4bd)]:return _0x5a20bf(0x326);case _0x493e59[_0x5a20bf(0x495)]['CONFLICT']:return _0x5a20bf(0x221);case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x482)]:return'collabStatus.fetchMiss';case _0x493e59[_0x5a20bf(0x495)]['NOT_COLLAB']:return _0x5a20bf(0x299);case _0x493e59['CollaborationStatus']['AWAITING']:case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x263)]:return'collabStatus.syncing';case _0x493e59['CollaborationStatus'][_0x5a20bf(0x3b6)]:case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x385)]:return _0x5a20bf(0x419);}}function _0x5d6759(_0x44027b){const _0x653721=_0x25c8ac,{status$:_0x1576dc}=_0x44027b,_0x3ba682=_0x47d161[_0x653721(0x22b)](_0x1576dc,_0x493e59[_0x653721(0x495)][_0x653721(0x356)]),_0x5e734d=_0x47d161['useDependency'](_0x51c091[_0x653721(0x27c)]),_0x24d327=_0x47d161['useDependency'](_0x493e59[_0x653721(0x1f2)]),_0x48ba29=_0x3ba682!==_0x493e59[_0x653721(0x495)][_0x653721(0x4bd)],_0x30645d=_0x5e734d['t'](_0x23753c(_0x3ba682)),_0x4c4784=_0x48ba29?_0x28f318[_0x653721(0x459)](_0xf8140,{}):_0x28f318[_0x653721(0x459)](_0x203892,{}),_0x5e0068=_0x48ac88['useCallback'](()=>{const _0x19623e=_0x653721;_0x48ba29||_0x24d327[_0x19623e(0x398)]();},[_0x48ba29,_0x24d327]);function _0x43d532(){const _0x425473=_0x653721;return _0x28f318[_0x425473(0x2c9)](_0x425473(0x300),{'className':_0x425473(0x37c),'onClick':_0x5e0068,'children':[_0x28f318[_0x425473(0x459)](_0x425473(0x300),{'className':_0x1039db[_0x425473(0x406)](_0x425473(0x276),{'univer-text-green-500':_0x48ba29,'univer-text-red-500':!_0x48ba29}),'children':_0x4c4784}),_0x28f318[_0x425473(0x459)](_0x425473(0x300),{'className':_0x425473(0x278),'children':_0x30645d})]});}return _0x48ba29?_0x43d532():_0x28f318[_0x653721(0x459)](_0x1039db['Tooltip'],{'title':_0x5e734d['t'](_0x653721(0x3f7)),'children':_0x43d532()});}var _0x5e3dad=Object[_0x25c8ac(0x3a8)],_0x2bba69=(_0x81345b,_0x31de25,_0xd45531,_0x849073)=>{const _0x4e76c0=_0x25c8ac;for(var _0x2a8da=_0x849073>0x1?void 0x0:_0x849073?_0x5e3dad(_0x31de25,_0xd45531):_0x31de25,_0x47a9a3=_0x81345b[_0x4e76c0(0x497)]-0x1,_0x39fba3;_0x47a9a3>=0x0;_0x47a9a3--)(_0x39fba3=_0x81345b[_0x47a9a3])&&(_0x2a8da=_0x39fba3(_0x2a8da)||_0x2a8da);return _0x2a8da;},_0x48ca72=(_0x16e758,_0x11d0fd)=>(_0x23e6cd,_0x3e52af)=>_0x11d0fd(_0x23e6cd,_0x3e52af,_0x16e758);_0x3e1990['DesktopCollaborationStatusDisplayController']=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x260071,_0x591f6d,_0x378f94,_0x53658d){const _0x3afe2a=_0x25c8ac;super(),_0x3a54cf(this,_0x3afe2a(0x346),new _0x2d756d[(_0x3afe2a(0x243))](_0x493e59[_0x3afe2a(0x495)][_0x3afe2a(0x356)])),(this[_0x3afe2a(0x23a)]=_0x260071,this['_injector']=_0x591f6d,this['_collaborationController']=_0x378f94,this[_0x3afe2a(0x206)]=_0x53658d,this['_initStatusComponent'](),this[_0x3afe2a(0x3e0)]());}[_0x25c8ac(0x3e0)](){const _0x346733=_0x25c8ac;this['disposeWithMe'](this['_univerInstanceService'][_0x346733(0x273)][_0x346733(0x430)](_0x2d756d[_0x346733(0x38c)](()=>{const _0x5e6a73=_0x346733,_0x2eed89=this['_univerInstanceService'][_0x5e6a73(0x328)]();return _0x2eed89?this['_collaborationController'][_0x5e6a73(0x3d9)](_0x2eed89[_0x5e6a73(0x30f)]()):_0x2d756d['of'](null);}),_0x2d756d[_0x346733(0x38c)](_0x5a8b79=>_0x5a8b79?_0x5a8b79[_0x346733(0x2e8)]:_0x2d756d['of'](_0x493e59[_0x346733(0x495)][_0x346733(0x356)])))[_0x346733(0x2b3)](_0x1c65cf=>{this['_status$']['next'](_0x1c65cf);}));}[_0x25c8ac(0x43c)](){const _0x3add05=_0x25c8ac;this[_0x3add05(0x1f5)](this['_uiPartsService'][_0x3add05(0x316)](_0x47d161['BuiltInUIPart'][_0x3add05(0x3e7)],()=>_0x47d161[_0x3add05(0x3b9)](_0x493f43({'status$':this[_0x3add05(0x346)][_0x3add05(0x319)]()}),this[_0x3add05(0x3e5)])));}},_0x3e1990[_0x25c8ac(0x2de)]=_0x2bba69([_0x48ca72(0x0,_0x51c091[_0x25c8ac(0x261)]),_0x48ca72(0x1,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x48ca72(0x2,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x1f8)])),_0x48ca72(0x3,_0x47d161[_0x25c8ac(0x486)])],_0x3e1990[_0x25c8ac(0x2de)]);function _0x493f43(_0x5bc3d3){const {status$:_0x4e46b8}=_0x5bc3d3;return function(){const _0x119f80=_0xd869;return _0x28f318[_0x119f80(0x459)](_0x5d6759,{'status$':_0x4e46b8});};}const _0x2e14a9=_0x51c091['createIdentifier'](_0x25c8ac(0x4a9));var _0x221104=Object[_0x25c8ac(0x3a8)],_0x128adc=(_0x254b44,_0x4d9bbb,_0x2f03a6,_0x52119c)=>{const _0x3c7ed7=_0x25c8ac;for(var _0x335886=_0x52119c>0x1?void 0x0:_0x52119c?_0x221104(_0x4d9bbb,_0x2f03a6):_0x4d9bbb,_0x549ef4=_0x254b44[_0x3c7ed7(0x497)]-0x1,_0x3f1bf4;_0x549ef4>=0x0;_0x549ef4--)(_0x3f1bf4=_0x254b44[_0x549ef4])&&(_0x335886=_0x3f1bf4(_0x335886)||_0x335886);return _0x335886;},_0x29596e=(_0x47bfb1,_0x387f04)=>(_0x5b7c78,_0x2d8f7a)=>_0x387f04(_0x5b7c78,_0x2d8f7a,_0x47bfb1);_0x3e1990[_0x25c8ac(0x36f)]=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x332f48,_0x20132b,_0x36d830,_0x178ce9,_0x32a4f2){const _0x7a16ce=_0x25c8ac;super(),this[_0x7a16ce(0x20e)]=_0x332f48,this['_logService']=_0x20132b,this[_0x7a16ce(0x2d6)]=_0x36d830,this[_0x7a16ce(0x43a)]=_0x178ce9,_0x32a4f2?_0x32a4f2==null||_0x32a4f2[_0x7a16ce(0x33a)]()[_0x7a16ce(0x361)](()=>this[_0x7a16ce(0x38f)]()):(this['_logService'][_0x7a16ce(0x307)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x7a16ce(0x38f)]());}async[_0x25c8ac(0x38f)](){const _0x2c627a=_0x25c8ac,_0x1c83f0=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)](_0x2c627a(0x4b5)),_0x5c6c57=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)](_0x2c627a(0x39b)),_0x3ab3b2=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)]('subunit');if(!_0x1c83f0||!_0x5c6c57){this[_0x2c627a(0x38d)][_0x2c627a(0x307)](_0x2c627a(0x31a),_0x2c627a(0x46c));return;}const _0x9a8a59=await this['_dataLoaderService'][_0x2c627a(0x29c)](_0x1c83f0,Number(_0x5c6c57),_0x3ab3b2);_0x9a8a59&&_0x9a8a59 instanceof _0x51c091[_0x2c627a(0x2b5)]&&this[_0x2c627a(0x231)](_0x9a8a59);}async['_setupSubUnitSync'](_0x120cf5){const _0x101ca9=_0x25c8ac;await this[_0x101ca9(0x498)](_0x120cf5),_0x120cf5[_0x101ca9(0x238)][_0x101ca9(0x430)](_0x2d756d[_0x101ca9(0x210)](this['dispose$']))['subscribe'](_0x52ca8c=>{const _0x50afdc=_0x101ca9;_0x52ca8c&&this[_0x50afdc(0x355)](_0x52ca8c);}),this[_0x101ca9(0x20e)]['urlChange$'][_0x101ca9(0x430)](_0x2d756d[_0x101ca9(0x210)](this[_0x101ca9(0x37a)]))[_0x101ca9(0x2b3)](()=>this[_0x101ca9(0x498)](_0x120cf5));}[_0x25c8ac(0x355)](_0x46d2e2,_0x217078=!0x1){const _0x4f566d=_0x25c8ac,_0x1141c8=this[_0x4f566d(0x20e)][_0x4f566d(0x2c6)](_0x4f566d(0x46a));_0x46d2e2[_0x4f566d(0x230)]()!==_0x1141c8&&this[_0x4f566d(0x20e)][_0x4f566d(0x2a0)](_0x4f566d(0x46a),_0x46d2e2[_0x4f566d(0x230)](),_0x217078);}async[_0x25c8ac(0x498)](_0x41b7ca){const _0x2e3eb6=_0x25c8ac;var _0x38a41a;const _0x4f3eba=this[_0x2e3eb6(0x20e)]['getParam'](_0x2e3eb6(0x46a));if(!_0x4f3eba||!_0x41b7ca[_0x2e3eb6(0x491)](_0x4f3eba)){const _0x578749=_0x41b7ca['getUnhiddenWorksheets']()[0x0],_0xf2d36c=_0x41b7ca[_0x2e3eb6(0x491)](_0x578749);if(!_0xf2d36c)return;this[_0x2e3eb6(0x355)](_0xf2d36c,!0x0),await this[_0x2e3eb6(0x2d6)][_0x2e3eb6(0x3db)](_0x184ff5['SetWorksheetActivateCommand']['id'],{'unitId':_0x41b7ca['getUnitId'](),'subUnitId':_0x578749});return;}((_0x38a41a=_0x41b7ca['getActiveSheet']())==null?void 0x0:_0x38a41a[_0x2e3eb6(0x230)]())!==_0x4f3eba&&await this[_0x2e3eb6(0x2d6)][_0x2e3eb6(0x3db)](_0x184ff5[_0x2e3eb6(0x2fd)]['id'],{'unitId':_0x41b7ca[_0x2e3eb6(0x30f)](),'subUnitId':_0x4f3eba});}},_0x3e1990['CollaborationDataLoaderController']=_0x128adc([_0x29596e(0x0,_0x2e14a9),_0x29596e(0x1,_0x51c091['ILogService']),_0x29596e(0x2,_0x51c091[_0x25c8ac(0x483)]),_0x29596e(0x3,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x42a)])),_0x29596e(0x4,_0x51c091[_0x25c8ac(0x29f)](_0x455030[_0x25c8ac(0x1fe)]))],_0x3e1990['CollaborationDataLoaderController']);var _0x5ab5b8=Object[_0x25c8ac(0x3a8)],_0x114b66=(_0x3f606c,_0x4da2ed,_0x231806,_0x4abc6b)=>{const _0x2e326c=_0x25c8ac;for(var _0x32443c=_0x4abc6b>0x1?void 0x0:_0x4abc6b?_0x5ab5b8(_0x4da2ed,_0x231806):_0x4da2ed,_0x2dad0c=_0x3f606c[_0x2e326c(0x497)]-0x1,_0x1e3072;_0x2dad0c>=0x0;_0x2dad0c--)(_0x1e3072=_0x3f606c[_0x2dad0c])&&(_0x32443c=_0x1e3072(_0x32443c)||_0x32443c);return _0x32443c;},_0x715c48=(_0x2c07f6,_0x442b18)=>(_0x1bc16d,_0x2ba3ea)=>_0x442b18(_0x1bc16d,_0x2ba3ea,_0x2c07f6);let _0xee1fb5=class extends _0x51c091['RxDisposable']{constructor(_0x5af752,_0x56e938){const _0xc240b3=_0x25c8ac;super(),this[_0xc240b3(0x450)]=_0x5af752,this[_0xc240b3(0x30d)]=_0x56e938,this[_0xc240b3(0x38f)]();}[_0x25c8ac(0x38f)](){const _0x240618=_0x25c8ac,_0x7e188d=this;this[_0x240618(0x1f5)](this['_docClipboardService'][_0x240618(0x4ba)]({'onBeforePasteImage':async _0x3cd973=>{const _0x21e7eb=_0x240618,_0xba0326=await _0x7e188d[_0x21e7eb(0x30d)][_0x21e7eb(0x4d5)](_0x3cd973);return _0xba0326?{'source':_0xba0326['source'],'imageSourceType':_0xba0326[_0x21e7eb(0x3be)]}:null;}}));}};_0xee1fb5=_0x114b66([_0x715c48(0x0,_0x594fa4[_0x25c8ac(0x353)]),_0x715c48(0x1,_0x2e6991[_0x25c8ac(0x322)])],_0xee1fb5);const _0x124c8d=[_0x25c8ac(0x22c),'jiqing.500',_0x25c8ac(0x1fd),_0x25c8ac(0x219),'blue.400','yellow.400'];class _0x3dd070 extends _0x51c091[_0x25c8ac(0x379)]{constructor(){const _0x148cab=_0x25c8ac;super(...arguments),_0x3a54cf(this,'_assignedColors',new Map()),_0x3a54cf(this,_0x148cab(0x383),0x0);}['assignAColorForMemberID'](_0x17ecc2){const _0x3396a0=_0x25c8ac;if(this['_assignedColors'][_0x3396a0(0x297)](_0x17ecc2))return this[_0x3396a0(0x391)][_0x3396a0(0x4c4)](_0x17ecc2);const _0x7cfbcd=_0x124c8d[this[_0x3396a0(0x383)]];return this[_0x3396a0(0x383)]=(this[_0x3396a0(0x383)]+0x1)%_0x124c8d['length'],this[_0x3396a0(0x391)][_0x3396a0(0x22d)](_0x17ecc2,_0x7cfbcd),_0x7cfbcd;}}function _0x3190ac(_0x2d4bf2){let _0x58f40e='';for(const _0x287a1d of _0x2d4bf2){const {startOffset:_0x58e838,endOffset:_0x2e6922,isActive:_0x4c7880,rangeType:_0x4ac23a,segmentId:_0x3b6764,segmentPage:_0x2b28ab}=_0x287a1d;_0x58f40e['length']&&(_0x58f40e+=','),_0x58f40e+=_0x58e838+':'+_0x2e6922+':'+(_0x4c7880?'1':'0')+':'+_0x4ac23a+':'+_0x3b6764+':'+_0x2b28ab;}return _0x58f40e;}function _0x505ec7(_0xd3347a){const _0x2e2919=_0x25c8ac,_0x2c71ad=_0xd3347a[_0x2e2919(0x2d1)](','),_0x253e35=[];for(const _0x309d57 of _0x2c71ad){const [_0x23b262,_0x40927f,_0x11ca47,_0x2e85fa,_0x1b6d95,_0x532b5a]=_0x309d57[_0x2e2919(0x2d1)](':');_0x253e35['push']({'startOffset':Number(_0x23b262),'endOffset':Number(_0x40927f),'collapsed':_0x23b262===_0x40927f,'isActive':_0x11ca47==='1','rangeType':_0x2e85fa===_0x51c091['DOC_RANGE_TYPE'][_0x2e2919(0x30c)]?_0x51c091[_0x2e2919(0x458)][_0x2e2919(0x30c)]:_0x51c091[_0x2e2919(0x458)][_0x2e2919(0x208)],'segmentId':typeof _0x1b6d95==_0x2e2919(0x363)?String(_0x1b6d95):'','segmentPage':Number(_0x532b5a!=null?_0x532b5a:-0x1)});}return _0x253e35[_0x2e2919(0x321)](_0x83e861=>_0x83e861[_0x2e2919(0x282)])||(_0x253e35[0x0]['isActive']=!0x0),_0x253e35;}class _0x43bd11 extends _0x51c091[_0x25c8ac(0x42f)]{constructor(){const _0x42ec57=_0x25c8ac;super(...arguments),_0x3a54cf(this,_0x42ec57(0x26b),new _0x2d756d[(_0x42ec57(0x243))](null)),_0x3a54cf(this,'collabCursorState$',this[_0x42ec57(0x26b)][_0x42ec57(0x319)]());}[_0x25c8ac(0x4ab)](_0x140ad2){const _0x3dabdf=_0x25c8ac,{unitID:_0xee07f3,memberID:_0x348712,textRanges:_0x3e5bbd}=_0x140ad2,_0x1ee357=_0x3190ac(_0x3e5bbd);if(_0x1ee357==='')return;const _0x1e2c0a={'unitID':_0xee07f3,'memberID':_0x348712,'selection':_0x1ee357};this[_0x3dabdf(0x26b)][_0x3dabdf(0x258)](_0x1e2c0a);}}var _0xc82f30=Object[_0x25c8ac(0x3a8)],_0xc0e9a6=(_0x3bb3a8,_0x55470c,_0x3769e8,_0x1e7d8a)=>{const _0x399061=_0x25c8ac;for(var _0x2798ef=_0x1e7d8a>0x1?void 0x0:_0x1e7d8a?_0xc82f30(_0x55470c,_0x3769e8):_0x55470c,_0x5282f0=_0x3bb3a8[_0x399061(0x497)]-0x1,_0x39e769;_0x5282f0>=0x0;_0x5282f0--)(_0x39e769=_0x3bb3a8[_0x5282f0])&&(_0x2798ef=_0x39e769(_0x2798ef)||_0x2798ef);return _0x2798ef;},_0x455341=(_0x4f7e0f,_0x5c82fb)=>(_0x29255c,_0x51246f)=>_0x5c82fb(_0x29255c,_0x51246f,_0x4f7e0f);const _0x17f5e1=0x12c,_0x2e9a9e=0x64;let _0x5ae18d=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x402032,_0x1395e2,_0x53725c,_0xec3a79,_0x3d21d1,_0x1adeca,_0x42d7b6,_0x2a546e,_0x1817d6){const _0x47ffef=_0x25c8ac;super(),_0x3a54cf(this,'_online',!0x1),_0x3a54cf(this,_0x47ffef(0x38f),!0x1),_0x3a54cf(this,_0x47ffef(0x3c9),new _0x2d756d['BehaviorSubject'](new Map())),_0x3a54cf(this,_0x47ffef(0x404),this['_cursorInfo$']['asObservable']()),_0x3a54cf(this,_0x47ffef(0x2fe),new _0x2d756d['BehaviorSubject']([])),_0x3a54cf(this,'roomMembers$',this[_0x47ffef(0x2fe)][_0x47ffef(0x430)](_0x2d756d[_0x47ffef(0x42c)](_0x17f5e1))),_0x3a54cf(this,'_updateLocalCursor',_0x51c091[_0x47ffef(0x447)](_0x1d1bc3=>{const _0x4431dd=_0x47ffef,_0x1a3d54={'eventID':_0x5b9cab[_0x4431dd(0x3d7)][_0x4431dd(0x386)],'data':{'unitID':this['unitID'],'memberID':this[_0x4431dd(0x476)]['getMemberID'](),'selection':_0x3190ac(_0x1d1bc3)}};this[_0x4431dd(0x476)][_0x4431dd(0x241)](_0x1a3d54,this[_0x4431dd(0x3e1)]);},_0x2e9a9e)),(this[_0x47ffef(0x3e1)]=_0x402032,this[_0x47ffef(0x476)]=_0x1395e2,this[_0x47ffef(0x3e5)]=_0x53725c,this[_0x47ffef(0x45c)]=_0xec3a79,this['_memberService']=_0x3d21d1,this[_0x47ffef(0x335)]=_0x1adeca,this[_0x47ffef(0x414)]=_0x42d7b6,this['_univerInstanceService']=_0x2a546e,this[_0x47ffef(0x2d6)]=_0x1817d6);}get[_0x25c8ac(0x336)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x4e8264=_0x25c8ac;return this['_roomMembers$'][_0x4e8264(0x38b)]();}['dispose'](){const _0x1309db=_0x25c8ac;super[_0x1309db(0x325)](),this[_0x1309db(0x3c9)][_0x1309db(0x258)](new Map()),this[_0x1309db(0x3c9)][_0x1309db(0x438)](),this[_0x1309db(0x2fe)][_0x1309db(0x258)]([]),this[_0x1309db(0x2fe)]['complete']();}['init'](){const _0x2b1621=_0x25c8ac;this[_0x2b1621(0x38f)]||(this[_0x2b1621(0x38f)]=!0x0,this[_0x2b1621(0x476)][_0x2b1621(0x39d)][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x50b40d=>{const _0x8e46e9=_0x2b1621;_0x50b40d===_0x493e59[_0x8e46e9(0x26d)]['ONLINE']?this[_0x8e46e9(0x2b4)]():this[_0x8e46e9(0x387)]();}),this[_0x2b1621(0x476)][_0x2b1621(0x2c1)][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x54c7d5=>{const _0x5425a7=_0x2b1621,_0x4c3bf7=_0x54c7d5['eventID'];_0x4c3bf7===_0x5b9cab[_0x5425a7(0x3d7)][_0x5425a7(0x386)]&&this[_0x5425a7(0x288)](_0x54c7d5),_0x4c3bf7===_0x5b9cab['CollaborationEvent']['USERS_LEAVE']&&this[_0x5425a7(0x35b)](_0x54c7d5);}),this['disposeWithMe'](this['_commandService'][_0x2b1621(0x485)](_0x319ccf=>{const _0x5e9230=_0x2b1621,_0x5722ee=_0x319ccf[_0x5e9230(0x411)];_0x5722ee!=null&&this[_0x5e9230(0x33f)]&&_0x319ccf['id']===_0x37270e[_0x5e9230(0x378)]['id']&&_0x5722ee[_0x5e9230(0x268)]===this['unitID']&&_0x5722ee[_0x5e9230(0x2f8)]===!0x1&&_0x5722ee['ranges'][_0x5e9230(0x497)]>0x0&&this[_0x5e9230(0x324)](_0x5722ee[_0x5e9230(0x25e)]);})),this[_0x2b1621(0x335)]['collabCursorState$'][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x469c16=>{const _0x5dee18=_0x2b1621;if((_0x469c16==null?void 0x0:_0x469c16[_0x5dee18(0x3e1)])!==this[_0x5dee18(0x3e1)])return;const _0xda0b7c={'eventID':_0x5b9cab['CollaborationEvent'][_0x5dee18(0x386)],'data':_0x469c16};this[_0x5dee18(0x288)](_0xda0b7c);}),this[_0x2b1621(0x1f5)](this[_0x2b1621(0x2d6)][_0x2b1621(0x485)](_0x3a8705=>{const _0x46d807=_0x2b1621;if(_0x3a8705[_0x46d807(0x411)]==null)return;const _0x4c22c8=_0x3a8705[_0x46d807(0x411)];if(_0x3a8705['id']!==_0x37270e[_0x46d807(0x30a)]['id']||_0x4c22c8[_0x46d807(0x268)]!==this[_0x46d807(0x3e1)])return;const _0x11a835={'id':_0x46d807(0x21a),'params':_0x4c22c8},_0x4d8bb3=this[_0x46d807(0x336)];for(const [_0x160ad3,_0xac7133]of _0x4d8bb3){const _0x290f2d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x46d807(0x3e1)],'actions':null,'textRanges':_0xac7133['ranges']}},_0x4b7a06=this[_0x46d807(0x414)]['transformMutation'](_0x11a835,_0x290f2d,!0x1);if(_0x5b9cab[_0x46d807(0x452)](_0x4b7a06))throw _0x4b7a06['error'];_0x4d8bb3[_0x46d807(0x22d)](_0x160ad3,{..._0xac7133,'ranges':_0x4b7a06[_0x46d807(0x389)][_0x46d807(0x411)][_0x46d807(0x45a)]});}queueMicrotask(()=>{const _0x437c25=_0x46d807;this[_0x437c25(0x3c9)][_0x437c25(0x258)](_0x4d8bb3);});})));}[_0x25c8ac(0x288)](_0x1698b6){const _0x34d936=_0x25c8ac;var _0xf6e15c,_0x1aec5b;const {memberID:_0x191bf3,selection:_0x3bbcc1}=_0x1698b6[_0x34d936(0x303)],_0x2689ac=_0x505ec7(_0x3bbcc1),_0xe99abd=(_0x1aec5b=(_0xf6e15c=this[_0x34d936(0x2ca)][_0x34d936(0x3d8)](this[_0x34d936(0x3e1)],_0x191bf3))==null?void 0x0:_0xf6e15c['name'])!=null?_0x1aec5b:'Unknown\x20user',_0x358a4e={'color':this['_colorAssignService'][_0x34d936(0x271)](_0x191bf3),'name':_0xe99abd,'ranges':_0x2689ac},_0x5021a7=this['cursorInfo'];_0x5021a7[_0x34d936(0x22d)](_0x191bf3,_0x358a4e),this['_cursorInfo$'][_0x34d936(0x258)](_0x5021a7);}['_onCursorDelete'](_0x27f41a){const _0x535b53=_0x25c8ac,{memberID:_0x2b042f}=_0x27f41a[_0x535b53(0x303)],_0x11bcb4=this[_0x535b53(0x336)];_0x11bcb4['delete'](_0x2b042f),this[_0x535b53(0x3c9)][_0x535b53(0x258)](_0x11bcb4);}[_0x25c8ac(0x2b4)](){const _0x31a329=_0x25c8ac;var _0x593aaf;if(this['_online']=!0x0,((_0x593aaf=this[_0x31a329(0x23a)]['getFocusedUnit']())==null?void 0x0:_0x593aaf['getUnitId']())!==this[_0x31a329(0x3e1)])return;const _0x25530d=this['_injector'][_0x31a329(0x4c4)](_0x37270e[_0x31a329(0x2ee)])[_0x31a329(0x4d8)]();Array[_0x31a329(0x1fa)](_0x25530d)&&_0x25530d[_0x31a329(0x497)]>0x0&&this[_0x31a329(0x324)](_0x25530d);}[_0x25c8ac(0x387)](){const _0x4da63e=_0x25c8ac;this[_0x4da63e(0x33f)]=!0x1;}};_0x5ae18d=_0xc0e9a6([_0x455341(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091['Injector'])),_0x455341(0x3,_0x51c091['Inject'](_0x3dd070)),_0x455341(0x4,_0x51c091[_0x25c8ac(0x301)](_0x493e59['MemberService'])),_0x455341(0x5,_0x51c091[_0x25c8ac(0x301)](_0x43bd11)),_0x455341(0x6,_0x5b9cab[_0x25c8ac(0x431)]),_0x455341(0x7,_0x51c091[_0x25c8ac(0x261)]),_0x455341(0x8,_0x51c091['ICommandService'])],_0x5ae18d);var _0x5c03ba=Object['getOwnPropertyDescriptor'],_0x317fe5=(_0x560e93,_0x83ab81,_0x48fadd,_0x1adc15)=>{const _0x52a44c=_0x25c8ac;for(var _0x4e4cf5=_0x1adc15>0x1?void 0x0:_0x1adc15?_0x5c03ba(_0x83ab81,_0x48fadd):_0x83ab81,_0xfc3c37=_0x560e93[_0x52a44c(0x497)]-0x1,_0x47da54;_0xfc3c37>=0x0;_0xfc3c37--)(_0x47da54=_0x560e93[_0xfc3c37])&&(_0x4e4cf5=_0x47da54(_0x4e4cf5)||_0x4e4cf5);return _0x4e4cf5;},_0x134361=(_0xfec868,_0x57a270)=>(_0x58f9e0,_0x4e1c6c)=>_0x57a270(_0x58f9e0,_0x4e1c6c,_0xfec868);const _0x4081fa=0x12c,_0x37a625=0x64,_0x11bc78=()=>{let _0x36fff9=[],_0x250dff=!0x1;return _0x4f16c0=>{const _0xaff4d4=_0xd869;_0x36fff9[_0xaff4d4(0x2ac)](_0x4f16c0),_0x250dff||(_0x250dff=!0x0,setTimeout(()=>{const _0x467d5e=_0xaff4d4;_0x36fff9[_0x467d5e(0x345)](_0x5e2311=>_0x5e2311()),_0x36fff9=[],_0x250dff=!0x1;}));};};let _0x219f89=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x1cba96,_0x33b86b,_0x3141d1,_0x195c13,_0x3b7928,_0x5d5c86,_0x2958de,_0x3e0d0e){const _0x246637=_0x25c8ac;super(),_0x3a54cf(this,_0x246637(0x33f),!0x1),_0x3a54cf(this,_0x246637(0x38f),!0x1),_0x3a54cf(this,_0x246637(0x3c9),new _0x2d756d[(_0x246637(0x243))](new Map())),_0x3a54cf(this,_0x246637(0x404),this[_0x246637(0x3c9)][_0x246637(0x319)]()),_0x3a54cf(this,_0x246637(0x2fe),new _0x2d756d[(_0x246637(0x243))]([])),_0x3a54cf(this,'roomMembers$',this[_0x246637(0x2fe)][_0x246637(0x430)](_0x2d756d[_0x246637(0x42c)](_0x4081fa))),_0x3a54cf(this,_0x246637(0x324),_0x51c091[_0x246637(0x447)]((_0x497824,_0x13a953)=>{const _0x12bccb=_0x246637,_0x908948={'eventID':_0x5b9cab[_0x12bccb(0x3d7)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x12bccb(0x476)][_0x12bccb(0x217)](),'selection':_0xfcd088['serializeRangeWithSheet'](_0x497824,_0x13a953[_0x12bccb(0x2af)])}};this[_0x12bccb(0x476)][_0x12bccb(0x241)](_0x908948,this['unitID']);},_0x37a625)),(this[_0x246637(0x3e1)]=_0x1cba96,this['_session']=_0x33b86b,this[_0x246637(0x3e5)]=_0x3141d1,this['_colorAssignService']=_0x195c13,this[_0x246637(0x2ca)]=_0x3b7928,this['_univerInstanceService']=_0x5d5c86,this['_commandService']=_0x2958de,this[_0x246637(0x4a5)]=_0x3e0d0e);}get[_0x25c8ac(0x336)](){const _0x567064=_0x25c8ac;return this[_0x567064(0x3c9)][_0x567064(0x38b)]();}get[_0x25c8ac(0x4c9)](){const _0x391081=_0x25c8ac;return this['_roomMembers$'][_0x391081(0x38b)]();}[_0x25c8ac(0x325)](){const _0x543b28=_0x25c8ac;super[_0x543b28(0x325)](),this[_0x543b28(0x3c9)][_0x543b28(0x258)](new Map()),this[_0x543b28(0x3c9)][_0x543b28(0x438)](),this[_0x543b28(0x2fe)][_0x543b28(0x258)]([]),this['_roomMembers$'][_0x543b28(0x438)]();}[_0x25c8ac(0x281)](){const _0x21003e=_0x25c8ac;this[_0x21003e(0x38f)]||(this[_0x21003e(0x38f)]=!0x0,this['_session']['sessionStatus$'][_0x21003e(0x430)](_0x2d756d['takeUntil'](this[_0x21003e(0x37a)]))['subscribe'](_0x245d28=>{const _0x2a61a0=_0x21003e;_0x245d28===_0x493e59['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x2a61a0(0x387)]();}),this[_0x21003e(0x476)][_0x21003e(0x2c1)]['pipe'](_0x2d756d[_0x21003e(0x210)](this[_0x21003e(0x37a)]))[_0x21003e(0x2b3)](_0xc619ab=>{const _0x426e84=_0x21003e,_0x31aaff=_0xc619ab[_0x426e84(0x29e)];_0x31aaff===_0x5b9cab[_0x426e84(0x3d7)][_0x426e84(0x386)]&&this[_0x426e84(0x288)](_0xc619ab),_0x31aaff===_0x5b9cab[_0x426e84(0x3d7)][_0x426e84(0x2ae)]&&this[_0x426e84(0x35b)](_0xc619ab);}),this[_0x21003e(0x277)](),this[_0x21003e(0x1f5)](this[_0x21003e(0x2d6)]['onCommandExecuted'](_0x528c77=>{const _0x3c3ea3=_0x21003e;if(this[_0x3c3ea3(0x33f)]&&_0x528c77['id']===_0x184ff5[_0x3c3ea3(0x35c)]['id']&&_0x528c77[_0x3c3ea3(0x411)][_0x3c3ea3(0x268)]===this['unitID']){const _0x5c8de6=_0x528c77['params'];this[_0x3c3ea3(0x324)](_0x5c8de6[_0x3c3ea3(0x469)],_0x5c8de6[_0x3c3ea3(0x2be)][0x0]);}})));}[_0x25c8ac(0x288)](_0x57a7a2){const _0x467740=_0x25c8ac;var _0x26bfa7,_0x38cbf2;const {memberID:_0x1844a7,selection:_0x15b1f9}=_0x57a7a2[_0x467740(0x303)],{sheetName:_0x3360e3,range:_0x6976dc}=_0xfcd088[_0x467740(0x39c)](_0x15b1f9),_0xdb1b9={'name':(_0x38cbf2=(_0x26bfa7=this[_0x467740(0x2ca)][_0x467740(0x3d8)](this[_0x467740(0x3e1)],_0x1844a7))==null?void 0x0:_0x26bfa7['name'])!=null?_0x38cbf2:'Unknown\x20user','range':this['_getMergeRange'](_0x3360e3,_0x6976dc),'sheetID':_0x3360e3,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1844a7),'selection':_0x15b1f9},_0x123821=this[_0x467740(0x336)];_0x123821[_0x467740(0x22d)](_0x1844a7,_0xdb1b9),this[_0x467740(0x3c9)]['next'](_0x123821);}[_0x25c8ac(0x35b)](_0x497b98){const _0x4ec836=_0x25c8ac,{memberID:_0x20fa5a}=_0x497b98[_0x4ec836(0x303)],_0x412f68=this[_0x4ec836(0x336)];_0x412f68[_0x4ec836(0x2d0)](_0x20fa5a),this['_cursorInfo$'][_0x4ec836(0x258)](_0x412f68);}[_0x25c8ac(0x2c7)](_0x4cbe8d,_0xe7d289){const _0x17c206=_0x25c8ac;var _0x7049fc,_0x3b5a6e;const _0x59dc29=(_0x3b5a6e=(_0x7049fc=this[_0x17c206(0x23a)][_0x17c206(0x3d6)](this[_0x17c206(0x3e1)]))==null?void 0x0:_0x7049fc[_0x17c206(0x491)](_0x4cbe8d))==null?void 0x0:_0x3b5a6e['getMergeData']();return(_0x59dc29==null?void 0x0:_0x59dc29[_0x17c206(0x247)](_0x343772=>_0x51c091[_0x17c206(0x266)][_0x17c206(0x2d4)](_0x343772,_0xe7d289)))||_0xe7d289;}['_onRefRangeChange'](){const _0x537ba3=_0x25c8ac,_0x9c2eae=new _0x51c091[(_0x537ba3(0x440))](),_0xdb3e49=_0x11bc78(),_0x2348b4=()=>{const _0x497219=_0x537ba3;_0x9c2eae[_0x497219(0x325)]();const _0x23306e=(_0x196a63,_0x13ad1b,_0x15ef8a,_0x2c339e)=>{const _0x323d47=_0x497219;let _0x3f3b15=[];switch(_0x196a63['id']){case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x3cb)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x44a)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)]['DeleteRangeMoveUpCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x2ff)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)]['InsertColCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x341)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x4b6)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x3eb)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x41f)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x412)](_0x196a63,_0x2c339e);break;}case _0x184ff5['EffectRefRangId']['InsertRowCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x446)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x47f)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x3dc)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x396)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x2f4)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x4c5)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x20c)](_0x196a63,_0x2c339e);break;}}const _0x1a7152=_0x184ff5[_0x323d47(0x3e8)](_0x3f3b15,_0x2c339e),_0x3713c7=this[_0x323d47(0x336)]['get'](_0x13ad1b);if(_0x3713c7&&_0x1a7152){const _0x39e771={..._0x3713c7,'range':_0x1a7152};this[_0x323d47(0x336)][_0x323d47(0x22d)](_0x13ad1b,_0x39e771),_0xdb3e49(()=>{const _0x4a9761=_0x323d47,_0x26fe49=this[_0x4a9761(0x4a5)][_0x4a9761(0x37f)](_0x1a7152,_0x2a4feb=>(_0x26fe49['dispose'](),_0x23306e(_0x2a4feb,_0x13ad1b,_0x15ef8a,_0x1a7152)));_0x9c2eae[_0x4a9761(0x2d2)](_0x26fe49);});}return{'redos':[],'undos':[]};};this[_0x497219(0x336)]['forEach']((_0x4a3d20,_0x103a96)=>{const _0x479f21=_0x497219,{range:_0x565a48,sheetID:_0x3e3a24}=_0x4a3d20,_0x703cf=this[_0x479f21(0x4a5)]['registerRefRange'](_0x565a48,_0x1436da=>(_0x703cf['dispose'](),_0x23306e(_0x1436da,_0x103a96,_0x3e3a24,_0x565a48)));_0x9c2eae['add'](_0x703cf);});};this[_0x537ba3(0x1f5)](_0x51c091['toDisposable'](this[_0x537ba3(0x3c9)][_0x537ba3(0x2b3)](()=>{_0x2348b4();})));}[_0x25c8ac(0x2b4)](){const _0x18a2a1=_0x25c8ac;var _0x2fb576,_0x4546b4;if(this['_online']=!0x0,((_0x2fb576=this['_univerInstanceService'][_0x18a2a1(0x328)]())==null?void 0x0:_0x2fb576[_0x18a2a1(0x30f)]())!==this[_0x18a2a1(0x3e1)])return;const _0x1c8fcf=(_0x4546b4=this[_0x18a2a1(0x3e5)][_0x18a2a1(0x4c4)](_0x184ff5[_0x18a2a1(0x3e2)])['getCurrentSelections']())==null?void 0x0:_0x4546b4[0x0],_0x32fe7a=this[_0x18a2a1(0x23a)]['getCurrentUnitForType'](_0x51c091[_0x18a2a1(0x375)][_0x18a2a1(0x3d0)])['getActiveSheet']();_0x1c8fcf&&_0x32fe7a&&this[_0x18a2a1(0x324)](_0x32fe7a[_0x18a2a1(0x230)](),_0x1c8fcf);}['_toggleOffline'](){this['_online']=!0x1;}};_0x219f89=_0x317fe5([_0x134361(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x134361(0x3,_0x51c091['Inject'](_0x3dd070)),_0x134361(0x4,_0x51c091[_0x25c8ac(0x301)](_0x493e59[_0x25c8ac(0x401)])),_0x134361(0x5,_0x51c091[_0x25c8ac(0x261)]),_0x134361(0x6,_0x51c091[_0x25c8ac(0x483)]),_0x134361(0x7,_0x51c091[_0x25c8ac(0x301)](_0x184ff5['RefRangeService']))],_0x219f89);var _0x43e703=Object['getOwnPropertyDescriptor'],_0x39b925=(_0x12c4b8,_0x1ba556,_0x40c4b7,_0x376dae)=>{for(var _0x59f3d0=_0x376dae>0x1?void 0x0:_0x376dae?_0x43e703(_0x1ba556,_0x40c4b7):_0x1ba556,_0x339b61=_0x12c4b8['length']-0x1,_0x50bc3e;_0x339b61>=0x0;_0x339b61--)(_0x50bc3e=_0x12c4b8[_0x339b61])&&(_0x59f3d0=_0x50bc3e(_0x59f3d0)||_0x59f3d0);return _0x59f3d0;},_0x4b7da2=(_0x5b3971,_0x15d1ba)=>(_0x140356,_0x317c05)=>_0x15d1ba(_0x140356,_0x317c05,_0x5b3971);let _0x43fe6e=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x23000e,_0x27f75d,_0x3e1bec){const _0x2a942a=_0x25c8ac;super(),_0x3a54cf(this,_0x2a942a(0x38a),new Map()),_0x3a54cf(this,_0x2a942a(0x2f5),new _0x2d756d[(_0x2a942a(0x26c))]()),(this['_univerInstanceService']=_0x23000e,this['_injector']=_0x27f75d,this[_0x2a942a(0x41e)]=_0x3e1bec,this[_0x2a942a(0x38f)]());}[_0x25c8ac(0x325)](){const _0x249908=_0x25c8ac;super['dispose'](),this['_entityInit$'][_0x249908(0x438)](),this['_entities'][_0x249908(0x345)](_0x583c9f=>_0x583c9f[_0x249908(0x325)]());}[_0x25c8ac(0x2ef)](_0x8710f4){const _0x295207=_0x25c8ac;return this[_0x295207(0x38a)][_0x295207(0x297)](_0x8710f4)?this[_0x295207(0x38a)][_0x295207(0x4c4)](_0x8710f4)[_0x295207(0x404)]:this['_entityInit$']['pipe'](_0x2d756d[_0x295207(0x441)](_0x4c5ae1=>_0x4c5ae1[_0x295207(0x3e1)]===_0x8710f4),_0x2d756d['switchMap'](_0x46ac19=>_0x46ac19[_0x295207(0x404)]));}[_0x25c8ac(0x38f)](){const _0x4401e2=_0x25c8ac;this[_0x4401e2(0x23a)][_0x4401e2(0x3bb)](_0x51c091['UniverInstanceType'][_0x4401e2(0x3d0)])[_0x4401e2(0x430)](_0x2d756d[_0x4401e2(0x210)](this['dispose$']))[_0x4401e2(0x2b3)](async _0x55e8a0=>{const _0x21d9b6=_0x4401e2,_0x2a8a27=_0x55e8a0[_0x21d9b6(0x30f)](),_0x137c67=await this['_startSheetCollabCursor'](_0x2a8a27);this[_0x21d9b6(0x2f5)][_0x21d9b6(0x258)](_0x137c67),this['_entities'][_0x21d9b6(0x22d)](_0x2a8a27,_0x137c67);}),this[_0x4401e2(0x23a)][_0x4401e2(0x3bb)](_0x51c091[_0x4401e2(0x375)][_0x4401e2(0x3e3)])['pipe'](_0x2d756d[_0x4401e2(0x210)](this[_0x4401e2(0x37a)]))[_0x4401e2(0x430)](_0x2d756d['filter'](_0x467a7d=>!_0x467a7d['getUnitId']()[_0x4401e2(0x371)]('__')))['subscribe'](async _0x52985c=>{const _0x20a7a6=_0x4401e2,_0x4a3f86=_0x52985c['getUnitId'](),_0x35592a=await this[_0x20a7a6(0x3d3)](_0x4a3f86);this[_0x20a7a6(0x2f5)][_0x20a7a6(0x258)](_0x35592a),this[_0x20a7a6(0x38a)][_0x20a7a6(0x22d)](_0x4a3f86,_0x35592a);}),_0x2d756d[_0x4401e2(0x296)](this[_0x4401e2(0x23a)][_0x4401e2(0x44b)](_0x51c091[_0x4401e2(0x375)][_0x4401e2(0x3e3)]),this[_0x4401e2(0x23a)][_0x4401e2(0x44b)](_0x51c091['UniverInstanceType'][_0x4401e2(0x3d0)]))[_0x4401e2(0x430)](_0x2d756d['takeUntil'](this[_0x4401e2(0x37a)]))[_0x4401e2(0x2b3)](_0x1b6538=>{const _0x47331f=_0x4401e2,_0x238a37=_0x1b6538[_0x47331f(0x30f)](),_0x3831eb=this[_0x47331f(0x38a)][_0x47331f(0x4c4)](_0x238a37);_0x3831eb&&(_0x3831eb['dispose'](),this[_0x47331f(0x38a)][_0x47331f(0x2d0)](_0x238a37));});}async[_0x25c8ac(0x213)](_0x3fcb99){const _0x55c731=_0x25c8ac,_0x2a858f=await this[_0x55c731(0x41e)][_0x55c731(0x2d7)](_0x3fcb99),_0x5bed77=this[_0x55c731(0x3e5)]['createInstance'](_0x219f89,_0x3fcb99,_0x2a858f);return _0x5bed77[_0x55c731(0x281)](),_0x5bed77;}async[_0x25c8ac(0x3d3)](_0x5e8a13){const _0x532623=_0x25c8ac,_0x101bd9=await this[_0x532623(0x41e)][_0x532623(0x2d7)](_0x5e8a13),_0x1f88a1=this[_0x532623(0x3e5)]['createInstance'](_0x5ae18d,_0x5e8a13,_0x101bd9);return _0x1f88a1[_0x532623(0x281)](),_0x1f88a1;}};_0x43fe6e=_0x39b925([_0x4b7da2(0x0,_0x51c091[_0x25c8ac(0x261)]),_0x4b7da2(0x1,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x4b7da2(0x2,_0x51c091[_0x25c8ac(0x301)](_0x493e59['CollaborationSessionService']))],_0x43fe6e);const _0x3e88d8=0x14,_0x4f6245=0xc8,_0x169f85=0x4,_0x389b3c=0x5;function _0x2cd01b(_0x357dd5,_0x206aa4){const _0x5664c0=_0x25c8ac;let {radius:_0x556760,width:_0xd6431f,height:_0x3f04a5}=_0x206aa4;_0x556760=_0x556760!=null?_0x556760:0x0,_0xd6431f=_0xd6431f!=null?_0xd6431f:0x1e,_0x3f04a5=_0x3f04a5!=null?_0x3f04a5:0x1e;let _0xfec8e8=0x0,_0x253c20=0x0,_0x1b6d26=0x0;_0xfec8e8=_0x253c20=_0x1b6d26=Math[_0x5664c0(0x3c6)](_0x556760,_0xd6431f/0x2,_0x3f04a5/0x2),_0x357dd5[_0x5664c0(0x358)](),_0x357dd5['moveTo'](_0xfec8e8,0x0),_0x357dd5[_0x5664c0(0x30b)](_0xd6431f-_0x253c20,0x0),_0x357dd5[_0x5664c0(0x203)](_0xd6431f-_0x253c20,_0x253c20,_0x253c20,Math['PI']*0x3/0x2,0x0,!0x1),_0x357dd5[_0x5664c0(0x30b)](_0xd6431f,_0x3f04a5-_0x1b6d26),_0x357dd5[_0x5664c0(0x203)](_0xd6431f-_0x1b6d26,_0x3f04a5-_0x1b6d26,_0x1b6d26,0x0,Math['PI']/0x2,!0x1),_0x357dd5[_0x5664c0(0x30b)](0x0,_0x3f04a5),_0x357dd5[_0x5664c0(0x30b)](0x0,_0xfec8e8),_0x357dd5[_0x5664c0(0x203)](_0xfec8e8,_0xfec8e8,_0xfec8e8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x357dd5[_0x5664c0(0x218)](),_0x206aa4[_0x5664c0(0x42b)]&&(_0x357dd5['save'](),_0x357dd5['fillStyle']=_0x206aa4[_0x5664c0(0x42b)],_0x206aa4[_0x5664c0(0x23c)]==='evenodd'?_0x357dd5[_0x5664c0(0x42b)](_0x5664c0(0x4ad)):_0x357dd5[_0x5664c0(0x42b)](),_0x357dd5[_0x5664c0(0x45e)]());}class _0x138c53 extends _0x396fb6[_0x25c8ac(0x35d)]{constructor(_0x33501d,_0x2b8b94){const _0x33b346=_0x25c8ac;super(_0x33501d,_0x2b8b94),_0x3a54cf(this,_0x33b346(0x2da)),_0x3a54cf(this,'text'),(this[_0x33b346(0x2da)]=_0x2b8b94==null?void 0x0:_0x2b8b94[_0x33b346(0x2da)],this['text']=_0x2b8b94==null?void 0x0:_0x2b8b94[_0x33b346(0x48f)]);}static[_0x25c8ac(0x2bd)](_0x4bc761,_0x4bc170){const _0xd9e91e=_0x25c8ac,{text:_0x3cc97f,color:_0x1a5144}=_0x4bc170;_0x4bc761[_0xd9e91e(0x3c2)](),_0x4bc761['font']=_0xd9e91e(0x499);const _0x48cc26=_0x4bc761[_0xd9e91e(0x200)](_0x3cc97f)[_0xd9e91e(0x3fc)],_0x3830ce=Math[_0xd9e91e(0x3c6)](_0x48cc26+0x2*_0x169f85,_0x4f6245);_0x2cd01b(_0x4bc761,{'height':_0x3e88d8,'radius':0x4,'width':_0x3830ce,'fill':_0x1a5144}),_0x4bc761[_0xd9e91e(0x2bc)]=_0xd9e91e(0x3f8);const _0x527108=_0x169f85,_0x2b136e=_0x3e88d8-_0x389b3c,_0x369d8c=_0x4f6245-0x2*_0x169f85;if(_0x48cc26>_0x369d8c){let _0x19ffd2='',_0x542079=0x0;for(const _0x3f335b of _0x3cc97f){const _0x5e899f=_0x4bc761['measureText'](_0x3f335b)[_0xd9e91e(0x3fc)];if(_0x542079+_0x5e899f<=_0x369d8c-_0x4bc761['measureText'](_0xd9e91e(0x4cc))[_0xd9e91e(0x3fc)])_0x19ffd2+=_0x3f335b,_0x542079+=_0x5e899f;else{_0x19ffd2+='...';break;}}_0x4bc761[_0xd9e91e(0x274)](_0x19ffd2,_0x527108,_0x2b136e);}else _0x4bc761['fillText'](_0x3cc97f,_0x527108,_0x2b136e);_0x4bc761[_0xd9e91e(0x45e)]();}[_0x25c8ac(0x2a2)](_0x168f4e){const _0x3200c8=_0x25c8ac;_0x138c53[_0x3200c8(0x2bd)](_0x168f4e,this);}}const _0x41e103='collab-text-anchor-',_0x3446e0=_0x25c8ac(0x2b7),_0x77063e=_0x25c8ac(0x4bb),_0x31de00=0x6,_0x449f62=1.5,_0x3ce1c4=0x4,_0x267e4d=1.5,_0xbfaac7=_0x25c8ac(0x338);class _0x1ab378{constructor(_0x1c81d5,_0x134eb7,_0xe80fb5,_0x3cedb3){const _0x1bce42=_0x25c8ac;_0x3a54cf(this,_0x1bce42(0x2ea),[]),_0x3a54cf(this,_0x1bce42(0x47d),null),_0x3a54cf(this,_0x1bce42(0x327),null),_0x3a54cf(this,_0x1bce42(0x344),null),_0x3a54cf(this,_0x1bce42(0x39f),null),_0x3a54cf(this,'_eventUnsubscribe',null),(this[_0x1bce42(0x24e)]=_0x1c81d5,this[_0x1bce42(0x2a1)]=_0x134eb7,this[_0x1bce42(0x348)]=_0xe80fb5,this[_0x1bce42(0x360)]=_0x3cedb3,this['_render']());}set['_hover'](_0x37c3d0){const _0x35781a=_0x25c8ac;_0x37c3d0?(this['_anchorDot']&&this[_0x35781a(0x344)][_0x35781a(0x2f9)](),this[_0x35781a(0x327)]&&this[_0x35781a(0x327)][_0x35781a(0x392)]()):(this['_anchorDot']&&this[_0x35781a(0x344)][_0x35781a(0x392)](),this[_0x35781a(0x327)]&&this['_textBubble'][_0x35781a(0x2f9)]());}['dispose'](){const _0x57cb4a=_0x25c8ac;for(const _0x55e805 of this['_shapes'])_0x55e805['dispose']();this[_0x57cb4a(0x327)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x57cb4a(0x325)](),this[_0x57cb4a(0x47d)]&&this[_0x57cb4a(0x47d)][_0x57cb4a(0x325)](),this[_0x57cb4a(0x2bf)]&&this['_eventUnsubscribe']();}[_0x25c8ac(0x228)](){const _0x54994e=_0x25c8ac;var _0x37f415;const {_docSkeleton:_0x352fac,_document:_0x115d46}=this,{color:_0x132b28,name:_0x2e3999,ranges:_0x57f150}=this['_cursor'],_0x44c6b6=_0x115d46[_0x54994e(0x4af)](),{docsLeft:_0x40b3d0,docsTop:_0x577af5}=_0x44c6b6,_0x2ad7df=new _0x594fa4[(_0x54994e(0x234))](_0x44c6b6,_0x352fac);for(const {startOffset:_0x4f72c8,endOffset:_0x54e7b9,rangeType:_0x21c9b5,segmentId:_0x4c3ac6,segmentPage:_0x558944,collapsed:_0x248858,isActive:_0x9718e9}of _0x57f150){const _0x520e13=_0x352fac[_0x54994e(0x290)](_0x4f72c8,!0x0,_0x4c3ac6,_0x558944);let _0x288de7=_0x352fac[_0x54994e(0x290)](_0x54e7b9,!0x0,_0x4c3ac6,_0x558944);if(_0x288de7==null&&(_0x288de7=_0x352fac['findNodePositionByCharIndex'](_0x54e7b9-0x1,!0x1,_0x4c3ac6,_0x558944)),_0x9718e9){const {contentBoxPointGroup:_0x2be2fc}=_0x2ad7df[_0x54994e(0x49c)](_0x288de7,_0x288de7);if(_0x2be2fc['length']===0x0)continue;this[_0x54994e(0x2d3)](_0x132b28,_0x2be2fc,_0x40b3d0,_0x577af5,_0x2e3999),this[_0x54994e(0x2bf)]=this[_0x54994e(0x226)]();}if(_0x520e13&&_0x288de7){if(_0x21c9b5===_0x51c091[_0x54994e(0x458)][_0x54994e(0x208)]){const _0x3aeba6=new _0x594fa4[(_0x54994e(0x3ec))](_0x44c6b6,_0x352fac),{pointGroup:_0x2adfc1}=(_0x37f415=_0x3aeba6[_0x54994e(0x49c)](_0x520e13,_0x288de7))!=null?_0x37f415:{};if(_0x2adfc1==null||_0x2adfc1[_0x54994e(0x497)]===0x0)continue;this['_drawRectRange'](_0x132b28,_0x2adfc1,_0x40b3d0,_0x577af5);}else{if(!_0x248858){const {borderBoxPointGroup:_0x4e02a1}=_0x2ad7df['getRangePointData'](_0x520e13,_0x288de7);if(_0x4e02a1[_0x54994e(0x497)]===0x0)continue;this['_drawTextRange'](_0x132b28,_0x4e02a1,_0x40b3d0,_0x577af5);}}}}}[_0x25c8ac(0x2d3)](_0x5d3e39,_0x368bcc,_0x566245,_0x158632,_0x2b1b0b){const _0x175d10=_0x25c8ac,_0x8adbcf=this[_0x175d10(0x294)](_0x368bcc),{left:_0x13fa91,top:_0x531bf5,height:_0x2c3ef2}=_0x8adbcf,_0x312f6c=this[_0x175d10(0x3d5)](),_0x1a89f6=_0x267e4d/_0x312f6c,_0x366d6e=new _0x396fb6['Rect'](_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632,'height':_0x2c3ef2,'width':_0x449f62,'fill':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091[_0x175d10(0x421)][_0x175d10(0x478)],0x0),'strokeWidth':_0x1a89f6,'stroke':_0xbfaac7,'evented':!0x0});this[_0x175d10(0x47d)]=_0x366d6e,this['_scene'][_0x175d10(0x3d1)](_0x366d6e,_0x594fa4[_0x175d10(0x3bc)]);const _0x2ab239=new _0x396fb6[(_0x175d10(0x2c2))](_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632-_0x3ce1c4/0x2,'height':_0x3ce1c4,'width':_0x3ce1c4,'fill':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091['COLORS'][_0x175d10(0x478)],0x0),'evented':!0x1});this['_anchorDot']=_0x2ab239,this[_0x175d10(0x2a1)][_0x175d10(0x3d1)](_0x2ab239,_0x594fa4[_0x175d10(0x3bc)]);const _0x28a0ce=new _0x138c53(_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632-_0x3e88d8,'text':_0x2b1b0b,'color':_0x5d3e39});this['_textBubble']=_0x28a0ce,this['_scene'][_0x175d10(0x3d1)](_0x28a0ce,_0x594fa4['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x25c8ac(0x226)](){const _0x40a5db=_0x25c8ac,_0x4d9e8f=this['_anchor'][_0x40a5db(0x293)][_0x40a5db(0x402)](()=>{const _0x3a51f2=_0x40a5db;this[_0x3a51f2(0x394)]=!0x0;}),_0x22893c=this[_0x40a5db(0x47d)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x28d953=_0x40a5db;this[_0x28d953(0x39f)]&&clearTimeout(this[_0x28d953(0x39f)]),this[_0x28d953(0x39f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x19dc6f=_0x40a5db;_0x4d9e8f[_0x19dc6f(0x287)](),_0x22893c['unsubscribe']();};}[_0x25c8ac(0x4b4)](_0x488218,_0x22c41c,_0x9fae0f,_0x4b8d59){const _0x2346c9=_0x25c8ac,_0x285042=new _0x51c091['ColorKit'](_0x488218)[_0x2346c9(0x209)](0.2)['toRgbString'](),_0x5e99f7=new _0x396fb6['RegularPolygon'](_0x3446e0+_0x51c091[_0x2346c9(0x2a9)](_0x31de00),{'pointsGroup':_0x22c41c,'fill':_0x285042||_0x396fb6[_0x2346c9(0x3a0)](_0x51c091['COLORS'][_0x2346c9(0x478)],0.2),'left':_0x9fae0f,'top':_0x4b8d59,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2346c9(0x2ac)](_0x5e99f7),this[_0x2346c9(0x2a1)]['addObject'](_0x5e99f7,_0x594fa4[_0x2346c9(0x3bc)]);}['_drawRectRange'](_0x2982a6,_0x86c13e,_0xe1adb8,_0x555841){const _0x46ec1f=_0x25c8ac,_0x464309=new _0x51c091[(_0x46ec1f(0x223))](_0x2982a6)[_0x46ec1f(0x209)](0.2)['toRgbString'](),_0x482f97=new _0x396fb6[(_0x46ec1f(0x449))](_0x77063e+_0x51c091['generateRandomId'](_0x31de00),{'pointsGroup':_0x86c13e,'fill':_0x464309||_0x396fb6[_0x46ec1f(0x3a0)](_0x51c091[_0x46ec1f(0x421)][_0x46ec1f(0x478)],0.2),'left':_0xe1adb8,'top':_0x555841,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46ec1f(0x2ea)][_0x46ec1f(0x2ac)](_0x482f97),this[_0x46ec1f(0x2a1)]['addObject'](_0x482f97,_0x594fa4[_0x46ec1f(0x3bc)]);}[_0x25c8ac(0x294)](_0x1dfb30){const _0x190ad4=_0x1dfb30[0x0],_0x588b04=_0x190ad4[0x0],_0x3013e1=_0x190ad4[0x2],{x:_0x2125d1,y:_0x3e177f}=_0x588b04,{x:_0x443c39,y:_0x425670}=_0x3013e1;return{'left':_0x2125d1,'top':_0x3e177f,'width':_0x443c39-_0x2125d1,'height':_0x425670-_0x3e177f};}[_0x25c8ac(0x3d5)](){const _0x402234=_0x25c8ac,{scaleX:_0x394688,scaleY:_0x235e97}=this[_0x402234(0x2a1)][_0x402234(0x1fc)]();return Math[_0x402234(0x423)](_0x394688,_0x235e97);}}var _0x4bd16f=Object[_0x25c8ac(0x3a8)],_0x58b0e0=(_0x1e423a,_0x5cfe8f,_0x38a679,_0x465cdf)=>{const _0x1813c9=_0x25c8ac;for(var _0x3161e5=_0x465cdf>0x1?void 0x0:_0x465cdf?_0x4bd16f(_0x5cfe8f,_0x38a679):_0x5cfe8f,_0x5b28c6=_0x1e423a[_0x1813c9(0x497)]-0x1,_0x4d0cbf;_0x5b28c6>=0x0;_0x5b28c6--)(_0x4d0cbf=_0x1e423a[_0x5b28c6])&&(_0x3161e5=_0x4d0cbf(_0x3161e5)||_0x3161e5);return _0x3161e5;},_0x49e4b5=(_0x19ffd7,_0x3867fb)=>(_0x327329,_0xe7de90)=>_0x3867fb(_0x327329,_0xe7de90,_0x19ffd7);let _0x743d07=class extends _0x51c091['RxDisposable']{constructor(_0x434582,_0x1afa6e,_0x47a2d3,_0x301a5c,_0x414c62){const _0x518c06=_0x25c8ac;super(),_0x3a54cf(this,_0x518c06(0x407),[]),_0x3a54cf(this,_0x518c06(0x332),[]),(this[_0x518c06(0x31e)]=_0x434582,this['_docSkeletonManagerService']=_0x1afa6e,this['_collabCursorController']=_0x47a2d3,this[_0x518c06(0x2d6)]=_0x301a5c,this[_0x518c06(0x2cd)]=_0x414c62,this['_init']());}[_0x25c8ac(0x38f)](){const _0x23341e=_0x25c8ac,_0x2b900e=this[_0x23341e(0x31e)][_0x23341e(0x268)],_0x30c80b=this['_docSkeletonManagerService'];this[_0x23341e(0x1f5)](_0x2d756d[_0x23341e(0x496)]([this[_0x23341e(0x2fc)]['getCollabCursors$'](_0x2b900e),this[_0x23341e(0x2cd)][_0x23341e(0x23d)]])[_0x23341e(0x430)](_0xe24628[_0x23341e(0x43d)](([_0x3a1dee,_0xa0d65d])=>({'skeleton':_0x30c80b['getSkeleton'](),'cursors':[..._0x3a1dee['values']()][_0x23341e(0x28c)](_0x2e9a72=>({..._0x2e9a72,'color':this[_0x23341e(0x2cd)]['getColorFromTheme'](_0x2e9a72[_0x23341e(0x2da)])}))})))[_0x23341e(0x2b3)](_0x3fedba=>{const _0x241824=_0x23341e;if(this[_0x241824(0x22f)](),_0x3fedba){const {skeleton:_0x1e7cef,cursors:_0xd266da}=_0x3fedba;this[_0x241824(0x2f0)](_0x1e7cef,_0xd266da);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x25c8ac(0x2f0)](_0x20e1d2,_0x49d078){const _0x24c7ec=_0x25c8ac,{scene:_0x544e66,mainComponent:_0x3b0bf7}=this[_0x24c7ec(0x31e)],_0x17d7c1=_0x49d078['map'](_0x3f6745=>new _0x1ab378(_0x3f6745,_0x544e66,_0x20e1d2,_0x3b0bf7));this[_0x24c7ec(0x407)]=_0x17d7c1,this[_0x24c7ec(0x332)]=_0x49d078;}[_0x25c8ac(0x45f)](){const _0x30bae1=_0x25c8ac;this[_0x30bae1(0x22f)]();const {scene:_0x2ca01e,mainComponent:_0x504d26}=this[_0x30bae1(0x31e)],_0x43d178=this[_0x30bae1(0x4a1)][_0x30bae1(0x455)](),_0x420ba4=this[_0x30bae1(0x332)][_0x30bae1(0x43d)](_0x44c309=>new _0x1ab378(_0x44c309,_0x2ca01e,_0x43d178,_0x504d26));this[_0x30bae1(0x407)]=_0x420ba4;}[_0x25c8ac(0x22f)](){const _0x3f7ec8=_0x25c8ac;this[_0x3f7ec8(0x407)]['forEach'](_0x35e78b=>_0x35e78b[_0x3f7ec8(0x325)]()),this[_0x3f7ec8(0x407)]=[];}[_0x25c8ac(0x370)](){const _0x2c7673=_0x25c8ac,_0x343451=[_0x594fa4[_0x2c7673(0x37b)]['id']];this[_0x2c7673(0x1f5)](this[_0x2c7673(0x2d6)][_0x2c7673(0x485)](_0xc573a6=>{const _0x380052=_0x2c7673;_0x343451[_0x380052(0x233)](_0xc573a6['id'])&&_0xc573a6[_0x380052(0x411)][_0x380052(0x268)]===this['_context'][_0x380052(0x268)]&&this[_0x380052(0x45f)]();}));}['_initResize'](){const _0x1e250f=_0x25c8ac;this['disposeWithMe'](_0x51c091[_0x1e250f(0x286)](this['_context'][_0x1e250f(0x4b0)]['onTransformChange$'])[_0x1e250f(0x430)](_0xe24628['filter'](_0x5e670b=>_0x5e670b['type']===_0x396fb6['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1e250f(0x4d9)]),_0xe24628[_0x1e250f(0x36d)](0x10))[_0x1e250f(0x2b3)](()=>{const _0x547148=_0x1e250f;this[_0x547148(0x45f)]();}));}};_0x743d07=_0x58b0e0([_0x49e4b5(0x1,_0x51c091[_0x25c8ac(0x301)](_0x37270e[_0x25c8ac(0x1f7)])),_0x49e4b5(0x2,_0x51c091['Inject'](_0x43fe6e)),_0x49e4b5(0x3,_0x51c091[_0x25c8ac(0x483)]),_0x49e4b5(0x4,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x41b)]))],_0x743d07);const _0x1b8c31=0x1,_0x4ae82e=1.5;class _0x1855f6 extends _0x396fb6[_0x25c8ac(0x35d)]{constructor(_0x15031d,_0x341307){const _0x414b29=_0x25c8ac;super(_0x15031d,_0x341307),_0x3a54cf(this,_0x414b29(0x479)),_0x3a54cf(this,_0x414b29(0x22e),!0x1),_0x3a54cf(this,_0x414b29(0x2d5)),_0x3a54cf(this,_0x414b29(0x49d),''),_0x3a54cf(this,_0x414b29(0x28a),_0x414b29(0x49b)),_0x3a54cf(this,_0x414b29(0x24f)),(_0x341307&&this[_0x414b29(0x34b)](_0x341307),this['onPointerEnter$'][_0x414b29(0x402)](()=>this[_0x414b29(0x34b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x414b29(0x402)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x25c8ac(0x34b)](_0x18234a){const _0x1fc0ba=_0x25c8ac;var _0x4e43d7,_0x119f0d,_0x3433be,_0x1af4b1,_0x2e17ed,_0x4d8cec;this[_0x1fc0ba(0x479)]=(_0x4e43d7=_0x18234a[_0x1fc0ba(0x2da)])!=null?_0x4e43d7:this[_0x1fc0ba(0x479)],this[_0x1fc0ba(0x22e)]=(_0x119f0d=_0x18234a[_0x1fc0ba(0x34f)])!=null?_0x119f0d:this[_0x1fc0ba(0x22e)],this[_0x1fc0ba(0x2d5)]=(_0x3433be=_0x18234a[_0x1fc0ba(0x2af)])!=null?_0x3433be:this[_0x1fc0ba(0x2d5)],this[_0x1fc0ba(0x49d)]=(_0x1af4b1=_0x18234a[_0x1fc0ba(0x1ea)])!=null?_0x1af4b1:this[_0x1fc0ba(0x49d)],this['_labelPosition']=(_0x2e17ed=_0x18234a[_0x1fc0ba(0x3f3)])!=null?_0x2e17ed:this[_0x1fc0ba(0x28a)],this[_0x1fc0ba(0x24f)]=(_0x4d8cec=_0x18234a[_0x1fc0ba(0x245)])!=null?_0x4d8cec:this[_0x1fc0ba(0x24f)],this[_0x1fc0ba(0x377)]({'width':_0x18234a[_0x1fc0ba(0x3fc)],'height':_0x18234a[_0x1fc0ba(0x34c)]});}['onMouseMove'](_0xc266d4){const _0x9e3d46=_0x25c8ac,{row:_0x348e01,column:_0x446ee1}=_0xc266d4;if(_0x348e01>=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3b5)]&&_0x348e01<=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3cd)]&&_0x446ee1>=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3aa)]&&_0x446ee1<=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x250)]){this[_0x9e3d46(0x34b)]({'hovered':!0x0});return;}this[_0x9e3d46(0x34b)]({'hovered':!0x1});}[_0x25c8ac(0x376)](_0x4e1c5b){return!0x1;}[_0x25c8ac(0x2a2)](_0x37aae2){const _0x2fd50a=_0x25c8ac;_0x396fb6[_0x2fd50a(0x2c2)][_0x2fd50a(0x2bd)](_0x37aae2,{'width':this[_0x2fd50a(0x3fc)],'height':this[_0x2fd50a(0x34c)],'strokeWidth':_0x4ae82e,'stroke':this[_0x2fd50a(0x479)],'evented':!0x1,'fill':this[_0x2fd50a(0x24f)]}),this[_0x2fd50a(0x22e)]&&(_0x37aae2[_0x2fd50a(0x3c2)](),_0x37aae2[_0x2fd50a(0x279)](0x1,0x0,0x0,0x1,this[_0x2fd50a(0x3fc)],this[_0x2fd50a(0x28a)]==='bottom'?0x0:-_0x3e88d8),_0x138c53['drawWith'](_0x37aae2,{'text':this[_0x2fd50a(0x49d)],'color':this['_color']}),_0x37aae2['restore']());}}var _0x30616d=Object['getOwnPropertyDescriptor'],_0x1a0574=(_0x27b98d,_0x5c36c6,_0xa0c220,_0x22dbef)=>{const _0x168b36=_0x25c8ac;for(var _0x1fa660=_0x22dbef>0x1?void 0x0:_0x22dbef?_0x30616d(_0x5c36c6,_0xa0c220):_0x5c36c6,_0x7f962e=_0x27b98d[_0x168b36(0x497)]-0x1,_0x126114;_0x7f962e>=0x0;_0x7f962e--)(_0x126114=_0x27b98d[_0x7f962e])&&(_0x1fa660=_0x126114(_0x1fa660)||_0x1fa660);return _0x1fa660;},_0x30b26c=(_0x88b9e8,_0x463d24)=>(_0x3cfdd2,_0xab744e)=>_0x463d24(_0x3cfdd2,_0xab744e,_0x88b9e8);const _0x973394=0x1389;let _0x62dded=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x344475,_0x23d545,_0x359dde,_0x2a57a3){const _0x41953c=_0x25c8ac;super(),_0x3a54cf(this,_0x41953c(0x332),new Set()),_0x3a54cf(this,_0x41953c(0x424),null),(this[_0x41953c(0x31e)]=_0x344475,this[_0x41953c(0x473)]=_0x23d545,this['_collabCursorController']=_0x359dde,this[_0x41953c(0x2cd)]=_0x2a57a3,this[_0x41953c(0x38f)]());}[_0x25c8ac(0x38f)](){const _0x421f12=_0x25c8ac;this[_0x421f12(0x473)][_0x421f12(0x357)][_0x421f12(0x430)](_0xe24628['takeUntil'](this[_0x421f12(0x37a)]),_0xe24628[_0x421f12(0x38c)](_0x9ed001=>{const _0x33ab63=_0x421f12;if(_0x9ed001){const _0x7bbac3=_0x9ed001[_0x33ab63(0x2c8)];return _0x2d756d[_0x33ab63(0x496)](this[_0x33ab63(0x2fc)][_0x33ab63(0x2ef)](this[_0x33ab63(0x31e)][_0x33ab63(0x268)]),this[_0x33ab63(0x2cd)][_0x33ab63(0x23d)])[_0x33ab63(0x430)](_0xe24628[_0x33ab63(0x43d)](([_0x5d427a,_0x1a37ef])=>{const _0x2ff7ee=_0x33ab63,_0x6d0a5b=new Map();return _0x5d427a[_0x2ff7ee(0x345)]((_0x593936,_0x68004d)=>{const _0x5e1332=_0x2ff7ee;if(_0x593936[_0x5e1332(0x3f2)]===_0x7bbac3){const _0x2c79f1={..._0x593936};_0x2c79f1[_0x5e1332(0x2da)]=this[_0x5e1332(0x2cd)][_0x5e1332(0x2e5)](_0x593936[_0x5e1332(0x2da)]),_0x6d0a5b[_0x5e1332(0x22d)](_0x68004d,_0x2c79f1);}}),{'skeleton':_0x9ed001,'cursors':_0x6d0a5b};}));}return _0x2d756d['of']({'skeleton':null,'cursors':new Map()});}))[_0x421f12(0x2b3)](({skeleton:_0x2aaf49,cursors:_0x37bb7e})=>{const _0x77245=_0x421f12;this[_0x77245(0x22f)](),_0x2aaf49&&this['_updateCollabCursors'](_0x2aaf49,_0x37bb7e);}),this['_sheetSkeletonManagerService'][_0x421f12(0x357)][_0x421f12(0x2b3)](_0xf545b7=>{const _0x5e2dcd=_0x421f12;if(_0xf545b7==null)return;const {skeleton:_0x55cc3e}=_0xf545b7,{scene:_0x2e8369}=this['_context'];_0x2e8369[_0x5e2dcd(0x4c1)][_0x5e2dcd(0x402)](_0x51c091[_0x5e2dcd(0x447)](_0x18bb03=>{const _0x342587=_0x5e2dcd;var _0x4203f4,_0x5673f2;const {offsetX:_0x311f35,offsetY:_0x4d2298}=_0x18bb03,{x:_0x380bb5,y:_0x2bccee}=_0x2e8369['getRelativeToViewportCoord'](_0x396fb6['Vector2'][_0x342587(0x347)]([_0x311f35,_0x4d2298])),{scaleX:_0x364ff1,scaleY:_0x432c22}=_0x2e8369[_0x342587(0x1fc)](),_0x1c5010=_0x2e8369[_0x342587(0x34d)](_0x396fb6[_0x342587(0x2ce)][_0x342587(0x41a)]),_0x4b8458=_0x2e8369[_0x342587(0x49f)](_0x396fb6[_0x342587(0x49a)][_0x342587(0x347)]([_0x380bb5,_0x2bccee]),_0x1c5010),_0x168051=_0x55cc3e[_0x342587(0x365)](_0x311f35,_0x4d2298,_0x364ff1,_0x432c22,_0x4b8458);((_0x4203f4=this[_0x342587(0x424)])==null?void 0x0:_0x4203f4[_0x342587(0x2d8)])===_0x168051[_0x342587(0x2d8)]&&((_0x5673f2=this['_lastPointer'])==null?void 0x0:_0x5673f2[_0x342587(0x45b)])===_0x168051[_0x342587(0x45b)]||this[_0x342587(0x332)][_0x342587(0x345)](_0x4f8c53=>{_0x4f8c53['onMouseMove'](_0x168051);});},0x64));});}[_0x25c8ac(0x2f0)](_0x43c365,_0x2ab2cc){const _0x1c5a33=_0x25c8ac;var _0xbed0f6;const _0x3b333e=(_0xbed0f6=this[_0x1c5a33(0x473)]['getCurrent']())==null?void 0x0:_0xbed0f6[_0x1c5a33(0x20a)];if(!_0x3b333e)return;const _0x509b9c=this[_0x1c5a33(0x291)]();if(!_0x509b9c)return;this[_0x1c5a33(0x332)]['forEach'](_0x23bd84=>{const _0x4167fa=_0x1c5a33;_0x23bd84[_0x4167fa(0x3cc)]();});const {scene:_0x3e3aea}=_0x509b9c,_0x237390=_0x16ce05(Array[_0x1c5a33(0x3de)](_0x2ab2cc[_0x1c5a33(0x232)]()))['map'](_0x41820f=>{const _0x345500=_0x1c5a33,{color:_0x36c604,range:_0x3cc6de,name:_0x1feb22,selection:_0x360344,sheetID:_0x235403}=_0x41820f,{startColumn:_0x363726,startRow:_0x5f5442,endColumn:_0x467034,endRow:_0x13736d}=_0x3cc6de,_0x285441=_0x5aaf45[_0x345500(0x269)](_0x5f5442,_0x363726,_0x3e3aea,_0x3b333e),_0x43baa8=_0x5aaf45[_0x345500(0x269)](_0x13736d,_0x467034,_0x3e3aea,_0x3b333e),{columnHeaderHeightAndMarginTop:_0x431061}=_0x3b333e,{startX:_0x49e3c8,startY:_0x36a690}=_0x285441,{endX:_0x4cc179,endY:_0x2fa19e}=_0x43baa8,_0x533b91=_0x4cc179-_0x49e3c8,_0x10eb9b=_0x2fa19e-_0x36a690,_0xfa2e0c={'labelPosition':_0x36a690-_0x431061>=_0x3e88d8?_0x345500(0x49b):_0x345500(0x4c2),'sheetID':_0x235403,'range':_0x3cc6de,'color':_0x36c604,'name':_0x1feb22,'selection':_0x360344,'left':_0x49e3c8,'top':_0x36a690,'width':_0x533b91,'height':_0x10eb9b,'evented':!0x1,'zIndex':_0x973394};return new _0x1855f6(_0x1feb22,_0xfa2e0c);});_0x3e3aea[_0x1c5a33(0x3f4)](_0x237390,_0x1b8c31),this[_0x1c5a33(0x332)]=new Set(_0x237390);}[_0x25c8ac(0x22f)](){const _0x3a6ac6=_0x25c8ac;var _0x441f6b;(_0x441f6b=this[_0x3a6ac6(0x332)])==null||_0x441f6b[_0x3a6ac6(0x345)](_0x15aec0=>_0x15aec0[_0x3a6ac6(0x325)]());}[_0x25c8ac(0x291)](){const _0x3d2048=_0x25c8ac;return _0x5aaf45['getSheetObject'](this[_0x3d2048(0x31e)][_0x3d2048(0x4b5)],this['_context']);}};_0x62dded=_0x1a0574([_0x30b26c(0x1,_0x51c091[_0x25c8ac(0x301)](_0x5aaf45[_0x25c8ac(0x351)])),_0x30b26c(0x2,_0x51c091['Inject'](_0x43fe6e)),_0x30b26c(0x3,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x41b)]))],_0x62dded);function _0x16ce05(_0x40d3b2){const _0x2cbbf9=_0x25c8ac,_0x4bfad6=new Map();return _0x40d3b2['forEach'](_0x14de9b=>{const _0x4835e7=_0xd869;if(_0x4bfad6[_0x4835e7(0x297)](_0x14de9b[_0x4835e7(0x27d)])){const _0x5031e2=_0x4bfad6[_0x4835e7(0x4c4)](_0x14de9b[_0x4835e7(0x27d)]);_0x5031e2[_0x4835e7(0x1ea)]+=',\x20'+_0x14de9b[_0x4835e7(0x1ea)];}else _0x4bfad6[_0x4835e7(0x22d)](_0x14de9b[_0x4835e7(0x27d)],_0x14de9b);}),Array[_0x2cbbf9(0x3de)](_0x4bfad6[_0x2cbbf9(0x232)]());}var _0x29ab0c=Object[_0x25c8ac(0x3a8)],_0x15b492=(_0x16eb62,_0x35edbe,_0x4bfdb7,_0x23c58d)=>{const _0x2d88d8=_0x25c8ac;for(var _0x58517f=_0x23c58d>0x1?void 0x0:_0x23c58d?_0x29ab0c(_0x35edbe,_0x4bfdb7):_0x35edbe,_0x31ba92=_0x16eb62[_0x2d88d8(0x497)]-0x1,_0x2ba036;_0x31ba92>=0x0;_0x31ba92--)(_0x2ba036=_0x16eb62[_0x31ba92])&&(_0x58517f=_0x2ba036(_0x58517f)||_0x58517f);return _0x58517f;},_0x425b82=(_0x38ae6c,_0x160252)=>(_0x51ffc0,_0x134016)=>_0x160252(_0x51ffc0,_0x134016,_0x38ae6c);let _0x1e22db=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x1ac8ac,_0x1d1d63,_0x202e91,_0x30edaa,_0x376001,_0x31f904){const _0x2b57cc=_0x25c8ac;super(),this[_0x2b57cc(0x48a)]=_0x1ac8ac,this[_0x2b57cc(0x267)]=_0x1d1d63,this['_collaborationUIEventService']=_0x202e91,this[_0x2b57cc(0x264)]=_0x30edaa,this[_0x2b57cc(0x31d)]=_0x376001,this[_0x2b57cc(0x372)]=_0x31f904,this[_0x2b57cc(0x2c3)](),this[_0x2b57cc(0x229)]();}[_0x25c8ac(0x2c3)](){const _0x2ed39f=_0x25c8ac;this[_0x2ed39f(0x1f5)](this[_0x2ed39f(0x48a)][_0x2ed39f(0x368)](()=>{const _0x49413d=_0x2ed39f;if(this[_0x49413d(0x267)][_0x49413d(0x237)][_0x49413d(0x3ac)])return this[_0x49413d(0x372)]['t'](_0x49413d(0x21f));}));}['_initEvent'](){const _0x57b5ac=_0x25c8ac;this['disposeWithMe'](this[_0x57b5ac(0x43f)][_0x57b5ac(0x2c1)][_0x57b5ac(0x2b3)](_0x4bc46e=>{const _0xcf2a45=_0x57b5ac;_0x4bc46e['id']===_0x493e59['CollaborationUIEventId'][_0xcf2a45(0x3f0)]&&this['_messageService'][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x25b))}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x280)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db['MessageType'][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t']('collaboration.closeRoom')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x292)]&&this['_notificationService'][_0xcf2a45(0x392)]({'title':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x4aa)),'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x239)),'type':_0xcf2a45(0x3df),'duration':0x0}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x1ec)]&&this[_0xcf2a45(0x264)]['show']({'type':_0x1039db['MessageType'][_0xcf2a45(0x235)],'content':this[_0xcf2a45(0x372)]['t']('collaboration.closeRoom')+'('+_0x4bc46e[_0xcf2a45(0x303)]+')'}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x46e)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0x4bc46e[_0xcf2a45(0x303)]||'')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x224)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x46b))}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)]['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x1039db['MessageType']['Error'],'content':this[_0xcf2a45(0x372)]['t']('session.connection-failed')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x31c)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x235)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x373))});}));}};_0x1e22db=_0x15b492([_0x425b82(0x0,_0x47d161['IBeforeCloseService']),_0x425b82(0x1,_0x493e59[_0x25c8ac(0x4cd)]),_0x425b82(0x2,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x3fa)])),_0x425b82(0x3,_0x47d161[_0x25c8ac(0x492)]),_0x425b82(0x4,_0x47d161[_0x25c8ac(0x3f5)]),_0x425b82(0x5,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x27c)]))],_0x1e22db);var _0x4f6c6d=Object[_0x25c8ac(0x3a8)],_0x2f7efc=(_0x3d41a8,_0xc390b3,_0x97e7ab,_0x10d50d)=>{const _0x355344=_0x25c8ac;for(var _0x405f5a=_0x10d50d>0x1?void 0x0:_0x10d50d?_0x4f6c6d(_0xc390b3,_0x97e7ab):_0xc390b3,_0x3a3866=_0x3d41a8[_0x355344(0x497)]-0x1,_0x5172d6;_0x3a3866>=0x0;_0x3a3866--)(_0x5172d6=_0x3d41a8[_0x3a3866])&&(_0x405f5a=_0x5172d6(_0x405f5a)||_0x405f5a);return _0x405f5a;},_0x1c94f3=(_0x2b616c,_0xe8b611)=>(_0x20c8f2,_0x5d156b)=>_0xe8b611(_0x20c8f2,_0x5d156b,_0x2b616c);let _0x5971ed=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x4c106d,_0xcdfbef,_0x475d77,_0x283c7e){const _0x3d0aca=_0x25c8ac;super(),_0x3a54cf(this,'_memberID'),(this[_0x3d0aca(0x3e5)]=_0x4c106d,this['_httpService']=_0xcdfbef,this[_0x3d0aca(0x38d)]=_0x475d77,this[_0x3d0aca(0x205)]=_0x283c7e,this['_init']());}[_0x25c8ac(0x38f)](){const _0x101e45=_0x25c8ac;this['_initWindowErrorListener'](),this[_0x101e45(0x4d3)](),this[_0x101e45(0x21e)](),this['_initUserListener']();}[_0x25c8ac(0x472)](){const _0xa13380=_0x25c8ac;this['disposeWithMe'](this[_0xa13380(0x205)][_0xa13380(0x4be)][_0xa13380(0x2b3)](_0x9b739d=>{const _0x127833=_0xa13380;this[_0x127833(0x318)]=_0x9b739d==null?void 0x0:_0x9b739d[_0x127833(0x4b8)];}));}[_0x25c8ac(0x32c)](){const _0x764f1a=_0x25c8ac,_0x54c5ba=_0x5610ab=>{const _0x2eb333=_0xd869;var _0x453d1a;this['_uploadLog'](_0x2eb333(0x3df),_0x2eb333(0x416)+_0x5610ab['message']+'\x20at\x20'+_0x5610ab['filename']+':'+_0x5610ab[_0x2eb333(0x4d2)]+':'+_0x5610ab[_0x2eb333(0x2f3)]+'\x0a'+(((_0x453d1a=_0x5610ab[_0x2eb333(0x3df)])==null?void 0x0:_0x453d1a[_0x2eb333(0x493)])||''));};window[_0x764f1a(0x222)](_0x764f1a(0x3df),_0x54c5ba),this[_0x764f1a(0x1f5)](()=>{const _0x2907ce=_0x764f1a;window[_0x2907ce(0x464)]('error',_0x54c5ba);});}[_0x25c8ac(0x4d3)](){const _0x1af3b0=_0x25c8ac,_0x235439=_0x37288f=>{const _0x4cbf28=_0xd869;this[_0x4cbf28(0x257)]('error',_0x4cbf28(0x283)+_0x37288f[_0x4cbf28(0x2ec)]);};window[_0x1af3b0(0x222)](_0x1af3b0(0x28e),_0x235439),this[_0x1af3b0(0x1f5)](()=>{const _0x3d6b8c=_0x1af3b0;window[_0x3d6b8c(0x464)](_0x3d6b8c(0x28e),_0x235439);});}[_0x25c8ac(0x21e)](){const _0x284c87=_0x25c8ac,_0x87d50f=this[_0x284c87(0x38d)][_0x284c87(0x3df)][_0x284c87(0x20f)](this['_logService']);this[_0x284c87(0x38d)]['error']=(..._0x569935)=>{const _0x2b2d3d=_0x284c87,_0x58e01d=_0x569935['map'](_0x45a0e4=>_0x45a0e4 instanceof Error?_0x45a0e4[_0x2b2d3d(0x2f6)]+'\x0a'+_0x45a0e4['stack']:String(_0x45a0e4))[_0x2b2d3d(0x466)]('\x20');this['_uploadLog'](_0x2b2d3d(0x3df),'[LogService\x20Error]:\x20'+_0x58e01d),_0x87d50f(..._0x569935);},this[_0x284c87(0x1f5)](()=>{const _0x5a14d6=_0x284c87;this[_0x5a14d6(0x38d)][_0x5a14d6(0x3df)]=_0x87d50f;});}[_0x25c8ac(0x257)](_0x370db7,_0x5a73c5){const _0xba4ba=_0x25c8ac;try{const _0x4c43da={'userId':this[_0xba4ba(0x318)],'logLabel':_0x370db7,'content':_0x5a73c5};this['_httpService']['post']('/universer-api/frontend/logs',{'body':_0x4c43da})[_0xba4ba(0x3a4)](()=>{});}catch{}}};_0x5971ed=_0x2f7efc([_0x1c94f3(0x0,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x1c94f3(0x1,_0x51c091[_0x25c8ac(0x301)](_0x38be65[_0x25c8ac(0x436)])),_0x1c94f3(0x2,_0x51c091[_0x25c8ac(0x36e)]),_0x1c94f3(0x3,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x1f2)]))],_0x5971ed);const _0x50d024=_0x25c8ac(0x2a5),_0x3bc6e3={};var _0x393079=Object[_0x25c8ac(0x3a8)],_0x4f22c5=(_0x25beb7,_0x424d8f,_0xa4c970,_0x194e62)=>{const _0x1aeb36=_0x25c8ac;for(var _0x1515fb=_0x194e62>0x1?void 0x0:_0x194e62?_0x393079(_0x424d8f,_0xa4c970):_0x424d8f,_0x104bfe=_0x25beb7[_0x1aeb36(0x497)]-0x1,_0x551135;_0x104bfe>=0x0;_0x104bfe--)(_0x551135=_0x25beb7[_0x104bfe])&&(_0x1515fb=_0x551135(_0x1515fb)||_0x1515fb);return _0x1515fb;},_0x42042d=(_0x4ba6dc,_0x4acd0d)=>(_0x573318,_0x1bae24)=>_0x4acd0d(_0x573318,_0x1bae24,_0x4ba6dc);let _0x36d845=class{constructor(_0x296b0f,_0x52873d){const _0x1a41e8=_0x25c8ac;this[_0x1a41e8(0x414)]=_0x296b0f,this[_0x1a41e8(0x21c)]=_0x52873d;}[_0x25c8ac(0x29b)](_0x1af2ba){const _0x5b1295=_0x25c8ac;this[_0x5b1295(0x4ac)](_0x1af2ba),this[_0x5b1295(0x382)](_0x1af2ba);}['transformRemoteChangeset'](_0x1b3fff){const _0x1994fa=_0x25c8ac,{unitID:_0x36ae73}=_0x1b3fff,_0x40a0d9=this[_0x1994fa(0x21c)][_0x1994fa(0x25a)](_0x36ae73)['with'](_0x594fa4['DocIMEInputManagerService']),{redoCache:_0x2098eb}=_0x40a0d9['getUndoRedoMutationParamsCache']();if(_0x2098eb[_0x1994fa(0x497)]===0x0)return _0x1b3fff;let _0x2bdabf=_0x51c091[_0x1994fa(0x3ff)]['deepClone'](_0x1b3fff['mutations'][0x0]);for(let _0xc889c7=0x0;_0xc889c7<_0x2098eb['length'];_0xc889c7++){const _0xbe59={'id':'doc.mutation.rich-text-editing','params':{..._0x2098eb[_0xc889c7]}},_0x3360ee=this['_transformService'][_0x1994fa(0x2b2)](_0x2bdabf,_0xbe59,!0x1);if(_0x5b9cab[_0x1994fa(0x452)](_0x3360ee))throw _0x3360ee[_0x1994fa(0x3df)];_0x2bdabf=_0x3360ee['m1Prime'];}return{..._0x51c091[_0x1994fa(0x3ff)][_0x1994fa(0x259)](_0x1b3fff),'mutations':[_0x2bdabf]};}[_0x25c8ac(0x4ac)](_0x1f1546){const _0x11d044=_0x25c8ac,{unitID:_0x2ec474}=_0x1f1546,_0x2af329=this[_0x11d044(0x21c)]['getRenderById'](_0x2ec474)[_0x11d044(0x339)](_0x594fa4['DocIMEInputManagerService']),{undoCache:_0x4c182d,redoCache:_0x5ced31}=_0x2af329[_0x11d044(0x2cc)]();if(_0x4c182d[_0x11d044(0x497)]===0x0||_0x5ced31[_0x11d044(0x497)]===0x0)return;const _0x19b3a4=[],_0x4e8156=[];let _0x41fa1e=_0x51c091[_0x11d044(0x3ff)]['deepClone'](_0x1f1546['mutations'][0x0]),_0x5ea255=_0x51c091[_0x11d044(0x3ff)][_0x11d044(0x259)](_0x1f1546[_0x11d044(0x2dc)][0x0]);for(let _0x53d254=_0x4c182d[_0x11d044(0x497)]-0x1;_0x53d254>=0x0;_0x53d254--){const _0x1af8ad={'id':'doc.mutation.rich-text-editing','params':{..._0x4c182d[_0x53d254]}},_0x105dad={'id':'doc.mutation.rich-text-editing','params':{..._0x5ced31[_0x53d254]}},_0x25fab0=this[_0x11d044(0x414)][_0x11d044(0x2b2)](_0x41fa1e,_0x1af8ad,!0x1),_0x5ece87=this[_0x11d044(0x414)][_0x11d044(0x2b2)](_0x5ea255,_0x105dad,!0x1);if(_0x5b9cab[_0x11d044(0x452)](_0x25fab0))throw _0x25fab0['error'];if(_0x5b9cab[_0x11d044(0x452)](_0x5ece87))throw _0x5ece87[_0x11d044(0x3df)];_0x19b3a4[_0x11d044(0x4cf)](_0x25fab0[_0x11d044(0x389)][_0x11d044(0x411)]),_0x4e8156[_0x11d044(0x4cf)](_0x5ece87[_0x11d044(0x389)][_0x11d044(0x411)]),_0x41fa1e=_0x25fab0[_0x11d044(0x33c)],_0x5ea255=_0x5ece87[_0x11d044(0x33c)];}_0x2af329['setUndoRedoMutationParamsCache']({'undoCache':_0x19b3a4,'redoCache':_0x4e8156});}[_0x25c8ac(0x382)](_0x186536){const _0x40fea0=_0x25c8ac,{unitID:_0x5cbecc}=_0x186536,_0x66e5df=this[_0x40fea0(0x21c)][_0x40fea0(0x25a)](_0x5cbecc)['with'](_0x594fa4[_0x40fea0(0x2df)]),_0x3af6fe=_0x66e5df[_0x40fea0(0x381)]();if(_0x3af6fe==null)return;const _0x2159ae=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x186536['unitID'],'actions':null,'textRanges':[_0x3af6fe]}}],_0x510151=this[_0x40fea0(0x414)][_0x40fea0(0x2bb)](_0x186536,_0x2159ae);if(!_0x5b9cab[_0x40fea0(0x314)](_0x510151))throw _0x510151['error'];const _0x526d21=_0x510151[_0x40fea0(0x389)][0x0]['params'][_0x40fea0(0x45a)];Array[_0x40fea0(0x1fa)](_0x526d21)&&_0x526d21[_0x40fea0(0x497)]&&_0x66e5df['setActiveRange'](_0x526d21[0x0]);}};_0x36d845=_0x4f22c5([_0x42042d(0x0,_0x5b9cab[_0x25c8ac(0x431)]),_0x42042d(0x1,_0x396fb6['IRenderManagerService'])],_0x36d845);var _0x5d8053=Object[_0x25c8ac(0x3a8)],_0x56f933=(_0x188e70,_0x42a546,_0x2a3b1f,_0x4a80b5)=>{for(var _0x25fd9d=_0x4a80b5>0x1?void 0x0:_0x4a80b5?_0x5d8053(_0x42a546,_0x2a3b1f):_0x42a546,_0x1efe8a=_0x188e70['length']-0x1,_0x59958a;_0x1efe8a>=0x0;_0x1efe8a--)(_0x59958a=_0x188e70[_0x1efe8a])&&(_0x25fd9d=_0x59958a(_0x25fd9d)||_0x25fd9d);return _0x25fd9d;},_0x5833a8=(_0x18f96f,_0x184249)=>(_0x11b367,_0x2ac88f)=>_0x184249(_0x11b367,_0x2ac88f,_0x18f96f);let _0x40750b=class{constructor(_0x3a865a,_0x37fcbc,_0x424c94){const _0x53f457=_0x25c8ac;this[_0x53f457(0x3e5)]=_0x3a865a,this[_0x53f457(0x414)]=_0x37fcbc,this[_0x53f457(0x20b)]=_0x424c94;}[_0x25c8ac(0x3b8)](_0xe3db17){const _0x1df755=_0x25c8ac;this[_0x1df755(0x254)](_0xe3db17);}[_0x25c8ac(0x364)](_0x3dd461){const _0x3b9195=_0x25c8ac,{unitID:_0x247cef}=_0x3dd461,{collaboration:_0x1836b1}=this[_0x3b9195(0x20b)][_0x3b9195(0x4d4)](_0x247cef);if(_0x1836b1[_0x3b9195(0x497)]===0x0)return _0x3dd461;let _0xacc4a4=_0x51c091['Tools'][_0x3b9195(0x259)](_0x3dd461[_0x3b9195(0x2dc)][0x0]);for(let _0x763975=0x0;_0x763975<_0x1836b1['length'];_0x763975++){const _0x837758={'id':_0x3b9195(0x21a),'params':{'unitId':_0x1836b1[_0x763975]['unitId'],..._0x1836b1[_0x763975][_0x3b9195(0x272)]}},_0x464696=this[_0x3b9195(0x414)][_0x3b9195(0x2b2)](_0xacc4a4,_0x837758,!0x1);if(_0x5b9cab[_0x3b9195(0x452)](_0x464696))throw _0x464696[_0x3b9195(0x3df)];_0xacc4a4=_0x464696[_0x3b9195(0x33c)];}return{..._0x51c091['Tools'][_0x3b9195(0x259)](_0x3dd461),'mutations':[_0xacc4a4]};}['_transformHistoryAndStateStack'](_0x2304a4){const _0x3c7267=_0x25c8ac,{unitID:_0x23b94d}=_0x2304a4,{history:_0x533608,collaboration:_0x55b871}=this[_0x3c7267(0x20b)][_0x3c7267(0x4d4)](_0x23b94d);if(_0x533608[_0x3c7267(0x497)]===0x0&&_0x55b871['length']===0x0)return;const _0x47bc20=[],_0x4d68fb=[];let _0x16873c=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4['mutations'][0x0]),_0x39051e=_0x51c091['Tools']['deepClone'](_0x2304a4[_0x3c7267(0x2dc)][0x0]);for(let _0x40e6cf=_0x533608['length']-0x1;_0x40e6cf>=0x0;_0x40e6cf--){const _0x193b0d={'id':_0x3c7267(0x21a),'params':{'unitId':_0x533608[_0x40e6cf][_0x3c7267(0x268)],..._0x533608[_0x40e6cf][_0x3c7267(0x415)]}},_0x41bade={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x533608[_0x40e6cf]['unitId'],..._0x533608[_0x40e6cf]['redoState']}},_0x1764e5=this[_0x3c7267(0x414)]['transformMutation'](_0x16873c,_0x193b0d,!0x1),_0x1fee67=this[_0x3c7267(0x414)][_0x3c7267(0x2b2)](_0x39051e,_0x41bade,!0x1);if(_0x5b9cab[_0x3c7267(0x452)](_0x1764e5))throw _0x1764e5[_0x3c7267(0x3df)];if(_0x5b9cab[_0x3c7267(0x452)](_0x1fee67))throw _0x1fee67[_0x3c7267(0x3df)];_0x47bc20[_0x3c7267(0x4cf)]({..._0x533608[_0x40e6cf],'undoState':_0x1764e5[_0x3c7267(0x389)][_0x3c7267(0x411)],'redoState':_0x1fee67[_0x3c7267(0x389)][_0x3c7267(0x411)]}),_0x16873c=_0x1764e5[_0x3c7267(0x33c)],_0x39051e=_0x1fee67[_0x3c7267(0x33c)];}_0x16873c=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4[_0x3c7267(0x2dc)][0x0]),_0x39051e=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4[_0x3c7267(0x2dc)][0x0]);for(let _0x3e7061=_0x55b871[_0x3c7267(0x497)]-0x1;_0x3e7061>=0x0;_0x3e7061--){const _0x302915={'id':_0x3c7267(0x21a),'params':{'unitId':_0x55b871[_0x3e7061][_0x3c7267(0x268)],..._0x55b871[_0x3e7061][_0x3c7267(0x415)]}},_0x356470={'id':_0x3c7267(0x21a),'params':{'unitId':_0x55b871[_0x3e7061]['unitId'],..._0x55b871[_0x3e7061][_0x3c7267(0x272)]}},_0x51f03c=this[_0x3c7267(0x414)][_0x3c7267(0x2b2)](_0x16873c,_0x302915,!0x1),_0x19fb70=this['_transformService'][_0x3c7267(0x2b2)](_0x39051e,_0x356470,!0x1);if(_0x5b9cab[_0x3c7267(0x452)](_0x51f03c))throw _0x51f03c['error'];if(_0x5b9cab[_0x3c7267(0x452)](_0x19fb70))throw _0x19fb70[_0x3c7267(0x3df)];_0x4d68fb['unshift']({..._0x55b871[_0x3e7061],'undoState':_0x51f03c[_0x3c7267(0x389)][_0x3c7267(0x411)],'redoState':_0x19fb70[_0x3c7267(0x389)][_0x3c7267(0x411)]}),_0x16873c=_0x51f03c[_0x3c7267(0x33c)],_0x39051e=_0x19fb70['m1Prime'];}this['_docStateChangeManagerService'][_0x3c7267(0x3b1)](_0x23b94d,{'history':_0x47bc20,'collaboration':_0x4d68fb});}};_0x40750b=_0x56f933([_0x5833a8(0x0,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x5833a8(0x1,_0x5b9cab['ITransformService']),_0x5833a8(0x2,_0x51c091[_0x25c8ac(0x301)](_0x594fa4[_0x25c8ac(0x2d9)]))],_0x40750b);var _0x132645=Object[_0x25c8ac(0x3a8)],_0x4bbfef=(_0x2c60e8,_0x4e3d5c,_0x122742,_0x3372ea)=>{for(var _0x2457d0=_0x3372ea>0x1?void 0x0:_0x3372ea?_0x132645(_0x4e3d5c,_0x122742):_0x4e3d5c,_0x230e30=_0x2c60e8['length']-0x1,_0x113fc0;_0x230e30>=0x0;_0x230e30--)(_0x113fc0=_0x2c60e8[_0x230e30])&&(_0x2457d0=_0x113fc0(_0x2457d0)||_0x2457d0);return _0x2457d0;},_0x536d50=(_0xbf09c6,_0x419445)=>(_0x49e432,_0x519452)=>_0x419445(_0x49e432,_0x519452,_0xbf09c6);let _0x4139fa=class{constructor(_0x5ccb2b,_0x13ca82){const _0x73fddc=_0x25c8ac;this[_0x73fddc(0x3e5)]=_0x5ccb2b,this['_transformService']=_0x13ca82;}[_0x25c8ac(0x467)](_0x554ae8){const _0x3eed8f=_0x25c8ac;var _0x437b5f;const _0x11e68b=this[_0x3eed8f(0x3e5)][_0x3eed8f(0x4c4)](_0x37270e['DocSelectionManagerService']),_0x5a81dc=(_0x437b5f=_0x11e68b[_0x3eed8f(0x4d8)]())!=null?_0x437b5f:[];if(_0x5a81dc[_0x3eed8f(0x497)]===0x0)return;const _0x391912=_0x554ae8[_0x3eed8f(0x3e1)],_0x2950cd=[{'id':_0x3eed8f(0x21a),'params':{'unitId':_0x391912,'actions':null,'textRanges':_0x5a81dc}}],_0xca6d5f=this[_0x3eed8f(0x414)][_0x3eed8f(0x2bb)](_0x554ae8,_0x2950cd);if(!_0x5b9cab[_0x3eed8f(0x314)](_0xca6d5f))throw _0xca6d5f[_0x3eed8f(0x3df)];const _0x214e9a=_0xca6d5f['m2Prime'][0x0][_0x3eed8f(0x411)][_0x3eed8f(0x45a)];Array[_0x3eed8f(0x1fa)](_0x214e9a)&&_0x214e9a[_0x3eed8f(0x497)]&&_0x11e68b[_0x3eed8f(0x2f7)](_0x214e9a,{'unitId':_0x391912,'subUnitId':_0x391912},!0x1);}};_0x4139fa=_0x4bbfef([_0x536d50(0x0,_0x51c091[_0x25c8ac(0x301)](_0x51c091['Injector'])),_0x536d50(0x1,_0x5b9cab[_0x25c8ac(0x431)])],_0x4139fa);var _0x239ce6=Object[_0x25c8ac(0x3a8)],_0x19aec7=(_0xcf162,_0x4b7fb1,_0x1a523d,_0x14a893)=>{for(var _0xd33dde=_0x14a893>0x1?void 0x0:_0x14a893?_0x239ce6(_0x4b7fb1,_0x1a523d):_0x4b7fb1,_0x599a3e=_0xcf162['length']-0x1,_0x3ce1fc;_0x599a3e>=0x0;_0x599a3e--)(_0x3ce1fc=_0xcf162[_0x599a3e])&&(_0xd33dde=_0x3ce1fc(_0xd33dde)||_0xd33dde);return _0xd33dde;},_0x333003=(_0x4a5f19,_0x175aa9)=>(_0x2c56a5,_0x3b6eb1)=>_0x175aa9(_0x2c56a5,_0x3b6eb1,_0x4a5f19);let _0x41b37a=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x1f0f14,_0x2e4f5e,_0xee5db6,_0x1576a3,_0x3c2229,_0x25d9a3,_0x503918,_0x3ef373){const _0x15f9d1=_0x25c8ac;super(),_0x3a54cf(this,_0x15f9d1(0x346),new _0x2d756d[(_0x15f9d1(0x243))](_0x493e59['CollaborationStatus'][_0x15f9d1(0x356)])),(this[_0x15f9d1(0x20b)]=_0x1f0f14,this[_0x15f9d1(0x480)]=_0x2e4f5e,this[_0x15f9d1(0x2cf)]=_0xee5db6,this[_0x15f9d1(0x32e)]=_0x1576a3,this['_docTransformSelectionsService']=_0x3c2229,this['_docSyncEditingCollabCursorService']=_0x25d9a3,this[_0x15f9d1(0x264)]=_0x503918,this[_0x15f9d1(0x372)]=_0x3ef373,this[_0x15f9d1(0x46d)]());}[_0x25c8ac(0x46d)](){const _0x56f26d=_0x25c8ac;this['disposeWithMe'](this['_collaborationController'][_0x56f26d(0x4b3)][_0x56f26d(0x2b3)](_0x2724db=>{const _0x53ec8c=_0x56f26d,_0xb2d254=this['_docStateChangeManagerService'][_0x53ec8c(0x2dd)]['subscribe'](_0x4e81e3=>{const _0x3dedca=_0x53ec8c;if(_0x4e81e3==null)return;const {unitId:_0x1f084f,redoState:_0x385ba0,commandId:_0x33a782}=_0x4e81e3;if(_0x1f084f!==_0x2724db[_0x3dedca(0x3e1)])return;const _0x44a2e7={'id':_0x33a782,'type':_0x51c091[_0x3dedca(0x3fe)]['MUTATION'],'params':{'unitId':_0x1f084f,'actions':_0x385ba0[_0x3dedca(0x265)],'textRanges':null}};_0x2724db['onLocalMutation'](_0x44a2e7);});if(_0x2724db[_0x53ec8c(0x1f5)](_0xb2d254),_0x2724db instanceof _0x493e59[_0x53ec8c(0x3ad)]){const _0x3652e1={'onTransformIME':_0x442c35=>this[_0x53ec8c(0x2cf)][_0x53ec8c(0x29b)](_0x442c35),'onTransformState':_0x37a17b=>this[_0x53ec8c(0x32e)][_0x53ec8c(0x3b8)](_0x37a17b),'onTransformSelections':_0x441060=>this[_0x53ec8c(0x384)]['transformSelections'](_0x441060),'onSyncEditingCollabCursor':_0x1282b5=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x1282b5),'onTransformRemoteChangesetByIMECache':_0x22c662=>this[_0x53ec8c(0x2cf)]['transformRemoteChangeset'](_0x22c662),'onTransformRemoteChangesetByStateCache':_0x8e56a7=>this[_0x53ec8c(0x32e)][_0x53ec8c(0x364)](_0x8e56a7)};_0x2724db['addHandlerCallback'](_0x3652e1);}}));}};_0x41b37a=_0x19aec7([_0x333003(0x0,_0x51c091['Inject'](_0x594fa4[_0x25c8ac(0x2d9)])),_0x333003(0x1,_0x51c091[_0x25c8ac(0x301)](_0x493e59[_0x25c8ac(0x1f8)])),_0x333003(0x2,_0x51c091[_0x25c8ac(0x301)](_0x36d845)),_0x333003(0x3,_0x51c091[_0x25c8ac(0x301)](_0x40750b)),_0x333003(0x4,_0x51c091[_0x25c8ac(0x301)](_0x4139fa)),_0x333003(0x5,_0x51c091[_0x25c8ac(0x301)](_0x43bd11)),_0x333003(0x6,_0x47d161[_0x25c8ac(0x492)]),_0x333003(0x7,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x27c)]))],_0x41b37a);var _0x19b5af=(_0x437107=>(_0x437107[_0x437107[_0x25c8ac(0x3a2)]=0x0]=_0x25c8ac(0x3a2),_0x437107[_0x437107['OK']=0x1]='OK',_0x437107[_0x437107[_0x25c8ac(0x305)]=0x2]=_0x25c8ac(0x305),_0x437107[_0x437107['PERMISSION_DENIED']=0x3]=_0x25c8ac(0x292),_0x437107[_0x437107[_0x25c8ac(0x490)]=0x4]='NOT_FOUND',_0x437107[_0x437107['UNAUTHENTICATED']=0x5]=_0x25c8ac(0x427),_0x437107[_0x437107[_0x25c8ac(0x3c0)]=0x6]='ALREADY_EXISTS',_0x437107[_0x437107['INVALID_ARGUMENT']=0x7]=_0x25c8ac(0x350),_0x437107[_0x437107[_0x25c8ac(0x32f)]=0x8]=_0x25c8ac(0x32f),_0x437107[_0x437107['COMPLETION_FINISHED']=0x9]=_0x25c8ac(0x3f1),_0x437107[_0x437107[_0x25c8ac(0x3e6)]=0xa]=_0x25c8ac(0x3e6),_0x437107[_0x437107[_0x25c8ac(0x35e)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x437107[_0x437107[_0x25c8ac(0x4ae)]=0xc]=_0x25c8ac(0x4ae),_0x437107[_0x437107[_0x25c8ac(0x4ca)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x437107[_0x437107[_0x25c8ac(0x40c)]=0xe]=_0x25c8ac(0x40c),_0x437107[_0x437107['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x25c8ac(0x367),_0x437107[_0x437107['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x25c8ac(0x40f),_0x437107[_0x437107[_0x25c8ac(0x2a3)]=0x64]=_0x25c8ac(0x2a3),_0x437107[_0x437107[_0x25c8ac(0x4a8)]=0x65]=_0x25c8ac(0x4a8),_0x437107[_0x437107[_0x25c8ac(0x4b7)]=0xc9]=_0x25c8ac(0x4b7),_0x437107[_0x437107['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x437107[_0x437107['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x25c8ac(0x3fb),_0x437107[_0x437107['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x25c8ac(0x3ea),_0x437107[_0x437107[_0x25c8ac(0x20d)]=0x1772]=_0x25c8ac(0x20d),_0x437107[_0x437107['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x25c8ac(0x37d),_0x437107[_0x437107[_0x25c8ac(0x256)]=0x1b59]='APPLY_REJECT',_0x437107[_0x437107[_0x25c8ac(0x36a)]=0x1b5a]=_0x25c8ac(0x36a),_0x437107[_0x437107[_0x25c8ac(0x251)]=0x1b5b]=_0x25c8ac(0x251),_0x437107[_0x437107['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x25c8ac(0x246),_0x437107[_0x437107[_0x25c8ac(0x3b0)]=0x1b5d]=_0x25c8ac(0x3b0),_0x437107[_0x437107[_0x25c8ac(0x369)]=0x1f41]=_0x25c8ac(0x369),_0x437107[_0x437107[_0x25c8ac(0x23b)]=0x2329]=_0x25c8ac(0x23b),_0x437107[_0x437107[_0x25c8ac(0x317)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x437107[_0x437107[_0x25c8ac(0x2ab)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x437107[_0x437107['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x25c8ac(0x397),_0x437107[_0x437107[_0x25c8ac(0x1f9)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x437107[_0x437107[_0x25c8ac(0x27b)]=0x2711]=_0x25c8ac(0x27b),_0x437107[_0x437107['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x25c8ac(0x48c),_0x437107[_0x437107[_0x25c8ac(0x2e1)]=0x2713]=_0x25c8ac(0x2e1),_0x437107[_0x437107[_0x25c8ac(0x399)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x437107[_0x437107[_0x25c8ac(0x24c)]=0x271a]=_0x25c8ac(0x24c),_0x437107[_0x437107[_0x25c8ac(0x35f)]=0x271b]=_0x25c8ac(0x35f),_0x437107[_0x437107[_0x25c8ac(0x442)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x437107[_0x437107['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x437107[_0x437107['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x25c8ac(0x470),_0x437107[_0x437107[_0x25c8ac(0x49e)]=0x271f]=_0x25c8ac(0x49e),_0x437107[_0x437107[_0x25c8ac(0x4d7)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x437107[_0x437107['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x25c8ac(0x462),_0x437107[_0x437107['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x25c8ac(0x4d6),_0x437107[_0x437107[_0x25c8ac(0x29d)]=0x2ee2]='INVALID_INVITE_CODE',_0x437107[_0x437107[_0x25c8ac(0x32a)]=0x2ee3]=_0x25c8ac(0x32a),_0x437107[_0x437107[_0x25c8ac(0x42d)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x437107[_0x437107[_0x25c8ac(0x1ff)]=0x2ee5]=_0x25c8ac(0x1ff),_0x437107[_0x437107[_0x25c8ac(0x40a)]=0x32c9]=_0x25c8ac(0x40a),_0x437107[_0x437107[_0x25c8ac(0x4a6)]=0x32ca]=_0x25c8ac(0x4a6),_0x437107[_0x437107[_0x25c8ac(0x3ca)]=0x32cb]=_0x25c8ac(0x3ca),_0x437107[_0x437107[_0x25c8ac(0x3ed)]=0x36b1]=_0x25c8ac(0x3ed),_0x437107[_0x437107[_0x25c8ac(0x3cf)]=0x36b2]=_0x25c8ac(0x3cf),_0x437107[_0x437107[_0x25c8ac(0x3b2)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x437107[_0x437107['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x25c8ac(0x418),_0x437107[_0x437107[_0x25c8ac(0x340)]=0x3715]=_0x25c8ac(0x340),_0x437107[_0x437107['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x25c8ac(0x3a3),_0x437107[_0x437107[_0x25c8ac(0x4a0)]=0x3717]=_0x25c8ac(0x4a0),_0x437107[_0x437107[_0x25c8ac(0x202)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x437107[_0x437107[_0x25c8ac(0x25c)]=0x3a99]=_0x25c8ac(0x25c),_0x437107[_0x437107['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x25c8ac(0x204),_0x437107[_0x437107[_0x25c8ac(0x308)]=0x3a9b]=_0x25c8ac(0x308),_0x437107[_0x437107['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x437107[_0x437107['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x437107[_0x437107[_0x25c8ac(0x29a)]=0x3a9e]=_0x25c8ac(0x29a),_0x437107[_0x437107[_0x25c8ac(0x400)]=0x3a9f]=_0x25c8ac(0x400),_0x437107[_0x437107[_0x25c8ac(0x4c8)]=0x3e81]=_0x25c8ac(0x4c8),_0x437107[_0x437107[_0x25c8ac(0x2ed)]=-0x1]=_0x25c8ac(0x2ed),_0x437107))(_0x19b5af||{});function _0x20f5e7(_0x5ea61a){const _0x50fce6=_0x25c8ac;var _0xe1ea17,_0x3903aa;const _0x50f9e6=(_0xe1ea17=_0x5ea61a[_0x50fce6(0x451)])==null?void 0x0:_0xe1ea17[_0x50fce6(0x333)],_0x423f2e=((_0x3903aa=_0x5ea61a[_0x50fce6(0x451)])==null?void 0x0:_0x3903aa[_0x50fce6(0x405)])||0x0;return _0x50f9e6===_0xfcd088['FormulaExecuteStageType'][_0x50fce6(0x2a4)]&&_0x423f2e>0x0;}function _0x5853fe(_0x2c11c2){const _0x29052a=_0x25c8ac;return _0x2c11c2[_0x29052a(0x220)]===_0xfcd088[_0x29052a(0x35a)][_0x29052a(0x2e3)];}var _0x2e164c=Object[_0x25c8ac(0x3a8)],_0x2505ae=(_0x2d1453,_0x693628,_0x317480,_0x1dd285)=>{const _0x331741=_0x25c8ac;for(var _0x4812f6=_0x1dd285>0x1?void 0x0:_0x1dd285?_0x2e164c(_0x693628,_0x317480):_0x693628,_0x2695b3=_0x2d1453[_0x331741(0x497)]-0x1,_0x321ece;_0x2695b3>=0x0;_0x2695b3--)(_0x321ece=_0x2d1453[_0x2695b3])&&(_0x4812f6=_0x321ece(_0x4812f6)||_0x4812f6);return _0x4812f6;},_0x5bf078=(_0x7b0880,_0x3efe25)=>(_0x259039,_0x13c524)=>_0x3efe25(_0x259039,_0x13c524,_0x7b0880);const _0x221cbd=_0x25c8ac(0x477),_0x39d1f3=_0x25c8ac(0x34e),_0x52567f=_0x25c8ac(0x3ef);let _0x253e7a=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x10b10c,_0xaa566d,_0x220d1c,_0x473df5,_0x1b6d6e,_0x1e521d,_0x124e9e){const _0x3e12be=_0x25c8ac;super(),_0x3a54cf(this,'_pollingInterval',null),_0x3a54cf(this,_0x3e12be(0x295),0x0),_0x3a54cf(this,_0x3e12be(0x2c5),0x0),_0x3a54cf(this,'_taskIds',[]),_0x3a54cf(this,_0x3e12be(0x25f),0x0),(this[_0x3e12be(0x264)]=_0x10b10c,this[_0x3e12be(0x2d6)]=_0xaa566d,this[_0x3e12be(0x302)]=_0x220d1c,this[_0x3e12be(0x44d)]=_0x473df5,this[_0x3e12be(0x23a)]=_0x1b6d6e,this['_logService']=_0x1e521d,this[_0x3e12be(0x372)]=_0x124e9e,this[_0x3e12be(0x1f6)]());}[_0x25c8ac(0x1f6)](){const _0x5f1c5c=_0x25c8ac;this[_0x5f1c5c(0x1f5)](this[_0x5f1c5c(0x2d6)][_0x5f1c5c(0x40d)]((_0x4095d5,_0x27fca6)=>{const _0x5b8846=_0x5f1c5c;var _0x4403df;if(_0x4095d5['id']!==_0xfcd088[_0x5b8846(0x395)]['id'])return;const _0x1bc522=_0x4095d5[_0x5b8846(0x411)];if(!this[_0x5b8846(0x329)]((_0x4403df=_0x1bc522[_0x5b8846(0x2e0)])!=null?_0x4403df:[]))return;if(!this[_0x5b8846(0x21d)]())throw this[_0x5b8846(0x38e)](_0x4095d5,_0x27fca6),this['_showGuardMessage'](),new _0x51c091[(_0x5b8846(0x474))]();})),this[_0x5f1c5c(0x1f5)](this[_0x5f1c5c(0x2d6)][_0x5f1c5c(0x485)]((_0x5188e4,_0x169ace)=>{const _0x4415ad=_0x5f1c5c;if(_0x5188e4['id']!==_0xfcd088[_0x4415ad(0x27f)]['id'])return;const _0x44b7b8=_0x5188e4[_0x4415ad(0x411)];if(_0x20f5e7(_0x44b7b8)){const _0x526857=_0x51c091[_0x4415ad(0x2a9)]();this[_0x4415ad(0x426)][_0x4415ad(0x2ac)](_0x526857),this[_0x4415ad(0x48e)](_0x526857);}else{if(_0x5853fe(_0x44b7b8)&&this[_0x4415ad(0x426)][_0x4415ad(0x497)]>0x0){const _0x13a908=this[_0x4415ad(0x426)][_0x4415ad(0x374)]();this[_0x4415ad(0x262)](_0x13a908);}}}));}[_0x25c8ac(0x325)](){const _0x44197e=_0x25c8ac;super[_0x44197e(0x325)](),this['_clearPolling'](),this[_0x44197e(0x426)]=[],this[_0x44197e(0x2c5)]=0x0,this[_0x44197e(0x295)]=0x0,this[_0x44197e(0x25f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x24cc9a,_0x1d087b){const _0x2c40a7=_0x25c8ac;for(let _0x116ed5=0x0;_0x116ed5<0x1e;_0x116ed5++)try{if(await this[_0x2c40a7(0x3c8)](),this[_0x2c40a7(0x21d)]()){this['_applyCommand'](_0x24cc9a,_0x1d087b),this[_0x2c40a7(0x264)]['show']({'content':this[_0x2c40a7(0x372)]['t'](_0x2c40a7(0x4a3)),'type':_0x1039db[_0x2c40a7(0x26f)]['Success']});return;}await new Promise(_0x5dcac3=>{const _0x2cb946=_0x2c40a7;this[_0x2cb946(0x4a4)]=window[_0x2cb946(0x48b)](_0x5dcac3,0x3e8);});}catch(_0x2f330b){this[_0x2c40a7(0x38d)][_0x2c40a7(0x3df)](_0x2f330b);}this['_messageService'][_0x2c40a7(0x392)]({'content':this['_localeService']['t'](_0x2c40a7(0x242)),'type':_0x1039db[_0x2c40a7(0x26f)]['Error']});}[_0x25c8ac(0x465)](_0x3ea1c9,_0x1b0bc7){const _0xacc448=_0x25c8ac;try{this[_0xacc448(0x2d6)][_0xacc448(0x3db)](_0x3ea1c9['id'],_0x3ea1c9['params'],_0x1b0bc7);}catch(_0x5a25b0){this['_logService'][_0xacc448(0x3df)](_0x5a25b0);}}[_0x25c8ac(0x3bd)](_0x149503,_0x5a33d6){const _0x19d19d=_0x25c8ac;_0x5a33d6<this[_0x19d19d(0x25f)]||(this[_0x19d19d(0x25f)]=_0x5a33d6,this[_0x19d19d(0x295)]=Number['parseInt'](_0x149503[_0x19d19d(0x439)]),this[_0x19d19d(0x2c5)]=Number[_0x19d19d(0x454)](_0x149503[_0x19d19d(0x2c4)]));}async[_0x25c8ac(0x48e)](_0x3f0435){const _0x2746dd=_0x25c8ac;var _0x1ef856,_0x7bc123;const _0x472f00=Date['now']();try{const _0xacb859=((_0x1ef856=this[_0x2746dd(0x302)][_0x2746dd(0x4d1)](_0x493e59[_0x2746dd(0x417)]))==null?void 0x0:_0x1ef856[_0x2746dd(0x47a)])||_0x39d1f3,_0x44646c=(await this[_0x2746dd(0x44d)][_0x2746dd(0x2f1)](_0xacb859,{'body':JSON[_0x2746dd(0x3ae)]({'taskId':_0x3f0435})}))[_0x2746dd(0x270)];if(((_0x7bc123=_0x44646c[_0x2746dd(0x3df)])==null?void 0x0:_0x7bc123[_0x2746dd(0x468)])!==_0x19b5af['OK'])return;this[_0x2746dd(0x3bd)](_0x44646c[_0x2746dd(0x39a)],_0x472f00);}catch(_0x952533){this[_0x2746dd(0x38d)]['error'](_0x952533);}}async[_0x25c8ac(0x3c8)](_0x338ad7){const _0x23e4fd=_0x25c8ac;var _0x38da63,_0x5e5afb;const _0x30795b=Date['now']();try{const _0x2948c1=((_0x38da63=this[_0x23e4fd(0x302)][_0x23e4fd(0x4d1)](_0x493e59[_0x23e4fd(0x417)]))==null?void 0x0:_0x38da63[_0x23e4fd(0x28d)])||_0x221cbd,_0x568406=_0x338ad7?_0x2948c1+_0x23e4fd(0x2b8)+encodeURIComponent(_0x338ad7):_0x2948c1,_0x289d4b=(await this[_0x23e4fd(0x44d)]['get'](_0x568406))[_0x23e4fd(0x270)];if(((_0x5e5afb=_0x289d4b[_0x23e4fd(0x3df)])==null?void 0x0:_0x5e5afb[_0x23e4fd(0x468)])!==_0x19b5af['OK'])return;this[_0x23e4fd(0x3bd)](_0x289d4b['limitInfo'],_0x30795b);}catch(_0x131396){this[_0x23e4fd(0x38d)][_0x23e4fd(0x3df)](_0x131396);}}async[_0x25c8ac(0x262)](_0x4ef488){const _0x7d27a2=_0x25c8ac;var _0x204168,_0x419108;const _0x41fce0=Date[_0x7d27a2(0x331)]();try{const _0x25d2fd=((_0x204168=this[_0x7d27a2(0x302)][_0x7d27a2(0x4d1)](_0x493e59[_0x7d27a2(0x417)]))==null?void 0x0:_0x204168[_0x7d27a2(0x215)])||_0x52567f,_0x4b9800=(await this[_0x7d27a2(0x44d)][_0x7d27a2(0x2f1)](_0x25d2fd,{'body':JSON[_0x7d27a2(0x3ae)]({'taskId':_0x4ef488})}))[_0x7d27a2(0x270)];if(((_0x419108=_0x4b9800[_0x7d27a2(0x3df)])==null?void 0x0:_0x419108[_0x7d27a2(0x468)])!==_0x19b5af['OK'])return;this[_0x7d27a2(0x3bd)](_0x4b9800[_0x7d27a2(0x39a)],_0x41fce0);}catch(_0x493723){this[_0x7d27a2(0x38d)]['error'](_0x493723);}}[_0x25c8ac(0x21d)](){const _0x25d6be=_0x25c8ac;return this[_0x25d6be(0x295)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x25d6be(0x2c5)]>0x0;}[_0x25c8ac(0x28f)](){const _0x54af2f=_0x25c8ac;this['_pollingInterval']&&(clearTimeout(this[_0x54af2f(0x4a4)]),this['_pollingInterval']=null);}[_0x25c8ac(0x33d)](){const _0xfe105=_0x25c8ac;this[_0xfe105(0x264)][_0xfe105(0x392)]({'content':this['_localeService']['t'](_0xfe105(0x306)),'type':_0x1039db['MessageType'][_0xfe105(0x248)]});}[_0x25c8ac(0x329)](_0x24cef9){const _0x264299=_0x25c8ac;for(const _0x240572 of _0x24cef9){const {unitId:_0x2ed058,sheetId:_0x69162e,range:_0x43fde9}=_0x240572,_0x589218=this['_univerInstanceService'][_0x264299(0x22a)](_0x2ed058);if(!_0x589218)continue;const _0x542054=_0x589218[_0x264299(0x491)](_0x69162e);if(!_0x542054)continue;const _0x46b4ad=_0x542054[_0x264299(0x433)]();for(let _0xe1ca54=_0x43fde9['startRow'];_0xe1ca54<=_0x43fde9[_0x264299(0x3cd)];_0xe1ca54++)for(let _0x126385=_0x43fde9[_0x264299(0x3aa)];_0x126385<=_0x43fde9['endColumn'];_0x126385++){const _0x3f89a1=_0x46b4ad[_0x264299(0x38b)](_0xe1ca54,_0x126385);if(_0x3f89a1&&(_0x51c091['isFormulaString'](_0x3f89a1['f'])||_0x51c091['isFormulaId'](_0x3f89a1['si'])))return!0x0;}}return!0x1;}};_0x253e7a=_0x2505ae([_0x5bf078(0x0,_0x51c091[_0x25c8ac(0x301)](_0x47d161[_0x25c8ac(0x492)])),_0x5bf078(0x1,_0x51c091[_0x25c8ac(0x483)]),_0x5bf078(0x2,_0x51c091[_0x25c8ac(0x24a)]),_0x5bf078(0x3,_0x51c091['Inject'](_0x38be65[_0x25c8ac(0x436)])),_0x5bf078(0x4,_0x51c091['IUniverInstanceService']),_0x5bf078(0x5,_0x51c091[_0x25c8ac(0x36e)]),_0x5bf078(0x6,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x27c)]))],_0x253e7a);var _0x54bf3b=Object[_0x25c8ac(0x3a8)],_0x22a5be=(_0x43ba1e,_0x3af3ea,_0x5da429,_0x452d57)=>{const _0x2912fd=_0x25c8ac;for(var _0x5413d0=_0x452d57>0x1?void 0x0:_0x452d57?_0x54bf3b(_0x3af3ea,_0x5da429):_0x3af3ea,_0x13d113=_0x43ba1e[_0x2912fd(0x497)]-0x1,_0x239b9e;_0x13d113>=0x0;_0x13d113--)(_0x239b9e=_0x43ba1e[_0x13d113])&&(_0x5413d0=_0x239b9e(_0x5413d0)||_0x5413d0);return _0x5413d0;},_0x4b2404=(_0x4188a7,_0x4314f1)=>(_0x4a304d,_0x5509bd)=>_0x4314f1(_0x4a304d,_0x5509bd,_0x4188a7);let _0x390357=class extends _0x51c091['Disposable']{constructor(_0x550158,_0x8e8545,_0x308edc){const _0x152430=_0x25c8ac;super(),_0x3a54cf(this,_0x152430(0x312),new Map()),_0x3a54cf(this,_0x152430(0x41d),new Map()),_0x3a54cf(this,_0x152430(0x21b),!0x1),(this[_0x152430(0x302)]=_0x550158,this[_0x152430(0x352)]=_0x8e8545,this[_0x152430(0x47c)]=_0x308edc);}[_0x25c8ac(0x285)](){const _0x506bfa=_0x25c8ac;this[_0x506bfa(0x21b)]=!0x0;}[_0x25c8ac(0x2b0)](){const _0x5820f9=_0x25c8ac;this[_0x5820f9(0x21b)]=!0x1;}get['saveTaskMap'](){const _0x4b221f=_0x25c8ac;return this[_0x4b221f(0x41d)];}[_0x25c8ac(0x325)](){const _0x4fceee=_0x25c8ac;this[_0x4fceee(0x2a6)]()[_0x4fceee(0x361)](()=>super[_0x4fceee(0x325)]());}async['loadOfflineData'](_0x30f0e5){const _0x1d865e=_0x25c8ac;return this[_0x1d865e(0x21b)]?null:this[_0x1d865e(0x352)]['getItem'](_0x493e59[_0x1d865e(0x453)](_0x30f0e5));}async[_0x25c8ac(0x1f3)](_0x3bb16e,_0x452fab){const _0xb3d123=_0x25c8ac;return!!this[_0xb3d123(0x352)]['setItem'](_0x3bb16e,_0x452fab);}[_0x25c8ac(0x1f1)](_0x197c01,_0x288fa9,_0x4c1e23,_0x326000){const _0x18965b=_0x25c8ac,_0x1c1663=this[_0x18965b(0x47c)][_0x18965b(0x2e4)](_0x197c01);this[_0x18965b(0x312)][_0x18965b(0x22d)](_0x197c01,{'unitID':_0x197c01,'type':_0x288fa9,'awaitingChangeset':_0x4c1e23,'mutations':_0x326000,'rev':_0x1c1663}),this['_saveTaskMap'][_0x18965b(0x297)](_0x197c01)||this[_0x18965b(0x47e)](_0x197c01);}[_0x25c8ac(0x47e)](_0x33138b){const _0x3a6bd2=_0x25c8ac,_0x4499df=this['_getSaveTimeout']();_0x4499df===0x0?this[_0x3a6bd2(0x315)](_0x33138b):this[_0x3a6bd2(0x41d)]['set'](_0x33138b,setTimeout(()=>this[_0x3a6bd2(0x315)](_0x33138b),_0x4499df));}['_getSaveTimeout'](){const _0x2996f0=_0x25c8ac;var _0x119c0a;return(_0x119c0a=this[_0x2996f0(0x302)]['getConfig'](_0x493e59[_0x2996f0(0x31b)]))!=null?_0x119c0a:_0x493e59[_0x2996f0(0x2b6)];}[_0x25c8ac(0x315)](_0x14496b){const _0xffd7b0=_0x25c8ac,_0x580ae8=this[_0xffd7b0(0x41d)][_0xffd7b0(0x4c4)](_0x14496b);return _0x580ae8!==void 0x0&&window[_0xffd7b0(0x25d)](_0x580ae8),this['_localStorageService'][_0xffd7b0(0x255)](_0x493e59[_0xffd7b0(0x453)](_0x14496b),this[_0xffd7b0(0x312)][_0xffd7b0(0x4c4)](_0x14496b))[_0xffd7b0(0x361)](()=>this[_0xffd7b0(0x41d)][_0xffd7b0(0x2d0)](_0x14496b));}async['exhaustSavingTask'](){const _0x1f55fe=_0x25c8ac,_0x5c6949=[];this['_saveTaskMap'][_0x1f55fe(0x345)]((_0x49d312,_0x1b1dd5)=>{const _0x235a5d=_0x1f55fe;window[_0x235a5d(0x25d)](_0x49d312),_0x5c6949[_0x235a5d(0x2ac)](this[_0x235a5d(0x315)](_0x1b1dd5)[_0x235a5d(0x361)](()=>{const _0x418f53=_0x235a5d;this[_0x418f53(0x41d)]['delete'](_0x1b1dd5);}));}),await Promise[_0x1f55fe(0x4d0)](_0x5c6949);}};_0x390357=_0x22a5be([_0x4b2404(0x0,_0x51c091[_0x25c8ac(0x24a)]),_0x4b2404(0x1,_0x51c091[_0x25c8ac(0x460)]),_0x4b2404(0x2,_0x51c091[_0x25c8ac(0x301)](_0x5b9cab[_0x25c8ac(0x432)]))],_0x390357);class _0x31456c extends _0x51c091[_0x25c8ac(0x42f)]{constructor(){const _0x361961=_0x25c8ac;super(),_0x3a54cf(this,_0x361961(0x3e4)),this[_0x361961(0x3e4)]=_0x2d756d[_0x361961(0x425)](window,_0x361961(0x1f0))['pipe'](_0x2d756d[_0x361961(0x210)](this[_0x361961(0x37a)]),_0x2d756d[_0x361961(0x3da)](0x1),_0x2d756d[_0x361961(0x227)](void 0x0));}['setParam'](_0xf02304,_0x23b344,_0x1532b4=!0x1){const _0xd92278=_0x25c8ac,_0x27c4e8=new URL(window['location']['href']);_0x27c4e8[_0xd92278(0x3a9)][_0xd92278(0x22d)](_0xf02304,_0x23b344),_0x1532b4?window[_0xd92278(0x3a5)][_0xd92278(0x456)]('','',_0x27c4e8['toString']()):window['history'][_0xd92278(0x225)]('','',_0x27c4e8[_0xd92278(0x2e9)]());}[_0x25c8ac(0x3f6)](_0x555a99,_0x440ec5=!0x1){const _0x160d93=_0x25c8ac,_0x3f715b=new URL(window[_0x160d93(0x36b)]['href']);_0x3f715b[_0x160d93(0x3a9)][_0x160d93(0x2d0)](_0x555a99),_0x440ec5?window[_0x160d93(0x3a5)][_0x160d93(0x456)]('','',_0x3f715b['toString']()):window['history'][_0x160d93(0x225)]('','',_0x3f715b[_0x160d93(0x2e9)]());}[_0x25c8ac(0x2c6)](_0x5fa5ee){const _0x14b440=_0x25c8ac;var _0xffcd48;return(_0xffcd48=new URL(window[_0x14b440(0x36b)][_0x14b440(0x323)])['searchParams'][_0x14b440(0x4c4)](_0x5fa5ee))!=null?_0xffcd48:void 0x0;}}var _0x5b5def=Object[_0x25c8ac(0x43e)],_0x145180=Object[_0x25c8ac(0x3a8)],_0x1e4cb3=(_0x180c94,_0x1bb547,_0x41255f)=>_0x1bb547 in _0x180c94?_0x5b5def(_0x180c94,_0x1bb547,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41255f}):_0x180c94[_0x1bb547]=_0x41255f,_0x1631eb=(_0x54b48f,_0x4a1585,_0x3e95bf,_0x285c4f)=>{const _0x5604c6=_0x25c8ac;for(var _0x5b2597=_0x285c4f>0x1?void 0x0:_0x285c4f?_0x145180(_0x4a1585,_0x3e95bf):_0x4a1585,_0x2f07ad=_0x54b48f[_0x5604c6(0x497)]-0x1,_0x470938;_0x2f07ad>=0x0;_0x2f07ad--)(_0x470938=_0x54b48f[_0x2f07ad])&&(_0x5b2597=_0x470938(_0x5b2597)||_0x5b2597);return _0x5b2597;},_0x2ea720=(_0x3197d0,_0x9de994)=>(_0x25ccbe,_0x1924d7)=>_0x9de994(_0x25ccbe,_0x1924d7,_0x3197d0),_0x260ff7=(_0x366398,_0x37a31d,_0x1f4057)=>_0x1e4cb3(_0x366398,_0x37a31d+'',_0x1f4057);const _0x4f241b='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3e1990['UniverCollaborationClientUIPlugin']=class extends _0x51c091[_0x25c8ac(0x408)]{constructor(_0x5518c6=_0x3bc6e3,_0x594283,_0x3ea43e,_0x2ee299){const _0x95270a=_0x25c8ac;super(),this['_config']=_0x5518c6,this[_0x95270a(0x21c)]=_0x594283,this[_0x95270a(0x3e5)]=_0x3ea43e,this[_0x95270a(0x302)]=_0x2ee299;const {..._0x41316f}=_0x51c091[_0x95270a(0x296)]({},_0x3bc6e3,this['_config']);this[_0x95270a(0x302)][_0x95270a(0x380)](_0x50d024,_0x41316f);}['onStarting'](){const _0xbfdf6f=_0x25c8ac;this[_0xbfdf6f(0x1eb)](),this[_0xbfdf6f(0x240)]();}[_0x25c8ac(0x463)](){this['_registerRenderDependencies']();}[_0x25c8ac(0x1eb)](){const _0x45e25a=_0x25c8ac;var _0x335e7d;const _0x40d3a7=[[_0x3dd070],[_0x253e7a],[_0x4139fa],[_0x36d845],[_0x40750b],[_0x43bd11],[_0x2e14a9,{'useClass':_0x31456c}],[_0x38be65[_0x45e25a(0x4a7)],{'useClass':_0x38be65['WebSocketService']}],[_0x493e59[_0x45e25a(0x4cd)],{'useClass':_0x390357}],[_0x3e1990['DesktopCollaborationStatusDisplayController']],[_0x41b37a],[_0x1e22db],[_0x43fe6e],[_0xee1fb5],[_0x3e1990[_0x45e25a(0x36f)]]];this[_0x45e25a(0x448)][_0x45e25a(0x349)]&&_0x40d3a7['push']([_0x5971ed]),_0x51c091['registerDependencies'](this[_0x45e25a(0x3e5)],_0x51c091['mergeOverrideWithDependencies'](_0x40d3a7,(_0x335e7d=this['_config'])==null?void 0x0:_0x335e7d['override']));}[_0x25c8ac(0x4c0)](){const _0x4787b4=_0x25c8ac;this[_0x4787b4(0x1f5)](this[_0x4787b4(0x21c)][_0x4787b4(0x388)](_0x51c091[_0x4787b4(0x375)]['UNIVER_DOC'],[_0x743d07])),this['disposeWithMe'](this[_0x4787b4(0x21c)][_0x4787b4(0x388)](_0x51c091[_0x4787b4(0x375)][_0x4787b4(0x3d0)],[_0x62dded]));}[_0x25c8ac(0x240)](){const _0x3cc457=_0x25c8ac;_0x51c091[_0x3cc457(0x253)](this[_0x3cc457(0x3e5)],[[_0x43fe6e],[_0x3e1990[_0x3cc457(0x2de)]],[_0x41b37a],[_0x1e22db],[_0x3e1990[_0x3cc457(0x36f)]],[_0x253e7a]]),this[_0x3cc457(0x448)][_0x3cc457(0x349)]&&_0x51c091[_0x3cc457(0x253)](this[_0x3cc457(0x3e5)],[[_0x5971ed]]);}},_0x260ff7(_0x3e1990[_0x25c8ac(0x4cb)],_0x25c8ac(0x260),_0x4f241b),_0x3e1990[_0x25c8ac(0x4cb)]=_0x1631eb([_0x51c091[_0x25c8ac(0x37e)](_0x493e59[_0x25c8ac(0x2aa)]),_0x2ea720(0x1,_0x396fb6[_0x25c8ac(0x3af)]),_0x2ea720(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x2ea720(0x3,_0x51c091[_0x25c8ac(0x24a)])],_0x3e1990[_0x25c8ac(0x4cb)]);var _0x442e3c=Object[_0x25c8ac(0x3a8)],_0x5b194f=(_0x20f538,_0x518649,_0x519b96,_0x539253)=>{const _0x13ae78=_0x25c8ac;for(var _0x2db818=_0x539253>0x1?void 0x0:_0x539253?_0x442e3c(_0x518649,_0x519b96):_0x518649,_0x362539=_0x20f538[_0x13ae78(0x497)]-0x1,_0x2ba429;_0x362539>=0x0;_0x362539--)(_0x2ba429=_0x20f538[_0x362539])&&(_0x2db818=_0x2ba429(_0x2db818)||_0x2db818);return _0x2db818;},_0x179efe=(_0x5136c6,_0x5d1972)=>(_0x2095b5,_0x2600a9)=>_0x5d1972(_0x2095b5,_0x2600a9,_0x5136c6);_0x3e1990['BrowserCollaborationSocketService']=class extends _0x493e59['CollaborationSocketService']{constructor(_0x3893eb,_0x487848,_0x16aa99,_0x5d5d0a,_0x44ea11){super(_0x3893eb,_0x487848,_0x16aa99,_0x5d5d0a,_0x44ea11);}async[_0x25c8ac(0x236)](_0x2c25d6){const _0x5461a5=_0x25c8ac,_0x4ff7a1=await this[_0x5461a5(0x410)](),_0x98d984=this[_0x5461a5(0x3c7)](_0x2c25d6,_0x4ff7a1);return this[_0x5461a5(0x2a7)](_0x98d984);}[_0x25c8ac(0x3c7)](_0x5c75b5,_0x162f9e){const _0x58deec=_0x25c8ac,_0x190a56=typeof window>'u'?new URL(_0x5c75b5):new URL(_0x5c75b5,window[_0x58deec(0x36b)][_0x58deec(0x362)]);_0x190a56['searchParams'][_0x58deec(0x22d)](_0x58deec(0x435),_0x162f9e);const _0x72c9cc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x58deec(0x1f4)]);return _0x72c9cc[_0x58deec(0x4c4)](_0x58deec(0x3ba))&&_0x190a56[_0x58deec(0x3a9)][_0x58deec(0x22d)](_0x58deec(0x3ba),_0x72c9cc[_0x58deec(0x4c4)](_0x58deec(0x3ba))),_0x190a56[_0x58deec(0x2e9)]();}async[_0x25c8ac(0x410)](){const _0x4e94a9=_0x25c8ac;var _0x4e71cc,_0x4ecf48,_0x210e0b;const _0x23d908=this[_0x4e94a9(0x302)][_0x4e94a9(0x4d1)](_0x493e59['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x409cab=(_0x4e71cc=_0x23d908==null?void 0x0:_0x23d908[_0x4e94a9(0x320)])!=null?_0x4e71cc:_0x493e59[_0x4e94a9(0x461)];return(_0x210e0b=(_0x4ecf48=(await this[_0x4e94a9(0x44d)][_0x4e94a9(0x4c4)](_0x409cab,{'headers':{'Content-Type':_0x4e94a9(0x27a)}}))['body'])==null?void 0x0:_0x4ecf48[_0x4e94a9(0x201)])!=null?_0x210e0b:'';}},_0x3e1990['BrowserCollaborationSocketService']=_0x5b194f([_0x179efe(0x0,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x179efe(0x1,_0x51c091['Inject'](_0x38be65[_0x25c8ac(0x436)])),_0x179efe(0x2,_0x51c091[_0x25c8ac(0x24a)]),_0x179efe(0x3,_0x51c091['ILogService']),_0x179efe(0x4,_0x5b9cab['ISnapshotServerService'])],_0x3e1990[_0x25c8ac(0x428)]);var _0x58912d=Object[_0x25c8ac(0x3a8)],_0x4c903b=(_0x1f5a25,_0x27a3f6,_0x2430f2,_0x259631)=>{const _0x330b37=_0x25c8ac;for(var _0x43e174=_0x259631>0x1?void 0x0:_0x259631?_0x58912d(_0x27a3f6,_0x2430f2):_0x27a3f6,_0x4ad398=_0x1f5a25[_0x330b37(0x497)]-0x1,_0x26c1f0;_0x4ad398>=0x0;_0x4ad398--)(_0x26c1f0=_0x1f5a25[_0x4ad398])&&(_0x43e174=_0x26c1f0(_0x43e174)||_0x43e174);return _0x43e174;},_0x310e46=(_0x4051cb,_0x555cc2)=>(_0x186990,_0x461e90)=>_0x555cc2(_0x186990,_0x461e90,_0x4051cb);_0x3e1990[_0x25c8ac(0x311)]=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x2d16f5,_0x8412bf,_0x18bc04){const _0x537dd9=_0x25c8ac;super(),this[_0x537dd9(0x443)]=_0x2d16f5,this['_httpService']=_0x8412bf,this[_0x537dd9(0x302)]=_0x18bc04;}async[_0x25c8ac(0x36c)](_0x59d040,_0x1c65a7,_0x1519bf,..._0x2b0fc7){const _0x3e9cfa=_0x25c8ac;var _0x408b4e,_0xf1e7b8,_0x52ef12,_0xa33607;const _0x11b539=this[_0x3e9cfa(0x443)]['getFocusedUnit']();if(!_0x11b539)throw new Error(_0x3e9cfa(0x354));const _0x527dbb=((_0x408b4e=this['_configService'][_0x3e9cfa(0x4d1)](_0x493e59['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x408b4e:_0x493e59['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x59d040+'/run/'+_0x1c65a7,_0x175f80=new URL(window[_0x3e9cfa(0x36b)][_0x3e9cfa(0x323)]),_0x2ad0b1={'scriptId':_0x59d040,'runId':(_0xf1e7b8=_0x175f80['searchParams'][_0x3e9cfa(0x4c4)](_0x3e9cfa(0x3ba)))!=null?_0xf1e7b8:'','function':_0x1c65a7,'unitId':_0x11b539[_0x3e9cfa(0x30f)](),'argsOfFunction':JSON[_0x3e9cfa(0x3ae)](_0x2b0fc7),'invokeId':(_0x52ef12=_0x1519bf[_0x3e9cfa(0x216)])!=null?_0x52ef12:'','executionId':(_0xa33607=_0x1519bf['executionId'])!=null?_0xa33607:''};try{const _0x49dae1=await this[_0x3e9cfa(0x44d)][_0x3e9cfa(0x2f1)](_0x527dbb,{'body':_0x2ad0b1});return _0x49dae1[_0x3e9cfa(0x270)]['error']&&_0x49dae1[_0x3e9cfa(0x270)][_0x3e9cfa(0x3df)][_0x3e9cfa(0x468)]!==_0x19b5af['OK']?_0x3e9cfa(0x304):_0x49dae1[_0x3e9cfa(0x270)][_0x3e9cfa(0x2cb)];}catch{return _0x3e9cfa(0x304);}}},_0x3e1990['RemoteUniscriptService']=_0x4c903b([_0x310e46(0x0,_0x51c091['IUniverInstanceService']),_0x310e46(0x1,_0x51c091[_0x25c8ac(0x301)](_0x38be65['HTTPService'])),_0x310e46(0x2,_0x51c091[_0x25c8ac(0x24a)])],_0x3e1990['RemoteUniscriptService']);const _0x593ce8=0x7530,_0x5dda2d=_0x25c8ac(0x2eb);class _0x1cfa3e extends _0x51c091[_0x25c8ac(0x379)]{constructor(){const _0x21853d=_0x25c8ac;super(),_0x3a54cf(this,_0x21853d(0x457),_0x51c091[_0x21853d(0x2a9)]()),_0x3a54cf(this,_0x21853d(0x207),new Set()),_0x3a54cf(this,_0x21853d(0x30e),new Map()),_0x3a54cf(this,'_heartbeatTimer',null),_0x3a54cf(this,_0x21853d(0x3d2),new Map()),_0x3a54cf(this,_0x21853d(0x4c6),new Map()),this[_0x21853d(0x38f)]();}[_0x25c8ac(0x325)](){const _0x6583b9=_0x25c8ac;super[_0x6583b9(0x325)](),this['_clearOtherTimers'][_0x6583b9(0x345)]((_0x4560f2,_0x47a988)=>this[_0x6583b9(0x2f2)](_0x47a988)),this[_0x6583b9(0x1fb)]&&window[_0x6583b9(0x2c0)](this[_0x6583b9(0x1fb)]);}[_0x25c8ac(0x252)](_0xafd7c5){const _0x1a1348=_0x25c8ac;return this[_0x1a1348(0x489)](_0xafd7c5)['pipe'](_0x2d756d[_0x1a1348(0x3dd)]());}[_0x25c8ac(0x33e)](_0x2bf600){const _0xe71c73=_0x25c8ac;this['_selfUnitIDs'][_0xe71c73(0x3ac)]===0x0&&this['_scheduleHeartbeat'](),this[_0xe71c73(0x207)]['add'](_0x2bf600),this[_0xe71c73(0x28b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2bf600],'isForwarded':!0x1});}[_0x25c8ac(0x3f9)](_0x16c83d){const _0x50ac40=_0x25c8ac;this[_0x50ac40(0x207)][_0x50ac40(0x2d0)](_0x16c83d),this[_0x50ac40(0x207)][_0x50ac40(0x3ac)]===0x0&&this[_0x50ac40(0x1fb)]&&window[_0x50ac40(0x2c0)](this['_heartbeatTimer']);}[_0x25c8ac(0x38f)](){const _0x1798ec=_0x25c8ac;this[_0x1798ec(0x1f5)](_0x51c091[_0x1798ec(0x46f)](_0x2d756d[_0x1798ec(0x425)](window,_0x1798ec(0x4bf))[_0x1798ec(0x2b3)](_0x5d122a=>{const _0x348261=_0x1798ec;if(_0x5d122a['key']!==_0x5dda2d||!_0x5d122a['newValue'])return;const _0x57ed6c=JSON[_0x348261(0x2a8)](_0x5d122a[_0x348261(0x313)]);this[_0x348261(0x32d)](_0x57ed6c);}))),window['addEventListener']('unload',()=>this[_0x1798ec(0x28b)]({'type':0x1,'memberID':this[_0x1798ec(0x457)],'unitIDs':Array['from'](this[_0x1798ec(0x207)])}));}[_0x25c8ac(0x32d)](_0x34ccb6){const _0x228d0c=_0x25c8ac;switch(_0x34ccb6['type']){case 0x0:this[_0x228d0c(0x44f)](_0x34ccb6);break;case 0x1:this[_0x228d0c(0x3b7)](_0x34ccb6);break;case 0x2:this[_0x228d0c(0x409)](_0x34ccb6);break;}}[_0x25c8ac(0x44f)](_0x5efb32){const _0x50e26f=_0x25c8ac,{unitIDs:_0x58cef0,memberID:_0x3caf2c,isForwarded:_0x2ffebd}=_0x5efb32;_0x58cef0[_0x50e26f(0x345)](_0x490d54=>{const _0x52fe3f=_0x50e26f;if(!_0x2ffebd&&this[_0x52fe3f(0x30e)][_0x52fe3f(0x297)](_0x490d54)&&this['_ensureSubject'](_0x490d54)[_0x52fe3f(0x258)](_0x493e59['UnitStatus'][_0x52fe3f(0x1ed)]),!this['_unitOnClients']['has'](_0x490d54)||!this[_0x52fe3f(0x30e)][_0x52fe3f(0x4c4)](_0x490d54)[_0x52fe3f(0x297)](_0x3caf2c)){const _0x3b4b95=this[_0x52fe3f(0x30e)][_0x52fe3f(0x4c4)](_0x490d54)||new Set();_0x3b4b95[_0x52fe3f(0x2d2)](_0x3caf2c),this['_unitOnClients'][_0x52fe3f(0x22d)](_0x490d54,_0x3b4b95),this['_scheduleClearOtherTimer'](_0x3caf2c);}}),_0x2ffebd||this[_0x50e26f(0x28b)]({'type':0x0,'memberID':this[_0x50e26f(0x457)],'unitIDs':[...this[_0x50e26f(0x207)]],'isForwarded':!0x0});}[_0x25c8ac(0x4b9)](_0x59e7fe){const _0x1b57d5=_0x25c8ac;this['_removeClearOtherTimer'](_0x59e7fe);const _0x1c6698=window['setTimeout'](()=>{const _0x4568f9=_0xd869;this[_0x4568f9(0x30e)][_0x4568f9(0x345)](_0x11c1e1=>{const _0x406c8a=_0x4568f9;_0x11c1e1[_0x406c8a(0x2d0)](_0x59e7fe);});},_0x593ce8*0x2);this[_0x1b57d5(0x3d2)][_0x1b57d5(0x22d)](_0x59e7fe,_0x1c6698);}[_0x25c8ac(0x2f2)](_0x23e4b8){const _0x434e8f=_0x25c8ac;if(this['_clearOtherTimers'][_0x434e8f(0x297)](_0x23e4b8)){const _0x2755cf=this['_clearOtherTimers'][_0x434e8f(0x4c4)](_0x23e4b8);_0x2755cf&&window['clearTimeout'](_0x2755cf),this[_0x434e8f(0x3d2)][_0x434e8f(0x22d)](_0x23e4b8,null);}}[_0x25c8ac(0x3b7)](_0x555b4e){const _0x30cd62=_0x25c8ac,{memberID:_0x47c348,unitIDs:_0x254497}=_0x555b4e;_0x254497[_0x30cd62(0x345)](_0x4d088c=>{const _0x1bdea4=_0x30cd62;var _0x485a5f;const _0x5d50fb=this[_0x1bdea4(0x30e)][_0x1bdea4(0x4c4)](_0x4d088c);_0x5d50fb&&(_0x5d50fb[_0x1bdea4(0x2d0)](_0x47c348),(_0x485a5f=this['_ensureSubject'](_0x4d088c))==null||_0x485a5f[_0x1bdea4(0x258)](_0x5d50fb[_0x1bdea4(0x3ac)]===0x0?_0x493e59[_0x1bdea4(0x434)][_0x1bdea4(0x4a2)]:_0x493e59['UnitStatus'][_0x1bdea4(0x1ed)]));}),this['_removeClearOtherTimer'](_0x47c348);}[_0x25c8ac(0x409)](_0x2752a7){const _0x113f5e=_0x25c8ac;this[_0x113f5e(0x4b9)](_0x2752a7[_0x113f5e(0x4b8)]);}[_0x25c8ac(0x28b)](_0x55ec6e){const _0x219270=_0x25c8ac;localStorage[_0x219270(0x255)](_0x5dda2d,JSON[_0x219270(0x3ae)](_0x55ec6e));}[_0x25c8ac(0x298)](){const _0x2e91ae=_0x25c8ac;this[_0x2e91ae(0x1fb)]=window['setInterval'](()=>{const _0x54a69f=_0x2e91ae;this[_0x54a69f(0x28b)]({'type':0x2,'memberID':this['_id']});},_0x593ce8);}['_ensureSubject'](_0x2c06a2){const _0x302ce5=_0x25c8ac;return this[_0x302ce5(0x4c6)]['has'](_0x2c06a2)||this['_unitStatus']['set'](_0x2c06a2,new _0x2d756d['BehaviorSubject'](_0x493e59[_0x302ce5(0x434)][_0x302ce5(0x4a2)])),this[_0x302ce5(0x4c6)][_0x302ce5(0x4c4)](_0x2c06a2);}}_0x3e1990['IURLService']=_0x2e14a9,_0x3e1990[_0x25c8ac(0x249)]=_0x1855f6,_0x3e1990['WebBrowserSingleActiveUnitService']=_0x1cfa3e,_0x3e1990[_0x25c8ac(0x3c5)]=_0x31456c,Object[_0x25c8ac(0x43e)](_0x3e1990,Symbol[_0x25c8ac(0x3fd)],{'value':'Module'});}));
|
|
8
|
+
function _0x5688(){const _0x29a1e6=['getMember','_registerRenderDependencies','params','url(#$1','YUUMI_SUBSCRIPTION_NOT_FOUND','fromEventSubject','startFormulaLimitUrl','UniverIcon','drawWith','_render','startRow','_selfUnitIDs','getAncestorScale','addObjects','NOT_COLLAB','_initCommandInterceptor','maxFormulaLimit','searchParams','requireSession','clipPath','color','_hasFormulaInDirtyRanges','data','function','endRow','CollaborationUIEventService','subUnitId','CollaborationController','SheetCollabCursorShape','useObservable','ENTITLE_DUP_SUBSCRIPTION','fillStyle','generateRandomId','RevisionService','all','_getSessionTicket','push','off-line-icon','SessionStatus','executeCommand','random','loadOfflineData','toRgbString','flatMap','PAYMENT_CHANNEL_NOT_SUPPORT','_revisionService','CollaborationDataLoaderController','_createSocketURL','_initStatusComponent','handleInsertCol','_eventUnsubscribe','_handleJoinEvent','_unitStatus','next','off-line-icon_clip0_910_343','show','YUUMI_URL_COL_OUT_OF_RANGE','_hover','transformIMECache','_getFormulaLimitStatus','_transformUndoRedoStack','use','_maxFormulaLimit','tag','ICommandService','MoveRangeCommandId','_config','_setupBeforeClosingHandler','labelPosition','setAlpha','dispose$','body','OnLineIcon','getStateCache','DEFAULT_WS_SESSION_TICKET_URL','isArray','runRefRangeMutations','@univerjs-pro/collaboration','_injector','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collaboration.closeRoom','collab-text-anchor-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LocaleService','redoState','unshift','amd','VIEW_MAIN','CollaborationUIEventId','M0\x200H16V16H0z','RefRangeService','entries','_colorIndex','runOnServer','LICENSE_MAX_UNITS_EXCEEDED','_transformPreviousActiveRange','JOIN_ROOM_FAILED','REDEMPTION_USER_NOT_ELIGIBLE','_anchor','handleInsertRow','getUniverSheetInstance','RichTextEditingMutation','getSheetId','setUndoRedoMutationParamsCache','OffLineIcon','SUBMIT_CHANGESET_TIMEOUT','getCollabCursors$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/frontend/logs','range','error','_saveTaskMap','_startDocCollabCursor','/universer-api/license/formula/limit/done','UniverProCollaborationClientUi','shareReplay','purple.300','then','restore','468172NjGyjZ','http://www.w3.org/2000/svg','MUTATION','limitInfo','assign','from','ENTITLE_NEED_BILLING_ADDRESS','getOwnPropertyDescriptor','init','red.300','_initDependencies','_docTransformStateCacheService','INVALID_ARGUMENT','save','triggerDblclick','Disposable','@univerjs/rpc','_document','transformSelections','urlChange$','AUTHORIZE_CODE_ILLEGAL','_ensureSubject','join','AWAITING','RemoveColCommandId','transformByState','_setFormulaLimitStatus','_id','history','createElement','debug','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','LICENSE_EXPORT_SIZE_EXCEEDED','_refRangeService','session.connection-failed','colorChannel1','9809300GAfXWG','MOBILE_VERIFY_CODE_MISMATCH','_collaborationUIEventService','operators','_renderManagerService','activeSheet$','EffectRefRangId','BehaviorSubject','white','UNRECOGNIZED','WebSocketService','getOffsetConfig','type','_updateLocalCursor','sheetId','RegularPolygon','getFocusedUnit','currentUsage','Unknown\x20user','currentTheme$','_scene','IURLService','getUndoRedoMutationParamsCache','switchMap','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CHANGESET_REVISION_CONFILICT','11417035BLceqF','UPDATE_CURSOR','_online','roomMembers','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','disableLocalCache','black','@univerjs/engine-render','_startCalculationLimit','_currentUsage','colno','defIds','exhaustSavingTask','transformMutationsWithChangeset','START_CALCULATION','Injector','MemberService','getItem','_drawTextRange','storage','delete','unit','ACTIVE_UNIT_EVENT_CHANNEL','SheetSkeletonManagerService','IUIPartsService','onPointerEnter$','0\x200\x2016\x2016','getRangePointData','_initWindowErrorListener','wsSessionTicketUrl','SetTextSelectionsOperation','CONNECTOR_DATA_TOO_LARGE','updateOfflineData','getDocRanges','disposeWithMe','YUUMI_ALL_TABLES_IS_INVALID','RxDisposable','currentColor','_getSheetObject','yellow.400','saveTaskMap','onPointerMove$','roomMembers$','_context','FromArray','complete','Loading','Workbook','isActive','Failed','forwardRef','isFormulaString','_disabled','UniverCollaborationClientPlugin','assignAColorForMemberID','UniverInstanceType','permission.title','_roomMembers$','USER_IS_ANONYMOUS','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','text','setConfig','clsx','startColumn','_docSkeletonManagerService','touchDependencies','_transformHistoryAndStateStack','trim','Rect','_updateCollabCursors','getTypeOfUnitDisposed$','length','collabStatus.fetchMiss','pushState','filename','FETCH_MISS','actions','LICENSE_IMPORT_SIZE_EXCEEDED','DocSelectionManagerService','RemoveRowCommandId','subscribeEvent','_docTransformSelectionsService','isTransformMutationsWithChangesetSuccess','substring','collaboration.single-unit.warning','_removeClearOtherTimer','APPLY_PERMISSION_DENIED','deserializeRangeWithSheet','onPointerLeave$','_uploadLog','size','SetWorksheetActivateCommand','displayName','name','Error','asObservable','_draw','IBeforeCloseService','_monkeyPatchLogService','session.will-retry','SUCCESS','loadUnit','toStringTag','setParam','_getSaveTimeout','OTHER_CLIENT_EDITING','popstate','idSuffix','stack','_showGuardMessage','Vector2','ENTITLE_COUPON_USED_UP','_init','onMouseMove','IUniverInstanceService','INVALID_INVITE_CODE','isTransformMutationFailure','moveTo','memberID','_removeCollabCursors','div','_docTransformIMECacheService','INotificationService','_uiPartsService','Plugin','_handleLeaveEvent','_clearOtherTimers','UNIVER_DOC','setTimeout','getRenderById','_registerDependencies','ENTITLE_COUPON_EXPIRED','_hideTimer','replaceState','debounce','DocCollaborationEntity','_cursorShapes','LOGIN_FAILED','_entities','_onRefRangeChange','collabStatus.synced','_messageService','_urlService','...','USER_NOT_INVITED_CODE','_initCommandExecutedListener','univer-flex\x20univer-items-center','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INTERNAL_ERROR','_sheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','_textBubble','CURRENT_STATUS_CANNOT_OPERATE','SetFormulaCalculationStartMutation','_docClipboardService','UniverProCollaboration','_heartbeatTimer','_collabCursorState$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','socket$','USERS_LEAVE','_transformService','DesktopCollaborationStatusDisplayController','getCellMatrix','LOCAL_CACHE_INTERVAL_KEY','_colorAssignService','_updateURLWithCurrentState','event$','svg','selection','React','_imageIoService','hovered','collabCursorState$','_drawAnchor','ticket','string','executionId','getRelativeToViewportCoord','top','getCoordByCell','SetDocZoomRatioOperation','subunit','row','getVpScrollXYInfoByPosToVp','currentSkeleton$','fillText','stage','_saveCache','get','?taskId=','ENTITLE_INVALID_COUPON_CODE','_doCreateSocket','removeEventListener','\x20at\x20','COMPLETION_FINISHED','_initStatusListener','DocIMEInputManagerService','_cachedData','LICENSE_DISTRO_REJECTED','ILogService','width','_collaborationSessionService','_assignedColors','getMergeData','doc.mutation.rich-text-editing','_status$','_getScale','UniverProCollaborationClient','getCellPositionByOffset','CommandType','deepClone','onLocalMutation','getSheetBySheetId','setStateCache','docStateChange$','mask','dispose','_beforeCloseService','some','UniverCollaborationClientUIPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','whenReady','evenodd','_cursors','ENTITLE_REPORT_LIMIT_EXCEED','APPLY_NON_SEQUENTIAL_REVISION','InsertRowCommandId','search','clearInterval','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','IMessageService','onCommandExecuted','font','SHEET_VIEWPORT_KEY','jsxs','_univerInstanceService','combineLatest','ENTITLE_CHAT_LIMIT_EXCEED','Tooltip','SetFormulaCalculationNotificationMutation','ranges','85842IIlBKu','session.collaboration-timeout','FormulaExecuteStageType','TRANSFORM_CHANGE_OBSERVABLE_TYPE','1806196oKPmrD','AWAITING_WITH_PENDING','getCurrentUnitForType','@univerjs/sheets-ui','ERROR_AGAIN','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','on-line-icon_clip0_910_349','InsertColCommandId','getLocalCacheKey','mergeOverrideWithDependencies','source','setShapeProps','_httpService','parseInt','now','runId','syncEditingCollabCursor','children','getCurrent','Shape','TEXT_RANGE_LAYER_INDEX','skeleton','_handleEvent','status$','_drawRectRange','attrs','/universer-api/license/formula/limit/status','DATA_SOURCE_TOO_LARGE','_toggleOffline','ENSURE_SNAPSHOT_EXECUTION','exports','_hovered','ALREADY_EXISTS','cursorInfo','react/jsx-runtime','filter','shift','formula.calculation.waiting','jsx','_collabSessionService','#FFF','YUUMI_NO_CUBOID_FOR_QUESTION','TEXT','getConfig','getColorFromTheme','_logService','PY_RUNTIME_SCRIPT_ERROR','ILocalStorageService','round','subscribe','_localeService','unhandledrejection','ITransformService','_session','stageInfo','_initEvent','@univerjs/docs','symbol','@univerjs/core','contains','EMAIL_VERIFY_CODE_MISMATCH','ONLINE','APPLY_REJECT','serializeRangeWithSheet','_checkCalculationAvailable','CollaborationStatus','_setupSubUnitSync','pipe','makeDirty','_localStorageService','collab-client.tooltip.reconnect','saveOfflineData','REDEMPTION_CODE_INACTIVE','APPLY_DUPLICATED','InsertRangeMoveDownCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','INVITE_CODE_REQUIRED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUnitStatus$','getSkeleton','LOCAL_CACHE_INTERVAL','SNAPSHOT_HAS_BEEN_REMOVED','_configService','formula.calculation.started','OTHER_CLIENTS_EDITING','UNIVER_SHEET','registerRefRange','getActiveSheet','/universer-api/license/formula/limit/start','_send','HTTPService','merge','_memberID','getValue','INVITE_CODE_HAS_BEEN_UES','startsWith','REDEMPTION_INVALID_CODE','lineTo','getParam','transformRemoteChangeset','registerRenderModule','toDisposable','144zzNfzq','getTypeOfUnitAdded$','onRendered','blue.400','@univerjs/ui','_toggleOnline','object','map','_getMergeRange','getCurrentRevOfUnit','stringify','_range','483282mjArSI','max','has','endColumn','@univerjs/drawing','_color','FormulaExecutedStateType','with','unload','_cursorInfo$','UnitStatus','Subject','SetSelectionsOperation','enableFrontendLog','functionsExecutedState','DocStateChangeManagerService','_commandService','xlink:href','_startSheetCollabCursor','[Window\x20Error]:\x20','UniverDocs','translate(.97)','UniverDocsUi','IConfigService','CollaborationSocketService','_memberService','SheetsSelectionsService','_name','IImageIoService','_themeService','handleInsertRangeMoveDown','_localCacheService','origin','MessageType','transformMutation','NO_OTHER_CLIENTS_EDITING','green.600','getUnhiddenWorksheets','EMAIL_HAS_BEEN_BOUND','handleIRemoveRow','createIdentifier','min','APPLY_REVISION_CONFILICT','_handleHover','useCallback','_onCursorUpdate','react','add','arc','Rectangle','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','REDEMPTION_CODE_HAS_BEEN_CREATED','_initEntityListener','toString','_releaseCalculationLimit','collabStatus.syncing','Tools','_clearPolling','debounceTime','entityInit$','useDependency','DisposableCollection','ISnapshotServerService','registerBeforeClose','href','CollaborationSessionService','defineProperty','undoState','handleInsertRangeMoveRight','LOGIN_TOKEN_PROCESSING_FAILED','Warning','IRemoteInstanceService','backgroundColor','m2Prime','_onCursorDelete','_initResize','getColor','_notificationService','dirtyRanges','CONFLICT','override','isEditing','15kgCvgH','ILocalCacheService','_syncEditingCollabCursorService','includes','_backgroundColor','BrowserCollaborationSocketService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','post','textRanges','USER_NOT_FOUND','@univerjs/design','2588484gZZYTy','location','_docSyncEditingCollabCursorService','NodePositionConvertToCursor','transformStateCache','UNDEFINED','DeleteRangeMoveLeftCommandId','RECT','univer-mr-2\x20univer-flex\x20univer-text-xl','DeleteRangeMoveUpCommandId','_dataLoaderService','_cursor','_updateSubUnitFromURLParams','handleIRemoveCol','m1Prime','_getAnchorBounding','@univerjs/network','@univerjs/sheets','_lastPointer','message','DependentOn','column','find','addClipboardHook','replace','defs','bind','enableLocalCache','findNodePositionByCharIndex','clearTimeout','fillRule','set','_lastResponseTimestamp','Inject','UniverEngineRender','cursorInfo$','_unitOnClients','newValue','0\x200\x2017\x2016','collaboration-client-ui.config','unitId','_applyCommand','_taskIds','setItem','values','44HWgNsi','send','WECHAT_HAS_BEEN_BOUND','code','collabStatus.offline','_collabCursorController','reconnect','REDEMPTION_CODE_NOT_STARTED','none','createInstance','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MOBILE_HAS_BEEN_BOUND','registerDependencies','COLORS','SYNCED','_scheduleSaving','forEach','@univerjs-pro/collaboration-client','PERMISSION_DENIED','registerComponent','throttleTime','fill','_shapes','YUUMI_ASYNCIO_CANCELLED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','distinctUntilChanged','takeUntil','engine','OFFLINE','_initUserListener','_docSkeleton','current','DOC_RANGE_TYPE','_handleHeartbeatEvent','uni.network.url-service','Module','fromEvent','@univerjs/engine-formula','getMemberID','parse','split','_refreshCollabCursors','1em','collaboration.offline-data-not-saved','_checkAndWaitForCalculationPermission','getSheetObject','YUUMI_AI_RUN_FAILED','on-line-icon','closePath','addObject','url(#off-line-icon_clip0_910_343)','_docStateChangeManagerService','rxjs','path','CollaborationEvent','mutations','_anchorDot','WebURLService','eventID','SOCKET_FAILED_RETRY','PENDING','_scheduleClearOtherTimer','REDEMPTION_CODE_FULLY_REDEEMED','pluginName','UNAUTHENTICATED','_initUnhandledRejectionListener','catch','_entityInit$','_collaborationController','collab-text-range-','unsubscribe','measureText','_labelPosition','IRenderManagerService','unitID','createSocket','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','bottom','ISocketService','[LogService\x20Error]:\x20','univerjs-icon\x20univerjs-icon-','YUUMI_UNABLE_LOAD_URL','_pollingInterval','IDocClipboardService','UniverCore','getUnitId','UniverDrawing','CanceledError'];_0x5688=function(){return _0x29a1e6;};return _0x5688();}function _0x4ca8(_0x1c687f,_0x183372){_0x1c687f=_0x1c687f-0x189;const _0x5688ee=_0x5688();let _0x4ca872=_0x5688ee[_0x1c687f];return _0x4ca872;}(function(_0x20423e,_0x4ad564){const _0x26719c=_0x4ca8,_0xe128f=_0x20423e();while(!![]){try{const _0x574428=-parseInt(_0x26719c(0x38c))/0x1+parseInt(_0x26719c(0x2bd))/0x2*(parseInt(_0x26719c(0x1bd))/0x3)+-parseInt(_0x26719c(0x1c1))/0x4*(parseInt(_0x26719c(0x285))/0x5)+parseInt(_0x26719c(0x290))/0x6+parseInt(_0x26719c(0x3cb))/0x7+-parseInt(_0x26719c(0x227))/0x8*(-parseInt(_0x26719c(0x233))/0x9)+-parseInt(_0x26719c(0x3b1))/0xa;if(_0x574428===_0x4ad564)break;else _0xe128f['push'](_0xe128f['shift']());}catch(_0x41fb6c){_0xe128f['push'](_0xe128f['shift']());}}}(_0x5688,0xd0ad6),function(_0x5fc012,_0x3f4802){const _0x1b958a=_0x4ca8;typeof exports==_0x1b958a(0x22d)&&typeof module<'u'?_0x3f4802(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==_0x1b958a(0x32c)&&define[_0x1b958a(0x36b)]?define([_0x1b958a(0x1df),_0x1b958a(0x1e3),_0x1b958a(0x2ce),_0x1b958a(0x1fb),_0x1b958a(0x22b),'rxjs',_0x1b958a(0x28f),_0x1b958a(0x261),_0x1b958a(0x39c),_0x1b958a(0x2a1),_0x1b958a(0x3d3),_0x1b958a(0x2a0),'@univerjs/docs-ui',_0x1b958a(0x237),_0x1b958a(0x362),_0x1b958a(0x1f9),_0x1b958a(0x2e2),'rxjs/operators',_0x1b958a(0x1c4)],_0x3f4802):(_0x5fc012=typeof globalThis<'u'?globalThis:_0x5fc012||self,_0x3f4802(_0x5fc012[_0x1b958a(0x387)]={},_0x5fc012['React'],_0x5fc012[_0x1b958a(0x19b)],_0x5fc012[_0x1b958a(0x311)],_0x5fc012['UniverUi'],_0x5fc012[_0x1b958a(0x2f1)],_0x5fc012['UniverDesign'],_0x5fc012[_0x1b958a(0x476)],_0x5fc012['UniverRpc'],_0x5fc012['UniverSheets'],_0x5fc012[_0x1b958a(0x2b2)],_0x5fc012['UniverNetwork'],_0x5fc012[_0x1b958a(0x249)],_0x5fc012[_0x1b958a(0x313)],_0x5fc012[_0x1b958a(0x467)],_0x5fc012[_0x1b958a(0x247)],_0x5fc012['UniverEngineFormula'],_0x5fc012['rxjs'][_0x1b958a(0x3b4)],_0x5fc012['UniverSheetsUi']));}(this,function(_0x37e3f4,_0x3d2e84,_0x4cce40,_0x88db4d,_0x2ff57e,_0x3b0fae,_0x37cc58,_0x5a810d,_0xe0b8d8,_0x125f36,_0xe27d05,_0x37abfe,_0x1fd691,_0x455754,_0x28fbb0,_0x3c0520,_0x52fd75,_0x31a1bf,_0x309330){'use strict';const _0x2be3c1=_0x4ca8;var _0x4ff436=Object[_0x2be3c1(0x275)],_0x129eae=(_0x593c33,_0xf135dd,_0x2f586f)=>_0xf135dd in _0x593c33?_0x4ff436(_0x593c33,_0xf135dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f586f}):_0x593c33[_0xf135dd]=_0x2f586f,_0x31ba17=(_0x5c5c3d,_0x2e0295,_0x5512a6)=>_0x129eae(_0x5c5c3d,typeof _0x2e0295!=_0x2be3c1(0x1fa)?_0x2e0295+'':_0x2e0295,_0x5512a6);function _0x217168({ref:_0x46689a,..._0x18e228}){const _0xe33285=_0x2be3c1,{icon:_0x3e82e8,id:_0x238937,className:_0x230661,extend:_0x449d41,..._0x36f0c1}=_0x18e228,_0x2ff550=(_0xe33285(0x30d)+_0x238937+'\x20'+(_0x230661||''))[_0xe33285(0x40f)](),_0x352bcf=_0x5a810d['useRef']('_'+_0x367607());return _0x27188a(_0x3e82e8,''+_0x238937,{'defIds':_0x3e82e8[_0xe33285(0x3d7)],'idSuffix':_0x352bcf[_0xe33285(0x2dc)]},{'ref':_0x46689a,'className':_0x2ff550,..._0x36f0c1},_0x449d41);}function _0x27188a(_0x3fd350,_0x535233,_0x539a93,_0x176564,_0x1f6e0e){const _0x5ebbfa=_0x2be3c1;return _0x5a810d[_0x5ebbfa(0x3a9)](_0x3fd350[_0x5ebbfa(0x354)],{'key':_0x535233,..._0x1da131(_0x3fd350,_0x539a93,_0x1f6e0e),..._0x176564},(_0x174b3e(_0x3fd350,_0x539a93)[_0x5ebbfa(0x1d2)]||[])['map']((_0x5780f0,_0xb6d09a)=>_0x27188a(_0x5780f0,_0x535233+'-'+_0x3fd350[_0x5ebbfa(0x354)]+'-'+_0xb6d09a,_0x539a93,void 0x0,_0x1f6e0e)));}function _0x1da131(_0x1f0aeb,_0x25b3d8,_0x59e11d){const _0x44d641=_0x2be3c1,_0x447d4a={..._0x1f0aeb['attrs']};_0x59e11d!=null&&_0x59e11d[_0x44d641(0x3b0)]&&_0x447d4a['fill']==='colorChannel1'&&(_0x447d4a[_0x44d641(0x2d2)]=_0x59e11d[_0x44d641(0x3b0)]),_0x1f0aeb[_0x44d641(0x354)]===_0x44d641(0x1a3)&&_0x447d4a['id']&&(_0x447d4a['id']=_0x447d4a['id']+_0x25b3d8[_0x44d641(0x437)]),Object['entries'](_0x447d4a)['forEach'](([_0x5a78f2,_0xf21bba])=>{const _0x323a5c=_0x44d641;_0x5a78f2==='mask'&&typeof _0xf21bba=='string'&&(_0x447d4a[_0x5a78f2]=_0xf21bba[_0x323a5c(0x2a8)](/url\(#(.*)\)/,_0x323a5c(0x318)+_0x25b3d8[_0x323a5c(0x437)]+')'));});const {defIds:_0x1b329b}=_0x25b3d8;return!_0x1b329b||_0x1b329b['length']===0x0||(_0x1f0aeb[_0x44d641(0x354)]===_0x44d641(0x352)&&_0x447d4a[_0x44d641(0x244)]&&(_0x447d4a[_0x44d641(0x244)]=_0x447d4a[_0x44d641(0x244)]+_0x25b3d8[_0x44d641(0x437)]),Object[_0x44d641(0x370)](_0x447d4a)[_0x44d641(0x2cd)](([_0x4e546c,_0x37fbeb])=>{const _0x10fd51=_0x44d641;typeof _0x37fbeb==_0x10fd51(0x47c)&&(_0x447d4a[_0x4e546c]=_0x37fbeb[_0x10fd51(0x2a8)](/url\(#(.*)\)/,'url(#$1'+_0x25b3d8[_0x10fd51(0x437)]+')'));})),_0x447d4a;}function _0x174b3e(_0x5bf7f7,_0x2c9efa){const _0x4e5321=_0x2be3c1;var _0x6d9aeb;const {defIds:_0x3227b2}=_0x2c9efa;return!_0x3227b2||_0x3227b2[_0x4e5321(0x413)]===0x0?_0x5bf7f7:_0x5bf7f7['tag']==='defs'&&((_0x6d9aeb=_0x5bf7f7['children'])!=null&&_0x6d9aeb[_0x4e5321(0x413)])?{..._0x5bf7f7,'children':_0x5bf7f7['children'][_0x4e5321(0x22e)](_0x40aa08=>typeof _0x40aa08[_0x4e5321(0x1da)]['id']==_0x4e5321(0x47c)&&_0x3227b2&&_0x3227b2['includes'](_0x40aa08['attrs']['id'])?{..._0x40aa08,'attrs':{..._0x40aa08[_0x4e5321(0x1da)],'id':_0x40aa08[_0x4e5321(0x1da)]['id']+_0x2c9efa[_0x4e5321(0x437)]}}:_0x40aa08)}:_0x5bf7f7;}function _0x367607(){const _0x3d572b=_0x2be3c1;return Math[_0x3d572b(0x33d)]()[_0x3d572b(0x268)](0x24)[_0x3d572b(0x41f)](0x2,0x8);}_0x217168[_0x2be3c1(0x428)]=_0x2be3c1(0x31c);const _0xad8bff={'tag':_0x2be3c1(0x474),'attrs':{'xmlns':_0x2be3c1(0x38d),'fill':_0x2be3c1(0x2c5),'viewBox':_0x2be3c1(0x3e6),'width':_0x2be3c1(0x2e7),'height':_0x2be3c1(0x2e7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2be3c1(0x2ef)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'stroke':_0x2be3c1(0x3f1),'d':_0x2be3c1(0x1c6),'strokeLinecap':_0x2be3c1(0x1f1),'strokeLinejoin':_0x2be3c1(0x1f1),'strokeWidth':1.2}}]},{'tag':_0x2be3c1(0x2a9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2be3c1(0x34b)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'fill':_0x2be3c1(0x3b9),'d':_0x2be3c1(0x36e)}}]}]}],'defIds':[_0x2be3c1(0x34b)]},_0x350546=_0x5a810d[_0x2be3c1(0x3fe)](function(_0xe0ee5e,_0x25f6a2){const _0x3caf7a=_0x2be3c1;return _0x5a810d[_0x3caf7a(0x3a9)](_0x217168,Object['assign']({},_0xe0ee5e,{'id':_0x3caf7a(0x33a),'ref':_0x25f6a2,'icon':_0xad8bff}));});_0x350546[_0x2be3c1(0x428)]=_0x2be3c1(0x37d);const _0x23dbc7={'tag':_0x2be3c1(0x474),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x2be3c1(0x2b6),'width':_0x2be3c1(0x2e7),'height':_0x2be3c1(0x2e7)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'stroke':_0x2be3c1(0x3f1),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x2be3c1(0x1f1),'strokeLinejoin':_0x2be3c1(0x1f1),'strokeWidth':1.2}}]},{'tag':_0x2be3c1(0x2a9),'attrs':{},'children':[{'tag':_0x2be3c1(0x328),'attrs':{'id':_0x2be3c1(0x1c7)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'fill':_0x2be3c1(0x3b9),'d':_0x2be3c1(0x36e),'transform':_0x2be3c1(0x248)}}]}]}],'defIds':[_0x2be3c1(0x1c7)]},_0x42e5a5=_0x5a810d['forwardRef'](function(_0x1ffc71,_0x1cc1c3){const _0x26d259=_0x2be3c1;return _0x5a810d['createElement'](_0x217168,Object[_0x26d259(0x390)]({},_0x1ffc71,{'id':_0x26d259(0x2ec),'ref':_0x1cc1c3,'icon':_0x23dbc7}));});_0x42e5a5[_0x2be3c1(0x428)]=_0x2be3c1(0x35d);function _0x43d454(_0x5571c5){const _0x3997df=_0x2be3c1;switch(_0x5571c5){case _0x4cce40['CollaborationStatus'][_0x3997df(0x2d9)]:return _0x3997df(0x2c1);case _0x4cce40[_0x3997df(0x202)]['CONFLICT']:return'collabStatus.conflict';case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x417)]:return _0x3997df(0x414);case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x323)]:return'collabStatus.notCollab';case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x3a3)]:case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x1c2)]:return _0x3997df(0x26a);case _0x4cce40['CollaborationStatus'][_0x3997df(0x2cb)]:case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x2f9)]:return _0x3997df(0x458);}}function _0xc54cb7(_0x1fc73d){const _0x19aabb=_0x2be3c1,{status$:_0x1de49c}=_0x1fc73d,_0xbd570f=_0x2ff57e[_0x19aabb(0x332)](_0x1de49c,_0x4cce40[_0x19aabb(0x202)][_0x19aabb(0x323)]),_0x2bd048=_0x2ff57e[_0x19aabb(0x26f)](_0x88db4d['LocaleService']),_0x91e741=_0x2ff57e[_0x19aabb(0x26f)](_0x4cce40[_0x19aabb(0x274)]),_0xf4d021=_0xbd570f!==_0x4cce40[_0x19aabb(0x202)]['OFFLINE'],_0x4a6543=_0x2bd048['t'](_0x43d454(_0xbd570f)),_0x2d0530=_0xf4d021?_0x3d2e84[_0x19aabb(0x1e7)](_0x42e5a5,{}):_0x3d2e84[_0x19aabb(0x1e7)](_0x350546,{}),_0x578585=_0x5a810d[_0x19aabb(0x25f)](()=>{const _0x42fecd=_0x19aabb;_0xf4d021||_0x91e741[_0x42fecd(0x2c3)]();},[_0xf4d021,_0x91e741]);function _0x26d9e5(){const _0x19646a=_0x19aabb;return _0x3d2e84[_0x19646a(0x1b6)](_0x19646a(0x444),{'className':_0x19646a(0x45e),'onClick':_0x578585,'children':[_0x3d2e84['jsx'](_0x19646a(0x444),{'className':_0x37cc58[_0x19646a(0x40a)](_0x19646a(0x298),{'univer-text-green-500':_0xf4d021,'univer-text-red-500':!_0xf4d021}),'children':_0x2d0530}),_0x3d2e84[_0x19646a(0x1e7)]('div',{'className':_0x19646a(0x1b1),'children':_0x4a6543})]});}return _0xf4d021?_0x26d9e5():_0x3d2e84[_0x19aabb(0x1e7)](_0x37cc58[_0x19aabb(0x1ba)],{'title':_0x2bd048['t'](_0x19aabb(0x207)),'children':_0x26d9e5()});}var _0x2fb8d3=Object[_0x2be3c1(0x393)],_0x324dc6=(_0x1b6c2f,_0x28be3c,_0x23ec7f,_0x1e304c)=>{const _0x3a0c38=_0x2be3c1;for(var _0x408e13=_0x1e304c>0x1?void 0x0:_0x1e304c?_0x2fb8d3(_0x28be3c,_0x23ec7f):_0x28be3c,_0x1ee8b6=_0x1b6c2f[_0x3a0c38(0x413)]-0x1,_0xca2621;_0x1ee8b6>=0x0;_0x1ee8b6--)(_0xca2621=_0x1b6c2f[_0x1ee8b6])&&(_0x408e13=_0xca2621(_0x408e13)||_0x408e13);return _0x408e13;},_0x98f4e7=(_0x3f185e,_0x44cad1)=>(_0x227d12,_0x4048cd)=>_0x44cad1(_0x227d12,_0x4048cd,_0x3f185e);_0x37e3f4[_0x2be3c1(0x46e)]=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x803f52,_0x4344c6,_0x369575,_0x398d2c){const _0x4f3ca0=_0x2be3c1;super(),_0x31ba17(this,_0x4f3ca0(0x199),new _0x3b0fae[(_0x4f3ca0(0x3b8))](_0x4cce40[_0x4f3ca0(0x202)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x803f52,this['_injector']=_0x4344c6,this[_0x4f3ca0(0x301)]=_0x369575,this[_0x4f3ca0(0x447)]=_0x398d2c,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x2be3c1(0x18f)](){const _0x40106a=_0x2be3c1;this[_0x40106a(0x3ee)](this[_0x40106a(0x1b7)]['focused$'][_0x40106a(0x204)](_0x3b0fae[_0x40106a(0x3c8)](()=>{const _0x482c6d=_0x40106a,_0x58e031=this[_0x482c6d(0x1b7)][_0x482c6d(0x3c1)]();return _0x58e031?this['_collaborationController']['getCollabEntity$'](_0x58e031[_0x482c6d(0x312)]()):_0x3b0fae['of'](null);}),_0x3b0fae[_0x40106a(0x3c8)](_0x22f7f4=>_0x22f7f4?_0x22f7f4[_0x40106a(0x1d8)]:_0x3b0fae['of'](_0x4cce40['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x35fe9a=>{const _0x4f6ccd=_0x40106a;this['_status$'][_0x4f6ccd(0x34a)](_0x35fe9a);}));}[_0x2be3c1(0x345)](){const _0x5e5ff0=_0x2be3c1;this[_0x5e5ff0(0x3ee)](this[_0x5e5ff0(0x447)][_0x5e5ff0(0x2d0)](_0x2ff57e['BuiltInUIPart']['HEADER_MENU'],()=>_0x2ff57e['connectInjector'](_0x199a76({'status$':this[_0x5e5ff0(0x199)][_0x5e5ff0(0x42b)]()}),this['_injector'])));}},_0x37e3f4[_0x2be3c1(0x46e)]=_0x324dc6([_0x98f4e7(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x98f4e7(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x98f4e7(0x2,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x330)])),_0x98f4e7(0x3,_0x2ff57e[_0x2be3c1(0x3e4)])],_0x37e3f4[_0x2be3c1(0x46e)]);function _0x199a76(_0x50fd09){const {status$:_0x242ba3}=_0x50fd09;return function(){const _0x43a168=_0x4ca8;return _0x3d2e84[_0x43a168(0x1e7)](_0xc54cb7,{'status$':_0x242ba3});};}const _0x58bcf2=_0x88db4d[_0x2be3c1(0x25b)](_0x2be3c1(0x2df));var _0x4e23ed=Object[_0x2be3c1(0x393)],_0x2c9fb0=(_0x4c51c9,_0x2f5f1a,_0x3a5cdd,_0x15aad4)=>{const _0x21cee3=_0x2be3c1;for(var _0x184718=_0x15aad4>0x1?void 0x0:_0x15aad4?_0x4e23ed(_0x2f5f1a,_0x3a5cdd):_0x2f5f1a,_0x3f8bc4=_0x4c51c9[_0x21cee3(0x413)]-0x1,_0x115463;_0x3f8bc4>=0x0;_0x3f8bc4--)(_0x115463=_0x4c51c9[_0x3f8bc4])&&(_0x184718=_0x115463(_0x184718)||_0x184718);return _0x184718;},_0x5cf65a=(_0x2e8166,_0x4f14c0)=>(_0x53cdc5,_0x304909)=>_0x4f14c0(_0x53cdc5,_0x304909,_0x2e8166);_0x37e3f4[_0x2be3c1(0x343)]=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x25d042,_0x5e4012,_0x3c432,_0x1e925e,_0x25d9f3){const _0x7c4562=_0x2be3c1;super(),this[_0x7c4562(0x45a)]=_0x25d042,this['_logService']=_0x5e4012,this[_0x7c4562(0x243)]=_0x3c432,this['_dataLoaderService']=_0x1e925e,_0x25d9f3?_0x25d9f3==null||_0x25d9f3[_0x7c4562(0x1a9)]()['then'](()=>this[_0x7c4562(0x43c)]()):(this[_0x7c4562(0x1ee)][_0x7c4562(0x3aa)]('[CollaborationDataLoaderController]',_0x7c4562(0x380)),this['_init']());}async[_0x2be3c1(0x43c)](){const _0x38531f=_0x2be3c1,_0x4a030d=this[_0x38531f(0x45a)][_0x38531f(0x223)](_0x38531f(0x3e1)),_0x7ad8a2=this[_0x38531f(0x45a)][_0x38531f(0x223)](_0x38531f(0x3bd)),_0x33bb48=this[_0x38531f(0x45a)][_0x38531f(0x223)]('subunit');if(!_0x4a030d||!_0x7ad8a2){this['_logService'][_0x38531f(0x3aa)]('[CollaborationDataLoaderController]',_0x38531f(0x367));return;}const _0x5b180b=await this[_0x38531f(0x29a)][_0x38531f(0x431)](_0x4a030d,Number(_0x7ad8a2),_0x33bb48);_0x5b180b&&_0x5b180b instanceof _0x88db4d[_0x38531f(0x3fb)]&&this['_setupSubUnitSync'](_0x5b180b);}async[_0x2be3c1(0x203)](_0x37d17c){const _0x483a9b=_0x2be3c1;await this[_0x483a9b(0x29c)](_0x37d17c),_0x37d17c[_0x483a9b(0x3b6)]['pipe'](_0x3b0fae[_0x483a9b(0x2d7)](this[_0x483a9b(0x35b)]))[_0x483a9b(0x1f2)](_0x4d1c7f=>{const _0x33410d=_0x483a9b;_0x4d1c7f&&this[_0x33410d(0x472)](_0x4d1c7f);}),this[_0x483a9b(0x45a)][_0x483a9b(0x39f)]['pipe'](_0x3b0fae[_0x483a9b(0x2d7)](this[_0x483a9b(0x35b)]))[_0x483a9b(0x1f2)](()=>this['_updateSubUnitFromURLParams'](_0x37d17c));}[_0x2be3c1(0x472)](_0x323145,_0x534a09=!0x1){const _0x4e7d86=_0x2be3c1,_0x511df5=this[_0x4e7d86(0x45a)]['getParam']('subunit');_0x323145[_0x4e7d86(0x37b)]()!==_0x511df5&&this[_0x4e7d86(0x45a)][_0x4e7d86(0x433)](_0x4e7d86(0x482),_0x323145[_0x4e7d86(0x37b)](),_0x534a09);}async[_0x2be3c1(0x29c)](_0x2e7822){const _0x4b8e5b=_0x2be3c1;var _0x16eff8;const _0x366f78=this[_0x4b8e5b(0x45a)]['getParam'](_0x4b8e5b(0x482));if(!_0x366f78||!_0x2e7822[_0x4b8e5b(0x1a0)](_0x366f78)){const _0x496021=_0x2e7822[_0x4b8e5b(0x258)]()[0x0],_0x2e4de3=_0x2e7822[_0x4b8e5b(0x1a0)](_0x496021);if(!_0x2e4de3)return;this[_0x4b8e5b(0x472)](_0x2e4de3,!0x0),await this[_0x4b8e5b(0x243)][_0x4b8e5b(0x33c)](_0x125f36[_0x4b8e5b(0x427)]['id'],{'unitId':_0x2e7822['getUnitId'](),'subUnitId':_0x496021});return;}((_0x16eff8=_0x2e7822[_0x4b8e5b(0x218)]())==null?void 0x0:_0x16eff8['getSheetId']())!==_0x366f78&&await this[_0x4b8e5b(0x243)][_0x4b8e5b(0x33c)](_0x125f36['SetWorksheetActivateCommand']['id'],{'unitId':_0x2e7822['getUnitId'](),'subUnitId':_0x366f78});}},_0x37e3f4[_0x2be3c1(0x343)]=_0x2c9fb0([_0x5cf65a(0x0,_0x58bcf2),_0x5cf65a(0x1,_0x88db4d[_0x2be3c1(0x193)]),_0x5cf65a(0x2,_0x88db4d['ICommandService']),_0x5cf65a(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40['DataLoaderService'])),_0x5cf65a(0x4,_0x88db4d['Optional'](_0xe0b8d8[_0x2be3c1(0x27a)]))],_0x37e3f4[_0x2be3c1(0x343)]);var _0x1fd129=Object['getOwnPropertyDescriptor'],_0x4a6af2=(_0x3fa966,_0x33835c,_0x47d03e,_0x38d96f)=>{const _0x4705be=_0x2be3c1;for(var _0xe91cd4=_0x38d96f>0x1?void 0x0:_0x38d96f?_0x1fd129(_0x33835c,_0x47d03e):_0x33835c,_0xfa9293=_0x3fa966[_0x4705be(0x413)]-0x1,_0x39838b;_0xfa9293>=0x0;_0xfa9293--)(_0x39838b=_0x3fa966[_0xfa9293])&&(_0xe91cd4=_0x39838b(_0xe91cd4)||_0xe91cd4);return _0xe91cd4;},_0x589813=(_0x190af7,_0x500efa)=>(_0x1224f0,_0x1e7d66)=>_0x500efa(_0x1224f0,_0x1e7d66,_0x190af7);let _0x53cf70=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x1ef515,_0x17509c){const _0x15941b=_0x2be3c1;super(),this[_0x15941b(0x466)]=_0x1ef515,this[_0x15941b(0x477)]=_0x17509c,this[_0x15941b(0x43c)]();}[_0x2be3c1(0x43c)](){const _0x18ca71=_0x2be3c1,_0x80a06d=this;this['disposeWithMe'](this[_0x18ca71(0x466)][_0x18ca71(0x2a7)]({'onBeforePasteImage':async _0x161610=>{const _0x4e501d=_0x18ca71,_0x394a0d=await _0x80a06d[_0x4e501d(0x477)]['saveImage'](_0x161610);return _0x394a0d?{'source':_0x394a0d[_0x4e501d(0x1cb)],'imageSourceType':_0x394a0d['imageSourceType']}:null;}}));}};_0x53cf70=_0x4a6af2([_0x589813(0x0,_0x1fd691[_0x2be3c1(0x310)]),_0x589813(0x1,_0x455754[_0x2be3c1(0x24f)])],_0x53cf70);const _0x1a3ad0=[_0x2be3c1(0x389),'jiqing.500',_0x2be3c1(0x257),_0x2be3c1(0x395),_0x2be3c1(0x22a),_0x2be3c1(0x3f3)];class _0x469c3c extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(){const _0x10308a=_0x2be3c1;super(...arguments),_0x31ba17(this,_0x10308a(0x196),new Map()),_0x31ba17(this,_0x10308a(0x371),0x0);}[_0x2be3c1(0x402)](_0x575076){const _0x12588b=_0x2be3c1;if(this[_0x12588b(0x196)][_0x12588b(0x235)](_0x575076))return this['_assignedColors'][_0x12588b(0x489)](_0x575076);const _0x2fadfb=_0x1a3ad0[this[_0x12588b(0x371)]];return this[_0x12588b(0x371)]=(this[_0x12588b(0x371)]+0x1)%_0x1a3ad0['length'],this['_assignedColors'][_0x12588b(0x2af)](_0x575076,_0x2fadfb),_0x2fadfb;}}function _0x1b67b(_0x2cea5d){const _0x598c5d=_0x2be3c1;let _0x414456='';for(const _0x3061a3 of _0x2cea5d){const {startOffset:_0xed4959,endOffset:_0x3be2a9,isActive:_0x358eee,rangeType:_0x506a24,segmentId:_0x108d9f,segmentPage:_0x3acd86}=_0x3061a3;_0x414456[_0x598c5d(0x413)]&&(_0x414456+=','),_0x414456+=_0xed4959+':'+_0x3be2a9+':'+(_0x358eee?'1':'0')+':'+_0x506a24+':'+_0x108d9f+':'+_0x3acd86;}return _0x414456;}function _0xd6e2b0(_0x3a75a3){const _0x364921=_0x2be3c1,_0x1c0ed3=_0x3a75a3[_0x364921(0x2e5)](','),_0x5dc4bb=[];for(const _0x5a50a7 of _0x1c0ed3){const [_0xa13608,_0x3ef02d,_0x42f32b,_0x3363a4,_0x459a1d,_0x51b42e]=_0x5a50a7[_0x364921(0x2e5)](':');_0x5dc4bb[_0x364921(0x339)]({'startOffset':Number(_0xa13608),'endOffset':Number(_0x3ef02d),'collapsed':_0xa13608===_0x3ef02d,'isActive':_0x42f32b==='1','rangeType':_0x3363a4===_0x88db4d[_0x364921(0x2dd)][_0x364921(0x1eb)]?_0x88db4d[_0x364921(0x2dd)][_0x364921(0x1eb)]:_0x88db4d['DOC_RANGE_TYPE'][_0x364921(0x297)],'segmentId':typeof _0x459a1d==_0x364921(0x47c)?String(_0x459a1d):'','segmentPage':Number(_0x51b42e!=null?_0x51b42e:-0x1)});}return _0x5dc4bb[_0x364921(0x1a6)](_0xe6fead=>_0xe6fead[_0x364921(0x3fc)])||(_0x5dc4bb[0x0][_0x364921(0x3fc)]=!0x0),_0x5dc4bb;}class _0x5ae914 extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(){const _0x34c01b=_0x2be3c1;super(...arguments),_0x31ba17(this,_0x34c01b(0x469),new _0x3b0fae[(_0x34c01b(0x3b8))](null)),_0x31ba17(this,_0x34c01b(0x479),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x75d2fe){const _0x2ac320=_0x2be3c1,{unitID:_0xe59c05,memberID:_0x29a02d,textRanges:_0x44f841}=_0x75d2fe,_0x2310c5=_0x1b67b(_0x44f841);if(_0x2310c5==='')return;const _0x1675ef={'unitID':_0xe59c05,'memberID':_0x29a02d,'selection':_0x2310c5};this[_0x2ac320(0x469)][_0x2ac320(0x34a)](_0x1675ef);}}var _0x451c12=Object['getOwnPropertyDescriptor'],_0x570ac6=(_0x973537,_0x145099,_0x564c1d,_0x28a08f)=>{for(var _0x5bd05e=_0x28a08f>0x1?void 0x0:_0x28a08f?_0x451c12(_0x145099,_0x564c1d):_0x145099,_0x416172=_0x973537['length']-0x1,_0x4e170b;_0x416172>=0x0;_0x416172--)(_0x4e170b=_0x973537[_0x416172])&&(_0x5bd05e=_0x4e170b(_0x5bd05e)||_0x5bd05e);return _0x5bd05e;},_0x5cd293=(_0x448c7c,_0x5f37e2)=>(_0x43ae90,_0x587de3)=>_0x5f37e2(_0x43ae90,_0x587de3,_0x448c7c);const _0x2d7324=0x12c,_0x2d8af4=0x64;let _0x164a3b=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0xc7c9af,_0x1f0cb8,_0x510734,_0x312504,_0x4c318c,_0xfaa7a,_0x2e9e28,_0x2da049,_0x557dd9){const _0x39cb7c=_0x2be3c1;super(),_0x31ba17(this,'_online',!0x1),_0x31ba17(this,_0x39cb7c(0x43c),!0x1),_0x31ba17(this,_0x39cb7c(0x23c),new _0x3b0fae[(_0x39cb7c(0x3b8))](new Map())),_0x31ba17(this,_0x39cb7c(0x2b3),this[_0x39cb7c(0x23c)][_0x39cb7c(0x42b)]()),_0x31ba17(this,'_roomMembers$',new _0x3b0fae[(_0x39cb7c(0x3b8))]([])),_0x31ba17(this,_0x39cb7c(0x3f6),this['_roomMembers$'][_0x39cb7c(0x204)](_0x3b0fae[_0x39cb7c(0x26d)](_0x2d7324))),_0x31ba17(this,'_updateLocalCursor',_0x88db4d[_0x39cb7c(0x452)](_0x570767=>{const _0x5d7cb4=_0x39cb7c,_0x4989d={'eventID':_0x28fbb0[_0x5d7cb4(0x2f3)][_0x5d7cb4(0x3cc)],'data':{'unitID':this[_0x5d7cb4(0x307)],'memberID':this['_session']['getMemberID'](),'selection':_0x1b67b(_0x570767)}};this[_0x5d7cb4(0x1f6)]['send'](_0x4989d,this[_0x5d7cb4(0x307)]);},_0x2d8af4)),(this[_0x39cb7c(0x307)]=_0xc7c9af,this['_session']=_0x1f0cb8,this['_injector']=_0x510734,this[_0x39cb7c(0x471)]=_0x312504,this['_memberService']=_0x4c318c,this['_syncEditingCollabCursorService']=_0xfaa7a,this['_transformService']=_0x2e9e28,this[_0x39cb7c(0x1b7)]=_0x2da049,this['_commandService']=_0x557dd9);}get[_0x2be3c1(0x1e2)](){const _0x4e74d5=_0x2be3c1;return this[_0x4e74d5(0x23c)][_0x4e74d5(0x21e)]();}get[_0x2be3c1(0x3ce)](){const _0x3e6b84=_0x2be3c1;return this[_0x3e6b84(0x405)][_0x3e6b84(0x21e)]();}[_0x2be3c1(0x1a4)](){const _0x2ff811=_0x2be3c1;super[_0x2ff811(0x1a4)](),this[_0x2ff811(0x23c)][_0x2ff811(0x34a)](new Map()),this['_cursorInfo$'][_0x2ff811(0x3f9)](),this[_0x2ff811(0x405)]['next']([]),this['_roomMembers$'][_0x2ff811(0x3f9)]();}[_0x2be3c1(0x394)](){const _0x1b20ae=_0x2be3c1;this['_init']||(this[_0x1b20ae(0x43c)]=!0x0,this[_0x1b20ae(0x1f6)]['sessionStatus$'][_0x1b20ae(0x204)](_0x3b0fae['takeUntil'](this[_0x1b20ae(0x35b)]))['subscribe'](_0xae5195=>{const _0x396913=_0x1b20ae;_0xae5195===_0x4cce40['SessionStatus'][_0x396913(0x1fe)]?this[_0x396913(0x22c)]():this[_0x396913(0x1dd)]();}),this['_session']['event$']['pipe'](_0x3b0fae[_0x1b20ae(0x2d7)](this[_0x1b20ae(0x35b)]))[_0x1b20ae(0x1f2)](_0x555f12=>{const _0x5b2eb4=_0x1b20ae,_0x14716c=_0x555f12[_0x5b2eb4(0x2f7)];_0x14716c===_0x28fbb0['CollaborationEvent'][_0x5b2eb4(0x3cc)]&&this[_0x5b2eb4(0x260)](_0x555f12),_0x14716c===_0x28fbb0[_0x5b2eb4(0x2f3)][_0x5b2eb4(0x46c)]&&this[_0x5b2eb4(0x27d)](_0x555f12);}),this[_0x1b20ae(0x3ee)](this[_0x1b20ae(0x243)][_0x1b20ae(0x1b3)](_0x3ea53c=>{const _0x4d7ab4=_0x1b20ae,_0x6edaeb=_0x3ea53c[_0x4d7ab4(0x317)];_0x6edaeb!=null&&this['_online']&&_0x3ea53c['id']===_0x3c0520[_0x4d7ab4(0x3ea)]['id']&&_0x6edaeb[_0x4d7ab4(0x2b8)]===this[_0x4d7ab4(0x307)]&&_0x6edaeb[_0x4d7ab4(0x284)]===!0x1&&_0x6edaeb[_0x4d7ab4(0x1bc)][_0x4d7ab4(0x413)]>0x0&&this[_0x4d7ab4(0x3be)](_0x6edaeb['ranges']);})),this[_0x1b20ae(0x287)][_0x1b20ae(0x479)][_0x1b20ae(0x204)](_0x3b0fae[_0x1b20ae(0x2d7)](this[_0x1b20ae(0x35b)]))[_0x1b20ae(0x1f2)](_0x8be2ef=>{const _0x54e0e2=_0x1b20ae;if((_0x8be2ef==null?void 0x0:_0x8be2ef[_0x54e0e2(0x307)])!==this[_0x54e0e2(0x307)])return;const _0x54b25d={'eventID':_0x28fbb0[_0x54e0e2(0x2f3)]['UPDATE_CURSOR'],'data':_0x8be2ef};this[_0x54e0e2(0x260)](_0x54b25d);}),this['disposeWithMe'](this[_0x1b20ae(0x243)][_0x1b20ae(0x1b3)](_0x36027e=>{const _0x2083df=_0x1b20ae;if(_0x36027e[_0x2083df(0x317)]==null)return;const _0x5c4da6=_0x36027e[_0x2083df(0x317)];if(_0x36027e['id']!==_0x3c0520[_0x2083df(0x37a)]['id']||_0x5c4da6[_0x2083df(0x2b8)]!==this[_0x2083df(0x307)])return;const _0x2cc98d={'id':_0x2083df(0x198),'params':_0x5c4da6},_0x2626e8=this[_0x2083df(0x1e2)];for(const [_0x20aad2,_0x2d8a77]of _0x2626e8){const _0x2254d8={'id':_0x2083df(0x198),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2d8a77[_0x2083df(0x1bc)]}},_0x35e073=this[_0x2083df(0x46d)][_0x2083df(0x255)](_0x2cc98d,_0x2254d8,!0x1);if(_0x28fbb0[_0x2083df(0x440)](_0x35e073))throw _0x35e073['error'];_0x2626e8[_0x2083df(0x2af)](_0x20aad2,{..._0x2d8a77,'ranges':_0x35e073[_0x2083df(0x27c)]['params'][_0x2083df(0x28d)]});}queueMicrotask(()=>{const _0x4b3b71=_0x2083df;this[_0x4b3b71(0x23c)][_0x4b3b71(0x34a)](_0x2626e8);});})));}[_0x2be3c1(0x260)](_0xb8e736){const _0x283b5c=_0x2be3c1;var _0x95c7f8,_0x4f840f;const {memberID:_0x521ae7,selection:_0x24711b}=_0xb8e736[_0x283b5c(0x32b)],_0x3f59d7=_0xd6e2b0(_0x24711b),_0x4a007e=(_0x4f840f=(_0x95c7f8=this[_0x283b5c(0x24c)][_0x283b5c(0x315)](this[_0x283b5c(0x307)],_0x521ae7))==null?void 0x0:_0x95c7f8[_0x283b5c(0x429)])!=null?_0x4f840f:_0x283b5c(0x3c3),_0x282b95={'color':this[_0x283b5c(0x471)][_0x283b5c(0x402)](_0x521ae7),'name':_0x4a007e,'ranges':_0x3f59d7},_0x4e78d1=this['cursorInfo'];_0x4e78d1['set'](_0x521ae7,_0x282b95),this['_cursorInfo$'][_0x283b5c(0x34a)](_0x4e78d1);}[_0x2be3c1(0x27d)](_0x5b7972){const _0x4ebc0f=_0x2be3c1,{memberID:_0x30c4b3}=_0x5b7972[_0x4ebc0f(0x32b)],_0x21bab2=this[_0x4ebc0f(0x1e2)];_0x21bab2[_0x4ebc0f(0x3e0)](_0x30c4b3),this[_0x4ebc0f(0x23c)][_0x4ebc0f(0x34a)](_0x21bab2);}[_0x2be3c1(0x22c)](){const _0x4f6f0b=_0x2be3c1;var _0x2426cb;if(this[_0x4f6f0b(0x3cd)]=!0x0,((_0x2426cb=this[_0x4f6f0b(0x1b7)]['getFocusedUnit']())==null?void 0x0:_0x2426cb[_0x4f6f0b(0x312)]())!==this[_0x4f6f0b(0x307)])return;const _0x3cff79=this['_injector'][_0x4f6f0b(0x489)](_0x3c0520[_0x4f6f0b(0x41a)])[_0x4f6f0b(0x3ed)]();Array['isArray'](_0x3cff79)&&_0x3cff79[_0x4f6f0b(0x413)]>0x0&&this[_0x4f6f0b(0x3be)](_0x3cff79);}[_0x2be3c1(0x1dd)](){const _0x5ae4b2=_0x2be3c1;this[_0x5ae4b2(0x3cd)]=!0x1;}};_0x164a3b=_0x570ac6([_0x5cd293(0x2,_0x88db4d['Inject'](_0x88db4d[_0x2be3c1(0x3db)])),_0x5cd293(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x469c3c)),_0x5cd293(0x4,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x3dc)])),_0x5cd293(0x5,_0x88db4d[_0x2be3c1(0x2b1)](_0x5ae914)),_0x5cd293(0x6,_0x28fbb0['ITransformService']),_0x5cd293(0x7,_0x88db4d[_0x2be3c1(0x43e)]),_0x5cd293(0x8,_0x88db4d[_0x2be3c1(0x355)])],_0x164a3b);var _0x47db12=Object[_0x2be3c1(0x393)],_0x22a41b=(_0x4e5a24,_0x4981f7,_0x262e83,_0x2153de)=>{const _0x571584=_0x2be3c1;for(var _0x2e5603=_0x2153de>0x1?void 0x0:_0x2153de?_0x47db12(_0x4981f7,_0x262e83):_0x4981f7,_0x54a2b8=_0x4e5a24[_0x571584(0x413)]-0x1,_0x1e6488;_0x54a2b8>=0x0;_0x54a2b8--)(_0x1e6488=_0x4e5a24[_0x54a2b8])&&(_0x2e5603=_0x1e6488(_0x2e5603)||_0x2e5603);return _0x2e5603;},_0x49d8dc=(_0x53cbff,_0xcc0068)=>(_0x439bf8,_0x4b7c71)=>_0xcc0068(_0x439bf8,_0x4b7c71,_0x53cbff);const _0x2c8fc0=0x12c,_0x503ef5=0x64,_0x57e16a=()=>{let _0x20b2fa=[],_0x1fa9d3=!0x1;return _0x2dc7fb=>{const _0x52783f=_0x4ca8;_0x20b2fa[_0x52783f(0x339)](_0x2dc7fb),_0x1fa9d3||(_0x1fa9d3=!0x0,setTimeout(()=>{const _0x36c1f7=_0x52783f;_0x20b2fa[_0x36c1f7(0x2cd)](_0x2926c4=>_0x2926c4()),_0x20b2fa=[],_0x1fa9d3=!0x1;}));};};let _0x14f87c=class extends _0x88db4d['RxDisposable']{constructor(_0x3f507a,_0x262d7e,_0x57530b,_0x5b209f,_0x5c62aa,_0x2a4ff4,_0x5a7f03,_0x14d7e8){const _0x2d4c55=_0x2be3c1;super(),_0x31ba17(this,'_online',!0x1),_0x31ba17(this,'_init',!0x1),_0x31ba17(this,'_cursorInfo$',new _0x3b0fae['BehaviorSubject'](new Map())),_0x31ba17(this,_0x2d4c55(0x2b3),this[_0x2d4c55(0x23c)][_0x2d4c55(0x42b)]()),_0x31ba17(this,_0x2d4c55(0x405),new _0x3b0fae[(_0x2d4c55(0x3b8))]([])),_0x31ba17(this,_0x2d4c55(0x3f6),this['_roomMembers$'][_0x2d4c55(0x204)](_0x3b0fae['debounceTime'](_0x2c8fc0))),_0x31ba17(this,'_updateLocalCursor',_0x88db4d[_0x2d4c55(0x452)]((_0x1ef915,_0x566b68)=>{const _0x36b2c0=_0x2d4c55,_0xe282ea={'eventID':_0x28fbb0['CollaborationEvent'][_0x36b2c0(0x3cc)],'data':{'unitID':this['unitID'],'memberID':this[_0x36b2c0(0x1f6)][_0x36b2c0(0x2e3)](),'selection':_0x52fd75[_0x36b2c0(0x200)](_0x1ef915,_0x566b68['range'])}};this[_0x36b2c0(0x1f6)][_0x36b2c0(0x2be)](_0xe282ea,this['unitID']);},_0x503ef5)),(this[_0x2d4c55(0x307)]=_0x3f507a,this[_0x2d4c55(0x1f6)]=_0x262d7e,this[_0x2d4c55(0x363)]=_0x57530b,this['_colorAssignService']=_0x5b209f,this[_0x2d4c55(0x24c)]=_0x5c62aa,this[_0x2d4c55(0x1b7)]=_0x2a4ff4,this[_0x2d4c55(0x243)]=_0x5a7f03,this['_refRangeService']=_0x14d7e8);}get[_0x2be3c1(0x1e2)](){const _0x28238f=_0x2be3c1;return this[_0x28238f(0x23c)]['getValue']();}get[_0x2be3c1(0x3ce)](){const _0x5c7f23=_0x2be3c1;return this[_0x5c7f23(0x405)][_0x5c7f23(0x21e)]();}['dispose'](){const _0x8e5c79=_0x2be3c1;super[_0x8e5c79(0x1a4)](),this[_0x8e5c79(0x23c)][_0x8e5c79(0x34a)](new Map()),this[_0x8e5c79(0x23c)][_0x8e5c79(0x3f9)](),this[_0x8e5c79(0x405)]['next']([]),this[_0x8e5c79(0x405)]['complete']();}[_0x2be3c1(0x394)](){const _0x28fe6d=_0x2be3c1;this['_init']||(this[_0x28fe6d(0x43c)]=!0x0,this[_0x28fe6d(0x1f6)]['sessionStatus$'][_0x28fe6d(0x204)](_0x3b0fae[_0x28fe6d(0x2d7)](this[_0x28fe6d(0x35b)]))[_0x28fe6d(0x1f2)](_0x196b54=>{const _0x99165e=_0x28fe6d;_0x196b54===_0x4cce40[_0x99165e(0x33b)][_0x99165e(0x1fe)]?this['_toggleOnline']():this[_0x99165e(0x1dd)]();}),this[_0x28fe6d(0x1f6)]['event$']['pipe'](_0x3b0fae[_0x28fe6d(0x2d7)](this[_0x28fe6d(0x35b)]))['subscribe'](_0x2f4941=>{const _0x194b8c=_0x28fe6d,_0x46ee2d=_0x2f4941[_0x194b8c(0x2f7)];_0x46ee2d===_0x28fbb0[_0x194b8c(0x2f3)][_0x194b8c(0x3cc)]&&this[_0x194b8c(0x260)](_0x2f4941),_0x46ee2d===_0x28fbb0[_0x194b8c(0x2f3)][_0x194b8c(0x46c)]&&this[_0x194b8c(0x27d)](_0x2f4941);}),this[_0x28fe6d(0x457)](),this[_0x28fe6d(0x3ee)](this['_commandService'][_0x28fe6d(0x1b3)](_0x2248b7=>{const _0x4cd8da=_0x28fe6d;if(this[_0x4cd8da(0x3cd)]&&_0x2248b7['id']===_0x125f36[_0x4cd8da(0x23f)]['id']&&_0x2248b7['params']['unitId']===this['unitID']){const _0x334b49=_0x2248b7[_0x4cd8da(0x317)];this[_0x4cd8da(0x3be)](_0x334b49[_0x4cd8da(0x32f)],_0x334b49['selections'][0x0]);}})));}['_onCursorUpdate'](_0x515f9d){const _0x1a4d69=_0x2be3c1;var _0x4f53c6,_0x1c5fe0;const {memberID:_0x2ea4f5,selection:_0x5f1ed8}=_0x515f9d['data'],{sheetName:_0x5d581d,range:_0x59029b}=_0x52fd75[_0x1a4d69(0x423)](_0x5f1ed8),_0x1003f5={'name':(_0x1c5fe0=(_0x4f53c6=this['_memberService'][_0x1a4d69(0x315)](this[_0x1a4d69(0x307)],_0x2ea4f5))==null?void 0x0:_0x4f53c6[_0x1a4d69(0x429)])!=null?_0x1c5fe0:'Unknown\x20user','range':this[_0x1a4d69(0x22f)](_0x5d581d,_0x59029b),'sheetID':_0x5d581d,'color':this[_0x1a4d69(0x471)][_0x1a4d69(0x402)](_0x2ea4f5),'selection':_0x5f1ed8},_0x3047d2=this[_0x1a4d69(0x1e2)];_0x3047d2[_0x1a4d69(0x2af)](_0x2ea4f5,_0x1003f5),this[_0x1a4d69(0x23c)][_0x1a4d69(0x34a)](_0x3047d2);}[_0x2be3c1(0x27d)](_0x5a590f){const _0x250173=_0x2be3c1,{memberID:_0x5e769b}=_0x5a590f['data'],_0xb5d6c3=this[_0x250173(0x1e2)];_0xb5d6c3[_0x250173(0x3e0)](_0x5e769b),this[_0x250173(0x23c)][_0x250173(0x34a)](_0xb5d6c3);}['_getMergeRange'](_0x28fc10,_0x226f0b){const _0x2b5e0b=_0x2be3c1;var _0x5901b4,_0x249522;const _0x2abcdd=(_0x249522=(_0x5901b4=this[_0x2b5e0b(0x1b7)][_0x2b5e0b(0x379)](this[_0x2b5e0b(0x307)]))==null?void 0x0:_0x5901b4[_0x2b5e0b(0x1a0)](_0x28fc10))==null?void 0x0:_0x249522[_0x2b5e0b(0x197)]();return(_0x2abcdd==null?void 0x0:_0x2abcdd[_0x2b5e0b(0x2a6)](_0x1b52df=>_0x88db4d[_0x2b5e0b(0x264)][_0x2b5e0b(0x1fc)](_0x1b52df,_0x226f0b)))||_0x226f0b;}[_0x2be3c1(0x457)](){const _0x41ee54=_0x2be3c1,_0x2995d5=new _0x88db4d[(_0x41ee54(0x270))](),_0x2975b2=_0x57e16a(),_0x13735b=()=>{const _0x53f274=_0x41ee54;_0x2995d5[_0x53f274(0x1a4)]();const _0x557d69=(_0x3544a1,_0x2bf47b,_0x5e401f,_0x517bcc)=>{const _0x35c01f=_0x53f274;let _0x4cc658=[];switch(_0x3544a1['id']){case _0x125f36['EffectRefRangId'][_0x35c01f(0x296)]:{_0x4cc658=_0x125f36['handleDeleteRangeMoveLeft'](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x299)]:{_0x4cc658=_0x125f36['handleDeleteRangeMoveUp'](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x1c8)]:{_0x4cc658=_0x125f36[_0x35c01f(0x346)](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x20b)]:{_0x4cc658=_0x125f36[_0x35c01f(0x251)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)]['InsertRangeMoveRightCommandId']:{_0x4cc658=_0x125f36[_0x35c01f(0x277)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x1ae)]:{_0x4cc658=_0x125f36[_0x35c01f(0x378)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x356)]:{_0x4cc658=_0x125f36['handleMoveRange'](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x3a4)]:{_0x4cc658=_0x125f36[_0x35c01f(0x29d)](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x41b)]:{_0x4cc658=_0x125f36[_0x35c01f(0x25a)](_0x3544a1,_0x517bcc);break;}}const _0x3889b5=_0x125f36[_0x35c01f(0x361)](_0x4cc658,_0x517bcc),_0x14025c=this[_0x35c01f(0x1e2)][_0x35c01f(0x489)](_0x2bf47b);if(_0x14025c&&_0x3889b5){const _0x3fbcf0={..._0x14025c,'range':_0x3889b5};this[_0x35c01f(0x1e2)]['set'](_0x2bf47b,_0x3fbcf0),_0x2975b2(()=>{const _0x5d741f=_0x35c01f,_0x27554d=this[_0x5d741f(0x3ae)][_0x5d741f(0x217)](_0x3889b5,_0x95c2d3=>(_0x27554d[_0x5d741f(0x1a4)](),_0x557d69(_0x95c2d3,_0x2bf47b,_0x5e401f,_0x3889b5)));_0x2995d5[_0x5d741f(0x262)](_0x27554d);});}return{'redos':[],'undos':[]};};this[_0x53f274(0x1e2)][_0x53f274(0x2cd)]((_0x381b42,_0x1c7f61)=>{const _0x220e84=_0x53f274,{range:_0x145710,sheetID:_0x257558}=_0x381b42,_0x5de018=this[_0x220e84(0x3ae)][_0x220e84(0x217)](_0x145710,_0x13103=>(_0x5de018['dispose'](),_0x557d69(_0x13103,_0x1c7f61,_0x257558,_0x145710)));_0x2995d5['add'](_0x5de018);});};this[_0x41ee54(0x3ee)](_0x88db4d[_0x41ee54(0x226)](this[_0x41ee54(0x23c)]['subscribe'](()=>{_0x13735b();})));}[_0x2be3c1(0x22c)](){const _0x10c909=_0x2be3c1;var _0x2e1905,_0xa68a66;if(this[_0x10c909(0x3cd)]=!0x0,((_0x2e1905=this['_univerInstanceService'][_0x10c909(0x3c1)]())==null?void 0x0:_0x2e1905[_0x10c909(0x312)]())!==this['unitID'])return;const _0x574ba7=(_0xa68a66=this['_injector']['get'](_0x125f36[_0x10c909(0x24d)])['getCurrentSelections']())==null?void 0x0:_0xa68a66[0x0],_0x17fdee=this['_univerInstanceService'][_0x10c909(0x1c3)](_0x88db4d['UniverInstanceType'][_0x10c909(0x216)])[_0x10c909(0x218)]();_0x574ba7&&_0x17fdee&&this[_0x10c909(0x3be)](_0x17fdee[_0x10c909(0x37b)](),_0x574ba7);}['_toggleOffline'](){this['_online']=!0x1;}};_0x14f87c=_0x22a41b([_0x49d8dc(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0x49d8dc(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x469c3c)),_0x49d8dc(0x4,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x3dc)])),_0x49d8dc(0x5,_0x88db4d[_0x2be3c1(0x43e)]),_0x49d8dc(0x6,_0x88db4d[_0x2be3c1(0x355)]),_0x49d8dc(0x7,_0x88db4d[_0x2be3c1(0x2b1)](_0x125f36[_0x2be3c1(0x36f)]))],_0x14f87c);var _0x327251=Object[_0x2be3c1(0x393)],_0x374f76=(_0x2511b5,_0x41e937,_0x19b918,_0x26654a)=>{for(var _0xd8174b=_0x26654a>0x1?void 0x0:_0x26654a?_0x327251(_0x41e937,_0x19b918):_0x41e937,_0x12aa4b=_0x2511b5['length']-0x1,_0x37a083;_0x12aa4b>=0x0;_0x12aa4b--)(_0x37a083=_0x2511b5[_0x12aa4b])&&(_0xd8174b=_0x37a083(_0xd8174b)||_0xd8174b);return _0xd8174b;},_0x47ef0c=(_0x8e4118,_0x1ef88f)=>(_0x490cb7,_0x1afa5b)=>_0x1ef88f(_0x490cb7,_0x1afa5b,_0x8e4118);let _0x2e3752=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x5bd446,_0x5d3a44,_0x6b19a0){const _0x2db428=_0x2be3c1;super(),_0x31ba17(this,_0x2db428(0x456),new Map()),_0x31ba17(this,_0x2db428(0x300),new _0x3b0fae[(_0x2db428(0x23e))]()),(this['_univerInstanceService']=_0x5bd446,this['_injector']=_0x5d3a44,this[_0x2db428(0x1e8)]=_0x6b19a0,this[_0x2db428(0x43c)]());}['dispose'](){const _0x380abf=_0x2be3c1;super[_0x380abf(0x1a4)](),this[_0x380abf(0x300)][_0x380abf(0x3f9)](),this[_0x380abf(0x456)][_0x380abf(0x2cd)](_0x4b2a8a=>_0x4b2a8a['dispose']());}['getCollabCursors$'](_0x12ede){const _0x29e953=_0x2be3c1;return this[_0x29e953(0x456)][_0x29e953(0x235)](_0x12ede)?this[_0x29e953(0x456)][_0x29e953(0x489)](_0x12ede)[_0x29e953(0x2b3)]:this[_0x29e953(0x300)][_0x29e953(0x204)](_0x3b0fae[_0x29e953(0x1e4)](_0x95057=>_0x95057[_0x29e953(0x307)]===_0x12ede),_0x3b0fae[_0x29e953(0x3c8)](_0x53f9d1=>_0x53f9d1['cursorInfo$']));}[_0x2be3c1(0x43c)](){const _0x2072e4=_0x2be3c1;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x216)])[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x2d7)](this[_0x2072e4(0x35b)]))['subscribe'](async _0x19bd87=>{const _0x19a6cd=_0x2072e4,_0x176a7e=_0x19bd87[_0x19a6cd(0x312)](),_0x1d5c6e=await this[_0x19a6cd(0x245)](_0x176a7e);this['_entityInit$']['next'](_0x1d5c6e),this[_0x19a6cd(0x456)][_0x19a6cd(0x2af)](_0x176a7e,_0x1d5c6e);}),this[_0x2072e4(0x1b7)][_0x2072e4(0x228)](_0x88db4d[_0x2072e4(0x403)]['UNIVER_DOC'])[_0x2072e4(0x204)](_0x3b0fae['takeUntil'](this[_0x2072e4(0x35b)]))[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x1e4)](_0x4a31fa=>!_0x4a31fa[_0x2072e4(0x312)]()[_0x2072e4(0x220)]('__')))[_0x2072e4(0x1f2)](async _0x1483b1=>{const _0xf378f8=_0x2072e4,_0x49e138=_0x1483b1[_0xf378f8(0x312)](),_0x4a9032=await this[_0xf378f8(0x385)](_0x49e138);this[_0xf378f8(0x300)]['next'](_0x4a9032),this['_entities'][_0xf378f8(0x2af)](_0x49e138,_0x4a9032);}),_0x3b0fae[_0x2072e4(0x21c)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x44b)]),this[_0x2072e4(0x1b7)][_0x2072e4(0x412)](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x216)]))[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x2d7)](this['dispose$']))[_0x2072e4(0x1f2)](_0x2ae7f0=>{const _0x15b829=_0x2072e4,_0x539068=_0x2ae7f0['getUnitId'](),_0x19505b=this[_0x15b829(0x456)][_0x15b829(0x489)](_0x539068);_0x19505b&&(_0x19505b[_0x15b829(0x1a4)](),this['_entities'][_0x15b829(0x3e0)](_0x539068));});}async[_0x2be3c1(0x245)](_0x3290f8){const _0x2a38b7=_0x2be3c1,_0x44dfff=await this['_collabSessionService']['requireSession'](_0x3290f8),_0x1f222a=this['_injector'][_0x2a38b7(0x2c6)](_0x14f87c,_0x3290f8,_0x44dfff);return _0x1f222a[_0x2a38b7(0x394)](),_0x1f222a;}async[_0x2be3c1(0x385)](_0x1bb675){const _0x2a8d36=_0x2be3c1,_0x27a0e7=await this[_0x2a8d36(0x1e8)][_0x2a8d36(0x327)](_0x1bb675),_0x554e60=this[_0x2a8d36(0x363)][_0x2a8d36(0x2c6)](_0x164a3b,_0x1bb675,_0x27a0e7);return _0x554e60[_0x2a8d36(0x394)](),_0x554e60;}};_0x2e3752=_0x374f76([_0x47ef0c(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x47ef0c(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x47ef0c(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x274)]))],_0x2e3752);const _0x2f70bb=0x14,_0x23e623=0xc8,_0x168345=0x4,_0x296d78=0x5;function _0xda1801(_0x3e6bf3,_0x370753){const _0x19d644=_0x2be3c1;let {radius:_0x10c1a1,width:_0x590411,height:_0x160e6f}=_0x370753;_0x10c1a1=_0x10c1a1!=null?_0x10c1a1:0x0,_0x590411=_0x590411!=null?_0x590411:0x1e,_0x160e6f=_0x160e6f!=null?_0x160e6f:0x1e;let _0x3862cf=0x0,_0x2bf20c=0x0,_0x37a0a0=0x0;_0x3862cf=_0x2bf20c=_0x37a0a0=Math[_0x19d644(0x25c)](_0x10c1a1,_0x590411/0x2,_0x160e6f/0x2),_0x3e6bf3['beginPath'](),_0x3e6bf3[_0x19d644(0x441)](_0x3862cf,0x0),_0x3e6bf3['lineTo'](_0x590411-_0x2bf20c,0x0),_0x3e6bf3[_0x19d644(0x263)](_0x590411-_0x2bf20c,_0x2bf20c,_0x2bf20c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e6bf3['lineTo'](_0x590411,_0x160e6f-_0x37a0a0),_0x3e6bf3[_0x19d644(0x263)](_0x590411-_0x37a0a0,_0x160e6f-_0x37a0a0,_0x37a0a0,0x0,Math['PI']/0x2,!0x1),_0x3e6bf3[_0x19d644(0x222)](0x0,_0x160e6f),_0x3e6bf3[_0x19d644(0x222)](0x0,_0x3862cf),_0x3e6bf3[_0x19d644(0x263)](_0x3862cf,_0x3862cf,_0x3862cf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e6bf3[_0x19d644(0x2ed)](),_0x370753['fill']&&(_0x3e6bf3[_0x19d644(0x399)](),_0x3e6bf3[_0x19d644(0x334)]=_0x370753[_0x19d644(0x2d2)],_0x370753[_0x19d644(0x2ae)]==='evenodd'?_0x3e6bf3[_0x19d644(0x2d2)](_0x19d644(0x1aa)):_0x3e6bf3['fill'](),_0x3e6bf3[_0x19d644(0x38b)]());}class _0x25aa55 extends _0xe27d05[_0x2be3c1(0x1d4)]{constructor(_0x338606,_0x22dd3a){const _0x3b6f8b=_0x2be3c1;super(_0x338606,_0x22dd3a),_0x31ba17(this,_0x3b6f8b(0x329)),_0x31ba17(this,_0x3b6f8b(0x408)),(this[_0x3b6f8b(0x329)]=_0x22dd3a==null?void 0x0:_0x22dd3a[_0x3b6f8b(0x329)],this['text']=_0x22dd3a==null?void 0x0:_0x22dd3a[_0x3b6f8b(0x408)]);}static[_0x2be3c1(0x31d)](_0x595c77,_0x3faff8){const _0x375939=_0x2be3c1,{text:_0x14289d,color:_0x1e1647}=_0x3faff8;_0x595c77[_0x375939(0x399)](),_0x595c77[_0x375939(0x1b4)]=_0x375939(0x46a);const _0x45aff8=_0x595c77[_0x375939(0x304)](_0x14289d)[_0x375939(0x194)],_0x3190ca=Math['min'](_0x45aff8+0x2*_0x168345,_0x23e623);_0xda1801(_0x595c77,{'height':_0x2f70bb,'radius':0x4,'width':_0x3190ca,'fill':_0x1e1647}),_0x595c77[_0x375939(0x334)]=_0x375939(0x1e9);const _0x33d138=_0x168345,_0x2b6206=_0x2f70bb-_0x296d78,_0x2765ba=_0x23e623-0x2*_0x168345;if(_0x45aff8>_0x2765ba){let _0x3b226f='',_0x431f7a=0x0;for(const _0x37cb11 of _0x14289d){const _0x18c130=_0x595c77['measureText'](_0x37cb11)[_0x375939(0x194)];if(_0x431f7a+_0x18c130<=_0x2765ba-_0x595c77[_0x375939(0x304)](_0x375939(0x45b))[_0x375939(0x194)])_0x3b226f+=_0x37cb11,_0x431f7a+=_0x18c130;else{_0x3b226f+=_0x375939(0x45b);break;}}_0x595c77[_0x375939(0x486)](_0x3b226f,_0x33d138,_0x2b6206);}else _0x595c77[_0x375939(0x486)](_0x14289d,_0x33d138,_0x2b6206);_0x595c77[_0x375939(0x38b)]();}[_0x2be3c1(0x42c)](_0x241784){const _0x79d236=_0x2be3c1;_0x25aa55[_0x79d236(0x31d)](_0x241784,this);}}const _0x478f1e=_0x2be3c1(0x366),_0x2ba20b=_0x2be3c1(0x302),_0x22aa35='collab-rect-range-',_0x2acf05=0x6,_0x5a71ab=1.5,_0x5d5d67=0x4,_0x2a20f9=1.5,_0xe4efc3='rgba(255,\x20255,\x20255,\x200.01)';class _0x32d045{constructor(_0x13e371,_0x3c9216,_0x57f04e,_0x2e2a61){const _0x41498c=_0x2be3c1;_0x31ba17(this,'_shapes',[]),_0x31ba17(this,_0x41498c(0x377),null),_0x31ba17(this,_0x41498c(0x463),null),_0x31ba17(this,_0x41498c(0x2f5),null),_0x31ba17(this,'_hideTimer',null),_0x31ba17(this,_0x41498c(0x347),null),(this[_0x41498c(0x29b)]=_0x13e371,this[_0x41498c(0x3c5)]=_0x3c9216,this[_0x41498c(0x2db)]=_0x57f04e,this[_0x41498c(0x39d)]=_0x2e2a61,this[_0x41498c(0x31e)]());}set[_0x2be3c1(0x34e)](_0xc85c1d){const _0x41972b=_0x2be3c1;_0xc85c1d?(this[_0x41972b(0x2f5)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this['_textBubble'][_0x41972b(0x34c)]()):(this[_0x41972b(0x2f5)]&&this['_anchorDot']['show'](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x2be3c1(0x1a4)](){const _0x592302=_0x2be3c1;for(const _0x246d7c of this[_0x592302(0x2d3)])_0x246d7c[_0x592302(0x1a4)]();this[_0x592302(0x463)]&&this[_0x592302(0x463)][_0x592302(0x1a4)](),this[_0x592302(0x2f5)]&&this[_0x592302(0x2f5)]['dispose'](),this[_0x592302(0x377)]&&this[_0x592302(0x377)][_0x592302(0x1a4)](),this[_0x592302(0x347)]&&this['_eventUnsubscribe']();}[_0x2be3c1(0x31e)](){const _0xe838c9=_0x2be3c1;var _0x40b453;const {_docSkeleton:_0x18710b,_document:_0x20207a}=this,{color:_0x3c04a9,name:_0x434267,ranges:_0x4ab056}=this['_cursor'],_0x23c7de=_0x20207a[_0xe838c9(0x3bc)](),{docsLeft:_0x2d7ebe,docsTop:_0xb5c685}=_0x23c7de,_0x303a6e=new _0x1fd691[(_0xe838c9(0x293))](_0x23c7de,_0x18710b);for(const {startOffset:_0x2f7c6f,endOffset:_0x24b79d,rangeType:_0x9f50d7,segmentId:_0x44b0d4,segmentPage:_0x51fa90,collapsed:_0x597e92,isActive:_0x30ff2b}of _0x4ab056){const _0xabe2d8=_0x18710b[_0xe838c9(0x2ac)](_0x2f7c6f,!0x0,_0x44b0d4,_0x51fa90);let _0x4ca038=_0x18710b[_0xe838c9(0x2ac)](_0x24b79d,!0x0,_0x44b0d4,_0x51fa90);if(_0x4ca038==null&&(_0x4ca038=_0x18710b[_0xe838c9(0x2ac)](_0x24b79d-0x1,!0x1,_0x44b0d4,_0x51fa90)),_0x30ff2b){const {contentBoxPointGroup:_0x46be3b}=_0x303a6e[_0xe838c9(0x3e7)](_0x4ca038,_0x4ca038);if(_0x46be3b['length']===0x0)continue;this[_0xe838c9(0x47a)](_0x3c04a9,_0x46be3b,_0x2d7ebe,_0xb5c685,_0x434267),this[_0xe838c9(0x347)]=this[_0xe838c9(0x25e)]();}if(_0xabe2d8&&_0x4ca038){if(_0x9f50d7===_0x88db4d[_0xe838c9(0x2dd)][_0xe838c9(0x297)]){const _0x245bbd=new _0x1fd691['NodePositionConvertToRectRange'](_0x23c7de,_0x18710b),{pointGroup:_0x5241b3}=(_0x40b453=_0x245bbd['getRangePointData'](_0xabe2d8,_0x4ca038))!=null?_0x40b453:{};if(_0x5241b3==null||_0x5241b3[_0xe838c9(0x413)]===0x0)continue;this[_0xe838c9(0x1d9)](_0x3c04a9,_0x5241b3,_0x2d7ebe,_0xb5c685);}else{if(!_0x597e92){const {borderBoxPointGroup:_0x41c371}=_0x303a6e[_0xe838c9(0x3e7)](_0xabe2d8,_0x4ca038);if(_0x41c371[_0xe838c9(0x413)]===0x0)continue;this['_drawTextRange'](_0x3c04a9,_0x41c371,_0x2d7ebe,_0xb5c685);}}}}}['_drawAnchor'](_0x1ed8cb,_0x342eab,_0x409844,_0x4e3b43,_0x87c585){const _0x30c637=_0x2be3c1,_0x3f20f5=this['_getAnchorBounding'](_0x342eab),{left:_0x145248,top:_0x589756,height:_0x40e5d3}=_0x3f20f5,_0x27e8a2=this[_0x30c637(0x19a)](),_0x5b2398=_0x2a20f9/_0x27e8a2,_0x1783f8=new _0xe27d05[(_0x30c637(0x410))](_0x478f1e+_0x88db4d[_0x30c637(0x335)](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43,'height':_0x40e5d3,'width':_0x5a71ab,'fill':_0x1ed8cb||_0xe27d05[_0x30c637(0x27f)](_0x88db4d['COLORS'][_0x30c637(0x3d2)],0x0),'strokeWidth':_0x5b2398,'stroke':_0xe4efc3,'evented':!0x0});this[_0x30c637(0x377)]=_0x1783f8,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x1783f8,_0x1fd691[_0x30c637(0x1d5)]);const _0x57ae4e=new _0xe27d05['Rect'](_0x478f1e+_0x88db4d[_0x30c637(0x335)](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43-_0x5d5d67/0x2,'height':_0x5d5d67,'width':_0x5d5d67,'fill':_0x1ed8cb||_0xe27d05['getColor'](_0x88db4d['COLORS'][_0x30c637(0x3d2)],0x0),'strokeWidth':0x0,'stroke':_0x1ed8cb||_0xe27d05[_0x30c637(0x27f)](_0x88db4d[_0x30c637(0x2ca)]['black'],0x0),'evented':!0x1});this[_0x30c637(0x2f5)]=_0x57ae4e,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x57ae4e,_0x1fd691[_0x30c637(0x1d5)]);const _0x5e8db4=new _0x25aa55(_0x478f1e+_0x88db4d['generateRandomId'](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43-_0x2f70bb,'text':_0x87c585,'color':_0x1ed8cb});this['_textBubble']=_0x5e8db4,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x5e8db4,_0x1fd691[_0x30c637(0x1d5)]),this[_0x30c637(0x34e)]=!0x1;}['_handleHover'](){const _0x4bd8cd=_0x2be3c1,_0x2ec453=this[_0x4bd8cd(0x377)][_0x4bd8cd(0x3e5)][_0x4bd8cd(0x41c)](()=>{const _0x41b0a3=_0x4bd8cd;this[_0x41b0a3(0x34e)]=!0x0;}),_0x28297a=this['_anchor'][_0x4bd8cd(0x424)][_0x4bd8cd(0x41c)](()=>{const _0x28e7c0=_0x4bd8cd;this['_hideTimer']&&clearTimeout(this[_0x28e7c0(0x450)]),this[_0x28e7c0(0x450)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3396e3=_0x4bd8cd;_0x2ec453[_0x3396e3(0x303)](),_0x28297a['unsubscribe']();};}[_0x2be3c1(0x3de)](_0x34b9ee,_0x100575,_0x60780a,_0x5b0790){const _0x4f445b=_0x2be3c1,_0xcda2e9=new _0x88db4d['ColorKit'](_0x34b9ee)[_0x4f445b(0x35a)](0.2)['toRgbString'](),_0x221390=new _0xe27d05['RegularPolygon'](_0x2ba20b+_0x88db4d[_0x4f445b(0x335)](_0x2acf05),{'pointsGroup':_0x100575,'fill':_0xcda2e9||_0xe27d05['getColor'](_0x88db4d[_0x4f445b(0x2ca)][_0x4f445b(0x3d2)],0.2),'left':_0x60780a,'top':_0x5b0790,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f445b(0x2d3)]['push'](_0x221390),this[_0x4f445b(0x3c5)][_0x4f445b(0x2ee)](_0x221390,_0x1fd691[_0x4f445b(0x1d5)]);}[_0x2be3c1(0x1d9)](_0x55ebfa,_0x50ef71,_0x398592,_0x287efe){const _0x3ad9b0=_0x2be3c1,_0x5c7731=new _0x88db4d['ColorKit'](_0x55ebfa)[_0x3ad9b0(0x35a)](0.2)[_0x3ad9b0(0x33f)](),_0x27f73a=new _0xe27d05[(_0x3ad9b0(0x3c0))](_0x22aa35+_0x88db4d[_0x3ad9b0(0x335)](_0x2acf05),{'pointsGroup':_0x50ef71,'fill':_0x5c7731||_0xe27d05[_0x3ad9b0(0x27f)](_0x88db4d[_0x3ad9b0(0x2ca)][_0x3ad9b0(0x3d2)],0.2),'left':_0x398592,'top':_0x287efe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ad9b0(0x2d3)][_0x3ad9b0(0x339)](_0x27f73a),this[_0x3ad9b0(0x3c5)][_0x3ad9b0(0x2ee)](_0x27f73a,_0x1fd691[_0x3ad9b0(0x1d5)]);}[_0x2be3c1(0x29f)](_0x3bb23d){const _0x458fbb=_0x3bb23d[0x0],_0x108fec=_0x458fbb[0x0],_0x4c3d85=_0x458fbb[0x2],{x:_0x495d9c,y:_0x3be380}=_0x108fec,{x:_0x21bc3f,y:_0x5f3960}=_0x4c3d85;return{'left':_0x495d9c,'top':_0x3be380,'width':_0x21bc3f-_0x495d9c,'height':_0x5f3960-_0x3be380};}[_0x2be3c1(0x19a)](){const _0x42c215=_0x2be3c1,{scaleX:_0x5c8d68,scaleY:_0x23b890}=this[_0x42c215(0x3c5)][_0x42c215(0x321)]();return Math[_0x42c215(0x234)](_0x5c8d68,_0x23b890);}}var _0x238c5b=Object[_0x2be3c1(0x393)],_0x4e2f40=(_0x295c0c,_0x2bfa96,_0x2764a0,_0x305ae5)=>{for(var _0xf4389c=_0x305ae5>0x1?void 0x0:_0x305ae5?_0x238c5b(_0x2bfa96,_0x2764a0):_0x2bfa96,_0x596fca=_0x295c0c['length']-0x1,_0x5bf4e1;_0x596fca>=0x0;_0x596fca--)(_0x5bf4e1=_0x295c0c[_0x596fca])&&(_0xf4389c=_0x5bf4e1(_0xf4389c)||_0xf4389c);return _0xf4389c;},_0x17a7d4=(_0x421036,_0x2fad8a)=>(_0x43e47b,_0x3dc354)=>_0x2fad8a(_0x43e47b,_0x3dc354,_0x421036);let _0x476e21=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x284bd6,_0x5805d3,_0x417316,_0x35624c,_0x2b4e31){const _0x3d29d2=_0x2be3c1;super(),_0x31ba17(this,'_cursorShapes',[]),_0x31ba17(this,_0x3d29d2(0x1ab),[]),(this[_0x3d29d2(0x3f7)]=_0x284bd6,this[_0x3d29d2(0x40c)]=_0x5805d3,this[_0x3d29d2(0x2c2)]=_0x417316,this[_0x3d29d2(0x243)]=_0x35624c,this[_0x3d29d2(0x250)]=_0x2b4e31,this[_0x3d29d2(0x43c)]());}[_0x2be3c1(0x43c)](){const _0x5e4d78=_0x2be3c1,_0x391172=this['_context'][_0x5e4d78(0x2b8)],_0x5292ce=this[_0x5e4d78(0x40c)];this[_0x5e4d78(0x3ee)](_0x3b0fae[_0x5e4d78(0x1b8)]([this[_0x5e4d78(0x2c2)]['getCollabCursors$'](_0x391172),this[_0x5e4d78(0x250)][_0x5e4d78(0x3c4)]])[_0x5e4d78(0x204)](_0x31a1bf[_0x5e4d78(0x22e)](([_0x28f3f9,_0x8af7fb])=>({'skeleton':_0x5292ce[_0x5e4d78(0x210)](),'cursors':[..._0x28f3f9['values']()][_0x5e4d78(0x340)](_0x4dba0c=>({..._0x4dba0c,'color':this['_themeService'][_0x5e4d78(0x1ed)](_0x4dba0c[_0x5e4d78(0x329)])}))})))[_0x5e4d78(0x1f2)](_0x111696=>{const _0x424914=_0x5e4d78;if(this[_0x424914(0x443)](),_0x111696){const {skeleton:_0x4f9e78,cursors:_0x3b994a}=_0x111696;this[_0x424914(0x411)](_0x4f9e78,_0x3b994a);}})),this[_0x5e4d78(0x27e)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x469985,_0x37e7ab){const _0xdb9e14=_0x2be3c1,{scene:_0x4b12e6,mainComponent:_0x362c16}=this[_0xdb9e14(0x3f7)],_0x3f0eba=_0x37e7ab[_0xdb9e14(0x22e)](_0x741421=>new _0x32d045(_0x741421,_0x4b12e6,_0x469985,_0x362c16));this[_0xdb9e14(0x454)]=_0x3f0eba,this[_0xdb9e14(0x1ab)]=_0x37e7ab;}['_refreshCollabCursors'](){const _0x3dceea=_0x2be3c1;this['_removeCollabCursors']();const {scene:_0x1eccbc,mainComponent:_0x2c2fb7}=this[_0x3dceea(0x3f7)],_0x59baee=this[_0x3dceea(0x40c)]['getSkeleton'](),_0x20d873=this['_cursors'][_0x3dceea(0x22e)](_0x27427f=>new _0x32d045(_0x27427f,_0x1eccbc,_0x59baee,_0x2c2fb7));this[_0x3dceea(0x454)]=_0x20d873;}[_0x2be3c1(0x443)](){const _0x361c84=_0x2be3c1;this['_cursorShapes'][_0x361c84(0x2cd)](_0x3aebdb=>_0x3aebdb[_0x361c84(0x1a4)]()),this[_0x361c84(0x454)]=[];}[_0x2be3c1(0x45d)](){const _0x56028a=_0x2be3c1,_0x1ea237=[_0x1fd691[_0x56028a(0x481)]['id']];this['disposeWithMe'](this[_0x56028a(0x243)]['onCommandExecuted'](_0x31f1b1=>{const _0xd5a787=_0x56028a;_0x1ea237[_0xd5a787(0x288)](_0x31f1b1['id'])&&_0x31f1b1[_0xd5a787(0x317)]['unitId']===this[_0xd5a787(0x3f7)]['unitId']&&this[_0xd5a787(0x2e6)]();}));}['_initResize'](){const _0x3d140f=_0x2be3c1;this['disposeWithMe'](_0x88db4d[_0x3d140f(0x31a)](this[_0x3d140f(0x3f7)][_0x3d140f(0x2d8)]['onTransformChange$'])[_0x3d140f(0x204)](_0x31a1bf[_0x3d140f(0x1e4)](_0x400a9a=>_0x400a9a[_0x3d140f(0x3bd)]===_0xe27d05[_0x3d140f(0x1c0)]['resize']),_0x31a1bf[_0x3d140f(0x2d1)](0x10))[_0x3d140f(0x1f2)](()=>{this['_refreshCollabCursors']();}));}};_0x476e21=_0x4e2f40([_0x17a7d4(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x3c0520['DocSkeletonManagerService'])),_0x17a7d4(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x2e3752)),_0x17a7d4(0x3,_0x88db4d[_0x2be3c1(0x355)]),_0x17a7d4(0x4,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['ThemeService']))],_0x476e21);const _0x5c9390=0x1,_0x50bf46=1.5;class _0x327c29 extends _0xe27d05[_0x2be3c1(0x1d4)]{constructor(_0x151b5e,_0x5d03f0){const _0x2944c3=_0x2be3c1;super(_0x151b5e,_0x5d03f0),_0x31ba17(this,'_color'),_0x31ba17(this,_0x2944c3(0x1e0),!0x1),_0x31ba17(this,_0x2944c3(0x232)),_0x31ba17(this,_0x2944c3(0x24e),''),_0x31ba17(this,_0x2944c3(0x305),_0x2944c3(0x47f)),_0x31ba17(this,_0x2944c3(0x289)),(_0x5d03f0&&this[_0x2944c3(0x1cc)](_0x5d03f0),this['onPointerEnter$'][_0x2944c3(0x41c)](()=>this[_0x2944c3(0x1cc)]({'hovered':!0x0})),this[_0x2944c3(0x424)]['subscribeEvent'](()=>this[_0x2944c3(0x1cc)]({'hovered':!0x1})));}[_0x2be3c1(0x1cc)](_0x2afdcc){const _0x23f24c=_0x2be3c1;var _0x3fce52,_0x21628b,_0x144ce4,_0x2b4958,_0x392486,_0x398f36;this[_0x23f24c(0x238)]=(_0x3fce52=_0x2afdcc[_0x23f24c(0x329)])!=null?_0x3fce52:this[_0x23f24c(0x238)],this[_0x23f24c(0x1e0)]=(_0x21628b=_0x2afdcc[_0x23f24c(0x478)])!=null?_0x21628b:this[_0x23f24c(0x1e0)],this[_0x23f24c(0x232)]=(_0x144ce4=_0x2afdcc[_0x23f24c(0x382)])!=null?_0x144ce4:this['_range'],this['_name']=(_0x2b4958=_0x2afdcc['name'])!=null?_0x2b4958:this[_0x23f24c(0x24e)],this['_labelPosition']=(_0x392486=_0x2afdcc[_0x23f24c(0x359)])!=null?_0x392486:this[_0x23f24c(0x305)],this[_0x23f24c(0x289)]=(_0x398f36=_0x2afdcc[_0x23f24c(0x27b)])!=null?_0x398f36:this[_0x23f24c(0x289)],this[_0x23f24c(0x3a5)]({'width':_0x2afdcc[_0x23f24c(0x194)],'height':_0x2afdcc['height']});}[_0x2be3c1(0x43d)](_0x755a31){const _0x144eb9=_0x2be3c1,{row:_0x59a3cd,column:_0x1789ac}=_0x755a31;if(_0x59a3cd>=this[_0x144eb9(0x232)][_0x144eb9(0x31f)]&&_0x59a3cd<=this[_0x144eb9(0x232)]['endRow']&&_0x1789ac>=this[_0x144eb9(0x232)]['startColumn']&&_0x1789ac<=this[_0x144eb9(0x232)][_0x144eb9(0x236)]){this[_0x144eb9(0x1cc)]({'hovered':!0x0});return;}this[_0x144eb9(0x1cc)]({'hovered':!0x1});}[_0x2be3c1(0x39a)](_0x8e31a7){return!0x1;}['_draw'](_0x11bab9){const _0x5aea28=_0x2be3c1;_0xe27d05[_0x5aea28(0x410)][_0x5aea28(0x31d)](_0x11bab9,{'width':this[_0x5aea28(0x194)],'height':this['height'],'strokeWidth':_0x50bf46,'stroke':this[_0x5aea28(0x238)],'evented':!0x1,'fill':this[_0x5aea28(0x289)]}),this[_0x5aea28(0x1e0)]&&(_0x11bab9[_0x5aea28(0x399)](),_0x11bab9['transform'](0x1,0x0,0x0,0x1,this[_0x5aea28(0x194)],this['_labelPosition']===_0x5aea28(0x30a)?0x0:-_0x2f70bb),_0x25aa55['drawWith'](_0x11bab9,{'text':this[_0x5aea28(0x24e)],'color':this['_color']}),_0x11bab9[_0x5aea28(0x38b)]());}}var _0x5c32b1=Object['getOwnPropertyDescriptor'],_0x1aabc3=(_0x1b61bc,_0x50bf62,_0x3337a6,_0x2cd520)=>{const _0x5e1851=_0x2be3c1;for(var _0x4f9a6d=_0x2cd520>0x1?void 0x0:_0x2cd520?_0x5c32b1(_0x50bf62,_0x3337a6):_0x50bf62,_0x3455a6=_0x1b61bc[_0x5e1851(0x413)]-0x1,_0x4cf3ac;_0x3455a6>=0x0;_0x3455a6--)(_0x4cf3ac=_0x1b61bc[_0x3455a6])&&(_0x4f9a6d=_0x4cf3ac(_0x4f9a6d)||_0x4f9a6d);return _0x4f9a6d;},_0x2a98fd=(_0x3f7173,_0xe8dfb8)=>(_0x1d07f4,_0x93397f)=>_0xe8dfb8(_0x1d07f4,_0x93397f,_0x3f7173);const _0x166ec6=0x1389;let _0x485669=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x4df274,_0x358e8b,_0x4f6cf6,_0x2b6f00){const _0x51b620=_0x2be3c1;super(),_0x31ba17(this,'_cursors',new Set()),_0x31ba17(this,_0x51b620(0x2a2),null),(this['_context']=_0x4df274,this[_0x51b620(0x461)]=_0x358e8b,this[_0x51b620(0x2c2)]=_0x4f6cf6,this[_0x51b620(0x250)]=_0x2b6f00,this[_0x51b620(0x43c)]());}[_0x2be3c1(0x43c)](){const _0x298b51=_0x2be3c1;this['_sheetSkeletonManagerService'][_0x298b51(0x485)][_0x298b51(0x204)](_0x31a1bf[_0x298b51(0x2d7)](this[_0x298b51(0x35b)]),_0x31a1bf[_0x298b51(0x3c8)](_0x11aec3=>{const _0x372797=_0x298b51;if(_0x11aec3){const _0x203005=_0x11aec3[_0x372797(0x3bf)];return _0x3b0fae['combineLatest'](this[_0x372797(0x2c2)][_0x372797(0x37f)](this[_0x372797(0x3f7)][_0x372797(0x2b8)]),this['_themeService']['currentTheme$'])[_0x372797(0x204)](_0x31a1bf[_0x372797(0x22e)](([_0x262f3a,_0x1ac309])=>{const _0x533257=_0x372797,_0x180f7a=new Map();return _0x262f3a[_0x533257(0x2cd)]((_0x1ed8d8,_0x35ff7e)=>{const _0x2c42f4=_0x533257;if(_0x1ed8d8['sheetID']===_0x203005){const _0x520f74={..._0x1ed8d8};_0x520f74[_0x2c42f4(0x329)]=this[_0x2c42f4(0x250)][_0x2c42f4(0x1ed)](_0x1ed8d8['color']),_0x180f7a[_0x2c42f4(0x2af)](_0x35ff7e,_0x520f74);}}),{'skeleton':_0x11aec3,'cursors':_0x180f7a};}));}return _0x3b0fae['of']({'skeleton':null,'cursors':new Map()});}))[_0x298b51(0x1f2)](({skeleton:_0x399a24,cursors:_0x43fc36})=>{const _0x55001e=_0x298b51;this[_0x55001e(0x443)](),_0x399a24&&this['_updateCollabCursors'](_0x399a24,_0x43fc36);}),this[_0x298b51(0x461)][_0x298b51(0x485)][_0x298b51(0x1f2)](_0x280616=>{const _0x43807d=_0x298b51;if(_0x280616==null)return;const {skeleton:_0x28e627}=_0x280616,{scene:_0x208c8b}=this['_context'];_0x208c8b[_0x43807d(0x3f5)][_0x43807d(0x41c)](_0x88db4d[_0x43807d(0x452)](_0x3c5517=>{const _0x4d7ea3=_0x43807d;var _0x2ce743,_0x109731;const {offsetX:_0x309f29,offsetY:_0x54d675}=_0x3c5517,{x:_0x256c75,y:_0x525127}=_0x208c8b[_0x4d7ea3(0x47e)](_0xe27d05['Vector2'][_0x4d7ea3(0x3f8)]([_0x309f29,_0x54d675])),{scaleX:_0x42eab,scaleY:_0x3368ea}=_0x208c8b[_0x4d7ea3(0x321)](),_0x2035ac=_0x208c8b['getViewport'](_0xe27d05[_0x4d7ea3(0x1b5)][_0x4d7ea3(0x36c)]),_0x4f549d=_0x208c8b[_0x4d7ea3(0x484)](_0xe27d05[_0x4d7ea3(0x43a)][_0x4d7ea3(0x3f8)]([_0x256c75,_0x525127]),_0x2035ac),_0x52ad7a=_0x28e627[_0x4d7ea3(0x19c)](_0x309f29,_0x54d675,_0x42eab,_0x3368ea,_0x4f549d);((_0x2ce743=this['_lastPointer'])==null?void 0x0:_0x2ce743[_0x4d7ea3(0x2a5)])===_0x52ad7a['column']&&((_0x109731=this['_lastPointer'])==null?void 0x0:_0x109731[_0x4d7ea3(0x483)])===_0x52ad7a['row']||this[_0x4d7ea3(0x1ab)]['forEach'](_0x46d534=>{_0x46d534['onMouseMove'](_0x52ad7a);});},0x64));});}[_0x2be3c1(0x411)](_0x1b4477,_0x1f55ef){const _0x3e1df2=_0x2be3c1;var _0x2d213d;const _0x48e5c0=(_0x2d213d=this[_0x3e1df2(0x461)][_0x3e1df2(0x1d3)]())==null?void 0x0:_0x2d213d[_0x3e1df2(0x1d6)];if(!_0x48e5c0)return;const _0x4c649f=this[_0x3e1df2(0x3f2)]();if(!_0x4c649f)return;this[_0x3e1df2(0x1ab)]['forEach'](_0x51ea81=>{const _0x113fe6=_0x3e1df2;_0x51ea81[_0x113fe6(0x205)]();});const {scene:_0x5951b9}=_0x4c649f,_0x2d5a95=_0xe1d537(Array['from'](_0x1f55ef[_0x3e1df2(0x2bc)]()))[_0x3e1df2(0x22e)](_0x247bfb=>{const _0x50c9dc=_0x3e1df2,{color:_0x1ce52f,range:_0x38ed72,name:_0x436c36,selection:_0x249852,sheetID:_0x1f138b}=_0x247bfb,{startColumn:_0xd56f4,startRow:_0x5f15b3,endColumn:_0x28beaa,endRow:_0x1f626b}=_0x38ed72,_0x35db1a=_0x309330[_0x50c9dc(0x480)](_0x5f15b3,_0xd56f4,_0x5951b9,_0x48e5c0),_0x317c7e=_0x309330[_0x50c9dc(0x480)](_0x1f626b,_0x28beaa,_0x5951b9,_0x48e5c0),{columnHeaderHeightAndMarginTop:_0x476bf1}=_0x48e5c0,{startX:_0x13a382,startY:_0xac1070}=_0x35db1a,{endX:_0x1ff5aa,endY:_0x52c12b}=_0x317c7e,_0x59e4cb=_0x1ff5aa-_0x13a382,_0x2bfb42=_0x52c12b-_0xac1070,_0x383201={'labelPosition':_0xac1070-_0x476bf1>=_0x2f70bb?_0x50c9dc(0x47f):'bottom','sheetID':_0x1f138b,'range':_0x38ed72,'color':_0x1ce52f,'name':_0x436c36,'selection':_0x249852,'left':_0x13a382,'top':_0xac1070,'width':_0x59e4cb,'height':_0x2bfb42,'evented':!0x1,'zIndex':_0x166ec6};return new _0x327c29(_0x436c36,_0x383201);});_0x5951b9[_0x3e1df2(0x322)](_0x2d5a95,_0x5c9390),this[_0x3e1df2(0x1ab)]=new Set(_0x2d5a95);}[_0x2be3c1(0x443)](){const _0x4d8f60=_0x2be3c1;var _0x278f69;(_0x278f69=this[_0x4d8f60(0x1ab)])==null||_0x278f69['forEach'](_0x100073=>_0x100073['dispose']());}[_0x2be3c1(0x3f2)](){const _0x2f950e=_0x2be3c1;return _0x309330[_0x2f950e(0x2ea)](this[_0x2f950e(0x3f7)][_0x2f950e(0x3e1)],this[_0x2f950e(0x3f7)]);}};_0x485669=_0x1aabc3([_0x2a98fd(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x309330[_0x2be3c1(0x3e3)])),_0x2a98fd(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x2e3752)),_0x2a98fd(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['ThemeService']))],_0x485669);function _0xe1d537(_0x4bbeb0){const _0x3b1432=_0x2be3c1,_0x596c30=new Map();return _0x4bbeb0['forEach'](_0x3fbe7f=>{const _0x4b0157=_0x4ca8;if(_0x596c30[_0x4b0157(0x235)](_0x3fbe7f[_0x4b0157(0x475)])){const _0x18dbb6=_0x596c30[_0x4b0157(0x489)](_0x3fbe7f[_0x4b0157(0x475)]);_0x18dbb6[_0x4b0157(0x429)]+=',\x20'+_0x3fbe7f[_0x4b0157(0x429)];}else _0x596c30[_0x4b0157(0x2af)](_0x3fbe7f[_0x4b0157(0x475)],_0x3fbe7f);}),Array[_0x3b1432(0x391)](_0x596c30[_0x3b1432(0x2bc)]());}var _0x116f64=Object['getOwnPropertyDescriptor'],_0xd6ade1=(_0xa5afcd,_0x197bde,_0x18c17e,_0x5c67ce)=>{const _0x101296=_0x2be3c1;for(var _0x5eba56=_0x5c67ce>0x1?void 0x0:_0x5c67ce?_0x116f64(_0x197bde,_0x18c17e):_0x197bde,_0x4ccce3=_0xa5afcd[_0x101296(0x413)]-0x1,_0x559278;_0x4ccce3>=0x0;_0x4ccce3--)(_0x559278=_0xa5afcd[_0x4ccce3])&&(_0x5eba56=_0x559278(_0x5eba56)||_0x5eba56);return _0x5eba56;},_0x48ddcf=(_0x5c72a2,_0x2f7982)=>(_0x4f63d9,_0x520512)=>_0x2f7982(_0x4f63d9,_0x520512,_0x5c72a2);let _0x489eee=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0xf7520,_0x371b7f,_0x1780e1,_0x47d738,_0x1a177f,_0x532e01){const _0xae9e27=_0x2be3c1;super(),this[_0xae9e27(0x1a5)]=_0xf7520,this[_0xae9e27(0x252)]=_0x371b7f,this[_0xae9e27(0x3b3)]=_0x1780e1,this[_0xae9e27(0x459)]=_0x47d738,this[_0xae9e27(0x280)]=_0x1a177f,this[_0xae9e27(0x1f3)]=_0x532e01,this[_0xae9e27(0x358)](),this[_0xae9e27(0x1f8)]();}['_setupBeforeClosingHandler'](){const _0x50b07b=_0x2be3c1;this['disposeWithMe'](this[_0x50b07b(0x1a5)][_0x50b07b(0x272)](()=>{const _0x4cdeb3=_0x50b07b;if(this[_0x4cdeb3(0x252)][_0x4cdeb3(0x3f4)][_0x4cdeb3(0x426)])return this[_0x4cdeb3(0x1f3)]['t'](_0x4cdeb3(0x2e8));}));}[_0x2be3c1(0x1f8)](){const _0x2d920f=_0x2be3c1;this[_0x2d920f(0x3ee)](this[_0x2d920f(0x3b3)][_0x2d920f(0x473)]['subscribe'](_0x306cb8=>{const _0xd2f95=_0x2d920f;_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x435)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x420))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)]['CLOSE_ROOM']&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this[_0xd2f95(0x1f3)]['t']('collaboration.closeRoom')}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x2cf)]&&this[_0xd2f95(0x280)][_0xd2f95(0x34c)]({'title':this['_localeService']['t'](_0xd2f95(0x404)),'content':this[_0xd2f95(0x1f3)]['t']('permission.content'),'type':_0xd2f95(0x383),'duration':0x0}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x282)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)]['Error'],'content':this['_localeService']['t'](_0xd2f95(0x365))+'('+_0x306cb8['data']+')'}),_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x375)]&&this[_0xd2f95(0x459)]['show']({'type':_0x37cc58[_0xd2f95(0x254)]['Warning'],'content':this['_localeService']['t'](_0x306cb8['data']||'')}),_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x2f8)]&&this[_0xd2f95(0x459)]['show']({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this['_localeService']['t'](_0xd2f95(0x42f))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)]['SOCKET_FAILED']&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x42a)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x3af))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x37e)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x42a)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x1be))});}));}};_0x489eee=_0xd6ade1([_0x48ddcf(0x0,_0x2ff57e[_0x2be3c1(0x42d)]),_0x48ddcf(0x1,_0x4cce40[_0x2be3c1(0x286)]),_0x48ddcf(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x32e)])),_0x48ddcf(0x3,_0x2ff57e[_0x2be3c1(0x1b2)]),_0x48ddcf(0x4,_0x2ff57e[_0x2be3c1(0x446)]),_0x48ddcf(0x5,_0x88db4d['Inject'](_0x88db4d['LocaleService']))],_0x489eee);var _0x58b8e2=Object[_0x2be3c1(0x393)],_0x63a29d=(_0x52fff3,_0xb23013,_0x26fb38,_0x5199ac)=>{const _0x513532=_0x2be3c1;for(var _0x4d259c=_0x5199ac>0x1?void 0x0:_0x5199ac?_0x58b8e2(_0xb23013,_0x26fb38):_0xb23013,_0xeda522=_0x52fff3[_0x513532(0x413)]-0x1,_0x5ea8f7;_0xeda522>=0x0;_0xeda522--)(_0x5ea8f7=_0x52fff3[_0xeda522])&&(_0x4d259c=_0x5ea8f7(_0x4d259c)||_0x4d259c);return _0x4d259c;},_0x393210=(_0x123c82,_0x3cbb55)=>(_0x5b5264,_0x4b4d08)=>_0x3cbb55(_0x5b5264,_0x4b4d08,_0x123c82);let _0x5ab0af=class extends _0x88db4d['Disposable']{constructor(_0x58adb3,_0x2ba179,_0xf941d,_0x1481cf){const _0x320332=_0x2be3c1;super(),_0x31ba17(this,'_memberID'),(this[_0x320332(0x363)]=_0x58adb3,this[_0x320332(0x1cd)]=_0x2ba179,this[_0x320332(0x1ee)]=_0xf941d,this['_collaborationSessionService']=_0x1481cf,this[_0x320332(0x43c)]());}['_init'](){const _0x2330cb=_0x2be3c1;this['_initWindowErrorListener'](),this[_0x2330cb(0x2fe)](),this[_0x2330cb(0x42e)](),this[_0x2330cb(0x2da)]();}[_0x2be3c1(0x2da)](){const _0x6751fb=_0x2be3c1;this['disposeWithMe'](this[_0x6751fb(0x195)][_0x6751fb(0x46b)][_0x6751fb(0x1f2)](_0x3ab1aa=>{const _0x4de683=_0x6751fb;this[_0x4de683(0x21d)]=_0x3ab1aa==null?void 0x0:_0x3ab1aa['memberID'];}));}[_0x2be3c1(0x3e8)](){const _0x257c3a=_0x2be3c1,_0x490a9c=_0x59f430=>{const _0x3dd610=_0x4ca8;var _0x53f756;this[_0x3dd610(0x425)]('error',_0x3dd610(0x246)+_0x59f430[_0x3dd610(0x2a3)]+_0x3dd610(0x18d)+_0x59f430[_0x3dd610(0x416)]+':'+_0x59f430['lineno']+':'+_0x59f430[_0x3dd610(0x3d6)]+'\x0a'+(((_0x53f756=_0x59f430[_0x3dd610(0x383)])==null?void 0x0:_0x53f756[_0x3dd610(0x438)])||''));};window[_0x257c3a(0x3d0)](_0x257c3a(0x383),_0x490a9c),this[_0x257c3a(0x3ee)](()=>{const _0xb725c1=_0x257c3a;window[_0xb725c1(0x18c)](_0xb725c1(0x383),_0x490a9c);});}[_0x2be3c1(0x2fe)](){const _0x41265a=_0x2be3c1,_0x348606=_0x371544=>{const _0x43dc30=_0x4ca8;this[_0x43dc30(0x425)](_0x43dc30(0x383),'[Unhandled\x20Rejection]:\x20'+_0x371544['reason']);};window['addEventListener'](_0x41265a(0x1f4),_0x348606),this[_0x41265a(0x3ee)](()=>{const _0x106ffb=_0x41265a;window[_0x106ffb(0x18c)](_0x106ffb(0x1f4),_0x348606);});}['_monkeyPatchLogService'](){const _0x169796=_0x2be3c1,_0x2a3105=this['_logService'][_0x169796(0x383)][_0x169796(0x2aa)](this[_0x169796(0x1ee)]);this['_logService'][_0x169796(0x383)]=(..._0x30b827)=>{const _0x28f2a7=_0x169796,_0x1cdcc3=_0x30b827[_0x28f2a7(0x22e)](_0x153f35=>_0x153f35 instanceof Error?_0x153f35[_0x28f2a7(0x2a3)]+'\x0a'+_0x153f35[_0x28f2a7(0x438)]:String(_0x153f35))[_0x28f2a7(0x3a2)]('\x20');this['_uploadLog'](_0x28f2a7(0x383),_0x28f2a7(0x30c)+_0x1cdcc3),_0x2a3105(..._0x30b827);},this[_0x169796(0x3ee)](()=>{this['_logService']['error']=_0x2a3105;});}[_0x2be3c1(0x425)](_0x6b36a3,_0x5805df){const _0x4ed269=_0x2be3c1;try{const _0x584596={'userId':this[_0x4ed269(0x21d)],'logLabel':_0x6b36a3,'content':_0x5805df};this[_0x4ed269(0x1cd)][_0x4ed269(0x28c)](_0x4ed269(0x381),{'body':_0x584596})[_0x4ed269(0x2ff)](()=>{});}catch{}}};_0x5ab0af=_0x63a29d([_0x393210(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x393210(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe[_0x2be3c1(0x21b)])),_0x393210(0x2,_0x88db4d['ILogService']),_0x393210(0x3,_0x88db4d['Inject'](_0x4cce40['CollaborationSessionService']))],_0x5ab0af);const _0x5d13e6=_0x2be3c1(0x2b7),_0x4f9c2d={};var _0x4077e7=Object[_0x2be3c1(0x393)],_0x445486=(_0x4f436d,_0x5cd58c,_0x224de4,_0x1bbc80)=>{for(var _0xb1fd4e=_0x1bbc80>0x1?void 0x0:_0x1bbc80?_0x4077e7(_0x5cd58c,_0x224de4):_0x5cd58c,_0x4fc3e5=_0x4f436d['length']-0x1,_0x4a2a1a;_0x4fc3e5>=0x0;_0x4fc3e5--)(_0x4a2a1a=_0x4f436d[_0x4fc3e5])&&(_0xb1fd4e=_0x4a2a1a(_0xb1fd4e)||_0xb1fd4e);return _0xb1fd4e;},_0x3871b1=(_0x6778c7,_0x5e275c)=>(_0x4ca5d2,_0x5863b4)=>_0x5e275c(_0x4ca5d2,_0x5863b4,_0x6778c7);let _0xf4bf8f=class{constructor(_0x27f545,_0x56e3dc){const _0x38c33b=_0x2be3c1;this[_0x38c33b(0x46d)]=_0x27f545,this['_renderManagerService']=_0x56e3dc;}[_0x2be3c1(0x34f)](_0x4dbd18){const _0x34a707=_0x2be3c1;this[_0x34a707(0x351)](_0x4dbd18),this[_0x34a707(0x374)](_0x4dbd18);}[_0x2be3c1(0x224)](_0x201b0f){const _0x29abed=_0x2be3c1,{unitID:_0x51fb5f}=_0x201b0f,_0x16ad06=this[_0x29abed(0x3b5)][_0x29abed(0x44d)](_0x51fb5f)['with'](_0x1fd691[_0x29abed(0x190)]),{redoCache:_0x1681b8}=_0x16ad06[_0x29abed(0x3c7)]();if(_0x1681b8[_0x29abed(0x413)]===0x0)return _0x201b0f;let _0x3c2872=_0x88db4d[_0x29abed(0x26b)][_0x29abed(0x19e)](_0x201b0f[_0x29abed(0x2f4)][0x0]);for(let _0x3fd846=0x0;_0x3fd846<_0x1681b8['length'];_0x3fd846++){const _0xdeb576={'id':_0x29abed(0x198),'params':{..._0x1681b8[_0x3fd846]}},_0x34fea9=this[_0x29abed(0x46d)][_0x29abed(0x255)](_0x3c2872,_0xdeb576,!0x1);if(_0x28fbb0[_0x29abed(0x440)](_0x34fea9))throw _0x34fea9[_0x29abed(0x383)];_0x3c2872=_0x34fea9[_0x29abed(0x29e)];}return{..._0x88db4d[_0x29abed(0x26b)]['deepClone'](_0x201b0f),'mutations':[_0x3c2872]};}[_0x2be3c1(0x351)](_0x4f8aab){const _0x1edf7c=_0x2be3c1,{unitID:_0x1951df}=_0x4f8aab,_0x38f40e=this[_0x1edf7c(0x3b5)][_0x1edf7c(0x44d)](_0x1951df)[_0x1edf7c(0x23a)](_0x1fd691[_0x1edf7c(0x190)]),{undoCache:_0x17b7a2,redoCache:_0x5e5044}=_0x38f40e['getUndoRedoMutationParamsCache']();if(_0x17b7a2[_0x1edf7c(0x413)]===0x0||_0x5e5044[_0x1edf7c(0x413)]===0x0)return;const _0x266bba=[],_0x4228ab=[];let _0x278ab4=_0x88db4d[_0x1edf7c(0x26b)][_0x1edf7c(0x19e)](_0x4f8aab[_0x1edf7c(0x2f4)][0x0]),_0x409cbb=_0x88db4d[_0x1edf7c(0x26b)][_0x1edf7c(0x19e)](_0x4f8aab[_0x1edf7c(0x2f4)][0x0]);for(let _0x50a3e2=_0x17b7a2['length']-0x1;_0x50a3e2>=0x0;_0x50a3e2--){const _0x4c99f3={'id':_0x1edf7c(0x198),'params':{..._0x17b7a2[_0x50a3e2]}},_0x3945a8={'id':'doc.mutation.rich-text-editing','params':{..._0x5e5044[_0x50a3e2]}},_0x222c4e=this[_0x1edf7c(0x46d)][_0x1edf7c(0x255)](_0x278ab4,_0x4c99f3,!0x1),_0x5a4f6d=this['_transformService']['transformMutation'](_0x409cbb,_0x3945a8,!0x1);if(_0x28fbb0['isTransformMutationFailure'](_0x222c4e))throw _0x222c4e[_0x1edf7c(0x383)];if(_0x28fbb0['isTransformMutationFailure'](_0x5a4f6d))throw _0x5a4f6d['error'];_0x266bba[_0x1edf7c(0x36a)](_0x222c4e[_0x1edf7c(0x27c)][_0x1edf7c(0x317)]),_0x4228ab[_0x1edf7c(0x36a)](_0x5a4f6d[_0x1edf7c(0x27c)]['params']),_0x278ab4=_0x222c4e[_0x1edf7c(0x29e)],_0x409cbb=_0x5a4f6d[_0x1edf7c(0x29e)];}_0x38f40e[_0x1edf7c(0x37c)]({'undoCache':_0x266bba,'redoCache':_0x4228ab});}[_0x2be3c1(0x374)](_0x50e7f0){const _0x11eae0=_0x2be3c1,{unitID:_0x75a2b4}=_0x50e7f0,_0x441f9c=this['_renderManagerService']['getRenderById'](_0x75a2b4)['with'](_0x1fd691[_0x11eae0(0x190)]),_0x5afef2=_0x441f9c['getActiveRange']();if(_0x5afef2==null)return;const _0x4295ca=[{'id':_0x11eae0(0x198),'params':{'unitId':_0x50e7f0['unitID'],'actions':null,'textRanges':[_0x5afef2]}}],_0x4c1c3f=this[_0x11eae0(0x46d)]['transformMutationsWithChangeset'](_0x50e7f0,_0x4295ca);if(!_0x28fbb0[_0x11eae0(0x41e)](_0x4c1c3f))throw _0x4c1c3f[_0x11eae0(0x383)];const _0xbd86a5=_0x4c1c3f['m2Prime'][0x0][_0x11eae0(0x317)][_0x11eae0(0x28d)];Array[_0x11eae0(0x360)](_0xbd86a5)&&_0xbd86a5[_0x11eae0(0x413)]&&_0x441f9c['setActiveRange'](_0xbd86a5[0x0]);}};_0xf4bf8f=_0x445486([_0x3871b1(0x0,_0x28fbb0[_0x2be3c1(0x1f5)]),_0x3871b1(0x1,_0xe27d05['IRenderManagerService'])],_0xf4bf8f);var _0x5c6111=Object[_0x2be3c1(0x393)],_0x13c426=(_0x48f53f,_0x5b0fb5,_0x4f8aaf,_0x416795)=>{const _0x444d38=_0x2be3c1;for(var _0x29102f=_0x416795>0x1?void 0x0:_0x416795?_0x5c6111(_0x5b0fb5,_0x4f8aaf):_0x5b0fb5,_0x3b560f=_0x48f53f[_0x444d38(0x413)]-0x1,_0x33c334;_0x3b560f>=0x0;_0x3b560f--)(_0x33c334=_0x48f53f[_0x3b560f])&&(_0x29102f=_0x33c334(_0x29102f)||_0x29102f);return _0x29102f;},_0x5c32b0=(_0x21aa35,_0x196eb4)=>(_0x2184c5,_0xea38c)=>_0x196eb4(_0x2184c5,_0xea38c,_0x21aa35);let _0xf420a0=class{constructor(_0x5f412c,_0x202676,_0x2351f6){const _0x221ebe=_0x2be3c1;this[_0x221ebe(0x363)]=_0x5f412c,this['_transformService']=_0x202676,this[_0x221ebe(0x2f0)]=_0x2351f6;}[_0x2be3c1(0x294)](_0x46718f){const _0x2b48d0=_0x2be3c1;this[_0x2b48d0(0x40e)](_0x46718f);}[_0x2be3c1(0x224)](_0x922693){const _0x1b9eda=_0x2be3c1,{unitID:_0x4c7b90}=_0x922693,{collaboration:_0x590fcd}=this[_0x1b9eda(0x2f0)][_0x1b9eda(0x35e)](_0x4c7b90);if(_0x590fcd[_0x1b9eda(0x413)]===0x0)return _0x922693;let _0xb1b165=_0x88db4d[_0x1b9eda(0x26b)][_0x1b9eda(0x19e)](_0x922693[_0x1b9eda(0x2f4)][0x0]);for(let _0x5ac517=0x0;_0x5ac517<_0x590fcd[_0x1b9eda(0x413)];_0x5ac517++){const _0x28f77c={'id':_0x1b9eda(0x198),'params':{'unitId':_0x590fcd[_0x5ac517][_0x1b9eda(0x2b8)],..._0x590fcd[_0x5ac517][_0x1b9eda(0x369)]}},_0x1af7a5=this[_0x1b9eda(0x46d)]['transformMutation'](_0xb1b165,_0x28f77c,!0x1);if(_0x28fbb0[_0x1b9eda(0x440)](_0x1af7a5))throw _0x1af7a5['error'];_0xb1b165=_0x1af7a5[_0x1b9eda(0x29e)];}return{..._0x88db4d['Tools']['deepClone'](_0x922693),'mutations':[_0xb1b165]};}[_0x2be3c1(0x40e)](_0x10a56f){const _0x1ad5cc=_0x2be3c1,{unitID:_0x3190a6}=_0x10a56f,{history:_0x2d2cd6,collaboration:_0x3221a2}=this[_0x1ad5cc(0x2f0)][_0x1ad5cc(0x35e)](_0x3190a6);if(_0x2d2cd6[_0x1ad5cc(0x413)]===0x0&&_0x3221a2['length']===0x0)return;const _0x214ad4=[],_0xa82eea=[];let _0x30a567=_0x88db4d['Tools'][_0x1ad5cc(0x19e)](_0x10a56f[_0x1ad5cc(0x2f4)][0x0]),_0x520945=_0x88db4d[_0x1ad5cc(0x26b)]['deepClone'](_0x10a56f[_0x1ad5cc(0x2f4)][0x0]);for(let _0x105394=_0x2d2cd6[_0x1ad5cc(0x413)]-0x1;_0x105394>=0x0;_0x105394--){const _0x550a11={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x2d2cd6[_0x105394]['unitId'],..._0x2d2cd6[_0x105394][_0x1ad5cc(0x276)]}},_0x3c3b6b={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x2d2cd6[_0x105394][_0x1ad5cc(0x2b8)],..._0x2d2cd6[_0x105394][_0x1ad5cc(0x369)]}},_0x27740d=this[_0x1ad5cc(0x46d)][_0x1ad5cc(0x255)](_0x30a567,_0x550a11,!0x1),_0x2ecd96=this[_0x1ad5cc(0x46d)][_0x1ad5cc(0x255)](_0x520945,_0x3c3b6b,!0x1);if(_0x28fbb0[_0x1ad5cc(0x440)](_0x27740d))throw _0x27740d[_0x1ad5cc(0x383)];if(_0x28fbb0[_0x1ad5cc(0x440)](_0x2ecd96))throw _0x2ecd96[_0x1ad5cc(0x383)];_0x214ad4[_0x1ad5cc(0x36a)]({..._0x2d2cd6[_0x105394],'undoState':_0x27740d[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)],'redoState':_0x2ecd96[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)]}),_0x30a567=_0x27740d['m1Prime'],_0x520945=_0x2ecd96[_0x1ad5cc(0x29e)];}_0x30a567=_0x88db4d[_0x1ad5cc(0x26b)][_0x1ad5cc(0x19e)](_0x10a56f['mutations'][0x0]),_0x520945=_0x88db4d[_0x1ad5cc(0x26b)]['deepClone'](_0x10a56f['mutations'][0x0]);for(let _0x2074b7=_0x3221a2[_0x1ad5cc(0x413)]-0x1;_0x2074b7>=0x0;_0x2074b7--){const _0x45c164={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x3221a2[_0x2074b7][_0x1ad5cc(0x2b8)],..._0x3221a2[_0x2074b7][_0x1ad5cc(0x276)]}},_0x1cf319={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x3221a2[_0x2074b7][_0x1ad5cc(0x2b8)],..._0x3221a2[_0x2074b7][_0x1ad5cc(0x369)]}},_0x731ce8=this[_0x1ad5cc(0x46d)]['transformMutation'](_0x30a567,_0x45c164,!0x1),_0x4f48d9=this['_transformService']['transformMutation'](_0x520945,_0x1cf319,!0x1);if(_0x28fbb0[_0x1ad5cc(0x440)](_0x731ce8))throw _0x731ce8['error'];if(_0x28fbb0[_0x1ad5cc(0x440)](_0x4f48d9))throw _0x4f48d9['error'];_0xa82eea[_0x1ad5cc(0x36a)]({..._0x3221a2[_0x2074b7],'undoState':_0x731ce8[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)],'redoState':_0x4f48d9[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)]}),_0x30a567=_0x731ce8['m1Prime'],_0x520945=_0x4f48d9[_0x1ad5cc(0x29e)];}this['_docStateChangeManagerService'][_0x1ad5cc(0x1a1)](_0x3190a6,{'history':_0x214ad4,'collaboration':_0xa82eea});}};_0xf420a0=_0x13c426([_0x5c32b0(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0x5c32b0(0x1,_0x28fbb0[_0x2be3c1(0x1f5)]),_0x5c32b0(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x1fd691[_0x2be3c1(0x242)]))],_0xf420a0);var _0x4ba42a=Object[_0x2be3c1(0x393)],_0x3f362a=(_0x47b21c,_0x392480,_0x2986a7,_0x5b628b)=>{const _0x27eaca=_0x2be3c1;for(var _0x2c4f6a=_0x5b628b>0x1?void 0x0:_0x5b628b?_0x4ba42a(_0x392480,_0x2986a7):_0x392480,_0x1b022e=_0x47b21c[_0x27eaca(0x413)]-0x1,_0x26afad;_0x1b022e>=0x0;_0x1b022e--)(_0x26afad=_0x47b21c[_0x1b022e])&&(_0x2c4f6a=_0x26afad(_0x2c4f6a)||_0x2c4f6a);return _0x2c4f6a;},_0x141c25=(_0x481f7a,_0x5b81a0)=>(_0x968ebe,_0x3c8119)=>_0x5b81a0(_0x968ebe,_0x3c8119,_0x481f7a);let _0x3f33b5=class{constructor(_0x1b3834,_0x59d056){const _0x2a78c9=_0x2be3c1;this['_injector']=_0x1b3834,this[_0x2a78c9(0x46d)]=_0x59d056;}[_0x2be3c1(0x39e)](_0x299c51){const _0x2d2e92=_0x2be3c1;var _0x233494;const _0x8fb980=this[_0x2d2e92(0x363)][_0x2d2e92(0x489)](_0x3c0520[_0x2d2e92(0x41a)]),_0x50047e=(_0x233494=_0x8fb980[_0x2d2e92(0x3ed)]())!=null?_0x233494:[];if(_0x50047e[_0x2d2e92(0x413)]===0x0)return;const _0xb4d9b3=_0x299c51['unitID'],_0xc860a9=[{'id':_0x2d2e92(0x198),'params':{'unitId':_0xb4d9b3,'actions':null,'textRanges':_0x50047e}}],_0x53d5b1=this[_0x2d2e92(0x46d)][_0x2d2e92(0x3d9)](_0x299c51,_0xc860a9);if(!_0x28fbb0[_0x2d2e92(0x41e)](_0x53d5b1))throw _0x53d5b1[_0x2d2e92(0x383)];const _0x4d001f=_0x53d5b1['m2Prime'][0x0][_0x2d2e92(0x317)]['textRanges'];Array[_0x2d2e92(0x360)](_0x4d001f)&&_0x4d001f['length']&&_0x8fb980['replaceDocRanges'](_0x4d001f,{'unitId':_0xb4d9b3,'subUnitId':_0xb4d9b3},!0x1);}};_0x3f33b5=_0x3f362a([_0x141c25(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x141c25(0x1,_0x28fbb0[_0x2be3c1(0x1f5)])],_0x3f33b5);var _0x5b5e0c=Object[_0x2be3c1(0x393)],_0x5cf6e5=(_0x5a3dbd,_0x302eea,_0x4c8b44,_0x16cc3d)=>{for(var _0x5e8cc2=_0x16cc3d>0x1?void 0x0:_0x16cc3d?_0x5b5e0c(_0x302eea,_0x4c8b44):_0x302eea,_0x3e3474=_0x5a3dbd['length']-0x1,_0xb38621;_0x3e3474>=0x0;_0x3e3474--)(_0xb38621=_0x5a3dbd[_0x3e3474])&&(_0x5e8cc2=_0xb38621(_0x5e8cc2)||_0x5e8cc2);return _0x5e8cc2;},_0x98ee06=(_0x5b0273,_0x45c50d)=>(_0x2ee540,_0x2d0147)=>_0x45c50d(_0x2ee540,_0x2d0147,_0x5b0273);let _0x1527d5=class extends _0x88db4d['Disposable']{constructor(_0x514b82,_0x291966,_0x50e463,_0x1a7aa8,_0x539da0,_0x38ae26,_0xa0e65,_0x4f495c){const _0x350b53=_0x2be3c1;super(),_0x31ba17(this,_0x350b53(0x199),new _0x3b0fae['BehaviorSubject'](_0x4cce40[_0x350b53(0x202)][_0x350b53(0x323)])),(this[_0x350b53(0x2f0)]=_0x514b82,this[_0x350b53(0x301)]=_0x291966,this[_0x350b53(0x445)]=_0x50e463,this[_0x350b53(0x397)]=_0x1a7aa8,this[_0x350b53(0x41d)]=_0x539da0,this[_0x350b53(0x292)]=_0x38ae26,this[_0x350b53(0x459)]=_0xa0e65,this[_0x350b53(0x1f3)]=_0x4f495c,this['_initEntityListener']());}[_0x2be3c1(0x267)](){const _0x54595d=_0x2be3c1;this['disposeWithMe'](this[_0x54595d(0x301)][_0x54595d(0x26e)][_0x54595d(0x1f2)](_0x115364=>{const _0x177cbb=_0x54595d,_0xea6e0b=this['_docStateChangeManagerService'][_0x177cbb(0x1a2)]['subscribe'](_0x5633dd=>{const _0x17f6b9=_0x177cbb;if(_0x5633dd==null)return;const {unitId:_0x73c9fc,redoState:_0x2740df,commandId:_0x243357}=_0x5633dd;if(_0x73c9fc!==_0x115364['unitID'])return;const _0x31e19b={'id':_0x243357,'type':_0x88db4d[_0x17f6b9(0x19d)][_0x17f6b9(0x38e)],'params':{'unitId':_0x73c9fc,'actions':_0x2740df[_0x17f6b9(0x418)],'textRanges':null}};_0x115364[_0x17f6b9(0x19f)](_0x31e19b);});if(_0x115364[_0x177cbb(0x3ee)](_0xea6e0b),_0x115364 instanceof _0x4cce40[_0x177cbb(0x453)]){const _0x5eb864={'onTransformIME':_0xbbef6f=>this[_0x177cbb(0x445)][_0x177cbb(0x34f)](_0xbbef6f),'onTransformState':_0x112d37=>this[_0x177cbb(0x397)][_0x177cbb(0x294)](_0x112d37),'onTransformSelections':_0x438ef3=>this[_0x177cbb(0x41d)][_0x177cbb(0x39e)](_0x438ef3),'onSyncEditingCollabCursor':_0x4e477f=>this[_0x177cbb(0x292)][_0x177cbb(0x1d1)](_0x4e477f),'onTransformRemoteChangesetByIMECache':_0x53444c=>this['_docTransformIMECacheService'][_0x177cbb(0x224)](_0x53444c),'onTransformRemoteChangesetByStateCache':_0x1e8782=>this['_docTransformStateCacheService'][_0x177cbb(0x224)](_0x1e8782)};_0x115364['addHandlerCallback'](_0x5eb864);}}));}};_0x1527d5=_0x5cf6e5([_0x98ee06(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x1fd691[_0x2be3c1(0x242)])),_0x98ee06(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x330)])),_0x98ee06(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0xf4bf8f)),_0x98ee06(0x3,_0x88db4d['Inject'](_0xf420a0)),_0x98ee06(0x4,_0x88db4d[_0x2be3c1(0x2b1)](_0x3f33b5)),_0x98ee06(0x5,_0x88db4d[_0x2be3c1(0x2b1)](_0x5ae914)),_0x98ee06(0x6,_0x2ff57e['IMessageService']),_0x98ee06(0x7,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x368)]))],_0x1527d5);var _0x518652=(_0x533918=>(_0x533918[_0x533918['UNDEFINED']=0x0]=_0x2be3c1(0x295),_0x533918[_0x533918['OK']=0x1]='OK',_0x533918[_0x533918['INTERNAL_ERROR']=0x2]=_0x2be3c1(0x460),_0x533918[_0x533918[_0x2be3c1(0x2cf)]=0x3]=_0x2be3c1(0x2cf),_0x533918[_0x533918['NOT_FOUND']=0x4]='NOT_FOUND',_0x533918[_0x533918['UNAUTHENTICATED']=0x5]=_0x2be3c1(0x2fd),_0x533918[_0x533918[_0x2be3c1(0x1e1)]=0x6]=_0x2be3c1(0x1e1),_0x533918[_0x533918['INVALID_ARGUMENT']=0x7]=_0x2be3c1(0x398),_0x533918[_0x533918['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x533918[_0x533918[_0x2be3c1(0x18e)]=0x9]=_0x2be3c1(0x18e),_0x533918[_0x533918[_0x2be3c1(0x455)]=0xa]=_0x2be3c1(0x455),_0x533918[_0x533918[_0x2be3c1(0x3b2)]=0xb]=_0x2be3c1(0x3b2),_0x533918[_0x533918['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2be3c1(0x309),_0x533918[_0x533918[_0x2be3c1(0x1fd)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x533918[_0x533918['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x533918[_0x533918[_0x2be3c1(0x3a0)]=0xf]=_0x2be3c1(0x3a0),_0x533918[_0x533918[_0x2be3c1(0x278)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x533918[_0x533918[_0x2be3c1(0x464)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x533918[_0x533918[_0x2be3c1(0x1c5)]=0x65]=_0x2be3c1(0x1c5),_0x533918[_0x533918[_0x2be3c1(0x28e)]=0xc9]=_0x2be3c1(0x28e),_0x533918[_0x533918[_0x2be3c1(0x406)]=0xca]='USER_IS_ANONYMOUS',_0x533918[_0x533918['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2be3c1(0x3ca),_0x533918[_0x533918[_0x2be3c1(0x3cf)]=0x1771]=_0x2be3c1(0x3cf),_0x533918[_0x533918[_0x2be3c1(0x212)]=0x1772]=_0x2be3c1(0x212),_0x533918[_0x533918['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2be3c1(0x1de),_0x533918[_0x533918[_0x2be3c1(0x1ff)]=0x1b59]=_0x2be3c1(0x1ff),_0x533918[_0x533918[_0x2be3c1(0x1ad)]=0x1b5a]=_0x2be3c1(0x1ad),_0x533918[_0x533918[_0x2be3c1(0x25d)]=0x1b5b]=_0x2be3c1(0x25d),_0x533918[_0x533918[_0x2be3c1(0x422)]=0x1b5c]=_0x2be3c1(0x422),_0x533918[_0x533918['APPLY_DUPLICATED']=0x1b5d]=_0x2be3c1(0x20a),_0x533918[_0x533918['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2be3c1(0x3eb),_0x533918[_0x533918[_0x2be3c1(0x373)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x533918[_0x533918['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x533918[_0x533918[_0x2be3c1(0x419)]=0x232b]=_0x2be3c1(0x419),_0x533918[_0x533918[_0x2be3c1(0x3ad)]=0x232c]=_0x2be3c1(0x3ad),_0x533918[_0x533918[_0x2be3c1(0x192)]=0x232d]=_0x2be3c1(0x192),_0x533918[_0x533918[_0x2be3c1(0x30e)]=0x2711]=_0x2be3c1(0x30e),_0x533918[_0x533918['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2be3c1(0x34d),_0x533918[_0x533918[_0x2be3c1(0x462)]=0x2713]=_0x2be3c1(0x462),_0x533918[_0x533918[_0x2be3c1(0x319)]=0x2714]=_0x2be3c1(0x319),_0x533918[_0x533918[_0x2be3c1(0x1ea)]=0x271a]=_0x2be3c1(0x1ea),_0x533918[_0x533918[_0x2be3c1(0x2d4)]=0x271b]=_0x2be3c1(0x2d4),_0x533918[_0x533918[_0x2be3c1(0x45f)]=0x271c]=_0x2be3c1(0x45f),_0x533918[_0x533918['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2be3c1(0x3ef),_0x533918[_0x533918[_0x2be3c1(0x364)]=0x271e]=_0x2be3c1(0x364),_0x533918[_0x533918[_0x2be3c1(0x2eb)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x533918[_0x533918['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2be3c1(0x20c),_0x533918[_0x533918[_0x2be3c1(0x1ef)]=0x2af9]=_0x2be3c1(0x1ef),_0x533918[_0x533918[_0x2be3c1(0x21f)]=0x2ee1]=_0x2be3c1(0x21f),_0x533918[_0x533918[_0x2be3c1(0x43f)]=0x2ee2]=_0x2be3c1(0x43f),_0x533918[_0x533918[_0x2be3c1(0x20d)]=0x2ee3]=_0x2be3c1(0x20d),_0x533918[_0x533918[_0x2be3c1(0x45c)]=0x2ee4]=_0x2be3c1(0x45c),_0x533918[_0x533918[_0x2be3c1(0x3ac)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x533918[_0x533918[_0x2be3c1(0x2bf)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x533918[_0x533918[_0x2be3c1(0x2c8)]=0x32ca]=_0x2be3c1(0x2c8),_0x533918[_0x533918['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2be3c1(0x259),_0x533918[_0x533918['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x2be3c1(0x2d5),_0x533918[_0x533918['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x2be3c1(0x265),_0x533918[_0x533918[_0x2be3c1(0x333)]=0x36b3]=_0x2be3c1(0x333),_0x533918[_0x533918[_0x2be3c1(0x341)]=0x36b4]=_0x2be3c1(0x341),_0x533918[_0x533918[_0x2be3c1(0x18a)]=0x36b5]=_0x2be3c1(0x18a),_0x533918[_0x533918['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x2be3c1(0x44f),_0x533918[_0x533918[_0x2be3c1(0x43b)]=0x36b7]=_0x2be3c1(0x43b),_0x533918[_0x533918['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x533918[_0x533918[_0x2be3c1(0x1b9)]=0x3715]=_0x2be3c1(0x1b9),_0x533918[_0x533918[_0x2be3c1(0x1ac)]=0x3716]=_0x2be3c1(0x1ac),_0x533918[_0x533918['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x533918[_0x533918[_0x2be3c1(0x392)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x533918[_0x533918[_0x2be3c1(0x221)]=0x3a99]=_0x2be3c1(0x221),_0x533918[_0x533918[_0x2be3c1(0x209)]=0x3a9a]=_0x2be3c1(0x209),_0x533918[_0x533918['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x2be3c1(0x2fb),_0x533918[_0x533918[_0x2be3c1(0x2c4)]=0x3a9c]=_0x2be3c1(0x2c4),_0x533918[_0x533918['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x2be3c1(0x376),_0x533918[_0x533918['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2be3c1(0x2c7),_0x533918[_0x533918['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x2be3c1(0x266),_0x533918[_0x533918[_0x2be3c1(0x1dc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x533918[_0x533918['UNRECOGNIZED']=-0x1]=_0x2be3c1(0x3ba),_0x533918))(_0x518652||{});function _0x31ea8c(_0xb5ea33){const _0x57e656=_0x2be3c1;var _0x374bb4,_0x52ed88;const _0x31239b=(_0x374bb4=_0xb5ea33['stageInfo'])==null?void 0x0:_0x374bb4[_0x57e656(0x487)],_0x4a7792=((_0x52ed88=_0xb5ea33[_0x57e656(0x1f7)])==null?void 0x0:_0x52ed88['totalFormulasToCalculate'])||0x0;return _0x31239b===_0x52fd75[_0x57e656(0x1bf)][_0x57e656(0x3da)]&&_0x4a7792>0x0;}function _0x472f0d(_0x44ec68){const _0x4c2918=_0x2be3c1;return _0x44ec68[_0x4c2918(0x241)]===_0x52fd75[_0x4c2918(0x239)][_0x4c2918(0x430)];}var _0x34db8e=Object[_0x2be3c1(0x393)],_0x58201a=(_0x1525fa,_0x40edaa,_0x19c4eb,_0x37a0d8)=>{for(var _0xcfb802=_0x37a0d8>0x1?void 0x0:_0x37a0d8?_0x34db8e(_0x40edaa,_0x19c4eb):_0x40edaa,_0x390c2d=_0x1525fa['length']-0x1,_0x2403cf;_0x390c2d>=0x0;_0x390c2d--)(_0x2403cf=_0x1525fa[_0x390c2d])&&(_0xcfb802=_0x2403cf(_0xcfb802)||_0xcfb802);return _0xcfb802;},_0x203b18=(_0x31e544,_0x84c5a)=>(_0x5ce274,_0x11d8c2)=>_0x84c5a(_0x5ce274,_0x11d8c2,_0x31e544);const _0x15f328=_0x2be3c1(0x1db),_0x30d5d1=_0x2be3c1(0x219),_0x83496a=_0x2be3c1(0x386);let _0x33f734=class extends _0x88db4d['Disposable']{constructor(_0x3c0603,_0x264262,_0x44dffa,_0x6ab2c8,_0xf0a2a0,_0x23998c,_0x175da0){const _0x41ae10=_0x2be3c1;super(),_0x31ba17(this,_0x41ae10(0x30f),null),_0x31ba17(this,_0x41ae10(0x353),0x0),_0x31ba17(this,_0x41ae10(0x3d5),0x0),_0x31ba17(this,_0x41ae10(0x2ba),[]),_0x31ba17(this,_0x41ae10(0x2b0),0x0),(this[_0x41ae10(0x459)]=_0x3c0603,this['_commandService']=_0x264262,this[_0x41ae10(0x213)]=_0x44dffa,this['_httpService']=_0x6ab2c8,this[_0x41ae10(0x1b7)]=_0xf0a2a0,this[_0x41ae10(0x1ee)]=_0x23998c,this['_localeService']=_0x175da0,this[_0x41ae10(0x324)]());}['_initCommandInterceptor'](){const _0xb51c52=_0x2be3c1;this['disposeWithMe'](this[_0xb51c52(0x243)]['beforeCommandExecuted']((_0x45aff2,_0x24c308)=>{const _0x262602=_0xb51c52;var _0x380add;if(_0x45aff2['id']!==_0x52fd75[_0x262602(0x465)]['id'])return;const _0xcdf3e9=_0x45aff2[_0x262602(0x317)];if(!this['_hasFormulaInDirtyRanges']((_0x380add=_0xcdf3e9[_0x262602(0x281)])!=null?_0x380add:[]))return;if(!this[_0x262602(0x201)]())throw this['_checkAndWaitForCalculationPermission'](_0x45aff2,_0x24c308),this['_showGuardMessage'](),new _0x88db4d[(_0x262602(0x314))]();})),this[_0xb51c52(0x3ee)](this[_0xb51c52(0x243)][_0xb51c52(0x1b3)]((_0x35400a,_0x4896fd)=>{const _0x49da2f=_0xb51c52;if(_0x35400a['id']!==_0x52fd75[_0x49da2f(0x1bb)]['id'])return;const _0x34ec66=_0x35400a['params'];if(_0x31ea8c(_0x34ec66)){const _0x4bb47e=_0x88db4d[_0x49da2f(0x335)]();this[_0x49da2f(0x2ba)]['push'](_0x4bb47e),this[_0x49da2f(0x3d4)](_0x4bb47e);}else{if(_0x472f0d(_0x34ec66)&&this[_0x49da2f(0x2ba)][_0x49da2f(0x413)]>0x0){const _0x157ef9=this['_taskIds'][_0x49da2f(0x1e5)]();this[_0x49da2f(0x269)](_0x157ef9);}}}));}[_0x2be3c1(0x1a4)](){const _0x80ddfd=_0x2be3c1;super[_0x80ddfd(0x1a4)](),this[_0x80ddfd(0x26c)](),this[_0x80ddfd(0x2ba)]=[],this['_currentUsage']=0x0,this[_0x80ddfd(0x353)]=0x0,this[_0x80ddfd(0x2b0)]=0x0;}async[_0x2be3c1(0x2e9)](_0x3957c0,_0x3033fd){const _0x5aa30a=_0x2be3c1;for(let _0x3e90b9=0x0;_0x3e90b9<0x1e;_0x3e90b9++)try{if(await this[_0x5aa30a(0x350)](),this[_0x5aa30a(0x201)]()){this[_0x5aa30a(0x2b9)](_0x3957c0,_0x3033fd),this['_messageService']['show']({'content':this[_0x5aa30a(0x1f3)]['t'](_0x5aa30a(0x214)),'type':_0x37cc58[_0x5aa30a(0x254)]['Success']});return;}await new Promise(_0x2a7bd4=>{const _0x2887b3=_0x5aa30a;this[_0x2887b3(0x30f)]=window[_0x2887b3(0x44c)](_0x2a7bd4,0x3e8);});}catch(_0x1be50d){this[_0x5aa30a(0x1ee)][_0x5aa30a(0x383)](_0x1be50d);}this[_0x5aa30a(0x459)]['show']({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x37cc58[_0x5aa30a(0x254)][_0x5aa30a(0x42a)]});}['_applyCommand'](_0x53fd85,_0xd6df17){const _0x355770=_0x2be3c1;try{this[_0x355770(0x243)][_0x355770(0x33c)](_0x53fd85['id'],_0x53fd85[_0x355770(0x317)],_0xd6df17);}catch(_0x1c6bf7){this[_0x355770(0x1ee)]['error'](_0x1c6bf7);}}[_0x2be3c1(0x3a6)](_0x2d4b80,_0x4e3bf1){const _0x14d0a4=_0x2be3c1;_0x4e3bf1<this['_lastResponseTimestamp']||(this[_0x14d0a4(0x2b0)]=_0x4e3bf1,this[_0x14d0a4(0x353)]=Number[_0x14d0a4(0x1ce)](_0x2d4b80[_0x14d0a4(0x325)]),this[_0x14d0a4(0x3d5)]=Number[_0x14d0a4(0x1ce)](_0x2d4b80[_0x14d0a4(0x3c2)]));}async[_0x2be3c1(0x3d4)](_0x3cd11c){const _0xf24591=_0x2be3c1;var _0x34a6a7,_0xf75c4b;const _0x3d8549=Date[_0xf24591(0x1cf)]();try{const _0x4f57cb=((_0x34a6a7=this[_0xf24591(0x213)]['getConfig'](_0x4cce40[_0xf24591(0x1a8)]))==null?void 0x0:_0x34a6a7[_0xf24591(0x31b)])||_0x30d5d1,_0x29f28b=(await this['_httpService'][_0xf24591(0x28c)](_0x4f57cb,{'body':JSON['stringify']({'taskId':_0x3cd11c})}))[_0xf24591(0x35c)];if(((_0xf75c4b=_0x29f28b[_0xf24591(0x383)])==null?void 0x0:_0xf75c4b[_0xf24591(0x2c0)])!==_0x518652['OK'])return;this['_setFormulaLimitStatus'](_0x29f28b[_0xf24591(0x38f)],_0x3d8549);}catch(_0x5b69d6){this[_0xf24591(0x1ee)]['error'](_0x5b69d6);}}async[_0x2be3c1(0x350)](_0x1952a7){const _0x96f080=_0x2be3c1;var _0x550038,_0x2eee26;const _0x11c3bf=Date[_0x96f080(0x1cf)]();try{const _0x2f5476=((_0x550038=this[_0x96f080(0x213)]['getConfig'](_0x4cce40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x550038['getformulaLimitStatusUrl'])||_0x15f328,_0x58e641=_0x1952a7?_0x2f5476+_0x96f080(0x189)+encodeURIComponent(_0x1952a7):_0x2f5476,_0x30520e=(await this[_0x96f080(0x1cd)][_0x96f080(0x489)](_0x58e641))[_0x96f080(0x35c)];if(((_0x2eee26=_0x30520e[_0x96f080(0x383)])==null?void 0x0:_0x2eee26[_0x96f080(0x2c0)])!==_0x518652['OK'])return;this['_setFormulaLimitStatus'](_0x30520e[_0x96f080(0x38f)],_0x11c3bf);}catch(_0x5e6607){this[_0x96f080(0x1ee)]['error'](_0x5e6607);}}async[_0x2be3c1(0x269)](_0x3744a4){const _0xc73b39=_0x2be3c1;var _0x2e97e,_0x5c85db;const _0x19c536=Date[_0xc73b39(0x1cf)]();try{const _0x1f4c3=((_0x2e97e=this[_0xc73b39(0x213)]['getConfig'](_0x4cce40[_0xc73b39(0x1a8)]))==null?void 0x0:_0x2e97e['releaseFormulaLimitUrl'])||_0x83496a,_0x3262e3=(await this[_0xc73b39(0x1cd)][_0xc73b39(0x28c)](_0x1f4c3,{'body':JSON[_0xc73b39(0x231)]({'taskId':_0x3744a4})}))[_0xc73b39(0x35c)];if(((_0x5c85db=_0x3262e3['error'])==null?void 0x0:_0x5c85db[_0xc73b39(0x2c0)])!==_0x518652['OK'])return;this[_0xc73b39(0x3a6)](_0x3262e3[_0xc73b39(0x38f)],_0x19c536);}catch(_0x190a1c){this[_0xc73b39(0x1ee)][_0xc73b39(0x383)](_0x190a1c);}}[_0x2be3c1(0x201)](){const _0x10c221=_0x2be3c1;return this[_0x10c221(0x353)]===0x0?!0x0:this[_0x10c221(0x353)]-this[_0x10c221(0x3d5)]>0x0;}['_clearPolling'](){const _0x365b04=_0x2be3c1;this[_0x365b04(0x30f)]&&(clearTimeout(this['_pollingInterval']),this[_0x365b04(0x30f)]=null);}[_0x2be3c1(0x439)](){const _0x238ff3=_0x2be3c1;this[_0x238ff3(0x459)]['show']({'content':this[_0x238ff3(0x1f3)]['t'](_0x238ff3(0x1e6)),'type':_0x37cc58['MessageType'][_0x238ff3(0x3fa)]});}[_0x2be3c1(0x32a)](_0x2208e8){const _0x527b82=_0x2be3c1;for(const _0x55aa8d of _0x2208e8){const {unitId:_0x2a48ec,sheetId:_0x18b248,range:_0x1ea3d5}=_0x55aa8d,_0x5359d4=this['_univerInstanceService']['getUnit'](_0x2a48ec);if(!_0x5359d4)continue;const _0x3a33d6=_0x5359d4['getSheetBySheetId'](_0x18b248);if(!_0x3a33d6)continue;const _0x16ca17=_0x3a33d6[_0x527b82(0x46f)]();for(let _0x33bd45=_0x1ea3d5['startRow'];_0x33bd45<=_0x1ea3d5[_0x527b82(0x32d)];_0x33bd45++)for(let _0x18f2a8=_0x1ea3d5[_0x527b82(0x40b)];_0x18f2a8<=_0x1ea3d5[_0x527b82(0x236)];_0x18f2a8++){const _0x4da119=_0x16ca17[_0x527b82(0x21e)](_0x33bd45,_0x18f2a8);if(_0x4da119&&(_0x88db4d[_0x527b82(0x3ff)](_0x4da119['f'])||_0x88db4d['isFormulaId'](_0x4da119['si'])))return!0x0;}}return!0x1;}};_0x33f734=_0x58201a([_0x203b18(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x2ff57e[_0x2be3c1(0x1b2)])),_0x203b18(0x1,_0x88db4d[_0x2be3c1(0x355)]),_0x203b18(0x2,_0x88db4d[_0x2be3c1(0x24a)]),_0x203b18(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe[_0x2be3c1(0x21b)])),_0x203b18(0x4,_0x88db4d[_0x2be3c1(0x43e)]),_0x203b18(0x5,_0x88db4d[_0x2be3c1(0x193)]),_0x203b18(0x6,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x368)]))],_0x33f734);var _0x521f44=Object[_0x2be3c1(0x393)],_0x18fb13=(_0x54378c,_0x536443,_0x1d174f,_0x29fda3)=>{for(var _0x3649ad=_0x29fda3>0x1?void 0x0:_0x29fda3?_0x521f44(_0x536443,_0x1d174f):_0x536443,_0x224b26=_0x54378c['length']-0x1,_0x5ecb66;_0x224b26>=0x0;_0x224b26--)(_0x5ecb66=_0x54378c[_0x224b26])&&(_0x3649ad=_0x5ecb66(_0x3649ad)||_0x3649ad);return _0x3649ad;},_0x41d411=(_0x24819d,_0x21b1bd)=>(_0x1d484b,_0x1598ae)=>_0x21b1bd(_0x1d484b,_0x1598ae,_0x24819d);let _0x8c1091=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x3a182b,_0x21ed1a,_0x5346ba){const _0xeb382a=_0x2be3c1;super(),_0x31ba17(this,_0xeb382a(0x191),new Map()),_0x31ba17(this,_0xeb382a(0x384),new Map()),_0x31ba17(this,'_disabled',!0x1),(this[_0xeb382a(0x213)]=_0x3a182b,this[_0xeb382a(0x206)]=_0x21ed1a,this[_0xeb382a(0x342)]=_0x5346ba);}[_0x2be3c1(0x3d1)](){const _0x3c2e98=_0x2be3c1;this[_0x3c2e98(0x400)]=!0x0;}[_0x2be3c1(0x2ab)](){const _0x4db3cb=_0x2be3c1;this[_0x4db3cb(0x400)]=!0x1;}get['saveTaskMap'](){const _0x3ec998=_0x2be3c1;return this[_0x3ec998(0x384)];}['dispose'](){const _0x3aebdc=_0x2be3c1;this['exhaustSavingTask']()[_0x3aebdc(0x38a)](()=>super[_0x3aebdc(0x1a4)]());}async[_0x2be3c1(0x33e)](_0x1576e5){const _0x1ff948=_0x2be3c1;return this[_0x1ff948(0x400)]?null:this[_0x1ff948(0x206)][_0x1ff948(0x3dd)](_0x4cce40[_0x1ff948(0x1c9)](_0x1576e5));}async[_0x2be3c1(0x208)](_0x649080,_0x1e16c2){const _0x41d89e=_0x2be3c1;return!!this[_0x41d89e(0x206)][_0x41d89e(0x2bb)](_0x649080,_0x1e16c2);}[_0x2be3c1(0x3ec)](_0x5c9bfa,_0x5321aa,_0x587d57,_0x281e48){const _0x70b699=_0x2be3c1,_0x30fc50=this[_0x70b699(0x342)][_0x70b699(0x230)](_0x5c9bfa);this[_0x70b699(0x191)][_0x70b699(0x2af)](_0x5c9bfa,{'unitID':_0x5c9bfa,'type':_0x5321aa,'awaitingChangeset':_0x587d57,'mutations':_0x281e48,'rev':_0x30fc50}),this[_0x70b699(0x384)][_0x70b699(0x235)](_0x5c9bfa)||this[_0x70b699(0x2cc)](_0x5c9bfa);}['_scheduleSaving'](_0x3e94fb){const _0x284c75=_0x2be3c1,_0x1a9eaf=this[_0x284c75(0x434)]();_0x1a9eaf===0x0?this['_saveCache'](_0x3e94fb):this[_0x284c75(0x384)]['set'](_0x3e94fb,setTimeout(()=>this[_0x284c75(0x488)](_0x3e94fb),_0x1a9eaf));}[_0x2be3c1(0x434)](){const _0x27b02=_0x2be3c1;var _0xda102b;return(_0xda102b=this[_0x27b02(0x213)][_0x27b02(0x1ec)](_0x4cce40[_0x27b02(0x470)]))!=null?_0xda102b:_0x4cce40[_0x27b02(0x211)];}[_0x2be3c1(0x488)](_0x4a8b28){const _0x573254=_0x2be3c1,_0xed0d89=this[_0x573254(0x384)][_0x573254(0x489)](_0x4a8b28);return _0xed0d89!==void 0x0&&window[_0x573254(0x2ad)](_0xed0d89),this[_0x573254(0x206)][_0x573254(0x2bb)](_0x4cce40[_0x573254(0x1c9)](_0x4a8b28),this[_0x573254(0x191)][_0x573254(0x489)](_0x4a8b28))[_0x573254(0x38a)](()=>this[_0x573254(0x384)][_0x573254(0x3e0)](_0x4a8b28));}async[_0x2be3c1(0x3d8)](){const _0x4e3878=_0x2be3c1,_0x184b6c=[];this[_0x4e3878(0x384)][_0x4e3878(0x2cd)]((_0x375296,_0x47f86e)=>{const _0x1c520b=_0x4e3878;window['clearTimeout'](_0x375296),_0x184b6c[_0x1c520b(0x339)](this[_0x1c520b(0x488)](_0x47f86e)[_0x1c520b(0x38a)](()=>{const _0x393ecf=_0x1c520b;this[_0x393ecf(0x384)][_0x393ecf(0x3e0)](_0x47f86e);}));}),await Promise[_0x4e3878(0x337)](_0x184b6c);}};_0x8c1091=_0x18fb13([_0x41d411(0x0,_0x88db4d[_0x2be3c1(0x24a)]),_0x41d411(0x1,_0x88db4d[_0x2be3c1(0x1f0)]),_0x41d411(0x2,_0x88db4d['Inject'](_0x28fbb0[_0x2be3c1(0x336)]))],_0x8c1091);class _0x513617 extends _0x88db4d['RxDisposable']{constructor(){const _0x31bac8=_0x2be3c1;super(),_0x31ba17(this,_0x31bac8(0x39f)),this[_0x31bac8(0x39f)]=_0x3b0fae['fromEvent'](window,_0x31bac8(0x436))[_0x31bac8(0x204)](_0x3b0fae['takeUntil'](this[_0x31bac8(0x35b)]),_0x3b0fae[_0x31bac8(0x388)](0x1),_0x3b0fae['mapTo'](void 0x0));}[_0x2be3c1(0x433)](_0x47e78a,_0x3924a7,_0x491b56=!0x1){const _0xe33dab=_0x2be3c1,_0x3b684a=new URL(window['location'][_0xe33dab(0x273)]);_0x3b684a[_0xe33dab(0x326)][_0xe33dab(0x2af)](_0x47e78a,_0x3924a7),_0x491b56?window[_0xe33dab(0x3a8)][_0xe33dab(0x451)]('','',_0x3b684a['toString']()):window[_0xe33dab(0x3a8)][_0xe33dab(0x415)]('','',_0x3b684a[_0xe33dab(0x268)]());}['removeParam'](_0xeb8193,_0x2cb38b=!0x1){const _0x21445f=_0x2be3c1,_0x503384=new URL(window[_0x21445f(0x291)][_0x21445f(0x273)]);_0x503384[_0x21445f(0x326)]['delete'](_0xeb8193),_0x2cb38b?window[_0x21445f(0x3a8)]['replaceState']('','',_0x503384[_0x21445f(0x268)]()):window[_0x21445f(0x3a8)][_0x21445f(0x415)]('','',_0x503384[_0x21445f(0x268)]());}[_0x2be3c1(0x223)](_0x29d4c8){const _0x1d5e8c=_0x2be3c1;var _0x25954a;return(_0x25954a=new URL(window['location']['href'])[_0x1d5e8c(0x326)]['get'](_0x29d4c8))!=null?_0x25954a:void 0x0;}}var _0x3b9316=Object[_0x2be3c1(0x275)],_0x5b650c=Object[_0x2be3c1(0x393)],_0x3d229a=(_0x5d668f,_0x54e88a,_0x1e1609)=>_0x54e88a in _0x5d668f?_0x3b9316(_0x5d668f,_0x54e88a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e1609}):_0x5d668f[_0x54e88a]=_0x1e1609,_0x46dcdf=(_0x3b6f03,_0x43bc6f,_0x1eb44c,_0x320520)=>{for(var _0x1a38b2=_0x320520>0x1?void 0x0:_0x320520?_0x5b650c(_0x43bc6f,_0x1eb44c):_0x43bc6f,_0x1bce8e=_0x3b6f03['length']-0x1,_0x7f6a0a;_0x1bce8e>=0x0;_0x1bce8e--)(_0x7f6a0a=_0x3b6f03[_0x1bce8e])&&(_0x1a38b2=_0x7f6a0a(_0x1a38b2)||_0x1a38b2);return _0x1a38b2;},_0xc76b7c=(_0x508e4c,_0x7a1300)=>(_0x99b94d,_0x5c3897)=>_0x7a1300(_0x99b94d,_0x5c3897,_0x508e4c),_0x1b6d10=(_0x1a5afb,_0x370d40,_0x1c3769)=>_0x3d229a(_0x1a5afb,_0x370d40+'',_0x1c3769);const _0x59e002=_0x2be3c1(0x28b);_0x37e3f4[_0x2be3c1(0x1a7)]=class extends _0x88db4d[_0x2be3c1(0x448)]{constructor(_0x37188a=_0x4f9c2d,_0x186cd1,_0xc9c1fe,_0x48970d){const _0x1adbae=_0x2be3c1;super(),this[_0x1adbae(0x357)]=_0x37188a,this[_0x1adbae(0x3b5)]=_0x186cd1,this[_0x1adbae(0x363)]=_0xc9c1fe,this[_0x1adbae(0x213)]=_0x48970d;const {..._0x64aaef}=_0x88db4d[_0x1adbae(0x21c)]({},_0x4f9c2d,this['_config']);this[_0x1adbae(0x213)][_0x1adbae(0x409)](_0x5d13e6,_0x64aaef);}['onStarting'](){const _0x1d3a43=_0x2be3c1;this[_0x1d3a43(0x44e)](),this[_0x1d3a43(0x396)]();}[_0x2be3c1(0x229)](){const _0x5f216f=_0x2be3c1;this[_0x5f216f(0x316)]();}[_0x2be3c1(0x44e)](){const _0x3f9626=_0x2be3c1;var _0x4e795c;const _0x2191ef=[[_0x469c3c],[_0x33f734],[_0x3f33b5],[_0xf4bf8f],[_0xf420a0],[_0x5ae914],[_0x58bcf2,{'useClass':_0x513617}],[_0x37abfe[_0x3f9626(0x30b)],{'useClass':_0x37abfe[_0x3f9626(0x3bb)]}],[_0x4cce40[_0x3f9626(0x286)],{'useClass':_0x8c1091}],[_0x37e3f4['DesktopCollaborationStatusDisplayController']],[_0x1527d5],[_0x489eee],[_0x2e3752],[_0x53cf70],[_0x37e3f4['CollaborationDataLoaderController']]];this['_config']['enableFrontendLog']&&_0x2191ef[_0x3f9626(0x339)]([_0x5ab0af]),_0x88db4d[_0x3f9626(0x2c9)](this[_0x3f9626(0x363)],_0x88db4d[_0x3f9626(0x1ca)](_0x2191ef,(_0x4e795c=this['_config'])==null?void 0x0:_0x4e795c[_0x3f9626(0x283)]));}[_0x2be3c1(0x316)](){const _0x19ec79=_0x2be3c1;this['disposeWithMe'](this['_renderManagerService'][_0x19ec79(0x225)](_0x88db4d[_0x19ec79(0x403)][_0x19ec79(0x44b)],[_0x476e21])),this[_0x19ec79(0x3ee)](this['_renderManagerService'][_0x19ec79(0x225)](_0x88db4d[_0x19ec79(0x403)]['UNIVER_SHEET'],[_0x485669]));}['_initDependencies'](){const _0x135695=_0x2be3c1;_0x88db4d['touchDependencies'](this[_0x135695(0x363)],[[_0x2e3752],[_0x37e3f4[_0x135695(0x46e)]],[_0x1527d5],[_0x489eee],[_0x37e3f4[_0x135695(0x343)]],[_0x33f734]]),this[_0x135695(0x357)][_0x135695(0x240)]&&_0x88db4d[_0x135695(0x40d)](this[_0x135695(0x363)],[[_0x5ab0af]]);}},_0x1b6d10(_0x37e3f4[_0x2be3c1(0x1a7)],_0x2be3c1(0x2fc),_0x59e002),_0x37e3f4[_0x2be3c1(0x1a7)]=_0x46dcdf([_0x88db4d[_0x2be3c1(0x2a4)](_0x4cce40[_0x2be3c1(0x401)]),_0xc76b7c(0x1,_0xe27d05[_0x2be3c1(0x306)]),_0xc76b7c(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0xc76b7c(0x3,_0x88db4d[_0x2be3c1(0x24a)])],_0x37e3f4[_0x2be3c1(0x1a7)]);var _0x7d5e97=Object[_0x2be3c1(0x393)],_0x3a5924=(_0xac25d7,_0x557e62,_0x5bbe82,_0x33423e)=>{const _0x553cba=_0x2be3c1;for(var _0x39c452=_0x33423e>0x1?void 0x0:_0x33423e?_0x7d5e97(_0x557e62,_0x5bbe82):_0x557e62,_0x4f3792=_0xac25d7[_0x553cba(0x413)]-0x1,_0x5267ad;_0x4f3792>=0x0;_0x4f3792--)(_0x5267ad=_0xac25d7[_0x4f3792])&&(_0x39c452=_0x5267ad(_0x39c452)||_0x39c452);return _0x39c452;},_0x475aeb=(_0x367833,_0x5d72f6)=>(_0x87da93,_0x43b697)=>_0x5d72f6(_0x87da93,_0x43b697,_0x367833);_0x37e3f4[_0x2be3c1(0x28a)]=class extends _0x4cce40[_0x2be3c1(0x24b)]{constructor(_0x1a51a3,_0x4bd79e,_0x4c417b,_0x51fb81,_0x45010c){super(_0x1a51a3,_0x4bd79e,_0x4c417b,_0x51fb81,_0x45010c);}async[_0x2be3c1(0x308)](_0x221810){const _0x6501f7=_0x2be3c1,_0x3a21f3=await this['_getSessionTicket'](),_0x260fba=this[_0x6501f7(0x344)](_0x221810,_0x3a21f3);return this[_0x6501f7(0x18b)](_0x260fba);}[_0x2be3c1(0x344)](_0x1fc8ad,_0x2cb51a){const _0x413ed9=_0x2be3c1,_0x3a1298=typeof window>'u'?new URL(_0x1fc8ad):new URL(_0x1fc8ad,window[_0x413ed9(0x291)][_0x413ed9(0x253)]);_0x3a1298['searchParams'][_0x413ed9(0x2af)]('sessionTicket',_0x2cb51a);const _0x4f3c7e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x413ed9(0x291)][_0x413ed9(0x1af)]);return _0x4f3c7e[_0x413ed9(0x489)](_0x413ed9(0x1d0))&&_0x3a1298[_0x413ed9(0x326)][_0x413ed9(0x2af)](_0x413ed9(0x1d0),_0x4f3c7e[_0x413ed9(0x489)](_0x413ed9(0x1d0))),_0x3a1298[_0x413ed9(0x268)]();}async[_0x2be3c1(0x338)](){const _0x2d51ff=_0x2be3c1;var _0x3645a7,_0x5d0452,_0x3d06ad;const _0x1e6866=this[_0x2d51ff(0x213)][_0x2d51ff(0x1ec)](_0x4cce40[_0x2d51ff(0x1a8)]),_0x3a58ad=(_0x3645a7=_0x1e6866==null?void 0x0:_0x1e6866[_0x2d51ff(0x3e9)])!=null?_0x3645a7:_0x4cce40[_0x2d51ff(0x35f)];return(_0x3d06ad=(_0x5d0452=(await this[_0x2d51ff(0x1cd)][_0x2d51ff(0x489)](_0x3a58ad,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5d0452[_0x2d51ff(0x47b)])!=null?_0x3d06ad:'';}},_0x37e3f4[_0x2be3c1(0x28a)]=_0x3a5924([_0x475aeb(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x475aeb(0x1,_0x88db4d['Inject'](_0x37abfe[_0x2be3c1(0x21b)])),_0x475aeb(0x2,_0x88db4d[_0x2be3c1(0x24a)]),_0x475aeb(0x3,_0x88db4d[_0x2be3c1(0x193)]),_0x475aeb(0x4,_0x28fbb0[_0x2be3c1(0x271)])],_0x37e3f4[_0x2be3c1(0x28a)]);var _0xce0fd5=Object[_0x2be3c1(0x393)],_0x6aa6d0=(_0x2f1b26,_0x10796a,_0x2907de,_0xd7d8d8)=>{const _0x2919c4=_0x2be3c1;for(var _0x5c6a67=_0xd7d8d8>0x1?void 0x0:_0xd7d8d8?_0xce0fd5(_0x10796a,_0x2907de):_0x10796a,_0x4b4a72=_0x2f1b26[_0x2919c4(0x413)]-0x1,_0x5322ac;_0x4b4a72>=0x0;_0x4b4a72--)(_0x5322ac=_0x2f1b26[_0x4b4a72])&&(_0x5c6a67=_0x5322ac(_0x5c6a67)||_0x5c6a67);return _0x5c6a67;},_0x4dd39d=(_0x435e3a,_0x16575e)=>(_0x48eb37,_0x3e3e19)=>_0x16575e(_0x48eb37,_0x3e3e19,_0x435e3a);_0x37e3f4[_0x2be3c1(0x3ab)]=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x4fb336,_0x37591f,_0x3c268d){const _0x2f755b=_0x2be3c1;super(),this['_instanceService']=_0x4fb336,this['_httpService']=_0x37591f,this[_0x2f755b(0x213)]=_0x3c268d;}async[_0x2be3c1(0x372)](_0x113a43,_0x5b4250,_0x10451d,..._0x18c6a5){const _0x421b48=_0x2be3c1;var _0x22ad06,_0x19216e,_0x3f51b5,_0x5cfb55;const _0x30ef10=this['_instanceService'][_0x421b48(0x3c1)]();if(!_0x30ef10)throw new Error(_0x421b48(0x20e));const _0xe4ca1d=((_0x22ad06=this[_0x421b48(0x213)][_0x421b48(0x1ec)](_0x4cce40[_0x421b48(0x3c9)]))!=null?_0x22ad06:_0x4cce40[_0x421b48(0x407)])+'/'+_0x113a43+'/run/'+_0x5b4250,_0x45e2a4=new URL(window[_0x421b48(0x291)][_0x421b48(0x273)]),_0x35b31e={'scriptId':_0x113a43,'runId':(_0x19216e=_0x45e2a4[_0x421b48(0x326)][_0x421b48(0x489)](_0x421b48(0x1d0)))!=null?_0x19216e:'','function':_0x5b4250,'unitId':_0x30ef10['getUnitId'](),'argsOfFunction':JSON[_0x421b48(0x231)](_0x18c6a5),'invokeId':(_0x3f51b5=_0x10451d['invokeId'])!=null?_0x3f51b5:'','executionId':(_0x5cfb55=_0x10451d[_0x421b48(0x47d)])!=null?_0x5cfb55:''};try{const _0x560a3d=await this[_0x421b48(0x1cd)][_0x421b48(0x28c)](_0xe4ca1d,{'body':_0x35b31e});return _0x560a3d['body']['error']&&_0x560a3d[_0x421b48(0x35c)]['error'][_0x421b48(0x2c0)]!==_0x518652['OK']?_0x421b48(0x3fd):_0x560a3d['body']['result'];}catch{return _0x421b48(0x3fd);}}},_0x37e3f4[_0x2be3c1(0x3ab)]=_0x6aa6d0([_0x4dd39d(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x4dd39d(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe['HTTPService'])),_0x4dd39d(0x2,_0x88db4d['IConfigService'])],_0x37e3f4[_0x2be3c1(0x3ab)]);const _0x52b9f6=0x7530,_0xfa5471=_0x2be3c1(0x3e2);class _0x2fbd7b extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(){const _0x3221e6=_0x2be3c1;super(),_0x31ba17(this,_0x3221e6(0x3a7),_0x88db4d[_0x3221e6(0x335)]()),_0x31ba17(this,_0x3221e6(0x320),new Set()),_0x31ba17(this,_0x3221e6(0x2b4),new Map()),_0x31ba17(this,'_heartbeatTimer',null),_0x31ba17(this,_0x3221e6(0x44a),new Map()),_0x31ba17(this,_0x3221e6(0x349),new Map()),this[_0x3221e6(0x43c)]();}[_0x2be3c1(0x1a4)](){const _0x10a09e=_0x2be3c1;super[_0x10a09e(0x1a4)](),this[_0x10a09e(0x44a)][_0x10a09e(0x2cd)]((_0x56470f,_0x330cd)=>this[_0x10a09e(0x421)](_0x330cd)),this[_0x10a09e(0x468)]&&window[_0x10a09e(0x1b0)](this[_0x10a09e(0x468)]);}[_0x2be3c1(0x20f)](_0x5f2134){const _0x5987c2=_0x2be3c1;return this['_ensureSubject'](_0x5f2134)[_0x5987c2(0x204)](_0x3b0fae[_0x5987c2(0x2d6)]());}['editingUnit'](_0xe6c715){const _0xeb5add=_0x2be3c1;this[_0xeb5add(0x320)][_0xeb5add(0x426)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0xeb5add(0x262)](_0xe6c715),this[_0xeb5add(0x21a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xe6c715],'isForwarded':!0x1});}['disposeUnit'](_0x5a34c5){const _0x2664da=_0x2be3c1;this[_0x2664da(0x320)][_0x2664da(0x3e0)](_0x5a34c5),this[_0x2664da(0x320)]['size']===0x0&&this[_0x2664da(0x468)]&&window[_0x2664da(0x1b0)](this[_0x2664da(0x468)]);}[_0x2be3c1(0x43c)](){const _0x2aa1ca=_0x2be3c1;this[_0x2aa1ca(0x3ee)](_0x88db4d['toDisposable'](_0x3b0fae[_0x2aa1ca(0x2e1)](window,_0x2aa1ca(0x3df))[_0x2aa1ca(0x1f2)](_0xa1fec4=>{const _0x1b59c3=_0x2aa1ca;if(_0xa1fec4['key']!==_0xfa5471||!_0xa1fec4[_0x1b59c3(0x2b5)])return;const _0x462bea=JSON[_0x1b59c3(0x2e4)](_0xa1fec4[_0x1b59c3(0x2b5)]);this[_0x1b59c3(0x1d7)](_0x462bea);}))),window[_0x2aa1ca(0x3d0)](_0x2aa1ca(0x23b),()=>this[_0x2aa1ca(0x21a)]({'type':0x1,'memberID':this[_0x2aa1ca(0x3a7)],'unitIDs':Array[_0x2aa1ca(0x391)](this[_0x2aa1ca(0x320)])}));}[_0x2be3c1(0x1d7)](_0x4d9631){const _0x270ce3=_0x2be3c1;switch(_0x4d9631[_0x270ce3(0x3bd)]){case 0x0:this[_0x270ce3(0x348)](_0x4d9631);break;case 0x1:this[_0x270ce3(0x449)](_0x4d9631);break;case 0x2:this[_0x270ce3(0x2de)](_0x4d9631);break;}}[_0x2be3c1(0x348)](_0x415fb1){const _0x3e0675=_0x2be3c1,{unitIDs:_0x2e2e3b,memberID:_0x2f4c30,isForwarded:_0x54d11b}=_0x415fb1;_0x2e2e3b[_0x3e0675(0x2cd)](_0x1f205a=>{const _0x702e7e=_0x3e0675;if(!_0x54d11b&&this['_unitOnClients'][_0x702e7e(0x235)](_0x1f205a)&&this[_0x702e7e(0x3a1)](_0x1f205a)['next'](_0x4cce40[_0x702e7e(0x23d)][_0x702e7e(0x215)]),!this[_0x702e7e(0x2b4)]['has'](_0x1f205a)||!this[_0x702e7e(0x2b4)][_0x702e7e(0x489)](_0x1f205a)[_0x702e7e(0x235)](_0x2f4c30)){const _0x146bee=this[_0x702e7e(0x2b4)][_0x702e7e(0x489)](_0x1f205a)||new Set();_0x146bee['add'](_0x2f4c30),this[_0x702e7e(0x2b4)][_0x702e7e(0x2af)](_0x1f205a,_0x146bee),this[_0x702e7e(0x2fa)](_0x2f4c30);}}),_0x54d11b||this[_0x3e0675(0x21a)]({'type':0x0,'memberID':this[_0x3e0675(0x3a7)],'unitIDs':[...this[_0x3e0675(0x320)]],'isForwarded':!0x0});}[_0x2be3c1(0x2fa)](_0x106dfa){const _0x387fae=_0x2be3c1;this[_0x387fae(0x421)](_0x106dfa);const _0xf10d82=window[_0x387fae(0x44c)](()=>{const _0x57abb3=_0x387fae;this[_0x57abb3(0x2b4)][_0x57abb3(0x2cd)](_0x5313b1=>{const _0x49985d=_0x57abb3;_0x5313b1[_0x49985d(0x3e0)](_0x106dfa);});},_0x52b9f6*0x2);this[_0x387fae(0x44a)][_0x387fae(0x2af)](_0x106dfa,_0xf10d82);}[_0x2be3c1(0x421)](_0x43bb5d){const _0x298530=_0x2be3c1;if(this[_0x298530(0x44a)]['has'](_0x43bb5d)){const _0xec0479=this[_0x298530(0x44a)][_0x298530(0x489)](_0x43bb5d);_0xec0479&&window[_0x298530(0x2ad)](_0xec0479),this[_0x298530(0x44a)][_0x298530(0x2af)](_0x43bb5d,null);}}[_0x2be3c1(0x449)](_0x570f5e){const _0x137db3=_0x2be3c1,{memberID:_0x14f013,unitIDs:_0x3e41b6}=_0x570f5e;_0x3e41b6[_0x137db3(0x2cd)](_0x36650b=>{const _0x182553=_0x137db3;var _0x598539;const _0x1767eb=this['_unitOnClients']['get'](_0x36650b);_0x1767eb&&(_0x1767eb[_0x182553(0x3e0)](_0x14f013),(_0x598539=this['_ensureSubject'](_0x36650b))==null||_0x598539['next'](_0x1767eb[_0x182553(0x426)]===0x0?_0x4cce40[_0x182553(0x23d)][_0x182553(0x256)]:_0x4cce40[_0x182553(0x23d)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x14f013);}[_0x2be3c1(0x2de)](_0x25c7eb){const _0x2a9f22=_0x2be3c1;this[_0x2a9f22(0x2fa)](_0x25c7eb[_0x2a9f22(0x442)]);}[_0x2be3c1(0x21a)](_0x5e837c){const _0x409ff2=_0x2be3c1;localStorage[_0x409ff2(0x2bb)](_0xfa5471,JSON['stringify'](_0x5e837c));}['_scheduleHeartbeat'](){const _0x272c95=_0x2be3c1;this[_0x272c95(0x468)]=window['setInterval'](()=>{const _0xca249c=_0x272c95;this[_0xca249c(0x21a)]({'type':0x2,'memberID':this[_0xca249c(0x3a7)]});},_0x52b9f6);}[_0x2be3c1(0x3a1)](_0x4d3ea7){const _0x2ea8fc=_0x2be3c1;return this[_0x2ea8fc(0x349)][_0x2ea8fc(0x235)](_0x4d3ea7)||this[_0x2ea8fc(0x349)][_0x2ea8fc(0x2af)](_0x4d3ea7,new _0x3b0fae[(_0x2ea8fc(0x3b8))](_0x4cce40[_0x2ea8fc(0x23d)][_0x2ea8fc(0x256)])),this[_0x2ea8fc(0x349)]['get'](_0x4d3ea7);}}_0x37e3f4[_0x2be3c1(0x3c6)]=_0x58bcf2,_0x37e3f4[_0x2be3c1(0x331)]=_0x327c29,_0x37e3f4['WebBrowserSingleActiveUnitService']=_0x2fbd7b,_0x37e3f4[_0x2be3c1(0x2f6)]=_0x513617,Object[_0x2be3c1(0x275)](_0x37e3f4,Symbol[_0x2be3c1(0x432)],{'value':_0x2be3c1(0x2e0)});}));
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
function
|
|
11
|
+
function _0x78b9(_0x21ef11,_0x4aad0d){_0x21ef11=_0x21ef11-0x19e;var _0xeafee7=_0xeafe();var _0x78b9c2=_0xeafee7[_0x21ef11];return _0x78b9c2;}(function(_0x58b66d,_0x5b6cb8){var _0x5dbb03=_0x78b9,_0x5ac208=_0x58b66d();while(!![]){try{var _0x139be0=-parseInt(_0x5dbb03(0x1a4))/0x1*(parseInt(_0x5dbb03(0x1ad))/0x2)+-parseInt(_0x5dbb03(0x1a1))/0x3+-parseInt(_0x5dbb03(0x1a7))/0x4+parseInt(_0x5dbb03(0x1a9))/0x5*(-parseInt(_0x5dbb03(0x1b0))/0x6)+-parseInt(_0x5dbb03(0x19e))/0x7+-parseInt(_0x5dbb03(0x1a8))/0x8+parseInt(_0x5dbb03(0x1ac))/0x9*(parseInt(_0x5dbb03(0x1a6))/0xa);if(_0x139be0===_0x5b6cb8)break;else _0x5ac208['push'](_0x5ac208['shift']());}catch(_0x57ea6f){_0x5ac208['push'](_0x5ac208['shift']());}}}(_0xeafe,0x61dc0),function(_0x539f7f,_0x1b16db){var _0x402b9a=_0x78b9;typeof exports=='object'&&typeof module<'u'?_0x1b16db(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x402b9a(0x1a5)&&define[_0x402b9a(0x1a0)]?define(['@univerjs-pro/collaboration-client-ui',_0x402b9a(0x1ae)],_0x1b16db):(_0x539f7f=typeof globalThis<'u'?globalThis:_0x539f7f||self,_0x1b16db(_0x539f7f[_0x402b9a(0x1aa)],_0x539f7f[_0x402b9a(0x1a3)]));}(this,function(_0x4fb60c,_0x15caa7){'use strict';var _0x1ec581=_0x78b9;class _0x3ad5cc extends _0x15caa7[_0x1ec581(0x1af)]{[_0x1ec581(0x1ab)](_0x24907b,_0x4310d0,..._0x572f1b){var _0x39b4f0=_0x1ec581;return this[_0x39b4f0(0x19f)][_0x39b4f0(0x1a2)](_0x4fb60c['RemoteUniscriptService'])[_0x39b4f0(0x1ab)](_0x24907b,_0x4310d0,{},..._0x572f1b);}}_0x15caa7[_0x1ec581(0x1af)]['extend'](_0x3ad5cc);}));function _0xeafe(){var _0x1cf408=['222RuTzRD','4082260JNykLF','_injector','amd','209169dlIudX','get','UniverCoreFacade','529RTLiqc','function','980sBgKlR','1091168SoqfNO','5477232QhjGCh','80920uOebrY','UniverProCollaborationClientUi','runOnServer','266850nMxhNB','1118RkhFeC','@univerjs/core/facade','FUniver'];_0xeafe=function(){return _0x1cf408;};return _0xeafe();}
|
|
12
12
|
|
|
13
13
|
// @univerjs-pro/thread-comment-datasource/index
|
|
14
|
-
function _0x36b8(_0x2864a1,_0x162230){const _0x18b0aa=_0x18b0();return _0x36b8=function(_0x36b8a1,_0x6148fc){_0x36b8a1=_0x36b8a1-0x1f3;let _0x1ecaef=_0x18b0aa[_0x36b8a1];return _0x1ecaef;},_0x36b8(_0x2864a1,_0x162230);}(function(_0x55b05b,_0x5f2a8e){const _0x8ebc=_0x36b8,_0x5c2b94=_0x55b05b();while(!![]){try{const _0x56a7af=parseInt(_0x8ebc(0x24d))/0x1*(-parseInt(_0x8ebc(0x246))/0x2)+parseInt(_0x8ebc(0x268))/0x3*(parseInt(_0x8ebc(0x243))/0x4)+parseInt(_0x8ebc(0x23e))/0x5+-parseInt(_0x8ebc(0x22d))/0x6+-parseInt(_0x8ebc(0x264))/0x7+-parseInt(_0x8ebc(0x24c))/0x8*(parseInt(_0x8ebc(0x249))/0x9)+-parseInt(_0x8ebc(0x209))/0xa*(-parseInt(_0x8ebc(0x25c))/0xb);if(_0x56a7af===_0x5f2a8e)break;else _0x5c2b94['push'](_0x5c2b94['shift']());}catch(_0x82221a){_0x5c2b94['push'](_0x5c2b94['shift']());}}}(_0x18b0,0x8d972),function(_0x167a8f,_0x4b7fd7){const _0x540fbb=_0x36b8;typeof exports==_0x540fbb(0x256)&&typeof module<'u'?_0x4b7fd7(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==_0x540fbb(0x1f3)&&define['amd']?define([_0x540fbb(0x26e),_0x540fbb(0x239),'@univerjs-pro/license','@univerjs/core','@univerjs/thread-comment-ui',_0x540fbb(0x22f),_0x540fbb(0x24a),_0x540fbb(0x20b)],_0x4b7fd7):(_0x167a8f=typeof globalThis<'u'?globalThis:_0x167a8f||self,_0x4b7fd7(_0x167a8f['UniverProThreadCommentDatasource']={},_0x167a8f[_0x540fbb(0x25d)],_0x167a8f[_0x540fbb(0x20d)],_0x167a8f[_0x540fbb(0x272)],_0x167a8f[_0x540fbb(0x220)],_0x167a8f[_0x540fbb(0x25e)],_0x167a8f[_0x540fbb(0x24a)],_0x167a8f['UniverNetwork']));}(this,function(_0x5838ea,_0x1cabcb,_0x250cd7,_0x559f35,_0x5e4b71,_0x3beb1d,_0x17826c,_0x2c1229){'use strict';const _0x4ac278=_0x36b8;const _0x47eccf=_0x4ac278(0x206);var _0x2203ca=(_0x2ad0e1=>(_0x2ad0e1[_0x2ad0e1[_0x4ac278(0x1fd)]=0x0]=_0x4ac278(0x1fd),_0x2ad0e1[_0x2ad0e1[_0x4ac278(0x240)]=0x1]=_0x4ac278(0x240),_0x2ad0e1[_0x2ad0e1[_0x4ac278(0x1f4)]=-0x1]=_0x4ac278(0x1f4),_0x2ad0e1))(_0x2203ca||{}),_0x49f46a=(_0xca68a2=>(_0xca68a2[_0xca68a2[_0x4ac278(0x203)]=0x0]=_0x4ac278(0x203),_0xca68a2[_0xca68a2[_0x4ac278(0x262)]=0x1]=_0x4ac278(0x262),_0xca68a2[_0xca68a2[_0x4ac278(0x260)]=0x2]=_0x4ac278(0x260),_0xca68a2[_0xca68a2[_0x4ac278(0x218)]=0x3]='Edit',_0xca68a2[_0xca68a2['Delete']=0x4]='Delete',_0xca68a2[_0xca68a2[_0x4ac278(0x251)]=0x5]=_0x4ac278(0x251),_0xca68a2[_0xca68a2[_0x4ac278(0x1f4)]=-0x1]='UNRECOGNIZED',_0xca68a2))(_0x49f46a||{});const _0x423bfe=_0x32b763=>_0x559f35[_0x4ac278(0x271)](new Date(+_0x32b763))['format'](_0x4ac278(0x211)),_0x1d1730=async(_0x3fdba2,_0x181d51)=>{const _0x4ad18a=_0x4ac278,_0x35f481=_0x3fdba2[_0x4ad18a(0x23d)](_0x559f35[_0x4ad18a(0x223)]),_0x4e5f62=_0x3fdba2[_0x4ad18a(0x23d)](_0x2c1229[_0x4ad18a(0x236)]);_0x181d51[_0x4ad18a(0x242)](_0x4e2405=>{_0x35f481['getUser'](_0x4e2405)&&_0x181d51['delete'](_0x4e2405);}),_0x181d51[_0x4ad18a(0x21e)]&&(await _0x4e5f62[_0x4ad18a(0x23d)]('/universer-api/user/list',{'params':{'userIDs':[..._0x181d51]}}))[_0x4ad18a(0x261)][_0x4ad18a(0x238)][_0x4ad18a(0x242)](_0x99cff1=>{_0x99cff1&&_0x35f481['addUser'](_0x99cff1);});};var _0xd2f529=Object[_0x4ac278(0x221)],_0x2fefef=(_0x20774b,_0xdc6e9c,_0x179cb4,_0x4166b2)=>{for(var _0x3620b4=_0x4166b2>0x1?void 0x0:_0x4166b2?_0xd2f529(_0xdc6e9c,_0x179cb4):_0xdc6e9c,_0x24c46c=_0x20774b['length']-0x1,_0x541eca;_0x24c46c>=0x0;_0x24c46c--)(_0x541eca=_0x20774b[_0x24c46c])&&(_0x3620b4=_0x541eca(_0x3620b4)||_0x3620b4);return _0x3620b4;},_0x23f3f0=(_0x5a91ae,_0x4b300a)=>(_0xbd31f2,_0x4b5ab1)=>_0x4b300a(_0xbd31f2,_0x4b5ab1,_0x5a91ae);let _0x23ae1a=class extends _0x559f35[_0x4ac278(0x265)]{constructor(_0x55ee03,_0x24a5b7,_0x4dc5ca,_0x1959e0){const _0x36d06c=_0x4ac278;super(),this['_commentService']=_0x55ee03,this['_threadCommentModel']=_0x24a5b7,this[_0x36d06c(0x226)]=_0x4dc5ca,this[_0x36d06c(0x244)]=_0x1959e0,this[_0x36d06c(0x23f)](),this[_0x36d06c(0x255)]();}['_initUserSync'](){const _0x3e1836=_0x4ac278;this['disposeWithMe'](this[_0x3e1836(0x259)][_0x3e1836(0x22e)][_0x3e1836(0x231)](_0x17826c[_0x3e1836(0x21b)](0x10))[_0x3e1836(0x26a)](_0x270b6c=>{const _0x1affe0=_0x3e1836,_0x14a6ee=new Set();_0x270b6c['forEach'](_0x491b66=>{const _0x2329c3=_0x36b8;switch(_0x491b66[_0x2329c3(0x213)]){case _0x2329c3(0x22a):{const _0x177f82=_0x491b66[_0x2329c3(0x200)][_0x2329c3(0x1f6)];_0x14a6ee[_0x2329c3(0x22a)](_0x177f82);break;}}}),_0x1d1730(this[_0x1affe0(0x244)],_0x14a6ee);}));}[_0x4ac278(0x23f)](){const _0x2a97fb=_0x4ac278;this[_0x2a97fb(0x207)](this['_commentService'][_0x2a97fb(0x22e)]['subscribe'](async _0x19fc28=>{const _0x1c3bff=_0x2a97fb;var _0x5eb4cc,_0x103b8e,_0x127401,_0x980d2c;const _0x205e2f=(_0x5eb4cc=this[_0x1c3bff(0x259)][_0x1c3bff(0x201)](_0x19fc28[_0x1c3bff(0x25f)])[_0x1c3bff(0x21a)](_0x1ca51b=>_0x1ca51b[_0x1c3bff(0x1ff)]===_0x19fc28['threadId']))==null?void 0x0:_0x5eb4cc[_0x1c3bff(0x235)];if(!_0x205e2f)return;const {unitId:_0x169979,subUnitId:_0x195d5c}=_0x205e2f;switch(_0x19fc28[_0x1c3bff(0x21f)]&&this[_0x1c3bff(0x226)][_0x1c3bff(0x26f)](_0x19fc28['user']),_0x19fc28['type']){case _0x49f46a[_0x1c3bff(0x262)]:break;case _0x49f46a[_0x1c3bff(0x260)]:{this[_0x1c3bff(0x259)]['addComment'](_0x169979,_0x195d5c,{'unitId':_0x169979,'subUnitId':_0x195d5c,'ref':'','id':_0x19fc28[_0x1c3bff(0x214)],'dT':_0x423bfe(+_0x19fc28['createTimestamp']),'threadId':_0x19fc28[_0x1c3bff(0x1ff)],'personId':(_0x127401=(_0x103b8e=_0x19fc28[_0x1c3bff(0x21f)])==null?void 0x0:_0x103b8e[_0x1c3bff(0x26b)])!=null?_0x127401:_0x19fc28[_0x1c3bff(0x24b)],'text':JSON[_0x1c3bff(0x252)](_0x19fc28[_0x1c3bff(0x1f9)]),'parentId':_0x205e2f['id']});break;}case _0x49f46a[_0x1c3bff(0x245)]:{const _0x1c44ad=this[_0x1c3bff(0x259)]['getComment'](_0x169979,_0x195d5c,_0x19fc28[_0x1c3bff(0x214)]);_0x1c44ad&&_0x1c44ad[_0x1c3bff(0x1fc)]&&this[_0x1c3bff(0x259)]['deleteComment'](_0x169979,_0x195d5c,_0x19fc28[_0x1c3bff(0x214)]);break;}case _0x49f46a[_0x1c3bff(0x218)]:{this[_0x1c3bff(0x259)][_0x1c3bff(0x23a)](_0x169979,_0x195d5c,{'commentId':_0x19fc28['replyId'],'text':JSON['parse'](_0x19fc28[_0x1c3bff(0x1f9)])});break;}case _0x49f46a[_0x1c3bff(0x251)]:{const _0xcee4f7=(_0x980d2c=this['_threadCommentModel'][_0x1c3bff(0x201)](_0x19fc28['unitId'])[_0x1c3bff(0x21a)](_0x5ab72a=>_0x5ab72a[_0x1c3bff(0x1ff)]===_0x19fc28[_0x1c3bff(0x1ff)]))==null?void 0x0:_0x980d2c[_0x1c3bff(0x235)];_0xcee4f7&&this[_0x1c3bff(0x259)][_0x1c3bff(0x1fa)](_0x169979,_0x195d5c,_0xcee4f7['id'],_0x19fc28[_0x1c3bff(0x270)]===_0x2203ca[_0x1c3bff(0x240)]);break;}}}));}};_0x23ae1a=_0x2fefef([_0x23f3f0(0x0,_0x559f35['Inject'](_0x1cabcb['CommentService'])),_0x23f3f0(0x1,_0x559f35[_0x4ac278(0x228)](_0x3beb1d[_0x4ac278(0x24f)])),_0x23f3f0(0x2,_0x559f35[_0x4ac278(0x228)](_0x559f35[_0x4ac278(0x223)])),_0x23f3f0(0x3,_0x559f35['Inject'](_0x559f35[_0x4ac278(0x23c)]))],_0x23ae1a);const _0xaaf712=_0x4ac278(0x204),_0x4845e7={};var _0x4a873b=Object[_0x4ac278(0x221)],_0x40934f=(_0x1d24d6,_0x3c6da3,_0x2858c1,_0x39d05c)=>{const _0x4c8c90=_0x4ac278;for(var _0x5a3787=_0x39d05c>0x1?void 0x0:_0x39d05c?_0x4a873b(_0x3c6da3,_0x2858c1):_0x3c6da3,_0x96b7d3=_0x1d24d6[_0x4c8c90(0x263)]-0x1,_0x2b6171;_0x96b7d3>=0x0;_0x96b7d3--)(_0x2b6171=_0x1d24d6[_0x96b7d3])&&(_0x5a3787=_0x2b6171(_0x5a3787)||_0x5a3787);return _0x5a3787;},_0x57eacf=(_0x25af5a,_0x39178b)=>(_0x5dbd57,_0x2ff018)=>_0x39178b(_0x5dbd57,_0x2ff018,_0x25af5a);function _0x354760(_0x1ce131,_0xf07070){const _0x4178a7=_0x4ac278,_0x21afc3=_0x1ce131[_0x4178a7(0x216)][0x0];return{..._0xf07070,'id':_0x21afc3[_0x4178a7(0x214)],'resolved':_0x1ce131[_0x4178a7(0x270)]===0x1,'dT':_0x423bfe(_0x21afc3['createTimestamp']),'personId':_0x21afc3[_0x4178a7(0x24b)],'threadId':_0x21afc3['threadId']};}function _0x5ea654(_0x5b7aeb,_0x4f54ab,_0x2121e5){const _0x393be9=_0x4ac278;var _0x30a8ce,_0x17acda;if(((_0x17acda=(_0x30a8ce=_0x5b7aeb==null?void 0x0:_0x5b7aeb[_0x393be9(0x216)])==null?void 0x0:_0x30a8ce[_0x393be9(0x263)])!=null?_0x17acda:0x0)>0x0){const _0xbac0a1=(_0x9ef73b,_0x2536f7)=>({'id':_0x9ef73b[_0x393be9(0x214)],'threadId':_0x9ef73b[_0x393be9(0x1ff)],'dT':_0x423bfe(_0x9ef73b['createTimestamp']),'personId':_0x9ef73b[_0x393be9(0x24b)],'resolved':_0x5b7aeb[_0x393be9(0x270)]===_0x2203ca[_0x393be9(0x240)],'unitId':_0x4f54ab,'subUnitId':_0x2121e5,'text':JSON[_0x393be9(0x252)](_0x9ef73b[_0x393be9(0x1f9)]),'parentId':_0x2536f7}),_0x40a35d=_0xbac0a1(_0x5b7aeb[_0x393be9(0x216)][0x0]);return{..._0x40a35d,'children':_0x5b7aeb[_0x393be9(0x216)][_0x393be9(0x267)](0x1)[_0x393be9(0x1fe)](_0x60c671=>_0xbac0a1(_0x60c671,_0x40a35d['id']))};}return null;}let _0x3b779e=class{constructor(_0x21166d,_0x30ed2e,_0x1370d1){const _0x50121e=_0x4ac278;this[_0x50121e(0x21d)]=_0x21166d,this['_userService']=_0x30ed2e,this[_0x50121e(0x233)]=_0x1370d1;}async[_0x4ac278(0x20c)](_0x368a2c){const _0x27dbd4=_0x4ac278;var _0x39f5b7,_0x22cf5f;const {parentId:_0xf9b6d,unitId:_0x24276f,text:_0x2bdd3f,threadId:_0xd8ea25}=_0x368a2c,_0x269f9a=(_0x22cf5f=(_0x39f5b7=_0x2bdd3f[_0x27dbd4(0x224)])==null?void 0x0:_0x39f5b7['filter'](_0x520814=>_0x520814[_0x27dbd4(0x26c)]===_0x559f35[_0x27dbd4(0x237)][_0x27dbd4(0x257)])[_0x27dbd4(0x1fe)](_0x59e389=>_0x59e389[_0x27dbd4(0x248)]))!=null?_0x22cf5f:[],_0x40b66e=JSON['stringify'](_0x2bdd3f),_0x4e6d74=(await this[_0x27dbd4(0x233)][_0x27dbd4(0x1f5)](_0x24276f))[_0x27dbd4(0x229)]();if(_0xf9b6d){const _0x28134b={'memberId':_0x4e6d74,'unitId':_0x24276f,'content':_0x40b66e,'mention':_0x269f9a,'threadId':_0xd8ea25},_0x48b707=(await this[_0x27dbd4(0x21d)][_0x27dbd4(0x20e)]('/universer-api/comment/unit/'+_0x24276f+'/reply',{'body':_0x28134b}))[_0x27dbd4(0x261)][_0x27dbd4(0x247)];return{..._0x368a2c,'id':_0x48b707[_0x27dbd4(0x214)],'dT':_0x559f35['dayjs'](+_0x48b707[_0x27dbd4(0x26d)])[_0x27dbd4(0x210)]('YYYY/MM/DD\x20HH:mm'),'personId':_0x48b707[_0x27dbd4(0x24b)]};}else{const _0x36486b={'memberId':_0x4e6d74,'unitId':_0x24276f,'content':_0x40b66e,'mention':_0x269f9a},_0x1d74fb=await this['_httpService']['post'](_0x27dbd4(0x254)+_0x24276f+_0x27dbd4(0x232),{'body':_0x36486b});return _0x354760(_0x1d74fb[_0x27dbd4(0x261)]['comment'],_0x368a2c);}}async['updateComment'](_0x49ca29){const _0x2ebe4c=_0x4ac278;var _0x15b504,_0x11a934;const {text:_0x151d3c,unitId:_0x4eafba}=_0x49ca29,_0x4e6f45=(_0x11a934=(_0x15b504=_0x151d3c[_0x2ebe4c(0x224)])==null?void 0x0:_0x15b504['filter'](_0x50bd94=>_0x50bd94[_0x2ebe4c(0x26c)]===_0x559f35[_0x2ebe4c(0x237)][_0x2ebe4c(0x257)])[_0x2ebe4c(0x1fe)](_0x3feff3=>_0x3feff3[_0x2ebe4c(0x248)]))!=null?_0x11a934:[],_0x5d670e=JSON['stringify'](_0x151d3c),_0x23a358=_0x49ca29[_0x2ebe4c(0x1ff)],_0x388669=_0x49ca29['id'],_0x2bd58a={'memberId':(await this[_0x2ebe4c(0x233)]['requireSession'](_0x4eafba))[_0x2ebe4c(0x229)](),'unitId':_0x4eafba,'threadId':_0x23a358,'mention':_0x4e6f45,'content':_0x5d670e,'replyId':_0x388669},_0x202d40=await this[_0x2ebe4c(0x21d)][_0x2ebe4c(0x20e)]('/universer-api/comment/unit/'+_0x4eafba+_0x2ebe4c(0x24e),{'body':_0x2bd58a});return!_0x202d40['body'][_0x2ebe4c(0x225)]||_0x202d40['body'][_0x2ebe4c(0x225)][_0x2ebe4c(0x269)]===0x1;}async[_0x4ac278(0x1fa)](_0x49f0a2){const _0x33f1a8=_0x4ac278,{unitId:_0x2a83b6}=_0x49f0a2,_0xdba305=_0x49f0a2[_0x33f1a8(0x1ff)],_0x128b27={'memberId':this['_userService']['getCurrentUser']()[_0x33f1a8(0x26b)],'unitId':_0x2a83b6,'threadId':_0xdba305,'solved':_0x49f0a2[_0x33f1a8(0x250)]?_0x2203ca[_0x33f1a8(0x240)]:_0x2203ca['OpenOrReOpen']},_0x5970db=await this[_0x33f1a8(0x21d)][_0x33f1a8(0x20e)](_0x33f1a8(0x254)+_0x2a83b6+_0x33f1a8(0x20a),{'body':_0x128b27});return!_0x5970db[_0x33f1a8(0x261)][_0x33f1a8(0x225)]||_0x5970db[_0x33f1a8(0x261)]['error'][_0x33f1a8(0x269)]===0x1;}async['deleteComment'](_0x5aed5c,_0x160bae,_0x51e99f,_0x3e1b1a){const _0x2774b2=_0x4ac278,_0x810b5c={'memberId':(await this[_0x2774b2(0x233)][_0x2774b2(0x1f5)](_0x5aed5c))[_0x2774b2(0x229)](),'threadId':_0x51e99f,'replyId':_0x3e1b1a,'unitId':_0x5aed5c},_0x5a39b5=await this[_0x2774b2(0x21d)][_0x2774b2(0x20e)]('/universer-api/comment/unit/'+_0x5aed5c+_0x2774b2(0x266),{'body':_0x810b5c});return!_0x5a39b5[_0x2774b2(0x261)]['error']||_0x5a39b5[_0x2774b2(0x261)][_0x2774b2(0x225)][_0x2774b2(0x269)]===0x1;}async[_0x4ac278(0x253)](_0x280644,_0x5de97,_0x23c4a7){const _0x58fcc2=_0x4ac278,_0x5f5b9a={'unitId':_0x280644,'threadId':_0x23c4a7},_0x110e3e=await this['_httpService'][_0x58fcc2(0x20e)](_0x58fcc2(0x254)+_0x280644+_0x58fcc2(0x227),{'body':_0x5f5b9a}),_0x2c9269=_0x23c4a7[_0x58fcc2(0x1fe)](_0x43eff0=>_0x5ea654(_0x110e3e[_0x58fcc2(0x261)][_0x58fcc2(0x234)][_0x43eff0],_0x280644,_0x5de97))[_0x58fcc2(0x205)](Boolean);return Object['values'](_0x110e3e[_0x58fcc2(0x261)][_0x58fcc2(0x238)])[_0x58fcc2(0x242)](_0x5aed71=>{const _0x571b1d=_0x58fcc2;this[_0x571b1d(0x226)][_0x571b1d(0x26f)](_0x5aed71);}),_0x2c9269;}[_0x4ac278(0x20f)](_0x51023d){const _0x228ff6=_0x4ac278;return{'id':_0x51023d['id'],'threadId':_0x51023d['threadId'],'ref':_0x51023d[_0x228ff6(0x202)]};}};_0x3b779e=_0x40934f([_0x57eacf(0x0,_0x559f35[_0x4ac278(0x228)](_0x2c1229['HTTPService'])),_0x57eacf(0x1,_0x559f35[_0x4ac278(0x228)](_0x559f35[_0x4ac278(0x223)])),_0x57eacf(0x2,_0x559f35['Inject'](_0x1cabcb[_0x4ac278(0x25a)]))],_0x3b779e);var _0x132f02=Object[_0x4ac278(0x221)],_0xbfaa64=(_0x2d04b7,_0xf1f7ea,_0x378e8e,_0x23aaa0)=>{const _0x4b2ada=_0x4ac278;for(var _0x5c501c=_0x23aaa0>0x1?void 0x0:_0x23aaa0?_0x132f02(_0xf1f7ea,_0x378e8e):_0xf1f7ea,_0x521e59=_0x2d04b7[_0x4b2ada(0x263)]-0x1,_0x15fe00;_0x521e59>=0x0;_0x521e59--)(_0x15fe00=_0x2d04b7[_0x521e59])&&(_0x5c501c=_0x15fe00(_0x5c501c)||_0x5c501c);return _0x5c501c;},_0x323d31=(_0x47e460,_0x42b945)=>(_0x18f404,_0x3c6a05)=>_0x42b945(_0x18f404,_0x3c6a05,_0x47e460);let _0x1aed25=class extends _0x559f35[_0x4ac278(0x265)]{constructor(_0x447f48,_0x1a652d){const _0x24d3ee=_0x4ac278;super(),this[_0x24d3ee(0x1f8)]=_0x447f48,this['_threadCommentDataSource']=_0x1a652d,this[_0x24d3ee(0x22c)]();}[_0x4ac278(0x22c)](){const _0x4c53c1=_0x4ac278;this['_threadCommentDataSourceService'][_0x4c53c1(0x258)]=this['_threadCommentDataSource'],this[_0x4c53c1(0x1f8)][_0x4c53c1(0x219)]=!0x1;}};_0x1aed25=_0xbfaa64([_0x323d31(0x0,_0x3beb1d['IThreadCommentDataSourceService']),_0x323d31(0x1,_0x559f35[_0x4ac278(0x228)](_0x3b779e))],_0x1aed25);var _0x59f3fe=Object['defineProperty'],_0x30548d=Object[_0x4ac278(0x221)],_0x4d403c=(_0x32f7a7,_0x15ec43,_0x11208b)=>_0x15ec43 in _0x32f7a7?_0x59f3fe(_0x32f7a7,_0x15ec43,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11208b}):_0x32f7a7[_0x15ec43]=_0x11208b,_0x19a716=(_0x4ac8b5,_0x4ec567,_0x179ef5,_0x1c7c3f)=>{const _0x1988f5=_0x4ac278;for(var _0x3d4ffd=_0x1c7c3f>0x1?void 0x0:_0x1c7c3f?_0x30548d(_0x4ec567,_0x179ef5):_0x4ec567,_0xf5c8c9=_0x4ac8b5[_0x1988f5(0x263)]-0x1,_0x50c1ca;_0xf5c8c9>=0x0;_0xf5c8c9--)(_0x50c1ca=_0x4ac8b5[_0xf5c8c9])&&(_0x3d4ffd=_0x50c1ca(_0x3d4ffd)||_0x3d4ffd);return _0x3d4ffd;},_0x57d374=(_0x28afed,_0xf8ccd1)=>(_0x23a7c2,_0x124750)=>_0xf8ccd1(_0x23a7c2,_0x124750,_0x28afed),_0x288689=(_0x118a1b,_0x1e9549,_0x165351)=>_0x4d403c(_0x118a1b,typeof _0x1e9549!='symbol'?_0x1e9549+'':_0x1e9549,_0x165351);_0x5838ea[_0x4ac278(0x230)]=class extends _0x559f35['Plugin']{constructor(_0x31f90a=_0x4845e7,_0x9ed0e1,_0x1bea2a){const _0x3044d6=_0x4ac278;super(),this[_0x3044d6(0x212)]=_0x31f90a,this['_injector']=_0x9ed0e1,this[_0x3044d6(0x215)]=_0x1bea2a;const {..._0x2a882f}=_0x559f35[_0x3044d6(0x23b)]({},_0x4845e7,this[_0x3044d6(0x212)]);this[_0x3044d6(0x215)][_0x3044d6(0x22b)](_0xaaf712,_0x2a882f);}[_0x4ac278(0x208)](){const _0x513e0d=_0x4ac278;[[_0x3b779e],[_0x1aed25],[_0x23ae1a]][_0x513e0d(0x242)](_0x224b23=>{const _0x220e1c=_0x513e0d;this[_0x220e1c(0x244)]['add'](_0x224b23);});}[_0x4ac278(0x25b)](){const _0x38eff1=_0x4ac278;this[_0x38eff1(0x244)][_0x38eff1(0x23d)](_0x1aed25),this['_injector']['get'](_0x23ae1a);}},_0x288689(_0x5838ea[_0x4ac278(0x230)],'pluginName',_0x47eccf),_0x288689(_0x5838ea[_0x4ac278(0x230)],_0x4ac278(0x213),_0x559f35[_0x4ac278(0x217)]['UNIVER_UNKNOWN']),_0x5838ea[_0x4ac278(0x230)]=_0x19a716([_0x559f35['DependentOn'](_0x5e4b71[_0x4ac278(0x1fb)],_0x1cabcb[_0x4ac278(0x241)],_0x250cd7[_0x4ac278(0x1f7)]),_0x57d374(0x1,_0x559f35[_0x4ac278(0x228)](_0x559f35[_0x4ac278(0x23c)])),_0x57d374(0x2,_0x559f35[_0x4ac278(0x21c)])],_0x5838ea[_0x4ac278(0x230)]),Object['defineProperty'](_0x5838ea,Symbol[_0x4ac278(0x222)],{'value':'Module'});}));function _0x18b0(){const _0xde38e1=['/edit','ThreadCommentModel','resolved','Solve','parse','listComments','/universer-api/comment/unit/','_initUserSync','object','COMMENT','dataSource','_threadCommentModel','CollaborationSessionService','onReady','11mNivqM','UniverProCollaborationClient','UniverThreadComment','unitId','Reply','body','Add','length','2832578oZtnie','Disposable','/delete','slice','368013UPrsQw','code','subscribe','userID','rangeType','createTimestamp','exports','addUser','solved','dayjs','UniverCore','function','UNRECOGNIZED','requireSession','personId','UniverLicensePlugin','_threadCommentDataSourceService','content','resolveComment','UniverThreadCommentUIPlugin','parentId','OpenOrReOpen','map','threadId','payload','getUnit','ref','Unknown','thread-comment-data-source.config','filter','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','disposeWithMe','onStarting','30840fbHwAq','/solved','@univerjs/network','addComment','UniverProLicense','post','saveCommentToSnapshot','format','YYYY/MM/DD\x20HH:mm','_config','type','replyId','_configService','replies','UniverInstanceType','Edit','syncUpdateMutationToColla','find','bufferTime','IConfigService','_httpService','size','user','UniverThreadCommentUi','getOwnPropertyDescriptor','toStringTag','UserManagerService','customRanges','error','_userService','/list','Inject','getMemberID','add','setConfig','_initDataSource','2047392tvIELd','commentUpdate$','@univerjs/thread-comment','UniverThreadCommentDataSourcePlugin','pipe','/add','_sessionService','comments','root','HTTPService','CustomRangeType','users','@univerjs-pro/collaboration-client','updateComment','merge','Injector','get','2049005OPALIS','_init','Solved','UniverCollaborationClientPlugin','forEach','32JVMHIm','_injector','Delete','34bDnOEG','reply','rangeId','36Itbesx','rxjs','userId','26088uFsQSD','3257GBMZdw'];_0x18b0=function(){return _0xde38e1;};return _0x18b0();}
|
|
14
|
+
function _0x5c70(){const _0x2d8e1f=['replyId','users','dayjs','map','merge','Delete','Edit','slice','_config','@univerjs/network','getMemberID','_sessionService','unitId','comment','resolveComment','ref','solved','userID','post','/list','/universer-api/comment/unit/','subscribe','getOwnPropertyDescriptor','defineProperty','3242785usMacG','get','_threadCommentDataSource','personId','addComment','Solve','function','UserManagerService','deleteComment','find','body','_threadCommentDataSourceService','createTimestamp','dataSource','syncUpdateMutationToColla','_httpService','_configService','/add','replies','add','4PPsNZW','CommentService','UniverProThreadCommentDatasource','values','userId','@univerjs/thread-comment-ui','/delete','/solved','Unknown','UNRECOGNIZED','_initDataSource','Inject','/edit','UniverProLicense','7220892XYIlYq','Reply','size','code','object','_threadCommentModel','pipe','content','CustomRangeType','2SaYmGl','updateComment','ThreadCommentModel','bufferTime','thread-comment-data-source.config','customRanges','reply','UniverThreadCommentDataSourcePlugin','_init','error','HTTPService','_commentService','8328825BKdwHH','stringify','OpenOrReOpen','@univerjs-pro/collaboration-client','filter','UniverLicensePlugin','3653508QvPaPT','getUnit','COMMENT','delete','amd','type','_initUserSync','Disposable','Solved','disposeWithMe','287prWloM','UniverThreadCommentUIPlugin','Add','YYYY/MM/DD\x20HH:mm','/reply','comments','IConfigService','rxjs','@univerjs-pro/license','listComments','requireSession','addUser','getComment','2476180xClGxv','root','IThreadCommentDataSourceService','UniverNetwork','Injector','forEach','exports','rangeId','onReady','272848DbQMKq','user','saveCommentToSnapshot','_userService','parse','commentUpdate$','UniverCore','UniverThreadComment','getUser','726362YnCvYj','_injector','threadId','setConfig','DependentOn','@univerjs/core','length'];_0x5c70=function(){return _0x2d8e1f;};return _0x5c70();}function _0x2c65(_0xd1274c,_0x529732){_0xd1274c=_0xd1274c-0xbd;const _0x5c7026=_0x5c70();let _0x2c65f4=_0x5c7026[_0xd1274c];return _0x2c65f4;}(function(_0x2b5304,_0x590348){const _0x406635=_0x2c65,_0x51e8a0=_0x2b5304();while(!![]){try{const _0x2aceee=-parseInt(_0x406635(0xfa))/0x1+-parseInt(_0x406635(0xbf))/0x2*(-parseInt(_0x406635(0xd1))/0x3)+-parseInt(_0x406635(0x12d))/0x4*(parseInt(_0x406635(0x119))/0x5)+-parseInt(_0x406635(0x13b))/0x6+parseInt(_0x406635(0xdb))/0x7*(parseInt(_0x406635(0xf1))/0x8)+parseInt(_0x406635(0xcb))/0x9+-parseInt(_0x406635(0xe8))/0xa;if(_0x2aceee===_0x590348)break;else _0x51e8a0['push'](_0x51e8a0['shift']());}catch(_0x3a4c11){_0x51e8a0['push'](_0x51e8a0['shift']());}}}(_0x5c70,0xaeb44),function(_0x35c40f,_0x36bb17){const _0x19c79c=_0x2c65;typeof exports==_0x19c79c(0x13f)&&typeof module<'u'?_0x36bb17(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==_0x19c79c(0x11f)&&define[_0x19c79c(0xd5)]?define([_0x19c79c(0xee),_0x19c79c(0xce),_0x19c79c(0xe3),_0x19c79c(0xff),_0x19c79c(0x132),'@univerjs/thread-comment','rxjs',_0x19c79c(0x10a)],_0x36bb17):(_0x35c40f=typeof globalThis<'u'?globalThis:_0x35c40f||self,_0x36bb17(_0x35c40f[_0x19c79c(0x12f)]={},_0x35c40f['UniverProCollaborationClient'],_0x35c40f[_0x19c79c(0x13a)],_0x35c40f[_0x19c79c(0xf7)],_0x35c40f['UniverThreadCommentUi'],_0x35c40f[_0x19c79c(0xf8)],_0x35c40f[_0x19c79c(0xe2)],_0x35c40f[_0x19c79c(0xeb)]));}(this,function(_0x1f4862,_0x5cbaba,_0x21832e,_0x425653,_0x1186a3,_0x270af5,_0x9c6302,_0x216b8c){'use strict';const _0x550f7a=_0x2c65;const _0x442fac='UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN';var _0x516de1=(_0x43688d=>(_0x43688d[_0x43688d[_0x550f7a(0xcd)]=0x0]=_0x550f7a(0xcd),_0x43688d[_0x43688d[_0x550f7a(0xd9)]=0x1]=_0x550f7a(0xd9),_0x43688d[_0x43688d[_0x550f7a(0x136)]=-0x1]=_0x550f7a(0x136),_0x43688d))(_0x516de1||{}),_0x3adf3f=(_0x4ee2c6=>(_0x4ee2c6[_0x4ee2c6[_0x550f7a(0x135)]=0x0]='Unknown',_0x4ee2c6[_0x4ee2c6[_0x550f7a(0xdd)]=0x1]=_0x550f7a(0xdd),_0x4ee2c6[_0x4ee2c6['Reply']=0x2]=_0x550f7a(0x13c),_0x4ee2c6[_0x4ee2c6[_0x550f7a(0x107)]=0x3]=_0x550f7a(0x107),_0x4ee2c6[_0x4ee2c6['Delete']=0x4]=_0x550f7a(0x106),_0x4ee2c6[_0x4ee2c6['Solve']=0x5]=_0x550f7a(0x11e),_0x4ee2c6[_0x4ee2c6['UNRECOGNIZED']=-0x1]=_0x550f7a(0x136),_0x4ee2c6))(_0x3adf3f||{});const _0x1a110f=_0x1606fa=>_0x425653[_0x550f7a(0x103)](new Date(+_0x1606fa))['format'](_0x550f7a(0xde)),_0x182199=async(_0xd4da68,_0x4a6355)=>{const _0x4b6859=_0x550f7a,_0x55dc8=_0xd4da68['get'](_0x425653[_0x4b6859(0x120)]),_0x2a5fd9=_0xd4da68[_0x4b6859(0x11a)](_0x216b8c[_0x4b6859(0xc9)]);_0x4a6355[_0x4b6859(0xed)](_0x10f6fb=>{const _0x206331=_0x4b6859;_0x55dc8[_0x206331(0xf9)](_0x10f6fb)&&_0x4a6355[_0x206331(0xd4)](_0x10f6fb);}),_0x4a6355[_0x4b6859(0x13d)]&&(await _0x2a5fd9[_0x4b6859(0x11a)]('/universer-api/user/list',{'params':{'userIDs':[..._0x4a6355]}}))[_0x4b6859(0x123)][_0x4b6859(0x102)][_0x4b6859(0xed)](_0x443568=>{const _0x22df32=_0x4b6859;_0x443568&&_0x55dc8[_0x22df32(0xe6)](_0x443568);});};var _0x6df2ec=Object[_0x550f7a(0x117)],_0x345988=(_0x522203,_0x34fd16,_0x1c465a,_0x41a9b5)=>{const _0x31b585=_0x550f7a;for(var _0x32d2c4=_0x41a9b5>0x1?void 0x0:_0x41a9b5?_0x6df2ec(_0x34fd16,_0x1c465a):_0x34fd16,_0xddf72d=_0x522203[_0x31b585(0x100)]-0x1,_0x295eac;_0xddf72d>=0x0;_0xddf72d--)(_0x295eac=_0x522203[_0xddf72d])&&(_0x32d2c4=_0x295eac(_0x32d2c4)||_0x32d2c4);return _0x32d2c4;},_0x6c2d5c=(_0x40ca80,_0x545260)=>(_0x54e1cc,_0x1c2f17)=>_0x545260(_0x54e1cc,_0x1c2f17,_0x40ca80);let _0x5e1e6f=class extends _0x425653[_0x550f7a(0xd8)]{constructor(_0x43575c,_0x13c511,_0x2e427f,_0x432d2a){const _0x578fcf=_0x550f7a;super(),this[_0x578fcf(0xca)]=_0x43575c,this[_0x578fcf(0x140)]=_0x13c511,this['_userService']=_0x2e427f,this[_0x578fcf(0xfb)]=_0x432d2a,this[_0x578fcf(0xc7)](),this[_0x578fcf(0xd7)]();}['_initUserSync'](){const _0xd97e60=_0x550f7a;this[_0xd97e60(0xda)](this[_0xd97e60(0x140)][_0xd97e60(0xf6)][_0xd97e60(0x141)](_0x9c6302[_0xd97e60(0xc2)](0x10))[_0xd97e60(0x116)](_0x33d275=>{const _0x4e7d33=_0xd97e60,_0x17a106=new Set();_0x33d275[_0x4e7d33(0xed)](_0x42a4ed=>{const _0x494c1e=_0x4e7d33;switch(_0x42a4ed[_0x494c1e(0xd6)]){case _0x494c1e(0x12c):{const _0x2b18c5=_0x42a4ed['payload'][_0x494c1e(0x11c)];_0x17a106[_0x494c1e(0x12c)](_0x2b18c5);break;}}}),_0x182199(this[_0x4e7d33(0xfb)],_0x17a106);}));}[_0x550f7a(0xc7)](){const _0x3d4de0=_0x550f7a;this['disposeWithMe'](this[_0x3d4de0(0xca)][_0x3d4de0(0xf6)][_0x3d4de0(0x116)](async _0x17eb71=>{const _0x7ce284=_0x3d4de0;var _0xad03cb,_0x91d3dd,_0x168a21,_0x3edf84;const _0x3dc935=(_0xad03cb=this[_0x7ce284(0x140)][_0x7ce284(0xd2)](_0x17eb71[_0x7ce284(0x10d)])[_0x7ce284(0x122)](_0x13c40c=>_0x13c40c[_0x7ce284(0xfc)]===_0x17eb71[_0x7ce284(0xfc)]))==null?void 0x0:_0xad03cb[_0x7ce284(0xe9)];if(!_0x3dc935)return;const {unitId:_0x1be373,subUnitId:_0x5473df}=_0x3dc935;switch(_0x17eb71['user']&&this[_0x7ce284(0xf4)][_0x7ce284(0xe6)](_0x17eb71[_0x7ce284(0xf2)]),_0x17eb71[_0x7ce284(0xd6)]){case _0x3adf3f[_0x7ce284(0xdd)]:break;case _0x3adf3f[_0x7ce284(0x13c)]:{this[_0x7ce284(0x140)]['addComment'](_0x1be373,_0x5473df,{'unitId':_0x1be373,'subUnitId':_0x5473df,'ref':'','id':_0x17eb71[_0x7ce284(0x101)],'dT':_0x1a110f(+_0x17eb71[_0x7ce284(0x125)]),'threadId':_0x17eb71['threadId'],'personId':(_0x168a21=(_0x91d3dd=_0x17eb71['user'])==null?void 0x0:_0x91d3dd[_0x7ce284(0x112)])!=null?_0x168a21:_0x17eb71[_0x7ce284(0x131)],'text':JSON[_0x7ce284(0xf5)](_0x17eb71[_0x7ce284(0xbd)]),'parentId':_0x3dc935['id']});break;}case _0x3adf3f['Delete']:{const _0x259a10=this[_0x7ce284(0x140)][_0x7ce284(0xe7)](_0x1be373,_0x5473df,_0x17eb71[_0x7ce284(0x101)]);_0x259a10&&_0x259a10['parentId']&&this[_0x7ce284(0x140)]['deleteComment'](_0x1be373,_0x5473df,_0x17eb71[_0x7ce284(0x101)]);break;}case _0x3adf3f[_0x7ce284(0x107)]:{this[_0x7ce284(0x140)][_0x7ce284(0xc0)](_0x1be373,_0x5473df,{'commentId':_0x17eb71[_0x7ce284(0x101)],'text':JSON['parse'](_0x17eb71['content'])});break;}case _0x3adf3f[_0x7ce284(0x11e)]:{const _0x40b93f=(_0x3edf84=this[_0x7ce284(0x140)][_0x7ce284(0xd2)](_0x17eb71['unitId'])[_0x7ce284(0x122)](_0x576afa=>_0x576afa[_0x7ce284(0xfc)]===_0x17eb71[_0x7ce284(0xfc)]))==null?void 0x0:_0x3edf84[_0x7ce284(0xe9)];_0x40b93f&&this[_0x7ce284(0x140)][_0x7ce284(0x10f)](_0x1be373,_0x5473df,_0x40b93f['id'],_0x17eb71[_0x7ce284(0x111)]===_0x516de1[_0x7ce284(0xd9)]);break;}}}));}};_0x5e1e6f=_0x345988([_0x6c2d5c(0x0,_0x425653[_0x550f7a(0x138)](_0x5cbaba[_0x550f7a(0x12e)])),_0x6c2d5c(0x1,_0x425653['Inject'](_0x270af5[_0x550f7a(0xc1)])),_0x6c2d5c(0x2,_0x425653[_0x550f7a(0x138)](_0x425653[_0x550f7a(0x120)])),_0x6c2d5c(0x3,_0x425653[_0x550f7a(0x138)](_0x425653[_0x550f7a(0xec)]))],_0x5e1e6f);const _0x4bd2f1=_0x550f7a(0xc3),_0x5ee344={};var _0x389777=Object[_0x550f7a(0x117)],_0x1f2b5c=(_0x58e1a7,_0x49dac7,_0x591ae1,_0x1b4c07)=>{const _0x34ff8e=_0x550f7a;for(var _0x23d4c0=_0x1b4c07>0x1?void 0x0:_0x1b4c07?_0x389777(_0x49dac7,_0x591ae1):_0x49dac7,_0x4d7208=_0x58e1a7[_0x34ff8e(0x100)]-0x1,_0x42a312;_0x4d7208>=0x0;_0x4d7208--)(_0x42a312=_0x58e1a7[_0x4d7208])&&(_0x23d4c0=_0x42a312(_0x23d4c0)||_0x23d4c0);return _0x23d4c0;},_0x2dac9f=(_0x23bcda,_0x1f4994)=>(_0x3284ea,_0x4b9b99)=>_0x1f4994(_0x3284ea,_0x4b9b99,_0x23bcda);function _0x5c3c53(_0x55bf2b,_0x227f8d){const _0x2002ae=_0x550f7a,_0x1d27f6=_0x55bf2b[_0x2002ae(0x12b)][0x0];return{..._0x227f8d,'id':_0x1d27f6['replyId'],'resolved':_0x55bf2b[_0x2002ae(0x111)]===0x1,'dT':_0x1a110f(_0x1d27f6[_0x2002ae(0x125)]),'personId':_0x1d27f6[_0x2002ae(0x131)],'threadId':_0x1d27f6[_0x2002ae(0xfc)]};}function _0x283abd(_0x5a38ca,_0x4b9e36,_0x31c458){const _0x26db16=_0x550f7a;var _0x2218d3,_0x35c153;if(((_0x35c153=(_0x2218d3=_0x5a38ca==null?void 0x0:_0x5a38ca['replies'])==null?void 0x0:_0x2218d3['length'])!=null?_0x35c153:0x0)>0x0){const _0x3c8f02=(_0x4ad8b1,_0x3a791a)=>({'id':_0x4ad8b1[_0x26db16(0x101)],'threadId':_0x4ad8b1[_0x26db16(0xfc)],'dT':_0x1a110f(_0x4ad8b1['createTimestamp']),'personId':_0x4ad8b1['userId'],'resolved':_0x5a38ca[_0x26db16(0x111)]===_0x516de1[_0x26db16(0xd9)],'unitId':_0x4b9e36,'subUnitId':_0x31c458,'text':JSON[_0x26db16(0xf5)](_0x4ad8b1[_0x26db16(0xbd)]),'parentId':_0x3a791a}),_0xf6bd7b=_0x3c8f02(_0x5a38ca[_0x26db16(0x12b)][0x0]);return{..._0xf6bd7b,'children':_0x5a38ca[_0x26db16(0x12b)][_0x26db16(0x108)](0x1)['map'](_0x4a2643=>_0x3c8f02(_0x4a2643,_0xf6bd7b['id']))};}return null;}let _0x52be08=class{constructor(_0x5d5257,_0x201200,_0x178e9e){const _0x569656=_0x550f7a;this[_0x569656(0x128)]=_0x5d5257,this[_0x569656(0xf4)]=_0x201200,this[_0x569656(0x10c)]=_0x178e9e;}async[_0x550f7a(0x11d)](_0x313556){const _0x451378=_0x550f7a;var _0x1c7981,_0x202659;const {parentId:_0x27b519,unitId:_0x2b85a8,text:_0x16478a,threadId:_0x3fdf06}=_0x313556,_0x58084d=(_0x202659=(_0x1c7981=_0x16478a[_0x451378(0xc4)])==null?void 0x0:_0x1c7981[_0x451378(0xcf)](_0x332433=>_0x332433['rangeType']===_0x425653[_0x451378(0xbe)][_0x451378(0xd3)])['map'](_0xbf8f33=>_0xbf8f33[_0x451378(0xef)]))!=null?_0x202659:[],_0x7398c1=JSON[_0x451378(0xcc)](_0x16478a),_0xa00fd8=(await this['_sessionService'][_0x451378(0xe5)](_0x2b85a8))[_0x451378(0x10b)]();if(_0x27b519){const _0x92a8b9={'memberId':_0xa00fd8,'unitId':_0x2b85a8,'content':_0x7398c1,'mention':_0x58084d,'threadId':_0x3fdf06},_0x56453f=(await this[_0x451378(0x128)][_0x451378(0x113)](_0x451378(0x115)+_0x2b85a8+_0x451378(0xdf),{'body':_0x92a8b9}))['body'][_0x451378(0xc5)];return{..._0x313556,'id':_0x56453f[_0x451378(0x101)],'dT':_0x425653[_0x451378(0x103)](+_0x56453f[_0x451378(0x125)])['format'](_0x451378(0xde)),'personId':_0x56453f[_0x451378(0x131)]};}else{const _0x3c6634={'memberId':_0xa00fd8,'unitId':_0x2b85a8,'content':_0x7398c1,'mention':_0x58084d},_0x4019d5=await this[_0x451378(0x128)][_0x451378(0x113)](_0x451378(0x115)+_0x2b85a8+_0x451378(0x12a),{'body':_0x3c6634});return _0x5c3c53(_0x4019d5[_0x451378(0x123)][_0x451378(0x10e)],_0x313556);}}async['updateComment'](_0x25371f){const _0x51b82e=_0x550f7a;var _0x14733d,_0x5a30e1;const {text:_0x56365f,unitId:_0x74340a}=_0x25371f,_0x47a3b2=(_0x5a30e1=(_0x14733d=_0x56365f['customRanges'])==null?void 0x0:_0x14733d[_0x51b82e(0xcf)](_0x14d293=>_0x14d293['rangeType']===_0x425653['CustomRangeType'][_0x51b82e(0xd3)])[_0x51b82e(0x104)](_0x162d64=>_0x162d64[_0x51b82e(0xef)]))!=null?_0x5a30e1:[],_0x572d0c=JSON['stringify'](_0x56365f),_0xf6db6=_0x25371f[_0x51b82e(0xfc)],_0x1bf483=_0x25371f['id'],_0x143791={'memberId':(await this[_0x51b82e(0x10c)][_0x51b82e(0xe5)](_0x74340a))[_0x51b82e(0x10b)](),'unitId':_0x74340a,'threadId':_0xf6db6,'mention':_0x47a3b2,'content':_0x572d0c,'replyId':_0x1bf483},_0x10ca64=await this[_0x51b82e(0x128)]['post']('/universer-api/comment/unit/'+_0x74340a+_0x51b82e(0x139),{'body':_0x143791});return!_0x10ca64[_0x51b82e(0x123)][_0x51b82e(0xc8)]||_0x10ca64[_0x51b82e(0x123)]['error'][_0x51b82e(0x13e)]===0x1;}async[_0x550f7a(0x10f)](_0x4dfd00){const _0x3cc340=_0x550f7a,{unitId:_0x352cb7}=_0x4dfd00,_0x1eb977=_0x4dfd00[_0x3cc340(0xfc)],_0x2583e0={'memberId':this[_0x3cc340(0xf4)]['getCurrentUser']()[_0x3cc340(0x112)],'unitId':_0x352cb7,'threadId':_0x1eb977,'solved':_0x4dfd00['resolved']?_0x516de1[_0x3cc340(0xd9)]:_0x516de1[_0x3cc340(0xcd)]},_0x1d6a2f=await this[_0x3cc340(0x128)][_0x3cc340(0x113)](_0x3cc340(0x115)+_0x352cb7+_0x3cc340(0x134),{'body':_0x2583e0});return!_0x1d6a2f[_0x3cc340(0x123)][_0x3cc340(0xc8)]||_0x1d6a2f['body'][_0x3cc340(0xc8)]['code']===0x1;}async[_0x550f7a(0x121)](_0x18acef,_0x4403ce,_0x559e7e,_0x318c9e){const _0x5a86e5=_0x550f7a,_0x5421bb={'memberId':(await this[_0x5a86e5(0x10c)][_0x5a86e5(0xe5)](_0x18acef))[_0x5a86e5(0x10b)](),'threadId':_0x559e7e,'replyId':_0x318c9e,'unitId':_0x18acef},_0xeea034=await this['_httpService']['post'](_0x5a86e5(0x115)+_0x18acef+_0x5a86e5(0x133),{'body':_0x5421bb});return!_0xeea034[_0x5a86e5(0x123)][_0x5a86e5(0xc8)]||_0xeea034[_0x5a86e5(0x123)][_0x5a86e5(0xc8)][_0x5a86e5(0x13e)]===0x1;}async[_0x550f7a(0xe4)](_0x2ef386,_0x197721,_0x147614){const _0x351291=_0x550f7a,_0x481922={'unitId':_0x2ef386,'threadId':_0x147614},_0x51dc2a=await this['_httpService'][_0x351291(0x113)]('/universer-api/comment/unit/'+_0x2ef386+_0x351291(0x114),{'body':_0x481922}),_0x1434a2=_0x147614[_0x351291(0x104)](_0xe3411a=>_0x283abd(_0x51dc2a['body'][_0x351291(0xe0)][_0xe3411a],_0x2ef386,_0x197721))[_0x351291(0xcf)](Boolean);return Object[_0x351291(0x130)](_0x51dc2a[_0x351291(0x123)][_0x351291(0x102)])[_0x351291(0xed)](_0x57b061=>{const _0x431227=_0x351291;this[_0x431227(0xf4)][_0x431227(0xe6)](_0x57b061);}),_0x1434a2;}[_0x550f7a(0xf3)](_0x3d17a2){const _0x1bb030=_0x550f7a;return{'id':_0x3d17a2['id'],'threadId':_0x3d17a2[_0x1bb030(0xfc)],'ref':_0x3d17a2[_0x1bb030(0x110)]};}};_0x52be08=_0x1f2b5c([_0x2dac9f(0x0,_0x425653[_0x550f7a(0x138)](_0x216b8c[_0x550f7a(0xc9)])),_0x2dac9f(0x1,_0x425653[_0x550f7a(0x138)](_0x425653[_0x550f7a(0x120)])),_0x2dac9f(0x2,_0x425653[_0x550f7a(0x138)](_0x5cbaba['CollaborationSessionService']))],_0x52be08);var _0x2a3c53=Object['getOwnPropertyDescriptor'],_0x18611f=(_0x4b9bb9,_0x11b976,_0x51405d,_0x4777fc)=>{for(var _0x2bf87b=_0x4777fc>0x1?void 0x0:_0x4777fc?_0x2a3c53(_0x11b976,_0x51405d):_0x11b976,_0x448739=_0x4b9bb9['length']-0x1,_0xe91fb4;_0x448739>=0x0;_0x448739--)(_0xe91fb4=_0x4b9bb9[_0x448739])&&(_0x2bf87b=_0xe91fb4(_0x2bf87b)||_0x2bf87b);return _0x2bf87b;},_0x2b2e2d=(_0xdd8524,_0x136ea7)=>(_0x14d3c9,_0x573489)=>_0x136ea7(_0x14d3c9,_0x573489,_0xdd8524);let _0x322afa=class extends _0x425653[_0x550f7a(0xd8)]{constructor(_0x586f69,_0x204531){const _0x1c1590=_0x550f7a;super(),this[_0x1c1590(0x124)]=_0x586f69,this['_threadCommentDataSource']=_0x204531,this['_initDataSource']();}[_0x550f7a(0x137)](){const _0x161578=_0x550f7a;this[_0x161578(0x124)][_0x161578(0x126)]=this[_0x161578(0x11b)],this[_0x161578(0x124)][_0x161578(0x127)]=!0x1;}};_0x322afa=_0x18611f([_0x2b2e2d(0x0,_0x270af5[_0x550f7a(0xea)]),_0x2b2e2d(0x1,_0x425653[_0x550f7a(0x138)](_0x52be08))],_0x322afa);var _0x530ec2=Object[_0x550f7a(0x118)],_0x4c1087=Object['getOwnPropertyDescriptor'],_0x350a86=(_0x4c11f9,_0x1e43ca,_0x254120)=>_0x1e43ca in _0x4c11f9?_0x530ec2(_0x4c11f9,_0x1e43ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x254120}):_0x4c11f9[_0x1e43ca]=_0x254120,_0x4b90e1=(_0x39296c,_0xd5d0b3,_0x1b848e,_0x45bf68)=>{const _0x360a25=_0x550f7a;for(var _0x42905f=_0x45bf68>0x1?void 0x0:_0x45bf68?_0x4c1087(_0xd5d0b3,_0x1b848e):_0xd5d0b3,_0x5a7b4d=_0x39296c[_0x360a25(0x100)]-0x1,_0x400a85;_0x5a7b4d>=0x0;_0x5a7b4d--)(_0x400a85=_0x39296c[_0x5a7b4d])&&(_0x42905f=_0x400a85(_0x42905f)||_0x42905f);return _0x42905f;},_0x4e0f38=(_0x2a058d,_0x5e6594)=>(_0x8c1178,_0x3dcaa2)=>_0x5e6594(_0x8c1178,_0x3dcaa2,_0x2a058d),_0x26aaa6=(_0x4cc070,_0x53eefd,_0x33bda3)=>_0x350a86(_0x4cc070,typeof _0x53eefd!='symbol'?_0x53eefd+'':_0x53eefd,_0x33bda3);_0x1f4862['UniverThreadCommentDataSourcePlugin']=class extends _0x425653['Plugin']{constructor(_0x4cd015=_0x5ee344,_0x5f2bea,_0x126759){const _0xcd70a0=_0x550f7a;super(),this[_0xcd70a0(0x109)]=_0x4cd015,this['_injector']=_0x5f2bea,this[_0xcd70a0(0x129)]=_0x126759;const {..._0x23ed8a}=_0x425653[_0xcd70a0(0x105)]({},_0x5ee344,this[_0xcd70a0(0x109)]);this[_0xcd70a0(0x129)][_0xcd70a0(0xfd)](_0x4bd2f1,_0x23ed8a);}['onStarting'](){[[_0x52be08],[_0x322afa],[_0x5e1e6f]]['forEach'](_0x497f41=>{const _0x3f4523=_0x2c65;this['_injector'][_0x3f4523(0x12c)](_0x497f41);});}[_0x550f7a(0xf0)](){const _0x56dfc8=_0x550f7a;this[_0x56dfc8(0xfb)][_0x56dfc8(0x11a)](_0x322afa),this[_0x56dfc8(0xfb)]['get'](_0x5e1e6f);}},_0x26aaa6(_0x1f4862[_0x550f7a(0xc6)],'pluginName',_0x442fac),_0x26aaa6(_0x1f4862[_0x550f7a(0xc6)],_0x550f7a(0xd6),_0x425653['UniverInstanceType']['UNIVER_UNKNOWN']),_0x1f4862[_0x550f7a(0xc6)]=_0x4b90e1([_0x425653[_0x550f7a(0xfe)](_0x1186a3[_0x550f7a(0xdc)],_0x5cbaba['UniverCollaborationClientPlugin'],_0x21832e[_0x550f7a(0xd0)]),_0x4e0f38(0x1,_0x425653[_0x550f7a(0x138)](_0x425653[_0x550f7a(0xec)])),_0x4e0f38(0x2,_0x425653[_0x550f7a(0xe1)])],_0x1f4862[_0x550f7a(0xc6)]),Object[_0x550f7a(0x118)](_0x1f4862,Symbol['toStringTag'],{'value':'Module'});}));
|
|
15
15
|
|
|
16
16
|
// @univerjs-pro/edit-history-viewer/index
|
|
17
|
-
function _0x1bb1(){const _0x59251d=['_updateVersions','Init','syncExecuteCommand','UniverInstanceType','HistoryModeStatus','rules','HEADER','getHours','SetConditionalRuleMutation','endRev','EMAIL_HAS_BEEN_BOUND','ENTITLE_REPORT_LIMIT_EXCEED','isArray','APPLY_REJECT','getCellPositionByOffset','editHistory.panel.revertConfirm','clipPath','setConfig','ENTITLE_CAN_NOT_BUY_LOWER_OTP','univerjs-icon\x20univerjs-icon-','SetCellStyle','body','historyListServerUrl','USER_NOT_FOUND','WorkbookHideSheetPermission','skeleton','span','debounce','setCF','@univerjs/data-validation','hasCommand','createSheet','RestoreIcon','React','useDependency','UNIVER_SLIDE','IRenderManagerService','RwHgtClWdt','xlink:href','InsertColumn','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','INVALID_ARGUMENT','state$','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','getElementById','getDataRange','setFilter','EditWorksheetCell','SetRangeProtectionMutation','REDEMPTION_CODE_HAS_BEEN_CREATED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-m-auto\x20univer-animate-spin','style','SelectUnProtectedCells','_diffs','YUUMI_URL_COL_OUT_OF_RANGE','editHistory.action.etc','Delete','substring','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','some','connectInjector','SetCellValue','PERMISSION_DENIED','SetWorksheetHideMutation','_localeService','keys','APPLY_NON_SEQUENTIAL_REVISION','6fiNbWR','currentSkeleton$','Share','setDV','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','InsertRowMutation','_versionDiffService','versions$','recoverTime','UniverSheetsUIPlugin','WorkbookMoveSheetPermission','InsertHyperlink','init','defs','RemoveSheetMutation','DeleteRow','debounceTime','showMask','triggerLoadSheet','code','forValue','RangeMergeUtil','hidden','permissionPointUpdate$','getUnitId','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','tag','_members','backgroundColor','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','RecoverHistory','Exited','querySelector','_openPanel','endRow','ENTITLE_INSUFFICIENT_QUOTA','LocaleService','defineProperty','closeAll','stopPropagation','loadMoreVersions','YUUMI_ASYNCIO_CANCELLED','ENSURE_SNAPSHOT_EXECUTION','@univerjs/ui','entered','append','Sort','_configService','loadSheet','path','idSuffix','ReorderRangeMutation','editHistory.panel.currentUser','HTTPService','@univerjs/sheets','column','RemoveNumfmtMutation','editHistory.panel.title','_lastLabel','UniverProCollaborationClient','_sheetPermissionInitController','ViewHistory','confirm-revert-revision','MoveColsMutation','canRevert','status','REDEMPTION_CODE_FULLY_REDEEMED','makeDirty','white','scrollEvent$','find','disposeWithMe','removeSheet','_univerInstanceService','WECHAT_HAS_BEEN_BOUND','AddWorksheetMergeMutation','APPLY_REVISION_CONFILICT','react/jsx-runtime','UniverEditHistoryViewerPlugin','@univerjs-pro/sheets-sparkline','next','onStarting','UniverSheetsConditionalFormatting','/universer-api/history','absolute','loading','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','colorChannel1','YUUMI_AI_RUN_FAILED','button','fill','isTransformMutationsSuccess','SetSheetsFilterRangeMutation','setState','Today','VIEW_MAIN','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','UNIVER_UNKNOWN','transformMutations','color','addSparkline','UniverNetwork','_createUnit','unitId','Loaded','UniverProCollaborationClientUi','_versions$','ENTITLE_NEED_BILLING_ADDRESS','MoveRowsMutation','url(#$1','show','UniverDrawing','MoveSheet','_updateDiffMarks','6065913hkRIyC','BehaviorSubject','now',':\x20(','YUUMI_NO_CUBOID_FOR_QUESTION','toDisposable','LICENSE_MAX_UNITS_EXCEEDED','LOGIN_FAILED','displayName','editHistory.panel.revertDesc','Comment','UNAUTHENTICATED','object','HideWorksheet','_httpService','USER_IS_ANONYMOUS','HideSheet','loadingState','UpdateDataValidationMutation','_maskContainer','ITransformService','YUUMI_ALL_TABLES_IS_INVALID','_combineRanges','versions','_permissionService','time','UNRECOGNIZED','getVpScrollXYInfoByPosToVp','getViewport','_loadingState$','confirm','PAYMENT_CHANNEL_NOT_SUPPORT','ICommandService','error','_sidebarDisposable','getUnitOnRev','currentVersionDiff$','_getSheetObject','_initActiveSwitch','_historyFetchService','REDEMPTION_CODE_INACTIVE','children','_cellEditorManagerService','updatePermissionPoint','NOT_FOUND','bottom','userId','createElement','CURRENT_STATUS_CANNOT_OPERATE','AddConditionalRuleMutation','USER_NOT_INVITED_CODE','users','Fragment','editHistory.info.loading','_uiPartsService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','YUUMI_UNABLE_LOAD_URL','cellValue','zIndex','subUnitId','_removeDiffMarks','switchMap','className','_context','exited','REDEMPTION_INVALID_CODE','_commandService','none','mutations','ALREADY_EXISTS','startRevision','_compressMutationService','_status$','LICENSE_IMPORT_SIZE_EXCEEDED','startRow','Entered','SnapshotServerOverHTTPService','getDeserializedSheetBlock','active','editHistory.header.revert','revertSheet','name','set','FromArray','Duplicate','ranges','range','rgba(225,\x20225,\x20225,\x200.5)','row','_getRangesByMutation','DeleteColumn','_currentVersion$','ENTITLE_DUP_SUBSCRIPTION','univer-text-gray-500','_sheetSkeletonManagerService','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','UNIVER_SHEET','action','workbook','History','@univerjs-pro/collaboration','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ISnapshotServerService','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','dateString','UNDEFINED','_componentManager','CopySheet','CHANGESET_REVISION_CONFILICT','1em','createTime','ManageCollaborator','_canRevert','@univerjs/drawing','ENTITLE_CHAT_LIMIT_EXCEED','UniverSheetsUi','clsx','add','UniverDesign','addProtection','MessageType','parse','insertSheet','InsertRow','_confirmService','data','COMPLETION_FINISHED','editHistory.panel.cancel','SHEET_VIEWPORT_KEY','YUUMI_RATE_OVER_LIMIT','Export','editHistory.action.revertSheetPrefix','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','blocks','@univerjs/sheets-conditional-formatting','_workbookDataCache','Inject','rev','http://www.w3.org/2000/svg','sheetId','focusUnit','getSheetObject','_getActiveSubUnitId','VIRTUAL_VERSION_NOW','UniverEngineRender','IDialogService','CONNECTOR_DATA_TOO_LARGE','BuiltInUIPart','INVITE_CODE_ALREADY_BOUND','DeleteSheet','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ERROR_AGAIN','flat','_initPanel','SetColumnStyle','height','IImageIoService','split','getVersion','_initRender','FloatImg','forEach','filter','getCurrentVersion','@univerjs/design','UniverCore','DependentOn','pluginName','getConfig','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_CODE_NOT_STARTED','useState','WorkbookEditablePermission','_diffRangesMap','Disposable','currentVersion','interceptor','CreatePermissionObject','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','loaded','INVITE_CODE_HAS_BEEN_UES','View','univer-text-2xl\x20dark:!univer-text-white','AddSheetSparklineMutation','currentVersion$','AddRangeProtectionMutation','flex','#0B9EFB','RenameSheet','_initMaskContainer','dispose','APPLY_PERMISSION_DENIED','getCurrentLocale','IMessageService','100%','top','ViemRwHgtClWdt','SetWorksheetStyle','includes','div','Vector2','InsertSheetMutation','ensureVersion','DeleteRangeProtectionMutation','asObservable','function','subType','RevertRevisionMutation','SNAPSHOT_INVALID_SNAPSHOT','blockMeta','restore-icon_clip0_1247_2','_currentVersionDiff$','SetFrozenMutation','startColumn','HistoryManagerService','disposeUnit','MOBILE_HAS_BEEN_BOUND','getMember','univer-overflow-hidden','_injector','SelectProtectedCells','CreateSheet','jsxs','_transformService','merge','memberId','_messageService','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','left','BackIcon','revertRevision$','evenodd','_revertRevision$','_sidebarService','subscribe','IUniverInstanceService','Edit','then','_snapshotServerService','AddDataValidationMutation','CreateWorksheet','has','UniverIcon','current','registerComponent','4196608zMWgfq','url(#restore-icon_clip0_1247_2)','631143BlDaDf','triggerLoadVersions','COMPRESS_MUTATION_APPLY','UNIVER_DOC','useCallback','setValue','open','InsertColMutation','exports','ObjectMatrix','defIds','INTERNAL_ERROR','@univerjs-pro/collaboration-client-ui','use','SheetPermissionInitController','_hasMore','_extractRanges','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','INVITE_CODE_REQUIRED','replace','_init','currentColor','Button','m1Prime','string','APPLY_DUPLICATED','@univerjs-pro/collaboration-client','display','endColumn','rect','ComponentManager','editHistory.panel.listFetchError','CreateUnitMutation','Loading','Copy','0\x200\x2016\x2016','editHistory.action.','REDEMPTION_USER_REDEEM_TIMES_EXCEED','unitId$','useObservable','SNAPSHOT_HAS_BEEN_REMOVED','block','SheetSkeletonManagerService','EditExtraObject','map','length','getVersions','362628OVjWlc','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','REDEMPTION_USER_NOT_ELIGIBLE','rxjs','getInterceptPoints','@univerjs/sheets-ui','params','endRevision','jsx','toStringTag','fetchMissingChangesets','/list?length=20','from','YUUMI_SUBSCRIPTION_NOT_FOUND','back-icon','ICellEditorManagerService','@univerjs/network','MoveWorksheet','pipe','onSteady','getAncestorScale','UniverProSheetsSparkline','_transformMutationByOrder','ViewFilter','svg','useRef','justifyContent','_historyManagerService','register','createUnit','3906455HggmvC','loadingState$','_historyContainerId','&lastLabel=','2009730piBstR','IUIPartsService','registerRenderModule','_unitId$','getMinutes','editHistory.action.revertSheetSuffix','LoadingMultiIcon','Tooltip','PivotTable','UniverSheets','getCoordByCell','getOwnPropertyDescriptor','push','attrs','deleteProtection','commands','_maskElement','value','addObjects','editHistory.panel.revertConfirmText','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','8662864IntbhZ','UniverNetworkPlugin','EMAIL_VERIFY_CODE_MISMATCH','_createMask','_dialogOptions$','hideMask','center','assign','forwardRef','symbol','mask','SetRowStyle','values','getCurrent','ISidebarService','LICENSE_EXPORT_SIZE_EXCEEDED','onMouseMove','clear','LICENSE_DISTRO_REJECTED','executeCommand','_fetching','userID','Injector','entries','UNIVER_PROJECT','combineLatest','1000','SetNumfmtMutation','univer-flex\x20univer-items-center\x20univer-justify-center','_config','Error','toString','@univerjs/engine-render','ZH_CN','date','get','TOO_MANY_REQUESTS','padStart','toISOString','[HistoryFetchService]:\x20request\x20snapshot\x20error!','DisposableCollection','RenameWorksheet','SetWorksheetActiveOperation','WorkbookRenameSheetPermission','rule','close','INVALID_INVITE_CODE','anonymous','triggerRevert','_getAPIPrefix','Module'];_0x1bb1=function(){return _0x59251d;};return _0x1bb1();}function _0x1d45(_0x3ed032,_0x4b070b){const _0x1bb1e6=_0x1bb1();return _0x1d45=function(_0x1d451e,_0x322279){_0x1d451e=_0x1d451e-0x17f;let _0x4256af=_0x1bb1e6[_0x1d451e];return _0x4256af;},_0x1d45(_0x3ed032,_0x4b070b);}(function(_0x1b56ce,_0x2bcbd1){const _0x52961a=_0x1d45,_0x3f37c0=_0x1b56ce();while(!![]){try{const _0x6b8f7e=-parseInt(_0x52961a(0x277))/0x1+-parseInt(_0x52961a(0x2a6))/0x2+-parseInt(_0x52961a(0x2c8))/0x3+parseInt(_0x52961a(0x275))/0x4+parseInt(_0x52961a(0x2c4))/0x5*(parseInt(_0x52961a(0x354))/0x6)+-parseInt(_0x52961a(0x3c6))/0x7+parseInt(_0x52961a(0x2dd))/0x8;if(_0x6b8f7e===_0x2bcbd1)break;else _0x3f37c0['push'](_0x3f37c0['shift']());}catch(_0x2e5af0){_0x3f37c0['push'](_0x3f37c0['shift']());}}}(_0x1bb1,0x89c97),function(_0x22f3af,_0x1c63b0){const _0x385f48=_0x1d45;typeof exports==_0x385f48(0x189)&&typeof module<'u'?_0x1c63b0(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-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==_0x385f48(0x24d)&&define['amd']?define([_0x385f48(0x27f),_0x385f48(0x1e1),_0x385f48(0x291),'@univerjs/core',_0x385f48(0x1ee),_0x385f48(0x2fd),_0x385f48(0x2b6),_0x385f48(0x2ab),_0x385f48(0x37f),_0x385f48(0x223),_0x385f48(0x38a),_0x385f48(0x2a9),_0x385f48(0x3a3),_0x385f48(0x32d),_0x385f48(0x203),'@univerjs/sheets-filter',_0x385f48(0x3a1),'react',_0x385f48(0x283)],_0x1c63b0):(_0x22f3af=typeof globalThis<'u'?globalThis:_0x22f3af||self,_0x1c63b0(_0x22f3af['UniverProEditHistoryViewer']={},_0x22f3af['UniverProCollaboration'],_0x22f3af[_0x385f48(0x38f)],_0x22f3af[_0x385f48(0x224)],_0x22f3af[_0x385f48(0x3c3)],_0x22f3af[_0x385f48(0x20d)],_0x22f3af[_0x385f48(0x3b9)],_0x22f3af[_0x385f48(0x1f0)],_0x22f3af['UniverUi'],_0x22f3af[_0x385f48(0x1f3)],_0x22f3af[_0x385f48(0x2d1)],_0x22f3af[_0x385f48(0x2a9)],_0x22f3af[_0x385f48(0x2bb)],_0x22f3af['UniverDataValidation'],_0x22f3af[_0x385f48(0x3a6)],_0x22f3af['UniverSheetsFilter'],_0x22f3af['React'],_0x22f3af[_0x385f48(0x331)],_0x22f3af[_0x385f48(0x3bd)]));}(this,function(_0x311108,_0x221432,_0x4371ba,_0x5999cd,_0x17f407,_0x9378cd,_0x5eeed9,_0x1f85a6,_0x447332,_0x1f7c98,_0x31a12e,_0x2ae290,_0x155fda,_0x1dd3f5,_0x1034bd,_0x45108d,_0x4dbad1,_0x3b3caa,_0xab4d26){'use strict';const _0x1afe5f=_0x1d45;var _0x28629c=Object[_0x1afe5f(0x379)],_0x445804=(_0x2274aa,_0xec9999,_0x348d9f)=>_0xec9999 in _0x2274aa?_0x28629c(_0x2274aa,_0xec9999,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x348d9f}):_0x2274aa[_0xec9999]=_0x348d9f,_0x57ef2d=(_0x55cd52,_0x2fef7a,_0x3b5f4c)=>_0x445804(_0x55cd52,typeof _0x2fef7a!=_0x1afe5f(0x2e6)?_0x2fef7a+'':_0x2fef7a,_0x3b5f4c);const _0x438df1='edit-history-viewer.config',_0x5cf162={};var _0x17cee8=Object[_0x1afe5f(0x2d3)],_0x3a711e=(_0x8dd36d,_0xf19dae,_0x374891,_0x2be208)=>{for(var _0x4f2eaa=_0x2be208>0x1?void 0x0:_0x2be208?_0x17cee8(_0xf19dae,_0x374891):_0xf19dae,_0x19e8e0=_0x8dd36d['length']-0x1,_0x23fd81;_0x19e8e0>=0x0;_0x19e8e0--)(_0x23fd81=_0x8dd36d[_0x19e8e0])&&(_0x4f2eaa=_0x23fd81(_0x4f2eaa)||_0x4f2eaa);return _0x4f2eaa;},_0x58330b=(_0xd8e93b,_0x303644)=>(_0x243861,_0x35a632)=>_0x303644(_0x243861,_0x35a632,_0xd8e93b);let _0x412f1a=class extends _0x5999cd['Disposable']{constructor(_0xc09cb2){const _0x2ad7ba=_0x1afe5f;super(),this[_0x2ad7ba(0x1a7)]=_0xc09cb2,this[_0x2ad7ba(0x28b)]();}['_init'](){const _0x1ba00d=_0x1afe5f;this[_0x1ba00d(0x39b)](this[_0x1ba00d(0x1a7)][_0x1ba00d(0x33a)][_0x1ba00d(0x26a)](_0x1c3298=>{const _0x5ef707=_0x1ba00d;_0x1c3298!=null&&_0x1c3298[_0x5ef707(0x3c2)]&&this[_0x5ef707(0x1a7)][_0x5ef707(0x3b1)]({'show':!0x1});}));}};_0x412f1a=_0x3a711e([_0x58330b(0x0,_0x1f85a6[_0x1afe5f(0x2b5)])],_0x412f1a);var _0x1a56b0=(_0x54aa57=>(_0x54aa57[_0x54aa57[_0x1afe5f(0x1e6)]=0x0]=_0x1afe5f(0x1e6),_0x54aa57[_0x54aa57['OK']=0x1]='OK',_0x54aa57[_0x54aa57[_0x1afe5f(0x282)]=0x2]=_0x1afe5f(0x282),_0x54aa57[_0x54aa57[_0x1afe5f(0x34f)]=0x3]=_0x1afe5f(0x34f),_0x54aa57[_0x54aa57['NOT_FOUND']=0x4]=_0x1afe5f(0x1a9),_0x54aa57[_0x54aa57[_0x1afe5f(0x188)]=0x5]=_0x1afe5f(0x188),_0x54aa57[_0x54aa57[_0x1afe5f(0x1c2)]=0x6]=_0x1afe5f(0x1c2),_0x54aa57[_0x54aa57[_0x1afe5f(0x339)]=0x7]=_0x1afe5f(0x339),_0x54aa57[_0x54aa57[_0x1afe5f(0x301)]=0x8]='TOO_MANY_REQUESTS',_0x54aa57[_0x54aa57['COMPLETION_FINISHED']=0x9]=_0x1afe5f(0x1fb),_0x54aa57[_0x54aa57[_0x1afe5f(0x184)]=0xa]='LOGIN_FAILED',_0x54aa57[_0x54aa57['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x54aa57[_0x54aa57[_0x1afe5f(0x342)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54aa57[_0x54aa57[_0x1afe5f(0x2df)]=0xd]=_0x1afe5f(0x2df),_0x54aa57[_0x54aa57[_0x1afe5f(0x215)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54aa57[_0x54aa57[_0x1afe5f(0x228)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x54aa57[_0x54aa57['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x54aa57[_0x54aa57[_0x1afe5f(0x1ad)]=0x64]=_0x1afe5f(0x1ad),_0x54aa57[_0x54aa57[_0x1afe5f(0x216)]=0x65]=_0x1afe5f(0x216),_0x54aa57[_0x54aa57[_0x1afe5f(0x327)]=0xc9]=_0x1afe5f(0x327),_0x54aa57[_0x54aa57['USER_IS_ANONYMOUS']=0xca]=_0x1afe5f(0x18c),_0x54aa57[_0x54aa57[_0x1afe5f(0x1e9)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x54aa57[_0x54aa57[_0x1afe5f(0x250)]=0x1771]=_0x1afe5f(0x250),_0x54aa57[_0x54aa57[_0x1afe5f(0x29f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x54aa57[_0x54aa57[_0x1afe5f(0x37e)]=0x1773]=_0x1afe5f(0x37e),_0x54aa57[_0x54aa57[_0x1afe5f(0x31d)]=0x1b59]='APPLY_REJECT',_0x54aa57[_0x54aa57[_0x1afe5f(0x353)]=0x1b5a]=_0x1afe5f(0x353),_0x54aa57[_0x54aa57[_0x1afe5f(0x3a0)]=0x1b5b]=_0x1afe5f(0x3a0),_0x54aa57[_0x54aa57[_0x1afe5f(0x23f)]=0x1b5c]=_0x1afe5f(0x23f),_0x54aa57[_0x54aa57['APPLY_DUPLICATED']=0x1b5d]=_0x1afe5f(0x290),_0x54aa57[_0x54aa57[_0x1afe5f(0x20f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x54aa57[_0x54aa57[_0x1afe5f(0x183)]=0x2329]=_0x1afe5f(0x183),_0x54aa57[_0x54aa57[_0x1afe5f(0x1e2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x54aa57[_0x54aa57[_0x1afe5f(0x1c6)]=0x232b]=_0x1afe5f(0x1c6),_0x54aa57[_0x54aa57[_0x1afe5f(0x2ec)]=0x232c]=_0x1afe5f(0x2ec),_0x54aa57[_0x54aa57[_0x1afe5f(0x2ef)]=0x232d]=_0x1afe5f(0x2ef),_0x54aa57[_0x54aa57[_0x1afe5f(0x1b5)]=0x2711]=_0x1afe5f(0x1b5),_0x54aa57[_0x54aa57[_0x1afe5f(0x347)]=0x2712]=_0x1afe5f(0x347),_0x54aa57[_0x54aa57[_0x1afe5f(0x1fe)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x54aa57[_0x54aa57[_0x1afe5f(0x2b3)]=0x2714]=_0x1afe5f(0x2b3),_0x54aa57[_0x54aa57[_0x1afe5f(0x181)]=0x271a]=_0x1afe5f(0x181),_0x54aa57[_0x54aa57[_0x1afe5f(0x37d)]=0x271b]=_0x1afe5f(0x37d),_0x54aa57[_0x54aa57['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1afe5f(0x214),_0x54aa57[_0x54aa57['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1afe5f(0x192),_0x54aa57[_0x54aa57['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x54aa57[_0x54aa57['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1afe5f(0x3ac),_0x54aa57[_0x54aa57[_0x1afe5f(0x213)]=0x2720]=_0x1afe5f(0x213),_0x54aa57[_0x54aa57[_0x1afe5f(0x232)]=0x2af9]=_0x1afe5f(0x232),_0x54aa57[_0x54aa57['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1afe5f(0x234),_0x54aa57[_0x54aa57['INVALID_INVITE_CODE']=0x2ee2]=_0x1afe5f(0x30b),_0x54aa57[_0x54aa57[_0x1afe5f(0x289)]=0x2ee3]=_0x1afe5f(0x289),_0x54aa57[_0x54aa57[_0x1afe5f(0x1af)]=0x2ee4]=_0x1afe5f(0x1af),_0x54aa57[_0x54aa57[_0x1afe5f(0x211)]=0x2ee5]=_0x1afe5f(0x211),_0x54aa57[_0x54aa57[_0x1afe5f(0x39e)]=0x32c9]=_0x1afe5f(0x39e),_0x54aa57[_0x54aa57[_0x1afe5f(0x258)]=0x32ca]=_0x1afe5f(0x258),_0x54aa57[_0x54aa57['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1afe5f(0x31a),_0x54aa57[_0x54aa57[_0x1afe5f(0x322)]=0x36b1]=_0x1afe5f(0x322),_0x54aa57[_0x54aa57[_0x1afe5f(0x1b4)]=0x36b2]=_0x1afe5f(0x1b4),_0x54aa57[_0x54aa57[_0x1afe5f(0x1d9)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x54aa57[_0x54aa57[_0x1afe5f(0x19c)]=0x36b4]=_0x1afe5f(0x19c),_0x54aa57[_0x54aa57[_0x1afe5f(0x1ef)]=0x3715]=_0x1afe5f(0x1ef),_0x54aa57[_0x54aa57[_0x1afe5f(0x31b)]=0x3716]=_0x1afe5f(0x31b),_0x54aa57[_0x54aa57[_0x1afe5f(0x377)]=0x3717]=_0x1afe5f(0x377),_0x54aa57[_0x54aa57[_0x1afe5f(0x3bf)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x54aa57[_0x54aa57[_0x1afe5f(0x1be)]=0x3a99]=_0x1afe5f(0x1be),_0x54aa57[_0x54aa57[_0x1afe5f(0x1a5)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x54aa57[_0x54aa57[_0x1afe5f(0x396)]=0x3a9b]=_0x1afe5f(0x396),_0x54aa57[_0x54aa57[_0x1afe5f(0x229)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x54aa57[_0x54aa57['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x1afe5f(0x2a8),_0x54aa57[_0x54aa57[_0x1afe5f(0x29c)]=0x3a9e]=_0x1afe5f(0x29c),_0x54aa57[_0x54aa57[_0x1afe5f(0x341)]=0x3a9f]=_0x1afe5f(0x341),_0x54aa57[_0x54aa57['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x54aa57[_0x54aa57[_0x1afe5f(0x197)]=-0x1]='UNRECOGNIZED',_0x54aa57))(_0x1a56b0||{}),_0x49d7de=(_0xf7369c=>(_0xf7369c[_0xf7369c['UNIVER_UNKNOWN']=0x0]=_0x1afe5f(0x3b5),_0xf7369c[_0xf7369c[_0x1afe5f(0x27a)]=0x1]='UNIVER_DOC',_0xf7369c[_0xf7369c[_0x1afe5f(0x1dd)]=0x2]='UNIVER_SHEET',_0xf7369c[_0xf7369c['UNIVER_SLIDE']=0x3]=_0x1afe5f(0x333),_0xf7369c[_0xf7369c['UNIVER_PROJECT']=0x4]=_0x1afe5f(0x2f5),_0xf7369c[_0xf7369c['UNRECOGNIZED']=-0x1]=_0x1afe5f(0x197),_0xf7369c))(_0x49d7de||{}),_0x1f8240=(_0x323228=>(_0x323228[_0x323228[_0x1afe5f(0x235)]=0x0]=_0x1afe5f(0x235),_0x323228[_0x323228['Edit']=0x1]=_0x1afe5f(0x26c),_0x323228[_0x323228[_0x1afe5f(0x1ec)]=0x2]=_0x1afe5f(0x1ec),_0x323228[_0x323228['Print']=0x3]='Print',_0x323228[_0x323228['Duplicate']=0x4]=_0x1afe5f(0x1d1),_0x323228[_0x323228[_0x1afe5f(0x187)]=0x5]='Comment',_0x323228[_0x323228[_0x1afe5f(0x299)]=0x6]='Copy',_0x323228[_0x323228[_0x1afe5f(0x356)]=0x7]=_0x1afe5f(0x356),_0x323228[_0x323228[_0x1afe5f(0x1ff)]=0x8]='Export',_0x323228[_0x323228[_0x1afe5f(0x2b7)]=0x9]=_0x1afe5f(0x2b7),_0x323228[_0x323228['DeleteWorksheet']=0xa]='DeleteWorksheet',_0x323228[_0x323228[_0x1afe5f(0x18a)]=0xb]=_0x1afe5f(0x18a),_0x323228[_0x323228[_0x1afe5f(0x306)]=0xc]=_0x1afe5f(0x306),_0x323228[_0x323228['CreateWorksheet']=0xd]=_0x1afe5f(0x270),_0x323228[_0x323228[_0x1afe5f(0x245)]=0xe]=_0x1afe5f(0x245),_0x323228[_0x323228[_0x1afe5f(0x33f)]=0xf]=_0x1afe5f(0x33f),_0x323228[_0x323228['InsertHyperlink']=0x10]=_0x1afe5f(0x35f),_0x323228[_0x323228[_0x1afe5f(0x382)]=0x11]=_0x1afe5f(0x382),_0x323228[_0x323228['Filter']=0x12]='Filter',_0x323228[_0x323228[_0x1afe5f(0x2d0)]=0x13]=_0x1afe5f(0x2d0),_0x323228[_0x323228['FloatImg']=0x14]=_0x1afe5f(0x21f),_0x323228[_0x323228[_0x1afe5f(0x1e0)]=0x15]=_0x1afe5f(0x1e0),_0x323228[_0x323228[_0x1afe5f(0x335)]=0x16]=_0x1afe5f(0x335),_0x323228[_0x323228[_0x1afe5f(0x244)]=0x17]=_0x1afe5f(0x244),_0x323228[_0x323228[_0x1afe5f(0x2bd)]=0x18]=_0x1afe5f(0x2bd),_0x323228[_0x323228[_0x1afe5f(0x3c4)]=0x19]='MoveSheet',_0x323228[_0x323228[_0x1afe5f(0x212)]=0x1a]=_0x1afe5f(0x212),_0x323228[_0x323228[_0x1afe5f(0x18d)]=0x1b]=_0x1afe5f(0x18d),_0x323228[_0x323228[_0x1afe5f(0x1e8)]=0x1c]=_0x1afe5f(0x1e8),_0x323228[_0x323228[_0x1afe5f(0x23c)]=0x1d]=_0x1afe5f(0x23c),_0x323228[_0x323228['CreateSheet']=0x1e]=_0x1afe5f(0x25d),_0x323228[_0x323228[_0x1afe5f(0x25c)]=0x1f]='SelectProtectedCells',_0x323228[_0x323228['SelectUnProtectedCells']=0x20]=_0x1afe5f(0x345),_0x323228[_0x323228[_0x1afe5f(0x324)]=0x21]=_0x1afe5f(0x324),_0x323228[_0x323228[_0x1afe5f(0x34e)]=0x22]=_0x1afe5f(0x34e),_0x323228[_0x323228['SetRowStyle']=0x23]=_0x1afe5f(0x2e8),_0x323228[_0x323228[_0x1afe5f(0x219)]=0x24]='SetColumnStyle',_0x323228[_0x323228[_0x1afe5f(0x1f8)]=0x25]=_0x1afe5f(0x1f8),_0x323228[_0x323228[_0x1afe5f(0x337)]=0x26]='InsertColumn',_0x323228[_0x323228['DeleteRow']=0x27]=_0x1afe5f(0x363),_0x323228[_0x323228[_0x1afe5f(0x1d7)]=0x28]=_0x1afe5f(0x1d7),_0x323228[_0x323228[_0x1afe5f(0x2a2)]=0x29]=_0x1afe5f(0x2a2),_0x323228[_0x323228[_0x1afe5f(0x349)]=0x2a]=_0x1afe5f(0x349),_0x323228[_0x323228[_0x1afe5f(0x372)]=0x2b]=_0x1afe5f(0x372),_0x323228[_0x323228[_0x1afe5f(0x391)]=0x2c]=_0x1afe5f(0x391),_0x323228[_0x323228[_0x1afe5f(0x230)]=0x2d]='CreatePermissionObject',_0x323228[_0x323228[_0x1afe5f(0x197)]=-0x1]=_0x1afe5f(0x197),_0x323228))(_0x1f8240||{});function _0x511b1b(_0x2f5e0b){const _0x5e6e35=_0x1afe5f;return!!(_0x2f5e0b&&_0x2f5e0b['code']&&_0x2f5e0b[_0x5e6e35(0x367)]!==_0x1a56b0['OK']&&_0x2f5e0b[_0x5e6e35(0x367)]!=='OK');}const _0x414a26=(_0x43dc39,_0x6bd376)=>{const _0x50cd1d=_0x1afe5f;if(!_0x43dc39)return{'date':'','time':''};const _0x535f12=new Date(_0x43dc39),_0x9df9a=_0x535f12[_0x50cd1d(0x303)]()[_0x50cd1d(0x21c)]('T')[0x0];switch(_0x6bd376){case _0x5999cd['LocaleType'][_0x50cd1d(0x2fe)]:return{'date':_0x56ddd8(_0x9df9a,_0x6bd376),'time':_0x535f12[_0x50cd1d(0x317)]()+':'+String(_0x535f12[_0x50cd1d(0x2cc)]())[_0x50cd1d(0x302)](0x2,'0')};default:return{'date':_0x56ddd8(_0x9df9a,_0x6bd376),'time':_0x535f12[_0x50cd1d(0x317)]()+':'+_0x535f12[_0x50cd1d(0x2cc)]()};}},_0x2d0f08=(_0x383a75,_0x3bcd99)=>{const _0x1cdad1=_0x1afe5f,_0x417fee=_0x383a75['user']||_0x3bcd99['t']('editHistory.panel.unknownUser');if(_0x383a75['commands'][_0x1cdad1(0x34c)](_0x342a5d=>_0x342a5d===_0x221432[_0x1cdad1(0x24f)]['id'])&&_0x383a75[_0x1cdad1(0x35c)]){const _0xf86c70=_0x414a26(_0x383a75[_0x1cdad1(0x35c)],_0x3bcd99['getCurrentLocale']()),_0x269b1e=_0xf86c70[_0x1cdad1(0x2ff)]+'\x20'+_0xf86c70[_0x1cdad1(0x196)];return _0x417fee+'\x20'+_0x3bcd99['t'](_0x1cdad1(0x200))+'\x20'+_0x269b1e+'\x20'+_0x3bcd99['t'](_0x1cdad1(0x2cd));}const _0x2d2d05=_0x1e85ca(_0x383a75),_0x25040e=_0x2d2d05[_0x1cdad1(0x2a4)]===0x1?_0x3bcd99['t'](_0x2d2d05[0x0]):''+_0x3bcd99['t'](_0x2d2d05[0x0])+_0x3bcd99['t'](_0x1cdad1(0x348));return _0x417fee+'\x20'+_0x25040e;};function _0x1e85ca(_0x4d05e9){const _0x4b491f=_0x1afe5f;if(_0x4d05e9[_0x4b491f(0x2d7)][_0x4b491f(0x2a4)]===0x0)return[''];const _0x3f4a3e=_0x4b491f(0x29b),_0x31f6ff=_0x3f4a3e+'editSheet',_0x39ce55=[{'id':_0x221432[_0x4b491f(0x297)]['id'],'action':_0x3f4a3e+_0x4b491f(0x32f)},{'id':_0x221432[_0x4b491f(0x24f)]['id'],'action':_0x3f4a3e+_0x4b491f(0x1cd)},{'id':_0x31a12e[_0x4b491f(0x249)]['id'],'action':_0x3f4a3e+_0x4b491f(0x1f7)},{'id':_0x31a12e[_0x4b491f(0x362)]['id'],'action':_0x3f4a3e+_0x4b491f(0x39c)},{'id':_0x31a12e[_0x4b491f(0x254)]['id'],'action':_0x3f4a3e+'setFrozen'},{'id':_0x45108d['SetSheetsFilterRangeMutation']['id'],'action':_0x3f4a3e+_0x4b491f(0x33e)},{'id':_0x1dd3f5[_0x4b491f(0x26f)]['id'],'action':_0x3f4a3e+_0x4b491f(0x357)},{'id':_0x1dd3f5[_0x4b491f(0x18f)]['id'],'action':_0x3f4a3e+_0x4b491f(0x357)},{'id':_0x1034bd[_0x4b491f(0x318)]['id'],'action':_0x3f4a3e+_0x4b491f(0x32c)},{'id':_0x1034bd[_0x4b491f(0x1ae)]['id'],'action':_0x3f4a3e+_0x4b491f(0x32c)},{'id':_0x31a12e['AddWorksheetProtectionMutation']['id'],'action':_0x3f4a3e+_0x4b491f(0x1f4)},{'id':_0x31a12e[_0x4b491f(0x239)]['id'],'action':_0x3f4a3e+_0x4b491f(0x1f4)},{'id':_0x155fda[_0x4b491f(0x237)]['id'],'action':_0x3f4a3e+_0x4b491f(0x3b8)},{'id':_0x31a12e[_0x4b491f(0x24b)]['id'],'action':_0x3f4a3e+_0x4b491f(0x2d6)},{'id':_0x31a12e['DeleteWorksheetProtectionMutation']['id'],'action':_0x3f4a3e+_0x4b491f(0x2d6)}][_0x4b491f(0x221)](_0x296597=>_0x4d05e9[_0x4b491f(0x2d7)][_0x4b491f(0x246)](_0x296597['id']));return _0x39ce55!=null&&_0x39ce55[_0x4b491f(0x2a4)]?_0x39ce55[_0x4b491f(0x2a3)](_0x35ae3f=>_0x35ae3f[_0x4b491f(0x1de)]):[_0x31f6ff];}function _0x56ddd8(_0xbde1b2,_0x340670){const _0x3b803c=_0x1afe5f,[_0x3bc689,_0x73882a,_0x3bfc58]=new Date()[_0x3b803c(0x303)]()['split']('T')[0x0][_0x3b803c(0x21c)]('-'),[_0x3c50dd,_0x2ff6da,_0x2966ba]=_0xbde1b2[_0x3b803c(0x21c)]('-'),_0x5c6c54=_0x3bc689===_0x3c50dd&&_0x73882a===_0x2ff6da&&_0x3bfc58===_0x2966ba;let _0x305308='',_0x1e5424='',_0x549c4b='';switch(_0x340670){case _0x5999cd['LocaleType'][_0x3b803c(0x2fe)]:return _0x5c6c54?'今天':(_0x305308=_0x3bc689===_0x3c50dd?'':_0x3c50dd+'年',_0x1e5424=_0x2ff6da+'月',_0x549c4b=_0x2966ba+'日',''+_0x305308+_0x1e5424+_0x549c4b);default:return _0x5c6c54?_0x3b803c(0x3b2):(_0x305308=_0x3bc689===_0x3c50dd?'':_0x3c50dd+'-',_0x1e5424=_0x2ff6da+'-',_0x549c4b=''+_0x2966ba,''+_0x305308+_0x1e5424+_0x549c4b);}}function _0x6dcede(_0x3e3c92){return _0x3e3c92?_0x3e3c92['reduce']((_0x105831,_0x450724)=>{const _0x35d1bb=_0x1d45,_0x8446bd=new Date(_0x450724[_0x35d1bb(0x196)])[_0x35d1bb(0x303)]()['split']('T')[0x0];return _0x105831[_0x35d1bb(0x2a4)]>0x0&&_0x105831[_0x105831[_0x35d1bb(0x2a4)]-0x1]['dateString']===_0x8446bd?_0x105831[_0x105831[_0x35d1bb(0x2a4)]-0x1][_0x35d1bb(0x194)]['push'](_0x450724):_0x105831[_0x35d1bb(0x2d4)]({'dateString':_0x8446bd,'versions':[_0x450724]}),_0x105831;},[]):[];}var _0x4d64d5=Object[_0x1afe5f(0x2d3)],_0x9adae6=(_0x1f4327,_0x4fcd50,_0x376d63,_0x1ba255)=>{const _0x5043e2=_0x1afe5f;for(var _0x34c62c=_0x1ba255>0x1?void 0x0:_0x1ba255?_0x4d64d5(_0x4fcd50,_0x376d63):_0x4fcd50,_0xa74f9e=_0x1f4327[_0x5043e2(0x2a4)]-0x1,_0x103d14;_0xa74f9e>=0x0;_0xa74f9e--)(_0x103d14=_0x1f4327[_0xa74f9e])&&(_0x34c62c=_0x103d14(_0x34c62c)||_0x34c62c);return _0x34c62c;},_0x48ee7b=(_0x4461ff,_0x59cbe0)=>(_0x351659,_0x151ee3)=>_0x59cbe0(_0x351659,_0x151ee3,_0x4461ff);const _0xe61c68=_0x1afe5f(0x3a7);let _0x61ac77=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x1242da,_0x180599,_0x170ffc,_0x2411dd,_0x5ad77e,_0x38716f,_0x3f3644){const _0x216b73=_0x1afe5f;super(),_0x57ef2d(this,_0x216b73(0x204),new Map()),(this[_0x216b73(0x26e)]=_0x1242da,this[_0x216b73(0x39d)]=_0x180599,this[_0x216b73(0x1bf)]=_0x170ffc,this[_0x216b73(0x383)]=_0x2411dd,this['_httpService']=_0x5ad77e,this[_0x216b73(0x1c4)]=_0x38716f,this['_sheetPermissionInitController']=_0x3f3644);}[_0x1afe5f(0x23e)](){const _0x4fc7dd=_0x1afe5f;this[_0x4fc7dd(0x204)][_0x4fc7dd(0x2ee)](),super[_0x4fc7dd(0x23e)]();}async[_0x1afe5f(0x2a5)](_0x3510e2,_0x404f97){const _0x5a05c4=_0x1afe5f,_0x4b5934=this['_getAPIPrefix']()+'/'+_0x3510e2+_0x5a05c4(0x2b1)+(_0x404f97?_0x5a05c4(0x2c7)+_0x404f97:'');try{const _0x1ed873=(await this[_0x5a05c4(0x18b)][_0x5a05c4(0x300)](_0x4b5934))[_0x5a05c4(0x325)];if(_0x1ed873&&_0x1ed873[_0x5a05c4(0x19e)]&&_0x1ed873[_0x5a05c4(0x19e)][_0x5a05c4(0x367)]===_0x1a56b0['OK']){const {hasMore:_0x9b2f56,lastLabel:_0x25b5b7}=_0x1ed873,_0x838645=_0x22aa0c(_0x1ed873),_0x2bb977=_0x1ed873['entities'][_0x5a05c4(0x1b0)];return{'hasMore':_0x9b2f56,'lastLabel':_0x25b5b7,'versions':_0x838645,'members':_0x2bb977};}}catch(_0x125970){console[_0x5a05c4(0x19e)](_0x125970);}return null;}[_0x1afe5f(0x30e)](){const _0x1df01a=_0x1afe5f;var _0x34c23f;const _0xf9593f=this['_configService'][_0x1df01a(0x227)](_0x438df1);return(_0x34c23f=_0xf9593f==null?void 0x0:_0xf9593f[_0x1df01a(0x326)])!=null?_0x34c23f:_0xe61c68;}async[_0x1afe5f(0x384)](_0xc1cd19,_0x55cfa7,_0x40e0aa){const _0x4550b1=_0x1afe5f;var _0x2a64c2,_0x2668e2;_0x40e0aa===void 0x0&&(_0x40e0aa={}),this[_0x4550b1(0x204)][_0x4550b1(0x271)](_0xc1cd19)||this[_0x4550b1(0x204)][_0x4550b1(0x1cf)](_0xc1cd19,new Map());const {snapshot:_0x561596,changesets:_0x6cd944,error:_0x3762ef}=await this[_0x4550b1(0x26e)][_0x4550b1(0x1a0)](_0x40e0aa,{'unitID':_0xc1cd19,'type':_0x49d7de['UNIVER_SHEET'],'revision':_0x55cfa7});if(_0x511b1b(_0x3762ef)||!_0x561596||!_0x561596[_0x4550b1(0x1df)])throw new Error(_0x4550b1(0x304));const _0x421151=(_0x2a64c2=_0x6cd944==null?void 0x0:_0x6cd944[_0x4550b1(0x2a4)])!=null?_0x2a64c2:0x0;if(_0x55cfa7!==0x0&&_0x561596[_0x4550b1(0x206)]+_0x421151!==_0x55cfa7)throw new Error(_0x4550b1(0x358));const {workbook:_0x1e3c91}=_0x561596,_0x32198a=_0x1e3c91[_0x4550b1(0x251)]?Object[_0x4550b1(0x2f4)](_0x1e3c91[_0x4550b1(0x251)])[_0x4550b1(0x2a3)](([_0x3e9d05,_0x45f66a])=>{const _0xc0a0fb=_0x4550b1;var _0x2fe770,_0x3ebb5f;return(_0x3ebb5f=(_0x2fe770=_0x45f66a[_0xc0a0fb(0x202)])==null?void 0x0:_0x2fe770[_0xc0a0fb(0x2a3)](_0x93e961=>_0x93e961))!=null?_0x3ebb5f:[];})[_0x4550b1(0x217)]():[],_0x358f98=(await Promise['all'](_0x32198a[_0x4550b1(0x2a3)](_0x5ab31e=>this['_snapshotServerService'][_0x4550b1(0x1ca)](_0x40e0aa,{'unitID':_0xc1cd19,'type':_0x49d7de['UNIVER_SHEET'],'blockID':_0x5ab31e})[_0x4550b1(0x26d)](_0x489b86=>_0x489b86[_0x4550b1(0x2a0)]))))[_0x4550b1(0x221)](_0x527553=>!!_0x527553),_0x38ef6b=_0x221432['transformSnapshotToWorkbookData'](_0x561596,_0x358f98,_0x40e0aa);return(_0x2668e2=this['_workbookDataCache'][_0x4550b1(0x300)](_0xc1cd19))==null||_0x2668e2[_0x4550b1(0x1cf)](_0x55cfa7,{'workbook':_0x38ef6b}),new Promise(_0x41b409=>{const _0xc54624=_0x4550b1,_0x478656=this['_univerInstanceService']['getCurrentUnitForType'](_0x5999cd[_0xc54624(0x313)][_0xc54624(0x1dd)]);_0x478656?(this[_0xc54624(0x39d)][_0xc54624(0x257)](_0x478656[_0xc54624(0x36c)]()),setTimeout(()=>{const _0x4a38b5=_0xc54624;this[_0x4a38b5(0x3ba)](_0x38ef6b,_0x6cd944),this[_0x4a38b5(0x390)]['refreshRangeProtectPermission'](),_0x41b409(!0x0);},0x0)):(this[_0xc54624(0x3ba)](_0x38ef6b,_0x6cd944),_0x41b409(!0x0));});}[_0x1afe5f(0x3ba)](_0x925052,_0x4e0dd3){const _0x5daea3=_0x1afe5f,_0x213dce=this[_0x5daea3(0x39d)][_0x5daea3(0x2c3)](_0x5999cd[_0x5daea3(0x313)][_0x5daea3(0x1dd)],_0x925052);this[_0x5daea3(0x39d)][_0x5daea3(0x209)](_0x213dce[_0x5daea3(0x36c)]());const _0x13db70=this[_0x5daea3(0x1c4)][_0x5daea3(0x22f)]['fetchThroughInterceptors'](this[_0x5daea3(0x1c4)][_0x5daea3(0x22f)][_0x5daea3(0x2aa)]()[_0x5daea3(0x279)]);return _0x4e0dd3==null||_0x4e0dd3['forEach'](_0x32eaf3=>{const _0x25e7df=_0x5daea3,_0x45ffef=_0x32eaf3[_0x25e7df(0x1c1)][_0x25e7df(0x2a3)](_0x29c8f1=>({'id':_0x29c8f1['id'],'params':JSON[_0x25e7df(0x1f6)](_0x29c8f1[_0x25e7df(0x1fa)])}));({..._0x32eaf3,'mutations':_0x13db70(_0x45ffef,null)||_0x45ffef}[_0x25e7df(0x1c1)][_0x25e7df(0x220)](_0x2d6417=>{const _0x61d241=_0x25e7df;this[_0x61d241(0x1bf)][_0x61d241(0x32e)](_0x2d6417['id'])&&this[_0x61d241(0x1bf)][_0x61d241(0x312)](_0x2d6417['id'],_0x2d6417[_0x61d241(0x2ac)]);}));}),_0x213dce;}};_0x61ac77=_0x9adae6([_0x48ee7b(0x0,_0x221432[_0x1afe5f(0x1e3)]),_0x48ee7b(0x1,_0x5999cd[_0x1afe5f(0x26b)]),_0x48ee7b(0x2,_0x5999cd[_0x1afe5f(0x19d)]),_0x48ee7b(0x3,_0x5999cd['IConfigService']),_0x48ee7b(0x4,_0x5999cd[_0x1afe5f(0x205)](_0x5eeed9[_0x1afe5f(0x389)])),_0x48ee7b(0x5,_0x5999cd[_0x1afe5f(0x205)](_0x221432['CompressMutationService'])),_0x48ee7b(0x6,_0x5999cd[_0x1afe5f(0x205)](_0x31a12e[_0x1afe5f(0x285)]))],_0x61ac77);function _0x22aa0c(_0x599e2a){const _0x14be21=_0x1afe5f;var _0x24c78f,_0x2b0deb;const _0x55fdfb=[],{entities:_0x4340de,historyIds:_0x5be914}=_0x599e2a,{datas:_0x474641,users:_0x36c248}=_0x4340de;for(const _0x1d7446 of _0x5be914)if(_0x474641[_0x1d7446]){const _0x264006=!!((_0x24c78f=_0x36c248[_0x474641[_0x1d7446]['userId']])!=null&&_0x24c78f[_0x14be21(0x30c)]);_0x55fdfb[_0x14be21(0x2d4)]({'unitId':_0x474641[_0x1d7446][_0x14be21(0x3bb)],'user':_0x264006?'':((_0x2b0deb=_0x36c248==null?void 0x0:_0x36c248[_0x474641[_0x1d7446][_0x14be21(0x1ab)]])==null?void 0x0:_0x2b0deb[_0x14be21(0x1ce)])||'','isAnonymous':_0x264006,'id':_0x1d7446,'time':_0x474641[_0x1d7446][_0x14be21(0x1eb)]?Number(_0x474641[_0x1d7446][_0x14be21(0x1eb)]):void 0x0,'commands':_0x474641[_0x1d7446]['command'],'startRev':Number(_0x474641[_0x1d7446][_0x14be21(0x1c3)]),'endRev':Number(_0x474641[_0x1d7446][_0x14be21(0x2ad)]),'recoverTime':_0x474641[_0x1d7446][_0x14be21(0x35c)]?Number(_0x474641[_0x1d7446][_0x14be21(0x35c)]):void 0x0});}return _0x55fdfb;}var _0x2a4d0f=Object[_0x1afe5f(0x2d3)],_0x50c23c=(_0x9ea3b9,_0xc7eb16,_0x22dedf,_0x2c31fa)=>{const _0x5dbdad=_0x1afe5f;for(var _0x1ad68d=_0x2c31fa>0x1?void 0x0:_0x2c31fa?_0x2a4d0f(_0xc7eb16,_0x22dedf):_0xc7eb16,_0x2eb0a4=_0x9ea3b9[_0x5dbdad(0x2a4)]-0x1,_0x27773d;_0x2eb0a4>=0x0;_0x2eb0a4--)(_0x27773d=_0x9ea3b9[_0x2eb0a4])&&(_0x1ad68d=_0x27773d(_0x1ad68d)||_0x1ad68d);return _0x1ad68d;},_0x2c8225=(_0x4a9017,_0x447d86)=>(_0x26161e,_0x52c613)=>_0x447d86(_0x26161e,_0x52c613,_0x4a9017),_0x4cb442=(_0x912fa3=>(_0x912fa3[_0x1afe5f(0x1c8)]=_0x1afe5f(0x380),_0x912fa3[_0x1afe5f(0x373)]=_0x1afe5f(0x1bd),_0x912fa3[_0x1afe5f(0x2fb)]=_0x1afe5f(0x19e),_0x912fa3))(_0x4cb442||{}),_0x89285d=(_0x2a4fdc=>(_0x2a4fdc[_0x1afe5f(0x311)]=_0x1afe5f(0x360),_0x2a4fdc['Loading']='loading',_0x2a4fdc[_0x1afe5f(0x3bc)]=_0x1afe5f(0x233),_0x2a4fdc))(_0x89285d||{});const _0x21ab74=_0x1afe5f(0x20c);_0x311108['HistoryManagerService']=class extends _0x5999cd['Disposable']{constructor(_0x1003da,_0x259a0c,_0x3ed02a,_0x3e268f){const _0x38e471=_0x1afe5f;super(),_0x57ef2d(this,_0x38e471(0x3be),new _0x2ae290[(_0x38e471(0x3c7))]([])),_0x57ef2d(this,_0x38e471(0x35b),this['_versions$'][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x1d8),new _0x2ae290[(_0x38e471(0x3c7))]('')),_0x57ef2d(this,_0x38e471(0x238),this[_0x38e471(0x1d8)][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x1c5),new _0x2ae290[(_0x38e471(0x3c7))](_0x38e471(0x380))),_0x57ef2d(this,'status$',this[_0x38e471(0x1c5)]['asObservable']()),_0x57ef2d(this,_0x38e471(0x268),new _0x2ae290[(_0x38e471(0x3c7))](0x0)),_0x57ef2d(this,_0x38e471(0x266),this[_0x38e471(0x268)][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x2cb),new _0x2ae290[(_0x38e471(0x3c7))]('')),_0x57ef2d(this,_0x38e471(0x29d),this[_0x38e471(0x2cb)][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x2f1),!0x1),_0x57ef2d(this,_0x38e471(0x19a),new _0x2ae290[(_0x38e471(0x3c7))](_0x38e471(0x360))),_0x57ef2d(this,_0x38e471(0x2c5),this['_loadingState$'][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x38e),null),_0x57ef2d(this,_0x38e471(0x286),!0x0),_0x57ef2d(this,'_members',new Map()),_0x57ef2d(this,_0x38e471(0x2c6)),_0x57ef2d(this,_0x38e471(0x190)),_0x57ef2d(this,_0x38e471(0x2d8)),_0x57ef2d(this,'_canRevert',!0x1),(this[_0x38e471(0x262)]=_0x1003da,this['_confirmService']=_0x259a0c,this['_localeService']=_0x3ed02a,this[_0x38e471(0x1a4)]=_0x3e268f);}async[_0x1afe5f(0x278)](_0x335dcd,_0x349049,_0x2c0c50){const _0x3aa46a=_0x1afe5f;this[_0x3aa46a(0x2c6)]=_0x349049,this[_0x3aa46a(0x1ed)]=_0x2c0c50,this[_0x3aa46a(0x2cb)][_0x3aa46a(0x3a4)](_0x335dcd),this[_0x3aa46a(0x2f1)]=!0x0;const _0xd4ba7c=await this['_historyFetchService'][_0x3aa46a(0x2a5)](_0x335dcd);if(this[_0x3aa46a(0x2f1)]=!0x1,_0xd4ba7c){const {versions:_0x3bebf4,lastLabel:_0x3d66b9,hasMore:_0x163df0,members:_0x1441dd}=_0xd4ba7c;_0x3bebf4[_0x3aa46a(0x2a4)]===0x0&&_0x3bebf4[_0x3aa46a(0x2d4)]({'unitId':_0x335dcd,'id':_0x21ab74,'startRev':0x1,'endRev':0x0,'time':Date[_0x3aa46a(0x17f)](),'user':this['_localeService']['t'](_0x3aa46a(0x388)),'commands':[],'isAnonymous':!0x1}),this[_0x3aa46a(0x310)](_0x3bebf4,_0x163df0,_0x3d66b9,_0x1441dd),this[_0x3aa46a(0x1d8)][_0x3aa46a(0x3a4)](_0x3bebf4[0x0]['id']);}else this[_0x3aa46a(0x1c5)][_0x3aa46a(0x3a4)](_0x3aa46a(0x19e));}async[_0x1afe5f(0x37c)](){const _0x1fa2ea=_0x1afe5f;if(!this['_lastLabel']||!this[_0x1fa2ea(0x286)]||this[_0x1fa2ea(0x2f1)])return!0x1;this[_0x1fa2ea(0x2f1)]=!0x0;const _0x3ce5cc=await this[_0x1fa2ea(0x1a4)][_0x1fa2ea(0x2a5)](this[_0x1fa2ea(0x3bb)],this[_0x1fa2ea(0x38e)]);if(this[_0x1fa2ea(0x2f1)]=!0x1,_0x3ce5cc){const {versions:_0x47b9d7,lastLabel:_0x3b7d0f,hasMore:_0x40b88d,members:_0x1f2a9f}=_0x3ce5cc;this[_0x1fa2ea(0x310)](_0x47b9d7,_0x40b88d,_0x3b7d0f,_0x1f2a9f);}else this[_0x1fa2ea(0x262)][_0x1fa2ea(0x3c2)]({'content':this[_0x1fa2ea(0x351)]['t'](_0x1fa2ea(0x296)),'type':_0x1f7c98[_0x1fa2ea(0x1f5)][_0x1fa2ea(0x2fb)],'duration':0xbb8});return!0x0;}async[_0x1afe5f(0x366)](_0x2914c2){const _0x84d07f=_0x1afe5f;var _0x1dcd01;const _0x4b7024=(_0x1dcd01=this[_0x84d07f(0x3be)][_0x84d07f(0x2d9)])==null?void 0x0:_0x1dcd01[_0x84d07f(0x39a)](_0x37021d=>_0x37021d['id']===_0x2914c2),{endRev:_0xf7a7f3}=_0x4b7024||{};_0xf7a7f3||_0xf7a7f3===0x0?(this[_0x84d07f(0x19a)][_0x84d07f(0x3a4)](_0x84d07f(0x3a9)),await this[_0x84d07f(0x1a4)][_0x84d07f(0x384)](this[_0x84d07f(0x3bb)],_0xf7a7f3),this['_loadingState$']['next'](_0x84d07f(0x233))):this[_0x84d07f(0x1c5)][_0x84d07f(0x3a4)](_0x84d07f(0x19e));}async[_0x1afe5f(0x30d)](_0x3fcad7){const _0xffe967=_0x1afe5f,_0x337776=_0x3fcad7?this[_0xffe967(0x21d)](_0x3fcad7):this[_0xffe967(0x222)]();if(!_0x337776)return;const _0x2e7040=_0x337776[_0xffe967(0x319)],_0x450744=_0x414a26(_0x337776[_0xffe967(0x196)],this[_0xffe967(0x351)]['getCurrentLocale']());await this[_0xffe967(0x1f9)][_0xffe967(0x19b)]({'id':_0xffe967(0x392),'title':{'title':this[_0xffe967(0x351)]['t'](_0xffe967(0x31f))},'children':{'title':this['_localeService']['t'](_0xffe967(0x2db))+_0xffe967(0x180)+_0x450744['date']+'\x20'+_0x450744[_0xffe967(0x196)]+')'},'cancelText':this[_0xffe967(0x351)]['t'](_0xffe967(0x1fc)),'confirmText':this['_localeService']['t']('editHistory.panel.confirm')})&&this[_0xffe967(0x268)][_0xffe967(0x3a4)](_0x2e7040);}[_0x1afe5f(0x310)](_0x3a63b0,_0x272a14,_0x48cf13,_0x34d06d){const _0x2f8083=_0x1afe5f;this['_versions$'][_0x2f8083(0x3a4)](this['_versions$'][_0x2f8083(0x2d9)]['concat'](_0x3a63b0)),this[_0x2f8083(0x286)]=_0x272a14,this[_0x2f8083(0x38e)]=_0x48cf13,_0x34d06d&&Object[_0x2f8083(0x352)](_0x34d06d)[_0x2f8083(0x220)](_0x364ec4=>this['_members']['set'](_0x364ec4,_0x34d06d[_0x364ec4]));}['getCurrentVersion'](){const _0x2178cb=_0x1afe5f;return this[_0x2178cb(0x21d)](this[_0x2178cb(0x1d8)][_0x2178cb(0x2d9)]);}[_0x1afe5f(0x21d)](_0x97e187){const _0x2ddf4d=_0x1afe5f;var _0x4172cb;return(_0x4172cb=this['_versions$'][_0x2ddf4d(0x2d9)])==null?void 0x0:_0x4172cb[_0x2ddf4d(0x39a)](_0x388abb=>_0x388abb['id']===_0x97e187);}[_0x1afe5f(0x259)](_0x47fa7c){const _0x5a11a9=_0x1afe5f;return this[_0x5a11a9(0x36f)][_0x5a11a9(0x300)](_0x47fa7c);}['_createMask'](){const _0x5e1e3e=_0x1afe5f;this[_0x5e1e3e(0x2d8)]=document[_0x5e1e3e(0x1ac)](_0x5e1e3e(0x247)),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x1bb)]='history-mask',this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)]['position']=_0x5e1e3e(0x3a8),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x243)]='0',this['_maskElement']['style'][_0x5e1e3e(0x264)]='0',this['_maskElement'][_0x5e1e3e(0x344)]['width']=_0x5e1e3e(0x242),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x21a)]='100%',this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x370)]=_0x5e1e3e(0x1d4),this['_maskElement'][_0x5e1e3e(0x344)][_0x5e1e3e(0x3b7)]=_0x5e1e3e(0x398),this['_maskElement'][_0x5e1e3e(0x344)]['display']=_0x5e1e3e(0x23a),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x2c0)]=_0x5e1e3e(0x2e3),this[_0x5e1e3e(0x2d8)]['style'][_0x5e1e3e(0x1b7)]=_0x5e1e3e(0x2f7),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)]['display']=_0x5e1e3e(0x1c0),this[_0x5e1e3e(0x190)][_0x5e1e3e(0x381)](this['_maskElement']);}['_initMaskContainer'](){const _0x4e938a=_0x1afe5f;var _0x4ac866;const _0x12cf79=(_0x4ac866=document[_0x4e938a(0x33c)](this[_0x4e938a(0x2c6)]))==null?void 0x0:_0x4ac866[_0x4e938a(0x374)]('.univer-app-container-content');_0x12cf79&&(this[_0x4e938a(0x190)]=_0x12cf79,this[_0x4e938a(0x2e0)]());}[_0x1afe5f(0x365)](){const _0x57caba=_0x1afe5f;this[_0x57caba(0x190)]||this[_0x57caba(0x23d)](),this[_0x57caba(0x2d8)]&&(this['_maskElement']['style'][_0x57caba(0x292)]='flex');}[_0x1afe5f(0x2e2)](){const _0x49cc47=_0x1afe5f;this['_maskElement']&&(this[_0x49cc47(0x2d8)][_0x49cc47(0x344)]['display']=_0x49cc47(0x1c0));}set[_0x1afe5f(0x395)](_0x31a817){this['_status$']['next'](_0x31a817);}set[_0x1afe5f(0x22e)](_0x3f5602){const _0x685e2f=_0x1afe5f;_0x3f5602!==this[_0x685e2f(0x1d8)]['value']&&this[_0x685e2f(0x1d8)]['next'](_0x3f5602);}get[_0x1afe5f(0x22e)](){const _0x17761d=_0x1afe5f;return this[_0x17761d(0x1d8)][_0x17761d(0x2d9)];}set[_0x1afe5f(0x3bb)](_0x4d17db){const _0xa98d2c=_0x1afe5f;this[_0xa98d2c(0x2cb)][_0xa98d2c(0x3a4)](_0x4d17db);}get[_0x1afe5f(0x3bb)](){const _0x18dfa6=_0x1afe5f;return this[_0x18dfa6(0x2cb)][_0x18dfa6(0x2d9)];}get[_0x1afe5f(0x394)](){return this['_canRevert'];}get[_0x1afe5f(0x18e)](){const _0xb452d=_0x1afe5f;return this[_0xb452d(0x19a)][_0xb452d(0x2d9)];}},_0x311108['HistoryManagerService']=_0x50c23c([_0x2c8225(0x0,_0x447332[_0x1afe5f(0x241)]),_0x2c8225(0x1,_0x447332['IConfirmService']),_0x2c8225(0x2,_0x5999cd['Inject'](_0x5999cd[_0x1afe5f(0x378)])),_0x2c8225(0x3,_0x5999cd[_0x1afe5f(0x205)](_0x61ac77))],_0x311108[_0x1afe5f(0x256)]);function _0x3b5f83({ref:_0x1f1675,..._0x54e97e}){const _0x25a32a=_0x1afe5f,{icon:_0x8c1cbf,id:_0x5e70e6,className:_0x14be93,extend:_0xe39f0b,..._0x2ea66a}=_0x54e97e,_0x38df21=(_0x25a32a(0x323)+_0x5e70e6+'\x20'+(_0x14be93||''))['trim'](),_0x102075=_0x3b3caa[_0x25a32a(0x2bf)]('_'+_0x1f5a5d());return _0x29468c(_0x8c1cbf,''+_0x5e70e6,{'defIds':_0x8c1cbf[_0x25a32a(0x281)],'idSuffix':_0x102075[_0x25a32a(0x273)]},{'ref':_0x1f1675,'className':_0x38df21,..._0x2ea66a},_0xe39f0b);}function _0x29468c(_0x4b0fe6,_0x2c0e4b,_0x19d4c7,_0x2006f4,_0x4f0665){const _0x344121=_0x1afe5f;return _0x3b3caa[_0x344121(0x1ac)](_0x4b0fe6[_0x344121(0x36e)],{'key':_0x2c0e4b,..._0x275493(_0x4b0fe6,_0x19d4c7,_0x4f0665),..._0x2006f4},(_0x2f19bc(_0x4b0fe6,_0x19d4c7)[_0x344121(0x1a6)]||[])[_0x344121(0x2a3)]((_0x1d099c,_0x273b80)=>_0x29468c(_0x1d099c,_0x2c0e4b+'-'+_0x4b0fe6['tag']+'-'+_0x273b80,_0x19d4c7,void 0x0,_0x4f0665)));}function _0x275493(_0x945155,_0x4761b7,_0x551999){const _0x513fcc=_0x1afe5f,_0x5a2f4d={..._0x945155[_0x513fcc(0x2d5)]};_0x551999!=null&&_0x551999[_0x513fcc(0x3ab)]&&_0x5a2f4d[_0x513fcc(0x3ae)]===_0x513fcc(0x3ab)&&(_0x5a2f4d['fill']=_0x551999[_0x513fcc(0x3ab)]),_0x945155['tag']===_0x513fcc(0x2e7)&&_0x5a2f4d['id']&&(_0x5a2f4d['id']=_0x5a2f4d['id']+_0x4761b7[_0x513fcc(0x386)]),Object['entries'](_0x5a2f4d)[_0x513fcc(0x220)](([_0x4a398e,_0x3d9e51])=>{const _0x26022d=_0x513fcc;_0x4a398e===_0x26022d(0x2e7)&&typeof _0x3d9e51==_0x26022d(0x28f)&&(_0x5a2f4d[_0x4a398e]=_0x3d9e51[_0x26022d(0x28a)](/url\(#(.*)\)/,_0x26022d(0x3c1)+_0x4761b7['idSuffix']+')'));});const {defIds:_0x547019}=_0x4761b7;return!_0x547019||_0x547019[_0x513fcc(0x2a4)]===0x0||(_0x945155['tag']===_0x513fcc(0x284)&&_0x5a2f4d[_0x513fcc(0x336)]&&(_0x5a2f4d[_0x513fcc(0x336)]=_0x5a2f4d[_0x513fcc(0x336)]+_0x4761b7[_0x513fcc(0x386)]),Object[_0x513fcc(0x2f4)](_0x5a2f4d)['forEach'](([_0x1a7a5b,_0x3c79f4])=>{const _0x19687d=_0x513fcc;typeof _0x3c79f4==_0x19687d(0x28f)&&(_0x5a2f4d[_0x1a7a5b]=_0x3c79f4[_0x19687d(0x28a)](/url\(#(.*)\)/,'url(#$1'+_0x4761b7[_0x19687d(0x386)]+')'));})),_0x5a2f4d;}function _0x2f19bc(_0x911e0e,_0x53ec7b){const _0x2678b5=_0x1afe5f;var _0x347c91;const {defIds:_0xbcff18}=_0x53ec7b;return!_0xbcff18||_0xbcff18[_0x2678b5(0x2a4)]===0x0?_0x911e0e:_0x911e0e['tag']===_0x2678b5(0x361)&&((_0x347c91=_0x911e0e['children'])!=null&&_0x347c91['length'])?{..._0x911e0e,'children':_0x911e0e[_0x2678b5(0x1a6)][_0x2678b5(0x2a3)](_0x193345=>typeof _0x193345[_0x2678b5(0x2d5)]['id']==_0x2678b5(0x28f)&&_0xbcff18&&_0xbcff18[_0x2678b5(0x246)](_0x193345[_0x2678b5(0x2d5)]['id'])?{..._0x193345,'attrs':{..._0x193345[_0x2678b5(0x2d5)],'id':_0x193345[_0x2678b5(0x2d5)]['id']+_0x53ec7b[_0x2678b5(0x386)]}}:_0x193345)}:_0x911e0e;}function _0x1f5a5d(){const _0x1500bd=_0x1afe5f;return Math['random']()[_0x1500bd(0x2fc)](0x24)[_0x1500bd(0x34a)](0x2,0x8);}_0x3b5f83['displayName']=_0x1afe5f(0x272);const _0x3cccbb={'tag':_0x1afe5f(0x2be),'attrs':{'xmlns':_0x1afe5f(0x207),'fill':_0x1afe5f(0x1c0),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1afe5f(0x1ea)},'children':[{'tag':'path','attrs':{'fill':_0x1afe5f(0x28c),'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'}}]},_0x35df19=_0x3b3caa[_0x1afe5f(0x2e5)](function(_0x4e38d0,_0x5aa6dd){const _0x1d2ec8=_0x1afe5f;return _0x3b3caa['createElement'](_0x3b5f83,Object[_0x1d2ec8(0x2e4)]({},_0x4e38d0,{'id':_0x1d2ec8(0x2b4),'ref':_0x5aa6dd,'icon':_0x3cccbb}));});_0x35df19['displayName']=_0x1afe5f(0x265);const _0x3724a3={'tag':_0x1afe5f(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2017','width':'1em','height':_0x1afe5f(0x1ea)},'children':[{'tag':'g','attrs':{'fill':_0x1afe5f(0x28c),'clipPath':_0x1afe5f(0x276)},'children':[{'tag':_0x1afe5f(0x385),'attrs':{'d':_0x1afe5f(0x34b)}},{'tag':_0x1afe5f(0x385),'attrs':{'d':'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','fillRule':_0x1afe5f(0x267),'clipRule':'evenodd'}}]},{'tag':_0x1afe5f(0x361),'attrs':{},'children':[{'tag':_0x1afe5f(0x320),'attrs':{'id':_0x1afe5f(0x252)},'children':[{'tag':_0x1afe5f(0x294),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x1afe5f(0x398),'rx':0x4}}]}]}],'defIds':[_0x1afe5f(0x252)]},_0x1be778=_0x3b3caa[_0x1afe5f(0x2e5)](function(_0x2e65e7,_0x2d48b4){const _0x592560=_0x1afe5f;return _0x3b3caa[_0x592560(0x1ac)](_0x3b5f83,Object['assign']({},_0x2e65e7,{'id':'restore-icon','ref':_0x2d48b4,'icon':_0x3724a3}));});_0x1be778['displayName']=_0x1afe5f(0x330);const _0x328cc2={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1afe5f(0x1c0),'viewBox':_0x1afe5f(0x29a),'width':_0x1afe5f(0x1ea),'height':_0x1afe5f(0x1ea)},'children':[{'tag':_0x1afe5f(0x385),'attrs':{'fill':'#0B9EFB','d':'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','fillOpacity':0.2,'fillRule':_0x1afe5f(0x267),'clipRule':_0x1afe5f(0x267)}},{'tag':_0x1afe5f(0x385),'attrs':{'fill':_0x1afe5f(0x23b),'d':_0x1afe5f(0x3b4),'fillRule':_0x1afe5f(0x267),'clipRule':_0x1afe5f(0x267)}}]},_0x274e2c=_0x3b3caa[_0x1afe5f(0x2e5)](function(_0x1e7ccb,_0x432d1f){const _0x486cc5=_0x1afe5f;return _0x3b3caa[_0x486cc5(0x1ac)](_0x3b5f83,Object[_0x486cc5(0x2e4)]({},_0x1e7ccb,{'id':'loading-multi-icon','ref':_0x432d1f,'icon':_0x328cc2}));});_0x274e2c[_0x1afe5f(0x185)]=_0x1afe5f(0x2ce);function _0x133b75(){const _0x3c7d13=_0x1afe5f;var _0x360920;const _0x46da91=_0x447332[_0x3c7d13(0x332)](_0x311108[_0x3c7d13(0x256)]),_0x5798a0=_0x447332[_0x3c7d13(0x332)](_0x5999cd[_0x3c7d13(0x378)]),_0xf485d2=_0x3b3caa[_0x3c7d13(0x27b)](()=>{const _0x20f80e=_0x3c7d13;_0x46da91[_0x20f80e(0x395)]=_0x4cb442[_0x20f80e(0x373)];},[_0x46da91]),_0x45299e=_0x3b3caa[_0x3c7d13(0x27b)](()=>{const _0x3200c9=_0x3c7d13;_0x46da91[_0x3200c9(0x30d)]();},[_0x46da91]),_0x32732a=_0x447332[_0x3c7d13(0x29e)](_0x46da91['currentVersion$']),_0x43c942=_0x447332[_0x3c7d13(0x29e)](_0x46da91[_0x3c7d13(0x35b)]),_0x26fce0=_0x32732a===((_0x360920=_0x43c942==null?void 0x0:_0x43c942[0x0])==null?void 0x0:_0x360920['id']),_0x3d63b8=_0x32732a!==''&&!_0x26fce0&&_0x46da91[_0x3c7d13(0x394)];return _0x4dbad1[_0x3c7d13(0x25e)](_0x3c7d13(0x247),{'className':_0x1f7c98[_0x3c7d13(0x1f1)](_0x3c7d13(0x263),_0x1f7c98['borderBottomClassName']),'children':[_0x4dbad1[_0x3c7d13(0x2ae)]('a',{'className':_0x3c7d13(0x2dc),'role':_0x3c7d13(0x3ad),'onClick':_0xf485d2,'children':_0x4dbad1['jsx'](_0x35df19,{'className':_0x3c7d13(0x236)})}),_0x4dbad1[_0x3c7d13(0x2ae)]('div',{'className':_0x3c7d13(0x3aa),'children':_0x3d63b8&&_0x4dbad1['jsx'](_0x1f7c98[_0x3c7d13(0x28d)],{'variant':'primary','onClick':_0x45299e,'children':_0x5798a0['t'](_0x3c7d13(0x1cc))})})]});}var _0x4b7af9=Object[_0x1afe5f(0x2d3)],_0x3822c1=(_0x208273,_0x11c115,_0x5a874d,_0xb205ca)=>{const _0x422f3d=_0x1afe5f;for(var _0x2d556b=_0xb205ca>0x1?void 0x0:_0xb205ca?_0x4b7af9(_0x11c115,_0x5a874d):_0x11c115,_0x32cebd=_0x208273[_0x422f3d(0x2a4)]-0x1,_0x32d469;_0x32cebd>=0x0;_0x32cebd--)(_0x32d469=_0x208273[_0x32cebd])&&(_0x2d556b=_0x32d469(_0x2d556b)||_0x2d556b);return _0x2d556b;},_0x397164=(_0x6deb91,_0x153e85)=>(_0x3b62d8,_0x5ca57c)=>_0x153e85(_0x3b62d8,_0x5ca57c,_0x6deb91);let _0x5201a6=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x4af7c9,_0x5c968c,_0x301e27,_0x5b2a5d,_0x468688,_0x1e569a){const _0x4e654f=_0x1afe5f;super(),this['_permissionService']=_0x4af7c9,this[_0x4e654f(0x1b3)]=_0x5c968c,this['_messageService']=_0x301e27,this[_0x4e654f(0x351)]=_0x5b2a5d,this[_0x4e654f(0x2c1)]=_0x468688,this[_0x4e654f(0x25b)]=_0x1e569a,this[_0x4e654f(0x28b)]();}[_0x1afe5f(0x28b)](){const _0x10537b=_0x1afe5f;this[_0x10537b(0x39b)](this[_0x10537b(0x2c1)][_0x10537b(0x238)]['subscribe'](_0x4f0785=>{const _0x57cd57=_0x10537b;_0x4f0785&&this['_historyManagerService'][_0x57cd57(0x366)](_0x4f0785);})),this[_0x10537b(0x39b)](this[_0x10537b(0x195)][_0x10537b(0x36b)][_0x10537b(0x26a)](_0x1421ad=>{const _0x160ccd=_0x10537b,_0x21b5b5=this['_historyManagerService'][_0x160ccd(0x3bb)];_0x21b5b5&&(_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240['Edit']&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e['WorkbookEditablePermission'](_0x21b5b5)['id'],!0x1),_0x1421ad['subType']===_0x1f8240[_0x160ccd(0x23c)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x31a12e[(_0x160ccd(0x308))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x3c4)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x35e))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x18d)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x328))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x187)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this[_0x160ccd(0x195)][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x22b))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x21f)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x22b))](_0x21b5b5)['id'],!0x1));})),this[_0x10537b(0x39b)](this[_0x10537b(0x1b3)][_0x10537b(0x274)](_0x447332[_0x10537b(0x210)][_0x10537b(0x316)],()=>_0x447332[_0x10537b(0x34d)](_0x133b75,this[_0x10537b(0x25b)]))),this[_0x10537b(0x39b)](this['_historyManagerService'][_0x10537b(0x2c5)][_0x10537b(0x26a)](_0x12e7fc=>{const _0x5916a0=_0x10537b;_0x12e7fc===_0x89285d[_0x5916a0(0x298)]&&(this[_0x5916a0(0x2c1)]['showMask'](),this[_0x5916a0(0x262)][_0x5916a0(0x3c2)]({'type':_0x1f7c98[_0x5916a0(0x1f5)]['Info'],'content':this[_0x5916a0(0x351)]['t'](_0x5916a0(0x1b2))})),_0x12e7fc===_0x89285d[_0x5916a0(0x3bc)]&&this[_0x5916a0(0x2c1)][_0x5916a0(0x2e2)]();}));}};_0x5201a6=_0x3822c1([_0x397164(0x0,_0x5999cd['IPermissionService']),_0x397164(0x1,_0x447332[_0x1afe5f(0x2c9)]),_0x397164(0x2,_0x447332[_0x1afe5f(0x241)]),_0x397164(0x3,_0x5999cd[_0x1afe5f(0x205)](_0x5999cd[_0x1afe5f(0x378)])),_0x397164(0x4,_0x5999cd['Inject'](_0x311108[_0x1afe5f(0x256)])),_0x397164(0x5,_0x5999cd['Inject'](_0x5999cd[_0x1afe5f(0x2f3)]))],_0x5201a6);var _0x13160c=Object[_0x1afe5f(0x2d3)],_0x3b3000=(_0x3079b5,_0x94d848,_0x32ae5f,_0x10ffad)=>{for(var _0x1bd70b=_0x10ffad>0x1?void 0x0:_0x10ffad?_0x13160c(_0x94d848,_0x32ae5f):_0x94d848,_0x500b8d=_0x3079b5['length']-0x1,_0x27230a;_0x500b8d>=0x0;_0x500b8d--)(_0x27230a=_0x3079b5[_0x500b8d])&&(_0x1bd70b=_0x27230a(_0x1bd70b)||_0x1bd70b);return _0x1bd70b;},_0x425839=(_0x16ee14,_0x4dba4e)=>(_0x260d64,_0x6e506c)=>_0x4dba4e(_0x260d64,_0x6e506c,_0x16ee14);let _0xbe32d7=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x5b6d18,_0x16765e,_0x9a6c1b){const _0x2f1823=_0x1afe5f;super(),_0x57ef2d(this,_0x2f1823(0x22c),new Map()),_0x57ef2d(this,_0x2f1823(0x253),new _0x2ae290[(_0x2f1823(0x3c7))]({'ranges':new Map(),'active':null})),_0x57ef2d(this,_0x2f1823(0x1a1),this[_0x2f1823(0x253)][_0x2f1823(0x24c)]()),(this[_0x2f1823(0x2c1)]=_0x5b6d18,this[_0x2f1823(0x25f)]=_0x16765e,this[_0x2f1823(0x26e)]=_0x9a6c1b,this['_init']());}[_0x1afe5f(0x28b)](){const _0x4b1f4e=_0x1afe5f;this[_0x4b1f4e(0x22c)]=new Map(),this['disposeWithMe'](this[_0x4b1f4e(0x2c1)]['unitId$'][_0x4b1f4e(0x26a)](_0xa490d9=>{const _0x7e0f70=_0x4b1f4e;_0xa490d9&&!this[_0x7e0f70(0x22c)]['has'](_0xa490d9)&&this['_diffRangesMap'][_0x7e0f70(0x1cf)](_0xa490d9,new Map());})),this['disposeWithMe'](this[_0x4b1f4e(0x2c1)][_0x4b1f4e(0x238)][_0x4b1f4e(0x26a)](async _0x378680=>{const _0x2a64f5=_0x4b1f4e;var _0xc51b4b;_0x378680&&(await this[_0x2a64f5(0x24a)](_0x378680),this[_0x2a64f5(0x253)][_0x2a64f5(0x3a4)](((_0xc51b4b=this['_diffRangesMap'][_0x2a64f5(0x300)](this[_0x2a64f5(0x2c1)]['unitId']))==null?void 0x0:_0xc51b4b[_0x2a64f5(0x300)](_0x378680))||{'ranges':new Map(),'active':null}));}));}async[_0x1afe5f(0x24a)](_0x269b89){const _0x124c57=_0x1afe5f;var _0x410b7f,_0x3ab855;const _0x5d14fa=this[_0x124c57(0x2c1)][_0x124c57(0x21d)](_0x269b89),_0x3a8626=this['_historyManagerService'][_0x124c57(0x3bb)];if(!_0x5d14fa||!_0x3a8626)return;const _0xf3cfb=this[_0x124c57(0x22c)][_0x124c57(0x300)](_0x3a8626);if(_0xf3cfb||this[_0x124c57(0x22c)][_0x124c57(0x1cf)](_0x3a8626,new Map()),(_0x410b7f=this[_0x124c57(0x22c)][_0x124c57(0x300)](_0x3a8626))!=null&&_0x410b7f[_0x124c57(0x271)](_0x5d14fa['id']))return;const {startRev:_0x61cd9f,endRev:_0x487da6}=_0x5d14fa;if(_0x61cd9f===0x1){_0xf3cfb[_0x124c57(0x1cf)](_0x5d14fa['id'],{'ranges':new Map(),'active':null});return;}const _0x459cbf=_0x61cd9f-0x1,_0x12c311=_0x487da6,_0x3840d0=await this[_0x124c57(0x26e)][_0x124c57(0x2b0)]({},{'unitID':_0x3a8626,'from':_0x459cbf,'to':_0x12c311,'type':_0x49d7de[_0x124c57(0x1dd)]});if(((_0x3ab855=_0x3840d0[_0x124c57(0x19e)])==null?void 0x0:_0x3ab855['code'])===_0x1a56b0['OK']){const _0x35aa44=_0x3840d0['changesets'][_0x124c57(0x2a3)](_0x19cc39=>((_0x19cc39[_0x124c57(0x1c1)]===null||_0x19cc39[_0x124c57(0x1c1)]===void 0x0)&&(_0x19cc39[_0x124c57(0x1c1)]=[]),_0x221432['parseProtocolChangeset'](_0x19cc39)))['map'](_0x78af4d=>_0x78af4d[_0x124c57(0x1c1)][_0x124c57(0x2a3)](_0x21c7de=>({..._0x21c7de,'params':{..._0x21c7de[_0x124c57(0x2ac)],'memberId':_0x78af4d[_0x124c57(0x2f2)]}})))[_0x124c57(0x217)](),_0x43f370=this[_0x124c57(0x2bc)](_0x35aa44),_0x3df01c=this[_0x124c57(0x20b)](_0x35aa44),_0x599329=this['_extractRanges'](_0x43f370);_0xf3cfb[_0x124c57(0x1cf)](_0x5d14fa['id'],{'ranges':_0x599329,'active':_0x3df01c});}}[_0x1afe5f(0x2bc)](_0x5024f1){const _0x1cb6b1=_0x1afe5f;let _0x2844b7=[];for(let _0x5d526f=0x0;_0x5d526f<_0x5024f1[_0x1cb6b1(0x2a4)];_0x5d526f++){const _0x21751b=_0x5024f1[_0x5d526f];if(_0x2844b7[_0x1cb6b1(0x2d4)](_0x21751b),_0x5d526f!==_0x5024f1[_0x1cb6b1(0x2a4)]-0x1){const _0x440288=_0x5024f1[_0x5d526f+0x1],_0x4b97ed=this['_transformService'][_0x1cb6b1(0x3b6)](_0x2844b7,[_0x440288]);_0x221432[_0x1cb6b1(0x3af)](_0x4b97ed)?_0x2844b7=_0x4b97ed[_0x1cb6b1(0x28e)]:_0x2844b7=[];}}return _0x2844b7;}[_0x1afe5f(0x20b)](_0x31d32a){const _0x3a0985=_0x1afe5f;let _0x461142=[];return _0x31d32a[_0x3a0985(0x220)](_0x3c8716=>{const _0x47b3d1=_0x3a0985;if(_0x3c8716['id']===_0x31a12e[_0x47b3d1(0x249)]['id']){const _0x4593e8=_0x3c8716[_0x47b3d1(0x2ac)];_0x461142['push'](_0x4593e8['sheet']['id']);}else{if(_0x3c8716['id']===_0x31a12e[_0x47b3d1(0x362)]['id']){const _0x1bc6dd=_0x3c8716[_0x47b3d1(0x2ac)];_0x461142[_0x47b3d1(0x2a4)]>0x0&&(_0x461142=_0x461142[_0x47b3d1(0x221)](_0x7dd682=>_0x7dd682!==_0x1bc6dd[_0x47b3d1(0x1b8)]));}else{if(_0x3c8716['id']===_0x31a12e[_0x47b3d1(0x350)]['id']){const _0x101c6d=_0x3c8716[_0x47b3d1(0x2ac)];_0x101c6d[_0x47b3d1(0x36a)]?_0x461142=_0x461142[_0x47b3d1(0x221)](_0x243554=>_0x243554!==_0x101c6d['subUnitId']):_0x461142[_0x47b3d1(0x2d4)](_0x101c6d[_0x47b3d1(0x1b8)]);}else{const _0xb835d1=_0x3c8716['params'];_0xb835d1[_0x47b3d1(0x1b8)]&&_0x461142[_0x47b3d1(0x2d4)](_0xb835d1[_0x47b3d1(0x1b8)]);}}}}),_0x461142[_0x3a0985(0x2a4)]>0x0?_0x461142[_0x461142[_0x3a0985(0x2a4)]-0x1]:null;}[_0x1afe5f(0x287)](_0x3986cb){const _0x2789e2=_0x1afe5f,_0x13b9a6=new Map();return _0x3986cb[_0x2789e2(0x220)](_0x468731=>{const _0x262fc8=_0x2789e2;var _0x2d18da,_0x591a31;const _0xfc2683=(_0x2d18da=_0x468731[_0x262fc8(0x2ac)])==null?void 0x0:_0x2d18da[_0x262fc8(0x261)];if(_0xfc2683){_0x13b9a6[_0x262fc8(0x271)](_0xfc2683)||_0x13b9a6[_0x262fc8(0x1cf)](_0xfc2683,[]);const _0x54eeae=this['_getRangesByMutation'](_0x468731);(_0x591a31=_0x13b9a6[_0x262fc8(0x300)](_0xfc2683))==null||_0x591a31[_0x262fc8(0x2d4)](..._0x54eeae);}}),_0x13b9a6[_0x2789e2(0x220)]((_0x521e8c,_0x39360c)=>{const _0x1613a8=_0x2789e2;_0x13b9a6[_0x1613a8(0x1cf)](_0x39360c,this[_0x1613a8(0x193)](_0x521e8c));}),_0x13b9a6;}[_0x1afe5f(0x1d6)](_0x919eab){const _0x3d52e5=_0x1afe5f;switch(_0x919eab['id']){case _0x31a12e[_0x3d52e5(0x239)]['id']:{const _0x273240=_0x919eab['params'];return _0x273240[_0x3d52e5(0x315)][_0x3d52e5(0x2a3)](_0x5027e3=>_0x5027e3[_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x124bac=>({'range':_0x124bac,'unitId':_0x273240[_0x3d52e5(0x3bb)],'subUnitId':_0x273240[_0x3d52e5(0x1b8)]})))[_0x3d52e5(0x217)]();}case _0x31a12e[_0x3d52e5(0x39f)]['id']:{const _0x11ae5c=_0x919eab['params'];return _0x11ae5c[_0x3d52e5(0x1d2)]['map'](_0x5428d1=>({'range':_0x5428d1,'unitId':_0x11ae5c[_0x3d52e5(0x3bb)],'subUnitId':_0x11ae5c['subUnitId']}));}case _0x31a12e[_0x3d52e5(0x359)]['id']:{const _0x138e1a=_0x919eab[_0x3d52e5(0x2ac)];return[{'range':_0x138e1a[_0x3d52e5(0x1d3)],'unitId':_0x138e1a[_0x3d52e5(0x3bb)],'subUnitId':_0x138e1a[_0x3d52e5(0x1b8)]}];}case _0x31a12e[_0x3d52e5(0x27e)]['id']:{const _0x47d7f6=_0x919eab[_0x3d52e5(0x2ac)];return[{'range':_0x47d7f6[_0x3d52e5(0x1d3)],'unitId':_0x47d7f6[_0x3d52e5(0x3bb)],'subUnitId':_0x47d7f6['subUnitId']}];}case _0x31a12e['MoveRangeMutation']['id']:{const _0x2d5023=_0x919eab[_0x3d52e5(0x2ac)],{from:_0x43d1e4,to:_0x3c5720,unitId:_0x2ec633}=_0x2d5023;return[{'range':_0x4109e0(_0x43d1e4[_0x3d52e5(0x2d9)]),'unitId':_0x2ec633,'subUnitId':_0x43d1e4['subUnitId']},{'range':_0x4109e0(_0x3c5720[_0x3d52e5(0x2d9)]),'unitId':_0x2ec633,'subUnitId':_0x3c5720[_0x3d52e5(0x1b8)]}];}case _0x31a12e[_0x3d52e5(0x3c0)]['id']:{const _0x279ac1=_0x919eab[_0x3d52e5(0x2ac)],{unitId:_0x492858,subUnitId:_0x48896f,sourceRange:_0x8055d8,targetRange:_0x2653d3}=_0x279ac1,_0xfb2bb=_0x8055d8[_0x3d52e5(0x376)]-_0x8055d8['startRow']+0x1;return[{'range':_0x2653d3[_0x3d52e5(0x1c7)]<=_0x8055d8[_0x3d52e5(0x1c7)]?_0x2653d3:{..._0x2653d3,'startRow':_0x2653d3[_0x3d52e5(0x1c7)]-_0xfb2bb,'endRow':_0x2653d3[_0x3d52e5(0x376)]-_0xfb2bb},'unitId':_0x492858,'subUnitId':_0x48896f}];}case _0x31a12e[_0x3d52e5(0x393)]['id']:{const _0x5cde80=_0x919eab['params'],{unitId:_0x57ae6c,subUnitId:_0xaf07ac,sourceRange:_0x447903,targetRange:_0x2e12dc}=_0x5cde80,_0x3a98c7=_0x447903[_0x3d52e5(0x293)]-_0x447903[_0x3d52e5(0x255)]+0x1;return[{'range':_0x2e12dc['startColumn']<=_0x447903[_0x3d52e5(0x255)]?_0x2e12dc:{..._0x2e12dc,'startColumn':_0x2e12dc[_0x3d52e5(0x255)]-_0x3a98c7,'endColumn':_0x2e12dc[_0x3d52e5(0x293)]-_0x3a98c7},'unitId':_0x57ae6c,'subUnitId':_0xaf07ac}];}case _0x31a12e[_0x3d52e5(0x2f8)]['id']:{const _0xbd6692=_0x919eab[_0x3d52e5(0x2ac)],{values:_0x3dffb9,unitId:_0x321a9a,subUnitId:_0x24d9af}=_0xbd6692;return Object[_0x3d52e5(0x2e9)](_0x3dffb9)[_0x3d52e5(0x2a3)](_0x38e148=>_0x38e148[_0x3d52e5(0x1d2)]['map'](_0x129655=>({'range':_0x129655,'unitId':_0x321a9a,'subUnitId':_0x24d9af})))[_0x3d52e5(0x217)]();}case _0x31a12e[_0x3d52e5(0x38c)]['id']:{const _0x370900=_0x919eab['params'],{ranges:_0x40da6b,unitId:_0x27f486,subUnitId:_0x510ab0}=_0x370900;return _0x40da6b[_0x3d52e5(0x2a3)](_0x3552dc=>({'range':_0x3552dc,'unitId':_0x27f486,'subUnitId':_0x510ab0}));}case _0x31a12e[_0x3d52e5(0x387)]['id']:{const _0x25861f=_0x919eab[_0x3d52e5(0x2ac)],{unitId:_0x2cef9b,subUnitId:_0x93e21a,range:_0x1dabc8}=_0x25861f;return[{'range':_0x1dabc8,'unitId':_0x2cef9b,'subUnitId':_0x93e21a}];}case _0x31a12e[_0x3d52e5(0x340)]['id']:{const _0x124ff6=_0x919eab[_0x3d52e5(0x2ac)];return _0x124ff6[_0x3d52e5(0x309)][_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x43c4d0=>({'range':_0x43c4d0,'unitId':_0x124ff6[_0x3d52e5(0x3bb)],'subUnitId':_0x124ff6[_0x3d52e5(0x1b8)]}));}case _0x31a12e['SetRangeValuesMutation']['id']:{const _0x2abeae=_0x919eab[_0x3d52e5(0x2ac)];return _0x2abeae[_0x3d52e5(0x1b6)]?_0x2baaab(_0x2abeae['cellValue'])[_0x3d52e5(0x2a3)](_0x5c302c=>({'range':_0x5c302c,'unitId':_0x2abeae[_0x3d52e5(0x3bb)],'subUnitId':_0x2abeae[_0x3d52e5(0x1b8)]})):[];}case _0x45108d[_0x3d52e5(0x3b0)]['id']:{const _0x564c18=_0x919eab[_0x3d52e5(0x2ac)];return[{'range':_0x564c18[_0x3d52e5(0x1d3)],'unitId':_0x564c18['unitId'],'subUnitId':_0x564c18[_0x3d52e5(0x1b8)]}];}case _0x1dd3f5[_0x3d52e5(0x26f)]['id']:{const _0x119524=_0x919eab['params'];return(Array[_0x3d52e5(0x31c)](_0x119524[_0x3d52e5(0x309)])?_0x119524[_0x3d52e5(0x309)]:[_0x119524[_0x3d52e5(0x309)]])[_0x3d52e5(0x2a3)](_0x52615f=>_0x52615f[_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x55ecd0=>({'range':_0x55ecd0,'unitId':_0x119524[_0x3d52e5(0x3bb)],'subUnitId':_0x119524[_0x3d52e5(0x1b8)]})))[_0x3d52e5(0x217)]();}case _0x1034bd[_0x3d52e5(0x318)]['id']:{const _0x53d11f=_0x919eab['params'];return _0x53d11f['rule'][_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x2ab04a=>({'range':_0x2ab04a,'unitId':_0x53d11f['unitId'],'subUnitId':_0x53d11f[_0x3d52e5(0x1b8)]}));}default:return[];}}[_0x1afe5f(0x193)](_0x163d94){const _0xc1d7a6=_0x1afe5f;if(_0x163d94[_0xc1d7a6(0x2a4)]<=0x1)return _0x163d94;const _0x5d69fb=new Map();return _0x163d94[_0xc1d7a6(0x220)](_0x55bdc6=>{const _0x342258=_0xc1d7a6;var _0x1df459;const {unitId:_0x17f7ac,subUnitId:_0x11c37b}=_0x55bdc6,_0x20261f=_0x17f7ac+'-'+_0x11c37b;_0x5d69fb['has'](_0x20261f)?(_0x1df459=_0x5d69fb[_0x342258(0x300)](_0x20261f))==null||_0x1df459[_0x342258(0x2d4)](_0x55bdc6):_0x5d69fb['set'](_0x20261f,[_0x55bdc6]);}),Array[_0xc1d7a6(0x2b2)](_0x5d69fb[_0xc1d7a6(0x2e9)]())[_0xc1d7a6(0x2a3)](_0x8ac31f=>new _0x31a12e[(_0xc1d7a6(0x369))]()[_0xc1d7a6(0x1f2)](..._0x8ac31f[_0xc1d7a6(0x2a3)](_0x42f72b=>_0x42f72b[_0xc1d7a6(0x1d3)]))[_0xc1d7a6(0x260)]()[_0xc1d7a6(0x2a3)](_0x2c4fc1=>({'range':_0x2c4fc1,'unitId':_0x8ac31f[0x0][_0xc1d7a6(0x3bb)],'subUnitId':_0x8ac31f[0x0][_0xc1d7a6(0x1b8)]})))[_0xc1d7a6(0x217)]();}};_0xbe32d7=_0x3b3000([_0x425839(0x0,_0x5999cd[_0x1afe5f(0x205)](_0x311108[_0x1afe5f(0x256)])),_0x425839(0x1,_0x221432[_0x1afe5f(0x191)]),_0x425839(0x2,_0x221432[_0x1afe5f(0x1e3)])],_0xbe32d7);function _0x4109e0(_0x2dc379){const _0x254200=_0x1afe5f;return new _0x5999cd[(_0x254200(0x280))](_0x2dc379)[_0x254200(0x33d)]();}function _0x2baaab(_0xbaccb0){const _0x188aa7=_0x1afe5f,_0x3a7fec=new _0x5999cd[(_0x188aa7(0x280))](_0xbaccb0),_0x2a1c72=new _0x5999cd['ObjectMatrix']();return _0x3a7fec[_0x188aa7(0x368)]((_0x36a2b2,_0x399e7f)=>{const _0x8e23b0=_0x188aa7;_0x2a1c72[_0x8e23b0(0x27c)](_0x36a2b2,_0x399e7f,0x1);}),_0x31a12e['findAllRectangle'](_0x2a1c72);}var _0x5644ce=Object['getOwnPropertyDescriptor'],_0xe5463c=(_0xaa1b5d,_0xcc6138,_0x3ad788,_0x2001b4)=>{for(var _0x177301=_0x2001b4>0x1?void 0x0:_0x2001b4?_0x5644ce(_0xcc6138,_0x3ad788):_0xcc6138,_0x4863de=_0xaa1b5d['length']-0x1,_0x5f11c7;_0x4863de>=0x0;_0x4863de--)(_0x5f11c7=_0xaa1b5d[_0x4863de])&&(_0x177301=_0x5f11c7(_0x177301)||_0x177301);return _0x177301;},_0x453f3e=(_0x2a293b,_0x32d807)=>(_0x44d09f,_0x1d8df9)=>_0x32d807(_0x44d09f,_0x1d8df9,_0x2a293b);let _0x5bea65=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x49ce79,_0x5d1bee,_0x3b5a04,_0x27755a,_0x5a1511,_0x2a05b1,_0x465b30){const _0x1f0c29=_0x1afe5f;super(),_0x57ef2d(this,_0x1f0c29(0x346),new Set()),_0x57ef2d(this,'_lastPointer',null),(this[_0x1f0c29(0x1bc)]=_0x49ce79,this[_0x1f0c29(0x2c1)]=_0x5d1bee,this[_0x1f0c29(0x35a)]=_0x3b5a04,this[_0x1f0c29(0x39d)]=_0x27755a,this[_0x1f0c29(0x231)]=_0x5a1511,this['_sheetSkeletonManagerService']=_0x2a05b1,this['_commandService']=_0x465b30,this['_init']());}['_init'](){this['_initRender'](),this['_initActiveSwitch']();}[_0x1afe5f(0x21e)](){const _0x273396=_0x1afe5f;this[_0x273396(0x39b)](_0x2ae290[_0x273396(0x2f6)]([this[_0x273396(0x2c1)][_0x273396(0x2c5)],this[_0x273396(0x1db)][_0x273396(0x355)]])[_0x273396(0x2b8)](_0x2ae290[_0x273396(0x1ba)](([_0xa7e6fd,_0xf6f0dc])=>{const _0x1b0a27=_0x273396;if(_0xa7e6fd===_0x89285d[_0x1b0a27(0x3bc)]&&_0xf6f0dc){const _0x1bf54b=_0xf6f0dc[_0x1b0a27(0x208)];return this[_0x1b0a27(0x35a)][_0x1b0a27(0x1a1)][_0x1b0a27(0x2b8)](_0x2ae290['map'](_0x400c1e=>{const _0x176df7=_0x1b0a27,_0x3f8016=new Map();return _0x400c1e[_0x176df7(0x1d2)]['forEach']((_0x386a40,_0x38183a)=>{const _0x5a7040=_0x176df7,_0x20691b=_0x386a40[_0x5a7040(0x221)](_0x368095=>_0x368095[_0x5a7040(0x1b8)]===_0x1bf54b);_0x3f8016[_0x5a7040(0x1cf)](_0x38183a,_0x20691b);}),{'skeleton':_0xf6f0dc,'diffs':_0x3f8016};}));}return _0x2ae290['of']({'skeleton':null,'diffs':new Map()});}))[_0x273396(0x26a)](({skeleton:_0x11f43d,diffs:_0x4171e5})=>{const _0x520910=_0x273396;this['_removeDiffMarks'](),_0x11f43d&&this[_0x520910(0x3c5)](_0x11f43d,_0x4171e5);})),this[_0x273396(0x39b)](this[_0x273396(0x1db)][_0x273396(0x355)][_0x273396(0x26a)](_0x4da7be=>{const _0x50a27e=_0x273396;if(_0x4da7be==null)return;const {skeleton:_0x9fe300}=_0x4da7be,{scene:_0x3718bc}=this[_0x50a27e(0x1bc)];_0x3718bc['onPointerMove$']['subscribeEvent'](_0x5999cd[_0x50a27e(0x32b)](_0x196f42=>{const _0x10d015=_0x50a27e;var _0x405259,_0x2bcefb;const {offsetX:_0x3aa736,offsetY:_0x266ae1}=_0x196f42,{x:_0x2aa29f,y:_0x58c950}=_0x3718bc['getRelativeToViewportCoord'](_0x9378cd['Vector2']['FromArray']([_0x3aa736,_0x266ae1])),{scaleX:_0x24487d,scaleY:_0x495d5f}=_0x3718bc[_0x10d015(0x2ba)](),_0x3cdea3=_0x3718bc[_0x10d015(0x199)](_0x9378cd[_0x10d015(0x1fd)][_0x10d015(0x3b3)]),_0x2ed338=_0x3718bc[_0x10d015(0x198)](_0x9378cd[_0x10d015(0x248)][_0x10d015(0x1d0)]([_0x2aa29f,_0x58c950]),_0x3cdea3),_0x523e4a=_0x9fe300[_0x10d015(0x31e)](_0x3aa736,_0x266ae1,_0x24487d,_0x495d5f,_0x2ed338);((_0x405259=this['_lastPointer'])==null?void 0x0:_0x405259[_0x10d015(0x38b)])===_0x523e4a['column']&&((_0x2bcefb=this['_lastPointer'])==null?void 0x0:_0x2bcefb[_0x10d015(0x1d5)])===_0x523e4a[_0x10d015(0x1d5)]||this['_diffs']['forEach'](_0xb1514e=>{const _0x2e98e7=_0x10d015;_0xb1514e[_0x2e98e7(0x2ed)](_0x523e4a);});},0x64));}));}[_0x1afe5f(0x1a3)](){const _0x4ef95a=_0x1afe5f;this[_0x4ef95a(0x39b)](this['_historyManagerService'][_0x4ef95a(0x2c5)][_0x4ef95a(0x26a)](_0xc8d331=>{const _0xf96545=_0x4ef95a,_0xa1c5=new _0x5999cd[(_0xf96545(0x305))]();return _0xc8d331===_0x89285d[_0xf96545(0x3bc)]&&(_0xa1c5['dispose'](),_0xa1c5[_0xf96545(0x1f2)](this['_versionDiffService'][_0xf96545(0x1a1)]['subscribe'](_0x35d4ce=>{const _0x558e5a=_0xf96545;_0x35d4ce[_0x558e5a(0x1cb)]&&this[_0x558e5a(0x1bf)][_0x558e5a(0x2f0)](_0x31a12e[_0x558e5a(0x307)]['id'],{'unitId':this[_0x558e5a(0x1bc)][_0x558e5a(0x3bb)],'subUnitId':_0x35d4ce[_0x558e5a(0x1cb)]});}))),()=>_0xa1c5[_0xf96545(0x23e)]();}));}[_0x1afe5f(0x3c5)](_0x2ec6e9,_0x3c7b91){const _0x1c6606=_0x1afe5f;var _0x196361;const _0x5c8310=(_0x196361=this[_0x1c6606(0x1db)][_0x1c6606(0x2ea)]())==null?void 0x0:_0x196361[_0x1c6606(0x329)];if(!_0x5c8310)return;this['_diffs'][_0x1c6606(0x220)](_0x3461fc=>{const _0x4edbfa=_0x1c6606;_0x3461fc[_0x4edbfa(0x397)]();});const {scene:_0x4e8866}=this['_context'],_0x521cfb=Array['from'](_0x3c7b91[_0x1c6606(0x352)]())['map'](_0x18898c=>_0x3c7b91[_0x1c6606(0x300)](_0x18898c)[_0x1c6606(0x2a3)](_0x10710e=>{const _0x4fa4e9=_0x1c6606;var _0x114a35;const {range:_0x2cacfe,subUnitId:_0x2f8937,unitId:_0x360519}=_0x10710e,{startColumn:_0x47833e,startRow:_0x47eb02,endColumn:_0x1ac79f,endRow:_0x20f350}=_0x2cacfe,_0x520ff3=_0x1f85a6[_0x4fa4e9(0x2d2)](_0x47eb02,_0x47833e,_0x4e8866,_0x5c8310),_0x33fb93=_0x1f85a6[_0x4fa4e9(0x2d2)](_0x20f350,_0x1ac79f,_0x4e8866,_0x5c8310),{columnHeaderHeightAndMarginTop:_0x39ab69}=_0x5c8310,{startX:_0x4332dd,startY:_0x293673}=_0x520ff3,{endX:_0x3820b2,endY:_0x12955a}=_0x33fb93,_0x16b499=_0x3820b2-_0x4332dd,_0x5055f8=_0x12955a-_0x293673,_0x46afef={'labelPosition':_0x293673-_0x39ab69>=0x14?'top':_0x4fa4e9(0x1aa),'sheetID':_0x2f8937,'range':_0x2cacfe,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x114a35=this[_0x4fa4e9(0x2c1)][_0x4fa4e9(0x259)](_0x18898c))==null?void 0x0:_0x114a35['name'])||'','selection':_0x360519+'-'+_0x2f8937+'-'+_0x2cacfe[_0x4fa4e9(0x255)]+'-'+_0x2cacfe[_0x4fa4e9(0x1c7)]+'-'+_0x2cacfe['endColumn']+'-'+_0x2cacfe['endRow'],'left':_0x4332dd,'top':_0x293673,'width':_0x16b499,'height':_0x5055f8,'evented':!0x1,'zIndex':0x1};return new _0xab4d26['SheetCollabCursorShape']('',_0x46afef);}))[_0x1c6606(0x217)]();_0x4e8866[_0x1c6606(0x2da)](_0x521cfb,0x1),this[_0x1c6606(0x346)]=new Set(_0x521cfb);}[_0x1afe5f(0x1b9)](){const _0x421041=_0x1afe5f;var _0x297e5a;(_0x297e5a=this['_diffs'])==null||_0x297e5a[_0x421041(0x220)](_0x53a3e9=>_0x53a3e9[_0x421041(0x23e)]());}[_0x1afe5f(0x1a2)](){const _0x578bd=_0x1afe5f;return _0x1f85a6[_0x578bd(0x20a)](this[_0x578bd(0x39d)],this[_0x578bd(0x231)]);}};_0x5bea65=_0xe5463c([_0x453f3e(0x1,_0x5999cd[_0x1afe5f(0x205)](_0x311108[_0x1afe5f(0x256)])),_0x453f3e(0x2,_0x5999cd['Inject'](_0xbe32d7)),_0x453f3e(0x3,_0x5999cd['IUniverInstanceService']),_0x453f3e(0x4,_0x9378cd['IRenderManagerService']),_0x453f3e(0x5,_0x5999cd[_0x1afe5f(0x205)](_0x1f85a6[_0x1afe5f(0x2a1)])),_0x453f3e(0x6,_0x5999cd['ICommandService'])],_0x5bea65);function _0x22fa36(){const _0x162afd=_0x1afe5f,_0x38b786=_0x447332[_0x162afd(0x332)](_0x311108['HistoryManagerService']),_0x573235=_0x447332[_0x162afd(0x29e)](_0x38b786[_0x162afd(0x35b)]),[_0x5e9bd4,_0x4cf579]=_0x3b3caa[_0x162afd(0x22a)](!0x1),_0x40ba60=_0x6dcede(_0x573235);return _0x573235?_0x4dbad1[_0x162afd(0x2ae)](_0x162afd(0x247),{'className':_0x162afd(0x25a),'children':_0x4dbad1[_0x162afd(0x25e)](_0x162afd(0x247),{'className':_0x162afd(0x33b),'children':[_0x40ba60['map']((_0x5e8155,_0xb97672)=>_0x4dbad1[_0x162afd(0x25e)](_0x3b3caa[_0x162afd(0x1b1)],{'children':[_0x4dbad1[_0x162afd(0x2ae)](_0x2b24b2,{'date':_0x5e8155[_0x162afd(0x1e5)]}),_0x5e8155[_0x162afd(0x194)][_0x162afd(0x2a3)]((_0x530397,_0x66566e)=>_0x4dbad1[_0x162afd(0x2ae)](_0xfbecf,{'index':[_0xb97672,_0x66566e],'item':_0x530397},_0xb97672+'-'+_0x66566e))]},_0x5e8155['dateString'])),_0x5e9bd4&&_0x4dbad1[_0x162afd(0x2ae)](_0x1f56a7,{})]})}):_0x4dbad1[_0x162afd(0x2ae)](_0x297e98,{});}function _0x1f56a7(){const _0xe91358=_0x1afe5f;return _0x4dbad1[_0xe91358(0x2ae)](_0xe91358(0x247),{'className':_0xe91358(0x1dc),'children':_0x4dbad1['jsx'](_0x274e2c,{'className':'univer-animate-spin'})});}function _0x297e98(){const _0x42d218=_0x1afe5f;return _0x4dbad1[_0x42d218(0x2ae)](_0x42d218(0x247),{'className':_0x42d218(0x2f9),'children':_0x4dbad1['jsx']('span',{'className':_0x42d218(0x1da),'children':_0x4dbad1[_0x42d218(0x2ae)](_0x274e2c,{'className':_0x42d218(0x343)})})});}function _0x2b24b2(_0x45b41f){const _0x97f6a8=_0x1afe5f,_0x5e212b=_0x447332['useDependency'](_0x5999cd[_0x97f6a8(0x378)]),{date:_0x2b00c7}=_0x45b41f;return _0x4dbad1[_0x97f6a8(0x2ae)]('div',{'className':_0x97f6a8(0x338),'children':_0x56ddd8(_0x2b00c7,_0x5e212b[_0x97f6a8(0x240)]())});}function _0xfbecf(_0x25a453){const _0x328d2d=_0x1afe5f,{item:_0x45de15,index:_0x19ba33}=_0x25a453,{time:_0xe00cb2,user:_0x458a48}=_0x45de15,[_0x57caa4,_0xf663a8]=_0x19ba33,_0x11f8d7=_0x447332['useDependency'](_0x311108[_0x328d2d(0x256)]),_0x2eae5e=_0x447332['useObservable'](_0x11f8d7['currentVersion$'],'',!0x0)===_0x45de15['id'],_0x552042=_0x57caa4===0x0&&_0xf663a8===0x0,_0x486193=!_0x552042&&_0x11f8d7[_0x328d2d(0x394)],_0x505010=_0x447332[_0x328d2d(0x332)](_0x5999cd['LocaleService']),_0x1d9d8b=_0x505010['getCurrentLocale'](),_0x6791d0=_0x414a26(_0xe00cb2,_0x1d9d8b),_0x596241=_0x505010['t']('editHistory.panel.currentVersion'),_0x5e2a7d=_0x3b3caa[_0x328d2d(0x27b)](_0x16604f=>{const _0x1e4401=_0x328d2d;_0x11f8d7[_0x1e4401(0x18e)]!==_0x89285d[_0x1e4401(0x298)]&&(_0x11f8d7['currentVersion']=_0x16604f);},[_0x11f8d7]),_0x1d744a=_0x3b3caa[_0x328d2d(0x27b)](_0xb661c9=>{const _0x38e45f=_0x328d2d;_0x11f8d7[_0x38e45f(0x30d)](_0xb661c9);},[_0x11f8d7]);return _0x4dbad1[_0x328d2d(0x25e)](_0x328d2d(0x247),{'className':_0x1f7c98['clsx'](_0x328d2d(0x201),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x2eae5e}),'onClick':()=>_0x5e2a7d(_0x45de15['id']),'children':[_0x4dbad1[_0x328d2d(0x25e)]('div',{'className':_0x328d2d(0x1e4),'children':[_0x4dbad1[_0x328d2d(0x25e)](_0x328d2d(0x247),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x4dbad1[_0x328d2d(0x2ae)]('span',{'children':_0x6791d0['time']}),_0x552042&&_0x4dbad1[_0x328d2d(0x2ae)](_0x328d2d(0x32a),{'className':_0x328d2d(0x36d),'children':_0x596241})]}),_0x4dbad1[_0x328d2d(0x2ae)]('div',{'children':_0x486193&&_0x4dbad1[_0x328d2d(0x2ae)](_0x1f7c98[_0x328d2d(0x2cf)],{'title':_0x505010['t'](_0x328d2d(0x186)),'children':_0x4dbad1[_0x328d2d(0x2ae)](_0x328d2d(0x247),{'onClick':_0x15cd37=>{const _0x4a2b5b=_0x328d2d;_0x15cd37[_0x4a2b5b(0x37b)](),_0x1d744a(_0x45de15['id']);},'className':_0x328d2d(0x371),'children':_0x4dbad1[_0x328d2d(0x2ae)](_0x1be778,{})})})})]}),_0x4dbad1[_0x328d2d(0x2ae)](_0x328d2d(0x247),{'className':_0x328d2d(0x2a7),'children':_0x2d0f08(_0x45de15,_0x505010)})]});}var _0x24e937=Object[_0x1afe5f(0x2d3)],_0x45b300=(_0x542f34,_0x4616c6,_0x3bb1b3,_0x2ae76c)=>{for(var _0x21ceca=_0x2ae76c>0x1?void 0x0:_0x2ae76c?_0x24e937(_0x4616c6,_0x3bb1b3):_0x4616c6,_0x14325f=_0x542f34['length']-0x1,_0x17524e;_0x14325f>=0x0;_0x14325f--)(_0x17524e=_0x542f34[_0x14325f])&&(_0x21ceca=_0x17524e(_0x21ceca)||_0x21ceca);return _0x21ceca;},_0x1b3e68=(_0x29660f,_0x1f97ed)=>(_0x137f40,_0x37b4bd)=>_0x1f97ed(_0x137f40,_0x37b4bd,_0x29660f);const _0x762eda='history-panel';let _0xeafef4=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x18962d,_0x2cdb31,_0x4e2734,_0xb3be91){const _0x7b5e68=_0x1afe5f;super(),_0x57ef2d(this,_0x7b5e68(0x19f),null),(this[_0x7b5e68(0x269)]=_0x18962d,this[_0x7b5e68(0x1e7)]=_0x2cdb31,this[_0x7b5e68(0x351)]=_0x4e2734,this[_0x7b5e68(0x2c1)]=_0xb3be91,this[_0x7b5e68(0x28b)]());}[_0x1afe5f(0x28b)](){const _0x592a04=_0x1afe5f;this[_0x592a04(0x218)](),this[_0x592a04(0x375)]();}[_0x1afe5f(0x375)](){const _0x37e6da=_0x1afe5f;if(this['_sidebarDisposable'])return;const _0x2e7dec={'header':{'title':this[_0x37e6da(0x351)]['t'](_0x37e6da(0x38d))},'children':{'label':_0x762eda},'onClose':()=>{const _0x521850=_0x37e6da;this[_0x521850(0x19f)]=null,this[_0x521850(0x2c1)][_0x521850(0x395)]=_0x4cb442[_0x521850(0x373)];}};this[_0x37e6da(0x19f)]=this[_0x37e6da(0x269)]['open']({..._0x2e7dec});}[_0x1afe5f(0x218)](){const _0x593ebd=_0x1afe5f;this['disposeWithMe'](this[_0x593ebd(0x1e7)][_0x593ebd(0x2c2)](_0x762eda,_0x22fa36)),this['disposeWithMe'](this[_0x593ebd(0x269)][_0x593ebd(0x399)]['pipe'](_0x2ae290[_0x593ebd(0x364)](0x64))[_0x593ebd(0x26a)](_0x3df84a=>{const _0x1d09d9=_0x593ebd,{target:_0x566f92}=_0x3df84a||{};if(_0x566f92){const {scrollTop:_0x267db1,scrollHeight:_0x58d384,clientHeight:_0x84e1b0}=_0x566f92;_0x267db1+_0x84e1b0>=_0x58d384-0x5&&this['_historyManagerService'][_0x1d09d9(0x37c)]();}}));}};_0xeafef4=_0x45b300([_0x1b3e68(0x0,_0x447332[_0x1afe5f(0x2eb)]),_0x1b3e68(0x1,_0x5999cd['Inject'](_0x447332[_0x1afe5f(0x295)])),_0x1b3e68(0x2,_0x5999cd['Inject'](_0x5999cd['LocaleService'])),_0x1b3e68(0x3,_0x5999cd[_0x1afe5f(0x205)](_0x311108[_0x1afe5f(0x256)]))],_0xeafef4);class _0x3fd4bf extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(){const _0x997590=_0x1afe5f;super(),_0x57ef2d(this,_0x997590(0x2e1),new _0x2ae290['Subject']());}[_0x1afe5f(0x27d)](){const _0x732bf6=_0x1afe5f;return _0x5999cd[_0x732bf6(0x182)](()=>{});}[_0x1afe5f(0x30a)](){}[_0x1afe5f(0x37a)](_0x18e303){}['getDialogs$'](){return this['_dialogOptions$']['asObservable']();}}var _0x1b8126=Object[_0x1afe5f(0x379)],_0x16842b=Object[_0x1afe5f(0x2d3)],_0x481c22=(_0x2d5df1,_0x144fd3,_0x8a588b)=>_0x144fd3 in _0x2d5df1?_0x1b8126(_0x2d5df1,_0x144fd3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8a588b}):_0x2d5df1[_0x144fd3]=_0x8a588b,_0x128e6f=(_0x25b5d9,_0x5ae618,_0x1b47da,_0x313373)=>{const _0x9721d1=_0x1afe5f;for(var _0x448356=_0x313373>0x1?void 0x0:_0x313373?_0x16842b(_0x5ae618,_0x1b47da):_0x5ae618,_0x52f429=_0x25b5d9[_0x9721d1(0x2a4)]-0x1,_0x5e33be;_0x52f429>=0x0;_0x52f429--)(_0x5e33be=_0x25b5d9[_0x52f429])&&(_0x448356=_0x5e33be(_0x448356)||_0x448356);return _0x448356;},_0x2e9eb7=(_0x5b7184,_0x222aac)=>(_0x58db0d,_0x19844a)=>_0x222aac(_0x58db0d,_0x19844a,_0x5b7184),_0x4fb9aa=(_0x45be1b,_0x2cd861,_0x28a333)=>_0x481c22(_0x45be1b,_0x2cd861+'',_0x28a333);const _0xc32d7e=_0x1afe5f(0x288);_0x311108[_0x1afe5f(0x3a2)]=class extends _0x5999cd['Plugin']{constructor(_0x3740ac=_0x5cf162,_0x5005e1,_0x245fe3,_0x258320){const _0x8894aa=_0x1afe5f;super(),this['_config']=_0x3740ac,this[_0x8894aa(0x25b)]=_0x5005e1,this[_0x8894aa(0x231)]=_0x245fe3,this[_0x8894aa(0x383)]=_0x258320;const {..._0x2c6031}=_0x5999cd[_0x8894aa(0x260)]({},_0x5cf162,this[_0x8894aa(0x2fa)]);this[_0x8894aa(0x383)][_0x8894aa(0x321)](_0x438df1,_0x2c6031);}[_0x1afe5f(0x3a5)](){const _0x10a537=_0x1afe5f;[[_0x311108[_0x10a537(0x256)]],[_0x5201a6],[_0xbe32d7],[_0x61ac77],[_0xeafef4],[_0x412f1a],[_0x221432[_0x10a537(0x1e3)],{'useClass':_0x4371ba[_0x10a537(0x1c9)]}],[_0x447332[_0x10a537(0x20e)],{'useClass':_0x3fd4bf}],[_0x17f407[_0x10a537(0x21b)],{'useClass':_0x4371ba['CollaborationImageIoService']}]]['forEach'](_0x5ed2ef=>this['_injector'][_0x10a537(0x1f2)](_0x5ed2ef)),this['_injector'][_0x10a537(0x300)](_0x5201a6);}['onRendered'](){const _0x217145=_0x1afe5f;[[_0x5bea65]]['forEach'](_0x1a25c5=>{const _0x36c4f5=_0x1d45;this[_0x36c4f5(0x39b)](this[_0x36c4f5(0x231)][_0x36c4f5(0x2ca)](_0x5999cd[_0x36c4f5(0x313)][_0x36c4f5(0x1dd)],_0x1a25c5));}),this[_0x217145(0x25b)][_0x217145(0x300)](_0x412f1a),this['_injector'][_0x217145(0x300)](_0xeafef4);}[_0x1afe5f(0x2b9)](){const _0x299b36=_0x1afe5f;this[_0x299b36(0x25b)]['get'](_0xbe32d7);}},_0x4fb9aa(_0x311108['UniverEditHistoryViewerPlugin'],_0x1afe5f(0x226),_0xc32d7e),_0x311108[_0x1afe5f(0x3a2)]=_0x128e6f([_0x5999cd[_0x1afe5f(0x225)](_0x1f85a6[_0x1afe5f(0x35d)],_0x5eeed9[_0x1afe5f(0x2de)]),_0x2e9eb7(0x1,_0x5999cd[_0x1afe5f(0x205)](_0x5999cd[_0x1afe5f(0x2f3)])),_0x2e9eb7(0x2,_0x9378cd[_0x1afe5f(0x334)]),_0x2e9eb7(0x3,_0x5999cd['IConfigService'])],_0x311108[_0x1afe5f(0x3a2)]),_0x311108[_0x1afe5f(0x314)]=_0x4cb442,Object[_0x1afe5f(0x379)](_0x311108,Symbol[_0x1afe5f(0x2af)],{'value':_0x1afe5f(0x30f)});}));
|
|
17
|
+
function _0x558a(_0x59a82b,_0x52338c){_0x59a82b=_0x59a82b-0xc0;const _0x366141=_0x3661();let _0x558aa9=_0x366141[_0x59a82b];return _0x558aa9;}(function(_0x3f5be8,_0x58dc36){const _0xd32f61=_0x558a,_0x46b815=_0x3f5be8();while(!![]){try{const _0x16e9bf=-parseInt(_0xd32f61(0x203))/0x1+parseInt(_0xd32f61(0x138))/0x2+parseInt(_0xd32f61(0x1f7))/0x3*(-parseInt(_0xd32f61(0x245))/0x4)+-parseInt(_0xd32f61(0x186))/0x5*(-parseInt(_0xd32f61(0x262))/0x6)+-parseInt(_0xd32f61(0x240))/0x7*(parseInt(_0xd32f61(0x2c8))/0x8)+parseInt(_0xd32f61(0x1b8))/0x9*(parseInt(_0xd32f61(0x12c))/0xa)+-parseInt(_0xd32f61(0xe5))/0xb*(-parseInt(_0xd32f61(0x30e))/0xc);if(_0x16e9bf===_0x58dc36)break;else _0x46b815['push'](_0x46b815['shift']());}catch(_0x4e77a0){_0x46b815['push'](_0x46b815['shift']());}}}(_0x3661,0x7ba3d),function(_0x324a44,_0x108392){const _0x369c53=_0x558a;typeof exports==_0x369c53(0x104)&&typeof module<'u'?_0x108392(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==_0x369c53(0x1ae)&&define[_0x369c53(0x264)]?define(['exports',_0x369c53(0x173),'@univerjs-pro/collaboration-client',_0x369c53(0x222),_0x369c53(0xe0),'@univerjs/engine-render',_0x369c53(0x117),_0x369c53(0x2cc),_0x369c53(0xcd),_0x369c53(0x239),_0x369c53(0x195),_0x369c53(0xf5),_0x369c53(0x1af),_0x369c53(0x246),_0x369c53(0x1a4),_0x369c53(0x21c),'@univerjs/sheets-filter','react/jsx-runtime',_0x369c53(0x149),_0x369c53(0x18d)],_0x108392):(_0x324a44=typeof globalThis<'u'?globalThis:_0x324a44||self,_0x108392(_0x324a44[_0x369c53(0x1e7)]={},_0x324a44[_0x369c53(0x1eb)],_0x324a44[_0x369c53(0x1b9)],_0x324a44[_0x369c53(0x2b6)],_0x324a44[_0x369c53(0x16f)],_0x324a44[_0x369c53(0x1e6)],_0x324a44['UniverNetwork'],_0x324a44[_0x369c53(0xc6)],_0x324a44[_0x369c53(0xf0)],_0x324a44[_0x369c53(0x1c0)],_0x324a44[_0x369c53(0x207)],_0x324a44[_0x369c53(0xf5)],_0x324a44[_0x369c53(0x2e5)],_0x324a44[_0x369c53(0x1ad)],_0x324a44[_0x369c53(0x2fa)],_0x324a44[_0x369c53(0xee)],_0x324a44[_0x369c53(0x291)],_0x324a44[_0x369c53(0x1ff)],_0x324a44['React'],_0x324a44[_0x369c53(0xcf)]));}(this,function(_0x46408b,_0xab9f40,_0x1a112f,_0x28441d,_0x422f58,_0x5e2c75,_0x5afce2,_0x39cd2a,_0x4f852b,_0x58cc08,_0x2418c3,_0x4d6694,_0x755755,_0x28e4a0,_0x12b210,_0x956b12,_0x5e08b9,_0x16077d,_0xc96c92,_0x15af9a){'use strict';const _0x327e4b=_0x558a;var _0x2d0b10=Object[_0x327e4b(0x1d3)],_0x369945=(_0xbc2777,_0x431664,_0x52c966)=>_0x431664 in _0xbc2777?_0x2d0b10(_0xbc2777,_0x431664,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52c966}):_0xbc2777[_0x431664]=_0x52c966,_0x494fdf=(_0x5dc071,_0x28ee03,_0x3b949b)=>_0x369945(_0x5dc071,typeof _0x28ee03!=_0x327e4b(0x12a)?_0x28ee03+'':_0x28ee03,_0x3b949b);const _0x5ad169='edit-history-viewer.config',_0x68d9a0={};var _0x732ff=Object[_0x327e4b(0xe1)],_0x1cffe8=(_0x282e2e,_0x3ce670,_0x27ed1d,_0x326cc8)=>{const _0x171375=_0x327e4b;for(var _0x5a41d0=_0x326cc8>0x1?void 0x0:_0x326cc8?_0x732ff(_0x3ce670,_0x27ed1d):_0x3ce670,_0x44914a=_0x282e2e[_0x171375(0x2a3)]-0x1,_0x5800d9;_0x44914a>=0x0;_0x44914a--)(_0x5800d9=_0x282e2e[_0x44914a])&&(_0x5a41d0=_0x5800d9(_0x5a41d0)||_0x5a41d0);return _0x5a41d0;},_0x1119b3=(_0x344cd0,_0x5c0c3e)=>(_0x3f74c2,_0x3bcd0e)=>_0x5c0c3e(_0x3f74c2,_0x3bcd0e,_0x344cd0);let _0xe7df63=class extends _0x28441d[_0x327e4b(0x1d5)]{constructor(_0x515178){const _0x4c1e6d=_0x327e4b;super(),this[_0x4c1e6d(0x17a)]=_0x515178,this['_init']();}[_0x327e4b(0x27d)](){const _0x2c1f7e=_0x327e4b;this[_0x2c1f7e(0x2b1)](this['_cellEditorManagerService'][_0x2c1f7e(0x24b)][_0x2c1f7e(0x2ab)](_0x569a30=>{const _0x320d7e=_0x2c1f7e;_0x569a30!=null&&_0x569a30['show']&&this[_0x320d7e(0x17a)][_0x320d7e(0x278)]({'show':!0x1});}));}};_0xe7df63=_0x1cffe8([_0x1119b3(0x0,_0x39cd2a[_0x327e4b(0x2c6)])],_0xe7df63);var _0x18984a=(_0x3b10d4=>(_0x3b10d4[_0x3b10d4[_0x327e4b(0x24c)]=0x0]=_0x327e4b(0x24c),_0x3b10d4[_0x3b10d4['OK']=0x1]='OK',_0x3b10d4[_0x3b10d4[_0x327e4b(0xfd)]=0x2]=_0x327e4b(0xfd),_0x3b10d4[_0x3b10d4[_0x327e4b(0x1e9)]=0x3]=_0x327e4b(0x1e9),_0x3b10d4[_0x3b10d4[_0x327e4b(0x28a)]=0x4]='NOT_FOUND',_0x3b10d4[_0x3b10d4[_0x327e4b(0x28d)]=0x5]=_0x327e4b(0x28d),_0x3b10d4[_0x3b10d4['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x3b10d4[_0x3b10d4['INVALID_ARGUMENT']=0x7]=_0x327e4b(0x2bf),_0x3b10d4[_0x3b10d4[_0x327e4b(0x272)]=0x8]=_0x327e4b(0x272),_0x3b10d4[_0x3b10d4[_0x327e4b(0x1f2)]=0x9]=_0x327e4b(0x1f2),_0x3b10d4[_0x3b10d4['LOGIN_FAILED']=0xa]=_0x327e4b(0x1d6),_0x3b10d4[_0x3b10d4['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x327e4b(0x1ab),_0x3b10d4[_0x3b10d4[_0x327e4b(0x25b)]=0xc]=_0x327e4b(0x25b),_0x3b10d4[_0x3b10d4['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x327e4b(0xe6),_0x3b10d4[_0x3b10d4[_0x327e4b(0x210)]=0xe]=_0x327e4b(0x210),_0x3b10d4[_0x3b10d4[_0x327e4b(0x128)]=0xf]=_0x327e4b(0x128),_0x3b10d4[_0x3b10d4[_0x327e4b(0x12d)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x3b10d4[_0x3b10d4[_0x327e4b(0x101)]=0x64]=_0x327e4b(0x101),_0x3b10d4[_0x3b10d4['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x3b10d4[_0x3b10d4[_0x327e4b(0x30a)]=0xc9]=_0x327e4b(0x30a),_0x3b10d4[_0x3b10d4[_0x327e4b(0x2c5)]=0xca]=_0x327e4b(0x2c5),_0x3b10d4[_0x3b10d4[_0x327e4b(0x23f)]=0x1389]=_0x327e4b(0x23f),_0x3b10d4[_0x3b10d4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x327e4b(0x1db),_0x3b10d4[_0x3b10d4[_0x327e4b(0x1ec)]=0x1772]=_0x327e4b(0x1ec),_0x3b10d4[_0x3b10d4[_0x327e4b(0x1c1)]=0x1773]=_0x327e4b(0x1c1),_0x3b10d4[_0x3b10d4[_0x327e4b(0x11f)]=0x1b59]='APPLY_REJECT',_0x3b10d4[_0x3b10d4[_0x327e4b(0x17e)]=0x1b5a]=_0x327e4b(0x17e),_0x3b10d4[_0x3b10d4[_0x327e4b(0x23b)]=0x1b5b]=_0x327e4b(0x23b),_0x3b10d4[_0x3b10d4[_0x327e4b(0xdd)]=0x1b5c]=_0x327e4b(0xdd),_0x3b10d4[_0x3b10d4[_0x327e4b(0x14c)]=0x1b5d]=_0x327e4b(0x14c),_0x3b10d4[_0x3b10d4[_0x327e4b(0x30f)]=0x1f41]=_0x327e4b(0x30f),_0x3b10d4[_0x3b10d4[_0x327e4b(0x119)]=0x2329]=_0x327e4b(0x119),_0x3b10d4[_0x3b10d4[_0x327e4b(0x10e)]=0x232a]=_0x327e4b(0x10e),_0x3b10d4[_0x3b10d4[_0x327e4b(0x310)]=0x232b]=_0x327e4b(0x310),_0x3b10d4[_0x3b10d4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x327e4b(0x159),_0x3b10d4[_0x3b10d4[_0x327e4b(0x251)]=0x232d]=_0x327e4b(0x251),_0x3b10d4[_0x3b10d4['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x327e4b(0x199),_0x3b10d4[_0x3b10d4[_0x327e4b(0x120)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3b10d4[_0x3b10d4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x327e4b(0x290),_0x3b10d4[_0x3b10d4[_0x327e4b(0x27c)]=0x2714]=_0x327e4b(0x27c),_0x3b10d4[_0x3b10d4['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3b10d4[_0x3b10d4['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x327e4b(0x1bd),_0x3b10d4[_0x3b10d4[_0x327e4b(0x2b4)]=0x271c]=_0x327e4b(0x2b4),_0x3b10d4[_0x3b10d4[_0x327e4b(0x1a3)]=0x271d]=_0x327e4b(0x1a3),_0x3b10d4[_0x3b10d4[_0x327e4b(0x13b)]=0x271e]=_0x327e4b(0x13b),_0x3b10d4[_0x3b10d4[_0x327e4b(0x2a1)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3b10d4[_0x3b10d4['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3b10d4[_0x3b10d4['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x327e4b(0x2e0),_0x3b10d4[_0x3b10d4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x327e4b(0x2be),_0x3b10d4[_0x3b10d4[_0x327e4b(0xfb)]=0x2ee2]=_0x327e4b(0xfb),_0x3b10d4[_0x3b10d4[_0x327e4b(0x170)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3b10d4[_0x3b10d4[_0x327e4b(0x1cb)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3b10d4[_0x3b10d4[_0x327e4b(0xed)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3b10d4[_0x3b10d4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x327e4b(0x18a),_0x3b10d4[_0x3b10d4['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x327e4b(0x192),_0x3b10d4[_0x3b10d4[_0x327e4b(0x27b)]=0x32cb]=_0x327e4b(0x27b),_0x3b10d4[_0x3b10d4[_0x327e4b(0x1c3)]=0x36b1]=_0x327e4b(0x1c3),_0x3b10d4[_0x3b10d4[_0x327e4b(0x136)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x3b10d4[_0x3b10d4[_0x327e4b(0x1bb)]=0x36b3]=_0x327e4b(0x1bb),_0x3b10d4[_0x3b10d4[_0x327e4b(0x23d)]=0x36b4]=_0x327e4b(0x23d),_0x3b10d4[_0x3b10d4['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x327e4b(0x130),_0x3b10d4[_0x3b10d4[_0x327e4b(0xd8)]=0x36b6]=_0x327e4b(0xd8),_0x3b10d4[_0x3b10d4[_0x327e4b(0x30c)]=0x36b7]=_0x327e4b(0x30c),_0x3b10d4[_0x3b10d4[_0x327e4b(0x23e)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x3b10d4[_0x3b10d4[_0x327e4b(0x2bd)]=0x3715]=_0x327e4b(0x2bd),_0x3b10d4[_0x3b10d4[_0x327e4b(0xc0)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x3b10d4[_0x3b10d4[_0x327e4b(0x1d1)]=0x3717]=_0x327e4b(0x1d1),_0x3b10d4[_0x3b10d4[_0x327e4b(0x15c)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x3b10d4[_0x3b10d4[_0x327e4b(0x2f6)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x3b10d4[_0x3b10d4[_0x327e4b(0x2f1)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x3b10d4[_0x3b10d4[_0x327e4b(0x1c8)]=0x3a9b]=_0x327e4b(0x1c8),_0x3b10d4[_0x3b10d4[_0x327e4b(0x19e)]=0x3a9c]=_0x327e4b(0x19e),_0x3b10d4[_0x3b10d4[_0x327e4b(0x1d0)]=0x3a9d]=_0x327e4b(0x1d0),_0x3b10d4[_0x3b10d4[_0x327e4b(0x297)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x3b10d4[_0x3b10d4[_0x327e4b(0x24f)]=0x3a9f]=_0x327e4b(0x24f),_0x3b10d4[_0x3b10d4['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x327e4b(0xdc),_0x3b10d4[_0x3b10d4['UNRECOGNIZED']=-0x1]=_0x327e4b(0x174),_0x3b10d4))(_0x18984a||{}),_0x1aae14=(_0x33bcac=>(_0x33bcac[_0x33bcac['UNIVER_UNKNOWN']=0x0]=_0x327e4b(0xd5),_0x33bcac[_0x33bcac[_0x327e4b(0x259)]=0x1]=_0x327e4b(0x259),_0x33bcac[_0x33bcac[_0x327e4b(0x200)]=0x2]=_0x327e4b(0x200),_0x33bcac[_0x33bcac['UNIVER_SLIDE']=0x3]=_0x327e4b(0xc8),_0x33bcac[_0x33bcac[_0x327e4b(0x21b)]=0x4]='UNIVER_PROJECT',_0x33bcac[_0x33bcac[_0x327e4b(0x174)]=-0x1]=_0x327e4b(0x174),_0x33bcac))(_0x1aae14||{}),_0x16bd42=(_0x3cafb5=>(_0x3cafb5[_0x3cafb5['View']=0x0]=_0x327e4b(0x27a),_0x3cafb5[_0x3cafb5[_0x327e4b(0x29e)]=0x1]=_0x327e4b(0x29e),_0x3cafb5[_0x3cafb5['ManageCollaborator']=0x2]=_0x327e4b(0x248),_0x3cafb5[_0x3cafb5[_0x327e4b(0x228)]=0x3]='Print',_0x3cafb5[_0x3cafb5[_0x327e4b(0x118)]=0x4]='Duplicate',_0x3cafb5[_0x3cafb5[_0x327e4b(0x28c)]=0x5]=_0x327e4b(0x28c),_0x3cafb5[_0x3cafb5[_0x327e4b(0x269)]=0x6]=_0x327e4b(0x269),_0x3cafb5[_0x3cafb5[_0x327e4b(0x142)]=0x7]=_0x327e4b(0x142),_0x3cafb5[_0x3cafb5[_0x327e4b(0x2a7)]=0x8]=_0x327e4b(0x2a7),_0x3cafb5[_0x3cafb5['MoveWorksheet']=0x9]=_0x327e4b(0x2c9),_0x3cafb5[_0x3cafb5['DeleteWorksheet']=0xa]='DeleteWorksheet',_0x3cafb5[_0x3cafb5[_0x327e4b(0xc9)]=0xb]=_0x327e4b(0xc9),_0x3cafb5[_0x3cafb5[_0x327e4b(0x125)]=0xc]=_0x327e4b(0x125),_0x3cafb5[_0x3cafb5['CreateWorksheet']=0xd]=_0x327e4b(0x2f0),_0x3cafb5[_0x3cafb5[_0x327e4b(0x20a)]=0xe]='SetWorksheetStyle',_0x3cafb5[_0x3cafb5['EditWorksheetCell']=0xf]=_0x327e4b(0x311),_0x3cafb5[_0x3cafb5[_0x327e4b(0x2af)]=0x10]=_0x327e4b(0x2af),_0x3cafb5[_0x3cafb5['Sort']=0x11]=_0x327e4b(0xcc),_0x3cafb5[_0x3cafb5[_0x327e4b(0x1b3)]=0x12]='Filter',_0x3cafb5[_0x3cafb5[_0x327e4b(0x288)]=0x13]='PivotTable',_0x3cafb5[_0x3cafb5[_0x327e4b(0x249)]=0x14]=_0x327e4b(0x249),_0x3cafb5[_0x3cafb5[_0x327e4b(0x1fb)]=0x15]=_0x327e4b(0x1fb),_0x3cafb5[_0x3cafb5[_0x327e4b(0x2ed)]=0x16]=_0x327e4b(0x2ed),_0x3cafb5[_0x3cafb5[_0x327e4b(0x236)]=0x17]=_0x327e4b(0x236),_0x3cafb5[_0x3cafb5[_0x327e4b(0x2cf)]=0x18]=_0x327e4b(0x2cf),_0x3cafb5[_0x3cafb5['MoveSheet']=0x19]=_0x327e4b(0x10a),_0x3cafb5[_0x3cafb5['DeleteSheet']=0x1a]=_0x327e4b(0x1a1),_0x3cafb5[_0x3cafb5['HideSheet']=0x1b]=_0x327e4b(0x19f),_0x3cafb5[_0x3cafb5[_0x327e4b(0x178)]=0x1c]=_0x327e4b(0x178),_0x3cafb5[_0x3cafb5[_0x327e4b(0x141)]=0x1d]=_0x327e4b(0x141),_0x3cafb5[_0x3cafb5[_0x327e4b(0x17f)]=0x1e]='CreateSheet',_0x3cafb5[_0x3cafb5[_0x327e4b(0x1ac)]=0x1f]=_0x327e4b(0x1ac),_0x3cafb5[_0x3cafb5[_0x327e4b(0x1b0)]=0x20]=_0x327e4b(0x1b0),_0x3cafb5[_0x3cafb5[_0x327e4b(0x1be)]=0x21]=_0x327e4b(0x1be),_0x3cafb5[_0x3cafb5[_0x327e4b(0x18f)]=0x22]=_0x327e4b(0x18f),_0x3cafb5[_0x3cafb5['SetRowStyle']=0x23]='SetRowStyle',_0x3cafb5[_0x3cafb5[_0x327e4b(0x14a)]=0x24]=_0x327e4b(0x14a),_0x3cafb5[_0x3cafb5['InsertRow']=0x25]=_0x327e4b(0x2c7),_0x3cafb5[_0x3cafb5['InsertColumn']=0x26]='InsertColumn',_0x3cafb5[_0x3cafb5[_0x327e4b(0x2e4)]=0x27]=_0x327e4b(0x2e4),_0x3cafb5[_0x3cafb5['DeleteColumn']=0x28]='DeleteColumn',_0x3cafb5[_0x3cafb5[_0x327e4b(0x144)]=0x29]=_0x327e4b(0x144),_0x3cafb5[_0x3cafb5['Delete']=0x2a]='Delete',_0x3cafb5[_0x3cafb5[_0x327e4b(0x2aa)]=0x2b]=_0x327e4b(0x2aa),_0x3cafb5[_0x3cafb5['ViewHistory']=0x2c]=_0x327e4b(0x2ac),_0x3cafb5[_0x3cafb5[_0x327e4b(0x1b5)]=0x2d]=_0x327e4b(0x1b5),_0x3cafb5[_0x3cafb5[_0x327e4b(0x174)]=-0x1]=_0x327e4b(0x174),_0x3cafb5))(_0x16bd42||{});function _0x586a13(_0x233a15){const _0x18013a=_0x327e4b;return!!(_0x233a15&&_0x233a15['code']&&_0x233a15[_0x18013a(0x2b0)]!==_0x18984a['OK']&&_0x233a15[_0x18013a(0x2b0)]!=='OK');}const _0x234ef7=(_0x494d98,_0x50407f)=>{const _0x4f4be2=_0x327e4b;if(!_0x494d98)return{'date':'','time':''};const _0x6ccc67=new Date(_0x494d98),_0x1b4112=_0x6ccc67[_0x4f4be2(0x143)]()[_0x4f4be2(0x158)]('T')[0x0];switch(_0x50407f){case _0x28441d[_0x4f4be2(0x2df)]['ZH_CN']:return{'date':_0x4676f9(_0x1b4112,_0x50407f),'time':_0x6ccc67[_0x4f4be2(0x1f3)]()+':'+String(_0x6ccc67[_0x4f4be2(0x1e5)]())[_0x4f4be2(0x294)](0x2,'0')+':'+String(_0x6ccc67[_0x4f4be2(0x146)]())[_0x4f4be2(0x294)](0x2,'0')};default:return{'date':_0x4676f9(_0x1b4112,_0x50407f),'time':_0x6ccc67['getHours']()+':'+_0x6ccc67[_0x4f4be2(0x1e5)]()+':'+_0x6ccc67[_0x4f4be2(0x146)]()};}},_0x1739bd=(_0xa9f8f0,_0x5d15ea)=>{const _0x334167=_0x327e4b,_0x43430c=_0xa9f8f0[_0x334167(0x172)]||_0x5d15ea['t'](_0x334167(0xcb));if(_0xa9f8f0[_0x334167(0x227)]['some'](_0x11b06c=>_0x11b06c===_0xab9f40[_0x334167(0x162)]['id'])&&_0xa9f8f0[_0x334167(0x197)]){const _0x40be0f=_0x234ef7(_0xa9f8f0[_0x334167(0x197)],_0x5d15ea['getCurrentLocale']()),_0x1b8db4=_0x40be0f['date']+'\x20'+_0x40be0f['time'];return _0x43430c+'\x20'+_0x5d15ea['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0x1b8db4+'\x20'+_0x5d15ea['t']('editHistory.action.revertSheetSuffix');}const _0x51b236=_0x1e7fa3(_0xa9f8f0),_0x5dc21b=_0x51b236[_0x334167(0x2a3)]===0x1?_0x5d15ea['t'](_0x51b236[0x0]):''+_0x5d15ea['t'](_0x51b236[0x0])+_0x5d15ea['t'](_0x334167(0x1e8));return _0x43430c+'\x20'+_0x5dc21b;};function _0x1e7fa3(_0xd3930d){const _0x2740ea=_0x327e4b;if(_0xd3930d['commands'][_0x2740ea(0x2a3)]===0x0)return[''];const _0x5183cd=_0x2740ea(0x28e),_0x54adce=_0x5183cd+_0x2740ea(0x275),_0x56f83e=[{'id':_0xab9f40[_0x2740ea(0x299)]['id'],'action':_0x5183cd+_0x2740ea(0x280)},{'id':_0xab9f40['RevertRevisionMutation']['id'],'action':_0x5183cd+_0x2740ea(0x133)},{'id':_0x2418c3[_0x2740ea(0x213)]['id'],'action':_0x5183cd+_0x2740ea(0x293)},{'id':_0x2418c3[_0x2740ea(0x145)]['id'],'action':_0x5183cd+_0x2740ea(0x1ce)},{'id':_0x2418c3[_0x2740ea(0x218)]['id'],'action':_0x5183cd+'setFrozen'},{'id':_0x5e08b9['SetSheetsFilterRangeMutation']['id'],'action':_0x5183cd+'setFilter'},{'id':_0x12b210['AddDataValidationMutation']['id'],'action':_0x5183cd+_0x2740ea(0x123)},{'id':_0x12b210[_0x2740ea(0x17b)]['id'],'action':_0x5183cd+_0x2740ea(0x123)},{'id':_0x956b12[_0x2740ea(0x110)]['id'],'action':_0x5183cd+'setCF'},{'id':_0x956b12[_0x2740ea(0x29c)]['id'],'action':_0x5183cd+_0x2740ea(0x283)},{'id':_0x2418c3['AddWorksheetProtectionMutation']['id'],'action':_0x5183cd+_0x2740ea(0x111)},{'id':_0x2418c3[_0x2740ea(0x2f5)]['id'],'action':_0x5183cd+_0x2740ea(0x111)},{'id':_0x28e4a0[_0x2740ea(0x2de)]['id'],'action':_0x5183cd+_0x2740ea(0x1fa)},{'id':_0x755755[_0x2740ea(0x157)]['id'],'action':_0x5183cd+_0x2740ea(0x2ae)},{'id':_0x2418c3[_0x2740ea(0x312)]['id'],'action':_0x5183cd+_0x2740ea(0x179)},{'id':_0x2418c3['DeleteWorksheetProtectionMutation']['id'],'action':_0x5183cd+'deleteProtection'}]['filter'](_0x328a08=>_0xd3930d[_0x2740ea(0x227)]['includes'](_0x328a08['id']));return _0x56f83e!=null&&_0x56f83e[_0x2740ea(0x2a3)]?_0x56f83e[_0x2740ea(0x13a)](_0x41921e=>_0x41921e[_0x2740ea(0x247)]):[_0x54adce];}function _0x4676f9(_0x5809c3,_0x59ed8e){const _0x1a527b=_0x327e4b,[_0x2cb036,_0x586748,_0x52d0f7]=new Date()['toISOString']()['split']('T')[0x0][_0x1a527b(0x158)]('-'),[_0x2d84d7,_0x372350,_0x67d59c]=_0x5809c3[_0x1a527b(0x158)]('-'),_0x427505=_0x2cb036===_0x2d84d7&&_0x586748===_0x372350&&_0x52d0f7===_0x67d59c;let _0x2f87d7='',_0x15fe1f='',_0x218034='';switch(_0x59ed8e){case _0x28441d['LocaleType'][_0x1a527b(0x23a)]:return _0x427505?'今天':(_0x2f87d7=_0x2cb036===_0x2d84d7?'':_0x2d84d7+'年',_0x15fe1f=_0x372350+'月',_0x218034=_0x67d59c+'日',''+_0x2f87d7+_0x15fe1f+_0x218034);default:return _0x427505?_0x1a527b(0x15a):(_0x2f87d7=_0x2cb036===_0x2d84d7?'':_0x2d84d7+'-',_0x15fe1f=_0x372350+'-',_0x218034=''+_0x67d59c,''+_0x2f87d7+_0x15fe1f+_0x218034);}}function _0xcdbc83(_0x505dec){const _0x17c307=_0x327e4b;return _0x505dec?_0x505dec[_0x17c307(0x285)]((_0x198a81,_0x2ec21c)=>{const _0x549fac=_0x17c307,_0x32aa9f=new Date(_0x2ec21c[_0x549fac(0x256)])[_0x549fac(0x143)]()['split']('T')[0x0];return _0x198a81[_0x549fac(0x2a3)]>0x0&&_0x198a81[_0x198a81[_0x549fac(0x2a3)]-0x1][_0x549fac(0x300)]===_0x32aa9f?_0x198a81[_0x198a81[_0x549fac(0x2a3)]-0x1][_0x549fac(0x161)][_0x549fac(0x29a)](_0x2ec21c):_0x198a81[_0x549fac(0x29a)]({'dateString':_0x32aa9f,'versions':[_0x2ec21c]}),_0x198a81;},[]):[];}var _0x164d3e=Object[_0x327e4b(0xe1)],_0x52e767=(_0x14d0b7,_0x2b6a90,_0x16c6a4,_0x482bd3)=>{const _0x3da040=_0x327e4b;for(var _0x4617a9=_0x482bd3>0x1?void 0x0:_0x482bd3?_0x164d3e(_0x2b6a90,_0x16c6a4):_0x2b6a90,_0x49a500=_0x14d0b7[_0x3da040(0x2a3)]-0x1,_0x3bc19e;_0x49a500>=0x0;_0x49a500--)(_0x3bc19e=_0x14d0b7[_0x49a500])&&(_0x4617a9=_0x3bc19e(_0x4617a9)||_0x4617a9);return _0x4617a9;},_0x5f5802=(_0x5d749b,_0x25a982)=>(_0x31e652,_0x33f048)=>_0x25a982(_0x31e652,_0x33f048,_0x5d749b),_0x3b9f1b=(_0x474a5f=>(_0x474a5f[_0x474a5f[_0x327e4b(0x102)]=0x0]=_0x327e4b(0x102),_0x474a5f[_0x474a5f[_0x327e4b(0x217)]=0x1]=_0x327e4b(0x217),_0x474a5f[_0x474a5f[_0x327e4b(0x1a5)]=0x2]=_0x327e4b(0x1a5),_0x474a5f))(_0x3b9f1b||{});const _0x2e93c9='/universer-api/history';let _0x2c84f4=class extends _0x28441d['Disposable']{constructor(_0xb90c6e,_0x270ab8,_0x39776d,_0x102a6b,_0x4d6d49,_0x4c9ee0,_0x3d01ce){const _0x17386f=_0x327e4b;super(),_0x494fdf(this,'_workbookDataCache',new Map()),(this[_0x17386f(0x308)]=_0xb90c6e,this[_0x17386f(0x2ea)]=_0x270ab8,this['_commandService']=_0x39776d,this['_configService']=_0x102a6b,this[_0x17386f(0x112)]=_0x4d6d49,this[_0x17386f(0x1f5)]=_0x4c9ee0,this[_0x17386f(0x28b)]=_0x3d01ce);}['dispose'](){const _0x2700b7=_0x327e4b;this['_workbookDataCache']['clear'](),super[_0x2700b7(0x151)]();}async[_0x327e4b(0x1ea)](_0x1ca77d){const _0x37ca30=_0x327e4b;try{const _0x3021a9=(await this[_0x37ca30(0x112)]['get'](this[_0x37ca30(0x1a9)]()+'//history/'+_0x1ca77d+'/creators'))['body'];if(_0x3021a9&&_0x3021a9[_0x37ca30(0x244)]&&_0x3021a9['error'][_0x37ca30(0x2b0)]===_0x18984a['OK'])return _0x3021a9[_0x37ca30(0x225)];}catch(_0x2a127c){console[_0x37ca30(0x244)](_0x2a127c);}return[];}async[_0x327e4b(0x16a)](_0x4148d5,_0x39fb1a){const _0x10197d=_0x327e4b,{userId:_0x1860af,lastLabel:_0x44a411,origin:_0x5d2f72}=_0x39fb1a!=null?_0x39fb1a:{},_0xbe96ba=new URLSearchParams();_0xbe96ba[_0x10197d(0x1a8)](_0x10197d(0x2a3),'20'),_0x44a411&&_0xbe96ba['set'](_0x10197d(0x122),_0x44a411),_0x1860af&&_0xbe96ba[_0x10197d(0x1a8)]('userId',_0x1860af),_0x5d2f72&&_0xbe96ba[_0x10197d(0x1a8)]('origin',_0x5d2f72['toString']());const _0x397cf6=this[_0x10197d(0x1a9)]()+'/'+_0x4148d5+_0x10197d(0xc1)+_0xbe96ba['toString']();try{const _0x278999=(await this[_0x10197d(0x112)][_0x10197d(0x175)](_0x397cf6))[_0x10197d(0x1d4)];if(_0x278999&&_0x278999[_0x10197d(0x244)]&&_0x278999['error'][_0x10197d(0x2b0)]===_0x18984a['OK']){const {hasMore:_0x3e3344,lastLabel:_0x387fd9}=_0x278999,_0x264fb=_0x75192(_0x278999),_0x7bc9e6=_0x278999[_0x10197d(0x18e)][_0x10197d(0xda)];return{'hasMore':_0x3e3344,'lastLabel':_0x387fd9,'versions':_0x264fb,'members':_0x7bc9e6};}}catch(_0x4c4ee8){console[_0x10197d(0x244)](_0x4c4ee8);}return null;}[_0x327e4b(0x1a9)](){const _0x1766d2=_0x327e4b;var _0x59b66b;const _0x4d352d=this['_configService'][_0x1766d2(0x156)](_0x5ad169);return(_0x59b66b=_0x4d352d==null?void 0x0:_0x4d352d['historyListServerUrl'])!=null?_0x59b66b:_0x2e93c9;}async[_0x327e4b(0x126)](_0x3c288f,_0x508279,_0x24f64a){const _0x49640c=_0x327e4b;var _0x38924f,_0x1414aa;_0x24f64a===void 0x0&&(_0x24f64a={}),this[_0x49640c(0xd4)]['has'](_0x3c288f)||this[_0x49640c(0xd4)][_0x49640c(0x1a8)](_0x3c288f,new Map());const {snapshot:_0xc92e82,changesets:_0x1f7f3e,error:_0x5fd1f7}=await this[_0x49640c(0x308)]['getUnitOnRev'](_0x24f64a,{'unitID':_0x3c288f,'type':_0x1aae14[_0x49640c(0x200)],'revision':_0x508279});if(_0x586a13(_0x5fd1f7)||!_0xc92e82||!_0xc92e82['workbook'])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x376ede=(_0x38924f=_0x1f7f3e==null?void 0x0:_0x1f7f3e[_0x49640c(0x2a3)])!=null?_0x38924f:0x0;if(_0x508279!==0x0&&_0xc92e82['rev']+_0x376ede!==_0x508279)throw new Error(_0x49640c(0xf7));const {workbook:_0x3417de}=_0xc92e82,_0x1f254c=_0x3417de[_0x49640c(0x313)]?Object[_0x49640c(0x25a)](_0x3417de[_0x49640c(0x313)])[_0x49640c(0x13a)](([_0x487ddc,_0x198011])=>{const _0x800280=_0x49640c;var _0x17ac89,_0xf60f14;return(_0xf60f14=(_0x17ac89=_0x198011[_0x800280(0xf1)])==null?void 0x0:_0x17ac89[_0x800280(0x13a)](_0x17ac75=>_0x17ac75))!=null?_0xf60f14:[];})[_0x49640c(0x201)]():[],_0x330b2f=(await Promise[_0x49640c(0x1bc)](_0x1f254c[_0x49640c(0x13a)](_0x150907=>this[_0x49640c(0x308)][_0x49640c(0x2f4)](_0x24f64a,{'unitID':_0x3c288f,'type':_0x1aae14[_0x49640c(0x200)],'blockID':_0x150907})[_0x49640c(0x266)](_0x22e048=>_0x22e048[_0x49640c(0x1c2)]))))['filter'](_0x534220=>!!_0x534220),_0x2f0684=_0xab9f40['transformSnapshotToWorkbookData'](_0xc92e82,_0x330b2f,_0x24f64a);return(_0x1414aa=this[_0x49640c(0xd4)][_0x49640c(0x175)](_0x3c288f))==null||_0x1414aa[_0x49640c(0x1a8)](_0x508279,{'workbook':_0x2f0684}),new Promise(_0xdafa11=>{const _0x515af5=_0x49640c,_0x38fb87=this['_univerInstanceService']['getCurrentUnitForType'](_0x28441d[_0x515af5(0x2d0)][_0x515af5(0x200)]);_0x38fb87?(this[_0x515af5(0x2ea)][_0x515af5(0x22c)](_0x38fb87[_0x515af5(0x253)]()),setTimeout(()=>{const _0x4c5cb7=_0x515af5;this[_0x4c5cb7(0x1df)](_0x2f0684,_0x1f7f3e),this[_0x4c5cb7(0x28b)][_0x4c5cb7(0x1dd)](),_0xdafa11(!0x0);},0x0)):(this['_createUnit'](_0x2f0684,_0x1f7f3e),_0xdafa11(!0x0));});}[_0x327e4b(0x1df)](_0x532ca1,_0x101908){const _0x1211d6=_0x327e4b,_0xbd0072=this['_univerInstanceService'][_0x1211d6(0x124)](_0x28441d[_0x1211d6(0x2d0)][_0x1211d6(0x200)],_0x532ca1);this['_univerInstanceService'][_0x1211d6(0x2e3)](_0xbd0072[_0x1211d6(0x253)]());const _0x5af9e7=this['_compressMutationService'][_0x1211d6(0x22a)][_0x1211d6(0x131)](this[_0x1211d6(0x1f5)][_0x1211d6(0x22a)][_0x1211d6(0x270)]()[_0x1211d6(0x2d5)]);return _0x101908==null||_0x101908[_0x1211d6(0x147)](_0x131695=>{const _0x4d1231=_0x1211d6,_0x390dd6=_0x131695[_0x4d1231(0x19c)][_0x4d1231(0x13a)](_0x153a7e=>({'id':_0x153a7e['id'],'params':JSON['parse'](_0x153a7e['data'])}));({..._0x131695,'mutations':_0x5af9e7(_0x390dd6,null)||_0x390dd6}[_0x4d1231(0x19c)][_0x4d1231(0x147)](_0x90910e=>{const _0x2c2f90=_0x4d1231;this[_0x2c2f90(0x1d2)][_0x2c2f90(0x21f)](_0x90910e['id'])&&this[_0x2c2f90(0x1d2)][_0x2c2f90(0x2dc)](_0x90910e['id'],_0x90910e[_0x2c2f90(0x1d9)]);}));}),_0xbd0072;}};_0x2c84f4=_0x52e767([_0x5f5802(0x0,_0xab9f40['ISnapshotServerService']),_0x5f5802(0x1,_0x28441d[_0x327e4b(0xfc)]),_0x5f5802(0x2,_0x28441d[_0x327e4b(0x121)]),_0x5f5802(0x3,_0x28441d[_0x327e4b(0x20f)]),_0x5f5802(0x4,_0x28441d[_0x327e4b(0x108)](_0x5afce2['HTTPService'])),_0x5f5802(0x5,_0x28441d[_0x327e4b(0x108)](_0xab9f40[_0x327e4b(0x182)])),_0x5f5802(0x6,_0x28441d[_0x327e4b(0x108)](_0x2418c3['SheetPermissionInitController']))],_0x2c84f4);function _0x75192(_0x42fe8b){const _0x7926c2=_0x327e4b;var _0x1ad402,_0xd19a1d;const _0x217f80=[],{entities:_0x2207e5,historyIds:_0x5274be}=_0x42fe8b,{datas:_0x2848af,users:_0x41f246}=_0x2207e5;for(const _0x499e5a of _0x5274be){const _0x5c4c5e=_0x2848af[_0x499e5a];if(_0x5c4c5e){const _0x26537d=!!((_0x1ad402=_0x41f246[_0x5c4c5e[_0x7926c2(0x19b)]])!=null&&_0x1ad402[_0x7926c2(0x205)]);_0x217f80[_0x7926c2(0x29a)]({'unitId':_0x5c4c5e[_0x7926c2(0x1aa)],'user':_0x26537d?'':((_0xd19a1d=_0x41f246==null?void 0x0:_0x41f246[_0x5c4c5e[_0x7926c2(0x19b)]])==null?void 0x0:_0xd19a1d['name'])||'','isAnonymous':_0x26537d,'id':_0x499e5a,'time':_0x5c4c5e[_0x7926c2(0xe2)]?Number(_0x5c4c5e[_0x7926c2(0xe2)]):void 0x0,'commands':_0x5c4c5e[_0x7926c2(0x2f7)],'startRev':Number(_0x5c4c5e[_0x7926c2(0x17c)]),'endRev':Number(_0x5c4c5e[_0x7926c2(0x1bf)]),'recoverTime':_0x5c4c5e['recoverTime']?Number(_0x5c4c5e[_0x7926c2(0x197)]):void 0x0,'additionalFields':_0x5c4c5e[_0x7926c2(0x2d4)]});}}return _0x217f80;}var _0x78f923=Object[_0x327e4b(0xe1)],_0x581390=(_0x5b96a9,_0x26f6c2,_0x5000b4,_0x157cd2)=>{const _0x491b7c=_0x327e4b;for(var _0x564695=_0x157cd2>0x1?void 0x0:_0x157cd2?_0x78f923(_0x26f6c2,_0x5000b4):_0x26f6c2,_0xf912ca=_0x5b96a9[_0x491b7c(0x2a3)]-0x1,_0x389790;_0xf912ca>=0x0;_0xf912ca--)(_0x389790=_0x5b96a9[_0xf912ca])&&(_0x564695=_0x389790(_0x564695)||_0x564695);return _0x564695;},_0x41f60b=(_0x5d0015,_0x56e592)=>(_0x73902e,_0x3fe331)=>_0x56e592(_0x73902e,_0x3fe331,_0x5d0015),_0x450b47=(_0x105ce3=>(_0x105ce3[_0x327e4b(0x1c5)]=_0x327e4b(0x1f8),_0x105ce3[_0x327e4b(0x189)]=_0x327e4b(0x22e),_0x105ce3['Error']=_0x327e4b(0x244),_0x105ce3))(_0x450b47||{}),_0x3ee848=(_0x81a0be=>(_0x81a0be[_0x327e4b(0x302)]=_0x327e4b(0x1f0),_0x81a0be[_0x327e4b(0x1e3)]=_0x327e4b(0x24e),_0x81a0be[_0x327e4b(0x209)]='loaded',_0x81a0be))(_0x3ee848||{});const _0x1ea5a3=_0x327e4b(0x148);_0x46408b['HistoryManagerService']=class extends _0x28441d[_0x327e4b(0x1d5)]{constructor(_0x39cdb4,_0x20e5d7,_0x34260d,_0x4ee1fa){const _0x1cf5a5=_0x327e4b;super(),_0x494fdf(this,_0x1cf5a5(0x1f9),new _0x4d6694['BehaviorSubject']([])),_0x494fdf(this,_0x1cf5a5(0x2d2),this[_0x1cf5a5(0x1f9)][_0x1cf5a5(0x135)]()),_0x494fdf(this,'_currentVersion$',new _0x4d6694['BehaviorSubject']('')),_0x494fdf(this,'currentVersion$',this[_0x1cf5a5(0x215)][_0x1cf5a5(0x135)]()),_0x494fdf(this,'_status$',new _0x4d6694[(_0x1cf5a5(0x267))](_0x1cf5a5(0x1f8))),_0x494fdf(this,_0x1cf5a5(0x2b5),this[_0x1cf5a5(0x2ec)][_0x1cf5a5(0x135)]()),_0x494fdf(this,_0x1cf5a5(0xe8),new _0x4d6694[(_0x1cf5a5(0x267))](0x0)),_0x494fdf(this,_0x1cf5a5(0x2e2),this['_revertRevision$'][_0x1cf5a5(0x135)]()),_0x494fdf(this,'_unitId$',new _0x4d6694[(_0x1cf5a5(0x267))]('')),_0x494fdf(this,_0x1cf5a5(0x1a0),this[_0x1cf5a5(0x11e)]['asObservable']()),_0x494fdf(this,_0x1cf5a5(0x1c6),new _0x4d6694[(_0x1cf5a5(0x267))](!0x1)),_0x494fdf(this,_0x1cf5a5(0x2a5),this[_0x1cf5a5(0x1c6)][_0x1cf5a5(0x135)]()),_0x494fdf(this,_0x1cf5a5(0xd6),new _0x4d6694['BehaviorSubject']([])),_0x494fdf(this,_0x1cf5a5(0x287),this[_0x1cf5a5(0xd6)][_0x1cf5a5(0x135)]()),_0x494fdf(this,_0x1cf5a5(0x2db),new _0x4d6694[(_0x1cf5a5(0x267))](_0x1cf5a5(0x1f0))),_0x494fdf(this,_0x1cf5a5(0x2a8),this[_0x1cf5a5(0x2db)][_0x1cf5a5(0x135)]()),_0x494fdf(this,_0x1cf5a5(0x274),null),_0x494fdf(this,'_hasMore',!0x0),_0x494fdf(this,_0x1cf5a5(0xd2),new Map()),_0x494fdf(this,_0x1cf5a5(0x2f8)),_0x494fdf(this,'_maskContainer'),_0x494fdf(this,_0x1cf5a5(0x271)),_0x494fdf(this,_0x1cf5a5(0xde),!0x1),_0x494fdf(this,'_loadParams',null),(this[_0x1cf5a5(0x2fb)]=_0x39cdb4,this[_0x1cf5a5(0xec)]=_0x20e5d7,this['_localeService']=_0x34260d,this[_0x1cf5a5(0x1fe)]=_0x4ee1fa);}['_setFetching'](_0x2394b1){const _0x46f6a3=_0x327e4b;this[_0x46f6a3(0x1c6)][_0x46f6a3(0x220)](_0x2394b1);}get[_0x327e4b(0xdf)](){const _0x1cd0b8=_0x327e4b;return this[_0x1cd0b8(0x1c6)]['value'];}async[_0x327e4b(0x164)](_0x15e964,_0x1b7c8e,_0x59e6d9){const _0x5639f1=_0x327e4b;this[_0x5639f1(0x2f8)]=_0x1b7c8e,this[_0x5639f1(0xde)]=_0x59e6d9,await this['loadInitialVersions'](_0x15e964);}async[_0x327e4b(0x234)](_0x30b7d5,_0x5d7487){const _0x215147=_0x327e4b;this[_0x215147(0x11e)][_0x215147(0x220)](_0x30b7d5),this[_0x215147(0xc2)]=_0x5d7487!=null?_0x5d7487:null,this[_0x215147(0x2a9)](!0x0);const _0x3ccd62=await this[_0x215147(0x1fe)][_0x215147(0x16a)](_0x30b7d5,_0x5d7487);if(this[_0x215147(0x2a9)](!0x1),_0x3ccd62){const {versions:_0x41ab2f,lastLabel:_0x247074,hasMore:_0x21d2c4,members:_0x17e304}=_0x3ccd62;_0x41ab2f[_0x215147(0x2a3)]===0x0&&_0x41ab2f[_0x215147(0x29a)]({'unitId':_0x30b7d5,'id':_0x1ea5a3,'startRev':0x1,'endRev':0x0,'time':Date[_0x215147(0x17d)](),'user':this[_0x215147(0x2e7)]['t'](_0x215147(0x176)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x41ab2f,_0x21d2c4,_0x247074,!0x1,_0x17e304),this[_0x215147(0x215)][_0x215147(0x220)](_0x41ab2f[0x0]['id']);}else this[_0x215147(0x2ec)][_0x215147(0x220)](_0x215147(0x244));}async['loadMoreVersions'](){const _0x543859=_0x327e4b;if(!this['_lastLabel']||!this[_0x543859(0x219)]||this[_0x543859(0xdf)])return!0x1;this[_0x543859(0x2a9)](!0x0);const _0x5bcc0d=await this[_0x543859(0x1fe)][_0x543859(0x16a)](this['unitId'],{'lastLabel':this[_0x543859(0x274)],...this[_0x543859(0xc2)]});if(this[_0x543859(0x2a9)](!0x1),_0x5bcc0d){const {versions:_0xdd0f1f,lastLabel:_0x203c2f,hasMore:_0x4a03f2,members:_0x1c835d}=_0x5bcc0d;this[_0x543859(0x2f2)](_0xdd0f1f,_0x4a03f2,_0x203c2f,!0x0,_0x1c835d);}else this[_0x543859(0x2fb)][_0x543859(0x241)]({'content':this['_localeService']['t'](_0x543859(0xe3)),'type':_0x58cc08[_0x543859(0x1c7)][_0x543859(0x279)],'duration':0xbb8});return!0x0;}async[_0x327e4b(0x273)](){const _0xe4a170=_0x327e4b,{unitId:_0x18b805}=this;if(!_0x18b805)return;const _0x55e982=await this[_0xe4a170(0x1fe)][_0xe4a170(0x1ea)](_0x18b805);_0x55e982&&this[_0xe4a170(0xd6)][_0xe4a170(0x220)](_0x55e982);}async[_0x327e4b(0x116)](_0x173b06){const _0x14a3c7=_0x327e4b;var _0x16a328;const _0x54103a=(_0x16a328=this[_0x14a3c7(0x1f9)]['value'])==null?void 0x0:_0x16a328[_0x14a3c7(0x265)](_0x3957f1=>_0x3957f1['id']===_0x173b06),{endRev:_0x3c1b4b}=_0x54103a||{};_0x3c1b4b||_0x3c1b4b===0x0?(this[_0x14a3c7(0x2db)][_0x14a3c7(0x220)](_0x14a3c7(0x24e)),await this[_0x14a3c7(0x1fe)]['loadSheet'](this[_0x14a3c7(0x1aa)],_0x3c1b4b),this['_loadingState$'][_0x14a3c7(0x220)](_0x14a3c7(0x20c))):this['_status$'][_0x14a3c7(0x220)](_0x14a3c7(0x244));}async[_0x327e4b(0x2fd)](_0x4ea452){const _0x412d3e=_0x327e4b,_0x2adb55=_0x4ea452?this[_0x412d3e(0x183)](_0x4ea452):this[_0x412d3e(0x2ee)]();if(!_0x2adb55)return;const _0x2ad06c=_0x2adb55[_0x412d3e(0xe7)],_0x4c7e98=_0x234ef7(_0x2adb55['time'],this[_0x412d3e(0x2e7)][_0x412d3e(0x1e4)]());await this[_0x412d3e(0xec)][_0x412d3e(0x2c4)]({'id':_0x412d3e(0x188),'title':{'title':this['_localeService']['t'](_0x412d3e(0x152))},'children':{'title':this[_0x412d3e(0x2e7)]['t'](_0x412d3e(0x181))+_0x412d3e(0x11a)+_0x4c7e98[_0x412d3e(0x29f)]+'\x20'+_0x4c7e98[_0x412d3e(0x256)]+')'},'cancelText':this[_0x412d3e(0x2e7)]['t'](_0x412d3e(0x268)),'confirmText':this[_0x412d3e(0x2e7)]['t']('editHistory.panel.confirm')})&&this[_0x412d3e(0xe8)][_0x412d3e(0x220)](_0x2ad06c);}[_0x327e4b(0x2f2)](_0x2a86ad,_0x5026ab,_0x2a338e,_0x26c903,_0x32db99){const _0x61a3ea=_0x327e4b;this[_0x61a3ea(0x137)](_0x26c903?this['_versions$'][_0x61a3ea(0x2d9)][_0x61a3ea(0xd7)](_0x2a86ad):_0x2a86ad),this[_0x61a3ea(0x219)]=_0x5026ab,this[_0x61a3ea(0x274)]=_0x2a338e,_0x32db99&&Object[_0x61a3ea(0x12f)](_0x32db99)['forEach'](_0x33a433=>this[_0x61a3ea(0xd2)][_0x61a3ea(0x1a8)](_0x33a433,_0x32db99[_0x33a433]));}[_0x327e4b(0x2ee)](){const _0x346683=_0x327e4b;return this[_0x346683(0x183)](this['_currentVersion$'][_0x346683(0x2d9)]);}['_setVersions'](_0xd5a1f2){const _0x17c694=_0x327e4b;this[_0x17c694(0x1f9)][_0x17c694(0x220)](_0xd5a1f2);}[_0x327e4b(0x183)](_0x1f6b45){const _0x39af33=_0x327e4b;var _0x119df2;return(_0x119df2=this[_0x39af33(0x1f9)][_0x39af33(0x2d9)])==null?void 0x0:_0x119df2['find'](_0x45ffda=>_0x45ffda['id']===_0x1f6b45);}[_0x327e4b(0x202)](_0x1357d0){const _0x4361cf=_0x327e4b;return this['_members'][_0x4361cf(0x175)](_0x1357d0);}[_0x327e4b(0x22b)](){const _0x428d0c=_0x327e4b;this[_0x428d0c(0x271)]=document['createElement'](_0x428d0c(0x129)),this[_0x428d0c(0x271)][_0x428d0c(0x2b9)]='history-mask',this['_maskElement'][_0x428d0c(0x1cf)][_0x428d0c(0xce)]='absolute',this['_maskElement'][_0x428d0c(0x1cf)]['top']='0',this[_0x428d0c(0x271)][_0x428d0c(0x1cf)][_0x428d0c(0x25f)]='0',this[_0x428d0c(0x271)][_0x428d0c(0x1cf)][_0x428d0c(0x20d)]=_0x428d0c(0x166),this[_0x428d0c(0x271)][_0x428d0c(0x1cf)][_0x428d0c(0x281)]='100%',this['_maskElement']['style'][_0x428d0c(0x230)]='rgba(225,\x20225,\x20225,\x200.5)',this['_maskElement'][_0x428d0c(0x1cf)]['color']=_0x428d0c(0x1b6),this[_0x428d0c(0x271)][_0x428d0c(0x1cf)]['display']=_0x428d0c(0x2c3),this['_maskElement']['style'][_0x428d0c(0x2eb)]=_0x428d0c(0x1d7),this[_0x428d0c(0x271)][_0x428d0c(0x1cf)][_0x428d0c(0x206)]=_0x428d0c(0x301),this['_maskElement'][_0x428d0c(0x1cf)][_0x428d0c(0x2a6)]='none',this[_0x428d0c(0x191)][_0x428d0c(0x2d1)](this[_0x428d0c(0x271)]);}[_0x327e4b(0x1d8)](){const _0xaed28=_0x327e4b;var _0x4e589d;const _0x378d07=(_0x4e589d=document[_0xaed28(0x232)](this['_historyContainerId']))==null?void 0x0:_0x4e589d['querySelector']('.univer-app-container-content');_0x378d07&&(this['_maskContainer']=_0x378d07,this[_0xaed28(0x22b)]());}[_0x327e4b(0x167)](){const _0x39a5f0=_0x327e4b;this[_0x39a5f0(0x191)]||this[_0x39a5f0(0x1d8)](),this[_0x39a5f0(0x271)]&&(this['_maskElement'][_0x39a5f0(0x1cf)][_0x39a5f0(0x2a6)]=_0x39a5f0(0x2c3));}[_0x327e4b(0x25e)](){const _0x11d2c1=_0x327e4b;this[_0x11d2c1(0x271)]&&(this[_0x11d2c1(0x271)][_0x11d2c1(0x1cf)][_0x11d2c1(0x2a6)]=_0x11d2c1(0xf6));}set[_0x327e4b(0x19d)](_0x2eca29){const _0x33ce7e=_0x327e4b;this[_0x33ce7e(0x2ec)]['next'](_0x2eca29);}set[_0x327e4b(0x1ee)](_0x5f5c02){const _0x28af4b=_0x327e4b;_0x5f5c02!==this[_0x28af4b(0x215)][_0x28af4b(0x2d9)]&&this['_currentVersion$'][_0x28af4b(0x220)](_0x5f5c02);}get[_0x327e4b(0x1ee)](){const _0x6574ec=_0x327e4b;return this[_0x6574ec(0x215)][_0x6574ec(0x2d9)];}set[_0x327e4b(0x1aa)](_0x5332cd){const _0x356407=_0x327e4b;this[_0x356407(0x11e)][_0x356407(0x220)](_0x5332cd);}get[_0x327e4b(0x1aa)](){const _0x3a7e79=_0x327e4b;return this[_0x3a7e79(0x11e)]['value'];}get[_0x327e4b(0x1e0)](){const _0x53624f=_0x327e4b;return this[_0x53624f(0xde)];}get[_0x327e4b(0x1e1)](){return this['_loadingState$']['value'];}},_0x46408b[_0x327e4b(0x2d7)]=_0x581390([_0x41f60b(0x0,_0x4f852b['IMessageService']),_0x41f60b(0x1,_0x4f852b[_0x327e4b(0x12b)]),_0x41f60b(0x2,_0x28441d[_0x327e4b(0x108)](_0x28441d[_0x327e4b(0x10c)])),_0x41f60b(0x3,_0x28441d[_0x327e4b(0x108)](_0x2c84f4))],_0x46408b[_0x327e4b(0x2d7)]);function _0x5dd35a({ref:_0x117d01,..._0x487f8f}){const _0x37fd43=_0x327e4b,{icon:_0x24f9a4,id:_0x1d789f,className:_0x2e1fcc,extend:_0x2d0ac6,..._0x1fbe8f}=_0x487f8f,_0xb2b0b7=(_0x37fd43(0x155)+_0x1d789f+'\x20'+(_0x2e1fcc||''))[_0x37fd43(0xeb)](),_0x1f03bb=_0xc96c92[_0x37fd43(0x233)]('_'+_0x2dbba3());return _0x12550e(_0x24f9a4,''+_0x1d789f,{'defIds':_0x24f9a4['defIds'],'idSuffix':_0x1f03bb[_0x37fd43(0x12e)]},{'ref':_0x117d01,'className':_0xb2b0b7,..._0x1fbe8f},_0x2d0ac6);}function _0x12550e(_0xec2e8,_0x57747e,_0x4fbf21,_0x2d1352,_0x40a0d0){const _0xeee37e=_0x327e4b;return _0xc96c92['createElement'](_0xec2e8[_0xeee37e(0x1da)],{'key':_0x57747e,..._0x4eaf67(_0xec2e8,_0x4fbf21,_0x40a0d0),..._0x2d1352},(_0x338d66(_0xec2e8,_0x4fbf21)[_0xeee37e(0x216)]||[])[_0xeee37e(0x13a)]((_0x22ebf0,_0xb4d5d0)=>_0x12550e(_0x22ebf0,_0x57747e+'-'+_0xec2e8['tag']+'-'+_0xb4d5d0,_0x4fbf21,void 0x0,_0x40a0d0)));}function _0x4eaf67(_0x4e759c,_0x3b871c,_0x10d8dc){const _0xb58b92=_0x327e4b,_0x5561a5={..._0x4e759c['attrs']};_0x10d8dc!=null&&_0x10d8dc['colorChannel1']&&_0x5561a5[_0xb58b92(0x224)]==='colorChannel1'&&(_0x5561a5[_0xb58b92(0x224)]=_0x10d8dc['colorChannel1']),_0x4e759c[_0xb58b92(0x1da)]===_0xb58b92(0x134)&&_0x5561a5['id']&&(_0x5561a5['id']=_0x5561a5['id']+_0x3b871c[_0xb58b92(0x29d)]),Object[_0xb58b92(0x25a)](_0x5561a5)[_0xb58b92(0x147)](([_0x5c31e3,_0x1cac86])=>{const _0x51ebf3=_0xb58b92;_0x5c31e3===_0x51ebf3(0x134)&&typeof _0x1cac86=='string'&&(_0x5561a5[_0x5c31e3]=_0x1cac86[_0x51ebf3(0x100)](/url\(#(.*)\)/,'url(#$1'+_0x3b871c['idSuffix']+')'));});const {defIds:_0x111297}=_0x3b871c;return!_0x111297||_0x111297[_0xb58b92(0x2a3)]===0x0||(_0x4e759c[_0xb58b92(0x1da)]===_0xb58b92(0xd9)&&_0x5561a5['xlink:href']&&(_0x5561a5[_0xb58b92(0x1b4)]=_0x5561a5[_0xb58b92(0x1b4)]+_0x3b871c[_0xb58b92(0x29d)]),Object[_0xb58b92(0x25a)](_0x5561a5)[_0xb58b92(0x147)](([_0x2c3390,_0x93b330])=>{const _0x5ea843=_0xb58b92;typeof _0x93b330==_0x5ea843(0x14b)&&(_0x5561a5[_0x2c3390]=_0x93b330[_0x5ea843(0x100)](/url\(#(.*)\)/,_0x5ea843(0x2b7)+_0x3b871c[_0x5ea843(0x29d)]+')'));})),_0x5561a5;}function _0x338d66(_0x153586,_0x74108b){const _0x3e3422=_0x327e4b;var _0x44bc35;const {defIds:_0x12e356}=_0x74108b;return!_0x12e356||_0x12e356[_0x3e3422(0x2a3)]===0x0?_0x153586:_0x153586[_0x3e3422(0x1da)]===_0x3e3422(0x14e)&&((_0x44bc35=_0x153586[_0x3e3422(0x216)])!=null&&_0x44bc35[_0x3e3422(0x2a3)])?{..._0x153586,'children':_0x153586[_0x3e3422(0x216)][_0x3e3422(0x13a)](_0x5681bd=>typeof _0x5681bd['attrs']['id']==_0x3e3422(0x14b)&&_0x12e356&&_0x12e356[_0x3e3422(0x107)](_0x5681bd[_0x3e3422(0xf9)]['id'])?{..._0x5681bd,'attrs':{..._0x5681bd[_0x3e3422(0xf9)],'id':_0x5681bd['attrs']['id']+_0x74108b[_0x3e3422(0x29d)]}}:_0x5681bd)}:_0x153586;}function _0x2dbba3(){const _0x83dbb7=_0x327e4b;return Math[_0x83dbb7(0x160)]()[_0x83dbb7(0x2ba)](0x24)[_0x83dbb7(0x2ca)](0x2,0x8);}_0x5dd35a[_0x327e4b(0x1f1)]=_0x327e4b(0x2a2);const _0x58f7ec={'tag':_0x327e4b(0xfe),'attrs':{'xmlns':_0x327e4b(0x23c),'fill':_0x327e4b(0xf6),'viewBox':_0x327e4b(0xc4),'width':'1em','height':_0x327e4b(0x14d)},'children':[{'tag':_0x327e4b(0x2da),'attrs':{'fill':_0x327e4b(0x19a),'d':_0x327e4b(0xdb)}}]},_0x5990ec=_0xc96c92[_0x327e4b(0x226)](function(_0xa8c0e6,_0x5be5f6){const _0xcafc71=_0x327e4b;return _0xc96c92['createElement'](_0x5dd35a,Object['assign']({},_0xa8c0e6,{'id':_0xcafc71(0x171),'ref':_0x5be5f6,'icon':_0x58f7ec}));});_0x5990ec['displayName']='BackIcon';const _0x381ef0={'tag':_0x327e4b(0xfe),'attrs':{'xmlns':_0x327e4b(0x23c),'fill':'none','viewBox':_0x327e4b(0x25c),'width':_0x327e4b(0x14d),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x327e4b(0x19a),'clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x327e4b(0x2da),'attrs':{'d':_0x327e4b(0x168)}},{'tag':_0x327e4b(0x2da),'attrs':{'d':_0x327e4b(0x187),'fillRule':_0x327e4b(0x15e),'clipRule':_0x327e4b(0x15e)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x327e4b(0x109),'attrs':{'id':_0x327e4b(0xd3)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x327e4b(0x1b6),'rx':0x4}}]}]}],'defIds':[_0x327e4b(0xd3)]},_0x53e6f6=_0xc96c92['forwardRef'](function(_0x45e46b,_0x59100a){const _0x3ab15d=_0x327e4b;return _0xc96c92[_0x3ab15d(0x2ef)](_0x5dd35a,Object[_0x3ab15d(0x2b3)]({},_0x45e46b,{'id':_0x3ab15d(0x13c),'ref':_0x59100a,'icon':_0x381ef0}));});_0x53e6f6[_0x327e4b(0x1f1)]=_0x327e4b(0x169);const _0x4c1ccc={'tag':'svg','attrs':{'xmlns':_0x327e4b(0x23c),'fill':_0x327e4b(0xf6),'viewBox':_0x327e4b(0xc4),'width':_0x327e4b(0x14d),'height':_0x327e4b(0x14d)},'children':[{'tag':_0x327e4b(0x2da),'attrs':{'fill':_0x327e4b(0x208),'d':_0x327e4b(0xfa),'fillOpacity':0.2,'fillRule':_0x327e4b(0x15e),'clipRule':'evenodd'}},{'tag':_0x327e4b(0x2da),'attrs':{'fill':'#0B9EFB','d':_0x327e4b(0x177),'fillRule':_0x327e4b(0x15e),'clipRule':_0x327e4b(0x15e)}}]},_0x27ecea=_0xc96c92['forwardRef'](function(_0x163602,_0x46c0fd){const _0x3a44e8=_0x327e4b;return _0xc96c92[_0x3a44e8(0x2ef)](_0x5dd35a,Object['assign']({},_0x163602,{'id':_0x3a44e8(0x286),'ref':_0x46c0fd,'icon':_0x4c1ccc}));});_0x27ecea[_0x327e4b(0x1f1)]='LoadingMultiIcon';function _0x580411(){const _0x4e5f18=_0x327e4b;var _0xc06540;const _0x40837b=_0x4f852b[_0x4e5f18(0x105)](_0x46408b[_0x4e5f18(0x2d7)]),_0x353063=_0x4f852b[_0x4e5f18(0x105)](_0x28441d[_0x4e5f18(0x10c)]),_0xff9b71=_0xc96c92['useCallback'](()=>{const _0x8e7a15=_0x4e5f18;_0x40837b[_0x8e7a15(0x19d)]=_0x450b47[_0x8e7a15(0x189)];},[_0x40837b]),_0x24bd5a=_0xc96c92['useCallback'](()=>{_0x40837b['triggerRevert']();},[_0x40837b]),_0x27a04a=_0x4f852b[_0x4e5f18(0x307)](_0x40837b[_0x4e5f18(0x309)]),_0x25665b=_0x4f852b[_0x4e5f18(0x307)](_0x40837b[_0x4e5f18(0x2d2)]),_0x496d9c=_0x27a04a===((_0xc06540=_0x25665b==null?void 0x0:_0x25665b[0x0])==null?void 0x0:_0xc06540['id']),_0x41f50b=_0x27a04a!==''&&!_0x496d9c&&_0x40837b['canRevert'];return _0x16077d[_0x4e5f18(0x27f)](_0x4e5f18(0x129),{'className':_0x58cc08[_0x4e5f18(0xef)]('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0x58cc08[_0x4e5f18(0x229)]),'children':[_0x16077d[_0x4e5f18(0x2c0)]('a',{'className':_0x4e5f18(0x20e),'role':_0x4e5f18(0xf4),'onClick':_0xff9b71,'children':_0x16077d[_0x4e5f18(0x2c0)](_0x5990ec,{'className':_0x4e5f18(0x16b)})}),_0x16077d[_0x4e5f18(0x2c0)](_0x4e5f18(0x129),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x41f50b&&_0x16077d[_0x4e5f18(0x2c0)](_0x58cc08[_0x4e5f18(0x198)],{'variant':_0x4e5f18(0x235),'onClick':_0x24bd5a,'children':_0x353063['t'](_0x4e5f18(0x2fe))})})]});}var _0x486118=Object[_0x327e4b(0xe1)],_0x45759e=(_0x48d9f1,_0x2f817b,_0x318841,_0x3f8a0c)=>{for(var _0x30d6eb=_0x3f8a0c>0x1?void 0x0:_0x3f8a0c?_0x486118(_0x2f817b,_0x318841):_0x2f817b,_0x5814ac=_0x48d9f1['length']-0x1,_0x3907ae;_0x5814ac>=0x0;_0x5814ac--)(_0x3907ae=_0x48d9f1[_0x5814ac])&&(_0x30d6eb=_0x3907ae(_0x30d6eb)||_0x30d6eb);return _0x30d6eb;},_0x155b4a=(_0x29eb8a,_0x4586ac)=>(_0x11b467,_0x4df0ae)=>_0x4586ac(_0x11b467,_0x4df0ae,_0x29eb8a);let _0x2d4972=class extends _0x28441d[_0x327e4b(0x1d5)]{constructor(_0x5cfd52,_0x56c1c7,_0x4801ba,_0x4149aa,_0x5768fe,_0x13e0ef){const _0x199c6d=_0x327e4b;super(),this[_0x199c6d(0xc5)]=_0x5cfd52,this[_0x199c6d(0x1b1)]=_0x56c1c7,this['_messageService']=_0x4801ba,this[_0x199c6d(0x2e7)]=_0x4149aa,this['_historyManagerService']=_0x5768fe,this[_0x199c6d(0x2e1)]=_0x13e0ef,this[_0x199c6d(0x27d)]();}['_init'](){const _0x30ac96=_0x327e4b;this[_0x30ac96(0x2b1)](this[_0x30ac96(0x1cc)][_0x30ac96(0x309)][_0x30ac96(0x2ab)](_0x1fa1ee=>{const _0x142450=_0x30ac96;_0x1fa1ee&&this[_0x142450(0x1cc)]['triggerLoadSheet'](_0x1fa1ee);})),this['disposeWithMe'](this[_0x30ac96(0xc5)]['permissionPointUpdate$'][_0x30ac96(0x2ab)](_0x17c623=>{const _0x5d0314=_0x30ac96,_0x2d70a4=this[_0x5d0314(0x1cc)][_0x5d0314(0x1aa)];_0x2d70a4&&(_0x17c623[_0x5d0314(0xea)]===_0x16bd42[_0x5d0314(0x29e)]&&_0x17c623[_0x5d0314(0x2d9)]===!0x0&&this[_0x5d0314(0xc5)][_0x5d0314(0x29b)](new _0x2418c3[(_0x5d0314(0x305))](_0x2d70a4)['id'],!0x1),_0x17c623[_0x5d0314(0xea)]===_0x16bd42[_0x5d0314(0x141)]&&_0x17c623[_0x5d0314(0x2d9)]===!0x0&&this[_0x5d0314(0xc5)][_0x5d0314(0x29b)](new _0x2418c3[(_0x5d0314(0x21d))](_0x2d70a4)['id'],!0x1),_0x17c623['subType']===_0x16bd42['MoveSheet']&&_0x17c623[_0x5d0314(0x2d9)]===!0x0&&this[_0x5d0314(0xc5)]['updatePermissionPoint'](new _0x2418c3[(_0x5d0314(0x14f))](_0x2d70a4)['id'],!0x1),_0x17c623[_0x5d0314(0xea)]===_0x16bd42[_0x5d0314(0x19f)]&&_0x17c623[_0x5d0314(0x2d9)]===!0x0&&this[_0x5d0314(0xc5)]['updatePermissionPoint'](new _0x2418c3[(_0x5d0314(0x103))](_0x2d70a4)['id'],!0x1),_0x17c623[_0x5d0314(0xea)]===_0x16bd42['Comment']&&_0x17c623[_0x5d0314(0x2d9)]===!0x0&&this[_0x5d0314(0xc5)][_0x5d0314(0x29b)](new _0x2418c3[(_0x5d0314(0x305))](_0x2d70a4)['id'],!0x1),_0x17c623[_0x5d0314(0xea)]===_0x16bd42[_0x5d0314(0x249)]&&_0x17c623[_0x5d0314(0x2d9)]===!0x0&&this[_0x5d0314(0xc5)][_0x5d0314(0x29b)](new _0x2418c3[(_0x5d0314(0x305))](_0x2d70a4)['id'],!0x1));})),this[_0x30ac96(0x2b1)](this[_0x30ac96(0x1b1)][_0x30ac96(0x243)](_0x4f852b[_0x30ac96(0x2e8)]['HEADER'],()=>_0x4f852b[_0x30ac96(0x26c)](_0x580411,this['_injector'])));let _0x4e7918;this['disposeWithMe'](this[_0x30ac96(0x1cc)]['loadingState$'][_0x30ac96(0x2ab)](_0x53781a=>{const _0x181327=_0x30ac96;_0x4e7918==null||_0x4e7918[_0x181327(0x151)](),_0x53781a===_0x3ee848[_0x181327(0x1e3)]&&(this[_0x181327(0x1cc)][_0x181327(0x167)](),_0x4e7918=this[_0x181327(0x2fb)]['show']({'type':_0x58cc08[_0x181327(0x1c7)][_0x181327(0x26a)],'content':this['_localeService']['t'](_0x181327(0x24a))})),_0x53781a===_0x3ee848['Loaded']&&this['_historyManagerService'][_0x181327(0x25e)]();}));}};_0x2d4972=_0x45759e([_0x155b4a(0x0,_0x28441d[_0x327e4b(0x26d)]),_0x155b4a(0x1,_0x4f852b[_0x327e4b(0x140)]),_0x155b4a(0x2,_0x4f852b['IMessageService']),_0x155b4a(0x3,_0x28441d[_0x327e4b(0x108)](_0x28441d[_0x327e4b(0x10c)])),_0x155b4a(0x4,_0x28441d[_0x327e4b(0x108)](_0x46408b[_0x327e4b(0x2d7)])),_0x155b4a(0x5,_0x28441d[_0x327e4b(0x108)](_0x28441d[_0x327e4b(0x258)]))],_0x2d4972);var _0x4cfb1b=Object[_0x327e4b(0xe1)],_0x3bfada=(_0xf29476,_0x401ba9,_0x2f34dd,_0x59c930)=>{const _0x30bc5d=_0x327e4b;for(var _0x4c6a13=_0x59c930>0x1?void 0x0:_0x59c930?_0x4cfb1b(_0x401ba9,_0x2f34dd):_0x401ba9,_0x32cf5f=_0xf29476[_0x30bc5d(0x2a3)]-0x1,_0x308bf5;_0x32cf5f>=0x0;_0x32cf5f--)(_0x308bf5=_0xf29476[_0x32cf5f])&&(_0x4c6a13=_0x308bf5(_0x4c6a13)||_0x4c6a13);return _0x4c6a13;},_0x4c49a0=(_0x21f446,_0x290937)=>(_0x4e4cda,_0x17d815)=>_0x290937(_0x4e4cda,_0x17d815,_0x21f446);let _0x56c4f6=class extends _0x28441d[_0x327e4b(0x1d5)]{constructor(_0x43d575,_0x53e9c1,_0x567b29){const _0x5144f3=_0x327e4b;super(),_0x494fdf(this,_0x5144f3(0x2a0),new Map()),_0x494fdf(this,_0x5144f3(0x28f),new _0x4d6694['BehaviorSubject']({'ranges':new Map(),'active':null})),_0x494fdf(this,'currentVersionDiff$',this[_0x5144f3(0x28f)][_0x5144f3(0x135)]()),(this['_historyManagerService']=_0x43d575,this[_0x5144f3(0x113)]=_0x53e9c1,this['_snapshotServerService']=_0x567b29,this[_0x5144f3(0x27d)]());}[_0x327e4b(0x27d)](){const _0x1d21fe=_0x327e4b;this[_0x1d21fe(0x2a0)]=new Map(),this[_0x1d21fe(0x2b1)](this[_0x1d21fe(0x1cc)][_0x1d21fe(0x1a0)][_0x1d21fe(0x2ab)](_0xf2f7ab=>{const _0x3b18dd=_0x1d21fe;_0xf2f7ab&&!this[_0x3b18dd(0x2a0)][_0x3b18dd(0x2ad)](_0xf2f7ab)&&this[_0x3b18dd(0x2a0)][_0x3b18dd(0x1a8)](_0xf2f7ab,new Map());})),this[_0x1d21fe(0x2b1)](this[_0x1d21fe(0x1cc)][_0x1d21fe(0x309)][_0x1d21fe(0x2ab)](async _0x52545a=>{const _0x3143f9=_0x1d21fe;var _0x2479ba;_0x52545a&&(await this['ensureVersion'](_0x52545a),this[_0x3143f9(0x28f)][_0x3143f9(0x220)](((_0x2479ba=this[_0x3143f9(0x2a0)][_0x3143f9(0x175)](this['_historyManagerService'][_0x3143f9(0x1aa)]))==null?void 0x0:_0x2479ba['get'](_0x52545a))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x490ddc){const _0x73a69=_0x327e4b;var _0x3140f8,_0x4c57ec;const _0x1d6994=this[_0x73a69(0x1cc)][_0x73a69(0x183)](_0x490ddc),_0x2fbb35=this[_0x73a69(0x1cc)][_0x73a69(0x1aa)];if(!_0x1d6994||!_0x2fbb35)return;const _0x9d5e43=this[_0x73a69(0x2a0)]['get'](_0x2fbb35);if(_0x9d5e43||this[_0x73a69(0x2a0)][_0x73a69(0x1a8)](_0x2fbb35,new Map()),(_0x3140f8=this['_diffRangesMap'][_0x73a69(0x175)](_0x2fbb35))!=null&&_0x3140f8[_0x73a69(0x2ad)](_0x1d6994['id']))return;const {startRev:_0x4b69c3,endRev:_0xd21887}=_0x1d6994;if(_0x4b69c3===0x1){_0x9d5e43[_0x73a69(0x1a8)](_0x1d6994['id'],{'ranges':new Map(),'active':null});return;}const _0x4d878c=_0x4b69c3-0x1,_0x285f5f=_0xd21887,_0x59de1e=await this[_0x73a69(0x308)][_0x73a69(0x193)]({},{'unitID':_0x2fbb35,'from':_0x4d878c,'to':_0x285f5f,'type':_0x1aae14[_0x73a69(0x200)]});if(((_0x4c57ec=_0x59de1e['error'])==null?void 0x0:_0x4c57ec['code'])===_0x18984a['OK']){const _0x55ba56=_0x59de1e[_0x73a69(0x13f)][_0x73a69(0x13a)](_0x1dc056=>((_0x1dc056[_0x73a69(0x19c)]===null||_0x1dc056[_0x73a69(0x19c)]===void 0x0)&&(_0x1dc056['mutations']=[]),_0xab9f40[_0x73a69(0xf8)](_0x1dc056)))[_0x73a69(0x13a)](_0x313d9e=>_0x313d9e[_0x73a69(0x19c)]['map'](_0x57b8af=>({..._0x57b8af,'params':{..._0x57b8af[_0x73a69(0x1d9)],'memberId':_0x313d9e['userID']}})))[_0x73a69(0x201)](),_0x563fa9=this[_0x73a69(0x22d)](_0x55ba56),_0x3ef9e8=this[_0x73a69(0xe9)](_0x55ba56),_0x35a43c=this[_0x73a69(0xe4)](_0x563fa9);_0x9d5e43[_0x73a69(0x1a8)](_0x1d6994['id'],{'ranges':_0x35a43c,'active':_0x3ef9e8});}}[_0x327e4b(0x22d)](_0x3f6f17){const _0x1c6e69=_0x327e4b;let _0x45bd4e=[];for(let _0x469c2d=0x0;_0x469c2d<_0x3f6f17[_0x1c6e69(0x2a3)];_0x469c2d++){const _0x5d8a17=_0x3f6f17[_0x469c2d];if(_0x45bd4e[_0x1c6e69(0x29a)](_0x5d8a17),_0x469c2d!==_0x3f6f17[_0x1c6e69(0x2a3)]-0x1){const _0x17fb30=_0x3f6f17[_0x469c2d+0x1],_0x49d9c6=this[_0x1c6e69(0x113)]['transformMutations'](_0x45bd4e,[_0x17fb30]);_0xab9f40[_0x1c6e69(0x1ca)](_0x49d9c6)?_0x45bd4e=_0x49d9c6['m1Prime']:_0x45bd4e=[];}}return _0x45bd4e;}['_getActiveSubUnitId'](_0x1d3891){const _0x496239=_0x327e4b;let _0x38a61a=[];return _0x1d3891[_0x496239(0x147)](_0x1d7d59=>{const _0x1eb706=_0x496239;if(_0x1d7d59['id']===_0x2418c3[_0x1eb706(0x213)]['id']){const _0x2a2e82=_0x1d7d59[_0x1eb706(0x1d9)];_0x38a61a[_0x1eb706(0x29a)](_0x2a2e82[_0x1eb706(0x18b)]['id']);}else{if(_0x1d7d59['id']===_0x2418c3[_0x1eb706(0x145)]['id']){const _0x49a35d=_0x1d7d59[_0x1eb706(0x1d9)];_0x38a61a[_0x1eb706(0x2a3)]>0x0&&(_0x38a61a=_0x38a61a['filter'](_0x2bb9b9=>_0x2bb9b9!==_0x49a35d['subUnitId']));}else{if(_0x1d7d59['id']===_0x2418c3[_0x1eb706(0x196)]['id']){const _0x22af9c=_0x1d7d59['params'];_0x22af9c[_0x1eb706(0x298)]?_0x38a61a=_0x38a61a['filter'](_0x4ff4ab=>_0x4ff4ab!==_0x22af9c[_0x1eb706(0x237)]):_0x38a61a[_0x1eb706(0x29a)](_0x22af9c[_0x1eb706(0x237)]);}else{const _0x32c032=_0x1d7d59[_0x1eb706(0x1d9)];_0x32c032['subUnitId']&&_0x38a61a[_0x1eb706(0x29a)](_0x32c032[_0x1eb706(0x237)]);}}}}),_0x38a61a[_0x496239(0x2a3)]>0x0?_0x38a61a[_0x38a61a['length']-0x1]:null;}['_extractRanges'](_0x5bbadc){const _0x466add=_0x327e4b,_0x329a75=new Map();return _0x5bbadc[_0x466add(0x147)](_0x545785=>{const _0x38c868=_0x466add;var _0x1cb438,_0x745f5b;const _0x3f7dd6=(_0x1cb438=_0x545785['params'])==null?void 0x0:_0x1cb438[_0x38c868(0x2f9)];if(_0x3f7dd6){_0x329a75[_0x38c868(0x2ad)](_0x3f7dd6)||_0x329a75[_0x38c868(0x1a8)](_0x3f7dd6,[]);const _0x551cd8=this[_0x38c868(0x16d)](_0x545785);(_0x745f5b=_0x329a75['get'](_0x3f7dd6))==null||_0x745f5b[_0x38c868(0x29a)](..._0x551cd8);}}),_0x329a75[_0x466add(0x147)]((_0x5464c2,_0x44c74e)=>{const _0x5886db=_0x466add;_0x329a75['set'](_0x44c74e,this[_0x5886db(0x303)](_0x5464c2));}),_0x329a75;}[_0x327e4b(0x16d)](_0x3775c5){const _0xc2cf2f=_0x327e4b;switch(_0x3775c5['id']){case _0x2418c3[_0xc2cf2f(0x2f5)]['id']:{const _0x2738ae=_0x3775c5[_0xc2cf2f(0x1d9)];return _0x2738ae[_0xc2cf2f(0x204)]['map'](_0x5f2b10=>_0x5f2b10[_0xc2cf2f(0x238)]['map'](_0x243382=>({'range':_0x243382,'unitId':_0x2738ae[_0xc2cf2f(0x1aa)],'subUnitId':_0x2738ae[_0xc2cf2f(0x237)]})))[_0xc2cf2f(0x201)]();}case _0x2418c3[_0xc2cf2f(0x2e9)]['id']:{const _0x3db05c=_0x3775c5['params'];return _0x3db05c[_0xc2cf2f(0x238)]['map'](_0x276173=>({'range':_0x276173,'unitId':_0x3db05c[_0xc2cf2f(0x1aa)],'subUnitId':_0x3db05c[_0xc2cf2f(0x237)]}));}case _0x2418c3['InsertRowMutation']['id']:{const _0x390427=_0x3775c5[_0xc2cf2f(0x1d9)];return[{'range':_0x390427[_0xc2cf2f(0x296)],'unitId':_0x390427[_0xc2cf2f(0x1aa)],'subUnitId':_0x390427[_0xc2cf2f(0x237)]}];}case _0x2418c3[_0xc2cf2f(0x18c)]['id']:{const _0x43e500=_0x3775c5[_0xc2cf2f(0x1d9)];return[{'range':_0x43e500['range'],'unitId':_0x43e500[_0xc2cf2f(0x1aa)],'subUnitId':_0x43e500[_0xc2cf2f(0x237)]}];}case _0x2418c3[_0xc2cf2f(0x2c2)]['id']:{const _0x33e1a4=_0x3775c5[_0xc2cf2f(0x1d9)],{from:_0x5240bd,to:_0x481b14,unitId:_0x3b99f5}=_0x33e1a4;return[{'range':_0x9de2fe(_0x5240bd[_0xc2cf2f(0x2d9)]),'unitId':_0x3b99f5,'subUnitId':_0x5240bd[_0xc2cf2f(0x237)]},{'range':_0x9de2fe(_0x481b14[_0xc2cf2f(0x2d9)]),'unitId':_0x3b99f5,'subUnitId':_0x481b14[_0xc2cf2f(0x237)]}];}case _0x2418c3[_0xc2cf2f(0x295)]['id']:{const _0x14a1a6=_0x3775c5[_0xc2cf2f(0x1d9)],{unitId:_0x29c7bc,subUnitId:_0x5865d7,sourceRange:_0x14979e,targetRange:_0x33148a}=_0x14a1a6,_0x172744=_0x14979e[_0xc2cf2f(0x2e6)]-_0x14979e[_0xc2cf2f(0xff)]+0x1;return[{'range':_0x33148a[_0xc2cf2f(0xff)]<=_0x14979e[_0xc2cf2f(0xff)]?_0x33148a:{..._0x33148a,'startRow':_0x33148a['startRow']-_0x172744,'endRow':_0x33148a[_0xc2cf2f(0x2e6)]-_0x172744},'unitId':_0x29c7bc,'subUnitId':_0x5865d7}];}case _0x2418c3['MoveColsMutation']['id']:{const _0x3ba857=_0x3775c5[_0xc2cf2f(0x1d9)],{unitId:_0x109346,subUnitId:_0x45beaa,sourceRange:_0x53b52c,targetRange:_0x515e1a}=_0x3ba857,_0x2a7d2=_0x53b52c['endColumn']-_0x53b52c[_0xc2cf2f(0x21e)]+0x1;return[{'range':_0x515e1a[_0xc2cf2f(0x21e)]<=_0x53b52c[_0xc2cf2f(0x21e)]?_0x515e1a:{..._0x515e1a,'startColumn':_0x515e1a[_0xc2cf2f(0x21e)]-_0x2a7d2,'endColumn':_0x515e1a[_0xc2cf2f(0x211)]-_0x2a7d2},'unitId':_0x109346,'subUnitId':_0x45beaa}];}case _0x2418c3['SetNumfmtMutation']['id']:{const _0x478c43=_0x3775c5[_0xc2cf2f(0x1d9)],{values:_0x502323,unitId:_0x26c035,subUnitId:_0x19a4cf}=_0x478c43;return Object[_0xc2cf2f(0x284)](_0x502323)[_0xc2cf2f(0x13a)](_0xfedf57=>_0xfedf57[_0xc2cf2f(0x238)][_0xc2cf2f(0x13a)](_0x4befc8=>({'range':_0x4befc8,'unitId':_0x26c035,'subUnitId':_0x19a4cf})))[_0xc2cf2f(0x201)]();}case _0x2418c3[_0xc2cf2f(0x30d)]['id']:{const _0xc3ae45=_0x3775c5[_0xc2cf2f(0x1d9)],{ranges:_0x8dff77,unitId:_0x410305,subUnitId:_0x57a626}=_0xc3ae45;return _0x8dff77[_0xc2cf2f(0x13a)](_0x4f272e=>({'range':_0x4f272e,'unitId':_0x410305,'subUnitId':_0x57a626}));}case _0x2418c3['ReorderRangeMutation']['id']:{const _0x1ee50a=_0x3775c5[_0xc2cf2f(0x1d9)],{unitId:_0x2a2723,subUnitId:_0x2a859b,range:_0x107900}=_0x1ee50a;return[{'range':_0x107900,'unitId':_0x2a2723,'subUnitId':_0x2a859b}];}case _0x2418c3['SetRangeProtectionMutation']['id']:{const _0x20b81b=_0x3775c5[_0xc2cf2f(0x1d9)];return _0x20b81b[_0xc2cf2f(0x231)][_0xc2cf2f(0x238)][_0xc2cf2f(0x13a)](_0x11cd0a=>({'range':_0x11cd0a,'unitId':_0x20b81b['unitId'],'subUnitId':_0x20b81b['subUnitId']}));}case _0x2418c3['SetRangeValuesMutation']['id']:{const _0x1fee85=_0x3775c5[_0xc2cf2f(0x1d9)];return _0x1fee85['cellValue']?_0x1b78fc(_0x1fee85[_0xc2cf2f(0xc3)])[_0xc2cf2f(0x13a)](_0x2e4f0a=>({'range':_0x2e4f0a,'unitId':_0x1fee85['unitId'],'subUnitId':_0x1fee85[_0xc2cf2f(0x237)]})):[];}case _0x5e08b9['SetSheetsFilterRangeMutation']['id']:{const _0x195a19=_0x3775c5[_0xc2cf2f(0x1d9)];return[{'range':_0x195a19['range'],'unitId':_0x195a19[_0xc2cf2f(0x1aa)],'subUnitId':_0x195a19[_0xc2cf2f(0x237)]}];}case _0x12b210[_0xc2cf2f(0x304)]['id']:{const _0x5761f4=_0x3775c5[_0xc2cf2f(0x1d9)];return(Array['isArray'](_0x5761f4[_0xc2cf2f(0x231)])?_0x5761f4[_0xc2cf2f(0x231)]:[_0x5761f4['rule']])[_0xc2cf2f(0x13a)](_0x5dc340=>_0x5dc340[_0xc2cf2f(0x238)][_0xc2cf2f(0x13a)](_0x5a21fb=>({'range':_0x5a21fb,'unitId':_0x5761f4[_0xc2cf2f(0x1aa)],'subUnitId':_0x5761f4[_0xc2cf2f(0x237)]})))[_0xc2cf2f(0x201)]();}case _0x956b12[_0xc2cf2f(0x110)]['id']:{const _0x439167=_0x3775c5[_0xc2cf2f(0x1d9)];return _0x439167[_0xc2cf2f(0x231)][_0xc2cf2f(0x238)][_0xc2cf2f(0x13a)](_0x1ce0da=>({'range':_0x1ce0da,'unitId':_0x439167[_0xc2cf2f(0x1aa)],'subUnitId':_0x439167[_0xc2cf2f(0x237)]}));}default:return[];}}[_0x327e4b(0x303)](_0x489adb){const _0x52e248=_0x327e4b;if(_0x489adb[_0x52e248(0x2a3)]<=0x1)return _0x489adb;const _0x24e441=new Map();return _0x489adb[_0x52e248(0x147)](_0x4a7d39=>{const _0x5e6853=_0x52e248;var _0x37cdf6;const {unitId:_0x1fbec4,subUnitId:_0x4893af}=_0x4a7d39,_0x1d14d4=_0x1fbec4+'-'+_0x4893af;_0x24e441[_0x5e6853(0x2ad)](_0x1d14d4)?(_0x37cdf6=_0x24e441['get'](_0x1d14d4))==null||_0x37cdf6[_0x5e6853(0x29a)](_0x4a7d39):_0x24e441[_0x5e6853(0x1a8)](_0x1d14d4,[_0x4a7d39]);}),Array[_0x52e248(0x1a2)](_0x24e441['values']())['map'](_0x572b17=>new _0x2418c3['RangeMergeUtil']()[_0x52e248(0x2f3)](..._0x572b17[_0x52e248(0x13a)](_0x27e56e=>_0x27e56e[_0x52e248(0x296)]))['merge']()[_0x52e248(0x13a)](_0x30b853=>({'range':_0x30b853,'unitId':_0x572b17[0x0][_0x52e248(0x1aa)],'subUnitId':_0x572b17[0x0][_0x52e248(0x237)]})))[_0x52e248(0x201)]();}};_0x56c4f6=_0x3bfada([_0x4c49a0(0x0,_0x28441d[_0x327e4b(0x108)](_0x46408b[_0x327e4b(0x2d7)])),_0x4c49a0(0x1,_0xab9f40['ITransformService']),_0x4c49a0(0x2,_0xab9f40[_0x327e4b(0x1a6)])],_0x56c4f6);function _0x9de2fe(_0x2855fb){const _0x3a29b3=_0x327e4b;return new _0x28441d[(_0x3a29b3(0x1b2))](_0x2855fb)['getDataRange']();}function _0x1b78fc(_0x2670b6){const _0x339c41=_0x327e4b,_0xae30b3=new _0x28441d[(_0x339c41(0x1b2))](_0x2670b6),_0x50ce02=new _0x28441d['ObjectMatrix']();return _0xae30b3[_0x339c41(0x1a7)]((_0x3d36fe,_0x5af1af)=>{const _0x3ff35b=_0x339c41;_0x50ce02[_0x3ff35b(0x15b)](_0x3d36fe,_0x5af1af,0x1);}),_0x2418c3[_0x339c41(0x306)](_0x50ce02);}var _0x35d2a8=Object[_0x327e4b(0xe1)],_0x59af8d=(_0x105877,_0x30e0d2,_0x253d40,_0x983bcb)=>{const _0x3b4ed8=_0x327e4b;for(var _0x77e27f=_0x983bcb>0x1?void 0x0:_0x983bcb?_0x35d2a8(_0x30e0d2,_0x253d40):_0x30e0d2,_0x2cf48c=_0x105877[_0x3b4ed8(0x2a3)]-0x1,_0x3b8982;_0x2cf48c>=0x0;_0x2cf48c--)(_0x3b8982=_0x105877[_0x2cf48c])&&(_0x77e27f=_0x3b8982(_0x77e27f)||_0x77e27f);return _0x77e27f;},_0x3eef2d=(_0x74aed5,_0x2e00f2)=>(_0x3497a8,_0x5df1a7)=>_0x2e00f2(_0x3497a8,_0x5df1a7,_0x74aed5);let _0x457162=class extends _0x28441d[_0x327e4b(0x1d5)]{constructor(_0x132e34,_0x337acc,_0x5a836e,_0x15f41b,_0xcc4ba3,_0x480ea6,_0x4798d1){const _0x264f7d=_0x327e4b;super(),_0x494fdf(this,_0x264f7d(0x277),new Set()),_0x494fdf(this,_0x264f7d(0x2c1),null),(this[_0x264f7d(0x15d)]=_0x132e34,this[_0x264f7d(0x1cc)]=_0x337acc,this[_0x264f7d(0x2fc)]=_0x5a836e,this[_0x264f7d(0x2ea)]=_0x15f41b,this[_0x264f7d(0x127)]=_0xcc4ba3,this['_sheetSkeletonManagerService']=_0x480ea6,this[_0x264f7d(0x1d2)]=_0x4798d1,this['_init']());}['_init'](){const _0x5775bc=_0x327e4b;this[_0x5775bc(0x2bb)](),this[_0x5775bc(0x11d)]();}['_initRender'](){const _0x17ae88=_0x327e4b;this[_0x17ae88(0x2b1)](_0x4d6694[_0x17ae88(0x2b8)]([this[_0x17ae88(0x1cc)][_0x17ae88(0x2a8)],this[_0x17ae88(0x22f)]['currentSkeleton$']])[_0x17ae88(0x223)](_0x4d6694[_0x17ae88(0x26f)](([_0x3994f6,_0x47a9e0])=>{const _0x3a33d0=_0x17ae88;if(_0x3994f6===_0x3ee848[_0x3a33d0(0x209)]&&_0x47a9e0){const _0x4f44af=_0x47a9e0[_0x3a33d0(0x2ff)];return this[_0x3a33d0(0x2fc)]['currentVersionDiff$'][_0x3a33d0(0x223)](_0x4d6694[_0x3a33d0(0x13a)](_0x10e82e=>{const _0x26cf69=_0x3a33d0,_0x4ed199=new Map();return _0x10e82e[_0x26cf69(0x238)]['forEach']((_0x3497a0,_0x5d6565)=>{const _0x551822=_0x26cf69,_0x7aa28d=_0x3497a0[_0x551822(0x261)](_0x42893e=>_0x42893e[_0x551822(0x237)]===_0x4f44af);_0x4ed199[_0x551822(0x1a8)](_0x5d6565,_0x7aa28d);}),{'skeleton':_0x47a9e0,'diffs':_0x4ed199};}));}return _0x4d6694['of']({'skeleton':null,'diffs':new Map()});}))[_0x17ae88(0x2ab)](({skeleton:_0x4723c4,diffs:_0x5d779d})=>{const _0x33685b=_0x17ae88;this[_0x33685b(0x1dc)](),_0x4723c4&&this[_0x33685b(0x1cd)](_0x4723c4,_0x5d779d);})),this[_0x17ae88(0x2b1)](this[_0x17ae88(0x22f)]['currentSkeleton$']['subscribe'](_0x4c39dc=>{const _0x4368bf=_0x17ae88;if(_0x4c39dc==null)return;const {skeleton:_0x28bced}=_0x4c39dc,{scene:_0x8b22f3}=this[_0x4368bf(0x15d)];_0x8b22f3['onPointerMove$'][_0x4368bf(0x221)](_0x28441d[_0x4368bf(0x16e)](_0x17e4a5=>{const _0x46acd=_0x4368bf;var _0x59c6f0,_0x5c83c5;const {offsetX:_0x2caf2d,offsetY:_0x1cfff3}=_0x17e4a5,{x:_0x4fa048,y:_0x28819b}=_0x8b22f3[_0x46acd(0x2bc)](_0x5e2c75['Vector2'][_0x46acd(0x2b2)]([_0x2caf2d,_0x1cfff3])),{scaleX:_0x1e6d61,scaleY:_0x4dc4b7}=_0x8b22f3[_0x46acd(0x13d)](),_0x41f12d=_0x8b22f3[_0x46acd(0x185)](_0x5e2c75[_0x46acd(0x26b)][_0x46acd(0x1e2)]),_0x1e8f70=_0x8b22f3['getVpScrollXYInfoByPosToVp'](_0x5e2c75[_0x46acd(0x2cd)][_0x46acd(0x2b2)]([_0x4fa048,_0x28819b]),_0x41f12d),_0xb72409=_0x28bced[_0x46acd(0x1de)](_0x2caf2d,_0x1cfff3,_0x1e6d61,_0x4dc4b7,_0x1e8f70);((_0x59c6f0=this[_0x46acd(0x2c1)])==null?void 0x0:_0x59c6f0[_0x46acd(0x190)])===_0xb72409[_0x46acd(0x190)]&&((_0x5c83c5=this[_0x46acd(0x2c1)])==null?void 0x0:_0x5c83c5[_0x46acd(0x2d8)])===_0xb72409[_0x46acd(0x2d8)]||this[_0x46acd(0x277)]['forEach'](_0x384cb0=>{_0x384cb0['onMouseMove'](_0xb72409);});},0x64));}));}[_0x327e4b(0x11d)](){const _0x1a491d=_0x327e4b;this[_0x1a491d(0x2b1)](this[_0x1a491d(0x1cc)]['loadingState$']['subscribe'](_0x19fea6=>{const _0xb3418a=_0x1a491d,_0x19dee3=new _0x28441d[(_0xb3418a(0x214))]();return _0x19fea6===_0x3ee848[_0xb3418a(0x209)]&&(_0x19dee3[_0xb3418a(0x151)](),_0x19dee3[_0xb3418a(0x2f3)](this[_0xb3418a(0x2fc)]['currentVersionDiff$'][_0xb3418a(0x2ab)](_0x374113=>{const _0x28b478=_0xb3418a;_0x374113['active']&&this[_0x28b478(0x1d2)][_0x28b478(0x1c9)](_0x2418c3[_0x28b478(0x106)]['id'],{'unitId':this[_0x28b478(0x15d)]['unitId'],'subUnitId':_0x374113[_0x28b478(0x1ef)]});}))),()=>_0x19dee3[_0xb3418a(0x151)]();}));}[_0x327e4b(0x1cd)](_0x320cbc,_0x2d1bcb){const _0x4cef06=_0x327e4b;var _0x4b9404;const _0x249e79=(_0x4b9404=this[_0x4cef06(0x22f)][_0x4cef06(0x255)]())==null?void 0x0:_0x4b9404[_0x4cef06(0x21a)];if(!_0x249e79)return;this[_0x4cef06(0x277)]['forEach'](_0x262746=>{const _0x3e0315=_0x4cef06;_0x262746[_0x3e0315(0x1fd)]();});const {scene:_0x5b4ae8}=this[_0x4cef06(0x15d)],_0x2a0b4a=Array['from'](_0x2d1bcb[_0x4cef06(0x12f)]())[_0x4cef06(0x13a)](_0x2f0d01=>_0x2d1bcb[_0x4cef06(0x175)](_0x2f0d01)['map'](_0x1835b2=>{const _0x35f0eb=_0x4cef06;var _0x515f26;const {range:_0x4f8a0a,subUnitId:_0x25bdab,unitId:_0x2250b6}=_0x1835b2,{startColumn:_0x1f8e13,startRow:_0x31f6bb,endColumn:_0x38a2eb,endRow:_0x1eaa6f}=_0x4f8a0a,_0x512aae=_0x39cd2a[_0x35f0eb(0x289)](_0x31f6bb,_0x1f8e13,_0x5b4ae8,_0x249e79),_0x171ffc=_0x39cd2a[_0x35f0eb(0x289)](_0x1eaa6f,_0x38a2eb,_0x5b4ae8,_0x249e79),{columnHeaderHeightAndMarginTop:_0x1be680}=_0x249e79,{startX:_0x139ef6,startY:_0x311827}=_0x512aae,{endX:_0x263d28,endY:_0x918e14}=_0x171ffc,_0x515409=_0x263d28-_0x139ef6,_0x49104d=_0x918e14-_0x311827,_0x1e5501={'labelPosition':_0x311827-_0x1be680>=0x14?_0x35f0eb(0x2a4):_0x35f0eb(0x1ba),'sheetID':_0x25bdab,'range':_0x4f8a0a,'color':_0x35f0eb(0x163),'fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x515f26=this[_0x35f0eb(0x1cc)][_0x35f0eb(0x202)](_0x2f0d01))==null?void 0x0:_0x515f26[_0x35f0eb(0x184)])||'','selection':_0x2250b6+'-'+_0x25bdab+'-'+_0x4f8a0a[_0x35f0eb(0x21e)]+'-'+_0x4f8a0a[_0x35f0eb(0xff)]+'-'+_0x4f8a0a['endColumn']+'-'+_0x4f8a0a[_0x35f0eb(0x2e6)],'left':_0x139ef6,'top':_0x311827,'width':_0x515409,'height':_0x49104d,'evented':!0x1,'zIndex':0x1};return new _0x15af9a[(_0x35f0eb(0x2ce))]('',_0x1e5501);}))['flat']();_0x5b4ae8[_0x4cef06(0x2cb)](_0x2a0b4a,0x1),this[_0x4cef06(0x277)]=new Set(_0x2a0b4a);}[_0x327e4b(0x1dc)](){const _0x4a69a2=_0x327e4b;var _0x471127;(_0x471127=this[_0x4a69a2(0x277)])==null||_0x471127[_0x4a69a2(0x147)](_0xc7f75d=>_0xc7f75d[_0x4a69a2(0x151)]());}['_getSheetObject'](){const _0xc9ed2=_0x327e4b;return _0x39cd2a[_0xc9ed2(0x154)](this[_0xc9ed2(0x2ea)],this[_0xc9ed2(0x127)]);}};_0x457162=_0x59af8d([_0x3eef2d(0x1,_0x28441d['Inject'](_0x46408b[_0x327e4b(0x2d7)])),_0x3eef2d(0x2,_0x28441d[_0x327e4b(0x108)](_0x56c4f6)),_0x3eef2d(0x3,_0x28441d[_0x327e4b(0xfc)]),_0x3eef2d(0x4,_0x5e2c75[_0x327e4b(0x257)]),_0x3eef2d(0x5,_0x28441d[_0x327e4b(0x108)](_0x39cd2a['SheetSkeletonManagerService'])),_0x3eef2d(0x6,_0x28441d[_0x327e4b(0x121)])],_0x457162);function _0x3ee0c5(){const _0x4bc337=_0x327e4b,_0x44a7eb=_0x4f852b['useDependency'](_0x46408b[_0x4bc337(0x2d7)]),_0xe26d88=_0x4f852b[_0x4bc337(0x307)](_0x44a7eb[_0x4bc337(0x2d2)]),[_0x1ce207,_0x2b6d3b]=_0xc96c92[_0x4bc337(0x180)](!0x1),_0x56020c=_0xcdbc83(_0xe26d88);return _0xe26d88?_0x16077d[_0x4bc337(0x2c0)](_0x4bc337(0x129),{'className':_0x4bc337(0x250),'children':_0x16077d[_0x4bc337(0x27f)](_0x4bc337(0x129),{'className':_0x4bc337(0x25d),'children':[_0x56020c[_0x4bc337(0x13a)]((_0x2fd2fa,_0x4e343b)=>_0x16077d[_0x4bc337(0x27f)](_0xc96c92[_0x4bc337(0x242)],{'children':[_0x16077d[_0x4bc337(0x2c0)](_0x239eff,{'date':_0x2fd2fa[_0x4bc337(0x300)]}),_0x2fd2fa['versions']['map']((_0xb6a1b9,_0x25a87f)=>_0x16077d['jsx'](_0x4dacd2,{'index':[_0x4e343b,_0x25a87f],'item':_0xb6a1b9},_0x4e343b+'-'+_0x25a87f))]},_0x2fd2fa[_0x4bc337(0x300)])),_0x1ce207&&_0x16077d[_0x4bc337(0x2c0)](_0x2572fb,{})]})}):_0x16077d[_0x4bc337(0x2c0)](_0x141f54,{});}function _0x2572fb(){const _0x48de4d=_0x327e4b;return _0x16077d[_0x48de4d(0x2c0)](_0x48de4d(0x129),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x16077d[_0x48de4d(0x2c0)](_0x27ecea,{'className':_0x48de4d(0x11b)})});}function _0x141f54(){const _0x3562ff=_0x327e4b;return _0x16077d[_0x3562ff(0x2c0)](_0x3562ff(0x129),{'className':_0x3562ff(0x15f),'children':_0x16077d[_0x3562ff(0x2c0)]('span',{'className':'univer-text-gray-500','children':_0x16077d[_0x3562ff(0x2c0)](_0x27ecea,{'className':_0x3562ff(0x292)})})});}function _0x239eff(_0x266701){const _0x54631e=_0x327e4b,_0x12523a=_0x4f852b[_0x54631e(0x105)](_0x28441d[_0x54631e(0x10c)]),{date:_0x35ea69}=_0x266701;return _0x16077d['jsx'](_0x54631e(0x129),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','children':_0x4676f9(_0x35ea69,_0x12523a[_0x54631e(0x1e4)]())});}function _0x4dacd2(_0x5df7ab){const _0x4e6372=_0x327e4b,{item:_0x288834,index:_0x5e1478}=_0x5df7ab,{time:_0xd72a82,user:_0x4142c8}=_0x288834,[_0x4fbf90,_0x40cdd1]=_0x5e1478,_0x416231=_0x4f852b[_0x4e6372(0x105)](_0x46408b[_0x4e6372(0x2d7)]),_0x55f882=_0x4f852b[_0x4e6372(0x307)](_0x416231['currentVersion$'],'',!0x0)===_0x288834['id'],_0x5b997e=_0x4fbf90===0x0&&_0x40cdd1===0x0,_0x3f473a=!_0x5b997e&&_0x416231[_0x4e6372(0x1e0)],_0x1af238=_0x4f852b['useDependency'](_0x28441d[_0x4e6372(0x10c)]),_0x54c75e=_0x1af238['getCurrentLocale'](),_0x1565bf=_0x234ef7(_0xd72a82,_0x54c75e),_0x4a3fd8=_0x1af238['t']('editHistory.panel.currentVersion'),_0x24259a=_0xc96c92[_0x4e6372(0x1ed)](_0x146eb0=>{const _0x5a0b93=_0x4e6372;_0x416231[_0x5a0b93(0x1e1)]!==_0x3ee848['Loading']&&(_0x416231[_0x5a0b93(0x1ee)]=_0x146eb0);},[_0x416231]),_0xbe3e87=_0xc96c92['useCallback'](_0x2b2e4f=>{_0x416231['triggerRevert'](_0x2b2e4f);},[_0x416231]);return _0x16077d[_0x4e6372(0x27f)](_0x4e6372(0x129),{'className':_0x58cc08[_0x4e6372(0xef)]('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':_0x55f882}),'onClick':()=>_0x24259a(_0x288834['id']),'children':[_0x16077d[_0x4e6372(0x27f)](_0x4e6372(0x129),{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x16077d[_0x4e6372(0x27f)](_0x4e6372(0x129),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x16077d[_0x4e6372(0x2c0)](_0x4e6372(0x165),{'children':_0x1565bf[_0x4e6372(0x256)]}),_0x5b997e&&_0x16077d[_0x4e6372(0x2c0)](_0x4e6372(0x165),{'className':_0x4e6372(0x27e),'children':_0x4a3fd8})]}),_0x16077d[_0x4e6372(0x2c0)]('div',{'children':_0x3f473a&&_0x16077d[_0x4e6372(0x2c0)](_0x58cc08[_0x4e6372(0x10b)],{'title':_0x1af238['t'](_0x4e6372(0xc7)),'children':_0x16077d[_0x4e6372(0x2c0)](_0x4e6372(0x129),{'onClick':_0x285a2d=>{const _0x58a000=_0x4e6372;_0x285a2d[_0x58a000(0x24d)](),_0xbe3e87(_0x288834['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':_0x16077d[_0x4e6372(0x2c0)](_0x53e6f6,{})})})})]}),_0x16077d[_0x4e6372(0x2c0)](_0x4e6372(0x129),{'className':_0x4e6372(0x1b7),'children':_0x1739bd(_0x288834,_0x1af238)})]});}var _0x452df6=Object[_0x327e4b(0xe1)],_0x19003f=(_0x59023a,_0x56fc5c,_0xfe019d,_0x426aa4)=>{const _0x4817e5=_0x327e4b;for(var _0x5b7604=_0x426aa4>0x1?void 0x0:_0x426aa4?_0x452df6(_0x56fc5c,_0xfe019d):_0x56fc5c,_0x4143af=_0x59023a[_0x4817e5(0x2a3)]-0x1,_0x4c134b;_0x4143af>=0x0;_0x4143af--)(_0x4c134b=_0x59023a[_0x4143af])&&(_0x5b7604=_0x4c134b(_0x5b7604)||_0x5b7604);return _0x5b7604;},_0x673706=(_0x5adfd6,_0x343bdc)=>(_0x32853b,_0xb14066)=>_0x343bdc(_0x32853b,_0xb14066,_0x5adfd6);const _0x52b254=_0x327e4b(0xca);let _0x5d53e9=class extends _0x28441d['Disposable']{constructor(_0x104173,_0x291ff9,_0xcc5bec,_0xe0fa27,_0x56894b){const _0x405932=_0x327e4b;super(),_0x494fdf(this,_0x405932(0x2d6),null),(this[_0x405932(0x30b)]=_0x104173,this[_0x405932(0xf2)]=_0x291ff9,this[_0x405932(0x2e7)]=_0xcc5bec,this[_0x405932(0x1cc)]=_0xe0fa27,this[_0x405932(0xf3)]=_0x56894b,this[_0x405932(0x27d)]());}[_0x327e4b(0x27d)](){const _0x3ad05e=_0x327e4b;this[_0x3ad05e(0xd1)](),this[_0x3ad05e(0xd0)]();}[_0x327e4b(0xd0)](){const _0x2c6de3=_0x327e4b;var _0xf50c32;if(this[_0x2c6de3(0x2d6)])return;const _0x58300e=((_0xf50c32=this[_0x2c6de3(0xf3)][_0x2c6de3(0x156)](_0x5ad169))==null?void 0x0:_0xf50c32['historyPanelComponentKey'])||_0x52b254,_0x16c2c0={'header':{'title':this[_0x2c6de3(0x2e7)]['t']('editHistory.panel.title')},'children':{'label':_0x58300e},'onClose':()=>{const _0x3dcffd=_0x2c6de3;this['_sidebarDisposable']=null,this[_0x3dcffd(0x1cc)][_0x3dcffd(0x19d)]=_0x450b47[_0x3dcffd(0x189)];}};this['_sidebarDisposable']=this[_0x2c6de3(0x30b)][_0x2c6de3(0x11c)]({..._0x16c2c0});}['_initPanel'](){const _0x16ec8f=_0x327e4b;this['disposeWithMe'](this[_0x16ec8f(0xf2)][_0x16ec8f(0x263)](_0x52b254,_0x3ee0c5)),this[_0x16ec8f(0x2b1)](this['_sidebarService'][_0x16ec8f(0x254)][_0x16ec8f(0x223)](_0x4d6694[_0x16ec8f(0x132)](0x64))[_0x16ec8f(0x2ab)](_0x22e059=>{const _0x480703=_0x16ec8f,{target:_0x333858}=_0x22e059||{};if(_0x333858){const {scrollTop:_0xbc384,scrollHeight:_0x5e0991,clientHeight:_0xc4edc6}=_0x333858;_0xbc384+_0xc4edc6>=_0x5e0991-0x5&&this[_0x480703(0x1cc)][_0x480703(0x260)]();}}));}};_0x5d53e9=_0x19003f([_0x673706(0x0,_0x4f852b['ISidebarService']),_0x673706(0x1,_0x28441d[_0x327e4b(0x108)](_0x4f852b[_0x327e4b(0x26e)])),_0x673706(0x2,_0x28441d[_0x327e4b(0x108)](_0x28441d['LocaleService'])),_0x673706(0x3,_0x28441d[_0x327e4b(0x108)](_0x46408b['HistoryManagerService'])),_0x673706(0x4,_0x28441d['IConfigService'])],_0x5d53e9);class _0x10446f extends _0x28441d['Disposable']{constructor(){const _0x41cef3=_0x327e4b;super(),_0x494fdf(this,_0x41cef3(0x282),new _0x4d6694['Subject']());}[_0x327e4b(0x11c)](){const _0x53e14a=_0x327e4b;return _0x28441d[_0x53e14a(0x194)](()=>{});}[_0x327e4b(0x10f)](){}['closeAll'](_0x39f5b1){}['getDialogs$'](){const _0x5bb534=_0x327e4b;return this[_0x5bb534(0x282)][_0x5bb534(0x135)]();}}var _0x300a23=Object[_0x327e4b(0x1d3)],_0x2c7d70=Object[_0x327e4b(0xe1)],_0x50de3f=(_0x45d9b8,_0x177dcb,_0x561610)=>_0x177dcb in _0x45d9b8?_0x300a23(_0x45d9b8,_0x177dcb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x561610}):_0x45d9b8[_0x177dcb]=_0x561610,_0x21dfcd=(_0x52ebba,_0x49bb53,_0x576c00,_0x555a51)=>{const _0x351db7=_0x327e4b;for(var _0x5baf7b=_0x555a51>0x1?void 0x0:_0x555a51?_0x2c7d70(_0x49bb53,_0x576c00):_0x49bb53,_0x23f50e=_0x52ebba[_0x351db7(0x2a3)]-0x1,_0x5d4121;_0x23f50e>=0x0;_0x23f50e--)(_0x5d4121=_0x52ebba[_0x23f50e])&&(_0x5baf7b=_0x5d4121(_0x5baf7b)||_0x5baf7b);return _0x5baf7b;},_0x5c6213=(_0x1e3fea,_0x253dd4)=>(_0x49807a,_0x402e58)=>_0x253dd4(_0x49807a,_0x402e58,_0x1e3fea),_0x5bceb0=(_0x6b8597,_0x5665c7,_0xbe37b2)=>_0x50de3f(_0x6b8597,_0x5665c7+'',_0xbe37b2);const _0x2edb8c=_0x327e4b(0x1fc);_0x46408b[_0x327e4b(0x212)]=class extends _0x28441d[_0x327e4b(0x153)]{constructor(_0x303bb8=_0x68d9a0,_0x56e68a,_0x356120,_0x23a66a){const _0x32a000=_0x327e4b;super(),this[_0x32a000(0x20b)]=_0x303bb8,this[_0x32a000(0x2e1)]=_0x56e68a,this['_renderManagerService']=_0x356120,this[_0x32a000(0xf3)]=_0x23a66a;const {..._0x495619}=_0x28441d['merge']({},_0x68d9a0,this[_0x32a000(0x20b)]);this[_0x32a000(0xf3)][_0x32a000(0x150)](_0x5ad169,_0x495619);}[_0x327e4b(0x276)](){const _0x43ba80=_0x327e4b;[[_0x46408b[_0x43ba80(0x2d7)]],[_0x2d4972],[_0x56c4f6],[_0x2c84f4],[_0x5d53e9],[_0xe7df63],[_0xab9f40[_0x43ba80(0x1a6)],{'useClass':_0x1a112f[_0x43ba80(0x1f6)]}],[_0x4f852b[_0x43ba80(0x1f4)],{'useClass':_0x10446f}],[_0x422f58[_0x43ba80(0x252)],{'useClass':_0x1a112f['CollaborationImageIoService']}]][_0x43ba80(0x147)](_0x1a06ee=>this[_0x43ba80(0x2e1)][_0x43ba80(0x2f3)](_0x1a06ee)),this['_injector'][_0x43ba80(0x175)](_0x2d4972);}[_0x327e4b(0x115)](){const _0x52fc53=_0x327e4b;[[_0x457162]][_0x52fc53(0x147)](_0x24f7a9=>{const _0x181f56=_0x52fc53;this[_0x181f56(0x2b1)](this['_renderManagerService'][_0x181f56(0x1c4)](_0x28441d[_0x181f56(0x2d0)][_0x181f56(0x200)],_0x24f7a9));}),this[_0x52fc53(0x2e1)][_0x52fc53(0x175)](_0xe7df63),this[_0x52fc53(0x2e1)]['get'](_0x5d53e9);}[_0x327e4b(0x13e)](){const _0x1d7202=_0x327e4b;this['_injector'][_0x1d7202(0x175)](_0x56c4f6);}},_0x5bceb0(_0x46408b[_0x327e4b(0x212)],_0x327e4b(0x114),_0x2edb8c),_0x46408b[_0x327e4b(0x212)]=_0x21dfcd([_0x28441d['DependentOn'](_0x39cd2a['UniverSheetsUIPlugin'],_0x5afce2[_0x327e4b(0x2dd)]),_0x5c6213(0x1,_0x28441d[_0x327e4b(0x108)](_0x28441d[_0x327e4b(0x258)])),_0x5c6213(0x2,_0x5e2c75[_0x327e4b(0x257)]),_0x5c6213(0x3,_0x28441d[_0x327e4b(0x20f)])],_0x46408b['UniverEditHistoryViewerPlugin']),_0x46408b[_0x327e4b(0x2d3)]=_0x450b47,_0x46408b[_0x327e4b(0x10d)]=_0x3b9f1b,Object[_0x327e4b(0x1d3)](_0x46408b,Symbol[_0x327e4b(0x139)],{'value':_0x327e4b(0x16c)});}));function _0x3661(){const _0x4f4fe8=['useState','editHistory.panel.revertConfirmText','CompressMutationService','getVersion','name','getViewport','359495RBysXz','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','Exited','WECHAT_HAS_BEEN_BOUND','sheet','InsertColMutation','@univerjs-pro/collaboration-client-ui','entities','SetCellValue','column','_maskContainer','MOBILE_HAS_BEEN_BOUND','fetchMissingChangesets','toDisposable','@univerjs/sheets','SetWorksheetHideMutation','recoverTime','Button','YUUMI_UNABLE_LOAD_URL','currentColor','userId','mutations','status','REDEMPTION_CODE_NOT_STARTED','HideSheet','unitId$','DeleteSheet','from','YUUMI_ALL_TABLES_IS_INVALID','@univerjs/data-validation','Character','ISnapshotServerService','forValue','set','_getAPIPrefix','unitId','MOBILE_VERIFY_CODE_MISMATCH','SelectProtectedCells','UniverProSheetsSparkline','function','@univerjs-pro/sheets-chart','SelectUnProtectedCells','_uiPartsService','ObjectMatrix','Filter','xlink:href','CreatePermissionObject','white','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','57006IBCMnv','UniverProCollaborationClient','bottom','ENTITLE_DUP_SUBSCRIPTION','all','YUUMI_ASYNCIO_CANCELLED','SetCellStyle','endRevision','UniverDesign','ENSURE_SNAPSHOT_EXECUTION','block','ENTITLE_CAN_NOT_BUY_LOWER_OTP','registerRenderModule','Entered','_fetching$','MessageType','REDEMPTION_CODE_FULLY_REDEEMED','executeCommand','isTransformMutationsSuccess','USER_NOT_INVITED_CODE','_historyManagerService','_updateDiffMarks','removeSheet','style','REDEMPTION_USER_NOT_ELIGIBLE','ENTITLE_INSUFFICIENT_QUOTA','_commandService','defineProperty','body','Disposable','LOGIN_FAILED','center','_initMaskContainer','params','tag','SNAPSHOT_INVALID_SNAPSHOT','_removeDiffMarks','refreshRangeProtectPermission','getCellPositionByOffset','_createUnit','canRevert','loadingState','VIEW_MAIN','Loading','getCurrentLocale','getMinutes','UniverEngineRender','UniverProEditHistoryViewer','editHistory.action.etc','PERMISSION_DENIED','fetchCreatorList','UniverProCollaboration','SNAPSHOT_HAS_BEEN_REMOVED','useCallback','currentVersion','active','init','displayName','COMPLETION_FINISHED','getHours','IDialogService','_compressMutationService','SnapshotServerOverHTTPService','3ihRram','entered','_versions$','addSparkline','History','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','makeDirty','_historyFetchService','React','UNIVER_SHEET','flat','getMember','373156rWrRoe','rules','anonymous','zIndex','UniverSheets','#0B9EFB','Loaded','SetWorksheetStyle','_config','loaded','width','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','IConfigService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','endColumn','UniverEditHistoryViewerPlugin','InsertSheetMutation','DisposableCollection','_currentVersion$','children','User','SetFrozenMutation','_hasMore','skeleton','UNIVER_PROJECT','@univerjs/sheets-conditional-formatting','WorkbookRenameSheetPermission','startColumn','hasCommand','next','subscribeEvent','@univerjs/core','pipe','fill','creators','forwardRef','commands','Print','borderBottomClassName','interceptor','_createMask','disposeUnit','_transformMutationByOrder','exited','_sheetSkeletonManagerService','backgroundColor','rule','getElementById','useRef','loadInitialVersions','primary','ViemRwHgtClWdt','subUnitId','ranges','@univerjs/design','ZH_CN','APPLY_REVISION_CONFILICT','http://www.w3.org/2000/svg','PAYMENT_CHANNEL_NOT_SUPPORT','ENTITLE_USE_COUPON_NOT_1ST_TRADE','CHANGESET_REVISION_CONFILICT','133NPTZXg','show','Fragment','registerComponent','error','2033048PGjhhB','@univerjs-pro/sheets-sparkline','action','ManageCollaborator','FloatImg','editHistory.info.loading','state$','UNDEFINED','stopPropagation','loading','REDEMPTION_CODE_HAS_BEEN_CREATED','univer-overflow-hidden','LICENSE_DISTRO_REJECTED','IImageIoService','getUnitId','scrollEvent$','getCurrent','time','IRenderManagerService','Injector','UNIVER_DOC','entries','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','0\x200\x2016\x2017','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','hideMask','left','loadMoreVersions','filter','66ZlfLKO','register','amd','find','then','BehaviorSubject','editHistory.panel.cancel','Copy','Info','SHEET_VIEWPORT_KEY','connectInjector','IPermissionService','ComponentManager','switchMap','getInterceptPoints','_maskElement','TOO_MANY_REQUESTS','loadHistoryCreatorList','_lastLabel','editSheet','onStarting','_diffs','setState','Error','View','EMAIL_HAS_BEEN_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','_init','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','jsxs','createSheet','height','_dialogOptions$','setCF','values','reduce','loading-multi-icon','creators$','PivotTable','getCoordByCell','NOT_FOUND','_sheetPermissionInitController','Comment','UNAUTHENTICATED','editHistory.action.','_currentVersionDiff$','YUUMI_RATE_OVER_LIMIT','UniverSheetsFilter','univer-m-auto\x20univer-animate-spin','insertSheet','padStart','MoveRowsMutation','range','REDEMPTION_USER_REDEEM_TIMES_EXCEED','hidden','CreateUnitMutation','push','updatePermissionPoint','AddConditionalRuleMutation','idSuffix','Edit','date','_diffRangesMap','YUUMI_AI_RUN_FAILED','UniverIcon','length','top','fetching$','display','Export','loadingState$','_setFetching','RecoverHistory','subscribe','ViewHistory','has','insertChart','InsertHyperlink','code','disposeWithMe','FromArray','assign','YUUMI_TABLE_NOT_FOUND_IN_UNIT','status$','UniverCore','url(#$1','combineLatest','className','toString','_initRender','getRelativeToViewportCoord','ENTITLE_CHAT_LIMIT_EXCEED','INVITE_CODE_HAS_BEEN_UES','INVALID_ARGUMENT','jsx','_lastPointer','MoveRangeMutation','flex','confirm','USER_IS_ANONYMOUS','ICellEditorManagerService','InsertRow','337720iqDEjs','MoveWorksheet','substring','addObjects','@univerjs/sheets-ui','Vector2','SheetCollabCursorShape','ViewFilter','UniverInstanceType','append','versions$','HistoryModeStatus','additionalFields','COMPRESS_MUTATION_APPLY','_sidebarDisposable','HistoryManagerService','row','value','path','_loadingState$','syncExecuteCommand','UniverNetworkPlugin','AddSheetSparklineMutation','LocaleType','PY_RUNTIME_SCRIPT_ERROR','_injector','revertRevision$','focusUnit','DeleteRow','UniverProSheetsChart','endRow','_localeService','BuiltInUIPart','AddWorksheetMergeMutation','_univerInstanceService','justifyContent','_status$','RwHgtClWdt','getCurrentVersion','createElement','CreateWorksheet','REDEMPTION_CODE_INACTIVE','_updateVersions','add','getDeserializedSheetBlock','AddRangeProtectionMutation','REDEMPTION_INVALID_CODE','command','_historyContainerId','memberId','UniverDataValidation','_messageService','_versionDiffService','triggerRevert','editHistory.header.revert','sheetId','dateString','1000','Init','_combineRanges','AddDataValidationMutation','WorkbookEditablePermission','findAllRectangle','useObservable','_snapshotServerService','currentVersion$','USER_NOT_FOUND','_sidebarService','ENTITLE_COUPON_USED_UP','RemoveNumfmtMutation','36HAGiFB','CONNECTOR_DATA_TOO_LARGE','LICENSE_IMPORT_SIZE_EXCEEDED','EditWorksheetCell','DeleteRangeProtectionMutation','blockMeta','ENTITLE_REPORT_LIMIT_EXCEED','/list?','_loadParams','cellValue','0\x200\x2016\x2016','_permissionService','UniverSheetsUi','editHistory.panel.revertDesc','UNIVER_SLIDE','HideWorksheet','history-panel','editHistory.panel.unknownUser','Sort','@univerjs/ui','position','UniverProCollaborationClientUi','_openPanel','_initPanel','_members','restore-icon_clip0_1247_2','_workbookDataCache','UNIVER_UNKNOWN','_creators$','concat','ENTITLE_COUPON_EXPIRED','use','users','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','DATA_SOURCE_TOO_LARGE','APPLY_PERMISSION_DENIED','_canRevert','fetching','@univerjs/drawing','getOwnPropertyDescriptor','createTime','editHistory.panel.listFetchError','_extractRanges','4548643qZzpUU','EMAIL_VERIFY_CODE_MISMATCH','endRev','_revertRevision$','_getActiveSubUnitId','subType','trim','_confirmService','INVITE_CODE_ALREADY_BOUND','UniverSheetsConditionalFormatting','clsx','UniverUi','blocks','_componentManager','_configService','button','rxjs','none','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','parseProtocolChangeset','attrs','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','INVALID_INVITE_CODE','IUniverInstanceService','INTERNAL_ERROR','svg','startRow','replace','CURRENT_STATUS_CANNOT_OPERATE','Unspecified','WorkbookHideSheetPermission','object','useDependency','SetWorksheetActiveOperation','includes','Inject','clipPath','MoveSheet','Tooltip','LocaleService','HistoryOrigin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','close','SetConditionalRuleMutation','addProtection','_httpService','_transformService','pluginName','onRendered','triggerLoadSheet','@univerjs/network','Duplicate','LICENSE_MAX_UNITS_EXCEEDED',':\x20(','univer-animate-spin','open','_initActiveSwitch','_unitId$','APPLY_REJECT','YUUMI_URL_COL_OUT_OF_RANGE','ICommandService','lastLabel','setDV','createUnit','RenameWorksheet','loadSheet','_renderManagerService','AUTHORIZE_CODE_ILLEGAL','div','symbol','IConfirmService','170DOVSrh','LOGIN_TOKEN_PROCESSING_FAILED','current','keys','ENTITLE_INVALID_COUPON_CODE','fetchThroughInterceptors','debounceTime','revertSheet','mask','asObservable','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_setVersions','101652ExkfKC','toStringTag','map','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','restore-icon','getAncestorScale','onSteady','changesets','IUIPartsService','RenameSheet','Share','toISOString','EditExtraObject','RemoveSheetMutation','getSeconds','forEach','VIRTUAL_VERSION_NOW','react','SetColumnStyle','string','APPLY_DUPLICATED','1em','defs','WorkbookMoveSheetPermission','setConfig','dispose','editHistory.panel.revertConfirm','Plugin','getSheetObject','univerjs-icon\x20univerjs-icon-','getConfig','InsertSheetsChartMutation','split','LICENSE_EXPORT_SIZE_EXCEEDED','Today','setValue','ENTITLE_NEED_BILLING_ADDRESS','_context','evenodd','univer-flex\x20univer-items-center\x20univer-justify-center','random','versions','RevertRevisionMutation','rgba(58,\x2096,\x20247,\x200.20)','triggerLoadVersions','span','100%','showMask','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','RestoreIcon','getVersions','univer-text-2xl\x20dark:!univer-text-white','Module','_getRangesByMutation','debounce','UniverDrawing','INVITE_CODE_REQUIRED','back-icon','user','@univerjs-pro/collaboration','UNRECOGNIZED','get','editHistory.panel.currentUser','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','CopySheet','deleteProtection','_cellEditorManagerService','UpdateDataValidationMutation','startRevision','now','APPLY_NON_SEQUENTIAL_REVISION','CreateSheet'];_0x3661=function(){return _0x4f4fe8;};return _0x3661();}
|
|
18
18
|
|
|
19
19
|
// @univerjs-pro/edit-history-loader/index
|
|
20
|
-
function _0x41e4(_0x95ef9a,_0x385485){const _0x2f327a=_0x2f32();return _0x41e4=function(_0x41e4bb,_0x1a1f9f){_0x41e4bb=_0x41e4bb-0x15e;let _0x3a4934=_0x2f327a[_0x41e4bb];return _0x3a4934;},_0x41e4(_0x95ef9a,_0x385485);}function _0x2f32(){const _0x257e88=['@univerjs/sheets-drawing','5242638NLPgXi','UniverSheetsConditionalFormattingUi','5117hPIpDi','mask','LocaleService','editHistory.panel.title','WorkbookViewHistoryPermission','every','rxjs','status','flat','UniverDataValidation','OPERATION','values','@univerjs/design','width','string','absolute','UniverSheets','eventID','WorkbookRecoverHistoryPermission','UNIVER_SHEET','1000','_initListener','CollaborationStatus','@univerjs/sheets-drawing-ui','7JWERnt','15gJSQZC','MenuItemType','HistoryLoaderService','@univerjs/sheets-ui','_injector','1067aGLPtl','UniverDocs','UniverSheetSparklineUIPlugin','IMessageService','position','UniverProLicense','mergeMenu','defIds','6388740jgsoCA','WorksheetEditPermission','@univerjs/engine-render','getCurrentRangeDisable$','clipPath','zIndex','xlink:href','random','_historyManagerService','UniverEngineRender','getSheetId','UNIVER_CONTAINER_ID_KEY','mountHistoryContent','UniverInstanceType','style','currentColor','React','UniverNetwork','toDisposable','100%','history-icon_clip0_907_281','_initPlugins','combineLatest','useRef','IPermissionService','@univerjs/sheets-numfmt','UNIVER_HISTORY_CONTAINER_ID','toStringTag','length','subscribe','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','UniverSheetsHyperLinkPlugin','params','@univerjs/docs','univer.operation.toggle-edit-history','@univerjs/sheets-filter-ui','Univer','map','height','ICommandService','IDialogService','_configService','forwardRef','add','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','_menuManagerService','next','has','_pluginMap','permissionId','_selectionProtectionRuleModel','historyUniver$','UniverSheetsDrawingUIPlugin','IConfigService','tag','defs','_historyUniver$','UniverSheetsFormula','top','editHistory.panel.revertFailed','reload','history-icon','function','RxDisposable','invoke','react','register','show','ILocalCacheService','createElement','Error','assign','LS_CONFIG_KEY','registerCommand','replace','@univerjs/sheets-data-validation-ui','unsubscribe','UniverSheetsNumfmt','_initContainer','_localCacheService','path','UniverRenderEnginePlugin','UniverSheetsFilter','getOwnPropertyDescriptor','triggerLoadVersions','UniverProEditHistoryViewer','idSuffix','UniverRPCMainThreadPlugin','UniverSheetsNumfmtPlugin','white','_collaborationController','exhaustSavingTask','getConfig','UniverCollaborationPlugin','registerPlugin','_univerInstanceService','M0\x200H16V16H0z','substring','@univerjs/core','426704tTYyzI','historyUniver','UniverIcon','UniverDesign','editHistory.panel.listFetchError','getMenuHiddenObservable','UniverSheetsFormulaUIPlugin','get','editHistory.panel.reverting','@univerjs/sheets-hyper-link-ui','_commandService','session','@univerjs/ui','UniverProEditHistoryLoader','setTheme','UniverFormulaEnginePlugin','@univerjs/engine-formula','_dialogService','__getInjector','UniverDataValidationPlugin','UniverSheetsHyperLinkUIPlugin','set','UniverSheetsDataValidationPlugin','CommandType','ThemeService','attrs','onStarting','_themeService','WorkbookEditablePermission','UniverSheetsDrawingUi','Injector','setConfig','@univerjs/sheets-hyper-link','RangeProtectionPermissionEditPoint','UniverEngineFormula','unMountHistoryContent','type','_permissionService','_checkCanRevert','53772RHikEa','6fdWwmq','UNIVER_UNKNOWN','Loading','getSubunitRuleList','_initUniver','@univerjs-pro/collaboration-client','getUnit','disposeWithMe','@univerjs-pro/sheets-pivot','HistoryModeStatus','@univerjs/sheets-formula-ui','_init','appendChild','entries','CollaborationController','UniverSheetsFilterPlugin','MessageType','url(#history-icon_clip0_907_281)','UniverSheetsConditionalFormattingPlugin','colorChannel1','RibbonStartGroup','UniverNetworkPlugin','_disposableCollection','UniverSheetsHyperLinkUi','IUniverInstanceService','UniverSheetsUIPlugin','trim','currentTheme$','dispose','defineProperty','Exited','1em','children','@univerjs/rpc','Module','UniverSheetsDataValidationUIPlugin','from','_messageService','UniverEditHistoryLoaderPlugin','block','value','UniverLicensePlugin','forEach','@univerjs/sheets','edit-history-loader.config','getElementById','0\x200\x2016\x2016','merge','getLocales','ComponentManager','8VqmUdO','univerContainerId','HistoryIcon','univerjs-icon\x20univerjs-icon-','uComp','getSheets','UniverUi','history-container','Plugin','http://www.w3.org/2000/svg','SYNCED','BUTTON','Entered','display','Inject','RevertRevisionMutation','_revertErrorTimer','includes','getAllPlugins','onCommandExecuted','UniverDrawingPlugin','UniverProCollaborationClient','DisposableCollection','none','pluginName','_localeService','@univerjs/network','UniverSheetsConditionalFormatting','fill','use','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverSheetsDrawingPlugin','UniverSheetsDataValidationUi','event$','UniverSheetsHyperLink','978556JJQGaz','3915320vPVJQC','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','\x20has\x20been\x20registered.','getCollabEntity','UniverRpc','close','UniverSheetsDataValidation','UniverSheetsFilterUIPlugin','AuthzIoHttpService','CollaborationEvent','getCurrentLocale','UniverProSheetsSparkline','@univerjs/sheets-conditional-formatting-ui','./worker.js','@univerjs-pro/sheets-sparkline','asObservable','HistoryManagerService','data','_config','@univerjs/drawing-ui','amd','UniverDrawingUIPlugin','@univerjs/sheets-conditional-formatting'];_0x2f32=function(){return _0x257e88;};return _0x2f32();}(function(_0x2bb197,_0x1bfb92){const _0x593ec0=_0x41e4,_0x4c34c0=_0x2bb197();while(!![]){try{const _0x1c21e4=-parseInt(_0x593ec0(0x1b5))/0x1+-parseInt(_0x593ec0(0x23e))/0x2*(-parseInt(_0x593ec0(0x266))/0x3)+parseInt(_0x593ec0(0x19a))/0x4*(-parseInt(_0x593ec0(0x1ce))/0x5)+-parseInt(_0x593ec0(0x1b3))/0x6*(-parseInt(_0x593ec0(0x1cd))/0x7)+-parseInt(_0x593ec0(0x177))/0x8*(-parseInt(_0x593ec0(0x1db))/0x9)+-parseInt(_0x593ec0(0x19b))/0xa+parseInt(_0x593ec0(0x1d3))/0xb*(-parseInt(_0x593ec0(0x265))/0xc);if(_0x1c21e4===_0x1bfb92)break;else _0x4c34c0['push'](_0x4c34c0['shift']());}catch(_0x45c185){_0x4c34c0['push'](_0x4c34c0['shift']());}}}(_0x2f32,0x6caba),function(_0x31daa2,_0x44735a){const _0x2419f9=_0x41e4;typeof exports=='object'&&typeof module<'u'?_0x44735a(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-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==_0x2419f9(0x219)&&define[_0x2419f9(0x1af)]?define(['exports',_0x2419f9(0x23d),'@univerjs-pro/collaboration',_0x2419f9(0x26b),_0x2419f9(0x1c1),_0x2419f9(0x21c),_0x2419f9(0x24a),_0x2419f9(0x1bb),_0x2419f9(0x170),'@univerjs-pro/edit-history-viewer','@univerjs-pro/license',_0x2419f9(0x26e),_0x2419f9(0x1a9),'@univerjs-pro/sheets-sparkline-ui','@univerjs/data-validation',_0x2419f9(0x1fc),'@univerjs/docs-ui','@univerjs/drawing',_0x2419f9(0x1ae),_0x2419f9(0x24e),_0x2419f9(0x1dd),_0x2419f9(0x191),_0x2419f9(0x166),_0x2419f9(0x1b1),_0x2419f9(0x1a7),'@univerjs/sheets-data-validation',_0x2419f9(0x226),_0x2419f9(0x1b2),_0x2419f9(0x1cc),'@univerjs/sheets-filter',_0x2419f9(0x1fe),'@univerjs/sheets-formula',_0x2419f9(0x270),_0x2419f9(0x25e),_0x2419f9(0x247),_0x2419f9(0x1f4),_0x2419f9(0x1d1)],_0x44735a):(_0x31daa2=typeof globalThis<'u'?globalThis:_0x31daa2||self,_0x44735a(_0x31daa2[_0x2419f9(0x24b)]={},_0x31daa2['UniverCore'],_0x31daa2['UniverProCollaboration'],_0x31daa2[_0x2419f9(0x18c)],_0x31daa2[_0x2419f9(0x241)],_0x31daa2[_0x2419f9(0x1eb)],_0x31daa2[_0x2419f9(0x17d)],_0x31daa2[_0x2419f9(0x1bb)],_0x31daa2[_0x2419f9(0x1c5)],_0x31daa2[_0x2419f9(0x230)],_0x31daa2[_0x2419f9(0x1d8)],_0x31daa2['UniverProSheetsPivot'],_0x31daa2[_0x2419f9(0x1a6)],_0x31daa2['UniverProSheetsSparklineUi'],_0x31daa2[_0x2419f9(0x1be)],_0x31daa2[_0x2419f9(0x1d4)],_0x31daa2['UniverDocsUi'],_0x31daa2['UniverDrawing'],_0x31daa2['UniverDrawingUi'],_0x31daa2[_0x2419f9(0x260)],_0x31daa2[_0x2419f9(0x1e4)],_0x31daa2[_0x2419f9(0x1ec)],_0x31daa2[_0x2419f9(0x19f)],_0x31daa2[_0x2419f9(0x192)],_0x31daa2[_0x2419f9(0x1b4)],_0x31daa2[_0x2419f9(0x1a1)],_0x31daa2[_0x2419f9(0x197)],_0x31daa2['UniverSheetsDrawing'],_0x31daa2[_0x2419f9(0x25b)],_0x31daa2[_0x2419f9(0x22d)],_0x31daa2['UniverSheetsFilterUi'],_0x31daa2[_0x2419f9(0x214)],_0x31daa2['UniverSheetsFormulaUi'],_0x31daa2[_0x2419f9(0x199)],_0x31daa2[_0x2419f9(0x27d)],_0x31daa2[_0x2419f9(0x228)],_0x31daa2['UniverSheetsUi']));}(this,function(_0x1278ea,_0x339e3f,_0xf8ce4f,_0x454ce2,_0x476c4b,_0x36e089,_0x51ef13,_0x52b758,_0x26f8ec,_0x5132cd,_0x547ba6,_0x2c0534,_0x3fe4ae,_0x489412,_0x4b21f9,_0x542d8b,_0x4b659b,_0xc144d8,_0x5344d2,_0x4bdac8,_0x31f033,_0x1ed6d5,_0x307b38,_0x19420c,_0x1e7f41,_0x5a3af6,_0x44c346,_0x447d40,_0x5c083a,_0x324e13,_0xd5eb1,_0x5bf049,_0x14659c,_0x7824a2,_0x83e7f6,_0x44f0b8,_0xcb266c){'use strict';const _0x3adaff=_0x41e4;var _0x3b289b=Object[_0x3adaff(0x162)],_0x5cd0e5=(_0x3a445f,_0x16f895,_0x3ef71b)=>_0x16f895 in _0x3a445f?_0x3b289b(_0x3a445f,_0x16f895,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ef71b}):_0x3a445f[_0x16f895]=_0x3ef71b,_0x1bc6a7=(_0x539660,_0x3e54a4,_0x2352c0)=>_0x5cd0e5(_0x539660,typeof _0x3e54a4!='symbol'?_0x3e54a4+'':_0x3e54a4,_0x2352c0),_0x3f0a29;const _0x225b63=_0x3adaff(0x171),_0x4daa1a={};function _0x2074d9({ref:_0x42a73d,..._0x1399f7}){const _0x5704c7=_0x3adaff,{icon:_0x2e73aa,id:_0x4b0853,className:_0x27f55d,extend:_0xa00a6d,..._0x32eacf}=_0x1399f7,_0x5eac80=(_0x5704c7(0x17a)+_0x4b0853+'\x20'+(_0x27f55d||''))[_0x5704c7(0x15f)](),_0x329b7d=_0x36e089[_0x5704c7(0x1f2)]('_'+_0x1c53ed());return _0x3a988f(_0x2e73aa,''+_0x4b0853,{'defIds':_0x2e73aa[_0x5704c7(0x1da)],'idSuffix':_0x329b7d['current']},{'ref':_0x42a73d,'className':_0x5eac80,..._0x32eacf},_0xa00a6d);}function _0x3a988f(_0x13311d,_0x408a6c,_0x1a6d5e,_0x5ccd24,_0x15d253){const _0x45cee4=_0x3adaff;return _0x36e089[_0x45cee4(0x220)](_0x13311d[_0x45cee4(0x211)],{'key':_0x408a6c,..._0x39358c(_0x13311d,_0x1a6d5e,_0x15d253),..._0x5ccd24},(_0x1fe76f(_0x13311d,_0x1a6d5e)[_0x45cee4(0x165)]||[])[_0x45cee4(0x200)]((_0x338b90,_0x499afa)=>_0x3a988f(_0x338b90,_0x408a6c+'-'+_0x13311d['tag']+'-'+_0x499afa,_0x1a6d5e,void 0x0,_0x15d253)));}function _0x39358c(_0x153cf2,_0xd74124,_0x40931c){const _0x1a57bc=_0x3adaff,_0x22a3bd={..._0x153cf2[_0x1a57bc(0x257)]};_0x40931c!=null&&_0x40931c['colorChannel1']&&_0x22a3bd['fill']===_0x1a57bc(0x279)&&(_0x22a3bd[_0x1a57bc(0x193)]=_0x40931c[_0x1a57bc(0x279)]),_0x153cf2[_0x1a57bc(0x211)]===_0x1a57bc(0x1b6)&&_0x22a3bd['id']&&(_0x22a3bd['id']=_0x22a3bd['id']+_0xd74124['idSuffix']),Object['entries'](_0x22a3bd)[_0x1a57bc(0x16f)](([_0x32014f,_0x43be62])=>{const _0x1c0a89=_0x1a57bc;_0x32014f===_0x1c0a89(0x1b6)&&typeof _0x43be62==_0x1c0a89(0x1c3)&&(_0x22a3bd[_0x32014f]=_0x43be62[_0x1c0a89(0x225)](/url\(#(.*)\)/,'url(#$1'+_0xd74124[_0x1c0a89(0x231)]+')'));});const {defIds:_0x358670}=_0xd74124;return!_0x358670||_0x358670[_0x1a57bc(0x1f7)]===0x0||(_0x153cf2[_0x1a57bc(0x211)]===_0x1a57bc(0x194)&&_0x22a3bd[_0x1a57bc(0x1e1)]&&(_0x22a3bd[_0x1a57bc(0x1e1)]=_0x22a3bd[_0x1a57bc(0x1e1)]+_0xd74124[_0x1a57bc(0x231)]),Object[_0x1a57bc(0x273)](_0x22a3bd)[_0x1a57bc(0x16f)](([_0x335ba8,_0x548f08])=>{const _0xd5619f=_0x1a57bc;typeof _0x548f08==_0xd5619f(0x1c3)&&(_0x22a3bd[_0x335ba8]=_0x548f08['replace'](/url\(#(.*)\)/,'url(#$1'+_0xd74124[_0xd5619f(0x231)]+')'));})),_0x22a3bd;}function _0x1fe76f(_0x5aa4fb,_0x444982){const _0x182ae6=_0x3adaff;var _0xc0926d;const {defIds:_0x4a2243}=_0x444982;return!_0x4a2243||_0x4a2243['length']===0x0?_0x5aa4fb:_0x5aa4fb['tag']===_0x182ae6(0x212)&&((_0xc0926d=_0x5aa4fb[_0x182ae6(0x165)])!=null&&_0xc0926d['length'])?{..._0x5aa4fb,'children':_0x5aa4fb[_0x182ae6(0x165)]['map'](_0x490e70=>typeof _0x490e70['attrs']['id']==_0x182ae6(0x1c3)&&_0x4a2243&&_0x4a2243[_0x182ae6(0x188)](_0x490e70[_0x182ae6(0x257)]['id'])?{..._0x490e70,'attrs':{..._0x490e70[_0x182ae6(0x257)],'id':_0x490e70[_0x182ae6(0x257)]['id']+_0x444982[_0x182ae6(0x231)]}}:_0x490e70)}:_0x5aa4fb;}function _0x1c53ed(){const _0x19eabb=_0x3adaff;return Math[_0x19eabb(0x1e2)]()['toString'](0x24)[_0x19eabb(0x23c)](0x2,0x8);}_0x2074d9['displayName']=_0x3adaff(0x240);const _0x277e5b={'tag':'svg','attrs':{'xmlns':_0x3adaff(0x180),'fill':'none','viewBox':_0x3adaff(0x173),'width':_0x3adaff(0x164),'height':_0x3adaff(0x164)},'children':[{'tag':'g','attrs':{'fill':_0x3adaff(0x1ea),'clipPath':_0x3adaff(0x277)},'children':[{'tag':_0x3adaff(0x22b),'attrs':{'d':_0x3adaff(0x207)}},{'tag':'path','attrs':{'d':_0x3adaff(0x1f9)}}]},{'tag':_0x3adaff(0x212),'attrs':{},'children':[{'tag':_0x3adaff(0x1df),'attrs':{'id':_0x3adaff(0x1ef)},'children':[{'tag':_0x3adaff(0x22b),'attrs':{'fill':_0x3adaff(0x234),'d':_0x3adaff(0x23b)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x4f8497=_0x36e089[_0x3adaff(0x205)](function(_0xd3c642,_0x4adaed){const _0x49cc87=_0x3adaff;return _0x36e089['createElement'](_0x2074d9,Object[_0x49cc87(0x222)]({},_0xd3c642,{'id':_0x49cc87(0x218),'ref':_0x4adaed,'icon':_0x277e5b}));});_0x4f8497['displayName']=_0x3adaff(0x179);var _0x4e71b2=Object[_0x3adaff(0x22e)],_0x32299b=(_0x5db7f4,_0x462e8d,_0x292060,_0x18c411)=>{const _0x2226b5=_0x3adaff;for(var _0x153e5f=_0x18c411>0x1?void 0x0:_0x18c411?_0x4e71b2(_0x462e8d,_0x292060):_0x462e8d,_0x28bf96=_0x5db7f4[_0x2226b5(0x1f7)]-0x1,_0x223b37;_0x28bf96>=0x0;_0x28bf96--)(_0x223b37=_0x5db7f4[_0x28bf96])&&(_0x153e5f=_0x223b37(_0x153e5f)||_0x153e5f);return _0x153e5f;},_0x89249=(_0x45e8ec,_0x495d0f)=>(_0x51f01e,_0x514743)=>_0x495d0f(_0x51f01e,_0x514743,_0x45e8ec);const _0x385ee5='univer-container',_0x597b80='UNIVER_CONTAINER_ID',_0x42aa57='univer-history-container';_0x1278ea[_0x3adaff(0x1d0)]=class extends _0x339e3f['Disposable']{constructor(_0x11663f,_0x188f04,_0x312d83,_0x178e6a,_0xf3423,_0x4781aa,_0x105bf6,_0x2f9f11,_0x10dbd1,_0x3a8dd1){const _0x35526a=_0x3adaff;super(),_0x1bc6a7(this,_0x35526a(0x213),new _0x52b758['BehaviorSubject'](null)),_0x1bc6a7(this,_0x35526a(0x20e),this[_0x35526a(0x213)][_0x35526a(0x1aa)]()),_0x1bc6a7(this,_0x35526a(0x27c),new _0x339e3f[(_0x35526a(0x18d))]()),_0x1bc6a7(this,'_pluginMap',new Map()),(this[_0x35526a(0x190)]=_0x11663f,this['_univerInstanceService']=_0x188f04,this[_0x35526a(0x204)]=_0x312d83,this[_0x35526a(0x248)]=_0x178e6a,this[_0x35526a(0x16a)]=_0xf3423,this[_0x35526a(0x263)]=_0x4781aa,this[_0x35526a(0x20d)]=_0x105bf6,this['_dialogService']=_0x2f9f11,this['_sidebarService']=_0x10dbd1,this['_themeService']=_0x3a8dd1,this['_init']());}get[_0x3adaff(0x23f)](){const _0x4519e3=_0x3adaff;return this[_0x4519e3(0x213)][_0x4519e3(0x16d)];}['_init'](){const _0x2648ab=_0x3adaff;this[_0x2648ab(0x229)](),this[_0x2648ab(0x1f0)]();}[_0x3adaff(0x229)](){const _0x49f8b9=_0x3adaff;var _0x387693;const _0x4f5111=(_0x387693=this[_0x49f8b9(0x204)]['getConfig'](_0x597b80))!=null?_0x387693:_0x385ee5,_0x5d82ce=document[_0x49f8b9(0x172)](_0x4f5111);if(!_0x5d82ce)return;const _0x5cf393=document[_0x49f8b9(0x220)]('div');_0x5cf393['id']=_0x42aa57,_0x5cf393['dataset'][_0x49f8b9(0x17b)]=_0x49f8b9(0x17e),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x1d7)]=_0x49f8b9(0x1c4),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x215)]='0',_0x5cf393[_0x49f8b9(0x1e9)]['left']='0',_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x1c2)]=_0x49f8b9(0x1ee),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x201)]=_0x49f8b9(0x1ee),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x1e0)]=_0x49f8b9(0x1c9),_0x5cf393[_0x49f8b9(0x1e9)]['display']='none',_0x5d82ce[_0x49f8b9(0x272)](_0x5cf393);}[_0x3adaff(0x1f0)](){const _0x255d1b=_0x3adaff;var _0x108b55;[[_0x31f033[_0x255d1b(0x22c)]],[_0x51ef13['UniverUIPlugin'],{'container':_0x42aa57,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x51ef13[_0x255d1b(0x203)],null]]}],[_0x1ed6d5[_0x255d1b(0x27b)]],[_0xc144d8[_0x255d1b(0x18b)],{'override':[[_0xc144d8['IImageIoService'],null]]}],[_0x542d8b['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x4b659b['UniverDocsUIPlugin']],[_0x44f0b8[_0x255d1b(0x233)]],[_0x26f8ec['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0xcb266c[_0x255d1b(0x15e)]],[_0x5bf049['UniverSheetsFormulaPlugin']],[_0x14659c[_0x255d1b(0x244)]],[_0xf8ce4f[_0x255d1b(0x238)]],[_0x324e13[_0x255d1b(0x275)]],[_0xd5eb1[_0x255d1b(0x1a2)]],[_0x19420c[_0x255d1b(0x278)]],[_0x1e7f41['UniverSheetsConditionalFormattingUIPlugin']],[_0x7824a2[_0x255d1b(0x1fa)]],[_0x83e7f6[_0x255d1b(0x252)]],[_0x4b21f9[_0x255d1b(0x251)]],[_0x5a3af6[_0x255d1b(0x254)]],[_0x44c346[_0x255d1b(0x168)]],[_0x4bdac8[_0x255d1b(0x24d)],{'notExecuteFormula':!0x0}],[_0x307b38[_0x255d1b(0x232)],{'workerURL':_0x255d1b(0x1a8)}],[_0x5344d2[_0x255d1b(0x1b0)]],[_0x447d40[_0x255d1b(0x196)]],[_0x5c083a[_0x255d1b(0x20f)]],[_0x3fe4ae['UniverSheetSparklinePlugin']],[_0x489412[_0x255d1b(0x1d5)]],[_0x2c0534['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x5132cd['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x108b55=this['_configService'][_0x255d1b(0x237)](_0x225b63))==null?void 0x0:_0x108b55['historyListServerUrl']}]][_0x255d1b(0x16f)](([_0x347012,_0x1a1121])=>this[_0x255d1b(0x239)](_0x347012,_0x1a1121));}[_0x3adaff(0x161)](){const _0x4fa172=_0x3adaff;super[_0x4fa172(0x161)](),this['unMountHistoryContent'](),this[_0x4fa172(0x20b)]['clear']();}[_0x3adaff(0x239)](_0x4bc22d,_0x536a1a,_0x47dfd3){const _0x5e87d9=_0x3adaff;if(this[_0x5e87d9(0x20b)][_0x5e87d9(0x20a)](_0x4bc22d['pluginName'])&&!_0x47dfd3)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x4bc22d[_0x5e87d9(0x18f)]+_0x5e87d9(0x19d));this[_0x5e87d9(0x20b)][_0x5e87d9(0x253)](_0x4bc22d[_0x5e87d9(0x18f)],[_0x4bc22d,_0x536a1a]);}[_0x3adaff(0x189)](){const _0x4135e1=_0x3adaff;return Array[_0x4135e1(0x169)](this['_pluginMap'][_0x4135e1(0x1c0)]());}[_0x3adaff(0x1e7)](_0x20859a){const _0x3b6a03=_0x3adaff,_0x2152cb=document[_0x3b6a03(0x172)](_0x42aa57);_0x2152cb&&(_0x2152cb[_0x3b6a03(0x1e9)]['display']=_0x3b6a03(0x16c),this[_0x3b6a03(0x26a)](_0x20859a,_0x42aa57));}[_0x3adaff(0x261)](){const _0x25a251=_0x3adaff;var _0x935b6e;this[_0x25a251(0x27c)][_0x25a251(0x161)](),(_0x935b6e=this[_0x25a251(0x23f)])==null||_0x935b6e['dispose'](),this[_0x25a251(0x213)][_0x25a251(0x209)](null);const _0x14c147=document['getElementById'](_0x42aa57);_0x14c147&&(_0x14c147[_0x25a251(0x1e9)][_0x25a251(0x184)]=_0x25a251(0x18e));}['_initUniver'](_0xf03db3,_0xef6d4b){const _0x2253c2=_0x3adaff;if(this['historyUniver'])return;const _0x39711c=new _0x339e3f[(_0x2253c2(0x1ff))]({'locales':{[this[_0x2253c2(0x190)][_0x2253c2(0x1a5)]()]:this[_0x2253c2(0x190)][_0x2253c2(0x175)]()},'override':[[_0x339e3f['IAuthzIoService'],{'useClass':_0x454ce2[_0x2253c2(0x1a3)]}]]}),_0x3aae11=_0x39711c[_0x2253c2(0x250)]();this[_0x2253c2(0x26d)](this[_0x2253c2(0x259)]['darkMode$'][_0x2253c2(0x1f8)](_0x2d8c0a=>{const _0xaa9379=_0x2253c2;_0x3aae11[_0xaa9379(0x245)](_0x339e3f[_0xaa9379(0x256)])['setDarkMode'](_0x2d8c0a);})),this['disposeWithMe'](this[_0x2253c2(0x259)][_0x2253c2(0x160)][_0x2253c2(0x1f8)](_0x301a3d=>{const _0x1f801c=_0x2253c2;_0x3aae11['get'](_0x339e3f[_0x1f801c(0x256)])[_0x1f801c(0x24c)](_0x301a3d);})),_0x3aae11[_0x2253c2(0x245)](_0x339e3f[_0x2253c2(0x1b7)])['setLocale'](this['_localeService'][_0x2253c2(0x1a5)]()),_0x3aae11[_0x2253c2(0x245)](_0x339e3f['IConfigService'])['setConfig'](_0x454ce2[_0x2253c2(0x195)],this[_0x2253c2(0x204)][_0x2253c2(0x237)](_0x454ce2[_0x2253c2(0x195)]));const _0x34b3ae=this[_0x2253c2(0x204)]['getConfig'](_0x547ba6[_0x2253c2(0x223)]);_0x34b3ae&&_0x39711c[_0x2253c2(0x239)](_0x547ba6[_0x2253c2(0x16e)],{'license':_0x34b3ae['ls']}),this['_pluginMap'][_0x2253c2(0x16f)](([_0x48c73a,_0x1a3676])=>{_0x39711c['registerPlugin'](_0x48c73a,_0x1a3676);}),_0x3aae11[_0x2253c2(0x21b)](_0x51fd8d=>{const _0x42fa84=_0x2253c2;this[_0x42fa84(0x1ca)](_0x51fd8d,_0xf03db3);}),this[_0x2253c2(0x213)][_0x2253c2(0x209)](_0x39711c);const _0x3eeb08=_0x3aae11[_0x2253c2(0x245)](_0x5132cd['HistoryManagerService']),_0x115867=this[_0x2253c2(0x264)](_0xf03db3);_0x3eeb08[_0x2253c2(0x22f)](_0xf03db3,_0xef6d4b,_0x115867);}['_initListener'](_0x1de5f0,_0x4c0b89){const _0x466607=_0x3adaff,_0x2e8efd=_0x1de5f0['get'](_0x5132cd[_0x466607(0x1ab)]);this[_0x466607(0x27c)][_0x466607(0x206)](_0x2e8efd['status$'][_0x466607(0x1f8)](_0x591e47=>{const _0x54568b=_0x466607;switch(_0x591e47){case _0x5132cd['HistoryModeStatus'][_0x54568b(0x183)]:this[_0x54568b(0x24f)]['closeAll'](),this['_sidebarService'][_0x54568b(0x1a0)]();break;case _0x5132cd[_0x54568b(0x26f)][_0x54568b(0x163)]:this[_0x54568b(0x261)]();break;case _0x5132cd['HistoryModeStatus'][_0x54568b(0x221)]:this[_0x54568b(0x261)](),this[_0x54568b(0x16a)][_0x54568b(0x21e)]({'content':this['_localeService']['t'](_0x54568b(0x242)),'type':_0x476c4b['MessageType'][_0x54568b(0x221)],'duration':0xbb8});break;}})),this[_0x466607(0x27c)][_0x466607(0x206)](_0x2e8efd['revertRevision$'][_0x466607(0x1f8)](async _0x464235=>{const _0x40d459=_0x466607;_0x464235&&this[_0x40d459(0x248)]['executeCommand'](_0xf8ce4f[_0x40d459(0x186)]['id'],{'unitId':_0x4c0b89,'revision':_0x464235});}));}[_0x3adaff(0x264)](_0x194c8f){const _0x40c32e=_0x3adaff,_0x5b8a57=this[_0x40c32e(0x23a)][_0x40c32e(0x26c)](_0x194c8f)[_0x40c32e(0x17c)]()['map'](_0x3a5a34=>_0x3a5a34[_0x40c32e(0x1e5)]()),_0x58ac6e=new _0x26f8ec['WorkbookEditablePermission'](_0x194c8f)['id'],_0x3f1379=_0x5b8a57[_0x40c32e(0x200)](_0x1ab856=>new _0x26f8ec[(_0x40c32e(0x1dc))](_0x194c8f,_0x1ab856)['id']),_0x386c8c=_0x5b8a57['map'](_0x1c9321=>this[_0x40c32e(0x20d)][_0x40c32e(0x269)](_0x194c8f,_0x1c9321)[_0x40c32e(0x200)](_0x3cf3c0=>new _0x26f8ec[(_0x40c32e(0x25f))](_0x194c8f,_0x1c9321,_0x3cf3c0[_0x40c32e(0x20c)])['id']))[_0x40c32e(0x1bd)](),_0x35828b=new _0x26f8ec[(_0x40c32e(0x1c7))](_0x194c8f)['id'];return this[_0x40c32e(0x263)]['composePermission']([_0x58ac6e,..._0x3f1379,..._0x386c8c,_0x35828b])[_0x40c32e(0x1ba)](_0x54844c=>!!_0x54844c[_0x40c32e(0x16d)]);}},_0x1278ea[_0x3adaff(0x1d0)]=_0x32299b([_0x89249(0x0,_0x339e3f[_0x3adaff(0x185)](_0x339e3f['LocaleService'])),_0x89249(0x1,_0x339e3f['IUniverInstanceService']),_0x89249(0x2,_0x339e3f[_0x3adaff(0x210)]),_0x89249(0x3,_0x339e3f[_0x3adaff(0x202)]),_0x89249(0x4,_0x51ef13[_0x3adaff(0x1d6)]),_0x89249(0x5,_0x339e3f[_0x3adaff(0x1f3)]),_0x89249(0x6,_0x339e3f['Inject'](_0x26f8ec['RangeProtectionRuleModel'])),_0x89249(0x7,_0x339e3f['Inject'](_0x51ef13[_0x3adaff(0x203)])),_0x89249(0x8,_0x339e3f['Inject'](_0x51ef13['ISidebarService'])),_0x89249(0x9,_0x339e3f[_0x3adaff(0x185)](_0x339e3f['ThemeService']))],_0x1278ea[_0x3adaff(0x1d0)]);const _0x3ddd6d={'id':_0x3adaff(0x1fd),'type':_0x339e3f[_0x3adaff(0x255)][_0x3adaff(0x1bf)],'handler':_0x172860=>{const _0x2c00ae=_0x3adaff,_0x189abf=_0x172860[_0x2c00ae(0x245)](_0x1278ea[_0x2c00ae(0x1d0)]),_0x329ce7=_0x172860[_0x2c00ae(0x245)](_0x339e3f[_0x2c00ae(0x27e)]),{unitId:_0x56f878}=_0x26f8ec['getSheetCommandTarget'](_0x329ce7)||{};return _0x56f878?(_0x189abf[_0x2c00ae(0x1e7)](_0x56f878),!0x0):!0x1;}};function _0x4ddd9b(_0x3837ec){const _0x1a393f=_0x3adaff;return{'id':_0x3ddd6d['id'],'type':_0x51ef13[_0x1a393f(0x1cf)][_0x1a393f(0x182)],'icon':_0x1a393f(0x179),'tooltip':_0x1a393f(0x1b8),'hidden$':_0x51ef13[_0x1a393f(0x243)](_0x3837ec,_0x339e3f[_0x1a393f(0x1e8)][_0x1a393f(0x1c8)]),'disabled$':_0xcb266c[_0x1a393f(0x1de)](_0x3837ec,{'workbookTypes':[_0x26f8ec[_0x1a393f(0x25a)],_0x26f8ec[_0x1a393f(0x1b9)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x567382={[_0x51ef13[_0x3adaff(0x27a)]['OTHERS']]:{[_0x3ddd6d['id']]:{'order':0.2,'menuItemFactory':_0x4ddd9b}}};var _0x2e5c25=Object[_0x3adaff(0x22e)],_0x2a2dee=(_0x5efdd5,_0x59bdc4,_0x3e7f03,_0x4a8867)=>{const _0x259923=_0x3adaff;for(var _0x1d7481=_0x4a8867>0x1?void 0x0:_0x4a8867?_0x2e5c25(_0x59bdc4,_0x3e7f03):_0x59bdc4,_0x359013=_0x5efdd5[_0x259923(0x1f7)]-0x1,_0x407594;_0x359013>=0x0;_0x359013--)(_0x407594=_0x5efdd5[_0x359013])&&(_0x1d7481=_0x407594(_0x1d7481)||_0x1d7481);return _0x1d7481;},_0x2f89bb=(_0x49f6e5,_0x44f541)=>(_0x30849c,_0xe95579)=>_0x44f541(_0x30849c,_0xe95579,_0x49f6e5);let _0x314eb1=class extends _0x339e3f[_0x3adaff(0x21a)]{constructor(_0x5b1796,_0x9d675f,_0x3f61bb,_0x14ccb3,_0x327da1,_0x347b3a,_0x2539e1,_0x1b2a68){const _0x3eaf09=_0x3adaff;super(),_0x1bc6a7(this,'_revertErrorTimer',null),(this[_0x3eaf09(0x248)]=_0x5b1796,this[_0x3eaf09(0x208)]=_0x9d675f,this['_componentManager']=_0x3f61bb,this[_0x3eaf09(0x1e3)]=_0x14ccb3,this[_0x3eaf09(0x190)]=_0x327da1,this[_0x3eaf09(0x16a)]=_0x347b3a,this[_0x3eaf09(0x235)]=_0x2539e1,this[_0x3eaf09(0x22a)]=_0x1b2a68,this['_init']());}[_0x3adaff(0x271)](){const _0x55b5cc=_0x3adaff;[_0x3ddd6d]['forEach'](_0x216a8b=>this[_0x55b5cc(0x26d)](_0x339e3f[_0x55b5cc(0x1ed)](this[_0x55b5cc(0x248)][_0x55b5cc(0x224)](_0x216a8b)))),this[_0x55b5cc(0x26d)](this['_componentManager'][_0x55b5cc(0x21d)](_0x55b5cc(0x179),_0x4f8497)),this[_0x55b5cc(0x208)][_0x55b5cc(0x1d9)](_0x567382),this[_0x55b5cc(0x26d)](this[_0x55b5cc(0x248)][_0x55b5cc(0x18a)](_0x4d6724=>{const _0x3020c2=_0x55b5cc;if(_0x4d6724['id']===_0xf8ce4f[_0x3020c2(0x186)]['id']){this['_messageService'][_0x3020c2(0x21e)]({'content':this['_localeService']['t'](_0x3020c2(0x246)),'type':_0x476c4b['MessageType'][_0x3020c2(0x268)],'duration':0x1388});const {unitId:_0x494cb1}=_0x4d6724[_0x3020c2(0x1fb)],_0x753ae4=this[_0x3020c2(0x235)][_0x3020c2(0x19e)](_0x494cb1),_0x3eba8a=_0x52b758[_0x3020c2(0x1f1)]([_0x753ae4[_0x3020c2(0x249)][_0x3020c2(0x198)],_0x753ae4['state$']])[_0x3020c2(0x1f8)](async([_0x556056,_0xd8b73])=>{const _0x7dfaa6=_0x3020c2;var _0x1e3094;_0x556056[_0x7dfaa6(0x1c6)]===_0xf8ce4f[_0x7dfaa6(0x1a4)]['CHANGESET_ACK']&&(_0xd8b73==null?void 0x0:_0xd8b73[_0x7dfaa6(0x1bc)])===_0x454ce2[_0x7dfaa6(0x1cb)][_0x7dfaa6(0x181)]&&_0x556056[_0x7dfaa6(0x1ac)]['mutations']['some'](_0x38f9cf=>_0x38f9cf['id']===_0xf8ce4f['RevertRevisionMutation']['id'])&&(this[_0x7dfaa6(0x1e3)][_0x7dfaa6(0x261)](),_0x3eba8a[_0x7dfaa6(0x227)](),this[_0x7dfaa6(0x187)]&&clearTimeout(this[_0x7dfaa6(0x187)]),await((_0x1e3094=this[_0x7dfaa6(0x22a)])==null?void 0x0:_0x1e3094[_0x7dfaa6(0x236)]()),setTimeout(()=>window['location'][_0x7dfaa6(0x217)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x4a3fab=_0x3020c2;_0x3eba8a[_0x4a3fab(0x227)](),this[_0x4a3fab(0x16a)][_0x4a3fab(0x21e)]({'content':this[_0x4a3fab(0x190)]['t'](_0x4a3fab(0x216)),'type':_0x476c4b[_0x4a3fab(0x276)][_0x4a3fab(0x221)],'duration':0xbb8});},0x1388);}}));}};_0x314eb1=_0x2a2dee([_0x2f89bb(0x0,_0x339e3f['ICommandService']),_0x2f89bb(0x1,_0x51ef13['IMenuManagerService']),_0x2f89bb(0x2,_0x339e3f[_0x3adaff(0x185)](_0x51ef13[_0x3adaff(0x176)])),_0x2f89bb(0x3,_0x339e3f[_0x3adaff(0x185)](_0x1278ea['HistoryLoaderService'])),_0x2f89bb(0x4,_0x339e3f[_0x3adaff(0x185)](_0x339e3f['LocaleService'])),_0x2f89bb(0x5,_0x51ef13[_0x3adaff(0x1d6)]),_0x2f89bb(0x6,_0x339e3f['Inject'](_0x454ce2[_0x3adaff(0x274)])),_0x2f89bb(0x7,_0x454ce2[_0x3adaff(0x21f)])],_0x314eb1);var _0x56603f=Object['getOwnPropertyDescriptor'],_0x591ce8=(_0x598b86,_0x57c667,_0x3c060b,_0x3ea658)=>{const _0x7e316a=_0x3adaff;for(var _0xb27f06=_0x3ea658>0x1?void 0x0:_0x3ea658?_0x56603f(_0x57c667,_0x3c060b):_0x57c667,_0x220fa7=_0x598b86[_0x7e316a(0x1f7)]-0x1,_0x5c9f98;_0x220fa7>=0x0;_0x220fa7--)(_0x5c9f98=_0x598b86[_0x220fa7])&&(_0xb27f06=_0x5c9f98(_0xb27f06)||_0xb27f06);return _0xb27f06;},_0x1b37ed=(_0x280b1e,_0x1852a3)=>(_0x3ea069,_0x5a7721)=>_0x1852a3(_0x3ea069,_0x5a7721,_0x280b1e);const _0x3de01b=_0x3adaff(0x19c);_0x1278ea[_0x3adaff(0x16b)]=(_0x3f0a29=class extends _0x339e3f[_0x3adaff(0x17f)]{constructor(_0x214e03=_0x4daa1a,_0x3a1f90,_0x55b04b){const _0x8d5b9=_0x3adaff;super(),this[_0x8d5b9(0x1ad)]=_0x214e03,this[_0x8d5b9(0x1d2)]=_0x3a1f90,this[_0x8d5b9(0x204)]=_0x55b04b;const {menu:_0x1579e4,..._0x4b17c5}=_0x339e3f[_0x8d5b9(0x174)]({},_0x4daa1a,this[_0x8d5b9(0x1ad)]);_0x1579e4&&this[_0x8d5b9(0x204)][_0x8d5b9(0x25d)]('menu',_0x1579e4,{'merge':!0x0}),this['_configService']['setConfig'](_0x225b63,_0x4b17c5),this[_0x8d5b9(0x1ad)][_0x8d5b9(0x178)]&&this['_configService'][_0x8d5b9(0x25d)](_0x597b80,this['_config']['univerContainerId']);}[_0x3adaff(0x258)](){const _0x48bbcf=_0x3adaff;[[_0x1278ea[_0x48bbcf(0x1d0)]],[_0x314eb1]]['forEach'](_0x443edb=>this[_0x48bbcf(0x1d2)]['add'](_0x443edb));}['onSteady'](){const _0x2bba05=_0x3adaff;this[_0x2bba05(0x1d2)][_0x2bba05(0x245)](_0x314eb1);}},_0x1bc6a7(_0x3f0a29,_0x3adaff(0x262),_0x339e3f[_0x3adaff(0x1e8)][_0x3adaff(0x267)]),_0x1bc6a7(_0x3f0a29,'pluginName',_0x3de01b),_0x3f0a29),_0x1278ea['UniverEditHistoryLoaderPlugin']=_0x591ce8([_0x1b37ed(0x1,_0x339e3f[_0x3adaff(0x185)](_0x339e3f[_0x3adaff(0x25c)])),_0x1b37ed(0x2,_0x339e3f[_0x3adaff(0x210)])],_0x1278ea[_0x3adaff(0x16b)]),_0x1278ea[_0x3adaff(0x1e6)]=_0x597b80,_0x1278ea[_0x3adaff(0x1f5)]=_0x42aa57,Object[_0x3adaff(0x162)](_0x1278ea,Symbol[_0x3adaff(0x1f6)],{'value':_0x3adaff(0x167)});}));
|
|
20
|
+
function _0x2491(_0x31f9c4,_0x15d79b){_0x31f9c4=_0x31f9c4-0x1b2;const _0x19ecff=_0x19ec();let _0x249160=_0x19ecff[_0x31f9c4];return _0x249160;}(function(_0x4d9a13,_0x34c79a){const _0x4a37b6=_0x2491,_0x5678d0=_0x4d9a13();while(!![]){try{const _0x3a1765=-parseInt(_0x4a37b6(0x2ca))/0x1*(parseInt(_0x4a37b6(0x2e1))/0x2)+parseInt(_0x4a37b6(0x2a9))/0x3+-parseInt(_0x4a37b6(0x29f))/0x4+parseInt(_0x4a37b6(0x248))/0x5+-parseInt(_0x4a37b6(0x26b))/0x6+-parseInt(_0x4a37b6(0x1c9))/0x7+parseInt(_0x4a37b6(0x262))/0x8*(parseInt(_0x4a37b6(0x1d8))/0x9);if(_0x3a1765===_0x34c79a)break;else _0x5678d0['push'](_0x5678d0['shift']());}catch(_0x273541){_0x5678d0['push'](_0x5678d0['shift']());}}}(_0x19ec,0xe921c),function(_0x232403,_0x435ffc){const _0x3e1f66=_0x2491;typeof exports==_0x3e1f66(0x2c1)&&typeof module<'u'?_0x435ffc(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==_0x3e1f66(0x242)&&define[_0x3e1f66(0x2c0)]?define([_0x3e1f66(0x1bc),'@univerjs/core',_0x3e1f66(0x261),_0x3e1f66(0x22c),_0x3e1f66(0x289),'react',_0x3e1f66(0x238),_0x3e1f66(0x1b2),_0x3e1f66(0x296),_0x3e1f66(0x1d1),'@univerjs-pro/license',_0x3e1f66(0x221),_0x3e1f66(0x1b5),'@univerjs-pro/sheets-pivot',_0x3e1f66(0x21d),_0x3e1f66(0x1c2),_0x3e1f66(0x26e),_0x3e1f66(0x25a),'@univerjs/docs-ui',_0x3e1f66(0x255),_0x3e1f66(0x2b7),_0x3e1f66(0x20e),_0x3e1f66(0x2bb),_0x3e1f66(0x2de),_0x3e1f66(0x1e8),_0x3e1f66(0x2b6),_0x3e1f66(0x1e5),_0x3e1f66(0x1f6),'@univerjs/sheets-data-validation-ui',_0x3e1f66(0x1d5),_0x3e1f66(0x1c0),'@univerjs/sheets-filter',_0x3e1f66(0x271),_0x3e1f66(0x1fb),_0x3e1f66(0x1e4),_0x3e1f66(0x1b7),_0x3e1f66(0x1d2),_0x3e1f66(0x1d9),'@univerjs/sheets-ui'],_0x435ffc):(_0x232403=typeof globalThis<'u'?globalThis:_0x232403||self,_0x435ffc(_0x232403[_0x3e1f66(0x2e5)]={},_0x232403[_0x3e1f66(0x21a)],_0x232403[_0x3e1f66(0x28a)],_0x232403[_0x3e1f66(0x21c)],_0x232403[_0x3e1f66(0x251)],_0x232403[_0x3e1f66(0x28d)],_0x232403['UniverUi'],_0x232403[_0x3e1f66(0x1b2)],_0x232403['UniverSheets'],_0x232403['UniverProEditHistoryViewer'],_0x232403[_0x3e1f66(0x25b)],_0x232403[_0x3e1f66(0x201)],_0x232403[_0x3e1f66(0x2b3)],_0x232403[_0x3e1f66(0x22d)],_0x232403['UniverProSheetsSparkline'],_0x232403[_0x3e1f66(0x2dc)],_0x232403[_0x3e1f66(0x24c)],_0x232403[_0x3e1f66(0x1fd)],_0x232403['UniverDocsUi'],_0x232403['UniverDrawing'],_0x232403['UniverDrawingUi'],_0x232403['UniverEngineFormula'],_0x232403[_0x3e1f66(0x275)],_0x232403[_0x3e1f66(0x2a0)],_0x232403[_0x3e1f66(0x1f3)],_0x232403[_0x3e1f66(0x25d)],_0x232403['UniverSheetsConditionalFormattingUi'],_0x232403['UniverSheetsDataValidation'],_0x232403[_0x3e1f66(0x246)],_0x232403['UniverSheetsDrawing'],_0x232403[_0x3e1f66(0x21b)],_0x232403[_0x3e1f66(0x1c6)],_0x232403[_0x3e1f66(0x227)],_0x232403[_0x3e1f66(0x290)],_0x232403[_0x3e1f66(0x2d6)],_0x232403[_0x3e1f66(0x2bc)],_0x232403[_0x3e1f66(0x282)],_0x232403[_0x3e1f66(0x1ff)],_0x232403['UniverSheetsUi']));}(this,function(_0x37ed36,_0x5e0081,_0x38ff03,_0x2d110c,_0x26996d,_0xfa8fbb,_0x40b810,_0x2e334b,_0xabd4d7,_0x4e98b3,_0x132b5c,_0x186b01,_0xea441,_0xeb6806,_0x4ae3cf,_0x5b8831,_0x54b5c4,_0x73a386,_0x11288e,_0x48fec7,_0x8721ad,_0x4013fc,_0x305900,_0x4023a4,_0x43e4c8,_0x5a936b,_0x54bd14,_0x15a161,_0xbdc45,_0x46058b,_0x42707c,_0x1b7883,_0xd90a97,_0x5efaee,_0x7a34a2,_0x8ddf61,_0x468d5e,_0x12adcb,_0x5123ab){'use strict';const _0x3f62c2=_0x2491;var _0x5d8d29=Object[_0x3f62c2(0x247)],_0x17d406=(_0x12dd46,_0x3aaa18,_0xd2fc01)=>_0x3aaa18 in _0x12dd46?_0x5d8d29(_0x12dd46,_0x3aaa18,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd2fc01}):_0x12dd46[_0x3aaa18]=_0xd2fc01,_0x1dfa01=(_0x32c9b8,_0x53ba1f,_0x246afb)=>_0x17d406(_0x32c9b8,typeof _0x53ba1f!=_0x3f62c2(0x2af)?_0x53ba1f+'':_0x53ba1f,_0x246afb),_0x175e7a;const _0x238ff0=_0x3f62c2(0x2df),_0x4cd2c4={};function _0x5091d2({ref:_0x5a061a,..._0x1c09ab}){const _0x2affc1=_0x3f62c2,{icon:_0x192ad2,id:_0xcd34ff,className:_0x4d83b,extend:_0x526db2,..._0x2510ca}=_0x1c09ab,_0x4c3d01=(_0x2affc1(0x2a8)+_0xcd34ff+'\x20'+(_0x4d83b||''))['trim'](),_0x2ef444=_0xfa8fbb[_0x2affc1(0x1b6)]('_'+_0x50aecd());return _0x463fb3(_0x192ad2,''+_0xcd34ff,{'defIds':_0x192ad2[_0x2affc1(0x260)],'idSuffix':_0x2ef444[_0x2affc1(0x20d)]},{'ref':_0x5a061a,'className':_0x4c3d01,..._0x2510ca},_0x526db2);}function _0x463fb3(_0x3bdefd,_0x25f923,_0x1778db,_0xb15994,_0x20d881){const _0x58de66=_0x3f62c2;return _0xfa8fbb[_0x58de66(0x24d)](_0x3bdefd[_0x58de66(0x2b5)],{'key':_0x25f923,..._0x2e0340(_0x3bdefd,_0x1778db,_0x20d881),..._0xb15994},(_0x496cdf(_0x3bdefd,_0x1778db)[_0x58de66(0x291)]||[])[_0x58de66(0x2d4)]((_0x522e93,_0xef0433)=>_0x463fb3(_0x522e93,_0x25f923+'-'+_0x3bdefd['tag']+'-'+_0xef0433,_0x1778db,void 0x0,_0x20d881)));}function _0x2e0340(_0x4d36bd,_0x334047,_0xce5971){const _0x5b60bb=_0x3f62c2,_0x14de75={..._0x4d36bd['attrs']};_0xce5971!=null&&_0xce5971[_0x5b60bb(0x2bd)]&&_0x14de75[_0x5b60bb(0x2b8)]===_0x5b60bb(0x2bd)&&(_0x14de75[_0x5b60bb(0x2b8)]=_0xce5971[_0x5b60bb(0x2bd)]),_0x4d36bd[_0x5b60bb(0x2b5)]===_0x5b60bb(0x25c)&&_0x14de75['id']&&(_0x14de75['id']=_0x14de75['id']+_0x334047[_0x5b60bb(0x28c)]),Object['entries'](_0x14de75)['forEach'](([_0x5a1b3c,_0x436ea7])=>{const _0x5694b0=_0x5b60bb;_0x5a1b3c==='mask'&&typeof _0x436ea7==_0x5694b0(0x2cc)&&(_0x14de75[_0x5a1b3c]=_0x436ea7[_0x5694b0(0x250)](/url\(#(.*)\)/,_0x5694b0(0x1fa)+_0x334047[_0x5694b0(0x28c)]+')'));});const {defIds:_0x5cd847}=_0x334047;return!_0x5cd847||_0x5cd847['length']===0x0||(_0x4d36bd[_0x5b60bb(0x2b5)]===_0x5b60bb(0x2a5)&&_0x14de75[_0x5b60bb(0x1f4)]&&(_0x14de75['xlink:href']=_0x14de75[_0x5b60bb(0x1f4)]+_0x334047[_0x5b60bb(0x28c)]),Object[_0x5b60bb(0x25e)](_0x14de75)[_0x5b60bb(0x2cd)](([_0x4dd918,_0x2c522c])=>{const _0x114056=_0x5b60bb;typeof _0x2c522c==_0x114056(0x2cc)&&(_0x14de75[_0x4dd918]=_0x2c522c[_0x114056(0x250)](/url\(#(.*)\)/,_0x114056(0x1fa)+_0x334047[_0x114056(0x28c)]+')'));})),_0x14de75;}function _0x496cdf(_0x22fb40,_0x49c121){const _0x5039df=_0x3f62c2;var _0x359b4b;const {defIds:_0x56aeee}=_0x49c121;return!_0x56aeee||_0x56aeee[_0x5039df(0x20f)]===0x0?_0x22fb40:_0x22fb40['tag']==='defs'&&((_0x359b4b=_0x22fb40[_0x5039df(0x291)])!=null&&_0x359b4b['length'])?{..._0x22fb40,'children':_0x22fb40['children'][_0x5039df(0x2d4)](_0x347c0b=>typeof _0x347c0b[_0x5039df(0x2e0)]['id']=='string'&&_0x56aeee&&_0x56aeee[_0x5039df(0x1cd)](_0x347c0b[_0x5039df(0x2e0)]['id'])?{..._0x347c0b,'attrs':{..._0x347c0b[_0x5039df(0x2e0)],'id':_0x347c0b[_0x5039df(0x2e0)]['id']+_0x49c121[_0x5039df(0x28c)]}}:_0x347c0b)}:_0x22fb40;}function _0x50aecd(){const _0x3e7afc=_0x3f62c2;return Math[_0x3e7afc(0x1d4)]()[_0x3e7afc(0x226)](0x24)[_0x3e7afc(0x2db)](0x2,0x8);}_0x5091d2[_0x3f62c2(0x264)]='UniverIcon';const _0x1bcacd={'tag':_0x3f62c2(0x2d0),'attrs':{'xmlns':_0x3f62c2(0x237),'fill':_0x3f62c2(0x2b2),'viewBox':_0x3f62c2(0x249),'width':_0x3f62c2(0x202),'height':_0x3f62c2(0x202)},'children':[{'tag':'g','attrs':{'fill':_0x3f62c2(0x2b0),'clipPath':_0x3f62c2(0x2ac)},'children':[{'tag':_0x3f62c2(0x293),'attrs':{'d':_0x3f62c2(0x258)}},{'tag':_0x3f62c2(0x293),'attrs':{'d':_0x3f62c2(0x2d9)}}]},{'tag':_0x3f62c2(0x259),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f62c2(0x212)},'children':[{'tag':_0x3f62c2(0x293),'attrs':{'fill':_0x3f62c2(0x1fe),'d':_0x3f62c2(0x1e2)}}]}]}],'defIds':[_0x3f62c2(0x212)]},_0x46494c=_0xfa8fbb[_0x3f62c2(0x1cf)](function(_0x29b26a,_0x5097ce){const _0x40c8cc=_0x3f62c2;return _0xfa8fbb['createElement'](_0x5091d2,Object[_0x40c8cc(0x1e0)]({},_0x29b26a,{'id':_0x40c8cc(0x217),'ref':_0x5097ce,'icon':_0x1bcacd}));});_0x46494c[_0x3f62c2(0x264)]=_0x3f62c2(0x1bd);var _0x537925=Object['getOwnPropertyDescriptor'],_0x1dfa0c=(_0x1da9bc,_0x44a517,_0x2f064d,_0x35d2ce)=>{const _0x21f8d7=_0x3f62c2;for(var _0x3e4322=_0x35d2ce>0x1?void 0x0:_0x35d2ce?_0x537925(_0x44a517,_0x2f064d):_0x44a517,_0x2b3d3c=_0x1da9bc[_0x21f8d7(0x20f)]-0x1,_0x26eb91;_0x2b3d3c>=0x0;_0x2b3d3c--)(_0x26eb91=_0x1da9bc[_0x2b3d3c])&&(_0x3e4322=_0x26eb91(_0x3e4322)||_0x3e4322);return _0x3e4322;},_0x53f34b=(_0x1b9c33,_0x2e509b)=>(_0x41a1f3,_0x3c1447)=>_0x2e509b(_0x41a1f3,_0x3c1447,_0x1b9c33);const _0x40a312=_0x3f62c2(0x2ae),_0x38cac4=_0x3f62c2(0x1c8),_0x7dbcc1=_0x3f62c2(0x1ba);_0x37ed36['HistoryLoaderService']=class extends _0x5e0081[_0x3f62c2(0x24e)]{constructor(_0x339b1f,_0x4228b3,_0x7a4bae,_0xcc288d,_0x5a603c,_0x4633fb,_0x100bbf,_0x39f966,_0x1cf452,_0x36a1d3){const _0x45c12a=_0x3f62c2;super(),_0x1dfa01(this,_0x45c12a(0x1cb),new _0x2e334b['BehaviorSubject'](null)),_0x1dfa01(this,_0x45c12a(0x1de),this[_0x45c12a(0x1cb)][_0x45c12a(0x2a3)]()),_0x1dfa01(this,_0x45c12a(0x274),new _0x5e0081[(_0x45c12a(0x1db))]()),_0x1dfa01(this,_0x45c12a(0x2e2),new Map()),(this[_0x45c12a(0x266)]=_0x339b1f,this['_univerInstanceService']=_0x4228b3,this['_configService']=_0x7a4bae,this[_0x45c12a(0x204)]=_0xcc288d,this['_messageService']=_0x5a603c,this[_0x45c12a(0x276)]=_0x4633fb,this[_0x45c12a(0x1bf)]=_0x100bbf,this[_0x45c12a(0x1e6)]=_0x39f966,this[_0x45c12a(0x28b)]=_0x1cf452,this[_0x45c12a(0x1cc)]=_0x36a1d3,this['_init']());}get['historyUniver'](){const _0x28c2fb=_0x3f62c2;return this[_0x28c2fb(0x1cb)][_0x28c2fb(0x223)];}['_init'](){const _0x39bde5=_0x3f62c2;this[_0x39bde5(0x2cb)](),this['_initPlugins']();}[_0x3f62c2(0x2cb)](){const _0x162629=_0x3f62c2;var _0x23ce70;const _0x2f832a=(_0x23ce70=this['_configService'][_0x162629(0x2d1)](_0x38cac4))!=null?_0x23ce70:_0x40a312,_0x150448=document[_0x162629(0x297)](_0x2f832a);if(!_0x150448)return;const _0x12a945=document[_0x162629(0x24d)](_0x162629(0x253));_0x12a945['id']=_0x7dbcc1,_0x12a945[_0x162629(0x277)][_0x162629(0x210)]='history-container',_0x12a945[_0x162629(0x20b)][_0x162629(0x2ad)]=_0x162629(0x1c1),_0x12a945[_0x162629(0x20b)][_0x162629(0x2c5)]='0',_0x12a945[_0x162629(0x20b)][_0x162629(0x26f)]='0',_0x12a945[_0x162629(0x20b)]['width']=_0x162629(0x26d),_0x12a945[_0x162629(0x20b)][_0x162629(0x230)]=_0x162629(0x26d),_0x12a945['style'][_0x162629(0x218)]=_0x162629(0x2c4),_0x12a945[_0x162629(0x20b)][_0x162629(0x2dd)]='none',_0x150448[_0x162629(0x1c3)](_0x12a945);}[_0x3f62c2(0x25f)](){const _0x574f2f=_0x3f62c2;var _0x446716,_0x4a4bec;[[_0x305900[_0x574f2f(0x231)]],[_0x40b810[_0x574f2f(0x288)],{'container':_0x7dbcc1,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x40b810[_0x574f2f(0x273)],null]]}],[_0x4023a4[_0x574f2f(0x2d3)]],[_0x48fec7[_0x574f2f(0x1e7)],{'override':[[_0x48fec7[_0x574f2f(0x2c2)],null]]}],[_0x73a386[_0x574f2f(0x2d7)],{'hasScroll':!0x1}],[_0x11288e['UniverDocsUIPlugin']],[_0x12adcb[_0x574f2f(0x219)]],[_0xabd4d7[_0x574f2f(0x252)],{'notExecuteFormula':!0x0}],[_0x5123ab[_0x574f2f(0x1ea)]],[_0x5efaee[_0x574f2f(0x268)]],[_0x7a34a2['UniverSheetsFormulaUIPlugin']],[_0x38ff03[_0x574f2f(0x243)]],[_0x1b7883[_0x574f2f(0x22b)]],[_0xd90a97['UniverSheetsFilterUIPlugin']],[_0x5a936b[_0x574f2f(0x292)]],[_0x54bd14[_0x574f2f(0x1f0)]],[_0x8ddf61[_0x574f2f(0x22a)]],[_0x468d5e[_0x574f2f(0x265)]],[_0x54b5c4['UniverDataValidationPlugin']],[_0x15a161['UniverSheetsDataValidationPlugin']],[_0xbdc45[_0x574f2f(0x287)]],[_0x4013fc[_0x574f2f(0x21f)],{'notExecuteFormula':!0x0}],[_0x43e4c8['UniverRPCMainThreadPlugin'],{'workerURL':_0x574f2f(0x29c)}],[_0x8721ad[_0x574f2f(0x1ec)]],[_0x46058b[_0x574f2f(0x254)]],[_0x42707c[_0x574f2f(0x2c3)]],[_0x4ae3cf['UniverSheetSparklinePlugin']],[_0x5b8831['UniverSheetSparklineUIPlugin']],[_0x186b01[_0x574f2f(0x263)]],[_0xea441[_0x574f2f(0x203)]],[_0xeb6806['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x4e98b3[_0x574f2f(0x2aa)],{'historyListServerUrl':(_0x446716=this[_0x574f2f(0x2be)][_0x574f2f(0x2d1)](_0x238ff0))==null?void 0x0:_0x446716[_0x574f2f(0x27e)],'historyPanelComponentKey':(_0x4a4bec=this['_configService']['getConfig'](_0x238ff0))==null?void 0x0:_0x4a4bec[_0x574f2f(0x1e9)]}]]['forEach'](([_0x502617,_0x3516c9])=>this['registerPlugin'](_0x502617,_0x3516c9));}[_0x3f62c2(0x239)](){const _0x3601e1=_0x3f62c2;super['dispose'](),this[_0x3601e1(0x240)](),this['_pluginMap'][_0x3601e1(0x1da)]();}[_0x3f62c2(0x1b9)](_0x215487,_0x5bfdf5,_0x91fdf4){const _0x5b0478=_0x3f62c2;if(this['_pluginMap'][_0x5b0478(0x27a)](_0x215487['pluginName'])&&!_0x91fdf4)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x215487[_0x5b0478(0x1c7)]+'\x20has\x20been\x20registered.');this[_0x5b0478(0x2e2)][_0x5b0478(0x272)](_0x215487[_0x5b0478(0x1c7)],[_0x215487,_0x5bfdf5]);}['getAllPlugins'](){const _0x2d8c8f=_0x3f62c2;return Array[_0x2d8c8f(0x1f2)](this[_0x2d8c8f(0x2e2)]['values']());}['mountHistoryContent'](_0x3c28fd){const _0x39686a=_0x3f62c2,_0x37bc65=document['getElementById'](_0x7dbcc1);_0x37bc65&&(_0x37bc65[_0x39686a(0x20b)][_0x39686a(0x2dd)]=_0x39686a(0x236),this[_0x39686a(0x2ba)](_0x3c28fd,_0x7dbcc1));}['unMountHistoryContent'](){const _0x2bcf0f=_0x3f62c2;var _0xd089c1;this[_0x2bcf0f(0x274)][_0x2bcf0f(0x239)](),(_0xd089c1=this[_0x2bcf0f(0x2a1)])==null||_0xd089c1[_0x2bcf0f(0x239)](),this['_historyUniver$'][_0x2bcf0f(0x1eb)](null);const _0x3d1ad5=document[_0x2bcf0f(0x297)](_0x7dbcc1);_0x3d1ad5&&(_0x3d1ad5[_0x2bcf0f(0x20b)][_0x2bcf0f(0x2dd)]='none');}[_0x3f62c2(0x2ba)](_0x2ff302,_0x843bfe){const _0x361a20=_0x3f62c2;if(this[_0x361a20(0x2a1)])return;const _0x58cb58=new _0x5e0081[(_0x361a20(0x213))]({'locales':{[this['_localeService'][_0x361a20(0x241)]()]:this[_0x361a20(0x266)][_0x361a20(0x1f5)]()},'override':[[_0x5e0081[_0x361a20(0x2d8)],{'useClass':_0x2d110c[_0x361a20(0x1d7)]}]]}),_0x3ddc2e=_0x58cb58[_0x361a20(0x299)]();this[_0x361a20(0x2b1)](this['_themeService']['darkMode$'][_0x361a20(0x27b)](_0x158f97=>{const _0x21db79=_0x361a20;_0x3ddc2e['get'](_0x5e0081[_0x21db79(0x1e1)])[_0x21db79(0x215)](_0x158f97);})),this['disposeWithMe'](this['_themeService'][_0x361a20(0x1ca)]['subscribe'](_0x1d3313=>{const _0x254ff9=_0x361a20;_0x3ddc2e[_0x254ff9(0x295)](_0x5e0081[_0x254ff9(0x1e1)])[_0x254ff9(0x21e)](_0x1d3313);})),_0x3ddc2e[_0x361a20(0x295)](_0x5e0081['LocaleService'])[_0x361a20(0x1ed)](this['_localeService'][_0x361a20(0x241)]()),_0x3ddc2e[_0x361a20(0x295)](_0x5e0081['IConfigService'])[_0x361a20(0x222)](_0x2d110c[_0x361a20(0x26a)],this[_0x361a20(0x2be)][_0x361a20(0x2d1)](_0x2d110c[_0x361a20(0x26a)]));const _0x6e42ea=this[_0x361a20(0x2be)]['getConfig'](_0x132b5c[_0x361a20(0x29a)]);_0x6e42ea&&_0x58cb58[_0x361a20(0x1b9)](_0x132b5c[_0x361a20(0x24a)],{'license':_0x6e42ea['ls']}),this[_0x361a20(0x2e2)][_0x361a20(0x2cd)](([_0x17c74d,_0x16dee6])=>{_0x58cb58['registerPlugin'](_0x17c74d,_0x16dee6);}),_0x3ddc2e[_0x361a20(0x23e)](_0x300c7a=>{this['_initListener'](_0x300c7a,_0x2ff302);}),this[_0x361a20(0x1cb)]['next'](_0x58cb58);const _0x394a4a=_0x3ddc2e['get'](_0x4e98b3[_0x361a20(0x298)]),_0x5428bf=this[_0x361a20(0x256)](_0x2ff302);_0x394a4a[_0x361a20(0x216)](_0x2ff302,_0x843bfe,_0x5428bf);}[_0x3f62c2(0x235)](_0x44d48b,_0x3b5403){const _0x439ebb=_0x3f62c2,_0x144898=_0x44d48b[_0x439ebb(0x295)](_0x4e98b3[_0x439ebb(0x298)]);this[_0x439ebb(0x274)]['add'](_0x144898[_0x439ebb(0x224)][_0x439ebb(0x27b)](_0x8015dc=>{const _0x36c62f=_0x439ebb;switch(_0x8015dc){case _0x4e98b3[_0x36c62f(0x1d6)][_0x36c62f(0x2b4)]:this['_dialogService'][_0x36c62f(0x1b4)](),this[_0x36c62f(0x28b)][_0x36c62f(0x244)]();break;case _0x4e98b3[_0x36c62f(0x1d6)][_0x36c62f(0x208)]:this[_0x36c62f(0x240)]();break;case _0x4e98b3[_0x36c62f(0x1d6)][_0x36c62f(0x2a6)]:this[_0x36c62f(0x240)](),this['_messageService'][_0x36c62f(0x28e)]({'content':this[_0x36c62f(0x266)]['t']('editHistory.panel.listFetchError'),'type':_0x26996d['MessageType'][_0x36c62f(0x2a6)],'duration':0xbb8});break;}})),this[_0x439ebb(0x274)][_0x439ebb(0x29e)](_0x144898['revertRevision$'][_0x439ebb(0x27b)](async _0x117ae1=>{const _0x9cf41c=_0x439ebb;_0x117ae1&&this[_0x9cf41c(0x204)][_0x9cf41c(0x23f)](_0x38ff03[_0x9cf41c(0x28f)]['id'],{'unitId':_0x3b5403,'revision':_0x117ae1});}));}['_checkCanRevert'](_0x582e8b){const _0xcfef69=_0x3f62c2,_0x5161e6=this[_0xcfef69(0x2ab)][_0xcfef69(0x2c6)](_0x582e8b)[_0xcfef69(0x1e3)]()[_0xcfef69(0x2d4)](_0x536165=>_0x536165[_0xcfef69(0x23c)]()),_0xcff372=new _0xabd4d7[(_0xcfef69(0x2cf))](_0x582e8b)['id'],_0x4a894f=_0x5161e6[_0xcfef69(0x2d4)](_0x4e0184=>new _0xabd4d7[(_0xcfef69(0x269))](_0x582e8b,_0x4e0184)['id']),_0x31a3c9=_0x5161e6[_0xcfef69(0x2d4)](_0x25ecd8=>this[_0xcfef69(0x1bf)][_0xcfef69(0x229)](_0x582e8b,_0x25ecd8)[_0xcfef69(0x2d4)](_0x7f77fa=>new _0xabd4d7[(_0xcfef69(0x1b8))](_0x582e8b,_0x25ecd8,_0x7f77fa[_0xcfef69(0x257)])['id']))[_0xcfef69(0x2a4)](),_0x296367=new _0xabd4d7[(_0xcfef69(0x1ce))](_0x582e8b)['id'];return this[_0xcfef69(0x276)][_0xcfef69(0x1bb)]([_0xcff372,..._0x4a894f,..._0x31a3c9,_0x296367])['every'](_0x5bc084=>!!_0x5bc084[_0xcfef69(0x223)]);}},_0x37ed36[_0x3f62c2(0x27f)]=_0x1dfa0c([_0x53f34b(0x0,_0x5e0081[_0x3f62c2(0x1ef)](_0x5e0081[_0x3f62c2(0x29b)])),_0x53f34b(0x1,_0x5e0081['IUniverInstanceService']),_0x53f34b(0x2,_0x5e0081[_0x3f62c2(0x2bf)]),_0x53f34b(0x3,_0x5e0081[_0x3f62c2(0x270)]),_0x53f34b(0x4,_0x40b810[_0x3f62c2(0x23b)]),_0x53f34b(0x5,_0x5e0081[_0x3f62c2(0x294)]),_0x53f34b(0x6,_0x5e0081[_0x3f62c2(0x1ef)](_0xabd4d7[_0x3f62c2(0x1c5)])),_0x53f34b(0x7,_0x5e0081[_0x3f62c2(0x1ef)](_0x40b810[_0x3f62c2(0x273)])),_0x53f34b(0x8,_0x5e0081[_0x3f62c2(0x1ef)](_0x40b810[_0x3f62c2(0x245)])),_0x53f34b(0x9,_0x5e0081[_0x3f62c2(0x1ef)](_0x5e0081[_0x3f62c2(0x1e1)]))],_0x37ed36['HistoryLoaderService']);const _0x2866e7={'id':_0x3f62c2(0x2a7),'type':_0x5e0081[_0x3f62c2(0x279)][_0x3f62c2(0x2b9)],'handler':_0x463029=>{const _0x4226d8=_0x3f62c2,_0x2c6d99=_0x463029[_0x4226d8(0x295)](_0x37ed36['HistoryLoaderService']),_0x508cab=_0x463029['get'](_0x5e0081['IUniverInstanceService']),{unitId:_0x20ea12}=_0xabd4d7[_0x4226d8(0x2c7)](_0x508cab)||{};return _0x20ea12?(_0x2c6d99[_0x4226d8(0x205)](_0x20ea12),!0x0):!0x1;}};function _0x5f71e5(_0x3bbd0e){const _0x4669b9=_0x3f62c2;return{'id':_0x2866e7['id'],'type':_0x40b810['MenuItemType'][_0x4669b9(0x228)],'icon':_0x4669b9(0x1bd),'tooltip':_0x4669b9(0x281),'hidden$':_0x40b810[_0x4669b9(0x1d3)](_0x3bbd0e,_0x5e0081[_0x4669b9(0x20a)][_0x4669b9(0x2c9)]),'disabled$':_0x5123ab[_0x4669b9(0x225)](_0x3bbd0e,{'workbookTypes':[_0xabd4d7[_0x4669b9(0x2cf)],_0xabd4d7['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}const _0x5ddccb={[_0x40b810[_0x3f62c2(0x2ce)][_0x3f62c2(0x285)]]:{[_0x2866e7['id']]:{'order':0.2,'menuItemFactory':_0x5f71e5}}};var _0x4c99e6=Object[_0x3f62c2(0x220)],_0x199986=(_0x1e775f,_0x45c205,_0xe9bfd5,_0x1236b7)=>{const _0x51194=_0x3f62c2;for(var _0x559ff9=_0x1236b7>0x1?void 0x0:_0x1236b7?_0x4c99e6(_0x45c205,_0xe9bfd5):_0x45c205,_0x320d50=_0x1e775f[_0x51194(0x20f)]-0x1,_0x1edfac;_0x320d50>=0x0;_0x320d50--)(_0x1edfac=_0x1e775f[_0x320d50])&&(_0x559ff9=_0x1edfac(_0x559ff9)||_0x559ff9);return _0x559ff9;},_0x154720=(_0x5700a9,_0x5c6ee9)=>(_0x36b5e0,_0x302fe7)=>_0x5c6ee9(_0x36b5e0,_0x302fe7,_0x5700a9);let _0x11a217=class extends _0x5e0081[_0x3f62c2(0x1f1)]{constructor(_0x246aea,_0x50f43e,_0x4d2f0a,_0x46f832,_0x57944b,_0x40de12,_0xffc8c5,_0xf80f23){const _0x5a843d=_0x3f62c2;super(),_0x1dfa01(this,'_revertErrorTimer',null),(this['_commandService']=_0x246aea,this[_0x5a843d(0x26c)]=_0x50f43e,this[_0x5a843d(0x2d5)]=_0x4d2f0a,this[_0x5a843d(0x280)]=_0x46f832,this[_0x5a843d(0x266)]=_0x57944b,this[_0x5a843d(0x234)]=_0x40de12,this[_0x5a843d(0x1df)]=_0xffc8c5,this['_localCacheService']=_0xf80f23,this[_0x5a843d(0x1d0)]());}[_0x3f62c2(0x1d0)](){const _0x177a00=_0x3f62c2;[_0x2866e7][_0x177a00(0x2cd)](_0x2b16c3=>this['disposeWithMe'](_0x5e0081[_0x177a00(0x211)](this['_commandService'][_0x177a00(0x1be)](_0x2b16c3)))),this['disposeWithMe'](this['_componentManager'][_0x177a00(0x23d)](_0x177a00(0x1bd),_0x46494c)),this[_0x177a00(0x26c)][_0x177a00(0x24b)](_0x5ddccb),this[_0x177a00(0x2b1)](this[_0x177a00(0x204)]['onCommandExecuted'](_0x5ea805=>{const _0x2bd9d6=_0x177a00;if(_0x5ea805['id']===_0x38ff03[_0x2bd9d6(0x28f)]['id']){this['_messageService'][_0x2bd9d6(0x28e)]({'content':this[_0x2bd9d6(0x266)]['t']('editHistory.panel.reverting'),'type':_0x26996d['MessageType'][_0x2bd9d6(0x2e3)],'duration':0x1388});const {unitId:_0x2f1845}=_0x5ea805[_0x2bd9d6(0x2e4)],_0x410a96=this[_0x2bd9d6(0x1df)]['getCollabEntity'](_0x2f1845),_0x4ad3b6=_0x2e334b['combineLatest']([_0x410a96['session']['event$'],_0x410a96[_0x2bd9d6(0x20c)]])[_0x2bd9d6(0x27b)](async([_0x2b6d03,_0x3b05d1])=>{const _0x708b60=_0x2bd9d6;var _0x221b3f;_0x2b6d03[_0x708b60(0x27d)]===_0x38ff03[_0x708b60(0x24f)][_0x708b60(0x284)]&&(_0x3b05d1==null?void 0x0:_0x3b05d1[_0x708b60(0x286)])===_0x2d110c[_0x708b60(0x2da)][_0x708b60(0x1f9)]&&_0x2b6d03[_0x708b60(0x1dc)][_0x708b60(0x2a2)][_0x708b60(0x283)](_0x10c01c=>_0x10c01c['id']===_0x38ff03[_0x708b60(0x28f)]['id'])&&(this[_0x708b60(0x280)]['unMountHistoryContent'](),_0x4ad3b6[_0x708b60(0x22e)](),this[_0x708b60(0x1f8)]&&clearTimeout(this[_0x708b60(0x1f8)]),await((_0x221b3f=this[_0x708b60(0x1f7)])==null?void 0x0:_0x221b3f['exhaustSavingTask']()),setTimeout(()=>window[_0x708b60(0x214)]['reload']()));});this[_0x2bd9d6(0x1f8)]=setTimeout(()=>{const _0x4de8f2=_0x2bd9d6;_0x4ad3b6['unsubscribe'](),this[_0x4de8f2(0x234)][_0x4de8f2(0x28e)]({'content':this[_0x4de8f2(0x266)]['t'](_0x4de8f2(0x207)),'type':_0x26996d[_0x4de8f2(0x2c8)]['Error'],'duration':0xbb8});},0x1388);}}));}};_0x11a217=_0x199986([_0x154720(0x0,_0x5e0081['ICommandService']),_0x154720(0x1,_0x40b810[_0x3f62c2(0x278)]),_0x154720(0x2,_0x5e0081[_0x3f62c2(0x1ef)](_0x40b810[_0x3f62c2(0x233)])),_0x154720(0x3,_0x5e0081[_0x3f62c2(0x1ef)](_0x37ed36[_0x3f62c2(0x27f)])),_0x154720(0x4,_0x5e0081[_0x3f62c2(0x1ef)](_0x5e0081['LocaleService'])),_0x154720(0x5,_0x40b810['IMessageService']),_0x154720(0x6,_0x5e0081[_0x3f62c2(0x1ef)](_0x2d110c[_0x3f62c2(0x22f)])),_0x154720(0x7,_0x2d110c[_0x3f62c2(0x206)])],_0x11a217);var _0x309a1e=Object['getOwnPropertyDescriptor'],_0xe45a52=(_0x5abf49,_0x29dc4b,_0xe6fb60,_0x2583e4)=>{for(var _0x4365a2=_0x2583e4>0x1?void 0x0:_0x2583e4?_0x309a1e(_0x29dc4b,_0xe6fb60):_0x29dc4b,_0x4dd591=_0x5abf49['length']-0x1,_0x100ef8;_0x4dd591>=0x0;_0x4dd591--)(_0x100ef8=_0x5abf49[_0x4dd591])&&(_0x4365a2=_0x100ef8(_0x4365a2)||_0x4365a2);return _0x4365a2;},_0x4fe0e2=(_0x2aba59,_0x10fa4d)=>(_0x3a2ff5,_0x159854)=>_0x10fa4d(_0x3a2ff5,_0x159854,_0x2aba59);const _0x4f7508=_0x3f62c2(0x1c4);_0x37ed36[_0x3f62c2(0x29d)]=(_0x175e7a=class extends _0x5e0081[_0x3f62c2(0x1ee)]{constructor(_0x34f96d=_0x4cd2c4,_0x42c307,_0x19b70f){const _0x53f9c7=_0x3f62c2;super(),this['_config']=_0x34f96d,this[_0x53f9c7(0x209)]=_0x42c307,this[_0x53f9c7(0x2be)]=_0x19b70f;const {menu:_0x33258e,..._0xd9ebc6}=_0x5e0081[_0x53f9c7(0x1b3)]({},_0x4cd2c4,this[_0x53f9c7(0x27c)]);_0x33258e&&this[_0x53f9c7(0x2be)][_0x53f9c7(0x222)](_0x53f9c7(0x2d2),_0x33258e,{'merge':!0x0}),this[_0x53f9c7(0x2be)][_0x53f9c7(0x222)](_0x238ff0,_0xd9ebc6),this[_0x53f9c7(0x27c)][_0x53f9c7(0x1dd)]&&this[_0x53f9c7(0x2be)][_0x53f9c7(0x222)](_0x38cac4,this['_config'][_0x53f9c7(0x1dd)]);}[_0x3f62c2(0x200)](){const _0x2fda94=_0x3f62c2;[[_0x37ed36['HistoryLoaderService']],[_0x11a217]][_0x2fda94(0x2cd)](_0x138314=>this[_0x2fda94(0x209)][_0x2fda94(0x29e)](_0x138314));}['onSteady'](){const _0x2bcf12=_0x3f62c2;this[_0x2bcf12(0x209)][_0x2bcf12(0x295)](_0x11a217);}},_0x1dfa01(_0x175e7a,_0x3f62c2(0x267),_0x5e0081[_0x3f62c2(0x20a)]['UNIVER_UNKNOWN']),_0x1dfa01(_0x175e7a,_0x3f62c2(0x1c7),_0x4f7508),_0x175e7a),_0x37ed36[_0x3f62c2(0x29d)]=_0xe45a52([_0x4fe0e2(0x1,_0x5e0081[_0x3f62c2(0x1ef)](_0x5e0081[_0x3f62c2(0x1fc)])),_0x4fe0e2(0x2,_0x5e0081[_0x3f62c2(0x2bf)])],_0x37ed36[_0x3f62c2(0x29d)]),_0x37ed36['UNIVER_CONTAINER_ID_KEY']=_0x38cac4,_0x37ed36['UNIVER_HISTORY_CONTAINER_ID']=_0x7dbcc1,Object[_0x3f62c2(0x247)](_0x37ed36,Symbol[_0x3f62c2(0x23a)],{'value':_0x3f62c2(0x232)});}));function _0x19ec(){const _0x3882fa=['mutations','asObservable','flat','use','Error','univer.operation.toggle-edit-history','univerjs-icon\x20univerjs-icon-','2798571RQfVdI','UniverEditHistoryViewerPlugin','_univerInstanceService','url(#history-icon_clip0_907_281)','position','univer-container','symbol','currentColor','disposeWithMe','none','UniverProSheetsChartUi','Entered','tag','@univerjs/sheets-conditional-formatting','@univerjs/drawing-ui','fill','OPERATION','_initUniver','@univerjs/engine-render','UniverSheetsHyperLink','colorChannel1','_configService','IConfigService','amd','object','IImageIoService','UniverSheetsDrawingUIPlugin','1000','top','getUnit','getSheetCommandTarget','MessageType','UNIVER_SHEET','39SDfhKI','_initContainer','string','forEach','RibbonStartGroup','WorkbookEditablePermission','svg','getConfig','menu','UniverNetworkPlugin','map','_componentManager','UniverSheetsFormulaUi','UniverDocsPlugin','IAuthzIoService','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','CollaborationStatus','substring','UniverProSheetsSparklineUi','display','@univerjs/network','edit-history-loader.config','attrs','41414eJQhwm','_pluginMap','Loading','params','UniverProEditHistoryLoader','rxjs','merge','closeAll','@univerjs-pro/sheets-chart-ui','useRef','@univerjs/sheets-hyper-link','RangeProtectionPermissionEditPoint','registerPlugin','univer-history-container','composePermission','exports','HistoryIcon','registerCommand','_selectionProtectionRuleModel','@univerjs/sheets-drawing-ui','absolute','@univerjs-pro/sheets-sparkline-ui','appendChild','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','RangeProtectionRuleModel','UniverSheetsFilter','pluginName','UNIVER_CONTAINER_ID','3894821tVIVae','currentTheme$','_historyUniver$','_themeService','includes','WorkbookRecoverHistoryPermission','forwardRef','_init','@univerjs-pro/edit-history-viewer','@univerjs/sheets-hyper-link-ui','getMenuHiddenObservable','random','@univerjs/sheets-drawing','HistoryModeStatus','AuthzIoHttpService','9TiPhzb','@univerjs/sheets-numfmt','clear','DisposableCollection','data','univerContainerId','historyUniver$','_collaborationController','assign','ThemeService','M0\x200H16V16H0z','getSheets','@univerjs/sheets-formula-ui','@univerjs/sheets-conditional-formatting-ui','_dialogService','UniverDrawingPlugin','@univerjs/rpc','historyPanelComponentKey','UniverSheetsUIPlugin','next','UniverDrawingUIPlugin','setLocale','Plugin','Inject','UniverSheetsConditionalFormattingUIPlugin','RxDisposable','from','UniverRpc','xlink:href','getLocales','@univerjs/sheets-data-validation','_localCacheService','_revertErrorTimer','SYNCED','url(#$1','@univerjs/sheets-formula','Injector','UniverDocs','white','UniverSheetsNumfmt','onStarting','UniverProSheetsChart','1em','UniverSheetsChartUIPlugin','_commandService','mountHistoryContent','ILocalCacheService','editHistory.panel.revertFailed','Exited','_injector','UniverInstanceType','style','state$','current','@univerjs/engine-formula','length','uComp','toDisposable','history-icon_clip0_907_281','Univer','location','setDarkMode','triggerLoadVersions','history-icon','zIndex','UniverSheetsNumfmtPlugin','UniverCore','UniverSheetsDrawingUi','UniverProCollaborationClient','@univerjs-pro/sheets-sparkline','setTheme','UniverFormulaEnginePlugin','getOwnPropertyDescriptor','@univerjs-pro/sheets-chart','setConfig','value','status$','getCurrentRangeDisable$','toString','UniverSheetsFilterUi','BUTTON','getSubunitRuleList','UniverSheetsHyperLinkPlugin','UniverSheetsFilterPlugin','@univerjs-pro/collaboration-client','UniverProSheetsPivot','unsubscribe','CollaborationController','height','UniverRenderEnginePlugin','Module','ComponentManager','_messageService','_initListener','block','http://www.w3.org/2000/svg','@univerjs/ui','dispose','toStringTag','IMessageService','getSheetId','register','invoke','executeCommand','unMountHistoryContent','getCurrentLocale','function','UniverCollaborationPlugin','close','ISidebarService','UniverSheetsDataValidationUi','defineProperty','5302895FrkPDa','0\x200\x2016\x2016','UniverLicensePlugin','mergeMenu','UniverDataValidation','createElement','Disposable','CollaborationEvent','replace','UniverDesign','UniverSheetsPlugin','div','UniverSheetsDrawingPlugin','@univerjs/drawing','_checkCanRevert','permissionId','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','defs','@univerjs/docs','UniverProLicense','mask','UniverSheetsConditionalFormatting','entries','_initPlugins','defIds','@univerjs-pro/collaboration','18905912KvpIDh','UniverSheetsChartPlugin','displayName','UniverSheetsHyperLinkUIPlugin','_localeService','type','UniverSheetsFormulaPlugin','WorksheetEditPermission','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','2640540AgbrOh','_menuManagerService','100%','@univerjs/data-validation','left','ICommandService','@univerjs/sheets-filter-ui','set','IDialogService','_disposableCollection','UniverEngineRender','_permissionService','dataset','IMenuManagerService','CommandType','has','subscribe','_config','eventID','historyListServerUrl','HistoryLoaderService','_historyManagerService','editHistory.panel.title','UniverSheetsHyperLinkUi','some','CHANGESET_ACK','OTHERS','status','UniverSheetsDataValidationUIPlugin','UniverUIPlugin','@univerjs/design','UniverProCollaboration','_sidebarService','idSuffix','React','show','RevertRevisionMutation','UniverSheetsFormula','children','UniverSheetsConditionalFormattingPlugin','path','IPermissionService','get','@univerjs/sheets','getElementById','HistoryManagerService','__getInjector','LS_CONFIG_KEY','LocaleService','./worker.js','UniverEditHistoryLoaderPlugin','add','6390804DWfzLN','UniverNetwork','historyUniver'];_0x19ec=function(){return _0x3882fa;};return _0x19ec();}
|
|
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"})}));
|