@univerjs-pro/collaboration-client 0.6.1-nightly.202502221605 → 0.6.1-nightly.202502241606
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x5099(_0x1cc077,_0x154adb){var _0x416441=_0x4164();return _0x5099=function(_0x509980,_0x53b032){_0x509980=_0x509980-0xe3;var _0x264ff7=_0x416441[_0x509980];return _0x264ff7;},_0x5099(_0x1cc077,_0x154adb);}function _0x4164(){var _0x10a4d3=['_unitID','subject','now','isTransformChangesetsSuccess','collaboration-client.local-cache-service','ITransformService','waitForRoom$','_map','byteOffset','onRemoteAck','UniverCollaborationClientPlugin','/new_changes','snapshot','LICENSE_DISTRO_REJECTED','findIndex','CollaborationEvent','_hasher','sequenceExecute','HMAC','LIVESHARE_TERMINATE','c2Prime','collaMsg','confirm','_onMessage','_status$','_minBufferSize','getInterceptPoints','JOIN_ROOM_NOT_EXISTS','NOT_COLLAB','_snapshotService','rxjs','getActiveSheet','next','_getLoginPath','_clearScheduledTask','IUniverInstanceService','SNAPSHOT_INVALID_SNAPSHOT','getTypeOfUnitAdded$','_substituteRedoStack','[CollaborationSessionService]','sessionStatus$','getFocusedUnit','shareReplay','_doCreateSocket','onRemoteChangeset','encrypt','BufferedBlockAlgorithm','CHANGESET_SHOULD_RETRY','closeSession','splice','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','saveChangeset','getSnapshotAPIPath','WorkbookEditablePermission','CollaborationUIEventId','418943EcRoNr','rng','symbol','_clearTimeoutTimer','_entityInit$','rxjs/operators','crypto','CollaborationSessionService','_entities','_ENC_XFORM_MODE','?size=','max','_injector','CHANGESET_ACK','APPLY_DUPLICATED','CipherParams','[CollaborationSessionService]:\x20socket\x20error','_transformService','getUnitType','pad','reject','UNIVER_PROJECT','_startCollaboration','DocCollaborationEntity','image/jpg','DEFAULT_WS_SESSION_TICKET_URL','_hash','DataLoaderService','saveImage','_collaborationPaused','randomUUID','not_collab','getCurrentRevOfUnit','APPLY_REJECT','_iv','params','roles','univer-pro.collaboration-client.network-condition.service','FAIL','send','HEARTBEAT_INTERVAL','Hasher','pauseCollaboration','reverse','onTransformIME','patch','/object/','[PendingState]:\x20unhandled\x20univer\x20type:\x20','OFFLINE','onMissingChangesets','setWaitCount','_cipher','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getCurrentUser','IAuthzIoService','LICENSE_MAX_UNITS_EXCEEDED','decryptBlock','mixIn','_sessions','ivSize','_clearUndo','?url=','\x0aCurrent:\x20','Subject','UNIVER_UNKNOWN','encryptBlock','_transformRemoteChangesetByIMECache','LOCAL_CACHE_INTERVAL_KEY','SOCKET_FAILED','ciphertext','location','_eventService','uploadFileServerUrl','onRemoteRetry','SUCCUSS','onStarting','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','put','createIdentifier','userID','/collaborator','ISingleActiveUnitService','unitInfo$','joinRsp','_updateLocalCache','_scheduleCollaborationTimeoutTimer','UniverNetwork','close$','USERS_LEAVE','/role','change$','34292VWeHqw','function','default','CBC','awaitingChangeset','listCollaborators','getRoom','c1Prime','_clearRetryConnectingTimer','JSONX','parseChangesetToProtocol','APPLY_PERMISSION_DENIED','enc','EXCHANGE_SIGN_URL_SERVER_URL_KEY','FetchingMissState','UniverNetworkPlugin','toggleOffline','SetSelectionsOperation','requestParams','LocalUndoRedoService','_syncEditingCollabCursor','sid','eventID','_getAPIPrefix','image/png','_transformStack','@univerjs/docs','prototype','_sender','createInstance','PENDING','resend','length','_clearLocalCache','ICommandService','_type','rev','HELLO','/universer-api/stream/file/upload','_getCurrentRevision','disableLocalCache','_onUserJoin','__esModule','deepClone','onLocalMutation','MUTATION','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LIVESHARE_OPERATION','_transformUndoredo','NoPadding','_incrementRevisionNumber','_getAPIPrefixPath','pipe','_exhaustRemoteChangesetQueue','status','_checkMissing','error$','AWAITING_WITH_PENDING','update','IMentionIOService','dispose','Undefined','clamp','CHANGESET_REVISION_CONFILICT','/universer-api/authz','ONLINE','LIVESHARE_FETCH_OPERATIONS','entityInit$','_onCombEvent','RETRY_CONNECTING_MAX_COUNT_KEY','src','_applyRemoteChangeset','/block/','_loadSheet','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','RxDisposable','_undoRedoService','roomInfos','serializeCombRequest','collaboration_new_changeset','getRandomValues','updateOfflineData','Inject','from','socket\x20open.','_createInitialStateImpl','sendChangesetTimeout','SnapshotServerOverHTTPService','auth.needGotoLoginAlert','_roomMembers','_univerInstanceService','_throwTelemetryCollaborationNewChangeset','@univerjs/network','_stopTelemetryCollaborationNewChangeset','actions','encodeURIComponent','origin','_createHelper','_handlerCallback','_changesetSessionId','reconnect','append','COMMENT_UPDATE','_createHandler','getOwnPropertyDescriptor','IConfigService','awaiting_with_pending','reduce','slice','addImageSourceCache','[OfflineState]:\x20received\x20changeset.','_telemetryService','LIVESHARE_REQUEST_HOST','every','_timeoutTimer','PERMISSION_REJ','\x20to\x20','close','AuthzIoHttpService','UniverTelemetry','_pendingMutations','SNAPSHOT_URL_KEY','hasOwnProperty','appendMutation','_telemetryInfo','members$','univer-pro.collaboration-client-socket-service','_collabSessionService','_onRemoteChangeset','charCodeAt','_onOffline','AUTHZ_URL_KEY','ILogService','init','updateCollaborator','socketService','$super','SHA1','[PendingState]:\x20received\x20rejection.','_userManagerService','emitEvent','_retryCount','_lockTransition','result','UniverProCollaboration','UNIVER_DOC','stopTime','_tryReconnect','_parse','collaboratorID','IImageIoService','mode','onStateChange','&to=','touchDependencies','stringify','map','pending','transformUndoRedo','loadUnit','collabSubmitChangesetUrl','salt','@univerjs-pro/collaboration','state','concat','Quantity','createCollaborator','defineProperty','PSEUDO_FETCH_MISSING_RESULT','INTERNAL_ERROR','HttpExport','@univerjs/sheets','_createHmacHelper','_startTelemetryCollaborationNewChangeset','Encryptor','_shouldReportTelemetry','[UniverCollaborationClientPlugin]','_collaborationTimeoutTimer','SOCKET_FAILED_RETRY','sigBytes','RECV','SEND_CHANGESET_TIMEOUT_KEY','PasswordBasedCipher','create','getLatestCsReqIdBySid','getLocalCacheKey','resolve','/fetchmissing?from=','find','onTransformRemoteChangesetByIMECache','_showConflictNotification','@univerjs/drawing','deserializeToCombResponse','onlyLocal','padding','registerHTTPInterceptor','requireSession','_resendTimer','ILocalCacheService','_replayCachedMutations','_networkConditionService','UniverDrawing','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','COMPRESS_MUTATION_SEND','_resendTimeout','ERROR_EXCEED_SIZE','keySize','newCsEvent','PendingState','_getDownloadEndpointURL','includes','IDLE','_data','TOO_MANY_REQUESTS','removeMember','onTransformSelections','_onConnectionFailed','randomBytes','_loadDoc','saveSheetBlock','copyFileMeta','session.room-full','[OfflineState]:\x20received\x20acknowledgement.','csShouldRetryEvent','getSheetBlock','_joinRoom','enableAuthServer','commentUpdateEvent','APPLY_REVISION_CONFILICT','random','_onRemoteRejected','_compressMutationService','MentionIoHttpService','SUBMIT_CHANGESET','processBlock','OTHER_CLIENTS_EDITING','getUnit','online$','PY_RUNTIME_SCRIPT_ERROR','/allowed','HmacMD5','AwaitingWithPendingState','SHOULD_CLOSE_CONN','_getUndoStack','_commandService','_members','routeKey','__creator','SheetsSelectionsService','isPermissionRej','originalMeta','event$','IPermissionService','POST','_doReset','USERS_ENTER','MergeInterceptorFactory','buffer','INVALID_ARGUMENT','_doFinalize','ISocketService','_socketReady','Disposable','_commentUpdate$','_prevBlock','fetch_missing','resourceIDs','_submitChangeset','has','[OfflineState]:\x20received\x20rejection.','_registerDependencies','session.room-not-exists','[CollaborationState]:\x20apply\x20error!','reset','onCommandExecuted','signUrlServerUrl','_singleActiveUnitService','CLOSE_ROOM','@univerjs-pro/license','PERSON','_clearCollaborationTimeoutTimer','toStringTag','cfg','FileId','isTransformMutationsWithChangesetSuccess','parseProtocolChangeset','[DataLoaderService]','_retryConnectingTimer','_initCloseConn','UNKNOWN_CMD','_getRedoStack','hostname','EvpKDF','Utf8','url','x-univer-host','synced','setShowComponents','generateRandomId','JOIN_ROOM_FULL','unit-cache-','JOIN','15313510dOHvBd','YUUMI_SUBSCRIPTION_NOT_FOUND','IUndoRedoService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','add','asObservable','7293664SEqZCt','_xformMode','_state','take','updateMember','170XuJWeN','merge','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onRemoteRej','ImageUploadStatusType','object','ceil','unitId','clear','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','message$','Latin1','deleteCollaborator','operators','ThresholdInterceptorFactory','UUID','onTransformRemoteChangesetByStateCache','Decryptor','CommandType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','/universer-api/user/session-ticket','toDisposable','_sendHeartbeat','b64DecodeUnicode','onSyncEditingCollabCursor','textRanges','_onUserLeave','_initUnitPermissionChange','WordArray','_onConflict','telemetry\x20info\x20is\x20not\x20initialized','image/bmp','complete','BlockCipher','_append','LocaleService','clone','[SyncedState]:\x20received\x20acknowledgement.','csAckEvent','compute','selections','_getUploadFileURL','BASE64','NOT_FOUND','UniverCollaborationPlugin','_rescheduleHeartbeat','\x0aAfter:\x20','objectType','retryConnectingInterval','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_NON_SEQUENTIAL_REVISION','parse','_replaceFileID','floor','responseType','_transitionLocked','YUUMI_UNABLE_LOAD_URL','cmd','initWorkbookPermissionChange','unitID','range','[FetchMissState]','_isPermissionRej','_oKey','CommentService','charAt','SerializableCipher','\x20in\x20_schedule.','headers','_nDataBytes','_decreaseWaiting','startTime','join','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','executeCommand','_createSocket','failed\x20to\x20apply\x20missed\x20changesets!','JOIN_ROOM_PERMISSION_DENIED','sin','_executeRemoteChangeset','CollaborationSession','_getSendChangesetTimeout','SheetTransformSelectionsService','CollaborativeUndoRedoService','Base','_transformStateCache','_permissionService','getValue','_members$','_localCacheService','changesets','_socketMessageSubscription','_waitForHeartbeatResponse','/universer-api/oidc/authpage','get','refreshPermission','ENSURE_SNAPSHOT_EXECUTION','offline','_revisionService','debug','list','UNDEFINED','UniverDocs','_removeRoom','RETRY_CONNECTING_MAX_COUNT','status$','SNAPSHOT_SERVER_URL_KEY','CONNECTOR_DATA_TOO_LARGE','_acknowledgedAwaitingChangeset','_sendingTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_initRequestHeader','[CollaborationEntity]','authzUrl','connection\x20error','_httpService','apply','concatMap','objectID','UNIVER_SHEET','Optional','reqId','liveShareNewHost','CollaborationEntity','ISnapshotServerService','_socket$','_clearHeartbeatTimer','_mode','loadOfflineData','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','AES','isTransformMutationsWithChangesetFailure','_nRounds','revision','_state$','liveShareOperation','fromCharCode','getConfig','_onLocalMutation','msCrypto','save\x20fail\x20reason\x20is\x20','objects','transformStack\x20failed!','People','then','_reverseMap','focused$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','fetchThroughInterceptors','_sessionStatus$','transformMutationsWithChangeset','_HTTPService','getAllMembers','createSocket','getImageSourceCache','_socket','enableSingleActiveInstanceLock','_roomCreated$','getMemberID','_collaborationUIEventService','getUnitOnRev','Base64','CHANGESET_REJ','MSG_FOR_ERROR','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getTypeOfUnitDisposed$','href','updateCursorEvent','_unlockTransition','getTime','createEncryptor','putCollaborators','exports','_process','/unit/','editingUnit','fetching\x20missing\x20changesets\x20from\x20','BlockCipherMode','getGlobalObject','commentUpdate$','RevisionService','Workbook','FETCH_MISSING','getMember','_clearRedo','takeUntil','COMPRESS_MUTATION_APPLY','subscribe','lib','MentionType','MD5','blockSize','batchAllowed','NO_OTHER_CLIENTS_EDITING','_configService','Rectangle','csRejEvent','_changesetReqId','delay','conflict','_onJoinRoomEvent','SUBMIT_CHANGESET_TIMEOUT','AwaitingState','11702052NhJOOF','HEARTBEAT','_waitCount','SheetCollaborationEntity','toString','m2Prime','UNAUTHENTICATED','_fetchMissChangesets','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','HEARTBEAT_TIMEOUT','HTTPRequest','call','localCacheService','UniverCore','onSendChangeset','isArray','delete','updatePermissionPoint','COLLAB_WEB_SOCKET_URL_KEY','joinEvent','getUnitId','subUnitId','/universer-api/file/{fileID}/sign-url','_queuedRemoteChangesets','UNRECOGNIZED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_keyPriorReset','substr','getCurrentSelections','encode','SNAPSHOT_HAS_BEEN_REMOVED','unknown','UnitEmbedded','mutations','ws://127.0.0.1:8000/universer-api/comb/connect','HmacSHA1','override','forEach','getWorkbookSelections','DisposableCollection','_event$','FETCH_MISS','BehaviorSubject','ALREADY_EXISTS','_createInitialState','HttpImport','collabWebSocketUrl','LICENSE_EXPORT_SIZE_EXCEEDED','type','loadDoc','kdf','uniscriptRunEvent','LICENSE_IMPORT_SIZE_EXCEEDED','UPDATE_CURSOR','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_imageSourceCache','shouldCloseConn','state$','_keySchedule','min','_DEC_XFORM_MODE','DEFAULT_COLLAB_WEB_SOCKET_URL','_onRemoteACK','CONFLICT','EmptyMutation','Injector','_resendWithTimeout','collaboration-client.config','_handler','ImageSourceType','_doCryptBlock','unpad','finalize','duration','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CollaborationImageIoService','push','amd','SyncedState','values','isInternalEditorID','allowed','_sendHeartbeatTimer','unsubscribe','set','YUUMI_URL_COL_OUT_OF_RANGE','_tryEnsureSocket','_change$','equals','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationSocketService','/universer-api/snapshot/','submit\x20changeset\x20error!','size','[CollaborationUndoRedoService]','_scheduleCompleteTimestamp','_logService','_sheetTransformSelectionsService','RichTextEditingMutation','/rev/','UNISCRIPT_RUN','sessionStatus','onTransformState','YUUMI_RATE_OVER_LIMIT','image/jpeg','/-/object/-/batch_allowed','data','_invKeySchedule','UNIVER_COLLABORATION_CLIENT_PLUGIN','Plugin','_listenToNetworkCondition','_updateStatus','formatter','UNIVER_SLIDE','ConflictState','decrypt','permissionRejEvent','algo','COLLAB_SUBMIT_CHANGESET_URL','Module','bind','_socketService','session','_updateState','transformSelections','_candidateSocket','{fileID}','SEND_CHANGESET_TIMEOUT','iterations','_memberService','_toggleOnline','createDecryptor','memberID','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','file','repeat','updatePermissionObjEvent','SessionStatus','extend','filter','open$','_redoStacks','_undoStacks','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','downloadEndpointUrl','HTTPService','[CollaborationSession]','CollaborationUIEventService','_init','GLOBAL_ROOMS_CNT_EXCEEDS','2lRUNOH','ReplaySubject','Error\x20on\x20receiving\x20event','CompressMutationService','catch','post','_onConnectionOpen','[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.','key','SheetPermissionInitController','_onRemoteRetry','_instanceService','INGEST','_schedule','editing\x20status\x20changed\x20to','_initDependencies','Cipher','body','loginUrlKey','LOGIN_URL_KEY','PERMISSION_DENIED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ERROR_IMAGE','UniverProLicense','@univerjs/core','fetchMiss','collaborators','transformChangesets','dispose$','OfflineState','_remoteChangesetQueue','baseRev','string','854278zNulZx','/universer-api/comb','_transformSelections','_config','_substituteUndoStack','toggleOnline','MemberService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','withCredentials','_transformIMECache','UNKNOWN_CODE','disposeWithMe','code','DependentOn','format','socket\x20close','ICollaborationSocketService','_awaitingChangeset','HEARTBEAT_TIMEOUT_KEY','execute','COLLAB_SUBMIT_CHANGESET_URL_KEY','_emitMembers','hasher','awaiting','loadSheet','78ZtNBxd','JOINING','_onRecvEvent','error','interceptor','OTHER_CLIENT_EDITING','CollaborationController','Tools','5481057kvLjLL','_localeService','_getCtorByUniverType','mapDocumentTypeToUniverType','sheets','UniverInstanceType','_getSignURL','_disableEditing','name','[SyncedState]:\x20received\x20rejection.','LEAVE','byteLength','words','_unitInfo$','JOIN_ROOM_FAILED','Malformed\x20UTF-8\x20data','_collaborationSessionService','leaveEvent','UPDATE_PERMISSION_OBJ','workbook','_snapshotServerService','ERROR_IMAGE_TYPE','infoRsp'];_0x4164=function(){return _0x10a4d3;};return _0x4164();}(function(_0x2a4cc6,_0x24d38d){var _0x49a989=_0x5099,_0x3ff854=_0x2a4cc6();while(!![]){try{var _0x4d2797=parseInt(_0x49a989(0x265))/0x1+parseInt(_0x49a989(0x244))/0x2*(parseInt(_0x49a989(0x286))/0x3)+parseInt(_0x49a989(0x32f))/0x4*(-parseInt(_0x49a989(0x468))/0x5)+-parseInt(_0x49a989(0x27e))/0x6*(parseInt(_0x49a989(0x2d4))/0x7)+-parseInt(_0x49a989(0x463))/0x8+-parseInt(_0x49a989(0x1ae))/0x9+parseInt(_0x49a989(0x45d))/0xa;if(_0x4d2797===_0x24d38d)break;else _0x3ff854['push'](_0x3ff854['shift']());}catch(_0x51028e){_0x3ff854['push'](_0x3ff854['shift']());}}}(_0x4164,0xe3579),function(_0x886ecf,_0x10cf64){var _0x3e44f9=_0x5099;typeof exports==_0x3e44f9(0xe7)&&typeof module<'u'?_0x10cf64(exports,require(_0x3e44f9(0x25c)),require('rxjs'),require(_0x3e44f9(0x2d9)),require(_0x3e44f9(0x3d1)),require(_0x3e44f9(0x38b)),require('@univerjs/telemetry'),require(_0x3e44f9(0x349)),require('@univerjs/sheets'),require(_0x3e44f9(0x3ee)),require(_0x3e44f9(0x445))):typeof define==_0x3e44f9(0x330)&&define[_0x3e44f9(0x1fb)]?define([_0x3e44f9(0x18f),_0x3e44f9(0x25c),_0x3e44f9(0x2bb),_0x3e44f9(0x2d9),'@univerjs-pro/collaboration',_0x3e44f9(0x38b),'@univerjs/telemetry',_0x3e44f9(0x349),_0x3e44f9(0x3da),_0x3e44f9(0x3ee),_0x3e44f9(0x445)],_0x10cf64):(_0x886ecf=typeof globalThis<'u'?globalThis:_0x886ecf||self,_0x10cf64(_0x886ecf['UniverProCollaborationClient']={},_0x886ecf[_0x3e44f9(0x1bb)],_0x886ecf[_0x3e44f9(0x2bb)],_0x886ecf['rxjs'][_0x3e44f9(0xef)],_0x886ecf[_0x3e44f9(0x3bf)],_0x886ecf[_0x3e44f9(0x32a)],_0x886ecf[_0x3e44f9(0x3a6)],_0x886ecf[_0x3e44f9(0x149)],_0x886ecf['UniverSheets'],_0x886ecf[_0x3e44f9(0x3f8)],_0x886ecf[_0x3e44f9(0x25b)]));}(this,function(_0x4ed799,_0x516919,_0x1e7ac6,_0x29f088,_0x514b45,_0x4d99d9,_0x42e4b4,_0x5a09c4,_0x513775,_0x8e1139,_0x2672f2){'use strict';var _0x2f17d6=_0x5099;var _0x40bcb3=Object[_0x2f17d6(0x3d6)],_0x598762=(_0x18c07d,_0x3d559c,_0xee2dbc)=>_0x3d559c in _0x18c07d?_0x40bcb3(_0x18c07d,_0x3d559c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xee2dbc}):_0x18c07d[_0x3d559c]=_0xee2dbc,_0x444b4d=(_0x3b65fc,_0xb4dcf7,_0x5cee9e)=>_0x598762(_0x3b65fc,typeof _0xb4dcf7!=_0x2f17d6(0x2d6)?_0xb4dcf7+'':_0xb4dcf7,_0x5cee9e);const _0xfbcc5b='SNAPSHOT_SERVER_URL_KEY',_0x85170a='/universer-api/snapshot',_0x97b9bc=_0x2f17d6(0x3a8),_0x30ad0f=_0x2f17d6(0x22d),_0x274579='COLLAB_WEB_SOCKET_URL',_0x544a89=_0x2f17d6(0x1d0),_0x124772=_0x2f17d6(0xf6),_0x46f90b=_0x2f17d6(0x2fc),_0x434709=_0x2f17d6(0x1b7),_0x3462df=_0x2f17d6(0x14b),_0x543259='LOCAL_CACHE_INTERVAL',_0x4a5d67=_0x2f17d6(0x224),_0x53e90b=_0x2f17d6(0x266),_0x588f50=_0x2f17d6(0x257),_0x17f4e1=_0x2f17d6(0x140),_0x144f84=_0x2f17d6(0x26c),_0x3e5e4b='/universer-api/uniscript';var _0xb91e97=(_0x3c7e0d=>(_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x148)]=0x0]=_0x2f17d6(0x148),_0x3c7e0d[_0x3c7e0d['OK']=0x1]='OK',_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x3d8)]=0x2]=_0x2f17d6(0x3d8),_0x3c7e0d[_0x3c7e0d['PERMISSION_DENIED']=0x3]=_0x2f17d6(0x258),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x10d)]=0x4]=_0x2f17d6(0x10d),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x1b4)]=0x5]=_0x2f17d6(0x1b4),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x1d9)]=0x6]=_0x2f17d6(0x1d9),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x431)]=0x7]=_0x2f17d6(0x431),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x404)]=0x8]=_0x2f17d6(0x404),_0x3c7e0d[_0x3c7e0d['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3c7e0d[_0x3c7e0d['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2f17d6(0x36e),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x2c1)]=0x1771]=_0x2f17d6(0x2c1),_0x3c7e0d[_0x3c7e0d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2f17d6(0x1cc),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x143)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x2f5)]=0x1b59]=_0x2f17d6(0x2f5),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x114)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x413)]=0x1b5b]=_0x2f17d6(0x413),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x33a)]=0x1b5c]=_0x2f17d6(0x33a),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x2e2)]=0x1b5d]=_0x2f17d6(0x2e2),_0x3c7e0d[_0x3c7e0d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2f17d6(0x14e),_0x3c7e0d[_0x3c7e0d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2f17d6(0x30b),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0xe4)]=0x232a]=_0x2f17d6(0xe4),_0x3c7e0d[_0x3c7e0d['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2f17d6(0x1e2),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x1dd)]=0x232c]=_0x2f17d6(0x1dd),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x2aa)]=0x232d]=_0x2f17d6(0x2aa),_0x3c7e0d[_0x3c7e0d['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2f17d6(0x11a),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x203)]=0x2712]=_0x2f17d6(0x203),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x215)]=0x2713]=_0x2f17d6(0x215),_0x3c7e0d[_0x3c7e0d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2f17d6(0x45e),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x41d)]=0x2af9]=_0x2f17d6(0x41d),_0x3c7e0d[_0x3c7e0d[_0x2f17d6(0x1c6)]=-0x1]=_0x2f17d6(0x1c6),_0x3c7e0d))(_0xb91e97||{}),_0x1ede20=(_0x501780=>(_0x501780[_0x501780[_0x2f17d6(0x314)]=0x0]='UNIVER_UNKNOWN',_0x501780[_0x501780['UNIVER_DOC']=0x1]=_0x2f17d6(0x3c0),_0x501780[_0x501780[_0x2f17d6(0x15a)]=0x2]=_0x2f17d6(0x15a),_0x501780[_0x501780['UNIVER_SLIDE']=0x3]=_0x2f17d6(0x21f),_0x501780[_0x501780[_0x2f17d6(0x2e9)]=0x4]=_0x2f17d6(0x2e9),_0x501780[_0x501780[_0x2f17d6(0x1c6)]=-0x1]='UNRECOGNIZED',_0x501780))(_0x1ede20||{}),_0x69293e=(_0x109057=>(_0x109057[_0x109057[_0x2f17d6(0x450)]=0x0]=_0x2f17d6(0x450),_0x109057[_0x109057[_0x2f17d6(0x354)]=0x1]=_0x2f17d6(0x354),_0x109057[_0x109057[_0x2f17d6(0x45c)]=0x2]=_0x2f17d6(0x45c),_0x109057[_0x109057[_0x2f17d6(0x290)]=0x3]=_0x2f17d6(0x290),_0x109057[_0x109057[_0x2f17d6(0x250)]=0x4]='INGEST',_0x109057[_0x109057[_0x2f17d6(0x1af)]=0x5]=_0x2f17d6(0x1af),_0x109057[_0x109057['RECV']=0x6]='RECV',_0x109057[_0x109057[_0x2f17d6(0x1c6)]=-0x1]=_0x2f17d6(0x1c6),_0x109057))(_0x69293e||{}),_0x375fed=(_0x5f0cde=>(_0x5f0cde[_0x5f0cde[_0x2f17d6(0x26f)]=0x0]='UNKNOWN_CODE',_0x5f0cde[_0x5f0cde['OK']=0x1]='OK',_0x5f0cde[_0x5f0cde[_0x2f17d6(0x2fa)]=0x2]=_0x2f17d6(0x2fa),_0x5f0cde[_0x5f0cde['JOIN_ROOM_FULL']=0x3e9]=_0x2f17d6(0x45a),_0x5f0cde[_0x5f0cde[_0x2f17d6(0x2b8)]=0x3ea]=_0x2f17d6(0x2b8),_0x5f0cde[_0x5f0cde[_0x2f17d6(0x130)]=0x3eb]=_0x2f17d6(0x130),_0x5f0cde[_0x5f0cde[_0x2f17d6(0x243)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x5f0cde[_0x5f0cde['UNRECOGNIZED']=-0x1]=_0x2f17d6(0x1c6),_0x5f0cde))(_0x375fed||{}),_0x40e652=(_0x379dc8=>(_0x379dc8[_0x379dc8[_0x2f17d6(0x36c)]=0x0]=_0x2f17d6(0x36c),_0x379dc8[_0x379dc8['HttpImport']=0x1]=_0x2f17d6(0x1db),_0x379dc8[_0x379dc8[_0x2f17d6(0x3d9)]=0x2]=_0x2f17d6(0x3d9),_0x379dc8[_0x379dc8['UnitEmbedded']=0x3]=_0x2f17d6(0x1ce),_0x379dc8[_0x379dc8['UnitSnapshot']=0x4]='UnitSnapshot',_0x379dc8[_0x379dc8[_0x2f17d6(0x1c6)]=-0x1]=_0x2f17d6(0x1c6),_0x379dc8))(_0x40e652||{});const _0x2256bf=_0x2f17d6(0x1f1),_0x557be9={};var _0x47c33b=(_0x4aa163=>(_0x4aa163[_0x2f17d6(0x283)]=_0x2f17d6(0x283),_0x4aa163['PERMISSION_DENIED']='PERMISSION_DENIED',_0x4aa163[_0x2f17d6(0x1ed)]=_0x2f17d6(0x1ed),_0x4aa163[_0x2f17d6(0x444)]=_0x2f17d6(0x444),_0x4aa163[_0x2f17d6(0x294)]=_0x2f17d6(0x294),_0x4aa163[_0x2f17d6(0x3e1)]=_0x2f17d6(0x3e1),_0x4aa163[_0x2f17d6(0x318)]=_0x2f17d6(0x318),_0x4aa163[_0x2f17d6(0x1ac)]=_0x2f17d6(0x1ac),_0x4aa163))(_0x47c33b||{});class _0x4c5916{constructor(){var _0x254724=_0x2f17d6;_0x444b4d(this,'_event$',new _0x1e7ac6['Subject']()),_0x444b4d(this,'event$',this[_0x254724(0x1d6)][_0x254724(0x462)]());}[_0x2f17d6(0x3bb)](_0xdeb284){var _0x5f1df9=_0x2f17d6;this['_event$'][_0x5f1df9(0x2bd)](_0xdeb284);}}const _0x58bf3=_0x516919[_0x2f17d6(0x322)](_0x2f17d6(0x2f9));function _0x4a1c43(_0x70315e){var _0x4d1180=_0x2f17d6,_0x2e8cb1,_0x341b52,_0x1b7485,_0x277ba1,_0x2dee0e;const _0x573c13=_0x70315e[_0x4d1180(0x218)],_0x49f248=JSON['parse'](_0x573c13);switch(_0x49f248['cmd']){case _0x69293e[_0x4d1180(0x1af)]:case _0x69293e['HELLO']:{const _0x37e376=_0x49f248[_0x4d1180(0x29c)];return{..._0x49f248,'data':_0x37e376,'cmd':_0x49f248['cmd']};}case _0x69293e['JOIN']:{const _0x3b7056=_0x49f248[_0x4d1180(0x327)];return{..._0x49f248,'data':_0x3b7056,'cmd':_0x49f248[_0x4d1180(0x11b)]};}case _0x69293e['RECV']:{const _0x33a962=_0x49f248[_0x4d1180(0x2b2)];switch(_0x33a962['eventID']){case _0x514b45[_0x4d1180(0x2ac)][_0x4d1180(0x3a2)]:return{..._0x49f248,'data':{..._0x33a962,'data':(_0x2e8cb1=_0x33a962[_0x4d1180(0x222)])==null?void 0x0:_0x2e8cb1['cs']},'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45['CollaborationEvent'][_0x4d1180(0x2e1)]:return{..._0x49f248,'data':{..._0x33a962,'data':(_0x341b52=_0x33a962[_0x4d1180(0x108)])==null?void 0x0:_0x341b52['cs']},'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x49f248,'data':{..._0x33a962,'data':(_0x1b7485=_0x33a962[_0x4d1180(0x3fe)])==null?void 0x0:_0x1b7485['cs']},'cmd':_0x49f248['cmd']};case _0x514b45[_0x4d1180(0x2ac)][_0x4d1180(0x185)]:return{..._0x49f248,'data':{..._0x33a962,'data':(_0x277ba1=_0x33a962[_0x4d1180(0x1a7)])==null?void 0x0:_0x277ba1['cs']},'cmd':_0x49f248['cmd']};case _0x514b45[_0x4d1180(0x2ac)][_0x4d1180(0x2cc)]:return{..._0x49f248,'data':{..._0x33a962,'data':(_0x2dee0e=_0x33a962[_0x4d1180(0x40e)])==null?void 0x0:_0x2dee0e['cs']},'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45[_0x4d1180(0x2ac)][_0x4d1180(0x1e3)]:return{..._0x49f248,'data':{..._0x33a962,'data':_0x33a962[_0x4d1180(0x18a)]},'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45['CollaborationEvent'][_0x4d1180(0x42e)]:return{..._0x49f248,'data':{..._0x33a962,'data':_0x33a962[_0x4d1180(0x1c1)]},'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45['CollaborationEvent']['USERS_LEAVE']:return{..._0x49f248,'data':{..._0x33a962,'data':_0x33a962[_0x4d1180(0x297)]},'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45[_0x4d1180(0x2ac)]['LIVESHARE_NEW_HOST']:return{..._0x49f248,'data':{..._0x33a962,'data':_0x33a962[_0x4d1180(0x15d)]},'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45[_0x4d1180(0x2ac)][_0x4d1180(0x371)]:case _0x514b45[_0x4d1180(0x2ac)]['LIVESHARE_OPERATION']:return{..._0x49f248,'data':{..._0x33a962,'data':_0x33a962[_0x4d1180(0x16a)]},'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45['CollaborationEvent'][_0x4d1180(0x2b0)]:return{..._0x49f248,'data':{..._0x33a962,'data':_0x33a962[_0x4d1180(0x15d)]},'cmd':_0x49f248['cmd']};case _0x514b45[_0x4d1180(0x2ac)]['MSG_FOR_ERROR']:return{..._0x49f248,'data':_0x33a962,'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45[_0x4d1180(0x2ac)][_0x4d1180(0x395)]:return{..._0x49f248,'data':{..._0x33a962,'data':_0x33a962[_0x4d1180(0x412)]},'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45[_0x4d1180(0x2ac)][_0x4d1180(0x298)]:return{..._0x49f248,'data':{..._0x33a962,'data':_0x33a962[_0x4d1180(0x236)]},'cmd':_0x49f248['cmd']};case _0x514b45[_0x4d1180(0x2ac)][_0x4d1180(0x421)]:return{..._0x49f248,'data':{..._0x33a962,'data':_0x33a962[_0x4d1180(0x1e6)]},'cmd':_0x49f248[_0x4d1180(0x11b)]};case _0x514b45[_0x4d1180(0x2ac)]['UNISCRIPT_RUN']:return{..._0x49f248,'data':{..._0x33a962,'data':_0x33a962[_0x4d1180(0x1e1)]},'cmd':_0x49f248[_0x4d1180(0x11b)]};default:return _0x49f248;}}default:return _0x49f248;}}function _0x90199b(_0x3b0cd2){var _0xabf66f=_0x2f17d6;switch(_0x3b0cd2[_0xabf66f(0x11b)]){case _0x69293e[_0xabf66f(0x1af)]:case _0x69293e[_0xabf66f(0x354)]:return JSON[_0xabf66f(0x3ca)]({'cmd':_0x3b0cd2['cmd'],'routeKey':_0x3b0cd2['routeKey']});case _0x69293e['INGEST']:{let _0xdec5e3;switch(_0x3b0cd2[_0xabf66f(0x218)][_0xabf66f(0x345)]){case _0x514b45['CollaborationEvent'][_0xabf66f(0x1e3)]:{_0xdec5e3={'eventID':_0x514b45[_0xabf66f(0x2ac)][_0xabf66f(0x1e3)],'updateCursorEvent':_0x3b0cd2[_0xabf66f(0x218)][_0xabf66f(0x218)]};break;}case _0x514b45[_0xabf66f(0x2ac)][_0xabf66f(0x32c)]:{_0xdec5e3={'eventID':_0x514b45['CollaborationEvent'][_0xabf66f(0x32c)],'leaveEvent':_0x3b0cd2[_0xabf66f(0x218)][_0xabf66f(0x218)]};break;}case _0x514b45[_0xabf66f(0x2ac)]['USERS_ENTER']:{_0xdec5e3={'eventID':_0x514b45[_0xabf66f(0x2ac)]['USERS_ENTER'],'joinEvent':_0x3b0cd2[_0xabf66f(0x218)][_0xabf66f(0x218)]};break;}case _0x514b45['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0xdec5e3={'eventID':_0x514b45[_0xabf66f(0x2ac)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3b0cd2[_0xabf66f(0x218)][_0xabf66f(0x218)]};break;}case _0x514b45[_0xabf66f(0x2ac)]['LIVESHARE_OPERATION']:{_0xdec5e3={'eventID':_0x514b45[_0xabf66f(0x2ac)][_0xabf66f(0x35e)],'liveShareOperation':_0x3b0cd2[_0xabf66f(0x218)][_0xabf66f(0x218)]};break;}case _0x514b45[_0xabf66f(0x2ac)][_0xabf66f(0x2b0)]:{_0xdec5e3={'eventID':_0x514b45[_0xabf66f(0x2ac)][_0xabf66f(0x2b0)],'liveShareTerminate':_0x3b0cd2['data']['data']};break;}case _0x514b45['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0xdec5e3={'eventID':_0x514b45['CollaborationEvent'][_0xabf66f(0x39f)],'liveShareRequestHost':_0x3b0cd2['data'][_0xabf66f(0x218)]};break;}case _0x514b45[_0xabf66f(0x2ac)][_0xabf66f(0x371)]:{_0xdec5e3={'eventID':_0x514b45[_0xabf66f(0x2ac)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xdec5e3={'eventID':_0x3b0cd2[_0xabf66f(0x218)][_0xabf66f(0x345)]};}return JSON[_0xabf66f(0x3ca)]({'cmd':_0x3b0cd2[_0xabf66f(0x11b)],'routeKey':_0x3b0cd2['routeKey'],'collaMsg':_0xdec5e3});}case _0x69293e[_0xabf66f(0x45c)]:return JSON['stringify']({'cmd':_0x3b0cd2[_0xabf66f(0x11b)],'routeKey':_0x3b0cd2[_0xabf66f(0x425)],'joinReq':_0x3b0cd2['data']});case _0x69293e[_0xabf66f(0x290)]:return JSON[_0xabf66f(0x3ca)]({'cmd':_0x3b0cd2[_0xabf66f(0x11b)],'routeKey':_0x3b0cd2[_0xabf66f(0x425)],'leaveReq':_0x3b0cd2[_0xabf66f(0x218)]});default:throw new Error(_0xabf66f(0x187));}}var _0x5cb60e=Object[_0x2f17d6(0x397)],_0x447ffb=(_0x55ef42,_0x517c54,_0x2569d2,_0x47d815)=>{var _0x4b401a=_0x2f17d6;for(var _0x27f9b6=_0x47d815>0x1?void 0x0:_0x47d815?_0x5cb60e(_0x517c54,_0x2569d2):_0x517c54,_0x39ae74=_0x55ef42[_0x4b401a(0x34f)]-0x1,_0x3755df;_0x39ae74>=0x0;_0x39ae74--)(_0x3755df=_0x55ef42[_0x39ae74])&&(_0x27f9b6=_0x3755df(_0x27f9b6)||_0x27f9b6);return _0x27f9b6;},_0x38ae24=(_0x287478,_0x441e2e)=>(_0x292690,_0x37bd02)=>_0x441e2e(_0x292690,_0x37bd02,_0x287478);const _0x4ea67e=_0x516919[_0x2f17d6(0x322)](_0x2f17d6(0x3ad));function _0xdd2985(_0x552108,_0x36dbde,_0x4e443a){var _0x1144db=_0x2f17d6;return _0x552108+'/'+_0x36dbde+_0x1144db(0x191)+_0x4e443a+_0x1144db(0x2a8);}_0x4ed799[_0x2f17d6(0x208)]=class extends _0x516919[_0x2f17d6(0x435)]{constructor(_0x514f49,_0x10b15d,_0x2f5961,_0x186ffe,_0x5073d3){var _0x587870=_0x2f17d6;super(),this[_0x587870(0x2e0)]=_0x514f49,this[_0x587870(0x156)]=_0x10b15d,this[_0x587870(0x1a5)]=_0x2f5961,this['_logService']=_0x186ffe,this[_0x587870(0x29a)]=_0x5073d3;}[_0x2f17d6(0x2c8)](_0x22606d){var _0xea29eb=_0x2f17d6;const _0x51f3b1=this[_0xea29eb(0x2e0)]['get'](_0x4d99d9[_0xea29eb(0x433)]);if(!_0x51f3b1)throw new Error(_0xea29eb(0x1e4));const _0x128486=_0x51f3b1[_0xea29eb(0x17c)](_0x22606d);if(!_0x128486)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x25401a=new _0x516919[(_0xea29eb(0x1d5))](),_0x4ecc89=new _0x1e7ac6[(_0xea29eb(0x313))]();_0x25401a[_0xea29eb(0x461)](_0x128486[_0xea29eb(0x32b)]['subscribe'](_0x43755f=>_0x4ecc89[_0xea29eb(0x2bd)](_0x43755f))),_0x25401a[_0xea29eb(0x461)](_0x516919[_0xea29eb(0xf7)](()=>_0x4ecc89['complete']()));const _0x4a6bc9=new _0x1e7ac6[(_0xea29eb(0x313))]();_0x25401a[_0xea29eb(0x461)](_0x128486[_0xea29eb(0x367)][_0xea29eb(0x19e)](_0x5c3c31=>_0x4a6bc9[_0xea29eb(0x2bd)](_0x5c3c31))),_0x25401a['add'](_0x516919[_0xea29eb(0xf7)](()=>_0x4a6bc9[_0xea29eb(0x102)]()));const _0x2a41a5=new _0x1e7ac6['Subject']();_0x25401a[_0xea29eb(0x461)](_0x128486[_0xea29eb(0xec)][_0xea29eb(0x19e)](_0x45142f=>{var _0x541aae=_0xea29eb;const _0x2e5b5a=_0x4a1c43(_0x45142f);_0x2a41a5[_0x541aae(0x2bd)](_0x2e5b5a);})),_0x25401a[_0xea29eb(0x461)](_0x516919[_0xea29eb(0xf7)](()=>_0x2a41a5[_0xea29eb(0x102)]()));let _0x5143e1;const _0x3bdaea=()=>{var _0x328acc=_0xea29eb;_0x4a6bc9[_0x328acc(0x2bd)](new Event(_0x328acc(0x155))),_0x4ecc89[_0x328acc(0x2bd)](new Event('connection\x20error')),_0x5143e1['close']();};return _0x5143e1={'memberID':'','close$':_0x4ecc89[_0xea29eb(0x462)](),'error$':_0x4a6bc9[_0xea29eb(0x462)](),'open$':_0x128486[_0xea29eb(0x23a)],'message$':_0x2a41a5[_0xea29eb(0x462)](),'send':_0x6f6906=>{var _0x251ebe=_0xea29eb;if(_0x6f6906[_0x251ebe(0x11b)]===_0x69293e['INGEST']){if(_0x6f6906[_0x251ebe(0x218)][_0x251ebe(0x345)]===_0x514b45[_0x251ebe(0x2ac)][_0x251ebe(0x418)]){this[_0x251ebe(0x43a)](_0x5143e1,_0x6f6906[_0x251ebe(0x218)])[_0x251ebe(0x248)](_0x4475a2=>{var _0x43efea=_0x251ebe;this['_logService'][_0x43efea(0x281)](_0x4475a2),_0x3bdaea();});return;}if(_0x6f6906[_0x251ebe(0x218)]['eventID']===_0x514b45[_0x251ebe(0x2ac)]['FETCH_MISSING']){const _0x3d5424=_0x6f6906[_0x251ebe(0x218)];this[_0x251ebe(0x1b5)](_0x3d5424)[_0x251ebe(0x173)](_0xef614f=>{var _0x43557b=_0x251ebe;_0x2a41a5[_0x43557b(0x2bd)]({'cmd':_0x69293e['RECV'],'code':_0x375fed['OK'],'routeKey':_0x3d5424[_0x43557b(0x218)][_0x43557b(0x11d)],'routeType':'','data':{'eventID':_0x514b45[_0x43557b(0x2ac)][_0x43557b(0x3d7)],'data':{'changesets':_0xef614f}}});})[_0x251ebe(0x248)](_0x50716a=>{var _0x8410d8=_0x251ebe;this['_logService'][_0x8410d8(0x281)](_0x50716a),_0x3bdaea();});return;}}_0x128486['send'](_0x90199b(_0x6f6906));},'close':()=>{var _0x424c21=_0xea29eb;_0x128486['close'](),_0x25401a[_0x424c21(0x36b)]();}},_0x5143e1;}async['_submitChangeset'](_0x18d833,_0x397b47){var _0x32625b=_0x2f17d6,_0x5bdfe5,_0x4585a4;const {unitType:_0xb69435,unitID:_0x2d8b54,changeset:_0x4d1203}=_0x397b47['data'],_0x5681d3={'unitID':_0x2d8b54,'memberID':_0x18d833['memberID'],'type':_0xb69435,'changeset':_0x514b45[_0x32625b(0x339)](_0x4d1203)},_0x368d35=this['_configService'][_0x32625b(0x16c)](_0x4a5d67),_0x1a4029=this[_0x32625b(0x1a5)][_0x32625b(0x16c)](_0x2256bf),_0x463972=_0xdd2985((_0x4585a4=(_0x5bdfe5=_0x1a4029==null?void 0x0:_0x1a4029[_0x32625b(0x3cf)])!=null?_0x5bdfe5:_0x368d35)!=null?_0x4585a4:_0x53e90b,_0xb69435,_0x2d8b54);try{await this[_0x32625b(0x156)][_0x32625b(0x249)](_0x463972,{'body':_0x5681d3});}catch(_0x1a1eb5){throw this[_0x32625b(0x20e)][_0x32625b(0x281)]('[CollaborationSession]',_0x32625b(0x20a)),_0x1a1eb5;}}async[_0x2f17d6(0x1b5)](_0x12c91a){var _0x45fd85=_0x2f17d6;const {unitID:_0x2b9a0c,from:_0x46b63b,to:_0x44df82,unitType:_0xb653b}=_0x12c91a['data'];return(await this[_0x45fd85(0x29a)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2b9a0c,'type':_0xb653b,'from':_0x46b63b,'to':_0x44df82}))[_0x45fd85(0x13d)];}},_0x4ed799[_0x2f17d6(0x208)]=_0x447ffb([_0x38ae24(0x0,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x1ef)])),_0x38ae24(0x1,_0x516919['Inject'](_0x4d99d9[_0x2f17d6(0x23f)])),_0x38ae24(0x2,_0x516919['IConfigService']),_0x38ae24(0x3,_0x516919[_0x2f17d6(0x3b3)]),_0x38ae24(0x4,_0x514b45[_0x2f17d6(0x15f)])],_0x4ed799[_0x2f17d6(0x208)]);const _0x5a9765=_0x2f17d6(0x37e);function _0x298ee2(_0x481fe3){var _0x15f217=_0x2f17d6;return JSON[_0x15f217(0x3ca)](_0x481fe3)[_0x15f217(0x34f)];}class _0x2f4bd8{constructor(){var _0x34615c=_0x2f17d6;_0x444b4d(this,_0x34615c(0x436),new _0x1e7ac6[(_0x34615c(0x313))]()),_0x444b4d(this,_0x34615c(0x196),this[_0x34615c(0x436)][_0x34615c(0x462)]());}['onCommentUpdate'](_0xc819d8){var _0x3860a0=_0x2f17d6;this[_0x3860a0(0x436)]['next'](_0xc819d8);}}var _0x3a4b2a=Object[_0x2f17d6(0x397)],_0x14fda2=(_0x19e803,_0x57bf37,_0x3cd4fa,_0x4757bc)=>{for(var _0x398dc7=_0x4757bc>0x1?void 0x0:_0x4757bc?_0x3a4b2a(_0x57bf37,_0x3cd4fa):_0x57bf37,_0x1356ca=_0x19e803['length']-0x1,_0x446bb3;_0x1356ca>=0x0;_0x1356ca--)(_0x446bb3=_0x19e803[_0x1356ca])&&(_0x398dc7=_0x446bb3(_0x398dc7)||_0x398dc7);return _0x398dc7;},_0x17c84e=(_0x4b481d,_0x466e6f)=>(_0x3c7642,_0x262d51)=>_0x466e6f(_0x3c7642,_0x262d51,_0x4b481d);_0x4ed799[_0x2f17d6(0x26b)]=class extends _0x516919[_0x2f17d6(0x435)]{constructor(_0x6a89c2,_0x64693){var _0x241581=_0x2f17d6;super(),_0x444b4d(this,_0x241581(0x388),new Map()),_0x444b4d(this,_0x241581(0x180),new _0x1e7ac6[(_0x241581(0x313))]()),(this[_0x241581(0x389)]=_0x6a89c2,this[_0x241581(0x3ba)]=_0x64693,this[_0x241581(0x270)](_0x1e7ac6[_0x241581(0xe3)](this[_0x241581(0x389)][_0x241581(0x188)](_0x516919['UniverInstanceType'][_0x241581(0x15a)])['pipe'](_0x29f088[_0x241581(0x3cb)](_0x11ae6d=>_0x11ae6d[_0x241581(0x1c2)]())),this[_0x241581(0x389)][_0x241581(0x188)](_0x516919['UniverInstanceType'][_0x241581(0x3c0)])[_0x241581(0x363)](_0x29f088[_0x241581(0x3cb)](_0x5c29ef=>_0x5c29ef['getUnitId']())),this[_0x241581(0x389)][_0x241581(0x188)](_0x516919['UniverInstanceType'][_0x241581(0x21f)])[_0x241581(0x363)](_0x29f088[_0x241581(0x3cb)](_0x24af2a=>_0x24af2a[_0x241581(0x1c2)]())))[_0x241581(0x19e)](_0x2eff4f=>this[_0x241581(0x14a)](_0x2eff4f))));}[_0x2f17d6(0x2a3)](_0xd2172f){var _0x7175eb=_0x2f17d6;return this['_roomMembers']['has'](_0xd2172f)?_0x1e7ac6['of'](this[_0x7175eb(0x388)][_0x7175eb(0x141)](_0xd2172f)):this[_0x7175eb(0x180)][_0x7175eb(0x363)](_0x29f088[_0x7175eb(0x3cb)](_0x2e5e2a=>{var _0x4c6ea8=_0x7175eb;if(_0x2e5e2a===_0xd2172f)return this[_0x4c6ea8(0x388)][_0x4c6ea8(0x141)](_0x2e5e2a);}));}['setCurrentUser'](_0x5a4147){var _0x78f43b=_0x2f17d6;this[_0x78f43b(0x3ba)]['setCurrentUser'](_0x5a4147);}[_0x2f17d6(0x309)](){var _0x515b9=_0x2f17d6;return this[_0x515b9(0x3ba)]['getCurrentUser']();}[_0x2f17d6(0x467)](_0x1bc3cb,_0x7dc265){var _0x53f646=_0x2f17d6;let _0x41dd07=this[_0x53f646(0x388)]['get'](_0x1bc3cb);_0x41dd07||(_0x41dd07=new _0x5e89c2(),this[_0x53f646(0x388)][_0x53f646(0x202)](_0x1bc3cb,_0x41dd07),this[_0x53f646(0x180)][_0x53f646(0x2bd)](_0x1bc3cb)),_0x41dd07[_0x53f646(0x467)](_0x7dc265);}[_0x2f17d6(0x405)](_0x40add1,_0x3507e1){var _0x18c5ea=_0x2f17d6;const _0x1236eb=this[_0x18c5ea(0x388)][_0x18c5ea(0x141)](_0x40add1);_0x1236eb&&_0x1236eb[_0x18c5ea(0x405)](_0x3507e1);}[_0x2f17d6(0x335)](_0x20adf7){var _0x443cba=_0x2f17d6;return this[_0x443cba(0x388)][_0x443cba(0x141)](_0x20adf7);}[_0x2f17d6(0x19a)](_0x1cd344,_0x35bf7d){var _0x546bfa=_0x2f17d6;const _0x12007b=this[_0x546bfa(0x388)][_0x546bfa(0x141)](_0x1cd344);if(_0x12007b)return _0x12007b[_0x546bfa(0x19a)](_0x35bf7d);}[_0x2f17d6(0x14a)](_0x8ef206){var _0x243114=_0x2f17d6;const _0xdda81f=this[_0x243114(0x388)][_0x243114(0x141)](_0x8ef206);_0xdda81f&&(_0xdda81f[_0x243114(0x36b)](),this[_0x243114(0x388)]['delete'](_0x8ef206));}['dispose'](){var _0x4b2063=_0x2f17d6;this[_0x4b2063(0x388)][_0x4b2063(0x1d3)](_0x4f03da=>_0x4f03da[_0x4b2063(0x36b)]()),this['_roomMembers']['clear'](),this['_roomCreated$']['complete']();}},_0x4ed799[_0x2f17d6(0x26b)]=_0x14fda2([_0x17c84e(0x0,_0x516919['IUniverInstanceService']),_0x17c84e(0x1,_0x516919[_0x2f17d6(0x381)](_0x516919['UserManagerService']))],_0x4ed799[_0x2f17d6(0x26b)]);class _0x5e89c2 extends _0x516919[_0x2f17d6(0x435)]{constructor(){var _0x112d73=_0x2f17d6;super(...arguments),_0x444b4d(this,_0x112d73(0x424),new Map()),_0x444b4d(this,_0x112d73(0x13b),new _0x1e7ac6['BehaviorSubject'](this['_members'])),_0x444b4d(this,_0x112d73(0x3ac),this[_0x112d73(0x13b)][_0x112d73(0x462)]());}[_0x2f17d6(0x36b)](){var _0x51c91c=_0x2f17d6;this['_members'][_0x51c91c(0xea)]();}[_0x2f17d6(0x467)](_0x25a654){var _0x3ca0ec=_0x2f17d6;this[_0x3ca0ec(0x424)][_0x3ca0ec(0x202)](_0x25a654[_0x3ca0ec(0x232)],_0x25a654),this[_0x3ca0ec(0x27a)]();}[_0x2f17d6(0x405)](_0x1e4cfd){var _0x222732=_0x2f17d6;this[_0x222732(0x424)][_0x222732(0x1be)](_0x1e4cfd);}[_0x2f17d6(0x19a)](_0x39c1fd){var _0x1b134a=_0x2f17d6;return this[_0x1b134a(0x424)][_0x1b134a(0x141)](_0x39c1fd);}[_0x2f17d6(0x17b)](){var _0x11162f=_0x2f17d6;return Array[_0x11162f(0x382)](this[_0x11162f(0x424)][_0x11162f(0x1fd)]());}['_emitMembers'](){var _0x12903b=_0x2f17d6;this[_0x12903b(0x13b)][_0x12903b(0x2bd)](this[_0x12903b(0x424)]);}}var _0x3c1402=Object[_0x2f17d6(0x397)],_0x1960b6=(_0x1016a2,_0xa3f143,_0x252536,_0x256f5a)=>{for(var _0x55b517=_0x256f5a>0x1?void 0x0:_0x256f5a?_0x3c1402(_0xa3f143,_0x252536):_0xa3f143,_0x4d1a65=_0x1016a2['length']-0x1,_0x487628;_0x4d1a65>=0x0;_0x4d1a65--)(_0x487628=_0x1016a2[_0x4d1a65])&&(_0x55b517=_0x487628(_0x55b517)||_0x55b517);return _0x55b517;},_0x5c3537=(_0x4a4d64,_0x5b98c0)=>(_0x4fe6f7,_0x32f028)=>_0x5b98c0(_0x4fe6f7,_0x32f028,_0x4a4d64),_0x472d3d=(_0x3c46be=>(_0x3c46be[_0x3c46be[_0x2f17d6(0x402)]=0x0]=_0x2f17d6(0x402),_0x3c46be[_0x3c46be[_0x2f17d6(0x27f)]=0x1]=_0x2f17d6(0x27f),_0x3c46be[_0x3c46be[_0x2f17d6(0x304)]=0x2]=_0x2f17d6(0x304),_0x3c46be[_0x3c46be[_0x2f17d6(0x370)]=0x3]=_0x2f17d6(0x370),_0x3c46be))(_0x472d3d||{});const _0x475e42={[_0x375fed[_0x2f17d6(0x2fa)]]:'session.join-failed',[_0x375fed[_0x2f17d6(0x45a)]]:_0x2f17d6(0x40c),[_0x375fed[_0x2f17d6(0x2b8)]]:_0x2f17d6(0x43e),[_0x375fed[_0x2f17d6(0x130)]]:'session.room-permission-denied',[_0x375fed['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};_0x4ed799[_0x2f17d6(0x133)]=class extends _0x516919['RxDisposable']{constructor(_0x522ea2,_0x16db3d,_0x250e4b,_0x2205c1,_0xc1008,_0x99aa3d,_0x125241,_0xa9020a,_0x3d489d){var _0x39a48f=_0x2f17d6;super(),_0x444b4d(this,'_sessionStatus$',new _0x1e7ac6[(_0x39a48f(0x1d8))](0x0)),_0x444b4d(this,_0x39a48f(0x2c5),this[_0x39a48f(0x178)][_0x39a48f(0x462)]()),_0x444b4d(this,_0x39a48f(0x1d6),new _0x1e7ac6[(_0x39a48f(0x313))]()),_0x444b4d(this,_0x39a48f(0x42a),this[_0x39a48f(0x1d6)][_0x39a48f(0x462)]()),_0x444b4d(this,_0x39a48f(0x17e)),_0x444b4d(this,_0x39a48f(0x13e)),_0x444b4d(this,_0x39a48f(0x3e0)),_0x444b4d(this,_0x39a48f(0x3de),!0x1),_0x444b4d(this,_0x39a48f(0x3ab),null),(this['_unitID']=_0x522ea2,this[_0x39a48f(0x20e)]=_0x250e4b,this['_configService']=_0x2205c1,this[_0x39a48f(0x287)]=_0xc1008,this[_0x39a48f(0x22f)]=_0x99aa3d,this['_commentService']=_0x125241,this['_collaborationUIEventService']=_0xa9020a,this[_0x39a48f(0x39e)]=_0x3d489d,this[_0x39a48f(0x3de)]=!!this[_0x39a48f(0x39e)],_0x16db3d['pipe'](_0x1e7ac6[_0x39a48f(0x19c)](this[_0x39a48f(0x260)]))[_0x39a48f(0x19e)](_0x2b84e5=>{var _0x5cae2f=_0x39a48f,_0x58e430;typeof _0x2b84e5>'u'||(this['_socket']=_0x2b84e5,_0x2b84e5?(this['_joinRoom'](_0x2b84e5),this[_0x5cae2f(0x13e)]=_0x2b84e5[_0x5cae2f(0xec)][_0x5cae2f(0x19e)](_0xaa8f8a=>{var _0x27a194=_0x5cae2f;_0xaa8f8a[_0x27a194(0x425)]===this[_0x27a194(0x29d)]&&this[_0x27a194(0x373)](_0xaa8f8a);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5cae2f(0x178)][_0x5cae2f(0x2bd)](0x2),(_0x58e430=this[_0x5cae2f(0x13e)])==null||_0x58e430['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x2f17d6(0x213)](){var _0x286be2=_0x2f17d6;return this['_sessionStatus$'][_0x286be2(0x13a)]();}[_0x2f17d6(0x181)](){var _0x5b86ca=_0x2f17d6,_0x1bd7f5,_0x22d525;return(_0x22d525=(_0x1bd7f5=this[_0x5b86ca(0x17e)])==null?void 0x0:_0x1bd7f5[_0x5b86ca(0x232)])!=null?_0x22d525:null;}[_0x2f17d6(0x36b)](){var _0x315f96=_0x2f17d6;super['dispose'](),this[_0x315f96(0x260)][_0x315f96(0x2bd)](),this['dispose$'][_0x315f96(0x102)]();}[_0x2f17d6(0x3a4)](){var _0xa663d3=_0x2f17d6,_0x5047bb,_0x22c09d;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5047bb=this[_0xa663d3(0x17e)])==null||_0x5047bb[_0xa663d3(0x2fb)]({'cmd':_0x69293e[_0xa663d3(0x290)],'data':{'roomID':this[_0xa663d3(0x29d)]}}),(_0x22c09d=this[_0xa663d3(0x17e)])==null||_0x22c09d['close'](),this[_0xa663d3(0x1d6)][_0xa663d3(0x102)](),this[_0xa663d3(0x178)]['complete'](),this[_0xa663d3(0x36b)]();}[_0x2f17d6(0x373)](_0x283cbe){var _0x53ce48=_0x2f17d6;_0x283cbe[_0x53ce48(0x11b)]===_0x69293e[_0x53ce48(0x45c)]?this['_onJoinRoomEvent'](_0x283cbe):_0x283cbe[_0x53ce48(0x11b)]===_0x69293e[_0x53ce48(0x3e3)]&&this[_0x53ce48(0x280)](_0x283cbe);}[_0x2f17d6(0x410)](_0x27833c){var _0x373282=_0x2f17d6;this['_sessionStatus$'][_0x373282(0x2bd)](0x1),_0x27833c[_0x373282(0x2fb)]({'cmd':_0x69293e[_0x373282(0x45c)],'routeKey':this[_0x373282(0x29d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x373282(0x29d)]}]}});}[_0x2f17d6(0x1ab)](_0x388c63){var _0x5c827d=_0x2f17d6,_0x2e6c56;if(_0x388c63[_0x5c827d(0x271)]in _0x475e42){this[_0x5c827d(0x182)][_0x5c827d(0x3bb)]({'id':_0x47c33b[_0x5c827d(0x294)],'data':_0x475e42[_0x388c63['code']]}),this[_0x5c827d(0x178)][_0x5c827d(0x2bd)](0x2);return;}this[_0x5c827d(0x178)][_0x5c827d(0x2bd)](0x3);const _0x413c32=(_0x2e6c56=_0x388c63[_0x5c827d(0x218)][_0x5c827d(0x37c)][this[_0x5c827d(0x29d)]])==null?void 0x0:_0x2e6c56['members'];_0x413c32&&_0x413c32['forEach'](_0x520175=>this[_0x5c827d(0x22f)][_0x5c827d(0x467)](this[_0x5c827d(0x29d)],_0x520175));}[_0x2f17d6(0x280)](_0x2db7d5){var _0x1efe79=_0x2f17d6;try{const _0x12f884=_0x2db7d5[_0x1efe79(0x218)];switch(_0x12f884[_0x1efe79(0x345)]){case _0x514b45[_0x1efe79(0x2ac)][_0x1efe79(0x42e)]:this[_0x1efe79(0x358)](_0x12f884),this['_event$']['next'](_0x12f884);break;case _0x514b45[_0x1efe79(0x2ac)][_0x1efe79(0x32c)]:this[_0x1efe79(0xfc)](_0x12f884),this['_event$'][_0x1efe79(0x2bd)](_0x12f884);break;case _0x514b45[_0x1efe79(0x2ac)]['CHANGESET_ACK']:case _0x514b45[_0x1efe79(0x2ac)]['CHANGESET_SHOULD_RETRY']:this[_0x1efe79(0x38c)](),this[_0x1efe79(0x447)](),this[_0x1efe79(0x1d6)][_0x1efe79(0x2bd)](_0x12f884);break;case _0x514b45[_0x1efe79(0x2ac)][_0x1efe79(0x186)]:this['_logService']['error'](_0x1efe79(0x16f)+JSON[_0x1efe79(0x3ca)](_0x12f884)),this[_0x1efe79(0x1d6)][_0x1efe79(0x2bd)](_0x12f884);break;case _0x514b45[_0x1efe79(0x2ac)][_0x1efe79(0x395)]:this['_commentService']['onCommentUpdate'](_0x12f884[_0x1efe79(0x218)]),this[_0x1efe79(0x1d6)][_0x1efe79(0x2bd)](_0x12f884);break;default:this['_event$'][_0x1efe79(0x2bd)](_0x12f884);}}catch(_0x3265b0){this[_0x1efe79(0x20e)][_0x1efe79(0x281)](_0x3265b0,_0x2db7d5);}}[_0x2f17d6(0x358)](_0x5e35f6){var _0x147d4a=_0x2f17d6;this['_memberService'][_0x147d4a(0x467)](this[_0x147d4a(0x29d)],_0x5e35f6['data']);}[_0x2f17d6(0xfc)](_0xd957b6){var _0x2bfbe5=_0x2f17d6;this[_0x2bfbe5(0x22f)]['removeMember'](this['_unitID'],_0xd957b6[_0x2bfbe5(0x218)][_0x2bfbe5(0x232)]);}async[_0x2f17d6(0x2fb)](_0x42af82,_0x329939){var _0x1f9efd=_0x2f17d6;if(this[_0x1f9efd(0x213)]!==0x3||!this[_0x1f9efd(0x17e)])throw new Error(_0x1f9efd(0x3f9));try{_0x42af82[_0x1f9efd(0x345)]===_0x514b45[_0x1f9efd(0x2ac)][_0x1f9efd(0x418)]&&(this[_0x1f9efd(0x329)](),this[_0x1f9efd(0x3dc)](_0x42af82)),this['_socket'][_0x1f9efd(0x2fb)]({'cmd':_0x69293e['INGEST'],'routeKey':_0x329939,'routeType':'','data':_0x42af82});}catch(_0xc1e6ea){this['_logService'][_0x1f9efd(0x281)](_0xc1e6ea);}}[_0x2f17d6(0x329)](){var _0x57f6b0=_0x2f17d6,_0x35d937;this[_0x57f6b0(0x3e0)]=setTimeout(()=>{var _0x484731=_0x57f6b0;this[_0x484731(0x3e0)]=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x47c33b[_0x484731(0x1ac)]});},(_0x35d937=this[_0x57f6b0(0x1a5)]['getConfig'](_0x434709))!=null?_0x35d937:0x4e20);}[_0x2f17d6(0x447)](){var _0x356e7e=_0x2f17d6;this[_0x356e7e(0x3e0)]&&(clearTimeout(this[_0x356e7e(0x3e0)]),this[_0x356e7e(0x3e0)]=null);}[_0x2f17d6(0x3dc)](_0x4242bd){var _0x44c4c6=_0x2f17d6;if(!this[_0x44c4c6(0x3de)])return;const {data:_0x3168ac}=_0x4242bd,{unitID:_0x1d18d5,changeset:_0x19303e}=_0x3168ac,{mutations:_0x266776,type:_0x10b47d}=_0x19303e;this[_0x44c4c6(0x3ab)]={'unitId':_0x1d18d5,'type':_0x10b47d,'startTime':performance[_0x44c4c6(0x29f)](),'stopTime':0x0,'duration':0x0,'size':_0x298ee2(_0x266776)};}[_0x2f17d6(0x38c)](){var _0x90b489=_0x2f17d6;if(this[_0x90b489(0x3de)]){if(!this[_0x90b489(0x3ab)]){this[_0x90b489(0x20e)][_0x90b489(0x281)](_0x90b489(0x240),_0x90b489(0x100));return;}this[_0x90b489(0x3ab)][_0x90b489(0x3c1)]=performance[_0x90b489(0x29f)](),this[_0x90b489(0x3ab)][_0x90b489(0x1f7)]=this[_0x90b489(0x3ab)][_0x90b489(0x3c1)]-this[_0x90b489(0x3ab)][_0x90b489(0x129)],this['_telemetryService']['capture'](_0x5a9765,this[_0x90b489(0x3ab)]),this[_0x90b489(0x3ab)]=null;}}[_0x2f17d6(0x38a)](){var _0x2ffd8a=_0x2f17d6;this[_0x2ffd8a(0x3ab)]=null;}},_0x4ed799[_0x2f17d6(0x133)]=_0x1960b6([_0x5c3537(0x2,_0x516919['ILogService']),_0x5c3537(0x3,_0x516919[_0x2f17d6(0x398)]),_0x5c3537(0x4,_0x516919['Inject'](_0x516919[_0x2f17d6(0x105)])),_0x5c3537(0x5,_0x516919[_0x2f17d6(0x381)](_0x4ed799[_0x2f17d6(0x26b)])),_0x5c3537(0x6,_0x516919['Inject'](_0x2f4bd8)),_0x5c3537(0x7,_0x516919['Inject'](_0x4c5916)),_0x5c3537(0x8,_0x516919['Optional'](_0x42e4b4['ITelemetryService']))],_0x4ed799['CollaborationSession']);var _0x5b7818=Object[_0x2f17d6(0x397)],_0x42b406=(_0x5bf19e,_0x2d6fbd,_0x482f89,_0x3d4113)=>{var _0x48440a=_0x2f17d6;for(var _0x9cea89=_0x3d4113>0x1?void 0x0:_0x3d4113?_0x5b7818(_0x2d6fbd,_0x482f89):_0x2d6fbd,_0x397646=_0x5bf19e[_0x48440a(0x34f)]-0x1,_0x4db648;_0x397646>=0x0;_0x397646--)(_0x4db648=_0x5bf19e[_0x397646])&&(_0x9cea89=_0x4db648(_0x9cea89)||_0x9cea89);return _0x9cea89;},_0x1d34ff=(_0x169fe1,_0x2a2a0f)=>(_0x572d73,_0x469fb5)=>_0x2a2a0f(_0x572d73,_0x469fb5,_0x169fe1);_0x4ed799['CollaborationSessionService']=class extends _0x516919[_0x2f17d6(0x435)]{constructor(_0x43aa07,_0x14f8ba,_0x656afd,_0x4de6bd,_0x40a873,_0x3e203e){var _0x2780c2=_0x2f17d6;super(),_0x444b4d(this,_0x2780c2(0x160),new _0x1e7ac6[(_0x2780c2(0x1d8))](void 0x0)),_0x444b4d(this,'socket$',this['_socket$'][_0x2780c2(0x462)]()),_0x444b4d(this,_0x2780c2(0x22b),null),_0x444b4d(this,_0x2780c2(0x30e),new Map()),_0x444b4d(this,_0x2780c2(0x2b5),new _0x1e7ac6[(_0x2780c2(0x1d8))](_0x472d3d['IDLE'])),_0x444b4d(this,_0x2780c2(0x14c),this[_0x2780c2(0x2b5)][_0x2780c2(0x462)]()),_0x444b4d(this,_0x2780c2(0x434),!0x1),_0x444b4d(this,_0x2780c2(0x44e)),_0x444b4d(this,_0x2780c2(0x3bc),0x0),_0x444b4d(this,_0x2780c2(0x200)),_0x444b4d(this,_0x2780c2(0x3a1)),(this[_0x2780c2(0x2e0)]=_0x43aa07,this[_0x2780c2(0x20e)]=_0x14f8ba,this[_0x2780c2(0x1a5)]=_0x656afd,this[_0x2780c2(0x227)]=_0x4de6bd,this['_collaborationUIEventService']=_0x40a873,this['_networkConditionService']=_0x3e203e,this[_0x2780c2(0x21c)]());}get[_0x2f17d6(0x17e)](){var _0xed3fa7=_0x2f17d6;return this[_0xed3fa7(0x160)][_0xed3fa7(0x13a)]();}[_0x2f17d6(0x21c)](){var _0x4af9d4=_0x2f17d6;this[_0x4af9d4(0x3f7)]&&this[_0x4af9d4(0x270)](this[_0x4af9d4(0x3f7)][_0x4af9d4(0x41c)][_0x4af9d4(0x19e)](_0x46b399=>{var _0x941c46=_0x4af9d4;_0x46b399&&!this[_0x941c46(0x17e)]&&this[_0x941c46(0x393)](),_0x46b399||this[_0x941c46(0x3b1)]();}));}['dispose'](){var _0x3e590b=_0x2f17d6;super[_0x3e590b(0x36b)](),this[_0x3e590b(0x337)](),this[_0x3e590b(0x2d7)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x3e590b(0x1d3)](_0xb6b253=>_0xb6b253[_0x3e590b(0x36b)]()),this[_0x3e590b(0x30e)][_0x3e590b(0xea)](),this[_0x3e590b(0x2b5)][_0x3e590b(0x102)]();}async[_0x2f17d6(0x3f3)](_0x268b6e){var _0x3f2ef1=_0x2f17d6;if(this[_0x3f2ef1(0x30e)]['has'](_0x268b6e))return this[_0x3f2ef1(0x30e)]['get'](_0x268b6e);this[_0x3f2ef1(0x204)]();const _0x577acd=this[_0x3f2ef1(0x2e0)]['createInstance'](_0x4ed799[_0x3f2ef1(0x133)],_0x268b6e,this[_0x3f2ef1(0x160)][_0x3f2ef1(0x462)]());return this['_sessions'][_0x3f2ef1(0x202)](_0x268b6e,_0x577acd),_0x577acd;}[_0x2f17d6(0x2cd)](_0x57b162){var _0x12b3eb=_0x2f17d6,_0x2b3ee0;const _0x592dc4=this[_0x12b3eb(0x30e)][_0x12b3eb(0x141)](_0x57b162);_0x592dc4&&(this[_0x12b3eb(0x30e)][_0x12b3eb(0x1be)](_0x57b162),_0x592dc4['close']()),this['_sessions']['size']||(_0x2b3ee0=this[_0x12b3eb(0x17e)])==null||_0x2b3ee0[_0x12b3eb(0x3a4)]();}[_0x2f17d6(0x393)](){var _0xa8eec4=_0x2f17d6;this[_0xa8eec4(0x3bc)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x2f17d6(0x337)](){var _0x2f9719=_0x2f17d6;this[_0x2f9719(0x44e)]!=null&&(clearTimeout(this[_0x2f9719(0x44e)]),this[_0x2f9719(0x44e)]=null);}async[_0x2f17d6(0x12e)](){var _0x39a4e2=_0x2f17d6,_0x374c12,_0x4fd6c6;const _0x148a01=this[_0x39a4e2(0x1a5)][_0x39a4e2(0x16c)](_0x274579),_0x21e3b8=this[_0x39a4e2(0x1a5)][_0x39a4e2(0x16c)](_0x2256bf),_0x45a7a2=(_0x4fd6c6=(_0x374c12=_0x21e3b8==null?void 0x0:_0x21e3b8[_0x39a4e2(0x1dc)])!=null?_0x374c12:_0x148a01)!=null?_0x4fd6c6:_0x544a89,_0x117d0a=await this['_socketService'][_0x39a4e2(0x17c)](_0x45a7a2);return this[_0x39a4e2(0x22b)]=_0x117d0a,_0x117d0a;}async[_0x2f17d6(0x204)](){var _0x5e7995=_0x2f17d6,_0x62da27,_0x3993c3;try{const _0x41b922=(_0x3993c3=(_0x62da27=this[_0x5e7995(0x17e)])!=null?_0x62da27:this[_0x5e7995(0x22b)])!=null?_0x3993c3:await this[_0x5e7995(0x12e)]();if(_0x41b922){const _0x3c7b5e=_0x41b922[_0x5e7995(0x2fb)];_0x41b922['send']=_0x494c20=>(this['_rescheduleHeartbeat'](),_0x3c7b5e[_0x5e7995(0x157)](_0x41b922,[_0x494c20])),_0x41b922['message$'][_0x5e7995(0x19e)](_0x57a1f1=>this[_0x5e7995(0x2b4)](_0x41b922,_0x57a1f1)),_0x41b922[_0x5e7995(0x367)][_0x5e7995(0x363)](_0x29f088['take'](0x1))[_0x5e7995(0x19e)](_0x4763af=>this[_0x5e7995(0x20e)][_0x5e7995(0x281)](_0x5e7995(0x2e4),_0x4763af)),_0x41b922['open$'][_0x5e7995(0x363)](_0x29f088['take'](0x1))[_0x5e7995(0x19e)](()=>{var _0x14eb35=_0x5e7995;this[_0x14eb35(0x24a)](_0x41b922);}),_0x41b922[_0x5e7995(0x32b)][_0x5e7995(0x363)](_0x29f088[_0x5e7995(0x466)](0x1))[_0x5e7995(0x19e)](_0x413197=>{var _0x2e0e06=_0x5e7995;this[_0x2e0e06(0x20e)][_0x2e0e06(0x146)](_0x2e0e06(0x2c4),_0x2e0e06(0x274),_0x413197),this[_0x2e0e06(0x407)]();});}}catch(_0x9e6044){this[_0x5e7995(0x20e)]['error'](_0x9e6044),this[_0x5e7995(0x407)]();}}[_0x2f17d6(0x24a)](_0x41cf62){var _0x5ee206=_0x2f17d6;this[_0x5ee206(0x20e)]['debug']('[CollaborationSessionService]',_0x5ee206(0x383)),_0x41cf62[_0x5ee206(0x2fb)]({'cmd':_0x69293e[_0x5ee206(0x354)]}),this[_0x5ee206(0x10f)]();}[_0x2f17d6(0x3b1)](){var _0x28cec1=_0x2f17d6;this['_socketReady']=!0x1,this[_0x28cec1(0x22b)]=null,this[_0x28cec1(0x2b5)][_0x28cec1(0x2bd)](_0x472d3d['OFFLINE']),this[_0x28cec1(0x160)]['next'](null),this[_0x28cec1(0x2d7)](),this['_clearHeartbeatTimer']();}[_0x2f17d6(0x407)](){var _0x1dc443=_0x2f17d6,_0x400d84;this[_0x1dc443(0x3b1)](),this[_0x1dc443(0x3bc)]<((_0x400d84=this[_0x1dc443(0x1a5)][_0x1dc443(0x16c)](_0x3462df))!=null?_0x400d84:0x3)?(this[_0x1dc443(0x182)][_0x1dc443(0x3bb)]({'id':_0x47c33b[_0x1dc443(0x3e1)]}),this['_tryReconnect']()):this[_0x1dc443(0x182)][_0x1dc443(0x3bb)]({'id':_0x47c33b[_0x1dc443(0x318)]});}[_0x2f17d6(0x3c2)](){var _0x1c560b=_0x2f17d6,_0x130098;const _0x2846a3=this[_0x1c560b(0x3bc)],_0x5a4473=this[_0x1c560b(0x1a5)][_0x1c560b(0x16c)](_0x2256bf),_0x6bd832=_0x2846a3===0x0?0x0:((_0x130098=_0x5a4473==null?void 0x0:_0x5a4473[_0x1c560b(0x112)])!=null?_0x130098:0x4e20)*0x2**_0x2846a3;this[_0x1c560b(0x44e)]=setTimeout(()=>{var _0x31b843=_0x1c560b;clearTimeout(this[_0x31b843(0x44e)]),this[_0x31b843(0x44e)]=null,this['_tryEnsureSocket']();},_0x6bd832),this[_0x1c560b(0x3bc)]+=0x1;}[_0x2f17d6(0x2b4)](_0xbd7058,_0x5c096f){var _0x16496f=_0x2f17d6;const {cmd:_0x2560e1}=_0x5c096f;_0x2560e1===_0x69293e[_0x16496f(0x354)]&&!this[_0x16496f(0x434)]&&(_0xbd7058[_0x16496f(0x232)]=_0x5c096f[_0x16496f(0x218)][_0x16496f(0x232)],this[_0x16496f(0x160)][_0x16496f(0x2bd)](_0xbd7058),this['_status$']['next'](_0x472d3d['ONLINE']),this[_0x16496f(0x434)]=!0x0,this[_0x16496f(0x22b)]=null),_0x2560e1===_0x69293e['HEARTBEAT']&&this[_0x16496f(0x2d7)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x46ded2=_0x2f17d6,_0x92f988;this['_clearHeartbeatTimer'](),this[_0x46ded2(0x200)]=setTimeout(()=>this[_0x46ded2(0xf8)](),(_0x92f988=this[_0x46ded2(0x1a5)][_0x46ded2(0x16c)](_0x46f90b))!=null?_0x92f988:0x7530);}[_0x2f17d6(0xf8)](){var _0x39b34e=_0x2f17d6;this[_0x39b34e(0x17e)][_0x39b34e(0x2fb)]({'cmd':_0x69293e[_0x39b34e(0x1af)]}),this[_0x39b34e(0x13f)]();}[_0x2f17d6(0x13f)](){var _0x3fa291=_0x2f17d6,_0xac4919;this[_0x3fa291(0x3a1)]=setTimeout(()=>this[_0x3fa291(0x407)](),(_0xac4919=this[_0x3fa291(0x1a5)]['getConfig'](_0x434709))!=null?_0xac4919:0x4e20);}[_0x2f17d6(0x161)](){var _0x4a5491=_0x2f17d6;this[_0x4a5491(0x200)]!=null&&(clearTimeout(this[_0x4a5491(0x200)]),this['_sendHeartbeatTimer']=null);}[_0x2f17d6(0x2d7)](){var _0x587591=_0x2f17d6;this[_0x587591(0x3a1)]!=null&&(clearTimeout(this[_0x587591(0x3a1)]),this[_0x587591(0x3a1)]=null);}},_0x4ed799[_0x2f17d6(0x2db)]=_0x42b406([_0x1d34ff(0x0,_0x516919['Inject'](_0x516919['Injector'])),_0x1d34ff(0x1,_0x516919[_0x2f17d6(0x3b3)]),_0x1d34ff(0x2,_0x516919[_0x2f17d6(0x398)]),_0x1d34ff(0x3,_0x4ea67e),_0x1d34ff(0x4,_0x516919[_0x2f17d6(0x381)](_0x4c5916)),_0x1d34ff(0x5,_0x516919[_0x2f17d6(0x15b)](_0x58bf3))],_0x4ed799[_0x2f17d6(0x2db)]);const _0x771562=[];for(let _0x555c1d=0x0;_0x555c1d<0x100;++_0x555c1d)_0x771562[_0x2f17d6(0x1fa)]((_0x555c1d+0x100)[_0x2f17d6(0x1b2)](0x10)[_0x2f17d6(0x39b)](0x1));function _0x1fce4a(_0x1ca0b6,_0x5e8478=0x0){return(_0x771562[_0x1ca0b6[_0x5e8478+0x0]]+_0x771562[_0x1ca0b6[_0x5e8478+0x1]]+_0x771562[_0x1ca0b6[_0x5e8478+0x2]]+_0x771562[_0x1ca0b6[_0x5e8478+0x3]]+'-'+_0x771562[_0x1ca0b6[_0x5e8478+0x4]]+_0x771562[_0x1ca0b6[_0x5e8478+0x5]]+'-'+_0x771562[_0x1ca0b6[_0x5e8478+0x6]]+_0x771562[_0x1ca0b6[_0x5e8478+0x7]]+'-'+_0x771562[_0x1ca0b6[_0x5e8478+0x8]]+_0x771562[_0x1ca0b6[_0x5e8478+0x9]]+'-'+_0x771562[_0x1ca0b6[_0x5e8478+0xa]]+_0x771562[_0x1ca0b6[_0x5e8478+0xb]]+_0x771562[_0x1ca0b6[_0x5e8478+0xc]]+_0x771562[_0x1ca0b6[_0x5e8478+0xd]]+_0x771562[_0x1ca0b6[_0x5e8478+0xe]]+_0x771562[_0x1ca0b6[_0x5e8478+0xf]])['toLowerCase']();}let _0x331a64;const _0x5cf7a7=new Uint8Array(0x10);function _0x36ba42(){var _0x19c56c=_0x2f17d6;if(!_0x331a64){if(typeof crypto>'u'||!crypto[_0x19c56c(0x37f)])throw new Error(_0x19c56c(0x2cf));_0x331a64=crypto[_0x19c56c(0x37f)][_0x19c56c(0x226)](crypto);}return _0x331a64(_0x5cf7a7);}const _0x2c5d00={'randomUUID':typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x2f17d6(0x2f2)]['bind'](crypto)};function _0x102a2f(_0xd5648e,_0x2ee3bc,_0x464319){var _0x5723fd=_0x2f17d6,_0x2f6de5,_0x10c755,_0x5d20f1;if(_0x2c5d00[_0x5723fd(0x2f2)]&&!_0xd5648e)return _0x2c5d00[_0x5723fd(0x2f2)]();_0xd5648e=_0xd5648e||{};const _0x5e8020=(_0x5d20f1=(_0x10c755=_0xd5648e['random'])!=null?_0x10c755:(_0x2f6de5=_0xd5648e[_0x5723fd(0x2d5)])==null?void 0x0:_0x2f6de5[_0x5723fd(0x1b9)](_0xd5648e))!=null?_0x5d20f1:_0x36ba42();if(_0x5e8020[_0x5723fd(0x34f)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x5e8020[0x6]=_0x5e8020[0x6]&0xf|0x40,_0x5e8020[0x8]=_0x5e8020[0x8]&0x3f|0x80,_0x1fce4a(_0x5e8020);}const _0x43f574=_0x516919['createIdentifier'](_0x2f17d6(0x2a1));function _0x342a74(_0x16c7b8){var _0x45386d=_0x2f17d6;return _0x45386d(0x45b)+_0x16c7b8;}var _0xe61399=Object['getOwnPropertyDescriptor'],_0x26f55e=(_0x54adc5,_0x2ae306,_0x4fc2a1,_0x2f56c0)=>{var _0x5eb928=_0x2f17d6;for(var _0x52dd52=_0x2f56c0>0x1?void 0x0:_0x2f56c0?_0xe61399(_0x2ae306,_0x4fc2a1):_0x2ae306,_0x189084=_0x54adc5[_0x5eb928(0x34f)]-0x1,_0x40cd63;_0x189084>=0x0;_0x189084--)(_0x40cd63=_0x54adc5[_0x189084])&&(_0x52dd52=_0x40cd63(_0x52dd52)||_0x52dd52);return _0x52dd52;},_0xe848fb=(_0x1c2fb4,_0x26b00c)=>(_0x5cf496,_0x3d14a6)=>_0x26b00c(_0x5cf496,_0x3d14a6,_0x1c2fb4);function _0x9f3ee0(_0x264b68){var _0x3fde7e=_0x2f17d6;const {unitID:_0x33fd50,mutations:_0x4a5d46}=_0x264b68;return{'unitId':_0x33fd50,'subUnitId':_0x4a5d46[0x0]['params'][_0x3fde7e(0x1c3)]};}_0x4ed799['SheetTransformSelectionsService']=class{constructor(_0x14f62c,_0x5b449f,_0x24b364){var _0x132be9=_0x2f17d6;this[_0x132be9(0x2e0)]=_0x14f62c,this[_0x132be9(0x2e5)]=_0x5b449f,this[_0x132be9(0x24f)]=_0x24b364;}['transformSelections'](_0x5256b0){var _0x31bef8=_0x2f17d6,_0xdf09ac,_0x6ebbfd,_0x4b9343,_0x3b1e1a;const _0x345cfc=this[_0x31bef8(0x2e0)][_0x31bef8(0x141)](_0x513775[_0x31bef8(0x427)]),{unitId:_0x246baa,subUnitId:_0xb96eb9}=_0x9f3ee0(_0x5256b0),_0x5dcdf0=_0x345cfc==null?void 0x0:_0x345cfc[_0x31bef8(0x1d4)](_0x246baa)[_0x31bef8(0x1ca)](),_0x52cfad=(_0x6ebbfd=(_0xdf09ac=this['_instanceService'][_0x31bef8(0x41b)](_0x246baa))==null?void 0x0:_0xdf09ac[_0x31bef8(0x2bc)]())==null?void 0x0:_0x6ebbfd['getSheetId']();if(_0x5dcdf0['length']===0x0||!_0x246baa||!_0xb96eb9)return;const _0x12600e=[{'id':_0x513775[_0x31bef8(0x340)]['id'],'params':{'unitId':_0x246baa,'subUnitId':_0x52cfad,'selections':_0x516919[_0x31bef8(0x285)][_0x31bef8(0x35a)](_0x5dcdf0)}}],_0x37e397=this[_0x31bef8(0x2e5)]['transformMutationsWithChangeset'](_0x5256b0,_0x12600e);if(!_0x514b45[_0x31bef8(0x44b)](_0x37e397))throw _0x37e397[_0x31bef8(0x281)];const _0x2a3359=(_0x3b1e1a=(_0x4b9343=_0x37e397['m2Prime'][0x0])==null?void 0x0:_0x4b9343[_0x31bef8(0x2f7)])==null?void 0x0:_0x3b1e1a[_0x31bef8(0x10a)];if(Array[_0x31bef8(0x1bd)](_0x2a3359)&&_0x2a3359['length']){if(_0x2a3359[_0x31bef8(0x34f)]===_0x12600e[0x0][_0x31bef8(0x2f7)][_0x31bef8(0x10a)]['length']&&_0x2a3359['every']((_0x179dc5,_0x4cb69b)=>_0x516919[_0x31bef8(0x1a6)][_0x31bef8(0x206)](_0x179dc5[_0x31bef8(0x11e)],_0x12600e[0x0]['params'][_0x31bef8(0x10a)][_0x4cb69b]['range'])))return;this[_0x31bef8(0x2e0)][_0x31bef8(0x141)](_0x516919[_0x31bef8(0x351)])[_0x31bef8(0x12d)](_0x513775['SetSelectionsOperation']['id'],{'unitId':_0x246baa,'subUnitId':_0x52cfad,'selections':_0x2a3359});}}},_0x4ed799[_0x2f17d6(0x135)]=_0x26f55e([_0xe848fb(0x0,_0x516919['Inject'](_0x516919[_0x2f17d6(0x1ef)])),_0xe848fb(0x1,_0x514b45['ITransformService']),_0xe848fb(0x2,_0x516919[_0x2f17d6(0x2c0)])],_0x4ed799[_0x2f17d6(0x135)]);const _0x493210=_0x516919['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x31e956=(_0x4b930d=>(_0x4b930d[_0x4b930d['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2f17d6(0x1a4),_0x4b930d[_0x4b930d[_0x2f17d6(0x41a)]=0x1]=_0x2f17d6(0x41a),_0x4b930d))(_0x31e956||{});const _0x16db9d=new Set([_0x513775['InsertSheetMutation']['id']]);function _0x43b611(_0x2db149,_0x42940f,_0x121595,_0x26ed50,_0x35b69d){var _0x33e99e=_0x2f17d6,_0x4b3607,_0x68ed95,_0xa68aeb,_0x42865b;const _0x1c6ce3=[];for(const _0x296043 of _0x2db149)if(_0x16db9d[_0x33e99e(0x43b)](_0x296043['id'])){if(_0x1c6ce3['length']>0x0)break;_0x1c6ce3[_0x33e99e(0x1fa)](_0x296043);break;}else _0x1c6ce3[_0x33e99e(0x1fa)](_0x296043);const _0x3b6094=(_0x68ed95=(_0x4b3607=_0x35b69d[_0x33e99e(0x309)]())==null?void 0x0:_0x4b3607[_0x33e99e(0x323)])!=null?_0x68ed95:_0x33e99e(0x1cd),_0x1e77fa=(_0x42865b=(_0xa68aeb=_0x35b69d['getCurrentUser']())==null?void 0x0:_0xa68aeb[_0x33e99e(0x232)])!=null?_0x42865b:'unknown';return{'changeset':{'unitID':_0x42940f,'type':_0x514b45[_0x33e99e(0x289)](_0x121595[_0x33e99e(0x2e6)](_0x42940f)),'baseRev':_0x26ed50['getCurrentRevOfUnit'](_0x42940f),'revision':0x0,'userID':_0x3b6094,'memberID':_0x1e77fa,'mutations':_0x1c6ce3},'pendingMutations':_0x2db149[_0x33e99e(0x39b)](_0x1c6ce3[_0x33e99e(0x34f)])};}function _0x13d698(_0xd68ac5,_0x10baea,_0x2d82de,_0x5f8aef,_0x2d3bd7){var _0x317597=_0x2f17d6,_0x1cffc7,_0x514255,_0x50d058,_0x1cf1e9;const _0x5de3c5=[_0xd68ac5[_0x317597(0x39a)]((_0x47b0be,_0x58c6f2)=>{var _0x2318af=_0x317597,_0x388e5f;const {id:_0xd176ee}=_0x47b0be,{id:_0x27f3ce,type:_0x5560b4}=_0x58c6f2,_0x160450=(_0x388e5f=_0x47b0be[_0x2318af(0x2f7)])!=null?_0x388e5f:{'actions':null},_0x40d7bd=_0x58c6f2[_0x2318af(0x2f7)];if(_0xd176ee&&_0xd176ee!==_0x27f3ce)throw new Error(_0x2318af(0x12b)+_0xd176ee+'\x20-\x20'+_0x27f3ce+'.');return{..._0x47b0be,'id':_0x27f3ce,'type':_0x5560b4,'params':{'unitId':_0x40d7bd['unitId'],'textRanges':_0x40d7bd['textRanges'],'actions':_0x516919[_0x2318af(0x338)]['compose'](_0x160450['actions'],_0x40d7bd[_0x2318af(0x38d)])}};},{})],_0x40b3af=(_0x514255=(_0x1cffc7=_0x2d3bd7['getCurrentUser']())==null?void 0x0:_0x1cffc7[_0x317597(0x323)])!=null?_0x514255:'unknown',_0x6ce05d=(_0x1cf1e9=(_0x50d058=_0x2d3bd7[_0x317597(0x309)]())==null?void 0x0:_0x50d058[_0x317597(0x232)])!=null?_0x1cf1e9:'unknown';return{'changeset':{'unitID':_0x10baea,'type':_0x514b45['mapDocumentTypeToUniverType'](_0x2d82de[_0x317597(0x2e6)](_0x10baea)),'baseRev':_0x5f8aef[_0x317597(0x2f4)](_0x10baea),'revision':0x0,'userID':_0x40b3af,'memberID':_0x6ce05d,'mutations':_0x5de3c5},'pendingMutations':[]};}function _0x145c9b(_0x5a53e4,_0x34fd0c){var _0x36bdde=_0x2f17d6;const _0x2bd5f0=new _0x1e7ac6[(_0x36bdde(0x245))](0x1);return setTimeout(()=>_0x2bd5f0[_0x36bdde(0x2bd)](_0x34fd0c),_0x5a53e4),_0x2bd5f0[_0x36bdde(0x462)]()[_0x36bdde(0x363)](_0x1e7ac6[_0x36bdde(0x466)](0x1));}const _0x223991={'id':_0x513775[_0x2f17d6(0x1ee)]['id'],'type':_0x516919[_0x2f17d6(0xf4)]['MUTATION'],'params':{}};var _0xe8d4f0=Object[_0x2f17d6(0x397)],_0x2fad15=(_0x162bb9,_0x2e92e4,_0x52d309,_0x3804b2)=>{var _0x48ae25=_0x2f17d6;for(var _0x8e51ac=_0x3804b2>0x1?void 0x0:_0x3804b2?_0xe8d4f0(_0x2e92e4,_0x52d309):_0x2e92e4,_0x19c536=_0x162bb9[_0x48ae25(0x34f)]-0x1,_0x7626b3;_0x19c536>=0x0;_0x19c536--)(_0x7626b3=_0x162bb9[_0x19c536])&&(_0x8e51ac=_0x7626b3(_0x8e51ac)||_0x8e51ac);return _0x8e51ac;},_0xfb4958=(_0x919296,_0x3d0fc2)=>(_0x2dc95c,_0x3e7796)=>_0x3d0fc2(_0x2dc95c,_0x3e7796,_0x919296),_0x80096a=(_0x154201=>(_0x154201[_0x2f17d6(0x2b9)]=_0x2f17d6(0x2f3),_0x154201['SYNCED']=_0x2f17d6(0x457),_0x154201[_0x2f17d6(0x34d)]='pending',_0x154201['AWAITING']=_0x2f17d6(0x27c),_0x154201[_0x2f17d6(0x368)]='awaiting_with_pending',_0x154201[_0x2f17d6(0x1d7)]=_0x2f17d6(0x438),_0x154201[_0x2f17d6(0x1ed)]=_0x2f17d6(0x1aa),_0x154201[_0x2f17d6(0x304)]=_0x2f17d6(0x144),_0x154201))(_0x80096a||{});const _0x113a2a=0xea60;class _0xaf3da0{constructor(_0xbf1bff,_0x2074ae,_0x99f7d8,_0xa64682,_0x5a9bec,_0x4fdd5a,_0x404c76,_0xb03d04,_0x5c7368){var _0x3960d6=_0x2f17d6;_0x444b4d(this,_0x3960d6(0x276),null),_0x444b4d(this,_0x3960d6(0x3a7),[]),(this[_0x3960d6(0x11d)]=_0xbf1bff,this[_0x3960d6(0x1de)]=_0x2074ae,this['_handler']=_0x5a9bec,this[_0x3960d6(0x423)]=_0x4fdd5a,this[_0x3960d6(0x37b)]=_0x404c76,this[_0x3960d6(0x145)]=_0xb03d04,this[_0x3960d6(0x13c)]=_0x5c7368,this[_0x3960d6(0x276)]=_0x99f7d8,this['_pendingMutations']=_0xa64682);}[_0x2f17d6(0x366)](_0x5e93ce){var _0x4cec35=_0x2f17d6;const _0x4cc17a=this[_0x4cec35(0x145)]['getCurrentRevOfUnit'](this[_0x4cec35(0x11d)]);return _0x5e93ce[_0x4cec35(0x168)]>_0x4cc17a+0x1?(this['_handler']['onMissingChangesets']({'from':_0x4cc17a,'to':_0x5e93ce[_0x4cec35(0x168)]-0x1}),!0x0):!0x1;}[_0x2f17d6(0x35f)](_0x58507e){var _0x34050b=_0x2f17d6;this[_0x34050b(0x37b)][_0x34050b(0x3cd)](this[_0x34050b(0x11d)],_0x58507e);}[_0x2f17d6(0x267)](_0x3239d7){var _0x23359f=_0x2f17d6,_0x5d058d,_0x2b8e08;(_0x2b8e08=(_0x5d058d=this[_0x23359f(0x1f2)])[_0x23359f(0x406)])==null||_0x2b8e08[_0x23359f(0x1b9)](_0x5d058d,_0x3239d7);}[_0x2f17d6(0x26e)](_0x102dcd){var _0x4be9a7=_0x2f17d6,_0x2e2a80,_0x4b6a72;return(_0x4b6a72=(_0x2e2a80=this['_handler'])[_0x4be9a7(0x300)])==null?void 0x0:_0x4b6a72[_0x4be9a7(0x1b9)](_0x2e2a80,_0x102dcd);}['_transformStateCache'](_0x1b15af){var _0x7c382b=_0x2f17d6,_0x49ecfb,_0x25a07c;return(_0x25a07c=(_0x49ecfb=this[_0x7c382b(0x1f2)])['onTransformState'])==null?void 0x0:_0x25a07c[_0x7c382b(0x1b9)](_0x49ecfb,_0x1b15af);}[_0x2f17d6(0x316)](_0x1aa17a){var _0x53bfc9=_0x2f17d6,_0x4940f6,_0x320f27,_0x3e14f7;return(_0x3e14f7=(_0x320f27=(_0x4940f6=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x320f27[_0x53bfc9(0x1b9)](_0x4940f6,_0x1aa17a))!=null?_0x3e14f7:_0x1aa17a;}['_transformRemoteChangesetByStateCache'](_0x55b7ec){var _0x7883d2=_0x2f17d6,_0x3798bc,_0x45558c,_0x27d83a;return(_0x27d83a=(_0x45558c=(_0x3798bc=this[_0x7883d2(0x1f2)])[_0x7883d2(0xf2)])==null?void 0x0:_0x45558c['call'](_0x3798bc,_0x55b7ec))!=null?_0x27d83a:_0x55b7ec;}[_0x2f17d6(0x343)](_0x223c2d){var _0x292799=_0x2f17d6,_0x7094f5,_0x1e81bc;if(this[_0x292799(0x1de)]===_0x1ede20['UNIVER_DOC']){const {unitID:_0x1eddfc,mutations:_0x58b97a,memberID:_0x8e3407}=_0x223c2d,_0x341d1c=_0x58b97a[0x0][_0x292799(0x2f7)][_0x292799(0xfb)];Array[_0x292799(0x1bd)](_0x341d1c)&&_0x341d1c[_0x292799(0x34f)]>0x0&&((_0x1e81bc=(_0x7094f5=this[_0x292799(0x1f2)])['onSyncEditingCollabCursor'])==null||_0x1e81bc['call'](_0x7094f5,{'unitID':_0x1eddfc,'memberID':_0x8e3407,'textRanges':_0x341d1c}));}}[_0x2f17d6(0x328)](){var _0x13db84=_0x2f17d6,_0x36e222;(_0x36e222=this['_localCacheService'])==null||_0x36e222[_0x13db84(0x380)](this[_0x13db84(0x11d)],this[_0x13db84(0x1de)],this[_0x13db84(0x276)],this[_0x13db84(0x3a7)]);}[_0x2f17d6(0x356)](){var _0x3f25ae=_0x2f17d6;return this[_0x3f25ae(0x145)][_0x3f25ae(0x2f4)](this[_0x3f25ae(0x11d)]);}[_0x2f17d6(0x361)](){var _0x4aed6d=_0x2f17d6;this['_revisionService']['incrementRevOfUnit'](this[_0x4aed6d(0x11d)]);}[_0x2f17d6(0x132)](_0x422574){var _0xfd2fde=_0x2f17d6,_0x1f3286;let _0xff3ae5=this[_0xfd2fde(0x316)](_0x422574);_0xff3ae5=this['_transformRemoteChangesetByStateCache'](_0xff3ae5);const _0x3fb7ba=_0x516919[_0xfd2fde(0x2ae)](_0xff3ae5[_0xfd2fde(0x1cf)],this['_commandService'],{'fromCollab':!0x0});if(!_0x3fb7ba[_0xfd2fde(0x3be)])throw _0x3fb7ba[_0xfd2fde(0x281)]instanceof Error?_0x3fb7ba[_0xfd2fde(0x281)]:new Error((_0x1f3286=_0x3fb7ba['error'])!=null?_0x1f3286:_0xfd2fde(0x43f));this[_0xfd2fde(0x26e)](_0xff3ae5),this[_0xfd2fde(0x138)](_0xff3ae5),this[_0xfd2fde(0x35f)](_0x422574),this['_transformSelections'](_0xff3ae5),this['_syncEditingCollabCursor'](_0xff3ae5),this[_0xfd2fde(0x361)]();}}_0x4ed799[_0x2f17d6(0x1fc)]=class extends _0xaf3da0{constructor(_0x1cd475,_0x1244db,_0x3de50b,_0x16b9c9,_0xa11787,_0x1d972e,_0x47560d,_0x245299,_0x526e21,_0x327eec){var _0x50e959=_0x2f17d6;super(_0x1cd475,_0x1244db,null,[],_0x3de50b,_0x47560d,_0x1d972e,_0x16b9c9,_0x327eec),_0x444b4d(this,_0x50e959(0x365),_0x50e959(0x457)),(this[_0x50e959(0x2e0)]=_0xa11787,this[_0x50e959(0x20e)]=_0x245299,this[_0x50e959(0x2e5)]=_0x526e21,this['localCacheService']=_0x327eec);}['appendMutation'](_0xf7c36e){var _0x32ae39=_0x2f17d6;const _0x49caa0=this['_injector'][_0x32ae39(0x34c)](_0x4ed799[_0x32ae39(0x3ff)],this[_0x32ae39(0x11d)],this['type'],[_0xf7c36e],this['_handler']);return _0x49caa0[_0x32ae39(0x251)](),_0x49caa0[_0x32ae39(0x328)](),_0x49caa0;}[_0x2f17d6(0x2c9)](_0x1065eb){var _0x18ab94=_0x2f17d6;if(this[_0x18ab94(0x366)](_0x1065eb))return this[_0x18ab94(0x2e0)][_0x18ab94(0x34c)](_0x4ed799[_0x18ab94(0x33d)],this[_0x18ab94(0x11d)],this[_0x18ab94(0x1de)],null,[],null,[_0x1065eb],this['_handler']);try{const _0x42d61f=this[_0x18ab94(0x2e5)][_0x18ab94(0x179)](_0x1065eb,[_0x223991]);if(_0x514b45[_0x18ab94(0x44b)](_0x42d61f)){const {c1Prime:_0x3a0de5}=_0x42d61f;return this[_0x18ab94(0x132)](_0x3a0de5),this;}throw _0x42d61f['error'];}catch(_0x47562e){return this['_logService'][_0x18ab94(0x281)](_0x47562e),this[_0x18ab94(0xff)](!0x1);}}[_0x2f17d6(0xff)](_0x45a944){var _0x111e87=_0x2f17d6;return this['_injector'][_0x111e87(0x34c)](_0x4ed799[_0x111e87(0x220)],this[_0x111e87(0x11d)],this['type'],null,[],this[_0x111e87(0x1f2)],_0x45a944);}['onRemoteAck'](){var _0x169901=_0x2f17d6;throw new Error(_0x169901(0x107));}['onRemoteRej'](){var _0x4329ac=_0x2f17d6;throw new Error(_0x4329ac(0x28f));}[_0x2f17d6(0x31d)](){return this;}[_0x2f17d6(0x33f)](){var _0x4773c8=_0x2f17d6;return this['_injector'][_0x4773c8(0x34c)](_0x4ed799[_0x4773c8(0x261)],this[_0x4773c8(0x11d)],this[_0x4773c8(0x1de)],null,[],this[_0x4773c8(0x1f2)]);}[_0x2f17d6(0x26a)](){return this;}[_0x2f17d6(0x34e)](){var _0x10d139=_0x2f17d6;throw new Error(_0x10d139(0x113));}[_0x2f17d6(0x25d)](){var _0x500f13=_0x2f17d6;const _0x1b70d8=this[_0x500f13(0x145)][_0x500f13(0x2f4)](this[_0x500f13(0x11d)]);return this['_handler'][_0x500f13(0x305)]({'from':_0x1b70d8,'to':0x0}),this[_0x500f13(0x2e0)][_0x500f13(0x34c)](_0x4ed799['FetchingMissState'],this['unitID'],this[_0x500f13(0x1de)],null,[],null,[],this[_0x500f13(0x1f2)]);}},_0x4ed799[_0x2f17d6(0x1fc)]=_0x2fad15([_0xfb4958(0x3,_0x516919[_0x2f17d6(0x381)](_0x514b45['RevisionService'])),_0xfb4958(0x4,_0x516919[_0x2f17d6(0x381)](_0x516919['Injector'])),_0xfb4958(0x5,_0x516919[_0x2f17d6(0x45f)]),_0xfb4958(0x6,_0x516919['ICommandService']),_0xfb4958(0x7,_0x516919[_0x2f17d6(0x3b3)]),_0xfb4958(0x8,_0x514b45['ITransformService']),_0xfb4958(0x9,_0x516919['Optional'](_0x43f574))],_0x4ed799[_0x2f17d6(0x1fc)]),_0x4ed799[_0x2f17d6(0x3ff)]=class extends _0xaf3da0{constructor(_0x29d568,_0x5f46ee,_0x479a09,_0x48cbc5,_0x225689,_0x3ef6a3,_0x3b4999,_0x52fb49,_0x3926ab,_0x211f69,_0x617c8d,_0x26924c,_0x169401,_0xf2bda9){var _0x53009e=_0x2f17d6;super(_0x29d568,_0x5f46ee,null,_0x479a09,_0x48cbc5,_0x3926ab,_0x169401,_0x3ef6a3,_0xf2bda9),_0x444b4d(this,'status',_0x53009e(0x3cc)),_0x444b4d(this,_0x53009e(0x20d),null),_0x444b4d(this,_0x53009e(0x150),null),(this['_injector']=_0x225689,this['_memberService']=_0x3b4999,this[_0x53009e(0x20e)]=_0x52fb49,this[_0x53009e(0x1a5)]=_0x211f69,this['_transformService']=_0x617c8d,this[_0x53009e(0x389)]=_0x26924c);}['appendMutation'](_0x5ebdfb){var _0x25f33b=_0x2f17d6;return this[_0x25f33b(0x3a7)][_0x25f33b(0x1fa)](_0x5ebdfb),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x4b4f63){var _0x45519b=_0x2f17d6;if(this['_checkMissing'](_0x4b4f63))return this[_0x45519b(0x2bf)](),this[_0x45519b(0x2e0)]['createInstance'](_0x4ed799[_0x45519b(0x33d)],this[_0x45519b(0x11d)],this[_0x45519b(0x1de)],null,this[_0x45519b(0x3a7)],null,[_0x4b4f63],this['_handler']);try{const _0x2b6f3a=this[_0x45519b(0x2e5)]['transformMutationsWithChangeset'](_0x4b4f63,this[_0x45519b(0x3a7)]);if(_0x514b45[_0x45519b(0x44b)](_0x2b6f3a)){const {c1Prime:_0x21c433,m2Prime:_0x121c14}=_0x2b6f3a;this['_executeRemoteChangeset'](_0x21c433);const _0x2f5159=this[_0x45519b(0x2e0)][_0x45519b(0x34c)](_0x4ed799[_0x45519b(0x3ff)],this[_0x45519b(0x11d)],this[_0x45519b(0x1de)],_0x121c14,this[_0x45519b(0x1f2)]);this[_0x45519b(0x2bf)]();const _0x4ede3e=new Date()[_0x45519b(0x18c)](),_0x1fbc69=this[_0x45519b(0x20d)]?Math[_0x45519b(0x2df)](this[_0x45519b(0x20d)]-_0x4ede3e,0x0):this['_getSendChangesetTimeout']();return _0x2f5159[_0x45519b(0x251)](_0x1fbc69),_0x2f5159;}throw _0x2b6f3a[_0x45519b(0x281)];}catch(_0x153a95){return this[_0x45519b(0x20e)][_0x45519b(0x281)](_0x153a95),this[_0x45519b(0xff)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x163b12=_0x2f17d6;throw new Error(_0x163b12(0x3b9));}[_0x2f17d6(0x31d)](){return this;}['toggleOffline'](){var _0x45183e=_0x2f17d6;return this[_0x45183e(0x2bf)](),this[_0x45183e(0x2e0)][_0x45183e(0x34c)](_0x4ed799[_0x45183e(0x261)],this[_0x45183e(0x11d)],this[_0x45183e(0x1de)],null,this[_0x45183e(0x3a7)],this[_0x45183e(0x1f2)]);}[_0x2f17d6(0x26a)](){return this;}[_0x2f17d6(0x251)](_0x38e6f2){var _0x4a2099=_0x2f17d6;const _0x56a27d=_0x38e6f2!=null?_0x38e6f2:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x4a2099(0x18c)]()+_0x56a27d,this[_0x4a2099(0x150)]=setTimeout(()=>{var _0x20e2e2=_0x4a2099;this['_clearScheduledTask']();let _0x49ffa5=null;switch(this['type']){case _0x1ede20[_0x20e2e2(0x15a)]:{_0x49ffa5=_0x43b611(this[_0x20e2e2(0x3a7)],this[_0x20e2e2(0x11d)],this[_0x20e2e2(0x389)],this[_0x20e2e2(0x145)],this[_0x20e2e2(0x22f)]);break;}case _0x1ede20[_0x20e2e2(0x3c0)]:{this[_0x20e2e2(0x3a7)][_0x20e2e2(0x3a0)](_0x3dcf97=>_0x3dcf97['id']===_0x5a09c4[_0x20e2e2(0x210)]['id'])?_0x49ffa5=_0x13d698(this[_0x20e2e2(0x3a7)],this[_0x20e2e2(0x11d)],this['_univerInstanceService'],this[_0x20e2e2(0x145)],this['_memberService']):_0x49ffa5=_0x43b611(this['_pendingMutations'],this[_0x20e2e2(0x11d)],this[_0x20e2e2(0x389)],this[_0x20e2e2(0x145)],this[_0x20e2e2(0x22f)]);break;}default:throw new Error(_0x20e2e2(0x303)+this[_0x20e2e2(0x1de)]+_0x20e2e2(0x125));}const {changeset:_0x5a9d70,pendingMutations:_0x574dc3}=_0x49ffa5;this[_0x20e2e2(0x1f2)]['onSendChangeset'](_0x5a9d70);const _0x3bd8bd=_0x574dc3['length']?this[_0x20e2e2(0x2e0)]['createInstance'](_0x4ed799[_0x20e2e2(0x420)],this[_0x20e2e2(0x11d)],this[_0x20e2e2(0x1de)],_0x5a9d70,_0x574dc3,this['_handler'],void 0x0):this[_0x20e2e2(0x2e0)][_0x20e2e2(0x34c)](_0x4ed799[_0x20e2e2(0x1ad)],this[_0x20e2e2(0x11d)],this['type'],_0x5a9d70,this[_0x20e2e2(0x1f2)]);_0x3bd8bd['_updateLocalCache'](),this['_handler'][_0x20e2e2(0x3c7)](this,_0x3bd8bd);},_0x56a27d);}[_0x2f17d6(0x134)](){var _0x53f8b8=_0x2f17d6,_0xfea0ef;const _0xec3dda=this['_configService'][_0x53f8b8(0x16c)](_0x2256bf);return(_0xfea0ef=_0xec3dda==null?void 0x0:_0xec3dda[_0x53f8b8(0x385)])!=null?_0xfea0ef:0x7d0;}[_0x2f17d6(0x34e)](){var _0x343eab=_0x2f17d6;throw new Error(_0x343eab(0x207));}[_0x2f17d6(0x2bf)](){var _0x22d958=_0x2f17d6;this[_0x22d958(0x150)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x22d958(0x150)]=null);}[_0x2f17d6(0xff)](_0x113a31){var _0x1b7206=_0x2f17d6;return this[_0x1b7206(0x2bf)](),this[_0x1b7206(0x2e0)][_0x1b7206(0x34c)](_0x4ed799['ConflictState'],this[_0x1b7206(0x11d)],this['type'],null,this[_0x1b7206(0x3a7)],this[_0x1b7206(0x1f2)],_0x113a31);}},_0x4ed799[_0x2f17d6(0x3ff)]=_0x2fad15([_0xfb4958(0x4,_0x516919[_0x2f17d6(0x381)](_0x516919['Injector'])),_0xfb4958(0x5,_0x516919[_0x2f17d6(0x381)](_0x514b45[_0x2f17d6(0x197)])),_0xfb4958(0x6,_0x516919[_0x2f17d6(0x381)](_0x4ed799[_0x2f17d6(0x26b)])),_0xfb4958(0x7,_0x516919[_0x2f17d6(0x3b3)]),_0xfb4958(0x8,_0x516919[_0x2f17d6(0x351)]),_0xfb4958(0x9,_0x516919['IConfigService']),_0xfb4958(0xa,_0x514b45[_0x2f17d6(0x2a2)]),_0xfb4958(0xb,_0x516919[_0x2f17d6(0x2c0)]),_0xfb4958(0xc,_0x516919['IUndoRedoService']),_0xfb4958(0xd,_0x516919[_0x2f17d6(0x15b)](_0x43f574))],_0x4ed799[_0x2f17d6(0x3ff)]),_0x4ed799[_0x2f17d6(0x1ad)]=class extends _0xaf3da0{constructor(_0x2c082e,_0x35c06a,_0x2ea90e,_0x315293,_0x206c13,_0x163b46,_0x2684ff,_0x29b770,_0x53f992,_0x128041,_0xe7247b){var _0x383ff1=_0x2f17d6;super(_0x2c082e,_0x35c06a,_0x2ea90e,[],_0x315293,_0x2684ff,_0x128041,_0x163b46,_0xe7247b),_0x444b4d(this,'status','awaiting'),_0x444b4d(this,_0x383ff1(0x3fb),0x0),_0x444b4d(this,'_resendTimer'),_0x444b4d(this,'_sender'),(this[_0x383ff1(0x2e0)]=_0x206c13,this['_logService']=_0x29b770,this[_0x383ff1(0x2e5)]=_0x53f992);}['appendMutation'](_0x3522e3){var _0x20eac3=_0x2f17d6;this[_0x20eac3(0x2bf)]();const _0x10a060=this[_0x20eac3(0x2e0)][_0x20eac3(0x34c)](_0x4ed799['AwaitingWithPendingState'],this[_0x20eac3(0x11d)],this[_0x20eac3(0x1de)],this['_awaitingChangeset'],[_0x3522e3],this[_0x20eac3(0x1f2)],this[_0x20eac3(0x3f4)]);return _0x10a060[_0x20eac3(0x328)](),_0x10a060;}[_0x2f17d6(0x2c9)](_0x3c0ba4){var _0x55a4f0=_0x2f17d6;if(this[_0x55a4f0(0x366)](_0x3c0ba4))return this['_clearScheduledTask'](),this[_0x55a4f0(0x2e0)]['createInstance'](_0x4ed799[_0x55a4f0(0x33d)],this[_0x55a4f0(0x11d)],this[_0x55a4f0(0x1de)],this['_awaitingChangeset'],[],null,[_0x3c0ba4],this[_0x55a4f0(0x1f2)]);try{const _0x45e0f3=this[_0x55a4f0(0x2e5)]['transformChangesets']([_0x3c0ba4],[this[_0x55a4f0(0x276)]],!0x1);if(_0x514b45['isTransformChangesetsSuccess'](_0x45e0f3)){const {c1Prime:_0x117bf2,c2Prime:_0x491f19}=_0x45e0f3;this['_executeRemoteChangeset'](_0x117bf2[0x0]),_0x491f19[0x0][_0x55a4f0(0x263)]=this[_0x55a4f0(0x356)](),this[_0x55a4f0(0x2bf)]();const _0x3024de=this['_injector'][_0x55a4f0(0x34c)](_0x4ed799['AwaitingState'],this['unitID'],this[_0x55a4f0(0x1de)],_0x491f19[0x0],this['_handler']);return _0x3024de[_0x55a4f0(0x328)](),_0x3024de;}return this[_0x55a4f0(0xff)](!0x1);}catch(_0x4aa7fc){return this[_0x55a4f0(0x20e)][_0x55a4f0(0x281)](_0x4aa7fc),this[_0x55a4f0(0xff)](!0x1);}}['onRemoteAck'](_0x503bb9){var _0x5a6e03=_0x2f17d6;this[_0x5a6e03(0x2bf)]();const _0x291c21=this[_0x5a6e03(0x145)]['getCurrentRevOfUnit'](this[_0x5a6e03(0x11d)]);if(_0x503bb9[_0x5a6e03(0x168)]<_0x291c21-0x1)return this;if(this[_0x5a6e03(0x366)](_0x503bb9))return this[_0x5a6e03(0x2e0)][_0x5a6e03(0x34c)](_0x4ed799[_0x5a6e03(0x33d)],this[_0x5a6e03(0x11d)],this[_0x5a6e03(0x1de)],null,[],this['_awaitingChangeset'],[],this[_0x5a6e03(0x1f2)]);this[_0x5a6e03(0x361)]();const _0x50e8a9=this[_0x5a6e03(0x2e0)]['createInstance'](_0x4ed799['SyncedState'],this[_0x5a6e03(0x11d)],this[_0x5a6e03(0x1de)],this['_handler']);return _0x50e8a9['_updateLocalCache'](),_0x50e8a9;}['onRemoteRej'](_0x5a9abb){var _0x11a6f8=_0x2f17d6;return this[_0x11a6f8(0xff)](!!(_0x5a9abb!=null&&_0x5a9abb[_0x11a6f8(0x428)]));}[_0x2f17d6(0x31d)](_0x34488b){var _0x4c6b5d=_0x2f17d6;return this['_resendTimeout']>_0x113a2a?this[_0x4c6b5d(0x33f)]():(this[_0x4c6b5d(0x3f4)]=_0x145c9b(this[_0x4c6b5d(0x3fb)],{'timeout':this['_resendTimeout'],'reqId':_0x34488b[_0x4c6b5d(0x15c)]}),this[_0x4c6b5d(0x34b)]=this['_resendTimer'][_0x4c6b5d(0x19e)](({reqId:_0x571ac3,timeout:_0x3ea5e4})=>{var _0x4f0ae6=_0x4c6b5d;this[_0x4f0ae6(0x1f0)](_0x571ac3,_0x3ea5e4);}),this);}[_0x2f17d6(0x33f)](){var _0x566920=_0x2f17d6;return this[_0x566920(0x2bf)](),this['_injector'][_0x566920(0x34c)](_0x4ed799[_0x566920(0x261)],this[_0x566920(0x11d)],this[_0x566920(0x1de)],this[_0x566920(0x276)],[],this[_0x566920(0x1f2)]);}['toggleOnline'](){return this;}[_0x2f17d6(0x34e)](){var _0x2a8109=_0x2f17d6;this[_0x2a8109(0x1f2)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x1657ab){var _0x5e51e3=_0x2f17d6;return this[_0x5e51e3(0x2bf)](),this[_0x5e51e3(0x2e0)][_0x5e51e3(0x34c)](_0x4ed799[_0x5e51e3(0x220)],this['unitID'],this[_0x5e51e3(0x1de)],this[_0x5e51e3(0x276)],[],this[_0x5e51e3(0x1f2)],_0x1657ab);}[_0x2f17d6(0x1f0)](_0x33e3f2,_0x118953){var _0x370a91=_0x2f17d6,_0x422ad1;_0x33e3f2===((_0x422ad1=this[_0x370a91(0x276)])==null?void 0x0:_0x422ad1[_0x370a91(0x15c)])&&(this['resend'](),this[_0x370a91(0x3fb)]=_0x118953===0x0?0x3e8:_0x118953*0x2);}['_clearScheduledTask'](){var _0x2d2047=_0x2f17d6,_0x276c13;(_0x276c13=this[_0x2d2047(0x34b)])==null||_0x276c13[_0x2d2047(0x201)](),this['_resendTimeout']=0x0;}},_0x4ed799[_0x2f17d6(0x1ad)]=_0x2fad15([_0xfb4958(0x4,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x1ef)])),_0xfb4958(0x5,_0x516919['Inject'](_0x514b45[_0x2f17d6(0x197)])),_0xfb4958(0x6,_0x516919[_0x2f17d6(0x351)]),_0xfb4958(0x7,_0x516919[_0x2f17d6(0x3b3)]),_0xfb4958(0x8,_0x514b45[_0x2f17d6(0x2a2)]),_0xfb4958(0x9,_0x516919[_0x2f17d6(0x45f)]),_0xfb4958(0xa,_0x516919[_0x2f17d6(0x15b)](_0x43f574))],_0x4ed799[_0x2f17d6(0x1ad)]),_0x4ed799['AwaitingWithPendingState']=class extends _0xaf3da0{constructor(_0x2dc6c4,_0x5cf5de,_0x55c175,_0x4b430d,_0x4043e5,_0x4f1ae2,_0x58eea4,_0xa64a11,_0x257523,_0x49c6ab,_0x56135f,_0x51561f,_0x57f3db){var _0x45b269=_0x2f17d6;super(_0x2dc6c4,_0x5cf5de,_0x55c175,_0x4b430d,_0x4043e5,_0x257523,_0x51561f,_0xa64a11,_0x57f3db),_0x444b4d(this,_0x45b269(0x365),_0x45b269(0x399)),_0x444b4d(this,_0x45b269(0x3fb),0x0),_0x444b4d(this,_0x45b269(0x3f4)),_0x444b4d(this,'_sender'),(this[_0x45b269(0x2e0)]=_0x58eea4,this['_logService']=_0x49c6ab,this[_0x45b269(0x2e5)]=_0x56135f,this['localCacheService']=_0x57f3db,_0x4f1ae2&&(this[_0x45b269(0x3f4)]=_0x4f1ae2,this[_0x45b269(0x34b)]=this['_resendTimer'][_0x45b269(0x19e)](({reqId:_0x37c2a7,timeout:_0x12f19b})=>{var _0x241b50=_0x45b269;this[_0x241b50(0x1f0)](_0x37c2a7,_0x12f19b);})));}[_0x2f17d6(0x3aa)](_0x9563a1){var _0x349dab=_0x2f17d6;return this[_0x349dab(0x3a7)]['push'](_0x9563a1),this;}[_0x2f17d6(0x2c9)](_0x5c436f){var _0x3ef550=_0x2f17d6;if(this[_0x3ef550(0x366)](_0x5c436f))return this['_clearScheduledTask'](),this[_0x3ef550(0x2e0)]['createInstance'](_0x4ed799[_0x3ef550(0x33d)],this[_0x3ef550(0x11d)],this['type'],this['_awaitingChangeset'],this[_0x3ef550(0x3a7)],null,[_0x5c436f],this[_0x3ef550(0x1f2)]);try{const _0x4e4982=this[_0x3ef550(0x2e5)][_0x3ef550(0x25f)]([_0x5c436f],[this[_0x3ef550(0x276)]],!0x1);if(_0x514b45['isTransformChangesetsSuccess'](_0x4e4982)){const {c1Prime:_0xf1dab4,c2Prime:_0x5be642}=_0x4e4982,_0xe4fb63=this[_0x3ef550(0x2e5)][_0x3ef550(0x179)](_0xf1dab4[0x0],this[_0x3ef550(0x3a7)]);if(_0x514b45[_0x3ef550(0x44b)](_0xe4fb63)){const {c1Prime:_0x4f8e69,m2Prime:_0x420bc6}=_0xe4fb63;return this[_0x3ef550(0x132)](_0x4f8e69),_0x5be642[0x0][_0x3ef550(0x263)]=this[_0x3ef550(0x356)](),this['_clearScheduledTask'](),this[_0x3ef550(0x2e0)][_0x3ef550(0x34c)](_0x4ed799[_0x3ef550(0x420)],this[_0x3ef550(0x11d)],this[_0x3ef550(0x1de)],_0x5be642[0x0],_0x420bc6,this['_handler'],void 0x0);}throw _0xe4fb63[_0x3ef550(0x281)];}throw _0x4e4982[_0x3ef550(0x281)];}catch(_0x4e631d){return this[_0x3ef550(0x20e)][_0x3ef550(0x281)](_0x4e631d),this[_0x3ef550(0xff)](!0x1);}}[_0x2f17d6(0x2a6)](_0x21f927){var _0x2ea95a=_0x2f17d6;if(this[_0x2ea95a(0x2bf)](),this['_checkMissing'](_0x21f927))return this['_injector'][_0x2ea95a(0x34c)](_0x4ed799['FetchingMissState'],this[_0x2ea95a(0x11d)],this['type'],null,this[_0x2ea95a(0x3a7)],this[_0x2ea95a(0x276)],[],this[_0x2ea95a(0x1f2)]);this['_incrementRevisionNumber']();const _0x47195b=this[_0x2ea95a(0x2e0)]['createInstance'](_0x4ed799[_0x2ea95a(0x3ff)],this['unitID'],this[_0x2ea95a(0x1de)],this[_0x2ea95a(0x3a7)],this[_0x2ea95a(0x1f2)]);return _0x47195b[_0x2ea95a(0x251)](),_0x47195b[_0x2ea95a(0x328)](),_0x47195b;}[_0x2f17d6(0xe5)](_0x47ca16){var _0x136d93=_0x2f17d6;return this[_0x136d93(0xff)](!!(_0x47ca16!=null&&_0x47ca16[_0x136d93(0x428)]));}[_0x2f17d6(0x31d)](_0x5c851e){var _0xc961bf=_0x2f17d6;return this['_resendTimeout']>_0x113a2a?this[_0xc961bf(0x33f)]():(this[_0xc961bf(0x3f4)]=_0x145c9b(this[_0xc961bf(0x3fb)],{'timeout':this[_0xc961bf(0x3fb)],'reqId':_0x5c851e[_0xc961bf(0x15c)]}),this['_sender']=this['_resendTimer'][_0xc961bf(0x19e)](({reqId:_0x16f2fb,timeout:_0x5bba7b})=>{var _0x275166=_0xc961bf;this[_0x275166(0x1f0)](_0x16f2fb,_0x5bba7b);}),this);}[_0x2f17d6(0x33f)](){var _0x5820c4=_0x2f17d6;return this[_0x5820c4(0x2bf)](),this[_0x5820c4(0x2e0)][_0x5820c4(0x34c)](_0x4ed799['OfflineState'],this['unitID'],this[_0x5820c4(0x1de)],this[_0x5820c4(0x276)],this[_0x5820c4(0x3a7)],this[_0x5820c4(0x1f2)]);}[_0x2f17d6(0x26a)](){return this;}[_0x2f17d6(0x34e)](){var _0x3ce295=_0x2f17d6;this[_0x3ce295(0x1f2)][_0x3ce295(0x1bc)](this[_0x3ce295(0x276)]);}[_0x2f17d6(0xff)](_0x287941){var _0x457e4e=_0x2f17d6;return this[_0x457e4e(0x2bf)](),this['_injector'][_0x457e4e(0x34c)](_0x4ed799['ConflictState'],this['unitID'],this['type'],null,this[_0x457e4e(0x3a7)],this['_handler'],_0x287941);}[_0x2f17d6(0x1f0)](_0x2174b6,_0x1136b3){var _0x9417f0=_0x2f17d6,_0x1fb231;_0x2174b6===((_0x1fb231=this[_0x9417f0(0x276)])==null?void 0x0:_0x1fb231[_0x9417f0(0x15c)])&&(this['resend'](),this['_resendTimeout']=_0x1136b3===0x0?0x3e8:_0x1136b3*0x2);}[_0x2f17d6(0x2bf)](){var _0x3f82ac=_0x2f17d6,_0x4298a5;(_0x4298a5=this[_0x3f82ac(0x34b)])==null||_0x4298a5[_0x3f82ac(0x201)](),this[_0x3f82ac(0x3fb)]=0x0;}},_0x4ed799[_0x2f17d6(0x420)]=_0x2fad15([_0xfb4958(0x6,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x1ef)])),_0xfb4958(0x7,_0x516919['Inject'](_0x514b45['RevisionService'])),_0xfb4958(0x8,_0x516919[_0x2f17d6(0x351)]),_0xfb4958(0x9,_0x516919[_0x2f17d6(0x3b3)]),_0xfb4958(0xa,_0x514b45[_0x2f17d6(0x2a2)]),_0xfb4958(0xb,_0x516919[_0x2f17d6(0x45f)]),_0xfb4958(0xc,_0x516919[_0x2f17d6(0x15b)](_0x43f574))],_0x4ed799[_0x2f17d6(0x420)]),_0x4ed799[_0x2f17d6(0x220)]=class extends _0xaf3da0{constructor(_0x431f6f,_0x3472c3,_0x4baf97,_0x3585bb,_0x57b638,_0x2ce96f=!0x1,_0x20c007,_0x194ac6,_0x184d11,_0x2565a1,_0x31fad0,_0x4454e8,_0x131b06){var _0x299519=_0x2f17d6;super(_0x431f6f,_0x3472c3,_0x4baf97,_0x3585bb,_0x57b638,_0x194ac6,_0x184d11,_0x2565a1,_0x131b06),_0x444b4d(this,_0x299519(0x365),_0x299519(0x1aa)),(this[_0x299519(0x120)]=_0x2ce96f,this[_0x299519(0x139)]=_0x20c007,this[_0x299519(0x287)]=_0x31fad0,this['_collaborationUIEventService']=_0x4454e8,this[_0x299519(0x1ba)]=_0x131b06,this['_showConflictNotification'](),this[_0x299519(0x350)](),this[_0x299519(0x28d)]());}[_0x2f17d6(0x3aa)](){return this;}[_0x2f17d6(0x2c9)](){return this;}[_0x2f17d6(0x2a6)](){return this;}[_0x2f17d6(0xe5)](){return this;}[_0x2f17d6(0x31d)](){return this;}[_0x2f17d6(0x33f)](){return this;}[_0x2f17d6(0x26a)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2f17d6(0x350)](){var _0x5cca25=_0x2f17d6,_0xfdceef;(_0xfdceef=this[_0x5cca25(0x13c)])==null||_0xfdceef[_0x5cca25(0x380)](this['unitID'],this[_0x5cca25(0x1de)],null,[]);}[_0x2f17d6(0x3ed)](){var _0x46c21a=_0x2f17d6;this['_isPermissionRej']?this[_0x46c21a(0x182)][_0x46c21a(0x3bb)]({'id':_0x47c33b[_0x46c21a(0x258)]}):this[_0x46c21a(0x182)][_0x46c21a(0x3bb)]({'id':_0x47c33b[_0x46c21a(0x1ed)]});}[_0x2f17d6(0x28d)](){var _0xf0d118=_0x2f17d6;this['_permissionService'][_0xf0d118(0x1bf)](new _0x513775['WorkbookEditablePermission'](this[_0xf0d118(0x11d)])['id'],!0x1);}},_0x4ed799[_0x2f17d6(0x220)]=_0x2fad15([_0xfb4958(0x6,_0x516919['Inject'](_0x516919['IPermissionService'])),_0xfb4958(0x7,_0x516919[_0x2f17d6(0x351)]),_0xfb4958(0x8,_0x516919[_0x2f17d6(0x45f)]),_0xfb4958(0x9,_0x516919[_0x2f17d6(0x381)](_0x514b45[_0x2f17d6(0x197)])),_0xfb4958(0xa,_0x516919[_0x2f17d6(0x381)](_0x516919['LocaleService'])),_0xfb4958(0xb,_0x516919['Inject'](_0x4c5916)),_0xfb4958(0xc,_0x516919[_0x2f17d6(0x15b)](_0x43f574))],_0x4ed799[_0x2f17d6(0x220)]),_0x4ed799['OfflineState']=class extends _0xaf3da0{constructor(_0x3849b2,_0x6db46a,_0x2b20df,_0x105f5f,_0x295f4c,_0x1866fe,_0x2721a7,_0x523e54,_0x54573d,_0x34bace){super(_0x3849b2,_0x6db46a,_0x2b20df,_0x105f5f,_0x295f4c,_0x523e54,_0x54573d,_0x2721a7,_0x34bace),_0x444b4d(this,'status','offline'),this['_injector']=_0x1866fe;}[_0x2f17d6(0x3aa)](_0x385665){var _0x9cae9e=_0x2f17d6;return this[_0x9cae9e(0x3a7)][_0x9cae9e(0x1fa)](_0x385665),this[_0x9cae9e(0x328)](),this;}['onRemoteChangeset'](_0xc2fafd){var _0x3c9118=_0x2f17d6;throw new Error(_0x3c9118(0x39d));}[_0x2f17d6(0x2a6)](){var _0x486efb=_0x2f17d6;throw new Error(_0x486efb(0x40d));}[_0x2f17d6(0xe5)](){var _0x1f147c=_0x2f17d6;throw new Error(_0x1f147c(0x43c));}[_0x2f17d6(0x31d)](){return this;}[_0x2f17d6(0x33f)](){return this;}[_0x2f17d6(0x26a)](){var _0x485f2f=_0x2f17d6;const {_injector:_0x11bf95,_pendingMutations:_0x5e6631,_awaitingChangeset:_0x15f0e4,unitID:_0x313ef5,_handler:_0x39a9eb,type:_0x330a64}=this,_0x17a848=_0x3ade2d(_0x11bf95,_0x313ef5,_0x330a64,_0x15f0e4,_0x5e6631,_0x39a9eb);return _0x17a848 instanceof _0x4ed799[_0x485f2f(0x3ff)]?_0x17a848[_0x485f2f(0x251)]():(_0x17a848 instanceof _0x4ed799[_0x485f2f(0x420)]||_0x17a848 instanceof _0x4ed799[_0x485f2f(0x1ad)])&&_0x17a848[_0x485f2f(0x34e)](),_0x17a848;}[_0x2f17d6(0x34e)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x4ed799[_0x2f17d6(0x261)]=_0x2fad15([_0xfb4958(0x5,_0x516919['Inject'](_0x516919[_0x2f17d6(0x1ef)])),_0xfb4958(0x6,_0x516919[_0x2f17d6(0x381)](_0x514b45[_0x2f17d6(0x197)])),_0xfb4958(0x7,_0x516919[_0x2f17d6(0x351)]),_0xfb4958(0x8,_0x516919[_0x2f17d6(0x45f)]),_0xfb4958(0x9,_0x516919['Optional'](_0x43f574))],_0x4ed799[_0x2f17d6(0x261)]),_0x4ed799['FetchingMissState']=class extends _0xaf3da0{constructor(_0x152844,_0x2252f0,_0xef5f99,_0x2216f9,_0x3ac9e8,_0x5852d0,_0x4df087,_0x34f3a2,_0x3cd77f,_0x12aa22,_0x3a4632,_0x4ad1ed,_0x186333,_0x469979){var _0x37d6c6=_0x2f17d6;super(_0x152844,_0x2252f0,_0xef5f99,_0x2216f9,_0x4df087,_0x3a4632,_0x4ad1ed,_0x3cd77f,_0x469979),_0x444b4d(this,_0x37d6c6(0x365),_0x37d6c6(0x438)),(this['_acknowledgedAwaitingChangeset']=_0x3ac9e8,this['_queuedRemoteChangesets']=_0x5852d0,this[_0x37d6c6(0x2e0)]=_0x34f3a2,this[_0x37d6c6(0x20e)]=_0x12aa22,this[_0x37d6c6(0x2e5)]=_0x186333,this[_0x37d6c6(0x1ba)]=_0x469979);}['onMissedChangesetFetched'](_0x4bae33){var _0x57f3cd=_0x2f17d6;try{const _0x2e1c49=[..._0x4bae33,...this[_0x57f3cd(0x1c5)]],_0x5a79cf=[this[_0x57f3cd(0x276)]||this[_0x57f3cd(0x14f)]][_0x57f3cd(0x239)](_0x51ffc6=>!!_0x51ffc6);let _0xb01bcc,_0x52112b;if(_0x5a79cf['length']){const _0x10674d=this['_transformService'][_0x57f3cd(0x25f)](_0x2e1c49,_0x5a79cf,!0x1);if(!_0x514b45[_0x57f3cd(0x2a0)](_0x10674d))throw _0x10674d['error'];_0xb01bcc=_0x10674d['c1Prime'],_0x52112b=_0x10674d[_0x57f3cd(0x2b1)];}else _0xb01bcc=_0x2e1c49,_0x52112b=[];let _0x3f7455=this['_pendingMutations'];_0xb01bcc[_0x57f3cd(0x1d3)](_0x3d4585=>{var _0x47a76b=_0x57f3cd;let _0x593d15;if(_0x3f7455[_0x47a76b(0x34f)]){const _0x5d69a3=this[_0x47a76b(0x2e5)][_0x47a76b(0x179)](_0x3d4585,_0x3f7455);if(!_0x514b45[_0x47a76b(0x44b)](_0x5d69a3))throw _0x5d69a3['error'];_0x593d15=_0x5d69a3[_0x47a76b(0x336)],_0x3f7455=_0x5d69a3['m2Prime'];}else _0x593d15=_0x3d4585;this[_0x47a76b(0x132)](_0x593d15);}),this[_0x57f3cd(0x14f)]&&this[_0x57f3cd(0x361)](),this[_0x57f3cd(0x276)]&&_0x52112b['length']&&(_0x52112b[0x0][_0x57f3cd(0x263)]=this[_0x57f3cd(0x356)]());let _0x2bdf37;if(this[_0x57f3cd(0x276)]&&_0x3f7455[_0x57f3cd(0x34f)]!==0x0)_0x2bdf37=this[_0x57f3cd(0x2e0)][_0x57f3cd(0x34c)](_0x4ed799[_0x57f3cd(0x420)],this[_0x57f3cd(0x11d)],this[_0x57f3cd(0x1de)],_0x52112b[0x0],_0x3f7455,this['_handler'],void 0x0);else{if(this[_0x57f3cd(0x276)]&&_0x3f7455[_0x57f3cd(0x34f)]===0x0)_0x52112b[0x0][_0x57f3cd(0x263)]=this['_getCurrentRevision'](),_0x2bdf37=this[_0x57f3cd(0x2e0)][_0x57f3cd(0x34c)](_0x4ed799[_0x57f3cd(0x1ad)],this[_0x57f3cd(0x11d)],this['type'],_0x52112b[0x0],this[_0x57f3cd(0x1f2)]);else{if(_0x3f7455[_0x57f3cd(0x34f)]!==0x0){const _0x257162=this[_0x57f3cd(0x2e0)][_0x57f3cd(0x34c)](_0x4ed799[_0x57f3cd(0x3ff)],this[_0x57f3cd(0x11d)],this[_0x57f3cd(0x1de)],_0x3f7455,this['_handler']);_0x257162[_0x57f3cd(0x251)](),_0x2bdf37=_0x257162;}else _0x2bdf37=this[_0x57f3cd(0x2e0)][_0x57f3cd(0x34c)](_0x4ed799[_0x57f3cd(0x1fc)],this[_0x57f3cd(0x11d)],this[_0x57f3cd(0x1de)],this['_handler']);}}return _0x2bdf37['_updateLocalCache'](),_0x2bdf37;}catch(_0x313d20){return this['_logService'][_0x57f3cd(0x281)](_0x57f3cd(0x11f),_0x57f3cd(0x12f),_0x313d20),this['_injector'][_0x57f3cd(0x34c)](_0x4ed799[_0x57f3cd(0x220)],this[_0x57f3cd(0x11d)],this[_0x57f3cd(0x1de)],this['_awaitingChangeset'],this[_0x57f3cd(0x3a7)],this['_handler'],!0x1);}}['resend'](){var _0x3d6f79=_0x2f17d6;throw new Error(_0x3d6f79(0x164));}[_0x2f17d6(0x3aa)](_0x3c8a6e){var _0x12a7be=_0x2f17d6;return this[_0x12a7be(0x3a7)][_0x12a7be(0x1fa)](_0x3c8a6e),this;}[_0x2f17d6(0x2c9)](_0xa082b1){var _0x5770ef=_0x2f17d6;return this[_0x5770ef(0x1c5)][_0x5770ef(0x1fa)](_0xa082b1),this;}[_0x2f17d6(0x2a6)](_0x3b7739){var _0x4694fd=_0x2f17d6;if(this['_awaitingChangeset'])return this[_0x4694fd(0x14f)]=this[_0x4694fd(0x276)],this[_0x4694fd(0x276)]=null,this;throw new Error(_0x4694fd(0x176));}[_0x2f17d6(0xe5)](_0x49a740){var _0x51da0c=_0x2f17d6;return this['_onConflict'](!!(_0x49a740!=null&&_0x49a740[_0x51da0c(0x428)]));}[_0x2f17d6(0x31d)](){return this;}['toggleOffline'](){var _0x52852f=_0x2f17d6;return this['_injector'][_0x52852f(0x34c)](_0x4ed799[_0x52852f(0x261)],this[_0x52852f(0x11d)],this[_0x52852f(0x1de)],this[_0x52852f(0x276)],this[_0x52852f(0x3a7)],this[_0x52852f(0x1f2)]);}[_0x2f17d6(0x26a)](){return this;}[_0x2f17d6(0xff)](_0x4f0b6d){var _0x27bd=_0x2f17d6;return this[_0x27bd(0x2e0)][_0x27bd(0x34c)](_0x4ed799[_0x27bd(0x220)],this[_0x27bd(0x11d)],this[_0x27bd(0x1de)],this[_0x27bd(0x276)],this[_0x27bd(0x3a7)],this['_handler'],_0x4f0b6d);}},_0x4ed799[_0x2f17d6(0x33d)]=_0x2fad15([_0xfb4958(0x7,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x1ef)])),_0xfb4958(0x8,_0x516919[_0x2f17d6(0x381)](_0x514b45[_0x2f17d6(0x197)])),_0xfb4958(0x9,_0x516919[_0x2f17d6(0x3b3)]),_0xfb4958(0xa,_0x516919[_0x2f17d6(0x351)]),_0xfb4958(0xb,_0x516919[_0x2f17d6(0x45f)]),_0xfb4958(0xc,_0x514b45[_0x2f17d6(0x2a2)]),_0xfb4958(0xd,_0x516919[_0x2f17d6(0x15b)](_0x43f574))],_0x4ed799[_0x2f17d6(0x33d)]);function _0x3ade2d(_0x6cc134,_0x366f2b,_0x4cf020,_0x207893,_0x3b23ea,_0x501896){var _0x165066=_0x2f17d6;return _0x207893&&_0x3b23ea[_0x165066(0x34f)]?_0x6cc134[_0x165066(0x34c)](_0x4ed799[_0x165066(0x420)],_0x366f2b,_0x4cf020,_0x207893,_0x3b23ea,_0x501896,void 0x0):_0x207893?_0x6cc134[_0x165066(0x34c)](_0x4ed799[_0x165066(0x1ad)],_0x366f2b,_0x4cf020,_0x207893,_0x501896):_0x3b23ea['length']?_0x6cc134[_0x165066(0x34c)](_0x4ed799[_0x165066(0x3ff)],_0x366f2b,_0x4cf020,_0x3b23ea,_0x501896):_0x6cc134['createInstance'](_0x4ed799[_0x165066(0x1fc)],_0x366f2b,_0x4cf020,_0x501896);}var _0x498fcd=Object[_0x2f17d6(0x397)],_0x2aba45=(_0x39d0c1,_0x1b7e92,_0x2a73c8,_0x95a988)=>{var _0x334817=_0x2f17d6;for(var _0x460075=_0x95a988>0x1?void 0x0:_0x95a988?_0x498fcd(_0x1b7e92,_0x2a73c8):_0x1b7e92,_0x5cfad1=_0x39d0c1[_0x334817(0x34f)]-0x1,_0x59bfc9;_0x5cfad1>=0x0;_0x5cfad1--)(_0x59bfc9=_0x39d0c1[_0x5cfad1])&&(_0x460075=_0x59bfc9(_0x460075)||_0x460075);return _0x460075;},_0x1da27f=(_0x4aba2a,_0x36577f)=>(_0x599958,_0x5e55ba)=>_0x36577f(_0x599958,_0x5e55ba,_0x4aba2a);_0x4ed799[_0x2f17d6(0x15e)]=class extends _0x516919[_0x2f17d6(0x37a)]{constructor(_0x16a452,_0x4bf1e4,_0x54ff3d,_0x15eae7,_0x43f5ba,_0x408463,_0x223f91,_0x13ed64,_0x3f2122,_0x3dff42,_0x4b0fd0,_0x449466,_0x87be15){var _0x214f51=_0x2f17d6;super(),_0x444b4d(this,_0x214f51(0x169),new _0x1e7ac6[(_0x214f51(0x1d8))](null)),_0x444b4d(this,_0x214f51(0x1e7),this[_0x214f51(0x169)][_0x214f51(0x462)]()),_0x444b4d(this,_0x214f51(0x465)),_0x444b4d(this,'_collaborationPaused',!0x1),_0x444b4d(this,_0x214f51(0x392),''),_0x444b4d(this,'_changesetReqId',0x0),_0x444b4d(this,_0x214f51(0x14c),this[_0x214f51(0x1e7)]['pipe'](_0x1e7ac6[_0x214f51(0x3cb)](_0x14360b=>_0x14360b?_0x14360b['status']:_0x80096a['OFFLINE']),_0x1e7ac6[_0x214f51(0x2c7)](0x1))),_0x444b4d(this,_0x214f51(0x119),!0x1),_0x444b4d(this,_0x214f51(0x262),[]),(this[_0x214f51(0x11d)]=_0x16a452,this[_0x214f51(0x228)]=_0x4bf1e4,this['_type']=_0x54ff3d,this['_injector']=_0x15eae7,this[_0x214f51(0x416)]=_0x43f5ba,this[_0x214f51(0x287)]=_0x408463,this[_0x214f51(0x145)]=_0x223f91,this['_eventService']=_0x13ed64,this[_0x214f51(0x20e)]=_0x3f2122,this[_0x214f51(0x423)]=_0x3dff42,this[_0x214f51(0x139)]=_0x4b0fd0,this['_singleActiveUnitService']=_0x449466,this['_localCacheService']=_0x87be15);}get[_0x2f17d6(0x3d2)](){var _0x461584=_0x2f17d6;return this[_0x461584(0x465)];}async[_0x2f17d6(0x3b4)](){var _0x1d7edd=_0x2f17d6;if(this[_0x1d7edd(0x3d2)])throw new Error(_0x1d7edd(0x259));await this['_init']();}[_0x2f17d6(0x2fe)](){var _0x2b5dd0=_0x2f17d6;return this['_collaborationPaused']=!0x0,_0x516919[_0x2b5dd0(0xf7)](()=>{var _0x41e54b=_0x2b5dd0;this[_0x41e54b(0x2f1)]=!0x1,this[_0x41e54b(0x364)]();});}[_0x2f17d6(0x35b)](_0x2def50){var _0x46cfba=_0x2f17d6;this[_0x46cfba(0x16d)](_0x2def50);}[_0x2f17d6(0x229)](_0xbe1263){var _0x1844bc=_0x2f17d6;this[_0x1844bc(0x465)]=_0xbe1263,this[_0x1844bc(0x169)][_0x1844bc(0x2bd)](_0xbe1263);}async[_0x2f17d6(0x242)](){var _0x4f500a=_0x2f17d6,_0x308e32;this[_0x4f500a(0x229)](await this[_0x4f500a(0x1da)]()),this[_0x4f500a(0x443)]&&((_0x308e32=this[_0x4f500a(0x443)])==null||_0x308e32[_0x4f500a(0x192)](this['unitID']),this[_0x4f500a(0x270)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x4f500a(0x11d)])[_0x4f500a(0x19e)](_0x9a6e23=>{var _0x2d66ad=_0x4f500a;this[_0x2d66ad(0x20e)][_0x2d66ad(0x146)](_0x2d66ad(0x153),_0x2d66ad(0x252),_0x9a6e23),_0x9a6e23===_0x31e956[_0x2d66ad(0x41a)]?(this[_0x2d66ad(0x31b)][_0x2d66ad(0x3bb)]({'id':_0x47c33b[_0x2d66ad(0x283)]}),this['_permissionService'][_0x2d66ad(0x1bf)](new _0x513775['WorkbookEditablePermission'](this[_0x2d66ad(0x11d)])['id'],!0x1),this[_0x2d66ad(0x139)][_0x2d66ad(0x458)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x513775[(_0x2d66ad(0x2d2))](this[_0x2d66ad(0x11d)])['id'],!0x0),this['_permissionService'][_0x2d66ad(0x458)](!0x0));})));let _0x20dece=!0x1;return this[_0x4f500a(0x270)](this[_0x4f500a(0x228)][_0x4f500a(0x2c5)][_0x4f500a(0x19e)](_0x1a6f9d=>{var _0x3757ab=_0x4f500a;_0x1a6f9d===_0x472d3d[_0x3757ab(0x370)]?this[_0x3757ab(0x230)](_0x20dece):_0x1a6f9d===_0x472d3d[_0x3757ab(0x304)]&&(_0x20dece=!0x0,this['_toggleOffline']());})),this[_0x4f500a(0x270)](this['session'][_0x4f500a(0x42a)][_0x4f500a(0x19e)](_0x5c8ddb=>{var _0x2d0c74=_0x4f500a;try{switch(_0x5c8ddb[_0x2d0c74(0x345)]){case _0x514b45['CollaborationEvent']['NEW_CHANGESETS']:{this[_0x2d0c74(0x3af)](_0x514b45[_0x2d0c74(0x44c)](_0x5c8ddb['data']));break;}case _0x514b45[_0x2d0c74(0x2ac)][_0x2d0c74(0x2e1)]:{this[_0x2d0c74(0x1ec)](_0x5c8ddb['data']);break;}case _0x514b45[_0x2d0c74(0x2ac)][_0x2d0c74(0x185)]:{this[_0x2d0c74(0x415)]();break;}case _0x514b45[_0x2d0c74(0x2ac)][_0x2d0c74(0x2cc)]:{this['_onRemoteRetry'](_0x5c8ddb[_0x2d0c74(0x218)]);break;}case _0x514b45[_0x2d0c74(0x2ac)][_0x2d0c74(0x3d7)]:{this['_onFetchMissResult'](_0x5c8ddb[_0x2d0c74(0x218)][_0x2d0c74(0x13d)][_0x2d0c74(0x3cb)](_0x336969=>_0x514b45[_0x2d0c74(0x44c)](_0x336969)));break;}case _0x514b45['CollaborationEvent'][_0x2d0c74(0x3a2)]:{this[_0x2d0c74(0x415)]({'isPermissionRej':!0x0});break;}case _0x514b45['CollaborationEvent'][_0x2d0c74(0x212)]:break;}}catch(_0x39e333){throw console[_0x2d0c74(0x281)](_0x2d0c74(0x246),_0x39e333),_0x39e333;}})),this[_0x4f500a(0x465)];}['_unlockTransition'](){var _0x3fdad3=_0x2f17d6;this[_0x3fdad3(0x119)]=!0x1;}[_0x2f17d6(0x3bd)](){var _0x24d58f=_0x2f17d6;if(this[_0x24d58f(0x119)])throw new Error(_0x24d58f(0x24b));this[_0x24d58f(0x119)]=!0x0;}[_0x2f17d6(0x16d)](_0x2a93f8){var _0xe37249=_0x2f17d6;this[_0xe37249(0x3bd)](),this[_0xe37249(0x229)](this[_0xe37249(0x465)][_0xe37249(0x3aa)](_0x2a93f8)),this['_unlockTransition']();}[_0x2f17d6(0x3af)](_0x28f9c2){var _0x33c143=_0x2f17d6;if(!(_0x28f9c2[_0x33c143(0x168)]<=this[_0x33c143(0x145)]['getCurrentRevOfUnit'](this[_0x33c143(0x11d)]))){if(this[_0x33c143(0x2f1)]){this[_0x33c143(0x262)][_0x33c143(0x1fa)](_0x28f9c2);return;}this['_applyRemoteChangeset'](_0x28f9c2);}}[_0x2f17d6(0x364)](){var _0x23349f=_0x2f17d6;this[_0x23349f(0x262)][_0x23349f(0x1d3)](_0x145499=>this[_0x23349f(0x376)](_0x145499)),this[_0x23349f(0x262)]=[];}[_0x2f17d6(0x376)](_0x138608){var _0x3206dc=_0x2f17d6;const _0x36c876=this[_0x3206dc(0x416)][_0x3206dc(0x282)][_0x3206dc(0x177)](this[_0x3206dc(0x416)]['interceptor'][_0x3206dc(0x2b7)]()['COMPRESS_MUTATION_APPLY'])(_0x138608['mutations'],null)||_0x138608[_0x3206dc(0x1cf)],_0x1af740={..._0x138608,'mutations':_0x36c876};this[_0x3206dc(0x3bd)](),this[_0x3206dc(0x229)](this['_state'][_0x3206dc(0x2c9)](_0x1af740)),this['_unlockTransition']();}[_0x2f17d6(0x1ec)](_0x4c05a3){var _0xd43d22=_0x2f17d6;this['_lockTransition'](),this['_updateState'](this[_0xd43d22(0x465)]['onRemoteAck'](_0x4c05a3)),this[_0xd43d22(0x18b)]();}[_0x2f17d6(0x415)](_0x3d87f0){var _0x432649=_0x2f17d6;this['_lockTransition'](),this[_0x432649(0x229)](this[_0x432649(0x465)]['onRemoteRej'](_0x3d87f0)),this[_0x432649(0x18b)]();}[_0x2f17d6(0x24e)](_0x114759){var _0x3ac746=_0x2f17d6;this['_lockTransition'](),this[_0x3ac746(0x229)](this['_state'][_0x3ac746(0x31d)](_0x114759)),this[_0x3ac746(0x18b)]();}['_onFetchMissResult'](_0x1a6d7a){var _0x1ef536=_0x2f17d6;if(!(this[_0x1ef536(0x465)]instanceof _0x4ed799[_0x1ef536(0x33d)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x7ca158=_0x1a6d7a[_0x1ef536(0x3cb)](_0x196be8=>{var _0x12c431=_0x1ef536;const _0x5cc1b6=this[_0x12c431(0x416)][_0x12c431(0x282)]['fetchThroughInterceptors'](this[_0x12c431(0x416)][_0x12c431(0x282)][_0x12c431(0x2b7)]()[_0x12c431(0x19d)])(_0x196be8[_0x12c431(0x1cf)],null)||_0x196be8[_0x12c431(0x1cf)];return{..._0x196be8,'mutations':_0x5cc1b6};});this[_0x1ef536(0x3bd)](),this['_updateState'](this[_0x1ef536(0x465)]['onMissedChangesetFetched'](_0x7ca158)),this[_0x1ef536(0x18b)]();}['_toggleOffline'](){var _0x415906=_0x2f17d6;this[_0x415906(0x3bd)](),this['_updateState'](this['_state'][_0x415906(0x33f)]()),this[_0x415906(0x18b)]();}['_toggleOnline'](_0x2b2ed2=!0x1){var _0x158baa=_0x2f17d6;this[_0x158baa(0x3bd)](),this[_0x158baa(0x229)](this['_state'][_0x158baa(0x26a)]()),this[_0x158baa(0x18b)]();const _0x363d0b=this[_0x158baa(0x465)];_0x2b2ed2&&_0x363d0b instanceof _0x4ed799[_0x158baa(0x1fc)]&&(this['_lockTransition'](),this[_0x158baa(0x229)](_0x363d0b[_0x158baa(0x25d)]()),this[_0x158baa(0x18b)]());}async[_0x2f17d6(0x1da)](){return new Promise(_0x3cceed=>{var _0x5b0d0a=_0x5099;this[_0x5b0d0a(0x228)][_0x5b0d0a(0x2c5)][_0x5b0d0a(0x363)](_0x1e7ac6[_0x5b0d0a(0x466)](0x1))[_0x5b0d0a(0x19e)](async _0x1d338b=>{var _0x34eb19=_0x5b0d0a;_0x3cceed(await this[_0x34eb19(0x384)](_0x1d338b===_0x472d3d[_0x34eb19(0x370)]));});});}[_0x2f17d6(0x396)](){var _0x8d6e7f=_0x2f17d6;const _0x5a8fdc=this[_0x8d6e7f(0x11d)];return{'onStateChange':(_0x177742,_0x96ad83)=>{var _0x4da833=_0x8d6e7f;if(_0x177742!==this[_0x4da833(0x465)])throw new Error(_0x4da833(0x35d)+_0x177742[_0x4da833(0x365)]+_0x4da833(0x110)+_0x96ad83[_0x4da833(0x365)]+_0x4da833(0x312)+this['_state']['status']);this[_0x4da833(0x229)](_0x96ad83);},'onSendChangeset':_0xcfd3dc=>{var _0x4df147=_0x8d6e7f;_0xcfd3dc[_0x4df147(0x344)]||(_0xcfd3dc[_0x4df147(0x344)]=this[_0x4df147(0x392)],_0xcfd3dc['reqId']=++this[_0x4df147(0x1a8)]);const _0x3cb488={'eventID':_0x514b45[_0x4df147(0x2ac)][_0x4df147(0x418)],'data':{'unitID':_0xcfd3dc[_0x4df147(0x11d)],'unitType':this['_type'],'changeset':_0xcfd3dc,'memberID':this[_0x4df147(0x228)][_0x4df147(0x181)]()}};this[_0x4df147(0x228)]['send'](_0x3cb488,this[_0x4df147(0x11d)]);},'onMissingChangesets':({from:_0x59d0d9,to:_0x3b283b})=>{var _0x2b92a7=_0x8d6e7f;this[_0x2b92a7(0x20e)][_0x2b92a7(0x146)]('[CollaborationEntity]',_0x2b92a7(0x193)+_0x59d0d9+_0x2b92a7(0x3a3)+_0x3b283b);const _0x3a8547={'eventID':_0x514b45[_0x2b92a7(0x2ac)][_0x2b92a7(0x199)],'data':{'unitID':_0x5a8fdc,'unitType':this[_0x2b92a7(0x352)],'from':_0x59d0d9,'to':_0x3b283b}};this[_0x2b92a7(0x228)][_0x2b92a7(0x2fb)](_0x3a8547,this[_0x2b92a7(0x11d)]);}};}async[_0x2f17d6(0x384)](_0x1b5082){var _0x308c1c=_0x2f17d6,_0x131465,_0x1ea00c,_0x3c4c8c;const _0x520b35=await((_0x131465=this[_0x308c1c(0x13c)])==null?void 0x0:_0x131465['loadOfflineData'](this[_0x308c1c(0x11d)])),_0x4e9ec1=(_0x1ea00c=_0x520b35==null?void 0x0:_0x520b35['mutations'])!=null?_0x1ea00c:[],_0x310dc8=(_0x3c4c8c=_0x520b35==null?void 0x0:_0x520b35[_0x308c1c(0x333)])!=null?_0x3c4c8c:null,_0x3590e1=!!(_0x310dc8!=null&&_0x310dc8['sid'])&&!!(_0x310dc8!=null&&_0x310dc8[_0x308c1c(0x15c)]);this['_changesetSessionId']=_0x3590e1?_0x310dc8[_0x308c1c(0x344)]:_0x102a2f(),this['_changesetReqId']=_0x3590e1?_0x310dc8[_0x308c1c(0x15c)]:0x0;const _0x3bc7ce=this[_0x308c1c(0x11d)];try{this[_0x308c1c(0x3f6)](_0x310dc8,_0x4e9ec1);}catch(_0x2e344d){this['_logService'][_0x308c1c(0x281)](_0x2e344d);}const _0x47e2bd=this[_0x308c1c(0x396)]();if(_0x1b5082){const _0x47f8be=_0x3ade2d(this[_0x308c1c(0x2e0)],_0x3bc7ce,this[_0x308c1c(0x352)],_0x310dc8,_0x4e9ec1,_0x47e2bd);return _0x47f8be instanceof _0x4ed799[_0x308c1c(0x3ff)]?_0x47f8be[_0x308c1c(0x251)]():(_0x47f8be instanceof _0x4ed799[_0x308c1c(0x420)]||_0x47f8be instanceof _0x4ed799[_0x308c1c(0x1ad)])&&_0x47f8be[_0x308c1c(0x34e)](),_0x47f8be;}return this[_0x308c1c(0x2e0)][_0x308c1c(0x34c)](_0x4ed799[_0x308c1c(0x261)],_0x3bc7ce,this['_type'],_0x310dc8,_0x4e9ec1,_0x47e2bd);}[_0x2f17d6(0x3f6)](_0x41d860,_0x2af65e){var _0x5b8d59=_0x2f17d6,_0x36e1ee,_0x471bc2;const _0x141c94=this['_compressMutationService'][_0x5b8d59(0x282)][_0x5b8d59(0x177)](this['_compressMutationService']['interceptor'][_0x5b8d59(0x2b7)]()[_0x5b8d59(0x19d)]);(_0x36e1ee=_0x141c94((_0x41d860==null?void 0x0:_0x41d860[_0x5b8d59(0x1cf)])||[],null))==null||_0x36e1ee[_0x5b8d59(0x1d3)](_0x46b693=>this[_0x5b8d59(0x423)][_0x5b8d59(0x12d)](_0x46b693['id'],_0x46b693[_0x5b8d59(0x2f7)])),(_0x471bc2=_0x141c94(_0x2af65e||[],null))==null||_0x471bc2[_0x5b8d59(0x1d3)](_0x59a0b1=>this[_0x5b8d59(0x423)][_0x5b8d59(0x12d)](_0x59a0b1['id'],_0x59a0b1[_0x5b8d59(0x2f7)]));}},_0x4ed799['CollaborationEntity']=_0x2aba45([_0x1da27f(0x3,_0x516919[_0x2f17d6(0x381)](_0x516919['Injector'])),_0x1da27f(0x4,_0x516919[_0x2f17d6(0x381)](_0x514b45['CompressMutationService'])),_0x1da27f(0x5,_0x516919['Inject'](_0x516919[_0x2f17d6(0x105)])),_0x1da27f(0x6,_0x516919[_0x2f17d6(0x381)](_0x514b45[_0x2f17d6(0x197)])),_0x1da27f(0x7,_0x516919['Inject'](_0x4c5916)),_0x1da27f(0x8,_0x516919[_0x2f17d6(0x3b3)]),_0x1da27f(0x9,_0x516919[_0x2f17d6(0x351)]),_0x1da27f(0xa,_0x516919[_0x2f17d6(0x42b)]),_0x1da27f(0xb,_0x516919[_0x2f17d6(0x15b)](_0x493210)),_0x1da27f(0xc,_0x516919[_0x2f17d6(0x15b)](_0x43f574))],_0x4ed799[_0x2f17d6(0x15e)]),_0x4ed799[_0x2f17d6(0x2eb)]=class extends _0x4ed799[_0x2f17d6(0x15e)]{constructor(_0x24fdd6,_0x18cc73,_0x4caf1b,_0x302baf,_0x80e6b,_0x28ce98,_0x400158,_0x1653de,_0x53624d,_0xcc0fab,_0x5e56f5,_0x98c073,_0x1f3daa){var _0x315235=_0x2f17d6;super(_0x24fdd6,_0x4caf1b,_0x18cc73,_0x302baf,_0x80e6b,_0x28ce98,_0x400158,_0x1653de,_0x53624d,_0xcc0fab,_0x5e56f5,_0x98c073,_0x1f3daa),_0x444b4d(this,_0x315235(0x391),null),(this[_0x315235(0x11d)]=_0x24fdd6,this[_0x315235(0x1de)]=_0x18cc73);}['addHandlerCallback'](_0x3a812b){this['_handlerCallback']=_0x3a812b;}[_0x2f17d6(0x36b)](){var _0x49098e=_0x2f17d6;this['_handlerCallback']=null,super[_0x49098e(0x36b)]();}[_0x2f17d6(0x396)](){var _0x4f98bd=_0x2f17d6;const _0x25ba7e=super[_0x4f98bd(0x396)]();return _0x25ba7e[_0x4f98bd(0x300)]=_0x93bfde=>{var _0x863de5=_0x4f98bd,_0x44e885,_0x28d7cd;return(_0x28d7cd=(_0x44e885=this['_handlerCallback'])==null?void 0x0:_0x44e885[_0x863de5(0x300)])==null?void 0x0:_0x28d7cd[_0x863de5(0x1b9)](_0x44e885,_0x93bfde);},_0x25ba7e[_0x4f98bd(0x214)]=_0x4cee65=>{var _0x72a224=_0x4f98bd,_0x4cb946,_0x3d9e7a;return(_0x3d9e7a=(_0x4cb946=this[_0x72a224(0x391)])==null?void 0x0:_0x4cb946[_0x72a224(0x214)])==null?void 0x0:_0x3d9e7a['call'](_0x4cb946,_0x4cee65);},_0x25ba7e[_0x4f98bd(0x406)]=_0x1c7bf1=>{var _0x4e5e49=_0x4f98bd,_0x3b369,_0xbc5a80;return(_0xbc5a80=(_0x3b369=this['_handlerCallback'])==null?void 0x0:_0x3b369[_0x4e5e49(0x406)])==null?void 0x0:_0xbc5a80[_0x4e5e49(0x1b9)](_0x3b369,_0x1c7bf1);},_0x25ba7e[_0x4f98bd(0xfa)]=_0x1486b4=>{var _0x1bb6b6=_0x4f98bd,_0x56f9cc,_0x1e88c3;return(_0x1e88c3=(_0x56f9cc=this['_handlerCallback'])==null?void 0x0:_0x56f9cc[_0x1bb6b6(0xfa)])==null?void 0x0:_0x1e88c3[_0x1bb6b6(0x1b9)](_0x56f9cc,_0x1486b4);},_0x25ba7e['onTransformRemoteChangesetByIMECache']=_0x2be988=>{var _0x5b1b2f=_0x4f98bd,_0x403264,_0x527147,_0x4b3d30;if(!((_0x403264=this['_handlerCallback'])!=null&&_0x403264[_0x5b1b2f(0x3ec)]))throw new Error(_0x5b1b2f(0x460));return(_0x4b3d30=(_0x527147=this[_0x5b1b2f(0x391)])==null?void 0x0:_0x527147[_0x5b1b2f(0x3ec)])==null?void 0x0:_0x4b3d30[_0x5b1b2f(0x1b9)](_0x527147,_0x2be988);},_0x25ba7e[_0x4f98bd(0xf2)]=_0x3be05b=>{var _0x20e233=_0x4f98bd,_0x538937,_0x209d07,_0x50b3fa;if(!((_0x538937=this['_handlerCallback'])!=null&&_0x538937[_0x20e233(0xf2)]))throw new Error(_0x20e233(0x1c7));return(_0x50b3fa=(_0x209d07=this[_0x20e233(0x391)])==null?void 0x0:_0x209d07[_0x20e233(0xf2)])==null?void 0x0:_0x50b3fa[_0x20e233(0x1b9)](_0x209d07,_0x3be05b);},_0x25ba7e;}async[_0x2f17d6(0x242)](){var _0xda7bef=_0x2f17d6;const _0x528f4a=await super[_0xda7bef(0x242)]();return this['disposeWithMe'](this[_0xda7bef(0x423)][_0xda7bef(0x441)]((_0x580a84,_0x5d6b4b)=>{var _0x47ceb2=_0xda7bef;if(_0x580a84[_0x47ceb2(0x1de)]!==_0x516919[_0x47ceb2(0xf4)][_0x47ceb2(0x35c)]||_0x5d6b4b!=null&&_0x5d6b4b['fromCollab']||_0x5d6b4b!=null&&_0x5d6b4b[_0x47ceb2(0x3f0)]||_0x580a84['id']===_0x5a09c4[_0x47ceb2(0x210)]['id'])return;const _0x2a3fb6=_0x580a84[_0x47ceb2(0x2f7)];if((_0x2a3fb6==null?void 0x0:_0x2a3fb6[_0x47ceb2(0xe9)])!==this[_0x47ceb2(0x11d)])return;const _0x4224f0=_0x580a84,_0xdab294=this[_0x47ceb2(0x416)]['interceptor'][_0x47ceb2(0x177)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x47ceb2(0x3fa)])([_0x4224f0],null)||[_0x4224f0];this['_onLocalMutation'](_0xdab294[0x0]);})),_0x528f4a;}},_0x4ed799[_0x2f17d6(0x2eb)]=_0x2aba45([_0x1da27f(0x3,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x1ef)])),_0x1da27f(0x4,_0x516919['Inject'](_0x514b45[_0x2f17d6(0x247)])),_0x1da27f(0x5,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x105)])),_0x1da27f(0x6,_0x516919['Inject'](_0x514b45[_0x2f17d6(0x197)])),_0x1da27f(0x7,_0x516919[_0x2f17d6(0x381)](_0x4c5916)),_0x1da27f(0x8,_0x516919[_0x2f17d6(0x3b3)]),_0x1da27f(0x9,_0x516919[_0x2f17d6(0x351)]),_0x1da27f(0xa,_0x516919[_0x2f17d6(0x42b)]),_0x1da27f(0xb,_0x516919['Optional'](_0x493210)),_0x1da27f(0xc,_0x516919[_0x2f17d6(0x15b)](_0x43f574))],_0x4ed799[_0x2f17d6(0x2eb)]),_0x4ed799[_0x2f17d6(0x1b1)]=class extends _0x4ed799[_0x2f17d6(0x15e)]{constructor(_0x5a6865,_0x123256,_0x13e057,_0x30ae8a,_0x5312cb,_0x13a4f0,_0x1141f3,_0x532bb1,_0x4246b2,_0x38ed60,_0x1d5351,_0x2fa4d2,_0x31cf39,_0x43ead2){var _0x3c8138=_0x2f17d6;super(_0x5a6865,_0x13e057,_0x123256,_0x30ae8a,_0x5312cb,_0x13a4f0,_0x1141f3,_0x4246b2,_0x38ed60,_0x1d5351,_0x2fa4d2,_0x31cf39,_0x43ead2),this['unitID']=_0x5a6865,this[_0x3c8138(0x1de)]=_0x123256,this[_0x3c8138(0x20f)]=_0x532bb1;}[_0x2f17d6(0x396)](){var _0x20077e=_0x2f17d6;const _0x4642ec=super[_0x20077e(0x396)]();return _0x4642ec[_0x20077e(0x406)]=_0x10bbe8=>this['_sheetTransformSelectionsService'][_0x20077e(0x22a)](_0x10bbe8),_0x4642ec;}async['_init'](){var _0x5ef984=_0x2f17d6;const _0xde5ec2=await super[_0x5ef984(0x242)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x5527e2,_0x2f9d0a)=>{var _0x7f8f20=_0x5ef984;if(_0x5527e2[_0x7f8f20(0x1de)]!==_0x516919['CommandType'][_0x7f8f20(0x35c)]||_0x2f9d0a!=null&&_0x2f9d0a['fromCollab']||_0x2f9d0a!=null&&_0x2f9d0a[_0x7f8f20(0x3f0)])return;const _0x5d9574=_0x5527e2[_0x7f8f20(0x2f7)];if((_0x5d9574==null?void 0x0:_0x5d9574[_0x7f8f20(0xe9)])!==this['unitID'])return;const _0x5dbf45=_0x5527e2,_0x4ed9f5=this[_0x7f8f20(0x416)][_0x7f8f20(0x282)][_0x7f8f20(0x177)](this[_0x7f8f20(0x416)][_0x7f8f20(0x282)][_0x7f8f20(0x2b7)]()[_0x7f8f20(0x3fa)])([_0x5dbf45],null)||[_0x5dbf45];this[_0x7f8f20(0x16d)](_0x4ed9f5[0x0]);})),_0xde5ec2;}},_0x4ed799[_0x2f17d6(0x1b1)]=_0x2aba45([_0x1da27f(0x3,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x1ef)])),_0x1da27f(0x4,_0x516919[_0x2f17d6(0x381)](_0x514b45[_0x2f17d6(0x247)])),_0x1da27f(0x5,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x105)])),_0x1da27f(0x6,_0x516919[_0x2f17d6(0x381)](_0x514b45[_0x2f17d6(0x197)])),_0x1da27f(0x7,_0x516919[_0x2f17d6(0x381)](_0x4ed799[_0x2f17d6(0x135)])),_0x1da27f(0x8,_0x516919[_0x2f17d6(0x381)](_0x4c5916)),_0x1da27f(0x9,_0x516919[_0x2f17d6(0x3b3)]),_0x1da27f(0xa,_0x516919['ICommandService']),_0x1da27f(0xb,_0x516919['IPermissionService']),_0x1da27f(0xc,_0x516919[_0x2f17d6(0x15b)](_0x493210)),_0x1da27f(0xd,_0x516919[_0x2f17d6(0x15b)](_0x43f574))],_0x4ed799[_0x2f17d6(0x1b1)]);var _0x5d28c2=Object[_0x2f17d6(0x397)],_0x4213a8=(_0x45e64c,_0xaa0539,_0x2fc61d,_0x420d66)=>{var _0x1a5d50=_0x2f17d6;for(var _0x53ac82=_0x420d66>0x1?void 0x0:_0x420d66?_0x5d28c2(_0xaa0539,_0x2fc61d):_0xaa0539,_0x5c2eed=_0x45e64c[_0x1a5d50(0x34f)]-0x1,_0xc75fea;_0x5c2eed>=0x0;_0x5c2eed--)(_0xc75fea=_0x45e64c[_0x5c2eed])&&(_0x53ac82=_0xc75fea(_0x53ac82)||_0x53ac82);return _0x53ac82;},_0x1f83de=(_0x275aa0,_0xbccad0)=>(_0x4e89eb,_0x2b2ec8)=>_0xbccad0(_0x4e89eb,_0x2b2ec8,_0x275aa0);_0x4ed799[_0x2f17d6(0x284)]=class extends _0x516919[_0x2f17d6(0x37a)]{constructor(_0x384fcc,_0x5b4e9e,_0x290914){var _0x3ed434=_0x2f17d6;super(),_0x444b4d(this,'_entities',new Map()),_0x444b4d(this,'_entityInit$',new _0x1e7ac6['Subject']()),_0x444b4d(this,_0x3ed434(0x372),this[_0x3ed434(0x2d8)]['asObservable']()),(this[_0x3ed434(0x2e0)]=_0x384fcc,this['_collabSessionService']=_0x5b4e9e,this[_0x3ed434(0x389)]=_0x290914,this['_init']());}['dispose'](){var _0x5ecc3f=_0x2f17d6;super[_0x5ecc3f(0x36b)](),this[_0x5ecc3f(0x2dc)][_0x5ecc3f(0x1d3)](_0x14f59e=>_0x14f59e[_0x5ecc3f(0x36b)]()),this[_0x5ecc3f(0x2dc)]['clear']();}['getCollabEntity'](_0x2748c5){var _0x5981ee=_0x2f17d6,_0x31e61f;return(_0x31e61f=this[_0x5981ee(0x2dc)]['get'](_0x2748c5))!=null?_0x31e61f:null;}['getCollabEntity$'](_0x5cbdbe){var _0x94095e=_0x2f17d6;const _0x2f74e4=this['getCollabEntity'](_0x5cbdbe);return _0x2f74e4?_0x1e7ac6['of'](_0x2f74e4):this[_0x94095e(0x2d8)][_0x94095e(0x363)](_0x29f088[_0x94095e(0x239)](_0x267bd0=>_0x267bd0[_0x94095e(0x11d)]===_0x5cbdbe));}['readyForCollab'](_0x4644d8){var _0x45a387=_0x2f17d6;return _0x1e7ac6['firstValueFrom'](this['getCollabEntity$'](_0x4644d8)[_0x45a387(0x363)](_0x29f088[_0x45a387(0x3cb)](()=>{})));}['_init'](){var _0x272f70=_0x2f17d6;this[_0x272f70(0x389)][_0x272f70(0x2c2)](_0x516919[_0x272f70(0x28b)][_0x272f70(0x15a)])[_0x272f70(0x363)](_0x1e7ac6[_0x272f70(0x19c)](this[_0x272f70(0x260)]),_0x29f088['delay'](0x10))[_0x272f70(0x19e)](async _0x5f4676=>{var _0x501fdc=_0x272f70;const _0x4f021c=_0x5f4676[_0x501fdc(0x1c2)](),_0x493428=await this[_0x501fdc(0x2ea)](_0x4f021c,_0x1ede20['UNIVER_SHEET']);this['_entities'][_0x501fdc(0x202)](_0x4f021c,_0x493428);}),this[_0x272f70(0x389)]['getTypeOfUnitAdded$'](_0x516919['UniverInstanceType'][_0x272f70(0x3c0)])[_0x272f70(0x363)](_0x1e7ac6[_0x272f70(0x19c)](this[_0x272f70(0x260)]),_0x29f088[_0x272f70(0x1a9)](0x10))[_0x272f70(0x363)](_0x29f088[_0x272f70(0x239)](_0x3387ca=>!_0x3387ca['getUnitId']()['startsWith']('__')))[_0x272f70(0x19e)](async _0x360417=>{var _0x5cca65=_0x272f70;const _0x24bc5c=_0x360417[_0x5cca65(0x1c2)](),_0x541d66=await this['_startCollaboration'](_0x24bc5c,_0x1ede20[_0x5cca65(0x3c0)]);this[_0x5cca65(0x2dc)][_0x5cca65(0x202)](_0x24bc5c,_0x541d66);}),_0x1e7ac6[_0x272f70(0xe3)](this['_univerInstanceService'][_0x272f70(0x188)](_0x516919['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x272f70(0x188)](_0x516919['UniverInstanceType'][_0x272f70(0x3c0)]))[_0x272f70(0x363)](_0x1e7ac6[_0x272f70(0x19c)](this[_0x272f70(0x260)]))['subscribe'](_0x1334c2=>{var _0x2f39ac=_0x272f70;const _0x15ce88=_0x1334c2[_0x2f39ac(0x1c2)](),_0x594dc4=this[_0x2f39ac(0x2dc)][_0x2f39ac(0x141)](_0x15ce88);_0x594dc4&&(_0x594dc4[_0x2f39ac(0x36b)](),this[_0x2f39ac(0x2dc)]['delete'](_0x15ce88));});}async['_startCollaboration'](_0x1f6a21,_0x298023){var _0x23a2b6=_0x2f17d6;const _0x497cbe=await this[_0x23a2b6(0x3ae)][_0x23a2b6(0x3f3)](_0x1f6a21),_0x1ceacf=this[_0x23a2b6(0x2e0)][_0x23a2b6(0x34c)](this[_0x23a2b6(0x288)](_0x298023),_0x1f6a21,_0x298023,_0x497cbe);return await _0x1ceacf['init'](),this[_0x23a2b6(0x2d8)]['next'](_0x1ceacf),_0x1ceacf;}[_0x2f17d6(0x288)](_0x4c19bb){var _0x27f495=_0x2f17d6;switch(_0x4c19bb){case _0x1ede20['UNIVER_DOC']:return _0x4ed799[_0x27f495(0x2eb)];case _0x1ede20[_0x27f495(0x15a)]:return _0x4ed799['SheetCollaborationEntity'];default:throw new Error(_0x27f495(0x320)+_0x4c19bb);}}},_0x4ed799[_0x2f17d6(0x284)]=_0x4213a8([_0x1f83de(0x0,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x1ef)])),_0x1f83de(0x1,_0x516919[_0x2f17d6(0x381)](_0x4ed799[_0x2f17d6(0x2db)])),_0x1f83de(0x2,_0x516919[_0x2f17d6(0x2c0)])],_0x4ed799['CollaborationController']);var _0x3e85c4=Object['getOwnPropertyDescriptor'],_0x548e3a=(_0x1c7a2a,_0x53dfa8,_0x512476,_0x9ff6c8)=>{var _0x13ed37=_0x2f17d6;for(var _0x339f07=_0x9ff6c8>0x1?void 0x0:_0x9ff6c8?_0x3e85c4(_0x53dfa8,_0x512476):_0x53dfa8,_0x438802=_0x1c7a2a[_0x13ed37(0x34f)]-0x1,_0x1eff72;_0x438802>=0x0;_0x438802--)(_0x1eff72=_0x1c7a2a[_0x438802])&&(_0x339f07=_0x1eff72(_0x339f07)||_0x339f07);return _0x339f07;},_0x359424=(_0x46ce89,_0x41acdf)=>(_0xc606ee,_0x402a55)=>_0x41acdf(_0xc606ee,_0x402a55,_0x46ce89);const _0x41feef='DEFAULT_FILE_NAME',_0x10e78c='Univer';let _0x7de760=class extends _0x516919[_0x2f17d6(0x435)]{constructor(_0x30eda3,_0x21278e){var _0x249a2d=_0x2f17d6;super(),this[_0x249a2d(0x389)]=_0x30eda3,this[_0x249a2d(0x1a5)]=_0x21278e,this['_init']();}[_0x2f17d6(0x242)](){var _0x3710cc=_0x2f17d6;this[_0x3710cc(0x270)](this[_0x3710cc(0x389)][_0x3710cc(0x175)][_0x3710cc(0x19e)](()=>{var _0x240242=_0x3710cc,_0x45a50c;const _0x25f06a=this[_0x240242(0x389)][_0x240242(0x2c6)]();let _0x445d52=(_0x45a50c=this[_0x240242(0x1a5)][_0x240242(0x16c)](_0x41feef))!=null?_0x45a50c:_0x10e78c;_0x25f06a instanceof _0x516919[_0x240242(0x198)]&&(_0x445d52=_0x25f06a['name']),document['title']=_0x445d52;}));}};_0x7de760=_0x548e3a([_0x359424(0x0,_0x516919['IUniverInstanceService']),_0x359424(0x1,_0x516919['IConfigService'])],_0x7de760);var _0x30d1a3=Object[_0x2f17d6(0x397)],_0x4afa40=(_0x1badd1,_0x18a6c0,_0x133d79,_0x7aa3f6)=>{var _0x31194c=_0x2f17d6;for(var _0x186f24=_0x7aa3f6>0x1?void 0x0:_0x7aa3f6?_0x30d1a3(_0x18a6c0,_0x133d79):_0x18a6c0,_0x5666c5=_0x1badd1[_0x31194c(0x34f)]-0x1,_0x12588c;_0x5666c5>=0x0;_0x5666c5--)(_0x12588c=_0x1badd1[_0x5666c5])&&(_0x186f24=_0x12588c(_0x186f24)||_0x186f24);return _0x186f24;},_0x28389c=(_0x496d73,_0x1352ff)=>(_0x5ab6a1,_0x7d6026)=>_0x1352ff(_0x5ab6a1,_0x7d6026,_0x496d73);let _0x37c73c=class{constructor(_0x404cb9,_0x43ee05,_0x4ed5fe){var _0x4ade99=_0x2f17d6;this[_0x4ade99(0x1a5)]=_0x404cb9,this[_0x4ade99(0x156)]=_0x43ee05,this['localeService']=_0x4ed5fe,this[_0x4ade99(0x3b4)]();}[_0x2f17d6(0x3b4)](){var _0x29bc89=_0x2f17d6;this[_0x29bc89(0x156)][_0x29bc89(0x3f2)]({'priority':0x1,'interceptor':(_0x4ac00f,_0x2e9300)=>_0x2e9300(_0x4ac00f)[_0x29bc89(0x363)](_0x1e7ac6[_0x29bc89(0x158)](async _0x585042=>{var _0xc39f09=_0x29bc89;const _0x5213d0=_0x585042;if(_0x5213d0['status']===0x191){if(typeof window>'u')throw new Error(_0xc39f09(0x12c));if(window[_0xc39f09(0x2b3)](this['localeService']['t'](_0xc39f09(0x387)))){const _0x3ec930=window[_0xc39f09(0x38e)](window['location'][_0xc39f09(0x189)]);window[_0xc39f09(0x31a)][_0xc39f09(0x189)]=this[_0xc39f09(0x2be)]()+_0xc39f09(0x311)+_0x3ec930;}}return _0x5213d0;}))});}['_getLoginPath'](){var _0x1ef0e8=_0x2f17d6,_0x5cb2af,_0x4b5584;const _0x308c7c=this['_configService'][_0x1ef0e8(0x16c)](_0x588f50),_0x5874dd=this[_0x1ef0e8(0x1a5)][_0x1ef0e8(0x16c)](_0x2256bf);return(_0x4b5584=(_0x5cb2af=_0x5874dd==null?void 0x0:_0x5874dd[_0x1ef0e8(0x256)])!=null?_0x5cb2af:_0x308c7c)!=null?_0x4b5584:_0x17f4e1;}};_0x37c73c=_0x4afa40([_0x28389c(0x0,_0x516919['IConfigService']),_0x28389c(0x1,_0x516919[_0x2f17d6(0x381)](_0x4d99d9[_0x2f17d6(0x23f)])),_0x28389c(0x2,_0x516919[_0x2f17d6(0x381)](_0x516919['LocaleService']))],_0x37c73c);var _0x3dca0f=Object['getOwnPropertyDescriptor'],_0x47a0f9=(_0x1fd74b,_0x3b479d,_0x270d59,_0x483509)=>{for(var _0xa96687=_0x483509>0x1?void 0x0:_0x483509?_0x3dca0f(_0x3b479d,_0x270d59):_0x3b479d,_0xaa3d35=_0x1fd74b['length']-0x1,_0x35f893;_0xaa3d35>=0x0;_0xaa3d35--)(_0x35f893=_0x1fd74b[_0xaa3d35])&&(_0xa96687=_0x35f893(_0xa96687)||_0xa96687);return _0xa96687;},_0x5b4cca=(_0x4b4b37,_0x5e424a)=>(_0x33b994,_0x491e6f)=>_0x5e424a(_0x33b994,_0x491e6f,_0x4b4b37);const _0x149d1f='AUTHZ_URL_KEY',_0x4d0dec=_0x2f17d6(0x36f);_0x4ed799[_0x2f17d6(0x3a5)]=class extends _0x516919['Disposable']{constructor(_0x5791e6,_0xf7e710){var _0x34dc71=_0x2f17d6;super(),this[_0x34dc71(0x17a)]=_0x5791e6,this['_configService']=_0xf7e710,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0xa5c69d=_0x2f17d6;const _0x992773=this;this[_0xa5c69d(0x270)](this[_0xa5c69d(0x17a)][_0xa5c69d(0x3f2)]({'priority':0x3e7,'interceptor':_0x4d99d9[_0xa5c69d(0x42f)]({'isMatch'(_0x37812){var _0x3a5a7f=_0xa5c69d,_0xa99dcd;if(_0x37812['method']===_0x3a5a7f(0x42c)&&((_0xa99dcd=_0x37812[_0x3a5a7f(0x341)])!=null&&_0xa99dcd[_0x3a5a7f(0x255)])){const {objectID:_0x2996c9,objectType:_0x369ad0}=_0x37812[_0x3a5a7f(0x341)][_0x3a5a7f(0x255)]||{};if(!_0x2996c9||_0x369ad0===void 0x0)return!0x1;const _0xdd15e5=_0x992773[_0x3a5a7f(0x362)]()+'/'+_0x369ad0+_0x3a5a7f(0x302)+_0x2996c9+'/allowed';if(_0x37812[_0x3a5a7f(0x455)]===_0xdd15e5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4eabcb){var _0x11bf8a;return(_0x11bf8a=_0x4eabcb['requestParams'])==null?void 0x0:_0x11bf8a['body'];},'mergeParamsToRequest'(_0x2262f0,_0x19d208){var _0x4abe28=_0xa5c69d;const _0x475b9c=_0x992773['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x3dd057=_0x2262f0[_0x4abe28(0x39a)]((_0x590c55,_0x44c51f)=>{var _0x4b388b=_0x4abe28;const {unitID:_0x15d7ed,objectID:_0x3566ab,objectType:_0x5e5de1,actions:_0x15ec1a}=_0x44c51f;return _0x590c55[_0x15d7ed]||(_0x590c55[_0x15d7ed]={}),_0x590c55[_0x15d7ed][_0x3566ab]||(_0x590c55[_0x15d7ed][_0x3566ab]={'objectID':_0x3566ab,'objectType':_0x5e5de1,'actions':[]}),_0x590c55[_0x15d7ed][_0x3566ab][_0x4b388b(0x38d)][_0x4b388b(0x1fa)](..._0x15ec1a),_0x590c55;},{}),_0x924ac4=[];for(const _0x5a8ef6 in _0x3dd057)for(const _0x227768 in _0x3dd057[_0x5a8ef6]){const {actions:_0x1004fb,objectType:_0x10cd9b}=_0x3dd057[_0x5a8ef6][_0x227768],_0x22822a=[...new Set(_0x1004fb)];_0x924ac4[_0x4abe28(0x1fa)]({'unitID':_0x5a8ef6,'objectID':_0x227768,'objectType':_0x10cd9b,'actions':_0x22822a});}return new _0x4d99d9[(_0x4abe28(0x1b8))](_0x4abe28(0x42c),_0x475b9c,{'headers':_0x19d208[_0x4abe28(0x126)],'withCredentials':_0x19d208[_0x4abe28(0x26d)],'responseType':_0x19d208[_0x4abe28(0x118)],'body':{'requests':_0x924ac4}});}},{'distributeResult'(_0x1d3f24,_0x58ef59){const {objectActions:_0x11bf8e}=_0x1d3f24;return _0x58ef59['map'](_0x5639b4=>{var _0x326d41=_0x5099;const {unitID:_0x569730,objectID:_0x18a773,actions:_0x2643cd}=_0x5639b4,_0x47bacc=_0x11bf8e[_0x326d41(0x3eb)](_0x450c82=>_0x450c82[_0x326d41(0x11d)]===_0x569730&&_0x450c82[_0x326d41(0x159)]===_0x18a773),_0x13cb73=_0x2643cd[_0x326d41(0x3cb)](_0x355a38=>_0x47bacc==null?void 0x0:_0x47bacc[_0x326d41(0x38d)][_0x326d41(0x3eb)](_0x1c7e47=>_0x1c7e47['action']===_0x355a38))['filter'](_0x52c7a5=>!!_0x52c7a5);return{'config':_0x5639b4,'result':{'actions':_0x13cb73,'error':_0x1d3f24['error']}};});}})}));}[_0x2f17d6(0x362)](){var _0xbcdef6=_0x2f17d6,_0x17c874,_0xf6f61d;const _0x10b3d6=this[_0xbcdef6(0x1a5)][_0xbcdef6(0x16c)](_0x149d1f),_0x5049e6=this[_0xbcdef6(0x1a5)][_0xbcdef6(0x16c)](_0x2256bf);return(_0xf6f61d=(_0x17c874=_0x5049e6==null?void 0x0:_0x5049e6[_0xbcdef6(0x154)])!=null?_0x17c874:_0x10b3d6)!=null?_0xf6f61d:_0x4d0dec;}async[_0x2f17d6(0x3e6)](_0x353e4f){var _0x387d80=_0x2f17d6;const _0x38c268=this['_getAPIPrefixPath']()+'/'+_0x353e4f[_0x387d80(0x111)]+'/object';return(await this['_HTTPService'][_0x387d80(0x249)](_0x38c268,{'body':_0x353e4f}))['body']['objectID']||'';}async[_0x2f17d6(0x147)](_0x2cff05){var _0x4406be=_0x2f17d6;const _0x6fee1d=this[_0x4406be(0x362)]()+'/-/object/list';return(await this[_0x4406be(0x17a)][_0x4406be(0x249)](_0x6fee1d,{'body':_0x2cff05}))['body'][_0x4406be(0x170)];}async[_0x2f17d6(0x369)](_0x1b8706){var _0x5b30c6=_0x2f17d6;const _0x49dd9f=this[_0x5b30c6(0x362)]()+'/'+_0x1b8706[_0x5b30c6(0x111)]+_0x5b30c6(0x302)+_0x1b8706[_0x5b30c6(0x159)];await this[_0x5b30c6(0x17a)][_0x5b30c6(0x321)](_0x49dd9f,{'body':_0x1b8706});}async[_0x2f17d6(0x1ff)](_0x25bae1){var _0x2102bc=_0x2f17d6;const _0x56c661=this[_0x2102bc(0x362)]()+'/'+_0x25bae1[_0x2102bc(0x111)]+'/object/'+_0x25bae1['objectID']+_0x2102bc(0x41e);return(await this[_0x2102bc(0x17a)][_0x2102bc(0x249)](_0x56c661,{'body':_0x25bae1}))[_0x2102bc(0x255)][_0x2102bc(0x38d)];}async[_0x2f17d6(0x1a3)](_0x18dc2b){var _0x4caf4e=_0x2f17d6;const _0x19e3aa=this[_0x4caf4e(0x362)]()+_0x4caf4e(0x217);return(await this['_HTTPService'][_0x4caf4e(0x249)](_0x19e3aa,{'body':{'requests':_0x18dc2b}}))[_0x4caf4e(0x255)]['objectActions'];}async['listRoles'](_0x4fbd15){var _0x10c285=_0x2f17d6;const _0x3f4136=this[_0x10c285(0x362)]()+'/'+_0x4fbd15[_0x10c285(0x111)]+_0x10c285(0x32d),_0x48c2b8=await this[_0x10c285(0x17a)]['post'](_0x3f4136,{'body':_0x4fbd15});return{'roles':_0x48c2b8[_0x10c285(0x255)][_0x10c285(0x2f8)],'actions':_0x48c2b8[_0x10c285(0x255)][_0x10c285(0x38d)]};}async[_0x2f17d6(0xee)](_0x3b2f32){var _0x406079=_0x2f17d6;const _0x392fb3=this[_0x406079(0x362)]()+'/collaborator';await this[_0x406079(0x17a)]['delete'](_0x392fb3,{'params':{'collaboratorID':_0x3b2f32[_0x406079(0x3c4)],'objectID':_0x3b2f32[_0x406079(0x159)],'unitID':_0x3b2f32[_0x406079(0x11d)]}});}async[_0x2f17d6(0x3b5)](_0xc357dc){var _0x379ef3=_0x2f17d6;const _0x16241a=this[_0x379ef3(0x362)]()+_0x379ef3(0x324);await this[_0x379ef3(0x17a)][_0x379ef3(0x301)](_0x16241a,{'body':_0xc357dc});}async[_0x2f17d6(0x3d5)](_0x451204){var _0x2f4a15=_0x2f17d6;const _0x1f2daf=this[_0x2f4a15(0x362)]()+'/collaborator';await this[_0x2f4a15(0x17a)]['post'](_0x1f2daf,{'body':_0x451204});}async[_0x2f17d6(0x334)](_0x5c6ffc){var _0x2152e0=_0x2f17d6;const _0x9343cd=this[_0x2152e0(0x362)]()+_0x2152e0(0x324);return(await this[_0x2152e0(0x17a)]['get'](_0x9343cd,{'params':{'objectID':_0x5c6ffc[_0x2152e0(0x159)],'unitID':_0x5c6ffc[_0x2152e0(0x11d)]}}))['body'][_0x2152e0(0x25e)];}async[_0x2f17d6(0x18e)](_0x357c41){var _0x39ee59=_0x2f17d6;const _0x2924da=this[_0x39ee59(0x362)]()+'/collaborator';await this[_0x39ee59(0x17a)][_0x39ee59(0x321)](_0x2924da,{'body':_0x357c41});}},_0x4ed799[_0x2f17d6(0x3a5)]=_0x47a0f9([_0x5b4cca(0x0,_0x516919[_0x2f17d6(0x381)](_0x4d99d9[_0x2f17d6(0x23f)])),_0x5b4cca(0x1,_0x516919[_0x2f17d6(0x381)](_0x516919['IConfigService']))],_0x4ed799[_0x2f17d6(0x3a5)]);var _0x2fb62d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x2b72a5(_0x672cfb){var _0x18b46f=_0x2f17d6;return _0x672cfb&&_0x672cfb[_0x18b46f(0x359)]&&Object[_0x18b46f(0x34a)]['hasOwnProperty'][_0x18b46f(0x1b9)](_0x672cfb,_0x18b46f(0x331))?_0x672cfb[_0x18b46f(0x331)]:_0x672cfb;}var _0x12cc1c={'exports':{}};function _0x2d57da(_0x35ffd2){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x35ffd2+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x3c9213={'exports':{}},_0x19f53f=_0x3c9213['exports'],_0x4a75cf;function _0x3fd0e3(){var _0x3a37eb=_0x2f17d6;return _0x4a75cf||(_0x4a75cf=0x1,function(_0x1bef5a,_0x59b3a8){(function(_0x43f4d3,_0x31f4fd){var _0x5ed1d0=_0x5099;_0x1bef5a[_0x5ed1d0(0x18f)]=_0x31f4fd();}(_0x19f53f,function(){var _0x191f15=_0x191f15||function(_0x396b6b,_0xcfdcd4){var _0x9bdd2f=_0x5099,_0x185a86;if(typeof window<'u'&&window[_0x9bdd2f(0x2da)]&&(_0x185a86=window[_0x9bdd2f(0x2da)]),typeof self<'u'&&self[_0x9bdd2f(0x2da)]&&(_0x185a86=self[_0x9bdd2f(0x2da)]),typeof globalThis<'u'&&globalThis[_0x9bdd2f(0x2da)]&&(_0x185a86=globalThis[_0x9bdd2f(0x2da)]),!_0x185a86&&typeof window<'u'&&window[_0x9bdd2f(0x16e)]&&(_0x185a86=window['msCrypto']),!_0x185a86&&typeof _0x2fb62d<'u'&&_0x2fb62d['crypto']&&(_0x185a86=_0x2fb62d[_0x9bdd2f(0x2da)]),!_0x185a86&&typeof _0x2d57da==_0x9bdd2f(0x330))try{_0x185a86=require('crypto');}catch{}var _0x3e7684=function(){var _0x57fa4c=_0x9bdd2f;if(_0x185a86){if(typeof _0x185a86[_0x57fa4c(0x37f)]==_0x57fa4c(0x330))try{return _0x185a86[_0x57fa4c(0x37f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x185a86['randomBytes']=='function')try{return _0x185a86[_0x57fa4c(0x408)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x57fa4c(0x1f8));},_0x32485a=Object['create']||(function(){function _0x24e1a1(){}return function(_0x34f5e4){var _0x28e5ce=_0x5099,_0x110e86;return _0x24e1a1[_0x28e5ce(0x34a)]=_0x34f5e4,_0x110e86=new _0x24e1a1(),_0x24e1a1['prototype']=null,_0x110e86;};}()),_0x1656b2={},_0x386222=_0x1656b2[_0x9bdd2f(0x19f)]={},_0x282c9c=_0x386222[_0x9bdd2f(0x137)]=(function(){return{'extend':function(_0x6cd8d3){var _0x4f8927=_0x5099,_0x151ebe=_0x32485a(this);return _0x6cd8d3&&_0x151ebe[_0x4f8927(0x30d)](_0x6cd8d3),(!_0x151ebe[_0x4f8927(0x3a9)](_0x4f8927(0x3b4))||this[_0x4f8927(0x3b4)]===_0x151ebe['init'])&&(_0x151ebe[_0x4f8927(0x3b4)]=function(){var _0x1fea55=_0x4f8927;_0x151ebe[_0x1fea55(0x3b7)]['init'][_0x1fea55(0x157)](this,arguments);}),_0x151ebe[_0x4f8927(0x3b4)][_0x4f8927(0x34a)]=_0x151ebe,_0x151ebe[_0x4f8927(0x3b7)]=this,_0x151ebe;},'create':function(){var _0xb8e3d1=_0x5099,_0x4c515c=this[_0xb8e3d1(0x238)]();return _0x4c515c[_0xb8e3d1(0x3b4)]['apply'](_0x4c515c,arguments),_0x4c515c;},'init':function(){},'mixIn':function(_0x52aee7){var _0xa6d18e=_0x5099;for(var _0x19774a in _0x52aee7)_0x52aee7[_0xa6d18e(0x3a9)](_0x19774a)&&(this[_0x19774a]=_0x52aee7[_0x19774a]);_0x52aee7[_0xa6d18e(0x3a9)](_0xa6d18e(0x1b2))&&(this[_0xa6d18e(0x1b2)]=_0x52aee7[_0xa6d18e(0x1b2)]);},'clone':function(){var _0x47325e=_0x5099;return this[_0x47325e(0x3b4)][_0x47325e(0x34a)][_0x47325e(0x238)](this);}};}()),_0x4985aa=_0x386222[_0x9bdd2f(0xfe)]=_0x282c9c['extend']({'init':function(_0x5587b4,_0x119c70){var _0x662601=_0x9bdd2f;_0x5587b4=this[_0x662601(0x292)]=_0x5587b4||[],_0x119c70!=_0xcfdcd4?this[_0x662601(0x3e2)]=_0x119c70:this[_0x662601(0x3e2)]=_0x5587b4[_0x662601(0x34f)]*0x4;},'toString':function(_0x50951f){var _0x5ca517=_0x9bdd2f;return(_0x50951f||_0x43c613)[_0x5ca517(0x3ca)](this);},'concat':function(_0x58dba6){var _0x4177f4=_0x9bdd2f,_0x3f8a8f=this['words'],_0x5dd48b=_0x58dba6[_0x4177f4(0x292)],_0x181772=this['sigBytes'],_0x9ce4e4=_0x58dba6[_0x4177f4(0x3e2)];if(this[_0x4177f4(0x36d)](),_0x181772%0x4)for(var _0x4cf7b0=0x0;_0x4cf7b0<_0x9ce4e4;_0x4cf7b0++){var _0x3ea9d2=_0x5dd48b[_0x4cf7b0>>>0x2]>>>0x18-_0x4cf7b0%0x4*0x8&0xff;_0x3f8a8f[_0x181772+_0x4cf7b0>>>0x2]|=_0x3ea9d2<<0x18-(_0x181772+_0x4cf7b0)%0x4*0x8;}else{for(var _0x4fbb51=0x0;_0x4fbb51<_0x9ce4e4;_0x4fbb51+=0x4)_0x3f8a8f[_0x181772+_0x4fbb51>>>0x2]=_0x5dd48b[_0x4fbb51>>>0x2];}return this[_0x4177f4(0x3e2)]+=_0x9ce4e4,this;},'clamp':function(){var _0xe80a0b=_0x9bdd2f,_0x355dd8=this[_0xe80a0b(0x292)],_0x49e475=this[_0xe80a0b(0x3e2)];_0x355dd8[_0x49e475>>>0x2]&=0xffffffff<<0x20-_0x49e475%0x4*0x8,_0x355dd8[_0xe80a0b(0x34f)]=_0x396b6b[_0xe80a0b(0xe8)](_0x49e475/0x4);},'clone':function(){var _0x481bdf=_0x9bdd2f,_0x8ee5ac=_0x282c9c['clone'][_0x481bdf(0x1b9)](this);return _0x8ee5ac[_0x481bdf(0x292)]=this['words'][_0x481bdf(0x39b)](0x0),_0x8ee5ac;},'random':function(_0x411eb7){var _0x5af841=_0x9bdd2f;for(var _0xe1b3e5=[],_0xe0ecf5=0x0;_0xe0ecf5<_0x411eb7;_0xe0ecf5+=0x4)_0xe1b3e5['push'](_0x3e7684());return new _0x4985aa[(_0x5af841(0x3b4))](_0xe1b3e5,_0x411eb7);}}),_0x583975=_0x1656b2[_0x9bdd2f(0x33b)]={},_0x43c613=_0x583975['Hex']={'stringify':function(_0x4a94cb){var _0x489c67=_0x9bdd2f;for(var _0x119809=_0x4a94cb[_0x489c67(0x292)],_0x27e992=_0x4a94cb[_0x489c67(0x3e2)],_0x46a726=[],_0x426771=0x0;_0x426771<_0x27e992;_0x426771++){var _0x1056ca=_0x119809[_0x426771>>>0x2]>>>0x18-_0x426771%0x4*0x8&0xff;_0x46a726[_0x489c67(0x1fa)]((_0x1056ca>>>0x4)[_0x489c67(0x1b2)](0x10)),_0x46a726[_0x489c67(0x1fa)]((_0x1056ca&0xf)['toString'](0x10));}return _0x46a726[_0x489c67(0x12a)]('');},'parse':function(_0x84b690){var _0x3012b1=_0x9bdd2f;for(var _0x3bdc7c=_0x84b690[_0x3012b1(0x34f)],_0x8aaf3a=[],_0x13dcc0=0x0;_0x13dcc0<_0x3bdc7c;_0x13dcc0+=0x2)_0x8aaf3a[_0x13dcc0>>>0x3]|=parseInt(_0x84b690[_0x3012b1(0x1c9)](_0x13dcc0,0x2),0x10)<<0x18-_0x13dcc0%0x8*0x4;return new _0x4985aa['init'](_0x8aaf3a,_0x3bdc7c/0x2);}},_0x53d692=_0x583975[_0x9bdd2f(0xed)]={'stringify':function(_0x2ac688){var _0x4691ed=_0x9bdd2f;for(var _0x33dff2=_0x2ac688[_0x4691ed(0x292)],_0x4c676a=_0x2ac688[_0x4691ed(0x3e2)],_0x2381e5=[],_0x5c5ff8=0x0;_0x5c5ff8<_0x4c676a;_0x5c5ff8++){var _0x2126e6=_0x33dff2[_0x5c5ff8>>>0x2]>>>0x18-_0x5c5ff8%0x4*0x8&0xff;_0x2381e5['push'](String['fromCharCode'](_0x2126e6));}return _0x2381e5[_0x4691ed(0x12a)]('');},'parse':function(_0x2378db){var _0x18d38d=_0x9bdd2f;for(var _0x35cf35=_0x2378db[_0x18d38d(0x34f)],_0x3bbbf2=[],_0x18d6c7=0x0;_0x18d6c7<_0x35cf35;_0x18d6c7++)_0x3bbbf2[_0x18d6c7>>>0x2]|=(_0x2378db[_0x18d38d(0x3b0)](_0x18d6c7)&0xff)<<0x18-_0x18d6c7%0x4*0x8;return new _0x4985aa[(_0x18d38d(0x3b4))](_0x3bbbf2,_0x35cf35);}},_0xeed6ca=_0x583975[_0x9bdd2f(0x454)]={'stringify':function(_0x4e3b8d){var _0x50796a=_0x9bdd2f;try{return decodeURIComponent(escape(_0x53d692['stringify'](_0x4e3b8d)));}catch{throw new Error(_0x50796a(0x295));}},'parse':function(_0x490132){var _0x34b124=_0x9bdd2f;return _0x53d692[_0x34b124(0x115)](unescape(encodeURIComponent(_0x490132)));}},_0x2d8fc6=_0x386222[_0x9bdd2f(0x2cb)]=_0x282c9c[_0x9bdd2f(0x238)]({'reset':function(){var _0x7726b1=_0x9bdd2f;this[_0x7726b1(0x403)]=new _0x4985aa['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x52c1fd){var _0x358f83=_0x9bdd2f;typeof _0x52c1fd==_0x358f83(0x264)&&(_0x52c1fd=_0xeed6ca[_0x358f83(0x115)](_0x52c1fd)),this[_0x358f83(0x403)][_0x358f83(0x3d3)](_0x52c1fd),this[_0x358f83(0x127)]+=_0x52c1fd[_0x358f83(0x3e2)];},'_process':function(_0x502620){var _0xffccc0=_0x9bdd2f,_0x3683e3,_0x308fae=this[_0xffccc0(0x403)],_0x556b38=_0x308fae[_0xffccc0(0x292)],_0x5b0367=_0x308fae['sigBytes'],_0x18905a=this['blockSize'],_0x21a0fd=_0x18905a*0x4,_0x505a56=_0x5b0367/_0x21a0fd;_0x502620?_0x505a56=_0x396b6b[_0xffccc0(0xe8)](_0x505a56):_0x505a56=_0x396b6b[_0xffccc0(0x2df)]((_0x505a56|0x0)-this['_minBufferSize'],0x0);var _0x13d273=_0x505a56*_0x18905a,_0x5e255a=_0x396b6b[_0xffccc0(0x1e9)](_0x13d273*0x4,_0x5b0367);if(_0x13d273){for(var _0x3683de=0x0;_0x3683de<_0x13d273;_0x3683de+=_0x18905a)this['_doProcessBlock'](_0x556b38,_0x3683de);_0x3683e3=_0x556b38['splice'](0x0,_0x13d273),_0x308fae[_0xffccc0(0x3e2)]-=_0x5e255a;}return new _0x4985aa[(_0xffccc0(0x3b4))](_0x3683e3,_0x5e255a);},'clone':function(){var _0x35c1e6=_0x9bdd2f,_0xb66123=_0x282c9c[_0x35c1e6(0x106)]['call'](this);return _0xb66123[_0x35c1e6(0x403)]=this[_0x35c1e6(0x403)][_0x35c1e6(0x106)](),_0xb66123;},'_minBufferSize':0x0});_0x386222[_0x9bdd2f(0x2fd)]=_0x2d8fc6['extend']({'cfg':_0x282c9c['extend'](),'init':function(_0x27a09c){var _0x10ddf4=_0x9bdd2f;this[_0x10ddf4(0x449)]=this[_0x10ddf4(0x449)][_0x10ddf4(0x238)](_0x27a09c),this['reset']();},'reset':function(){var _0x2866bb=_0x9bdd2f;_0x2d8fc6[_0x2866bb(0x440)][_0x2866bb(0x1b9)](this),this[_0x2866bb(0x42d)]();},'update':function(_0x2dcc32){var _0x4db2ff=_0x9bdd2f;return this[_0x4db2ff(0x104)](_0x2dcc32),this[_0x4db2ff(0x190)](),this;},'finalize':function(_0x1aeed7){var _0xe7c5ed=_0x9bdd2f;_0x1aeed7&&this[_0xe7c5ed(0x104)](_0x1aeed7);var _0x4c4897=this[_0xe7c5ed(0x432)]();return _0x4c4897;},'blockSize':0x10,'_createHelper':function(_0x1c97c6){return function(_0x3b3273,_0x3ad895){var _0x21652a=_0x5099;return new _0x1c97c6[(_0x21652a(0x3b4))](_0x3ad895)[_0x21652a(0x1f6)](_0x3b3273);};},'_createHmacHelper':function(_0x2ec63a){return function(_0x4b688a,_0x48453d){var _0x5ab63e=_0x5099;return new _0x39da9f[(_0x5ab63e(0x2af))]['init'](_0x2ec63a,_0x48453d)[_0x5ab63e(0x1f6)](_0x4b688a);};}});var _0x39da9f=_0x1656b2[_0x9bdd2f(0x223)]={};return _0x1656b2;}(Math);return _0x191f15;}));}(_0x3c9213)),_0x3c9213[_0x3a37eb(0x18f)];}var _0x27fc9d={'exports':{}},_0x1dcbc6=_0x27fc9d[_0x2f17d6(0x18f)],_0x2cf80e;function _0x3bb427(){var _0x2c180c=_0x2f17d6;return _0x2cf80e||(_0x2cf80e=0x1,function(_0x17cafc,_0x166097){(function(_0x3c4090,_0x1bb232){var _0x2d368e=_0x5099;_0x17cafc[_0x2d368e(0x18f)]=_0x1bb232(_0x3fd0e3());}(_0x1dcbc6,function(_0x6bc1bd){var _0x5e6297=_0x5099;return(function(){var _0x59ce5d=_0x5099,_0x364057=_0x6bc1bd,_0xd17f08=_0x364057['lib'],_0x588395=_0xd17f08[_0x59ce5d(0xfe)],_0x2976b2=_0x364057[_0x59ce5d(0x33b)];_0x2976b2[_0x59ce5d(0x184)]={'stringify':function(_0x2a8434){var _0x44ac6c=_0x59ce5d,_0x57da0f=_0x2a8434[_0x44ac6c(0x292)],_0x457338=_0x2a8434[_0x44ac6c(0x3e2)],_0x5be60d=this[_0x44ac6c(0x2a4)];_0x2a8434['clamp']();for(var _0x150b5e=[],_0x364ce8=0x0;_0x364ce8<_0x457338;_0x364ce8+=0x3)for(var _0xd354f4=_0x57da0f[_0x364ce8>>>0x2]>>>0x18-_0x364ce8%0x4*0x8&0xff,_0x9315d6=_0x57da0f[_0x364ce8+0x1>>>0x2]>>>0x18-(_0x364ce8+0x1)%0x4*0x8&0xff,_0x2cf007=_0x57da0f[_0x364ce8+0x2>>>0x2]>>>0x18-(_0x364ce8+0x2)%0x4*0x8&0xff,_0x5552fc=_0xd354f4<<0x10|_0x9315d6<<0x8|_0x2cf007,_0x2894b3=0x0;_0x2894b3<0x4&&_0x364ce8+_0x2894b3*0.75<_0x457338;_0x2894b3++)_0x150b5e['push'](_0x5be60d[_0x44ac6c(0x123)](_0x5552fc>>>0x6*(0x3-_0x2894b3)&0x3f));var _0x243534=_0x5be60d[_0x44ac6c(0x123)](0x40);if(_0x243534){for(;_0x150b5e[_0x44ac6c(0x34f)]%0x4;)_0x150b5e[_0x44ac6c(0x1fa)](_0x243534);}return _0x150b5e[_0x44ac6c(0x12a)]('');},'parse':function(_0x45377b){var _0x306009=_0x59ce5d,_0x357839=_0x45377b[_0x306009(0x34f)],_0x26c06b=this[_0x306009(0x2a4)],_0x20ea0d=this['_reverseMap'];if(!_0x20ea0d){_0x20ea0d=this[_0x306009(0x174)]=[];for(var _0x7febc2=0x0;_0x7febc2<_0x26c06b[_0x306009(0x34f)];_0x7febc2++)_0x20ea0d[_0x26c06b[_0x306009(0x3b0)](_0x7febc2)]=_0x7febc2;}var _0xdec137=_0x26c06b[_0x306009(0x123)](0x40);if(_0xdec137){var _0x1adc57=_0x45377b['indexOf'](_0xdec137);_0x1adc57!==-0x1&&(_0x357839=_0x1adc57);}return _0x583beb(_0x45377b,_0x357839,_0x20ea0d);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x583beb(_0x294e0f,_0x212d55,_0x47fffd){var _0x1fb3b2=_0x59ce5d;for(var _0x307a4a=[],_0x57564b=0x0,_0x2f7197=0x0;_0x2f7197<_0x212d55;_0x2f7197++)if(_0x2f7197%0x4){var _0x265b15=_0x47fffd[_0x294e0f[_0x1fb3b2(0x3b0)](_0x2f7197-0x1)]<<_0x2f7197%0x4*0x2,_0x469316=_0x47fffd[_0x294e0f['charCodeAt'](_0x2f7197)]>>>0x6-_0x2f7197%0x4*0x2,_0x2b4f0a=_0x265b15|_0x469316;_0x307a4a[_0x57564b>>>0x2]|=_0x2b4f0a<<0x18-_0x57564b%0x4*0x8,_0x57564b++;}return _0x588395[_0x1fb3b2(0x3e6)](_0x307a4a,_0x57564b);}}()),_0x6bc1bd[_0x5e6297(0x33b)][_0x5e6297(0x184)];}));}(_0x27fc9d)),_0x27fc9d[_0x2c180c(0x18f)];}var _0x386994={'exports':{}},_0x1af867=_0x386994[_0x2f17d6(0x18f)],_0x3a4d58;function _0x2e684d(){return _0x3a4d58||(_0x3a4d58=0x1,function(_0x2303d1,_0x19a02e){(function(_0x5e444e,_0x5deb8c){var _0x383f91=_0x5099;_0x2303d1[_0x383f91(0x18f)]=_0x5deb8c(_0x3fd0e3());}(_0x1af867,function(_0xd86636){var _0xbb3ff=_0x5099;return function(_0x90dcce){var _0x26e3e5=_0x5099,_0x2e32dc=_0xd86636,_0x30e971=_0x2e32dc[_0x26e3e5(0x19f)],_0x570e75=_0x30e971[_0x26e3e5(0xfe)],_0x17d826=_0x30e971[_0x26e3e5(0x2fd)],_0x38e1a2=_0x2e32dc['algo'],_0xd75a02=[];(function(){var _0x435aaa=_0x26e3e5;for(var _0x29aabd=0x0;_0x29aabd<0x40;_0x29aabd++)_0xd75a02[_0x29aabd]=_0x90dcce['abs'](_0x90dcce[_0x435aaa(0x131)](_0x29aabd+0x1))*0x100000000|0x0;}());var _0x236be6=_0x38e1a2[_0x26e3e5(0x1a1)]=_0x17d826[_0x26e3e5(0x238)]({'_doReset':function(){this['_hash']=new _0x570e75['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4ca7d8,_0x4bd445){var _0x470d14=_0x26e3e5;for(var _0x1431ff=0x0;_0x1431ff<0x10;_0x1431ff++){var _0x4da215=_0x4bd445+_0x1431ff,_0x289fda=_0x4ca7d8[_0x4da215];_0x4ca7d8[_0x4da215]=(_0x289fda<<0x8|_0x289fda>>>0x18)&0xff00ff|(_0x289fda<<0x18|_0x289fda>>>0x8)&0xff00ff00;}var _0x35739a=this[_0x470d14(0x2ee)][_0x470d14(0x292)],_0x5c9698=_0x4ca7d8[_0x4bd445+0x0],_0x1d5d8f=_0x4ca7d8[_0x4bd445+0x1],_0x50cd86=_0x4ca7d8[_0x4bd445+0x2],_0x17f0b1=_0x4ca7d8[_0x4bd445+0x3],_0x4d336b=_0x4ca7d8[_0x4bd445+0x4],_0xbd6e80=_0x4ca7d8[_0x4bd445+0x5],_0x578b01=_0x4ca7d8[_0x4bd445+0x6],_0x42dc68=_0x4ca7d8[_0x4bd445+0x7],_0x4e6f2f=_0x4ca7d8[_0x4bd445+0x8],_0x2ffc83=_0x4ca7d8[_0x4bd445+0x9],_0x468ccf=_0x4ca7d8[_0x4bd445+0xa],_0x4cae4d=_0x4ca7d8[_0x4bd445+0xb],_0x3a4f36=_0x4ca7d8[_0x4bd445+0xc],_0x4088fa=_0x4ca7d8[_0x4bd445+0xd],_0x557e0b=_0x4ca7d8[_0x4bd445+0xe],_0x398f73=_0x4ca7d8[_0x4bd445+0xf],_0xa83477=_0x35739a[0x0],_0x2f8437=_0x35739a[0x1],_0x1a4553=_0x35739a[0x2],_0x1e06d4=_0x35739a[0x3];_0xa83477=_0x5cc1b5(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x5c9698,0x7,_0xd75a02[0x0]),_0x1e06d4=_0x5cc1b5(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x1d5d8f,0xc,_0xd75a02[0x1]),_0x1a4553=_0x5cc1b5(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x50cd86,0x11,_0xd75a02[0x2]),_0x2f8437=_0x5cc1b5(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x17f0b1,0x16,_0xd75a02[0x3]),_0xa83477=_0x5cc1b5(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x4d336b,0x7,_0xd75a02[0x4]),_0x1e06d4=_0x5cc1b5(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0xbd6e80,0xc,_0xd75a02[0x5]),_0x1a4553=_0x5cc1b5(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x578b01,0x11,_0xd75a02[0x6]),_0x2f8437=_0x5cc1b5(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x42dc68,0x16,_0xd75a02[0x7]),_0xa83477=_0x5cc1b5(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x4e6f2f,0x7,_0xd75a02[0x8]),_0x1e06d4=_0x5cc1b5(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x2ffc83,0xc,_0xd75a02[0x9]),_0x1a4553=_0x5cc1b5(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x468ccf,0x11,_0xd75a02[0xa]),_0x2f8437=_0x5cc1b5(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x4cae4d,0x16,_0xd75a02[0xb]),_0xa83477=_0x5cc1b5(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x3a4f36,0x7,_0xd75a02[0xc]),_0x1e06d4=_0x5cc1b5(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x4088fa,0xc,_0xd75a02[0xd]),_0x1a4553=_0x5cc1b5(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x557e0b,0x11,_0xd75a02[0xe]),_0x2f8437=_0x5cc1b5(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x398f73,0x16,_0xd75a02[0xf]),_0xa83477=_0x4d3b01(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x1d5d8f,0x5,_0xd75a02[0x10]),_0x1e06d4=_0x4d3b01(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x578b01,0x9,_0xd75a02[0x11]),_0x1a4553=_0x4d3b01(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x4cae4d,0xe,_0xd75a02[0x12]),_0x2f8437=_0x4d3b01(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x5c9698,0x14,_0xd75a02[0x13]),_0xa83477=_0x4d3b01(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0xbd6e80,0x5,_0xd75a02[0x14]),_0x1e06d4=_0x4d3b01(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x468ccf,0x9,_0xd75a02[0x15]),_0x1a4553=_0x4d3b01(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x398f73,0xe,_0xd75a02[0x16]),_0x2f8437=_0x4d3b01(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x4d336b,0x14,_0xd75a02[0x17]),_0xa83477=_0x4d3b01(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x2ffc83,0x5,_0xd75a02[0x18]),_0x1e06d4=_0x4d3b01(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x557e0b,0x9,_0xd75a02[0x19]),_0x1a4553=_0x4d3b01(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x17f0b1,0xe,_0xd75a02[0x1a]),_0x2f8437=_0x4d3b01(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x4e6f2f,0x14,_0xd75a02[0x1b]),_0xa83477=_0x4d3b01(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x4088fa,0x5,_0xd75a02[0x1c]),_0x1e06d4=_0x4d3b01(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x50cd86,0x9,_0xd75a02[0x1d]),_0x1a4553=_0x4d3b01(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x42dc68,0xe,_0xd75a02[0x1e]),_0x2f8437=_0x4d3b01(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x3a4f36,0x14,_0xd75a02[0x1f]),_0xa83477=_0x57ccbf(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0xbd6e80,0x4,_0xd75a02[0x20]),_0x1e06d4=_0x57ccbf(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x4e6f2f,0xb,_0xd75a02[0x21]),_0x1a4553=_0x57ccbf(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x4cae4d,0x10,_0xd75a02[0x22]),_0x2f8437=_0x57ccbf(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x557e0b,0x17,_0xd75a02[0x23]),_0xa83477=_0x57ccbf(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x1d5d8f,0x4,_0xd75a02[0x24]),_0x1e06d4=_0x57ccbf(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x4d336b,0xb,_0xd75a02[0x25]),_0x1a4553=_0x57ccbf(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x42dc68,0x10,_0xd75a02[0x26]),_0x2f8437=_0x57ccbf(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x468ccf,0x17,_0xd75a02[0x27]),_0xa83477=_0x57ccbf(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x4088fa,0x4,_0xd75a02[0x28]),_0x1e06d4=_0x57ccbf(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x5c9698,0xb,_0xd75a02[0x29]),_0x1a4553=_0x57ccbf(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x17f0b1,0x10,_0xd75a02[0x2a]),_0x2f8437=_0x57ccbf(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x578b01,0x17,_0xd75a02[0x2b]),_0xa83477=_0x57ccbf(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x2ffc83,0x4,_0xd75a02[0x2c]),_0x1e06d4=_0x57ccbf(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x3a4f36,0xb,_0xd75a02[0x2d]),_0x1a4553=_0x57ccbf(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x398f73,0x10,_0xd75a02[0x2e]),_0x2f8437=_0x57ccbf(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x50cd86,0x17,_0xd75a02[0x2f]),_0xa83477=_0x4ab572(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x5c9698,0x6,_0xd75a02[0x30]),_0x1e06d4=_0x4ab572(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x42dc68,0xa,_0xd75a02[0x31]),_0x1a4553=_0x4ab572(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x557e0b,0xf,_0xd75a02[0x32]),_0x2f8437=_0x4ab572(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0xbd6e80,0x15,_0xd75a02[0x33]),_0xa83477=_0x4ab572(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x3a4f36,0x6,_0xd75a02[0x34]),_0x1e06d4=_0x4ab572(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x17f0b1,0xa,_0xd75a02[0x35]),_0x1a4553=_0x4ab572(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x468ccf,0xf,_0xd75a02[0x36]),_0x2f8437=_0x4ab572(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x1d5d8f,0x15,_0xd75a02[0x37]),_0xa83477=_0x4ab572(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x4e6f2f,0x6,_0xd75a02[0x38]),_0x1e06d4=_0x4ab572(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x398f73,0xa,_0xd75a02[0x39]),_0x1a4553=_0x4ab572(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x578b01,0xf,_0xd75a02[0x3a]),_0x2f8437=_0x4ab572(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x4088fa,0x15,_0xd75a02[0x3b]),_0xa83477=_0x4ab572(_0xa83477,_0x2f8437,_0x1a4553,_0x1e06d4,_0x4d336b,0x6,_0xd75a02[0x3c]),_0x1e06d4=_0x4ab572(_0x1e06d4,_0xa83477,_0x2f8437,_0x1a4553,_0x4cae4d,0xa,_0xd75a02[0x3d]),_0x1a4553=_0x4ab572(_0x1a4553,_0x1e06d4,_0xa83477,_0x2f8437,_0x50cd86,0xf,_0xd75a02[0x3e]),_0x2f8437=_0x4ab572(_0x2f8437,_0x1a4553,_0x1e06d4,_0xa83477,_0x2ffc83,0x15,_0xd75a02[0x3f]),_0x35739a[0x0]=_0x35739a[0x0]+_0xa83477|0x0,_0x35739a[0x1]=_0x35739a[0x1]+_0x2f8437|0x0,_0x35739a[0x2]=_0x35739a[0x2]+_0x1a4553|0x0,_0x35739a[0x3]=_0x35739a[0x3]+_0x1e06d4|0x0;},'_doFinalize':function(){var _0x4a815c=_0x26e3e5,_0x4cd68c=this[_0x4a815c(0x403)],_0x235568=_0x4cd68c[_0x4a815c(0x292)],_0x48314b=this[_0x4a815c(0x127)]*0x8,_0x3fe8b6=_0x4cd68c[_0x4a815c(0x3e2)]*0x8;_0x235568[_0x3fe8b6>>>0x5]|=0x80<<0x18-_0x3fe8b6%0x20;var _0x53c05f=_0x90dcce[_0x4a815c(0x117)](_0x48314b/0x100000000),_0x209c36=_0x48314b;_0x235568[(_0x3fe8b6+0x40>>>0x9<<0x4)+0xf]=(_0x53c05f<<0x8|_0x53c05f>>>0x18)&0xff00ff|(_0x53c05f<<0x18|_0x53c05f>>>0x8)&0xff00ff00,_0x235568[(_0x3fe8b6+0x40>>>0x9<<0x4)+0xe]=(_0x209c36<<0x8|_0x209c36>>>0x18)&0xff00ff|(_0x209c36<<0x18|_0x209c36>>>0x8)&0xff00ff00,_0x4cd68c['sigBytes']=(_0x235568[_0x4a815c(0x34f)]+0x1)*0x4,this[_0x4a815c(0x190)]();for(var _0x14fa9e=this['_hash'],_0x2af749=_0x14fa9e[_0x4a815c(0x292)],_0x2fa5a2=0x0;_0x2fa5a2<0x4;_0x2fa5a2++){var _0x48ce08=_0x2af749[_0x2fa5a2];_0x2af749[_0x2fa5a2]=(_0x48ce08<<0x8|_0x48ce08>>>0x18)&0xff00ff|(_0x48ce08<<0x18|_0x48ce08>>>0x8)&0xff00ff00;}return _0x14fa9e;},'clone':function(){var _0xf32676=_0x26e3e5,_0x66a064=_0x17d826[_0xf32676(0x106)]['call'](this);return _0x66a064['_hash']=this[_0xf32676(0x2ee)]['clone'](),_0x66a064;}});function _0x5cc1b5(_0x3e72cf,_0x5844ce,_0x3ccd0c,_0x5bbb7c,_0x2aba5a,_0x173cbb,_0x1e7861){var _0x180e20=_0x3e72cf+(_0x5844ce&_0x3ccd0c|~_0x5844ce&_0x5bbb7c)+_0x2aba5a+_0x1e7861;return(_0x180e20<<_0x173cbb|_0x180e20>>>0x20-_0x173cbb)+_0x5844ce;}function _0x4d3b01(_0x2fbef1,_0x22554b,_0x4c541d,_0x162dbc,_0x488268,_0x4af280,_0x232b93){var _0x33d1c4=_0x2fbef1+(_0x22554b&_0x162dbc|_0x4c541d&~_0x162dbc)+_0x488268+_0x232b93;return(_0x33d1c4<<_0x4af280|_0x33d1c4>>>0x20-_0x4af280)+_0x22554b;}function _0x57ccbf(_0x532219,_0x24c9d0,_0x528ae7,_0x1603c2,_0x3dd5ab,_0x2c0bb1,_0x4ced63){var _0x42c974=_0x532219+(_0x24c9d0^_0x528ae7^_0x1603c2)+_0x3dd5ab+_0x4ced63;return(_0x42c974<<_0x2c0bb1|_0x42c974>>>0x20-_0x2c0bb1)+_0x24c9d0;}function _0x4ab572(_0xf24193,_0x34202a,_0x16cf03,_0x19bc7e,_0x57b284,_0x3e618e,_0xb32edb){var _0x46355f=_0xf24193+(_0x16cf03^(_0x34202a|~_0x19bc7e))+_0x57b284+_0xb32edb;return(_0x46355f<<_0x3e618e|_0x46355f>>>0x20-_0x3e618e)+_0x34202a;}_0x2e32dc[_0x26e3e5(0x1a1)]=_0x17d826['_createHelper'](_0x236be6),_0x2e32dc[_0x26e3e5(0x41f)]=_0x17d826[_0x26e3e5(0x3db)](_0x236be6);}(Math),_0xd86636[_0xbb3ff(0x1a1)];}));}(_0x386994)),_0x386994['exports'];}var _0x5c8e14={'exports':{}},_0x2f191e={'exports':{}},_0x174e8b=_0x2f191e['exports'],_0x95cced;function _0x2f2c11(){var _0x376a29=_0x2f17d6;return _0x95cced||(_0x95cced=0x1,function(_0x57b534,_0x5ce17a){(function(_0xdf18bd,_0x48e2a8){var _0x7957f8=_0x5099;_0x57b534[_0x7957f8(0x18f)]=_0x48e2a8(_0x3fd0e3());}(_0x174e8b,function(_0x2825e1){var _0x233e8c=_0x5099;return(function(){var _0x3db581=_0x5099,_0x3b63c1=_0x2825e1,_0x56fee7=_0x3b63c1[_0x3db581(0x19f)],_0x532326=_0x56fee7['WordArray'],_0x3a21d7=_0x56fee7['Hasher'],_0x5146ba=_0x3b63c1['algo'],_0x4b5838=[],_0x2821e2=_0x5146ba[_0x3db581(0x3b8)]=_0x3a21d7[_0x3db581(0x238)]({'_doReset':function(){var _0xbc72fb=_0x3db581;this['_hash']=new _0x532326[(_0xbc72fb(0x3b4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1c53eb,_0x4cd4b2){var _0x1ab374=_0x3db581;for(var _0x290075=this['_hash'][_0x1ab374(0x292)],_0x5492d7=_0x290075[0x0],_0x57ee5c=_0x290075[0x1],_0x333a3f=_0x290075[0x2],_0x37aee7=_0x290075[0x3],_0xcd6100=_0x290075[0x4],_0x5cf01f=0x0;_0x5cf01f<0x50;_0x5cf01f++){if(_0x5cf01f<0x10)_0x4b5838[_0x5cf01f]=_0x1c53eb[_0x4cd4b2+_0x5cf01f]|0x0;else{var _0x67988e=_0x4b5838[_0x5cf01f-0x3]^_0x4b5838[_0x5cf01f-0x8]^_0x4b5838[_0x5cf01f-0xe]^_0x4b5838[_0x5cf01f-0x10];_0x4b5838[_0x5cf01f]=_0x67988e<<0x1|_0x67988e>>>0x1f;}var _0x4915c8=(_0x5492d7<<0x5|_0x5492d7>>>0x1b)+_0xcd6100+_0x4b5838[_0x5cf01f];_0x5cf01f<0x14?_0x4915c8+=(_0x57ee5c&_0x333a3f|~_0x57ee5c&_0x37aee7)+0x5a827999:_0x5cf01f<0x28?_0x4915c8+=(_0x57ee5c^_0x333a3f^_0x37aee7)+0x6ed9eba1:_0x5cf01f<0x3c?_0x4915c8+=(_0x57ee5c&_0x333a3f|_0x57ee5c&_0x37aee7|_0x333a3f&_0x37aee7)-0x70e44324:_0x4915c8+=(_0x57ee5c^_0x333a3f^_0x37aee7)-0x359d3e2a,_0xcd6100=_0x37aee7,_0x37aee7=_0x333a3f,_0x333a3f=_0x57ee5c<<0x1e|_0x57ee5c>>>0x2,_0x57ee5c=_0x5492d7,_0x5492d7=_0x4915c8;}_0x290075[0x0]=_0x290075[0x0]+_0x5492d7|0x0,_0x290075[0x1]=_0x290075[0x1]+_0x57ee5c|0x0,_0x290075[0x2]=_0x290075[0x2]+_0x333a3f|0x0,_0x290075[0x3]=_0x290075[0x3]+_0x37aee7|0x0,_0x290075[0x4]=_0x290075[0x4]+_0xcd6100|0x0;},'_doFinalize':function(){var _0xed967e=_0x3db581,_0x40f087=this[_0xed967e(0x403)],_0x5a30b7=_0x40f087['words'],_0x51880c=this[_0xed967e(0x127)]*0x8,_0x2adc=_0x40f087[_0xed967e(0x3e2)]*0x8;return _0x5a30b7[_0x2adc>>>0x5]|=0x80<<0x18-_0x2adc%0x20,_0x5a30b7[(_0x2adc+0x40>>>0x9<<0x4)+0xe]=Math[_0xed967e(0x117)](_0x51880c/0x100000000),_0x5a30b7[(_0x2adc+0x40>>>0x9<<0x4)+0xf]=_0x51880c,_0x40f087[_0xed967e(0x3e2)]=_0x5a30b7[_0xed967e(0x34f)]*0x4,this[_0xed967e(0x190)](),this[_0xed967e(0x2ee)];},'clone':function(){var _0x412736=_0x3db581,_0x56b978=_0x3a21d7['clone']['call'](this);return _0x56b978[_0x412736(0x2ee)]=this[_0x412736(0x2ee)]['clone'](),_0x56b978;}});_0x3b63c1[_0x3db581(0x3b8)]=_0x3a21d7[_0x3db581(0x390)](_0x2821e2),_0x3b63c1[_0x3db581(0x1d1)]=_0x3a21d7[_0x3db581(0x3db)](_0x2821e2);}()),_0x2825e1[_0x233e8c(0x3b8)];}));}(_0x2f191e)),_0x2f191e[_0x376a29(0x18f)];}var _0x561858={'exports':{}},_0x4b00cf=_0x561858[_0x2f17d6(0x18f)],_0x540b36;function _0x22900b(){var _0x54ca83=_0x2f17d6;return _0x540b36||(_0x540b36=0x1,function(_0x1368de,_0x46e131){(function(_0x5ee359,_0x4d8fd1){var _0x2c3ce7=_0x5099;_0x1368de[_0x2c3ce7(0x18f)]=_0x4d8fd1(_0x3fd0e3());}(_0x4b00cf,function(_0x2d485f){(function(){var _0x5ed9ee=_0x5099,_0x323e39=_0x2d485f,_0x39a82c=_0x323e39[_0x5ed9ee(0x19f)],_0x352a46=_0x39a82c[_0x5ed9ee(0x137)],_0x1dbaf5=_0x323e39['enc'],_0x4c4331=_0x1dbaf5['Utf8'],_0x2d0de3=_0x323e39[_0x5ed9ee(0x223)];_0x2d0de3['HMAC']=_0x352a46[_0x5ed9ee(0x238)]({'init':function(_0x147c89,_0x447ecf){var _0x2b822d=_0x5ed9ee;_0x147c89=this[_0x2b822d(0x2ad)]=new _0x147c89[(_0x2b822d(0x3b4))](),typeof _0x447ecf==_0x2b822d(0x264)&&(_0x447ecf=_0x4c4331[_0x2b822d(0x115)](_0x447ecf));var _0x2196ff=_0x147c89[_0x2b822d(0x1a2)],_0x28e9d3=_0x2196ff*0x4;_0x447ecf['sigBytes']>_0x28e9d3&&(_0x447ecf=_0x147c89[_0x2b822d(0x1f6)](_0x447ecf)),_0x447ecf[_0x2b822d(0x36d)]();for(var _0x1510c8=this[_0x2b822d(0x121)]=_0x447ecf[_0x2b822d(0x106)](),_0x548f06=this['_iKey']=_0x447ecf[_0x2b822d(0x106)](),_0x727d7d=_0x1510c8[_0x2b822d(0x292)],_0x3e5d52=_0x548f06[_0x2b822d(0x292)],_0x2191b9=0x0;_0x2191b9<_0x2196ff;_0x2191b9++)_0x727d7d[_0x2191b9]^=0x5c5c5c5c,_0x3e5d52[_0x2191b9]^=0x36363636;_0x1510c8[_0x2b822d(0x3e2)]=_0x548f06[_0x2b822d(0x3e2)]=_0x28e9d3,this[_0x2b822d(0x440)]();},'reset':function(){var _0x43bf34=_0x5ed9ee,_0x32e416=this[_0x43bf34(0x2ad)];_0x32e416[_0x43bf34(0x440)](),_0x32e416['update'](this['_iKey']);},'update':function(_0x170c21){return this['_hasher']['update'](_0x170c21),this;},'finalize':function(_0x244202){var _0x7b582f=_0x5ed9ee,_0x3ebd49=this[_0x7b582f(0x2ad)],_0x35b510=_0x3ebd49[_0x7b582f(0x1f6)](_0x244202);_0x3ebd49[_0x7b582f(0x440)]();var _0x1a407e=_0x3ebd49[_0x7b582f(0x1f6)](this[_0x7b582f(0x121)][_0x7b582f(0x106)]()[_0x7b582f(0x3d3)](_0x35b510));return _0x1a407e;}});}());}));}(_0x561858)),_0x561858[_0x54ca83(0x18f)];}var _0x2c85c8=_0x5c8e14[_0x2f17d6(0x18f)],_0x207aa8;function _0x165a88(){var _0x2e00cf=_0x2f17d6;return _0x207aa8||(_0x207aa8=0x1,function(_0x5430ac,_0x9cc61e){(function(_0x149eb0,_0x1564c1,_0x2f9915){_0x5430ac['exports']=_0x1564c1(_0x3fd0e3(),_0x2f2c11(),_0x22900b());}(_0x2c85c8,function(_0x290ff0){var _0x23f152=_0x5099;return(function(){var _0x2c756f=_0x5099,_0x338bf8=_0x290ff0,_0x4042fc=_0x338bf8[_0x2c756f(0x19f)],_0x552632=_0x4042fc['Base'],_0x3f1a0c=_0x4042fc[_0x2c756f(0xfe)],_0x3b45d9=_0x338bf8[_0x2c756f(0x223)],_0x4caa25=_0x3b45d9[_0x2c756f(0x1a1)],_0x143b81=_0x3b45d9['EvpKDF']=_0x552632[_0x2c756f(0x238)]({'cfg':_0x552632[_0x2c756f(0x238)]({'keySize':0x80/0x20,'hasher':_0x4caa25,'iterations':0x1}),'init':function(_0x566f7d){var _0x497f40=_0x2c756f;this[_0x497f40(0x449)]=this[_0x497f40(0x449)][_0x497f40(0x238)](_0x566f7d);},'compute':function(_0x20c0cf,_0x568c15){var _0x421c7a=_0x2c756f;for(var _0x3a0512,_0x5c420f=this[_0x421c7a(0x449)],_0x40f500=_0x5c420f[_0x421c7a(0x27b)]['create'](),_0x5dbfa1=_0x3f1a0c[_0x421c7a(0x3e6)](),_0x1fde5d=_0x5dbfa1[_0x421c7a(0x292)],_0x3025d9=_0x5c420f[_0x421c7a(0x3fd)],_0x350cd1=_0x5c420f[_0x421c7a(0x22e)];_0x1fde5d[_0x421c7a(0x34f)]<_0x3025d9;){_0x3a0512&&_0x40f500[_0x421c7a(0x369)](_0x3a0512),_0x3a0512=_0x40f500[_0x421c7a(0x369)](_0x20c0cf)['finalize'](_0x568c15),_0x40f500[_0x421c7a(0x440)]();for(var _0x5e84e5=0x1;_0x5e84e5<_0x350cd1;_0x5e84e5++)_0x3a0512=_0x40f500['finalize'](_0x3a0512),_0x40f500[_0x421c7a(0x440)]();_0x5dbfa1['concat'](_0x3a0512);}return _0x5dbfa1[_0x421c7a(0x3e2)]=_0x3025d9*0x4,_0x5dbfa1;}});_0x338bf8[_0x2c756f(0x453)]=function(_0x29f464,_0x3e6934,_0x12bd1f){var _0x15bded=_0x2c756f;return _0x143b81[_0x15bded(0x3e6)](_0x12bd1f)[_0x15bded(0x109)](_0x29f464,_0x3e6934);};}()),_0x290ff0[_0x23f152(0x453)];}));}(_0x5c8e14)),_0x5c8e14[_0x2e00cf(0x18f)];}var _0x478c13={'exports':{}},_0x8712c6=_0x478c13[_0x2f17d6(0x18f)],_0x2e7d17;function _0x4191c8(){return _0x2e7d17||(_0x2e7d17=0x1,function(_0x339e8e,_0x2bdd45){(function(_0x1e22f6,_0x2fcc82,_0x5ecaf5){var _0x2c269f=_0x5099;_0x339e8e[_0x2c269f(0x18f)]=_0x2fcc82(_0x3fd0e3(),_0x165a88());}(_0x8712c6,function(_0x1e0f65){var _0x5b2eec=_0x5099;_0x1e0f65[_0x5b2eec(0x19f)][_0x5b2eec(0x254)]||function(_0x403b01){var _0x4d7e47=_0x5b2eec,_0x48aba3=_0x1e0f65,_0x3f2cad=_0x48aba3[_0x4d7e47(0x19f)],_0x56fe34=_0x3f2cad[_0x4d7e47(0x137)],_0x477a2b=_0x3f2cad[_0x4d7e47(0xfe)],_0x113171=_0x3f2cad[_0x4d7e47(0x2cb)],_0x3d1e48=_0x48aba3[_0x4d7e47(0x33b)];_0x3d1e48[_0x4d7e47(0x454)];var _0x4a8749=_0x3d1e48[_0x4d7e47(0x184)],_0x1ea2ea=_0x48aba3['algo'],_0x52344b=_0x1ea2ea[_0x4d7e47(0x453)],_0x33b13b=_0x3f2cad['Cipher']=_0x113171[_0x4d7e47(0x238)]({'cfg':_0x56fe34[_0x4d7e47(0x238)](),'createEncryptor':function(_0x4245a0,_0xefea81){var _0x698b81=_0x4d7e47;return this['create'](this[_0x698b81(0x2dd)],_0x4245a0,_0xefea81);},'createDecryptor':function(_0x1b6dd0,_0x2c8d3f){var _0xc65629=_0x4d7e47;return this[_0xc65629(0x3e6)](this[_0xc65629(0x1ea)],_0x1b6dd0,_0x2c8d3f);},'init':function(_0x50e692,_0x34668d,_0x26ef21){var _0x4e9020=_0x4d7e47;this[_0x4e9020(0x449)]=this[_0x4e9020(0x449)][_0x4e9020(0x238)](_0x26ef21),this[_0x4e9020(0x464)]=_0x50e692,this['_key']=_0x34668d,this[_0x4e9020(0x440)]();},'reset':function(){var _0x3961d3=_0x4d7e47;_0x113171[_0x3961d3(0x440)][_0x3961d3(0x1b9)](this),this['_doReset']();},'process':function(_0x2d3d88){var _0xb5cf6c=_0x4d7e47;return this[_0xb5cf6c(0x104)](_0x2d3d88),this[_0xb5cf6c(0x190)]();},'finalize':function(_0x434e71){var _0x5da1db=_0x4d7e47;_0x434e71&&this[_0x5da1db(0x104)](_0x434e71);var _0x55a3e3=this[_0x5da1db(0x432)]();return _0x55a3e3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x22de41(_0x287683){return typeof _0x287683=='string'?_0x3ab702:_0x50cadb;}return function(_0x3bbfa7){return{'encrypt':function(_0x3cfabe,_0x5aba26,_0x49aecc){var _0x3a742c=_0x5099;return _0x22de41(_0x5aba26)[_0x3a742c(0x2ca)](_0x3bbfa7,_0x3cfabe,_0x5aba26,_0x49aecc);},'decrypt':function(_0x5ac23a,_0x240221,_0x557680){var _0x40d396=_0x5099;return _0x22de41(_0x240221)[_0x40d396(0x221)](_0x3bbfa7,_0x5ac23a,_0x240221,_0x557680);}};};}())});_0x3f2cad['StreamCipher']=_0x33b13b[_0x4d7e47(0x238)]({'_doFinalize':function(){var _0x241992=_0x4d7e47,_0xa21c6=this[_0x241992(0x190)](!0x0);return _0xa21c6;},'blockSize':0x1});var _0x28fb42=_0x48aba3[_0x4d7e47(0x3c6)]={},_0x3426f6=_0x3f2cad[_0x4d7e47(0x194)]=_0x56fe34[_0x4d7e47(0x238)]({'createEncryptor':function(_0x4ebb49,_0x3a934c){var _0x294c04=_0x4d7e47;return this[_0x294c04(0x3dd)]['create'](_0x4ebb49,_0x3a934c);},'createDecryptor':function(_0x5cf430,_0x562925){var _0x388985=_0x4d7e47;return this[_0x388985(0xf3)]['create'](_0x5cf430,_0x562925);},'init':function(_0x418f5b,_0x3d63cc){var _0x499517=_0x4d7e47;this['_cipher']=_0x418f5b,this[_0x499517(0x2f6)]=_0x3d63cc;}}),_0x1dd6ac=_0x28fb42[_0x4d7e47(0x332)]=(function(){var _0x51c004=_0x4d7e47,_0x44571a=_0x3426f6[_0x51c004(0x238)]();_0x44571a[_0x51c004(0x3dd)]=_0x44571a[_0x51c004(0x238)]({'processBlock':function(_0x3e5d6f,_0x51ffa3){var _0x1728ca=_0x51c004,_0x5454b9=this[_0x1728ca(0x307)],_0x4450a0=_0x5454b9[_0x1728ca(0x1a2)];_0xb24d42['call'](this,_0x3e5d6f,_0x51ffa3,_0x4450a0),_0x5454b9[_0x1728ca(0x315)](_0x3e5d6f,_0x51ffa3),this[_0x1728ca(0x437)]=_0x3e5d6f['slice'](_0x51ffa3,_0x51ffa3+_0x4450a0);}}),_0x44571a[_0x51c004(0xf3)]=_0x44571a[_0x51c004(0x238)]({'processBlock':function(_0x4badb2,_0x3fed14){var _0x30111d=_0x51c004,_0x12fe7f=this[_0x30111d(0x307)],_0x3941b5=_0x12fe7f[_0x30111d(0x1a2)],_0x375db2=_0x4badb2['slice'](_0x3fed14,_0x3fed14+_0x3941b5);_0x12fe7f[_0x30111d(0x30c)](_0x4badb2,_0x3fed14),_0xb24d42[_0x30111d(0x1b9)](this,_0x4badb2,_0x3fed14,_0x3941b5),this[_0x30111d(0x437)]=_0x375db2;}});function _0xb24d42(_0x1f5de6,_0x5cf83f,_0x3b62d0){var _0x3fd291=_0x51c004,_0x2f67ca,_0x4520a8=this[_0x3fd291(0x2f6)];_0x4520a8?(_0x2f67ca=_0x4520a8,this['_iv']=_0x403b01):_0x2f67ca=this['_prevBlock'];for(var _0x225843=0x0;_0x225843<_0x3b62d0;_0x225843++)_0x1f5de6[_0x5cf83f+_0x225843]^=_0x2f67ca[_0x225843];}return _0x44571a;}()),_0x18eb4d=_0x48aba3[_0x4d7e47(0x2e7)]={},_0x15545a=_0x18eb4d['Pkcs7']={'pad':function(_0x38a2c8,_0x1ff568){var _0x1d00de=_0x4d7e47;for(var _0x357974=_0x1ff568*0x4,_0x285f53=_0x357974-_0x38a2c8[_0x1d00de(0x3e2)]%_0x357974,_0x54e591=_0x285f53<<0x18|_0x285f53<<0x10|_0x285f53<<0x8|_0x285f53,_0x379df5=[],_0x1fb8af=0x0;_0x1fb8af<_0x285f53;_0x1fb8af+=0x4)_0x379df5[_0x1d00de(0x1fa)](_0x54e591);var _0x2be724=_0x477a2b[_0x1d00de(0x3e6)](_0x379df5,_0x285f53);_0x38a2c8[_0x1d00de(0x3d3)](_0x2be724);},'unpad':function(_0xb217cc){var _0x533654=_0x4d7e47,_0x1ac6ac=_0xb217cc[_0x533654(0x292)][_0xb217cc['sigBytes']-0x1>>>0x2]&0xff;_0xb217cc[_0x533654(0x3e2)]-=_0x1ac6ac;}};_0x3f2cad[_0x4d7e47(0x103)]=_0x33b13b[_0x4d7e47(0x238)]({'cfg':_0x33b13b[_0x4d7e47(0x449)][_0x4d7e47(0x238)]({'mode':_0x1dd6ac,'padding':_0x15545a}),'reset':function(){var _0xd0e1af=_0x4d7e47,_0x1f51db;_0x33b13b['reset'][_0xd0e1af(0x1b9)](this);var _0xfb40e8=this[_0xd0e1af(0x449)],_0x2ba329=_0xfb40e8['iv'],_0x1e6ad5=_0xfb40e8[_0xd0e1af(0x3c6)];this[_0xd0e1af(0x464)]==this[_0xd0e1af(0x2dd)]?_0x1f51db=_0x1e6ad5[_0xd0e1af(0x18d)]:(_0x1f51db=_0x1e6ad5[_0xd0e1af(0x231)],this[_0xd0e1af(0x2b6)]=0x1),this['_mode']&&this[_0xd0e1af(0x162)][_0xd0e1af(0x426)]==_0x1f51db?this['_mode'][_0xd0e1af(0x3b4)](this,_0x2ba329&&_0x2ba329[_0xd0e1af(0x292)]):(this[_0xd0e1af(0x162)]=_0x1f51db[_0xd0e1af(0x1b9)](_0x1e6ad5,this,_0x2ba329&&_0x2ba329[_0xd0e1af(0x292)]),this[_0xd0e1af(0x162)][_0xd0e1af(0x426)]=_0x1f51db);},'_doProcessBlock':function(_0x354765,_0x2f4ed9){var _0x25c389=_0x4d7e47;this['_mode'][_0x25c389(0x419)](_0x354765,_0x2f4ed9);},'_doFinalize':function(){var _0xc8d15c=_0x4d7e47,_0x307ef7,_0x1fbb43=this['cfg']['padding'];return this['_xformMode']==this[_0xc8d15c(0x2dd)]?(_0x1fbb43[_0xc8d15c(0x2e7)](this[_0xc8d15c(0x403)],this[_0xc8d15c(0x1a2)]),_0x307ef7=this[_0xc8d15c(0x190)](!0x0)):(_0x307ef7=this['_process'](!0x0),_0x1fbb43[_0xc8d15c(0x1f5)](_0x307ef7)),_0x307ef7;},'blockSize':0x80/0x20});var _0x14400e=_0x3f2cad[_0x4d7e47(0x2e3)]=_0x56fe34['extend']({'init':function(_0x2e3b70){var _0xb9874c=_0x4d7e47;this[_0xb9874c(0x30d)](_0x2e3b70);},'toString':function(_0x3a6b9c){var _0x5182dc=_0x4d7e47;return(_0x3a6b9c||this[_0x5182dc(0x21e)])['stringify'](this);}}),_0x4fddb0=_0x48aba3[_0x4d7e47(0x273)]={},_0x2af770=_0x4fddb0['OpenSSL']={'stringify':function(_0x365d86){var _0xbc72be=_0x4d7e47,_0x13949c,_0x711d5d=_0x365d86['ciphertext'],_0x470bdb=_0x365d86[_0xbc72be(0x3d0)];return _0x470bdb?_0x13949c=_0x477a2b['create']([0x53616c74,0x65645f5f])[_0xbc72be(0x3d3)](_0x470bdb)[_0xbc72be(0x3d3)](_0x711d5d):_0x13949c=_0x711d5d,_0x13949c[_0xbc72be(0x1b2)](_0x4a8749);},'parse':function(_0x23e065){var _0x2763d5=_0x4d7e47,_0xa0d1da,_0x54a2b6=_0x4a8749[_0x2763d5(0x115)](_0x23e065),_0x1aeff1=_0x54a2b6[_0x2763d5(0x292)];return _0x1aeff1[0x0]==0x53616c74&&_0x1aeff1[0x1]==0x65645f5f&&(_0xa0d1da=_0x477a2b[_0x2763d5(0x3e6)](_0x1aeff1[_0x2763d5(0x39b)](0x2,0x4)),_0x1aeff1[_0x2763d5(0x2ce)](0x0,0x4),_0x54a2b6[_0x2763d5(0x3e2)]-=0x10),_0x14400e[_0x2763d5(0x3e6)]({'ciphertext':_0x54a2b6,'salt':_0xa0d1da});}},_0x50cadb=_0x3f2cad[_0x4d7e47(0x124)]=_0x56fe34[_0x4d7e47(0x238)]({'cfg':_0x56fe34[_0x4d7e47(0x238)]({'format':_0x2af770}),'encrypt':function(_0x1040a6,_0x48dba2,_0x50be4b,_0x4784f4){var _0x15a628=_0x4d7e47;_0x4784f4=this['cfg'][_0x15a628(0x238)](_0x4784f4);var _0x207fc2=_0x1040a6['createEncryptor'](_0x50be4b,_0x4784f4),_0x3018b2=_0x207fc2[_0x15a628(0x1f6)](_0x48dba2),_0x2b437d=_0x207fc2['cfg'];return _0x14400e[_0x15a628(0x3e6)]({'ciphertext':_0x3018b2,'key':_0x50be4b,'iv':_0x2b437d['iv'],'algorithm':_0x1040a6,'mode':_0x2b437d[_0x15a628(0x3c6)],'padding':_0x2b437d[_0x15a628(0x3f1)],'blockSize':_0x1040a6[_0x15a628(0x1a2)],'formatter':_0x4784f4[_0x15a628(0x273)]});},'decrypt':function(_0xfc9d9a,_0x5c3999,_0x2bbdeb,_0x2da74f){var _0xe296ca=_0x4d7e47;_0x2da74f=this[_0xe296ca(0x449)]['extend'](_0x2da74f),_0x5c3999=this[_0xe296ca(0x3c3)](_0x5c3999,_0x2da74f[_0xe296ca(0x273)]);var _0x2b118c=_0xfc9d9a[_0xe296ca(0x231)](_0x2bbdeb,_0x2da74f)[_0xe296ca(0x1f6)](_0x5c3999['ciphertext']);return _0x2b118c;},'_parse':function(_0x94b63,_0x4d5619){var _0x1cee33=_0x4d7e47;return typeof _0x94b63==_0x1cee33(0x264)?_0x4d5619[_0x1cee33(0x115)](_0x94b63,this):_0x94b63;}}),_0x3a60dd=_0x48aba3[_0x4d7e47(0x1e0)]={},_0x491d43=_0x3a60dd['OpenSSL']={'execute':function(_0x4850b2,_0x456ead,_0x30ee9c,_0x22f2da,_0x866147){var _0x5d5635=_0x4d7e47;if(_0x22f2da||(_0x22f2da=_0x477a2b[_0x5d5635(0x414)](0x40/0x8)),_0x866147)var _0x24adbf=_0x52344b[_0x5d5635(0x3e6)]({'keySize':_0x456ead+_0x30ee9c,'hasher':_0x866147})['compute'](_0x4850b2,_0x22f2da);else var _0x24adbf=_0x52344b[_0x5d5635(0x3e6)]({'keySize':_0x456ead+_0x30ee9c})[_0x5d5635(0x109)](_0x4850b2,_0x22f2da);var _0x26a7a3=_0x477a2b[_0x5d5635(0x3e6)](_0x24adbf['words']['slice'](_0x456ead),_0x30ee9c*0x4);return _0x24adbf[_0x5d5635(0x3e2)]=_0x456ead*0x4,_0x14400e[_0x5d5635(0x3e6)]({'key':_0x24adbf,'iv':_0x26a7a3,'salt':_0x22f2da});}},_0x3ab702=_0x3f2cad[_0x4d7e47(0x3e5)]=_0x50cadb[_0x4d7e47(0x238)]({'cfg':_0x50cadb[_0x4d7e47(0x449)]['extend']({'kdf':_0x491d43}),'encrypt':function(_0x41c61c,_0x5ab6bf,_0x53bae8,_0xb25a11){var _0x5bf436=_0x4d7e47;_0xb25a11=this['cfg'][_0x5bf436(0x238)](_0xb25a11);var _0xd1a86=_0xb25a11[_0x5bf436(0x1e0)][_0x5bf436(0x278)](_0x53bae8,_0x41c61c['keySize'],_0x41c61c[_0x5bf436(0x30f)],_0xb25a11[_0x5bf436(0x3d0)],_0xb25a11[_0x5bf436(0x27b)]);_0xb25a11['iv']=_0xd1a86['iv'];var _0x59cad0=_0x50cadb[_0x5bf436(0x2ca)][_0x5bf436(0x1b9)](this,_0x41c61c,_0x5ab6bf,_0xd1a86[_0x5bf436(0x24c)],_0xb25a11);return _0x59cad0[_0x5bf436(0x30d)](_0xd1a86),_0x59cad0;},'decrypt':function(_0x3451a6,_0x285ce2,_0x5ed9ed,_0x186ca8){var _0x344903=_0x4d7e47;_0x186ca8=this[_0x344903(0x449)][_0x344903(0x238)](_0x186ca8),_0x285ce2=this[_0x344903(0x3c3)](_0x285ce2,_0x186ca8[_0x344903(0x273)]);var _0x289000=_0x186ca8[_0x344903(0x1e0)][_0x344903(0x278)](_0x5ed9ed,_0x3451a6['keySize'],_0x3451a6[_0x344903(0x30f)],_0x285ce2[_0x344903(0x3d0)],_0x186ca8[_0x344903(0x27b)]);_0x186ca8['iv']=_0x289000['iv'];var _0x294bf7=_0x50cadb['decrypt'][_0x344903(0x1b9)](this,_0x3451a6,_0x285ce2,_0x289000[_0x344903(0x24c)],_0x186ca8);return _0x294bf7;}});}();}));}(_0x478c13)),_0x478c13['exports'];}var _0x27d995=_0x12cc1c[_0x2f17d6(0x18f)],_0x698d4;function _0xaa793e(){var _0x1a353d=_0x2f17d6;return _0x698d4||(_0x698d4=0x1,function(_0x23081d,_0x46c77c){(function(_0x5164a5,_0x494ba4,_0x337e69){var _0x3bff42=_0x5099;_0x23081d[_0x3bff42(0x18f)]=_0x494ba4(_0x3fd0e3(),_0x3bb427(),_0x2e684d(),_0x165a88(),_0x4191c8());}(_0x27d995,function(_0x5a7e7a){var _0x370adb=_0x5099;return(function(){var _0x4f3f83=_0x5099,_0x3d085c=_0x5a7e7a,_0x126c86=_0x3d085c[_0x4f3f83(0x19f)],_0x8d50a5=_0x126c86[_0x4f3f83(0x103)],_0x3264c1=_0x3d085c[_0x4f3f83(0x223)],_0x330601=[],_0x49800e=[],_0x7f95a3=[],_0x33696a=[],_0x2f559a=[],_0x4f35fc=[],_0x13e8a4=[],_0x52ceeb=[],_0x53f309=[],_0x3baef6=[];(function(){for(var _0x3838f5=[],_0x4d103b=0x0;_0x4d103b<0x100;_0x4d103b++)_0x4d103b<0x80?_0x3838f5[_0x4d103b]=_0x4d103b<<0x1:_0x3838f5[_0x4d103b]=_0x4d103b<<0x1^0x11b;for(var _0x392934=0x0,_0x30dc2d=0x0,_0x4d103b=0x0;_0x4d103b<0x100;_0x4d103b++){var _0x255369=_0x30dc2d^_0x30dc2d<<0x1^_0x30dc2d<<0x2^_0x30dc2d<<0x3^_0x30dc2d<<0x4;_0x255369=_0x255369>>>0x8^_0x255369&0xff^0x63,_0x330601[_0x392934]=_0x255369,_0x49800e[_0x255369]=_0x392934;var _0x48eeab=_0x3838f5[_0x392934],_0x19da09=_0x3838f5[_0x48eeab],_0x3a20c0=_0x3838f5[_0x19da09],_0x53fefa=_0x3838f5[_0x255369]*0x101^_0x255369*0x1010100;_0x7f95a3[_0x392934]=_0x53fefa<<0x18|_0x53fefa>>>0x8,_0x33696a[_0x392934]=_0x53fefa<<0x10|_0x53fefa>>>0x10,_0x2f559a[_0x392934]=_0x53fefa<<0x8|_0x53fefa>>>0x18,_0x4f35fc[_0x392934]=_0x53fefa;var _0x53fefa=_0x3a20c0*0x1010101^_0x19da09*0x10001^_0x48eeab*0x101^_0x392934*0x1010100;_0x13e8a4[_0x255369]=_0x53fefa<<0x18|_0x53fefa>>>0x8,_0x52ceeb[_0x255369]=_0x53fefa<<0x10|_0x53fefa>>>0x10,_0x53f309[_0x255369]=_0x53fefa<<0x8|_0x53fefa>>>0x18,_0x3baef6[_0x255369]=_0x53fefa,_0x392934?(_0x392934=_0x48eeab^_0x3838f5[_0x3838f5[_0x3838f5[_0x3a20c0^_0x48eeab]]],_0x30dc2d^=_0x3838f5[_0x3838f5[_0x30dc2d]]):_0x392934=_0x30dc2d=0x1;}}());var _0x2d8bfd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x23f442=_0x3264c1[_0x4f3f83(0x165)]=_0x8d50a5[_0x4f3f83(0x238)]({'_doReset':function(){var _0x28b95b=_0x4f3f83,_0x2d1910;if(!(this['_nRounds']&&this[_0x28b95b(0x1c8)]===this['_key'])){for(var _0x3a954d=this['_keyPriorReset']=this['_key'],_0x2d7032=_0x3a954d['words'],_0x40dd6d=_0x3a954d[_0x28b95b(0x3e2)]/0x4,_0x52fb0c=this[_0x28b95b(0x167)]=_0x40dd6d+0x6,_0x903551=(_0x52fb0c+0x1)*0x4,_0x49a0c7=this[_0x28b95b(0x1e8)]=[],_0x63cde8=0x0;_0x63cde8<_0x903551;_0x63cde8++)_0x63cde8<_0x40dd6d?_0x49a0c7[_0x63cde8]=_0x2d7032[_0x63cde8]:(_0x2d1910=_0x49a0c7[_0x63cde8-0x1],_0x63cde8%_0x40dd6d?_0x40dd6d>0x6&&_0x63cde8%_0x40dd6d==0x4&&(_0x2d1910=_0x330601[_0x2d1910>>>0x18]<<0x18|_0x330601[_0x2d1910>>>0x10&0xff]<<0x10|_0x330601[_0x2d1910>>>0x8&0xff]<<0x8|_0x330601[_0x2d1910&0xff]):(_0x2d1910=_0x2d1910<<0x8|_0x2d1910>>>0x18,_0x2d1910=_0x330601[_0x2d1910>>>0x18]<<0x18|_0x330601[_0x2d1910>>>0x10&0xff]<<0x10|_0x330601[_0x2d1910>>>0x8&0xff]<<0x8|_0x330601[_0x2d1910&0xff],_0x2d1910^=_0x2d8bfd[_0x63cde8/_0x40dd6d|0x0]<<0x18),_0x49a0c7[_0x63cde8]=_0x49a0c7[_0x63cde8-_0x40dd6d]^_0x2d1910);for(var _0xd7eed7=this[_0x28b95b(0x219)]=[],_0x210115=0x0;_0x210115<_0x903551;_0x210115++){var _0x63cde8=_0x903551-_0x210115;if(_0x210115%0x4)var _0x2d1910=_0x49a0c7[_0x63cde8];else var _0x2d1910=_0x49a0c7[_0x63cde8-0x4];_0x210115<0x4||_0x63cde8<=0x4?_0xd7eed7[_0x210115]=_0x2d1910:_0xd7eed7[_0x210115]=_0x13e8a4[_0x330601[_0x2d1910>>>0x18]]^_0x52ceeb[_0x330601[_0x2d1910>>>0x10&0xff]]^_0x53f309[_0x330601[_0x2d1910>>>0x8&0xff]]^_0x3baef6[_0x330601[_0x2d1910&0xff]];}}},'encryptBlock':function(_0x57dccc,_0x1b25ce){var _0x41a1d4=_0x4f3f83;this['_doCryptBlock'](_0x57dccc,_0x1b25ce,this[_0x41a1d4(0x1e8)],_0x7f95a3,_0x33696a,_0x2f559a,_0x4f35fc,_0x330601);},'decryptBlock':function(_0x22f978,_0x4b8bce){var _0x2038f3=_0x4f3f83,_0x5bb798=_0x22f978[_0x4b8bce+0x1];_0x22f978[_0x4b8bce+0x1]=_0x22f978[_0x4b8bce+0x3],_0x22f978[_0x4b8bce+0x3]=_0x5bb798,this[_0x2038f3(0x1f4)](_0x22f978,_0x4b8bce,this[_0x2038f3(0x219)],_0x13e8a4,_0x52ceeb,_0x53f309,_0x3baef6,_0x49800e);var _0x5bb798=_0x22f978[_0x4b8bce+0x1];_0x22f978[_0x4b8bce+0x1]=_0x22f978[_0x4b8bce+0x3],_0x22f978[_0x4b8bce+0x3]=_0x5bb798;},'_doCryptBlock':function(_0x4da5df,_0x3dce33,_0x1533a9,_0x1cef44,_0x5afa4b,_0x983307,_0xb2d927,_0x1470e8){var _0x165332=_0x4f3f83;for(var _0x514e92=this[_0x165332(0x167)],_0x3146cf=_0x4da5df[_0x3dce33]^_0x1533a9[0x0],_0xb3e865=_0x4da5df[_0x3dce33+0x1]^_0x1533a9[0x1],_0x2c1576=_0x4da5df[_0x3dce33+0x2]^_0x1533a9[0x2],_0x22fcab=_0x4da5df[_0x3dce33+0x3]^_0x1533a9[0x3],_0x46356b=0x4,_0x3692dc=0x1;_0x3692dc<_0x514e92;_0x3692dc++){var _0x4aa0df=_0x1cef44[_0x3146cf>>>0x18]^_0x5afa4b[_0xb3e865>>>0x10&0xff]^_0x983307[_0x2c1576>>>0x8&0xff]^_0xb2d927[_0x22fcab&0xff]^_0x1533a9[_0x46356b++],_0xbdd6e5=_0x1cef44[_0xb3e865>>>0x18]^_0x5afa4b[_0x2c1576>>>0x10&0xff]^_0x983307[_0x22fcab>>>0x8&0xff]^_0xb2d927[_0x3146cf&0xff]^_0x1533a9[_0x46356b++],_0x448027=_0x1cef44[_0x2c1576>>>0x18]^_0x5afa4b[_0x22fcab>>>0x10&0xff]^_0x983307[_0x3146cf>>>0x8&0xff]^_0xb2d927[_0xb3e865&0xff]^_0x1533a9[_0x46356b++],_0x3bebdd=_0x1cef44[_0x22fcab>>>0x18]^_0x5afa4b[_0x3146cf>>>0x10&0xff]^_0x983307[_0xb3e865>>>0x8&0xff]^_0xb2d927[_0x2c1576&0xff]^_0x1533a9[_0x46356b++];_0x3146cf=_0x4aa0df,_0xb3e865=_0xbdd6e5,_0x2c1576=_0x448027,_0x22fcab=_0x3bebdd;}var _0x4aa0df=(_0x1470e8[_0x3146cf>>>0x18]<<0x18|_0x1470e8[_0xb3e865>>>0x10&0xff]<<0x10|_0x1470e8[_0x2c1576>>>0x8&0xff]<<0x8|_0x1470e8[_0x22fcab&0xff])^_0x1533a9[_0x46356b++],_0xbdd6e5=(_0x1470e8[_0xb3e865>>>0x18]<<0x18|_0x1470e8[_0x2c1576>>>0x10&0xff]<<0x10|_0x1470e8[_0x22fcab>>>0x8&0xff]<<0x8|_0x1470e8[_0x3146cf&0xff])^_0x1533a9[_0x46356b++],_0x448027=(_0x1470e8[_0x2c1576>>>0x18]<<0x18|_0x1470e8[_0x22fcab>>>0x10&0xff]<<0x10|_0x1470e8[_0x3146cf>>>0x8&0xff]<<0x8|_0x1470e8[_0xb3e865&0xff])^_0x1533a9[_0x46356b++],_0x3bebdd=(_0x1470e8[_0x22fcab>>>0x18]<<0x18|_0x1470e8[_0x3146cf>>>0x10&0xff]<<0x10|_0x1470e8[_0xb3e865>>>0x8&0xff]<<0x8|_0x1470e8[_0x2c1576&0xff])^_0x1533a9[_0x46356b++];_0x4da5df[_0x3dce33]=_0x4aa0df,_0x4da5df[_0x3dce33+0x1]=_0xbdd6e5,_0x4da5df[_0x3dce33+0x2]=_0x448027,_0x4da5df[_0x3dce33+0x3]=_0x3bebdd;},'keySize':0x100/0x20});_0x3d085c['AES']=_0x8d50a5['_createHelper'](_0x23f442);}()),_0x5a7e7a[_0x370adb(0x165)];}));}(_0x12cc1c)),_0x12cc1c[_0x1a353d(0x18f)];}var _0x5e7d95=_0xaa793e();const _0x53174c=_0x2b72a5(_0x5e7d95);var _0x532e66=_0x3bb427();const _0x5ca7d2=_0x2b72a5(_0x532e66);var _0x3b3841={'exports':{}},_0x9d6c89=_0x3b3841[_0x2f17d6(0x18f)],_0xb766d7;function _0x46b3bf(){return _0xb766d7||(_0xb766d7=0x1,function(_0x5dc4ef,_0x56c702){(function(_0x276e22,_0x42d0d7){var _0x13f182=_0x5099;_0x5dc4ef[_0x13f182(0x18f)]=_0x42d0d7(_0x3fd0e3());}(_0x9d6c89,function(_0x25b666){var _0x17a49e=_0x5099;return _0x25b666[_0x17a49e(0x33b)][_0x17a49e(0x454)];}));}(_0x3b3841)),_0x3b3841['exports'];}var _0x3b5fd7=_0x46b3bf();const _0x25a323=_0x2b72a5(_0x3b5fd7);var _0x1aa12d={'exports':{}},_0x5f25aa=_0x1aa12d[_0x2f17d6(0x18f)],_0x16a637;function _0x492686(){var _0x18c428=_0x2f17d6;return _0x16a637||(_0x16a637=0x1,function(_0x27768b,_0x4d2946){(function(_0x42f020,_0x6bb44f){var _0x2a450f=_0x5099;_0x27768b[_0x2a450f(0x18f)]=_0x6bb44f(_0x3fd0e3());}(_0x5f25aa,function(_0x331f63){var _0x5bebf9=_0x5099;return(function(){var _0xb61c6e=_0x5099;if(typeof ArrayBuffer==_0xb61c6e(0x330)){var _0x22abce=_0x331f63,_0x4cba0a=_0x22abce[_0xb61c6e(0x19f)],_0x14b4a9=_0x4cba0a[_0xb61c6e(0xfe)],_0x21bada=_0x14b4a9[_0xb61c6e(0x3b4)],_0x319f96=_0x14b4a9[_0xb61c6e(0x3b4)]=function(_0xa1b9e6){var _0x510f8e=_0xb61c6e;if(_0xa1b9e6 instanceof ArrayBuffer&&(_0xa1b9e6=new Uint8Array(_0xa1b9e6)),(_0xa1b9e6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xa1b9e6 instanceof Uint8ClampedArray||_0xa1b9e6 instanceof Int16Array||_0xa1b9e6 instanceof Uint16Array||_0xa1b9e6 instanceof Int32Array||_0xa1b9e6 instanceof Uint32Array||_0xa1b9e6 instanceof Float32Array||_0xa1b9e6 instanceof Float64Array)&&(_0xa1b9e6=new Uint8Array(_0xa1b9e6[_0x510f8e(0x430)],_0xa1b9e6[_0x510f8e(0x2a5)],_0xa1b9e6[_0x510f8e(0x291)])),_0xa1b9e6 instanceof Uint8Array){for(var _0x292e69=_0xa1b9e6[_0x510f8e(0x291)],_0x438768=[],_0x1bbe33=0x0;_0x1bbe33<_0x292e69;_0x1bbe33++)_0x438768[_0x1bbe33>>>0x2]|=_0xa1b9e6[_0x1bbe33]<<0x18-_0x1bbe33%0x4*0x8;_0x21bada['call'](this,_0x438768,_0x292e69);}else _0x21bada[_0x510f8e(0x157)](this,arguments);};_0x319f96['prototype']=_0x14b4a9;}}()),_0x331f63['lib'][_0x5bebf9(0xfe)];}));}(_0x1aa12d)),_0x1aa12d[_0x18c428(0x18f)];}var _0x12fb92=_0x492686();const _0x1e0606=_0x2b72a5(_0x12fb92);var _0x264c5a={'exports':{}},_0x37e3a2=_0x264c5a[_0x2f17d6(0x18f)],_0x5dc01b;function _0x5784d9(){var _0x3842f9=_0x2f17d6;return _0x5dc01b||(_0x5dc01b=0x1,function(_0x5f2c08,_0x154464){(function(_0x31bbca,_0x5c4221,_0x3c2eca){var _0x1e8d2c=_0x5099;_0x5f2c08[_0x1e8d2c(0x18f)]=_0x5c4221(_0x3fd0e3(),_0x4191c8());}(_0x37e3a2,function(_0x2b9cd2){var _0x25a981=_0x5099;return _0x2b9cd2[_0x25a981(0x2e7)][_0x25a981(0x360)]={'pad':function(){},'unpad':function(){}},_0x2b9cd2[_0x25a981(0x2e7)][_0x25a981(0x360)];}));}(_0x264c5a)),_0x264c5a[_0x3842f9(0x18f)];}var _0x3d0905=_0x5784d9();const _0x5baa3d=_0x2b72a5(_0x3d0905);function _0x3b903e(_0x1d240f,_0x2af82e){var _0x1f3be0=_0x2f17d6;const _0x4c88dc=_0x2af82e-_0x1d240f['length']%_0x2af82e,_0x318d4a=String[_0x1f3be0(0x16b)](_0x4c88dc)[_0x1f3be0(0x235)](_0x4c88dc);return _0x1d240f+_0x318d4a;}function _0x97f437(_0x213803,_0x1ae128){var _0x1a2f51=_0x2f17d6;const _0x1d9a13=_0x1e0606[_0x1a2f51(0x414)](0x10),_0x1ebbae=_0x3b903e(_0x213803,0x10),_0x2ccdc6=_0x53174c['encrypt'](_0x25a323[_0x1a2f51(0x115)](_0x1ebbae),_0x5ca7d2[_0x1a2f51(0x115)](_0x1ae128),{'iv':_0x1d9a13,'padding':_0x5baa3d});return _0x1d9a13[_0x1a2f51(0x3d3)](_0x2ccdc6[_0x1a2f51(0x319)])[_0x1a2f51(0x1b2)](_0x5ca7d2);}function _0x335374(){var _0x5321cf=_0x2f17d6;const _0x314100=_0x2672f2[_0x5321cf(0x195)]()['__Key__'];if(_0x314100){const _0x212fcd={'time':Math['floor'](Date[_0x5321cf(0x29f)]()/0x3e8),'domain':location[_0x5321cf(0x452)]};return _0x97f437(JSON['stringify'](_0x212fcd),_0x314100);}}var _0x42064f=Object[_0x2f17d6(0x397)],_0xc86ab8=(_0x48b1ab,_0x588027,_0x117b58,_0x40d4e3)=>{var _0x4a3612=_0x2f17d6;for(var _0x27bda1=_0x40d4e3>0x1?void 0x0:_0x40d4e3?_0x42064f(_0x588027,_0x117b58):_0x588027,_0x122686=_0x48b1ab[_0x4a3612(0x34f)]-0x1,_0xcb3517;_0x122686>=0x0;_0x122686--)(_0xcb3517=_0x48b1ab[_0x122686])&&(_0x27bda1=_0xcb3517(_0x27bda1)||_0x27bda1);return _0x27bda1;},_0x4b273b=(_0x28e6a8,_0x114ad3)=>(_0x5c2ada,_0x2b17cf)=>_0x114ad3(_0x5c2ada,_0x2b17cf,_0x28e6a8);let _0x4d4be4=class{constructor(_0x5a2e25){var _0x195b03=_0x2f17d6;this[_0x195b03(0x156)]=_0x5a2e25,this[_0x195b03(0x152)]();}[_0x2f17d6(0x152)](){var _0x11d12d=_0x2f17d6;this['_httpService'][_0x11d12d(0x3f2)]({'interceptor':(_0x3513a4,_0x56de57)=>{var _0x49b56b=_0x11d12d;const _0x5da827=_0x3513a4[_0x49b56b(0x126)],_0x5f49d0=_0x335374();return _0x5f49d0&&_0x5da827[_0x49b56b(0x202)](_0x49b56b(0x456),_0x5f49d0),_0x56de57(_0x3513a4);}});}};_0x4d4be4=_0xc86ab8([_0x4b273b(0x0,_0x516919[_0x2f17d6(0x381)](_0x4d99d9[_0x2f17d6(0x23f)]))],_0x4d4be4);var _0x2d6c4a=Object[_0x2f17d6(0x397)],_0x2fc7a1=(_0x215ffd,_0x141e78,_0x3eece4,_0x2b275e)=>{for(var _0x3383b8=_0x2b275e>0x1?void 0x0:_0x2b275e?_0x2d6c4a(_0x141e78,_0x3eece4):_0x141e78,_0x416ab8=_0x215ffd['length']-0x1,_0x2ee508;_0x416ab8>=0x0;_0x416ab8--)(_0x2ee508=_0x215ffd[_0x416ab8])&&(_0x3383b8=_0x2ee508(_0x3383b8)||_0x3383b8);return _0x3383b8;},_0x1d373e=(_0x4a2296,_0x52bef3)=>(_0x28405f,_0x2012ad)=>_0x52bef3(_0x28405f,_0x2012ad,_0x4a2296);_0x4ed799[_0x2f17d6(0x2ef)]=class extends _0x516919[_0x2f17d6(0x37a)]{constructor(_0x92163b,_0x300ce1,_0x3b8b6a){var _0x2fbd47=_0x2f17d6;super(),_0x444b4d(this,'_unitInfo$',new _0x1e7ac6[(_0x2fbd47(0x1d8))](null)),_0x444b4d(this,_0x2fbd47(0x326),this[_0x2fbd47(0x293)][_0x2fbd47(0x462)]()),(this[_0x2fbd47(0x20e)]=_0x92163b,this[_0x2fbd47(0x2ba)]=_0x300ce1,this['_localCacheService']=_0x3b8b6a);}async[_0x2f17d6(0x3ce)](_0x2ac428,_0x41bef4,_0x4083a4){var _0x399c11=_0x2f17d6;this['_unitInfo$'][_0x399c11(0x2bd)]({'unitId':_0x2ac428,'type':_0x41bef4,'subUnitId':_0x4083a4});let _0x1f38b5=null;switch(_0x41bef4){case _0x1ede20[_0x399c11(0x15a)]:{_0x1f38b5=await this[_0x399c11(0x378)](_0x2ac428);break;}case _0x1ede20['UNIVER_DOC']:{_0x1f38b5=await this['_loadDoc'](_0x2ac428);break;}default:{this[_0x399c11(0x20e)][_0x399c11(0x281)](_0x399c11(0x44d),_0x399c11(0x308));break;}}return _0x1f38b5;}async[_0x2f17d6(0x378)](_0x4f8f8c){var _0xab3c8=_0x2f17d6,_0x29c28c;let _0x1b3a72=0x0;const _0x14a7a2=await((_0x29c28c=this[_0xab3c8(0x13c)])==null?void 0x0:_0x29c28c['loadOfflineData'](_0x4f8f8c));return _0x14a7a2&&(_0x14a7a2[_0xab3c8(0x333)]||_0x14a7a2[_0xab3c8(0x1cf)][_0xab3c8(0x34f)]!==0x0)&&(_0x1b3a72=_0x14a7a2['rev']),_0x1b3a72===0x0&&this[_0xab3c8(0x20e)]['debug'](_0xab3c8(0x44d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xab3c8(0x2ba)][_0xab3c8(0x27d)](_0x4f8f8c,_0x1b3a72);}async[_0x2f17d6(0x409)](_0x5b7384){var _0x5c976b=_0x2f17d6,_0x59dd73;let _0x3f6b72=0x0;const _0x3e1614=await((_0x59dd73=this['_localCacheService'])==null?void 0x0:_0x59dd73[_0x5c976b(0x163)](_0x5b7384));return _0x3e1614&&(_0x3e1614[_0x5c976b(0x333)]||_0x3e1614[_0x5c976b(0x1cf)][_0x5c976b(0x34f)]!==0x0)&&(_0x3f6b72=_0x3e1614[_0x5c976b(0x353)]),_0x3f6b72===0x0&&this[_0x5c976b(0x20e)]['debug'](_0x5c976b(0x44d),_0x5c976b(0x379)),this[_0x5c976b(0x2ba)][_0x5c976b(0x1df)](_0x5b7384,_0x3f6b72);}},_0x4ed799[_0x2f17d6(0x2ef)]=_0x2fc7a1([_0x1d373e(0x0,_0x516919['ILogService']),_0x1d373e(0x1,_0x516919['Inject'](_0x514b45['SnapshotService'])),_0x1d373e(0x2,_0x516919[_0x2f17d6(0x15b)](_0x43f574))],_0x4ed799[_0x2f17d6(0x2ef)]);var _0x303571=Object[_0x2f17d6(0x397)],_0x184a28=(_0xce6c1a,_0x10ebc1,_0x13b8a7,_0x34b8d8)=>{for(var _0x5394d2=_0x34b8d8>0x1?void 0x0:_0x34b8d8?_0x303571(_0x10ebc1,_0x13b8a7):_0x10ebc1,_0x2f007a=_0xce6c1a['length']-0x1,_0x3d0499;_0x2f007a>=0x0;_0x2f007a--)(_0x3d0499=_0xce6c1a[_0x2f007a])&&(_0x5394d2=_0x3d0499(_0x5394d2)||_0x5394d2);return _0x5394d2;},_0x524c40=(_0x4b887b,_0x43fce9)=>(_0x7401dc,_0x109e15)=>_0x43fce9(_0x7401dc,_0x109e15,_0x4b887b);const _0x7d3dd4=[_0x2f17d6(0x347),_0x2f17d6(0x216),_0x2f17d6(0x2ec),'image/gif',_0x2f17d6(0x101)],_0x4a4bf9=0x5*0x400*0x400,_0x2b53a7='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x504808=_0x2f17d6(0x355),_0x34c4b2=_0x2f17d6(0x33c),_0x3ca9c6=_0x2f17d6(0x1c4);_0x4ed799[_0x2f17d6(0x1f9)]=class{constructor(_0x4095ab,_0x39a246,_0x5e702b){var _0x2ef4ce=_0x2f17d6;_0x444b4d(this,'_waitCount',0x0),_0x444b4d(this,'_change$',new _0x1e7ac6[(_0x2ef4ce(0x313))]()),_0x444b4d(this,_0x2ef4ce(0x32e),this[_0x2ef4ce(0x205)]),_0x444b4d(this,'_imageSourceCache',new Map()),(this[_0x2ef4ce(0x156)]=_0x4095ab,this[_0x2ef4ce(0x1a5)]=_0x39a246,this[_0x2ef4ce(0x389)]=_0x5e702b);}[_0x2f17d6(0x306)](_0x5d4d01){this['_waitCount']=_0x5d4d01,this['_change$']['next'](_0x5d4d01);}[_0x2f17d6(0x17d)](_0x53ba95,_0x50b722){var _0x3bf89a=_0x2f17d6;if(_0x50b722===_0x8e1139[_0x3bf89a(0x1f3)][_0x3bf89a(0x10c)]){const _0x471515=new Image();return _0x471515[_0x3bf89a(0x375)]=_0x53ba95,_0x471515;}return this[_0x3bf89a(0x1e5)][_0x3bf89a(0x141)](_0x53ba95);}[_0x2f17d6(0x39c)](_0x42e931,_0xf9055,_0x457496){var _0x57b9a6=_0x2f17d6;_0xf9055===_0x8e1139['ImageSourceType'][_0x57b9a6(0x10c)]||_0x457496==null||this[_0x57b9a6(0x1e5)][_0x57b9a6(0x202)](_0x42e931,_0x457496);}async['getImage'](_0x4654a3){var _0x1ffa77=_0x2f17d6;try{const _0x8d7669=this[_0x1ffa77(0x116)](this[_0x1ffa77(0x28c)](),''+_0x4654a3),_0x51323d=(await this[_0x1ffa77(0x156)][_0x1ffa77(0x141)](_0x8d7669))[_0x1ffa77(0x255)];if(_0x51323d[_0x1ffa77(0x281)]&&_0x51323d[_0x1ffa77(0x281)]['code']===_0xb91e97['OK']){const _0xb6dabc=new URL(_0x51323d[_0x1ffa77(0x455)],this[_0x1ffa77(0x400)]())[_0x1ffa77(0x1b2)]();return Promise[_0x1ffa77(0x3e9)](_0xb6dabc);}return Promise[_0x1ffa77(0x2e8)](_0x51323d[_0x1ffa77(0x281)]);}catch(_0x59022e){return Promise[_0x1ffa77(0x2e8)](_0x59022e);}}async[_0x2f17d6(0x2f0)](_0xdf5a4c){var _0x59bdd6=_0x2f17d6;let _0x16d2ab='';if(!_0x7d3dd4[_0x59bdd6(0x401)](_0xdf5a4c['type']))return this[_0x59bdd6(0x128)](),Promise[_0x59bdd6(0x2e8)](new Error(_0x8e1139[_0x59bdd6(0xe6)][_0x59bdd6(0x29b)]));if(_0xdf5a4c[_0x59bdd6(0x20b)]>_0x4a4bf9)return this[_0x59bdd6(0x128)](),Promise['reject'](new Error(_0x8e1139[_0x59bdd6(0xe6)][_0x59bdd6(0x3fc)]));try{const _0x425433=new FormData();_0x425433[_0x59bdd6(0x394)](_0x59bdd6(0x234),_0xdf5a4c);const _0x4b551f=this[_0x59bdd6(0x389)][_0x59bdd6(0x2c6)](),_0x5170c8=_0x4b551f==null?void 0x0:_0x4b551f[_0x59bdd6(0x1c2)]();if(!_0x5170c8)throw new Error('unitId\x20is\x20not\x20found');const _0x57168a=this[_0x59bdd6(0x10b)]()+_0x59bdd6(0x2de)+_0xdf5a4c[_0x59bdd6(0x20b)]['toString']()+'&source='+_0x40e652[_0x59bdd6(0x1ce)]+'&assign='+encodeURIComponent(_0x5170c8),_0x2e0575=await(await fetch(_0x57168a,{'method':_0x59bdd6(0x42c),'body':_0x425433}))['json']();if(typeof _0x2e0575[_0x59bdd6(0x44a)]!=_0x59bdd6(0x264))return this[_0x59bdd6(0x128)](),Promise[_0x59bdd6(0x2e8)](new Error(_0x8e1139[_0x59bdd6(0xe6)][_0x59bdd6(0x25a)]));_0x16d2ab=_0x2e0575[_0x59bdd6(0x44a)];}catch{return this['_decreaseWaiting'](),Promise[_0x59bdd6(0x2e8)](new Error(_0x8e1139['ImageUploadStatusType'][_0x59bdd6(0x25a)]));}return new Promise((_0x5f2553,_0x35972e)=>{const _0x2d17=new FileReader();_0x2d17['readAsDataURL'](_0xdf5a4c),_0x2d17['onload']=_0x167afb=>{var _0x175f9b=_0x5099,_0x379019;const _0x28de8b=(_0x379019=_0x167afb['target'])==null?void 0x0:_0x379019['result'];if(_0x28de8b==null){this[_0x175f9b(0x128)](),_0x35972e(new Error(_0x8e1139[_0x175f9b(0xe6)]['ERROR_IMAGE']));return;}const _0x14eded=_0x516919[_0x175f9b(0x285)][_0x175f9b(0x459)](0x6);_0x5f2553({'imageId':_0x14eded,'imageSourceType':_0x8e1139[_0x175f9b(0x1f3)][_0x175f9b(0xf1)],'source':_0x16d2ab,'base64Cache':_0x28de8b,'status':_0x8e1139['ImageUploadStatusType'][_0x175f9b(0x31e)]}),this['_decreaseWaiting']();};});}[_0x2f17d6(0x10b)](){var _0x13a041=_0x2f17d6,_0x286d02,_0x4257de;const _0x2c3b72=this[_0x13a041(0x1a5)][_0x13a041(0x16c)](_0x2b53a7),_0x2d0e09=this['_configService'][_0x13a041(0x16c)](_0x2256bf);return(_0x4257de=(_0x286d02=_0x2d0e09==null?void 0x0:_0x2d0e09[_0x13a041(0x31c)])!=null?_0x286d02:_0x2c3b72)!=null?_0x4257de:_0x504808;}['_getSignURL'](){var _0x287139=_0x2f17d6,_0xacb44a,_0xba21b3;const _0x216d3e=this[_0x287139(0x1a5)][_0x287139(0x16c)](_0x34c4b2),_0x53efc0=this[_0x287139(0x1a5)][_0x287139(0x16c)](_0x2256bf);return(_0xba21b3=(_0xacb44a=_0x53efc0==null?void 0x0:_0x53efc0[_0x287139(0x442)])!=null?_0xacb44a:_0x216d3e)!=null?_0xba21b3:_0x3ca9c6;}['_getDownloadEndpointURL'](){var _0x379271=_0x2f17d6,_0x1c66cc;const _0x24b211=this['_configService'][_0x379271(0x16c)](_0x2256bf);return(_0x1c66cc=_0x24b211==null?void 0x0:_0x24b211[_0x379271(0x23e)])!=null?_0x1c66cc:location[_0x379271(0x38f)];}[_0x2f17d6(0x116)](_0x3c495d,_0x5e871f){var _0x5bb427=_0x2f17d6;return _0x3c495d['replace'](_0x5bb427(0x22c),_0x5e871f);}['_decreaseWaiting'](){var _0x1959e5=_0x2f17d6;this['_waitCount']-=0x1,this[_0x1959e5(0x205)][_0x1959e5(0x2bd)](this[_0x1959e5(0x1b0)]);}},_0x4ed799[_0x2f17d6(0x1f9)]=_0x184a28([_0x524c40(0x0,_0x516919[_0x2f17d6(0x381)](_0x4d99d9[_0x2f17d6(0x23f)])),_0x524c40(0x1,_0x516919[_0x2f17d6(0x398)]),_0x524c40(0x2,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x2c0)]))],_0x4ed799['CollaborationImageIoService']);var _0x4a6242=Object[_0x2f17d6(0x397)],_0x4482eb=(_0x6f6733,_0x546117,_0x45264c,_0x378601)=>{var _0x32fc4c=_0x2f17d6;for(var _0x2eec7b=_0x378601>0x1?void 0x0:_0x378601?_0x4a6242(_0x546117,_0x45264c):_0x546117,_0x44c924=_0x6f6733[_0x32fc4c(0x34f)]-0x1,_0x49b3e9;_0x44c924>=0x0;_0x44c924--)(_0x49b3e9=_0x6f6733[_0x44c924])&&(_0x2eec7b=_0x49b3e9(_0x2eec7b)||_0x2eec7b);return _0x2eec7b;},_0x54400c=(_0x21e381,_0x33e7a3)=>(_0x48d834,_0x339ec7)=>_0x33e7a3(_0x48d834,_0x339ec7,_0x21e381);const _0x336e5e=_0x2f17d6(0x36f);_0x4ed799[_0x2f17d6(0x417)]=class{constructor(_0x1b194f,_0x5479ab){var _0x478991=_0x2f17d6;this['_configService']=_0x1b194f,this[_0x478991(0x17a)]=_0x5479ab;}[_0x2f17d6(0x362)](){var _0x2ecb9b=_0x2f17d6,_0x397b10,_0x4e6d1c;const _0x24a0d5=this['_configService'][_0x2ecb9b(0x16c)](_0x149d1f),_0x2d8c1f=this[_0x2ecb9b(0x1a5)][_0x2ecb9b(0x16c)](_0x2256bf);return(_0x4e6d1c=(_0x397b10=_0x2d8c1f==null?void 0x0:_0x2d8c1f[_0x2ecb9b(0x154)])!=null?_0x397b10:_0x24a0d5)!=null?_0x4e6d1c:_0x336e5e;}async[_0x2f17d6(0x147)](_0x3271c4){var _0x4aca8f=_0x2f17d6;const _0x42d002=this[_0x4aca8f(0x362)]()+_0x4aca8f(0x324);return{'list':[{'title':_0x4aca8f(0x172),'mentions':(await this[_0x4aca8f(0x17a)][_0x4aca8f(0x141)](_0x42d002,{'params':{'objectID':_0x3271c4[_0x4aca8f(0xe9)],'unitID':_0x3271c4[_0x4aca8f(0xe9)]}}))[_0x4aca8f(0x255)][_0x4aca8f(0x25e)][_0x4aca8f(0x3cb)](_0x280076=>({'objectId':_0x280076['id'],'name':_0x280076[_0x4aca8f(0x29e)][_0x4aca8f(0x28e)],'metadata':{'icon':_0x280076[_0x4aca8f(0x29e)]['avatar']},'label':_0x280076['subject'][_0x4aca8f(0x28e)],'objectType':_0x516919[_0x4aca8f(0x1a0)][_0x4aca8f(0x446)]})),'metadata':{},'type':_0x516919['MentionType']['PERSON']}]};}},_0x4ed799[_0x2f17d6(0x417)]=_0x4482eb([_0x54400c(0x0,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x398)])),_0x54400c(0x1,_0x516919[_0x2f17d6(0x381)](_0x4d99d9[_0x2f17d6(0x23f)]))],_0x4ed799[_0x2f17d6(0x417)]);var _0x3be5ca=Object['getOwnPropertyDescriptor'],_0x35473d=(_0x3cc96e,_0x219e5e,_0x56fdf8,_0x1a9b13)=>{var _0x4c7d55=_0x2f17d6;for(var _0x5c39ab=_0x1a9b13>0x1?void 0x0:_0x1a9b13?_0x3be5ca(_0x219e5e,_0x56fdf8):_0x219e5e,_0x57dabf=_0x3cc96e[_0x4c7d55(0x34f)]-0x1,_0x53c9f2;_0x57dabf>=0x0;_0x57dabf--)(_0x53c9f2=_0x3cc96e[_0x57dabf])&&(_0x5c39ab=_0x53c9f2(_0x5c39ab)||_0x5c39ab);return _0x5c39ab;},_0x1b205b=(_0x584937,_0x1b575e)=>(_0x34d916,_0x16f0af)=>_0x1b575e(_0x34d916,_0x16f0af,_0x584937);let _0x3a3f71=class extends _0x516919[_0x2f17d6(0x37a)]{constructor(_0x1d21a6,_0x3227c0,_0x1d6b59,_0x476796,_0x996cae){var _0x57dae8=_0x2f17d6;super(),this[_0x57dae8(0x2e0)]=_0x1d21a6,this[_0x57dae8(0x389)]=_0x3227c0,this[_0x57dae8(0x139)]=_0x1d6b59,this[_0x57dae8(0x296)]=_0x476796,this[_0x57dae8(0x182)]=_0x996cae,this[_0x57dae8(0xfd)](),this[_0x57dae8(0x44f)]();}[_0x2f17d6(0x44f)](){var _0x1b194a=_0x2f17d6;const _0x5d149e=async _0x2c8e1d=>{var _0x7af2f9=_0x5099;(await this['_collaborationSessionService'][_0x7af2f9(0x3f3)](_0x2c8e1d))['event$']['pipe'](_0x29f088[_0x7af2f9(0x239)](_0x3059dc=>_0x3059dc[_0x7af2f9(0x345)]===_0x514b45['CollaborationEvent'][_0x7af2f9(0x421)]),_0x29f088[_0x7af2f9(0x19c)](this[_0x7af2f9(0x260)]))['subscribe'](_0x34b404=>{var _0x258363=_0x7af2f9;const _0x175342=_0x34b404,{reason:_0x2fdc6b}=_0x175342[_0x258363(0x218)];this[_0x258363(0x182)][_0x258363(0x3bb)]({'id':_0x47c33b[_0x258363(0x444)],'data':_0x2fdc6b}),this[_0x258363(0x139)][_0x258363(0x1bf)](new _0x513775['WorkbookEditablePermission'](_0x2c8e1d)['id'],!0x1),this[_0x258363(0x296)][_0x258363(0x2cd)](_0x2c8e1d);});};_0x1e7ac6[_0x1b194a(0xe3)](this[_0x1b194a(0x389)]['getTypeOfUnitAdded$'](_0x516919['UniverInstanceType'][_0x1b194a(0x15a)]),this[_0x1b194a(0x389)][_0x1b194a(0x2c2)](_0x516919[_0x1b194a(0x28b)]['UNIVER_DOC']))['pipe'](_0x29f088[_0x1b194a(0x3cb)](_0x4857b7=>_0x4857b7[_0x1b194a(0x1c2)]()),_0x29f088[_0x1b194a(0x239)](_0x4a8949=>!_0x516919[_0x1b194a(0x1fe)](_0x4a8949)),_0x29f088[_0x1b194a(0x19c)](this[_0x1b194a(0x260)]))[_0x1b194a(0x19e)](_0x53ef51=>{_0x5d149e(_0x53ef51);});}[_0x2f17d6(0xfd)](){var _0x5a94a4=_0x2f17d6;const _0x2a9925=async _0x3c12f0=>{var _0x446abf=_0x5099;const _0x213f65=await this[_0x446abf(0x296)][_0x446abf(0x3f3)](_0x3c12f0),_0x56f4a=this[_0x446abf(0x2e0)][_0x446abf(0x141)](_0x513775[_0x446abf(0x24d)]);_0x213f65['event$'][_0x446abf(0x363)](_0x29f088[_0x446abf(0x239)](_0x1049da=>_0x1049da['eventID']===_0x514b45[_0x446abf(0x2ac)][_0x446abf(0x298)]),_0x29f088[_0x446abf(0x19c)](this[_0x446abf(0x260)]))[_0x446abf(0x19e)](_0x1ae8d1=>{var _0x3b0d1e=_0x446abf;const _0x24dbe3=_0x1ae8d1,{objectId:_0x57fb2f}=_0x24dbe3[_0x3b0d1e(0x218)];_0x57fb2f===_0x3c12f0?_0x56f4a[_0x3b0d1e(0x11c)](_0x3c12f0):_0x56f4a[_0x3b0d1e(0x142)](_0x3c12f0,_0x57fb2f);});};_0x1e7ac6['merge'](this[_0x5a94a4(0x389)][_0x5a94a4(0x2c2)](_0x516919[_0x5a94a4(0x28b)][_0x5a94a4(0x15a)]))['pipe'](_0x29f088[_0x5a94a4(0x3cb)](_0x4d9484=>_0x4d9484[_0x5a94a4(0x1c2)]()),_0x29f088['filter'](_0x431f9a=>!_0x516919[_0x5a94a4(0x1fe)](_0x431f9a)),_0x29f088['takeUntil'](this[_0x5a94a4(0x260)]))[_0x5a94a4(0x19e)](_0x12bfee=>{_0x2a9925(_0x12bfee);});}};_0x3a3f71=_0x35473d([_0x1b205b(0x0,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x1ef)])),_0x1b205b(0x1,_0x516919[_0x2f17d6(0x2c0)]),_0x1b205b(0x2,_0x516919['IPermissionService']),_0x1b205b(0x3,_0x516919[_0x2f17d6(0x381)](_0x4ed799[_0x2f17d6(0x2db)])),_0x1b205b(0x4,_0x516919['Inject'](_0x4c5916))],_0x3a3f71);var _0x32fc89=Object['getOwnPropertyDescriptor'],_0x2bf569=(_0x5a0f3b,_0x206459,_0x4b7ded,_0x5bb369)=>{var _0x21182d=_0x2f17d6;for(var _0x5b84a0=_0x5bb369>0x1?void 0x0:_0x5bb369?_0x32fc89(_0x206459,_0x4b7ded):_0x206459,_0x3314b0=_0x5a0f3b[_0x21182d(0x34f)]-0x1,_0x370eb0;_0x3314b0>=0x0;_0x3314b0--)(_0x370eb0=_0x5a0f3b[_0x3314b0])&&(_0x5b84a0=_0x370eb0(_0x5b84a0)||_0x5b84a0);return _0x5b84a0;},_0x3125ae=(_0x4505c3,_0xcea72)=>(_0x360961,_0x529895)=>_0xcea72(_0x360961,_0x529895,_0x4505c3);_0x4ed799['SnapshotServerOverHTTPService']=class{constructor(_0x210fb7,_0x532deb){var _0x567b62=_0x2f17d6;this[_0x567b62(0x1a5)]=_0x210fb7,this['_httpService']=_0x532deb;}async[_0x2f17d6(0x183)](_0x59f7bf,_0x19e315){var _0x57b5b9=_0x2f17d6,_0xef17c4;const {unitID:_0x149f9f,type:_0x1a7fe7,revision:_0x43e305=0x0}=_0x19e315,_0x56c8dc=this[_0x57b5b9(0x2d1)]()+'/'+_0x1a7fe7+_0x57b5b9(0x191)+_0x149f9f+_0x57b5b9(0x211)+_0x43e305,_0x225a68=(await this[_0x57b5b9(0x156)][_0x57b5b9(0x141)](_0x56c8dc))[_0x57b5b9(0x255)],_0x595205=(_0xef17c4=_0x225a68[_0x57b5b9(0x2a9)])==null?void 0x0:_0xef17c4[_0x57b5b9(0x299)];if(_0x595205){const _0x2cefa7=_0x595205==null?void 0x0:_0x595205[_0x57b5b9(0x429)],_0x54d34c=_0x514b45['textEncoder'][_0x57b5b9(0x1cb)](_0x514b45[_0x57b5b9(0xf9)](_0x2cefa7));_0x595205[_0x57b5b9(0x429)]=_0x54d34c,Object['entries'](_0x595205[_0x57b5b9(0x28a)])[_0x57b5b9(0x1d3)](([,_0x3c24f8])=>{var _0x550fc8=_0x57b5b9;const _0x5cb8d3=_0x3c24f8[_0x550fc8(0x429)],_0x1301ce=_0x514b45['textEncoder'][_0x550fc8(0x1cb)](_0x514b45[_0x550fc8(0xf9)](_0x5cb8d3));_0x3c24f8[_0x550fc8(0x429)]=_0x1301ce;});}return _0x225a68;}async[_0x2f17d6(0x40f)](_0x26b3d9,_0x45626a){var _0x39626c=_0x2f17d6;const {unitID:_0x2cc171,type:_0x167682,blockID:_0x257c44}=_0x45626a,_0xeded2d=this[_0x39626c(0x346)]()+'/'+_0x167682+_0x39626c(0x191)+_0x2cc171+'/block/'+_0x257c44;return(await this[_0x39626c(0x156)]['get'](_0xeded2d))[_0x39626c(0x255)];}async['getDeserializedSheetBlock'](_0x18e03f,_0x4e958f){var _0x1c5898=_0x2f17d6;const {unitID:_0x4eb99f,type:_0x37a673,blockID:_0xb7d81f}=_0x4e958f,_0x388e48=this[_0x1c5898(0x346)]()+'/block/'+_0x37a673+_0x1c5898(0x191)+_0x4eb99f+_0x1c5898(0x377)+_0xb7d81f;return(await this[_0x1c5898(0x156)]['get'](_0x388e48))[_0x1c5898(0x255)];}async['fetchMissingChangesets'](_0x21a0d8,_0x3159d8){var _0x29e9eb=_0x2f17d6;const {unitID:_0x25c500,type:_0x4afe43,from:_0xe5719b,to:_0x5e34a}=_0x3159d8,_0x1cf342=this[_0x29e9eb(0x346)]()+'/'+_0x4afe43+'/unit/'+_0x25c500+_0x29e9eb(0x3ea)+_0xe5719b+_0x29e9eb(0x3c8)+_0x5e34a;return(await this[_0x29e9eb(0x156)][_0x29e9eb(0x141)](_0x1cf342))[_0x29e9eb(0x255)];}[_0x2f17d6(0x2d1)](){var _0x3ec232=_0x2f17d6,_0x6bb713;return(_0x6bb713=this[_0x3ec232(0x1a5)]['getConfig'](_0x97b9bc))!=null?_0x6bb713:this['_getAPIPrefix']();}[_0x2f17d6(0x346)](){var _0x19a61c=_0x2f17d6,_0x1f798a,_0x428d43;const _0x2d91c7=this[_0x19a61c(0x1a5)]['getConfig'](_0xfbcc5b),_0x19eaee=this[_0x19a61c(0x1a5)][_0x19a61c(0x16c)](_0x2256bf);return(_0x428d43=(_0x1f798a=_0x19eaee==null?void 0x0:_0x19eaee['snapshotServerUrl'])!=null?_0x1f798a:_0x2d91c7)!=null?_0x428d43:_0x85170a;}async['getResourcesRequest'](_0x51432d,_0x39f65f){var _0x2b33f7=_0x2f17d6;const _0x1189d1=_0x2b33f7(0x209)+_0x39f65f[_0x2b33f7(0x1de)]+_0x2b33f7(0x191)+_0x39f65f['unitID']+'/resources';return(await this[_0x2b33f7(0x156)][_0x2b33f7(0x141)](_0x1189d1,{'params':{'resourceId':JSON[_0x2b33f7(0x3ca)](_0x39f65f[_0x2b33f7(0x439)])}}))[_0x2b33f7(0x255)];}['saveSnapshot'](){var _0x2f70d9=_0x2f17d6;throw new Error(_0x2f70d9(0x1b6));}[_0x2f17d6(0x40a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2f17d6(0x2d0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2f17d6(0x40b)](){var _0x12d317=_0x2f17d6;throw new Error(_0x12d317(0x1b6));}[_0x2f17d6(0x3e7)](){var _0x205508=_0x2f17d6;throw new Error(_0x205508(0x1b6));}},_0x4ed799['SnapshotServerOverHTTPService']=_0x2bf569([_0x3125ae(0x0,_0x516919['IConfigService']),_0x3125ae(0x1,_0x516919['Inject'](_0x4d99d9[_0x2f17d6(0x23f)]))],_0x4ed799[_0x2f17d6(0x386)]);var _0x26d177=Object[_0x2f17d6(0x397)],_0x5a6d77=(_0x49c45f,_0x179278,_0x290262,_0x5df7ca)=>{var _0x48c626=_0x2f17d6;for(var _0x45bdd2=_0x5df7ca>0x1?void 0x0:_0x5df7ca?_0x26d177(_0x179278,_0x290262):_0x179278,_0x1b4fad=_0x49c45f[_0x48c626(0x34f)]-0x1,_0x5652af;_0x1b4fad>=0x0;_0x1b4fad--)(_0x5652af=_0x49c45f[_0x1b4fad])&&(_0x45bdd2=_0x5652af(_0x45bdd2)||_0x45bdd2);return _0x45bdd2;},_0x32bf0f=(_0x2813e1,_0x3978f5)=>(_0x470c58,_0x56cf1c)=>_0x3978f5(_0x470c58,_0x56cf1c,_0x2813e1);_0x4ed799[_0x2f17d6(0x136)]=class extends _0x516919[_0x2f17d6(0x342)]{constructor(_0x25ece3,_0x521dd9,_0x19ecc4,_0xbcbd26,_0x4bb1dc){var _0x52182f=_0x2f17d6;super(_0x25ece3,_0x521dd9,_0x19ecc4),this['_transformService']=_0xbcbd26,this[_0x52182f(0x20e)]=_0x4bb1dc;}[_0x2f17d6(0x3cd)](_0x434107,_0x9b7c7a){var _0xb2457f=_0x2f17d6;const _0x27f62a=this[_0xb2457f(0x422)](_0x434107);if(_0x27f62a)try{const _0x1bf580=this[_0xb2457f(0x348)](_0x27f62a,_0x9b7c7a);this[_0xb2457f(0x269)](_0x434107,_0x1bf580);}catch(_0x561433){this[_0xb2457f(0x20e)][_0xb2457f(0x281)]('[CollaborationUndoRedoService]',_0x561433),this[_0xb2457f(0x310)](_0x434107);}const _0x934b3=this[_0xb2457f(0x451)](_0x434107);if(_0x934b3)try{const _0x314c22=this[_0xb2457f(0x348)](_0x934b3,_0x9b7c7a);this[_0xb2457f(0x2c3)](_0x434107,_0x314c22);}catch(_0x4c4818){this[_0xb2457f(0x20e)][_0xb2457f(0x281)](_0x4c4818),this[_0xb2457f(0x19b)](_0x434107);}}['_clearUndo'](_0x199d0a){var _0x474a46=_0x2f17d6;const _0x252214=this['_getUndoStack'](_0x199d0a);_0x252214&&(_0x252214[_0x474a46(0x34f)]=0x0,this[_0x474a46(0x21d)]());}[_0x2f17d6(0x19b)](_0x4ecdf9){var _0x2b59a7=_0x2f17d6;const _0x5cfedd=this[_0x2b59a7(0x451)](_0x4ecdf9);_0x5cfedd&&(_0x5cfedd[_0x2b59a7(0x34f)]=0x0,this['_updateStatus']());}[_0x2f17d6(0x269)](_0x1c702c,_0x2c53b8){var _0x3b6bfc=_0x2f17d6;this[_0x3b6bfc(0x23c)]['set'](_0x1c702c,_0x2c53b8),this[_0x3b6bfc(0x21d)]();}[_0x2f17d6(0x2c3)](_0x300d50,_0x1daad1){var _0x2f249b=_0x2f17d6;this[_0x2f249b(0x23b)][_0x2f249b(0x202)](_0x300d50,_0x1daad1),this[_0x2f249b(0x21d)]();}[_0x2f17d6(0x348)](_0x24ee71,_0x22906a){var _0x52f015=_0x2f17d6;const _0x2c45a8=[];let _0x39be12=_0x22906a,_0x56d8ed=_0x22906a;for(let _0x2527bb=_0x24ee71['length']-0x1;_0x2527bb>=0x0;_0x2527bb--){const {unitID:_0x3f07c5,undoMutations:_0x1f7e34,redoMutations:_0x54cd56}=_0x24ee71[_0x2527bb],_0x1d4edf=this[_0x52f015(0x2e5)][_0x52f015(0x179)](_0x39be12,_0x1f7e34),_0x4d366f=this[_0x52f015(0x2e5)][_0x52f015(0x179)](_0x56d8ed,_0x54cd56);if(_0x514b45[_0x52f015(0x166)](_0x1d4edf)||_0x514b45[_0x52f015(0x166)](_0x4d366f)){this[_0x52f015(0x20e)]['error'](_0x52f015(0x20c),_0x52f015(0x171),_0x1d4edf,_0x4d366f);break;}_0x39be12=_0x1d4edf[_0x52f015(0x336)],_0x56d8ed=_0x4d366f[_0x52f015(0x336)],_0x2c45a8[_0x52f015(0x1fa)]({'unitID':_0x3f07c5,'undoMutations':_0x1d4edf[_0x52f015(0x1b3)],'redoMutations':_0x4d366f[_0x52f015(0x1b3)]});}return _0x2c45a8[_0x52f015(0x2ff)]();}},_0x4ed799['CollaborativeUndoRedoService']=_0x5a6d77([_0x32bf0f(0x0,_0x516919['IUniverInstanceService']),_0x32bf0f(0x1,_0x516919[_0x2f17d6(0x351)]),_0x32bf0f(0x2,_0x516919['IContextService']),_0x32bf0f(0x3,_0x514b45[_0x2f17d6(0x2a2)]),_0x32bf0f(0x4,_0x516919[_0x2f17d6(0x3b3)])],_0x4ed799['CollaborativeUndoRedoService']);var _0x294e47=Object[_0x2f17d6(0x3d6)],_0x1c3532=Object[_0x2f17d6(0x397)],_0x22616f=(_0xb89131,_0x22c28d,_0x505e24)=>_0x22c28d in _0xb89131?_0x294e47(_0xb89131,_0x22c28d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x505e24}):_0xb89131[_0x22c28d]=_0x505e24,_0x319a27=(_0x476fd7,_0xadc419,_0x2ca65e,_0x3d3bae)=>{var _0x1f6c13=_0x2f17d6;for(var _0x13f2e4=_0x3d3bae>0x1?void 0x0:_0x3d3bae?_0x1c3532(_0xadc419,_0x2ca65e):_0xadc419,_0x21387d=_0x476fd7[_0x1f6c13(0x34f)]-0x1,_0x39a445;_0x21387d>=0x0;_0x21387d--)(_0x39a445=_0x476fd7[_0x21387d])&&(_0x13f2e4=_0x39a445(_0x13f2e4)||_0x13f2e4);return _0x13f2e4;},_0x231e40=(_0x19708e,_0x5bd50a)=>(_0x1044a9,_0x1b7eab)=>_0x5bd50a(_0x1044a9,_0x1b7eab,_0x19708e),_0x39b6fb=(_0xe35884,_0x496b75,_0x53faa6)=>_0x22616f(_0xe35884,_0x496b75+'',_0x53faa6);const _0x2883d7=_0x2f17d6(0x21a);_0x4ed799[_0x2f17d6(0x2a7)]=class extends _0x516919[_0x2f17d6(0x21b)]{constructor(_0x26c818,_0x1715e2,_0x1cf1b5,_0x152487){var _0x3197d9=_0x2f17d6;super(),_0x444b4d(this,'_config'),(this[_0x3197d9(0x20e)]=_0x1715e2,this[_0x3197d9(0x2e0)]=_0x1cf1b5,this[_0x3197d9(0x1a5)]=_0x152487);const {..._0x2d5d7b}=_0x516919[_0x3197d9(0xe3)]({},_0x557be9,_0x26c818);if(!_0x2d5d7b[_0x3197d9(0x3b6)])throw new Error(_0x3197d9(0xeb));this[_0x3197d9(0x268)]=_0x2d5d7b,this['_configService']['setConfig'](_0x2256bf,_0x2d5d7b);}[_0x2f17d6(0x31f)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2f17d6(0x43d)](){var _0x243ada=_0x2f17d6,_0x585210,_0x8b2dc6;this['_injector'][_0x243ada(0x43b)](_0x516919[_0x243ada(0x45f)])&&this[_0x243ada(0x20e)][_0x243ada(0x281)](_0x243ada(0x3df),_0x243ada(0x151));const _0x101943=_0x516919['mergeOverrideWithDependencies']([[_0x516919[_0x243ada(0x45f)],{'useClass':_0x4ed799[_0x243ada(0x136)]}],[_0x4ed799[_0x243ada(0x2db)]],[_0x4ed799['MemberService']],[_0x4ed799[_0x243ada(0x135)]],[_0x37c73c],[_0x4d4be4],[_0x2f4bd8],[_0x3a3f71],[_0x4c5916],[_0x4ed799[_0x243ada(0x2ef)]],[_0x4ea67e,{'useClass':this['_config']['socketService']}],[_0x514b45[_0x243ada(0x15f)],{'useClass':_0x4ed799[_0x243ada(0x386)]}],[_0x516919[_0x243ada(0x30a)],{'useClass':_0x4ed799[_0x243ada(0x3a5)]}],[_0x8e1139[_0x243ada(0x3c5)],{'useClass':_0x4ed799[_0x243ada(0x1f9)]}],[_0x516919[_0x243ada(0x36a)],{'useClass':_0x4ed799[_0x243ada(0x417)]}],[_0x4ed799['CollaborationController']],[_0x7de760]],(_0x585210=this[_0x243ada(0x268)])==null?void 0x0:_0x585210[_0x243ada(0x1d2)]);if(!((_0x8b2dc6=this[_0x243ada(0x268)])!=null&&_0x8b2dc6[_0x243ada(0x17f)])){const _0x16c95c=_0x101943[_0x243ada(0x2ab)](([_0x48f9a2])=>_0x48f9a2===_0x493210);_0x16c95c!==-0x1&&_0x101943[_0x243ada(0x2ce)](_0x16c95c,0x1);}_0x516919['registerDependencies'](this['_injector'],_0x101943);}[_0x2f17d6(0x253)](){var _0x6064e8=_0x2f17d6,_0x506db1,_0x3ad722,_0x38ea45;this[_0x6064e8(0x2e0)][_0x6064e8(0x141)](_0x4d99d9['HTTPService'])[_0x6064e8(0x3f2)]({'priority':0x14,'interceptor':_0x4d99d9[_0x6064e8(0xf0)]({'maxParallel':0x6})}),(_0x506db1=this[_0x6064e8(0x268)])!=null&&_0x506db1['enableOfflineEditing']||(_0x3ad722=this[_0x6064e8(0x2e0)][_0x6064e8(0x141)](_0x43f574,_0x516919[_0x6064e8(0x3d4)]['OPTIONAL']))==null||_0x3ad722[_0x6064e8(0x357)](),(_0x38ea45=this['_config'])!=null&&_0x38ea45[_0x6064e8(0x411)]&&_0x516919[_0x6064e8(0x3c9)](this['_injector'],[[_0x37c73c]]),_0x516919[_0x6064e8(0x3c9)](this['_injector'],[[_0x4d4be4],[_0x4ed799[_0x6064e8(0x284)]],[_0x3a3f71]]);}},_0x39b6fb(_0x4ed799[_0x2f17d6(0x2a7)],'pluginName',_0x2883d7),_0x4ed799[_0x2f17d6(0x2a7)]=_0x319a27([_0x516919[_0x2f17d6(0x272)](_0x514b45[_0x2f17d6(0x10e)],_0x4d99d9[_0x2f17d6(0x33e)]),_0x231e40(0x1,_0x516919[_0x2f17d6(0x3b3)]),_0x231e40(0x2,_0x516919[_0x2f17d6(0x381)](_0x516919[_0x2f17d6(0x1ef)])),_0x231e40(0x3,_0x516919[_0x2f17d6(0x398)])],_0x4ed799['UniverCollaborationClientPlugin']),_0x4ed799[_0x2f17d6(0x3b2)]=_0x149d1f,_0x4ed799[_0x2f17d6(0xf5)]=_0x2256bf,_0x4ed799[_0x2f17d6(0x279)]=_0x4a5d67,_0x4ed799[_0x2f17d6(0x1c0)]=_0x274579,_0x4ed799['CollaborationStatus']=_0x80096a,_0x4ed799[_0x2f17d6(0x2d3)]=_0x47c33b,_0x4ed799[_0x2f17d6(0x241)]=_0x4c5916,_0x4ed799[_0x2f17d6(0x122)]=_0x2f4bd8,_0x4ed799[_0x2f17d6(0x1eb)]=_0x544a89,_0x4ed799[_0x2f17d6(0x233)]=_0x3e5e4b,_0x4ed799[_0x2f17d6(0x2ed)]=_0x124772,_0x4ed799['HEARTBEAT_INTERVAL_KEY']=_0x46f90b,_0x4ed799[_0x2f17d6(0x277)]=_0x434709,_0x4ed799[_0x2f17d6(0x275)]=_0x4ea67e,_0x4ed799[_0x2f17d6(0x3f5)]=_0x43f574,_0x4ed799['INetworkConditionService']=_0x58bf3,_0x4ed799[_0x2f17d6(0x325)]=_0x493210,_0x4ed799['LOCAL_CACHE_INTERVAL']=0x3e8,_0x4ed799[_0x2f17d6(0x317)]=_0x543259,_0x4ed799[_0x2f17d6(0x257)]=_0x588f50,_0x4ed799[_0x2f17d6(0x23d)]=_0x144f84,_0x4ed799[_0x2f17d6(0x374)]=_0x3462df,_0x4ed799[_0x2f17d6(0x3e4)]=_0x30ad0f,_0x4ed799[_0x2f17d6(0x14d)]=_0xfbcc5b,_0x4ed799['SNAPSHOT_URL_KEY']=_0x97b9bc,_0x4ed799[_0x2f17d6(0x237)]=_0x472d3d,_0x4ed799['UnitStatus']=_0x31e956,_0x4ed799[_0x2f17d6(0x3ef)]=_0x4a1c43,_0x4ed799[_0x2f17d6(0x3e8)]=_0x342a74,_0x4ed799[_0x2f17d6(0x37d)]=_0x90199b,Object[_0x2f17d6(0x3d6)](_0x4ed799,Symbol[_0x2f17d6(0x448)],{'value':_0x2f17d6(0x225)});}));
|
1
|
+
function _0x4ac4(_0xdb1854,_0x3a61e2){var _0x1da4a9=_0x1da4();return _0x4ac4=function(_0x4ac407,_0x2afded){_0x4ac407=_0x4ac407-0x9c;var _0x48bfb5=_0x1da4a9[_0x4ac407];return _0x48bfb5;},_0x4ac4(_0xdb1854,_0x3a61e2);}function _0x1da4(){var _0x320e78=['_executeRemoteChangeset','IUniverInstanceService','JSONX','$super','loadUnit','shareReplay','_createHandler','SEND_CHANGESET_TIMEOUT_KEY','refreshPermission','keySize','getTypeOfUnitDisposed$','override','onRemoteRetry','USERS_LEAVE','randomBytes','_awaitingChangeset','HEARTBEAT_TIMEOUT_KEY','Hex','_reverseMap','incrementRevOfUnit','_type','entityInit$','interceptor','call','repeat','m2Prime','b64DecodeUnicode','sessionStatus$','_hash','_tryEnsureSocket','has','@univerjs/core','onLocalMutation','size','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','LICENSE_DISTRO_REJECTED','catch','_getSendChangesetTimeout','_userManagerService','_roomMembers','_snapshotServerService','_httpService','UniverInstanceType','liveShareNewHost','parseProtocolChangeset','_telemetryInfo','_memberService','\x20-\x20','\x0aCurrent:\x20','encodeURIComponent','headers','_changesetReqId','appendMutation','unpad','ERROR_IMAGE_TYPE','reset','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','parse','sigBytes','_isPermissionRej','WordArray','\x20in\x20_schedule.','_rescheduleHeartbeat','clone','HmacSHA1','__creator','_process','_socketMessageSubscription','APPLY_REVISION_CONFILICT','csShouldRetryEvent','_minBufferSize','JOIN_ROOM_FAILED','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','INetworkConditionService','transformChangesets','cfg','SyncedState','OTHER_CLIENTS_EDITING','_sessions','NoPadding','SheetTransformSelectionsService','UniverProLicense','_transformService','delay','APPLY_DUPLICATED','_onFetchMissResult','HELLO','_unlockTransition','UnitSnapshot','_onConnectionOpen','isArray','failed\x20to\x20apply\x20missed\x20changesets!','add','_transformRemoteChangesetByIMECache','_undoStacks','format','toStringTag','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','CLOSE_ROOM','@univerjs/telemetry','params','cmd','Pkcs7','_startCollaboration','snapshot','FETCH_MISSING','subUnitId','concatMap','join','ALREADY_EXISTS','_clearScheduledTask','getTime','_scheduleCollaborationTimeoutTimer','ISnapshotServerService','/rev/','[OfflineState]:\x20received\x20rejection.','encode','isTransformChangesetsSuccess','isPermissionRej','_getLoginPath','228OcniGF','_sheetTransformSelectionsService','YUUMI_URL_COL_OUT_OF_RANGE','ImageUploadStatusType','FAIL','_getUndoStack','getSheetBlock','_snapshotService','executeCommand','compose','_injector','CommandType','?url=','generateRandomId','COMPRESS_MUTATION_APPLY','csAckEvent','padding','[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.','get','_handler','key','_onRemoteRejected','2415ALJfjx','toDisposable','randomUUID','RETRY_CONNECTING_MAX_COUNT_KEY','getDeserializedSheetBlock','RETRY_CONNECTING_MAX_COUNT','online$','pipe','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','send','_data','SNAPSHOT_URL_KEY','editing\x20status\x20changed\x20to','UnitStatus','_state$','addHandlerCallback','Optional','reverse','setShowComponents','CollaborationController','[CollaborationSessionService]','method','onTransformIME','resend','lib','SNAPSHOT_SERVER_URL_KEY','CONNECTOR_DATA_TOO_LARGE','_socketService','slice','UNIVER_DOC','rng','AUTHZ_URL_KEY','Plugin','ERROR_IMAGE','_doCryptBlock','now','_oKey','_initCloseConn','WorkbookEditablePermission','_collaborationUIEventService','objectID','string','UNIVER_SLIDE','BufferedBlockAlgorithm','INGEST','&source=','dispose$','CONFLICT','session.room-full','_schedule','RevisionService','getUnitType','unitId','createDecryptor','sheets','createEncryptor','registerHTTPInterceptor','CHANGESET_SHOULD_RETRY','/role','@univerjs/sheets','_removeRoom','_getUploadFileURL','BlockCipher','enableAuthServer','NO_OTHER_CLIENTS_EDITING','[CollaborationSessionService]:\x20socket\x20error','_showConflictNotification','4VDKoDb','title','_transformStack','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','USERS_ENTER','RECV','transformMutationsWithChangeset','/resources','JOIN_ROOM_FULL','JOINING','concat','subject','complete','asObservable','[PendingState]:\x20unhandled\x20univer\x20type:\x20','setCurrentUser','baseRev','focused$','deserializeToCombResponse','reduce','MentionType','createSocket','19266LSGnNc','LICENSE_MAX_UNITS_EXCEEDED','_sendingTimer','_parse','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','NOT_FOUND','_joinRoom','getRandomValues','salt','IContextService','removeMember','rev','localeService','signUrlServerUrl','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','HEARTBEAT','_retryConnectingTimer','onMissingChangesets','stringify','body','NEW_CHANGESETS','fetchMiss','ISocketService','Cipher','[CollaborationUndoRedoService]','HTTPRequest','_unitInfo$','getUnit','/object/','MD5','post','6463756hHsyXU','originalMeta','getCurrentRevOfUnit','_hasher','listRoles','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_remoteChangesetQueue','words','merge','INTERNAL_ERROR','_telemetryService','pluginName','fetching\x20missing\x20changesets\x20from\x20','onlyLocal','AwaitingState','exports','msCrypto','_HTTPService','fetchThroughInterceptors','withCredentials','editingUnit','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UniverProCollaborationClient','submit\x20changeset\x20error!','saveChangeset','_updateStatus','enc','liveShareOperation','_clearLocalCache','SOCKET_FAILED_RETRY','initWorkbookPermissionChange','_getRedoStack','create','SOCKET_FAILED','_tryReconnect','origin','shouldCloseConn','_undoRedoService','BASE64','_roomCreated$','getResourcesRequest','PY_RUNTIME_SCRIPT_ERROR','_updateLocalCache','@univerjs-pro/collaboration','_waitCount','ILogService','encrypt','json','unitID','listCollaborators','crypto','YUUMI_SUBSCRIPTION_NOT_FOUND','/block/','hasOwnProperty','IUndoRedoService','COMPLETION_FINISHED','Base64','collaborators','CollaborationImageIoService','updatePermissionObjEvent','_onRemoteChangeset','UNIVER_COLLABORATION_CLIENT_PLUGIN','getUnitOnRev','@univerjs/network','_doProcessBlock','defineProperty','CHANGESET_REVISION_CONFILICT','session','ReplaySubject','_socket','onCommandExecuted','saveSnapshot','decryptBlock','c2Prime','message$','AES','src','UniverNetwork','finalize','_members','capture','textEncoder','reqId','iterations','deepClone','takeUntil','session.room-not-exists','range','_candidateSocket','rxjs/operators','_entities','buffer','SheetPermissionInitController','getUnitId','_compressMutationService','downloadEndpointUrl','_createInitialState','SUBMIT_CHANGESET','CollaborationStatus','ivSize','_init','getCollabEntity$','OFFLINE','UNISCRIPT_RUN','[UniverCollaborationClientPlugin]','createInstance','Quantity','MUTATION','loadOfflineData','_collabSessionService','SetSelectionsOperation','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','62247HPawzI','UUID','CollaborationEvent','SNAPSHOT_INVALID_SNAPSHOT','_syncEditingCollabCursor','[CollaborationSession]','303182PBITja','Disposable','getConfig','UniverTelemetry','ThresholdInterceptorFactory','5VmDdUf','[CollaborationEntity]','/universer-api/uniscript','COMPRESS_MUTATION_SEND','ciphertext','HMAC','mixIn','filter','authzUrl','FetchingMissState','updateMember','_lockTransition','reject','3280395OBOfEr','touchDependencies','_mode','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clamp','SUCCUSS','_throwTelemetryCollaborationNewChangeset','_invKeySchedule','InsertSheetMutation','LOCAL_CACHE_INTERVAL_KEY','_createInitialStateImpl','charAt','requestParams','loadSheet','indexOf','changesets','startsWith','_clearCollaborationTimeoutTimer','error','responseType','UnitEmbedded','updateCursorEvent','JOIN_ROOM_PERMISSION_DENIED','_prevBlock','uploadFileServerUrl','INVALID_ARGUMENT','_xformMode','_onConflict','_createHelper','UniverDrawing','put','socketService','_onRecvEvent','abs','_onUserJoin','init','CollaborationSocketService','YUUMI_RATE_OVER_LIMIT','addImageSourceCache','CHANGESET_ACK','_localeService','_queuedRemoteChangesets','_nRounds','IDLE','_getCtorByUniverType','mode','object','CollaborationUIEventId','/object','YUUMI_UNABLE_LOAD_URL','__Key__','disableLocalCache','telemetry\x20info\x20is\x20not\x20initialized','_sender','_transformStateCache','_loadSheet','getLocalCacheKey','decrypt','execute','/allowed','delete','push','UniverCore','BlockCipherMode','apply','_collaborationPaused','transformStack\x20failed!','/universer-api/oidc/authpage','routeKey','close','toString','collaboration-client.local-cache-service','SheetCollaborationEntity','getFocusedUnit','POST','onTransformSelections','JOIN','&to=','unit-cache-','[CollaborationState]:\x20apply\x20error!','DEFAULT_WS_SESSION_TICKET_URL','conflict','setConfig','CollaborativeUndoRedoService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','NOT_COLLAB','CHANGESET_REJ','_acknowledgedAwaitingChangeset','JOIN_ROOM_NOT_EXISTS','offline','UniverCollaborationClientPlugin','splice','fromCollab','ICommandService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onConnectionFailed','OpenSSL','target','collaboration_new_changeset','_onRemoteACK','batchAllowed','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','byteOffset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UniverProCollaboration','_ENC_XFORM_MODE','unsubscribe','getUnitStatus$','onStarting','OPTIONAL','closeSession','MemberService','/unit/','{fileID}','action','bind','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','avatar','toggleOnline','_clearTimeoutTimer','LIVESHARE_TERMINATE','Subject','status','UniverDocs','_initRequestHeader','_commandService','[SyncedState]:\x20received\x20acknowledgement.','SnapshotServerOverHTTPService','enableOfflineEditing','allowed','_logService','_state','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_clearRetryConnectingTimer','memberID','getLatestCsReqIdBySid','members','data','SnapshotService','event$','ImageSourceType','AuthzIoHttpService','random','/universer-api/comb','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','OfflineState','_getAPIPrefixPath','algo','_collaborationSessionService','getTypeOfUnitAdded$','localCacheService','getOwnPropertyDescriptor','MSG_FOR_ERROR','floor','sequenceExecute','_listenToNetworkCondition','_onLocalMutation','onTransformRemoteChangesetByIMECache','UNKNOWN_CMD','_members$','awaiting','SessionStatus','fetchMissingChangesets','_change$','getCurrentUser','GLOBAL_ROOMS_CNT_EXCEEDS','_event$','_doFinalize','_scheduleCompleteTimestamp','href','IAuthzIoService','HEARTBEAT_INTERVAL','_imageSourceCache','getMember','eventID','set','DisposableCollection','socket\x20open.','createIdentifier','UNIVER_SHEET','RichTextEditingMutation','_createHmacHelper','_initMergeInterceptor','TOO_MANY_REQUESTS','infoRsp','_onMessage','commentUpdateEvent','_socketReady','mapDocumentTypeToUniverType','synced','UNAUTHENTICATED','name','univer-pro.collaboration-client.network-condition.service','_applyRemoteChangeset','ERROR_EXCEED_SIZE','update','_getDownloadEndpointURL','session.room-cnt-exceeds','save\x20fail\x20reason\x20is\x20','_configService','onRemoteAck','url','getActiveSheet','userID','247491hoRmqG','_resendTimer','file','Base','retryConnectingInterval','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformState','next','LOGIN_URL_KEY','Utf8','auth.needGotoLoginAlert','\x0aAfter:\x20','function','_keySchedule','UniverCollaborationPlugin','FileId','_cipher','200QhvCJA','_nDataBytes','then','list','forEach','transformSelections','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','newCsEvent','PSEUDO_FETCH_MISSING_RESULT','_transitionLocked','IConfigService','_entityInit$','disposeWithMe','ITransformService','clear','_socket$','HTTPService','toLowerCase','_univerInstanceService','_initUnitPermissionChange','onStateChange','MergeInterceptorFactory','confirm','DataLoaderService','AwaitingWithPendingState','transformUndoRedo','/universer-api/file/{fileID}/sign-url','HttpImport','collaboratorID','awaiting_with_pending','type','_status$','_singleActiveUnitService','onCommentUpdate','compute','_transformSelections','_doReset','LICENSE_IMPORT_SIZE_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','mutations','ICollaborationSocketService','entries','onSendChangeset','_resendTimeout','_registerDependencies','CollaborationSession','c1Prime','[FetchMissState]','isTransformMutationsWithChangesetSuccess','DEFAULT_FILE_NAME','_sessionStatus$','APPLY_NON_SEQUENTIAL_REVISION','getWorkbookSelections','_doCreateSocket','readyForCollab','selections','amd','_networkConditionService','members$','isTransformMutationsWithChangesetFailure','_clearHeartbeatTimer','_incrementRevisionNumber','rxjs','UNIVER_UNKNOWN','blockSize','image/jpeg','uniscriptRunEvent','UPDATE_PERMISSION_OBJ','PasswordBasedCipher','take','Hasher','_changesetSessionId','socket\x20close','SUBMIT_CHANGESET_TIMEOUT','length','_toggleOnline','substr','onRemoteRej','_commentService','roles','SHOULD_CLOSE_CONN','_resendWithTimeout','sessionStatus','_emitMembers','getCollabEntity','location','AWAITING','serializeCombRequest','getInterceptPoints','_append','Encryptor','_getCurrentRevision','from','_replayCachedMutations','UNRECOGNIZED','_submitChangeset','univer-pro.collaboration-client-socket-service','ConflictState','_toggleOffline','BehaviorSubject','_checkMissing','_stopTelemetryCollaborationNewChangeset','revision','prototype','getSnapshotAPIPath','CollaborationEntity','LEAVE','session.join-failed','debug','close$','_substituteRedoStack','Latin1','PERSON','getMemberID','image/jpg','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','readInt32LE','ITelemetryService','_replaceFileID','UPDATE_CURSOR','onSyncEditingCollabCursor','_createSocket','RxDisposable','change$','result','LIVESHARE_OPERATION','SHA1','_sendHeartbeatTimer','unknown','ceil','IPermissionService','_fetchMissChangesets','toggleOffline','LocaleService','11299050lbhbHp','PendingState','encryptBlock','_iv','hasher','emitEvent','_revisionService','image/png','permissionRejEvent','pad','_exhaustRemoteChangesetQueue','_collaborationTimeoutTimer','parseChangesetToProtocol','onTransformRemoteChangesetByStateCache','?size=','_iKey','updateOfflineData','_map','_onUserLeave','_transformRemoteChangesetByStateCache','firstValueFrom','enableSingleActiveInstanceLock','max','_onJoinRoomEvent','/collaborator','unitInfo$','map','charCodeAt','awaitingChangeset','[PendingState]:\x20received\x20rejection.','_keyPriorReset','kdf','_transformUndoredo','_substituteUndoStack','UserManagerService','LIVESHARE_FETCH_OPERATIONS','getValue','/-/object/-/batch_allowed','LOCAL_CACHE_INTERVAL','PENDING','_commentUpdate$','[DataLoaderService]','getAllMembers','_retryCount','values','Error\x20on\x20receiving\x20event','/universer-api/user/session-ticket','IMentionIOService','_DEC_XFORM_MODE','_decreaseWaiting','dispose','_initDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','_instanceService','COLLAB_SUBMIT_CHANGESET_URL','_unitID','min','_disableEditing','every','default','_clearUndo','Inject','UNKNOWN_CODE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','setWaitCount','PERMISSION_DENIED','onRemoteChangeset','fetch_missing','Decryptor','_getAPIPrefix','CommentService','pending','updatePermissionPoint','Injector','joinEvent','OTHER_CLIENT_EDITING','findIndex','Rectangle','@univerjs/docs','_shouldReportTelemetry','HmacMD5','AWAITING_WITH_PENDING','Tools','COLLAB_WEB_SOCKET_URL_KEY','Module','state','_config','onMissedChangesetFetched','ONLINE','_loadDoc','objectActions','APPLY_REJECT','_startTelemetryCollaborationNewChangeset','[OfflineState]:\x20received\x20changeset.','_pendingMutations','UNDEFINED','_onOffline','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CBC','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','PERMISSION_REJ','_transformIMECache','state$','operators','session.room-permission-denied','sid','UNIVER_PROJECT','code','HEARTBEAT_INTERVAL_KEY','CipherParams','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','onload','DocCollaborationEntity','connection\x20error','LIVESHARE_NEW_HOST','EvpKDF','_updateState','subscribe','MentionIoHttpService','deleteCollaborator','_timeoutTimer','_localCacheService','isInternalEditorID','_permissionService','_handlerCallback','&assign=','commentUpdate$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','actions','_key','/universer-api/snapshot/','extend','[SyncedState]:\x20received\x20rejection.','requireSession','resolve','COMMENT_UPDATE','Undefined','@univerjs/drawing','StreamCipher','objectType','getRoom','saveImage','objects','CollaborationSessionService','resourceIDs','error$','open$','stopTime','saveSheetBlock','\x20to\x20','CompressMutationService'];_0x1da4=function(){return _0x320e78;};return _0x1da4();}(function(_0x334622,_0x2aa142){var _0x2b71f4=_0x4ac4,_0x542811=_0x334622();while(!![]){try{var _0x1b5835=parseInt(_0x2b71f4(0x13e))/0x1*(parseInt(_0x2b71f4(0x423))/0x2)+-parseInt(_0x2b71f4(0x156))/0x3+parseInt(_0x2b71f4(0xce))/0x4*(-parseInt(_0x2b71f4(0x149))/0x5)+-parseInt(_0x2b71f4(0xaf))/0x6*(-parseInt(_0x2b71f4(0x3e0))/0x7)+parseInt(_0x2b71f4(0x235))/0x8*(parseInt(_0x2b71f4(0x222))/0x9)+parseInt(_0x2b71f4(0x2bb))/0xa+-parseInt(_0x2b71f4(0x144))/0xb*(-parseInt(_0x2b71f4(0x3ca))/0xc);if(_0x1b5835===_0x2aa142)break;else _0x542811['push'](_0x542811['shift']());}catch(_0x556735){_0x542811['push'](_0x542811['shift']());}}}(_0x1da4,0xd2ec7),function(_0x283f24,_0xbff2a3){var _0x168f17=_0x4ac4;typeof exports==_0x168f17(0x184)&&typeof module<'u'?_0xbff2a3(exports,require(_0x168f17(0x371)),require(_0x168f17(0x273)),require(_0x168f17(0x127)),require(_0x168f17(0xf9)),require(_0x168f17(0x10d)),require(_0x168f17(0x3b5)),require('@univerjs/docs'),require(_0x168f17(0x41b)),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x168f17(0x230)&&define[_0x168f17(0x26d)]?define([_0x168f17(0xdd),_0x168f17(0x371),_0x168f17(0x273),_0x168f17(0x127),_0x168f17(0xf9),_0x168f17(0x10d),_0x168f17(0x3b5),_0x168f17(0x309),_0x168f17(0x41b),_0x168f17(0x344),'@univerjs-pro/license'],_0xbff2a3):(_0x283f24=typeof globalThis<'u'?globalThis:_0x283f24||self,_0xbff2a3(_0x283f24[_0x168f17(0xe4)]={},_0x283f24[_0x168f17(0x194)],_0x283f24[_0x168f17(0x273)],_0x283f24[_0x168f17(0x273)][_0x168f17(0x322)],_0x283f24[_0x168f17(0x1be)],_0x283f24[_0x168f17(0x11b)],_0x283f24[_0x168f17(0x147)],_0x283f24[_0x168f17(0x1d1)],_0x283f24['UniverSheets'],_0x283f24[_0x168f17(0x173)],_0x283f24[_0x168f17(0x3a3)]));}(this,function(_0x3af782,_0x8ca058,_0x15d677,_0x518420,_0x181314,_0x2ab6e2,_0x158e00,_0x1b08ab,_0x33826e,_0x22636f,_0x5cf31e){'use strict';var _0x3322d1=_0x4ac4;var _0x5c18ef=Object[_0x3322d1(0x10f)],_0x49b364=(_0x2a8883,_0x59f03a,_0x269202)=>_0x59f03a in _0x2a8883?_0x5c18ef(_0x2a8883,_0x59f03a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x269202}):_0x2a8883[_0x59f03a]=_0x269202,_0x41a0d=(_0x937e02,_0x544ba1,_0xfac8dc)=>_0x49b364(_0x937e02,typeof _0x544ba1!='symbol'?_0x544ba1+'':_0x544ba1,_0xfac8dc);const _0x579662=_0x3322d1(0x3f9),_0x5e6174='/universer-api/snapshot',_0x3d1b47='SNAPSHOT_URL_KEY',_0x572872='SEND_CHANGESET_TIMEOUT',_0x445a3c='COLLAB_WEB_SOCKET_URL',_0x15a698='ws://127.0.0.1:8000/universer-api/comb/connect',_0x4d2f17=_0x3322d1(0x2e9),_0x34514f=_0x3322d1(0x201),_0x129391='HEARTBEAT_TIMEOUT',_0x3eb51f=_0x3322d1(0x3e5),_0x4f514f=_0x3322d1(0x2e1),_0x2d6b2c=_0x3322d1(0x2f1),_0x33d959=_0x3322d1(0x1e5),_0xcf01b2=_0x3322d1(0x22c),_0x49aa64=_0x3322d1(0x199),_0x32b5b3=_0x3322d1(0x228),_0x1b5d5e=_0x3322d1(0x14b);var _0x1651da=(_0xc6e288=>(_0xc6e288[_0xc6e288[_0x3322d1(0x31a)]=0x0]=_0x3322d1(0x31a),_0xc6e288[_0xc6e288['OK']=0x1]='OK',_0xc6e288[_0xc6e288[_0x3322d1(0xd7)]=0x2]=_0x3322d1(0xd7),_0xc6e288[_0xc6e288['PERMISSION_DENIED']=0x3]=_0x3322d1(0x2fc),_0xc6e288[_0xc6e288[_0x3322d1(0xb4)]=0x4]=_0x3322d1(0xb4),_0xc6e288[_0xc6e288[_0x3322d1(0x214)]=0x5]=_0x3322d1(0x214),_0xc6e288[_0xc6e288[_0x3322d1(0x3bf)]=0x6]=_0x3322d1(0x3bf),_0xc6e288[_0xc6e288[_0x3322d1(0x16f)]=0x7]='INVALID_ARGUMENT',_0xc6e288[_0xc6e288['TOO_MANY_REQUESTS']=0x8]=_0x3322d1(0x20d),_0xc6e288[_0xc6e288[_0x3322d1(0x105)]=0x9]=_0x3322d1(0x105),_0xc6e288[_0xc6e288[_0x3322d1(0x110)]=0x1389]=_0x3322d1(0x110),_0xc6e288[_0xc6e288[_0x3322d1(0x141)]=0x1771]=_0x3322d1(0x141),_0xc6e288[_0xc6e288['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xc6e288[_0xc6e288[_0x3322d1(0x25b)]=0x1773]=_0x3322d1(0x25b),_0xc6e288[_0xc6e288[_0x3322d1(0x316)]=0x1b59]=_0x3322d1(0x316),_0xc6e288[_0xc6e288[_0x3322d1(0x268)]=0x1b5a]=_0x3322d1(0x268),_0xc6e288[_0xc6e288[_0x3322d1(0x396)]=0x1b5b]=_0x3322d1(0x396),_0xc6e288[_0xc6e288['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xc6e288[_0xc6e288[_0x3322d1(0x3a6)]=0x1b5d]='APPLY_DUPLICATED',_0xc6e288[_0xc6e288['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3322d1(0x3fa),_0xc6e288[_0xc6e288[_0x3322d1(0xb0)]=0x2329]=_0x3322d1(0xb0),_0xc6e288[_0xc6e288[_0x3322d1(0x159)]=0x232a]=_0x3322d1(0x159),_0xc6e288[_0xc6e288[_0x3322d1(0x25a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xc6e288[_0xc6e288[_0x3322d1(0x2ef)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xc6e288[_0xc6e288['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3322d1(0x375),_0xc6e288[_0xc6e288[_0x3322d1(0x187)]=0x2711]=_0x3322d1(0x187),_0xc6e288[_0xc6e288[_0x3322d1(0x3cc)]=0x2712]=_0x3322d1(0x3cc),_0xc6e288[_0xc6e288['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3322d1(0x17b),_0xc6e288[_0xc6e288[_0x3322d1(0x101)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xc6e288[_0xc6e288['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3322d1(0xf7),_0xc6e288[_0xc6e288[_0x3322d1(0x293)]=-0x1]=_0x3322d1(0x293),_0xc6e288))(_0x1651da||{}),_0x5922e4=(_0x5b60a6=>(_0x5b60a6[_0x5b60a6[_0x3322d1(0x274)]=0x0]=_0x3322d1(0x274),_0x5b60a6[_0x5b60a6['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x5b60a6[_0x5b60a6[_0x3322d1(0x209)]=0x2]=_0x3322d1(0x209),_0x5b60a6[_0x5b60a6[_0x3322d1(0x40a)]=0x3]='UNIVER_SLIDE',_0x5b60a6[_0x5b60a6[_0x3322d1(0x325)]=0x4]=_0x3322d1(0x325),_0x5b60a6[_0x5b60a6[_0x3322d1(0x293)]=-0x1]=_0x3322d1(0x293),_0x5b60a6))(_0x5922e4||{}),_0x4397e9=(_0x19248b=>(_0x19248b[_0x19248b[_0x3322d1(0x1f4)]=0x0]=_0x3322d1(0x1f4),_0x19248b[_0x19248b[_0x3322d1(0x3a8)]=0x1]=_0x3322d1(0x3a8),_0x19248b[_0x19248b[_0x3322d1(0x1a2)]=0x2]=_0x3322d1(0x1a2),_0x19248b[_0x19248b['LEAVE']=0x3]=_0x3322d1(0x29f),_0x19248b[_0x19248b['INGEST']=0x4]=_0x3322d1(0x40c),_0x19248b[_0x19248b['HEARTBEAT']=0x5]=_0x3322d1(0xbe),_0x19248b[_0x19248b[_0x3322d1(0x9e)]=0x6]='RECV',_0x19248b[_0x19248b[_0x3322d1(0x293)]=-0x1]='UNRECOGNIZED',_0x19248b))(_0x4397e9||{}),_0x575dc8=(_0x144fe9=>(_0x144fe9[_0x144fe9[_0x3322d1(0x2f9)]=0x0]=_0x3322d1(0x2f9),_0x144fe9[_0x144fe9['OK']=0x1]='OK',_0x144fe9[_0x144fe9[_0x3322d1(0x3ce)]=0x2]='FAIL',_0x144fe9[_0x144fe9[_0x3322d1(0xa1)]=0x3e9]=_0x3322d1(0xa1),_0x144fe9[_0x144fe9[_0x3322d1(0x1ae)]=0x3ea]=_0x3322d1(0x1ae),_0x144fe9[_0x144fe9[_0x3322d1(0x16c)]=0x3eb]=_0x3322d1(0x16c),_0x144fe9[_0x144fe9[_0x3322d1(0x1fb)]=0x3ec]=_0x3322d1(0x1fb),_0x144fe9[_0x144fe9[_0x3322d1(0x293)]=-0x1]='UNRECOGNIZED',_0x144fe9))(_0x575dc8||{}),_0x36d9df=(_0x12d98a=>(_0x12d98a[_0x12d98a[_0x3322d1(0x343)]=0x0]='Undefined',_0x12d98a[_0x12d98a[_0x3322d1(0x250)]=0x1]=_0x3322d1(0x250),_0x12d98a[_0x12d98a['HttpExport']=0x2]='HttpExport',_0x12d98a[_0x12d98a[_0x3322d1(0x16a)]=0x3]=_0x3322d1(0x16a),_0x12d98a[_0x12d98a[_0x3322d1(0x3aa)]=0x4]=_0x3322d1(0x3aa),_0x12d98a[_0x12d98a[_0x3322d1(0x293)]=-0x1]='UNRECOGNIZED',_0x12d98a))(_0x36d9df||{});const _0x59e8a5='collaboration-client.config',_0x804733={};var _0x179eb8=(_0x5a2a40=>(_0x5a2a40[_0x3322d1(0x306)]=_0x3322d1(0x306),_0x5a2a40[_0x3322d1(0x2fc)]=_0x3322d1(0x2fc),_0x5a2a40[_0x3322d1(0x40f)]=_0x3322d1(0x40f),_0x5a2a40[_0x3322d1(0x3b4)]=_0x3322d1(0x3b4),_0x5a2a40['JOIN_ROOM_FAILED']=_0x3322d1(0x399),_0x5a2a40[_0x3322d1(0xeb)]=_0x3322d1(0xeb),_0x5a2a40[_0x3322d1(0xef)]='SOCKET_FAILED',_0x5a2a40['SUBMIT_CHANGESET_TIMEOUT']=_0x3322d1(0x27e),_0x5a2a40))(_0x179eb8||{});class _0x2da18d{constructor(){var _0x2fff8b=_0x3322d1;_0x41a0d(this,_0x2fff8b(0x1fc),new _0x15d677[(_0x2fff8b(0x1cf))]()),_0x41a0d(this,_0x2fff8b(0x1e1),this[_0x2fff8b(0x1fc)][_0x2fff8b(0xa6)]());}['emitEvent'](_0x597fc7){var _0x3b6b82=_0x3322d1;this[_0x3b6b82(0x1fc)][_0x3b6b82(0x22b)](_0x597fc7);}}const _0x111d42=_0x8ca058[_0x3322d1(0x208)](_0x3322d1(0x216));function _0x1a9568(_0x389b42){var _0x53e7bd=_0x3322d1,_0x520a29,_0x5ca17,_0x1e2d26,_0x3e4600,_0x581891;const _0x592e34=_0x389b42[_0x53e7bd(0x1df)],_0xbe30ec=JSON[_0x53e7bd(0x38b)](_0x592e34);switch(_0xbe30ec[_0x53e7bd(0x3b7)]){case _0x4397e9[_0x53e7bd(0xbe)]:case _0x4397e9[_0x53e7bd(0x3a8)]:{const _0x953189=_0xbe30ec[_0x53e7bd(0x20e)];return{..._0xbe30ec,'data':_0x953189,'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};}case _0x4397e9['JOIN']:{const _0x4f5f1d=_0xbe30ec['joinRsp'];return{..._0xbe30ec,'data':_0x4f5f1d,'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};}case _0x4397e9[_0x53e7bd(0x9e)]:{const _0x1c9e60=_0xbe30ec['collaMsg'];switch(_0x1c9e60[_0x53e7bd(0x204)]){case _0x181314[_0x53e7bd(0x140)][_0x53e7bd(0x31f)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':(_0x520a29=_0x1c9e60[_0x53e7bd(0x2c3)])==null?void 0x0:_0x520a29['cs']},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314[_0x53e7bd(0x140)][_0x53e7bd(0x17d)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':(_0x5ca17=_0x1c9e60[_0x53e7bd(0x3d9)])==null?void 0x0:_0x5ca17['cs']},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314[_0x53e7bd(0x140)]['NEW_CHANGESETS']:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':(_0x1e2d26=_0x1c9e60[_0x53e7bd(0x23c)])==null?void 0x0:_0x1e2d26['cs']},'cmd':_0xbe30ec['cmd']};case _0x181314['CollaborationEvent'][_0x53e7bd(0x1ac)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':(_0x3e4600=_0x1c9e60['csRejEvent'])==null?void 0x0:_0x3e4600['cs']},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314['CollaborationEvent'][_0x53e7bd(0x419)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':(_0x581891=_0x1c9e60[_0x53e7bd(0x397)])==null?void 0x0:_0x581891['cs']},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314[_0x53e7bd(0x140)][_0x53e7bd(0x2ac)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':_0x1c9e60[_0x53e7bd(0x16b)]},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314[_0x53e7bd(0x140)][_0x53e7bd(0x9d)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':_0x1c9e60[_0x53e7bd(0x305)]},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314['CollaborationEvent'][_0x53e7bd(0x35f)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':_0x1c9e60['leaveEvent']},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314[_0x53e7bd(0x140)][_0x53e7bd(0x32d)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':_0x1c9e60['liveShareNewHost']},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314[_0x53e7bd(0x140)][_0x53e7bd(0x2de)]:case _0x181314['CollaborationEvent'][_0x53e7bd(0x2b2)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':_0x1c9e60[_0x53e7bd(0xe9)]},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314[_0x53e7bd(0x140)][_0x53e7bd(0x1ce)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':_0x1c9e60[_0x53e7bd(0x37d)]},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314[_0x53e7bd(0x140)]['MSG_FOR_ERROR']:return{..._0xbe30ec,'data':_0x1c9e60,'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314[_0x53e7bd(0x140)][_0x53e7bd(0x342)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':_0x1c9e60[_0x53e7bd(0x210)]},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314['CollaborationEvent'][_0x53e7bd(0x278)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':_0x1c9e60[_0x53e7bd(0x109)]},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};case _0x181314[_0x53e7bd(0x140)][_0x53e7bd(0x285)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':_0x1c9e60[_0x53e7bd(0xf2)]},'cmd':_0xbe30ec['cmd']};case _0x181314['CollaborationEvent'][_0x53e7bd(0x135)]:return{..._0xbe30ec,'data':{..._0x1c9e60,'data':_0x1c9e60[_0x53e7bd(0x277)]},'cmd':_0xbe30ec[_0x53e7bd(0x3b7)]};default:return _0xbe30ec;}}default:return _0xbe30ec;}}function _0x4f00ce(_0x3a7d4e){var _0x1fb989=_0x3322d1;switch(_0x3a7d4e[_0x1fb989(0x3b7)]){case _0x4397e9[_0x1fb989(0xbe)]:case _0x4397e9[_0x1fb989(0x3a8)]:return JSON[_0x1fb989(0xc1)]({'cmd':_0x3a7d4e['cmd'],'routeKey':_0x3a7d4e[_0x1fb989(0x19a)]});case _0x4397e9[_0x1fb989(0x40c)]:{let _0x4b7643;switch(_0x3a7d4e['data']['eventID']){case _0x181314['CollaborationEvent'][_0x1fb989(0x2ac)]:{_0x4b7643={'eventID':_0x181314[_0x1fb989(0x140)][_0x1fb989(0x2ac)],'updateCursorEvent':_0x3a7d4e[_0x1fb989(0x1df)][_0x1fb989(0x1df)]};break;}case _0x181314['CollaborationEvent'][_0x1fb989(0x35f)]:{_0x4b7643={'eventID':_0x181314[_0x1fb989(0x140)][_0x1fb989(0x35f)],'leaveEvent':_0x3a7d4e[_0x1fb989(0x1df)][_0x1fb989(0x1df)]};break;}case _0x181314[_0x1fb989(0x140)][_0x1fb989(0x9d)]:{_0x4b7643={'eventID':_0x181314[_0x1fb989(0x140)][_0x1fb989(0x9d)],'joinEvent':_0x3a7d4e[_0x1fb989(0x1df)]['data']};break;}case _0x181314[_0x1fb989(0x140)][_0x1fb989(0x32d)]:{_0x4b7643={'eventID':_0x181314[_0x1fb989(0x140)][_0x1fb989(0x32d)],'liveShareNewHost':_0x3a7d4e[_0x1fb989(0x1df)][_0x1fb989(0x1df)]};break;}case _0x181314[_0x1fb989(0x140)][_0x1fb989(0x2b2)]:{_0x4b7643={'eventID':_0x181314[_0x1fb989(0x140)][_0x1fb989(0x2b2)],'liveShareOperation':_0x3a7d4e[_0x1fb989(0x1df)][_0x1fb989(0x1df)]};break;}case _0x181314['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x4b7643={'eventID':_0x181314[_0x1fb989(0x140)][_0x1fb989(0x1ce)],'liveShareTerminate':_0x3a7d4e[_0x1fb989(0x1df)][_0x1fb989(0x1df)]};break;}case _0x181314[_0x1fb989(0x140)]['LIVESHARE_REQUEST_HOST']:{_0x4b7643={'eventID':_0x181314[_0x1fb989(0x140)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3a7d4e[_0x1fb989(0x1df)][_0x1fb989(0x1df)]};break;}case _0x181314[_0x1fb989(0x140)][_0x1fb989(0x2de)]:{_0x4b7643={'eventID':_0x181314[_0x1fb989(0x140)][_0x1fb989(0x2de)]};break;}default:_0x4b7643={'eventID':_0x3a7d4e[_0x1fb989(0x1df)][_0x1fb989(0x204)]};}return JSON[_0x1fb989(0xc1)]({'cmd':_0x3a7d4e['cmd'],'routeKey':_0x3a7d4e['routeKey'],'collaMsg':_0x4b7643});}case _0x4397e9['JOIN']:return JSON[_0x1fb989(0xc1)]({'cmd':_0x3a7d4e[_0x1fb989(0x3b7)],'routeKey':_0x3a7d4e[_0x1fb989(0x19a)],'joinReq':_0x3a7d4e['data']});case _0x4397e9[_0x1fb989(0x29f)]:return JSON[_0x1fb989(0xc1)]({'cmd':_0x3a7d4e[_0x1fb989(0x3b7)],'routeKey':_0x3a7d4e['routeKey'],'leaveReq':_0x3a7d4e[_0x1fb989(0x1df)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x55573c=Object[_0x3322d1(0x1ed)],_0xe46cae=(_0x26f40e,_0x2dbdd3,_0x176f53,_0xaa9f73)=>{var _0x32b7d2=_0x3322d1;for(var _0x2914cc=_0xaa9f73>0x1?void 0x0:_0xaa9f73?_0x55573c(_0x2dbdd3,_0x176f53):_0x2dbdd3,_0xf46455=_0x26f40e[_0x32b7d2(0x27f)]-0x1,_0x22516f;_0xf46455>=0x0;_0xf46455--)(_0x22516f=_0x26f40e[_0xf46455])&&(_0x2914cc=_0x22516f(_0x2914cc)||_0x2914cc);return _0x2914cc;},_0x257bf1=(_0x3d2e52,_0x195f4d)=>(_0x1df042,_0xa4c78c)=>_0x195f4d(_0x1df042,_0xa4c78c,_0x3d2e52);const _0x518d24=_0x8ca058[_0x3322d1(0x208)](_0x3322d1(0x295));function _0x313363(_0x29608c,_0x1354ca,_0x5bf2df){var _0x5746a0=_0x3322d1;return _0x29608c+'/'+_0x1354ca+_0x5746a0(0x1c6)+_0x5bf2df+'/new_changes';}_0x3af782[_0x3322d1(0x17a)]=class extends _0x8ca058[_0x3322d1(0x145)]{constructor(_0x1f7f46,_0x1e4d15,_0x44075a,_0x26c759,_0x44b77b){var _0x4cd7a2=_0x3322d1;super(),this[_0x4cd7a2(0x3d4)]=_0x1f7f46,this[_0x4cd7a2(0x37b)]=_0x1e4d15,this[_0x4cd7a2(0x21d)]=_0x44075a,this['_logService']=_0x26c759,this[_0x4cd7a2(0x37a)]=_0x44b77b;}[_0x3322d1(0x26a)](_0x4a0961){var _0x366afd=_0x3322d1;const _0x3b923d=this[_0x366afd(0x3d4)]['get'](_0x2ab6e2[_0x366afd(0xc5)]);if(!_0x3b923d)throw new Error(_0x366afd(0x1bd));const _0x20e679=_0x3b923d[_0x366afd(0xae)](_0x4a0961);if(!_0x20e679)throw new Error(_0x366afd(0x13d));const _0x598b24=new _0x8ca058[(_0x366afd(0x206))](),_0x2b92a5=new _0x15d677[(_0x366afd(0x1cf))]();_0x598b24[_0x366afd(0x3ae)](_0x20e679[_0x366afd(0x2a2)][_0x366afd(0x330)](_0x44c724=>_0x2b92a5[_0x366afd(0x22b)](_0x44c724))),_0x598b24[_0x366afd(0x3ae)](_0x8ca058[_0x366afd(0x3e1)](()=>_0x2b92a5[_0x366afd(0xa5)]()));const _0x3020fe=new _0x15d677[(_0x366afd(0x1cf))]();_0x598b24['add'](_0x20e679[_0x366afd(0x34c)][_0x366afd(0x330)](_0x48373d=>_0x3020fe[_0x366afd(0x22b)](_0x48373d))),_0x598b24[_0x366afd(0x3ae)](_0x8ca058[_0x366afd(0x3e1)](()=>_0x3020fe[_0x366afd(0xa5)]()));const _0xfc55a9=new _0x15d677[(_0x366afd(0x1cf))]();_0x598b24[_0x366afd(0x3ae)](_0x20e679[_0x366afd(0x118)][_0x366afd(0x330)](_0x478e95=>{var _0x25156f=_0x366afd;const _0x281bc8=_0x1a9568(_0x478e95);_0xfc55a9[_0x25156f(0x22b)](_0x281bc8);})),_0x598b24[_0x366afd(0x3ae)](_0x8ca058[_0x366afd(0x3e1)](()=>_0xfc55a9[_0x366afd(0xa5)]()));let _0x5b07f6;const _0x13793b=()=>{var _0x21d87a=_0x366afd;_0x3020fe['next'](new Event('connection\x20error')),_0x2b92a5[_0x21d87a(0x22b)](new Event(_0x21d87a(0x32c))),_0x5b07f6['close']();};return _0x5b07f6={'memberID':'','close$':_0x2b92a5[_0x366afd(0xa6)](),'error$':_0x3020fe[_0x366afd(0xa6)](),'open$':_0x20e679[_0x366afd(0x34d)],'message$':_0xfc55a9['asObservable'](),'send':_0x2b95bb=>{var _0x544267=_0x366afd;if(_0x2b95bb[_0x544267(0x3b7)]===_0x4397e9[_0x544267(0x40c)]){if(_0x2b95bb[_0x544267(0x1df)][_0x544267(0x204)]===_0x181314[_0x544267(0x140)][_0x544267(0x12f)]){this[_0x544267(0x294)](_0x5b07f6,_0x2b95bb[_0x544267(0x1df)])[_0x544267(0x376)](_0x1757fe=>{var _0x4d24d4=_0x544267;this[_0x4d24d4(0x1d8)]['error'](_0x1757fe),_0x13793b();});return;}if(_0x2b95bb['data'][_0x544267(0x204)]===_0x181314['CollaborationEvent']['FETCH_MISSING']){const _0x2affdc=_0x2b95bb['data'];this['_fetchMissChangesets'](_0x2affdc)[_0x544267(0x237)](_0x49fb29=>{var _0x2d54d1=_0x544267;_0xfc55a9['next']({'cmd':_0x4397e9[_0x2d54d1(0x9e)],'code':_0x575dc8['OK'],'routeKey':_0x2affdc[_0x2d54d1(0x1df)][_0x2d54d1(0xfe)],'routeType':'','data':{'eventID':_0x181314[_0x2d54d1(0x140)][_0x2d54d1(0x23d)],'data':{'changesets':_0x49fb29}}});})[_0x544267(0x376)](_0x4745d6=>{var _0x43a7d3=_0x544267;this[_0x43a7d3(0x1d8)]['error'](_0x4745d6),_0x13793b();});return;}}_0x20e679[_0x544267(0x3e9)](_0x4f00ce(_0x2b95bb));},'close':()=>{var _0x33a1b4=_0x366afd;_0x20e679[_0x33a1b4(0x19b)](),_0x598b24[_0x33a1b4(0x2ed)]();}},_0x5b07f6;}async[_0x3322d1(0x294)](_0x45e5f0,_0x3e1eaa){var _0x55ab60=_0x3322d1,_0x4f1017,_0x35cc6f;const {unitType:_0x1bebc1,unitID:_0x5307a9,changeset:_0x28dd04}=_0x3e1eaa[_0x55ab60(0x1df)],_0x204a2f={'unitID':_0x5307a9,'memberID':_0x45e5f0[_0x55ab60(0x1dc)],'type':_0x1bebc1,'changeset':_0x181314[_0x55ab60(0x2c7)](_0x28dd04)},_0x21f8da=this[_0x55ab60(0x21d)][_0x55ab60(0x146)](_0x2d6b2c),_0x2062eb=this[_0x55ab60(0x21d)][_0x55ab60(0x146)](_0x59e8a5),_0x1a1594=_0x313363((_0x35cc6f=(_0x4f1017=_0x2062eb==null?void 0x0:_0x2062eb['collabSubmitChangesetUrl'])!=null?_0x4f1017:_0x21f8da)!=null?_0x35cc6f:_0x33d959,_0x1bebc1,_0x5307a9);try{await this[_0x55ab60(0x37b)][_0x55ab60(0xcd)](_0x1a1594,{'body':_0x204a2f});}catch(_0x2e0ca8){throw this[_0x55ab60(0x1d8)][_0x55ab60(0x168)](_0x55ab60(0x143),_0x55ab60(0xe5)),_0x2e0ca8;}}async[_0x3322d1(0x2b8)](_0x44edc2){var _0x3e8528=_0x3322d1;const {unitID:_0x17840c,from:_0x68c785,to:_0x3effab,unitType:_0x36ed36}=_0x44edc2['data'];return(await this[_0x3e8528(0x37a)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x17840c,'type':_0x36ed36,'from':_0x68c785,'to':_0x3effab}))[_0x3e8528(0x165)];}},_0x3af782[_0x3322d1(0x17a)]=_0xe46cae([_0x257bf1(0x0,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0x257bf1(0x1,_0x8ca058[_0x3322d1(0x2f8)](_0x2ab6e2[_0x3322d1(0x245)])),_0x257bf1(0x2,_0x8ca058[_0x3322d1(0x23f)]),_0x257bf1(0x3,_0x8ca058[_0x3322d1(0xfb)]),_0x257bf1(0x4,_0x181314[_0x3322d1(0x3c3)])],_0x3af782['CollaborationSocketService']);const _0x1721ca=_0x3322d1(0x1b8);function _0x30140d(_0x27134e){var _0x40c199=_0x3322d1;return JSON[_0x40c199(0xc1)](_0x27134e)['length'];}class _0x2220e4{constructor(){var _0x38f05f=_0x3322d1;_0x41a0d(this,_0x38f05f(0x2e3),new _0x15d677[(_0x38f05f(0x1cf))]()),_0x41a0d(this,_0x38f05f(0x339),this[_0x38f05f(0x2e3)]['asObservable']());}[_0x3322d1(0x256)](_0x521d27){var _0x27c44a=_0x3322d1;this[_0x27c44a(0x2e3)][_0x27c44a(0x22b)](_0x521d27);}}var _0x1ff210=Object[_0x3322d1(0x1ed)],_0x4e8e2e=(_0x1427e9,_0x2cd6bf,_0x276bd1,_0x50e332)=>{for(var _0x22e3be=_0x50e332>0x1?void 0x0:_0x50e332?_0x1ff210(_0x2cd6bf,_0x276bd1):_0x2cd6bf,_0x51f585=_0x1427e9['length']-0x1,_0x441231;_0x51f585>=0x0;_0x51f585--)(_0x441231=_0x1427e9[_0x51f585])&&(_0x22e3be=_0x441231(_0x22e3be)||_0x22e3be);return _0x22e3be;},_0x56039c=(_0xea611,_0x4c60a4)=>(_0x366fe9,_0x3a8174)=>_0x4c60a4(_0x366fe9,_0x3a8174,_0xea611);_0x3af782[_0x3322d1(0x1c5)]=class extends _0x8ca058[_0x3322d1(0x145)]{constructor(_0x15c142,_0x5947bb){var _0x5e4264=_0x3322d1;super(),_0x41a0d(this,_0x5e4264(0x379),new Map()),_0x41a0d(this,_0x5e4264(0xf5),new _0x15d677[(_0x5e4264(0x1cf))]()),(this[_0x5e4264(0x247)]=_0x15c142,this[_0x5e4264(0x378)]=_0x5947bb,this[_0x5e4264(0x241)](_0x15d677[_0x5e4264(0xd6)](this[_0x5e4264(0x247)][_0x5e4264(0x35c)](_0x8ca058['UniverInstanceType']['UNIVER_SHEET'])[_0x5e4264(0x3e7)](_0x518420[_0x5e4264(0x2d5)](_0x155ac0=>_0x155ac0[_0x5e4264(0x12b)]())),this[_0x5e4264(0x247)]['getTypeOfUnitDisposed$'](_0x8ca058[_0x5e4264(0x37c)][_0x5e4264(0x3fd)])[_0x5e4264(0x3e7)](_0x518420['map'](_0x411251=>_0x411251[_0x5e4264(0x12b)]())),this[_0x5e4264(0x247)][_0x5e4264(0x35c)](_0x8ca058[_0x5e4264(0x37c)][_0x5e4264(0x40a)])[_0x5e4264(0x3e7)](_0x518420['map'](_0x3bfc20=>_0x3bfc20['getUnitId']())))['subscribe'](_0x46d019=>this[_0x5e4264(0x41c)](_0x46d019))));}['waitForRoom$'](_0x56b80e){var _0xead1c3=_0x3322d1;return this[_0xead1c3(0x379)][_0xead1c3(0x370)](_0x56b80e)?_0x15d677['of'](this[_0xead1c3(0x379)]['get'](_0x56b80e)):this[_0xead1c3(0xf5)][_0xead1c3(0x3e7)](_0x518420[_0xead1c3(0x2d5)](_0x57d340=>{var _0x37f0e7=_0xead1c3;if(_0x57d340===_0x56b80e)return this[_0x37f0e7(0x379)][_0x37f0e7(0x3dc)](_0x57d340);}));}[_0x3322d1(0xa8)](_0xcdab7c){var _0x1833b8=_0x3322d1;this[_0x1833b8(0x378)]['setCurrentUser'](_0xcdab7c);}[_0x3322d1(0x1fa)](){var _0x1c432d=_0x3322d1;return this[_0x1c432d(0x378)]['getCurrentUser']();}[_0x3322d1(0x153)](_0x332476,_0x1d2c8d){var _0x478c24=_0x3322d1;let _0x1dc860=this[_0x478c24(0x379)][_0x478c24(0x3dc)](_0x332476);_0x1dc860||(_0x1dc860=new _0x2858f2(),this[_0x478c24(0x379)]['set'](_0x332476,_0x1dc860),this['_roomCreated$']['next'](_0x332476)),_0x1dc860['updateMember'](_0x1d2c8d);}[_0x3322d1(0xb9)](_0x4f1f7c,_0x24979a){var _0x46c09c=_0x3322d1;const _0x32ad73=this['_roomMembers'][_0x46c09c(0x3dc)](_0x4f1f7c);_0x32ad73&&_0x32ad73[_0x46c09c(0xb9)](_0x24979a);}[_0x3322d1(0x347)](_0x14116a){var _0x4a0407=_0x3322d1;return this[_0x4a0407(0x379)][_0x4a0407(0x3dc)](_0x14116a);}['getMember'](_0x289add,_0x1113da){var _0xa200a8=_0x3322d1;const _0x1b1854=this[_0xa200a8(0x379)][_0xa200a8(0x3dc)](_0x289add);if(_0x1b1854)return _0x1b1854[_0xa200a8(0x203)](_0x1113da);}['_removeRoom'](_0x33b525){var _0x471a69=_0x3322d1;const _0x4b2a77=this[_0x471a69(0x379)][_0x471a69(0x3dc)](_0x33b525);_0x4b2a77&&(_0x4b2a77[_0x471a69(0x2ed)](),this[_0x471a69(0x379)]['delete'](_0x33b525));}[_0x3322d1(0x2ed)](){var _0x109fb0=_0x3322d1;this[_0x109fb0(0x379)][_0x109fb0(0x239)](_0x471500=>_0x471500[_0x109fb0(0x2ed)]()),this[_0x109fb0(0x379)][_0x109fb0(0x243)](),this['_roomCreated$'][_0x109fb0(0xa5)]();}},_0x3af782['MemberService']=_0x4e8e2e([_0x56039c(0x0,_0x8ca058[_0x3322d1(0x353)]),_0x56039c(0x1,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x2dd)]))],_0x3af782[_0x3322d1(0x1c5)]);class _0x2858f2 extends _0x8ca058[_0x3322d1(0x145)]{constructor(){var _0x436e6b=_0x3322d1;super(...arguments),_0x41a0d(this,_0x436e6b(0x11d),new Map()),_0x41a0d(this,_0x436e6b(0x1f5),new _0x15d677[(_0x436e6b(0x298))](this[_0x436e6b(0x11d)])),_0x41a0d(this,_0x436e6b(0x26f),this['_members$'][_0x436e6b(0xa6)]());}[_0x3322d1(0x2ed)](){var _0x33bd75=_0x3322d1;this['_members'][_0x33bd75(0x243)]();}['updateMember'](_0x59530a){var _0x4a7921=_0x3322d1;this[_0x4a7921(0x11d)][_0x4a7921(0x205)](_0x59530a[_0x4a7921(0x1dc)],_0x59530a),this[_0x4a7921(0x288)]();}[_0x3322d1(0xb9)](_0x9225d6){var _0x304986=_0x3322d1;this['_members'][_0x304986(0x192)](_0x9225d6);}[_0x3322d1(0x203)](_0x367899){var _0x4361ae=_0x3322d1;return this[_0x4361ae(0x11d)][_0x4361ae(0x3dc)](_0x367899);}[_0x3322d1(0x2e5)](){var _0x9fd794=_0x3322d1;return Array[_0x9fd794(0x291)](this[_0x9fd794(0x11d)][_0x9fd794(0x2e7)]());}[_0x3322d1(0x288)](){var _0xbd412a=_0x3322d1;this['_members$']['next'](this[_0xbd412a(0x11d)]);}}var _0xbdbed=Object[_0x3322d1(0x1ed)],_0x31c95c=(_0x2de402,_0x442406,_0xf1f402,_0x38cb97)=>{var _0x4681c8=_0x3322d1;for(var _0x4f925c=_0x38cb97>0x1?void 0x0:_0x38cb97?_0xbdbed(_0x442406,_0xf1f402):_0x442406,_0x1a7807=_0x2de402[_0x4681c8(0x27f)]-0x1,_0x20fb25;_0x1a7807>=0x0;_0x1a7807--)(_0x20fb25=_0x2de402[_0x1a7807])&&(_0x4f925c=_0x20fb25(_0x4f925c)||_0x4f925c);return _0x4f925c;},_0x5f1029=(_0x4ca418,_0x1b1f3c)=>(_0x1cda8d,_0xcfeea2)=>_0x1b1f3c(_0x1cda8d,_0xcfeea2,_0x4ca418),_0x10c319=(_0x1678c1=>(_0x1678c1[_0x1678c1[_0x3322d1(0x181)]=0x0]=_0x3322d1(0x181),_0x1678c1[_0x1678c1[_0x3322d1(0xa2)]=0x1]=_0x3322d1(0xa2),_0x1678c1[_0x1678c1['OFFLINE']=0x2]=_0x3322d1(0x134),_0x1678c1[_0x1678c1[_0x3322d1(0x313)]=0x3]=_0x3322d1(0x313),_0x1678c1))(_0x10c319||{});const _0x5474ab={[_0x575dc8['FAIL']]:_0x3322d1(0x2a0),[_0x575dc8['JOIN_ROOM_FULL']]:_0x3322d1(0x410),[_0x575dc8['JOIN_ROOM_NOT_EXISTS']]:_0x3322d1(0x124),[_0x575dc8[_0x3322d1(0x16c)]]:_0x3322d1(0x323),[_0x575dc8[_0x3322d1(0x1fb)]]:_0x3322d1(0x21b)};_0x3af782['CollaborationSession']=class extends _0x8ca058[_0x3322d1(0x2af)]{constructor(_0x2b267f,_0x5b85e9,_0x44da90,_0x558d25,_0x330ca0,_0x4e800c,_0x154564,_0x882019,_0x458a14){var _0x1771f9=_0x3322d1;super(),_0x41a0d(this,_0x1771f9(0x267),new _0x15d677[(_0x1771f9(0x298))](0x0)),_0x41a0d(this,_0x1771f9(0x36d),this[_0x1771f9(0x267)][_0x1771f9(0xa6)]()),_0x41a0d(this,_0x1771f9(0x1fc),new _0x15d677[(_0x1771f9(0x1cf))]()),_0x41a0d(this,_0x1771f9(0x1e1),this[_0x1771f9(0x1fc)]['asObservable']()),_0x41a0d(this,'_socket'),_0x41a0d(this,_0x1771f9(0x395)),_0x41a0d(this,'_collaborationTimeoutTimer'),_0x41a0d(this,_0x1771f9(0x30a),!0x1),_0x41a0d(this,_0x1771f9(0x37f),null),(this[_0x1771f9(0x2f2)]=_0x2b267f,this['_logService']=_0x44da90,this[_0x1771f9(0x21d)]=_0x558d25,this['_localeService']=_0x330ca0,this[_0x1771f9(0x380)]=_0x4e800c,this[_0x1771f9(0x283)]=_0x154564,this[_0x1771f9(0x407)]=_0x882019,this[_0x1771f9(0xd8)]=_0x458a14,this['_shouldReportTelemetry']=!!this[_0x1771f9(0xd8)],_0x5b85e9[_0x1771f9(0x3e7)](_0x15d677[_0x1771f9(0x123)](this[_0x1771f9(0x40e)]))[_0x1771f9(0x330)](_0x45e9d3=>{var _0x29ec56=_0x1771f9,_0x48ff18;typeof _0x45e9d3>'u'||(this[_0x29ec56(0x113)]=_0x45e9d3,_0x45e9d3?(this[_0x29ec56(0xb5)](_0x45e9d3),this['_socketMessageSubscription']=_0x45e9d3['message$'][_0x29ec56(0x330)](_0x4430bd=>{var _0x36d536=_0x29ec56;_0x4430bd[_0x36d536(0x19a)]===this[_0x36d536(0x2f2)]&&this['_onCombEvent'](_0x4430bd);})):(this[_0x29ec56(0x15c)](),this[_0x29ec56(0x267)][_0x29ec56(0x22b)](0x2),(_0x48ff18=this[_0x29ec56(0x395)])==null||_0x48ff18[_0x29ec56(0x1c0)](),this[_0x29ec56(0x395)]=null));}));}get['sessionStatus'](){var _0x46e347=_0x3322d1;return this['_sessionStatus$'][_0x46e347(0x2df)]();}[_0x3322d1(0x2a6)](){var _0x202441=_0x3322d1,_0x50c4c3,_0x30598e;return(_0x30598e=(_0x50c4c3=this['_socket'])==null?void 0x0:_0x50c4c3[_0x202441(0x1dc)])!=null?_0x30598e:null;}[_0x3322d1(0x2ed)](){var _0x3e9a6d=_0x3322d1;super['dispose'](),this[_0x3e9a6d(0x40e)][_0x3e9a6d(0x22b)](),this[_0x3e9a6d(0x40e)][_0x3e9a6d(0xa5)]();}[_0x3322d1(0x19b)](){var _0x376414=_0x3322d1,_0x1d99f4,_0x8a098e;this[_0x376414(0x15c)](),(_0x1d99f4=this['_socket'])==null||_0x1d99f4[_0x376414(0x3e9)]({'cmd':_0x4397e9[_0x376414(0x29f)],'data':{'roomID':this[_0x376414(0x2f2)]}}),(_0x8a098e=this[_0x376414(0x113)])==null||_0x8a098e[_0x376414(0x19b)](),this[_0x376414(0x1fc)][_0x376414(0xa5)](),this[_0x376414(0x267)]['complete'](),this[_0x376414(0x2ed)]();}['_onCombEvent'](_0x3ec23c){var _0x703cce=_0x3322d1;_0x3ec23c[_0x703cce(0x3b7)]===_0x4397e9[_0x703cce(0x1a2)]?this['_onJoinRoomEvent'](_0x3ec23c):_0x3ec23c[_0x703cce(0x3b7)]===_0x4397e9[_0x703cce(0x9e)]&&this['_onRecvEvent'](_0x3ec23c);}[_0x3322d1(0xb5)](_0x224358){var _0x23becf=_0x3322d1;this['_sessionStatus$'][_0x23becf(0x22b)](0x1),_0x224358[_0x23becf(0x3e9)]({'cmd':_0x4397e9[_0x23becf(0x1a2)],'routeKey':this[_0x23becf(0x2f2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x23becf(0x2f2)]}]}});}[_0x3322d1(0x2d2)](_0xc65754){var _0x47b981=_0x3322d1,_0x5e9954;if(_0xc65754[_0x47b981(0x326)]in _0x5474ab){this[_0x47b981(0x407)][_0x47b981(0x2c0)]({'id':_0x179eb8[_0x47b981(0x399)],'data':_0x5474ab[_0xc65754['code']]}),this['_sessionStatus$'][_0x47b981(0x22b)](0x2);return;}this[_0x47b981(0x267)][_0x47b981(0x22b)](0x3);const _0x5d0db1=(_0x5e9954=_0xc65754['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x5e9954[_0x47b981(0x1de)];_0x5d0db1&&_0x5d0db1[_0x47b981(0x239)](_0x4c38c6=>this[_0x47b981(0x380)][_0x47b981(0x153)](this[_0x47b981(0x2f2)],_0x4c38c6));}[_0x3322d1(0x176)](_0x50341b){var _0x231df0=_0x3322d1;try{const _0x4c2561=_0x50341b[_0x231df0(0x1df)];switch(_0x4c2561['eventID']){case _0x181314[_0x231df0(0x140)]['USERS_ENTER']:this['_onUserJoin'](_0x4c2561),this[_0x231df0(0x1fc)][_0x231df0(0x22b)](_0x4c2561);break;case _0x181314[_0x231df0(0x140)][_0x231df0(0x35f)]:this[_0x231df0(0x2cd)](_0x4c2561),this[_0x231df0(0x1fc)][_0x231df0(0x22b)](_0x4c2561);break;case _0x181314[_0x231df0(0x140)][_0x231df0(0x17d)]:case _0x181314['CollaborationEvent'][_0x231df0(0x419)]:this[_0x231df0(0x29a)](),this[_0x231df0(0x167)](),this[_0x231df0(0x1fc)]['next'](_0x4c2561);break;case _0x181314['CollaborationEvent'][_0x231df0(0x1ee)]:this[_0x231df0(0x1d8)]['error'](_0x231df0(0x21c)+JSON[_0x231df0(0xc1)](_0x4c2561)),this[_0x231df0(0x1fc)]['next'](_0x4c2561);break;case _0x181314['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService'][_0x231df0(0x256)](_0x4c2561[_0x231df0(0x1df)]),this[_0x231df0(0x1fc)][_0x231df0(0x22b)](_0x4c2561);break;default:this['_event$'][_0x231df0(0x22b)](_0x4c2561);}}catch(_0x38f7db){this[_0x231df0(0x1d8)][_0x231df0(0x168)](_0x38f7db,_0x50341b);}}[_0x3322d1(0x178)](_0x3cf1c8){var _0x5ac061=_0x3322d1;this['_memberService']['updateMember'](this[_0x5ac061(0x2f2)],_0x3cf1c8['data']);}[_0x3322d1(0x2cd)](_0x3c72bf){var _0x3e1b7c=_0x3322d1;this[_0x3e1b7c(0x380)][_0x3e1b7c(0xb9)](this[_0x3e1b7c(0x2f2)],_0x3c72bf[_0x3e1b7c(0x1df)][_0x3e1b7c(0x1dc)]);}async[_0x3322d1(0x3e9)](_0x30844e,_0x2fb13d){var _0x32fd1f=_0x3322d1;if(this[_0x32fd1f(0x287)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x30844e[_0x32fd1f(0x204)]===_0x181314[_0x32fd1f(0x140)]['SUBMIT_CHANGESET']&&(this[_0x32fd1f(0x3c2)](),this[_0x32fd1f(0x317)](_0x30844e)),this['_socket'][_0x32fd1f(0x3e9)]({'cmd':_0x4397e9['INGEST'],'routeKey':_0x2fb13d,'routeType':'','data':_0x30844e});}catch(_0x1473da){this[_0x32fd1f(0x1d8)][_0x32fd1f(0x168)](_0x1473da);}}['_scheduleCollaborationTimeoutTimer'](){var _0x49f79c=_0x3322d1,_0x1cefb7;this[_0x49f79c(0x2c6)]=setTimeout(()=>{var _0x2f51eb=_0x49f79c;this[_0x2f51eb(0x2c6)]=null,this['_collaborationUIEventService'][_0x2f51eb(0x2c0)]({'id':_0x179eb8[_0x2f51eb(0x27e)]});},(_0x1cefb7=this['_configService'][_0x49f79c(0x146)](_0x129391))!=null?_0x1cefb7:0x4e20);}[_0x3322d1(0x167)](){var _0x539286=_0x3322d1;this[_0x539286(0x2c6)]&&(clearTimeout(this[_0x539286(0x2c6)]),this['_collaborationTimeoutTimer']=null);}[_0x3322d1(0x317)](_0x545c52){var _0x5ed2b5=_0x3322d1;if(!this[_0x5ed2b5(0x30a)])return;const {data:_0xeff380}=_0x545c52,{unitID:_0x2b2871,changeset:_0x7ad218}=_0xeff380,{mutations:_0x526dd2,type:_0x52924f}=_0x7ad218;this[_0x5ed2b5(0x37f)]={'unitId':_0x2b2871,'type':_0x52924f,'startTime':performance[_0x5ed2b5(0x403)](),'stopTime':0x0,'duration':0x0,'size':_0x30140d(_0x526dd2)};}[_0x3322d1(0x29a)](){var _0x11c48d=_0x3322d1;if(this[_0x11c48d(0x30a)]){if(!this[_0x11c48d(0x37f)]){this[_0x11c48d(0x1d8)][_0x11c48d(0x168)]('[CollaborationSession]',_0x11c48d(0x18a));return;}this[_0x11c48d(0x37f)][_0x11c48d(0x34e)]=performance[_0x11c48d(0x403)](),this[_0x11c48d(0x37f)]['duration']=this[_0x11c48d(0x37f)][_0x11c48d(0x34e)]-this[_0x11c48d(0x37f)]['startTime'],this[_0x11c48d(0xd8)][_0x11c48d(0x11e)](_0x1721ca,this['_telemetryInfo']),this[_0x11c48d(0x37f)]=null;}}[_0x3322d1(0x15c)](){var _0xe27162=_0x3322d1;this[_0xe27162(0x37f)]=null;}},_0x3af782[_0x3322d1(0x262)]=_0x31c95c([_0x5f1029(0x2,_0x8ca058['ILogService']),_0x5f1029(0x3,_0x8ca058['IConfigService']),_0x5f1029(0x4,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058['LocaleService'])),_0x5f1029(0x5,_0x8ca058[_0x3322d1(0x2f8)](_0x3af782[_0x3322d1(0x1c5)])),_0x5f1029(0x6,_0x8ca058[_0x3322d1(0x2f8)](_0x2220e4)),_0x5f1029(0x7,_0x8ca058[_0x3322d1(0x2f8)](_0x2da18d)),_0x5f1029(0x8,_0x8ca058['Optional'](_0x158e00[_0x3322d1(0x2aa)]))],_0x3af782[_0x3322d1(0x262)]);var _0xbb34b1=Object[_0x3322d1(0x1ed)],_0x3f014f=(_0x330c7e,_0x3866fd,_0x503be6,_0x42997a)=>{for(var _0x64d9ab=_0x42997a>0x1?void 0x0:_0x42997a?_0xbb34b1(_0x3866fd,_0x503be6):_0x3866fd,_0x400e6a=_0x330c7e['length']-0x1,_0x5bec60;_0x400e6a>=0x0;_0x400e6a--)(_0x5bec60=_0x330c7e[_0x400e6a])&&(_0x64d9ab=_0x5bec60(_0x64d9ab)||_0x64d9ab);return _0x64d9ab;},_0x47270e=(_0x475545,_0x711593)=>(_0x3f8ed1,_0x15a0fc)=>_0x711593(_0x3f8ed1,_0x15a0fc,_0x475545);_0x3af782[_0x3322d1(0x34a)]=class extends _0x8ca058['Disposable']{constructor(_0x13822c,_0x4a6d64,_0xfc9456,_0x1e5fd0,_0x1e4bdb,_0x5016ac){var _0x524063=_0x3322d1;super(),_0x41a0d(this,_0x524063(0x244),new _0x15d677[(_0x524063(0x298))](void 0x0)),_0x41a0d(this,'socket$',this['_socket$']['asObservable']()),_0x41a0d(this,_0x524063(0x126),null),_0x41a0d(this,_0x524063(0x3a0),new Map()),_0x41a0d(this,'_status$',new _0x15d677[(_0x524063(0x298))](_0x10c319[_0x524063(0x181)])),_0x41a0d(this,'status$',this[_0x524063(0x254)][_0x524063(0xa6)]()),_0x41a0d(this,_0x524063(0x211),!0x1),_0x41a0d(this,_0x524063(0xbf)),_0x41a0d(this,_0x524063(0x2e6),0x0),_0x41a0d(this,'_sendHeartbeatTimer'),_0x41a0d(this,_0x524063(0x333)),(this[_0x524063(0x3d4)]=_0x13822c,this[_0x524063(0x1d8)]=_0x4a6d64,this[_0x524063(0x21d)]=_0xfc9456,this[_0x524063(0x3fb)]=_0x1e5fd0,this[_0x524063(0x407)]=_0x1e4bdb,this['_networkConditionService']=_0x5016ac,this['_listenToNetworkCondition']());}get[_0x3322d1(0x113)](){var _0x5bda24=_0x3322d1;return this['_socket$'][_0x5bda24(0x2df)]();}[_0x3322d1(0x1f1)](){var _0x166360=_0x3322d1;this[_0x166360(0x26e)]&&this['disposeWithMe'](this[_0x166360(0x26e)][_0x166360(0x3e6)][_0x166360(0x330)](_0x1dc453=>{var _0x39bf6e=_0x166360;_0x1dc453&&!this[_0x39bf6e(0x113)]&&this['reconnect'](),_0x1dc453||this[_0x39bf6e(0x31b)]();}));}['dispose'](){var _0x59c3ea=_0x3322d1;super['dispose'](),this[_0x59c3ea(0x1db)](),this[_0x59c3ea(0x1cd)](),this[_0x59c3ea(0x271)](),this['_sessions'][_0x59c3ea(0x239)](_0xba2af9=>_0xba2af9[_0x59c3ea(0x2ed)]()),this[_0x59c3ea(0x3a0)][_0x59c3ea(0x243)](),this[_0x59c3ea(0x254)][_0x59c3ea(0xa5)]();}async['requireSession'](_0x125bf5){var _0x4b71d0=_0x3322d1;if(this[_0x4b71d0(0x3a0)]['has'](_0x125bf5))return this[_0x4b71d0(0x3a0)][_0x4b71d0(0x3dc)](_0x125bf5);this[_0x4b71d0(0x36f)]();const _0x437862=this[_0x4b71d0(0x3d4)][_0x4b71d0(0x137)](_0x3af782[_0x4b71d0(0x262)],_0x125bf5,this[_0x4b71d0(0x244)]['asObservable']());return this[_0x4b71d0(0x3a0)][_0x4b71d0(0x205)](_0x125bf5,_0x437862),_0x437862;}[_0x3322d1(0x1c4)](_0xca804e){var _0x4962cd=_0x3322d1,_0x7bea65;const _0x6cf4d=this[_0x4962cd(0x3a0)][_0x4962cd(0x3dc)](_0xca804e);_0x6cf4d&&(this['_sessions'][_0x4962cd(0x192)](_0xca804e),_0x6cf4d[_0x4962cd(0x19b)]()),this[_0x4962cd(0x3a0)][_0x4962cd(0x373)]||(_0x7bea65=this[_0x4962cd(0x113)])==null||_0x7bea65[_0x4962cd(0x19b)]();}['reconnect'](){var _0x1d6a5c=_0x3322d1;this[_0x1d6a5c(0x2e6)]=0x0,this[_0x1d6a5c(0x1db)](),this[_0x1d6a5c(0xf0)]();}[_0x3322d1(0x1db)](){var _0x1624cd=_0x3322d1;this[_0x1624cd(0xbf)]!=null&&(clearTimeout(this[_0x1624cd(0xbf)]),this[_0x1624cd(0xbf)]=null);}async['_createSocket'](){var _0xff75c9=_0x3322d1,_0x202db2,_0x31f6ad;const _0x2abce5=this[_0xff75c9(0x21d)][_0xff75c9(0x146)](_0x445a3c),_0x5eb10c=this[_0xff75c9(0x21d)]['getConfig'](_0x59e8a5),_0x3f9289=(_0x31f6ad=(_0x202db2=_0x5eb10c==null?void 0x0:_0x5eb10c['collabWebSocketUrl'])!=null?_0x202db2:_0x2abce5)!=null?_0x31f6ad:_0x15a698,_0x4249c7=await this[_0xff75c9(0x3fb)][_0xff75c9(0xae)](_0x3f9289);return this[_0xff75c9(0x126)]=_0x4249c7,_0x4249c7;}async[_0x3322d1(0x36f)](){var _0x86fa92=_0x3322d1,_0x1fe00b,_0x326678;try{const _0x25290f=(_0x326678=(_0x1fe00b=this[_0x86fa92(0x113)])!=null?_0x1fe00b:this[_0x86fa92(0x126)])!=null?_0x326678:await this[_0x86fa92(0x2ae)]();if(_0x25290f){const _0x4cfd34=_0x25290f[_0x86fa92(0x3e9)];_0x25290f[_0x86fa92(0x3e9)]=_0x48e854=>(this[_0x86fa92(0x390)](),_0x4cfd34[_0x86fa92(0x196)](_0x25290f,[_0x48e854])),_0x25290f[_0x86fa92(0x118)]['subscribe'](_0x35f2f8=>this[_0x86fa92(0x20f)](_0x25290f,_0x35f2f8)),_0x25290f[_0x86fa92(0x34c)][_0x86fa92(0x3e7)](_0x518420[_0x86fa92(0x27a)](0x1))[_0x86fa92(0x330)](_0x535703=>this[_0x86fa92(0x1d8)][_0x86fa92(0x168)](_0x86fa92(0x421),_0x535703)),_0x25290f['open$'][_0x86fa92(0x3e7)](_0x518420[_0x86fa92(0x27a)](0x1))[_0x86fa92(0x330)](()=>{var _0x3b8102=_0x86fa92;this[_0x3b8102(0x3ab)](_0x25290f);}),_0x25290f[_0x86fa92(0x2a2)][_0x86fa92(0x3e7)](_0x518420[_0x86fa92(0x27a)](0x1))[_0x86fa92(0x330)](_0x2178f3=>{var _0x2a5f75=_0x86fa92;this[_0x2a5f75(0x1d8)]['debug'](_0x2a5f75(0x3f4),_0x2a5f75(0x27d),_0x2178f3),this[_0x2a5f75(0x1b5)]();});}}catch(_0x41b3e6){this['_logService'][_0x86fa92(0x168)](_0x41b3e6),this[_0x86fa92(0x1b5)]();}}['_onConnectionOpen'](_0x37f165){var _0x299779=_0x3322d1;this[_0x299779(0x1d8)][_0x299779(0x2a1)](_0x299779(0x3f4),_0x299779(0x207)),_0x37f165[_0x299779(0x3e9)]({'cmd':_0x4397e9[_0x299779(0x3a8)]}),this[_0x299779(0x390)]();}['_onOffline'](){var _0x4b90e5=_0x3322d1;this['_socketReady']=!0x1,this[_0x4b90e5(0x126)]=null,this[_0x4b90e5(0x254)][_0x4b90e5(0x22b)](_0x10c319[_0x4b90e5(0x134)]),this[_0x4b90e5(0x244)][_0x4b90e5(0x22b)](null),this[_0x4b90e5(0x1cd)](),this[_0x4b90e5(0x271)]();}[_0x3322d1(0x1b5)](){var _0x3d9f11=_0x3322d1,_0x561019;this[_0x3d9f11(0x31b)](),this[_0x3d9f11(0x2e6)]<((_0x561019=this[_0x3d9f11(0x21d)]['getConfig'](_0x3eb51f))!=null?_0x561019:0x3)?(this[_0x3d9f11(0x407)][_0x3d9f11(0x2c0)]({'id':_0x179eb8[_0x3d9f11(0xeb)]}),this[_0x3d9f11(0xf0)]()):this[_0x3d9f11(0x407)][_0x3d9f11(0x2c0)]({'id':_0x179eb8[_0x3d9f11(0xef)]});}['_tryReconnect'](){var _0x3d316b=_0x3322d1,_0x3e3630;const _0x479125=this[_0x3d316b(0x2e6)],_0x5ace79=this[_0x3d316b(0x21d)][_0x3d316b(0x146)](_0x59e8a5),_0x29926f=_0x479125===0x0?0x0:((_0x3e3630=_0x5ace79==null?void 0x0:_0x5ace79[_0x3d316b(0x226)])!=null?_0x3e3630:0x4e20)*0x2**_0x479125;this[_0x3d316b(0xbf)]=setTimeout(()=>{var _0x15946c=_0x3d316b;clearTimeout(this[_0x15946c(0xbf)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x29926f),this[_0x3d316b(0x2e6)]+=0x1;}[_0x3322d1(0x20f)](_0x5599f1,_0x413282){var _0x4aa772=_0x3322d1;const {cmd:_0x3ac40c}=_0x413282;_0x3ac40c===_0x4397e9[_0x4aa772(0x3a8)]&&!this[_0x4aa772(0x211)]&&(_0x5599f1['memberID']=_0x413282[_0x4aa772(0x1df)][_0x4aa772(0x1dc)],this[_0x4aa772(0x244)][_0x4aa772(0x22b)](_0x5599f1),this[_0x4aa772(0x254)][_0x4aa772(0x22b)](_0x10c319[_0x4aa772(0x313)]),this['_socketReady']=!0x0,this[_0x4aa772(0x126)]=null),_0x3ac40c===_0x4397e9['HEARTBEAT']&&this[_0x4aa772(0x1cd)](),this[_0x4aa772(0x390)]();}[_0x3322d1(0x390)](){var _0x2f112c=_0x3322d1,_0x4ba247;this[_0x2f112c(0x271)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4ba247=this[_0x2f112c(0x21d)]['getConfig'](_0x34514f))!=null?_0x4ba247:0x7530);}['_sendHeartbeat'](){var _0x5d252d=_0x3322d1;this['_socket'][_0x5d252d(0x3e9)]({'cmd':_0x4397e9[_0x5d252d(0xbe)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x49f097=_0x3322d1,_0x1c7029;this[_0x49f097(0x333)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x1c7029=this['_configService'][_0x49f097(0x146)](_0x129391))!=null?_0x1c7029:0x4e20);}[_0x3322d1(0x271)](){var _0x23c272=_0x3322d1;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x23c272(0x2b4)]),this[_0x23c272(0x2b4)]=null);}[_0x3322d1(0x1cd)](){var _0xe9acc0=_0x3322d1;this[_0xe9acc0(0x333)]!=null&&(clearTimeout(this[_0xe9acc0(0x333)]),this[_0xe9acc0(0x333)]=null);}},_0x3af782[_0x3322d1(0x34a)]=_0x3f014f([_0x47270e(0x0,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058['Injector'])),_0x47270e(0x1,_0x8ca058['ILogService']),_0x47270e(0x2,_0x8ca058[_0x3322d1(0x23f)]),_0x47270e(0x3,_0x518d24),_0x47270e(0x4,_0x8ca058[_0x3322d1(0x2f8)](_0x2da18d)),_0x47270e(0x5,_0x8ca058[_0x3322d1(0x3f0)](_0x111d42))],_0x3af782[_0x3322d1(0x34a)]);const _0x5c6b48=[];for(let _0x413c51=0x0;_0x413c51<0x100;++_0x413c51)_0x5c6b48[_0x3322d1(0x193)]((_0x413c51+0x100)[_0x3322d1(0x19c)](0x10)[_0x3322d1(0x3fc)](0x1));function _0x467dc0(_0x344dbd,_0x2fda87=0x0){var _0x1b5bb4=_0x3322d1;return(_0x5c6b48[_0x344dbd[_0x2fda87+0x0]]+_0x5c6b48[_0x344dbd[_0x2fda87+0x1]]+_0x5c6b48[_0x344dbd[_0x2fda87+0x2]]+_0x5c6b48[_0x344dbd[_0x2fda87+0x3]]+'-'+_0x5c6b48[_0x344dbd[_0x2fda87+0x4]]+_0x5c6b48[_0x344dbd[_0x2fda87+0x5]]+'-'+_0x5c6b48[_0x344dbd[_0x2fda87+0x6]]+_0x5c6b48[_0x344dbd[_0x2fda87+0x7]]+'-'+_0x5c6b48[_0x344dbd[_0x2fda87+0x8]]+_0x5c6b48[_0x344dbd[_0x2fda87+0x9]]+'-'+_0x5c6b48[_0x344dbd[_0x2fda87+0xa]]+_0x5c6b48[_0x344dbd[_0x2fda87+0xb]]+_0x5c6b48[_0x344dbd[_0x2fda87+0xc]]+_0x5c6b48[_0x344dbd[_0x2fda87+0xd]]+_0x5c6b48[_0x344dbd[_0x2fda87+0xe]]+_0x5c6b48[_0x344dbd[_0x2fda87+0xf]])[_0x1b5bb4(0x246)]();}let _0x1f6dee;const _0x390efa=new Uint8Array(0x10);function _0x19c4fa(){var _0x2fad7d=_0x3322d1;if(!_0x1f6dee){if(typeof crypto>'u'||!crypto[_0x2fad7d(0xb6)])throw new Error(_0x2fad7d(0x3b3));_0x1f6dee=crypto[_0x2fad7d(0xb6)][_0x2fad7d(0x1c9)](crypto);}return _0x1f6dee(_0x390efa);}const _0x47a750={'randomUUID':typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x3322d1(0x3e2)]['bind'](crypto)};function _0x11af1c(_0x403800,_0x42e3d6,_0x5322d1){var _0x5b1bc2=_0x3322d1,_0x146329,_0xcf12cd,_0x47f1be;if(_0x47a750[_0x5b1bc2(0x3e2)]&&!_0x403800)return _0x47a750[_0x5b1bc2(0x3e2)]();_0x403800=_0x403800||{};const _0x33cdde=(_0x47f1be=(_0xcf12cd=_0x403800[_0x5b1bc2(0x1e4)])!=null?_0xcf12cd:(_0x146329=_0x403800[_0x5b1bc2(0x3fe)])==null?void 0x0:_0x146329['call'](_0x403800))!=null?_0x47f1be:_0x19c4fa();if(_0x33cdde['length']<0x10)throw new Error(_0x5b1bc2(0x38a));return _0x33cdde[0x6]=_0x33cdde[0x6]&0xf|0x40,_0x33cdde[0x8]=_0x33cdde[0x8]&0x3f|0x80,_0x467dc0(_0x33cdde);}const _0x16c67d=_0x8ca058[_0x3322d1(0x208)](_0x3322d1(0x19d));function _0x34603e(_0x32a645){var _0x3725b7=_0x3322d1;return _0x3725b7(0x1a4)+_0x32a645;}var _0x1f9f00=Object['getOwnPropertyDescriptor'],_0x3aa1f4=(_0x18c1cc,_0x46f829,_0x355541,_0x929cb)=>{for(var _0x5e37fa=_0x929cb>0x1?void 0x0:_0x929cb?_0x1f9f00(_0x46f829,_0x355541):_0x46f829,_0x5e29f3=_0x18c1cc['length']-0x1,_0x457eb9;_0x5e29f3>=0x0;_0x5e29f3--)(_0x457eb9=_0x18c1cc[_0x5e29f3])&&(_0x5e37fa=_0x457eb9(_0x5e37fa)||_0x5e37fa);return _0x5e37fa;},_0xf5d458=(_0x28d352,_0x224c3f)=>(_0x1bbdcf,_0x3f879c)=>_0x224c3f(_0x1bbdcf,_0x3f879c,_0x28d352);function _0x2dea2c(_0x49970d){var _0x128f6f=_0x3322d1;const {unitID:_0x275f5a,mutations:_0x25e647}=_0x49970d;return{'unitId':_0x275f5a,'subUnitId':_0x25e647[0x0][_0x128f6f(0x3b6)][_0x128f6f(0x3bc)]};}_0x3af782[_0x3322d1(0x3a2)]=class{constructor(_0x140510,_0x4b8eea,_0x31793f){var _0x4af708=_0x3322d1;this['_injector']=_0x140510,this[_0x4af708(0x3a4)]=_0x4b8eea,this[_0x4af708(0x2f0)]=_0x31793f;}[_0x3322d1(0x23a)](_0x1dd88a){var _0x5405f4=_0x3322d1,_0x57b980,_0x3ba48a,_0x57bf49,_0x2afa6a;const _0x2fa519=this['_injector']['get'](_0x33826e['SheetsSelectionsService']),{unitId:_0x51d8ee,subUnitId:_0x154e60}=_0x2dea2c(_0x1dd88a),_0x420130=_0x2fa519==null?void 0x0:_0x2fa519[_0x5405f4(0x269)](_0x51d8ee)['getCurrentSelections'](),_0xcb1adf=(_0x3ba48a=(_0x57b980=this[_0x5405f4(0x2f0)][_0x5405f4(0xca)](_0x51d8ee))==null?void 0x0:_0x57b980[_0x5405f4(0x220)]())==null?void 0x0:_0x3ba48a['getSheetId']();if(_0x420130[_0x5405f4(0x27f)]===0x0||!_0x51d8ee||!_0x154e60)return;const _0x367035=[{'id':_0x33826e[_0x5405f4(0x13c)]['id'],'params':{'unitId':_0x51d8ee,'subUnitId':_0xcb1adf,'selections':_0x8ca058[_0x5405f4(0x30d)][_0x5405f4(0x122)](_0x420130)}}],_0x4d3052=this[_0x5405f4(0x3a4)][_0x5405f4(0x9f)](_0x1dd88a,_0x367035);if(!_0x181314['isTransformMutationsWithChangesetSuccess'](_0x4d3052))throw _0x4d3052[_0x5405f4(0x168)];const _0x1467d0=(_0x2afa6a=(_0x57bf49=_0x4d3052[_0x5405f4(0x36b)][0x0])==null?void 0x0:_0x57bf49['params'])==null?void 0x0:_0x2afa6a[_0x5405f4(0x26c)];if(Array[_0x5405f4(0x3ac)](_0x1467d0)&&_0x1467d0[_0x5405f4(0x27f)]){if(_0x1467d0[_0x5405f4(0x27f)]===_0x367035[0x0][_0x5405f4(0x3b6)][_0x5405f4(0x26c)][_0x5405f4(0x27f)]&&_0x1467d0[_0x5405f4(0x2f5)]((_0x2bcdf2,_0x4afa7a)=>_0x8ca058[_0x5405f4(0x308)]['equals'](_0x2bcdf2[_0x5405f4(0x125)],_0x367035[0x0][_0x5405f4(0x3b6)][_0x5405f4(0x26c)][_0x4afa7a][_0x5405f4(0x125)])))return;this['_injector'][_0x5405f4(0x3dc)](_0x8ca058['ICommandService'])[_0x5405f4(0x3d2)](_0x33826e['SetSelectionsOperation']['id'],{'unitId':_0x51d8ee,'subUnitId':_0xcb1adf,'selections':_0x1467d0});}}},_0x3af782['SheetTransformSelectionsService']=_0x3aa1f4([_0xf5d458(0x0,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058['Injector'])),_0xf5d458(0x1,_0x181314[_0x3322d1(0x242)]),_0xf5d458(0x2,_0x8ca058[_0x3322d1(0x353)])],_0x3af782['SheetTransformSelectionsService']);const _0xff2d97=_0x8ca058[_0x3322d1(0x208)]('univer-pro.collaboration-client.single-active-unit-service');var _0x496abf=(_0x50b598=>(_0x50b598[_0x50b598[_0x3322d1(0x420)]=0x0]=_0x3322d1(0x420),_0x50b598[_0x50b598[_0x3322d1(0x39f)]=0x1]='OTHER_CLIENTS_EDITING',_0x50b598))(_0x496abf||{});const _0x362871=new Set([_0x33826e[_0x3322d1(0x15e)]['id']]);function _0x58ab6d(_0x2f8d46,_0x28fd72,_0x22062a,_0x548c81,_0x4fbd3e){var _0x4e1b85=_0x3322d1,_0x22d6f0,_0x4cec34,_0x163cbc,_0x151211;const _0x172d01=[];for(const _0x4ad489 of _0x2f8d46)if(_0x362871['has'](_0x4ad489['id'])){if(_0x172d01[_0x4e1b85(0x27f)]>0x0)break;_0x172d01['push'](_0x4ad489);break;}else _0x172d01[_0x4e1b85(0x193)](_0x4ad489);const _0x27584a=(_0x4cec34=(_0x22d6f0=_0x4fbd3e[_0x4e1b85(0x1fa)]())==null?void 0x0:_0x22d6f0[_0x4e1b85(0x221)])!=null?_0x4cec34:_0x4e1b85(0x2b5),_0x51f008=(_0x151211=(_0x163cbc=_0x4fbd3e[_0x4e1b85(0x1fa)]())==null?void 0x0:_0x163cbc[_0x4e1b85(0x1dc)])!=null?_0x151211:_0x4e1b85(0x2b5);return{'changeset':{'unitID':_0x28fd72,'type':_0x181314['mapDocumentTypeToUniverType'](_0x22062a[_0x4e1b85(0x413)](_0x28fd72)),'baseRev':_0x548c81[_0x4e1b85(0xd0)](_0x28fd72),'revision':0x0,'userID':_0x27584a,'memberID':_0x51f008,'mutations':_0x172d01},'pendingMutations':_0x2f8d46[_0x4e1b85(0x3fc)](_0x172d01[_0x4e1b85(0x27f)])};}function _0xe1a186(_0x2951db,_0x267eab,_0x502971,_0x27b2a7,_0x21210e){var _0xf1852b=_0x3322d1,_0x58735a,_0x5a1727,_0x1efaf7,_0x585d33;const _0x532ba2=[_0x2951db['reduce']((_0xffbd70,_0x56bf3d)=>{var _0x2bb4e2=_0x4ac4,_0x31891a;const {id:_0x22de07}=_0xffbd70,{id:_0x346bfe,type:_0xbcf646}=_0x56bf3d,_0x30f9b1=(_0x31891a=_0xffbd70['params'])!=null?_0x31891a:{'actions':null},_0xac9fb=_0x56bf3d[_0x2bb4e2(0x3b6)];if(_0x22de07&&_0x22de07!==_0x346bfe)throw new Error(_0x2bb4e2(0x3e8)+_0x22de07+_0x2bb4e2(0x381)+_0x346bfe+'.');return{..._0xffbd70,'id':_0x346bfe,'type':_0xbcf646,'params':{'unitId':_0xac9fb[_0x2bb4e2(0x414)],'textRanges':_0xac9fb['textRanges'],'actions':_0x8ca058[_0x2bb4e2(0x354)][_0x2bb4e2(0x3d3)](_0x30f9b1['actions'],_0xac9fb[_0x2bb4e2(0x33b)])}};},{})],_0x174a9c=(_0x5a1727=(_0x58735a=_0x21210e[_0xf1852b(0x1fa)]())==null?void 0x0:_0x58735a['userID'])!=null?_0x5a1727:_0xf1852b(0x2b5),_0x372cdf=(_0x585d33=(_0x1efaf7=_0x21210e[_0xf1852b(0x1fa)]())==null?void 0x0:_0x1efaf7[_0xf1852b(0x1dc)])!=null?_0x585d33:_0xf1852b(0x2b5);return{'changeset':{'unitID':_0x267eab,'type':_0x181314[_0xf1852b(0x212)](_0x502971[_0xf1852b(0x413)](_0x267eab)),'baseRev':_0x27b2a7[_0xf1852b(0xd0)](_0x267eab),'revision':0x0,'userID':_0x174a9c,'memberID':_0x372cdf,'mutations':_0x532ba2},'pendingMutations':[]};}function _0x22301e(_0x3ea6d2,_0x55b8b2){var _0x5a9318=_0x3322d1;const _0x4178f0=new _0x15d677[(_0x5a9318(0x112))](0x1);return setTimeout(()=>_0x4178f0['next'](_0x55b8b2),_0x3ea6d2),_0x4178f0[_0x5a9318(0xa6)]()[_0x5a9318(0x3e7)](_0x15d677[_0x5a9318(0x27a)](0x1));}const _0x5e10d8={'id':_0x33826e['EmptyMutation']['id'],'type':_0x8ca058[_0x3322d1(0x3d5)][_0x3322d1(0x139)],'params':{}};var _0x26e489=Object[_0x3322d1(0x1ed)],_0x404901=(_0x558a3d,_0x3119d3,_0x4674fe,_0x16ca86)=>{for(var _0x4b32e4=_0x16ca86>0x1?void 0x0:_0x16ca86?_0x26e489(_0x3119d3,_0x4674fe):_0x3119d3,_0x40b585=_0x558a3d['length']-0x1,_0x3df42d;_0x40b585>=0x0;_0x40b585--)(_0x3df42d=_0x558a3d[_0x40b585])&&(_0x4b32e4=_0x3df42d(_0x4b32e4)||_0x4b32e4);return _0x4b32e4;},_0x216569=(_0x201739,_0x5d99f2)=>(_0x29a755,_0x5c5dcd)=>_0x5d99f2(_0x29a755,_0x5c5dcd,_0x201739),_0x2f39a6=(_0x537cc4=>(_0x537cc4[_0x3322d1(0x1ab)]='not_collab',_0x537cc4['SYNCED']=_0x3322d1(0x213),_0x537cc4[_0x3322d1(0x2e2)]=_0x3322d1(0x302),_0x537cc4[_0x3322d1(0x28b)]=_0x3322d1(0x1f6),_0x537cc4[_0x3322d1(0x30c)]=_0x3322d1(0x252),_0x537cc4['FETCH_MISS']=_0x3322d1(0x2fe),_0x537cc4[_0x3322d1(0x40f)]='conflict',_0x537cc4['OFFLINE']='offline',_0x537cc4))(_0x2f39a6||{});const _0x5603aa=0xea60;class _0x397787{constructor(_0x592bf2,_0xf0c5ca,_0x1730a6,_0x34ba46,_0x12a51c,_0x2d3888,_0x2d6302,_0x949712,_0x345692){var _0x357cbd=_0x3322d1;_0x41a0d(this,_0x357cbd(0x361),null),_0x41a0d(this,_0x357cbd(0x319),[]),(this[_0x357cbd(0xfe)]=_0x592bf2,this[_0x357cbd(0x253)]=_0xf0c5ca,this[_0x357cbd(0x3dd)]=_0x12a51c,this[_0x357cbd(0x1d3)]=_0x2d3888,this[_0x357cbd(0xf3)]=_0x2d6302,this[_0x357cbd(0x2c1)]=_0x949712,this['_localCacheService']=_0x345692,this[_0x357cbd(0x361)]=_0x1730a6,this[_0x357cbd(0x319)]=_0x34ba46);}['_checkMissing'](_0x28a603){var _0x511ec0=_0x3322d1;const _0x1d1771=this['_revisionService'][_0x511ec0(0xd0)](this[_0x511ec0(0xfe)]);return _0x28a603['revision']>_0x1d1771+0x1?(this['_handler'][_0x511ec0(0xc0)]({'from':_0x1d1771,'to':_0x28a603['revision']-0x1}),!0x0):!0x1;}[_0x3322d1(0x2db)](_0x346443){var _0x3cda72=_0x3322d1;this[_0x3cda72(0xf3)]['transformUndoRedo'](this[_0x3cda72(0xfe)],_0x346443);}[_0x3322d1(0x258)](_0x4db532){var _0x250335=_0x3322d1,_0x5bafff,_0x167e26;(_0x167e26=(_0x5bafff=this[_0x250335(0x3dd)])[_0x250335(0x1a1)])==null||_0x167e26[_0x250335(0x369)](_0x5bafff,_0x4db532);}['_transformIMECache'](_0x1df9d5){var _0x1e076e=_0x3322d1,_0x5d919a,_0x2f7ced;return(_0x2f7ced=(_0x5d919a=this[_0x1e076e(0x3dd)])[_0x1e076e(0x3f6)])==null?void 0x0:_0x2f7ced['call'](_0x5d919a,_0x1df9d5);}[_0x3322d1(0x18c)](_0x4ebf71){var _0x5ac249=_0x3322d1,_0x49ded4,_0x2f15c3;return(_0x2f15c3=(_0x49ded4=this[_0x5ac249(0x3dd)])[_0x5ac249(0x22a)])==null?void 0x0:_0x2f15c3[_0x5ac249(0x369)](_0x49ded4,_0x4ebf71);}['_transformRemoteChangesetByIMECache'](_0x4c9367){var _0x278719=_0x3322d1,_0x3c4290,_0x371e91,_0x160c40;return(_0x160c40=(_0x371e91=(_0x3c4290=this[_0x278719(0x3dd)])[_0x278719(0x1f3)])==null?void 0x0:_0x371e91['call'](_0x3c4290,_0x4c9367))!=null?_0x160c40:_0x4c9367;}[_0x3322d1(0x2ce)](_0x3cd16e){var _0x468482=_0x3322d1,_0x5b6422,_0x32a0dd,_0xf92f;return(_0xf92f=(_0x32a0dd=(_0x5b6422=this[_0x468482(0x3dd)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x32a0dd[_0x468482(0x369)](_0x5b6422,_0x3cd16e))!=null?_0xf92f:_0x3cd16e;}[_0x3322d1(0x142)](_0x5df0b1){var _0x55b87d=_0x3322d1,_0x18cacc,_0x24b368;if(this['type']===_0x5922e4[_0x55b87d(0x3fd)]){const {unitID:_0x2d7bea,mutations:_0x2c67ed,memberID:_0x4a2404}=_0x5df0b1,_0x15e565=_0x2c67ed[0x0][_0x55b87d(0x3b6)]['textRanges'];Array[_0x55b87d(0x3ac)](_0x15e565)&&_0x15e565[_0x55b87d(0x27f)]>0x0&&((_0x24b368=(_0x18cacc=this[_0x55b87d(0x3dd)])[_0x55b87d(0x2ad)])==null||_0x24b368[_0x55b87d(0x369)](_0x18cacc,{'unitID':_0x2d7bea,'memberID':_0x4a2404,'textRanges':_0x15e565}));}}['_updateLocalCache'](){var _0x3573e4=_0x3322d1,_0x14eca0;(_0x14eca0=this['_localCacheService'])==null||_0x14eca0[_0x3573e4(0x2cb)](this[_0x3573e4(0xfe)],this[_0x3573e4(0x253)],this[_0x3573e4(0x361)],this[_0x3573e4(0x319)]);}[_0x3322d1(0x290)](){var _0x49b2c1=_0x3322d1;return this[_0x49b2c1(0x2c1)][_0x49b2c1(0xd0)](this[_0x49b2c1(0xfe)]);}[_0x3322d1(0x272)](){var _0x55827c=_0x3322d1;this['_revisionService'][_0x55827c(0x365)](this[_0x55827c(0xfe)]);}[_0x3322d1(0x352)](_0x2db71b){var _0xcbbc5b=_0x3322d1,_0x39b560;let _0x491584=this[_0xcbbc5b(0x3af)](_0x2db71b);_0x491584=this[_0xcbbc5b(0x2ce)](_0x491584);const _0x28420e=_0x8ca058[_0xcbbc5b(0x1f0)](_0x491584[_0xcbbc5b(0x25c)],this[_0xcbbc5b(0x1d3)],{'fromCollab':!0x0});if(!_0x28420e[_0xcbbc5b(0x2b1)])throw _0x28420e[_0xcbbc5b(0x168)]instanceof Error?_0x28420e[_0xcbbc5b(0x168)]:new Error((_0x39b560=_0x28420e['error'])!=null?_0x39b560:_0xcbbc5b(0x1a5));this[_0xcbbc5b(0x320)](_0x491584),this[_0xcbbc5b(0x18c)](_0x491584),this[_0xcbbc5b(0x2db)](_0x2db71b),this[_0xcbbc5b(0x258)](_0x491584),this[_0xcbbc5b(0x142)](_0x491584),this['_incrementRevisionNumber']();}}_0x3af782[_0x3322d1(0x39e)]=class extends _0x397787{constructor(_0x334325,_0x52fcfd,_0x1f76ad,_0x206203,_0x518933,_0x4187dc,_0x54f08c,_0x4833c0,_0x20813a,_0x509ce9){var _0x1da5ba=_0x3322d1;super(_0x334325,_0x52fcfd,null,[],_0x1f76ad,_0x54f08c,_0x4187dc,_0x206203,_0x509ce9),_0x41a0d(this,'status',_0x1da5ba(0x213)),(this['_injector']=_0x518933,this[_0x1da5ba(0x1d8)]=_0x4833c0,this[_0x1da5ba(0x3a4)]=_0x20813a,this[_0x1da5ba(0x1ec)]=_0x509ce9);}[_0x3322d1(0x386)](_0x1adbf7){var _0x544d25=_0x3322d1;const _0x3b4c10=this[_0x544d25(0x3d4)]['createInstance'](_0x3af782[_0x544d25(0x2bc)],this[_0x544d25(0xfe)],this['type'],[_0x1adbf7],this['_handler']);return _0x3b4c10['_schedule'](),_0x3b4c10[_0x544d25(0xf8)](),_0x3b4c10;}[_0x3322d1(0x2fd)](_0x37a005){var _0x26dd8c=_0x3322d1;if(this['_checkMissing'](_0x37a005))return this[_0x26dd8c(0x3d4)][_0x26dd8c(0x137)](_0x3af782['FetchingMissState'],this[_0x26dd8c(0xfe)],this[_0x26dd8c(0x253)],null,[],null,[_0x37a005],this[_0x26dd8c(0x3dd)]);try{const _0xdbd50f=this[_0x26dd8c(0x3a4)][_0x26dd8c(0x9f)](_0x37a005,[_0x5e10d8]);if(_0x181314[_0x26dd8c(0x265)](_0xdbd50f)){const {c1Prime:_0x36fffc}=_0xdbd50f;return this[_0x26dd8c(0x352)](_0x36fffc),this;}throw _0xdbd50f['error'];}catch(_0x2e926f){return this['_logService'][_0x26dd8c(0x168)](_0x2e926f),this[_0x26dd8c(0x171)](!0x1);}}[_0x3322d1(0x171)](_0x293b18){var _0x40fac8=_0x3322d1;return this['_injector'][_0x40fac8(0x137)](_0x3af782[_0x40fac8(0x296)],this[_0x40fac8(0xfe)],this[_0x40fac8(0x253)],null,[],this['_handler'],_0x293b18);}['onRemoteAck'](){var _0x4db7ca=_0x3322d1;throw new Error(_0x4db7ca(0x1d4));}[_0x3322d1(0x282)](){var _0x246970=_0x3322d1;throw new Error(_0x246970(0x33f));}[_0x3322d1(0x35e)](){return this;}['toggleOffline'](){var _0x5b1df0=_0x3322d1;return this[_0x5b1df0(0x3d4)][_0x5b1df0(0x137)](_0x3af782['OfflineState'],this[_0x5b1df0(0xfe)],this[_0x5b1df0(0x253)],null,[],this[_0x5b1df0(0x3dd)]);}[_0x3322d1(0x1cc)](){return this;}[_0x3322d1(0x3f7)](){var _0x5f2817=_0x3322d1;throw new Error(_0x5f2817(0x229));}[_0x3322d1(0xc4)](){var _0x482813=_0x3322d1;const _0x40eca4=this[_0x482813(0x2c1)][_0x482813(0xd0)](this[_0x482813(0xfe)]);return this[_0x482813(0x3dd)][_0x482813(0xc0)]({'from':_0x40eca4,'to':0x0}),this[_0x482813(0x3d4)][_0x482813(0x137)](_0x3af782['FetchingMissState'],this[_0x482813(0xfe)],this[_0x482813(0x253)],null,[],null,[],this[_0x482813(0x3dd)]);}},_0x3af782[_0x3322d1(0x39e)]=_0x404901([_0x216569(0x3,_0x8ca058['Inject'](_0x181314[_0x3322d1(0x412)])),_0x216569(0x4,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0x216569(0x5,_0x8ca058[_0x3322d1(0x104)]),_0x216569(0x6,_0x8ca058[_0x3322d1(0x1b3)]),_0x216569(0x7,_0x8ca058[_0x3322d1(0xfb)]),_0x216569(0x8,_0x181314[_0x3322d1(0x242)]),_0x216569(0x9,_0x8ca058[_0x3322d1(0x3f0)](_0x16c67d))],_0x3af782[_0x3322d1(0x39e)]),_0x3af782[_0x3322d1(0x2bc)]=class extends _0x397787{constructor(_0x3eba54,_0x108fc8,_0x518424,_0x3d0f5e,_0x54c0a3,_0x21d646,_0xfe02b3,_0x512a33,_0x1dd002,_0x1c30dd,_0xd0be06,_0x32d7dd,_0x51b2a5,_0x5afd54){var _0x578e61=_0x3322d1;super(_0x3eba54,_0x108fc8,null,_0x518424,_0x3d0f5e,_0x1dd002,_0x51b2a5,_0x21d646,_0x5afd54),_0x41a0d(this,'status',_0x578e61(0x302)),_0x41a0d(this,_0x578e61(0x1fe),null),_0x41a0d(this,'_sendingTimer',null),(this['_injector']=_0x54c0a3,this[_0x578e61(0x380)]=_0xfe02b3,this['_logService']=_0x512a33,this['_configService']=_0x1c30dd,this['_transformService']=_0xd0be06,this[_0x578e61(0x247)]=_0x32d7dd);}[_0x3322d1(0x386)](_0x28b976){var _0x28ef5e=_0x3322d1;return this[_0x28ef5e(0x319)]['push'](_0x28b976),this[_0x28ef5e(0xf8)](),this;}[_0x3322d1(0x2fd)](_0x4b70d9){var _0x2da128=_0x3322d1;if(this[_0x2da128(0x299)](_0x4b70d9))return this[_0x2da128(0x3c0)](),this[_0x2da128(0x3d4)][_0x2da128(0x137)](_0x3af782[_0x2da128(0x152)],this[_0x2da128(0xfe)],this[_0x2da128(0x253)],null,this[_0x2da128(0x319)],null,[_0x4b70d9],this['_handler']);try{const _0x2ad165=this['_transformService'][_0x2da128(0x9f)](_0x4b70d9,this[_0x2da128(0x319)]);if(_0x181314[_0x2da128(0x265)](_0x2ad165)){const {c1Prime:_0x45cd43,m2Prime:_0x2bc8b0}=_0x2ad165;this[_0x2da128(0x352)](_0x45cd43);const _0x4cc0c4=this[_0x2da128(0x3d4)][_0x2da128(0x137)](_0x3af782[_0x2da128(0x2bc)],this[_0x2da128(0xfe)],this[_0x2da128(0x253)],_0x2bc8b0,this[_0x2da128(0x3dd)]);this[_0x2da128(0x3c0)]();const _0x1cbca7=new Date()[_0x2da128(0x3c1)](),_0x3f9d6b=this[_0x2da128(0x1fe)]?Math[_0x2da128(0x2d1)](this[_0x2da128(0x1fe)]-_0x1cbca7,0x0):this[_0x2da128(0x377)]();return _0x4cc0c4['_schedule'](_0x3f9d6b),_0x4cc0c4;}throw _0x2ad165['error'];}catch(_0x1fe502){return this[_0x2da128(0x1d8)][_0x2da128(0x168)](_0x1fe502),this[_0x2da128(0x171)](!0x1);}}[_0x3322d1(0x21e)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3322d1(0x282)](){var _0x3a3385=_0x3322d1;throw new Error(_0x3a3385(0x2d8));}[_0x3322d1(0x35e)](){return this;}[_0x3322d1(0x2b9)](){var _0x538793=_0x3322d1;return this[_0x538793(0x3c0)](),this[_0x538793(0x3d4)]['createInstance'](_0x3af782['OfflineState'],this[_0x538793(0xfe)],this[_0x538793(0x253)],null,this[_0x538793(0x319)],this[_0x538793(0x3dd)]);}[_0x3322d1(0x1cc)](){return this;}['_schedule'](_0x3d41bb){var _0x33a6be=_0x3322d1;const _0x305af4=_0x3d41bb!=null?_0x3d41bb:this['_getSendChangesetTimeout']();this[_0x33a6be(0x1fe)]=new Date()[_0x33a6be(0x3c1)]()+_0x305af4,this['_sendingTimer']=setTimeout(()=>{var _0xfc433=_0x33a6be;this[_0xfc433(0x3c0)]();let _0x378a82=null;switch(this[_0xfc433(0x253)]){case _0x5922e4[_0xfc433(0x209)]:{_0x378a82=_0x58ab6d(this[_0xfc433(0x319)],this['unitID'],this[_0xfc433(0x247)],this[_0xfc433(0x2c1)],this[_0xfc433(0x380)]);break;}case _0x5922e4['UNIVER_DOC']:{this['_pendingMutations'][_0xfc433(0x2f5)](_0x3dec1e=>_0x3dec1e['id']===_0x1b08ab[_0xfc433(0x20a)]['id'])?_0x378a82=_0xe1a186(this[_0xfc433(0x319)],this[_0xfc433(0xfe)],this[_0xfc433(0x247)],this[_0xfc433(0x2c1)],this[_0xfc433(0x380)]):_0x378a82=_0x58ab6d(this[_0xfc433(0x319)],this[_0xfc433(0xfe)],this[_0xfc433(0x247)],this[_0xfc433(0x2c1)],this['_memberService']);break;}default:throw new Error(_0xfc433(0xa7)+this[_0xfc433(0x253)]+_0xfc433(0x38f));}const {changeset:_0x4dc014,pendingMutations:_0x31996e}=_0x378a82;this[_0xfc433(0x3dd)][_0xfc433(0x25f)](_0x4dc014);const _0x4e63dd=_0x31996e['length']?this['_injector'][_0xfc433(0x137)](_0x3af782[_0xfc433(0x24d)],this[_0xfc433(0xfe)],this[_0xfc433(0x253)],_0x4dc014,_0x31996e,this[_0xfc433(0x3dd)],void 0x0):this[_0xfc433(0x3d4)]['createInstance'](_0x3af782['AwaitingState'],this['unitID'],this[_0xfc433(0x253)],_0x4dc014,this[_0xfc433(0x3dd)]);_0x4e63dd[_0xfc433(0xf8)](),this[_0xfc433(0x3dd)][_0xfc433(0x249)](this,_0x4e63dd);},_0x305af4);}[_0x3322d1(0x377)](){var _0x5856d3=_0x3322d1,_0x1ff0d2;const _0x37f897=this[_0x5856d3(0x21d)][_0x5856d3(0x146)](_0x59e8a5);return(_0x1ff0d2=_0x37f897==null?void 0x0:_0x37f897['sendChangesetTimeout'])!=null?_0x1ff0d2:0x7d0;}[_0x3322d1(0x3f7)](){var _0x1a2e93=_0x3322d1;throw new Error(_0x1a2e93(0x227));}[_0x3322d1(0x3c0)](){var _0x41cb50=_0x3322d1;this['_sendingTimer']!=null&&(clearTimeout(this[_0x41cb50(0xb1)]),this[_0x41cb50(0xb1)]=null);}[_0x3322d1(0x171)](_0x217bc7){var _0x33fbe9=_0x3322d1;return this[_0x33fbe9(0x3c0)](),this[_0x33fbe9(0x3d4)][_0x33fbe9(0x137)](_0x3af782[_0x33fbe9(0x296)],this['unitID'],this[_0x33fbe9(0x253)],null,this[_0x33fbe9(0x319)],this[_0x33fbe9(0x3dd)],_0x217bc7);}},_0x3af782['PendingState']=_0x404901([_0x216569(0x4,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0x216569(0x5,_0x8ca058[_0x3322d1(0x2f8)](_0x181314[_0x3322d1(0x412)])),_0x216569(0x6,_0x8ca058[_0x3322d1(0x2f8)](_0x3af782[_0x3322d1(0x1c5)])),_0x216569(0x7,_0x8ca058[_0x3322d1(0xfb)]),_0x216569(0x8,_0x8ca058[_0x3322d1(0x1b3)]),_0x216569(0x9,_0x8ca058[_0x3322d1(0x23f)]),_0x216569(0xa,_0x181314['ITransformService']),_0x216569(0xb,_0x8ca058['IUniverInstanceService']),_0x216569(0xc,_0x8ca058[_0x3322d1(0x104)]),_0x216569(0xd,_0x8ca058['Optional'](_0x16c67d))],_0x3af782[_0x3322d1(0x2bc)]),_0x3af782['AwaitingState']=class extends _0x397787{constructor(_0x5199fe,_0x26435c,_0x56f3dc,_0x5e0d9f,_0xd38299,_0x714e63,_0x4733e0,_0x118bee,_0x5223a4,_0xf70c0c,_0x39e8d8){var _0x3a8f86=_0x3322d1;super(_0x5199fe,_0x26435c,_0x56f3dc,[],_0x5e0d9f,_0x4733e0,_0xf70c0c,_0x714e63,_0x39e8d8),_0x41a0d(this,_0x3a8f86(0x1d0),_0x3a8f86(0x1f6)),_0x41a0d(this,_0x3a8f86(0x260),0x0),_0x41a0d(this,_0x3a8f86(0x223)),_0x41a0d(this,_0x3a8f86(0x18b)),(this[_0x3a8f86(0x3d4)]=_0xd38299,this[_0x3a8f86(0x1d8)]=_0x118bee,this[_0x3a8f86(0x3a4)]=_0x5223a4);}[_0x3322d1(0x386)](_0x408f1b){var _0x495737=_0x3322d1;this[_0x495737(0x3c0)]();const _0x12c5fe=this['_injector'][_0x495737(0x137)](_0x3af782[_0x495737(0x24d)],this['unitID'],this[_0x495737(0x253)],this[_0x495737(0x361)],[_0x408f1b],this[_0x495737(0x3dd)],this[_0x495737(0x223)]);return _0x12c5fe['_updateLocalCache'](),_0x12c5fe;}[_0x3322d1(0x2fd)](_0x11f684){var _0x564030=_0x3322d1;if(this[_0x564030(0x299)](_0x11f684))return this[_0x564030(0x3c0)](),this[_0x564030(0x3d4)][_0x564030(0x137)](_0x3af782[_0x564030(0x152)],this[_0x564030(0xfe)],this['type'],this[_0x564030(0x361)],[],null,[_0x11f684],this[_0x564030(0x3dd)]);try{const _0x1f64d3=this['_transformService']['transformChangesets']([_0x11f684],[this[_0x564030(0x361)]],!0x1);if(_0x181314['isTransformChangesetsSuccess'](_0x1f64d3)){const {c1Prime:_0x164240,c2Prime:_0x1d6c31}=_0x1f64d3;this[_0x564030(0x352)](_0x164240[0x0]),_0x1d6c31[0x0]['baseRev']=this[_0x564030(0x290)](),this['_clearScheduledTask']();const _0x478caf=this[_0x564030(0x3d4)][_0x564030(0x137)](_0x3af782[_0x564030(0xdc)],this[_0x564030(0xfe)],this[_0x564030(0x253)],_0x1d6c31[0x0],this['_handler']);return _0x478caf[_0x564030(0xf8)](),_0x478caf;}return this['_onConflict'](!0x1);}catch(_0x50bc80){return this['_logService'][_0x564030(0x168)](_0x50bc80),this[_0x564030(0x171)](!0x1);}}[_0x3322d1(0x21e)](_0x4c3abc){var _0x598742=_0x3322d1;this[_0x598742(0x3c0)]();const _0x5b493b=this[_0x598742(0x2c1)]['getCurrentRevOfUnit'](this['unitID']);if(_0x4c3abc[_0x598742(0x29b)]<_0x5b493b-0x1)return this;if(this[_0x598742(0x299)](_0x4c3abc))return this['_injector']['createInstance'](_0x3af782[_0x598742(0x152)],this[_0x598742(0xfe)],this[_0x598742(0x253)],null,[],this[_0x598742(0x361)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x467ead=this[_0x598742(0x3d4)]['createInstance'](_0x3af782[_0x598742(0x39e)],this['unitID'],this[_0x598742(0x253)],this[_0x598742(0x3dd)]);return _0x467ead[_0x598742(0xf8)](),_0x467ead;}[_0x3322d1(0x282)](_0x4c587f){var _0x3b3b07=_0x3322d1;return this[_0x3b3b07(0x171)](!!(_0x4c587f!=null&&_0x4c587f[_0x3b3b07(0x3c8)]));}[_0x3322d1(0x35e)](_0x11d287){var _0xbe9e0b=_0x3322d1;return this[_0xbe9e0b(0x260)]>_0x5603aa?this[_0xbe9e0b(0x2b9)]():(this[_0xbe9e0b(0x223)]=_0x22301e(this[_0xbe9e0b(0x260)],{'timeout':this[_0xbe9e0b(0x260)],'reqId':_0x11d287['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x56d598,timeout:_0x55c1ee})=>{this['_resendWithTimeout'](_0x56d598,_0x55c1ee);}),this);}[_0x3322d1(0x2b9)](){var _0x39eeff=_0x3322d1;return this[_0x39eeff(0x3c0)](),this['_injector'][_0x39eeff(0x137)](_0x3af782[_0x39eeff(0x1e7)],this[_0x39eeff(0xfe)],this[_0x39eeff(0x253)],this[_0x39eeff(0x361)],[],this[_0x39eeff(0x3dd)]);}['toggleOnline'](){return this;}[_0x3322d1(0x3f7)](){var _0x1aa0e9=_0x3322d1;this[_0x1aa0e9(0x3dd)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x166d9f){var _0x4bffb7=_0x3322d1;return this['_clearScheduledTask'](),this[_0x4bffb7(0x3d4)][_0x4bffb7(0x137)](_0x3af782[_0x4bffb7(0x296)],this[_0x4bffb7(0xfe)],this[_0x4bffb7(0x253)],this[_0x4bffb7(0x361)],[],this['_handler'],_0x166d9f);}['_resendWithTimeout'](_0x44bb9c,_0x2292f8){var _0x3e19a9=_0x3322d1,_0x274697;_0x44bb9c===((_0x274697=this['_awaitingChangeset'])==null?void 0x0:_0x274697[_0x3e19a9(0x120)])&&(this[_0x3e19a9(0x3f7)](),this[_0x3e19a9(0x260)]=_0x2292f8===0x0?0x3e8:_0x2292f8*0x2);}[_0x3322d1(0x3c0)](){var _0x53c368=_0x3322d1,_0x12fc3d;(_0x12fc3d=this[_0x53c368(0x18b)])==null||_0x12fc3d[_0x53c368(0x1c0)](),this['_resendTimeout']=0x0;}},_0x3af782[_0x3322d1(0xdc)]=_0x404901([_0x216569(0x4,_0x8ca058['Inject'](_0x8ca058['Injector'])),_0x216569(0x5,_0x8ca058[_0x3322d1(0x2f8)](_0x181314[_0x3322d1(0x412)])),_0x216569(0x6,_0x8ca058['ICommandService']),_0x216569(0x7,_0x8ca058['ILogService']),_0x216569(0x8,_0x181314['ITransformService']),_0x216569(0x9,_0x8ca058[_0x3322d1(0x104)]),_0x216569(0xa,_0x8ca058[_0x3322d1(0x3f0)](_0x16c67d))],_0x3af782[_0x3322d1(0xdc)]),_0x3af782[_0x3322d1(0x24d)]=class extends _0x397787{constructor(_0x4769d1,_0xdfefcd,_0x3593c8,_0x2e8555,_0x2167c9,_0x355414,_0x34d593,_0xa05283,_0x2f3fdd,_0x52e160,_0x2b3cd2,_0x5c6d91,_0x175c33){var _0x64d933=_0x3322d1;super(_0x4769d1,_0xdfefcd,_0x3593c8,_0x2e8555,_0x2167c9,_0x2f3fdd,_0x5c6d91,_0xa05283,_0x175c33),_0x41a0d(this,_0x64d933(0x1d0),_0x64d933(0x252)),_0x41a0d(this,_0x64d933(0x260),0x0),_0x41a0d(this,'_resendTimer'),_0x41a0d(this,_0x64d933(0x18b)),(this['_injector']=_0x34d593,this[_0x64d933(0x1d8)]=_0x52e160,this[_0x64d933(0x3a4)]=_0x2b3cd2,this[_0x64d933(0x1ec)]=_0x175c33,_0x355414&&(this[_0x64d933(0x223)]=_0x355414,this[_0x64d933(0x18b)]=this[_0x64d933(0x223)]['subscribe'](({reqId:_0xc25e,timeout:_0x5198fc})=>{var _0x3415b7=_0x64d933;this[_0x3415b7(0x286)](_0xc25e,_0x5198fc);})));}[_0x3322d1(0x386)](_0x5123a2){var _0x4792f4=_0x3322d1;return this[_0x4792f4(0x319)][_0x4792f4(0x193)](_0x5123a2),this;}['onRemoteChangeset'](_0x16032c){var _0x59ff08=_0x3322d1;if(this[_0x59ff08(0x299)](_0x16032c))return this['_clearScheduledTask'](),this[_0x59ff08(0x3d4)][_0x59ff08(0x137)](_0x3af782['FetchingMissState'],this[_0x59ff08(0xfe)],this[_0x59ff08(0x253)],this[_0x59ff08(0x361)],this[_0x59ff08(0x319)],null,[_0x16032c],this[_0x59ff08(0x3dd)]);try{const _0x54483b=this[_0x59ff08(0x3a4)][_0x59ff08(0x39c)]([_0x16032c],[this['_awaitingChangeset']],!0x1);if(_0x181314['isTransformChangesetsSuccess'](_0x54483b)){const {c1Prime:_0x408c60,c2Prime:_0x2bfb86}=_0x54483b,_0x1c2d3c=this[_0x59ff08(0x3a4)][_0x59ff08(0x9f)](_0x408c60[0x0],this[_0x59ff08(0x319)]);if(_0x181314[_0x59ff08(0x265)](_0x1c2d3c)){const {c1Prime:_0x3a07a5,m2Prime:_0x2433b0}=_0x1c2d3c;return this[_0x59ff08(0x352)](_0x3a07a5),_0x2bfb86[0x0][_0x59ff08(0xa9)]=this[_0x59ff08(0x290)](),this['_clearScheduledTask'](),this[_0x59ff08(0x3d4)][_0x59ff08(0x137)](_0x3af782[_0x59ff08(0x24d)],this[_0x59ff08(0xfe)],this[_0x59ff08(0x253)],_0x2bfb86[0x0],_0x2433b0,this[_0x59ff08(0x3dd)],void 0x0);}throw _0x1c2d3c[_0x59ff08(0x168)];}throw _0x54483b[_0x59ff08(0x168)];}catch(_0x3fa103){return this['_logService'][_0x59ff08(0x168)](_0x3fa103),this[_0x59ff08(0x171)](!0x1);}}[_0x3322d1(0x21e)](_0x44220c){var _0x4ae774=_0x3322d1;if(this['_clearScheduledTask'](),this[_0x4ae774(0x299)](_0x44220c))return this[_0x4ae774(0x3d4)]['createInstance'](_0x3af782[_0x4ae774(0x152)],this[_0x4ae774(0xfe)],this['type'],null,this[_0x4ae774(0x319)],this[_0x4ae774(0x361)],[],this[_0x4ae774(0x3dd)]);this['_incrementRevisionNumber']();const _0x6dde01=this[_0x4ae774(0x3d4)][_0x4ae774(0x137)](_0x3af782['PendingState'],this[_0x4ae774(0xfe)],this[_0x4ae774(0x253)],this[_0x4ae774(0x319)],this[_0x4ae774(0x3dd)]);return _0x6dde01[_0x4ae774(0x411)](),_0x6dde01[_0x4ae774(0xf8)](),_0x6dde01;}[_0x3322d1(0x282)](_0x18cd80){var _0x2b17a6=_0x3322d1;return this[_0x2b17a6(0x171)](!!(_0x18cd80!=null&&_0x18cd80['isPermissionRej']));}[_0x3322d1(0x35e)](_0x1bf964){var _0x5b6679=_0x3322d1;return this[_0x5b6679(0x260)]>_0x5603aa?this[_0x5b6679(0x2b9)]():(this[_0x5b6679(0x223)]=_0x22301e(this[_0x5b6679(0x260)],{'timeout':this[_0x5b6679(0x260)],'reqId':_0x1bf964[_0x5b6679(0x120)]}),this[_0x5b6679(0x18b)]=this[_0x5b6679(0x223)][_0x5b6679(0x330)](({reqId:_0x45e5b0,timeout:_0x5e9900})=>{var _0xde2301=_0x5b6679;this[_0xde2301(0x286)](_0x45e5b0,_0x5e9900);}),this);}[_0x3322d1(0x2b9)](){var _0x4764d0=_0x3322d1;return this[_0x4764d0(0x3c0)](),this[_0x4764d0(0x3d4)][_0x4764d0(0x137)](_0x3af782[_0x4764d0(0x1e7)],this[_0x4764d0(0xfe)],this[_0x4764d0(0x253)],this[_0x4764d0(0x361)],this[_0x4764d0(0x319)],this[_0x4764d0(0x3dd)]);}['toggleOnline'](){return this;}[_0x3322d1(0x3f7)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x3322d1(0x171)](_0xd4155e){var _0x117fbc=_0x3322d1;return this[_0x117fbc(0x3c0)](),this['_injector'][_0x117fbc(0x137)](_0x3af782[_0x117fbc(0x296)],this['unitID'],this[_0x117fbc(0x253)],null,this[_0x117fbc(0x319)],this[_0x117fbc(0x3dd)],_0xd4155e);}[_0x3322d1(0x286)](_0x239b4d,_0x2bf479){var _0x18399b=_0x3322d1,_0x18015a;_0x239b4d===((_0x18015a=this[_0x18399b(0x361)])==null?void 0x0:_0x18015a['reqId'])&&(this[_0x18399b(0x3f7)](),this[_0x18399b(0x260)]=_0x2bf479===0x0?0x3e8:_0x2bf479*0x2);}[_0x3322d1(0x3c0)](){var _0x2704bc=_0x3322d1,_0x315f93;(_0x315f93=this[_0x2704bc(0x18b)])==null||_0x315f93[_0x2704bc(0x1c0)](),this[_0x2704bc(0x260)]=0x0;}},_0x3af782['AwaitingWithPendingState']=_0x404901([_0x216569(0x6,_0x8ca058['Inject'](_0x8ca058['Injector'])),_0x216569(0x7,_0x8ca058[_0x3322d1(0x2f8)](_0x181314['RevisionService'])),_0x216569(0x8,_0x8ca058[_0x3322d1(0x1b3)]),_0x216569(0x9,_0x8ca058[_0x3322d1(0xfb)]),_0x216569(0xa,_0x181314[_0x3322d1(0x242)]),_0x216569(0xb,_0x8ca058[_0x3322d1(0x104)]),_0x216569(0xc,_0x8ca058[_0x3322d1(0x3f0)](_0x16c67d))],_0x3af782['AwaitingWithPendingState']),_0x3af782[_0x3322d1(0x296)]=class extends _0x397787{constructor(_0x5b8c5a,_0x168003,_0x3af711,_0x3c2ecb,_0x29a243,_0xb5e3d1=!0x1,_0x2c8da0,_0x25f44a,_0x15174c,_0x105877,_0x1dedb8,_0x2d2bc9,_0xa5d8e7){var _0x4d3e7c=_0x3322d1;super(_0x5b8c5a,_0x168003,_0x3af711,_0x3c2ecb,_0x29a243,_0x25f44a,_0x15174c,_0x105877,_0xa5d8e7),_0x41a0d(this,_0x4d3e7c(0x1d0),_0x4d3e7c(0x1a7)),(this[_0x4d3e7c(0x38d)]=_0xb5e3d1,this['_permissionService']=_0x2c8da0,this[_0x4d3e7c(0x17e)]=_0x1dedb8,this[_0x4d3e7c(0x407)]=_0x2d2bc9,this['localCacheService']=_0xa5d8e7,this[_0x4d3e7c(0x422)](),this[_0x4d3e7c(0xea)](),this[_0x4d3e7c(0x2f4)]());}[_0x3322d1(0x386)](){return this;}[_0x3322d1(0x2fd)](){return this;}['onRemoteAck'](){return this;}[_0x3322d1(0x282)](){return this;}[_0x3322d1(0x35e)](){return this;}['toggleOffline'](){return this;}[_0x3322d1(0x1cc)](){return this;}['resend'](){var _0x47ff1f=_0x3322d1;throw new Error(_0x47ff1f(0x31c));}[_0x3322d1(0xea)](){var _0x522081=_0x3322d1,_0xef787b;(_0xef787b=this[_0x522081(0x334)])==null||_0xef787b['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x3322d1(0x422)](){var _0x4a6991=_0x3322d1;this['_isPermissionRej']?this['_collaborationUIEventService']['emitEvent']({'id':_0x179eb8[_0x4a6991(0x2fc)]}):this[_0x4a6991(0x407)][_0x4a6991(0x2c0)]({'id':_0x179eb8[_0x4a6991(0x40f)]});}[_0x3322d1(0x2f4)](){var _0x2059ce=_0x3322d1;this[_0x2059ce(0x336)][_0x2059ce(0x303)](new _0x33826e[(_0x2059ce(0x406))](this[_0x2059ce(0xfe)])['id'],!0x1);}},_0x3af782[_0x3322d1(0x296)]=_0x404901([_0x216569(0x6,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058['IPermissionService'])),_0x216569(0x7,_0x8ca058[_0x3322d1(0x1b3)]),_0x216569(0x8,_0x8ca058[_0x3322d1(0x104)]),_0x216569(0x9,_0x8ca058[_0x3322d1(0x2f8)](_0x181314[_0x3322d1(0x412)])),_0x216569(0xa,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x2ba)])),_0x216569(0xb,_0x8ca058[_0x3322d1(0x2f8)](_0x2da18d)),_0x216569(0xc,_0x8ca058[_0x3322d1(0x3f0)](_0x16c67d))],_0x3af782['ConflictState']),_0x3af782[_0x3322d1(0x1e7)]=class extends _0x397787{constructor(_0x53e279,_0x5a2ad9,_0x3d48c2,_0x196c09,_0x23115e,_0x1f4e94,_0x534ed7,_0x442f78,_0x22cd6d,_0x360d42){var _0x579d49=_0x3322d1;super(_0x53e279,_0x5a2ad9,_0x3d48c2,_0x196c09,_0x23115e,_0x442f78,_0x22cd6d,_0x534ed7,_0x360d42),_0x41a0d(this,'status',_0x579d49(0x1af)),this['_injector']=_0x1f4e94;}[_0x3322d1(0x386)](_0x4fdbdc){var _0x10e15c=_0x3322d1;return this[_0x10e15c(0x319)][_0x10e15c(0x193)](_0x4fdbdc),this[_0x10e15c(0xf8)](),this;}['onRemoteChangeset'](_0x156b6b){var _0x56f8cd=_0x3322d1;throw new Error(_0x56f8cd(0x318));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3322d1(0x282)](){var _0x508707=_0x3322d1;throw new Error(_0x508707(0x3c5));}['onRemoteRetry'](){return this;}[_0x3322d1(0x2b9)](){return this;}[_0x3322d1(0x1cc)](){var _0x537493=_0x3322d1;const {_injector:_0x25b0af,_pendingMutations:_0x1d2d44,_awaitingChangeset:_0x2db39c,unitID:_0x473f3b,_handler:_0x3bbae1,type:_0x3f1bea}=this,_0x35cb65=_0x4ef6dc(_0x25b0af,_0x473f3b,_0x3f1bea,_0x2db39c,_0x1d2d44,_0x3bbae1);return _0x35cb65 instanceof _0x3af782[_0x537493(0x2bc)]?_0x35cb65[_0x537493(0x411)]():(_0x35cb65 instanceof _0x3af782[_0x537493(0x24d)]||_0x35cb65 instanceof _0x3af782[_0x537493(0xdc)])&&_0x35cb65[_0x537493(0x3f7)](),_0x35cb65;}[_0x3322d1(0x3f7)](){var _0x279dae=_0x3322d1;throw new Error(_0x279dae(0x33a));}},_0x3af782[_0x3322d1(0x1e7)]=_0x404901([_0x216569(0x5,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0x216569(0x6,_0x8ca058[_0x3322d1(0x2f8)](_0x181314[_0x3322d1(0x412)])),_0x216569(0x7,_0x8ca058[_0x3322d1(0x1b3)]),_0x216569(0x8,_0x8ca058[_0x3322d1(0x104)]),_0x216569(0x9,_0x8ca058[_0x3322d1(0x3f0)](_0x16c67d))],_0x3af782[_0x3322d1(0x1e7)]),_0x3af782['FetchingMissState']=class extends _0x397787{constructor(_0x57c402,_0x58c77f,_0x5b7270,_0x2cf762,_0x15d5f2,_0x2aff4a,_0x3d18aa,_0x10eb5a,_0x450813,_0x3f686a,_0x3ed701,_0x189d5b,_0x2beac7,_0x51a07b){var _0x4c237c=_0x3322d1;super(_0x57c402,_0x58c77f,_0x5b7270,_0x2cf762,_0x3d18aa,_0x3ed701,_0x189d5b,_0x450813,_0x51a07b),_0x41a0d(this,'status',_0x4c237c(0x2fe)),(this[_0x4c237c(0x1ad)]=_0x15d5f2,this[_0x4c237c(0x17f)]=_0x2aff4a,this[_0x4c237c(0x3d4)]=_0x10eb5a,this[_0x4c237c(0x1d8)]=_0x3f686a,this[_0x4c237c(0x3a4)]=_0x2beac7,this['localCacheService']=_0x51a07b);}[_0x3322d1(0x312)](_0x5655b7){var _0x10b5b5=_0x3322d1;try{const _0x347ea2=[..._0x5655b7,...this['_queuedRemoteChangesets']],_0x30c9f7=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x10b5b5(0x150)](_0x5961fb=>!!_0x5961fb);let _0x550529,_0x1cf305;if(_0x30c9f7['length']){const _0x40006a=this[_0x10b5b5(0x3a4)][_0x10b5b5(0x39c)](_0x347ea2,_0x30c9f7,!0x1);if(!_0x181314[_0x10b5b5(0x3c7)](_0x40006a))throw _0x40006a[_0x10b5b5(0x168)];_0x550529=_0x40006a[_0x10b5b5(0x263)],_0x1cf305=_0x40006a[_0x10b5b5(0x117)];}else _0x550529=_0x347ea2,_0x1cf305=[];let _0x2f2b69=this[_0x10b5b5(0x319)];_0x550529[_0x10b5b5(0x239)](_0x575f46=>{var _0x1a0656=_0x10b5b5;let _0x5794aa;if(_0x2f2b69['length']){const _0x27bb52=this[_0x1a0656(0x3a4)]['transformMutationsWithChangeset'](_0x575f46,_0x2f2b69);if(!_0x181314[_0x1a0656(0x265)](_0x27bb52))throw _0x27bb52[_0x1a0656(0x168)];_0x5794aa=_0x27bb52[_0x1a0656(0x263)],_0x2f2b69=_0x27bb52[_0x1a0656(0x36b)];}else _0x5794aa=_0x575f46;this['_executeRemoteChangeset'](_0x5794aa);}),this[_0x10b5b5(0x1ad)]&&this[_0x10b5b5(0x272)](),this[_0x10b5b5(0x361)]&&_0x1cf305['length']&&(_0x1cf305[0x0][_0x10b5b5(0xa9)]=this[_0x10b5b5(0x290)]());let _0x862a96;if(this[_0x10b5b5(0x361)]&&_0x2f2b69[_0x10b5b5(0x27f)]!==0x0)_0x862a96=this[_0x10b5b5(0x3d4)][_0x10b5b5(0x137)](_0x3af782['AwaitingWithPendingState'],this[_0x10b5b5(0xfe)],this[_0x10b5b5(0x253)],_0x1cf305[0x0],_0x2f2b69,this[_0x10b5b5(0x3dd)],void 0x0);else{if(this[_0x10b5b5(0x361)]&&_0x2f2b69[_0x10b5b5(0x27f)]===0x0)_0x1cf305[0x0][_0x10b5b5(0xa9)]=this[_0x10b5b5(0x290)](),_0x862a96=this[_0x10b5b5(0x3d4)][_0x10b5b5(0x137)](_0x3af782[_0x10b5b5(0xdc)],this[_0x10b5b5(0xfe)],this[_0x10b5b5(0x253)],_0x1cf305[0x0],this[_0x10b5b5(0x3dd)]);else{if(_0x2f2b69[_0x10b5b5(0x27f)]!==0x0){const _0x5685b0=this[_0x10b5b5(0x3d4)][_0x10b5b5(0x137)](_0x3af782[_0x10b5b5(0x2bc)],this[_0x10b5b5(0xfe)],this[_0x10b5b5(0x253)],_0x2f2b69,this[_0x10b5b5(0x3dd)]);_0x5685b0[_0x10b5b5(0x411)](),_0x862a96=_0x5685b0;}else _0x862a96=this[_0x10b5b5(0x3d4)][_0x10b5b5(0x137)](_0x3af782['SyncedState'],this[_0x10b5b5(0xfe)],this[_0x10b5b5(0x253)],this[_0x10b5b5(0x3dd)]);}}return _0x862a96[_0x10b5b5(0xf8)](),_0x862a96;}catch(_0x1c63e7){return this['_logService'][_0x10b5b5(0x168)](_0x10b5b5(0x264),_0x10b5b5(0x3ad),_0x1c63e7),this[_0x10b5b5(0x3d4)][_0x10b5b5(0x137)](_0x3af782[_0x10b5b5(0x296)],this[_0x10b5b5(0xfe)],this[_0x10b5b5(0x253)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x10b5b5(0x3dd)],!0x1);}}[_0x3322d1(0x3f7)](){var _0x400a37=_0x3322d1;throw new Error(_0x400a37(0xe3));}[_0x3322d1(0x386)](_0x2b8b6c){var _0x5a7513=_0x3322d1;return this[_0x5a7513(0x319)][_0x5a7513(0x193)](_0x2b8b6c),this;}[_0x3322d1(0x2fd)](_0x824037){var _0x2f3f64=_0x3322d1;return this['_queuedRemoteChangesets'][_0x2f3f64(0x193)](_0x824037),this;}[_0x3322d1(0x21e)](_0x58cfa3){var _0x258ff3=_0x3322d1;if(this[_0x258ff3(0x361)])return this[_0x258ff3(0x1ad)]=this[_0x258ff3(0x361)],this[_0x258ff3(0x361)]=null,this;throw new Error(_0x258ff3(0x2a8));}[_0x3322d1(0x282)](_0x5af76e){var _0x288f6b=_0x3322d1;return this[_0x288f6b(0x171)](!!(_0x5af76e!=null&&_0x5af76e[_0x288f6b(0x3c8)]));}[_0x3322d1(0x35e)](){return this;}['toggleOffline'](){var _0x216450=_0x3322d1;return this[_0x216450(0x3d4)][_0x216450(0x137)](_0x3af782[_0x216450(0x1e7)],this[_0x216450(0xfe)],this['type'],this[_0x216450(0x361)],this['_pendingMutations'],this[_0x216450(0x3dd)]);}[_0x3322d1(0x1cc)](){return this;}[_0x3322d1(0x171)](_0x1de238){var _0xe190f6=_0x3322d1;return this[_0xe190f6(0x3d4)]['createInstance'](_0x3af782['ConflictState'],this['unitID'],this[_0xe190f6(0x253)],this[_0xe190f6(0x361)],this['_pendingMutations'],this[_0xe190f6(0x3dd)],_0x1de238);}},_0x3af782['FetchingMissState']=_0x404901([_0x216569(0x7,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0x216569(0x8,_0x8ca058[_0x3322d1(0x2f8)](_0x181314['RevisionService'])),_0x216569(0x9,_0x8ca058[_0x3322d1(0xfb)]),_0x216569(0xa,_0x8ca058[_0x3322d1(0x1b3)]),_0x216569(0xb,_0x8ca058[_0x3322d1(0x104)]),_0x216569(0xc,_0x181314[_0x3322d1(0x242)]),_0x216569(0xd,_0x8ca058[_0x3322d1(0x3f0)](_0x16c67d))],_0x3af782[_0x3322d1(0x152)]);function _0x4ef6dc(_0x1e4c01,_0x531a3a,_0x838f15,_0x3d391a,_0x29253f,_0x492ee4){var _0x268c9c=_0x3322d1;return _0x3d391a&&_0x29253f['length']?_0x1e4c01[_0x268c9c(0x137)](_0x3af782[_0x268c9c(0x24d)],_0x531a3a,_0x838f15,_0x3d391a,_0x29253f,_0x492ee4,void 0x0):_0x3d391a?_0x1e4c01['createInstance'](_0x3af782['AwaitingState'],_0x531a3a,_0x838f15,_0x3d391a,_0x492ee4):_0x29253f[_0x268c9c(0x27f)]?_0x1e4c01[_0x268c9c(0x137)](_0x3af782[_0x268c9c(0x2bc)],_0x531a3a,_0x838f15,_0x29253f,_0x492ee4):_0x1e4c01[_0x268c9c(0x137)](_0x3af782[_0x268c9c(0x39e)],_0x531a3a,_0x838f15,_0x492ee4);}var _0x1be0e7=Object[_0x3322d1(0x1ed)],_0xe52b6=(_0x5a7e3b,_0x5cd674,_0xec1929,_0x4b8d8f)=>{for(var _0x291eca=_0x4b8d8f>0x1?void 0x0:_0x4b8d8f?_0x1be0e7(_0x5cd674,_0xec1929):_0x5cd674,_0x32e983=_0x5a7e3b['length']-0x1,_0x25096d;_0x32e983>=0x0;_0x32e983--)(_0x25096d=_0x5a7e3b[_0x32e983])&&(_0x291eca=_0x25096d(_0x291eca)||_0x291eca);return _0x291eca;},_0x4d6dd2=(_0x2a7829,_0x514cf6)=>(_0x569a84,_0x5a0445)=>_0x514cf6(_0x569a84,_0x5a0445,_0x2a7829);_0x3af782[_0x3322d1(0x29e)]=class extends _0x8ca058[_0x3322d1(0x2af)]{constructor(_0x3d8c04,_0x137d1a,_0x117eb2,_0x24cb2f,_0x170714,_0x3606fd,_0x5c3dd3,_0x3866d8,_0x8fdd21,_0x5ce237,_0x530efa,_0x111613,_0x1b7fdd){var _0x1388c4=_0x3322d1;super(),_0x41a0d(this,_0x1388c4(0x3ee),new _0x15d677['BehaviorSubject'](null)),_0x41a0d(this,_0x1388c4(0x321),this[_0x1388c4(0x3ee)][_0x1388c4(0xa6)]()),_0x41a0d(this,'_state'),_0x41a0d(this,_0x1388c4(0x197),!0x1),_0x41a0d(this,'_changesetSessionId',''),_0x41a0d(this,'_changesetReqId',0x0),_0x41a0d(this,'status$',this[_0x1388c4(0x321)][_0x1388c4(0x3e7)](_0x15d677[_0x1388c4(0x2d5)](_0x3987ae=>_0x3987ae?_0x3987ae[_0x1388c4(0x1d0)]:_0x2f39a6[_0x1388c4(0x134)]),_0x15d677[_0x1388c4(0x357)](0x1))),_0x41a0d(this,_0x1388c4(0x23e),!0x1),_0x41a0d(this,_0x1388c4(0xd4),[]),(this[_0x1388c4(0xfe)]=_0x3d8c04,this[_0x1388c4(0x111)]=_0x137d1a,this[_0x1388c4(0x366)]=_0x117eb2,this[_0x1388c4(0x3d4)]=_0x24cb2f,this[_0x1388c4(0x12c)]=_0x170714,this[_0x1388c4(0x17e)]=_0x3606fd,this['_revisionService']=_0x5c3dd3,this['_eventService']=_0x3866d8,this[_0x1388c4(0x1d8)]=_0x8fdd21,this[_0x1388c4(0x1d3)]=_0x5ce237,this[_0x1388c4(0x336)]=_0x530efa,this[_0x1388c4(0x255)]=_0x111613,this[_0x1388c4(0x334)]=_0x1b7fdd);}get[_0x3322d1(0x310)](){var _0x126565=_0x3322d1;return this[_0x126565(0x1d9)];}async[_0x3322d1(0x179)](){var _0x2b4cf0=_0x3322d1;if(this[_0x2b4cf0(0x310)])throw new Error(_0x2b4cf0(0x1bb));await this['_init']();}['pauseCollaboration'](){var _0x5b9122=_0x3322d1;return this['_collaborationPaused']=!0x0,_0x8ca058[_0x5b9122(0x3e1)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3322d1(0x372)](_0x48457a){var _0x1c6a13=_0x3322d1;this[_0x1c6a13(0x1f2)](_0x48457a);}[_0x3322d1(0x32f)](_0x5adbde){var _0xd0ca24=_0x3322d1;this[_0xd0ca24(0x1d9)]=_0x5adbde,this[_0xd0ca24(0x3ee)][_0xd0ca24(0x22b)](_0x5adbde);}async['_init'](){var _0x20b68e=_0x3322d1,_0x28ecd4;this[_0x20b68e(0x32f)](await this[_0x20b68e(0x12e)]()),this[_0x20b68e(0x255)]&&((_0x28ecd4=this[_0x20b68e(0x255)])==null||_0x28ecd4[_0x20b68e(0xe2)](this[_0x20b68e(0xfe)]),this[_0x20b68e(0x241)](this[_0x20b68e(0x255)][_0x20b68e(0x1c1)](this[_0x20b68e(0xfe)])[_0x20b68e(0x330)](_0x462778=>{var _0x11e150=_0x20b68e;this[_0x11e150(0x1d8)]['debug'](_0x11e150(0x14a),_0x11e150(0x3ec),_0x462778),_0x462778===_0x496abf[_0x11e150(0x39f)]?(this['_eventService']['emitEvent']({'id':_0x179eb8[_0x11e150(0x306)]}),this[_0x11e150(0x336)]['updatePermissionPoint'](new _0x33826e[(_0x11e150(0x406))](this[_0x11e150(0xfe)])['id'],!0x1),this[_0x11e150(0x336)][_0x11e150(0x3f2)](!0x1)):(this['_permissionService'][_0x11e150(0x303)](new _0x33826e[(_0x11e150(0x406))](this['unitID'])['id'],!0x0),this[_0x11e150(0x336)][_0x11e150(0x3f2)](!0x0));})));let _0x387811=!0x1;return this[_0x20b68e(0x241)](this[_0x20b68e(0x111)][_0x20b68e(0x36d)]['subscribe'](_0x5f2b3f=>{var _0x1d93b6=_0x20b68e;_0x5f2b3f===_0x10c319['ONLINE']?this[_0x1d93b6(0x280)](_0x387811):_0x5f2b3f===_0x10c319['OFFLINE']&&(_0x387811=!0x0,this[_0x1d93b6(0x297)]());})),this['disposeWithMe'](this[_0x20b68e(0x111)][_0x20b68e(0x1e1)][_0x20b68e(0x330)](_0x117f4a=>{var _0xe49150=_0x20b68e;try{switch(_0x117f4a['eventID']){case _0x181314['CollaborationEvent'][_0xe49150(0xc3)]:{this[_0xe49150(0x10a)](_0x181314[_0xe49150(0x37e)](_0x117f4a['data']));break;}case _0x181314['CollaborationEvent'][_0xe49150(0x17d)]:{this[_0xe49150(0x1b9)](_0x117f4a[_0xe49150(0x1df)]);break;}case _0x181314['CollaborationEvent']['CHANGESET_REJ']:{this[_0xe49150(0x3df)]();break;}case _0x181314[_0xe49150(0x140)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x117f4a['data']);break;}case _0x181314[_0xe49150(0x140)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xe49150(0x3a7)](_0x117f4a[_0xe49150(0x1df)]['changesets'][_0xe49150(0x2d5)](_0x32d192=>_0x181314['parseProtocolChangeset'](_0x32d192)));break;}case _0x181314['CollaborationEvent'][_0xe49150(0x31f)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x181314['CollaborationEvent'][_0xe49150(0x135)]:break;}}catch(_0x25297a){throw console['error'](_0xe49150(0x2e8),_0x25297a),_0x25297a;}})),this[_0x20b68e(0x1d9)];}[_0x3322d1(0x3a9)](){var _0x22b422=_0x3322d1;this[_0x22b422(0x23e)]=!0x1;}['_lockTransition'](){var _0x4e5522=_0x3322d1;if(this[_0x4e5522(0x23e)])throw new Error(_0x4e5522(0x3db));this[_0x4e5522(0x23e)]=!0x0;}[_0x3322d1(0x1f2)](_0x177bb1){var _0x2a4fc0=_0x3322d1;this[_0x2a4fc0(0x154)](),this[_0x2a4fc0(0x32f)](this[_0x2a4fc0(0x1d9)]['appendMutation'](_0x177bb1)),this[_0x2a4fc0(0x3a9)]();}['_onRemoteChangeset'](_0x49b380){var _0x111c2b=_0x3322d1;if(!(_0x49b380[_0x111c2b(0x29b)]<=this[_0x111c2b(0x2c1)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x111c2b(0x197)]){this[_0x111c2b(0xd4)][_0x111c2b(0x193)](_0x49b380);return;}this[_0x111c2b(0x217)](_0x49b380);}}[_0x3322d1(0x2c5)](){var _0x43b2e2=_0x3322d1;this['_remoteChangesetQueue'][_0x43b2e2(0x239)](_0x356dec=>this['_applyRemoteChangeset'](_0x356dec)),this['_remoteChangesetQueue']=[];}[_0x3322d1(0x217)](_0x53e623){var _0x56b675=_0x3322d1;const _0x49f1ce=this['_compressMutationService']['interceptor'][_0x56b675(0xe0)](this['_compressMutationService'][_0x56b675(0x368)]['getInterceptPoints']()[_0x56b675(0x3d8)])(_0x53e623[_0x56b675(0x25c)],null)||_0x53e623[_0x56b675(0x25c)],_0x1c62be={..._0x53e623,'mutations':_0x49f1ce};this[_0x56b675(0x154)](),this[_0x56b675(0x32f)](this['_state'][_0x56b675(0x2fd)](_0x1c62be)),this[_0x56b675(0x3a9)]();}[_0x3322d1(0x1b9)](_0xd20878){var _0x5e8e78=_0x3322d1;this[_0x5e8e78(0x154)](),this[_0x5e8e78(0x32f)](this[_0x5e8e78(0x1d9)]['onRemoteAck'](_0xd20878)),this[_0x5e8e78(0x3a9)]();}[_0x3322d1(0x3df)](_0x1ab310){var _0x1839d0=_0x3322d1;this[_0x1839d0(0x154)](),this[_0x1839d0(0x32f)](this[_0x1839d0(0x1d9)][_0x1839d0(0x282)](_0x1ab310)),this[_0x1839d0(0x3a9)]();}['_onRemoteRetry'](_0x35ff60){var _0x4bf482=_0x3322d1;this[_0x4bf482(0x154)](),this[_0x4bf482(0x32f)](this[_0x4bf482(0x1d9)][_0x4bf482(0x35e)](_0x35ff60)),this[_0x4bf482(0x3a9)]();}['_onFetchMissResult'](_0x125c65){var _0x5d334e=_0x3322d1;if(!(this['_state']instanceof _0x3af782['FetchingMissState']))throw new TypeError(_0x5d334e(0x374));const _0x12f66a=_0x125c65[_0x5d334e(0x2d5)](_0x3990d5=>{var _0x4eab3b=_0x5d334e;const _0x22bacd=this[_0x4eab3b(0x12c)][_0x4eab3b(0x368)][_0x4eab3b(0xe0)](this[_0x4eab3b(0x12c)][_0x4eab3b(0x368)]['getInterceptPoints']()[_0x4eab3b(0x3d8)])(_0x3990d5['mutations'],null)||_0x3990d5['mutations'];return{..._0x3990d5,'mutations':_0x22bacd};});this[_0x5d334e(0x154)](),this[_0x5d334e(0x32f)](this[_0x5d334e(0x1d9)]['onMissedChangesetFetched'](_0x12f66a)),this[_0x5d334e(0x3a9)]();}[_0x3322d1(0x297)](){var _0x1025a4=_0x3322d1;this[_0x1025a4(0x154)](),this[_0x1025a4(0x32f)](this[_0x1025a4(0x1d9)]['toggleOffline']()),this['_unlockTransition']();}[_0x3322d1(0x280)](_0x2b7fe3=!0x1){var _0x5482a9=_0x3322d1;this['_lockTransition'](),this[_0x5482a9(0x32f)](this[_0x5482a9(0x1d9)][_0x5482a9(0x1cc)]()),this[_0x5482a9(0x3a9)]();const _0x1b34e4=this[_0x5482a9(0x1d9)];_0x2b7fe3&&_0x1b34e4 instanceof _0x3af782[_0x5482a9(0x39e)]&&(this[_0x5482a9(0x154)](),this[_0x5482a9(0x32f)](_0x1b34e4[_0x5482a9(0xc4)]()),this[_0x5482a9(0x3a9)]());}async[_0x3322d1(0x12e)](){return new Promise(_0xbb9140=>{var _0x4a9d2c=_0x4ac4;this[_0x4a9d2c(0x111)]['sessionStatus$']['pipe'](_0x15d677[_0x4a9d2c(0x27a)](0x1))[_0x4a9d2c(0x330)](async _0x128cae=>{var _0x219ed1=_0x4a9d2c;_0xbb9140(await this[_0x219ed1(0x160)](_0x128cae===_0x10c319[_0x219ed1(0x313)]));});});}[_0x3322d1(0x358)](){var _0x19324e=_0x3322d1;const _0x52e116=this[_0x19324e(0xfe)];return{'onStateChange':(_0x164828,_0x490921)=>{var _0x2bef9e=_0x19324e;if(_0x164828!==this['_state'])throw new Error(_0x2bef9e(0x1aa)+_0x164828['status']+_0x2bef9e(0x22f)+_0x490921[_0x2bef9e(0x1d0)]+_0x2bef9e(0x382)+this[_0x2bef9e(0x1d9)][_0x2bef9e(0x1d0)]);this[_0x2bef9e(0x32f)](_0x490921);},'onSendChangeset':_0x4d6d0b=>{var _0x53b7a1=_0x19324e;_0x4d6d0b['sid']||(_0x4d6d0b['sid']=this[_0x53b7a1(0x27c)],_0x4d6d0b[_0x53b7a1(0x120)]=++this[_0x53b7a1(0x385)]);const _0x4ba902={'eventID':_0x181314[_0x53b7a1(0x140)][_0x53b7a1(0x12f)],'data':{'unitID':_0x4d6d0b[_0x53b7a1(0xfe)],'unitType':this[_0x53b7a1(0x366)],'changeset':_0x4d6d0b,'memberID':this[_0x53b7a1(0x111)][_0x53b7a1(0x2a6)]()}};this['session'][_0x53b7a1(0x3e9)](_0x4ba902,this[_0x53b7a1(0xfe)]);},'onMissingChangesets':({from:_0x3163c6,to:_0x4e4e4b})=>{var _0x2f9988=_0x19324e;this[_0x2f9988(0x1d8)][_0x2f9988(0x2a1)](_0x2f9988(0x14a),_0x2f9988(0xda)+_0x3163c6+_0x2f9988(0x350)+_0x4e4e4b);const _0x5c1b11={'eventID':_0x181314['CollaborationEvent'][_0x2f9988(0x3bb)],'data':{'unitID':_0x52e116,'unitType':this[_0x2f9988(0x366)],'from':_0x3163c6,'to':_0x4e4e4b}};this['session'][_0x2f9988(0x3e9)](_0x5c1b11,this[_0x2f9988(0xfe)]);}};}async[_0x3322d1(0x160)](_0xf489d8){var _0x4c9de4=_0x3322d1,_0x4c5acb,_0x563029,_0x3666f9;const _0x433986=await((_0x4c5acb=this[_0x4c9de4(0x334)])==null?void 0x0:_0x4c5acb['loadOfflineData'](this[_0x4c9de4(0xfe)])),_0x392a2f=(_0x563029=_0x433986==null?void 0x0:_0x433986[_0x4c9de4(0x25c)])!=null?_0x563029:[],_0x2f0384=(_0x3666f9=_0x433986==null?void 0x0:_0x433986[_0x4c9de4(0x2d7)])!=null?_0x3666f9:null,_0x47d6c7=!!(_0x2f0384!=null&&_0x2f0384[_0x4c9de4(0x324)])&&!!(_0x2f0384!=null&&_0x2f0384[_0x4c9de4(0x120)]);this['_changesetSessionId']=_0x47d6c7?_0x2f0384[_0x4c9de4(0x324)]:_0x11af1c(),this['_changesetReqId']=_0x47d6c7?_0x2f0384[_0x4c9de4(0x120)]:0x0;const _0xd8b940=this[_0x4c9de4(0xfe)];try{this[_0x4c9de4(0x292)](_0x2f0384,_0x392a2f);}catch(_0x1acb02){this[_0x4c9de4(0x1d8)][_0x4c9de4(0x168)](_0x1acb02);}const _0x4c9a18=this[_0x4c9de4(0x358)]();if(_0xf489d8){const _0x396549=_0x4ef6dc(this[_0x4c9de4(0x3d4)],_0xd8b940,this[_0x4c9de4(0x366)],_0x2f0384,_0x392a2f,_0x4c9a18);return _0x396549 instanceof _0x3af782[_0x4c9de4(0x2bc)]?_0x396549[_0x4c9de4(0x411)]():(_0x396549 instanceof _0x3af782[_0x4c9de4(0x24d)]||_0x396549 instanceof _0x3af782[_0x4c9de4(0xdc)])&&_0x396549['resend'](),_0x396549;}return this[_0x4c9de4(0x3d4)][_0x4c9de4(0x137)](_0x3af782[_0x4c9de4(0x1e7)],_0xd8b940,this[_0x4c9de4(0x366)],_0x2f0384,_0x392a2f,_0x4c9a18);}[_0x3322d1(0x292)](_0x2782db,_0x4bc502){var _0x5c8db9=_0x3322d1,_0x5b903d,_0x152266;const _0x8c0a05=this[_0x5c8db9(0x12c)][_0x5c8db9(0x368)][_0x5c8db9(0xe0)](this[_0x5c8db9(0x12c)][_0x5c8db9(0x368)]['getInterceptPoints']()[_0x5c8db9(0x3d8)]);(_0x5b903d=_0x8c0a05((_0x2782db==null?void 0x0:_0x2782db[_0x5c8db9(0x25c)])||[],null))==null||_0x5b903d['forEach'](_0x50f5df=>this[_0x5c8db9(0x1d3)]['executeCommand'](_0x50f5df['id'],_0x50f5df[_0x5c8db9(0x3b6)])),(_0x152266=_0x8c0a05(_0x4bc502||[],null))==null||_0x152266['forEach'](_0x423bda=>this[_0x5c8db9(0x1d3)][_0x5c8db9(0x3d2)](_0x423bda['id'],_0x423bda['params']));}},_0x3af782['CollaborationEntity']=_0xe52b6([_0x4d6dd2(0x3,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0x4d6dd2(0x4,_0x8ca058[_0x3322d1(0x2f8)](_0x181314[_0x3322d1(0x351)])),_0x4d6dd2(0x5,_0x8ca058['Inject'](_0x8ca058[_0x3322d1(0x2ba)])),_0x4d6dd2(0x6,_0x8ca058[_0x3322d1(0x2f8)](_0x181314['RevisionService'])),_0x4d6dd2(0x7,_0x8ca058[_0x3322d1(0x2f8)](_0x2da18d)),_0x4d6dd2(0x8,_0x8ca058[_0x3322d1(0xfb)]),_0x4d6dd2(0x9,_0x8ca058['ICommandService']),_0x4d6dd2(0xa,_0x8ca058[_0x3322d1(0x2b7)]),_0x4d6dd2(0xb,_0x8ca058['Optional'](_0xff2d97)),_0x4d6dd2(0xc,_0x8ca058[_0x3322d1(0x3f0)](_0x16c67d))],_0x3af782['CollaborationEntity']),_0x3af782[_0x3322d1(0x32b)]=class extends _0x3af782[_0x3322d1(0x29e)]{constructor(_0x4c476f,_0x8f961a,_0x12238a,_0x2ccabd,_0x10165e,_0xe551bd,_0x3ca1fa,_0x13b012,_0x2b26d7,_0x265fec,_0x32d2c0,_0x119bf7,_0x8b0725){var _0x556a20=_0x3322d1;super(_0x4c476f,_0x12238a,_0x8f961a,_0x2ccabd,_0x10165e,_0xe551bd,_0x3ca1fa,_0x13b012,_0x2b26d7,_0x265fec,_0x32d2c0,_0x119bf7,_0x8b0725),_0x41a0d(this,'_handlerCallback',null),(this[_0x556a20(0xfe)]=_0x4c476f,this[_0x556a20(0x253)]=_0x8f961a);}[_0x3322d1(0x3ef)](_0xc1cce2){var _0x3abd44=_0x3322d1;this[_0x3abd44(0x337)]=_0xc1cce2;}[_0x3322d1(0x2ed)](){var _0x96b079=_0x3322d1;this[_0x96b079(0x337)]=null,super['dispose']();}['_createHandler'](){var _0x2567b9=_0x3322d1;const _0x17992b=super[_0x2567b9(0x358)]();return _0x17992b[_0x2567b9(0x3f6)]=_0x5ea736=>{var _0x119bbf=_0x2567b9,_0x452038,_0x403308;return(_0x403308=(_0x452038=this[_0x119bbf(0x337)])==null?void 0x0:_0x452038[_0x119bbf(0x3f6)])==null?void 0x0:_0x403308[_0x119bbf(0x369)](_0x452038,_0x5ea736);},_0x17992b[_0x2567b9(0x22a)]=_0xcb6105=>{var _0x5becab=_0x2567b9,_0x39e294,_0x4699da;return(_0x4699da=(_0x39e294=this['_handlerCallback'])==null?void 0x0:_0x39e294[_0x5becab(0x22a)])==null?void 0x0:_0x4699da[_0x5becab(0x369)](_0x39e294,_0xcb6105);},_0x17992b[_0x2567b9(0x1a1)]=_0x1c1906=>{var _0x52f9f5=_0x2567b9,_0x8ad13a,_0x2d979d;return(_0x2d979d=(_0x8ad13a=this[_0x52f9f5(0x337)])==null?void 0x0:_0x8ad13a['onTransformSelections'])==null?void 0x0:_0x2d979d[_0x52f9f5(0x369)](_0x8ad13a,_0x1c1906);},_0x17992b[_0x2567b9(0x2ad)]=_0x1b637e=>{var _0x3e500b=_0x2567b9,_0x17ae26,_0x710bf3;return(_0x710bf3=(_0x17ae26=this[_0x3e500b(0x337)])==null?void 0x0:_0x17ae26[_0x3e500b(0x2ad)])==null?void 0x0:_0x710bf3[_0x3e500b(0x369)](_0x17ae26,_0x1b637e);},_0x17992b[_0x2567b9(0x1f3)]=_0x373c81=>{var _0x5e85e8=_0x2567b9,_0x54cbd9,_0x24bf8e,_0x2b6ed2;if(!((_0x54cbd9=this[_0x5e85e8(0x337)])!=null&&_0x54cbd9[_0x5e85e8(0x1f3)]))throw new Error(_0x5e85e8(0x39a));return(_0x2b6ed2=(_0x24bf8e=this['_handlerCallback'])==null?void 0x0:_0x24bf8e[_0x5e85e8(0x1f3)])==null?void 0x0:_0x2b6ed2['call'](_0x24bf8e,_0x373c81);},_0x17992b['onTransformRemoteChangesetByStateCache']=_0x585a5b=>{var _0x203ef5=_0x2567b9,_0x4aa403,_0x419433,_0x483e87;if(!((_0x4aa403=this[_0x203ef5(0x337)])!=null&&_0x4aa403[_0x203ef5(0x2c8)]))throw new Error(_0x203ef5(0x31e));return(_0x483e87=(_0x419433=this['_handlerCallback'])==null?void 0x0:_0x419433[_0x203ef5(0x2c8)])==null?void 0x0:_0x483e87[_0x203ef5(0x369)](_0x419433,_0x585a5b);},_0x17992b;}async['_init'](){var _0x3d3872=_0x3322d1;const _0x283768=await super[_0x3d3872(0x132)]();return this[_0x3d3872(0x241)](this['_commandService']['onCommandExecuted']((_0x42ce6c,_0x4c78dd)=>{var _0xaaa307=_0x3d3872;if(_0x42ce6c[_0xaaa307(0x253)]!==_0x8ca058['CommandType']['MUTATION']||_0x4c78dd!=null&&_0x4c78dd[_0xaaa307(0x1b2)]||_0x4c78dd!=null&&_0x4c78dd[_0xaaa307(0xdb)]||_0x42ce6c['id']===_0x1b08ab[_0xaaa307(0x20a)]['id'])return;const _0x300b37=_0x42ce6c[_0xaaa307(0x3b6)];if((_0x300b37==null?void 0x0:_0x300b37[_0xaaa307(0x414)])!==this[_0xaaa307(0xfe)])return;const _0x5bc50d=_0x42ce6c,_0x2b04c9=this[_0xaaa307(0x12c)]['interceptor'][_0xaaa307(0xe0)](this[_0xaaa307(0x12c)][_0xaaa307(0x368)][_0xaaa307(0x28d)]()[_0xaaa307(0x14c)])([_0x5bc50d],null)||[_0x5bc50d];this[_0xaaa307(0x1f2)](_0x2b04c9[0x0]);})),_0x283768;}},_0x3af782[_0x3322d1(0x32b)]=_0xe52b6([_0x4d6dd2(0x3,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0x4d6dd2(0x4,_0x8ca058[_0x3322d1(0x2f8)](_0x181314['CompressMutationService'])),_0x4d6dd2(0x5,_0x8ca058['Inject'](_0x8ca058['LocaleService'])),_0x4d6dd2(0x6,_0x8ca058['Inject'](_0x181314[_0x3322d1(0x412)])),_0x4d6dd2(0x7,_0x8ca058['Inject'](_0x2da18d)),_0x4d6dd2(0x8,_0x8ca058['ILogService']),_0x4d6dd2(0x9,_0x8ca058[_0x3322d1(0x1b3)]),_0x4d6dd2(0xa,_0x8ca058[_0x3322d1(0x2b7)]),_0x4d6dd2(0xb,_0x8ca058[_0x3322d1(0x3f0)](_0xff2d97)),_0x4d6dd2(0xc,_0x8ca058[_0x3322d1(0x3f0)](_0x16c67d))],_0x3af782['DocCollaborationEntity']),_0x3af782[_0x3322d1(0x19e)]=class extends _0x3af782['CollaborationEntity']{constructor(_0x3a888f,_0x590160,_0xe52188,_0x582a8f,_0x113b9,_0x1a2e25,_0x41df89,_0x3dc88d,_0x278051,_0x36405a,_0x420196,_0x1e3e26,_0x6e4915,_0x58fbbc){var _0x4e9e78=_0x3322d1;super(_0x3a888f,_0xe52188,_0x590160,_0x582a8f,_0x113b9,_0x1a2e25,_0x41df89,_0x278051,_0x36405a,_0x420196,_0x1e3e26,_0x6e4915,_0x58fbbc),this[_0x4e9e78(0xfe)]=_0x3a888f,this[_0x4e9e78(0x253)]=_0x590160,this[_0x4e9e78(0x3cb)]=_0x3dc88d;}[_0x3322d1(0x358)](){var _0x47327e=_0x3322d1;const _0x269aab=super['_createHandler']();return _0x269aab[_0x47327e(0x1a1)]=_0x4b7a22=>this['_sheetTransformSelectionsService'][_0x47327e(0x23a)](_0x4b7a22),_0x269aab;}async['_init'](){var _0x539a8f=_0x3322d1;const _0x5da48c=await super[_0x539a8f(0x132)]();return this[_0x539a8f(0x241)](this[_0x539a8f(0x1d3)][_0x539a8f(0x114)]((_0x18797b,_0x4692db)=>{var _0x29859c=_0x539a8f;if(_0x18797b['type']!==_0x8ca058[_0x29859c(0x3d5)][_0x29859c(0x139)]||_0x4692db!=null&&_0x4692db[_0x29859c(0x1b2)]||_0x4692db!=null&&_0x4692db[_0x29859c(0xdb)])return;const _0x337f4b=_0x18797b[_0x29859c(0x3b6)];if((_0x337f4b==null?void 0x0:_0x337f4b[_0x29859c(0x414)])!==this['unitID'])return;const _0x4fdcc1=_0x18797b,_0x2ea965=this['_compressMutationService']['interceptor'][_0x29859c(0xe0)](this[_0x29859c(0x12c)][_0x29859c(0x368)][_0x29859c(0x28d)]()[_0x29859c(0x14c)])([_0x4fdcc1],null)||[_0x4fdcc1];this[_0x29859c(0x1f2)](_0x2ea965[0x0]);})),_0x5da48c;}},_0x3af782[_0x3322d1(0x19e)]=_0xe52b6([_0x4d6dd2(0x3,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0x4d6dd2(0x4,_0x8ca058['Inject'](_0x181314[_0x3322d1(0x351)])),_0x4d6dd2(0x5,_0x8ca058['Inject'](_0x8ca058[_0x3322d1(0x2ba)])),_0x4d6dd2(0x6,_0x8ca058[_0x3322d1(0x2f8)](_0x181314[_0x3322d1(0x412)])),_0x4d6dd2(0x7,_0x8ca058[_0x3322d1(0x2f8)](_0x3af782[_0x3322d1(0x3a2)])),_0x4d6dd2(0x8,_0x8ca058['Inject'](_0x2da18d)),_0x4d6dd2(0x9,_0x8ca058[_0x3322d1(0xfb)]),_0x4d6dd2(0xa,_0x8ca058['ICommandService']),_0x4d6dd2(0xb,_0x8ca058[_0x3322d1(0x2b7)]),_0x4d6dd2(0xc,_0x8ca058[_0x3322d1(0x3f0)](_0xff2d97)),_0x4d6dd2(0xd,_0x8ca058[_0x3322d1(0x3f0)](_0x16c67d))],_0x3af782[_0x3322d1(0x19e)]);var _0x4e6cbc=Object[_0x3322d1(0x1ed)],_0x5c937f=(_0x79e8da,_0x3ecf5e,_0x551f3c,_0x6e4e0e)=>{var _0x696a39=_0x3322d1;for(var _0xae5778=_0x6e4e0e>0x1?void 0x0:_0x6e4e0e?_0x4e6cbc(_0x3ecf5e,_0x551f3c):_0x3ecf5e,_0x44d665=_0x79e8da[_0x696a39(0x27f)]-0x1,_0x5c451a;_0x44d665>=0x0;_0x44d665--)(_0x5c451a=_0x79e8da[_0x44d665])&&(_0xae5778=_0x5c451a(_0xae5778)||_0xae5778);return _0xae5778;},_0x5381a9=(_0x199530,_0x266c5e)=>(_0xe29194,_0x17e47d)=>_0x266c5e(_0xe29194,_0x17e47d,_0x199530);_0x3af782[_0x3322d1(0x3f3)]=class extends _0x8ca058[_0x3322d1(0x2af)]{constructor(_0xdd9da7,_0x1d2e30,_0x3dc2b6){var _0x3194cc=_0x3322d1;super(),_0x41a0d(this,_0x3194cc(0x128),new Map()),_0x41a0d(this,_0x3194cc(0x240),new _0x15d677[(_0x3194cc(0x1cf))]()),_0x41a0d(this,_0x3194cc(0x367),this[_0x3194cc(0x240)][_0x3194cc(0xa6)]()),(this[_0x3194cc(0x3d4)]=_0xdd9da7,this[_0x3194cc(0x13b)]=_0x1d2e30,this[_0x3194cc(0x247)]=_0x3dc2b6,this[_0x3194cc(0x132)]());}[_0x3322d1(0x2ed)](){var _0x3fc997=_0x3322d1;super['dispose'](),this[_0x3fc997(0x128)][_0x3fc997(0x239)](_0x55b098=>_0x55b098['dispose']()),this[_0x3fc997(0x128)][_0x3fc997(0x243)]();}[_0x3322d1(0x289)](_0x37ccaa){var _0x70284b=_0x3322d1,_0x31bb66;return(_0x31bb66=this['_entities'][_0x70284b(0x3dc)](_0x37ccaa))!=null?_0x31bb66:null;}[_0x3322d1(0x133)](_0x3066a0){var _0x5247ab=_0x3322d1;const _0x44d348=this['getCollabEntity'](_0x3066a0);return _0x44d348?_0x15d677['of'](_0x44d348):this['_entityInit$'][_0x5247ab(0x3e7)](_0x518420[_0x5247ab(0x150)](_0x3c0912=>_0x3c0912[_0x5247ab(0xfe)]===_0x3066a0));}[_0x3322d1(0x26b)](_0x3ff8f8){var _0x3bd7c5=_0x3322d1;return _0x15d677[_0x3bd7c5(0x2cf)](this[_0x3bd7c5(0x133)](_0x3ff8f8)['pipe'](_0x518420[_0x3bd7c5(0x2d5)](()=>{})));}[_0x3322d1(0x132)](){var _0x459577=_0x3322d1;this[_0x459577(0x247)]['getTypeOfUnitAdded$'](_0x8ca058[_0x459577(0x37c)][_0x459577(0x209)])[_0x459577(0x3e7)](_0x15d677[_0x459577(0x123)](this[_0x459577(0x40e)]),_0x518420[_0x459577(0x3a5)](0x10))[_0x459577(0x330)](async _0x45d217=>{var _0x3163e5=_0x459577;const _0x178417=_0x45d217[_0x3163e5(0x12b)](),_0x58e4ed=await this[_0x3163e5(0x3b9)](_0x178417,_0x5922e4['UNIVER_SHEET']);this[_0x3163e5(0x128)][_0x3163e5(0x205)](_0x178417,_0x58e4ed);}),this[_0x459577(0x247)]['getTypeOfUnitAdded$'](_0x8ca058[_0x459577(0x37c)][_0x459577(0x3fd)])[_0x459577(0x3e7)](_0x15d677[_0x459577(0x123)](this[_0x459577(0x40e)]),_0x518420[_0x459577(0x3a5)](0x10))[_0x459577(0x3e7)](_0x518420[_0x459577(0x150)](_0x4bed13=>!_0x4bed13[_0x459577(0x12b)]()[_0x459577(0x166)]('__')))[_0x459577(0x330)](async _0x490e35=>{var _0x329eba=_0x459577;const _0x554b45=_0x490e35[_0x329eba(0x12b)](),_0x4fa7eb=await this[_0x329eba(0x3b9)](_0x554b45,_0x5922e4[_0x329eba(0x3fd)]);this[_0x329eba(0x128)]['set'](_0x554b45,_0x4fa7eb);}),_0x15d677[_0x459577(0xd6)](this[_0x459577(0x247)][_0x459577(0x35c)](_0x8ca058[_0x459577(0x37c)][_0x459577(0x209)]),this[_0x459577(0x247)][_0x459577(0x35c)](_0x8ca058['UniverInstanceType']['UNIVER_DOC']))[_0x459577(0x3e7)](_0x15d677[_0x459577(0x123)](this[_0x459577(0x40e)]))[_0x459577(0x330)](_0x358fc6=>{var _0x5e5146=_0x459577;const _0x2eefc0=_0x358fc6[_0x5e5146(0x12b)](),_0xdf639d=this['_entities'][_0x5e5146(0x3dc)](_0x2eefc0);_0xdf639d&&(_0xdf639d[_0x5e5146(0x2ed)](),this[_0x5e5146(0x128)]['delete'](_0x2eefc0));});}async[_0x3322d1(0x3b9)](_0xa4018e,_0x3e436c){var _0x4d6745=_0x3322d1;const _0x3a8bd3=await this['_collabSessionService']['requireSession'](_0xa4018e),_0x51b32b=this[_0x4d6745(0x3d4)][_0x4d6745(0x137)](this[_0x4d6745(0x182)](_0x3e436c),_0xa4018e,_0x3e436c,_0x3a8bd3);return await _0x51b32b['init'](),this[_0x4d6745(0x240)][_0x4d6745(0x22b)](_0x51b32b),_0x51b32b;}[_0x3322d1(0x182)](_0x247f94){var _0x4c1297=_0x3322d1;switch(_0x247f94){case _0x5922e4['UNIVER_DOC']:return _0x3af782[_0x4c1297(0x32b)];case _0x5922e4[_0x4c1297(0x209)]:return _0x3af782[_0x4c1297(0x19e)];default:throw new Error(_0x4c1297(0x1e6)+_0x247f94);}}},_0x3af782['CollaborationController']=_0x5c937f([_0x5381a9(0x0,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0x5381a9(0x1,_0x8ca058['Inject'](_0x3af782[_0x3322d1(0x34a)])),_0x5381a9(0x2,_0x8ca058[_0x3322d1(0x353)])],_0x3af782[_0x3322d1(0x3f3)]);var _0x274976=Object[_0x3322d1(0x1ed)],_0xcf7957=(_0x4a1135,_0x5b200a,_0xc4a50f,_0x427a5d)=>{var _0x19da9c=_0x3322d1;for(var _0x346f5e=_0x427a5d>0x1?void 0x0:_0x427a5d?_0x274976(_0x5b200a,_0xc4a50f):_0x5b200a,_0x578000=_0x4a1135[_0x19da9c(0x27f)]-0x1,_0x36d81e;_0x578000>=0x0;_0x578000--)(_0x36d81e=_0x4a1135[_0x578000])&&(_0x346f5e=_0x36d81e(_0x346f5e)||_0x346f5e);return _0x346f5e;},_0x2893d0=(_0x49fc8d,_0x362952)=>(_0x20773a,_0x46969f)=>_0x362952(_0x20773a,_0x46969f,_0x49fc8d);const _0x572fcc=_0x3322d1(0x266),_0x330a5f='Univer';let _0x527a5f=class extends _0x8ca058[_0x3322d1(0x145)]{constructor(_0x19f071,_0x85236c){var _0x4b5244=_0x3322d1;super(),this[_0x4b5244(0x247)]=_0x19f071,this[_0x4b5244(0x21d)]=_0x85236c,this[_0x4b5244(0x132)]();}[_0x3322d1(0x132)](){var _0x310e7a=_0x3322d1;this['disposeWithMe'](this[_0x310e7a(0x247)][_0x310e7a(0xaa)][_0x310e7a(0x330)](()=>{var _0xc37502=_0x310e7a,_0xe3fba9;const _0xdff12e=this[_0xc37502(0x247)][_0xc37502(0x19f)]();let _0x2d0a6a=(_0xe3fba9=this[_0xc37502(0x21d)][_0xc37502(0x146)](_0x572fcc))!=null?_0xe3fba9:_0x330a5f;_0xdff12e instanceof _0x8ca058['Workbook']&&(_0x2d0a6a=_0xdff12e[_0xc37502(0x215)]),document[_0xc37502(0x424)]=_0x2d0a6a;}));}};_0x527a5f=_0xcf7957([_0x2893d0(0x0,_0x8ca058[_0x3322d1(0x353)]),_0x2893d0(0x1,_0x8ca058[_0x3322d1(0x23f)])],_0x527a5f);var _0x1466e1=Object[_0x3322d1(0x1ed)],_0x9f46f0=(_0x2dd3c3,_0x59e290,_0x475ce0,_0x413aed)=>{var _0x17cdbb=_0x3322d1;for(var _0x11655f=_0x413aed>0x1?void 0x0:_0x413aed?_0x1466e1(_0x59e290,_0x475ce0):_0x59e290,_0x31289b=_0x2dd3c3[_0x17cdbb(0x27f)]-0x1,_0x1f3592;_0x31289b>=0x0;_0x31289b--)(_0x1f3592=_0x2dd3c3[_0x31289b])&&(_0x11655f=_0x1f3592(_0x11655f)||_0x11655f);return _0x11655f;},_0x4c6a83=(_0x35434a,_0x2245a4)=>(_0x63fe85,_0x400980)=>_0x2245a4(_0x63fe85,_0x400980,_0x35434a);let _0x552a72=class{constructor(_0x6960f4,_0x1bcf1b,_0x240e70){var _0xdf7abd=_0x3322d1;this[_0xdf7abd(0x21d)]=_0x6960f4,this[_0xdf7abd(0x37b)]=_0x1bcf1b,this[_0xdf7abd(0xbb)]=_0x240e70,this['init']();}['init'](){var _0x53236b=_0x3322d1;this[_0x53236b(0x37b)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x37d379,_0x29b42e)=>_0x29b42e(_0x37d379)[_0x53236b(0x3e7)](_0x15d677[_0x53236b(0x3bd)](async _0x265d28=>{var _0x52adf7=_0x53236b;const _0x3c568c=_0x265d28;if(_0x3c568c[_0x52adf7(0x1d0)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x52adf7(0x24b)](this[_0x52adf7(0xbb)]['t'](_0x52adf7(0x22e)))){const _0x4f9423=window[_0x52adf7(0x383)](window[_0x52adf7(0x28a)][_0x52adf7(0x1ff)]);window['location'][_0x52adf7(0x1ff)]=this[_0x52adf7(0x3c9)]()+_0x52adf7(0x3d6)+_0x4f9423;}}return _0x3c568c;}))});}[_0x3322d1(0x3c9)](){var _0x5be03b=_0x3322d1,_0x30da5d,_0x52c3d5;const _0x51a52b=this['_configService'][_0x5be03b(0x146)](_0xcf01b2),_0x530fbe=this[_0x5be03b(0x21d)]['getConfig'](_0x59e8a5);return(_0x52c3d5=(_0x30da5d=_0x530fbe==null?void 0x0:_0x530fbe['loginUrlKey'])!=null?_0x30da5d:_0x51a52b)!=null?_0x52c3d5:_0x49aa64;}};_0x552a72=_0x9f46f0([_0x4c6a83(0x0,_0x8ca058['IConfigService']),_0x4c6a83(0x1,_0x8ca058[_0x3322d1(0x2f8)](_0x2ab6e2[_0x3322d1(0x245)])),_0x4c6a83(0x2,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x2ba)]))],_0x552a72);var _0x17dd26=Object[_0x3322d1(0x1ed)],_0x174a73=(_0x4fb063,_0x4ecd4d,_0x22b600,_0x4c28db)=>{var _0x2cfac3=_0x3322d1;for(var _0x2f38bf=_0x4c28db>0x1?void 0x0:_0x4c28db?_0x17dd26(_0x4ecd4d,_0x22b600):_0x4ecd4d,_0x39edb3=_0x4fb063[_0x2cfac3(0x27f)]-0x1,_0x5ef3cf;_0x39edb3>=0x0;_0x39edb3--)(_0x5ef3cf=_0x4fb063[_0x39edb3])&&(_0x2f38bf=_0x5ef3cf(_0x2f38bf)||_0x2f38bf);return _0x2f38bf;},_0xf61eaf=(_0x31793d,_0xdcd814)=>(_0x4d98c6,_0x2702b5)=>_0xdcd814(_0x4d98c6,_0x2702b5,_0x31793d);const _0x5b390b=_0x3322d1(0x3ff),_0x5eb6f1='/universer-api/authz';_0x3af782[_0x3322d1(0x1e3)]=class extends _0x8ca058[_0x3322d1(0x145)]{constructor(_0x39ada3,_0x7e63f1){var _0x24dcc6=_0x3322d1;super(),this[_0x24dcc6(0xdf)]=_0x39ada3,this['_configService']=_0x7e63f1,this[_0x24dcc6(0x20c)]();}[_0x3322d1(0x20c)](){var _0x5cee03=_0x3322d1;const _0x291537=this;this['disposeWithMe'](this[_0x5cee03(0xdf)][_0x5cee03(0x418)]({'priority':0x3e7,'interceptor':_0x2ab6e2[_0x5cee03(0x24a)]({'isMatch'(_0x7fdf52){var _0x55039a=_0x5cee03,_0x26c8bc;if(_0x7fdf52[_0x55039a(0x3f5)]==='POST'&&((_0x26c8bc=_0x7fdf52[_0x55039a(0x162)])!=null&&_0x26c8bc[_0x55039a(0xc2)])){const {objectID:_0xbf067d,objectType:_0x5102d6}=_0x7fdf52[_0x55039a(0x162)][_0x55039a(0xc2)]||{};if(!_0xbf067d||_0x5102d6===void 0x0)return!0x1;const _0x31dff7=_0x291537[_0x55039a(0x1e8)]()+'/'+_0x5102d6+'/object/'+_0xbf067d+_0x55039a(0x191);if(_0x7fdf52[_0x55039a(0x21f)]===_0x31dff7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xb6432d){var _0x227113;return(_0x227113=_0xb6432d['requestParams'])==null?void 0x0:_0x227113['body'];},'mergeParamsToRequest'(_0x5ebe1a,_0x56a979){var _0x4f08a2=_0x5cee03;const _0x5c46e0=_0x291537[_0x4f08a2(0x1e8)]()+_0x4f08a2(0x2e0),_0x1bfb00=_0x5ebe1a[_0x4f08a2(0xac)]((_0x35b7c0,_0x1af834)=>{var _0x15ca70=_0x4f08a2;const {unitID:_0x3d1980,objectID:_0x5705bc,objectType:_0x48359b,actions:_0x1a40a4}=_0x1af834;return _0x35b7c0[_0x3d1980]||(_0x35b7c0[_0x3d1980]={}),_0x35b7c0[_0x3d1980][_0x5705bc]||(_0x35b7c0[_0x3d1980][_0x5705bc]={'objectID':_0x5705bc,'objectType':_0x48359b,'actions':[]}),_0x35b7c0[_0x3d1980][_0x5705bc]['actions'][_0x15ca70(0x193)](..._0x1a40a4),_0x35b7c0;},{}),_0x39f57e=[];for(const _0x577d86 in _0x1bfb00)for(const _0x37c49f in _0x1bfb00[_0x577d86]){const {actions:_0x4dc99c,objectType:_0x1025c2}=_0x1bfb00[_0x577d86][_0x37c49f],_0x4fec55=[...new Set(_0x4dc99c)];_0x39f57e['push']({'unitID':_0x577d86,'objectID':_0x37c49f,'objectType':_0x1025c2,'actions':_0x4fec55});}return new _0x2ab6e2[(_0x4f08a2(0xc8))](_0x4f08a2(0x1a0),_0x5c46e0,{'headers':_0x56a979['headers'],'withCredentials':_0x56a979[_0x4f08a2(0xe1)],'responseType':_0x56a979[_0x4f08a2(0x169)],'body':{'requests':_0x39f57e}});}},{'distributeResult'(_0x551d55,_0x15eddb){var _0x1c6d3c=_0x5cee03;const {objectActions:_0x2011ce}=_0x551d55;return _0x15eddb[_0x1c6d3c(0x2d5)](_0x4002f3=>{var _0x4bd970=_0x1c6d3c;const {unitID:_0x4abbfe,objectID:_0x4c29f9,actions:_0x16efda}=_0x4002f3,_0x3f22f4=_0x2011ce['find'](_0x152e10=>_0x152e10[_0x4bd970(0xfe)]===_0x4abbfe&&_0x152e10[_0x4bd970(0x408)]===_0x4c29f9),_0x5aa0de=_0x16efda[_0x4bd970(0x2d5)](_0x339102=>_0x3f22f4==null?void 0x0:_0x3f22f4['actions']['find'](_0x4961fc=>_0x4961fc[_0x4bd970(0x1c8)]===_0x339102))[_0x4bd970(0x150)](_0x184da8=>!!_0x184da8);return{'config':_0x4002f3,'result':{'actions':_0x5aa0de,'error':_0x551d55['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x59c5ef=_0x3322d1,_0x1442a3,_0x47bb25;const _0x39f419=this['_configService'][_0x59c5ef(0x146)](_0x5b390b),_0x507b42=this['_configService']['getConfig'](_0x59e8a5);return(_0x47bb25=(_0x1442a3=_0x507b42==null?void 0x0:_0x507b42[_0x59c5ef(0x151)])!=null?_0x1442a3:_0x39f419)!=null?_0x47bb25:_0x5eb6f1;}async['create'](_0x356aa5){var _0x4a60c6=_0x3322d1;const _0x409e6a=this['_getAPIPrefixPath']()+'/'+_0x356aa5['objectType']+_0x4a60c6(0x186);return(await this[_0x4a60c6(0xdf)][_0x4a60c6(0xcd)](_0x409e6a,{'body':_0x356aa5}))[_0x4a60c6(0xc2)][_0x4a60c6(0x408)]||'';}async[_0x3322d1(0x238)](_0x19d01d){var _0x545219=_0x3322d1;const _0x494b85=this[_0x545219(0x1e8)]()+'/-/object/list';return(await this[_0x545219(0xdf)]['post'](_0x494b85,{'body':_0x19d01d}))['body'][_0x545219(0x349)];}async[_0x3322d1(0x219)](_0xaf1faf){var _0x4c986f=_0x3322d1;const _0x313f76=this[_0x4c986f(0x1e8)]()+'/'+_0xaf1faf[_0x4c986f(0x346)]+_0x4c986f(0xcb)+_0xaf1faf[_0x4c986f(0x408)];await this[_0x4c986f(0xdf)]['put'](_0x313f76,{'body':_0xaf1faf});}async[_0x3322d1(0x1d7)](_0x478987){var _0x5b52cb=_0x3322d1;const _0xb5abe=this[_0x5b52cb(0x1e8)]()+'/'+_0x478987[_0x5b52cb(0x346)]+_0x5b52cb(0xcb)+_0x478987[_0x5b52cb(0x408)]+_0x5b52cb(0x191);return(await this['_HTTPService'][_0x5b52cb(0xcd)](_0xb5abe,{'body':_0x478987}))[_0x5b52cb(0xc2)][_0x5b52cb(0x33b)];}async[_0x3322d1(0x1ba)](_0x1a044b){var _0x792022=_0x3322d1;const _0x102520=this[_0x792022(0x1e8)]()+'/-/object/-/batch_allowed';return(await this[_0x792022(0xdf)][_0x792022(0xcd)](_0x102520,{'body':{'requests':_0x1a044b}}))[_0x792022(0xc2)][_0x792022(0x315)];}async[_0x3322d1(0xd2)](_0x538007){var _0xf7367=_0x3322d1;const _0x34a2c1=this[_0xf7367(0x1e8)]()+'/'+_0x538007[_0xf7367(0x346)]+_0xf7367(0x41a),_0xa89dfd=await this[_0xf7367(0xdf)]['post'](_0x34a2c1,{'body':_0x538007});return{'roles':_0xa89dfd[_0xf7367(0xc2)][_0xf7367(0x284)],'actions':_0xa89dfd[_0xf7367(0xc2)][_0xf7367(0x33b)]};}async[_0x3322d1(0x332)](_0x6e3007){var _0x54ab2a=_0x3322d1;const _0x8bf36b=this[_0x54ab2a(0x1e8)]()+'/collaborator';await this['_HTTPService'][_0x54ab2a(0x192)](_0x8bf36b,{'params':{'collaboratorID':_0x6e3007[_0x54ab2a(0x251)],'objectID':_0x6e3007['objectID'],'unitID':_0x6e3007[_0x54ab2a(0xfe)]}});}async['updateCollaborator'](_0x2ca98c){var _0x5d0901=_0x3322d1;const _0x18b7a6=this[_0x5d0901(0x1e8)]()+'/collaborator';await this[_0x5d0901(0xdf)]['patch'](_0x18b7a6,{'body':_0x2ca98c});}async['createCollaborator'](_0x577965){var _0x15330c=_0x3322d1;const _0x22c930=this[_0x15330c(0x1e8)]()+_0x15330c(0x2d3);await this[_0x15330c(0xdf)][_0x15330c(0xcd)](_0x22c930,{'body':_0x577965});}async[_0x3322d1(0xff)](_0x4e5b70){var _0x16a457=_0x3322d1;const _0x1a18b6=this['_getAPIPrefixPath']()+_0x16a457(0x2d3);return(await this[_0x16a457(0xdf)][_0x16a457(0x3dc)](_0x1a18b6,{'params':{'objectID':_0x4e5b70[_0x16a457(0x408)],'unitID':_0x4e5b70[_0x16a457(0xfe)]}}))['body'][_0x16a457(0x107)];}async['putCollaborators'](_0x3e4d05){var _0x2fa58e=_0x3322d1;const _0x4e12b6=this[_0x2fa58e(0x1e8)]()+'/collaborator';await this[_0x2fa58e(0xdf)][_0x2fa58e(0x174)](_0x4e12b6,{'body':_0x3e4d05});}},_0x3af782[_0x3322d1(0x1e3)]=_0x174a73([_0xf61eaf(0x0,_0x8ca058[_0x3322d1(0x2f8)](_0x2ab6e2[_0x3322d1(0x245)])),_0xf61eaf(0x1,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058['IConfigService']))],_0x3af782[_0x3322d1(0x1e3)]);var _0x32027e=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x18d4b9(_0x6ea74f){var _0x11e988=_0x3322d1;return _0x6ea74f&&_0x6ea74f['__esModule']&&Object['prototype'][_0x11e988(0x103)][_0x11e988(0x369)](_0x6ea74f,_0x11e988(0x2f6))?_0x6ea74f[_0x11e988(0x2f6)]:_0x6ea74f;}var _0x3ae061={'exports':{}};function _0x4ddd6a(_0x4eb3d0){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x4eb3d0+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x23efe7={'exports':{}},_0x445790=_0x23efe7['exports'],_0x55a66d;function _0x564aef(){var _0x189003=_0x3322d1;return _0x55a66d||(_0x55a66d=0x1,function(_0x1b8986,_0x57cf54){(function(_0x1f8925,_0x2f2f45){var _0x5b8189=_0x4ac4;_0x1b8986[_0x5b8189(0xdd)]=_0x2f2f45();}(_0x445790,function(){var _0x25bc85=_0x25bc85||function(_0x53415b,_0x5bc19d){var _0x1e9ba=_0x4ac4,_0x11966a;if(typeof window<'u'&&window['crypto']&&(_0x11966a=window[_0x1e9ba(0x100)]),typeof self<'u'&&self[_0x1e9ba(0x100)]&&(_0x11966a=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x11966a=globalThis[_0x1e9ba(0x100)]),!_0x11966a&&typeof window<'u'&&window[_0x1e9ba(0xde)]&&(_0x11966a=window[_0x1e9ba(0xde)]),!_0x11966a&&typeof _0x32027e<'u'&&_0x32027e['crypto']&&(_0x11966a=_0x32027e[_0x1e9ba(0x100)]),!_0x11966a&&typeof _0x4ddd6a==_0x1e9ba(0x230))try{_0x11966a=require(_0x1e9ba(0x100));}catch{}var _0x4e18d0=function(){var _0x30a5c9=_0x1e9ba;if(_0x11966a){if(typeof _0x11966a[_0x30a5c9(0xb6)]==_0x30a5c9(0x230))try{return _0x11966a[_0x30a5c9(0xb6)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x11966a[_0x30a5c9(0x360)]==_0x30a5c9(0x230))try{return _0x11966a[_0x30a5c9(0x360)](0x4)[_0x30a5c9(0x2a9)]();}catch{}}throw new Error(_0x30a5c9(0x23b));},_0xc4e26d=Object['create']||(function(){function _0x2970ac(){}return function(_0x1d8aec){var _0x5799bd=_0x4ac4,_0x336fdf;return _0x2970ac['prototype']=_0x1d8aec,_0x336fdf=new _0x2970ac(),_0x2970ac[_0x5799bd(0x29c)]=null,_0x336fdf;};}()),_0x170e4c={},_0x10830b=_0x170e4c[_0x1e9ba(0x3f8)]={},_0x556d00=_0x10830b[_0x1e9ba(0x225)]=(function(){return{'extend':function(_0x416a8b){var _0x1f1764=_0x4ac4,_0x151d6b=_0xc4e26d(this);return _0x416a8b&&_0x151d6b[_0x1f1764(0x14f)](_0x416a8b),(!_0x151d6b[_0x1f1764(0x103)](_0x1f1764(0x179))||this[_0x1f1764(0x179)]===_0x151d6b['init'])&&(_0x151d6b['init']=function(){var _0x40daa1=_0x1f1764;_0x151d6b[_0x40daa1(0x355)][_0x40daa1(0x179)]['apply'](this,arguments);}),_0x151d6b[_0x1f1764(0x179)][_0x1f1764(0x29c)]=_0x151d6b,_0x151d6b['$super']=this,_0x151d6b;},'create':function(){var _0x28b2f7=_0x4ac4,_0x4ae82c=this[_0x28b2f7(0x33e)]();return _0x4ae82c[_0x28b2f7(0x179)]['apply'](_0x4ae82c,arguments),_0x4ae82c;},'init':function(){},'mixIn':function(_0xdb88ee){var _0x1722de=_0x4ac4;for(var _0x242308 in _0xdb88ee)_0xdb88ee[_0x1722de(0x103)](_0x242308)&&(this[_0x242308]=_0xdb88ee[_0x242308]);_0xdb88ee[_0x1722de(0x103)]('toString')&&(this[_0x1722de(0x19c)]=_0xdb88ee[_0x1722de(0x19c)]);},'clone':function(){var _0x3357b7=_0x4ac4;return this[_0x3357b7(0x179)]['prototype']['extend'](this);}};}()),_0x454312=_0x10830b[_0x1e9ba(0x38e)]=_0x556d00[_0x1e9ba(0x33e)]({'init':function(_0xd97aaa,_0xae516e){var _0x5c689b=_0x1e9ba;_0xd97aaa=this[_0x5c689b(0xd5)]=_0xd97aaa||[],_0xae516e!=_0x5bc19d?this[_0x5c689b(0x38c)]=_0xae516e:this['sigBytes']=_0xd97aaa[_0x5c689b(0x27f)]*0x4;},'toString':function(_0x5e3cac){var _0x5a0f67=_0x1e9ba;return(_0x5e3cac||_0x4ef972)[_0x5a0f67(0xc1)](this);},'concat':function(_0x5a3d9f){var _0x472829=_0x1e9ba,_0x6b9018=this[_0x472829(0xd5)],_0x518176=_0x5a3d9f[_0x472829(0xd5)],_0x5b1b0c=this['sigBytes'],_0xc11126=_0x5a3d9f[_0x472829(0x38c)];if(this[_0x472829(0x15a)](),_0x5b1b0c%0x4)for(var _0x5c713f=0x0;_0x5c713f<_0xc11126;_0x5c713f++){var _0x21f41a=_0x518176[_0x5c713f>>>0x2]>>>0x18-_0x5c713f%0x4*0x8&0xff;_0x6b9018[_0x5b1b0c+_0x5c713f>>>0x2]|=_0x21f41a<<0x18-(_0x5b1b0c+_0x5c713f)%0x4*0x8;}else{for(var _0x2b65ff=0x0;_0x2b65ff<_0xc11126;_0x2b65ff+=0x4)_0x6b9018[_0x5b1b0c+_0x2b65ff>>>0x2]=_0x518176[_0x2b65ff>>>0x2];}return this['sigBytes']+=_0xc11126,this;},'clamp':function(){var _0x25e49a=_0x1e9ba,_0x46be8e=this[_0x25e49a(0xd5)],_0x3fca46=this[_0x25e49a(0x38c)];_0x46be8e[_0x3fca46>>>0x2]&=0xffffffff<<0x20-_0x3fca46%0x4*0x8,_0x46be8e[_0x25e49a(0x27f)]=_0x53415b['ceil'](_0x3fca46/0x4);},'clone':function(){var _0x4cd5f4=_0x1e9ba,_0x41e48f=_0x556d00[_0x4cd5f4(0x391)][_0x4cd5f4(0x369)](this);return _0x41e48f[_0x4cd5f4(0xd5)]=this[_0x4cd5f4(0xd5)][_0x4cd5f4(0x3fc)](0x0),_0x41e48f;},'random':function(_0x2a6821){var _0x20b0ff=_0x1e9ba;for(var _0x333cdd=[],_0x50f1ec=0x0;_0x50f1ec<_0x2a6821;_0x50f1ec+=0x4)_0x333cdd[_0x20b0ff(0x193)](_0x4e18d0());return new _0x454312[(_0x20b0ff(0x179))](_0x333cdd,_0x2a6821);}}),_0x1592e2=_0x170e4c[_0x1e9ba(0xe8)]={},_0x4ef972=_0x1592e2[_0x1e9ba(0x363)]={'stringify':function(_0x5da4c9){var _0x198b95=_0x1e9ba;for(var _0x3f23ef=_0x5da4c9['words'],_0x51de30=_0x5da4c9[_0x198b95(0x38c)],_0x1193c3=[],_0x3fb26f=0x0;_0x3fb26f<_0x51de30;_0x3fb26f++){var _0x52a866=_0x3f23ef[_0x3fb26f>>>0x2]>>>0x18-_0x3fb26f%0x4*0x8&0xff;_0x1193c3[_0x198b95(0x193)]((_0x52a866>>>0x4)[_0x198b95(0x19c)](0x10)),_0x1193c3[_0x198b95(0x193)]((_0x52a866&0xf)[_0x198b95(0x19c)](0x10));}return _0x1193c3[_0x198b95(0x3be)]('');},'parse':function(_0x579de4){var _0xd3edf3=_0x1e9ba;for(var _0x8704c=_0x579de4['length'],_0x374f57=[],_0x5e0e1e=0x0;_0x5e0e1e<_0x8704c;_0x5e0e1e+=0x2)_0x374f57[_0x5e0e1e>>>0x3]|=parseInt(_0x579de4[_0xd3edf3(0x281)](_0x5e0e1e,0x2),0x10)<<0x18-_0x5e0e1e%0x8*0x4;return new _0x454312[(_0xd3edf3(0x179))](_0x374f57,_0x8704c/0x2);}},_0x57fe5c=_0x1592e2[_0x1e9ba(0x2a4)]={'stringify':function(_0x288981){var _0x30b498=_0x1e9ba;for(var _0xa4024=_0x288981[_0x30b498(0xd5)],_0x461517=_0x288981[_0x30b498(0x38c)],_0x12d57f=[],_0x5eca00=0x0;_0x5eca00<_0x461517;_0x5eca00++){var _0x2d9e6d=_0xa4024[_0x5eca00>>>0x2]>>>0x18-_0x5eca00%0x4*0x8&0xff;_0x12d57f[_0x30b498(0x193)](String['fromCharCode'](_0x2d9e6d));}return _0x12d57f[_0x30b498(0x3be)]('');},'parse':function(_0x2566ed){var _0x122587=_0x1e9ba;for(var _0x3ae4b2=_0x2566ed[_0x122587(0x27f)],_0x5e061f=[],_0x4cb9bd=0x0;_0x4cb9bd<_0x3ae4b2;_0x4cb9bd++)_0x5e061f[_0x4cb9bd>>>0x2]|=(_0x2566ed[_0x122587(0x2d6)](_0x4cb9bd)&0xff)<<0x18-_0x4cb9bd%0x4*0x8;return new _0x454312['init'](_0x5e061f,_0x3ae4b2);}},_0x1781c8=_0x1592e2[_0x1e9ba(0x22d)]={'stringify':function(_0x5788c5){var _0x51ec1c=_0x1e9ba;try{return decodeURIComponent(escape(_0x57fe5c[_0x51ec1c(0xc1)](_0x5788c5)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3b4b81){var _0x340fae=_0x1e9ba;return _0x57fe5c[_0x340fae(0x38b)](unescape(encodeURIComponent(_0x3b4b81)));}},_0x19ed02=_0x10830b[_0x1e9ba(0x40b)]=_0x556d00[_0x1e9ba(0x33e)]({'reset':function(){var _0x5ca5d1=_0x1e9ba;this[_0x5ca5d1(0x3ea)]=new _0x454312[(_0x5ca5d1(0x179))](),this['_nDataBytes']=0x0;},'_append':function(_0x91034a){var _0x431e8d=_0x1e9ba;typeof _0x91034a==_0x431e8d(0x409)&&(_0x91034a=_0x1781c8[_0x431e8d(0x38b)](_0x91034a)),this[_0x431e8d(0x3ea)][_0x431e8d(0xa3)](_0x91034a),this[_0x431e8d(0x236)]+=_0x91034a[_0x431e8d(0x38c)];},'_process':function(_0x353ded){var _0x14313e=_0x1e9ba,_0x2f3074,_0x29e6b7=this['_data'],_0xb805f=_0x29e6b7[_0x14313e(0xd5)],_0x3ba28c=_0x29e6b7[_0x14313e(0x38c)],_0x810ee5=this[_0x14313e(0x275)],_0x155459=_0x810ee5*0x4,_0xca2035=_0x3ba28c/_0x155459;_0x353ded?_0xca2035=_0x53415b[_0x14313e(0x2b6)](_0xca2035):_0xca2035=_0x53415b[_0x14313e(0x2d1)]((_0xca2035|0x0)-this['_minBufferSize'],0x0);var _0x699cfc=_0xca2035*_0x810ee5,_0x22c8dc=_0x53415b[_0x14313e(0x2f3)](_0x699cfc*0x4,_0x3ba28c);if(_0x699cfc){for(var _0xb19011=0x0;_0xb19011<_0x699cfc;_0xb19011+=_0x810ee5)this[_0x14313e(0x10e)](_0xb805f,_0xb19011);_0x2f3074=_0xb805f[_0x14313e(0x1b1)](0x0,_0x699cfc),_0x29e6b7[_0x14313e(0x38c)]-=_0x22c8dc;}return new _0x454312[(_0x14313e(0x179))](_0x2f3074,_0x22c8dc);},'clone':function(){var _0x48e4dc=_0x1e9ba,_0x1665b0=_0x556d00['clone'][_0x48e4dc(0x369)](this);return _0x1665b0[_0x48e4dc(0x3ea)]=this[_0x48e4dc(0x3ea)][_0x48e4dc(0x391)](),_0x1665b0;},'_minBufferSize':0x0});_0x10830b[_0x1e9ba(0x27b)]=_0x19ed02[_0x1e9ba(0x33e)]({'cfg':_0x556d00[_0x1e9ba(0x33e)](),'init':function(_0x27994f){var _0x2aed2f=_0x1e9ba;this['cfg']=this[_0x2aed2f(0x39d)]['extend'](_0x27994f),this[_0x2aed2f(0x389)]();},'reset':function(){var _0x1741fd=_0x1e9ba;_0x19ed02[_0x1741fd(0x389)][_0x1741fd(0x369)](this),this[_0x1741fd(0x259)]();},'update':function(_0x51f5a8){var _0x43e91=_0x1e9ba;return this[_0x43e91(0x28e)](_0x51f5a8),this['_process'](),this;},'finalize':function(_0x21263f){var _0xec2ce5=_0x1e9ba;_0x21263f&&this[_0xec2ce5(0x28e)](_0x21263f);var _0x5ea67a=this['_doFinalize']();return _0x5ea67a;},'blockSize':0x10,'_createHelper':function(_0x486079){return function(_0x4bc689,_0x3afa45){var _0x581ef9=_0x4ac4;return new _0x486079[(_0x581ef9(0x179))](_0x3afa45)['finalize'](_0x4bc689);};},'_createHmacHelper':function(_0x384411){return function(_0x52d45f,_0x2d8f41){var _0x118f7e=_0x4ac4;return new _0x2b31ca[(_0x118f7e(0x14e))][(_0x118f7e(0x179))](_0x384411,_0x2d8f41)[_0x118f7e(0x11c)](_0x52d45f);};}});var _0x2b31ca=_0x170e4c[_0x1e9ba(0x1e9)]={};return _0x170e4c;}(Math);return _0x25bc85;}));}(_0x23efe7)),_0x23efe7[_0x189003(0xdd)];}var _0x14618c={'exports':{}},_0x598bd9=_0x14618c[_0x3322d1(0xdd)],_0x7d86c5;function _0x4c3d17(){var _0x14082d=_0x3322d1;return _0x7d86c5||(_0x7d86c5=0x1,function(_0x3b9f99,_0x40153c){(function(_0x685473,_0x52c8bc){var _0x30912d=_0x4ac4;_0x3b9f99[_0x30912d(0xdd)]=_0x52c8bc(_0x564aef());}(_0x598bd9,function(_0x3b9aa8){var _0x43e2c9=_0x4ac4;return(function(){var _0x4fb9f6=_0x4ac4,_0xa9b2f8=_0x3b9aa8,_0x16e4b9=_0xa9b2f8[_0x4fb9f6(0x3f8)],_0x6a31c2=_0x16e4b9['WordArray'],_0x1251c1=_0xa9b2f8[_0x4fb9f6(0xe8)];_0x1251c1[_0x4fb9f6(0x106)]={'stringify':function(_0x39cc43){var _0x2df71c=_0x4fb9f6,_0x25d0e9=_0x39cc43[_0x2df71c(0xd5)],_0x4a7dbb=_0x39cc43[_0x2df71c(0x38c)],_0x42f08c=this[_0x2df71c(0x2cc)];_0x39cc43['clamp']();for(var _0x278fe4=[],_0x44b15b=0x0;_0x44b15b<_0x4a7dbb;_0x44b15b+=0x3)for(var _0x549c4d=_0x25d0e9[_0x44b15b>>>0x2]>>>0x18-_0x44b15b%0x4*0x8&0xff,_0x54a929=_0x25d0e9[_0x44b15b+0x1>>>0x2]>>>0x18-(_0x44b15b+0x1)%0x4*0x8&0xff,_0x184cca=_0x25d0e9[_0x44b15b+0x2>>>0x2]>>>0x18-(_0x44b15b+0x2)%0x4*0x8&0xff,_0x35bc36=_0x549c4d<<0x10|_0x54a929<<0x8|_0x184cca,_0x46ca23=0x0;_0x46ca23<0x4&&_0x44b15b+_0x46ca23*0.75<_0x4a7dbb;_0x46ca23++)_0x278fe4[_0x2df71c(0x193)](_0x42f08c[_0x2df71c(0x161)](_0x35bc36>>>0x6*(0x3-_0x46ca23)&0x3f));var _0x392536=_0x42f08c[_0x2df71c(0x161)](0x40);if(_0x392536){for(;_0x278fe4[_0x2df71c(0x27f)]%0x4;)_0x278fe4[_0x2df71c(0x193)](_0x392536);}return _0x278fe4[_0x2df71c(0x3be)]('');},'parse':function(_0x444fe5){var _0x353c80=_0x4fb9f6,_0x9b196a=_0x444fe5['length'],_0x190cc2=this[_0x353c80(0x2cc)],_0x4021b7=this[_0x353c80(0x364)];if(!_0x4021b7){_0x4021b7=this['_reverseMap']=[];for(var _0x113ebc=0x0;_0x113ebc<_0x190cc2['length'];_0x113ebc++)_0x4021b7[_0x190cc2['charCodeAt'](_0x113ebc)]=_0x113ebc;}var _0x1e0841=_0x190cc2[_0x353c80(0x161)](0x40);if(_0x1e0841){var _0x198dc3=_0x444fe5[_0x353c80(0x164)](_0x1e0841);_0x198dc3!==-0x1&&(_0x9b196a=_0x198dc3);}return _0x51a0cc(_0x444fe5,_0x9b196a,_0x4021b7);},'_map':_0x4fb9f6(0x329)};function _0x51a0cc(_0x600dd3,_0x33105b,_0x3e11ac){var _0x3df4a6=_0x4fb9f6;for(var _0x4348cb=[],_0x5dd4dc=0x0,_0xd523b7=0x0;_0xd523b7<_0x33105b;_0xd523b7++)if(_0xd523b7%0x4){var _0x24560c=_0x3e11ac[_0x600dd3[_0x3df4a6(0x2d6)](_0xd523b7-0x1)]<<_0xd523b7%0x4*0x2,_0x573beb=_0x3e11ac[_0x600dd3[_0x3df4a6(0x2d6)](_0xd523b7)]>>>0x6-_0xd523b7%0x4*0x2,_0x68db7c=_0x24560c|_0x573beb;_0x4348cb[_0x5dd4dc>>>0x2]|=_0x68db7c<<0x18-_0x5dd4dc%0x4*0x8,_0x5dd4dc++;}return _0x6a31c2[_0x3df4a6(0xee)](_0x4348cb,_0x5dd4dc);}}()),_0x3b9aa8[_0x43e2c9(0xe8)][_0x43e2c9(0x106)];}));}(_0x14618c)),_0x14618c[_0x14082d(0xdd)];}var _0x299565={'exports':{}},_0x24ac82=_0x299565[_0x3322d1(0xdd)],_0x450fe4;function _0x5e8205(){return _0x450fe4||(_0x450fe4=0x1,function(_0x369157,_0x473b6d){(function(_0xb13c9e,_0x555ee1){var _0x8bf829=_0x4ac4;_0x369157[_0x8bf829(0xdd)]=_0x555ee1(_0x564aef());}(_0x24ac82,function(_0x3d27b1){var _0x266f19=_0x4ac4;return function(_0x3701fd){var _0x461123=_0x4ac4,_0x5a855d=_0x3d27b1,_0x32f282=_0x5a855d[_0x461123(0x3f8)],_0x298528=_0x32f282[_0x461123(0x38e)],_0x3c08bb=_0x32f282[_0x461123(0x27b)],_0xcbb6b6=_0x5a855d[_0x461123(0x1e9)],_0x1174c7=[];(function(){var _0x4c0f38=_0x461123;for(var _0x27e901=0x0;_0x27e901<0x40;_0x27e901++)_0x1174c7[_0x27e901]=_0x3701fd[_0x4c0f38(0x177)](_0x3701fd['sin'](_0x27e901+0x1))*0x100000000|0x0;}());var _0x31cb2a=_0xcbb6b6['MD5']=_0x3c08bb[_0x461123(0x33e)]({'_doReset':function(){var _0x55f132=_0x461123;this[_0x55f132(0x36e)]=new _0x298528[(_0x55f132(0x179))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x8d5d2,_0x820f49){var _0x3d4fff=_0x461123;for(var _0x53d17f=0x0;_0x53d17f<0x10;_0x53d17f++){var _0xdb0679=_0x820f49+_0x53d17f,_0x1e599e=_0x8d5d2[_0xdb0679];_0x8d5d2[_0xdb0679]=(_0x1e599e<<0x8|_0x1e599e>>>0x18)&0xff00ff|(_0x1e599e<<0x18|_0x1e599e>>>0x8)&0xff00ff00;}var _0x38d0ce=this[_0x3d4fff(0x36e)][_0x3d4fff(0xd5)],_0x5f4823=_0x8d5d2[_0x820f49+0x0],_0x200aa3=_0x8d5d2[_0x820f49+0x1],_0x2647de=_0x8d5d2[_0x820f49+0x2],_0x16f454=_0x8d5d2[_0x820f49+0x3],_0x580c2e=_0x8d5d2[_0x820f49+0x4],_0x5ae9fb=_0x8d5d2[_0x820f49+0x5],_0x454a77=_0x8d5d2[_0x820f49+0x6],_0x56330d=_0x8d5d2[_0x820f49+0x7],_0x311212=_0x8d5d2[_0x820f49+0x8],_0x4934bf=_0x8d5d2[_0x820f49+0x9],_0x30f357=_0x8d5d2[_0x820f49+0xa],_0x16791e=_0x8d5d2[_0x820f49+0xb],_0x55f33b=_0x8d5d2[_0x820f49+0xc],_0x21ffd4=_0x8d5d2[_0x820f49+0xd],_0x526e44=_0x8d5d2[_0x820f49+0xe],_0x4b9b84=_0x8d5d2[_0x820f49+0xf],_0x1c8f46=_0x38d0ce[0x0],_0x5acb13=_0x38d0ce[0x1],_0x744ae=_0x38d0ce[0x2],_0x44f15e=_0x38d0ce[0x3];_0x1c8f46=_0x26db90(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x5f4823,0x7,_0x1174c7[0x0]),_0x44f15e=_0x26db90(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x200aa3,0xc,_0x1174c7[0x1]),_0x744ae=_0x26db90(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x2647de,0x11,_0x1174c7[0x2]),_0x5acb13=_0x26db90(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x16f454,0x16,_0x1174c7[0x3]),_0x1c8f46=_0x26db90(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x580c2e,0x7,_0x1174c7[0x4]),_0x44f15e=_0x26db90(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x5ae9fb,0xc,_0x1174c7[0x5]),_0x744ae=_0x26db90(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x454a77,0x11,_0x1174c7[0x6]),_0x5acb13=_0x26db90(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x56330d,0x16,_0x1174c7[0x7]),_0x1c8f46=_0x26db90(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x311212,0x7,_0x1174c7[0x8]),_0x44f15e=_0x26db90(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x4934bf,0xc,_0x1174c7[0x9]),_0x744ae=_0x26db90(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x30f357,0x11,_0x1174c7[0xa]),_0x5acb13=_0x26db90(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x16791e,0x16,_0x1174c7[0xb]),_0x1c8f46=_0x26db90(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x55f33b,0x7,_0x1174c7[0xc]),_0x44f15e=_0x26db90(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x21ffd4,0xc,_0x1174c7[0xd]),_0x744ae=_0x26db90(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x526e44,0x11,_0x1174c7[0xe]),_0x5acb13=_0x26db90(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x4b9b84,0x16,_0x1174c7[0xf]),_0x1c8f46=_0x42a29f(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x200aa3,0x5,_0x1174c7[0x10]),_0x44f15e=_0x42a29f(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x454a77,0x9,_0x1174c7[0x11]),_0x744ae=_0x42a29f(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x16791e,0xe,_0x1174c7[0x12]),_0x5acb13=_0x42a29f(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x5f4823,0x14,_0x1174c7[0x13]),_0x1c8f46=_0x42a29f(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x5ae9fb,0x5,_0x1174c7[0x14]),_0x44f15e=_0x42a29f(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x30f357,0x9,_0x1174c7[0x15]),_0x744ae=_0x42a29f(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x4b9b84,0xe,_0x1174c7[0x16]),_0x5acb13=_0x42a29f(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x580c2e,0x14,_0x1174c7[0x17]),_0x1c8f46=_0x42a29f(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x4934bf,0x5,_0x1174c7[0x18]),_0x44f15e=_0x42a29f(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x526e44,0x9,_0x1174c7[0x19]),_0x744ae=_0x42a29f(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x16f454,0xe,_0x1174c7[0x1a]),_0x5acb13=_0x42a29f(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x311212,0x14,_0x1174c7[0x1b]),_0x1c8f46=_0x42a29f(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x21ffd4,0x5,_0x1174c7[0x1c]),_0x44f15e=_0x42a29f(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x2647de,0x9,_0x1174c7[0x1d]),_0x744ae=_0x42a29f(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x56330d,0xe,_0x1174c7[0x1e]),_0x5acb13=_0x42a29f(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x55f33b,0x14,_0x1174c7[0x1f]),_0x1c8f46=_0x587094(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x5ae9fb,0x4,_0x1174c7[0x20]),_0x44f15e=_0x587094(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x311212,0xb,_0x1174c7[0x21]),_0x744ae=_0x587094(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x16791e,0x10,_0x1174c7[0x22]),_0x5acb13=_0x587094(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x526e44,0x17,_0x1174c7[0x23]),_0x1c8f46=_0x587094(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x200aa3,0x4,_0x1174c7[0x24]),_0x44f15e=_0x587094(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x580c2e,0xb,_0x1174c7[0x25]),_0x744ae=_0x587094(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x56330d,0x10,_0x1174c7[0x26]),_0x5acb13=_0x587094(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x30f357,0x17,_0x1174c7[0x27]),_0x1c8f46=_0x587094(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x21ffd4,0x4,_0x1174c7[0x28]),_0x44f15e=_0x587094(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x5f4823,0xb,_0x1174c7[0x29]),_0x744ae=_0x587094(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x16f454,0x10,_0x1174c7[0x2a]),_0x5acb13=_0x587094(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x454a77,0x17,_0x1174c7[0x2b]),_0x1c8f46=_0x587094(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x4934bf,0x4,_0x1174c7[0x2c]),_0x44f15e=_0x587094(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x55f33b,0xb,_0x1174c7[0x2d]),_0x744ae=_0x587094(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x4b9b84,0x10,_0x1174c7[0x2e]),_0x5acb13=_0x587094(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x2647de,0x17,_0x1174c7[0x2f]),_0x1c8f46=_0x6769cc(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x5f4823,0x6,_0x1174c7[0x30]),_0x44f15e=_0x6769cc(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x56330d,0xa,_0x1174c7[0x31]),_0x744ae=_0x6769cc(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x526e44,0xf,_0x1174c7[0x32]),_0x5acb13=_0x6769cc(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x5ae9fb,0x15,_0x1174c7[0x33]),_0x1c8f46=_0x6769cc(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x55f33b,0x6,_0x1174c7[0x34]),_0x44f15e=_0x6769cc(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x16f454,0xa,_0x1174c7[0x35]),_0x744ae=_0x6769cc(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x30f357,0xf,_0x1174c7[0x36]),_0x5acb13=_0x6769cc(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x200aa3,0x15,_0x1174c7[0x37]),_0x1c8f46=_0x6769cc(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x311212,0x6,_0x1174c7[0x38]),_0x44f15e=_0x6769cc(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x4b9b84,0xa,_0x1174c7[0x39]),_0x744ae=_0x6769cc(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x454a77,0xf,_0x1174c7[0x3a]),_0x5acb13=_0x6769cc(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x21ffd4,0x15,_0x1174c7[0x3b]),_0x1c8f46=_0x6769cc(_0x1c8f46,_0x5acb13,_0x744ae,_0x44f15e,_0x580c2e,0x6,_0x1174c7[0x3c]),_0x44f15e=_0x6769cc(_0x44f15e,_0x1c8f46,_0x5acb13,_0x744ae,_0x16791e,0xa,_0x1174c7[0x3d]),_0x744ae=_0x6769cc(_0x744ae,_0x44f15e,_0x1c8f46,_0x5acb13,_0x2647de,0xf,_0x1174c7[0x3e]),_0x5acb13=_0x6769cc(_0x5acb13,_0x744ae,_0x44f15e,_0x1c8f46,_0x4934bf,0x15,_0x1174c7[0x3f]),_0x38d0ce[0x0]=_0x38d0ce[0x0]+_0x1c8f46|0x0,_0x38d0ce[0x1]=_0x38d0ce[0x1]+_0x5acb13|0x0,_0x38d0ce[0x2]=_0x38d0ce[0x2]+_0x744ae|0x0,_0x38d0ce[0x3]=_0x38d0ce[0x3]+_0x44f15e|0x0;},'_doFinalize':function(){var _0x598022=_0x461123,_0x326725=this[_0x598022(0x3ea)],_0x3a04b6=_0x326725['words'],_0x1284f7=this[_0x598022(0x236)]*0x8,_0x29e15d=_0x326725[_0x598022(0x38c)]*0x8;_0x3a04b6[_0x29e15d>>>0x5]|=0x80<<0x18-_0x29e15d%0x20;var _0x56378f=_0x3701fd[_0x598022(0x1ef)](_0x1284f7/0x100000000),_0x2ac72a=_0x1284f7;_0x3a04b6[(_0x29e15d+0x40>>>0x9<<0x4)+0xf]=(_0x56378f<<0x8|_0x56378f>>>0x18)&0xff00ff|(_0x56378f<<0x18|_0x56378f>>>0x8)&0xff00ff00,_0x3a04b6[(_0x29e15d+0x40>>>0x9<<0x4)+0xe]=(_0x2ac72a<<0x8|_0x2ac72a>>>0x18)&0xff00ff|(_0x2ac72a<<0x18|_0x2ac72a>>>0x8)&0xff00ff00,_0x326725[_0x598022(0x38c)]=(_0x3a04b6['length']+0x1)*0x4,this[_0x598022(0x394)]();for(var _0x252c32=this[_0x598022(0x36e)],_0xefd33b=_0x252c32[_0x598022(0xd5)],_0x16a6d9=0x0;_0x16a6d9<0x4;_0x16a6d9++){var _0x1e0988=_0xefd33b[_0x16a6d9];_0xefd33b[_0x16a6d9]=(_0x1e0988<<0x8|_0x1e0988>>>0x18)&0xff00ff|(_0x1e0988<<0x18|_0x1e0988>>>0x8)&0xff00ff00;}return _0x252c32;},'clone':function(){var _0x250138=_0x461123,_0x581cf3=_0x3c08bb['clone']['call'](this);return _0x581cf3[_0x250138(0x36e)]=this[_0x250138(0x36e)][_0x250138(0x391)](),_0x581cf3;}});function _0x26db90(_0x1d80aa,_0x49214c,_0x386e35,_0xcbf229,_0x1705d8,_0x42c55e,_0xf5ed69){var _0x125d5e=_0x1d80aa+(_0x49214c&_0x386e35|~_0x49214c&_0xcbf229)+_0x1705d8+_0xf5ed69;return(_0x125d5e<<_0x42c55e|_0x125d5e>>>0x20-_0x42c55e)+_0x49214c;}function _0x42a29f(_0x302012,_0x2370bc,_0xd72761,_0x21b8fb,_0x383147,_0x4df842,_0x5c94e0){var _0x203c2f=_0x302012+(_0x2370bc&_0x21b8fb|_0xd72761&~_0x21b8fb)+_0x383147+_0x5c94e0;return(_0x203c2f<<_0x4df842|_0x203c2f>>>0x20-_0x4df842)+_0x2370bc;}function _0x587094(_0x4e357f,_0x30e725,_0x2a59d9,_0x127ccb,_0x1142da,_0x31c505,_0x24552e){var _0x4b1676=_0x4e357f+(_0x30e725^_0x2a59d9^_0x127ccb)+_0x1142da+_0x24552e;return(_0x4b1676<<_0x31c505|_0x4b1676>>>0x20-_0x31c505)+_0x30e725;}function _0x6769cc(_0x266a75,_0x5ca682,_0x4d688e,_0x4d5e60,_0x17adf7,_0x91d7ef,_0x58e1c6){var _0x186303=_0x266a75+(_0x4d688e^(_0x5ca682|~_0x4d5e60))+_0x17adf7+_0x58e1c6;return(_0x186303<<_0x91d7ef|_0x186303>>>0x20-_0x91d7ef)+_0x5ca682;}_0x5a855d[_0x461123(0xcc)]=_0x3c08bb[_0x461123(0x172)](_0x31cb2a),_0x5a855d[_0x461123(0x30b)]=_0x3c08bb[_0x461123(0x20b)](_0x31cb2a);}(Math),_0x3d27b1[_0x266f19(0xcc)];}));}(_0x299565)),_0x299565['exports'];}var _0x3e3dc6={'exports':{}},_0x4faf5d={'exports':{}},_0xc62bb=_0x4faf5d[_0x3322d1(0xdd)],_0x884e16;function _0x276b1d(){var _0x6044fb=_0x3322d1;return _0x884e16||(_0x884e16=0x1,function(_0x4089d2,_0xfcd616){(function(_0x28f1d8,_0x13da1c){var _0x4a01e7=_0x4ac4;_0x4089d2[_0x4a01e7(0xdd)]=_0x13da1c(_0x564aef());}(_0xc62bb,function(_0x56e9b7){return(function(){var _0x357667=_0x4ac4,_0x57de5c=_0x56e9b7,_0x51d524=_0x57de5c[_0x357667(0x3f8)],_0x17bf8f=_0x51d524[_0x357667(0x38e)],_0x123d38=_0x51d524[_0x357667(0x27b)],_0x59041d=_0x57de5c[_0x357667(0x1e9)],_0x39d08d=[],_0x50c8d2=_0x59041d[_0x357667(0x2b3)]=_0x123d38['extend']({'_doReset':function(){var _0x5910fa=_0x357667;this[_0x5910fa(0x36e)]=new _0x17bf8f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x47cd45,_0xd77afa){var _0x4ab27d=_0x357667;for(var _0x25a2a6=this[_0x4ab27d(0x36e)][_0x4ab27d(0xd5)],_0x55f07e=_0x25a2a6[0x0],_0x3c4477=_0x25a2a6[0x1],_0x452625=_0x25a2a6[0x2],_0x236b33=_0x25a2a6[0x3],_0x5b5abe=_0x25a2a6[0x4],_0x56698a=0x0;_0x56698a<0x50;_0x56698a++){if(_0x56698a<0x10)_0x39d08d[_0x56698a]=_0x47cd45[_0xd77afa+_0x56698a]|0x0;else{var _0x45d0cc=_0x39d08d[_0x56698a-0x3]^_0x39d08d[_0x56698a-0x8]^_0x39d08d[_0x56698a-0xe]^_0x39d08d[_0x56698a-0x10];_0x39d08d[_0x56698a]=_0x45d0cc<<0x1|_0x45d0cc>>>0x1f;}var _0x3bb975=(_0x55f07e<<0x5|_0x55f07e>>>0x1b)+_0x5b5abe+_0x39d08d[_0x56698a];_0x56698a<0x14?_0x3bb975+=(_0x3c4477&_0x452625|~_0x3c4477&_0x236b33)+0x5a827999:_0x56698a<0x28?_0x3bb975+=(_0x3c4477^_0x452625^_0x236b33)+0x6ed9eba1:_0x56698a<0x3c?_0x3bb975+=(_0x3c4477&_0x452625|_0x3c4477&_0x236b33|_0x452625&_0x236b33)-0x70e44324:_0x3bb975+=(_0x3c4477^_0x452625^_0x236b33)-0x359d3e2a,_0x5b5abe=_0x236b33,_0x236b33=_0x452625,_0x452625=_0x3c4477<<0x1e|_0x3c4477>>>0x2,_0x3c4477=_0x55f07e,_0x55f07e=_0x3bb975;}_0x25a2a6[0x0]=_0x25a2a6[0x0]+_0x55f07e|0x0,_0x25a2a6[0x1]=_0x25a2a6[0x1]+_0x3c4477|0x0,_0x25a2a6[0x2]=_0x25a2a6[0x2]+_0x452625|0x0,_0x25a2a6[0x3]=_0x25a2a6[0x3]+_0x236b33|0x0,_0x25a2a6[0x4]=_0x25a2a6[0x4]+_0x5b5abe|0x0;},'_doFinalize':function(){var _0xec09ff=_0x357667,_0x33100c=this[_0xec09ff(0x3ea)],_0x402751=_0x33100c[_0xec09ff(0xd5)],_0x18f8dd=this[_0xec09ff(0x236)]*0x8,_0x4807a7=_0x33100c[_0xec09ff(0x38c)]*0x8;return _0x402751[_0x4807a7>>>0x5]|=0x80<<0x18-_0x4807a7%0x20,_0x402751[(_0x4807a7+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x18f8dd/0x100000000),_0x402751[(_0x4807a7+0x40>>>0x9<<0x4)+0xf]=_0x18f8dd,_0x33100c[_0xec09ff(0x38c)]=_0x402751[_0xec09ff(0x27f)]*0x4,this[_0xec09ff(0x394)](),this[_0xec09ff(0x36e)];},'clone':function(){var _0x5d26ca=_0x357667,_0x2da063=_0x123d38[_0x5d26ca(0x391)][_0x5d26ca(0x369)](this);return _0x2da063[_0x5d26ca(0x36e)]=this[_0x5d26ca(0x36e)][_0x5d26ca(0x391)](),_0x2da063;}});_0x57de5c[_0x357667(0x2b3)]=_0x123d38['_createHelper'](_0x50c8d2),_0x57de5c[_0x357667(0x392)]=_0x123d38[_0x357667(0x20b)](_0x50c8d2);}()),_0x56e9b7['SHA1'];}));}(_0x4faf5d)),_0x4faf5d[_0x6044fb(0xdd)];}var _0x1a8536={'exports':{}},_0x212cf0=_0x1a8536[_0x3322d1(0xdd)],_0x408118;function _0x2cc7e2(){return _0x408118||(_0x408118=0x1,function(_0x37d150,_0xe4f410){(function(_0x1a508b,_0x2ff6c7){_0x37d150['exports']=_0x2ff6c7(_0x564aef());}(_0x212cf0,function(_0x440e8e){(function(){var _0x389e54=_0x4ac4,_0x418647=_0x440e8e,_0x1e7486=_0x418647['lib'],_0x48a532=_0x1e7486[_0x389e54(0x225)],_0x4f4e2b=_0x418647[_0x389e54(0xe8)],_0x104773=_0x4f4e2b['Utf8'],_0xd7425d=_0x418647[_0x389e54(0x1e9)];_0xd7425d[_0x389e54(0x14e)]=_0x48a532[_0x389e54(0x33e)]({'init':function(_0x27e92c,_0x532b4b){var _0x4e8d50=_0x389e54;_0x27e92c=this[_0x4e8d50(0xd1)]=new _0x27e92c[(_0x4e8d50(0x179))](),typeof _0x532b4b==_0x4e8d50(0x409)&&(_0x532b4b=_0x104773[_0x4e8d50(0x38b)](_0x532b4b));var _0x290e53=_0x27e92c[_0x4e8d50(0x275)],_0x1a5546=_0x290e53*0x4;_0x532b4b[_0x4e8d50(0x38c)]>_0x1a5546&&(_0x532b4b=_0x27e92c['finalize'](_0x532b4b)),_0x532b4b[_0x4e8d50(0x15a)]();for(var _0x47afcb=this[_0x4e8d50(0x404)]=_0x532b4b[_0x4e8d50(0x391)](),_0x42fb93=this[_0x4e8d50(0x2ca)]=_0x532b4b[_0x4e8d50(0x391)](),_0x18da43=_0x47afcb[_0x4e8d50(0xd5)],_0x3ed926=_0x42fb93[_0x4e8d50(0xd5)],_0x130aa7=0x0;_0x130aa7<_0x290e53;_0x130aa7++)_0x18da43[_0x130aa7]^=0x5c5c5c5c,_0x3ed926[_0x130aa7]^=0x36363636;_0x47afcb[_0x4e8d50(0x38c)]=_0x42fb93[_0x4e8d50(0x38c)]=_0x1a5546,this[_0x4e8d50(0x389)]();},'reset':function(){var _0x1c1fc7=_0x389e54,_0x2fbc73=this[_0x1c1fc7(0xd1)];_0x2fbc73[_0x1c1fc7(0x389)](),_0x2fbc73[_0x1c1fc7(0x219)](this['_iKey']);},'update':function(_0x5792c7){var _0x26627e=_0x389e54;return this['_hasher'][_0x26627e(0x219)](_0x5792c7),this;},'finalize':function(_0x27ea73){var _0x1d0ad4=_0x389e54,_0x210823=this[_0x1d0ad4(0xd1)],_0x2c0eb1=_0x210823[_0x1d0ad4(0x11c)](_0x27ea73);_0x210823[_0x1d0ad4(0x389)]();var _0x3eaaee=_0x210823['finalize'](this[_0x1d0ad4(0x404)][_0x1d0ad4(0x391)]()[_0x1d0ad4(0xa3)](_0x2c0eb1));return _0x3eaaee;}});}());}));}(_0x1a8536)),_0x1a8536['exports'];}var _0x1fcb27=_0x3e3dc6[_0x3322d1(0xdd)],_0x362a1f;function _0xf29d0b(){var _0x3ddb7d=_0x3322d1;return _0x362a1f||(_0x362a1f=0x1,function(_0x2bf6f6,_0x44a3dc){(function(_0x4b196e,_0x5a6339,_0x5ba733){var _0x3fdd8c=_0x4ac4;_0x2bf6f6[_0x3fdd8c(0xdd)]=_0x5a6339(_0x564aef(),_0x276b1d(),_0x2cc7e2());}(_0x1fcb27,function(_0x1bf0dc){var _0x391a33=_0x4ac4;return(function(){var _0x42a576=_0x4ac4,_0x3b0ed1=_0x1bf0dc,_0x2a8cfd=_0x3b0ed1['lib'],_0x47f148=_0x2a8cfd['Base'],_0x15da61=_0x2a8cfd[_0x42a576(0x38e)],_0x1be3df=_0x3b0ed1[_0x42a576(0x1e9)],_0x535114=_0x1be3df[_0x42a576(0xcc)],_0x28db3c=_0x1be3df[_0x42a576(0x32e)]=_0x47f148[_0x42a576(0x33e)]({'cfg':_0x47f148[_0x42a576(0x33e)]({'keySize':0x80/0x20,'hasher':_0x535114,'iterations':0x1}),'init':function(_0x439ff8){var _0x4fdd1b=_0x42a576;this[_0x4fdd1b(0x39d)]=this[_0x4fdd1b(0x39d)][_0x4fdd1b(0x33e)](_0x439ff8);},'compute':function(_0x546099,_0x3b157e){var _0x4d9ce0=_0x42a576;for(var _0x151e44,_0x22ea35=this[_0x4d9ce0(0x39d)],_0x4d8962=_0x22ea35[_0x4d9ce0(0x2bf)][_0x4d9ce0(0xee)](),_0x2d18cd=_0x15da61[_0x4d9ce0(0xee)](),_0x54b610=_0x2d18cd['words'],_0x2bf996=_0x22ea35[_0x4d9ce0(0x35b)],_0x28c624=_0x22ea35[_0x4d9ce0(0x121)];_0x54b610[_0x4d9ce0(0x27f)]<_0x2bf996;){_0x151e44&&_0x4d8962[_0x4d9ce0(0x219)](_0x151e44),_0x151e44=_0x4d8962[_0x4d9ce0(0x219)](_0x546099)[_0x4d9ce0(0x11c)](_0x3b157e),_0x4d8962[_0x4d9ce0(0x389)]();for(var _0x5edb13=0x1;_0x5edb13<_0x28c624;_0x5edb13++)_0x151e44=_0x4d8962[_0x4d9ce0(0x11c)](_0x151e44),_0x4d8962[_0x4d9ce0(0x389)]();_0x2d18cd[_0x4d9ce0(0xa3)](_0x151e44);}return _0x2d18cd[_0x4d9ce0(0x38c)]=_0x2bf996*0x4,_0x2d18cd;}});_0x3b0ed1['EvpKDF']=function(_0x4a7e5c,_0x279fc1,_0x5028ec){return _0x28db3c['create'](_0x5028ec)['compute'](_0x4a7e5c,_0x279fc1);};}()),_0x1bf0dc[_0x391a33(0x32e)];}));}(_0x3e3dc6)),_0x3e3dc6[_0x3ddb7d(0xdd)];}var _0x15b29d={'exports':{}},_0x22a530=_0x15b29d[_0x3322d1(0xdd)],_0x3b6d15;function _0x1ecea5(){return _0x3b6d15||(_0x3b6d15=0x1,function(_0x4c0aa4,_0x3f81b1){(function(_0x5b22dc,_0x2fe8d4,_0x5909c5){var _0x2c57e8=_0x4ac4;_0x4c0aa4[_0x2c57e8(0xdd)]=_0x2fe8d4(_0x564aef(),_0xf29d0b());}(_0x22a530,function(_0x215230){var _0x2c0fb7=_0x4ac4;_0x215230[_0x2c0fb7(0x3f8)][_0x2c0fb7(0xc6)]||function(_0x2be2ff){var _0x2eb77f=_0x2c0fb7,_0x31999c=_0x215230,_0x3d5774=_0x31999c[_0x2eb77f(0x3f8)],_0x236803=_0x3d5774['Base'],_0x2dbb1c=_0x3d5774[_0x2eb77f(0x38e)],_0xc74607=_0x3d5774[_0x2eb77f(0x40b)],_0x1ff5de=_0x31999c[_0x2eb77f(0xe8)];_0x1ff5de[_0x2eb77f(0x22d)];var _0x52df9e=_0x1ff5de[_0x2eb77f(0x106)],_0x183508=_0x31999c[_0x2eb77f(0x1e9)],_0x38505f=_0x183508[_0x2eb77f(0x32e)],_0x48ffe6=_0x3d5774[_0x2eb77f(0xc6)]=_0xc74607[_0x2eb77f(0x33e)]({'cfg':_0x236803[_0x2eb77f(0x33e)](),'createEncryptor':function(_0x7d11af,_0x25c09d){return this['create'](this['_ENC_XFORM_MODE'],_0x7d11af,_0x25c09d);},'createDecryptor':function(_0x370036,_0x2bd2ee){var _0x534a78=_0x2eb77f;return this[_0x534a78(0xee)](this[_0x534a78(0x2eb)],_0x370036,_0x2bd2ee);},'init':function(_0x124a08,_0x59ff1b,_0x39de12){var _0xdaf2c1=_0x2eb77f;this[_0xdaf2c1(0x39d)]=this['cfg']['extend'](_0x39de12),this[_0xdaf2c1(0x170)]=_0x124a08,this[_0xdaf2c1(0x33c)]=_0x59ff1b,this[_0xdaf2c1(0x389)]();},'reset':function(){var _0x16a401=_0x2eb77f;_0xc74607[_0x16a401(0x389)][_0x16a401(0x369)](this),this[_0x16a401(0x259)]();},'process':function(_0xdc189d){var _0x30f700=_0x2eb77f;return this[_0x30f700(0x28e)](_0xdc189d),this[_0x30f700(0x394)]();},'finalize':function(_0x330b42){var _0x23e2ba=_0x2eb77f;_0x330b42&&this[_0x23e2ba(0x28e)](_0x330b42);var _0x5ecb8=this[_0x23e2ba(0x1fd)]();return _0x5ecb8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3a842c(_0x4bd4b5){var _0x2518d9=_0x4ac4;return typeof _0x4bd4b5==_0x2518d9(0x409)?_0x72b1a:_0x34b246;}return function(_0x2c08cb){return{'encrypt':function(_0x552e13,_0x4d80ec,_0x3a94cb){var _0x37bea3=_0x4ac4;return _0x3a842c(_0x4d80ec)[_0x37bea3(0xfc)](_0x2c08cb,_0x552e13,_0x4d80ec,_0x3a94cb);},'decrypt':function(_0x2cc243,_0x3e6990,_0x5610f4){var _0x440f8c=_0x4ac4;return _0x3a842c(_0x3e6990)[_0x440f8c(0x18f)](_0x2c08cb,_0x2cc243,_0x3e6990,_0x5610f4);}};};}())});_0x3d5774[_0x2eb77f(0x345)]=_0x48ffe6[_0x2eb77f(0x33e)]({'_doFinalize':function(){var _0x42f789=this['_process'](!0x0);return _0x42f789;},'blockSize':0x1});var _0x3ca053=_0x31999c[_0x2eb77f(0x183)]={},_0x324b8e=_0x3d5774[_0x2eb77f(0x195)]=_0x236803[_0x2eb77f(0x33e)]({'createEncryptor':function(_0x3bb91b,_0x21cf96){var _0x478e53=_0x2eb77f;return this[_0x478e53(0x28f)][_0x478e53(0xee)](_0x3bb91b,_0x21cf96);},'createDecryptor':function(_0x5c2e4a,_0x210c95){var _0x48a18d=_0x2eb77f;return this[_0x48a18d(0x2ff)][_0x48a18d(0xee)](_0x5c2e4a,_0x210c95);},'init':function(_0x3f6ca1,_0x382986){var _0x4c71fd=_0x2eb77f;this[_0x4c71fd(0x234)]=_0x3f6ca1,this[_0x4c71fd(0x2be)]=_0x382986;}}),_0x1b913c=_0x3ca053[_0x2eb77f(0x31d)]=(function(){var _0x1bc577=_0x2eb77f,_0x574080=_0x324b8e['extend']();_0x574080[_0x1bc577(0x28f)]=_0x574080[_0x1bc577(0x33e)]({'processBlock':function(_0x3c7e87,_0x1d1f22){var _0x26b880=_0x1bc577,_0x412488=this['_cipher'],_0x206205=_0x412488[_0x26b880(0x275)];_0x390237[_0x26b880(0x369)](this,_0x3c7e87,_0x1d1f22,_0x206205),_0x412488[_0x26b880(0x2bd)](_0x3c7e87,_0x1d1f22),this[_0x26b880(0x16d)]=_0x3c7e87[_0x26b880(0x3fc)](_0x1d1f22,_0x1d1f22+_0x206205);}}),_0x574080[_0x1bc577(0x2ff)]=_0x574080['extend']({'processBlock':function(_0x368435,_0x47d8b9){var _0x440dd4=_0x1bc577,_0x573816=this[_0x440dd4(0x234)],_0x3f75eb=_0x573816[_0x440dd4(0x275)],_0x435843=_0x368435[_0x440dd4(0x3fc)](_0x47d8b9,_0x47d8b9+_0x3f75eb);_0x573816[_0x440dd4(0x116)](_0x368435,_0x47d8b9),_0x390237[_0x440dd4(0x369)](this,_0x368435,_0x47d8b9,_0x3f75eb),this['_prevBlock']=_0x435843;}});function _0x390237(_0xd567bc,_0x8946a9,_0x755450){var _0x119d80=_0x1bc577,_0x4f0aa7,_0x179461=this[_0x119d80(0x2be)];_0x179461?(_0x4f0aa7=_0x179461,this[_0x119d80(0x2be)]=_0x2be2ff):_0x4f0aa7=this[_0x119d80(0x16d)];for(var _0x59f4a6=0x0;_0x59f4a6<_0x755450;_0x59f4a6++)_0xd567bc[_0x8946a9+_0x59f4a6]^=_0x4f0aa7[_0x59f4a6];}return _0x574080;}()),_0x4c8f29=_0x31999c[_0x2eb77f(0x2c4)]={},_0x5f5aea=_0x4c8f29[_0x2eb77f(0x3b8)]={'pad':function(_0x44e18a,_0x5665ec){for(var _0x3b87c2=_0x5665ec*0x4,_0x4fbb68=_0x3b87c2-_0x44e18a['sigBytes']%_0x3b87c2,_0x317145=_0x4fbb68<<0x18|_0x4fbb68<<0x10|_0x4fbb68<<0x8|_0x4fbb68,_0x3fb2de=[],_0x4cab40=0x0;_0x4cab40<_0x4fbb68;_0x4cab40+=0x4)_0x3fb2de['push'](_0x317145);var _0x4c4c99=_0x2dbb1c['create'](_0x3fb2de,_0x4fbb68);_0x44e18a['concat'](_0x4c4c99);},'unpad':function(_0x519638){var _0x2f9549=_0x2eb77f,_0xb45998=_0x519638[_0x2f9549(0xd5)][_0x519638[_0x2f9549(0x38c)]-0x1>>>0x2]&0xff;_0x519638['sigBytes']-=_0xb45998;}};_0x3d5774[_0x2eb77f(0x41e)]=_0x48ffe6[_0x2eb77f(0x33e)]({'cfg':_0x48ffe6['cfg']['extend']({'mode':_0x1b913c,'padding':_0x5f5aea}),'reset':function(){var _0x5dc891=_0x2eb77f,_0x38b084;_0x48ffe6[_0x5dc891(0x389)]['call'](this);var _0x130087=this['cfg'],_0x31ca30=_0x130087['iv'],_0x2de7ce=_0x130087[_0x5dc891(0x183)];this[_0x5dc891(0x170)]==this[_0x5dc891(0x1bf)]?_0x38b084=_0x2de7ce[_0x5dc891(0x417)]:(_0x38b084=_0x2de7ce[_0x5dc891(0x415)],this[_0x5dc891(0x398)]=0x1),this[_0x5dc891(0x158)]&&this[_0x5dc891(0x158)][_0x5dc891(0x393)]==_0x38b084?this[_0x5dc891(0x158)][_0x5dc891(0x179)](this,_0x31ca30&&_0x31ca30[_0x5dc891(0xd5)]):(this[_0x5dc891(0x158)]=_0x38b084[_0x5dc891(0x369)](_0x2de7ce,this,_0x31ca30&&_0x31ca30[_0x5dc891(0xd5)]),this['_mode'][_0x5dc891(0x393)]=_0x38b084);},'_doProcessBlock':function(_0x254284,_0x14aaaf){var _0x787d53=_0x2eb77f;this[_0x787d53(0x158)]['processBlock'](_0x254284,_0x14aaaf);},'_doFinalize':function(){var _0x5167c8=_0x2eb77f,_0x5adcfc,_0x2c7e42=this['cfg'][_0x5167c8(0x3da)];return this['_xformMode']==this[_0x5167c8(0x1bf)]?(_0x2c7e42[_0x5167c8(0x2c4)](this['_data'],this[_0x5167c8(0x275)]),_0x5adcfc=this[_0x5167c8(0x394)](!0x0)):(_0x5adcfc=this[_0x5167c8(0x394)](!0x0),_0x2c7e42[_0x5167c8(0x387)](_0x5adcfc)),_0x5adcfc;},'blockSize':0x80/0x20});var _0x19eb17=_0x3d5774[_0x2eb77f(0x328)]=_0x236803['extend']({'init':function(_0x155f71){this['mixIn'](_0x155f71);},'toString':function(_0x1ac48d){var _0x5e487d=_0x2eb77f;return(_0x1ac48d||this['formatter'])[_0x5e487d(0xc1)](this);}}),_0x4df3c2=_0x31999c[_0x2eb77f(0x3b1)]={},_0x360c4a=_0x4df3c2[_0x2eb77f(0x1b6)]={'stringify':function(_0x24129e){var _0x1439a2=_0x2eb77f,_0x476506,_0x179113=_0x24129e['ciphertext'],_0xe61a00=_0x24129e['salt'];return _0xe61a00?_0x476506=_0x2dbb1c['create']([0x53616c74,0x65645f5f])[_0x1439a2(0xa3)](_0xe61a00)[_0x1439a2(0xa3)](_0x179113):_0x476506=_0x179113,_0x476506[_0x1439a2(0x19c)](_0x52df9e);},'parse':function(_0x21d8ed){var _0x7bdeb3=_0x2eb77f,_0x5331e8,_0x40cc5d=_0x52df9e['parse'](_0x21d8ed),_0x1ee527=_0x40cc5d[_0x7bdeb3(0xd5)];return _0x1ee527[0x0]==0x53616c74&&_0x1ee527[0x1]==0x65645f5f&&(_0x5331e8=_0x2dbb1c['create'](_0x1ee527[_0x7bdeb3(0x3fc)](0x2,0x4)),_0x1ee527['splice'](0x0,0x4),_0x40cc5d[_0x7bdeb3(0x38c)]-=0x10),_0x19eb17[_0x7bdeb3(0xee)]({'ciphertext':_0x40cc5d,'salt':_0x5331e8});}},_0x34b246=_0x3d5774['SerializableCipher']=_0x236803['extend']({'cfg':_0x236803[_0x2eb77f(0x33e)]({'format':_0x360c4a}),'encrypt':function(_0x50b824,_0x3423a2,_0x47d6bb,_0x4722ff){var _0x304c76=_0x2eb77f;_0x4722ff=this[_0x304c76(0x39d)][_0x304c76(0x33e)](_0x4722ff);var _0x1fe0e0=_0x50b824[_0x304c76(0x417)](_0x47d6bb,_0x4722ff),_0x203a16=_0x1fe0e0[_0x304c76(0x11c)](_0x3423a2),_0x1114a6=_0x1fe0e0[_0x304c76(0x39d)];return _0x19eb17['create']({'ciphertext':_0x203a16,'key':_0x47d6bb,'iv':_0x1114a6['iv'],'algorithm':_0x50b824,'mode':_0x1114a6[_0x304c76(0x183)],'padding':_0x1114a6['padding'],'blockSize':_0x50b824[_0x304c76(0x275)],'formatter':_0x4722ff['format']});},'decrypt':function(_0x274e85,_0x2efab2,_0x4e110c,_0x25a858){var _0x552064=_0x2eb77f;_0x25a858=this[_0x552064(0x39d)][_0x552064(0x33e)](_0x25a858),_0x2efab2=this[_0x552064(0xb2)](_0x2efab2,_0x25a858['format']);var _0x3c5575=_0x274e85['createDecryptor'](_0x4e110c,_0x25a858)[_0x552064(0x11c)](_0x2efab2[_0x552064(0x14d)]);return _0x3c5575;},'_parse':function(_0x5a4377,_0x5ee5f0){var _0x4d87af=_0x2eb77f;return typeof _0x5a4377=='string'?_0x5ee5f0[_0x4d87af(0x38b)](_0x5a4377,this):_0x5a4377;}}),_0x3e135a=_0x31999c['kdf']={},_0x3d8d73=_0x3e135a['OpenSSL']={'execute':function(_0x9bfd74,_0x55fb63,_0x1fa3e9,_0x185bb6,_0x525b77){var _0x56062f=_0x2eb77f;if(_0x185bb6||(_0x185bb6=_0x2dbb1c[_0x56062f(0x1e4)](0x40/0x8)),_0x525b77)var _0x48606f=_0x38505f[_0x56062f(0xee)]({'keySize':_0x55fb63+_0x1fa3e9,'hasher':_0x525b77})[_0x56062f(0x257)](_0x9bfd74,_0x185bb6);else var _0x48606f=_0x38505f[_0x56062f(0xee)]({'keySize':_0x55fb63+_0x1fa3e9})[_0x56062f(0x257)](_0x9bfd74,_0x185bb6);var _0x2a75f1=_0x2dbb1c['create'](_0x48606f[_0x56062f(0xd5)][_0x56062f(0x3fc)](_0x55fb63),_0x1fa3e9*0x4);return _0x48606f[_0x56062f(0x38c)]=_0x55fb63*0x4,_0x19eb17[_0x56062f(0xee)]({'key':_0x48606f,'iv':_0x2a75f1,'salt':_0x185bb6});}},_0x72b1a=_0x3d5774[_0x2eb77f(0x279)]=_0x34b246[_0x2eb77f(0x33e)]({'cfg':_0x34b246['cfg'][_0x2eb77f(0x33e)]({'kdf':_0x3d8d73}),'encrypt':function(_0xcf6384,_0x420265,_0x1278c0,_0x26ddd2){var _0x1bf104=_0x2eb77f;_0x26ddd2=this[_0x1bf104(0x39d)][_0x1bf104(0x33e)](_0x26ddd2);var _0x3f29ba=_0x26ddd2[_0x1bf104(0x2da)][_0x1bf104(0x190)](_0x1278c0,_0xcf6384[_0x1bf104(0x35b)],_0xcf6384[_0x1bf104(0x131)],_0x26ddd2[_0x1bf104(0xb7)],_0x26ddd2[_0x1bf104(0x2bf)]);_0x26ddd2['iv']=_0x3f29ba['iv'];var _0x14304a=_0x34b246[_0x1bf104(0xfc)][_0x1bf104(0x369)](this,_0xcf6384,_0x420265,_0x3f29ba[_0x1bf104(0x3de)],_0x26ddd2);return _0x14304a[_0x1bf104(0x14f)](_0x3f29ba),_0x14304a;},'decrypt':function(_0x104bb9,_0x3300fa,_0x2eaba4,_0x22d515){var _0x3c3498=_0x2eb77f;_0x22d515=this[_0x3c3498(0x39d)]['extend'](_0x22d515),_0x3300fa=this[_0x3c3498(0xb2)](_0x3300fa,_0x22d515['format']);var _0x5e8162=_0x22d515['kdf'][_0x3c3498(0x190)](_0x2eaba4,_0x104bb9[_0x3c3498(0x35b)],_0x104bb9['ivSize'],_0x3300fa['salt'],_0x22d515[_0x3c3498(0x2bf)]);_0x22d515['iv']=_0x5e8162['iv'];var _0x1087ab=_0x34b246['decrypt'][_0x3c3498(0x369)](this,_0x104bb9,_0x3300fa,_0x5e8162[_0x3c3498(0x3de)],_0x22d515);return _0x1087ab;}});}();}));}(_0x15b29d)),_0x15b29d['exports'];}var _0x4ff86a=_0x3ae061[_0x3322d1(0xdd)],_0x2dc050;function _0x15f4ee(){var _0x3d64bd=_0x3322d1;return _0x2dc050||(_0x2dc050=0x1,function(_0x180d93,_0x171f53){(function(_0x7162fb,_0x557d6a,_0x1d3d77){var _0x1c4f68=_0x4ac4;_0x180d93[_0x1c4f68(0xdd)]=_0x557d6a(_0x564aef(),_0x4c3d17(),_0x5e8205(),_0xf29d0b(),_0x1ecea5());}(_0x4ff86a,function(_0x5b4abb){var _0x32c4b4=_0x4ac4;return(function(){var _0x169583=_0x4ac4,_0x6dd831=_0x5b4abb,_0x11436b=_0x6dd831[_0x169583(0x3f8)],_0x286623=_0x11436b[_0x169583(0x41e)],_0x7c0bf1=_0x6dd831[_0x169583(0x1e9)],_0x1e14f1=[],_0x53713b=[],_0x22581b=[],_0x544972=[],_0x277df6=[],_0x4201ae=[],_0xc4810c=[],_0x42468e=[],_0x510c5a=[],_0x1daf63=[];(function(){for(var _0x3c4785=[],_0x3208b2=0x0;_0x3208b2<0x100;_0x3208b2++)_0x3208b2<0x80?_0x3c4785[_0x3208b2]=_0x3208b2<<0x1:_0x3c4785[_0x3208b2]=_0x3208b2<<0x1^0x11b;for(var _0x56c099=0x0,_0x25e76c=0x0,_0x3208b2=0x0;_0x3208b2<0x100;_0x3208b2++){var _0x319f23=_0x25e76c^_0x25e76c<<0x1^_0x25e76c<<0x2^_0x25e76c<<0x3^_0x25e76c<<0x4;_0x319f23=_0x319f23>>>0x8^_0x319f23&0xff^0x63,_0x1e14f1[_0x56c099]=_0x319f23,_0x53713b[_0x319f23]=_0x56c099;var _0x5d0c13=_0x3c4785[_0x56c099],_0x1b8182=_0x3c4785[_0x5d0c13],_0x909c85=_0x3c4785[_0x1b8182],_0xb1eab1=_0x3c4785[_0x319f23]*0x101^_0x319f23*0x1010100;_0x22581b[_0x56c099]=_0xb1eab1<<0x18|_0xb1eab1>>>0x8,_0x544972[_0x56c099]=_0xb1eab1<<0x10|_0xb1eab1>>>0x10,_0x277df6[_0x56c099]=_0xb1eab1<<0x8|_0xb1eab1>>>0x18,_0x4201ae[_0x56c099]=_0xb1eab1;var _0xb1eab1=_0x909c85*0x1010101^_0x1b8182*0x10001^_0x5d0c13*0x101^_0x56c099*0x1010100;_0xc4810c[_0x319f23]=_0xb1eab1<<0x18|_0xb1eab1>>>0x8,_0x42468e[_0x319f23]=_0xb1eab1<<0x10|_0xb1eab1>>>0x10,_0x510c5a[_0x319f23]=_0xb1eab1<<0x8|_0xb1eab1>>>0x18,_0x1daf63[_0x319f23]=_0xb1eab1,_0x56c099?(_0x56c099=_0x5d0c13^_0x3c4785[_0x3c4785[_0x3c4785[_0x909c85^_0x5d0c13]]],_0x25e76c^=_0x3c4785[_0x3c4785[_0x25e76c]]):_0x56c099=_0x25e76c=0x1;}}());var _0x31be4e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4fc57b=_0x7c0bf1['AES']=_0x286623[_0x169583(0x33e)]({'_doReset':function(){var _0x8715ec=_0x169583,_0x47642c;if(!(this[_0x8715ec(0x180)]&&this[_0x8715ec(0x2d9)]===this[_0x8715ec(0x33c)])){for(var _0x12d584=this[_0x8715ec(0x2d9)]=this['_key'],_0x3f4c92=_0x12d584[_0x8715ec(0xd5)],_0x56a715=_0x12d584[_0x8715ec(0x38c)]/0x4,_0x44c3ab=this[_0x8715ec(0x180)]=_0x56a715+0x6,_0x3e3709=(_0x44c3ab+0x1)*0x4,_0x5312a5=this[_0x8715ec(0x231)]=[],_0x2ad4ff=0x0;_0x2ad4ff<_0x3e3709;_0x2ad4ff++)_0x2ad4ff<_0x56a715?_0x5312a5[_0x2ad4ff]=_0x3f4c92[_0x2ad4ff]:(_0x47642c=_0x5312a5[_0x2ad4ff-0x1],_0x2ad4ff%_0x56a715?_0x56a715>0x6&&_0x2ad4ff%_0x56a715==0x4&&(_0x47642c=_0x1e14f1[_0x47642c>>>0x18]<<0x18|_0x1e14f1[_0x47642c>>>0x10&0xff]<<0x10|_0x1e14f1[_0x47642c>>>0x8&0xff]<<0x8|_0x1e14f1[_0x47642c&0xff]):(_0x47642c=_0x47642c<<0x8|_0x47642c>>>0x18,_0x47642c=_0x1e14f1[_0x47642c>>>0x18]<<0x18|_0x1e14f1[_0x47642c>>>0x10&0xff]<<0x10|_0x1e14f1[_0x47642c>>>0x8&0xff]<<0x8|_0x1e14f1[_0x47642c&0xff],_0x47642c^=_0x31be4e[_0x2ad4ff/_0x56a715|0x0]<<0x18),_0x5312a5[_0x2ad4ff]=_0x5312a5[_0x2ad4ff-_0x56a715]^_0x47642c);for(var _0x842451=this[_0x8715ec(0x15d)]=[],_0x3ddb3f=0x0;_0x3ddb3f<_0x3e3709;_0x3ddb3f++){var _0x2ad4ff=_0x3e3709-_0x3ddb3f;if(_0x3ddb3f%0x4)var _0x47642c=_0x5312a5[_0x2ad4ff];else var _0x47642c=_0x5312a5[_0x2ad4ff-0x4];_0x3ddb3f<0x4||_0x2ad4ff<=0x4?_0x842451[_0x3ddb3f]=_0x47642c:_0x842451[_0x3ddb3f]=_0xc4810c[_0x1e14f1[_0x47642c>>>0x18]]^_0x42468e[_0x1e14f1[_0x47642c>>>0x10&0xff]]^_0x510c5a[_0x1e14f1[_0x47642c>>>0x8&0xff]]^_0x1daf63[_0x1e14f1[_0x47642c&0xff]];}}},'encryptBlock':function(_0x325345,_0x2cf7f9){var _0x48f6b2=_0x169583;this[_0x48f6b2(0x402)](_0x325345,_0x2cf7f9,this[_0x48f6b2(0x231)],_0x22581b,_0x544972,_0x277df6,_0x4201ae,_0x1e14f1);},'decryptBlock':function(_0x5cb650,_0x15a211){var _0xf70ba9=_0x169583,_0xe95de3=_0x5cb650[_0x15a211+0x1];_0x5cb650[_0x15a211+0x1]=_0x5cb650[_0x15a211+0x3],_0x5cb650[_0x15a211+0x3]=_0xe95de3,this[_0xf70ba9(0x402)](_0x5cb650,_0x15a211,this[_0xf70ba9(0x15d)],_0xc4810c,_0x42468e,_0x510c5a,_0x1daf63,_0x53713b);var _0xe95de3=_0x5cb650[_0x15a211+0x1];_0x5cb650[_0x15a211+0x1]=_0x5cb650[_0x15a211+0x3],_0x5cb650[_0x15a211+0x3]=_0xe95de3;},'_doCryptBlock':function(_0x31f4dc,_0x24cd3d,_0x3d2083,_0x1f8310,_0x5597fc,_0x38f3c3,_0x256df2,_0x2c03e8){var _0x3e47fd=_0x169583;for(var _0x2bee41=this[_0x3e47fd(0x180)],_0x5e2782=_0x31f4dc[_0x24cd3d]^_0x3d2083[0x0],_0xc55c16=_0x31f4dc[_0x24cd3d+0x1]^_0x3d2083[0x1],_0x55eab8=_0x31f4dc[_0x24cd3d+0x2]^_0x3d2083[0x2],_0x286e3c=_0x31f4dc[_0x24cd3d+0x3]^_0x3d2083[0x3],_0x394122=0x4,_0x26ebd1=0x1;_0x26ebd1<_0x2bee41;_0x26ebd1++){var _0x376680=_0x1f8310[_0x5e2782>>>0x18]^_0x5597fc[_0xc55c16>>>0x10&0xff]^_0x38f3c3[_0x55eab8>>>0x8&0xff]^_0x256df2[_0x286e3c&0xff]^_0x3d2083[_0x394122++],_0x4c8d60=_0x1f8310[_0xc55c16>>>0x18]^_0x5597fc[_0x55eab8>>>0x10&0xff]^_0x38f3c3[_0x286e3c>>>0x8&0xff]^_0x256df2[_0x5e2782&0xff]^_0x3d2083[_0x394122++],_0x46f0bc=_0x1f8310[_0x55eab8>>>0x18]^_0x5597fc[_0x286e3c>>>0x10&0xff]^_0x38f3c3[_0x5e2782>>>0x8&0xff]^_0x256df2[_0xc55c16&0xff]^_0x3d2083[_0x394122++],_0x5a9135=_0x1f8310[_0x286e3c>>>0x18]^_0x5597fc[_0x5e2782>>>0x10&0xff]^_0x38f3c3[_0xc55c16>>>0x8&0xff]^_0x256df2[_0x55eab8&0xff]^_0x3d2083[_0x394122++];_0x5e2782=_0x376680,_0xc55c16=_0x4c8d60,_0x55eab8=_0x46f0bc,_0x286e3c=_0x5a9135;}var _0x376680=(_0x2c03e8[_0x5e2782>>>0x18]<<0x18|_0x2c03e8[_0xc55c16>>>0x10&0xff]<<0x10|_0x2c03e8[_0x55eab8>>>0x8&0xff]<<0x8|_0x2c03e8[_0x286e3c&0xff])^_0x3d2083[_0x394122++],_0x4c8d60=(_0x2c03e8[_0xc55c16>>>0x18]<<0x18|_0x2c03e8[_0x55eab8>>>0x10&0xff]<<0x10|_0x2c03e8[_0x286e3c>>>0x8&0xff]<<0x8|_0x2c03e8[_0x5e2782&0xff])^_0x3d2083[_0x394122++],_0x46f0bc=(_0x2c03e8[_0x55eab8>>>0x18]<<0x18|_0x2c03e8[_0x286e3c>>>0x10&0xff]<<0x10|_0x2c03e8[_0x5e2782>>>0x8&0xff]<<0x8|_0x2c03e8[_0xc55c16&0xff])^_0x3d2083[_0x394122++],_0x5a9135=(_0x2c03e8[_0x286e3c>>>0x18]<<0x18|_0x2c03e8[_0x5e2782>>>0x10&0xff]<<0x10|_0x2c03e8[_0xc55c16>>>0x8&0xff]<<0x8|_0x2c03e8[_0x55eab8&0xff])^_0x3d2083[_0x394122++];_0x31f4dc[_0x24cd3d]=_0x376680,_0x31f4dc[_0x24cd3d+0x1]=_0x4c8d60,_0x31f4dc[_0x24cd3d+0x2]=_0x46f0bc,_0x31f4dc[_0x24cd3d+0x3]=_0x5a9135;},'keySize':0x100/0x20});_0x6dd831[_0x169583(0x119)]=_0x286623[_0x169583(0x172)](_0x4fc57b);}()),_0x5b4abb[_0x32c4b4(0x119)];}));}(_0x3ae061)),_0x3ae061[_0x3d64bd(0xdd)];}var _0x5b7883=_0x15f4ee();const _0x22d407=_0x18d4b9(_0x5b7883);var _0x21461e=_0x4c3d17();const _0x85a0ef=_0x18d4b9(_0x21461e);var _0x105491={'exports':{}},_0x1b9fd3=_0x105491[_0x3322d1(0xdd)],_0x2778f4;function _0x999310(){var _0x228a7d=_0x3322d1;return _0x2778f4||(_0x2778f4=0x1,function(_0x4a60f7,_0x2c2bd4){(function(_0x2b2816,_0x353c76){_0x4a60f7['exports']=_0x353c76(_0x564aef());}(_0x1b9fd3,function(_0x537ede){var _0x1f259c=_0x4ac4;return _0x537ede['enc'][_0x1f259c(0x22d)];}));}(_0x105491)),_0x105491[_0x228a7d(0xdd)];}var _0x328eef=_0x999310();const _0x294719=_0x18d4b9(_0x328eef);var _0x54ec99={'exports':{}},_0x63a66b=_0x54ec99['exports'],_0xe12893;function _0x52a7a0(){var _0x479e49=_0x3322d1;return _0xe12893||(_0xe12893=0x1,function(_0x5babaf,_0x596098){(function(_0x3e97b5,_0x4ea700){var _0x1d4a6d=_0x4ac4;_0x5babaf[_0x1d4a6d(0xdd)]=_0x4ea700(_0x564aef());}(_0x63a66b,function(_0x5d18c8){var _0x43d84f=_0x4ac4;return(function(){var _0x41f159=_0x4ac4;if(typeof ArrayBuffer=='function'){var _0xc008de=_0x5d18c8,_0x1e4ebb=_0xc008de['lib'],_0x353c7b=_0x1e4ebb['WordArray'],_0x39b6cd=_0x353c7b[_0x41f159(0x179)],_0x46ac93=_0x353c7b[_0x41f159(0x179)]=function(_0xd0ef8a){var _0x180e97=_0x41f159;if(_0xd0ef8a instanceof ArrayBuffer&&(_0xd0ef8a=new Uint8Array(_0xd0ef8a)),(_0xd0ef8a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xd0ef8a instanceof Uint8ClampedArray||_0xd0ef8a instanceof Int16Array||_0xd0ef8a instanceof Uint16Array||_0xd0ef8a instanceof Int32Array||_0xd0ef8a instanceof Uint32Array||_0xd0ef8a instanceof Float32Array||_0xd0ef8a instanceof Float64Array)&&(_0xd0ef8a=new Uint8Array(_0xd0ef8a[_0x180e97(0x129)],_0xd0ef8a[_0x180e97(0x1bc)],_0xd0ef8a['byteLength'])),_0xd0ef8a instanceof Uint8Array){for(var _0x229b87=_0xd0ef8a['byteLength'],_0x5c17fb=[],_0x222863=0x0;_0x222863<_0x229b87;_0x222863++)_0x5c17fb[_0x222863>>>0x2]|=_0xd0ef8a[_0x222863]<<0x18-_0x222863%0x4*0x8;_0x39b6cd[_0x180e97(0x369)](this,_0x5c17fb,_0x229b87);}else _0x39b6cd[_0x180e97(0x196)](this,arguments);};_0x46ac93[_0x41f159(0x29c)]=_0x353c7b;}}()),_0x5d18c8[_0x43d84f(0x3f8)][_0x43d84f(0x38e)];}));}(_0x54ec99)),_0x54ec99[_0x479e49(0xdd)];}var _0x44e061=_0x52a7a0();const _0x17eb56=_0x18d4b9(_0x44e061);var _0x514693={'exports':{}},_0x379e90=_0x514693[_0x3322d1(0xdd)],_0x9db6f5;function _0x2636e4(){var _0x202f9d=_0x3322d1;return _0x9db6f5||(_0x9db6f5=0x1,function(_0x301f72,_0x5b3d0a){(function(_0x15220a,_0x164733,_0x3c0d7a){var _0x4ffce1=_0x4ac4;_0x301f72[_0x4ffce1(0xdd)]=_0x164733(_0x564aef(),_0x1ecea5());}(_0x379e90,function(_0x4be78c){var _0x358e4d=_0x4ac4;return _0x4be78c[_0x358e4d(0x2c4)][_0x358e4d(0x3a1)]={'pad':function(){},'unpad':function(){}},_0x4be78c[_0x358e4d(0x2c4)][_0x358e4d(0x3a1)];}));}(_0x514693)),_0x514693[_0x202f9d(0xdd)];}var _0x4e7206=_0x2636e4();const _0x4c59d6=_0x18d4b9(_0x4e7206);function _0xb443ec(_0x541a91,_0x3c3bb5){var _0x3fefe1=_0x3322d1;const _0x41c37e=_0x3c3bb5-_0x541a91[_0x3fefe1(0x27f)]%_0x3c3bb5,_0x111a0f=String['fromCharCode'](_0x41c37e)[_0x3fefe1(0x36a)](_0x41c37e);return _0x541a91+_0x111a0f;}function _0x147beb(_0x20a345,_0x5bb5ff){var _0x5b5527=_0x3322d1;const _0x588de4=_0x17eb56[_0x5b5527(0x1e4)](0x10),_0x495f0c=_0xb443ec(_0x20a345,0x10),_0xcd188b=_0x22d407[_0x5b5527(0xfc)](_0x294719[_0x5b5527(0x38b)](_0x495f0c),_0x85a0ef['parse'](_0x5bb5ff),{'iv':_0x588de4,'padding':_0x4c59d6});return _0x588de4[_0x5b5527(0xa3)](_0xcd188b['ciphertext'])[_0x5b5527(0x19c)](_0x85a0ef);}function _0x2d4814(){var _0x2abf62=_0x3322d1;const _0x15d4cc=_0x5cf31e['getGlobalObject']()[_0x2abf62(0x188)];if(_0x15d4cc){const _0xc4342f={'time':Math['floor'](Date[_0x2abf62(0x403)]()/0x3e8),'domain':location['hostname']};return _0x147beb(JSON[_0x2abf62(0xc1)](_0xc4342f),_0x15d4cc);}}var _0x3bfac1=Object['getOwnPropertyDescriptor'],_0x162fe9=(_0x19c656,_0x3644df,_0x35cd10,_0x101652)=>{var _0x32216f=_0x3322d1;for(var _0x3b10ed=_0x101652>0x1?void 0x0:_0x101652?_0x3bfac1(_0x3644df,_0x35cd10):_0x3644df,_0x33bd43=_0x19c656[_0x32216f(0x27f)]-0x1,_0xbb1001;_0x33bd43>=0x0;_0x33bd43--)(_0xbb1001=_0x19c656[_0x33bd43])&&(_0x3b10ed=_0xbb1001(_0x3b10ed)||_0x3b10ed);return _0x3b10ed;},_0x569723=(_0xcd16e2,_0x5eba8e)=>(_0x5363db,_0x526e61)=>_0x5eba8e(_0x5363db,_0x526e61,_0xcd16e2);let _0x5206ab=class{constructor(_0x32ffda){var _0x187df7=_0x3322d1;this[_0x187df7(0x37b)]=_0x32ffda,this[_0x187df7(0x1d2)]();}[_0x3322d1(0x1d2)](){var _0x3ad859=_0x3322d1;this['_httpService'][_0x3ad859(0x418)]({'interceptor':(_0x208e58,_0x484f84)=>{var _0x4ae951=_0x3ad859;const _0xb13eec=_0x208e58[_0x4ae951(0x384)],_0x338f33=_0x2d4814();return _0x338f33&&_0xb13eec[_0x4ae951(0x205)]('x-univer-host',_0x338f33),_0x484f84(_0x208e58);}});}};_0x5206ab=_0x162fe9([_0x569723(0x0,_0x8ca058[_0x3322d1(0x2f8)](_0x2ab6e2[_0x3322d1(0x245)]))],_0x5206ab);var _0x53bf49=Object[_0x3322d1(0x1ed)],_0x1c4aa2=(_0x293eed,_0x38a298,_0x2b5280,_0x577d90)=>{var _0x18deda=_0x3322d1;for(var _0xc93146=_0x577d90>0x1?void 0x0:_0x577d90?_0x53bf49(_0x38a298,_0x2b5280):_0x38a298,_0x5a9f37=_0x293eed[_0x18deda(0x27f)]-0x1,_0x34c5e2;_0x5a9f37>=0x0;_0x5a9f37--)(_0x34c5e2=_0x293eed[_0x5a9f37])&&(_0xc93146=_0x34c5e2(_0xc93146)||_0xc93146);return _0xc93146;},_0x45230d=(_0x32fda1,_0x592565)=>(_0x1527fd,_0x2364a0)=>_0x592565(_0x1527fd,_0x2364a0,_0x32fda1);_0x3af782[_0x3322d1(0x24c)]=class extends _0x8ca058[_0x3322d1(0x2af)]{constructor(_0x17dd43,_0x25bfa2,_0x1e6eab){var _0x3c6f1d=_0x3322d1;super(),_0x41a0d(this,'_unitInfo$',new _0x15d677[(_0x3c6f1d(0x298))](null)),_0x41a0d(this,_0x3c6f1d(0x2d4),this[_0x3c6f1d(0xc9)][_0x3c6f1d(0xa6)]()),(this[_0x3c6f1d(0x1d8)]=_0x17dd43,this[_0x3c6f1d(0x3d1)]=_0x25bfa2,this[_0x3c6f1d(0x334)]=_0x1e6eab);}async[_0x3322d1(0x356)](_0x5a00fa,_0x5ec94d,_0x2fe930){var _0x142df0=_0x3322d1;this[_0x142df0(0xc9)][_0x142df0(0x22b)]({'unitId':_0x5a00fa,'type':_0x5ec94d,'subUnitId':_0x2fe930});let _0x357a85=null;switch(_0x5ec94d){case _0x5922e4[_0x142df0(0x209)]:{_0x357a85=await this[_0x142df0(0x18d)](_0x5a00fa);break;}case _0x5922e4[_0x142df0(0x3fd)]:{_0x357a85=await this[_0x142df0(0x314)](_0x5a00fa);break;}default:{this[_0x142df0(0x1d8)]['error'](_0x142df0(0x2e4),_0x142df0(0x9c));break;}}return _0x357a85;}async['_loadSheet'](_0xb86da7){var _0x333798=_0x3322d1,_0x502266;let _0x21e834=0x0;const _0x5e23a9=await((_0x502266=this['_localCacheService'])==null?void 0x0:_0x502266[_0x333798(0x13a)](_0xb86da7));return _0x5e23a9&&(_0x5e23a9[_0x333798(0x2d7)]||_0x5e23a9[_0x333798(0x25c)][_0x333798(0x27f)]!==0x0)&&(_0x21e834=_0x5e23a9[_0x333798(0xba)]),_0x21e834===0x0&&this[_0x333798(0x1d8)]['debug']('[DataLoaderService]',_0x333798(0xd3)),this[_0x333798(0x3d1)][_0x333798(0x163)](_0xb86da7,_0x21e834);}async[_0x3322d1(0x314)](_0x5320df){var _0x386760=_0x3322d1,_0x4e08c7;let _0x26e54f=0x0;const _0x3ee77c=await((_0x4e08c7=this['_localCacheService'])==null?void 0x0:_0x4e08c7[_0x386760(0x13a)](_0x5320df));return _0x3ee77c&&(_0x3ee77c[_0x386760(0x2d7)]||_0x3ee77c[_0x386760(0x25c)]['length']!==0x0)&&(_0x26e54f=_0x3ee77c[_0x386760(0xba)]),_0x26e54f===0x0&&this[_0x386760(0x1d8)][_0x386760(0x2a1)](_0x386760(0x2e4),_0x386760(0xd3)),this[_0x386760(0x3d1)]['loadDoc'](_0x5320df,_0x26e54f);}},_0x3af782[_0x3322d1(0x24c)]=_0x1c4aa2([_0x45230d(0x0,_0x8ca058[_0x3322d1(0xfb)]),_0x45230d(0x1,_0x8ca058[_0x3322d1(0x2f8)](_0x181314[_0x3322d1(0x1e0)])),_0x45230d(0x2,_0x8ca058[_0x3322d1(0x3f0)](_0x16c67d))],_0x3af782[_0x3322d1(0x24c)]);var _0x3b5b87=Object[_0x3322d1(0x1ed)],_0x55a256=(_0x2ed805,_0x58b116,_0x31c956,_0x494b60)=>{var _0x4bed92=_0x3322d1;for(var _0x5e1292=_0x494b60>0x1?void 0x0:_0x494b60?_0x3b5b87(_0x58b116,_0x31c956):_0x58b116,_0x20cad0=_0x2ed805[_0x4bed92(0x27f)]-0x1,_0xe8116f;_0x20cad0>=0x0;_0x20cad0--)(_0xe8116f=_0x2ed805[_0x20cad0])&&(_0x5e1292=_0xe8116f(_0x5e1292)||_0x5e1292);return _0x5e1292;},_0x19d59b=(_0x2c810d,_0x456fa4)=>(_0x4431ef,_0x2e0047)=>_0x456fa4(_0x4431ef,_0x2e0047,_0x2c810d);const _0x508be5=[_0x3322d1(0x2c2),_0x3322d1(0x276),_0x3322d1(0x2a7),'image/gif','image/bmp'],_0xc269d=0x5*0x400*0x400,_0xffda09=_0x3322d1(0xbd),_0x5367ef='/universer-api/stream/file/upload',_0x44e6c6='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x382ecf=_0x3322d1(0x24f);_0x3af782[_0x3322d1(0x108)]=class{constructor(_0x3d9110,_0x3648ac,_0x113edc){var _0x52705f=_0x3322d1;_0x41a0d(this,_0x52705f(0xfa),0x0),_0x41a0d(this,_0x52705f(0x1f9),new _0x15d677[(_0x52705f(0x1cf))]()),_0x41a0d(this,_0x52705f(0x2b0),this[_0x52705f(0x1f9)]),_0x41a0d(this,'_imageSourceCache',new Map()),(this[_0x52705f(0x37b)]=_0x3d9110,this[_0x52705f(0x21d)]=_0x3648ac,this[_0x52705f(0x247)]=_0x113edc);}[_0x3322d1(0x2fb)](_0xe0b89b){var _0x2bbbec=_0x3322d1;this[_0x2bbbec(0xfa)]=_0xe0b89b,this[_0x2bbbec(0x1f9)][_0x2bbbec(0x22b)](_0xe0b89b);}['getImageSourceCache'](_0x545826,_0x5720a0){var _0x12346e=_0x3322d1;if(_0x5720a0===_0x22636f[_0x12346e(0x1e2)][_0x12346e(0xf4)]){const _0xf95862=new Image();return _0xf95862[_0x12346e(0x11a)]=_0x545826,_0xf95862;}return this[_0x12346e(0x202)][_0x12346e(0x3dc)](_0x545826);}[_0x3322d1(0x17c)](_0xb2a961,_0x19a95f,_0x206f2c){var _0x25ed85=_0x3322d1;_0x19a95f===_0x22636f['ImageSourceType']['BASE64']||_0x206f2c==null||this[_0x25ed85(0x202)][_0x25ed85(0x205)](_0xb2a961,_0x206f2c);}async['getImage'](_0x241b82){var _0x3cb0e5=_0x3322d1;try{const _0x96ab01=this[_0x3cb0e5(0x2ab)](this['_getSignURL'](),''+_0x241b82),_0x28f0f1=(await this['_httpService']['get'](_0x96ab01))[_0x3cb0e5(0xc2)];if(_0x28f0f1[_0x3cb0e5(0x168)]&&_0x28f0f1[_0x3cb0e5(0x168)][_0x3cb0e5(0x326)]===_0x1651da['OK']){const _0x1195ea=new URL(_0x28f0f1[_0x3cb0e5(0x21f)],this[_0x3cb0e5(0x21a)]())[_0x3cb0e5(0x19c)]();return Promise[_0x3cb0e5(0x341)](_0x1195ea);}return Promise[_0x3cb0e5(0x155)](_0x28f0f1[_0x3cb0e5(0x168)]);}catch(_0x29fbdd){return Promise['reject'](_0x29fbdd);}}async[_0x3322d1(0x348)](_0x1e5d62){var _0x298aca=_0x3322d1;let _0x2b1707='';if(!_0x508be5['includes'](_0x1e5d62[_0x298aca(0x253)]))return this[_0x298aca(0x2ec)](),Promise['reject'](new Error(_0x22636f[_0x298aca(0x3cd)][_0x298aca(0x388)]));if(_0x1e5d62['size']>_0xc269d)return this[_0x298aca(0x2ec)](),Promise[_0x298aca(0x155)](new Error(_0x22636f[_0x298aca(0x3cd)][_0x298aca(0x218)]));try{const _0x1ba6cd=new FormData();_0x1ba6cd['append'](_0x298aca(0x224),_0x1e5d62);const _0x1fbdec=this[_0x298aca(0x247)][_0x298aca(0x19f)](),_0x1ce577=_0x1fbdec==null?void 0x0:_0x1fbdec[_0x298aca(0x12b)]();if(!_0x1ce577)throw new Error('unitId\x20is\x20not\x20found');const _0x30b0a3=this[_0x298aca(0x41d)]()+_0x298aca(0x2c9)+_0x1e5d62[_0x298aca(0x373)][_0x298aca(0x19c)]()+_0x298aca(0x40d)+_0x36d9df[_0x298aca(0x16a)]+_0x298aca(0x338)+encodeURIComponent(_0x1ce577),_0x44f404=await(await fetch(_0x30b0a3,{'method':_0x298aca(0x1a0),'body':_0x1ba6cd}))[_0x298aca(0xfd)]();if(typeof _0x44f404[_0x298aca(0x233)]!='string')return this[_0x298aca(0x2ec)](),Promise[_0x298aca(0x155)](new Error(_0x22636f[_0x298aca(0x3cd)][_0x298aca(0x401)]));_0x2b1707=_0x44f404[_0x298aca(0x233)];}catch{return this['_decreaseWaiting'](),Promise[_0x298aca(0x155)](new Error(_0x22636f[_0x298aca(0x3cd)]['ERROR_IMAGE']));}return new Promise((_0x3a104f,_0x3b44c1)=>{var _0x214b48=_0x298aca;const _0x480f5d=new FileReader();_0x480f5d['readAsDataURL'](_0x1e5d62),_0x480f5d[_0x214b48(0x32a)]=_0x26f905=>{var _0x493003=_0x214b48,_0x57e8d1;const _0x30a64e=(_0x57e8d1=_0x26f905[_0x493003(0x1b7)])==null?void 0x0:_0x57e8d1[_0x493003(0x2b1)];if(_0x30a64e==null){this['_decreaseWaiting'](),_0x3b44c1(new Error(_0x22636f['ImageUploadStatusType'][_0x493003(0x401)]));return;}const _0x40b52b=_0x8ca058[_0x493003(0x30d)][_0x493003(0x3d7)](0x6);_0x3a104f({'imageId':_0x40b52b,'imageSourceType':_0x22636f[_0x493003(0x1e2)][_0x493003(0x13f)],'source':_0x2b1707,'base64Cache':_0x30a64e,'status':_0x22636f[_0x493003(0x3cd)][_0x493003(0x15b)]}),this[_0x493003(0x2ec)]();};});}[_0x3322d1(0x41d)](){var _0xee450a=_0x3322d1,_0x54a0a9,_0x1d94c0;const _0x31a56d=this['_configService']['getConfig'](_0xffda09),_0x219e08=this[_0xee450a(0x21d)]['getConfig'](_0x59e8a5);return(_0x1d94c0=(_0x54a0a9=_0x219e08==null?void 0x0:_0x219e08[_0xee450a(0x16e)])!=null?_0x54a0a9:_0x31a56d)!=null?_0x1d94c0:_0x5367ef;}['_getSignURL'](){var _0x2de5e4=_0x3322d1,_0x12465e,_0x543cbe;const _0x3eb2e9=this[_0x2de5e4(0x21d)]['getConfig'](_0x44e6c6),_0x1e8339=this[_0x2de5e4(0x21d)][_0x2de5e4(0x146)](_0x59e8a5);return(_0x543cbe=(_0x12465e=_0x1e8339==null?void 0x0:_0x1e8339[_0x2de5e4(0xbc)])!=null?_0x12465e:_0x3eb2e9)!=null?_0x543cbe:_0x382ecf;}['_getDownloadEndpointURL'](){var _0x3a6f9c=_0x3322d1,_0xe4a715;const _0x7fdfdf=this[_0x3a6f9c(0x21d)][_0x3a6f9c(0x146)](_0x59e8a5);return(_0xe4a715=_0x7fdfdf==null?void 0x0:_0x7fdfdf[_0x3a6f9c(0x12d)])!=null?_0xe4a715:location[_0x3a6f9c(0xf1)];}[_0x3322d1(0x2ab)](_0xefc967,_0x2d67af){var _0x4e1658=_0x3322d1;return _0xefc967['replace'](_0x4e1658(0x1c7),_0x2d67af);}[_0x3322d1(0x2ec)](){var _0x480467=_0x3322d1;this[_0x480467(0xfa)]-=0x1,this[_0x480467(0x1f9)]['next'](this[_0x480467(0xfa)]);}},_0x3af782[_0x3322d1(0x108)]=_0x55a256([_0x19d59b(0x0,_0x8ca058[_0x3322d1(0x2f8)](_0x2ab6e2[_0x3322d1(0x245)])),_0x19d59b(0x1,_0x8ca058['IConfigService']),_0x19d59b(0x2,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x353)]))],_0x3af782['CollaborationImageIoService']);var _0x5c1811=Object[_0x3322d1(0x1ed)],_0x6503d3=(_0x540e11,_0xab2c6,_0x3c2b09,_0x2f77ac)=>{var _0x58ec92=_0x3322d1;for(var _0xfb42f=_0x2f77ac>0x1?void 0x0:_0x2f77ac?_0x5c1811(_0xab2c6,_0x3c2b09):_0xab2c6,_0x18f152=_0x540e11[_0x58ec92(0x27f)]-0x1,_0x13ea94;_0x18f152>=0x0;_0x18f152--)(_0x13ea94=_0x540e11[_0x18f152])&&(_0xfb42f=_0x13ea94(_0xfb42f)||_0xfb42f);return _0xfb42f;},_0x1988a0=(_0x3ba74c,_0x1077cf)=>(_0xae0860,_0x59a6fb)=>_0x1077cf(_0xae0860,_0x59a6fb,_0x3ba74c);const _0x1f4477='/universer-api/authz';_0x3af782['MentionIoHttpService']=class{constructor(_0x51b5af,_0x2d1701){var _0x5c3f6f=_0x3322d1;this['_configService']=_0x51b5af,this[_0x5c3f6f(0xdf)]=_0x2d1701;}[_0x3322d1(0x1e8)](){var _0x43727a=_0x3322d1,_0x34f9ab,_0x4e2b82;const _0x468dff=this[_0x43727a(0x21d)][_0x43727a(0x146)](_0x5b390b),_0x2c2b72=this[_0x43727a(0x21d)]['getConfig'](_0x59e8a5);return(_0x4e2b82=(_0x34f9ab=_0x2c2b72==null?void 0x0:_0x2c2b72[_0x43727a(0x151)])!=null?_0x34f9ab:_0x468dff)!=null?_0x4e2b82:_0x1f4477;}async[_0x3322d1(0x238)](_0x336b35){var _0x15cb21=_0x3322d1;const _0x8c852d=this[_0x15cb21(0x1e8)]()+_0x15cb21(0x2d3);return{'list':[{'title':'People','mentions':(await this[_0x15cb21(0xdf)][_0x15cb21(0x3dc)](_0x8c852d,{'params':{'objectID':_0x336b35[_0x15cb21(0x414)],'unitID':_0x336b35['unitId']}}))[_0x15cb21(0xc2)][_0x15cb21(0x107)][_0x15cb21(0x2d5)](_0x20f176=>({'objectId':_0x20f176['id'],'name':_0x20f176[_0x15cb21(0xa4)][_0x15cb21(0x215)],'metadata':{'icon':_0x20f176[_0x15cb21(0xa4)][_0x15cb21(0x1cb)]},'label':_0x20f176[_0x15cb21(0xa4)][_0x15cb21(0x215)],'objectType':_0x8ca058[_0x15cb21(0xad)][_0x15cb21(0x2a5)]})),'metadata':{},'type':_0x8ca058[_0x15cb21(0xad)][_0x15cb21(0x2a5)]}]};}},_0x3af782['MentionIoHttpService']=_0x6503d3([_0x1988a0(0x0,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x23f)])),_0x1988a0(0x1,_0x8ca058['Inject'](_0x2ab6e2[_0x3322d1(0x245)]))],_0x3af782[_0x3322d1(0x331)]);var _0x3c6409=Object[_0x3322d1(0x1ed)],_0xc8f23d=(_0xee43ea,_0x4f0f49,_0x555ca7,_0x481db7)=>{var _0x54b544=_0x3322d1;for(var _0xcfdcde=_0x481db7>0x1?void 0x0:_0x481db7?_0x3c6409(_0x4f0f49,_0x555ca7):_0x4f0f49,_0x165c6b=_0xee43ea[_0x54b544(0x27f)]-0x1,_0x11d926;_0x165c6b>=0x0;_0x165c6b--)(_0x11d926=_0xee43ea[_0x165c6b])&&(_0xcfdcde=_0x11d926(_0xcfdcde)||_0xcfdcde);return _0xcfdcde;},_0x5625fd=(_0x344077,_0x2aa67a)=>(_0x2f4601,_0x2eb2b2)=>_0x2aa67a(_0x2f4601,_0x2eb2b2,_0x344077);let _0x215bfb=class extends _0x8ca058['RxDisposable']{constructor(_0x2ab2cf,_0x34f7da,_0x49e0a9,_0x322729,_0x51ff92){var _0x5b803e=_0x3322d1;super(),this[_0x5b803e(0x3d4)]=_0x2ab2cf,this['_univerInstanceService']=_0x34f7da,this['_permissionService']=_0x49e0a9,this['_collaborationSessionService']=_0x322729,this[_0x5b803e(0x407)]=_0x51ff92,this[_0x5b803e(0x248)](),this['_initCloseConn']();}[_0x3322d1(0x405)](){var _0x394153=_0x3322d1;const _0x538ef3=async _0x94a9c9=>{var _0x168ebd=_0x4ac4;(await this[_0x168ebd(0x1ea)][_0x168ebd(0x340)](_0x94a9c9))['event$']['pipe'](_0x518420[_0x168ebd(0x150)](_0x36e4bc=>_0x36e4bc[_0x168ebd(0x204)]===_0x181314[_0x168ebd(0x140)][_0x168ebd(0x285)]),_0x518420[_0x168ebd(0x123)](this[_0x168ebd(0x40e)]))[_0x168ebd(0x330)](_0x4c89bd=>{var _0x2c48ce=_0x168ebd;const _0x935490=_0x4c89bd,{reason:_0x5c2ddd}=_0x935490[_0x2c48ce(0x1df)];this[_0x2c48ce(0x407)][_0x2c48ce(0x2c0)]({'id':_0x179eb8['CLOSE_ROOM'],'data':_0x5c2ddd}),this[_0x2c48ce(0x336)][_0x2c48ce(0x303)](new _0x33826e[(_0x2c48ce(0x406))](_0x94a9c9)['id'],!0x1),this['_collaborationSessionService'][_0x2c48ce(0x1c4)](_0x94a9c9);});};_0x15d677[_0x394153(0xd6)](this[_0x394153(0x247)][_0x394153(0x1eb)](_0x8ca058[_0x394153(0x37c)][_0x394153(0x209)]),this[_0x394153(0x247)][_0x394153(0x1eb)](_0x8ca058[_0x394153(0x37c)]['UNIVER_DOC']))['pipe'](_0x518420[_0x394153(0x2d5)](_0x248816=>_0x248816[_0x394153(0x12b)]()),_0x518420[_0x394153(0x150)](_0x1a95ed=>!_0x8ca058[_0x394153(0x335)](_0x1a95ed)),_0x518420['takeUntil'](this[_0x394153(0x40e)]))[_0x394153(0x330)](_0x5c6f7e=>{_0x538ef3(_0x5c6f7e);});}[_0x3322d1(0x248)](){var _0x5dde50=_0x3322d1;const _0x5cbe18=async _0x587d86=>{var _0x2e336f=_0x4ac4;const _0x290571=await this[_0x2e336f(0x1ea)][_0x2e336f(0x340)](_0x587d86),_0x1b5fc5=this[_0x2e336f(0x3d4)][_0x2e336f(0x3dc)](_0x33826e[_0x2e336f(0x12a)]);_0x290571[_0x2e336f(0x1e1)][_0x2e336f(0x3e7)](_0x518420[_0x2e336f(0x150)](_0x1a947d=>_0x1a947d[_0x2e336f(0x204)]===_0x181314[_0x2e336f(0x140)][_0x2e336f(0x278)]),_0x518420[_0x2e336f(0x123)](this['dispose$']))['subscribe'](_0x40cb60=>{var _0x2a81b1=_0x2e336f;const _0x3e9743=_0x40cb60,{objectId:_0x58cd8b}=_0x3e9743[_0x2a81b1(0x1df)];_0x58cd8b===_0x587d86?_0x1b5fc5[_0x2a81b1(0xec)](_0x587d86):_0x1b5fc5[_0x2a81b1(0x35a)](_0x587d86,_0x58cd8b);});};_0x15d677[_0x5dde50(0xd6)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x8ca058[_0x5dde50(0x37c)][_0x5dde50(0x209)]))[_0x5dde50(0x3e7)](_0x518420[_0x5dde50(0x2d5)](_0x19c3be=>_0x19c3be[_0x5dde50(0x12b)]()),_0x518420[_0x5dde50(0x150)](_0x1d965e=>!_0x8ca058[_0x5dde50(0x335)](_0x1d965e)),_0x518420[_0x5dde50(0x123)](this['dispose$']))['subscribe'](_0x268541=>{_0x5cbe18(_0x268541);});}};_0x215bfb=_0xc8f23d([_0x5625fd(0x0,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0x5625fd(0x1,_0x8ca058['IUniverInstanceService']),_0x5625fd(0x2,_0x8ca058[_0x3322d1(0x2b7)]),_0x5625fd(0x3,_0x8ca058[_0x3322d1(0x2f8)](_0x3af782[_0x3322d1(0x34a)])),_0x5625fd(0x4,_0x8ca058[_0x3322d1(0x2f8)](_0x2da18d))],_0x215bfb);var _0xa07edb=Object[_0x3322d1(0x1ed)],_0x3b5adf=(_0x4f15ab,_0x2d8c7e,_0x251b1b,_0x2bd069)=>{var _0x30f3f3=_0x3322d1;for(var _0x221265=_0x2bd069>0x1?void 0x0:_0x2bd069?_0xa07edb(_0x2d8c7e,_0x251b1b):_0x2d8c7e,_0x5286ab=_0x4f15ab[_0x30f3f3(0x27f)]-0x1,_0x5d233f;_0x5286ab>=0x0;_0x5286ab--)(_0x5d233f=_0x4f15ab[_0x5286ab])&&(_0x221265=_0x5d233f(_0x221265)||_0x221265);return _0x221265;},_0x12aea1=(_0x575fa6,_0x4ac925)=>(_0x457015,_0x1527cf)=>_0x4ac925(_0x457015,_0x1527cf,_0x575fa6);_0x3af782[_0x3322d1(0x1d5)]=class{constructor(_0x4c8c67,_0x384587){var _0xc864c9=_0x3322d1;this[_0xc864c9(0x21d)]=_0x4c8c67,this[_0xc864c9(0x37b)]=_0x384587;}async[_0x3322d1(0x10c)](_0x5b0f7e,_0x1dd402){var _0x4bba98=_0x3322d1,_0x12c0e4;const {unitID:_0x1d376d,type:_0x24e91b,revision:_0x3a94d4=0x0}=_0x1dd402,_0x223cea=this[_0x4bba98(0x29d)]()+'/'+_0x24e91b+_0x4bba98(0x1c6)+_0x1d376d+_0x4bba98(0x3c4)+_0x3a94d4,_0x5ce635=(await this[_0x4bba98(0x37b)][_0x4bba98(0x3dc)](_0x223cea))['body'],_0x2d525b=(_0x12c0e4=_0x5ce635[_0x4bba98(0x3ba)])==null?void 0x0:_0x12c0e4['workbook'];if(_0x2d525b){const _0x478fb0=_0x2d525b==null?void 0x0:_0x2d525b[_0x4bba98(0xcf)],_0x3a2f64=_0x181314[_0x4bba98(0x11f)][_0x4bba98(0x3c6)](_0x181314[_0x4bba98(0x36c)](_0x478fb0));_0x2d525b[_0x4bba98(0xcf)]=_0x3a2f64,Object[_0x4bba98(0x25e)](_0x2d525b[_0x4bba98(0x416)])['forEach'](([,_0x48b520])=>{var _0xa60b2=_0x4bba98;const _0x1240e3=_0x48b520[_0xa60b2(0xcf)],_0x2f6f72=_0x181314[_0xa60b2(0x11f)]['encode'](_0x181314[_0xa60b2(0x36c)](_0x1240e3));_0x48b520[_0xa60b2(0xcf)]=_0x2f6f72;});}return _0x5ce635;}async[_0x3322d1(0x3d0)](_0x750d37,_0x34d768){var _0x21ef02=_0x3322d1;const {unitID:_0x3f51b9,type:_0xccfd7,blockID:_0x3b70ec}=_0x34d768,_0x5815df=this[_0x21ef02(0x300)]()+'/'+_0xccfd7+_0x21ef02(0x1c6)+_0x3f51b9+_0x21ef02(0x102)+_0x3b70ec;return(await this[_0x21ef02(0x37b)][_0x21ef02(0x3dc)](_0x5815df))[_0x21ef02(0xc2)];}async[_0x3322d1(0x3e4)](_0x402252,_0x1fcba1){var _0x29ec9d=_0x3322d1;const {unitID:_0x57eb2e,type:_0x4f6ffb,blockID:_0x3e4c82}=_0x1fcba1,_0x5579d5=this[_0x29ec9d(0x300)]()+_0x29ec9d(0x102)+_0x4f6ffb+'/unit/'+_0x57eb2e+_0x29ec9d(0x102)+_0x3e4c82;return(await this[_0x29ec9d(0x37b)][_0x29ec9d(0x3dc)](_0x5579d5))[_0x29ec9d(0xc2)];}async[_0x3322d1(0x1f8)](_0x14f2c5,_0x1016db){var _0x1442c4=_0x3322d1;const {unitID:_0x2dfcc8,type:_0x4679ef,from:_0x50dd90,to:_0x39ab5b}=_0x1016db,_0x1a64a0=this[_0x1442c4(0x300)]()+'/'+_0x4679ef+_0x1442c4(0x1c6)+_0x2dfcc8+'/fetchmissing?from='+_0x50dd90+_0x1442c4(0x1a3)+_0x39ab5b;return(await this['_httpService']['get'](_0x1a64a0))[_0x1442c4(0xc2)];}[_0x3322d1(0x29d)](){var _0x457ffa=_0x3322d1,_0x550254;return(_0x550254=this['_configService'][_0x457ffa(0x146)](_0x3d1b47))!=null?_0x550254:this[_0x457ffa(0x300)]();}['_getAPIPrefix'](){var _0x136d0c=_0x3322d1,_0x2360aa,_0x1defb1;const _0x54c5ca=this[_0x136d0c(0x21d)]['getConfig'](_0x579662),_0x78a4e1=this[_0x136d0c(0x21d)]['getConfig'](_0x59e8a5);return(_0x1defb1=(_0x2360aa=_0x78a4e1==null?void 0x0:_0x78a4e1['snapshotServerUrl'])!=null?_0x2360aa:_0x54c5ca)!=null?_0x1defb1:_0x5e6174;}async[_0x3322d1(0xf6)](_0x57bf48,_0x94f228){var _0x251d6f=_0x3322d1;const _0x563395=_0x251d6f(0x33d)+_0x94f228[_0x251d6f(0x253)]+_0x251d6f(0x1c6)+_0x94f228[_0x251d6f(0xfe)]+_0x251d6f(0xa0);return(await this[_0x251d6f(0x37b)][_0x251d6f(0x3dc)](_0x563395,{'params':{'resourceId':JSON[_0x251d6f(0xc1)](_0x94f228[_0x251d6f(0x34b)])}}))[_0x251d6f(0xc2)];}[_0x3322d1(0x115)](){var _0x17daaa=_0x3322d1;throw new Error(_0x17daaa(0x1b4));}[_0x3322d1(0x34f)](){var _0x1282ba=_0x3322d1;throw new Error(_0x1282ba(0x1b4));}[_0x3322d1(0xe6)](){var _0x3bed0f=_0x3322d1;throw new Error(_0x3bed0f(0x1b4));}['copyFileMeta'](){var _0x3611b9=_0x3322d1;throw new Error(_0x3611b9(0x1b4));}[_0x3322d1(0x1dd)](){var _0x143b0d=_0x3322d1;throw new Error(_0x143b0d(0x1b4));}},_0x3af782[_0x3322d1(0x1d5)]=_0x3b5adf([_0x12aea1(0x0,_0x8ca058[_0x3322d1(0x23f)]),_0x12aea1(0x1,_0x8ca058[_0x3322d1(0x2f8)](_0x2ab6e2[_0x3322d1(0x245)]))],_0x3af782['SnapshotServerOverHTTPService']);var _0x17632a=Object['getOwnPropertyDescriptor'],_0x1fc8fc=(_0x13ba29,_0x17a42d,_0x57961d,_0x30d6fb)=>{for(var _0x823478=_0x30d6fb>0x1?void 0x0:_0x30d6fb?_0x17632a(_0x17a42d,_0x57961d):_0x17a42d,_0x362a20=_0x13ba29['length']-0x1,_0x502f55;_0x362a20>=0x0;_0x362a20--)(_0x502f55=_0x13ba29[_0x362a20])&&(_0x823478=_0x502f55(_0x823478)||_0x823478);return _0x823478;},_0x3a86df=(_0x5de505,_0x2b91f0)=>(_0x24019e,_0xdc4407)=>_0x2b91f0(_0x24019e,_0xdc4407,_0x5de505);_0x3af782[_0x3322d1(0x1a9)]=class extends _0x8ca058['LocalUndoRedoService']{constructor(_0x515484,_0x1e5fb4,_0x495afb,_0x2961e0,_0x16e22d){var _0x5dfba2=_0x3322d1;super(_0x515484,_0x1e5fb4,_0x495afb),this[_0x5dfba2(0x3a4)]=_0x2961e0,this['_logService']=_0x16e22d;}[_0x3322d1(0x24e)](_0x468a19,_0x2dc9e2){var _0x5de61b=_0x3322d1;const _0x4f9a0b=this[_0x5de61b(0x3cf)](_0x468a19);if(_0x4f9a0b)try{const _0x2dd385=this[_0x5de61b(0x425)](_0x4f9a0b,_0x2dc9e2);this[_0x5de61b(0x2dc)](_0x468a19,_0x2dd385);}catch(_0x201164){this['_logService'][_0x5de61b(0x168)](_0x5de61b(0xc7),_0x201164),this['_clearUndo'](_0x468a19);}const _0x94bf0=this['_getRedoStack'](_0x468a19);if(_0x94bf0)try{const _0x41ef9e=this[_0x5de61b(0x425)](_0x94bf0,_0x2dc9e2);this[_0x5de61b(0x2a3)](_0x468a19,_0x41ef9e);}catch(_0x2227e4){this[_0x5de61b(0x1d8)][_0x5de61b(0x168)](_0x2227e4),this['_clearRedo'](_0x468a19);}}[_0x3322d1(0x2f7)](_0x523e96){var _0x363b8f=_0x3322d1;const _0x25eb55=this[_0x363b8f(0x3cf)](_0x523e96);_0x25eb55&&(_0x25eb55[_0x363b8f(0x27f)]=0x0,this[_0x363b8f(0xe7)]());}['_clearRedo'](_0x2caf8d){var _0x505c4d=_0x3322d1;const _0x2f5c7f=this[_0x505c4d(0xed)](_0x2caf8d);_0x2f5c7f&&(_0x2f5c7f[_0x505c4d(0x27f)]=0x0,this[_0x505c4d(0xe7)]());}['_substituteUndoStack'](_0x54de27,_0x15debb){var _0x1da0bf=_0x3322d1;this[_0x1da0bf(0x3b0)]['set'](_0x54de27,_0x15debb),this[_0x1da0bf(0xe7)]();}[_0x3322d1(0x2a3)](_0x6578ad,_0x123328){var _0x5cd2e3=_0x3322d1;this['_redoStacks'][_0x5cd2e3(0x205)](_0x6578ad,_0x123328),this[_0x5cd2e3(0xe7)]();}[_0x3322d1(0x425)](_0x4532d8,_0x368111){var _0x839f08=_0x3322d1;const _0x170dd9=[];let _0x8045c1=_0x368111,_0x5ebd3c=_0x368111;for(let _0x2fe074=_0x4532d8['length']-0x1;_0x2fe074>=0x0;_0x2fe074--){const {unitID:_0xca976a,undoMutations:_0x53a71c,redoMutations:_0x51b32e}=_0x4532d8[_0x2fe074],_0x21f6b0=this[_0x839f08(0x3a4)][_0x839f08(0x9f)](_0x8045c1,_0x53a71c),_0x1911fa=this['_transformService'][_0x839f08(0x9f)](_0x5ebd3c,_0x51b32e);if(_0x181314[_0x839f08(0x270)](_0x21f6b0)||_0x181314[_0x839f08(0x270)](_0x1911fa)){this[_0x839f08(0x1d8)][_0x839f08(0x168)](_0x839f08(0xc7),_0x839f08(0x198),_0x21f6b0,_0x1911fa);break;}_0x8045c1=_0x21f6b0[_0x839f08(0x263)],_0x5ebd3c=_0x1911fa[_0x839f08(0x263)],_0x170dd9[_0x839f08(0x193)]({'unitID':_0xca976a,'undoMutations':_0x21f6b0[_0x839f08(0x36b)],'redoMutations':_0x1911fa[_0x839f08(0x36b)]});}return _0x170dd9[_0x839f08(0x3f1)]();}},_0x3af782[_0x3322d1(0x1a9)]=_0x1fc8fc([_0x3a86df(0x0,_0x8ca058['IUniverInstanceService']),_0x3a86df(0x1,_0x8ca058[_0x3322d1(0x1b3)]),_0x3a86df(0x2,_0x8ca058[_0x3322d1(0xb8)]),_0x3a86df(0x3,_0x181314['ITransformService']),_0x3a86df(0x4,_0x8ca058['ILogService'])],_0x3af782[_0x3322d1(0x1a9)]);var _0x158767=Object[_0x3322d1(0x10f)],_0x533f69=Object[_0x3322d1(0x1ed)],_0x2450b1=(_0x133157,_0x22652a,_0x228c47)=>_0x22652a in _0x133157?_0x158767(_0x133157,_0x22652a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x228c47}):_0x133157[_0x22652a]=_0x228c47,_0x1300b2=(_0x1d582d,_0x17a7fc,_0x5eb87d,_0x25897c)=>{var _0x3c7e49=_0x3322d1;for(var _0x26c72e=_0x25897c>0x1?void 0x0:_0x25897c?_0x533f69(_0x17a7fc,_0x5eb87d):_0x17a7fc,_0x14f8a4=_0x1d582d[_0x3c7e49(0x27f)]-0x1,_0x23d8cd;_0x14f8a4>=0x0;_0x14f8a4--)(_0x23d8cd=_0x1d582d[_0x14f8a4])&&(_0x26c72e=_0x23d8cd(_0x26c72e)||_0x26c72e);return _0x26c72e;},_0xb36391=(_0x4420cc,_0x1c8995)=>(_0x4f7772,_0x5e4cc3)=>_0x1c8995(_0x4f7772,_0x5e4cc3,_0x4420cc),_0x5ecf69=(_0x5f7aa8,_0x27098b,_0x3c8800)=>_0x2450b1(_0x5f7aa8,_0x27098b+'',_0x3c8800);const _0x3b5fc4=_0x3322d1(0x10b);_0x3af782['UniverCollaborationClientPlugin']=class extends _0x8ca058[_0x3322d1(0x400)]{constructor(_0x32bb3a,_0x12961e,_0x54b15e,_0x4a8e9f){var _0x44d83e=_0x3322d1;super(),_0x41a0d(this,_0x44d83e(0x311)),(this[_0x44d83e(0x1d8)]=_0x12961e,this[_0x44d83e(0x3d4)]=_0x54b15e,this[_0x44d83e(0x21d)]=_0x4a8e9f);const {..._0x2cf748}=_0x8ca058['merge']({},_0x804733,_0x32bb3a);if(!_0x2cf748[_0x44d83e(0x175)])throw new Error(_0x44d83e(0x1ca));this[_0x44d83e(0x311)]=_0x2cf748,this['_configService'][_0x44d83e(0x1a8)](_0x59e8a5,_0x2cf748);}[_0x3322d1(0x1c2)](){var _0xd6935d=_0x3322d1;this[_0xd6935d(0x261)](),this[_0xd6935d(0x2ee)]();}[_0x3322d1(0x261)](){var _0x291381=_0x3322d1,_0x231ad7,_0x497e55;this[_0x291381(0x3d4)]['has'](_0x8ca058[_0x291381(0x104)])&&this[_0x291381(0x1d8)][_0x291381(0x168)](_0x291381(0x136),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x3ff771=_0x8ca058['mergeOverrideWithDependencies']([[_0x8ca058[_0x291381(0x104)],{'useClass':_0x3af782[_0x291381(0x1a9)]}],[_0x3af782[_0x291381(0x34a)]],[_0x3af782['MemberService']],[_0x3af782[_0x291381(0x3a2)]],[_0x552a72],[_0x5206ab],[_0x2220e4],[_0x215bfb],[_0x2da18d],[_0x3af782[_0x291381(0x24c)]],[_0x518d24,{'useClass':this[_0x291381(0x311)]['socketService']}],[_0x181314[_0x291381(0x3c3)],{'useClass':_0x3af782[_0x291381(0x1d5)]}],[_0x8ca058[_0x291381(0x200)],{'useClass':_0x3af782['AuthzIoHttpService']}],[_0x22636f['IImageIoService'],{'useClass':_0x3af782[_0x291381(0x108)]}],[_0x8ca058[_0x291381(0x2ea)],{'useClass':_0x3af782[_0x291381(0x331)]}],[_0x3af782[_0x291381(0x3f3)]],[_0x527a5f]],(_0x231ad7=this[_0x291381(0x311)])==null?void 0x0:_0x231ad7[_0x291381(0x35d)]);if(!((_0x497e55=this[_0x291381(0x311)])!=null&&_0x497e55[_0x291381(0x2d0)])){const _0x173602=_0x3ff771[_0x291381(0x307)](([_0x4f4b50])=>_0x4f4b50===_0xff2d97);_0x173602!==-0x1&&_0x3ff771['splice'](_0x173602,0x1);}_0x8ca058['registerDependencies'](this['_injector'],_0x3ff771);}['_initDependencies'](){var _0x179053=_0x3322d1,_0x29622d,_0x3d77a5,_0x31f133;this[_0x179053(0x3d4)][_0x179053(0x3dc)](_0x2ab6e2[_0x179053(0x245)])[_0x179053(0x418)]({'priority':0x14,'interceptor':_0x2ab6e2[_0x179053(0x148)]({'maxParallel':0x6})}),(_0x29622d=this['_config'])!=null&&_0x29622d[_0x179053(0x1d6)]||(_0x3d77a5=this[_0x179053(0x3d4)][_0x179053(0x3dc)](_0x16c67d,_0x8ca058[_0x179053(0x138)][_0x179053(0x1c3)]))==null||_0x3d77a5[_0x179053(0x189)](),(_0x31f133=this[_0x179053(0x311)])!=null&&_0x31f133[_0x179053(0x41f)]&&_0x8ca058['touchDependencies'](this[_0x179053(0x3d4)],[[_0x552a72]]),_0x8ca058[_0x179053(0x157)](this[_0x179053(0x3d4)],[[_0x5206ab],[_0x3af782[_0x179053(0x3f3)]],[_0x215bfb]]);}},_0x5ecf69(_0x3af782[_0x3322d1(0x1b0)],_0x3322d1(0xd9),_0x3b5fc4),_0x3af782['UniverCollaborationClientPlugin']=_0x1300b2([_0x8ca058['DependentOn'](_0x181314[_0x3322d1(0x232)],_0x2ab6e2['UniverNetworkPlugin']),_0xb36391(0x1,_0x8ca058[_0x3322d1(0xfb)]),_0xb36391(0x2,_0x8ca058[_0x3322d1(0x2f8)](_0x8ca058[_0x3322d1(0x304)])),_0xb36391(0x3,_0x8ca058[_0x3322d1(0x23f)])],_0x3af782[_0x3322d1(0x1b0)]),_0x3af782[_0x3322d1(0x3ff)]=_0x5b390b,_0x3af782[_0x3322d1(0x2fa)]=_0x59e8a5,_0x3af782['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x2d6b2c,_0x3af782[_0x3322d1(0x30e)]=_0x445a3c,_0x3af782[_0x3322d1(0x130)]=_0x2f39a6,_0x3af782[_0x3322d1(0x185)]=_0x179eb8,_0x3af782['CollaborationUIEventService']=_0x2da18d,_0x3af782[_0x3322d1(0x301)]=_0x2220e4,_0x3af782['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x15a698,_0x3af782[_0x3322d1(0x1da)]=_0x1b5d5e,_0x3af782[_0x3322d1(0x1a6)]=_0x4d2f17,_0x3af782[_0x3322d1(0x327)]=_0x34514f,_0x3af782[_0x3322d1(0x362)]=_0x129391,_0x3af782[_0x3322d1(0x25d)]=_0x518d24,_0x3af782['ILocalCacheService']=_0x16c67d,_0x3af782[_0x3322d1(0x39b)]=_0x111d42,_0x3af782['ISingleActiveUnitService']=_0xff2d97,_0x3af782[_0x3322d1(0x2e1)]=0x3e8,_0x3af782[_0x3322d1(0x15f)]=_0x4f514f,_0x3af782[_0x3322d1(0x22c)]=_0xcf01b2,_0x3af782[_0x3322d1(0xb3)]=_0x32b5b3,_0x3af782[_0x3322d1(0x3e3)]=_0x3eb51f,_0x3af782[_0x3322d1(0x359)]=_0x572872,_0x3af782[_0x3322d1(0x3f9)]=_0x579662,_0x3af782[_0x3322d1(0x3eb)]=_0x3d1b47,_0x3af782[_0x3322d1(0x1f7)]=_0x10c319,_0x3af782[_0x3322d1(0x3ed)]=_0x496abf,_0x3af782[_0x3322d1(0xab)]=_0x1a9568,_0x3af782[_0x3322d1(0x18e)]=_0x34603e,_0x3af782[_0x3322d1(0x28c)]=_0x4f00ce,Object[_0x3322d1(0x10f)](_0x3af782,Symbol[_0x3322d1(0x3b2)],{'value':_0x3322d1(0x30f)});}));
|