@univerjs/preset-docs-collaboration 0.12.4 → 0.13.0-insiders.20251215-64041bb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/umd/index.js +4 -4
- package/lib/umd/locales/ca-ES.js +2 -2
- package/lib/umd/locales/en-US.js +2 -2
- package/lib/umd/locales/es-ES.js +2 -2
- package/lib/umd/locales/fa-IR.js +2 -2
- package/lib/umd/locales/fr-FR.js +2 -2
- package/lib/umd/locales/ja-JP.js +2 -2
- package/lib/umd/locales/ko-KR.js +2 -2
- package/lib/umd/locales/ru-RU.js +2 -2
- package/lib/umd/locales/vi-VN.js +2 -2
- package/lib/umd/locales/zh-CN.js +2 -2
- package/lib/umd/locales/zh-TW.js +2 -2
- package/package.json +6 -6
package/lib/umd/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
function _0x58ee(_0x44fb3f,_0x4b27c8){_0x44fb3f=_0x44fb3f-0x1d1;var _0x369286=_0x3692();var _0x58ee19=_0x369286[_0x44fb3f];return _0x58ee19;}function _0x3692(){var _0x58f79a=['UnitSnapshot','getOwnPropertyDescriptor','@univerjs/network','from','filter','ClipsheetFragments','LICENSE_MAX_UNITS_EXCEEDED','DEFAULT_WS_SESSION_TICKET_URL','registerDependencies','REDEMPTION_CODE_NOT_STARTED','getUnitStatus$','localCacheService','enableCollaboration','LIVESHARE_NEW_HOST','LIVESHARE_TERMINATE','ENTITLE_REPORT_LIMIT_EXCEED','getImageSourceCache','OTHER_CLIENTS_EDITING','_createInitialStateImpl','state$','emitEvent','&source=','unpad','_doProcessBlock','_unitID','_memberService','OTHER_CLIENT_EDITING','memberID','[SyncedState]:\x20received\x20rejection.','b64DecodeUnicode','NOT_FOUND','requireSession','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByStateCache','get','ENTITLE_CHAT_LIMIT_EXCEED','\x20in\x20_schedule.','UNRECOGNIZED','_collaborationSessionService','error','min','charAt','slice','updateMember','onStarting','open$','ICommandService','getTime','values','_pendingMutations','USERS_ENTER','createDecryptor','sheets','JOIN_ROOM_NOT_EXISTS','getMember','socketService','CURRENT_STATUS_CANNOT_OPERATE','IUndoRedoService','fetch_missing','updatePermissionPoint','method','@univerjs-pro/collaboration','Disposable','AES','UniverCore','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','apply','pending','_HTTPService','DataLoaderService','onRemoteRej','COMMENT_UPDATE','HELLO','getCurrentRevOfUnit','YUUMI_NO_CUBOID_FOR_QUESTION','hostname','close','MemberService','UNIVER_PROJECT','DATA_SOURCE_TOO_LARGE','_map','CollaborationStatus','/role','floor','ENTITLE_COUPON_USED_UP','OfflineState','now','UPDATE_PERMISSION_OBJ','transformUndoRedo','_getSendChangesetTimeout','_collaborationTimeoutTimer','executeCommand','CollaborationImageIoService','equals','putCollaborators','revision','HmacMD5','_keySchedule','parseChangesetToProtocol','9Gxsjvt','substr','createIdentifier','_nRounds','Plugin','type','CollaborationSocketService','REDEMPTION_USER_NOT_ELIGIBLE','buffer','uploadFileServerUrl','_transformStateCache','_userManagerService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','parse','rev','concatMap','transformMutationsWithChangeset','_resendTimer','IUniverInstanceService','CollaborationUIEventService','conflict','AwaitingWithPendingState','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SheetsSelectionsService','_showConflictNotification','CollaborationEntity','RETRY_CONNECTING_MAX_COUNT','size','transformSelections','disposeWithMe','ConflictState','enableSingleActiveInstanceLock','SNAPSHOT_INVALID_SNAPSHOT','collabSubmitChangesetUrl','SNAPSHOT_HAS_BEEN_REMOVED','confirm','/allowed','init','8agZVPk','AWAITING_WITH_PENDING','offline','_clearCollaborationTimeoutTimer','_onCombEvent','ImageSourceType','BASE64','m2Prime','_initRequestHeader','SOCKET_FAILED','UNISCRIPT_RUN','EmptyMutationInfo','_retryConnectingTimer','IDLE','MSG_FOR_ERROR','changesets','session.room-not-exists','_tryReconnect','_clearRedo','UPDATE_CURSOR','_clearUndo','merge','UnitEmbedded','then','create','pad','65062KpAuTJ','LIVESHARE_REQUEST_HOST','getGlobalObject','ENTITLE_NEED_BILLING_ADDRESS','objectType','_type','members$','YUUMI_UNABLE_LOAD_URL','_onUserJoin','fromCharCode','UniverCollaborationClientPlugin','join','baseRev','INVALID_INVITE_CODE','_socket$','IAuthzIoService','_substituteRedoStack','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_commentUpdate$','x-univer-host','fetchMiss','sendChangesetTimeout','FileId','_getAPIPrefixPath','CHANGESET_REJ','JOIN','_httpService','unit-cache-','getAllMembers','file','unitId','CommentService','session.room-full','CollaborationSessionService','_transformRemoteChangesetByIMECache','format','/unit/','roles','\x20-\x20','_onUserLeave','objects','885441ApWQEV','onMissedChangesetFetched','[OfflineState]:\x20received\x20changeset.','FetchingMissState','_exhaustRemoteChangesetQueue','formatter','ReplaySubject','shareReplay','_isPermissionRej','socket$','charCodeAt','liveShareNewHost','RichTextEditingMutation','OpenSSL','session.room-permission-denied','ERROR_IMAGE_TYPE','awaiting','originalMeta','readInt32LE','YUUMI_AI_RUN_FAILED','_syncEditingCollabCursor','/object/','CLOSE_ROOM','interceptor','onSendChangeset','GLOBAL_ROOMS_CNT_EXCEEDS','synced','_localCacheService','hasher','_xformMode','_univerInstanceService','_createHelper','routeKey','concat','_mode','reconnect','_schedule','fetchThroughInterceptors','/fetchmissing?from=','close$','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','SHA1','_event$','CompressMutationService','collabWebSocketUrl','random','readAsDataURL','_onRemoteChangeset','_onOffline','SheetPermissionInitController','responseType','href','3822486BAVjGV','__Key__','submit\x20changeset\x20error!','_sheetTransformSelectionsService','ERROR_IMAGE','LocalUndoRedoService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialState','updateSnapshot','_socketService','subUnitId','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','toStringTag','_removeRoom','_logService','_socketMessageSubscription','toDisposable','LICENSE_EXPORT_SIZE_EXCEEDED','_startTelemetryCollaborationNewChangeset','objectActions','_telemetryService','sin','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_retryCount','CollaborationUIEventId','_prevBlock','clone','reduce','telemetry\x20info\x20is\x20not\x20initialized','_onConnectionFailed','Utf8','[SyncedState]:\x20received\x20acknowledgement.','_configService','_unlockTransition','has','SetSelectionsOperation','isArray','src','mutations','_onConflict','__creator','_DEC_XFORM_MODE','sigBytes','loadSheet','Optional','mode','__splitChunk__','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[DataLoaderService]','selections','commentUpdateEvent','infoRsp','saveSheetBlock','APPLY_PERMISSION_DENIED','list','not_collab','catch','@univerjs/docs','dispose','_changesetReqId','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ciphertext','PY_RUNTIME_SCRIPT_ERROR','LOCAL_CACHE_INTERVAL','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_injector','_executeRemoteChangeset','Injector','_localeService','shouldCloseConn','_state','SHOULD_CLOSE_CONN','saveChangeset','AwaitingState','PasswordBasedCipher','onRemoteChangeset','map','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','?url=','setCurrentUser','LICENSE_IMPORT_SIZE_EXCEEDED','_transformService','takeUntil','$super','JOINING','_updateLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','mapDocumentTypeToUniverType','_handler','SOCKET_FAILED_RETRY','ILogService','duration','override','createEncryptor','_sendHeartbeatTimer','loadDoc','_substituteUndoStack','_unitInfo$','SerializableCipher','unitInfo$','resend','crypto','reqId','loadUnitOfRevision','clamp','_remoteChangesetQueue','_commandService','_shouldReportTelemetry','CONNECTOR_DATA_TOO_LARGE','_createSocket','_startCollaboration','FETCH_MISSING','onMutationExecutedForCollab','/universer-api/uniscript','_getCtorByUniverType','OPTIONAL','_keyPriorReset','next','UNKNOWN_CMD','defineProperty','Subject','csAckEvent','onTransformState','/-/object/list','incrementRevOfUnit','fetchMissingChangesets','unitId\x20is\x20not\x20found','delay','HEARTBEAT_TIMEOUT','CollaborationController','downloadEndpointUrl','_getDownloadEndpointURL','PENDING','_handlerCallback','max','_incrementRevisionNumber','[CollaborationSessionService]:\x20socket\x20error','ENTITLE_USE_COUPON_NOT_1ST_TRADE','@univerjs/drawing','OFFLINE','onSyncEditingCollabCursor','_waitCount','textEncoder','_commentService','append','_toggleOffline','collaboration_new_changeset','[CollaborationState]:\x20apply\x20error!','INVITE_CODE_REQUIRED','_doCreateSocket','/rev/','JOIN_ROOM_FULL','_cipher','SUBMIT_CHANGESET_TIMEOUT','HttpImport','_undoRedoService','_permissionService','blockSize','WECHAT_HAS_BEEN_BOUND','_fetchMissChangesets','_replayCachedMutations','YUUMI_ALL_TABLES_IS_INVALID','result','getTypeOfUnitAdded$','reverse','ISocketService','YUUMI_CONNECTOR_URL_NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','USER_NOT_INVITED_CODE','_socket','_emitMembers','DependentOn','REDEMPTION_INVALID_CODE','_acknowledgedAwaitingChangeset','_transformStack','SnapshotService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_config','{fileID}','addImageSourceCache','UniverProLicense','image/png','DocCollaborationEntity','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','snapshot','getTypeOfUnitDisposed$','_process','onRemoteRetry','ISingleActiveUnitService','\x0aAfter:\x20','Hex','YUUMI_ASYNCIO_CANCELLED','byteOffset','allowed','DEFAULT_FILE_NAME','Undefined','LOCAL_CACHE_INTERVAL_KEY','SheetTransformSelectionsService','PSEUDO_FETCH_MISSING_RESULT','_lockTransition','UUID','getSnapshotAPIPath','getDeserializedSheetBlock','exports','BehaviorSubject','_entities','complete','MOBILE_VERIFY_CODE_MISMATCH','socket\x20close','lib','key','_networkConditionService','put','session.room-cnt-exceeds','withCredentials','MD5','_getUndoStack','_entityInit$','debug','addHandlerCallback','_transitionLocked','repeat','reset','_hasher','CipherParams','collaborators','EMAIL_HAS_BEEN_BOUND','getCollabEntity','name','_singleActiveUnitService','reject','ENTITLE_COUPON_EXPIRED','onTransformRemoteChangesetByIMECache','_replaceFileID','onlyLocal','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setConfig','fromCollab','LEAVE','_checkMissing','params','/object','execute','_joinRoom','PERSON','cfg','UNIVER_UNKNOWN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','APPLY_REJECT','awaiting_with_pending','IPermissionService','UNKNOWN_CODE','ALREADY_EXISTS','HEARTBEAT_INTERVAL','/collaborator','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','updatePermissionObjEvent','@univerjs/core','_timeoutTimer','setShowComponents','@univerjs-pro/license','session','update','ERROR_AGAIN','_oKey','HMAC','prototype','_clearRetryConnectingTimer','/universer-api/user/session-ticket','subscribe','_initUnitPermissionChange','/universer-api/snapshot/','initWorkbookPermissionChange','_undoStacks','People','onRemoteAck','words','encryptBlock','CHANGESET_SHOULD_RETRY','_doFinalize','_reverseMap','8672432oOYLgA','UNIVER_SHEET','COMPRESS_MUTATION_APPLY','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','textRanges','ws://127.0.0.1:8000/universer-api/comb/connect','code','csShouldRetryEvent','pipe','CHANGESET_REVISION_CONFILICT','finalize','toString','&to=','registerHTTPInterceptor','randomBytes','AUTHORIZE_CODE_ILLEGAL','EvpKDF','generateRandomId','UniverCollaborationPlugin','sequenceExecute','HTTPRequest','/new_changes','sid','Latin1','UNIVER_DOC','updateOfflineData','encode','CollaborationEvent','url','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_onFetchMissResult','operators','RxDisposable','rxjs/operators','_eventService','_change$','ITransformService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','APPLY_DUPLICATED','body','_transformRemoteChangesetByStateCache','COMPLETION_FINISHED','commentUpdate$','_collabSessionService','PendingState','Could\x20not\x20dynamically\x20require\x20\x22','WordArray','[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.','ICollaborationSocketService','symbol','_getLoginPath','getUnitOnRev','_stopTelemetryCollaborationNewChangeset','HttpExport','_getRedoStack','forEach','includes','_registerDependencies','MergeInterceptorFactory','\x20to\x20','AWAITING','_members','InsertSheetMutation','_status$','data','focused$','resolve','_tryEnsureSocket','UNAUTHENTICATED','REDEMPTION_CODE_FULLY_REDEEMED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','Univer','getInterceptPoints','ILocalCacheService','_submitChangeset','image/jpg','POST','copyFileMeta','_redoStacks','_createHmacHelper','YUUMI_RATE_OVER_LIMIT','JOIN_ROOM_PERMISSION_DENIED','unknown','deepClone','_getUploadFileURL','getFocusedUnit','INVALID_ARGUMENT','YUUMI_URL_COL_OUT_OF_RANGE','_scheduleCompleteTimestamp','_revisionService','Workbook','getLatestCsReqIdBySid','MentionIoHttpService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','event$','getSheetBlock','_hash','_candidateSocket','send','members','loadUnit','SnapshotServerOverHTTPService','_waitForHeartbeatResponse','JOIN_ROOM_FAILED','startsWith','newCsEvent','USER_NOT_FOUND','mixIn','SheetCollaborationEntity','splice','hasOwnProperty','enableAuthServer','_ENC_XFORM_MODE','add','getRandomValues','5327895zKmGmc','permissionRejEvent','Tools','/universer-api/stream/file/upload','[CollaborationSession]','awaitingChangeset','createSocket','?size=','Encryptor','encrypt','/universer-api/snapshot','getActiveSheet','USERS_LEAVE','Rectangle','replace','onStateChange','HTTPService','CHANGESET_ACK','Pkcs7','ISnapshotServerService','_nDataBytes','_onRecvEvent','removeMember','_onRemoteRejected','NEW_CHANGESETS','error$','/universer-api/file/{fileID}/sign-url','ONLINE','INVITE_CODE_ALREADY_BOUND','CollaborativeUndoRedoService','_getAPIPrefix','REDEMPTION_CODE_HAS_BEEN_CREATED','_resendTimeout','string','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_listenToNetworkCondition','RECV','_invKeySchedule','post','[PendingState]:\x20received\x20rejection.','LocaleService','getValue','stopTime','getCollabEntity$','mergeOverrideWithDependencies','INVITE_CODE_HAS_BEEN_UES','[CollaborationSessionService]','parseProtocolChangeset','_collaborationPaused','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_compressMutationService','_snapshotServerService','_resendWithTimeout','_clearTimeoutTimer','RevisionService','@univerjs/telemetry','getSheetId','PERMISSION_DENIED','toggleOffline','_onJoinRoomEvent','\x0aCurrent:\x20','getImage','PERMISSION_REJ','NOT_COLLAB','range','subject','FAIL','_key','FETCH_MISS','indexOf','startTime','UniverSheets','_clearHeartbeatTimer','_telemetryInfo','onLocalMutation','signUrlServerUrl','_onConnectionOpen','LICENSE_DISTRO_REJECTED','userID','_onLocalMutation','byteLength','_members$','EMAIL_VERIFY_CODE_MISMATCH','_onRemoteRetry','_rescheduleHeartbeat','enc','StreamCipher','joinEvent','&assign=','_doReset','INGEST','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','c1Prime','MOBILE_HAS_BEEN_BOUND','Inject','/universer-api/authz','_changesetSessionId','NoPadding','@univerjs/sheets','status$','unsubscribe','REDEMPTION_CODE_INACTIVE','/universer-api/comb','univer-pro.collaboration-client-socket-service','UniverProCollaboration','listCollaborators','getUnitId','entityInit$','_queuedRemoteChangesets','editingUnit','_updateState','/block/','enableOfflineEditing','function','7484596PGIXlp','[UniverCollaborationClientPlugin]','default','saveSnapshot','_sender','Base64','[FetchMissState]','CONFLICT','state','clear','action','USER_IS_ANONYMOUS','_getSignURL','LIVESHARE_FETCH_OPERATIONS','INTERNAL_ERROR','delete','appendMutation','_clearScheduledTask','rxjs','ceil','31629708bsvOLQ','asObservable','refreshPermission','salt','_transformUndoredo','_iv','unitID','AuthzIoHttpService','_getCurrentRevision','csRejEvent','amd','_sessionStatus$','_toggleOnline','IConfigService','extend','objectID','_sessions','image/jpeg','listRoles','closeSession','UNIVER_SLIDE','UNDEFINED','[OfflineState]:\x20received\x20acknowledgement.','uuidv4','_applyRemoteChangeset','/-/object/-/batch_allowed','findIndex','Decryptor','_parse','toggleOnline','univer-pro.collaboration-client.single-active-unit-service','UniverInstanceType','SNAPSHOT_URL_KEY','BlockCipher','getCurrentSelections','isInternalEditorID','SyncedState','ENSURE_SNAPSHOT_EXECUTION','LOGIN_TOKEN_PROCESSING_FAILED','LIVESHARE_OPERATION','kdf','transformChangesets','entries','auth.needGotoLoginAlert','UserProfileImg','_doCryptBlock','joinRsp','deleteCollaborator','UniverNetwork','[CollaborationUndoRedoService]','_decreaseWaiting','Hasher','set','pluginName','getRoom','collaboration-client.local-cache-service','requestParams','_onRemoteACK','_disableEditing','call','isTransformMutationsWithChangesetSuccess','status','actions','_awaitingChangeset','IMentionIOService','updateCollaborator','push','_initCloseConn','loadOfflineData','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_sendingTimer','leaveEvent','_collaborationUIEventService','NO_OTHER_CLIENTS_EDITING','ivSize','disableLocalCache','getConfig','_socketReady','cmd','HEARTBEAT_TIMEOUT_KEY','_data','take','_throwTelemetryCollaborationNewChangeset','HEARTBEAT','collaboration-client.config','WorkbookEditablePermission','_imageSourceCache','LOGIN_FAILED','every','onTransformSelections','authzUrl','_roomCreated$','onTransformIME','algo','save\x20fail\x20reason\x20is\x20','dispose$','_append','getMemberID','_sendHeartbeat','_initDependencies','getCurrentUser','eventID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','Failed\x20to\x20update\x20permission\x20point','iterations','touchDependencies','online$','[CollaborationEntity]','onCommentUpdate','_onMessage','decrypt','createInstance','keySize','UNIVER_COLLABORATION_CLIENT_PLUGIN','find','sessionStatus','_snapshotService','isTransformMutationsWithChangesetFailure','processBlock','session.join-failed','_init','PAYMENT_CHANNEL_NOT_SUPPORT','ImageUploadStatusType','_createHandler','UserManagerService','abs','_roomMembers','BufferedBlockAlgorithm','_updateStatus','Base','updateCursorEvent','compute','headers','length','getUnitType','stringify','message$','IImageIoService','SUBMIT_CHANGESET','CollaborationSession','_clearLocalCache','isPermissionRej'];_0x3692=function(){return _0x58f79a;};return _0x3692();}(function(_0x5bec5f,_0x48c642){var _0x45d02d=_0x58ee,_0x2a8da4=_0x5bec5f();while(!![]){try{var _0x5323d0=parseInt(_0x45d02d(0x431))/0x1*(parseInt(_0x45d02d(0x471))/0x2)+-parseInt(_0x45d02d(0x49a))/0x3*(parseInt(_0x45d02d(0x457))/0x4)+-parseInt(_0x45d02d(0x2b9))/0x5+parseInt(_0x45d02d(0x4ce))/0x6+-parseInt(_0x45d02d(0x32b))/0x7+-parseInt(_0x45d02d(0x245))/0x8+parseInt(_0x45d02d(0x33f))/0x9;if(_0x5323d0===_0x48c642)break;else _0x2a8da4['push'](_0x2a8da4['shift']());}catch(_0x9521d5){_0x2a8da4['push'](_0x2a8da4['shift']());}}}(_0x3692,0x9b0ed),function(_0x448a4c,_0x427c09){var _0x2dce0d=_0x58ee;typeof exports=='object'&&typeof module<'u'?_0x427c09(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==_0x2dce0d(0x32a)&&define[_0x2dce0d(0x349)]?define([_0x2dce0d(0x1f7),_0x2dce0d(0x40b),_0x2dce0d(0x22d),_0x2dce0d(0x507),_0x2dce0d(0x31b),_0x2dce0d(0x33d),_0x2dce0d(0x2f0),_0x2dce0d(0x266),_0x2dce0d(0x3d0),_0x2dce0d(0x558),_0x2dce0d(0x230)],_0x427c09):(_0x448a4c=typeof globalThis<'u'?globalThis:_0x448a4c||self,_0x427c09(_0x448a4c['UniverProCollaborationClient']={},_0x448a4c[_0x2dce0d(0x321)],_0x448a4c[_0x2dce0d(0x40e)],_0x448a4c['UniverDocs'],_0x448a4c[_0x2dce0d(0x300)],_0x448a4c[_0x2dce0d(0x33d)],_0x448a4c['UniverTelemetry'],_0x448a4c[_0x2dce0d(0x33d)][_0x2dce0d(0x264)],_0x448a4c[_0x2dce0d(0x36f)],_0x448a4c['UniverDrawing'],_0x448a4c[_0x2dce0d(0x1e0)]));}(this,function(_0x1065a7,_0x3ab606,_0x5bafa4,_0x460538,_0x1c5262,_0x1a688c,_0x7d7753,_0xd6074,_0x24f178,_0x301beb,_0x6c7987){'use strict';var _0x3d1808=_0x58ee;var _0x1a1637=Object[_0x3d1808(0x545)],_0x1cd46d=(_0x2d8093,_0x68039f,_0x1282d2)=>_0x68039f in _0x2d8093?_0x1a1637(_0x2d8093,_0x68039f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1282d2}):_0x2d8093[_0x68039f]=_0x1282d2,_0x3fc7c7=(_0x1b1b92,_0xfbc833,_0xec63b5)=>_0x1cd46d(_0x1b1b92,typeof _0xfbc833!=_0x3d1808(0x276)?_0xfbc833+'':_0xfbc833,_0xec63b5);const _0x37e926=_0x3d1808(0x2c3),_0x268f01=_0x3d1808(0x35f),_0x38d231=_0x3d1808(0x24a),_0x480f18=_0x3d1808(0x238),_0x38c58d=_0x3d1808(0x229),_0x3d06ad=_0x3d1808(0x54e),_0x589908=_0x3d1808(0x44b),_0x36ba43=_0x3d1808(0x50d),_0x339a5b=_0x3d1808(0x31f),_0x35a1a3='/universer-api/oidc/authpage',_0x183c7f=_0x3d1808(0x217),_0x287679=_0x3d1808(0x53f);var _0x44514f=(_0x105845=>(_0x105845[_0x105845['UNDEFINED']=0x0]=_0x3d1808(0x354),_0x105845[_0x105845['OK']=0x1]='OK',_0x105845[_0x105845[_0x3d1808(0x339)]=0x2]=_0x3d1808(0x339),_0x105845[_0x105845['PERMISSION_DENIED']=0x3]=_0x3d1808(0x2f2),_0x105845[_0x105845['NOT_FOUND']=0x4]=_0x3d1808(0x3ec),_0x105845[_0x105845[_0x3d1808(0x289)]=0x5]='UNAUTHENTICATED',_0x105845[_0x105845[_0x3d1808(0x228)]=0x6]=_0x3d1808(0x228),_0x105845[_0x105845[_0x3d1808(0x29c)]=0x7]='INVALID_ARGUMENT',_0x105845[_0x105845['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x105845[_0x105845[_0x3d1808(0x26e)]=0x9]=_0x3d1808(0x26e),_0x105845[_0x105845[_0x3d1808(0x396)]=0xa]=_0x3d1808(0x396),_0x105845[_0x105845[_0x3d1808(0x1fb)]=0xb]=_0x3d1808(0x1fb),_0x105845[_0x105845[_0x3d1808(0x3a5)]=0xc]=_0x3d1808(0x3a5),_0x105845[_0x105845[_0x3d1808(0x30b)]=0xd]=_0x3d1808(0x30b),_0x105845[_0x105845[_0x3d1808(0x2db)]=0xe]=_0x3d1808(0x2db),_0x105845[_0x105845[_0x3d1808(0x254)]=0xf]=_0x3d1808(0x254),_0x105845[_0x105845[_0x3d1808(0x365)]=0x10]=_0x3d1808(0x365),_0x105845[_0x105845[_0x3d1808(0x406)]=0x64]=_0x3d1808(0x406),_0x105845[_0x105845[_0x3d1808(0x233)]=0x65]=_0x3d1808(0x233),_0x105845[_0x105845[_0x3d1808(0x2b0)]=0xc9]=_0x3d1808(0x2b0),_0x105845[_0x105845[_0x3d1808(0x336)]=0xca]=_0x3d1808(0x336),_0x105845[_0x105845[_0x3d1808(0x24e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x105845[_0x105845[_0x3d1808(0x451)]=0x1771]=_0x3d1808(0x451),_0x105845[_0x105845[_0x3d1808(0x453)]=0x1772]=_0x3d1808(0x453),_0x105845[_0x105845[_0x3d1808(0x364)]=0x1773]=_0x3d1808(0x364),_0x105845[_0x105845[_0x3d1808(0x224)]=0x1b59]=_0x3d1808(0x224),_0x105845[_0x105845[_0x3d1808(0x1d3)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x105845[_0x105845['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x105845[_0x105845['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3d1808(0x503),_0x105845[_0x105845[_0x3d1808(0x26b)]=0x1b5d]=_0x3d1808(0x26b),_0x105845[_0x105845[_0x3d1808(0x53a)]=0x1f41]=_0x3d1808(0x53a),_0x105845[_0x105845[_0x3d1808(0x3d4)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x105845[_0x105845[_0x3d1808(0x314)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x105845[_0x105845[_0x3d1808(0x51e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x105845[_0x105845[_0x3d1808(0x4df)]=0x232c]=_0x3d1808(0x4df),_0x105845[_0x105845[_0x3d1808(0x306)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x105845[_0x105845[_0x3d1808(0x478)]=0x2711]=_0x3d1808(0x478),_0x105845[_0x105845[_0x3d1808(0x29d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x105845[_0x105845[_0x3d1808(0x296)]=0x2713]=_0x3d1808(0x296),_0x105845[_0x105845[_0x3d1808(0x524)]=0x2714]=_0x3d1808(0x524),_0x105845[_0x105845[_0x3d1808(0x418)]=0x271a]=_0x3d1808(0x418),_0x105845[_0x105845[_0x3d1808(0x1eb)]=0x271b]=_0x3d1808(0x1eb),_0x105845[_0x105845[_0x3d1808(0x1dc)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x105845[_0x105845[_0x3d1808(0x56f)]=0x271d]=_0x3d1808(0x56f),_0x105845[_0x105845[_0x3d1808(0x223)]=0x271e]=_0x3d1808(0x223),_0x105845[_0x105845['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3d1808(0x4ad),_0x105845[_0x105845[_0x3d1808(0x1d2)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x105845[_0x105845['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3d1808(0x50c),_0x105845[_0x105845[_0x3d1808(0x2e6)]=0x2ee1]=_0x3d1808(0x2e6),_0x105845[_0x105845[_0x3d1808(0x47e)]=0x2ee2]='INVALID_INVITE_CODE',_0x105845[_0x105845[_0x3d1808(0x562)]=0x2ee3]=_0x3d1808(0x562),_0x105845[_0x105845['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3d1808(0x1d4),_0x105845[_0x105845[_0x3d1808(0x2d5)]=0x2ee5]=_0x3d1808(0x2d5),_0x105845[_0x105845['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3d1808(0x56c),_0x105845[_0x105845[_0x3d1808(0x316)]=0x32ca]=_0x3d1808(0x316),_0x105845[_0x105845['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3d1808(0x20e),_0x105845[_0x105845[_0x3d1808(0x482)]=0x36b1]=_0x3d1808(0x482),_0x105845[_0x105845[_0x3d1808(0x4c2)]=0x36b2]=_0x3d1808(0x4c2),_0x105845[_0x105845['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x105845[_0x105845[_0x3d1808(0x3b9)]=0x36b4]=_0x3d1808(0x3b9),_0x105845[_0x105845['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x105845[_0x105845[_0x3d1808(0x213)]=0x36b6]=_0x3d1808(0x213),_0x105845[_0x105845[_0x3d1808(0x422)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x105845[_0x105845[_0x3d1808(0x557)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x105845[_0x105845[_0x3d1808(0x3f1)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x105845[_0x105845['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x3d1808(0x3dd),_0x105845[_0x105845['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x105845[_0x105845[_0x3d1808(0x474)]=0x37dd]=_0x3d1808(0x474),_0x105845[_0x105845[_0x3d1808(0x1d8)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x105845[_0x105845['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3d1808(0x31e),_0x105845[_0x105845[_0x3d1808(0x28a)]=0x3a9b]=_0x3d1808(0x28a),_0x105845[_0x105845[_0x3d1808(0x3d7)]=0x3a9c]=_0x3d1808(0x3d7),_0x105845[_0x105845[_0x3d1808(0x438)]=0x3a9d]=_0x3d1808(0x438),_0x105845[_0x105845['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x3d1808(0x3a6),_0x105845[_0x105845[_0x3d1808(0x2d8)]=0x3a9f]=_0x3d1808(0x2d8),_0x105845[_0x105845[_0x3d1808(0x41d)]=0x3e81]=_0x3d1808(0x41d),_0x105845[_0x105845[_0x3d1808(0x3f3)]=-0x1]='UNRECOGNIZED',_0x105845))(_0x44514f||{}),_0x32e542=(_0x81e17e=>(_0x81e17e[_0x81e17e[_0x3d1808(0x222)]=0x0]=_0x3d1808(0x222),_0x81e17e[_0x81e17e[_0x3d1808(0x25d)]=0x1]=_0x3d1808(0x25d),_0x81e17e[_0x81e17e[_0x3d1808(0x246)]=0x2]='UNIVER_SHEET',_0x81e17e[_0x81e17e[_0x3d1808(0x353)]=0x3]=_0x3d1808(0x353),_0x81e17e[_0x81e17e[_0x3d1808(0x41c)]=0x4]=_0x3d1808(0x41c),_0x81e17e[_0x81e17e[_0x3d1808(0x3f3)]=-0x1]=_0x3d1808(0x3f3),_0x81e17e))(_0x32e542||{}),_0x46dd39=(_0x418ef6=>(_0x418ef6[_0x418ef6['UNKNOWN_CMD']=0x0]=_0x3d1808(0x544),_0x418ef6[_0x418ef6['HELLO']=0x1]='HELLO',_0x418ef6[_0x418ef6[_0x3d1808(0x48a)]=0x2]='JOIN',_0x418ef6[_0x418ef6['LEAVE']=0x3]=_0x3d1808(0x21a),_0x418ef6[_0x418ef6[_0x3d1808(0x313)]=0x4]=_0x3d1808(0x313),_0x418ef6[_0x418ef6[_0x3d1808(0x392)]=0x5]='HEARTBEAT',_0x418ef6[_0x418ef6['RECV']=0x6]=_0x3d1808(0x2dd),_0x418ef6[_0x418ef6[_0x3d1808(0x3f3)]=-0x1]='UNRECOGNIZED',_0x418ef6))(_0x46dd39||{}),_0x25b6a7=(_0x19ba74=>(_0x19ba74[_0x19ba74['UNKNOWN_CODE']=0x0]=_0x3d1808(0x227),_0x19ba74[_0x19ba74['OK']=0x1]='OK',_0x19ba74[_0x19ba74[_0x3d1808(0x2fb)]=0x2]='FAIL',_0x19ba74[_0x19ba74[_0x3d1808(0x565)]=0x3e9]=_0x3d1808(0x565),_0x19ba74[_0x19ba74[_0x3d1808(0x403)]=0x3ea]=_0x3d1808(0x403),_0x19ba74[_0x19ba74[_0x3d1808(0x297)]=0x3eb]=_0x3d1808(0x297),_0x19ba74[_0x19ba74[_0x3d1808(0x4b3)]=0x3ec]=_0x3d1808(0x4b3),_0x19ba74[_0x19ba74[_0x3d1808(0x3f3)]=-0x1]=_0x3d1808(0x3f3),_0x19ba74))(_0x25b6a7||{}),_0x3fac12=(_0x9bc9bb=>(_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x1ef)]=0x0]=_0x3d1808(0x1ef),_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x568)]=0x1]=_0x3d1808(0x568),_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x27a)]=0x2]=_0x3d1808(0x27a),_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x46d)]=0x3]='UnitEmbedded',_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x3ce)]=0x4]='UnitSnapshot',_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x36b)]=0x5]=_0x3d1808(0x36b),_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x3d3)]=0x6]=_0x3d1808(0x3d3),_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x3f3)]=-0x1]=_0x3d1808(0x3f3),_0x9bc9bb))(_0x3fac12||{});const _0xf9a9b0=_0x3d1808(0x560);function _0x41beff(_0x465c21){return JSON['stringify'](_0x465c21)['length'];}var _0x38090c=(_0x4c9ecf=>(_0x4c9ecf['OTHER_CLIENT_EDITING']=_0x3d1808(0x3e8),_0x4c9ecf[_0x3d1808(0x2f2)]=_0x3d1808(0x2f2),_0x4c9ecf['CONFLICT']=_0x3d1808(0x332),_0x4c9ecf['CLOSE_ROOM']=_0x3d1808(0x4b0),_0x4c9ecf[_0x3d1808(0x2ad)]='JOIN_ROOM_FAILED',_0x4c9ecf[_0x3d1808(0x527)]=_0x3d1808(0x527),_0x4c9ecf[_0x3d1808(0x460)]=_0x3d1808(0x460),_0x4c9ecf[_0x3d1808(0x567)]=_0x3d1808(0x567),_0x4c9ecf))(_0x38090c||{});class _0x10cfe4{constructor(){var _0x377f4e=_0x3d1808;_0x3fc7c7(this,_0x377f4e(0x4c4),new _0x1a688c[(_0x377f4e(0x546))]()),_0x3fc7c7(this,_0x377f4e(0x2a4),this['_event$']['asObservable']());}[_0x3d1808(0x3e2)](_0x318def){var _0x590928=_0x3d1808;this[_0x590928(0x4c4)][_0x590928(0x543)](_0x318def);}}class _0x178a41{constructor(){var _0x4fee2c=_0x3d1808;_0x3fc7c7(this,'_commentUpdate$',new _0x1a688c['Subject']()),_0x3fc7c7(this,_0x4fee2c(0x26f),this['_commentUpdate$'][_0x4fee2c(0x340)]());}[_0x3d1808(0x3ac)](_0x361430){var _0x5daa96=_0x3d1808;this[_0x5daa96(0x483)][_0x5daa96(0x543)](_0x361430);}}var _0x19caa8=Object['getOwnPropertyDescriptor'],_0x43c114=(_0x418a98,_0x43de15,_0x5801fa,_0x380d1d)=>{for(var _0x680825=_0x380d1d>0x1?void 0x0:_0x380d1d?_0x19caa8(_0x43de15,_0x5801fa):_0x43de15,_0x2a00f7=_0x418a98['length']-0x1,_0x5c2ad5;_0x2a00f7>=0x0;_0x2a00f7--)(_0x5c2ad5=_0x418a98[_0x2a00f7])&&(_0x680825=_0x5c2ad5(_0x680825)||_0x680825);return _0x680825;},_0x24dea7=(_0x426bc5,_0x37efc9)=>(_0x1734b4,_0x4560e0)=>_0x37efc9(_0x1734b4,_0x4560e0,_0x426bc5);_0x1065a7[_0x3d1808(0x41b)]=class extends _0x5bafa4[_0x3d1808(0x40c)]{constructor(_0x471cad,_0x46f01e){var _0x301019=_0x3d1808;super(),_0x3fc7c7(this,'_roomMembers',new Map()),_0x3fc7c7(this,_0x301019(0x39a),new _0x1a688c[(_0x301019(0x546))]()),(this[_0x301019(0x4b8)]=_0x471cad,this['_userManagerService']=_0x46f01e,this[_0x301019(0x44e)](_0x1a688c['merge'](this[_0x301019(0x4b8)][_0x301019(0x1e5)](_0x5bafa4['UniverInstanceType'][_0x301019(0x246)])[_0x301019(0x24d)](_0xd6074[_0x301019(0x51a)](_0x2c7baf=>_0x2c7baf['getUnitId']())),this[_0x301019(0x4b8)][_0x301019(0x1e5)](_0x5bafa4[_0x301019(0x35e)][_0x301019(0x25d)])[_0x301019(0x24d)](_0xd6074[_0x301019(0x51a)](_0x173ca9=>_0x173ca9['getUnitId']())),this[_0x301019(0x4b8)][_0x301019(0x1e5)](_0x5bafa4[_0x301019(0x35e)][_0x301019(0x353)])[_0x301019(0x24d)](_0xd6074[_0x301019(0x51a)](_0x549a19=>_0x549a19[_0x301019(0x323)]())))['subscribe'](_0x43d89c=>this[_0x301019(0x4db)](_0x43d89c))));}['waitForRoom$'](_0x49c210){var _0x602efc=_0x3d1808;return this[_0x602efc(0x3be)][_0x602efc(0x4f0)](_0x49c210)?_0x1a688c['of'](this[_0x602efc(0x3be)]['get'](_0x49c210)):this[_0x602efc(0x39a)][_0x602efc(0x24d)](_0xd6074[_0x602efc(0x51a)](_0xada1a2=>{var _0x4a6b4a=_0x602efc;if(_0xada1a2===_0x49c210)return this[_0x4a6b4a(0x3be)]['get'](_0xada1a2);}));}[_0x3d1808(0x51d)](_0x43d587){var _0x591950=_0x3d1808;this['_userManagerService'][_0x591950(0x51d)](_0x43d587);}['getCurrentUser'](){var _0x5ee8f8=_0x3d1808;return this[_0x5ee8f8(0x43c)]['getCurrentUser']();}[_0x3d1808(0x3f9)](_0xdc6375,_0x1d5803){var _0x3bda8e=_0x3d1808;let _0x558f08=this['_roomMembers'][_0x3bda8e(0x3f0)](_0xdc6375);_0x558f08||(_0x558f08=new _0x49b15c(),this[_0x3bda8e(0x3be)][_0x3bda8e(0x373)](_0xdc6375,_0x558f08),this[_0x3bda8e(0x39a)]['next'](_0xdc6375)),_0x558f08['updateMember'](_0x1d5803);}[_0x3d1808(0x2cf)](_0x3939b0,_0x4dd3a7){var _0x35f57b=_0x3d1808;const _0x5784a7=this[_0x35f57b(0x3be)][_0x35f57b(0x3f0)](_0x3939b0);_0x5784a7&&_0x5784a7['removeMember'](_0x4dd3a7);}[_0x3d1808(0x375)](_0x1ec379){var _0x1ca0cf=_0x3d1808;return this[_0x1ca0cf(0x3be)][_0x1ca0cf(0x3f0)](_0x1ec379);}[_0x3d1808(0x404)](_0x479f98,_0x556835){var _0x35d1a1=_0x3d1808;const _0x5e90c5=this['_roomMembers'][_0x35d1a1(0x3f0)](_0x479f98);if(_0x5e90c5)return _0x5e90c5[_0x35d1a1(0x404)](_0x556835);}[_0x3d1808(0x4db)](_0x5560e1){var _0x57fae3=_0x3d1808;const _0x530285=this[_0x57fae3(0x3be)][_0x57fae3(0x3f0)](_0x5560e1);_0x530285&&(_0x530285['dispose'](),this[_0x57fae3(0x3be)][_0x57fae3(0x33a)](_0x5560e1));}['dispose'](){var _0x35a675=_0x3d1808;this[_0x35a675(0x3be)]['forEach'](_0x1c5354=>_0x1c5354[_0x35a675(0x508)]()),this[_0x35a675(0x3be)]['clear'](),this[_0x35a675(0x39a)]['complete']();}},_0x1065a7['MemberService']=_0x43c114([_0x24dea7(0x0,_0x5bafa4[_0x3d1808(0x443)]),_0x24dea7(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x3bc)]))],_0x1065a7['MemberService']);class _0x49b15c extends _0x5bafa4[_0x3d1808(0x40c)]{constructor(){var _0x56544e=_0x3d1808;super(...arguments),_0x3fc7c7(this,'_members',new Map()),_0x3fc7c7(this,'_members$',new _0x1a688c[(_0x56544e(0x1f8))](this['_members'])),_0x3fc7c7(this,_0x56544e(0x477),this[_0x56544e(0x30a)][_0x56544e(0x340)]());}[_0x3d1808(0x508)](){var _0x24fc68=_0x3d1808;this['_members'][_0x24fc68(0x334)]();}[_0x3d1808(0x3f9)](_0x2c80a4){var _0x479801=_0x3d1808;this['_members'][_0x479801(0x373)](_0x2c80a4[_0x479801(0x3e9)],_0x2c80a4),this[_0x479801(0x1d6)]();}[_0x3d1808(0x2cf)](_0x3b9e39){var _0xc21ef1=_0x3d1808;this['_members'][_0xc21ef1(0x33a)](_0x3b9e39);}[_0x3d1808(0x404)](_0x4d7fcb){var _0x2258e1=_0x3d1808;return this[_0x2258e1(0x282)]['get'](_0x4d7fcb);}[_0x3d1808(0x48d)](){var _0x2cf6dd=_0x3d1808;return Array[_0x2cf6dd(0x3d1)](this[_0x2cf6dd(0x282)][_0x2cf6dd(0x3fe)]());}[_0x3d1808(0x1d6)](){var _0x4e0f29=_0x3d1808;this[_0x4e0f29(0x30a)]['next'](this[_0x4e0f29(0x282)]);}}var _0x3e5910=Object[_0x3d1808(0x3cf)],_0x17fa29=(_0x5acc78,_0xb1f751,_0x222482,_0x223fdc)=>{for(var _0x34f0af=_0x223fdc>0x1?void 0x0:_0x223fdc?_0x3e5910(_0xb1f751,_0x222482):_0xb1f751,_0x457ce7=_0x5acc78['length']-0x1,_0x408c94;_0x457ce7>=0x0;_0x457ce7--)(_0x408c94=_0x5acc78[_0x457ce7])&&(_0x34f0af=_0x408c94(_0x34f0af)||_0x34f0af);return _0x34f0af;},_0x59de70=(_0x2b61b9,_0x21d2aa)=>(_0x4d57e6,_0x5296c6)=>_0x21d2aa(_0x4d57e6,_0x5296c6,_0x2b61b9),_0x4b7463=(_0x39956e=>(_0x39956e[_0x39956e[_0x3d1808(0x464)]=0x0]=_0x3d1808(0x464),_0x39956e[_0x39956e[_0x3d1808(0x522)]=0x1]=_0x3d1808(0x522),_0x39956e[_0x39956e[_0x3d1808(0x559)]=0x2]=_0x3d1808(0x559),_0x39956e[_0x39956e[_0x3d1808(0x2d4)]=0x3]=_0x3d1808(0x2d4),_0x39956e))(_0x4b7463||{});const _0x33f4b2={[_0x25b6a7[_0x3d1808(0x2fb)]]:_0x3d1808(0x3b7),[_0x25b6a7[_0x3d1808(0x565)]]:_0x3d1808(0x491),[_0x25b6a7[_0x3d1808(0x403)]]:_0x3d1808(0x467),[_0x25b6a7[_0x3d1808(0x297)]]:_0x3d1808(0x4a8),[_0x25b6a7[_0x3d1808(0x4b3)]]:_0x3d1808(0x201)};_0x1065a7[_0x3d1808(0x3cb)]=class extends _0x5bafa4[_0x3d1808(0x265)]{constructor(_0x16ffb8,_0x287e64,_0x12775f,_0xae7d76,_0x53c8c3,_0x55885b,_0x5a77c6,_0x139850){var _0x547f6f=_0x3d1808;super(),_0x3fc7c7(this,_0x547f6f(0x34a),new _0x1a688c[(_0x547f6f(0x1f8))](0x0)),_0x3fc7c7(this,'sessionStatus$',this[_0x547f6f(0x34a)][_0x547f6f(0x340)]()),_0x3fc7c7(this,_0x547f6f(0x4c4),new _0x1a688c[(_0x547f6f(0x546))]()),_0x3fc7c7(this,_0x547f6f(0x2a4),this[_0x547f6f(0x4c4)][_0x547f6f(0x340)]()),_0x3fc7c7(this,'_socket'),_0x3fc7c7(this,_0x547f6f(0x4dd)),_0x3fc7c7(this,_0x547f6f(0x428)),_0x3fc7c7(this,_0x547f6f(0x539),!0x1),_0x3fc7c7(this,_0x547f6f(0x302),null),(this[_0x547f6f(0x3e6)]=_0x16ffb8,this[_0x547f6f(0x4dc)]=_0x12775f,this[_0x547f6f(0x4ee)]=_0xae7d76,this[_0x547f6f(0x3e7)]=_0x53c8c3,this[_0x547f6f(0x55d)]=_0x55885b,this[_0x547f6f(0x387)]=_0x5a77c6,this[_0x547f6f(0x4e2)]=_0x139850,this[_0x547f6f(0x539)]=!!this[_0x547f6f(0x4e2)],_0x287e64[_0x547f6f(0x24d)](_0x1a688c['takeUntil'](this['dispose$']))['subscribe'](_0x497893=>{var _0x1c3b60=_0x547f6f,_0x23c953;typeof _0x497893>'u'||(this[_0x1c3b60(0x1d5)]=_0x497893,_0x497893?(this[_0x1c3b60(0x21f)](_0x497893),this['_socketMessageSubscription']=_0x497893[_0x1c3b60(0x3c8)][_0x1c3b60(0x239)](_0x2550af=>{var _0x372a45=_0x1c3b60;_0x2550af[_0x372a45(0x4ba)]===this[_0x372a45(0x3e6)]&&this[_0x372a45(0x45b)](_0x2550af);})):(this[_0x1c3b60(0x391)](),this['_sessionStatus$'][_0x1c3b60(0x543)](0x2),(_0x23c953=this[_0x1c3b60(0x4dd)])==null||_0x23c953[_0x1c3b60(0x31d)](),this[_0x1c3b60(0x4dd)]=null));}));}get[_0x3d1808(0x3b3)](){var _0x5d604c=_0x3d1808;return this[_0x5d604c(0x34a)][_0x5d604c(0x2e2)]();}[_0x3d1808(0x3a0)](){var _0x396748=_0x3d1808,_0x4d1080,_0x494cbe;return(_0x494cbe=(_0x4d1080=this[_0x396748(0x1d5)])==null?void 0x0:_0x4d1080[_0x396748(0x3e9)])!=null?_0x494cbe:null;}[_0x3d1808(0x508)](){var _0x31656d=_0x3d1808;super['dispose'](),this[_0x31656d(0x39e)][_0x31656d(0x543)](),this[_0x31656d(0x39e)][_0x31656d(0x1fa)]();}[_0x3d1808(0x41a)](){var _0x48af3e=_0x3d1808,_0x4ce2ef,_0x43c7bf;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4ce2ef=this[_0x48af3e(0x1d5)])==null||_0x4ce2ef[_0x48af3e(0x2a8)]({'cmd':_0x46dd39['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x43c7bf=this[_0x48af3e(0x1d5)])==null||_0x43c7bf[_0x48af3e(0x41a)](),this[_0x48af3e(0x4c4)][_0x48af3e(0x1fa)](),this[_0x48af3e(0x34a)][_0x48af3e(0x1fa)](),this['dispose']();}[_0x3d1808(0x45b)](_0x25e338){var _0x27febc=_0x3d1808;_0x25e338['cmd']===_0x46dd39[_0x27febc(0x48a)]?this[_0x27febc(0x2f4)](_0x25e338):_0x25e338[_0x27febc(0x38d)]===_0x46dd39[_0x27febc(0x2dd)]&&this[_0x27febc(0x2ce)](_0x25e338);}[_0x3d1808(0x21f)](_0xe0532d){var _0x5b8492=_0x3d1808;this[_0x5b8492(0x34a)][_0x5b8492(0x543)](0x1),_0xe0532d['send']({'cmd':_0x46dd39[_0x5b8492(0x48a)],'routeKey':this[_0x5b8492(0x3e6)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5b8492(0x3e6)]}]}});}[_0x3d1808(0x2f4)](_0xf553e4){var _0x39bcbd=_0x3d1808,_0x867854;if(_0xf553e4[_0x39bcbd(0x24b)]in _0x33f4b2){this[_0x39bcbd(0x387)][_0x39bcbd(0x3e2)]({'id':_0x38090c[_0x39bcbd(0x2ad)],'data':_0x33f4b2[_0xf553e4[_0x39bcbd(0x24b)]]}),this[_0x39bcbd(0x34a)][_0x39bcbd(0x543)](0x2);return;}this[_0x39bcbd(0x34a)][_0x39bcbd(0x543)](0x3);const _0x362aac=(_0x867854=_0xf553e4[_0x39bcbd(0x285)]['roomInfos'][this[_0x39bcbd(0x3e6)]])==null?void 0x0:_0x867854[_0x39bcbd(0x2a9)];_0x362aac&&_0x362aac[_0x39bcbd(0x27c)](_0xb051a8=>this[_0x39bcbd(0x3e7)]['updateMember'](this[_0x39bcbd(0x3e6)],_0xb051a8));}[_0x3d1808(0x2ce)](_0x156a86){var _0x2b94c9=_0x3d1808;try{const _0x4269da=_0x156a86[_0x2b94c9(0x285)];switch(_0x4269da[_0x2b94c9(0x3a4)]){case _0x3ab606[_0x2b94c9(0x260)][_0x2b94c9(0x400)]:this[_0x2b94c9(0x479)](_0x4269da),this[_0x2b94c9(0x4c4)]['next'](_0x4269da);break;case _0x3ab606[_0x2b94c9(0x260)]['USERS_LEAVE']:this[_0x2b94c9(0x498)](_0x4269da),this[_0x2b94c9(0x4c4)]['next'](_0x4269da);break;case _0x3ab606[_0x2b94c9(0x260)][_0x2b94c9(0x2ca)]:case _0x3ab606[_0x2b94c9(0x260)][_0x2b94c9(0x242)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2b94c9(0x45a)](),this['_event$'][_0x2b94c9(0x543)](_0x4269da);break;case _0x3ab606[_0x2b94c9(0x260)][_0x2b94c9(0x465)]:this[_0x2b94c9(0x4dc)]['error'](_0x2b94c9(0x39d)+JSON['stringify'](_0x4269da)),this[_0x2b94c9(0x4c4)][_0x2b94c9(0x543)](_0x4269da);break;case _0x3ab606[_0x2b94c9(0x260)][_0x2b94c9(0x415)]:this[_0x2b94c9(0x55d)][_0x2b94c9(0x3ac)](_0x4269da[_0x2b94c9(0x285)]),this[_0x2b94c9(0x4c4)][_0x2b94c9(0x543)](_0x4269da);break;default:this[_0x2b94c9(0x4c4)][_0x2b94c9(0x543)](_0x4269da);}}catch(_0x1a1838){this[_0x2b94c9(0x4dc)][_0x2b94c9(0x3f5)](_0x1a1838,_0x156a86);}}['_onUserJoin'](_0xfe83e1){var _0x40716b=_0x3d1808;this['_memberService']['updateMember'](this[_0x40716b(0x3e6)],_0xfe83e1[_0x40716b(0x285)]);}[_0x3d1808(0x498)](_0x55a20f){var _0x5bb9f3=_0x3d1808;this[_0x5bb9f3(0x3e7)][_0x5bb9f3(0x2cf)](this[_0x5bb9f3(0x3e6)],_0x55a20f[_0x5bb9f3(0x285)]['memberID']);}async[_0x3d1808(0x2a8)](_0x16763,_0x5b8d9a){var _0x2a1a61=_0x3d1808;if(this[_0x2a1a61(0x3b3)]!==0x3||!this[_0x2a1a61(0x1d5)])throw new Error(_0x2a1a61(0x28b));try{_0x16763[_0x2a1a61(0x3a4)]===_0x3ab606['CollaborationEvent'][_0x2a1a61(0x3ca)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2a1a61(0x4e0)](_0x16763)),this[_0x2a1a61(0x1d5)]['send']({'cmd':_0x46dd39['INGEST'],'routeKey':_0x5b8d9a,'routeType':'','data':_0x16763});}catch(_0x4a0d9d){this[_0x2a1a61(0x4dc)][_0x2a1a61(0x3f5)](_0x4a0d9d);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5cc105=_0x3d1808,_0x4351b3;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x5dcb52=_0x58ee;this[_0x5dcb52(0x428)]=null,this[_0x5dcb52(0x387)][_0x5dcb52(0x3e2)]({'id':_0x38090c[_0x5dcb52(0x567)]});},(_0x4351b3=this[_0x5cc105(0x4ee)][_0x5cc105(0x38b)](_0x3d06ad))!=null?_0x4351b3:0x4e20);}[_0x3d1808(0x45a)](){var _0x26843e=_0x3d1808;this[_0x26843e(0x428)]&&(clearTimeout(this[_0x26843e(0x428)]),this[_0x26843e(0x428)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x192ba7){var _0x5f0b73=_0x3d1808;if(!this[_0x5f0b73(0x539)])return;const {data:_0x4f99ba}=_0x192ba7,{unitID:_0x2d13b2,changeset:_0x51faea}=_0x4f99ba,{mutations:_0x49e18c,type:_0x474a1a}=_0x51faea;this[_0x5f0b73(0x302)]={'unitId':_0x2d13b2,'type':_0x474a1a,'startTime':performance[_0x5f0b73(0x424)](),'stopTime':0x0,'duration':0x0,'size':_0x41beff(_0x49e18c)};}[_0x3d1808(0x279)](){var _0x279cfd=_0x3d1808;if(this[_0x279cfd(0x539)]){if(!this['_telemetryInfo']){this[_0x279cfd(0x4dc)][_0x279cfd(0x3f5)](_0x279cfd(0x2bd),_0x279cfd(0x4ea));return;}this[_0x279cfd(0x302)]['stopTime']=performance['now'](),this[_0x279cfd(0x302)][_0x279cfd(0x529)]=this[_0x279cfd(0x302)][_0x279cfd(0x2e3)]-this[_0x279cfd(0x302)][_0x279cfd(0x2ff)],this[_0x279cfd(0x4e2)]['capture'](_0xf9a9b0,this['_telemetryInfo']),this[_0x279cfd(0x302)]=null;}}[_0x3d1808(0x391)](){var _0x28f5d2=_0x3d1808;this[_0x28f5d2(0x302)]=null;}},_0x1065a7[_0x3d1808(0x3cb)]=_0x17fa29([_0x59de70(0x2,_0x5bafa4[_0x3d1808(0x528)]),_0x59de70(0x3,_0x5bafa4[_0x3d1808(0x34c)]),_0x59de70(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x1065a7[_0x3d1808(0x41b)])),_0x59de70(0x5,_0x5bafa4[_0x3d1808(0x317)](_0x178a41)),_0x59de70(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x10cfe4)),_0x59de70(0x7,_0x5bafa4[_0x3d1808(0x4fa)](_0x7d7753['ITelemetryService']))],_0x1065a7[_0x3d1808(0x3cb)]);const _0xd8e545=_0x5bafa4[_0x3d1808(0x433)](_0x3d1808(0x376));function _0x2d48c6(_0x78f954){var _0x419a35=_0x3d1808;return _0x419a35(0x48c)+_0x78f954;}var _0x111d94=Object['getOwnPropertyDescriptor'],_0x500906=(_0x30e63e,_0x40f67b,_0x624ece,_0x44cd65)=>{for(var _0x980fb7=_0x44cd65>0x1?void 0x0:_0x44cd65?_0x111d94(_0x40f67b,_0x624ece):_0x40f67b,_0x45244a=_0x30e63e['length']-0x1,_0x1bd589;_0x45244a>=0x0;_0x45244a--)(_0x1bd589=_0x30e63e[_0x45244a])&&(_0x980fb7=_0x1bd589(_0x980fb7)||_0x980fb7);return _0x980fb7;},_0x2009dd=(_0x34f9ed,_0x46ed96)=>(_0x343cbb,_0x38b2eb)=>_0x46ed96(_0x343cbb,_0x38b2eb,_0x34f9ed);function _0x395ea7(_0x37ed0e){var _0x418e54=_0x3d1808;const {unitID:_0x128212,mutations:_0x4c8654}=_0x37ed0e;return{'unitId':_0x128212,'subUnitId':_0x4c8654[_0x418e54(0x3c5)]>0x0?_0x4c8654[0x0]['params'][_0x418e54(0x4d8)]:null};}_0x1065a7[_0x3d1808(0x1f1)]=class{constructor(_0xc8322c,_0x5b383e,_0x5dbc65){var _0x858967=_0x3d1808;this[_0x858967(0x50f)]=_0xc8322c,this[_0x858967(0x51f)]=_0x5b383e,this['_instanceService']=_0x5dbc65;}[_0x3d1808(0x44d)](_0x2fdc6b){var _0x56425c=_0x3d1808,_0x7ecc84,_0x37ece1,_0x2e6db5,_0x483138;const _0x5cdd5f=this[_0x56425c(0x50f)][_0x56425c(0x3f0)](_0x1c5262[_0x56425c(0x448)]),{unitId:_0x4ac392,subUnitId:_0x4a711e}=_0x395ea7(_0x2fdc6b),_0x5ee0b6=_0x5cdd5f==null?void 0x0:_0x5cdd5f['getWorkbookSelections'](_0x4ac392)[_0x56425c(0x361)](),_0x4d4ba1=(_0x37ece1=(_0x7ecc84=this['_instanceService']['getUnit'](_0x4ac392))==null?void 0x0:_0x7ecc84[_0x56425c(0x2c4)]())==null?void 0x0:_0x37ece1[_0x56425c(0x2f1)]();if(_0x5ee0b6[_0x56425c(0x3c5)]===0x0||!_0x4ac392||!_0x4a711e)return;const _0x2a5bb9=[{'id':_0x1c5262[_0x56425c(0x4f1)]['id'],'params':{'unitId':_0x4ac392,'subUnitId':_0x4d4ba1,'selections':_0x5bafa4[_0x56425c(0x2bb)][_0x56425c(0x299)](_0x5ee0b6)}}],_0x562447=this[_0x56425c(0x51f)][_0x56425c(0x441)](_0x2fdc6b,_0x2a5bb9);if(!_0x3ab606[_0x56425c(0x37b)](_0x562447))throw _0x562447['error'];const _0x5785a9=(_0x483138=(_0x2e6db5=_0x562447['m2Prime'][0x0])==null?void 0x0:_0x2e6db5['params'])==null?void 0x0:_0x483138['selections'];if(Array[_0x56425c(0x4f2)](_0x5785a9)&&_0x5785a9[_0x56425c(0x3c5)]){if(_0x5785a9[_0x56425c(0x3c5)]===_0x2a5bb9[0x0][_0x56425c(0x21c)][_0x56425c(0x4ff)][_0x56425c(0x3c5)]&&_0x5785a9[_0x56425c(0x397)]((_0x508a77,_0x2c032f)=>_0x5bafa4[_0x56425c(0x2c6)][_0x56425c(0x42b)](_0x508a77[_0x56425c(0x2f9)],_0x2a5bb9[0x0][_0x56425c(0x21c)][_0x56425c(0x4ff)][_0x2c032f][_0x56425c(0x2f9)])))return;this[_0x56425c(0x50f)][_0x56425c(0x3f0)](_0x5bafa4[_0x56425c(0x3fc)])['executeCommand'](_0x1c5262['SetSelectionsOperation']['id'],{'unitId':_0x4ac392,'subUnitId':_0x4d4ba1,'selections':_0x5785a9});}}},_0x1065a7['SheetTransformSelectionsService']=_0x500906([_0x2009dd(0x0,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4['Injector'])),_0x2009dd(0x1,_0x3ab606[_0x3d1808(0x269)]),_0x2009dd(0x2,_0x5bafa4[_0x3d1808(0x443)])],_0x1065a7[_0x3d1808(0x1f1)]);const _0x175519=_0x5bafa4[_0x3d1808(0x433)](_0x3d1808(0x35d));var _0x166ac9=(_0x5f2920=>(_0x5f2920[_0x5f2920[_0x3d1808(0x388)]=0x0]=_0x3d1808(0x388),_0x5f2920[_0x5f2920[_0x3d1808(0x3df)]=0x1]=_0x3d1808(0x3df),_0x5f2920))(_0x166ac9||{});const _0x755dce=_0x3d1808(0x393),_0x38b249={};function _0x59b023(_0x233c54){var _0x4c9b47=_0x3d1808,_0x955910;return!!((_0x955910=_0x233c54[_0x4c9b47(0x21c)])!=null&&_0x955910[_0x4c9b47(0x4fc)]);}const _0x2e5f24=new Set([_0x1c5262[_0x3d1808(0x283)]['id']]);function _0x3cb94a(_0x4ab861,_0x348618,_0xda847a,_0x40adaa,_0x42be28){var _0x3cda63=_0x3d1808,_0x180e0e,_0x22b677,_0x892ce0,_0x1858ba;const _0x489664=[];for(const _0x22b0e1 of _0x4ab861){if(_0x2e5f24['has'](_0x22b0e1['id'])){if(_0x489664['length']>0x0)break;_0x489664['push'](_0x22b0e1);break;}if(_0x59b023(_0x22b0e1)){if(_0x489664['length']>0x0)break;_0x489664[_0x3cda63(0x381)](_0x22b0e1);break;}_0x489664[_0x3cda63(0x381)](_0x22b0e1);}const _0x25a193=(_0x22b677=(_0x180e0e=_0x42be28['getCurrentUser']())==null?void 0x0:_0x180e0e[_0x3cda63(0x307)])!=null?_0x22b677:'unknown',_0x3449d7=(_0x1858ba=(_0x892ce0=_0x42be28['getCurrentUser']())==null?void 0x0:_0x892ce0[_0x3cda63(0x3e9)])!=null?_0x1858ba:_0x3cda63(0x298);return{'changeset':{'unitID':_0x348618,'type':_0x3ab606[_0x3cda63(0x525)](_0xda847a[_0x3cda63(0x3c6)](_0x348618)),'baseRev':_0x40adaa[_0x3cda63(0x417)](_0x348618),'revision':0x0,'userID':_0x25a193,'memberID':_0x3449d7,'mutations':_0x489664},'pendingMutations':_0x4ab861[_0x3cda63(0x3f8)](_0x489664[_0x3cda63(0x3c5)])};}function _0x2ade53(_0x590e7e,_0x3aef97,_0x4a6a1f,_0x1aa7b7,_0x4b2653){var _0x26b803=_0x3d1808,_0x282600,_0x2b1bb2,_0x1603a2,_0x368468;const _0x22ad2f=[_0x590e7e['reduce']((_0x3e1ece,_0x2966da)=>{var _0x4a0e99=_0x58ee,_0x2ef0ea;const {id:_0x4b21bb}=_0x3e1ece,{id:_0x5dacab,type:_0x5f2f28}=_0x2966da,_0x38c747=(_0x2ef0ea=_0x3e1ece[_0x4a0e99(0x21c)])!=null?_0x2ef0ea:{'actions':null},_0x3d811c=_0x2966da[_0x4a0e99(0x21c)];if(_0x4b21bb&&_0x4b21bb!==_0x5dacab)throw new Error(_0x4a0e99(0x248)+_0x4b21bb+_0x4a0e99(0x497)+_0x5dacab+'.');return{..._0x3e1ece,'id':_0x5dacab,'type':_0x5f2f28,'params':{'unitId':_0x3d811c[_0x4a0e99(0x48f)],'textRanges':_0x3d811c['textRanges'],'actions':_0x5bafa4['JSONX']['compose'](_0x38c747['actions'],_0x3d811c[_0x4a0e99(0x37d)])}};},{})],_0x4f92b0=(_0x2b1bb2=(_0x282600=_0x4b2653[_0x26b803(0x3a3)]())==null?void 0x0:_0x282600[_0x26b803(0x307)])!=null?_0x2b1bb2:_0x26b803(0x298),_0x24db61=(_0x368468=(_0x1603a2=_0x4b2653[_0x26b803(0x3a3)]())==null?void 0x0:_0x1603a2['memberID'])!=null?_0x368468:_0x26b803(0x298);return{'changeset':{'unitID':_0x3aef97,'type':_0x3ab606['mapDocumentTypeToUniverType'](_0x4a6a1f[_0x26b803(0x3c6)](_0x3aef97)),'baseRev':_0x1aa7b7[_0x26b803(0x417)](_0x3aef97),'revision':0x0,'userID':_0x4f92b0,'memberID':_0x24db61,'mutations':_0x22ad2f},'pendingMutations':[]};}function _0x16a698(_0x16cee3,_0x414733){var _0x10b4f2=_0x3d1808;const _0x74427b=new _0x1a688c[(_0x10b4f2(0x4a0))](0x1);return setTimeout(()=>_0x74427b[_0x10b4f2(0x543)](_0x414733),_0x16cee3),_0x74427b[_0x10b4f2(0x340)]()[_0x10b4f2(0x24d)](_0x1a688c[_0x10b4f2(0x390)](0x1));}var _0x12cfd6=Object[_0x3d1808(0x3cf)],_0x456781=(_0x7a948,_0x2108e7,_0x4e52bf,_0x3f268b)=>{var _0x52a746=_0x3d1808;for(var _0x3a0588=_0x3f268b>0x1?void 0x0:_0x3f268b?_0x12cfd6(_0x2108e7,_0x4e52bf):_0x2108e7,_0x3a2c8d=_0x7a948[_0x52a746(0x3c5)]-0x1,_0x121460;_0x3a2c8d>=0x0;_0x3a2c8d--)(_0x121460=_0x7a948[_0x3a2c8d])&&(_0x3a0588=_0x121460(_0x3a0588)||_0x3a0588);return _0x3a0588;},_0xa6ca36=(_0x3e80bd,_0x341004)=>(_0x206dd5,_0x3f5884)=>_0x341004(_0x206dd5,_0x3f5884,_0x3e80bd),_0x293214=(_0x210552=>(_0x210552[_0x3d1808(0x2f8)]=_0x3d1808(0x505),_0x210552['SYNCED']=_0x3d1808(0x4b4),_0x210552[_0x3d1808(0x552)]=_0x3d1808(0x411),_0x210552[_0x3d1808(0x281)]='awaiting',_0x210552[_0x3d1808(0x458)]=_0x3d1808(0x225),_0x210552[_0x3d1808(0x2fd)]=_0x3d1808(0x408),_0x210552['CONFLICT']=_0x3d1808(0x445),_0x210552[_0x3d1808(0x559)]=_0x3d1808(0x459),_0x210552))(_0x293214||{});const _0x12c628=0xea60;class _0x312db3{constructor(_0x245ca1,_0x763950,_0x47192f,_0x5a2236,_0x4adad2,_0x551de4,_0x12f11c,_0x5e31ff,_0x41157a){var _0x294c5a=_0x3d1808;_0x3fc7c7(this,'_awaitingChangeset',null),_0x3fc7c7(this,_0x294c5a(0x3ff),[]),(this[_0x294c5a(0x345)]=_0x245ca1,this[_0x294c5a(0x436)]=_0x763950,this[_0x294c5a(0x526)]=_0x4adad2,this['_commandService']=_0x551de4,this['_undoRedoService']=_0x12f11c,this['_revisionService']=_0x5e31ff,this[_0x294c5a(0x4b5)]=_0x41157a,this[_0x294c5a(0x37e)]=_0x47192f,this[_0x294c5a(0x3ff)]=_0x5a2236);}[_0x3d1808(0x21b)](_0x3c5a9c){var _0x52540c=_0x3d1808;const _0x398723=this[_0x52540c(0x29f)][_0x52540c(0x417)](this[_0x52540c(0x345)]);return _0x3c5a9c['revision']>_0x398723+0x1?(this[_0x52540c(0x526)]['onMissingChangesets']({'from':_0x398723,'to':_0x3c5a9c[_0x52540c(0x42d)]-0x1}),!0x0):!0x1;}[_0x3d1808(0x343)](_0x10e3ea){var _0x55de7a=_0x3d1808;this[_0x55de7a(0x569)][_0x55de7a(0x426)](this[_0x55de7a(0x345)],_0x10e3ea);}['_transformSelections'](_0xa42b79){var _0x2f289e=_0x3d1808,_0x15423,_0x4de9b8;(_0x4de9b8=(_0x15423=this[_0x2f289e(0x526)])[_0x2f289e(0x398)])==null||_0x4de9b8[_0x2f289e(0x37a)](_0x15423,_0xa42b79);}['_transformIMECache'](_0x3abc99){var _0x254df0=_0x3d1808,_0x312366,_0x10c74c;return(_0x10c74c=(_0x312366=this['_handler'])[_0x254df0(0x39b)])==null?void 0x0:_0x10c74c[_0x254df0(0x37a)](_0x312366,_0x3abc99);}[_0x3d1808(0x43b)](_0x441e01){var _0x1261f1=_0x3d1808,_0x18346c,_0x243005;return(_0x243005=(_0x18346c=this[_0x1261f1(0x526)])[_0x1261f1(0x548)])==null?void 0x0:_0x243005['call'](_0x18346c,_0x441e01);}[_0x3d1808(0x493)](_0x415620){var _0x247aaa=_0x3d1808,_0x134aed,_0x404b4e,_0x4360e6;return(_0x4360e6=(_0x404b4e=(_0x134aed=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x404b4e[_0x247aaa(0x37a)](_0x134aed,_0x415620))!=null?_0x4360e6:_0x415620;}[_0x3d1808(0x26d)](_0x3d6b4c){var _0x25052c=_0x3d1808,_0x16d3a5,_0x50be0a,_0xe9414c;return(_0xe9414c=(_0x50be0a=(_0x16d3a5=this['_handler'])[_0x25052c(0x3ef)])==null?void 0x0:_0x50be0a[_0x25052c(0x37a)](_0x16d3a5,_0x3d6b4c))!=null?_0xe9414c:_0x3d6b4c;}[_0x3d1808(0x4ae)](_0x3e95a0){var _0x30e655=_0x3d1808,_0x61f7e5,_0x56a89d;if(this['type']===_0x32e542[_0x30e655(0x25d)]){const {unitID:_0x48766e,mutations:_0x660b67,memberID:_0x34167a}=_0x3e95a0,_0x46429d=_0x660b67[_0x30e655(0x3c5)]>0x0?_0x660b67[0x0]['params'][_0x30e655(0x249)]:[];Array[_0x30e655(0x4f2)](_0x46429d)&&_0x46429d[_0x30e655(0x3c5)]>0x0&&((_0x56a89d=(_0x61f7e5=this['_handler'])[_0x30e655(0x55a)])==null||_0x56a89d['call'](_0x61f7e5,{'unitID':_0x48766e,'memberID':_0x34167a,'textRanges':_0x46429d}));}}[_0x3d1808(0x523)](){var _0x543cc4=_0x3d1808,_0xbf0321;(_0xbf0321=this[_0x543cc4(0x4b5)])==null||_0xbf0321[_0x543cc4(0x25e)](this[_0x543cc4(0x345)],this['type'],this[_0x543cc4(0x37e)],this[_0x543cc4(0x3ff)]);}[_0x3d1808(0x347)](){var _0x26dca0=_0x3d1808;return this[_0x26dca0(0x29f)][_0x26dca0(0x417)](this['unitID']);}[_0x3d1808(0x555)](){var _0x51b379=_0x3d1808;this[_0x51b379(0x29f)][_0x51b379(0x54a)](this[_0x51b379(0x345)]);}['_executeRemoteChangeset'](_0x31a721){var _0xbef9f4=_0x3d1808,_0x27600e;let _0x262f02=this[_0xbef9f4(0x493)](_0x31a721);_0x262f02=this['_transformRemoteChangesetByStateCache'](_0x262f02);const _0x579b25=_0x5bafa4[_0xbef9f4(0x258)](_0x262f02[_0xbef9f4(0x4f4)],this[_0xbef9f4(0x538)],{'fromCollab':!0x0});if(!_0x579b25['result'])throw _0x579b25[_0xbef9f4(0x3f5)]instanceof Error?_0x579b25[_0xbef9f4(0x3f5)]:new Error((_0x27600e=_0x579b25['error'])!=null?_0x27600e:_0xbef9f4(0x561));this['_transformIMECache'](_0x262f02),this[_0xbef9f4(0x43b)](_0x262f02),this[_0xbef9f4(0x343)](_0x31a721),this['_transformSelections'](_0x262f02),this['_syncEditingCollabCursor'](_0x262f02),this['_incrementRevisionNumber']();}}_0x1065a7[_0x3d1808(0x363)]=class extends _0x312db3{constructor(_0x345bad,_0x2061eb,_0x4e82dd,_0x1386d1,_0xfc5471,_0x2edb93,_0x1e59a6,_0x3cc1c8,_0x1b4fa4,_0x115390){var _0x291da1=_0x3d1808;super(_0x345bad,_0x2061eb,null,[],_0x4e82dd,_0x1e59a6,_0x2edb93,_0x1386d1,_0x115390),_0x3fc7c7(this,_0x291da1(0x37c),_0x291da1(0x4b4)),(this[_0x291da1(0x50f)]=_0xfc5471,this[_0x291da1(0x4dc)]=_0x3cc1c8,this[_0x291da1(0x51f)]=_0x1b4fa4,this[_0x291da1(0x3d9)]=_0x115390);}[_0x3d1808(0x33b)](_0xf4deab){var _0x17bb45=_0x3d1808;const _0x308134=this[_0x17bb45(0x50f)]['createInstance'](_0x1065a7[_0x17bb45(0x271)],this[_0x17bb45(0x345)],this[_0x17bb45(0x436)],[_0xf4deab],this[_0x17bb45(0x526)]);return _0x308134['_schedule'](),_0x308134[_0x17bb45(0x523)](),_0x308134;}[_0x3d1808(0x519)](_0x8bce81){var _0x1d624c=_0x3d1808;if(this[_0x1d624c(0x21b)](_0x8bce81))return this['_injector']['createInstance'](_0x1065a7[_0x1d624c(0x49d)],this[_0x1d624c(0x345)],this['type'],null,[],null,[_0x8bce81],this[_0x1d624c(0x526)]);try{const _0x2a1003=this[_0x1d624c(0x51f)][_0x1d624c(0x441)](_0x8bce81,[_0x3ab606[_0x1d624c(0x462)]]);if(_0x3ab606['isTransformMutationsWithChangesetSuccess'](_0x2a1003)){const {c1Prime:_0x3730db}=_0x2a1003;return this[_0x1d624c(0x510)](_0x3730db),this;}throw _0x2a1003['error'];}catch(_0xea505a){return this[_0x1d624c(0x4dc)][_0x1d624c(0x3f5)](_0xea505a),this[_0x1d624c(0x4f5)](!0x1);}}[_0x3d1808(0x4f5)](_0x5b7727){var _0x23cbc0=_0x3d1808;return this[_0x23cbc0(0x50f)][_0x23cbc0(0x3af)](_0x1065a7['ConflictState'],this['unitID'],this[_0x23cbc0(0x436)],null,[],this[_0x23cbc0(0x526)],_0x5b7727);}[_0x3d1808(0x23f)](){var _0x13e18f=_0x3d1808;throw new Error(_0x13e18f(0x4ed));}[_0x3d1808(0x414)](){var _0x135133=_0x3d1808;throw new Error(_0x135133(0x3ea));}['onRemoteRetry'](){return this;}[_0x3d1808(0x2f3)](){var _0x38d59a=_0x3d1808;return this[_0x38d59a(0x50f)][_0x38d59a(0x3af)](_0x1065a7['OfflineState'],this[_0x38d59a(0x345)],this['type'],null,[],this['_handler']);}[_0x3d1808(0x35c)](){return this;}['resend'](){var _0x451615=_0x3d1808;throw new Error(_0x451615(0x3ee));}['fetchMiss'](){var _0x1e9d1f=_0x3d1808;const _0x51104a=this[_0x1e9d1f(0x29f)][_0x1e9d1f(0x417)](this['unitID']);return this[_0x1e9d1f(0x526)]['onMissingChangesets']({'from':_0x51104a,'to':0x0}),this[_0x1e9d1f(0x50f)][_0x1e9d1f(0x3af)](_0x1065a7[_0x1e9d1f(0x49d)],this[_0x1e9d1f(0x345)],this[_0x1e9d1f(0x436)],null,[],null,[],this[_0x1e9d1f(0x526)]);}},_0x1065a7[_0x3d1808(0x363)]=_0x456781([_0xa6ca36(0x3,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0xa6ca36(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x5,_0x5bafa4['IUndoRedoService']),_0xa6ca36(0x6,_0x5bafa4[_0x3d1808(0x3fc)]),_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x528)]),_0xa6ca36(0x8,_0x3ab606['ITransformService']),_0xa6ca36(0x9,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7['SyncedState']),_0x1065a7['PendingState']=class extends _0x312db3{constructor(_0x42dbf1,_0x4eeb55,_0x16bdff,_0x4c5e2c,_0x3a7ee6,_0x35c6b6,_0x2e68d4,_0x4b2b8d,_0x1846f1,_0x1e62cc,_0x5cac2b,_0x54752a,_0x500244,_0x2a7238){var _0x59e87c=_0x3d1808;super(_0x42dbf1,_0x4eeb55,null,_0x16bdff,_0x4c5e2c,_0x1846f1,_0x500244,_0x35c6b6,_0x2a7238),_0x3fc7c7(this,_0x59e87c(0x37c),_0x59e87c(0x411)),_0x3fc7c7(this,_0x59e87c(0x29e),null),_0x3fc7c7(this,_0x59e87c(0x385),null),(this[_0x59e87c(0x50f)]=_0x3a7ee6,this[_0x59e87c(0x3e7)]=_0x2e68d4,this['_logService']=_0x4b2b8d,this['_configService']=_0x1e62cc,this['_transformService']=_0x5cac2b,this[_0x59e87c(0x4b8)]=_0x54752a);}[_0x3d1808(0x33b)](_0x581c9d){var _0x15e2c9=_0x3d1808;return this['_pendingMutations']['push'](_0x581c9d),this[_0x15e2c9(0x523)](),this;}['onRemoteChangeset'](_0x73cc2f){var _0x2d160c=_0x3d1808;if(this[_0x2d160c(0x21b)](_0x73cc2f))return this['_clearScheduledTask'](),this['_injector'][_0x2d160c(0x3af)](_0x1065a7[_0x2d160c(0x49d)],this[_0x2d160c(0x345)],this[_0x2d160c(0x436)],null,this[_0x2d160c(0x3ff)],null,[_0x73cc2f],this[_0x2d160c(0x526)]);try{const _0x1ccabb=this[_0x2d160c(0x51f)][_0x2d160c(0x441)](_0x73cc2f,this[_0x2d160c(0x3ff)]);if(_0x3ab606[_0x2d160c(0x37b)](_0x1ccabb)){const {c1Prime:_0x4a84dd,m2Prime:_0x4f037e}=_0x1ccabb;this[_0x2d160c(0x510)](_0x4a84dd);const _0x44f30c=this['_injector'][_0x2d160c(0x3af)](_0x1065a7['PendingState'],this[_0x2d160c(0x345)],this[_0x2d160c(0x436)],_0x4f037e,this[_0x2d160c(0x526)]);this['_clearScheduledTask']();const _0x4ba5e4=new Date()[_0x2d160c(0x3fd)](),_0x27bb7e=this[_0x2d160c(0x29e)]?Math[_0x2d160c(0x554)](this[_0x2d160c(0x29e)]-_0x4ba5e4,0x0):this[_0x2d160c(0x427)]();return _0x44f30c[_0x2d160c(0x4be)](_0x27bb7e),_0x44f30c;}throw _0x1ccabb[_0x2d160c(0x3f5)];}catch(_0x36303c){return this['_logService'][_0x2d160c(0x3f5)](_0x36303c),this['_onConflict'](!0x1);}}[_0x3d1808(0x23f)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3d1808(0x414)](){var _0x39ba98=_0x3d1808;throw new Error(_0x39ba98(0x2e0));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x4cd8d7=_0x3d1808;return this[_0x4cd8d7(0x33c)](),this[_0x4cd8d7(0x50f)][_0x4cd8d7(0x3af)](_0x1065a7[_0x4cd8d7(0x423)],this[_0x4cd8d7(0x345)],this[_0x4cd8d7(0x436)],null,this['_pendingMutations'],this[_0x4cd8d7(0x526)]);}[_0x3d1808(0x35c)](){return this;}[_0x3d1808(0x4be)](_0x543fdd){var _0xb2c738=_0x3d1808;const _0x4d9fab=_0x543fdd!=null?_0x543fdd:this[_0xb2c738(0x427)]();this[_0xb2c738(0x29e)]=new Date()[_0xb2c738(0x3fd)]()+_0x4d9fab,this[_0xb2c738(0x385)]=setTimeout(()=>{var _0x3c07f3=_0xb2c738;this[_0x3c07f3(0x33c)]();let _0x2368fe=null;switch(this['type']){case _0x32e542['UNIVER_SHEET']:{_0x2368fe=_0x3cb94a(this[_0x3c07f3(0x3ff)],this[_0x3c07f3(0x345)],this[_0x3c07f3(0x4b8)],this[_0x3c07f3(0x29f)],this[_0x3c07f3(0x3e7)]);break;}case _0x32e542[_0x3c07f3(0x25d)]:{this['_pendingMutations'][_0x3c07f3(0x397)](_0x4480cd=>_0x4480cd['id']===_0x460538[_0x3c07f3(0x4a6)]['id'])?_0x2368fe=_0x2ade53(this[_0x3c07f3(0x3ff)],this['unitID'],this[_0x3c07f3(0x4b8)],this[_0x3c07f3(0x29f)],this['_memberService']):_0x2368fe=_0x3cb94a(this[_0x3c07f3(0x3ff)],this['unitID'],this['_univerInstanceService'],this[_0x3c07f3(0x29f)],this[_0x3c07f3(0x3e7)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3c07f3(0x436)]+_0x3c07f3(0x3f2));}const {changeset:_0x46f530,pendingMutations:_0x8e9810}=_0x2368fe;this[_0x3c07f3(0x526)][_0x3c07f3(0x4b2)](_0x46f530);const _0x255880=_0x8e9810[_0x3c07f3(0x3c5)]?this[_0x3c07f3(0x50f)][_0x3c07f3(0x3af)](_0x1065a7[_0x3c07f3(0x446)],this[_0x3c07f3(0x345)],this[_0x3c07f3(0x436)],_0x46f530,_0x8e9810,this['_handler'],void 0x0):this[_0x3c07f3(0x50f)][_0x3c07f3(0x3af)](_0x1065a7[_0x3c07f3(0x517)],this[_0x3c07f3(0x345)],this['type'],_0x46f530,this[_0x3c07f3(0x526)]);_0x255880[_0x3c07f3(0x523)](),this[_0x3c07f3(0x526)][_0x3c07f3(0x2c8)](this,_0x255880);},_0x4d9fab);}[_0x3d1808(0x427)](){var _0xdbe69=_0x3d1808,_0x476a08;const _0x22ac46=this[_0xdbe69(0x4ee)][_0xdbe69(0x38b)](_0x755dce);return(_0x476a08=_0x22ac46==null?void 0x0:_0x22ac46[_0xdbe69(0x486)])!=null?_0x476a08:0x7d0;}[_0x3d1808(0x532)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0xcf3a37=_0x3d1808;this[_0xcf3a37(0x385)]!=null&&(clearTimeout(this[_0xcf3a37(0x385)]),this[_0xcf3a37(0x385)]=null);}[_0x3d1808(0x4f5)](_0x341ae0){var _0x3089e9=_0x3d1808;return this['_clearScheduledTask'](),this[_0x3089e9(0x50f)][_0x3089e9(0x3af)](_0x1065a7[_0x3089e9(0x44f)],this[_0x3089e9(0x345)],this[_0x3089e9(0x436)],null,this[_0x3089e9(0x3ff)],this[_0x3089e9(0x526)],_0x341ae0);}},_0x1065a7[_0x3d1808(0x271)]=_0x456781([_0xa6ca36(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x5,_0x5bafa4['Inject'](_0x3ab606['RevisionService'])),_0xa6ca36(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x1065a7[_0x3d1808(0x41b)])),_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x528)]),_0xa6ca36(0x8,_0x5bafa4[_0x3d1808(0x3fc)]),_0xa6ca36(0x9,_0x5bafa4[_0x3d1808(0x34c)]),_0xa6ca36(0xa,_0x3ab606['ITransformService']),_0xa6ca36(0xb,_0x5bafa4[_0x3d1808(0x443)]),_0xa6ca36(0xc,_0x5bafa4[_0x3d1808(0x407)]),_0xa6ca36(0xd,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7[_0x3d1808(0x271)]),_0x1065a7[_0x3d1808(0x517)]=class extends _0x312db3{constructor(_0x305bba,_0x3c4585,_0x3698ee,_0x59d60d,_0x2d1161,_0x5476f3,_0x42f8f4,_0x4c0d4d,_0x490d8e,_0x871e87,_0x584e38){var _0x1dfb21=_0x3d1808;super(_0x305bba,_0x3c4585,_0x3698ee,[],_0x59d60d,_0x42f8f4,_0x871e87,_0x5476f3,_0x584e38),_0x3fc7c7(this,_0x1dfb21(0x37c),_0x1dfb21(0x4aa)),_0x3fc7c7(this,_0x1dfb21(0x2d9),0x0),_0x3fc7c7(this,_0x1dfb21(0x442)),_0x3fc7c7(this,_0x1dfb21(0x32f)),(this['_injector']=_0x2d1161,this['_logService']=_0x4c0d4d,this[_0x1dfb21(0x51f)]=_0x490d8e);}[_0x3d1808(0x33b)](_0x17dfd9){var _0x50c58e=_0x3d1808;this[_0x50c58e(0x33c)]();const _0x201273=this['_injector'][_0x50c58e(0x3af)](_0x1065a7[_0x50c58e(0x446)],this['unitID'],this[_0x50c58e(0x436)],this[_0x50c58e(0x37e)],[_0x17dfd9],this[_0x50c58e(0x526)],this[_0x50c58e(0x442)]);return _0x201273[_0x50c58e(0x523)](),_0x201273;}[_0x3d1808(0x519)](_0x38685c){var _0x13ab13=_0x3d1808;if(this[_0x13ab13(0x21b)](_0x38685c))return this[_0x13ab13(0x33c)](),this[_0x13ab13(0x50f)][_0x13ab13(0x3af)](_0x1065a7[_0x13ab13(0x49d)],this[_0x13ab13(0x345)],this[_0x13ab13(0x436)],this[_0x13ab13(0x37e)],[],null,[_0x38685c],this['_handler']);try{const _0x3caff9=this['_transformService'][_0x13ab13(0x368)]([_0x38685c],[this[_0x13ab13(0x37e)]],!0x1);if(_0x3ab606['isTransformChangesetsSuccess'](_0x3caff9)){const {c1Prime:_0x33733c,c2Prime:_0x3ce5c6}=_0x3caff9;this[_0x13ab13(0x510)](_0x33733c[0x0]),_0x3ce5c6[0x0][_0x13ab13(0x47d)]=this['_getCurrentRevision'](),this[_0x13ab13(0x33c)]();const _0x543000=this[_0x13ab13(0x50f)][_0x13ab13(0x3af)](_0x1065a7[_0x13ab13(0x517)],this[_0x13ab13(0x345)],this['type'],_0x3ce5c6[0x0],this[_0x13ab13(0x526)]);return _0x543000[_0x13ab13(0x523)](),_0x543000;}return this[_0x13ab13(0x4f5)](!0x1);}catch(_0x17c453){return this[_0x13ab13(0x4dc)][_0x13ab13(0x3f5)](_0x17c453),this[_0x13ab13(0x4f5)](!0x1);}}[_0x3d1808(0x23f)](_0x18a2fc){var _0x2a10d3=_0x3d1808;this[_0x2a10d3(0x33c)]();const _0x1bf420=this[_0x2a10d3(0x29f)][_0x2a10d3(0x417)](this['unitID']);if(_0x18a2fc[_0x2a10d3(0x42d)]<_0x1bf420-0x1)return this;if(this['_checkMissing'](_0x18a2fc))return this[_0x2a10d3(0x50f)][_0x2a10d3(0x3af)](_0x1065a7['FetchingMissState'],this[_0x2a10d3(0x345)],this['type'],null,[],this[_0x2a10d3(0x37e)],[],this[_0x2a10d3(0x526)]);this[_0x2a10d3(0x555)]();const _0x3d6144=this['_injector'][_0x2a10d3(0x3af)](_0x1065a7['SyncedState'],this[_0x2a10d3(0x345)],this[_0x2a10d3(0x436)],this[_0x2a10d3(0x526)]);return _0x3d6144[_0x2a10d3(0x523)](),_0x3d6144;}[_0x3d1808(0x414)](_0x5316b5){var _0x2095dc=_0x3d1808;return this[_0x2095dc(0x4f5)](!!(_0x5316b5!=null&&_0x5316b5[_0x2095dc(0x3cd)]));}[_0x3d1808(0x1e7)](_0x358b98){var _0x18873f=_0x3d1808;return this[_0x18873f(0x2d9)]>_0x12c628?this[_0x18873f(0x2f3)]():(this[_0x18873f(0x442)]=_0x16a698(this[_0x18873f(0x2d9)],{'timeout':this[_0x18873f(0x2d9)],'reqId':_0x358b98[_0x18873f(0x534)]}),this['_sender']=this[_0x18873f(0x442)][_0x18873f(0x239)](({reqId:_0x70a9c6,timeout:_0x2888d0})=>{var _0x444c9e=_0x18873f;this[_0x444c9e(0x2ed)](_0x70a9c6,_0x2888d0);}),this);}[_0x3d1808(0x2f3)](){var _0x3af181=_0x3d1808;return this['_clearScheduledTask'](),this[_0x3af181(0x50f)]['createInstance'](_0x1065a7[_0x3af181(0x423)],this[_0x3af181(0x345)],this[_0x3af181(0x436)],this[_0x3af181(0x37e)],[],this['_handler']);}[_0x3d1808(0x35c)](){return this;}[_0x3d1808(0x532)](){var _0x227be7=_0x3d1808;this[_0x227be7(0x526)][_0x227be7(0x4b2)](this['_awaitingChangeset']);}[_0x3d1808(0x4f5)](_0x104e91){var _0x336730=_0x3d1808;return this['_clearScheduledTask'](),this[_0x336730(0x50f)]['createInstance'](_0x1065a7[_0x336730(0x44f)],this[_0x336730(0x345)],this[_0x336730(0x436)],this[_0x336730(0x37e)],[],this[_0x336730(0x526)],_0x104e91);}[_0x3d1808(0x2ed)](_0x53dea1,_0x4f9541){var _0x311dfd=_0x3d1808,_0x37107d;_0x53dea1===((_0x37107d=this[_0x311dfd(0x37e)])==null?void 0x0:_0x37107d[_0x311dfd(0x534)])&&(this[_0x311dfd(0x532)](),this['_resendTimeout']=_0x4f9541===0x0?0x3e8:_0x4f9541*0x2);}['_clearScheduledTask'](){var _0x167375=_0x3d1808,_0x9afbc3;(_0x9afbc3=this[_0x167375(0x32f)])==null||_0x9afbc3[_0x167375(0x31d)](),this[_0x167375(0x2d9)]=0x0;}},_0x1065a7['AwaitingState']=_0x456781([_0xa6ca36(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x5,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0xa6ca36(0x6,_0x5bafa4['ICommandService']),_0xa6ca36(0x7,_0x5bafa4['ILogService']),_0xa6ca36(0x8,_0x3ab606[_0x3d1808(0x269)]),_0xa6ca36(0x9,_0x5bafa4[_0x3d1808(0x407)]),_0xa6ca36(0xa,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7[_0x3d1808(0x517)]),_0x1065a7[_0x3d1808(0x446)]=class extends _0x312db3{constructor(_0x4eaa98,_0xedf8a0,_0x528791,_0x22d256,_0x2f304d,_0x2f2b2d,_0x3ccef0,_0x50d3ae,_0x4b1301,_0x684c8b,_0x3963f2,_0x3ad67e,_0x2a147e){var _0x28703b=_0x3d1808;super(_0x4eaa98,_0xedf8a0,_0x528791,_0x22d256,_0x2f304d,_0x4b1301,_0x3ad67e,_0x50d3ae,_0x2a147e),_0x3fc7c7(this,_0x28703b(0x37c),_0x28703b(0x225)),_0x3fc7c7(this,_0x28703b(0x2d9),0x0),_0x3fc7c7(this,_0x28703b(0x442)),_0x3fc7c7(this,_0x28703b(0x32f)),(this[_0x28703b(0x50f)]=_0x3ccef0,this[_0x28703b(0x4dc)]=_0x684c8b,this[_0x28703b(0x51f)]=_0x3963f2,this['localCacheService']=_0x2a147e,_0x2f2b2d&&(this[_0x28703b(0x442)]=_0x2f2b2d,this[_0x28703b(0x32f)]=this[_0x28703b(0x442)][_0x28703b(0x239)](({reqId:_0x166bf7,timeout:_0xc1a854})=>{var _0xd5fd49=_0x28703b;this[_0xd5fd49(0x2ed)](_0x166bf7,_0xc1a854);})));}[_0x3d1808(0x33b)](_0x5a8025){var _0x17bf2b=_0x3d1808;return this[_0x17bf2b(0x3ff)]['push'](_0x5a8025),this;}[_0x3d1808(0x519)](_0x518bf0){var _0x400328=_0x3d1808;if(this[_0x400328(0x21b)](_0x518bf0))return this[_0x400328(0x33c)](),this[_0x400328(0x50f)][_0x400328(0x3af)](_0x1065a7[_0x400328(0x49d)],this[_0x400328(0x345)],this[_0x400328(0x436)],this[_0x400328(0x37e)],this['_pendingMutations'],null,[_0x518bf0],this[_0x400328(0x526)]);try{const _0x367137=this[_0x400328(0x51f)][_0x400328(0x368)]([_0x518bf0],[this[_0x400328(0x37e)]],!0x1);if(_0x3ab606['isTransformChangesetsSuccess'](_0x367137)){const {c1Prime:_0x4ce054,c2Prime:_0x13ab89}=_0x367137,_0x50ca9c=this[_0x400328(0x51f)]['transformMutationsWithChangeset'](_0x4ce054[0x0],this[_0x400328(0x3ff)]);if(_0x3ab606[_0x400328(0x37b)](_0x50ca9c)){const {c1Prime:_0x29c9c7,m2Prime:_0x7b3a05}=_0x50ca9c;return this[_0x400328(0x510)](_0x29c9c7),_0x13ab89[0x0]['baseRev']=this[_0x400328(0x347)](),this['_clearScheduledTask'](),this[_0x400328(0x50f)][_0x400328(0x3af)](_0x1065a7[_0x400328(0x446)],this[_0x400328(0x345)],this[_0x400328(0x436)],_0x13ab89[0x0],_0x7b3a05,this[_0x400328(0x526)],void 0x0);}throw _0x50ca9c[_0x400328(0x3f5)];}throw _0x367137[_0x400328(0x3f5)];}catch(_0x3e51e4){return this[_0x400328(0x4dc)][_0x400328(0x3f5)](_0x3e51e4),this[_0x400328(0x4f5)](!0x1);}}[_0x3d1808(0x23f)](_0x42b3b7){var _0x1dd288=_0x3d1808;if(this[_0x1dd288(0x33c)](),this[_0x1dd288(0x21b)](_0x42b3b7))return this[_0x1dd288(0x50f)][_0x1dd288(0x3af)](_0x1065a7[_0x1dd288(0x49d)],this[_0x1dd288(0x345)],this['type'],null,this[_0x1dd288(0x3ff)],this['_awaitingChangeset'],[],this[_0x1dd288(0x526)]);this[_0x1dd288(0x555)]();const _0x29268e=this[_0x1dd288(0x50f)]['createInstance'](_0x1065a7[_0x1dd288(0x271)],this['unitID'],this[_0x1dd288(0x436)],this['_pendingMutations'],this[_0x1dd288(0x526)]);return _0x29268e[_0x1dd288(0x4be)](),_0x29268e[_0x1dd288(0x523)](),_0x29268e;}[_0x3d1808(0x414)](_0x228fda){return this['_onConflict'](!!(_0x228fda!=null&&_0x228fda['isPermissionRej']));}[_0x3d1808(0x1e7)](_0x15fb63){var _0x31722d=_0x3d1808;return this[_0x31722d(0x2d9)]>_0x12c628?this[_0x31722d(0x2f3)]():(this[_0x31722d(0x442)]=_0x16a698(this[_0x31722d(0x2d9)],{'timeout':this[_0x31722d(0x2d9)],'reqId':_0x15fb63['reqId']}),this[_0x31722d(0x32f)]=this[_0x31722d(0x442)]['subscribe'](({reqId:_0x5ee983,timeout:_0x37c49f})=>{var _0x56721e=_0x31722d;this[_0x56721e(0x2ed)](_0x5ee983,_0x37c49f);}),this);}['toggleOffline'](){var _0x468d0f=_0x3d1808;return this[_0x468d0f(0x33c)](),this[_0x468d0f(0x50f)][_0x468d0f(0x3af)](_0x1065a7[_0x468d0f(0x423)],this[_0x468d0f(0x345)],this['type'],this[_0x468d0f(0x37e)],this[_0x468d0f(0x3ff)],this[_0x468d0f(0x526)]);}['toggleOnline'](){return this;}['resend'](){var _0x448551=_0x3d1808;this[_0x448551(0x526)]['onSendChangeset'](this[_0x448551(0x37e)]);}[_0x3d1808(0x4f5)](_0x18c53c){var _0x3dd557=_0x3d1808;return this[_0x3dd557(0x33c)](),this['_injector'][_0x3dd557(0x3af)](_0x1065a7[_0x3dd557(0x44f)],this[_0x3dd557(0x345)],this[_0x3dd557(0x436)],null,this[_0x3dd557(0x3ff)],this[_0x3dd557(0x526)],_0x18c53c);}[_0x3d1808(0x2ed)](_0x2b4ab7,_0x3ed06b){var _0x1b4a7d=_0x3d1808,_0x3a9251;_0x2b4ab7===((_0x3a9251=this[_0x1b4a7d(0x37e)])==null?void 0x0:_0x3a9251[_0x1b4a7d(0x534)])&&(this[_0x1b4a7d(0x532)](),this[_0x1b4a7d(0x2d9)]=_0x3ed06b===0x0?0x3e8:_0x3ed06b*0x2);}[_0x3d1808(0x33c)](){var _0x1f81ab=_0x3d1808,_0x396232;(_0x396232=this[_0x1f81ab(0x32f)])==null||_0x396232['unsubscribe'](),this[_0x1f81ab(0x2d9)]=0x0;}},_0x1065a7[_0x3d1808(0x446)]=_0x456781([_0xa6ca36(0x6,_0x5bafa4['Inject'](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0xa6ca36(0x8,_0x5bafa4[_0x3d1808(0x3fc)]),_0xa6ca36(0x9,_0x5bafa4[_0x3d1808(0x528)]),_0xa6ca36(0xa,_0x3ab606[_0x3d1808(0x269)]),_0xa6ca36(0xb,_0x5bafa4['IUndoRedoService']),_0xa6ca36(0xc,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7[_0x3d1808(0x446)]),_0x1065a7['ConflictState']=class extends _0x312db3{constructor(_0x4e9b66,_0xbeef1c,_0x5568eb,_0x8b3a3b,_0x599577,_0x1e81e0=!0x1,_0x3c1a0f,_0x2ef3c2,_0x3bca03,_0x47ce5d,_0x5bc35b,_0x5c30e5,_0x13318d){var _0x2d3d75=_0x3d1808;super(_0x4e9b66,_0xbeef1c,_0x5568eb,_0x8b3a3b,_0x599577,_0x2ef3c2,_0x3bca03,_0x47ce5d,_0x13318d),_0x3fc7c7(this,_0x2d3d75(0x37c),'conflict'),(this[_0x2d3d75(0x4a2)]=_0x1e81e0,this[_0x2d3d75(0x56a)]=_0x3c1a0f,this[_0x2d3d75(0x512)]=_0x5bc35b,this['_collaborationUIEventService']=_0x5c30e5,this[_0x2d3d75(0x3d9)]=_0x13318d,this[_0x2d3d75(0x449)](),this[_0x2d3d75(0x3cc)](),this[_0x2d3d75(0x379)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x3d1808(0x23f)](){return this;}[_0x3d1808(0x414)](){return this;}[_0x3d1808(0x1e7)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x3d1808(0x532)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3d1808(0x3cc)](){var _0x5e716f=_0x3d1808,_0x5cbe8b;(_0x5cbe8b=this[_0x5e716f(0x4b5)])==null||_0x5cbe8b[_0x5e716f(0x25e)](this['unitID'],this[_0x5e716f(0x436)],null,[]);}['_showConflictNotification'](){var _0x307d99=_0x3d1808;this[_0x307d99(0x4a2)]?this[_0x307d99(0x387)][_0x307d99(0x3e2)]({'id':_0x38090c[_0x307d99(0x2f2)]}):this[_0x307d99(0x387)][_0x307d99(0x3e2)]({'id':_0x38090c[_0x307d99(0x332)]});}[_0x3d1808(0x379)](){var _0x2f5fd2=_0x3d1808;this[_0x2f5fd2(0x56a)][_0x2f5fd2(0x409)](new _0x1c5262[(_0x2f5fd2(0x394))](this[_0x2f5fd2(0x345)])['id'],!0x1);}},_0x1065a7['ConflictState']=_0x456781([_0xa6ca36(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4['IPermissionService'])),_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x3fc)]),_0xa6ca36(0x8,_0x5bafa4[_0x3d1808(0x407)]),_0xa6ca36(0x9,_0x5bafa4['Inject'](_0x3ab606[_0x3d1808(0x2ef)])),_0xa6ca36(0xa,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x2e1)])),_0xa6ca36(0xb,_0x5bafa4[_0x3d1808(0x317)](_0x10cfe4)),_0xa6ca36(0xc,_0x5bafa4['Optional'](_0xd8e545))],_0x1065a7[_0x3d1808(0x44f)]),_0x1065a7[_0x3d1808(0x423)]=class extends _0x312db3{constructor(_0x3ee0f3,_0x348872,_0x3392f2,_0x54692e,_0x4e2ed,_0x326293,_0x5a88fa,_0x251ee1,_0x1c77d5,_0x1bb8cb){var _0x5ae98e=_0x3d1808;super(_0x3ee0f3,_0x348872,_0x3392f2,_0x54692e,_0x4e2ed,_0x251ee1,_0x1c77d5,_0x5a88fa,_0x1bb8cb),_0x3fc7c7(this,_0x5ae98e(0x37c),_0x5ae98e(0x459)),this[_0x5ae98e(0x50f)]=_0x326293;}['appendMutation'](_0xb3d64c){var _0x492b50=_0x3d1808;return this['_pendingMutations'][_0x492b50(0x381)](_0xb3d64c),this[_0x492b50(0x523)](),this;}[_0x3d1808(0x519)](_0x22a986){var _0xe393b3=_0x3d1808;throw new Error(_0xe393b3(0x49c));}[_0x3d1808(0x23f)](){var _0x395122=_0x3d1808;throw new Error(_0x395122(0x355));}[_0x3d1808(0x414)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3d1808(0x1e7)](){return this;}[_0x3d1808(0x2f3)](){return this;}[_0x3d1808(0x35c)](){var _0x371bc5=_0x3d1808;const {_injector:_0x1852d1,_pendingMutations:_0x428c21,_awaitingChangeset:_0x23bb11,unitID:_0x1206c5,_handler:_0x49f361,type:_0x128e2b}=this,_0x5a6444=_0x16d863(_0x1852d1,_0x1206c5,_0x128e2b,_0x23bb11,_0x428c21,_0x49f361);return _0x5a6444 instanceof _0x1065a7[_0x371bc5(0x271)]?_0x5a6444['_schedule']():(_0x5a6444 instanceof _0x1065a7[_0x371bc5(0x446)]||_0x5a6444 instanceof _0x1065a7[_0x371bc5(0x517)])&&_0x5a6444['resend'](),_0x5a6444;}[_0x3d1808(0x532)](){var _0x54998a=_0x3d1808;throw new Error(_0x54998a(0x43d));}},_0x1065a7['OfflineState']=_0x456781([_0xa6ca36(0x5,_0x5bafa4['Inject'](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606['RevisionService'])),_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x3fc)]),_0xa6ca36(0x8,_0x5bafa4['IUndoRedoService']),_0xa6ca36(0x9,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7['OfflineState']),_0x1065a7[_0x3d1808(0x49d)]=class extends _0x312db3{constructor(_0x53f4c9,_0x41435f,_0x5df672,_0x4f0141,_0x2f96f1,_0x4aadea,_0x1fcaa6,_0x36205c,_0x128ca7,_0x385bb4,_0x266fa8,_0x493d2e,_0x1c4dd4,_0x401f22){var _0x32354e=_0x3d1808;super(_0x53f4c9,_0x41435f,_0x5df672,_0x4f0141,_0x1fcaa6,_0x266fa8,_0x493d2e,_0x128ca7,_0x401f22),_0x3fc7c7(this,_0x32354e(0x37c),_0x32354e(0x408)),(this[_0x32354e(0x1d9)]=_0x2f96f1,this[_0x32354e(0x325)]=_0x4aadea,this[_0x32354e(0x50f)]=_0x36205c,this['_logService']=_0x385bb4,this[_0x32354e(0x51f)]=_0x1c4dd4,this[_0x32354e(0x3d9)]=_0x401f22);}[_0x3d1808(0x49b)](_0x5af1a5){var _0x255e72=_0x3d1808;try{const _0x2b275c=[..._0x5af1a5,...this[_0x255e72(0x325)]],_0x5a11ea=[this[_0x255e72(0x37e)]||this['_acknowledgedAwaitingChangeset']][_0x255e72(0x3d2)](_0x44c68f=>!!_0x44c68f);let _0x29ad6d,_0x576ccd;if(_0x5a11ea[_0x255e72(0x3c5)]){const _0xfe6ff1=this[_0x255e72(0x51f)]['transformChangesets'](_0x2b275c,_0x5a11ea,!0x1);if(!_0x3ab606['isTransformChangesetsSuccess'](_0xfe6ff1))throw _0xfe6ff1[_0x255e72(0x3f5)];_0x29ad6d=_0xfe6ff1['c1Prime'],_0x576ccd=_0xfe6ff1['c2Prime'];}else _0x29ad6d=_0x2b275c,_0x576ccd=[];let _0x9918fc=this[_0x255e72(0x3ff)];_0x29ad6d[_0x255e72(0x27c)](_0x5b8730=>{var _0x141bd5=_0x255e72;let _0x5a512c;if(_0x9918fc[_0x141bd5(0x3c5)]){const _0x2a25d2=this[_0x141bd5(0x51f)][_0x141bd5(0x441)](_0x5b8730,_0x9918fc);if(!_0x3ab606[_0x141bd5(0x37b)](_0x2a25d2))throw _0x2a25d2[_0x141bd5(0x3f5)];_0x5a512c=_0x2a25d2['c1Prime'],_0x9918fc=_0x2a25d2[_0x141bd5(0x45e)];}else _0x5a512c=_0x5b8730;this[_0x141bd5(0x510)](_0x5a512c);}),this[_0x255e72(0x1d9)]&&this[_0x255e72(0x555)](),this['_awaitingChangeset']&&_0x576ccd[_0x255e72(0x3c5)]&&(_0x576ccd[0x0][_0x255e72(0x47d)]=this['_getCurrentRevision']());let _0x30c150;if(this[_0x255e72(0x37e)]&&_0x9918fc[_0x255e72(0x3c5)]!==0x0)_0x30c150=this[_0x255e72(0x50f)]['createInstance'](_0x1065a7[_0x255e72(0x446)],this[_0x255e72(0x345)],this[_0x255e72(0x436)],_0x576ccd[0x0],_0x9918fc,this[_0x255e72(0x526)],void 0x0);else{if(this[_0x255e72(0x37e)]&&_0x9918fc[_0x255e72(0x3c5)]===0x0)_0x576ccd[0x0][_0x255e72(0x47d)]=this[_0x255e72(0x347)](),_0x30c150=this[_0x255e72(0x50f)][_0x255e72(0x3af)](_0x1065a7[_0x255e72(0x517)],this[_0x255e72(0x345)],this['type'],_0x576ccd[0x0],this['_handler']);else{if(_0x9918fc['length']!==0x0){const _0x107665=this[_0x255e72(0x50f)]['createInstance'](_0x1065a7[_0x255e72(0x271)],this['unitID'],this[_0x255e72(0x436)],_0x9918fc,this['_handler']);_0x107665[_0x255e72(0x4be)](),_0x30c150=_0x107665;}else _0x30c150=this['_injector'][_0x255e72(0x3af)](_0x1065a7['SyncedState'],this[_0x255e72(0x345)],this[_0x255e72(0x436)],this[_0x255e72(0x526)]);}}return _0x30c150[_0x255e72(0x523)](),_0x30c150;}catch(_0x44ebb8){return this[_0x255e72(0x4dc)][_0x255e72(0x3f5)](_0x255e72(0x331),'failed\x20to\x20apply\x20missed\x20changesets!',_0x44ebb8),this['_injector']['createInstance'](_0x1065a7[_0x255e72(0x44f)],this[_0x255e72(0x345)],this['type'],this['_awaitingChangeset'],this[_0x255e72(0x3ff)],this['_handler'],!0x1);}}[_0x3d1808(0x532)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3d1808(0x33b)](_0x27b34c){var _0x3a5bc6=_0x3d1808;return this[_0x3a5bc6(0x3ff)][_0x3a5bc6(0x381)](_0x27b34c),this;}['onRemoteChangeset'](_0x13c8d0){var _0x449e33=_0x3d1808;return this['_queuedRemoteChangesets'][_0x449e33(0x381)](_0x13c8d0),this;}['onRemoteAck'](_0x2891b9){var _0x405683=_0x3d1808;if(this[_0x405683(0x37e)])return this[_0x405683(0x1d9)]=this[_0x405683(0x37e)],this[_0x405683(0x37e)]=null,this;throw new Error(_0x405683(0x4fd));}['onRemoteRej'](_0x49f619){var _0x35de45=_0x3d1808;return this[_0x35de45(0x4f5)](!!(_0x49f619!=null&&_0x49f619['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x3d1808(0x2f3)](){var _0x224eb5=_0x3d1808;return this[_0x224eb5(0x50f)][_0x224eb5(0x3af)](_0x1065a7[_0x224eb5(0x423)],this[_0x224eb5(0x345)],this['type'],this['_awaitingChangeset'],this[_0x224eb5(0x3ff)],this[_0x224eb5(0x526)]);}['toggleOnline'](){return this;}[_0x3d1808(0x4f5)](_0x188bb5){var _0x570b0e=_0x3d1808;return this['_injector'][_0x570b0e(0x3af)](_0x1065a7['ConflictState'],this[_0x570b0e(0x345)],this[_0x570b0e(0x436)],this[_0x570b0e(0x37e)],this['_pendingMutations'],this[_0x570b0e(0x526)],_0x188bb5);}},_0x1065a7['FetchingMissState']=_0x456781([_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x8,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0xa6ca36(0x9,_0x5bafa4['ILogService']),_0xa6ca36(0xa,_0x5bafa4['ICommandService']),_0xa6ca36(0xb,_0x5bafa4['IUndoRedoService']),_0xa6ca36(0xc,_0x3ab606[_0x3d1808(0x269)]),_0xa6ca36(0xd,_0x5bafa4['Optional'](_0xd8e545))],_0x1065a7[_0x3d1808(0x49d)]);function _0x16d863(_0x2284fd,_0x1f0636,_0x4c72b7,_0x496709,_0x50925e,_0x531e18){var _0x15f420=_0x3d1808;return _0x496709&&_0x50925e[_0x15f420(0x3c5)]?_0x2284fd['createInstance'](_0x1065a7[_0x15f420(0x446)],_0x1f0636,_0x4c72b7,_0x496709,_0x50925e,_0x531e18,void 0x0):_0x496709?_0x2284fd[_0x15f420(0x3af)](_0x1065a7[_0x15f420(0x517)],_0x1f0636,_0x4c72b7,_0x496709,_0x531e18):_0x50925e[_0x15f420(0x3c5)]?_0x2284fd[_0x15f420(0x3af)](_0x1065a7[_0x15f420(0x271)],_0x1f0636,_0x4c72b7,_0x50925e,_0x531e18):_0x2284fd[_0x15f420(0x3af)](_0x1065a7[_0x15f420(0x363)],_0x1f0636,_0x4c72b7,_0x531e18);}var _0x38cab5=Object[_0x3d1808(0x3cf)],_0x4fdb43=(_0x5ce4bc,_0x9ccc1d,_0x36cdca,_0x251467)=>{var _0x2bd085=_0x3d1808;for(var _0x3ba228=_0x251467>0x1?void 0x0:_0x251467?_0x38cab5(_0x9ccc1d,_0x36cdca):_0x9ccc1d,_0x1fe0cf=_0x5ce4bc[_0x2bd085(0x3c5)]-0x1,_0x103436;_0x1fe0cf>=0x0;_0x1fe0cf--)(_0x103436=_0x5ce4bc[_0x1fe0cf])&&(_0x3ba228=_0x103436(_0x3ba228)||_0x3ba228);return _0x3ba228;},_0x59d62f=(_0x220705,_0x3ff01f)=>(_0x1e13ae,_0x32bcc0)=>_0x3ff01f(_0x1e13ae,_0x32bcc0,_0x220705);_0x1065a7['CollaborationEntity']=class extends _0x5bafa4[_0x3d1808(0x265)]{constructor(_0x486dba,_0x232150,_0xc2371,_0x331e53,_0x45d05d,_0x24f5b9,_0x5009e1,_0x2e24a0,_0x39a06e,_0x18f40b,_0x57c0bf,_0x44d66f,_0x5c9619,_0x130ac3){var _0x2ba54b=_0x3d1808;super(),_0x3fc7c7(this,'_state$',new _0x1a688c[(_0x2ba54b(0x1f8))](null)),_0x3fc7c7(this,_0x2ba54b(0x3e1),this['_state$']['asObservable']()),_0x3fc7c7(this,_0x2ba54b(0x514)),_0x3fc7c7(this,_0x2ba54b(0x2e9),!0x1),_0x3fc7c7(this,_0x2ba54b(0x319),''),_0x3fc7c7(this,_0x2ba54b(0x509),0x0),_0x3fc7c7(this,'status$',this[_0x2ba54b(0x3e1)]['pipe'](_0x1a688c['map'](_0x1f2d6d=>_0x1f2d6d?_0x1f2d6d[_0x2ba54b(0x37c)]:_0x293214[_0x2ba54b(0x559)]),_0x1a688c[_0x2ba54b(0x4a1)](0x1))),_0x3fc7c7(this,'_transitionLocked',!0x1),_0x3fc7c7(this,_0x2ba54b(0x537),[]),(this['unitID']=_0x486dba,this[_0x2ba54b(0x231)]=_0x232150,this[_0x2ba54b(0x476)]=_0xc2371,this['_injector']=_0x331e53,this[_0x2ba54b(0x2eb)]=_0x45d05d,this[_0x2ba54b(0x512)]=_0x24f5b9,this[_0x2ba54b(0x29f)]=_0x5009e1,this[_0x2ba54b(0x267)]=_0x2e24a0,this['_univerInstanceService']=_0x39a06e,this[_0x2ba54b(0x4dc)]=_0x18f40b,this[_0x2ba54b(0x538)]=_0x57c0bf,this['_permissionService']=_0x44d66f,this[_0x2ba54b(0x211)]=_0x5c9619,this[_0x2ba54b(0x4b5)]=_0x130ac3);}get[_0x3d1808(0x333)](){return this['_state'];}async[_0x3d1808(0x456)](){var _0x56dd34=_0x3d1808;if(this[_0x56dd34(0x333)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x56dd34(0x3b8)]();}['pauseCollaboration'](){var _0x58021a=_0x3d1808;return this[_0x58021a(0x2e9)]=!0x0,_0x5bafa4['toDisposable'](()=>{var _0x37dcc3=_0x58021a;this[_0x37dcc3(0x2e9)]=!0x1,this[_0x37dcc3(0x49e)]();});}[_0x3d1808(0x303)](_0x42f496){var _0x722267=_0x3d1808;this[_0x722267(0x308)](_0x42f496);}[_0x3d1808(0x327)](_0x58c807){var _0x51a792=_0x3d1808;this[_0x51a792(0x514)]=_0x58c807,this['_state$'][_0x51a792(0x543)](_0x58c807);}async['_init'](){var _0x23fb1a=_0x3d1808,_0x25b664;this[_0x23fb1a(0x327)](await this[_0x23fb1a(0x4d5)]()),this[_0x23fb1a(0x211)]&&((_0x25b664=this[_0x23fb1a(0x211)])==null||_0x25b664[_0x23fb1a(0x326)](this[_0x23fb1a(0x345)]),this[_0x23fb1a(0x44e)](this[_0x23fb1a(0x211)][_0x23fb1a(0x3d8)](this['unitID'])[_0x23fb1a(0x239)](_0x2f10ed=>{var _0x88d151=_0x23fb1a;this[_0x88d151(0x4dc)]['debug'](_0x88d151(0x3ab),'editing\x20status\x20changed\x20to',_0x2f10ed),_0x2f10ed===_0x166ac9['OTHER_CLIENTS_EDITING']?(this[_0x88d151(0x267)]['emitEvent']({'id':_0x38090c[_0x88d151(0x3e8)]}),this[_0x88d151(0x56a)][_0x88d151(0x409)](new _0x1c5262[(_0x88d151(0x394))](this[_0x88d151(0x345)])['id'],!0x1),this[_0x88d151(0x56a)]['setShowComponents'](!0x1)):(this[_0x88d151(0x56a)]['updatePermissionPoint'](new _0x1c5262[(_0x88d151(0x394))](this[_0x88d151(0x345)])['id'],!0x0),this[_0x88d151(0x56a)][_0x88d151(0x22f)](!0x0));})));let _0x42a79c=!0x1;return this[_0x23fb1a(0x44e)](this[_0x23fb1a(0x231)]['sessionStatus$']['subscribe'](_0x3f07e8=>{var _0x48b39a=_0x23fb1a;_0x3f07e8===_0x4b7463[_0x48b39a(0x2d4)]?this[_0x48b39a(0x34b)](_0x42a79c):_0x3f07e8===_0x4b7463[_0x48b39a(0x559)]&&(_0x42a79c=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x23fb1a(0x231)][_0x23fb1a(0x2a4)][_0x23fb1a(0x239)](_0x1d353c=>{var _0x46a1bc=_0x23fb1a;try{switch(_0x1d353c[_0x46a1bc(0x3a4)]){case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x2d1)]:{this[_0x46a1bc(0x4c9)](_0x3ab606[_0x46a1bc(0x2e8)](_0x1d353c[_0x46a1bc(0x285)]));break;}case _0x3ab606['CollaborationEvent']['CHANGESET_ACK']:{this['_onRemoteACK'](_0x1d353c[_0x46a1bc(0x285)]);break;}case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x489)]:{this[_0x46a1bc(0x2d0)]();break;}case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x242)]:{this[_0x46a1bc(0x30c)](_0x1d353c['data']);break;}case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x1f2)]:{this[_0x46a1bc(0x263)](_0x1d353c[_0x46a1bc(0x285)][_0x46a1bc(0x466)][_0x46a1bc(0x51a)](_0x3a23f6=>_0x3ab606[_0x46a1bc(0x2e8)](_0x3a23f6)));break;}case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x2f7)]:{this[_0x46a1bc(0x2d0)]({'isPermissionRej':!0x0});break;}case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x461)]:break;}}catch(_0x3572d7){throw console['error']('Error\x20on\x20receiving\x20event',_0x3572d7),_0x3572d7;}})),this[_0x23fb1a(0x514)];}['_unlockTransition'](){var _0x33a077=_0x3d1808;this[_0x33a077(0x208)]=!0x1;}[_0x3d1808(0x1f3)](){var _0x55b337=_0x3d1808;if(this[_0x55b337(0x208)])throw new Error(_0x55b337(0x274));this[_0x55b337(0x208)]=!0x0;}[_0x3d1808(0x308)](_0x4e7263){var _0x27554e=_0x3d1808;this[_0x27554e(0x1f3)](),this[_0x27554e(0x327)](this[_0x27554e(0x514)][_0x27554e(0x33b)](_0x4e7263)),this[_0x27554e(0x4ef)]();}[_0x3d1808(0x4c9)](_0x337a2d){var _0x3b54e6=_0x3d1808;if(!(_0x337a2d[_0x3b54e6(0x42d)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x3b54e6(0x345)]))){if(this[_0x3b54e6(0x2e9)]){this['_remoteChangesetQueue'][_0x3b54e6(0x381)](_0x337a2d);return;}this[_0x3b54e6(0x357)](_0x337a2d);}}[_0x3d1808(0x49e)](){var _0x156806=_0x3d1808;this[_0x156806(0x537)]['forEach'](_0x36a331=>this[_0x156806(0x357)](_0x36a331)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x429e48){var _0x5f3842=_0x3d1808;const _0x38e3ab=this[_0x5f3842(0x2eb)][_0x5f3842(0x4b1)][_0x5f3842(0x4bf)](this[_0x5f3842(0x2eb)][_0x5f3842(0x4b1)][_0x5f3842(0x28e)]()[_0x5f3842(0x247)])(_0x429e48[_0x5f3842(0x4f4)],null)||_0x429e48[_0x5f3842(0x4f4)],_0x236c9e={..._0x429e48,'mutations':_0x38e3ab};this[_0x5f3842(0x1f3)](),this[_0x5f3842(0x327)](this[_0x5f3842(0x514)][_0x5f3842(0x519)](_0x236c9e)),this[_0x5f3842(0x4ef)]();}[_0x3d1808(0x378)](_0x1c1c24){var _0x489898=_0x3d1808;this[_0x489898(0x1f3)](),this['_updateState'](this[_0x489898(0x514)][_0x489898(0x23f)](_0x1c1c24)),this['_unlockTransition']();}[_0x3d1808(0x2d0)](_0x42fd88){var _0x3a1549=_0x3d1808;this['_lockTransition'](),this[_0x3a1549(0x327)](this[_0x3a1549(0x514)][_0x3a1549(0x414)](_0x42fd88)),this[_0x3a1549(0x4ef)]();}[_0x3d1808(0x30c)](_0x135e3e){var _0x359dd9=_0x3d1808;this[_0x359dd9(0x1f3)](),this[_0x359dd9(0x327)](this[_0x359dd9(0x514)][_0x359dd9(0x1e7)](_0x135e3e)),this[_0x359dd9(0x4ef)]();}[_0x3d1808(0x263)](_0x26099d){var _0x4afa98=_0x3d1808;if(!(this[_0x4afa98(0x514)]instanceof _0x1065a7[_0x4afa98(0x49d)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x1a5979=_0x26099d[_0x4afa98(0x51a)](_0x15849d=>{var _0x2338b4=_0x4afa98;const _0x3d9363=this[_0x2338b4(0x2eb)][_0x2338b4(0x4b1)][_0x2338b4(0x4bf)](this[_0x2338b4(0x2eb)]['interceptor'][_0x2338b4(0x28e)]()[_0x2338b4(0x247)])(_0x15849d[_0x2338b4(0x4f4)],null)||_0x15849d[_0x2338b4(0x4f4)];return{..._0x15849d,'mutations':_0x3d9363};});this[_0x4afa98(0x1f3)](),this[_0x4afa98(0x327)](this[_0x4afa98(0x514)][_0x4afa98(0x49b)](_0x1a5979)),this[_0x4afa98(0x4ef)]();}[_0x3d1808(0x55f)](){var _0x1d78a4=_0x3d1808;this[_0x1d78a4(0x1f3)](),this['_updateState'](this[_0x1d78a4(0x514)]['toggleOffline']()),this[_0x1d78a4(0x4ef)]();}[_0x3d1808(0x34b)](_0x360efa=!0x1){var _0x271cfc=_0x3d1808;this['_lockTransition'](),this[_0x271cfc(0x327)](this['_state']['toggleOnline']()),this[_0x271cfc(0x4ef)]();const _0x17fa42=this[_0x271cfc(0x514)];_0x360efa&&_0x17fa42 instanceof _0x1065a7['SyncedState']&&(this['_lockTransition'](),this[_0x271cfc(0x327)](_0x17fa42[_0x271cfc(0x485)]()),this[_0x271cfc(0x4ef)]());}async[_0x3d1808(0x4d5)](){return new Promise(_0x1b4486=>{var _0xdd078a=_0x58ee;this[_0xdd078a(0x231)]['sessionStatus$']['pipe'](_0x1a688c['take'](0x1))[_0xdd078a(0x239)](async _0x961687=>{var _0x551882=_0xdd078a;_0x1b4486(await this[_0x551882(0x3e0)](_0x961687===_0x4b7463['ONLINE']));});});}['_createHandler'](){var _0x1d29da=_0x3d1808;const _0x320bfb=this[_0x1d29da(0x345)];return{'onStateChange':(_0x289d7f,_0x37aba2)=>{var _0x21cd62=_0x1d29da;if(_0x289d7f!==this[_0x21cd62(0x514)])throw new Error(_0x21cd62(0x26a)+_0x289d7f[_0x21cd62(0x37c)]+_0x21cd62(0x1e9)+_0x37aba2[_0x21cd62(0x37c)]+_0x21cd62(0x2f5)+this[_0x21cd62(0x514)][_0x21cd62(0x37c)]);this[_0x21cd62(0x327)](_0x37aba2);},'onSendChangeset':_0x39afe6=>{var _0x402724=_0x1d29da;_0x39afe6['sid']||(_0x39afe6[_0x402724(0x25b)]=this[_0x402724(0x319)],_0x39afe6['reqId']=++this[_0x402724(0x509)]);const _0x22bab3={'eventID':_0x3ab606[_0x402724(0x260)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x39afe6[_0x402724(0x345)],'unitType':this[_0x402724(0x476)],'changeset':_0x39afe6,'memberID':this['session'][_0x402724(0x3a0)]()}};this[_0x402724(0x231)]['send'](_0x22bab3,this['unitID']);},'onMissingChangesets':({from:_0x4d03c2,to:_0x2b568f})=>{var _0x34633f=_0x1d29da;this[_0x34633f(0x4dc)][_0x34633f(0x206)](_0x34633f(0x3ab),'fetching\x20missing\x20changesets\x20from\x20'+_0x4d03c2+_0x34633f(0x280)+_0x2b568f);const _0x59b23b={'eventID':_0x3ab606[_0x34633f(0x260)]['FETCH_MISSING'],'data':{'unitID':_0x320bfb,'unitType':this[_0x34633f(0x476)],'from':_0x4d03c2,'to':_0x2b568f}};this['session'][_0x34633f(0x2a8)](_0x59b23b,this[_0x34633f(0x345)]);}};}async['_createInitialStateImpl'](_0x3c0df4){var _0xf8e264=_0x3d1808,_0x5cb213,_0x5370dd,_0x4245b4;const _0x4ba4c3=await((_0x5cb213=this[_0xf8e264(0x4b5)])==null?void 0x0:_0x5cb213[_0xf8e264(0x383)](this[_0xf8e264(0x345)])),_0x1175b5=(_0x5370dd=_0x4ba4c3==null?void 0x0:_0x4ba4c3['mutations'])!=null?_0x5370dd:[],_0x558b6e=(_0x4245b4=_0x4ba4c3==null?void 0x0:_0x4ba4c3[_0xf8e264(0x2be)])!=null?_0x4245b4:null,_0x5bde67=!!(_0x558b6e!=null&&_0x558b6e['sid'])&&!!(_0x558b6e!=null&&_0x558b6e[_0xf8e264(0x534)]);this[_0xf8e264(0x319)]=_0x5bde67?_0x558b6e['sid']:_0x3ab606[_0xf8e264(0x356)](),this[_0xf8e264(0x509)]=_0x5bde67?_0x558b6e[_0xf8e264(0x534)]:0x0;const _0x146723=this['unitID'];try{this[_0xf8e264(0x56e)](_0x558b6e,_0x1175b5);}catch(_0x4d312d){this[_0xf8e264(0x4dc)][_0xf8e264(0x3f5)](_0x4d312d);}const _0x34f72b=this[_0xf8e264(0x3bb)]();if(_0x3c0df4){const _0x3c68e0=_0x16d863(this['_injector'],_0x146723,this['_type'],_0x558b6e,_0x1175b5,_0x34f72b);return _0x3c68e0 instanceof _0x1065a7[_0xf8e264(0x271)]?_0x3c68e0[_0xf8e264(0x4be)]():(_0x3c68e0 instanceof _0x1065a7[_0xf8e264(0x446)]||_0x3c68e0 instanceof _0x1065a7['AwaitingState'])&&_0x3c68e0[_0xf8e264(0x532)](),_0x3c68e0;}return this[_0xf8e264(0x50f)]['createInstance'](_0x1065a7[_0xf8e264(0x423)],_0x146723,this['_type'],_0x558b6e,_0x1175b5,_0x34f72b);}[_0x3d1808(0x56e)](_0x2d33ce,_0x53f0fe){var _0x4f9f7e=_0x3d1808,_0x9fb0a3,_0xeb86b3;const _0x455cd2=this[_0x4f9f7e(0x2eb)]['interceptor'][_0x4f9f7e(0x4bf)](this[_0x4f9f7e(0x2eb)][_0x4f9f7e(0x4b1)]['getInterceptPoints']()[_0x4f9f7e(0x247)]);(_0x9fb0a3=_0x455cd2((_0x2d33ce==null?void 0x0:_0x2d33ce[_0x4f9f7e(0x4f4)])||[],null))==null||_0x9fb0a3[_0x4f9f7e(0x27c)](_0x4d9426=>this[_0x4f9f7e(0x538)][_0x4f9f7e(0x429)](_0x4d9426['id'],_0x4d9426[_0x4f9f7e(0x21c)])),(_0xeb86b3=_0x455cd2(_0x53f0fe||[],null))==null||_0xeb86b3['forEach'](_0x17e49d=>this['_commandService']['executeCommand'](_0x17e49d['id'],_0x17e49d[_0x4f9f7e(0x21c)]));}},_0x1065a7[_0x3d1808(0x44a)]=_0x4fdb43([_0x59d62f(0x3,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0x59d62f(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x4c5)])),_0x59d62f(0x5,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x2e1)])),_0x59d62f(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606['RevisionService'])),_0x59d62f(0x7,_0x5bafa4['Inject'](_0x10cfe4)),_0x59d62f(0x8,_0x5bafa4['IUniverInstanceService']),_0x59d62f(0x9,_0x5bafa4[_0x3d1808(0x528)]),_0x59d62f(0xa,_0x5bafa4[_0x3d1808(0x3fc)]),_0x59d62f(0xb,_0x5bafa4['IPermissionService']),_0x59d62f(0xc,_0x5bafa4[_0x3d1808(0x4fa)](_0x175519)),_0x59d62f(0xd,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7[_0x3d1808(0x44a)]),_0x1065a7[_0x3d1808(0x1e2)]=class extends _0x1065a7[_0x3d1808(0x44a)]{constructor(_0x409d9f,_0x5383ef,_0x529cde,_0x3aa3e1,_0x217bbe,_0xe8acbe,_0x59455d,_0x25042b,_0x510c7c,_0x11a5be,_0x5409be,_0x2553df,_0x47b1a8,_0xf41005){var _0x3208ee=_0x3d1808;super(_0x409d9f,_0x529cde,_0x5383ef,_0x3aa3e1,_0x217bbe,_0xe8acbe,_0x59455d,_0x25042b,_0x510c7c,_0x11a5be,_0x5409be,_0x2553df,_0x47b1a8,_0xf41005),_0x3fc7c7(this,_0x3208ee(0x553),null),(this[_0x3208ee(0x345)]=_0x409d9f,this[_0x3208ee(0x436)]=_0x5383ef);}[_0x3d1808(0x207)](_0x4bc487){this['_handlerCallback']=_0x4bc487;}['dispose'](){var _0x56187d=_0x3d1808;this[_0x56187d(0x553)]=null,super[_0x56187d(0x508)]();}[_0x3d1808(0x3bb)](){var _0x57d79d=_0x3d1808;const _0x730d17=super[_0x57d79d(0x3bb)]();return _0x730d17[_0x57d79d(0x39b)]=_0x4db11e=>{var _0x32ce7e=_0x57d79d,_0x39ab60,_0x23a30c;return(_0x23a30c=(_0x39ab60=this[_0x32ce7e(0x553)])==null?void 0x0:_0x39ab60[_0x32ce7e(0x39b)])==null?void 0x0:_0x23a30c['call'](_0x39ab60,_0x4db11e);},_0x730d17[_0x57d79d(0x548)]=_0x17396c=>{var _0x5d7789=_0x57d79d,_0x5f11a7,_0xa4e11d;return(_0xa4e11d=(_0x5f11a7=this[_0x5d7789(0x553)])==null?void 0x0:_0x5f11a7[_0x5d7789(0x548)])==null?void 0x0:_0xa4e11d[_0x5d7789(0x37a)](_0x5f11a7,_0x17396c);},_0x730d17[_0x57d79d(0x398)]=_0x19baca=>{var _0x42b3e3=_0x57d79d,_0x6b7595,_0x586edd;return(_0x586edd=(_0x6b7595=this[_0x42b3e3(0x553)])==null?void 0x0:_0x6b7595['onTransformSelections'])==null?void 0x0:_0x586edd[_0x42b3e3(0x37a)](_0x6b7595,_0x19baca);},_0x730d17['onSyncEditingCollabCursor']=_0x58bed0=>{var _0x16d3c6=_0x57d79d,_0x31500f,_0x28219a;return(_0x28219a=(_0x31500f=this[_0x16d3c6(0x553)])==null?void 0x0:_0x31500f[_0x16d3c6(0x55a)])==null?void 0x0:_0x28219a[_0x16d3c6(0x37a)](_0x31500f,_0x58bed0);},_0x730d17['onTransformRemoteChangesetByIMECache']=_0x31f1bc=>{var _0x457d1e=_0x57d79d,_0x332576,_0x2fdc4b,_0x453c8c;if(!((_0x332576=this['_handlerCallback'])!=null&&_0x332576[_0x457d1e(0x214)]))throw new Error(_0x457d1e(0x384));return(_0x453c8c=(_0x2fdc4b=this[_0x457d1e(0x553)])==null?void 0x0:_0x2fdc4b[_0x457d1e(0x214)])==null?void 0x0:_0x453c8c[_0x457d1e(0x37a)](_0x2fdc4b,_0x31f1bc);},_0x730d17[_0x57d79d(0x3ef)]=_0x3075ba=>{var _0x370eb1=_0x57d79d,_0x177c9a,_0x21d8b0,_0x2b6578;if(!((_0x177c9a=this[_0x370eb1(0x553)])!=null&&_0x177c9a[_0x370eb1(0x3ef)]))throw new Error(_0x370eb1(0x4e4));return(_0x2b6578=(_0x21d8b0=this['_handlerCallback'])==null?void 0x0:_0x21d8b0[_0x370eb1(0x3ef)])==null?void 0x0:_0x2b6578[_0x370eb1(0x37a)](_0x21d8b0,_0x3075ba);},_0x730d17;}async['_init'](){var _0x492cd6=_0x3d1808;const _0x3ac989=await super['_init']();return this[_0x492cd6(0x44e)](this[_0x492cd6(0x538)][_0x492cd6(0x53e)]((_0x2a44bc,_0x2a30b5)=>{var _0x2e3e98=_0x492cd6;if(_0x2a44bc[_0x2e3e98(0x436)]!==_0x5bafa4['CommandType']['MUTATION']||_0x2a30b5!=null&&_0x2a30b5['fromCollab']||_0x2a30b5!=null&&_0x2a30b5[_0x2e3e98(0x216)]||_0x2a44bc['id']===_0x460538[_0x2e3e98(0x4a6)]['id'])return;const _0x301f81=_0x2a44bc['params'];if((_0x301f81==null?void 0x0:_0x301f81[_0x2e3e98(0x48f)])!==this[_0x2e3e98(0x345)])return;const _0x3117b9=_0x2a44bc,_0x532ac5=this['_compressMutationService'][_0x2e3e98(0x4b1)][_0x2e3e98(0x4bf)](this['_compressMutationService'][_0x2e3e98(0x4b1)][_0x2e3e98(0x28e)]()['COMPRESS_MUTATION_SEND'])([_0x3117b9],this[_0x2e3e98(0x4b8)])||[_0x3117b9];this['_onLocalMutation'](_0x532ac5[0x0]);})),_0x3ac989;}},_0x1065a7['DocCollaborationEntity']=_0x4fdb43([_0x59d62f(0x3,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0x59d62f(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x4c5)])),_0x59d62f(0x5,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x2e1)])),_0x59d62f(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0x59d62f(0x7,_0x5bafa4[_0x3d1808(0x317)](_0x10cfe4)),_0x59d62f(0x8,_0x5bafa4['IUniverInstanceService']),_0x59d62f(0x9,_0x5bafa4['ILogService']),_0x59d62f(0xa,_0x5bafa4['ICommandService']),_0x59d62f(0xb,_0x5bafa4[_0x3d1808(0x226)]),_0x59d62f(0xc,_0x5bafa4[_0x3d1808(0x4fa)](_0x175519)),_0x59d62f(0xd,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7['DocCollaborationEntity']),_0x1065a7[_0x3d1808(0x2b2)]=class extends _0x1065a7[_0x3d1808(0x44a)]{constructor(_0x5167ce,_0x499a33,_0xedcc6b,_0x502827,_0x34d1cf,_0x5e5d82,_0x4611f5,_0x1f241d,_0x4fef9f,_0x40e66e,_0x52483e,_0x178609,_0x44609d,_0xe65953,_0x450e39){var _0x2b6d49=_0x3d1808;super(_0x5167ce,_0xedcc6b,_0x499a33,_0x502827,_0x34d1cf,_0x5e5d82,_0x4611f5,_0x4fef9f,_0x40e66e,_0x52483e,_0x178609,_0x44609d,_0xe65953,_0x450e39),this['unitID']=_0x5167ce,this[_0x2b6d49(0x436)]=_0x499a33,this[_0x2b6d49(0x4d1)]=_0x1f241d;}['_createHandler'](){var _0x3607f1=_0x3d1808;const _0x2e8351=super[_0x3607f1(0x3bb)]();return _0x2e8351[_0x3607f1(0x398)]=_0x26025e=>this[_0x3607f1(0x4d1)][_0x3607f1(0x44d)](_0x26025e),_0x2e8351;}async[_0x3d1808(0x3b8)](){var _0x26a789=_0x3d1808;const _0x3b55ee=await super['_init']();return this['disposeWithMe'](this[_0x26a789(0x538)][_0x26a789(0x53e)]((_0x1db877,_0x10bbfa)=>{var _0x313b23=_0x26a789;if(_0x1db877[_0x313b23(0x436)]!==_0x5bafa4['CommandType']['MUTATION']||_0x10bbfa!=null&&_0x10bbfa[_0x313b23(0x219)]||_0x10bbfa!=null&&_0x10bbfa[_0x313b23(0x216)])return;const _0x1e7d8a=_0x1db877['params'];if((_0x1e7d8a==null?void 0x0:_0x1e7d8a['unitId'])!==this[_0x313b23(0x345)])return;const _0x454335=_0x1db877,_0xfd48bb=this[_0x313b23(0x2eb)]['interceptor'][_0x313b23(0x4bf)](this[_0x313b23(0x2eb)][_0x313b23(0x4b1)][_0x313b23(0x28e)]()['COMPRESS_MUTATION_SEND'])([_0x454335],this[_0x313b23(0x4b8)])||[_0x454335];this[_0x313b23(0x308)](_0xfd48bb[0x0]);})),_0x3b55ee;}},_0x1065a7[_0x3d1808(0x2b2)]=_0x4fdb43([_0x59d62f(0x3,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0x59d62f(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606['CompressMutationService'])),_0x59d62f(0x5,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x2e1)])),_0x59d62f(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0x59d62f(0x7,_0x5bafa4[_0x3d1808(0x317)](_0x1065a7[_0x3d1808(0x1f1)])),_0x59d62f(0x8,_0x5bafa4['Inject'](_0x10cfe4)),_0x59d62f(0x9,_0x5bafa4[_0x3d1808(0x443)]),_0x59d62f(0xa,_0x5bafa4[_0x3d1808(0x528)]),_0x59d62f(0xb,_0x5bafa4[_0x3d1808(0x3fc)]),_0x59d62f(0xc,_0x5bafa4[_0x3d1808(0x226)]),_0x59d62f(0xd,_0x5bafa4[_0x3d1808(0x4fa)](_0x175519)),_0x59d62f(0xe,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7[_0x3d1808(0x2b2)]);const _0x206d80=_0x5bafa4[_0x3d1808(0x433)]('univer-pro.collaboration-client.network-condition.service');function _0x10e983(_0x2bf19f){var _0x3663d0=_0x3d1808,_0x675dd3,_0x1a91b2,_0x46d98e,_0x2447d1,_0x469c32;const _0x840a74=_0x2bf19f[_0x3663d0(0x285)],_0x5a5d9b=JSON['parse'](_0x840a74);switch(_0x5a5d9b[_0x3663d0(0x38d)]){case _0x46dd39['HEARTBEAT']:case _0x46dd39['HELLO']:{const _0x817424=_0x5a5d9b[_0x3663d0(0x501)];return{..._0x5a5d9b,'data':_0x817424,'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};}case _0x46dd39['JOIN']:{const _0x77d860=_0x5a5d9b[_0x3663d0(0x36d)];return{..._0x5a5d9b,'data':_0x77d860,'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};}case _0x46dd39['RECV']:{const _0x5764cf=_0x5a5d9b['collaMsg'];switch(_0x5764cf['eventID']){case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x2f7)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':(_0x675dd3=_0x5764cf[_0x3663d0(0x2ba)])==null?void 0x0:_0x675dd3['cs']},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['CHANGESET_ACK']:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':(_0x1a91b2=_0x5764cf[_0x3663d0(0x547)])==null?void 0x0:_0x1a91b2['cs']},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':(_0x46d98e=_0x5764cf[_0x3663d0(0x2af)])==null?void 0x0:_0x46d98e['cs']},'cmd':_0x5a5d9b['cmd']};case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x489)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':(_0x2447d1=_0x5764cf[_0x3663d0(0x348)])==null?void 0x0:_0x2447d1['cs']},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x242)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':(_0x469c32=_0x5764cf[_0x3663d0(0x24c)])==null?void 0x0:_0x469c32['cs']},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['UPDATE_CURSOR']:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x3c2)]},'cmd':_0x5a5d9b['cmd']};case _0x3ab606['CollaborationEvent'][_0x3663d0(0x400)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x310)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['USERS_LEAVE']:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x386)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x3db)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x4a5)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['LIVESHARE_FETCH_OPERATIONS']:case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x366)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf['liveShareOperation']},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606['CollaborationEvent'][_0x3663d0(0x3dc)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x4a5)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['MSG_FOR_ERROR']:return{..._0x5a5d9b,'data':_0x5764cf,'cmd':_0x5a5d9b['cmd']};case _0x3ab606['CollaborationEvent'][_0x3663d0(0x415)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x500)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['UPDATE_PERMISSION_OBJ']:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x22c)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x515)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x513)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x461)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf['uniscriptRunEvent']},'cmd':_0x5a5d9b['cmd']};default:return _0x5a5d9b;}}default:return _0x5a5d9b;}}function _0x52cb3a(_0x1505a3){var _0x5a4438=_0x3d1808;switch(_0x1505a3[_0x5a4438(0x38d)]){case _0x46dd39['HEARTBEAT']:case _0x46dd39['HELLO']:return JSON['stringify']({'cmd':_0x1505a3[_0x5a4438(0x38d)],'routeKey':_0x1505a3[_0x5a4438(0x4ba)]});case _0x46dd39[_0x5a4438(0x313)]:{let _0x20a6c4;switch(_0x1505a3[_0x5a4438(0x285)][_0x5a4438(0x3a4)]){case _0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x46a)]:{_0x20a6c4={'eventID':_0x3ab606['CollaborationEvent'][_0x5a4438(0x46a)],'updateCursorEvent':_0x1505a3[_0x5a4438(0x285)]['data']};break;}case _0x3ab606['CollaborationEvent'][_0x5a4438(0x2c5)]:{_0x20a6c4={'eventID':_0x3ab606['CollaborationEvent'][_0x5a4438(0x2c5)],'leaveEvent':_0x1505a3[_0x5a4438(0x285)][_0x5a4438(0x285)]};break;}case _0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x400)]:{_0x20a6c4={'eventID':_0x3ab606['CollaborationEvent'][_0x5a4438(0x400)],'joinEvent':_0x1505a3['data'][_0x5a4438(0x285)]};break;}case _0x3ab606['CollaborationEvent'][_0x5a4438(0x3db)]:{_0x20a6c4={'eventID':_0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x3db)],'liveShareNewHost':_0x1505a3[_0x5a4438(0x285)][_0x5a4438(0x285)]};break;}case _0x3ab606['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x20a6c4={'eventID':_0x3ab606['CollaborationEvent'][_0x5a4438(0x366)],'liveShareOperation':_0x1505a3[_0x5a4438(0x285)][_0x5a4438(0x285)]};break;}case _0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x3dc)]:{_0x20a6c4={'eventID':_0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x3dc)],'liveShareTerminate':_0x1505a3[_0x5a4438(0x285)]['data']};break;}case _0x3ab606['CollaborationEvent'][_0x5a4438(0x472)]:{_0x20a6c4={'eventID':_0x3ab606[_0x5a4438(0x260)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1505a3[_0x5a4438(0x285)][_0x5a4438(0x285)]};break;}case _0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x338)]:{_0x20a6c4={'eventID':_0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x338)]};break;}default:_0x20a6c4={'eventID':_0x1505a3[_0x5a4438(0x285)]['eventID']};}return JSON['stringify']({'cmd':_0x1505a3[_0x5a4438(0x38d)],'routeKey':_0x1505a3[_0x5a4438(0x4ba)],'collaMsg':_0x20a6c4});}case _0x46dd39[_0x5a4438(0x48a)]:return JSON[_0x5a4438(0x3c7)]({'cmd':_0x1505a3['cmd'],'routeKey':_0x1505a3[_0x5a4438(0x4ba)],'joinReq':_0x1505a3['data']});case _0x46dd39[_0x5a4438(0x21a)]:return JSON[_0x5a4438(0x3c7)]({'cmd':_0x1505a3[_0x5a4438(0x38d)],'routeKey':_0x1505a3[_0x5a4438(0x4ba)],'leaveReq':_0x1505a3[_0x5a4438(0x285)]});default:throw new Error(_0x5a4438(0x40f));}}var _0x263c80=Object[_0x3d1808(0x3cf)],_0x4e4b0f=(_0x41625e,_0x32a41f,_0x7dbc2e,_0x2e6892)=>{var _0x379825=_0x3d1808;for(var _0x3b7342=_0x2e6892>0x1?void 0x0:_0x2e6892?_0x263c80(_0x32a41f,_0x7dbc2e):_0x32a41f,_0x31a1af=_0x41625e[_0x379825(0x3c5)]-0x1,_0xdb6178;_0x31a1af>=0x0;_0x31a1af--)(_0xdb6178=_0x41625e[_0x31a1af])&&(_0x3b7342=_0xdb6178(_0x3b7342)||_0x3b7342);return _0x3b7342;},_0xd7c4dc=(_0x1a305d,_0x57bff8)=>(_0x10e6df,_0x207503)=>_0x57bff8(_0x10e6df,_0x207503,_0x1a305d);const _0x3dca45=_0x5bafa4[_0x3d1808(0x433)](_0x3d1808(0x320));function _0x277bec(_0x111b2f,_0x57040f,_0x4d090d){var _0x17ca21=_0x3d1808;return _0x111b2f+'/'+_0x57040f+_0x17ca21(0x495)+_0x4d090d+_0x17ca21(0x25a);}_0x1065a7['CollaborationSocketService']=class extends _0x5bafa4[_0x3d1808(0x40c)]{constructor(_0x562fb6,_0x11f7d8,_0x3ed512,_0x592bba,_0x5e26fd){var _0x4a2715=_0x3d1808;super(),this[_0x4a2715(0x50f)]=_0x562fb6,this[_0x4a2715(0x48b)]=_0x11f7d8,this[_0x4a2715(0x4ee)]=_0x3ed512,this['_logService']=_0x592bba,this[_0x4a2715(0x2ec)]=_0x5e26fd;}[_0x3d1808(0x563)](_0x2d28de){var _0x2cb26d=_0x3d1808;const _0x35fda9=this[_0x2cb26d(0x50f)][_0x2cb26d(0x3f0)](_0x24f178[_0x2cb26d(0x1d1)]);if(!_0x35fda9)throw new Error(_0x2cb26d(0x50a));const _0x154405=_0x35fda9[_0x2cb26d(0x2bf)](_0x2d28de);if(!_0x154405)throw new Error(_0x2cb26d(0x1e3));const _0x3c3104=new _0x5bafa4['DisposableCollection'](),_0xe7cee=new _0x1a688c[(_0x2cb26d(0x546))]();_0x3c3104['add'](_0x154405[_0x2cb26d(0x4c1)][_0x2cb26d(0x239)](_0x20b4af=>_0xe7cee[_0x2cb26d(0x543)](_0x20b4af))),_0x3c3104[_0x2cb26d(0x2b7)](_0x5bafa4[_0x2cb26d(0x4de)](()=>_0xe7cee[_0x2cb26d(0x1fa)]()));const _0x460984=new _0x1a688c['Subject']();_0x3c3104[_0x2cb26d(0x2b7)](_0x154405[_0x2cb26d(0x2d2)]['subscribe'](_0x31edc3=>_0x460984[_0x2cb26d(0x543)](_0x31edc3))),_0x3c3104[_0x2cb26d(0x2b7)](_0x5bafa4[_0x2cb26d(0x4de)](()=>_0x460984['complete']()));const _0x3e3951=new _0x1a688c[(_0x2cb26d(0x546))]();_0x3c3104[_0x2cb26d(0x2b7)](_0x154405[_0x2cb26d(0x3c8)][_0x2cb26d(0x239)](_0x4d10a3=>{const _0x2077c2=_0x10e983(_0x4d10a3);_0x3e3951['next'](_0x2077c2);})),_0x3c3104[_0x2cb26d(0x2b7)](_0x5bafa4[_0x2cb26d(0x4de)](()=>_0x3e3951[_0x2cb26d(0x1fa)]()));let _0x2f5ca1;const _0x25c373=()=>{var _0x39846c=_0x2cb26d;_0x460984['next'](new Event('connection\x20error')),_0xe7cee[_0x39846c(0x543)](new Event('connection\x20error')),_0x2f5ca1['close']();};return _0x2f5ca1={'memberID':'','close$':_0xe7cee[_0x2cb26d(0x340)](),'error$':_0x460984[_0x2cb26d(0x340)](),'open$':_0x154405[_0x2cb26d(0x3fb)],'message$':_0x3e3951[_0x2cb26d(0x340)](),'send':_0x2aaa93=>{var _0x398870=_0x2cb26d;if(_0x2aaa93[_0x398870(0x38d)]===_0x46dd39[_0x398870(0x313)]){if(_0x2aaa93[_0x398870(0x285)]['eventID']===_0x3ab606[_0x398870(0x260)][_0x398870(0x3ca)]){this[_0x398870(0x290)](_0x2f5ca1,_0x2aaa93[_0x398870(0x285)])[_0x398870(0x506)](_0x137334=>{var _0x2ef660=_0x398870;this[_0x2ef660(0x4dc)][_0x2ef660(0x3f5)](_0x137334),_0x25c373();});return;}if(_0x2aaa93[_0x398870(0x285)]['eventID']===_0x3ab606['CollaborationEvent'][_0x398870(0x53d)]){const _0x185ae8=_0x2aaa93[_0x398870(0x285)];this[_0x398870(0x56d)](_0x185ae8)[_0x398870(0x46e)](_0x1b6a23=>{var _0x56ab13=_0x398870;_0x3e3951[_0x56ab13(0x543)]({'cmd':_0x46dd39[_0x56ab13(0x2dd)],'code':_0x25b6a7['OK'],'routeKey':_0x185ae8[_0x56ab13(0x285)][_0x56ab13(0x345)],'routeType':'','data':{'eventID':_0x3ab606[_0x56ab13(0x260)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1b6a23}}});})[_0x398870(0x506)](_0x1f8686=>{var _0x2ca454=_0x398870;this['_logService'][_0x2ca454(0x3f5)](_0x1f8686),_0x25c373();});return;}}_0x154405[_0x398870(0x2a8)](_0x52cb3a(_0x2aaa93));},'close':()=>{var _0x1df99a=_0x2cb26d;_0x154405[_0x1df99a(0x41a)](),_0x3c3104[_0x1df99a(0x508)]();}},_0x2f5ca1;}async[_0x3d1808(0x290)](_0x238533,_0x1c24b){var _0x151791=_0x3d1808,_0x10092b;const {unitType:_0x14ea5c,unitID:_0x5d5242,changeset:_0x4a2dee}=_0x1c24b[_0x151791(0x285)],_0x4e7ea8={'unitID':_0x5d5242,'memberID':_0x238533[_0x151791(0x3e9)],'type':_0x14ea5c,'changeset':_0x3ab606[_0x151791(0x430)](_0x4a2dee)},_0x28b844=this[_0x151791(0x4ee)][_0x151791(0x38b)](_0x755dce),_0xf3272a=_0x277bec((_0x10092b=_0x28b844==null?void 0x0:_0x28b844[_0x151791(0x452)])!=null?_0x10092b:_0x339a5b,_0x14ea5c,_0x5d5242);try{await this[_0x151791(0x48b)][_0x151791(0x2df)](_0xf3272a,{'body':_0x4e7ea8});}catch(_0x480deb){throw this[_0x151791(0x4dc)]['error'](_0x151791(0x2bd),_0x151791(0x4d0)),_0x480deb;}}async[_0x3d1808(0x56d)](_0x246e2b){var _0x5da50c=_0x3d1808;const {unitID:_0x31ec11,from:_0x54062c,to:_0x154199,unitType:_0x3ab83b}=_0x246e2b[_0x5da50c(0x285)];return(await this[_0x5da50c(0x2ec)][_0x5da50c(0x54b)]({'metadata':void 0x0},{'unitID':_0x31ec11,'type':_0x3ab83b,'from':_0x54062c,'to':_0x154199}))[_0x5da50c(0x466)][_0x5da50c(0x51a)](_0x365d3d=>((_0x365d3d[_0x5da50c(0x4f4)]===null||_0x365d3d[_0x5da50c(0x4f4)]===void 0x0)&&(_0x365d3d[_0x5da50c(0x4f4)]=[]),_0x365d3d));}},_0x1065a7['CollaborationSocketService']=_0x4e4b0f([_0xd7c4dc(0x0,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xd7c4dc(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x24f178[_0x3d1808(0x2c9)])),_0xd7c4dc(0x2,_0x5bafa4['IConfigService']),_0xd7c4dc(0x3,_0x5bafa4[_0x3d1808(0x528)]),_0xd7c4dc(0x4,_0x3ab606[_0x3d1808(0x2cc)])],_0x1065a7[_0x3d1808(0x437)]);var _0x1b2be1=Object[_0x3d1808(0x3cf)],_0x4dbe5b=(_0x205809,_0x5cc6f9,_0x4b9930,_0x27fbfb)=>{var _0x2e6a8f=_0x3d1808;for(var _0x17b714=_0x27fbfb>0x1?void 0x0:_0x27fbfb?_0x1b2be1(_0x5cc6f9,_0x4b9930):_0x5cc6f9,_0x1a403e=_0x205809[_0x2e6a8f(0x3c5)]-0x1,_0x24d62f;_0x1a403e>=0x0;_0x1a403e--)(_0x24d62f=_0x205809[_0x1a403e])&&(_0x17b714=_0x24d62f(_0x17b714)||_0x17b714);return _0x17b714;},_0x3ff668=(_0x89c054,_0x147586)=>(_0xc29bab,_0x4c34d7)=>_0x147586(_0xc29bab,_0x4c34d7,_0x89c054);_0x1065a7[_0x3d1808(0x492)]=class extends _0x5bafa4[_0x3d1808(0x40c)]{constructor(_0x550df8,_0x240e33,_0x2ede03,_0x494b70,_0x3b6aec,_0x24f77f){var _0x19a584=_0x3d1808;super(),_0x3fc7c7(this,_0x19a584(0x47f),new _0x1a688c[(_0x19a584(0x1f8))](void 0x0)),_0x3fc7c7(this,_0x19a584(0x4a3),this[_0x19a584(0x47f)][_0x19a584(0x340)]()),_0x3fc7c7(this,_0x19a584(0x2a7),null),_0x3fc7c7(this,_0x19a584(0x34f),new Map()),_0x3fc7c7(this,_0x19a584(0x284),new _0x1a688c['BehaviorSubject'](_0x4b7463[_0x19a584(0x464)])),_0x3fc7c7(this,_0x19a584(0x31c),this[_0x19a584(0x284)][_0x19a584(0x340)]()),_0x3fc7c7(this,_0x19a584(0x38c),!0x1),_0x3fc7c7(this,_0x19a584(0x463)),_0x3fc7c7(this,_0x19a584(0x4e5),0x0),_0x3fc7c7(this,_0x19a584(0x52c)),_0x3fc7c7(this,_0x19a584(0x22e)),(this[_0x19a584(0x50f)]=_0x550df8,this[_0x19a584(0x4dc)]=_0x240e33,this[_0x19a584(0x4ee)]=_0x2ede03,this[_0x19a584(0x4d7)]=_0x494b70,this['_collaborationUIEventService']=_0x3b6aec,this[_0x19a584(0x1ff)]=_0x24f77f,this['_listenToNetworkCondition']());}get[_0x3d1808(0x1d5)](){var _0x3a9830=_0x3d1808;return this['_socket$'][_0x3a9830(0x2e2)]();}[_0x3d1808(0x2dc)](){var _0x4f7d55=_0x3d1808;this[_0x4f7d55(0x1ff)]&&this[_0x4f7d55(0x44e)](this['_networkConditionService'][_0x4f7d55(0x3aa)][_0x4f7d55(0x239)](_0x2a0557=>{var _0x5ab99a=_0x4f7d55;_0x2a0557&&!this[_0x5ab99a(0x1d5)]&&this[_0x5ab99a(0x4bd)](),_0x2a0557||this['_onOffline']();}));}[_0x3d1808(0x508)](){var _0x304e59=_0x3d1808;super['dispose'](),this[_0x304e59(0x237)](),this[_0x304e59(0x2ee)](),this[_0x304e59(0x301)](),this[_0x304e59(0x34f)][_0x304e59(0x27c)](_0x59cb6a=>_0x59cb6a[_0x304e59(0x508)]()),this[_0x304e59(0x34f)][_0x304e59(0x334)](),this['_status$']['complete']();}async[_0x3d1808(0x3ed)](_0x2878a3){var _0x4b51ec=_0x3d1808;if(this[_0x4b51ec(0x34f)]['has'](_0x2878a3))return this[_0x4b51ec(0x34f)][_0x4b51ec(0x3f0)](_0x2878a3);this['_tryEnsureSocket']();const _0x3d0098=this[_0x4b51ec(0x50f)][_0x4b51ec(0x3af)](_0x1065a7[_0x4b51ec(0x3cb)],_0x2878a3,this[_0x4b51ec(0x47f)][_0x4b51ec(0x340)]());return this[_0x4b51ec(0x34f)][_0x4b51ec(0x373)](_0x2878a3,_0x3d0098),_0x3d0098;}[_0x3d1808(0x352)](_0x4167e1){var _0xe300b9=_0x3d1808,_0x56d1c8;const _0xc48105=this['_sessions'][_0xe300b9(0x3f0)](_0x4167e1);_0xc48105&&(this[_0xe300b9(0x34f)][_0xe300b9(0x33a)](_0x4167e1),_0xc48105[_0xe300b9(0x41a)]()),this[_0xe300b9(0x34f)][_0xe300b9(0x44c)]||(_0x56d1c8=this[_0xe300b9(0x1d5)])==null||_0x56d1c8[_0xe300b9(0x41a)]();}[_0x3d1808(0x4bd)](){var _0x611633=_0x3d1808;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x611633(0x468)]();}[_0x3d1808(0x237)](){var _0x505ffa=_0x3d1808;this[_0x505ffa(0x463)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x505ffa(0x463)]=null);}async['_createSocket'](){var _0x45d412=_0x3d1808,_0x455425;const _0x26e2a3=this['_configService']['getConfig'](_0x755dce),_0x497516=(_0x455425=_0x26e2a3==null?void 0x0:_0x26e2a3[_0x45d412(0x4c6)])!=null?_0x455425:_0x38d231,_0x2aa758=await this[_0x45d412(0x4d7)][_0x45d412(0x2bf)](_0x497516);return this[_0x45d412(0x2a7)]=_0x2aa758,_0x2aa758;}async[_0x3d1808(0x288)](){var _0x59d27a=_0x3d1808,_0x3b5ab6,_0x31225f;try{const _0x229c54=(_0x31225f=(_0x3b5ab6=this[_0x59d27a(0x1d5)])!=null?_0x3b5ab6:this['_candidateSocket'])!=null?_0x31225f:await this[_0x59d27a(0x53b)]();if(_0x229c54){const _0x39c3f1=_0x229c54['send'];_0x229c54[_0x59d27a(0x2a8)]=_0x167d5c=>(this[_0x59d27a(0x30d)](),_0x39c3f1[_0x59d27a(0x410)](_0x229c54,[_0x167d5c])),_0x229c54[_0x59d27a(0x3c8)]['subscribe'](_0x2a6744=>this[_0x59d27a(0x3ad)](_0x229c54,_0x2a6744)),_0x229c54[_0x59d27a(0x2d2)]['pipe'](_0xd6074['take'](0x1))[_0x59d27a(0x239)](_0x573487=>this[_0x59d27a(0x4dc)][_0x59d27a(0x3f5)](_0x59d27a(0x556),_0x573487)),_0x229c54[_0x59d27a(0x3fb)][_0x59d27a(0x24d)](_0xd6074[_0x59d27a(0x390)](0x1))[_0x59d27a(0x239)](()=>{var _0x5b8271=_0x59d27a;this[_0x5b8271(0x305)](_0x229c54);}),_0x229c54[_0x59d27a(0x4c1)][_0x59d27a(0x24d)](_0xd6074[_0x59d27a(0x390)](0x1))[_0x59d27a(0x239)](_0x2200f7=>{var _0x504bc3=_0x59d27a;this[_0x504bc3(0x4dc)][_0x504bc3(0x206)](_0x504bc3(0x2e7),_0x504bc3(0x1fc),_0x2200f7),this[_0x504bc3(0x4eb)]();});}}catch(_0x5e164f){this[_0x59d27a(0x4dc)][_0x59d27a(0x3f5)](_0x5e164f),this[_0x59d27a(0x4eb)]();}}[_0x3d1808(0x305)](_0x1988a9){var _0x2f08f4=_0x3d1808;this[_0x2f08f4(0x4dc)]['debug'](_0x2f08f4(0x2e7),'socket\x20open.'),_0x1988a9[_0x2f08f4(0x2a8)]({'cmd':_0x46dd39[_0x2f08f4(0x416)]}),this[_0x2f08f4(0x30d)]();}['_onOffline'](){var _0x52496b=_0x3d1808;this[_0x52496b(0x38c)]=!0x1,this[_0x52496b(0x2a7)]=null,this[_0x52496b(0x284)][_0x52496b(0x543)](_0x4b7463['OFFLINE']),this[_0x52496b(0x47f)][_0x52496b(0x543)](null),this[_0x52496b(0x2ee)](),this['_clearHeartbeatTimer']();}[_0x3d1808(0x4eb)](){var _0x24860e=_0x3d1808,_0xa7094c;this[_0x24860e(0x4ca)](),this['_retryCount']<((_0xa7094c=this[_0x24860e(0x4ee)][_0x24860e(0x38b)](_0x589908))!=null?_0xa7094c:0x3)?(this[_0x24860e(0x387)][_0x24860e(0x3e2)]({'id':_0x38090c['SOCKET_FAILED_RETRY']}),this[_0x24860e(0x468)]()):this['_collaborationUIEventService'][_0x24860e(0x3e2)]({'id':_0x38090c[_0x24860e(0x460)]});}[_0x3d1808(0x468)](){var _0x295feb=_0x3d1808,_0x5669c6;const _0x2f8c38=this[_0x295feb(0x4e5)],_0xf1c089=this[_0x295feb(0x4ee)][_0x295feb(0x38b)](_0x755dce),_0x1ebfbc=_0x2f8c38===0x0?0x0:((_0x5669c6=_0xf1c089==null?void 0x0:_0xf1c089['retryConnectingInterval'])!=null?_0x5669c6:0x4e20)*0x2**_0x2f8c38;this['_retryConnectingTimer']=setTimeout(()=>{var _0x427185=_0x295feb;clearTimeout(this[_0x427185(0x463)]),this[_0x427185(0x463)]=null,this[_0x427185(0x288)]();},_0x1ebfbc),this[_0x295feb(0x4e5)]+=0x1;}[_0x3d1808(0x3ad)](_0x42cd48,_0x4f3225){var _0x3e89cc=_0x3d1808;const {cmd:_0x5325b6}=_0x4f3225;_0x5325b6===_0x46dd39[_0x3e89cc(0x416)]&&!this[_0x3e89cc(0x38c)]&&(_0x42cd48[_0x3e89cc(0x3e9)]=_0x4f3225[_0x3e89cc(0x285)][_0x3e89cc(0x3e9)],this[_0x3e89cc(0x47f)][_0x3e89cc(0x543)](_0x42cd48),this[_0x3e89cc(0x284)]['next'](_0x4b7463[_0x3e89cc(0x2d4)]),this[_0x3e89cc(0x38c)]=!0x0,this[_0x3e89cc(0x2a7)]=null),_0x5325b6===_0x46dd39[_0x3e89cc(0x392)]&&this[_0x3e89cc(0x2ee)](),this[_0x3e89cc(0x30d)]();}[_0x3d1808(0x30d)](){var _0x2dc102=_0x3d1808,_0x51bfa8;this[_0x2dc102(0x301)](),this[_0x2dc102(0x52c)]=setTimeout(()=>this[_0x2dc102(0x3a1)](),(_0x51bfa8=this['_configService'][_0x2dc102(0x38b)](_0x38c58d))!=null?_0x51bfa8:0x7530);}['_sendHeartbeat'](){var _0x374c31=_0x3d1808;this['_socket'][_0x374c31(0x2a8)]({'cmd':_0x46dd39[_0x374c31(0x392)]}),this['_waitForHeartbeatResponse']();}[_0x3d1808(0x2ac)](){var _0x4cc43a=_0x3d1808,_0xc29997;this[_0x4cc43a(0x22e)]=setTimeout(()=>this[_0x4cc43a(0x4eb)](),(_0xc29997=this[_0x4cc43a(0x4ee)]['getConfig'](_0x3d06ad))!=null?_0xc29997:0x4e20);}[_0x3d1808(0x301)](){var _0x20a3ad=_0x3d1808;this[_0x20a3ad(0x52c)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x20a3ad(0x52c)]=null);}[_0x3d1808(0x2ee)](){var _0x212729=_0x3d1808;this[_0x212729(0x22e)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x212729(0x22e)]=null);}},_0x1065a7[_0x3d1808(0x492)]=_0x4dbe5b([_0x3ff668(0x0,_0x5bafa4['Inject'](_0x5bafa4[_0x3d1808(0x511)])),_0x3ff668(0x1,_0x5bafa4[_0x3d1808(0x528)]),_0x3ff668(0x2,_0x5bafa4['IConfigService']),_0x3ff668(0x3,_0x3dca45),_0x3ff668(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x10cfe4)),_0x3ff668(0x5,_0x5bafa4[_0x3d1808(0x4fa)](_0x206d80))],_0x1065a7[_0x3d1808(0x492)]);var _0x24590c=Object[_0x3d1808(0x3cf)],_0x31ea7e=(_0x125b51,_0x512cec,_0x4e09d1,_0x10b91f)=>{var _0x5281bf=_0x3d1808;for(var _0x49ec9b=_0x10b91f>0x1?void 0x0:_0x10b91f?_0x24590c(_0x512cec,_0x4e09d1):_0x512cec,_0x14564e=_0x125b51[_0x5281bf(0x3c5)]-0x1,_0x4f75e9;_0x14564e>=0x0;_0x14564e--)(_0x4f75e9=_0x125b51[_0x14564e])&&(_0x49ec9b=_0x4f75e9(_0x49ec9b)||_0x49ec9b);return _0x49ec9b;},_0x35aab3=(_0x5a85c8,_0x1b3c91)=>(_0x26b7d2,_0x5b3eb9)=>_0x1b3c91(_0x26b7d2,_0x5b3eb9,_0x5a85c8);_0x1065a7[_0x3d1808(0x54f)]=class extends _0x5bafa4['RxDisposable']{constructor(_0x160966,_0x1172ae,_0x565e86,_0x237004){var _0x167aa1=_0x3d1808,_0xf881fe;super(),_0x3fc7c7(this,_0x167aa1(0x1f9),new Map()),_0x3fc7c7(this,_0x167aa1(0x205),new _0x1a688c[(_0x167aa1(0x546))]()),_0x3fc7c7(this,_0x167aa1(0x324),this[_0x167aa1(0x205)][_0x167aa1(0x340)]()),(this['_injector']=_0x160966,this[_0x167aa1(0x270)]=_0x1172ae,this[_0x167aa1(0x4ee)]=_0x565e86,this[_0x167aa1(0x4b8)]=_0x237004,((_0xf881fe=this['_configService'][_0x167aa1(0x38b)](_0x755dce))==null?void 0x0:_0xf881fe[_0x167aa1(0x3da)])!==!0x1&&this[_0x167aa1(0x3b8)]());}[_0x3d1808(0x508)](){var _0x5a3c71=_0x3d1808;super[_0x5a3c71(0x508)](),this[_0x5a3c71(0x1f9)][_0x5a3c71(0x27c)](_0x6dbfd=>_0x6dbfd[_0x5a3c71(0x508)]()),this[_0x5a3c71(0x1f9)][_0x5a3c71(0x334)]();}[_0x3d1808(0x20f)](_0x12b64b){var _0x347663=_0x3d1808,_0x336c07;return(_0x336c07=this['_entities'][_0x347663(0x3f0)](_0x12b64b))!=null?_0x336c07:null;}['getCollabEntity$'](_0x412cf1){var _0x1b6b6a=_0x3d1808;const _0x2aa862=this[_0x1b6b6a(0x20f)](_0x412cf1);return _0x2aa862?_0x1a688c['of'](_0x2aa862):this['_entityInit$'][_0x1b6b6a(0x24d)](_0xd6074[_0x1b6b6a(0x3d2)](_0x5afbef=>_0x5afbef['unitID']===_0x412cf1));}['readyForCollab'](_0x2d4433){var _0x41db58=_0x3d1808;return _0x1a688c['firstValueFrom'](this[_0x41db58(0x2e4)](_0x2d4433)[_0x41db58(0x24d)](_0xd6074[_0x41db58(0x51a)](()=>{})));}[_0x3d1808(0x3b8)](){var _0x25996c=_0x3d1808;this[_0x25996c(0x4b8)][_0x25996c(0x571)](_0x5bafa4[_0x25996c(0x35e)][_0x25996c(0x246)])['pipe'](_0x1a688c[_0x25996c(0x520)](this[_0x25996c(0x39e)]),_0xd6074[_0x25996c(0x54d)](0x10))[_0x25996c(0x239)](async _0x4dc398=>{var _0xa223a1=_0x25996c;const _0x28e851=_0x4dc398[_0xa223a1(0x323)](),_0x31721a=await this['_startCollaboration'](_0x28e851,_0x32e542[_0xa223a1(0x246)]);this[_0xa223a1(0x1f9)][_0xa223a1(0x373)](_0x28e851,_0x31721a);}),this['_univerInstanceService'][_0x25996c(0x571)](_0x5bafa4[_0x25996c(0x35e)][_0x25996c(0x25d)])[_0x25996c(0x24d)](_0x1a688c['takeUntil'](this[_0x25996c(0x39e)]),_0xd6074[_0x25996c(0x54d)](0x10))[_0x25996c(0x24d)](_0xd6074[_0x25996c(0x3d2)](_0x515e9f=>!_0x515e9f['getUnitId']()[_0x25996c(0x2ae)]('__')))[_0x25996c(0x239)](async _0x3aea00=>{var _0x5b6324=_0x25996c;const _0x4d15ba=_0x3aea00['getUnitId'](),_0x14a46d=await this[_0x5b6324(0x53c)](_0x4d15ba,_0x32e542[_0x5b6324(0x25d)]);this[_0x5b6324(0x1f9)][_0x5b6324(0x373)](_0x4d15ba,_0x14a46d);}),_0x1a688c[_0x25996c(0x46c)](this['_univerInstanceService'][_0x25996c(0x1e5)](_0x5bafa4[_0x25996c(0x35e)][_0x25996c(0x246)]),this[_0x25996c(0x4b8)][_0x25996c(0x1e5)](_0x5bafa4[_0x25996c(0x35e)]['UNIVER_DOC']))['pipe'](_0x1a688c[_0x25996c(0x520)](this['dispose$']))[_0x25996c(0x239)](_0x48e986=>{var _0x3b15b9=_0x25996c;const _0x1ba1c2=_0x48e986['getUnitId'](),_0x1f61fd=this[_0x3b15b9(0x1f9)]['get'](_0x1ba1c2);_0x1f61fd&&(_0x1f61fd[_0x3b15b9(0x508)](),this[_0x3b15b9(0x1f9)][_0x3b15b9(0x33a)](_0x1ba1c2));});}async[_0x3d1808(0x53c)](_0xf20f6a,_0x533c0d){var _0x1d8398=_0x3d1808;const _0x2ca723=await this[_0x1d8398(0x270)]['requireSession'](_0xf20f6a),_0x519f4b=this['_injector'][_0x1d8398(0x3af)](this[_0x1d8398(0x540)](_0x533c0d),_0xf20f6a,_0x533c0d,_0x2ca723);return await _0x519f4b[_0x1d8398(0x456)](),this[_0x1d8398(0x205)][_0x1d8398(0x543)](_0x519f4b),_0x519f4b;}[_0x3d1808(0x540)](_0x85ebf1){var _0x39e085=_0x3d1808;switch(_0x85ebf1){case _0x32e542[_0x39e085(0x25d)]:return _0x1065a7[_0x39e085(0x1e2)];case _0x32e542[_0x39e085(0x246)]:return _0x1065a7[_0x39e085(0x2b2)];default:throw new Error(_0x39e085(0x447)+_0x85ebf1);}}},_0x1065a7[_0x3d1808(0x54f)]=_0x31ea7e([_0x35aab3(0x0,_0x5bafa4['Inject'](_0x5bafa4['Injector'])),_0x35aab3(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x1065a7[_0x3d1808(0x492)])),_0x35aab3(0x2,_0x5bafa4[_0x3d1808(0x34c)]),_0x35aab3(0x3,_0x5bafa4[_0x3d1808(0x443)])],_0x1065a7['CollaborationController']);var _0x41d182=Object[_0x3d1808(0x3cf)],_0x341c67=(_0x721b49,_0x4e299f,_0x3c6a6a,_0xa9fb3b)=>{var _0x4ccf4e=_0x3d1808;for(var _0x15ca73=_0xa9fb3b>0x1?void 0x0:_0xa9fb3b?_0x41d182(_0x4e299f,_0x3c6a6a):_0x4e299f,_0x4e7419=_0x721b49[_0x4ccf4e(0x3c5)]-0x1,_0x104ad6;_0x4e7419>=0x0;_0x4e7419--)(_0x104ad6=_0x721b49[_0x4e7419])&&(_0x15ca73=_0x104ad6(_0x15ca73)||_0x15ca73);return _0x15ca73;},_0xd837c3=(_0x54e0a8,_0x86a765)=>(_0x12aa1c,_0x4d96bc)=>_0x86a765(_0x12aa1c,_0x4d96bc,_0x54e0a8);const _0x24df6a=_0x3d1808(0x1ee),_0x12526f=_0x3d1808(0x28d);let _0x2ed31f=class extends _0x5bafa4['Disposable']{constructor(_0x27929e,_0x5d5d19){var _0x1ed889=_0x3d1808;super(),this[_0x1ed889(0x4b8)]=_0x27929e,this[_0x1ed889(0x4ee)]=_0x5d5d19,this[_0x1ed889(0x3b8)]();}['_init'](){var _0x51d8ad=_0x3d1808;this[_0x51d8ad(0x44e)](this[_0x51d8ad(0x4b8)][_0x51d8ad(0x286)]['subscribe'](()=>{var _0x813891=_0x51d8ad,_0x4596d8;const _0x20ac0b=this[_0x813891(0x4b8)][_0x813891(0x29b)]();let _0x4de574=(_0x4596d8=this['_configService']['getConfig'](_0x24df6a))!=null?_0x4596d8:_0x12526f;_0x20ac0b instanceof _0x5bafa4[_0x813891(0x2a0)]&&(_0x4de574=_0x20ac0b['name']),document['title']=_0x4de574;}));}};_0x2ed31f=_0x341c67([_0xd837c3(0x0,_0x5bafa4[_0x3d1808(0x443)]),_0xd837c3(0x1,_0x5bafa4[_0x3d1808(0x34c)])],_0x2ed31f);var _0x22fdc8=Object[_0x3d1808(0x3cf)],_0x2734d9=(_0x1294fd,_0x385177,_0x42a63a,_0x48284a)=>{var _0x2271cb=_0x3d1808;for(var _0x28a782=_0x48284a>0x1?void 0x0:_0x48284a?_0x22fdc8(_0x385177,_0x42a63a):_0x385177,_0xa1dfe5=_0x1294fd[_0x2271cb(0x3c5)]-0x1,_0x6e2a21;_0xa1dfe5>=0x0;_0xa1dfe5--)(_0x6e2a21=_0x1294fd[_0xa1dfe5])&&(_0x28a782=_0x6e2a21(_0x28a782)||_0x28a782);return _0x28a782;},_0x2405c2=(_0x335734,_0xc2cfe4)=>(_0x621cf9,_0x4ab810)=>_0xc2cfe4(_0x621cf9,_0x4ab810,_0x335734);let _0x4dd8be=class{constructor(_0xf43e4f,_0x50e488,_0x249a6c){var _0x397844=_0x3d1808;this[_0x397844(0x4ee)]=_0xf43e4f,this[_0x397844(0x48b)]=_0x50e488,this['localeService']=_0x249a6c,this[_0x397844(0x456)]();}[_0x3d1808(0x456)](){var _0x2b9eff=_0x3d1808;this[_0x2b9eff(0x48b)][_0x2b9eff(0x252)]({'priority':0x1,'interceptor':(_0x3d77e7,_0x4998f2)=>_0x4998f2(_0x3d77e7)[_0x2b9eff(0x24d)](_0x1a688c[_0x2b9eff(0x440)](async _0x2d858c=>{var _0x1631ad=_0x2b9eff;const _0x4df792=_0x2d858c;if(_0x4df792[_0x1631ad(0x37c)]===0x191){if(typeof window>'u')throw new Error(_0x1631ad(0x4d9));if(window[_0x1631ad(0x454)](this['localeService']['t'](_0x1631ad(0x36a)))){const _0x530c4c=window['encodeURIComponent'](window['location'][_0x1631ad(0x4cd)]);window['location'][_0x1631ad(0x4cd)]=this[_0x1631ad(0x277)]()+_0x1631ad(0x51c)+_0x530c4c;}}return _0x4df792;}))});}[_0x3d1808(0x277)](){var _0x9dfd5c=_0x3d1808,_0x17801d;const _0x3c9022=this[_0x9dfd5c(0x4ee)][_0x9dfd5c(0x38b)](_0x755dce);return(_0x17801d=_0x3c9022==null?void 0x0:_0x3c9022['loginUrlKey'])!=null?_0x17801d:_0x35a1a3;}};_0x4dd8be=_0x2734d9([_0x2405c2(0x0,_0x5bafa4[_0x3d1808(0x34c)]),_0x2405c2(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x24f178[_0x3d1808(0x2c9)])),_0x2405c2(0x2,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x2e1)]))],_0x4dd8be);var _0x10c815=Object[_0x3d1808(0x3cf)],_0xe0afab=(_0x4c0cce,_0x42f4a4,_0x52adc6,_0x200c87)=>{var _0x309c92=_0x3d1808;for(var _0x5edf4a=_0x200c87>0x1?void 0x0:_0x200c87?_0x10c815(_0x42f4a4,_0x52adc6):_0x42f4a4,_0x3b184b=_0x4c0cce[_0x309c92(0x3c5)]-0x1,_0x317211;_0x3b184b>=0x0;_0x3b184b--)(_0x317211=_0x4c0cce[_0x3b184b])&&(_0x5edf4a=_0x317211(_0x5edf4a)||_0x5edf4a);return _0x5edf4a;},_0xda3f86=(_0x453c39,_0x9894bd)=>(_0x93ea30,_0x371f0c)=>_0x9894bd(_0x93ea30,_0x371f0c,_0x453c39);const _0x31c5f9=_0x3d1808(0x318);_0x1065a7[_0x3d1808(0x346)]=class extends _0x5bafa4[_0x3d1808(0x40c)]{constructor(_0x3a1b60,_0x505eb1){var _0x45f17a=_0x3d1808;super(),this[_0x45f17a(0x412)]=_0x3a1b60,this[_0x45f17a(0x4ee)]=_0x505eb1,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x1f6cba=_0x3d1808;const _0x16a756=this;this[_0x1f6cba(0x44e)](this[_0x1f6cba(0x412)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x24f178[_0x1f6cba(0x27f)]({'isMatch'(_0x377ef4){var _0x28f150=_0x1f6cba,_0x3dc056;if(_0x377ef4[_0x28f150(0x40a)]==='POST'&&((_0x3dc056=_0x377ef4[_0x28f150(0x377)])!=null&&_0x3dc056[_0x28f150(0x26c)])){const {objectID:_0x555f5c,objectType:_0x4f9e4f}=_0x377ef4[_0x28f150(0x377)][_0x28f150(0x26c)]||{};if(!_0x555f5c||_0x4f9e4f===void 0x0)return!0x1;const _0x7f08de=_0x16a756[_0x28f150(0x488)]()+'/'+_0x4f9e4f+_0x28f150(0x4af)+_0x555f5c+_0x28f150(0x455);if(_0x377ef4[_0x28f150(0x261)]===_0x7f08de)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x329147){var _0x2bb1dd=_0x1f6cba,_0x2e47d5;return(_0x2e47d5=_0x329147[_0x2bb1dd(0x377)])==null?void 0x0:_0x2e47d5[_0x2bb1dd(0x26c)];},'mergeParamsToRequest'(_0x5600b2,_0xba5b59){var _0x1202a0=_0x1f6cba;const _0x57f406=_0x16a756['_getAPIPrefixPath']()+_0x1202a0(0x358),_0x760aa1=_0x5600b2[_0x1202a0(0x4e9)]((_0x3ae993,_0x27da0e)=>{var _0x115333=_0x1202a0;const {unitID:_0x34bcd8,objectID:_0xa4c730,objectType:_0x39a367,actions:_0x319031}=_0x27da0e;return _0x3ae993[_0x34bcd8]||(_0x3ae993[_0x34bcd8]={}),_0x3ae993[_0x34bcd8][_0xa4c730]||(_0x3ae993[_0x34bcd8][_0xa4c730]={'objectID':_0xa4c730,'objectType':_0x39a367,'actions':[]}),_0x3ae993[_0x34bcd8][_0xa4c730][_0x115333(0x37d)][_0x115333(0x381)](..._0x319031),_0x3ae993;},{}),_0x59702d=[];for(const _0x320ded in _0x760aa1)for(const _0x53c2e9 in _0x760aa1[_0x320ded]){const {actions:_0x3ef924,objectType:_0x18ad92}=_0x760aa1[_0x320ded][_0x53c2e9],_0x3bcc2a=[...new Set(_0x3ef924)];_0x59702d['push']({'unitID':_0x320ded,'objectID':_0x53c2e9,'objectType':_0x18ad92,'actions':_0x3bcc2a});}return new _0x24f178[(_0x1202a0(0x259))](_0x1202a0(0x292),_0x57f406,{'headers':_0xba5b59[_0x1202a0(0x3c4)],'withCredentials':_0xba5b59[_0x1202a0(0x202)],'responseType':_0xba5b59[_0x1202a0(0x4cc)],'body':{'requests':_0x59702d}});}},{'distributeResult'(_0x110cc1,_0x391ac6){var _0x5f4b62=_0x1f6cba;const {objectActions:_0x3af189}=_0x110cc1;return _0x391ac6[_0x5f4b62(0x51a)](_0x3aeca3=>{var _0xdedd4f=_0x5f4b62;const {unitID:_0x1f6b1c,objectID:_0x29656,actions:_0xac45f1}=_0x3aeca3,_0x259568=_0x3af189[_0xdedd4f(0x3b2)](_0x1849d5=>_0x1849d5[_0xdedd4f(0x345)]===_0x1f6b1c&&_0x1849d5[_0xdedd4f(0x34e)]===_0x29656),_0x4e936b=_0xac45f1[_0xdedd4f(0x51a)](_0x213761=>_0x259568==null?void 0x0:_0x259568[_0xdedd4f(0x37d)][_0xdedd4f(0x3b2)](_0x40b27b=>_0x40b27b[_0xdedd4f(0x335)]===_0x213761))[_0xdedd4f(0x3d2)](_0x3b6468=>!!_0x3b6468);return{'config':_0x3aeca3,'result':{'actions':_0x4e936b,'error':_0x110cc1[_0xdedd4f(0x3f5)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4f3b6f=_0x3d1808,_0x22e101;const _0xdf9603=this[_0x4f3b6f(0x4ee)][_0x4f3b6f(0x38b)](_0x755dce);return(_0x22e101=_0xdf9603==null?void 0x0:_0xdf9603[_0x4f3b6f(0x399)])!=null?_0x22e101:_0x31c5f9;}async[_0x3d1808(0x46f)](_0x379736){var _0x189281=_0x3d1808;const _0x22ce2f=this[_0x189281(0x488)]()+'/'+_0x379736[_0x189281(0x475)]+_0x189281(0x21d);return(await this['_HTTPService'][_0x189281(0x2df)](_0x22ce2f,{'body':_0x379736}))[_0x189281(0x26c)][_0x189281(0x34e)]||'';}async[_0x3d1808(0x504)](_0x1026e1){var _0xeb1a32=_0x3d1808;const _0xdfbe5b=this['_getAPIPrefixPath']()+_0xeb1a32(0x549);return(await this[_0xeb1a32(0x412)][_0xeb1a32(0x2df)](_0xdfbe5b,{'body':_0x1026e1}))[_0xeb1a32(0x26c)][_0xeb1a32(0x499)];}async['update'](_0x9062a7){var _0x322fdb=_0x3d1808,_0x1fa674,_0x5b5466;const _0x4e79a5=this['_getAPIPrefixPath']()+'/'+_0x9062a7[_0x322fdb(0x475)]+'/object/'+_0x9062a7[_0x322fdb(0x34e)],_0x59038c=await this['_HTTPService'][_0x322fdb(0x200)](_0x4e79a5,{'body':_0x9062a7});if(((_0x5b5466=(_0x1fa674=_0x59038c==null?void 0x0:_0x59038c[_0x322fdb(0x26c)])==null?void 0x0:_0x1fa674[_0x322fdb(0x3f5)])==null?void 0x0:_0x5b5466[_0x322fdb(0x24b)])!==0x1)throw new Error(_0x322fdb(0x3a7));}async[_0x3d1808(0x1ed)](_0x5b0ae0){var _0x2c9968=_0x3d1808;const _0x28162f=this['_getAPIPrefixPath']()+'/'+_0x5b0ae0[_0x2c9968(0x475)]+_0x2c9968(0x4af)+_0x5b0ae0['objectID']+_0x2c9968(0x455);return(await this[_0x2c9968(0x412)][_0x2c9968(0x2df)](_0x28162f,{'body':_0x5b0ae0}))['body']['actions'];}async['batchAllowed'](_0x5bd9f4){var _0x569386=_0x3d1808;const _0x30eda5=this[_0x569386(0x488)]()+_0x569386(0x358);return(await this[_0x569386(0x412)][_0x569386(0x2df)](_0x30eda5,{'body':{'requests':_0x5bd9f4}}))[_0x569386(0x26c)][_0x569386(0x4e1)];}async[_0x3d1808(0x351)](_0x358d9d){var _0x1e669d=_0x3d1808;const _0x2a744f=this[_0x1e669d(0x488)]()+'/'+_0x358d9d[_0x1e669d(0x475)]+_0x1e669d(0x420),_0x59ada8=await this['_HTTPService']['post'](_0x2a744f,{'body':_0x358d9d});return{'roles':_0x59ada8[_0x1e669d(0x26c)][_0x1e669d(0x496)],'actions':_0x59ada8['body'][_0x1e669d(0x37d)]};}async[_0x3d1808(0x36e)](_0x70083e){var _0x3034fc=_0x3d1808;const _0x119331=this['_getAPIPrefixPath']()+_0x3034fc(0x22a);await this[_0x3034fc(0x412)]['delete'](_0x119331,{'params':{'collaboratorID':_0x70083e['collaboratorID'],'objectID':_0x70083e[_0x3034fc(0x34e)],'unitID':_0x70083e['unitID']}});}async[_0x3d1808(0x380)](_0x4234eb){var _0x154bfa=_0x3d1808;const _0x3df009=this[_0x154bfa(0x488)]()+_0x154bfa(0x22a);await this[_0x154bfa(0x412)]['patch'](_0x3df009,{'body':_0x4234eb});}async['createCollaborator'](_0x492608){var _0x157c77=_0x3d1808;const _0x27a264=this[_0x157c77(0x488)]()+_0x157c77(0x22a);await this[_0x157c77(0x412)][_0x157c77(0x2df)](_0x27a264,{'body':_0x492608});}async[_0x3d1808(0x322)](_0x128ef7){var _0x147dae=_0x3d1808;const _0x30efb3=this['_getAPIPrefixPath']()+_0x147dae(0x22a);return(await this[_0x147dae(0x412)][_0x147dae(0x3f0)](_0x30efb3,{'params':{'objectID':_0x128ef7[_0x147dae(0x34e)],'unitID':_0x128ef7[_0x147dae(0x345)]}}))[_0x147dae(0x26c)][_0x147dae(0x20d)];}async[_0x3d1808(0x42c)](_0x2d26af){var _0x76fb7=_0x3d1808;const _0x54e70b=this[_0x76fb7(0x488)]()+_0x76fb7(0x22a);await this[_0x76fb7(0x412)][_0x76fb7(0x200)](_0x54e70b,{'body':_0x2d26af});}},_0x1065a7[_0x3d1808(0x346)]=_0xe0afab([_0xda3f86(0x0,_0x5bafa4[_0x3d1808(0x317)](_0x24f178[_0x3d1808(0x2c9)])),_0xda3f86(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x34c)]))],_0x1065a7['AuthzIoHttpService']);var _0x9c23c3=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x14f116(_0x580e86){var _0x436093=_0x3d1808;return _0x580e86&&_0x580e86['__esModule']&&Object[_0x436093(0x236)][_0x436093(0x2b4)][_0x436093(0x37a)](_0x580e86,_0x436093(0x32d))?_0x580e86[_0x436093(0x32d)]:_0x580e86;}var _0x692448={'exports':{}};function _0x474c64(_0x35fd1b){var _0x238e0f=_0x3d1808;throw new Error(_0x238e0f(0x272)+_0x35fd1b+_0x238e0f(0x262));}var _0x3124de={'exports':{}},_0xd4d5c4=_0x3124de['exports'],_0x13502d;function _0x1257fc(){var _0x4735df=_0x3d1808;return _0x13502d||(_0x13502d=0x1,function(_0x4c0c69,_0x2d5646){(function(_0x33c5f6,_0x47a70d){var _0x2d9365=_0x58ee;_0x4c0c69[_0x2d9365(0x1f7)]=_0x47a70d();}(_0xd4d5c4,function(){var _0x593a86=_0x593a86||function(_0x44a2a1,_0xa49f6e){var _0x870886=_0x58ee,_0x52ce10;if(typeof window<'u'&&window['crypto']&&(_0x52ce10=window[_0x870886(0x533)]),typeof self<'u'&&self['crypto']&&(_0x52ce10=self[_0x870886(0x533)]),typeof globalThis<'u'&&globalThis[_0x870886(0x533)]&&(_0x52ce10=globalThis['crypto']),!_0x52ce10&&typeof window<'u'&&window['msCrypto']&&(_0x52ce10=window['msCrypto']),!_0x52ce10&&typeof _0x9c23c3<'u'&&_0x9c23c3[_0x870886(0x533)]&&(_0x52ce10=_0x9c23c3['crypto']),!_0x52ce10&&typeof _0x474c64==_0x870886(0x32a))try{_0x52ce10=require('crypto');}catch{}var _0x1cc06f=function(){var _0x1ca23a=_0x870886;if(_0x52ce10){if(typeof _0x52ce10[_0x1ca23a(0x2b8)]==_0x1ca23a(0x32a))try{return _0x52ce10['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x52ce10[_0x1ca23a(0x253)]==_0x1ca23a(0x32a))try{return _0x52ce10[_0x1ca23a(0x253)](0x4)[_0x1ca23a(0x4ac)]();}catch{}}throw new Error(_0x1ca23a(0x28c));},_0x2febba=Object[_0x870886(0x46f)]||(function(){function _0x3b00b3(){}return function(_0x5bd3a0){var _0x192c2f=_0x58ee,_0x4a61ba;return _0x3b00b3['prototype']=_0x5bd3a0,_0x4a61ba=new _0x3b00b3(),_0x3b00b3[_0x192c2f(0x236)]=null,_0x4a61ba;};}()),_0x55f658={},_0x3f21a7=_0x55f658[_0x870886(0x1fd)]={},_0x665ea4=_0x3f21a7[_0x870886(0x3c1)]=(function(){return{'extend':function(_0x7329ea){var _0x389d7c=_0x58ee,_0x73eec5=_0x2febba(this);return _0x7329ea&&_0x73eec5['mixIn'](_0x7329ea),(!_0x73eec5[_0x389d7c(0x2b4)](_0x389d7c(0x456))||this['init']===_0x73eec5[_0x389d7c(0x456)])&&(_0x73eec5['init']=function(){var _0x376206=_0x389d7c;_0x73eec5[_0x376206(0x521)][_0x376206(0x456)]['apply'](this,arguments);}),_0x73eec5['init'][_0x389d7c(0x236)]=_0x73eec5,_0x73eec5['$super']=this,_0x73eec5;},'create':function(){var _0x24c210=_0x58ee,_0x4eab8a=this[_0x24c210(0x34d)]();return _0x4eab8a[_0x24c210(0x456)]['apply'](_0x4eab8a,arguments),_0x4eab8a;},'init':function(){},'mixIn':function(_0x4926b5){var _0x24aeb0=_0x58ee;for(var _0x3e2934 in _0x4926b5)_0x4926b5[_0x24aeb0(0x2b4)](_0x3e2934)&&(this[_0x3e2934]=_0x4926b5[_0x3e2934]);_0x4926b5[_0x24aeb0(0x2b4)]('toString')&&(this[_0x24aeb0(0x250)]=_0x4926b5['toString']);},'clone':function(){var _0x1ddea4=_0x58ee;return this[_0x1ddea4(0x456)]['prototype'][_0x1ddea4(0x34d)](this);}};}()),_0x34dec6=_0x3f21a7[_0x870886(0x273)]=_0x665ea4[_0x870886(0x34d)]({'init':function(_0x106d21,_0x32c472){var _0x3646ed=_0x870886;_0x106d21=this[_0x3646ed(0x240)]=_0x106d21||[],_0x32c472!=_0xa49f6e?this['sigBytes']=_0x32c472:this['sigBytes']=_0x106d21[_0x3646ed(0x3c5)]*0x4;},'toString':function(_0x64d5f1){var _0x4adc33=_0x870886;return(_0x64d5f1||_0x5f1025)[_0x4adc33(0x3c7)](this);},'concat':function(_0x23b8ef){var _0x230156=_0x870886,_0x3859ed=this[_0x230156(0x240)],_0x5ebc2a=_0x23b8ef['words'],_0x59d1ec=this[_0x230156(0x4f8)],_0xf52a7c=_0x23b8ef[_0x230156(0x4f8)];if(this['clamp'](),_0x59d1ec%0x4)for(var _0x27423f=0x0;_0x27423f<_0xf52a7c;_0x27423f++){var _0x49ca17=_0x5ebc2a[_0x27423f>>>0x2]>>>0x18-_0x27423f%0x4*0x8&0xff;_0x3859ed[_0x59d1ec+_0x27423f>>>0x2]|=_0x49ca17<<0x18-(_0x59d1ec+_0x27423f)%0x4*0x8;}else{for(var _0x1635b3=0x0;_0x1635b3<_0xf52a7c;_0x1635b3+=0x4)_0x3859ed[_0x59d1ec+_0x1635b3>>>0x2]=_0x5ebc2a[_0x1635b3>>>0x2];}return this['sigBytes']+=_0xf52a7c,this;},'clamp':function(){var _0x56e115=_0x870886,_0x3cd423=this[_0x56e115(0x240)],_0x426ead=this[_0x56e115(0x4f8)];_0x3cd423[_0x426ead>>>0x2]&=0xffffffff<<0x20-_0x426ead%0x4*0x8,_0x3cd423['length']=_0x44a2a1[_0x56e115(0x33e)](_0x426ead/0x4);},'clone':function(){var _0x135899=_0x870886,_0x219c3f=_0x665ea4['clone']['call'](this);return _0x219c3f[_0x135899(0x240)]=this[_0x135899(0x240)][_0x135899(0x3f8)](0x0),_0x219c3f;},'random':function(_0x5b4652){var _0x2fad71=_0x870886;for(var _0x213a43=[],_0x11763a=0x0;_0x11763a<_0x5b4652;_0x11763a+=0x4)_0x213a43[_0x2fad71(0x381)](_0x1cc06f());return new _0x34dec6[(_0x2fad71(0x456))](_0x213a43,_0x5b4652);}}),_0x3e52e5=_0x55f658[_0x870886(0x30e)]={},_0x5f1025=_0x3e52e5[_0x870886(0x1ea)]={'stringify':function(_0x10083f){var _0x55d19e=_0x870886;for(var _0x35f6ec=_0x10083f['words'],_0x59b889=_0x10083f[_0x55d19e(0x4f8)],_0x27c3ca=[],_0x4f066b=0x0;_0x4f066b<_0x59b889;_0x4f066b++){var _0x33563f=_0x35f6ec[_0x4f066b>>>0x2]>>>0x18-_0x4f066b%0x4*0x8&0xff;_0x27c3ca[_0x55d19e(0x381)]((_0x33563f>>>0x4)[_0x55d19e(0x250)](0x10)),_0x27c3ca[_0x55d19e(0x381)]((_0x33563f&0xf)[_0x55d19e(0x250)](0x10));}return _0x27c3ca[_0x55d19e(0x47c)]('');},'parse':function(_0xb8ba1b){var _0xcbc14e=_0x870886;for(var _0x458a00=_0xb8ba1b[_0xcbc14e(0x3c5)],_0xca22f6=[],_0x361270=0x0;_0x361270<_0x458a00;_0x361270+=0x2)_0xca22f6[_0x361270>>>0x3]|=parseInt(_0xb8ba1b[_0xcbc14e(0x432)](_0x361270,0x2),0x10)<<0x18-_0x361270%0x8*0x4;return new _0x34dec6[(_0xcbc14e(0x456))](_0xca22f6,_0x458a00/0x2);}},_0x43aec1=_0x3e52e5[_0x870886(0x25c)]={'stringify':function(_0x1790d8){var _0x2bf803=_0x870886;for(var _0x38355a=_0x1790d8[_0x2bf803(0x240)],_0x10d382=_0x1790d8[_0x2bf803(0x4f8)],_0x5dc1ca=[],_0x3b8503=0x0;_0x3b8503<_0x10d382;_0x3b8503++){var _0x5c02e0=_0x38355a[_0x3b8503>>>0x2]>>>0x18-_0x3b8503%0x4*0x8&0xff;_0x5dc1ca[_0x2bf803(0x381)](String['fromCharCode'](_0x5c02e0));}return _0x5dc1ca['join']('');},'parse':function(_0x4beecd){var _0x308161=_0x870886;for(var _0x222ae2=_0x4beecd[_0x308161(0x3c5)],_0x437814=[],_0x273913=0x0;_0x273913<_0x222ae2;_0x273913++)_0x437814[_0x273913>>>0x2]|=(_0x4beecd[_0x308161(0x4a4)](_0x273913)&0xff)<<0x18-_0x273913%0x4*0x8;return new _0x34dec6['init'](_0x437814,_0x222ae2);}},_0x33da3c=_0x3e52e5[_0x870886(0x4ec)]={'stringify':function(_0x29deb9){var _0xaa1a8f=_0x870886;try{return decodeURIComponent(escape(_0x43aec1[_0xaa1a8f(0x3c7)](_0x29deb9)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x51adec){return _0x43aec1['parse'](unescape(encodeURIComponent(_0x51adec)));}},_0x2ffae=_0x3f21a7[_0x870886(0x3bf)]=_0x665ea4[_0x870886(0x34d)]({'reset':function(){var _0x3fca07=_0x870886;this[_0x3fca07(0x38f)]=new _0x34dec6[(_0x3fca07(0x456))](),this[_0x3fca07(0x2cd)]=0x0;},'_append':function(_0x896e02){var _0x4e5e69=_0x870886;typeof _0x896e02==_0x4e5e69(0x2da)&&(_0x896e02=_0x33da3c[_0x4e5e69(0x43e)](_0x896e02)),this[_0x4e5e69(0x38f)][_0x4e5e69(0x4bb)](_0x896e02),this[_0x4e5e69(0x2cd)]+=_0x896e02[_0x4e5e69(0x4f8)];},'_process':function(_0x465472){var _0xffb040=_0x870886,_0x49084a,_0x35cd7d=this[_0xffb040(0x38f)],_0x5b28c4=_0x35cd7d['words'],_0xcfd9c4=_0x35cd7d[_0xffb040(0x4f8)],_0x5269d5=this[_0xffb040(0x56b)],_0x5b17ea=_0x5269d5*0x4,_0x133de8=_0xcfd9c4/_0x5b17ea;_0x465472?_0x133de8=_0x44a2a1['ceil'](_0x133de8):_0x133de8=_0x44a2a1['max']((_0x133de8|0x0)-this['_minBufferSize'],0x0);var _0x4b894b=_0x133de8*_0x5269d5,_0x1232ed=_0x44a2a1[_0xffb040(0x3f6)](_0x4b894b*0x4,_0xcfd9c4);if(_0x4b894b){for(var _0x1fcb26=0x0;_0x1fcb26<_0x4b894b;_0x1fcb26+=_0x5269d5)this[_0xffb040(0x3e5)](_0x5b28c4,_0x1fcb26);_0x49084a=_0x5b28c4[_0xffb040(0x2b3)](0x0,_0x4b894b),_0x35cd7d[_0xffb040(0x4f8)]-=_0x1232ed;}return new _0x34dec6[(_0xffb040(0x456))](_0x49084a,_0x1232ed);},'clone':function(){var _0x143f57=_0x870886,_0x384969=_0x665ea4[_0x143f57(0x4e8)]['call'](this);return _0x384969[_0x143f57(0x38f)]=this[_0x143f57(0x38f)][_0x143f57(0x4e8)](),_0x384969;},'_minBufferSize':0x0});_0x3f21a7[_0x870886(0x372)]=_0x2ffae[_0x870886(0x34d)]({'cfg':_0x665ea4[_0x870886(0x34d)](),'init':function(_0x197819){var _0x418244=_0x870886;this[_0x418244(0x221)]=this[_0x418244(0x221)][_0x418244(0x34d)](_0x197819),this[_0x418244(0x20a)]();},'reset':function(){var _0xd5efe7=_0x870886;_0x2ffae[_0xd5efe7(0x20a)][_0xd5efe7(0x37a)](this),this[_0xd5efe7(0x312)]();},'update':function(_0x2e5b30){var _0x1aa524=_0x870886;return this[_0x1aa524(0x39f)](_0x2e5b30),this[_0x1aa524(0x1e6)](),this;},'finalize':function(_0x40f87f){var _0x3ca933=_0x870886;_0x40f87f&&this[_0x3ca933(0x39f)](_0x40f87f);var _0x998f64=this[_0x3ca933(0x243)]();return _0x998f64;},'blockSize':0x10,'_createHelper':function(_0x3c1296){return function(_0x5da26b,_0x14e582){var _0x3d803=_0x58ee;return new _0x3c1296[(_0x3d803(0x456))](_0x14e582)['finalize'](_0x5da26b);};},'_createHmacHelper':function(_0x2f1e26){return function(_0x2c0676,_0xb89108){var _0x4c0b3c=_0x58ee;return new _0x1ce893['HMAC'][(_0x4c0b3c(0x456))](_0x2f1e26,_0xb89108)['finalize'](_0x2c0676);};}});var _0x1ce893=_0x55f658['algo']={};return _0x55f658;}(Math);return _0x593a86;}));}(_0x3124de)),_0x3124de[_0x4735df(0x1f7)];}var _0x3fbb19={'exports':{}},_0x55247a=_0x3fbb19[_0x3d1808(0x1f7)],_0x10875b;function _0x294be0(){var _0x4d3365=_0x3d1808;return _0x10875b||(_0x10875b=0x1,function(_0x4a9d46,_0x9901df){(function(_0x1fa050,_0x25fd2b){_0x4a9d46['exports']=_0x25fd2b(_0x1257fc());}(_0x55247a,function(_0x4f844b){var _0x48a4ac=_0x58ee;return(function(){var _0xdf0f8c=_0x58ee,_0x55942a=_0x4f844b,_0x11bafa=_0x55942a['lib'],_0x51b4e1=_0x11bafa[_0xdf0f8c(0x273)],_0x35a8a8=_0x55942a[_0xdf0f8c(0x30e)];_0x35a8a8['Base64']={'stringify':function(_0x23b49a){var _0x58cf14=_0xdf0f8c,_0xbedd1c=_0x23b49a[_0x58cf14(0x240)],_0x5537aa=_0x23b49a['sigBytes'],_0x462109=this[_0x58cf14(0x41e)];_0x23b49a[_0x58cf14(0x536)]();for(var _0xdd0c7a=[],_0x302fbd=0x0;_0x302fbd<_0x5537aa;_0x302fbd+=0x3)for(var _0x1906a9=_0xbedd1c[_0x302fbd>>>0x2]>>>0x18-_0x302fbd%0x4*0x8&0xff,_0x5d97a8=_0xbedd1c[_0x302fbd+0x1>>>0x2]>>>0x18-(_0x302fbd+0x1)%0x4*0x8&0xff,_0x70652a=_0xbedd1c[_0x302fbd+0x2>>>0x2]>>>0x18-(_0x302fbd+0x2)%0x4*0x8&0xff,_0x19166c=_0x1906a9<<0x10|_0x5d97a8<<0x8|_0x70652a,_0x1d8bd6=0x0;_0x1d8bd6<0x4&&_0x302fbd+_0x1d8bd6*0.75<_0x5537aa;_0x1d8bd6++)_0xdd0c7a[_0x58cf14(0x381)](_0x462109[_0x58cf14(0x3f7)](_0x19166c>>>0x6*(0x3-_0x1d8bd6)&0x3f));var _0x1e2928=_0x462109[_0x58cf14(0x3f7)](0x40);if(_0x1e2928){for(;_0xdd0c7a[_0x58cf14(0x3c5)]%0x4;)_0xdd0c7a[_0x58cf14(0x381)](_0x1e2928);}return _0xdd0c7a[_0x58cf14(0x47c)]('');},'parse':function(_0xed4b36){var _0x7adcf1=_0xdf0f8c,_0x3c8836=_0xed4b36[_0x7adcf1(0x3c5)],_0x37c270=this[_0x7adcf1(0x41e)],_0xaa8c9e=this[_0x7adcf1(0x244)];if(!_0xaa8c9e){_0xaa8c9e=this[_0x7adcf1(0x244)]=[];for(var _0x42060f=0x0;_0x42060f<_0x37c270['length'];_0x42060f++)_0xaa8c9e[_0x37c270['charCodeAt'](_0x42060f)]=_0x42060f;}var _0x426885=_0x37c270[_0x7adcf1(0x3f7)](0x40);if(_0x426885){var _0x5c3e81=_0xed4b36[_0x7adcf1(0x2fe)](_0x426885);_0x5c3e81!==-0x1&&(_0x3c8836=_0x5c3e81);}return _0x2313cb(_0xed4b36,_0x3c8836,_0xaa8c9e);},'_map':_0xdf0f8c(0x22b)};function _0x2313cb(_0x2e09bc,_0x4a0376,_0x30a472){var _0x3d092c=_0xdf0f8c;for(var _0x1cf1c2=[],_0x3584e4=0x0,_0x22d2d5=0x0;_0x22d2d5<_0x4a0376;_0x22d2d5++)if(_0x22d2d5%0x4){var _0x3d4b4f=_0x30a472[_0x2e09bc['charCodeAt'](_0x22d2d5-0x1)]<<_0x22d2d5%0x4*0x2,_0x541553=_0x30a472[_0x2e09bc[_0x3d092c(0x4a4)](_0x22d2d5)]>>>0x6-_0x22d2d5%0x4*0x2,_0x60f702=_0x3d4b4f|_0x541553;_0x1cf1c2[_0x3584e4>>>0x2]|=_0x60f702<<0x18-_0x3584e4%0x4*0x8,_0x3584e4++;}return _0x51b4e1['create'](_0x1cf1c2,_0x3584e4);}}()),_0x4f844b[_0x48a4ac(0x30e)][_0x48a4ac(0x330)];}));}(_0x3fbb19)),_0x3fbb19[_0x4d3365(0x1f7)];}var _0x1581bf={'exports':{}},_0x204bda=_0x1581bf['exports'],_0x371427;function _0x45d0e1(){var _0x8199d3=_0x3d1808;return _0x371427||(_0x371427=0x1,function(_0x49991f,_0x54f1de){(function(_0x583f5e,_0xa013ff){var _0x3373df=_0x58ee;_0x49991f[_0x3373df(0x1f7)]=_0xa013ff(_0x1257fc());}(_0x204bda,function(_0xc3dc6b){var _0x1bac3d=_0x58ee;return function(_0x4be436){var _0x11c2b7=_0x58ee,_0x16fe71=_0xc3dc6b,_0x4c3240=_0x16fe71[_0x11c2b7(0x1fd)],_0x568d87=_0x4c3240[_0x11c2b7(0x273)],_0x404e61=_0x4c3240['Hasher'],_0x38e8ba=_0x16fe71['algo'],_0x236537=[];(function(){var _0x51fa00=_0x11c2b7;for(var _0x1979a9=0x0;_0x1979a9<0x40;_0x1979a9++)_0x236537[_0x1979a9]=_0x4be436[_0x51fa00(0x3bd)](_0x4be436[_0x51fa00(0x4e3)](_0x1979a9+0x1))*0x100000000|0x0;}());var _0x431914=_0x38e8ba[_0x11c2b7(0x203)]=_0x404e61[_0x11c2b7(0x34d)]({'_doReset':function(){var _0x4b729c=_0x11c2b7;this[_0x4b729c(0x2a6)]=new _0x568d87[(_0x4b729c(0x456))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x35ec24,_0x1a5359){for(var _0x4622f5=0x0;_0x4622f5<0x10;_0x4622f5++){var _0x6b09c7=_0x1a5359+_0x4622f5,_0x31d287=_0x35ec24[_0x6b09c7];_0x35ec24[_0x6b09c7]=(_0x31d287<<0x8|_0x31d287>>>0x18)&0xff00ff|(_0x31d287<<0x18|_0x31d287>>>0x8)&0xff00ff00;}var _0x1080ed=this['_hash']['words'],_0x4c94ea=_0x35ec24[_0x1a5359+0x0],_0xc46883=_0x35ec24[_0x1a5359+0x1],_0x5e667b=_0x35ec24[_0x1a5359+0x2],_0x25dd0d=_0x35ec24[_0x1a5359+0x3],_0x111e0f=_0x35ec24[_0x1a5359+0x4],_0x5cccdc=_0x35ec24[_0x1a5359+0x5],_0xc1a1f6=_0x35ec24[_0x1a5359+0x6],_0x34adb1=_0x35ec24[_0x1a5359+0x7],_0x3d7096=_0x35ec24[_0x1a5359+0x8],_0x39eeb8=_0x35ec24[_0x1a5359+0x9],_0x40eaeb=_0x35ec24[_0x1a5359+0xa],_0x375595=_0x35ec24[_0x1a5359+0xb],_0x4cf84d=_0x35ec24[_0x1a5359+0xc],_0x4d27d5=_0x35ec24[_0x1a5359+0xd],_0x4d0b1c=_0x35ec24[_0x1a5359+0xe],_0x9b7e92=_0x35ec24[_0x1a5359+0xf],_0x256f93=_0x1080ed[0x0],_0x22bc14=_0x1080ed[0x1],_0x30ceda=_0x1080ed[0x2],_0x3ccd38=_0x1080ed[0x3];_0x256f93=_0x21f60b(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4c94ea,0x7,_0x236537[0x0]),_0x3ccd38=_0x21f60b(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0xc46883,0xc,_0x236537[0x1]),_0x30ceda=_0x21f60b(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x5e667b,0x11,_0x236537[0x2]),_0x22bc14=_0x21f60b(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x25dd0d,0x16,_0x236537[0x3]),_0x256f93=_0x21f60b(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x111e0f,0x7,_0x236537[0x4]),_0x3ccd38=_0x21f60b(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x5cccdc,0xc,_0x236537[0x5]),_0x30ceda=_0x21f60b(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0xc1a1f6,0x11,_0x236537[0x6]),_0x22bc14=_0x21f60b(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x34adb1,0x16,_0x236537[0x7]),_0x256f93=_0x21f60b(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x3d7096,0x7,_0x236537[0x8]),_0x3ccd38=_0x21f60b(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x39eeb8,0xc,_0x236537[0x9]),_0x30ceda=_0x21f60b(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x40eaeb,0x11,_0x236537[0xa]),_0x22bc14=_0x21f60b(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x375595,0x16,_0x236537[0xb]),_0x256f93=_0x21f60b(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4cf84d,0x7,_0x236537[0xc]),_0x3ccd38=_0x21f60b(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x4d27d5,0xc,_0x236537[0xd]),_0x30ceda=_0x21f60b(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x4d0b1c,0x11,_0x236537[0xe]),_0x22bc14=_0x21f60b(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x9b7e92,0x16,_0x236537[0xf]),_0x256f93=_0x1cbe31(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0xc46883,0x5,_0x236537[0x10]),_0x3ccd38=_0x1cbe31(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0xc1a1f6,0x9,_0x236537[0x11]),_0x30ceda=_0x1cbe31(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x375595,0xe,_0x236537[0x12]),_0x22bc14=_0x1cbe31(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x4c94ea,0x14,_0x236537[0x13]),_0x256f93=_0x1cbe31(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x5cccdc,0x5,_0x236537[0x14]),_0x3ccd38=_0x1cbe31(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x40eaeb,0x9,_0x236537[0x15]),_0x30ceda=_0x1cbe31(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x9b7e92,0xe,_0x236537[0x16]),_0x22bc14=_0x1cbe31(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x111e0f,0x14,_0x236537[0x17]),_0x256f93=_0x1cbe31(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x39eeb8,0x5,_0x236537[0x18]),_0x3ccd38=_0x1cbe31(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x4d0b1c,0x9,_0x236537[0x19]),_0x30ceda=_0x1cbe31(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x25dd0d,0xe,_0x236537[0x1a]),_0x22bc14=_0x1cbe31(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x3d7096,0x14,_0x236537[0x1b]),_0x256f93=_0x1cbe31(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4d27d5,0x5,_0x236537[0x1c]),_0x3ccd38=_0x1cbe31(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x5e667b,0x9,_0x236537[0x1d]),_0x30ceda=_0x1cbe31(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x34adb1,0xe,_0x236537[0x1e]),_0x22bc14=_0x1cbe31(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x4cf84d,0x14,_0x236537[0x1f]),_0x256f93=_0x550948(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x5cccdc,0x4,_0x236537[0x20]),_0x3ccd38=_0x550948(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x3d7096,0xb,_0x236537[0x21]),_0x30ceda=_0x550948(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x375595,0x10,_0x236537[0x22]),_0x22bc14=_0x550948(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x4d0b1c,0x17,_0x236537[0x23]),_0x256f93=_0x550948(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0xc46883,0x4,_0x236537[0x24]),_0x3ccd38=_0x550948(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x111e0f,0xb,_0x236537[0x25]),_0x30ceda=_0x550948(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x34adb1,0x10,_0x236537[0x26]),_0x22bc14=_0x550948(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x40eaeb,0x17,_0x236537[0x27]),_0x256f93=_0x550948(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4d27d5,0x4,_0x236537[0x28]),_0x3ccd38=_0x550948(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x4c94ea,0xb,_0x236537[0x29]),_0x30ceda=_0x550948(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x25dd0d,0x10,_0x236537[0x2a]),_0x22bc14=_0x550948(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0xc1a1f6,0x17,_0x236537[0x2b]),_0x256f93=_0x550948(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x39eeb8,0x4,_0x236537[0x2c]),_0x3ccd38=_0x550948(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x4cf84d,0xb,_0x236537[0x2d]),_0x30ceda=_0x550948(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x9b7e92,0x10,_0x236537[0x2e]),_0x22bc14=_0x550948(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x5e667b,0x17,_0x236537[0x2f]),_0x256f93=_0x5f2b13(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4c94ea,0x6,_0x236537[0x30]),_0x3ccd38=_0x5f2b13(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x34adb1,0xa,_0x236537[0x31]),_0x30ceda=_0x5f2b13(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x4d0b1c,0xf,_0x236537[0x32]),_0x22bc14=_0x5f2b13(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x5cccdc,0x15,_0x236537[0x33]),_0x256f93=_0x5f2b13(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4cf84d,0x6,_0x236537[0x34]),_0x3ccd38=_0x5f2b13(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x25dd0d,0xa,_0x236537[0x35]),_0x30ceda=_0x5f2b13(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x40eaeb,0xf,_0x236537[0x36]),_0x22bc14=_0x5f2b13(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0xc46883,0x15,_0x236537[0x37]),_0x256f93=_0x5f2b13(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x3d7096,0x6,_0x236537[0x38]),_0x3ccd38=_0x5f2b13(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x9b7e92,0xa,_0x236537[0x39]),_0x30ceda=_0x5f2b13(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0xc1a1f6,0xf,_0x236537[0x3a]),_0x22bc14=_0x5f2b13(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x4d27d5,0x15,_0x236537[0x3b]),_0x256f93=_0x5f2b13(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x111e0f,0x6,_0x236537[0x3c]),_0x3ccd38=_0x5f2b13(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x375595,0xa,_0x236537[0x3d]),_0x30ceda=_0x5f2b13(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x5e667b,0xf,_0x236537[0x3e]),_0x22bc14=_0x5f2b13(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x39eeb8,0x15,_0x236537[0x3f]),_0x1080ed[0x0]=_0x1080ed[0x0]+_0x256f93|0x0,_0x1080ed[0x1]=_0x1080ed[0x1]+_0x22bc14|0x0,_0x1080ed[0x2]=_0x1080ed[0x2]+_0x30ceda|0x0,_0x1080ed[0x3]=_0x1080ed[0x3]+_0x3ccd38|0x0;},'_doFinalize':function(){var _0x5dc794=_0x11c2b7,_0x9b3c2a=this[_0x5dc794(0x38f)],_0x350e1f=_0x9b3c2a[_0x5dc794(0x240)],_0xe6c38d=this['_nDataBytes']*0x8,_0x3b00b4=_0x9b3c2a[_0x5dc794(0x4f8)]*0x8;_0x350e1f[_0x3b00b4>>>0x5]|=0x80<<0x18-_0x3b00b4%0x20;var _0x221976=_0x4be436['floor'](_0xe6c38d/0x100000000),_0x24c1e3=_0xe6c38d;_0x350e1f[(_0x3b00b4+0x40>>>0x9<<0x4)+0xf]=(_0x221976<<0x8|_0x221976>>>0x18)&0xff00ff|(_0x221976<<0x18|_0x221976>>>0x8)&0xff00ff00,_0x350e1f[(_0x3b00b4+0x40>>>0x9<<0x4)+0xe]=(_0x24c1e3<<0x8|_0x24c1e3>>>0x18)&0xff00ff|(_0x24c1e3<<0x18|_0x24c1e3>>>0x8)&0xff00ff00,_0x9b3c2a['sigBytes']=(_0x350e1f[_0x5dc794(0x3c5)]+0x1)*0x4,this[_0x5dc794(0x1e6)]();for(var _0x1e7899=this[_0x5dc794(0x2a6)],_0x14b805=_0x1e7899[_0x5dc794(0x240)],_0x4173d6=0x0;_0x4173d6<0x4;_0x4173d6++){var _0x3f975d=_0x14b805[_0x4173d6];_0x14b805[_0x4173d6]=(_0x3f975d<<0x8|_0x3f975d>>>0x18)&0xff00ff|(_0x3f975d<<0x18|_0x3f975d>>>0x8)&0xff00ff00;}return _0x1e7899;},'clone':function(){var _0x572ff4=_0x11c2b7,_0x3f19af=_0x404e61['clone'][_0x572ff4(0x37a)](this);return _0x3f19af[_0x572ff4(0x2a6)]=this[_0x572ff4(0x2a6)][_0x572ff4(0x4e8)](),_0x3f19af;}});function _0x21f60b(_0x223893,_0x28ae77,_0x4efeec,_0x34eaed,_0x5b1559,_0x39b5a8,_0x33a556){var _0x1f4d82=_0x223893+(_0x28ae77&_0x4efeec|~_0x28ae77&_0x34eaed)+_0x5b1559+_0x33a556;return(_0x1f4d82<<_0x39b5a8|_0x1f4d82>>>0x20-_0x39b5a8)+_0x28ae77;}function _0x1cbe31(_0x17e782,_0xf36746,_0x58831a,_0xe51ceb,_0x311334,_0x2e236c,_0x51f0bd){var _0x2123b8=_0x17e782+(_0xf36746&_0xe51ceb|_0x58831a&~_0xe51ceb)+_0x311334+_0x51f0bd;return(_0x2123b8<<_0x2e236c|_0x2123b8>>>0x20-_0x2e236c)+_0xf36746;}function _0x550948(_0x18b2e9,_0x325a19,_0x11a176,_0x330435,_0x59504f,_0x5204f9,_0x49b352){var _0x212b40=_0x18b2e9+(_0x325a19^_0x11a176^_0x330435)+_0x59504f+_0x49b352;return(_0x212b40<<_0x5204f9|_0x212b40>>>0x20-_0x5204f9)+_0x325a19;}function _0x5f2b13(_0x3425e3,_0x10c3cc,_0x3c38e2,_0x2ed59b,_0x3d847b,_0x80b9e4,_0xb83bc9){var _0x49256a=_0x3425e3+(_0x3c38e2^(_0x10c3cc|~_0x2ed59b))+_0x3d847b+_0xb83bc9;return(_0x49256a<<_0x80b9e4|_0x49256a>>>0x20-_0x80b9e4)+_0x10c3cc;}_0x16fe71[_0x11c2b7(0x203)]=_0x404e61[_0x11c2b7(0x4b9)](_0x431914),_0x16fe71[_0x11c2b7(0x42e)]=_0x404e61[_0x11c2b7(0x295)](_0x431914);}(Math),_0xc3dc6b[_0x1bac3d(0x203)];}));}(_0x1581bf)),_0x1581bf[_0x8199d3(0x1f7)];}var _0x303b85={'exports':{}},_0x7a0b83={'exports':{}},_0x991c76=_0x7a0b83['exports'],_0x443e8c;function _0x1e937a(){var _0x52ed46=_0x3d1808;return _0x443e8c||(_0x443e8c=0x1,function(_0x46e3b5,_0x659096){(function(_0x44b92f,_0x2c200c){var _0x2f6de6=_0x58ee;_0x46e3b5[_0x2f6de6(0x1f7)]=_0x2c200c(_0x1257fc());}(_0x991c76,function(_0x7a6685){var _0x181919=_0x58ee;return(function(){var _0x493299=_0x58ee,_0x1421e7=_0x7a6685,_0x1306d9=_0x1421e7[_0x493299(0x1fd)],_0x5a3d12=_0x1306d9[_0x493299(0x273)],_0x52908e=_0x1306d9['Hasher'],_0x36b5f5=_0x1421e7['algo'],_0x19daec=[],_0xc3bf2b=_0x36b5f5['SHA1']=_0x52908e[_0x493299(0x34d)]({'_doReset':function(){var _0xb95152=_0x493299;this[_0xb95152(0x2a6)]=new _0x5a3d12[(_0xb95152(0x456))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4fde72,_0x391e70){var _0x97160=_0x493299;for(var _0x3a02a3=this[_0x97160(0x2a6)][_0x97160(0x240)],_0x6563d8=_0x3a02a3[0x0],_0x42861e=_0x3a02a3[0x1],_0xbc19ef=_0x3a02a3[0x2],_0x195b53=_0x3a02a3[0x3],_0x199e07=_0x3a02a3[0x4],_0x25db5f=0x0;_0x25db5f<0x50;_0x25db5f++){if(_0x25db5f<0x10)_0x19daec[_0x25db5f]=_0x4fde72[_0x391e70+_0x25db5f]|0x0;else{var _0x59d3c5=_0x19daec[_0x25db5f-0x3]^_0x19daec[_0x25db5f-0x8]^_0x19daec[_0x25db5f-0xe]^_0x19daec[_0x25db5f-0x10];_0x19daec[_0x25db5f]=_0x59d3c5<<0x1|_0x59d3c5>>>0x1f;}var _0x1b9f5d=(_0x6563d8<<0x5|_0x6563d8>>>0x1b)+_0x199e07+_0x19daec[_0x25db5f];_0x25db5f<0x14?_0x1b9f5d+=(_0x42861e&_0xbc19ef|~_0x42861e&_0x195b53)+0x5a827999:_0x25db5f<0x28?_0x1b9f5d+=(_0x42861e^_0xbc19ef^_0x195b53)+0x6ed9eba1:_0x25db5f<0x3c?_0x1b9f5d+=(_0x42861e&_0xbc19ef|_0x42861e&_0x195b53|_0xbc19ef&_0x195b53)-0x70e44324:_0x1b9f5d+=(_0x42861e^_0xbc19ef^_0x195b53)-0x359d3e2a,_0x199e07=_0x195b53,_0x195b53=_0xbc19ef,_0xbc19ef=_0x42861e<<0x1e|_0x42861e>>>0x2,_0x42861e=_0x6563d8,_0x6563d8=_0x1b9f5d;}_0x3a02a3[0x0]=_0x3a02a3[0x0]+_0x6563d8|0x0,_0x3a02a3[0x1]=_0x3a02a3[0x1]+_0x42861e|0x0,_0x3a02a3[0x2]=_0x3a02a3[0x2]+_0xbc19ef|0x0,_0x3a02a3[0x3]=_0x3a02a3[0x3]+_0x195b53|0x0,_0x3a02a3[0x4]=_0x3a02a3[0x4]+_0x199e07|0x0;},'_doFinalize':function(){var _0x3a7968=_0x493299,_0x2ee2c2=this['_data'],_0x1f3f0c=_0x2ee2c2[_0x3a7968(0x240)],_0x51858f=this['_nDataBytes']*0x8,_0x4c5fad=_0x2ee2c2[_0x3a7968(0x4f8)]*0x8;return _0x1f3f0c[_0x4c5fad>>>0x5]|=0x80<<0x18-_0x4c5fad%0x20,_0x1f3f0c[(_0x4c5fad+0x40>>>0x9<<0x4)+0xe]=Math[_0x3a7968(0x421)](_0x51858f/0x100000000),_0x1f3f0c[(_0x4c5fad+0x40>>>0x9<<0x4)+0xf]=_0x51858f,_0x2ee2c2[_0x3a7968(0x4f8)]=_0x1f3f0c['length']*0x4,this[_0x3a7968(0x1e6)](),this[_0x3a7968(0x2a6)];},'clone':function(){var _0x4b6de4=_0x493299,_0x244829=_0x52908e[_0x4b6de4(0x4e8)][_0x4b6de4(0x37a)](this);return _0x244829['_hash']=this[_0x4b6de4(0x2a6)][_0x4b6de4(0x4e8)](),_0x244829;}});_0x1421e7[_0x493299(0x4c3)]=_0x52908e[_0x493299(0x4b9)](_0xc3bf2b),_0x1421e7['HmacSHA1']=_0x52908e[_0x493299(0x295)](_0xc3bf2b);}()),_0x7a6685[_0x181919(0x4c3)];}));}(_0x7a0b83)),_0x7a0b83[_0x52ed46(0x1f7)];}var _0x10e0db={'exports':{}},_0x153e40=_0x10e0db[_0x3d1808(0x1f7)],_0x4aa903;function _0x513044(){var _0x4fe2e6=_0x3d1808;return _0x4aa903||(_0x4aa903=0x1,function(_0x5ff188,_0x17dbc5){(function(_0x341ad8,_0x27020a){var _0x1a535b=_0x58ee;_0x5ff188[_0x1a535b(0x1f7)]=_0x27020a(_0x1257fc());}(_0x153e40,function(_0x21748a){(function(){var _0x141e49=_0x58ee,_0xbce18a=_0x21748a,_0x2217a5=_0xbce18a['lib'],_0x56d66b=_0x2217a5[_0x141e49(0x3c1)],_0x12efb5=_0xbce18a[_0x141e49(0x30e)],_0x55970d=_0x12efb5[_0x141e49(0x4ec)],_0x509655=_0xbce18a['algo'];_0x509655[_0x141e49(0x235)]=_0x56d66b[_0x141e49(0x34d)]({'init':function(_0x16967b,_0x300074){var _0x3098ea=_0x141e49;_0x16967b=this[_0x3098ea(0x20b)]=new _0x16967b[(_0x3098ea(0x456))](),typeof _0x300074==_0x3098ea(0x2da)&&(_0x300074=_0x55970d['parse'](_0x300074));var _0x5ade42=_0x16967b['blockSize'],_0x5835f2=_0x5ade42*0x4;_0x300074[_0x3098ea(0x4f8)]>_0x5835f2&&(_0x300074=_0x16967b[_0x3098ea(0x24f)](_0x300074)),_0x300074[_0x3098ea(0x536)]();for(var _0x1062e2=this[_0x3098ea(0x234)]=_0x300074[_0x3098ea(0x4e8)](),_0x18929d=this['_iKey']=_0x300074[_0x3098ea(0x4e8)](),_0x5ef9cc=_0x1062e2[_0x3098ea(0x240)],_0xad955f=_0x18929d[_0x3098ea(0x240)],_0x552e1d=0x0;_0x552e1d<_0x5ade42;_0x552e1d++)_0x5ef9cc[_0x552e1d]^=0x5c5c5c5c,_0xad955f[_0x552e1d]^=0x36363636;_0x1062e2[_0x3098ea(0x4f8)]=_0x18929d[_0x3098ea(0x4f8)]=_0x5835f2,this[_0x3098ea(0x20a)]();},'reset':function(){var _0x50cea9=_0x141e49,_0x2515ed=this['_hasher'];_0x2515ed[_0x50cea9(0x20a)](),_0x2515ed[_0x50cea9(0x232)](this['_iKey']);},'update':function(_0x248831){var _0x1ed35a=_0x141e49;return this[_0x1ed35a(0x20b)][_0x1ed35a(0x232)](_0x248831),this;},'finalize':function(_0x3e7748){var _0xe2765d=_0x141e49,_0x2ea81a=this[_0xe2765d(0x20b)],_0x46fde7=_0x2ea81a[_0xe2765d(0x24f)](_0x3e7748);_0x2ea81a['reset']();var _0xf2b483=_0x2ea81a[_0xe2765d(0x24f)](this['_oKey'][_0xe2765d(0x4e8)]()['concat'](_0x46fde7));return _0xf2b483;}});}());}));}(_0x10e0db)),_0x10e0db[_0x4fe2e6(0x1f7)];}var _0xb33875=_0x303b85[_0x3d1808(0x1f7)],_0x12f47b;function _0x136f19(){var _0x33399e=_0x3d1808;return _0x12f47b||(_0x12f47b=0x1,function(_0x4e658d,_0x28384f){(function(_0x27ca1e,_0x1886e7,_0x111709){var _0x32dc9e=_0x58ee;_0x4e658d[_0x32dc9e(0x1f7)]=_0x1886e7(_0x1257fc(),_0x1e937a(),_0x513044());}(_0xb33875,function(_0xcb0d89){var _0x643ea5=_0x58ee;return(function(){var _0x361520=_0x58ee,_0x45ee9a=_0xcb0d89,_0x38d812=_0x45ee9a[_0x361520(0x1fd)],_0x358cba=_0x38d812[_0x361520(0x3c1)],_0x419eb3=_0x38d812[_0x361520(0x273)],_0x3cf3d9=_0x45ee9a[_0x361520(0x39c)],_0x49ec68=_0x3cf3d9[_0x361520(0x203)],_0x5496df=_0x3cf3d9[_0x361520(0x255)]=_0x358cba[_0x361520(0x34d)]({'cfg':_0x358cba[_0x361520(0x34d)]({'keySize':0x80/0x20,'hasher':_0x49ec68,'iterations':0x1}),'init':function(_0x11f08f){var _0x5469d6=_0x361520;this[_0x5469d6(0x221)]=this[_0x5469d6(0x221)][_0x5469d6(0x34d)](_0x11f08f);},'compute':function(_0x1cf384,_0x1b5b9a){var _0xd9a576=_0x361520;for(var _0xfa98aa,_0x2d6242=this[_0xd9a576(0x221)],_0x56241f=_0x2d6242[_0xd9a576(0x4b6)][_0xd9a576(0x46f)](),_0x46e251=_0x419eb3[_0xd9a576(0x46f)](),_0x51e081=_0x46e251[_0xd9a576(0x240)],_0x5eb4f2=_0x2d6242[_0xd9a576(0x3b0)],_0x3e571b=_0x2d6242[_0xd9a576(0x3a8)];_0x51e081[_0xd9a576(0x3c5)]<_0x5eb4f2;){_0xfa98aa&&_0x56241f[_0xd9a576(0x232)](_0xfa98aa),_0xfa98aa=_0x56241f[_0xd9a576(0x232)](_0x1cf384)[_0xd9a576(0x24f)](_0x1b5b9a),_0x56241f[_0xd9a576(0x20a)]();for(var _0x9b699c=0x1;_0x9b699c<_0x3e571b;_0x9b699c++)_0xfa98aa=_0x56241f[_0xd9a576(0x24f)](_0xfa98aa),_0x56241f['reset']();_0x46e251[_0xd9a576(0x4bb)](_0xfa98aa);}return _0x46e251['sigBytes']=_0x5eb4f2*0x4,_0x46e251;}});_0x45ee9a[_0x361520(0x255)]=function(_0x5ff2bb,_0x243d1d,_0x49524b){var _0x158409=_0x361520;return _0x5496df[_0x158409(0x46f)](_0x49524b)[_0x158409(0x3c3)](_0x5ff2bb,_0x243d1d);};}()),_0xcb0d89[_0x643ea5(0x255)];}));}(_0x303b85)),_0x303b85[_0x33399e(0x1f7)];}var _0xac8e34={'exports':{}},_0xc78ee=_0xac8e34['exports'],_0x5119dc;function _0x49b936(){var _0x3e198b=_0x3d1808;return _0x5119dc||(_0x5119dc=0x1,function(_0x8b1aeb,_0x266e0b){(function(_0x3280f3,_0x58561d,_0x28efc0){var _0x3d03f7=_0x58ee;_0x8b1aeb[_0x3d03f7(0x1f7)]=_0x58561d(_0x1257fc(),_0x136f19());}(_0xc78ee,function(_0x2a7362){var _0x37d16c=_0x58ee;_0x2a7362[_0x37d16c(0x1fd)]['Cipher']||function(_0x1b2ad1){var _0x1fd6fa=_0x37d16c,_0x25c037=_0x2a7362,_0x43d07f=_0x25c037['lib'],_0x26eb69=_0x43d07f[_0x1fd6fa(0x3c1)],_0x14422c=_0x43d07f['WordArray'],_0xdaf6f6=_0x43d07f[_0x1fd6fa(0x3bf)],_0x21e6aa=_0x25c037[_0x1fd6fa(0x30e)];_0x21e6aa[_0x1fd6fa(0x4ec)];var _0x4fe9b7=_0x21e6aa[_0x1fd6fa(0x330)],_0x2407c2=_0x25c037['algo'],_0x6fb0fd=_0x2407c2['EvpKDF'],_0x2751f7=_0x43d07f['Cipher']=_0xdaf6f6[_0x1fd6fa(0x34d)]({'cfg':_0x26eb69['extend'](),'createEncryptor':function(_0x10f551,_0x596bd3){var _0x270023=_0x1fd6fa;return this[_0x270023(0x46f)](this[_0x270023(0x2b6)],_0x10f551,_0x596bd3);},'createDecryptor':function(_0x31074e,_0x1896ce){var _0x339c93=_0x1fd6fa;return this[_0x339c93(0x46f)](this[_0x339c93(0x4f7)],_0x31074e,_0x1896ce);},'init':function(_0x1bf467,_0x29e04c,_0x34fe27){var _0x52ff94=_0x1fd6fa;this[_0x52ff94(0x221)]=this[_0x52ff94(0x221)][_0x52ff94(0x34d)](_0x34fe27),this[_0x52ff94(0x4b7)]=_0x1bf467,this[_0x52ff94(0x2fc)]=_0x29e04c,this[_0x52ff94(0x20a)]();},'reset':function(){var _0x1f4c28=_0x1fd6fa;_0xdaf6f6[_0x1f4c28(0x20a)][_0x1f4c28(0x37a)](this),this[_0x1f4c28(0x312)]();},'process':function(_0x430145){var _0x2d0d1a=_0x1fd6fa;return this[_0x2d0d1a(0x39f)](_0x430145),this[_0x2d0d1a(0x1e6)]();},'finalize':function(_0x11c6e8){var _0x23e95b=_0x1fd6fa;_0x11c6e8&&this[_0x23e95b(0x39f)](_0x11c6e8);var _0x34b62a=this[_0x23e95b(0x243)]();return _0x34b62a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2cb833(_0x782961){return typeof _0x782961=='string'?_0x460ac3:_0x123e28;}return function(_0x54ae5f){return{'encrypt':function(_0x38d011,_0x26d4eb,_0x3c41e2){var _0x4d284e=_0x58ee;return _0x2cb833(_0x26d4eb)[_0x4d284e(0x2c2)](_0x54ae5f,_0x38d011,_0x26d4eb,_0x3c41e2);},'decrypt':function(_0x228077,_0x14d93f,_0x175629){var _0x135b06=_0x58ee;return _0x2cb833(_0x14d93f)[_0x135b06(0x3ae)](_0x54ae5f,_0x228077,_0x14d93f,_0x175629);}};};}())});_0x43d07f[_0x1fd6fa(0x30f)]=_0x2751f7[_0x1fd6fa(0x34d)]({'_doFinalize':function(){var _0x5d6daf=_0x1fd6fa,_0x2732c3=this[_0x5d6daf(0x1e6)](!0x0);return _0x2732c3;},'blockSize':0x1});var _0x3dc723=_0x25c037['mode']={},_0x16c326=_0x43d07f['BlockCipherMode']=_0x26eb69[_0x1fd6fa(0x34d)]({'createEncryptor':function(_0x17c5ca,_0x59c834){var _0x25f5bd=_0x1fd6fa;return this[_0x25f5bd(0x2c1)][_0x25f5bd(0x46f)](_0x17c5ca,_0x59c834);},'createDecryptor':function(_0x4c0549,_0x2b512e){var _0x4e68ea=_0x1fd6fa;return this[_0x4e68ea(0x35a)]['create'](_0x4c0549,_0x2b512e);},'init':function(_0x2cd55d,_0x32f639){var _0x42d0ed=_0x1fd6fa;this[_0x42d0ed(0x566)]=_0x2cd55d,this[_0x42d0ed(0x344)]=_0x32f639;}}),_0x256e4b=_0x3dc723['CBC']=(function(){var _0x4daf27=_0x1fd6fa,_0x2524f2=_0x16c326[_0x4daf27(0x34d)]();_0x2524f2[_0x4daf27(0x2c1)]=_0x2524f2[_0x4daf27(0x34d)]({'processBlock':function(_0x3f9e0a,_0x56edc2){var _0x4227f3=_0x4daf27,_0x492b13=this['_cipher'],_0xbb73c2=_0x492b13[_0x4227f3(0x56b)];_0x1ff7a7['call'](this,_0x3f9e0a,_0x56edc2,_0xbb73c2),_0x492b13[_0x4227f3(0x241)](_0x3f9e0a,_0x56edc2),this[_0x4227f3(0x4e7)]=_0x3f9e0a[_0x4227f3(0x3f8)](_0x56edc2,_0x56edc2+_0xbb73c2);}}),_0x2524f2['Decryptor']=_0x2524f2[_0x4daf27(0x34d)]({'processBlock':function(_0x5ed597,_0x4d0b21){var _0x5cf548=_0x4daf27,_0x366e91=this[_0x5cf548(0x566)],_0x2f1f37=_0x366e91[_0x5cf548(0x56b)],_0x1f1c8e=_0x5ed597[_0x5cf548(0x3f8)](_0x4d0b21,_0x4d0b21+_0x2f1f37);_0x366e91['decryptBlock'](_0x5ed597,_0x4d0b21),_0x1ff7a7[_0x5cf548(0x37a)](this,_0x5ed597,_0x4d0b21,_0x2f1f37),this[_0x5cf548(0x4e7)]=_0x1f1c8e;}});function _0x1ff7a7(_0x290335,_0x1f8adc,_0x2174c9){var _0x423af8=_0x4daf27,_0x5770a4,_0x1a3bd4=this['_iv'];_0x1a3bd4?(_0x5770a4=_0x1a3bd4,this['_iv']=_0x1b2ad1):_0x5770a4=this[_0x423af8(0x4e7)];for(var _0x144b65=0x0;_0x144b65<_0x2174c9;_0x144b65++)_0x290335[_0x1f8adc+_0x144b65]^=_0x5770a4[_0x144b65];}return _0x2524f2;}()),_0x2d65c0=_0x25c037[_0x1fd6fa(0x470)]={},_0x59a34f=_0x2d65c0[_0x1fd6fa(0x2cb)]={'pad':function(_0xf047d,_0x3bb401){var _0x2a6dc5=_0x1fd6fa;for(var _0x440813=_0x3bb401*0x4,_0x3216c5=_0x440813-_0xf047d['sigBytes']%_0x440813,_0x397549=_0x3216c5<<0x18|_0x3216c5<<0x10|_0x3216c5<<0x8|_0x3216c5,_0x2ee61d=[],_0x47ee4e=0x0;_0x47ee4e<_0x3216c5;_0x47ee4e+=0x4)_0x2ee61d[_0x2a6dc5(0x381)](_0x397549);var _0xab9cad=_0x14422c['create'](_0x2ee61d,_0x3216c5);_0xf047d['concat'](_0xab9cad);},'unpad':function(_0x11cb34){var _0x94978b=_0x1fd6fa,_0x5c4b0c=_0x11cb34[_0x94978b(0x240)][_0x11cb34[_0x94978b(0x4f8)]-0x1>>>0x2]&0xff;_0x11cb34[_0x94978b(0x4f8)]-=_0x5c4b0c;}};_0x43d07f[_0x1fd6fa(0x360)]=_0x2751f7[_0x1fd6fa(0x34d)]({'cfg':_0x2751f7[_0x1fd6fa(0x221)][_0x1fd6fa(0x34d)]({'mode':_0x256e4b,'padding':_0x59a34f}),'reset':function(){var _0x1c11cd=_0x1fd6fa,_0x2667a0;_0x2751f7['reset'][_0x1c11cd(0x37a)](this);var _0x2f7e1b=this[_0x1c11cd(0x221)],_0x5d2e33=_0x2f7e1b['iv'],_0x49f70a=_0x2f7e1b[_0x1c11cd(0x4fb)];this['_xformMode']==this[_0x1c11cd(0x2b6)]?_0x2667a0=_0x49f70a[_0x1c11cd(0x52b)]:(_0x2667a0=_0x49f70a[_0x1c11cd(0x401)],this['_minBufferSize']=0x1),this[_0x1c11cd(0x4bc)]&&this[_0x1c11cd(0x4bc)]['__creator']==_0x2667a0?this[_0x1c11cd(0x4bc)][_0x1c11cd(0x456)](this,_0x5d2e33&&_0x5d2e33[_0x1c11cd(0x240)]):(this[_0x1c11cd(0x4bc)]=_0x2667a0[_0x1c11cd(0x37a)](_0x49f70a,this,_0x5d2e33&&_0x5d2e33[_0x1c11cd(0x240)]),this[_0x1c11cd(0x4bc)][_0x1c11cd(0x4f6)]=_0x2667a0);},'_doProcessBlock':function(_0x2c8e5e,_0x396c41){var _0x15ff49=_0x1fd6fa;this[_0x15ff49(0x4bc)][_0x15ff49(0x3b6)](_0x2c8e5e,_0x396c41);},'_doFinalize':function(){var _0x3613e5=_0x1fd6fa,_0x2dc50c,_0x121825=this['cfg']['padding'];return this[_0x3613e5(0x4b7)]==this[_0x3613e5(0x2b6)]?(_0x121825['pad'](this[_0x3613e5(0x38f)],this['blockSize']),_0x2dc50c=this[_0x3613e5(0x1e6)](!0x0)):(_0x2dc50c=this['_process'](!0x0),_0x121825[_0x3613e5(0x3e4)](_0x2dc50c)),_0x2dc50c;},'blockSize':0x80/0x20});var _0x52cf47=_0x43d07f[_0x1fd6fa(0x20c)]=_0x26eb69[_0x1fd6fa(0x34d)]({'init':function(_0x36b276){var _0x8f4004=_0x1fd6fa;this[_0x8f4004(0x2b1)](_0x36b276);},'toString':function(_0x4c07ad){var _0x268375=_0x1fd6fa;return(_0x4c07ad||this[_0x268375(0x49f)])[_0x268375(0x3c7)](this);}}),_0x3b750f=_0x25c037[_0x1fd6fa(0x494)]={},_0x499edd=_0x3b750f[_0x1fd6fa(0x4a7)]={'stringify':function(_0xb8c2a5){var _0x5ccb47=_0x1fd6fa,_0x43e044,_0x1fee83=_0xb8c2a5[_0x5ccb47(0x50b)],_0x3967c8=_0xb8c2a5[_0x5ccb47(0x342)];return _0x3967c8?_0x43e044=_0x14422c[_0x5ccb47(0x46f)]([0x53616c74,0x65645f5f])[_0x5ccb47(0x4bb)](_0x3967c8)['concat'](_0x1fee83):_0x43e044=_0x1fee83,_0x43e044[_0x5ccb47(0x250)](_0x4fe9b7);},'parse':function(_0x5f4054){var _0x34d155=_0x1fd6fa,_0x249622,_0x4e6e4f=_0x4fe9b7[_0x34d155(0x43e)](_0x5f4054),_0x24d160=_0x4e6e4f[_0x34d155(0x240)];return _0x24d160[0x0]==0x53616c74&&_0x24d160[0x1]==0x65645f5f&&(_0x249622=_0x14422c[_0x34d155(0x46f)](_0x24d160['slice'](0x2,0x4)),_0x24d160[_0x34d155(0x2b3)](0x0,0x4),_0x4e6e4f['sigBytes']-=0x10),_0x52cf47[_0x34d155(0x46f)]({'ciphertext':_0x4e6e4f,'salt':_0x249622});}},_0x123e28=_0x43d07f[_0x1fd6fa(0x530)]=_0x26eb69[_0x1fd6fa(0x34d)]({'cfg':_0x26eb69[_0x1fd6fa(0x34d)]({'format':_0x499edd}),'encrypt':function(_0x29dfad,_0x44c863,_0x4dc6ae,_0x5474fe){var _0x341e44=_0x1fd6fa;_0x5474fe=this[_0x341e44(0x221)]['extend'](_0x5474fe);var _0x53fd46=_0x29dfad[_0x341e44(0x52b)](_0x4dc6ae,_0x5474fe),_0x1028f4=_0x53fd46['finalize'](_0x44c863),_0x2fd107=_0x53fd46[_0x341e44(0x221)];return _0x52cf47[_0x341e44(0x46f)]({'ciphertext':_0x1028f4,'key':_0x4dc6ae,'iv':_0x2fd107['iv'],'algorithm':_0x29dfad,'mode':_0x2fd107[_0x341e44(0x4fb)],'padding':_0x2fd107['padding'],'blockSize':_0x29dfad[_0x341e44(0x56b)],'formatter':_0x5474fe[_0x341e44(0x494)]});},'decrypt':function(_0x257c29,_0x4c0a51,_0x2ea6c4,_0x49c4e8){var _0x3a437e=_0x1fd6fa;_0x49c4e8=this[_0x3a437e(0x221)][_0x3a437e(0x34d)](_0x49c4e8),_0x4c0a51=this[_0x3a437e(0x35b)](_0x4c0a51,_0x49c4e8[_0x3a437e(0x494)]);var _0x29f5b3=_0x257c29['createDecryptor'](_0x2ea6c4,_0x49c4e8)[_0x3a437e(0x24f)](_0x4c0a51[_0x3a437e(0x50b)]);return _0x29f5b3;},'_parse':function(_0x5d44c6,_0x3b3caa){return typeof _0x5d44c6=='string'?_0x3b3caa['parse'](_0x5d44c6,this):_0x5d44c6;}}),_0x14d29a=_0x25c037[_0x1fd6fa(0x367)]={},_0x52e2a4=_0x14d29a[_0x1fd6fa(0x4a7)]={'execute':function(_0x407646,_0xd7c453,_0x50ec8f,_0x1759fe,_0x2de7c4){var _0x57ccd8=_0x1fd6fa;if(_0x1759fe||(_0x1759fe=_0x14422c[_0x57ccd8(0x4c7)](0x40/0x8)),_0x2de7c4)var _0x65f6d9=_0x6fb0fd[_0x57ccd8(0x46f)]({'keySize':_0xd7c453+_0x50ec8f,'hasher':_0x2de7c4})['compute'](_0x407646,_0x1759fe);else var _0x65f6d9=_0x6fb0fd[_0x57ccd8(0x46f)]({'keySize':_0xd7c453+_0x50ec8f})[_0x57ccd8(0x3c3)](_0x407646,_0x1759fe);var _0x536836=_0x14422c['create'](_0x65f6d9[_0x57ccd8(0x240)][_0x57ccd8(0x3f8)](_0xd7c453),_0x50ec8f*0x4);return _0x65f6d9[_0x57ccd8(0x4f8)]=_0xd7c453*0x4,_0x52cf47[_0x57ccd8(0x46f)]({'key':_0x65f6d9,'iv':_0x536836,'salt':_0x1759fe});}},_0x460ac3=_0x43d07f[_0x1fd6fa(0x518)]=_0x123e28['extend']({'cfg':_0x123e28['cfg']['extend']({'kdf':_0x52e2a4}),'encrypt':function(_0x307466,_0x274cf3,_0x360382,_0x2aee33){var _0x3c3ff4=_0x1fd6fa;_0x2aee33=this[_0x3c3ff4(0x221)][_0x3c3ff4(0x34d)](_0x2aee33);var _0x4f4b61=_0x2aee33[_0x3c3ff4(0x367)][_0x3c3ff4(0x21e)](_0x360382,_0x307466['keySize'],_0x307466[_0x3c3ff4(0x389)],_0x2aee33['salt'],_0x2aee33[_0x3c3ff4(0x4b6)]);_0x2aee33['iv']=_0x4f4b61['iv'];var _0x43b5eb=_0x123e28[_0x3c3ff4(0x2c2)][_0x3c3ff4(0x37a)](this,_0x307466,_0x274cf3,_0x4f4b61[_0x3c3ff4(0x1fe)],_0x2aee33);return _0x43b5eb[_0x3c3ff4(0x2b1)](_0x4f4b61),_0x43b5eb;},'decrypt':function(_0x5b1fdd,_0x25f506,_0x23c84a,_0x27c613){var _0x14d212=_0x1fd6fa;_0x27c613=this['cfg'][_0x14d212(0x34d)](_0x27c613),_0x25f506=this['_parse'](_0x25f506,_0x27c613[_0x14d212(0x494)]);var _0x336dbe=_0x27c613['kdf'][_0x14d212(0x21e)](_0x23c84a,_0x5b1fdd[_0x14d212(0x3b0)],_0x5b1fdd[_0x14d212(0x389)],_0x25f506[_0x14d212(0x342)],_0x27c613['hasher']);_0x27c613['iv']=_0x336dbe['iv'];var _0x5cacb9=_0x123e28[_0x14d212(0x3ae)]['call'](this,_0x5b1fdd,_0x25f506,_0x336dbe['key'],_0x27c613);return _0x5cacb9;}});}();}));}(_0xac8e34)),_0xac8e34[_0x3e198b(0x1f7)];}var _0x4a600c=_0x692448[_0x3d1808(0x1f7)],_0x7dbad3;function _0x3b2d3a(){var _0x1a7789=_0x3d1808;return _0x7dbad3||(_0x7dbad3=0x1,function(_0x188f44,_0x3e50b2){(function(_0x4474c0,_0x47deae,_0x3afe6f){var _0x25f905=_0x58ee;_0x188f44[_0x25f905(0x1f7)]=_0x47deae(_0x1257fc(),_0x294be0(),_0x45d0e1(),_0x136f19(),_0x49b936());}(_0x4a600c,function(_0x1fae5b){var _0x3f4d66=_0x58ee;return(function(){var _0x590f16=_0x58ee,_0x337841=_0x1fae5b,_0xb9c3e4=_0x337841[_0x590f16(0x1fd)],_0x441b81=_0xb9c3e4[_0x590f16(0x360)],_0xc25a85=_0x337841[_0x590f16(0x39c)],_0x59fbc4=[],_0x229543=[],_0x21bec2=[],_0x2ff2bf=[],_0x3e06b6=[],_0x197291=[],_0x20897a=[],_0x516198=[],_0x3e82e0=[],_0xc3e664=[];(function(){for(var _0x185771=[],_0x5a4e2a=0x0;_0x5a4e2a<0x100;_0x5a4e2a++)_0x5a4e2a<0x80?_0x185771[_0x5a4e2a]=_0x5a4e2a<<0x1:_0x185771[_0x5a4e2a]=_0x5a4e2a<<0x1^0x11b;for(var _0x1ff800=0x0,_0x489c66=0x0,_0x5a4e2a=0x0;_0x5a4e2a<0x100;_0x5a4e2a++){var _0xe3aacd=_0x489c66^_0x489c66<<0x1^_0x489c66<<0x2^_0x489c66<<0x3^_0x489c66<<0x4;_0xe3aacd=_0xe3aacd>>>0x8^_0xe3aacd&0xff^0x63,_0x59fbc4[_0x1ff800]=_0xe3aacd,_0x229543[_0xe3aacd]=_0x1ff800;var _0xa02d87=_0x185771[_0x1ff800],_0x4cd165=_0x185771[_0xa02d87],_0x44e064=_0x185771[_0x4cd165],_0x9b06a2=_0x185771[_0xe3aacd]*0x101^_0xe3aacd*0x1010100;_0x21bec2[_0x1ff800]=_0x9b06a2<<0x18|_0x9b06a2>>>0x8,_0x2ff2bf[_0x1ff800]=_0x9b06a2<<0x10|_0x9b06a2>>>0x10,_0x3e06b6[_0x1ff800]=_0x9b06a2<<0x8|_0x9b06a2>>>0x18,_0x197291[_0x1ff800]=_0x9b06a2;var _0x9b06a2=_0x44e064*0x1010101^_0x4cd165*0x10001^_0xa02d87*0x101^_0x1ff800*0x1010100;_0x20897a[_0xe3aacd]=_0x9b06a2<<0x18|_0x9b06a2>>>0x8,_0x516198[_0xe3aacd]=_0x9b06a2<<0x10|_0x9b06a2>>>0x10,_0x3e82e0[_0xe3aacd]=_0x9b06a2<<0x8|_0x9b06a2>>>0x18,_0xc3e664[_0xe3aacd]=_0x9b06a2,_0x1ff800?(_0x1ff800=_0xa02d87^_0x185771[_0x185771[_0x185771[_0x44e064^_0xa02d87]]],_0x489c66^=_0x185771[_0x185771[_0x489c66]]):_0x1ff800=_0x489c66=0x1;}}());var _0x3aa764=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5f54c8=_0xc25a85[_0x590f16(0x40d)]=_0x441b81[_0x590f16(0x34d)]({'_doReset':function(){var _0x13e10f=_0x590f16,_0xbb47c8;if(!(this['_nRounds']&&this[_0x13e10f(0x542)]===this[_0x13e10f(0x2fc)])){for(var _0x3892f6=this[_0x13e10f(0x542)]=this['_key'],_0x48e82b=_0x3892f6[_0x13e10f(0x240)],_0x34570e=_0x3892f6[_0x13e10f(0x4f8)]/0x4,_0x1347cf=this[_0x13e10f(0x434)]=_0x34570e+0x6,_0x5bba64=(_0x1347cf+0x1)*0x4,_0x52f6fa=this[_0x13e10f(0x42f)]=[],_0x2c48ff=0x0;_0x2c48ff<_0x5bba64;_0x2c48ff++)_0x2c48ff<_0x34570e?_0x52f6fa[_0x2c48ff]=_0x48e82b[_0x2c48ff]:(_0xbb47c8=_0x52f6fa[_0x2c48ff-0x1],_0x2c48ff%_0x34570e?_0x34570e>0x6&&_0x2c48ff%_0x34570e==0x4&&(_0xbb47c8=_0x59fbc4[_0xbb47c8>>>0x18]<<0x18|_0x59fbc4[_0xbb47c8>>>0x10&0xff]<<0x10|_0x59fbc4[_0xbb47c8>>>0x8&0xff]<<0x8|_0x59fbc4[_0xbb47c8&0xff]):(_0xbb47c8=_0xbb47c8<<0x8|_0xbb47c8>>>0x18,_0xbb47c8=_0x59fbc4[_0xbb47c8>>>0x18]<<0x18|_0x59fbc4[_0xbb47c8>>>0x10&0xff]<<0x10|_0x59fbc4[_0xbb47c8>>>0x8&0xff]<<0x8|_0x59fbc4[_0xbb47c8&0xff],_0xbb47c8^=_0x3aa764[_0x2c48ff/_0x34570e|0x0]<<0x18),_0x52f6fa[_0x2c48ff]=_0x52f6fa[_0x2c48ff-_0x34570e]^_0xbb47c8);for(var _0x4ca93b=this[_0x13e10f(0x2de)]=[],_0x4d197c=0x0;_0x4d197c<_0x5bba64;_0x4d197c++){var _0x2c48ff=_0x5bba64-_0x4d197c;if(_0x4d197c%0x4)var _0xbb47c8=_0x52f6fa[_0x2c48ff];else var _0xbb47c8=_0x52f6fa[_0x2c48ff-0x4];_0x4d197c<0x4||_0x2c48ff<=0x4?_0x4ca93b[_0x4d197c]=_0xbb47c8:_0x4ca93b[_0x4d197c]=_0x20897a[_0x59fbc4[_0xbb47c8>>>0x18]]^_0x516198[_0x59fbc4[_0xbb47c8>>>0x10&0xff]]^_0x3e82e0[_0x59fbc4[_0xbb47c8>>>0x8&0xff]]^_0xc3e664[_0x59fbc4[_0xbb47c8&0xff]];}}},'encryptBlock':function(_0x3fb3f8,_0x367fa4){var _0x50b8cd=_0x590f16;this[_0x50b8cd(0x36c)](_0x3fb3f8,_0x367fa4,this[_0x50b8cd(0x42f)],_0x21bec2,_0x2ff2bf,_0x3e06b6,_0x197291,_0x59fbc4);},'decryptBlock':function(_0x39b719,_0x388235){var _0x2857e7=_0x590f16,_0x2881fd=_0x39b719[_0x388235+0x1];_0x39b719[_0x388235+0x1]=_0x39b719[_0x388235+0x3],_0x39b719[_0x388235+0x3]=_0x2881fd,this[_0x2857e7(0x36c)](_0x39b719,_0x388235,this[_0x2857e7(0x2de)],_0x20897a,_0x516198,_0x3e82e0,_0xc3e664,_0x229543);var _0x2881fd=_0x39b719[_0x388235+0x1];_0x39b719[_0x388235+0x1]=_0x39b719[_0x388235+0x3],_0x39b719[_0x388235+0x3]=_0x2881fd;},'_doCryptBlock':function(_0x5f2ec4,_0x3956e2,_0x49fd23,_0x50426e,_0x6afda3,_0x4f3345,_0x37c857,_0x38b598){for(var _0x3eb6de=this['_nRounds'],_0x11eeb9=_0x5f2ec4[_0x3956e2]^_0x49fd23[0x0],_0x455369=_0x5f2ec4[_0x3956e2+0x1]^_0x49fd23[0x1],_0x3c177f=_0x5f2ec4[_0x3956e2+0x2]^_0x49fd23[0x2],_0x334379=_0x5f2ec4[_0x3956e2+0x3]^_0x49fd23[0x3],_0x1eb5b8=0x4,_0x28c1c4=0x1;_0x28c1c4<_0x3eb6de;_0x28c1c4++){var _0xd94c85=_0x50426e[_0x11eeb9>>>0x18]^_0x6afda3[_0x455369>>>0x10&0xff]^_0x4f3345[_0x3c177f>>>0x8&0xff]^_0x37c857[_0x334379&0xff]^_0x49fd23[_0x1eb5b8++],_0x168ec5=_0x50426e[_0x455369>>>0x18]^_0x6afda3[_0x3c177f>>>0x10&0xff]^_0x4f3345[_0x334379>>>0x8&0xff]^_0x37c857[_0x11eeb9&0xff]^_0x49fd23[_0x1eb5b8++],_0x54976a=_0x50426e[_0x3c177f>>>0x18]^_0x6afda3[_0x334379>>>0x10&0xff]^_0x4f3345[_0x11eeb9>>>0x8&0xff]^_0x37c857[_0x455369&0xff]^_0x49fd23[_0x1eb5b8++],_0x6e5c3d=_0x50426e[_0x334379>>>0x18]^_0x6afda3[_0x11eeb9>>>0x10&0xff]^_0x4f3345[_0x455369>>>0x8&0xff]^_0x37c857[_0x3c177f&0xff]^_0x49fd23[_0x1eb5b8++];_0x11eeb9=_0xd94c85,_0x455369=_0x168ec5,_0x3c177f=_0x54976a,_0x334379=_0x6e5c3d;}var _0xd94c85=(_0x38b598[_0x11eeb9>>>0x18]<<0x18|_0x38b598[_0x455369>>>0x10&0xff]<<0x10|_0x38b598[_0x3c177f>>>0x8&0xff]<<0x8|_0x38b598[_0x334379&0xff])^_0x49fd23[_0x1eb5b8++],_0x168ec5=(_0x38b598[_0x455369>>>0x18]<<0x18|_0x38b598[_0x3c177f>>>0x10&0xff]<<0x10|_0x38b598[_0x334379>>>0x8&0xff]<<0x8|_0x38b598[_0x11eeb9&0xff])^_0x49fd23[_0x1eb5b8++],_0x54976a=(_0x38b598[_0x3c177f>>>0x18]<<0x18|_0x38b598[_0x334379>>>0x10&0xff]<<0x10|_0x38b598[_0x11eeb9>>>0x8&0xff]<<0x8|_0x38b598[_0x455369&0xff])^_0x49fd23[_0x1eb5b8++],_0x6e5c3d=(_0x38b598[_0x334379>>>0x18]<<0x18|_0x38b598[_0x11eeb9>>>0x10&0xff]<<0x10|_0x38b598[_0x455369>>>0x8&0xff]<<0x8|_0x38b598[_0x3c177f&0xff])^_0x49fd23[_0x1eb5b8++];_0x5f2ec4[_0x3956e2]=_0xd94c85,_0x5f2ec4[_0x3956e2+0x1]=_0x168ec5,_0x5f2ec4[_0x3956e2+0x2]=_0x54976a,_0x5f2ec4[_0x3956e2+0x3]=_0x6e5c3d;},'keySize':0x100/0x20});_0x337841[_0x590f16(0x40d)]=_0x441b81[_0x590f16(0x4b9)](_0x5f54c8);}()),_0x1fae5b[_0x3f4d66(0x40d)];}));}(_0x692448)),_0x692448[_0x1a7789(0x1f7)];}var _0x5839ab=_0x3b2d3a();const _0x27d9f3=_0x14f116(_0x5839ab);var _0x519875=_0x294be0();const _0x4efe1d=_0x14f116(_0x519875);var _0x2444b1={'exports':{}},_0x321799=_0x2444b1[_0x3d1808(0x1f7)],_0x152e60;function _0x1cf2ea(){return _0x152e60||(_0x152e60=0x1,function(_0x44886e,_0x1e6e30){(function(_0x3b5e97,_0x4ee44f){var _0x364e12=_0x58ee;_0x44886e[_0x364e12(0x1f7)]=_0x4ee44f(_0x1257fc());}(_0x321799,function(_0x52067f){var _0x11d371=_0x58ee;return _0x52067f[_0x11d371(0x30e)][_0x11d371(0x4ec)];}));}(_0x2444b1)),_0x2444b1['exports'];}var _0x40c1f0=_0x1cf2ea();const _0x2d1329=_0x14f116(_0x40c1f0);var _0x430e24={'exports':{}},_0x2fc28a=_0x430e24[_0x3d1808(0x1f7)],_0x700eab;function _0x193af2(){var _0x15240=_0x3d1808;return _0x700eab||(_0x700eab=0x1,function(_0x3f78c3,_0x3b1309){(function(_0x515de3,_0x5a8ac7){var _0x1fe9ed=_0x58ee;_0x3f78c3[_0x1fe9ed(0x1f7)]=_0x5a8ac7(_0x1257fc());}(_0x2fc28a,function(_0x377810){var _0x11701c=_0x58ee;return(function(){var _0x390e8b=_0x58ee;if(typeof ArrayBuffer==_0x390e8b(0x32a)){var _0x560e50=_0x377810,_0x34de29=_0x560e50[_0x390e8b(0x1fd)],_0x151c2e=_0x34de29['WordArray'],_0x45595b=_0x151c2e[_0x390e8b(0x456)],_0x44d9b8=_0x151c2e['init']=function(_0x3a7adf){var _0x51cc50=_0x390e8b;if(_0x3a7adf instanceof ArrayBuffer&&(_0x3a7adf=new Uint8Array(_0x3a7adf)),(_0x3a7adf instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3a7adf instanceof Uint8ClampedArray||_0x3a7adf instanceof Int16Array||_0x3a7adf instanceof Uint16Array||_0x3a7adf instanceof Int32Array||_0x3a7adf instanceof Uint32Array||_0x3a7adf instanceof Float32Array||_0x3a7adf instanceof Float64Array)&&(_0x3a7adf=new Uint8Array(_0x3a7adf[_0x51cc50(0x439)],_0x3a7adf[_0x51cc50(0x1ec)],_0x3a7adf[_0x51cc50(0x309)])),_0x3a7adf instanceof Uint8Array){for(var _0x47eb95=_0x3a7adf[_0x51cc50(0x309)],_0x6d6544=[],_0x3bdd0e=0x0;_0x3bdd0e<_0x47eb95;_0x3bdd0e++)_0x6d6544[_0x3bdd0e>>>0x2]|=_0x3a7adf[_0x3bdd0e]<<0x18-_0x3bdd0e%0x4*0x8;_0x45595b[_0x51cc50(0x37a)](this,_0x6d6544,_0x47eb95);}else _0x45595b[_0x51cc50(0x410)](this,arguments);};_0x44d9b8[_0x390e8b(0x236)]=_0x151c2e;}}()),_0x377810[_0x11701c(0x1fd)][_0x11701c(0x273)];}));}(_0x430e24)),_0x430e24[_0x15240(0x1f7)];}var _0x1ccd7f=_0x193af2();const _0x3b05e7=_0x14f116(_0x1ccd7f);var _0x3d245e={'exports':{}},_0x114215=_0x3d245e[_0x3d1808(0x1f7)],_0x30093d;function _0x33a963(){var _0x4522a9=_0x3d1808;return _0x30093d||(_0x30093d=0x1,function(_0x5451ec,_0x3cd948){(function(_0x21128d,_0x1f4ea8,_0x10960f){var _0x589127=_0x58ee;_0x5451ec[_0x589127(0x1f7)]=_0x1f4ea8(_0x1257fc(),_0x49b936());}(_0x114215,function(_0x46dcf0){var _0x194a51=_0x58ee;return _0x46dcf0['pad'][_0x194a51(0x31a)]={'pad':function(){},'unpad':function(){}},_0x46dcf0[_0x194a51(0x470)][_0x194a51(0x31a)];}));}(_0x3d245e)),_0x3d245e[_0x4522a9(0x1f7)];}var _0x222cbf=_0x33a963();const _0x1f3567=_0x14f116(_0x222cbf);function _0x3c093e(_0x143445,_0x2d7a2b){var _0x171517=_0x3d1808;const _0x1ebb8b=_0x2d7a2b-_0x143445[_0x171517(0x3c5)]%_0x2d7a2b,_0x2707b8=String[_0x171517(0x47a)](_0x1ebb8b)[_0x171517(0x209)](_0x1ebb8b);return _0x143445+_0x2707b8;}function _0x1ce828(_0x11cbdb,_0x3af569){var _0x56226d=_0x3d1808;const _0x119b9f=_0x3b05e7['random'](0x10),_0x2b5729=_0x3c093e(_0x11cbdb,0x10),_0x453af3=_0x27d9f3['encrypt'](_0x2d1329[_0x56226d(0x43e)](_0x2b5729),_0x4efe1d[_0x56226d(0x43e)](_0x3af569),{'iv':_0x119b9f,'padding':_0x1f3567});return _0x119b9f[_0x56226d(0x4bb)](_0x453af3['ciphertext'])[_0x56226d(0x250)](_0x4efe1d);}function _0xcb16ff(){var _0x2cb265=_0x3d1808;const _0x5a944f=_0x6c7987[_0x2cb265(0x473)]()[_0x2cb265(0x4cf)];if(_0x5a944f){const _0x52ec56={'time':Math['floor'](Date[_0x2cb265(0x424)]()/0x3e8),'domain':location[_0x2cb265(0x419)]};return _0x1ce828(JSON[_0x2cb265(0x3c7)](_0x52ec56),_0x5a944f);}}var _0xa78598=Object[_0x3d1808(0x3cf)],_0xa477a4=(_0x2715b6,_0x5ec7c5,_0x48f1e3,_0x1e94a5)=>{var _0x9b2572=_0x3d1808;for(var _0x22a3db=_0x1e94a5>0x1?void 0x0:_0x1e94a5?_0xa78598(_0x5ec7c5,_0x48f1e3):_0x5ec7c5,_0x456739=_0x2715b6[_0x9b2572(0x3c5)]-0x1,_0x39a1e6;_0x456739>=0x0;_0x456739--)(_0x39a1e6=_0x2715b6[_0x456739])&&(_0x22a3db=_0x39a1e6(_0x22a3db)||_0x22a3db);return _0x22a3db;},_0x28fcf2=(_0x45a9de,_0x3958ab)=>(_0x3b5fd8,_0x4009e9)=>_0x3958ab(_0x3b5fd8,_0x4009e9,_0x45a9de);let _0x282438=class{constructor(_0x378ebb){var _0x48cae3=_0x3d1808;this[_0x48cae3(0x48b)]=_0x378ebb,this['_initRequestHeader']();}[_0x3d1808(0x45f)](){var _0x5e154c=_0x3d1808;this[_0x5e154c(0x48b)][_0x5e154c(0x252)]({'interceptor':(_0x22307e,_0x2fbd24)=>{var _0xe7345=_0x5e154c;const _0x339316=_0x22307e[_0xe7345(0x3c4)],_0x2b8030=_0xcb16ff();return _0x2b8030&&_0x339316[_0xe7345(0x373)](_0xe7345(0x484),_0x2b8030),_0x2fbd24(_0x22307e);}});}};_0x282438=_0xa477a4([_0x28fcf2(0x0,_0x5bafa4['Inject'](_0x24f178[_0x3d1808(0x2c9)]))],_0x282438);var _0x25c8eb=Object[_0x3d1808(0x3cf)],_0x255246=(_0x53428a,_0x502550,_0x3ef29b,_0x4d562e)=>{var _0x8047f0=_0x3d1808;for(var _0x1bc8d6=_0x4d562e>0x1?void 0x0:_0x4d562e?_0x25c8eb(_0x502550,_0x3ef29b):_0x502550,_0x547332=_0x53428a[_0x8047f0(0x3c5)]-0x1,_0x42283b;_0x547332>=0x0;_0x547332--)(_0x42283b=_0x53428a[_0x547332])&&(_0x1bc8d6=_0x42283b(_0x1bc8d6)||_0x1bc8d6);return _0x1bc8d6;},_0x3da950=(_0x403c28,_0x13ff43)=>(_0x2d071e,_0x2a55d6)=>_0x13ff43(_0x2d071e,_0x2a55d6,_0x403c28);_0x1065a7['DataLoaderService']=class extends _0x5bafa4[_0x3d1808(0x265)]{constructor(_0x3cffdf,_0x23253d,_0x51b417){var _0x2a7a3f=_0x3d1808;super(),_0x3fc7c7(this,'_unitInfo$',new _0x1a688c[(_0x2a7a3f(0x1f8))](null)),_0x3fc7c7(this,_0x2a7a3f(0x531),this['_unitInfo$'][_0x2a7a3f(0x340)]()),(this[_0x2a7a3f(0x4dc)]=_0x3cffdf,this[_0x2a7a3f(0x3b4)]=_0x23253d,this[_0x2a7a3f(0x4b5)]=_0x51b417);}async[_0x3d1808(0x535)](_0x10e5cb,_0x420bbe,_0x4242d5){var _0x1ed5b0=_0x3d1808;this[_0x1ed5b0(0x52f)][_0x1ed5b0(0x543)]({'unitId':_0x10e5cb,'type':_0x420bbe});let _0x517e0a=null;switch(_0x420bbe){case _0x32e542['UNIVER_SHEET']:{_0x517e0a=await this[_0x1ed5b0(0x3b4)][_0x1ed5b0(0x4f9)](_0x10e5cb,_0x4242d5);break;}case _0x32e542[_0x1ed5b0(0x25d)]:{_0x517e0a=await this['_snapshotService'][_0x1ed5b0(0x52d)](_0x10e5cb,_0x4242d5);break;}default:{this[_0x1ed5b0(0x4dc)][_0x1ed5b0(0x3f5)](_0x1ed5b0(0x4fe),_0x1ed5b0(0x2ea));break;}}return _0x517e0a;}async[_0x3d1808(0x2aa)](_0x271fa3,_0xdcaec1,_0xcd2091){var _0x333ee2=_0x3d1808,_0x1d2b37;this[_0x333ee2(0x52f)][_0x333ee2(0x543)]({'unitId':_0x271fa3,'type':_0xdcaec1,'subUnitId':_0xcd2091});let _0x3e4939=0x0;const _0x7eef07=await((_0x1d2b37=this[_0x333ee2(0x4b5)])==null?void 0x0:_0x1d2b37[_0x333ee2(0x383)](_0x271fa3));return _0x7eef07&&(_0x7eef07[_0x333ee2(0x2be)]||_0x7eef07['mutations'][_0x333ee2(0x3c5)]!==0x0)&&(_0x3e4939=_0x7eef07[_0x333ee2(0x43f)]),_0x3e4939===0x0&&this[_0x333ee2(0x4dc)][_0x333ee2(0x206)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x333ee2(0x535)](_0x271fa3,_0xdcaec1,_0x3e4939);}},_0x1065a7[_0x3d1808(0x413)]=_0x255246([_0x3da950(0x0,_0x5bafa4['ILogService']),_0x3da950(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x1db)])),_0x3da950(0x2,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7['DataLoaderService']);var _0x523fd9=Object[_0x3d1808(0x3cf)],_0x1d309c=(_0x146fda,_0x5191a4,_0x2c00f2,_0x518633)=>{for(var _0x5438f2=_0x518633>0x1?void 0x0:_0x518633?_0x523fd9(_0x5191a4,_0x2c00f2):_0x5191a4,_0x13ea30=_0x146fda['length']-0x1,_0xee6498;_0x13ea30>=0x0;_0x13ea30--)(_0xee6498=_0x146fda[_0x13ea30])&&(_0x5438f2=_0xee6498(_0x5438f2)||_0x5438f2);return _0x5438f2;},_0x4a8609=(_0xd65665,_0x509593)=>(_0x2152cb,_0xb6695a)=>_0x509593(_0x2152cb,_0xb6695a,_0xd65665);const _0x4d3e1a=[_0x3d1808(0x1e1),_0x3d1808(0x350),_0x3d1808(0x291),'image/gif','image/bmp'],_0x1df508=0x5*0x400*0x400,_0xdec7c3=_0x3d1808(0x2bc),_0x4e2d65=_0x3d1808(0x2d3);_0x1065a7[_0x3d1808(0x42a)]=class{constructor(_0x2a1eb1,_0x36adb2,_0x3afc36){var _0x270215=_0x3d1808;_0x3fc7c7(this,_0x270215(0x55b),0x0),_0x3fc7c7(this,_0x270215(0x268),new _0x1a688c['Subject']()),_0x3fc7c7(this,'change$',this['_change$']),_0x3fc7c7(this,'_imageSourceCache',new Map()),(this[_0x270215(0x48b)]=_0x2a1eb1,this[_0x270215(0x4ee)]=_0x36adb2,this[_0x270215(0x4b8)]=_0x3afc36);}['setWaitCount'](_0x1d0366){var _0x5689f2=_0x3d1808;this[_0x5689f2(0x55b)]=_0x1d0366,this[_0x5689f2(0x268)]['next'](_0x1d0366);}[_0x3d1808(0x3de)](_0xac9bb6,_0x5568e6){var _0x2cf2ca=_0x3d1808;if(_0x5568e6===_0x301beb[_0x2cf2ca(0x45c)][_0x2cf2ca(0x45d)]){const _0x1f4999=new Image();return _0x1f4999[_0x2cf2ca(0x4f3)]=_0xac9bb6,_0x1f4999;}return this['_imageSourceCache']['get'](_0xac9bb6);}[_0x3d1808(0x1df)](_0x23063e,_0x4de03f,_0x1ab5d6){var _0x2d608e=_0x3d1808;_0x4de03f===_0x301beb[_0x2d608e(0x45c)]['BASE64']||_0x1ab5d6==null||this[_0x2d608e(0x395)][_0x2d608e(0x373)](_0x23063e,_0x1ab5d6);}async[_0x3d1808(0x2f6)](_0xf58b7){var _0x5b5795=_0x3d1808;try{const _0x5971bf=this['_replaceFileID'](this[_0x5b5795(0x337)](),''+_0xf58b7),_0x2ef863=(await this[_0x5b5795(0x48b)]['get'](_0x5971bf))[_0x5b5795(0x26c)];if(_0x2ef863[_0x5b5795(0x3f5)]&&_0x2ef863[_0x5b5795(0x3f5)][_0x5b5795(0x24b)]===_0x44514f['OK']){const _0x1297c7=new URL(_0x2ef863['url'],this[_0x5b5795(0x551)]())[_0x5b5795(0x250)]();return Promise[_0x5b5795(0x287)](_0x1297c7);}return Promise[_0x5b5795(0x212)](_0x2ef863[_0x5b5795(0x3f5)]);}catch(_0x5be6d9){return Promise['reject'](_0x5be6d9);}}async['saveImage'](_0x293ada){var _0x1d6e69=_0x3d1808;let _0xa6744b='';if(!_0x4d3e1a[_0x1d6e69(0x27d)](_0x293ada['type']))return this[_0x1d6e69(0x371)](),Promise[_0x1d6e69(0x212)](new Error(_0x301beb['ImageUploadStatusType'][_0x1d6e69(0x4a9)]));if(_0x293ada['size']>_0x1df508)return this[_0x1d6e69(0x371)](),Promise[_0x1d6e69(0x212)](new Error(_0x301beb[_0x1d6e69(0x3ba)]['ERROR_EXCEED_SIZE']));try{const _0xed83bb=new FormData();_0xed83bb[_0x1d6e69(0x55e)](_0x1d6e69(0x48e),_0x293ada);const _0x44ccad=this[_0x1d6e69(0x4b8)][_0x1d6e69(0x29b)](),_0xb3e952=_0x44ccad==null?void 0x0:_0x44ccad['getUnitId']();if(!_0xb3e952)throw new Error(_0x1d6e69(0x54c));const _0x389491=this['_getUploadFileURL']()+_0x1d6e69(0x2c0)+_0x293ada['size']['toString']()+_0x1d6e69(0x3e3)+_0x3fac12[_0x1d6e69(0x46d)]+_0x1d6e69(0x311)+encodeURIComponent(_0xb3e952),_0x3d97af={'body':_0xed83bb},_0x4d1f89=(await this[_0x1d6e69(0x48b)][_0x1d6e69(0x2df)](_0x389491,_0x3d97af))['body'];if(typeof _0x4d1f89[_0x1d6e69(0x487)]!=_0x1d6e69(0x2da))return this['_decreaseWaiting'](),Promise[_0x1d6e69(0x212)](new Error(_0x301beb['ImageUploadStatusType'][_0x1d6e69(0x4d2)]));_0xa6744b=_0x4d1f89[_0x1d6e69(0x487)];}catch{return this[_0x1d6e69(0x371)](),Promise[_0x1d6e69(0x212)](new Error(_0x301beb[_0x1d6e69(0x3ba)][_0x1d6e69(0x4d2)]));}return new Promise((_0x68ebfd,_0x5d4c08)=>{var _0x19fdc9=_0x1d6e69;const _0x8dab84=new FileReader();_0x8dab84[_0x19fdc9(0x4c8)](_0x293ada),_0x8dab84['onload']=_0x460649=>{var _0x38c869=_0x19fdc9,_0x7c1195;const _0x52bfbf=(_0x7c1195=_0x460649['target'])==null?void 0x0:_0x7c1195[_0x38c869(0x570)];if(_0x52bfbf==null){this[_0x38c869(0x371)](),_0x5d4c08(new Error(_0x301beb[_0x38c869(0x3ba)][_0x38c869(0x4d2)]));return;}const _0x3af40e=_0x5bafa4[_0x38c869(0x256)](0x6);_0x68ebfd({'imageId':_0x3af40e,'imageSourceType':_0x301beb[_0x38c869(0x45c)][_0x38c869(0x1f4)],'source':_0xa6744b,'base64Cache':_0x52bfbf,'status':_0x301beb[_0x38c869(0x3ba)]['SUCCUSS']}),this[_0x38c869(0x371)]();};});}[_0x3d1808(0x29a)](){var _0x3aabae=_0x3d1808,_0x43558a;const _0xe20307=this[_0x3aabae(0x4ee)][_0x3aabae(0x38b)](_0x755dce);return(_0x43558a=_0xe20307==null?void 0x0:_0xe20307[_0x3aabae(0x43a)])!=null?_0x43558a:_0xdec7c3;}[_0x3d1808(0x337)](){var _0x5b07bf=_0x3d1808,_0x30a779;const _0x2caffe=this['_configService'][_0x5b07bf(0x38b)](_0x755dce);return(_0x30a779=_0x2caffe==null?void 0x0:_0x2caffe[_0x5b07bf(0x304)])!=null?_0x30a779:_0x4e2d65;}[_0x3d1808(0x551)](){var _0x353d4d=_0x3d1808,_0x272bae;const _0x5cad88=this[_0x353d4d(0x4ee)][_0x353d4d(0x38b)](_0x755dce);return(_0x272bae=_0x5cad88==null?void 0x0:_0x5cad88[_0x353d4d(0x550)])!=null?_0x272bae:location['origin'];}[_0x3d1808(0x215)](_0x3f18ed,_0x3a1900){var _0x1b6eaa=_0x3d1808;return _0x3f18ed[_0x1b6eaa(0x2c7)](_0x1b6eaa(0x1de),_0x3a1900);}[_0x3d1808(0x371)](){var _0x60d8c7=_0x3d1808;this['_waitCount']-=0x1,this[_0x60d8c7(0x268)][_0x60d8c7(0x543)](this[_0x60d8c7(0x55b)]);}},_0x1065a7[_0x3d1808(0x42a)]=_0x1d309c([_0x4a8609(0x0,_0x5bafa4[_0x3d1808(0x317)](_0x24f178['HTTPService'])),_0x4a8609(0x1,_0x5bafa4['IConfigService']),_0x4a8609(0x2,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x443)]))],_0x1065a7['CollaborationImageIoService']);var _0x1037fb=Object[_0x3d1808(0x3cf)],_0x31a5b1=(_0x31f8c3,_0x13f05e,_0x2885e9,_0xb107b2)=>{var _0x17ce10=_0x3d1808;for(var _0x468c01=_0xb107b2>0x1?void 0x0:_0xb107b2?_0x1037fb(_0x13f05e,_0x2885e9):_0x13f05e,_0x5c8715=_0x31f8c3[_0x17ce10(0x3c5)]-0x1,_0x2b694a;_0x5c8715>=0x0;_0x5c8715--)(_0x2b694a=_0x31f8c3[_0x5c8715])&&(_0x468c01=_0x2b694a(_0x468c01)||_0x468c01);return _0x468c01;},_0x224652=(_0x190f88,_0x5a8905)=>(_0xced2c2,_0x3dbe20)=>_0x5a8905(_0xced2c2,_0x3dbe20,_0x190f88);const _0x37fe8f=_0x3d1808(0x318);_0x1065a7[_0x3d1808(0x2a2)]=class{constructor(_0x2531a3,_0x29b2e8){var _0x4b7e82=_0x3d1808;this[_0x4b7e82(0x4ee)]=_0x2531a3,this[_0x4b7e82(0x412)]=_0x29b2e8;}['_getAPIPrefixPath'](){var _0x20c531=_0x3d1808,_0x1bf560;const _0x163870=this[_0x20c531(0x4ee)][_0x20c531(0x38b)](_0x755dce);return(_0x1bf560=_0x163870==null?void 0x0:_0x163870[_0x20c531(0x399)])!=null?_0x1bf560:_0x37fe8f;}async[_0x3d1808(0x504)](_0x4ffdd5){var _0x2d64f9=_0x3d1808;const _0x25f9ff=this[_0x2d64f9(0x488)]()+_0x2d64f9(0x22a);return{'list':[{'title':_0x2d64f9(0x23e),'mentions':(await this[_0x2d64f9(0x412)][_0x2d64f9(0x3f0)](_0x25f9ff,{'params':{'objectID':_0x4ffdd5[_0x2d64f9(0x48f)],'unitID':_0x4ffdd5[_0x2d64f9(0x48f)]}}))[_0x2d64f9(0x26c)]['collaborators'][_0x2d64f9(0x51a)](_0xde67c3=>({'objectId':_0xde67c3['id'],'name':_0xde67c3[_0x2d64f9(0x2fa)]['name'],'metadata':{'icon':_0xde67c3[_0x2d64f9(0x2fa)]['avatar']},'label':_0xde67c3[_0x2d64f9(0x2fa)][_0x2d64f9(0x210)],'objectType':_0x5bafa4['MentionType']['PERSON']})),'metadata':{},'type':_0x5bafa4['MentionType'][_0x2d64f9(0x220)]}]};}},_0x1065a7[_0x3d1808(0x2a2)]=_0x31a5b1([_0x224652(0x0,_0x5bafa4['Inject'](_0x5bafa4[_0x3d1808(0x34c)])),_0x224652(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x24f178[_0x3d1808(0x2c9)]))],_0x1065a7[_0x3d1808(0x2a2)]);var _0x109f39=Object[_0x3d1808(0x3cf)],_0x7619f1=(_0x53f1ff,_0x3d222f,_0xb34fc0,_0x1d2a50)=>{for(var _0xbedf2e=_0x1d2a50>0x1?void 0x0:_0x1d2a50?_0x109f39(_0x3d222f,_0xb34fc0):_0x3d222f,_0x412e8c=_0x53f1ff['length']-0x1,_0x51aa8b;_0x412e8c>=0x0;_0x412e8c--)(_0x51aa8b=_0x53f1ff[_0x412e8c])&&(_0xbedf2e=_0x51aa8b(_0xbedf2e)||_0xbedf2e);return _0xbedf2e;},_0x3049c5=(_0x1c2ac7,_0x19c7cf)=>(_0x346ed6,_0x545bb6)=>_0x19c7cf(_0x346ed6,_0x545bb6,_0x1c2ac7);let _0x145b10=class extends _0x5bafa4[_0x3d1808(0x265)]{constructor(_0x584cd5,_0x176428,_0x2509fb,_0x5c93a3,_0x405765){var _0x2eabaa=_0x3d1808;super(),this[_0x2eabaa(0x50f)]=_0x584cd5,this[_0x2eabaa(0x4b8)]=_0x176428,this[_0x2eabaa(0x56a)]=_0x2509fb,this['_collaborationSessionService']=_0x5c93a3,this['_collaborationUIEventService']=_0x405765,this[_0x2eabaa(0x23a)](),this[_0x2eabaa(0x382)]();}[_0x3d1808(0x382)](){var _0x545d3f=_0x3d1808;const _0x196b49=async _0x4b2ed4=>{var _0x3d7334=_0x58ee;(await this[_0x3d7334(0x3f4)][_0x3d7334(0x3ed)](_0x4b2ed4))['event$']['pipe'](_0xd6074['filter'](_0x14f033=>_0x14f033[_0x3d7334(0x3a4)]===_0x3ab606[_0x3d7334(0x260)][_0x3d7334(0x515)]),_0xd6074[_0x3d7334(0x520)](this[_0x3d7334(0x39e)]))[_0x3d7334(0x239)](_0x531e6a=>{var _0x1661d4=_0x3d7334;const _0x582b01=_0x531e6a,{reason:_0x49daaa}=_0x582b01['data'];this['_collaborationUIEventService'][_0x1661d4(0x3e2)]({'id':_0x38090c['CLOSE_ROOM'],'data':_0x49daaa}),this[_0x1661d4(0x56a)]['updatePermissionPoint'](new _0x1c5262['WorkbookEditablePermission'](_0x4b2ed4)['id'],!0x1),this[_0x1661d4(0x3f4)][_0x1661d4(0x352)](_0x4b2ed4);});};_0x1a688c[_0x545d3f(0x46c)](this[_0x545d3f(0x4b8)]['getTypeOfUnitAdded$'](_0x5bafa4[_0x545d3f(0x35e)][_0x545d3f(0x246)]),this[_0x545d3f(0x4b8)][_0x545d3f(0x571)](_0x5bafa4[_0x545d3f(0x35e)][_0x545d3f(0x25d)]))['pipe'](_0xd6074['map'](_0x267899=>_0x267899[_0x545d3f(0x323)]()),_0xd6074['filter'](_0x9c75a2=>!_0x5bafa4[_0x545d3f(0x362)](_0x9c75a2)),_0xd6074[_0x545d3f(0x520)](this['dispose$']))['subscribe'](_0x5f4756=>{_0x196b49(_0x5f4756);});}[_0x3d1808(0x23a)](){var _0x43bdc0=_0x3d1808;const _0x19b3a8=async _0x5dff46=>{var _0xb09e0f=_0x58ee;const _0xdf5b9d=await this['_collaborationSessionService'][_0xb09e0f(0x3ed)](_0x5dff46),_0x19f45d=this[_0xb09e0f(0x50f)][_0xb09e0f(0x3f0)](_0x1c5262[_0xb09e0f(0x4cb)]);_0xdf5b9d[_0xb09e0f(0x2a4)][_0xb09e0f(0x24d)](_0xd6074[_0xb09e0f(0x3d2)](_0x2f3dde=>_0x2f3dde[_0xb09e0f(0x3a4)]===_0x3ab606[_0xb09e0f(0x260)][_0xb09e0f(0x425)]),_0xd6074[_0xb09e0f(0x520)](this['dispose$']))[_0xb09e0f(0x239)](_0x5e5d89=>{var _0x562a49=_0xb09e0f;const _0x3953db=_0x5e5d89,{objectId:_0x1b63a7}=_0x3953db[_0x562a49(0x285)];_0x1b63a7===_0x5dff46?_0x19f45d[_0x562a49(0x23c)](_0x5dff46):_0x19f45d[_0x562a49(0x341)](_0x5dff46,_0x1b63a7);});};_0x1a688c[_0x43bdc0(0x46c)](this['_univerInstanceService'][_0x43bdc0(0x571)](_0x5bafa4['UniverInstanceType'][_0x43bdc0(0x246)]))[_0x43bdc0(0x24d)](_0xd6074['map'](_0x14f091=>_0x14f091[_0x43bdc0(0x323)]()),_0xd6074[_0x43bdc0(0x3d2)](_0x47f599=>!_0x5bafa4[_0x43bdc0(0x362)](_0x47f599)),_0xd6074['takeUntil'](this[_0x43bdc0(0x39e)]))[_0x43bdc0(0x239)](_0x526182=>{_0x19b3a8(_0x526182);});}};_0x145b10=_0x7619f1([_0x3049c5(0x0,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0x3049c5(0x1,_0x5bafa4['IUniverInstanceService']),_0x3049c5(0x2,_0x5bafa4[_0x3d1808(0x226)]),_0x3049c5(0x3,_0x5bafa4['Inject'](_0x1065a7[_0x3d1808(0x492)])),_0x3049c5(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x10cfe4))],_0x145b10);var _0x38f54c=Object[_0x3d1808(0x3cf)],_0x53e960=(_0x22c089,_0x875c4,_0xf04b40,_0x56054f)=>{var _0x4d7e6e=_0x3d1808;for(var _0x109a91=_0x56054f>0x1?void 0x0:_0x56054f?_0x38f54c(_0x875c4,_0xf04b40):_0x875c4,_0x30e12f=_0x22c089[_0x4d7e6e(0x3c5)]-0x1,_0x179842;_0x30e12f>=0x0;_0x30e12f--)(_0x179842=_0x22c089[_0x30e12f])&&(_0x109a91=_0x179842(_0x109a91)||_0x109a91);return _0x109a91;},_0x335754=(_0x466086,_0x7cd02)=>(_0x404f0c,_0x40682f)=>_0x7cd02(_0x404f0c,_0x40682f,_0x466086);_0x1065a7[_0x3d1808(0x2ab)]=class{constructor(_0x56cce2,_0x20567d){var _0x4f72cf=_0x3d1808;this[_0x4f72cf(0x4ee)]=_0x56cce2,this[_0x4f72cf(0x48b)]=_0x20567d;}async[_0x3d1808(0x278)](_0xc86ac1,_0xb7e9e9){var _0x14a1c1=_0x3d1808,_0x11bbf4;const {unitID:_0x162340,type:_0x38b8b3,revision:_0x2a7c34=0x0}=_0xb7e9e9,_0x2fb995=this[_0x14a1c1(0x1f5)]()+'/'+_0x38b8b3+_0x14a1c1(0x495)+_0x162340+_0x14a1c1(0x564)+_0x2a7c34,_0x14024a=(await this[_0x14a1c1(0x48b)][_0x14a1c1(0x3f0)](_0x2fb995))[_0x14a1c1(0x26c)],_0x2800a1=(_0x11bbf4=_0x14024a[_0x14a1c1(0x1e4)])==null?void 0x0:_0x11bbf4['workbook'];if(_0x2800a1){const _0xe54bfe=_0x2800a1==null?void 0x0:_0x2800a1[_0x14a1c1(0x4ab)],_0x41eb47=_0x3ab606[_0x14a1c1(0x55c)]['encode'](_0x3ab606[_0x14a1c1(0x3eb)](_0xe54bfe));_0x2800a1[_0x14a1c1(0x4ab)]=_0x41eb47,Object[_0x14a1c1(0x369)](_0x2800a1[_0x14a1c1(0x402)])['forEach'](([,_0x447244])=>{var _0x1368e7=_0x14a1c1;const _0x44fc88=_0x447244['originalMeta'],_0xa9350=_0x3ab606[_0x1368e7(0x55c)][_0x1368e7(0x25f)](_0x3ab606[_0x1368e7(0x3eb)](_0x44fc88));_0x447244['originalMeta']=_0xa9350;});}return _0x14024a;}async[_0x3d1808(0x2a5)](_0x5146ed,_0x1274fc){var _0x39987b=_0x3d1808;const {unitID:_0x35f810,type:_0x324ea8,blockID:_0x585c63}=_0x1274fc,_0xffff94=this[_0x39987b(0x2d7)]()+'/'+_0x324ea8+'/unit/'+_0x35f810+_0x39987b(0x328)+_0x585c63;return(await this[_0x39987b(0x48b)]['get'](_0xffff94))['body'];}async[_0x3d1808(0x1f6)](_0x1a2744,_0x3ecf93){var _0x50779d=_0x3d1808;const {unitID:_0x2e9aa2,type:_0x564f1e,blockID:_0x46bc26}=_0x3ecf93,_0x1460f8=this[_0x50779d(0x2d7)]()+_0x50779d(0x328)+_0x564f1e+_0x50779d(0x495)+_0x2e9aa2+_0x50779d(0x328)+_0x46bc26;return(await this[_0x50779d(0x48b)][_0x50779d(0x3f0)](_0x1460f8))[_0x50779d(0x26c)];}async[_0x3d1808(0x54b)](_0x4a67e4,_0x269d69){var _0x4bc09d=_0x3d1808;const {unitID:_0x5a29df,type:_0x429d33,from:_0x525710,to:_0x3bdbab}=_0x269d69,_0x3f0b09=this['_getAPIPrefix']()+'/'+_0x429d33+_0x4bc09d(0x495)+_0x5a29df+_0x4bc09d(0x4c0)+_0x525710+_0x4bc09d(0x251)+_0x3bdbab;return(await this[_0x4bc09d(0x48b)][_0x4bc09d(0x3f0)](_0x3f0b09))[_0x4bc09d(0x26c)];}[_0x3d1808(0x1f5)](){var _0x3e2161=_0x3d1808,_0x3599f4;return(_0x3599f4=this['_configService'][_0x3e2161(0x38b)](_0x268f01))!=null?_0x3599f4:this[_0x3e2161(0x2d7)]();}[_0x3d1808(0x2d7)](){var _0x49a621=_0x3d1808,_0x419c05;const _0x51c36f=this[_0x49a621(0x4ee)][_0x49a621(0x38b)](_0x755dce);return(_0x419c05=_0x51c36f==null?void 0x0:_0x51c36f['snapshotServerUrl'])!=null?_0x419c05:_0x37e926;}async['getResourcesRequest'](_0x28c325,_0x35916c){var _0x2bb43b=_0x3d1808;const _0x59b1d6=_0x2bb43b(0x23b)+_0x35916c[_0x2bb43b(0x436)]+'/unit/'+_0x35916c[_0x2bb43b(0x345)]+'/resources';return(await this[_0x2bb43b(0x48b)]['get'](_0x59b1d6,{'params':{'resourceId':JSON[_0x2bb43b(0x3c7)](_0x35916c['resourceIDs'])}}))[_0x2bb43b(0x26c)];}[_0x3d1808(0x32e)](){var _0x22a8ca=_0x3d1808;throw new Error(_0x22a8ca(0x4d4));}[_0x3d1808(0x4d6)](){var _0x588b8d=_0x3d1808;throw new Error(_0x588b8d(0x4d4));}[_0x3d1808(0x502)](){var _0x3e3358=_0x3d1808;throw new Error(_0x3e3358(0x4d4));}[_0x3d1808(0x516)](){var _0x83989=_0x3d1808;throw new Error(_0x83989(0x4d4));}[_0x3d1808(0x293)](){var _0x56890d=_0x3d1808;throw new Error(_0x56890d(0x4d4));}[_0x3d1808(0x2a1)](){var _0x232e82=_0x3d1808;throw new Error(_0x232e82(0x4d4));}},_0x1065a7[_0x3d1808(0x2ab)]=_0x53e960([_0x335754(0x0,_0x5bafa4[_0x3d1808(0x34c)]),_0x335754(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x24f178[_0x3d1808(0x2c9)]))],_0x1065a7[_0x3d1808(0x2ab)]);var _0x2d42a1=Object[_0x3d1808(0x3cf)],_0x51079e=(_0x3b2634,_0x18c674,_0x32d1f2,_0x4d11e)=>{var _0x3fcda8=_0x3d1808;for(var _0x594f3d=_0x4d11e>0x1?void 0x0:_0x4d11e?_0x2d42a1(_0x18c674,_0x32d1f2):_0x18c674,_0x16ef88=_0x3b2634[_0x3fcda8(0x3c5)]-0x1,_0x4b4d84;_0x16ef88>=0x0;_0x16ef88--)(_0x4b4d84=_0x3b2634[_0x16ef88])&&(_0x594f3d=_0x4b4d84(_0x594f3d)||_0x594f3d);return _0x594f3d;},_0x1344c8=(_0x474f8f,_0x17fabf)=>(_0x3efe28,_0x1d365a)=>_0x17fabf(_0x3efe28,_0x1d365a,_0x474f8f);_0x1065a7[_0x3d1808(0x2d6)]=class extends _0x5bafa4[_0x3d1808(0x4d3)]{constructor(_0x2c4b45,_0x328b32,_0x3fd5d7,_0x39ee1c,_0x4f100d){var _0x51bda5=_0x3d1808;super(_0x2c4b45,_0x328b32,_0x3fd5d7),this[_0x51bda5(0x51f)]=_0x39ee1c,this[_0x51bda5(0x4dc)]=_0x4f100d;}[_0x3d1808(0x426)](_0x3d8515,_0x45f4d3){var _0xd15512=_0x3d1808;const _0x5f3fb4=this[_0xd15512(0x204)](_0x3d8515);if(_0x5f3fb4)try{const _0x6365ea=this[_0xd15512(0x1da)](_0x5f3fb4,_0x45f4d3);this[_0xd15512(0x52e)](_0x3d8515,_0x6365ea);}catch(_0x18db9d){this[_0xd15512(0x4dc)][_0xd15512(0x3f5)](_0xd15512(0x370),_0x18db9d),this[_0xd15512(0x46b)](_0x3d8515);}const _0x1c9852=this['_getRedoStack'](_0x3d8515);if(_0x1c9852)try{const _0x57e778=this[_0xd15512(0x1da)](_0x1c9852,_0x45f4d3);this[_0xd15512(0x481)](_0x3d8515,_0x57e778);}catch(_0x4a6b87){this[_0xd15512(0x4dc)][_0xd15512(0x3f5)](_0x4a6b87),this[_0xd15512(0x469)](_0x3d8515);}}['_clearUndo'](_0x52977b){var _0x1f0ae5=_0x3d1808;const _0x3b7efd=this[_0x1f0ae5(0x204)](_0x52977b);_0x3b7efd&&(_0x3b7efd[_0x1f0ae5(0x3c5)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x23f28f){var _0x403add=_0x3d1808;const _0x5b532a=this[_0x403add(0x27b)](_0x23f28f);_0x5b532a&&(_0x5b532a[_0x403add(0x3c5)]=0x0,this[_0x403add(0x3c0)]());}[_0x3d1808(0x52e)](_0x33520b,_0x51d34a){var _0x1ebe97=_0x3d1808;this[_0x1ebe97(0x23d)]['set'](_0x33520b,_0x51d34a),this[_0x1ebe97(0x3c0)]();}['_substituteRedoStack'](_0x37a2ff,_0x16df2b){var _0x20fcbc=_0x3d1808;this[_0x20fcbc(0x294)][_0x20fcbc(0x373)](_0x37a2ff,_0x16df2b),this[_0x20fcbc(0x3c0)]();}['_transformStack'](_0x3840b0,_0xe7d440){var _0x3331ce=_0x3d1808;const _0x5ea966=[];let _0x383ce7=_0xe7d440,_0x1ea2dc=_0xe7d440;for(let _0x5d3cd1=_0x3840b0[_0x3331ce(0x3c5)]-0x1;_0x5d3cd1>=0x0;_0x5d3cd1--){const {unitID:_0x3f9279,undoMutations:_0x89a88c,redoMutations:_0x285f93}=_0x3840b0[_0x5d3cd1],_0x2ee5d8=this['_transformService'][_0x3331ce(0x441)](_0x383ce7,_0x89a88c),_0x13c515=this[_0x3331ce(0x51f)][_0x3331ce(0x441)](_0x1ea2dc,_0x285f93);if(_0x3ab606[_0x3331ce(0x3b5)](_0x2ee5d8)||_0x3ab606['isTransformMutationsWithChangesetFailure'](_0x13c515)){this[_0x3331ce(0x4dc)][_0x3331ce(0x3f5)](_0x3331ce(0x370),'transformStack\x20failed!',_0x2ee5d8,_0x13c515);break;}_0x383ce7=_0x2ee5d8[_0x3331ce(0x315)],_0x1ea2dc=_0x13c515['c1Prime'],_0x5ea966[_0x3331ce(0x381)]({'unitID':_0x3f9279,'undoMutations':_0x2ee5d8[_0x3331ce(0x45e)],'redoMutations':_0x13c515[_0x3331ce(0x45e)]});}return _0x5ea966[_0x3331ce(0x572)]();}},_0x1065a7[_0x3d1808(0x2d6)]=_0x51079e([_0x1344c8(0x0,_0x5bafa4[_0x3d1808(0x443)]),_0x1344c8(0x1,_0x5bafa4[_0x3d1808(0x3fc)]),_0x1344c8(0x2,_0x5bafa4['IContextService']),_0x1344c8(0x3,_0x3ab606[_0x3d1808(0x269)]),_0x1344c8(0x4,_0x5bafa4['ILogService'])],_0x1065a7[_0x3d1808(0x2d6)]);var _0x2c4fe1=Object[_0x3d1808(0x545)],_0x45d8d4=Object[_0x3d1808(0x3cf)],_0x314185=(_0x31a04d,_0x347a65,_0x5b510e)=>_0x347a65 in _0x31a04d?_0x2c4fe1(_0x31a04d,_0x347a65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b510e}):_0x31a04d[_0x347a65]=_0x5b510e,_0x111b1f=(_0x594fe5,_0x5c7805,_0x1948a1,_0x2400ce)=>{for(var _0x4a797a=_0x2400ce>0x1?void 0x0:_0x2400ce?_0x45d8d4(_0x5c7805,_0x1948a1):_0x5c7805,_0x1169a1=_0x594fe5['length']-0x1,_0x34fd8b;_0x1169a1>=0x0;_0x1169a1--)(_0x34fd8b=_0x594fe5[_0x1169a1])&&(_0x4a797a=_0x34fd8b(_0x4a797a)||_0x4a797a);return _0x4a797a;},_0xe640ec=(_0x59f90c,_0x20059a)=>(_0x13c624,_0x203fca)=>_0x20059a(_0x13c624,_0x203fca,_0x59f90c),_0x5ebeaf=(_0x3cd4e5,_0x567ed9,_0x48e249)=>_0x314185(_0x3cd4e5,_0x567ed9+'',_0x48e249);const _0x242d36=_0x3d1808(0x3b1);_0x1065a7['UniverCollaborationClientPlugin']=class extends _0x5bafa4[_0x3d1808(0x435)]{constructor(_0x34cb82,_0x1f4ac6,_0x3a70fe,_0x4f6ceb){var _0x14076e=_0x3d1808;super(),_0x3fc7c7(this,_0x14076e(0x1dd)),(this[_0x14076e(0x4dc)]=_0x1f4ac6,this[_0x14076e(0x50f)]=_0x3a70fe,this['_configService']=_0x4f6ceb);const {..._0x27d525}=_0x5bafa4[_0x14076e(0x46c)]({},_0x38b249,_0x34cb82);if(!_0x27d525[_0x14076e(0x405)])throw new Error(_0x14076e(0x50e));this[_0x14076e(0x1dd)]=_0x27d525,this[_0x14076e(0x4ee)][_0x14076e(0x218)](_0x755dce,_0x27d525);}[_0x3d1808(0x3fa)](){var _0x28602e=_0x3d1808;this['_registerDependencies'](),this[_0x28602e(0x3a2)]();}[_0x3d1808(0x27e)](){var _0x128432=_0x3d1808,_0x5c0ee4,_0x4f1e40;this[_0x128432(0x50f)][_0x128432(0x4f0)](_0x5bafa4[_0x128432(0x407)])&&this[_0x128432(0x4dc)][_0x128432(0x3f5)](_0x128432(0x32c),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x3eea88=_0x5bafa4[_0x128432(0x2e5)]([[_0x5bafa4[_0x128432(0x407)],{'useClass':_0x1065a7[_0x128432(0x2d6)]}],[_0x1065a7['CollaborationSessionService']],[_0x1065a7[_0x128432(0x41b)]],[_0x1065a7[_0x128432(0x1f1)]],[_0x4dd8be],[_0x282438],[_0x178a41],[_0x145b10],[_0x10cfe4],[_0x1065a7[_0x128432(0x413)]],[_0x3dca45,{'useClass':this[_0x128432(0x1dd)][_0x128432(0x405)]}],[_0x3ab606['ISnapshotServerService'],{'useClass':_0x1065a7['SnapshotServerOverHTTPService']}],[_0x5bafa4[_0x128432(0x480)],{'useClass':_0x1065a7[_0x128432(0x346)]}],[_0x301beb[_0x128432(0x3c9)],{'useClass':_0x1065a7[_0x128432(0x42a)]}],[_0x5bafa4[_0x128432(0x37f)],{'useClass':_0x1065a7[_0x128432(0x2a2)]}],[_0x1065a7[_0x128432(0x54f)]],[_0x2ed31f]],(_0x5c0ee4=this['_config'])==null?void 0x0:_0x5c0ee4[_0x128432(0x52a)]);if(!((_0x4f1e40=this['_config'])!=null&&_0x4f1e40[_0x128432(0x450)])){const _0x456779=_0x3eea88[_0x128432(0x359)](([_0x3cb21f])=>_0x3cb21f===_0x175519);_0x456779!==-0x1&&_0x3eea88[_0x128432(0x2b3)](_0x456779,0x1);}_0x5bafa4[_0x128432(0x3d6)](this[_0x128432(0x50f)],_0x3eea88);}[_0x3d1808(0x3a2)](){var _0x27b27d=_0x3d1808,_0x38c5fd,_0xf5320d,_0x799697;this[_0x27b27d(0x50f)][_0x27b27d(0x3f0)](_0x24f178[_0x27b27d(0x2c9)])[_0x27b27d(0x252)]({'priority':0x14,'interceptor':_0x24f178['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x38c5fd=this[_0x27b27d(0x1dd)])!=null&&_0x38c5fd[_0x27b27d(0x329)]||(_0xf5320d=this[_0x27b27d(0x50f)]['get'](_0xd8e545,_0x5bafa4['Quantity'][_0x27b27d(0x541)]))==null||_0xf5320d[_0x27b27d(0x38a)](),(_0x799697=this[_0x27b27d(0x1dd)])!=null&&_0x799697[_0x27b27d(0x2b5)]&&_0x5bafa4['touchDependencies'](this[_0x27b27d(0x50f)],[[_0x4dd8be]]),_0x5bafa4[_0x27b27d(0x3a9)](this[_0x27b27d(0x50f)],[[_0x282438],[_0x1065a7[_0x27b27d(0x54f)]],[_0x145b10]]);}},_0x5ebeaf(_0x1065a7['UniverCollaborationClientPlugin'],_0x3d1808(0x374),_0x242d36),_0x1065a7[_0x3d1808(0x47b)]=_0x111b1f([_0x5bafa4[_0x3d1808(0x1d7)](_0x3ab606[_0x3d1808(0x257)],_0x24f178['UniverNetworkPlugin']),_0xe640ec(0x1,_0x5bafa4[_0x3d1808(0x528)]),_0xe640ec(0x2,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xe640ec(0x3,_0x5bafa4[_0x3d1808(0x34c)])],_0x1065a7[_0x3d1808(0x47b)]),_0x1065a7[_0x3d1808(0x51b)]=_0x755dce,_0x1065a7[_0x3d1808(0x41f)]=_0x293214,_0x1065a7[_0x3d1808(0x4e6)]=_0x38090c,_0x1065a7[_0x3d1808(0x444)]=_0x10cfe4,_0x1065a7[_0x3d1808(0x490)]=_0x178a41,_0x1065a7['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x38d231,_0x1065a7[_0x3d1808(0x2a3)]=_0x287679,_0x1065a7[_0x3d1808(0x3d5)]=_0x480f18,_0x1065a7['HEARTBEAT_INTERVAL_KEY']=_0x38c58d,_0x1065a7[_0x3d1808(0x38e)]=_0x3d06ad,_0x1065a7[_0x3d1808(0x275)]=_0x3dca45,_0x1065a7[_0x3d1808(0x28f)]=_0xd8e545,_0x1065a7['INetworkConditionService']=_0x206d80,_0x1065a7[_0x3d1808(0x1e8)]=_0x175519,_0x1065a7['LOCAL_CACHE_INTERVAL']=0x3e8,_0x1065a7[_0x3d1808(0x1f0)]=_0x36ba43,_0x1065a7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x183c7f,_0x1065a7['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x589908,_0x1065a7['SessionStatus']=_0x4b7463,_0x1065a7['UnitStatus']=_0x166ac9,_0x1065a7['deserializeToCombResponse']=_0x10e983,_0x1065a7['getLocalCacheKey']=_0x2d48c6,_0x1065a7['serializeCombRequest']=_0x52cb3a,Object[_0x3d1808(0x545)](_0x1065a7,Symbol[_0x3d1808(0x4da)],{'value':'Module'});}));
|
|
2
|
+
function _0x222a(_0x3b5c13,_0x1a070a){_0x3b5c13=_0x3b5c13-0x1c4;var _0x53166d=_0x5316();var _0x222a39=_0x53166d[_0x3b5c13];return _0x222a39;}(function(_0x1f88f1,_0x44fb01){var _0x262945=_0x222a,_0x9d0000=_0x1f88f1();while(!![]){try{var _0xed38d1=parseInt(_0x262945(0x40a))/0x1+parseInt(_0x262945(0x3c4))/0x2+-parseInt(_0x262945(0x4a7))/0x3+parseInt(_0x262945(0x48c))/0x4+parseInt(_0x262945(0x399))/0x5+-parseInt(_0x262945(0x288))/0x6*(-parseInt(_0x262945(0x2ce))/0x7)+-parseInt(_0x262945(0x332))/0x8*(parseInt(_0x262945(0x430))/0x9);if(_0xed38d1===_0x44fb01)break;else _0x9d0000['push'](_0x9d0000['shift']());}catch(_0x352ed2){_0x9d0000['push'](_0x9d0000['shift']());}}}(_0x5316,0x21643),function(_0x303650,_0x419e8b){var _0x5407c7=_0x222a;typeof exports=='object'&&typeof module<'u'?_0x419e8b(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==_0x5407c7(0x35d)&&define[_0x5407c7(0x24b)]?define([_0x5407c7(0x375),_0x5407c7(0x4bc),_0x5407c7(0x3ec),_0x5407c7(0x502),_0x5407c7(0x4cb),_0x5407c7(0x34f),'@univerjs/telemetry',_0x5407c7(0x47e),_0x5407c7(0x509),_0x5407c7(0x4b3),_0x5407c7(0x466)],_0x419e8b):(_0x303650=typeof globalThis<'u'?globalThis:_0x303650||self,_0x419e8b(_0x303650['UniverProCollaborationClient']={},_0x303650[_0x5407c7(0x44f)],_0x303650['UniverCore'],_0x303650[_0x5407c7(0x31b)],_0x303650[_0x5407c7(0x4e4)],_0x303650[_0x5407c7(0x34f)],_0x303650[_0x5407c7(0x234)],_0x303650['rxjs'][_0x5407c7(0x2f3)],_0x303650[_0x5407c7(0x352)],_0x303650['UniverDrawing'],_0x303650[_0x5407c7(0x3c5)]));}(this,function(_0x330a6c,_0x94e8ef,_0x29f72d,_0x1633c3,_0x504e3a,_0x26770d,_0x55e48e,_0x213182,_0x59551f,_0xb9a54d,_0x136827){'use strict';var _0x3b85f3=_0x222a;var _0x3d982f=Object[_0x3b85f3(0x40f)],_0x1f3f6a=(_0x3fac3a,_0x3738a7,_0x3157cf)=>_0x3738a7 in _0x3fac3a?_0x3d982f(_0x3fac3a,_0x3738a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3157cf}):_0x3fac3a[_0x3738a7]=_0x3157cf,_0x3dafef=(_0x4ad006,_0x521fb6,_0x96966e)=>_0x1f3f6a(_0x4ad006,typeof _0x521fb6!=_0x3b85f3(0x49b)?_0x521fb6+'':_0x521fb6,_0x96966e);const _0x3610cc=_0x3b85f3(0x342),_0x371056=_0x3b85f3(0x213),_0xbda5=_0x3b85f3(0x4d8),_0x1bd4c8='/universer-api/user/session-ticket',_0x5559aa='HEARTBEAT_INTERVAL',_0x11fb3c=_0x3b85f3(0x1eb),_0x48de82=_0x3b85f3(0x282),_0x28c6bf=_0x3b85f3(0x34e),_0x21462f=_0x3b85f3(0x454),_0x491713=_0x3b85f3(0x1da),_0x1335a0='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x70674b=_0x3b85f3(0x2b8);var _0x229e63=(_0x200504=>(_0x200504[_0x200504[_0x3b85f3(0x1c8)]=0x0]='UNDEFINED',_0x200504[_0x200504['OK']=0x1]='OK',_0x200504[_0x200504[_0x3b85f3(0x45d)]=0x2]=_0x3b85f3(0x45d),_0x200504[_0x200504[_0x3b85f3(0x1c9)]=0x3]='PERMISSION_DENIED',_0x200504[_0x200504[_0x3b85f3(0x346)]=0x4]=_0x3b85f3(0x346),_0x200504[_0x200504[_0x3b85f3(0x1c5)]=0x5]='UNAUTHENTICATED',_0x200504[_0x200504[_0x3b85f3(0x431)]=0x6]=_0x3b85f3(0x431),_0x200504[_0x200504[_0x3b85f3(0x455)]=0x7]=_0x3b85f3(0x455),_0x200504[_0x200504[_0x3b85f3(0x4a6)]=0x8]='TOO_MANY_REQUESTS',_0x200504[_0x200504['COMPLETION_FINISHED']=0x9]=_0x3b85f3(0x2f7),_0x200504[_0x200504[_0x3b85f3(0x32c)]=0xa]=_0x3b85f3(0x32c),_0x200504[_0x200504[_0x3b85f3(0x49c)]=0xb]=_0x3b85f3(0x49c),_0x200504[_0x200504[_0x3b85f3(0x22e)]=0xc]=_0x3b85f3(0x22e),_0x200504[_0x200504['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3b85f3(0x3f2),_0x200504[_0x200504[_0x3b85f3(0x363)]=0xe]=_0x3b85f3(0x363),_0x200504[_0x200504[_0x3b85f3(0x267)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x200504[_0x200504['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x3b85f3(0x393),_0x200504[_0x200504['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x3b85f3(0x383),_0x200504[_0x200504[_0x3b85f3(0x260)]=0x65]=_0x3b85f3(0x260),_0x200504[_0x200504[_0x3b85f3(0x460)]=0xc9]=_0x3b85f3(0x460),_0x200504[_0x200504[_0x3b85f3(0x2f4)]=0xca]='USER_IS_ANONYMOUS',_0x200504[_0x200504['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3b85f3(0x476),_0x200504[_0x200504[_0x3b85f3(0x464)]=0x1771]=_0x3b85f3(0x464),_0x200504[_0x200504[_0x3b85f3(0x256)]=0x1772]=_0x3b85f3(0x256),_0x200504[_0x200504[_0x3b85f3(0x241)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x200504[_0x200504[_0x3b85f3(0x2e2)]=0x1b59]=_0x3b85f3(0x2e2),_0x200504[_0x200504[_0x3b85f3(0x292)]=0x1b5a]=_0x3b85f3(0x292),_0x200504[_0x200504['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x200504[_0x200504[_0x3b85f3(0x3d0)]=0x1b5c]=_0x3b85f3(0x3d0),_0x200504[_0x200504['APPLY_DUPLICATED']=0x1b5d]=_0x3b85f3(0x210),_0x200504[_0x200504[_0x3b85f3(0x537)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x200504[_0x200504[_0x3b85f3(0x1ef)]=0x2329]=_0x3b85f3(0x1ef),_0x200504[_0x200504[_0x3b85f3(0x4a2)]=0x232a]=_0x3b85f3(0x4a2),_0x200504[_0x200504[_0x3b85f3(0x4ff)]=0x232b]=_0x3b85f3(0x4ff),_0x200504[_0x200504[_0x3b85f3(0x27a)]=0x232c]=_0x3b85f3(0x27a),_0x200504[_0x200504['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x200504[_0x200504[_0x3b85f3(0x322)]=0x2711]=_0x3b85f3(0x322),_0x200504[_0x200504['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3b85f3(0x233),_0x200504[_0x200504['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3b85f3(0x424),_0x200504[_0x200504[_0x3b85f3(0x448)]=0x2714]=_0x3b85f3(0x448),_0x200504[_0x200504[_0x3b85f3(0x3e0)]=0x271a]=_0x3b85f3(0x3e0),_0x200504[_0x200504[_0x3b85f3(0x515)]=0x271b]=_0x3b85f3(0x515),_0x200504[_0x200504[_0x3b85f3(0x227)]=0x271c]=_0x3b85f3(0x227),_0x200504[_0x200504['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3b85f3(0x37f),_0x200504[_0x200504[_0x3b85f3(0x364)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x200504[_0x200504[_0x3b85f3(0x3a1)]=0x271f]=_0x3b85f3(0x3a1),_0x200504[_0x200504[_0x3b85f3(0x249)]=0x2720]=_0x3b85f3(0x249),_0x200504[_0x200504[_0x3b85f3(0x395)]=0x2af9]=_0x3b85f3(0x395),_0x200504[_0x200504[_0x3b85f3(0x403)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x200504[_0x200504[_0x3b85f3(0x4d9)]=0x2ee2]='INVALID_INVITE_CODE',_0x200504[_0x200504[_0x3b85f3(0x39e)]=0x2ee3]=_0x3b85f3(0x39e),_0x200504[_0x200504[_0x3b85f3(0x1ca)]=0x2ee4]=_0x3b85f3(0x1ca),_0x200504[_0x200504['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x200504[_0x200504[_0x3b85f3(0x497)]=0x32c9]=_0x3b85f3(0x497),_0x200504[_0x200504['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x200504[_0x200504['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3b85f3(0x333),_0x200504[_0x200504['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x200504[_0x200504[_0x3b85f3(0x503)]=0x36b2]=_0x3b85f3(0x503),_0x200504[_0x200504['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x3b85f3(0x275),_0x200504[_0x200504[_0x3b85f3(0x39d)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x200504[_0x200504['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x3b85f3(0x276),_0x200504[_0x200504['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x3b85f3(0x2b1),_0x200504[_0x200504[_0x3b85f3(0x32f)]=0x36b7]=_0x3b85f3(0x32f),_0x200504[_0x200504[_0x3b85f3(0x2df)]=0x36b8]=_0x3b85f3(0x2df),_0x200504[_0x200504[_0x3b85f3(0x1e6)]=0x3715]=_0x3b85f3(0x1e6),_0x200504[_0x200504[_0x3b85f3(0x365)]=0x3716]=_0x3b85f3(0x365),_0x200504[_0x200504[_0x3b85f3(0x498)]=0x3717]=_0x3b85f3(0x498),_0x200504[_0x200504[_0x3b85f3(0x1e4)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x200504[_0x200504[_0x3b85f3(0x1d7)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x200504[_0x200504[_0x3b85f3(0x337)]=0x3a9a]=_0x3b85f3(0x337),_0x200504[_0x200504[_0x3b85f3(0x217)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x200504[_0x200504['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x3b85f3(0x428),_0x200504[_0x200504['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x3b85f3(0x3ba),_0x200504[_0x200504[_0x3b85f3(0x1e7)]=0x3a9e]=_0x3b85f3(0x1e7),_0x200504[_0x200504[_0x3b85f3(0x4d3)]=0x3a9f]=_0x3b85f3(0x4d3),_0x200504[_0x200504[_0x3b85f3(0x1dc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x200504[_0x200504[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0x200504))(_0x229e63||{}),_0x2da9ac=(_0x1eca87=>(_0x1eca87[_0x1eca87[_0x3b85f3(0x41b)]=0x0]=_0x3b85f3(0x41b),_0x1eca87[_0x1eca87[_0x3b85f3(0x3ee)]=0x1]=_0x3b85f3(0x3ee),_0x1eca87[_0x1eca87['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1eca87[_0x1eca87[_0x3b85f3(0x3af)]=0x3]=_0x3b85f3(0x3af),_0x1eca87[_0x1eca87[_0x3b85f3(0x329)]=0x4]=_0x3b85f3(0x329),_0x1eca87[_0x1eca87['UNRECOGNIZED']=-0x1]=_0x3b85f3(0x486),_0x1eca87))(_0x2da9ac||{}),_0x8150f7=(_0x54a485=>(_0x54a485[_0x54a485[_0x3b85f3(0x400)]=0x0]='UNKNOWN_CMD',_0x54a485[_0x54a485['HELLO']=0x1]=_0x3b85f3(0x549),_0x54a485[_0x54a485['JOIN']=0x2]='JOIN',_0x54a485[_0x54a485[_0x3b85f3(0x4c1)]=0x3]=_0x3b85f3(0x4c1),_0x54a485[_0x54a485['INGEST']=0x4]='INGEST',_0x54a485[_0x54a485[_0x3b85f3(0x398)]=0x5]=_0x3b85f3(0x398),_0x54a485[_0x54a485[_0x3b85f3(0x535)]=0x6]='RECV',_0x54a485[_0x54a485[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0x54a485))(_0x8150f7||{}),_0xb4b847=(_0xd4a0d8=>(_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x36e)]=0x0]=_0x3b85f3(0x36e),_0xd4a0d8[_0xd4a0d8['OK']=0x1]='OK',_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x52c)]=0x2]=_0x3b85f3(0x52c),_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x3b2)]=0x3e9]=_0x3b85f3(0x3b2),_0xd4a0d8[_0xd4a0d8['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x3b85f3(0x274),_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x2b4)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0xd4a0d8[_0xd4a0d8['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xd4a0d8[_0xd4a0d8[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0xd4a0d8))(_0xb4b847||{}),_0x195c26=(_0x48440e=>(_0x48440e[_0x48440e[_0x3b85f3(0x353)]=0x0]=_0x3b85f3(0x353),_0x48440e[_0x48440e[_0x3b85f3(0x263)]=0x1]=_0x3b85f3(0x263),_0x48440e[_0x48440e['HttpExport']=0x2]=_0x3b85f3(0x22c),_0x48440e[_0x48440e[_0x3b85f3(0x293)]=0x3]=_0x3b85f3(0x293),_0x48440e[_0x48440e[_0x3b85f3(0x373)]=0x4]=_0x3b85f3(0x373),_0x48440e[_0x48440e[_0x3b85f3(0x277)]=0x5]=_0x3b85f3(0x277),_0x48440e[_0x48440e[_0x3b85f3(0x52d)]=0x6]='ClipsheetFragments',_0x48440e[_0x48440e[_0x3b85f3(0x486)]=-0x1]=_0x3b85f3(0x486),_0x48440e))(_0x195c26||{});const _0xd5da60=_0x3b85f3(0x3d6);function _0x314a10(_0x26ef01){return JSON['stringify'](_0x26ef01)['length'];}var _0x465567=(_0x18a55d=>(_0x18a55d[_0x3b85f3(0x456)]=_0x3b85f3(0x456),_0x18a55d['PERMISSION_DENIED']=_0x3b85f3(0x1c9),_0x18a55d[_0x3b85f3(0x31d)]=_0x3b85f3(0x31d),_0x18a55d[_0x3b85f3(0x2f8)]=_0x3b85f3(0x2f8),_0x18a55d[_0x3b85f3(0x326)]=_0x3b85f3(0x326),_0x18a55d[_0x3b85f3(0x41d)]=_0x3b85f3(0x41d),_0x18a55d['SOCKET_FAILED']=_0x3b85f3(0x42f),_0x18a55d[_0x3b85f3(0x4ec)]=_0x3b85f3(0x4ec),_0x18a55d))(_0x465567||{});class _0x18e687{constructor(){var _0x2131f5=_0x3b85f3;_0x3dafef(this,_0x2131f5(0x33f),new _0x26770d[(_0x2131f5(0x37c))]()),_0x3dafef(this,_0x2131f5(0x479),this[_0x2131f5(0x33f)][_0x2131f5(0x1fb)]());}[_0x3b85f3(0x1d4)](_0x1f16c1){var _0x23ba31=_0x3b85f3;this[_0x23ba31(0x33f)][_0x23ba31(0x4c8)](_0x1f16c1);}}class _0x146c00{constructor(){var _0x282d7a=_0x3b85f3;_0x3dafef(this,'_commentUpdate$',new _0x26770d[(_0x282d7a(0x37c))]()),_0x3dafef(this,_0x282d7a(0x404),this[_0x282d7a(0x3b9)]['asObservable']());}['onCommentUpdate'](_0x49e0a1){var _0x58ff20=_0x3b85f3;this[_0x58ff20(0x3b9)][_0x58ff20(0x4c8)](_0x49e0a1);}}var _0x1881db=Object[_0x3b85f3(0x2e1)],_0x4e98ea=(_0x1185b7,_0x54f37c,_0x10d11c,_0xdf2cc7)=>{for(var _0x262959=_0xdf2cc7>0x1?void 0x0:_0xdf2cc7?_0x1881db(_0x54f37c,_0x10d11c):_0x54f37c,_0x464706=_0x1185b7['length']-0x1,_0x52fa5e;_0x464706>=0x0;_0x464706--)(_0x52fa5e=_0x1185b7[_0x464706])&&(_0x262959=_0x52fa5e(_0x262959)||_0x262959);return _0x262959;},_0x335e54=(_0x29886b,_0x30f1ac)=>(_0x3eb6b3,_0x152d19)=>_0x30f1ac(_0x3eb6b3,_0x152d19,_0x29886b);_0x330a6c[_0x3b85f3(0x2d9)]=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0x42a260,_0x250f98){var _0x2875ba=_0x3b85f3;super(),_0x3dafef(this,_0x2875ba(0x44c),new Map()),_0x3dafef(this,_0x2875ba(0x2eb),new _0x26770d[(_0x2875ba(0x37c))]()),(this[_0x2875ba(0x550)]=_0x42a260,this[_0x2875ba(0x422)]=_0x250f98,this[_0x2875ba(0x4de)](_0x26770d[_0x2875ba(0x1cb)](this[_0x2875ba(0x550)][_0x2875ba(0x2da)](_0x29f72d[_0x2875ba(0x294)][_0x2875ba(0x4be)])[_0x2875ba(0x341)](_0x213182[_0x2875ba(0x55e)](_0x440c19=>_0x440c19[_0x2875ba(0x4ba)]())),this[_0x2875ba(0x550)]['getTypeOfUnitDisposed$'](_0x29f72d['UniverInstanceType'][_0x2875ba(0x3ee)])[_0x2875ba(0x341)](_0x213182['map'](_0x3cec14=>_0x3cec14[_0x2875ba(0x4ba)]())),this['_univerInstanceService'][_0x2875ba(0x2da)](_0x29f72d['UniverInstanceType']['UNIVER_SLIDE'])[_0x2875ba(0x341)](_0x213182[_0x2875ba(0x55e)](_0x514d5b=>_0x514d5b[_0x2875ba(0x4ba)]())))[_0x2875ba(0x255)](_0x53b85d=>this['_removeRoom'](_0x53b85d))));}[_0x3b85f3(0x4d7)](_0x33f6b1){var _0x4c82c7=_0x3b85f3;return this[_0x4c82c7(0x44c)][_0x4c82c7(0x1d6)](_0x33f6b1)?_0x26770d['of'](this[_0x4c82c7(0x44c)][_0x4c82c7(0x1f8)](_0x33f6b1)):this[_0x4c82c7(0x2eb)][_0x4c82c7(0x341)](_0x213182[_0x4c82c7(0x55e)](_0x5354fa=>{var _0x2b0057=_0x4c82c7;if(_0x5354fa===_0x33f6b1)return this[_0x2b0057(0x44c)][_0x2b0057(0x1f8)](_0x5354fa);}));}[_0x3b85f3(0x521)](_0x5e4bb2){var _0xb6b7f=_0x3b85f3;this[_0xb6b7f(0x422)][_0xb6b7f(0x521)](_0x5e4bb2);}[_0x3b85f3(0x28c)](){var _0x28d394=_0x3b85f3;return this['_userManagerService'][_0x28d394(0x28c)]();}[_0x3b85f3(0x4b5)](_0x3e3062,_0x31450c){var _0x18c158=_0x3b85f3;let _0x35dbe7=this[_0x18c158(0x44c)][_0x18c158(0x1f8)](_0x3e3062);_0x35dbe7||(_0x35dbe7=new _0x5406c0(),this[_0x18c158(0x44c)][_0x18c158(0x2d7)](_0x3e3062,_0x35dbe7),this[_0x18c158(0x2eb)][_0x18c158(0x4c8)](_0x3e3062)),_0x35dbe7[_0x18c158(0x4b5)](_0x31450c);}['removeMember'](_0x38972b,_0x246d03){var _0x2a10b5=_0x3b85f3;const _0x3587a0=this[_0x2a10b5(0x44c)][_0x2a10b5(0x1f8)](_0x38972b);_0x3587a0&&_0x3587a0[_0x2a10b5(0x209)](_0x246d03);}[_0x3b85f3(0x418)](_0x5a4a63){var _0x5418b5=_0x3b85f3;return this[_0x5418b5(0x44c)]['get'](_0x5a4a63);}[_0x3b85f3(0x262)](_0x48d4b2,_0x3b6f9b){var _0xeefee5=_0x3b85f3;const _0x2631fc=this['_roomMembers'][_0xeefee5(0x1f8)](_0x48d4b2);if(_0x2631fc)return _0x2631fc[_0xeefee5(0x262)](_0x3b6f9b);}[_0x3b85f3(0x2ba)](_0x276cf5){var _0x178a16=_0x3b85f3;const _0x1aec11=this[_0x178a16(0x44c)]['get'](_0x276cf5);_0x1aec11&&(_0x1aec11[_0x178a16(0x44d)](),this[_0x178a16(0x44c)][_0x178a16(0x245)](_0x276cf5));}[_0x3b85f3(0x44d)](){var _0x4913a3=_0x3b85f3;this[_0x4913a3(0x44c)][_0x4913a3(0x3ae)](_0xfa29d=>_0xfa29d[_0x4913a3(0x44d)]()),this[_0x4913a3(0x44c)]['clear'](),this['_roomCreated$'][_0x4913a3(0x4ee)]();}},_0x330a6c[_0x3b85f3(0x2d9)]=_0x4e98ea([_0x335e54(0x0,_0x29f72d[_0x3b85f3(0x558)]),_0x335e54(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x42d)]))],_0x330a6c[_0x3b85f3(0x2d9)]);class _0x5406c0 extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(){var _0x46e6fd=_0x3b85f3;super(...arguments),_0x3dafef(this,_0x46e6fd(0x220),new Map()),_0x3dafef(this,'_members$',new _0x26770d['BehaviorSubject'](this[_0x46e6fd(0x220)])),_0x3dafef(this,_0x46e6fd(0x3f3),this[_0x46e6fd(0x1e1)]['asObservable']());}['dispose'](){var _0x183c5a=_0x3b85f3;this[_0x183c5a(0x220)]['clear']();}['updateMember'](_0x49f3a9){var _0x439117=_0x3b85f3;this['_members'][_0x439117(0x2d7)](_0x49f3a9['memberID'],_0x49f3a9),this[_0x439117(0x4e8)]();}['removeMember'](_0x37e06f){var _0x450a2b=_0x3b85f3;this[_0x450a2b(0x220)]['delete'](_0x37e06f);}[_0x3b85f3(0x262)](_0x4a8b6c){var _0x48e28b=_0x3b85f3;return this[_0x48e28b(0x220)][_0x48e28b(0x1f8)](_0x4a8b6c);}[_0x3b85f3(0x4f7)](){var _0x1377d6=_0x3b85f3;return Array['from'](this[_0x1377d6(0x220)]['values']());}[_0x3b85f3(0x4e8)](){var _0x156397=_0x3b85f3;this[_0x156397(0x1e1)][_0x156397(0x4c8)](this[_0x156397(0x220)]);}}var _0x4de37a=Object[_0x3b85f3(0x2e1)],_0x3eff84=(_0x2f4e97,_0x381a4e,_0x411873,_0x5dbdf4)=>{for(var _0x21694c=_0x5dbdf4>0x1?void 0x0:_0x5dbdf4?_0x4de37a(_0x381a4e,_0x411873):_0x381a4e,_0x302074=_0x2f4e97['length']-0x1,_0x30e0cc;_0x302074>=0x0;_0x302074--)(_0x30e0cc=_0x2f4e97[_0x302074])&&(_0x21694c=_0x30e0cc(_0x21694c)||_0x21694c);return _0x21694c;},_0x482da3=(_0x4c38f4,_0x18457f)=>(_0x3d379e,_0x3e393e)=>_0x18457f(_0x3d379e,_0x3e393e,_0x4c38f4),_0x5c4cf0=(_0x4c315f=>(_0x4c315f[_0x4c315f['IDLE']=0x0]='IDLE',_0x4c315f[_0x4c315f[_0x3b85f3(0x43a)]=0x1]=_0x3b85f3(0x43a),_0x4c315f[_0x4c315f[_0x3b85f3(0x376)]=0x2]=_0x3b85f3(0x376),_0x4c315f[_0x4c315f[_0x3b85f3(0x425)]=0x3]=_0x3b85f3(0x425),_0x4c315f))(_0x5c4cf0||{});const _0x1d7134={[_0xb4b847[_0x3b85f3(0x52c)]]:_0x3b85f3(0x507),[_0xb4b847[_0x3b85f3(0x3b2)]]:'session.room-full',[_0xb4b847[_0x3b85f3(0x274)]]:_0x3b85f3(0x2b3),[_0xb4b847['JOIN_ROOM_PERMISSION_DENIED']]:_0x3b85f3(0x530),[_0xb4b847[_0x3b85f3(0x271)]]:_0x3b85f3(0x3b8)};_0x330a6c[_0x3b85f3(0x325)]=class extends _0x29f72d[_0x3b85f3(0x253)]{constructor(_0x539714,_0x3cd1ac,_0x686062,_0x2520a6,_0x324b8a,_0x36e85c,_0x222250,_0x22d1bd){var _0x33685f=_0x3b85f3;super(),_0x3dafef(this,_0x33685f(0x222),new _0x26770d[(_0x33685f(0x2cc))](0x0)),_0x3dafef(this,_0x33685f(0x301),this[_0x33685f(0x222)]['asObservable']()),_0x3dafef(this,_0x33685f(0x33f),new _0x26770d[(_0x33685f(0x37c))]()),_0x3dafef(this,_0x33685f(0x479),this[_0x33685f(0x33f)][_0x33685f(0x1fb)]()),_0x3dafef(this,_0x33685f(0x1e3)),_0x3dafef(this,_0x33685f(0x508)),_0x3dafef(this,_0x33685f(0x2e4)),_0x3dafef(this,_0x33685f(0x1ff),!0x1),_0x3dafef(this,_0x33685f(0x25d),null),(this[_0x33685f(0x257)]=_0x539714,this[_0x33685f(0x20b)]=_0x686062,this[_0x33685f(0x265)]=_0x2520a6,this[_0x33685f(0x2a9)]=_0x324b8a,this[_0x33685f(0x41f)]=_0x36e85c,this[_0x33685f(0x2ed)]=_0x222250,this[_0x33685f(0x254)]=_0x22d1bd,this[_0x33685f(0x1ff)]=!!this['_telemetryService'],_0x3cd1ac[_0x33685f(0x341)](_0x26770d[_0x33685f(0x4bb)](this['dispose$']))[_0x33685f(0x255)](_0x501dd6=>{var _0x4706bd=_0x33685f,_0x569d44;typeof _0x501dd6>'u'||(this[_0x4706bd(0x1e3)]=_0x501dd6,_0x501dd6?(this['_joinRoom'](_0x501dd6),this['_socketMessageSubscription']=_0x501dd6[_0x4706bd(0x264)][_0x4706bd(0x255)](_0x3de79c=>{var _0x830ed0=_0x4706bd;_0x3de79c['routeKey']===this[_0x830ed0(0x257)]&&this[_0x830ed0(0x3f0)](_0x3de79c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4706bd(0x222)][_0x4706bd(0x4c8)](0x2),(_0x569d44=this[_0x4706bd(0x508)])==null||_0x569d44[_0x4706bd(0x2c8)](),this['_socketMessageSubscription']=null));}));}get[_0x3b85f3(0x28d)](){var _0x1693a8=_0x3b85f3;return this[_0x1693a8(0x222)][_0x1693a8(0x377)]();}[_0x3b85f3(0x4d1)](){var _0x443ec1=_0x3b85f3,_0xa054ad,_0x1f66bb;return(_0x1f66bb=(_0xa054ad=this['_socket'])==null?void 0x0:_0xa054ad[_0x443ec1(0x297)])!=null?_0x1f66bb:null;}[_0x3b85f3(0x44d)](){var _0x10d69e=_0x3b85f3;super[_0x10d69e(0x44d)](),this[_0x10d69e(0x4dc)]['next'](),this[_0x10d69e(0x4dc)][_0x10d69e(0x4ee)]();}[_0x3b85f3(0x268)](){var _0x3e5983=_0x3b85f3,_0x2c1bc0,_0xed8b20;this[_0x3e5983(0x3b5)](),(_0x2c1bc0=this[_0x3e5983(0x1e3)])==null||_0x2c1bc0[_0x3e5983(0x485)]({'cmd':_0x8150f7[_0x3e5983(0x4c1)],'data':{'roomID':this[_0x3e5983(0x257)]}}),(_0xed8b20=this['_socket'])==null||_0xed8b20[_0x3e5983(0x268)](),this[_0x3e5983(0x33f)][_0x3e5983(0x4ee)](),this[_0x3e5983(0x222)][_0x3e5983(0x4ee)](),this[_0x3e5983(0x44d)]();}[_0x3b85f3(0x3f0)](_0x17b8b4){var _0x15c245=_0x3b85f3;_0x17b8b4[_0x15c245(0x21c)]===_0x8150f7[_0x15c245(0x225)]?this[_0x15c245(0x44e)](_0x17b8b4):_0x17b8b4[_0x15c245(0x21c)]===_0x8150f7['RECV']&&this['_onRecvEvent'](_0x17b8b4);}[_0x3b85f3(0x347)](_0xde23f5){var _0x4f8a7a=_0x3b85f3;this[_0x4f8a7a(0x222)][_0x4f8a7a(0x4c8)](0x1),_0xde23f5[_0x4f8a7a(0x485)]({'cmd':_0x8150f7[_0x4f8a7a(0x225)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4f8a7a(0x257)]}]}});}[_0x3b85f3(0x44e)](_0x16b9b7){var _0x1293a0=_0x3b85f3,_0x125bae;if(_0x16b9b7[_0x1293a0(0x2b2)]in _0x1d7134){this[_0x1293a0(0x2ed)][_0x1293a0(0x1d4)]({'id':_0x465567[_0x1293a0(0x326)],'data':_0x1d7134[_0x16b9b7['code']]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x1293a0(0x222)][_0x1293a0(0x4c8)](0x3);const _0x20efd8=(_0x125bae=_0x16b9b7['data'][_0x1293a0(0x445)][this['_unitID']])==null?void 0x0:_0x125bae[_0x1293a0(0x504)];_0x20efd8&&_0x20efd8[_0x1293a0(0x3ae)](_0x66d90=>this[_0x1293a0(0x2a9)][_0x1293a0(0x4b5)](this['_unitID'],_0x66d90));}[_0x3b85f3(0x1f1)](_0xebfd36){var _0x28c582=_0x3b85f3;try{const _0x557816=_0xebfd36[_0x28c582(0x2c0)];switch(_0x557816[_0x28c582(0x3df)]){case _0x94e8ef['CollaborationEvent'][_0x28c582(0x414)]:this[_0x28c582(0x23f)](_0x557816),this[_0x28c582(0x33f)]['next'](_0x557816);break;case _0x94e8ef[_0x28c582(0x22b)][_0x28c582(0x421)]:this['_onUserLeave'](_0x557816),this[_0x28c582(0x33f)][_0x28c582(0x4c8)](_0x557816);break;case _0x94e8ef['CollaborationEvent']['CHANGESET_ACK']:case _0x94e8ef[_0x28c582(0x22b)][_0x28c582(0x370)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x28c582(0x247)](),this[_0x28c582(0x33f)][_0x28c582(0x4c8)](_0x557816);break;case _0x94e8ef[_0x28c582(0x22b)]['MSG_FOR_ERROR']:this[_0x28c582(0x20b)][_0x28c582(0x313)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x28c582(0x3ff)](_0x557816)),this['_event$'][_0x28c582(0x4c8)](_0x557816);break;case _0x94e8ef[_0x28c582(0x22b)][_0x28c582(0x35c)]:this[_0x28c582(0x41f)][_0x28c582(0x2cf)](_0x557816[_0x28c582(0x2c0)]),this['_event$'][_0x28c582(0x4c8)](_0x557816);break;default:this['_event$'][_0x28c582(0x4c8)](_0x557816);}}catch(_0x14d30b){this['_logService'][_0x28c582(0x313)](_0x14d30b,_0xebfd36);}}[_0x3b85f3(0x23f)](_0x4269c7){var _0x2e6245=_0x3b85f3;this['_memberService'][_0x2e6245(0x4b5)](this[_0x2e6245(0x257)],_0x4269c7[_0x2e6245(0x2c0)]);}[_0x3b85f3(0x25a)](_0x2e9800){var _0x264dbc=_0x3b85f3;this['_memberService'][_0x264dbc(0x209)](this[_0x264dbc(0x257)],_0x2e9800['data'][_0x264dbc(0x297)]);}async['send'](_0x2bf662,_0x5a231c){var _0x29104a=_0x3b85f3;if(this[_0x29104a(0x28d)]!==0x3||!this[_0x29104a(0x1e3)])throw new Error(_0x29104a(0x280));try{_0x2bf662['eventID']===_0x94e8ef[_0x29104a(0x22b)][_0x29104a(0x544)]&&(this[_0x29104a(0x459)](),this[_0x29104a(0x4d6)](_0x2bf662)),this[_0x29104a(0x1e3)][_0x29104a(0x485)]({'cmd':_0x8150f7['INGEST'],'routeKey':_0x5a231c,'routeType':'','data':_0x2bf662});}catch(_0x2e28dc){this[_0x29104a(0x20b)][_0x29104a(0x313)](_0x2e28dc);}}[_0x3b85f3(0x459)](){var _0x428cc7=_0x3b85f3,_0x258ffe;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4f8227=_0x222a;this[_0x4f8227(0x2e4)]=null,this[_0x4f8227(0x2ed)]['emitEvent']({'id':_0x465567[_0x4f8227(0x4ec)]});},(_0x258ffe=this[_0x428cc7(0x265)][_0x428cc7(0x4d4)](_0x11fb3c))!=null?_0x258ffe:0x4e20);}[_0x3b85f3(0x247)](){var _0x5e90d6=_0x3b85f3;this[_0x5e90d6(0x2e4)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5e90d6(0x2e4)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x1bace3){var _0x6d9a04=_0x3b85f3;if(!this[_0x6d9a04(0x1ff)])return;const {data:_0x59c85b}=_0x1bace3,{unitID:_0x487e30,changeset:_0x36b0d4}=_0x59c85b,{mutations:_0x5694f5,type:_0x5369b8}=_0x36b0d4;this[_0x6d9a04(0x25d)]={'unitId':_0x487e30,'type':_0x5369b8,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x314a10(_0x5694f5)};}[_0x3b85f3(0x478)](){var _0x58e5f0=_0x3b85f3;if(this[_0x58e5f0(0x1ff)]){if(!this[_0x58e5f0(0x25d)]){this['_logService']['error']('[CollaborationSession]',_0x58e5f0(0x357));return;}this['_telemetryInfo'][_0x58e5f0(0x381)]=performance[_0x58e5f0(0x202)](),this[_0x58e5f0(0x25d)]['duration']=this[_0x58e5f0(0x25d)][_0x58e5f0(0x381)]-this[_0x58e5f0(0x25d)]['startTime'],this[_0x58e5f0(0x254)][_0x58e5f0(0x506)](_0xd5da60,this[_0x58e5f0(0x25d)]),this[_0x58e5f0(0x25d)]=null;}}[_0x3b85f3(0x3b5)](){var _0x3a8557=_0x3b85f3;this[_0x3a8557(0x25d)]=null;}},_0x330a6c[_0x3b85f3(0x325)]=_0x3eff84([_0x482da3(0x2,_0x29f72d['ILogService']),_0x482da3(0x3,_0x29f72d['IConfigService']),_0x482da3(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c[_0x3b85f3(0x2d9)])),_0x482da3(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x146c00)),_0x482da3(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x482da3(0x7,_0x29f72d['Optional'](_0x55e48e[_0x3b85f3(0x1cf)]))],_0x330a6c[_0x3b85f3(0x325)]);const _0x54c85=_0x29f72d[_0x3b85f3(0x3cf)](_0x3b85f3(0x31f));function _0x99f370(_0x5f3cda){var _0x21eb44=_0x3b85f3;return _0x21eb44(0x391)+_0x5f3cda;}var _0x3c9695=Object['getOwnPropertyDescriptor'],_0x535e46=(_0x4d246d,_0x3ae6f6,_0x5b0ec5,_0x401db4)=>{for(var _0x3275bb=_0x401db4>0x1?void 0x0:_0x401db4?_0x3c9695(_0x3ae6f6,_0x5b0ec5):_0x3ae6f6,_0x3bf6fc=_0x4d246d['length']-0x1,_0x5c37e5;_0x3bf6fc>=0x0;_0x3bf6fc--)(_0x5c37e5=_0x4d246d[_0x3bf6fc])&&(_0x3275bb=_0x5c37e5(_0x3275bb)||_0x3275bb);return _0x3275bb;},_0x127ebf=(_0x2715f0,_0x1ee457)=>(_0x21608e,_0x1758fb)=>_0x1ee457(_0x21608e,_0x1758fb,_0x2715f0);function _0x5b8cb8(_0x4b43f4){var _0x4b7c52=_0x3b85f3;const {unitID:_0x214567,mutations:_0x554edb}=_0x4b43f4;return{'unitId':_0x214567,'subUnitId':_0x554edb[_0x4b7c52(0x24a)]>0x0?_0x554edb[0x0][_0x4b7c52(0x45a)][_0x4b7c52(0x2fc)]:null};}_0x330a6c[_0x3b85f3(0x4e9)]=class{constructor(_0x55181b,_0x13c76f,_0x5b8ad){var _0x370914=_0x3b85f3;this[_0x370914(0x53a)]=_0x55181b,this[_0x370914(0x2c5)]=_0x13c76f,this[_0x370914(0x4af)]=_0x5b8ad;}['transformSelections'](_0x31f7b5){var _0x25c001=_0x3b85f3,_0x1ccb2f,_0x347b9a,_0x1bdf36,_0x534894;const _0xca7a0e=this[_0x25c001(0x53a)][_0x25c001(0x1f8)](_0x504e3a[_0x25c001(0x25c)]),{unitId:_0xdd5cac,subUnitId:_0x5bdf25}=_0x5b8cb8(_0x31f7b5),_0xb0ea28=_0xca7a0e==null?void 0x0:_0xca7a0e[_0x25c001(0x482)](_0xdd5cac)[_0x25c001(0x1ee)](),_0x2f0b5e=(_0x347b9a=(_0x1ccb2f=this[_0x25c001(0x4af)]['getUnit'](_0xdd5cac))==null?void 0x0:_0x1ccb2f[_0x25c001(0x47b)]())==null?void 0x0:_0x347b9a['getSheetId']();if(_0xb0ea28[_0x25c001(0x24a)]===0x0||!_0xdd5cac||!_0x5bdf25)return;const _0x16b30d=[{'id':_0x504e3a[_0x25c001(0x3a2)]['id'],'params':{'unitId':_0xdd5cac,'subUnitId':_0x2f0b5e,'selections':_0x29f72d[_0x25c001(0x4e6)][_0x25c001(0x4e5)](_0xb0ea28)}}],_0x47480b=this[_0x25c001(0x2c5)][_0x25c001(0x25f)](_0x31f7b5,_0x16b30d);if(!_0x94e8ef[_0x25c001(0x221)](_0x47480b))throw _0x47480b['error'];const _0x567618=(_0x534894=(_0x1bdf36=_0x47480b[_0x25c001(0x343)][0x0])==null?void 0x0:_0x1bdf36[_0x25c001(0x45a)])==null?void 0x0:_0x534894['selections'];if(Array[_0x25c001(0x25b)](_0x567618)&&_0x567618[_0x25c001(0x24a)]){if(_0x567618[_0x25c001(0x24a)]===_0x16b30d[0x0]['params'][_0x25c001(0x471)][_0x25c001(0x24a)]&&_0x567618[_0x25c001(0x321)]((_0x6acd25,_0x168150)=>_0x29f72d[_0x25c001(0x3ea)][_0x25c001(0x26d)](_0x6acd25[_0x25c001(0x1d3)],_0x16b30d[0x0][_0x25c001(0x45a)][_0x25c001(0x471)][_0x168150][_0x25c001(0x1d3)])))return;this[_0x25c001(0x53a)]['get'](_0x29f72d[_0x25c001(0x4f4)])[_0x25c001(0x551)](_0x504e3a[_0x25c001(0x3a2)]['id'],{'unitId':_0xdd5cac,'subUnitId':_0x2f0b5e,'selections':_0x567618});}}},_0x330a6c[_0x3b85f3(0x4e9)]=_0x535e46([_0x127ebf(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x127ebf(0x1,_0x94e8ef[_0x3b85f3(0x34a)]),_0x127ebf(0x2,_0x29f72d[_0x3b85f3(0x558)])],_0x330a6c[_0x3b85f3(0x4e9)]);const _0x17abdd=_0x29f72d[_0x3b85f3(0x3cf)](_0x3b85f3(0x1c4));var _0x17f828=(_0x1d49e3=>(_0x1d49e3[_0x1d49e3[_0x3b85f3(0x4b2)]=0x0]=_0x3b85f3(0x4b2),_0x1d49e3[_0x1d49e3[_0x3b85f3(0x4fc)]=0x1]=_0x3b85f3(0x4fc),_0x1d49e3))(_0x17f828||{});const _0x54fbde=_0x3b85f3(0x4eb),_0x32803a={};function _0x16f21b(_0x3f37a0){var _0x566cbf=_0x3b85f3,_0x5a2dce;return!!((_0x5a2dce=_0x3f37a0[_0x566cbf(0x45a)])!=null&&_0x5a2dce['__splitChunk__']);}const _0x8bff1=new Set([_0x504e3a['InsertSheetMutation']['id']]);function _0x17ce0a(_0x2dc7f5,_0x464a58,_0x325dda,_0x537643,_0x12bdba){var _0x1e191b=_0x3b85f3,_0x495c46,_0x1166fd,_0x5290f4,_0x320415;const _0x4e3774=[];for(const _0x1e919e of _0x2dc7f5){if(_0x8bff1[_0x1e191b(0x1d6)](_0x1e919e['id'])){if(_0x4e3774[_0x1e191b(0x24a)]>0x0)break;_0x4e3774[_0x1e191b(0x2cd)](_0x1e919e);break;}if(_0x16f21b(_0x1e919e)){if(_0x4e3774[_0x1e191b(0x24a)]>0x0)break;_0x4e3774[_0x1e191b(0x2cd)](_0x1e919e);break;}_0x4e3774['push'](_0x1e919e);}const _0x3cdbd5=(_0x1166fd=(_0x495c46=_0x12bdba[_0x1e191b(0x28c)]())==null?void 0x0:_0x495c46[_0x1e191b(0x4a4)])!=null?_0x1166fd:_0x1e191b(0x26e),_0x11b99d=(_0x320415=(_0x5290f4=_0x12bdba['getCurrentUser']())==null?void 0x0:_0x5290f4[_0x1e191b(0x297)])!=null?_0x320415:_0x1e191b(0x26e);return{'changeset':{'unitID':_0x464a58,'type':_0x94e8ef['mapDocumentTypeToUniverType'](_0x325dda[_0x1e191b(0x272)](_0x464a58)),'baseRev':_0x537643['getCurrentRevOfUnit'](_0x464a58),'revision':0x0,'userID':_0x3cdbd5,'memberID':_0x11b99d,'mutations':_0x4e3774},'pendingMutations':_0x2dc7f5[_0x1e191b(0x3db)](_0x4e3774['length'])};}function _0x2697b3(_0x1e8056,_0x116133,_0x308778,_0x5e7036,_0x4a8de4){var _0x5bdb9d=_0x3b85f3,_0x2b550a,_0x1a4aaf,_0x3f9cf7,_0x14f94d;const _0x258a7b=[_0x1e8056[_0x5bdb9d(0x46d)]((_0x220895,_0x54403a)=>{var _0x1a581d=_0x5bdb9d,_0x2541c8;const {id:_0x3678ad}=_0x220895,{id:_0x361339,type:_0x5d0e07}=_0x54403a,_0x19ddb4=(_0x2541c8=_0x220895[_0x1a581d(0x45a)])!=null?_0x2541c8:{'actions':null},_0xb942d7=_0x54403a['params'];if(_0x3678ad&&_0x3678ad!==_0x361339)throw new Error(_0x1a581d(0x533)+_0x3678ad+_0x1a581d(0x554)+_0x361339+'.');return{..._0x220895,'id':_0x361339,'type':_0x5d0e07,'params':{'unitId':_0xb942d7[_0x1a581d(0x2fe)],'textRanges':_0xb942d7['textRanges'],'actions':_0x29f72d[_0x1a581d(0x266)][_0x1a581d(0x1c7)](_0x19ddb4[_0x1a581d(0x29b)],_0xb942d7[_0x1a581d(0x29b)])}};},{})],_0x28033b=(_0x1a4aaf=(_0x2b550a=_0x4a8de4['getCurrentUser']())==null?void 0x0:_0x2b550a['userID'])!=null?_0x1a4aaf:_0x5bdb9d(0x26e),_0x2bf2e4=(_0x14f94d=(_0x3f9cf7=_0x4a8de4['getCurrentUser']())==null?void 0x0:_0x3f9cf7[_0x5bdb9d(0x297)])!=null?_0x14f94d:_0x5bdb9d(0x26e);return{'changeset':{'unitID':_0x116133,'type':_0x94e8ef[_0x5bdb9d(0x2d6)](_0x308778[_0x5bdb9d(0x272)](_0x116133)),'baseRev':_0x5e7036[_0x5bdb9d(0x1ec)](_0x116133),'revision':0x0,'userID':_0x28033b,'memberID':_0x2bf2e4,'mutations':_0x258a7b},'pendingMutations':[]};}function _0x42bc29(_0x48f298,_0x446e8e){var _0x127817=_0x3b85f3;const _0x17c59a=new _0x26770d[(_0x127817(0x410))](0x1);return setTimeout(()=>_0x17c59a[_0x127817(0x4c8)](_0x446e8e),_0x48f298),_0x17c59a['asObservable']()[_0x127817(0x341)](_0x26770d[_0x127817(0x354)](0x1));}var _0x57decf=Object[_0x3b85f3(0x2e1)],_0x1d59cd=(_0x23425e,_0x2201f3,_0x46bcba,_0x293a30)=>{var _0x3af1f1=_0x3b85f3;for(var _0x40333f=_0x293a30>0x1?void 0x0:_0x293a30?_0x57decf(_0x2201f3,_0x46bcba):_0x2201f3,_0x32f654=_0x23425e[_0x3af1f1(0x24a)]-0x1,_0x5d7e24;_0x32f654>=0x0;_0x32f654--)(_0x5d7e24=_0x23425e[_0x32f654])&&(_0x40333f=_0x5d7e24(_0x40333f)||_0x40333f);return _0x40333f;},_0x2215d7=(_0x2c4c1b,_0x3a0f3a)=>(_0x2793bb,_0x17b6d2)=>_0x3a0f3a(_0x2793bb,_0x17b6d2,_0x2c4c1b),_0xcbbb88=(_0x468407=>(_0x468407[_0x3b85f3(0x402)]='not_collab',_0x468407[_0x3b85f3(0x2ee)]=_0x3b85f3(0x35e),_0x468407[_0x3b85f3(0x3ca)]=_0x3b85f3(0x38c),_0x468407['AWAITING']=_0x3b85f3(0x3ce),_0x468407[_0x3b85f3(0x33a)]=_0x3b85f3(0x323),_0x468407['FETCH_MISS']=_0x3b85f3(0x561),_0x468407[_0x3b85f3(0x31d)]=_0x3b85f3(0x31a),_0x468407[_0x3b85f3(0x376)]=_0x3b85f3(0x23e),_0x468407))(_0xcbbb88||{});const _0x59df39=0x4e20,_0x2e27e1=0x2bf20;class _0x3e2750{constructor(_0x3c4a0b,_0x3d8051,_0x3d3236,_0x2c0c76,_0x2bcc9d,_0x5df099,_0x58a1fc,_0x5a0a0e,_0x280eb6){var _0x12ffa0=_0x3b85f3;_0x3dafef(this,_0x12ffa0(0x238),null),_0x3dafef(this,_0x12ffa0(0x50c),[]),(this[_0x12ffa0(0x3be)]=_0x3c4a0b,this[_0x12ffa0(0x565)]=_0x3d8051,this['_handler']=_0x2bcc9d,this[_0x12ffa0(0x440)]=_0x5df099,this[_0x12ffa0(0x24c)]=_0x58a1fc,this[_0x12ffa0(0x2ff)]=_0x5a0a0e,this['_localCacheService']=_0x280eb6,this[_0x12ffa0(0x238)]=_0x3d3236,this[_0x12ffa0(0x50c)]=_0x2c0c76);}[_0x3b85f3(0x38d)](_0x5add1b){var _0x316240=_0x3b85f3;const _0x21cb1e=this['_revisionService']['getCurrentRevOfUnit'](this[_0x316240(0x3be)]);return _0x5add1b[_0x316240(0x2c2)]>_0x21cb1e+0x1?(this[_0x316240(0x24d)]['onMissingChangesets']({'from':_0x21cb1e,'to':_0x5add1b[_0x316240(0x2c2)]-0x1}),!0x0):!0x1;}[_0x3b85f3(0x426)](_0x52ba4c){var _0x513567=_0x3b85f3;this['_undoRedoService'][_0x513567(0x3d2)](this[_0x513567(0x3be)],_0x52ba4c);}['_transformSelections'](_0x2b0a51){var _0x8be8f0=_0x3b85f3,_0x5c2459,_0x5b6323;(_0x5b6323=(_0x5c2459=this[_0x8be8f0(0x24d)])[_0x8be8f0(0x2a0)])==null||_0x5b6323[_0x8be8f0(0x4c4)](_0x5c2459,_0x2b0a51);}[_0x3b85f3(0x392)](_0x511b48){var _0x52763f=_0x3b85f3,_0x43f964,_0x2e7808;return(_0x2e7808=(_0x43f964=this[_0x52763f(0x24d)])[_0x52763f(0x53d)])==null?void 0x0:_0x2e7808['call'](_0x43f964,_0x511b48);}['_transformStateCache'](_0x370837){var _0x522901=_0x3b85f3,_0x508b66,_0x52e755;return(_0x52e755=(_0x508b66=this[_0x522901(0x24d)])['onTransformState'])==null?void 0x0:_0x52e755['call'](_0x508b66,_0x370837);}[_0x3b85f3(0x2ef)](_0x1354d0){var _0x16b99d=_0x3b85f3,_0x2f4f48,_0x1f5bc9,_0x5c7407;return(_0x5c7407=(_0x1f5bc9=(_0x2f4f48=this[_0x16b99d(0x24d)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1f5bc9['call'](_0x2f4f48,_0x1354d0))!=null?_0x5c7407:_0x1354d0;}[_0x3b85f3(0x1f4)](_0x262335){var _0x5cb603=_0x3b85f3,_0x389782,_0xf253d2,_0x5c00bf;return(_0x5c00bf=(_0xf253d2=(_0x389782=this[_0x5cb603(0x24d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xf253d2[_0x5cb603(0x4c4)](_0x389782,_0x262335))!=null?_0x5c00bf:_0x262335;}['_syncEditingCollabCursor'](_0x200d07){var _0x3c2c48=_0x3b85f3,_0xf446d4,_0x263040;if(this['type']===_0x2da9ac[_0x3c2c48(0x3ee)]){const {unitID:_0x21b46f,mutations:_0x3a0b56,memberID:_0x309382}=_0x200d07,_0x166ee6=_0x3a0b56['length']>0x0?_0x3a0b56[0x0][_0x3c2c48(0x45a)]['textRanges']:[];Array[_0x3c2c48(0x25b)](_0x166ee6)&&_0x166ee6[_0x3c2c48(0x24a)]>0x0&&((_0x263040=(_0xf446d4=this[_0x3c2c48(0x24d)])[_0x3c2c48(0x2b7)])==null||_0x263040[_0x3c2c48(0x4c4)](_0xf446d4,{'unitID':_0x21b46f,'memberID':_0x309382,'textRanges':_0x166ee6}));}}[_0x3b85f3(0x2cb)](){var _0x208add=_0x3b85f3,_0x25eaf3;(_0x25eaf3=this['_localCacheService'])==null||_0x25eaf3[_0x208add(0x2ea)](this[_0x208add(0x3be)],this[_0x208add(0x565)],this['_awaitingChangeset'],this[_0x208add(0x50c)]);}['_getCurrentRevision'](){var _0x3a3bb1=_0x3b85f3;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x3a3bb1(0x3be)]);}[_0x3b85f3(0x4c3)](){var _0xd4deb9=_0x3b85f3;this[_0xd4deb9(0x2ff)][_0xd4deb9(0x223)](this[_0xd4deb9(0x3be)]);}[_0x3b85f3(0x299)](_0xbfea68){var _0x493252=_0x3b85f3,_0x39ea38;let _0x52c3cc=this[_0x493252(0x2ef)](_0xbfea68);_0x52c3cc=this['_transformRemoteChangesetByStateCache'](_0x52c3cc);const _0x1ff7a8=_0x29f72d[_0x493252(0x37d)](_0x52c3cc[_0x493252(0x358)],this[_0x493252(0x440)],{'fromCollab':!0x0});if(!_0x1ff7a8['result'])throw _0x1ff7a8['error']instanceof Error?_0x1ff7a8[_0x493252(0x313)]:new Error((_0x39ea38=_0x1ff7a8['error'])!=null?_0x39ea38:_0x493252(0x433));this[_0x493252(0x392)](_0x52c3cc),this['_transformStateCache'](_0x52c3cc),this[_0x493252(0x426)](_0xbfea68),this[_0x493252(0x350)](_0x52c3cc),this[_0x493252(0x226)](_0x52c3cc),this[_0x493252(0x4c3)]();}}_0x330a6c[_0x3b85f3(0x2d4)]=class extends _0x3e2750{constructor(_0x304e64,_0xd312be,_0x2d39b2,_0x15db1b,_0x2a056e,_0x3f099d,_0x32ec34,_0x437ec,_0x243f73,_0x1d62c6){var _0x4799f1=_0x3b85f3;super(_0x304e64,_0xd312be,null,[],_0x2d39b2,_0x32ec34,_0x3f099d,_0x15db1b,_0x1d62c6),_0x3dafef(this,_0x4799f1(0x47c),_0x4799f1(0x35e)),(this[_0x4799f1(0x53a)]=_0x2a056e,this[_0x4799f1(0x20b)]=_0x437ec,this[_0x4799f1(0x2c5)]=_0x243f73,this[_0x4799f1(0x3fd)]=_0x1d62c6);}[_0x3b85f3(0x4ac)](_0x4f1261){var _0x280721=_0x3b85f3;const _0x530372=this['_injector'][_0x280721(0x43b)](_0x330a6c[_0x280721(0x50f)],this[_0x280721(0x3be)],this[_0x280721(0x565)],[_0x4f1261],this['_handler']);return _0x530372[_0x280721(0x43e)](),_0x530372['_updateLocalCache'](),_0x530372;}['onRemoteChangeset'](_0x5e7aec){var _0x60c129=_0x3b85f3;if(this[_0x60c129(0x38d)](_0x5e7aec))return this[_0x60c129(0x53a)][_0x60c129(0x43b)](_0x330a6c[_0x60c129(0x34b)],this['unitID'],this[_0x60c129(0x565)],null,[],null,[_0x5e7aec],this['_handler']);try{const _0x5f22cd=this['_transformService'][_0x60c129(0x25f)](_0x5e7aec,[_0x94e8ef[_0x60c129(0x3a5)]]);if(_0x94e8ef['isTransformMutationsWithChangesetSuccess'](_0x5f22cd)){const {c1Prime:_0x4d36d6}=_0x5f22cd;return this[_0x60c129(0x299)](_0x4d36d6),this;}throw _0x5f22cd[_0x60c129(0x313)];}catch(_0x3858d9){return this['_logService']['error'](_0x3858d9),this[_0x60c129(0x3d1)](!0x1);}}[_0x3b85f3(0x3d1)](_0x2c63dd){var _0x5338d5=_0x3b85f3;return this[_0x5338d5(0x53a)][_0x5338d5(0x43b)](_0x330a6c[_0x5338d5(0x304)],this[_0x5338d5(0x3be)],this[_0x5338d5(0x565)],null,[],this[_0x5338d5(0x24d)],_0x2c63dd);}[_0x3b85f3(0x212)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3b85f3(0x2bb)](){var _0x5b0691=_0x3b85f3;throw new Error(_0x5b0691(0x474));}[_0x3b85f3(0x32e)](){return this;}['toggleOffline'](){var _0x436535=_0x3b85f3;return this['_injector'][_0x436535(0x43b)](_0x330a6c['OfflineState'],this['unitID'],this[_0x436535(0x565)],null,[],this[_0x436535(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x3bc3af=_0x3b85f3;throw new Error(_0x3bc3af(0x52f));}[_0x3b85f3(0x348)](){var _0x449d9b=_0x3b85f3;const _0x583f93=this['_revisionService']['getCurrentRevOfUnit'](this[_0x449d9b(0x3be)]);return this[_0x449d9b(0x24d)][_0x449d9b(0x283)]({'from':_0x583f93,'to':0x0}),this[_0x449d9b(0x53a)]['createInstance'](_0x330a6c[_0x449d9b(0x34b)],this[_0x449d9b(0x3be)],this['type'],null,[],null,[],this[_0x449d9b(0x24d)]);}},_0x330a6c[_0x3b85f3(0x2d4)]=_0x1d59cd([_0x2215d7(0x3,_0x29f72d['Inject'](_0x94e8ef['RevisionService'])),_0x2215d7(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x316)]),_0x2215d7(0x8,_0x94e8ef[_0x3b85f3(0x34a)]),_0x2215d7(0x9,_0x29f72d['Optional'](_0x54c85))],_0x330a6c[_0x3b85f3(0x2d4)]),_0x330a6c['PendingState']=class extends _0x3e2750{constructor(_0x15291b,_0x415abb,_0x510069,_0x215e1e,_0x423105,_0x404528,_0x4b9b24,_0x4e8739,_0x305eda,_0x1630d2,_0x3f6606,_0x2bf5b1,_0x344a13,_0x5ebdee){var _0x41c459=_0x3b85f3;super(_0x15291b,_0x415abb,null,_0x510069,_0x215e1e,_0x305eda,_0x344a13,_0x404528,_0x5ebdee),_0x3dafef(this,'status',_0x41c459(0x38c)),_0x3dafef(this,_0x41c459(0x3bb),null),_0x3dafef(this,_0x41c459(0x4a8),null),(this[_0x41c459(0x53a)]=_0x423105,this[_0x41c459(0x2a9)]=_0x4b9b24,this[_0x41c459(0x20b)]=_0x4e8739,this[_0x41c459(0x265)]=_0x1630d2,this[_0x41c459(0x2c5)]=_0x3f6606,this[_0x41c459(0x550)]=_0x2bf5b1);}[_0x3b85f3(0x4ac)](_0x55f3f9){var _0x2c1813=_0x3b85f3;return this['_pendingMutations'][_0x2c1813(0x2cd)](_0x55f3f9),this['_updateLocalCache'](),this;}[_0x3b85f3(0x2e9)](_0x22773e){var _0x57d68c=_0x3b85f3;if(this[_0x57d68c(0x38d)](_0x22773e))return this[_0x57d68c(0x39b)](),this['_injector'][_0x57d68c(0x43b)](_0x330a6c[_0x57d68c(0x34b)],this[_0x57d68c(0x3be)],this['type'],null,this[_0x57d68c(0x50c)],null,[_0x22773e],this[_0x57d68c(0x24d)]);try{const _0x49a86b=this[_0x57d68c(0x2c5)]['transformMutationsWithChangeset'](_0x22773e,this[_0x57d68c(0x50c)]);if(_0x94e8ef[_0x57d68c(0x221)](_0x49a86b)){const {c1Prime:_0x5d15a6,m2Prime:_0x5cdc56}=_0x49a86b;this[_0x57d68c(0x299)](_0x5d15a6);const _0x3c3b75=this[_0x57d68c(0x53a)][_0x57d68c(0x43b)](_0x330a6c['PendingState'],this['unitID'],this['type'],_0x5cdc56,this['_handler']);this['_clearScheduledTask']();const _0x18eb41=new Date()[_0x57d68c(0x4ea)](),_0x396148=this['_scheduleCompleteTimestamp']?Math[_0x57d68c(0x566)](this[_0x57d68c(0x3bb)]-_0x18eb41,0x0):this[_0x57d68c(0x309)]();return _0x3c3b75[_0x57d68c(0x43e)](_0x396148),_0x3c3b75;}throw _0x49a86b[_0x57d68c(0x313)];}catch(_0x3d8270){return this[_0x57d68c(0x20b)][_0x57d68c(0x313)](_0x3d8270),this[_0x57d68c(0x3d1)](!0x1);}}['onRemoteAck'](){var _0x1ff151=_0x3b85f3;throw new Error(_0x1ff151(0x20a));}[_0x3b85f3(0x2bb)](){var _0x2d9132=_0x3b85f3;throw new Error(_0x2d9132(0x269));}[_0x3b85f3(0x32e)](){return this;}[_0x3b85f3(0x492)](){var _0x425410=_0x3b85f3;return this['_clearScheduledTask'](),this[_0x425410(0x53a)]['createInstance'](_0x330a6c['OfflineState'],this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x425410(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x43e)](_0x48260c){var _0x2b9616=_0x3b85f3;const _0x927268=_0x48260c!=null?_0x48260c:this[_0x2b9616(0x309)]();this[_0x2b9616(0x3bb)]=new Date()[_0x2b9616(0x4ea)]()+_0x927268,this['_sendingTimer']=setTimeout(()=>{var _0x2699aa=_0x2b9616;this[_0x2699aa(0x39b)]();let _0x2e2bcb=null;switch(this[_0x2699aa(0x565)]){case _0x2da9ac['UNIVER_SHEET']:{_0x2e2bcb=_0x17ce0a(this[_0x2699aa(0x50c)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x550)],this[_0x2699aa(0x2ff)],this[_0x2699aa(0x2a9)]);break;}case _0x2da9ac['UNIVER_DOC']:{this[_0x2699aa(0x50c)][_0x2699aa(0x321)](_0x23827c=>_0x23827c['id']===_0x1633c3[_0x2699aa(0x3e4)]['id'])?_0x2e2bcb=_0x2697b3(this[_0x2699aa(0x50c)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x550)],this['_revisionService'],this[_0x2699aa(0x2a9)]):_0x2e2bcb=_0x17ce0a(this[_0x2699aa(0x50c)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x550)],this[_0x2699aa(0x2ff)],this[_0x2699aa(0x2a9)]);break;}default:throw new Error(_0x2699aa(0x230)+this[_0x2699aa(0x565)]+_0x2699aa(0x368));}const {changeset:_0x508e,pendingMutations:_0x5aead9}=_0x2e2bcb;this[_0x2699aa(0x24d)][_0x2699aa(0x28f)](_0x508e);const _0x699035=_0x5aead9['length']?this[_0x2699aa(0x53a)][_0x2699aa(0x43b)](_0x330a6c[_0x2699aa(0x4fe)],this[_0x2699aa(0x3be)],this[_0x2699aa(0x565)],_0x508e,_0x5aead9,this[_0x2699aa(0x24d)],void 0x0):this[_0x2699aa(0x53a)][_0x2699aa(0x43b)](_0x330a6c['AwaitingState'],this[_0x2699aa(0x3be)],this[_0x2699aa(0x565)],_0x508e,this['_handler']);_0x699035[_0x2699aa(0x2cb)](),this['_handler'][_0x2699aa(0x469)](this,_0x699035);},_0x927268);}[_0x3b85f3(0x309)](){var _0x7db2cd=_0x3b85f3,_0x572545;const _0x8048a3=this['_configService']['getConfig'](_0x54fbde);return(_0x572545=_0x8048a3==null?void 0x0:_0x8048a3[_0x7db2cd(0x31e)])!=null?_0x572545:0x7d0;}[_0x3b85f3(0x3fc)](){var _0x2f374f=_0x3b85f3;throw new Error(_0x2f374f(0x423));}[_0x3b85f3(0x39b)](){var _0x2a035c=_0x3b85f3;this[_0x2a035c(0x4a8)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2a035c(0x4a8)]=null);}[_0x3b85f3(0x3d1)](_0x29bb09){var _0x2144ae=_0x3b85f3;return this[_0x2144ae(0x39b)](),this[_0x2144ae(0x53a)][_0x2144ae(0x43b)](_0x330a6c[_0x2144ae(0x304)],this[_0x2144ae(0x3be)],this[_0x2144ae(0x565)],null,this['_pendingMutations'],this['_handler'],_0x29bb09);}},_0x330a6c['PendingState']=_0x1d59cd([_0x2215d7(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d['Injector'])),_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c['MemberService'])),_0x2215d7(0x7,_0x29f72d['ILogService']),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x9,_0x29f72d['IConfigService']),_0x2215d7(0xa,_0x94e8ef[_0x3b85f3(0x34a)]),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x558)]),_0x2215d7(0xc,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xd,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x50f)]),_0x330a6c['AwaitingState']=class extends _0x3e2750{constructor(_0x172a39,_0x5e2dcd,_0xa8b9ce,_0x140356,_0x36238b,_0x4ce788,_0xc0b2a0,_0x45dcbd,_0x4e25c5,_0x999b1d,_0x49d03){var _0x5c7b90=_0x3b85f3;super(_0x172a39,_0x5e2dcd,_0xa8b9ce,[],_0x140356,_0xc0b2a0,_0x999b1d,_0x4ce788,_0x49d03),_0x3dafef(this,_0x5c7b90(0x47c),_0x5c7b90(0x3ce)),_0x3dafef(this,_0x5c7b90(0x243),0x0),_0x3dafef(this,_0x5c7b90(0x3e3),0x0),_0x3dafef(this,'_resendTimer'),_0x3dafef(this,'_sender'),(this[_0x5c7b90(0x53a)]=_0x36238b,this[_0x5c7b90(0x20b)]=_0x45dcbd,this[_0x5c7b90(0x2c5)]=_0x4e25c5);}[_0x3b85f3(0x4ac)](_0x4b1d6d){var _0x977977=_0x3b85f3;this['_clearScheduledTask']();const _0x1dd187=this[_0x977977(0x53a)][_0x977977(0x43b)](_0x330a6c[_0x977977(0x4fe)],this[_0x977977(0x3be)],this[_0x977977(0x565)],this[_0x977977(0x238)],[_0x4b1d6d],this[_0x977977(0x24d)],this[_0x977977(0x279)]);return _0x1dd187[_0x977977(0x2cb)](),_0x1dd187;}[_0x3b85f3(0x2e9)](_0x2e52f2){var _0x42d613=_0x3b85f3;if(this[_0x42d613(0x38d)](_0x2e52f2))return this[_0x42d613(0x39b)](),this[_0x42d613(0x53a)][_0x42d613(0x43b)](_0x330a6c[_0x42d613(0x34b)],this[_0x42d613(0x3be)],this['type'],this[_0x42d613(0x238)],[],null,[_0x2e52f2],this[_0x42d613(0x24d)]);try{const _0x972c56=this[_0x42d613(0x2c5)][_0x42d613(0x3d5)]([_0x2e52f2],[this[_0x42d613(0x238)]],!0x1);if(_0x94e8ef['isTransformChangesetsSuccess'](_0x972c56)){const {c1Prime:_0x16da86,c2Prime:_0x27d411}=_0x972c56;this[_0x42d613(0x299)](_0x16da86[0x0]),_0x27d411[0x0][_0x42d613(0x4a0)]=this[_0x42d613(0x1ea)](),this[_0x42d613(0x39b)]();const _0x439bd3=this[_0x42d613(0x53a)][_0x42d613(0x43b)](_0x330a6c['AwaitingState'],this['unitID'],this[_0x42d613(0x565)],_0x27d411[0x0],this[_0x42d613(0x24d)]);return _0x439bd3['_updateLocalCache'](),_0x439bd3;}return this['_onConflict'](!0x1);}catch(_0x11eab3){return this[_0x42d613(0x20b)][_0x42d613(0x313)](_0x11eab3),this['_onConflict'](!0x1);}}[_0x3b85f3(0x212)](_0x515b5f){var _0x51c1fb=_0x3b85f3;this['_clearScheduledTask']();const _0x19ec57=this[_0x51c1fb(0x2ff)][_0x51c1fb(0x1ec)](this[_0x51c1fb(0x3be)]);if(_0x515b5f[_0x51c1fb(0x2c2)]<_0x19ec57-0x1)return this;if(this[_0x51c1fb(0x38d)](_0x515b5f))return this['_injector'][_0x51c1fb(0x43b)](_0x330a6c[_0x51c1fb(0x34b)],this['unitID'],this[_0x51c1fb(0x565)],null,[],this[_0x51c1fb(0x238)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x35e5f1=this[_0x51c1fb(0x53a)]['createInstance'](_0x330a6c[_0x51c1fb(0x2d4)],this[_0x51c1fb(0x3be)],this['type'],this[_0x51c1fb(0x24d)]);return _0x35e5f1[_0x51c1fb(0x2cb)](),_0x35e5f1;}[_0x3b85f3(0x2bb)](_0x419954){var _0x35d353=_0x3b85f3;return this[_0x35d353(0x3d1)](!!(_0x419954!=null&&_0x419954[_0x35d353(0x4fa)]));}[_0x3b85f3(0x32e)](_0x407230){var _0x4727d6=_0x3b85f3;return this[_0x4727d6(0x3e3)]>_0x2e27e1?this[_0x4727d6(0x492)]():(this[_0x4727d6(0x279)]=_0x42bc29(this[_0x4727d6(0x243)],{'timeout':this[_0x4727d6(0x243)],'reqId':_0x407230[_0x4727d6(0x3ab)]}),this[_0x4727d6(0x4fb)]=this['_resendTimer'][_0x4727d6(0x255)](({reqId:_0x3ba60f,timeout:_0x2ac385})=>{var _0x2348d3=_0x4727d6;this[_0x2348d3(0x2d0)](_0x3ba60f,_0x2ac385);}),this);}[_0x3b85f3(0x492)](){var _0x17510d=_0x3b85f3;return this['_clearScheduledTask'](),this[_0x17510d(0x53a)]['createInstance'](_0x330a6c[_0x17510d(0x557)],this[_0x17510d(0x3be)],this['type'],this[_0x17510d(0x238)],[],this[_0x17510d(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x5dcb01=_0x3b85f3;this[_0x5dcb01(0x24d)][_0x5dcb01(0x28f)](this[_0x5dcb01(0x238)]);}[_0x3b85f3(0x3d1)](_0x1fcb7e){var _0x391fdf=_0x3b85f3;return this[_0x391fdf(0x39b)](),this[_0x391fdf(0x53a)][_0x391fdf(0x43b)](_0x330a6c['ConflictState'],this[_0x391fdf(0x3be)],this['type'],this['_awaitingChangeset'],[],this[_0x391fdf(0x24d)],_0x1fcb7e);}['_resendWithTimeout'](_0x48eab4,_0x3f3b18){var _0x56943c=_0x3b85f3,_0x24e7f7;_0x48eab4===((_0x24e7f7=this['_awaitingChangeset'])==null?void 0x0:_0x24e7f7[_0x56943c(0x3ab)])&&(this[_0x56943c(0x3fc)](),this[_0x56943c(0x243)]=_0x3f3b18===0x0?0x3e8:Math[_0x56943c(0x2f0)](_0x3f3b18*0x2,_0x59df39),this[_0x56943c(0x3e3)]+=this['_resendTimeout']);}[_0x3b85f3(0x39b)](){var _0x280277=_0x3b85f3,_0x4b03c5;(_0x4b03c5=this[_0x280277(0x4fb)])==null||_0x4b03c5[_0x280277(0x2c8)](),this[_0x280277(0x243)]=0x0,this[_0x280277(0x3e3)]=0x0;}},_0x330a6c[_0x3b85f3(0x30b)]=_0x1d59cd([_0x2215d7(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x7,_0x29f72d['ILogService']),_0x2215d7(0x8,_0x94e8ef['ITransformService']),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xa,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x30b)]),_0x330a6c[_0x3b85f3(0x4fe)]=class extends _0x3e2750{constructor(_0x466940,_0x5913a8,_0x34cdea,_0x2e5c74,_0x855680,_0x25fef2,_0x368065,_0x5ba104,_0x4151a6,_0x505ea0,_0x1c6ce8,_0x58d6d1,_0x247090){var _0x487da1=_0x3b85f3;super(_0x466940,_0x5913a8,_0x34cdea,_0x2e5c74,_0x855680,_0x4151a6,_0x58d6d1,_0x5ba104,_0x247090),_0x3dafef(this,_0x487da1(0x47c),_0x487da1(0x323)),_0x3dafef(this,_0x487da1(0x243),0x0),_0x3dafef(this,_0x487da1(0x3e3),0x0),_0x3dafef(this,_0x487da1(0x279)),_0x3dafef(this,_0x487da1(0x4fb)),(this['_injector']=_0x368065,this[_0x487da1(0x20b)]=_0x505ea0,this[_0x487da1(0x2c5)]=_0x1c6ce8,this[_0x487da1(0x3fd)]=_0x247090,_0x25fef2&&(this[_0x487da1(0x279)]=_0x25fef2,this[_0x487da1(0x4fb)]=this[_0x487da1(0x279)]['subscribe'](({reqId:_0x1eed55,timeout:_0x51b00d})=>{var _0x17b892=_0x487da1;this[_0x17b892(0x2d0)](_0x1eed55,_0x51b00d);})));}['appendMutation'](_0x105303){var _0x4f371b=_0x3b85f3;return this[_0x4f371b(0x50c)][_0x4f371b(0x2cd)](_0x105303),this;}[_0x3b85f3(0x2e9)](_0x3c75db){var _0x293a3f=_0x3b85f3;if(this[_0x293a3f(0x38d)](_0x3c75db))return this[_0x293a3f(0x39b)](),this[_0x293a3f(0x53a)][_0x293a3f(0x43b)](_0x330a6c[_0x293a3f(0x34b)],this['unitID'],this[_0x293a3f(0x565)],this[_0x293a3f(0x238)],this[_0x293a3f(0x50c)],null,[_0x3c75db],this[_0x293a3f(0x24d)]);try{const _0x334ffc=this[_0x293a3f(0x2c5)]['transformChangesets']([_0x3c75db],[this['_awaitingChangeset']],!0x1);if(_0x94e8ef[_0x293a3f(0x520)](_0x334ffc)){const {c1Prime:_0x5ec518,c2Prime:_0x5791a4}=_0x334ffc,_0xa1ddf=this['_transformService'][_0x293a3f(0x25f)](_0x5ec518[0x0],this[_0x293a3f(0x50c)]);if(_0x94e8ef['isTransformMutationsWithChangesetSuccess'](_0xa1ddf)){const {c1Prime:_0x23b8b8,m2Prime:_0x32156e}=_0xa1ddf;return this[_0x293a3f(0x299)](_0x23b8b8),_0x5791a4[0x0][_0x293a3f(0x4a0)]=this[_0x293a3f(0x1ea)](),this[_0x293a3f(0x39b)](),this[_0x293a3f(0x53a)][_0x293a3f(0x43b)](_0x330a6c['AwaitingWithPendingState'],this[_0x293a3f(0x3be)],this[_0x293a3f(0x565)],_0x5791a4[0x0],_0x32156e,this[_0x293a3f(0x24d)],void 0x0);}throw _0xa1ddf['error'];}throw _0x334ffc[_0x293a3f(0x313)];}catch(_0x142e4a){return this[_0x293a3f(0x20b)][_0x293a3f(0x313)](_0x142e4a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1433e7){var _0x309c9c=_0x3b85f3;if(this['_clearScheduledTask'](),this[_0x309c9c(0x38d)](_0x1433e7))return this[_0x309c9c(0x53a)][_0x309c9c(0x43b)](_0x330a6c[_0x309c9c(0x34b)],this[_0x309c9c(0x3be)],this[_0x309c9c(0x565)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x309c9c(0x24d)]);this[_0x309c9c(0x4c3)]();const _0x59bb62=this['_injector'][_0x309c9c(0x43b)](_0x330a6c[_0x309c9c(0x50f)],this[_0x309c9c(0x3be)],this['type'],this['_pendingMutations'],this[_0x309c9c(0x24d)]);return _0x59bb62[_0x309c9c(0x43e)](),_0x59bb62[_0x309c9c(0x2cb)](),_0x59bb62;}[_0x3b85f3(0x2bb)](_0x22da1e){var _0x443e2e=_0x3b85f3;return this[_0x443e2e(0x3d1)](!!(_0x22da1e!=null&&_0x22da1e[_0x443e2e(0x4fa)]));}[_0x3b85f3(0x32e)](_0x21467a){var _0x2f60a9=_0x3b85f3;return this[_0x2f60a9(0x3e3)]>_0x2e27e1?this[_0x2f60a9(0x492)]():(this[_0x2f60a9(0x279)]=_0x42bc29(this[_0x2f60a9(0x243)],{'timeout':this[_0x2f60a9(0x243)],'reqId':_0x21467a[_0x2f60a9(0x3ab)]}),this['_sender']=this[_0x2f60a9(0x279)]['subscribe'](({reqId:_0x513f39,timeout:_0x354e94})=>{var _0x12d7a6=_0x2f60a9;this[_0x12d7a6(0x2d0)](_0x513f39,_0x354e94);}),this);}[_0x3b85f3(0x492)](){var _0x3eb8a4=_0x3b85f3;return this[_0x3eb8a4(0x39b)](),this[_0x3eb8a4(0x53a)]['createInstance'](_0x330a6c[_0x3eb8a4(0x557)],this[_0x3eb8a4(0x3be)],this['type'],this['_awaitingChangeset'],this[_0x3eb8a4(0x50c)],this[_0x3eb8a4(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x232512=_0x3b85f3;this[_0x232512(0x24d)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x3b85f3(0x3d1)](_0x41662d){var _0x5733e8=_0x3b85f3;return this[_0x5733e8(0x39b)](),this[_0x5733e8(0x53a)]['createInstance'](_0x330a6c[_0x5733e8(0x304)],this['unitID'],this[_0x5733e8(0x565)],null,this['_pendingMutations'],this['_handler'],_0x41662d);}[_0x3b85f3(0x2d0)](_0x2fe2bc,_0x3300c7){var _0x434a0f=_0x3b85f3,_0x236c99;_0x2fe2bc===((_0x236c99=this[_0x434a0f(0x238)])==null?void 0x0:_0x236c99[_0x434a0f(0x3ab)])&&(this['resend'](),this[_0x434a0f(0x243)]=_0x3300c7===0x0?0x3e8:Math['min'](_0x3300c7*0x2,_0x59df39),this['_maxTotalRetryTimeout']+=this[_0x434a0f(0x243)]);}[_0x3b85f3(0x39b)](){var _0x49a1a8=_0x3b85f3,_0x3774e2;(_0x3774e2=this[_0x49a1a8(0x4fb)])==null||_0x3774e2['unsubscribe'](),this[_0x49a1a8(0x243)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x330a6c[_0x3b85f3(0x4fe)]=_0x1d59cd([_0x2215d7(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x316)]),_0x2215d7(0xa,_0x94e8ef['ITransformService']),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xc,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x4fe)]),_0x330a6c[_0x3b85f3(0x304)]=class extends _0x3e2750{constructor(_0x49c65e,_0x3f92fa,_0x213d9d,_0x5b9039,_0x51ae1e,_0x2e56d5=!0x1,_0x3e09f7,_0x112387,_0x5536a7,_0x940095,_0x16d32a,_0x2df0e4,_0x1605da){var _0xbfe0f6=_0x3b85f3;super(_0x49c65e,_0x3f92fa,_0x213d9d,_0x5b9039,_0x51ae1e,_0x112387,_0x5536a7,_0x940095,_0x1605da),_0x3dafef(this,_0xbfe0f6(0x47c),_0xbfe0f6(0x31a)),(this[_0xbfe0f6(0x439)]=_0x2e56d5,this[_0xbfe0f6(0x543)]=_0x3e09f7,this[_0xbfe0f6(0x407)]=_0x16d32a,this[_0xbfe0f6(0x2ed)]=_0x2df0e4,this[_0xbfe0f6(0x3fd)]=_0x1605da,this[_0xbfe0f6(0x531)](),this[_0xbfe0f6(0x372)](),this['_disableEditing']());}[_0x3b85f3(0x4ac)](){return this;}['onRemoteChangeset'](){return this;}[_0x3b85f3(0x212)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x3b85f3(0x492)](){return this;}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3fc)](){var _0x35d3a8=_0x3b85f3;throw new Error(_0x35d3a8(0x50d));}[_0x3b85f3(0x372)](){var _0x17743a=_0x3b85f3,_0x1054b4;(_0x1054b4=this[_0x17743a(0x38e)])==null||_0x1054b4[_0x17743a(0x2ea)](this[_0x17743a(0x3be)],this[_0x17743a(0x565)],null,[]);}[_0x3b85f3(0x531)](){var _0x10d13c=_0x3b85f3;this[_0x10d13c(0x439)]?this['_collaborationUIEventService'][_0x10d13c(0x1d4)]({'id':_0x465567[_0x10d13c(0x1c9)]}):this['_collaborationUIEventService'][_0x10d13c(0x1d4)]({'id':_0x465567['CONFLICT']});}[_0x3b85f3(0x340)](){var _0x2abd6a=_0x3b85f3;this['_permissionService'][_0x2abd6a(0x44b)](new _0x504e3a['WorkbookEditablePermission'](this[_0x2abd6a(0x3be)])['id'],!0x1);}},_0x330a6c[_0x3b85f3(0x304)]=_0x1d59cd([_0x2215d7(0x6,_0x29f72d['Inject'](_0x29f72d['IPermissionService'])),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef['RevisionService'])),_0x2215d7(0xa,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x487)])),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x2215d7(0xc,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x304)]),_0x330a6c['OfflineState']=class extends _0x3e2750{constructor(_0x4917a9,_0x4fabc0,_0x1ef129,_0x581dd4,_0x5a254a,_0x3f4658,_0x4f2cec,_0x26e09a,_0x181245,_0x3582ed){var _0x184f35=_0x3b85f3;super(_0x4917a9,_0x4fabc0,_0x1ef129,_0x581dd4,_0x5a254a,_0x26e09a,_0x181245,_0x4f2cec,_0x3582ed),_0x3dafef(this,_0x184f35(0x47c),'offline'),this[_0x184f35(0x53a)]=_0x3f4658;}['appendMutation'](_0x491e47){var _0x530244=_0x3b85f3;return this[_0x530244(0x50c)][_0x530244(0x2cd)](_0x491e47),this[_0x530244(0x2cb)](),this;}[_0x3b85f3(0x2e9)](_0x1e45b7){var _0x4e75c9=_0x3b85f3;throw new Error(_0x4e75c9(0x310));}['onRemoteAck'](){var _0x40fb78=_0x3b85f3;throw new Error(_0x40fb78(0x3d3));}[_0x3b85f3(0x2bb)](){var _0x7d9109=_0x3b85f3;throw new Error(_0x7d9109(0x560));}['onRemoteRetry'](){return this;}[_0x3b85f3(0x492)](){return this;}[_0x3b85f3(0x553)](){var _0x15a412=_0x3b85f3;const {_injector:_0x5a7966,_pendingMutations:_0x2f3d05,_awaitingChangeset:_0x5d8e7f,unitID:_0x80e60d,_handler:_0x37f9a1,type:_0x3683c7}=this,_0x467e04=_0x3d585d(_0x5a7966,_0x80e60d,_0x3683c7,_0x5d8e7f,_0x2f3d05,_0x37f9a1);return _0x467e04 instanceof _0x330a6c[_0x15a412(0x50f)]?_0x467e04[_0x15a412(0x43e)]():(_0x467e04 instanceof _0x330a6c[_0x15a412(0x4fe)]||_0x467e04 instanceof _0x330a6c['AwaitingState'])&&_0x467e04[_0x15a412(0x3fc)](),_0x467e04;}[_0x3b85f3(0x3fc)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x330a6c[_0x3b85f3(0x557)]=_0x1d59cd([_0x2215d7(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x6,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x7,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0x8,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x557)]),_0x330a6c[_0x3b85f3(0x34b)]=class extends _0x3e2750{constructor(_0x34f334,_0xa985cb,_0x4a7c48,_0x232e6f,_0x104f1a,_0x25f725,_0x41a716,_0x453664,_0x135bdd,_0x3b53c9,_0xa84be4,_0x572f25,_0x488f65,_0x44b3bf){var _0x41c32d=_0x3b85f3;super(_0x34f334,_0xa985cb,_0x4a7c48,_0x232e6f,_0x41a716,_0xa84be4,_0x572f25,_0x135bdd,_0x44b3bf),_0x3dafef(this,_0x41c32d(0x47c),_0x41c32d(0x561)),(this['_acknowledgedAwaitingChangeset']=_0x104f1a,this[_0x41c32d(0x539)]=_0x25f725,this['_injector']=_0x453664,this['_logService']=_0x3b53c9,this[_0x41c32d(0x2c5)]=_0x488f65,this['localCacheService']=_0x44b3bf);}[_0x3b85f3(0x534)](_0x3b9d34){var _0x4a7b00=_0x3b85f3;try{const _0x1e3889=[..._0x3b9d34,...this[_0x4a7b00(0x539)]],_0x1433d0=[this[_0x4a7b00(0x238)]||this[_0x4a7b00(0x3f1)]][_0x4a7b00(0x463)](_0x2f9c00=>!!_0x2f9c00);let _0x22d2bf,_0xd23234;if(_0x1433d0[_0x4a7b00(0x24a)]){const _0x567f40=this['_transformService']['transformChangesets'](_0x1e3889,_0x1433d0,!0x1);if(!_0x94e8ef[_0x4a7b00(0x520)](_0x567f40))throw _0x567f40[_0x4a7b00(0x313)];_0x22d2bf=_0x567f40[_0x4a7b00(0x3f9)],_0xd23234=_0x567f40[_0x4a7b00(0x3e8)];}else _0x22d2bf=_0x1e3889,_0xd23234=[];let _0x440be5=this[_0x4a7b00(0x50c)];_0x22d2bf[_0x4a7b00(0x3ae)](_0x2ceeb4=>{var _0x40ed38=_0x4a7b00;let _0x1255f8;if(_0x440be5['length']){const _0x324417=this[_0x40ed38(0x2c5)][_0x40ed38(0x25f)](_0x2ceeb4,_0x440be5);if(!_0x94e8ef[_0x40ed38(0x221)](_0x324417))throw _0x324417[_0x40ed38(0x313)];_0x1255f8=_0x324417['c1Prime'],_0x440be5=_0x324417[_0x40ed38(0x343)];}else _0x1255f8=_0x2ceeb4;this[_0x40ed38(0x299)](_0x1255f8);}),this[_0x4a7b00(0x3f1)]&&this[_0x4a7b00(0x4c3)](),this[_0x4a7b00(0x238)]&&_0xd23234[_0x4a7b00(0x24a)]&&(_0xd23234[0x0][_0x4a7b00(0x4a0)]=this['_getCurrentRevision']());let _0x3620ac;if(this[_0x4a7b00(0x238)]&&_0x440be5[_0x4a7b00(0x24a)]!==0x0)_0x3620ac=this[_0x4a7b00(0x53a)][_0x4a7b00(0x43b)](_0x330a6c[_0x4a7b00(0x4fe)],this['unitID'],this[_0x4a7b00(0x565)],_0xd23234[0x0],_0x440be5,this[_0x4a7b00(0x24d)],void 0x0);else{if(this[_0x4a7b00(0x238)]&&_0x440be5['length']===0x0)_0xd23234[0x0][_0x4a7b00(0x4a0)]=this['_getCurrentRevision'](),_0x3620ac=this[_0x4a7b00(0x53a)]['createInstance'](_0x330a6c[_0x4a7b00(0x30b)],this['unitID'],this['type'],_0xd23234[0x0],this['_handler']);else{if(_0x440be5[_0x4a7b00(0x24a)]!==0x0){const _0x3f624d=this['_injector'][_0x4a7b00(0x43b)](_0x330a6c['PendingState'],this[_0x4a7b00(0x3be)],this[_0x4a7b00(0x565)],_0x440be5,this['_handler']);_0x3f624d[_0x4a7b00(0x43e)](),_0x3620ac=_0x3f624d;}else _0x3620ac=this[_0x4a7b00(0x53a)]['createInstance'](_0x330a6c[_0x4a7b00(0x2d4)],this['unitID'],this[_0x4a7b00(0x565)],this[_0x4a7b00(0x24d)]);}}return _0x3620ac[_0x4a7b00(0x2cb)](),_0x3620ac;}catch(_0xf22356){return this[_0x4a7b00(0x20b)]['error']('[FetchMissState]',_0x4a7b00(0x46c),_0xf22356),this[_0x4a7b00(0x53a)][_0x4a7b00(0x43b)](_0x330a6c['ConflictState'],this[_0x4a7b00(0x3be)],this[_0x4a7b00(0x565)],this[_0x4a7b00(0x238)],this['_pendingMutations'],this[_0x4a7b00(0x24d)],!0x1);}}[_0x3b85f3(0x3fc)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3b85f3(0x4ac)](_0x1bbc94){var _0x23ecf0=_0x3b85f3;return this[_0x23ecf0(0x50c)]['push'](_0x1bbc94),this;}[_0x3b85f3(0x2e9)](_0x22877f){var _0xe084df=_0x3b85f3;return this[_0xe084df(0x539)][_0xe084df(0x2cd)](_0x22877f),this;}[_0x3b85f3(0x212)](_0xf3e037){var _0x1ad954=_0x3b85f3;if(this[_0x1ad954(0x238)])return this['_acknowledgedAwaitingChangeset']=this[_0x1ad954(0x238)],this['_awaitingChangeset']=null,this;throw new Error(_0x1ad954(0x2dd));}[_0x3b85f3(0x2bb)](_0x5b6dd0){var _0x2ec39c=_0x3b85f3;return this[_0x2ec39c(0x3d1)](!!(_0x5b6dd0!=null&&_0x5b6dd0[_0x2ec39c(0x4fa)]));}[_0x3b85f3(0x32e)](){return this;}[_0x3b85f3(0x492)](){var _0x6f4b0=_0x3b85f3;return this['_injector'][_0x6f4b0(0x43b)](_0x330a6c['OfflineState'],this[_0x6f4b0(0x3be)],this[_0x6f4b0(0x565)],this[_0x6f4b0(0x238)],this[_0x6f4b0(0x50c)],this[_0x6f4b0(0x24d)]);}[_0x3b85f3(0x553)](){return this;}[_0x3b85f3(0x3d1)](_0x20b786){var _0x430113=_0x3b85f3;return this[_0x430113(0x53a)][_0x430113(0x43b)](_0x330a6c[_0x430113(0x304)],this[_0x430113(0x3be)],this[_0x430113(0x565)],this[_0x430113(0x238)],this[_0x430113(0x50c)],this[_0x430113(0x24d)],_0x20b786);}},_0x330a6c[_0x3b85f3(0x34b)]=_0x1d59cd([_0x2215d7(0x7,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x2215d7(0x8,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x2215d7(0x9,_0x29f72d[_0x3b85f3(0x316)]),_0x2215d7(0xa,_0x29f72d[_0x3b85f3(0x4f4)]),_0x2215d7(0xb,_0x29f72d[_0x3b85f3(0x2d2)]),_0x2215d7(0xc,_0x94e8ef[_0x3b85f3(0x34a)]),_0x2215d7(0xd,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x34b)]);function _0x3d585d(_0x37ef6f,_0x1b2ffa,_0x2f46a9,_0x93a0e4,_0x28d173,_0x46ef04){var _0x5a912=_0x3b85f3;return _0x93a0e4&&_0x28d173[_0x5a912(0x24a)]?_0x37ef6f[_0x5a912(0x43b)](_0x330a6c[_0x5a912(0x4fe)],_0x1b2ffa,_0x2f46a9,_0x93a0e4,_0x28d173,_0x46ef04,void 0x0):_0x93a0e4?_0x37ef6f[_0x5a912(0x43b)](_0x330a6c['AwaitingState'],_0x1b2ffa,_0x2f46a9,_0x93a0e4,_0x46ef04):_0x28d173[_0x5a912(0x24a)]?_0x37ef6f[_0x5a912(0x43b)](_0x330a6c[_0x5a912(0x50f)],_0x1b2ffa,_0x2f46a9,_0x28d173,_0x46ef04):_0x37ef6f['createInstance'](_0x330a6c[_0x5a912(0x2d4)],_0x1b2ffa,_0x2f46a9,_0x46ef04);}var _0x2a33da=Object[_0x3b85f3(0x2e1)],_0x223caa=(_0x1c71c6,_0x47a751,_0x546e9e,_0x2badd0)=>{var _0xf7bb02=_0x3b85f3;for(var _0x417182=_0x2badd0>0x1?void 0x0:_0x2badd0?_0x2a33da(_0x47a751,_0x546e9e):_0x47a751,_0x332958=_0x1c71c6[_0xf7bb02(0x24a)]-0x1,_0x3b7f83;_0x332958>=0x0;_0x332958--)(_0x3b7f83=_0x1c71c6[_0x332958])&&(_0x417182=_0x3b7f83(_0x417182)||_0x417182);return _0x417182;},_0x132858=(_0x188647,_0x478323)=>(_0x298e65,_0x434c1f)=>_0x478323(_0x298e65,_0x434c1f,_0x188647);_0x330a6c['CollaborationEntity']=class extends _0x29f72d['RxDisposable']{constructor(_0x38b0e6,_0x275b75,_0x2ac148,_0x544436,_0x473170,_0x466826,_0xb944b4,_0xe6b718,_0x280ef9,_0x549ea8,_0x136e32,_0x22bea9,_0x10f43a,_0x3abc24){var _0x1f9a53=_0x3b85f3;super(),_0x3dafef(this,_0x1f9a53(0x4e3),new _0x26770d[(_0x1f9a53(0x2cc))](null)),_0x3dafef(this,_0x1f9a53(0x29e),this[_0x1f9a53(0x4e3)]['asObservable']()),_0x3dafef(this,'_state'),_0x3dafef(this,'_collaborationPaused',!0x1),_0x3dafef(this,_0x1f9a53(0x49e),''),_0x3dafef(this,_0x1f9a53(0x409),0x0),_0x3dafef(this,_0x1f9a53(0x3e7),this[_0x1f9a53(0x29e)][_0x1f9a53(0x341)](_0x26770d[_0x1f9a53(0x55e)](_0x3d928d=>_0x3d928d?_0x3d928d[_0x1f9a53(0x47c)]:_0xcbbb88[_0x1f9a53(0x376)]),_0x26770d[_0x1f9a53(0x32a)](0x1))),_0x3dafef(this,_0x1f9a53(0x26a),!0x1),_0x3dafef(this,_0x1f9a53(0x546),[]),(this[_0x1f9a53(0x3be)]=_0x38b0e6,this['session']=_0x275b75,this[_0x1f9a53(0x30c)]=_0x2ac148,this[_0x1f9a53(0x53a)]=_0x544436,this[_0x1f9a53(0x23c)]=_0x473170,this[_0x1f9a53(0x407)]=_0x466826,this[_0x1f9a53(0x2ff)]=_0xb944b4,this[_0x1f9a53(0x3e1)]=_0xe6b718,this[_0x1f9a53(0x550)]=_0x280ef9,this[_0x1f9a53(0x20b)]=_0x549ea8,this[_0x1f9a53(0x440)]=_0x136e32,this['_permissionService']=_0x22bea9,this[_0x1f9a53(0x49d)]=_0x10f43a,this['_localCacheService']=_0x3abc24);}get[_0x3b85f3(0x4f5)](){var _0x13e723=_0x3b85f3;return this[_0x13e723(0x2b9)];}async[_0x3b85f3(0x4e1)](){var _0x49879e=_0x3b85f3;if(this[_0x49879e(0x4f5)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x49879e(0x527)]();}['pauseCollaboration'](){var _0x228c35=_0x3b85f3;return this[_0x228c35(0x51a)]=!0x0,_0x29f72d['toDisposable'](()=>{var _0x539274=_0x228c35;this[_0x539274(0x51a)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x27d008){this['_onLocalMutation'](_0x27d008);}[_0x3b85f3(0x53e)](_0x5dd1bd){var _0x4e82af=_0x3b85f3;this[_0x4e82af(0x2b9)]=_0x5dd1bd,this['_state$'][_0x4e82af(0x4c8)](_0x5dd1bd);}async[_0x3b85f3(0x527)](){var _0x4b5fa9=_0x3b85f3,_0x2cffd1;this[_0x4b5fa9(0x53e)](await this[_0x4b5fa9(0x336)]()),this[_0x4b5fa9(0x49d)]&&((_0x2cffd1=this['_singleActiveUnitService'])==null||_0x2cffd1['editingUnit'](this[_0x4b5fa9(0x3be)]),this[_0x4b5fa9(0x4de)](this[_0x4b5fa9(0x49d)][_0x4b5fa9(0x3c9)](this[_0x4b5fa9(0x3be)])['subscribe'](_0x6f1e54=>{var _0xb21b23=_0x4b5fa9;this['_logService']['debug'](_0xb21b23(0x31c),'editing\x20status\x20changed\x20to',_0x6f1e54),_0x6f1e54===_0x17f828[_0xb21b23(0x4fc)]?(this[_0xb21b23(0x3e1)][_0xb21b23(0x1d4)]({'id':_0x465567[_0xb21b23(0x456)]}),this[_0xb21b23(0x543)][_0xb21b23(0x44b)](new _0x504e3a[(_0xb21b23(0x251))](this[_0xb21b23(0x3be)])['id'],!0x1),this[_0xb21b23(0x543)][_0xb21b23(0x4f6)](!0x1)):(this[_0xb21b23(0x543)][_0xb21b23(0x44b)](new _0x504e3a[(_0xb21b23(0x251))](this[_0xb21b23(0x3be)])['id'],!0x0),this[_0xb21b23(0x543)][_0xb21b23(0x4f6)](!0x0));})));let _0x467c1e=!0x1;return this['disposeWithMe'](this[_0x4b5fa9(0x36b)]['sessionStatus$']['subscribe'](_0x1af437=>{var _0x5b15cb=_0x4b5fa9;_0x1af437===_0x5c4cf0[_0x5b15cb(0x425)]?this[_0x5b15cb(0x30a)](_0x467c1e):_0x1af437===_0x5c4cf0['OFFLINE']&&(_0x467c1e=!0x0,this[_0x5b15cb(0x319)]());})),this[_0x4b5fa9(0x4de)](this[_0x4b5fa9(0x36b)]['event$']['subscribe'](_0x11916f=>{var _0xcca1ef=_0x4b5fa9;try{switch(_0x11916f[_0xcca1ef(0x3df)]){case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x20e)]:{this[_0xcca1ef(0x2ca)](_0x94e8ef[_0xcca1ef(0x21b)](_0x11916f['data']));break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x3b3)]:{this['_onRemoteACK'](_0x11916f[_0xcca1ef(0x2c0)]);break;}case _0x94e8ef[_0xcca1ef(0x22b)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x370)]:{this[_0xcca1ef(0x415)](_0x11916f[_0xcca1ef(0x2c0)]);break;}case _0x94e8ef['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xcca1ef(0x442)](_0x11916f[_0xcca1ef(0x2c0)][_0xcca1ef(0x529)][_0xcca1ef(0x55e)](_0x3f0cd2=>_0x94e8ef['parseProtocolChangeset'](_0x3f0cd2)));break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x4db)]:{this[_0xcca1ef(0x541)]({'isPermissionRej':!0x0});break;}case _0x94e8ef[_0xcca1ef(0x22b)][_0xcca1ef(0x2fa)]:break;}}catch(_0x151e78){throw console[_0xcca1ef(0x313)](_0xcca1ef(0x47d),_0x151e78),_0x151e78;}})),this[_0x4b5fa9(0x2b9)];}[_0x3b85f3(0x285)](){var _0xae7f0a=_0x3b85f3;this[_0xae7f0a(0x26a)]=!0x1;}[_0x3b85f3(0x2a5)](){var _0x722273=_0x3b85f3;if(this[_0x722273(0x26a)])throw new Error(_0x722273(0x1f2));this[_0x722273(0x26a)]=!0x0;}[_0x3b85f3(0x37a)](_0x35a9da){var _0x25fd47=_0x3b85f3;this[_0x25fd47(0x2a5)](),this[_0x25fd47(0x53e)](this[_0x25fd47(0x2b9)][_0x25fd47(0x4ac)](_0x35a9da)),this['_unlockTransition']();}[_0x3b85f3(0x2ca)](_0x1e29a7){var _0x30ecd3=_0x3b85f3;if(!(_0x1e29a7[_0x30ecd3(0x2c2)]<=this[_0x30ecd3(0x2ff)][_0x30ecd3(0x1ec)](this['unitID']))){if(this[_0x30ecd3(0x51a)]){this[_0x30ecd3(0x546)]['push'](_0x1e29a7);return;}this[_0x30ecd3(0x287)](_0x1e29a7);}}['_exhaustRemoteChangesetQueue'](){var _0x5273e7=_0x3b85f3;this['_remoteChangesetQueue']['forEach'](_0x4c4712=>this[_0x5273e7(0x287)](_0x4c4712)),this[_0x5273e7(0x546)]=[];}['_applyRemoteChangeset'](_0xc2f658){var _0x250a8d=_0x3b85f3;const _0x533db9=this[_0x250a8d(0x23c)]['interceptor'][_0x250a8d(0x453)](this[_0x250a8d(0x23c)][_0x250a8d(0x3e2)][_0x250a8d(0x33e)]()[_0x250a8d(0x3a9)])(_0xc2f658[_0x250a8d(0x358)],null)||_0xc2f658[_0x250a8d(0x358)],_0x1219b0={..._0xc2f658,'mutations':_0x533db9};this[_0x250a8d(0x2a5)](),this[_0x250a8d(0x53e)](this[_0x250a8d(0x2b9)][_0x250a8d(0x2e9)](_0x1219b0)),this[_0x250a8d(0x285)]();}[_0x3b85f3(0x369)](_0x114036){var _0x242a12=_0x3b85f3;this[_0x242a12(0x2a5)](),this['_updateState'](this[_0x242a12(0x2b9)][_0x242a12(0x212)](_0x114036)),this[_0x242a12(0x285)]();}[_0x3b85f3(0x541)](_0x2af852){var _0x934d3a=_0x3b85f3;this[_0x934d3a(0x2a5)](),this[_0x934d3a(0x53e)](this[_0x934d3a(0x2b9)]['onRemoteRej'](_0x2af852)),this[_0x934d3a(0x285)]();}[_0x3b85f3(0x415)](_0x56e151){var _0x2af5fd=_0x3b85f3;this[_0x2af5fd(0x2a5)](),this[_0x2af5fd(0x53e)](this[_0x2af5fd(0x2b9)]['onRemoteRetry'](_0x56e151)),this[_0x2af5fd(0x285)]();}[_0x3b85f3(0x442)](_0x3fef98){var _0x313143=_0x3b85f3;if(!(this[_0x313143(0x2b9)]instanceof _0x330a6c[_0x313143(0x34b)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3912d3=_0x3fef98[_0x313143(0x55e)](_0x53c67c=>{var _0x2fe73a=_0x313143;const _0x1253a7=this[_0x2fe73a(0x23c)][_0x2fe73a(0x3e2)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2fe73a(0x3e2)][_0x2fe73a(0x33e)]()[_0x2fe73a(0x3a9)])(_0x53c67c[_0x2fe73a(0x358)],null)||_0x53c67c[_0x2fe73a(0x358)];return{..._0x53c67c,'mutations':_0x1253a7};});this[_0x313143(0x2a5)](),this[_0x313143(0x53e)](this[_0x313143(0x2b9)][_0x313143(0x534)](_0x3912d3)),this[_0x313143(0x285)]();}[_0x3b85f3(0x319)](){var _0x295277=_0x3b85f3;this[_0x295277(0x2a5)](),this[_0x295277(0x53e)](this[_0x295277(0x2b9)][_0x295277(0x492)]()),this[_0x295277(0x285)]();}['_toggleOnline'](_0x502259=!0x1){var _0x4aa75f=_0x3b85f3;this[_0x4aa75f(0x2a5)](),this[_0x4aa75f(0x53e)](this[_0x4aa75f(0x2b9)][_0x4aa75f(0x553)]()),this[_0x4aa75f(0x285)]();const _0x10bc99=this[_0x4aa75f(0x2b9)];_0x502259&&_0x10bc99 instanceof _0x330a6c[_0x4aa75f(0x2d4)]&&(this[_0x4aa75f(0x2a5)](),this[_0x4aa75f(0x53e)](_0x10bc99[_0x4aa75f(0x348)]()),this[_0x4aa75f(0x285)]());}async['_createInitialState'](){return new Promise(_0x15036b=>{var _0x3dd5c9=_0x222a;this[_0x3dd5c9(0x36b)][_0x3dd5c9(0x301)][_0x3dd5c9(0x341)](_0x26770d[_0x3dd5c9(0x354)](0x1))['subscribe'](async _0x3589d2=>{var _0x244479=_0x3dd5c9;_0x15036b(await this[_0x244479(0x4d2)](_0x3589d2===_0x5c4cf0[_0x244479(0x425)]));});});}[_0x3b85f3(0x390)](){var _0x294869=_0x3b85f3;const _0x13f361=this[_0x294869(0x3be)];return{'onStateChange':(_0x2bea61,_0x331e5c)=>{var _0x3e092a=_0x294869;if(_0x2bea61!==this[_0x3e092a(0x2b9)])throw new Error(_0x3e092a(0x48f)+_0x2bea61[_0x3e092a(0x47c)]+_0x3e092a(0x2db)+_0x331e5c[_0x3e092a(0x47c)]+_0x3e092a(0x55b)+this[_0x3e092a(0x2b9)][_0x3e092a(0x47c)]);this[_0x3e092a(0x53e)](_0x331e5c);},'onSendChangeset':_0xb98d10=>{var _0x16838c=_0x294869;_0xb98d10['sid']||(_0xb98d10[_0x16838c(0x2e7)]=this[_0x16838c(0x49e)],_0xb98d10['reqId']=++this[_0x16838c(0x409)]);const _0x3eeabf={'eventID':_0x94e8ef[_0x16838c(0x22b)][_0x16838c(0x544)],'data':{'unitID':_0xb98d10['unitID'],'unitType':this[_0x16838c(0x30c)],'changeset':_0xb98d10,'memberID':this[_0x16838c(0x36b)]['getMemberID']()}};this[_0x16838c(0x36b)][_0x16838c(0x485)](_0x3eeabf,this['unitID']);},'onMissingChangesets':({from:_0x37aa4a,to:_0x9785ce})=>{var _0x497c43=_0x294869;this[_0x497c43(0x20b)][_0x497c43(0x53f)](_0x497c43(0x31c),_0x497c43(0x261)+_0x37aa4a+_0x497c43(0x2e6)+_0x9785ce);const _0x276525={'eventID':_0x94e8ef[_0x497c43(0x22b)][_0x497c43(0x3a7)],'data':{'unitID':_0x13f361,'unitType':this[_0x497c43(0x30c)],'from':_0x37aa4a,'to':_0x9785ce}};this[_0x497c43(0x36b)]['send'](_0x276525,this[_0x497c43(0x3be)]);}};}async[_0x3b85f3(0x4d2)](_0x104fc3){var _0x5c350f=_0x3b85f3,_0x176f50,_0x6c92ee,_0x621af0;const _0x18a83f=await((_0x176f50=this[_0x5c350f(0x38e)])==null?void 0x0:_0x176f50['loadOfflineData'](this[_0x5c350f(0x3be)])),_0x2a9c5c=(_0x6c92ee=_0x18a83f==null?void 0x0:_0x18a83f[_0x5c350f(0x358)])!=null?_0x6c92ee:[],_0x1f6957=(_0x621af0=_0x18a83f==null?void 0x0:_0x18a83f['awaitingChangeset'])!=null?_0x621af0:null,_0x3334e4=!!(_0x1f6957!=null&&_0x1f6957[_0x5c350f(0x2e7)])&&!!(_0x1f6957!=null&&_0x1f6957[_0x5c350f(0x3ab)]);this[_0x5c350f(0x49e)]=_0x3334e4?_0x1f6957[_0x5c350f(0x2e7)]:_0x94e8ef[_0x5c350f(0x457)](),this['_changesetReqId']=_0x3334e4?_0x1f6957[_0x5c350f(0x3ab)]:0x0;const _0x39f2c2=this['unitID'];try{this['_replayCachedMutations'](_0x1f6957,_0x2a9c5c);}catch(_0x3c18ae){this[_0x5c350f(0x20b)]['error'](_0x3c18ae);}const _0x537b3b=this[_0x5c350f(0x390)]();if(_0x104fc3){const _0xf5d43b=_0x3d585d(this[_0x5c350f(0x53a)],_0x39f2c2,this[_0x5c350f(0x30c)],_0x1f6957,_0x2a9c5c,_0x537b3b);return _0xf5d43b instanceof _0x330a6c[_0x5c350f(0x50f)]?_0xf5d43b[_0x5c350f(0x43e)]():(_0xf5d43b instanceof _0x330a6c[_0x5c350f(0x4fe)]||_0xf5d43b instanceof _0x330a6c[_0x5c350f(0x30b)])&&_0xf5d43b[_0x5c350f(0x3fc)](),_0xf5d43b;}return this[_0x5c350f(0x53a)][_0x5c350f(0x43b)](_0x330a6c[_0x5c350f(0x557)],_0x39f2c2,this[_0x5c350f(0x30c)],_0x1f6957,_0x2a9c5c,_0x537b3b);}[_0x3b85f3(0x38b)](_0x554c47,_0x47096d){var _0x232cae=_0x3b85f3,_0x1c4ed4,_0x4a0473;const _0x379ed9=this[_0x232cae(0x23c)][_0x232cae(0x3e2)][_0x232cae(0x453)](this['_compressMutationService']['interceptor'][_0x232cae(0x33e)]()[_0x232cae(0x3a9)]);(_0x1c4ed4=_0x379ed9((_0x554c47==null?void 0x0:_0x554c47['mutations'])||[],null))==null||_0x1c4ed4[_0x232cae(0x3ae)](_0x3ebac1=>this[_0x232cae(0x440)]['executeCommand'](_0x3ebac1['id'],_0x3ebac1[_0x232cae(0x45a)])),(_0x4a0473=_0x379ed9(_0x47096d||[],null))==null||_0x4a0473['forEach'](_0x16a668=>this['_commandService']['executeCommand'](_0x16a668['id'],_0x16a668['params']));}},_0x330a6c[_0x3b85f3(0x295)]=_0x223caa([_0x132858(0x3,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d['Injector'])),_0x132858(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x50b)])),_0x132858(0x5,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x487)])),_0x132858(0x6,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x413)])),_0x132858(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x132858(0x8,_0x29f72d['IUniverInstanceService']),_0x132858(0x9,_0x29f72d['ILogService']),_0x132858(0xa,_0x29f72d['ICommandService']),_0x132858(0xb,_0x29f72d['IPermissionService']),_0x132858(0xc,_0x29f72d[_0x3b85f3(0x307)](_0x17abdd)),_0x132858(0xd,_0x29f72d['Optional'](_0x54c85))],_0x330a6c[_0x3b85f3(0x295)]),_0x330a6c[_0x3b85f3(0x242)]=class extends _0x330a6c[_0x3b85f3(0x295)]{constructor(_0x275f4f,_0x36f825,_0x2cf822,_0x2c0ace,_0x47bdbe,_0x199c59,_0x572aa7,_0x1c5ed0,_0x2a809a,_0x59360c,_0x245516,_0xef0d12,_0x2ef881,_0x45ceca){var _0x301367=_0x3b85f3;super(_0x275f4f,_0x2cf822,_0x36f825,_0x2c0ace,_0x47bdbe,_0x199c59,_0x572aa7,_0x1c5ed0,_0x2a809a,_0x59360c,_0x245516,_0xef0d12,_0x2ef881,_0x45ceca),_0x3dafef(this,_0x301367(0x35b),null),(this[_0x301367(0x3be)]=_0x275f4f,this['type']=_0x36f825);}[_0x3b85f3(0x2dc)](_0x54c348){this['_handlerCallback']=_0x54c348;}[_0x3b85f3(0x44d)](){var _0x237aa1=_0x3b85f3;this[_0x237aa1(0x35b)]=null,super[_0x237aa1(0x44d)]();}[_0x3b85f3(0x390)](){var _0x223e31=_0x3b85f3;const _0x4efb3a=super[_0x223e31(0x390)]();return _0x4efb3a[_0x223e31(0x53d)]=_0x199341=>{var _0x43deb1=_0x223e31,_0x4249c5,_0x4ddd37;return(_0x4ddd37=(_0x4249c5=this[_0x43deb1(0x35b)])==null?void 0x0:_0x4249c5[_0x43deb1(0x53d)])==null?void 0x0:_0x4ddd37[_0x43deb1(0x4c4)](_0x4249c5,_0x199341);},_0x4efb3a[_0x223e31(0x27e)]=_0x4feda9=>{var _0x465966=_0x223e31,_0x2570a9,_0x5e7c8d;return(_0x5e7c8d=(_0x2570a9=this['_handlerCallback'])==null?void 0x0:_0x2570a9[_0x465966(0x27e)])==null?void 0x0:_0x5e7c8d[_0x465966(0x4c4)](_0x2570a9,_0x4feda9);},_0x4efb3a[_0x223e31(0x2a0)]=_0x994429=>{var _0x2e8cd4,_0x4cd8bb;return(_0x4cd8bb=(_0x2e8cd4=this['_handlerCallback'])==null?void 0x0:_0x2e8cd4['onTransformSelections'])==null?void 0x0:_0x4cd8bb['call'](_0x2e8cd4,_0x994429);},_0x4efb3a[_0x223e31(0x2b7)]=_0x1228fb=>{var _0x328c57=_0x223e31,_0x2d1eea,_0x28b2fc;return(_0x28b2fc=(_0x2d1eea=this[_0x328c57(0x35b)])==null?void 0x0:_0x2d1eea['onSyncEditingCollabCursor'])==null?void 0x0:_0x28b2fc[_0x328c57(0x4c4)](_0x2d1eea,_0x1228fb);},_0x4efb3a['onTransformRemoteChangesetByIMECache']=_0x3286f3=>{var _0x26b655=_0x223e31,_0x5be22c,_0x55c741,_0x270a45;if(!((_0x5be22c=this['_handlerCallback'])!=null&&_0x5be22c[_0x26b655(0x250)]))throw new Error(_0x26b655(0x438));return(_0x270a45=(_0x55c741=this[_0x26b655(0x35b)])==null?void 0x0:_0x55c741['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x270a45[_0x26b655(0x4c4)](_0x55c741,_0x3286f3);},_0x4efb3a[_0x223e31(0x567)]=_0x34652c=>{var _0x5415a8=_0x223e31,_0x39100e,_0xc0d7af,_0x245d7a;if(!((_0x39100e=this[_0x5415a8(0x35b)])!=null&&_0x39100e[_0x5415a8(0x567)]))throw new Error(_0x5415a8(0x371));return(_0x245d7a=(_0xc0d7af=this['_handlerCallback'])==null?void 0x0:_0xc0d7af[_0x5415a8(0x567)])==null?void 0x0:_0x245d7a[_0x5415a8(0x4c4)](_0xc0d7af,_0x34652c);},_0x4efb3a;}async[_0x3b85f3(0x527)](){var _0x4260e3=_0x3b85f3;const _0x12d0d0=await super[_0x4260e3(0x527)]();return this[_0x4260e3(0x4de)](this['_commandService'][_0x4260e3(0x555)]((_0x2a5f12,_0x5201f7)=>{var _0x29e7a9=_0x4260e3;if(_0x2a5f12['type']!==_0x29f72d[_0x29e7a9(0x46b)]['MUTATION']||_0x5201f7!=null&&_0x5201f7['fromCollab']||_0x5201f7!=null&&_0x5201f7['onlyLocal']||_0x2a5f12['id']===_0x1633c3[_0x29e7a9(0x3e4)]['id'])return;const _0x1547e9=_0x2a5f12['params'];if((_0x1547e9==null?void 0x0:_0x1547e9['unitId'])!==this['unitID'])return;const _0x3eec0c=_0x2a5f12,_0x40c5bf=this[_0x29e7a9(0x23c)]['interceptor'][_0x29e7a9(0x453)](this[_0x29e7a9(0x23c)]['interceptor'][_0x29e7a9(0x33e)]()[_0x29e7a9(0x33b)])([_0x3eec0c],this[_0x29e7a9(0x550)])||[_0x3eec0c];this[_0x29e7a9(0x37a)](_0x40c5bf[0x0]);})),_0x12d0d0;}},_0x330a6c[_0x3b85f3(0x242)]=_0x223caa([_0x132858(0x3,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x132858(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x50b)])),_0x132858(0x5,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x487)])),_0x132858(0x6,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x132858(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x132858(0x8,_0x29f72d[_0x3b85f3(0x558)]),_0x132858(0x9,_0x29f72d[_0x3b85f3(0x316)]),_0x132858(0xa,_0x29f72d[_0x3b85f3(0x4f4)]),_0x132858(0xb,_0x29f72d[_0x3b85f3(0x4cc)]),_0x132858(0xc,_0x29f72d['Optional'](_0x17abdd)),_0x132858(0xd,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x242)]),_0x330a6c[_0x3b85f3(0x24e)]=class extends _0x330a6c[_0x3b85f3(0x295)]{constructor(_0x3ad690,_0x1fff01,_0x1de21e,_0x519e4d,_0x1aa317,_0x19f14b,_0x575ff7,_0x106f71,_0x2b1b81,_0x3fd52a,_0x17f86c,_0xef72a6,_0x534683,_0x287a14,_0x4d813b){var _0x1f311e=_0x3b85f3;super(_0x3ad690,_0x1de21e,_0x1fff01,_0x519e4d,_0x1aa317,_0x19f14b,_0x575ff7,_0x2b1b81,_0x3fd52a,_0x17f86c,_0xef72a6,_0x534683,_0x287a14,_0x4d813b),this[_0x1f311e(0x3be)]=_0x3ad690,this[_0x1f311e(0x565)]=_0x1fff01,this[_0x1f311e(0x246)]=_0x106f71;}[_0x3b85f3(0x390)](){var _0x2795a3=_0x3b85f3;const _0x3a276c=super[_0x2795a3(0x390)]();return _0x3a276c[_0x2795a3(0x2a0)]=_0x26f72d=>this[_0x2795a3(0x246)][_0x2795a3(0x2fd)](_0x26f72d),_0x3a276c;}async[_0x3b85f3(0x527)](){var _0x9d10b5=_0x3b85f3;const _0x4d7634=await super[_0x9d10b5(0x527)]();return this['disposeWithMe'](this['_commandService']['onMutationExecutedForCollab']((_0x954333,_0x289888)=>{var _0x2ea9fa=_0x9d10b5;if(_0x954333['type']!==_0x29f72d[_0x2ea9fa(0x46b)][_0x2ea9fa(0x4b4)]||_0x289888!=null&&_0x289888['fromCollab']||_0x289888!=null&&_0x289888[_0x2ea9fa(0x305)])return;const _0x5a2282=_0x954333[_0x2ea9fa(0x45a)];if((_0x5a2282==null?void 0x0:_0x5a2282[_0x2ea9fa(0x2fe)])!==this[_0x2ea9fa(0x3be)])return;const _0x5d2463=_0x954333,_0x156490=this[_0x2ea9fa(0x23c)]['interceptor'][_0x2ea9fa(0x453)](this[_0x2ea9fa(0x23c)]['interceptor'][_0x2ea9fa(0x33e)]()['COMPRESS_MUTATION_SEND'])([_0x5d2463],this[_0x2ea9fa(0x550)])||[_0x5d2463];this[_0x2ea9fa(0x37a)](_0x156490[0x0]);})),_0x4d7634;}},_0x330a6c[_0x3b85f3(0x24e)]=_0x223caa([_0x132858(0x3,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x132858(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x50b)])),_0x132858(0x5,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x487)])),_0x132858(0x6,_0x29f72d['Inject'](_0x94e8ef[_0x3b85f3(0x413)])),_0x132858(0x7,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c[_0x3b85f3(0x4e9)])),_0x132858(0x8,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x132858(0x9,_0x29f72d[_0x3b85f3(0x558)]),_0x132858(0xa,_0x29f72d[_0x3b85f3(0x316)]),_0x132858(0xb,_0x29f72d['ICommandService']),_0x132858(0xc,_0x29f72d[_0x3b85f3(0x4cc)]),_0x132858(0xd,_0x29f72d['Optional'](_0x17abdd)),_0x132858(0xe,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c['SheetCollaborationEntity']);const _0x3f33c3=_0x29f72d['createIdentifier'](_0x3b85f3(0x458));function _0xf5b918(_0x43f3bf){var _0x21f9b3=_0x3b85f3,_0xa9bd09,_0x322472,_0x52f2f4,_0xd4b49a,_0x367037;const _0x172b0a=_0x43f3bf[_0x21f9b3(0x2c0)],_0x4ee94e=JSON[_0x21f9b3(0x2a8)](_0x172b0a);switch(_0x4ee94e[_0x21f9b3(0x21c)]){case _0x8150f7[_0x21f9b3(0x398)]:case _0x8150f7[_0x21f9b3(0x549)]:{const _0x68ec78=_0x4ee94e['infoRsp'];return{..._0x4ee94e,'data':_0x68ec78,'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};}case _0x8150f7[_0x21f9b3(0x225)]:{const _0x236ad2=_0x4ee94e[_0x21f9b3(0x366)];return{..._0x4ee94e,'data':_0x236ad2,'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};}case _0x8150f7[_0x21f9b3(0x535)]:{const _0x333654=_0x4ee94e[_0x21f9b3(0x380)];switch(_0x333654[_0x21f9b3(0x3df)]){case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x4db)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0xa9bd09=_0x333654['permissionRejEvent'])==null?void 0x0:_0xa9bd09['cs']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x3b3)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0x322472=_0x333654[_0x21f9b3(0x51b)])==null?void 0x0:_0x322472['cs']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)]['NEW_CHANGESETS']:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0x52f2f4=_0x333654[_0x21f9b3(0x484)])==null?void 0x0:_0x52f2f4['cs']},'cmd':_0x4ee94e['cmd']};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x446)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0xd4b49a=_0x333654[_0x21f9b3(0x518)])==null?void 0x0:_0xd4b49a['cs']},'cmd':_0x4ee94e['cmd']};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x370)]:return{..._0x4ee94e,'data':{..._0x333654,'data':(_0x367037=_0x333654['csShouldRetryEvent'])==null?void 0x0:_0x367037['cs']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x472)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x452)]},'cmd':_0x4ee94e['cmd']};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x414)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x55d)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x421)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x23a)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)]['LIVESHARE_NEW_HOST']:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654['liveShareNewHost']},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x303)]:case _0x94e8ef['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x2b6)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x4c9)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x441)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef['CollaborationEvent'][_0x21f9b3(0x1fd)]:return{..._0x4ee94e,'data':_0x333654,'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x35c)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x3f4)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x2bc)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x46e)]},'cmd':_0x4ee94e[_0x21f9b3(0x21c)]};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x231)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x2d1)]},'cmd':_0x4ee94e['cmd']};case _0x94e8ef[_0x21f9b3(0x22b)][_0x21f9b3(0x2fa)]:return{..._0x4ee94e,'data':{..._0x333654,'data':_0x333654[_0x21f9b3(0x48e)]},'cmd':_0x4ee94e['cmd']};default:return _0x4ee94e;}}default:return _0x4ee94e;}}function _0xd85f3a(_0x12ddaf){var _0x427e91=_0x3b85f3;switch(_0x12ddaf['cmd']){case _0x8150f7[_0x427e91(0x398)]:case _0x8150f7['HELLO']:return JSON[_0x427e91(0x3ff)]({'cmd':_0x12ddaf[_0x427e91(0x21c)],'routeKey':_0x12ddaf[_0x427e91(0x4fd)]});case _0x8150f7[_0x427e91(0x45f)]:{let _0x580a36;switch(_0x12ddaf[_0x427e91(0x2c0)][_0x427e91(0x3df)]){case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x472)]:{_0x580a36={'eventID':_0x94e8ef['CollaborationEvent'][_0x427e91(0x472)],'updateCursorEvent':_0x12ddaf[_0x427e91(0x2c0)][_0x427e91(0x2c0)]};break;}case _0x94e8ef[_0x427e91(0x22b)]['USERS_LEAVE']:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x421)],'leaveEvent':_0x12ddaf[_0x427e91(0x2c0)][_0x427e91(0x2c0)]};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x414)]:{_0x580a36={'eventID':_0x94e8ef['CollaborationEvent'][_0x427e91(0x414)],'joinEvent':_0x12ddaf['data'][_0x427e91(0x2c0)]};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x302)]:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x302)],'liveShareNewHost':_0x12ddaf[_0x427e91(0x2c0)]['data']};break;}case _0x94e8ef[_0x427e91(0x22b)]['LIVESHARE_OPERATION']:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x3f8)],'liveShareOperation':_0x12ddaf['data']['data']};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x4c9)]:{_0x580a36={'eventID':_0x94e8ef['CollaborationEvent'][_0x427e91(0x4c9)],'liveShareTerminate':_0x12ddaf[_0x427e91(0x2c0)]['data']};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x32b)]:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x32b)],'liveShareRequestHost':_0x12ddaf[_0x427e91(0x2c0)]['data']};break;}case _0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x303)]:{_0x580a36={'eventID':_0x94e8ef[_0x427e91(0x22b)][_0x427e91(0x303)]};break;}default:_0x580a36={'eventID':_0x12ddaf[_0x427e91(0x2c0)]['eventID']};}return JSON['stringify']({'cmd':_0x12ddaf[_0x427e91(0x21c)],'routeKey':_0x12ddaf[_0x427e91(0x4fd)],'collaMsg':_0x580a36});}case _0x8150f7[_0x427e91(0x225)]:return JSON[_0x427e91(0x3ff)]({'cmd':_0x12ddaf[_0x427e91(0x21c)],'routeKey':_0x12ddaf[_0x427e91(0x4fd)],'joinReq':_0x12ddaf[_0x427e91(0x2c0)]});case _0x8150f7['LEAVE']:return JSON[_0x427e91(0x3ff)]({'cmd':_0x12ddaf['cmd'],'routeKey':_0x12ddaf[_0x427e91(0x4fd)],'leaveReq':_0x12ddaf[_0x427e91(0x2c0)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4f1e6d=Object[_0x3b85f3(0x2e1)],_0x33fc5e=(_0x3a842d,_0x2e75c0,_0x5b5a21,_0xe18a0c)=>{var _0x4b679c=_0x3b85f3;for(var _0x1f6d24=_0xe18a0c>0x1?void 0x0:_0xe18a0c?_0x4f1e6d(_0x2e75c0,_0x5b5a21):_0x2e75c0,_0x10bb8f=_0x3a842d[_0x4b679c(0x24a)]-0x1,_0x19e634;_0x10bb8f>=0x0;_0x10bb8f--)(_0x19e634=_0x3a842d[_0x10bb8f])&&(_0x1f6d24=_0x19e634(_0x1f6d24)||_0x1f6d24);return _0x1f6d24;},_0x5f4063=(_0x1d6069,_0x4c6f14)=>(_0x295fdc,_0x42f910)=>_0x4c6f14(_0x295fdc,_0x42f910,_0x1d6069);const _0x2d9dbe=_0x29f72d[_0x3b85f3(0x3cf)]('univer-pro.collaboration-client-socket-service');function _0x19ffaf(_0x393332,_0x3b5365,_0x2c2a8e){var _0x3411e4=_0x3b85f3;return _0x393332+'/'+_0x3b5365+_0x3411e4(0x526)+_0x2c2a8e+_0x3411e4(0x1e8);}_0x330a6c[_0x3b85f3(0x3c3)]=class extends _0x29f72d['Disposable']{constructor(_0x2c9418,_0x1ba947,_0x242012,_0x325e30,_0x5a37e4){var _0xce47a3=_0x3b85f3;super(),this['_injector']=_0x2c9418,this[_0xce47a3(0x2c1)]=_0x1ba947,this['_configService']=_0x242012,this[_0xce47a3(0x20b)]=_0x325e30,this[_0xce47a3(0x45e)]=_0x5a37e4;}[_0x3b85f3(0x36f)](_0x22c7f5){var _0x25254c=_0x3b85f3;const _0xe18d08=this[_0x25254c(0x53a)][_0x25254c(0x1f8)](_0x59551f[_0x25254c(0x3ed)]);if(!_0xe18d08)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xe6e398=_0xe18d08[_0x25254c(0x4e2)](_0x22c7f5);if(!_0xe6e398)throw new Error(_0x25254c(0x228));const _0x26375=new _0x29f72d[(_0x25254c(0x3d9))](),_0x18bcc1=new _0x26770d[(_0x25254c(0x37c))]();_0x26375[_0x25254c(0x406)](_0xe6e398[_0x25254c(0x524)][_0x25254c(0x255)](_0x27ab30=>_0x18bcc1[_0x25254c(0x4c8)](_0x27ab30))),_0x26375['add'](_0x29f72d[_0x25254c(0x514)](()=>_0x18bcc1['complete']()));const _0x58d10e=new _0x26770d[(_0x25254c(0x37c))]();_0x26375[_0x25254c(0x406)](_0xe6e398[_0x25254c(0x48b)][_0x25254c(0x255)](_0x355ddc=>_0x58d10e[_0x25254c(0x4c8)](_0x355ddc))),_0x26375[_0x25254c(0x406)](_0x29f72d['toDisposable'](()=>_0x58d10e[_0x25254c(0x4ee)]()));const _0x11d176=new _0x26770d['Subject']();_0x26375[_0x25254c(0x406)](_0xe6e398['message$']['subscribe'](_0x2714f6=>{const _0x163e8f=_0xf5b918(_0x2714f6);_0x11d176['next'](_0x163e8f);})),_0x26375[_0x25254c(0x406)](_0x29f72d[_0x25254c(0x514)](()=>_0x11d176[_0x25254c(0x4ee)]()));let _0x501fb7;const _0x4a4eb8=()=>{var _0x42274a=_0x25254c;_0x58d10e[_0x42274a(0x4c8)](new Event('connection\x20error')),_0x18bcc1['next'](new Event('connection\x20error')),_0x501fb7['close']();};return _0x501fb7={'memberID':'','close$':_0x18bcc1['asObservable'](),'error$':_0x58d10e[_0x25254c(0x1fb)](),'open$':_0xe6e398[_0x25254c(0x4ce)],'message$':_0x11d176['asObservable'](),'send':_0x1480b4=>{var _0x599290=_0x25254c;if(_0x1480b4[_0x599290(0x21c)]===_0x8150f7['INGEST']){if(_0x1480b4[_0x599290(0x2c0)][_0x599290(0x3df)]===_0x94e8ef[_0x599290(0x22b)][_0x599290(0x544)]){this[_0x599290(0x1e2)](_0x501fb7,_0x1480b4[_0x599290(0x2c0)])[_0x599290(0x519)](_0x21ec31=>{var _0x395b41=_0x599290;this[_0x395b41(0x20b)][_0x395b41(0x313)](_0x21ec31),_0x4a4eb8();});return;}if(_0x1480b4[_0x599290(0x2c0)]['eventID']===_0x94e8ef[_0x599290(0x22b)][_0x599290(0x3a7)]){const _0x10f2ee=_0x1480b4[_0x599290(0x2c0)];this[_0x599290(0x3d4)](_0x10f2ee)[_0x599290(0x218)](_0x144f89=>{var _0xd5718c=_0x599290;_0x11d176[_0xd5718c(0x4c8)]({'cmd':_0x8150f7['RECV'],'code':_0xb4b847['OK'],'routeKey':_0x10f2ee['data'][_0xd5718c(0x3be)],'routeType':'','data':{'eventID':_0x94e8ef['CollaborationEvent'][_0xd5718c(0x4a5)],'data':{'changesets':_0x144f89}}});})[_0x599290(0x519)](_0x182486=>{var _0x42bb0f=_0x599290;this[_0x42bb0f(0x20b)][_0x42bb0f(0x313)](_0x182486),_0x4a4eb8();});return;}}_0xe6e398['send'](_0xd85f3a(_0x1480b4));},'close':()=>{var _0xce730=_0x25254c;_0xe6e398[_0xce730(0x268)](),_0x26375[_0xce730(0x44d)]();}},_0x501fb7;}async['_submitChangeset'](_0x55c236,_0x1131d0){var _0x36345a=_0x3b85f3,_0x2d98e0;const {unitType:_0x198a71,unitID:_0x5764da,changeset:_0x3cfa51}=_0x1131d0['data'],_0x5a6d71={'unitID':_0x5764da,'memberID':_0x55c236[_0x36345a(0x297)],'type':_0x198a71,'changeset':_0x94e8ef[_0x36345a(0x207)](_0x3cfa51)},_0x4520ae=this[_0x36345a(0x265)][_0x36345a(0x4d4)](_0x54fbde),_0x206f4b=_0x19ffaf((_0x2d98e0=_0x4520ae==null?void 0x0:_0x4520ae[_0x36345a(0x1c6)])!=null?_0x2d98e0:_0x21462f,_0x198a71,_0x5764da);try{await this[_0x36345a(0x2c1)][_0x36345a(0x1fe)](_0x206f4b,{'body':_0x5a6d71});}catch(_0x478e13){throw this['_logService']['error'](_0x36345a(0x495),'submit\x20changeset\x20error!'),_0x478e13;}}async[_0x3b85f3(0x3d4)](_0x12b158){var _0x35fd21=_0x3b85f3;const {unitID:_0x581810,from:_0x429f3d,to:_0x5cdaa5,unitType:_0x4cfd36}=_0x12b158[_0x35fd21(0x2c0)];return(await this[_0x35fd21(0x45e)][_0x35fd21(0x49f)]({'metadata':void 0x0},{'unitID':_0x581810,'type':_0x4cfd36,'from':_0x429f3d,'to':_0x5cdaa5}))['changesets'][_0x35fd21(0x55e)](_0x7aaafa=>((_0x7aaafa[_0x35fd21(0x358)]===null||_0x7aaafa['mutations']===void 0x0)&&(_0x7aaafa[_0x35fd21(0x358)]=[]),_0x7aaafa));}},_0x330a6c['CollaborationSocketService']=_0x33fc5e([_0x5f4063(0x0,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x5f4063(0x1,_0x29f72d['Inject'](_0x59551f[_0x3b85f3(0x2bf)])),_0x5f4063(0x2,_0x29f72d[_0x3b85f3(0x44a)]),_0x5f4063(0x3,_0x29f72d[_0x3b85f3(0x316)]),_0x5f4063(0x4,_0x94e8ef[_0x3b85f3(0x54f)])],_0x330a6c['CollaborationSocketService']);var _0x436279=Object[_0x3b85f3(0x2e1)],_0x15191a=(_0x3f557d,_0x2765f4,_0x2a0493,_0x2c77ad)=>{var _0x2b223a=_0x3b85f3;for(var _0x48aa3c=_0x2c77ad>0x1?void 0x0:_0x2c77ad?_0x436279(_0x2765f4,_0x2a0493):_0x2765f4,_0x5e09ea=_0x3f557d[_0x2b223a(0x24a)]-0x1,_0x5f23b0;_0x5e09ea>=0x0;_0x5e09ea--)(_0x5f23b0=_0x3f557d[_0x5e09ea])&&(_0x48aa3c=_0x5f23b0(_0x48aa3c)||_0x48aa3c);return _0x48aa3c;},_0x1c2159=(_0x4697d4,_0x147d7b)=>(_0x4ff23d,_0x185af3)=>_0x147d7b(_0x4ff23d,_0x185af3,_0x4697d4);_0x330a6c['CollaborationSessionService']=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0x54e77a,_0x3d33d8,_0x2e06f4,_0x5aa53f,_0x491da9,_0x59910f){var _0x389125=_0x3b85f3;super(),_0x3dafef(this,_0x389125(0x493),new _0x26770d[(_0x389125(0x2cc))](void 0x0)),_0x3dafef(this,_0x389125(0x3e5),this[_0x389125(0x493)]['asObservable']()),_0x3dafef(this,_0x389125(0x273),null),_0x3dafef(this,_0x389125(0x1de),new Map()),_0x3dafef(this,_0x389125(0x351),new _0x26770d[(_0x389125(0x2cc))](_0x5c4cf0[_0x389125(0x25e)])),_0x3dafef(this,'status$',this[_0x389125(0x351)]['asObservable']()),_0x3dafef(this,'_socketReady',!0x1),_0x3dafef(this,_0x389125(0x2e5)),_0x3dafef(this,_0x389125(0x3da),0x0),_0x3dafef(this,_0x389125(0x29f)),_0x3dafef(this,_0x389125(0x34d)),(this[_0x389125(0x53a)]=_0x54e77a,this['_logService']=_0x3d33d8,this[_0x389125(0x265)]=_0x2e06f4,this[_0x389125(0x55a)]=_0x5aa53f,this['_collaborationUIEventService']=_0x491da9,this[_0x389125(0x2ec)]=_0x59910f,this[_0x389125(0x4d0)]());}get[_0x3b85f3(0x1e3)](){var _0x3c6a4e=_0x3b85f3;return this[_0x3c6a4e(0x493)]['getValue']();}[_0x3b85f3(0x4d0)](){var _0x30ccef=_0x3b85f3;this[_0x30ccef(0x2ec)]&&this[_0x30ccef(0x4de)](this[_0x30ccef(0x2ec)][_0x30ccef(0x48a)]['subscribe'](_0x29a971=>{var _0x6eeb6a=_0x30ccef;_0x29a971&&!this[_0x6eeb6a(0x1e3)]&&this[_0x6eeb6a(0x1e5)](),_0x29a971||this[_0x6eeb6a(0x300)]();}));}[_0x3b85f3(0x44d)](){var _0x179ba3=_0x3b85f3;super[_0x179ba3(0x44d)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x179ba3(0x1de)][_0x179ba3(0x3ae)](_0x521aa0=>_0x521aa0['dispose']()),this[_0x179ba3(0x1de)][_0x179ba3(0x315)](),this[_0x179ba3(0x351)][_0x179ba3(0x4ee)]();}async[_0x3b85f3(0x214)](_0x4c54a4){var _0x4d4585=_0x3b85f3;if(this[_0x4d4585(0x1de)][_0x4d4585(0x1d6)](_0x4c54a4))return this[_0x4d4585(0x1de)][_0x4d4585(0x1f8)](_0x4c54a4);this[_0x4d4585(0x2a1)]();const _0x3d23a2=this[_0x4d4585(0x53a)]['createInstance'](_0x330a6c[_0x4d4585(0x325)],_0x4c54a4,this[_0x4d4585(0x493)][_0x4d4585(0x1fb)]());return this[_0x4d4585(0x1de)][_0x4d4585(0x2d7)](_0x4c54a4,_0x3d23a2),_0x3d23a2;}[_0x3b85f3(0x21d)](_0x523e06){var _0x2259f6=_0x3b85f3,_0x163c5c;const _0x291153=this[_0x2259f6(0x1de)][_0x2259f6(0x1f8)](_0x523e06);_0x291153&&(this[_0x2259f6(0x1de)][_0x2259f6(0x245)](_0x523e06),_0x291153[_0x2259f6(0x268)]()),this[_0x2259f6(0x1de)][_0x2259f6(0x21a)]||(_0x163c5c=this[_0x2259f6(0x1e3)])==null||_0x163c5c['close']();}[_0x3b85f3(0x1e5)](){var _0x202582=_0x3b85f3;this[_0x202582(0x3da)]=0x0,this[_0x202582(0x3a4)](),this[_0x202582(0x51f)]();}[_0x3b85f3(0x3a4)](){var _0x1f5bfc=_0x3b85f3;this[_0x1f5bfc(0x2e5)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x3b85f3(0x362)](){var _0x599b0b=_0x3b85f3,_0x13a280;const _0x6b73c8=this['_configService'][_0x599b0b(0x4d4)](_0x54fbde),_0xa84f7c=(_0x13a280=_0x6b73c8==null?void 0x0:_0x6b73c8['collabWebSocketUrl'])!=null?_0x13a280:_0xbda5,_0x3d6a32=await this[_0x599b0b(0x55a)]['createSocket'](_0xa84f7c);return this[_0x599b0b(0x273)]=_0x3d6a32,_0x3d6a32;}async[_0x3b85f3(0x2a1)](){var _0x2a1fa3=_0x3b85f3,_0x36b637,_0x2028bf;try{const _0x23f422=(_0x2028bf=(_0x36b637=this[_0x2a1fa3(0x1e3)])!=null?_0x36b637:this[_0x2a1fa3(0x273)])!=null?_0x2028bf:await this[_0x2a1fa3(0x362)]();if(_0x23f422){const _0x2d9d6c=_0x23f422[_0x2a1fa3(0x485)];_0x23f422['send']=_0x7b49ef=>(this[_0x2a1fa3(0x385)](),_0x2d9d6c['apply'](_0x23f422,[_0x7b49ef])),_0x23f422[_0x2a1fa3(0x264)]['subscribe'](_0x1f4796=>this[_0x2a1fa3(0x3e9)](_0x23f422,_0x1f4796)),_0x23f422[_0x2a1fa3(0x48b)][_0x2a1fa3(0x341)](_0x213182[_0x2a1fa3(0x354)](0x1))[_0x2a1fa3(0x255)](_0x37820d=>this[_0x2a1fa3(0x20b)][_0x2a1fa3(0x313)]('[CollaborationSessionService]:\x20socket\x20error',_0x37820d)),_0x23f422[_0x2a1fa3(0x4ce)][_0x2a1fa3(0x341)](_0x213182['take'](0x1))['subscribe'](()=>{var _0x3bdfd9=_0x2a1fa3;this[_0x3bdfd9(0x2f6)](_0x23f422);}),_0x23f422[_0x2a1fa3(0x524)]['pipe'](_0x213182[_0x2a1fa3(0x354)](0x1))['subscribe'](_0x38eb56=>{var _0x432777=_0x2a1fa3;this[_0x432777(0x20b)][_0x432777(0x53f)](_0x432777(0x248),_0x432777(0x236),_0x38eb56),this['_onConnectionFailed']();});}}catch(_0x366526){this['_logService'][_0x2a1fa3(0x313)](_0x366526),this[_0x2a1fa3(0x22a)]();}}[_0x3b85f3(0x2f6)](_0x34beb3){var _0x489091=_0x3b85f3;this['_logService'][_0x489091(0x53f)](_0x489091(0x248),_0x489091(0x4f0)),_0x34beb3['send']({'cmd':_0x8150f7['HELLO']}),this['_rescheduleHeartbeat']();}[_0x3b85f3(0x300)](){var _0x6a419=_0x3b85f3;this[_0x6a419(0x290)]=!0x1,this[_0x6a419(0x273)]=null,this[_0x6a419(0x351)][_0x6a419(0x4c8)](_0x5c4cf0['OFFLINE']),this[_0x6a419(0x493)][_0x6a419(0x4c8)](null),this[_0x6a419(0x318)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0xe80f87=_0x3b85f3,_0x5bdee0;this['_onOffline'](),this[_0xe80f87(0x3da)]<((_0x5bdee0=this['_configService']['getConfig'](_0x48de82))!=null?_0x5bdee0:0x3)?(this[_0xe80f87(0x2ed)][_0xe80f87(0x1d4)]({'id':_0x465567[_0xe80f87(0x41d)]}),this['_tryReconnect']()):this[_0xe80f87(0x2ed)]['emitEvent']({'id':_0x465567[_0xe80f87(0x42f)]});}[_0x3b85f3(0x51f)](){var _0x44fdfd=_0x3b85f3,_0x2fa93b;const _0x59798e=this[_0x44fdfd(0x3da)],_0x108c0e=this[_0x44fdfd(0x265)][_0x44fdfd(0x4d4)](_0x54fbde),_0x4541ee=_0x59798e===0x0?0x0:((_0x2fa93b=_0x108c0e==null?void 0x0:_0x108c0e['retryConnectingInterval'])!=null?_0x2fa93b:0x4e20)*0x2**_0x59798e;this[_0x44fdfd(0x2e5)]=setTimeout(()=>{var _0x5b73d6=_0x44fdfd;clearTimeout(this[_0x5b73d6(0x2e5)]),this[_0x5b73d6(0x2e5)]=null,this[_0x5b73d6(0x2a1)]();},_0x4541ee),this[_0x44fdfd(0x3da)]+=0x1;}[_0x3b85f3(0x3e9)](_0x22a9e8,_0x5adcde){var _0x5f3bac=_0x3b85f3;const {cmd:_0x57346d}=_0x5adcde;_0x57346d===_0x8150f7[_0x5f3bac(0x549)]&&!this['_socketReady']&&(_0x22a9e8[_0x5f3bac(0x297)]=_0x5adcde[_0x5f3bac(0x2c0)][_0x5f3bac(0x297)],this['_socket$'][_0x5f3bac(0x4c8)](_0x22a9e8),this[_0x5f3bac(0x351)][_0x5f3bac(0x4c8)](_0x5c4cf0[_0x5f3bac(0x425)]),this[_0x5f3bac(0x290)]=!0x0,this[_0x5f3bac(0x273)]=null),_0x57346d===_0x8150f7[_0x5f3bac(0x398)]&&this[_0x5f3bac(0x318)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x348a1d=_0x3b85f3,_0x1a1ee3;this['_clearHeartbeatTimer'](),this[_0x348a1d(0x29f)]=setTimeout(()=>this[_0x348a1d(0x24f)](),(_0x1a1ee3=this['_configService'][_0x348a1d(0x4d4)](_0x5559aa))!=null?_0x1a1ee3:0x7530);}[_0x3b85f3(0x24f)](){var _0xeff317=_0x3b85f3;this['_socket']['send']({'cmd':_0x8150f7[_0xeff317(0x398)]}),this[_0xeff317(0x54c)]();}[_0x3b85f3(0x54c)](){var _0x4aeae4=_0x3b85f3,_0x4cb411;this['_timeoutTimer']=setTimeout(()=>this[_0x4aeae4(0x22a)](),(_0x4cb411=this[_0x4aeae4(0x265)][_0x4aeae4(0x4d4)](_0x11fb3c))!=null?_0x4cb411:0x4e20);}[_0x3b85f3(0x22f)](){var _0x2a56a5=_0x3b85f3;this[_0x2a56a5(0x29f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2a56a5(0x29f)]=null);}[_0x3b85f3(0x318)](){var _0x5e02e9=_0x3b85f3;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5e02e9(0x34d)]),this[_0x5e02e9(0x34d)]=null);}},_0x330a6c[_0x3b85f3(0x4ab)]=_0x15191a([_0x1c2159(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x1c2159(0x1,_0x29f72d[_0x3b85f3(0x316)]),_0x1c2159(0x2,_0x29f72d[_0x3b85f3(0x44a)]),_0x1c2159(0x3,_0x2d9dbe),_0x1c2159(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x18e687)),_0x1c2159(0x5,_0x29f72d[_0x3b85f3(0x307)](_0x3f33c3))],_0x330a6c['CollaborationSessionService']);var _0x355175=Object[_0x3b85f3(0x2e1)],_0xd57e0e=(_0x24c19d,_0x4b83d0,_0xfdc091,_0x15f84e)=>{for(var _0x74c541=_0x15f84e>0x1?void 0x0:_0x15f84e?_0x355175(_0x4b83d0,_0xfdc091):_0x4b83d0,_0x11be24=_0x24c19d['length']-0x1,_0x5324b3;_0x11be24>=0x0;_0x11be24--)(_0x5324b3=_0x24c19d[_0x11be24])&&(_0x74c541=_0x5324b3(_0x74c541)||_0x74c541);return _0x74c541;},_0x348701=(_0x20556d,_0x303dce)=>(_0x592b38,_0x4132a3)=>_0x303dce(_0x592b38,_0x4132a3,_0x20556d);_0x330a6c['CollaborationController']=class extends _0x29f72d['RxDisposable']{constructor(_0x1d3e6f,_0x578104,_0x4c1e34,_0x11b1e9){var _0x2548d=_0x3b85f3,_0x32be37;super(),_0x3dafef(this,'_entities',new Map()),_0x3dafef(this,_0x2548d(0x2d5),new _0x26770d[(_0x2548d(0x37c))]()),_0x3dafef(this,_0x2548d(0x200),this[_0x2548d(0x2d5)][_0x2548d(0x1fb)]()),(this[_0x2548d(0x53a)]=_0x1d3e6f,this[_0x2548d(0x235)]=_0x578104,this[_0x2548d(0x265)]=_0x4c1e34,this[_0x2548d(0x550)]=_0x11b1e9,((_0x32be37=this[_0x2548d(0x265)][_0x2548d(0x4d4)](_0x54fbde))==null?void 0x0:_0x32be37[_0x2548d(0x55c)])!==!0x1&&this[_0x2548d(0x527)]());}[_0x3b85f3(0x44d)](){var _0x47aeac=_0x3b85f3;super['dispose'](),this[_0x47aeac(0x54e)]['forEach'](_0x2777f6=>_0x2777f6[_0x47aeac(0x44d)]()),this[_0x47aeac(0x54e)]['clear']();}[_0x3b85f3(0x416)](_0x30058b){var _0x329c54=_0x3b85f3,_0x50aa3a;return(_0x50aa3a=this[_0x329c54(0x54e)][_0x329c54(0x1f8)](_0x30058b))!=null?_0x50aa3a:null;}['getCollabEntity$'](_0x2663b9){var _0x2852e2=_0x3b85f3;const _0x1a1480=this['getCollabEntity'](_0x2663b9);return _0x1a1480?_0x26770d['of'](_0x1a1480):this[_0x2852e2(0x2d5)]['pipe'](_0x213182[_0x2852e2(0x463)](_0xe44c4d=>_0xe44c4d['unitID']===_0x2663b9));}['readyForCollab'](_0x4354f6){var _0x186b39=_0x3b85f3;return _0x26770d[_0x186b39(0x2a7)](this[_0x186b39(0x468)](_0x4354f6)[_0x186b39(0x341)](_0x213182[_0x186b39(0x55e)](()=>{})));}[_0x3b85f3(0x527)](){var _0x7495a7=_0x3b85f3;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x29f72d[_0x7495a7(0x294)]['UNIVER_SHEET'])[_0x7495a7(0x341)](_0x26770d['takeUntil'](this[_0x7495a7(0x4dc)]),_0x213182[_0x7495a7(0x28b)](0x10))['subscribe'](async _0x3a90cb=>{var _0x136a70=_0x7495a7;const _0x5e93dc=_0x3a90cb[_0x136a70(0x4ba)](),_0x1c3f09=await this[_0x136a70(0x30f)](_0x5e93dc,_0x2da9ac['UNIVER_SHEET']);this[_0x136a70(0x54e)][_0x136a70(0x2d7)](_0x5e93dc,_0x1c3f09);}),this['_univerInstanceService'][_0x7495a7(0x494)](_0x29f72d[_0x7495a7(0x294)][_0x7495a7(0x3ee)])[_0x7495a7(0x341)](_0x26770d[_0x7495a7(0x4bb)](this[_0x7495a7(0x4dc)]),_0x213182[_0x7495a7(0x28b)](0x10))[_0x7495a7(0x341)](_0x213182['filter'](_0x4c4ae6=>!_0x4c4ae6[_0x7495a7(0x4ba)]()[_0x7495a7(0x34c)]('__')))['subscribe'](async _0x196204=>{var _0xaf3bc1=_0x7495a7;const _0x2e8d17=_0x196204['getUnitId'](),_0x556415=await this['_startCollaboration'](_0x2e8d17,_0x2da9ac[_0xaf3bc1(0x3ee)]);this[_0xaf3bc1(0x54e)][_0xaf3bc1(0x2d7)](_0x2e8d17,_0x556415);}),_0x26770d[_0x7495a7(0x1cb)](this[_0x7495a7(0x550)][_0x7495a7(0x2da)](_0x29f72d[_0x7495a7(0x294)][_0x7495a7(0x4be)]),this['_univerInstanceService'][_0x7495a7(0x2da)](_0x29f72d['UniverInstanceType']['UNIVER_DOC']))['pipe'](_0x26770d[_0x7495a7(0x4bb)](this['dispose$']))[_0x7495a7(0x255)](_0x232da8=>{var _0x454d9e=_0x7495a7;const _0x370ddc=_0x232da8[_0x454d9e(0x4ba)](),_0x335e8c=this[_0x454d9e(0x54e)][_0x454d9e(0x1f8)](_0x370ddc);_0x335e8c&&(_0x335e8c[_0x454d9e(0x44d)](),this['_entities'][_0x454d9e(0x245)](_0x370ddc));});}async[_0x3b85f3(0x30f)](_0x83d5f7,_0x2449b9){var _0x2576f5=_0x3b85f3;const _0x103cc0=await this['_collabSessionService']['requireSession'](_0x83d5f7),_0x4c2274=this['_injector'][_0x2576f5(0x43b)](this[_0x2576f5(0x2f9)](_0x2449b9),_0x83d5f7,_0x2449b9,_0x103cc0);return await _0x4c2274[_0x2576f5(0x4e1)](),this[_0x2576f5(0x2d5)]['next'](_0x4c2274),_0x4c2274;}[_0x3b85f3(0x2f9)](_0x2e1d3f){var _0xca1597=_0x3b85f3;switch(_0x2e1d3f){case _0x2da9ac[_0xca1597(0x3ee)]:return _0x330a6c[_0xca1597(0x242)];case _0x2da9ac[_0xca1597(0x4be)]:return _0x330a6c[_0xca1597(0x24e)];default:throw new Error(_0xca1597(0x4e0)+_0x2e1d3f);}}},_0x330a6c[_0x3b85f3(0x2c6)]=_0xd57e0e([_0x348701(0x0,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x345)])),_0x348701(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c[_0x3b85f3(0x4ab)])),_0x348701(0x2,_0x29f72d[_0x3b85f3(0x44a)]),_0x348701(0x3,_0x29f72d[_0x3b85f3(0x558)])],_0x330a6c[_0x3b85f3(0x2c6)]);var _0x4183da=Object['getOwnPropertyDescriptor'],_0x1879eb=(_0x41eab4,_0x1fc8cc,_0x43911f,_0xf990fa)=>{var _0x1ab0f4=_0x3b85f3;for(var _0x44b69e=_0xf990fa>0x1?void 0x0:_0xf990fa?_0x4183da(_0x1fc8cc,_0x43911f):_0x1fc8cc,_0xb74885=_0x41eab4[_0x1ab0f4(0x24a)]-0x1,_0x359642;_0xb74885>=0x0;_0xb74885--)(_0x359642=_0x41eab4[_0xb74885])&&(_0x44b69e=_0x359642(_0x44b69e)||_0x44b69e);return _0x44b69e;},_0x1c21d2=(_0x4e7229,_0x1b4120)=>(_0x4d2ce5,_0x102b0b)=>_0x1b4120(_0x4d2ce5,_0x102b0b,_0x4e7229);const _0x5799e1=_0x3b85f3(0x2b0),_0x26fd9f=_0x3b85f3(0x532);let _0x5b598e=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0x3b59e7,_0x78d143){var _0x267652=_0x3b85f3;super(),this[_0x267652(0x550)]=_0x3b59e7,this[_0x267652(0x265)]=_0x78d143,this[_0x267652(0x527)]();}['_init'](){var _0xcfb5ec=_0x3b85f3;this['disposeWithMe'](this['_univerInstanceService'][_0xcfb5ec(0x1d9)][_0xcfb5ec(0x255)](()=>{var _0x2482dc=_0xcfb5ec,_0x328458;const _0x50422b=this[_0x2482dc(0x550)]['getFocusedUnit']();let _0x2fc194=(_0x328458=this['_configService'][_0x2482dc(0x4d4)](_0x5799e1))!=null?_0x328458:_0x26fd9f;_0x50422b instanceof _0x29f72d['Workbook']&&(_0x2fc194=_0x50422b['name']),document[_0x2482dc(0x4b7)]=_0x2fc194;}));}};_0x5b598e=_0x1879eb([_0x1c21d2(0x0,_0x29f72d[_0x3b85f3(0x558)]),_0x1c21d2(0x1,_0x29f72d['IConfigService'])],_0x5b598e);var _0x4872f0=Object[_0x3b85f3(0x2e1)],_0x21913e=(_0x2fa3a7,_0x3ea310,_0x12acca,_0x307a8d)=>{for(var _0x47e745=_0x307a8d>0x1?void 0x0:_0x307a8d?_0x4872f0(_0x3ea310,_0x12acca):_0x3ea310,_0xa9dae=_0x2fa3a7['length']-0x1,_0xe255a7;_0xa9dae>=0x0;_0xa9dae--)(_0xe255a7=_0x2fa3a7[_0xa9dae])&&(_0x47e745=_0xe255a7(_0x47e745)||_0x47e745);return _0x47e745;},_0x1bc03f=(_0x2f79de,_0x5c9e09)=>(_0xe65e15,_0x1ea72d)=>_0x5c9e09(_0xe65e15,_0x1ea72d,_0x2f79de);let _0x3b6ab0=class{constructor(_0xab8c37,_0x1d5e0d,_0x409f9d){var _0x232fa0=_0x3b85f3;this['_configService']=_0xab8c37,this[_0x232fa0(0x2c1)]=_0x1d5e0d,this['localeService']=_0x409f9d,this[_0x232fa0(0x4e1)]();}[_0x3b85f3(0x4e1)](){var _0x4f5b95=_0x3b85f3;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x30ce1f,_0x28e5dc)=>_0x28e5dc(_0x30ce1f)['pipe'](_0x26770d[_0x4f5b95(0x2d8)](async _0x26fd76=>{var _0x4e74b2=_0x4f5b95;const _0x37a6c3=_0x26fd76;if(_0x37a6c3['status']===0x191){if(typeof window>'u')throw new Error(_0x4e74b2(0x556));if(window[_0x4e74b2(0x401)](this[_0x4e74b2(0x3cd)]['t'](_0x4e74b2(0x46f)))){const _0x5bd0e0=window[_0x4e74b2(0x1e0)](window[_0x4e74b2(0x54a)][_0x4e74b2(0x4bd)]);window[_0x4e74b2(0x54a)][_0x4e74b2(0x4bd)]=this['_getLoginPath']()+'?url='+_0x5bd0e0;}}return _0x37a6c3;}))});}[_0x3b85f3(0x467)](){var _0xcfd3dc=_0x3b85f3,_0x24d8d4;const _0x5917ee=this[_0xcfd3dc(0x265)]['getConfig'](_0x54fbde);return(_0x24d8d4=_0x5917ee==null?void 0x0:_0x5917ee[_0xcfd3dc(0x2a3)])!=null?_0x24d8d4:_0x491713;}};_0x3b6ab0=_0x21913e([_0x1bc03f(0x0,_0x29f72d[_0x3b85f3(0x44a)]),_0x1bc03f(0x1,_0x29f72d['Inject'](_0x59551f[_0x3b85f3(0x2bf)])),_0x1bc03f(0x2,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x487)]))],_0x3b6ab0);var _0x2813f5=Object[_0x3b85f3(0x2e1)],_0x1a5c82=(_0x656659,_0x50f34f,_0x531de7,_0xb5855d)=>{for(var _0xc4dc=_0xb5855d>0x1?void 0x0:_0xb5855d?_0x2813f5(_0x50f34f,_0x531de7):_0x50f34f,_0x48016d=_0x656659['length']-0x1,_0x20dda5;_0x48016d>=0x0;_0x48016d--)(_0x20dda5=_0x656659[_0x48016d])&&(_0xc4dc=_0x20dda5(_0xc4dc)||_0xc4dc);return _0xc4dc;},_0x31ebae=(_0x5c360a,_0x107dd2)=>(_0x5542a1,_0x515b42)=>_0x107dd2(_0x5542a1,_0x515b42,_0x5c360a);const _0x4905a4='/universer-api/authz';_0x330a6c[_0x3b85f3(0x568)]=class extends _0x29f72d[_0x3b85f3(0x45b)]{constructor(_0xb46e90,_0x19c016){var _0x1a16b6=_0x3b85f3;super(),this[_0x1a16b6(0x360)]=_0xb46e90,this['_configService']=_0x19c016,this[_0x1a16b6(0x523)]();}['_initMergeInterceptor'](){var _0x22d3fe=_0x3b85f3;const _0x209b9f=this;this[_0x22d3fe(0x4de)](this[_0x22d3fe(0x360)][_0x22d3fe(0x1d1)]({'priority':0x3e7,'interceptor':_0x59551f['MergeInterceptorFactory']({'isMatch'(_0x3dc0e9){var _0x5de5a5=_0x22d3fe,_0x1c34b6;if(_0x3dc0e9[_0x5de5a5(0x219)]===_0x5de5a5(0x2d3)&&((_0x1c34b6=_0x3dc0e9['requestParams'])!=null&&_0x1c34b6[_0x5de5a5(0x3fa)])){const {objectID:_0xf86879,objectType:_0x2cea8c}=_0x3dc0e9[_0x5de5a5(0x330)]['body']||{};if(!_0xf86879||_0x2cea8c===void 0x0)return!0x1;const _0x34568c=_0x209b9f[_0x5de5a5(0x49a)]()+'/'+_0x2cea8c+_0x5de5a5(0x4f3)+_0xf86879+_0x5de5a5(0x499);if(_0x3dc0e9['url']===_0x34568c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1424a9){var _0x4c2bc9=_0x22d3fe,_0x39419b;return(_0x39419b=_0x1424a9['requestParams'])==null?void 0x0:_0x39419b[_0x4c2bc9(0x3fa)];},'mergeParamsToRequest'(_0x2ca650,_0x1fe3ff){var _0x2aa24b=_0x22d3fe;const _0x4a65df=_0x209b9f[_0x2aa24b(0x49a)]()+_0x2aa24b(0x54b),_0x3890f5=_0x2ca650[_0x2aa24b(0x46d)]((_0x4fcf63,_0x580421)=>{const {unitID:_0x575e6e,objectID:_0x256d34,objectType:_0x50d2f1,actions:_0x194fee}=_0x580421;return _0x4fcf63[_0x575e6e]||(_0x4fcf63[_0x575e6e]={}),_0x4fcf63[_0x575e6e][_0x256d34]||(_0x4fcf63[_0x575e6e][_0x256d34]={'objectID':_0x256d34,'objectType':_0x50d2f1,'actions':[]}),_0x4fcf63[_0x575e6e][_0x256d34]['actions']['push'](..._0x194fee),_0x4fcf63;},{}),_0x10855d=[];for(const _0x35e08b in _0x3890f5)for(const _0x3b19c3 in _0x3890f5[_0x35e08b]){const {actions:_0x46552e,objectType:_0xbf73}=_0x3890f5[_0x35e08b][_0x3b19c3],_0x2a5fea=[...new Set(_0x46552e)];_0x10855d[_0x2aa24b(0x2cd)]({'unitID':_0x35e08b,'objectID':_0x3b19c3,'objectType':_0xbf73,'actions':_0x2a5fea});}return new _0x59551f[(_0x2aa24b(0x201))]('POST',_0x4a65df,{'headers':_0x1fe3ff['headers'],'withCredentials':_0x1fe3ff[_0x2aa24b(0x500)],'responseType':_0x1fe3ff['responseType'],'body':{'requests':_0x10855d}});}},{'distributeResult'(_0x43d216,_0x581ef3){var _0x4ada30=_0x22d3fe;const {objectActions:_0x459e30}=_0x43d216;return _0x581ef3[_0x4ada30(0x55e)](_0x522873=>{var _0x193186=_0x4ada30;const {unitID:_0x4086eb,objectID:_0xa3ede,actions:_0x5011b7}=_0x522873,_0xdd07a0=_0x459e30[_0x193186(0x229)](_0x28fecc=>_0x28fecc[_0x193186(0x3be)]===_0x4086eb&&_0x28fecc['objectID']===_0xa3ede),_0x4247d1=_0x5011b7['map'](_0xbf3a30=>_0xdd07a0==null?void 0x0:_0xdd07a0[_0x193186(0x29b)][_0x193186(0x229)](_0x370337=>_0x370337['action']===_0xbf3a30))[_0x193186(0x463)](_0x149036=>!!_0x149036);return{'config':_0x522873,'result':{'actions':_0x4247d1,'error':_0x43d216[_0x193186(0x313)]}};});}})}));}['_getAPIPrefixPath'](){var _0x585612=_0x3b85f3,_0x25d947;const _0x132668=this[_0x585612(0x265)][_0x585612(0x4d4)](_0x54fbde);return(_0x25d947=_0x132668==null?void 0x0:_0x132668[_0x585612(0x26f)])!=null?_0x25d947:_0x4905a4;}async[_0x3b85f3(0x444)](_0x468b2b){var _0x545662=_0x3b85f3;const _0x205d39=this['_getAPIPrefixPath']()+'/'+_0x468b2b['objectType']+_0x545662(0x331);return(await this['_HTTPService'][_0x545662(0x1fe)](_0x205d39,{'body':_0x468b2b}))[_0x545662(0x3fa)][_0x545662(0x512)]||'';}async[_0x3b85f3(0x3b4)](_0xf4867e){var _0x3e94da=_0x3b85f3;const _0x5e1d76=this[_0x3e94da(0x49a)]()+'/-/object/list';return(await this[_0x3e94da(0x360)][_0x3e94da(0x1fe)](_0x5e1d76,{'body':_0xf4867e}))['body'][_0x3e94da(0x447)];}async[_0x3b85f3(0x2a4)](_0x38c6fc){var _0x36740b=_0x3b85f3,_0x3f6908,_0x587731;const _0x3bac79=this[_0x36740b(0x49a)]()+'/'+_0x38c6fc[_0x36740b(0x3d7)]+_0x36740b(0x4f3)+_0x38c6fc['objectID'],_0x3de13e=await this[_0x36740b(0x360)][_0x36740b(0x3b0)](_0x3bac79,{'body':_0x38c6fc});if(((_0x587731=(_0x3f6908=_0x3de13e==null?void 0x0:_0x3de13e[_0x36740b(0x3fa)])==null?void 0x0:_0x3f6908[_0x36740b(0x313)])==null?void 0x0:_0x587731[_0x36740b(0x2b2)])!==0x1)throw new Error(_0x36740b(0x42b));}async[_0x3b85f3(0x2a6)](_0x3bb46e){var _0x2b623b=_0x3b85f3;const _0x5e8a24=this[_0x2b623b(0x49a)]()+'/'+_0x3bb46e[_0x2b623b(0x3d7)]+_0x2b623b(0x4f3)+_0x3bb46e[_0x2b623b(0x512)]+_0x2b623b(0x499);return(await this[_0x2b623b(0x360)]['post'](_0x5e8a24,{'body':_0x3bb46e}))['body']['actions'];}async[_0x3b85f3(0x224)](_0x1a2cff){var _0x4f593f=_0x3b85f3;const _0xf96fcc=this[_0x4f593f(0x49a)]()+_0x4f593f(0x54b);return(await this[_0x4f593f(0x360)][_0x4f593f(0x1fe)](_0xf96fcc,{'body':{'requests':_0x1a2cff}}))[_0x4f593f(0x3fa)][_0x4f593f(0x204)];}async[_0x3b85f3(0x2ab)](_0x309721){var _0x11fe19=_0x3b85f3;const _0xff0a60=this[_0x11fe19(0x49a)]()+'/'+_0x309721[_0x11fe19(0x3d7)]+'/role',_0xc387ff=await this[_0x11fe19(0x360)]['post'](_0xff0a60,{'body':_0x309721});return{'roles':_0xc387ff[_0x11fe19(0x3fa)]['roles'],'actions':_0xc387ff[_0x11fe19(0x3fa)][_0x11fe19(0x29b)]};}async[_0x3b85f3(0x2ac)](_0x511566){var _0x3a9190=_0x3b85f3;const _0x437e7d=this[_0x3a9190(0x49a)]()+_0x3a9190(0x1d0);await this['_HTTPService'][_0x3a9190(0x245)](_0x437e7d,{'params':{'collaboratorID':_0x511566[_0x3a9190(0x432)],'objectID':_0x511566[_0x3a9190(0x512)],'unitID':_0x511566[_0x3a9190(0x3be)]}});}async[_0x3b85f3(0x29d)](_0x420abb){var _0x574b2a=_0x3b85f3;const _0x1defd2=this[_0x574b2a(0x49a)]()+_0x574b2a(0x1d0);await this[_0x574b2a(0x360)][_0x574b2a(0x2c4)](_0x1defd2,{'body':_0x420abb});}async['createCollaborator'](_0x477da2){var _0x7fcd3e=_0x3b85f3;const _0x28d7b3=this[_0x7fcd3e(0x49a)]()+_0x7fcd3e(0x1d0);await this[_0x7fcd3e(0x360)]['post'](_0x28d7b3,{'body':_0x477da2});}async[_0x3b85f3(0x3aa)](_0x4014e1){var _0x1ffc74=_0x3b85f3;const _0x548e26=this[_0x1ffc74(0x49a)]()+'/collaborator';return(await this['_HTTPService'][_0x1ffc74(0x1f8)](_0x548e26,{'params':{'objectID':_0x4014e1[_0x1ffc74(0x512)],'unitID':_0x4014e1['unitID']}}))[_0x1ffc74(0x3fa)][_0x1ffc74(0x3fb)];}async[_0x3b85f3(0x237)](_0x2ac32f){var _0x3b1313=_0x3b85f3;const _0xf45729=this['_getAPIPrefixPath']()+_0x3b1313(0x1d0);await this[_0x3b1313(0x360)][_0x3b1313(0x3b0)](_0xf45729,{'body':_0x2ac32f});}},_0x330a6c[_0x3b85f3(0x568)]=_0x1a5c82([_0x31ebae(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x59551f['HTTPService'])),_0x31ebae(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x44a)]))],_0x330a6c[_0x3b85f3(0x568)]);var _0x3b3051=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x38739b(_0x547a7a){var _0x4fc4b9=_0x3b85f3;return _0x547a7a&&_0x547a7a['__esModule']&&Object[_0x4fc4b9(0x387)][_0x4fc4b9(0x451)]['call'](_0x547a7a,'default')?_0x547a7a[_0x4fc4b9(0x37b)]:_0x547a7a;}var _0x1ef8e4={'exports':{}};function _0x2fce9a(_0x5c5f70){var _0x324e68=_0x3b85f3;throw new Error(_0x324e68(0x483)+_0x5c5f70+_0x324e68(0x427));}var _0x162bf4={'exports':{}},_0x1cabf5=_0x162bf4[_0x3b85f3(0x375)],_0x50289d;function _0x19ebea(){var _0x88f2bb=_0x3b85f3;return _0x50289d||(_0x50289d=0x1,function(_0x5494c7,_0x313c14){(function(_0x37b035,_0x404d00){var _0x1b3e60=_0x222a;_0x5494c7[_0x1b3e60(0x375)]=_0x404d00();}(_0x1cabf5,function(){var _0x323056=_0x323056||function(_0xb9a56e,_0x46bacb){var _0x5e08d2=_0x222a,_0x5607de;if(typeof window<'u'&&window['crypto']&&(_0x5607de=window[_0x5e08d2(0x4c5)]),typeof self<'u'&&self['crypto']&&(_0x5607de=self[_0x5e08d2(0x4c5)]),typeof globalThis<'u'&&globalThis[_0x5e08d2(0x4c5)]&&(_0x5607de=globalThis['crypto']),!_0x5607de&&typeof window<'u'&&window[_0x5e08d2(0x434)]&&(_0x5607de=window['msCrypto']),!_0x5607de&&typeof _0x3b3051<'u'&&_0x3b3051[_0x5e08d2(0x4c5)]&&(_0x5607de=_0x3b3051[_0x5e08d2(0x4c5)]),!_0x5607de&&typeof _0x2fce9a==_0x5e08d2(0x35d))try{_0x5607de=require('crypto');}catch{}var _0x57e3b8=function(){var _0x591e85=_0x5e08d2;if(_0x5607de){if(typeof _0x5607de[_0x591e85(0x528)]==_0x591e85(0x35d))try{return _0x5607de[_0x591e85(0x528)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5607de['randomBytes']==_0x591e85(0x35d))try{return _0x5607de[_0x591e85(0x27f)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2c7061=Object[_0x5e08d2(0x444)]||(function(){function _0x581eee(){}return function(_0x5833d6){var _0x227ccb=_0x222a,_0x403c5b;return _0x581eee[_0x227ccb(0x387)]=_0x5833d6,_0x403c5b=new _0x581eee(),_0x581eee[_0x227ccb(0x387)]=null,_0x403c5b;};}()),_0x58adbf={},_0x8b4af8=_0x58adbf[_0x5e08d2(0x563)]={},_0x36169d=_0x8b4af8['Base']=(function(){return{'extend':function(_0x5236eb){var _0x2fb4b1=_0x222a,_0x28ee15=_0x2c7061(this);return _0x5236eb&&_0x28ee15[_0x2fb4b1(0x27b)](_0x5236eb),(!_0x28ee15[_0x2fb4b1(0x451)]('init')||this[_0x2fb4b1(0x4e1)]===_0x28ee15[_0x2fb4b1(0x4e1)])&&(_0x28ee15[_0x2fb4b1(0x4e1)]=function(){var _0x57313a=_0x2fb4b1;_0x28ee15[_0x57313a(0x382)][_0x57313a(0x4e1)][_0x57313a(0x33d)](this,arguments);}),_0x28ee15[_0x2fb4b1(0x4e1)][_0x2fb4b1(0x387)]=_0x28ee15,_0x28ee15['$super']=this,_0x28ee15;},'create':function(){var _0x35b510=_0x222a,_0x27cd9c=this[_0x35b510(0x39f)]();return _0x27cd9c[_0x35b510(0x4e1)][_0x35b510(0x33d)](_0x27cd9c,arguments),_0x27cd9c;},'init':function(){},'mixIn':function(_0x1fd056){var _0x3af7d0=_0x222a;for(var _0x552677 in _0x1fd056)_0x1fd056[_0x3af7d0(0x451)](_0x552677)&&(this[_0x552677]=_0x1fd056[_0x552677]);_0x1fd056['hasOwnProperty'](_0x3af7d0(0x3f5))&&(this['toString']=_0x1fd056[_0x3af7d0(0x3f5)]);},'clone':function(){var _0x829681=_0x222a;return this[_0x829681(0x4e1)][_0x829681(0x387)][_0x829681(0x39f)](this);}};}()),_0x163903=_0x8b4af8[_0x5e08d2(0x2de)]=_0x36169d['extend']({'init':function(_0xfed3e4,_0x5bc518){var _0x20a474=_0x5e08d2;_0xfed3e4=this[_0x20a474(0x30e)]=_0xfed3e4||[],_0x5bc518!=_0x46bacb?this[_0x20a474(0x436)]=_0x5bc518:this[_0x20a474(0x436)]=_0xfed3e4['length']*0x4;},'toString':function(_0x247ef0){var _0x48bc9a=_0x5e08d2;return(_0x247ef0||_0x579188)[_0x48bc9a(0x3ff)](this);},'concat':function(_0xdddebc){var _0x5bb439=_0x5e08d2,_0x1816fa=this[_0x5bb439(0x30e)],_0xdb48d3=_0xdddebc[_0x5bb439(0x30e)],_0x12db2d=this[_0x5bb439(0x436)],_0x1f2083=_0xdddebc[_0x5bb439(0x436)];if(this['clamp'](),_0x12db2d%0x4)for(var _0x4480e8=0x0;_0x4480e8<_0x1f2083;_0x4480e8++){var _0x49a28e=_0xdb48d3[_0x4480e8>>>0x2]>>>0x18-_0x4480e8%0x4*0x8&0xff;_0x1816fa[_0x12db2d+_0x4480e8>>>0x2]|=_0x49a28e<<0x18-(_0x12db2d+_0x4480e8)%0x4*0x8;}else{for(var _0x10e092=0x0;_0x10e092<_0x1f2083;_0x10e092+=0x4)_0x1816fa[_0x12db2d+_0x10e092>>>0x2]=_0xdb48d3[_0x10e092>>>0x2];}return this[_0x5bb439(0x436)]+=_0x1f2083,this;},'clamp':function(){var _0x5882cf=_0x5e08d2,_0xa9a491=this[_0x5882cf(0x30e)],_0x293db6=this[_0x5882cf(0x436)];_0xa9a491[_0x293db6>>>0x2]&=0xffffffff<<0x20-_0x293db6%0x4*0x8,_0xa9a491['length']=_0xb9a56e['ceil'](_0x293db6/0x4);},'clone':function(){var _0x8a7d06=_0x5e08d2,_0x4622ee=_0x36169d['clone']['call'](this);return _0x4622ee[_0x8a7d06(0x30e)]=this[_0x8a7d06(0x30e)]['slice'](0x0),_0x4622ee;},'random':function(_0x3e281d){var _0x234b83=_0x5e08d2;for(var _0x1f52b1=[],_0x2ecbd6=0x0;_0x2ecbd6<_0x3e281d;_0x2ecbd6+=0x4)_0x1f52b1[_0x234b83(0x2cd)](_0x57e3b8());return new _0x163903['init'](_0x1f52b1,_0x3e281d);}}),_0x58404c=_0x58adbf[_0x5e08d2(0x344)]={},_0x579188=_0x58404c[_0x5e08d2(0x41e)]={'stringify':function(_0x2f78af){var _0x4734f9=_0x5e08d2;for(var _0x592818=_0x2f78af[_0x4734f9(0x30e)],_0x3da652=_0x2f78af[_0x4734f9(0x436)],_0x34dd02=[],_0x240794=0x0;_0x240794<_0x3da652;_0x240794++){var _0x3f1bf6=_0x592818[_0x240794>>>0x2]>>>0x18-_0x240794%0x4*0x8&0xff;_0x34dd02[_0x4734f9(0x2cd)]((_0x3f1bf6>>>0x4)[_0x4734f9(0x3f5)](0x10)),_0x34dd02[_0x4734f9(0x2cd)]((_0x3f1bf6&0xf)[_0x4734f9(0x3f5)](0x10));}return _0x34dd02[_0x4734f9(0x320)]('');},'parse':function(_0x599130){var _0x2d903a=_0x5e08d2;for(var _0x4f0a3a=_0x599130[_0x2d903a(0x24a)],_0x40cf60=[],_0x348538=0x0;_0x348538<_0x4f0a3a;_0x348538+=0x2)_0x40cf60[_0x348538>>>0x3]|=parseInt(_0x599130[_0x2d903a(0x36a)](_0x348538,0x2),0x10)<<0x18-_0x348538%0x8*0x4;return new _0x163903[(_0x2d903a(0x4e1))](_0x40cf60,_0x4f0a3a/0x2);}},_0x4ddb5f=_0x58404c[_0x5e08d2(0x1e9)]={'stringify':function(_0x1ab2f5){var _0x229986=_0x5e08d2;for(var _0x3b1f42=_0x1ab2f5['words'],_0x8c448=_0x1ab2f5[_0x229986(0x436)],_0x455039=[],_0x20f3a6=0x0;_0x20f3a6<_0x8c448;_0x20f3a6++){var _0x93c693=_0x3b1f42[_0x20f3a6>>>0x2]>>>0x18-_0x20f3a6%0x4*0x8&0xff;_0x455039[_0x229986(0x2cd)](String[_0x229986(0x1f0)](_0x93c693));}return _0x455039['join']('');},'parse':function(_0x41ac10){var _0x2ef6b3=_0x5e08d2;for(var _0x56bc6c=_0x41ac10[_0x2ef6b3(0x24a)],_0x57df86=[],_0x1f7822=0x0;_0x1f7822<_0x56bc6c;_0x1f7822++)_0x57df86[_0x1f7822>>>0x2]|=(_0x41ac10[_0x2ef6b3(0x3cc)](_0x1f7822)&0xff)<<0x18-_0x1f7822%0x4*0x8;return new _0x163903[(_0x2ef6b3(0x4e1))](_0x57df86,_0x56bc6c);}},_0x357588=_0x58404c[_0x5e08d2(0x286)]={'stringify':function(_0x1974a4){var _0x5f4815=_0x5e08d2;try{return decodeURIComponent(escape(_0x4ddb5f[_0x5f4815(0x3ff)](_0x1974a4)));}catch{throw new Error(_0x5f4815(0x419));}},'parse':function(_0xa6bcb2){var _0x484450=_0x5e08d2;return _0x4ddb5f[_0x484450(0x2a8)](unescape(encodeURIComponent(_0xa6bcb2)));}},_0x403570=_0x8b4af8[_0x5e08d2(0x437)]=_0x36169d[_0x5e08d2(0x39f)]({'reset':function(){var _0x9d569f=_0x5e08d2;this['_data']=new _0x163903[(_0x9d569f(0x4e1))](),this[_0x9d569f(0x2af)]=0x0;},'_append':function(_0x87879c){var _0x5e6dca=_0x5e08d2;typeof _0x87879c==_0x5e6dca(0x2f5)&&(_0x87879c=_0x357588[_0x5e6dca(0x2a8)](_0x87879c)),this[_0x5e6dca(0x465)][_0x5e6dca(0x211)](_0x87879c),this[_0x5e6dca(0x2af)]+=_0x87879c['sigBytes'];},'_process':function(_0x120f6b){var _0x4ad45d=_0x5e08d2,_0x224ca1,_0x49ea53=this['_data'],_0x8a15a7=_0x49ea53[_0x4ad45d(0x30e)],_0x1b52db=_0x49ea53['sigBytes'],_0x21cd5f=this['blockSize'],_0x559a6a=_0x21cd5f*0x4,_0x2a6976=_0x1b52db/_0x559a6a;_0x120f6b?_0x2a6976=_0xb9a56e[_0x4ad45d(0x296)](_0x2a6976):_0x2a6976=_0xb9a56e[_0x4ad45d(0x566)]((_0x2a6976|0x0)-this[_0x4ad45d(0x417)],0x0);var _0x437716=_0x2a6976*_0x21cd5f,_0x449c21=_0xb9a56e['min'](_0x437716*0x4,_0x1b52db);if(_0x437716){for(var _0x108b87=0x0;_0x108b87<_0x437716;_0x108b87+=_0x21cd5f)this[_0x4ad45d(0x547)](_0x8a15a7,_0x108b87);_0x224ca1=_0x8a15a7['splice'](0x0,_0x437716),_0x49ea53['sigBytes']-=_0x449c21;}return new _0x163903[(_0x4ad45d(0x4e1))](_0x224ca1,_0x449c21);},'clone':function(){var _0x50fee0=_0x5e08d2,_0x2f2f59=_0x36169d['clone'][_0x50fee0(0x4c4)](this);return _0x2f2f59[_0x50fee0(0x465)]=this[_0x50fee0(0x465)][_0x50fee0(0x52e)](),_0x2f2f59;},'_minBufferSize':0x0});_0x8b4af8[_0x5e08d2(0x386)]=_0x403570[_0x5e08d2(0x39f)]({'cfg':_0x36169d[_0x5e08d2(0x39f)](),'init':function(_0xffac84){var _0xe50afc=_0x5e08d2;this[_0xe50afc(0x252)]=this['cfg'][_0xe50afc(0x39f)](_0xffac84),this[_0xe50afc(0x1cd)]();},'reset':function(){var _0x2dbbb7=_0x5e08d2;_0x403570[_0x2dbbb7(0x1cd)][_0x2dbbb7(0x4c4)](this),this[_0x2dbbb7(0x208)]();},'update':function(_0x521dd2){var _0xc4056e=_0x5e08d2;return this[_0xc4056e(0x3f6)](_0x521dd2),this[_0xc4056e(0x522)](),this;},'finalize':function(_0x17a1cd){var _0x5166d8=_0x5e08d2;_0x17a1cd&&this[_0x5166d8(0x3f6)](_0x17a1cd);var _0x571a7c=this[_0x5166d8(0x490)]();return _0x571a7c;},'blockSize':0x10,'_createHelper':function(_0x93feec){return function(_0x35e484,_0x5ef4c9){var _0x657b71=_0x222a;return new _0x93feec['init'](_0x5ef4c9)[_0x657b71(0x411)](_0x35e484);};},'_createHmacHelper':function(_0x50aa09){return function(_0x2891aa,_0x12dd01){var _0x35299b=_0x222a;return new _0x145b62[(_0x35299b(0x50a))][(_0x35299b(0x4e1))](_0x50aa09,_0x12dd01)[_0x35299b(0x411)](_0x2891aa);};}});var _0x145b62=_0x58adbf[_0x5e08d2(0x2e0)]={};return _0x58adbf;}(Math);return _0x323056;}));}(_0x162bf4)),_0x162bf4[_0x88f2bb(0x375)];}var _0x2abece={'exports':{}},_0x5215d5=_0x2abece[_0x3b85f3(0x375)],_0x4d3051;function _0x2e66f6(){return _0x4d3051||(_0x4d3051=0x1,function(_0xc10ac8,_0x3f7855){(function(_0x399672,_0x4afc2c){var _0x462db0=_0x222a;_0xc10ac8[_0x462db0(0x375)]=_0x4afc2c(_0x19ebea());}(_0x5215d5,function(_0x44006c){var _0x262d52=_0x222a;return(function(){var _0x5b0d2d=_0x222a,_0x2121b9=_0x44006c,_0x5d4000=_0x2121b9[_0x5b0d2d(0x563)],_0x5c8918=_0x5d4000[_0x5b0d2d(0x2de)],_0x32100c=_0x2121b9[_0x5b0d2d(0x344)];_0x32100c[_0x5b0d2d(0x3e6)]={'stringify':function(_0x338458){var _0x3df0b0=_0x5b0d2d,_0x496170=_0x338458[_0x3df0b0(0x30e)],_0x5dcade=_0x338458[_0x3df0b0(0x436)],_0x12f85d=this['_map'];_0x338458[_0x3df0b0(0x405)]();for(var _0x32f427=[],_0x498e3a=0x0;_0x498e3a<_0x5dcade;_0x498e3a+=0x3)for(var _0x26703d=_0x496170[_0x498e3a>>>0x2]>>>0x18-_0x498e3a%0x4*0x8&0xff,_0x3ce442=_0x496170[_0x498e3a+0x1>>>0x2]>>>0x18-(_0x498e3a+0x1)%0x4*0x8&0xff,_0x4220e1=_0x496170[_0x498e3a+0x2>>>0x2]>>>0x18-(_0x498e3a+0x2)%0x4*0x8&0xff,_0x488d03=_0x26703d<<0x10|_0x3ce442<<0x8|_0x4220e1,_0x265437=0x0;_0x265437<0x4&&_0x498e3a+_0x265437*0.75<_0x5dcade;_0x265437++)_0x32f427[_0x3df0b0(0x2cd)](_0x12f85d[_0x3df0b0(0x475)](_0x488d03>>>0x6*(0x3-_0x265437)&0x3f));var _0x288fa5=_0x12f85d['charAt'](0x40);if(_0x288fa5){for(;_0x32f427[_0x3df0b0(0x24a)]%0x4;)_0x32f427[_0x3df0b0(0x2cd)](_0x288fa5);}return _0x32f427[_0x3df0b0(0x320)]('');},'parse':function(_0x4c2b8d){var _0x40f1a4=_0x5b0d2d,_0x4de124=_0x4c2b8d[_0x40f1a4(0x24a)],_0x178cc1=this[_0x40f1a4(0x205)],_0x114abe=this[_0x40f1a4(0x42a)];if(!_0x114abe){_0x114abe=this[_0x40f1a4(0x42a)]=[];for(var _0x18ce91=0x0;_0x18ce91<_0x178cc1[_0x40f1a4(0x24a)];_0x18ce91++)_0x114abe[_0x178cc1['charCodeAt'](_0x18ce91)]=_0x18ce91;}var _0x51ea0c=_0x178cc1[_0x40f1a4(0x475)](0x40);if(_0x51ea0c){var _0x275ac2=_0x4c2b8d[_0x40f1a4(0x3b1)](_0x51ea0c);_0x275ac2!==-0x1&&(_0x4de124=_0x275ac2);}return _0x5b3e01(_0x4c2b8d,_0x4de124,_0x114abe);},'_map':_0x5b0d2d(0x258)};function _0x5b3e01(_0x2000d1,_0x49c600,_0x570119){var _0x531604=_0x5b0d2d;for(var _0x1c0354=[],_0x32589d=0x0,_0x2f5556=0x0;_0x2f5556<_0x49c600;_0x2f5556++)if(_0x2f5556%0x4){var _0x173fac=_0x570119[_0x2000d1['charCodeAt'](_0x2f5556-0x1)]<<_0x2f5556%0x4*0x2,_0x4a2ba7=_0x570119[_0x2000d1['charCodeAt'](_0x2f5556)]>>>0x6-_0x2f5556%0x4*0x2,_0x56cdd9=_0x173fac|_0x4a2ba7;_0x1c0354[_0x32589d>>>0x2]|=_0x56cdd9<<0x18-_0x32589d%0x4*0x8,_0x32589d++;}return _0x5c8918[_0x531604(0x444)](_0x1c0354,_0x32589d);}}()),_0x44006c[_0x262d52(0x344)][_0x262d52(0x3e6)];}));}(_0x2abece)),_0x2abece['exports'];}var _0x32baeb={'exports':{}},_0x36f18c=_0x32baeb['exports'],_0x20ebf5;function _0x1cda65(){var _0x5e4241=_0x3b85f3;return _0x20ebf5||(_0x20ebf5=0x1,function(_0x3a3739,_0x2571a7){(function(_0x1b5f9f,_0x185d8f){_0x3a3739['exports']=_0x185d8f(_0x19ebea());}(_0x36f18c,function(_0x33656f){var _0x564ae8=_0x222a;return function(_0x3fc3e4){var _0x24e033=_0x222a,_0x10d118=_0x33656f,_0x2f60df=_0x10d118[_0x24e033(0x563)],_0x50105f=_0x2f60df[_0x24e033(0x2de)],_0x533730=_0x2f60df['Hasher'],_0x1ee726=_0x10d118[_0x24e033(0x2e0)],_0x34fd6a=[];(function(){var _0x2093bb=_0x24e033;for(var _0x4b848b=0x0;_0x4b848b<0x40;_0x4b848b++)_0x34fd6a[_0x4b848b]=_0x3fc3e4[_0x2093bb(0x3dc)](_0x3fc3e4[_0x2093bb(0x36c)](_0x4b848b+0x1))*0x100000000|0x0;}());var _0x36c0cc=_0x1ee726[_0x24e033(0x42c)]=_0x533730[_0x24e033(0x39f)]({'_doReset':function(){var _0x435cf8=_0x24e033;this[_0x435cf8(0x2e8)]=new _0x50105f[(_0x435cf8(0x4e1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x104f82,_0x5371e9){var _0x54bbef=_0x24e033;for(var _0x460185=0x0;_0x460185<0x10;_0x460185++){var _0x3c1d59=_0x5371e9+_0x460185,_0x4789ff=_0x104f82[_0x3c1d59];_0x104f82[_0x3c1d59]=(_0x4789ff<<0x8|_0x4789ff>>>0x18)&0xff00ff|(_0x4789ff<<0x18|_0x4789ff>>>0x8)&0xff00ff00;}var _0x2963c2=this['_hash'][_0x54bbef(0x30e)],_0x5efa7c=_0x104f82[_0x5371e9+0x0],_0x316c87=_0x104f82[_0x5371e9+0x1],_0x44ac0b=_0x104f82[_0x5371e9+0x2],_0x4e3a5e=_0x104f82[_0x5371e9+0x3],_0x286b97=_0x104f82[_0x5371e9+0x4],_0x12eda2=_0x104f82[_0x5371e9+0x5],_0x3da290=_0x104f82[_0x5371e9+0x6],_0x1b52d0=_0x104f82[_0x5371e9+0x7],_0x291ea3=_0x104f82[_0x5371e9+0x8],_0x33e7b8=_0x104f82[_0x5371e9+0x9],_0x5a3395=_0x104f82[_0x5371e9+0xa],_0x450eb6=_0x104f82[_0x5371e9+0xb],_0x1c99f0=_0x104f82[_0x5371e9+0xc],_0x27db29=_0x104f82[_0x5371e9+0xd],_0x1cbe5c=_0x104f82[_0x5371e9+0xe],_0xaad0d3=_0x104f82[_0x5371e9+0xf],_0x5aa973=_0x2963c2[0x0],_0x7a1a01=_0x2963c2[0x1],_0x5f4cd3=_0x2963c2[0x2],_0x16907d=_0x2963c2[0x3];_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5efa7c,0x7,_0x34fd6a[0x0]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x316c87,0xc,_0x34fd6a[0x1]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x44ac0b,0x11,_0x34fd6a[0x2]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x4e3a5e,0x16,_0x34fd6a[0x3]),_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x286b97,0x7,_0x34fd6a[0x4]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x12eda2,0xc,_0x34fd6a[0x5]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x3da290,0x11,_0x34fd6a[0x6]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x1b52d0,0x16,_0x34fd6a[0x7]),_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x291ea3,0x7,_0x34fd6a[0x8]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x33e7b8,0xc,_0x34fd6a[0x9]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x5a3395,0x11,_0x34fd6a[0xa]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x450eb6,0x16,_0x34fd6a[0xb]),_0x5aa973=_0x85e5c7(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x1c99f0,0x7,_0x34fd6a[0xc]),_0x16907d=_0x85e5c7(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x27db29,0xc,_0x34fd6a[0xd]),_0x5f4cd3=_0x85e5c7(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1cbe5c,0x11,_0x34fd6a[0xe]),_0x7a1a01=_0x85e5c7(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0xaad0d3,0x16,_0x34fd6a[0xf]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x316c87,0x5,_0x34fd6a[0x10]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x3da290,0x9,_0x34fd6a[0x11]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x450eb6,0xe,_0x34fd6a[0x12]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x5efa7c,0x14,_0x34fd6a[0x13]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x12eda2,0x5,_0x34fd6a[0x14]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x5a3395,0x9,_0x34fd6a[0x15]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0xaad0d3,0xe,_0x34fd6a[0x16]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x286b97,0x14,_0x34fd6a[0x17]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x33e7b8,0x5,_0x34fd6a[0x18]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x1cbe5c,0x9,_0x34fd6a[0x19]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x4e3a5e,0xe,_0x34fd6a[0x1a]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x291ea3,0x14,_0x34fd6a[0x1b]),_0x5aa973=_0x52d114(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x27db29,0x5,_0x34fd6a[0x1c]),_0x16907d=_0x52d114(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x44ac0b,0x9,_0x34fd6a[0x1d]),_0x5f4cd3=_0x52d114(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1b52d0,0xe,_0x34fd6a[0x1e]),_0x7a1a01=_0x52d114(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x1c99f0,0x14,_0x34fd6a[0x1f]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x12eda2,0x4,_0x34fd6a[0x20]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x291ea3,0xb,_0x34fd6a[0x21]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x450eb6,0x10,_0x34fd6a[0x22]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x1cbe5c,0x17,_0x34fd6a[0x23]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x316c87,0x4,_0x34fd6a[0x24]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x286b97,0xb,_0x34fd6a[0x25]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1b52d0,0x10,_0x34fd6a[0x26]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x5a3395,0x17,_0x34fd6a[0x27]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x27db29,0x4,_0x34fd6a[0x28]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x5efa7c,0xb,_0x34fd6a[0x29]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x4e3a5e,0x10,_0x34fd6a[0x2a]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x3da290,0x17,_0x34fd6a[0x2b]),_0x5aa973=_0x9010e8(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x33e7b8,0x4,_0x34fd6a[0x2c]),_0x16907d=_0x9010e8(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x1c99f0,0xb,_0x34fd6a[0x2d]),_0x5f4cd3=_0x9010e8(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0xaad0d3,0x10,_0x34fd6a[0x2e]),_0x7a1a01=_0x9010e8(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x44ac0b,0x17,_0x34fd6a[0x2f]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5efa7c,0x6,_0x34fd6a[0x30]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x1b52d0,0xa,_0x34fd6a[0x31]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x1cbe5c,0xf,_0x34fd6a[0x32]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x12eda2,0x15,_0x34fd6a[0x33]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x1c99f0,0x6,_0x34fd6a[0x34]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x4e3a5e,0xa,_0x34fd6a[0x35]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x5a3395,0xf,_0x34fd6a[0x36]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x316c87,0x15,_0x34fd6a[0x37]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x291ea3,0x6,_0x34fd6a[0x38]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0xaad0d3,0xa,_0x34fd6a[0x39]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x3da290,0xf,_0x34fd6a[0x3a]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x27db29,0x15,_0x34fd6a[0x3b]),_0x5aa973=_0x267818(_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x16907d,_0x286b97,0x6,_0x34fd6a[0x3c]),_0x16907d=_0x267818(_0x16907d,_0x5aa973,_0x7a1a01,_0x5f4cd3,_0x450eb6,0xa,_0x34fd6a[0x3d]),_0x5f4cd3=_0x267818(_0x5f4cd3,_0x16907d,_0x5aa973,_0x7a1a01,_0x44ac0b,0xf,_0x34fd6a[0x3e]),_0x7a1a01=_0x267818(_0x7a1a01,_0x5f4cd3,_0x16907d,_0x5aa973,_0x33e7b8,0x15,_0x34fd6a[0x3f]),_0x2963c2[0x0]=_0x2963c2[0x0]+_0x5aa973|0x0,_0x2963c2[0x1]=_0x2963c2[0x1]+_0x7a1a01|0x0,_0x2963c2[0x2]=_0x2963c2[0x2]+_0x5f4cd3|0x0,_0x2963c2[0x3]=_0x2963c2[0x3]+_0x16907d|0x0;},'_doFinalize':function(){var _0x1fc3eb=_0x24e033,_0xa7657a=this[_0x1fc3eb(0x465)],_0x3758b3=_0xa7657a[_0x1fc3eb(0x30e)],_0x2f97d1=this[_0x1fc3eb(0x2af)]*0x8,_0x1d6756=_0xa7657a[_0x1fc3eb(0x436)]*0x8;_0x3758b3[_0x1d6756>>>0x5]|=0x80<<0x18-_0x1d6756%0x20;var _0x5e8d10=_0x3fc3e4[_0x1fc3eb(0x1f5)](_0x2f97d1/0x100000000),_0xd5f03=_0x2f97d1;_0x3758b3[(_0x1d6756+0x40>>>0x9<<0x4)+0xf]=(_0x5e8d10<<0x8|_0x5e8d10>>>0x18)&0xff00ff|(_0x5e8d10<<0x18|_0x5e8d10>>>0x8)&0xff00ff00,_0x3758b3[(_0x1d6756+0x40>>>0x9<<0x4)+0xe]=(_0xd5f03<<0x8|_0xd5f03>>>0x18)&0xff00ff|(_0xd5f03<<0x18|_0xd5f03>>>0x8)&0xff00ff00,_0xa7657a[_0x1fc3eb(0x436)]=(_0x3758b3['length']+0x1)*0x4,this[_0x1fc3eb(0x522)]();for(var _0x3b92de=this[_0x1fc3eb(0x2e8)],_0x596ba2=_0x3b92de[_0x1fc3eb(0x30e)],_0xf5aa15=0x0;_0xf5aa15<0x4;_0xf5aa15++){var _0x438658=_0x596ba2[_0xf5aa15];_0x596ba2[_0xf5aa15]=(_0x438658<<0x8|_0x438658>>>0x18)&0xff00ff|(_0x438658<<0x18|_0x438658>>>0x8)&0xff00ff00;}return _0x3b92de;},'clone':function(){var _0x126588=_0x24e033,_0x54989b=_0x533730[_0x126588(0x52e)][_0x126588(0x4c4)](this);return _0x54989b[_0x126588(0x2e8)]=this[_0x126588(0x2e8)][_0x126588(0x52e)](),_0x54989b;}});function _0x85e5c7(_0x57ac71,_0x4bbe79,_0x42e61a,_0x59db22,_0x169d7a,_0xa711d2,_0x5d8b1d){var _0xffbd0c=_0x57ac71+(_0x4bbe79&_0x42e61a|~_0x4bbe79&_0x59db22)+_0x169d7a+_0x5d8b1d;return(_0xffbd0c<<_0xa711d2|_0xffbd0c>>>0x20-_0xa711d2)+_0x4bbe79;}function _0x52d114(_0x1ccb0e,_0x105d7d,_0x28ec5b,_0x21f248,_0x1b70f0,_0x3aa496,_0xac5e8){var _0x54e524=_0x1ccb0e+(_0x105d7d&_0x21f248|_0x28ec5b&~_0x21f248)+_0x1b70f0+_0xac5e8;return(_0x54e524<<_0x3aa496|_0x54e524>>>0x20-_0x3aa496)+_0x105d7d;}function _0x9010e8(_0x163121,_0x278a29,_0xceef0,_0x586fc7,_0x4814d2,_0x36e23c,_0x5a09f9){var _0x34097d=_0x163121+(_0x278a29^_0xceef0^_0x586fc7)+_0x4814d2+_0x5a09f9;return(_0x34097d<<_0x36e23c|_0x34097d>>>0x20-_0x36e23c)+_0x278a29;}function _0x267818(_0x459a7c,_0x11f4f8,_0x4fc4cc,_0x418000,_0x3cf0af,_0x4977f9,_0x5341f0){var _0x5eb133=_0x459a7c+(_0x4fc4cc^(_0x11f4f8|~_0x418000))+_0x3cf0af+_0x5341f0;return(_0x5eb133<<_0x4977f9|_0x5eb133>>>0x20-_0x4977f9)+_0x11f4f8;}_0x10d118[_0x24e033(0x42c)]=_0x533730[_0x24e033(0x3bd)](_0x36c0cc),_0x10d118['HmacMD5']=_0x533730['_createHmacHelper'](_0x36c0cc);}(Math),_0x33656f[_0x564ae8(0x42c)];}));}(_0x32baeb)),_0x32baeb[_0x5e4241(0x375)];}var _0x31c94c={'exports':{}},_0x42392e={'exports':{}},_0x4d2944=_0x42392e[_0x3b85f3(0x375)],_0x530498;function _0x5e943a(){return _0x530498||(_0x530498=0x1,function(_0x2228f2,_0x388caa){(function(_0xe664ea,_0x2240d2){var _0xa2c284=_0x222a;_0x2228f2[_0xa2c284(0x375)]=_0x2240d2(_0x19ebea());}(_0x4d2944,function(_0x3431b1){var _0x21d05d=_0x222a;return(function(){var _0x2b1baf=_0x222a,_0x16bd67=_0x3431b1,_0x5cdcc2=_0x16bd67[_0x2b1baf(0x563)],_0x2cf08d=_0x5cdcc2[_0x2b1baf(0x2de)],_0x3a9b9f=_0x5cdcc2[_0x2b1baf(0x386)],_0x3d8d48=_0x16bd67['algo'],_0x2ee788=[],_0x893ed4=_0x3d8d48[_0x2b1baf(0x29a)]=_0x3a9b9f[_0x2b1baf(0x39f)]({'_doReset':function(){var _0x498a7d=_0x2b1baf;this[_0x498a7d(0x2e8)]=new _0x2cf08d[(_0x498a7d(0x4e1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3ec0c4,_0x35cb92){var _0x4f6ea1=_0x2b1baf;for(var _0x46fce0=this[_0x4f6ea1(0x2e8)]['words'],_0x909a99=_0x46fce0[0x0],_0x21aa88=_0x46fce0[0x1],_0x56a76c=_0x46fce0[0x2],_0x1b0ce3=_0x46fce0[0x3],_0x533956=_0x46fce0[0x4],_0x3c7d32=0x0;_0x3c7d32<0x50;_0x3c7d32++){if(_0x3c7d32<0x10)_0x2ee788[_0x3c7d32]=_0x3ec0c4[_0x35cb92+_0x3c7d32]|0x0;else{var _0x7cc118=_0x2ee788[_0x3c7d32-0x3]^_0x2ee788[_0x3c7d32-0x8]^_0x2ee788[_0x3c7d32-0xe]^_0x2ee788[_0x3c7d32-0x10];_0x2ee788[_0x3c7d32]=_0x7cc118<<0x1|_0x7cc118>>>0x1f;}var _0x12d288=(_0x909a99<<0x5|_0x909a99>>>0x1b)+_0x533956+_0x2ee788[_0x3c7d32];_0x3c7d32<0x14?_0x12d288+=(_0x21aa88&_0x56a76c|~_0x21aa88&_0x1b0ce3)+0x5a827999:_0x3c7d32<0x28?_0x12d288+=(_0x21aa88^_0x56a76c^_0x1b0ce3)+0x6ed9eba1:_0x3c7d32<0x3c?_0x12d288+=(_0x21aa88&_0x56a76c|_0x21aa88&_0x1b0ce3|_0x56a76c&_0x1b0ce3)-0x70e44324:_0x12d288+=(_0x21aa88^_0x56a76c^_0x1b0ce3)-0x359d3e2a,_0x533956=_0x1b0ce3,_0x1b0ce3=_0x56a76c,_0x56a76c=_0x21aa88<<0x1e|_0x21aa88>>>0x2,_0x21aa88=_0x909a99,_0x909a99=_0x12d288;}_0x46fce0[0x0]=_0x46fce0[0x0]+_0x909a99|0x0,_0x46fce0[0x1]=_0x46fce0[0x1]+_0x21aa88|0x0,_0x46fce0[0x2]=_0x46fce0[0x2]+_0x56a76c|0x0,_0x46fce0[0x3]=_0x46fce0[0x3]+_0x1b0ce3|0x0,_0x46fce0[0x4]=_0x46fce0[0x4]+_0x533956|0x0;},'_doFinalize':function(){var _0x664fa5=_0x2b1baf,_0x269077=this['_data'],_0x36886e=_0x269077[_0x664fa5(0x30e)],_0x2490af=this[_0x664fa5(0x2af)]*0x8,_0x307a26=_0x269077[_0x664fa5(0x436)]*0x8;return _0x36886e[_0x307a26>>>0x5]|=0x80<<0x18-_0x307a26%0x20,_0x36886e[(_0x307a26+0x40>>>0x9<<0x4)+0xe]=Math[_0x664fa5(0x1f5)](_0x2490af/0x100000000),_0x36886e[(_0x307a26+0x40>>>0x9<<0x4)+0xf]=_0x2490af,_0x269077[_0x664fa5(0x436)]=_0x36886e[_0x664fa5(0x24a)]*0x4,this[_0x664fa5(0x522)](),this['_hash'];},'clone':function(){var _0x181935=_0x2b1baf,_0x53ce43=_0x3a9b9f[_0x181935(0x52e)][_0x181935(0x4c4)](this);return _0x53ce43[_0x181935(0x2e8)]=this[_0x181935(0x2e8)][_0x181935(0x52e)](),_0x53ce43;}});_0x16bd67[_0x2b1baf(0x29a)]=_0x3a9b9f['_createHelper'](_0x893ed4),_0x16bd67[_0x2b1baf(0x35f)]=_0x3a9b9f[_0x2b1baf(0x54d)](_0x893ed4);}()),_0x3431b1[_0x21d05d(0x29a)];}));}(_0x42392e)),_0x42392e['exports'];}var _0x24aa0e={'exports':{}},_0x4c0aee=_0x24aa0e[_0x3b85f3(0x375)],_0x288d21;function _0x5c392a(){var _0x1ae4b0=_0x3b85f3;return _0x288d21||(_0x288d21=0x1,function(_0x326529,_0x3a878e){(function(_0x3992da,_0x45399a){var _0xcce024=_0x222a;_0x326529[_0xcce024(0x375)]=_0x45399a(_0x19ebea());}(_0x4c0aee,function(_0x4ee675){(function(){var _0x48ab55=_0x222a,_0x46c251=_0x4ee675,_0x179650=_0x46c251['lib'],_0x4bbb0f=_0x179650[_0x48ab55(0x511)],_0x9722e8=_0x46c251[_0x48ab55(0x344)],_0x6bc1c8=_0x9722e8[_0x48ab55(0x286)],_0x5e96ce=_0x46c251[_0x48ab55(0x2e0)];_0x5e96ce[_0x48ab55(0x50a)]=_0x4bbb0f[_0x48ab55(0x39f)]({'init':function(_0x59d148,_0x1215a5){var _0x58d232=_0x48ab55;_0x59d148=this[_0x58d232(0x3a8)]=new _0x59d148[(_0x58d232(0x4e1))](),typeof _0x1215a5==_0x58d232(0x2f5)&&(_0x1215a5=_0x6bc1c8[_0x58d232(0x2a8)](_0x1215a5));var _0x7c3b51=_0x59d148[_0x58d232(0x20f)],_0x3d3385=_0x7c3b51*0x4;_0x1215a5['sigBytes']>_0x3d3385&&(_0x1215a5=_0x59d148[_0x58d232(0x411)](_0x1215a5)),_0x1215a5[_0x58d232(0x405)]();for(var _0x32a073=this['_oKey']=_0x1215a5[_0x58d232(0x52e)](),_0x235868=this[_0x58d232(0x4ed)]=_0x1215a5[_0x58d232(0x52e)](),_0x3ffd29=_0x32a073[_0x58d232(0x30e)],_0x23e030=_0x235868['words'],_0x191222=0x0;_0x191222<_0x7c3b51;_0x191222++)_0x3ffd29[_0x191222]^=0x5c5c5c5c,_0x23e030[_0x191222]^=0x36363636;_0x32a073[_0x58d232(0x436)]=_0x235868[_0x58d232(0x436)]=_0x3d3385,this[_0x58d232(0x1cd)]();},'reset':function(){var _0x3d3e4a=_0x48ab55,_0x14a7b9=this['_hasher'];_0x14a7b9[_0x3d3e4a(0x1cd)](),_0x14a7b9['update'](this[_0x3d3e4a(0x4ed)]);},'update':function(_0x4cb2a1){var _0x2ce77a=_0x48ab55;return this[_0x2ce77a(0x3a8)][_0x2ce77a(0x2a4)](_0x4cb2a1),this;},'finalize':function(_0x352084){var _0x3b7d97=_0x48ab55,_0x4dd113=this['_hasher'],_0x2f1a44=_0x4dd113[_0x3b7d97(0x411)](_0x352084);_0x4dd113['reset']();var _0x17689b=_0x4dd113[_0x3b7d97(0x411)](this['_oKey'][_0x3b7d97(0x52e)]()[_0x3b7d97(0x211)](_0x2f1a44));return _0x17689b;}});}());}));}(_0x24aa0e)),_0x24aa0e[_0x1ae4b0(0x375)];}var _0x54368c=_0x31c94c[_0x3b85f3(0x375)],_0x3f6bae;function _0x3e1602(){var _0x38b7fd=_0x3b85f3;return _0x3f6bae||(_0x3f6bae=0x1,function(_0x2c9faa,_0xc4b40d){(function(_0xb92433,_0x484081,_0x54704b){var _0x49a572=_0x222a;_0x2c9faa[_0x49a572(0x375)]=_0x484081(_0x19ebea(),_0x5e943a(),_0x5c392a());}(_0x54368c,function(_0x3feb62){var _0x81d86d=_0x222a;return(function(){var _0xce3477=_0x222a,_0x4e5b45=_0x3feb62,_0x157bf0=_0x4e5b45[_0xce3477(0x563)],_0x7c8e6d=_0x157bf0[_0xce3477(0x511)],_0xdb06d1=_0x157bf0[_0xce3477(0x2de)],_0x5a20db=_0x4e5b45[_0xce3477(0x2e0)],_0x5128e7=_0x5a20db[_0xce3477(0x42c)],_0x4e0f57=_0x5a20db[_0xce3477(0x470)]=_0x7c8e6d[_0xce3477(0x39f)]({'cfg':_0x7c8e6d[_0xce3477(0x39f)]({'keySize':0x80/0x20,'hasher':_0x5128e7,'iterations':0x1}),'init':function(_0x464ada){var _0x499456=_0xce3477;this[_0x499456(0x252)]=this['cfg'][_0x499456(0x39f)](_0x464ada);},'compute':function(_0x2bde7b,_0x444974){var _0x14a63c=_0xce3477;for(var _0x2fede4,_0x87032d=this[_0x14a63c(0x252)],_0x44ad59=_0x87032d[_0x14a63c(0x2fb)][_0x14a63c(0x444)](),_0xebc9bf=_0xdb06d1[_0x14a63c(0x444)](),_0x426143=_0xebc9bf['words'],_0x2c4ae7=_0x87032d['keySize'],_0x14ad5e=_0x87032d[_0x14a63c(0x339)];_0x426143[_0x14a63c(0x24a)]<_0x2c4ae7;){_0x2fede4&&_0x44ad59[_0x14a63c(0x2a4)](_0x2fede4),_0x2fede4=_0x44ad59['update'](_0x2bde7b)[_0x14a63c(0x411)](_0x444974),_0x44ad59[_0x14a63c(0x1cd)]();for(var _0x2be184=0x1;_0x2be184<_0x14ad5e;_0x2be184++)_0x2fede4=_0x44ad59['finalize'](_0x2fede4),_0x44ad59[_0x14a63c(0x1cd)]();_0xebc9bf['concat'](_0x2fede4);}return _0xebc9bf['sigBytes']=_0x2c4ae7*0x4,_0xebc9bf;}});_0x4e5b45[_0xce3477(0x470)]=function(_0x322077,_0x50af01,_0x3eadaa){var _0x39cb1b=_0xce3477;return _0x4e0f57[_0x39cb1b(0x444)](_0x3eadaa)['compute'](_0x322077,_0x50af01);};}()),_0x3feb62[_0x81d86d(0x470)];}));}(_0x31c94c)),_0x31c94c[_0x38b7fd(0x375)];}var _0x2ccee7={'exports':{}},_0x49d383=_0x2ccee7['exports'],_0x37cb56;function _0x3d46bc(){var _0x418fe5=_0x3b85f3;return _0x37cb56||(_0x37cb56=0x1,function(_0x559d1d,_0xe1779a){(function(_0x97fd67,_0x15c185,_0x4524a0){var _0xb16a3=_0x222a;_0x559d1d[_0xb16a3(0x375)]=_0x15c185(_0x19ebea(),_0x3e1602());}(_0x49d383,function(_0x3d1381){var _0x273f8e=_0x222a;_0x3d1381[_0x273f8e(0x563)][_0x273f8e(0x52a)]||function(_0x52daa5){var _0x1c7ee7=_0x273f8e,_0x4be53e=_0x3d1381,_0x16d229=_0x4be53e[_0x1c7ee7(0x563)],_0x5afe0e=_0x16d229['Base'],_0x205607=_0x16d229[_0x1c7ee7(0x2de)],_0xdde14d=_0x16d229[_0x1c7ee7(0x437)],_0x443b58=_0x4be53e[_0x1c7ee7(0x344)];_0x443b58[_0x1c7ee7(0x286)];var _0xfec7f7=_0x443b58[_0x1c7ee7(0x3e6)],_0x4610d5=_0x4be53e['algo'],_0x20a66a=_0x4610d5[_0x1c7ee7(0x470)],_0x27b764=_0x16d229[_0x1c7ee7(0x52a)]=_0xdde14d[_0x1c7ee7(0x39f)]({'cfg':_0x5afe0e['extend'](),'createEncryptor':function(_0x2ec2a4,_0x3e3ed0){var _0x3a9854=_0x1c7ee7;return this[_0x3a9854(0x444)](this[_0x3a9854(0x47a)],_0x2ec2a4,_0x3e3ed0);},'createDecryptor':function(_0x5544a2,_0xce5d6f){var _0xf8f760=_0x1c7ee7;return this[_0xf8f760(0x444)](this[_0xf8f760(0x52b)],_0x5544a2,_0xce5d6f);},'init':function(_0x299def,_0x1aa7b6,_0x269b38){var _0x5296b5=_0x1c7ee7;this[_0x5296b5(0x252)]=this[_0x5296b5(0x252)]['extend'](_0x269b38),this[_0x5296b5(0x51e)]=_0x299def,this['_key']=_0x1aa7b6,this['reset']();},'reset':function(){var _0x4ee7cf=_0x1c7ee7;_0xdde14d[_0x4ee7cf(0x1cd)][_0x4ee7cf(0x4c4)](this),this[_0x4ee7cf(0x208)]();},'process':function(_0x5090db){var _0xc9038=_0x1c7ee7;return this[_0xc9038(0x3f6)](_0x5090db),this['_process']();},'finalize':function(_0x30ec6c){var _0x12377e=_0x1c7ee7;_0x30ec6c&&this[_0x12377e(0x3f6)](_0x30ec6c);var _0x251687=this[_0x12377e(0x490)]();return _0x251687;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2bfbfd(_0x489e18){var _0x1a338e=_0x222a;return typeof _0x489e18==_0x1a338e(0x2f5)?_0x4512f5:_0x505643;}return function(_0x139f32){return{'encrypt':function(_0x1b3e16,_0x414256,_0x52b338){var _0x1adbb3=_0x222a;return _0x2bfbfd(_0x414256)[_0x1adbb3(0x43c)](_0x139f32,_0x1b3e16,_0x414256,_0x52b338);},'decrypt':function(_0x29f3e9,_0x490c72,_0x2e9b24){var _0x2b6fb1=_0x222a;return _0x2bfbfd(_0x490c72)[_0x2b6fb1(0x379)](_0x139f32,_0x29f3e9,_0x490c72,_0x2e9b24);}};};}())});_0x16d229['StreamCipher']=_0x27b764[_0x1c7ee7(0x39f)]({'_doFinalize':function(){var _0x417868=_0x1c7ee7,_0x1f1b34=this[_0x417868(0x522)](!0x0);return _0x1f1b34;},'blockSize':0x1});var _0x36bcb3=_0x4be53e[_0x1c7ee7(0x28e)]={},_0x21bdd1=_0x16d229[_0x1c7ee7(0x538)]=_0x5afe0e[_0x1c7ee7(0x39f)]({'createEncryptor':function(_0x4fa23d,_0x13b503){var _0x1694ca=_0x1c7ee7;return this[_0x1694ca(0x394)]['create'](_0x4fa23d,_0x13b503);},'createDecryptor':function(_0x5b4efc,_0x4f3731){var _0x391f64=_0x1c7ee7;return this[_0x391f64(0x38f)][_0x391f64(0x444)](_0x5b4efc,_0x4f3731);},'init':function(_0x1acbd9,_0x33fff1){var _0xa3fcbd=_0x1c7ee7;this[_0xa3fcbd(0x361)]=_0x1acbd9,this[_0xa3fcbd(0x26b)]=_0x33fff1;}}),_0x2f06e3=_0x36bcb3['CBC']=(function(){var _0x368320=_0x1c7ee7,_0x52a24a=_0x21bdd1[_0x368320(0x39f)]();_0x52a24a[_0x368320(0x394)]=_0x52a24a[_0x368320(0x39f)]({'processBlock':function(_0x758a5c,_0x112459){var _0x337508=_0x368320,_0x506718=this[_0x337508(0x361)],_0x54db51=_0x506718['blockSize'];_0x2b1cdf[_0x337508(0x4c4)](this,_0x758a5c,_0x112459,_0x54db51),_0x506718[_0x337508(0x3b7)](_0x758a5c,_0x112459),this['_prevBlock']=_0x758a5c[_0x337508(0x3db)](_0x112459,_0x112459+_0x54db51);}}),_0x52a24a['Decryptor']=_0x52a24a[_0x368320(0x39f)]({'processBlock':function(_0x3f3260,_0x237f02){var _0x5a7681=_0x368320,_0x1decfa=this['_cipher'],_0x57d210=_0x1decfa['blockSize'],_0x3b5cd4=_0x3f3260['slice'](_0x237f02,_0x237f02+_0x57d210);_0x1decfa[_0x5a7681(0x259)](_0x3f3260,_0x237f02),_0x2b1cdf[_0x5a7681(0x4c4)](this,_0x3f3260,_0x237f02,_0x57d210),this[_0x5a7681(0x27c)]=_0x3b5cd4;}});function _0x2b1cdf(_0x3716a1,_0x3656a9,_0x2f8001){var _0x44ea59=_0x368320,_0x427923,_0x30b60a=this[_0x44ea59(0x26b)];_0x30b60a?(_0x427923=_0x30b60a,this[_0x44ea59(0x26b)]=_0x52daa5):_0x427923=this['_prevBlock'];for(var _0x5e4702=0x0;_0x5e4702<_0x2f8001;_0x5e4702++)_0x3716a1[_0x3656a9+_0x5e4702]^=_0x427923[_0x5e4702];}return _0x52a24a;}()),_0x12addb=_0x4be53e['pad']={},_0xccd6ad=_0x12addb['Pkcs7']={'pad':function(_0x18c213,_0x5c2155){var _0x9844d4=_0x1c7ee7;for(var _0x4fbf32=_0x5c2155*0x4,_0x2a6ecd=_0x4fbf32-_0x18c213[_0x9844d4(0x436)]%_0x4fbf32,_0x2ccd27=_0x2a6ecd<<0x18|_0x2a6ecd<<0x10|_0x2a6ecd<<0x8|_0x2a6ecd,_0x29ba44=[],_0x174aa0=0x0;_0x174aa0<_0x2a6ecd;_0x174aa0+=0x4)_0x29ba44[_0x9844d4(0x2cd)](_0x2ccd27);var _0x3f33e0=_0x205607['create'](_0x29ba44,_0x2a6ecd);_0x18c213[_0x9844d4(0x211)](_0x3f33e0);},'unpad':function(_0x1d835d){var _0x54b0ee=_0x1c7ee7,_0x223cf5=_0x1d835d[_0x54b0ee(0x30e)][_0x1d835d[_0x54b0ee(0x436)]-0x1>>>0x2]&0xff;_0x1d835d['sigBytes']-=_0x223cf5;}};_0x16d229['BlockCipher']=_0x27b764[_0x1c7ee7(0x39f)]({'cfg':_0x27b764[_0x1c7ee7(0x252)][_0x1c7ee7(0x39f)]({'mode':_0x2f06e3,'padding':_0xccd6ad}),'reset':function(){var _0x48155e=_0x1c7ee7,_0x5ba3f0;_0x27b764['reset'][_0x48155e(0x4c4)](this);var _0x5ed6d4=this[_0x48155e(0x252)],_0x44f61c=_0x5ed6d4['iv'],_0x104ef6=_0x5ed6d4['mode'];this[_0x48155e(0x51e)]==this[_0x48155e(0x47a)]?_0x5ba3f0=_0x104ef6[_0x48155e(0x2c3)]:(_0x5ba3f0=_0x104ef6['createDecryptor'],this[_0x48155e(0x417)]=0x1),this[_0x48155e(0x3b6)]&&this[_0x48155e(0x3b6)]['__creator']==_0x5ba3f0?this[_0x48155e(0x3b6)][_0x48155e(0x4e1)](this,_0x44f61c&&_0x44f61c[_0x48155e(0x30e)]):(this[_0x48155e(0x3b6)]=_0x5ba3f0[_0x48155e(0x4c4)](_0x104ef6,this,_0x44f61c&&_0x44f61c['words']),this['_mode'][_0x48155e(0x2aa)]=_0x5ba3f0);},'_doProcessBlock':function(_0x1e2e9b,_0x39e311){var _0x43f6ab=_0x1c7ee7;this[_0x43f6ab(0x3b6)]['processBlock'](_0x1e2e9b,_0x39e311);},'_doFinalize':function(){var _0xce7dce=_0x1c7ee7,_0x478f48,_0x3715f6=this[_0xce7dce(0x252)][_0xce7dce(0x2ae)];return this['_xformMode']==this[_0xce7dce(0x47a)]?(_0x3715f6[_0xce7dce(0x388)](this[_0xce7dce(0x465)],this[_0xce7dce(0x20f)]),_0x478f48=this[_0xce7dce(0x522)](!0x0)):(_0x478f48=this[_0xce7dce(0x522)](!0x0),_0x3715f6['unpad'](_0x478f48)),_0x478f48;},'blockSize':0x80/0x20});var _0x145d08=_0x16d229[_0x1c7ee7(0x327)]=_0x5afe0e[_0x1c7ee7(0x39f)]({'init':function(_0x366964){var _0x2326f5=_0x1c7ee7;this[_0x2326f5(0x27b)](_0x366964);},'toString':function(_0x27b9d6){var _0x5adc3b=_0x1c7ee7;return(_0x27b9d6||this[_0x5adc3b(0x1f3)])[_0x5adc3b(0x3ff)](this);}}),_0x20e429=_0x4be53e[_0x1c7ee7(0x501)]={},_0x598eab=_0x20e429[_0x1c7ee7(0x314)]={'stringify':function(_0x407691){var _0x546ca6=_0x1c7ee7,_0x336458,_0x538513=_0x407691[_0x546ca6(0x21f)],_0x4632dc=_0x407691[_0x546ca6(0x517)];return _0x4632dc?_0x336458=_0x205607[_0x546ca6(0x444)]([0x53616c74,0x65645f5f])[_0x546ca6(0x211)](_0x4632dc)[_0x546ca6(0x211)](_0x538513):_0x336458=_0x538513,_0x336458[_0x546ca6(0x3f5)](_0xfec7f7);},'parse':function(_0x15d01b){var _0x28f446=_0x1c7ee7,_0x2c2ec4,_0x5bc657=_0xfec7f7[_0x28f446(0x2a8)](_0x15d01b),_0x214250=_0x5bc657['words'];return _0x214250[0x0]==0x53616c74&&_0x214250[0x1]==0x65645f5f&&(_0x2c2ec4=_0x205607[_0x28f446(0x444)](_0x214250[_0x28f446(0x3db)](0x2,0x4)),_0x214250[_0x28f446(0x4ca)](0x0,0x4),_0x5bc657[_0x28f446(0x436)]-=0x10),_0x145d08[_0x28f446(0x444)]({'ciphertext':_0x5bc657,'salt':_0x2c2ec4});}},_0x505643=_0x16d229[_0x1c7ee7(0x3a0)]=_0x5afe0e[_0x1c7ee7(0x39f)]({'cfg':_0x5afe0e[_0x1c7ee7(0x39f)]({'format':_0x598eab}),'encrypt':function(_0x2cb55c,_0x37e538,_0x428155,_0x500d33){var _0x5face6=_0x1c7ee7;_0x500d33=this[_0x5face6(0x252)]['extend'](_0x500d33);var _0x4406d2=_0x2cb55c[_0x5face6(0x2c3)](_0x428155,_0x500d33),_0x179cdb=_0x4406d2['finalize'](_0x37e538),_0xb0d1c4=_0x4406d2[_0x5face6(0x252)];return _0x145d08[_0x5face6(0x444)]({'ciphertext':_0x179cdb,'key':_0x428155,'iv':_0xb0d1c4['iv'],'algorithm':_0x2cb55c,'mode':_0xb0d1c4[_0x5face6(0x28e)],'padding':_0xb0d1c4[_0x5face6(0x2ae)],'blockSize':_0x2cb55c[_0x5face6(0x20f)],'formatter':_0x500d33[_0x5face6(0x501)]});},'decrypt':function(_0x12b015,_0x23b0be,_0xa9d37f,_0xe29a7c){var _0x221de7=_0x1c7ee7;_0xe29a7c=this[_0x221de7(0x252)][_0x221de7(0x39f)](_0xe29a7c),_0x23b0be=this[_0x221de7(0x40b)](_0x23b0be,_0xe29a7c[_0x221de7(0x501)]);var _0x1774aa=_0x12b015['createDecryptor'](_0xa9d37f,_0xe29a7c)['finalize'](_0x23b0be[_0x221de7(0x21f)]);return _0x1774aa;},'_parse':function(_0x516f25,_0x719ffb){var _0x454e52=_0x1c7ee7;return typeof _0x516f25=='string'?_0x719ffb[_0x454e52(0x2a8)](_0x516f25,this):_0x516f25;}}),_0x228118=_0x4be53e['kdf']={},_0x1f9e95=_0x228118['OpenSSL']={'execute':function(_0x5d7d1a,_0x293a8e,_0x439de6,_0x24c578,_0x5d8b95){var _0x22c098=_0x1c7ee7;if(_0x24c578||(_0x24c578=_0x205607[_0x22c098(0x1ce)](0x40/0x8)),_0x5d8b95)var _0x10dee6=_0x20a66a['create']({'keySize':_0x293a8e+_0x439de6,'hasher':_0x5d8b95})['compute'](_0x5d7d1a,_0x24c578);else var _0x10dee6=_0x20a66a[_0x22c098(0x444)]({'keySize':_0x293a8e+_0x439de6})[_0x22c098(0x545)](_0x5d7d1a,_0x24c578);var _0x561e3f=_0x205607['create'](_0x10dee6[_0x22c098(0x30e)][_0x22c098(0x3db)](_0x293a8e),_0x439de6*0x4);return _0x10dee6[_0x22c098(0x436)]=_0x293a8e*0x4,_0x145d08['create']({'key':_0x10dee6,'iv':_0x561e3f,'salt':_0x24c578});}},_0x4512f5=_0x16d229[_0x1c7ee7(0x203)]=_0x505643[_0x1c7ee7(0x39f)]({'cfg':_0x505643['cfg'][_0x1c7ee7(0x39f)]({'kdf':_0x1f9e95}),'encrypt':function(_0x4838ac,_0x3aba8b,_0x36d148,_0xcbaafd){var _0x1bd9b5=_0x1c7ee7;_0xcbaafd=this[_0x1bd9b5(0x252)]['extend'](_0xcbaafd);var _0x5c756f=_0xcbaafd['kdf'][_0x1bd9b5(0x412)](_0x36d148,_0x4838ac['keySize'],_0x4838ac[_0x1bd9b5(0x29c)],_0xcbaafd[_0x1bd9b5(0x517)],_0xcbaafd[_0x1bd9b5(0x2fb)]);_0xcbaafd['iv']=_0x5c756f['iv'];var _0x1f1cf7=_0x505643[_0x1bd9b5(0x43c)][_0x1bd9b5(0x4c4)](this,_0x4838ac,_0x3aba8b,_0x5c756f['key'],_0xcbaafd);return _0x1f1cf7[_0x1bd9b5(0x27b)](_0x5c756f),_0x1f1cf7;},'decrypt':function(_0x400e6d,_0x5892fb,_0x54931e,_0x38d831){var _0x410763=_0x1c7ee7;_0x38d831=this['cfg'][_0x410763(0x39f)](_0x38d831),_0x5892fb=this[_0x410763(0x40b)](_0x5892fb,_0x38d831[_0x410763(0x501)]);var _0x4c3048=_0x38d831['kdf'][_0x410763(0x412)](_0x54931e,_0x400e6d[_0x410763(0x21e)],_0x400e6d[_0x410763(0x29c)],_0x5892fb[_0x410763(0x517)],_0x38d831['hasher']);_0x38d831['iv']=_0x4c3048['iv'];var _0xef3df6=_0x505643[_0x410763(0x379)]['call'](this,_0x400e6d,_0x5892fb,_0x4c3048[_0x410763(0x559)],_0x38d831);return _0xef3df6;}});}();}));}(_0x2ccee7)),_0x2ccee7[_0x418fe5(0x375)];}var _0x157c7f=_0x1ef8e4[_0x3b85f3(0x375)],_0x43271c;function _0x1c4b92(){return _0x43271c||(_0x43271c=0x1,function(_0x7f8d19,_0x4952fc){(function(_0xf7aa9b,_0xf4e752,_0x561b37){_0x7f8d19['exports']=_0xf4e752(_0x19ebea(),_0x2e66f6(),_0x1cda65(),_0x3e1602(),_0x3d46bc());}(_0x157c7f,function(_0x3284ca){var _0x137da8=_0x222a;return(function(){var _0x18c2e3=_0x222a,_0x533a94=_0x3284ca,_0x57dc3a=_0x533a94[_0x18c2e3(0x563)],_0x5966a0=_0x57dc3a['BlockCipher'],_0x41700e=_0x533a94['algo'],_0x1834c4=[],_0x536ffc=[],_0x2ea63e=[],_0x5a8b55=[],_0x1da941=[],_0x5f3fc9=[],_0x579f98=[],_0x4bcc3d=[],_0xddfa7d=[],_0x5f4c3a=[];(function(){for(var _0x46256e=[],_0x414521=0x0;_0x414521<0x100;_0x414521++)_0x414521<0x80?_0x46256e[_0x414521]=_0x414521<<0x1:_0x46256e[_0x414521]=_0x414521<<0x1^0x11b;for(var _0x391964=0x0,_0x5abe73=0x0,_0x414521=0x0;_0x414521<0x100;_0x414521++){var _0x1a9478=_0x5abe73^_0x5abe73<<0x1^_0x5abe73<<0x2^_0x5abe73<<0x3^_0x5abe73<<0x4;_0x1a9478=_0x1a9478>>>0x8^_0x1a9478&0xff^0x63,_0x1834c4[_0x391964]=_0x1a9478,_0x536ffc[_0x1a9478]=_0x391964;var _0x9052=_0x46256e[_0x391964],_0x59fc75=_0x46256e[_0x9052],_0x4f307f=_0x46256e[_0x59fc75],_0x12a864=_0x46256e[_0x1a9478]*0x101^_0x1a9478*0x1010100;_0x2ea63e[_0x391964]=_0x12a864<<0x18|_0x12a864>>>0x8,_0x5a8b55[_0x391964]=_0x12a864<<0x10|_0x12a864>>>0x10,_0x1da941[_0x391964]=_0x12a864<<0x8|_0x12a864>>>0x18,_0x5f3fc9[_0x391964]=_0x12a864;var _0x12a864=_0x4f307f*0x1010101^_0x59fc75*0x10001^_0x9052*0x101^_0x391964*0x1010100;_0x579f98[_0x1a9478]=_0x12a864<<0x18|_0x12a864>>>0x8,_0x4bcc3d[_0x1a9478]=_0x12a864<<0x10|_0x12a864>>>0x10,_0xddfa7d[_0x1a9478]=_0x12a864<<0x8|_0x12a864>>>0x18,_0x5f4c3a[_0x1a9478]=_0x12a864,_0x391964?(_0x391964=_0x9052^_0x46256e[_0x46256e[_0x46256e[_0x4f307f^_0x9052]]],_0x5abe73^=_0x46256e[_0x46256e[_0x5abe73]]):_0x391964=_0x5abe73=0x1;}}());var _0x5dbc50=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x301e81=_0x41700e['AES']=_0x5966a0[_0x18c2e3(0x39f)]({'_doReset':function(){var _0x1b047f=_0x18c2e3,_0x14d79f;if(!(this[_0x1b047f(0x1fa)]&&this['_keyPriorReset']===this['_key'])){for(var _0x39e5f3=this[_0x1b047f(0x461)]=this[_0x1b047f(0x420)],_0x577c8c=_0x39e5f3[_0x1b047f(0x30e)],_0x4b0ee9=_0x39e5f3[_0x1b047f(0x436)]/0x4,_0x2ae7e0=this[_0x1b047f(0x1fa)]=_0x4b0ee9+0x6,_0x1e8296=(_0x2ae7e0+0x1)*0x4,_0x4f9ab8=this['_keySchedule']=[],_0x3bdd6b=0x0;_0x3bdd6b<_0x1e8296;_0x3bdd6b++)_0x3bdd6b<_0x4b0ee9?_0x4f9ab8[_0x3bdd6b]=_0x577c8c[_0x3bdd6b]:(_0x14d79f=_0x4f9ab8[_0x3bdd6b-0x1],_0x3bdd6b%_0x4b0ee9?_0x4b0ee9>0x6&&_0x3bdd6b%_0x4b0ee9==0x4&&(_0x14d79f=_0x1834c4[_0x14d79f>>>0x18]<<0x18|_0x1834c4[_0x14d79f>>>0x10&0xff]<<0x10|_0x1834c4[_0x14d79f>>>0x8&0xff]<<0x8|_0x1834c4[_0x14d79f&0xff]):(_0x14d79f=_0x14d79f<<0x8|_0x14d79f>>>0x18,_0x14d79f=_0x1834c4[_0x14d79f>>>0x18]<<0x18|_0x1834c4[_0x14d79f>>>0x10&0xff]<<0x10|_0x1834c4[_0x14d79f>>>0x8&0xff]<<0x8|_0x1834c4[_0x14d79f&0xff],_0x14d79f^=_0x5dbc50[_0x3bdd6b/_0x4b0ee9|0x0]<<0x18),_0x4f9ab8[_0x3bdd6b]=_0x4f9ab8[_0x3bdd6b-_0x4b0ee9]^_0x14d79f);for(var _0x505ac7=this[_0x1b047f(0x1df)]=[],_0x27aa20=0x0;_0x27aa20<_0x1e8296;_0x27aa20++){var _0x3bdd6b=_0x1e8296-_0x27aa20;if(_0x27aa20%0x4)var _0x14d79f=_0x4f9ab8[_0x3bdd6b];else var _0x14d79f=_0x4f9ab8[_0x3bdd6b-0x4];_0x27aa20<0x4||_0x3bdd6b<=0x4?_0x505ac7[_0x27aa20]=_0x14d79f:_0x505ac7[_0x27aa20]=_0x579f98[_0x1834c4[_0x14d79f>>>0x18]]^_0x4bcc3d[_0x1834c4[_0x14d79f>>>0x10&0xff]]^_0xddfa7d[_0x1834c4[_0x14d79f>>>0x8&0xff]]^_0x5f4c3a[_0x1834c4[_0x14d79f&0xff]];}}},'encryptBlock':function(_0x4ff294,_0x2f79dd){var _0xa3737=_0x18c2e3;this[_0xa3737(0x564)](_0x4ff294,_0x2f79dd,this[_0xa3737(0x40c)],_0x2ea63e,_0x5a8b55,_0x1da941,_0x5f3fc9,_0x1834c4);},'decryptBlock':function(_0x1a8420,_0xe337a8){var _0x44b5e1=_0x18c2e3,_0x14c9fb=_0x1a8420[_0xe337a8+0x1];_0x1a8420[_0xe337a8+0x1]=_0x1a8420[_0xe337a8+0x3],_0x1a8420[_0xe337a8+0x3]=_0x14c9fb,this[_0x44b5e1(0x564)](_0x1a8420,_0xe337a8,this[_0x44b5e1(0x1df)],_0x579f98,_0x4bcc3d,_0xddfa7d,_0x5f4c3a,_0x536ffc);var _0x14c9fb=_0x1a8420[_0xe337a8+0x1];_0x1a8420[_0xe337a8+0x1]=_0x1a8420[_0xe337a8+0x3],_0x1a8420[_0xe337a8+0x3]=_0x14c9fb;},'_doCryptBlock':function(_0x3b6ca2,_0xaa2e7d,_0x3e219f,_0x4479f5,_0x3e39a7,_0x36d052,_0x3ca283,_0x48aa6e){var _0x3d0ec5=_0x18c2e3;for(var _0x5e0c62=this[_0x3d0ec5(0x1fa)],_0x4edb66=_0x3b6ca2[_0xaa2e7d]^_0x3e219f[0x0],_0x58a375=_0x3b6ca2[_0xaa2e7d+0x1]^_0x3e219f[0x1],_0x380fd8=_0x3b6ca2[_0xaa2e7d+0x2]^_0x3e219f[0x2],_0x373d89=_0x3b6ca2[_0xaa2e7d+0x3]^_0x3e219f[0x3],_0x107f82=0x4,_0x5db816=0x1;_0x5db816<_0x5e0c62;_0x5db816++){var _0x17e8d8=_0x4479f5[_0x4edb66>>>0x18]^_0x3e39a7[_0x58a375>>>0x10&0xff]^_0x36d052[_0x380fd8>>>0x8&0xff]^_0x3ca283[_0x373d89&0xff]^_0x3e219f[_0x107f82++],_0x323729=_0x4479f5[_0x58a375>>>0x18]^_0x3e39a7[_0x380fd8>>>0x10&0xff]^_0x36d052[_0x373d89>>>0x8&0xff]^_0x3ca283[_0x4edb66&0xff]^_0x3e219f[_0x107f82++],_0xa70611=_0x4479f5[_0x380fd8>>>0x18]^_0x3e39a7[_0x373d89>>>0x10&0xff]^_0x36d052[_0x4edb66>>>0x8&0xff]^_0x3ca283[_0x58a375&0xff]^_0x3e219f[_0x107f82++],_0xad07b4=_0x4479f5[_0x373d89>>>0x18]^_0x3e39a7[_0x4edb66>>>0x10&0xff]^_0x36d052[_0x58a375>>>0x8&0xff]^_0x3ca283[_0x380fd8&0xff]^_0x3e219f[_0x107f82++];_0x4edb66=_0x17e8d8,_0x58a375=_0x323729,_0x380fd8=_0xa70611,_0x373d89=_0xad07b4;}var _0x17e8d8=(_0x48aa6e[_0x4edb66>>>0x18]<<0x18|_0x48aa6e[_0x58a375>>>0x10&0xff]<<0x10|_0x48aa6e[_0x380fd8>>>0x8&0xff]<<0x8|_0x48aa6e[_0x373d89&0xff])^_0x3e219f[_0x107f82++],_0x323729=(_0x48aa6e[_0x58a375>>>0x18]<<0x18|_0x48aa6e[_0x380fd8>>>0x10&0xff]<<0x10|_0x48aa6e[_0x373d89>>>0x8&0xff]<<0x8|_0x48aa6e[_0x4edb66&0xff])^_0x3e219f[_0x107f82++],_0xa70611=(_0x48aa6e[_0x380fd8>>>0x18]<<0x18|_0x48aa6e[_0x373d89>>>0x10&0xff]<<0x10|_0x48aa6e[_0x4edb66>>>0x8&0xff]<<0x8|_0x48aa6e[_0x58a375&0xff])^_0x3e219f[_0x107f82++],_0xad07b4=(_0x48aa6e[_0x373d89>>>0x18]<<0x18|_0x48aa6e[_0x4edb66>>>0x10&0xff]<<0x10|_0x48aa6e[_0x58a375>>>0x8&0xff]<<0x8|_0x48aa6e[_0x380fd8&0xff])^_0x3e219f[_0x107f82++];_0x3b6ca2[_0xaa2e7d]=_0x17e8d8,_0x3b6ca2[_0xaa2e7d+0x1]=_0x323729,_0x3b6ca2[_0xaa2e7d+0x2]=_0xa70611,_0x3b6ca2[_0xaa2e7d+0x3]=_0xad07b4;},'keySize':0x100/0x20});_0x533a94[_0x18c2e3(0x240)]=_0x5966a0['_createHelper'](_0x301e81);}()),_0x3284ca[_0x137da8(0x240)];}));}(_0x1ef8e4)),_0x1ef8e4['exports'];}var _0x3c95e6=_0x1c4b92();const _0x1bb738=_0x38739b(_0x3c95e6);var _0x5edb84=_0x2e66f6();const _0x3167b1=_0x38739b(_0x5edb84);var _0x2e9cda={'exports':{}},_0x1fe925=_0x2e9cda[_0x3b85f3(0x375)],_0x5a0d7d;function _0x278c28(){var _0x585e0c=_0x3b85f3;return _0x5a0d7d||(_0x5a0d7d=0x1,function(_0xd6c0d4,_0x5f3e48){(function(_0x55f7e4,_0x174978){var _0x484e98=_0x222a;_0xd6c0d4[_0x484e98(0x375)]=_0x174978(_0x19ebea());}(_0x1fe925,function(_0x133937){var _0x2cecce=_0x222a;return _0x133937[_0x2cecce(0x344)]['Utf8'];}));}(_0x2e9cda)),_0x2e9cda[_0x585e0c(0x375)];}var _0x16149d=_0x278c28();const _0x3efdfa=_0x38739b(_0x16149d);var _0x118015={'exports':{}},_0x884938=_0x118015[_0x3b85f3(0x375)],_0x4fbab8;function _0x2bc9ad(){return _0x4fbab8||(_0x4fbab8=0x1,function(_0x2ac3aa,_0x34ff57){(function(_0x247d88,_0x4601ff){var _0x2186ae=_0x222a;_0x2ac3aa[_0x2186ae(0x375)]=_0x4601ff(_0x19ebea());}(_0x884938,function(_0x3ea44a){var _0x29a91a=_0x222a;return(function(){var _0x242868=_0x222a;if(typeof ArrayBuffer=='function'){var _0x1633de=_0x3ea44a,_0x565dc8=_0x1633de[_0x242868(0x563)],_0x20c87b=_0x565dc8[_0x242868(0x2de)],_0x4ee913=_0x20c87b[_0x242868(0x4e1)],_0x42ca90=_0x20c87b[_0x242868(0x4e1)]=function(_0x3d9268){var _0x170e2c=_0x242868;if(_0x3d9268 instanceof ArrayBuffer&&(_0x3d9268=new Uint8Array(_0x3d9268)),(_0x3d9268 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3d9268 instanceof Uint8ClampedArray||_0x3d9268 instanceof Int16Array||_0x3d9268 instanceof Uint16Array||_0x3d9268 instanceof Int32Array||_0x3d9268 instanceof Uint32Array||_0x3d9268 instanceof Float32Array||_0x3d9268 instanceof Float64Array)&&(_0x3d9268=new Uint8Array(_0x3d9268[_0x170e2c(0x1d5)],_0x3d9268['byteOffset'],_0x3d9268[_0x170e2c(0x39c)])),_0x3d9268 instanceof Uint8Array){for(var _0x20285b=_0x3d9268[_0x170e2c(0x39c)],_0x118fd1=[],_0x1c420a=0x0;_0x1c420a<_0x20285b;_0x1c420a++)_0x118fd1[_0x1c420a>>>0x2]|=_0x3d9268[_0x1c420a]<<0x18-_0x1c420a%0x4*0x8;_0x4ee913[_0x170e2c(0x4c4)](this,_0x118fd1,_0x20285b);}else _0x4ee913[_0x170e2c(0x33d)](this,arguments);};_0x42ca90['prototype']=_0x20c87b;}}()),_0x3ea44a[_0x29a91a(0x563)][_0x29a91a(0x2de)];}));}(_0x118015)),_0x118015['exports'];}var _0x224c0a=_0x2bc9ad();const _0xa0bdb4=_0x38739b(_0x224c0a);var _0x22b5ef={'exports':{}},_0x51afdd=_0x22b5ef[_0x3b85f3(0x375)],_0x87d13e;function _0x2149ce(){return _0x87d13e||(_0x87d13e=0x1,function(_0x567dd8,_0x10f3dc){(function(_0xaeb5e,_0x4e487f,_0x2d4b51){var _0x4a3e8f=_0x222a;_0x567dd8[_0x4a3e8f(0x375)]=_0x4e487f(_0x19ebea(),_0x3d46bc());}(_0x51afdd,function(_0x44352c){var _0x587127=_0x222a;return _0x44352c[_0x587127(0x388)][_0x587127(0x3c7)]={'pad':function(){},'unpad':function(){}},_0x44352c[_0x587127(0x388)][_0x587127(0x3c7)];}));}(_0x22b5ef)),_0x22b5ef['exports'];}var _0x22d3f2=_0x2149ce();const _0x5d316c=_0x38739b(_0x22d3f2);function _0x1dfed0(_0x2a40be,_0x2daf17){var _0x135bb6=_0x3b85f3;const _0x4be0cb=_0x2daf17-_0x2a40be[_0x135bb6(0x24a)]%_0x2daf17,_0x351c2d=String[_0x135bb6(0x1f0)](_0x4be0cb)[_0x135bb6(0x2b5)](_0x4be0cb);return _0x2a40be+_0x351c2d;}function _0x358c2d(_0x7b19d4,_0x1b3178){var _0x431573=_0x3b85f3;const _0x4b8ab4=_0xa0bdb4[_0x431573(0x1ce)](0x10),_0x454ed6=_0x1dfed0(_0x7b19d4,0x10),_0x4fcc7c=_0x1bb738[_0x431573(0x43c)](_0x3efdfa[_0x431573(0x2a8)](_0x454ed6),_0x3167b1[_0x431573(0x2a8)](_0x1b3178),{'iv':_0x4b8ab4,'padding':_0x5d316c});return _0x4b8ab4[_0x431573(0x211)](_0x4fcc7c[_0x431573(0x21f)])['toString'](_0x3167b1);}function _0xb18fef(){var _0x3bb680=_0x3b85f3;const _0x203b4d=_0x136827[_0x3bb680(0x270)]()[_0x3bb680(0x335)];if(_0x203b4d){const _0x4d9f40={'time':Math[_0x3bb680(0x1f5)](Date[_0x3bb680(0x202)]()/0x3e8),'domain':location[_0x3bb680(0x449)]};return _0x358c2d(JSON[_0x3bb680(0x3ff)](_0x4d9f40),_0x203b4d);}}var _0x593f97=Object[_0x3b85f3(0x2e1)],_0x45c140=(_0x218f9f,_0x12577b,_0x1ed4fa,_0x7d7e33)=>{var _0x30c7f3=_0x3b85f3;for(var _0x2dbf93=_0x7d7e33>0x1?void 0x0:_0x7d7e33?_0x593f97(_0x12577b,_0x1ed4fa):_0x12577b,_0x4e8f1e=_0x218f9f[_0x30c7f3(0x24a)]-0x1,_0x174d73;_0x4e8f1e>=0x0;_0x4e8f1e--)(_0x174d73=_0x218f9f[_0x4e8f1e])&&(_0x2dbf93=_0x174d73(_0x2dbf93)||_0x2dbf93);return _0x2dbf93;},_0x2f96c0=(_0x11d4b5,_0x34ffaa)=>(_0x26eb08,_0x28e422)=>_0x34ffaa(_0x26eb08,_0x28e422,_0x11d4b5);let _0x5d8493=class{constructor(_0x2914ef){var _0x3ff499=_0x3b85f3;this[_0x3ff499(0x2c1)]=_0x2914ef,this[_0x3ff499(0x306)]();}[_0x3b85f3(0x306)](){var _0x195a0d=_0x3b85f3;this[_0x195a0d(0x2c1)][_0x195a0d(0x1d1)]({'interceptor':(_0x38ef2b,_0x1d615e)=>{var _0x422526=_0x195a0d;const _0x698743=_0x38ef2b[_0x422526(0x20d)],_0x16667a=_0xb18fef();return _0x16667a&&_0x698743[_0x422526(0x2d7)]('x-univer-host',_0x16667a),_0x1d615e(_0x38ef2b);}});}};_0x5d8493=_0x45c140([_0x2f96c0(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x59551f['HTTPService']))],_0x5d8493);var _0x31b70f=Object[_0x3b85f3(0x2e1)],_0x4b9bdb=(_0x58105d,_0x7fe5fc,_0x5dcba3,_0x2359cc)=>{var _0x211969=_0x3b85f3;for(var _0x4816be=_0x2359cc>0x1?void 0x0:_0x2359cc?_0x31b70f(_0x7fe5fc,_0x5dcba3):_0x7fe5fc,_0x3513ed=_0x58105d[_0x211969(0x24a)]-0x1,_0x1dc613;_0x3513ed>=0x0;_0x3513ed--)(_0x1dc613=_0x58105d[_0x3513ed])&&(_0x4816be=_0x1dc613(_0x4816be)||_0x4816be);return _0x4816be;},_0x501eef=(_0x486fd6,_0x3ff71a)=>(_0x1d553b,_0xcd4849)=>_0x3ff71a(_0x1d553b,_0xcd4849,_0x486fd6);_0x330a6c[_0x3b85f3(0x569)]=class extends _0x29f72d['RxDisposable']{constructor(_0x36a3e9,_0x16abba,_0x569905){var _0x35f302=_0x3b85f3;super(),_0x3dafef(this,_0x35f302(0x4c6),new _0x26770d[(_0x35f302(0x2cc))](null)),_0x3dafef(this,_0x35f302(0x278),this[_0x35f302(0x4c6)][_0x35f302(0x1fb)]()),(this['_logService']=_0x36a3e9,this[_0x35f302(0x20c)]=_0x16abba,this[_0x35f302(0x38e)]=_0x569905);}async[_0x3b85f3(0x37e)](_0x56346b,_0x505801,_0x231d6b){var _0x401afe=_0x3b85f3;this[_0x401afe(0x4c6)]['next']({'unitId':_0x56346b,'type':_0x505801});let _0x5d3b2f=null;switch(_0x505801){case _0x2da9ac[_0x401afe(0x4be)]:{_0x5d3b2f=await this[_0x401afe(0x20c)][_0x401afe(0x536)](_0x56346b,_0x231d6b);break;}case _0x2da9ac[_0x401afe(0x3ee)]:{_0x5d3b2f=await this[_0x401afe(0x20c)][_0x401afe(0x3fe)](_0x56346b,_0x231d6b);break;}default:{this[_0x401afe(0x20b)][_0x401afe(0x313)](_0x401afe(0x4b8),_0x401afe(0x27d));break;}}return _0x5d3b2f;}async[_0x3b85f3(0x3dd)](_0x19319c,_0x30a659,_0x391d50){var _0x2dbb13=_0x3b85f3,_0x257507;this[_0x2dbb13(0x4c6)]['next']({'unitId':_0x19319c,'type':_0x30a659,'subUnitId':_0x391d50});let _0x3d3f4f=0x0;const _0x1a926c=await((_0x257507=this[_0x2dbb13(0x38e)])==null?void 0x0:_0x257507[_0x2dbb13(0x338)](_0x19319c));return _0x1a926c&&(_0x1a926c['awaitingChangeset']||_0x1a926c[_0x2dbb13(0x358)]['length']!==0x0)&&(_0x3d3f4f=_0x1a926c[_0x2dbb13(0x2c9)]),_0x3d3f4f===0x0&&this[_0x2dbb13(0x20b)]['debug']('[DataLoaderService]',_0x2dbb13(0x516)),this['loadUnitOfRevision'](_0x19319c,_0x30a659,_0x3d3f4f);}},_0x330a6c[_0x3b85f3(0x569)]=_0x4b9bdb([_0x501eef(0x0,_0x29f72d[_0x3b85f3(0x316)]),_0x501eef(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x94e8ef[_0x3b85f3(0x3c1)])),_0x501eef(0x2,_0x29f72d[_0x3b85f3(0x307)](_0x54c85))],_0x330a6c[_0x3b85f3(0x569)]);var _0x433aba=Object[_0x3b85f3(0x2e1)],_0x15c249=(_0x2fb8c2,_0x512a63,_0x182b82,_0x4dcb45)=>{var _0x5a198c=_0x3b85f3;for(var _0x5019e9=_0x4dcb45>0x1?void 0x0:_0x4dcb45?_0x433aba(_0x512a63,_0x182b82):_0x512a63,_0x536f2e=_0x2fb8c2[_0x5a198c(0x24a)]-0x1,_0x35c18f;_0x536f2e>=0x0;_0x536f2e--)(_0x35c18f=_0x2fb8c2[_0x536f2e])&&(_0x5019e9=_0x35c18f(_0x5019e9)||_0x5019e9);return _0x5019e9;},_0x4c431a=(_0x2d9913,_0x418117)=>(_0x594234,_0x4e16e1)=>_0x418117(_0x594234,_0x4e16e1,_0x2d9913);const _0x215288=[_0x3b85f3(0x42e),_0x3b85f3(0x540),_0x3b85f3(0x1f6),_0x3b85f3(0x53b),'image/bmp'],_0x313c4f=0x5*0x400*0x400,_0x456bc6=_0x3b85f3(0x480),_0x28851a=_0x3b85f3(0x4b9);_0x330a6c[_0x3b85f3(0x4c2)]=class{constructor(_0x3aaa7e,_0x2b3e8f,_0x534623){var _0x1d3fff=_0x3b85f3;_0x3dafef(this,_0x1d3fff(0x4b6),0x0),_0x3dafef(this,_0x1d3fff(0x1fc),new _0x26770d[(_0x1d3fff(0x37c))]()),_0x3dafef(this,'change$',this[_0x1d3fff(0x1fc)]),_0x3dafef(this,_0x1d3fff(0x22d),new Map()),(this['_httpService']=_0x3aaa7e,this['_configService']=_0x2b3e8f,this[_0x1d3fff(0x550)]=_0x534623);}[_0x3b85f3(0x4da)](_0x55d7c8){var _0xc2279d=_0x3b85f3;this[_0xc2279d(0x4b6)]=_0x55d7c8,this[_0xc2279d(0x1fc)][_0xc2279d(0x4c8)](_0x55d7c8);}['getImageSourceCache'](_0x345b03,_0x4baac4){var _0x649c3c=_0x3b85f3;if(_0x4baac4===_0xb9a54d[_0x649c3c(0x396)][_0x649c3c(0x4bf)]){const _0x31932a=new Image();return _0x31932a[_0x649c3c(0x1cc)]=_0x345b03,_0x31932a;}return this[_0x649c3c(0x22d)]['get'](_0x345b03);}['addImageSourceCache'](_0xc5700,_0x2a6e4e,_0x21df84){var _0x2073ec=_0x3b85f3;_0x2a6e4e===_0xb9a54d[_0x2073ec(0x396)][_0x2073ec(0x4bf)]||_0x21df84==null||this[_0x2073ec(0x22d)]['set'](_0xc5700,_0x21df84);}async[_0x3b85f3(0x289)](_0x3b89c4){var _0x3ad164=_0x3b85f3;try{const _0x5d3574=this[_0x3ad164(0x2f2)](this['_getSignURL'](),''+_0x3b89c4),_0x5dd4e5=(await this[_0x3ad164(0x2c1)][_0x3ad164(0x1f8)](_0x5d3574))[_0x3ad164(0x3fa)];if(_0x5dd4e5['error']&&_0x5dd4e5[_0x3ad164(0x313)][_0x3ad164(0x2b2)]===_0x229e63['OK']){const _0x2f9285=new URL(_0x5dd4e5[_0x3ad164(0x435)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x3ad164(0x4f8)](_0x2f9285);}return Promise[_0x3ad164(0x4f9)](_0x5dd4e5[_0x3ad164(0x313)]);}catch(_0x4e9240){return Promise['reject'](_0x4e9240);}}async['saveImage'](_0x3db3b1){var _0x186d74=_0x3b85f3;let _0xa8fdd6='';if(!_0x215288[_0x186d74(0x312)](_0x3db3b1[_0x186d74(0x565)]))return this[_0x186d74(0x3cb)](),Promise['reject'](new Error(_0xb9a54d[_0x186d74(0x510)][_0x186d74(0x244)]));if(_0x3db3b1[_0x186d74(0x21a)]>_0x313c4f)return this['_decreaseWaiting'](),Promise[_0x186d74(0x4f9)](new Error(_0xb9a54d[_0x186d74(0x510)][_0x186d74(0x46a)]));try{const _0x2229e6=new FormData();_0x2229e6['append'](_0x186d74(0x41c),_0x3db3b1);const _0xbbcbd6=this['_univerInstanceService']['getFocusedUnit'](),_0x4d4750=_0xbbcbd6==null?void 0x0:_0xbbcbd6['getUnitId']();if(!_0x4d4750)throw new Error(_0x186d74(0x4dd));const _0x10faf0=this[_0x186d74(0x2ad)]()+_0x186d74(0x477)+_0x3db3b1['size'][_0x186d74(0x3f5)]()+_0x186d74(0x4a1)+_0x195c26[_0x186d74(0x293)]+_0x186d74(0x35a)+encodeURIComponent(_0x4d4750),_0x5785d3={'body':_0x2229e6},_0x35cf6d=(await this['_httpService'][_0x186d74(0x1fe)](_0x10faf0,_0x5785d3))[_0x186d74(0x3fa)];if(typeof _0x35cf6d[_0x186d74(0x30d)]!='string')return this[_0x186d74(0x3cb)](),Promise['reject'](new Error(_0xb9a54d['ImageUploadStatusType'][_0x186d74(0x367)]));_0xa8fdd6=_0x35cf6d[_0x186d74(0x30d)];}catch{return this[_0x186d74(0x3cb)](),Promise[_0x186d74(0x4f9)](new Error(_0xb9a54d[_0x186d74(0x510)][_0x186d74(0x367)]));}return new Promise((_0x3a82bb,_0x4a43b8)=>{var _0x42d51c=_0x186d74;const _0x2fff32=new FileReader();_0x2fff32[_0x42d51c(0x4ae)](_0x3db3b1),_0x2fff32[_0x42d51c(0x4cf)]=_0x5dfaab=>{var _0x526f80=_0x42d51c,_0x3197e3;const _0x2f93d2=(_0x3197e3=_0x5dfaab['target'])==null?void 0x0:_0x3197e3['result'];if(_0x2f93d2==null){this[_0x526f80(0x3cb)](),_0x4a43b8(new Error(_0xb9a54d[_0x526f80(0x510)][_0x526f80(0x367)]));return;}const _0x533a2d=_0x29f72d[_0x526f80(0x206)](0x6);_0x3a82bb({'imageId':_0x533a2d,'imageSourceType':_0xb9a54d[_0x526f80(0x396)][_0x526f80(0x41a)],'source':_0xa8fdd6,'base64Cache':_0x2f93d2,'status':_0xb9a54d[_0x526f80(0x510)][_0x526f80(0x562)]}),this[_0x526f80(0x3cb)]();};});}[_0x3b85f3(0x2ad)](){var _0x39cd4d=_0x3b85f3,_0x54d81d;const _0xfe3eb8=this[_0x39cd4d(0x265)][_0x39cd4d(0x4d4)](_0x54fbde);return(_0x54d81d=_0xfe3eb8==null?void 0x0:_0xfe3eb8[_0x39cd4d(0x359)])!=null?_0x54d81d:_0x456bc6;}['_getSignURL'](){var _0x2dfaf6=_0x3b85f3,_0x5484cc;const _0x1150ef=this[_0x2dfaf6(0x265)][_0x2dfaf6(0x4d4)](_0x54fbde);return(_0x5484cc=_0x1150ef==null?void 0x0:_0x1150ef[_0x2dfaf6(0x491)])!=null?_0x5484cc:_0x28851a;}[_0x3b85f3(0x1f9)](){var _0x3f59f3=_0x3b85f3,_0x2fa731;const _0x339e99=this['_configService'][_0x3f59f3(0x4d4)](_0x54fbde);return(_0x2fa731=_0x339e99==null?void 0x0:_0x339e99[_0x3f59f3(0x2a2)])!=null?_0x2fa731:location[_0x3f59f3(0x50e)];}[_0x3b85f3(0x2f2)](_0x38d0de,_0x2011c1){var _0xbfaf5a=_0x3b85f3;return _0x38d0de[_0xbfaf5a(0x40e)]('{fileID}',_0x2011c1);}[_0x3b85f3(0x3cb)](){var _0x1b1da6=_0x3b85f3;this['_waitCount']-=0x1,this[_0x1b1da6(0x1fc)][_0x1b1da6(0x4c8)](this[_0x1b1da6(0x4b6)]);}},_0x330a6c[_0x3b85f3(0x4c2)]=_0x15c249([_0x4c431a(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x59551f['HTTPService'])),_0x4c431a(0x1,_0x29f72d[_0x3b85f3(0x44a)]),_0x4c431a(0x2,_0x29f72d['Inject'](_0x29f72d[_0x3b85f3(0x558)]))],_0x330a6c[_0x3b85f3(0x4c2)]);var _0x3a907a=Object['getOwnPropertyDescriptor'],_0x2131c3=(_0x4d2995,_0x460592,_0x525777,_0x2f312b)=>{var _0x1c7063=_0x3b85f3;for(var _0x57a7fe=_0x2f312b>0x1?void 0x0:_0x2f312b?_0x3a907a(_0x460592,_0x525777):_0x460592,_0x3bb14f=_0x4d2995[_0x1c7063(0x24a)]-0x1,_0x838a19;_0x3bb14f>=0x0;_0x3bb14f--)(_0x838a19=_0x4d2995[_0x3bb14f])&&(_0x57a7fe=_0x838a19(_0x57a7fe)||_0x57a7fe);return _0x57a7fe;},_0x2f5b7b=(_0xdd1375,_0x48651a)=>(_0x313478,_0x155b44)=>_0x48651a(_0x313478,_0x155b44,_0xdd1375);const _0x353ae2=_0x3b85f3(0x4df);_0x330a6c[_0x3b85f3(0x33c)]=class{constructor(_0x41db3c,_0x1780dc){var _0xd36f=_0x3b85f3;this['_configService']=_0x41db3c,this[_0xd36f(0x360)]=_0x1780dc;}[_0x3b85f3(0x49a)](){var _0x414229=_0x3b85f3,_0x33e4d3;const _0x58ff82=this[_0x414229(0x265)][_0x414229(0x4d4)](_0x54fbde);return(_0x33e4d3=_0x58ff82==null?void 0x0:_0x58ff82[_0x414229(0x26f)])!=null?_0x33e4d3:_0x353ae2;}async[_0x3b85f3(0x3b4)](_0x21e898){var _0xaaeb2c=_0x3b85f3;const _0x2fd9f4=this[_0xaaeb2c(0x49a)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0xaaeb2c(0x360)][_0xaaeb2c(0x1f8)](_0x2fd9f4,{'params':{'objectID':_0x21e898[_0xaaeb2c(0x2fe)],'unitID':_0x21e898[_0xaaeb2c(0x2fe)]}}))[_0xaaeb2c(0x3fa)]['collaborators']['map'](_0x472ba8=>({'objectId':_0x472ba8['id'],'name':_0x472ba8[_0xaaeb2c(0x298)][_0xaaeb2c(0x36d)],'metadata':{'icon':_0x472ba8[_0xaaeb2c(0x298)][_0xaaeb2c(0x26c)]},'label':_0x472ba8[_0xaaeb2c(0x298)]['name'],'objectType':_0x29f72d[_0xaaeb2c(0x3c2)]['PERSON']})),'metadata':{},'type':_0x29f72d[_0xaaeb2c(0x3c2)][_0xaaeb2c(0x548)]}]};}},_0x330a6c['MentionIoHttpService']=_0x2131c3([_0x2f5b7b(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x44a)])),_0x2f5b7b(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x59551f[_0x3b85f3(0x2bf)]))],_0x330a6c[_0x3b85f3(0x33c)]);var _0x541d19=Object[_0x3b85f3(0x2e1)],_0x115f15=(_0x5d8ca3,_0x53f094,_0x2ef8a7,_0x1f43a3)=>{var _0x2cb146=_0x3b85f3;for(var _0x553136=_0x1f43a3>0x1?void 0x0:_0x1f43a3?_0x541d19(_0x53f094,_0x2ef8a7):_0x53f094,_0x3e0322=_0x5d8ca3[_0x2cb146(0x24a)]-0x1,_0x1f5d47;_0x3e0322>=0x0;_0x3e0322--)(_0x1f5d47=_0x5d8ca3[_0x3e0322])&&(_0x553136=_0x1f5d47(_0x553136)||_0x553136);return _0x553136;},_0x4aa4ef=(_0x4a7484,_0x44afd7)=>(_0x28523b,_0x3785d9)=>_0x44afd7(_0x28523b,_0x3785d9,_0x4a7484);let _0x4b0910=class extends _0x29f72d['RxDisposable']{constructor(_0x4f3ea0,_0x1b48de,_0x441e07,_0x37cc54,_0x42ab76){var _0x3a61ef=_0x3b85f3;super(),this['_injector']=_0x4f3ea0,this['_univerInstanceService']=_0x1b48de,this[_0x3a61ef(0x543)]=_0x441e07,this[_0x3a61ef(0x239)]=_0x37cc54,this[_0x3a61ef(0x2ed)]=_0x42ab76,this['_initUnitPermissionChange'](),this[_0x3a61ef(0x43d)]();}[_0x3b85f3(0x43d)](){var _0x3bc9b7=_0x3b85f3;const _0x2ab3da=async _0x1ecd07=>{var _0x529db0=_0x222a;(await this['_collaborationSessionService']['requireSession'](_0x1ecd07))[_0x529db0(0x479)][_0x529db0(0x341)](_0x213182['filter'](_0x39a354=>_0x39a354[_0x529db0(0x3df)]===_0x94e8ef[_0x529db0(0x22b)]['SHOULD_CLOSE_CONN']),_0x213182[_0x529db0(0x4bb)](this[_0x529db0(0x4dc)]))[_0x529db0(0x255)](_0x2fc9a1=>{var _0x4e5ff6=_0x529db0;const _0x2d1187=_0x2fc9a1,{reason:_0x11f7c2}=_0x2d1187[_0x4e5ff6(0x2c0)];this['_collaborationUIEventService'][_0x4e5ff6(0x1d4)]({'id':_0x465567[_0x4e5ff6(0x2f8)],'data':_0x11f7c2}),this[_0x4e5ff6(0x543)][_0x4e5ff6(0x44b)](new _0x504e3a[(_0x4e5ff6(0x251))](_0x1ecd07)['id'],!0x1),this[_0x4e5ff6(0x239)]['closeSession'](_0x1ecd07);});};_0x26770d[_0x3bc9b7(0x1cb)](this[_0x3bc9b7(0x550)][_0x3bc9b7(0x494)](_0x29f72d[_0x3bc9b7(0x294)][_0x3bc9b7(0x4be)]),this[_0x3bc9b7(0x550)]['getTypeOfUnitAdded$'](_0x29f72d[_0x3bc9b7(0x294)][_0x3bc9b7(0x3ee)]))['pipe'](_0x213182[_0x3bc9b7(0x55e)](_0x32d498=>_0x32d498['getUnitId']()),_0x213182[_0x3bc9b7(0x463)](_0x4cdf2b=>!_0x29f72d[_0x3bc9b7(0x232)](_0x4cdf2b)),_0x213182[_0x3bc9b7(0x4bb)](this[_0x3bc9b7(0x4dc)]))['subscribe'](_0x5edb17=>{_0x2ab3da(_0x5edb17);});}['_initUnitPermissionChange'](){var _0x388721=_0x3b85f3;const _0xd5a498=async _0x16cf6f=>{var _0xf8bcb4=_0x222a;const _0x47af4c=await this[_0xf8bcb4(0x239)][_0xf8bcb4(0x214)](_0x16cf6f),_0x292f61=this[_0xf8bcb4(0x53a)]['get'](_0x504e3a['SheetPermissionInitController']);_0x47af4c[_0xf8bcb4(0x479)][_0xf8bcb4(0x341)](_0x213182['filter'](_0x1e4b78=>_0x1e4b78[_0xf8bcb4(0x3df)]===_0x94e8ef[_0xf8bcb4(0x22b)]['UPDATE_PERMISSION_OBJ']),_0x213182[_0xf8bcb4(0x4bb)](this['dispose$']))['subscribe'](_0x22ce4e=>{var _0x2b4c49=_0xf8bcb4;const _0x4d9ba3=_0x22ce4e,{objectId:_0x18d36c}=_0x4d9ba3[_0x2b4c49(0x2c0)];_0x18d36c===_0x16cf6f?_0x292f61[_0x2b4c49(0x1f7)](_0x16cf6f):_0x292f61[_0x2b4c49(0x4d5)](_0x16cf6f,_0x18d36c);});};_0x26770d['merge'](this[_0x388721(0x550)][_0x388721(0x494)](_0x29f72d[_0x388721(0x294)][_0x388721(0x4be)]))[_0x388721(0x341)](_0x213182[_0x388721(0x55e)](_0x40b941=>_0x40b941[_0x388721(0x4ba)]()),_0x213182[_0x388721(0x463)](_0x46a7b5=>!_0x29f72d[_0x388721(0x232)](_0x46a7b5)),_0x213182[_0x388721(0x4bb)](this['dispose$']))[_0x388721(0x255)](_0x54f4c3=>{_0xd5a498(_0x54f4c3);});}};_0x4b0910=_0x115f15([_0x4aa4ef(0x0,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d[_0x3b85f3(0x345)])),_0x4aa4ef(0x1,_0x29f72d[_0x3b85f3(0x558)]),_0x4aa4ef(0x2,_0x29f72d['IPermissionService']),_0x4aa4ef(0x3,_0x29f72d[_0x3b85f3(0x397)](_0x330a6c['CollaborationSessionService'])),_0x4aa4ef(0x4,_0x29f72d[_0x3b85f3(0x397)](_0x18e687))],_0x4b0910);var _0x14c222=Object[_0x3b85f3(0x2e1)],_0x756102=(_0x86f37b,_0x2b43d6,_0x5c8f92,_0x2bfe04)=>{for(var _0x3882c0=_0x2bfe04>0x1?void 0x0:_0x2bfe04?_0x14c222(_0x2b43d6,_0x5c8f92):_0x2b43d6,_0x58ff4a=_0x86f37b['length']-0x1,_0x3b8dec;_0x58ff4a>=0x0;_0x58ff4a--)(_0x3b8dec=_0x86f37b[_0x58ff4a])&&(_0x3882c0=_0x3b8dec(_0x3882c0)||_0x3882c0);return _0x3882c0;},_0x299bc7=(_0x96cb7d,_0x4d5c5e)=>(_0x1bc90c,_0x119fa9)=>_0x4d5c5e(_0x1bc90c,_0x119fa9,_0x96cb7d);_0x330a6c['SnapshotServerOverHTTPService']=class{constructor(_0x4d65fd,_0x2ac3c3){var _0x2d2a3f=_0x3b85f3;this[_0x2d2a3f(0x265)]=_0x4d65fd,this['_httpService']=_0x2ac3c3;}async['getUnitOnRev'](_0x107105,_0x333fc6){var _0x1edad1=_0x3b85f3,_0x4cc3fb;const {unitID:_0x17159f,type:_0xc2bbc3,revision:_0x4e39e0=0x0}=_0x333fc6,_0xcce0b0=this[_0x1edad1(0x355)]()+'/'+_0xc2bbc3+_0x1edad1(0x526)+_0x17159f+'/rev/'+_0x4e39e0,_0x315c48=(await this[_0x1edad1(0x2c1)][_0x1edad1(0x1f8)](_0xcce0b0))['body'],_0xdafb6f=(_0x4cc3fb=_0x315c48['snapshot'])==null?void 0x0:_0x4cc3fb[_0x1edad1(0x349)];if(_0xdafb6f){const _0x50039a=_0xdafb6f==null?void 0x0:_0xdafb6f[_0x1edad1(0x384)],_0x1e00ad=_0x94e8ef[_0x1edad1(0x3eb)][_0x1edad1(0x328)](_0x94e8ef[_0x1edad1(0x334)](_0x50039a));_0xdafb6f[_0x1edad1(0x384)]=_0x1e00ad,Object[_0x1edad1(0x51d)](_0xdafb6f[_0x1edad1(0x284)])[_0x1edad1(0x3ae)](([,_0x5cb40f])=>{var _0x219ae7=_0x1edad1;const _0x217ea7=_0x5cb40f[_0x219ae7(0x384)],_0x5c5460=_0x94e8ef[_0x219ae7(0x3eb)]['encode'](_0x94e8ef[_0x219ae7(0x334)](_0x217ea7));_0x5cb40f[_0x219ae7(0x384)]=_0x5c5460;});}return _0x315c48;}async[_0x3b85f3(0x3c8)](_0x3f2f55,_0x4631ae){var _0x3d17cd=_0x3b85f3;const {unitID:_0x236c66,type:_0x34d273,blockID:_0x459fed}=_0x4631ae,_0x1dd054=this[_0x3d17cd(0x496)]()+'/'+_0x34d273+_0x3d17cd(0x526)+_0x236c66+_0x3d17cd(0x3ac)+_0x459fed;return(await this[_0x3d17cd(0x2c1)][_0x3d17cd(0x1f8)](_0x1dd054))[_0x3d17cd(0x3fa)];}async[_0x3b85f3(0x450)](_0x3ac44a,_0x287b22){var _0x281841=_0x3b85f3;const {unitID:_0x59ee37,type:_0x3e37b8,blockID:_0x50bd5c}=_0x287b22,_0x3fe573=this[_0x281841(0x496)]()+_0x281841(0x3ac)+_0x3e37b8+_0x281841(0x526)+_0x59ee37+_0x281841(0x3ac)+_0x50bd5c;return(await this['_httpService'][_0x281841(0x1f8)](_0x3fe573))[_0x281841(0x3fa)];}async[_0x3b85f3(0x49f)](_0x43be7f,_0x5393ec){var _0x41b987=_0x3b85f3;const {unitID:_0x262e0f,type:_0x405966,from:_0x33c573,to:_0x5b0483}=_0x5393ec,_0x214caf=this[_0x41b987(0x496)]()+'/'+_0x405966+_0x41b987(0x526)+_0x262e0f+_0x41b987(0x3c0)+_0x33c573+_0x41b987(0x215)+_0x5b0483;return(await this[_0x41b987(0x2c1)][_0x41b987(0x1f8)](_0x214caf))[_0x41b987(0x3fa)];}[_0x3b85f3(0x355)](){var _0x541e1c=_0x3b85f3,_0x57df8c;return(_0x57df8c=this[_0x541e1c(0x265)][_0x541e1c(0x4d4)](_0x371056))!=null?_0x57df8c:this[_0x541e1c(0x496)]();}[_0x3b85f3(0x496)](){var _0x43c630=_0x3b85f3,_0x4ccb4f;const _0x3150a5=this[_0x43c630(0x265)][_0x43c630(0x4d4)](_0x54fbde);return(_0x4ccb4f=_0x3150a5==null?void 0x0:_0x3150a5[_0x43c630(0x1d8)])!=null?_0x4ccb4f:_0x3610cc;}async[_0x3b85f3(0x1d2)](_0x269fdd,_0x35b68f){var _0x1d0d7c=_0x3b85f3;const _0x180b7a=_0x1d0d7c(0x3a6)+_0x35b68f[_0x1d0d7c(0x565)]+_0x1d0d7c(0x526)+_0x35b68f[_0x1d0d7c(0x3be)]+'/resources';return(await this['_httpService'][_0x1d0d7c(0x1f8)](_0x180b7a,{'params':{'resourceId':JSON[_0x1d0d7c(0x3ff)](_0x35b68f[_0x1d0d7c(0x4b1)])}}))[_0x1d0d7c(0x3fa)];}[_0x3b85f3(0x473)](){var _0x423dbc=_0x3b85f3;throw new Error(_0x423dbc(0x3ad));}[_0x3b85f3(0x2bd)](){var _0x2bbd73=_0x3b85f3;throw new Error(_0x2bbd73(0x3ad));}[_0x3b85f3(0x291)](){var _0x304198=_0x3b85f3;throw new Error(_0x304198(0x3ad));}[_0x3b85f3(0x3d8)](){var _0x334931=_0x3b85f3;throw new Error(_0x334931(0x3ad));}[_0x3b85f3(0x4b0)](){var _0x4354fb=_0x3b85f3;throw new Error(_0x4354fb(0x3ad));}[_0x3b85f3(0x4e7)](){var _0x40d469=_0x3b85f3;throw new Error(_0x40d469(0x3ad));}},_0x330a6c['SnapshotServerOverHTTPService']=_0x756102([_0x299bc7(0x0,_0x29f72d[_0x3b85f3(0x44a)]),_0x299bc7(0x1,_0x29f72d[_0x3b85f3(0x397)](_0x59551f[_0x3b85f3(0x2bf)]))],_0x330a6c['SnapshotServerOverHTTPService']);var _0x428b5e=Object['getOwnPropertyDescriptor'],_0x468eb8=(_0x8919f6,_0x1a16f9,_0x4226f6,_0x59f925)=>{for(var _0x3fd85b=_0x59f925>0x1?void 0x0:_0x59f925?_0x428b5e(_0x1a16f9,_0x4226f6):_0x1a16f9,_0x51a672=_0x8919f6['length']-0x1,_0x3a1f4a;_0x51a672>=0x0;_0x51a672--)(_0x3a1f4a=_0x8919f6[_0x51a672])&&(_0x3fd85b=_0x3a1f4a(_0x3fd85b)||_0x3fd85b);return _0x3fd85b;},_0x465fa5=(_0x56cd2f,_0x459839)=>(_0x225851,_0x4c7112)=>_0x459839(_0x225851,_0x4c7112,_0x56cd2f);_0x330a6c[_0x3b85f3(0x4ef)]=class extends _0x29f72d[_0x3b85f3(0x53c)]{constructor(_0x23a5dd,_0x395c75,_0x5f4ad4,_0x71787c,_0x5e0327){var _0x5c0f94=_0x3b85f3;super(_0x23a5dd,_0x395c75,_0x5f4ad4),this[_0x5c0f94(0x2c5)]=_0x71787c,this[_0x5c0f94(0x20b)]=_0x5e0327;}[_0x3b85f3(0x3d2)](_0x336efb,_0x392706){var _0x104bc0=_0x3b85f3;const _0x16b979=this['_getUndoStack'](_0x336efb);if(_0x16b979)try{const _0x296251=this[_0x104bc0(0x552)](_0x16b979,_0x392706);this[_0x104bc0(0x308)](_0x336efb,_0x296251);}catch(_0x45c89d){this[_0x104bc0(0x20b)]['error'](_0x104bc0(0x216),_0x45c89d),this[_0x104bc0(0x374)](_0x336efb);}const _0x48dfc0=this[_0x104bc0(0x47f)](_0x336efb);if(_0x48dfc0)try{const _0x37e22c=this[_0x104bc0(0x552)](_0x48dfc0,_0x392706);this[_0x104bc0(0x2be)](_0x336efb,_0x37e22c);}catch(_0x4a4a8c){this[_0x104bc0(0x20b)][_0x104bc0(0x313)](_0x4a4a8c),this[_0x104bc0(0x3ef)](_0x336efb);}}[_0x3b85f3(0x374)](_0x581e00){var _0x1a2f16=_0x3b85f3;const _0xa070f4=this[_0x1a2f16(0x488)](_0x581e00);_0xa070f4&&(_0xa070f4[_0x1a2f16(0x24a)]=0x0,this['_updateStatus']());}[_0x3b85f3(0x3ef)](_0x9a848f){var _0x82e6f4=_0x3b85f3;const _0x3c385f=this[_0x82e6f4(0x47f)](_0x9a848f);_0x3c385f&&(_0x3c385f[_0x82e6f4(0x24a)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x14aa6a,_0x388cec){var _0x183d9a=_0x3b85f3;this[_0x183d9a(0x281)][_0x183d9a(0x2d7)](_0x14aa6a,_0x388cec),this[_0x183d9a(0x378)]();}[_0x3b85f3(0x2be)](_0x9a66df,_0x1a8275){var _0x1a34b2=_0x3b85f3;this['_redoStacks'][_0x1a34b2(0x2d7)](_0x9a66df,_0x1a8275),this[_0x1a34b2(0x378)]();}['_transformStack'](_0x269f35,_0x3e4512){var _0x2d6541=_0x3b85f3;const _0x505746=[];let _0x13b6b0=_0x3e4512,_0x368422=_0x3e4512;for(let _0x2592de=_0x269f35[_0x2d6541(0x24a)]-0x1;_0x2592de>=0x0;_0x2592de--){const {unitID:_0x1af47c,undoMutations:_0x15fcf1,redoMutations:_0x3efd09}=_0x269f35[_0x2592de],_0x9195b3=this[_0x2d6541(0x2c5)][_0x2d6541(0x25f)](_0x13b6b0,_0x15fcf1),_0x2c15e3=this[_0x2d6541(0x2c5)]['transformMutationsWithChangeset'](_0x368422,_0x3efd09);if(_0x94e8ef[_0x2d6541(0x23b)](_0x9195b3)||_0x94e8ef[_0x2d6541(0x23b)](_0x2c15e3)){this[_0x2d6541(0x20b)][_0x2d6541(0x313)](_0x2d6541(0x216),_0x2d6541(0x324),_0x9195b3,_0x2c15e3);break;}_0x13b6b0=_0x9195b3[_0x2d6541(0x3f9)],_0x368422=_0x2c15e3[_0x2d6541(0x3f9)],_0x505746[_0x2d6541(0x2cd)]({'unitID':_0x1af47c,'undoMutations':_0x9195b3['m2Prime'],'redoMutations':_0x2c15e3[_0x2d6541(0x343)]});}return _0x505746['reverse']();}},_0x330a6c[_0x3b85f3(0x4ef)]=_0x468eb8([_0x465fa5(0x0,_0x29f72d[_0x3b85f3(0x558)]),_0x465fa5(0x1,_0x29f72d['ICommandService']),_0x465fa5(0x2,_0x29f72d[_0x3b85f3(0x317)]),_0x465fa5(0x3,_0x94e8ef['ITransformService']),_0x465fa5(0x4,_0x29f72d[_0x3b85f3(0x316)])],_0x330a6c[_0x3b85f3(0x4ef)]);var _0x5c9507=Object[_0x3b85f3(0x40f)],_0x1543df=Object[_0x3b85f3(0x2e1)],_0x15ca2e=(_0xeb0671,_0x231ff8,_0x758ec8)=>_0x231ff8 in _0xeb0671?_0x5c9507(_0xeb0671,_0x231ff8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x758ec8}):_0xeb0671[_0x231ff8]=_0x758ec8,_0x100304=(_0x33ddeb,_0xf926b1,_0x361d86,_0x13236d)=>{for(var _0x5c33b6=_0x13236d>0x1?void 0x0:_0x13236d?_0x1543df(_0xf926b1,_0x361d86):_0xf926b1,_0x673852=_0x33ddeb['length']-0x1,_0x649bdb;_0x673852>=0x0;_0x673852--)(_0x649bdb=_0x33ddeb[_0x673852])&&(_0x5c33b6=_0x649bdb(_0x5c33b6)||_0x5c33b6);return _0x5c33b6;},_0x253e2b=(_0x21f3a8,_0xd7749c)=>(_0x1405fd,_0x10a910)=>_0xd7749c(_0x1405fd,_0x10a910,_0x21f3a8),_0x261247=(_0x342315,_0x25d282,_0xe6b1e0)=>_0x15ca2e(_0x342315,_0x25d282+'',_0xe6b1e0);const _0x4be1ec=_0x3b85f3(0x513);_0x330a6c[_0x3b85f3(0x2f1)]=class extends _0x29f72d[_0x3b85f3(0x356)]{constructor(_0x23e850,_0x51ba8a,_0x1b3665,_0x2a31a2){var _0x45c0ab=_0x3b85f3;super(),_0x3dafef(this,'_config'),(this[_0x45c0ab(0x20b)]=_0x51ba8a,this[_0x45c0ab(0x53a)]=_0x1b3665,this[_0x45c0ab(0x265)]=_0x2a31a2);const {..._0x5279c9}=_0x29f72d['merge']({},_0x32803a,_0x23e850);if(!_0x5279c9[_0x45c0ab(0x32d)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x45c0ab(0x2c7)]=_0x5279c9,this[_0x45c0ab(0x265)][_0x45c0ab(0x3a3)](_0x54fbde,_0x5279c9);}[_0x3b85f3(0x408)](){var _0x2278c9=_0x3b85f3;this[_0x2278c9(0x45c)](),this[_0x2278c9(0x38a)]();}[_0x3b85f3(0x45c)](){var _0x5b758a=_0x3b85f3,_0x125ef7,_0xf0bf85;this['_injector']['has'](_0x29f72d[_0x5b758a(0x2d2)])&&this[_0x5b758a(0x20b)][_0x5b758a(0x313)](_0x5b758a(0x40d),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x3917dd=_0x29f72d[_0x5b758a(0x28a)]([[_0x29f72d['IUndoRedoService'],{'useClass':_0x330a6c['CollaborativeUndoRedoService']}],[_0x330a6c[_0x5b758a(0x4ab)]],[_0x330a6c[_0x5b758a(0x2d9)]],[_0x330a6c[_0x5b758a(0x4e9)]],[_0x3b6ab0],[_0x5d8493],[_0x146c00],[_0x4b0910],[_0x18e687],[_0x330a6c['DataLoaderService']],[_0x2d9dbe,{'useClass':this['_config'][_0x5b758a(0x32d)]}],[_0x94e8ef[_0x5b758a(0x54f)],{'useClass':_0x330a6c['SnapshotServerOverHTTPService']}],[_0x29f72d[_0x5b758a(0x443)],{'useClass':_0x330a6c[_0x5b758a(0x568)]}],[_0xb9a54d[_0x5b758a(0x3bf)],{'useClass':_0x330a6c[_0x5b758a(0x4c2)]}],[_0x29f72d[_0x5b758a(0x489)],{'useClass':_0x330a6c[_0x5b758a(0x33c)]}],[_0x330a6c[_0x5b758a(0x2c6)]],[_0x5b598e]],(_0x125ef7=this[_0x5b758a(0x2c7)])==null?void 0x0:_0x125ef7[_0x5b758a(0x23d)]);if(!((_0xf0bf85=this[_0x5b758a(0x2c7)])!=null&&_0xf0bf85[_0x5b758a(0x4c0)])){const _0x4b4840=_0x3917dd['findIndex'](([_0x114803])=>_0x114803===_0x17abdd);_0x4b4840!==-0x1&&_0x3917dd[_0x5b758a(0x4ca)](_0x4b4840,0x1);}_0x29f72d[_0x5b758a(0x4ad)](this['_injector'],_0x3917dd);}[_0x3b85f3(0x38a)](){var _0x318f2c=_0x3b85f3,_0x591a,_0x44ecd9,_0x3229ea;this[_0x318f2c(0x53a)][_0x318f2c(0x1f8)](_0x59551f[_0x318f2c(0x2bf)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x59551f[_0x318f2c(0x311)]({'maxParallel':0x6})}),(_0x591a=this[_0x318f2c(0x2c7)])!=null&&_0x591a[_0x318f2c(0x429)]||(_0x44ecd9=this[_0x318f2c(0x53a)][_0x318f2c(0x1f8)](_0x54c85,_0x29f72d['Quantity'][_0x318f2c(0x3bc)]))==null||_0x44ecd9['disableLocalCache'](),(_0x3229ea=this[_0x318f2c(0x2c7)])!=null&&_0x3229ea['enableAuthServer']&&_0x29f72d[_0x318f2c(0x51c)](this['_injector'],[[_0x3b6ab0]]),_0x29f72d[_0x318f2c(0x51c)](this['_injector'],[[_0x5d8493],[_0x330a6c[_0x318f2c(0x2c6)]],[_0x4b0910]]);}},_0x261247(_0x330a6c['UniverCollaborationClientPlugin'],_0x3b85f3(0x4a9),_0x4be1ec),_0x330a6c[_0x3b85f3(0x2f1)]=_0x100304([_0x29f72d[_0x3b85f3(0x4cd)](_0x94e8ef['UniverCollaborationPlugin'],_0x59551f['UniverNetworkPlugin']),_0x253e2b(0x1,_0x29f72d[_0x3b85f3(0x316)]),_0x253e2b(0x2,_0x29f72d[_0x3b85f3(0x397)](_0x29f72d['Injector'])),_0x253e2b(0x3,_0x29f72d['IConfigService'])],_0x330a6c[_0x3b85f3(0x2f1)]),_0x330a6c[_0x3b85f3(0x3c6)]=_0x54fbde,_0x330a6c[_0x3b85f3(0x4aa)]=_0xcbbb88,_0x330a6c[_0x3b85f3(0x4f1)]=_0x465567,_0x330a6c[_0x3b85f3(0x2e3)]=_0x18e687,_0x330a6c[_0x3b85f3(0x4a3)]=_0x146c00,_0x330a6c[_0x3b85f3(0x542)]=_0xbda5,_0x330a6c[_0x3b85f3(0x389)]=_0x70674b,_0x330a6c[_0x3b85f3(0x1dd)]=_0x1bd4c8,_0x330a6c[_0x3b85f3(0x1ed)]=_0x5559aa,_0x330a6c[_0x3b85f3(0x462)]=_0x11fb3c,_0x330a6c[_0x3b85f3(0x3de)]=_0x2d9dbe,_0x330a6c[_0x3b85f3(0x55f)]=_0x54c85,_0x330a6c[_0x3b85f3(0x43f)]=_0x3f33c3,_0x330a6c[_0x3b85f3(0x505)]=_0x17abdd,_0x330a6c['LOCAL_CACHE_INTERVAL']=0x3e8,_0x330a6c[_0x3b85f3(0x4f2)]=_0x28c6bf,_0x330a6c[_0x3b85f3(0x39a)]=_0x1335a0,_0x330a6c[_0x3b85f3(0x3f7)]=_0x48de82,_0x330a6c[_0x3b85f3(0x481)]=_0x5c4cf0,_0x330a6c['UnitStatus']=_0x17f828,_0x330a6c[_0x3b85f3(0x4c7)]=_0xf5b918,_0x330a6c['getLocalCacheKey']=_0x99f370,_0x330a6c[_0x3b85f3(0x48d)]=_0xd85f3a,Object['defineProperty'](_0x330a6c,Symbol[_0x3b85f3(0x1db)],{'value':_0x3b85f3(0x525)});}));function _0x5316(){var _0x13130c=['YUUMI_ALL_TABLES_IS_INVALID','collaMsg','stopTime','$super','CURRENT_STATUS_CANNOT_OPERATE','originalMeta','_rescheduleHeartbeat','Hasher','prototype','pad','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initDependencies','_replayCachedMutations','pending','_checkMissing','_localCacheService','Decryptor','_createHandler','unit-cache-','_transformIMECache','LOGIN_TOKEN_PROCESSING_FAILED','Encryptor','PY_RUNTIME_SCRIPT_ERROR','ImageSourceType','Inject','HEARTBEAT','1037100AFAqLy','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_clearScheduledTask','byteLength','PAYMENT_CHANNEL_NOT_SUPPORT','INVITE_CODE_REQUIRED','extend','SerializableCipher','YUUMI_AI_RUN_FAILED','SetSelectionsOperation','setConfig','_clearRetryConnectingTimer','EmptyMutationInfo','/universer-api/snapshot/','FETCH_MISSING','_hasher','COMPRESS_MUTATION_APPLY','listCollaborators','reqId','/block/','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','forEach','UNIVER_SLIDE','put','indexOf','JOIN_ROOM_FULL','CHANGESET_ACK','list','_throwTelemetryCollaborationNewChangeset','_mode','encryptBlock','session.room-cnt-exceeds','_commentUpdate$','REDEMPTION_USER_NOT_ELIGIBLE','_scheduleCompleteTimestamp','OPTIONAL','_createHelper','unitID','IImageIoService','/fetchmissing?from=','SnapshotService','MentionType','CollaborationSocketService','463896pambqP','UniverProLicense','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','NoPadding','getSheetBlock','getUnitStatus$','PENDING','_decreaseWaiting','charCodeAt','localeService','awaiting','createIdentifier','APPLY_PERMISSION_DENIED','_onConflict','transformUndoRedo','[OfflineState]:\x20received\x20acknowledgement.','_fetchMissChangesets','transformChangesets','collaboration_new_changeset','objectType','saveChangeset','DisposableCollection','_retryCount','slice','abs','loadUnit','ICollaborationSocketService','eventID','YUUMI_NO_CUBOID_FOR_QUESTION','_eventService','interceptor','_maxTotalRetryTimeout','RichTextEditingMutation','socket$','Base64','status$','c2Prime','_onMessage','Rectangle','textEncoder','@univerjs/core','ISocketService','UNIVER_DOC','_clearRedo','_onCombEvent','_acknowledgedAwaitingChangeset','EMAIL_VERIFY_CODE_MISMATCH','members$','commentUpdateEvent','toString','_append','RETRY_CONNECTING_MAX_COUNT_KEY','LIVESHARE_OPERATION','c1Prime','body','collaborators','resend','localCacheService','loadDoc','stringify','UNKNOWN_CMD','confirm','NOT_COLLAB','INVITE_CODE_HAS_BEEN_UES','commentUpdate$','clamp','add','_localeService','onStarting','_changesetReqId','153823CYUmcg','_parse','_keySchedule','[UniverCollaborationClientPlugin]','replace','defineProperty','ReplaySubject','finalize','execute','RevisionService','USERS_ENTER','_onRemoteRetry','getCollabEntity','_minBufferSize','getRoom','Malformed\x20UTF-8\x20data','UUID','UNIVER_UNKNOWN','file','SOCKET_FAILED_RETRY','Hex','_commentService','_key','USERS_LEAVE','_userManagerService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_RATE_OVER_LIMIT','ONLINE','_transformUndoredo','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','REDEMPTION_CODE_NOT_STARTED','enableOfflineEditing','_reverseMap','Failed\x20to\x20update\x20permission\x20point','MD5','UserManagerService','image/png','SOCKET_FAILED','4021065DtcLpU','ALREADY_EXISTS','collaboratorID','[CollaborationState]:\x20apply\x20error!','msCrypto','url','sigBytes','BufferedBlockAlgorithm','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_isPermissionRej','JOINING','createInstance','encrypt','_initCloseConn','_schedule','INetworkConditionService','_commandService','liveShareNewHost','_onFetchMissResult','IAuthzIoService','create','roomInfos','CHANGESET_REJ','objects','YUUMI_SUBSCRIPTION_NOT_FOUND','hostname','IConfigService','updatePermissionPoint','_roomMembers','dispose','_onJoinRoomEvent','UniverProCollaboration','getDeserializedSheetBlock','hasOwnProperty','updateCursorEvent','fetchThroughInterceptors','/universer-api/comb','INVALID_ARGUMENT','OTHER_CLIENT_EDITING','uuidv4','univer-pro.collaboration-client.network-condition.service','_scheduleCollaborationTimeoutTimer','params','Disposable','_registerDependencies','INTERNAL_ERROR','_snapshotServerService','INGEST','USER_NOT_FOUND','_keyPriorReset','HEARTBEAT_TIMEOUT_KEY','filter','SNAPSHOT_INVALID_SNAPSHOT','_data','@univerjs-pro/license','_getLoginPath','getCollabEntity$','onStateChange','ERROR_EXCEED_SIZE','CommandType','failed\x20to\x20apply\x20missed\x20changesets!','reduce','updatePermissionObjEvent','auth.needGotoLoginAlert','EvpKDF','selections','UPDATE_CURSOR','saveSnapshot','[SyncedState]:\x20received\x20rejection.','charAt','CHANGESET_REVISION_CONFILICT','?size=','_stopTelemetryCollaborationNewChangeset','event$','_ENC_XFORM_MODE','getActiveSheet','status','Error\x20on\x20receiving\x20event','rxjs/operators','_getRedoStack','/universer-api/stream/file/upload','SessionStatus','getWorkbookSelections','Could\x20not\x20dynamically\x20require\x20\x22','newCsEvent','send','UNRECOGNIZED','LocaleService','_getUndoStack','IMentionIOService','online$','error$','954320Klqpzl','serializeCombRequest','uniscriptRunEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_doFinalize','signUrlServerUrl','toggleOffline','_socket$','getTypeOfUnitAdded$','[CollaborationSession]','_getAPIPrefix','WECHAT_HAS_BEEN_BOUND','ENTITLE_INSUFFICIENT_QUOTA','/allowed','_getAPIPrefixPath','symbol','MOBILE_VERIFY_CODE_MISMATCH','_singleActiveUnitService','_changesetSessionId','fetchMissingChangesets','baseRev','&source=','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CommentService','userID','PSEUDO_FETCH_MISSING_RESULT','TOO_MANY_REQUESTS','219777RZCjON','_sendingTimer','pluginName','CollaborationStatus','CollaborationSessionService','appendMutation','registerDependencies','readAsDataURL','_instanceService','copyFileMeta','resourceIDs','NO_OTHER_CLIENTS_EDITING','@univerjs/drawing','MUTATION','updateMember','_waitCount','title','[DataLoaderService]','/universer-api/file/{fileID}/sign-url','getUnitId','takeUntil','@univerjs-pro/collaboration','href','UNIVER_SHEET','BASE64','enableSingleActiveInstanceLock','LEAVE','CollaborationImageIoService','_incrementRevisionNumber','call','crypto','_unitInfo$','deserializeToCombResponse','next','LIVESHARE_TERMINATE','splice','@univerjs/sheets','IPermissionService','DependentOn','open$','onload','_listenToNetworkCondition','getMemberID','_createInitialStateImpl','REDEMPTION_CODE_HAS_BEEN_CREATED','getConfig','refreshPermission','_startTelemetryCollaborationNewChangeset','waitForRoom$','ws://127.0.0.1:8000/universer-api/comb/connect','INVALID_INVITE_CODE','setWaitCount','PERMISSION_REJ','dispose$','unitId\x20is\x20not\x20found','disposeWithMe','/universer-api/authz','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','init','createSocket','_state$','UniverSheets','deepClone','Tools','getLatestCsReqIdBySid','_emitMembers','SheetTransformSelectionsService','getTime','collaboration-client.config','SUBMIT_CHANGESET_TIMEOUT','_iKey','complete','CollaborativeUndoRedoService','socket\x20open.','CollaborationUIEventId','LOCAL_CACHE_INTERVAL_KEY','/object/','ICommandService','state','setShowComponents','getAllMembers','resolve','reject','isPermissionRej','_sender','OTHER_CLIENTS_EDITING','routeKey','AwaitingWithPendingState','LICENSE_IMPORT_SIZE_EXCEEDED','withCredentials','format','@univerjs/docs','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','members','ISingleActiveUnitService','capture','session.join-failed','_socketMessageSubscription','@univerjs/network','HMAC','CompressMutationService','_pendingMutations','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','origin','PendingState','ImageUploadStatusType','Base','objectID','UNIVER_COLLABORATION_CLIENT_PLUGIN','toDisposable','YUUMI_ASYNCIO_CANCELLED','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','salt','csRejEvent','catch','_collaborationPaused','csAckEvent','touchDependencies','entries','_xformMode','_tryReconnect','isTransformChangesetsSuccess','setCurrentUser','_process','_initMergeInterceptor','close$','Module','/unit/','_init','getRandomValues','changesets','Cipher','_DEC_XFORM_MODE','FAIL','ClipsheetFragments','clone','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-permission-denied','_showConflictNotification','Univer','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onMissedChangesetFetched','RECV','loadSheet','CONNECTOR_DATA_TOO_LARGE','BlockCipherMode','_queuedRemoteChangesets','_injector','image/gif','LocalUndoRedoService','onTransformIME','_updateState','debug','image/jpeg','_onRemoteRejected','DEFAULT_COLLAB_WEB_SOCKET_URL','_permissionService','SUBMIT_CHANGESET','compute','_remoteChangesetQueue','_doProcessBlock','PERSON','HELLO','location','/-/object/-/batch_allowed','_waitForHeartbeatResponse','_createHmacHelper','_entities','ISnapshotServerService','_univerInstanceService','executeCommand','_transformStack','toggleOnline','\x20-\x20','onMutationExecutedForCollab','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','OfflineState','IUniverInstanceService','key','_socketService','\x0aCurrent:\x20','enableCollaboration','joinEvent','map','ILocalCacheService','[OfflineState]:\x20received\x20rejection.','fetch_missing','SUCCUSS','lib','_doCryptBlock','type','max','onTransformRemoteChangesetByStateCache','AuthzIoHttpService','DataLoaderService','univer-pro.collaboration-client.single-active-unit-service','UNAUTHENTICATED','collabSubmitChangesetUrl','compose','UNDEFINED','PERMISSION_DENIED','USER_NOT_INVITED_CODE','merge','src','reset','random','ITelemetryService','/collaborator','registerHTTPInterceptor','getResourcesRequest','range','emitEvent','buffer','has','REDEMPTION_INVALID_CODE','snapshotServerUrl','focused$','/universer-api/oidc/authpage','toStringTag','DATA_SOURCE_TOO_LARGE','DEFAULT_WS_SESSION_TICKET_URL','_sessions','_invKeySchedule','encodeURIComponent','_members$','_submitChangeset','_socket','ENTITLE_NEED_BILLING_ADDRESS','reconnect','ENTITLE_CHAT_LIMIT_EXCEED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','/new_changes','Latin1','_getCurrentRevision','HEARTBEAT_TIMEOUT','getCurrentRevOfUnit','HEARTBEAT_INTERVAL_KEY','getCurrentSelections','LICENSE_MAX_UNITS_EXCEEDED','fromCharCode','_onRecvEvent','[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.','formatter','_transformRemoteChangesetByStateCache','floor','image/jpg','initWorkbookPermissionChange','get','_getDownloadEndpointURL','_nRounds','asObservable','_change$','MSG_FOR_ERROR','post','_shouldReportTelemetry','entityInit$','HTTPRequest','now','PasswordBasedCipher','objectActions','_map','generateRandomId','parseChangesetToProtocol','_doReset','removeMember','[PendingState]:\x20received\x20acknowledgement.','_logService','_snapshotService','headers','NEW_CHANGESETS','blockSize','APPLY_DUPLICATED','concat','onRemoteAck','SNAPSHOT_URL_KEY','requireSession','&to=','[CollaborationUndoRedoService]','REDEMPTION_CODE_FULLY_REDEEMED','then','method','size','parseProtocolChangeset','cmd','closeSession','keySize','ciphertext','_members','isTransformMutationsWithChangesetSuccess','_sessionStatus$','incrementRevOfUnit','batchAllowed','JOIN','_syncEditingCollabCursor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','find','_onConnectionFailed','CollaborationEvent','HttpExport','_imageSourceCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_clearHeartbeatTimer','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SHOULD_CLOSE_CONN','isInternalEditorID','YUUMI_URL_COL_OUT_OF_RANGE','UniverTelemetry','_collabSessionService','socket\x20close','putCollaborators','_awaitingChangeset','_collaborationSessionService','leaveEvent','isTransformMutationsWithChangesetFailure','_compressMutationService','override','offline','_onUserJoin','AES','ENSURE_SNAPSHOT_EXECUTION','DocCollaborationEntity','_resendTimeout','ERROR_IMAGE_TYPE','delete','_sheetTransformSelectionsService','_clearCollaborationTimeoutTimer','[CollaborationSessionService]','YUUMI_CONNECTOR_URL_NOT_FOUND','length','amd','_undoRedoService','_handler','SheetCollaborationEntity','_sendHeartbeat','onTransformRemoteChangesetByIMECache','WorkbookEditablePermission','cfg','RxDisposable','_telemetryService','subscribe','SNAPSHOT_HAS_BEEN_REMOVED','_unitID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','decryptBlock','_onUserLeave','isArray','SheetsSelectionsService','_telemetryInfo','IDLE','transformMutationsWithChangeset','ERROR_AGAIN','fetching\x20missing\x20changesets\x20from\x20','getMember','HttpImport','message$','_configService','JSONX','AUTHORIZE_CODE_ILLEGAL','close','[PendingState]:\x20received\x20rejection.','_transitionLocked','_iv','avatar','equals','unknown','authzUrl','getGlobalObject','GLOBAL_ROOMS_CNT_EXCEEDS','getUnitType','_candidateSocket','JOIN_ROOM_NOT_EXISTS','ENTITLE_DUP_SUBSCRIPTION','ENTITLE_INVALID_COUPON_CODE','UserProfileImg','unitInfo$','_resendTimer','LICENSE_EXPORT_SIZE_EXCEEDED','mixIn','_prevBlock','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onTransformState','randomBytes','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_undoStacks','RETRY_CONNECTING_MAX_COUNT','onMissingChangesets','sheets','_unlockTransition','Utf8','_applyRemoteChangeset','6edqSFO','getImage','mergeOverrideWithDependencies','delay','getCurrentUser','sessionStatus','mode','onSendChangeset','_socketReady','saveSheetBlock','APPLY_NON_SEQUENTIAL_REVISION','UnitEmbedded','UniverInstanceType','CollaborationEntity','ceil','memberID','subject','_executeRemoteChangeset','SHA1','actions','ivSize','updateCollaborator','state$','_sendHeartbeatTimer','onTransformSelections','_tryEnsureSocket','downloadEndpointUrl','loginUrlKey','update','_lockTransition','allowed','firstValueFrom','parse','_memberService','__creator','listRoles','deleteCollaborator','_getUploadFileURL','padding','_nDataBytes','DEFAULT_FILE_NAME','ENTITLE_COUPON_EXPIRED','code','session.room-not-exists','JOIN_ROOM_PERMISSION_DENIED','repeat','liveShareOperation','onSyncEditingCollabCursor','/universer-api/uniscript','_state','_removeRoom','onRemoteRej','UPDATE_PERMISSION_OBJ','updateSnapshot','_substituteRedoStack','HTTPService','data','_httpService','revision','createEncryptor','patch','_transformService','CollaborationController','_config','unsubscribe','rev','_onRemoteChangeset','_updateLocalCache','BehaviorSubject','push','1902803BHQOPy','onCommentUpdate','_resendWithTimeout','shouldCloseConn','IUndoRedoService','POST','SyncedState','_entityInit$','mapDocumentTypeToUniverType','set','concatMap','MemberService','getTypeOfUnitDisposed$','\x0aAfter:\x20','addHandlerCallback','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','WordArray','ENTITLE_USE_COUPON_NOT_1ST_TRADE','algo','getOwnPropertyDescriptor','APPLY_REJECT','CollaborationUIEventService','_collaborationTimeoutTimer','_retryConnectingTimer','\x20to\x20','sid','_hash','onRemoteChangeset','updateOfflineData','_roomCreated$','_networkConditionService','_collaborationUIEventService','SYNCED','_transformRemoteChangesetByIMECache','min','UniverCollaborationClientPlugin','_replaceFileID','operators','USER_IS_ANONYMOUS','string','_onConnectionOpen','COMPLETION_FINISHED','CLOSE_ROOM','_getCtorByUniverType','UNISCRIPT_RUN','hasher','subUnitId','transformSelections','unitId','_revisionService','_onOffline','sessionStatus$','LIVESHARE_NEW_HOST','LIVESHARE_FETCH_OPERATIONS','ConflictState','onlyLocal','_initRequestHeader','Optional','_substituteUndoStack','_getSendChangesetTimeout','_toggleOnline','AwaitingState','_type','FileId','words','_startCollaboration','[OfflineState]:\x20received\x20changeset.','ThresholdInterceptorFactory','includes','error','OpenSSL','clear','ILogService','IContextService','_clearTimeoutTimer','_toggleOffline','conflict','UniverDocs','[CollaborationEntity]','CONFLICT','sendChangesetTimeout','collaboration-client.local-cache-service','join','every','YUUMI_UNABLE_LOAD_URL','awaiting_with_pending','transformStack\x20failed!','CollaborationSession','JOIN_ROOM_FAILED','CipherParams','encode','UNIVER_PROJECT','shareReplay','LIVESHARE_REQUEST_HOST','LOGIN_FAILED','socketService','onRemoteRetry','ENTITLE_COUPON_USED_UP','requestParams','/object','16IgMeue','EMAIL_HAS_BEEN_BOUND','b64DecodeUnicode','__Key__','_createInitialState','REDEMPTION_CODE_INACTIVE','loadOfflineData','iterations','AWAITING_WITH_PENDING','COMPRESS_MUTATION_SEND','MentionIoHttpService','apply','getInterceptPoints','_event$','_disableEditing','pipe','/universer-api/snapshot','m2Prime','enc','Injector','NOT_FOUND','_joinRoom','fetchMiss','workbook','ITransformService','FetchingMissState','startsWith','_timeoutTimer','LOCAL_CACHE_INTERVAL','rxjs','_transformSelections','_status$','UniverNetwork','Undefined','take','getSnapshotAPIPath','Plugin','telemetry\x20info\x20is\x20not\x20initialized','mutations','uploadFileServerUrl','&assign=','_handlerCallback','COMMENT_UPDATE','function','synced','HmacSHA1','_HTTPService','_cipher','_createSocket','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_REPORT_LIMIT_EXCEED','joinRsp','ERROR_IMAGE','\x20in\x20_schedule.','_onRemoteACK','substr','session','sin','name','UNKNOWN_CODE','_doCreateSocket','CHANGESET_SHOULD_RETRY','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearLocalCache','UnitSnapshot','_clearUndo','exports','OFFLINE','getValue','_updateStatus','decrypt','_onLocalMutation','default','Subject','sequenceExecute','loadUnitOfRevision'];_0x5316=function(){return _0x13130c;};return _0x5316();}
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
(function(
|
|
5
|
+
(function(_0x141629,_0x19b82e){const _0x452787=_0x5d1c,_0x52e22f=_0x141629();while(!![]){try{const _0x86df6a=parseInt(_0x452787(0x116))/0x1+-parseInt(_0x452787(0x111))/0x2+-parseInt(_0x452787(0xe6))/0x3*(-parseInt(_0x452787(0x10d))/0x4)+-parseInt(_0x452787(0x11a))/0x5+-parseInt(_0x452787(0x112))/0x6+parseInt(_0x452787(0x10c))/0x7*(-parseInt(_0x452787(0xfe))/0x8)+-parseInt(_0x452787(0xe2))/0x9*(-parseInt(_0x452787(0xf1))/0xa);if(_0x86df6a===_0x19b82e)break;else _0x52e22f['push'](_0x52e22f['shift']());}catch(_0x248e5b){_0x52e22f['push'](_0x52e22f['shift']());}}}(_0x5e01,0x3e398),function(_0x115d86,_0x4ba9e3){const _0x350aeb=_0x5d1c;typeof exports=='object'&&typeof module<'u'?_0x4ba9e3(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x350aeb(0xfb)&&define[_0x350aeb(0x11f)]?define([_0x350aeb(0xee),_0x350aeb(0x11c),'@univerjs/core/facade',_0x350aeb(0x10a),_0x350aeb(0xec),_0x350aeb(0xe4)],_0x4ba9e3):(_0x115d86=typeof globalThis<'u'?globalThis:_0x115d86||self,_0x4ba9e3(_0x115d86[_0x350aeb(0xf4)]={},_0x115d86[_0x350aeb(0xed)],_0x115d86[_0x350aeb(0x121)],_0x115d86[_0x350aeb(0xf0)],_0x115d86[_0x350aeb(0xf5)],_0x115d86['rxjs']));}(this,function(_0x115386,_0x43617f,_0x32518e,_0x447ad5,_0x5845df,_0x300528){'use strict';const _0x131e75=_0x5d1c;class _0x241c95 extends _0x32518e[_0x131e75(0x105)]{get[_0x131e75(0xe7)](){const _0x5a3381=_0x131e75;return _0x43617f[_0x5a3381(0xe7)];}}_0x32518e['FEnum'][_0x131e75(0x113)](_0x241c95);var _0x4cc2ae=Object[_0x131e75(0x114)],_0x1d0d4c=(_0xc23e5f,_0x54b113,_0x23f9f0,_0x1fd3f7)=>{const _0x170a67=_0x131e75;for(var _0x46113d=_0x1fd3f7>0x1?void 0x0:_0x1fd3f7?_0x4cc2ae(_0x54b113,_0x23f9f0):_0x54b113,_0x4639de=_0xc23e5f[_0x170a67(0xde)]-0x1,_0x1970a2;_0x4639de>=0x0;_0x4639de--)(_0x1970a2=_0xc23e5f[_0x4639de])&&(_0x46113d=_0x1970a2(_0x46113d)||_0x46113d);return _0x46113d;},_0xee84f1=(_0x15caac,_0x83f15d)=>(_0x5c958f,_0x4227d2)=>_0x83f15d(_0x5c958f,_0x4227d2,_0x15caac);_0x115386[_0x131e75(0x120)]=class extends _0x32518e[_0x131e75(0x122)]{constructor(_0x106cef,_0x411878,_0xff7657,_0x108694,_0x4fe30a){const _0x4c3045=_0x131e75;super(),this[_0x4c3045(0x100)]=_0x106cef,this[_0x4c3045(0xfa)]=_0x411878,this[_0x4c3045(0x110)]=_0xff7657,this[_0x4c3045(0x11e)]=_0x108694,this[_0x4c3045(0xef)]=_0x4fe30a;}async[_0x131e75(0x102)](){const _0x124336=_0x131e75;return this[_0x124336(0x119)]();}async[_0x131e75(0x119)](){const _0x2978f9=_0x131e75;throw new Error(_0x2978f9(0x106));}async[_0x131e75(0xff)](_0x108259){const _0x4378a7=_0x131e75;return this[_0x4378a7(0x117)](_0x108259);}async[_0x131e75(0x117)](_0x21084b,_0x1c4a5d){const _0x44f7c9=_0x131e75;return await this['_snapshotService'][_0x44f7c9(0xff)](_0x21084b,0x0,_0x1c4a5d)?(await this[_0x44f7c9(0xef)][_0x44f7c9(0x104)](_0x21084b),this[_0x44f7c9(0x100)]['getUniverSheet'](_0x21084b)):null;}[_0x131e75(0xdd)](_0x41553b,_0x176c57){const _0x39690e=_0x131e75,_0x3055c2=this['_injector']['get'](_0x43617f[_0x39690e(0xea)])['waitForRoom$'](_0x41553b)[_0x39690e(0x108)](_0x300528[_0x39690e(0x103)](_0x202ae9=>_0x202ae9['members$']))[_0x39690e(0x10b)](_0xfd495=>_0x176c57(Array[_0x39690e(0x11b)](_0xfd495[_0x39690e(0xf3)]())));return _0x5845df[_0x39690e(0x109)](_0x3055c2);}[_0x131e75(0x10f)](){const _0x4a7082=_0x131e75,_0x37d8b3=this[_0x4a7082(0x110)]['getFocusedUnit']();if(!_0x37d8b3)return _0x43617f[_0x4a7082(0xe7)][_0x4a7082(0x107)];const _0x180a28=this[_0x4a7082(0xef)][_0x4a7082(0xdf)](_0x37d8b3[_0x4a7082(0xe9)]());return _0x180a28?_0x180a28[_0x4a7082(0xe1)][_0x4a7082(0x115)]:_0x43617f[_0x4a7082(0xe7)][_0x4a7082(0x107)];}},_0x115386['FCollaboration']=_0x1d0d4c([_0xee84f1(0x1,_0x5845df[_0x131e75(0xf2)](_0x5845df[_0x131e75(0xf9)])),_0xee84f1(0x2,_0x5845df[_0x131e75(0xe5)]),_0xee84f1(0x3,_0x5845df['Inject'](_0x447ad5[_0x131e75(0xfd)])),_0xee84f1(0x4,_0x5845df[_0x131e75(0xf2)](_0x43617f[_0x131e75(0xfc)]))],_0x115386[_0x131e75(0x120)]);class _0x109e56 extends _0x32518e[_0x131e75(0xf8)]{[_0x131e75(0x11d)](){const _0x106c79=_0x131e75;return this[_0x106c79(0xfa)][_0x106c79(0xeb)](_0x115386[_0x106c79(0x120)],{'getUniverSheet':_0x1373d8=>this[_0x106c79(0xe0)](_0x1373d8)});}[_0x131e75(0x101)](_0x168fde,_0x199396,_0x1f334f){const _0x5b6f9b=_0x131e75;return this['_injector']['get'](_0x43617f[_0x5b6f9b(0xf6)])['loadUnit'](_0x168fde,_0x199396,_0x1f334f);}[_0x131e75(0xe8)](_0x4272df,_0x9b0218,_0x1f1113){const _0x47a94b=_0x131e75;return this[_0x47a94b(0xfa)][_0x47a94b(0xe3)](_0x43617f[_0x47a94b(0xf6)])[_0x47a94b(0x118)](_0x4272df,_0x9b0218,_0x1f1113);}}_0x32518e[_0x131e75(0xf8)][_0x131e75(0x113)](_0x109e56),Object['defineProperty'](_0x115386,Symbol[_0x131e75(0x10e)],{'value':_0x131e75(0xf7)});}));function _0x5d1c(_0x42e439,_0x22c696){_0x42e439=_0x42e439-0xdd;const _0x5e01df=_0x5e01();let _0x5d1cd0=_0x5e01df[_0x42e439];return _0x5d1cd0;}function _0x5e01(){const _0x2f58ce=['443654XostAi','loadSheetAsync','loadUnitOfRevision','loadActiveSheetAsync','2310505REOwXQ','from','@univerjs-pro/collaboration-client','getCollaboration','_snapshotService','amd','FCollaboration','UniverCoreFacade','FBase','subscribeCollaborators','length','getCollabEntity','getUniverSheet','state','63mVTzSg','get','rxjs','IUniverInstanceService','245121EgTLmL','CollaborationStatus','loadServerUnitOfRevision','getUnitId','MemberService','createInstance','@univerjs/core','UniverProCollaborationClient','exports','_collaborationController','UniverProCollaboration','1257110OrnHzV','Inject','values','UniverProCollaborationClientFacade','UniverCore','DataLoaderService','Module','FUniver','Injector','_injector','function','CollaborationController','SnapshotService','8aUlTBd','loadSheet','_handler','loadServerUnit','loadActiveSheet','switchMap','readyForCollab','FEnum','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','NOT_COLLAB','pipe','toDisposable','@univerjs-pro/collaboration','subscribe','1588762WRFNhK','4XwPblI','toStringTag','getCollaborationStatus','_univerInstanceService','358062qSCuPf','1694208GCiHll','extend','getOwnPropertyDescriptor','status'];_0x5e01=function(){return _0x2f58ce;};return _0x5e01();}
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
(function(_0x53cbe3,_0x45a409){const _0xd64623=_0x48a1,_0x2e1bb5=_0x53cbe3();while(!![]){try{const _0x2d8638=-parseInt(_0xd64623(0x2b1))/0x1+parseInt(_0xd64623(0x2d6))/0x2*(parseInt(_0xd64623(0x406))/0x3)+parseInt(_0xd64623(0x224))/0x4+parseInt(_0xd64623(0x438))/0x5+-parseInt(_0xd64623(0x399))/0x6*(-parseInt(_0xd64623(0x25f))/0x7)+-parseInt(_0xd64623(0x35a))/0x8+-parseInt(_0xd64623(0x1e5))/0x9;if(_0x2d8638===_0x45a409)break;else _0x2e1bb5['push'](_0x2e1bb5['shift']());}catch(_0x205f14){_0x2e1bb5['push'](_0x2e1bb5['shift']());}}}(_0xe035,0xc0460),function(_0xd4d077,_0x3d21c3){const _0x2c1a53=_0x48a1;typeof exports==_0x2c1a53(0x21e)&&typeof module<'u'?_0x3d21c3(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['amd']?define([_0x2c1a53(0x3d9),_0x2c1a53(0x427),_0x2c1a53(0x2b5),_0x2c1a53(0x256),_0x2c1a53(0x2c4),_0x2c1a53(0x2e9),_0x2c1a53(0x49e),_0x2c1a53(0x202),_0x2c1a53(0x2fe),'@univerjs/sheets',_0x2c1a53(0x281),_0x2c1a53(0x214),_0x2c1a53(0x1e3),_0x2c1a53(0x3b3),_0x2c1a53(0x371),_0x2c1a53(0x439),_0x2c1a53(0x1fe),_0x2c1a53(0x424),_0x2c1a53(0x311)],_0x3d21c3):(_0xd4d077=typeof globalThis<'u'?globalThis:_0xd4d077||self,_0x3d21c3(_0xd4d077[_0x2c1a53(0x27f)]={},_0xd4d077[_0x2c1a53(0x3ed)],_0xd4d077[_0x2c1a53(0x1b5)],_0xd4d077[_0x2c1a53(0x2ca)],_0xd4d077['UniverUi'],_0xd4d077[_0x2c1a53(0x2e9)],_0xd4d077[_0x2c1a53(0x2b2)],_0xd4d077[_0x2c1a53(0x3ed)],_0xd4d077[_0x2c1a53(0x2c0)],_0xd4d077[_0x2c1a53(0x337)],_0xd4d077['UniverEngineRender'],_0xd4d077[_0x2c1a53(0x405)],_0xd4d077[_0x2c1a53(0x2e4)],_0xd4d077[_0x2c1a53(0x3e4)],_0xd4d077[_0x2c1a53(0x213)],_0xd4d077[_0x2c1a53(0x47b)],_0xd4d077['UniverEngineFormula'],_0xd4d077[_0x2c1a53(0x2e9)][_0x2c1a53(0x2f6)],_0xd4d077[_0x2c1a53(0x269)]));}(this,function(_0x44b1a7,_0x89e71e,_0x3fe1f0,_0x39304f,_0x4c3b5c,_0x404575,_0x31598f,_0x13ddda,_0x256d9b,_0x3203ce,_0x46a3bd,_0x4e0fb2,_0x2abae2,_0x389a81,_0x560361,_0x59af06,_0x284237,_0x11a31a,_0x5ee9c5){'use strict';const _0x5de549=_0x48a1;var _0x28f531=Object[_0x5de549(0x412)],_0xeb5bc4=(_0x2733a3,_0x41b2d4,_0x2d1c3c)=>_0x41b2d4 in _0x2733a3?_0x28f531(_0x2733a3,_0x41b2d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d1c3c}):_0x2733a3[_0x41b2d4]=_0x2d1c3c,_0x41fabe=(_0x5acffd,_0x4ebf5c,_0x312e32)=>_0xeb5bc4(_0x5acffd,typeof _0x4ebf5c!=_0x5de549(0x277)?_0x4ebf5c+'':_0x4ebf5c,_0x312e32);function _0x5a6335({ref:_0x5983e8,..._0x1b53bb}){const _0x490bb7=_0x5de549,{icon:_0x557ba5,id:_0x434f45,className:_0x1be508,extend:_0x52e838,..._0x500606}=_0x1b53bb,_0x54f7a1=(_0x490bb7(0x450)+_0x434f45+'\x20'+(_0x1be508||''))[_0x490bb7(0x27a)](),_0x5e7743=_0x13ddda[_0x490bb7(0x27b)]('_'+_0x3b89e2());return _0x3b00c8(_0x557ba5,''+_0x434f45,{'defIds':_0x557ba5[_0x490bb7(0x417)],'idSuffix':_0x5e7743['current']},{'ref':_0x5983e8,'className':_0x54f7a1,..._0x500606},_0x52e838);}function _0x3b00c8(_0x26274b,_0x290b1c,_0x3c26de,_0x5661d8,_0x397cf7){const _0x5c6126=_0x5de549;return _0x13ddda['createElement'](_0x26274b[_0x5c6126(0x483)],{'key':_0x290b1c,..._0x4f9e0c(_0x26274b,_0x3c26de,_0x397cf7),..._0x5661d8},(_0x120f5f(_0x26274b,_0x3c26de)[_0x5c6126(0x497)]||[])[_0x5c6126(0x309)]((_0x17c1e5,_0x8db2f7)=>_0x3b00c8(_0x17c1e5,_0x290b1c+'-'+_0x26274b[_0x5c6126(0x483)]+'-'+_0x8db2f7,_0x3c26de,void 0x0,_0x397cf7)));}function _0x4f9e0c(_0x4dab37,_0x278bbd,_0x5ea664){const _0xf1e258=_0x5de549,_0x1002ea={..._0x4dab37['attrs']};_0x5ea664!=null&&_0x5ea664[_0xf1e258(0x30c)]&&_0x1002ea[_0xf1e258(0x402)]==='colorChannel1'&&(_0x1002ea[_0xf1e258(0x402)]=_0x5ea664[_0xf1e258(0x30c)]),_0x4dab37[_0xf1e258(0x483)]===_0xf1e258(0x292)&&_0x1002ea['id']&&(_0x1002ea['id']=_0x1002ea['id']+_0x278bbd[_0xf1e258(0x336)]),Object[_0xf1e258(0x400)](_0x1002ea)[_0xf1e258(0x22a)](([_0x53cc8a,_0x35906d])=>{const _0x5a4df8=_0xf1e258;_0x53cc8a===_0x5a4df8(0x292)&&typeof _0x35906d==_0x5a4df8(0x1cd)&&(_0x1002ea[_0x53cc8a]=_0x35906d['replace'](/url\(#(.*)\)/,'url(#$1'+_0x278bbd[_0x5a4df8(0x336)]+')'));});const {defIds:_0xc96725}=_0x278bbd;return!_0xc96725||_0xc96725[_0xf1e258(0x3b7)]===0x0||(_0x4dab37['tag']===_0xf1e258(0x313)&&_0x1002ea[_0xf1e258(0x3e3)]&&(_0x1002ea[_0xf1e258(0x3e3)]=_0x1002ea[_0xf1e258(0x3e3)]+_0x278bbd[_0xf1e258(0x336)]),Object['entries'](_0x1002ea)[_0xf1e258(0x22a)](([_0x372105,_0x8d17f1])=>{const _0x160136=_0xf1e258;typeof _0x8d17f1==_0x160136(0x1cd)&&(_0x1002ea[_0x372105]=_0x8d17f1[_0x160136(0x1dd)](/url\(#(.*)\)/,_0x160136(0x3cb)+_0x278bbd['idSuffix']+')'));})),_0x1002ea;}function _0x120f5f(_0x3ce3c3,_0xd70c4f){const _0x295a7c=_0x5de549;var _0x154b3e;const {defIds:_0x539ae8}=_0xd70c4f;return!_0x539ae8||_0x539ae8['length']===0x0?_0x3ce3c3:_0x3ce3c3[_0x295a7c(0x483)]===_0x295a7c(0x463)&&((_0x154b3e=_0x3ce3c3[_0x295a7c(0x497)])!=null&&_0x154b3e['length'])?{..._0x3ce3c3,'children':_0x3ce3c3[_0x295a7c(0x497)]['map'](_0x2010cc=>typeof _0x2010cc[_0x295a7c(0x454)]['id']==_0x295a7c(0x1cd)&&_0x539ae8&&_0x539ae8[_0x295a7c(0x410)](_0x2010cc[_0x295a7c(0x454)]['id'])?{..._0x2010cc,'attrs':{..._0x2010cc['attrs'],'id':_0x2010cc['attrs']['id']+_0xd70c4f['idSuffix']}}:_0x2010cc)}:_0x3ce3c3;}function _0x3b89e2(){const _0x18975c=_0x5de549;return Math[_0x18975c(0x46c)]()[_0x18975c(0x492)](0x24)[_0x18975c(0x301)](0x2,0x8);}_0x5a6335[_0x5de549(0x3bd)]='UniverIcon';const _0x343eae={'tag':_0x5de549(0x2a1),'attrs':{'xmlns':_0x5de549(0x2a9),'fill':'none','viewBox':_0x5de549(0x31f),'width':_0x5de549(0x2f5),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5de549(0x389)},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'stroke':_0x5de549(0x46a),'d':_0x5de549(0x4a9),'strokeLinecap':_0x5de549(0x3bb),'strokeLinejoin':_0x5de549(0x3bb),'strokeWidth':1.2}}]},{'tag':_0x5de549(0x463),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5de549(0x3ec)},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'fill':_0x5de549(0x392),'d':_0x5de549(0x375)}}]}]}],'defIds':[_0x5de549(0x3ec)]},_0x2bc78d=_0x13ddda[_0x5de549(0x234)](function(_0x40a036,_0x29d2be){const _0x579388=_0x5de549;return _0x13ddda[_0x579388(0x45e)](_0x5a6335,Object[_0x579388(0x283)]({},_0x40a036,{'id':_0x579388(0x3d3),'ref':_0x29d2be,'icon':_0x343eae}));});_0x2bc78d[_0x5de549(0x3bd)]=_0x5de549(0x2a2);const _0x181b5c={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x5de549(0x217),'width':_0x5de549(0x2f5),'height':_0x5de549(0x2f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x5de549(0x233)},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'stroke':_0x5de549(0x46a),'d':_0x5de549(0x232),'strokeLinecap':_0x5de549(0x3bb),'strokeLinejoin':_0x5de549(0x3bb),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'fill':'white','d':_0x5de549(0x375),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c0237=_0x13ddda[_0x5de549(0x234)](function(_0x43c65,_0x42df77){const _0x3e76cb=_0x5de549;return _0x13ddda['createElement'](_0x5a6335,Object[_0x3e76cb(0x283)]({},_0x43c65,{'id':_0x3e76cb(0x478),'ref':_0x42df77,'icon':_0x181b5c}));});_0x5c0237[_0x5de549(0x3bd)]=_0x5de549(0x1e4);function _0x19e725(_0x1d9633){const _0x159eb4=_0x5de549;switch(_0x1d9633){case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x327)]:return _0x159eb4(0x220);case _0x3fe1f0['CollaborationStatus']['CONFLICT']:return _0x159eb4(0x4a0);case _0x3fe1f0['CollaborationStatus'][_0x159eb4(0x2ef)]:return _0x159eb4(0x1fc);case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x475)]:return _0x159eb4(0x2aa);case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x2cd)]:case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x2e2)]:return _0x159eb4(0x216);case _0x3fe1f0['CollaborationStatus'][_0x159eb4(0x2a5)]:case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x363)]:return _0x159eb4(0x276);}}function _0x15d907(_0x511b81){const _0x404306=_0x5de549,{status$:_0x35106c}=_0x511b81,_0x1b1f2d=_0x4c3b5c[_0x404306(0x33c)](_0x35106c,_0x3fe1f0[_0x404306(0x329)][_0x404306(0x475)]),_0x1603f2=_0x4c3b5c[_0x404306(0x3d1)](_0x39304f[_0x404306(0x3f4)]),_0x5e4aad=_0x4c3b5c['useDependency'](_0x3fe1f0['CollaborationSessionService']),_0x1e0d9a=_0x1b1f2d!==_0x3fe1f0['CollaborationStatus'][_0x404306(0x327)],_0x4539da=_0x1603f2['t'](_0x19e725(_0x1b1f2d)),_0x4b059e=_0x1e0d9a?_0x89e71e['jsx'](_0x5c0237,{}):_0x89e71e[_0x404306(0x460)](_0x2bc78d,{}),_0x5d6804=_0x13ddda['useCallback'](()=>{const _0x59beb7=_0x404306;_0x1e0d9a||_0x5e4aad[_0x59beb7(0x1b3)]();},[_0x1e0d9a,_0x5e4aad]);function _0xc6b601(){const _0x3ef2ac=_0x404306;return _0x89e71e[_0x3ef2ac(0x20d)]('div',{'className':_0x3ef2ac(0x2e0),'onClick':_0x5d6804,'children':[_0x89e71e[_0x3ef2ac(0x460)](_0x3ef2ac(0x359),{'className':_0x31598f[_0x3ef2ac(0x409)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1e0d9a,'univer-text-red-500':!_0x1e0d9a}),'children':_0x4b059e}),_0x89e71e[_0x3ef2ac(0x460)](_0x3ef2ac(0x359),{'className':_0x3ef2ac(0x489),'children':_0x4539da})]});}return _0x1e0d9a?_0xc6b601():_0x89e71e['jsx'](_0x31598f[_0x404306(0x3d2)],{'title':_0x1603f2['t'](_0x404306(0x268)),'children':_0xc6b601()});}var _0x2782bb=Object[_0x5de549(0x49f)],_0x172f07=(_0x2f8ea9,_0x42f4c9,_0xb09d29,_0x3e3cc2)=>{const _0x17cba1=_0x5de549;for(var _0x5a1a0c=_0x3e3cc2>0x1?void 0x0:_0x3e3cc2?_0x2782bb(_0x42f4c9,_0xb09d29):_0x42f4c9,_0x4d00b7=_0x2f8ea9[_0x17cba1(0x3b7)]-0x1,_0x2ba80b;_0x4d00b7>=0x0;_0x4d00b7--)(_0x2ba80b=_0x2f8ea9[_0x4d00b7])&&(_0x5a1a0c=_0x2ba80b(_0x5a1a0c)||_0x5a1a0c);return _0x5a1a0c;},_0x2ef9d2=(_0x1c68b5,_0x50f188)=>(_0x388ff8,_0x178ce4)=>_0x50f188(_0x388ff8,_0x178ce4,_0x1c68b5);_0x44b1a7['DesktopCollaborationStatusDisplayController']=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x9d4c5e,_0x4e52f0,_0x45af5d,_0x53a7da){const _0x5dd0af=_0x5de549;super(),_0x41fabe(this,_0x5dd0af(0x2e8),new _0x404575[(_0x5dd0af(0x25b))](_0x3fe1f0[_0x5dd0af(0x329)][_0x5dd0af(0x475)])),(this['_univerInstanceService']=_0x9d4c5e,this['_injector']=_0x4e52f0,this[_0x5dd0af(0x1fd)]=_0x45af5d,this[_0x5dd0af(0x30a)]=_0x53a7da,this['_initStatusComponent'](),this[_0x5dd0af(0x1b4)]());}[_0x5de549(0x1b4)](){const _0x2b536a=_0x5de549;this['disposeWithMe'](this[_0x2b536a(0x26e)][_0x2b536a(0x29c)][_0x2b536a(0x498)](_0x404575['switchMap'](()=>{const _0x4e64b3=_0x2b536a,_0x4cdc61=this['_univerInstanceService'][_0x4e64b3(0x3ae)]();return _0x4cdc61?this[_0x4e64b3(0x1fd)][_0x4e64b3(0x3a5)](_0x4cdc61[_0x4e64b3(0x41e)]()):_0x404575['of'](null);}),_0x404575[_0x2b536a(0x287)](_0x2bf472=>_0x2bf472?_0x2bf472[_0x2b536a(0x240)]:_0x404575['of'](_0x3fe1f0[_0x2b536a(0x329)][_0x2b536a(0x475)])))[_0x2b536a(0x38e)](_0x169db7=>{const _0x718656=_0x2b536a;this[_0x718656(0x2e8)][_0x718656(0x345)](_0x169db7);}));}['_initStatusComponent'](){const _0x1445a4=_0x5de549;this['disposeWithMe'](this[_0x1445a4(0x30a)][_0x1445a4(0x40c)](_0x4c3b5c['BuiltInUIPart'][_0x1445a4(0x40d)],()=>_0x4c3b5c[_0x1445a4(0x351)](_0x10ae48({'status$':this[_0x1445a4(0x2e8)]['asObservable']()}),this[_0x1445a4(0x31d)])));}},_0x44b1a7['DesktopCollaborationStatusDisplayController']=_0x172f07([_0x2ef9d2(0x0,_0x39304f[_0x5de549(0x2cc)]),_0x2ef9d2(0x1,_0x39304f[_0x5de549(0x356)](_0x39304f['Injector'])),_0x2ef9d2(0x2,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x28d)])),_0x2ef9d2(0x3,_0x4c3b5c[_0x5de549(0x2e3)])],_0x44b1a7['DesktopCollaborationStatusDisplayController']);function _0x10ae48(_0x337431){const {status$:_0x346179}=_0x337431;return function(){const _0x30f706=_0x48a1;return _0x89e71e[_0x30f706(0x460)](_0x15d907,{'status$':_0x346179});};}const _0x4d8922=_0x39304f[_0x5de549(0x221)](_0x5de549(0x3b6));var _0x57b2b1=Object[_0x5de549(0x49f)],_0x2c13d4=(_0x4713ca,_0x19cb17,_0x3a42ec,_0x4cc95d)=>{const _0x41e5f7=_0x5de549;for(var _0x1fe1ed=_0x4cc95d>0x1?void 0x0:_0x4cc95d?_0x57b2b1(_0x19cb17,_0x3a42ec):_0x19cb17,_0x30dac4=_0x4713ca[_0x41e5f7(0x3b7)]-0x1,_0x5457d8;_0x30dac4>=0x0;_0x30dac4--)(_0x5457d8=_0x4713ca[_0x30dac4])&&(_0x1fe1ed=_0x5457d8(_0x1fe1ed)||_0x1fe1ed);return _0x1fe1ed;},_0x7cdaa=(_0xae5d12,_0x257faf)=>(_0x502f07,_0x34f8c9)=>_0x257faf(_0x502f07,_0x34f8c9,_0xae5d12);_0x44b1a7[_0x5de549(0x315)]=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x491a08,_0x290500,_0x16efd3,_0x5705e6,_0x487e3f){const _0x152e86=_0x5de549;super(),this[_0x152e86(0x321)]=_0x491a08,this[_0x152e86(0x43a)]=_0x290500,this[_0x152e86(0x33e)]=_0x16efd3,this[_0x152e86(0x31c)]=_0x5705e6,_0x487e3f?_0x487e3f==null||_0x487e3f[_0x152e86(0x383)]()[_0x152e86(0x2f8)](()=>this[_0x152e86(0x48f)]()):(this['_logService'][_0x152e86(0x45b)]('[CollaborationDataLoaderController]',_0x152e86(0x24b)),this[_0x152e86(0x48f)]());}async['_init'](){const _0x3029a7=_0x5de549,_0x35fadc=this[_0x3029a7(0x321)]['getParam']('unit'),_0xf4bb82=this[_0x3029a7(0x321)]['getParam']('type'),_0x3cf74d=this[_0x3029a7(0x321)]['getParam']('subunit');if(!_0x35fadc||!_0xf4bb82){this[_0x3029a7(0x43a)]['debug'](_0x3029a7(0x1a6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4b3782=await this[_0x3029a7(0x31c)]['loadUnit'](_0x35fadc,Number(_0xf4bb82),_0x3cf74d);_0x4b3782&&_0x4b3782 instanceof _0x39304f[_0x3029a7(0x2b6)]&&this[_0x3029a7(0x3df)](_0x4b3782);}async[_0x5de549(0x3df)](_0x4133d9){const _0x54b59d=_0x5de549;await this[_0x54b59d(0x456)](_0x4133d9),_0x4133d9[_0x54b59d(0x31a)][_0x54b59d(0x498)](_0x404575[_0x54b59d(0x387)](this[_0x54b59d(0x241)]))[_0x54b59d(0x38e)](_0x28e88e=>{const _0x4efb4c=_0x54b59d;_0x28e88e&&this[_0x4efb4c(0x1a5)](_0x28e88e);}),this[_0x54b59d(0x321)]['urlChange$']['pipe'](_0x404575[_0x54b59d(0x387)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4133d9));}['_updateURLWithCurrentState'](_0x2bdbf7,_0x15645a=!0x1){const _0x314741=_0x5de549,_0x210265=this[_0x314741(0x321)][_0x314741(0x350)](_0x314741(0x28a));_0x2bdbf7[_0x314741(0x308)]()!==_0x210265&&this[_0x314741(0x321)][_0x314741(0x374)]('subunit',_0x2bdbf7['getSheetId'](),_0x15645a);}async[_0x5de549(0x456)](_0x20347b){const _0x37baf1=_0x5de549;var _0x581549;const _0x77f874=this[_0x37baf1(0x321)]['getParam'](_0x37baf1(0x28a));if(!_0x77f874||!_0x20347b[_0x37baf1(0x296)](_0x77f874)){const _0xb2cc7c=_0x20347b[_0x37baf1(0x239)]()[0x0],_0xe42655=_0x20347b[_0x37baf1(0x296)](_0xb2cc7c);if(!_0xe42655)return;this[_0x37baf1(0x1a5)](_0xe42655,!0x0),await this[_0x37baf1(0x33e)][_0x37baf1(0x275)](_0x3203ce[_0x37baf1(0x264)]['id'],{'unitId':_0x20347b[_0x37baf1(0x41e)](),'subUnitId':_0xb2cc7c});return;}((_0x581549=_0x20347b[_0x37baf1(0x2e1)]())==null?void 0x0:_0x581549[_0x37baf1(0x308)]())!==_0x77f874&&await this[_0x37baf1(0x33e)][_0x37baf1(0x275)](_0x3203ce['SetWorksheetActivateCommand']['id'],{'unitId':_0x20347b[_0x37baf1(0x41e)](),'subUnitId':_0x77f874});}},_0x44b1a7[_0x5de549(0x315)]=_0x2c13d4([_0x7cdaa(0x0,_0x4d8922),_0x7cdaa(0x1,_0x39304f['ILogService']),_0x7cdaa(0x2,_0x39304f[_0x5de549(0x3bf)]),_0x7cdaa(0x3,_0x39304f['Inject'](_0x3fe1f0[_0x5de549(0x207)])),_0x7cdaa(0x4,_0x39304f[_0x5de549(0x24c)](_0x256d9b[_0x5de549(0x487)]))],_0x44b1a7[_0x5de549(0x315)]);var _0x3c4fad=Object['getOwnPropertyDescriptor'],_0x2b952c=(_0x648ea9,_0x557039,_0x274d8d,_0x18fb20)=>{const _0x241925=_0x5de549;for(var _0x3182db=_0x18fb20>0x1?void 0x0:_0x18fb20?_0x3c4fad(_0x557039,_0x274d8d):_0x557039,_0x1d0be2=_0x648ea9[_0x241925(0x3b7)]-0x1,_0x4f3e33;_0x1d0be2>=0x0;_0x1d0be2--)(_0x4f3e33=_0x648ea9[_0x1d0be2])&&(_0x3182db=_0x4f3e33(_0x3182db)||_0x3182db);return _0x3182db;},_0x3c0f37=(_0x5a1f75,_0x3916ee)=>(_0x506672,_0x370ffd)=>_0x3916ee(_0x506672,_0x370ffd,_0x5a1f75);let _0x171e0f=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x364fcf,_0x38b9d8){const _0x402ad5=_0x5de549;super(),this['_docClipboardService']=_0x364fcf,this[_0x402ad5(0x473)]=_0x38b9d8,this[_0x402ad5(0x48f)]();}[_0x5de549(0x48f)](){const _0x231316=_0x5de549,_0x1b0d45=this;this[_0x231316(0x24e)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x48031a=>{const _0x196072=_0x231316,_0x286f51=await _0x1b0d45[_0x196072(0x473)][_0x196072(0x3d8)](_0x48031a);return _0x286f51?{'source':_0x286f51[_0x196072(0x26f)],'imageSourceType':_0x286f51[_0x196072(0x304)]}:null;}}));}};_0x171e0f=_0x2b952c([_0x3c0f37(0x0,_0x2abae2[_0x5de549(0x396)]),_0x3c0f37(0x1,_0x389a81[_0x5de549(0x300)])],_0x171e0f);const _0x184156=[_0x5de549(0x23b),_0x5de549(0x480),'green.600','red.300',_0x5de549(0x420),_0x5de549(0x481)];class _0x34f587 extends _0x39304f[_0x5de549(0x1ba)]{constructor(){const _0x393454=_0x5de549;super(...arguments),_0x41fabe(this,_0x393454(0x3a8),new Map()),_0x41fabe(this,_0x393454(0x2c2),0x0);}[_0x5de549(0x21f)](_0x1f22d0){const _0xfed589=_0x5de549;if(this[_0xfed589(0x3a8)][_0xfed589(0x3f7)](_0x1f22d0))return this['_assignedColors'][_0xfed589(0x1c0)](_0x1f22d0);const _0x91c12b=_0x184156[this['_colorIndex']];return this[_0xfed589(0x2c2)]=(this[_0xfed589(0x2c2)]+0x1)%_0x184156['length'],this[_0xfed589(0x3a8)][_0xfed589(0x361)](_0x1f22d0,_0x91c12b),_0x91c12b;}}function _0x439a24(_0x259630){const _0x4da925=_0x5de549;let _0x3daa07='';for(const _0x436e67 of _0x259630){const {startOffset:_0x4652c5,endOffset:_0x2f99d4,isActive:_0x252a20,rangeType:_0x5c65c8,segmentId:_0x36eab7,segmentPage:_0x55d4e3}=_0x436e67;_0x3daa07[_0x4da925(0x3b7)]&&(_0x3daa07+=','),_0x3daa07+=_0x4652c5+':'+_0x2f99d4+':'+(_0x252a20?'1':'0')+':'+_0x5c65c8+':'+_0x36eab7+':'+_0x55d4e3;}return _0x3daa07;}function _0x170153(_0x1644a8){const _0x25a4cd=_0x5de549,_0x363718=_0x1644a8[_0x25a4cd(0x46f)](','),_0x19f8b6=[];for(const _0x327288 of _0x363718){const [_0x468207,_0x7a3396,_0x20faf0,_0x4c8c1c,_0x220a71,_0x4e214c]=_0x327288[_0x25a4cd(0x46f)](':');_0x19f8b6[_0x25a4cd(0x44d)]({'startOffset':Number(_0x468207),'endOffset':Number(_0x7a3396),'collapsed':_0x468207===_0x7a3396,'isActive':_0x20faf0==='1','rangeType':_0x4c8c1c===_0x39304f[_0x25a4cd(0x431)][_0x25a4cd(0x49a)]?_0x39304f[_0x25a4cd(0x431)][_0x25a4cd(0x49a)]:_0x39304f[_0x25a4cd(0x431)][_0x25a4cd(0x1b1)],'segmentId':typeof _0x220a71==_0x25a4cd(0x1cd)?String(_0x220a71):'','segmentPage':Number(_0x4e214c!=null?_0x4e214c:-0x1)});}return _0x19f8b6[_0x25a4cd(0x34f)](_0x36fd55=>_0x36fd55[_0x25a4cd(0x453)])||(_0x19f8b6[0x0][_0x25a4cd(0x453)]=!0x0),_0x19f8b6;}class _0x4c3a54 extends _0x39304f[_0x5de549(0x423)]{constructor(){const _0x818271=_0x5de549;super(...arguments),_0x41fabe(this,_0x818271(0x486),new _0x404575['BehaviorSubject'](null)),_0x41fabe(this,_0x818271(0x2c1),this[_0x818271(0x486)][_0x818271(0x2a6)]());}[_0x5de549(0x3e0)](_0x4487cb){const _0x20cda3=_0x5de549,{unitID:_0x1776b4,memberID:_0x419375,textRanges:_0x2c24ce}=_0x4487cb,_0x4c0a75=_0x439a24(_0x2c24ce);if(_0x4c0a75==='')return;const _0x2851ab={'unitID':_0x1776b4,'memberID':_0x419375,'selection':_0x4c0a75};this['_collabCursorState$'][_0x20cda3(0x345)](_0x2851ab);}}var _0x4b039e=Object[_0x5de549(0x49f)],_0x2b4f16=(_0x1ee426,_0x343cde,_0x51c387,_0x4a3382)=>{for(var _0x2f4148=_0x4a3382>0x1?void 0x0:_0x4a3382?_0x4b039e(_0x343cde,_0x51c387):_0x343cde,_0x2057a0=_0x1ee426['length']-0x1,_0x5ab883;_0x2057a0>=0x0;_0x2057a0--)(_0x5ab883=_0x1ee426[_0x2057a0])&&(_0x2f4148=_0x5ab883(_0x2f4148)||_0x2f4148);return _0x2f4148;},_0x25a220=(_0x4229ee,_0x3dd898)=>(_0x4a4d69,_0x18e7e8)=>_0x3dd898(_0x4a4d69,_0x18e7e8,_0x4229ee);const _0x50d76f=0x12c,_0x579577=0x64;let _0x427717=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x5cc96f,_0x511f38,_0x3c7219,_0x4ebb82,_0x2ed724,_0x5a3b98,_0x4f25d1,_0x257482,_0x2c5807){const _0x5dc9b2=_0x5de549;super(),_0x41fabe(this,_0x5dc9b2(0x1b7),!0x1),_0x41fabe(this,'_init',!0x1),_0x41fabe(this,_0x5dc9b2(0x35f),new _0x404575['BehaviorSubject'](new Map())),_0x41fabe(this,_0x5dc9b2(0x2af),this[_0x5dc9b2(0x35f)]['asObservable']()),_0x41fabe(this,'_roomMembers$',new _0x404575['BehaviorSubject']([])),_0x41fabe(this,_0x5dc9b2(0x35e),this[_0x5dc9b2(0x376)][_0x5dc9b2(0x498)](_0x404575['debounceTime'](_0x50d76f))),_0x41fabe(this,_0x5dc9b2(0x1dc),_0x39304f[_0x5dc9b2(0x484)](_0x9b4cd6=>{const _0xdb5b0e=_0x5dc9b2,_0x123dd5={'eventID':_0x560361[_0xdb5b0e(0x1da)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0xdb5b0e(0x1af)](),'selection':_0x439a24(_0x9b4cd6)}};this['_session'][_0xdb5b0e(0x200)](_0x123dd5,this['unitID']);},_0x579577)),(this[_0x5dc9b2(0x42f)]=_0x5cc96f,this[_0x5dc9b2(0x422)]=_0x511f38,this[_0x5dc9b2(0x31d)]=_0x3c7219,this[_0x5dc9b2(0x1c7)]=_0x4ebb82,this[_0x5dc9b2(0x413)]=_0x2ed724,this[_0x5dc9b2(0x45a)]=_0x5a3b98,this[_0x5dc9b2(0x403)]=_0x4f25d1,this['_univerInstanceService']=_0x257482,this[_0x5dc9b2(0x33e)]=_0x2c5807);}get[_0x5de549(0x3d7)](){const _0x6b97ed=_0x5de549;return this['_cursorInfo$'][_0x6b97ed(0x3fc)]();}get[_0x5de549(0x2a8)](){const _0x228bd5=_0x5de549;return this[_0x228bd5(0x376)]['getValue']();}['dispose'](){const _0x358f2f=_0x5de549;super[_0x358f2f(0x2c3)](),this[_0x358f2f(0x35f)][_0x358f2f(0x345)](new Map()),this['_cursorInfo$']['complete'](),this[_0x358f2f(0x376)]['next']([]),this[_0x358f2f(0x376)][_0x358f2f(0x2d4)]();}[_0x5de549(0x482)](){const _0x5f2253=_0x5de549;this[_0x5f2253(0x48f)]||(this[_0x5f2253(0x48f)]=!0x0,this['_session'][_0x5f2253(0x34c)]['pipe'](_0x404575[_0x5f2253(0x387)](this['dispose$']))[_0x5f2253(0x38e)](_0x10ba68=>{const _0xdd6168=_0x5f2253;_0x10ba68===_0x3fe1f0[_0xdd6168(0x434)]['ONLINE']?this[_0xdd6168(0x34e)]():this['_toggleOffline']();}),this[_0x5f2253(0x422)]['event$']['pipe'](_0x404575[_0x5f2253(0x387)](this[_0x5f2253(0x241)]))[_0x5f2253(0x38e)](_0x354de2=>{const _0x4fc56c=_0x5f2253,_0xdfa53=_0x354de2[_0x4fc56c(0x3f2)];_0xdfa53===_0x560361[_0x4fc56c(0x1da)][_0x4fc56c(0x2db)]&&this['_onCursorUpdate'](_0x354de2),_0xdfa53===_0x560361[_0x4fc56c(0x1da)][_0x4fc56c(0x4a5)]&&this[_0x4fc56c(0x346)](_0x354de2);}),this['disposeWithMe'](this[_0x5f2253(0x33e)]['onCommandExecuted'](_0x293813=>{const _0x2b5a7f=_0x5f2253,_0x4fc6b1=_0x293813[_0x2b5a7f(0x448)];_0x4fc6b1!=null&&this[_0x2b5a7f(0x1b7)]&&_0x293813['id']===_0x59af06[_0x2b5a7f(0x488)]['id']&&_0x4fc6b1[_0x2b5a7f(0x2fb)]===this[_0x2b5a7f(0x42f)]&&_0x4fc6b1[_0x2b5a7f(0x2f1)]===!0x1&&_0x4fc6b1[_0x2b5a7f(0x3a0)][_0x2b5a7f(0x3b7)]>0x0&&this[_0x2b5a7f(0x1dc)](_0x4fc6b1['ranges']);})),this[_0x5f2253(0x45a)][_0x5f2253(0x2c1)][_0x5f2253(0x498)](_0x404575[_0x5f2253(0x387)](this['dispose$']))['subscribe'](_0x10bf48=>{const _0x4fad2e=_0x5f2253;if((_0x10bf48==null?void 0x0:_0x10bf48[_0x4fad2e(0x42f)])!==this[_0x4fad2e(0x42f)])return;const _0x1599b2={'eventID':_0x560361[_0x4fad2e(0x1da)][_0x4fad2e(0x2db)],'data':_0x10bf48};this[_0x4fad2e(0x44b)](_0x1599b2);}),this['disposeWithMe'](this[_0x5f2253(0x33e)][_0x5f2253(0x2fd)](_0x52ddde=>{const _0x4ed14b=_0x5f2253;if(_0x52ddde[_0x4ed14b(0x448)]==null)return;const _0x1cd317=_0x52ddde[_0x4ed14b(0x448)];if(_0x52ddde['id']!==_0x59af06[_0x4ed14b(0x2f4)]['id']||_0x1cd317[_0x4ed14b(0x2fb)]!==this['unitID'])return;const _0x52a4a0={'id':'doc.mutation.rich-text-editing','params':_0x1cd317},_0x305405=this[_0x4ed14b(0x3d7)];for(const [_0x141407,_0x4d98b9]of _0x305405){const _0x2a9b3e={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4ed14b(0x42f)],'actions':null,'textRanges':_0x4d98b9[_0x4ed14b(0x3a0)]}},_0x8bc51a=this[_0x4ed14b(0x403)]['transformMutation'](_0x52a4a0,_0x2a9b3e,!0x1);if(_0x560361['isTransformMutationFailure'](_0x8bc51a))throw _0x8bc51a[_0x4ed14b(0x2ee)];_0x305405['set'](_0x141407,{..._0x4d98b9,'ranges':_0x8bc51a[_0x4ed14b(0x1e0)][_0x4ed14b(0x448)]['textRanges']});}queueMicrotask(()=>{const _0x5ab3df=_0x4ed14b;this[_0x5ab3df(0x35f)]['next'](_0x305405);});})));}[_0x5de549(0x44b)](_0x13ee69){const _0x46ee3e=_0x5de549;var _0x33b71b,_0x1086ed;const {memberID:_0x518804,selection:_0x282b69}=_0x13ee69[_0x46ee3e(0x298)],_0x11c1d0=_0x170153(_0x282b69),_0x6bc7fd=(_0x1086ed=(_0x33b71b=this[_0x46ee3e(0x413)][_0x46ee3e(0x1de)](this[_0x46ee3e(0x42f)],_0x518804))==null?void 0x0:_0x33b71b[_0x46ee3e(0x231)])!=null?_0x1086ed:_0x46ee3e(0x490),_0x48f595={'color':this[_0x46ee3e(0x1c7)][_0x46ee3e(0x21f)](_0x518804),'name':_0x6bc7fd,'ranges':_0x11c1d0},_0x4ec7c4=this['cursorInfo'];_0x4ec7c4['set'](_0x518804,_0x48f595),this[_0x46ee3e(0x35f)][_0x46ee3e(0x345)](_0x4ec7c4);}[_0x5de549(0x346)](_0x57b3f9){const _0x2caa1e=_0x5de549,{memberID:_0x3d29e7}=_0x57b3f9[_0x2caa1e(0x298)],_0x2a72f6=this['cursorInfo'];_0x2a72f6[_0x2caa1e(0x421)](_0x3d29e7),this[_0x2caa1e(0x35f)][_0x2caa1e(0x345)](_0x2a72f6);}[_0x5de549(0x34e)](){const _0x23935e=_0x5de549;var _0x3c9e8b;if(this[_0x23935e(0x1b7)]=!0x0,((_0x3c9e8b=this[_0x23935e(0x26e)]['getFocusedUnit']())==null?void 0x0:_0x3c9e8b[_0x23935e(0x41e)]())!==this[_0x23935e(0x42f)])return;const _0x237f6a=this[_0x23935e(0x31d)][_0x23935e(0x1c0)](_0x59af06[_0x23935e(0x20c)])[_0x23935e(0x1e6)]();Array['isArray'](_0x237f6a)&&_0x237f6a[_0x23935e(0x3b7)]>0x0&&this['_updateLocalCursor'](_0x237f6a);}[_0x5de549(0x430)](){const _0x586f10=_0x5de549;this[_0x586f10(0x1b7)]=!0x1;}};_0x427717=_0x2b4f16([_0x25a220(0x2,_0x39304f[_0x5de549(0x356)](_0x39304f['Injector'])),_0x25a220(0x3,_0x39304f[_0x5de549(0x356)](_0x34f587)),_0x25a220(0x4,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x3f5)])),_0x25a220(0x5,_0x39304f[_0x5de549(0x356)](_0x4c3a54)),_0x25a220(0x6,_0x560361[_0x5de549(0x37e)]),_0x25a220(0x7,_0x39304f[_0x5de549(0x2cc)]),_0x25a220(0x8,_0x39304f['ICommandService'])],_0x427717);var _0x3c3f72=Object[_0x5de549(0x49f)],_0x3089b1=(_0x165894,_0x5cb4e1,_0x550b38,_0x440fb6)=>{const _0x20d186=_0x5de549;for(var _0x366366=_0x440fb6>0x1?void 0x0:_0x440fb6?_0x3c3f72(_0x5cb4e1,_0x550b38):_0x5cb4e1,_0x3530f7=_0x165894[_0x20d186(0x3b7)]-0x1,_0x4b461a;_0x3530f7>=0x0;_0x3530f7--)(_0x4b461a=_0x165894[_0x3530f7])&&(_0x366366=_0x4b461a(_0x366366)||_0x366366);return _0x366366;},_0x14e2e0=(_0xa840ba,_0x65aa15)=>(_0x1a3988,_0x30cbeb)=>_0x65aa15(_0x1a3988,_0x30cbeb,_0xa840ba);const _0x4cbb03=0x12c,_0x124466=0x64,_0x354494=()=>{let _0x22fd9e=[],_0x3c1eed=!0x1;return _0x27656e=>{const _0x5ccbec=_0x48a1;_0x22fd9e[_0x5ccbec(0x44d)](_0x27656e),_0x3c1eed||(_0x3c1eed=!0x0,setTimeout(()=>{_0x22fd9e['forEach'](_0x4915fe=>_0x4915fe()),_0x22fd9e=[],_0x3c1eed=!0x1;}));};};let _0x171417=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x3de082,_0x4bdd02,_0x2ae341,_0x1d6fbf,_0x3a24c3,_0x4add8c,_0x44f8df,_0x3fc5df){const _0x37772f=_0x5de549;super(),_0x41fabe(this,_0x37772f(0x1b7),!0x1),_0x41fabe(this,_0x37772f(0x48f),!0x1),_0x41fabe(this,_0x37772f(0x35f),new _0x404575['BehaviorSubject'](new Map())),_0x41fabe(this,_0x37772f(0x2af),this[_0x37772f(0x35f)][_0x37772f(0x2a6)]()),_0x41fabe(this,_0x37772f(0x376),new _0x404575[(_0x37772f(0x25b))]([])),_0x41fabe(this,_0x37772f(0x35e),this[_0x37772f(0x376)][_0x37772f(0x498)](_0x404575[_0x37772f(0x247)](_0x4cbb03))),_0x41fabe(this,_0x37772f(0x1dc),_0x39304f['debounce']((_0x48d9a3,_0x5c3fa9)=>{const _0x30aca0=_0x37772f,_0x15a49c={'eventID':_0x560361[_0x30aca0(0x1da)][_0x30aca0(0x2db)],'data':{'unitID':this['unitID'],'memberID':this[_0x30aca0(0x422)][_0x30aca0(0x1af)](),'selection':_0x284237['serializeRangeWithSheet'](_0x48d9a3,_0x5c3fa9[_0x30aca0(0x1f6)])}};this['_session']['send'](_0x15a49c,this[_0x30aca0(0x42f)]);},_0x124466)),(this[_0x37772f(0x42f)]=_0x3de082,this[_0x37772f(0x422)]=_0x4bdd02,this[_0x37772f(0x31d)]=_0x2ae341,this['_colorAssignService']=_0x1d6fbf,this[_0x37772f(0x413)]=_0x3a24c3,this[_0x37772f(0x26e)]=_0x4add8c,this['_commandService']=_0x44f8df,this['_refRangeService']=_0x3fc5df);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x5de549(0x2a8)](){const _0x45e3fb=_0x5de549;return this[_0x45e3fb(0x376)][_0x45e3fb(0x3fc)]();}['dispose'](){const _0x170e98=_0x5de549;super[_0x170e98(0x2c3)](),this['_cursorInfo$'][_0x170e98(0x345)](new Map()),this[_0x170e98(0x35f)][_0x170e98(0x2d4)](),this[_0x170e98(0x376)]['next']([]),this[_0x170e98(0x376)]['complete']();}[_0x5de549(0x482)](){const _0x790dae=_0x5de549;this[_0x790dae(0x48f)]||(this[_0x790dae(0x48f)]=!0x0,this['_session'][_0x790dae(0x34c)]['pipe'](_0x404575[_0x790dae(0x387)](this['dispose$']))[_0x790dae(0x38e)](_0x5e6b69=>{const _0x441bd0=_0x790dae;_0x5e6b69===_0x3fe1f0['SessionStatus'][_0x441bd0(0x43d)]?this[_0x441bd0(0x34e)]():this[_0x441bd0(0x430)]();}),this['_session'][_0x790dae(0x2dc)][_0x790dae(0x498)](_0x404575['takeUntil'](this[_0x790dae(0x241)]))['subscribe'](_0x52659c=>{const _0x39973e=_0x790dae,_0x113811=_0x52659c[_0x39973e(0x3f2)];_0x113811===_0x560361[_0x39973e(0x1da)][_0x39973e(0x2db)]&&this[_0x39973e(0x44b)](_0x52659c),_0x113811===_0x560361[_0x39973e(0x1da)][_0x39973e(0x4a5)]&&this[_0x39973e(0x346)](_0x52659c);}),this[_0x790dae(0x2be)](),this[_0x790dae(0x24e)](this[_0x790dae(0x33e)][_0x790dae(0x2fd)](_0x2eded9=>{const _0x4734c0=_0x790dae;if(this[_0x4734c0(0x1b7)]&&_0x2eded9['id']===_0x3203ce[_0x4734c0(0x33b)]['id']&&_0x2eded9['params'][_0x4734c0(0x2fb)]===this['unitID']){const _0x50941a=_0x2eded9[_0x4734c0(0x448)];this[_0x4734c0(0x1dc)](_0x50941a[_0x4734c0(0x330)],_0x50941a[_0x4734c0(0x380)][0x0]);}})));}[_0x5de549(0x44b)](_0x4858de){const _0x55d2aa=_0x5de549;var _0x19c5f8,_0x27c86f;const {memberID:_0x3b3776,selection:_0x592f19}=_0x4858de['data'],{sheetName:_0x5a0a11,range:_0x5eedff}=_0x284237['deserializeRangeWithSheet'](_0x592f19),_0x5ce1a6={'name':(_0x27c86f=(_0x19c5f8=this[_0x55d2aa(0x413)][_0x55d2aa(0x1de)](this[_0x55d2aa(0x42f)],_0x3b3776))==null?void 0x0:_0x19c5f8[_0x55d2aa(0x231)])!=null?_0x27c86f:_0x55d2aa(0x490),'range':this[_0x55d2aa(0x1e1)](_0x5a0a11,_0x5eedff),'sheetID':_0x5a0a11,'color':this[_0x55d2aa(0x1c7)]['assignAColorForMemberID'](_0x3b3776),'selection':_0x592f19},_0x34d223=this[_0x55d2aa(0x3d7)];_0x34d223[_0x55d2aa(0x361)](_0x3b3776,_0x5ce1a6),this[_0x55d2aa(0x35f)]['next'](_0x34d223);}[_0x5de549(0x346)](_0x22ae81){const _0x4cf9d2=_0x5de549,{memberID:_0x595391}=_0x22ae81['data'],_0x42369a=this[_0x4cf9d2(0x3d7)];_0x42369a[_0x4cf9d2(0x421)](_0x595391),this[_0x4cf9d2(0x35f)][_0x4cf9d2(0x345)](_0x42369a);}[_0x5de549(0x1e1)](_0x2f9462,_0x2f0632){const _0xdb392a=_0x5de549;var _0x37c4e9,_0x4ecb91;const _0x4bf17c=(_0x4ecb91=(_0x37c4e9=this['_univerInstanceService'][_0xdb392a(0x2b9)](this['unitID']))==null?void 0x0:_0x37c4e9[_0xdb392a(0x296)](_0x2f9462))==null?void 0x0:_0x4ecb91[_0xdb392a(0x3ba)]();return(_0x4bf17c==null?void 0x0:_0x4bf17c['find'](_0x25a92e=>_0x39304f['Rectangle'][_0xdb392a(0x44a)](_0x25a92e,_0x2f0632)))||_0x2f0632;}[_0x5de549(0x2be)](){const _0x4df4a1=_0x5de549,_0x4f9aae=new _0x39304f[(_0x4df4a1(0x325))](),_0x46bf14=_0x354494(),_0x5b52bf=()=>{const _0x3d0ae0=_0x4df4a1;_0x4f9aae[_0x3d0ae0(0x2c3)]();const _0x39e3c8=(_0x6650e8,_0x32690d,_0x445c19,_0xe3c6ef)=>{const _0x235348=_0x3d0ae0;let _0x599a7b=[];switch(_0x6650e8['id']){case _0x3203ce[_0x235348(0x2f7)]['DeleteRangeMoveLeftCommandId']:{_0x599a7b=_0x3203ce[_0x235348(0x20a)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x1ad)]:{_0x599a7b=_0x3203ce[_0x235348(0x3ee)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x419)]:{_0x599a7b=_0x3203ce[_0x235348(0x27d)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x255)]:{_0x599a7b=_0x3203ce['handleInsertRangeMoveDown'](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x37a)]:{_0x599a7b=_0x3203ce[_0x235348(0x291)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce['EffectRefRangId']['InsertRowCommandId']:{_0x599a7b=_0x3203ce[_0x235348(0x1cb)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x40e)]:{_0x599a7b=_0x3203ce[_0x235348(0x1c9)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x29b)]:{_0x599a7b=_0x3203ce[_0x235348(0x2b3)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x251)]:{_0x599a7b=_0x3203ce[_0x235348(0x3d5)](_0x6650e8,_0xe3c6ef);break;}}const _0x589d86=_0x3203ce['runRefRangeMutations'](_0x599a7b,_0xe3c6ef),_0x4ec50e=this['cursorInfo']['get'](_0x32690d);if(_0x4ec50e&&_0x589d86){const _0x49182b={..._0x4ec50e,'range':_0x589d86};this[_0x235348(0x3d7)]['set'](_0x32690d,_0x49182b),_0x46bf14(()=>{const _0x17d8d1=_0x235348,_0x232a68=this[_0x17d8d1(0x432)][_0x17d8d1(0x219)](_0x589d86,_0x482d1d=>(_0x232a68[_0x17d8d1(0x2c3)](),_0x39e3c8(_0x482d1d,_0x32690d,_0x445c19,_0x589d86)));_0x4f9aae[_0x17d8d1(0x26c)](_0x232a68);});}return{'redos':[],'undos':[]};};this[_0x3d0ae0(0x3d7)][_0x3d0ae0(0x22a)]((_0x35e273,_0x3172bd)=>{const _0x10e45c=_0x3d0ae0,{range:_0x2ddd06,sheetID:_0x1fe7fb}=_0x35e273,_0x33136=this['_refRangeService'][_0x10e45c(0x219)](_0x2ddd06,_0x39bfb2=>(_0x33136['dispose'](),_0x39e3c8(_0x39bfb2,_0x3172bd,_0x1fe7fb,_0x2ddd06)));_0x4f9aae[_0x10e45c(0x26c)](_0x33136);});};this[_0x4df4a1(0x24e)](_0x39304f['toDisposable'](this['_cursorInfo$'][_0x4df4a1(0x38e)](()=>{_0x5b52bf();})));}[_0x5de549(0x34e)](){const _0x1e1ef5=_0x5de549;var _0x4c4330,_0x594a62;if(this[_0x1e1ef5(0x1b7)]=!0x0,((_0x4c4330=this[_0x1e1ef5(0x26e)][_0x1e1ef5(0x3ae)]())==null?void 0x0:_0x4c4330['getUnitId']())!==this[_0x1e1ef5(0x42f)])return;const _0x5920b4=(_0x594a62=this[_0x1e1ef5(0x31d)][_0x1e1ef5(0x1c0)](_0x3203ce[_0x1e1ef5(0x204)])[_0x1e1ef5(0x2f9)]())==null?void 0x0:_0x594a62[0x0],_0x31d54c=this['_univerInstanceService']['getCurrentUnitForType'](_0x39304f[_0x1e1ef5(0x1cf)][_0x1e1ef5(0x211)])['getActiveSheet']();_0x5920b4&&_0x31d54c&&this[_0x1e1ef5(0x1dc)](_0x31d54c[_0x1e1ef5(0x308)](),_0x5920b4);}['_toggleOffline'](){this['_online']=!0x1;}};_0x171417=_0x3089b1([_0x14e2e0(0x2,_0x39304f['Inject'](_0x39304f[_0x5de549(0x2bd)])),_0x14e2e0(0x3,_0x39304f[_0x5de549(0x356)](_0x34f587)),_0x14e2e0(0x4,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x3f5)])),_0x14e2e0(0x5,_0x39304f[_0x5de549(0x2cc)]),_0x14e2e0(0x6,_0x39304f['ICommandService']),_0x14e2e0(0x7,_0x39304f[_0x5de549(0x356)](_0x3203ce[_0x5de549(0x228)]))],_0x171417);var _0x36f971=Object[_0x5de549(0x49f)],_0x4edad9=(_0x459c25,_0x57f159,_0x2faa0f,_0x28faa4)=>{const _0x558189=_0x5de549;for(var _0x579b87=_0x28faa4>0x1?void 0x0:_0x28faa4?_0x36f971(_0x57f159,_0x2faa0f):_0x57f159,_0x3a244a=_0x459c25[_0x558189(0x3b7)]-0x1,_0x2910cc;_0x3a244a>=0x0;_0x3a244a--)(_0x2910cc=_0x459c25[_0x3a244a])&&(_0x579b87=_0x2910cc(_0x579b87)||_0x579b87);return _0x579b87;},_0xc50099=(_0x51fe5a,_0x276257)=>(_0x245ce3,_0x474b71)=>_0x276257(_0x245ce3,_0x474b71,_0x51fe5a);let _0x1af4cc=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x156319,_0x33db77,_0x5a5d4f){const _0x23dff5=_0x5de549;super(),_0x41fabe(this,_0x23dff5(0x360),new Map()),_0x41fabe(this,_0x23dff5(0x3e7),new _0x404575['Subject']()),(this[_0x23dff5(0x26e)]=_0x156319,this['_injector']=_0x33db77,this[_0x23dff5(0x24f)]=_0x5a5d4f,this[_0x23dff5(0x48f)]());}['dispose'](){const _0x323840=_0x5de549;super[_0x323840(0x2c3)](),this['_entityInit$'][_0x323840(0x2d4)](),this[_0x323840(0x360)][_0x323840(0x22a)](_0x33a849=>_0x33a849['dispose']());}[_0x5de549(0x3eb)](_0x2370e8){const _0x43b04a=_0x5de549;return this[_0x43b04a(0x360)][_0x43b04a(0x3f7)](_0x2370e8)?this[_0x43b04a(0x360)][_0x43b04a(0x1c0)](_0x2370e8)[_0x43b04a(0x2af)]:this[_0x43b04a(0x3e7)]['pipe'](_0x404575[_0x43b04a(0x1c6)](_0x2204cf=>_0x2204cf['unitID']===_0x2370e8),_0x404575[_0x43b04a(0x287)](_0x2ae6b2=>_0x2ae6b2[_0x43b04a(0x2af)]));}[_0x5de549(0x48f)](){const _0xb3cfb=_0x5de549;this['_univerInstanceService'][_0xb3cfb(0x364)](_0x39304f['UniverInstanceType'][_0xb3cfb(0x211)])[_0xb3cfb(0x498)](_0x404575['takeUntil'](this['dispose$']))['subscribe'](async _0x41e332=>{const _0x5f2055=_0xb3cfb,_0x525769=_0x41e332['getUnitId'](),_0x5b1c2c=await this[_0x5f2055(0x472)](_0x525769);this[_0x5f2055(0x3e7)]['next'](_0x5b1c2c),this[_0x5f2055(0x360)][_0x5f2055(0x361)](_0x525769,_0x5b1c2c);}),this[_0xb3cfb(0x26e)][_0xb3cfb(0x364)](_0x39304f['UniverInstanceType'][_0xb3cfb(0x418)])[_0xb3cfb(0x498)](_0x404575[_0xb3cfb(0x387)](this[_0xb3cfb(0x241)]))[_0xb3cfb(0x498)](_0x404575[_0xb3cfb(0x1c6)](_0x12324f=>!_0x12324f['getUnitId']()[_0xb3cfb(0x3b2)]('__')))[_0xb3cfb(0x38e)](async _0x1bbb4d=>{const _0x54f3df=_0xb3cfb,_0x5779ad=_0x1bbb4d[_0x54f3df(0x41e)](),_0x3d2b2e=await this[_0x54f3df(0x354)](_0x5779ad);this['_entityInit$'][_0x54f3df(0x345)](_0x3d2b2e),this['_entities']['set'](_0x5779ad,_0x3d2b2e);}),_0x404575[_0xb3cfb(0x394)](this[_0xb3cfb(0x26e)][_0xb3cfb(0x414)](_0x39304f[_0xb3cfb(0x1cf)]['UNIVER_DOC']),this['_univerInstanceService'][_0xb3cfb(0x414)](_0x39304f[_0xb3cfb(0x1cf)]['UNIVER_SHEET']))[_0xb3cfb(0x498)](_0x404575[_0xb3cfb(0x387)](this[_0xb3cfb(0x241)]))[_0xb3cfb(0x38e)](_0x55ad45=>{const _0x5bdbf3=_0xb3cfb,_0x2fd4e6=_0x55ad45[_0x5bdbf3(0x41e)](),_0x1b7f12=this[_0x5bdbf3(0x360)]['get'](_0x2fd4e6);_0x1b7f12&&(_0x1b7f12[_0x5bdbf3(0x2c3)](),this[_0x5bdbf3(0x360)][_0x5bdbf3(0x421)](_0x2fd4e6));});}async[_0x5de549(0x472)](_0xec4fb0){const _0x43da82=_0x5de549,_0x285d01=await this[_0x43da82(0x24f)][_0x43da82(0x2d5)](_0xec4fb0),_0x20b519=this[_0x43da82(0x31d)]['createInstance'](_0x171417,_0xec4fb0,_0x285d01);return _0x20b519['init'](),_0x20b519;}async[_0x5de549(0x354)](_0x3c7e1e){const _0x25a314=_0x5de549,_0x2b49c3=await this[_0x25a314(0x24f)][_0x25a314(0x2d5)](_0x3c7e1e),_0x1e1351=this[_0x25a314(0x31d)]['createInstance'](_0x427717,_0x3c7e1e,_0x2b49c3);return _0x1e1351[_0x25a314(0x482)](),_0x1e1351;}};_0x1af4cc=_0x4edad9([_0xc50099(0x0,_0x39304f[_0x5de549(0x2cc)]),_0xc50099(0x1,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0xc50099(0x2,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x22f)]))],_0x1af4cc);const _0xcfdad9=0x14,_0x6bd10f=0xc8,_0x2fc9bb=0x4,_0x57bc63=0x5;function _0x3d96e9(_0xcb2a3d,_0x183d67){const _0x1904d0=_0x5de549;let {radius:_0x97250a,width:_0x479a33,height:_0x5b0c2a}=_0x183d67;_0x97250a=_0x97250a!=null?_0x97250a:0x0,_0x479a33=_0x479a33!=null?_0x479a33:0x1e,_0x5b0c2a=_0x5b0c2a!=null?_0x5b0c2a:0x1e;let _0x306330=0x0,_0x2d57a3=0x0,_0x24cd86=0x0;_0x306330=_0x2d57a3=_0x24cd86=Math[_0x1904d0(0x316)](_0x97250a,_0x479a33/0x2,_0x5b0c2a/0x2),_0xcb2a3d[_0x1904d0(0x252)](),_0xcb2a3d[_0x1904d0(0x23f)](_0x306330,0x0),_0xcb2a3d[_0x1904d0(0x470)](_0x479a33-_0x2d57a3,0x0),_0xcb2a3d[_0x1904d0(0x45f)](_0x479a33-_0x2d57a3,_0x2d57a3,_0x2d57a3,Math['PI']*0x3/0x2,0x0,!0x1),_0xcb2a3d[_0x1904d0(0x470)](_0x479a33,_0x5b0c2a-_0x24cd86),_0xcb2a3d[_0x1904d0(0x45f)](_0x479a33-_0x24cd86,_0x5b0c2a-_0x24cd86,_0x24cd86,0x0,Math['PI']/0x2,!0x1),_0xcb2a3d['lineTo'](0x0,_0x5b0c2a),_0xcb2a3d[_0x1904d0(0x470)](0x0,_0x306330),_0xcb2a3d[_0x1904d0(0x45f)](_0x306330,_0x306330,_0x306330,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xcb2a3d[_0x1904d0(0x4a2)](),_0x183d67[_0x1904d0(0x402)]&&(_0xcb2a3d[_0x1904d0(0x1d8)](),_0xcb2a3d['fillStyle']=_0x183d67[_0x1904d0(0x402)],_0x183d67[_0x1904d0(0x1fb)]===_0x1904d0(0x3fe)?_0xcb2a3d[_0x1904d0(0x402)]('evenodd'):_0xcb2a3d[_0x1904d0(0x402)](),_0xcb2a3d[_0x1904d0(0x320)]());}class _0x92597c extends _0x46a3bd[_0x5de549(0x451)]{constructor(_0x5356dc,_0xa10320){const _0x1038ac=_0x5de549;super(_0x5356dc,_0xa10320),_0x41fabe(this,_0x1038ac(0x477)),_0x41fabe(this,_0x1038ac(0x28f)),(this[_0x1038ac(0x477)]=_0xa10320==null?void 0x0:_0xa10320[_0x1038ac(0x477)],this[_0x1038ac(0x28f)]=_0xa10320==null?void 0x0:_0xa10320[_0x1038ac(0x28f)]);}static[_0x5de549(0x3c3)](_0x3b0a94,_0x2cfe44){const _0x3fda34=_0x5de549,{text:_0x18fa42,color:_0x13dda0}=_0x2cfe44;_0x3b0a94['save'](),_0x3b0a94['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5cbd12=_0x3b0a94[_0x3fda34(0x388)](_0x18fa42)[_0x3fda34(0x3d6)],_0x116a13=Math[_0x3fda34(0x316)](_0x5cbd12+0x2*_0x2fc9bb,_0x6bd10f);_0x3d96e9(_0x3b0a94,{'height':_0xcfdad9,'radius':0x4,'width':_0x116a13,'fill':_0x13dda0}),_0x3b0a94[_0x3fda34(0x31b)]=_0x3fda34(0x4a7);const _0x24f1a4=_0x2fc9bb,_0x3a024a=_0xcfdad9-_0x57bc63,_0x5480b5=_0x6bd10f-0x2*_0x2fc9bb;if(_0x5cbd12>_0x5480b5){let _0x3298a5='',_0x93164e=0x0;for(const _0xf25e93 of _0x18fa42){const _0x124fb6=_0x3b0a94[_0x3fda34(0x388)](_0xf25e93)[_0x3fda34(0x3d6)];if(_0x93164e+_0x124fb6<=_0x5480b5-_0x3b0a94['measureText'](_0x3fda34(0x36f))[_0x3fda34(0x3d6)])_0x3298a5+=_0xf25e93,_0x93164e+=_0x124fb6;else{_0x3298a5+=_0x3fda34(0x36f);break;}}_0x3b0a94[_0x3fda34(0x35b)](_0x3298a5,_0x24f1a4,_0x3a024a);}else _0x3b0a94[_0x3fda34(0x35b)](_0x18fa42,_0x24f1a4,_0x3a024a);_0x3b0a94[_0x3fda34(0x320)]();}[_0x5de549(0x3e6)](_0x3f6b23){const _0x446f3c=_0x5de549;_0x92597c[_0x446f3c(0x3c3)](_0x3f6b23,this);}}const _0x4a99ec=_0x5de549(0x1b6),_0x100123=_0x5de549(0x1bd),_0x1c8aab=_0x5de549(0x3ac),_0xd9bc96=0x6,_0x1a5323=1.5,_0x2a36ad=0x4,_0x3b9359=1.5,_0x2ad9df=_0x5de549(0x2b7);class _0x5b7907{constructor(_0x2d2ced,_0x3e7ed1,_0x3be581,_0x1ae4fe){const _0x508250=_0x5de549;_0x41fabe(this,_0x508250(0x290),[]),_0x41fabe(this,_0x508250(0x25c),null),_0x41fabe(this,_0x508250(0x22c),null),_0x41fabe(this,'_anchorDot',null),_0x41fabe(this,_0x508250(0x465),null),_0x41fabe(this,_0x508250(0x47d),null),(this[_0x508250(0x40a)]=_0x2d2ced,this[_0x508250(0x2c9)]=_0x3e7ed1,this[_0x508250(0x344)]=_0x3be581,this['_document']=_0x1ae4fe,this[_0x508250(0x348)]());}set[_0x5de549(0x1ca)](_0x3961dd){const _0x3e507e=_0x5de549;_0x3961dd?(this[_0x3e507e(0x3c8)]&&this[_0x3e507e(0x3c8)]['hide'](),this[_0x3e507e(0x22c)]&&this[_0x3e507e(0x22c)]['show']()):(this[_0x3e507e(0x3c8)]&&this['_anchorDot'][_0x3e507e(0x38d)](),this[_0x3e507e(0x22c)]&&this[_0x3e507e(0x22c)][_0x3e507e(0x212)]());}[_0x5de549(0x2c3)](){const _0x36db7f=_0x5de549;for(const _0x46573 of this['_shapes'])_0x46573['dispose']();this['_textBubble']&&this[_0x36db7f(0x22c)]['dispose'](),this[_0x36db7f(0x3c8)]&&this[_0x36db7f(0x3c8)]['dispose'](),this[_0x36db7f(0x25c)]&&this[_0x36db7f(0x25c)][_0x36db7f(0x2c3)](),this[_0x36db7f(0x47d)]&&this[_0x36db7f(0x47d)]();}[_0x5de549(0x348)](){const _0x4a2af5=_0x5de549;var _0xa1f67;const {_docSkeleton:_0x17bd03,_document:_0x3be0a9}=this,{color:_0x58f61f,name:_0x4f73fb,ranges:_0x260f31}=this[_0x4a2af5(0x40a)],_0x5a2d9f=_0x3be0a9[_0x4a2af5(0x3a1)](),{docsLeft:_0x300f99,docsTop:_0x372a1c}=_0x5a2d9f,_0x47664c=new _0x2abae2[(_0x4a2af5(0x38a))](_0x5a2d9f,_0x17bd03);for(const {startOffset:_0x1478ca,endOffset:_0x3c9071,rangeType:_0x39d987,segmentId:_0x3edc49,segmentPage:_0x4e8a38,collapsed:_0x396ae8,isActive:_0x3c1dce}of _0x260f31){const _0x52e774=_0x17bd03[_0x4a2af5(0x479)](_0x1478ca,!0x0,_0x3edc49,_0x4e8a38);let _0x4bd408=_0x17bd03['findNodePositionByCharIndex'](_0x3c9071,!0x0,_0x3edc49,_0x4e8a38);if(_0x4bd408==null&&(_0x4bd408=_0x17bd03[_0x4a2af5(0x479)](_0x3c9071-0x1,!0x1,_0x3edc49,_0x4e8a38)),_0x3c1dce){const {contentBoxPointGroup:_0x261525}=_0x47664c['getRangePointData'](_0x4bd408,_0x4bd408);if(_0x261525['length']===0x0)continue;this[_0x4a2af5(0x2ec)](_0x58f61f,_0x261525,_0x300f99,_0x372a1c,_0x4f73fb),this[_0x4a2af5(0x47d)]=this[_0x4a2af5(0x339)]();}if(_0x52e774&&_0x4bd408){if(_0x39d987===_0x39304f[_0x4a2af5(0x431)][_0x4a2af5(0x1b1)]){const _0x3ae3dd=new _0x2abae2[(_0x4a2af5(0x1cc))](_0x5a2d9f,_0x17bd03),{pointGroup:_0x58ea40}=(_0xa1f67=_0x3ae3dd[_0x4a2af5(0x42d)](_0x52e774,_0x4bd408))!=null?_0xa1f67:{};if(_0x58ea40==null||_0x58ea40[_0x4a2af5(0x3b7)]===0x0)continue;this[_0x4a2af5(0x3b8)](_0x58f61f,_0x58ea40,_0x300f99,_0x372a1c);}else{if(!_0x396ae8){const {borderBoxPointGroup:_0x5c37fe}=_0x47664c[_0x4a2af5(0x42d)](_0x52e774,_0x4bd408);if(_0x5c37fe[_0x4a2af5(0x3b7)]===0x0)continue;this[_0x4a2af5(0x442)](_0x58f61f,_0x5c37fe,_0x300f99,_0x372a1c);}}}}}[_0x5de549(0x2ec)](_0x14cff7,_0x1791e1,_0x20adee,_0x135caf,_0x59fe52){const _0x2a5d26=_0x5de549,_0x4f150b=this[_0x2a5d26(0x46b)](_0x1791e1),{left:_0x4bb375,top:_0x2fe17c,height:_0x223888}=_0x4f150b,_0x5b807a=this[_0x2a5d26(0x3fa)](),_0x4f1b91=_0x3b9359/_0x5b807a,_0x1c01e2=new _0x46a3bd[(_0x2a5d26(0x39c))](_0x4a99ec+_0x39304f[_0x2a5d26(0x26d)](_0xd9bc96),{'left':_0x4bb375+_0x20adee-_0x4f1b91,'top':_0x2fe17c+_0x135caf,'height':_0x223888,'width':_0x1a5323,'fill':_0x14cff7||_0x46a3bd[_0x2a5d26(0x2c6)](_0x39304f[_0x2a5d26(0x3de)][_0x2a5d26(0x260)],0x0),'strokeWidth':_0x4f1b91,'stroke':_0x2ad9df,'evented':!0x0});this['_anchor']=_0x1c01e2,this[_0x2a5d26(0x2c9)]['addObject'](_0x1c01e2,_0x2abae2[_0x2a5d26(0x2d3)]);const _0x567ce3=new _0x46a3bd[(_0x2a5d26(0x39c))](_0x4a99ec+_0x39304f[_0x2a5d26(0x26d)](_0xd9bc96),{'left':_0x4bb375+_0x20adee-_0x4f1b91,'top':_0x2fe17c+_0x135caf-_0x2a36ad/0x2,'height':_0x2a36ad,'width':_0x2a36ad,'fill':_0x14cff7||_0x46a3bd[_0x2a5d26(0x2c6)](_0x39304f[_0x2a5d26(0x3de)][_0x2a5d26(0x260)],0x0),'strokeWidth':0x0,'stroke':_0x14cff7||_0x46a3bd[_0x2a5d26(0x2c6)](_0x39304f[_0x2a5d26(0x3de)][_0x2a5d26(0x260)],0x0),'evented':!0x1});this[_0x2a5d26(0x3c8)]=_0x567ce3,this[_0x2a5d26(0x2c9)][_0x2a5d26(0x468)](_0x567ce3,_0x2abae2[_0x2a5d26(0x2d3)]);const _0x329c78=new _0x92597c(_0x4a99ec+_0x39304f['generateRandomId'](_0xd9bc96),{'left':_0x4bb375+_0x20adee-_0x4f1b91,'top':_0x2fe17c+_0x135caf-_0xcfdad9,'text':_0x59fe52,'color':_0x14cff7});this[_0x2a5d26(0x22c)]=_0x329c78,this[_0x2a5d26(0x2c9)][_0x2a5d26(0x468)](_0x329c78,_0x2abae2[_0x2a5d26(0x2d3)]),this[_0x2a5d26(0x1ca)]=!0x1;}[_0x5de549(0x339)](){const _0xcc7211=_0x5de549,_0x2d7913=this[_0xcc7211(0x25c)][_0xcc7211(0x2f2)]['subscribeEvent'](()=>{const _0x102ea4=_0xcc7211;this[_0x102ea4(0x1ca)]=!0x0;}),_0x31fe76=this[_0xcc7211(0x25c)][_0xcc7211(0x21d)][_0xcc7211(0x3f9)](()=>{const _0x32ebe7=_0xcc7211;this[_0x32ebe7(0x465)]&&clearTimeout(this[_0x32ebe7(0x465)]),this[_0x32ebe7(0x465)]=setTimeout(()=>{const _0x33eb58=_0x32ebe7;this[_0x33eb58(0x1ca)]=!0x1;},0x7d0);});return()=>{const _0x356aa8=_0xcc7211;_0x2d7913['unsubscribe'](),_0x31fe76[_0x356aa8(0x1c2)]();};}[_0x5de549(0x442)](_0x3fbae7,_0x22b19d,_0x19e3d1,_0x5eaa4d){const _0x4433d3=_0x5de549,_0xd59fc2=new _0x39304f[(_0x4433d3(0x253))](_0x3fbae7)[_0x4433d3(0x307)](0.2)[_0x4433d3(0x3f0)](),_0x17a0b9=new _0x46a3bd['RegularPolygon'](_0x100123+_0x39304f[_0x4433d3(0x26d)](_0xd9bc96),{'pointsGroup':_0x22b19d,'fill':_0xd59fc2||_0x46a3bd['getColor'](_0x39304f[_0x4433d3(0x3de)][_0x4433d3(0x260)],0.2),'left':_0x19e3d1,'top':_0x5eaa4d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4433d3(0x290)][_0x4433d3(0x44d)](_0x17a0b9),this[_0x4433d3(0x2c9)][_0x4433d3(0x468)](_0x17a0b9,_0x2abae2[_0x4433d3(0x2d3)]);}['_drawRectRange'](_0x1a96c6,_0x5691d7,_0x1ccb46,_0x3a9512){const _0xeedda7=_0x5de549,_0x5acb48=new _0x39304f[(_0xeedda7(0x253))](_0x1a96c6)[_0xeedda7(0x307)](0.2)[_0xeedda7(0x3f0)](),_0xd82177=new _0x46a3bd[(_0xeedda7(0x2e5))](_0x1c8aab+_0x39304f[_0xeedda7(0x26d)](_0xd9bc96),{'pointsGroup':_0x5691d7,'fill':_0x5acb48||_0x46a3bd[_0xeedda7(0x2c6)](_0x39304f['COLORS']['black'],0.2),'left':_0x1ccb46,'top':_0x3a9512,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xeedda7(0x290)][_0xeedda7(0x44d)](_0xd82177),this[_0xeedda7(0x2c9)][_0xeedda7(0x468)](_0xd82177,_0x2abae2['TEXT_RANGE_LAYER_INDEX']);}[_0x5de549(0x46b)](_0x346a9a){const _0x1bc1a9=_0x346a9a[0x0],_0x2fb662=_0x1bc1a9[0x0],_0x3e6129=_0x1bc1a9[0x2],{x:_0x412132,y:_0x52da6b}=_0x2fb662,{x:_0x42a6ac,y:_0x414699}=_0x3e6129;return{'left':_0x412132,'top':_0x52da6b,'width':_0x42a6ac-_0x412132,'height':_0x414699-_0x52da6b};}[_0x5de549(0x3fa)](){const _0x371404=_0x5de549,{scaleX:_0xf1f0f3,scaleY:_0x14c6cf}=this[_0x371404(0x2c9)][_0x371404(0x3da)]();return Math[_0x371404(0x2c5)](_0xf1f0f3,_0x14c6cf);}}var _0x1cb7ff=Object[_0x5de549(0x49f)],_0x523c23=(_0x336df6,_0x5f5360,_0x569c56,_0xd71dab)=>{const _0x112fec=_0x5de549;for(var _0x5b79a3=_0xd71dab>0x1?void 0x0:_0xd71dab?_0x1cb7ff(_0x5f5360,_0x569c56):_0x5f5360,_0x31363c=_0x336df6[_0x112fec(0x3b7)]-0x1,_0x32adb4;_0x31363c>=0x0;_0x31363c--)(_0x32adb4=_0x336df6[_0x31363c])&&(_0x5b79a3=_0x32adb4(_0x5b79a3)||_0x5b79a3);return _0x5b79a3;},_0x4242c1=(_0x3e0550,_0xe9728e)=>(_0x1cc2b4,_0x4feed2)=>_0xe9728e(_0x1cc2b4,_0x4feed2,_0x3e0550);let _0x43034b=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x32fe80,_0x28a186,_0x4c2716,_0x29e4f6,_0xe5c98c){const _0x689ab3=_0x5de549;super(),_0x41fabe(this,_0x689ab3(0x3c0),[]),_0x41fabe(this,'_cursors',[]),(this[_0x689ab3(0x33f)]=_0x32fe80,this[_0x689ab3(0x317)]=_0x28a186,this[_0x689ab3(0x1c5)]=_0x4c2716,this['_commandService']=_0x29e4f6,this['_themeService']=_0xe5c98c,this[_0x689ab3(0x48f)]());}[_0x5de549(0x48f)](){const _0x53fd71=_0x5de549,_0xfd9696=this['_context'][_0x53fd71(0x2fb)],_0x58587f=this[_0x53fd71(0x317)];this[_0x53fd71(0x24e)](_0x404575['combineLatest']([this['_collabCursorController']['getCollabCursors$'](_0xfd9696),this['_themeService'][_0x53fd71(0x382)]])[_0x53fd71(0x498)](_0x11a31a[_0x53fd71(0x309)](([_0x1752f7,_0x34b36a])=>({'skeleton':_0x58587f[_0x53fd71(0x30d)](),'cursors':[..._0x1752f7[_0x53fd71(0x2ba)]()][_0x53fd71(0x1b2)](_0x24b8e3=>({..._0x24b8e3,'color':this[_0x53fd71(0x333)][_0x53fd71(0x302)](_0x24b8e3['color'])}))})))[_0x53fd71(0x38e)](_0x24f0e9=>{const _0x49f758=_0x53fd71;if(this[_0x49f758(0x369)](),_0x24f0e9){const {skeleton:_0x4c719d,cursors:_0x841627}=_0x24f0e9;this['_updateCollabCursors'](_0x4c719d,_0x841627);}})),this[_0x53fd71(0x441)](),this[_0x53fd71(0x2ac)]();}['_updateCollabCursors'](_0x5d1d11,_0x3da123){const _0x4fde4f=_0x5de549,{scene:_0x374fa5,mainComponent:_0x567e20}=this[_0x4fde4f(0x33f)],_0x5a9395=_0x3da123[_0x4fde4f(0x309)](_0x3f28a6=>new _0x5b7907(_0x3f28a6,_0x374fa5,_0x5d1d11,_0x567e20));this[_0x4fde4f(0x3c0)]=_0x5a9395,this[_0x4fde4f(0x2ad)]=_0x3da123;}[_0x5de549(0x295)](){const _0x50e70e=_0x5de549;this[_0x50e70e(0x369)]();const {scene:_0x33a49b,mainComponent:_0x1d2307}=this[_0x50e70e(0x33f)],_0x376e36=this['_docSkeletonManagerService'][_0x50e70e(0x30d)](),_0x2dc872=this[_0x50e70e(0x2ad)][_0x50e70e(0x309)](_0x2d7dd9=>new _0x5b7907(_0x2d7dd9,_0x33a49b,_0x376e36,_0x1d2307));this[_0x50e70e(0x3c0)]=_0x2dc872;}[_0x5de549(0x369)](){const _0x29e4ed=_0x5de549;this['_cursorShapes'][_0x29e4ed(0x22a)](_0xe30281=>_0xe30281[_0x29e4ed(0x2c3)]()),this[_0x29e4ed(0x3c0)]=[];}[_0x5de549(0x2ac)](){const _0x285d1b=_0x5de549,_0x1a6be0=[_0x2abae2[_0x285d1b(0x1ef)]['id']];this[_0x285d1b(0x24e)](this['_commandService'][_0x285d1b(0x2fd)](_0x63284e=>{const _0x1a0d99=_0x285d1b;_0x1a6be0[_0x1a0d99(0x410)](_0x63284e['id'])&&_0x63284e['params'][_0x1a0d99(0x2fb)]===this[_0x1a0d99(0x33f)][_0x1a0d99(0x2fb)]&&this['_refreshCollabCursors']();}));}[_0x5de549(0x441)](){const _0xf390af=_0x5de549;this[_0xf390af(0x24e)](_0x39304f[_0xf390af(0x1a4)](this[_0xf390af(0x33f)]['engine']['onTransformChange$'])[_0xf390af(0x498)](_0x11a31a[_0xf390af(0x1c6)](_0x29f320=>_0x29f320[_0xf390af(0x328)]===_0x46a3bd[_0xf390af(0x39d)]['resize']),_0x11a31a[_0xf390af(0x3fb)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x43034b=_0x523c23([_0x4242c1(0x1,_0x39304f['Inject'](_0x59af06[_0x5de549(0x30b)])),_0x4242c1(0x2,_0x39304f[_0x5de549(0x356)](_0x1af4cc)),_0x4242c1(0x3,_0x39304f['ICommandService']),_0x4242c1(0x4,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x297)]))],_0x43034b);const _0x2e2110=0x1,_0x43d861=1.5;class _0x3ed0a extends _0x46a3bd[_0x5de549(0x451)]{constructor(_0x5dafd7,_0x3d1a35){const _0x23c2ff=_0x5de549;super(_0x5dafd7,_0x3d1a35),_0x41fabe(this,'_color'),_0x41fabe(this,_0x23c2ff(0x1e9),!0x1),_0x41fabe(this,'_range'),_0x41fabe(this,_0x23c2ff(0x47c),''),_0x41fabe(this,_0x23c2ff(0x206),_0x23c2ff(0x1d5)),_0x41fabe(this,_0x23c2ff(0x36a)),(_0x3d1a35&&this[_0x23c2ff(0x3e2)](_0x3d1a35),this[_0x23c2ff(0x2f2)][_0x23c2ff(0x3f9)](()=>this[_0x23c2ff(0x3e2)]({'hovered':!0x0})),this[_0x23c2ff(0x21d)][_0x23c2ff(0x3f9)](()=>this[_0x23c2ff(0x3e2)]({'hovered':!0x1})));}[_0x5de549(0x3e2)](_0x1f759b){const _0x2ce398=_0x5de549;var _0x28ec5b,_0x5550bb,_0x1d8c1f,_0x4e5e4f,_0x34ad7e,_0x25d370;this[_0x2ce398(0x436)]=(_0x28ec5b=_0x1f759b[_0x2ce398(0x477)])!=null?_0x28ec5b:this[_0x2ce398(0x436)],this[_0x2ce398(0x1e9)]=(_0x5550bb=_0x1f759b[_0x2ce398(0x272)])!=null?_0x5550bb:this['_hovered'],this['_range']=(_0x1d8c1f=_0x1f759b[_0x2ce398(0x1f6)])!=null?_0x1d8c1f:this[_0x2ce398(0x2d2)],this[_0x2ce398(0x47c)]=(_0x4e5e4f=_0x1f759b['name'])!=null?_0x4e5e4f:this[_0x2ce398(0x47c)],this[_0x2ce398(0x206)]=(_0x34ad7e=_0x1f759b[_0x2ce398(0x203)])!=null?_0x34ad7e:this['_labelPosition'],this['_backgroundColor']=(_0x25d370=_0x1f759b[_0x2ce398(0x42e)])!=null?_0x25d370:this[_0x2ce398(0x36a)],this[_0x2ce398(0x3f1)]({'width':_0x1f759b[_0x2ce398(0x3d6)],'height':_0x1f759b[_0x2ce398(0x381)]});}['onMouseMove'](_0xa16a8a){const _0x557c76=_0x5de549,{row:_0x487c3f,column:_0x194cfc}=_0xa16a8a;if(_0x487c3f>=this['_range'][_0x557c76(0x1a7)]&&_0x487c3f<=this[_0x557c76(0x2d2)][_0x557c76(0x1b9)]&&_0x194cfc>=this[_0x557c76(0x2d2)][_0x557c76(0x286)]&&_0x194cfc<=this[_0x557c76(0x2d2)][_0x557c76(0x305)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x557c76(0x3e2)]({'hovered':!0x1});}[_0x5de549(0x32e)](_0x4e0061){return!0x1;}['_draw'](_0x213ffc){const _0x405669=_0x5de549;_0x46a3bd[_0x405669(0x39c)][_0x405669(0x3c3)](_0x213ffc,{'width':this['width'],'height':this[_0x405669(0x381)],'strokeWidth':_0x43d861,'stroke':this[_0x405669(0x436)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x405669(0x1e9)]&&(_0x213ffc[_0x405669(0x1d8)](),_0x213ffc['transform'](0x1,0x0,0x0,0x1,this[_0x405669(0x3d6)],this['_labelPosition']===_0x405669(0x2c7)?0x0:-_0xcfdad9),_0x92597c[_0x405669(0x3c3)](_0x213ffc,{'text':this[_0x405669(0x47c)],'color':this[_0x405669(0x436)]}),_0x213ffc[_0x405669(0x320)]());}}var _0x4c5c8d=Object[_0x5de549(0x49f)],_0x1af073=(_0x2e75b2,_0x11cf96,_0x3c727f,_0xa711d7)=>{const _0x1538f5=_0x5de549;for(var _0x1b8c04=_0xa711d7>0x1?void 0x0:_0xa711d7?_0x4c5c8d(_0x11cf96,_0x3c727f):_0x11cf96,_0x130c96=_0x2e75b2[_0x1538f5(0x3b7)]-0x1,_0x38f2fa;_0x130c96>=0x0;_0x130c96--)(_0x38f2fa=_0x2e75b2[_0x130c96])&&(_0x1b8c04=_0x38f2fa(_0x1b8c04)||_0x1b8c04);return _0x1b8c04;},_0x407ac8=(_0x6f515c,_0x2a0fcb)=>(_0x22eb03,_0x1cd18d)=>_0x2a0fcb(_0x22eb03,_0x1cd18d,_0x6f515c);const _0x296aa0=0x1389;let _0x338784=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0xfa3cc9,_0x5d9368,_0x2e72af,_0x8d6026){const _0x55dd9a=_0x5de549;super(),_0x41fabe(this,_0x55dd9a(0x2ad),new Set()),_0x41fabe(this,_0x55dd9a(0x3a4),null),(this[_0x55dd9a(0x33f)]=_0xfa3cc9,this[_0x55dd9a(0x271)]=_0x5d9368,this[_0x55dd9a(0x1c5)]=_0x2e72af,this['_themeService']=_0x8d6026,this[_0x55dd9a(0x48f)]());}[_0x5de549(0x48f)](){const _0x33700d=_0x5de549;this[_0x33700d(0x271)][_0x33700d(0x318)]['pipe'](_0x11a31a[_0x33700d(0x387)](this['dispose$']),_0x11a31a[_0x33700d(0x287)](_0x524101=>{const _0x46fc6c=_0x33700d;if(_0x524101){const _0x429a1b=_0x524101[_0x46fc6c(0x289)];return _0x404575['combineLatest'](this['_collabCursorController'][_0x46fc6c(0x3eb)](this['_context'][_0x46fc6c(0x2fb)]),this[_0x46fc6c(0x333)]['currentTheme$'])[_0x46fc6c(0x498)](_0x11a31a['map'](([_0x93bfa2,_0x5f3768])=>{const _0x22ac9c=new Map();return _0x93bfa2['forEach']((_0x16b3a5,_0x14029b)=>{const _0x154a14=_0x48a1;if(_0x16b3a5[_0x154a14(0x485)]===_0x429a1b){const _0x543876={..._0x16b3a5};_0x543876[_0x154a14(0x477)]=this[_0x154a14(0x333)][_0x154a14(0x302)](_0x16b3a5['color']),_0x22ac9c['set'](_0x14029b,_0x543876);}}),{'skeleton':_0x524101,'cursors':_0x22ac9c};}));}return _0x404575['of']({'skeleton':null,'cursors':new Map()});}))[_0x33700d(0x38e)](({skeleton:_0x1cec6f,cursors:_0x3b655b})=>{const _0x3cc9b4=_0x33700d;this[_0x3cc9b4(0x369)](),_0x1cec6f&&this[_0x3cc9b4(0x4a1)](_0x1cec6f,_0x3b655b);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x33700d(0x38e)](_0x9c2207=>{const _0x34b7bb=_0x33700d;if(_0x9c2207==null)return;const {skeleton:_0x5b7505}=_0x9c2207,{scene:_0x4ef404}=this[_0x34b7bb(0x33f)];_0x4ef404[_0x34b7bb(0x3ff)]['subscribeEvent'](_0x39304f[_0x34b7bb(0x484)](_0x44f8e6=>{const _0xc71997=_0x34b7bb;var _0x4044b9,_0x5b69a8;const {offsetX:_0x102f16,offsetY:_0x17620b}=_0x44f8e6,{x:_0x9eff90,y:_0x332573}=_0x4ef404[_0xc71997(0x425)](_0x46a3bd[_0xc71997(0x24a)][_0xc71997(0x2e7)]([_0x102f16,_0x17620b])),{scaleX:_0x54d343,scaleY:_0x3546e8}=_0x4ef404[_0xc71997(0x3da)](),_0x356396=_0x4ef404['getViewport'](_0x46a3bd[_0xc71997(0x3b9)][_0xc71997(0x263)]),_0x511ff6=_0x4ef404[_0xc71997(0x1d2)](_0x46a3bd[_0xc71997(0x24a)][_0xc71997(0x2e7)]([_0x9eff90,_0x332573]),_0x356396),_0xb67cb9=_0x5b7505['getCellPositionByOffset'](_0x102f16,_0x17620b,_0x54d343,_0x3546e8,_0x511ff6);((_0x4044b9=this[_0xc71997(0x3a4)])==null?void 0x0:_0x4044b9['column'])===_0xb67cb9[_0xc71997(0x2a3)]&&((_0x5b69a8=this[_0xc71997(0x3a4)])==null?void 0x0:_0x5b69a8[_0xc71997(0x367)])===_0xb67cb9[_0xc71997(0x367)]||this[_0xc71997(0x2ad)][_0xc71997(0x22a)](_0x3f8b92=>{const _0x3efc1c=_0xc71997;_0x3f8b92[_0x3efc1c(0x245)](_0xb67cb9);});},0x64));});}['_updateCollabCursors'](_0x13b2bd,_0x4a4ad3){const _0x2e8be7=_0x5de549;var _0x5bd5d9;const _0x5f29ac=(_0x5bd5d9=this[_0x2e8be7(0x271)][_0x2e8be7(0x335)]())==null?void 0x0:_0x5bd5d9[_0x2e8be7(0x280)];if(!_0x5f29ac)return;const _0x48d6df=this['_getSheetObject']();if(!_0x48d6df)return;this['_cursors'][_0x2e8be7(0x22a)](_0x3d5995=>{const _0x5eddb5=_0x2e8be7;_0x3d5995[_0x5eddb5(0x1bc)]();});const {scene:_0x59efc3}=_0x48d6df,_0x12e36a=_0x458cd3(Array['from'](_0x4a4ad3[_0x2e8be7(0x2ba)]()))[_0x2e8be7(0x309)](_0x332993=>{const _0x4b4fa2=_0x2e8be7,{color:_0x423810,range:_0x5d8786,name:_0x36a385,selection:_0xbce8e9,sheetID:_0xc42bbd}=_0x332993,{startColumn:_0x2f42e9,startRow:_0x2a9440,endColumn:_0x2e2a87,endRow:_0x258fdd}=_0x5d8786,_0x5ccc56=_0x5ee9c5['getCoordByCell'](_0x2a9440,_0x2f42e9,_0x59efc3,_0x5f29ac),_0x190278=_0x5ee9c5[_0x4b4fa2(0x365)](_0x258fdd,_0x2e2a87,_0x59efc3,_0x5f29ac),{columnHeaderHeightAndMarginTop:_0x453139}=_0x5f29ac,{startX:_0x3d919e,startY:_0x5d4228}=_0x5ccc56,{endX:_0x1cd7c2,endY:_0x32ae5f}=_0x190278,_0xa47f22=_0x1cd7c2-_0x3d919e,_0x45c369=_0x32ae5f-_0x5d4228,_0x4b9f99={'labelPosition':_0x5d4228-_0x453139>=_0xcfdad9?_0x4b4fa2(0x1d5):_0x4b4fa2(0x2c7),'sheetID':_0xc42bbd,'range':_0x5d8786,'color':_0x423810,'name':_0x36a385,'selection':_0xbce8e9,'left':_0x3d919e,'top':_0x5d4228,'width':_0xa47f22,'height':_0x45c369,'evented':!0x1,'zIndex':_0x296aa0};return new _0x3ed0a(_0x36a385,_0x4b9f99);});_0x59efc3['addObjects'](_0x12e36a,_0x2e2110),this[_0x2e8be7(0x2ad)]=new Set(_0x12e36a);}[_0x5de549(0x369)](){const _0x4d06a3=_0x5de549;var _0x4afb16;(_0x4afb16=this[_0x4d06a3(0x2ad)])==null||_0x4afb16[_0x4d06a3(0x22a)](_0x55ef26=>_0x55ef26['dispose']());}[_0x5de549(0x440)](){const _0x1c3382=_0x5de549;return _0x5ee9c5[_0x1c3382(0x415)](this[_0x1c3382(0x33f)][_0x1c3382(0x3c7)],this[_0x1c3382(0x33f)]);}};_0x338784=_0x1af073([_0x407ac8(0x1,_0x39304f['Inject'](_0x5ee9c5[_0x5de549(0x366)])),_0x407ac8(0x2,_0x39304f[_0x5de549(0x356)](_0x1af4cc)),_0x407ac8(0x3,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x297)]))],_0x338784);function _0x458cd3(_0x34cb49){const _0x2fda3d=_0x5de549,_0x421203=new Map();return _0x34cb49[_0x2fda3d(0x22a)](_0x10836f=>{const _0x237ca0=_0x2fda3d;if(_0x421203[_0x237ca0(0x3f7)](_0x10836f[_0x237ca0(0x368)])){const _0x4f7de6=_0x421203[_0x237ca0(0x1c0)](_0x10836f[_0x237ca0(0x368)]);_0x4f7de6[_0x237ca0(0x231)]+=',\x20'+_0x10836f[_0x237ca0(0x231)];}else _0x421203[_0x237ca0(0x361)](_0x10836f[_0x237ca0(0x368)],_0x10836f);}),Array[_0x2fda3d(0x1bf)](_0x421203[_0x2fda3d(0x2ba)]());}var _0xf8c215=Object[_0x5de549(0x49f)],_0x3b3685=(_0x2adfa4,_0xd61da1,_0x3f4c76,_0x9c023b)=>{const _0x489f5f=_0x5de549;for(var _0x49697e=_0x9c023b>0x1?void 0x0:_0x9c023b?_0xf8c215(_0xd61da1,_0x3f4c76):_0xd61da1,_0x8296a6=_0x2adfa4[_0x489f5f(0x3b7)]-0x1,_0xbb1cb7;_0x8296a6>=0x0;_0x8296a6--)(_0xbb1cb7=_0x2adfa4[_0x8296a6])&&(_0x49697e=_0xbb1cb7(_0x49697e)||_0x49697e);return _0x49697e;},_0x37b7aa=(_0x36f074,_0x11124c)=>(_0x327122,_0x3e10b4)=>_0x11124c(_0x327122,_0x3e10b4,_0x36f074);let _0x261734=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x4b7b0f,_0x3c15a6,_0x3e05b3,_0x1ae48b,_0x32186c,_0x51b570){const _0x2c7531=_0x5de549;super(),this[_0x2c7531(0x3d4)]=_0x4b7b0f,this['_localCacheService']=_0x3c15a6,this[_0x2c7531(0x250)]=_0x3e05b3,this[_0x2c7531(0x22d)]=_0x1ae48b,this['_notificationService']=_0x32186c,this[_0x2c7531(0x3c1)]=_0x51b570,this[_0x2c7531(0x229)](),this['_initEvent']();}[_0x5de549(0x229)](){const _0x428eab=_0x5de549;this[_0x428eab(0x24e)](this['_beforeCloseService'][_0x428eab(0x265)](()=>{const _0x51994e=_0x428eab;if(this[_0x51994e(0x2e6)][_0x51994e(0x32c)]['size'])return this[_0x51994e(0x3c1)]['t'](_0x51994e(0x39b));}));}[_0x5de549(0x23a)](){const _0x34beee=_0x5de549;this[_0x34beee(0x24e)](this[_0x34beee(0x250)][_0x34beee(0x2dc)][_0x34beee(0x38e)](_0x50e32e=>{const _0x2b8cdd=_0x34beee;_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x352)]&&this['_messageService'][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x370)],'content':this['_localeService']['t'](_0x2b8cdd(0x377))}),_0x50e32e['id']===_0x3fe1f0['CollaborationUIEventId'][_0x2b8cdd(0x326)]&&this[_0x2b8cdd(0x22d)]['show']({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x370)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x31e))}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x43e)]&&this['_notificationService'][_0x2b8cdd(0x38d)]({'title':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x257)),'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x254)),'type':'error','duration':0x0}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x3ad)]&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x385)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x31e))+'('+_0x50e32e['data']+')'}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)]['JOIN_ROOM_FAILED']&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x370)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x50e32e[_0x2b8cdd(0x298)]||'')}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x1f3)]&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f['MessageType'][_0x2b8cdd(0x370)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x243))}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)]['SOCKET_FAILED']&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)]['Error'],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x1db))}),_0x50e32e['id']===_0x3fe1f0['CollaborationUIEventId'][_0x2b8cdd(0x20b)]&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f['MessageType'][_0x2b8cdd(0x385)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x28e))});}));}};_0x261734=_0x3b3685([_0x37b7aa(0x0,_0x4c3b5c[_0x5de549(0x30f)]),_0x37b7aa(0x1,_0x3fe1f0['ILocalCacheService']),_0x37b7aa(0x2,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x49b)])),_0x37b7aa(0x3,_0x4c3b5c[_0x5de549(0x323)]),_0x37b7aa(0x4,_0x4c3b5c['INotificationService']),_0x37b7aa(0x5,_0x39304f['Inject'](_0x39304f[_0x5de549(0x3f4)]))],_0x261734);var _0x13e2d4=Object[_0x5de549(0x49f)],_0x10ba81=(_0x124bf3,_0x249681,_0x1806b9,_0x28810f)=>{const _0x5a8ec4=_0x5de549;for(var _0x48deb7=_0x28810f>0x1?void 0x0:_0x28810f?_0x13e2d4(_0x249681,_0x1806b9):_0x249681,_0x257f51=_0x124bf3[_0x5a8ec4(0x3b7)]-0x1,_0x4b7a52;_0x257f51>=0x0;_0x257f51--)(_0x4b7a52=_0x124bf3[_0x257f51])&&(_0x48deb7=_0x4b7a52(_0x48deb7)||_0x48deb7);return _0x48deb7;},_0x44586c=(_0x54155a,_0x3e77ee)=>(_0x5375eb,_0x2e343a)=>_0x3e77ee(_0x5375eb,_0x2e343a,_0x54155a);let _0x33fdc9=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x27263d,_0x260cd1,_0x5a6dd8,_0x395262){const _0x16a84f=_0x5de549;super(),_0x41fabe(this,_0x16a84f(0x1b8)),(this[_0x16a84f(0x31d)]=_0x27263d,this['_httpService']=_0x260cd1,this['_logService']=_0x5a6dd8,this[_0x16a84f(0x2cf)]=_0x395262,this[_0x16a84f(0x48f)]());}['_init'](){const _0x5b4ba0=_0x5de549;this[_0x5b4ba0(0x28b)](),this[_0x5b4ba0(0x343)](),this['_monkeyPatchLogService'](),this[_0x5b4ba0(0x39e)]();}['_initUserListener'](){const _0x5a9aae=_0x5de549;this[_0x5a9aae(0x24e)](this[_0x5a9aae(0x2cf)][_0x5a9aae(0x41f)]['subscribe'](_0x45ec33=>{const _0x222947=_0x5a9aae;this[_0x222947(0x1b8)]=_0x45ec33==null?void 0x0:_0x45ec33['memberID'];}));}['_initWindowErrorListener'](){const _0x141c9e=_0x5de549,_0x509417=_0xaaddbd=>{const _0x3d4797=_0x48a1;var _0x4115a5;this[_0x3d4797(0x45c)](_0x3d4797(0x2ee),'[Window\x20Error]:\x20'+_0xaaddbd[_0x3d4797(0x1c3)]+_0x3d4797(0x3b4)+_0xaaddbd[_0x3d4797(0x2d1)]+':'+_0xaaddbd[_0x3d4797(0x285)]+':'+_0xaaddbd['colno']+'\x0a'+(((_0x4115a5=_0xaaddbd[_0x3d4797(0x2ee)])==null?void 0x0:_0x4115a5[_0x3d4797(0x23d)])||''));};window[_0x141c9e(0x34d)]('error',_0x509417),this[_0x141c9e(0x24e)](()=>{const _0x356c8a=_0x141c9e;window['removeEventListener'](_0x356c8a(0x2ee),_0x509417);});}[_0x5de549(0x343)](){const _0xe27f4a=_0x5de549,_0x6bb16e=_0x189d06=>{const _0x392500=_0x48a1;this[_0x392500(0x45c)](_0x392500(0x2ee),_0x392500(0x4a6)+_0x189d06[_0x392500(0x218)]);};window[_0xe27f4a(0x34d)](_0xe27f4a(0x493),_0x6bb16e),this[_0xe27f4a(0x24e)](()=>{const _0x19d106=_0xe27f4a;window[_0x19d106(0x47e)]('unhandledrejection',_0x6bb16e);});}[_0x5de549(0x384)](){const _0x283af5=_0x5de549,_0x3ed876=this[_0x283af5(0x43a)]['error'][_0x283af5(0x3c6)](this[_0x283af5(0x43a)]);this[_0x283af5(0x43a)][_0x283af5(0x2ee)]=(..._0x4e7e78)=>{const _0x2bfa96=_0x283af5,_0x199123=_0x4e7e78[_0x2bfa96(0x309)](_0x564425=>_0x564425 instanceof Error?_0x564425[_0x2bfa96(0x1c3)]+'\x0a'+_0x564425[_0x2bfa96(0x23d)]:String(_0x564425))[_0x2bfa96(0x3b0)]('\x20');this[_0x2bfa96(0x45c)](_0x2bfa96(0x2ee),_0x2bfa96(0x2d7)+_0x199123),_0x3ed876(..._0x4e7e78);},this['disposeWithMe'](()=>{const _0x2baff1=_0x283af5;this[_0x2baff1(0x43a)][_0x2baff1(0x2ee)]=_0x3ed876;});}['_uploadLog'](_0xe0ad67,_0x53523f){const _0x234b66=_0x5de549;try{const _0x5015b7={'userId':this['_memberID'],'logLabel':_0xe0ad67,'content':_0x53523f};this[_0x234b66(0x40f)][_0x234b66(0x2b8)](_0x234b66(0x401),{'body':_0x5015b7})[_0x234b66(0x47a)](()=>{});}catch{}}};_0x33fdc9=_0x10ba81([_0x44586c(0x0,_0x39304f['Inject'](_0x39304f[_0x5de549(0x2bd)])),_0x44586c(0x1,_0x39304f[_0x5de549(0x356)](_0x4e0fb2[_0x5de549(0x469)])),_0x44586c(0x2,_0x39304f[_0x5de549(0x25e)]),_0x44586c(0x3,_0x39304f['Inject'](_0x3fe1f0[_0x5de549(0x22f)]))],_0x33fdc9);const _0x13b4e5='collaboration-client-ui.config',_0x469697={};var _0x2d8b6a=Object[_0x5de549(0x49f)],_0x5144bc=(_0x2e9deb,_0x49fce7,_0x2796ee,_0x5a5c38)=>{for(var _0x3add98=_0x5a5c38>0x1?void 0x0:_0x5a5c38?_0x2d8b6a(_0x49fce7,_0x2796ee):_0x49fce7,_0x583c85=_0x2e9deb['length']-0x1,_0x26f12f;_0x583c85>=0x0;_0x583c85--)(_0x26f12f=_0x2e9deb[_0x583c85])&&(_0x3add98=_0x26f12f(_0x3add98)||_0x3add98);return _0x3add98;},_0xaf46f4=(_0x318beb,_0x184d72)=>(_0x538d89,_0x556cb5)=>_0x184d72(_0x538d89,_0x556cb5,_0x318beb);let _0x547126=class{constructor(_0x1cdea0,_0x36fbef){const _0x38e088=_0x5de549;this[_0x38e088(0x403)]=_0x1cdea0,this['_renderManagerService']=_0x36fbef;}[_0x5de549(0x342)](_0x4542d6){this['_transformUndoRedoStack'](_0x4542d6),this['_transformPreviousActiveRange'](_0x4542d6);}['transformRemoteChangeset'](_0x55e528){const _0x53e068=_0x5de549,{unitID:_0x4b29d1}=_0x55e528,_0x362b15=this['_renderManagerService'][_0x53e068(0x21a)](_0x4b29d1)['with'](_0x2abae2[_0x53e068(0x278)]),{redoCache:_0x2d8887}=_0x362b15[_0x53e068(0x2dd)]();if(_0x2d8887[_0x53e068(0x3b7)]===0x0)return _0x55e528;let _0x8af97c=_0x39304f[_0x53e068(0x1ec)][_0x53e068(0x3ab)](_0x55e528[_0x53e068(0x404)][0x0]);for(let _0x5f4fd3=0x0;_0x5f4fd3<_0x2d8887['length'];_0x5f4fd3++){const _0x48cd37={'id':'doc.mutation.rich-text-editing','params':{..._0x2d8887[_0x5f4fd3]}},_0x4c9974=this[_0x53e068(0x403)][_0x53e068(0x37d)](_0x8af97c,_0x48cd37,!0x1);if(_0x560361['isTransformMutationFailure'](_0x4c9974))throw _0x4c9974['error'];_0x8af97c=_0x4c9974[_0x53e068(0x1d7)];}return{..._0x39304f[_0x53e068(0x1ec)][_0x53e068(0x3ab)](_0x55e528),'mutations':[_0x8af97c]};}[_0x5de549(0x1eb)](_0xa0a2df){const _0x2185bc=_0x5de549,{unitID:_0x34638f}=_0xa0a2df,_0x4fcd09=this[_0x2185bc(0x349)][_0x2185bc(0x21a)](_0x34638f)[_0x2185bc(0x29e)](_0x2abae2[_0x2185bc(0x278)]),{undoCache:_0x392f4c,redoCache:_0x28d1ef}=_0x4fcd09[_0x2185bc(0x2dd)]();if(_0x392f4c[_0x2185bc(0x3b7)]===0x0||_0x28d1ef[_0x2185bc(0x3b7)]===0x0)return;const _0x8c4423=[],_0x2d8532=[];let _0x4a9868=_0x39304f[_0x2185bc(0x1ec)][_0x2185bc(0x3ab)](_0xa0a2df[_0x2185bc(0x404)][0x0]),_0x259e9c=_0x39304f[_0x2185bc(0x1ec)][_0x2185bc(0x3ab)](_0xa0a2df[_0x2185bc(0x404)][0x0]);for(let _0x3e7a7b=_0x392f4c['length']-0x1;_0x3e7a7b>=0x0;_0x3e7a7b--){const _0x37ec47={'id':'doc.mutation.rich-text-editing','params':{..._0x392f4c[_0x3e7a7b]}},_0x5b75cf={'id':_0x2185bc(0x476),'params':{..._0x28d1ef[_0x3e7a7b]}},_0x3b4497=this[_0x2185bc(0x403)][_0x2185bc(0x37d)](_0x4a9868,_0x37ec47,!0x1),_0x4c6a4a=this['_transformService'][_0x2185bc(0x37d)](_0x259e9c,_0x5b75cf,!0x1);if(_0x560361[_0x2185bc(0x3fd)](_0x3b4497))throw _0x3b4497[_0x2185bc(0x2ee)];if(_0x560361[_0x2185bc(0x3fd)](_0x4c6a4a))throw _0x4c6a4a[_0x2185bc(0x2ee)];_0x8c4423[_0x2185bc(0x282)](_0x3b4497[_0x2185bc(0x1e0)][_0x2185bc(0x448)]),_0x2d8532[_0x2185bc(0x282)](_0x4c6a4a[_0x2185bc(0x1e0)][_0x2185bc(0x448)]),_0x4a9868=_0x3b4497[_0x2185bc(0x1d7)],_0x259e9c=_0x4c6a4a[_0x2185bc(0x1d7)];}_0x4fcd09[_0x2185bc(0x38f)]({'undoCache':_0x8c4423,'redoCache':_0x2d8532});}['_transformPreviousActiveRange'](_0x2cb7f2){const _0x1d2229=_0x5de549,{unitID:_0x575294}=_0x2cb7f2,_0x26100d=this[_0x1d2229(0x349)]['getRenderById'](_0x575294)[_0x1d2229(0x29e)](_0x2abae2['DocIMEInputManagerService']),_0x4e2705=_0x26100d[_0x1d2229(0x464)]();if(_0x4e2705==null)return;const _0x45d90f=[{'id':_0x1d2229(0x476),'params':{'unitId':_0x2cb7f2[_0x1d2229(0x42f)],'actions':null,'textRanges':[_0x4e2705]}}],_0x535b1b=this[_0x1d2229(0x403)][_0x1d2229(0x3c4)](_0x2cb7f2,_0x45d90f);if(!_0x560361[_0x1d2229(0x2ce)](_0x535b1b))throw _0x535b1b[_0x1d2229(0x2ee)];const _0x22a910=_0x535b1b[_0x1d2229(0x1e0)][0x0][_0x1d2229(0x448)]['textRanges'];Array[_0x1d2229(0x372)](_0x22a910)&&_0x22a910[_0x1d2229(0x3b7)]&&_0x26100d[_0x1d2229(0x2a0)](_0x22a910[0x0]);}};_0x547126=_0x5144bc([_0xaf46f4(0x0,_0x560361[_0x5de549(0x37e)]),_0xaf46f4(0x1,_0x46a3bd['IRenderManagerService'])],_0x547126);var _0x494865=Object[_0x5de549(0x49f)],_0x33054a=(_0x2b793d,_0x395f2,_0x41015,_0x3c2c33)=>{const _0x20b2a4=_0x5de549;for(var _0x3a49a3=_0x3c2c33>0x1?void 0x0:_0x3c2c33?_0x494865(_0x395f2,_0x41015):_0x395f2,_0x594a98=_0x2b793d[_0x20b2a4(0x3b7)]-0x1,_0x26bebd;_0x594a98>=0x0;_0x594a98--)(_0x26bebd=_0x2b793d[_0x594a98])&&(_0x3a49a3=_0x26bebd(_0x3a49a3)||_0x3a49a3);return _0x3a49a3;},_0x216ee=(_0x133e54,_0x50da81)=>(_0x35743c,_0x50739a)=>_0x50da81(_0x35743c,_0x50739a,_0x133e54);let _0xacb853=class{constructor(_0x293e0b,_0x1d7f52,_0x2b5dd9){const _0x1279b7=_0x5de549;this[_0x1279b7(0x31d)]=_0x293e0b,this[_0x1279b7(0x403)]=_0x1d7f52,this[_0x1279b7(0x3b1)]=_0x2b5dd9;}[_0x5de549(0x444)](_0x330ee9){const _0x55e2e4=_0x5de549;this[_0x55e2e4(0x201)](_0x330ee9);}[_0x5de549(0x46e)](_0x223ef2){const _0xa5f205=_0x5de549,{unitID:_0x4560d2}=_0x223ef2,{collaboration:_0x3442fd}=this[_0xa5f205(0x3b1)][_0xa5f205(0x261)](_0x4560d2);if(_0x3442fd[_0xa5f205(0x3b7)]===0x0)return _0x223ef2;let _0x28a2ab=_0x39304f[_0xa5f205(0x1ec)][_0xa5f205(0x3ab)](_0x223ef2[_0xa5f205(0x404)][0x0]);for(let _0x9a05d4=0x0;_0x9a05d4<_0x3442fd[_0xa5f205(0x3b7)];_0x9a05d4++){const _0x293e26={'id':_0xa5f205(0x476),'params':{'unitId':_0x3442fd[_0x9a05d4]['unitId'],..._0x3442fd[_0x9a05d4][_0xa5f205(0x293)]}},_0x19c041=this[_0xa5f205(0x403)][_0xa5f205(0x37d)](_0x28a2ab,_0x293e26,!0x1);if(_0x560361[_0xa5f205(0x3fd)](_0x19c041))throw _0x19c041['error'];_0x28a2ab=_0x19c041[_0xa5f205(0x1d7)];}return{..._0x39304f[_0xa5f205(0x1ec)][_0xa5f205(0x3ab)](_0x223ef2),'mutations':[_0x28a2ab]};}[_0x5de549(0x201)](_0x1aa0af){const _0x38d35a=_0x5de549,{unitID:_0x16e33e}=_0x1aa0af,{history:_0x50ff57,collaboration:_0x30be94}=this['_docStateChangeManagerService'][_0x38d35a(0x261)](_0x16e33e);if(_0x50ff57['length']===0x0&&_0x30be94['length']===0x0)return;const _0x3759f8=[],_0x3a8e7f=[];let _0x45acc6=_0x39304f[_0x38d35a(0x1ec)][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]),_0x14a992=_0x39304f[_0x38d35a(0x1ec)][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]);for(let _0x58bccd=_0x50ff57['length']-0x1;_0x58bccd>=0x0;_0x58bccd--){const _0x30130b={'id':_0x38d35a(0x476),'params':{'unitId':_0x50ff57[_0x58bccd][_0x38d35a(0x2fb)],..._0x50ff57[_0x58bccd][_0x38d35a(0x222)]}},_0x36d30e={'id':_0x38d35a(0x476),'params':{'unitId':_0x50ff57[_0x58bccd]['unitId'],..._0x50ff57[_0x58bccd][_0x38d35a(0x293)]}},_0x45fc5a=this[_0x38d35a(0x403)]['transformMutation'](_0x45acc6,_0x30130b,!0x1),_0x375666=this[_0x38d35a(0x403)]['transformMutation'](_0x14a992,_0x36d30e,!0x1);if(_0x560361[_0x38d35a(0x3fd)](_0x45fc5a))throw _0x45fc5a['error'];if(_0x560361['isTransformMutationFailure'](_0x375666))throw _0x375666[_0x38d35a(0x2ee)];_0x3759f8['unshift']({..._0x50ff57[_0x58bccd],'undoState':_0x45fc5a['m2Prime']['params'],'redoState':_0x375666['m2Prime']['params']}),_0x45acc6=_0x45fc5a[_0x38d35a(0x1d7)],_0x14a992=_0x375666['m1Prime'];}_0x45acc6=_0x39304f['Tools'][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]),_0x14a992=_0x39304f[_0x38d35a(0x1ec)][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]);for(let _0x286738=_0x30be94[_0x38d35a(0x3b7)]-0x1;_0x286738>=0x0;_0x286738--){const _0xb43fcc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30be94[_0x286738][_0x38d35a(0x2fb)],..._0x30be94[_0x286738][_0x38d35a(0x222)]}},_0xeb8c01={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30be94[_0x286738][_0x38d35a(0x2fb)],..._0x30be94[_0x286738]['redoState']}},_0x3e48ae=this[_0x38d35a(0x403)][_0x38d35a(0x37d)](_0x45acc6,_0xb43fcc,!0x1),_0x34fa47=this[_0x38d35a(0x403)][_0x38d35a(0x37d)](_0x14a992,_0xeb8c01,!0x1);if(_0x560361['isTransformMutationFailure'](_0x3e48ae))throw _0x3e48ae[_0x38d35a(0x2ee)];if(_0x560361[_0x38d35a(0x3fd)](_0x34fa47))throw _0x34fa47[_0x38d35a(0x2ee)];_0x3a8e7f[_0x38d35a(0x282)]({..._0x30be94[_0x286738],'undoState':_0x3e48ae[_0x38d35a(0x1e0)]['params'],'redoState':_0x34fa47['m2Prime'][_0x38d35a(0x448)]}),_0x45acc6=_0x3e48ae['m1Prime'],_0x14a992=_0x34fa47[_0x38d35a(0x1d7)];}this[_0x38d35a(0x3b1)][_0x38d35a(0x461)](_0x16e33e,{'history':_0x3759f8,'collaboration':_0x3a8e7f});}};_0xacb853=_0x33054a([_0x216ee(0x0,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0x216ee(0x1,_0x560361[_0x5de549(0x37e)]),_0x216ee(0x2,_0x39304f['Inject'](_0x2abae2['DocStateChangeManagerService']))],_0xacb853);var _0x31e565=Object[_0x5de549(0x49f)],_0x523a3c=(_0x348d58,_0x4650b6,_0x5119a9,_0x47f61a)=>{const _0x5ec6a5=_0x5de549;for(var _0x6e6609=_0x47f61a>0x1?void 0x0:_0x47f61a?_0x31e565(_0x4650b6,_0x5119a9):_0x4650b6,_0x59d0df=_0x348d58[_0x5ec6a5(0x3b7)]-0x1,_0x2ad891;_0x59d0df>=0x0;_0x59d0df--)(_0x2ad891=_0x348d58[_0x59d0df])&&(_0x6e6609=_0x2ad891(_0x6e6609)||_0x6e6609);return _0x6e6609;},_0x70a35b=(_0x5b4eba,_0x42a892)=>(_0x187036,_0x26c230)=>_0x42a892(_0x187036,_0x26c230,_0x5b4eba);let _0x372ab3=class{constructor(_0x2477b5,_0x4e64cc){const _0x215a38=_0x5de549;this['_injector']=_0x2477b5,this[_0x215a38(0x403)]=_0x4e64cc;}[_0x5de549(0x33a)](_0x279231){const _0x4cc896=_0x5de549;var _0x4a012d;const _0x5b7d66=this[_0x4cc896(0x31d)][_0x4cc896(0x1c0)](_0x59af06[_0x4cc896(0x20c)]),_0x23f385=(_0x4a012d=_0x5b7d66['getDocRanges']())!=null?_0x4a012d:[];if(_0x23f385[_0x4cc896(0x3b7)]===0x0)return;const _0x4a8a0f=_0x279231[_0x4cc896(0x42f)],_0x4f0a48=[{'id':_0x4cc896(0x476),'params':{'unitId':_0x4a8a0f,'actions':null,'textRanges':_0x23f385}}],_0x49f637=this[_0x4cc896(0x403)]['transformMutationsWithChangeset'](_0x279231,_0x4f0a48);if(!_0x560361[_0x4cc896(0x2ce)](_0x49f637))throw _0x49f637['error'];const _0x24010c=_0x49f637[_0x4cc896(0x1e0)][0x0][_0x4cc896(0x448)][_0x4cc896(0x225)];Array[_0x4cc896(0x372)](_0x24010c)&&_0x24010c[_0x4cc896(0x3b7)]&&_0x5b7d66['replaceDocRanges'](_0x24010c,{'unitId':_0x4a8a0f,'subUnitId':_0x4a8a0f},!0x1);}};_0x372ab3=_0x523a3c([_0x70a35b(0x0,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0x70a35b(0x1,_0x560361[_0x5de549(0x37e)])],_0x372ab3);var _0x42e7e9=Object[_0x5de549(0x49f)],_0x1eb956=(_0x2f4774,_0x23a028,_0x284e45,_0x2ade7a)=>{const _0x514a23=_0x5de549;for(var _0x57d420=_0x2ade7a>0x1?void 0x0:_0x2ade7a?_0x42e7e9(_0x23a028,_0x284e45):_0x23a028,_0x26019d=_0x2f4774[_0x514a23(0x3b7)]-0x1,_0x29cd74;_0x26019d>=0x0;_0x26019d--)(_0x29cd74=_0x2f4774[_0x26019d])&&(_0x57d420=_0x29cd74(_0x57d420)||_0x57d420);return _0x57d420;},_0x23a64a=(_0x3e85bb,_0x439965)=>(_0x4c3a6f,_0x39596f)=>_0x439965(_0x4c3a6f,_0x39596f,_0x3e85bb);let _0x516750=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0xa203a5,_0x346642,_0xfd203f,_0x4ae842,_0x56b45b,_0x11cd3,_0x3d79de,_0x4a94bb){const _0x27f0ad=_0x5de549;super(),_0x41fabe(this,_0x27f0ad(0x2e8),new _0x404575[(_0x27f0ad(0x25b))](_0x3fe1f0[_0x27f0ad(0x329)]['NOT_COLLAB'])),(this[_0x27f0ad(0x3b1)]=_0xa203a5,this['_collaborationController']=_0x346642,this[_0x27f0ad(0x23e)]=_0xfd203f,this[_0x27f0ad(0x3e8)]=_0x4ae842,this['_docTransformSelectionsService']=_0x56b45b,this[_0x27f0ad(0x2ff)]=_0x11cd3,this['_messageService']=_0x3d79de,this['_localeService']=_0x4a94bb,this[_0x27f0ad(0x3cc)]());}[_0x5de549(0x3cc)](){const _0x10a33c=_0x5de549;this[_0x10a33c(0x24e)](this[_0x10a33c(0x1fd)][_0x10a33c(0x312)][_0x10a33c(0x38e)](_0x3445a6=>{const _0x4a5315=_0x10a33c,_0x15fce7=this['_docStateChangeManagerService'][_0x4a5315(0x30e)]['subscribe'](_0x5b8b55=>{const _0x47c270=_0x4a5315;if(_0x5b8b55==null)return;const {unitId:_0x471479,redoState:_0x20066d,commandId:_0x43a32a}=_0x5b8b55;if(_0x471479!==_0x3445a6[_0x47c270(0x42f)])return;const _0x47a486={'id':_0x43a32a,'type':_0x39304f[_0x47c270(0x208)][_0x47c270(0x397)],'params':{'unitId':_0x471479,'actions':_0x20066d[_0x47c270(0x42c)],'textRanges':null}};_0x3445a6[_0x47c270(0x1ea)](_0x47a486);});if(_0x3445a6[_0x4a5315(0x24e)](_0x15fce7),_0x3445a6 instanceof _0x3fe1f0[_0x4a5315(0x1ce)]){const _0x222696={'onTransformIME':_0x4d3723=>this[_0x4a5315(0x23e)][_0x4a5315(0x342)](_0x4d3723),'onTransformState':_0x6d6f9e=>this[_0x4a5315(0x3e8)][_0x4a5315(0x444)](_0x6d6f9e),'onTransformSelections':_0x3b1dae=>this['_docTransformSelectionsService'][_0x4a5315(0x33a)](_0x3b1dae),'onSyncEditingCollabCursor':_0x5cc744=>this['_docSyncEditingCollabCursorService'][_0x4a5315(0x3e0)](_0x5cc744),'onTransformRemoteChangesetByIMECache':_0x599616=>this['_docTransformIMECacheService'][_0x4a5315(0x46e)](_0x599616),'onTransformRemoteChangesetByStateCache':_0x4a3212=>this[_0x4a5315(0x3e8)][_0x4a5315(0x46e)](_0x4a3212)};_0x3445a6[_0x4a5315(0x3c9)](_0x222696);}}));}};_0x516750=_0x1eb956([_0x23a64a(0x0,_0x39304f[_0x5de549(0x356)](_0x2abae2[_0x5de549(0x48c)])),_0x23a64a(0x1,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x28d)])),_0x23a64a(0x2,_0x39304f['Inject'](_0x547126)),_0x23a64a(0x3,_0x39304f[_0x5de549(0x356)](_0xacb853)),_0x23a64a(0x4,_0x39304f[_0x5de549(0x356)](_0x372ab3)),_0x23a64a(0x5,_0x39304f['Inject'](_0x4c3a54)),_0x23a64a(0x6,_0x4c3b5c[_0x5de549(0x323)]),_0x23a64a(0x7,_0x39304f[_0x5de549(0x356)](_0x39304f['LocaleService']))],_0x516750);var _0x277c13=(_0xa63f82=>(_0xa63f82[_0xa63f82[_0x5de549(0x2ed)]=0x0]='UNDEFINED',_0xa63f82[_0xa63f82['OK']=0x1]='OK',_0xa63f82[_0xa63f82[_0x5de549(0x3a3)]=0x2]=_0x5de549(0x3a3),_0xa63f82[_0xa63f82[_0x5de549(0x43e)]=0x3]='PERMISSION_DENIED',_0xa63f82[_0xa63f82[_0x5de549(0x1bb)]=0x4]=_0x5de549(0x1bb),_0xa63f82[_0xa63f82[_0x5de549(0x306)]=0x5]=_0x5de549(0x306),_0xa63f82[_0xa63f82[_0x5de549(0x496)]=0x6]='ALREADY_EXISTS',_0xa63f82[_0xa63f82['INVALID_ARGUMENT']=0x7]=_0x5de549(0x3a2),_0xa63f82[_0xa63f82['TOO_MANY_REQUESTS']=0x8]=_0x5de549(0x331),_0xa63f82[_0xa63f82[_0x5de549(0x433)]=0x9]=_0x5de549(0x433),_0xa63f82[_0xa63f82['LOGIN_FAILED']=0xa]=_0x5de549(0x46d),_0xa63f82[_0xa63f82[_0x5de549(0x2da)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xa63f82[_0xa63f82[_0x5de549(0x1d1)]=0xc]=_0x5de549(0x1d1),_0xa63f82[_0xa63f82['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x5de549(0x270),_0xa63f82[_0xa63f82[_0x5de549(0x1f9)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xa63f82[_0xa63f82[_0x5de549(0x1d3)]=0xf]=_0x5de549(0x1d3),_0xa63f82[_0xa63f82[_0x5de549(0x324)]=0x10]=_0x5de549(0x324),_0xa63f82[_0xa63f82[_0x5de549(0x379)]=0x64]=_0x5de549(0x379),_0xa63f82[_0xa63f82[_0x5de549(0x1c1)]=0x65]='ERROR_AGAIN',_0xa63f82[_0xa63f82[_0x5de549(0x445)]=0xc9]=_0x5de549(0x445),_0xa63f82[_0xa63f82[_0x5de549(0x40b)]=0xca]=_0x5de549(0x40b),_0xa63f82[_0xa63f82[_0x5de549(0x45d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xa63f82[_0xa63f82[_0x5de549(0x499)]=0x1771]=_0x5de549(0x499),_0xa63f82[_0xa63f82[_0x5de549(0x1ed)]=0x1772]=_0x5de549(0x1ed),_0xa63f82[_0xa63f82[_0x5de549(0x491)]=0x1773]=_0x5de549(0x491),_0xa63f82[_0xa63f82[_0x5de549(0x25a)]=0x1b59]='APPLY_REJECT',_0xa63f82[_0xa63f82[_0x5de549(0x3bc)]=0x1b5a]=_0x5de549(0x3bc),_0xa63f82[_0xa63f82[_0x5de549(0x258)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xa63f82[_0xa63f82[_0x5de549(0x23c)]=0x1b5c]=_0x5de549(0x23c),_0xa63f82[_0xa63f82[_0x5de549(0x407)]=0x1b5d]=_0x5de549(0x407),_0xa63f82[_0xa63f82[_0x5de549(0x3aa)]=0x1f41]=_0x5de549(0x3aa),_0xa63f82[_0xa63f82['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xa63f82[_0xa63f82[_0x5de549(0x4a4)]=0x232a]=_0x5de549(0x4a4),_0xa63f82[_0xa63f82[_0x5de549(0x429)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xa63f82[_0xa63f82[_0x5de549(0x246)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa63f82[_0xa63f82[_0x5de549(0x1ff)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xa63f82[_0xa63f82[_0x5de549(0x2fc)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xa63f82[_0xa63f82[_0x5de549(0x386)]=0x2712]=_0x5de549(0x386),_0xa63f82[_0xa63f82[_0x5de549(0x37b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xa63f82[_0xa63f82[_0x5de549(0x447)]=0x2714]=_0x5de549(0x447),_0xa63f82[_0xa63f82[_0x5de549(0x1d9)]=0x271a]=_0x5de549(0x1d9),_0xa63f82[_0xa63f82[_0x5de549(0x244)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xa63f82[_0xa63f82['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xa63f82[_0xa63f82[_0x5de549(0x2f0)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xa63f82[_0xa63f82[_0x5de549(0x3af)]=0x271e]=_0x5de549(0x3af),_0xa63f82[_0xa63f82['YUUMI_AI_RUN_FAILED']=0x271f]=_0x5de549(0x471),_0xa63f82[_0xa63f82[_0x5de549(0x494)]=0x2720]=_0x5de549(0x494),_0xa63f82[_0xa63f82[_0x5de549(0x36e)]=0x2af9]=_0x5de549(0x36e),_0xa63f82[_0xa63f82['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xa63f82[_0xa63f82[_0x5de549(0x2fa)]=0x2ee2]='INVALID_INVITE_CODE',_0xa63f82[_0xa63f82['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5de549(0x235),_0xa63f82[_0xa63f82[_0x5de549(0x3c5)]=0x2ee4]=_0x5de549(0x3c5),_0xa63f82[_0xa63f82[_0x5de549(0x2ab)]=0x2ee5]=_0x5de549(0x2ab),_0xa63f82[_0xa63f82[_0x5de549(0x262)]=0x32c9]=_0x5de549(0x262),_0xa63f82[_0xa63f82[_0x5de549(0x3c2)]=0x32ca]=_0x5de549(0x3c2),_0xa63f82[_0xa63f82[_0x5de549(0x38c)]=0x32cb]=_0x5de549(0x38c),_0xa63f82[_0xa63f82[_0x5de549(0x209)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0xa63f82[_0xa63f82[_0x5de549(0x274)]=0x36b2]=_0x5de549(0x274),_0xa63f82[_0xa63f82[_0x5de549(0x35d)]=0x36b3]=_0x5de549(0x35d),_0xa63f82[_0xa63f82[_0x5de549(0x3a9)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xa63f82[_0xa63f82[_0x5de549(0x3ea)]=0x36b5]=_0x5de549(0x3ea),_0xa63f82[_0xa63f82[_0x5de549(0x35c)]=0x36b6]=_0x5de549(0x35c),_0xa63f82[_0xa63f82[_0x5de549(0x249)]=0x36b7]=_0x5de549(0x249),_0xa63f82[_0xa63f82[_0x5de549(0x2a7)]=0x36b8]=_0x5de549(0x2a7),_0xa63f82[_0xa63f82[_0x5de549(0x340)]=0x3715]=_0x5de549(0x340),_0xa63f82[_0xa63f82[_0x5de549(0x38b)]=0x3716]=_0x5de549(0x38b),_0xa63f82[_0xa63f82[_0x5de549(0x362)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xa63f82[_0xa63f82[_0x5de549(0x2b4)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0xa63f82[_0xa63f82[_0x5de549(0x3f6)]=0x3a99]=_0x5de549(0x3f6),_0xa63f82[_0xa63f82[_0x5de549(0x462)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xa63f82[_0xa63f82[_0x5de549(0x39a)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xa63f82[_0xa63f82[_0x5de549(0x279)]=0x3a9c]=_0x5de549(0x279),_0xa63f82[_0xa63f82['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x5de549(0x284),_0xa63f82[_0xa63f82[_0x5de549(0x1df)]=0x3a9e]=_0x5de549(0x1df),_0xa63f82[_0xa63f82[_0x5de549(0x22b)]=0x3a9f]=_0x5de549(0x22b),_0xa63f82[_0xa63f82[_0x5de549(0x408)]=0x3e81]=_0x5de549(0x408),_0xa63f82[_0xa63f82[_0x5de549(0x426)]=-0x1]=_0x5de549(0x426),_0xa63f82))(_0x277c13||{});function _0x204ffd(_0x1aeb0b){const _0x5f5d38=_0x5de549;var _0x5f1f09,_0x2d4e76;const _0x4b47dd=(_0x5f1f09=_0x1aeb0b[_0x5f5d38(0x41a)])==null?void 0x0:_0x5f1f09[_0x5f5d38(0x1be)],_0x5c2619=((_0x2d4e76=_0x1aeb0b['stageInfo'])==null?void 0x0:_0x2d4e76[_0x5f5d38(0x355)])||0x0;return _0x4b47dd===_0x284237[_0x5f5d38(0x3f3)][_0x5f5d38(0x3a6)]&&_0x5c2619>0x0;}function _0x2be4ae(_0x5dbe80){const _0x18ab4f=_0x5de549;return _0x5dbe80['functionsExecutedState']===_0x284237[_0x18ab4f(0x21c)][_0x18ab4f(0x248)];}var _0x412897=Object[_0x5de549(0x49f)],_0x11c584=(_0x34f1b4,_0x87d016,_0x20889c,_0x48923a)=>{const _0x45afe6=_0x5de549;for(var _0x275158=_0x48923a>0x1?void 0x0:_0x48923a?_0x412897(_0x87d016,_0x20889c):_0x87d016,_0x21f6e0=_0x34f1b4[_0x45afe6(0x3b7)]-0x1,_0x40de39;_0x21f6e0>=0x0;_0x21f6e0--)(_0x40de39=_0x34f1b4[_0x21f6e0])&&(_0x275158=_0x40de39(_0x275158)||_0x275158);return _0x275158;},_0x56ccd2=(_0x17a95f,_0x264b58)=>(_0x229b07,_0x401e57)=>_0x264b58(_0x229b07,_0x401e57,_0x17a95f);const _0xdbcb5d=_0x5de549(0x416),_0x342981=_0x5de549(0x1d4),_0x4fe584=_0x5de549(0x1d0);let _0x2bfa89=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0xc45c9a,_0x5a8e7e,_0x5c4015,_0x9bc080,_0x26c66f,_0x1862f8,_0x266bfe){const _0x13e764=_0x5de549;super(),_0x41fabe(this,_0x13e764(0x29f),null),_0x41fabe(this,_0x13e764(0x27c),0x0),_0x41fabe(this,_0x13e764(0x467),0x0),_0x41fabe(this,_0x13e764(0x215),[]),_0x41fabe(this,_0x13e764(0x411),0x0),(this['_messageService']=_0xc45c9a,this[_0x13e764(0x33e)]=_0x5a8e7e,this[_0x13e764(0x20f)]=_0x5c4015,this[_0x13e764(0x40f)]=_0x9bc080,this[_0x13e764(0x26e)]=_0x26c66f,this['_logService']=_0x1862f8,this[_0x13e764(0x3c1)]=_0x266bfe,this[_0x13e764(0x3cd)]());}['_initCommandInterceptor'](){const _0x4ae39c=_0x5de549;this[_0x4ae39c(0x24e)](this['_commandService'][_0x4ae39c(0x259)]((_0x5c38ab,_0x5308fb)=>{const _0x11e224=_0x4ae39c;var _0x18f9ea;if(_0x5c38ab['id']!==_0x284237[_0x11e224(0x1b0)]['id'])return;const _0x3c812b=_0x5c38ab[_0x11e224(0x448)];if(!this[_0x11e224(0x1e7)]((_0x18f9ea=_0x3c812b[_0x11e224(0x2d9)])!=null?_0x18f9ea:[]))return;if(!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x5c38ab,_0x5308fb),this['_showGuardMessage'](),new _0x39304f[(_0x11e224(0x358))]();})),this[_0x4ae39c(0x24e)](this[_0x4ae39c(0x33e)][_0x4ae39c(0x2fd)]((_0x2ebb2b,_0x3cba68)=>{const _0x94105d=_0x4ae39c;if(_0x2ebb2b['id']!==_0x284237[_0x94105d(0x29a)]['id'])return;const _0x460af8=_0x2ebb2b['params'];if(_0x204ffd(_0x460af8)){const _0x19c934=_0x39304f[_0x94105d(0x26d)]();this[_0x94105d(0x215)]['push'](_0x19c934),this['_startCalculationLimit'](_0x19c934);}else{if(_0x2be4ae(_0x460af8)&&this[_0x94105d(0x215)][_0x94105d(0x3b7)]>0x0){const _0x57f7db=this[_0x94105d(0x215)]['shift']();this[_0x94105d(0x1f2)](_0x57f7db);}}}));}[_0x5de549(0x2c3)](){const _0x36d0b2=_0x5de549;super[_0x36d0b2(0x2c3)](),this['_clearPolling'](),this[_0x36d0b2(0x215)]=[],this['_currentUsage']=0x0,this[_0x36d0b2(0x27c)]=0x0,this[_0x36d0b2(0x411)]=0x0;}async[_0x5de549(0x28c)](_0x11193a,_0x4c158e){const _0x5b8513=_0x5de549;for(let _0x59a0a5=0x0;_0x59a0a5<0x1e;_0x59a0a5++)try{if(await this[_0x5b8513(0x341)](),this[_0x5b8513(0x44e)]()){this[_0x5b8513(0x227)](_0x11193a,_0x4c158e),this[_0x5b8513(0x22d)]['show']({'content':this[_0x5b8513(0x3c1)]['t'](_0x5b8513(0x3db)),'type':_0x31598f[_0x5b8513(0x242)][_0x5b8513(0x2bb)]});return;}await new Promise(_0x4a44ed=>{const _0x13a0c0=_0x5b8513;this[_0x13a0c0(0x29f)]=window['setTimeout'](_0x4a44ed,0x3e8);});}catch(_0x3ff704){this['_logService'][_0x5b8513(0x2ee)](_0x3ff704);}this[_0x5b8513(0x22d)][_0x5b8513(0x38d)]({'content':this[_0x5b8513(0x3c1)]['t'](_0x5b8513(0x1e2)),'type':_0x31598f[_0x5b8513(0x242)][_0x5b8513(0x385)]});}[_0x5de549(0x227)](_0x355d39,_0x32122a){const _0x1a302c=_0x5de549;try{this[_0x1a302c(0x33e)][_0x1a302c(0x275)](_0x355d39['id'],_0x355d39['params'],_0x32122a);}catch(_0x5673ae){this['_logService']['error'](_0x5673ae);}}[_0x5de549(0x314)](_0x4c56e0,_0x40933b){const _0x2f7308=_0x5de549;_0x40933b<this[_0x2f7308(0x411)]||(this[_0x2f7308(0x411)]=_0x40933b,this[_0x2f7308(0x27c)]=Number[_0x2f7308(0x435)](_0x4c56e0[_0x2f7308(0x44c)]),this['_currentUsage']=Number['parseInt'](_0x4c56e0[_0x2f7308(0x273)]));}async['_startCalculationLimit'](_0x360c93){const _0x38a34d=_0x5de549;var _0x1523eb,_0x114b81;const _0x36d26c=Date[_0x38a34d(0x48e)]();try{const _0x375feb=((_0x1523eb=this[_0x38a34d(0x20f)][_0x38a34d(0x47f)](_0x3fe1f0[_0x38a34d(0x4a3)]))==null?void 0x0:_0x1523eb['startFormulaLimitUrl'])||_0x342981,_0xb7f446=(await this[_0x38a34d(0x40f)][_0x38a34d(0x2b8)](_0x375feb,{'body':JSON[_0x38a34d(0x230)]({'taskId':_0x360c93})}))[_0x38a34d(0x20e)];if(((_0x114b81=_0xb7f446['error'])==null?void 0x0:_0x114b81[_0x38a34d(0x36c)])!==_0x277c13['OK'])return;this[_0x38a34d(0x314)](_0xb7f446[_0x38a34d(0x353)],_0x36d26c);}catch(_0x4faa4f){this[_0x38a34d(0x43a)][_0x38a34d(0x2ee)](_0x4faa4f);}}async[_0x5de549(0x341)](_0x459a7a){const _0x55499b=_0x5de549;var _0x36c0d9,_0x394628;const _0x43f0f6=Date[_0x55499b(0x48e)]();try{const _0x2d7397=((_0x36c0d9=this['_configService']['getConfig'](_0x3fe1f0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x36c0d9[_0x55499b(0x2ae)])||_0xdbcb5d,_0x4c147a=_0x459a7a?_0x2d7397+_0x55499b(0x29d)+encodeURIComponent(_0x459a7a):_0x2d7397,_0x51ba83=(await this[_0x55499b(0x40f)][_0x55499b(0x1c0)](_0x4c147a))['body'];if(((_0x394628=_0x51ba83['error'])==null?void 0x0:_0x394628['code'])!==_0x277c13['OK'])return;this[_0x55499b(0x314)](_0x51ba83['limitInfo'],_0x43f0f6);}catch(_0x3530c4){this[_0x55499b(0x43a)]['error'](_0x3530c4);}}async[_0x5de549(0x1f2)](_0x49b644){const _0x354f67=_0x5de549;var _0x353367,_0x4f4024;const _0x46a5c5=Date['now']();try{const _0x30c98e=((_0x353367=this[_0x354f67(0x20f)]['getConfig'](_0x3fe1f0[_0x354f67(0x4a3)]))==null?void 0x0:_0x353367[_0x354f67(0x223)])||_0x4fe584,_0x4a6b7a=(await this[_0x354f67(0x40f)]['post'](_0x30c98e,{'body':JSON[_0x354f67(0x230)]({'taskId':_0x49b644})}))[_0x354f67(0x20e)];if(((_0x4f4024=_0x4a6b7a[_0x354f67(0x2ee)])==null?void 0x0:_0x4f4024[_0x354f67(0x36c)])!==_0x277c13['OK'])return;this[_0x354f67(0x314)](_0x4a6b7a[_0x354f67(0x353)],_0x46a5c5);}catch(_0x23d8e4){this[_0x354f67(0x43a)]['error'](_0x23d8e4);}}[_0x5de549(0x44e)](){const _0x2eb8da=_0x5de549;return this[_0x2eb8da(0x27c)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x5de549(0x2bf)](){const _0x58d377=_0x5de549;this[_0x58d377(0x29f)]&&(clearTimeout(this['_pollingInterval']),this[_0x58d377(0x29f)]=null);}['_showGuardMessage'](){const _0x15b792=_0x5de549;this[_0x15b792(0x22d)][_0x15b792(0x38d)]({'content':this[_0x15b792(0x3c1)]['t'](_0x15b792(0x2ea)),'type':_0x31598f[_0x15b792(0x242)][_0x15b792(0x299)]});}[_0x5de549(0x1e7)](_0x59bac8){const _0x21cc59=_0x5de549;for(const _0x336633 of _0x59bac8){const {unitId:_0x2e15d4,sheetId:_0x36ec57,range:_0x335d5c}=_0x336633,_0x53da8e=this[_0x21cc59(0x26e)]['getUnit'](_0x2e15d4);if(!_0x53da8e)continue;const _0x4de68f=_0x53da8e[_0x21cc59(0x296)](_0x36ec57);if(!_0x4de68f)continue;const _0x1a79af=_0x4de68f[_0x21cc59(0x1f0)]();for(let _0x1894dd=_0x335d5c[_0x21cc59(0x1a7)];_0x1894dd<=_0x335d5c['endRow'];_0x1894dd++)for(let _0x2c7713=_0x335d5c[_0x21cc59(0x286)];_0x2c7713<=_0x335d5c[_0x21cc59(0x305)];_0x2c7713++){const _0x54b125=_0x1a79af[_0x21cc59(0x3fc)](_0x1894dd,_0x2c7713);if(_0x54b125&&(_0x39304f[_0x21cc59(0x37f)](_0x54b125['f'])||_0x39304f[_0x21cc59(0x43c)](_0x54b125['si'])))return!0x0;}}return!0x1;}};_0x2bfa89=_0x11c584([_0x56ccd2(0x0,_0x39304f[_0x5de549(0x356)](_0x4c3b5c[_0x5de549(0x323)])),_0x56ccd2(0x1,_0x39304f[_0x5de549(0x3bf)]),_0x56ccd2(0x2,_0x39304f[_0x5de549(0x205)]),_0x56ccd2(0x3,_0x39304f[_0x5de549(0x356)](_0x4e0fb2[_0x5de549(0x469)])),_0x56ccd2(0x4,_0x39304f[_0x5de549(0x2cc)]),_0x56ccd2(0x5,_0x39304f[_0x5de549(0x25e)]),_0x56ccd2(0x6,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x3f4)]))],_0x2bfa89);var _0x74e318=Object[_0x5de549(0x49f)],_0x4d192b=(_0x29401a,_0xe9a37f,_0x1c8c03,_0x16e567)=>{const _0x50a798=_0x5de549;for(var _0x276cec=_0x16e567>0x1?void 0x0:_0x16e567?_0x74e318(_0xe9a37f,_0x1c8c03):_0xe9a37f,_0x51dbb0=_0x29401a[_0x50a798(0x3b7)]-0x1,_0x19ff64;_0x51dbb0>=0x0;_0x51dbb0--)(_0x19ff64=_0x29401a[_0x51dbb0])&&(_0x276cec=_0x19ff64(_0x276cec)||_0x276cec);return _0x276cec;},_0x226814=(_0x243898,_0x35dc32)=>(_0x26824d,_0x267ea1)=>_0x35dc32(_0x26824d,_0x267ea1,_0x243898);let _0x1e23b0=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x53ae89,_0x30eed9,_0x7dbf61){const _0x40c75f=_0x5de549;super(),_0x41fabe(this,_0x40c75f(0x2df),new Map()),_0x41fabe(this,_0x40c75f(0x288),new Map()),_0x41fabe(this,'_disabled',!0x1),(this[_0x40c75f(0x20f)]=_0x53ae89,this[_0x40c75f(0x310)]=_0x30eed9,this['_revisionService']=_0x7dbf61);}[_0x5de549(0x42a)](){this['_disabled']=!0x0;}[_0x5de549(0x41c)](){const _0x379fb2=_0x5de549;this[_0x379fb2(0x1d6)]=!0x1;}get[_0x5de549(0x32c)](){const _0x3c8e27=_0x5de549;return this[_0x3c8e27(0x288)];}['dispose'](){const _0x3a3ac2=_0x5de549;this[_0x3a3ac2(0x34b)]()[_0x3a3ac2(0x2f8)](()=>super['dispose']());}async[_0x5de549(0x43b)](_0xa6dd78){const _0x5e49f8=_0x5de549;return this['_disabled']?null:this[_0x5e49f8(0x310)]['getItem'](_0x3fe1f0[_0x5e49f8(0x357)](_0xa6dd78));}async[_0x5de549(0x32f)](_0x15f1e6,_0x3e06a5){const _0x2adad1=_0x5de549;return!!this[_0x2adad1(0x310)][_0x2adad1(0x3ca)](_0x15f1e6,_0x3e06a5);}[_0x5de549(0x378)](_0x28549c,_0x303503,_0x27b3bc,_0x3914ae){const _0x2dcf15=_0x5de549,_0x217b03=this[_0x2dcf15(0x48b)][_0x2dcf15(0x303)](_0x28549c);this[_0x2dcf15(0x2df)]['set'](_0x28549c,{'unitID':_0x28549c,'type':_0x303503,'awaitingChangeset':_0x27b3bc,'mutations':_0x3914ae,'rev':_0x217b03}),this[_0x2dcf15(0x288)][_0x2dcf15(0x3f7)](_0x28549c)||this[_0x2dcf15(0x266)](_0x28549c);}[_0x5de549(0x266)](_0x42d18f){const _0x4c6d06=_0x5de549,_0x116b92=this[_0x4c6d06(0x294)]();_0x116b92===0x0?this[_0x4c6d06(0x34a)](_0x42d18f):this[_0x4c6d06(0x288)][_0x4c6d06(0x361)](_0x42d18f,setTimeout(()=>this['_saveCache'](_0x42d18f),_0x116b92));}[_0x5de549(0x294)](){const _0x4afe10=_0x5de549;var _0x2ad5df;return(_0x2ad5df=this[_0x4afe10(0x20f)][_0x4afe10(0x47f)](_0x3fe1f0[_0x4afe10(0x459)]))!=null?_0x2ad5df:_0x3fe1f0['LOCAL_CACHE_INTERVAL'];}[_0x5de549(0x34a)](_0x42be44){const _0x464e42=_0x5de549,_0x3c4ec2=this[_0x464e42(0x288)][_0x464e42(0x1c0)](_0x42be44);return _0x3c4ec2!==void 0x0&&window[_0x464e42(0x3e9)](_0x3c4ec2),this['_localStorageService'][_0x464e42(0x3ca)](_0x3fe1f0[_0x464e42(0x357)](_0x42be44),this[_0x464e42(0x2df)]['get'](_0x42be44))[_0x464e42(0x2f8)](()=>this[_0x464e42(0x288)]['delete'](_0x42be44));}async[_0x5de549(0x34b)](){const _0x3dda55=_0x5de549,_0x4db39a=[];this[_0x3dda55(0x288)][_0x3dda55(0x22a)]((_0x8fe20c,_0x3036df)=>{const _0x5539d0=_0x3dda55;window[_0x5539d0(0x3e9)](_0x8fe20c),_0x4db39a[_0x5539d0(0x44d)](this[_0x5539d0(0x34a)](_0x3036df)[_0x5539d0(0x2f8)](()=>{const _0x353b52=_0x5539d0;this[_0x353b52(0x288)][_0x353b52(0x421)](_0x3036df);}));}),await Promise[_0x3dda55(0x22e)](_0x4db39a);}};_0x1e23b0=_0x4d192b([_0x226814(0x0,_0x39304f[_0x5de549(0x205)]),_0x226814(0x1,_0x39304f[_0x5de549(0x1f1)]),_0x226814(0x2,_0x39304f['Inject'](_0x560361[_0x5de549(0x458)]))],_0x1e23b0);class _0x12ecfd extends _0x39304f[_0x5de549(0x423)]{constructor(){const _0x8ad5c4=_0x5de549;super(),_0x41fabe(this,_0x8ad5c4(0x322)),this['urlChange$']=_0x404575[_0x8ad5c4(0x2de)](window,_0x8ad5c4(0x3cf))[_0x8ad5c4(0x498)](_0x404575['takeUntil'](this[_0x8ad5c4(0x241)]),_0x404575['shareReplay'](0x1),_0x404575['mapTo'](void 0x0));}[_0x5de549(0x374)](_0x260e80,_0x5bbeac,_0x5ac81b=!0x1){const _0x23a40d=_0x5de549,_0x4f0936=new URL(window['location'][_0x23a40d(0x25d)]);_0x4f0936[_0x23a40d(0x3ce)][_0x23a40d(0x361)](_0x260e80,_0x5bbeac),_0x5ac81b?window[_0x23a40d(0x3be)][_0x23a40d(0x27e)]('','',_0x4f0936[_0x23a40d(0x492)]()):window['history'][_0x23a40d(0x3d0)]('','',_0x4f0936[_0x23a40d(0x492)]());}[_0x5de549(0x2b0)](_0x29f086,_0x1c05bc=!0x1){const _0x337c7c=_0x5de549,_0x5e228f=new URL(window['location'][_0x337c7c(0x25d)]);_0x5e228f[_0x337c7c(0x3ce)][_0x337c7c(0x421)](_0x29f086),_0x1c05bc?window[_0x337c7c(0x3be)][_0x337c7c(0x27e)]('','',_0x5e228f[_0x337c7c(0x492)]()):window['history']['pushState']('','',_0x5e228f['toString']());}[_0x5de549(0x350)](_0x59356f){const _0x535fde=_0x5de549;var _0x4fb76a;return(_0x4fb76a=new URL(window[_0x535fde(0x457)][_0x535fde(0x25d)])[_0x535fde(0x3ce)][_0x535fde(0x1c0)](_0x59356f))!=null?_0x4fb76a:void 0x0;}}var _0x393bbe=Object['defineProperty'],_0x5fc207=Object[_0x5de549(0x49f)],_0x3adff3=(_0x4b5892,_0x50c80b,_0xfaae4f)=>_0x50c80b in _0x4b5892?_0x393bbe(_0x4b5892,_0x50c80b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfaae4f}):_0x4b5892[_0x50c80b]=_0xfaae4f,_0x53693c=(_0x1aa74c,_0x34dbf7,_0xc7596e,_0x5bfe0f)=>{const _0x44c64a=_0x5de549;for(var _0x56ef79=_0x5bfe0f>0x1?void 0x0:_0x5bfe0f?_0x5fc207(_0x34dbf7,_0xc7596e):_0x34dbf7,_0x28b8fb=_0x1aa74c[_0x44c64a(0x3b7)]-0x1,_0x56626a;_0x28b8fb>=0x0;_0x28b8fb--)(_0x56626a=_0x1aa74c[_0x28b8fb])&&(_0x56ef79=_0x56626a(_0x56ef79)||_0x56ef79);return _0x56ef79;},_0x13208c=(_0x38cded,_0x35fbe9)=>(_0x184873,_0x21a03e)=>_0x35fbe9(_0x184873,_0x21a03e,_0x38cded),_0x4c9030=(_0x2b51a4,_0x345a2f,_0x4596cf)=>_0x3adff3(_0x2b51a4,_0x345a2f+'',_0x4596cf);const _0x1dade5=_0x5de549(0x267);_0x44b1a7['UniverCollaborationClientUIPlugin']=class extends _0x39304f[_0x5de549(0x41d)]{constructor(_0x4ff6f7=_0x469697,_0x11c5b3,_0x3b87c3,_0xace2cd){const _0x2c1a5f=_0x5de549;super(),this[_0x2c1a5f(0x2cb)]=_0x4ff6f7,this[_0x2c1a5f(0x349)]=_0x11c5b3,this[_0x2c1a5f(0x31d)]=_0x3b87c3,this[_0x2c1a5f(0x20f)]=_0xace2cd;const {..._0x3e1a9a}=_0x39304f[_0x2c1a5f(0x394)]({},_0x469697,this[_0x2c1a5f(0x2cb)]);this[_0x2c1a5f(0x20f)]['setConfig'](_0x13b4e5,_0x3e1a9a);}[_0x5de549(0x3ef)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x5de549(0x238)](){this['_registerRenderDependencies']();}[_0x5de549(0x1ac)](){const _0x2fa01c=_0x5de549;var _0x1eef1a;const _0x54a336=[[_0x34f587],[_0x2bfa89],[_0x372ab3],[_0x547126],[_0xacb853],[_0x4c3a54],[_0x4d8922,{'useClass':_0x12ecfd}],[_0x4e0fb2[_0x2fa01c(0x43f)],{'useClass':_0x4e0fb2[_0x2fa01c(0x236)]}],[_0x3fe1f0[_0x2fa01c(0x443)],{'useClass':_0x1e23b0}],[_0x44b1a7[_0x2fa01c(0x319)]],[_0x516750],[_0x261734],[_0x1af4cc],[_0x171e0f],[_0x44b1a7[_0x2fa01c(0x315)]]];this['_config'][_0x2fa01c(0x455)]&&_0x54a336['push']([_0x33fdc9]),_0x39304f[_0x2fa01c(0x1c4)](this['_injector'],_0x39304f[_0x2fa01c(0x1fa)](_0x54a336,(_0x1eef1a=this[_0x2fa01c(0x2cb)])==null?void 0x0:_0x1eef1a[_0x2fa01c(0x1a8)]));}[_0x5de549(0x398)](){const _0x1d16a1=_0x5de549;this['disposeWithMe'](this[_0x1d16a1(0x349)][_0x1d16a1(0x390)](_0x39304f[_0x1d16a1(0x1cf)][_0x1d16a1(0x418)],[_0x43034b])),this[_0x1d16a1(0x24e)](this[_0x1d16a1(0x349)][_0x1d16a1(0x390)](_0x39304f[_0x1d16a1(0x1cf)][_0x1d16a1(0x211)],[_0x338784]));}[_0x5de549(0x1f4)](){const _0x2555f0=_0x5de549;_0x39304f[_0x2555f0(0x452)](this[_0x2555f0(0x31d)],[[_0x1af4cc],[_0x44b1a7[_0x2555f0(0x319)]],[_0x516750],[_0x261734],[_0x44b1a7[_0x2555f0(0x315)]],[_0x2bfa89]]),this['_config'][_0x2555f0(0x455)]&&_0x39304f['touchDependencies'](this[_0x2555f0(0x31d)],[[_0x33fdc9]]);}},_0x4c9030(_0x44b1a7['UniverCollaborationClientUIPlugin'],'pluginName',_0x1dade5),_0x44b1a7[_0x5de549(0x21b)]=_0x53693c([_0x39304f[_0x5de549(0x3e1)](_0x3fe1f0[_0x5de549(0x1ab)]),_0x13208c(0x1,_0x46a3bd[_0x5de549(0x334)]),_0x13208c(0x2,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0x13208c(0x3,_0x39304f[_0x5de549(0x205)])],_0x44b1a7[_0x5de549(0x21b)]);var _0xc03d57=Object[_0x5de549(0x49f)],_0x1b004e=(_0x3df999,_0x5d5603,_0x25f6bb,_0x4ccd40)=>{for(var _0xfa5ea5=_0x4ccd40>0x1?void 0x0:_0x4ccd40?_0xc03d57(_0x5d5603,_0x25f6bb):_0x5d5603,_0x30cae6=_0x3df999['length']-0x1,_0x1dbfe6;_0x30cae6>=0x0;_0x30cae6--)(_0x1dbfe6=_0x3df999[_0x30cae6])&&(_0xfa5ea5=_0x1dbfe6(_0xfa5ea5)||_0xfa5ea5);return _0xfa5ea5;},_0x3ee60e=(_0x217cb7,_0x14f25e)=>(_0x5c2b3e,_0x31fa64)=>_0x14f25e(_0x5c2b3e,_0x31fa64,_0x217cb7);_0x44b1a7['BrowserCollaborationSocketService']=class extends _0x3fe1f0['CollaborationSocketService']{constructor(_0x355588,_0x5ef208,_0x30a48a,_0x12a4e8,_0x10b2bd){super(_0x355588,_0x5ef208,_0x30a48a,_0x12a4e8,_0x10b2bd);}async[_0x5de549(0x1c8)](_0x519145){const _0x12df93=_0x5de549,_0x5347c1=await this['_getSessionTicket'](),_0x582d17=this[_0x12df93(0x3a7)](_0x519145,_0x5347c1);return this[_0x12df93(0x1f5)](_0x582d17);}['_createSocketURL'](_0xbc9b45,_0x5ade35){const _0x546c21=_0x5de549,_0x2f90a0=typeof window>'u'?new URL(_0xbc9b45):new URL(_0xbc9b45,window[_0x546c21(0x457)]['origin']);_0x2f90a0[_0x546c21(0x3ce)]['set'](_0x546c21(0x1ee),_0x5ade35);const _0x408a83=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x546c21(0x48d)]);return _0x408a83[_0x546c21(0x1c0)](_0x546c21(0x428))&&_0x2f90a0[_0x546c21(0x3ce)][_0x546c21(0x361)](_0x546c21(0x428),_0x408a83[_0x546c21(0x1c0)](_0x546c21(0x428))),_0x2f90a0['toString']();}async[_0x5de549(0x2bc)](){const _0x487afd=_0x5de549;var _0x2d2241,_0x4de4fc,_0x4cb55c;const _0x3b8ae0=this[_0x487afd(0x20f)][_0x487afd(0x47f)](_0x3fe1f0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x283e1d=(_0x2d2241=_0x3b8ae0==null?void 0x0:_0x3b8ae0['wsSessionTicketUrl'])!=null?_0x2d2241:_0x3fe1f0[_0x487afd(0x1f7)];return(_0x4cb55c=(_0x4de4fc=(await this[_0x487afd(0x40f)][_0x487afd(0x1c0)](_0x283e1d,{'headers':{'Content-Type':_0x487afd(0x466)}}))[_0x487afd(0x20e)])==null?void 0x0:_0x4de4fc['ticket'])!=null?_0x4cb55c:'';}},_0x44b1a7['BrowserCollaborationSocketService']=_0x1b004e([_0x3ee60e(0x0,_0x39304f['Inject'](_0x39304f['Injector'])),_0x3ee60e(0x1,_0x39304f[_0x5de549(0x356)](_0x4e0fb2[_0x5de549(0x469)])),_0x3ee60e(0x2,_0x39304f['IConfigService']),_0x3ee60e(0x3,_0x39304f[_0x5de549(0x25e)]),_0x3ee60e(0x4,_0x560361[_0x5de549(0x4a8)])],_0x44b1a7[_0x5de549(0x3dc)]);var _0x596e83=Object[_0x5de549(0x49f)],_0xe44d28=(_0x531ff5,_0x2dac1b,_0x4d96ec,_0x52ec5e)=>{const _0x52d9e3=_0x5de549;for(var _0x4aae2f=_0x52ec5e>0x1?void 0x0:_0x52ec5e?_0x596e83(_0x2dac1b,_0x4d96ec):_0x2dac1b,_0x27e07e=_0x531ff5[_0x52d9e3(0x3b7)]-0x1,_0x4014d1;_0x27e07e>=0x0;_0x27e07e--)(_0x4014d1=_0x531ff5[_0x27e07e])&&(_0x4aae2f=_0x4014d1(_0x4aae2f)||_0x4aae2f);return _0x4aae2f;},_0x2b5778=(_0x225c71,_0x518d67)=>(_0x45ba7b,_0x28f9cd)=>_0x518d67(_0x45ba7b,_0x28f9cd,_0x225c71);_0x44b1a7[_0x5de549(0x446)]=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x1694d9,_0x36112b,_0x536998){const _0x509258=_0x5de549;super(),this['_instanceService']=_0x1694d9,this[_0x509258(0x40f)]=_0x36112b,this[_0x509258(0x20f)]=_0x536998;}async[_0x5de549(0x395)](_0x2addc0,_0x16ee4c,_0x302d1b,..._0x53ef91){const _0x3d8e43=_0x5de549;var _0xe08d3d,_0x12e47d,_0x53d692,_0x285287;const _0x48e4c2=this['_instanceService'][_0x3d8e43(0x3ae)]();if(!_0x48e4c2)throw new Error(_0x3d8e43(0x49d));const _0x4ceca7=((_0xe08d3d=this[_0x3d8e43(0x20f)][_0x3d8e43(0x47f)](_0x3fe1f0['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xe08d3d:_0x3fe1f0['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2addc0+_0x3d8e43(0x2a4)+_0x16ee4c,_0x19e7e3=new URL(window['location']['href']),_0x4abfb9={'scriptId':_0x2addc0,'runId':(_0x12e47d=_0x19e7e3[_0x3d8e43(0x3ce)][_0x3d8e43(0x1c0)](_0x3d8e43(0x428)))!=null?_0x12e47d:'','function':_0x16ee4c,'unitId':_0x48e4c2[_0x3d8e43(0x41e)](),'argsOfFunction':JSON['stringify'](_0x53ef91),'invokeId':(_0x53d692=_0x302d1b[_0x3d8e43(0x49c)])!=null?_0x53d692:'','executionId':(_0x285287=_0x302d1b[_0x3d8e43(0x3b5)])!=null?_0x285287:''};try{const _0x318230=await this[_0x3d8e43(0x40f)][_0x3d8e43(0x2b8)](_0x4ceca7,{'body':_0x4abfb9});return _0x318230['body']['error']&&_0x318230[_0x3d8e43(0x20e)][_0x3d8e43(0x2ee)]['code']!==_0x277c13['OK']?'Failed':_0x318230['body'][_0x3d8e43(0x3e5)];}catch{return'Failed';}}},_0x44b1a7['RemoteUniscriptService']=_0xe44d28([_0x2b5778(0x0,_0x39304f[_0x5de549(0x2cc)]),_0x2b5778(0x1,_0x39304f[_0x5de549(0x356)](_0x4e0fb2['HTTPService'])),_0x2b5778(0x2,_0x39304f[_0x5de549(0x205)])],_0x44b1a7[_0x5de549(0x446)]);const _0x13780e=0x7530,_0x3e2726=_0x5de549(0x1f8);class _0x55eb3c extends _0x39304f[_0x5de549(0x1ba)]{constructor(){const _0x46c6b3=_0x5de549;super(),_0x41fabe(this,_0x46c6b3(0x2c8),_0x39304f[_0x46c6b3(0x26d)]()),_0x41fabe(this,_0x46c6b3(0x39f),new Set()),_0x41fabe(this,_0x46c6b3(0x437),new Map()),_0x41fabe(this,_0x46c6b3(0x3f8),null),_0x41fabe(this,_0x46c6b3(0x2eb),new Map()),_0x41fabe(this,'_unitStatus',new Map()),this['_init']();}[_0x5de549(0x2c3)](){const _0x44108d=_0x5de549;super[_0x44108d(0x2c3)](),this[_0x44108d(0x2eb)][_0x44108d(0x22a)]((_0x298182,_0x4ce0b5)=>this[_0x44108d(0x26b)](_0x4ce0b5)),this[_0x44108d(0x3f8)]&&window[_0x44108d(0x24d)](this[_0x44108d(0x3f8)]);}[_0x5de549(0x332)](_0x461314){const _0x1d7467=_0x5de549;return this[_0x1d7467(0x32a)](_0x461314)[_0x1d7467(0x498)](_0x404575[_0x1d7467(0x393)]());}[_0x5de549(0x42b)](_0x303a47){const _0x1aa934=_0x5de549;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1aa934(0x26c)](_0x303a47),this[_0x1aa934(0x373)]({'type':0x0,'memberID':this[_0x1aa934(0x2c8)],'unitIDs':[_0x303a47],'isForwarded':!0x1});}['disposeUnit'](_0x2182bb){const _0x47ca30=_0x5de549;this[_0x47ca30(0x39f)][_0x47ca30(0x421)](_0x2182bb),this['_selfUnitIDs'][_0x47ca30(0x1ae)]===0x0&&this[_0x47ca30(0x3f8)]&&window['clearInterval'](this[_0x47ca30(0x3f8)]);}[_0x5de549(0x48f)](){const _0x161035=_0x5de549;this['disposeWithMe'](_0x39304f[_0x161035(0x391)](_0x404575[_0x161035(0x2de)](window,_0x161035(0x3dd))['subscribe'](_0x2e1448=>{const _0x586850=_0x161035;if(_0x2e1448[_0x586850(0x1aa)]!==_0x3e2726||!_0x2e1448[_0x586850(0x32b)])return;const _0x11d679=JSON[_0x586850(0x48a)](_0x2e1448['newValue']);this[_0x586850(0x495)](_0x11d679);}))),window[_0x161035(0x34d)](_0x161035(0x226),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x161035(0x1bf)](this[_0x161035(0x39f)])}));}[_0x5de549(0x495)](_0x20dfc4){const _0x53e8eb=_0x5de549;switch(_0x20dfc4['type']){case 0x0:this[_0x53e8eb(0x36b)](_0x20dfc4);break;case 0x1:this[_0x53e8eb(0x347)](_0x20dfc4);break;case 0x2:this[_0x53e8eb(0x32d)](_0x20dfc4);break;}}[_0x5de549(0x36b)](_0x28512c){const _0x3fc83a=_0x5de549,{unitIDs:_0x3f2d64,memberID:_0x3d4b1f,isForwarded:_0x3d43ef}=_0x28512c;_0x3f2d64[_0x3fc83a(0x22a)](_0x17cdea=>{const _0x14bf4a=_0x3fc83a;if(!_0x3d43ef&&this[_0x14bf4a(0x437)][_0x14bf4a(0x3f7)](_0x17cdea)&&this[_0x14bf4a(0x32a)](_0x17cdea)[_0x14bf4a(0x345)](_0x3fe1f0[_0x14bf4a(0x1e8)][_0x14bf4a(0x237)]),!this[_0x14bf4a(0x437)][_0x14bf4a(0x3f7)](_0x17cdea)||!this[_0x14bf4a(0x437)][_0x14bf4a(0x1c0)](_0x17cdea)['has'](_0x3d4b1f)){const _0x3355ab=this[_0x14bf4a(0x437)][_0x14bf4a(0x1c0)](_0x17cdea)||new Set();_0x3355ab[_0x14bf4a(0x26c)](_0x3d4b1f),this[_0x14bf4a(0x437)][_0x14bf4a(0x361)](_0x17cdea,_0x3355ab),this['_scheduleClearOtherTimer'](_0x3d4b1f);}}),_0x3d43ef||this[_0x3fc83a(0x373)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3fc83a(0x39f)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x275457){const _0xd48f44=_0x5de549;this[_0xd48f44(0x26b)](_0x275457);const _0x75ff0b=window[_0xd48f44(0x338)](()=>{const _0x178dd7=_0xd48f44;this[_0x178dd7(0x437)][_0x178dd7(0x22a)](_0x1c34c5=>{_0x1c34c5['delete'](_0x275457);});},_0x13780e*0x2);this['_clearOtherTimers'][_0xd48f44(0x361)](_0x275457,_0x75ff0b);}[_0x5de549(0x26b)](_0x3f8741){const _0x12bb70=_0x5de549;if(this[_0x12bb70(0x2eb)][_0x12bb70(0x3f7)](_0x3f8741)){const _0x34a8e3=this['_clearOtherTimers']['get'](_0x3f8741);_0x34a8e3&&window[_0x12bb70(0x3e9)](_0x34a8e3),this[_0x12bb70(0x2eb)][_0x12bb70(0x361)](_0x3f8741,null);}}[_0x5de549(0x347)](_0xaa8649){const _0x578c32=_0x5de549,{memberID:_0x2f97ec,unitIDs:_0x178157}=_0xaa8649;_0x178157['forEach'](_0x577486=>{const _0x5702f4=_0x48a1;var _0x55b5c4;const _0x296cd4=this['_unitOnClients'][_0x5702f4(0x1c0)](_0x577486);_0x296cd4&&(_0x296cd4[_0x5702f4(0x421)](_0x2f97ec),(_0x55b5c4=this[_0x5702f4(0x32a)](_0x577486))==null||_0x55b5c4[_0x5702f4(0x345)](_0x296cd4['size']===0x0?_0x3fe1f0['UnitStatus'][_0x5702f4(0x449)]:_0x3fe1f0['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x578c32(0x26b)](_0x2f97ec);}[_0x5de549(0x32d)](_0x3f05f4){const _0x20f25b=_0x5de549;this[_0x20f25b(0x2d8)](_0x3f05f4[_0x20f25b(0x210)]);}[_0x5de549(0x373)](_0x5a0ca5){localStorage['setItem'](_0x3e2726,JSON['stringify'](_0x5a0ca5));}[_0x5de549(0x41b)](){const _0x206322=_0x5de549;this[_0x206322(0x3f8)]=window[_0x206322(0x37c)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x13780e);}[_0x5de549(0x32a)](_0x531b08){const _0x291cd1=_0x5de549;return this[_0x291cd1(0x1a9)][_0x291cd1(0x3f7)](_0x531b08)||this['_unitStatus'][_0x291cd1(0x361)](_0x531b08,new _0x404575['BehaviorSubject'](_0x3fe1f0[_0x291cd1(0x1e8)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x291cd1(0x1a9)][_0x291cd1(0x1c0)](_0x531b08);}}_0x44b1a7[_0x5de549(0x26a)]=_0x4d8922,_0x44b1a7[_0x5de549(0x44f)]=_0x3ed0a,_0x44b1a7[_0x5de549(0x474)]=_0x55eb3c,_0x44b1a7[_0x5de549(0x2d0)]=_0x12ecfd,Object[_0x5de549(0x412)](_0x44b1a7,Symbol[_0x5de549(0x36d)],{'value':'Module'});}));function _0x48a1(_0x3ec77b,_0x2f799c){_0x3ec77b=_0x3ec77b-0x1a4;const _0xe03509=_0xe035();let _0x48a183=_0xe03509[_0x3ec77b];return _0x48a183;}function _0xe035(){const _0x514721=['getColor','bottom','_id','_scene','UniverCore','_config','IUniverInstanceService','AWAITING','isTransformMutationsWithChangesetSuccess','_collaborationSessionService','WebURLService','filename','_range','TEXT_RANGE_LAYER_INDEX','complete','requireSession','38uXbool','[LogService\x20Error]:\x20','_scheduleClearOtherTimer','dirtyRanges','MOBILE_VERIFY_CODE_MISMATCH','UPDATE_CURSOR','event$','getUndoRedoMutationParamsCache','fromEvent','_cachedData','univer-flex\x20univer-items-center','getActiveSheet','AWAITING_WITH_PENDING','IUIPartsService','UniverDocsUi','RegularPolygon','_localCacheService','FromArray','_status$','rxjs','formula.calculation.waiting','_clearOtherTimers','_drawAnchor','UNDEFINED','error','FETCH_MISS','YUUMI_ALL_TABLES_IS_INVALID','isEditing','onPointerEnter$','path','RichTextEditingMutation','1em','operators','EffectRefRangId','then','getCurrentSelections','INVALID_INVITE_CODE','unitId','YUUMI_UNABLE_LOAD_URL','onCommandExecuted','@univerjs/rpc','_docSyncEditingCollabCursorService','IImageIoService','substring','getColorFromTheme','getCurrentRevOfUnit','imageSourceType','endColumn','UNAUTHENTICATED','setAlpha','getSheetId','map','_uiPartsService','DocSkeletonManagerService','colorChannel1','getSkeleton','docStateChange$','IBeforeCloseService','_localStorageService','@univerjs/sheets-ui','entityInit$','use','_setFormulaLimitStatus','CollaborationDataLoaderController','min','_docSkeletonManagerService','currentSkeleton$','DesktopCollaborationStatusDisplayController','activeSheet$','fillStyle','_dataLoaderService','_injector','collaboration.closeRoom','0\x200\x2016\x2016','restore','_urlService','urlChange$','IMessageService','LOGIN_TOKEN_PROCESSING_FAILED','DisposableCollection','CLOSE_ROOM','OFFLINE','type','CollaborationStatus','_ensureSubject','newValue','saveTaskMap','_handleHeartbeatEvent','triggerDblclick','saveOfflineData','subUnitId','TOO_MANY_REQUESTS','getUnitStatus$','_themeService','IRenderManagerService','getCurrent','idSuffix','UniverSheets','setTimeout','_handleHover','transformSelections','SetSelectionsOperation','useObservable','CollaborationUIEventId','_commandService','_context','ENTITLE_CHAT_LIMIT_EXCEED','_getFormulaLimitStatus','transformIMECache','_initUnhandledRejectionListener','_docSkeleton','next','_onCursorDelete','_handleLeaveEvent','_render','_renderManagerService','_saveCache','exhaustSavingTask','sessionStatus$','addEventListener','_toggleOnline','some','getParam','connectInjector','OTHER_CLIENT_EDITING','limitInfo','_startDocCollabCursor','totalFormulasToCalculate','Inject','getLocalCacheKey','CanceledError','div','3542600xJygBe','fillText','ENTITLE_COUPON_EXPIRED','ENTITLE_DUP_SUBSCRIPTION','roomMembers$','_cursorInfo$','_entities','set','ENTITLE_INSUFFICIENT_QUOTA','PENDING','getTypeOfUnitAdded$','getCoordByCell','SheetSkeletonManagerService','row','selection','_removeCollabCursors','_backgroundColor','_handleJoinEvent','code','toStringTag','PY_RUNTIME_SCRIPT_ERROR','...','Warning','@univerjs-pro/collaboration','isArray','_send','setParam','M0\x200H16V16H0z','_roomMembers$','collaboration.single-unit.warning','updateOfflineData','CURRENT_STATUS_CANNOT_OPERATE','InsertRangeMoveRightCommandId','YUUMI_RATE_OVER_LIMIT','setInterval','transformMutation','ITransformService','isFormulaString','selections','height','currentTheme$','whenReady','_monkeyPatchLogService','Error','YUUMI_URL_COL_OUT_OF_RANGE','takeUntil','measureText','url(#off-line-icon_clip0_910_343)','NodePositionConvertToCursor','ENTITLE_REPORT_LIMIT_EXCEED','EMAIL_HAS_BEEN_BOUND','show','subscribe','setUndoRedoMutationParamsCache','registerRenderModule','toDisposable','white','distinctUntilChanged','merge','runOnServer','IDocClipboardService','MUTATION','_registerRenderDependencies','6XetXdA','REDEMPTION_CODE_FULLY_REDEEMED','collaboration.offline-data-not-saved','Rect','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initUserListener','_selfUnitIDs','ranges','getOffsetConfig','INVALID_ARGUMENT','INTERNAL_ERROR','_lastPointer','getCollabEntity$','START_CALCULATION','_createSocketURL','_assignedColors','PAYMENT_CHANNEL_NOT_SUPPORT','CONNECTOR_DATA_TOO_LARGE','deepClone','collab-rect-range-','CONFLICT','getFocusedUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','join','_docStateChangeManagerService','startsWith','@univerjs/drawing','\x20at\x20','executionId','uni.network.url-service','length','_drawRectRange','SHEET_VIEWPORT_KEY','getMergeData','round','APPLY_NON_SEQUENTIAL_REVISION','displayName','history','ICommandService','_cursorShapes','_localeService','MOBILE_HAS_BEEN_BOUND','drawWith','transformMutationsWithChangeset','USER_NOT_INVITED_CODE','bind','unit','_anchorDot','addHandlerCallback','setItem','url(#$1','_initEntityListener','_initCommandInterceptor','searchParams','popstate','pushState','useDependency','Tooltip','off-line-icon','_beforeCloseService','handleIRemoveRow','width','cursorInfo','saveImage','exports','getAncestorScale','formula.calculation.started','BrowserCollaborationSocketService','storage','COLORS','_setupSubUnitSync','syncEditingCollabCursor','DependentOn','setShapeProps','xlink:href','UniverDrawing','result','_draw','_entityInit$','_docTransformStateCacheService','clearTimeout','ENTITLE_INVALID_COUPON_CODE','getCollabCursors$','off-line-icon_clip0_910_343','React','handleDeleteRangeMoveUp','onStarting','toRgbString','transformByState','eventID','FormulaExecuteStageType','LocaleService','MemberService','REDEMPTION_INVALID_CODE','has','_heartbeatTimer','subscribeEvent','_getScale','throttleTime','getValue','isTransformMutationFailure','evenodd','onPointerMove$','entries','/universer-api/frontend/logs','fill','_transformService','mutations','UniverNetwork','16806gYtOTL','APPLY_DUPLICATED','DATA_SOURCE_TOO_LARGE','clsx','_cursor','USER_IS_ANONYMOUS','registerComponent','HEADER_MENU','MoveRangeCommandId','_httpService','includes','_lastResponseTimestamp','defineProperty','_memberService','getTypeOfUnitDisposed$','getSheetObject','/universer-api/license/formula/limit/status','defIds','UNIVER_DOC','InsertColCommandId','stageInfo','_scheduleHeartbeat','enableLocalCache','Plugin','getUnitId','socket$','blue.400','delete','_session','RxDisposable','rxjs/operators','getRelativeToViewportCoord','UNRECOGNIZED','react/jsx-runtime','runId','LICENSE_IMPORT_SIZE_EXCEEDED','disableLocalCache','editingUnit','actions','getRangePointData','backgroundColor','unitID','_toggleOffline','DOC_RANGE_TYPE','_refRangeService','COMPLETION_FINISHED','SessionStatus','parseInt','_color','_unitOnClients','3582780XfDNln','@univerjs/docs','_logService','loadOfflineData','isFormulaId','ONLINE','PERMISSION_DENIED','ISocketService','_getSheetObject','_initResize','_drawTextRange','ILocalCacheService','transformStateCache','USER_NOT_FOUND','RemoteUniscriptService','YUUMI_SUBSCRIPTION_NOT_FOUND','params','NO_OTHER_CLIENTS_EDITING','contains','_onCursorUpdate','maxFormulaLimit','push','_checkCalculationAvailable','SheetCollabCursorShape','univerjs-icon\x20univerjs-icon-','Shape','touchDependencies','isActive','attrs','enableFrontendLog','_updateSubUnitFromURLParams','location','RevisionService','LOCAL_CACHE_INTERVAL_KEY','_syncEditingCollabCursorService','debug','_uploadLog','CHANGESET_REVISION_CONFILICT','createElement','arc','jsx','setStateCache','REDEMPTION_CODE_INACTIVE','defs','getActiveRange','_hideTimer','application/json','_currentUsage','addObject','HTTPService','currentColor','_getAnchorBounding','random','LOGIN_FAILED','transformRemoteChangeset','split','lineTo','YUUMI_AI_RUN_FAILED','_startSheetCollabCursor','_imageIoService','WebBrowserSingleActiveUnitService','NOT_COLLAB','doc.mutation.rich-text-editing','color','on-line-icon','findNodePositionByCharIndex','catch','UniverDocs','_name','_eventUnsubscribe','removeEventListener','getConfig','jiqing.500','yellow.400','init','tag','debounce','sheetID','_collabCursorState$','IRemoteInstanceService','SetTextSelectionsOperation','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','parse','_revisionService','DocStateChangeManagerService','search','now','_init','Unknown\x20user','ENSURE_SNAPSHOT_EXECUTION','toString','unhandledrejection','YUUMI_CONNECTOR_URL_NOT_FOUND','_handleEvent','ALREADY_EXISTS','children','pipe','SNAPSHOT_INVALID_SNAPSHOT','TEXT','CollaborationUIEventService','invokeId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','@univerjs/design','getOwnPropertyDescriptor','collabStatus.conflict','_updateCollabCursors','closePath','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','USERS_LEAVE','[Unhandled\x20Rejection]:\x20','#FFF','ISnapshotServerService','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','fromEventSubject','_updateURLWithCurrentState','[CollaborationDataLoaderController]','startRow','override','_unitStatus','key','UniverCollaborationClientPlugin','_registerDependencies','DeleteRangeMoveUpCommandId','size','getMemberID','SetFormulaCalculationStartMutation','RECT','flatMap','reconnect','_initStatusListener','UniverProCollaborationClient','collab-text-anchor-','_online','_memberID','endRow','Disposable','NOT_FOUND','makeDirty','collab-text-range-','stage','from','get','ERROR_AGAIN','unsubscribe','message','registerDependencies','_collabCursorController','filter','_colorAssignService','createSocket','handleMoveRange','_hover','handleInsertRow','NodePositionConvertToRectRange','string','DocCollaborationEntity','UniverInstanceType','/universer-api/license/formula/limit/done','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getVpScrollXYInfoByPosToVp','AUTHORIZE_CODE_ILLEGAL','/universer-api/license/formula/limit/start','top','_disabled','m1Prime','save','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationEvent','session.connection-failed','_updateLocalCursor','replace','getMember','REDEMPTION_USER_REDEEM_TIMES_EXCEED','m2Prime','_getMergeRange','formula.calculation.unable','@univerjs/docs-ui','OnLineIcon','6509889OWujhq','getDocRanges','_hasFormulaInDirtyRanges','UnitStatus','_hovered','onLocalMutation','_transformUndoRedoStack','Tools','SNAPSHOT_HAS_BEEN_REMOVED','sessionTicket','SetDocZoomRatioOperation','getCellMatrix','ILocalStorageService','_releaseCalculationLimit','SOCKET_FAILED_RETRY','_initDependencies','_doCreateSocket','range','DEFAULT_WS_SESSION_TICKET_URL','ACTIVE_UNIT_EVENT_CHANNEL','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','mergeOverrideWithDependencies','fillRule','collabStatus.fetchMiss','_collaborationController','@univerjs/engine-formula','LICENSE_DISTRO_REJECTED','send','_transformHistoryAndStateStack','react','labelPosition','SheetsSelectionsService','IConfigService','_labelPosition','DataLoaderService','CommandType','ENTITLE_CAN_NOT_BUY_LOWER_OTP','handleDeleteRangeMoveLeft','SUBMIT_CHANGESET_TIMEOUT','DocSelectionManagerService','jsxs','body','_configService','memberID','UNIVER_SHEET','hide','UniverProCollaboration','@univerjs/network','_taskIds','collabStatus.syncing','0\x200\x2017\x2016','reason','registerRefRange','getRenderById','UniverCollaborationClientUIPlugin','FormulaExecutedStateType','onPointerLeave$','object','assignAColorForMemberID','collabStatus.offline','createIdentifier','undoState','releaseFormulaLimitUrl','5443844DxUaeI','textRanges','unload','_applyCommand','RefRangeService','_setupBeforeClosingHandler','forEach','REDEMPTION_CODE_HAS_BEEN_CREATED','_textBubble','_messageService','all','CollaborationSessionService','stringify','name','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','url(#on-line-icon_clip0_910_349)','forwardRef','INVITE_CODE_REQUIRED','WebSocketService','OTHER_CLIENTS_EDITING','onRendered','getUnhiddenWorksheets','_initEvent','purple.300','APPLY_PERMISSION_DENIED','stack','_docTransformIMECacheService','moveTo','status$','dispose$','MessageType','session.will-retry','YUUMI_ASYNCIO_CANCELLED','onMouseMove','LICENSE_EXPORT_SIZE_EXCEEDED','debounceTime','SUCCESS','ENTITLE_COUPON_USED_UP','Vector2','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Optional','clearInterval','disposeWithMe','_collabSessionService','_collaborationUIEventService','RemoveRowCommandId','beginPath','ColorKit','permission.content','InsertRangeMoveDownCommandId','@univerjs/core','permission.title','APPLY_REVISION_CONFILICT','beforeCommandExecuted','APPLY_REJECT','BehaviorSubject','_anchor','href','ILogService','3703021xAPbgu','black','getStateCache','WECHAT_HAS_BEEN_BOUND','VIEW_MAIN','SetWorksheetActivateCommand','registerBeforeClose','_scheduleSaving','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collab-client.tooltip.reconnect','UniverSheetsUi','IURLService','_removeClearOtherTimer','add','generateRandomId','_univerInstanceService','source','EMAIL_VERIFY_CODE_MISMATCH','_sheetSkeletonManagerService','hovered','currentUsage','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','executeCommand','collabStatus.synced','symbol','DocIMEInputManagerService','REDEMPTION_CODE_NOT_STARTED','trim','useRef','_maxFormulaLimit','handleInsertCol','replaceState','UniverProCollaborationClientUi','skeleton','@univerjs/engine-render','unshift','assign','REDEMPTION_USER_NOT_ELIGIBLE','lineno','startColumn','switchMap','_saveTaskMap','sheetId','subunit','_initWindowErrorListener','_checkAndWaitForCalculationPermission','CollaborationController','session.collaboration-timeout','text','_shapes','handleInsertRangeMoveRight','mask','redoState','_getSaveTimeout','_refreshCollabCursors','getSheetBySheetId','ThemeService','data','Loading','SetFormulaCalculationNotificationMutation','RemoveColCommandId','focused$','?taskId=','with','_pollingInterval','setActiveRange','svg','OffLineIcon','column','/run/','SYNCED','asObservable','ENTITLE_USE_COUPON_NOT_1ST_TRADE','roomMembers','http://www.w3.org/2000/svg','collabStatus.notCollab','INVITE_CODE_ALREADY_BOUND','_initCommandExecutedListener','_cursors','getformulaLimitStatusUrl','cursorInfo$','removeParam','759260kWJjFy','UniverDesign','handleIRemoveCol','ENTITLE_NEED_BILLING_ADDRESS','@univerjs-pro/collaboration-client','Workbook','rgba(255,\x20255,\x20255,\x200.01)','post','getUniverSheetInstance','values','Success','_getSessionTicket','Injector','_onRefRangeChange','_clearPolling','UniverRpc','collabCursorState$','_colorIndex','dispose','@univerjs/ui','max'];_0xe035=function(){return _0x514721;};return _0xe035();}
|
|
8
|
+
function _0xd951(_0x3e2f78,_0x29cae3){_0x3e2f78=_0x3e2f78-0x1be;const _0x509803=_0x5098();let _0xd9510b=_0x509803[_0x3e2f78];return _0xd9510b;}function _0x5098(){const _0x3c2b3a=['collabStatus.offline','LOCAL_CACHE_INTERVAL','onCommandExecuted','SHEET_VIEWPORT_KEY','show','WebURLService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','createElement','setActiveRange','runRefRangeMutations','_applyCommand','_docTransformIMECacheService','_updateURLWithCurrentState','some','CollaborationUIEventId','DocSelectionManagerService','isTransformMutationFailure','_injector','_range','_hideTimer','stage','status$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','children','min','getCollabCursors$','TEXT_RANGE_LAYER_INDEX','reconnect','whenReady','height','registerRenderModule','entityInit$','useRef','map','_selfUnitIDs','source','_updateLocalCursor','_removeClearOtherTimer','DeleteRangeMoveUpCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','urlChange$','_render','UNIVER_DOC','LOCAL_CACHE_INTERVAL_KEY','connectInjector','createIdentifier','EffectRefRangId','_scene','set','eventID','add','split','Shape','all','debounceTime','fillRule','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_getSessionTicket','CLOSE_ROOM','getRelativeToViewportCoord','_docTransformSelectionsService','CollaborationEvent','PENDING','univerjs-icon\x20univerjs-icon-','EMAIL_VERIFY_CODE_MISMATCH','toDisposable','resize','_unitStatus','_setupSubUnitSync','_initDependencies','ticket','_beforeCloseService','_config','YUUMI_RATE_OVER_LIMIT','RECT','isTransformMutationsWithChangesetSuccess','getVpScrollXYInfoByPosToVp','_drawTextRange','data','Module','_memberService','UniverDesign','ALREADY_EXISTS','_memberID','handleIRemoveCol','_httpService','UniverDocsUi','ISocketService','UniverCore','getCellPositionByOffset','distinctUntilChanged','Loading','@univerjs/sheets-ui','CURRENT_STATUS_CANNOT_OPERATE','Plugin','assignAColorForMemberID','getOwnPropertyDescriptor','isFormulaString','IBeforeCloseService','round','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_PERMISSION_DENIED','enableLocalCache','CollaborationStatus','/universer-api/frontend/logs','Vector2','values','onPointerEnter$','blue.400','docStateChange$','lineTo','endColumn','error','TOO_MANY_REQUESTS','location','currentSkeleton$','replace','_urlService','ENTITLE_COUPON_USED_UP','_sheetSkeletonManagerService','startsWith','off-line-icon_clip0_910_343','_univerInstanceService','_onCursorDelete','41184pbxaDL','_pollingInterval','collabCursorState$','_status$','_onRefRangeChange','black','subunit','@univerjs/ui','origin','DependentOn','send','_docSyncEditingCollabCursorService','_textBubble','getDocRanges','MemberService','transformSelections','cursorInfo$','getFocusedUnit','_collabCursorController','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toRgbString','dispose','m2Prime','DisposableCollection','focused$','InsertRangeMoveDownCommandId','hide','setUndoRedoMutationParamsCache','clsx','_instanceService','deepClone','UnitStatus','collabStatus.fetchMiss','IMessageService','getActiveSheet','_refreshCollabCursors','APPLY_REVISION_CONFILICT','getCellMatrix','getSheetBySheetId','\x20at\x20','_docSkeletonManagerService','formula.calculation.started','collabStatus.syncing','collabStatus.notCollab','[Window\x20Error]:\x20','Subject','UNAUTHENTICATED','DeleteRangeMoveLeftCommandId','init','_startDocCollabCursor','_commandService','13HHySZA','RemoteUniscriptService','getUnitStatus$','ENTITLE_DUP_SUBSCRIPTION','_getMergeRange','YUUMI_NO_CUBOID_FOR_QUESTION','_currentUsage','setInterval','_transformUndoRedoStack','_hover','toStringTag','ColorKit','transformMutationsWithChangeset','syncEditingCollabCursor','_handleJoinEvent','getRenderById','mapTo','permission.content','createSocket','reason','throttleTime','_id','Unknown\x20user','setItem','_name','_handleHeartbeatEvent','SetDocZoomRatioOperation','RxDisposable','fillText','@univerjs-pro/collaboration-client','_collabSessionService','rgba(255,\x20255,\x20255,\x200.01)','now','InsertRangeMoveRightCommandId','ISnapshotServerService','Optional','LICENSE_MAX_UNITS_EXCEEDED','undoState','_docClipboardService','DocSkeletonManagerService','SUBMIT_CHANGESET_TIMEOUT','PY_RUNTIME_SCRIPT_ERROR','transformRemoteChangeset','green.600','@univerjs/engine-formula','@univerjs/sheets','_docSkeleton','permission.title','YUUMI_UNABLE_LOAD_URL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','endRow','transformStateCache','collaboration.closeRoom','HEADER_MENU','clearTimeout','switchMap','_notificationService','SNAPSHOT_HAS_BEEN_REMOVED','assign','imageSourceType','/universer-api/license/formula/limit/done','_syncEditingCollabCursorService','_drawRectRange','/run/','_anchorDot','Disposable','sessionTicket','SOCKET_FAILED_RETRY','popstate','423SnGbxk','react/jsx-runtime','ThemeService','arc','IURLService','RichTextEditingMutation','stageInfo','AWAITING_WITH_PENDING','find','actions','_clearPolling','_online','_handleLeaveEvent','SetFormulaCalculationStartMutation','REDEMPTION_CODE_NOT_STARTED','getCurrentRevOfUnit','with','getUniverSheetInstance','_transformPreviousActiveRange','ENTITLE_COUPON_EXPIRED','handleInsertRangeMoveDown','http://www.w3.org/2000/svg','post','LOGIN_TOKEN_PROCESSING_FAILED','jsxs','REDEMPTION_USER_NOT_ELIGIBLE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','isArray','_startCalculationLimit','font','_startSheetCollabCursor','[Unhandled\x20Rejection]:\x20','0\x200\x2017\x2016','UniverProCollaborationClient','application/json','getAncestorScale','_logService','catch','shift','socket$','WECHAT_HAS_BEEN_BOUND','_imageIoService','unload','@univerjs/network','_labelPosition','getMember','addObjects','ILogService','_collaborationSessionService','url(#off-line-icon_clip0_910_343)','Tools','ENTITLE_NEED_BILLING_ADDRESS','contains','_toggleOnline','restore','_checkAndWaitForCalculationPermission','exhaustSavingTask','rxjs','transform','dirtyRanges','Success','collaboration-client-ui.config','collabStatus.conflict','@univerjs/design','Injector','4200192dUyIbO','Error','_collaborationUIEventService','SOCKET_FAILED','INVITE_CODE_HAS_BEEN_UES','search','LICENSE_DISTRO_REJECTED','_scheduleClearOtherTimer','drawWith','size','unhandledrejection','_anchor','enableFrontendLog','sheetId','SetSelectionsOperation','getMergeData','formula.calculation.unable','collaboration.offline-data-not-saved','ITransformService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','doc.mutation.rich-text-editing','getTypeOfUnitDisposed$','executeCommand','MOBILE_VERIFY_CODE_MISMATCH','includes','DOC_RANGE_TYPE','_initEntityListener','_localStorageService','takeUntil','_maxFormulaLimit','REDEMPTION_CODE_FULLY_REDEEMED','m1Prime','unitId','subUnitId','unsubscribe','_eventUnsubscribe','UPDATE_CURSOR','CONFLICT','SetTextSelectionsOperation','MoveRangeCommandId','_lastResponseTimestamp','OffLineIcon','selection','_init','RegularPolygon','body','UniverCollaborationClientPlugin','closePath','fromEvent','from','_releaseCalculationLimit','trim','INTERNAL_ERROR','loadOfflineData','amd','red.300','_roomMembers$','color','subscribe','combineLatest','current','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_initWindowErrorListener','_draw','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','saveOfflineData','getCurrentUnitForType','releaseFormulaLimitUrl','fill','getCurrent','_transformService','length','defs','Rect','[CollaborationDataLoaderController]','setShapeProps','_taskIds','collaboration.single-unit.warning','deserializeRangeWithSheet','onRendered','runId','UniverIcon','UniverSheets','unshift','APPLY_DUPLICATED','_clearOtherTimers','event$','_refRangeService','flatMap','params','text','UniverUi','registerComponent','width','history','YUUMI_ALL_TABLES_IS_INVALID','_setFormulaLimitStatus','get','onPointerMove$','startFormulaLimitUrl','getViewport','function','InsertRowCommandId','getMemberID','getItem','OnLineIcon','Workbook','activeSheet$','yellow.400','BuiltInUIPart','react','UNDEFINED','_renderManagerService','addObject','redoState','_cursors','colorChannel1','removeParam','_initUserListener','textRanges','asObservable','univer-mr-2\x20univer-flex\x20univer-text-xl','YUUMI_ASYNCIO_CANCELLED','ranges','transformIMECache','hovered','RevisionService','onMouseMove','href','_saveTaskMap','_getFormulaLimitStatus','disableLocalCache','_uiPartsService','UniverSheetsUi','handleInsertRangeMoveRight','ONLINE','getActiveRange','substring','xlink:href','@univerjs/core','key','TEXT','string','setConfig','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_saveCache','NOT_COLLAB','stack','SNAPSHOT_INVALID_SNAPSHOT','touchDependencies','replaceState','INVALID_ARGUMENT','currentColor','makeDirty','fromEventSubject','startRow','debounce','registerBeforeClose','div','bottom','BehaviorSubject','FormulaExecutedStateType','0\x200\x2016\x2016','_disabled','displayName','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','invokeId','engine','setStateCache','jsx','moveTo','USER_NOT_INVITED_CODE','override','addHandlerCallback','getUnhiddenWorksheets','findNodePositionByCharIndex','setAlpha','getSheetObject','ILocalCacheService','idSuffix','getConfig','translate(.97)','_messageService','mask','on-line-icon_clip0_910_349','join','on-line-icon','REDEMPTION_INVALID_CODE','DocCollaborationEntity','_checkCalculationAvailable','_backgroundColor','complete','1em','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_assignedColors','delete','subscribeEvent','off-line-icon','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_REJECT','session.collaboration-timeout','_initResize','_localCacheService','has','parse','createInstance','ENSURE_SNAPSHOT_EXECUTION','_themeService','forEach','UniverEngineRender','uni.network.url-service','_dataLoaderService','updateOfflineData','NodePositionConvertToRectRange','[LogService\x20Error]:\x20','functionsExecutedState','UNRECOGNIZED','MessageType','_scheduleSaving','ENTITLE_INSUFFICIENT_QUOTA','addEventListener','getSkeleton','CollaborationSessionService','_send','114YzTssk','_drawAnchor','startColumn','UniverInstanceType','_getSaveTimeout','FormulaExecuteStageType','merge','MOBILE_HAS_BEEN_BOUND','clipPath','_initCommandExecutedListener','596540TASByU','removeEventListener','CollaborationController','sessionStatus$','IConfigService','ENTITLE_INVALID_COUPON_CODE','symbol','_cursorInfo$','_getScale','...','33006eySUYm','UniverCollaborationClientUIPlugin','UniverNetwork','svg','useDependency','_uploadLog','_heartbeatTimer','138068EgwACc','173250slbiPT','transformMutation','_scheduleHeartbeat','LICENSE_IMPORT_SIZE_EXCEEDED','skeleton','2235832Niblkg','DocIMEInputManagerService','IRenderManagerService','IImageIoService','APPLY_NON_SEQUENTIAL_REVISION','roomMembers','limitInfo','_updateCollabCursors','code','getSheetId','SetWorksheetActivateCommand','CONNECTOR_DATA_TOO_LARGE','UniverEngineFormula','BrowserCollaborationSocketService','registerRefRange','M0\x200H16V16H0z','_onCursorUpdate','_colorAssignService','getCoordByCell','RemoveColCommandId','DocStateChangeManagerService','getCurrentSelections','REDEMPTION_CODE_INACTIVE','DesktopCollaborationStatusDisplayController','currentUsage','_initCommandInterceptor','unitID','parseInt','NOT_FOUND','USER_IS_ANONYMOUS','UNIVER_SHEET','onPointerLeave$','useCallback','SetFormulaCalculationNotificationMutation','_getSheetObject','then','debug','range','_doCreateSocket','_localeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CHANGESET_REVISION_CONFILICT','_handleHover','_createSocketURL','UniverDrawing','UniverRpc','RemoveRowCommandId','COMPLETION_FINISHED','shareReplay','NO_OTHER_CLIENTS_EDITING','HTTPService','VIEW_MAIN','name','url(#on-line-icon_clip0_910_349)','IDocClipboardService','_entityInit$','_unitOnClients','collab-rect-range-','_cursorShapes','FromArray','_session','editingUnit','disposeWithMe','triggerDblclick','stringify','bind','random','getColorFromTheme','evenodd','getStateCache','@univerjs/docs-ui','fillStyle','_collaborationController','ERROR_AGAIN','mutations','jiqing.500','UniverProCollaborationClientUi','transformByState','attrs','_removeCollabCursors','exports','getColor','_ensureSubject','_colorIndex','_context','next','_configService','generateRandomId','entries','_hovered','save','pushState','_monkeyPatchLogService','getLocalCacheKey','replaceDocRanges','row','OFFLINE','SheetsSelectionsService','_lastPointer','_entities','memberID','#FFF','IUniverInstanceService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DATA_SOURCE_TOO_LARGE','_getAnchorBounding','_docTransformStateCacheService','CommandType','INVALID_INVITE_CODE','CollaborationSocketService','_toggleOffline','_shapes','UniverDocs','_setupBeforeClosingHandler','push','WebBrowserSingleActiveUnitService','getParam','COLORS','column','Failed','beginPath','PAYMENT_CHANNEL_NOT_SUPPORT','YUUMI_AI_RUN_FAILED','_showGuardMessage','runOnServer','_updateSubUnitFromURLParams','_docStateChangeManagerService','searchParams','totalFormulasToCalculate','dispose$','type','CollaborationDataLoaderController','/universer-api/license/formula/limit/status','currentTheme$','collab-text-anchor-','_handleEvent','YUUMI_URL_COL_OUT_OF_RANGE','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','YUUMI_SUBSCRIPTION_NOT_FOUND','OTHER_CLIENTS_EDITING','FETCH_MISS','_transformHistoryAndStateStack','_initStatusComponent','backgroundColor','/universer-api/license/formula/limit/start','setTimeout','getUnitId','tag','@univerjs-pro/collaboration','saveTaskMap','defineProperty','object','_initStatusListener','_cursor','maxFormulaLimit','path','isActive','measureText','_document','_registerRenderDependencies','ICommandService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','executionId','_revisionService','useObservable','message','getTypeOfUnitAdded$','YUUMI_CONNECTOR_URL_NOT_FOUND','React','LOGIN_FAILED','white','saveImage','_hasFormulaInDirtyRanges','EMAIL_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','pipe','_cachedData','cursorInfo','REDEMPTION_CODE_HAS_BEEN_CREATED','_collabCursorState$','url(#$1','USER_NOT_FOUND','roomMembers$','JOIN_ROOM_FAILED','LocaleService','getValue','LICENSE_EXPORT_SIZE_EXCEEDED','toString','none','_color','PERMISSION_DENIED','Inject','INotificationService','ENTITLE_CHAT_LIMIT_EXCEED'];_0x5098=function(){return _0x3c2b3a;};return _0x5098();}(function(_0x287316,_0x5b1030){const _0xc1aa93=_0xd951,_0x173688=_0x287316();while(!![]){try{const _0x5e5873=-parseInt(_0xc1aa93(0x3ef))/0x1*(parseInt(_0xc1aa93(0x271))/0x2)+-parseInt(_0xc1aa93(0x3bc))/0x3+parseInt(_0xc1aa93(0x27e))/0x4+-parseInt(_0xc1aa93(0x267))/0x5+parseInt(_0xc1aa93(0x25d))/0x6*(parseInt(_0xc1aa93(0x278))/0x7)+parseInt(_0xc1aa93(0x475))/0x8+-parseInt(_0xc1aa93(0x434))/0x9*(parseInt(_0xc1aa93(0x279))/0xa);if(_0x5e5873===_0x5b1030)break;else _0x173688['push'](_0x173688['shift']());}catch(_0x19e397){_0x173688['push'](_0x173688['shift']());}}}(_0x5098,0x487b8),function(_0x57b525,_0x273d66){const _0x31a82e=_0xd951;typeof exports==_0x31a82e(0x315)&&typeof module<'u'?_0x273d66(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==_0x31a82e(0x1e2)&&define[_0x31a82e(0x4ab)]?define([_0x31a82e(0x2ce),_0x31a82e(0x435),_0x31a82e(0x40c),_0x31a82e(0x208),_0x31a82e(0x3c3),'rxjs',_0x31a82e(0x473),_0x31a82e(0x1eb),'@univerjs/rpc',_0x31a82e(0x41c),'@univerjs/engine-render',_0x31a82e(0x45f),_0x31a82e(0x2c4),'@univerjs/drawing',_0x31a82e(0x312),'@univerjs/docs',_0x31a82e(0x41b),'rxjs/operators',_0x31a82e(0x39c)],_0x273d66):(_0x57b525=typeof globalThis<'u'?globalThis:_0x57b525||self,_0x273d66(_0x57b525[_0x31a82e(0x2ca)]={},_0x57b525[_0x31a82e(0x326)],_0x57b525[_0x31a82e(0x455)],_0x57b525[_0x31a82e(0x398)],_0x57b525[_0x31a82e(0x1d8)],_0x57b525[_0x31a82e(0x46d)],_0x57b525[_0x31a82e(0x391)],_0x57b525['React'],_0x57b525[_0x31a82e(0x2ab)],_0x57b525[_0x31a82e(0x1cf)],_0x57b525[_0x31a82e(0x24e)],_0x57b525[_0x31a82e(0x273)],_0x57b525[_0x31a82e(0x396)],_0x57b525[_0x31a82e(0x2aa)],_0x57b525['UniverProCollaboration'],_0x57b525[_0x31a82e(0x2ee)],_0x57b525[_0x31a82e(0x28a)],_0x57b525['rxjs']['operators'],_0x57b525[_0x31a82e(0x202)]));}(this,function(_0x40352c,_0x13857f,_0x3958ea,_0x40624a,_0x8e6f8f,_0x5b38f4,_0x4e15c3,_0xd4880e,_0xd8d89c,_0x411621,_0x2680b3,_0x42d795,_0x118be2,_0x39a6e5,_0x2c324c,_0x3f3b23,_0x100a4f,_0x23a207,_0x383790){'use strict';const _0x295e11=_0xd951;var _0x52273e=Object[_0x295e11(0x314)],_0x1ef35f=(_0x5532b3,_0xd23dcd,_0x5194f6)=>_0xd23dcd in _0x5532b3?_0x52273e(_0x5532b3,_0xd23dcd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5194f6}):_0x5532b3[_0xd23dcd]=_0x5194f6,_0x9020b=(_0x19606b,_0x2cf3a6,_0x43941c)=>_0x1ef35f(_0x19606b,typeof _0x2cf3a6!=_0x295e11(0x26d)?_0x2cf3a6+'':_0x2cf3a6,_0x43941c);function _0x131739({ref:_0xca56b2,..._0x76c429}){const _0x376ae8=_0x295e11,{icon:_0x85921,id:_0x360fe0,className:_0x1a9603,extend:_0x16bfad,..._0xac3fef}=_0x76c429,_0x1301a7=(_0x376ae8(0x37f)+_0x360fe0+'\x20'+(_0x1a9603||''))[_0x376ae8(0x4a8)](),_0x2a7704=_0xd4880e[_0x376ae8(0x360)]('_'+_0x4a4889());return _0x39d872(_0x85921,''+_0x360fe0,{'defIds':_0x85921['defIds'],'idSuffix':_0x2a7704[_0x376ae8(0x4b1)]},{'ref':_0xca56b2,'className':_0x1301a7,..._0xac3fef},_0x16bfad);}function _0x39d872(_0xb6893a,_0x2d2188,_0xb6e0a2,_0x470ea3,_0x3f876c){const _0x2eb4a0=_0x295e11;return _0xd4880e[_0x2eb4a0(0x347)](_0xb6893a['tag'],{'key':_0x2d2188,..._0x4a7ab4(_0xb6893a,_0xb6e0a2,_0x3f876c),..._0x470ea3},(_0x3b45e4(_0xb6893a,_0xb6e0a2)[_0x2eb4a0(0x357)]||[])[_0x2eb4a0(0x361)]((_0x3c3a8f,_0xf1c516)=>_0x39d872(_0x3c3a8f,_0x2d2188+'-'+_0xb6893a[_0x2eb4a0(0x311)]+'-'+_0xf1c516,_0xb6e0a2,void 0x0,_0x3f876c)));}function _0x4a7ab4(_0x1e8845,_0x6642f6,_0x472910){const _0x2289af=_0x295e11,_0x41dcf0={..._0x1e8845['attrs']};_0x472910!=null&&_0x472910['colorChannel1']&&_0x41dcf0[_0x2289af(0x1c1)]===_0x2289af(0x1f1)&&(_0x41dcf0[_0x2289af(0x1c1)]=_0x472910[_0x2289af(0x1f1)]),_0x1e8845[_0x2289af(0x311)]===_0x2289af(0x234)&&_0x41dcf0['id']&&(_0x41dcf0['id']=_0x41dcf0['id']+_0x6642f6['idSuffix']),Object[_0x2289af(0x2d6)](_0x41dcf0)[_0x2289af(0x24d)](([_0xcb21f,_0x16c5ac])=>{const _0x577462=_0x2289af;_0xcb21f===_0x577462(0x234)&&typeof _0x16c5ac==_0x577462(0x20b)&&(_0x41dcf0[_0xcb21f]=_0x16c5ac['replace'](/url\(#(.*)\)/,'url(#$1'+_0x6642f6['idSuffix']+')'));});const {defIds:_0x5d9336}=_0x6642f6;return!_0x5d9336||_0x5d9336[_0x2289af(0x1c4)]===0x0||(_0x1e8845[_0x2289af(0x311)]==='use'&&_0x41dcf0['xlink:href']&&(_0x41dcf0[_0x2289af(0x207)]=_0x41dcf0['xlink:href']+_0x6642f6[_0x2289af(0x230)]),Object['entries'](_0x41dcf0)[_0x2289af(0x24d)](([_0x29a382,_0x6b1f68])=>{const _0x5ce6b7=_0x2289af;typeof _0x6b1f68==_0x5ce6b7(0x20b)&&(_0x41dcf0[_0x29a382]=_0x6b1f68[_0x5ce6b7(0x3b4)](/url\(#(.*)\)/,_0x5ce6b7(0x332)+_0x6642f6[_0x5ce6b7(0x230)]+')'));})),_0x41dcf0;}function _0x3b45e4(_0x57adee,_0x20b1ae){const _0x47902b=_0x295e11;var _0x124c7f;const {defIds:_0x25813d}=_0x20b1ae;return!_0x25813d||_0x25813d[_0x47902b(0x1c4)]===0x0?_0x57adee:_0x57adee['tag']===_0x47902b(0x1c5)&&((_0x124c7f=_0x57adee[_0x47902b(0x357)])!=null&&_0x124c7f[_0x47902b(0x1c4)])?{..._0x57adee,'children':_0x57adee['children'][_0x47902b(0x361)](_0x498124=>typeof _0x498124[_0x47902b(0x2cc)]['id']==_0x47902b(0x20b)&&_0x25813d&&_0x25813d[_0x47902b(0x48d)](_0x498124[_0x47902b(0x2cc)]['id'])?{..._0x498124,'attrs':{..._0x498124[_0x47902b(0x2cc)],'id':_0x498124[_0x47902b(0x2cc)]['id']+_0x20b1ae['idSuffix']}}:_0x498124)}:_0x57adee;}function _0x4a4889(){const _0x70cca9=_0x295e11;return Math[_0x70cca9(0x2c0)]()[_0x70cca9(0x339)](0x24)[_0x70cca9(0x206)](0x2,0x8);}_0x131739[_0x295e11(0x221)]=_0x295e11(0x1ce);const _0x5901d5={'tag':_0x295e11(0x274),'attrs':{'xmlns':_0x295e11(0x449),'fill':_0x295e11(0x33a),'viewBox':_0x295e11(0x21f),'width':_0x295e11(0x23d),'height':_0x295e11(0x23d)},'children':[{'tag':'g','attrs':{'clipPath':_0x295e11(0x465)},'children':[{'tag':_0x295e11(0x319),'attrs':{'stroke':_0x295e11(0x215),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x295e11(0x1c5),'attrs':{},'children':[{'tag':_0x295e11(0x265),'attrs':{'id':_0x295e11(0x3b9)},'children':[{'tag':_0x295e11(0x319),'attrs':{'fill':'white','d':_0x295e11(0x28d)}}]}]}],'defIds':[_0x295e11(0x3b9)]},_0x5590f2=_0xd4880e['forwardRef'](function(_0x4f8aa6,_0x36dca2){const _0xa355de=_0x295e11;return _0xd4880e[_0xa355de(0x347)](_0x131739,Object[_0xa355de(0x429)]({},_0x4f8aa6,{'id':_0xa355de(0x242),'ref':_0x36dca2,'icon':_0x5901d5}));});_0x5590f2[_0x295e11(0x221)]=_0x295e11(0x49e);const _0xe8835b={'tag':'svg','attrs':{'xmlns':_0x295e11(0x449),'fill':'none','viewBox':_0x295e11(0x454),'width':_0x295e11(0x23d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x295e11(0x2b3)},'children':[{'tag':_0x295e11(0x319),'attrs':{'stroke':_0x295e11(0x215),'d':_0x295e11(0x4b6),'strokeLinecap':_0x295e11(0x3a3),'strokeLinejoin':_0x295e11(0x3a3),'strokeWidth':1.2}}]},{'tag':_0x295e11(0x1c5),'attrs':{},'children':[{'tag':_0x295e11(0x265),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x295e11(0x319),'attrs':{'fill':_0x295e11(0x328),'d':_0x295e11(0x28d),'transform':_0x295e11(0x232)}}]}]}],'defIds':[_0x295e11(0x235)]},_0x52040c=_0xd4880e['forwardRef'](function(_0x2250c3,_0x43e22f){const _0x53fe98=_0x295e11;return _0xd4880e[_0x53fe98(0x347)](_0x131739,Object['assign']({},_0x2250c3,{'id':_0x53fe98(0x237),'ref':_0x43e22f,'icon':_0xe8835b}));});_0x52040c[_0x295e11(0x221)]=_0x295e11(0x1e6);function _0x2f1c0b(_0x1ffd1e){const _0x51dc1a=_0x295e11;switch(_0x1ffd1e){case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x2de)]:return _0x51dc1a(0x340);case _0x3958ea[_0x51dc1a(0x3a7)]['CONFLICT']:return _0x51dc1a(0x472);case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x30a)]:return _0x51dc1a(0x3dc);case _0x3958ea[_0x51dc1a(0x3a7)]['NOT_COLLAB']:return _0x51dc1a(0x3e7);case _0x3958ea['CollaborationStatus']['AWAITING']:case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x43b)]:return _0x51dc1a(0x3e6);case _0x3958ea[_0x51dc1a(0x3a7)]['SYNCED']:case _0x3958ea[_0x51dc1a(0x3a7)][_0x51dc1a(0x37e)]:return'collabStatus.synced';}}function _0xcd213(_0x1b6a2c){const _0x2bc7f5=_0x295e11,{status$:_0x436ae1}=_0x1b6a2c,_0x495ca0=_0x8e6f8f[_0x2bc7f5(0x322)](_0x436ae1,_0x3958ea['CollaborationStatus'][_0x2bc7f5(0x20f)]),_0x340eec=_0x8e6f8f['useDependency'](_0x40624a[_0x2bc7f5(0x336)]),_0x5cfd52=_0x8e6f8f[_0x2bc7f5(0x275)](_0x3958ea[_0x2bc7f5(0x25b)]),_0x3d8e3b=_0x495ca0!==_0x3958ea[_0x2bc7f5(0x3a7)]['OFFLINE'],_0x482001=_0x340eec['t'](_0x2f1c0b(_0x495ca0)),_0x164598=_0x3d8e3b?_0x13857f[_0x2bc7f5(0x226)](_0x52040c,{}):_0x13857f[_0x2bc7f5(0x226)](_0x5590f2,{}),_0x13c59d=_0xd4880e[_0x2bc7f5(0x29e)](()=>{const _0x38d741=_0x2bc7f5;_0x3d8e3b||_0x5cfd52[_0x38d741(0x35b)]();},[_0x3d8e3b,_0x5cfd52]);function _0x2e0147(){const _0xb30c2d=_0x2bc7f5;return _0x13857f[_0xb30c2d(0x44c)](_0xb30c2d(0x21b),{'className':'univer-flex\x20univer-items-center','onClick':_0x13c59d,'children':[_0x13857f[_0xb30c2d(0x226)](_0xb30c2d(0x21b),{'className':_0x4e15c3[_0xb30c2d(0x3d8)](_0xb30c2d(0x1f6),{'univer-text-green-500':_0x3d8e3b,'univer-text-red-500':!_0x3d8e3b}),'children':_0x164598}),_0x13857f[_0xb30c2d(0x226)]('div',{'className':_0xb30c2d(0x2a6),'children':_0x482001})]});}return _0x3d8e3b?_0x2e0147():_0x13857f[_0x2bc7f5(0x226)](_0x4e15c3['Tooltip'],{'title':_0x340eec['t']('collab-client.tooltip.reconnect'),'children':_0x2e0147()});}var _0x12011b=Object[_0x295e11(0x3a0)],_0x168c30=(_0x2ae7c1,_0xd94130,_0x39c76e,_0x9fb07e)=>{const _0x548137=_0x295e11;for(var _0x1022bb=_0x9fb07e>0x1?void 0x0:_0x9fb07e?_0x12011b(_0xd94130,_0x39c76e):_0xd94130,_0x35bcdb=_0x2ae7c1[_0x548137(0x1c4)]-0x1,_0x258a3c;_0x35bcdb>=0x0;_0x35bcdb--)(_0x258a3c=_0x2ae7c1[_0x35bcdb])&&(_0x1022bb=_0x258a3c(_0x1022bb)||_0x1022bb);return _0x1022bb;},_0x1e8573=(_0x43b099,_0x25030e)=>(_0x7067a,_0x705bdc)=>_0x25030e(_0x7067a,_0x705bdc,_0x43b099);_0x40352c['DesktopCollaborationStatusDisplayController']=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x391501,_0x5997cb,_0x5e9bdb,_0xbc69da){const _0x53a496=_0x295e11;super(),_0x9020b(this,'_status$',new _0x5b38f4['BehaviorSubject'](_0x3958ea[_0x53a496(0x3a7)][_0x53a496(0x20f)])),(this[_0x53a496(0x3ba)]=_0x391501,this[_0x53a496(0x351)]=_0x5997cb,this['_collaborationController']=_0x5e9bdb,this[_0x53a496(0x201)]=_0xbc69da,this[_0x53a496(0x30c)](),this['_initStatusListener']());}[_0x295e11(0x316)](){const _0x32a44f=_0x295e11;this[_0x32a44f(0x2bc)](this[_0x32a44f(0x3ba)][_0x32a44f(0x3d4)][_0x32a44f(0x32d)](_0x5b38f4[_0x32a44f(0x426)](()=>{const _0x1b9a06=_0x32a44f,_0x2517cd=this[_0x1b9a06(0x3ba)][_0x1b9a06(0x3cd)]();return _0x2517cd?this[_0x1b9a06(0x2c6)]['getCollabEntity$'](_0x2517cd[_0x1b9a06(0x310)]()):_0x5b38f4['of'](null);}),_0x5b38f4['switchMap'](_0x4ca2fe=>_0x4ca2fe?_0x4ca2fe[_0x32a44f(0x355)]:_0x5b38f4['of'](_0x3958ea[_0x32a44f(0x3a7)]['NOT_COLLAB'])))[_0x32a44f(0x4af)](_0x253c97=>{const _0x1dbc8e=_0x32a44f;this[_0x1dbc8e(0x3bf)][_0x1dbc8e(0x2d3)](_0x253c97);}));}[_0x295e11(0x30c)](){const _0x54a419=_0x295e11;this[_0x54a419(0x2bc)](this[_0x54a419(0x201)][_0x54a419(0x1d9)](_0x8e6f8f[_0x54a419(0x1ea)][_0x54a419(0x424)],()=>_0x8e6f8f[_0x54a419(0x36c)](_0x41185c({'status$':this['_status$'][_0x54a419(0x1f5)]()}),this['_injector'])));}},_0x40352c[_0x295e11(0x295)]=_0x168c30([_0x1e8573(0x0,_0x40624a[_0x295e11(0x2e4)]),_0x1e8573(0x1,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1e8573(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x269)])),_0x1e8573(0x3,_0x8e6f8f['IUIPartsService'])],_0x40352c[_0x295e11(0x295)]);function _0x41185c(_0x52c9ae){const {status$:_0x44ad9c}=_0x52c9ae;return function(){return _0x13857f['jsx'](_0xcd213,{'status$':_0x44ad9c});};}const _0x6adebe=_0x40624a[_0x295e11(0x36d)](_0x295e11(0x24f));var _0x42923e=Object[_0x295e11(0x3a0)],_0x2a106a=(_0x1e7ffc,_0x5503fa,_0x5cc529,_0xde3492)=>{const _0x214063=_0x295e11;for(var _0x5c6e79=_0xde3492>0x1?void 0x0:_0xde3492?_0x42923e(_0x5503fa,_0x5cc529):_0x5503fa,_0x1307ae=_0x1e7ffc[_0x214063(0x1c4)]-0x1,_0x76634d;_0x1307ae>=0x0;_0x1307ae--)(_0x76634d=_0x1e7ffc[_0x1307ae])&&(_0x5c6e79=_0x76634d(_0x5c6e79)||_0x5c6e79);return _0x5c6e79;},_0x592fe8=(_0x4dc3cd,_0x2b9a45)=>(_0x553803,_0x22066f)=>_0x2b9a45(_0x553803,_0x22066f,_0x4dc3cd);_0x40352c[_0x295e11(0x301)]=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1b2fa9,_0x3c9bd7,_0x3bc1d3,_0x38a27a,_0x531ae1){const _0x17777a=_0x295e11;super(),this[_0x17777a(0x3b5)]=_0x1b2fa9,this[_0x17777a(0x458)]=_0x3c9bd7,this[_0x17777a(0x3ee)]=_0x3bc1d3,this['_dataLoaderService']=_0x38a27a,_0x531ae1?_0x531ae1==null||_0x531ae1[_0x17777a(0x35c)]()[_0x17777a(0x2a1)](()=>this[_0x17777a(0x4a0)]()):(this[_0x17777a(0x458)][_0x17777a(0x2a2)](_0x17777a(0x1c7),_0x17777a(0x44e)),this[_0x17777a(0x4a0)]());}async['_init'](){const _0x4ce2cd=_0x295e11,_0x4492e0=this['_urlService'][_0x4ce2cd(0x2f2)]('unit'),_0x52bd08=this[_0x4ce2cd(0x3b5)][_0x4ce2cd(0x2f2)](_0x4ce2cd(0x300)),_0x40146a=this['_urlService'][_0x4ce2cd(0x2f2)](_0x4ce2cd(0x3c2));if(!_0x4492e0||!_0x52bd08){this['_logService'][_0x4ce2cd(0x2a2)](_0x4ce2cd(0x1c7),_0x4ce2cd(0x3a4));return;}const _0x41d800=await this[_0x4ce2cd(0x250)]['loadUnit'](_0x4492e0,Number(_0x52bd08),_0x40146a);_0x41d800&&_0x41d800 instanceof _0x40624a[_0x4ce2cd(0x1e7)]&&this[_0x4ce2cd(0x384)](_0x41d800);}async[_0x295e11(0x384)](_0x562653){const _0x461bd0=_0x295e11;await this['_updateSubUnitFromURLParams'](_0x562653),_0x562653[_0x461bd0(0x1e8)]['pipe'](_0x5b38f4[_0x461bd0(0x491)](this[_0x461bd0(0x2ff)]))[_0x461bd0(0x4af)](_0xcfca4f=>{const _0x25c174=_0x461bd0;_0xcfca4f&&this[_0x25c174(0x34c)](_0xcfca4f);}),this[_0x461bd0(0x3b5)][_0x461bd0(0x368)][_0x461bd0(0x32d)](_0x5b38f4[_0x461bd0(0x491)](this['dispose$']))[_0x461bd0(0x4af)](()=>this[_0x461bd0(0x2fb)](_0x562653));}[_0x295e11(0x34c)](_0x114e33,_0x41669a=!0x1){const _0x84637e=_0x295e11,_0xe85f69=this[_0x84637e(0x3b5)]['getParam'](_0x84637e(0x3c2));_0x114e33['getSheetId']()!==_0xe85f69&&this[_0x84637e(0x3b5)]['setParam']('subunit',_0x114e33[_0x84637e(0x287)](),_0x41669a);}async['_updateSubUnitFromURLParams'](_0x26aece){const _0x2c758e=_0x295e11;var _0x5bad2b;const _0x1690ab=this['_urlService']['getParam']('subunit');if(!_0x1690ab||!_0x26aece['getSheetBySheetId'](_0x1690ab)){const _0x5e1680=_0x26aece[_0x2c758e(0x22b)]()[0x0],_0x5b2d25=_0x26aece[_0x2c758e(0x3e2)](_0x5e1680);if(!_0x5b2d25)return;this[_0x2c758e(0x34c)](_0x5b2d25,!0x0),await this[_0x2c758e(0x3ee)][_0x2c758e(0x48b)](_0x411621[_0x2c758e(0x288)]['id'],{'unitId':_0x26aece['getUnitId'](),'subUnitId':_0x5e1680});return;}((_0x5bad2b=_0x26aece[_0x2c758e(0x3de)]())==null?void 0x0:_0x5bad2b['getSheetId']())!==_0x1690ab&&await this[_0x2c758e(0x3ee)][_0x2c758e(0x48b)](_0x411621[_0x2c758e(0x288)]['id'],{'unitId':_0x26aece[_0x2c758e(0x310)](),'subUnitId':_0x1690ab});}},_0x40352c[_0x295e11(0x301)]=_0x2a106a([_0x592fe8(0x0,_0x6adebe),_0x592fe8(0x1,_0x40624a['ILogService']),_0x592fe8(0x2,_0x40624a[_0x295e11(0x31e)]),_0x592fe8(0x3,_0x40624a['Inject'](_0x3958ea['DataLoaderService'])),_0x592fe8(0x4,_0x40624a[_0x295e11(0x412)](_0xd8d89c['IRemoteInstanceService']))],_0x40352c[_0x295e11(0x301)]);var _0x3d1fbf=Object[_0x295e11(0x3a0)],_0x23df43=(_0x2c8cd8,_0x4dfc0f,_0x1078d4,_0x2a945f)=>{const _0x4c0641=_0x295e11;for(var _0x31108d=_0x2a945f>0x1?void 0x0:_0x2a945f?_0x3d1fbf(_0x4dfc0f,_0x1078d4):_0x4dfc0f,_0x3d14b5=_0x2c8cd8[_0x4c0641(0x1c4)]-0x1,_0x2d7fb9;_0x3d14b5>=0x0;_0x3d14b5--)(_0x2d7fb9=_0x2c8cd8[_0x3d14b5])&&(_0x31108d=_0x2d7fb9(_0x31108d)||_0x31108d);return _0x31108d;},_0x52f7c2=(_0x22a71c,_0x40e784)=>(_0x13c049,_0x1fe269)=>_0x40e784(_0x13c049,_0x1fe269,_0x22a71c);let _0x47f626=class extends _0x40624a['RxDisposable']{constructor(_0x302379,_0xcd4b90){const _0x3f6b21=_0x295e11;super(),this[_0x3f6b21(0x415)]=_0x302379,this['_imageIoService']=_0xcd4b90,this[_0x3f6b21(0x4a0)]();}['_init'](){const _0x55319d=_0x295e11,_0x1ab0a9=this;this[_0x55319d(0x2bc)](this[_0x55319d(0x415)]['addClipboardHook']({'onBeforePasteImage':async _0x277c93=>{const _0x3910a2=_0x55319d,_0x49c372=await _0x1ab0a9[_0x3910a2(0x45d)][_0x3910a2(0x329)](_0x277c93);return _0x49c372?{'source':_0x49c372[_0x3910a2(0x363)],'imageSourceType':_0x49c372[_0x3910a2(0x42a)]}:null;}}));}};_0x47f626=_0x23df43([_0x52f7c2(0x0,_0x118be2[_0x295e11(0x2b4)]),_0x52f7c2(0x1,_0x39a6e5[_0x295e11(0x281)])],_0x47f626);const _0x5a4b3c=['purple.300',_0x295e11(0x2c9),_0x295e11(0x41a),_0x295e11(0x4ac),_0x295e11(0x3ac),_0x295e11(0x1e9)];class _0x2d4f99 extends _0x40624a[_0x295e11(0x430)]{constructor(){const _0x4bea10=_0x295e11;super(...arguments),_0x9020b(this,'_assignedColors',new Map()),_0x9020b(this,_0x4bea10(0x2d1),0x0);}[_0x295e11(0x39f)](_0x244c72){const _0x516272=_0x295e11;if(this[_0x516272(0x23f)][_0x516272(0x248)](_0x244c72))return this[_0x516272(0x23f)][_0x516272(0x1de)](_0x244c72);const _0x1a80ba=_0x5a4b3c[this[_0x516272(0x2d1)]];return this[_0x516272(0x2d1)]=(this[_0x516272(0x2d1)]+0x1)%_0x5a4b3c[_0x516272(0x1c4)],this['_assignedColors']['set'](_0x244c72,_0x1a80ba),_0x1a80ba;}}function _0x102844(_0x17dfa0){const _0x5ebeb7=_0x295e11;let _0xf102be='';for(const _0x21d1f8 of _0x17dfa0){const {startOffset:_0x4f2170,endOffset:_0x129770,isActive:_0x4d8e89,rangeType:_0x40628c,segmentId:_0x50c7ae,segmentPage:_0x12f649}=_0x21d1f8;_0xf102be[_0x5ebeb7(0x1c4)]&&(_0xf102be+=','),_0xf102be+=_0x4f2170+':'+_0x129770+':'+(_0x4d8e89?'1':'0')+':'+_0x40628c+':'+_0x50c7ae+':'+_0x12f649;}return _0xf102be;}function _0x58bff3(_0x51a700){const _0x1bf0df=_0x295e11,_0x21e4a0=_0x51a700[_0x1bf0df(0x373)](','),_0x1311e2=[];for(const _0x12e62a of _0x21e4a0){const [_0x4be033,_0x207bb7,_0x5c1387,_0x6963c9,_0x35316c,_0x2d12cd]=_0x12e62a[_0x1bf0df(0x373)](':');_0x1311e2[_0x1bf0df(0x2f0)]({'startOffset':Number(_0x4be033),'endOffset':Number(_0x207bb7),'collapsed':_0x4be033===_0x207bb7,'isActive':_0x5c1387==='1','rangeType':_0x6963c9===_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x20a)]?_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x20a)]:_0x40624a['DOC_RANGE_TYPE'][_0x1bf0df(0x38a)],'segmentId':typeof _0x35316c==_0x1bf0df(0x20b)?String(_0x35316c):'','segmentPage':Number(_0x2d12cd!=null?_0x2d12cd:-0x1)});}return _0x1311e2[_0x1bf0df(0x34d)](_0x3756f2=>_0x3756f2[_0x1bf0df(0x31a)])||(_0x1311e2[0x0][_0x1bf0df(0x31a)]=!0x0),_0x1311e2;}class _0x2a125f extends _0x40624a[_0x295e11(0x40a)]{constructor(){const _0x2da0fb=_0x295e11;super(...arguments),_0x9020b(this,_0x2da0fb(0x331),new _0x5b38f4[(_0x2da0fb(0x21d))](null)),_0x9020b(this,_0x2da0fb(0x3be),this['_collabCursorState$'][_0x2da0fb(0x1f5)]());}[_0x295e11(0x3fc)](_0x9dd2f1){const _0x4c9fae=_0x295e11,{unitID:_0x231157,memberID:_0x4e6650,textRanges:_0x555a9c}=_0x9dd2f1,_0x275abd=_0x102844(_0x555a9c);if(_0x275abd==='')return;const _0x30bb1c={'unitID':_0x231157,'memberID':_0x4e6650,'selection':_0x275abd};this[_0x4c9fae(0x331)][_0x4c9fae(0x2d3)](_0x30bb1c);}}var _0x2a4222=Object[_0x295e11(0x3a0)],_0x3e0001=(_0x55520a,_0x2800cf,_0x5d7e1e,_0x2fa240)=>{const _0x1292cd=_0x295e11;for(var _0x322cbe=_0x2fa240>0x1?void 0x0:_0x2fa240?_0x2a4222(_0x2800cf,_0x5d7e1e):_0x2800cf,_0x214fd1=_0x55520a[_0x1292cd(0x1c4)]-0x1,_0x3324de;_0x214fd1>=0x0;_0x214fd1--)(_0x3324de=_0x55520a[_0x214fd1])&&(_0x322cbe=_0x3324de(_0x322cbe)||_0x322cbe);return _0x322cbe;},_0x257362=(_0x4f2bf8,_0x25dbb3)=>(_0x446402,_0xe9a420)=>_0x25dbb3(_0x446402,_0xe9a420,_0x4f2bf8);const _0x3d3736=0x12c,_0x5e6a39=0x64;let _0x3890dd=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x55503b,_0x4c0f58,_0x13026e,_0x328ad8,_0xd6fe50,_0x253ed7,_0x4c8692,_0x5c0ab0,_0x4ed639){const _0x4e266d=_0x295e11;super(),_0x9020b(this,_0x4e266d(0x43f),!0x1),_0x9020b(this,_0x4e266d(0x4a0),!0x1),_0x9020b(this,'_cursorInfo$',new _0x5b38f4['BehaviorSubject'](new Map())),_0x9020b(this,_0x4e266d(0x3cc),this['_cursorInfo$'][_0x4e266d(0x1f5)]()),_0x9020b(this,'_roomMembers$',new _0x5b38f4[(_0x4e266d(0x21d))]([])),_0x9020b(this,'roomMembers$',this['_roomMembers$'][_0x4e266d(0x32d)](_0x5b38f4[_0x4e266d(0x376)](_0x3d3736))),_0x9020b(this,_0x4e266d(0x364),_0x40624a[_0x4e266d(0x219)](_0x15702c=>{const _0x2869dd=_0x4e266d,_0x2d05d2={'eventID':_0x2c324c[_0x2869dd(0x37d)][_0x2869dd(0x499)],'data':{'unitID':this[_0x2869dd(0x298)],'memberID':this[_0x2869dd(0x2ba)][_0x2869dd(0x1e4)](),'selection':_0x102844(_0x15702c)}};this['_session'][_0x2869dd(0x3c6)](_0x2d05d2,this[_0x2869dd(0x298)]);},_0x5e6a39)),(this[_0x4e266d(0x298)]=_0x55503b,this[_0x4e266d(0x2ba)]=_0x4c0f58,this[_0x4e266d(0x351)]=_0x13026e,this[_0x4e266d(0x28f)]=_0x328ad8,this[_0x4e266d(0x390)]=_0xd6fe50,this[_0x4e266d(0x42c)]=_0x253ed7,this[_0x4e266d(0x1c3)]=_0x4c8692,this[_0x4e266d(0x3ba)]=_0x5c0ab0,this[_0x4e266d(0x3ee)]=_0x4ed639);}get[_0x295e11(0x32f)](){const _0x17382f=_0x295e11;return this['_cursorInfo$'][_0x17382f(0x337)]();}get['roomMembers'](){const _0x2631be=_0x295e11;return this[_0x2631be(0x4ad)][_0x2631be(0x337)]();}['dispose'](){const _0x3e252b=_0x295e11;super[_0x3e252b(0x3d1)](),this[_0x3e252b(0x26e)][_0x3e252b(0x2d3)](new Map()),this['_cursorInfo$'][_0x3e252b(0x23c)](),this[_0x3e252b(0x4ad)][_0x3e252b(0x2d3)]([]),this['_roomMembers$'][_0x3e252b(0x23c)]();}[_0x295e11(0x3ec)](){const _0x1edc16=_0x295e11;this[_0x1edc16(0x4a0)]||(this[_0x1edc16(0x4a0)]=!0x0,this[_0x1edc16(0x2ba)][_0x1edc16(0x26a)][_0x1edc16(0x32d)](_0x5b38f4[_0x1edc16(0x491)](this[_0x1edc16(0x2ff)]))['subscribe'](_0x4cca0c=>{const _0x7ed1b7=_0x1edc16;_0x4cca0c===_0x3958ea['SessionStatus'][_0x7ed1b7(0x204)]?this['_toggleOnline']():this[_0x7ed1b7(0x2ec)]();}),this[_0x1edc16(0x2ba)]['event$'][_0x1edc16(0x32d)](_0x5b38f4['takeUntil'](this[_0x1edc16(0x2ff)]))['subscribe'](_0x3409f3=>{const _0x2e2d6d=_0x1edc16,_0x529573=_0x3409f3[_0x2e2d6d(0x371)];_0x529573===_0x2c324c[_0x2e2d6d(0x37d)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3409f3),_0x529573===_0x2c324c[_0x2e2d6d(0x37d)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x3409f3);}),this[_0x1edc16(0x2bc)](this[_0x1edc16(0x3ee)][_0x1edc16(0x342)](_0x3bfc14=>{const _0x367677=_0x1edc16,_0x5741d1=_0x3bfc14[_0x367677(0x1d6)];_0x5741d1!=null&&this['_online']&&_0x3bfc14['id']===_0x3f3b23[_0x367677(0x49b)]['id']&&_0x5741d1['unitId']===this[_0x367677(0x298)]&&_0x5741d1['isEditing']===!0x1&&_0x5741d1['ranges'][_0x367677(0x1c4)]>0x0&&this[_0x367677(0x364)](_0x5741d1[_0x367677(0x1f8)]);})),this[_0x1edc16(0x42c)]['collabCursorState$']['pipe'](_0x5b38f4[_0x1edc16(0x491)](this[_0x1edc16(0x2ff)]))[_0x1edc16(0x4af)](_0x2a4d46=>{const _0xde30fa=_0x1edc16;if((_0x2a4d46==null?void 0x0:_0x2a4d46[_0xde30fa(0x298)])!==this[_0xde30fa(0x298)])return;const _0x901b06={'eventID':_0x2c324c['CollaborationEvent'][_0xde30fa(0x499)],'data':_0x2a4d46};this[_0xde30fa(0x28e)](_0x901b06);}),this[_0x1edc16(0x2bc)](this[_0x1edc16(0x3ee)]['onCommandExecuted'](_0x3372f4=>{const _0x3ce016=_0x1edc16;if(_0x3372f4['params']==null)return;const _0x5c9574=_0x3372f4['params'];if(_0x3372f4['id']!==_0x3f3b23[_0x3ce016(0x439)]['id']||_0x5c9574[_0x3ce016(0x495)]!==this[_0x3ce016(0x298)])return;const _0x5786b3={'id':_0x3ce016(0x489),'params':_0x5c9574},_0x4c4f43=this[_0x3ce016(0x32f)];for(const [_0x5a7712,_0x2ecd0e]of _0x4c4f43){const _0x339304={'id':_0x3ce016(0x489),'params':{'unitId':this[_0x3ce016(0x298)],'actions':null,'textRanges':_0x2ecd0e[_0x3ce016(0x1f8)]}},_0x24577b=this[_0x3ce016(0x1c3)][_0x3ce016(0x27a)](_0x5786b3,_0x339304,!0x1);if(_0x2c324c[_0x3ce016(0x350)](_0x24577b))throw _0x24577b[_0x3ce016(0x3b0)];_0x4c4f43['set'](_0x5a7712,{..._0x2ecd0e,'ranges':_0x24577b[_0x3ce016(0x3d2)][_0x3ce016(0x1d6)][_0x3ce016(0x1f4)]});}queueMicrotask(()=>{const _0x553931=_0x3ce016;this[_0x553931(0x26e)][_0x553931(0x2d3)](_0x4c4f43);});})));}[_0x295e11(0x28e)](_0x187296){const _0x3f686f=_0x295e11;var _0x4ca474,_0x52d007;const {memberID:_0x222de6,selection:_0x888b6f}=_0x187296['data'],_0x529384=_0x58bff3(_0x888b6f),_0x46197e=(_0x52d007=(_0x4ca474=this[_0x3f686f(0x390)][_0x3f686f(0x461)](this[_0x3f686f(0x298)],_0x222de6))==null?void 0x0:_0x4ca474[_0x3f686f(0x2b2)])!=null?_0x52d007:_0x3f686f(0x405),_0x29e655={'color':this[_0x3f686f(0x28f)][_0x3f686f(0x39f)](_0x222de6),'name':_0x46197e,'ranges':_0x529384},_0x1eab11=this['cursorInfo'];_0x1eab11['set'](_0x222de6,_0x29e655),this[_0x3f686f(0x26e)][_0x3f686f(0x2d3)](_0x1eab11);}[_0x295e11(0x3bb)](_0x1bc7a9){const _0x54f6ef=_0x295e11,{memberID:_0x1f34a3}=_0x1bc7a9[_0x54f6ef(0x38e)],_0x280e18=this[_0x54f6ef(0x32f)];_0x280e18[_0x54f6ef(0x240)](_0x1f34a3),this[_0x54f6ef(0x26e)][_0x54f6ef(0x2d3)](_0x280e18);}[_0x295e11(0x469)](){const _0x44e8a8=_0x295e11;var _0x736fbe;if(this['_online']=!0x0,((_0x736fbe=this[_0x44e8a8(0x3ba)][_0x44e8a8(0x3cd)]())==null?void 0x0:_0x736fbe[_0x44e8a8(0x310)]())!==this[_0x44e8a8(0x298)])return;const _0x325e34=this[_0x44e8a8(0x351)][_0x44e8a8(0x1de)](_0x3f3b23['DocSelectionManagerService'])[_0x44e8a8(0x3c9)]();Array[_0x44e8a8(0x44f)](_0x325e34)&&_0x325e34[_0x44e8a8(0x1c4)]>0x0&&this[_0x44e8a8(0x364)](_0x325e34);}[_0x295e11(0x2ec)](){const _0x3df8b6=_0x295e11;this[_0x3df8b6(0x43f)]=!0x1;}};_0x3890dd=_0x3e0001([_0x257362(0x2,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x257362(0x3,_0x40624a[_0x295e11(0x33d)](_0x2d4f99)),_0x257362(0x4,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x3ca)])),_0x257362(0x5,_0x40624a[_0x295e11(0x33d)](_0x2a125f)),_0x257362(0x6,_0x2c324c[_0x295e11(0x487)]),_0x257362(0x7,_0x40624a[_0x295e11(0x2e4)]),_0x257362(0x8,_0x40624a[_0x295e11(0x31e)])],_0x3890dd);var _0x4f6ccc=Object[_0x295e11(0x3a0)],_0x41cedf=(_0x4f145a,_0x397679,_0x1be8c2,_0x5174c2)=>{const _0x1cba3e=_0x295e11;for(var _0x8a633=_0x5174c2>0x1?void 0x0:_0x5174c2?_0x4f6ccc(_0x397679,_0x1be8c2):_0x397679,_0x556b21=_0x4f145a[_0x1cba3e(0x1c4)]-0x1,_0x1b4ab6;_0x556b21>=0x0;_0x556b21--)(_0x1b4ab6=_0x4f145a[_0x556b21])&&(_0x8a633=_0x1b4ab6(_0x8a633)||_0x8a633);return _0x8a633;},_0x1b052f=(_0x53d015,_0x570139)=>(_0x1c6c6b,_0x12287d)=>_0x570139(_0x1c6c6b,_0x12287d,_0x53d015);const _0x5b2ea1=0x12c,_0x1f1062=0x64,_0x5e4f08=()=>{let _0xb95cd2=[],_0x9b5be1=!0x1;return _0x53a938=>{const _0x4b227d=_0xd951;_0xb95cd2[_0x4b227d(0x2f0)](_0x53a938),_0x9b5be1||(_0x9b5be1=!0x0,setTimeout(()=>{const _0x38c4d2=_0x4b227d;_0xb95cd2[_0x38c4d2(0x24d)](_0x198d60=>_0x198d60()),_0xb95cd2=[],_0x9b5be1=!0x1;}));};};let _0x523ec5=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x53a2aa,_0x24400c,_0x3f2398,_0x2540fd,_0x54a51d,_0xd0d4ed,_0x2b9b4e,_0x5eabde){const _0x4de1b5=_0x295e11;super(),_0x9020b(this,_0x4de1b5(0x43f),!0x1),_0x9020b(this,_0x4de1b5(0x4a0),!0x1),_0x9020b(this,'_cursorInfo$',new _0x5b38f4[(_0x4de1b5(0x21d))](new Map())),_0x9020b(this,_0x4de1b5(0x3cc),this[_0x4de1b5(0x26e)]['asObservable']()),_0x9020b(this,'_roomMembers$',new _0x5b38f4['BehaviorSubject']([])),_0x9020b(this,_0x4de1b5(0x334),this[_0x4de1b5(0x4ad)][_0x4de1b5(0x32d)](_0x5b38f4[_0x4de1b5(0x376)](_0x5b2ea1))),_0x9020b(this,'_updateLocalCursor',_0x40624a[_0x4de1b5(0x219)]((_0x49fedb,_0x3f8233)=>{const _0x170276=_0x4de1b5,_0xe1c0d2={'eventID':_0x2c324c[_0x170276(0x37d)][_0x170276(0x499)],'data':{'unitID':this[_0x170276(0x298)],'memberID':this[_0x170276(0x2ba)][_0x170276(0x1e4)](),'selection':_0x100a4f['serializeRangeWithSheet'](_0x49fedb,_0x3f8233[_0x170276(0x2a3)])}};this[_0x170276(0x2ba)][_0x170276(0x3c6)](_0xe1c0d2,this[_0x170276(0x298)]);},_0x1f1062)),(this[_0x4de1b5(0x298)]=_0x53a2aa,this[_0x4de1b5(0x2ba)]=_0x24400c,this[_0x4de1b5(0x351)]=_0x3f2398,this[_0x4de1b5(0x28f)]=_0x2540fd,this[_0x4de1b5(0x390)]=_0x54a51d,this['_univerInstanceService']=_0xd0d4ed,this[_0x4de1b5(0x3ee)]=_0x2b9b4e,this[_0x4de1b5(0x1d4)]=_0x5eabde);}get[_0x295e11(0x32f)](){const _0x5db136=_0x295e11;return this[_0x5db136(0x26e)][_0x5db136(0x337)]();}get[_0x295e11(0x283)](){const _0x330254=_0x295e11;return this[_0x330254(0x4ad)][_0x330254(0x337)]();}[_0x295e11(0x3d1)](){const _0x51655=_0x295e11;super[_0x51655(0x3d1)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x51655(0x23c)](),this['_roomMembers$'][_0x51655(0x2d3)]([]),this[_0x51655(0x4ad)][_0x51655(0x23c)]();}[_0x295e11(0x3ec)](){const _0x1ee9a5=_0x295e11;this['_init']||(this[_0x1ee9a5(0x4a0)]=!0x0,this[_0x1ee9a5(0x2ba)]['sessionStatus$'][_0x1ee9a5(0x32d)](_0x5b38f4[_0x1ee9a5(0x491)](this[_0x1ee9a5(0x2ff)]))['subscribe'](_0x1cb913=>{const _0x3a2a11=_0x1ee9a5;_0x1cb913===_0x3958ea['SessionStatus'][_0x3a2a11(0x204)]?this['_toggleOnline']():this[_0x3a2a11(0x2ec)]();}),this[_0x1ee9a5(0x2ba)][_0x1ee9a5(0x1d3)][_0x1ee9a5(0x32d)](_0x5b38f4[_0x1ee9a5(0x491)](this[_0x1ee9a5(0x2ff)]))[_0x1ee9a5(0x4af)](_0x18ca13=>{const _0x4be13e=_0x1ee9a5,_0x9171fb=_0x18ca13[_0x4be13e(0x371)];_0x9171fb===_0x2c324c[_0x4be13e(0x37d)]['UPDATE_CURSOR']&&this[_0x4be13e(0x28e)](_0x18ca13),_0x9171fb===_0x2c324c[_0x4be13e(0x37d)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x18ca13);}),this['_onRefRangeChange'](),this[_0x1ee9a5(0x2bc)](this[_0x1ee9a5(0x3ee)][_0x1ee9a5(0x342)](_0x548dff=>{const _0x447cef=_0x1ee9a5;if(this[_0x447cef(0x43f)]&&_0x548dff['id']===_0x411621[_0x447cef(0x483)]['id']&&_0x548dff['params']['unitId']===this[_0x447cef(0x298)]){const _0x2c7fef=_0x548dff[_0x447cef(0x1d6)];this[_0x447cef(0x364)](_0x2c7fef[_0x447cef(0x496)],_0x2c7fef['selections'][0x0]);}})));}['_onCursorUpdate'](_0x87c3c5){const _0x3f3f45=_0x295e11;var _0x29d61d,_0x3037ea;const {memberID:_0x3dddac,selection:_0x5c1174}=_0x87c3c5[_0x3f3f45(0x38e)],{sheetName:_0x186d70,range:_0x1d0ca4}=_0x100a4f[_0x3f3f45(0x1cb)](_0x5c1174),_0x286a83={'name':(_0x3037ea=(_0x29d61d=this['_memberService']['getMember'](this[_0x3f3f45(0x298)],_0x3dddac))==null?void 0x0:_0x29d61d[_0x3f3f45(0x2b2)])!=null?_0x3037ea:_0x3f3f45(0x405),'range':this[_0x3f3f45(0x3f3)](_0x186d70,_0x1d0ca4),'sheetID':_0x186d70,'color':this['_colorAssignService'][_0x3f3f45(0x39f)](_0x3dddac),'selection':_0x5c1174},_0x1592bc=this[_0x3f3f45(0x32f)];_0x1592bc[_0x3f3f45(0x370)](_0x3dddac,_0x286a83),this[_0x3f3f45(0x26e)][_0x3f3f45(0x2d3)](_0x1592bc);}[_0x295e11(0x3bb)](_0x42e49c){const _0x3a547d=_0x295e11,{memberID:_0x23401b}=_0x42e49c[_0x3a547d(0x38e)],_0x2b9a20=this[_0x3a547d(0x32f)];_0x2b9a20[_0x3a547d(0x240)](_0x23401b),this[_0x3a547d(0x26e)][_0x3a547d(0x2d3)](_0x2b9a20);}['_getMergeRange'](_0x3faf14,_0x355ecf){const _0x32e5b4=_0x295e11;var _0x3ac723,_0x5c18f7;const _0x370291=(_0x5c18f7=(_0x3ac723=this[_0x32e5b4(0x3ba)][_0x32e5b4(0x445)](this[_0x32e5b4(0x298)]))==null?void 0x0:_0x3ac723[_0x32e5b4(0x3e2)](_0x3faf14))==null?void 0x0:_0x5c18f7[_0x32e5b4(0x484)]();return(_0x370291==null?void 0x0:_0x370291[_0x32e5b4(0x43c)](_0x1db291=>_0x40624a['Rectangle'][_0x32e5b4(0x468)](_0x1db291,_0x355ecf)))||_0x355ecf;}[_0x295e11(0x3c0)](){const _0x3dd950=_0x295e11,_0x2fc688=new _0x40624a[(_0x3dd950(0x3d3))](),_0x3e7019=_0x5e4f08(),_0x14352a=()=>{const _0x4a07d2=_0x3dd950;_0x2fc688[_0x4a07d2(0x3d1)]();const _0x38dcf1=(_0x27614d,_0x5b7305,_0xeb9f68,_0x4bea2e)=>{const _0x541b19=_0x4a07d2;let _0x3c566f=[];switch(_0x27614d['id']){case _0x411621[_0x541b19(0x36e)][_0x541b19(0x3eb)]:{_0x3c566f=_0x411621['handleDeleteRangeMoveLeft'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x366)]:{_0x3c566f=_0x411621['handleDeleteRangeMoveUp'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)]['InsertColCommandId']:{_0x3c566f=_0x411621['handleInsertCol'](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x3d5)]:{_0x3c566f=_0x411621[_0x541b19(0x448)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x410)]:{_0x3c566f=_0x411621[_0x541b19(0x203)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x1e3)]:{_0x3c566f=_0x411621['handleInsertRow'](_0x27614d,_0x4bea2e);break;}case _0x411621['EffectRefRangId'][_0x541b19(0x49c)]:{_0x3c566f=_0x411621['handleMoveRange'](_0x27614d,_0x4bea2e);break;}case _0x411621['EffectRefRangId'][_0x541b19(0x291)]:{_0x3c566f=_0x411621[_0x541b19(0x394)](_0x27614d,_0x4bea2e);break;}case _0x411621[_0x541b19(0x36e)][_0x541b19(0x2ac)]:{_0x3c566f=_0x411621['handleIRemoveRow'](_0x27614d,_0x4bea2e);break;}}const _0x1dc816=_0x411621[_0x541b19(0x349)](_0x3c566f,_0x4bea2e),_0x553b3b=this[_0x541b19(0x32f)][_0x541b19(0x1de)](_0x5b7305);if(_0x553b3b&&_0x1dc816){const _0x441a82={..._0x553b3b,'range':_0x1dc816};this[_0x541b19(0x32f)][_0x541b19(0x370)](_0x5b7305,_0x441a82),_0x3e7019(()=>{const _0xa2c807=_0x541b19,_0x2af9fc=this['_refRangeService'][_0xa2c807(0x28c)](_0x1dc816,_0x255a80=>(_0x2af9fc[_0xa2c807(0x3d1)](),_0x38dcf1(_0x255a80,_0x5b7305,_0xeb9f68,_0x1dc816)));_0x2fc688[_0xa2c807(0x372)](_0x2af9fc);});}return{'redos':[],'undos':[]};};this[_0x4a07d2(0x32f)]['forEach']((_0x4709cc,_0x29775a)=>{const _0x13693f=_0x4a07d2,{range:_0x35ece7,sheetID:_0x488596}=_0x4709cc,_0x4b64f4=this['_refRangeService']['registerRefRange'](_0x35ece7,_0x4d7a1e=>(_0x4b64f4[_0x13693f(0x3d1)](),_0x38dcf1(_0x4d7a1e,_0x29775a,_0x488596,_0x35ece7)));_0x2fc688[_0x13693f(0x372)](_0x4b64f4);});};this[_0x3dd950(0x2bc)](_0x40624a[_0x3dd950(0x381)](this[_0x3dd950(0x26e)]['subscribe'](()=>{_0x14352a();})));}['_toggleOnline'](){const _0x5b511a=_0x295e11;var _0x54caf1,_0x32f729;if(this[_0x5b511a(0x43f)]=!0x0,((_0x54caf1=this[_0x5b511a(0x3ba)]['getFocusedUnit']())==null?void 0x0:_0x54caf1['getUnitId']())!==this[_0x5b511a(0x298)])return;const _0x2e7bb4=(_0x32f729=this[_0x5b511a(0x351)]['get'](_0x411621[_0x5b511a(0x2df)])[_0x5b511a(0x293)]())==null?void 0x0:_0x32f729[0x0],_0x3bfa3f=this['_univerInstanceService'][_0x5b511a(0x1bf)](_0x40624a[_0x5b511a(0x260)][_0x5b511a(0x29c)])[_0x5b511a(0x3de)]();_0x2e7bb4&&_0x3bfa3f&&this['_updateLocalCursor'](_0x3bfa3f[_0x5b511a(0x287)](),_0x2e7bb4);}[_0x295e11(0x2ec)](){const _0x497efa=_0x295e11;this[_0x497efa(0x43f)]=!0x1;}};_0x523ec5=_0x41cedf([_0x1b052f(0x2,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1b052f(0x3,_0x40624a[_0x295e11(0x33d)](_0x2d4f99)),_0x1b052f(0x4,_0x40624a[_0x295e11(0x33d)](_0x3958ea['MemberService'])),_0x1b052f(0x5,_0x40624a[_0x295e11(0x2e4)]),_0x1b052f(0x6,_0x40624a['ICommandService']),_0x1b052f(0x7,_0x40624a[_0x295e11(0x33d)](_0x411621['RefRangeService']))],_0x523ec5);var _0x8ceac4=Object['getOwnPropertyDescriptor'],_0x38c744=(_0x3ce998,_0x472e3d,_0x40cea5,_0x515c8b)=>{const _0x358e43=_0x295e11;for(var _0x43f0a4=_0x515c8b>0x1?void 0x0:_0x515c8b?_0x8ceac4(_0x472e3d,_0x40cea5):_0x472e3d,_0x3b0205=_0x3ce998[_0x358e43(0x1c4)]-0x1,_0x3eed05;_0x3b0205>=0x0;_0x3b0205--)(_0x3eed05=_0x3ce998[_0x3b0205])&&(_0x43f0a4=_0x3eed05(_0x43f0a4)||_0x43f0a4);return _0x43f0a4;},_0x335a40=(_0xb7f342,_0xad2926)=>(_0x5f6054,_0x5c85bd)=>_0xad2926(_0x5f6054,_0x5c85bd,_0xb7f342);let _0x2e9070=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1fe412,_0x2f10d2,_0x6027a5){const _0x27065e=_0x295e11;super(),_0x9020b(this,_0x27065e(0x2e1),new Map()),_0x9020b(this,'_entityInit$',new _0x5b38f4[(_0x27065e(0x3e9))]()),(this[_0x27065e(0x3ba)]=_0x1fe412,this['_injector']=_0x2f10d2,this[_0x27065e(0x40d)]=_0x6027a5,this['_init']());}['dispose'](){const _0xac6d81=_0x295e11;super[_0xac6d81(0x3d1)](),this[_0xac6d81(0x2b5)][_0xac6d81(0x23c)](),this['_entities'][_0xac6d81(0x24d)](_0x5a20f7=>_0x5a20f7[_0xac6d81(0x3d1)]());}[_0x295e11(0x359)](_0x149a78){const _0x5d499f=_0x295e11;return this[_0x5d499f(0x2e1)][_0x5d499f(0x248)](_0x149a78)?this['_entities'][_0x5d499f(0x1de)](_0x149a78)[_0x5d499f(0x3cc)]:this[_0x5d499f(0x2b5)]['pipe'](_0x5b38f4['filter'](_0x436759=>_0x436759[_0x5d499f(0x298)]===_0x149a78),_0x5b38f4[_0x5d499f(0x426)](_0x2db1ba=>_0x2db1ba[_0x5d499f(0x3cc)]));}[_0x295e11(0x4a0)](){const _0x45d9db=_0x295e11;this['_univerInstanceService'][_0x45d9db(0x324)](_0x40624a[_0x45d9db(0x260)][_0x45d9db(0x29c)])['pipe'](_0x5b38f4[_0x45d9db(0x491)](this[_0x45d9db(0x2ff)]))[_0x45d9db(0x4af)](async _0xfc322c=>{const _0x53a854=_0x45d9db,_0x3d0a6e=_0xfc322c['getUnitId'](),_0x44e0cb=await this[_0x53a854(0x452)](_0x3d0a6e);this[_0x53a854(0x2b5)]['next'](_0x44e0cb),this[_0x53a854(0x2e1)][_0x53a854(0x370)](_0x3d0a6e,_0x44e0cb);}),this[_0x45d9db(0x3ba)][_0x45d9db(0x324)](_0x40624a['UniverInstanceType'][_0x45d9db(0x36a)])[_0x45d9db(0x32d)](_0x5b38f4[_0x45d9db(0x491)](this[_0x45d9db(0x2ff)]))[_0x45d9db(0x32d)](_0x5b38f4['filter'](_0x17f7b2=>!_0x17f7b2['getUnitId']()[_0x45d9db(0x3b8)]('__')))[_0x45d9db(0x4af)](async _0x56497d=>{const _0x12becb=_0x45d9db,_0x5e5339=_0x56497d[_0x12becb(0x310)](),_0x237dc5=await this[_0x12becb(0x3ed)](_0x5e5339);this['_entityInit$']['next'](_0x237dc5),this[_0x12becb(0x2e1)][_0x12becb(0x370)](_0x5e5339,_0x237dc5);}),_0x5b38f4['merge'](this['_univerInstanceService'][_0x45d9db(0x48a)](_0x40624a[_0x45d9db(0x260)]['UNIVER_DOC']),this[_0x45d9db(0x3ba)][_0x45d9db(0x48a)](_0x40624a[_0x45d9db(0x260)][_0x45d9db(0x29c)]))[_0x45d9db(0x32d)](_0x5b38f4[_0x45d9db(0x491)](this['dispose$']))['subscribe'](_0x5f42bb=>{const _0x3de874=_0x45d9db,_0x1565e2=_0x5f42bb[_0x3de874(0x310)](),_0x3b3ee7=this[_0x3de874(0x2e1)]['get'](_0x1565e2);_0x3b3ee7&&(_0x3b3ee7[_0x3de874(0x3d1)](),this[_0x3de874(0x2e1)]['delete'](_0x1565e2));});}async[_0x295e11(0x452)](_0x304ffd){const _0x41cbe8=_0x295e11,_0x31eff5=await this['_collabSessionService']['requireSession'](_0x304ffd),_0x11c5dc=this[_0x41cbe8(0x351)]['createInstance'](_0x523ec5,_0x304ffd,_0x31eff5);return _0x11c5dc[_0x41cbe8(0x3ec)](),_0x11c5dc;}async[_0x295e11(0x3ed)](_0x33df58){const _0x327ee5=_0x295e11,_0x280772=await this[_0x327ee5(0x40d)]['requireSession'](_0x33df58),_0x25430d=this[_0x327ee5(0x351)][_0x327ee5(0x24a)](_0x3890dd,_0x33df58,_0x280772);return _0x25430d[_0x327ee5(0x3ec)](),_0x25430d;}};_0x2e9070=_0x38c744([_0x335a40(0x0,_0x40624a['IUniverInstanceService']),_0x335a40(0x1,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x335a40(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x25b)]))],_0x2e9070);const _0x35613d=0x14,_0x4d8d40=0xc8,_0x5d5c87=0x4,_0x928588=0x5;function _0x152066(_0x2e4cb0,_0x14e90d){const _0x2fccec=_0x295e11;let {radius:_0x269c10,width:_0x1b13f7,height:_0x1d1e5d}=_0x14e90d;_0x269c10=_0x269c10!=null?_0x269c10:0x0,_0x1b13f7=_0x1b13f7!=null?_0x1b13f7:0x1e,_0x1d1e5d=_0x1d1e5d!=null?_0x1d1e5d:0x1e;let _0x36d24f=0x0,_0x4f65a7=0x0,_0x1a9e46=0x0;_0x36d24f=_0x4f65a7=_0x1a9e46=Math[_0x2fccec(0x358)](_0x269c10,_0x1b13f7/0x2,_0x1d1e5d/0x2),_0x2e4cb0[_0x2fccec(0x2f6)](),_0x2e4cb0[_0x2fccec(0x227)](_0x36d24f,0x0),_0x2e4cb0[_0x2fccec(0x3ae)](_0x1b13f7-_0x4f65a7,0x0),_0x2e4cb0[_0x2fccec(0x437)](_0x1b13f7-_0x4f65a7,_0x4f65a7,_0x4f65a7,Math['PI']*0x3/0x2,0x0,!0x1),_0x2e4cb0[_0x2fccec(0x3ae)](_0x1b13f7,_0x1d1e5d-_0x1a9e46),_0x2e4cb0[_0x2fccec(0x437)](_0x1b13f7-_0x1a9e46,_0x1d1e5d-_0x1a9e46,_0x1a9e46,0x0,Math['PI']/0x2,!0x1),_0x2e4cb0['lineTo'](0x0,_0x1d1e5d),_0x2e4cb0[_0x2fccec(0x3ae)](0x0,_0x36d24f),_0x2e4cb0['arc'](_0x36d24f,_0x36d24f,_0x36d24f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2e4cb0[_0x2fccec(0x4a4)](),_0x14e90d[_0x2fccec(0x1c1)]&&(_0x2e4cb0[_0x2fccec(0x2d8)](),_0x2e4cb0[_0x2fccec(0x2c5)]=_0x14e90d['fill'],_0x14e90d[_0x2fccec(0x377)]===_0x2fccec(0x2c2)?_0x2e4cb0['fill']('evenodd'):_0x2e4cb0['fill'](),_0x2e4cb0[_0x2fccec(0x46a)]());}class _0x368cae extends _0x2680b3[_0x295e11(0x374)]{constructor(_0x27b948,_0x4ca0a7){const _0x3114c7=_0x295e11;super(_0x27b948,_0x4ca0a7),_0x9020b(this,'color'),_0x9020b(this,'text'),(this[_0x3114c7(0x4ae)]=_0x4ca0a7==null?void 0x0:_0x4ca0a7['color'],this[_0x3114c7(0x1d7)]=_0x4ca0a7==null?void 0x0:_0x4ca0a7['text']);}static[_0x295e11(0x47d)](_0x445bf8,_0x5820cc){const _0x5aeba8=_0x295e11,{text:_0xd0a2bb,color:_0xa74210}=_0x5820cc;_0x445bf8['save'](),_0x445bf8[_0x5aeba8(0x451)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x538f99=_0x445bf8[_0x5aeba8(0x31b)](_0xd0a2bb)['width'],_0x315024=Math[_0x5aeba8(0x358)](_0x538f99+0x2*_0x5d5c87,_0x4d8d40);_0x152066(_0x445bf8,{'height':_0x35613d,'radius':0x4,'width':_0x315024,'fill':_0xa74210}),_0x445bf8[_0x5aeba8(0x2c5)]=_0x5aeba8(0x2e3);const _0x2bb98d=_0x5d5c87,_0x3af4ce=_0x35613d-_0x928588,_0x463771=_0x4d8d40-0x2*_0x5d5c87;if(_0x538f99>_0x463771){let _0x227587='',_0x136a12=0x0;for(const _0x3497a6 of _0xd0a2bb){const _0x580044=_0x445bf8[_0x5aeba8(0x31b)](_0x3497a6)['width'];if(_0x136a12+_0x580044<=_0x463771-_0x445bf8[_0x5aeba8(0x31b)](_0x5aeba8(0x270))[_0x5aeba8(0x1da)])_0x227587+=_0x3497a6,_0x136a12+=_0x580044;else{_0x227587+=_0x5aeba8(0x270);break;}}_0x445bf8['fillText'](_0x227587,_0x2bb98d,_0x3af4ce);}else _0x445bf8[_0x5aeba8(0x40b)](_0xd0a2bb,_0x2bb98d,_0x3af4ce);_0x445bf8['restore']();}[_0x295e11(0x4b5)](_0x2c41da){_0x368cae['drawWith'](_0x2c41da,this);}}const _0x468e62=_0x295e11(0x304),_0x4c3fbd='collab-text-range-',_0x2981df=_0x295e11(0x2b7),_0x62891c=0x6,_0x5e2caf=1.5,_0x322d6c=0x4,_0x3c6dc7=1.5,_0x32fbe1=_0x295e11(0x40e);class _0x49aed0{constructor(_0x3e776c,_0x430368,_0x167092,_0xf17f62){const _0x3ff88a=_0x295e11;_0x9020b(this,_0x3ff88a(0x2ed),[]),_0x9020b(this,_0x3ff88a(0x480),null),_0x9020b(this,_0x3ff88a(0x3c8),null),_0x9020b(this,'_anchorDot',null),_0x9020b(this,'_hideTimer',null),_0x9020b(this,'_eventUnsubscribe',null),(this[_0x3ff88a(0x317)]=_0x3e776c,this[_0x3ff88a(0x36f)]=_0x430368,this[_0x3ff88a(0x41d)]=_0x167092,this[_0x3ff88a(0x31c)]=_0xf17f62,this[_0x3ff88a(0x369)]());}set[_0x295e11(0x3f8)](_0x4b3ea7){const _0x50fa72=_0x295e11;_0x4b3ea7?(this[_0x50fa72(0x42f)]&&this[_0x50fa72(0x42f)][_0x50fa72(0x3d6)](),this[_0x50fa72(0x3c8)]&&this[_0x50fa72(0x3c8)][_0x50fa72(0x344)]()):(this[_0x50fa72(0x42f)]&&this[_0x50fa72(0x42f)]['show'](),this[_0x50fa72(0x3c8)]&&this[_0x50fa72(0x3c8)][_0x50fa72(0x3d6)]());}['dispose'](){const _0x47c638=_0x295e11;for(const _0x453e76 of this[_0x47c638(0x2ed)])_0x453e76[_0x47c638(0x3d1)]();this['_textBubble']&&this['_textBubble'][_0x47c638(0x3d1)](),this[_0x47c638(0x42f)]&&this['_anchorDot'][_0x47c638(0x3d1)](),this[_0x47c638(0x480)]&&this['_anchor'][_0x47c638(0x3d1)](),this['_eventUnsubscribe']&&this[_0x47c638(0x498)]();}[_0x295e11(0x369)](){const _0x5cd4d=_0x295e11;var _0x21cf32;const {_docSkeleton:_0x2ca938,_document:_0x4e101f}=this,{color:_0x163d4b,name:_0x4f2a64,ranges:_0x2bed12}=this['_cursor'],_0x15de3b=_0x4e101f['getOffsetConfig'](),{docsLeft:_0x514a42,docsTop:_0x513a56}=_0x15de3b,_0x135c20=new _0x118be2['NodePositionConvertToCursor'](_0x15de3b,_0x2ca938);for(const {startOffset:_0xa4fd9f,endOffset:_0x1686cf,rangeType:_0xfcb2f6,segmentId:_0x1a4ea1,segmentPage:_0x3a58d4,collapsed:_0x109dd8,isActive:_0x26afd8}of _0x2bed12){const _0x470543=_0x2ca938[_0x5cd4d(0x22c)](_0xa4fd9f,!0x0,_0x1a4ea1,_0x3a58d4);let _0xf8a32d=_0x2ca938['findNodePositionByCharIndex'](_0x1686cf,!0x0,_0x1a4ea1,_0x3a58d4);if(_0xf8a32d==null&&(_0xf8a32d=_0x2ca938[_0x5cd4d(0x22c)](_0x1686cf-0x1,!0x1,_0x1a4ea1,_0x3a58d4)),_0x26afd8){const {contentBoxPointGroup:_0x6336de}=_0x135c20['getRangePointData'](_0xf8a32d,_0xf8a32d);if(_0x6336de['length']===0x0)continue;this[_0x5cd4d(0x25e)](_0x163d4b,_0x6336de,_0x514a42,_0x513a56,_0x4f2a64),this[_0x5cd4d(0x498)]=this[_0x5cd4d(0x2a8)]();}if(_0x470543&&_0xf8a32d){if(_0xfcb2f6===_0x40624a[_0x5cd4d(0x48e)][_0x5cd4d(0x38a)]){const _0x33c0cc=new _0x118be2[(_0x5cd4d(0x252))](_0x15de3b,_0x2ca938),{pointGroup:_0x28855b}=(_0x21cf32=_0x33c0cc['getRangePointData'](_0x470543,_0xf8a32d))!=null?_0x21cf32:{};if(_0x28855b==null||_0x28855b[_0x5cd4d(0x1c4)]===0x0)continue;this['_drawRectRange'](_0x163d4b,_0x28855b,_0x514a42,_0x513a56);}else{if(!_0x109dd8){const {borderBoxPointGroup:_0x24e0f6}=_0x135c20['getRangePointData'](_0x470543,_0xf8a32d);if(_0x24e0f6[_0x5cd4d(0x1c4)]===0x0)continue;this[_0x5cd4d(0x38d)](_0x163d4b,_0x24e0f6,_0x514a42,_0x513a56);}}}}}[_0x295e11(0x25e)](_0x1a7a43,_0x25207f,_0x1963bf,_0x50f52c,_0x11b189){const _0x55992b=_0x295e11,_0x36e174=this[_0x55992b(0x2e7)](_0x25207f),{left:_0x9f5970,top:_0x33308c,height:_0x2e5b09}=_0x36e174,_0x476ad1=this[_0x55992b(0x26f)](),_0x5b273c=_0x3c6dc7/_0x476ad1,_0x83d532=new _0x2680b3[(_0x55992b(0x1c6))](_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c,'height':_0x2e5b09,'width':_0x5e2caf,'fill':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'strokeWidth':_0x5b273c,'stroke':_0x32fbe1,'evented':!0x0});this['_anchor']=_0x83d532,this[_0x55992b(0x36f)][_0x55992b(0x1ee)](_0x83d532,_0x118be2['TEXT_RANGE_LAYER_INDEX']);const _0x4a2a75=new _0x2680b3[(_0x55992b(0x1c6))](_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c-_0x322d6c/0x2,'height':_0x322d6c,'width':_0x322d6c,'fill':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'strokeWidth':0x0,'stroke':_0x1a7a43||_0x2680b3[_0x55992b(0x2cf)](_0x40624a[_0x55992b(0x2f3)][_0x55992b(0x3c1)],0x0),'evented':!0x1});this[_0x55992b(0x42f)]=_0x4a2a75,this['_scene'][_0x55992b(0x1ee)](_0x4a2a75,_0x118be2[_0x55992b(0x35a)]);const _0x452e1b=new _0x368cae(_0x468e62+_0x40624a[_0x55992b(0x2d5)](_0x62891c),{'left':_0x9f5970+_0x1963bf-_0x5b273c,'top':_0x33308c+_0x50f52c-_0x35613d,'text':_0x11b189,'color':_0x1a7a43});this[_0x55992b(0x3c8)]=_0x452e1b,this[_0x55992b(0x36f)][_0x55992b(0x1ee)](_0x452e1b,_0x118be2[_0x55992b(0x35a)]),this[_0x55992b(0x3f8)]=!0x1;}[_0x295e11(0x2a8)](){const _0x45e073=_0x295e11,_0x45d74c=this[_0x45e073(0x480)]['onPointerEnter$'][_0x45e073(0x241)](()=>{const _0x428c75=_0x45e073;this[_0x428c75(0x3f8)]=!0x0;}),_0x4a1017=this['_anchor'][_0x45e073(0x29d)][_0x45e073(0x241)](()=>{const _0x13a8ac=_0x45e073;this[_0x13a8ac(0x353)]&&clearTimeout(this[_0x13a8ac(0x353)]),this[_0x13a8ac(0x353)]=setTimeout(()=>{const _0x22d42e=_0x13a8ac;this[_0x22d42e(0x3f8)]=!0x1;},0x7d0);});return()=>{const _0x6ba1db=_0x45e073;_0x45d74c[_0x6ba1db(0x497)](),_0x4a1017['unsubscribe']();};}['_drawTextRange'](_0x51e650,_0x2677dc,_0x4295c3,_0x240818){const _0x2168d1=_0x295e11,_0x3e206b=new _0x40624a[(_0x2168d1(0x3fa))](_0x51e650)[_0x2168d1(0x22d)](0.2)['toRgbString'](),_0x3e5796=new _0x2680b3['RegularPolygon'](_0x4c3fbd+_0x40624a['generateRandomId'](_0x62891c),{'pointsGroup':_0x2677dc,'fill':_0x3e206b||_0x2680b3['getColor'](_0x40624a[_0x2168d1(0x2f3)][_0x2168d1(0x3c1)],0.2),'left':_0x4295c3,'top':_0x240818,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2168d1(0x2ed)][_0x2168d1(0x2f0)](_0x3e5796),this['_scene'][_0x2168d1(0x1ee)](_0x3e5796,_0x118be2[_0x2168d1(0x35a)]);}[_0x295e11(0x42d)](_0x37adb3,_0x1484a6,_0x1375a1,_0x47744a){const _0xc0a53=_0x295e11,_0x1704ee=new _0x40624a[(_0xc0a53(0x3fa))](_0x37adb3)[_0xc0a53(0x22d)](0.2)[_0xc0a53(0x3d0)](),_0x57683d=new _0x2680b3[(_0xc0a53(0x4a1))](_0x2981df+_0x40624a['generateRandomId'](_0x62891c),{'pointsGroup':_0x1484a6,'fill':_0x1704ee||_0x2680b3[_0xc0a53(0x2cf)](_0x40624a['COLORS'][_0xc0a53(0x3c1)],0.2),'left':_0x1375a1,'top':_0x47744a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc0a53(0x2ed)][_0xc0a53(0x2f0)](_0x57683d),this[_0xc0a53(0x36f)]['addObject'](_0x57683d,_0x118be2[_0xc0a53(0x35a)]);}[_0x295e11(0x2e7)](_0x36430a){const _0x169476=_0x36430a[0x0],_0x3d5c78=_0x169476[0x0],_0x4afe71=_0x169476[0x2],{x:_0x3007fc,y:_0x47a6ab}=_0x3d5c78,{x:_0x66f2e9,y:_0x28a6a5}=_0x4afe71;return{'left':_0x3007fc,'top':_0x47a6ab,'width':_0x66f2e9-_0x3007fc,'height':_0x28a6a5-_0x47a6ab};}[_0x295e11(0x26f)](){const _0x574867=_0x295e11,{scaleX:_0x2b11c8,scaleY:_0x16a6d8}=this[_0x574867(0x36f)][_0x574867(0x457)]();return Math['max'](_0x2b11c8,_0x16a6d8);}}var _0x5d8036=Object[_0x295e11(0x3a0)],_0x48f02f=(_0x422e3a,_0x362264,_0x13f3a5,_0x2e4ea6)=>{for(var _0x33c8e4=_0x2e4ea6>0x1?void 0x0:_0x2e4ea6?_0x5d8036(_0x362264,_0x13f3a5):_0x362264,_0x1a7f33=_0x422e3a['length']-0x1,_0x2971e7;_0x1a7f33>=0x0;_0x1a7f33--)(_0x2971e7=_0x422e3a[_0x1a7f33])&&(_0x33c8e4=_0x2971e7(_0x33c8e4)||_0x33c8e4);return _0x33c8e4;},_0x509c49=(_0x3cb66e,_0x9d9ea8)=>(_0x28d023,_0x355064)=>_0x9d9ea8(_0x28d023,_0x355064,_0x3cb66e);let _0x2faf05=class extends _0x40624a['RxDisposable']{constructor(_0x53e963,_0x1a36ed,_0x57a9c0,_0x6b714b,_0x42fc37){const _0x3ded4d=_0x295e11;super(),_0x9020b(this,_0x3ded4d(0x2b8),[]),_0x9020b(this,'_cursors',[]),(this['_context']=_0x53e963,this['_docSkeletonManagerService']=_0x1a36ed,this[_0x3ded4d(0x3ce)]=_0x57a9c0,this[_0x3ded4d(0x3ee)]=_0x6b714b,this[_0x3ded4d(0x24c)]=_0x42fc37,this[_0x3ded4d(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x978927=_0x295e11,_0x19672e=this[_0x978927(0x2d2)]['unitId'],_0x193287=this[_0x978927(0x3e4)];this[_0x978927(0x2bc)](_0x5b38f4[_0x978927(0x4b0)]([this[_0x978927(0x3ce)][_0x978927(0x359)](_0x19672e),this['_themeService'][_0x978927(0x303)]])[_0x978927(0x32d)](_0x23a207[_0x978927(0x361)](([_0x36f1eb,_0x40f003])=>({'skeleton':_0x193287[_0x978927(0x25a)](),'cursors':[..._0x36f1eb[_0x978927(0x3aa)]()][_0x978927(0x1d5)](_0x4164e5=>({..._0x4164e5,'color':this[_0x978927(0x24c)][_0x978927(0x2c1)](_0x4164e5[_0x978927(0x4ae)])}))})))[_0x978927(0x4af)](_0x4d355d=>{const _0x533a3f=_0x978927;if(this['_removeCollabCursors'](),_0x4d355d){const {skeleton:_0x4a9044,cursors:_0x2ac6ff}=_0x4d355d;this[_0x533a3f(0x285)](_0x4a9044,_0x2ac6ff);}})),this['_initResize'](),this[_0x978927(0x266)]();}[_0x295e11(0x285)](_0x5c235d,_0x1d1800){const _0x105a3b=_0x295e11,{scene:_0x248cf8,mainComponent:_0x51f349}=this[_0x105a3b(0x2d2)],_0x47dffe=_0x1d1800['map'](_0x443027=>new _0x49aed0(_0x443027,_0x248cf8,_0x5c235d,_0x51f349));this[_0x105a3b(0x2b8)]=_0x47dffe,this[_0x105a3b(0x1f0)]=_0x1d1800;}[_0x295e11(0x3df)](){const _0x5a1911=_0x295e11;this[_0x5a1911(0x2cd)]();const {scene:_0x2c9fc9,mainComponent:_0x21bc0d}=this[_0x5a1911(0x2d2)],_0x3eb528=this[_0x5a1911(0x3e4)][_0x5a1911(0x25a)](),_0x237ef4=this[_0x5a1911(0x1f0)][_0x5a1911(0x361)](_0x477e92=>new _0x49aed0(_0x477e92,_0x2c9fc9,_0x3eb528,_0x21bc0d));this['_cursorShapes']=_0x237ef4;}[_0x295e11(0x2cd)](){const _0x548f61=_0x295e11;this[_0x548f61(0x2b8)][_0x548f61(0x24d)](_0x569084=>_0x569084['dispose']()),this[_0x548f61(0x2b8)]=[];}[_0x295e11(0x266)](){const _0x503524=_0x295e11,_0x4a1537=[_0x118be2[_0x503524(0x409)]['id']];this[_0x503524(0x2bc)](this['_commandService'][_0x503524(0x342)](_0x328b7a=>{const _0x22c2ba=_0x503524;_0x4a1537[_0x22c2ba(0x48d)](_0x328b7a['id'])&&_0x328b7a[_0x22c2ba(0x1d6)][_0x22c2ba(0x495)]===this['_context'][_0x22c2ba(0x495)]&&this[_0x22c2ba(0x3df)]();}));}[_0x295e11(0x246)](){const _0x375ed4=_0x295e11;this[_0x375ed4(0x2bc)](_0x40624a[_0x375ed4(0x217)](this[_0x375ed4(0x2d2)][_0x375ed4(0x224)]['onTransformChange$'])[_0x375ed4(0x32d)](_0x23a207['filter'](_0x32b4cb=>_0x32b4cb['type']===_0x2680b3[_0x375ed4(0x2e5)][_0x375ed4(0x382)]),_0x23a207[_0x375ed4(0x403)](0x10))[_0x375ed4(0x4af)](()=>{this['_refreshCollabCursors']();}));}};_0x2faf05=_0x48f02f([_0x509c49(0x1,_0x40624a[_0x295e11(0x33d)](_0x3f3b23[_0x295e11(0x416)])),_0x509c49(0x2,_0x40624a['Inject'](_0x2e9070)),_0x509c49(0x3,_0x40624a[_0x295e11(0x31e)]),_0x509c49(0x4,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x436)]))],_0x2faf05);const _0x554bac=0x1,_0x1624fb=1.5;class _0x446f9f extends _0x2680b3['Shape']{constructor(_0x191857,_0x80cea1){const _0x144fc3=_0x295e11;super(_0x191857,_0x80cea1),_0x9020b(this,_0x144fc3(0x33b)),_0x9020b(this,_0x144fc3(0x2d7),!0x1),_0x9020b(this,_0x144fc3(0x352)),_0x9020b(this,'_name',''),_0x9020b(this,_0x144fc3(0x460),'top'),_0x9020b(this,'_backgroundColor'),(_0x80cea1&&this[_0x144fc3(0x1c8)](_0x80cea1),this[_0x144fc3(0x3ab)][_0x144fc3(0x241)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x144fc3(0x241)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x295e11(0x1c8)](_0x22cefa){const _0x265723=_0x295e11;var _0x1051f7,_0x43fa79,_0x51ee62,_0x32f725,_0x5ddcf4,_0xd3418a;this[_0x265723(0x33b)]=(_0x1051f7=_0x22cefa[_0x265723(0x4ae)])!=null?_0x1051f7:this['_color'],this[_0x265723(0x2d7)]=(_0x43fa79=_0x22cefa[_0x265723(0x1fa)])!=null?_0x43fa79:this[_0x265723(0x2d7)],this[_0x265723(0x352)]=(_0x51ee62=_0x22cefa[_0x265723(0x2a3)])!=null?_0x51ee62:this[_0x265723(0x352)],this[_0x265723(0x407)]=(_0x32f725=_0x22cefa[_0x265723(0x2b2)])!=null?_0x32f725:this[_0x265723(0x407)],this[_0x265723(0x460)]=(_0x5ddcf4=_0x22cefa['labelPosition'])!=null?_0x5ddcf4:this[_0x265723(0x460)],this[_0x265723(0x23b)]=(_0xd3418a=_0x22cefa[_0x265723(0x30d)])!=null?_0xd3418a:this['_backgroundColor'],this[_0x265723(0x2cb)]({'width':_0x22cefa['width'],'height':_0x22cefa[_0x265723(0x35d)]});}[_0x295e11(0x1fc)](_0x4b5ca4){const _0x22b833=_0x295e11,{row:_0x26ee95,column:_0x2f75dd}=_0x4b5ca4;if(_0x26ee95>=this[_0x22b833(0x352)][_0x22b833(0x218)]&&_0x26ee95<=this['_range'][_0x22b833(0x421)]&&_0x2f75dd>=this[_0x22b833(0x352)]['startColumn']&&_0x2f75dd<=this[_0x22b833(0x352)][_0x22b833(0x3af)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x22b833(0x1c8)]({'hovered':!0x1});}[_0x295e11(0x2bd)](_0x31d5da){return!0x1;}[_0x295e11(0x4b5)](_0x39c592){const _0x51b4e5=_0x295e11;_0x2680b3[_0x51b4e5(0x1c6)]['drawWith'](_0x39c592,{'width':this[_0x51b4e5(0x1da)],'height':this[_0x51b4e5(0x35d)],'strokeWidth':_0x1624fb,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x51b4e5(0x23b)]}),this[_0x51b4e5(0x2d7)]&&(_0x39c592[_0x51b4e5(0x2d8)](),_0x39c592[_0x51b4e5(0x46e)](0x1,0x0,0x0,0x1,this[_0x51b4e5(0x1da)],this[_0x51b4e5(0x460)]==='bottom'?0x0:-_0x35613d),_0x368cae[_0x51b4e5(0x47d)](_0x39c592,{'text':this['_name'],'color':this[_0x51b4e5(0x33b)]}),_0x39c592[_0x51b4e5(0x46a)]());}}var _0x5d98a5=Object[_0x295e11(0x3a0)],_0x399d1c=(_0x1b7c7b,_0x7b9092,_0x4f1259,_0x3a6867)=>{for(var _0x2c80ca=_0x3a6867>0x1?void 0x0:_0x3a6867?_0x5d98a5(_0x7b9092,_0x4f1259):_0x7b9092,_0x4b6784=_0x1b7c7b['length']-0x1,_0x48b49d;_0x4b6784>=0x0;_0x4b6784--)(_0x48b49d=_0x1b7c7b[_0x4b6784])&&(_0x2c80ca=_0x48b49d(_0x2c80ca)||_0x2c80ca);return _0x2c80ca;},_0x4b97fc=(_0x20a562,_0xab254a)=>(_0x111884,_0x1a5f7c)=>_0xab254a(_0x111884,_0x1a5f7c,_0x20a562);const _0x52502=0x1389;let _0xb986df=class extends _0x40624a[_0x295e11(0x40a)]{constructor(_0x1ee1aa,_0x500f55,_0x1bfc3b,_0x298392){const _0x7aa836=_0x295e11;super(),_0x9020b(this,_0x7aa836(0x1f0),new Set()),_0x9020b(this,_0x7aa836(0x2e0),null),(this[_0x7aa836(0x2d2)]=_0x1ee1aa,this[_0x7aa836(0x3b7)]=_0x500f55,this[_0x7aa836(0x3ce)]=_0x1bfc3b,this[_0x7aa836(0x24c)]=_0x298392,this[_0x7aa836(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x500a49=_0x295e11;this['_sheetSkeletonManagerService'][_0x500a49(0x3b3)][_0x500a49(0x32d)](_0x23a207[_0x500a49(0x491)](this[_0x500a49(0x2ff)]),_0x23a207[_0x500a49(0x426)](_0x260293=>{const _0x15ca47=_0x500a49;if(_0x260293){const _0x1cf6ef=_0x260293[_0x15ca47(0x482)];return _0x5b38f4['combineLatest'](this['_collabCursorController'][_0x15ca47(0x359)](this['_context'][_0x15ca47(0x495)]),this['_themeService'][_0x15ca47(0x303)])[_0x15ca47(0x32d)](_0x23a207['map'](([_0x30fe7b,_0x5dc4c8])=>{const _0x3507ac=_0x15ca47,_0xa7f4e2=new Map();return _0x30fe7b[_0x3507ac(0x24d)]((_0x535890,_0x1bbee2)=>{const _0x5ab6a9=_0x3507ac;if(_0x535890['sheetID']===_0x1cf6ef){const _0x14f30d={..._0x535890};_0x14f30d[_0x5ab6a9(0x4ae)]=this[_0x5ab6a9(0x24c)][_0x5ab6a9(0x2c1)](_0x535890['color']),_0xa7f4e2[_0x5ab6a9(0x370)](_0x1bbee2,_0x14f30d);}}),{'skeleton':_0x260293,'cursors':_0xa7f4e2};}));}return _0x5b38f4['of']({'skeleton':null,'cursors':new Map()});}))[_0x500a49(0x4af)](({skeleton:_0x4921d2,cursors:_0x5d4702})=>{const _0x2fc025=_0x500a49;this[_0x2fc025(0x2cd)](),_0x4921d2&&this[_0x2fc025(0x285)](_0x4921d2,_0x5d4702);}),this[_0x500a49(0x3b7)][_0x500a49(0x3b3)]['subscribe'](_0x3989b9=>{const _0x3d3863=_0x500a49;if(_0x3989b9==null)return;const {skeleton:_0x416265}=_0x3989b9,{scene:_0x3a8ade}=this[_0x3d3863(0x2d2)];_0x3a8ade[_0x3d3863(0x1df)][_0x3d3863(0x241)](_0x40624a[_0x3d3863(0x219)](_0xd4e93f=>{const _0x51cdd8=_0x3d3863;var _0x3b3651,_0x4525e5;const {offsetX:_0x4df87c,offsetY:_0x22bfb1}=_0xd4e93f,{x:_0x3c34dc,y:_0x5aeee3}=_0x3a8ade[_0x51cdd8(0x37b)](_0x2680b3[_0x51cdd8(0x3a9)][_0x51cdd8(0x2b9)]([_0x4df87c,_0x22bfb1])),{scaleX:_0x4543fd,scaleY:_0x81404a}=_0x3a8ade[_0x51cdd8(0x457)](),_0x5466ba=_0x3a8ade[_0x51cdd8(0x1e1)](_0x2680b3[_0x51cdd8(0x343)][_0x51cdd8(0x2b1)]),_0x2b909b=_0x3a8ade[_0x51cdd8(0x38c)](_0x2680b3[_0x51cdd8(0x3a9)][_0x51cdd8(0x2b9)]([_0x3c34dc,_0x5aeee3]),_0x5466ba),_0x569c48=_0x416265[_0x51cdd8(0x399)](_0x4df87c,_0x22bfb1,_0x4543fd,_0x81404a,_0x2b909b);((_0x3b3651=this['_lastPointer'])==null?void 0x0:_0x3b3651['column'])===_0x569c48[_0x51cdd8(0x2f4)]&&((_0x4525e5=this['_lastPointer'])==null?void 0x0:_0x4525e5[_0x51cdd8(0x2dd)])===_0x569c48[_0x51cdd8(0x2dd)]||this[_0x51cdd8(0x1f0)][_0x51cdd8(0x24d)](_0x238391=>{_0x238391['onMouseMove'](_0x569c48);});},0x64));});}[_0x295e11(0x285)](_0x35609f,_0x36dd65){const _0x359ee4=_0x295e11;var _0x515972;const _0x42e965=(_0x515972=this[_0x359ee4(0x3b7)][_0x359ee4(0x1c2)]())==null?void 0x0:_0x515972[_0x359ee4(0x27d)];if(!_0x42e965)return;const _0x3fa5b4=this[_0x359ee4(0x2a0)]();if(!_0x3fa5b4)return;this[_0x359ee4(0x1f0)][_0x359ee4(0x24d)](_0x17f7d1=>{const _0x6fdaff=_0x359ee4;_0x17f7d1[_0x6fdaff(0x216)]();});const {scene:_0x50d9da}=_0x3fa5b4,_0x354a8b=_0x1c8364(Array[_0x359ee4(0x4a6)](_0x36dd65[_0x359ee4(0x3aa)]()))[_0x359ee4(0x361)](_0x20008a=>{const _0x5ba545=_0x359ee4,{color:_0x55f6ed,range:_0x5f21e7,name:_0x3de70f,selection:_0x16a4e9,sheetID:_0x2a1fec}=_0x20008a,{startColumn:_0x46c150,startRow:_0x335f62,endColumn:_0x5dce2b,endRow:_0x5a0e2b}=_0x5f21e7,_0x1b432e=_0x383790[_0x5ba545(0x290)](_0x335f62,_0x46c150,_0x50d9da,_0x42e965),_0x2447d5=_0x383790[_0x5ba545(0x290)](_0x5a0e2b,_0x5dce2b,_0x50d9da,_0x42e965),{columnHeaderHeightAndMarginTop:_0x20aa36}=_0x42e965,{startX:_0x211bb7,startY:_0x6f1270}=_0x1b432e,{endX:_0x4d9382,endY:_0x5201b8}=_0x2447d5,_0x10d8bb=_0x4d9382-_0x211bb7,_0x4e5c52=_0x5201b8-_0x6f1270,_0x463e23={'labelPosition':_0x6f1270-_0x20aa36>=_0x35613d?'top':_0x5ba545(0x21c),'sheetID':_0x2a1fec,'range':_0x5f21e7,'color':_0x55f6ed,'name':_0x3de70f,'selection':_0x16a4e9,'left':_0x211bb7,'top':_0x6f1270,'width':_0x10d8bb,'height':_0x4e5c52,'evented':!0x1,'zIndex':_0x52502};return new _0x446f9f(_0x3de70f,_0x463e23);});_0x50d9da[_0x359ee4(0x462)](_0x354a8b,_0x554bac),this[_0x359ee4(0x1f0)]=new Set(_0x354a8b);}[_0x295e11(0x2cd)](){const _0x178af6=_0x295e11;var _0x40f1dd;(_0x40f1dd=this[_0x178af6(0x1f0)])==null||_0x40f1dd['forEach'](_0x24fe21=>_0x24fe21['dispose']());}[_0x295e11(0x2a0)](){const _0x3b1ff4=_0x295e11;return _0x383790[_0x3b1ff4(0x22e)](this['_context']['unit'],this[_0x3b1ff4(0x2d2)]);}};_0xb986df=_0x399d1c([_0x4b97fc(0x1,_0x40624a[_0x295e11(0x33d)](_0x383790['SheetSkeletonManagerService'])),_0x4b97fc(0x2,_0x40624a[_0x295e11(0x33d)](_0x2e9070)),_0x4b97fc(0x3,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x436)]))],_0xb986df);function _0x1c8364(_0x1d81dc){const _0x8c30c4=_0x295e11,_0x2ec3b8=new Map();return _0x1d81dc[_0x8c30c4(0x24d)](_0x34ba1f=>{const _0x3b4441=_0x8c30c4;if(_0x2ec3b8['has'](_0x34ba1f[_0x3b4441(0x49f)])){const _0x411f40=_0x2ec3b8['get'](_0x34ba1f[_0x3b4441(0x49f)]);_0x411f40['name']+=',\x20'+_0x34ba1f[_0x3b4441(0x2b2)];}else _0x2ec3b8[_0x3b4441(0x370)](_0x34ba1f[_0x3b4441(0x49f)],_0x34ba1f);}),Array[_0x8c30c4(0x4a6)](_0x2ec3b8[_0x8c30c4(0x3aa)]());}var _0x326b59=Object[_0x295e11(0x3a0)],_0x31e8cf=(_0x2bc339,_0x2cd2a2,_0x50089b,_0x82946f)=>{const _0x2d3b7e=_0x295e11;for(var _0x1f8ef3=_0x82946f>0x1?void 0x0:_0x82946f?_0x326b59(_0x2cd2a2,_0x50089b):_0x2cd2a2,_0x4d16db=_0x2bc339[_0x2d3b7e(0x1c4)]-0x1,_0x45d6ea;_0x4d16db>=0x0;_0x4d16db--)(_0x45d6ea=_0x2bc339[_0x4d16db])&&(_0x1f8ef3=_0x45d6ea(_0x1f8ef3)||_0x1f8ef3);return _0x1f8ef3;},_0x2c4925=(_0x4fddfb,_0xccfc63)=>(_0x6f0825,_0x352217)=>_0xccfc63(_0x6f0825,_0x352217,_0x4fddfb);let _0x3ef4e4=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x2faa9a,_0x1cab0b,_0x51fd2d,_0x28daa8,_0x27c5f6,_0x5eb3e6){const _0x49a0ec=_0x295e11;super(),this['_beforeCloseService']=_0x2faa9a,this[_0x49a0ec(0x247)]=_0x1cab0b,this[_0x49a0ec(0x477)]=_0x51fd2d,this[_0x49a0ec(0x233)]=_0x28daa8,this[_0x49a0ec(0x427)]=_0x27c5f6,this[_0x49a0ec(0x2a5)]=_0x5eb3e6,this[_0x49a0ec(0x2ef)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x1f1018=_0x295e11;this[_0x1f1018(0x2bc)](this[_0x1f1018(0x387)][_0x1f1018(0x21a)](()=>{const _0x505ea7=_0x1f1018;if(this['_localCacheService'][_0x505ea7(0x313)][_0x505ea7(0x47e)])return this[_0x505ea7(0x2a5)]['t'](_0x505ea7(0x486));}));}['_initEvent'](){const _0x55ef9c=_0x295e11;this['disposeWithMe'](this[_0x55ef9c(0x477)][_0x55ef9c(0x1d3)][_0x55ef9c(0x4af)](_0x4c11de=>{const _0x46ea29=_0x55ef9c;_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)]['OTHER_CLIENT_EDITING']&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x1ca))}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x37a)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x423))}),_0x4c11de['id']===_0x3958ea['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x46ea29(0x427)][_0x46ea29(0x344)]({'title':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x41e)),'content':this['_localeService']['t'](_0x46ea29(0x400)),'type':'error','duration':0x0}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x49a)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)][_0x46ea29(0x476)],'content':this[_0x46ea29(0x2a5)]['t']('collaboration.closeRoom')+'('+_0x4c11de[_0x46ea29(0x38e)]+')'}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x335)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3['MessageType']['Warning'],'content':this[_0x46ea29(0x2a5)]['t'](_0x4c11de[_0x46ea29(0x38e)]||'')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x432)]&&this[_0x46ea29(0x233)][_0x46ea29(0x344)]({'type':_0x4e15c3[_0x46ea29(0x256)]['Warning'],'content':this[_0x46ea29(0x2a5)]['t']('session.will-retry')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x478)]&&this['_messageService'][_0x46ea29(0x344)]({'type':_0x4e15c3['MessageType'][_0x46ea29(0x476)],'content':this['_localeService']['t']('session.connection-failed')}),_0x4c11de['id']===_0x3958ea[_0x46ea29(0x34e)][_0x46ea29(0x417)]&&this['_messageService']['show']({'type':_0x4e15c3[_0x46ea29(0x256)][_0x46ea29(0x476)],'content':this[_0x46ea29(0x2a5)]['t'](_0x46ea29(0x245))});}));}};_0x3ef4e4=_0x31e8cf([_0x2c4925(0x0,_0x8e6f8f[_0x295e11(0x3a2)]),_0x2c4925(0x1,_0x3958ea[_0x295e11(0x22f)]),_0x2c4925(0x2,_0x40624a[_0x295e11(0x33d)](_0x3958ea['CollaborationUIEventService'])),_0x2c4925(0x3,_0x8e6f8f[_0x295e11(0x3dd)]),_0x2c4925(0x4,_0x8e6f8f[_0x295e11(0x33e)]),_0x2c4925(0x5,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x336)]))],_0x3ef4e4);var _0x2791ef=Object['getOwnPropertyDescriptor'],_0x9fed27=(_0x407397,_0x5eda0d,_0x3f868e,_0x27465a)=>{for(var _0x5abdd1=_0x27465a>0x1?void 0x0:_0x27465a?_0x2791ef(_0x5eda0d,_0x3f868e):_0x5eda0d,_0x44d037=_0x407397['length']-0x1,_0x387584;_0x44d037>=0x0;_0x44d037--)(_0x387584=_0x407397[_0x44d037])&&(_0x5abdd1=_0x387584(_0x5abdd1)||_0x5abdd1);return _0x5abdd1;},_0x282872=(_0x220ff5,_0x8186e2)=>(_0x42d608,_0x425b71)=>_0x8186e2(_0x42d608,_0x425b71,_0x220ff5);let _0x308889=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x4de178,_0xb79518,_0x33a17b,_0x44e31e){const _0x474d16=_0x295e11;super(),_0x9020b(this,_0x474d16(0x393)),(this[_0x474d16(0x351)]=_0x4de178,this[_0x474d16(0x395)]=_0xb79518,this[_0x474d16(0x458)]=_0x33a17b,this['_collaborationSessionService']=_0x44e31e,this[_0x474d16(0x4a0)]());}[_0x295e11(0x4a0)](){const _0x8453ab=_0x295e11;this[_0x8453ab(0x4b4)](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0x8453ab(0x1f3)]();}[_0x295e11(0x1f3)](){const _0x29e4f1=_0x295e11;this[_0x29e4f1(0x2bc)](this[_0x29e4f1(0x464)][_0x29e4f1(0x45b)]['subscribe'](_0x2cf014=>{const _0x7ba852=_0x29e4f1;this['_memberID']=_0x2cf014==null?void 0x0:_0x2cf014[_0x7ba852(0x2e2)];}));}[_0x295e11(0x4b4)](){const _0x40aafe=_0x295e11,_0xd8b0d9=_0x12204f=>{const _0x3d1f4d=_0xd951;var _0x2ee5f9;this[_0x3d1f4d(0x276)](_0x3d1f4d(0x3b0),_0x3d1f4d(0x3e8)+_0x12204f[_0x3d1f4d(0x323)]+_0x3d1f4d(0x3e3)+_0x12204f['filename']+':'+_0x12204f['lineno']+':'+_0x12204f['colno']+'\x0a'+(((_0x2ee5f9=_0x12204f[_0x3d1f4d(0x3b0)])==null?void 0x0:_0x2ee5f9['stack'])||''));};window[_0x40aafe(0x259)](_0x40aafe(0x3b0),_0xd8b0d9),this[_0x40aafe(0x2bc)](()=>{const _0x13c24b=_0x40aafe;window[_0x13c24b(0x268)](_0x13c24b(0x3b0),_0xd8b0d9);});}['_initUnhandledRejectionListener'](){const _0x198791=_0x295e11,_0x1ce688=_0x2461ac=>{const _0x599c23=_0xd951;this['_uploadLog'](_0x599c23(0x3b0),_0x599c23(0x453)+_0x2461ac[_0x599c23(0x402)]);};window[_0x198791(0x259)]('unhandledrejection',_0x1ce688),this['disposeWithMe'](()=>{const _0x3e249f=_0x198791;window[_0x3e249f(0x268)](_0x3e249f(0x47f),_0x1ce688);});}[_0x295e11(0x2da)](){const _0x1a19ac=_0x295e11,_0x125679=this[_0x1a19ac(0x458)][_0x1a19ac(0x3b0)][_0x1a19ac(0x2bf)](this[_0x1a19ac(0x458)]);this[_0x1a19ac(0x458)][_0x1a19ac(0x3b0)]=(..._0x452fc5)=>{const _0x285d1e=_0x1a19ac,_0x37c87f=_0x452fc5[_0x285d1e(0x361)](_0x5a4984=>_0x5a4984 instanceof Error?_0x5a4984['message']+'\x0a'+_0x5a4984[_0x285d1e(0x210)]:String(_0x5a4984))[_0x285d1e(0x236)]('\x20');this[_0x285d1e(0x276)](_0x285d1e(0x3b0),_0x285d1e(0x253)+_0x37c87f),_0x125679(..._0x452fc5);},this[_0x1a19ac(0x2bc)](()=>{const _0x2fd058=_0x1a19ac;this['_logService'][_0x2fd058(0x3b0)]=_0x125679;});}[_0x295e11(0x276)](_0x247c54,_0x199cda){const _0x545c73=_0x295e11;try{const _0x57b6db={'userId':this[_0x545c73(0x393)],'logLabel':_0x247c54,'content':_0x199cda};this[_0x545c73(0x395)][_0x545c73(0x44a)](_0x545c73(0x3a8),{'body':_0x57b6db})[_0x545c73(0x459)](()=>{});}catch{}}};_0x308889=_0x9fed27([_0x282872(0x0,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x282872(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x282872(0x2,_0x40624a[_0x295e11(0x463)]),_0x282872(0x3,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x25b)]))],_0x308889);const _0x146d19=_0x295e11(0x471),_0x1498da={};var _0x25e539=Object[_0x295e11(0x3a0)],_0x475cf6=(_0x5e3968,_0x1ace57,_0x2e7346,_0x2a1a9d)=>{const _0x3b36b5=_0x295e11;for(var _0x455dd1=_0x2a1a9d>0x1?void 0x0:_0x2a1a9d?_0x25e539(_0x1ace57,_0x2e7346):_0x1ace57,_0x59fb3e=_0x5e3968[_0x3b36b5(0x1c4)]-0x1,_0x53e22f;_0x59fb3e>=0x0;_0x59fb3e--)(_0x53e22f=_0x5e3968[_0x59fb3e])&&(_0x455dd1=_0x53e22f(_0x455dd1)||_0x455dd1);return _0x455dd1;},_0xb424f6=(_0x1d2751,_0x4007bf)=>(_0x226338,_0x2714b2)=>_0x4007bf(_0x226338,_0x2714b2,_0x1d2751);let _0x516df5=class{constructor(_0x498256,_0x66e69f){const _0x559a62=_0x295e11;this[_0x559a62(0x1c3)]=_0x498256,this['_renderManagerService']=_0x66e69f;}[_0x295e11(0x1f9)](_0x1adbe4){const _0x8f6da7=_0x295e11;this['_transformUndoRedoStack'](_0x1adbe4),this[_0x8f6da7(0x446)](_0x1adbe4);}[_0x295e11(0x419)](_0x38542a){const _0x56747f=_0x295e11,{unitID:_0xbadb73}=_0x38542a,_0x52604b=this[_0x56747f(0x1ed)][_0x56747f(0x3fe)](_0xbadb73)['with'](_0x118be2[_0x56747f(0x27f)]),{redoCache:_0x3d9c76}=_0x52604b['getUndoRedoMutationParamsCache']();if(_0x3d9c76[_0x56747f(0x1c4)]===0x0)return _0x38542a;let _0x1a316c=_0x40624a[_0x56747f(0x466)][_0x56747f(0x3da)](_0x38542a[_0x56747f(0x2c8)][0x0]);for(let _0x389109=0x0;_0x389109<_0x3d9c76[_0x56747f(0x1c4)];_0x389109++){const _0x21b49d={'id':'doc.mutation.rich-text-editing','params':{..._0x3d9c76[_0x389109]}},_0x20b20e=this[_0x56747f(0x1c3)][_0x56747f(0x27a)](_0x1a316c,_0x21b49d,!0x1);if(_0x2c324c[_0x56747f(0x350)](_0x20b20e))throw _0x20b20e[_0x56747f(0x3b0)];_0x1a316c=_0x20b20e[_0x56747f(0x494)];}return{..._0x40624a[_0x56747f(0x466)][_0x56747f(0x3da)](_0x38542a),'mutations':[_0x1a316c]};}[_0x295e11(0x3f7)](_0x47955d){const _0x4a0590=_0x295e11,{unitID:_0x737230}=_0x47955d,_0x15eac6=this[_0x4a0590(0x1ed)]['getRenderById'](_0x737230)[_0x4a0590(0x444)](_0x118be2[_0x4a0590(0x27f)]),{undoCache:_0x3727a9,redoCache:_0x4ad55b}=_0x15eac6[_0x4a0590(0x32c)]();if(_0x3727a9[_0x4a0590(0x1c4)]===0x0||_0x4ad55b[_0x4a0590(0x1c4)]===0x0)return;const _0x1e5b66=[],_0x1942cd=[];let _0x241064=_0x40624a[_0x4a0590(0x466)][_0x4a0590(0x3da)](_0x47955d[_0x4a0590(0x2c8)][0x0]),_0x52fb1b=_0x40624a[_0x4a0590(0x466)]['deepClone'](_0x47955d[_0x4a0590(0x2c8)][0x0]);for(let _0x43a8ef=_0x3727a9[_0x4a0590(0x1c4)]-0x1;_0x43a8ef>=0x0;_0x43a8ef--){const _0x57471b={'id':_0x4a0590(0x489),'params':{..._0x3727a9[_0x43a8ef]}},_0x2be435={'id':_0x4a0590(0x489),'params':{..._0x4ad55b[_0x43a8ef]}},_0x15c0c9=this['_transformService']['transformMutation'](_0x241064,_0x57471b,!0x1),_0x5ab943=this[_0x4a0590(0x1c3)]['transformMutation'](_0x52fb1b,_0x2be435,!0x1);if(_0x2c324c['isTransformMutationFailure'](_0x15c0c9))throw _0x15c0c9[_0x4a0590(0x3b0)];if(_0x2c324c[_0x4a0590(0x350)](_0x5ab943))throw _0x5ab943[_0x4a0590(0x3b0)];_0x1e5b66[_0x4a0590(0x1d0)](_0x15c0c9[_0x4a0590(0x3d2)]['params']),_0x1942cd[_0x4a0590(0x1d0)](_0x5ab943[_0x4a0590(0x3d2)][_0x4a0590(0x1d6)]),_0x241064=_0x15c0c9[_0x4a0590(0x494)],_0x52fb1b=_0x5ab943[_0x4a0590(0x494)];}_0x15eac6[_0x4a0590(0x3d7)]({'undoCache':_0x1e5b66,'redoCache':_0x1942cd});}[_0x295e11(0x446)](_0x4c1826){const _0x1a89b6=_0x295e11,{unitID:_0x2533aa}=_0x4c1826,_0x175ba1=this[_0x1a89b6(0x1ed)][_0x1a89b6(0x3fe)](_0x2533aa)[_0x1a89b6(0x444)](_0x118be2[_0x1a89b6(0x27f)]),_0x309938=_0x175ba1[_0x1a89b6(0x205)]();if(_0x309938==null)return;const _0x2d81b5=[{'id':_0x1a89b6(0x489),'params':{'unitId':_0x4c1826[_0x1a89b6(0x298)],'actions':null,'textRanges':[_0x309938]}}],_0x135543=this[_0x1a89b6(0x1c3)][_0x1a89b6(0x3fb)](_0x4c1826,_0x2d81b5);if(!_0x2c324c['isTransformMutationsWithChangesetSuccess'](_0x135543))throw _0x135543['error'];const _0x2d096d=_0x135543[_0x1a89b6(0x3d2)][0x0][_0x1a89b6(0x1d6)][_0x1a89b6(0x1f4)];Array[_0x1a89b6(0x44f)](_0x2d096d)&&_0x2d096d[_0x1a89b6(0x1c4)]&&_0x175ba1[_0x1a89b6(0x348)](_0x2d096d[0x0]);}};_0x516df5=_0x475cf6([_0xb424f6(0x0,_0x2c324c[_0x295e11(0x487)]),_0xb424f6(0x1,_0x2680b3['IRenderManagerService'])],_0x516df5);var _0x228c9f=Object[_0x295e11(0x3a0)],_0x1714d3=(_0x8fcc38,_0x13f243,_0x43a4ca,_0x1dc333)=>{const _0x5f4ca8=_0x295e11;for(var _0x19dfad=_0x1dc333>0x1?void 0x0:_0x1dc333?_0x228c9f(_0x13f243,_0x43a4ca):_0x13f243,_0x247b40=_0x8fcc38[_0x5f4ca8(0x1c4)]-0x1,_0x217173;_0x247b40>=0x0;_0x247b40--)(_0x217173=_0x8fcc38[_0x247b40])&&(_0x19dfad=_0x217173(_0x19dfad)||_0x19dfad);return _0x19dfad;},_0x558441=(_0xfd4f4,_0x15dae2)=>(_0x3a885b,_0x21c62f)=>_0x15dae2(_0x3a885b,_0x21c62f,_0xfd4f4);let _0x2c640a=class{constructor(_0x3366a7,_0x4ca0da,_0x5717eb){const _0x107f65=_0x295e11;this['_injector']=_0x3366a7,this[_0x107f65(0x1c3)]=_0x4ca0da,this[_0x107f65(0x2fc)]=_0x5717eb;}[_0x295e11(0x422)](_0x479a34){this['_transformHistoryAndStateStack'](_0x479a34);}[_0x295e11(0x419)](_0x58abe5){const _0x1381e9=_0x295e11,{unitID:_0x4ab10b}=_0x58abe5,{collaboration:_0x5ee347}=this[_0x1381e9(0x2fc)]['getStateCache'](_0x4ab10b);if(_0x5ee347[_0x1381e9(0x1c4)]===0x0)return _0x58abe5;let _0x738f18=_0x40624a[_0x1381e9(0x466)][_0x1381e9(0x3da)](_0x58abe5['mutations'][0x0]);for(let _0x473fb2=0x0;_0x473fb2<_0x5ee347[_0x1381e9(0x1c4)];_0x473fb2++){const _0xbe55d9={'id':_0x1381e9(0x489),'params':{'unitId':_0x5ee347[_0x473fb2]['unitId'],..._0x5ee347[_0x473fb2][_0x1381e9(0x1ef)]}},_0x1440b1=this[_0x1381e9(0x1c3)][_0x1381e9(0x27a)](_0x738f18,_0xbe55d9,!0x1);if(_0x2c324c[_0x1381e9(0x350)](_0x1440b1))throw _0x1440b1[_0x1381e9(0x3b0)];_0x738f18=_0x1440b1[_0x1381e9(0x494)];}return{..._0x40624a[_0x1381e9(0x466)]['deepClone'](_0x58abe5),'mutations':[_0x738f18]};}[_0x295e11(0x30b)](_0x3c2ae0){const _0x4011c1=_0x295e11,{unitID:_0x18d294}=_0x3c2ae0,{history:_0x1de47f,collaboration:_0x508721}=this[_0x4011c1(0x2fc)][_0x4011c1(0x2c3)](_0x18d294);if(_0x1de47f['length']===0x0&&_0x508721[_0x4011c1(0x1c4)]===0x0)return;const _0x388a17=[],_0x46a1e1=[];let _0x31ccae=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]),_0x1d162d=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]);for(let _0x5b86d4=_0x1de47f['length']-0x1;_0x5b86d4>=0x0;_0x5b86d4--){const _0x23e857={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1de47f[_0x5b86d4][_0x4011c1(0x495)],..._0x1de47f[_0x5b86d4][_0x4011c1(0x414)]}},_0x1fb002={'id':_0x4011c1(0x489),'params':{'unitId':_0x1de47f[_0x5b86d4]['unitId'],..._0x1de47f[_0x5b86d4][_0x4011c1(0x1ef)]}},_0x1a3ef3=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x31ccae,_0x23e857,!0x1),_0x3cf942=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x1d162d,_0x1fb002,!0x1);if(_0x2c324c[_0x4011c1(0x350)](_0x1a3ef3))throw _0x1a3ef3[_0x4011c1(0x3b0)];if(_0x2c324c['isTransformMutationFailure'](_0x3cf942))throw _0x3cf942[_0x4011c1(0x3b0)];_0x388a17[_0x4011c1(0x1d0)]({..._0x1de47f[_0x5b86d4],'undoState':_0x1a3ef3[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)],'redoState':_0x3cf942[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)]}),_0x31ccae=_0x1a3ef3[_0x4011c1(0x494)],_0x1d162d=_0x3cf942[_0x4011c1(0x494)];}_0x31ccae=_0x40624a[_0x4011c1(0x466)][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]),_0x1d162d=_0x40624a['Tools'][_0x4011c1(0x3da)](_0x3c2ae0[_0x4011c1(0x2c8)][0x0]);for(let _0xdd9db5=_0x508721['length']-0x1;_0xdd9db5>=0x0;_0xdd9db5--){const _0x152d96={'id':_0x4011c1(0x489),'params':{'unitId':_0x508721[_0xdd9db5][_0x4011c1(0x495)],..._0x508721[_0xdd9db5]['undoState']}},_0x26e121={'id':_0x4011c1(0x489),'params':{'unitId':_0x508721[_0xdd9db5][_0x4011c1(0x495)],..._0x508721[_0xdd9db5][_0x4011c1(0x1ef)]}},_0x27e4ee=this[_0x4011c1(0x1c3)]['transformMutation'](_0x31ccae,_0x152d96,!0x1),_0x51dc8f=this[_0x4011c1(0x1c3)][_0x4011c1(0x27a)](_0x1d162d,_0x26e121,!0x1);if(_0x2c324c[_0x4011c1(0x350)](_0x27e4ee))throw _0x27e4ee[_0x4011c1(0x3b0)];if(_0x2c324c[_0x4011c1(0x350)](_0x51dc8f))throw _0x51dc8f['error'];_0x46a1e1[_0x4011c1(0x1d0)]({..._0x508721[_0xdd9db5],'undoState':_0x27e4ee[_0x4011c1(0x3d2)]['params'],'redoState':_0x51dc8f[_0x4011c1(0x3d2)][_0x4011c1(0x1d6)]}),_0x31ccae=_0x27e4ee[_0x4011c1(0x494)],_0x1d162d=_0x51dc8f['m1Prime'];}this[_0x4011c1(0x2fc)][_0x4011c1(0x225)](_0x18d294,{'history':_0x388a17,'collaboration':_0x46a1e1});}};_0x2c640a=_0x1714d3([_0x558441(0x0,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x558441(0x1,_0x2c324c[_0x295e11(0x487)]),_0x558441(0x2,_0x40624a[_0x295e11(0x33d)](_0x118be2[_0x295e11(0x292)]))],_0x2c640a);var _0xe51764=Object['getOwnPropertyDescriptor'],_0x2bc37e=(_0x2ddb06,_0x206184,_0x2fc267,_0x4fa6c8)=>{const _0x596df3=_0x295e11;for(var _0x2d54cb=_0x4fa6c8>0x1?void 0x0:_0x4fa6c8?_0xe51764(_0x206184,_0x2fc267):_0x206184,_0x1b0cb3=_0x2ddb06[_0x596df3(0x1c4)]-0x1,_0x43f500;_0x1b0cb3>=0x0;_0x1b0cb3--)(_0x43f500=_0x2ddb06[_0x1b0cb3])&&(_0x2d54cb=_0x43f500(_0x2d54cb)||_0x2d54cb);return _0x2d54cb;},_0x1448a9=(_0xc7e7e0,_0x1bcdac)=>(_0x36dd66,_0x500562)=>_0x1bcdac(_0x36dd66,_0x500562,_0xc7e7e0);let _0x1165fa=class{constructor(_0x2dbfae,_0x141d78){const _0x340588=_0x295e11;this['_injector']=_0x2dbfae,this[_0x340588(0x1c3)]=_0x141d78;}[_0x295e11(0x3cb)](_0xad5b72){const _0x38493d=_0x295e11;var _0x17d107;const _0x4ecc4d=this[_0x38493d(0x351)][_0x38493d(0x1de)](_0x3f3b23[_0x38493d(0x34f)]),_0x21811f=(_0x17d107=_0x4ecc4d[_0x38493d(0x3c9)]())!=null?_0x17d107:[];if(_0x21811f[_0x38493d(0x1c4)]===0x0)return;const _0xf31187=_0xad5b72[_0x38493d(0x298)],_0x1a1b71=[{'id':_0x38493d(0x489),'params':{'unitId':_0xf31187,'actions':null,'textRanges':_0x21811f}}],_0x225db4=this[_0x38493d(0x1c3)][_0x38493d(0x3fb)](_0xad5b72,_0x1a1b71);if(!_0x2c324c[_0x38493d(0x38b)](_0x225db4))throw _0x225db4[_0x38493d(0x3b0)];const _0x53b2e9=_0x225db4[_0x38493d(0x3d2)][0x0][_0x38493d(0x1d6)][_0x38493d(0x1f4)];Array[_0x38493d(0x44f)](_0x53b2e9)&&_0x53b2e9[_0x38493d(0x1c4)]&&_0x4ecc4d[_0x38493d(0x2dc)](_0x53b2e9,{'unitId':_0xf31187,'subUnitId':_0xf31187},!0x1);}};_0x1165fa=_0x2bc37e([_0x1448a9(0x0,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x1448a9(0x1,_0x2c324c[_0x295e11(0x487)])],_0x1165fa);var _0x368a97=Object[_0x295e11(0x3a0)],_0x488d23=(_0x389eab,_0x3b6076,_0x19ce94,_0x5a2e4f)=>{const _0xe45ea=_0x295e11;for(var _0x55d49a=_0x5a2e4f>0x1?void 0x0:_0x5a2e4f?_0x368a97(_0x3b6076,_0x19ce94):_0x3b6076,_0x1852ae=_0x389eab[_0xe45ea(0x1c4)]-0x1,_0x5ec3de;_0x1852ae>=0x0;_0x1852ae--)(_0x5ec3de=_0x389eab[_0x1852ae])&&(_0x55d49a=_0x5ec3de(_0x55d49a)||_0x55d49a);return _0x55d49a;},_0x178c3d=(_0x506b87,_0xd415ac)=>(_0x1f6c46,_0x5b9abc)=>_0xd415ac(_0x1f6c46,_0x5b9abc,_0x506b87);let _0x22b2b8=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x76a33e,_0x49edf4,_0xaeffd1,_0x15ef02,_0x42766f,_0x4dcb6e,_0x45ab22,_0xafb9eb){const _0x210030=_0x295e11;super(),_0x9020b(this,_0x210030(0x3bf),new _0x5b38f4[(_0x210030(0x21d))](_0x3958ea[_0x210030(0x3a7)][_0x210030(0x20f)])),(this[_0x210030(0x2fc)]=_0x76a33e,this['_collaborationController']=_0x49edf4,this['_docTransformIMECacheService']=_0xaeffd1,this['_docTransformStateCacheService']=_0x15ef02,this[_0x210030(0x37c)]=_0x42766f,this[_0x210030(0x3c7)]=_0x4dcb6e,this[_0x210030(0x233)]=_0x45ab22,this[_0x210030(0x2a5)]=_0xafb9eb,this[_0x210030(0x48f)]());}[_0x295e11(0x48f)](){const _0x89f344=_0x295e11;this['disposeWithMe'](this[_0x89f344(0x2c6)][_0x89f344(0x35f)]['subscribe'](_0xa3270f=>{const _0x1521ae=_0x89f344,_0x2e4bdf=this[_0x1521ae(0x2fc)][_0x1521ae(0x3ad)]['subscribe'](_0x3d23f8=>{const _0x2e7699=_0x1521ae;if(_0x3d23f8==null)return;const {unitId:_0x879a5c,redoState:_0x1c67dd,commandId:_0x5d1873}=_0x3d23f8;if(_0x879a5c!==_0xa3270f[_0x2e7699(0x298)])return;const _0x56e44f={'id':_0x5d1873,'type':_0x40624a[_0x2e7699(0x2e9)]['MUTATION'],'params':{'unitId':_0x879a5c,'actions':_0x1c67dd[_0x2e7699(0x43d)],'textRanges':null}};_0xa3270f['onLocalMutation'](_0x56e44f);});if(_0xa3270f[_0x1521ae(0x2bc)](_0x2e4bdf),_0xa3270f instanceof _0x3958ea[_0x1521ae(0x239)]){const _0x1b6ba9={'onTransformIME':_0x4d1e27=>this[_0x1521ae(0x34b)]['transformIMECache'](_0x4d1e27),'onTransformState':_0x3029b5=>this['_docTransformStateCacheService'][_0x1521ae(0x422)](_0x3029b5),'onTransformSelections':_0x2950ee=>this[_0x1521ae(0x37c)][_0x1521ae(0x3cb)](_0x2950ee),'onSyncEditingCollabCursor':_0xf108b8=>this['_docSyncEditingCollabCursorService'][_0x1521ae(0x3fc)](_0xf108b8),'onTransformRemoteChangesetByIMECache':_0x25c36d=>this[_0x1521ae(0x34b)][_0x1521ae(0x419)](_0x25c36d),'onTransformRemoteChangesetByStateCache':_0x335dcb=>this[_0x1521ae(0x2e8)][_0x1521ae(0x419)](_0x335dcb)};_0xa3270f[_0x1521ae(0x22a)](_0x1b6ba9);}}));}};_0x22b2b8=_0x488d23([_0x178c3d(0x0,_0x40624a[_0x295e11(0x33d)](_0x118be2[_0x295e11(0x292)])),_0x178c3d(0x1,_0x40624a[_0x295e11(0x33d)](_0x3958ea[_0x295e11(0x269)])),_0x178c3d(0x2,_0x40624a[_0x295e11(0x33d)](_0x516df5)),_0x178c3d(0x3,_0x40624a[_0x295e11(0x33d)](_0x2c640a)),_0x178c3d(0x4,_0x40624a['Inject'](_0x1165fa)),_0x178c3d(0x5,_0x40624a['Inject'](_0x2a125f)),_0x178c3d(0x6,_0x8e6f8f[_0x295e11(0x3dd)]),_0x178c3d(0x7,_0x40624a[_0x295e11(0x33d)](_0x40624a['LocaleService']))],_0x22b2b8);var _0x319d71=(_0x4df9c9=>(_0x4df9c9[_0x4df9c9[_0x295e11(0x1ec)]=0x0]=_0x295e11(0x1ec),_0x4df9c9[_0x4df9c9['OK']=0x1]='OK',_0x4df9c9[_0x4df9c9[_0x295e11(0x4a9)]=0x2]=_0x295e11(0x4a9),_0x4df9c9[_0x4df9c9[_0x295e11(0x33c)]=0x3]=_0x295e11(0x33c),_0x4df9c9[_0x4df9c9[_0x295e11(0x29a)]=0x4]='NOT_FOUND',_0x4df9c9[_0x4df9c9[_0x295e11(0x3ea)]=0x5]='UNAUTHENTICATED',_0x4df9c9[_0x4df9c9[_0x295e11(0x392)]=0x6]=_0x295e11(0x392),_0x4df9c9[_0x4df9c9[_0x295e11(0x214)]=0x7]=_0x295e11(0x214),_0x4df9c9[_0x4df9c9['TOO_MANY_REQUESTS']=0x8]=_0x295e11(0x3b1),_0x4df9c9[_0x4df9c9[_0x295e11(0x2ad)]=0x9]=_0x295e11(0x2ad),_0x4df9c9[_0x4df9c9['LOGIN_FAILED']=0xa]=_0x295e11(0x327),_0x4df9c9[_0x4df9c9[_0x295e11(0x48c)]=0xb]=_0x295e11(0x48c),_0x4df9c9[_0x4df9c9[_0x295e11(0x488)]=0xc]=_0x295e11(0x488),_0x4df9c9[_0x4df9c9[_0x295e11(0x380)]=0xd]=_0x295e11(0x380),_0x4df9c9[_0x4df9c9[_0x295e11(0x346)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4df9c9[_0x4df9c9['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x4df9c9[_0x4df9c9[_0x295e11(0x44b)]=0x10]=_0x295e11(0x44b),_0x4df9c9[_0x4df9c9['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x295e11(0x39d),_0x4df9c9[_0x4df9c9[_0x295e11(0x2c7)]=0x65]=_0x295e11(0x2c7),_0x4df9c9[_0x4df9c9['USER_NOT_FOUND']=0xc9]=_0x295e11(0x333),_0x4df9c9[_0x4df9c9['USER_IS_ANONYMOUS']=0xca]=_0x295e11(0x29b),_0x4df9c9[_0x4df9c9[_0x295e11(0x2a7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4df9c9[_0x4df9c9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x295e11(0x211),_0x4df9c9[_0x4df9c9[_0x295e11(0x428)]=0x1772]=_0x295e11(0x428),_0x4df9c9[_0x4df9c9[_0x295e11(0x24b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4df9c9[_0x4df9c9['APPLY_REJECT']=0x1b59]=_0x295e11(0x244),_0x4df9c9[_0x4df9c9[_0x295e11(0x282)]=0x1b5a]=_0x295e11(0x282),_0x4df9c9[_0x4df9c9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x295e11(0x3e0),_0x4df9c9[_0x4df9c9[_0x295e11(0x3a5)]=0x1b5c]=_0x295e11(0x3a5),_0x4df9c9[_0x4df9c9['APPLY_DUPLICATED']=0x1b5d]=_0x295e11(0x1d1),_0x4df9c9[_0x4df9c9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x295e11(0x289),_0x4df9c9[_0x4df9c9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x295e11(0x413),_0x4df9c9[_0x4df9c9[_0x295e11(0x420)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4df9c9[_0x4df9c9[_0x295e11(0x27c)]=0x232b]=_0x295e11(0x27c),_0x4df9c9[_0x4df9c9[_0x295e11(0x338)]=0x232c]=_0x295e11(0x338),_0x4df9c9[_0x4df9c9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x295e11(0x47b),_0x4df9c9[_0x4df9c9[_0x295e11(0x41f)]=0x2711]=_0x295e11(0x41f),_0x4df9c9[_0x4df9c9[_0x295e11(0x306)]=0x2712]=_0x295e11(0x306),_0x4df9c9[_0x4df9c9[_0x295e11(0x389)]=0x2713]=_0x295e11(0x389),_0x4df9c9[_0x4df9c9[_0x295e11(0x308)]=0x2714]=_0x295e11(0x308),_0x4df9c9[_0x4df9c9[_0x295e11(0x3f4)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4df9c9[_0x4df9c9[_0x295e11(0x1f7)]=0x271b]=_0x295e11(0x1f7),_0x4df9c9[_0x4df9c9[_0x295e11(0x243)]=0x271c]=_0x295e11(0x243),_0x4df9c9[_0x4df9c9[_0x295e11(0x1dc)]=0x271d]=_0x295e11(0x1dc),_0x4df9c9[_0x4df9c9[_0x295e11(0x3cf)]=0x271e]=_0x295e11(0x3cf),_0x4df9c9[_0x4df9c9[_0x295e11(0x2f8)]=0x271f]=_0x295e11(0x2f8),_0x4df9c9[_0x4df9c9[_0x295e11(0x325)]=0x2720]=_0x295e11(0x325),_0x4df9c9[_0x4df9c9[_0x295e11(0x418)]=0x2af9]=_0x295e11(0x418),_0x4df9c9[_0x4df9c9[_0x295e11(0x479)]=0x2ee1]=_0x295e11(0x479),_0x4df9c9[_0x4df9c9[_0x295e11(0x2ea)]=0x2ee2]='INVALID_INVITE_CODE',_0x4df9c9[_0x4df9c9['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4df9c9[_0x4df9c9[_0x295e11(0x228)]=0x2ee4]=_0x295e11(0x228),_0x4df9c9[_0x4df9c9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4df9c9[_0x4df9c9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x295e11(0x45c),_0x4df9c9[_0x4df9c9[_0x295e11(0x264)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4df9c9[_0x4df9c9[_0x295e11(0x32b)]=0x32cb]=_0x295e11(0x32b),_0x4df9c9[_0x4df9c9[_0x295e11(0x4b3)]=0x36b1]=_0x295e11(0x4b3),_0x4df9c9[_0x4df9c9[_0x295e11(0x307)]=0x36b2]=_0x295e11(0x307),_0x4df9c9[_0x4df9c9[_0x295e11(0x3f2)]=0x36b3]=_0x295e11(0x3f2),_0x4df9c9[_0x4df9c9[_0x295e11(0x2f7)]=0x36b4]=_0x295e11(0x2f7),_0x4df9c9[_0x4df9c9[_0x295e11(0x26c)]=0x36b5]=_0x295e11(0x26c),_0x4df9c9[_0x4df9c9['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x295e11(0x447),_0x4df9c9[_0x4df9c9[_0x295e11(0x3b6)]=0x36b7]=_0x295e11(0x3b6),_0x4df9c9[_0x4df9c9['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x295e11(0x31f),_0x4df9c9[_0x4df9c9[_0x295e11(0x33f)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4df9c9[_0x4df9c9['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x295e11(0x4b2),_0x4df9c9[_0x4df9c9[_0x295e11(0x258)]=0x3717]=_0x295e11(0x258),_0x4df9c9[_0x4df9c9[_0x295e11(0x467)]=0x37dd]=_0x295e11(0x467),_0x4df9c9[_0x4df9c9[_0x295e11(0x238)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4df9c9[_0x4df9c9[_0x295e11(0x294)]=0x3a9a]=_0x295e11(0x294),_0x4df9c9[_0x4df9c9[_0x295e11(0x493)]=0x3a9b]=_0x295e11(0x493),_0x4df9c9[_0x4df9c9[_0x295e11(0x442)]=0x3a9c]=_0x295e11(0x442),_0x4df9c9[_0x4df9c9[_0x295e11(0x44d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4df9c9[_0x4df9c9[_0x295e11(0x23e)]=0x3a9e]=_0x295e11(0x23e),_0x4df9c9[_0x4df9c9[_0x295e11(0x330)]=0x3a9f]=_0x295e11(0x330),_0x4df9c9[_0x4df9c9[_0x295e11(0x2e6)]=0x3e81]=_0x295e11(0x2e6),_0x4df9c9[_0x4df9c9[_0x295e11(0x255)]=-0x1]=_0x295e11(0x255),_0x4df9c9))(_0x319d71||{});function _0x143dd4(_0x1b9485){const _0x3d0277=_0x295e11;var _0x2be7e6,_0x1d6e22;const _0x4a10a4=(_0x2be7e6=_0x1b9485[_0x3d0277(0x43a)])==null?void 0x0:_0x2be7e6[_0x3d0277(0x354)],_0xe72418=((_0x1d6e22=_0x1b9485['stageInfo'])==null?void 0x0:_0x1d6e22[_0x3d0277(0x2fe)])||0x0;return _0x4a10a4===_0x100a4f[_0x3d0277(0x262)]['START_CALCULATION']&&_0xe72418>0x0;}function _0x361644(_0x44083a){const _0x34793c=_0x295e11;return _0x44083a[_0x34793c(0x254)]===_0x100a4f[_0x34793c(0x21e)]['SUCCESS'];}var _0x161bf3=Object[_0x295e11(0x3a0)],_0x5d9f83=(_0x269f0d,_0x57c0a6,_0x1c7f2f,_0x57a56a)=>{for(var _0x553e4f=_0x57a56a>0x1?void 0x0:_0x57a56a?_0x161bf3(_0x57c0a6,_0x1c7f2f):_0x57c0a6,_0x23464b=_0x269f0d['length']-0x1,_0x1a0113;_0x23464b>=0x0;_0x23464b--)(_0x1a0113=_0x269f0d[_0x23464b])&&(_0x553e4f=_0x1a0113(_0x553e4f)||_0x553e4f);return _0x553e4f;},_0x16e967=(_0x10ba53,_0x59b4cf)=>(_0x5d5295,_0x2ea79d)=>_0x59b4cf(_0x5d5295,_0x2ea79d,_0x10ba53);const _0x55cf85=_0x295e11(0x302),_0x918f2b=_0x295e11(0x30e),_0x272d31=_0x295e11(0x42b);let _0x2f3884=class extends _0x40624a['Disposable']{constructor(_0x225761,_0x5d0559,_0x2b9c81,_0x204d62,_0x2f9443,_0x468d02,_0xf5bd9){const _0x4a297c=_0x295e11;super(),_0x9020b(this,_0x4a297c(0x3bd),null),_0x9020b(this,_0x4a297c(0x492),0x0),_0x9020b(this,'_currentUsage',0x0),_0x9020b(this,_0x4a297c(0x1c9),[]),_0x9020b(this,_0x4a297c(0x49d),0x0),(this[_0x4a297c(0x233)]=_0x225761,this[_0x4a297c(0x3ee)]=_0x5d0559,this[_0x4a297c(0x2d4)]=_0x2b9c81,this[_0x4a297c(0x395)]=_0x204d62,this[_0x4a297c(0x3ba)]=_0x2f9443,this[_0x4a297c(0x458)]=_0x468d02,this['_localeService']=_0xf5bd9,this[_0x4a297c(0x297)]());}[_0x295e11(0x297)](){const _0x27bf7a=_0x295e11;this[_0x27bf7a(0x2bc)](this[_0x27bf7a(0x3ee)]['beforeCommandExecuted']((_0x13d7ac,_0x2246ba)=>{const _0x29ed22=_0x27bf7a;var _0x1c851b;if(_0x13d7ac['id']!==_0x100a4f[_0x29ed22(0x441)]['id'])return;const _0x2315a0=_0x13d7ac[_0x29ed22(0x1d6)];if(!this[_0x29ed22(0x32a)]((_0x1c851b=_0x2315a0[_0x29ed22(0x46f)])!=null?_0x1c851b:[]))return;if(!this[_0x29ed22(0x23a)]())throw this['_checkAndWaitForCalculationPermission'](_0x13d7ac,_0x2246ba),this['_showGuardMessage'](),new _0x40624a['CanceledError']();})),this[_0x27bf7a(0x2bc)](this[_0x27bf7a(0x3ee)]['onCommandExecuted']((_0x2dec4d,_0x13ba47)=>{const _0x3f4b7a=_0x27bf7a;if(_0x2dec4d['id']!==_0x100a4f[_0x3f4b7a(0x29f)]['id'])return;const _0x3a9303=_0x2dec4d[_0x3f4b7a(0x1d6)];if(_0x143dd4(_0x3a9303)){const _0x4e049b=_0x40624a['generateRandomId']();this[_0x3f4b7a(0x1c9)][_0x3f4b7a(0x2f0)](_0x4e049b),this[_0x3f4b7a(0x450)](_0x4e049b);}else{if(_0x361644(_0x3a9303)&&this['_taskIds'][_0x3f4b7a(0x1c4)]>0x0){const _0xbd4839=this[_0x3f4b7a(0x1c9)][_0x3f4b7a(0x45a)]();this[_0x3f4b7a(0x4a7)](_0xbd4839);}}}));}[_0x295e11(0x3d1)](){const _0xd03487=_0x295e11;super[_0xd03487(0x3d1)](),this[_0xd03487(0x43e)](),this['_taskIds']=[],this[_0xd03487(0x3f5)]=0x0,this[_0xd03487(0x492)]=0x0,this[_0xd03487(0x49d)]=0x0;}async[_0x295e11(0x46b)](_0x302348,_0x23fe20){const _0x58fbaf=_0x295e11;for(let _0x26e843=0x0;_0x26e843<0x1e;_0x26e843++)try{if(await this[_0x58fbaf(0x1ff)](),this[_0x58fbaf(0x23a)]()){this[_0x58fbaf(0x34a)](_0x302348,_0x23fe20),this['_messageService'][_0x58fbaf(0x344)]({'content':this[_0x58fbaf(0x2a5)]['t'](_0x58fbaf(0x3e5)),'type':_0x4e15c3[_0x58fbaf(0x256)][_0x58fbaf(0x470)]});return;}await new Promise(_0x469cc3=>{const _0x22ddd1=_0x58fbaf;this[_0x22ddd1(0x3bd)]=window[_0x22ddd1(0x30f)](_0x469cc3,0x3e8);});}catch(_0x1812e6){this['_logService'][_0x58fbaf(0x3b0)](_0x1812e6);}this[_0x58fbaf(0x233)][_0x58fbaf(0x344)]({'content':this['_localeService']['t'](_0x58fbaf(0x485)),'type':_0x4e15c3[_0x58fbaf(0x256)][_0x58fbaf(0x476)]});}[_0x295e11(0x34a)](_0x23753a,_0x3d2a46){const _0x49fce1=_0x295e11;try{this['_commandService'][_0x49fce1(0x48b)](_0x23753a['id'],_0x23753a['params'],_0x3d2a46);}catch(_0x3c77d8){this[_0x49fce1(0x458)][_0x49fce1(0x3b0)](_0x3c77d8);}}[_0x295e11(0x1dd)](_0x5f1832,_0x34df17){const _0x12502a=_0x295e11;_0x34df17<this['_lastResponseTimestamp']||(this[_0x12502a(0x49d)]=_0x34df17,this[_0x12502a(0x492)]=Number[_0x12502a(0x299)](_0x5f1832[_0x12502a(0x318)]),this[_0x12502a(0x3f5)]=Number[_0x12502a(0x299)](_0x5f1832[_0x12502a(0x296)]));}async[_0x295e11(0x450)](_0x5bdc4e){const _0x2af952=_0x295e11;var _0x2eef35,_0x15c990;const _0x3a6982=Date[_0x2af952(0x40f)]();try{const _0x584b09=((_0x2eef35=this[_0x2af952(0x2d4)][_0x2af952(0x231)](_0x3958ea[_0x2af952(0x222)]))==null?void 0x0:_0x2eef35[_0x2af952(0x1e0)])||_0x918f2b,_0x590f0d=(await this[_0x2af952(0x395)][_0x2af952(0x44a)](_0x584b09,{'body':JSON[_0x2af952(0x2be)]({'taskId':_0x5bdc4e})}))[_0x2af952(0x4a2)];if(((_0x15c990=_0x590f0d['error'])==null?void 0x0:_0x15c990[_0x2af952(0x286)])!==_0x319d71['OK'])return;this[_0x2af952(0x1dd)](_0x590f0d[_0x2af952(0x284)],_0x3a6982);}catch(_0x1b9cd1){this['_logService']['error'](_0x1b9cd1);}}async[_0x295e11(0x1ff)](_0x363f61){const _0x283ad5=_0x295e11;var _0x358e7c,_0x53746a;const _0x43a2fe=Date['now']();try{const _0x41b3a0=((_0x358e7c=this[_0x283ad5(0x2d4)]['getConfig'](_0x3958ea[_0x283ad5(0x222)]))==null?void 0x0:_0x358e7c['getformulaLimitStatusUrl'])||_0x55cf85,_0x3cc283=_0x363f61?_0x41b3a0+'?taskId='+encodeURIComponent(_0x363f61):_0x41b3a0,_0x4c03fb=(await this[_0x283ad5(0x395)][_0x283ad5(0x1de)](_0x3cc283))[_0x283ad5(0x4a2)];if(((_0x53746a=_0x4c03fb[_0x283ad5(0x3b0)])==null?void 0x0:_0x53746a[_0x283ad5(0x286)])!==_0x319d71['OK'])return;this['_setFormulaLimitStatus'](_0x4c03fb[_0x283ad5(0x284)],_0x43a2fe);}catch(_0x527548){this[_0x283ad5(0x458)][_0x283ad5(0x3b0)](_0x527548);}}async[_0x295e11(0x4a7)](_0x366abc){const _0x3e112b=_0x295e11;var _0x15dfdf,_0x2a02e5;const _0x721099=Date[_0x3e112b(0x40f)]();try{const _0x391bf7=((_0x15dfdf=this['_configService']['getConfig'](_0x3958ea[_0x3e112b(0x222)]))==null?void 0x0:_0x15dfdf[_0x3e112b(0x1c0)])||_0x272d31,_0x58b32a=(await this[_0x3e112b(0x395)][_0x3e112b(0x44a)](_0x391bf7,{'body':JSON['stringify']({'taskId':_0x366abc})}))[_0x3e112b(0x4a2)];if(((_0x2a02e5=_0x58b32a[_0x3e112b(0x3b0)])==null?void 0x0:_0x2a02e5[_0x3e112b(0x286)])!==_0x319d71['OK'])return;this[_0x3e112b(0x1dd)](_0x58b32a[_0x3e112b(0x284)],_0x721099);}catch(_0x1e0304){this[_0x3e112b(0x458)][_0x3e112b(0x3b0)](_0x1e0304);}}['_checkCalculationAvailable'](){const _0x1aef1f=_0x295e11;return this[_0x1aef1f(0x492)]===0x0?!0x0:this[_0x1aef1f(0x492)]-this[_0x1aef1f(0x3f5)]>0x0;}[_0x295e11(0x43e)](){const _0x4475b9=_0x295e11;this[_0x4475b9(0x3bd)]&&(clearTimeout(this[_0x4475b9(0x3bd)]),this[_0x4475b9(0x3bd)]=null);}[_0x295e11(0x2f9)](){const _0x57899b=_0x295e11;this[_0x57899b(0x233)][_0x57899b(0x344)]({'content':this[_0x57899b(0x2a5)]['t']('formula.calculation.waiting'),'type':_0x4e15c3[_0x57899b(0x256)][_0x57899b(0x39b)]});}[_0x295e11(0x32a)](_0x1de230){const _0x5bb94c=_0x295e11;for(const _0x2d63b8 of _0x1de230){const {unitId:_0x3cde27,sheetId:_0x1f7711,range:_0x4f34b9}=_0x2d63b8,_0x4e678d=this['_univerInstanceService']['getUnit'](_0x3cde27);if(!_0x4e678d)continue;const _0x2be0c4=_0x4e678d[_0x5bb94c(0x3e2)](_0x1f7711);if(!_0x2be0c4)continue;const _0x3ca1e0=_0x2be0c4[_0x5bb94c(0x3e1)]();for(let _0x755b32=_0x4f34b9[_0x5bb94c(0x218)];_0x755b32<=_0x4f34b9[_0x5bb94c(0x421)];_0x755b32++)for(let _0x17d3f7=_0x4f34b9[_0x5bb94c(0x25f)];_0x17d3f7<=_0x4f34b9[_0x5bb94c(0x3af)];_0x17d3f7++){const _0x36e27d=_0x3ca1e0['getValue'](_0x755b32,_0x17d3f7);if(_0x36e27d&&(_0x40624a[_0x5bb94c(0x3a1)](_0x36e27d['f'])||_0x40624a['isFormulaId'](_0x36e27d['si'])))return!0x0;}}return!0x1;}};_0x2f3884=_0x5d9f83([_0x16e967(0x0,_0x40624a[_0x295e11(0x33d)](_0x8e6f8f[_0x295e11(0x3dd)])),_0x16e967(0x1,_0x40624a['ICommandService']),_0x16e967(0x2,_0x40624a[_0x295e11(0x26b)]),_0x16e967(0x3,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x16e967(0x4,_0x40624a[_0x295e11(0x2e4)]),_0x16e967(0x5,_0x40624a['ILogService']),_0x16e967(0x6,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x336)]))],_0x2f3884);var _0xd76ff7=Object[_0x295e11(0x3a0)],_0xc80f08=(_0x5c7170,_0x19d41a,_0x24c4a4,_0x1b31f6)=>{const _0x2fb312=_0x295e11;for(var _0x3b9490=_0x1b31f6>0x1?void 0x0:_0x1b31f6?_0xd76ff7(_0x19d41a,_0x24c4a4):_0x19d41a,_0x1c13dd=_0x5c7170[_0x2fb312(0x1c4)]-0x1,_0xf04be;_0x1c13dd>=0x0;_0x1c13dd--)(_0xf04be=_0x5c7170[_0x1c13dd])&&(_0x3b9490=_0xf04be(_0x3b9490)||_0x3b9490);return _0x3b9490;},_0x5b38eb=(_0x29c3f9,_0x53c8d0)=>(_0xe464cc,_0x2c92aa)=>_0x53c8d0(_0xe464cc,_0x2c92aa,_0x29c3f9);let _0x3698c4=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x4e7466,_0x33f518,_0x2b911c){const _0xdc9bf9=_0x295e11;super(),_0x9020b(this,_0xdc9bf9(0x32e),new Map()),_0x9020b(this,_0xdc9bf9(0x1fe),new Map()),_0x9020b(this,'_disabled',!0x1),(this[_0xdc9bf9(0x2d4)]=_0x4e7466,this[_0xdc9bf9(0x490)]=_0x33f518,this[_0xdc9bf9(0x321)]=_0x2b911c);}[_0x295e11(0x200)](){const _0x14cbd3=_0x295e11;this[_0x14cbd3(0x220)]=!0x0;}[_0x295e11(0x3a6)](){const _0x1a6373=_0x295e11;this[_0x1a6373(0x220)]=!0x1;}get[_0x295e11(0x313)](){return this['_saveTaskMap'];}[_0x295e11(0x3d1)](){const _0x4b1ad8=_0x295e11;this[_0x4b1ad8(0x46c)]()['then'](()=>super[_0x4b1ad8(0x3d1)]());}async[_0x295e11(0x4aa)](_0x23171b){const _0x332140=_0x295e11;return this[_0x332140(0x220)]?null:this[_0x332140(0x490)][_0x332140(0x1e5)](_0x3958ea[_0x332140(0x2db)](_0x23171b));}async[_0x295e11(0x1be)](_0x5a590a,_0xf74f56){const _0x1cf23a=_0x295e11;return!!this[_0x1cf23a(0x490)][_0x1cf23a(0x406)](_0x5a590a,_0xf74f56);}[_0x295e11(0x251)](_0x41b57a,_0x587a5,_0x1b55a6,_0x3c1683){const _0x5ce9a2=_0x295e11,_0x5ef294=this['_revisionService'][_0x5ce9a2(0x443)](_0x41b57a);this[_0x5ce9a2(0x32e)][_0x5ce9a2(0x370)](_0x41b57a,{'unitID':_0x41b57a,'type':_0x587a5,'awaitingChangeset':_0x1b55a6,'mutations':_0x3c1683,'rev':_0x5ef294}),this[_0x5ce9a2(0x1fe)]['has'](_0x41b57a)||this[_0x5ce9a2(0x257)](_0x41b57a);}['_scheduleSaving'](_0x5e498c){const _0x4517e5=_0x295e11,_0x40d34b=this[_0x4517e5(0x261)]();_0x40d34b===0x0?this['_saveCache'](_0x5e498c):this[_0x4517e5(0x1fe)][_0x4517e5(0x370)](_0x5e498c,setTimeout(()=>this[_0x4517e5(0x20e)](_0x5e498c),_0x40d34b));}[_0x295e11(0x261)](){const _0x3408cc=_0x295e11;var _0x2dc032;return(_0x2dc032=this[_0x3408cc(0x2d4)][_0x3408cc(0x231)](_0x3958ea[_0x3408cc(0x36b)]))!=null?_0x2dc032:_0x3958ea[_0x3408cc(0x341)];}['_saveCache'](_0x318b16){const _0x146c43=_0x295e11,_0x13c50e=this[_0x146c43(0x1fe)][_0x146c43(0x1de)](_0x318b16);return _0x13c50e!==void 0x0&&window[_0x146c43(0x425)](_0x13c50e),this[_0x146c43(0x490)]['setItem'](_0x3958ea['getLocalCacheKey'](_0x318b16),this[_0x146c43(0x32e)][_0x146c43(0x1de)](_0x318b16))[_0x146c43(0x2a1)](()=>this[_0x146c43(0x1fe)][_0x146c43(0x240)](_0x318b16));}async[_0x295e11(0x46c)](){const _0x3a06f5=_0x295e11,_0xa9a7a7=[];this['_saveTaskMap']['forEach']((_0x17ac57,_0x427d1d)=>{const _0xab9e18=_0xd951;window[_0xab9e18(0x425)](_0x17ac57),_0xa9a7a7['push'](this[_0xab9e18(0x20e)](_0x427d1d)[_0xab9e18(0x2a1)](()=>{const _0x3c9f93=_0xab9e18;this[_0x3c9f93(0x1fe)]['delete'](_0x427d1d);}));}),await Promise[_0x3a06f5(0x375)](_0xa9a7a7);}};_0x3698c4=_0xc80f08([_0x5b38eb(0x0,_0x40624a[_0x295e11(0x26b)]),_0x5b38eb(0x1,_0x40624a['ILocalStorageService']),_0x5b38eb(0x2,_0x40624a[_0x295e11(0x33d)](_0x2c324c[_0x295e11(0x1fb)]))],_0x3698c4);class _0x5e9496 extends _0x40624a[_0x295e11(0x40a)]{constructor(){const _0x5c8673=_0x295e11;super(),_0x9020b(this,_0x5c8673(0x368)),this[_0x5c8673(0x368)]=_0x5b38f4[_0x5c8673(0x4a5)](window,_0x5c8673(0x433))[_0x5c8673(0x32d)](_0x5b38f4[_0x5c8673(0x491)](this[_0x5c8673(0x2ff)]),_0x5b38f4[_0x5c8673(0x2ae)](0x1),_0x5b38f4[_0x5c8673(0x3ff)](void 0x0));}['setParam'](_0x102d3a,_0x5a52be,_0xe60998=!0x1){const _0x417047=_0x295e11,_0x260554=new URL(window[_0x417047(0x3b2)]['href']);_0x260554[_0x417047(0x2fd)][_0x417047(0x370)](_0x102d3a,_0x5a52be),_0xe60998?window[_0x417047(0x1db)]['replaceState']('','',_0x260554[_0x417047(0x339)]()):window[_0x417047(0x1db)][_0x417047(0x2d9)]('','',_0x260554[_0x417047(0x339)]());}[_0x295e11(0x1f2)](_0x194a37,_0x1417a0=!0x1){const _0xda47cc=_0x295e11,_0x4ed731=new URL(window['location'][_0xda47cc(0x1fd)]);_0x4ed731[_0xda47cc(0x2fd)][_0xda47cc(0x240)](_0x194a37),_0x1417a0?window[_0xda47cc(0x1db)][_0xda47cc(0x213)]('','',_0x4ed731[_0xda47cc(0x339)]()):window[_0xda47cc(0x1db)][_0xda47cc(0x2d9)]('','',_0x4ed731['toString']());}['getParam'](_0x2f9c7a){const _0x24aca3=_0x295e11;var _0x530226;return(_0x530226=new URL(window['location'][_0x24aca3(0x1fd)])[_0x24aca3(0x2fd)]['get'](_0x2f9c7a))!=null?_0x530226:void 0x0;}}var _0x530910=Object['defineProperty'],_0x40f96b=Object[_0x295e11(0x3a0)],_0x15fe47=(_0x497739,_0x48709e,_0x25a192)=>_0x48709e in _0x497739?_0x530910(_0x497739,_0x48709e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25a192}):_0x497739[_0x48709e]=_0x25a192,_0x283235=(_0x43d628,_0x4e9c62,_0x4a1ebc,_0x20abd7)=>{const _0x1d2d08=_0x295e11;for(var _0x51ed70=_0x20abd7>0x1?void 0x0:_0x20abd7?_0x40f96b(_0x4e9c62,_0x4a1ebc):_0x4e9c62,_0x34e86d=_0x43d628[_0x1d2d08(0x1c4)]-0x1,_0x224bab;_0x34e86d>=0x0;_0x34e86d--)(_0x224bab=_0x43d628[_0x34e86d])&&(_0x51ed70=_0x224bab(_0x51ed70)||_0x51ed70);return _0x51ed70;},_0x51bd95=(_0x3935e6,_0x5cd520)=>(_0x12642d,_0x496546)=>_0x5cd520(_0x12642d,_0x496546,_0x3935e6),_0xeb6823=(_0x3a2726,_0x4a477f,_0x17dd68)=>_0x15fe47(_0x3a2726,_0x4a477f+'',_0x17dd68);const _0x25e50f=_0x295e11(0x378);_0x40352c[_0x295e11(0x272)]=class extends _0x40624a[_0x295e11(0x39e)]{constructor(_0x322eef=_0x1498da,_0x297ed5,_0x2657ee,_0x30d688){const _0x1d217a=_0x295e11;super(),this['_config']=_0x322eef,this[_0x1d217a(0x1ed)]=_0x297ed5,this[_0x1d217a(0x351)]=_0x2657ee,this[_0x1d217a(0x2d4)]=_0x30d688;const {..._0x4c8277}=_0x40624a[_0x1d217a(0x263)]({},_0x1498da,this[_0x1d217a(0x388)]);this[_0x1d217a(0x2d4)][_0x1d217a(0x20c)](_0x146d19,_0x4c8277);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x295e11(0x1cc)](){const _0x45c951=_0x295e11;this[_0x45c951(0x31d)]();}['_registerDependencies'](){const _0x5c7cca=_0x295e11;var _0x1e58aa;const _0x149308=[[_0x2d4f99],[_0x2f3884],[_0x1165fa],[_0x516df5],[_0x2c640a],[_0x2a125f],[_0x6adebe,{'useClass':_0x5e9496}],[_0x42d795[_0x5c7cca(0x397)],{'useClass':_0x42d795['WebSocketService']}],[_0x3958ea[_0x5c7cca(0x22f)],{'useClass':_0x3698c4}],[_0x40352c[_0x5c7cca(0x295)]],[_0x22b2b8],[_0x3ef4e4],[_0x2e9070],[_0x47f626],[_0x40352c['CollaborationDataLoaderController']]];this[_0x5c7cca(0x388)][_0x5c7cca(0x481)]&&_0x149308[_0x5c7cca(0x2f0)]([_0x308889]),_0x40624a['registerDependencies'](this[_0x5c7cca(0x351)],_0x40624a['mergeOverrideWithDependencies'](_0x149308,(_0x1e58aa=this[_0x5c7cca(0x388)])==null?void 0x0:_0x1e58aa[_0x5c7cca(0x229)]));}['_registerRenderDependencies'](){const _0x5835c9=_0x295e11;this['disposeWithMe'](this[_0x5835c9(0x1ed)]['registerRenderModule'](_0x40624a[_0x5835c9(0x260)][_0x5835c9(0x36a)],[_0x2faf05])),this[_0x5835c9(0x2bc)](this[_0x5835c9(0x1ed)][_0x5835c9(0x35e)](_0x40624a[_0x5835c9(0x260)]['UNIVER_SHEET'],[_0xb986df]));}[_0x295e11(0x385)](){const _0xf40917=_0x295e11;_0x40624a['touchDependencies'](this[_0xf40917(0x351)],[[_0x2e9070],[_0x40352c['DesktopCollaborationStatusDisplayController']],[_0x22b2b8],[_0x3ef4e4],[_0x40352c[_0xf40917(0x301)]],[_0x2f3884]]),this[_0xf40917(0x388)][_0xf40917(0x481)]&&_0x40624a[_0xf40917(0x212)](this[_0xf40917(0x351)],[[_0x308889]]);}},_0xeb6823(_0x40352c[_0x295e11(0x272)],'pluginName',_0x25e50f),_0x40352c['UniverCollaborationClientUIPlugin']=_0x283235([_0x40624a[_0x295e11(0x3c5)](_0x3958ea[_0x295e11(0x4a3)]),_0x51bd95(0x1,_0x2680b3[_0x295e11(0x280)]),_0x51bd95(0x2,_0x40624a[_0x295e11(0x33d)](_0x40624a[_0x295e11(0x474)])),_0x51bd95(0x3,_0x40624a['IConfigService'])],_0x40352c['UniverCollaborationClientUIPlugin']);var _0x1765a2=Object[_0x295e11(0x3a0)],_0x4dc7fa=(_0x68f912,_0x4d5339,_0x42cc1b,_0x630dc7)=>{const _0x54acd5=_0x295e11;for(var _0x372736=_0x630dc7>0x1?void 0x0:_0x630dc7?_0x1765a2(_0x4d5339,_0x42cc1b):_0x4d5339,_0x35b2c3=_0x68f912[_0x54acd5(0x1c4)]-0x1,_0x2886eb;_0x35b2c3>=0x0;_0x35b2c3--)(_0x2886eb=_0x68f912[_0x35b2c3])&&(_0x372736=_0x2886eb(_0x372736)||_0x372736);return _0x372736;},_0x45c070=(_0x1a1fbe,_0x3c7144)=>(_0x240266,_0xf162bb)=>_0x3c7144(_0x240266,_0xf162bb,_0x1a1fbe);_0x40352c[_0x295e11(0x28b)]=class extends _0x3958ea[_0x295e11(0x2eb)]{constructor(_0x163fe0,_0x3aac88,_0x264432,_0xef7ada,_0x59efbb){super(_0x163fe0,_0x3aac88,_0x264432,_0xef7ada,_0x59efbb);}async[_0x295e11(0x401)](_0x1decec){const _0x3aa03b=_0x295e11,_0x569583=await this[_0x3aa03b(0x379)](),_0x19c363=this['_createSocketURL'](_0x1decec,_0x569583);return this[_0x3aa03b(0x2a4)](_0x19c363);}[_0x295e11(0x2a9)](_0x1a79ce,_0x5acd25){const _0x396d29=_0x295e11,_0x40b677=typeof window>'u'?new URL(_0x1a79ce):new URL(_0x1a79ce,window[_0x396d29(0x3b2)][_0x396d29(0x3c4)]);_0x40b677[_0x396d29(0x2fd)][_0x396d29(0x370)](_0x396d29(0x431),_0x5acd25);const _0x4b5e69=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x396d29(0x47a)]);return _0x4b5e69['get']('runId')&&_0x40b677[_0x396d29(0x2fd)][_0x396d29(0x370)]('runId',_0x4b5e69[_0x396d29(0x1de)]('runId')),_0x40b677[_0x396d29(0x339)]();}async[_0x295e11(0x379)](){const _0x2c0bb4=_0x295e11;var _0x29799d,_0x34773e,_0x4fd70b;const _0x22bb55=this['_configService'][_0x2c0bb4(0x231)](_0x3958ea[_0x2c0bb4(0x222)]),_0x2a50cf=(_0x29799d=_0x22bb55==null?void 0x0:_0x22bb55['wsSessionTicketUrl'])!=null?_0x29799d:_0x3958ea['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4fd70b=(_0x34773e=(await this['_httpService'][_0x2c0bb4(0x1de)](_0x2a50cf,{'headers':{'Content-Type':_0x2c0bb4(0x456)}}))[_0x2c0bb4(0x4a2)])==null?void 0x0:_0x34773e[_0x2c0bb4(0x386)])!=null?_0x4fd70b:'';}},_0x40352c['BrowserCollaborationSocketService']=_0x4dc7fa([_0x45c070(0x0,_0x40624a['Inject'](_0x40624a[_0x295e11(0x474)])),_0x45c070(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795[_0x295e11(0x2b0)])),_0x45c070(0x2,_0x40624a[_0x295e11(0x26b)]),_0x45c070(0x3,_0x40624a['ILogService']),_0x45c070(0x4,_0x2c324c[_0x295e11(0x411)])],_0x40352c[_0x295e11(0x28b)]);var _0x145339=Object[_0x295e11(0x3a0)],_0x3380e6=(_0x10608d,_0x32eefe,_0x528d30,_0x38a671)=>{const _0x2855f2=_0x295e11;for(var _0x1dd3aa=_0x38a671>0x1?void 0x0:_0x38a671?_0x145339(_0x32eefe,_0x528d30):_0x32eefe,_0x5ec9c9=_0x10608d[_0x2855f2(0x1c4)]-0x1,_0x537c0f;_0x5ec9c9>=0x0;_0x5ec9c9--)(_0x537c0f=_0x10608d[_0x5ec9c9])&&(_0x1dd3aa=_0x537c0f(_0x1dd3aa)||_0x1dd3aa);return _0x1dd3aa;},_0x2105cc=(_0x3b52ec,_0xa2f103)=>(_0x52c6e8,_0x3ad6ba)=>_0xa2f103(_0x52c6e8,_0x3ad6ba,_0x3b52ec);_0x40352c[_0x295e11(0x3f0)]=class extends _0x40624a[_0x295e11(0x430)]{constructor(_0x2b038e,_0x2b01df,_0x145c2e){const _0xd440d6=_0x295e11;super(),this[_0xd440d6(0x3d9)]=_0x2b038e,this[_0xd440d6(0x395)]=_0x2b01df,this[_0xd440d6(0x2d4)]=_0x145c2e;}async[_0x295e11(0x2fa)](_0x44efb2,_0x9379ac,_0x515c21,..._0x27df63){const _0x3b9f42=_0x295e11;var _0x369917,_0x53d13d,_0x3ca8b7,_0x376a1a;const _0x5c31c4=this[_0x3b9f42(0x3d9)][_0x3b9f42(0x3cd)]();if(!_0x5c31c4)throw new Error(_0x3b9f42(0x356));const _0x15c154=((_0x369917=this[_0x3b9f42(0x2d4)][_0x3b9f42(0x231)](_0x3958ea[_0x3b9f42(0x367)]))!=null?_0x369917:_0x3958ea[_0x3b9f42(0x20d)])+'/'+_0x44efb2+_0x3b9f42(0x42e)+_0x9379ac,_0x358859=new URL(window[_0x3b9f42(0x3b2)]['href']),_0x41cfc3={'scriptId':_0x44efb2,'runId':(_0x53d13d=_0x358859['searchParams'][_0x3b9f42(0x1de)](_0x3b9f42(0x1cd)))!=null?_0x53d13d:'','function':_0x9379ac,'unitId':_0x5c31c4['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x27df63),'invokeId':(_0x3ca8b7=_0x515c21[_0x3b9f42(0x223)])!=null?_0x3ca8b7:'','executionId':(_0x376a1a=_0x515c21[_0x3b9f42(0x320)])!=null?_0x376a1a:''};try{const _0x166dcb=await this[_0x3b9f42(0x395)]['post'](_0x15c154,{'body':_0x41cfc3});return _0x166dcb[_0x3b9f42(0x4a2)][_0x3b9f42(0x3b0)]&&_0x166dcb[_0x3b9f42(0x4a2)][_0x3b9f42(0x3b0)][_0x3b9f42(0x286)]!==_0x319d71['OK']?_0x3b9f42(0x2f5):_0x166dcb[_0x3b9f42(0x4a2)]['result'];}catch{return _0x3b9f42(0x2f5);}}},_0x40352c[_0x295e11(0x3f0)]=_0x3380e6([_0x2105cc(0x0,_0x40624a[_0x295e11(0x2e4)]),_0x2105cc(0x1,_0x40624a[_0x295e11(0x33d)](_0x42d795['HTTPService'])),_0x2105cc(0x2,_0x40624a[_0x295e11(0x26b)])],_0x40352c[_0x295e11(0x3f0)]);const _0x193540=0x7530,_0x4b5352='ACTIVE_UNIT_EVENT_CHANNEL';class _0x581939 extends _0x40624a['Disposable']{constructor(){const _0x2f2490=_0x295e11;super(),_0x9020b(this,_0x2f2490(0x404),_0x40624a[_0x2f2490(0x2d5)]()),_0x9020b(this,'_selfUnitIDs',new Set()),_0x9020b(this,_0x2f2490(0x2b6),new Map()),_0x9020b(this,_0x2f2490(0x277),null),_0x9020b(this,_0x2f2490(0x1d2),new Map()),_0x9020b(this,_0x2f2490(0x383),new Map()),this[_0x2f2490(0x4a0)]();}[_0x295e11(0x3d1)](){const _0x3c3c1e=_0x295e11;super[_0x3c3c1e(0x3d1)](),this[_0x3c3c1e(0x1d2)][_0x3c3c1e(0x24d)]((_0x4726ee,_0x389075)=>this[_0x3c3c1e(0x365)](_0x389075)),this[_0x3c3c1e(0x277)]&&window['clearInterval'](this[_0x3c3c1e(0x277)]);}[_0x295e11(0x3f1)](_0x53f8cf){const _0xd1888f=_0x295e11;return this[_0xd1888f(0x2d0)](_0x53f8cf)[_0xd1888f(0x32d)](_0x5b38f4[_0xd1888f(0x39a)]());}[_0x295e11(0x2bb)](_0x46adff){const _0x547cf5=_0x295e11;this[_0x547cf5(0x362)][_0x547cf5(0x47e)]===0x0&&this[_0x547cf5(0x27b)](),this[_0x547cf5(0x362)][_0x547cf5(0x372)](_0x46adff),this[_0x547cf5(0x25c)]({'type':0x0,'memberID':this[_0x547cf5(0x404)],'unitIDs':[_0x46adff],'isForwarded':!0x1});}['disposeUnit'](_0x33cc0d){const _0x1ecd45=_0x295e11;this[_0x1ecd45(0x362)][_0x1ecd45(0x240)](_0x33cc0d),this['_selfUnitIDs'][_0x1ecd45(0x47e)]===0x0&&this[_0x1ecd45(0x277)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x295e11(0x4a0)](){const _0x5d77a4=_0x295e11;this[_0x5d77a4(0x2bc)](_0x40624a[_0x5d77a4(0x381)](_0x5b38f4[_0x5d77a4(0x4a5)](window,'storage')[_0x5d77a4(0x4af)](_0x16ce6a=>{const _0x247378=_0x5d77a4;if(_0x16ce6a[_0x247378(0x209)]!==_0x4b5352||!_0x16ce6a['newValue'])return;const _0x2e8109=JSON[_0x247378(0x249)](_0x16ce6a['newValue']);this[_0x247378(0x305)](_0x2e8109);}))),window['addEventListener'](_0x5d77a4(0x45e),()=>this[_0x5d77a4(0x25c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5d77a4(0x4a6)](this[_0x5d77a4(0x362)])}));}[_0x295e11(0x305)](_0xd4b0f0){const _0x119784=_0x295e11;switch(_0xd4b0f0['type']){case 0x0:this[_0x119784(0x3fd)](_0xd4b0f0);break;case 0x1:this[_0x119784(0x440)](_0xd4b0f0);break;case 0x2:this[_0x119784(0x408)](_0xd4b0f0);break;}}[_0x295e11(0x3fd)](_0xc9e2fa){const _0x4c0708=_0x295e11,{unitIDs:_0x18139d,memberID:_0x563195,isForwarded:_0x38b6a9}=_0xc9e2fa;_0x18139d[_0x4c0708(0x24d)](_0x37fea6=>{const _0xe3a1f4=_0x4c0708;if(!_0x38b6a9&&this['_unitOnClients']['has'](_0x37fea6)&&this[_0xe3a1f4(0x2d0)](_0x37fea6)[_0xe3a1f4(0x2d3)](_0x3958ea[_0xe3a1f4(0x3db)][_0xe3a1f4(0x309)]),!this[_0xe3a1f4(0x2b6)]['has'](_0x37fea6)||!this[_0xe3a1f4(0x2b6)]['get'](_0x37fea6)[_0xe3a1f4(0x248)](_0x563195)){const _0x1051cc=this[_0xe3a1f4(0x2b6)][_0xe3a1f4(0x1de)](_0x37fea6)||new Set();_0x1051cc[_0xe3a1f4(0x372)](_0x563195),this[_0xe3a1f4(0x2b6)][_0xe3a1f4(0x370)](_0x37fea6,_0x1051cc),this[_0xe3a1f4(0x47c)](_0x563195);}}),_0x38b6a9||this['_send']({'type':0x0,'memberID':this[_0x4c0708(0x404)],'unitIDs':[...this[_0x4c0708(0x362)]],'isForwarded':!0x0});}[_0x295e11(0x47c)](_0x2be0eb){const _0x163496=_0x295e11;this[_0x163496(0x365)](_0x2be0eb);const _0x527f4d=window[_0x163496(0x30f)](()=>{const _0xa25ac2=_0x163496;this['_unitOnClients'][_0xa25ac2(0x24d)](_0xe18203=>{const _0x3d12f1=_0xa25ac2;_0xe18203[_0x3d12f1(0x240)](_0x2be0eb);});},_0x193540*0x2);this['_clearOtherTimers'][_0x163496(0x370)](_0x2be0eb,_0x527f4d);}['_removeClearOtherTimer'](_0x1f1ce3){const _0x47b597=_0x295e11;if(this['_clearOtherTimers'][_0x47b597(0x248)](_0x1f1ce3)){const _0x423165=this['_clearOtherTimers'][_0x47b597(0x1de)](_0x1f1ce3);_0x423165&&window[_0x47b597(0x425)](_0x423165),this[_0x47b597(0x1d2)][_0x47b597(0x370)](_0x1f1ce3,null);}}['_handleLeaveEvent'](_0x2e4fe6){const _0x93116a=_0x295e11,{memberID:_0x50e1c3,unitIDs:_0x1d15b6}=_0x2e4fe6;_0x1d15b6['forEach'](_0x7328e0=>{const _0x5261a9=_0xd951;var _0x4b3b46;const _0x49411c=this[_0x5261a9(0x2b6)]['get'](_0x7328e0);_0x49411c&&(_0x49411c[_0x5261a9(0x240)](_0x50e1c3),(_0x4b3b46=this[_0x5261a9(0x2d0)](_0x7328e0))==null||_0x4b3b46[_0x5261a9(0x2d3)](_0x49411c[_0x5261a9(0x47e)]===0x0?_0x3958ea['UnitStatus'][_0x5261a9(0x2af)]:_0x3958ea[_0x5261a9(0x3db)][_0x5261a9(0x309)]));}),this[_0x93116a(0x365)](_0x50e1c3);}[_0x295e11(0x408)](_0x4aa911){const _0x319cfc=_0x295e11;this[_0x319cfc(0x47c)](_0x4aa911['memberID']);}['_send'](_0x4cbac8){const _0x28ad1e=_0x295e11;localStorage['setItem'](_0x4b5352,JSON[_0x28ad1e(0x2be)](_0x4cbac8));}['_scheduleHeartbeat'](){const _0x5e76e9=_0x295e11;this[_0x5e76e9(0x277)]=window[_0x5e76e9(0x3f6)](()=>{const _0x3eed7b=_0x5e76e9;this[_0x3eed7b(0x25c)]({'type':0x2,'memberID':this['_id']});},_0x193540);}[_0x295e11(0x2d0)](_0x1f0268){const _0x46b357=_0x295e11;return this[_0x46b357(0x383)]['has'](_0x1f0268)||this[_0x46b357(0x383)][_0x46b357(0x370)](_0x1f0268,new _0x5b38f4['BehaviorSubject'](_0x3958ea['UnitStatus'][_0x46b357(0x2af)])),this[_0x46b357(0x383)][_0x46b357(0x1de)](_0x1f0268);}}_0x40352c[_0x295e11(0x438)]=_0x6adebe,_0x40352c['SheetCollabCursorShape']=_0x446f9f,_0x40352c[_0x295e11(0x2f1)]=_0x581939,_0x40352c[_0x295e11(0x345)]=_0x5e9496,Object[_0x295e11(0x314)](_0x40352c,Symbol[_0x295e11(0x3f9)],{'value':_0x295e11(0x38f)});}));
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
|
|
11
|
+
(function(_0x46e853,_0x586dbd){var _0x287d64=_0x409b,_0x4c2a61=_0x46e853();while(!![]){try{var _0x5c048e=-parseInt(_0x287d64(0x18d))/0x1*(-parseInt(_0x287d64(0x181))/0x2)+-parseInt(_0x287d64(0x185))/0x3*(-parseInt(_0x287d64(0x186))/0x4)+parseInt(_0x287d64(0x184))/0x5+parseInt(_0x287d64(0x17e))/0x6+parseInt(_0x287d64(0x18c))/0x7+-parseInt(_0x287d64(0x188))/0x8+parseInt(_0x287d64(0x18b))/0x9*(-parseInt(_0x287d64(0x183))/0xa);if(_0x5c048e===_0x586dbd)break;else _0x4c2a61['push'](_0x4c2a61['shift']());}catch(_0x5b2e04){_0x4c2a61['push'](_0x4c2a61['shift']());}}}(_0x1c07,0x681ef),function(_0x23c4ad,_0x2a5194){var _0x48477f=_0x409b;typeof exports==_0x48477f(0x180)&&typeof module<'u'?_0x2a5194(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x48477f(0x189)&&define['amd']?define([_0x48477f(0x187),'@univerjs/core/facade'],_0x2a5194):(_0x23c4ad=typeof globalThis<'u'?globalThis:_0x23c4ad||self,_0x2a5194(_0x23c4ad['UniverProCollaborationClientUi'],_0x23c4ad['UniverCoreFacade']));}(this,function(_0x136945,_0x227c50){'use strict';var _0x35e28a=_0x409b;class _0x1dca11 extends _0x227c50[_0x35e28a(0x18e)]{[_0x35e28a(0x17c)](_0x35b2bf,_0x399698,..._0x36e4b7){var _0x1325f6=_0x35e28a;return this[_0x1325f6(0x17f)][_0x1325f6(0x17d)](_0x136945[_0x1325f6(0x18a)])[_0x1325f6(0x17c)](_0x35b2bf,_0x399698,{},..._0x36e4b7);}}_0x227c50[_0x35e28a(0x18e)][_0x35e28a(0x182)](_0x1dca11);}));function _0x409b(_0x361078,_0x329721){_0x361078=_0x361078-0x17c;var _0x1c0712=_0x1c07();var _0x409b8a=_0x1c0712[_0x361078];return _0x409b8a;}function _0x1c07(){var _0x129b70=['object','2RGCvch','extend','10MwYCpY','1127075zqXmSf','1260807MFbkbf','8bOVdPU','@univerjs-pro/collaboration-client-ui','290840XmkPzt','function','RemoteUniscriptService','16491483txLJDS','2533615WDPqPu','363844FifLgh','FUniver','runOnServer','get','3020874uVRwRL','_injector'];_0x1c07=function(){return _0x129b70;};return _0x1c07();}
|
|
12
12
|
|
|
13
13
|
// index
|
|
14
14
|
(function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|