@univerjs-pro/collaboration-client 0.6.7-experimental.20250331-aa3ee78 → 0.6.7-experimental.20250331-d1f1879
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/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 _0x1cc8(_0x32e90b,_0x3afa06){var _0x365795=_0x3657();return _0x1cc8=function(_0x1cc8f0,_0x18cacf){_0x1cc8f0=_0x1cc8f0-0x144;var _0x2f35b3=_0x365795[_0x1cc8f0];return _0x2f35b3;},_0x1cc8(_0x32e90b,_0x3afa06);}function _0x3657(){var _0x518728=['JSONX','_createInitialStateImpl','Univer','_initRequestHeader','_updateState','unitId\x20is\x20not\x20found','[PendingState]:\x20received\x20rejection.','eventID','m2Prime','/universer-api/snapshot','clone','UNKNOWN_CMD','JOIN_ROOM_PERMISSION_DENIED','baseRev','dispose','_state$','UPDATE_PERMISSION_OBJ','commentUpdate$','url','@univerjs/network','_onJoinRoomEvent','/universer-api/user/session-ticket','_isPermissionRej','CollaborationSocketService','transformMutationsWithChangeset','_redoStacks','crypto','addImageSourceCache','UniverCollaborationPlugin','FETCH_MISSING','_snapshotServerService','_waitForHeartbeatResponse','DEFAULT_FILE_NAME','readAsDataURL','roomInfos','type','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Module','set','Tools','UUID','init','fetchThroughInterceptors','OTHER_CLIENT_EDITING','_telemetryService','subUnitId','catch','_clearScheduledTask','parse','SetSelectionsOperation','@univerjs-pro/collaboration','_map','_stopTelemetryCollaborationNewChangeset','INVALID_INVITE_CODE','getCurrentRevOfUnit','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','UNIVER_COLLABORATION_CLIENT_PLUGIN','POST','_members','updateOfflineData','_createHandler','loadOfflineData','LIVESHARE_TERMINATE','_executeRemoteChangeset','setConfig','_scheduleCollaborationTimeoutTimer','onSendChangeset','collaboratorID','symbol','createInstance','MUTATION','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_type','sigBytes','shareReplay','_unitInfo$','call','_queuedRemoteChangesets','initWorkbookPermissionChange','_telemetryInfo','LEAVE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_transformIMECache','focused$','onCommentUpdate','PasswordBasedCipher','ReplaySubject','deepClone','/-/object/list','UNISCRIPT_RUN','NO_OTHER_CLIENTS_EDITING','socket\x20open.','_userManagerService','_onMessage','CONNECTOR_DATA_TOO_LARGE','@univerjs/drawing','_waitCount','padding','COMPLETION_FINISHED','saveSnapshot','AES','patch','PERSON','execute','_undoRedoService','_members$','Optional','encode','withCredentials','fetchMissingChangesets','removeMember','unknown','_roomMembers','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','compute','YUUMI_RATE_OVER_LIMIT','isTransformChangesetsSuccess','_onUserLeave','getUnitId','hasOwnProperty','infoRsp','_candidateSocket','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_initMergeInterceptor','unit-cache-','UniverNetworkPlugin','UnitSnapshot','AwaitingWithPendingState','APPLY_REJECT','onStateChange','function','AWAITING','createDecryptor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/object/','_sessionStatus$','joinEvent','byteOffset','asObservable','/universer-api/file/{fileID}/sign-url','CONFLICT','abs','ISnapshotServerService','JOIN','event$','_checkMissing','_retryCount','change$','onRemoteRetry','_revisionService','onRemoteChangeset','stopTime','973780UIFfuP','listRoles','socket\x20close','UNIVER_UNKNOWN','CLOSE_ROOM','INVITE_CODE_HAS_BEEN_UES','forEach','StreamCipher','method','state$','_getAPIPrefixPath','Decryptor','SNAPSHOT_INVALID_SNAPSHOT','INetworkConditionService','toDisposable','finalize','ImageSourceType','src','UniverProCollaborationClient','add','awaitingChangeset','unitID','USERS_LEAVE','_clearCollaborationTimeoutTimer','DependentOn','members$','values','auth.needGotoLoginAlert','MD5','lib','COMMENT_UPDATE','ONLINE','_append','isArray','charCodeAt','[CollaborationEntity]','capture','ALREADY_EXISTS','getResourcesRequest','AWAITING_WITH_PENDING','USER_NOT_INVITED_CODE','BufferedBlockAlgorithm','kdf','/-/object/-/batch_allowed','_applyRemoteChangeset','COMPRESS_MUTATION_APPLY','getUnitOnRev','_doFinalize','collaMsg','Could\x20not\x20dynamically\x20require\x20\x22','onTransformRemoteChangesetByIMECache','requestParams','_permissionService','getCollabEntity$','UNIVER_SLIDE','_getUploadFileURL','CompressMutationService','_shouldReportTelemetry','_iv','IPermissionService','copyFileMeta','now','CollaborationSessionService','clamp','_instanceService','responseType','resourceIDs','getActiveSheet','UniverNetwork','_onRecvEvent','getUnitStatus$','waitForRoom$','getLatestCsReqIdBySid','586443NQNOgd','awaiting','session.room-not-exists','snapshotServerUrl','status$','HEARTBEAT_TIMEOUT','PERMISSION_DENIED','permissionRejEvent','_incrementRevisionNumber','_registerDependencies','_keySchedule','_ENC_XFORM_MODE','_onUserJoin','UPDATE_CURSOR','concat','post','firstValueFrom','COLLAB_SUBMIT_CHANGESET_URL','__creator','_createHelper','bind','_resendTimer','GLOBAL_ROOMS_CNT_EXCEEDS','SheetTransformSelectionsService','_sender','_HTTPService','requireSession','putCollaborators','_timeoutTimer','enableAuthServer','ERROR_IMAGE_TYPE','HEARTBEAT_INTERVAL','getFocusedUnit','HmacSHA1','defineProperty','_initDependencies','toggleOffline','JOINING','getGlobalObject','_collaborationUIEventService','pad','blockSize','mixIn','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getSendChangesetTimeout','SNAPSHOT_SERVER_URL_KEY','_scheduleCompleteTimestamp','sessionStatus','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','enableSingleActiveInstanceLock','HttpExport','INVITE_CODE_REQUIRED','appendMutation','PY_RUNTIME_SCRIPT_ERROR','_mode','leaveEvent','[OfflineState]:\x20received\x20acknowledgement.','_onConnectionFailed','NEW_CHANGESETS','ceil','loadDoc','LocaleService','_joinRoom','_networkConditionService','ILocalCacheService','_singleActiveUnitService','Subject','UniverCollaborationClientPlugin','params','sequenceExecute','_memberService','find','onTransformSelections','RECV','SYNCED','fromCollab','_transformRemoteChangesetByStateCache','userID','parseProtocolChangeset','IConfigService','IAuthzIoService','getCurrentUser','_sendingTimer','_rescheduleHeartbeat','startsWith','getInterceptPoints','HmacMD5','onCommandExecuted','msCrypto','onTransformRemoteChangesetByStateCache','LIVESHARE_REQUEST_HOST','univer-pro.collaboration-client.single-active-unit-service','prototype','socket$','unitId','TOO_MANY_REQUESTS','status','getConfig','SerializableCipher','mode','getImage','ISingleActiveUnitService','subject','_resendWithTimeout','/new_changes','CollaborativeUndoRedoService','Rectangle','collaborators','createEncryptor','encryptBlock','b64DecodeUnicode','clear','memberID','_transformStack','updateMember','transformUndoRedo','{fileID}','close','UniverDrawing','/resources','_schedule','ITransformService','INVALID_ARGUMENT','[CollaborationState]:\x20apply\x20error!','Quantity','setCurrentUser','_hash','image/jpeg','getTypeOfUnitDisposed$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_onFetchMissResult','IUniverInstanceService','localeService','MSG_FOR_ERROR','saveChangeset','HTTPRequest','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','6175463DpmRVM','_clearRedo','LIVESHARE_FETCH_OPERATIONS','SOCKET_FAILED','getWorkbookSelections','next','snapshot','csAckEvent','_socket$','_handlerCallback','create','joinRsp','681963LpkVZG','not_collab','/universer-api/uniscript','splice','collaboration-client.local-cache-service','[OfflineState]:\x20received\x20rejection.','_updateStatus','OpenSSL','Inject','findIndex','WordArray','collabWebSocketUrl','pipe','144HterGJ','_getSignURL','_getDownloadEndpointURL','session.join-failed','HEARTBEAT_INTERVAL_KEY','getUnitType','_disableEditing','getCollabEntity','objects','enableOfflineEditing','SHA1','_socket','HTTPService','_substituteUndoStack','&to=','UNRECOGNIZED','reqId','getValue','UniverInstanceType','shouldCloseConn','has','actions','debug','downloadEndpointUrl','delete','closeSession','UniverProLicense','APPLY_REVISION_CONFILICT','onMissingChangesets','transformStack\x20failed!','onTransformState','updateCursorEvent','SEND_CHANGESET_TIMEOUT','getMemberID','_reverseMap','BASE64','CHANGESET_REJ','_showConflictNotification','CollaborationStatus','Base','authzUrl','_commentUpdate$','[FetchMissState]','OTHER_CLIENTS_EDITING','Cipher','synced','_parse','loginUrlKey','AuthzIoHttpService','offline','session.room-cnt-exceeds','href','_retryConnectingTimer','code','UnitStatus','emitEvent','disposeWithMe','_imageSourceCache','onRemoteRej','error','IContextService','getOwnPropertyDescriptor','originalMeta','_getCurrentRevision','_invKeySchedule','_socketMessageSubscription','AUTHZ_URL_KEY','getSheetId','isTransformMutationsWithChangesetSuccess','_getCtorByUniverType','readyForCollab','JOIN_ROOM_NOT_EXISTS','INVITE_CODE_ALREADY_BOUND','BehaviorSubject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','PendingState','save\x20fail\x20reason\x20is\x20','object','_nRounds','ws://127.0.0.1:8000/universer-api/comb/connect','slice','[DataLoaderService]','MemberService','substr','range','SHOULD_CLOSE_CONN','CollaborationController','YUUMI_UNABLE_LOAD_URL','sid','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','format','CHANGESET_ACK','_cipher','BlockCipher','__esModule','_collaborationSessionService','_exhaustRemoteChangesetQueue','/block/','length','_changesetSessionId','HEARTBEAT','open$','Hasher','_transformRemoteChangesetByIMECache','UNIVER_DOC','getUnit','UNKNOWN_CODE','12tVOMhA','LICENSE_EXPORT_SIZE_EXCEEDED','_clearHeartbeatTimer','onRemoteAck','image/gif','_replayCachedMutations','pending','fetch_missing','_status$','addHandlerCallback','getMember','\x20in\x20_schedule.','_socketService','apply','onMissedChangesetFetched','/unit/','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_commentService','charAt','OFFLINE','_decreaseWaiting','SyncedState','toggleOnline','createIdentifier','send','transformChangesets','CommandType','APPLY_NON_SEQUENTIAL_REVISION','WorkbookEditablePermission','replace','[PendingState]:\x20received\x20acknowledgement.','rxjs','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Workbook','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','filter','SnapshotServerOverHTTPService','awaiting_with_pending','registerHTTPInterceptor','deserializeToCombResponse','ivSize','roles','submit\x20changeset\x20error!','csRejEvent','_localCacheService','UnitEmbedded','override','randomBytes','executeCommand','workbook','_snapshotService','c1Prime','createSocket','toLowerCase','People','enc','_remoteChangesetQueue','[CollaborationSessionService]','HELLO','/object','\x0aCurrent:\x20','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','@univerjs/core','NOT_FOUND','Base64','json','incrementRevOfUnit','CipherParams','HttpImport','RevisionService','_configService','SNAPSHOT_HAS_BEEN_REMOVED','_hasher','getTypeOfUnitAdded$','_startCollaboration','_removeRoom','&assign=','_acknowledgedAwaitingChangeset','key','NoPadding','commentUpdateEvent','_syncEditingCollabCursor','takeUntil','getImageSourceCache','repeat','algo','CollaborationUIEventId','cmd','duration','_config','_onRemoteRejected','_state','entityInit$','_doProcessBlock','IDLE','HEARTBEAT_TIMEOUT_KEY','Injector','MentionIoHttpService','_tryEnsureSocket','hasher','get','target','_lockTransition','ICommandService','SheetPermissionInitController','EvpKDF','_initCloseConn','MergeInterceptorFactory','ThresholdInterceptorFactory','PENDING','ConflictState','_transformStateCache','LOCAL_CACHE_INTERVAL_KEY','title','COMPRESS_MUTATION_SEND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_PROJECT','localCacheService','_submitChangeset','SheetCollaborationEntity','MentionType','CHANGESET_REVISION_CONFILICT','FETCH_MISS','ERROR_IMAGE','iterations','_localeService','liveShareNewHost','CollaborationSession','SUBMIT_CHANGESET','getAllMembers','loadUnit','failed\x20to\x20apply\x20missed\x20changesets!','fetchMiss','_sendHeartbeatTimer','pluginName','objectType','_transitionLocked','createCollaborator','@univerjs/docs','_clearRetryConnectingTimer','generateRandomId','changesets','_data','unitInfo$','_createSocket','_onRemoteChangeset','_onConflict','_key','ImageUploadStatusType','CollaborationImageIoService','LIVESHARE_NEW_HOST','isInternalEditorID','size','entries','\x0aAfter:\x20','CommentService','toString','Error\x20on\x20receiving\x20event','_replaceFileID','ERROR_EXCEED_SIZE','/allowed','decryptBlock','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','resend','?size=','[CollaborationUndoRedoService]','session','InsertSheetMutation','RxDisposable','_transformUndoredo','image/png','delay','UserManagerService','mapDocumentTypeToUniverType','RETRY_CONNECTING_MAX_COUNT_KEY','mutations','result','map','_xformMode','_doReset','update','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','setShowComponents','COLLAB_WEB_SOCKET_URL','onlyLocal','_httpService','pauseCollaboration','_entityInit$','[SyncedState]:\x20received\x20acknowledgement.','string','/universer-api/oidc/authpage','updatePermissionObjEvent','_sendHeartbeat','objectID','LOGIN_FAILED','_awaitingChangeset','extend','getSnapshotAPIPath','interceptor','body','join','_listenToNetworkCondition','_sessions','textRanges','CollaborationEvent','_resendTimeout','_change$','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','?url=','loadSheet','equals','_socketReady','ILogService','routeKey','max','_minBufferSize','_nDataBytes','close$','_updateLocalCache','action','touchDependencies','reconnect','UNIVER_SHEET','PSEUDO_FETCH_MISSING_RESULT','onSyncEditingCollabCursor','/fetchmissing?from=','textEncoder','updatePermissionPoint','_clearUndo','_getAPIPrefix','exports','13105Twynov','USERS_ENTER','onload','SOCKET_FAILED_RETRY','CHANGESET_SHOULD_RETRY','_getUndoStack','OfflineState','updateCollaborator','collaboration-client.config','LICENSE_IMPORT_SIZE_EXCEEDED','/collaborator','_fetchMissChangesets','isTransformMutationsWithChangesetFailure','Malformed\x20UTF-8\x20data','_createInitialState','_univerInstanceService','telemetry\x20info\x20is\x20not\x20initialized','keySize','RichTextEditingMutation','SNAPSHOT_URL_KEY','headers','getRandomValues','@univerjs/telemetry','_DEC_XFORM_MODE','_transformSelections','_unlockTransition','_pendingMutations','error$','_collabSessionService','[UniverCollaborationClientPlugin]','parseChangesetToProtocol','session.room-full','_toggleOffline','Utf8','selections','_injector','push','_doCryptBlock','EmptyMutation','LICENSE_DISTRO_REJECTED','processBlock','__Key__','_entities','name','complete','objectActions','_collaborationPaused','connection\x20error','LOCAL_CACHE_INTERVAL','_createHmacHelper','[OfflineState]:\x20received\x20changeset.','229514tjNPwo','ciphertext','/universer-api/authz','CollaborationEntity','stringify','_event$','dispose$','randomUUID','then','_onRemoteACK','_toggleOnline','_onConnectionOpen','salt','reduce','serializeCombRequest','reject','IUndoRedoService','univer-pro.collaboration-client.network-condition.service','revision','conflict','ENSURE_SNAPSHOT_EXECUTION','encrypt','PERMISSION_REJ','setWaitCount','&source=','/role','JOIN_ROOM_FULL','_roomCreated$','UNDEFINED','Disposable','Pkcs7','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationTimeoutTimer','IImageIoService','saveSheetBlock','DEFAULT_WS_SESSION_TICKET_URL','listCollaborators','DisposableCollection','Hex','SUBMIT_CHANGESET_TIMEOUT','1926rkNKYh','collaboration_new_changeset','_clearLocalCache','byteLength','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[CollaborationSessionService]:\x20socket\x20error','_process','default','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onStarting','CBC','onTransformIME','sessionStatus$','OPTIONAL','toStringTag','unsubscribe','ITelemetryService','_iKey','put','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','disableLocalCache','DataLoaderService','_tryReconnect','UniverProCollaboration','isPermissionRej','INGEST','words','_onLocalMutation','file','_startTelemetryCollaborationNewChangeset','csShouldRetryEvent','allowed','Encryptor','Failed\x20to\x20update\x20permission\x20point','UniverTelemetry','decrypt','getLocalCacheKey','LICENSE_MAX_UNITS_EXCEEDED','APPLY_DUPLICATED','members','FileId','JOIN_ROOM_FAILED','message$','ICollaborationSocketService','subscribe','_compressMutationService','image/jpg','_sheetTransformSelectionsService','_unitID','getDeserializedSheetBlock','take','online$','batchAllowed','$super','UniverSheets','FAIL','IMentionIOService','retryConnectingInterval','4822296HJXsbO','socketService','data','LIVESHARE_OPERATION','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_initUnitPermissionChange','_prevBlock','APPLY_PERMISSION_DENIED','_getRedoStack','compose','_onCombEvent','operators','_throwTelemetryCollaborationNewChangeset','_commandService','[CollaborationSession]','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','reset','/rev/','floor','rxjs/operators','_init','_changesetReqId','_getLoginPath','DocCollaborationEntity','FetchingMissState','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onLocalMutation','_loadDoc','saveImage','transformSelections','_handler','cfg','YUUMI_URL_COL_OUT_OF_RANGE','uniscriptRunEvent','_logService','merge','every','random','state','getTime','AwaitingState','UNAUTHENTICATED','_clearTimeoutTimer','startTime','list','_transformService','_onRemoteRetry','fromCharCode'];_0x3657=function(){return _0x518728;};return _0x3657();}(function(_0x39cb6d,_0x2fc35c){var _0x417d5f=_0x1cc8,_0x17f7ae=_0x39cb6d();while(!![]){try{var _0x2b816e=parseInt(_0x417d5f(0x181))/0x1+parseInt(_0x417d5f(0x3a8))/0x2+parseInt(_0x417d5f(0x216))/0x3*(parseInt(_0x417d5f(0x28e))/0x4)+-parseInt(_0x417d5f(0x375))/0x5*(parseInt(_0x417d5f(0x3d0))/0x6)+parseInt(_0x417d5f(0x20a))/0x7+parseInt(_0x417d5f(0x40a))/0x8+-parseInt(_0x417d5f(0x223))/0x9*(parseInt(_0x417d5f(0x4d3))/0xa);if(_0x2b816e===_0x2fc35c)break;else _0x17f7ae['push'](_0x17f7ae['shift']());}catch(_0x3c606f){_0x17f7ae['push'](_0x17f7ae['shift']());}}}(_0x3657,0x72722),function(_0x31c7b3,_0x5f109d){var _0x2c2fca=_0x1cc8;typeof exports==_0x2c2fca(0x270)&&typeof module<'u'?_0x5f109d(exports,require(_0x2c2fca(0x2cc)),require(_0x2c2fca(0x2ad)),require(_0x2c2fca(0x41d)),require('@univerjs-pro/collaboration'),require('@univerjs/network'),require('@univerjs/telemetry'),require(_0x2c2fca(0x318)),require('@univerjs/sheets'),require(_0x2c2fca(0x49a)),require('@univerjs-pro/license')):typeof define=='function'&&define['amd']?define([_0x2c2fca(0x374),_0x2c2fca(0x2cc),_0x2c2fca(0x2ad),_0x2c2fca(0x41d),_0x2c2fca(0x46d),_0x2c2fca(0x44d),_0x2c2fca(0x38b),'@univerjs/docs','@univerjs/sheets',_0x2c2fca(0x49a),'@univerjs-pro/license'],_0x5f109d):(_0x31c7b3=typeof globalThis<'u'?globalThis:_0x31c7b3||self,_0x5f109d(_0x31c7b3[_0x2c2fca(0x14a)]={},_0x31c7b3['UniverCore'],_0x31c7b3[_0x2c2fca(0x2ad)],_0x31c7b3[_0x2c2fca(0x2ad)][_0x2c2fca(0x415)],_0x31c7b3[_0x2c2fca(0x3e7)],_0x31c7b3[_0x2c2fca(0x17c)],_0x31c7b3[_0x2c2fca(0x3f2)],_0x31c7b3['UniverDocs'],_0x31c7b3[_0x2c2fca(0x406)],_0x31c7b3[_0x2c2fca(0x1f7)],_0x31c7b3[_0x2c2fca(0x23d)]));}(this,function(_0x3b85a1,_0x2dfbef,_0x273fc2,_0xdc3409,_0x1ea6ac,_0x372197,_0x34514d,_0x3c2b98,_0xb87b75,_0x25e8c8,_0x293117){'use strict';var _0x344682=_0x1cc8;var _0x31d06b=Object['defineProperty'],_0xcc7e90=(_0x18a028,_0x47fbd6,_0x20f2f6)=>_0x47fbd6 in _0x18a028?_0x31d06b(_0x18a028,_0x47fbd6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20f2f6}):_0x18a028[_0x47fbd6]=_0x20f2f6,_0x1ca623=(_0x358ccc,_0x44f989,_0x5828fc)=>_0xcc7e90(_0x358ccc,typeof _0x44f989!=_0x344682(0x47f)?_0x44f989+'':_0x44f989,_0x5828fc);const _0x46b779='SNAPSHOT_SERVER_URL_KEY',_0x1631e4=_0x344682(0x443),_0x327ed0=_0x344682(0x388),_0x1ea9b7=_0x344682(0x243),_0x4b8d5d=_0x344682(0x345),_0x2a51e6=_0x344682(0x272),_0x5bd882=_0x344682(0x44f),_0x49c03b=_0x344682(0x1a0),_0x331745=_0x344682(0x186),_0x55662c='RETRY_CONNECTING_MAX_COUNT',_0x256555=_0x344682(0x3a5),_0x340712=_0x344682(0x192),_0x55abdc='/universer-api/comb',_0x42cbb7='LOGIN_URL_KEY',_0x3b2eee=_0x344682(0x34c),_0x8a2dab=_0x344682(0x4c0),_0x2dd704=_0x344682(0x218);var _0x1f6940=(_0x38dcfa=>(_0x38dcfa[_0x38dcfa[_0x344682(0x3c4)]=0x0]=_0x344682(0x3c4),_0x38dcfa[_0x38dcfa['OK']=0x1]='OK',_0x38dcfa[_0x38dcfa['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x38dcfa[_0x38dcfa['PERMISSION_DENIED']=0x3]=_0x344682(0x187),_0x38dcfa[_0x38dcfa[_0x344682(0x2cd)]=0x4]='NOT_FOUND',_0x38dcfa[_0x38dcfa[_0x344682(0x433)]=0x5]=_0x344682(0x433),_0x38dcfa[_0x38dcfa[_0x344682(0x15d)]=0x6]=_0x344682(0x15d),_0x38dcfa[_0x38dcfa[_0x344682(0x1fb)]=0x7]=_0x344682(0x1fb),_0x38dcfa[_0x38dcfa[_0x344682(0x1e0)]=0x8]=_0x344682(0x1e0),_0x38dcfa[_0x38dcfa[_0x344682(0x49d)]=0x9]=_0x344682(0x49d),_0x38dcfa[_0x38dcfa[_0x344682(0x350)]=0xa]=_0x344682(0x350),_0x38dcfa[_0x38dcfa[_0x344682(0x307)]=0x1389]=_0x344682(0x307),_0x38dcfa[_0x38dcfa[_0x344682(0x144)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x38dcfa[_0x38dcfa[_0x344682(0x2d5)]=0x1772]=_0x344682(0x2d5),_0x38dcfa[_0x38dcfa[_0x344682(0x3bc)]=0x1773]=_0x344682(0x3bc),_0x38dcfa[_0x38dcfa[_0x344682(0x4bb)]=0x1b59]=_0x344682(0x4bb),_0x38dcfa[_0x38dcfa[_0x344682(0x2a9)]=0x1b5a]=_0x344682(0x2a9),_0x38dcfa[_0x38dcfa[_0x344682(0x23e)]=0x1b5b]=_0x344682(0x23e),_0x38dcfa[_0x38dcfa[_0x344682(0x411)]=0x1b5c]=_0x344682(0x411),_0x38dcfa[_0x38dcfa[_0x344682(0x3f6)]=0x1b5d]='APPLY_DUPLICATED',_0x38dcfa[_0x38dcfa[_0x344682(0x499)]=0x1f41]=_0x344682(0x499),_0x38dcfa[_0x38dcfa[_0x344682(0x3f5)]=0x2329]=_0x344682(0x3f5),_0x38dcfa[_0x38dcfa[_0x344682(0x301)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x38dcfa[_0x38dcfa['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x344682(0x37e),_0x38dcfa[_0x38dcfa[_0x344682(0x28f)]=0x232c]=_0x344682(0x28f),_0x38dcfa[_0x38dcfa[_0x344682(0x39c)]=0x232d]=_0x344682(0x39c),_0x38dcfa[_0x38dcfa[_0x344682(0x27a)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x38dcfa[_0x38dcfa[_0x344682(0x42a)]=0x2712]=_0x344682(0x42a),_0x38dcfa[_0x38dcfa['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x344682(0x4ae),_0x38dcfa[_0x38dcfa[_0x344682(0x3c7)]=0x2714]=_0x344682(0x3c7),_0x38dcfa[_0x38dcfa[_0x344682(0x1b6)]=0x2af9]=_0x344682(0x1b6),_0x38dcfa[_0x38dcfa[_0x344682(0x4d8)]=0x2ee1]=_0x344682(0x4d8),_0x38dcfa[_0x38dcfa[_0x344682(0x470)]=0x2ee2]=_0x344682(0x470),_0x38dcfa[_0x38dcfa[_0x344682(0x1b4)]=0x2ee3]=_0x344682(0x1b4),_0x38dcfa[_0x38dcfa[_0x344682(0x160)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x38dcfa[_0x38dcfa['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x344682(0x26b),_0x38dcfa[_0x38dcfa[_0x344682(0x232)]=-0x1]=_0x344682(0x232),_0x38dcfa))(_0x1f6940||{}),_0x2e0a6c=(_0x179e00=>(_0x179e00[_0x179e00[_0x344682(0x4d6)]=0x0]='UNIVER_UNKNOWN',_0x179e00[_0x179e00['UNIVER_DOC']=0x1]=_0x344682(0x28b),_0x179e00[_0x179e00[_0x344682(0x36c)]=0x2]=_0x344682(0x36c),_0x179e00[_0x179e00[_0x344682(0x16e)]=0x3]=_0x344682(0x16e),_0x179e00[_0x179e00['UNIVER_PROJECT']=0x4]=_0x344682(0x302),_0x179e00[_0x179e00[_0x344682(0x232)]=-0x1]=_0x344682(0x232),_0x179e00))(_0x2e0a6c||{}),_0x327964=(_0x1bf7c3=>(_0x1bf7c3[_0x1bf7c3['UNKNOWN_CMD']=0x0]=_0x344682(0x445),_0x1bf7c3[_0x1bf7c3[_0x344682(0x2c8)]=0x1]='HELLO',_0x1bf7c3[_0x1bf7c3[_0x344682(0x4ca)]=0x2]=_0x344682(0x4ca),_0x1bf7c3[_0x1bf7c3[_0x344682(0x48b)]=0x3]=_0x344682(0x48b),_0x1bf7c3[_0x1bf7c3['INGEST']=0x4]=_0x344682(0x3e9),_0x1bf7c3[_0x1bf7c3['HEARTBEAT']=0x5]='HEARTBEAT',_0x1bf7c3[_0x1bf7c3[_0x344682(0x1ca)]=0x6]=_0x344682(0x1ca),_0x1bf7c3[_0x1bf7c3[_0x344682(0x232)]=-0x1]=_0x344682(0x232),_0x1bf7c3))(_0x327964||{}),_0x28130f=(_0x38c38e=>(_0x38c38e[_0x38c38e[_0x344682(0x28d)]=0x0]=_0x344682(0x28d),_0x38c38e[_0x38c38e['OK']=0x1]='OK',_0x38c38e[_0x38c38e[_0x344682(0x407)]=0x2]=_0x344682(0x407),_0x38c38e[_0x38c38e['JOIN_ROOM_FULL']=0x3e9]=_0x344682(0x3c2),_0x38c38e[_0x38c38e[_0x344682(0x26a)]=0x3ea]=_0x344682(0x26a),_0x38c38e[_0x38c38e[_0x344682(0x446)]=0x3eb]=_0x344682(0x446),_0x38c38e[_0x38c38e[_0x344682(0x197)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x38c38e[_0x38c38e['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x38c38e))(_0x28130f||{}),_0x5db1f5=(_0x40fc1d=>(_0x40fc1d[_0x40fc1d['Undefined']=0x0]='Undefined',_0x40fc1d[_0x40fc1d[_0x344682(0x2d2)]=0x1]=_0x344682(0x2d2),_0x40fc1d[_0x40fc1d[_0x344682(0x1b3)]=0x2]='HttpExport',_0x40fc1d[_0x40fc1d[_0x344682(0x2bb)]=0x3]=_0x344682(0x2bb),_0x40fc1d[_0x40fc1d[_0x344682(0x4b9)]=0x4]=_0x344682(0x4b9),_0x40fc1d[_0x40fc1d[_0x344682(0x232)]=-0x1]='UNRECOGNIZED',_0x40fc1d))(_0x5db1f5||{});const _0x354056=_0x344682(0x37d),_0x28ad55={};var _0x2a7689=(_0x2c7d8e=>(_0x2c7d8e[_0x344682(0x466)]='OTHER_CLIENT_EDITING',_0x2c7d8e[_0x344682(0x187)]=_0x344682(0x187),_0x2c7d8e[_0x344682(0x4c7)]=_0x344682(0x4c7),_0x2c7d8e[_0x344682(0x4d7)]='CLOSE_ROOM',_0x2c7d8e['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x2c7d8e[_0x344682(0x378)]='SOCKET_FAILED_RETRY',_0x2c7d8e[_0x344682(0x20d)]=_0x344682(0x20d),_0x2c7d8e[_0x344682(0x3cf)]=_0x344682(0x3cf),_0x2c7d8e))(_0x2a7689||{});class _0xb65244{constructor(){var _0xbddaed=_0x344682;_0x1ca623(this,_0xbddaed(0x3ad),new _0x273fc2[(_0xbddaed(0x1c3))]()),_0x1ca623(this,_0xbddaed(0x4cb),this['_event$']['asObservable']());}['emitEvent'](_0x123ef5){var _0x514ccb=_0x344682;this[_0x514ccb(0x3ad)][_0x514ccb(0x20f)](_0x123ef5);}}const _0x1c5cb3=_0x2dfbef[_0x344682(0x2a5)](_0x344682(0x3b9));function _0x149b0b(_0x412d83){var _0x6e1b2a=_0x344682,_0x17b9fc,_0x24601d,_0x34fbc0,_0x29e820,_0x1e48fd;const _0x2f1ffb=_0x412d83['data'],_0x14acd2=JSON[_0x6e1b2a(0x46b)](_0x2f1ffb);switch(_0x14acd2[_0x6e1b2a(0x2e5)]){case _0x327964[_0x6e1b2a(0x287)]:case _0x327964[_0x6e1b2a(0x2c8)]:{const _0x369dee=_0x14acd2[_0x6e1b2a(0x4b3)];return{..._0x14acd2,'data':_0x369dee,'cmd':_0x14acd2[_0x6e1b2a(0x2e5)]};}case _0x327964[_0x6e1b2a(0x4ca)]:{const _0x17546c=_0x14acd2[_0x6e1b2a(0x215)];return{..._0x14acd2,'data':_0x17546c,'cmd':_0x14acd2[_0x6e1b2a(0x2e5)]};}case _0x327964[_0x6e1b2a(0x1ca)]:{const _0x3661cd=_0x14acd2[_0x6e1b2a(0x168)];switch(_0x3661cd[_0x6e1b2a(0x441)]){case _0x1ea6ac['CollaborationEvent']['PERMISSION_REJ']:return{..._0x14acd2,'data':{..._0x3661cd,'data':(_0x17b9fc=_0x3661cd[_0x6e1b2a(0x188)])==null?void 0x0:_0x17b9fc['cs']},'cmd':_0x14acd2['cmd']};case _0x1ea6ac['CollaborationEvent'][_0x6e1b2a(0x27e)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':(_0x24601d=_0x3661cd[_0x6e1b2a(0x211)])==null?void 0x0:_0x24601d['cs']},'cmd':_0x14acd2[_0x6e1b2a(0x2e5)]};case _0x1ea6ac['CollaborationEvent'][_0x6e1b2a(0x1bb)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':(_0x34fbc0=_0x3661cd['newCsEvent'])==null?void 0x0:_0x34fbc0['cs']},'cmd':_0x14acd2[_0x6e1b2a(0x2e5)]};case _0x1ea6ac[_0x6e1b2a(0x35a)][_0x6e1b2a(0x247)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':(_0x29e820=_0x3661cd[_0x6e1b2a(0x2b9)])==null?void 0x0:_0x29e820['cs']},'cmd':_0x14acd2['cmd']};case _0x1ea6ac[_0x6e1b2a(0x35a)][_0x6e1b2a(0x379)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':(_0x1e48fd=_0x3661cd[_0x6e1b2a(0x3ee)])==null?void 0x0:_0x1e48fd['cs']},'cmd':_0x14acd2[_0x6e1b2a(0x2e5)]};case _0x1ea6ac[_0x6e1b2a(0x35a)]['UPDATE_CURSOR']:return{..._0x14acd2,'data':{..._0x3661cd,'data':_0x3661cd[_0x6e1b2a(0x242)]},'cmd':_0x14acd2[_0x6e1b2a(0x2e5)]};case _0x1ea6ac[_0x6e1b2a(0x35a)][_0x6e1b2a(0x376)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':_0x3661cd[_0x6e1b2a(0x4c3)]},'cmd':_0x14acd2[_0x6e1b2a(0x2e5)]};case _0x1ea6ac['CollaborationEvent']['USERS_LEAVE']:return{..._0x14acd2,'data':{..._0x3661cd,'data':_0x3661cd[_0x6e1b2a(0x1b8)]},'cmd':_0x14acd2['cmd']};case _0x1ea6ac[_0x6e1b2a(0x35a)][_0x6e1b2a(0x324)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':_0x3661cd[_0x6e1b2a(0x30c)]},'cmd':_0x14acd2['cmd']};case _0x1ea6ac[_0x6e1b2a(0x35a)][_0x6e1b2a(0x20c)]:case _0x1ea6ac['CollaborationEvent'][_0x6e1b2a(0x40d)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':_0x3661cd['liveShareOperation']},'cmd':_0x14acd2[_0x6e1b2a(0x2e5)]};case _0x1ea6ac[_0x6e1b2a(0x35a)][_0x6e1b2a(0x479)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':_0x3661cd[_0x6e1b2a(0x30c)]},'cmd':_0x14acd2['cmd']};case _0x1ea6ac[_0x6e1b2a(0x35a)][_0x6e1b2a(0x206)]:return{..._0x14acd2,'data':_0x3661cd,'cmd':_0x14acd2['cmd']};case _0x1ea6ac[_0x6e1b2a(0x35a)]['COMMENT_UPDATE']:return{..._0x14acd2,'data':{..._0x3661cd,'data':_0x3661cd[_0x6e1b2a(0x2de)]},'cmd':_0x14acd2['cmd']};case _0x1ea6ac[_0x6e1b2a(0x35a)][_0x6e1b2a(0x44a)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':_0x3661cd[_0x6e1b2a(0x34d)]},'cmd':_0x14acd2[_0x6e1b2a(0x2e5)]};case _0x1ea6ac[_0x6e1b2a(0x35a)][_0x6e1b2a(0x278)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':_0x3661cd[_0x6e1b2a(0x236)]},'cmd':_0x14acd2[_0x6e1b2a(0x2e5)]};case _0x1ea6ac[_0x6e1b2a(0x35a)][_0x6e1b2a(0x494)]:return{..._0x14acd2,'data':{..._0x3661cd,'data':_0x3661cd[_0x6e1b2a(0x42b)]},'cmd':_0x14acd2['cmd']};default:return _0x14acd2;}}default:return _0x14acd2;}}function _0x9fd71d(_0xaaf2d){var _0x1aee1c=_0x344682;switch(_0xaaf2d[_0x1aee1c(0x2e5)]){case _0x327964[_0x1aee1c(0x287)]:case _0x327964[_0x1aee1c(0x2c8)]:return JSON['stringify']({'cmd':_0xaaf2d[_0x1aee1c(0x2e5)],'routeKey':_0xaaf2d[_0x1aee1c(0x363)]});case _0x327964['INGEST']:{let _0x59a1e0;switch(_0xaaf2d[_0x1aee1c(0x40c)][_0x1aee1c(0x441)]){case _0x1ea6ac[_0x1aee1c(0x35a)][_0x1aee1c(0x18e)]:{_0x59a1e0={'eventID':_0x1ea6ac[_0x1aee1c(0x35a)]['UPDATE_CURSOR'],'updateCursorEvent':_0xaaf2d['data'][_0x1aee1c(0x40c)]};break;}case _0x1ea6ac[_0x1aee1c(0x35a)]['USERS_LEAVE']:{_0x59a1e0={'eventID':_0x1ea6ac[_0x1aee1c(0x35a)][_0x1aee1c(0x14e)],'leaveEvent':_0xaaf2d[_0x1aee1c(0x40c)][_0x1aee1c(0x40c)]};break;}case _0x1ea6ac[_0x1aee1c(0x35a)]['USERS_ENTER']:{_0x59a1e0={'eventID':_0x1ea6ac[_0x1aee1c(0x35a)]['USERS_ENTER'],'joinEvent':_0xaaf2d[_0x1aee1c(0x40c)][_0x1aee1c(0x40c)]};break;}case _0x1ea6ac['CollaborationEvent'][_0x1aee1c(0x324)]:{_0x59a1e0={'eventID':_0x1ea6ac[_0x1aee1c(0x35a)][_0x1aee1c(0x324)],'liveShareNewHost':_0xaaf2d['data'][_0x1aee1c(0x40c)]};break;}case _0x1ea6ac[_0x1aee1c(0x35a)][_0x1aee1c(0x40d)]:{_0x59a1e0={'eventID':_0x1ea6ac[_0x1aee1c(0x35a)][_0x1aee1c(0x40d)],'liveShareOperation':_0xaaf2d[_0x1aee1c(0x40c)][_0x1aee1c(0x40c)]};break;}case _0x1ea6ac[_0x1aee1c(0x35a)][_0x1aee1c(0x479)]:{_0x59a1e0={'eventID':_0x1ea6ac['CollaborationEvent'][_0x1aee1c(0x479)],'liveShareTerminate':_0xaaf2d[_0x1aee1c(0x40c)][_0x1aee1c(0x40c)]};break;}case _0x1ea6ac[_0x1aee1c(0x35a)]['LIVESHARE_REQUEST_HOST']:{_0x59a1e0={'eventID':_0x1ea6ac[_0x1aee1c(0x35a)][_0x1aee1c(0x1db)],'liveShareRequestHost':_0xaaf2d['data'][_0x1aee1c(0x40c)]};break;}case _0x1ea6ac[_0x1aee1c(0x35a)]['LIVESHARE_FETCH_OPERATIONS']:{_0x59a1e0={'eventID':_0x1ea6ac[_0x1aee1c(0x35a)][_0x1aee1c(0x20c)]};break;}default:_0x59a1e0={'eventID':_0xaaf2d['data']['eventID']};}return JSON['stringify']({'cmd':_0xaaf2d[_0x1aee1c(0x2e5)],'routeKey':_0xaaf2d[_0x1aee1c(0x363)],'collaMsg':_0x59a1e0});}case _0x327964[_0x1aee1c(0x4ca)]:return JSON[_0x1aee1c(0x3ac)]({'cmd':_0xaaf2d['cmd'],'routeKey':_0xaaf2d[_0x1aee1c(0x363)],'joinReq':_0xaaf2d['data']});case _0x327964[_0x1aee1c(0x48b)]:return JSON[_0x1aee1c(0x3ac)]({'cmd':_0xaaf2d['cmd'],'routeKey':_0xaaf2d[_0x1aee1c(0x363)],'leaveReq':_0xaaf2d[_0x1aee1c(0x40c)]});default:throw new Error(_0x1aee1c(0x3e3));}}var _0xa917=Object[_0x344682(0x260)],_0x4e6f97=(_0x53ae29,_0x5c9029,_0x1f7b02,_0x4acdae)=>{for(var _0x591547=_0x4acdae>0x1?void 0x0:_0x4acdae?_0xa917(_0x5c9029,_0x1f7b02):_0x5c9029,_0x2051f5=_0x53ae29['length']-0x1,_0x4fb601;_0x2051f5>=0x0;_0x2051f5--)(_0x4fb601=_0x53ae29[_0x2051f5])&&(_0x591547=_0x4fb601(_0x591547)||_0x591547);return _0x591547;},_0x43860b=(_0xacc932,_0x458ff7)=>(_0x5cff81,_0x107149)=>_0x458ff7(_0x5cff81,_0x107149,_0xacc932);const _0x1c5bfa=_0x2dfbef[_0x344682(0x2a5)]('univer-pro.collaboration-client-socket-service');function _0x3a6045(_0x30181a,_0x53eb7a,_0x2faf2f){var _0x4cc3a2=_0x344682;return _0x30181a+'/'+_0x53eb7a+_0x4cc3a2(0x29d)+_0x2faf2f+_0x4cc3a2(0x1e9);}_0x3b85a1[_0x344682(0x451)]=class extends _0x2dfbef[_0x344682(0x3c5)]{constructor(_0x2349fb,_0x1dbcaf,_0x3ecb5d,_0x3ff07b,_0x580102){var _0x591e54=_0x344682;super(),this[_0x591e54(0x398)]=_0x2349fb,this['_httpService']=_0x1dbcaf,this[_0x591e54(0x2d4)]=_0x3ecb5d,this[_0x591e54(0x42c)]=_0x3ff07b,this[_0x591e54(0x458)]=_0x580102;}['_doCreateSocket'](_0x156af7){var _0x3ee02e=_0x344682;const _0x127dac=this[_0x3ee02e(0x398)][_0x3ee02e(0x2f2)](_0x372197['ISocketService']);if(!_0x127dac)throw new Error(_0x3ee02e(0x35d));const _0x38998d=_0x127dac[_0x3ee02e(0x2c2)](_0x156af7);if(!_0x38998d)throw new Error(_0x3ee02e(0x202));const _0x3ab739=new _0x2dfbef[(_0x3ee02e(0x3cd))](),_0x148813=new _0x273fc2['Subject']();_0x3ab739[_0x3ee02e(0x14b)](_0x38998d[_0x3ee02e(0x367)][_0x3ee02e(0x3fc)](_0x5e7f6f=>_0x148813[_0x3ee02e(0x20f)](_0x5e7f6f))),_0x3ab739[_0x3ee02e(0x14b)](_0x2dfbef[_0x3ee02e(0x146)](()=>_0x148813[_0x3ee02e(0x3a1)]()));const _0x532cef=new _0x273fc2[(_0x3ee02e(0x1c3))]();_0x3ab739[_0x3ee02e(0x14b)](_0x38998d[_0x3ee02e(0x390)][_0x3ee02e(0x3fc)](_0x487756=>_0x532cef['next'](_0x487756))),_0x3ab739[_0x3ee02e(0x14b)](_0x2dfbef['toDisposable'](()=>_0x532cef['complete']()));const _0x446931=new _0x273fc2['Subject']();_0x3ab739['add'](_0x38998d[_0x3ee02e(0x3fa)]['subscribe'](_0x447b73=>{var _0x42b252=_0x3ee02e;const _0x3ec162=_0x149b0b(_0x447b73);_0x446931[_0x42b252(0x20f)](_0x3ec162);})),_0x3ab739['add'](_0x2dfbef[_0x3ee02e(0x146)](()=>_0x446931['complete']()));let _0x264dbb;const _0x4688ed=()=>{var _0x92f430=_0x3ee02e;_0x532cef[_0x92f430(0x20f)](new Event(_0x92f430(0x3a4))),_0x148813[_0x92f430(0x20f)](new Event(_0x92f430(0x3a4))),_0x264dbb[_0x92f430(0x1f6)]();};return _0x264dbb={'memberID':'','close$':_0x148813[_0x3ee02e(0x4c5)](),'error$':_0x532cef[_0x3ee02e(0x4c5)](),'open$':_0x38998d['open$'],'message$':_0x446931[_0x3ee02e(0x4c5)](),'send':_0x380e20=>{var _0x2e8d1e=_0x3ee02e;if(_0x380e20[_0x2e8d1e(0x2e5)]===_0x327964['INGEST']){if(_0x380e20['data'][_0x2e8d1e(0x441)]===_0x1ea6ac[_0x2e8d1e(0x35a)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x264dbb,_0x380e20[_0x2e8d1e(0x40c)])[_0x2e8d1e(0x469)](_0x7b22c0=>{var _0x271363=_0x2e8d1e;this['_logService'][_0x271363(0x25e)](_0x7b22c0),_0x4688ed();});return;}if(_0x380e20['data']['eventID']===_0x1ea6ac[_0x2e8d1e(0x35a)]['FETCH_MISSING']){const _0x25aea3=_0x380e20[_0x2e8d1e(0x40c)];this[_0x2e8d1e(0x380)](_0x25aea3)[_0x2e8d1e(0x3b0)](_0x3664a8=>{var _0x53aaac=_0x2e8d1e;_0x446931[_0x53aaac(0x20f)]({'cmd':_0x327964[_0x53aaac(0x1ca)],'code':_0x28130f['OK'],'routeKey':_0x25aea3['data']['unitID'],'routeType':'','data':{'eventID':_0x1ea6ac[_0x53aaac(0x35a)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3664a8}}});})['catch'](_0x50914a=>{var _0x15fa63=_0x2e8d1e;this[_0x15fa63(0x42c)]['error'](_0x50914a),_0x4688ed();});return;}}_0x38998d[_0x2e8d1e(0x2a6)](_0x9fd71d(_0x380e20));},'close':()=>{var _0x1b54cb=_0x3ee02e;_0x38998d[_0x1b54cb(0x1f6)](),_0x3ab739[_0x1b54cb(0x448)]();}},_0x264dbb;}async[_0x344682(0x304)](_0xd5851,_0x3db908){var _0x1cbfd8=_0x344682,_0x6abf28,_0x244383;const {unitType:_0x428a81,unitID:_0x1488f4,changeset:_0x18addf}=_0x3db908['data'],_0x442140={'unitID':_0x1488f4,'memberID':_0xd5851[_0x1cbfd8(0x1f1)],'type':_0x428a81,'changeset':_0x1ea6ac[_0x1cbfd8(0x393)](_0x18addf)},_0x55ad08=this[_0x1cbfd8(0x2d4)][_0x1cbfd8(0x1e2)](_0x340712),_0x110ea8=this['_configService'][_0x1cbfd8(0x1e2)](_0x354056),_0x32fa3b=_0x3a6045((_0x244383=(_0x6abf28=_0x110ea8==null?void 0x0:_0x110ea8['collabSubmitChangesetUrl'])!=null?_0x6abf28:_0x55ad08)!=null?_0x244383:_0x55abdc,_0x428a81,_0x1488f4);try{await this['_httpService'][_0x1cbfd8(0x190)](_0x32fa3b,{'body':_0x442140});}catch(_0x2bfd8b){throw this[_0x1cbfd8(0x42c)][_0x1cbfd8(0x25e)](_0x1cbfd8(0x418),_0x1cbfd8(0x2b8)),_0x2bfd8b;}}async[_0x344682(0x380)](_0x136e65){var _0x4de809=_0x344682;const {unitID:_0x62ba5d,from:_0x20549e,to:_0x49e862,unitType:_0x583ee7}=_0x136e65[_0x4de809(0x40c)];return(await this[_0x4de809(0x458)][_0x4de809(0x4a8)]({'metadata':void 0x0},{'unitID':_0x62ba5d,'type':_0x583ee7,'from':_0x20549e,'to':_0x49e862}))[_0x4de809(0x31b)];}},_0x3b85a1['CollaborationSocketService']=_0x4e6f97([_0x43860b(0x0,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x2ee)])),_0x43860b(0x1,_0x2dfbef['Inject'](_0x372197[_0x344682(0x22f)])),_0x43860b(0x2,_0x2dfbef[_0x344682(0x1d0)]),_0x43860b(0x3,_0x2dfbef['ILogService']),_0x43860b(0x4,_0x1ea6ac['ISnapshotServerService'])],_0x3b85a1['CollaborationSocketService']);const _0x15090d=_0x344682(0x3d1);function _0x3e4892(_0x123a90){var _0x53498b=_0x344682;return JSON[_0x53498b(0x3ac)](_0x123a90)['length'];}class _0xa5505b{constructor(){var _0x27c2ec=_0x344682;_0x1ca623(this,_0x27c2ec(0x24c),new _0x273fc2[(_0x27c2ec(0x1c3))]()),_0x1ca623(this,_0x27c2ec(0x44b),this[_0x27c2ec(0x24c)][_0x27c2ec(0x4c5)]());}[_0x344682(0x48f)](_0x27e094){var _0x5d7cd8=_0x344682;this[_0x5d7cd8(0x24c)][_0x5d7cd8(0x20f)](_0x27e094);}}var _0x12a191=Object['getOwnPropertyDescriptor'],_0x493b84=(_0x592930,_0x5409f5,_0x560b8f,_0x1f8382)=>{for(var _0x16c9bb=_0x1f8382>0x1?void 0x0:_0x1f8382?_0x12a191(_0x5409f5,_0x560b8f):_0x5409f5,_0x30f31f=_0x592930['length']-0x1,_0x460d2c;_0x30f31f>=0x0;_0x30f31f--)(_0x460d2c=_0x592930[_0x30f31f])&&(_0x16c9bb=_0x460d2c(_0x16c9bb)||_0x16c9bb);return _0x16c9bb;},_0x18374f=(_0x346744,_0x1689aa)=>(_0x41d519,_0x5b7d50)=>_0x1689aa(_0x41d519,_0x5b7d50,_0x346744);_0x3b85a1[_0x344682(0x275)]=class extends _0x2dfbef[_0x344682(0x3c5)]{constructor(_0xe9a0ca,_0x4e5608){var _0x23cc64=_0x344682;super(),_0x1ca623(this,_0x23cc64(0x4ab),new Map()),_0x1ca623(this,'_roomCreated$',new _0x273fc2[(_0x23cc64(0x1c3))]()),(this['_univerInstanceService']=_0xe9a0ca,this[_0x23cc64(0x497)]=_0x4e5608,this['disposeWithMe'](_0x273fc2[_0x23cc64(0x42d)](this[_0x23cc64(0x384)][_0x23cc64(0x201)](_0x2dfbef[_0x23cc64(0x235)][_0x23cc64(0x36c)])[_0x23cc64(0x222)](_0xdc3409[_0x23cc64(0x33f)](_0x13d940=>_0x13d940[_0x23cc64(0x4b1)]())),this['_univerInstanceService'][_0x23cc64(0x201)](_0x2dfbef[_0x23cc64(0x235)]['UNIVER_DOC'])[_0x23cc64(0x222)](_0xdc3409['map'](_0x3b0550=>_0x3b0550[_0x23cc64(0x4b1)]())),this[_0x23cc64(0x384)][_0x23cc64(0x201)](_0x2dfbef['UniverInstanceType']['UNIVER_SLIDE'])[_0x23cc64(0x222)](_0xdc3409[_0x23cc64(0x33f)](_0x40bf0f=>_0x40bf0f[_0x23cc64(0x4b1)]())))[_0x23cc64(0x3fc)](_0x5857ac=>this['_removeRoom'](_0x5857ac))));}[_0x344682(0x17f)](_0x1026fb){var _0x1c7cbd=_0x344682;return this[_0x1c7cbd(0x4ab)][_0x1c7cbd(0x237)](_0x1026fb)?_0x273fc2['of'](this[_0x1c7cbd(0x4ab)]['get'](_0x1026fb)):this[_0x1c7cbd(0x3c3)]['pipe'](_0xdc3409[_0x1c7cbd(0x33f)](_0x5bfd5c=>{var _0x73205d=_0x1c7cbd;if(_0x5bfd5c===_0x1026fb)return this[_0x73205d(0x4ab)][_0x73205d(0x2f2)](_0x5bfd5c);}));}[_0x344682(0x1fe)](_0x14489f){this['_userManagerService']['setCurrentUser'](_0x14489f);}[_0x344682(0x1d2)](){var _0x53e91c=_0x344682;return this[_0x53e91c(0x497)]['getCurrentUser']();}['updateMember'](_0x139d05,_0x102ae0){var _0x43a900=_0x344682;let _0x3e043f=this[_0x43a900(0x4ab)]['get'](_0x139d05);_0x3e043f||(_0x3e043f=new _0x174fa8(),this[_0x43a900(0x4ab)][_0x43a900(0x461)](_0x139d05,_0x3e043f),this[_0x43a900(0x3c3)][_0x43a900(0x20f)](_0x139d05)),_0x3e043f['updateMember'](_0x102ae0);}[_0x344682(0x4a9)](_0x161427,_0x7d4e88){var _0x175eca=_0x344682;const _0x35aacf=this[_0x175eca(0x4ab)]['get'](_0x161427);_0x35aacf&&_0x35aacf[_0x175eca(0x4a9)](_0x7d4e88);}['getRoom'](_0x3b8b63){var _0x98d599=_0x344682;return this[_0x98d599(0x4ab)][_0x98d599(0x2f2)](_0x3b8b63);}[_0x344682(0x298)](_0xc4a33c,_0x5638bb){var _0x46ffc7=_0x344682;const _0x4700b6=this['_roomMembers'][_0x46ffc7(0x2f2)](_0xc4a33c);if(_0x4700b6)return _0x4700b6[_0x46ffc7(0x298)](_0x5638bb);}[_0x344682(0x2d9)](_0xe3c258){var _0x54c96b=_0x344682;const _0x2010e4=this[_0x54c96b(0x4ab)][_0x54c96b(0x2f2)](_0xe3c258);_0x2010e4&&(_0x2010e4['dispose'](),this[_0x54c96b(0x4ab)]['delete'](_0xe3c258));}[_0x344682(0x448)](){var _0xe12a54=_0x344682;this[_0xe12a54(0x4ab)][_0xe12a54(0x4d9)](_0x544b3c=>_0x544b3c[_0xe12a54(0x448)]()),this[_0xe12a54(0x4ab)][_0xe12a54(0x1f0)](),this[_0xe12a54(0x3c3)]['complete']();}},_0x3b85a1['MemberService']=_0x493b84([_0x18374f(0x0,_0x2dfbef[_0x344682(0x204)]),_0x18374f(0x1,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x33a)]))],_0x3b85a1[_0x344682(0x275)]);class _0x174fa8 extends _0x2dfbef[_0x344682(0x3c5)]{constructor(){var _0x5ec822=_0x344682;super(...arguments),_0x1ca623(this,'_members',new Map()),_0x1ca623(this,_0x5ec822(0x4a4),new _0x273fc2['BehaviorSubject'](this['_members'])),_0x1ca623(this,_0x5ec822(0x151),this['_members$']['asObservable']());}[_0x344682(0x448)](){var _0x122f23=_0x344682;this[_0x122f23(0x475)][_0x122f23(0x1f0)]();}['updateMember'](_0x375662){var _0x23ee7b=_0x344682;this['_members'][_0x23ee7b(0x461)](_0x375662[_0x23ee7b(0x1f1)],_0x375662),this['_emitMembers']();}[_0x344682(0x4a9)](_0x28f97b){var _0x169690=_0x344682;this[_0x169690(0x475)][_0x169690(0x23b)](_0x28f97b);}['getMember'](_0x3b575b){var _0x5c871e=_0x344682;return this[_0x5c871e(0x475)][_0x5c871e(0x2f2)](_0x3b575b);}[_0x344682(0x30f)](){var _0x2ff4f9=_0x344682;return Array['from'](this[_0x2ff4f9(0x475)][_0x2ff4f9(0x152)]());}['_emitMembers'](){var _0x126e84=_0x344682;this[_0x126e84(0x4a4)]['next'](this[_0x126e84(0x475)]);}}var _0x5afa29=Object['getOwnPropertyDescriptor'],_0x5936c7=(_0x2038a1,_0x5ed6fc,_0x3c2160,_0x580d43)=>{var _0x46a524=_0x344682;for(var _0x109f8a=_0x580d43>0x1?void 0x0:_0x580d43?_0x5afa29(_0x5ed6fc,_0x3c2160):_0x5ed6fc,_0x5474b8=_0x2038a1[_0x46a524(0x285)]-0x1,_0x3a973d;_0x5474b8>=0x0;_0x5474b8--)(_0x3a973d=_0x2038a1[_0x5474b8])&&(_0x109f8a=_0x3a973d(_0x109f8a)||_0x109f8a);return _0x109f8a;},_0x5e410a=(_0x295d3e,_0x203914)=>(_0x2db8f6,_0x52f634)=>_0x203914(_0x2db8f6,_0x52f634,_0x295d3e),_0x5c3179=(_0x295ea1=>(_0x295ea1[_0x295ea1['IDLE']=0x0]=_0x344682(0x2ec),_0x295ea1[_0x295ea1[_0x344682(0x1a6)]=0x1]=_0x344682(0x1a6),_0x295ea1[_0x295ea1[_0x344682(0x2a1)]=0x2]='OFFLINE',_0x295ea1[_0x295ea1['ONLINE']=0x3]='ONLINE',_0x295ea1))(_0x5c3179||{});const _0x2faba0={[_0x28130f['FAIL']]:_0x344682(0x226),[_0x28130f[_0x344682(0x3c2)]]:_0x344682(0x394),[_0x28130f[_0x344682(0x26a)]]:_0x344682(0x183),[_0x28130f[_0x344682(0x446)]]:'session.room-permission-denied',[_0x28130f[_0x344682(0x197)]]:_0x344682(0x255)};_0x3b85a1['CollaborationSession']=class extends _0x2dfbef[_0x344682(0x336)]{constructor(_0x480930,_0x1f9c4b,_0x2946d3,_0x1ed9e4,_0x5e80e7,_0x48e9d9,_0x2ae42e,_0x488ac3,_0x136c4d){var _0x3fa20d=_0x344682;super(),_0x1ca623(this,'_sessionStatus$',new _0x273fc2[(_0x3fa20d(0x26c))](0x0)),_0x1ca623(this,'sessionStatus$',this[_0x3fa20d(0x4c2)][_0x3fa20d(0x4c5)]()),_0x1ca623(this,_0x3fa20d(0x3ad),new _0x273fc2[(_0x3fa20d(0x1c3))]()),_0x1ca623(this,_0x3fa20d(0x4cb),this[_0x3fa20d(0x3ad)][_0x3fa20d(0x4c5)]()),_0x1ca623(this,_0x3fa20d(0x22e)),_0x1ca623(this,'_socketMessageSubscription'),_0x1ca623(this,_0x3fa20d(0x3c8)),_0x1ca623(this,'_shouldReportTelemetry',!0x1),_0x1ca623(this,_0x3fa20d(0x48a),null),(this[_0x3fa20d(0x400)]=_0x480930,this[_0x3fa20d(0x42c)]=_0x2946d3,this[_0x3fa20d(0x2d4)]=_0x1ed9e4,this[_0x3fa20d(0x30b)]=_0x5e80e7,this[_0x3fa20d(0x1c7)]=_0x48e9d9,this[_0x3fa20d(0x29f)]=_0x2ae42e,this[_0x3fa20d(0x1a8)]=_0x488ac3,this[_0x3fa20d(0x467)]=_0x136c4d,this['_shouldReportTelemetry']=!!this[_0x3fa20d(0x467)],_0x1f9c4b['pipe'](_0x273fc2[_0x3fa20d(0x2e0)](this['dispose$']))['subscribe'](_0xf84b5f=>{var _0x211524=_0x3fa20d,_0x3b6e3d;typeof _0xf84b5f>'u'||(this[_0x211524(0x22e)]=_0xf84b5f,_0xf84b5f?(this[_0x211524(0x1bf)](_0xf84b5f),this[_0x211524(0x264)]=_0xf84b5f['message$']['subscribe'](_0x47fa7d=>{var _0x1cc309=_0x211524;_0x47fa7d[_0x1cc309(0x363)]===this[_0x1cc309(0x400)]&&this['_onCombEvent'](_0x47fa7d);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x211524(0x4c2)][_0x211524(0x20f)](0x2),(_0x3b6e3d=this['_socketMessageSubscription'])==null||_0x3b6e3d['unsubscribe'](),this[_0x211524(0x264)]=null));}));}get[_0x344682(0x1b0)](){var _0xe10437=_0x344682;return this[_0xe10437(0x4c2)][_0xe10437(0x234)]();}['getMemberID'](){var _0x10a09a=_0x344682,_0x261831,_0x4e2e99;return(_0x4e2e99=(_0x261831=this['_socket'])==null?void 0x0:_0x261831[_0x10a09a(0x1f1)])!=null?_0x4e2e99:null;}[_0x344682(0x448)](){var _0x6d94e4=_0x344682;super[_0x6d94e4(0x448)](),this[_0x6d94e4(0x3ae)]['next'](),this[_0x6d94e4(0x3ae)]['complete']();}[_0x344682(0x1f6)](){var _0x162736=_0x344682,_0x1443d9,_0x2d0cbf;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1443d9=this['_socket'])==null||_0x1443d9[_0x162736(0x2a6)]({'cmd':_0x327964['LEAVE'],'data':{'roomID':this[_0x162736(0x400)]}}),(_0x2d0cbf=this['_socket'])==null||_0x2d0cbf['close'](),this['_event$'][_0x162736(0x3a1)](),this['_sessionStatus$'][_0x162736(0x3a1)](),this['dispose']();}[_0x344682(0x414)](_0x2ed861){var _0x56df0b=_0x344682;_0x2ed861[_0x56df0b(0x2e5)]===_0x327964['JOIN']?this[_0x56df0b(0x44e)](_0x2ed861):_0x2ed861[_0x56df0b(0x2e5)]===_0x327964[_0x56df0b(0x1ca)]&&this['_onRecvEvent'](_0x2ed861);}[_0x344682(0x1bf)](_0x2960be){var _0x5b0209=_0x344682;this['_sessionStatus$'][_0x5b0209(0x20f)](0x1),_0x2960be[_0x5b0209(0x2a6)]({'cmd':_0x327964['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x5b0209(0x400)]}]}});}[_0x344682(0x44e)](_0x22500b){var _0x37303c=_0x344682,_0x4abe71;if(_0x22500b[_0x37303c(0x258)]in _0x2faba0){this[_0x37303c(0x1a8)][_0x37303c(0x25a)]({'id':_0x2a7689[_0x37303c(0x3f9)],'data':_0x2faba0[_0x22500b[_0x37303c(0x258)]]}),this['_sessionStatus$'][_0x37303c(0x20f)](0x2);return;}this[_0x37303c(0x4c2)]['next'](0x3);const _0x3d2ff6=(_0x4abe71=_0x22500b['data'][_0x37303c(0x45c)][this['_unitID']])==null?void 0x0:_0x4abe71[_0x37303c(0x3f7)];_0x3d2ff6&&_0x3d2ff6[_0x37303c(0x4d9)](_0x3d02a8=>this[_0x37303c(0x1c7)][_0x37303c(0x1f3)](this[_0x37303c(0x400)],_0x3d02a8));}[_0x344682(0x17d)](_0x3c9095){var _0x2cf0b7=_0x344682;try{const _0x2c6243=_0x3c9095[_0x2cf0b7(0x40c)];switch(_0x2c6243[_0x2cf0b7(0x441)]){case _0x1ea6ac['CollaborationEvent']['USERS_ENTER']:this[_0x2cf0b7(0x18d)](_0x2c6243),this[_0x2cf0b7(0x3ad)][_0x2cf0b7(0x20f)](_0x2c6243);break;case _0x1ea6ac[_0x2cf0b7(0x35a)][_0x2cf0b7(0x14e)]:this[_0x2cf0b7(0x4b0)](_0x2c6243),this[_0x2cf0b7(0x3ad)][_0x2cf0b7(0x20f)](_0x2c6243);break;case _0x1ea6ac[_0x2cf0b7(0x35a)][_0x2cf0b7(0x27e)]:case _0x1ea6ac[_0x2cf0b7(0x35a)][_0x2cf0b7(0x379)]:this[_0x2cf0b7(0x46f)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x2cf0b7(0x20f)](_0x2c6243);break;case _0x1ea6ac['CollaborationEvent'][_0x2cf0b7(0x206)]:this[_0x2cf0b7(0x42c)][_0x2cf0b7(0x25e)](_0x2cf0b7(0x26f)+JSON[_0x2cf0b7(0x3ac)](_0x2c6243)),this['_event$'][_0x2cf0b7(0x20f)](_0x2c6243);break;case _0x1ea6ac[_0x2cf0b7(0x35a)][_0x2cf0b7(0x156)]:this['_commentService'][_0x2cf0b7(0x48f)](_0x2c6243['data']),this['_event$'][_0x2cf0b7(0x20f)](_0x2c6243);break;default:this[_0x2cf0b7(0x3ad)][_0x2cf0b7(0x20f)](_0x2c6243);}}catch(_0x1ce7c6){this[_0x2cf0b7(0x42c)][_0x2cf0b7(0x25e)](_0x1ce7c6,_0x3c9095);}}['_onUserJoin'](_0x3f4661){var _0x1b4416=_0x344682;this[_0x1b4416(0x1c7)][_0x1b4416(0x1f3)](this[_0x1b4416(0x400)],_0x3f4661[_0x1b4416(0x40c)]);}[_0x344682(0x4b0)](_0x43a10d){var _0x1261a5=_0x344682;this[_0x1261a5(0x1c7)]['removeMember'](this[_0x1261a5(0x400)],_0x43a10d[_0x1261a5(0x40c)]['memberID']);}async['send'](_0x1b2f49,_0x98d46d){var _0x9efb71=_0x344682;if(this[_0x9efb71(0x1b0)]!==0x3||!this[_0x9efb71(0x22e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1b2f49[_0x9efb71(0x441)]===_0x1ea6ac[_0x9efb71(0x35a)]['SUBMIT_CHANGESET']&&(this[_0x9efb71(0x47c)](),this[_0x9efb71(0x3ed)](_0x1b2f49)),this[_0x9efb71(0x22e)][_0x9efb71(0x2a6)]({'cmd':_0x327964[_0x9efb71(0x3e9)],'routeKey':_0x98d46d,'routeType':'','data':_0x1b2f49});}catch(_0x30474a){this[_0x9efb71(0x42c)][_0x9efb71(0x25e)](_0x30474a);}}[_0x344682(0x47c)](){var _0x9c1a5a=_0x344682,_0x530c45;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1f2d22=_0x1cc8;this['_collaborationTimeoutTimer']=null,this[_0x1f2d22(0x1a8)][_0x1f2d22(0x25a)]({'id':_0x2a7689[_0x1f2d22(0x3cf)]});},(_0x530c45=this[_0x9c1a5a(0x2d4)][_0x9c1a5a(0x1e2)](_0x331745))!=null?_0x530c45:0x4e20);}[_0x344682(0x14f)](){var _0xb32882=_0x344682;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xb32882(0x3c8)]=null);}[_0x344682(0x3ed)](_0x5d0c2b){var _0x4e736a=_0x344682;if(!this[_0x4e736a(0x171)])return;const {data:_0xe9865c}=_0x5d0c2b,{unitID:_0x1c10b3,changeset:_0x202b14}=_0xe9865c,{mutations:_0x278806,type:_0x42fccc}=_0x202b14;this['_telemetryInfo']={'unitId':_0x1c10b3,'type':_0x42fccc,'startTime':performance[_0x4e736a(0x175)](),'stopTime':0x0,'duration':0x0,'size':_0x3e4892(_0x278806)};}[_0x344682(0x46f)](){var _0x2c52be=_0x344682;if(this['_shouldReportTelemetry']){if(!this[_0x2c52be(0x48a)]){this[_0x2c52be(0x42c)]['error']('[CollaborationSession]',_0x2c52be(0x385));return;}this['_telemetryInfo']['stopTime']=performance[_0x2c52be(0x175)](),this[_0x2c52be(0x48a)][_0x2c52be(0x2e6)]=this[_0x2c52be(0x48a)][_0x2c52be(0x4d2)]-this[_0x2c52be(0x48a)][_0x2c52be(0x435)],this[_0x2c52be(0x467)][_0x2c52be(0x15c)](_0x15090d,this[_0x2c52be(0x48a)]),this[_0x2c52be(0x48a)]=null;}}[_0x344682(0x416)](){var _0x4faa6f=_0x344682;this[_0x4faa6f(0x48a)]=null;}},_0x3b85a1[_0x344682(0x30d)]=_0x5936c7([_0x5e410a(0x2,_0x2dfbef[_0x344682(0x362)]),_0x5e410a(0x3,_0x2dfbef['IConfigService']),_0x5e410a(0x4,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef['LocaleService'])),_0x5e410a(0x5,_0x2dfbef[_0x344682(0x21e)](_0x3b85a1[_0x344682(0x275)])),_0x5e410a(0x6,_0x2dfbef[_0x344682(0x21e)](_0xa5505b)),_0x5e410a(0x7,_0x2dfbef[_0x344682(0x21e)](_0xb65244)),_0x5e410a(0x8,_0x2dfbef[_0x344682(0x4a5)](_0x34514d[_0x344682(0x3e0)]))],_0x3b85a1['CollaborationSession']);var _0x4aa5b4=Object[_0x344682(0x260)],_0x4dcea0=(_0x48c787,_0x52a387,_0x68a6e8,_0x51ae1b)=>{var _0x41efda=_0x344682;for(var _0x6c7aa0=_0x51ae1b>0x1?void 0x0:_0x51ae1b?_0x4aa5b4(_0x52a387,_0x68a6e8):_0x52a387,_0x2e2bba=_0x48c787[_0x41efda(0x285)]-0x1,_0x9d6074;_0x2e2bba>=0x0;_0x2e2bba--)(_0x9d6074=_0x48c787[_0x2e2bba])&&(_0x6c7aa0=_0x9d6074(_0x6c7aa0)||_0x6c7aa0);return _0x6c7aa0;},_0x1875e5=(_0x4fc29e,_0x1a7a01)=>(_0x36769e,_0x3001f8)=>_0x1a7a01(_0x36769e,_0x3001f8,_0x4fc29e);_0x3b85a1[_0x344682(0x176)]=class extends _0x2dfbef[_0x344682(0x3c5)]{constructor(_0x17d98c,_0x5e2af6,_0x48a021,_0x2aae95,_0x496e5f,_0xd09318){var _0x4101b2=_0x344682;super(),_0x1ca623(this,'_socket$',new _0x273fc2[(_0x4101b2(0x26c))](void 0x0)),_0x1ca623(this,_0x4101b2(0x1de),this['_socket$'][_0x4101b2(0x4c5)]()),_0x1ca623(this,_0x4101b2(0x4b4),null),_0x1ca623(this,_0x4101b2(0x358),new Map()),_0x1ca623(this,_0x4101b2(0x296),new _0x273fc2[(_0x4101b2(0x26c))](_0x5c3179[_0x4101b2(0x2ec)])),_0x1ca623(this,_0x4101b2(0x185),this[_0x4101b2(0x296)][_0x4101b2(0x4c5)]()),_0x1ca623(this,_0x4101b2(0x361),!0x1),_0x1ca623(this,_0x4101b2(0x257)),_0x1ca623(this,_0x4101b2(0x4cd),0x0),_0x1ca623(this,_0x4101b2(0x313)),_0x1ca623(this,_0x4101b2(0x19d)),(this[_0x4101b2(0x398)]=_0x17d98c,this[_0x4101b2(0x42c)]=_0x5e2af6,this[_0x4101b2(0x2d4)]=_0x48a021,this['_socketService']=_0x2aae95,this[_0x4101b2(0x1a8)]=_0x496e5f,this[_0x4101b2(0x1c0)]=_0xd09318,this[_0x4101b2(0x357)]());}get[_0x344682(0x22e)](){var _0x420cdc=_0x344682;return this['_socket$'][_0x420cdc(0x234)]();}[_0x344682(0x357)](){var _0x29eed5=_0x344682;this[_0x29eed5(0x1c0)]&&this['disposeWithMe'](this[_0x29eed5(0x1c0)][_0x29eed5(0x403)][_0x29eed5(0x3fc)](_0x36eeb1=>{var _0xf87000=_0x29eed5;_0x36eeb1&&!this[_0xf87000(0x22e)]&&this[_0xf87000(0x36b)](),_0x36eeb1||this['_onOffline']();}));}[_0x344682(0x448)](){var _0x4c098e=_0x344682;super['dispose'](),this[_0x4c098e(0x319)](),this['_clearTimeoutTimer'](),this[_0x4c098e(0x290)](),this[_0x4c098e(0x358)]['forEach'](_0xf6ee53=>_0xf6ee53[_0x4c098e(0x448)]()),this[_0x4c098e(0x358)]['clear'](),this[_0x4c098e(0x296)][_0x4c098e(0x3a1)]();}async['requireSession'](_0x71161c){var _0x22a602=_0x344682;if(this['_sessions']['has'](_0x71161c))return this['_sessions'][_0x22a602(0x2f2)](_0x71161c);this[_0x22a602(0x2f0)]();const _0x575954=this[_0x22a602(0x398)][_0x22a602(0x480)](_0x3b85a1[_0x22a602(0x30d)],_0x71161c,this[_0x22a602(0x212)][_0x22a602(0x4c5)]());return this[_0x22a602(0x358)][_0x22a602(0x461)](_0x71161c,_0x575954),_0x575954;}[_0x344682(0x23c)](_0x2db959){var _0x412766=_0x344682,_0x2e9b99;const _0x39f81f=this[_0x412766(0x358)][_0x412766(0x2f2)](_0x2db959);_0x39f81f&&(this['_sessions']['delete'](_0x2db959),_0x39f81f[_0x412766(0x1f6)]()),this['_sessions']['size']||(_0x2e9b99=this['_socket'])==null||_0x2e9b99['close']();}[_0x344682(0x36b)](){var _0x6129ed=_0x344682;this['_retryCount']=0x0,this[_0x6129ed(0x319)](),this[_0x6129ed(0x3e6)]();}[_0x344682(0x319)](){var _0x1386f8=_0x344682;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1386f8(0x257)]),this[_0x1386f8(0x257)]=null);}async[_0x344682(0x31e)](){var _0x5426e9=_0x344682,_0x3a2516,_0x4d6ab5;const _0x361871=this[_0x5426e9(0x2d4)][_0x5426e9(0x1e2)](_0x4b8d5d),_0x2c892e=this[_0x5426e9(0x2d4)]['getConfig'](_0x354056),_0x6c8cf6=(_0x4d6ab5=(_0x3a2516=_0x2c892e==null?void 0x0:_0x2c892e[_0x5426e9(0x221)])!=null?_0x3a2516:_0x361871)!=null?_0x4d6ab5:_0x2a51e6,_0x5c6751=await this[_0x5426e9(0x29a)][_0x5426e9(0x2c2)](_0x6c8cf6);return this[_0x5426e9(0x4b4)]=_0x5c6751,_0x5c6751;}async['_tryEnsureSocket'](){var _0x52f3dd=_0x344682,_0x181fb9,_0x40785f;try{const _0x27fee5=(_0x40785f=(_0x181fb9=this[_0x52f3dd(0x22e)])!=null?_0x181fb9:this[_0x52f3dd(0x4b4)])!=null?_0x40785f:await this[_0x52f3dd(0x31e)]();if(_0x27fee5){const _0x1460a9=_0x27fee5[_0x52f3dd(0x2a6)];_0x27fee5[_0x52f3dd(0x2a6)]=_0x13616c=>(this[_0x52f3dd(0x1d4)](),_0x1460a9[_0x52f3dd(0x29b)](_0x27fee5,[_0x13616c])),_0x27fee5['message$'][_0x52f3dd(0x3fc)](_0x19d366=>this[_0x52f3dd(0x498)](_0x27fee5,_0x19d366)),_0x27fee5[_0x52f3dd(0x390)][_0x52f3dd(0x222)](_0xdc3409[_0x52f3dd(0x402)](0x1))[_0x52f3dd(0x3fc)](_0x13652a=>this[_0x52f3dd(0x42c)]['error'](_0x52f3dd(0x3d5),_0x13652a)),_0x27fee5[_0x52f3dd(0x288)]['pipe'](_0xdc3409[_0x52f3dd(0x402)](0x1))['subscribe'](()=>{var _0x393d59=_0x52f3dd;this[_0x393d59(0x3b3)](_0x27fee5);}),_0x27fee5[_0x52f3dd(0x367)][_0x52f3dd(0x222)](_0xdc3409[_0x52f3dd(0x402)](0x1))[_0x52f3dd(0x3fc)](_0x41e927=>{var _0x301691=_0x52f3dd;this[_0x301691(0x42c)]['debug']('[CollaborationSessionService]',_0x301691(0x4d5),_0x41e927),this[_0x301691(0x1ba)]();});}}catch(_0x53fa4a){this[_0x52f3dd(0x42c)][_0x52f3dd(0x25e)](_0x53fa4a),this[_0x52f3dd(0x1ba)]();}}[_0x344682(0x3b3)](_0x24adff){var _0x546aa6=_0x344682;this['_logService'][_0x546aa6(0x239)](_0x546aa6(0x2c7),_0x546aa6(0x496)),_0x24adff[_0x546aa6(0x2a6)]({'cmd':_0x327964['HELLO']}),this[_0x546aa6(0x1d4)]();}['_onOffline'](){var _0x311acd=_0x344682;this[_0x311acd(0x361)]=!0x1,this['_candidateSocket']=null,this[_0x311acd(0x296)]['next'](_0x5c3179[_0x311acd(0x2a1)]),this[_0x311acd(0x212)]['next'](null),this[_0x311acd(0x434)](),this[_0x311acd(0x290)]();}[_0x344682(0x1ba)](){var _0x437847=_0x344682,_0x59955c;this['_onOffline'](),this[_0x437847(0x4cd)]<((_0x59955c=this[_0x437847(0x2d4)]['getConfig'](_0x55662c))!=null?_0x59955c:0x3)?(this[_0x437847(0x1a8)][_0x437847(0x25a)]({'id':_0x2a7689['SOCKET_FAILED_RETRY']}),this[_0x437847(0x3e6)]()):this[_0x437847(0x1a8)][_0x437847(0x25a)]({'id':_0x2a7689[_0x437847(0x20d)]});}[_0x344682(0x3e6)](){var _0x2c9ec2=_0x344682,_0x63d6f8;const _0x40fbd9=this[_0x2c9ec2(0x4cd)],_0x56bdd2=this[_0x2c9ec2(0x2d4)][_0x2c9ec2(0x1e2)](_0x354056),_0x15d7b1=_0x40fbd9===0x0?0x0:((_0x63d6f8=_0x56bdd2==null?void 0x0:_0x56bdd2[_0x2c9ec2(0x409)])!=null?_0x63d6f8:0x4e20)*0x2**_0x40fbd9;this['_retryConnectingTimer']=setTimeout(()=>{var _0x28775b=_0x2c9ec2;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x28775b(0x2f0)]();},_0x15d7b1),this[_0x2c9ec2(0x4cd)]+=0x1;}[_0x344682(0x498)](_0x17facd,_0x4331ba){var _0x4179f9=_0x344682;const {cmd:_0x13e17a}=_0x4331ba;_0x13e17a===_0x327964['HELLO']&&!this['_socketReady']&&(_0x17facd['memberID']=_0x4331ba[_0x4179f9(0x40c)]['memberID'],this[_0x4179f9(0x212)]['next'](_0x17facd),this[_0x4179f9(0x296)][_0x4179f9(0x20f)](_0x5c3179[_0x4179f9(0x157)]),this['_socketReady']=!0x0,this[_0x4179f9(0x4b4)]=null),_0x13e17a===_0x327964[_0x4179f9(0x287)]&&this[_0x4179f9(0x434)](),this[_0x4179f9(0x1d4)]();}[_0x344682(0x1d4)](){var _0xcffbe0=_0x344682,_0x69e5e6;this[_0xcffbe0(0x290)](),this[_0xcffbe0(0x313)]=setTimeout(()=>this[_0xcffbe0(0x34e)](),(_0x69e5e6=this[_0xcffbe0(0x2d4)][_0xcffbe0(0x1e2)](_0x49c03b))!=null?_0x69e5e6:0x7530);}[_0x344682(0x34e)](){var _0x39b02a=_0x344682;this[_0x39b02a(0x22e)][_0x39b02a(0x2a6)]({'cmd':_0x327964[_0x39b02a(0x287)]}),this[_0x39b02a(0x459)]();}['_waitForHeartbeatResponse'](){var _0x181677=_0x344682,_0x2e943e;this[_0x181677(0x19d)]=setTimeout(()=>this[_0x181677(0x1ba)](),(_0x2e943e=this[_0x181677(0x2d4)]['getConfig'](_0x331745))!=null?_0x2e943e:0x4e20);}[_0x344682(0x290)](){var _0x140c5e=_0x344682;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x140c5e(0x313)]),this[_0x140c5e(0x313)]=null);}[_0x344682(0x434)](){var _0x5b2227=_0x344682;this[_0x5b2227(0x19d)]!=null&&(clearTimeout(this[_0x5b2227(0x19d)]),this[_0x5b2227(0x19d)]=null);}},_0x3b85a1[_0x344682(0x176)]=_0x4dcea0([_0x1875e5(0x0,_0x2dfbef['Inject'](_0x2dfbef['Injector'])),_0x1875e5(0x1,_0x2dfbef[_0x344682(0x362)]),_0x1875e5(0x2,_0x2dfbef[_0x344682(0x1d0)]),_0x1875e5(0x3,_0x1c5bfa),_0x1875e5(0x4,_0x2dfbef[_0x344682(0x21e)](_0xb65244)),_0x1875e5(0x5,_0x2dfbef[_0x344682(0x4a5)](_0x1c5cb3))],_0x3b85a1['CollaborationSessionService']);const _0x59aa0f=[];for(let _0x552ca7=0x0;_0x552ca7<0x100;++_0x552ca7)_0x59aa0f[_0x344682(0x399)]((_0x552ca7+0x100)[_0x344682(0x32a)](0x10)['slice'](0x1));function _0xb64fd3(_0x22c1b1,_0x229bd0=0x0){var _0x255fee=_0x344682;return(_0x59aa0f[_0x22c1b1[_0x229bd0+0x0]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0x1]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0x2]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0x3]]+'-'+_0x59aa0f[_0x22c1b1[_0x229bd0+0x4]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0x5]]+'-'+_0x59aa0f[_0x22c1b1[_0x229bd0+0x6]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0x7]]+'-'+_0x59aa0f[_0x22c1b1[_0x229bd0+0x8]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0x9]]+'-'+_0x59aa0f[_0x22c1b1[_0x229bd0+0xa]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0xb]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0xc]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0xd]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0xe]]+_0x59aa0f[_0x22c1b1[_0x229bd0+0xf]])[_0x255fee(0x2c3)]();}let _0x48ad5c;const _0x50a64f=new Uint8Array(0x10);function _0x155adf(){var _0x5578c6=_0x344682;if(!_0x48ad5c){if(typeof crypto>'u'||!crypto[_0x5578c6(0x38a)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x48ad5c=crypto[_0x5578c6(0x38a)][_0x5578c6(0x195)](crypto);}return _0x48ad5c(_0x50a64f);}const _0x1d2a01={'randomUUID':typeof crypto<'u'&&crypto[_0x344682(0x3af)]&&crypto[_0x344682(0x3af)][_0x344682(0x195)](crypto)};function _0x366781(_0x3580b9,_0x16e35d,_0x3cf042){var _0x338b19=_0x344682,_0x3f5cff,_0x27a7ef,_0x2ef68b;if(_0x1d2a01[_0x338b19(0x3af)]&&!_0x3580b9)return _0x1d2a01[_0x338b19(0x3af)]();_0x3580b9=_0x3580b9||{};const _0x1fe546=(_0x2ef68b=(_0x27a7ef=_0x3580b9['random'])!=null?_0x27a7ef:(_0x3f5cff=_0x3580b9['rng'])==null?void 0x0:_0x3f5cff[_0x338b19(0x487)](_0x3580b9))!=null?_0x2ef68b:_0x155adf();if(_0x1fe546[_0x338b19(0x285)]<0x10)throw new Error(_0x338b19(0x343));return _0x1fe546[0x6]=_0x1fe546[0x6]&0xf|0x40,_0x1fe546[0x8]=_0x1fe546[0x8]&0x3f|0x80,_0xb64fd3(_0x1fe546);}const _0x23ff37=_0x2dfbef[_0x344682(0x2a5)](_0x344682(0x21a));function _0xba1052(_0x587742){var _0x21ec34=_0x344682;return _0x21ec34(0x4b7)+_0x587742;}var _0x663b7d=Object[_0x344682(0x260)],_0x520d85=(_0x598f9b,_0x326cbb,_0x48e2b9,_0x3ff854)=>{for(var _0x3a4f4d=_0x3ff854>0x1?void 0x0:_0x3ff854?_0x663b7d(_0x326cbb,_0x48e2b9):_0x326cbb,_0x3e40fd=_0x598f9b['length']-0x1,_0x18c438;_0x3e40fd>=0x0;_0x3e40fd--)(_0x18c438=_0x598f9b[_0x3e40fd])&&(_0x3a4f4d=_0x18c438(_0x3a4f4d)||_0x3a4f4d);return _0x3a4f4d;},_0x1d338f=(_0x1f2e05,_0x689030)=>(_0xc48015,_0x21a90b)=>_0x689030(_0xc48015,_0x21a90b,_0x1f2e05);function _0x21a4c6(_0x18298b){var _0x496aed=_0x344682;const {unitID:_0x5cfe16,mutations:_0x5157ba}=_0x18298b;return{'unitId':_0x5cfe16,'subUnitId':_0x5157ba[0x0][_0x496aed(0x1c5)][_0x496aed(0x468)]};}_0x3b85a1[_0x344682(0x198)]=class{constructor(_0x562cf2,_0x29db85,_0x3a7316){var _0xa58b4c=_0x344682;this[_0xa58b4c(0x398)]=_0x562cf2,this[_0xa58b4c(0x437)]=_0x29db85,this[_0xa58b4c(0x178)]=_0x3a7316;}[_0x344682(0x427)](_0x4826ea){var _0x204c6b=_0x344682,_0x210cfd,_0x58855b,_0x291e0e,_0x399642;const _0x3ef68e=this[_0x204c6b(0x398)][_0x204c6b(0x2f2)](_0xb87b75['SheetsSelectionsService']),{unitId:_0xd5072b,subUnitId:_0x5159c4}=_0x21a4c6(_0x4826ea),_0x21557c=_0x3ef68e==null?void 0x0:_0x3ef68e[_0x204c6b(0x20e)](_0xd5072b)['getCurrentSelections'](),_0x41ae0b=(_0x58855b=(_0x210cfd=this[_0x204c6b(0x178)][_0x204c6b(0x28c)](_0xd5072b))==null?void 0x0:_0x210cfd[_0x204c6b(0x17b)]())==null?void 0x0:_0x58855b[_0x204c6b(0x266)]();if(_0x21557c[_0x204c6b(0x285)]===0x0||!_0xd5072b||!_0x5159c4)return;const _0x39e5b5=[{'id':_0xb87b75[_0x204c6b(0x46c)]['id'],'params':{'unitId':_0xd5072b,'subUnitId':_0x41ae0b,'selections':_0x2dfbef[_0x204c6b(0x462)][_0x204c6b(0x492)](_0x21557c)}}],_0x3ea5cf=this[_0x204c6b(0x437)][_0x204c6b(0x452)](_0x4826ea,_0x39e5b5);if(!_0x1ea6ac[_0x204c6b(0x267)](_0x3ea5cf))throw _0x3ea5cf[_0x204c6b(0x25e)];const _0x512441=(_0x399642=(_0x291e0e=_0x3ea5cf[_0x204c6b(0x442)][0x0])==null?void 0x0:_0x291e0e['params'])==null?void 0x0:_0x399642[_0x204c6b(0x397)];if(Array[_0x204c6b(0x159)](_0x512441)&&_0x512441[_0x204c6b(0x285)]){if(_0x512441[_0x204c6b(0x285)]===_0x39e5b5[0x0][_0x204c6b(0x1c5)][_0x204c6b(0x397)]['length']&&_0x512441[_0x204c6b(0x42e)]((_0x1d3f7d,_0x2764a4)=>_0x2dfbef[_0x204c6b(0x1eb)][_0x204c6b(0x360)](_0x1d3f7d[_0x204c6b(0x277)],_0x39e5b5[0x0][_0x204c6b(0x1c5)][_0x204c6b(0x397)][_0x2764a4][_0x204c6b(0x277)])))return;this[_0x204c6b(0x398)][_0x204c6b(0x2f2)](_0x2dfbef[_0x204c6b(0x2f5)])[_0x204c6b(0x2be)](_0xb87b75['SetSelectionsOperation']['id'],{'unitId':_0xd5072b,'subUnitId':_0x41ae0b,'selections':_0x512441});}}},_0x3b85a1[_0x344682(0x198)]=_0x520d85([_0x1d338f(0x0,_0x2dfbef['Inject'](_0x2dfbef[_0x344682(0x2ee)])),_0x1d338f(0x1,_0x1ea6ac[_0x344682(0x1fa)]),_0x1d338f(0x2,_0x2dfbef[_0x344682(0x204)])],_0x3b85a1[_0x344682(0x198)]);const _0x1ae35d=_0x2dfbef[_0x344682(0x2a5)](_0x344682(0x1dc));var _0x39bafb=(_0x353a8f=>(_0x353a8f[_0x353a8f[_0x344682(0x495)]=0x0]=_0x344682(0x495),_0x353a8f[_0x353a8f[_0x344682(0x24e)]=0x1]=_0x344682(0x24e),_0x353a8f))(_0x39bafb||{});const _0x41ddf3=new Set([_0xb87b75[_0x344682(0x335)]['id']]);function _0x36d2e5(_0x30c373,_0x57a163,_0xb6893a,_0x42ab14,_0x48fba3){var _0x1df684=_0x344682,_0x10c2d5,_0x4225d7,_0x4cd4a1,_0x15a2aa;const _0x3fa82f=[];for(const _0x2e0c8b of _0x30c373)if(_0x41ddf3[_0x1df684(0x237)](_0x2e0c8b['id'])){if(_0x3fa82f[_0x1df684(0x285)]>0x0)break;_0x3fa82f[_0x1df684(0x399)](_0x2e0c8b);break;}else _0x3fa82f[_0x1df684(0x399)](_0x2e0c8b);const _0xc1ec24=(_0x4225d7=(_0x10c2d5=_0x48fba3['getCurrentUser']())==null?void 0x0:_0x10c2d5['userID'])!=null?_0x4225d7:_0x1df684(0x4aa),_0x2da1b=(_0x15a2aa=(_0x4cd4a1=_0x48fba3[_0x1df684(0x1d2)]())==null?void 0x0:_0x4cd4a1[_0x1df684(0x1f1)])!=null?_0x15a2aa:_0x1df684(0x4aa);return{'changeset':{'unitID':_0x57a163,'type':_0x1ea6ac['mapDocumentTypeToUniverType'](_0xb6893a[_0x1df684(0x228)](_0x57a163)),'baseRev':_0x42ab14[_0x1df684(0x471)](_0x57a163),'revision':0x0,'userID':_0xc1ec24,'memberID':_0x2da1b,'mutations':_0x3fa82f},'pendingMutations':_0x30c373[_0x1df684(0x273)](_0x3fa82f[_0x1df684(0x285)])};}function _0x557c19(_0x12e11c,_0x4ace87,_0x120cda,_0x385d11,_0x444f41){var _0x334047=_0x344682,_0x1284ce,_0x395167,_0x53e117,_0x54e3f6;const _0x466b69=[_0x12e11c[_0x334047(0x3b5)]((_0x569a58,_0x1ff1c4)=>{var _0x1e3c9e=_0x334047,_0x5e1466;const {id:_0x3eeb92}=_0x569a58,{id:_0xa0e5f7,type:_0x488dbe}=_0x1ff1c4,_0x45b660=(_0x5e1466=_0x569a58[_0x1e3c9e(0x1c5)])!=null?_0x5e1466:{'actions':null},_0x27cfd9=_0x1ff1c4['params'];if(_0x3eeb92&&_0x3eeb92!==_0xa0e5f7)throw new Error(_0x1e3c9e(0x330)+_0x3eeb92+'\x20-\x20'+_0xa0e5f7+'.');return{..._0x569a58,'id':_0xa0e5f7,'type':_0x488dbe,'params':{'unitId':_0x27cfd9[_0x1e3c9e(0x1df)],'textRanges':_0x27cfd9['textRanges'],'actions':_0x2dfbef[_0x1e3c9e(0x43a)][_0x1e3c9e(0x413)](_0x45b660[_0x1e3c9e(0x238)],_0x27cfd9['actions'])}};},{})],_0x49b47e=(_0x395167=(_0x1284ce=_0x444f41[_0x334047(0x1d2)]())==null?void 0x0:_0x1284ce[_0x334047(0x1ce)])!=null?_0x395167:'unknown',_0x48c71c=(_0x54e3f6=(_0x53e117=_0x444f41[_0x334047(0x1d2)]())==null?void 0x0:_0x53e117[_0x334047(0x1f1)])!=null?_0x54e3f6:'unknown';return{'changeset':{'unitID':_0x4ace87,'type':_0x1ea6ac[_0x334047(0x33b)](_0x120cda[_0x334047(0x228)](_0x4ace87)),'baseRev':_0x385d11[_0x334047(0x471)](_0x4ace87),'revision':0x0,'userID':_0x49b47e,'memberID':_0x48c71c,'mutations':_0x466b69},'pendingMutations':[]};}function _0x49d896(_0x55e0cf,_0x2673ae){var _0x4c8e1a=_0x344682;const _0x16d829=new _0x273fc2[(_0x4c8e1a(0x491))](0x1);return setTimeout(()=>_0x16d829[_0x4c8e1a(0x20f)](_0x2673ae),_0x55e0cf),_0x16d829['asObservable']()[_0x4c8e1a(0x222)](_0x273fc2[_0x4c8e1a(0x402)](0x1));}const _0x16e07f={'id':_0xb87b75[_0x344682(0x39b)]['id'],'type':_0x2dfbef['CommandType'][_0x344682(0x481)],'params':{}};var _0x45b486=Object[_0x344682(0x260)],_0x56bf13=(_0x819dc8,_0x243d4d,_0x3e3b86,_0x4207d7)=>{var _0xb94c6=_0x344682;for(var _0x1adf35=_0x4207d7>0x1?void 0x0:_0x4207d7?_0x45b486(_0x243d4d,_0x3e3b86):_0x243d4d,_0x42c601=_0x819dc8[_0xb94c6(0x285)]-0x1,_0x32348f;_0x42c601>=0x0;_0x42c601--)(_0x32348f=_0x819dc8[_0x42c601])&&(_0x1adf35=_0x32348f(_0x1adf35)||_0x1adf35);return _0x1adf35;},_0x486226=(_0x1ddb50,_0x1f3efa)=>(_0x1f990f,_0x29a41e)=>_0x1f3efa(_0x1f990f,_0x29a41e,_0x1ddb50),_0x388909=(_0x27cc30=>(_0x27cc30['NOT_COLLAB']=_0x344682(0x217),_0x27cc30[_0x344682(0x1cb)]=_0x344682(0x250),_0x27cc30[_0x344682(0x2fb)]=_0x344682(0x294),_0x27cc30[_0x344682(0x4be)]=_0x344682(0x182),_0x27cc30[_0x344682(0x15f)]=_0x344682(0x2b3),_0x27cc30[_0x344682(0x308)]=_0x344682(0x295),_0x27cc30[_0x344682(0x4c7)]=_0x344682(0x3bb),_0x27cc30[_0x344682(0x2a1)]=_0x344682(0x254),_0x27cc30))(_0x388909||{});const _0x89c1d0=0xea60;class _0x4aa594{constructor(_0x241a6b,_0x263a9b,_0xd581d0,_0x32611b,_0x1e8959,_0x24610b,_0x2b5e98,_0x1a6f4a,_0x3b65ff){var _0x179071=_0x344682;_0x1ca623(this,_0x179071(0x351),null),_0x1ca623(this,_0x179071(0x38f),[]),(this[_0x179071(0x14d)]=_0x241a6b,this['type']=_0x263a9b,this[_0x179071(0x428)]=_0x1e8959,this['_commandService']=_0x24610b,this[_0x179071(0x4a3)]=_0x2b5e98,this[_0x179071(0x4d0)]=_0x1a6f4a,this[_0x179071(0x2ba)]=_0x3b65ff,this[_0x179071(0x351)]=_0xd581d0,this[_0x179071(0x38f)]=_0x32611b);}['_checkMissing'](_0xd03b73){var _0x457694=_0x344682;const _0x2218dc=this[_0x457694(0x4d0)][_0x457694(0x471)](this[_0x457694(0x14d)]);return _0xd03b73[_0x457694(0x3ba)]>_0x2218dc+0x1?(this['_handler'][_0x457694(0x23f)]({'from':_0x2218dc,'to':_0xd03b73[_0x457694(0x3ba)]-0x1}),!0x0):!0x1;}[_0x344682(0x337)](_0x58c4a7){var _0x1dcafc=_0x344682;this[_0x1dcafc(0x4a3)][_0x1dcafc(0x1f4)](this['unitID'],_0x58c4a7);}['_transformSelections'](_0x123900){var _0x3d5520=_0x344682,_0x2279be,_0x4f0690;(_0x4f0690=(_0x2279be=this[_0x3d5520(0x428)])[_0x3d5520(0x1c9)])==null||_0x4f0690[_0x3d5520(0x487)](_0x2279be,_0x123900);}['_transformIMECache'](_0x3502b1){var _0x44519a=_0x344682,_0x540535,_0x533f87;return(_0x533f87=(_0x540535=this['_handler'])[_0x44519a(0x3db)])==null?void 0x0:_0x533f87[_0x44519a(0x487)](_0x540535,_0x3502b1);}[_0x344682(0x2fd)](_0x5b98ec){var _0x30a373=_0x344682,_0x23f7dc,_0x23a5cb;return(_0x23a5cb=(_0x23f7dc=this[_0x30a373(0x428)])[_0x30a373(0x241)])==null?void 0x0:_0x23a5cb[_0x30a373(0x487)](_0x23f7dc,_0x5b98ec);}['_transformRemoteChangesetByIMECache'](_0x4e2162){var _0x36b54f=_0x344682,_0x5ca86d,_0x2f0462,_0x1b3cb6;return(_0x1b3cb6=(_0x2f0462=(_0x5ca86d=this[_0x36b54f(0x428)])[_0x36b54f(0x16a)])==null?void 0x0:_0x2f0462['call'](_0x5ca86d,_0x4e2162))!=null?_0x1b3cb6:_0x4e2162;}['_transformRemoteChangesetByStateCache'](_0xa9d8b){var _0x796233=_0x344682,_0x1fd570,_0xd84d11,_0x3fb934;return(_0x3fb934=(_0xd84d11=(_0x1fd570=this[_0x796233(0x428)])[_0x796233(0x1da)])==null?void 0x0:_0xd84d11[_0x796233(0x487)](_0x1fd570,_0xa9d8b))!=null?_0x3fb934:_0xa9d8b;}[_0x344682(0x2df)](_0x5c4cf3){var _0x173763=_0x344682,_0x287af6,_0x3b2b5a;if(this['type']===_0x2e0a6c['UNIVER_DOC']){const {unitID:_0x2d3e09,mutations:_0x1bcbff,memberID:_0xe15cf1}=_0x5c4cf3,_0x292b57=_0x1bcbff[0x0][_0x173763(0x1c5)][_0x173763(0x359)];Array[_0x173763(0x159)](_0x292b57)&&_0x292b57['length']>0x0&&((_0x3b2b5a=(_0x287af6=this['_handler'])[_0x173763(0x36e)])==null||_0x3b2b5a['call'](_0x287af6,{'unitID':_0x2d3e09,'memberID':_0xe15cf1,'textRanges':_0x292b57}));}}['_updateLocalCache'](){var _0x3fb2bf=_0x344682,_0x30cace;(_0x30cace=this['_localCacheService'])==null||_0x30cace[_0x3fb2bf(0x476)](this[_0x3fb2bf(0x14d)],this[_0x3fb2bf(0x45d)],this[_0x3fb2bf(0x351)],this[_0x3fb2bf(0x38f)]);}['_getCurrentRevision'](){var _0x398010=_0x344682;return this['_revisionService'][_0x398010(0x471)](this[_0x398010(0x14d)]);}[_0x344682(0x189)](){var _0x2d6122=_0x344682;this[_0x2d6122(0x4d0)][_0x2d6122(0x2d0)](this[_0x2d6122(0x14d)]);}[_0x344682(0x47a)](_0x11ab6a){var _0x15d4fd=_0x344682,_0x193207;let _0x178117=this[_0x15d4fd(0x28a)](_0x11ab6a);_0x178117=this[_0x15d4fd(0x1cd)](_0x178117);const _0x58ec51=_0x2dfbef[_0x15d4fd(0x1c6)](_0x178117[_0x15d4fd(0x33d)],this[_0x15d4fd(0x417)],{'fromCollab':!0x0});if(!_0x58ec51[_0x15d4fd(0x33e)])throw _0x58ec51[_0x15d4fd(0x25e)]instanceof Error?_0x58ec51[_0x15d4fd(0x25e)]:new Error((_0x193207=_0x58ec51[_0x15d4fd(0x25e)])!=null?_0x193207:_0x15d4fd(0x1fc));this[_0x15d4fd(0x48d)](_0x178117),this[_0x15d4fd(0x2fd)](_0x178117),this[_0x15d4fd(0x337)](_0x11ab6a),this[_0x15d4fd(0x38d)](_0x178117),this[_0x15d4fd(0x2df)](_0x178117),this[_0x15d4fd(0x189)]();}}_0x3b85a1[_0x344682(0x2a3)]=class extends _0x4aa594{constructor(_0x32cafe,_0x29bad4,_0x276d8b,_0x11c9e2,_0x46e9fe,_0x2ff0a0,_0x21028f,_0x1909ce,_0x1422fe,_0x8679a2){var _0x364e5d=_0x344682;super(_0x32cafe,_0x29bad4,null,[],_0x276d8b,_0x21028f,_0x2ff0a0,_0x11c9e2,_0x8679a2),_0x1ca623(this,_0x364e5d(0x1e1),_0x364e5d(0x250)),(this[_0x364e5d(0x398)]=_0x46e9fe,this[_0x364e5d(0x42c)]=_0x1909ce,this['_transformService']=_0x1422fe,this[_0x364e5d(0x303)]=_0x8679a2);}[_0x344682(0x1b5)](_0x579fe9){var _0x155ba3=_0x344682;const _0x441172=this[_0x155ba3(0x398)][_0x155ba3(0x480)](_0x3b85a1[_0x155ba3(0x26e)],this[_0x155ba3(0x14d)],this[_0x155ba3(0x45d)],[_0x579fe9],this[_0x155ba3(0x428)]);return _0x441172[_0x155ba3(0x1f9)](),_0x441172['_updateLocalCache'](),_0x441172;}[_0x344682(0x4d1)](_0x549ef2){var _0xcc31c6=_0x344682;if(this[_0xcc31c6(0x4cc)](_0x549ef2))return this[_0xcc31c6(0x398)]['createInstance'](_0x3b85a1['FetchingMissState'],this['unitID'],this[_0xcc31c6(0x45d)],null,[],null,[_0x549ef2],this[_0xcc31c6(0x428)]);try{const _0x56af10=this[_0xcc31c6(0x437)][_0xcc31c6(0x452)](_0x549ef2,[_0x16e07f]);if(_0x1ea6ac[_0xcc31c6(0x267)](_0x56af10)){const {c1Prime:_0x1e3fa8}=_0x56af10;return this[_0xcc31c6(0x47a)](_0x1e3fa8),this;}throw _0x56af10[_0xcc31c6(0x25e)];}catch(_0x514184){return this[_0xcc31c6(0x42c)][_0xcc31c6(0x25e)](_0x514184),this[_0xcc31c6(0x320)](!0x1);}}[_0x344682(0x320)](_0x43783f){var _0x20f9ed=_0x344682;return this[_0x20f9ed(0x398)]['createInstance'](_0x3b85a1[_0x20f9ed(0x2fc)],this[_0x20f9ed(0x14d)],this[_0x20f9ed(0x45d)],null,[],this[_0x20f9ed(0x428)],_0x43783f);}['onRemoteAck'](){var _0x229b0f=_0x344682;throw new Error(_0x229b0f(0x34a));}[_0x344682(0x25d)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x344682(0x4cf)](){return this;}[_0x344682(0x1a5)](){var _0x55402c=_0x344682;return this[_0x55402c(0x398)]['createInstance'](_0x3b85a1[_0x55402c(0x37b)],this[_0x55402c(0x14d)],this['type'],null,[],this[_0x55402c(0x428)]);}[_0x344682(0x2a4)](){return this;}[_0x344682(0x331)](){var _0x4f5bcd=_0x344682;throw new Error(_0x4f5bcd(0x1b1));}[_0x344682(0x312)](){var _0x5255b5=_0x344682;const _0x3dff70=this[_0x5255b5(0x4d0)][_0x5255b5(0x471)](this[_0x5255b5(0x14d)]);return this[_0x5255b5(0x428)][_0x5255b5(0x23f)]({'from':_0x3dff70,'to':0x0}),this[_0x5255b5(0x398)][_0x5255b5(0x480)](_0x3b85a1[_0x5255b5(0x422)],this[_0x5255b5(0x14d)],this[_0x5255b5(0x45d)],null,[],null,[],this[_0x5255b5(0x428)]);}},_0x3b85a1[_0x344682(0x2a3)]=_0x56bf13([_0x486226(0x3,_0x2dfbef[_0x344682(0x21e)](_0x1ea6ac['RevisionService'])),_0x486226(0x4,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x2ee)])),_0x486226(0x5,_0x2dfbef[_0x344682(0x3b8)]),_0x486226(0x6,_0x2dfbef[_0x344682(0x2f5)]),_0x486226(0x7,_0x2dfbef['ILogService']),_0x486226(0x8,_0x1ea6ac[_0x344682(0x1fa)]),_0x486226(0x9,_0x2dfbef['Optional'](_0x23ff37))],_0x3b85a1['SyncedState']),_0x3b85a1['PendingState']=class extends _0x4aa594{constructor(_0x50975e,_0x52ca7a,_0x3717f2,_0x239ae4,_0x39f36e,_0x5af48c,_0x29ea22,_0x3e30a2,_0x13cbe3,_0x2f7bd6,_0x4b4615,_0x50818f,_0x35eca9,_0x113bf2){var _0x4d3654=_0x344682;super(_0x50975e,_0x52ca7a,null,_0x3717f2,_0x239ae4,_0x13cbe3,_0x35eca9,_0x5af48c,_0x113bf2),_0x1ca623(this,_0x4d3654(0x1e1),_0x4d3654(0x294)),_0x1ca623(this,_0x4d3654(0x1af),null),_0x1ca623(this,'_sendingTimer',null),(this[_0x4d3654(0x398)]=_0x39f36e,this['_memberService']=_0x29ea22,this[_0x4d3654(0x42c)]=_0x3e30a2,this[_0x4d3654(0x2d4)]=_0x2f7bd6,this[_0x4d3654(0x437)]=_0x4b4615,this[_0x4d3654(0x384)]=_0x50818f);}[_0x344682(0x1b5)](_0x677868){var _0x276729=_0x344682;return this[_0x276729(0x38f)]['push'](_0x677868),this[_0x276729(0x368)](),this;}[_0x344682(0x4d1)](_0x5b92c7){var _0xc7777=_0x344682;if(this[_0xc7777(0x4cc)](_0x5b92c7))return this[_0xc7777(0x46a)](),this[_0xc7777(0x398)][_0xc7777(0x480)](_0x3b85a1[_0xc7777(0x422)],this[_0xc7777(0x14d)],this[_0xc7777(0x45d)],null,this[_0xc7777(0x38f)],null,[_0x5b92c7],this[_0xc7777(0x428)]);try{const _0x460617=this['_transformService'][_0xc7777(0x452)](_0x5b92c7,this[_0xc7777(0x38f)]);if(_0x1ea6ac[_0xc7777(0x267)](_0x460617)){const {c1Prime:_0x524dd7,m2Prime:_0x49537f}=_0x460617;this[_0xc7777(0x47a)](_0x524dd7);const _0x563673=this[_0xc7777(0x398)][_0xc7777(0x480)](_0x3b85a1[_0xc7777(0x26e)],this[_0xc7777(0x14d)],this[_0xc7777(0x45d)],_0x49537f,this[_0xc7777(0x428)]);this[_0xc7777(0x46a)]();const _0x4d663c=new Date()['getTime'](),_0x3ec236=this[_0xc7777(0x1af)]?Math[_0xc7777(0x364)](this[_0xc7777(0x1af)]-_0x4d663c,0x0):this[_0xc7777(0x1ad)]();return _0x563673[_0xc7777(0x1f9)](_0x3ec236),_0x563673;}throw _0x460617[_0xc7777(0x25e)];}catch(_0x2e1570){return this[_0xc7777(0x42c)][_0xc7777(0x25e)](_0x2e1570),this[_0xc7777(0x320)](!0x1);}}['onRemoteAck'](){var _0x1f40d5=_0x344682;throw new Error(_0x1f40d5(0x2ac));}[_0x344682(0x25d)](){var _0x1566b1=_0x344682;throw new Error(_0x1566b1(0x440));}['onRemoteRetry'](){return this;}[_0x344682(0x1a5)](){var _0x3e708e=_0x344682;return this[_0x3e708e(0x46a)](),this[_0x3e708e(0x398)]['createInstance'](_0x3b85a1[_0x3e708e(0x37b)],this[_0x3e708e(0x14d)],this[_0x3e708e(0x45d)],null,this['_pendingMutations'],this['_handler']);}[_0x344682(0x2a4)](){return this;}[_0x344682(0x1f9)](_0x383e6c){var _0x9b6f2e=_0x344682;const _0x585828=_0x383e6c!=null?_0x383e6c:this[_0x9b6f2e(0x1ad)]();this[_0x9b6f2e(0x1af)]=new Date()[_0x9b6f2e(0x431)]()+_0x585828,this[_0x9b6f2e(0x1d3)]=setTimeout(()=>{var _0x5a9d6c=_0x9b6f2e;this['_clearScheduledTask']();let _0x120309=null;switch(this[_0x5a9d6c(0x45d)]){case _0x2e0a6c['UNIVER_SHEET']:{_0x120309=_0x36d2e5(this['_pendingMutations'],this['unitID'],this[_0x5a9d6c(0x384)],this['_revisionService'],this[_0x5a9d6c(0x1c7)]);break;}case _0x2e0a6c[_0x5a9d6c(0x28b)]:{this[_0x5a9d6c(0x38f)]['every'](_0x421169=>_0x421169['id']===_0x3c2b98[_0x5a9d6c(0x387)]['id'])?_0x120309=_0x557c19(this[_0x5a9d6c(0x38f)],this[_0x5a9d6c(0x14d)],this[_0x5a9d6c(0x384)],this[_0x5a9d6c(0x4d0)],this[_0x5a9d6c(0x1c7)]):_0x120309=_0x36d2e5(this[_0x5a9d6c(0x38f)],this['unitID'],this[_0x5a9d6c(0x384)],this[_0x5a9d6c(0x4d0)],this[_0x5a9d6c(0x1c7)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x5a9d6c(0x45d)]+_0x5a9d6c(0x299));}const {changeset:_0x55c2b6,pendingMutations:_0x3b0ffa}=_0x120309;this[_0x5a9d6c(0x428)][_0x5a9d6c(0x47d)](_0x55c2b6);const _0x5ceaa0=_0x3b0ffa[_0x5a9d6c(0x285)]?this[_0x5a9d6c(0x398)][_0x5a9d6c(0x480)](_0x3b85a1[_0x5a9d6c(0x4ba)],this['unitID'],this[_0x5a9d6c(0x45d)],_0x55c2b6,_0x3b0ffa,this[_0x5a9d6c(0x428)],void 0x0):this['_injector'][_0x5a9d6c(0x480)](_0x3b85a1[_0x5a9d6c(0x432)],this['unitID'],this[_0x5a9d6c(0x45d)],_0x55c2b6,this[_0x5a9d6c(0x428)]);_0x5ceaa0[_0x5a9d6c(0x368)](),this[_0x5a9d6c(0x428)][_0x5a9d6c(0x4bc)](this,_0x5ceaa0);},_0x585828);}[_0x344682(0x1ad)](){var _0x45634e=_0x344682,_0x38047e;const _0x5e93bd=this[_0x45634e(0x2d4)]['getConfig'](_0x354056);return(_0x38047e=_0x5e93bd==null?void 0x0:_0x5e93bd['sendChangesetTimeout'])!=null?_0x38047e:0x7d0;}['resend'](){var _0x14c743=_0x344682;throw new Error(_0x14c743(0x3d8));}[_0x344682(0x46a)](){var _0x848861=_0x344682;this['_sendingTimer']!=null&&(clearTimeout(this[_0x848861(0x1d3)]),this['_sendingTimer']=null);}['_onConflict'](_0x3e2bd1){var _0x47ea39=_0x344682;return this[_0x47ea39(0x46a)](),this[_0x47ea39(0x398)][_0x47ea39(0x480)](_0x3b85a1[_0x47ea39(0x2fc)],this[_0x47ea39(0x14d)],this[_0x47ea39(0x45d)],null,this[_0x47ea39(0x38f)],this['_handler'],_0x3e2bd1);}},_0x3b85a1[_0x344682(0x26e)]=_0x56bf13([_0x486226(0x4,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x2ee)])),_0x486226(0x5,_0x2dfbef[_0x344682(0x21e)](_0x1ea6ac[_0x344682(0x2d3)])),_0x486226(0x6,_0x2dfbef['Inject'](_0x3b85a1[_0x344682(0x275)])),_0x486226(0x7,_0x2dfbef['ILogService']),_0x486226(0x8,_0x2dfbef[_0x344682(0x2f5)]),_0x486226(0x9,_0x2dfbef['IConfigService']),_0x486226(0xa,_0x1ea6ac[_0x344682(0x1fa)]),_0x486226(0xb,_0x2dfbef['IUniverInstanceService']),_0x486226(0xc,_0x2dfbef[_0x344682(0x3b8)]),_0x486226(0xd,_0x2dfbef['Optional'](_0x23ff37))],_0x3b85a1[_0x344682(0x26e)]),_0x3b85a1[_0x344682(0x432)]=class extends _0x4aa594{constructor(_0x17e3ef,_0x29e41f,_0x5069a9,_0x27912f,_0x109529,_0x433820,_0x9c37e4,_0x2ba33f,_0x14e099,_0x265864,_0x5c3b08){var _0x202d10=_0x344682;super(_0x17e3ef,_0x29e41f,_0x5069a9,[],_0x27912f,_0x9c37e4,_0x265864,_0x433820,_0x5c3b08),_0x1ca623(this,'status','awaiting'),_0x1ca623(this,_0x202d10(0x35b),0x0),_0x1ca623(this,'_resendTimer'),_0x1ca623(this,_0x202d10(0x199)),(this['_injector']=_0x109529,this['_logService']=_0x2ba33f,this[_0x202d10(0x437)]=_0x14e099);}[_0x344682(0x1b5)](_0x510b7f){var _0x1e29f0=_0x344682;this[_0x1e29f0(0x46a)]();const _0x28b224=this['_injector']['createInstance'](_0x3b85a1[_0x1e29f0(0x4ba)],this['unitID'],this[_0x1e29f0(0x45d)],this[_0x1e29f0(0x351)],[_0x510b7f],this[_0x1e29f0(0x428)],this[_0x1e29f0(0x196)]);return _0x28b224[_0x1e29f0(0x368)](),_0x28b224;}[_0x344682(0x4d1)](_0x4c50ae){var _0x2c9538=_0x344682;if(this[_0x2c9538(0x4cc)](_0x4c50ae))return this[_0x2c9538(0x46a)](),this[_0x2c9538(0x398)]['createInstance'](_0x3b85a1[_0x2c9538(0x422)],this[_0x2c9538(0x14d)],this[_0x2c9538(0x45d)],this[_0x2c9538(0x351)],[],null,[_0x4c50ae],this['_handler']);try{const _0xe1bea8=this[_0x2c9538(0x437)][_0x2c9538(0x2a7)]([_0x4c50ae],[this['_awaitingChangeset']],!0x1);if(_0x1ea6ac[_0x2c9538(0x4af)](_0xe1bea8)){const {c1Prime:_0x211a1a,c2Prime:_0x72116}=_0xe1bea8;this['_executeRemoteChangeset'](_0x211a1a[0x0]),_0x72116[0x0][_0x2c9538(0x447)]=this[_0x2c9538(0x262)](),this['_clearScheduledTask']();const _0x50c827=this[_0x2c9538(0x398)][_0x2c9538(0x480)](_0x3b85a1[_0x2c9538(0x432)],this[_0x2c9538(0x14d)],this[_0x2c9538(0x45d)],_0x72116[0x0],this['_handler']);return _0x50c827[_0x2c9538(0x368)](),_0x50c827;}return this[_0x2c9538(0x320)](!0x1);}catch(_0x170bab){return this[_0x2c9538(0x42c)]['error'](_0x170bab),this[_0x2c9538(0x320)](!0x1);}}[_0x344682(0x291)](_0x1f38db){var _0x3ee5a2=_0x344682;this['_clearScheduledTask']();const _0x29d817=this['_revisionService'][_0x3ee5a2(0x471)](this[_0x3ee5a2(0x14d)]);if(_0x1f38db[_0x3ee5a2(0x3ba)]<_0x29d817-0x1)return this;if(this['_checkMissing'](_0x1f38db))return this[_0x3ee5a2(0x398)]['createInstance'](_0x3b85a1['FetchingMissState'],this[_0x3ee5a2(0x14d)],this[_0x3ee5a2(0x45d)],null,[],this[_0x3ee5a2(0x351)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x566418=this[_0x3ee5a2(0x398)][_0x3ee5a2(0x480)](_0x3b85a1['SyncedState'],this[_0x3ee5a2(0x14d)],this[_0x3ee5a2(0x45d)],this[_0x3ee5a2(0x428)]);return _0x566418[_0x3ee5a2(0x368)](),_0x566418;}[_0x344682(0x25d)](_0x1706a8){var _0x2e1b74=_0x344682;return this[_0x2e1b74(0x320)](!!(_0x1706a8!=null&&_0x1706a8['isPermissionRej']));}[_0x344682(0x4cf)](_0x13ba53){var _0x1ae0d2=_0x344682;return this['_resendTimeout']>_0x89c1d0?this['toggleOffline']():(this[_0x1ae0d2(0x196)]=_0x49d896(this[_0x1ae0d2(0x35b)],{'timeout':this['_resendTimeout'],'reqId':_0x13ba53[_0x1ae0d2(0x233)]}),this[_0x1ae0d2(0x199)]=this[_0x1ae0d2(0x196)][_0x1ae0d2(0x3fc)](({reqId:_0x3b259e,timeout:_0x5250d2})=>{this['_resendWithTimeout'](_0x3b259e,_0x5250d2);}),this);}['toggleOffline'](){var _0x3bd496=_0x344682;return this[_0x3bd496(0x46a)](),this['_injector'][_0x3bd496(0x480)](_0x3b85a1[_0x3bd496(0x37b)],this[_0x3bd496(0x14d)],this[_0x3bd496(0x45d)],this[_0x3bd496(0x351)],[],this[_0x3bd496(0x428)]);}['toggleOnline'](){return this;}['resend'](){var _0x1b58ac=_0x344682;this[_0x1b58ac(0x428)][_0x1b58ac(0x47d)](this[_0x1b58ac(0x351)]);}[_0x344682(0x320)](_0x53bf8c){var _0x47ba68=_0x344682;return this[_0x47ba68(0x46a)](),this['_injector']['createInstance'](_0x3b85a1['ConflictState'],this['unitID'],this[_0x47ba68(0x45d)],this[_0x47ba68(0x351)],[],this[_0x47ba68(0x428)],_0x53bf8c);}[_0x344682(0x1e8)](_0x4c02d8,_0x4266d0){var _0x18d29e=_0x344682,_0x31e996;_0x4c02d8===((_0x31e996=this[_0x18d29e(0x351)])==null?void 0x0:_0x31e996[_0x18d29e(0x233)])&&(this[_0x18d29e(0x331)](),this[_0x18d29e(0x35b)]=_0x4266d0===0x0?0x3e8:_0x4266d0*0x2);}[_0x344682(0x46a)](){var _0xb58ef9=_0x344682,_0x26b5d5;(_0x26b5d5=this[_0xb58ef9(0x199)])==null||_0x26b5d5[_0xb58ef9(0x3df)](),this[_0xb58ef9(0x35b)]=0x0;}},_0x3b85a1[_0x344682(0x432)]=_0x56bf13([_0x486226(0x4,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x2ee)])),_0x486226(0x5,_0x2dfbef['Inject'](_0x1ea6ac[_0x344682(0x2d3)])),_0x486226(0x6,_0x2dfbef[_0x344682(0x2f5)]),_0x486226(0x7,_0x2dfbef[_0x344682(0x362)]),_0x486226(0x8,_0x1ea6ac[_0x344682(0x1fa)]),_0x486226(0x9,_0x2dfbef[_0x344682(0x3b8)]),_0x486226(0xa,_0x2dfbef[_0x344682(0x4a5)](_0x23ff37))],_0x3b85a1[_0x344682(0x432)]),_0x3b85a1[_0x344682(0x4ba)]=class extends _0x4aa594{constructor(_0xc9183c,_0x931fbe,_0x19f862,_0x1122e3,_0x28c9d4,_0x49a33b,_0x226694,_0x5a9757,_0x55c015,_0x595ea0,_0x2af25d,_0x40b73f,_0x4b1420){var _0x11f733=_0x344682;super(_0xc9183c,_0x931fbe,_0x19f862,_0x1122e3,_0x28c9d4,_0x55c015,_0x40b73f,_0x5a9757,_0x4b1420),_0x1ca623(this,_0x11f733(0x1e1),'awaiting_with_pending'),_0x1ca623(this,_0x11f733(0x35b),0x0),_0x1ca623(this,'_resendTimer'),_0x1ca623(this,_0x11f733(0x199)),(this[_0x11f733(0x398)]=_0x226694,this[_0x11f733(0x42c)]=_0x595ea0,this['_transformService']=_0x2af25d,this[_0x11f733(0x303)]=_0x4b1420,_0x49a33b&&(this[_0x11f733(0x196)]=_0x49a33b,this[_0x11f733(0x199)]=this[_0x11f733(0x196)][_0x11f733(0x3fc)](({reqId:_0x580867,timeout:_0x1cd983})=>{this['_resendWithTimeout'](_0x580867,_0x1cd983);})));}['appendMutation'](_0x1e1655){var _0x603dd5=_0x344682;return this[_0x603dd5(0x38f)][_0x603dd5(0x399)](_0x1e1655),this;}[_0x344682(0x4d1)](_0x4646e8){var _0x82d4d6=_0x344682;if(this['_checkMissing'](_0x4646e8))return this[_0x82d4d6(0x46a)](),this['_injector'][_0x82d4d6(0x480)](_0x3b85a1['FetchingMissState'],this[_0x82d4d6(0x14d)],this[_0x82d4d6(0x45d)],this[_0x82d4d6(0x351)],this[_0x82d4d6(0x38f)],null,[_0x4646e8],this[_0x82d4d6(0x428)]);try{const _0x2478ef=this[_0x82d4d6(0x437)][_0x82d4d6(0x2a7)]([_0x4646e8],[this[_0x82d4d6(0x351)]],!0x1);if(_0x1ea6ac[_0x82d4d6(0x4af)](_0x2478ef)){const {c1Prime:_0x1aeea2,c2Prime:_0x408e0b}=_0x2478ef,_0x3b2f38=this[_0x82d4d6(0x437)][_0x82d4d6(0x452)](_0x1aeea2[0x0],this['_pendingMutations']);if(_0x1ea6ac[_0x82d4d6(0x267)](_0x3b2f38)){const {c1Prime:_0x46ab56,m2Prime:_0x517d0a}=_0x3b2f38;return this[_0x82d4d6(0x47a)](_0x46ab56),_0x408e0b[0x0][_0x82d4d6(0x447)]=this[_0x82d4d6(0x262)](),this['_clearScheduledTask'](),this[_0x82d4d6(0x398)][_0x82d4d6(0x480)](_0x3b85a1[_0x82d4d6(0x4ba)],this[_0x82d4d6(0x14d)],this['type'],_0x408e0b[0x0],_0x517d0a,this['_handler'],void 0x0);}throw _0x3b2f38['error'];}throw _0x2478ef[_0x82d4d6(0x25e)];}catch(_0x529206){return this['_logService'][_0x82d4d6(0x25e)](_0x529206),this[_0x82d4d6(0x320)](!0x1);}}[_0x344682(0x291)](_0xb100cb){var _0x2e6676=_0x344682;if(this[_0x2e6676(0x46a)](),this[_0x2e6676(0x4cc)](_0xb100cb))return this['_injector'][_0x2e6676(0x480)](_0x3b85a1['FetchingMissState'],this[_0x2e6676(0x14d)],this[_0x2e6676(0x45d)],null,this[_0x2e6676(0x38f)],this[_0x2e6676(0x351)],[],this[_0x2e6676(0x428)]);this[_0x2e6676(0x189)]();const _0x5b82ba=this[_0x2e6676(0x398)][_0x2e6676(0x480)](_0x3b85a1[_0x2e6676(0x26e)],this['unitID'],this['type'],this['_pendingMutations'],this['_handler']);return _0x5b82ba[_0x2e6676(0x1f9)](),_0x5b82ba[_0x2e6676(0x368)](),_0x5b82ba;}[_0x344682(0x25d)](_0x572ce7){var _0x3bf91c=_0x344682;return this['_onConflict'](!!(_0x572ce7!=null&&_0x572ce7[_0x3bf91c(0x3e8)]));}['onRemoteRetry'](_0x4170f4){var _0x5b6bb7=_0x344682;return this['_resendTimeout']>_0x89c1d0?this[_0x5b6bb7(0x1a5)]():(this[_0x5b6bb7(0x196)]=_0x49d896(this[_0x5b6bb7(0x35b)],{'timeout':this[_0x5b6bb7(0x35b)],'reqId':_0x4170f4[_0x5b6bb7(0x233)]}),this[_0x5b6bb7(0x199)]=this['_resendTimer'][_0x5b6bb7(0x3fc)](({reqId:_0x5150db,timeout:_0x7c0e99})=>{var _0x49e5bd=_0x5b6bb7;this[_0x49e5bd(0x1e8)](_0x5150db,_0x7c0e99);}),this);}[_0x344682(0x1a5)](){var _0x1beb80=_0x344682;return this[_0x1beb80(0x46a)](),this[_0x1beb80(0x398)][_0x1beb80(0x480)](_0x3b85a1['OfflineState'],this[_0x1beb80(0x14d)],this[_0x1beb80(0x45d)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1beb80(0x428)]);}[_0x344682(0x2a4)](){return this;}['resend'](){var _0x3a4c3d=_0x344682;this[_0x3a4c3d(0x428)][_0x3a4c3d(0x47d)](this['_awaitingChangeset']);}[_0x344682(0x320)](_0x50d9bb){var _0x434908=_0x344682;return this[_0x434908(0x46a)](),this[_0x434908(0x398)]['createInstance'](_0x3b85a1[_0x434908(0x2fc)],this[_0x434908(0x14d)],this[_0x434908(0x45d)],null,this[_0x434908(0x38f)],this[_0x434908(0x428)],_0x50d9bb);}['_resendWithTimeout'](_0x9d4b21,_0x289e54){var _0x31fd00=_0x344682,_0x43982f;_0x9d4b21===((_0x43982f=this['_awaitingChangeset'])==null?void 0x0:_0x43982f[_0x31fd00(0x233)])&&(this['resend'](),this[_0x31fd00(0x35b)]=_0x289e54===0x0?0x3e8:_0x289e54*0x2);}[_0x344682(0x46a)](){var _0x42bb76=_0x344682,_0x31ff99;(_0x31ff99=this[_0x42bb76(0x199)])==null||_0x31ff99[_0x42bb76(0x3df)](),this['_resendTimeout']=0x0;}},_0x3b85a1[_0x344682(0x4ba)]=_0x56bf13([_0x486226(0x6,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x2ee)])),_0x486226(0x7,_0x2dfbef[_0x344682(0x21e)](_0x1ea6ac[_0x344682(0x2d3)])),_0x486226(0x8,_0x2dfbef[_0x344682(0x2f5)]),_0x486226(0x9,_0x2dfbef[_0x344682(0x362)]),_0x486226(0xa,_0x1ea6ac[_0x344682(0x1fa)]),_0x486226(0xb,_0x2dfbef['IUndoRedoService']),_0x486226(0xc,_0x2dfbef[_0x344682(0x4a5)](_0x23ff37))],_0x3b85a1[_0x344682(0x4ba)]),_0x3b85a1[_0x344682(0x2fc)]=class extends _0x4aa594{constructor(_0x5664bb,_0x547221,_0x1c3e7b,_0xbe41f5,_0x55cae1,_0x4682d1=!0x1,_0x420dc7,_0x2c4a20,_0x35531d,_0x520b1d,_0x322be9,_0x119ceb,_0x5b6bba){var _0x5e7143=_0x344682;super(_0x5664bb,_0x547221,_0x1c3e7b,_0xbe41f5,_0x55cae1,_0x2c4a20,_0x35531d,_0x520b1d,_0x5b6bba),_0x1ca623(this,_0x5e7143(0x1e1),_0x5e7143(0x3bb)),(this[_0x5e7143(0x450)]=_0x4682d1,this[_0x5e7143(0x16c)]=_0x420dc7,this[_0x5e7143(0x30b)]=_0x322be9,this['_collaborationUIEventService']=_0x119ceb,this[_0x5e7143(0x303)]=_0x5b6bba,this[_0x5e7143(0x248)](),this['_clearLocalCache'](),this[_0x5e7143(0x229)]());}[_0x344682(0x1b5)](){return this;}[_0x344682(0x4d1)](){return this;}[_0x344682(0x291)](){return this;}[_0x344682(0x25d)](){return this;}[_0x344682(0x4cf)](){return this;}[_0x344682(0x1a5)](){return this;}[_0x344682(0x2a4)](){return this;}[_0x344682(0x331)](){var _0x4983b7=_0x344682;throw new Error(_0x4983b7(0x482));}[_0x344682(0x3d2)](){var _0x44a6f7=_0x344682,_0x957dcb;(_0x957dcb=this[_0x44a6f7(0x2ba)])==null||_0x957dcb['updateOfflineData'](this[_0x44a6f7(0x14d)],this['type'],null,[]);}[_0x344682(0x248)](){var _0x4981d9=_0x344682;this['_isPermissionRej']?this[_0x4981d9(0x1a8)][_0x4981d9(0x25a)]({'id':_0x2a7689['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x4981d9(0x25a)]({'id':_0x2a7689[_0x4981d9(0x4c7)]});}['_disableEditing'](){var _0x3c9501=_0x344682;this[_0x3c9501(0x16c)][_0x3c9501(0x371)](new _0xb87b75[(_0x3c9501(0x2aa))](this[_0x3c9501(0x14d)])['id'],!0x1);}},_0x3b85a1['ConflictState']=_0x56bf13([_0x486226(0x6,_0x2dfbef['Inject'](_0x2dfbef[_0x344682(0x173)])),_0x486226(0x7,_0x2dfbef['ICommandService']),_0x486226(0x8,_0x2dfbef['IUndoRedoService']),_0x486226(0x9,_0x2dfbef[_0x344682(0x21e)](_0x1ea6ac[_0x344682(0x2d3)])),_0x486226(0xa,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x1be)])),_0x486226(0xb,_0x2dfbef[_0x344682(0x21e)](_0xb65244)),_0x486226(0xc,_0x2dfbef[_0x344682(0x4a5)](_0x23ff37))],_0x3b85a1['ConflictState']),_0x3b85a1[_0x344682(0x37b)]=class extends _0x4aa594{constructor(_0x4d465,_0x5a593b,_0x4b1c4d,_0x48890b,_0x48650e,_0x131873,_0x29c589,_0x511d94,_0x4373de,_0x3145d6){var _0x240fcd=_0x344682;super(_0x4d465,_0x5a593b,_0x4b1c4d,_0x48890b,_0x48650e,_0x511d94,_0x4373de,_0x29c589,_0x3145d6),_0x1ca623(this,_0x240fcd(0x1e1),_0x240fcd(0x254)),this['_injector']=_0x131873;}[_0x344682(0x1b5)](_0x2078cf){var _0x561c03=_0x344682;return this[_0x561c03(0x38f)][_0x561c03(0x399)](_0x2078cf),this['_updateLocalCache'](),this;}[_0x344682(0x4d1)](_0x4149bb){var _0x4cbde1=_0x344682;throw new Error(_0x4cbde1(0x3a7));}['onRemoteAck'](){var _0x94583e=_0x344682;throw new Error(_0x94583e(0x1b9));}['onRemoteRej'](){var _0x3befde=_0x344682;throw new Error(_0x3befde(0x21b));}[_0x344682(0x4cf)](){return this;}['toggleOffline'](){return this;}[_0x344682(0x2a4)](){var _0x52c168=_0x344682;const {_injector:_0x4aeb0e,_pendingMutations:_0x306c31,_awaitingChangeset:_0x5d275e,unitID:_0x438e63,_handler:_0x36b715,type:_0x3ae2b9}=this,_0x57a180=_0x31a601(_0x4aeb0e,_0x438e63,_0x3ae2b9,_0x5d275e,_0x306c31,_0x36b715);return _0x57a180 instanceof _0x3b85a1[_0x52c168(0x26e)]?_0x57a180['_schedule']():(_0x57a180 instanceof _0x3b85a1['AwaitingWithPendingState']||_0x57a180 instanceof _0x3b85a1[_0x52c168(0x432)])&&_0x57a180[_0x52c168(0x331)](),_0x57a180;}['resend'](){var _0x5420eb=_0x344682;throw new Error(_0x5420eb(0x45e));}},_0x3b85a1[_0x344682(0x37b)]=_0x56bf13([_0x486226(0x5,_0x2dfbef['Inject'](_0x2dfbef['Injector'])),_0x486226(0x6,_0x2dfbef[_0x344682(0x21e)](_0x1ea6ac['RevisionService'])),_0x486226(0x7,_0x2dfbef[_0x344682(0x2f5)]),_0x486226(0x8,_0x2dfbef[_0x344682(0x3b8)]),_0x486226(0x9,_0x2dfbef[_0x344682(0x4a5)](_0x23ff37))],_0x3b85a1[_0x344682(0x37b)]),_0x3b85a1[_0x344682(0x422)]=class extends _0x4aa594{constructor(_0x41ada1,_0x4d5ffe,_0xa84c8e,_0x21515d,_0x4bb353,_0x963a52,_0x4c609c,_0xe16f7f,_0x6a2131,_0xfd3b84,_0x559e4b,_0x5e35ad,_0x24faf3,_0x3e6ac5){var _0x5c1644=_0x344682;super(_0x41ada1,_0x4d5ffe,_0xa84c8e,_0x21515d,_0x4c609c,_0x559e4b,_0x5e35ad,_0x6a2131,_0x3e6ac5),_0x1ca623(this,_0x5c1644(0x1e1),_0x5c1644(0x295)),(this[_0x5c1644(0x2db)]=_0x4bb353,this[_0x5c1644(0x488)]=_0x963a52,this[_0x5c1644(0x398)]=_0xe16f7f,this[_0x5c1644(0x42c)]=_0xfd3b84,this[_0x5c1644(0x437)]=_0x24faf3,this['localCacheService']=_0x3e6ac5);}[_0x344682(0x29c)](_0x38c1a4){var _0x9a31bb=_0x344682;try{const _0x4b0756=[..._0x38c1a4,...this[_0x9a31bb(0x488)]],_0x3997ec=[this[_0x9a31bb(0x351)]||this[_0x9a31bb(0x2db)]][_0x9a31bb(0x2b1)](_0x401cf8=>!!_0x401cf8);let _0x2d2530,_0x14efde;if(_0x3997ec[_0x9a31bb(0x285)]){const _0x2ac072=this[_0x9a31bb(0x437)][_0x9a31bb(0x2a7)](_0x4b0756,_0x3997ec,!0x1);if(!_0x1ea6ac[_0x9a31bb(0x4af)](_0x2ac072))throw _0x2ac072[_0x9a31bb(0x25e)];_0x2d2530=_0x2ac072['c1Prime'],_0x14efde=_0x2ac072['c2Prime'];}else _0x2d2530=_0x4b0756,_0x14efde=[];let _0x4bfbbc=this[_0x9a31bb(0x38f)];_0x2d2530[_0x9a31bb(0x4d9)](_0x4dd609=>{var _0x1c1caf=_0x9a31bb;let _0x5d9a2e;if(_0x4bfbbc[_0x1c1caf(0x285)]){const _0x489381=this[_0x1c1caf(0x437)][_0x1c1caf(0x452)](_0x4dd609,_0x4bfbbc);if(!_0x1ea6ac[_0x1c1caf(0x267)](_0x489381))throw _0x489381[_0x1c1caf(0x25e)];_0x5d9a2e=_0x489381[_0x1c1caf(0x2c1)],_0x4bfbbc=_0x489381[_0x1c1caf(0x442)];}else _0x5d9a2e=_0x4dd609;this[_0x1c1caf(0x47a)](_0x5d9a2e);}),this['_acknowledgedAwaitingChangeset']&&this[_0x9a31bb(0x189)](),this[_0x9a31bb(0x351)]&&_0x14efde[_0x9a31bb(0x285)]&&(_0x14efde[0x0][_0x9a31bb(0x447)]=this[_0x9a31bb(0x262)]());let _0x449032;if(this[_0x9a31bb(0x351)]&&_0x4bfbbc[_0x9a31bb(0x285)]!==0x0)_0x449032=this['_injector'][_0x9a31bb(0x480)](_0x3b85a1[_0x9a31bb(0x4ba)],this[_0x9a31bb(0x14d)],this[_0x9a31bb(0x45d)],_0x14efde[0x0],_0x4bfbbc,this[_0x9a31bb(0x428)],void 0x0);else{if(this[_0x9a31bb(0x351)]&&_0x4bfbbc['length']===0x0)_0x14efde[0x0][_0x9a31bb(0x447)]=this[_0x9a31bb(0x262)](),_0x449032=this[_0x9a31bb(0x398)][_0x9a31bb(0x480)](_0x3b85a1['AwaitingState'],this['unitID'],this['type'],_0x14efde[0x0],this[_0x9a31bb(0x428)]);else{if(_0x4bfbbc[_0x9a31bb(0x285)]!==0x0){const _0x1ab0f2=this[_0x9a31bb(0x398)][_0x9a31bb(0x480)](_0x3b85a1[_0x9a31bb(0x26e)],this[_0x9a31bb(0x14d)],this['type'],_0x4bfbbc,this[_0x9a31bb(0x428)]);_0x1ab0f2[_0x9a31bb(0x1f9)](),_0x449032=_0x1ab0f2;}else _0x449032=this['_injector'][_0x9a31bb(0x480)](_0x3b85a1[_0x9a31bb(0x2a3)],this[_0x9a31bb(0x14d)],this['type'],this[_0x9a31bb(0x428)]);}}return _0x449032[_0x9a31bb(0x368)](),_0x449032;}catch(_0x23b6d7){return this[_0x9a31bb(0x42c)]['error'](_0x9a31bb(0x24d),_0x9a31bb(0x311),_0x23b6d7),this['_injector'][_0x9a31bb(0x480)](_0x3b85a1[_0x9a31bb(0x2fc)],this[_0x9a31bb(0x14d)],this[_0x9a31bb(0x45d)],this['_awaitingChangeset'],this[_0x9a31bb(0x38f)],this['_handler'],!0x1);}}[_0x344682(0x331)](){var _0x2ab0c9=_0x344682;throw new Error(_0x2ab0c9(0x2b0));}['appendMutation'](_0x5a8a7d){var _0x3471b1=_0x344682;return this[_0x3471b1(0x38f)][_0x3471b1(0x399)](_0x5a8a7d),this;}[_0x344682(0x4d1)](_0xe63bf){var _0x38f9b6=_0x344682;return this[_0x38f9b6(0x488)][_0x38f9b6(0x399)](_0xe63bf),this;}[_0x344682(0x291)](_0x450eff){var _0x6cd761=_0x344682;if(this[_0x6cd761(0x351)])return this[_0x6cd761(0x2db)]=this[_0x6cd761(0x351)],this['_awaitingChangeset']=null,this;throw new Error(_0x6cd761(0x2ae));}['onRemoteRej'](_0x3b2966){var _0x5f19f0=_0x344682;return this[_0x5f19f0(0x320)](!!(_0x3b2966!=null&&_0x3b2966[_0x5f19f0(0x3e8)]));}[_0x344682(0x4cf)](){return this;}['toggleOffline'](){var _0xd9ca56=_0x344682;return this['_injector'][_0xd9ca56(0x480)](_0x3b85a1['OfflineState'],this[_0xd9ca56(0x14d)],this[_0xd9ca56(0x45d)],this[_0xd9ca56(0x351)],this['_pendingMutations'],this['_handler']);}[_0x344682(0x2a4)](){return this;}[_0x344682(0x320)](_0x571ffc){var _0x88c175=_0x344682;return this['_injector']['createInstance'](_0x3b85a1[_0x88c175(0x2fc)],this[_0x88c175(0x14d)],this[_0x88c175(0x45d)],this[_0x88c175(0x351)],this[_0x88c175(0x38f)],this['_handler'],_0x571ffc);}},_0x3b85a1[_0x344682(0x422)]=_0x56bf13([_0x486226(0x7,_0x2dfbef['Inject'](_0x2dfbef[_0x344682(0x2ee)])),_0x486226(0x8,_0x2dfbef[_0x344682(0x21e)](_0x1ea6ac['RevisionService'])),_0x486226(0x9,_0x2dfbef[_0x344682(0x362)]),_0x486226(0xa,_0x2dfbef['ICommandService']),_0x486226(0xb,_0x2dfbef[_0x344682(0x3b8)]),_0x486226(0xc,_0x1ea6ac[_0x344682(0x1fa)]),_0x486226(0xd,_0x2dfbef[_0x344682(0x4a5)](_0x23ff37))],_0x3b85a1[_0x344682(0x422)]);function _0x31a601(_0x340c17,_0x143732,_0x4e09a3,_0x19d4a1,_0x13a1e8,_0x275f88){var _0x7f30bf=_0x344682;return _0x19d4a1&&_0x13a1e8['length']?_0x340c17['createInstance'](_0x3b85a1[_0x7f30bf(0x4ba)],_0x143732,_0x4e09a3,_0x19d4a1,_0x13a1e8,_0x275f88,void 0x0):_0x19d4a1?_0x340c17['createInstance'](_0x3b85a1[_0x7f30bf(0x432)],_0x143732,_0x4e09a3,_0x19d4a1,_0x275f88):_0x13a1e8[_0x7f30bf(0x285)]?_0x340c17[_0x7f30bf(0x480)](_0x3b85a1[_0x7f30bf(0x26e)],_0x143732,_0x4e09a3,_0x13a1e8,_0x275f88):_0x340c17[_0x7f30bf(0x480)](_0x3b85a1[_0x7f30bf(0x2a3)],_0x143732,_0x4e09a3,_0x275f88);}var _0x3be8e8=Object[_0x344682(0x260)],_0x407a77=(_0x30a254,_0x4bede5,_0x2c9a2e,_0x2f177a)=>{var _0xf5596c=_0x344682;for(var _0x1cb470=_0x2f177a>0x1?void 0x0:_0x2f177a?_0x3be8e8(_0x4bede5,_0x2c9a2e):_0x4bede5,_0x3b23cf=_0x30a254[_0xf5596c(0x285)]-0x1,_0x5babf5;_0x3b23cf>=0x0;_0x3b23cf--)(_0x5babf5=_0x30a254[_0x3b23cf])&&(_0x1cb470=_0x5babf5(_0x1cb470)||_0x1cb470);return _0x1cb470;},_0x5ec58f=(_0x2caff9,_0x45c47a)=>(_0x33b529,_0x311bb0)=>_0x45c47a(_0x33b529,_0x311bb0,_0x2caff9);_0x3b85a1[_0x344682(0x3ab)]=class extends _0x2dfbef[_0x344682(0x336)]{constructor(_0x4809de,_0x31621e,_0x36d50b,_0x3b5404,_0x5a8fb4,_0x589274,_0x5ebb97,_0x1c7fcf,_0x16e51b,_0x639ee5,_0x46cc47,_0x1a005b,_0x588da3){var _0x434df=_0x344682;super(),_0x1ca623(this,_0x434df(0x449),new _0x273fc2[(_0x434df(0x26c))](null)),_0x1ca623(this,_0x434df(0x4dc),this[_0x434df(0x449)][_0x434df(0x4c5)]()),_0x1ca623(this,_0x434df(0x2e9)),_0x1ca623(this,_0x434df(0x3a3),!0x1),_0x1ca623(this,_0x434df(0x286),''),_0x1ca623(this,_0x434df(0x41f),0x0),_0x1ca623(this,_0x434df(0x185),this[_0x434df(0x4dc)][_0x434df(0x222)](_0x273fc2[_0x434df(0x33f)](_0x5c7598=>_0x5c7598?_0x5c7598[_0x434df(0x1e1)]:_0x388909['OFFLINE']),_0x273fc2[_0x434df(0x485)](0x1))),_0x1ca623(this,'_transitionLocked',!0x1),_0x1ca623(this,_0x434df(0x2c6),[]),(this[_0x434df(0x14d)]=_0x4809de,this['session']=_0x31621e,this[_0x434df(0x483)]=_0x36d50b,this['_injector']=_0x3b5404,this[_0x434df(0x3fd)]=_0x5a8fb4,this[_0x434df(0x30b)]=_0x589274,this[_0x434df(0x4d0)]=_0x5ebb97,this['_eventService']=_0x1c7fcf,this[_0x434df(0x42c)]=_0x16e51b,this[_0x434df(0x417)]=_0x639ee5,this[_0x434df(0x16c)]=_0x46cc47,this['_singleActiveUnitService']=_0x1a005b,this[_0x434df(0x2ba)]=_0x588da3);}get[_0x344682(0x430)](){var _0x651df6=_0x344682;return this[_0x651df6(0x2e9)];}async[_0x344682(0x464)](){var _0x3b7739=_0x344682;if(this[_0x3b7739(0x430)])throw new Error(_0x3b7739(0x48c));await this[_0x3b7739(0x41e)]();}[_0x344682(0x348)](){var _0x161031=_0x344682;return this['_collaborationPaused']=!0x0,_0x2dfbef[_0x161031(0x146)](()=>{var _0x5d99d2=_0x161031;this[_0x5d99d2(0x3a3)]=!0x1,this[_0x5d99d2(0x283)]();});}[_0x344682(0x424)](_0x8b887a){var _0x3ebd9a=_0x344682;this[_0x3ebd9a(0x3eb)](_0x8b887a);}['_updateState'](_0x39785e){var _0x51e036=_0x344682;this[_0x51e036(0x2e9)]=_0x39785e,this[_0x51e036(0x449)]['next'](_0x39785e);}async[_0x344682(0x41e)](){var _0x46c297=_0x344682,_0x3b53ac;this[_0x46c297(0x43e)](await this[_0x46c297(0x383)]()),this[_0x46c297(0x1c2)]&&((_0x3b53ac=this[_0x46c297(0x1c2)])==null||_0x3b53ac['editingUnit'](this[_0x46c297(0x14d)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x46c297(0x17e)](this['unitID'])['subscribe'](_0x1c0221=>{var _0x4bf015=_0x46c297;this[_0x4bf015(0x42c)][_0x4bf015(0x239)](_0x4bf015(0x15b),'editing\x20status\x20changed\x20to',_0x1c0221),_0x1c0221===_0x39bafb[_0x4bf015(0x24e)]?(this['_eventService'][_0x4bf015(0x25a)]({'id':_0x2a7689[_0x4bf015(0x466)]}),this[_0x4bf015(0x16c)][_0x4bf015(0x371)](new _0xb87b75[(_0x4bf015(0x2aa))](this[_0x4bf015(0x14d)])['id'],!0x1),this[_0x4bf015(0x16c)][_0x4bf015(0x344)](!0x1)):(this['_permissionService'][_0x4bf015(0x371)](new _0xb87b75[(_0x4bf015(0x2aa))](this[_0x4bf015(0x14d)])['id'],!0x0),this[_0x4bf015(0x16c)][_0x4bf015(0x344)](!0x0));})));let _0x734396=!0x1;return this[_0x46c297(0x25b)](this[_0x46c297(0x334)][_0x46c297(0x3dc)][_0x46c297(0x3fc)](_0x22e5b4=>{var _0x998e36=_0x46c297;_0x22e5b4===_0x5c3179[_0x998e36(0x157)]?this[_0x998e36(0x3b2)](_0x734396):_0x22e5b4===_0x5c3179['OFFLINE']&&(_0x734396=!0x0,this[_0x998e36(0x395)]());})),this[_0x46c297(0x25b)](this['session']['event$'][_0x46c297(0x3fc)](_0x96dc90=>{var _0x2febd0=_0x46c297;try{switch(_0x96dc90['eventID']){case _0x1ea6ac['CollaborationEvent'][_0x2febd0(0x1bb)]:{this[_0x2febd0(0x31f)](_0x1ea6ac[_0x2febd0(0x1cf)](_0x96dc90[_0x2febd0(0x40c)]));break;}case _0x1ea6ac[_0x2febd0(0x35a)]['CHANGESET_ACK']:{this[_0x2febd0(0x3b1)](_0x96dc90['data']);break;}case _0x1ea6ac[_0x2febd0(0x35a)][_0x2febd0(0x247)]:{this['_onRemoteRejected']();break;}case _0x1ea6ac[_0x2febd0(0x35a)][_0x2febd0(0x379)]:{this[_0x2febd0(0x438)](_0x96dc90['data']);break;}case _0x1ea6ac[_0x2febd0(0x35a)][_0x2febd0(0x36d)]:{this[_0x2febd0(0x203)](_0x96dc90[_0x2febd0(0x40c)]['changesets'][_0x2febd0(0x33f)](_0x5068e8=>_0x1ea6ac['parseProtocolChangeset'](_0x5068e8)));break;}case _0x1ea6ac[_0x2febd0(0x35a)][_0x2febd0(0x3be)]:{this[_0x2febd0(0x2e8)]({'isPermissionRej':!0x0});break;}case _0x1ea6ac[_0x2febd0(0x35a)]['UNISCRIPT_RUN']:break;}}catch(_0x108690){throw console[_0x2febd0(0x25e)](_0x2febd0(0x32b),_0x108690),_0x108690;}})),this[_0x46c297(0x2e9)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x344682(0x2f4)](){var _0x4436bf=_0x344682;if(this[_0x4436bf(0x316)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x4436bf(0x316)]=!0x0;}[_0x344682(0x3eb)](_0x2942e8){var _0x5b5085=_0x344682;this[_0x5b5085(0x2f4)](),this[_0x5b5085(0x43e)](this[_0x5b5085(0x2e9)]['appendMutation'](_0x2942e8)),this[_0x5b5085(0x38e)]();}[_0x344682(0x31f)](_0x3411c2){var _0x3db5c5=_0x344682;if(!(_0x3411c2[_0x3db5c5(0x3ba)]<=this['_revisionService'][_0x3db5c5(0x471)](this[_0x3db5c5(0x14d)]))){if(this[_0x3db5c5(0x3a3)]){this['_remoteChangesetQueue'][_0x3db5c5(0x399)](_0x3411c2);return;}this[_0x3db5c5(0x164)](_0x3411c2);}}[_0x344682(0x283)](){var _0x36eb82=_0x344682;this[_0x36eb82(0x2c6)]['forEach'](_0xa5a07=>this['_applyRemoteChangeset'](_0xa5a07)),this[_0x36eb82(0x2c6)]=[];}['_applyRemoteChangeset'](_0xf9750){var _0x4969af=_0x344682;const _0x20f75f=this[_0x4969af(0x3fd)]['interceptor'][_0x4969af(0x465)](this['_compressMutationService'][_0x4969af(0x354)][_0x4969af(0x1d6)]()[_0x4969af(0x165)])(_0xf9750['mutations'],null)||_0xf9750[_0x4969af(0x33d)],_0x5ad536={..._0xf9750,'mutations':_0x20f75f};this[_0x4969af(0x2f4)](),this[_0x4969af(0x43e)](this['_state'][_0x4969af(0x4d1)](_0x5ad536)),this[_0x4969af(0x38e)]();}[_0x344682(0x3b1)](_0x259b6e){var _0x89136e=_0x344682;this[_0x89136e(0x2f4)](),this['_updateState'](this[_0x89136e(0x2e9)][_0x89136e(0x291)](_0x259b6e)),this[_0x89136e(0x38e)]();}['_onRemoteRejected'](_0x387297){var _0x14c412=_0x344682;this['_lockTransition'](),this['_updateState'](this[_0x14c412(0x2e9)][_0x14c412(0x25d)](_0x387297)),this[_0x14c412(0x38e)]();}[_0x344682(0x438)](_0x478565){var _0x399fe6=_0x344682;this[_0x399fe6(0x2f4)](),this[_0x399fe6(0x43e)](this[_0x399fe6(0x2e9)][_0x399fe6(0x4cf)](_0x478565)),this[_0x399fe6(0x38e)]();}[_0x344682(0x203)](_0x369161){var _0x677a76=_0x344682;if(!(this[_0x677a76(0x2e9)]instanceof _0x3b85a1['FetchingMissState']))throw new TypeError(_0x677a76(0x3d4));const _0x2db76d=_0x369161[_0x677a76(0x33f)](_0x3c7470=>{var _0x9c3233=_0x677a76;const _0x388bfc=this[_0x9c3233(0x3fd)][_0x9c3233(0x354)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x9c3233(0x354)][_0x9c3233(0x1d6)]()[_0x9c3233(0x165)])(_0x3c7470[_0x9c3233(0x33d)],null)||_0x3c7470[_0x9c3233(0x33d)];return{..._0x3c7470,'mutations':_0x388bfc};});this[_0x677a76(0x2f4)](),this[_0x677a76(0x43e)](this[_0x677a76(0x2e9)][_0x677a76(0x29c)](_0x2db76d)),this[_0x677a76(0x38e)]();}['_toggleOffline'](){var _0x326c43=_0x344682;this['_lockTransition'](),this[_0x326c43(0x43e)](this[_0x326c43(0x2e9)]['toggleOffline']()),this[_0x326c43(0x38e)]();}[_0x344682(0x3b2)](_0x1782c9=!0x1){var _0x58489d=_0x344682;this[_0x58489d(0x2f4)](),this['_updateState'](this[_0x58489d(0x2e9)][_0x58489d(0x2a4)]()),this[_0x58489d(0x38e)]();const _0x3f1d18=this[_0x58489d(0x2e9)];_0x1782c9&&_0x3f1d18 instanceof _0x3b85a1['SyncedState']&&(this[_0x58489d(0x2f4)](),this[_0x58489d(0x43e)](_0x3f1d18[_0x58489d(0x312)]()),this[_0x58489d(0x38e)]());}async[_0x344682(0x383)](){return new Promise(_0x3a3b36=>{var _0x150111=_0x1cc8;this[_0x150111(0x334)][_0x150111(0x3dc)][_0x150111(0x222)](_0x273fc2[_0x150111(0x402)](0x1))[_0x150111(0x3fc)](async _0x2dd43d=>{var _0x29446b=_0x150111;_0x3a3b36(await this[_0x29446b(0x43b)](_0x2dd43d===_0x5c3179['ONLINE']));});});}[_0x344682(0x477)](){var _0x546c41=_0x344682;const _0x21a6cb=this[_0x546c41(0x14d)];return{'onStateChange':(_0x588794,_0x337d10)=>{var _0x1e034f=_0x546c41;if(_0x588794!==this[_0x1e034f(0x2e9)])throw new Error(_0x1e034f(0x2cb)+_0x588794[_0x1e034f(0x1e1)]+_0x1e034f(0x328)+_0x337d10[_0x1e034f(0x1e1)]+_0x1e034f(0x2ca)+this[_0x1e034f(0x2e9)][_0x1e034f(0x1e1)]);this[_0x1e034f(0x43e)](_0x337d10);},'onSendChangeset':_0x8cf699=>{var _0x17d520=_0x546c41;_0x8cf699[_0x17d520(0x27b)]||(_0x8cf699['sid']=this[_0x17d520(0x286)],_0x8cf699[_0x17d520(0x233)]=++this['_changesetReqId']);const _0x168249={'eventID':_0x1ea6ac[_0x17d520(0x35a)][_0x17d520(0x30e)],'data':{'unitID':_0x8cf699[_0x17d520(0x14d)],'unitType':this['_type'],'changeset':_0x8cf699,'memberID':this[_0x17d520(0x334)][_0x17d520(0x244)]()}};this[_0x17d520(0x334)][_0x17d520(0x2a6)](_0x168249,this[_0x17d520(0x14d)]);},'onMissingChangesets':({from:_0x331c9a,to:_0x383069})=>{var _0x3f3922=_0x546c41;this[_0x3f3922(0x42c)][_0x3f3922(0x239)](_0x3f3922(0x15b),'fetching\x20missing\x20changesets\x20from\x20'+_0x331c9a+'\x20to\x20'+_0x383069);const _0x2b3470={'eventID':_0x1ea6ac[_0x3f3922(0x35a)][_0x3f3922(0x457)],'data':{'unitID':_0x21a6cb,'unitType':this[_0x3f3922(0x483)],'from':_0x331c9a,'to':_0x383069}};this[_0x3f3922(0x334)][_0x3f3922(0x2a6)](_0x2b3470,this[_0x3f3922(0x14d)]);}};}async['_createInitialStateImpl'](_0xac8c69){var _0x9a312e=_0x344682,_0x3e5f8d,_0x5acab5,_0x4c096e;const _0x45ea1a=await((_0x3e5f8d=this['_localCacheService'])==null?void 0x0:_0x3e5f8d['loadOfflineData'](this['unitID'])),_0x68320b=(_0x5acab5=_0x45ea1a==null?void 0x0:_0x45ea1a[_0x9a312e(0x33d)])!=null?_0x5acab5:[],_0xa59656=(_0x4c096e=_0x45ea1a==null?void 0x0:_0x45ea1a[_0x9a312e(0x14c)])!=null?_0x4c096e:null,_0xc3895=!!(_0xa59656!=null&&_0xa59656[_0x9a312e(0x27b)])&&!!(_0xa59656!=null&&_0xa59656[_0x9a312e(0x233)]);this['_changesetSessionId']=_0xc3895?_0xa59656[_0x9a312e(0x27b)]:_0x366781(),this[_0x9a312e(0x41f)]=_0xc3895?_0xa59656[_0x9a312e(0x233)]:0x0;const _0x48048b=this[_0x9a312e(0x14d)];try{this['_replayCachedMutations'](_0xa59656,_0x68320b);}catch(_0x3aa976){this[_0x9a312e(0x42c)]['error'](_0x3aa976);}const _0x2523a5=this[_0x9a312e(0x477)]();if(_0xac8c69){const _0x36f89c=_0x31a601(this[_0x9a312e(0x398)],_0x48048b,this[_0x9a312e(0x483)],_0xa59656,_0x68320b,_0x2523a5);return _0x36f89c instanceof _0x3b85a1[_0x9a312e(0x26e)]?_0x36f89c['_schedule']():(_0x36f89c instanceof _0x3b85a1[_0x9a312e(0x4ba)]||_0x36f89c instanceof _0x3b85a1[_0x9a312e(0x432)])&&_0x36f89c[_0x9a312e(0x331)](),_0x36f89c;}return this[_0x9a312e(0x398)]['createInstance'](_0x3b85a1[_0x9a312e(0x37b)],_0x48048b,this[_0x9a312e(0x483)],_0xa59656,_0x68320b,_0x2523a5);}[_0x344682(0x293)](_0x12ffbd,_0x31c0c9){var _0xd4f5ba=_0x344682,_0x59bdfd,_0xaa59eb;const _0x127457=this[_0xd4f5ba(0x3fd)][_0xd4f5ba(0x354)][_0xd4f5ba(0x465)](this[_0xd4f5ba(0x3fd)]['interceptor'][_0xd4f5ba(0x1d6)]()['COMPRESS_MUTATION_APPLY']);(_0x59bdfd=_0x127457((_0x12ffbd==null?void 0x0:_0x12ffbd[_0xd4f5ba(0x33d)])||[],null))==null||_0x59bdfd[_0xd4f5ba(0x4d9)](_0x535039=>this[_0xd4f5ba(0x417)][_0xd4f5ba(0x2be)](_0x535039['id'],_0x535039['params'])),(_0xaa59eb=_0x127457(_0x31c0c9||[],null))==null||_0xaa59eb[_0xd4f5ba(0x4d9)](_0x4ec388=>this[_0xd4f5ba(0x417)]['executeCommand'](_0x4ec388['id'],_0x4ec388[_0xd4f5ba(0x1c5)]));}},_0x3b85a1[_0x344682(0x3ab)]=_0x407a77([_0x5ec58f(0x3,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x2ee)])),_0x5ec58f(0x4,_0x2dfbef[_0x344682(0x21e)](_0x1ea6ac[_0x344682(0x170)])),_0x5ec58f(0x5,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x1be)])),_0x5ec58f(0x6,_0x2dfbef[_0x344682(0x21e)](_0x1ea6ac[_0x344682(0x2d3)])),_0x5ec58f(0x7,_0x2dfbef[_0x344682(0x21e)](_0xb65244)),_0x5ec58f(0x8,_0x2dfbef[_0x344682(0x362)]),_0x5ec58f(0x9,_0x2dfbef[_0x344682(0x2f5)]),_0x5ec58f(0xa,_0x2dfbef[_0x344682(0x173)]),_0x5ec58f(0xb,_0x2dfbef[_0x344682(0x4a5)](_0x1ae35d)),_0x5ec58f(0xc,_0x2dfbef['Optional'](_0x23ff37))],_0x3b85a1[_0x344682(0x3ab)]),_0x3b85a1[_0x344682(0x421)]=class extends _0x3b85a1[_0x344682(0x3ab)]{constructor(_0x295b15,_0x1bdcae,_0xb7755e,_0x47fa81,_0x38a9c3,_0x5478ac,_0x32bfc0,_0x940e26,_0x17bf22,_0x350c04,_0x5915f6,_0x513a2c,_0x4fbecd){var _0x2b0166=_0x344682;super(_0x295b15,_0xb7755e,_0x1bdcae,_0x47fa81,_0x38a9c3,_0x5478ac,_0x32bfc0,_0x940e26,_0x17bf22,_0x350c04,_0x5915f6,_0x513a2c,_0x4fbecd),_0x1ca623(this,_0x2b0166(0x213),null),(this[_0x2b0166(0x14d)]=_0x295b15,this[_0x2b0166(0x45d)]=_0x1bdcae);}[_0x344682(0x297)](_0x3f0d6f){var _0xaaa4a5=_0x344682;this[_0xaaa4a5(0x213)]=_0x3f0d6f;}['dispose'](){var _0x2f395f=_0x344682;this['_handlerCallback']=null,super[_0x2f395f(0x448)]();}[_0x344682(0x477)](){var _0x191654=_0x344682;const _0x1755c4=super[_0x191654(0x477)]();return _0x1755c4[_0x191654(0x3db)]=_0x4641c0=>{var _0x65924e=_0x191654,_0x59f5c5,_0x14008a;return(_0x14008a=(_0x59f5c5=this[_0x65924e(0x213)])==null?void 0x0:_0x59f5c5[_0x65924e(0x3db)])==null?void 0x0:_0x14008a['call'](_0x59f5c5,_0x4641c0);},_0x1755c4[_0x191654(0x241)]=_0x28ff22=>{var _0x579d4b=_0x191654,_0x2c6701,_0x5657e5;return(_0x5657e5=(_0x2c6701=this[_0x579d4b(0x213)])==null?void 0x0:_0x2c6701[_0x579d4b(0x241)])==null?void 0x0:_0x5657e5[_0x579d4b(0x487)](_0x2c6701,_0x28ff22);},_0x1755c4['onTransformSelections']=_0x11e079=>{var _0x1933af=_0x191654,_0x464bf9,_0x19f708;return(_0x19f708=(_0x464bf9=this[_0x1933af(0x213)])==null?void 0x0:_0x464bf9[_0x1933af(0x1c9)])==null?void 0x0:_0x19f708[_0x1933af(0x487)](_0x464bf9,_0x11e079);},_0x1755c4[_0x191654(0x36e)]=_0x2aa06c=>{var _0x45ee8b=_0x191654,_0x411fe7,_0x227f57;return(_0x227f57=(_0x411fe7=this[_0x45ee8b(0x213)])==null?void 0x0:_0x411fe7[_0x45ee8b(0x36e)])==null?void 0x0:_0x227f57['call'](_0x411fe7,_0x2aa06c);},_0x1755c4[_0x191654(0x16a)]=_0x4fe2e4=>{var _0x521efd=_0x191654,_0x5725af,_0x286304,_0x4402b0;if(!((_0x5725af=this[_0x521efd(0x213)])!=null&&_0x5725af['onTransformRemoteChangesetByIMECache']))throw new Error(_0x521efd(0x419));return(_0x4402b0=(_0x286304=this[_0x521efd(0x213)])==null?void 0x0:_0x286304[_0x521efd(0x16a)])==null?void 0x0:_0x4402b0[_0x521efd(0x487)](_0x286304,_0x4fe2e4);},_0x1755c4[_0x191654(0x1da)]=_0x29d113=>{var _0x9a0899=_0x191654,_0x24141e,_0x253f6f,_0x58716a;if(!((_0x24141e=this[_0x9a0899(0x213)])!=null&&_0x24141e[_0x9a0899(0x1da)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x58716a=(_0x253f6f=this['_handlerCallback'])==null?void 0x0:_0x253f6f[_0x9a0899(0x1da)])==null?void 0x0:_0x58716a['call'](_0x253f6f,_0x29d113);},_0x1755c4;}async['_init'](){var _0x3f6219=_0x344682;const _0xb2f393=await super[_0x3f6219(0x41e)]();return this[_0x3f6219(0x25b)](this[_0x3f6219(0x417)][_0x3f6219(0x1d8)]((_0x18eb4c,_0x3f5efb)=>{var _0x349800=_0x3f6219;if(_0x18eb4c[_0x349800(0x45d)]!==_0x2dfbef['CommandType'][_0x349800(0x481)]||_0x3f5efb!=null&&_0x3f5efb[_0x349800(0x1cc)]||_0x3f5efb!=null&&_0x3f5efb[_0x349800(0x346)]||_0x18eb4c['id']===_0x3c2b98['RichTextEditingMutation']['id'])return;const _0x494934=_0x18eb4c[_0x349800(0x1c5)];if((_0x494934==null?void 0x0:_0x494934[_0x349800(0x1df)])!==this[_0x349800(0x14d)])return;const _0x12f2e6=_0x18eb4c,_0x54348b=this[_0x349800(0x3fd)][_0x349800(0x354)]['fetchThroughInterceptors'](this[_0x349800(0x3fd)]['interceptor'][_0x349800(0x1d6)]()[_0x349800(0x300)])([_0x12f2e6],null)||[_0x12f2e6];this[_0x349800(0x3eb)](_0x54348b[0x0]);})),_0xb2f393;}},_0x3b85a1[_0x344682(0x421)]=_0x407a77([_0x5ec58f(0x3,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef['Injector'])),_0x5ec58f(0x4,_0x2dfbef[_0x344682(0x21e)](_0x1ea6ac[_0x344682(0x170)])),_0x5ec58f(0x5,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x1be)])),_0x5ec58f(0x6,_0x2dfbef['Inject'](_0x1ea6ac[_0x344682(0x2d3)])),_0x5ec58f(0x7,_0x2dfbef[_0x344682(0x21e)](_0xb65244)),_0x5ec58f(0x8,_0x2dfbef[_0x344682(0x362)]),_0x5ec58f(0x9,_0x2dfbef['ICommandService']),_0x5ec58f(0xa,_0x2dfbef[_0x344682(0x173)]),_0x5ec58f(0xb,_0x2dfbef[_0x344682(0x4a5)](_0x1ae35d)),_0x5ec58f(0xc,_0x2dfbef[_0x344682(0x4a5)](_0x23ff37))],_0x3b85a1['DocCollaborationEntity']),_0x3b85a1[_0x344682(0x305)]=class extends _0x3b85a1['CollaborationEntity']{constructor(_0x314f82,_0x4d98a2,_0x575c50,_0x12a252,_0x1d080e,_0x329f1c,_0x2e2fb9,_0x57cdc1,_0x4ddff7,_0x3d1920,_0x245544,_0xf8ed33,_0x4c448f,_0x3b17f7){var _0x10c3ee=_0x344682;super(_0x314f82,_0x575c50,_0x4d98a2,_0x12a252,_0x1d080e,_0x329f1c,_0x2e2fb9,_0x4ddff7,_0x3d1920,_0x245544,_0xf8ed33,_0x4c448f,_0x3b17f7),this['unitID']=_0x314f82,this['type']=_0x4d98a2,this[_0x10c3ee(0x3ff)]=_0x57cdc1;}[_0x344682(0x477)](){var _0x77d9b3=_0x344682;const _0x55cba8=super[_0x77d9b3(0x477)]();return _0x55cba8[_0x77d9b3(0x1c9)]=_0xc4d557=>this['_sheetTransformSelectionsService'][_0x77d9b3(0x427)](_0xc4d557),_0x55cba8;}async[_0x344682(0x41e)](){var _0x289ccb=_0x344682;const _0x6f3479=await super['_init']();return this[_0x289ccb(0x25b)](this[_0x289ccb(0x417)]['onCommandExecuted']((_0x54fbf6,_0x4b2cf0)=>{var _0x4547d2=_0x289ccb;if(_0x54fbf6[_0x4547d2(0x45d)]!==_0x2dfbef[_0x4547d2(0x2a8)][_0x4547d2(0x481)]||_0x4b2cf0!=null&&_0x4b2cf0['fromCollab']||_0x4b2cf0!=null&&_0x4b2cf0[_0x4547d2(0x346)])return;const _0x555909=_0x54fbf6['params'];if((_0x555909==null?void 0x0:_0x555909['unitId'])!==this[_0x4547d2(0x14d)])return;const _0x4d14b8=_0x54fbf6,_0x306045=this[_0x4547d2(0x3fd)]['interceptor']['fetchThroughInterceptors'](this[_0x4547d2(0x3fd)][_0x4547d2(0x354)][_0x4547d2(0x1d6)]()[_0x4547d2(0x300)])([_0x4d14b8],null)||[_0x4d14b8];this[_0x4547d2(0x3eb)](_0x306045[0x0]);})),_0x6f3479;}},_0x3b85a1['SheetCollaborationEntity']=_0x407a77([_0x5ec58f(0x3,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x2ee)])),_0x5ec58f(0x4,_0x2dfbef[_0x344682(0x21e)](_0x1ea6ac[_0x344682(0x170)])),_0x5ec58f(0x5,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x1be)])),_0x5ec58f(0x6,_0x2dfbef['Inject'](_0x1ea6ac[_0x344682(0x2d3)])),_0x5ec58f(0x7,_0x2dfbef[_0x344682(0x21e)](_0x3b85a1[_0x344682(0x198)])),_0x5ec58f(0x8,_0x2dfbef[_0x344682(0x21e)](_0xb65244)),_0x5ec58f(0x9,_0x2dfbef['ILogService']),_0x5ec58f(0xa,_0x2dfbef['ICommandService']),_0x5ec58f(0xb,_0x2dfbef[_0x344682(0x173)]),_0x5ec58f(0xc,_0x2dfbef[_0x344682(0x4a5)](_0x1ae35d)),_0x5ec58f(0xd,_0x2dfbef[_0x344682(0x4a5)](_0x23ff37))],_0x3b85a1[_0x344682(0x305)]);var _0x30e9d2=Object[_0x344682(0x260)],_0x2e6bfb=(_0x39dfad,_0x144d43,_0xc9680e,_0x217a06)=>{for(var _0x46c854=_0x217a06>0x1?void 0x0:_0x217a06?_0x30e9d2(_0x144d43,_0xc9680e):_0x144d43,_0x423284=_0x39dfad['length']-0x1,_0x538c92;_0x423284>=0x0;_0x423284--)(_0x538c92=_0x39dfad[_0x423284])&&(_0x46c854=_0x538c92(_0x46c854)||_0x46c854);return _0x46c854;},_0x1fe9b3=(_0x15d582,_0x33778b)=>(_0x25ccb3,_0x30011d)=>_0x33778b(_0x25ccb3,_0x30011d,_0x15d582);_0x3b85a1['CollaborationController']=class extends _0x2dfbef['RxDisposable']{constructor(_0x12303f,_0xf0b6c5,_0x157a30){var _0x5c3ccc=_0x344682;super(),_0x1ca623(this,'_entities',new Map()),_0x1ca623(this,_0x5c3ccc(0x349),new _0x273fc2[(_0x5c3ccc(0x1c3))]()),_0x1ca623(this,_0x5c3ccc(0x2ea),this[_0x5c3ccc(0x349)][_0x5c3ccc(0x4c5)]()),(this[_0x5c3ccc(0x398)]=_0x12303f,this[_0x5c3ccc(0x391)]=_0xf0b6c5,this[_0x5c3ccc(0x384)]=_0x157a30,this[_0x5c3ccc(0x41e)]());}[_0x344682(0x448)](){var _0x42259c=_0x344682;super[_0x42259c(0x448)](),this['_entities'][_0x42259c(0x4d9)](_0x52ae61=>_0x52ae61[_0x42259c(0x448)]()),this[_0x42259c(0x39f)][_0x42259c(0x1f0)]();}[_0x344682(0x22a)](_0x246bd8){var _0x34a66f=_0x344682,_0x23f02c;return(_0x23f02c=this[_0x34a66f(0x39f)][_0x34a66f(0x2f2)](_0x246bd8))!=null?_0x23f02c:null;}[_0x344682(0x16d)](_0x11f56b){var _0xf97e69=_0x344682;const _0xe95092=this[_0xf97e69(0x22a)](_0x11f56b);return _0xe95092?_0x273fc2['of'](_0xe95092):this[_0xf97e69(0x349)][_0xf97e69(0x222)](_0xdc3409[_0xf97e69(0x2b1)](_0x5acfce=>_0x5acfce[_0xf97e69(0x14d)]===_0x11f56b));}[_0x344682(0x269)](_0x4482d8){var _0x215dbc=_0x344682;return _0x273fc2[_0x215dbc(0x191)](this[_0x215dbc(0x16d)](_0x4482d8)['pipe'](_0xdc3409[_0x215dbc(0x33f)](()=>{})));}[_0x344682(0x41e)](){var _0x2b1805=_0x344682;this[_0x2b1805(0x384)][_0x2b1805(0x2d7)](_0x2dfbef[_0x2b1805(0x235)][_0x2b1805(0x36c)])[_0x2b1805(0x222)](_0x273fc2[_0x2b1805(0x2e0)](this['dispose$']),_0xdc3409[_0x2b1805(0x339)](0x10))['subscribe'](async _0x122a18=>{var _0x1afdc6=_0x2b1805;const _0x42b9b0=_0x122a18['getUnitId'](),_0x2cdc7f=await this[_0x1afdc6(0x2d8)](_0x42b9b0,_0x2e0a6c[_0x1afdc6(0x36c)]);this[_0x1afdc6(0x39f)]['set'](_0x42b9b0,_0x2cdc7f);}),this[_0x2b1805(0x384)][_0x2b1805(0x2d7)](_0x2dfbef[_0x2b1805(0x235)][_0x2b1805(0x28b)])[_0x2b1805(0x222)](_0x273fc2[_0x2b1805(0x2e0)](this['dispose$']),_0xdc3409[_0x2b1805(0x339)](0x10))[_0x2b1805(0x222)](_0xdc3409[_0x2b1805(0x2b1)](_0x494a55=>!_0x494a55['getUnitId']()[_0x2b1805(0x1d5)]('__')))[_0x2b1805(0x3fc)](async _0x5d3265=>{var _0x3919f4=_0x2b1805;const _0x253af0=_0x5d3265[_0x3919f4(0x4b1)](),_0x157316=await this[_0x3919f4(0x2d8)](_0x253af0,_0x2e0a6c['UNIVER_DOC']);this[_0x3919f4(0x39f)][_0x3919f4(0x461)](_0x253af0,_0x157316);}),_0x273fc2[_0x2b1805(0x42d)](this[_0x2b1805(0x384)][_0x2b1805(0x201)](_0x2dfbef[_0x2b1805(0x235)][_0x2b1805(0x36c)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2dfbef[_0x2b1805(0x235)][_0x2b1805(0x28b)]))['pipe'](_0x273fc2[_0x2b1805(0x2e0)](this[_0x2b1805(0x3ae)]))['subscribe'](_0x739c22=>{var _0x5e3322=_0x2b1805;const _0x58c07b=_0x739c22[_0x5e3322(0x4b1)](),_0x1fed95=this[_0x5e3322(0x39f)][_0x5e3322(0x2f2)](_0x58c07b);_0x1fed95&&(_0x1fed95['dispose'](),this[_0x5e3322(0x39f)][_0x5e3322(0x23b)](_0x58c07b));});}async[_0x344682(0x2d8)](_0x1b517f,_0x9d090a){var _0x8f2b45=_0x344682;const _0x524844=await this[_0x8f2b45(0x391)][_0x8f2b45(0x19b)](_0x1b517f),_0x5d7900=this['_injector'][_0x8f2b45(0x480)](this[_0x8f2b45(0x268)](_0x9d090a),_0x1b517f,_0x9d090a,_0x524844);return await _0x5d7900['init'](),this[_0x8f2b45(0x349)][_0x8f2b45(0x20f)](_0x5d7900),_0x5d7900;}[_0x344682(0x268)](_0x1c6d05){var _0x55a585=_0x344682;switch(_0x1c6d05){case _0x2e0a6c[_0x55a585(0x28b)]:return _0x3b85a1['DocCollaborationEntity'];case _0x2e0a6c[_0x55a585(0x36c)]:return _0x3b85a1[_0x55a585(0x305)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1c6d05);}}},_0x3b85a1['CollaborationController']=_0x2e6bfb([_0x1fe9b3(0x0,_0x2dfbef['Inject'](_0x2dfbef[_0x344682(0x2ee)])),_0x1fe9b3(0x1,_0x2dfbef['Inject'](_0x3b85a1[_0x344682(0x176)])),_0x1fe9b3(0x2,_0x2dfbef[_0x344682(0x204)])],_0x3b85a1['CollaborationController']);var _0x504c1f=Object[_0x344682(0x260)],_0x1bf920=(_0x5b7728,_0xd5cce,_0x1c4ba1,_0x2e9e59)=>{for(var _0x5f1b6e=_0x2e9e59>0x1?void 0x0:_0x2e9e59?_0x504c1f(_0xd5cce,_0x1c4ba1):_0xd5cce,_0x520765=_0x5b7728['length']-0x1,_0x294ac8;_0x520765>=0x0;_0x520765--)(_0x294ac8=_0x5b7728[_0x520765])&&(_0x5f1b6e=_0x294ac8(_0x5f1b6e)||_0x5f1b6e);return _0x5f1b6e;},_0x391930=(_0x2b11b5,_0x1fbfb6)=>(_0x376e87,_0x2a7562)=>_0x1fbfb6(_0x376e87,_0x2a7562,_0x2b11b5);const _0x486b7d=_0x344682(0x45a),_0x225291=_0x344682(0x43c);let _0x18c4a9=class extends _0x2dfbef[_0x344682(0x3c5)]{constructor(_0x370028,_0x421fc9){var _0x31c988=_0x344682;super(),this[_0x31c988(0x384)]=_0x370028,this[_0x31c988(0x2d4)]=_0x421fc9,this[_0x31c988(0x41e)]();}[_0x344682(0x41e)](){var _0x37fa03=_0x344682;this[_0x37fa03(0x25b)](this[_0x37fa03(0x384)][_0x37fa03(0x48e)][_0x37fa03(0x3fc)](()=>{var _0x41740a=_0x37fa03,_0x18ad3b;const _0x189651=this[_0x41740a(0x384)][_0x41740a(0x1a1)]();let _0x29c74d=(_0x18ad3b=this[_0x41740a(0x2d4)][_0x41740a(0x1e2)](_0x486b7d))!=null?_0x18ad3b:_0x225291;_0x189651 instanceof _0x2dfbef[_0x41740a(0x2af)]&&(_0x29c74d=_0x189651[_0x41740a(0x3a0)]),document[_0x41740a(0x2ff)]=_0x29c74d;}));}};_0x18c4a9=_0x1bf920([_0x391930(0x0,_0x2dfbef['IUniverInstanceService']),_0x391930(0x1,_0x2dfbef[_0x344682(0x1d0)])],_0x18c4a9);var _0x519e29=Object['getOwnPropertyDescriptor'],_0x2d7653=(_0x43379f,_0x2be720,_0x5ea379,_0x10a9b1)=>{var _0x2baaba=_0x344682;for(var _0xbb41bf=_0x10a9b1>0x1?void 0x0:_0x10a9b1?_0x519e29(_0x2be720,_0x5ea379):_0x2be720,_0x21e4ba=_0x43379f[_0x2baaba(0x285)]-0x1,_0x803cc3;_0x21e4ba>=0x0;_0x21e4ba--)(_0x803cc3=_0x43379f[_0x21e4ba])&&(_0xbb41bf=_0x803cc3(_0xbb41bf)||_0xbb41bf);return _0xbb41bf;},_0x293c66=(_0x32ba55,_0x45c04b)=>(_0x2e96fb,_0x600d1b)=>_0x45c04b(_0x2e96fb,_0x600d1b,_0x32ba55);let _0x2b4086=class{constructor(_0x40a4a6,_0x43d76c,_0x70d251){var _0x3627d6=_0x344682;this[_0x3627d6(0x2d4)]=_0x40a4a6,this[_0x3627d6(0x347)]=_0x43d76c,this[_0x3627d6(0x205)]=_0x70d251,this[_0x3627d6(0x464)]();}[_0x344682(0x464)](){var _0x454316=_0x344682;this[_0x454316(0x347)][_0x454316(0x2b4)]({'priority':0x1,'interceptor':(_0x1ba62b,_0x38e8e2)=>_0x38e8e2(_0x1ba62b)[_0x454316(0x222)](_0x273fc2['concatMap'](async _0x49f3b8=>{var _0x4fa85e=_0x454316;const _0x7bf5a8=_0x49f3b8;if(_0x7bf5a8['status']===0x191){if(typeof window>'u')throw new Error(_0x4fa85e(0x45f));if(window['confirm'](this[_0x4fa85e(0x205)]['t'](_0x4fa85e(0x153)))){const _0x4479be=window['encodeURIComponent'](window['location'][_0x4fa85e(0x256)]);window['location'][_0x4fa85e(0x256)]=this[_0x4fa85e(0x420)]()+_0x4fa85e(0x35e)+_0x4479be;}}return _0x7bf5a8;}))});}[_0x344682(0x420)](){var _0x217504=_0x344682,_0x435399,_0x574631;const _0x184b9a=this[_0x217504(0x2d4)]['getConfig'](_0x42cbb7),_0x47d171=this[_0x217504(0x2d4)]['getConfig'](_0x354056);return(_0x574631=(_0x435399=_0x47d171==null?void 0x0:_0x47d171[_0x217504(0x252)])!=null?_0x435399:_0x184b9a)!=null?_0x574631:_0x3b2eee;}};_0x2b4086=_0x2d7653([_0x293c66(0x0,_0x2dfbef['IConfigService']),_0x293c66(0x1,_0x2dfbef[_0x344682(0x21e)](_0x372197['HTTPService'])),_0x293c66(0x2,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef['LocaleService']))],_0x2b4086);var _0x6f90c8=Object[_0x344682(0x260)],_0x3533a3=(_0x3c24c9,_0x54ea80,_0x35ab87,_0x1b0108)=>{var _0x3ee3f8=_0x344682;for(var _0x3a16e7=_0x1b0108>0x1?void 0x0:_0x1b0108?_0x6f90c8(_0x54ea80,_0x35ab87):_0x54ea80,_0x1b8e45=_0x3c24c9[_0x3ee3f8(0x285)]-0x1,_0x433ec3;_0x1b8e45>=0x0;_0x1b8e45--)(_0x433ec3=_0x3c24c9[_0x1b8e45])&&(_0x3a16e7=_0x433ec3(_0x3a16e7)||_0x3a16e7);return _0x3a16e7;},_0x38d687=(_0x2c1d98,_0x301ec5)=>(_0x329370,_0x3f63f5)=>_0x301ec5(_0x329370,_0x3f63f5,_0x2c1d98);const _0x53f286=_0x344682(0x265),_0x111aff='/universer-api/authz';_0x3b85a1[_0x344682(0x253)]=class extends _0x2dfbef['Disposable']{constructor(_0x508835,_0x29ec10){var _0x2af550=_0x344682;super(),this['_HTTPService']=_0x508835,this[_0x2af550(0x2d4)]=_0x29ec10,this[_0x2af550(0x4b6)]();}[_0x344682(0x4b6)](){var _0x22a290=_0x344682;const _0x12d5de=this;this['disposeWithMe'](this['_HTTPService'][_0x22a290(0x2b4)]({'priority':0x3e7,'interceptor':_0x372197[_0x22a290(0x2f9)]({'isMatch'(_0x7b7d3a){var _0x43b124=_0x22a290,_0x44a739;if(_0x7b7d3a[_0x43b124(0x4db)]===_0x43b124(0x474)&&((_0x44a739=_0x7b7d3a[_0x43b124(0x16b)])!=null&&_0x44a739['body'])){const {objectID:_0x31c79e,objectType:_0x466e24}=_0x7b7d3a['requestParams'][_0x43b124(0x355)]||{};if(!_0x31c79e||_0x466e24===void 0x0)return!0x1;const _0x3438a5=_0x12d5de['_getAPIPrefixPath']()+'/'+_0x466e24+_0x43b124(0x4c1)+_0x31c79e+'/allowed';if(_0x7b7d3a[_0x43b124(0x44c)]===_0x3438a5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4cb2eb){var _0x5737bf=_0x22a290,_0x485b32;return(_0x485b32=_0x4cb2eb[_0x5737bf(0x16b)])==null?void 0x0:_0x485b32[_0x5737bf(0x355)];},'mergeParamsToRequest'(_0x15f42d,_0x3c9780){var _0x8a3350=_0x22a290;const _0x21e9d9=_0x12d5de['_getAPIPrefixPath']()+_0x8a3350(0x163),_0x254fc2=_0x15f42d[_0x8a3350(0x3b5)]((_0x22ae04,_0x2ee9a4)=>{var _0x3b21d2=_0x8a3350;const {unitID:_0x1a6ff2,objectID:_0x355b95,objectType:_0x3cd097,actions:_0x151e1d}=_0x2ee9a4;return _0x22ae04[_0x1a6ff2]||(_0x22ae04[_0x1a6ff2]={}),_0x22ae04[_0x1a6ff2][_0x355b95]||(_0x22ae04[_0x1a6ff2][_0x355b95]={'objectID':_0x355b95,'objectType':_0x3cd097,'actions':[]}),_0x22ae04[_0x1a6ff2][_0x355b95][_0x3b21d2(0x238)][_0x3b21d2(0x399)](..._0x151e1d),_0x22ae04;},{}),_0x16a157=[];for(const _0x4f3593 in _0x254fc2)for(const _0x2195da in _0x254fc2[_0x4f3593]){const {actions:_0x35dd49,objectType:_0x12b340}=_0x254fc2[_0x4f3593][_0x2195da],_0x19487a=[...new Set(_0x35dd49)];_0x16a157[_0x8a3350(0x399)]({'unitID':_0x4f3593,'objectID':_0x2195da,'objectType':_0x12b340,'actions':_0x19487a});}return new _0x372197[(_0x8a3350(0x208))]('POST',_0x21e9d9,{'headers':_0x3c9780[_0x8a3350(0x389)],'withCredentials':_0x3c9780[_0x8a3350(0x4a7)],'responseType':_0x3c9780[_0x8a3350(0x179)],'body':{'requests':_0x16a157}});}},{'distributeResult'(_0x3ee921,_0x2062f0){var _0x4d442d=_0x22a290;const {objectActions:_0x50398a}=_0x3ee921;return _0x2062f0[_0x4d442d(0x33f)](_0x56a7f4=>{var _0x351786=_0x4d442d;const {unitID:_0x570f1c,objectID:_0x40dce4,actions:_0x675362}=_0x56a7f4,_0x5c9e29=_0x50398a[_0x351786(0x1c8)](_0x271dbc=>_0x271dbc[_0x351786(0x14d)]===_0x570f1c&&_0x271dbc[_0x351786(0x34f)]===_0x40dce4),_0x4e667f=_0x675362[_0x351786(0x33f)](_0x4d7ef8=>_0x5c9e29==null?void 0x0:_0x5c9e29['actions'][_0x351786(0x1c8)](_0x16a1d6=>_0x16a1d6[_0x351786(0x369)]===_0x4d7ef8))[_0x351786(0x2b1)](_0x21392f=>!!_0x21392f);return{'config':_0x56a7f4,'result':{'actions':_0x4e667f,'error':_0x3ee921[_0x351786(0x25e)]}};});}})}));}[_0x344682(0x4dd)](){var _0x3f78c2=_0x344682,_0x3373db,_0x3b256e;const _0x453c15=this[_0x3f78c2(0x2d4)][_0x3f78c2(0x1e2)](_0x53f286),_0x461095=this['_configService'][_0x3f78c2(0x1e2)](_0x354056);return(_0x3b256e=(_0x3373db=_0x461095==null?void 0x0:_0x461095['authzUrl'])!=null?_0x3373db:_0x453c15)!=null?_0x3b256e:_0x111aff;}async['create'](_0x1a0378){var _0x530cf5=_0x344682;const _0x557196=this[_0x530cf5(0x4dd)]()+'/'+_0x1a0378[_0x530cf5(0x315)]+_0x530cf5(0x2c9);return(await this[_0x530cf5(0x19a)][_0x530cf5(0x190)](_0x557196,{'body':_0x1a0378}))['body'][_0x530cf5(0x34f)]||'';}async[_0x344682(0x436)](_0xf97c39){var _0x14d5c2=_0x344682;const _0x3caa8c=this[_0x14d5c2(0x4dd)]()+_0x14d5c2(0x493);return(await this[_0x14d5c2(0x19a)][_0x14d5c2(0x190)](_0x3caa8c,{'body':_0xf97c39}))[_0x14d5c2(0x355)][_0x14d5c2(0x22b)];}async[_0x344682(0x342)](_0xf9eb34){var _0x3f1642=_0x344682,_0x6ad4dc,_0x1ed126;const _0x2dc441=this[_0x3f1642(0x4dd)]()+'/'+_0xf9eb34[_0x3f1642(0x315)]+_0x3f1642(0x4c1)+_0xf9eb34[_0x3f1642(0x34f)],_0x340d5e=await this['_HTTPService'][_0x3f1642(0x3e2)](_0x2dc441,{'body':_0xf9eb34});if(((_0x1ed126=(_0x6ad4dc=_0x340d5e==null?void 0x0:_0x340d5e[_0x3f1642(0x355)])==null?void 0x0:_0x6ad4dc[_0x3f1642(0x25e)])==null?void 0x0:_0x1ed126[_0x3f1642(0x258)])!==0x1)throw new Error(_0x3f1642(0x3f1));}async[_0x344682(0x3ef)](_0x4e14db){var _0x4f30bd=_0x344682;const _0x2591fb=this[_0x4f30bd(0x4dd)]()+'/'+_0x4e14db[_0x4f30bd(0x315)]+_0x4f30bd(0x4c1)+_0x4e14db['objectID']+_0x4f30bd(0x32e);return(await this[_0x4f30bd(0x19a)][_0x4f30bd(0x190)](_0x2591fb,{'body':_0x4e14db}))[_0x4f30bd(0x355)][_0x4f30bd(0x238)];}async[_0x344682(0x404)](_0x105e57){var _0x221e6c=_0x344682;const _0x39b93e=this[_0x221e6c(0x4dd)]()+_0x221e6c(0x163);return(await this[_0x221e6c(0x19a)][_0x221e6c(0x190)](_0x39b93e,{'body':{'requests':_0x105e57}}))['body'][_0x221e6c(0x3a2)];}async[_0x344682(0x4d4)](_0x50f9ad){var _0xeb555d=_0x344682;const _0x2c6bcb=this[_0xeb555d(0x4dd)]()+'/'+_0x50f9ad['objectType']+_0xeb555d(0x3c1),_0x3b2757=await this['_HTTPService'][_0xeb555d(0x190)](_0x2c6bcb,{'body':_0x50f9ad});return{'roles':_0x3b2757['body'][_0xeb555d(0x2b7)],'actions':_0x3b2757['body']['actions']};}async['deleteCollaborator'](_0x24edff){var _0xe94626=_0x344682;const _0x1e0e44=this[_0xe94626(0x4dd)]()+'/collaborator';await this[_0xe94626(0x19a)][_0xe94626(0x23b)](_0x1e0e44,{'params':{'collaboratorID':_0x24edff[_0xe94626(0x47e)],'objectID':_0x24edff['objectID'],'unitID':_0x24edff[_0xe94626(0x14d)]}});}async[_0x344682(0x37c)](_0x47c821){var _0x2500da=_0x344682;const _0x35aeef=this['_getAPIPrefixPath']()+_0x2500da(0x37f);await this[_0x2500da(0x19a)][_0x2500da(0x4a0)](_0x35aeef,{'body':_0x47c821});}async[_0x344682(0x317)](_0x39b396){var _0x4ca711=_0x344682;const _0x1220b5=this[_0x4ca711(0x4dd)]()+_0x4ca711(0x37f);await this['_HTTPService'][_0x4ca711(0x190)](_0x1220b5,{'body':_0x39b396});}async[_0x344682(0x3cc)](_0x50fce4){var _0x175a0b=_0x344682;const _0x444d93=this[_0x175a0b(0x4dd)]()+'/collaborator';return(await this[_0x175a0b(0x19a)][_0x175a0b(0x2f2)](_0x444d93,{'params':{'objectID':_0x50fce4[_0x175a0b(0x34f)],'unitID':_0x50fce4[_0x175a0b(0x14d)]}}))[_0x175a0b(0x355)][_0x175a0b(0x1ec)];}async[_0x344682(0x19c)](_0x2db8cd){var _0x618192=_0x344682;const _0x3e5fc4=this[_0x618192(0x4dd)]()+_0x618192(0x37f);await this[_0x618192(0x19a)][_0x618192(0x3e2)](_0x3e5fc4,{'body':_0x2db8cd});}},_0x3b85a1[_0x344682(0x253)]=_0x3533a3([_0x38d687(0x0,_0x2dfbef[_0x344682(0x21e)](_0x372197[_0x344682(0x22f)])),_0x38d687(0x1,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x1d0)]))],_0x3b85a1['AuthzIoHttpService']);var _0x16a38a=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x19f06e(_0x2f6466){var _0x5ad9eb=_0x344682;return _0x2f6466&&_0x2f6466[_0x5ad9eb(0x281)]&&Object[_0x5ad9eb(0x1dd)][_0x5ad9eb(0x4b2)][_0x5ad9eb(0x487)](_0x2f6466,_0x5ad9eb(0x3d7))?_0x2f6466['default']:_0x2f6466;}var _0x324468={'exports':{}};function _0x47da25(_0x4be8a6){var _0xa28257=_0x344682;throw new Error(_0xa28257(0x169)+_0x4be8a6+_0xa28257(0x4ac));}var _0x4b3b0c={'exports':{}},_0x520714=_0x4b3b0c[_0x344682(0x374)],_0x666419;function _0x2ebc96(){var _0xd63379=_0x344682;return _0x666419||(_0x666419=0x1,function(_0x93d58,_0x34b047){(function(_0x5bc925,_0x442a79){var _0x7f8b69=_0x1cc8;_0x93d58[_0x7f8b69(0x374)]=_0x442a79();}(_0x520714,function(){var _0x503fbd=_0x503fbd||function(_0x5173fa,_0x181a09){var _0x302960=_0x1cc8,_0x1ff37c;if(typeof window<'u'&&window[_0x302960(0x454)]&&(_0x1ff37c=window[_0x302960(0x454)]),typeof self<'u'&&self[_0x302960(0x454)]&&(_0x1ff37c=self['crypto']),typeof globalThis<'u'&&globalThis[_0x302960(0x454)]&&(_0x1ff37c=globalThis[_0x302960(0x454)]),!_0x1ff37c&&typeof window<'u'&&window[_0x302960(0x1d9)]&&(_0x1ff37c=window[_0x302960(0x1d9)]),!_0x1ff37c&&typeof _0x16a38a<'u'&&_0x16a38a['crypto']&&(_0x1ff37c=_0x16a38a['crypto']),!_0x1ff37c&&typeof _0x47da25==_0x302960(0x4bd))try{_0x1ff37c=require(_0x302960(0x454));}catch{}var _0x54a224=function(){var _0x2e4f92=_0x302960;if(_0x1ff37c){if(typeof _0x1ff37c['getRandomValues']==_0x2e4f92(0x4bd))try{return _0x1ff37c[_0x2e4f92(0x38a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1ff37c[_0x2e4f92(0x2bd)]==_0x2e4f92(0x4bd))try{return _0x1ff37c[_0x2e4f92(0x2bd)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x484fae=Object[_0x302960(0x214)]||(function(){function _0x292c4d(){}return function(_0x2ee223){var _0x4eb454=_0x1cc8,_0xe80cda;return _0x292c4d[_0x4eb454(0x1dd)]=_0x2ee223,_0xe80cda=new _0x292c4d(),_0x292c4d[_0x4eb454(0x1dd)]=null,_0xe80cda;};}()),_0x27e3b1={},_0x11aed4=_0x27e3b1[_0x302960(0x155)]={},_0x37adf1=_0x11aed4[_0x302960(0x24a)]=(function(){return{'extend':function(_0x4e5695){var _0x17d84e=_0x1cc8,_0x27f9c1=_0x484fae(this);return _0x4e5695&&_0x27f9c1[_0x17d84e(0x1ab)](_0x4e5695),(!_0x27f9c1[_0x17d84e(0x4b2)]('init')||this[_0x17d84e(0x464)]===_0x27f9c1[_0x17d84e(0x464)])&&(_0x27f9c1[_0x17d84e(0x464)]=function(){var _0x12c079=_0x17d84e;_0x27f9c1[_0x12c079(0x405)][_0x12c079(0x464)][_0x12c079(0x29b)](this,arguments);}),_0x27f9c1['init'][_0x17d84e(0x1dd)]=_0x27f9c1,_0x27f9c1[_0x17d84e(0x405)]=this,_0x27f9c1;},'create':function(){var _0x3d0bcb=_0x1cc8,_0x4d6983=this['extend']();return _0x4d6983['init'][_0x3d0bcb(0x29b)](_0x4d6983,arguments),_0x4d6983;},'init':function(){},'mixIn':function(_0x14cc86){var _0x4d007d=_0x1cc8;for(var _0xa46ee1 in _0x14cc86)_0x14cc86[_0x4d007d(0x4b2)](_0xa46ee1)&&(this[_0xa46ee1]=_0x14cc86[_0xa46ee1]);_0x14cc86[_0x4d007d(0x4b2)]('toString')&&(this['toString']=_0x14cc86['toString']);},'clone':function(){var _0x1f2d44=_0x1cc8;return this[_0x1f2d44(0x464)][_0x1f2d44(0x1dd)][_0x1f2d44(0x352)](this);}};}()),_0x366503=_0x11aed4[_0x302960(0x220)]=_0x37adf1[_0x302960(0x352)]({'init':function(_0x191f60,_0x281775){var _0xb10236=_0x302960;_0x191f60=this[_0xb10236(0x3ea)]=_0x191f60||[],_0x281775!=_0x181a09?this[_0xb10236(0x484)]=_0x281775:this[_0xb10236(0x484)]=_0x191f60[_0xb10236(0x285)]*0x4;},'toString':function(_0xffb594){var _0x28ad36=_0x302960;return(_0xffb594||_0x51d6ab)[_0x28ad36(0x3ac)](this);},'concat':function(_0x10ec8d){var _0x3f1465=_0x302960,_0x329cae=this[_0x3f1465(0x3ea)],_0x3bdc84=_0x10ec8d[_0x3f1465(0x3ea)],_0x1ec188=this[_0x3f1465(0x484)],_0x244cbb=_0x10ec8d[_0x3f1465(0x484)];if(this['clamp'](),_0x1ec188%0x4)for(var _0x48c35f=0x0;_0x48c35f<_0x244cbb;_0x48c35f++){var _0x37fccd=_0x3bdc84[_0x48c35f>>>0x2]>>>0x18-_0x48c35f%0x4*0x8&0xff;_0x329cae[_0x1ec188+_0x48c35f>>>0x2]|=_0x37fccd<<0x18-(_0x1ec188+_0x48c35f)%0x4*0x8;}else{for(var _0x1dbc0c=0x0;_0x1dbc0c<_0x244cbb;_0x1dbc0c+=0x4)_0x329cae[_0x1ec188+_0x1dbc0c>>>0x2]=_0x3bdc84[_0x1dbc0c>>>0x2];}return this[_0x3f1465(0x484)]+=_0x244cbb,this;},'clamp':function(){var _0xa005d4=_0x302960,_0x55229e=this[_0xa005d4(0x3ea)],_0x1366ea=this['sigBytes'];_0x55229e[_0x1366ea>>>0x2]&=0xffffffff<<0x20-_0x1366ea%0x4*0x8,_0x55229e[_0xa005d4(0x285)]=_0x5173fa[_0xa005d4(0x1bc)](_0x1366ea/0x4);},'clone':function(){var _0x1c963d=_0x302960,_0x29745b=_0x37adf1['clone'][_0x1c963d(0x487)](this);return _0x29745b[_0x1c963d(0x3ea)]=this[_0x1c963d(0x3ea)][_0x1c963d(0x273)](0x0),_0x29745b;},'random':function(_0x2f2226){var _0x52fb8b=_0x302960;for(var _0x268a7e=[],_0x4625b2=0x0;_0x4625b2<_0x2f2226;_0x4625b2+=0x4)_0x268a7e[_0x52fb8b(0x399)](_0x54a224());return new _0x366503[(_0x52fb8b(0x464))](_0x268a7e,_0x2f2226);}}),_0x3dd0a5=_0x27e3b1[_0x302960(0x2c5)]={},_0x51d6ab=_0x3dd0a5[_0x302960(0x3ce)]={'stringify':function(_0x4aafb3){var _0x1a4966=_0x302960;for(var _0xe910d2=_0x4aafb3['words'],_0x2fc0bb=_0x4aafb3[_0x1a4966(0x484)],_0x8e2746=[],_0x643881=0x0;_0x643881<_0x2fc0bb;_0x643881++){var _0x4f8b5e=_0xe910d2[_0x643881>>>0x2]>>>0x18-_0x643881%0x4*0x8&0xff;_0x8e2746['push']((_0x4f8b5e>>>0x4)[_0x1a4966(0x32a)](0x10)),_0x8e2746['push']((_0x4f8b5e&0xf)[_0x1a4966(0x32a)](0x10));}return _0x8e2746['join']('');},'parse':function(_0x4b3488){var _0x16f8e2=_0x302960;for(var _0x5bb2f7=_0x4b3488['length'],_0x5e4125=[],_0x365cac=0x0;_0x365cac<_0x5bb2f7;_0x365cac+=0x2)_0x5e4125[_0x365cac>>>0x3]|=parseInt(_0x4b3488[_0x16f8e2(0x276)](_0x365cac,0x2),0x10)<<0x18-_0x365cac%0x8*0x4;return new _0x366503[(_0x16f8e2(0x464))](_0x5e4125,_0x5bb2f7/0x2);}},_0x1cb003=_0x3dd0a5['Latin1']={'stringify':function(_0x3d3b85){var _0x32967b=_0x302960;for(var _0x121a55=_0x3d3b85[_0x32967b(0x3ea)],_0x51ab81=_0x3d3b85[_0x32967b(0x484)],_0x4eb642=[],_0x57f5c7=0x0;_0x57f5c7<_0x51ab81;_0x57f5c7++){var _0x47ce44=_0x121a55[_0x57f5c7>>>0x2]>>>0x18-_0x57f5c7%0x4*0x8&0xff;_0x4eb642[_0x32967b(0x399)](String[_0x32967b(0x439)](_0x47ce44));}return _0x4eb642[_0x32967b(0x356)]('');},'parse':function(_0x444d7e){var _0x26414a=_0x302960;for(var _0x50387b=_0x444d7e[_0x26414a(0x285)],_0x24e70d=[],_0x19089c=0x0;_0x19089c<_0x50387b;_0x19089c++)_0x24e70d[_0x19089c>>>0x2]|=(_0x444d7e[_0x26414a(0x15a)](_0x19089c)&0xff)<<0x18-_0x19089c%0x4*0x8;return new _0x366503[(_0x26414a(0x464))](_0x24e70d,_0x50387b);}},_0x341d84=_0x3dd0a5[_0x302960(0x396)]={'stringify':function(_0x5bb952){var _0x18109a=_0x302960;try{return decodeURIComponent(escape(_0x1cb003[_0x18109a(0x3ac)](_0x5bb952)));}catch{throw new Error(_0x18109a(0x382));}},'parse':function(_0x5c82e1){var _0x40b997=_0x302960;return _0x1cb003[_0x40b997(0x46b)](unescape(encodeURIComponent(_0x5c82e1)));}},_0x24b6aa=_0x11aed4['BufferedBlockAlgorithm']=_0x37adf1['extend']({'reset':function(){var _0xcbb8b3=_0x302960;this[_0xcbb8b3(0x31c)]=new _0x366503[(_0xcbb8b3(0x464))](),this[_0xcbb8b3(0x366)]=0x0;},'_append':function(_0x4d6898){var _0xfb4795=_0x302960;typeof _0x4d6898==_0xfb4795(0x34b)&&(_0x4d6898=_0x341d84[_0xfb4795(0x46b)](_0x4d6898)),this[_0xfb4795(0x31c)]['concat'](_0x4d6898),this[_0xfb4795(0x366)]+=_0x4d6898[_0xfb4795(0x484)];},'_process':function(_0x138893){var _0x3c91fb=_0x302960,_0x451882,_0x1730c9=this[_0x3c91fb(0x31c)],_0x1ebb69=_0x1730c9[_0x3c91fb(0x3ea)],_0x9924dd=_0x1730c9[_0x3c91fb(0x484)],_0x50f994=this[_0x3c91fb(0x1aa)],_0x44512d=_0x50f994*0x4,_0x316c5a=_0x9924dd/_0x44512d;_0x138893?_0x316c5a=_0x5173fa['ceil'](_0x316c5a):_0x316c5a=_0x5173fa[_0x3c91fb(0x364)]((_0x316c5a|0x0)-this[_0x3c91fb(0x365)],0x0);var _0x41fcb0=_0x316c5a*_0x50f994,_0x3171fc=_0x5173fa['min'](_0x41fcb0*0x4,_0x9924dd);if(_0x41fcb0){for(var _0x230e67=0x0;_0x230e67<_0x41fcb0;_0x230e67+=_0x50f994)this[_0x3c91fb(0x2eb)](_0x1ebb69,_0x230e67);_0x451882=_0x1ebb69['splice'](0x0,_0x41fcb0),_0x1730c9[_0x3c91fb(0x484)]-=_0x3171fc;}return new _0x366503[(_0x3c91fb(0x464))](_0x451882,_0x3171fc);},'clone':function(){var _0x25960e=_0x302960,_0x234ea5=_0x37adf1[_0x25960e(0x444)][_0x25960e(0x487)](this);return _0x234ea5['_data']=this[_0x25960e(0x31c)][_0x25960e(0x444)](),_0x234ea5;},'_minBufferSize':0x0});_0x11aed4['Hasher']=_0x24b6aa[_0x302960(0x352)]({'cfg':_0x37adf1[_0x302960(0x352)](),'init':function(_0x421d84){var _0x154a85=_0x302960;this[_0x154a85(0x429)]=this[_0x154a85(0x429)][_0x154a85(0x352)](_0x421d84),this[_0x154a85(0x41a)]();},'reset':function(){var _0x183497=_0x302960;_0x24b6aa[_0x183497(0x41a)][_0x183497(0x487)](this),this[_0x183497(0x341)]();},'update':function(_0x56ae6c){return this['_append'](_0x56ae6c),this['_process'](),this;},'finalize':function(_0x44e53d){var _0xbf1d78=_0x302960;_0x44e53d&&this['_append'](_0x44e53d);var _0x35f5e6=this[_0xbf1d78(0x167)]();return _0x35f5e6;},'blockSize':0x10,'_createHelper':function(_0x3a2917){return function(_0x2f0f62,_0x5ece5a){var _0x861730=_0x1cc8;return new _0x3a2917[(_0x861730(0x464))](_0x5ece5a)[_0x861730(0x147)](_0x2f0f62);};},'_createHmacHelper':function(_0x3f03e2){return function(_0x2c921d,_0x24719b){var _0x3658fa=_0x1cc8;return new _0x3f1cc0['HMAC'][(_0x3658fa(0x464))](_0x3f03e2,_0x24719b)[_0x3658fa(0x147)](_0x2c921d);};}});var _0x3f1cc0=_0x27e3b1[_0x302960(0x2e3)]={};return _0x27e3b1;}(Math);return _0x503fbd;}));}(_0x4b3b0c)),_0x4b3b0c[_0xd63379(0x374)];}var _0x12b9b3={'exports':{}},_0x495b31=_0x12b9b3[_0x344682(0x374)],_0x32b337;function _0x54299c(){var _0x5032fa=_0x344682;return _0x32b337||(_0x32b337=0x1,function(_0x1287bb,_0x2a41d2){(function(_0x35b6fc,_0x14d875){_0x1287bb['exports']=_0x14d875(_0x2ebc96());}(_0x495b31,function(_0x26887a){var _0x39d6d6=_0x1cc8;return(function(){var _0x2a4bc4=_0x1cc8,_0x545c1b=_0x26887a,_0x133d46=_0x545c1b[_0x2a4bc4(0x155)],_0x2d746e=_0x133d46[_0x2a4bc4(0x220)],_0x2133dc=_0x545c1b[_0x2a4bc4(0x2c5)];_0x2133dc[_0x2a4bc4(0x2ce)]={'stringify':function(_0x3abd27){var _0x567c80=_0x2a4bc4,_0x247d91=_0x3abd27['words'],_0x2bff44=_0x3abd27[_0x567c80(0x484)],_0x35c8c5=this[_0x567c80(0x46e)];_0x3abd27[_0x567c80(0x177)]();for(var _0x1f62cd=[],_0x2aace3=0x0;_0x2aace3<_0x2bff44;_0x2aace3+=0x3)for(var _0x4651bd=_0x247d91[_0x2aace3>>>0x2]>>>0x18-_0x2aace3%0x4*0x8&0xff,_0x31266b=_0x247d91[_0x2aace3+0x1>>>0x2]>>>0x18-(_0x2aace3+0x1)%0x4*0x8&0xff,_0x5c6092=_0x247d91[_0x2aace3+0x2>>>0x2]>>>0x18-(_0x2aace3+0x2)%0x4*0x8&0xff,_0x58b3c8=_0x4651bd<<0x10|_0x31266b<<0x8|_0x5c6092,_0x2e21dd=0x0;_0x2e21dd<0x4&&_0x2aace3+_0x2e21dd*0.75<_0x2bff44;_0x2e21dd++)_0x1f62cd['push'](_0x35c8c5[_0x567c80(0x2a0)](_0x58b3c8>>>0x6*(0x3-_0x2e21dd)&0x3f));var _0x1b1cfd=_0x35c8c5[_0x567c80(0x2a0)](0x40);if(_0x1b1cfd){for(;_0x1f62cd[_0x567c80(0x285)]%0x4;)_0x1f62cd[_0x567c80(0x399)](_0x1b1cfd);}return _0x1f62cd['join']('');},'parse':function(_0x493ecf){var _0x3f6bbc=_0x2a4bc4,_0x293e0f=_0x493ecf[_0x3f6bbc(0x285)],_0x7781ac=this[_0x3f6bbc(0x46e)],_0x32129d=this['_reverseMap'];if(!_0x32129d){_0x32129d=this[_0x3f6bbc(0x245)]=[];for(var _0x4812a5=0x0;_0x4812a5<_0x7781ac[_0x3f6bbc(0x285)];_0x4812a5++)_0x32129d[_0x7781ac['charCodeAt'](_0x4812a5)]=_0x4812a5;}var _0x50d091=_0x7781ac[_0x3f6bbc(0x2a0)](0x40);if(_0x50d091){var _0x307caf=_0x493ecf['indexOf'](_0x50d091);_0x307caf!==-0x1&&(_0x293e0f=_0x307caf);}return _0x112431(_0x493ecf,_0x293e0f,_0x32129d);},'_map':_0x2a4bc4(0x472)};function _0x112431(_0x3c8f80,_0x1141dc,_0x4b53f8){var _0x133b45=_0x2a4bc4;for(var _0x80839e=[],_0x2afa99=0x0,_0x1e77ee=0x0;_0x1e77ee<_0x1141dc;_0x1e77ee++)if(_0x1e77ee%0x4){var _0x506328=_0x4b53f8[_0x3c8f80[_0x133b45(0x15a)](_0x1e77ee-0x1)]<<_0x1e77ee%0x4*0x2,_0x59cb13=_0x4b53f8[_0x3c8f80[_0x133b45(0x15a)](_0x1e77ee)]>>>0x6-_0x1e77ee%0x4*0x2,_0x457b2e=_0x506328|_0x59cb13;_0x80839e[_0x2afa99>>>0x2]|=_0x457b2e<<0x18-_0x2afa99%0x4*0x8,_0x2afa99++;}return _0x2d746e['create'](_0x80839e,_0x2afa99);}}()),_0x26887a[_0x39d6d6(0x2c5)][_0x39d6d6(0x2ce)];}));}(_0x12b9b3)),_0x12b9b3[_0x5032fa(0x374)];}var _0x44ad5d={'exports':{}},_0x456406=_0x44ad5d[_0x344682(0x374)],_0x3b3e1a;function _0x18aa86(){var _0x1c7e79=_0x344682;return _0x3b3e1a||(_0x3b3e1a=0x1,function(_0x463025,_0x59fca0){(function(_0x410257,_0x406212){_0x463025['exports']=_0x406212(_0x2ebc96());}(_0x456406,function(_0x5c5e53){var _0x4f68a0=_0x1cc8;return function(_0x382841){var _0x393fd7=_0x1cc8,_0x4283b8=_0x5c5e53,_0x22451c=_0x4283b8[_0x393fd7(0x155)],_0x5ed4d0=_0x22451c['WordArray'],_0x2a5b1b=_0x22451c[_0x393fd7(0x289)],_0x47d192=_0x4283b8[_0x393fd7(0x2e3)],_0x2342f4=[];(function(){var _0x16dee9=_0x393fd7;for(var _0xf61007=0x0;_0xf61007<0x40;_0xf61007++)_0x2342f4[_0xf61007]=_0x382841[_0x16dee9(0x4c8)](_0x382841['sin'](_0xf61007+0x1))*0x100000000|0x0;}());var _0x26d960=_0x47d192[_0x393fd7(0x154)]=_0x2a5b1b[_0x393fd7(0x352)]({'_doReset':function(){var _0x19a220=_0x393fd7;this['_hash']=new _0x5ed4d0[(_0x19a220(0x464))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x16c771,_0x43cda8){var _0x1bb8f3=_0x393fd7;for(var _0x4ed260=0x0;_0x4ed260<0x10;_0x4ed260++){var _0x19eebd=_0x43cda8+_0x4ed260,_0x3d995c=_0x16c771[_0x19eebd];_0x16c771[_0x19eebd]=(_0x3d995c<<0x8|_0x3d995c>>>0x18)&0xff00ff|(_0x3d995c<<0x18|_0x3d995c>>>0x8)&0xff00ff00;}var _0x32b1b7=this[_0x1bb8f3(0x1ff)][_0x1bb8f3(0x3ea)],_0x2312a3=_0x16c771[_0x43cda8+0x0],_0x3eae8d=_0x16c771[_0x43cda8+0x1],_0x25eebc=_0x16c771[_0x43cda8+0x2],_0x462697=_0x16c771[_0x43cda8+0x3],_0x5ba41c=_0x16c771[_0x43cda8+0x4],_0x51eadf=_0x16c771[_0x43cda8+0x5],_0xddab51=_0x16c771[_0x43cda8+0x6],_0x4773fd=_0x16c771[_0x43cda8+0x7],_0x45921a=_0x16c771[_0x43cda8+0x8],_0x3cbd81=_0x16c771[_0x43cda8+0x9],_0x5f05a6=_0x16c771[_0x43cda8+0xa],_0x5d4413=_0x16c771[_0x43cda8+0xb],_0x1ec01d=_0x16c771[_0x43cda8+0xc],_0x130427=_0x16c771[_0x43cda8+0xd],_0x10f7a1=_0x16c771[_0x43cda8+0xe],_0x2f4a96=_0x16c771[_0x43cda8+0xf],_0x2e8caa=_0x32b1b7[0x0],_0xf644b7=_0x32b1b7[0x1],_0x5dcaac=_0x32b1b7[0x2],_0x11fbd1=_0x32b1b7[0x3];_0x2e8caa=_0x4132f6(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2312a3,0x7,_0x2342f4[0x0]),_0x11fbd1=_0x4132f6(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x3eae8d,0xc,_0x2342f4[0x1]),_0x5dcaac=_0x4132f6(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x25eebc,0x11,_0x2342f4[0x2]),_0xf644b7=_0x4132f6(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x462697,0x16,_0x2342f4[0x3]),_0x2e8caa=_0x4132f6(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x5ba41c,0x7,_0x2342f4[0x4]),_0x11fbd1=_0x4132f6(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x51eadf,0xc,_0x2342f4[0x5]),_0x5dcaac=_0x4132f6(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0xddab51,0x11,_0x2342f4[0x6]),_0xf644b7=_0x4132f6(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x4773fd,0x16,_0x2342f4[0x7]),_0x2e8caa=_0x4132f6(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x45921a,0x7,_0x2342f4[0x8]),_0x11fbd1=_0x4132f6(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x3cbd81,0xc,_0x2342f4[0x9]),_0x5dcaac=_0x4132f6(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5f05a6,0x11,_0x2342f4[0xa]),_0xf644b7=_0x4132f6(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x5d4413,0x16,_0x2342f4[0xb]),_0x2e8caa=_0x4132f6(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x1ec01d,0x7,_0x2342f4[0xc]),_0x11fbd1=_0x4132f6(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x130427,0xc,_0x2342f4[0xd]),_0x5dcaac=_0x4132f6(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x10f7a1,0x11,_0x2342f4[0xe]),_0xf644b7=_0x4132f6(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x2f4a96,0x16,_0x2342f4[0xf]),_0x2e8caa=_0x5a5969(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x3eae8d,0x5,_0x2342f4[0x10]),_0x11fbd1=_0x5a5969(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0xddab51,0x9,_0x2342f4[0x11]),_0x5dcaac=_0x5a5969(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5d4413,0xe,_0x2342f4[0x12]),_0xf644b7=_0x5a5969(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x2312a3,0x14,_0x2342f4[0x13]),_0x2e8caa=_0x5a5969(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x51eadf,0x5,_0x2342f4[0x14]),_0x11fbd1=_0x5a5969(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x5f05a6,0x9,_0x2342f4[0x15]),_0x5dcaac=_0x5a5969(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x2f4a96,0xe,_0x2342f4[0x16]),_0xf644b7=_0x5a5969(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x5ba41c,0x14,_0x2342f4[0x17]),_0x2e8caa=_0x5a5969(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x3cbd81,0x5,_0x2342f4[0x18]),_0x11fbd1=_0x5a5969(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x10f7a1,0x9,_0x2342f4[0x19]),_0x5dcaac=_0x5a5969(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x462697,0xe,_0x2342f4[0x1a]),_0xf644b7=_0x5a5969(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x45921a,0x14,_0x2342f4[0x1b]),_0x2e8caa=_0x5a5969(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x130427,0x5,_0x2342f4[0x1c]),_0x11fbd1=_0x5a5969(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x25eebc,0x9,_0x2342f4[0x1d]),_0x5dcaac=_0x5a5969(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x4773fd,0xe,_0x2342f4[0x1e]),_0xf644b7=_0x5a5969(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x1ec01d,0x14,_0x2342f4[0x1f]),_0x2e8caa=_0x12e275(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x51eadf,0x4,_0x2342f4[0x20]),_0x11fbd1=_0x12e275(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x45921a,0xb,_0x2342f4[0x21]),_0x5dcaac=_0x12e275(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5d4413,0x10,_0x2342f4[0x22]),_0xf644b7=_0x12e275(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x10f7a1,0x17,_0x2342f4[0x23]),_0x2e8caa=_0x12e275(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x3eae8d,0x4,_0x2342f4[0x24]),_0x11fbd1=_0x12e275(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x5ba41c,0xb,_0x2342f4[0x25]),_0x5dcaac=_0x12e275(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x4773fd,0x10,_0x2342f4[0x26]),_0xf644b7=_0x12e275(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x5f05a6,0x17,_0x2342f4[0x27]),_0x2e8caa=_0x12e275(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x130427,0x4,_0x2342f4[0x28]),_0x11fbd1=_0x12e275(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x2312a3,0xb,_0x2342f4[0x29]),_0x5dcaac=_0x12e275(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x462697,0x10,_0x2342f4[0x2a]),_0xf644b7=_0x12e275(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xddab51,0x17,_0x2342f4[0x2b]),_0x2e8caa=_0x12e275(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x3cbd81,0x4,_0x2342f4[0x2c]),_0x11fbd1=_0x12e275(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x1ec01d,0xb,_0x2342f4[0x2d]),_0x5dcaac=_0x12e275(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x2f4a96,0x10,_0x2342f4[0x2e]),_0xf644b7=_0x12e275(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x25eebc,0x17,_0x2342f4[0x2f]),_0x2e8caa=_0x216722(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2312a3,0x6,_0x2342f4[0x30]),_0x11fbd1=_0x216722(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x4773fd,0xa,_0x2342f4[0x31]),_0x5dcaac=_0x216722(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x10f7a1,0xf,_0x2342f4[0x32]),_0xf644b7=_0x216722(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x51eadf,0x15,_0x2342f4[0x33]),_0x2e8caa=_0x216722(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x1ec01d,0x6,_0x2342f4[0x34]),_0x11fbd1=_0x216722(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x462697,0xa,_0x2342f4[0x35]),_0x5dcaac=_0x216722(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5f05a6,0xf,_0x2342f4[0x36]),_0xf644b7=_0x216722(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x3eae8d,0x15,_0x2342f4[0x37]),_0x2e8caa=_0x216722(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x45921a,0x6,_0x2342f4[0x38]),_0x11fbd1=_0x216722(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x2f4a96,0xa,_0x2342f4[0x39]),_0x5dcaac=_0x216722(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0xddab51,0xf,_0x2342f4[0x3a]),_0xf644b7=_0x216722(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x130427,0x15,_0x2342f4[0x3b]),_0x2e8caa=_0x216722(_0x2e8caa,_0xf644b7,_0x5dcaac,_0x11fbd1,_0x5ba41c,0x6,_0x2342f4[0x3c]),_0x11fbd1=_0x216722(_0x11fbd1,_0x2e8caa,_0xf644b7,_0x5dcaac,_0x5d4413,0xa,_0x2342f4[0x3d]),_0x5dcaac=_0x216722(_0x5dcaac,_0x11fbd1,_0x2e8caa,_0xf644b7,_0x25eebc,0xf,_0x2342f4[0x3e]),_0xf644b7=_0x216722(_0xf644b7,_0x5dcaac,_0x11fbd1,_0x2e8caa,_0x3cbd81,0x15,_0x2342f4[0x3f]),_0x32b1b7[0x0]=_0x32b1b7[0x0]+_0x2e8caa|0x0,_0x32b1b7[0x1]=_0x32b1b7[0x1]+_0xf644b7|0x0,_0x32b1b7[0x2]=_0x32b1b7[0x2]+_0x5dcaac|0x0,_0x32b1b7[0x3]=_0x32b1b7[0x3]+_0x11fbd1|0x0;},'_doFinalize':function(){var _0x30f72a=_0x393fd7,_0x191009=this['_data'],_0x1e0f5d=_0x191009[_0x30f72a(0x3ea)],_0x56505c=this['_nDataBytes']*0x8,_0x35b494=_0x191009[_0x30f72a(0x484)]*0x8;_0x1e0f5d[_0x35b494>>>0x5]|=0x80<<0x18-_0x35b494%0x20;var _0x2514f9=_0x382841[_0x30f72a(0x41c)](_0x56505c/0x100000000),_0x40746c=_0x56505c;_0x1e0f5d[(_0x35b494+0x40>>>0x9<<0x4)+0xf]=(_0x2514f9<<0x8|_0x2514f9>>>0x18)&0xff00ff|(_0x2514f9<<0x18|_0x2514f9>>>0x8)&0xff00ff00,_0x1e0f5d[(_0x35b494+0x40>>>0x9<<0x4)+0xe]=(_0x40746c<<0x8|_0x40746c>>>0x18)&0xff00ff|(_0x40746c<<0x18|_0x40746c>>>0x8)&0xff00ff00,_0x191009[_0x30f72a(0x484)]=(_0x1e0f5d[_0x30f72a(0x285)]+0x1)*0x4,this[_0x30f72a(0x3d6)]();for(var _0x2bd7ab=this[_0x30f72a(0x1ff)],_0x3c13e4=_0x2bd7ab['words'],_0x51686c=0x0;_0x51686c<0x4;_0x51686c++){var _0x5259ea=_0x3c13e4[_0x51686c];_0x3c13e4[_0x51686c]=(_0x5259ea<<0x8|_0x5259ea>>>0x18)&0xff00ff|(_0x5259ea<<0x18|_0x5259ea>>>0x8)&0xff00ff00;}return _0x2bd7ab;},'clone':function(){var _0x28dbc0=_0x393fd7,_0x1cbd9e=_0x2a5b1b['clone'][_0x28dbc0(0x487)](this);return _0x1cbd9e[_0x28dbc0(0x1ff)]=this[_0x28dbc0(0x1ff)][_0x28dbc0(0x444)](),_0x1cbd9e;}});function _0x4132f6(_0x46cb90,_0x53791e,_0x567cb5,_0x144913,_0x481f7c,_0x3f72a3,_0x3585a4){var _0x153d26=_0x46cb90+(_0x53791e&_0x567cb5|~_0x53791e&_0x144913)+_0x481f7c+_0x3585a4;return(_0x153d26<<_0x3f72a3|_0x153d26>>>0x20-_0x3f72a3)+_0x53791e;}function _0x5a5969(_0x750736,_0x56c649,_0x14f67b,_0x1f61d5,_0x2fb642,_0x2076a9,_0x383250){var _0x4de7a4=_0x750736+(_0x56c649&_0x1f61d5|_0x14f67b&~_0x1f61d5)+_0x2fb642+_0x383250;return(_0x4de7a4<<_0x2076a9|_0x4de7a4>>>0x20-_0x2076a9)+_0x56c649;}function _0x12e275(_0x35de2e,_0x3fc568,_0x342576,_0x5a01f9,_0x3555a3,_0x51711d,_0x15e658){var _0x432e50=_0x35de2e+(_0x3fc568^_0x342576^_0x5a01f9)+_0x3555a3+_0x15e658;return(_0x432e50<<_0x51711d|_0x432e50>>>0x20-_0x51711d)+_0x3fc568;}function _0x216722(_0x10f108,_0x4b7024,_0x436256,_0x557bbd,_0x42bfd9,_0x21fd4e,_0x8e9051){var _0x49cd4f=_0x10f108+(_0x436256^(_0x4b7024|~_0x557bbd))+_0x42bfd9+_0x8e9051;return(_0x49cd4f<<_0x21fd4e|_0x49cd4f>>>0x20-_0x21fd4e)+_0x4b7024;}_0x4283b8['MD5']=_0x2a5b1b[_0x393fd7(0x194)](_0x26d960),_0x4283b8[_0x393fd7(0x1d7)]=_0x2a5b1b['_createHmacHelper'](_0x26d960);}(Math),_0x5c5e53[_0x4f68a0(0x154)];}));}(_0x44ad5d)),_0x44ad5d[_0x1c7e79(0x374)];}var _0x4116cd={'exports':{}},_0x2e1fbc={'exports':{}},_0xbc1162=_0x2e1fbc[_0x344682(0x374)],_0x5ee260;function _0x347da3(){var _0x389de6=_0x344682;return _0x5ee260||(_0x5ee260=0x1,function(_0x529642,_0x1f6de5){(function(_0x1c7a99,_0x2a7010){var _0x4da6f7=_0x1cc8;_0x529642[_0x4da6f7(0x374)]=_0x2a7010(_0x2ebc96());}(_0xbc1162,function(_0x1981d3){var _0x3e5e2b=_0x1cc8;return(function(){var _0x1008e3=_0x1cc8,_0x4c37ad=_0x1981d3,_0x239bba=_0x4c37ad[_0x1008e3(0x155)],_0x3eab52=_0x239bba[_0x1008e3(0x220)],_0x2ff58a=_0x239bba[_0x1008e3(0x289)],_0x483493=_0x4c37ad[_0x1008e3(0x2e3)],_0x2f4884=[],_0x14b0b7=_0x483493[_0x1008e3(0x22d)]=_0x2ff58a[_0x1008e3(0x352)]({'_doReset':function(){var _0x5a5ef3=_0x1008e3;this['_hash']=new _0x3eab52[(_0x5a5ef3(0x464))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x378c6e,_0x24baa1){var _0xfd429c=_0x1008e3;for(var _0x4117e9=this[_0xfd429c(0x1ff)]['words'],_0x352ecd=_0x4117e9[0x0],_0x2ea219=_0x4117e9[0x1],_0x5afd09=_0x4117e9[0x2],_0x195ec7=_0x4117e9[0x3],_0x23921d=_0x4117e9[0x4],_0x32734d=0x0;_0x32734d<0x50;_0x32734d++){if(_0x32734d<0x10)_0x2f4884[_0x32734d]=_0x378c6e[_0x24baa1+_0x32734d]|0x0;else{var _0x3eaaf3=_0x2f4884[_0x32734d-0x3]^_0x2f4884[_0x32734d-0x8]^_0x2f4884[_0x32734d-0xe]^_0x2f4884[_0x32734d-0x10];_0x2f4884[_0x32734d]=_0x3eaaf3<<0x1|_0x3eaaf3>>>0x1f;}var _0x281c8b=(_0x352ecd<<0x5|_0x352ecd>>>0x1b)+_0x23921d+_0x2f4884[_0x32734d];_0x32734d<0x14?_0x281c8b+=(_0x2ea219&_0x5afd09|~_0x2ea219&_0x195ec7)+0x5a827999:_0x32734d<0x28?_0x281c8b+=(_0x2ea219^_0x5afd09^_0x195ec7)+0x6ed9eba1:_0x32734d<0x3c?_0x281c8b+=(_0x2ea219&_0x5afd09|_0x2ea219&_0x195ec7|_0x5afd09&_0x195ec7)-0x70e44324:_0x281c8b+=(_0x2ea219^_0x5afd09^_0x195ec7)-0x359d3e2a,_0x23921d=_0x195ec7,_0x195ec7=_0x5afd09,_0x5afd09=_0x2ea219<<0x1e|_0x2ea219>>>0x2,_0x2ea219=_0x352ecd,_0x352ecd=_0x281c8b;}_0x4117e9[0x0]=_0x4117e9[0x0]+_0x352ecd|0x0,_0x4117e9[0x1]=_0x4117e9[0x1]+_0x2ea219|0x0,_0x4117e9[0x2]=_0x4117e9[0x2]+_0x5afd09|0x0,_0x4117e9[0x3]=_0x4117e9[0x3]+_0x195ec7|0x0,_0x4117e9[0x4]=_0x4117e9[0x4]+_0x23921d|0x0;},'_doFinalize':function(){var _0x5198ca=_0x1008e3,_0x3dea2a=this[_0x5198ca(0x31c)],_0x3efcb0=_0x3dea2a['words'],_0x233337=this[_0x5198ca(0x366)]*0x8,_0x3b98eb=_0x3dea2a[_0x5198ca(0x484)]*0x8;return _0x3efcb0[_0x3b98eb>>>0x5]|=0x80<<0x18-_0x3b98eb%0x20,_0x3efcb0[(_0x3b98eb+0x40>>>0x9<<0x4)+0xe]=Math[_0x5198ca(0x41c)](_0x233337/0x100000000),_0x3efcb0[(_0x3b98eb+0x40>>>0x9<<0x4)+0xf]=_0x233337,_0x3dea2a[_0x5198ca(0x484)]=_0x3efcb0[_0x5198ca(0x285)]*0x4,this[_0x5198ca(0x3d6)](),this[_0x5198ca(0x1ff)];},'clone':function(){var _0x4fef72=_0x1008e3,_0x1ee7ca=_0x2ff58a['clone'][_0x4fef72(0x487)](this);return _0x1ee7ca['_hash']=this[_0x4fef72(0x1ff)][_0x4fef72(0x444)](),_0x1ee7ca;}});_0x4c37ad['SHA1']=_0x2ff58a[_0x1008e3(0x194)](_0x14b0b7),_0x4c37ad[_0x1008e3(0x1a2)]=_0x2ff58a[_0x1008e3(0x3a6)](_0x14b0b7);}()),_0x1981d3[_0x3e5e2b(0x22d)];}));}(_0x2e1fbc)),_0x2e1fbc[_0x389de6(0x374)];}var _0x1715b0={'exports':{}},_0x20d8e6=_0x1715b0[_0x344682(0x374)],_0x2c40f2;function _0x416239(){return _0x2c40f2||(_0x2c40f2=0x1,function(_0x214451,_0x5baf55){(function(_0x3c4a9c,_0x43c031){var _0x20483e=_0x1cc8;_0x214451[_0x20483e(0x374)]=_0x43c031(_0x2ebc96());}(_0x20d8e6,function(_0x9091c0){(function(){var _0x35ba76=_0x1cc8,_0x4ee3a4=_0x9091c0,_0xd0c318=_0x4ee3a4['lib'],_0x2e4e2b=_0xd0c318[_0x35ba76(0x24a)],_0x3c8351=_0x4ee3a4[_0x35ba76(0x2c5)],_0x4e3d13=_0x3c8351[_0x35ba76(0x396)],_0x71bb60=_0x4ee3a4[_0x35ba76(0x2e3)];_0x71bb60['HMAC']=_0x2e4e2b[_0x35ba76(0x352)]({'init':function(_0x9ae714,_0xa09609){var _0x532469=_0x35ba76;_0x9ae714=this[_0x532469(0x2d6)]=new _0x9ae714[(_0x532469(0x464))](),typeof _0xa09609==_0x532469(0x34b)&&(_0xa09609=_0x4e3d13[_0x532469(0x46b)](_0xa09609));var _0xf40830=_0x9ae714['blockSize'],_0x5e945b=_0xf40830*0x4;_0xa09609[_0x532469(0x484)]>_0x5e945b&&(_0xa09609=_0x9ae714[_0x532469(0x147)](_0xa09609)),_0xa09609['clamp']();for(var _0x1cd5d3=this['_oKey']=_0xa09609[_0x532469(0x444)](),_0x11feb0=this[_0x532469(0x3e1)]=_0xa09609['clone'](),_0x27a2e0=_0x1cd5d3['words'],_0xb1a2e2=_0x11feb0['words'],_0x3a8088=0x0;_0x3a8088<_0xf40830;_0x3a8088++)_0x27a2e0[_0x3a8088]^=0x5c5c5c5c,_0xb1a2e2[_0x3a8088]^=0x36363636;_0x1cd5d3[_0x532469(0x484)]=_0x11feb0[_0x532469(0x484)]=_0x5e945b,this[_0x532469(0x41a)]();},'reset':function(){var _0x273565=_0x35ba76,_0x3b269e=this[_0x273565(0x2d6)];_0x3b269e[_0x273565(0x41a)](),_0x3b269e[_0x273565(0x342)](this[_0x273565(0x3e1)]);},'update':function(_0x356024){var _0x2d7a5c=_0x35ba76;return this[_0x2d7a5c(0x2d6)]['update'](_0x356024),this;},'finalize':function(_0xd37051){var _0x413d15=_0x35ba76,_0xc06dac=this['_hasher'],_0x2d3229=_0xc06dac[_0x413d15(0x147)](_0xd37051);_0xc06dac[_0x413d15(0x41a)]();var _0x5e846b=_0xc06dac['finalize'](this['_oKey'][_0x413d15(0x444)]()[_0x413d15(0x18f)](_0x2d3229));return _0x5e846b;}});}());}));}(_0x1715b0)),_0x1715b0['exports'];}var _0x4227df=_0x4116cd[_0x344682(0x374)],_0x2a819a;function _0x476e67(){var _0x4fc45f=_0x344682;return _0x2a819a||(_0x2a819a=0x1,function(_0x3429b0,_0x4a06af){(function(_0x317c9e,_0x2638fa,_0x49484f){var _0x131e3b=_0x1cc8;_0x3429b0[_0x131e3b(0x374)]=_0x2638fa(_0x2ebc96(),_0x347da3(),_0x416239());}(_0x4227df,function(_0x2f446f){var _0x4c75be=_0x1cc8;return(function(){var _0x5bd7a6=_0x1cc8,_0x19cbe0=_0x2f446f,_0x1b53d1=_0x19cbe0[_0x5bd7a6(0x155)],_0x138ff4=_0x1b53d1['Base'],_0x22facd=_0x1b53d1['WordArray'],_0x5de6fc=_0x19cbe0[_0x5bd7a6(0x2e3)],_0x8d8abc=_0x5de6fc[_0x5bd7a6(0x154)],_0xbe3b88=_0x5de6fc['EvpKDF']=_0x138ff4['extend']({'cfg':_0x138ff4[_0x5bd7a6(0x352)]({'keySize':0x80/0x20,'hasher':_0x8d8abc,'iterations':0x1}),'init':function(_0x4af6de){var _0x3e449e=_0x5bd7a6;this[_0x3e449e(0x429)]=this[_0x3e449e(0x429)][_0x3e449e(0x352)](_0x4af6de);},'compute':function(_0x12d945,_0x1fbd06){var _0x25b3eb=_0x5bd7a6;for(var _0x47787f,_0x3cdfcf=this['cfg'],_0x23059b=_0x3cdfcf[_0x25b3eb(0x2f1)][_0x25b3eb(0x214)](),_0x15457f=_0x22facd[_0x25b3eb(0x214)](),_0x167065=_0x15457f[_0x25b3eb(0x3ea)],_0x313464=_0x3cdfcf[_0x25b3eb(0x386)],_0x5107b7=_0x3cdfcf[_0x25b3eb(0x30a)];_0x167065['length']<_0x313464;){_0x47787f&&_0x23059b[_0x25b3eb(0x342)](_0x47787f),_0x47787f=_0x23059b[_0x25b3eb(0x342)](_0x12d945)[_0x25b3eb(0x147)](_0x1fbd06),_0x23059b[_0x25b3eb(0x41a)]();for(var _0x5d789f=0x1;_0x5d789f<_0x5107b7;_0x5d789f++)_0x47787f=_0x23059b[_0x25b3eb(0x147)](_0x47787f),_0x23059b[_0x25b3eb(0x41a)]();_0x15457f[_0x25b3eb(0x18f)](_0x47787f);}return _0x15457f[_0x25b3eb(0x484)]=_0x313464*0x4,_0x15457f;}});_0x19cbe0[_0x5bd7a6(0x2f7)]=function(_0x4748ef,_0x314d3d,_0x40dcaf){var _0x86bce2=_0x5bd7a6;return _0xbe3b88[_0x86bce2(0x214)](_0x40dcaf)[_0x86bce2(0x4ad)](_0x4748ef,_0x314d3d);};}()),_0x2f446f[_0x4c75be(0x2f7)];}));}(_0x4116cd)),_0x4116cd[_0x4fc45f(0x374)];}var _0x255f1d={'exports':{}},_0x2605ca=_0x255f1d[_0x344682(0x374)],_0x1dd877;function _0x5e0f4f(){return _0x1dd877||(_0x1dd877=0x1,function(_0x3062b5,_0x4b8772){(function(_0x3c3f57,_0x5f45c3,_0x2ed737){_0x3062b5['exports']=_0x5f45c3(_0x2ebc96(),_0x476e67());}(_0x2605ca,function(_0x5d36a9){var _0xb3321e=_0x1cc8;_0x5d36a9[_0xb3321e(0x155)][_0xb3321e(0x24f)]||function(_0x4a45e6){var _0x56b6f1=_0xb3321e,_0x531e33=_0x5d36a9,_0xa52237=_0x531e33[_0x56b6f1(0x155)],_0x355a5e=_0xa52237[_0x56b6f1(0x24a)],_0x115476=_0xa52237[_0x56b6f1(0x220)],_0x45c4e0=_0xa52237[_0x56b6f1(0x161)],_0x2843aa=_0x531e33[_0x56b6f1(0x2c5)];_0x2843aa['Utf8'];var _0x3535d7=_0x2843aa[_0x56b6f1(0x2ce)],_0x5335f8=_0x531e33[_0x56b6f1(0x2e3)],_0xf03356=_0x5335f8[_0x56b6f1(0x2f7)],_0x4fd7f9=_0xa52237[_0x56b6f1(0x24f)]=_0x45c4e0[_0x56b6f1(0x352)]({'cfg':_0x355a5e[_0x56b6f1(0x352)](),'createEncryptor':function(_0x82e051,_0x88bc5f){var _0xdc8e4e=_0x56b6f1;return this[_0xdc8e4e(0x214)](this[_0xdc8e4e(0x18c)],_0x82e051,_0x88bc5f);},'createDecryptor':function(_0x7a0d27,_0x5d85bf){var _0x8de2fd=_0x56b6f1;return this[_0x8de2fd(0x214)](this[_0x8de2fd(0x38c)],_0x7a0d27,_0x5d85bf);},'init':function(_0x11887a,_0x4fecf3,_0x451575){var _0x528993=_0x56b6f1;this[_0x528993(0x429)]=this[_0x528993(0x429)]['extend'](_0x451575),this[_0x528993(0x340)]=_0x11887a,this[_0x528993(0x321)]=_0x4fecf3,this[_0x528993(0x41a)]();},'reset':function(){var _0x147456=_0x56b6f1;_0x45c4e0['reset'][_0x147456(0x487)](this),this[_0x147456(0x341)]();},'process':function(_0x39199b){var _0x1cc711=_0x56b6f1;return this[_0x1cc711(0x158)](_0x39199b),this['_process']();},'finalize':function(_0x2edcc7){var _0x34e840=_0x56b6f1;_0x2edcc7&&this['_append'](_0x2edcc7);var _0xac6180=this[_0x34e840(0x167)]();return _0xac6180;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x9ebfb3(_0x558d2f){var _0xb0e10e=_0x1cc8;return typeof _0x558d2f==_0xb0e10e(0x34b)?_0x1823f8:_0x4b89cb;}return function(_0x6fee78){return{'encrypt':function(_0x3fc4fc,_0x4c215d,_0x3b7204){var _0x5d1adf=_0x1cc8;return _0x9ebfb3(_0x4c215d)[_0x5d1adf(0x3bd)](_0x6fee78,_0x3fc4fc,_0x4c215d,_0x3b7204);},'decrypt':function(_0x3b7d2c,_0x39a30f,_0x5aabaf){return _0x9ebfb3(_0x39a30f)['decrypt'](_0x6fee78,_0x3b7d2c,_0x39a30f,_0x5aabaf);}};};}())});_0xa52237[_0x56b6f1(0x4da)]=_0x4fd7f9[_0x56b6f1(0x352)]({'_doFinalize':function(){var _0x5d897e=_0x56b6f1,_0xfeca5d=this[_0x5d897e(0x3d6)](!0x0);return _0xfeca5d;},'blockSize':0x1});var _0x36449e=_0x531e33['mode']={},_0x5b6a24=_0xa52237['BlockCipherMode']=_0x355a5e[_0x56b6f1(0x352)]({'createEncryptor':function(_0xca137d,_0x37501a){var _0x1fe311=_0x56b6f1;return this[_0x1fe311(0x3f0)]['create'](_0xca137d,_0x37501a);},'createDecryptor':function(_0x139d4d,_0x34bd71){var _0x29b59e=_0x56b6f1;return this[_0x29b59e(0x4de)]['create'](_0x139d4d,_0x34bd71);},'init':function(_0x44ea9e,_0x2668a3){var _0x2f9d8a=_0x56b6f1;this[_0x2f9d8a(0x27f)]=_0x44ea9e,this['_iv']=_0x2668a3;}}),_0x4b0978=_0x36449e[_0x56b6f1(0x3da)]=(function(){var _0x5a1208=_0x56b6f1,_0x2f7586=_0x5b6a24[_0x5a1208(0x352)]();_0x2f7586[_0x5a1208(0x3f0)]=_0x2f7586[_0x5a1208(0x352)]({'processBlock':function(_0x68da42,_0x131d36){var _0x594323=_0x5a1208,_0x914465=this[_0x594323(0x27f)],_0x5a53a2=_0x914465['blockSize'];_0x49d842['call'](this,_0x68da42,_0x131d36,_0x5a53a2),_0x914465[_0x594323(0x1ee)](_0x68da42,_0x131d36),this[_0x594323(0x410)]=_0x68da42['slice'](_0x131d36,_0x131d36+_0x5a53a2);}}),_0x2f7586[_0x5a1208(0x4de)]=_0x2f7586[_0x5a1208(0x352)]({'processBlock':function(_0x144ebc,_0x56609c){var _0x550c7d=_0x5a1208,_0xde1c2d=this[_0x550c7d(0x27f)],_0x4e9509=_0xde1c2d['blockSize'],_0x3fc07b=_0x144ebc[_0x550c7d(0x273)](_0x56609c,_0x56609c+_0x4e9509);_0xde1c2d[_0x550c7d(0x32f)](_0x144ebc,_0x56609c),_0x49d842[_0x550c7d(0x487)](this,_0x144ebc,_0x56609c,_0x4e9509),this[_0x550c7d(0x410)]=_0x3fc07b;}});function _0x49d842(_0x392f3c,_0x572ea6,_0x4aba94){var _0x23163e=_0x5a1208,_0x27c8d9,_0x4b0ea7=this[_0x23163e(0x172)];_0x4b0ea7?(_0x27c8d9=_0x4b0ea7,this[_0x23163e(0x172)]=_0x4a45e6):_0x27c8d9=this['_prevBlock'];for(var _0x582875=0x0;_0x582875<_0x4aba94;_0x582875++)_0x392f3c[_0x572ea6+_0x582875]^=_0x27c8d9[_0x582875];}return _0x2f7586;}()),_0x590403=_0x531e33[_0x56b6f1(0x1a9)]={},_0x65c497=_0x590403[_0x56b6f1(0x3c6)]={'pad':function(_0x437551,_0x822f22){var _0x28a07d=_0x56b6f1;for(var _0x2a88a4=_0x822f22*0x4,_0x2ebcd3=_0x2a88a4-_0x437551[_0x28a07d(0x484)]%_0x2a88a4,_0x1fef29=_0x2ebcd3<<0x18|_0x2ebcd3<<0x10|_0x2ebcd3<<0x8|_0x2ebcd3,_0x35c736=[],_0x48697c=0x0;_0x48697c<_0x2ebcd3;_0x48697c+=0x4)_0x35c736['push'](_0x1fef29);var _0x2197aa=_0x115476[_0x28a07d(0x214)](_0x35c736,_0x2ebcd3);_0x437551[_0x28a07d(0x18f)](_0x2197aa);},'unpad':function(_0xfd0df2){var _0x1dce01=_0x56b6f1,_0x12a597=_0xfd0df2[_0x1dce01(0x3ea)][_0xfd0df2[_0x1dce01(0x484)]-0x1>>>0x2]&0xff;_0xfd0df2[_0x1dce01(0x484)]-=_0x12a597;}};_0xa52237[_0x56b6f1(0x280)]=_0x4fd7f9[_0x56b6f1(0x352)]({'cfg':_0x4fd7f9[_0x56b6f1(0x429)]['extend']({'mode':_0x4b0978,'padding':_0x65c497}),'reset':function(){var _0x54822a=_0x56b6f1,_0x1cff02;_0x4fd7f9[_0x54822a(0x41a)][_0x54822a(0x487)](this);var _0x4c42c0=this[_0x54822a(0x429)],_0x21a0e9=_0x4c42c0['iv'],_0x217077=_0x4c42c0[_0x54822a(0x1e4)];this[_0x54822a(0x340)]==this[_0x54822a(0x18c)]?_0x1cff02=_0x217077[_0x54822a(0x1ed)]:(_0x1cff02=_0x217077[_0x54822a(0x4bf)],this[_0x54822a(0x365)]=0x1),this['_mode']&&this[_0x54822a(0x1b7)][_0x54822a(0x193)]==_0x1cff02?this[_0x54822a(0x1b7)][_0x54822a(0x464)](this,_0x21a0e9&&_0x21a0e9[_0x54822a(0x3ea)]):(this[_0x54822a(0x1b7)]=_0x1cff02['call'](_0x217077,this,_0x21a0e9&&_0x21a0e9[_0x54822a(0x3ea)]),this[_0x54822a(0x1b7)][_0x54822a(0x193)]=_0x1cff02);},'_doProcessBlock':function(_0x4ced8e,_0x109732){var _0x5baed2=_0x56b6f1;this[_0x5baed2(0x1b7)][_0x5baed2(0x39d)](_0x4ced8e,_0x109732);},'_doFinalize':function(){var _0x1dc58d=_0x56b6f1,_0x4ba717,_0x5b312f=this[_0x1dc58d(0x429)][_0x1dc58d(0x49c)];return this['_xformMode']==this[_0x1dc58d(0x18c)]?(_0x5b312f['pad'](this[_0x1dc58d(0x31c)],this[_0x1dc58d(0x1aa)]),_0x4ba717=this['_process'](!0x0)):(_0x4ba717=this['_process'](!0x0),_0x5b312f['unpad'](_0x4ba717)),_0x4ba717;},'blockSize':0x80/0x20});var _0x2cad8c=_0xa52237[_0x56b6f1(0x2d1)]=_0x355a5e['extend']({'init':function(_0x1f23ee){this['mixIn'](_0x1f23ee);},'toString':function(_0x3cccfd){return(_0x3cccfd||this['formatter'])['stringify'](this);}}),_0x246d61=_0x531e33['format']={},_0x471aff=_0x246d61[_0x56b6f1(0x21d)]={'stringify':function(_0x3a4012){var _0x4a45a4=_0x56b6f1,_0x1f0914,_0x23b0d2=_0x3a4012['ciphertext'],_0x2ab6e8=_0x3a4012[_0x4a45a4(0x3b4)];return _0x2ab6e8?_0x1f0914=_0x115476[_0x4a45a4(0x214)]([0x53616c74,0x65645f5f])[_0x4a45a4(0x18f)](_0x2ab6e8)['concat'](_0x23b0d2):_0x1f0914=_0x23b0d2,_0x1f0914['toString'](_0x3535d7);},'parse':function(_0x1544ea){var _0x27a625=_0x56b6f1,_0x4fb4f9,_0x57cfe2=_0x3535d7[_0x27a625(0x46b)](_0x1544ea),_0x3ed286=_0x57cfe2[_0x27a625(0x3ea)];return _0x3ed286[0x0]==0x53616c74&&_0x3ed286[0x1]==0x65645f5f&&(_0x4fb4f9=_0x115476[_0x27a625(0x214)](_0x3ed286[_0x27a625(0x273)](0x2,0x4)),_0x3ed286[_0x27a625(0x219)](0x0,0x4),_0x57cfe2['sigBytes']-=0x10),_0x2cad8c[_0x27a625(0x214)]({'ciphertext':_0x57cfe2,'salt':_0x4fb4f9});}},_0x4b89cb=_0xa52237[_0x56b6f1(0x1e3)]=_0x355a5e[_0x56b6f1(0x352)]({'cfg':_0x355a5e[_0x56b6f1(0x352)]({'format':_0x471aff}),'encrypt':function(_0x5bd288,_0x5d00de,_0x473508,_0x392a92){var _0x4f822a=_0x56b6f1;_0x392a92=this['cfg']['extend'](_0x392a92);var _0x212bc0=_0x5bd288[_0x4f822a(0x1ed)](_0x473508,_0x392a92),_0x5a9e9e=_0x212bc0[_0x4f822a(0x147)](_0x5d00de),_0x2ed276=_0x212bc0[_0x4f822a(0x429)];return _0x2cad8c[_0x4f822a(0x214)]({'ciphertext':_0x5a9e9e,'key':_0x473508,'iv':_0x2ed276['iv'],'algorithm':_0x5bd288,'mode':_0x2ed276[_0x4f822a(0x1e4)],'padding':_0x2ed276[_0x4f822a(0x49c)],'blockSize':_0x5bd288[_0x4f822a(0x1aa)],'formatter':_0x392a92[_0x4f822a(0x27d)]});},'decrypt':function(_0x267302,_0x1d7b8e,_0x340783,_0xd5ebbd){var _0x12f576=_0x56b6f1;_0xd5ebbd=this[_0x12f576(0x429)][_0x12f576(0x352)](_0xd5ebbd),_0x1d7b8e=this['_parse'](_0x1d7b8e,_0xd5ebbd['format']);var _0x2b4aa1=_0x267302[_0x12f576(0x4bf)](_0x340783,_0xd5ebbd)[_0x12f576(0x147)](_0x1d7b8e[_0x12f576(0x3a9)]);return _0x2b4aa1;},'_parse':function(_0x3274a4,_0x39661c){var _0x2759c5=_0x56b6f1;return typeof _0x3274a4==_0x2759c5(0x34b)?_0x39661c[_0x2759c5(0x46b)](_0x3274a4,this):_0x3274a4;}}),_0x457056=_0x531e33[_0x56b6f1(0x162)]={},_0x1cb616=_0x457056['OpenSSL']={'execute':function(_0x42cdc4,_0x4d9f49,_0x5e45e9,_0x2e4ba1,_0x236917){var _0x1f5e2b=_0x56b6f1;if(_0x2e4ba1||(_0x2e4ba1=_0x115476[_0x1f5e2b(0x42f)](0x40/0x8)),_0x236917)var _0x4c0d09=_0xf03356[_0x1f5e2b(0x214)]({'keySize':_0x4d9f49+_0x5e45e9,'hasher':_0x236917})[_0x1f5e2b(0x4ad)](_0x42cdc4,_0x2e4ba1);else var _0x4c0d09=_0xf03356[_0x1f5e2b(0x214)]({'keySize':_0x4d9f49+_0x5e45e9})[_0x1f5e2b(0x4ad)](_0x42cdc4,_0x2e4ba1);var _0x4f016e=_0x115476['create'](_0x4c0d09[_0x1f5e2b(0x3ea)]['slice'](_0x4d9f49),_0x5e45e9*0x4);return _0x4c0d09['sigBytes']=_0x4d9f49*0x4,_0x2cad8c[_0x1f5e2b(0x214)]({'key':_0x4c0d09,'iv':_0x4f016e,'salt':_0x2e4ba1});}},_0x1823f8=_0xa52237[_0x56b6f1(0x490)]=_0x4b89cb[_0x56b6f1(0x352)]({'cfg':_0x4b89cb[_0x56b6f1(0x429)][_0x56b6f1(0x352)]({'kdf':_0x1cb616}),'encrypt':function(_0x175cc6,_0x33534c,_0x43543d,_0x4e1020){var _0x3deaec=_0x56b6f1;_0x4e1020=this['cfg']['extend'](_0x4e1020);var _0xd6b010=_0x4e1020['kdf'][_0x3deaec(0x4a2)](_0x43543d,_0x175cc6[_0x3deaec(0x386)],_0x175cc6[_0x3deaec(0x2b6)],_0x4e1020[_0x3deaec(0x3b4)],_0x4e1020[_0x3deaec(0x2f1)]);_0x4e1020['iv']=_0xd6b010['iv'];var _0x5b46bb=_0x4b89cb['encrypt'][_0x3deaec(0x487)](this,_0x175cc6,_0x33534c,_0xd6b010['key'],_0x4e1020);return _0x5b46bb[_0x3deaec(0x1ab)](_0xd6b010),_0x5b46bb;},'decrypt':function(_0x25c4c7,_0x279cf6,_0x4984cc,_0x5047ed){var _0x25fa8e=_0x56b6f1;_0x5047ed=this[_0x25fa8e(0x429)][_0x25fa8e(0x352)](_0x5047ed),_0x279cf6=this[_0x25fa8e(0x251)](_0x279cf6,_0x5047ed[_0x25fa8e(0x27d)]);var _0x166863=_0x5047ed[_0x25fa8e(0x162)][_0x25fa8e(0x4a2)](_0x4984cc,_0x25c4c7[_0x25fa8e(0x386)],_0x25c4c7['ivSize'],_0x279cf6[_0x25fa8e(0x3b4)],_0x5047ed[_0x25fa8e(0x2f1)]);_0x5047ed['iv']=_0x166863['iv'];var _0x59b312=_0x4b89cb[_0x25fa8e(0x3f3)]['call'](this,_0x25c4c7,_0x279cf6,_0x166863[_0x25fa8e(0x2dc)],_0x5047ed);return _0x59b312;}});}();}));}(_0x255f1d)),_0x255f1d['exports'];}var _0x52755d=_0x324468[_0x344682(0x374)],_0x41b757;function _0x391944(){return _0x41b757||(_0x41b757=0x1,function(_0x4a08d5,_0x47eeaf){(function(_0x3f3e29,_0x1e779a,_0x3ebfbe){var _0x3b7ef9=_0x1cc8;_0x4a08d5[_0x3b7ef9(0x374)]=_0x1e779a(_0x2ebc96(),_0x54299c(),_0x18aa86(),_0x476e67(),_0x5e0f4f());}(_0x52755d,function(_0x1c6cfd){var _0x5d15d3=_0x1cc8;return(function(){var _0x637044=_0x1cc8,_0x5cef63=_0x1c6cfd,_0x1ef504=_0x5cef63[_0x637044(0x155)],_0x56edea=_0x1ef504[_0x637044(0x280)],_0x2a0964=_0x5cef63[_0x637044(0x2e3)],_0x5695af=[],_0x1b8b7b=[],_0x499cbb=[],_0x3be35a=[],_0x3ff086=[],_0x34d7f2=[],_0x50abe3=[],_0x47cafa=[],_0x23922b=[],_0x3039c4=[];(function(){for(var _0x413287=[],_0x5c0a5a=0x0;_0x5c0a5a<0x100;_0x5c0a5a++)_0x5c0a5a<0x80?_0x413287[_0x5c0a5a]=_0x5c0a5a<<0x1:_0x413287[_0x5c0a5a]=_0x5c0a5a<<0x1^0x11b;for(var _0x4ba1c4=0x0,_0xcbc512=0x0,_0x5c0a5a=0x0;_0x5c0a5a<0x100;_0x5c0a5a++){var _0x2eef6b=_0xcbc512^_0xcbc512<<0x1^_0xcbc512<<0x2^_0xcbc512<<0x3^_0xcbc512<<0x4;_0x2eef6b=_0x2eef6b>>>0x8^_0x2eef6b&0xff^0x63,_0x5695af[_0x4ba1c4]=_0x2eef6b,_0x1b8b7b[_0x2eef6b]=_0x4ba1c4;var _0x3d8149=_0x413287[_0x4ba1c4],_0x4b20b0=_0x413287[_0x3d8149],_0x4fe771=_0x413287[_0x4b20b0],_0xfb74f5=_0x413287[_0x2eef6b]*0x101^_0x2eef6b*0x1010100;_0x499cbb[_0x4ba1c4]=_0xfb74f5<<0x18|_0xfb74f5>>>0x8,_0x3be35a[_0x4ba1c4]=_0xfb74f5<<0x10|_0xfb74f5>>>0x10,_0x3ff086[_0x4ba1c4]=_0xfb74f5<<0x8|_0xfb74f5>>>0x18,_0x34d7f2[_0x4ba1c4]=_0xfb74f5;var _0xfb74f5=_0x4fe771*0x1010101^_0x4b20b0*0x10001^_0x3d8149*0x101^_0x4ba1c4*0x1010100;_0x50abe3[_0x2eef6b]=_0xfb74f5<<0x18|_0xfb74f5>>>0x8,_0x47cafa[_0x2eef6b]=_0xfb74f5<<0x10|_0xfb74f5>>>0x10,_0x23922b[_0x2eef6b]=_0xfb74f5<<0x8|_0xfb74f5>>>0x18,_0x3039c4[_0x2eef6b]=_0xfb74f5,_0x4ba1c4?(_0x4ba1c4=_0x3d8149^_0x413287[_0x413287[_0x413287[_0x4fe771^_0x3d8149]]],_0xcbc512^=_0x413287[_0x413287[_0xcbc512]]):_0x4ba1c4=_0xcbc512=0x1;}}());var _0x25be5f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4bbb4c=_0x2a0964[_0x637044(0x49f)]=_0x56edea['extend']({'_doReset':function(){var _0x193e7d=_0x637044,_0x5a4830;if(!(this[_0x193e7d(0x271)]&&this['_keyPriorReset']===this[_0x193e7d(0x321)])){for(var _0xe3f6ab=this['_keyPriorReset']=this[_0x193e7d(0x321)],_0x755b99=_0xe3f6ab[_0x193e7d(0x3ea)],_0x561af9=_0xe3f6ab['sigBytes']/0x4,_0x44368c=this[_0x193e7d(0x271)]=_0x561af9+0x6,_0x3bfaca=(_0x44368c+0x1)*0x4,_0x5547ad=this[_0x193e7d(0x18b)]=[],_0x172cc2=0x0;_0x172cc2<_0x3bfaca;_0x172cc2++)_0x172cc2<_0x561af9?_0x5547ad[_0x172cc2]=_0x755b99[_0x172cc2]:(_0x5a4830=_0x5547ad[_0x172cc2-0x1],_0x172cc2%_0x561af9?_0x561af9>0x6&&_0x172cc2%_0x561af9==0x4&&(_0x5a4830=_0x5695af[_0x5a4830>>>0x18]<<0x18|_0x5695af[_0x5a4830>>>0x10&0xff]<<0x10|_0x5695af[_0x5a4830>>>0x8&0xff]<<0x8|_0x5695af[_0x5a4830&0xff]):(_0x5a4830=_0x5a4830<<0x8|_0x5a4830>>>0x18,_0x5a4830=_0x5695af[_0x5a4830>>>0x18]<<0x18|_0x5695af[_0x5a4830>>>0x10&0xff]<<0x10|_0x5695af[_0x5a4830>>>0x8&0xff]<<0x8|_0x5695af[_0x5a4830&0xff],_0x5a4830^=_0x25be5f[_0x172cc2/_0x561af9|0x0]<<0x18),_0x5547ad[_0x172cc2]=_0x5547ad[_0x172cc2-_0x561af9]^_0x5a4830);for(var _0xbeafb9=this[_0x193e7d(0x263)]=[],_0xb13f3a=0x0;_0xb13f3a<_0x3bfaca;_0xb13f3a++){var _0x172cc2=_0x3bfaca-_0xb13f3a;if(_0xb13f3a%0x4)var _0x5a4830=_0x5547ad[_0x172cc2];else var _0x5a4830=_0x5547ad[_0x172cc2-0x4];_0xb13f3a<0x4||_0x172cc2<=0x4?_0xbeafb9[_0xb13f3a]=_0x5a4830:_0xbeafb9[_0xb13f3a]=_0x50abe3[_0x5695af[_0x5a4830>>>0x18]]^_0x47cafa[_0x5695af[_0x5a4830>>>0x10&0xff]]^_0x23922b[_0x5695af[_0x5a4830>>>0x8&0xff]]^_0x3039c4[_0x5695af[_0x5a4830&0xff]];}}},'encryptBlock':function(_0x1b3563,_0x5e9708){var _0x269a77=_0x637044;this['_doCryptBlock'](_0x1b3563,_0x5e9708,this[_0x269a77(0x18b)],_0x499cbb,_0x3be35a,_0x3ff086,_0x34d7f2,_0x5695af);},'decryptBlock':function(_0x164a70,_0xbf231){var _0x2bd9d4=_0x637044,_0xb64b02=_0x164a70[_0xbf231+0x1];_0x164a70[_0xbf231+0x1]=_0x164a70[_0xbf231+0x3],_0x164a70[_0xbf231+0x3]=_0xb64b02,this[_0x2bd9d4(0x39a)](_0x164a70,_0xbf231,this[_0x2bd9d4(0x263)],_0x50abe3,_0x47cafa,_0x23922b,_0x3039c4,_0x1b8b7b);var _0xb64b02=_0x164a70[_0xbf231+0x1];_0x164a70[_0xbf231+0x1]=_0x164a70[_0xbf231+0x3],_0x164a70[_0xbf231+0x3]=_0xb64b02;},'_doCryptBlock':function(_0x5b3439,_0x109701,_0x1cf205,_0x35d98e,_0x19b6d7,_0x213558,_0x55dfcc,_0x4b4122){var _0x3bb1ab=_0x637044;for(var _0x59b329=this[_0x3bb1ab(0x271)],_0x323bc1=_0x5b3439[_0x109701]^_0x1cf205[0x0],_0x7bc660=_0x5b3439[_0x109701+0x1]^_0x1cf205[0x1],_0x4fe1b8=_0x5b3439[_0x109701+0x2]^_0x1cf205[0x2],_0x20a457=_0x5b3439[_0x109701+0x3]^_0x1cf205[0x3],_0x4bc24a=0x4,_0x13d973=0x1;_0x13d973<_0x59b329;_0x13d973++){var _0x143242=_0x35d98e[_0x323bc1>>>0x18]^_0x19b6d7[_0x7bc660>>>0x10&0xff]^_0x213558[_0x4fe1b8>>>0x8&0xff]^_0x55dfcc[_0x20a457&0xff]^_0x1cf205[_0x4bc24a++],_0x302d14=_0x35d98e[_0x7bc660>>>0x18]^_0x19b6d7[_0x4fe1b8>>>0x10&0xff]^_0x213558[_0x20a457>>>0x8&0xff]^_0x55dfcc[_0x323bc1&0xff]^_0x1cf205[_0x4bc24a++],_0x321ca9=_0x35d98e[_0x4fe1b8>>>0x18]^_0x19b6d7[_0x20a457>>>0x10&0xff]^_0x213558[_0x323bc1>>>0x8&0xff]^_0x55dfcc[_0x7bc660&0xff]^_0x1cf205[_0x4bc24a++],_0x9ddbdc=_0x35d98e[_0x20a457>>>0x18]^_0x19b6d7[_0x323bc1>>>0x10&0xff]^_0x213558[_0x7bc660>>>0x8&0xff]^_0x55dfcc[_0x4fe1b8&0xff]^_0x1cf205[_0x4bc24a++];_0x323bc1=_0x143242,_0x7bc660=_0x302d14,_0x4fe1b8=_0x321ca9,_0x20a457=_0x9ddbdc;}var _0x143242=(_0x4b4122[_0x323bc1>>>0x18]<<0x18|_0x4b4122[_0x7bc660>>>0x10&0xff]<<0x10|_0x4b4122[_0x4fe1b8>>>0x8&0xff]<<0x8|_0x4b4122[_0x20a457&0xff])^_0x1cf205[_0x4bc24a++],_0x302d14=(_0x4b4122[_0x7bc660>>>0x18]<<0x18|_0x4b4122[_0x4fe1b8>>>0x10&0xff]<<0x10|_0x4b4122[_0x20a457>>>0x8&0xff]<<0x8|_0x4b4122[_0x323bc1&0xff])^_0x1cf205[_0x4bc24a++],_0x321ca9=(_0x4b4122[_0x4fe1b8>>>0x18]<<0x18|_0x4b4122[_0x20a457>>>0x10&0xff]<<0x10|_0x4b4122[_0x323bc1>>>0x8&0xff]<<0x8|_0x4b4122[_0x7bc660&0xff])^_0x1cf205[_0x4bc24a++],_0x9ddbdc=(_0x4b4122[_0x20a457>>>0x18]<<0x18|_0x4b4122[_0x323bc1>>>0x10&0xff]<<0x10|_0x4b4122[_0x7bc660>>>0x8&0xff]<<0x8|_0x4b4122[_0x4fe1b8&0xff])^_0x1cf205[_0x4bc24a++];_0x5b3439[_0x109701]=_0x143242,_0x5b3439[_0x109701+0x1]=_0x302d14,_0x5b3439[_0x109701+0x2]=_0x321ca9,_0x5b3439[_0x109701+0x3]=_0x9ddbdc;},'keySize':0x100/0x20});_0x5cef63[_0x637044(0x49f)]=_0x56edea[_0x637044(0x194)](_0x4bbb4c);}()),_0x1c6cfd[_0x5d15d3(0x49f)];}));}(_0x324468)),_0x324468['exports'];}var _0x45cef7=_0x391944();const _0x3fe159=_0x19f06e(_0x45cef7);var _0x4921a5=_0x54299c();const _0x24a354=_0x19f06e(_0x4921a5);var _0x172811={'exports':{}},_0x58ae38=_0x172811[_0x344682(0x374)],_0x5f6bfe;function _0x3a5e0e(){var _0x27e5ca=_0x344682;return _0x5f6bfe||(_0x5f6bfe=0x1,function(_0x5ec19d,_0x2a68eb){(function(_0x2b8170,_0x5b2b26){_0x5ec19d['exports']=_0x5b2b26(_0x2ebc96());}(_0x58ae38,function(_0x49254e){var _0x28e1a2=_0x1cc8;return _0x49254e['enc'][_0x28e1a2(0x396)];}));}(_0x172811)),_0x172811[_0x27e5ca(0x374)];}var _0xcc42a6=_0x3a5e0e();const _0x7f8a18=_0x19f06e(_0xcc42a6);var _0x3ed876={'exports':{}},_0x51f0a9=_0x3ed876[_0x344682(0x374)],_0x525e57;function _0x3184f7(){var _0x15fc21=_0x344682;return _0x525e57||(_0x525e57=0x1,function(_0x1a4855,_0x2f4742){(function(_0x21483d,_0x4f68c6){var _0x2eca46=_0x1cc8;_0x1a4855[_0x2eca46(0x374)]=_0x4f68c6(_0x2ebc96());}(_0x51f0a9,function(_0x4db679){var _0x533915=_0x1cc8;return(function(){var _0x16d6dc=_0x1cc8;if(typeof ArrayBuffer==_0x16d6dc(0x4bd)){var _0x62b4d4=_0x4db679,_0x21c88d=_0x62b4d4[_0x16d6dc(0x155)],_0x4a8d41=_0x21c88d[_0x16d6dc(0x220)],_0x297898=_0x4a8d41[_0x16d6dc(0x464)],_0x59f4fe=_0x4a8d41[_0x16d6dc(0x464)]=function(_0x1a5434){var _0x791304=_0x16d6dc;if(_0x1a5434 instanceof ArrayBuffer&&(_0x1a5434=new Uint8Array(_0x1a5434)),(_0x1a5434 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1a5434 instanceof Uint8ClampedArray||_0x1a5434 instanceof Int16Array||_0x1a5434 instanceof Uint16Array||_0x1a5434 instanceof Int32Array||_0x1a5434 instanceof Uint32Array||_0x1a5434 instanceof Float32Array||_0x1a5434 instanceof Float64Array)&&(_0x1a5434=new Uint8Array(_0x1a5434['buffer'],_0x1a5434[_0x791304(0x4c4)],_0x1a5434[_0x791304(0x3d3)])),_0x1a5434 instanceof Uint8Array){for(var _0x11b817=_0x1a5434[_0x791304(0x3d3)],_0x15b86a=[],_0x2f5163=0x0;_0x2f5163<_0x11b817;_0x2f5163++)_0x15b86a[_0x2f5163>>>0x2]|=_0x1a5434[_0x2f5163]<<0x18-_0x2f5163%0x4*0x8;_0x297898[_0x791304(0x487)](this,_0x15b86a,_0x11b817);}else _0x297898[_0x791304(0x29b)](this,arguments);};_0x59f4fe[_0x16d6dc(0x1dd)]=_0x4a8d41;}}()),_0x4db679[_0x533915(0x155)]['WordArray'];}));}(_0x3ed876)),_0x3ed876[_0x15fc21(0x374)];}var _0x438005=_0x3184f7();const _0x31609a=_0x19f06e(_0x438005);var _0x2d950b={'exports':{}},_0x12a350=_0x2d950b[_0x344682(0x374)],_0x53d301;function _0x50df7e(){var _0x9521e4=_0x344682;return _0x53d301||(_0x53d301=0x1,function(_0x1cacba,_0x427005){(function(_0x46e46b,_0x401a6d,_0x4985b7){var _0x4bd331=_0x1cc8;_0x1cacba[_0x4bd331(0x374)]=_0x401a6d(_0x2ebc96(),_0x5e0f4f());}(_0x12a350,function(_0x454729){var _0x574d2d=_0x1cc8;return _0x454729[_0x574d2d(0x1a9)][_0x574d2d(0x2dd)]={'pad':function(){},'unpad':function(){}},_0x454729[_0x574d2d(0x1a9)][_0x574d2d(0x2dd)];}));}(_0x2d950b)),_0x2d950b[_0x9521e4(0x374)];}var _0x2d7dda=_0x50df7e();const _0x25a486=_0x19f06e(_0x2d7dda);function _0x929c82(_0xdc9a2c,_0x1848bd){var _0x539b9e=_0x344682;const _0x1be469=_0x1848bd-_0xdc9a2c[_0x539b9e(0x285)]%_0x1848bd,_0x2a08d4=String[_0x539b9e(0x439)](_0x1be469)[_0x539b9e(0x2e2)](_0x1be469);return _0xdc9a2c+_0x2a08d4;}function _0x4250d2(_0x2419ef,_0x4a3ef2){var _0x1e6362=_0x344682;const _0x2acaa7=_0x31609a['random'](0x10),_0x26ee54=_0x929c82(_0x2419ef,0x10),_0x495170=_0x3fe159[_0x1e6362(0x3bd)](_0x7f8a18[_0x1e6362(0x46b)](_0x26ee54),_0x24a354[_0x1e6362(0x46b)](_0x4a3ef2),{'iv':_0x2acaa7,'padding':_0x25a486});return _0x2acaa7['concat'](_0x495170[_0x1e6362(0x3a9)])[_0x1e6362(0x32a)](_0x24a354);}function _0x338e72(){var _0x4073fe=_0x344682;const _0x47be20=_0x293117[_0x4073fe(0x1a7)]()[_0x4073fe(0x39e)];if(_0x47be20){const _0x41a157={'time':Math['floor'](Date[_0x4073fe(0x175)]()/0x3e8),'domain':location['hostname']};return _0x4250d2(JSON['stringify'](_0x41a157),_0x47be20);}}var _0x23b015=Object[_0x344682(0x260)],_0x2ecb29=(_0x53bc98,_0x444adb,_0x418b53,_0x2a961e)=>{var _0x2daa13=_0x344682;for(var _0x5c7cef=_0x2a961e>0x1?void 0x0:_0x2a961e?_0x23b015(_0x444adb,_0x418b53):_0x444adb,_0x2f8c5a=_0x53bc98[_0x2daa13(0x285)]-0x1,_0x3beec0;_0x2f8c5a>=0x0;_0x2f8c5a--)(_0x3beec0=_0x53bc98[_0x2f8c5a])&&(_0x5c7cef=_0x3beec0(_0x5c7cef)||_0x5c7cef);return _0x5c7cef;},_0x44b8f0=(_0xd1ed9e,_0x158deb)=>(_0x4650da,_0x5dbb8b)=>_0x158deb(_0x4650da,_0x5dbb8b,_0xd1ed9e);let _0x24edaf=class{constructor(_0x368504){this['_httpService']=_0x368504,this['_initRequestHeader']();}[_0x344682(0x43d)](){var _0x2bf9b3=_0x344682;this[_0x2bf9b3(0x347)][_0x2bf9b3(0x2b4)]({'interceptor':(_0x4142c0,_0x4381ed)=>{var _0xf29dde=_0x2bf9b3;const _0x329ebc=_0x4142c0[_0xf29dde(0x389)],_0x558ce3=_0x338e72();return _0x558ce3&&_0x329ebc[_0xf29dde(0x461)]('x-univer-host',_0x558ce3),_0x4381ed(_0x4142c0);}});}};_0x24edaf=_0x2ecb29([_0x44b8f0(0x0,_0x2dfbef[_0x344682(0x21e)](_0x372197[_0x344682(0x22f)]))],_0x24edaf);var _0x2f6560=Object[_0x344682(0x260)],_0x8e1bb4=(_0x6f18d2,_0x4a4f49,_0x37ae22,_0x1743ba)=>{var _0x481901=_0x344682;for(var _0x4d0270=_0x1743ba>0x1?void 0x0:_0x1743ba?_0x2f6560(_0x4a4f49,_0x37ae22):_0x4a4f49,_0x5e84f5=_0x6f18d2[_0x481901(0x285)]-0x1,_0x506689;_0x5e84f5>=0x0;_0x5e84f5--)(_0x506689=_0x6f18d2[_0x5e84f5])&&(_0x4d0270=_0x506689(_0x4d0270)||_0x4d0270);return _0x4d0270;},_0x5a1027=(_0x12ee24,_0x4b1e0f)=>(_0x6287af,_0x133c96)=>_0x4b1e0f(_0x6287af,_0x133c96,_0x12ee24);_0x3b85a1[_0x344682(0x3e5)]=class extends _0x2dfbef['RxDisposable']{constructor(_0x2e97e5,_0x44c17f,_0x1abfc4){var _0x523986=_0x344682;super(),_0x1ca623(this,_0x523986(0x486),new _0x273fc2['BehaviorSubject'](null)),_0x1ca623(this,_0x523986(0x31d),this[_0x523986(0x486)][_0x523986(0x4c5)]()),(this[_0x523986(0x42c)]=_0x2e97e5,this['_snapshotService']=_0x44c17f,this[_0x523986(0x2ba)]=_0x1abfc4);}async[_0x344682(0x310)](_0x17b9cb,_0x5c2b0c,_0x145545){var _0x527c17=_0x344682;this[_0x527c17(0x486)][_0x527c17(0x20f)]({'unitId':_0x17b9cb,'type':_0x5c2b0c,'subUnitId':_0x145545});let _0x4a86d7=null;switch(_0x5c2b0c){case _0x2e0a6c[_0x527c17(0x36c)]:{_0x4a86d7=await this['_loadSheet'](_0x17b9cb);break;}case _0x2e0a6c[_0x527c17(0x28b)]:{_0x4a86d7=await this[_0x527c17(0x425)](_0x17b9cb);break;}default:{this[_0x527c17(0x42c)][_0x527c17(0x25e)](_0x527c17(0x274),_0x527c17(0x1ac));break;}}return _0x4a86d7;}async['_loadSheet'](_0x1be212){var _0xaa7a29=_0x344682,_0x56f4ad;let _0x2972c4=0x0;const _0x233e62=await((_0x56f4ad=this['_localCacheService'])==null?void 0x0:_0x56f4ad[_0xaa7a29(0x478)](_0x1be212));return _0x233e62&&(_0x233e62['awaitingChangeset']||_0x233e62['mutations'][_0xaa7a29(0x285)]!==0x0)&&(_0x2972c4=_0x233e62['rev']),_0x2972c4===0x0&&this['_logService'][_0xaa7a29(0x239)]('[DataLoaderService]',_0xaa7a29(0x40e)),this[_0xaa7a29(0x2c0)][_0xaa7a29(0x35f)](_0x1be212,_0x2972c4);}async[_0x344682(0x425)](_0x4a01ba){var _0x5f15=_0x344682,_0xe5d821;let _0x59569b=0x0;const _0x5188c3=await((_0xe5d821=this[_0x5f15(0x2ba)])==null?void 0x0:_0xe5d821[_0x5f15(0x478)](_0x4a01ba));return _0x5188c3&&(_0x5188c3[_0x5f15(0x14c)]||_0x5188c3['mutations'][_0x5f15(0x285)]!==0x0)&&(_0x59569b=_0x5188c3['rev']),_0x59569b===0x0&&this[_0x5f15(0x42c)][_0x5f15(0x239)](_0x5f15(0x274),_0x5f15(0x40e)),this[_0x5f15(0x2c0)][_0x5f15(0x1bd)](_0x4a01ba,_0x59569b);}},_0x3b85a1[_0x344682(0x3e5)]=_0x8e1bb4([_0x5a1027(0x0,_0x2dfbef[_0x344682(0x362)]),_0x5a1027(0x1,_0x2dfbef['Inject'](_0x1ea6ac['SnapshotService'])),_0x5a1027(0x2,_0x2dfbef[_0x344682(0x4a5)](_0x23ff37))],_0x3b85a1[_0x344682(0x3e5)]);var _0x1c8d3f=Object[_0x344682(0x260)],_0x50d905=(_0x262564,_0x55f746,_0x273b81,_0x404f6d)=>{var _0x178b50=_0x344682;for(var _0x1d5887=_0x404f6d>0x1?void 0x0:_0x404f6d?_0x1c8d3f(_0x55f746,_0x273b81):_0x55f746,_0x506182=_0x262564[_0x178b50(0x285)]-0x1,_0x58fb86;_0x506182>=0x0;_0x506182--)(_0x58fb86=_0x262564[_0x506182])&&(_0x1d5887=_0x58fb86(_0x1d5887)||_0x1d5887);return _0x1d5887;},_0x12f73e=(_0x3f63d1,_0x11bdaa)=>(_0x4ddb62,_0x2f9458)=>_0x11bdaa(_0x4ddb62,_0x2f9458,_0x3f63d1);const _0xf1b1a4=[_0x344682(0x338),_0x344682(0x200),_0x344682(0x3fe),_0x344682(0x292),'image/bmp'],_0x573771=0x5*0x400*0x400,_0x14f232='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x321906='/universer-api/stream/file/upload',_0x5b5c4a=_0x344682(0x423),_0x397eac=_0x344682(0x4c6);_0x3b85a1['CollaborationImageIoService']=class{constructor(_0x506fa0,_0x47a44e,_0x59df4f){var _0x3e73df=_0x344682;_0x1ca623(this,'_waitCount',0x0),_0x1ca623(this,_0x3e73df(0x35c),new _0x273fc2['Subject']()),_0x1ca623(this,_0x3e73df(0x4ce),this['_change$']),_0x1ca623(this,'_imageSourceCache',new Map()),(this[_0x3e73df(0x347)]=_0x506fa0,this[_0x3e73df(0x2d4)]=_0x47a44e,this['_univerInstanceService']=_0x59df4f);}[_0x344682(0x3bf)](_0x44743c){this['_waitCount']=_0x44743c,this['_change$']['next'](_0x44743c);}[_0x344682(0x2e1)](_0x218053,_0x5538fe){var _0xb04cda=_0x344682;if(_0x5538fe===_0x25e8c8[_0xb04cda(0x148)][_0xb04cda(0x246)]){const _0x2b2e5a=new Image();return _0x2b2e5a[_0xb04cda(0x149)]=_0x218053,_0x2b2e5a;}return this[_0xb04cda(0x25c)][_0xb04cda(0x2f2)](_0x218053);}[_0x344682(0x455)](_0x1d77d0,_0x583abf,_0x691868){var _0x300336=_0x344682;_0x583abf===_0x25e8c8[_0x300336(0x148)][_0x300336(0x246)]||_0x691868==null||this[_0x300336(0x25c)]['set'](_0x1d77d0,_0x691868);}async[_0x344682(0x1e5)](_0x59576f){var _0x128289=_0x344682;try{const _0x4eb13e=this[_0x128289(0x32c)](this[_0x128289(0x224)](),''+_0x59576f),_0x30c145=(await this[_0x128289(0x347)]['get'](_0x4eb13e))['body'];if(_0x30c145['error']&&_0x30c145[_0x128289(0x25e)][_0x128289(0x258)]===_0x1f6940['OK']){const _0x266be2=new URL(_0x30c145[_0x128289(0x44c)],this['_getDownloadEndpointURL']())[_0x128289(0x32a)]();return Promise['resolve'](_0x266be2);}return Promise[_0x128289(0x3b7)](_0x30c145['error']);}catch(_0x29eef5){return Promise[_0x128289(0x3b7)](_0x29eef5);}}async[_0x344682(0x426)](_0xdc7e22){var _0x423b39=_0x344682;let _0x5c2534='';if(!_0xf1b1a4['includes'](_0xdc7e22[_0x423b39(0x45d)]))return this[_0x423b39(0x2a2)](),Promise[_0x423b39(0x3b7)](new Error(_0x25e8c8[_0x423b39(0x322)][_0x423b39(0x19f)]));if(_0xdc7e22[_0x423b39(0x326)]>_0x573771)return this[_0x423b39(0x2a2)](),Promise[_0x423b39(0x3b7)](new Error(_0x25e8c8[_0x423b39(0x322)][_0x423b39(0x32d)]));try{const _0x5df45e=new FormData();_0x5df45e['append'](_0x423b39(0x3ec),_0xdc7e22);const _0x15d5c9=this['_univerInstanceService'][_0x423b39(0x1a1)](),_0x5b2638=_0x15d5c9==null?void 0x0:_0x15d5c9[_0x423b39(0x4b1)]();if(!_0x5b2638)throw new Error(_0x423b39(0x43f));const _0x29391f=this['_getUploadFileURL']()+_0x423b39(0x332)+_0xdc7e22['size'][_0x423b39(0x32a)]()+_0x423b39(0x3c0)+_0x5db1f5[_0x423b39(0x2bb)]+_0x423b39(0x2da)+encodeURIComponent(_0x5b2638),_0x181078=await(await fetch(_0x29391f,{'method':_0x423b39(0x474),'body':_0x5df45e}))[_0x423b39(0x2cf)]();if(typeof _0x181078[_0x423b39(0x3f8)]!=_0x423b39(0x34b))return this[_0x423b39(0x2a2)](),Promise[_0x423b39(0x3b7)](new Error(_0x25e8c8[_0x423b39(0x322)][_0x423b39(0x309)]));_0x5c2534=_0x181078['FileId'];}catch{return this[_0x423b39(0x2a2)](),Promise[_0x423b39(0x3b7)](new Error(_0x25e8c8[_0x423b39(0x322)][_0x423b39(0x309)]));}return new Promise((_0x560de8,_0x2b2050)=>{var _0x5a930d=_0x423b39;const _0x100b96=new FileReader();_0x100b96[_0x5a930d(0x45b)](_0xdc7e22),_0x100b96[_0x5a930d(0x377)]=_0x364c98=>{var _0x4f0b43=_0x5a930d,_0xa7b709;const _0x140346=(_0xa7b709=_0x364c98[_0x4f0b43(0x2f3)])==null?void 0x0:_0xa7b709[_0x4f0b43(0x33e)];if(_0x140346==null){this['_decreaseWaiting'](),_0x2b2050(new Error(_0x25e8c8[_0x4f0b43(0x322)]['ERROR_IMAGE']));return;}const _0x545b77=_0x2dfbef[_0x4f0b43(0x462)][_0x4f0b43(0x31a)](0x6);_0x560de8({'imageId':_0x545b77,'imageSourceType':_0x25e8c8[_0x4f0b43(0x148)][_0x4f0b43(0x463)],'source':_0x5c2534,'base64Cache':_0x140346,'status':_0x25e8c8[_0x4f0b43(0x322)]['SUCCUSS']}),this[_0x4f0b43(0x2a2)]();};});}[_0x344682(0x16f)](){var _0x51e7d8=_0x344682,_0x2f05ab,_0x46b52e;const _0x42e9e9=this['_configService'][_0x51e7d8(0x1e2)](_0x14f232),_0x2d73d1=this[_0x51e7d8(0x2d4)][_0x51e7d8(0x1e2)](_0x354056);return(_0x46b52e=(_0x2f05ab=_0x2d73d1==null?void 0x0:_0x2d73d1['uploadFileServerUrl'])!=null?_0x2f05ab:_0x42e9e9)!=null?_0x46b52e:_0x321906;}[_0x344682(0x224)](){var _0x34439c=_0x344682,_0x582522,_0x3cb684;const _0x593dcd=this[_0x34439c(0x2d4)][_0x34439c(0x1e2)](_0x5b5c4a),_0x1738e5=this[_0x34439c(0x2d4)]['getConfig'](_0x354056);return(_0x3cb684=(_0x582522=_0x1738e5==null?void 0x0:_0x1738e5['signUrlServerUrl'])!=null?_0x582522:_0x593dcd)!=null?_0x3cb684:_0x397eac;}[_0x344682(0x225)](){var _0x288b9a=_0x344682,_0x1e64c8;const _0xf02003=this[_0x288b9a(0x2d4)][_0x288b9a(0x1e2)](_0x354056);return(_0x1e64c8=_0xf02003==null?void 0x0:_0xf02003[_0x288b9a(0x23a)])!=null?_0x1e64c8:location['origin'];}[_0x344682(0x32c)](_0x40278b,_0x1851d0){var _0x410047=_0x344682;return _0x40278b[_0x410047(0x2ab)](_0x410047(0x1f5),_0x1851d0);}['_decreaseWaiting'](){var _0x5cb9bb=_0x344682;this['_waitCount']-=0x1,this[_0x5cb9bb(0x35c)][_0x5cb9bb(0x20f)](this[_0x5cb9bb(0x49b)]);}},_0x3b85a1['CollaborationImageIoService']=_0x50d905([_0x12f73e(0x0,_0x2dfbef[_0x344682(0x21e)](_0x372197[_0x344682(0x22f)])),_0x12f73e(0x1,_0x2dfbef[_0x344682(0x1d0)]),_0x12f73e(0x2,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x204)]))],_0x3b85a1[_0x344682(0x323)]);var _0x2367d5=Object['getOwnPropertyDescriptor'],_0x2a0d24=(_0x120956,_0x340ab2,_0x594a99,_0x30e4d3)=>{var _0x40bd99=_0x344682;for(var _0x2a8a2b=_0x30e4d3>0x1?void 0x0:_0x30e4d3?_0x2367d5(_0x340ab2,_0x594a99):_0x340ab2,_0x581d4c=_0x120956[_0x40bd99(0x285)]-0x1,_0x45faad;_0x581d4c>=0x0;_0x581d4c--)(_0x45faad=_0x120956[_0x581d4c])&&(_0x2a8a2b=_0x45faad(_0x2a8a2b)||_0x2a8a2b);return _0x2a8a2b;},_0x23ce60=(_0x11d92d,_0x2fdcb1)=>(_0x15c076,_0x262e68)=>_0x2fdcb1(_0x15c076,_0x262e68,_0x11d92d);const _0x520b67=_0x344682(0x3aa);_0x3b85a1[_0x344682(0x2ef)]=class{constructor(_0x198677,_0x4da48a){var _0x3091ff=_0x344682;this[_0x3091ff(0x2d4)]=_0x198677,this[_0x3091ff(0x19a)]=_0x4da48a;}[_0x344682(0x4dd)](){var _0x584856=_0x344682,_0x184c26,_0x3254ef;const _0x245df3=this['_configService'][_0x584856(0x1e2)](_0x53f286),_0x52f4ed=this['_configService'][_0x584856(0x1e2)](_0x354056);return(_0x3254ef=(_0x184c26=_0x52f4ed==null?void 0x0:_0x52f4ed[_0x584856(0x24b)])!=null?_0x184c26:_0x245df3)!=null?_0x3254ef:_0x520b67;}async[_0x344682(0x436)](_0xd6485a){var _0x210792=_0x344682;const _0x2124e1=this[_0x210792(0x4dd)]()+'/collaborator';return{'list':[{'title':_0x210792(0x2c4),'mentions':(await this[_0x210792(0x19a)]['get'](_0x2124e1,{'params':{'objectID':_0xd6485a['unitId'],'unitID':_0xd6485a[_0x210792(0x1df)]}}))[_0x210792(0x355)][_0x210792(0x1ec)][_0x210792(0x33f)](_0x20a907=>({'objectId':_0x20a907['id'],'name':_0x20a907[_0x210792(0x1e7)]['name'],'metadata':{'icon':_0x20a907['subject']['avatar']},'label':_0x20a907['subject'][_0x210792(0x3a0)],'objectType':_0x2dfbef[_0x210792(0x306)][_0x210792(0x4a1)]})),'metadata':{},'type':_0x2dfbef['MentionType'][_0x210792(0x4a1)]}]};}},_0x3b85a1['MentionIoHttpService']=_0x2a0d24([_0x23ce60(0x0,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x1d0)])),_0x23ce60(0x1,_0x2dfbef[_0x344682(0x21e)](_0x372197['HTTPService']))],_0x3b85a1[_0x344682(0x2ef)]);var _0x2e37c0=Object[_0x344682(0x260)],_0x44fd18=(_0xf4c605,_0x1ed965,_0x4b1e6f,_0x2073e9)=>{var _0x3fb642=_0x344682;for(var _0x10fee1=_0x2073e9>0x1?void 0x0:_0x2073e9?_0x2e37c0(_0x1ed965,_0x4b1e6f):_0x1ed965,_0xd3f131=_0xf4c605[_0x3fb642(0x285)]-0x1,_0x2fe1f1;_0xd3f131>=0x0;_0xd3f131--)(_0x2fe1f1=_0xf4c605[_0xd3f131])&&(_0x10fee1=_0x2fe1f1(_0x10fee1)||_0x10fee1);return _0x10fee1;},_0x296286=(_0x4b6c80,_0x31413)=>(_0x4414f8,_0x78dd42)=>_0x31413(_0x4414f8,_0x78dd42,_0x4b6c80);let _0x7d5fec=class extends _0x2dfbef[_0x344682(0x336)]{constructor(_0x14a7fd,_0x5860f2,_0x4e4a9b,_0xbdde0a,_0x4275b7){var _0x20470b=_0x344682;super(),this['_injector']=_0x14a7fd,this[_0x20470b(0x384)]=_0x5860f2,this[_0x20470b(0x16c)]=_0x4e4a9b,this[_0x20470b(0x282)]=_0xbdde0a,this[_0x20470b(0x1a8)]=_0x4275b7,this[_0x20470b(0x40f)](),this[_0x20470b(0x2f8)]();}[_0x344682(0x2f8)](){var _0x304b51=_0x344682;const _0x56cc57=async _0x10a917=>{var _0xd31da6=_0x1cc8;(await this['_collaborationSessionService'][_0xd31da6(0x19b)](_0x10a917))[_0xd31da6(0x4cb)]['pipe'](_0xdc3409[_0xd31da6(0x2b1)](_0x1a2ada=>_0x1a2ada['eventID']===_0x1ea6ac[_0xd31da6(0x35a)][_0xd31da6(0x278)]),_0xdc3409[_0xd31da6(0x2e0)](this[_0xd31da6(0x3ae)]))[_0xd31da6(0x3fc)](_0x23d7c2=>{var _0x395bb5=_0xd31da6;const _0x15a23a=_0x23d7c2,{reason:_0x2243e4}=_0x15a23a[_0x395bb5(0x40c)];this[_0x395bb5(0x1a8)][_0x395bb5(0x25a)]({'id':_0x2a7689[_0x395bb5(0x4d7)],'data':_0x2243e4}),this['_permissionService']['updatePermissionPoint'](new _0xb87b75[(_0x395bb5(0x2aa))](_0x10a917)['id'],!0x1),this[_0x395bb5(0x282)][_0x395bb5(0x23c)](_0x10a917);});};_0x273fc2['merge'](this['_univerInstanceService'][_0x304b51(0x2d7)](_0x2dfbef['UniverInstanceType'][_0x304b51(0x36c)]),this[_0x304b51(0x384)][_0x304b51(0x2d7)](_0x2dfbef[_0x304b51(0x235)][_0x304b51(0x28b)]))['pipe'](_0xdc3409['map'](_0x3d9f25=>_0x3d9f25[_0x304b51(0x4b1)]()),_0xdc3409['filter'](_0x4ee55c=>!_0x2dfbef[_0x304b51(0x325)](_0x4ee55c)),_0xdc3409[_0x304b51(0x2e0)](this['dispose$']))['subscribe'](_0x4b8758=>{_0x56cc57(_0x4b8758);});}['_initUnitPermissionChange'](){var _0x59b48a=_0x344682;const _0x5e1d3f=async _0x277051=>{var _0x56bfda=_0x1cc8;const _0x53357b=await this[_0x56bfda(0x282)][_0x56bfda(0x19b)](_0x277051),_0x90313b=this[_0x56bfda(0x398)][_0x56bfda(0x2f2)](_0xb87b75[_0x56bfda(0x2f6)]);_0x53357b[_0x56bfda(0x4cb)][_0x56bfda(0x222)](_0xdc3409[_0x56bfda(0x2b1)](_0x44dc9c=>_0x44dc9c['eventID']===_0x1ea6ac[_0x56bfda(0x35a)][_0x56bfda(0x44a)]),_0xdc3409[_0x56bfda(0x2e0)](this[_0x56bfda(0x3ae)]))[_0x56bfda(0x3fc)](_0x2e5c7b=>{var _0x3643b8=_0x56bfda;const _0x599547=_0x2e5c7b,{objectId:_0x5dc8dc}=_0x599547[_0x3643b8(0x40c)];_0x5dc8dc===_0x277051?_0x90313b[_0x3643b8(0x489)](_0x277051):_0x90313b['refreshPermission'](_0x277051,_0x5dc8dc);});};_0x273fc2['merge'](this[_0x59b48a(0x384)][_0x59b48a(0x2d7)](_0x2dfbef[_0x59b48a(0x235)][_0x59b48a(0x36c)]))[_0x59b48a(0x222)](_0xdc3409['map'](_0x3e8e3c=>_0x3e8e3c[_0x59b48a(0x4b1)]()),_0xdc3409[_0x59b48a(0x2b1)](_0x2ba754=>!_0x2dfbef[_0x59b48a(0x325)](_0x2ba754)),_0xdc3409[_0x59b48a(0x2e0)](this[_0x59b48a(0x3ae)]))[_0x59b48a(0x3fc)](_0x1abfde=>{_0x5e1d3f(_0x1abfde);});}};_0x7d5fec=_0x44fd18([_0x296286(0x0,_0x2dfbef[_0x344682(0x21e)](_0x2dfbef[_0x344682(0x2ee)])),_0x296286(0x1,_0x2dfbef['IUniverInstanceService']),_0x296286(0x2,_0x2dfbef[_0x344682(0x173)]),_0x296286(0x3,_0x2dfbef['Inject'](_0x3b85a1['CollaborationSessionService'])),_0x296286(0x4,_0x2dfbef[_0x344682(0x21e)](_0xb65244))],_0x7d5fec);var _0xf1a51d=Object[_0x344682(0x260)],_0x1159b9=(_0xe26a95,_0x277d09,_0x7c46c6,_0xe0d306)=>{var _0x3ff8aa=_0x344682;for(var _0x441a48=_0xe0d306>0x1?void 0x0:_0xe0d306?_0xf1a51d(_0x277d09,_0x7c46c6):_0x277d09,_0x4dbfec=_0xe26a95[_0x3ff8aa(0x285)]-0x1,_0x4beeba;_0x4dbfec>=0x0;_0x4dbfec--)(_0x4beeba=_0xe26a95[_0x4dbfec])&&(_0x441a48=_0x4beeba(_0x441a48)||_0x441a48);return _0x441a48;},_0x31ddac=(_0x405ea4,_0x36e8ed)=>(_0x4b056e,_0x12f94a)=>_0x36e8ed(_0x4b056e,_0x12f94a,_0x405ea4);_0x3b85a1[_0x344682(0x2b2)]=class{constructor(_0x19d1b8,_0x32d92f){var _0x576cad=_0x344682;this['_configService']=_0x19d1b8,this[_0x576cad(0x347)]=_0x32d92f;}async[_0x344682(0x166)](_0x6638e3,_0x29673e){var _0x589b3c=_0x344682,_0x443659;const {unitID:_0x445587,type:_0xc2932,revision:_0x2c25b5=0x0}=_0x29673e,_0x2dfbe3=this[_0x589b3c(0x353)]()+'/'+_0xc2932+_0x589b3c(0x29d)+_0x445587+_0x589b3c(0x41b)+_0x2c25b5,_0x58fa22=(await this[_0x589b3c(0x347)][_0x589b3c(0x2f2)](_0x2dfbe3))[_0x589b3c(0x355)],_0x7baf28=(_0x443659=_0x58fa22[_0x589b3c(0x210)])==null?void 0x0:_0x443659[_0x589b3c(0x2bf)];if(_0x7baf28){const _0xa9665d=_0x7baf28==null?void 0x0:_0x7baf28['originalMeta'],_0x1e53be=_0x1ea6ac['textEncoder']['encode'](_0x1ea6ac[_0x589b3c(0x1ef)](_0xa9665d));_0x7baf28[_0x589b3c(0x261)]=_0x1e53be,Object[_0x589b3c(0x327)](_0x7baf28['sheets'])['forEach'](([,_0x55ce4b])=>{var _0x132854=_0x589b3c;const _0x2a669b=_0x55ce4b[_0x132854(0x261)],_0x2fd00e=_0x1ea6ac[_0x132854(0x370)][_0x132854(0x4a6)](_0x1ea6ac[_0x132854(0x1ef)](_0x2a669b));_0x55ce4b[_0x132854(0x261)]=_0x2fd00e;});}return _0x58fa22;}async['getSheetBlock'](_0x212d06,_0x5efdb1){var _0x1d4e50=_0x344682;const {unitID:_0x33eed4,type:_0x1e4650,blockID:_0x300df2}=_0x5efdb1,_0x34e3e4=this[_0x1d4e50(0x373)]()+'/'+_0x1e4650+_0x1d4e50(0x29d)+_0x33eed4+_0x1d4e50(0x284)+_0x300df2;return(await this[_0x1d4e50(0x347)][_0x1d4e50(0x2f2)](_0x34e3e4))[_0x1d4e50(0x355)];}async[_0x344682(0x401)](_0x56a580,_0x427162){var _0x15993a=_0x344682;const {unitID:_0x1d825e,type:_0x233562,blockID:_0x37486e}=_0x427162,_0x2ac701=this['_getAPIPrefix']()+'/block/'+_0x233562+'/unit/'+_0x1d825e+_0x15993a(0x284)+_0x37486e;return(await this[_0x15993a(0x347)][_0x15993a(0x2f2)](_0x2ac701))[_0x15993a(0x355)];}async['fetchMissingChangesets'](_0x50888f,_0x4e081a){var _0x3736a1=_0x344682;const {unitID:_0x666475,type:_0x58d69b,from:_0x2f9b40,to:_0x8f8efe}=_0x4e081a,_0x58d130=this[_0x3736a1(0x373)]()+'/'+_0x58d69b+_0x3736a1(0x29d)+_0x666475+_0x3736a1(0x36f)+_0x2f9b40+_0x3736a1(0x231)+_0x8f8efe;return(await this[_0x3736a1(0x347)][_0x3736a1(0x2f2)](_0x58d130))[_0x3736a1(0x355)];}['getSnapshotAPIPath'](){var _0x4d9d3b=_0x344682,_0x163531;return(_0x163531=this[_0x4d9d3b(0x2d4)][_0x4d9d3b(0x1e2)](_0x327ed0))!=null?_0x163531:this[_0x4d9d3b(0x373)]();}[_0x344682(0x373)](){var _0x13df33=_0x344682,_0x4aa17b,_0x4fd115;const _0x2f843e=this[_0x13df33(0x2d4)][_0x13df33(0x1e2)](_0x46b779),_0x3c9e5a=this[_0x13df33(0x2d4)][_0x13df33(0x1e2)](_0x354056);return(_0x4fd115=(_0x4aa17b=_0x3c9e5a==null?void 0x0:_0x3c9e5a[_0x13df33(0x184)])!=null?_0x4aa17b:_0x2f843e)!=null?_0x4fd115:_0x1631e4;}async[_0x344682(0x15e)](_0x141aa6,_0x448340){var _0x307f05=_0x344682;const _0x17212f='/universer-api/snapshot/'+_0x448340[_0x307f05(0x45d)]+_0x307f05(0x29d)+_0x448340['unitID']+_0x307f05(0x1f8);return(await this[_0x307f05(0x347)][_0x307f05(0x2f2)](_0x17212f,{'params':{'resourceId':JSON[_0x307f05(0x3ac)](_0x448340[_0x307f05(0x17a)])}}))[_0x307f05(0x355)];}[_0x344682(0x49e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x344682(0x3ca)](){var _0x464fba=_0x344682;throw new Error(_0x464fba(0x27c));}[_0x344682(0x207)](){var _0x5c69c8=_0x344682;throw new Error(_0x5c69c8(0x27c));}[_0x344682(0x174)](){var _0x32e040=_0x344682;throw new Error(_0x32e040(0x27c));}[_0x344682(0x180)](){var _0x25530b=_0x344682;throw new Error(_0x25530b(0x27c));}},_0x3b85a1[_0x344682(0x2b2)]=_0x1159b9([_0x31ddac(0x0,_0x2dfbef[_0x344682(0x1d0)]),_0x31ddac(0x1,_0x2dfbef[_0x344682(0x21e)](_0x372197[_0x344682(0x22f)]))],_0x3b85a1['SnapshotServerOverHTTPService']);var _0x1a4872=Object[_0x344682(0x260)],_0xc30668=(_0x26d0e5,_0x2b92bc,_0x2157ef,_0x6f3dd5)=>{var _0x3734d8=_0x344682;for(var _0x550802=_0x6f3dd5>0x1?void 0x0:_0x6f3dd5?_0x1a4872(_0x2b92bc,_0x2157ef):_0x2b92bc,_0x285112=_0x26d0e5[_0x3734d8(0x285)]-0x1,_0x4e69f6;_0x285112>=0x0;_0x285112--)(_0x4e69f6=_0x26d0e5[_0x285112])&&(_0x550802=_0x4e69f6(_0x550802)||_0x550802);return _0x550802;},_0x340961=(_0x13c867,_0x4d6bc4)=>(_0x490564,_0x2ea44d)=>_0x4d6bc4(_0x490564,_0x2ea44d,_0x13c867);_0x3b85a1['CollaborativeUndoRedoService']=class extends _0x2dfbef['LocalUndoRedoService']{constructor(_0x2a10c1,_0x2ca813,_0x36a1d7,_0x38b3f6,_0x4baa53){var _0x2f12e9=_0x344682;super(_0x2a10c1,_0x2ca813,_0x36a1d7),this['_transformService']=_0x38b3f6,this[_0x2f12e9(0x42c)]=_0x4baa53;}[_0x344682(0x1f4)](_0x594e32,_0x3ad837){var _0x4da5ca=_0x344682;const _0x2d9cd7=this[_0x4da5ca(0x37a)](_0x594e32);if(_0x2d9cd7)try{const _0x5c18ef=this[_0x4da5ca(0x1f2)](_0x2d9cd7,_0x3ad837);this[_0x4da5ca(0x230)](_0x594e32,_0x5c18ef);}catch(_0x3078af){this[_0x4da5ca(0x42c)][_0x4da5ca(0x25e)](_0x4da5ca(0x333),_0x3078af),this[_0x4da5ca(0x372)](_0x594e32);}const _0x2026c7=this[_0x4da5ca(0x412)](_0x594e32);if(_0x2026c7)try{const _0x50cb87=this[_0x4da5ca(0x1f2)](_0x2026c7,_0x3ad837);this['_substituteRedoStack'](_0x594e32,_0x50cb87);}catch(_0x3491c0){this[_0x4da5ca(0x42c)][_0x4da5ca(0x25e)](_0x3491c0),this[_0x4da5ca(0x20b)](_0x594e32);}}[_0x344682(0x372)](_0x52c8cd){var _0x182b69=_0x344682;const _0x4a4ed9=this[_0x182b69(0x37a)](_0x52c8cd);_0x4a4ed9&&(_0x4a4ed9['length']=0x0,this['_updateStatus']());}[_0x344682(0x20b)](_0x384979){var _0x55042d=_0x344682;const _0xc63b78=this[_0x55042d(0x412)](_0x384979);_0xc63b78&&(_0xc63b78[_0x55042d(0x285)]=0x0,this[_0x55042d(0x21c)]());}[_0x344682(0x230)](_0x26376d,_0x2e990d){var _0x2f79cb=_0x344682;this['_undoStacks'][_0x2f79cb(0x461)](_0x26376d,_0x2e990d),this['_updateStatus']();}['_substituteRedoStack'](_0x522630,_0xc612cd){var _0x532279=_0x344682;this[_0x532279(0x453)][_0x532279(0x461)](_0x522630,_0xc612cd),this[_0x532279(0x21c)]();}['_transformStack'](_0x274872,_0x3fdfae){var _0x582c76=_0x344682;const _0x5c4de2=[];let _0x138d4b=_0x3fdfae,_0x154e5e=_0x3fdfae;for(let _0x1ec983=_0x274872[_0x582c76(0x285)]-0x1;_0x1ec983>=0x0;_0x1ec983--){const {unitID:_0x3eb7ca,undoMutations:_0x129739,redoMutations:_0x1152de}=_0x274872[_0x1ec983],_0x13f1c5=this[_0x582c76(0x437)][_0x582c76(0x452)](_0x138d4b,_0x129739),_0x259258=this['_transformService'][_0x582c76(0x452)](_0x154e5e,_0x1152de);if(_0x1ea6ac[_0x582c76(0x381)](_0x13f1c5)||_0x1ea6ac['isTransformMutationsWithChangesetFailure'](_0x259258)){this[_0x582c76(0x42c)][_0x582c76(0x25e)](_0x582c76(0x333),_0x582c76(0x240),_0x13f1c5,_0x259258);break;}_0x138d4b=_0x13f1c5[_0x582c76(0x2c1)],_0x154e5e=_0x259258[_0x582c76(0x2c1)],_0x5c4de2[_0x582c76(0x399)]({'unitID':_0x3eb7ca,'undoMutations':_0x13f1c5[_0x582c76(0x442)],'redoMutations':_0x259258[_0x582c76(0x442)]});}return _0x5c4de2['reverse']();}},_0x3b85a1['CollaborativeUndoRedoService']=_0xc30668([_0x340961(0x0,_0x2dfbef[_0x344682(0x204)]),_0x340961(0x1,_0x2dfbef['ICommandService']),_0x340961(0x2,_0x2dfbef[_0x344682(0x25f)]),_0x340961(0x3,_0x1ea6ac[_0x344682(0x1fa)]),_0x340961(0x4,_0x2dfbef['ILogService'])],_0x3b85a1[_0x344682(0x1ea)]);var _0x270c9f=Object[_0x344682(0x1a3)],_0x1d2734=Object[_0x344682(0x260)],_0x4b3be6=(_0x487597,_0x4f8d9c,_0x18d887)=>_0x4f8d9c in _0x487597?_0x270c9f(_0x487597,_0x4f8d9c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18d887}):_0x487597[_0x4f8d9c]=_0x18d887,_0x23cc27=(_0x10dde8,_0x329f86,_0x5b79ac,_0x45c331)=>{var _0x1efa10=_0x344682;for(var _0x5c65bf=_0x45c331>0x1?void 0x0:_0x45c331?_0x1d2734(_0x329f86,_0x5b79ac):_0x329f86,_0x8725e7=_0x10dde8[_0x1efa10(0x285)]-0x1,_0x4902e1;_0x8725e7>=0x0;_0x8725e7--)(_0x4902e1=_0x10dde8[_0x8725e7])&&(_0x5c65bf=_0x4902e1(_0x5c65bf)||_0x5c65bf);return _0x5c65bf;},_0x1913b0=(_0x4cce18,_0x544dbc)=>(_0x4be1ec,_0x4ad191)=>_0x544dbc(_0x4be1ec,_0x4ad191,_0x4cce18),_0x3c477f=(_0xf5bf69,_0x54431e,_0x172193)=>_0x4b3be6(_0xf5bf69,_0x54431e+'',_0x172193);const _0x1a6645=_0x344682(0x473);_0x3b85a1[_0x344682(0x1c4)]=class extends _0x2dfbef['Plugin']{constructor(_0x2d839d,_0x307de7,_0x5a04cf,_0x2e6428){var _0x4d96ae=_0x344682;super(),_0x1ca623(this,'_config'),(this[_0x4d96ae(0x42c)]=_0x307de7,this[_0x4d96ae(0x398)]=_0x5a04cf,this[_0x4d96ae(0x2d4)]=_0x2e6428);const {..._0x52e8b9}=_0x2dfbef[_0x4d96ae(0x42d)]({},_0x28ad55,_0x2d839d);if(!_0x52e8b9[_0x4d96ae(0x40b)])throw new Error(_0x4d96ae(0x4b5));this[_0x4d96ae(0x2e7)]=_0x52e8b9,this['_configService'][_0x4d96ae(0x47b)](_0x354056,_0x52e8b9);}[_0x344682(0x3d9)](){var _0x2aacce=_0x344682;this[_0x2aacce(0x18a)](),this[_0x2aacce(0x1a4)]();}[_0x344682(0x18a)](){var _0x553d5b=_0x344682,_0x11b689,_0x77ff08;this['_injector']['has'](_0x2dfbef[_0x553d5b(0x3b8)])&&this[_0x553d5b(0x42c)][_0x553d5b(0x25e)](_0x553d5b(0x392),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x225c5a=_0x2dfbef['mergeOverrideWithDependencies']([[_0x2dfbef[_0x553d5b(0x3b8)],{'useClass':_0x3b85a1[_0x553d5b(0x1ea)]}],[_0x3b85a1[_0x553d5b(0x176)]],[_0x3b85a1[_0x553d5b(0x275)]],[_0x3b85a1[_0x553d5b(0x198)]],[_0x2b4086],[_0x24edaf],[_0xa5505b],[_0x7d5fec],[_0xb65244],[_0x3b85a1['DataLoaderService']],[_0x1c5bfa,{'useClass':this[_0x553d5b(0x2e7)][_0x553d5b(0x40b)]}],[_0x1ea6ac[_0x553d5b(0x4c9)],{'useClass':_0x3b85a1['SnapshotServerOverHTTPService']}],[_0x2dfbef[_0x553d5b(0x1d1)],{'useClass':_0x3b85a1['AuthzIoHttpService']}],[_0x25e8c8[_0x553d5b(0x3c9)],{'useClass':_0x3b85a1[_0x553d5b(0x323)]}],[_0x2dfbef[_0x553d5b(0x408)],{'useClass':_0x3b85a1[_0x553d5b(0x2ef)]}],[_0x3b85a1['CollaborationController']],[_0x18c4a9]],(_0x11b689=this[_0x553d5b(0x2e7)])==null?void 0x0:_0x11b689[_0x553d5b(0x2bc)]);if(!((_0x77ff08=this[_0x553d5b(0x2e7)])!=null&&_0x77ff08[_0x553d5b(0x1b2)])){const _0x1f56b6=_0x225c5a[_0x553d5b(0x21f)](([_0x46a19e])=>_0x46a19e===_0x1ae35d);_0x1f56b6!==-0x1&&_0x225c5a[_0x553d5b(0x219)](_0x1f56b6,0x1);}_0x2dfbef['registerDependencies'](this[_0x553d5b(0x398)],_0x225c5a);}[_0x344682(0x1a4)](){var _0xbecb7e=_0x344682,_0x304028,_0x5ca6fb,_0x546a6c;this['_injector'][_0xbecb7e(0x2f2)](_0x372197[_0xbecb7e(0x22f)])[_0xbecb7e(0x2b4)]({'priority':0x14,'interceptor':_0x372197[_0xbecb7e(0x2fa)]({'maxParallel':0x6})}),(_0x304028=this[_0xbecb7e(0x2e7)])!=null&&_0x304028[_0xbecb7e(0x22c)]||(_0x5ca6fb=this[_0xbecb7e(0x398)][_0xbecb7e(0x2f2)](_0x23ff37,_0x2dfbef[_0xbecb7e(0x1fd)][_0xbecb7e(0x3dd)]))==null||_0x5ca6fb[_0xbecb7e(0x3e4)](),(_0x546a6c=this[_0xbecb7e(0x2e7)])!=null&&_0x546a6c[_0xbecb7e(0x19e)]&&_0x2dfbef[_0xbecb7e(0x36a)](this[_0xbecb7e(0x398)],[[_0x2b4086]]),_0x2dfbef['touchDependencies'](this['_injector'],[[_0x24edaf],[_0x3b85a1[_0xbecb7e(0x279)]],[_0x7d5fec]]);}},_0x3c477f(_0x3b85a1['UniverCollaborationClientPlugin'],_0x344682(0x314),_0x1a6645),_0x3b85a1[_0x344682(0x1c4)]=_0x23cc27([_0x2dfbef[_0x344682(0x150)](_0x1ea6ac[_0x344682(0x456)],_0x372197[_0x344682(0x4b8)]),_0x1913b0(0x1,_0x2dfbef[_0x344682(0x362)]),_0x1913b0(0x2,_0x2dfbef['Inject'](_0x2dfbef[_0x344682(0x2ee)])),_0x1913b0(0x3,_0x2dfbef['IConfigService'])],_0x3b85a1[_0x344682(0x1c4)]),_0x3b85a1[_0x344682(0x265)]=_0x53f286,_0x3b85a1[_0x344682(0x26d)]=_0x354056,_0x3b85a1['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x340712,_0x3b85a1['COLLAB_WEB_SOCKET_URL_KEY']=_0x4b8d5d,_0x3b85a1[_0x344682(0x249)]=_0x388909,_0x3b85a1[_0x344682(0x2e4)]=_0x2a7689,_0x3b85a1['CollaborationUIEventService']=_0xb65244,_0x3b85a1[_0x344682(0x329)]=_0xa5505b,_0x3b85a1['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x2a51e6,_0x3b85a1[_0x344682(0x209)]=_0x2dd704,_0x3b85a1[_0x344682(0x3cb)]=_0x5bd882,_0x3b85a1[_0x344682(0x227)]=_0x49c03b,_0x3b85a1[_0x344682(0x2ed)]=_0x331745,_0x3b85a1[_0x344682(0x3fb)]=_0x1c5bfa,_0x3b85a1[_0x344682(0x1c1)]=_0x23ff37,_0x3b85a1[_0x344682(0x145)]=_0x1c5cb3,_0x3b85a1[_0x344682(0x1e6)]=_0x1ae35d,_0x3b85a1[_0x344682(0x3a5)]=0x3e8,_0x3b85a1[_0x344682(0x2fe)]=_0x256555,_0x3b85a1['LOGIN_URL_KEY']=_0x42cbb7,_0x3b85a1[_0x344682(0x29e)]=_0x8a2dab,_0x3b85a1[_0x344682(0x33c)]=_0x55662c,_0x3b85a1['SEND_CHANGESET_TIMEOUT_KEY']=_0x1ea9b7,_0x3b85a1[_0x344682(0x1ae)]=_0x46b779,_0x3b85a1[_0x344682(0x388)]=_0x327ed0,_0x3b85a1['SessionStatus']=_0x5c3179,_0x3b85a1[_0x344682(0x259)]=_0x39bafb,_0x3b85a1[_0x344682(0x2b5)]=_0x149b0b,_0x3b85a1[_0x344682(0x3f4)]=_0xba1052,_0x3b85a1[_0x344682(0x3b6)]=_0x9fd71d,Object[_0x344682(0x1a3)](_0x3b85a1,Symbol[_0x344682(0x3de)],{'value':_0x344682(0x460)});}));
|
1
|
+
function _0x509d(_0x5c796d,_0x173a60){var _0x14a2d7=_0x14a2();return _0x509d=function(_0x509dc8,_0x3489cc){_0x509dc8=_0x509dc8-0xdd;var _0x39ca5f=_0x14a2d7[_0x509dc8];return _0x39ca5f;},_0x509d(_0x5c796d,_0x173a60);}(function(_0x5dc744,_0x4f2ab8){var _0x4da63a=_0x509d,_0x3b0c89=_0x5dc744();while(!![]){try{var _0x1fb887=parseInt(_0x4da63a(0x13d))/0x1+-parseInt(_0x4da63a(0x402))/0x2*(parseInt(_0x4da63a(0x165))/0x3)+-parseInt(_0x4da63a(0x220))/0x4*(parseInt(_0x4da63a(0x32d))/0x5)+-parseInt(_0x4da63a(0x31f))/0x6*(parseInt(_0x4da63a(0x33d))/0x7)+parseInt(_0x4da63a(0x13a))/0x8*(-parseInt(_0x4da63a(0x449))/0x9)+-parseInt(_0x4da63a(0x15c))/0xa+parseInt(_0x4da63a(0x121))/0xb;if(_0x1fb887===_0x4f2ab8)break;else _0x3b0c89['push'](_0x3b0c89['shift']());}catch(_0x6f5997){_0x3b0c89['push'](_0x3b0c89['shift']());}}}(_0x14a2,0x73175),function(_0x5e9dc7,_0x17997b){var _0x163613=_0x509d;typeof exports==_0x163613(0x16c)&&typeof module<'u'?_0x17997b(exports,require(_0x163613(0x3e4)),require(_0x163613(0x18f)),require('rxjs/operators'),require(_0x163613(0x1d6)),require(_0x163613(0x3fd)),require(_0x163613(0x2bc)),require('@univerjs/docs'),require(_0x163613(0x120)),require('@univerjs/drawing'),require(_0x163613(0x287))):typeof define==_0x163613(0x40e)&&define['amd']?define([_0x163613(0x346),_0x163613(0x3e4),_0x163613(0x18f),_0x163613(0x1c2),_0x163613(0x1d6),_0x163613(0x3fd),_0x163613(0x2bc),_0x163613(0x104),_0x163613(0x120),'@univerjs/drawing',_0x163613(0x287)],_0x17997b):(_0x5e9dc7=typeof globalThis<'u'?globalThis:_0x5e9dc7||self,_0x17997b(_0x5e9dc7[_0x163613(0x27d)]={},_0x5e9dc7['UniverCore'],_0x5e9dc7[_0x163613(0x18f)],_0x5e9dc7[_0x163613(0x18f)][_0x163613(0x455)],_0x5e9dc7[_0x163613(0x1db)],_0x5e9dc7[_0x163613(0x29e)],_0x5e9dc7[_0x163613(0x3fa)],_0x5e9dc7[_0x163613(0x354)],_0x5e9dc7[_0x163613(0x3c4)],_0x5e9dc7[_0x163613(0x256)],_0x5e9dc7['UniverProLicense']));}(this,function(_0x13c6bf,_0x1db671,_0x377325,_0x1ca1cf,_0x473659,_0x160ac5,_0x205873,_0x3fa17d,_0x45a23f,_0x18c9ec,_0x4612b9){'use strict';var _0x3674d4=_0x509d;var _0x5c61cf=Object[_0x3674d4(0x3eb)],_0xbd75bc=(_0x25ba04,_0x1ff267,_0x3907c1)=>_0x1ff267 in _0x25ba04?_0x5c61cf(_0x25ba04,_0x1ff267,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3907c1}):_0x25ba04[_0x1ff267]=_0x3907c1,_0x47ca49=(_0x5159a0,_0x5f41e4,_0x26b1f4)=>_0xbd75bc(_0x5159a0,typeof _0x5f41e4!=_0x3674d4(0x3f0)?_0x5f41e4+'':_0x5f41e4,_0x26b1f4);const _0xb7b4fb=_0x3674d4(0x3e5),_0x52ace6=_0x3674d4(0x366),_0x1870f7=_0x3674d4(0x2e6),_0x2aefdf=_0x3674d4(0x31d),_0x2df92c='COLLAB_WEB_SOCKET_URL',_0x41e25e=_0x3674d4(0x179),_0x80fcb5=_0x3674d4(0x243),_0xd8d5db=_0x3674d4(0x153),_0x21bc0b=_0x3674d4(0x20a),_0x5b2b66=_0x3674d4(0x399),_0x258ece='LOCAL_CACHE_INTERVAL',_0x399e8e=_0x3674d4(0x159),_0x5dd665=_0x3674d4(0x3b3),_0x2918c4=_0x3674d4(0x3d0),_0x1f022f=_0x3674d4(0x347),_0x4790c1='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x320a44='/universer-api/uniscript';var _0x4c4268=(_0x4d7738=>(_0x4d7738[_0x4d7738[_0x3674d4(0x34c)]=0x0]=_0x3674d4(0x34c),_0x4d7738[_0x4d7738['OK']=0x1]='OK',_0x4d7738[_0x4d7738['INTERNAL_ERROR']=0x2]=_0x3674d4(0x3a4),_0x4d7738[_0x4d7738['PERMISSION_DENIED']=0x3]=_0x3674d4(0xdf),_0x4d7738[_0x4d7738[_0x3674d4(0x2ad)]=0x4]=_0x3674d4(0x2ad),_0x4d7738[_0x4d7738[_0x3674d4(0x1da)]=0x5]=_0x3674d4(0x1da),_0x4d7738[_0x4d7738['ALREADY_EXISTS']=0x6]=_0x3674d4(0x438),_0x4d7738[_0x4d7738['INVALID_ARGUMENT']=0x7]=_0x3674d4(0x344),_0x4d7738[_0x4d7738[_0x3674d4(0x180)]=0x8]='TOO_MANY_REQUESTS',_0x4d7738[_0x4d7738['COMPLETION_FINISHED']=0x9]=_0x3674d4(0x200),_0x4d7738[_0x4d7738[_0x3674d4(0x2d8)]=0xa]=_0x3674d4(0x2d8),_0x4d7738[_0x4d7738[_0x3674d4(0x43f)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4d7738[_0x4d7738[_0x3674d4(0x395)]=0x1771]=_0x3674d4(0x395),_0x4d7738[_0x4d7738[_0x3674d4(0x32c)]=0x1772]=_0x3674d4(0x32c),_0x4d7738[_0x4d7738[_0x3674d4(0x11a)]=0x1773]=_0x3674d4(0x11a),_0x4d7738[_0x4d7738[_0x3674d4(0x2e2)]=0x1b59]='APPLY_REJECT',_0x4d7738[_0x4d7738[_0x3674d4(0x309)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4d7738[_0x4d7738[_0x3674d4(0x23a)]=0x1b5b]=_0x3674d4(0x23a),_0x4d7738[_0x4d7738[_0x3674d4(0x1bd)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4d7738[_0x4d7738['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x4d7738[_0x4d7738[_0x3674d4(0x2b3)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4d7738[_0x4d7738['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3674d4(0x38d),_0x4d7738[_0x4d7738[_0x3674d4(0x2cf)]=0x232a]=_0x3674d4(0x2cf),_0x4d7738[_0x4d7738[_0x3674d4(0x301)]=0x232b]=_0x3674d4(0x301),_0x4d7738[_0x4d7738[_0x3674d4(0x3af)]=0x232c]=_0x3674d4(0x3af),_0x4d7738[_0x4d7738[_0x3674d4(0x207)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4d7738[_0x4d7738[_0x3674d4(0x1b7)]=0x2711]=_0x3674d4(0x1b7),_0x4d7738[_0x4d7738[_0x3674d4(0x204)]=0x2712]=_0x3674d4(0x204),_0x4d7738[_0x4d7738['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3674d4(0x277),_0x4d7738[_0x4d7738[_0x3674d4(0x2ca)]=0x2714]=_0x3674d4(0x2ca),_0x4d7738[_0x4d7738['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3674d4(0x217),_0x4d7738[_0x4d7738['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4d7738[_0x4d7738[_0x3674d4(0x285)]=0x2ee2]=_0x3674d4(0x285),_0x4d7738[_0x4d7738[_0x3674d4(0x259)]=0x2ee3]=_0x3674d4(0x259),_0x4d7738[_0x4d7738[_0x3674d4(0x1dc)]=0x2ee4]=_0x3674d4(0x1dc),_0x4d7738[_0x4d7738['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3674d4(0x237),_0x4d7738[_0x4d7738[_0x3674d4(0x14e)]=-0x1]=_0x3674d4(0x14e),_0x4d7738))(_0x4c4268||{}),_0x50ca95=(_0x505f8e=>(_0x505f8e[_0x505f8e[_0x3674d4(0x241)]=0x0]='UNIVER_UNKNOWN',_0x505f8e[_0x505f8e['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x505f8e[_0x505f8e['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x505f8e[_0x505f8e[_0x3674d4(0x42c)]=0x3]=_0x3674d4(0x42c),_0x505f8e[_0x505f8e[_0x3674d4(0x1be)]=0x4]=_0x3674d4(0x1be),_0x505f8e[_0x505f8e[_0x3674d4(0x14e)]=-0x1]=_0x3674d4(0x14e),_0x505f8e))(_0x50ca95||{}),_0xc6a287=(_0x119023=>(_0x119023[_0x119023[_0x3674d4(0x386)]=0x0]='UNKNOWN_CMD',_0x119023[_0x119023[_0x3674d4(0x158)]=0x1]=_0x3674d4(0x158),_0x119023[_0x119023['JOIN']=0x2]=_0x3674d4(0x40d),_0x119023[_0x119023[_0x3674d4(0x286)]=0x3]=_0x3674d4(0x286),_0x119023[_0x119023[_0x3674d4(0x1e1)]=0x4]=_0x3674d4(0x1e1),_0x119023[_0x119023[_0x3674d4(0x131)]=0x5]=_0x3674d4(0x131),_0x119023[_0x119023[_0x3674d4(0x116)]=0x6]=_0x3674d4(0x116),_0x119023[_0x119023[_0x3674d4(0x14e)]=-0x1]=_0x3674d4(0x14e),_0x119023))(_0xc6a287||{}),_0x1320ad=(_0x4c4461=>(_0x4c4461[_0x4c4461[_0x3674d4(0x29b)]=0x0]=_0x3674d4(0x29b),_0x4c4461[_0x4c4461['OK']=0x1]='OK',_0x4c4461[_0x4c4461[_0x3674d4(0x3b1)]=0x2]=_0x3674d4(0x3b1),_0x4c4461[_0x4c4461['JOIN_ROOM_FULL']=0x3e9]=_0x3674d4(0x206),_0x4c4461[_0x4c4461['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x3674d4(0x34a),_0x4c4461[_0x4c4461[_0x3674d4(0x35c)]=0x3eb]=_0x3674d4(0x35c),_0x4c4461[_0x4c4461[_0x3674d4(0x3db)]=0x3ec]=_0x3674d4(0x3db),_0x4c4461[_0x4c4461['UNRECOGNIZED']=-0x1]=_0x3674d4(0x14e),_0x4c4461))(_0x1320ad||{}),_0x6b5d5c=(_0x1f6796=>(_0x1f6796[_0x1f6796['Undefined']=0x0]=_0x3674d4(0x1e5),_0x1f6796[_0x1f6796[_0x3674d4(0x3cc)]=0x1]=_0x3674d4(0x3cc),_0x1f6796[_0x1f6796[_0x3674d4(0x123)]=0x2]=_0x3674d4(0x123),_0x1f6796[_0x1f6796[_0x3674d4(0x32b)]=0x3]='UnitEmbedded',_0x1f6796[_0x1f6796[_0x3674d4(0x36f)]=0x4]=_0x3674d4(0x36f),_0x1f6796[_0x1f6796[_0x3674d4(0x14e)]=-0x1]=_0x3674d4(0x14e),_0x1f6796))(_0x6b5d5c||{});const _0x3edafe=_0x3674d4(0x1ec),_0x590690={};var _0x423d42=(_0x1d6e12=>(_0x1d6e12[_0x3674d4(0x3f1)]=_0x3674d4(0x3f1),_0x1d6e12[_0x3674d4(0xdf)]='PERMISSION_DENIED',_0x1d6e12[_0x3674d4(0x3d4)]=_0x3674d4(0x3d4),_0x1d6e12[_0x3674d4(0x1e6)]=_0x3674d4(0x1e6),_0x1d6e12[_0x3674d4(0x2a7)]=_0x3674d4(0x2a7),_0x1d6e12[_0x3674d4(0x17b)]=_0x3674d4(0x17b),_0x1d6e12[_0x3674d4(0x3a8)]=_0x3674d4(0x3a8),_0x1d6e12[_0x3674d4(0x1ae)]='SUBMIT_CHANGESET_TIMEOUT',_0x1d6e12))(_0x423d42||{});class _0x42d231{constructor(){var _0x5e44b9=_0x3674d4;_0x47ca49(this,_0x5e44b9(0x280),new _0x377325[(_0x5e44b9(0x2b0))]()),_0x47ca49(this,'event$',this[_0x5e44b9(0x280)]['asObservable']());}[_0x3674d4(0x28b)](_0x21abcd){var _0x37c1af=_0x3674d4;this[_0x37c1af(0x280)][_0x37c1af(0x317)](_0x21abcd);}}const _0x40b6f5=_0x1db671['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function _0x3f44a3(_0x32ca1d){var _0x1541d6=_0x3674d4,_0x493b98,_0x9bbf58,_0x496231,_0x18b635,_0x544add;const _0xc9e5b8=_0x32ca1d[_0x1541d6(0x34e)],_0x326bf9=JSON['parse'](_0xc9e5b8);switch(_0x326bf9['cmd']){case _0xc6a287[_0x1541d6(0x131)]:case _0xc6a287[_0x1541d6(0x158)]:{const _0x52b5b9=_0x326bf9['infoRsp'];return{..._0x326bf9,'data':_0x52b5b9,'cmd':_0x326bf9[_0x1541d6(0x29f)]};}case _0xc6a287[_0x1541d6(0x40d)]:{const _0x379daa=_0x326bf9[_0x1541d6(0x35f)];return{..._0x326bf9,'data':_0x379daa,'cmd':_0x326bf9[_0x1541d6(0x29f)]};}case _0xc6a287[_0x1541d6(0x116)]:{const _0x36f9c8=_0x326bf9[_0x1541d6(0x1d3)];switch(_0x36f9c8[_0x1541d6(0x339)]){case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x430)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':(_0x493b98=_0x36f9c8[_0x1541d6(0x1a5)])==null?void 0x0:_0x493b98['cs']},'cmd':_0x326bf9['cmd']};case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x44f)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':(_0x9bbf58=_0x36f9c8[_0x1541d6(0x41d)])==null?void 0x0:_0x9bbf58['cs']},'cmd':_0x326bf9['cmd']};case _0x473659['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x326bf9,'data':{..._0x36f9c8,'data':(_0x496231=_0x36f9c8['newCsEvent'])==null?void 0x0:_0x496231['cs']},'cmd':_0x326bf9[_0x1541d6(0x29f)]};case _0x473659['CollaborationEvent'][_0x1541d6(0x3b6)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':(_0x18b635=_0x36f9c8['csRejEvent'])==null?void 0x0:_0x18b635['cs']},'cmd':_0x326bf9[_0x1541d6(0x29f)]};case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x2cc)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':(_0x544add=_0x36f9c8['csShouldRetryEvent'])==null?void 0x0:_0x544add['cs']},'cmd':_0x326bf9[_0x1541d6(0x29f)]};case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x114)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':_0x36f9c8['updateCursorEvent']},'cmd':_0x326bf9[_0x1541d6(0x29f)]};case _0x473659['CollaborationEvent'][_0x1541d6(0x22f)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':_0x36f9c8['joinEvent']},'cmd':_0x326bf9[_0x1541d6(0x29f)]};case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x106)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':_0x36f9c8[_0x1541d6(0x39f)]},'cmd':_0x326bf9[_0x1541d6(0x29f)]};case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x35a)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':_0x36f9c8['liveShareNewHost']},'cmd':_0x326bf9['cmd']};case _0x473659[_0x1541d6(0x2be)]['LIVESHARE_FETCH_OPERATIONS']:case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x1cb)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':_0x36f9c8[_0x1541d6(0x396)]},'cmd':_0x326bf9[_0x1541d6(0x29f)]};case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x154)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':_0x36f9c8['liveShareNewHost']},'cmd':_0x326bf9[_0x1541d6(0x29f)]};case _0x473659['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x326bf9,'data':_0x36f9c8,'cmd':_0x326bf9[_0x1541d6(0x29f)]};case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x325)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':_0x36f9c8[_0x1541d6(0x341)]},'cmd':_0x326bf9['cmd']};case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x221)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':_0x36f9c8[_0x1541d6(0x2d5)]},'cmd':_0x326bf9['cmd']};case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x294)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':_0x36f9c8[_0x1541d6(0x39b)]},'cmd':_0x326bf9[_0x1541d6(0x29f)]};case _0x473659[_0x1541d6(0x2be)][_0x1541d6(0x3ae)]:return{..._0x326bf9,'data':{..._0x36f9c8,'data':_0x36f9c8[_0x1541d6(0x21d)]},'cmd':_0x326bf9[_0x1541d6(0x29f)]};default:return _0x326bf9;}}default:return _0x326bf9;}}function _0xd3fbbe(_0x24be9d){var _0x78cca3=_0x3674d4;switch(_0x24be9d['cmd']){case _0xc6a287[_0x78cca3(0x131)]:case _0xc6a287['HELLO']:return JSON[_0x78cca3(0x109)]({'cmd':_0x24be9d['cmd'],'routeKey':_0x24be9d[_0x78cca3(0x306)]});case _0xc6a287[_0x78cca3(0x1e1)]:{let _0x2b5adc;switch(_0x24be9d[_0x78cca3(0x34e)]['eventID']){case _0x473659[_0x78cca3(0x2be)]['UPDATE_CURSOR']:{_0x2b5adc={'eventID':_0x473659[_0x78cca3(0x2be)][_0x78cca3(0x114)],'updateCursorEvent':_0x24be9d['data'][_0x78cca3(0x34e)]};break;}case _0x473659[_0x78cca3(0x2be)]['USERS_LEAVE']:{_0x2b5adc={'eventID':_0x473659[_0x78cca3(0x2be)][_0x78cca3(0x106)],'leaveEvent':_0x24be9d[_0x78cca3(0x34e)][_0x78cca3(0x34e)]};break;}case _0x473659[_0x78cca3(0x2be)][_0x78cca3(0x22f)]:{_0x2b5adc={'eventID':_0x473659[_0x78cca3(0x2be)][_0x78cca3(0x22f)],'joinEvent':_0x24be9d[_0x78cca3(0x34e)][_0x78cca3(0x34e)]};break;}case _0x473659[_0x78cca3(0x2be)][_0x78cca3(0x35a)]:{_0x2b5adc={'eventID':_0x473659[_0x78cca3(0x2be)][_0x78cca3(0x35a)],'liveShareNewHost':_0x24be9d[_0x78cca3(0x34e)][_0x78cca3(0x34e)]};break;}case _0x473659[_0x78cca3(0x2be)][_0x78cca3(0x1cb)]:{_0x2b5adc={'eventID':_0x473659['CollaborationEvent'][_0x78cca3(0x1cb)],'liveShareOperation':_0x24be9d[_0x78cca3(0x34e)][_0x78cca3(0x34e)]};break;}case _0x473659['CollaborationEvent'][_0x78cca3(0x154)]:{_0x2b5adc={'eventID':_0x473659[_0x78cca3(0x2be)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x24be9d[_0x78cca3(0x34e)][_0x78cca3(0x34e)]};break;}case _0x473659['CollaborationEvent'][_0x78cca3(0x461)]:{_0x2b5adc={'eventID':_0x473659[_0x78cca3(0x2be)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x24be9d[_0x78cca3(0x34e)][_0x78cca3(0x34e)]};break;}case _0x473659[_0x78cca3(0x2be)][_0x78cca3(0x3c2)]:{_0x2b5adc={'eventID':_0x473659[_0x78cca3(0x2be)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2b5adc={'eventID':_0x24be9d[_0x78cca3(0x34e)][_0x78cca3(0x339)]};}return JSON[_0x78cca3(0x109)]({'cmd':_0x24be9d[_0x78cca3(0x29f)],'routeKey':_0x24be9d[_0x78cca3(0x306)],'collaMsg':_0x2b5adc});}case _0xc6a287[_0x78cca3(0x40d)]:return JSON[_0x78cca3(0x109)]({'cmd':_0x24be9d[_0x78cca3(0x29f)],'routeKey':_0x24be9d['routeKey'],'joinReq':_0x24be9d[_0x78cca3(0x34e)]});case _0xc6a287['LEAVE']:return JSON[_0x78cca3(0x109)]({'cmd':_0x24be9d[_0x78cca3(0x29f)],'routeKey':_0x24be9d['routeKey'],'leaveReq':_0x24be9d[_0x78cca3(0x34e)]});default:throw new Error(_0x78cca3(0x257));}}var _0x56188c=Object['getOwnPropertyDescriptor'],_0x1b7013=(_0x4814eb,_0xa8848a,_0x5843ca,_0x375c15)=>{for(var _0x26cd6d=_0x375c15>0x1?void 0x0:_0x375c15?_0x56188c(_0xa8848a,_0x5843ca):_0xa8848a,_0x8bfede=_0x4814eb['length']-0x1,_0x3f1a13;_0x8bfede>=0x0;_0x8bfede--)(_0x3f1a13=_0x4814eb[_0x8bfede])&&(_0x26cd6d=_0x3f1a13(_0x26cd6d)||_0x26cd6d);return _0x26cd6d;},_0x234348=(_0x505612,_0x4c3f0e)=>(_0x22546c,_0x391976)=>_0x4c3f0e(_0x22546c,_0x391976,_0x505612);const _0x5d68bb=_0x1db671['createIdentifier'](_0x3674d4(0x1a2));function _0x4ed81b(_0x194379,_0x3b3703,_0x34cc76){var _0x1aefc9=_0x3674d4;return _0x194379+'/'+_0x3b3703+'/unit/'+_0x34cc76+_0x1aefc9(0x197);}_0x13c6bf['CollaborationSocketService']=class extends _0x1db671[_0x3674d4(0x1fe)]{constructor(_0x3a9cb9,_0x274a69,_0x317a13,_0x35a8b9,_0x225db6){var _0x2ab58e=_0x3674d4;super(),this['_injector']=_0x3a9cb9,this['_httpService']=_0x274a69,this[_0x2ab58e(0x3c5)]=_0x317a13,this['_logService']=_0x35a8b9,this[_0x2ab58e(0x2b9)]=_0x225db6;}[_0x3674d4(0x2d9)](_0x2a0430){var _0x4ae479=_0x3674d4;const _0x32ae60=this[_0x4ae479(0x44d)][_0x4ae479(0x3cd)](_0x160ac5[_0x4ae479(0x152)]);if(!_0x32ae60)throw new Error(_0x4ae479(0x203));const _0x56a201=_0x32ae60['createSocket'](_0x2a0430);if(!_0x56a201)throw new Error(_0x4ae479(0x43d));const _0x3b4be0=new _0x1db671[(_0x4ae479(0x14d))](),_0x4b26b6=new _0x377325['Subject']();_0x3b4be0[_0x4ae479(0x17c)](_0x56a201[_0x4ae479(0x3a0)]['subscribe'](_0x2eb1a0=>_0x4b26b6[_0x4ae479(0x317)](_0x2eb1a0))),_0x3b4be0[_0x4ae479(0x17c)](_0x1db671[_0x4ae479(0x161)](()=>_0x4b26b6[_0x4ae479(0x357)]()));const _0x385be9=new _0x377325[(_0x4ae479(0x2b0))]();_0x3b4be0[_0x4ae479(0x17c)](_0x56a201[_0x4ae479(0x3ce)]['subscribe'](_0x1774c7=>_0x385be9['next'](_0x1774c7))),_0x3b4be0['add'](_0x1db671['toDisposable'](()=>_0x385be9['complete']()));const _0x9d5b35=new _0x377325[(_0x4ae479(0x2b0))]();_0x3b4be0[_0x4ae479(0x17c)](_0x56a201['message$'][_0x4ae479(0x431)](_0x2a87a7=>{var _0x2839b9=_0x4ae479;const _0x480147=_0x3f44a3(_0x2a87a7);_0x9d5b35[_0x2839b9(0x317)](_0x480147);})),_0x3b4be0[_0x4ae479(0x17c)](_0x1db671[_0x4ae479(0x161)](()=>_0x9d5b35[_0x4ae479(0x357)]()));let _0x560832;const _0xa262cd=()=>{var _0x5cae10=_0x4ae479;_0x385be9['next'](new Event('connection\x20error')),_0x4b26b6[_0x5cae10(0x317)](new Event(_0x5cae10(0x3a6))),_0x560832[_0x5cae10(0x33b)]();};return _0x560832={'memberID':'','close$':_0x4b26b6[_0x4ae479(0x423)](),'error$':_0x385be9['asObservable'](),'open$':_0x56a201[_0x4ae479(0x36c)],'message$':_0x9d5b35[_0x4ae479(0x423)](),'send':_0xe55b9b=>{var _0x10c792=_0x4ae479;if(_0xe55b9b['cmd']===_0xc6a287[_0x10c792(0x1e1)]){if(_0xe55b9b[_0x10c792(0x34e)][_0x10c792(0x339)]===_0x473659[_0x10c792(0x2be)][_0x10c792(0x312)]){this[_0x10c792(0x441)](_0x560832,_0xe55b9b[_0x10c792(0x34e)])['catch'](_0x80fa7e=>{var _0x3eeb86=_0x10c792;this[_0x3eeb86(0x43a)][_0x3eeb86(0x36a)](_0x80fa7e),_0xa262cd();});return;}if(_0xe55b9b[_0x10c792(0x34e)][_0x10c792(0x339)]===_0x473659['CollaborationEvent'][_0x10c792(0x1aa)]){const _0x399e13=_0xe55b9b[_0x10c792(0x34e)];this[_0x10c792(0x439)](_0x399e13)['then'](_0x58627e=>{var _0x499e63=_0x10c792;_0x9d5b35[_0x499e63(0x317)]({'cmd':_0xc6a287[_0x499e63(0x116)],'code':_0x1320ad['OK'],'routeKey':_0x399e13[_0x499e63(0x34e)][_0x499e63(0x36d)],'routeType':'','data':{'eventID':_0x473659['CollaborationEvent'][_0x499e63(0x143)],'data':{'changesets':_0x58627e}}});})[_0x10c792(0x447)](_0x4e9417=>{var _0x9b4c30=_0x10c792;this[_0x9b4c30(0x43a)]['error'](_0x4e9417),_0xa262cd();});return;}}_0x56a201[_0x10c792(0x322)](_0xd3fbbe(_0xe55b9b));},'close':()=>{var _0x563c5c=_0x4ae479;_0x56a201[_0x563c5c(0x33b)](),_0x3b4be0[_0x563c5c(0x379)]();}},_0x560832;}async['_submitChangeset'](_0x3369cf,_0x2c5341){var _0x256fbe=_0x3674d4,_0x2144ed,_0x5845d3;const {unitType:_0x1b37b2,unitID:_0xd727ca,changeset:_0x3a0acd}=_0x2c5341[_0x256fbe(0x34e)],_0x4b3cce={'unitID':_0xd727ca,'memberID':_0x3369cf[_0x256fbe(0x103)],'type':_0x1b37b2,'changeset':_0x473659[_0x256fbe(0x1c3)](_0x3a0acd)},_0x47c157=this['_configService'][_0x256fbe(0x3f5)](_0x399e8e),_0x22381f=this[_0x256fbe(0x3c5)][_0x256fbe(0x3f5)](_0x3edafe),_0xa3a4a4=_0x4ed81b((_0x5845d3=(_0x2144ed=_0x22381f==null?void 0x0:_0x22381f[_0x256fbe(0x1f2)])!=null?_0x2144ed:_0x47c157)!=null?_0x5845d3:_0x5dd665,_0x1b37b2,_0xd727ca);try{await this[_0x256fbe(0x124)][_0x256fbe(0x18b)](_0xa3a4a4,{'body':_0x4b3cce});}catch(_0x500059){throw this['_logService'][_0x256fbe(0x36a)]('[CollaborationSession]',_0x256fbe(0x19a)),_0x500059;}}async['_fetchMissChangesets'](_0x45aad1){var _0x28b65a=_0x3674d4;const {unitID:_0x33a15e,from:_0x4af561,to:_0x5e51a3,unitType:_0x78ad5}=_0x45aad1[_0x28b65a(0x34e)];return(await this[_0x28b65a(0x2b9)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x33a15e,'type':_0x78ad5,'from':_0x4af561,'to':_0x5e51a3}))[_0x28b65a(0x25d)];}},_0x13c6bf[_0x3674d4(0x364)]=_0x1b7013([_0x234348(0x0,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x12a)])),_0x234348(0x1,_0x1db671[_0x3674d4(0x1ce)](_0x160ac5[_0x3674d4(0x264)])),_0x234348(0x2,_0x1db671[_0x3674d4(0x25a)]),_0x234348(0x3,_0x1db671[_0x3674d4(0x271)]),_0x234348(0x4,_0x473659[_0x3674d4(0x3aa)])],_0x13c6bf[_0x3674d4(0x364)]);const _0x320f57=_0x3674d4(0x3f2);function _0x2cf5dc(_0x5d39a3){var _0x1ad64a=_0x3674d4;return JSON[_0x1ad64a(0x109)](_0x5d39a3)[_0x1ad64a(0x446)];}class _0xad72e5{constructor(){var _0x39ab9d=_0x3674d4;_0x47ca49(this,_0x39ab9d(0x268),new _0x377325[(_0x39ab9d(0x2b0))]()),_0x47ca49(this,_0x39ab9d(0x2da),this[_0x39ab9d(0x268)]['asObservable']());}['onCommentUpdate'](_0x4f5cf3){var _0x40da78=_0x3674d4;this[_0x40da78(0x268)][_0x40da78(0x317)](_0x4f5cf3);}}var _0x530624=Object[_0x3674d4(0x2f2)],_0x3069b4=(_0x41311b,_0x5c1a2c,_0x23e324,_0x1c008d)=>{var _0x11f84b=_0x3674d4;for(var _0x367b86=_0x1c008d>0x1?void 0x0:_0x1c008d?_0x530624(_0x5c1a2c,_0x23e324):_0x5c1a2c,_0x3a53bc=_0x41311b[_0x11f84b(0x446)]-0x1,_0x13c603;_0x3a53bc>=0x0;_0x3a53bc--)(_0x13c603=_0x41311b[_0x3a53bc])&&(_0x367b86=_0x13c603(_0x367b86)||_0x367b86);return _0x367b86;},_0x17f2e9=(_0x395279,_0x47e996)=>(_0x98307c,_0x3ba063)=>_0x47e996(_0x98307c,_0x3ba063,_0x395279);_0x13c6bf[_0x3674d4(0x1b3)]=class extends _0x1db671[_0x3674d4(0x1fe)]{constructor(_0xbd99f8,_0x14cffe){var _0x4c52c6=_0x3674d4;super(),_0x47ca49(this,_0x4c52c6(0x1fd),new Map()),_0x47ca49(this,'_roomCreated$',new _0x377325[(_0x4c52c6(0x2b0))]()),(this['_univerInstanceService']=_0xbd99f8,this[_0x4c52c6(0x192)]=_0x14cffe,this[_0x4c52c6(0x273)](_0x377325[_0x4c52c6(0x2cd)](this[_0x4c52c6(0x3bb)][_0x4c52c6(0xec)](_0x1db671['UniverInstanceType'][_0x4c52c6(0x258)])[_0x4c52c6(0x242)](_0x1ca1cf['map'](_0x65c833=>_0x65c833[_0x4c52c6(0x304)]())),this[_0x4c52c6(0x3bb)][_0x4c52c6(0xec)](_0x1db671[_0x4c52c6(0x45a)][_0x4c52c6(0x414)])[_0x4c52c6(0x242)](_0x1ca1cf[_0x4c52c6(0x3a3)](_0x33b409=>_0x33b409[_0x4c52c6(0x304)]())),this['_univerInstanceService'][_0x4c52c6(0xec)](_0x1db671[_0x4c52c6(0x45a)][_0x4c52c6(0x42c)])['pipe'](_0x1ca1cf['map'](_0x33a9f3=>_0x33a9f3[_0x4c52c6(0x304)]())))['subscribe'](_0x5b6dc4=>this[_0x4c52c6(0x353)](_0x5b6dc4))));}[_0x3674d4(0x1cd)](_0x43f56d){var _0x37478e=_0x3674d4;return this[_0x37478e(0x1fd)][_0x37478e(0x298)](_0x43f56d)?_0x377325['of'](this['_roomMembers']['get'](_0x43f56d)):this['_roomCreated$']['pipe'](_0x1ca1cf[_0x37478e(0x3a3)](_0x2946c2=>{var _0x1b424f=_0x37478e;if(_0x2946c2===_0x43f56d)return this[_0x1b424f(0x1fd)]['get'](_0x2946c2);}));}[_0x3674d4(0x3e0)](_0x2d277c){var _0x41b66f=_0x3674d4;this[_0x41b66f(0x192)][_0x41b66f(0x3e0)](_0x2d277c);}[_0x3674d4(0x421)](){var _0x34d350=_0x3674d4;return this['_userManagerService'][_0x34d350(0x421)]();}[_0x3674d4(0x229)](_0x9c6ebe,_0x3f564c){var _0x243739=_0x3674d4;let _0x5db38a=this[_0x243739(0x1fd)]['get'](_0x9c6ebe);_0x5db38a||(_0x5db38a=new _0x3bf0fa(),this[_0x243739(0x1fd)][_0x243739(0x35d)](_0x9c6ebe,_0x5db38a),this['_roomCreated$'][_0x243739(0x317)](_0x9c6ebe)),_0x5db38a[_0x243739(0x229)](_0x3f564c);}[_0x3674d4(0x1d8)](_0x275542,_0x3ef13c){var _0x5a8a71=_0x3674d4;const _0x1872d3=this['_roomMembers'][_0x5a8a71(0x3cd)](_0x275542);_0x1872d3&&_0x1872d3['removeMember'](_0x3ef13c);}['getRoom'](_0x5dc339){var _0x289b5a=_0x3674d4;return this[_0x289b5a(0x1fd)]['get'](_0x5dc339);}[_0x3674d4(0x284)](_0x7f0b42,_0x54ecde){var _0x4c92f1=_0x3674d4;const _0x6771fa=this['_roomMembers'][_0x4c92f1(0x3cd)](_0x7f0b42);if(_0x6771fa)return _0x6771fa[_0x4c92f1(0x284)](_0x54ecde);}[_0x3674d4(0x353)](_0x17a78a){var _0x3daa0e=_0x3674d4;const _0x3e296e=this[_0x3daa0e(0x1fd)][_0x3daa0e(0x3cd)](_0x17a78a);_0x3e296e&&(_0x3e296e['dispose'](),this['_roomMembers'][_0x3daa0e(0xe9)](_0x17a78a));}[_0x3674d4(0x379)](){var _0x29ca83=_0x3674d4;this[_0x29ca83(0x1fd)][_0x29ca83(0x144)](_0x5b93c5=>_0x5b93c5[_0x29ca83(0x379)]()),this[_0x29ca83(0x1fd)]['clear'](),this[_0x29ca83(0x23c)]['complete']();}},_0x13c6bf['MemberService']=_0x3069b4([_0x17f2e9(0x0,_0x1db671[_0x3674d4(0x2fa)]),_0x17f2e9(0x1,_0x1db671['Inject'](_0x1db671[_0x3674d4(0x45b)]))],_0x13c6bf['MemberService']);class _0x3bf0fa extends _0x1db671[_0x3674d4(0x1fe)]{constructor(){var _0x119e33=_0x3674d4;super(...arguments),_0x47ca49(this,_0x119e33(0x1e0),new Map()),_0x47ca49(this,_0x119e33(0x208),new _0x377325[(_0x119e33(0x3d8))](this[_0x119e33(0x1e0)])),_0x47ca49(this,_0x119e33(0x239),this['_members$']['asObservable']());}['dispose'](){var _0x15f484=_0x3674d4;this[_0x15f484(0x1e0)][_0x15f484(0xf2)]();}[_0x3674d4(0x229)](_0x446940){var _0x1a271a=_0x3674d4;this['_members']['set'](_0x446940[_0x1a271a(0x103)],_0x446940),this[_0x1a271a(0x199)]();}[_0x3674d4(0x1d8)](_0x3ee11e){var _0x115af2=_0x3674d4;this[_0x115af2(0x1e0)][_0x115af2(0xe9)](_0x3ee11e);}[_0x3674d4(0x284)](_0x5b2883){var _0x51ebd3=_0x3674d4;return this[_0x51ebd3(0x1e0)][_0x51ebd3(0x3cd)](_0x5b2883);}[_0x3674d4(0x16b)](){var _0xfdfa14=_0x3674d4;return Array[_0xfdfa14(0x2d4)](this[_0xfdfa14(0x1e0)][_0xfdfa14(0x29c)]());}['_emitMembers'](){this['_members$']['next'](this['_members']);}}var _0xf99313=Object['getOwnPropertyDescriptor'],_0x243667=(_0x4d64b8,_0x1b95df,_0x39dbfb,_0xe16019)=>{var _0x59db8d=_0x3674d4;for(var _0x403f6a=_0xe16019>0x1?void 0x0:_0xe16019?_0xf99313(_0x1b95df,_0x39dbfb):_0x1b95df,_0x1d5931=_0x4d64b8[_0x59db8d(0x446)]-0x1,_0x560439;_0x1d5931>=0x0;_0x1d5931--)(_0x560439=_0x4d64b8[_0x1d5931])&&(_0x403f6a=_0x560439(_0x403f6a)||_0x403f6a);return _0x403f6a;},_0x43b097=(_0x7d2d01,_0x1804e3)=>(_0x2fda5c,_0x335f95)=>_0x1804e3(_0x2fda5c,_0x335f95,_0x7d2d01),_0x284fc8=(_0x5515f0=>(_0x5515f0[_0x5515f0[_0x3674d4(0x226)]=0x0]='IDLE',_0x5515f0[_0x5515f0[_0x3674d4(0x362)]=0x1]='JOINING',_0x5515f0[_0x5515f0[_0x3674d4(0x30b)]=0x2]=_0x3674d4(0x30b),_0x5515f0[_0x5515f0[_0x3674d4(0x27e)]=0x3]=_0x3674d4(0x27e),_0x5515f0))(_0x284fc8||{});const _0x5f28cd={[_0x1320ad[_0x3674d4(0x3b1)]]:'session.join-failed',[_0x1320ad['JOIN_ROOM_FULL']]:_0x3674d4(0x33a),[_0x1320ad[_0x3674d4(0x34a)]]:_0x3674d4(0x1dd),[_0x1320ad[_0x3674d4(0x35c)]]:_0x3674d4(0x2b4),[_0x1320ad[_0x3674d4(0x3db)]]:_0x3674d4(0x151)};_0x13c6bf[_0x3674d4(0x1cf)]=class extends _0x1db671[_0x3674d4(0x37e)]{constructor(_0x212496,_0x1b29b4,_0x3e994e,_0x592ae3,_0x37f0d7,_0x20ebf0,_0x21d29b,_0x444486,_0x2cc997){var _0x515a7b=_0x3674d4;super(),_0x47ca49(this,_0x515a7b(0x3b2),new _0x377325['BehaviorSubject'](0x0)),_0x47ca49(this,_0x515a7b(0x29a),this['_sessionStatus$'][_0x515a7b(0x423)]()),_0x47ca49(this,_0x515a7b(0x280),new _0x377325[(_0x515a7b(0x2b0))]()),_0x47ca49(this,_0x515a7b(0x3f8),this[_0x515a7b(0x280)][_0x515a7b(0x423)]()),_0x47ca49(this,_0x515a7b(0x141)),_0x47ca49(this,'_socketMessageSubscription'),_0x47ca49(this,'_collaborationTimeoutTimer'),_0x47ca49(this,_0x515a7b(0x253),!0x1),_0x47ca49(this,_0x515a7b(0x2b5),null),(this[_0x515a7b(0x1e3)]=_0x212496,this[_0x515a7b(0x43a)]=_0x3e994e,this['_configService']=_0x592ae3,this['_localeService']=_0x37f0d7,this['_memberService']=_0x20ebf0,this['_commentService']=_0x21d29b,this[_0x515a7b(0x459)]=_0x444486,this[_0x515a7b(0xff)]=_0x2cc997,this[_0x515a7b(0x253)]=!!this[_0x515a7b(0xff)],_0x1b29b4[_0x515a7b(0x242)](_0x377325[_0x515a7b(0x429)](this[_0x515a7b(0x42d)]))[_0x515a7b(0x431)](_0x25b160=>{var _0x379309=_0x515a7b,_0x593736;typeof _0x25b160>'u'||(this[_0x379309(0x141)]=_0x25b160,_0x25b160?(this[_0x379309(0x376)](_0x25b160),this[_0x379309(0x1ea)]=_0x25b160[_0x379309(0x134)]['subscribe'](_0x38b27c=>{var _0x3050de=_0x379309;_0x38b27c[_0x3050de(0x306)]===this['_unitID']&&this[_0x3050de(0x444)](_0x38b27c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x379309(0x3b2)][_0x379309(0x317)](0x2),(_0x593736=this[_0x379309(0x1ea)])==null||_0x593736['unsubscribe'](),this[_0x379309(0x1ea)]=null));}));}get[_0x3674d4(0x24f)](){var _0x3fa327=_0x3674d4;return this[_0x3fa327(0x3b2)]['getValue']();}['getMemberID'](){var _0x2f00b5=_0x3674d4,_0x3b24ba,_0x42ce93;return(_0x42ce93=(_0x3b24ba=this['_socket'])==null?void 0x0:_0x3b24ba[_0x2f00b5(0x103)])!=null?_0x42ce93:null;}[_0x3674d4(0x379)](){var _0x3bb064=_0x3674d4;super[_0x3bb064(0x379)](),this['dispose$'][_0x3bb064(0x317)](),this[_0x3bb064(0x42d)]['complete']();}[_0x3674d4(0x33b)](){var _0x32f005=_0x3674d4,_0x12798b,_0x530148;this[_0x32f005(0x248)](),(_0x12798b=this[_0x32f005(0x141)])==null||_0x12798b['send']({'cmd':_0xc6a287[_0x32f005(0x286)],'data':{'roomID':this[_0x32f005(0x1e3)]}}),(_0x530148=this[_0x32f005(0x141)])==null||_0x530148[_0x32f005(0x33b)](),this[_0x32f005(0x280)]['complete'](),this[_0x32f005(0x3b2)]['complete'](),this[_0x32f005(0x379)]();}['_onCombEvent'](_0x4fc20a){var _0x535f97=_0x3674d4;_0x4fc20a[_0x535f97(0x29f)]===_0xc6a287[_0x535f97(0x40d)]?this[_0x535f97(0x2bd)](_0x4fc20a):_0x4fc20a[_0x535f97(0x29f)]===_0xc6a287['RECV']&&this['_onRecvEvent'](_0x4fc20a);}[_0x3674d4(0x376)](_0x7536ea){var _0x344b56=_0x3674d4;this[_0x344b56(0x3b2)]['next'](0x1),_0x7536ea['send']({'cmd':_0xc6a287['JOIN'],'routeKey':this[_0x344b56(0x1e3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x344b56(0x1e3)]}]}});}['_onJoinRoomEvent'](_0x2624a6){var _0x183d87=_0x3674d4,_0xb9b6d8;if(_0x2624a6[_0x183d87(0x14c)]in _0x5f28cd){this['_collaborationUIEventService'][_0x183d87(0x28b)]({'id':_0x423d42[_0x183d87(0x2a7)],'data':_0x5f28cd[_0x2624a6[_0x183d87(0x14c)]]}),this[_0x183d87(0x3b2)][_0x183d87(0x317)](0x2);return;}this[_0x183d87(0x3b2)][_0x183d87(0x317)](0x3);const _0x1f6ec9=(_0xb9b6d8=_0x2624a6[_0x183d87(0x34e)][_0x183d87(0x453)][this[_0x183d87(0x1e3)]])==null?void 0x0:_0xb9b6d8['members'];_0x1f6ec9&&_0x1f6ec9[_0x183d87(0x144)](_0x1804fe=>this[_0x183d87(0x132)][_0x183d87(0x229)](this[_0x183d87(0x1e3)],_0x1804fe));}['_onRecvEvent'](_0x40f853){var _0x41436e=_0x3674d4;try{const _0xfa84fc=_0x40f853['data'];switch(_0xfa84fc[_0x41436e(0x339)]){case _0x473659[_0x41436e(0x2be)][_0x41436e(0x22f)]:this[_0x41436e(0x380)](_0xfa84fc),this[_0x41436e(0x280)][_0x41436e(0x317)](_0xfa84fc);break;case _0x473659[_0x41436e(0x2be)][_0x41436e(0x106)]:this[_0x41436e(0x2f8)](_0xfa84fc),this[_0x41436e(0x280)]['next'](_0xfa84fc);break;case _0x473659['CollaborationEvent'][_0x41436e(0x44f)]:case _0x473659['CollaborationEvent'][_0x41436e(0x2cc)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x41436e(0x418)](),this[_0x41436e(0x280)]['next'](_0xfa84fc);break;case _0x473659['CollaborationEvent']['MSG_FOR_ERROR']:this['_logService'][_0x41436e(0x36a)](_0x41436e(0x385)+JSON[_0x41436e(0x109)](_0xfa84fc)),this[_0x41436e(0x280)][_0x41436e(0x317)](_0xfa84fc);break;case _0x473659[_0x41436e(0x2be)][_0x41436e(0x325)]:this[_0x41436e(0x349)][_0x41436e(0x272)](_0xfa84fc[_0x41436e(0x34e)]),this[_0x41436e(0x280)][_0x41436e(0x317)](_0xfa84fc);break;default:this[_0x41436e(0x280)]['next'](_0xfa84fc);}}catch(_0x3b67d7){this[_0x41436e(0x43a)][_0x41436e(0x36a)](_0x3b67d7,_0x40f853);}}[_0x3674d4(0x380)](_0x1f3e02){var _0x3c08e4=_0x3674d4;this['_memberService'][_0x3c08e4(0x229)](this['_unitID'],_0x1f3e02[_0x3c08e4(0x34e)]);}['_onUserLeave'](_0x7c1538){var _0x2c01b1=_0x3674d4;this[_0x2c01b1(0x132)][_0x2c01b1(0x1d8)](this[_0x2c01b1(0x1e3)],_0x7c1538['data'][_0x2c01b1(0x103)]);}async[_0x3674d4(0x322)](_0x1dafc7,_0x3f8da4){var _0xcca85b=_0x3674d4;if(this['sessionStatus']!==0x3||!this[_0xcca85b(0x141)])throw new Error(_0xcca85b(0x281));try{_0x1dafc7[_0xcca85b(0x339)]===_0x473659[_0xcca85b(0x2be)][_0xcca85b(0x312)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0xcca85b(0x190)](_0x1dafc7)),this[_0xcca85b(0x141)][_0xcca85b(0x322)]({'cmd':_0xc6a287['INGEST'],'routeKey':_0x3f8da4,'routeType':'','data':_0x1dafc7});}catch(_0x5970fe){this[_0xcca85b(0x43a)][_0xcca85b(0x36a)](_0x5970fe);}}[_0x3674d4(0x302)](){var _0x5b7b2e=_0x3674d4,_0x5113ae;this[_0x5b7b2e(0x21a)]=setTimeout(()=>{var _0xda8a2=_0x5b7b2e;this['_collaborationTimeoutTimer']=null,this[_0xda8a2(0x459)]['emitEvent']({'id':_0x423d42['SUBMIT_CHANGESET_TIMEOUT']});},(_0x5113ae=this[_0x5b7b2e(0x3c5)][_0x5b7b2e(0x3f5)](_0x21bc0b))!=null?_0x5113ae:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x2426c4=_0x3674d4;this[_0x2426c4(0x21a)]&&(clearTimeout(this[_0x2426c4(0x21a)]),this[_0x2426c4(0x21a)]=null);}[_0x3674d4(0x190)](_0x362b74){var _0x358a30=_0x3674d4;if(!this[_0x358a30(0x253)])return;const {data:_0x43c763}=_0x362b74,{unitID:_0xb173f0,changeset:_0x193486}=_0x43c763,{mutations:_0x50bc88,type:_0xc51435}=_0x193486;this[_0x358a30(0x2b5)]={'unitId':_0xb173f0,'type':_0xc51435,'startTime':performance[_0x358a30(0x175)](),'stopTime':0x0,'duration':0x0,'size':_0x2cf5dc(_0x50bc88)};}[_0x3674d4(0x26a)](){var _0x2e2d40=_0x3674d4;if(this[_0x2e2d40(0x253)]){if(!this[_0x2e2d40(0x2b5)]){this[_0x2e2d40(0x43a)]['error'](_0x2e2d40(0xe3),_0x2e2d40(0x139));return;}this[_0x2e2d40(0x2b5)][_0x2e2d40(0x377)]=performance[_0x2e2d40(0x175)](),this[_0x2e2d40(0x2b5)]['duration']=this['_telemetryInfo'][_0x2e2d40(0x377)]-this[_0x2e2d40(0x2b5)][_0x2e2d40(0x345)],this[_0x2e2d40(0xff)]['capture'](_0x320f57,this[_0x2e2d40(0x2b5)]),this[_0x2e2d40(0x2b5)]=null;}}[_0x3674d4(0x248)](){var _0xc4de4c=_0x3674d4;this[_0xc4de4c(0x2b5)]=null;}},_0x13c6bf[_0x3674d4(0x1cf)]=_0x243667([_0x43b097(0x2,_0x1db671[_0x3674d4(0x271)]),_0x43b097(0x3,_0x1db671['IConfigService']),_0x43b097(0x4,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x1f6)])),_0x43b097(0x5,_0x1db671[_0x3674d4(0x1ce)](_0x13c6bf[_0x3674d4(0x1b3)])),_0x43b097(0x6,_0x1db671[_0x3674d4(0x1ce)](_0xad72e5)),_0x43b097(0x7,_0x1db671[_0x3674d4(0x1ce)](_0x42d231)),_0x43b097(0x8,_0x1db671[_0x3674d4(0x2c1)](_0x205873[_0x3674d4(0x417)]))],_0x13c6bf['CollaborationSession']);var _0x890e8a=Object[_0x3674d4(0x2f2)],_0x4ea667=(_0x140e38,_0x3bc3bd,_0x18a629,_0x1116ba)=>{var _0x4b3125=_0x3674d4;for(var _0x574349=_0x1116ba>0x1?void 0x0:_0x1116ba?_0x890e8a(_0x3bc3bd,_0x18a629):_0x3bc3bd,_0x5ca737=_0x140e38[_0x4b3125(0x446)]-0x1,_0x53c0e5;_0x5ca737>=0x0;_0x5ca737--)(_0x53c0e5=_0x140e38[_0x5ca737])&&(_0x574349=_0x53c0e5(_0x574349)||_0x574349);return _0x574349;},_0x11acd4=(_0x28afb2,_0x312e6e)=>(_0x169039,_0x5cc9f6)=>_0x312e6e(_0x169039,_0x5cc9f6,_0x28afb2);_0x13c6bf['CollaborationSessionService']=class extends _0x1db671['Disposable']{constructor(_0x3862cc,_0x47defd,_0x33602b,_0x30232f,_0x449ea2,_0x160f3c){var _0x1da85b=_0x3674d4;super(),_0x47ca49(this,_0x1da85b(0x210),new _0x377325[(_0x1da85b(0x3d8))](void 0x0)),_0x47ca49(this,_0x1da85b(0x3a2),this[_0x1da85b(0x210)][_0x1da85b(0x423)]()),_0x47ca49(this,_0x1da85b(0x30e),null),_0x47ca49(this,_0x1da85b(0x462),new Map()),_0x47ca49(this,_0x1da85b(0x416),new _0x377325[(_0x1da85b(0x3d8))](_0x284fc8[_0x1da85b(0x226)])),_0x47ca49(this,_0x1da85b(0x182),this[_0x1da85b(0x416)][_0x1da85b(0x423)]()),_0x47ca49(this,'_socketReady',!0x1),_0x47ca49(this,_0x1da85b(0x3c6)),_0x47ca49(this,_0x1da85b(0x30d),0x0),_0x47ca49(this,_0x1da85b(0x1a1)),_0x47ca49(this,_0x1da85b(0x20d)),(this['_injector']=_0x3862cc,this[_0x1da85b(0x43a)]=_0x47defd,this[_0x1da85b(0x3c5)]=_0x33602b,this[_0x1da85b(0x452)]=_0x30232f,this[_0x1da85b(0x459)]=_0x449ea2,this[_0x1da85b(0x432)]=_0x160f3c,this['_listenToNetworkCondition']());}get[_0x3674d4(0x141)](){var _0x5977f6=_0x3674d4;return this[_0x5977f6(0x210)]['getValue']();}['_listenToNetworkCondition'](){var _0x27557b=_0x3674d4;this[_0x27557b(0x432)]&&this[_0x27557b(0x273)](this[_0x27557b(0x432)][_0x27557b(0x2ee)]['subscribe'](_0xe140af=>{var _0x49c15b=_0x27557b;_0xe140af&&!this[_0x49c15b(0x141)]&&this[_0x49c15b(0x2b8)](),_0xe140af||this[_0x49c15b(0x3ea)]();}));}['dispose'](){var _0x5d8248=_0x3674d4;super[_0x5d8248(0x379)](),this[_0x5d8248(0x367)](),this[_0x5d8248(0x231)](),this[_0x5d8248(0x25b)](),this[_0x5d8248(0x462)]['forEach'](_0x57f7fa=>_0x57f7fa['dispose']()),this['_sessions'][_0x5d8248(0xf2)](),this['_status$']['complete']();}async[_0x3674d4(0xeb)](_0xc41b54){var _0x3e4066=_0x3674d4;if(this[_0x3e4066(0x462)][_0x3e4066(0x298)](_0xc41b54))return this[_0x3e4066(0x462)][_0x3e4066(0x3cd)](_0xc41b54);this[_0x3e4066(0x21f)]();const _0x414941=this['_injector'][_0x3e4066(0x113)](_0x13c6bf[_0x3e4066(0x1cf)],_0xc41b54,this['_socket$']['asObservable']());return this['_sessions'][_0x3e4066(0x35d)](_0xc41b54,_0x414941),_0x414941;}['closeSession'](_0x376af9){var _0x38cf60=_0x3674d4,_0xa8e64e;const _0x185e5d=this[_0x38cf60(0x462)]['get'](_0x376af9);_0x185e5d&&(this['_sessions'][_0x38cf60(0xe9)](_0x376af9),_0x185e5d['close']()),this[_0x38cf60(0x462)][_0x38cf60(0x25c)]||(_0xa8e64e=this['_socket'])==null||_0xa8e64e[_0x38cf60(0x33b)]();}[_0x3674d4(0x2b8)](){var _0x234be5=_0x3674d4;this[_0x234be5(0x30d)]=0x0,this[_0x234be5(0x367)](),this[_0x234be5(0x43c)]();}[_0x3674d4(0x367)](){var _0x3d436b=_0x3674d4;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3d436b(0x3c6)]),this[_0x3d436b(0x3c6)]=null);}async['_createSocket'](){var _0x11375a=_0x3674d4,_0x1817e7,_0x22795a;const _0x5b4312=this[_0x11375a(0x3c5)][_0x11375a(0x3f5)](_0x2df92c),_0x5c7b78=this[_0x11375a(0x3c5)][_0x11375a(0x3f5)](_0x3edafe),_0x3b3522=(_0x22795a=(_0x1817e7=_0x5c7b78==null?void 0x0:_0x5c7b78[_0x11375a(0x1b4)])!=null?_0x1817e7:_0x5b4312)!=null?_0x22795a:_0x41e25e,_0x2362c7=await this['_socketService']['createSocket'](_0x3b3522);return this[_0x11375a(0x30e)]=_0x2362c7,_0x2362c7;}async[_0x3674d4(0x21f)](){var _0x2f465c=_0x3674d4,_0x396b6a,_0x8501dc;try{const _0x11818b=(_0x8501dc=(_0x396b6a=this[_0x2f465c(0x141)])!=null?_0x396b6a:this[_0x2f465c(0x30e)])!=null?_0x8501dc:await this['_createSocket']();if(_0x11818b){const _0x2451ba=_0x11818b[_0x2f465c(0x322)];_0x11818b[_0x2f465c(0x322)]=_0x4f8f8a=>(this[_0x2f465c(0x3e1)](),_0x2451ba[_0x2f465c(0x2a8)](_0x11818b,[_0x4f8f8a])),_0x11818b[_0x2f465c(0x134)][_0x2f465c(0x431)](_0x2f1f2f=>this[_0x2f465c(0x1c0)](_0x11818b,_0x2f1f2f)),_0x11818b['error$'][_0x2f465c(0x242)](_0x1ca1cf[_0x2f465c(0x3de)](0x1))[_0x2f465c(0x431)](_0x4ea1c4=>this[_0x2f465c(0x43a)]['error'](_0x2f465c(0x37c),_0x4ea1c4)),_0x11818b[_0x2f465c(0x36c)][_0x2f465c(0x242)](_0x1ca1cf[_0x2f465c(0x3de)](0x1))[_0x2f465c(0x431)](()=>{var _0x21fa7a=_0x2f465c;this[_0x21fa7a(0x3b7)](_0x11818b);}),_0x11818b[_0x2f465c(0x3a0)][_0x2f465c(0x242)](_0x1ca1cf[_0x2f465c(0x3de)](0x1))[_0x2f465c(0x431)](_0x468173=>{var _0xba041d=_0x2f465c;this['_logService'][_0xba041d(0x2e4)](_0xba041d(0x403),'socket\x20close',_0x468173),this[_0xba041d(0x18e)]();});}}catch(_0x2e025d){this[_0x2f465c(0x43a)]['error'](_0x2e025d),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0xbd29c8){var _0x19d4fa=_0x3674d4;this[_0x19d4fa(0x43a)][_0x19d4fa(0x2e4)](_0x19d4fa(0x403),_0x19d4fa(0x10e)),_0xbd29c8[_0x19d4fa(0x322)]({'cmd':_0xc6a287[_0x19d4fa(0x158)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x44425d=_0x3674d4;this[_0x44425d(0x300)]=!0x1,this[_0x44425d(0x30e)]=null,this[_0x44425d(0x416)][_0x44425d(0x317)](_0x284fc8['OFFLINE']),this[_0x44425d(0x210)]['next'](null),this[_0x44425d(0x231)](),this['_clearHeartbeatTimer']();}[_0x3674d4(0x18e)](){var _0x319c35=_0x3674d4,_0x2f4f35;this[_0x319c35(0x3ea)](),this[_0x319c35(0x30d)]<((_0x2f4f35=this[_0x319c35(0x3c5)]['getConfig'](_0x5b2b66))!=null?_0x2f4f35:0x3)?(this['_collaborationUIEventService']['emitEvent']({'id':_0x423d42['SOCKET_FAILED_RETRY']}),this[_0x319c35(0x43c)]()):this['_collaborationUIEventService'][_0x319c35(0x28b)]({'id':_0x423d42[_0x319c35(0x3a8)]});}[_0x3674d4(0x43c)](){var _0x3d5c1b=_0x3674d4,_0x336fe9;const _0x50071c=this['_retryCount'],_0x5915dd=this[_0x3d5c1b(0x3c5)][_0x3d5c1b(0x3f5)](_0x3edafe),_0x3844e5=_0x50071c===0x0?0x0:((_0x336fe9=_0x5915dd==null?void 0x0:_0x5915dd[_0x3d5c1b(0x2ea)])!=null?_0x336fe9:0x4e20)*0x2**_0x50071c;this[_0x3d5c1b(0x3c6)]=setTimeout(()=>{var _0xea1e30=_0x3d5c1b;clearTimeout(this[_0xea1e30(0x3c6)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x3844e5),this[_0x3d5c1b(0x30d)]+=0x1;}['_onMessage'](_0x190e2d,_0x301cf5){var _0x47f3d1=_0x3674d4;const {cmd:_0x42fb6a}=_0x301cf5;_0x42fb6a===_0xc6a287['HELLO']&&!this['_socketReady']&&(_0x190e2d['memberID']=_0x301cf5[_0x47f3d1(0x34e)][_0x47f3d1(0x103)],this[_0x47f3d1(0x210)]['next'](_0x190e2d),this[_0x47f3d1(0x416)][_0x47f3d1(0x317)](_0x284fc8[_0x47f3d1(0x27e)]),this[_0x47f3d1(0x300)]=!0x0,this['_candidateSocket']=null),_0x42fb6a===_0xc6a287[_0x47f3d1(0x131)]&&this['_clearTimeoutTimer'](),this[_0x47f3d1(0x3e1)]();}[_0x3674d4(0x3e1)](){var _0x21f2f3=_0x3674d4,_0x17f084;this[_0x21f2f3(0x25b)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x17f084=this[_0x21f2f3(0x3c5)]['getConfig'](_0xd8d5db))!=null?_0x17f084:0x7530);}[_0x3674d4(0x1b9)](){var _0x30bb91=_0x3674d4;this[_0x30bb91(0x141)][_0x30bb91(0x322)]({'cmd':_0xc6a287['HEARTBEAT']}),this[_0x30bb91(0x17f)]();}[_0x3674d4(0x17f)](){var _0x28fe00=_0x3674d4,_0x137c60;this[_0x28fe00(0x20d)]=setTimeout(()=>this[_0x28fe00(0x18e)](),(_0x137c60=this['_configService'][_0x28fe00(0x3f5)](_0x21bc0b))!=null?_0x137c60:0x4e20);}[_0x3674d4(0x25b)](){var _0x4bb2f8=_0x3674d4;this[_0x4bb2f8(0x1a1)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x4bb2f8(0x1a1)]=null);}['_clearTimeoutTimer'](){var _0x1b1192=_0x3674d4;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1b1192(0x20d)]),this[_0x1b1192(0x20d)]=null);}},_0x13c6bf[_0x3674d4(0xe2)]=_0x4ea667([_0x11acd4(0x0,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x12a)])),_0x11acd4(0x1,_0x1db671['ILogService']),_0x11acd4(0x2,_0x1db671[_0x3674d4(0x25a)]),_0x11acd4(0x3,_0x5d68bb),_0x11acd4(0x4,_0x1db671[_0x3674d4(0x1ce)](_0x42d231)),_0x11acd4(0x5,_0x1db671[_0x3674d4(0x2c1)](_0x40b6f5))],_0x13c6bf[_0x3674d4(0xe2)]);const _0x54f8e8=[];for(let _0x353983=0x0;_0x353983<0x100;++_0x353983)_0x54f8e8['push']((_0x353983+0x100)[_0x3674d4(0x3d1)](0x10)['slice'](0x1));function _0x10a654(_0x3e6eba,_0x167e83=0x0){var _0x1907a3=_0x3674d4;return(_0x54f8e8[_0x3e6eba[_0x167e83+0x0]]+_0x54f8e8[_0x3e6eba[_0x167e83+0x1]]+_0x54f8e8[_0x3e6eba[_0x167e83+0x2]]+_0x54f8e8[_0x3e6eba[_0x167e83+0x3]]+'-'+_0x54f8e8[_0x3e6eba[_0x167e83+0x4]]+_0x54f8e8[_0x3e6eba[_0x167e83+0x5]]+'-'+_0x54f8e8[_0x3e6eba[_0x167e83+0x6]]+_0x54f8e8[_0x3e6eba[_0x167e83+0x7]]+'-'+_0x54f8e8[_0x3e6eba[_0x167e83+0x8]]+_0x54f8e8[_0x3e6eba[_0x167e83+0x9]]+'-'+_0x54f8e8[_0x3e6eba[_0x167e83+0xa]]+_0x54f8e8[_0x3e6eba[_0x167e83+0xb]]+_0x54f8e8[_0x3e6eba[_0x167e83+0xc]]+_0x54f8e8[_0x3e6eba[_0x167e83+0xd]]+_0x54f8e8[_0x3e6eba[_0x167e83+0xe]]+_0x54f8e8[_0x3e6eba[_0x167e83+0xf]])[_0x1907a3(0x2db)]();}let _0x3c7ef8;const _0x55871a=new Uint8Array(0x10);function _0x4c24da(){var _0xa6bc1=_0x3674d4;if(!_0x3c7ef8){if(typeof crypto>'u'||!crypto[_0xa6bc1(0x3d2)])throw new Error(_0xa6bc1(0x37f));_0x3c7ef8=crypto[_0xa6bc1(0x3d2)]['bind'](crypto);}return _0x3c7ef8(_0x55871a);}const _0x3d46a0={'randomUUID':typeof crypto<'u'&&crypto[_0x3674d4(0x107)]&&crypto['randomUUID'][_0x3674d4(0x156)](crypto)};function _0x447b75(_0x11be86,_0x4be87f,_0x396349){var _0x5f57f4=_0x3674d4,_0x6aadc1,_0x34e390,_0x26137f;if(_0x3d46a0['randomUUID']&&!_0x11be86)return _0x3d46a0[_0x5f57f4(0x107)]();_0x11be86=_0x11be86||{};const _0x2d9db7=(_0x26137f=(_0x34e390=_0x11be86['random'])!=null?_0x34e390:(_0x6aadc1=_0x11be86['rng'])==null?void 0x0:_0x6aadc1[_0x5f57f4(0x3fe)](_0x11be86))!=null?_0x26137f:_0x4c24da();if(_0x2d9db7[_0x5f57f4(0x446)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x2d9db7[0x6]=_0x2d9db7[0x6]&0xf|0x40,_0x2d9db7[0x8]=_0x2d9db7[0x8]&0x3f|0x80,_0x10a654(_0x2d9db7);}const _0x358068=_0x1db671[_0x3674d4(0x448)](_0x3674d4(0x375));function _0x5a4eb1(_0x5a78f8){return'unit-cache-'+_0x5a78f8;}var _0x53a36c=Object[_0x3674d4(0x2f2)],_0xafac88=(_0xe18de8,_0x17645c,_0x391dc2,_0x118b3c)=>{for(var _0x122247=_0x118b3c>0x1?void 0x0:_0x118b3c?_0x53a36c(_0x17645c,_0x391dc2):_0x17645c,_0x43d44f=_0xe18de8['length']-0x1,_0x1a9f26;_0x43d44f>=0x0;_0x43d44f--)(_0x1a9f26=_0xe18de8[_0x43d44f])&&(_0x122247=_0x1a9f26(_0x122247)||_0x122247);return _0x122247;},_0x4ec03a=(_0xc85b8e,_0x2d02d2)=>(_0x4fbf75,_0x2c8259)=>_0x2d02d2(_0x4fbf75,_0x2c8259,_0xc85b8e);function _0x3c9d6f(_0x32ebae){var _0x3a21ca=_0x3674d4;const {unitID:_0xc0435f,mutations:_0x52dcfc}=_0x32ebae;return{'unitId':_0xc0435f,'subUnitId':_0x52dcfc[0x0][_0x3a21ca(0x19d)][_0x3a21ca(0x1ba)]};}_0x13c6bf['SheetTransformSelectionsService']=class{constructor(_0x31e843,_0x9de3a2,_0x352a84){var _0x4dde75=_0x3674d4;this[_0x4dde75(0x44d)]=_0x31e843,this[_0x4dde75(0x3ad)]=_0x9de3a2,this[_0x4dde75(0x2fd)]=_0x352a84;}['transformSelections'](_0xadb5b1){var _0x831366=_0x3674d4,_0x421507,_0x307483,_0x1c533e,_0x363ca0;const _0x5d874d=this[_0x831366(0x44d)][_0x831366(0x3cd)](_0x45a23f[_0x831366(0x2f7)]),{unitId:_0x3a9f4e,subUnitId:_0x34744c}=_0x3c9d6f(_0xadb5b1),_0x182c1b=_0x5d874d==null?void 0x0:_0x5d874d[_0x831366(0x227)](_0x3a9f4e)['getCurrentSelections'](),_0xc66bc0=(_0x307483=(_0x421507=this['_instanceService'][_0x831366(0x11d)](_0x3a9f4e))==null?void 0x0:_0x421507[_0x831366(0x331)]())==null?void 0x0:_0x307483[_0x831366(0x1c9)]();if(_0x182c1b['length']===0x0||!_0x3a9f4e||!_0x34744c)return;const _0x58d82a=[{'id':_0x45a23f['SetSelectionsOperation']['id'],'params':{'unitId':_0x3a9f4e,'subUnitId':_0xc66bc0,'selections':_0x1db671[_0x831366(0x27b)]['deepClone'](_0x182c1b)}}],_0x427c52=this[_0x831366(0x3ad)][_0x831366(0x262)](_0xadb5b1,_0x58d82a);if(!_0x473659[_0x831366(0x394)](_0x427c52))throw _0x427c52[_0x831366(0x36a)];const _0x441054=(_0x363ca0=(_0x1c533e=_0x427c52[_0x831366(0x398)][0x0])==null?void 0x0:_0x1c533e[_0x831366(0x19d)])==null?void 0x0:_0x363ca0['selections'];if(Array[_0x831366(0x428)](_0x441054)&&_0x441054['length']){if(_0x441054[_0x831366(0x446)]===_0x58d82a[0x0]['params']['selections'][_0x831366(0x446)]&&_0x441054[_0x831366(0x1a7)]((_0x30b874,_0x4dae1b)=>_0x1db671[_0x831366(0x1ef)][_0x831366(0x43b)](_0x30b874[_0x831366(0x42e)],_0x58d82a[0x0][_0x831366(0x19d)]['selections'][_0x4dae1b][_0x831366(0x42e)])))return;this['_injector'][_0x831366(0x3cd)](_0x1db671['ICommandService'])[_0x831366(0x27a)](_0x45a23f[_0x831366(0x35b)]['id'],{'unitId':_0x3a9f4e,'subUnitId':_0xc66bc0,'selections':_0x441054});}}},_0x13c6bf['SheetTransformSelectionsService']=_0xafac88([_0x4ec03a(0x0,_0x1db671[_0x3674d4(0x1ce)](_0x1db671['Injector'])),_0x4ec03a(0x1,_0x473659[_0x3674d4(0x245)]),_0x4ec03a(0x2,_0x1db671['IUniverInstanceService'])],_0x13c6bf['SheetTransformSelectionsService']);const _0x2899dc=_0x1db671[_0x3674d4(0x448)](_0x3674d4(0x230));var _0x55cbb3=(_0x5dcc47=>(_0x5dcc47[_0x5dcc47[_0x3674d4(0x2ef)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5dcc47[_0x5dcc47[_0x3674d4(0x330)]=0x1]=_0x3674d4(0x330),_0x5dcc47))(_0x55cbb3||{});const _0x5bc683=new Set([_0x45a23f[_0x3674d4(0x24c)]['id']]);function _0x427c0e(_0x1c4203,_0x3fd76c,_0x31fbc5,_0x57b100,_0x26d7fa){var _0x5decfb=_0x3674d4,_0x24fe57,_0x462bf3,_0x46d86d,_0x142599;const _0x61f249=[];for(const _0x3ec0eb of _0x1c4203)if(_0x5bc683[_0x5decfb(0x298)](_0x3ec0eb['id'])){if(_0x61f249[_0x5decfb(0x446)]>0x0)break;_0x61f249['push'](_0x3ec0eb);break;}else _0x61f249[_0x5decfb(0x18a)](_0x3ec0eb);const _0x1422bd=(_0x462bf3=(_0x24fe57=_0x26d7fa['getCurrentUser']())==null?void 0x0:_0x24fe57[_0x5decfb(0x2bb)])!=null?_0x462bf3:_0x5decfb(0xfa),_0x297c67=(_0x142599=(_0x46d86d=_0x26d7fa[_0x5decfb(0x421)]())==null?void 0x0:_0x46d86d['memberID'])!=null?_0x142599:'unknown';return{'changeset':{'unitID':_0x3fd76c,'type':_0x473659['mapDocumentTypeToUniverType'](_0x31fbc5['getUnitType'](_0x3fd76c)),'baseRev':_0x57b100[_0x5decfb(0x2e8)](_0x3fd76c),'revision':0x0,'userID':_0x1422bd,'memberID':_0x297c67,'mutations':_0x61f249},'pendingMutations':_0x1c4203[_0x5decfb(0x31e)](_0x61f249['length'])};}function _0x3e06d8(_0x58e0ca,_0x3131ac,_0x4f8b4e,_0x3c0b27,_0x760811){var _0x1771d7=_0x3674d4,_0x2fb781,_0x42a9f8,_0xfb7e72,_0x255439;const _0x4d04f0=[_0x58e0ca[_0x1771d7(0x126)]((_0x1b637c,_0x312b8e)=>{var _0x267907=_0x1771d7,_0x5bdf0e;const {id:_0x23bb9e}=_0x1b637c,{id:_0x49af7a,type:_0x3f1f40}=_0x312b8e,_0x56af86=(_0x5bdf0e=_0x1b637c[_0x267907(0x19d)])!=null?_0x5bdf0e:{'actions':null},_0x3e2757=_0x312b8e['params'];if(_0x23bb9e&&_0x23bb9e!==_0x49af7a)throw new Error(_0x267907(0x145)+_0x23bb9e+_0x267907(0x39e)+_0x49af7a+'.');return{..._0x1b637c,'id':_0x49af7a,'type':_0x3f1f40,'params':{'unitId':_0x3e2757['unitId'],'textRanges':_0x3e2757[_0x267907(0x318)],'actions':_0x1db671['JSONX'][_0x267907(0x2b2)](_0x56af86[_0x267907(0x454)],_0x3e2757[_0x267907(0x454)])}};},{})],_0x2701a8=(_0x42a9f8=(_0x2fb781=_0x760811['getCurrentUser']())==null?void 0x0:_0x2fb781[_0x1771d7(0x2bb)])!=null?_0x42a9f8:'unknown',_0x818cf9=(_0x255439=(_0xfb7e72=_0x760811[_0x1771d7(0x421)]())==null?void 0x0:_0xfb7e72[_0x1771d7(0x103)])!=null?_0x255439:_0x1771d7(0xfa);return{'changeset':{'unitID':_0x3131ac,'type':_0x473659[_0x1771d7(0x426)](_0x4f8b4e[_0x1771d7(0x19f)](_0x3131ac)),'baseRev':_0x3c0b27[_0x1771d7(0x2e8)](_0x3131ac),'revision':0x0,'userID':_0x2701a8,'memberID':_0x818cf9,'mutations':_0x4d04f0},'pendingMutations':[]};}function _0x103647(_0x11e6fa,_0x506c3e){var _0x565538=_0x3674d4;const _0x1d48cf=new _0x377325[(_0x565538(0x26e))](0x1);return setTimeout(()=>_0x1d48cf['next'](_0x506c3e),_0x11e6fa),_0x1d48cf[_0x565538(0x423)]()[_0x565538(0x242)](_0x377325['take'](0x1));}const _0x2ff311={'id':_0x45a23f[_0x3674d4(0x3f6)]['id'],'type':_0x1db671['CommandType'][_0x3674d4(0x24d)],'params':{}};var _0x361a8d=Object[_0x3674d4(0x2f2)],_0x2a5763=(_0xbc36ae,_0x3563c5,_0x277394,_0x31755e)=>{for(var _0x4c917c=_0x31755e>0x1?void 0x0:_0x31755e?_0x361a8d(_0x3563c5,_0x277394):_0x3563c5,_0x5bf557=_0xbc36ae['length']-0x1,_0x92b568;_0x5bf557>=0x0;_0x5bf557--)(_0x92b568=_0xbc36ae[_0x5bf557])&&(_0x4c917c=_0x92b568(_0x4c917c)||_0x4c917c);return _0x4c917c;},_0x36e772=(_0x341c64,_0x55d76b)=>(_0x15b219,_0x20cd2a)=>_0x55d76b(_0x15b219,_0x20cd2a,_0x341c64),_0x1cac78=(_0x3fa411=>(_0x3fa411['NOT_COLLAB']=_0x3674d4(0x21e),_0x3fa411['SYNCED']=_0x3674d4(0x2a1),_0x3fa411['PENDING']='pending',_0x3fa411[_0x3674d4(0x2c7)]=_0x3674d4(0x33f),_0x3fa411[_0x3674d4(0x140)]=_0x3674d4(0x255),_0x3fa411[_0x3674d4(0x1a0)]=_0x3674d4(0x374),_0x3fa411['CONFLICT']=_0x3674d4(0x1f7),_0x3fa411['OFFLINE']=_0x3674d4(0x360),_0x3fa411))(_0x1cac78||{});const _0xb7d403=0xea60;class _0x3537b7{constructor(_0x5e782d,_0x3dae80,_0x4c6f6a,_0xf1bb58,_0x4e976b,_0x296b53,_0x448fc4,_0x27cb4d,_0x2a3ab0){var _0x10820e=_0x3674d4;_0x47ca49(this,_0x10820e(0x224),null),_0x47ca49(this,_0x10820e(0x15a),[]),(this[_0x10820e(0x36d)]=_0x5e782d,this['type']=_0x3dae80,this[_0x10820e(0x373)]=_0x4e976b,this[_0x10820e(0x336)]=_0x296b53,this[_0x10820e(0x310)]=_0x448fc4,this[_0x10820e(0x401)]=_0x27cb4d,this[_0x10820e(0x19e)]=_0x2a3ab0,this[_0x10820e(0x224)]=_0x4c6f6a,this[_0x10820e(0x15a)]=_0xf1bb58);}[_0x3674d4(0x425)](_0x48e9ca){var _0x4e1e26=_0x3674d4;const _0xea1e7c=this[_0x4e1e26(0x401)][_0x4e1e26(0x2e8)](this[_0x4e1e26(0x36d)]);return _0x48e9ca[_0x4e1e26(0x2fe)]>_0xea1e7c+0x1?(this['_handler'][_0x4e1e26(0x266)]({'from':_0xea1e7c,'to':_0x48e9ca[_0x4e1e26(0x2fe)]-0x1}),!0x0):!0x1;}[_0x3674d4(0x3c1)](_0x4c9537){var _0x1f88b8=_0x3674d4;this[_0x1f88b8(0x310)][_0x1f88b8(0x288)](this['unitID'],_0x4c9537);}[_0x3674d4(0x122)](_0x4c51cc){var _0x3097b9=_0x3674d4,_0x5863bd,_0x20c1e4;(_0x20c1e4=(_0x5863bd=this[_0x3097b9(0x373)])[_0x3097b9(0x12b)])==null||_0x20c1e4[_0x3097b9(0x3fe)](_0x5863bd,_0x4c51cc);}[_0x3674d4(0x3dd)](_0x2e0c98){var _0x51a04d=_0x3674d4,_0x57c02b,_0x281a47;return(_0x281a47=(_0x57c02b=this[_0x51a04d(0x373)])[_0x51a04d(0x1c8)])==null?void 0x0:_0x281a47[_0x51a04d(0x3fe)](_0x57c02b,_0x2e0c98);}[_0x3674d4(0x27f)](_0x1487b6){var _0x389099=_0x3674d4,_0x2f858d,_0x4bc8ab;return(_0x4bc8ab=(_0x2f858d=this[_0x389099(0x373)])[_0x389099(0x437)])==null?void 0x0:_0x4bc8ab[_0x389099(0x3fe)](_0x2f858d,_0x1487b6);}['_transformRemoteChangesetByIMECache'](_0x5773be){var _0x3c164f=_0x3674d4,_0x3f648c,_0x596c43,_0x28b2f7;return(_0x28b2f7=(_0x596c43=(_0x3f648c=this['_handler'])[_0x3c164f(0x2a2)])==null?void 0x0:_0x596c43['call'](_0x3f648c,_0x5773be))!=null?_0x28b2f7:_0x5773be;}['_transformRemoteChangesetByStateCache'](_0x38f174){var _0x473eaf=_0x3674d4,_0x5c07e3,_0x1b86f6,_0x56f905;return(_0x56f905=(_0x1b86f6=(_0x5c07e3=this[_0x473eaf(0x373)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1b86f6[_0x473eaf(0x3fe)](_0x5c07e3,_0x38f174))!=null?_0x56f905:_0x38f174;}['_syncEditingCollabCursor'](_0x42f8f3){var _0xed2569=_0x3674d4,_0x5b334c,_0x52bb36;if(this['type']===_0x50ca95['UNIVER_DOC']){const {unitID:_0x441ac8,mutations:_0x4fe656,memberID:_0x35c20e}=_0x42f8f3,_0x2503e9=_0x4fe656[0x0][_0xed2569(0x19d)][_0xed2569(0x318)];Array['isArray'](_0x2503e9)&&_0x2503e9[_0xed2569(0x446)]>0x0&&((_0x52bb36=(_0x5b334c=this[_0xed2569(0x373)])[_0xed2569(0x28e)])==null||_0x52bb36['call'](_0x5b334c,{'unitID':_0x441ac8,'memberID':_0x35c20e,'textRanges':_0x2503e9}));}}[_0x3674d4(0x45d)](){var _0x523a10=_0x3674d4,_0xd9366b;(_0xd9366b=this[_0x523a10(0x19e)])==null||_0xd9366b[_0x523a10(0x2a9)](this['unitID'],this[_0x523a10(0x16e)],this[_0x523a10(0x224)],this[_0x523a10(0x15a)]);}[_0x3674d4(0x223)](){var _0x119fe1=_0x3674d4;return this[_0x119fe1(0x401)]['getCurrentRevOfUnit'](this[_0x119fe1(0x36d)]);}[_0x3674d4(0x2f9)](){var _0x22fe44=_0x3674d4;this[_0x22fe44(0x401)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x45dc75){var _0x366975=_0x3674d4,_0x2c04dc;let _0x5bd41c=this['_transformRemoteChangesetByIMECache'](_0x45dc75);_0x5bd41c=this[_0x366975(0xe6)](_0x5bd41c);const _0x44e5c9=_0x1db671[_0x366975(0x2ae)](_0x5bd41c['mutations'],this[_0x366975(0x336)],{'fromCollab':!0x0});if(!_0x44e5c9[_0x366975(0x15e)])throw _0x44e5c9[_0x366975(0x36a)]instanceof Error?_0x44e5c9[_0x366975(0x36a)]:new Error((_0x2c04dc=_0x44e5c9[_0x366975(0x36a)])!=null?_0x2c04dc:_0x366975(0xee));this[_0x366975(0x3dd)](_0x5bd41c),this[_0x366975(0x27f)](_0x5bd41c),this['_transformUndoredo'](_0x45dc75),this['_transformSelections'](_0x5bd41c),this[_0x366975(0x305)](_0x5bd41c),this[_0x366975(0x2f9)]();}}_0x13c6bf[_0x3674d4(0x2c6)]=class extends _0x3537b7{constructor(_0x5a7f4f,_0x3062e7,_0x1e35ce,_0x4e7902,_0x3b32ab,_0x235c55,_0x133b70,_0x4f7ab6,_0x546f55,_0x232ea1){var _0x3474ea=_0x3674d4;super(_0x5a7f4f,_0x3062e7,null,[],_0x1e35ce,_0x133b70,_0x235c55,_0x4e7902,_0x232ea1),_0x47ca49(this,_0x3474ea(0x13e),'synced'),(this[_0x3474ea(0x44d)]=_0x3b32ab,this[_0x3474ea(0x43a)]=_0x4f7ab6,this[_0x3474ea(0x3ad)]=_0x546f55,this[_0x3474ea(0x213)]=_0x232ea1);}[_0x3674d4(0x420)](_0x205821){var _0x252035=_0x3674d4;const _0x1b049e=this['_injector'][_0x252035(0x113)](_0x13c6bf[_0x252035(0x351)],this['unitID'],this[_0x252035(0x16e)],[_0x205821],this['_handler']);return _0x1b049e[_0x252035(0xe0)](),_0x1b049e[_0x252035(0x45d)](),_0x1b049e;}[_0x3674d4(0x20f)](_0x323ff5){var _0x1912df=_0x3674d4;if(this[_0x1912df(0x425)](_0x323ff5))return this['_injector'][_0x1912df(0x113)](_0x13c6bf[_0x1912df(0x299)],this[_0x1912df(0x36d)],this[_0x1912df(0x16e)],null,[],null,[_0x323ff5],this[_0x1912df(0x373)]);try{const _0x2b8a7d=this['_transformService']['transformMutationsWithChangeset'](_0x323ff5,[_0x2ff311]);if(_0x473659[_0x1912df(0x394)](_0x2b8a7d)){const {c1Prime:_0x5a3f03}=_0x2b8a7d;return this[_0x1912df(0x1b0)](_0x5a3f03),this;}throw _0x2b8a7d[_0x1912df(0x36a)];}catch(_0x3dbb5e){return this[_0x1912df(0x43a)]['error'](_0x3dbb5e),this['_onConflict'](!0x1);}}['_onConflict'](_0x5529ac){var _0x1e1321=_0x3674d4;return this[_0x1e1321(0x44d)]['createInstance'](_0x13c6bf[_0x1e1321(0x1e8)],this[_0x1e1321(0x36d)],this['type'],null,[],this['_handler'],_0x5529ac);}['onRemoteAck'](){var _0xd1ecb3=_0x3674d4;throw new Error(_0xd1ecb3(0x195));}[_0x3674d4(0x12d)](){var _0x1328bd=_0x3674d4;throw new Error(_0x1328bd(0x348));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x1e0820=_0x3674d4;return this[_0x1e0820(0x44d)]['createInstance'](_0x13c6bf[_0x1e0820(0x11b)],this[_0x1e0820(0x36d)],this[_0x1e0820(0x16e)],null,[],this[_0x1e0820(0x373)]);}[_0x3674d4(0x326)](){return this;}['resend'](){var _0x1010de=_0x3674d4;throw new Error(_0x1010de(0x327));}[_0x3674d4(0x313)](){var _0x1dd2db=_0x3674d4;const _0x4f1225=this[_0x1dd2db(0x401)][_0x1dd2db(0x2e8)](this[_0x1dd2db(0x36d)]);return this['_handler'][_0x1dd2db(0x266)]({'from':_0x4f1225,'to':0x0}),this[_0x1dd2db(0x44d)]['createInstance'](_0x13c6bf[_0x1dd2db(0x299)],this[_0x1dd2db(0x36d)],this[_0x1dd2db(0x16e)],null,[],null,[],this[_0x1dd2db(0x373)]);}},_0x13c6bf[_0x3674d4(0x2c6)]=_0x2a5763([_0x36e772(0x3,_0x1db671['Inject'](_0x473659[_0x3674d4(0x193)])),_0x36e772(0x4,_0x1db671['Inject'](_0x1db671['Injector'])),_0x36e772(0x5,_0x1db671['IUndoRedoService']),_0x36e772(0x6,_0x1db671['ICommandService']),_0x36e772(0x7,_0x1db671['ILogService']),_0x36e772(0x8,_0x473659['ITransformService']),_0x36e772(0x9,_0x1db671[_0x3674d4(0x2c1)](_0x358068))],_0x13c6bf['SyncedState']),_0x13c6bf['PendingState']=class extends _0x3537b7{constructor(_0x4b15b0,_0x30cf96,_0x1d5b87,_0x43a8fa,_0x426ba6,_0xe9d632,_0x4b0164,_0x1a1095,_0x162d5c,_0x8ef77e,_0x10fa6c,_0x345fb4,_0xda274f,_0x22ac2c){var _0x41502b=_0x3674d4;super(_0x4b15b0,_0x30cf96,null,_0x1d5b87,_0x43a8fa,_0x162d5c,_0xda274f,_0xe9d632,_0x22ac2c),_0x47ca49(this,_0x41502b(0x13e),_0x41502b(0x2b1)),_0x47ca49(this,_0x41502b(0x43e),null),_0x47ca49(this,_0x41502b(0x263),null),(this['_injector']=_0x426ba6,this[_0x41502b(0x132)]=_0x4b0164,this[_0x41502b(0x43a)]=_0x1a1095,this['_configService']=_0x8ef77e,this[_0x41502b(0x3ad)]=_0x10fa6c,this['_univerInstanceService']=_0x345fb4);}['appendMutation'](_0x29dfe6){var _0x152ed1=_0x3674d4;return this[_0x152ed1(0x15a)][_0x152ed1(0x18a)](_0x29dfe6),this['_updateLocalCache'](),this;}[_0x3674d4(0x20f)](_0x4f1bb8){var _0x5d3e48=_0x3674d4;if(this[_0x5d3e48(0x425)](_0x4f1bb8))return this[_0x5d3e48(0x2eb)](),this[_0x5d3e48(0x44d)]['createInstance'](_0x13c6bf[_0x5d3e48(0x299)],this[_0x5d3e48(0x36d)],this[_0x5d3e48(0x16e)],null,this[_0x5d3e48(0x15a)],null,[_0x4f1bb8],this[_0x5d3e48(0x373)]);try{const _0x4edf3c=this[_0x5d3e48(0x3ad)]['transformMutationsWithChangeset'](_0x4f1bb8,this['_pendingMutations']);if(_0x473659[_0x5d3e48(0x394)](_0x4edf3c)){const {c1Prime:_0x21f713,m2Prime:_0x4d3bf2}=_0x4edf3c;this[_0x5d3e48(0x1b0)](_0x21f713);const _0x4268f4=this['_injector'][_0x5d3e48(0x113)](_0x13c6bf[_0x5d3e48(0x351)],this[_0x5d3e48(0x36d)],this[_0x5d3e48(0x16e)],_0x4d3bf2,this[_0x5d3e48(0x373)]);this[_0x5d3e48(0x2eb)]();const _0x76acf6=new Date()[_0x5d3e48(0x38a)](),_0x4d2c0e=this[_0x5d3e48(0x43e)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x76acf6,0x0):this[_0x5d3e48(0x249)]();return _0x4268f4[_0x5d3e48(0xe0)](_0x4d2c0e),_0x4268f4;}throw _0x4edf3c[_0x5d3e48(0x36a)];}catch(_0x1ff9c9){return this[_0x5d3e48(0x43a)]['error'](_0x1ff9c9),this[_0x5d3e48(0x3b9)](!0x1);}}[_0x3674d4(0x337)](){var _0x1821bc=_0x3674d4;throw new Error(_0x1821bc(0x283));}[_0x3674d4(0x12d)](){var _0x119728=_0x3674d4;throw new Error(_0x119728(0x174));}[_0x3674d4(0x308)](){return this;}['toggleOffline'](){var _0x245369=_0x3674d4;return this[_0x245369(0x2eb)](),this[_0x245369(0x44d)][_0x245369(0x113)](_0x13c6bf[_0x245369(0x11b)],this[_0x245369(0x36d)],this[_0x245369(0x16e)],null,this[_0x245369(0x15a)],this[_0x245369(0x373)]);}[_0x3674d4(0x326)](){return this;}[_0x3674d4(0xe0)](_0xeaea07){var _0x249733=_0x3674d4;const _0x18e2ae=_0xeaea07!=null?_0xeaea07:this['_getSendChangesetTimeout']();this[_0x249733(0x43e)]=new Date()[_0x249733(0x38a)]()+_0x18e2ae,this[_0x249733(0x263)]=setTimeout(()=>{var _0x3823b3=_0x249733;this[_0x3823b3(0x2eb)]();let _0x4b9530=null;switch(this[_0x3823b3(0x16e)]){case _0x50ca95[_0x3823b3(0x258)]:{_0x4b9530=_0x427c0e(this['_pendingMutations'],this[_0x3823b3(0x36d)],this[_0x3823b3(0x3bb)],this[_0x3823b3(0x401)],this['_memberService']);break;}case _0x50ca95['UNIVER_DOC']:{this[_0x3823b3(0x15a)][_0x3823b3(0x1a7)](_0x3feef8=>_0x3feef8['id']===_0x3fa17d[_0x3823b3(0x3e8)]['id'])?_0x4b9530=_0x3e06d8(this[_0x3823b3(0x15a)],this['unitID'],this[_0x3823b3(0x3bb)],this['_revisionService'],this['_memberService']):_0x4b9530=_0x427c0e(this[_0x3823b3(0x15a)],this[_0x3823b3(0x36d)],this[_0x3823b3(0x3bb)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x3823b3(0x303)+this[_0x3823b3(0x16e)]+'\x20in\x20_schedule.');}const {changeset:_0x44ee07,pendingMutations:_0x132ca5}=_0x4b9530;this[_0x3823b3(0x373)]['onSendChangeset'](_0x44ee07);const _0x5f8dd8=_0x132ca5[_0x3823b3(0x446)]?this[_0x3823b3(0x44d)][_0x3823b3(0x113)](_0x13c6bf[_0x3823b3(0x24b)],this[_0x3823b3(0x36d)],this[_0x3823b3(0x16e)],_0x44ee07,_0x132ca5,this[_0x3823b3(0x373)],void 0x0):this['_injector']['createInstance'](_0x13c6bf[_0x3823b3(0x274)],this['unitID'],this[_0x3823b3(0x16e)],_0x44ee07,this[_0x3823b3(0x373)]);_0x5f8dd8[_0x3823b3(0x45d)](),this[_0x3823b3(0x373)]['onStateChange'](this,_0x5f8dd8);},_0x18e2ae);}[_0x3674d4(0x249)](){var _0x3af2a1=_0x3674d4,_0x3c0ba2;const _0x38f135=this[_0x3af2a1(0x3c5)]['getConfig'](_0x3edafe);return(_0x3c0ba2=_0x38f135==null?void 0x0:_0x38f135['sendChangesetTimeout'])!=null?_0x3c0ba2:0x7d0;}[_0x3674d4(0x433)](){var _0x512376=_0x3674d4;throw new Error(_0x512376(0x187));}[_0x3674d4(0x2eb)](){var _0x1133d1=_0x3674d4;this[_0x1133d1(0x263)]!=null&&(clearTimeout(this[_0x1133d1(0x263)]),this[_0x1133d1(0x263)]=null);}['_onConflict'](_0x56676b){var _0xf15ab6=_0x3674d4;return this[_0xf15ab6(0x2eb)](),this[_0xf15ab6(0x44d)][_0xf15ab6(0x113)](_0x13c6bf[_0xf15ab6(0x1e8)],this[_0xf15ab6(0x36d)],this[_0xf15ab6(0x16e)],null,this[_0xf15ab6(0x15a)],this[_0xf15ab6(0x373)],_0x56676b);}},_0x13c6bf[_0x3674d4(0x351)]=_0x2a5763([_0x36e772(0x4,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x12a)])),_0x36e772(0x5,_0x1db671[_0x3674d4(0x1ce)](_0x473659[_0x3674d4(0x193)])),_0x36e772(0x6,_0x1db671['Inject'](_0x13c6bf[_0x3674d4(0x1b3)])),_0x36e772(0x7,_0x1db671[_0x3674d4(0x271)]),_0x36e772(0x8,_0x1db671[_0x3674d4(0x28d)]),_0x36e772(0x9,_0x1db671[_0x3674d4(0x25a)]),_0x36e772(0xa,_0x473659[_0x3674d4(0x245)]),_0x36e772(0xb,_0x1db671[_0x3674d4(0x2fa)]),_0x36e772(0xc,_0x1db671[_0x3674d4(0x31b)]),_0x36e772(0xd,_0x1db671[_0x3674d4(0x2c1)](_0x358068))],_0x13c6bf[_0x3674d4(0x351)]),_0x13c6bf['AwaitingState']=class extends _0x3537b7{constructor(_0x1c19a4,_0x5139ca,_0x5c00a7,_0xc8e5f2,_0x9fa65,_0x9b8b54,_0x14f9aa,_0x1fc69b,_0xb8413e,_0x29bdda,_0x437271){var _0x2a0c3f=_0x3674d4;super(_0x1c19a4,_0x5139ca,_0x5c00a7,[],_0xc8e5f2,_0x14f9aa,_0x29bdda,_0x9b8b54,_0x437271),_0x47ca49(this,_0x2a0c3f(0x13e),_0x2a0c3f(0x33f)),_0x47ca49(this,'_resendTimeout',0x0),_0x47ca49(this,'_resendTimer'),_0x47ca49(this,_0x2a0c3f(0x332)),(this['_injector']=_0x9fa65,this[_0x2a0c3f(0x43a)]=_0x1fc69b,this[_0x2a0c3f(0x3ad)]=_0xb8413e);}['appendMutation'](_0x373feb){var _0xf83f17=_0x3674d4;this[_0xf83f17(0x2eb)]();const _0x3ad68f=this[_0xf83f17(0x44d)][_0xf83f17(0x113)](_0x13c6bf['AwaitingWithPendingState'],this[_0xf83f17(0x36d)],this[_0xf83f17(0x16e)],this[_0xf83f17(0x224)],[_0x373feb],this['_handler'],this[_0xf83f17(0x162)]);return _0x3ad68f[_0xf83f17(0x45d)](),_0x3ad68f;}[_0x3674d4(0x20f)](_0x150fce){var _0x1136e1=_0x3674d4;if(this['_checkMissing'](_0x150fce))return this[_0x1136e1(0x2eb)](),this[_0x1136e1(0x44d)][_0x1136e1(0x113)](_0x13c6bf[_0x1136e1(0x299)],this[_0x1136e1(0x36d)],this[_0x1136e1(0x16e)],this['_awaitingChangeset'],[],null,[_0x150fce],this['_handler']);try{const _0x48b109=this[_0x1136e1(0x3ad)][_0x1136e1(0xfd)]([_0x150fce],[this[_0x1136e1(0x224)]],!0x1);if(_0x473659['isTransformChangesetsSuccess'](_0x48b109)){const {c1Prime:_0x5e1a34,c2Prime:_0x556cc1}=_0x48b109;this[_0x1136e1(0x1b0)](_0x5e1a34[0x0]),_0x556cc1[0x0][_0x1136e1(0x28f)]=this['_getCurrentRevision'](),this[_0x1136e1(0x2eb)]();const _0x145738=this[_0x1136e1(0x44d)][_0x1136e1(0x113)](_0x13c6bf[_0x1136e1(0x274)],this['unitID'],this[_0x1136e1(0x16e)],_0x556cc1[0x0],this['_handler']);return _0x145738[_0x1136e1(0x45d)](),_0x145738;}return this['_onConflict'](!0x1);}catch(_0x40e9ac){return this[_0x1136e1(0x43a)][_0x1136e1(0x36a)](_0x40e9ac),this[_0x1136e1(0x3b9)](!0x1);}}[_0x3674d4(0x337)](_0x295439){var _0x107c12=_0x3674d4;this[_0x107c12(0x2eb)]();const _0x1c234f=this[_0x107c12(0x401)][_0x107c12(0x2e8)](this[_0x107c12(0x36d)]);if(_0x295439['revision']<_0x1c234f-0x1)return this;if(this['_checkMissing'](_0x295439))return this[_0x107c12(0x44d)][_0x107c12(0x113)](_0x13c6bf[_0x107c12(0x299)],this['unitID'],this[_0x107c12(0x16e)],null,[],this[_0x107c12(0x224)],[],this[_0x107c12(0x373)]);this[_0x107c12(0x2f9)]();const _0x42355d=this[_0x107c12(0x44d)][_0x107c12(0x113)](_0x13c6bf[_0x107c12(0x2c6)],this[_0x107c12(0x36d)],this[_0x107c12(0x16e)],this['_handler']);return _0x42355d[_0x107c12(0x45d)](),_0x42355d;}[_0x3674d4(0x12d)](_0x2d23d3){var _0x3c27c6=_0x3674d4;return this['_onConflict'](!!(_0x2d23d3!=null&&_0x2d23d3[_0x3c27c6(0x1b5)]));}[_0x3674d4(0x308)](_0x4fc158){var _0x11f4bd=_0x3674d4;return this[_0x11f4bd(0x391)]>_0xb7d403?this['toggleOffline']():(this[_0x11f4bd(0x162)]=_0x103647(this[_0x11f4bd(0x391)],{'timeout':this[_0x11f4bd(0x391)],'reqId':_0x4fc158[_0x11f4bd(0x1ee)]}),this[_0x11f4bd(0x332)]=this[_0x11f4bd(0x162)]['subscribe'](({reqId:_0x496d80,timeout:_0x2e194b})=>{var _0x3942a0=_0x11f4bd;this[_0x3942a0(0x1ab)](_0x496d80,_0x2e194b);}),this);}[_0x3674d4(0x138)](){var _0x21c4b8=_0x3674d4;return this[_0x21c4b8(0x2eb)](),this[_0x21c4b8(0x44d)][_0x21c4b8(0x113)](_0x13c6bf[_0x21c4b8(0x11b)],this[_0x21c4b8(0x36d)],this[_0x21c4b8(0x16e)],this['_awaitingChangeset'],[],this[_0x21c4b8(0x373)]);}[_0x3674d4(0x326)](){return this;}['resend'](){var _0x4a9cd7=_0x3674d4;this[_0x4a9cd7(0x373)]['onSendChangeset'](this[_0x4a9cd7(0x224)]);}[_0x3674d4(0x3b9)](_0x2f9ced){var _0x3c274b=_0x3674d4;return this[_0x3c274b(0x2eb)](),this[_0x3c274b(0x44d)][_0x3c274b(0x113)](_0x13c6bf[_0x3c274b(0x1e8)],this[_0x3c274b(0x36d)],this[_0x3c274b(0x16e)],this[_0x3c274b(0x224)],[],this[_0x3c274b(0x373)],_0x2f9ced);}[_0x3674d4(0x1ab)](_0x31de0d,_0x3c8645){var _0x11126e=_0x3674d4,_0x126b52;_0x31de0d===((_0x126b52=this[_0x11126e(0x224)])==null?void 0x0:_0x126b52[_0x11126e(0x1ee)])&&(this[_0x11126e(0x433)](),this[_0x11126e(0x391)]=_0x3c8645===0x0?0x3e8:_0x3c8645*0x2);}[_0x3674d4(0x2eb)](){var _0x2d8960=_0x3674d4,_0x58e0e8;(_0x58e0e8=this[_0x2d8960(0x332)])==null||_0x58e0e8[_0x2d8960(0x22b)](),this['_resendTimeout']=0x0;}},_0x13c6bf[_0x3674d4(0x274)]=_0x2a5763([_0x36e772(0x4,_0x1db671['Inject'](_0x1db671[_0x3674d4(0x12a)])),_0x36e772(0x5,_0x1db671['Inject'](_0x473659[_0x3674d4(0x193)])),_0x36e772(0x6,_0x1db671['ICommandService']),_0x36e772(0x7,_0x1db671[_0x3674d4(0x271)]),_0x36e772(0x8,_0x473659[_0x3674d4(0x245)]),_0x36e772(0x9,_0x1db671['IUndoRedoService']),_0x36e772(0xa,_0x1db671[_0x3674d4(0x2c1)](_0x358068))],_0x13c6bf[_0x3674d4(0x274)]),_0x13c6bf[_0x3674d4(0x24b)]=class extends _0x3537b7{constructor(_0x55cf0a,_0x143f95,_0x2ae02a,_0x22c1fe,_0x1aa4ca,_0x1fed5f,_0x4a55ac,_0x4abb65,_0x47b518,_0xa5489a,_0x1bfe68,_0x20657e,_0x48a1f1){var _0x372839=_0x3674d4;super(_0x55cf0a,_0x143f95,_0x2ae02a,_0x22c1fe,_0x1aa4ca,_0x47b518,_0x20657e,_0x4abb65,_0x48a1f1),_0x47ca49(this,'status',_0x372839(0x255)),_0x47ca49(this,_0x372839(0x391),0x0),_0x47ca49(this,'_resendTimer'),_0x47ca49(this,'_sender'),(this['_injector']=_0x4a55ac,this[_0x372839(0x43a)]=_0xa5489a,this[_0x372839(0x3ad)]=_0x1bfe68,this['localCacheService']=_0x48a1f1,_0x1fed5f&&(this['_resendTimer']=_0x1fed5f,this['_sender']=this[_0x372839(0x162)][_0x372839(0x431)](({reqId:_0x3538f6,timeout:_0x49498f})=>{var _0x33484c=_0x372839;this[_0x33484c(0x1ab)](_0x3538f6,_0x49498f);})));}[_0x3674d4(0x420)](_0x3ce8bb){var _0x387509=_0x3674d4;return this[_0x387509(0x15a)][_0x387509(0x18a)](_0x3ce8bb),this;}[_0x3674d4(0x20f)](_0x465c99){var _0x25445b=_0x3674d4;if(this[_0x25445b(0x425)](_0x465c99))return this[_0x25445b(0x2eb)](),this[_0x25445b(0x44d)][_0x25445b(0x113)](_0x13c6bf[_0x25445b(0x299)],this[_0x25445b(0x36d)],this[_0x25445b(0x16e)],this[_0x25445b(0x224)],this[_0x25445b(0x15a)],null,[_0x465c99],this[_0x25445b(0x373)]);try{const _0x14cfbe=this[_0x25445b(0x3ad)][_0x25445b(0xfd)]([_0x465c99],[this[_0x25445b(0x224)]],!0x1);if(_0x473659['isTransformChangesetsSuccess'](_0x14cfbe)){const {c1Prime:_0x266d81,c2Prime:_0xa346ef}=_0x14cfbe,_0x2ce458=this[_0x25445b(0x3ad)][_0x25445b(0x262)](_0x266d81[0x0],this[_0x25445b(0x15a)]);if(_0x473659['isTransformMutationsWithChangesetSuccess'](_0x2ce458)){const {c1Prime:_0x5a7d83,m2Prime:_0x179585}=_0x2ce458;return this[_0x25445b(0x1b0)](_0x5a7d83),_0xa346ef[0x0]['baseRev']=this[_0x25445b(0x223)](),this[_0x25445b(0x2eb)](),this[_0x25445b(0x44d)][_0x25445b(0x113)](_0x13c6bf[_0x25445b(0x24b)],this[_0x25445b(0x36d)],this[_0x25445b(0x16e)],_0xa346ef[0x0],_0x179585,this[_0x25445b(0x373)],void 0x0);}throw _0x2ce458[_0x25445b(0x36a)];}throw _0x14cfbe[_0x25445b(0x36a)];}catch(_0x2444af){return this[_0x25445b(0x43a)]['error'](_0x2444af),this[_0x25445b(0x3b9)](!0x1);}}[_0x3674d4(0x337)](_0x58c5e5){var _0x1f5cf2=_0x3674d4;if(this[_0x1f5cf2(0x2eb)](),this[_0x1f5cf2(0x425)](_0x58c5e5))return this[_0x1f5cf2(0x44d)][_0x1f5cf2(0x113)](_0x13c6bf['FetchingMissState'],this[_0x1f5cf2(0x36d)],this[_0x1f5cf2(0x16e)],null,this['_pendingMutations'],this[_0x1f5cf2(0x224)],[],this[_0x1f5cf2(0x373)]);this[_0x1f5cf2(0x2f9)]();const _0x205ad2=this[_0x1f5cf2(0x44d)][_0x1f5cf2(0x113)](_0x13c6bf['PendingState'],this[_0x1f5cf2(0x36d)],this[_0x1f5cf2(0x16e)],this['_pendingMutations'],this[_0x1f5cf2(0x373)]);return _0x205ad2[_0x1f5cf2(0xe0)](),_0x205ad2[_0x1f5cf2(0x45d)](),_0x205ad2;}[_0x3674d4(0x12d)](_0x297cfb){var _0x14c32d=_0x3674d4;return this[_0x14c32d(0x3b9)](!!(_0x297cfb!=null&&_0x297cfb[_0x14c32d(0x1b5)]));}[_0x3674d4(0x308)](_0x336e1d){var _0x468724=_0x3674d4;return this[_0x468724(0x391)]>_0xb7d403?this[_0x468724(0x138)]():(this[_0x468724(0x162)]=_0x103647(this[_0x468724(0x391)],{'timeout':this[_0x468724(0x391)],'reqId':_0x336e1d[_0x468724(0x1ee)]}),this['_sender']=this[_0x468724(0x162)][_0x468724(0x431)](({reqId:_0x534805,timeout:_0x38222a})=>{this['_resendWithTimeout'](_0x534805,_0x38222a);}),this);}[_0x3674d4(0x138)](){var _0x534e0f=_0x3674d4;return this[_0x534e0f(0x2eb)](),this[_0x534e0f(0x44d)][_0x534e0f(0x113)](_0x13c6bf['OfflineState'],this['unitID'],this['type'],this[_0x534e0f(0x224)],this[_0x534e0f(0x15a)],this[_0x534e0f(0x373)]);}['toggleOnline'](){return this;}[_0x3674d4(0x433)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x1ad027){var _0x573b4f=_0x3674d4;return this[_0x573b4f(0x2eb)](),this[_0x573b4f(0x44d)][_0x573b4f(0x113)](_0x13c6bf[_0x573b4f(0x1e8)],this[_0x573b4f(0x36d)],this[_0x573b4f(0x16e)],null,this[_0x573b4f(0x15a)],this['_handler'],_0x1ad027);}[_0x3674d4(0x1ab)](_0x4c1f08,_0x2f37e6){var _0x368eca=_0x3674d4,_0x4da18c;_0x4c1f08===((_0x4da18c=this[_0x368eca(0x224)])==null?void 0x0:_0x4da18c['reqId'])&&(this[_0x368eca(0x433)](),this[_0x368eca(0x391)]=_0x2f37e6===0x0?0x3e8:_0x2f37e6*0x2);}[_0x3674d4(0x2eb)](){var _0x41a7b5=_0x3674d4,_0x1b9d58;(_0x1b9d58=this['_sender'])==null||_0x1b9d58[_0x41a7b5(0x22b)](),this[_0x41a7b5(0x391)]=0x0;}},_0x13c6bf['AwaitingWithPendingState']=_0x2a5763([_0x36e772(0x6,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x12a)])),_0x36e772(0x7,_0x1db671['Inject'](_0x473659[_0x3674d4(0x193)])),_0x36e772(0x8,_0x1db671['ICommandService']),_0x36e772(0x9,_0x1db671[_0x3674d4(0x271)]),_0x36e772(0xa,_0x473659[_0x3674d4(0x245)]),_0x36e772(0xb,_0x1db671['IUndoRedoService']),_0x36e772(0xc,_0x1db671[_0x3674d4(0x2c1)](_0x358068))],_0x13c6bf[_0x3674d4(0x24b)]),_0x13c6bf[_0x3674d4(0x1e8)]=class extends _0x3537b7{constructor(_0x5d5af4,_0x3b9842,_0x422dd6,_0x5c59d9,_0x21d873,_0x3ef8b9=!0x1,_0x5d3823,_0x4d918f,_0xedb067,_0x1b7ba2,_0x2575c5,_0x1989c5,_0x5af248){var _0xc6503c=_0x3674d4;super(_0x5d5af4,_0x3b9842,_0x422dd6,_0x5c59d9,_0x21d873,_0x4d918f,_0xedb067,_0x1b7ba2,_0x5af248),_0x47ca49(this,_0xc6503c(0x13e),_0xc6503c(0x1f7)),(this[_0xc6503c(0x11c)]=_0x3ef8b9,this[_0xc6503c(0x2e0)]=_0x5d3823,this[_0xc6503c(0x1e7)]=_0x2575c5,this[_0xc6503c(0x459)]=_0x1989c5,this[_0xc6503c(0x213)]=_0x5af248,this[_0xc6503c(0x3ab)](),this[_0xc6503c(0x2c2)](),this['_disableEditing']());}[_0x3674d4(0x420)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x3674d4(0x12d)](){return this;}[_0x3674d4(0x308)](){return this;}[_0x3674d4(0x138)](){return this;}['toggleOnline'](){return this;}[_0x3674d4(0x433)](){var _0x28fb9b=_0x3674d4;throw new Error(_0x28fb9b(0x101));}[_0x3674d4(0x2c2)](){var _0x2fcedc=_0x3674d4,_0x452f5b;(_0x452f5b=this['_localCacheService'])==null||_0x452f5b[_0x2fcedc(0x2a9)](this[_0x2fcedc(0x36d)],this['type'],null,[]);}[_0x3674d4(0x3ab)](){var _0x39f9e0=_0x3674d4;this[_0x39f9e0(0x11c)]?this[_0x39f9e0(0x459)][_0x39f9e0(0x28b)]({'id':_0x423d42['PERMISSION_DENIED']}):this[_0x39f9e0(0x459)][_0x39f9e0(0x28b)]({'id':_0x423d42['CONFLICT']});}[_0x3674d4(0x205)](){var _0x2e5e3d=_0x3674d4;this['_permissionService'][_0x2e5e3d(0x1e2)](new _0x45a23f[(_0x2e5e3d(0x17d))](this[_0x2e5e3d(0x36d)])['id'],!0x1);}},_0x13c6bf[_0x3674d4(0x1e8)]=_0x2a5763([_0x36e772(0x6,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x2c0)])),_0x36e772(0x7,_0x1db671[_0x3674d4(0x28d)]),_0x36e772(0x8,_0x1db671[_0x3674d4(0x31b)]),_0x36e772(0x9,_0x1db671[_0x3674d4(0x1ce)](_0x473659[_0x3674d4(0x193)])),_0x36e772(0xa,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x1f6)])),_0x36e772(0xb,_0x1db671[_0x3674d4(0x1ce)](_0x42d231)),_0x36e772(0xc,_0x1db671['Optional'](_0x358068))],_0x13c6bf[_0x3674d4(0x1e8)]),_0x13c6bf[_0x3674d4(0x11b)]=class extends _0x3537b7{constructor(_0x2d6b1f,_0x54b935,_0x965ea2,_0x4903ed,_0x1a774b,_0x4d4762,_0x1c9293,_0x437bd0,_0x15bfb6,_0x148360){var _0x5b469e=_0x3674d4;super(_0x2d6b1f,_0x54b935,_0x965ea2,_0x4903ed,_0x1a774b,_0x437bd0,_0x15bfb6,_0x1c9293,_0x148360),_0x47ca49(this,_0x5b469e(0x13e),_0x5b469e(0x360)),this[_0x5b469e(0x44d)]=_0x4d4762;}[_0x3674d4(0x420)](_0x5da88a){var _0x5330c3=_0x3674d4;return this[_0x5330c3(0x15a)][_0x5330c3(0x18a)](_0x5da88a),this[_0x5330c3(0x45d)](),this;}[_0x3674d4(0x20f)](_0x3d110b){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x3674d4(0x337)](){var _0x3c59c6=_0x3674d4;throw new Error(_0x3c59c6(0x170));}[_0x3674d4(0x12d)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3674d4(0x308)](){return this;}[_0x3674d4(0x138)](){return this;}[_0x3674d4(0x326)](){var _0x31e878=_0x3674d4;const {_injector:_0x555de2,_pendingMutations:_0x261660,_awaitingChangeset:_0x43ff6f,unitID:_0x2ea469,_handler:_0x599d07,type:_0x3dad83}=this,_0x53e566=_0x15b157(_0x555de2,_0x2ea469,_0x3dad83,_0x43ff6f,_0x261660,_0x599d07);return _0x53e566 instanceof _0x13c6bf[_0x31e878(0x351)]?_0x53e566[_0x31e878(0xe0)]():(_0x53e566 instanceof _0x13c6bf['AwaitingWithPendingState']||_0x53e566 instanceof _0x13c6bf[_0x31e878(0x274)])&&_0x53e566[_0x31e878(0x433)](),_0x53e566;}[_0x3674d4(0x433)](){var _0x11fc7c=_0x3674d4;throw new Error(_0x11fc7c(0x2c4));}},_0x13c6bf[_0x3674d4(0x11b)]=_0x2a5763([_0x36e772(0x5,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x12a)])),_0x36e772(0x6,_0x1db671['Inject'](_0x473659[_0x3674d4(0x193)])),_0x36e772(0x7,_0x1db671[_0x3674d4(0x28d)]),_0x36e772(0x8,_0x1db671[_0x3674d4(0x31b)]),_0x36e772(0x9,_0x1db671['Optional'](_0x358068))],_0x13c6bf[_0x3674d4(0x11b)]),_0x13c6bf[_0x3674d4(0x299)]=class extends _0x3537b7{constructor(_0x1bdb21,_0x46088,_0x25b0e2,_0x10b31d,_0x1365b9,_0x418a7b,_0x3a731a,_0x32e780,_0x552759,_0x372f9b,_0x502da7,_0x12834e,_0xc02ebb,_0x127f5f){var _0x42f460=_0x3674d4;super(_0x1bdb21,_0x46088,_0x25b0e2,_0x10b31d,_0x3a731a,_0x502da7,_0x12834e,_0x552759,_0x127f5f),_0x47ca49(this,_0x42f460(0x13e),_0x42f460(0x374)),(this[_0x42f460(0x166)]=_0x1365b9,this[_0x42f460(0xde)]=_0x418a7b,this[_0x42f460(0x44d)]=_0x32e780,this[_0x42f460(0x43a)]=_0x372f9b,this['_transformService']=_0xc02ebb,this['localCacheService']=_0x127f5f);}[_0x3674d4(0x3f4)](_0x30022b){var _0x20a57a=_0x3674d4;try{const _0x3a29=[..._0x30022b,...this[_0x20a57a(0xde)]],_0x351366=[this[_0x20a57a(0x224)]||this[_0x20a57a(0x166)]][_0x20a57a(0x1c5)](_0x23ec67=>!!_0x23ec67);let _0x2196ce,_0x18da46;if(_0x351366[_0x20a57a(0x446)]){const _0x27e8d4=this[_0x20a57a(0x3ad)][_0x20a57a(0xfd)](_0x3a29,_0x351366,!0x1);if(!_0x473659[_0x20a57a(0x12e)](_0x27e8d4))throw _0x27e8d4[_0x20a57a(0x36a)];_0x2196ce=_0x27e8d4[_0x20a57a(0x267)],_0x18da46=_0x27e8d4[_0x20a57a(0x40a)];}else _0x2196ce=_0x3a29,_0x18da46=[];let _0x1fb533=this[_0x20a57a(0x15a)];_0x2196ce[_0x20a57a(0x144)](_0x3d1266=>{var _0x338309=_0x20a57a;let _0xaee5cc;if(_0x1fb533[_0x338309(0x446)]){const _0x5d9db3=this[_0x338309(0x3ad)][_0x338309(0x262)](_0x3d1266,_0x1fb533);if(!_0x473659['isTransformMutationsWithChangesetSuccess'](_0x5d9db3))throw _0x5d9db3[_0x338309(0x36a)];_0xaee5cc=_0x5d9db3['c1Prime'],_0x1fb533=_0x5d9db3[_0x338309(0x398)];}else _0xaee5cc=_0x3d1266;this[_0x338309(0x1b0)](_0xaee5cc);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x20a57a(0x224)]&&_0x18da46['length']&&(_0x18da46[0x0][_0x20a57a(0x28f)]=this[_0x20a57a(0x223)]());let _0x4c28e3;if(this['_awaitingChangeset']&&_0x1fb533[_0x20a57a(0x446)]!==0x0)_0x4c28e3=this['_injector'][_0x20a57a(0x113)](_0x13c6bf[_0x20a57a(0x24b)],this['unitID'],this[_0x20a57a(0x16e)],_0x18da46[0x0],_0x1fb533,this['_handler'],void 0x0);else{if(this[_0x20a57a(0x224)]&&_0x1fb533[_0x20a57a(0x446)]===0x0)_0x18da46[0x0][_0x20a57a(0x28f)]=this[_0x20a57a(0x223)](),_0x4c28e3=this[_0x20a57a(0x44d)][_0x20a57a(0x113)](_0x13c6bf[_0x20a57a(0x274)],this['unitID'],this[_0x20a57a(0x16e)],_0x18da46[0x0],this[_0x20a57a(0x373)]);else{if(_0x1fb533[_0x20a57a(0x446)]!==0x0){const _0x56aa0a=this['_injector']['createInstance'](_0x13c6bf['PendingState'],this['unitID'],this[_0x20a57a(0x16e)],_0x1fb533,this[_0x20a57a(0x373)]);_0x56aa0a[_0x20a57a(0xe0)](),_0x4c28e3=_0x56aa0a;}else _0x4c28e3=this[_0x20a57a(0x44d)][_0x20a57a(0x113)](_0x13c6bf[_0x20a57a(0x2c6)],this[_0x20a57a(0x36d)],this['type'],this['_handler']);}}return _0x4c28e3['_updateLocalCache'](),_0x4c28e3;}catch(_0x1e02dc){return this[_0x20a57a(0x43a)]['error'](_0x20a57a(0x361),_0x20a57a(0x3f9),_0x1e02dc),this['_injector'][_0x20a57a(0x113)](_0x13c6bf[_0x20a57a(0x1e8)],this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x20a57a(0x373)],!0x1);}}['resend'](){var _0x51655d=_0x3674d4;throw new Error(_0x51655d(0x183));}[_0x3674d4(0x420)](_0x31dc81){return this['_pendingMutations']['push'](_0x31dc81),this;}[_0x3674d4(0x20f)](_0x4809e9){var _0x1a14b9=_0x3674d4;return this[_0x1a14b9(0xde)][_0x1a14b9(0x18a)](_0x4809e9),this;}[_0x3674d4(0x337)](_0x3df8ec){var _0x32540c=_0x3674d4;if(this[_0x32540c(0x224)])return this['_acknowledgedAwaitingChangeset']=this[_0x32540c(0x224)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x50dccf){var _0x24cbdd=_0x3674d4;return this[_0x24cbdd(0x3b9)](!!(_0x50dccf!=null&&_0x50dccf[_0x24cbdd(0x1b5)]));}['onRemoteRetry'](){return this;}[_0x3674d4(0x138)](){var _0xea4bf7=_0x3674d4;return this[_0xea4bf7(0x44d)][_0xea4bf7(0x113)](_0x13c6bf[_0xea4bf7(0x11b)],this[_0xea4bf7(0x36d)],this[_0xea4bf7(0x16e)],this['_awaitingChangeset'],this[_0xea4bf7(0x15a)],this[_0xea4bf7(0x373)]);}['toggleOnline'](){return this;}[_0x3674d4(0x3b9)](_0x4a9496){var _0x5e42eb=_0x3674d4;return this['_injector']['createInstance'](_0x13c6bf['ConflictState'],this['unitID'],this['type'],this[_0x5e42eb(0x224)],this[_0x5e42eb(0x15a)],this[_0x5e42eb(0x373)],_0x4a9496);}},_0x13c6bf['FetchingMissState']=_0x2a5763([_0x36e772(0x7,_0x1db671[_0x3674d4(0x1ce)](_0x1db671['Injector'])),_0x36e772(0x8,_0x1db671[_0x3674d4(0x1ce)](_0x473659[_0x3674d4(0x193)])),_0x36e772(0x9,_0x1db671[_0x3674d4(0x271)]),_0x36e772(0xa,_0x1db671[_0x3674d4(0x28d)]),_0x36e772(0xb,_0x1db671['IUndoRedoService']),_0x36e772(0xc,_0x473659[_0x3674d4(0x245)]),_0x36e772(0xd,_0x1db671[_0x3674d4(0x2c1)](_0x358068))],_0x13c6bf[_0x3674d4(0x299)]);function _0x15b157(_0x39fc29,_0x40580a,_0x161504,_0x5b604b,_0x410d2d,_0x1cefbf){var _0x33670f=_0x3674d4;return _0x5b604b&&_0x410d2d[_0x33670f(0x446)]?_0x39fc29[_0x33670f(0x113)](_0x13c6bf[_0x33670f(0x24b)],_0x40580a,_0x161504,_0x5b604b,_0x410d2d,_0x1cefbf,void 0x0):_0x5b604b?_0x39fc29['createInstance'](_0x13c6bf[_0x33670f(0x274)],_0x40580a,_0x161504,_0x5b604b,_0x1cefbf):_0x410d2d[_0x33670f(0x446)]?_0x39fc29[_0x33670f(0x113)](_0x13c6bf[_0x33670f(0x351)],_0x40580a,_0x161504,_0x410d2d,_0x1cefbf):_0x39fc29[_0x33670f(0x113)](_0x13c6bf['SyncedState'],_0x40580a,_0x161504,_0x1cefbf);}var _0x2049d2=Object[_0x3674d4(0x2f2)],_0x15e018=(_0x2e90dc,_0x15d60c,_0x733229,_0x50a5fc)=>{var _0x25091a=_0x3674d4;for(var _0x39c8ef=_0x50a5fc>0x1?void 0x0:_0x50a5fc?_0x2049d2(_0x15d60c,_0x733229):_0x15d60c,_0x2b0340=_0x2e90dc[_0x25091a(0x446)]-0x1,_0x1453ea;_0x2b0340>=0x0;_0x2b0340--)(_0x1453ea=_0x2e90dc[_0x2b0340])&&(_0x39c8ef=_0x1453ea(_0x39c8ef)||_0x39c8ef);return _0x39c8ef;},_0x34df02=(_0x1655a0,_0x547d5c)=>(_0xbbe51d,_0x4383b0)=>_0x547d5c(_0xbbe51d,_0x4383b0,_0x1655a0);_0x13c6bf[_0x3674d4(0x238)]=class extends _0x1db671[_0x3674d4(0x37e)]{constructor(_0xaecb40,_0x51da15,_0x4d1c11,_0x1e33cb,_0x33ab55,_0x348bc7,_0x15549a,_0x2b7883,_0x52b145,_0x549dbf,_0x4a0c17,_0x14db0d,_0x12d2b3){var _0x595b13=_0x3674d4;super(),_0x47ca49(this,_0x595b13(0x3b0),new _0x377325[(_0x595b13(0x3d8))](null)),_0x47ca49(this,_0x595b13(0x22e),this['_state$'][_0x595b13(0x423)]()),_0x47ca49(this,'_state'),_0x47ca49(this,_0x595b13(0x365),!0x1),_0x47ca49(this,_0x595b13(0x350),''),_0x47ca49(this,_0x595b13(0x36e),0x0),_0x47ca49(this,_0x595b13(0x182),this[_0x595b13(0x22e)][_0x595b13(0x242)](_0x377325[_0x595b13(0x3a3)](_0x495b5a=>_0x495b5a?_0x495b5a[_0x595b13(0x13e)]:_0x1cac78[_0x595b13(0x30b)]),_0x377325['shareReplay'](0x1))),_0x47ca49(this,_0x595b13(0x369),!0x1),_0x47ca49(this,'_remoteChangesetQueue',[]),(this[_0x595b13(0x36d)]=_0xaecb40,this[_0x595b13(0x1a9)]=_0x51da15,this['_type']=_0x4d1c11,this[_0x595b13(0x44d)]=_0x1e33cb,this[_0x595b13(0x1f5)]=_0x33ab55,this['_localeService']=_0x348bc7,this[_0x595b13(0x401)]=_0x15549a,this['_eventService']=_0x2b7883,this['_logService']=_0x52b145,this[_0x595b13(0x336)]=_0x549dbf,this[_0x595b13(0x2e0)]=_0x4a0c17,this[_0x595b13(0x18c)]=_0x14db0d,this[_0x595b13(0x19e)]=_0x12d2b3);}get[_0x3674d4(0x2fc)](){var _0xd10c19=_0x3674d4;return this[_0xd10c19(0x307)];}async[_0x3674d4(0x356)](){var _0x5dcc5d=_0x3674d4;if(this[_0x5dcc5d(0x2fc)])throw new Error(_0x5dcc5d(0x19c));await this[_0x5dcc5d(0x1c1)]();}['pauseCollaboration'](){var _0x3236a8=_0x3674d4;return this[_0x3236a8(0x365)]=!0x0,_0x1db671['toDisposable'](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3674d4(0x270)](_0x13b6ec){var _0x260c7d=_0x3674d4;this[_0x260c7d(0x329)](_0x13b6ec);}[_0x3674d4(0x2c5)](_0x2b65ae){var _0x422a7a=_0x3674d4;this['_state']=_0x2b65ae,this[_0x422a7a(0x3b0)][_0x422a7a(0x317)](_0x2b65ae);}async[_0x3674d4(0x1c1)](){var _0x158265=_0x3674d4,_0x57738a;this[_0x158265(0x2c5)](await this['_createInitialState']()),this[_0x158265(0x18c)]&&((_0x57738a=this['_singleActiveUnitService'])==null||_0x57738a[_0x158265(0x15d)](this[_0x158265(0x36d)]),this[_0x158265(0x273)](this[_0x158265(0x18c)]['getUnitStatus$'](this[_0x158265(0x36d)])[_0x158265(0x431)](_0x3cdad1=>{var _0x5c194e=_0x158265;this[_0x5c194e(0x43a)][_0x5c194e(0x2e4)](_0x5c194e(0x240),_0x5c194e(0x290),_0x3cdad1),_0x3cdad1===_0x55cbb3[_0x5c194e(0x330)]?(this['_eventService'][_0x5c194e(0x28b)]({'id':_0x423d42[_0x5c194e(0x3f1)]}),this['_permissionService'][_0x5c194e(0x1e2)](new _0x45a23f[(_0x5c194e(0x17d))](this[_0x5c194e(0x36d)])['id'],!0x1),this['_permissionService'][_0x5c194e(0x3bf)](!0x1)):(this['_permissionService'][_0x5c194e(0x1e2)](new _0x45a23f[(_0x5c194e(0x17d))](this['unitID'])['id'],!0x0),this[_0x5c194e(0x2e0)][_0x5c194e(0x3bf)](!0x0));})));let _0x43edbe=!0x1;return this[_0x158265(0x273)](this[_0x158265(0x1a9)]['sessionStatus$'][_0x158265(0x431)](_0x114077=>{var _0x3791ee=_0x158265;_0x114077===_0x284fc8[_0x3791ee(0x27e)]?this['_toggleOnline'](_0x43edbe):_0x114077===_0x284fc8['OFFLINE']&&(_0x43edbe=!0x0,this[_0x3791ee(0x42f)]());})),this[_0x158265(0x273)](this[_0x158265(0x1a9)][_0x158265(0x3f8)][_0x158265(0x431)](_0x3491f1=>{var _0x4196cc=_0x158265;try{switch(_0x3491f1[_0x4196cc(0x339)]){case _0x473659[_0x4196cc(0x2be)]['NEW_CHANGESETS']:{this[_0x4196cc(0x1ff)](_0x473659[_0x4196cc(0x136)](_0x3491f1[_0x4196cc(0x34e)]));break;}case _0x473659[_0x4196cc(0x2be)][_0x4196cc(0x44f)]:{this[_0x4196cc(0x3c9)](_0x3491f1[_0x4196cc(0x34e)]);break;}case _0x473659[_0x4196cc(0x2be)][_0x4196cc(0x3b6)]:{this['_onRemoteRejected']();break;}case _0x473659[_0x4196cc(0x2be)]['CHANGESET_SHOULD_RETRY']:{this[_0x4196cc(0x148)](_0x3491f1[_0x4196cc(0x34e)]);break;}case _0x473659[_0x4196cc(0x2be)][_0x4196cc(0x143)]:{this[_0x4196cc(0x1bb)](_0x3491f1[_0x4196cc(0x34e)][_0x4196cc(0x25d)][_0x4196cc(0x3a3)](_0x4871ec=>_0x473659[_0x4196cc(0x136)](_0x4871ec)));break;}case _0x473659['CollaborationEvent'][_0x4196cc(0x430)]:{this[_0x4196cc(0x12c)]({'isPermissionRej':!0x0});break;}case _0x473659['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x277750){throw console[_0x4196cc(0x36a)]('Error\x20on\x20receiving\x20event',_0x277750),_0x277750;}})),this['_state'];}[_0x3674d4(0x388)](){var _0x33c200=_0x3674d4;this[_0x33c200(0x369)]=!0x1;}[_0x3674d4(0x28a)](){var _0x1ed868=_0x3674d4;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1ed868(0x369)]=!0x0;}['_onLocalMutation'](_0x315d78){var _0x6e0baa=_0x3674d4;this['_lockTransition'](),this['_updateState'](this[_0x6e0baa(0x307)][_0x6e0baa(0x420)](_0x315d78)),this['_unlockTransition']();}[_0x3674d4(0x1ff)](_0xfb35b){var _0x554aab=_0x3674d4;if(!(_0xfb35b[_0x554aab(0x2fe)]<=this[_0x554aab(0x401)][_0x554aab(0x2e8)](this[_0x554aab(0x36d)]))){if(this[_0x554aab(0x365)]){this[_0x554aab(0x382)][_0x554aab(0x18a)](_0xfb35b);return;}this['_applyRemoteChangeset'](_0xfb35b);}}['_exhaustRemoteChangesetQueue'](){var _0x578897=_0x3674d4;this[_0x578897(0x382)][_0x578897(0x144)](_0x536639=>this[_0x578897(0x119)](_0x536639)),this['_remoteChangesetQueue']=[];}[_0x3674d4(0x119)](_0x3a6181){var _0x293e08=_0x3674d4;const _0x577dc4=this[_0x293e08(0x1f5)][_0x293e08(0x1f1)]['fetchThroughInterceptors'](this[_0x293e08(0x1f5)][_0x293e08(0x1f1)]['getInterceptPoints']()[_0x293e08(0x3b5)])(_0x3a6181[_0x293e08(0x323)],null)||_0x3a6181[_0x293e08(0x323)],_0x7d4db0={..._0x3a6181,'mutations':_0x577dc4};this[_0x293e08(0x28a)](),this[_0x293e08(0x2c5)](this[_0x293e08(0x307)][_0x293e08(0x20f)](_0x7d4db0)),this[_0x293e08(0x388)]();}[_0x3674d4(0x3c9)](_0x5c111e){var _0x1cf46f=_0x3674d4;this[_0x1cf46f(0x28a)](),this[_0x1cf46f(0x2c5)](this['_state'][_0x1cf46f(0x337)](_0x5c111e)),this[_0x1cf46f(0x388)]();}[_0x3674d4(0x12c)](_0xa17f3){var _0x11f344=_0x3674d4;this[_0x11f344(0x28a)](),this[_0x11f344(0x2c5)](this['_state'][_0x11f344(0x12d)](_0xa17f3)),this['_unlockTransition']();}[_0x3674d4(0x148)](_0x5eb66f){var _0x4a24c6=_0x3674d4;this['_lockTransition'](),this[_0x4a24c6(0x2c5)](this[_0x4a24c6(0x307)][_0x4a24c6(0x308)](_0x5eb66f)),this['_unlockTransition']();}[_0x3674d4(0x1bb)](_0x1f4215){var _0x12d47a=_0x3674d4;if(!(this[_0x12d47a(0x307)]instanceof _0x13c6bf[_0x12d47a(0x299)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2cc40c=_0x1f4215[_0x12d47a(0x3a3)](_0x5a5f6d=>{var _0x364a8e=_0x12d47a;const _0x1b0144=this[_0x364a8e(0x1f5)]['interceptor'][_0x364a8e(0xea)](this['_compressMutationService'][_0x364a8e(0x1f1)][_0x364a8e(0x296)]()[_0x364a8e(0x3b5)])(_0x5a5f6d['mutations'],null)||_0x5a5f6d[_0x364a8e(0x323)];return{..._0x5a5f6d,'mutations':_0x1b0144};});this[_0x12d47a(0x28a)](),this[_0x12d47a(0x2c5)](this['_state'][_0x12d47a(0x3f4)](_0x2cc40c)),this[_0x12d47a(0x388)]();}[_0x3674d4(0x42f)](){var _0x3dc27d=_0x3674d4;this[_0x3dc27d(0x28a)](),this[_0x3dc27d(0x2c5)](this[_0x3dc27d(0x307)][_0x3dc27d(0x138)]()),this[_0x3dc27d(0x388)]();}[_0x3674d4(0x23b)](_0x5dbca1=!0x1){var _0x43f9f5=_0x3674d4;this['_lockTransition'](),this['_updateState'](this[_0x43f9f5(0x307)][_0x43f9f5(0x326)]()),this[_0x43f9f5(0x388)]();const _0x5c7b22=this[_0x43f9f5(0x307)];_0x5dbca1&&_0x5c7b22 instanceof _0x13c6bf['SyncedState']&&(this[_0x43f9f5(0x28a)](),this[_0x43f9f5(0x2c5)](_0x5c7b22[_0x43f9f5(0x313)]()),this[_0x43f9f5(0x388)]());}async[_0x3674d4(0x275)](){return new Promise(_0x5ac12f=>{var _0x36e31f=_0x509d;this[_0x36e31f(0x1a9)][_0x36e31f(0x29a)][_0x36e31f(0x242)](_0x377325[_0x36e31f(0x3de)](0x1))[_0x36e31f(0x431)](async _0x1875cb=>{var _0x46b5e1=_0x36e31f;_0x5ac12f(await this['_createInitialStateImpl'](_0x1875cb===_0x284fc8[_0x46b5e1(0x27e)]));});});}[_0x3674d4(0x23d)](){const _0x5bdf67=this['unitID'];return{'onStateChange':(_0x35e0a2,_0x2216b4)=>{var _0x411108=_0x509d;if(_0x35e0a2!==this[_0x411108(0x307)])throw new Error(_0x411108(0x393)+_0x35e0a2[_0x411108(0x13e)]+_0x411108(0x225)+_0x2216b4[_0x411108(0x13e)]+_0x411108(0x335)+this[_0x411108(0x307)][_0x411108(0x13e)]);this[_0x411108(0x2c5)](_0x2216b4);},'onSendChangeset':_0x40b7a6=>{var _0x5eaa0b=_0x509d;_0x40b7a6[_0x5eaa0b(0x2c8)]||(_0x40b7a6['sid']=this[_0x5eaa0b(0x350)],_0x40b7a6['reqId']=++this[_0x5eaa0b(0x36e)]);const _0x2f1f92={'eventID':_0x473659['CollaborationEvent'][_0x5eaa0b(0x312)],'data':{'unitID':_0x40b7a6[_0x5eaa0b(0x36d)],'unitType':this[_0x5eaa0b(0x24a)],'changeset':_0x40b7a6,'memberID':this['session']['getMemberID']()}};this[_0x5eaa0b(0x1a9)]['send'](_0x2f1f92,this[_0x5eaa0b(0x36d)]);},'onMissingChangesets':({from:_0x43d609,to:_0x12d88b})=>{var _0xbbe8dc=_0x509d;this[_0xbbe8dc(0x43a)][_0xbbe8dc(0x2e4)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x43d609+_0xbbe8dc(0xf6)+_0x12d88b);const _0x2c5dec={'eventID':_0x473659['CollaborationEvent'][_0xbbe8dc(0x1aa)],'data':{'unitID':_0x5bdf67,'unitType':this[_0xbbe8dc(0x24a)],'from':_0x43d609,'to':_0x12d88b}};this[_0xbbe8dc(0x1a9)][_0xbbe8dc(0x322)](_0x2c5dec,this[_0xbbe8dc(0x36d)]);}};}async['_createInitialStateImpl'](_0x43e8a1){var _0x4c92cd=_0x3674d4,_0x27734f,_0x47a165,_0xe209e3;const _0x4fa169=await((_0x27734f=this[_0x4c92cd(0x19e)])==null?void 0x0:_0x27734f[_0x4c92cd(0x410)](this[_0x4c92cd(0x36d)])),_0x39102e=(_0x47a165=_0x4fa169==null?void 0x0:_0x4fa169[_0x4c92cd(0x323)])!=null?_0x47a165:[],_0x370f4c=(_0xe209e3=_0x4fa169==null?void 0x0:_0x4fa169[_0x4c92cd(0x389)])!=null?_0xe209e3:null,_0x3ae065=!!(_0x370f4c!=null&&_0x370f4c[_0x4c92cd(0x2c8)])&&!!(_0x370f4c!=null&&_0x370f4c['reqId']);this[_0x4c92cd(0x350)]=_0x3ae065?_0x370f4c[_0x4c92cd(0x2c8)]:_0x447b75(),this[_0x4c92cd(0x36e)]=_0x3ae065?_0x370f4c[_0x4c92cd(0x1ee)]:0x0;const _0x539e98=this['unitID'];try{this['_replayCachedMutations'](_0x370f4c,_0x39102e);}catch(_0x4586a3){this[_0x4c92cd(0x43a)]['error'](_0x4586a3);}const _0x4abb1f=this[_0x4c92cd(0x23d)]();if(_0x43e8a1){const _0x32ab0f=_0x15b157(this['_injector'],_0x539e98,this['_type'],_0x370f4c,_0x39102e,_0x4abb1f);return _0x32ab0f instanceof _0x13c6bf['PendingState']?_0x32ab0f[_0x4c92cd(0xe0)]():(_0x32ab0f instanceof _0x13c6bf['AwaitingWithPendingState']||_0x32ab0f instanceof _0x13c6bf[_0x4c92cd(0x274)])&&_0x32ab0f[_0x4c92cd(0x433)](),_0x32ab0f;}return this[_0x4c92cd(0x44d)]['createInstance'](_0x13c6bf['OfflineState'],_0x539e98,this['_type'],_0x370f4c,_0x39102e,_0x4abb1f);}['_replayCachedMutations'](_0x18aaa9,_0x38a638){var _0x19c479=_0x3674d4,_0x3481b7,_0x1f37a5;const _0x3312b0=this[_0x19c479(0x1f5)][_0x19c479(0x1f1)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x19c479(0x1f1)][_0x19c479(0x296)]()[_0x19c479(0x3b5)]);(_0x3481b7=_0x3312b0((_0x18aaa9==null?void 0x0:_0x18aaa9[_0x19c479(0x323)])||[],null))==null||_0x3481b7['forEach'](_0x2031b3=>this[_0x19c479(0x336)][_0x19c479(0x27a)](_0x2031b3['id'],_0x2031b3[_0x19c479(0x19d)])),(_0x1f37a5=_0x3312b0(_0x38a638||[],null))==null||_0x1f37a5[_0x19c479(0x144)](_0xf5a330=>this[_0x19c479(0x336)][_0x19c479(0x27a)](_0xf5a330['id'],_0xf5a330[_0x19c479(0x19d)]));}},_0x13c6bf[_0x3674d4(0x238)]=_0x15e018([_0x34df02(0x3,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x12a)])),_0x34df02(0x4,_0x1db671[_0x3674d4(0x1ce)](_0x473659[_0x3674d4(0x1b1)])),_0x34df02(0x5,_0x1db671[_0x3674d4(0x1ce)](_0x1db671['LocaleService'])),_0x34df02(0x6,_0x1db671[_0x3674d4(0x1ce)](_0x473659[_0x3674d4(0x193)])),_0x34df02(0x7,_0x1db671[_0x3674d4(0x1ce)](_0x42d231)),_0x34df02(0x8,_0x1db671['ILogService']),_0x34df02(0x9,_0x1db671[_0x3674d4(0x28d)]),_0x34df02(0xa,_0x1db671[_0x3674d4(0x2c0)]),_0x34df02(0xb,_0x1db671[_0x3674d4(0x2c1)](_0x2899dc)),_0x34df02(0xc,_0x1db671[_0x3674d4(0x2c1)](_0x358068))],_0x13c6bf[_0x3674d4(0x238)]),_0x13c6bf[_0x3674d4(0x14b)]=class extends _0x13c6bf[_0x3674d4(0x238)]{constructor(_0x1f8f24,_0x190724,_0x15481d,_0x597034,_0x3c70d7,_0xb40cc,_0x9171ec,_0x38881b,_0x129805,_0x2e4861,_0x23bd21,_0x4e043c,_0x3fae83){var _0x4fd1ee=_0x3674d4;super(_0x1f8f24,_0x15481d,_0x190724,_0x597034,_0x3c70d7,_0xb40cc,_0x9171ec,_0x38881b,_0x129805,_0x2e4861,_0x23bd21,_0x4e043c,_0x3fae83),_0x47ca49(this,_0x4fd1ee(0x163),null),(this['unitID']=_0x1f8f24,this[_0x4fd1ee(0x16e)]=_0x190724);}[_0x3674d4(0x292)](_0x143df8){var _0x32aaa2=_0x3674d4;this[_0x32aaa2(0x163)]=_0x143df8;}[_0x3674d4(0x379)](){var _0x2da460=_0x3674d4;this[_0x2da460(0x163)]=null,super['dispose']();}[_0x3674d4(0x23d)](){var _0x2159b1=_0x3674d4;const _0x13b724=super[_0x2159b1(0x23d)]();return _0x13b724[_0x2159b1(0x1c8)]=_0x39e395=>{var _0x30250a=_0x2159b1,_0x2cfd16,_0x147352;return(_0x147352=(_0x2cfd16=this[_0x30250a(0x163)])==null?void 0x0:_0x2cfd16[_0x30250a(0x1c8)])==null?void 0x0:_0x147352['call'](_0x2cfd16,_0x39e395);},_0x13b724['onTransformState']=_0xbd11c8=>{var _0x39e26c=_0x2159b1,_0x3a0900,_0x2abd82;return(_0x2abd82=(_0x3a0900=this[_0x39e26c(0x163)])==null?void 0x0:_0x3a0900['onTransformState'])==null?void 0x0:_0x2abd82['call'](_0x3a0900,_0xbd11c8);},_0x13b724['onTransformSelections']=_0x238282=>{var _0x3c27aa=_0x2159b1,_0x3bcf27,_0x482f6f;return(_0x482f6f=(_0x3bcf27=this[_0x3c27aa(0x163)])==null?void 0x0:_0x3bcf27['onTransformSelections'])==null?void 0x0:_0x482f6f['call'](_0x3bcf27,_0x238282);},_0x13b724[_0x2159b1(0x28e)]=_0xeca01d=>{var _0x2d7e68=_0x2159b1,_0x9f19fe,_0x5d00a4;return(_0x5d00a4=(_0x9f19fe=this[_0x2d7e68(0x163)])==null?void 0x0:_0x9f19fe[_0x2d7e68(0x28e)])==null?void 0x0:_0x5d00a4['call'](_0x9f19fe,_0xeca01d);},_0x13b724[_0x2159b1(0x2a2)]=_0x128c75=>{var _0x492bd8=_0x2159b1,_0xd7382f,_0x574580,_0x5cdc1c;if(!((_0xd7382f=this[_0x492bd8(0x163)])!=null&&_0xd7382f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x492bd8(0x142));return(_0x5cdc1c=(_0x574580=this['_handlerCallback'])==null?void 0x0:_0x574580[_0x492bd8(0x2a2)])==null?void 0x0:_0x5cdc1c[_0x492bd8(0x3fe)](_0x574580,_0x128c75);},_0x13b724[_0x2159b1(0x37d)]=_0x200cfd=>{var _0xfb4264=_0x2159b1,_0x50d64d,_0x4773e2,_0x4d59f7;if(!((_0x50d64d=this[_0xfb4264(0x163)])!=null&&_0x50d64d['onTransformRemoteChangesetByStateCache']))throw new Error(_0xfb4264(0x117));return(_0x4d59f7=(_0x4773e2=this[_0xfb4264(0x163)])==null?void 0x0:_0x4773e2[_0xfb4264(0x37d)])==null?void 0x0:_0x4d59f7[_0xfb4264(0x3fe)](_0x4773e2,_0x200cfd);},_0x13b724;}async[_0x3674d4(0x1c1)](){var _0x1914cf=_0x3674d4;const _0x48c6a4=await super[_0x1914cf(0x1c1)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x353bd2,_0x491d70)=>{var _0x703ce4=_0x1914cf;if(_0x353bd2[_0x703ce4(0x16e)]!==_0x1db671['CommandType'][_0x703ce4(0x24d)]||_0x491d70!=null&&_0x491d70[_0x703ce4(0x2c9)]||_0x491d70!=null&&_0x491d70[_0x703ce4(0x363)]||_0x353bd2['id']===_0x3fa17d[_0x703ce4(0x3e8)]['id'])return;const _0x237776=_0x353bd2[_0x703ce4(0x19d)];if((_0x237776==null?void 0x0:_0x237776[_0x703ce4(0x451)])!==this[_0x703ce4(0x36d)])return;const _0x89c29d=_0x353bd2,_0x1f43a8=this['_compressMutationService'][_0x703ce4(0x1f1)][_0x703ce4(0xea)](this[_0x703ce4(0x1f5)][_0x703ce4(0x1f1)][_0x703ce4(0x296)]()[_0x703ce4(0x15b)])([_0x89c29d],null)||[_0x89c29d];this[_0x703ce4(0x329)](_0x1f43a8[0x0]);})),_0x48c6a4;}},_0x13c6bf[_0x3674d4(0x14b)]=_0x15e018([_0x34df02(0x3,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x12a)])),_0x34df02(0x4,_0x1db671[_0x3674d4(0x1ce)](_0x473659[_0x3674d4(0x1b1)])),_0x34df02(0x5,_0x1db671['Inject'](_0x1db671[_0x3674d4(0x1f6)])),_0x34df02(0x6,_0x1db671['Inject'](_0x473659[_0x3674d4(0x193)])),_0x34df02(0x7,_0x1db671[_0x3674d4(0x1ce)](_0x42d231)),_0x34df02(0x8,_0x1db671[_0x3674d4(0x271)]),_0x34df02(0x9,_0x1db671[_0x3674d4(0x28d)]),_0x34df02(0xa,_0x1db671[_0x3674d4(0x2c0)]),_0x34df02(0xb,_0x1db671[_0x3674d4(0x2c1)](_0x2899dc)),_0x34df02(0xc,_0x1db671['Optional'](_0x358068))],_0x13c6bf[_0x3674d4(0x14b)]),_0x13c6bf['SheetCollaborationEntity']=class extends _0x13c6bf[_0x3674d4(0x238)]{constructor(_0x48eb69,_0x266b9c,_0x4560e1,_0x10a3b3,_0x142d86,_0x58305e,_0x120da1,_0x1d2402,_0x571a0e,_0x3db92a,_0x4d7483,_0x58fcbf,_0x4f2af3,_0x5b9009){var _0x2f0f5b=_0x3674d4;super(_0x48eb69,_0x4560e1,_0x266b9c,_0x10a3b3,_0x142d86,_0x58305e,_0x120da1,_0x571a0e,_0x3db92a,_0x4d7483,_0x58fcbf,_0x4f2af3,_0x5b9009),this['unitID']=_0x48eb69,this[_0x2f0f5b(0x16e)]=_0x266b9c,this[_0x2f0f5b(0x11f)]=_0x1d2402;}[_0x3674d4(0x23d)](){var _0x392f24=_0x3674d4;const _0x14230c=super[_0x392f24(0x23d)]();return _0x14230c['onTransformSelections']=_0x4398ad=>this[_0x392f24(0x11f)][_0x392f24(0x44c)](_0x4398ad),_0x14230c;}async['_init'](){var _0x11eda2=_0x3674d4;const _0x4def4b=await super[_0x11eda2(0x1c1)]();return this[_0x11eda2(0x273)](this[_0x11eda2(0x336)]['onCommandExecuted']((_0x3b37a2,_0x586b7)=>{var _0x57fe4d=_0x11eda2;if(_0x3b37a2[_0x57fe4d(0x16e)]!==_0x1db671[_0x57fe4d(0x211)][_0x57fe4d(0x24d)]||_0x586b7!=null&&_0x586b7['fromCollab']||_0x586b7!=null&&_0x586b7[_0x57fe4d(0x363)])return;const _0x5f1019=_0x3b37a2[_0x57fe4d(0x19d)];if((_0x5f1019==null?void 0x0:_0x5f1019[_0x57fe4d(0x451)])!==this['unitID'])return;const _0x5c0677=_0x3b37a2,_0x287b72=this[_0x57fe4d(0x1f5)]['interceptor'][_0x57fe4d(0xea)](this[_0x57fe4d(0x1f5)]['interceptor'][_0x57fe4d(0x296)]()[_0x57fe4d(0x15b)])([_0x5c0677],null)||[_0x5c0677];this[_0x57fe4d(0x329)](_0x287b72[0x0]);})),_0x4def4b;}},_0x13c6bf[_0x3674d4(0x3da)]=_0x15e018([_0x34df02(0x3,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x12a)])),_0x34df02(0x4,_0x1db671['Inject'](_0x473659[_0x3674d4(0x1b1)])),_0x34df02(0x5,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x1f6)])),_0x34df02(0x6,_0x1db671[_0x3674d4(0x1ce)](_0x473659['RevisionService'])),_0x34df02(0x7,_0x1db671[_0x3674d4(0x1ce)](_0x13c6bf[_0x3674d4(0x450)])),_0x34df02(0x8,_0x1db671[_0x3674d4(0x1ce)](_0x42d231)),_0x34df02(0x9,_0x1db671[_0x3674d4(0x271)]),_0x34df02(0xa,_0x1db671[_0x3674d4(0x28d)]),_0x34df02(0xb,_0x1db671[_0x3674d4(0x2c0)]),_0x34df02(0xc,_0x1db671[_0x3674d4(0x2c1)](_0x2899dc)),_0x34df02(0xd,_0x1db671[_0x3674d4(0x2c1)](_0x358068))],_0x13c6bf[_0x3674d4(0x3da)]);var _0x286613=Object['getOwnPropertyDescriptor'],_0x49e22a=(_0x525361,_0x1d7d86,_0x141175,_0x532db0)=>{var _0x13f05b=_0x3674d4;for(var _0x172811=_0x532db0>0x1?void 0x0:_0x532db0?_0x286613(_0x1d7d86,_0x141175):_0x1d7d86,_0x94e83=_0x525361[_0x13f05b(0x446)]-0x1,_0x62edf0;_0x94e83>=0x0;_0x94e83--)(_0x62edf0=_0x525361[_0x94e83])&&(_0x172811=_0x62edf0(_0x172811)||_0x172811);return _0x172811;},_0x555481=(_0x2d46a4,_0x23881d)=>(_0x42eb86,_0x4ba66e)=>_0x23881d(_0x42eb86,_0x4ba66e,_0x2d46a4);_0x13c6bf['CollaborationController']=class extends _0x1db671[_0x3674d4(0x37e)]{constructor(_0x359879,_0x2c5b2e,_0x28febc){var _0x286003=_0x3674d4;super(),_0x47ca49(this,'_entities',new Map()),_0x47ca49(this,_0x286003(0x1ca),new _0x377325[(_0x286003(0x2b0))]()),_0x47ca49(this,'entityInit$',this[_0x286003(0x1ca)][_0x286003(0x423)]()),(this[_0x286003(0x44d)]=_0x359879,this[_0x286003(0x41a)]=_0x2c5b2e,this[_0x286003(0x3bb)]=_0x28febc,this[_0x286003(0x1c1)]());}['dispose'](){var _0x213c02=_0x3674d4;super[_0x213c02(0x379)](),this['_entities'][_0x213c02(0x144)](_0x2452af=>_0x2452af[_0x213c02(0x379)]()),this[_0x213c02(0x33e)][_0x213c02(0xf2)]();}['getCollabEntity'](_0x1489e2){var _0x1b69d3=_0x3674d4,_0x3a501a;return(_0x3a501a=this[_0x1b69d3(0x33e)]['get'](_0x1489e2))!=null?_0x3a501a:null;}[_0x3674d4(0x157)](_0x59bd2b){var _0x442adb=_0x3674d4;const _0x14c967=this[_0x442adb(0x3a7)](_0x59bd2b);return _0x14c967?_0x377325['of'](_0x14c967):this[_0x442adb(0x1ca)][_0x442adb(0x242)](_0x1ca1cf[_0x442adb(0x1c5)](_0x5bf227=>_0x5bf227[_0x442adb(0x36d)]===_0x59bd2b));}[_0x3674d4(0x26d)](_0x51682a){var _0x5d040f=_0x3674d4;return _0x377325[_0x5d040f(0x29d)](this[_0x5d040f(0x157)](_0x51682a)['pipe'](_0x1ca1cf['map'](()=>{})));}[_0x3674d4(0x1c1)](){var _0x1cae61=_0x3674d4;this[_0x1cae61(0x3bb)]['getTypeOfUnitAdded$'](_0x1db671[_0x1cae61(0x45a)][_0x1cae61(0x258)])['pipe'](_0x377325['takeUntil'](this[_0x1cae61(0x42d)]),_0x1ca1cf[_0x1cae61(0xe1)](0x10))[_0x1cae61(0x431)](async _0x35f0cf=>{var _0xb1afb=_0x1cae61;const _0xf9481a=_0x35f0cf['getUnitId'](),_0x499a21=await this['_startCollaboration'](_0xf9481a,_0x50ca95[_0xb1afb(0x258)]);this['_entities'][_0xb1afb(0x35d)](_0xf9481a,_0x499a21);}),this[_0x1cae61(0x3bb)][_0x1cae61(0x41e)](_0x1db671[_0x1cae61(0x45a)][_0x1cae61(0x414)])[_0x1cae61(0x242)](_0x377325['takeUntil'](this[_0x1cae61(0x42d)]),_0x1ca1cf[_0x1cae61(0xe1)](0x10))[_0x1cae61(0x242)](_0x1ca1cf['filter'](_0x148e27=>!_0x148e27['getUnitId']()[_0x1cae61(0x3ed)]('__')))[_0x1cae61(0x431)](async _0x5870d9=>{var _0x3b00f5=_0x1cae61;const _0x2e3010=_0x5870d9['getUnitId'](),_0x35e47e=await this[_0x3b00f5(0x3c7)](_0x2e3010,_0x50ca95[_0x3b00f5(0x414)]);this['_entities'][_0x3b00f5(0x35d)](_0x2e3010,_0x35e47e);}),_0x377325[_0x1cae61(0x2cd)](this[_0x1cae61(0x3bb)][_0x1cae61(0xec)](_0x1db671[_0x1cae61(0x45a)][_0x1cae61(0x258)]),this[_0x1cae61(0x3bb)][_0x1cae61(0xec)](_0x1db671[_0x1cae61(0x45a)][_0x1cae61(0x414)]))[_0x1cae61(0x242)](_0x377325[_0x1cae61(0x429)](this[_0x1cae61(0x42d)]))[_0x1cae61(0x431)](_0x4ff135=>{var _0x30dc79=_0x1cae61;const _0x4f93ac=_0x4ff135['getUnitId'](),_0x3bd357=this[_0x30dc79(0x33e)][_0x30dc79(0x3cd)](_0x4f93ac);_0x3bd357&&(_0x3bd357[_0x30dc79(0x379)](),this[_0x30dc79(0x33e)][_0x30dc79(0xe9)](_0x4f93ac));});}async[_0x3674d4(0x3c7)](_0x10d853,_0x2501c6){var _0x492741=_0x3674d4;const _0x24a022=await this[_0x492741(0x41a)][_0x492741(0xeb)](_0x10d853),_0x2aa1b7=this[_0x492741(0x44d)]['createInstance'](this[_0x492741(0x127)](_0x2501c6),_0x10d853,_0x2501c6,_0x24a022);return await _0x2aa1b7[_0x492741(0x356)](),this[_0x492741(0x1ca)]['next'](_0x2aa1b7),_0x2aa1b7;}[_0x3674d4(0x127)](_0x520739){var _0x2e4eb1=_0x3674d4;switch(_0x520739){case _0x50ca95[_0x2e4eb1(0x414)]:return _0x13c6bf[_0x2e4eb1(0x14b)];case _0x50ca95['UNIVER_SHEET']:return _0x13c6bf['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x520739);}}},_0x13c6bf[_0x3674d4(0x2aa)]=_0x49e22a([_0x555481(0x0,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x12a)])),_0x555481(0x1,_0x1db671[_0x3674d4(0x1ce)](_0x13c6bf[_0x3674d4(0xe2)])),_0x555481(0x2,_0x1db671[_0x3674d4(0x2fa)])],_0x13c6bf[_0x3674d4(0x2aa)]);var _0x42c771=Object[_0x3674d4(0x2f2)],_0x5bf48a=(_0x50ba93,_0x23fbda,_0x57f57e,_0x565f70)=>{for(var _0x513145=_0x565f70>0x1?void 0x0:_0x565f70?_0x42c771(_0x23fbda,_0x57f57e):_0x23fbda,_0x245c91=_0x50ba93['length']-0x1,_0x5512e8;_0x245c91>=0x0;_0x245c91--)(_0x5512e8=_0x50ba93[_0x245c91])&&(_0x513145=_0x5512e8(_0x513145)||_0x513145);return _0x513145;},_0x3d8abc=(_0x263ef4,_0x324d3e)=>(_0x17bbff,_0x3fa03c)=>_0x324d3e(_0x17bbff,_0x3fa03c,_0x263ef4);const _0x29a5e1=_0x3674d4(0x1b8),_0x59a8e5=_0x3674d4(0x1f8);let _0x2e1dcf=class extends _0x1db671['Disposable']{constructor(_0x14ee93,_0x186f32){var _0x2dffa7=_0x3674d4;super(),this[_0x2dffa7(0x3bb)]=_0x14ee93,this['_configService']=_0x186f32,this['_init']();}[_0x3674d4(0x1c1)](){var _0x2d1f5b=_0x3674d4;this[_0x2d1f5b(0x273)](this['_univerInstanceService'][_0x2d1f5b(0x1af)][_0x2d1f5b(0x431)](()=>{var _0xbcad5c=_0x2d1f5b,_0x33a85a;const _0x18921b=this[_0xbcad5c(0x3bb)]['getFocusedUnit']();let _0x59c360=(_0x33a85a=this[_0xbcad5c(0x3c5)]['getConfig'](_0x29a5e1))!=null?_0x33a85a:_0x59a8e5;_0x18921b instanceof _0x1db671[_0xbcad5c(0x368)]&&(_0x59c360=_0x18921b['name']),document[_0xbcad5c(0x443)]=_0x59c360;}));}};_0x2e1dcf=_0x5bf48a([_0x3d8abc(0x0,_0x1db671[_0x3674d4(0x2fa)]),_0x3d8abc(0x1,_0x1db671[_0x3674d4(0x25a)])],_0x2e1dcf);var _0x4eaec3=Object[_0x3674d4(0x2f2)],_0x23afb2=(_0x263a6c,_0x4d6b25,_0x13a278,_0x22ab17)=>{var _0xed945a=_0x3674d4;for(var _0x544e4e=_0x22ab17>0x1?void 0x0:_0x22ab17?_0x4eaec3(_0x4d6b25,_0x13a278):_0x4d6b25,_0x544d95=_0x263a6c[_0xed945a(0x446)]-0x1,_0x1a4aaa;_0x544d95>=0x0;_0x544d95--)(_0x1a4aaa=_0x263a6c[_0x544d95])&&(_0x544e4e=_0x1a4aaa(_0x544e4e)||_0x544e4e);return _0x544e4e;},_0x8282a1=(_0x158d79,_0x76f569)=>(_0x5189f5,_0x39d8aa)=>_0x76f569(_0x5189f5,_0x39d8aa,_0x158d79);let _0x2255c3=class{constructor(_0xd5d11c,_0x3ea429,_0x1027b5){var _0x4c7ef9=_0x3674d4;this['_configService']=_0xd5d11c,this[_0x4c7ef9(0x124)]=_0x3ea429,this['localeService']=_0x1027b5,this[_0x4c7ef9(0x356)]();}[_0x3674d4(0x356)](){var _0x10546a=_0x3674d4;this[_0x10546a(0x124)][_0x10546a(0x442)]({'priority':0x1,'interceptor':(_0x1ee826,_0x1c8648)=>_0x1c8648(_0x1ee826)[_0x10546a(0x242)](_0x377325[_0x10546a(0x11e)](async _0x454683=>{var _0x2ff13d=_0x10546a;const _0x39a77d=_0x454683;if(_0x39a77d[_0x2ff13d(0x13e)]===0x191){if(typeof window>'u')throw new Error(_0x2ff13d(0xf3));if(window[_0x2ff13d(0x172)](this[_0x2ff13d(0x1d4)]['t'](_0x2ff13d(0x254)))){const _0x44c5d8=window[_0x2ff13d(0x321)](window[_0x2ff13d(0x35e)][_0x2ff13d(0x39a)]);window[_0x2ff13d(0x35e)][_0x2ff13d(0x39a)]=this[_0x2ff13d(0x39c)]()+_0x2ff13d(0x3c3)+_0x44c5d8;}}return _0x39a77d;}))});}[_0x3674d4(0x39c)](){var _0x3fd982=_0x3674d4,_0x456b72,_0x55183c;const _0x10a346=this[_0x3fd982(0x3c5)][_0x3fd982(0x3f5)](_0x2918c4),_0x5e20f7=this[_0x3fd982(0x3c5)]['getConfig'](_0x3edafe);return(_0x55183c=(_0x456b72=_0x5e20f7==null?void 0x0:_0x5e20f7[_0x3fd982(0x408)])!=null?_0x456b72:_0x10a346)!=null?_0x55183c:_0x1f022f;}};_0x2255c3=_0x23afb2([_0x8282a1(0x0,_0x1db671['IConfigService']),_0x8282a1(0x1,_0x1db671[_0x3674d4(0x1ce)](_0x160ac5['HTTPService'])),_0x8282a1(0x2,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x1f6)]))],_0x2255c3);var _0x3fba88=Object['getOwnPropertyDescriptor'],_0x18ebbf=(_0x3e6bb0,_0x206d79,_0xc6a26f,_0x1a6688)=>{var _0x5253be=_0x3674d4;for(var _0x234c75=_0x1a6688>0x1?void 0x0:_0x1a6688?_0x3fba88(_0x206d79,_0xc6a26f):_0x206d79,_0x4af5f8=_0x3e6bb0[_0x5253be(0x446)]-0x1,_0xf82f40;_0x4af5f8>=0x0;_0x4af5f8--)(_0xf82f40=_0x3e6bb0[_0x4af5f8])&&(_0x234c75=_0xf82f40(_0x234c75)||_0x234c75);return _0x234c75;},_0x26008d=(_0x797c16,_0x712ae)=>(_0x2b54c0,_0x44d0fd)=>_0x712ae(_0x2b54c0,_0x44d0fd,_0x797c16);const _0x554be2=_0x3674d4(0x12f),_0x4ce08a='/universer-api/authz';_0x13c6bf['AuthzIoHttpService']=class extends _0x1db671[_0x3674d4(0x1fe)]{constructor(_0x5d2d9e,_0x3d7ca9){var _0xc69489=_0x3674d4;super(),this[_0xc69489(0x244)]=_0x5d2d9e,this[_0xc69489(0x3c5)]=_0x3d7ca9,this['_initMergeInterceptor']();}[_0x3674d4(0x289)](){var _0x33b442=_0x3674d4;const _0x3c50e4=this;this[_0x33b442(0x273)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x160ac5[_0x33b442(0x2e3)]({'isMatch'(_0xe4cb83){var _0x44af39=_0x33b442,_0x5e8a44;if(_0xe4cb83[_0x44af39(0x26f)]===_0x44af39(0x427)&&((_0x5e8a44=_0xe4cb83[_0x44af39(0x2d1)])!=null&&_0x5e8a44[_0x44af39(0x218)])){const {objectID:_0x54d6c4,objectType:_0x18cb0b}=_0xe4cb83[_0x44af39(0x2d1)][_0x44af39(0x218)]||{};if(!_0x54d6c4||_0x18cb0b===void 0x0)return!0x1;const _0x460a61=_0x3c50e4[_0x44af39(0x278)]()+'/'+_0x18cb0b+_0x44af39(0x212)+_0x54d6c4+_0x44af39(0x3b8);if(_0xe4cb83[_0x44af39(0x392)]===_0x460a61)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x257b37){var _0x1bb5dd=_0x33b442,_0x1d607a;return(_0x1d607a=_0x257b37[_0x1bb5dd(0x2d1)])==null?void 0x0:_0x1d607a[_0x1bb5dd(0x218)];},'mergeParamsToRequest'(_0xfcfec7,_0x22f59e){var _0x52c8d5=_0x33b442;const _0x223175=_0x3c50e4['_getAPIPrefixPath']()+_0x52c8d5(0x2ec),_0x37cbc7=_0xfcfec7[_0x52c8d5(0x126)]((_0x531ee7,_0x5433b0)=>{var _0xa11f94=_0x52c8d5;const {unitID:_0x25b79e,objectID:_0x35691c,objectType:_0x43905c,actions:_0x519795}=_0x5433b0;return _0x531ee7[_0x25b79e]||(_0x531ee7[_0x25b79e]={}),_0x531ee7[_0x25b79e][_0x35691c]||(_0x531ee7[_0x25b79e][_0x35691c]={'objectID':_0x35691c,'objectType':_0x43905c,'actions':[]}),_0x531ee7[_0x25b79e][_0x35691c][_0xa11f94(0x454)][_0xa11f94(0x18a)](..._0x519795),_0x531ee7;},{}),_0x21cc92=[];for(const _0xdaa994 in _0x37cbc7)for(const _0x4d4fb1 in _0x37cbc7[_0xdaa994]){const {actions:_0x116ed8,objectType:_0x53f250}=_0x37cbc7[_0xdaa994][_0x4d4fb1],_0x50c5e4=[...new Set(_0x116ed8)];_0x21cc92['push']({'unitID':_0xdaa994,'objectID':_0x4d4fb1,'objectType':_0x53f250,'actions':_0x50c5e4});}return new _0x160ac5['HTTPRequest'](_0x52c8d5(0x427),_0x223175,{'headers':_0x22f59e[_0x52c8d5(0x20b)],'withCredentials':_0x22f59e[_0x52c8d5(0x276)],'responseType':_0x22f59e['responseType'],'body':{'requests':_0x21cc92}});}},{'distributeResult'(_0x1bad6b,_0x1ab2f6){var _0x1e1a6b=_0x33b442;const {objectActions:_0x4edcea}=_0x1bad6b;return _0x1ab2f6[_0x1e1a6b(0x3a3)](_0x5ef71f=>{var _0x9334ad=_0x1e1a6b;const {unitID:_0x60b511,objectID:_0x402ca8,actions:_0x403684}=_0x5ef71f,_0x10e6e6=_0x4edcea[_0x9334ad(0x282)](_0x618ad9=>_0x618ad9[_0x9334ad(0x36d)]===_0x60b511&&_0x618ad9[_0x9334ad(0x383)]===_0x402ca8),_0x12d603=_0x403684[_0x9334ad(0x3a3)](_0x1d8685=>_0x10e6e6==null?void 0x0:_0x10e6e6[_0x9334ad(0x454)][_0x9334ad(0x282)](_0x285106=>_0x285106[_0x9334ad(0x32e)]===_0x1d8685))[_0x9334ad(0x1c5)](_0x4bda64=>!!_0x4bda64);return{'config':_0x5ef71f,'result':{'actions':_0x12d603,'error':_0x1bad6b[_0x9334ad(0x36a)]}};});}})}));}['_getAPIPrefixPath'](){var _0x3955fb=_0x3674d4,_0x1d5fca,_0x1793f7;const _0x1e419a=this['_configService'][_0x3955fb(0x3f5)](_0x554be2),_0x2938ee=this[_0x3955fb(0x3c5)]['getConfig'](_0x3edafe);return(_0x1793f7=(_0x1d5fca=_0x2938ee==null?void 0x0:_0x2938ee['authzUrl'])!=null?_0x1d5fca:_0x1e419a)!=null?_0x1793f7:_0x4ce08a;}async[_0x3674d4(0x1ac)](_0xbf5839){var _0x92f4e5=_0x3674d4;const _0xb3881a=this[_0x92f4e5(0x278)]()+'/'+_0xbf5839[_0x92f4e5(0x279)]+_0x92f4e5(0x1f3);return(await this[_0x92f4e5(0x244)][_0x92f4e5(0x18b)](_0xb3881a,{'body':_0xbf5839}))[_0x92f4e5(0x218)]['objectID']||'';}async[_0x3674d4(0x28c)](_0x37b8d0){var _0x8664f=_0x3674d4;const _0x2f1999=this[_0x8664f(0x278)]()+_0x8664f(0x185);return(await this[_0x8664f(0x244)]['post'](_0x2f1999,{'body':_0x37b8d0}))[_0x8664f(0x218)][_0x8664f(0x3c8)];}async['update'](_0x2d6bdc){var _0xe92a30=_0x3674d4,_0x37cb47,_0x143ef0;const _0x472fb4=this[_0xe92a30(0x278)]()+'/'+_0x2d6bdc[_0xe92a30(0x279)]+_0xe92a30(0x212)+_0x2d6bdc[_0xe92a30(0x383)],_0x226ad0=await this[_0xe92a30(0x244)][_0xe92a30(0x186)](_0x472fb4,{'body':_0x2d6bdc});if(((_0x143ef0=(_0x37cb47=_0x226ad0==null?void 0x0:_0x226ad0[_0xe92a30(0x218)])==null?void 0x0:_0x37cb47[_0xe92a30(0x36a)])==null?void 0x0:_0x143ef0['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x3674d4(0x2cb)](_0x16b993){var _0x358cee=_0x3674d4;const _0xb2274a=this[_0x358cee(0x278)]()+'/'+_0x16b993[_0x358cee(0x279)]+_0x358cee(0x212)+_0x16b993[_0x358cee(0x383)]+_0x358cee(0x3b8);return(await this[_0x358cee(0x244)][_0x358cee(0x18b)](_0xb2274a,{'body':_0x16b993}))[_0x358cee(0x218)][_0x358cee(0x454)];}async[_0x3674d4(0x3d7)](_0x41a98a){var _0x1d8b19=_0x3674d4;const _0x5bb095=this[_0x1d8b19(0x278)]()+_0x1d8b19(0x2ec);return(await this[_0x1d8b19(0x244)][_0x1d8b19(0x18b)](_0x5bb095,{'body':{'requests':_0x41a98a}}))[_0x1d8b19(0x218)][_0x1d8b19(0x247)];}async[_0x3674d4(0x26b)](_0x17d031){var _0x16ca12=_0x3674d4;const _0x2942ee=this[_0x16ca12(0x278)]()+'/'+_0x17d031[_0x16ca12(0x279)]+'/role',_0x1099fc=await this[_0x16ca12(0x244)]['post'](_0x2942ee,{'body':_0x17d031});return{'roles':_0x1099fc[_0x16ca12(0x218)]['roles'],'actions':_0x1099fc['body'][_0x16ca12(0x454)]};}async[_0x3674d4(0x2ba)](_0x2f1615){var _0x27de6a=_0x3674d4;const _0x26f0db=this[_0x27de6a(0x278)]()+'/collaborator';await this['_HTTPService']['delete'](_0x26f0db,{'params':{'collaboratorID':_0x2f1615['collaboratorID'],'objectID':_0x2f1615[_0x27de6a(0x383)],'unitID':_0x2f1615[_0x27de6a(0x36d)]}});}async[_0x3674d4(0xe8)](_0x3e248c){var _0x712700=_0x3674d4;const _0x231820=this[_0x712700(0x278)]()+_0x712700(0x14f);await this[_0x712700(0x244)][_0x712700(0x1d2)](_0x231820,{'body':_0x3e248c});}async[_0x3674d4(0x17a)](_0x178953){var _0x29d36c=_0x3674d4;const _0xb52144=this[_0x29d36c(0x278)]()+_0x29d36c(0x14f);await this['_HTTPService']['post'](_0xb52144,{'body':_0x178953});}async[_0x3674d4(0x316)](_0x5b03df){var _0x1c7756=_0x3674d4;const _0x7af3d=this[_0x1c7756(0x278)]()+_0x1c7756(0x14f);return(await this[_0x1c7756(0x244)]['get'](_0x7af3d,{'params':{'objectID':_0x5b03df[_0x1c7756(0x383)],'unitID':_0x5b03df[_0x1c7756(0x36d)]}}))[_0x1c7756(0x218)][_0x1c7756(0x319)];}async[_0x3674d4(0x167)](_0x147d82){var _0x39778e=_0x3674d4;const _0x3f7176=this['_getAPIPrefixPath']()+_0x39778e(0x14f);await this['_HTTPService'][_0x39778e(0x186)](_0x3f7176,{'body':_0x147d82});}},_0x13c6bf[_0x3674d4(0x2b6)]=_0x18ebbf([_0x26008d(0x0,_0x1db671[_0x3674d4(0x1ce)](_0x160ac5[_0x3674d4(0x264)])),_0x26008d(0x1,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x25a)]))],_0x13c6bf['AuthzIoHttpService']);var _0x1fc6e9=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1c4920(_0x54f243){var _0x1b7215=_0x3674d4;return _0x54f243&&_0x54f243[_0x1b7215(0x260)]&&Object[_0x1b7215(0x222)][_0x1b7215(0x41b)][_0x1b7215(0x3fe)](_0x54f243,_0x1b7215(0x21b))?_0x54f243[_0x1b7215(0x21b)]:_0x54f243;}var _0x27c80b={'exports':{}};function _0xb2c26a(_0x3c59da){var _0x3205f9=_0x3674d4;throw new Error(_0x3205f9(0x3d6)+_0x3c59da+_0x3205f9(0x10f));}var _0x232eac={'exports':{}},_0x736b24=_0x232eac[_0x3674d4(0x346)],_0xed3a5c;function _0x5cc575(){return _0xed3a5c||(_0xed3a5c=0x1,function(_0x78ae34,_0x30513d){(function(_0x55c6a0,_0x4b3679){var _0x352fcf=_0x509d;_0x78ae34[_0x352fcf(0x346)]=_0x4b3679();}(_0x736b24,function(){var _0x1cad2a=_0x1cad2a||function(_0x497b73,_0x38ae64){var _0x3455ac=_0x509d,_0x363d6f;if(typeof window<'u'&&window[_0x3455ac(0x110)]&&(_0x363d6f=window[_0x3455ac(0x110)]),typeof self<'u'&&self[_0x3455ac(0x110)]&&(_0x363d6f=self[_0x3455ac(0x110)]),typeof globalThis<'u'&&globalThis[_0x3455ac(0x110)]&&(_0x363d6f=globalThis['crypto']),!_0x363d6f&&typeof window<'u'&&window[_0x3455ac(0x2e7)]&&(_0x363d6f=window[_0x3455ac(0x2e7)]),!_0x363d6f&&typeof _0x1fc6e9<'u'&&_0x1fc6e9[_0x3455ac(0x110)]&&(_0x363d6f=_0x1fc6e9[_0x3455ac(0x110)]),!_0x363d6f&&typeof _0xb2c26a=='function')try{_0x363d6f=require(_0x3455ac(0x110));}catch{}var _0x1174af=function(){var _0x45f1eb=_0x3455ac;if(_0x363d6f){if(typeof _0x363d6f[_0x45f1eb(0x3d2)]==_0x45f1eb(0x40e))try{return _0x363d6f[_0x45f1eb(0x3d2)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x363d6f[_0x45f1eb(0xe4)]==_0x45f1eb(0x40e))try{return _0x363d6f[_0x45f1eb(0xe4)](0x4)[_0x45f1eb(0x215)]();}catch{}}throw new Error(_0x45f1eb(0x3ba));},_0x1ec3aa=Object['create']||(function(){function _0x14203a(){}return function(_0x501c1e){var _0x19a06f=_0x509d,_0x46a301;return _0x14203a[_0x19a06f(0x222)]=_0x501c1e,_0x46a301=new _0x14203a(),_0x14203a[_0x19a06f(0x222)]=null,_0x46a301;};}()),_0x24f889={},_0x48a02d=_0x24f889['lib']={},_0x108164=_0x48a02d[_0x3455ac(0x3ff)]=(function(){return{'extend':function(_0x4716bb){var _0x53e623=_0x509d,_0x1744af=_0x1ec3aa(this);return _0x4716bb&&_0x1744af['mixIn'](_0x4716bb),(!_0x1744af['hasOwnProperty'](_0x53e623(0x356))||this[_0x53e623(0x356)]===_0x1744af['init'])&&(_0x1744af[_0x53e623(0x356)]=function(){var _0x3af1a8=_0x53e623;_0x1744af[_0x3af1a8(0x39d)]['init']['apply'](this,arguments);}),_0x1744af[_0x53e623(0x356)]['prototype']=_0x1744af,_0x1744af[_0x53e623(0x39d)]=this,_0x1744af;},'create':function(){var _0x586158=_0x509d,_0xfe985d=this[_0x586158(0x1e9)]();return _0xfe985d[_0x586158(0x356)][_0x586158(0x2a8)](_0xfe985d,arguments),_0xfe985d;},'init':function(){},'mixIn':function(_0x3b263b){var _0x6d451c=_0x509d;for(var _0x3ced5f in _0x3b263b)_0x3b263b[_0x6d451c(0x41b)](_0x3ced5f)&&(this[_0x3ced5f]=_0x3b263b[_0x3ced5f]);_0x3b263b[_0x6d451c(0x41b)](_0x6d451c(0x3d1))&&(this[_0x6d451c(0x3d1)]=_0x3b263b[_0x6d451c(0x3d1)]);},'clone':function(){var _0x5a51a4=_0x509d;return this['init'][_0x5a51a4(0x222)][_0x5a51a4(0x1e9)](this);}};}()),_0x3cec00=_0x48a02d[_0x3455ac(0x265)]=_0x108164['extend']({'init':function(_0x293dbd,_0x4aab4c){var _0x11a463=_0x3455ac;_0x293dbd=this[_0x11a463(0x2d6)]=_0x293dbd||[],_0x4aab4c!=_0x38ae64?this[_0x11a463(0x155)]=_0x4aab4c:this[_0x11a463(0x155)]=_0x293dbd[_0x11a463(0x446)]*0x4;},'toString':function(_0x34e924){var _0x57f514=_0x3455ac;return(_0x34e924||_0x2ca6ba)[_0x57f514(0x109)](this);},'concat':function(_0xd4ea5b){var _0x2410d5=_0x3455ac,_0x156b8a=this[_0x2410d5(0x2d6)],_0x3e91e1=_0xd4ea5b[_0x2410d5(0x2d6)],_0x530aeb=this[_0x2410d5(0x155)],_0x4f85b3=_0xd4ea5b[_0x2410d5(0x155)];if(this[_0x2410d5(0x405)](),_0x530aeb%0x4)for(var _0x459683=0x0;_0x459683<_0x4f85b3;_0x459683++){var _0x36d8de=_0x3e91e1[_0x459683>>>0x2]>>>0x18-_0x459683%0x4*0x8&0xff;_0x156b8a[_0x530aeb+_0x459683>>>0x2]|=_0x36d8de<<0x18-(_0x530aeb+_0x459683)%0x4*0x8;}else{for(var _0x24af75=0x0;_0x24af75<_0x4f85b3;_0x24af75+=0x4)_0x156b8a[_0x530aeb+_0x24af75>>>0x2]=_0x3e91e1[_0x24af75>>>0x2];}return this[_0x2410d5(0x155)]+=_0x4f85b3,this;},'clamp':function(){var _0x3f8baa=_0x3455ac,_0x4961c2=this[_0x3f8baa(0x2d6)],_0x4aef90=this[_0x3f8baa(0x155)];_0x4961c2[_0x4aef90>>>0x2]&=0xffffffff<<0x20-_0x4aef90%0x4*0x8,_0x4961c2[_0x3f8baa(0x446)]=_0x497b73[_0x3f8baa(0x13c)](_0x4aef90/0x4);},'clone':function(){var _0x115b23=_0x3455ac,_0x33b6bb=_0x108164['clone'][_0x115b23(0x3fe)](this);return _0x33b6bb[_0x115b23(0x2d6)]=this[_0x115b23(0x2d6)]['slice'](0x0),_0x33b6bb;},'random':function(_0x497232){for(var _0x234f77=[],_0x2a3897=0x0;_0x2a3897<_0x497232;_0x2a3897+=0x4)_0x234f77['push'](_0x1174af());return new _0x3cec00['init'](_0x234f77,_0x497232);}}),_0x561dd0=_0x24f889[_0x3455ac(0x15f)]={},_0x2ca6ba=_0x561dd0[_0x3455ac(0x311)]={'stringify':function(_0x3ef525){var _0x15f919=_0x3455ac;for(var _0x11fce5=_0x3ef525[_0x15f919(0x2d6)],_0x38f5e7=_0x3ef525[_0x15f919(0x155)],_0x2bff6d=[],_0x21e688=0x0;_0x21e688<_0x38f5e7;_0x21e688++){var _0x2c53b0=_0x11fce5[_0x21e688>>>0x2]>>>0x18-_0x21e688%0x4*0x8&0xff;_0x2bff6d['push']((_0x2c53b0>>>0x4)['toString'](0x10)),_0x2bff6d[_0x15f919(0x18a)]((_0x2c53b0&0xf)[_0x15f919(0x3d1)](0x10));}return _0x2bff6d[_0x15f919(0x129)]('');},'parse':function(_0x66c76c){var _0x297c8a=_0x3455ac;for(var _0x3f4a52=_0x66c76c[_0x297c8a(0x446)],_0xfbc570=[],_0x2dfdf7=0x0;_0x2dfdf7<_0x3f4a52;_0x2dfdf7+=0x2)_0xfbc570[_0x2dfdf7>>>0x3]|=parseInt(_0x66c76c[_0x297c8a(0x10b)](_0x2dfdf7,0x2),0x10)<<0x18-_0x2dfdf7%0x8*0x4;return new _0x3cec00['init'](_0xfbc570,_0x3f4a52/0x2);}},_0x210b63=_0x561dd0[_0x3455ac(0x1e4)]={'stringify':function(_0x43ba58){var _0x3c82ca=_0x3455ac;for(var _0x5b1633=_0x43ba58[_0x3c82ca(0x2d6)],_0x4750c8=_0x43ba58['sigBytes'],_0x1c97a0=[],_0x3ad1b5=0x0;_0x3ad1b5<_0x4750c8;_0x3ad1b5++){var _0x39db04=_0x5b1633[_0x3ad1b5>>>0x2]>>>0x18-_0x3ad1b5%0x4*0x8&0xff;_0x1c97a0['push'](String['fromCharCode'](_0x39db04));}return _0x1c97a0['join']('');},'parse':function(_0x445544){var _0x20345f=_0x3455ac;for(var _0xd56fc9=_0x445544[_0x20345f(0x446)],_0x6c10de=[],_0x30f308=0x0;_0x30f308<_0xd56fc9;_0x30f308++)_0x6c10de[_0x30f308>>>0x2]|=(_0x445544[_0x20345f(0x2f4)](_0x30f308)&0xff)<<0x18-_0x30f308%0x4*0x8;return new _0x3cec00[(_0x20345f(0x356))](_0x6c10de,_0xd56fc9);}},_0xd575e8=_0x561dd0[_0x3455ac(0x343)]={'stringify':function(_0x55c5b5){var _0x412958=_0x3455ac;try{return decodeURIComponent(escape(_0x210b63[_0x412958(0x109)](_0x55c5b5)));}catch{throw new Error(_0x412958(0x115));}},'parse':function(_0x4e226f){return _0x210b63['parse'](unescape(encodeURIComponent(_0x4e226f)));}},_0x4621fd=_0x48a02d[_0x3455ac(0x412)]=_0x108164[_0x3455ac(0x1e9)]({'reset':function(){var _0x3c9a0e=_0x3455ac;this[_0x3c9a0e(0x324)]=new _0x3cec00['init'](),this[_0x3c9a0e(0x38c)]=0x0;},'_append':function(_0x14c2fe){var _0x11b33c=_0x3455ac;typeof _0x14c2fe==_0x11b33c(0x3cf)&&(_0x14c2fe=_0xd575e8[_0x11b33c(0x3a1)](_0x14c2fe)),this['_data']['concat'](_0x14c2fe),this[_0x11b33c(0x38c)]+=_0x14c2fe[_0x11b33c(0x155)];},'_process':function(_0x10ed80){var _0xe4fcd3=_0x3455ac,_0x4f4d37,_0x35cb0e=this[_0xe4fcd3(0x324)],_0x42ec8f=_0x35cb0e[_0xe4fcd3(0x2d6)],_0x467b94=_0x35cb0e[_0xe4fcd3(0x155)],_0x74848f=this[_0xe4fcd3(0x252)],_0x47958e=_0x74848f*0x4,_0x4e4b5e=_0x467b94/_0x47958e;_0x10ed80?_0x4e4b5e=_0x497b73[_0xe4fcd3(0x13c)](_0x4e4b5e):_0x4e4b5e=_0x497b73[_0xe4fcd3(0x31a)]((_0x4e4b5e|0x0)-this['_minBufferSize'],0x0);var _0x19b193=_0x4e4b5e*_0x74848f,_0x337814=_0x497b73[_0xe4fcd3(0xf4)](_0x19b193*0x4,_0x467b94);if(_0x19b193){for(var _0x2db1a5=0x0;_0x2db1a5<_0x19b193;_0x2db1a5+=_0x74848f)this[_0xe4fcd3(0x34b)](_0x42ec8f,_0x2db1a5);_0x4f4d37=_0x42ec8f[_0xe4fcd3(0x2e9)](0x0,_0x19b193),_0x35cb0e[_0xe4fcd3(0x155)]-=_0x337814;}return new _0x3cec00[(_0xe4fcd3(0x356))](_0x4f4d37,_0x337814);},'clone':function(){var _0x1b01ac=_0x3455ac,_0x23dbef=_0x108164[_0x1b01ac(0x2ff)][_0x1b01ac(0x3fe)](this);return _0x23dbef[_0x1b01ac(0x324)]=this[_0x1b01ac(0x324)][_0x1b01ac(0x2ff)](),_0x23dbef;},'_minBufferSize':0x0});_0x48a02d[_0x3455ac(0x173)]=_0x4621fd[_0x3455ac(0x1e9)]({'cfg':_0x108164['extend'](),'init':function(_0x3be832){var _0x1481c8=_0x3455ac;this[_0x1481c8(0x189)]=this[_0x1481c8(0x189)][_0x1481c8(0x1e9)](_0x3be832),this[_0x1481c8(0x1f0)]();},'reset':function(){var _0x23b438=_0x3455ac;_0x4621fd[_0x23b438(0x1f0)][_0x23b438(0x3fe)](this),this[_0x23b438(0x130)]();},'update':function(_0x490934){var _0x54a0d8=_0x3455ac;return this[_0x54a0d8(0x456)](_0x490934),this['_process'](),this;},'finalize':function(_0x4026fe){var _0xa4e34d=_0x3455ac;_0x4026fe&&this[_0xa4e34d(0x456)](_0x4026fe);var _0x2757b1=this['_doFinalize']();return _0x2757b1;},'blockSize':0x10,'_createHelper':function(_0x2d397d){return function(_0x2039f3,_0x1a8379){var _0x4f115f=_0x509d;return new _0x2d397d[(_0x4f115f(0x356))](_0x1a8379)['finalize'](_0x2039f3);};},'_createHmacHelper':function(_0xc4b1d6){return function(_0x47436a,_0x434ec3){var _0x315e3=_0x509d;return new _0x92997b[(_0x315e3(0x45e))]['init'](_0xc4b1d6,_0x434ec3)[_0x315e3(0x3ac)](_0x47436a);};}});var _0x92997b=_0x24f889[_0x3455ac(0x23f)]={};return _0x24f889;}(Math);return _0x1cad2a;}));}(_0x232eac)),_0x232eac['exports'];}var _0x46b18f={'exports':{}},_0xead2fc=_0x46b18f[_0x3674d4(0x346)],_0x70999a;function _0x532c24(){var _0x2dbfa1=_0x3674d4;return _0x70999a||(_0x70999a=0x1,function(_0x4b2376,_0x2d0cb1){(function(_0x48c58b,_0x55e0b1){var _0x1d1e18=_0x509d;_0x4b2376[_0x1d1e18(0x346)]=_0x55e0b1(_0x5cc575());}(_0xead2fc,function(_0x48b13e){var _0x7a6110=_0x509d;return(function(){var _0xfc2ee1=_0x509d,_0x19d799=_0x48b13e,_0x36070e=_0x19d799['lib'],_0x246ad8=_0x36070e['WordArray'],_0x454033=_0x19d799[_0xfc2ee1(0x15f)];_0x454033[_0xfc2ee1(0x135)]={'stringify':function(_0x4518f3){var _0x1d0457=_0xfc2ee1,_0x26f981=_0x4518f3[_0x1d0457(0x2d6)],_0x3ed040=_0x4518f3[_0x1d0457(0x155)],_0x49b9f4=this['_map'];_0x4518f3['clamp']();for(var _0x35347e=[],_0x423efe=0x0;_0x423efe<_0x3ed040;_0x423efe+=0x3)for(var _0x69814c=_0x26f981[_0x423efe>>>0x2]>>>0x18-_0x423efe%0x4*0x8&0xff,_0x1146e=_0x26f981[_0x423efe+0x1>>>0x2]>>>0x18-(_0x423efe+0x1)%0x4*0x8&0xff,_0x1c1895=_0x26f981[_0x423efe+0x2>>>0x2]>>>0x18-(_0x423efe+0x2)%0x4*0x8&0xff,_0x373011=_0x69814c<<0x10|_0x1146e<<0x8|_0x1c1895,_0x392eb6=0x0;_0x392eb6<0x4&&_0x423efe+_0x392eb6*0.75<_0x3ed040;_0x392eb6++)_0x35347e[_0x1d0457(0x18a)](_0x49b9f4[_0x1d0457(0x188)](_0x373011>>>0x6*(0x3-_0x392eb6)&0x3f));var _0x11f7ed=_0x49b9f4[_0x1d0457(0x188)](0x40);if(_0x11f7ed){for(;_0x35347e[_0x1d0457(0x446)]%0x4;)_0x35347e[_0x1d0457(0x18a)](_0x11f7ed);}return _0x35347e[_0x1d0457(0x129)]('');},'parse':function(_0x2a0330){var _0x4b638e=_0xfc2ee1,_0x10ae6a=_0x2a0330[_0x4b638e(0x446)],_0xe7c82f=this[_0x4b638e(0x2e1)],_0x4a6843=this['_reverseMap'];if(!_0x4a6843){_0x4a6843=this[_0x4b638e(0x25e)]=[];for(var _0x4888f7=0x0;_0x4888f7<_0xe7c82f[_0x4b638e(0x446)];_0x4888f7++)_0x4a6843[_0xe7c82f[_0x4b638e(0x2f4)](_0x4888f7)]=_0x4888f7;}var _0x1f4d49=_0xe7c82f[_0x4b638e(0x188)](0x40);if(_0x1f4d49){var _0x417556=_0x2a0330['indexOf'](_0x1f4d49);_0x417556!==-0x1&&(_0x10ae6a=_0x417556);}return _0x35089d(_0x2a0330,_0x10ae6a,_0x4a6843);},'_map':_0xfc2ee1(0x100)};function _0x35089d(_0x3f8b76,_0x26958b,_0x231769){var _0x20f0be=_0xfc2ee1;for(var _0x552ade=[],_0x7524fa=0x0,_0x158af8=0x0;_0x158af8<_0x26958b;_0x158af8++)if(_0x158af8%0x4){var _0x42d84d=_0x231769[_0x3f8b76['charCodeAt'](_0x158af8-0x1)]<<_0x158af8%0x4*0x2,_0x2152d4=_0x231769[_0x3f8b76[_0x20f0be(0x2f4)](_0x158af8)]>>>0x6-_0x158af8%0x4*0x2,_0x51da10=_0x42d84d|_0x2152d4;_0x552ade[_0x7524fa>>>0x2]|=_0x51da10<<0x18-_0x7524fa%0x4*0x8,_0x7524fa++;}return _0x246ad8['create'](_0x552ade,_0x7524fa);}}()),_0x48b13e['enc'][_0x7a6110(0x135)];}));}(_0x46b18f)),_0x46b18f[_0x2dbfa1(0x346)];}var _0x3e9254={'exports':{}},_0x3100a7=_0x3e9254[_0x3674d4(0x346)],_0xbad10a;function _0x1323f7(){var _0x2ca95e=_0x3674d4;return _0xbad10a||(_0xbad10a=0x1,function(_0x4ad9a1,_0x106af1){(function(_0x514740,_0x5792e1){var _0x57ff02=_0x509d;_0x4ad9a1[_0x57ff02(0x346)]=_0x5792e1(_0x5cc575());}(_0x3100a7,function(_0x3048d6){var _0x5857e2=_0x509d;return function(_0x36e278){var _0x1056e1=_0x509d,_0x1aa01b=_0x3048d6,_0x59f545=_0x1aa01b[_0x1056e1(0x2d2)],_0xd4ea1d=_0x59f545['WordArray'],_0x24010f=_0x59f545['Hasher'],_0x5c6882=_0x1aa01b[_0x1056e1(0x23f)],_0x1e5c71=[];(function(){var _0x57efb5=_0x1056e1;for(var _0x2f4a2f=0x0;_0x2f4a2f<0x40;_0x2f4a2f++)_0x1e5c71[_0x2f4a2f]=_0x36e278[_0x57efb5(0x314)](_0x36e278[_0x57efb5(0x178)](_0x2f4a2f+0x1))*0x100000000|0x0;}());var _0x3e74c6=_0x5c6882[_0x1056e1(0x3e3)]=_0x24010f[_0x1056e1(0x1e9)]({'_doReset':function(){var _0x299c36=_0x1056e1;this[_0x299c36(0x1d7)]=new _0xd4ea1d[(_0x299c36(0x356))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1344b5,_0x387b96){var _0x573f15=_0x1056e1;for(var _0xc8924a=0x0;_0xc8924a<0x10;_0xc8924a++){var _0x5407a0=_0x387b96+_0xc8924a,_0x43285c=_0x1344b5[_0x5407a0];_0x1344b5[_0x5407a0]=(_0x43285c<<0x8|_0x43285c>>>0x18)&0xff00ff|(_0x43285c<<0x18|_0x43285c>>>0x8)&0xff00ff00;}var _0x372b84=this[_0x573f15(0x1d7)][_0x573f15(0x2d6)],_0x138fbf=_0x1344b5[_0x387b96+0x0],_0x84b95c=_0x1344b5[_0x387b96+0x1],_0xc97c8d=_0x1344b5[_0x387b96+0x2],_0x273c32=_0x1344b5[_0x387b96+0x3],_0x40a630=_0x1344b5[_0x387b96+0x4],_0x3379e4=_0x1344b5[_0x387b96+0x5],_0x77754c=_0x1344b5[_0x387b96+0x6],_0xed4f69=_0x1344b5[_0x387b96+0x7],_0xf342a6=_0x1344b5[_0x387b96+0x8],_0x5c8c62=_0x1344b5[_0x387b96+0x9],_0x291a31=_0x1344b5[_0x387b96+0xa],_0x2c671b=_0x1344b5[_0x387b96+0xb],_0x481f1c=_0x1344b5[_0x387b96+0xc],_0x54e02c=_0x1344b5[_0x387b96+0xd],_0x1f26a2=_0x1344b5[_0x387b96+0xe],_0x40cfb7=_0x1344b5[_0x387b96+0xf],_0x1d5482=_0x372b84[0x0],_0x3237dd=_0x372b84[0x1],_0xdccb10=_0x372b84[0x2],_0x32233d=_0x372b84[0x3];_0x1d5482=_0x460b43(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x138fbf,0x7,_0x1e5c71[0x0]),_0x32233d=_0x460b43(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x84b95c,0xc,_0x1e5c71[0x1]),_0xdccb10=_0x460b43(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0xc97c8d,0x11,_0x1e5c71[0x2]),_0x3237dd=_0x460b43(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x273c32,0x16,_0x1e5c71[0x3]),_0x1d5482=_0x460b43(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x40a630,0x7,_0x1e5c71[0x4]),_0x32233d=_0x460b43(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x3379e4,0xc,_0x1e5c71[0x5]),_0xdccb10=_0x460b43(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x77754c,0x11,_0x1e5c71[0x6]),_0x3237dd=_0x460b43(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0xed4f69,0x16,_0x1e5c71[0x7]),_0x1d5482=_0x460b43(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0xf342a6,0x7,_0x1e5c71[0x8]),_0x32233d=_0x460b43(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x5c8c62,0xc,_0x1e5c71[0x9]),_0xdccb10=_0x460b43(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x291a31,0x11,_0x1e5c71[0xa]),_0x3237dd=_0x460b43(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x2c671b,0x16,_0x1e5c71[0xb]),_0x1d5482=_0x460b43(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x481f1c,0x7,_0x1e5c71[0xc]),_0x32233d=_0x460b43(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x54e02c,0xc,_0x1e5c71[0xd]),_0xdccb10=_0x460b43(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x1f26a2,0x11,_0x1e5c71[0xe]),_0x3237dd=_0x460b43(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x40cfb7,0x16,_0x1e5c71[0xf]),_0x1d5482=_0x3aabdc(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x84b95c,0x5,_0x1e5c71[0x10]),_0x32233d=_0x3aabdc(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x77754c,0x9,_0x1e5c71[0x11]),_0xdccb10=_0x3aabdc(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x2c671b,0xe,_0x1e5c71[0x12]),_0x3237dd=_0x3aabdc(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x138fbf,0x14,_0x1e5c71[0x13]),_0x1d5482=_0x3aabdc(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x3379e4,0x5,_0x1e5c71[0x14]),_0x32233d=_0x3aabdc(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x291a31,0x9,_0x1e5c71[0x15]),_0xdccb10=_0x3aabdc(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x40cfb7,0xe,_0x1e5c71[0x16]),_0x3237dd=_0x3aabdc(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x40a630,0x14,_0x1e5c71[0x17]),_0x1d5482=_0x3aabdc(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x5c8c62,0x5,_0x1e5c71[0x18]),_0x32233d=_0x3aabdc(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x1f26a2,0x9,_0x1e5c71[0x19]),_0xdccb10=_0x3aabdc(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x273c32,0xe,_0x1e5c71[0x1a]),_0x3237dd=_0x3aabdc(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0xf342a6,0x14,_0x1e5c71[0x1b]),_0x1d5482=_0x3aabdc(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x54e02c,0x5,_0x1e5c71[0x1c]),_0x32233d=_0x3aabdc(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0xc97c8d,0x9,_0x1e5c71[0x1d]),_0xdccb10=_0x3aabdc(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0xed4f69,0xe,_0x1e5c71[0x1e]),_0x3237dd=_0x3aabdc(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x481f1c,0x14,_0x1e5c71[0x1f]),_0x1d5482=_0x1d7823(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x3379e4,0x4,_0x1e5c71[0x20]),_0x32233d=_0x1d7823(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0xf342a6,0xb,_0x1e5c71[0x21]),_0xdccb10=_0x1d7823(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x2c671b,0x10,_0x1e5c71[0x22]),_0x3237dd=_0x1d7823(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x1f26a2,0x17,_0x1e5c71[0x23]),_0x1d5482=_0x1d7823(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x84b95c,0x4,_0x1e5c71[0x24]),_0x32233d=_0x1d7823(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x40a630,0xb,_0x1e5c71[0x25]),_0xdccb10=_0x1d7823(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0xed4f69,0x10,_0x1e5c71[0x26]),_0x3237dd=_0x1d7823(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x291a31,0x17,_0x1e5c71[0x27]),_0x1d5482=_0x1d7823(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x54e02c,0x4,_0x1e5c71[0x28]),_0x32233d=_0x1d7823(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x138fbf,0xb,_0x1e5c71[0x29]),_0xdccb10=_0x1d7823(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x273c32,0x10,_0x1e5c71[0x2a]),_0x3237dd=_0x1d7823(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x77754c,0x17,_0x1e5c71[0x2b]),_0x1d5482=_0x1d7823(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x5c8c62,0x4,_0x1e5c71[0x2c]),_0x32233d=_0x1d7823(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x481f1c,0xb,_0x1e5c71[0x2d]),_0xdccb10=_0x1d7823(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x40cfb7,0x10,_0x1e5c71[0x2e]),_0x3237dd=_0x1d7823(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0xc97c8d,0x17,_0x1e5c71[0x2f]),_0x1d5482=_0x16917a(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x138fbf,0x6,_0x1e5c71[0x30]),_0x32233d=_0x16917a(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0xed4f69,0xa,_0x1e5c71[0x31]),_0xdccb10=_0x16917a(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x1f26a2,0xf,_0x1e5c71[0x32]),_0x3237dd=_0x16917a(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x3379e4,0x15,_0x1e5c71[0x33]),_0x1d5482=_0x16917a(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x481f1c,0x6,_0x1e5c71[0x34]),_0x32233d=_0x16917a(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x273c32,0xa,_0x1e5c71[0x35]),_0xdccb10=_0x16917a(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x291a31,0xf,_0x1e5c71[0x36]),_0x3237dd=_0x16917a(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x84b95c,0x15,_0x1e5c71[0x37]),_0x1d5482=_0x16917a(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0xf342a6,0x6,_0x1e5c71[0x38]),_0x32233d=_0x16917a(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x40cfb7,0xa,_0x1e5c71[0x39]),_0xdccb10=_0x16917a(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0x77754c,0xf,_0x1e5c71[0x3a]),_0x3237dd=_0x16917a(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x54e02c,0x15,_0x1e5c71[0x3b]),_0x1d5482=_0x16917a(_0x1d5482,_0x3237dd,_0xdccb10,_0x32233d,_0x40a630,0x6,_0x1e5c71[0x3c]),_0x32233d=_0x16917a(_0x32233d,_0x1d5482,_0x3237dd,_0xdccb10,_0x2c671b,0xa,_0x1e5c71[0x3d]),_0xdccb10=_0x16917a(_0xdccb10,_0x32233d,_0x1d5482,_0x3237dd,_0xc97c8d,0xf,_0x1e5c71[0x3e]),_0x3237dd=_0x16917a(_0x3237dd,_0xdccb10,_0x32233d,_0x1d5482,_0x5c8c62,0x15,_0x1e5c71[0x3f]),_0x372b84[0x0]=_0x372b84[0x0]+_0x1d5482|0x0,_0x372b84[0x1]=_0x372b84[0x1]+_0x3237dd|0x0,_0x372b84[0x2]=_0x372b84[0x2]+_0xdccb10|0x0,_0x372b84[0x3]=_0x372b84[0x3]+_0x32233d|0x0;},'_doFinalize':function(){var _0x434efd=_0x1056e1,_0x511f34=this[_0x434efd(0x324)],_0x5c50bf=_0x511f34[_0x434efd(0x2d6)],_0x402e30=this['_nDataBytes']*0x8,_0x236a49=_0x511f34[_0x434efd(0x155)]*0x8;_0x5c50bf[_0x236a49>>>0x5]|=0x80<<0x18-_0x236a49%0x20;var _0x20b9b7=_0x36e278[_0x434efd(0xed)](_0x402e30/0x100000000),_0x236a3b=_0x402e30;_0x5c50bf[(_0x236a49+0x40>>>0x9<<0x4)+0xf]=(_0x20b9b7<<0x8|_0x20b9b7>>>0x18)&0xff00ff|(_0x20b9b7<<0x18|_0x20b9b7>>>0x8)&0xff00ff00,_0x5c50bf[(_0x236a49+0x40>>>0x9<<0x4)+0xe]=(_0x236a3b<<0x8|_0x236a3b>>>0x18)&0xff00ff|(_0x236a3b<<0x18|_0x236a3b>>>0x8)&0xff00ff00,_0x511f34[_0x434efd(0x155)]=(_0x5c50bf[_0x434efd(0x446)]+0x1)*0x4,this['_process']();for(var _0x38525b=this[_0x434efd(0x1d7)],_0x47b138=_0x38525b[_0x434efd(0x2d6)],_0x5a06c5=0x0;_0x5a06c5<0x4;_0x5a06c5++){var _0x4170ac=_0x47b138[_0x5a06c5];_0x47b138[_0x5a06c5]=(_0x4170ac<<0x8|_0x4170ac>>>0x18)&0xff00ff|(_0x4170ac<<0x18|_0x4170ac>>>0x8)&0xff00ff00;}return _0x38525b;},'clone':function(){var _0x469f3b=_0x1056e1,_0x16686c=_0x24010f[_0x469f3b(0x2ff)][_0x469f3b(0x3fe)](this);return _0x16686c[_0x469f3b(0x1d7)]=this[_0x469f3b(0x1d7)][_0x469f3b(0x2ff)](),_0x16686c;}});function _0x460b43(_0x232022,_0x244264,_0x4ed00a,_0x50214f,_0x12db28,_0x47e6d5,_0x21cc24){var _0x124118=_0x232022+(_0x244264&_0x4ed00a|~_0x244264&_0x50214f)+_0x12db28+_0x21cc24;return(_0x124118<<_0x47e6d5|_0x124118>>>0x20-_0x47e6d5)+_0x244264;}function _0x3aabdc(_0x10d89d,_0x119a77,_0x2e5cdc,_0x25ee0f,_0x448e68,_0x21c292,_0x21602b){var _0x1f68b4=_0x10d89d+(_0x119a77&_0x25ee0f|_0x2e5cdc&~_0x25ee0f)+_0x448e68+_0x21602b;return(_0x1f68b4<<_0x21c292|_0x1f68b4>>>0x20-_0x21c292)+_0x119a77;}function _0x1d7823(_0x5ba301,_0x4988db,_0x3a6241,_0x1f8b02,_0x2b5bd9,_0x2c247d,_0x263f80){var _0x3f6724=_0x5ba301+(_0x4988db^_0x3a6241^_0x1f8b02)+_0x2b5bd9+_0x263f80;return(_0x3f6724<<_0x2c247d|_0x3f6724>>>0x20-_0x2c247d)+_0x4988db;}function _0x16917a(_0x1069dd,_0xb90d4f,_0x99e804,_0x2f73a2,_0x4c4025,_0x30a2b5,_0x3b2854){var _0x35311d=_0x1069dd+(_0x99e804^(_0xb90d4f|~_0x2f73a2))+_0x4c4025+_0x3b2854;return(_0x35311d<<_0x30a2b5|_0x35311d>>>0x20-_0x30a2b5)+_0xb90d4f;}_0x1aa01b['MD5']=_0x24010f[_0x1056e1(0x10d)](_0x3e74c6),_0x1aa01b['HmacMD5']=_0x24010f[_0x1056e1(0x13b)](_0x3e74c6);}(Math),_0x3048d6[_0x5857e2(0x3e3)];}));}(_0x3e9254)),_0x3e9254[_0x2ca95e(0x346)];}var _0x18a56a={'exports':{}},_0x159c53={'exports':{}},_0x435fb9=_0x159c53[_0x3674d4(0x346)],_0x410ec9;function _0x4dac91(){var _0x1bed8f=_0x3674d4;return _0x410ec9||(_0x410ec9=0x1,function(_0xc8b982,_0x4fcf31){(function(_0x14ff4e,_0x14fb70){var _0x701076=_0x509d;_0xc8b982[_0x701076(0x346)]=_0x14fb70(_0x5cc575());}(_0x435fb9,function(_0x2d3e53){return(function(){var _0x52e716=_0x509d,_0x51c370=_0x2d3e53,_0x2b21fe=_0x51c370[_0x52e716(0x2d2)],_0x3d6f86=_0x2b21fe[_0x52e716(0x265)],_0x58b8c9=_0x2b21fe['Hasher'],_0x36f061=_0x51c370[_0x52e716(0x23f)],_0x54d9f6=[],_0x3fad33=_0x36f061['SHA1']=_0x58b8c9[_0x52e716(0x1e9)]({'_doReset':function(){var _0x1ccfe6=_0x52e716;this[_0x1ccfe6(0x1d7)]=new _0x3d6f86[(_0x1ccfe6(0x356))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1b861d,_0x1bfa8d){var _0x2e4e25=_0x52e716;for(var _0xf9cc3b=this['_hash'][_0x2e4e25(0x2d6)],_0x288e76=_0xf9cc3b[0x0],_0x45bc58=_0xf9cc3b[0x1],_0x2e79a9=_0xf9cc3b[0x2],_0x3760db=_0xf9cc3b[0x3],_0x15f953=_0xf9cc3b[0x4],_0x34acd0=0x0;_0x34acd0<0x50;_0x34acd0++){if(_0x34acd0<0x10)_0x54d9f6[_0x34acd0]=_0x1b861d[_0x1bfa8d+_0x34acd0]|0x0;else{var _0x2c7ed6=_0x54d9f6[_0x34acd0-0x3]^_0x54d9f6[_0x34acd0-0x8]^_0x54d9f6[_0x34acd0-0xe]^_0x54d9f6[_0x34acd0-0x10];_0x54d9f6[_0x34acd0]=_0x2c7ed6<<0x1|_0x2c7ed6>>>0x1f;}var _0x272fe1=(_0x288e76<<0x5|_0x288e76>>>0x1b)+_0x15f953+_0x54d9f6[_0x34acd0];_0x34acd0<0x14?_0x272fe1+=(_0x45bc58&_0x2e79a9|~_0x45bc58&_0x3760db)+0x5a827999:_0x34acd0<0x28?_0x272fe1+=(_0x45bc58^_0x2e79a9^_0x3760db)+0x6ed9eba1:_0x34acd0<0x3c?_0x272fe1+=(_0x45bc58&_0x2e79a9|_0x45bc58&_0x3760db|_0x2e79a9&_0x3760db)-0x70e44324:_0x272fe1+=(_0x45bc58^_0x2e79a9^_0x3760db)-0x359d3e2a,_0x15f953=_0x3760db,_0x3760db=_0x2e79a9,_0x2e79a9=_0x45bc58<<0x1e|_0x45bc58>>>0x2,_0x45bc58=_0x288e76,_0x288e76=_0x272fe1;}_0xf9cc3b[0x0]=_0xf9cc3b[0x0]+_0x288e76|0x0,_0xf9cc3b[0x1]=_0xf9cc3b[0x1]+_0x45bc58|0x0,_0xf9cc3b[0x2]=_0xf9cc3b[0x2]+_0x2e79a9|0x0,_0xf9cc3b[0x3]=_0xf9cc3b[0x3]+_0x3760db|0x0,_0xf9cc3b[0x4]=_0xf9cc3b[0x4]+_0x15f953|0x0;},'_doFinalize':function(){var _0x3ae1df=_0x52e716,_0x59748a=this[_0x3ae1df(0x324)],_0x48ef9e=_0x59748a['words'],_0x23d366=this['_nDataBytes']*0x8,_0x280be7=_0x59748a['sigBytes']*0x8;return _0x48ef9e[_0x280be7>>>0x5]|=0x80<<0x18-_0x280be7%0x20,_0x48ef9e[(_0x280be7+0x40>>>0x9<<0x4)+0xe]=Math[_0x3ae1df(0xed)](_0x23d366/0x100000000),_0x48ef9e[(_0x280be7+0x40>>>0x9<<0x4)+0xf]=_0x23d366,_0x59748a[_0x3ae1df(0x155)]=_0x48ef9e[_0x3ae1df(0x446)]*0x4,this[_0x3ae1df(0x37a)](),this['_hash'];},'clone':function(){var _0x1752a0=_0x52e716,_0x488882=_0x58b8c9['clone'][_0x1752a0(0x3fe)](this);return _0x488882[_0x1752a0(0x1d7)]=this[_0x1752a0(0x1d7)][_0x1752a0(0x2ff)](),_0x488882;}});_0x51c370[_0x52e716(0x2d0)]=_0x58b8c9[_0x52e716(0x10d)](_0x3fad33),_0x51c370[_0x52e716(0x214)]=_0x58b8c9[_0x52e716(0x13b)](_0x3fad33);}()),_0x2d3e53['SHA1'];}));}(_0x159c53)),_0x159c53[_0x1bed8f(0x346)];}var _0x1dfff9={'exports':{}},_0x3f1a3f=_0x1dfff9[_0x3674d4(0x346)],_0x1aeaa4;function _0x4c056b(){var _0x4a5b4d=_0x3674d4;return _0x1aeaa4||(_0x1aeaa4=0x1,function(_0x1f3b09,_0x70cb30){(function(_0x1e4772,_0x92756c){_0x1f3b09['exports']=_0x92756c(_0x5cc575());}(_0x3f1a3f,function(_0x4bbfce){(function(){var _0x438ec9=_0x509d,_0xef3921=_0x4bbfce,_0x305475=_0xef3921[_0x438ec9(0x2d2)],_0x4f1455=_0x305475[_0x438ec9(0x3ff)],_0x52cab8=_0xef3921[_0x438ec9(0x15f)],_0x1137d5=_0x52cab8[_0x438ec9(0x343)],_0xec033e=_0xef3921['algo'];_0xec033e[_0x438ec9(0x45e)]=_0x4f1455[_0x438ec9(0x1e9)]({'init':function(_0x2fe61c,_0x77a88b){var _0x10b245=_0x438ec9;_0x2fe61c=this['_hasher']=new _0x2fe61c['init'](),typeof _0x77a88b==_0x10b245(0x3cf)&&(_0x77a88b=_0x1137d5[_0x10b245(0x3a1)](_0x77a88b));var _0x1046fc=_0x2fe61c[_0x10b245(0x252)],_0x296b02=_0x1046fc*0x4;_0x77a88b[_0x10b245(0x155)]>_0x296b02&&(_0x77a88b=_0x2fe61c['finalize'](_0x77a88b)),_0x77a88b[_0x10b245(0x405)]();for(var _0x4bc30c=this[_0x10b245(0x355)]=_0x77a88b[_0x10b245(0x2ff)](),_0x327cab=this[_0x10b245(0x1f9)]=_0x77a88b['clone'](),_0x12aef2=_0x4bc30c[_0x10b245(0x2d6)],_0x12124a=_0x327cab['words'],_0x31722f=0x0;_0x31722f<_0x1046fc;_0x31722f++)_0x12aef2[_0x31722f]^=0x5c5c5c5c,_0x12124a[_0x31722f]^=0x36363636;_0x4bc30c['sigBytes']=_0x327cab[_0x10b245(0x155)]=_0x296b02,this[_0x10b245(0x1f0)]();},'reset':function(){var _0x496745=_0x438ec9,_0x5200ea=this[_0x496745(0xf0)];_0x5200ea['reset'](),_0x5200ea['update'](this[_0x496745(0x1f9)]);},'update':function(_0x35eda6){var _0x277464=_0x438ec9;return this[_0x277464(0xf0)]['update'](_0x35eda6),this;},'finalize':function(_0x171f3f){var _0x2c92de=_0x438ec9,_0x20fe3e=this[_0x2c92de(0xf0)],_0x433533=_0x20fe3e[_0x2c92de(0x3ac)](_0x171f3f);_0x20fe3e[_0x2c92de(0x1f0)]();var _0x322314=_0x20fe3e['finalize'](this[_0x2c92de(0x355)]['clone']()['concat'](_0x433533));return _0x322314;}});}());}));}(_0x1dfff9)),_0x1dfff9[_0x4a5b4d(0x346)];}var _0x57bd7f=_0x18a56a['exports'],_0x229353;function _0x42ce1e(){var _0x18a8c5=_0x3674d4;return _0x229353||(_0x229353=0x1,function(_0x4c8aba,_0x921ea5){(function(_0x4eb4ea,_0x3b6e5c,_0x3a6eb3){var _0x34c500=_0x509d;_0x4c8aba[_0x34c500(0x346)]=_0x3b6e5c(_0x5cc575(),_0x4dac91(),_0x4c056b());}(_0x57bd7f,function(_0x2e6bb0){var _0x3c76bc=_0x509d;return(function(){var _0x3467a3=_0x509d,_0x333df7=_0x2e6bb0,_0x2c94ef=_0x333df7['lib'],_0x2176a1=_0x2c94ef[_0x3467a3(0x3ff)],_0x398bef=_0x2c94ef['WordArray'],_0x2f791c=_0x333df7[_0x3467a3(0x23f)],_0x17bb39=_0x2f791c[_0x3467a3(0x3e3)],_0x446b4b=_0x2f791c[_0x3467a3(0x19b)]=_0x2176a1[_0x3467a3(0x1e9)]({'cfg':_0x2176a1[_0x3467a3(0x1e9)]({'keySize':0x80/0x20,'hasher':_0x17bb39,'iterations':0x1}),'init':function(_0x30e536){var _0x2c039b=_0x3467a3;this[_0x2c039b(0x189)]=this['cfg'][_0x2c039b(0x1e9)](_0x30e536);},'compute':function(_0x449cc7,_0x169543){var _0x481dec=_0x3467a3;for(var _0x2a8748,_0x303fb6=this[_0x481dec(0x189)],_0x1e7732=_0x303fb6[_0x481dec(0x2f6)][_0x481dec(0x1ac)](),_0x1993ce=_0x398bef[_0x481dec(0x1ac)](),_0x4d8dc6=_0x1993ce[_0x481dec(0x2d6)],_0xc291c1=_0x303fb6[_0x481dec(0x3e2)],_0x4a29ff=_0x303fb6[_0x481dec(0x198)];_0x4d8dc6[_0x481dec(0x446)]<_0xc291c1;){_0x2a8748&&_0x1e7732[_0x481dec(0x1a4)](_0x2a8748),_0x2a8748=_0x1e7732[_0x481dec(0x1a4)](_0x449cc7)['finalize'](_0x169543),_0x1e7732[_0x481dec(0x1f0)]();for(var _0x58125f=0x1;_0x58125f<_0x4a29ff;_0x58125f++)_0x2a8748=_0x1e7732['finalize'](_0x2a8748),_0x1e7732[_0x481dec(0x1f0)]();_0x1993ce[_0x481dec(0x251)](_0x2a8748);}return _0x1993ce[_0x481dec(0x155)]=_0xc291c1*0x4,_0x1993ce;}});_0x333df7[_0x3467a3(0x19b)]=function(_0x58cb89,_0x4a55c2,_0x38145e){var _0xa5e695=_0x3467a3;return _0x446b4b['create'](_0x38145e)[_0xa5e695(0x150)](_0x58cb89,_0x4a55c2);};}()),_0x2e6bb0[_0x3c76bc(0x19b)];}));}(_0x18a56a)),_0x18a56a[_0x18a8c5(0x346)];}var _0x539aba={'exports':{}},_0x3bc008=_0x539aba[_0x3674d4(0x346)],_0x489766;function _0x47be05(){var _0x85c752=_0x3674d4;return _0x489766||(_0x489766=0x1,function(_0x150d88,_0x5dd8b5){(function(_0x3a8935,_0x34fa32,_0xbaf8ea){var _0x2bb1a6=_0x509d;_0x150d88[_0x2bb1a6(0x346)]=_0x34fa32(_0x5cc575(),_0x42ce1e());}(_0x3bc008,function(_0x4882a8){var _0x432049=_0x509d;_0x4882a8[_0x432049(0x2d2)]['Cipher']||function(_0x28daa9){var _0x29fb46=_0x432049,_0x51ade9=_0x4882a8,_0x5ca1e6=_0x51ade9['lib'],_0x3c396c=_0x5ca1e6[_0x29fb46(0x3ff)],_0x1f58e0=_0x5ca1e6[_0x29fb46(0x265)],_0x401677=_0x5ca1e6[_0x29fb46(0x412)],_0x33c621=_0x51ade9[_0x29fb46(0x15f)];_0x33c621[_0x29fb46(0x343)];var _0x501eed=_0x33c621[_0x29fb46(0x135)],_0x145299=_0x51ade9[_0x29fb46(0x23f)],_0x4c016e=_0x145299['EvpKDF'],_0x36213a=_0x5ca1e6[_0x29fb46(0x1d9)]=_0x401677[_0x29fb46(0x1e9)]({'cfg':_0x3c396c[_0x29fb46(0x1e9)](),'createEncryptor':function(_0x5e6420,_0x19d7a5){var _0xce4e4e=_0x29fb46;return this['create'](this[_0xce4e4e(0x128)],_0x5e6420,_0x19d7a5);},'createDecryptor':function(_0x1446db,_0x9135da){var _0x17cb4f=_0x29fb46;return this[_0x17cb4f(0x1ac)](this['_DEC_XFORM_MODE'],_0x1446db,_0x9135da);},'init':function(_0x4d7714,_0x435e14,_0x47aa31){var _0x4ed93b=_0x29fb46;this[_0x4ed93b(0x189)]=this[_0x4ed93b(0x189)][_0x4ed93b(0x1e9)](_0x47aa31),this[_0x4ed93b(0x30f)]=_0x4d7714,this[_0x4ed93b(0x352)]=_0x435e14,this['reset']();},'reset':function(){var _0x358724=_0x29fb46;_0x401677[_0x358724(0x1f0)][_0x358724(0x3fe)](this),this[_0x358724(0x130)]();},'process':function(_0x4d0c64){var _0x583cdd=_0x29fb46;return this['_append'](_0x4d0c64),this[_0x583cdd(0x37a)]();},'finalize':function(_0x55b511){var _0x40865b=_0x29fb46;_0x55b511&&this[_0x40865b(0x456)](_0x55b511);var _0xb12798=this['_doFinalize']();return _0xb12798;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x186207(_0xa21655){return typeof _0xa21655=='string'?_0x2a0d9c:_0xdc9de0;}return function(_0x199121){return{'encrypt':function(_0xd2beaa,_0x5d043d,_0x37a2f7){var _0x4f4db5=_0x509d;return _0x186207(_0x5d043d)[_0x4f4db5(0x2b7)](_0x199121,_0xd2beaa,_0x5d043d,_0x37a2f7);},'decrypt':function(_0x4031bc,_0x435c3b,_0x305245){var _0x49d5ba=_0x509d;return _0x186207(_0x435c3b)[_0x49d5ba(0x24e)](_0x199121,_0x4031bc,_0x435c3b,_0x305245);}};};}())});_0x5ca1e6[_0x29fb46(0x413)]=_0x36213a[_0x29fb46(0x1e9)]({'_doFinalize':function(){var _0xe9df15=_0x29fb46,_0x21c20e=this[_0xe9df15(0x37a)](!0x0);return _0x21c20e;},'blockSize':0x1});var _0x1787f3=_0x51ade9['mode']={},_0x44ef50=_0x5ca1e6['BlockCipherMode']=_0x3c396c['extend']({'createEncryptor':function(_0x5b436e,_0x2cd015){var _0x42d58d=_0x29fb46;return this[_0x42d58d(0xfb)][_0x42d58d(0x1ac)](_0x5b436e,_0x2cd015);},'createDecryptor':function(_0x1029e1,_0x498ee2){var _0x39156b=_0x29fb46;return this[_0x39156b(0x2ce)][_0x39156b(0x1ac)](_0x1029e1,_0x498ee2);},'init':function(_0x2db723,_0x7c1d0d){var _0x1d4fa3=_0x29fb46;this['_cipher']=_0x2db723,this[_0x1d4fa3(0x3d9)]=_0x7c1d0d;}}),_0x53577c=_0x1787f3['CBC']=(function(){var _0x59d504=_0x29fb46,_0x501353=_0x44ef50[_0x59d504(0x1e9)]();_0x501353[_0x59d504(0xfb)]=_0x501353[_0x59d504(0x1e9)]({'processBlock':function(_0x206ebd,_0x33d0c7){var _0x16c2fc=_0x59d504,_0x2d772d=this[_0x16c2fc(0x463)],_0x34eabe=_0x2d772d['blockSize'];_0x5937c8['call'](this,_0x206ebd,_0x33d0c7,_0x34eabe),_0x2d772d[_0x16c2fc(0x234)](_0x206ebd,_0x33d0c7),this[_0x16c2fc(0x3fc)]=_0x206ebd[_0x16c2fc(0x31e)](_0x33d0c7,_0x33d0c7+_0x34eabe);}}),_0x501353['Decryptor']=_0x501353[_0x59d504(0x1e9)]({'processBlock':function(_0x10d08b,_0x369f2f){var _0x33a056=_0x59d504,_0x5068c0=this[_0x33a056(0x463)],_0x17e009=_0x5068c0[_0x33a056(0x252)],_0x7b1052=_0x10d08b['slice'](_0x369f2f,_0x369f2f+_0x17e009);_0x5068c0[_0x33a056(0x381)](_0x10d08b,_0x369f2f),_0x5937c8['call'](this,_0x10d08b,_0x369f2f,_0x17e009),this[_0x33a056(0x3fc)]=_0x7b1052;}});function _0x5937c8(_0x153c27,_0x2d6390,_0x502f48){var _0x440501=_0x59d504,_0x4f7789,_0x1bf167=this[_0x440501(0x3d9)];_0x1bf167?(_0x4f7789=_0x1bf167,this[_0x440501(0x3d9)]=_0x28daa9):_0x4f7789=this[_0x440501(0x3fc)];for(var _0x4ed27d=0x0;_0x4ed27d<_0x502f48;_0x4ed27d++)_0x153c27[_0x2d6390+_0x4ed27d]^=_0x4f7789[_0x4ed27d];}return _0x501353;}()),_0x56ccf8=_0x51ade9[_0x29fb46(0x1bc)]={},_0x4d2497=_0x56ccf8[_0x29fb46(0x20e)]={'pad':function(_0x1899c5,_0x1c8b4f){var _0x4dbb3e=_0x29fb46;for(var _0x16af6f=_0x1c8b4f*0x4,_0x471760=_0x16af6f-_0x1899c5['sigBytes']%_0x16af6f,_0x1a6196=_0x471760<<0x18|_0x471760<<0x10|_0x471760<<0x8|_0x471760,_0x399ed7=[],_0x183d5a=0x0;_0x183d5a<_0x471760;_0x183d5a+=0x4)_0x399ed7[_0x4dbb3e(0x18a)](_0x1a6196);var _0x2cfb77=_0x1f58e0['create'](_0x399ed7,_0x471760);_0x1899c5['concat'](_0x2cfb77);},'unpad':function(_0x2dd0c8){var _0x5708ca=_0x29fb46,_0x119c68=_0x2dd0c8[_0x5708ca(0x2d6)][_0x2dd0c8[_0x5708ca(0x155)]-0x1>>>0x2]&0xff;_0x2dd0c8[_0x5708ca(0x155)]-=_0x119c68;}};_0x5ca1e6['BlockCipher']=_0x36213a['extend']({'cfg':_0x36213a[_0x29fb46(0x189)][_0x29fb46(0x1e9)]({'mode':_0x53577c,'padding':_0x4d2497}),'reset':function(){var _0x221338=_0x29fb46,_0x178403;_0x36213a[_0x221338(0x1f0)]['call'](this);var _0x226e52=this[_0x221338(0x189)],_0x4ff7ee=_0x226e52['iv'],_0x1061a6=_0x226e52[_0x221338(0x3d3)];this[_0x221338(0x30f)]==this['_ENC_XFORM_MODE']?_0x178403=_0x1061a6[_0x221338(0x334)]:(_0x178403=_0x1061a6[_0x221338(0x16f)],this[_0x221338(0x407)]=0x1),this[_0x221338(0x36b)]&&this['_mode'][_0x221338(0x2f3)]==_0x178403?this[_0x221338(0x36b)]['init'](this,_0x4ff7ee&&_0x4ff7ee[_0x221338(0x2d6)]):(this[_0x221338(0x36b)]=_0x178403[_0x221338(0x3fe)](_0x1061a6,this,_0x4ff7ee&&_0x4ff7ee[_0x221338(0x2d6)]),this[_0x221338(0x36b)][_0x221338(0x2f3)]=_0x178403);},'_doProcessBlock':function(_0x1a3582,_0x44a45b){var _0x366fbc=_0x29fb46;this[_0x366fbc(0x36b)]['processBlock'](_0x1a3582,_0x44a45b);},'_doFinalize':function(){var _0x70be7d=_0x29fb46,_0x513b70,_0x3342e2=this[_0x70be7d(0x189)]['padding'];return this[_0x70be7d(0x30f)]==this['_ENC_XFORM_MODE']?(_0x3342e2[_0x70be7d(0x1bc)](this[_0x70be7d(0x324)],this[_0x70be7d(0x252)]),_0x513b70=this[_0x70be7d(0x37a)](!0x0)):(_0x513b70=this[_0x70be7d(0x37a)](!0x0),_0x3342e2[_0x70be7d(0x177)](_0x513b70)),_0x513b70;},'blockSize':0x80/0x20});var _0xd3c8d=_0x5ca1e6[_0x29fb46(0x1c7)]=_0x3c396c[_0x29fb46(0x1e9)]({'init':function(_0x44222b){var _0x262443=_0x29fb46;this[_0x262443(0x1a3)](_0x44222b);},'toString':function(_0x17ee85){var _0x4f65df=_0x29fb46;return(_0x17ee85||this[_0x4f65df(0x1df)])[_0x4f65df(0x109)](this);}}),_0x25834e=_0x51ade9[_0x29fb46(0xfc)]={},_0x15c690=_0x25834e[_0x29fb46(0x3e6)]={'stringify':function(_0x5854b6){var _0x2efb4b=_0x29fb46,_0x6e99bd,_0x9c43ec=_0x5854b6[_0x2efb4b(0x196)],_0x41f6fa=_0x5854b6[_0x2efb4b(0x2a0)];return _0x41f6fa?_0x6e99bd=_0x1f58e0[_0x2efb4b(0x1ac)]([0x53616c74,0x65645f5f])[_0x2efb4b(0x251)](_0x41f6fa)['concat'](_0x9c43ec):_0x6e99bd=_0x9c43ec,_0x6e99bd[_0x2efb4b(0x3d1)](_0x501eed);},'parse':function(_0x24f7af){var _0xc20555=_0x29fb46,_0x54bfbe,_0x63d57c=_0x501eed['parse'](_0x24f7af),_0x34a566=_0x63d57c[_0xc20555(0x2d6)];return _0x34a566[0x0]==0x53616c74&&_0x34a566[0x1]==0x65645f5f&&(_0x54bfbe=_0x1f58e0['create'](_0x34a566[_0xc20555(0x31e)](0x2,0x4)),_0x34a566[_0xc20555(0x2e9)](0x0,0x4),_0x63d57c[_0xc20555(0x155)]-=0x10),_0xd3c8d['create']({'ciphertext':_0x63d57c,'salt':_0x54bfbe});}},_0xdc9de0=_0x5ca1e6[_0x29fb46(0x40c)]=_0x3c396c['extend']({'cfg':_0x3c396c[_0x29fb46(0x1e9)]({'format':_0x15c690}),'encrypt':function(_0x3ac22b,_0x188e11,_0x4d6751,_0x4a1201){var _0x2b1e3f=_0x29fb46;_0x4a1201=this['cfg']['extend'](_0x4a1201);var _0x4ec6ce=_0x3ac22b['createEncryptor'](_0x4d6751,_0x4a1201),_0x3b6218=_0x4ec6ce[_0x2b1e3f(0x3ac)](_0x188e11),_0x3fd842=_0x4ec6ce[_0x2b1e3f(0x189)];return _0xd3c8d[_0x2b1e3f(0x1ac)]({'ciphertext':_0x3b6218,'key':_0x4d6751,'iv':_0x3fd842['iv'],'algorithm':_0x3ac22b,'mode':_0x3fd842['mode'],'padding':_0x3fd842[_0x2b1e3f(0x40f)],'blockSize':_0x3ac22b[_0x2b1e3f(0x252)],'formatter':_0x4a1201[_0x2b1e3f(0xfc)]});},'decrypt':function(_0x2e785c,_0x27f464,_0x4152cf,_0x5bb55e){var _0x3fcc2f=_0x29fb46;_0x5bb55e=this['cfg']['extend'](_0x5bb55e),_0x27f464=this[_0x3fcc2f(0x137)](_0x27f464,_0x5bb55e[_0x3fcc2f(0xfc)]);var _0x516199=_0x2e785c[_0x3fcc2f(0x16f)](_0x4152cf,_0x5bb55e)[_0x3fcc2f(0x3ac)](_0x27f464[_0x3fcc2f(0x196)]);return _0x516199;},'_parse':function(_0xe7a1bf,_0x395345){return typeof _0xe7a1bf=='string'?_0x395345['parse'](_0xe7a1bf,this):_0xe7a1bf;}}),_0x22309f=_0x51ade9[_0x29fb46(0x38b)]={},_0x183c08=_0x22309f['OpenSSL']={'execute':function(_0x3258a6,_0x8ecd83,_0x24b2c2,_0x32cc49,_0x313d9c){var _0xc084bd=_0x29fb46;if(_0x32cc49||(_0x32cc49=_0x1f58e0[_0xc084bd(0x3bd)](0x40/0x8)),_0x313d9c)var _0x3211d9=_0x4c016e[_0xc084bd(0x1ac)]({'keySize':_0x8ecd83+_0x24b2c2,'hasher':_0x313d9c})['compute'](_0x3258a6,_0x32cc49);else var _0x3211d9=_0x4c016e[_0xc084bd(0x1ac)]({'keySize':_0x8ecd83+_0x24b2c2})[_0xc084bd(0x150)](_0x3258a6,_0x32cc49);var _0x2cc768=_0x1f58e0['create'](_0x3211d9[_0xc084bd(0x2d6)][_0xc084bd(0x31e)](_0x8ecd83),_0x24b2c2*0x4);return _0x3211d9[_0xc084bd(0x155)]=_0x8ecd83*0x4,_0xd3c8d['create']({'key':_0x3211d9,'iv':_0x2cc768,'salt':_0x32cc49});}},_0x2a0d9c=_0x5ca1e6[_0x29fb46(0x338)]=_0xdc9de0[_0x29fb46(0x1e9)]({'cfg':_0xdc9de0[_0x29fb46(0x189)][_0x29fb46(0x1e9)]({'kdf':_0x183c08}),'encrypt':function(_0xd30f1,_0x1c4961,_0x1cc439,_0x2c2920){var _0x4656f7=_0x29fb46;_0x2c2920=this['cfg']['extend'](_0x2c2920);var _0x2f71d9=_0x2c2920['kdf'][_0x4656f7(0x30c)](_0x1cc439,_0xd30f1[_0x4656f7(0x3e2)],_0xd30f1[_0x4656f7(0x37b)],_0x2c2920['salt'],_0x2c2920[_0x4656f7(0x2f6)]);_0x2c2920['iv']=_0x2f71d9['iv'];var _0x30fe03=_0xdc9de0[_0x4656f7(0x2b7)][_0x4656f7(0x3fe)](this,_0xd30f1,_0x1c4961,_0x2f71d9[_0x4656f7(0x22c)],_0x2c2920);return _0x30fe03[_0x4656f7(0x1a3)](_0x2f71d9),_0x30fe03;},'decrypt':function(_0x452ac8,_0x126d66,_0x1f30c8,_0x3bc642){var _0x1f092d=_0x29fb46;_0x3bc642=this[_0x1f092d(0x189)][_0x1f092d(0x1e9)](_0x3bc642),_0x126d66=this[_0x1f092d(0x137)](_0x126d66,_0x3bc642[_0x1f092d(0xfc)]);var _0x24e161=_0x3bc642[_0x1f092d(0x38b)][_0x1f092d(0x30c)](_0x1f30c8,_0x452ac8[_0x1f092d(0x3e2)],_0x452ac8[_0x1f092d(0x37b)],_0x126d66[_0x1f092d(0x2a0)],_0x3bc642[_0x1f092d(0x2f6)]);_0x3bc642['iv']=_0x24e161['iv'];var _0x49ae56=_0xdc9de0[_0x1f092d(0x24e)][_0x1f092d(0x3fe)](this,_0x452ac8,_0x126d66,_0x24e161[_0x1f092d(0x22c)],_0x3bc642);return _0x49ae56;}});}();}));}(_0x539aba)),_0x539aba[_0x85c752(0x346)];}var _0x166d56=_0x27c80b[_0x3674d4(0x346)],_0x63f1b5;function _0x485539(){var _0x88d16b=_0x3674d4;return _0x63f1b5||(_0x63f1b5=0x1,function(_0x1f91b8,_0x43d94e){(function(_0x3c6b40,_0x5b804c,_0x2958ed){var _0x270ca1=_0x509d;_0x1f91b8[_0x270ca1(0x346)]=_0x5b804c(_0x5cc575(),_0x532c24(),_0x1323f7(),_0x42ce1e(),_0x47be05());}(_0x166d56,function(_0x245d9d){var _0x43a379=_0x509d;return(function(){var _0x689a95=_0x509d,_0xe53acf=_0x245d9d,_0x3b5d9b=_0xe53acf['lib'],_0x7fbfb=_0x3b5d9b[_0x689a95(0x387)],_0xb67a4e=_0xe53acf[_0x689a95(0x23f)],_0x4a7b4f=[],_0x2a04d6=[],_0x53e348=[],_0x220df7=[],_0x28a9da=[],_0x506d63=[],_0x23294b=[],_0x10d558=[],_0x3580e3=[],_0x13226f=[];(function(){for(var _0x329cf2=[],_0x39e232=0x0;_0x39e232<0x100;_0x39e232++)_0x39e232<0x80?_0x329cf2[_0x39e232]=_0x39e232<<0x1:_0x329cf2[_0x39e232]=_0x39e232<<0x1^0x11b;for(var _0x12c436=0x0,_0x4d5725=0x0,_0x39e232=0x0;_0x39e232<0x100;_0x39e232++){var _0x377429=_0x4d5725^_0x4d5725<<0x1^_0x4d5725<<0x2^_0x4d5725<<0x3^_0x4d5725<<0x4;_0x377429=_0x377429>>>0x8^_0x377429&0xff^0x63,_0x4a7b4f[_0x12c436]=_0x377429,_0x2a04d6[_0x377429]=_0x12c436;var _0x4bf892=_0x329cf2[_0x12c436],_0x5ede4d=_0x329cf2[_0x4bf892],_0x3e8187=_0x329cf2[_0x5ede4d],_0x15a9a1=_0x329cf2[_0x377429]*0x101^_0x377429*0x1010100;_0x53e348[_0x12c436]=_0x15a9a1<<0x18|_0x15a9a1>>>0x8,_0x220df7[_0x12c436]=_0x15a9a1<<0x10|_0x15a9a1>>>0x10,_0x28a9da[_0x12c436]=_0x15a9a1<<0x8|_0x15a9a1>>>0x18,_0x506d63[_0x12c436]=_0x15a9a1;var _0x15a9a1=_0x3e8187*0x1010101^_0x5ede4d*0x10001^_0x4bf892*0x101^_0x12c436*0x1010100;_0x23294b[_0x377429]=_0x15a9a1<<0x18|_0x15a9a1>>>0x8,_0x10d558[_0x377429]=_0x15a9a1<<0x10|_0x15a9a1>>>0x10,_0x3580e3[_0x377429]=_0x15a9a1<<0x8|_0x15a9a1>>>0x18,_0x13226f[_0x377429]=_0x15a9a1,_0x12c436?(_0x12c436=_0x4bf892^_0x329cf2[_0x329cf2[_0x329cf2[_0x3e8187^_0x4bf892]]],_0x4d5725^=_0x329cf2[_0x329cf2[_0x4d5725]]):_0x12c436=_0x4d5725=0x1;}}());var _0x27335e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x283806=_0xb67a4e[_0x689a95(0x419)]=_0x7fbfb[_0x689a95(0x1e9)]({'_doReset':function(){var _0x14a4fb=_0x689a95,_0x1320f2;if(!(this[_0x14a4fb(0x397)]&&this[_0x14a4fb(0x16d)]===this[_0x14a4fb(0x352)])){for(var _0x3f22eb=this['_keyPriorReset']=this[_0x14a4fb(0x352)],_0x4a8c6a=_0x3f22eb[_0x14a4fb(0x2d6)],_0x41a207=_0x3f22eb[_0x14a4fb(0x155)]/0x4,_0xdc46e7=this[_0x14a4fb(0x397)]=_0x41a207+0x6,_0x3b9638=(_0xdc46e7+0x1)*0x4,_0x55627e=this[_0x14a4fb(0x435)]=[],_0x127c4b=0x0;_0x127c4b<_0x3b9638;_0x127c4b++)_0x127c4b<_0x41a207?_0x55627e[_0x127c4b]=_0x4a8c6a[_0x127c4b]:(_0x1320f2=_0x55627e[_0x127c4b-0x1],_0x127c4b%_0x41a207?_0x41a207>0x6&&_0x127c4b%_0x41a207==0x4&&(_0x1320f2=_0x4a7b4f[_0x1320f2>>>0x18]<<0x18|_0x4a7b4f[_0x1320f2>>>0x10&0xff]<<0x10|_0x4a7b4f[_0x1320f2>>>0x8&0xff]<<0x8|_0x4a7b4f[_0x1320f2&0xff]):(_0x1320f2=_0x1320f2<<0x8|_0x1320f2>>>0x18,_0x1320f2=_0x4a7b4f[_0x1320f2>>>0x18]<<0x18|_0x4a7b4f[_0x1320f2>>>0x10&0xff]<<0x10|_0x4a7b4f[_0x1320f2>>>0x8&0xff]<<0x8|_0x4a7b4f[_0x1320f2&0xff],_0x1320f2^=_0x27335e[_0x127c4b/_0x41a207|0x0]<<0x18),_0x55627e[_0x127c4b]=_0x55627e[_0x127c4b-_0x41a207]^_0x1320f2);for(var _0x4ade80=this[_0x14a4fb(0x176)]=[],_0x1669b8=0x0;_0x1669b8<_0x3b9638;_0x1669b8++){var _0x127c4b=_0x3b9638-_0x1669b8;if(_0x1669b8%0x4)var _0x1320f2=_0x55627e[_0x127c4b];else var _0x1320f2=_0x55627e[_0x127c4b-0x4];_0x1669b8<0x4||_0x127c4b<=0x4?_0x4ade80[_0x1669b8]=_0x1320f2:_0x4ade80[_0x1669b8]=_0x23294b[_0x4a7b4f[_0x1320f2>>>0x18]]^_0x10d558[_0x4a7b4f[_0x1320f2>>>0x10&0xff]]^_0x3580e3[_0x4a7b4f[_0x1320f2>>>0x8&0xff]]^_0x13226f[_0x4a7b4f[_0x1320f2&0xff]];}}},'encryptBlock':function(_0x281568,_0x3d0d45){var _0x1c6469=_0x689a95;this[_0x1c6469(0x147)](_0x281568,_0x3d0d45,this['_keySchedule'],_0x53e348,_0x220df7,_0x28a9da,_0x506d63,_0x4a7b4f);},'decryptBlock':function(_0x45f548,_0x4b7d9b){var _0x59b9ce=_0x689a95,_0x5a7b71=_0x45f548[_0x4b7d9b+0x1];_0x45f548[_0x4b7d9b+0x1]=_0x45f548[_0x4b7d9b+0x3],_0x45f548[_0x4b7d9b+0x3]=_0x5a7b71,this[_0x59b9ce(0x147)](_0x45f548,_0x4b7d9b,this[_0x59b9ce(0x176)],_0x23294b,_0x10d558,_0x3580e3,_0x13226f,_0x2a04d6);var _0x5a7b71=_0x45f548[_0x4b7d9b+0x1];_0x45f548[_0x4b7d9b+0x1]=_0x45f548[_0x4b7d9b+0x3],_0x45f548[_0x4b7d9b+0x3]=_0x5a7b71;},'_doCryptBlock':function(_0x188037,_0x5f07c2,_0x20fb4a,_0x1087b8,_0x498d8e,_0x5723f5,_0xce9098,_0x10b41d){var _0x9547cc=_0x689a95;for(var _0x4162de=this[_0x9547cc(0x397)],_0x2d7fbd=_0x188037[_0x5f07c2]^_0x20fb4a[0x0],_0x5e08a8=_0x188037[_0x5f07c2+0x1]^_0x20fb4a[0x1],_0xc6082=_0x188037[_0x5f07c2+0x2]^_0x20fb4a[0x2],_0x598f55=_0x188037[_0x5f07c2+0x3]^_0x20fb4a[0x3],_0x106a3c=0x4,_0x39a300=0x1;_0x39a300<_0x4162de;_0x39a300++){var _0x2b4cf9=_0x1087b8[_0x2d7fbd>>>0x18]^_0x498d8e[_0x5e08a8>>>0x10&0xff]^_0x5723f5[_0xc6082>>>0x8&0xff]^_0xce9098[_0x598f55&0xff]^_0x20fb4a[_0x106a3c++],_0x544c39=_0x1087b8[_0x5e08a8>>>0x18]^_0x498d8e[_0xc6082>>>0x10&0xff]^_0x5723f5[_0x598f55>>>0x8&0xff]^_0xce9098[_0x2d7fbd&0xff]^_0x20fb4a[_0x106a3c++],_0x182cd2=_0x1087b8[_0xc6082>>>0x18]^_0x498d8e[_0x598f55>>>0x10&0xff]^_0x5723f5[_0x2d7fbd>>>0x8&0xff]^_0xce9098[_0x5e08a8&0xff]^_0x20fb4a[_0x106a3c++],_0x3b1bf3=_0x1087b8[_0x598f55>>>0x18]^_0x498d8e[_0x2d7fbd>>>0x10&0xff]^_0x5723f5[_0x5e08a8>>>0x8&0xff]^_0xce9098[_0xc6082&0xff]^_0x20fb4a[_0x106a3c++];_0x2d7fbd=_0x2b4cf9,_0x5e08a8=_0x544c39,_0xc6082=_0x182cd2,_0x598f55=_0x3b1bf3;}var _0x2b4cf9=(_0x10b41d[_0x2d7fbd>>>0x18]<<0x18|_0x10b41d[_0x5e08a8>>>0x10&0xff]<<0x10|_0x10b41d[_0xc6082>>>0x8&0xff]<<0x8|_0x10b41d[_0x598f55&0xff])^_0x20fb4a[_0x106a3c++],_0x544c39=(_0x10b41d[_0x5e08a8>>>0x18]<<0x18|_0x10b41d[_0xc6082>>>0x10&0xff]<<0x10|_0x10b41d[_0x598f55>>>0x8&0xff]<<0x8|_0x10b41d[_0x2d7fbd&0xff])^_0x20fb4a[_0x106a3c++],_0x182cd2=(_0x10b41d[_0xc6082>>>0x18]<<0x18|_0x10b41d[_0x598f55>>>0x10&0xff]<<0x10|_0x10b41d[_0x2d7fbd>>>0x8&0xff]<<0x8|_0x10b41d[_0x5e08a8&0xff])^_0x20fb4a[_0x106a3c++],_0x3b1bf3=(_0x10b41d[_0x598f55>>>0x18]<<0x18|_0x10b41d[_0x2d7fbd>>>0x10&0xff]<<0x10|_0x10b41d[_0x5e08a8>>>0x8&0xff]<<0x8|_0x10b41d[_0xc6082&0xff])^_0x20fb4a[_0x106a3c++];_0x188037[_0x5f07c2]=_0x2b4cf9,_0x188037[_0x5f07c2+0x1]=_0x544c39,_0x188037[_0x5f07c2+0x2]=_0x182cd2,_0x188037[_0x5f07c2+0x3]=_0x3b1bf3;},'keySize':0x100/0x20});_0xe53acf[_0x689a95(0x419)]=_0x7fbfb[_0x689a95(0x10d)](_0x283806);}()),_0x245d9d[_0x43a379(0x419)];}));}(_0x27c80b)),_0x27c80b[_0x88d16b(0x346)];}var _0x2f5b22=_0x485539();const _0x4de67e=_0x1c4920(_0x2f5b22);var _0x59e38b=_0x532c24();const _0x313bf9=_0x1c4920(_0x59e38b);var _0x5afa45={'exports':{}},_0x2b3a7f=_0x5afa45['exports'],_0x786724;function _0x3af3a9(){var _0xace951=_0x3674d4;return _0x786724||(_0x786724=0x1,function(_0x370a4c,_0x537a50){(function(_0x4d91aa,_0x3679d6){var _0x3fdf84=_0x509d;_0x370a4c[_0x3fdf84(0x346)]=_0x3679d6(_0x5cc575());}(_0x2b3a7f,function(_0x305493){var _0x496985=_0x509d;return _0x305493['enc'][_0x496985(0x343)];}));}(_0x5afa45)),_0x5afa45[_0xace951(0x346)];}var _0x449ae2=_0x3af3a9();const _0x270c99=_0x1c4920(_0x449ae2);var _0x1f2c03={'exports':{}},_0x4e0fa5=_0x1f2c03['exports'],_0x1d412f;function _0x7a9e40(){return _0x1d412f||(_0x1d412f=0x1,function(_0x5ee4b4,_0x2d4617){(function(_0x3b399b,_0xf2720f){var _0x132f5e=_0x509d;_0x5ee4b4[_0x132f5e(0x346)]=_0xf2720f(_0x5cc575());}(_0x4e0fa5,function(_0x2558ac){var _0x1232ea=_0x509d;return(function(){var _0xa11efc=_0x509d;if(typeof ArrayBuffer=='function'){var _0x26a517=_0x2558ac,_0xa21a5d=_0x26a517[_0xa11efc(0x2d2)],_0x307367=_0xa21a5d[_0xa11efc(0x265)],_0x298269=_0x307367['init'],_0x12a130=_0x307367[_0xa11efc(0x356)]=function(_0x430251){var _0x2ec8fd=_0xa11efc;if(_0x430251 instanceof ArrayBuffer&&(_0x430251=new Uint8Array(_0x430251)),(_0x430251 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x430251 instanceof Uint8ClampedArray||_0x430251 instanceof Int16Array||_0x430251 instanceof Uint16Array||_0x430251 instanceof Int32Array||_0x430251 instanceof Uint32Array||_0x430251 instanceof Float32Array||_0x430251 instanceof Float64Array)&&(_0x430251=new Uint8Array(_0x430251[_0x2ec8fd(0x160)],_0x430251[_0x2ec8fd(0x171)],_0x430251[_0x2ec8fd(0x45c)])),_0x430251 instanceof Uint8Array){for(var _0xc59d6=_0x430251[_0x2ec8fd(0x45c)],_0x39d1f8=[],_0x41fba8=0x0;_0x41fba8<_0xc59d6;_0x41fba8++)_0x39d1f8[_0x41fba8>>>0x2]|=_0x430251[_0x41fba8]<<0x18-_0x41fba8%0x4*0x8;_0x298269[_0x2ec8fd(0x3fe)](this,_0x39d1f8,_0xc59d6);}else _0x298269[_0x2ec8fd(0x2a8)](this,arguments);};_0x12a130['prototype']=_0x307367;}}()),_0x2558ac[_0x1232ea(0x2d2)][_0x1232ea(0x265)];}));}(_0x1f2c03)),_0x1f2c03['exports'];}var _0x3b8df7=_0x7a9e40();const _0x52790c=_0x1c4920(_0x3b8df7);var _0x559b1d={'exports':{}},_0x3eeaeb=_0x559b1d['exports'],_0x411e7f;function _0x54f867(){var _0x46684e=_0x3674d4;return _0x411e7f||(_0x411e7f=0x1,function(_0x36c566,_0x26535f){(function(_0x1d2133,_0x267051,_0x55d655){var _0x4a6691=_0x509d;_0x36c566[_0x4a6691(0x346)]=_0x267051(_0x5cc575(),_0x47be05());}(_0x3eeaeb,function(_0x7ca1cd){var _0x54aeba=_0x509d;return _0x7ca1cd[_0x54aeba(0x1bc)][_0x54aeba(0x400)]={'pad':function(){},'unpad':function(){}},_0x7ca1cd[_0x54aeba(0x1bc)][_0x54aeba(0x400)];}));}(_0x559b1d)),_0x559b1d[_0x46684e(0x346)];}var _0x2470b8=_0x54f867();const _0x51fec9=_0x1c4920(_0x2470b8);function _0x50628b(_0x136241,_0x410607){var _0x3c9bf8=_0x3674d4;const _0x17dba8=_0x410607-_0x136241[_0x3c9bf8(0x446)]%_0x410607,_0x53a3d9=String['fromCharCode'](_0x17dba8)[_0x3c9bf8(0x3ec)](_0x17dba8);return _0x136241+_0x53a3d9;}function _0x32cb14(_0x26c5c8,_0x251d5f){var _0x15ede7=_0x3674d4;const _0x13e255=_0x52790c[_0x15ede7(0x3bd)](0x10),_0x3e6103=_0x50628b(_0x26c5c8,0x10),_0x1e6a29=_0x4de67e[_0x15ede7(0x2b7)](_0x270c99[_0x15ede7(0x3a1)](_0x3e6103),_0x313bf9['parse'](_0x251d5f),{'iv':_0x13e255,'padding':_0x51fec9});return _0x13e255[_0x15ede7(0x251)](_0x1e6a29[_0x15ede7(0x196)])['toString'](_0x313bf9);}function _0x249bf4(){var _0x485a4a=_0x3674d4;const _0x4d2ffc=_0x4612b9[_0x485a4a(0x233)]()[_0x485a4a(0x2f0)];if(_0x4d2ffc){const _0x5de802={'time':Math[_0x485a4a(0xed)](Date['now']()/0x3e8),'domain':location['hostname']};return _0x32cb14(JSON[_0x485a4a(0x109)](_0x5de802),_0x4d2ffc);}}var _0x940ee5=Object[_0x3674d4(0x2f2)],_0x56a406=(_0x1ecc68,_0xf6a07b,_0x2ededd,_0x1782c5)=>{var _0x34c93c=_0x3674d4;for(var _0x35201c=_0x1782c5>0x1?void 0x0:_0x1782c5?_0x940ee5(_0xf6a07b,_0x2ededd):_0xf6a07b,_0x2e092a=_0x1ecc68[_0x34c93c(0x446)]-0x1,_0x2d64ae;_0x2e092a>=0x0;_0x2e092a--)(_0x2d64ae=_0x1ecc68[_0x2e092a])&&(_0x35201c=_0x2d64ae(_0x35201c)||_0x35201c);return _0x35201c;},_0x6cef2=(_0x19853d,_0x45f9e8)=>(_0x581bcd,_0x568cf7)=>_0x45f9e8(_0x581bcd,_0x568cf7,_0x19853d);let _0x106433=class{constructor(_0x2fc00a){var _0x1c10b3=_0x3674d4;this[_0x1c10b3(0x124)]=_0x2fc00a,this[_0x1c10b3(0x232)]();}[_0x3674d4(0x232)](){var _0x4db486=_0x3674d4;this[_0x4db486(0x124)]['registerHTTPInterceptor']({'interceptor':(_0x1305e8,_0x3ca28e)=>{var _0xbe691c=_0x4db486;const _0x4c3968=_0x1305e8[_0xbe691c(0x20b)],_0x4af29a=_0x249bf4();return _0x4af29a&&_0x4c3968[_0xbe691c(0x35d)](_0xbe691c(0x111),_0x4af29a),_0x3ca28e(_0x1305e8);}});}};_0x106433=_0x56a406([_0x6cef2(0x0,_0x1db671[_0x3674d4(0x1ce)](_0x160ac5['HTTPService']))],_0x106433);var _0x1e9476=Object[_0x3674d4(0x2f2)],_0x455077=(_0x159b24,_0xfa91f6,_0x39e327,_0x302a3a)=>{var _0x349901=_0x3674d4;for(var _0x1445ea=_0x302a3a>0x1?void 0x0:_0x302a3a?_0x1e9476(_0xfa91f6,_0x39e327):_0xfa91f6,_0x3653ac=_0x159b24[_0x349901(0x446)]-0x1,_0x10293a;_0x3653ac>=0x0;_0x3653ac--)(_0x10293a=_0x159b24[_0x3653ac])&&(_0x1445ea=_0x10293a(_0x1445ea)||_0x1445ea);return _0x1445ea;},_0x630ca3=(_0x5ef477,_0x11c5ec)=>(_0x441918,_0x4bbfcb)=>_0x11c5ec(_0x441918,_0x4bbfcb,_0x5ef477);_0x13c6bf['DataLoaderService']=class extends _0x1db671['RxDisposable']{constructor(_0x12cfc0,_0x1a978c,_0x1df9a1){var _0x3a0508=_0x3674d4;super(),_0x47ca49(this,_0x3a0508(0x434),new _0x377325[(_0x3a0508(0x3d8))](null)),_0x47ca49(this,_0x3a0508(0x228),this[_0x3a0508(0x434)]['asObservable']()),(this[_0x3a0508(0x43a)]=_0x12cfc0,this[_0x3a0508(0x2df)]=_0x1a978c,this[_0x3a0508(0x19e)]=_0x1df9a1);}async[_0x3674d4(0x250)](_0x4e7b5e,_0x4d3a5f,_0x5018a3){var _0x1c2f24=_0x3674d4;this[_0x1c2f24(0x434)][_0x1c2f24(0x317)]({'unitId':_0x4e7b5e,'type':_0x4d3a5f,'subUnitId':_0x5018a3});let _0x56c96c=null;switch(_0x4d3a5f){case _0x50ca95['UNIVER_SHEET']:{_0x56c96c=await this[_0x1c2f24(0x2d7)](_0x4e7b5e);break;}case _0x50ca95['UNIVER_DOC']:{_0x56c96c=await this['_loadDoc'](_0x4e7b5e);break;}default:{this[_0x1c2f24(0x43a)]['error'](_0x1c2f24(0x194),_0x1c2f24(0x44a));break;}}return _0x56c96c;}async[_0x3674d4(0x2d7)](_0x868cce){var _0x1e5469=_0x3674d4,_0x4b64f3;let _0x523768=0x0;const _0x248859=await((_0x4b64f3=this['_localCacheService'])==null?void 0x0:_0x4b64f3['loadOfflineData'](_0x868cce));return _0x248859&&(_0x248859[_0x1e5469(0x389)]||_0x248859[_0x1e5469(0x323)]['length']!==0x0)&&(_0x523768=_0x248859['rev']),_0x523768===0x0&&this[_0x1e5469(0x43a)][_0x1e5469(0x2e4)](_0x1e5469(0x194),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1e5469(0x2df)][_0x1e5469(0x293)](_0x868cce,_0x523768);}async[_0x3674d4(0x404)](_0xf76063){var _0x2de9a6=_0x3674d4,_0x32d452;let _0x5b1eda=0x0;const _0x5533bd=await((_0x32d452=this[_0x2de9a6(0x19e)])==null?void 0x0:_0x32d452['loadOfflineData'](_0xf76063));return _0x5533bd&&(_0x5533bd[_0x2de9a6(0x389)]||_0x5533bd['mutations'][_0x2de9a6(0x446)]!==0x0)&&(_0x5b1eda=_0x5533bd[_0x2de9a6(0x1b2)]),_0x5b1eda===0x0&&this[_0x2de9a6(0x43a)][_0x2de9a6(0x2e4)]('[DataLoaderService]',_0x2de9a6(0x2fb)),this[_0x2de9a6(0x2df)][_0x2de9a6(0x32a)](_0xf76063,_0x5b1eda);}},_0x13c6bf[_0x3674d4(0x1fc)]=_0x455077([_0x630ca3(0x0,_0x1db671[_0x3674d4(0x271)]),_0x630ca3(0x1,_0x1db671[_0x3674d4(0x1ce)](_0x473659[_0x3674d4(0x108)])),_0x630ca3(0x2,_0x1db671[_0x3674d4(0x2c1)](_0x358068))],_0x13c6bf[_0x3674d4(0x1fc)]);var _0x30e60f=Object[_0x3674d4(0x2f2)],_0x5095d3=(_0x23f523,_0x4279a7,_0x18be39,_0x4b8311)=>{var _0x331048=_0x3674d4;for(var _0x2fccf9=_0x4b8311>0x1?void 0x0:_0x4b8311?_0x30e60f(_0x4279a7,_0x18be39):_0x4279a7,_0x4ec7ef=_0x23f523[_0x331048(0x446)]-0x1,_0xe83fae;_0x4ec7ef>=0x0;_0x4ec7ef--)(_0xe83fae=_0x23f523[_0x4ec7ef])&&(_0x2fccf9=_0xe83fae(_0x2fccf9)||_0x2fccf9);return _0x2fccf9;},_0x3a6115=(_0x5c557d,_0x92181f)=>(_0x3f1a16,_0x5158e3)=>_0x92181f(_0x3f1a16,_0x5158e3,_0x5c557d);const _0x561db7=[_0x3674d4(0x297),_0x3674d4(0x45f),_0x3674d4(0x1a6),_0x3674d4(0x1b6),_0x3674d4(0x1de)],_0x1dd42a=0x5*0x400*0x400,_0x2ef03b='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x4a6bda=_0x3674d4(0x2c3),_0x59611a=_0x3674d4(0xe5),_0x34ef9b=_0x3674d4(0x32f);_0x13c6bf['CollaborationImageIoService']=class{constructor(_0x54ad9f,_0xf4e0b0,_0x489f32){var _0x59a3f5=_0x3674d4;_0x47ca49(this,_0x59a3f5(0x1d5),0x0),_0x47ca49(this,_0x59a3f5(0x406),new _0x377325['Subject']()),_0x47ca49(this,_0x59a3f5(0x2ab),this[_0x59a3f5(0x406)]),_0x47ca49(this,_0x59a3f5(0x191),new Map()),(this['_httpService']=_0x54ad9f,this[_0x59a3f5(0x3c5)]=_0xf4e0b0,this['_univerInstanceService']=_0x489f32);}[_0x3674d4(0x10a)](_0xbe8156){var _0x434f2a=_0x3674d4;this['_waitCount']=_0xbe8156,this[_0x434f2a(0x406)]['next'](_0xbe8156);}[_0x3674d4(0x3be)](_0x373726,_0xce56c3){var _0x1f57a2=_0x3674d4;if(_0xce56c3===_0x18c9ec['ImageSourceType']['BASE64']){const _0x512a91=new Image();return _0x512a91[_0x1f57a2(0x112)]=_0x373726,_0x512a91;}return this['_imageSourceCache'][_0x1f57a2(0x3cd)](_0x373726);}[_0x3674d4(0x3ef)](_0x49c9f8,_0x32dabb,_0x3525c8){var _0x4485a5=_0x3674d4;_0x32dabb===_0x18c9ec[_0x4485a5(0x1ad)]['BASE64']||_0x3525c8==null||this[_0x4485a5(0x191)][_0x4485a5(0x35d)](_0x49c9f8,_0x3525c8);}async[_0x3674d4(0x445)](_0x3f58f1){var _0x5a96ea=_0x3674d4;try{const _0x19cd95=this['_replaceFileID'](this['_getSignURL'](),''+_0x3f58f1),_0x1e9ec4=(await this[_0x5a96ea(0x124)]['get'](_0x19cd95))['body'];if(_0x1e9ec4[_0x5a96ea(0x36a)]&&_0x1e9ec4[_0x5a96ea(0x36a)][_0x5a96ea(0x14c)]===_0x4c4268['OK']){const _0x56a082=new URL(_0x1e9ec4['url'],this[_0x5a96ea(0x3b4)]())[_0x5a96ea(0x3d1)]();return Promise['resolve'](_0x56a082);}return Promise[_0x5a96ea(0x1c6)](_0x1e9ec4[_0x5a96ea(0x36a)]);}catch(_0x1d7896){return Promise[_0x5a96ea(0x1c6)](_0x1d7896);}}async[_0x3674d4(0x458)](_0x448b25){var _0x41cbf2=_0x3674d4;let _0x5ea1c6='';if(!_0x561db7[_0x41cbf2(0x33c)](_0x448b25[_0x41cbf2(0x16e)]))return this[_0x41cbf2(0x1cc)](),Promise[_0x41cbf2(0x1c6)](new Error(_0x18c9ec[_0x41cbf2(0x415)][_0x41cbf2(0x1fb)]));if(_0x448b25['size']>_0x1dd42a)return this['_decreaseWaiting'](),Promise[_0x41cbf2(0x1c6)](new Error(_0x18c9ec['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x57c839=new FormData();_0x57c839[_0x41cbf2(0x422)]('file',_0x448b25);const _0x3db2f7=this[_0x41cbf2(0x3bb)][_0x41cbf2(0x1c4)](),_0x1ac568=_0x3db2f7==null?void 0x0:_0x3db2f7[_0x41cbf2(0x304)]();if(!_0x1ac568)throw new Error(_0x41cbf2(0xfe));const _0x5f3aae=this['_getUploadFileURL']()+_0x41cbf2(0x102)+_0x448b25[_0x41cbf2(0x25c)]['toString']()+_0x41cbf2(0x436)+_0x6b5d5c['UnitEmbedded']+_0x41cbf2(0x261)+encodeURIComponent(_0x1ac568),_0x1abf0c=await(await fetch(_0x5f3aae,{'method':_0x41cbf2(0x427),'body':_0x57c839}))['json']();if(typeof _0x1abf0c['FileId']!=_0x41cbf2(0x3cf))return this[_0x41cbf2(0x1cc)](),Promise['reject'](new Error(_0x18c9ec[_0x41cbf2(0x415)][_0x41cbf2(0xdd)]));_0x5ea1c6=_0x1abf0c[_0x41cbf2(0x10c)];}catch{return this['_decreaseWaiting'](),Promise[_0x41cbf2(0x1c6)](new Error(_0x18c9ec['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x52e774,_0xbf5f44)=>{var _0x10f419=_0x41cbf2;const _0x5ef79a=new FileReader();_0x5ef79a[_0x10f419(0x2af)](_0x448b25),_0x5ef79a['onload']=_0x44fbf4=>{var _0x29b760=_0x10f419,_0x5967d5;const _0x329cb5=(_0x5967d5=_0x44fbf4[_0x29b760(0x1d1)])==null?void 0x0:_0x5967d5[_0x29b760(0x15e)];if(_0x329cb5==null){this['_decreaseWaiting'](),_0xbf5f44(new Error(_0x18c9ec[_0x29b760(0x415)][_0x29b760(0xdd)]));return;}const _0xe5bb17=_0x1db671['Tools'][_0x29b760(0x30a)](0x6);_0x52e774({'imageId':_0xe5bb17,'imageSourceType':_0x18c9ec[_0x29b760(0x1ad)]['UUID'],'source':_0x5ea1c6,'base64Cache':_0x329cb5,'status':_0x18c9ec[_0x29b760(0x415)]['SUCCUSS']}),this[_0x29b760(0x1cc)]();};});}[_0x3674d4(0x358)](){var _0x2025ac=_0x3674d4,_0x31e497,_0x50a659;const _0x2c0403=this[_0x2025ac(0x3c5)]['getConfig'](_0x2ef03b),_0x16dfca=this[_0x2025ac(0x3c5)]['getConfig'](_0x3edafe);return(_0x50a659=(_0x31e497=_0x16dfca==null?void 0x0:_0x16dfca['uploadFileServerUrl'])!=null?_0x31e497:_0x2c0403)!=null?_0x50a659:_0x4a6bda;}[_0x3674d4(0x411)](){var _0x566671=_0x3674d4,_0x43b128,_0x14802b;const _0x352728=this['_configService'][_0x566671(0x3f5)](_0x59611a),_0x237c43=this[_0x566671(0x3c5)][_0x566671(0x3f5)](_0x3edafe);return(_0x14802b=(_0x43b128=_0x237c43==null?void 0x0:_0x237c43[_0x566671(0x44b)])!=null?_0x43b128:_0x352728)!=null?_0x14802b:_0x34ef9b;}[_0x3674d4(0x3b4)](){var _0x137049=_0x3674d4,_0x13f87d;const _0x392e42=this[_0x137049(0x3c5)][_0x137049(0x3f5)](_0x3edafe);return(_0x13f87d=_0x392e42==null?void 0x0:_0x392e42[_0x137049(0x216)])!=null?_0x13f87d:location[_0x137049(0x40b)];}[_0x3674d4(0x3a5)](_0x4ae132,_0x50dc5d){var _0x4338e7=_0x3674d4;return _0x4ae132[_0x4338e7(0x1eb)](_0x4338e7(0x1fa),_0x50dc5d);}[_0x3674d4(0x1cc)](){var _0x138f20=_0x3674d4;this[_0x138f20(0x1d5)]-=0x1,this['_change$'][_0x138f20(0x317)](this[_0x138f20(0x1d5)]);}},_0x13c6bf[_0x3674d4(0x2de)]=_0x5095d3([_0x3a6115(0x0,_0x1db671[_0x3674d4(0x1ce)](_0x160ac5[_0x3674d4(0x264)])),_0x3a6115(0x1,_0x1db671[_0x3674d4(0x25a)]),_0x3a6115(0x2,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x2fa)]))],_0x13c6bf[_0x3674d4(0x2de)]);var _0x3edfc8=Object['getOwnPropertyDescriptor'],_0x19e95b=(_0x3fcb1b,_0x54ab03,_0xff181d,_0x553de2)=>{var _0x2df9d4=_0x3674d4;for(var _0x249d26=_0x553de2>0x1?void 0x0:_0x553de2?_0x3edfc8(_0x54ab03,_0xff181d):_0x54ab03,_0xa91e6b=_0x3fcb1b[_0x2df9d4(0x446)]-0x1,_0x3e9b2c;_0xa91e6b>=0x0;_0xa91e6b--)(_0x3e9b2c=_0x3fcb1b[_0xa91e6b])&&(_0x249d26=_0x3e9b2c(_0x249d26)||_0x249d26);return _0x249d26;},_0x548304=(_0xb1bd06,_0x2e3d29)=>(_0x3e2652,_0x3aaf29)=>_0x2e3d29(_0x3e2652,_0x3aaf29,_0xb1bd06);const _0xaaaa56='/universer-api/authz';_0x13c6bf['MentionIoHttpService']=class{constructor(_0x506412,_0x4ddbf6){var _0x4948d7=_0x3674d4;this[_0x4948d7(0x3c5)]=_0x506412,this['_HTTPService']=_0x4ddbf6;}['_getAPIPrefixPath'](){var _0x17e754=_0x3674d4,_0x368bc8,_0x37cbc3;const _0x4df9dc=this['_configService'][_0x17e754(0x3f5)](_0x554be2),_0x231c84=this['_configService'][_0x17e754(0x3f5)](_0x3edafe);return(_0x37cbc3=(_0x368bc8=_0x231c84==null?void 0x0:_0x231c84[_0x17e754(0x320)])!=null?_0x368bc8:_0x4df9dc)!=null?_0x37cbc3:_0xaaaa56;}async[_0x3674d4(0x28c)](_0x1cb935){var _0x29ea3c=_0x3674d4;const _0x52a951=this[_0x29ea3c(0x278)]()+'/collaborator';return{'list':[{'title':_0x29ea3c(0x38e),'mentions':(await this[_0x29ea3c(0x244)]['get'](_0x52a951,{'params':{'objectID':_0x1cb935[_0x29ea3c(0x451)],'unitID':_0x1cb935[_0x29ea3c(0x451)]}}))[_0x29ea3c(0x218)][_0x29ea3c(0x319)][_0x29ea3c(0x3a3)](_0x2807bf=>({'objectId':_0x2807bf['id'],'name':_0x2807bf[_0x29ea3c(0x235)]['name'],'metadata':{'icon':_0x2807bf['subject'][_0x29ea3c(0x328)]},'label':_0x2807bf[_0x29ea3c(0x235)][_0x29ea3c(0x370)],'objectType':_0x1db671[_0x29ea3c(0x23e)][_0x29ea3c(0x146)]})),'metadata':{},'type':_0x1db671[_0x29ea3c(0x23e)][_0x29ea3c(0x146)]}]};}},_0x13c6bf[_0x3674d4(0x315)]=_0x19e95b([_0x548304(0x0,_0x1db671[_0x3674d4(0x1ce)](_0x1db671[_0x3674d4(0x25a)])),_0x548304(0x1,_0x1db671[_0x3674d4(0x1ce)](_0x160ac5[_0x3674d4(0x264)]))],_0x13c6bf['MentionIoHttpService']);var _0x4c9789=Object[_0x3674d4(0x2f2)],_0x4d6e9c=(_0x1797cf,_0x36937e,_0x430753,_0x2f5661)=>{var _0x1558a7=_0x3674d4;for(var _0x38b87b=_0x2f5661>0x1?void 0x0:_0x2f5661?_0x4c9789(_0x36937e,_0x430753):_0x36937e,_0xba5980=_0x1797cf[_0x1558a7(0x446)]-0x1,_0x165a20;_0xba5980>=0x0;_0xba5980--)(_0x165a20=_0x1797cf[_0xba5980])&&(_0x38b87b=_0x165a20(_0x38b87b)||_0x38b87b);return _0x38b87b;},_0x246efa=(_0x1da72d,_0x75e319)=>(_0x4b2972,_0x44d160)=>_0x75e319(_0x4b2972,_0x44d160,_0x1da72d);let _0xad9565=class extends _0x1db671['RxDisposable']{constructor(_0x9f2e85,_0x24a84a,_0x4764ec,_0x4c23fe,_0x601d91){var _0x1488d3=_0x3674d4;super(),this[_0x1488d3(0x44d)]=_0x9f2e85,this[_0x1488d3(0x3bb)]=_0x24a84a,this[_0x1488d3(0x2e0)]=_0x4764ec,this['_collaborationSessionService']=_0x4c23fe,this['_collaborationUIEventService']=_0x601d91,this[_0x1488d3(0x2f5)](),this[_0x1488d3(0x42a)]();}[_0x3674d4(0x42a)](){var _0x5c60bd=_0x3674d4;const _0x2c31ed=async _0x10bec5=>{var _0x2b4d5f=_0x509d;(await this['_collaborationSessionService'][_0x2b4d5f(0xeb)](_0x10bec5))[_0x2b4d5f(0x3f8)][_0x2b4d5f(0x242)](_0x1ca1cf[_0x2b4d5f(0x1c5)](_0x1708a4=>_0x1708a4[_0x2b4d5f(0x339)]===_0x473659[_0x2b4d5f(0x2be)][_0x2b4d5f(0x294)]),_0x1ca1cf[_0x2b4d5f(0x429)](this[_0x2b4d5f(0x42d)]))['subscribe'](_0x8cfde7=>{var _0x4eb57e=_0x2b4d5f;const _0x4a1df3=_0x8cfde7,{reason:_0x5130cb}=_0x4a1df3[_0x4eb57e(0x34e)];this[_0x4eb57e(0x459)][_0x4eb57e(0x28b)]({'id':_0x423d42['CLOSE_ROOM'],'data':_0x5130cb}),this[_0x4eb57e(0x2e0)][_0x4eb57e(0x1e2)](new _0x45a23f[(_0x4eb57e(0x17d))](_0x10bec5)['id'],!0x1),this[_0x4eb57e(0xf9)]['closeSession'](_0x10bec5);});};_0x377325[_0x5c60bd(0x2cd)](this['_univerInstanceService'][_0x5c60bd(0x41e)](_0x1db671[_0x5c60bd(0x45a)][_0x5c60bd(0x258)]),this['_univerInstanceService'][_0x5c60bd(0x41e)](_0x1db671['UniverInstanceType'][_0x5c60bd(0x414)]))[_0x5c60bd(0x242)](_0x1ca1cf[_0x5c60bd(0x3a3)](_0x205d7a=>_0x205d7a['getUnitId']()),_0x1ca1cf[_0x5c60bd(0x1c5)](_0x3bf740=>!_0x1db671['isInternalEditorID'](_0x3bf740)),_0x1ca1cf[_0x5c60bd(0x429)](this[_0x5c60bd(0x42d)]))[_0x5c60bd(0x431)](_0xe0d68f=>{_0x2c31ed(_0xe0d68f);});}[_0x3674d4(0x2f5)](){var _0x5550fd=_0x3674d4;const _0x5bc674=async _0x4514fb=>{var _0x1ee373=_0x509d;const _0x1354e3=await this[_0x1ee373(0xf9)][_0x1ee373(0xeb)](_0x4514fb),_0x4b8a3c=this[_0x1ee373(0x44d)][_0x1ee373(0x3cd)](_0x45a23f['SheetPermissionInitController']);_0x1354e3[_0x1ee373(0x3f8)][_0x1ee373(0x242)](_0x1ca1cf[_0x1ee373(0x1c5)](_0x4bf158=>_0x4bf158[_0x1ee373(0x339)]===_0x473659['CollaborationEvent'][_0x1ee373(0x221)]),_0x1ca1cf[_0x1ee373(0x429)](this[_0x1ee373(0x42d)]))['subscribe'](_0x1d13cf=>{var _0x447bc8=_0x1ee373;const _0x25b7ea=_0x1d13cf,{objectId:_0x54d008}=_0x25b7ea[_0x447bc8(0x34e)];_0x54d008===_0x4514fb?_0x4b8a3c['initWorkbookPermissionChange'](_0x4514fb):_0x4b8a3c[_0x447bc8(0x3f3)](_0x4514fb,_0x54d008);});};_0x377325[_0x5550fd(0x2cd)](this[_0x5550fd(0x3bb)][_0x5550fd(0x41e)](_0x1db671['UniverInstanceType'][_0x5550fd(0x258)]))[_0x5550fd(0x242)](_0x1ca1cf[_0x5550fd(0x3a3)](_0x107bac=>_0x107bac[_0x5550fd(0x304)]()),_0x1ca1cf['filter'](_0x5595d6=>!_0x1db671[_0x5550fd(0x384)](_0x5595d6)),_0x1ca1cf[_0x5550fd(0x429)](this[_0x5550fd(0x42d)]))[_0x5550fd(0x431)](_0x237494=>{_0x5bc674(_0x237494);});}};_0xad9565=_0x4d6e9c([_0x246efa(0x0,_0x1db671['Inject'](_0x1db671[_0x3674d4(0x12a)])),_0x246efa(0x1,_0x1db671[_0x3674d4(0x2fa)]),_0x246efa(0x2,_0x1db671[_0x3674d4(0x2c0)]),_0x246efa(0x3,_0x1db671['Inject'](_0x13c6bf[_0x3674d4(0xe2)])),_0x246efa(0x4,_0x1db671[_0x3674d4(0x1ce)](_0x42d231))],_0xad9565);var _0x498b82=Object[_0x3674d4(0x2f2)],_0x1a5e03=(_0x23d356,_0x422846,_0x50a869,_0x2550ab)=>{var _0x431c4c=_0x3674d4;for(var _0x29ff01=_0x2550ab>0x1?void 0x0:_0x2550ab?_0x498b82(_0x422846,_0x50a869):_0x422846,_0x293fd7=_0x23d356[_0x431c4c(0x446)]-0x1,_0x59bd75;_0x293fd7>=0x0;_0x293fd7--)(_0x59bd75=_0x23d356[_0x293fd7])&&(_0x29ff01=_0x59bd75(_0x29ff01)||_0x29ff01);return _0x29ff01;},_0xcdba1b=(_0x1817ad,_0x506d92)=>(_0x4cbb66,_0x4c2570)=>_0x506d92(_0x4cbb66,_0x4c2570,_0x1817ad);_0x13c6bf[_0x3674d4(0x219)]=class{constructor(_0x46d9f4,_0x2a675){this['_configService']=_0x46d9f4,this['_httpService']=_0x2a675;}async[_0x3674d4(0x2bf)](_0x40e273,_0x1aff6a){var _0x2b7d6d=_0x3674d4,_0x36fdaa;const {unitID:_0xa2de37,type:_0x39210a,revision:_0xd26f36=0x0}=_0x1aff6a,_0x11d700=this[_0x2b7d6d(0x1bf)]()+'/'+_0x39210a+'/unit/'+_0xa2de37+_0x2b7d6d(0x21c)+_0xd26f36,_0x54cecb=(await this[_0x2b7d6d(0x124)][_0x2b7d6d(0x3cd)](_0x11d700))[_0x2b7d6d(0x218)],_0x556fcd=(_0x36fdaa=_0x54cecb[_0x2b7d6d(0x22d)])==null?void 0x0:_0x36fdaa[_0x2b7d6d(0x1ed)];if(_0x556fcd){const _0x5cabff=_0x556fcd==null?void 0x0:_0x556fcd[_0x2b7d6d(0x1d0)],_0x56e141=_0x473659[_0x2b7d6d(0xf1)][_0x2b7d6d(0x378)](_0x473659[_0x2b7d6d(0x3fb)](_0x5cabff));_0x556fcd[_0x2b7d6d(0x1d0)]=_0x56e141,Object[_0x2b7d6d(0x371)](_0x556fcd[_0x2b7d6d(0x2d3)])[_0x2b7d6d(0x144)](([,_0x3b38ef])=>{var _0x3ea0f8=_0x2b7d6d;const _0x40f3d4=_0x3b38ef['originalMeta'],_0x2f960e=_0x473659[_0x3ea0f8(0xf1)][_0x3ea0f8(0x378)](_0x473659['b64DecodeUnicode'](_0x40f3d4));_0x3b38ef['originalMeta']=_0x2f960e;});}return _0x54cecb;}async[_0x3674d4(0x295)](_0x357775,_0x23bf75){var _0x1d7f68=_0x3674d4;const {unitID:_0x467e72,type:_0x3f32d7,blockID:_0xb7e148}=_0x23bf75,_0x2fdb91=this[_0x1d7f68(0x149)]()+'/'+_0x3f32d7+'/unit/'+_0x467e72+'/block/'+_0xb7e148;return(await this[_0x1d7f68(0x124)][_0x1d7f68(0x3cd)](_0x2fdb91))[_0x1d7f68(0x218)];}async['getDeserializedSheetBlock'](_0x1adfed,_0x5de5a7){var _0x46f779=_0x3674d4;const {unitID:_0x1d696e,type:_0x314540,blockID:_0x488910}=_0x5de5a7,_0x1c62ec=this[_0x46f779(0x149)]()+'/block/'+_0x314540+_0x46f779(0x209)+_0x1d696e+_0x46f779(0x168)+_0x488910;return(await this[_0x46f779(0x124)]['get'](_0x1c62ec))[_0x46f779(0x218)];}async[_0x3674d4(0x184)](_0x5189e6,_0x1a50b9){var _0x39bb10=_0x3674d4;const {unitID:_0x41283d,type:_0x5a32c0,from:_0x3db207,to:_0x28125b}=_0x1a50b9,_0x574885=this[_0x39bb10(0x149)]()+'/'+_0x5a32c0+'/unit/'+_0x41283d+_0x39bb10(0x26c)+_0x3db207+_0x39bb10(0x2dc)+_0x28125b;return(await this[_0x39bb10(0x124)][_0x39bb10(0x3cd)](_0x574885))[_0x39bb10(0x218)];}[_0x3674d4(0x1bf)](){var _0x319b1e=_0x3674d4,_0x202422;return(_0x202422=this[_0x319b1e(0x3c5)][_0x319b1e(0x3f5)](_0x1870f7))!=null?_0x202422:this[_0x319b1e(0x149)]();}[_0x3674d4(0x149)](){var _0x5e4940=_0x3674d4,_0x33a326,_0x57bed4;const _0x3773f1=this[_0x5e4940(0x3c5)][_0x5e4940(0x3f5)](_0xb7b4fb),_0x4b86b7=this[_0x5e4940(0x3c5)][_0x5e4940(0x3f5)](_0x3edafe);return(_0x57bed4=(_0x33a326=_0x4b86b7==null?void 0x0:_0x4b86b7[_0x5e4940(0x34d)])!=null?_0x33a326:_0x3773f1)!=null?_0x57bed4:_0x52ace6;}async[_0x3674d4(0x1f4)](_0x5c2923,_0x465abb){var _0x44a80d=_0x3674d4;const _0xd3e410=_0x44a80d(0x3df)+_0x465abb[_0x44a80d(0x16e)]+_0x44a80d(0x209)+_0x465abb[_0x44a80d(0x36d)]+'/resources';return(await this[_0x44a80d(0x124)]['get'](_0xd3e410,{'params':{'resourceId':JSON[_0x44a80d(0x109)](_0x465abb['resourceIDs'])}}))[_0x44a80d(0x218)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x10a7bb=_0x3674d4;throw new Error(_0x10a7bb(0xf7));}[_0x3674d4(0x27c)](){var _0x58f0bc=_0x3674d4;throw new Error(_0x58f0bc(0xf7));}[_0x3674d4(0x3bc)](){var _0x4d946e=_0x3674d4;throw new Error(_0x4d946e(0xf7));}[_0x3674d4(0x181)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x13c6bf['SnapshotServerOverHTTPService']=_0x1a5e03([_0xcdba1b(0x0,_0x1db671[_0x3674d4(0x25a)]),_0xcdba1b(0x1,_0x1db671[_0x3674d4(0x1ce)](_0x160ac5[_0x3674d4(0x264)]))],_0x13c6bf[_0x3674d4(0x219)]);var _0x171f40=Object[_0x3674d4(0x2f2)],_0x35946c=(_0xf4546e,_0x180456,_0xc7d27e,_0x1b922c)=>{var _0x4f565e=_0x3674d4;for(var _0x1a753c=_0x1b922c>0x1?void 0x0:_0x1b922c?_0x171f40(_0x180456,_0xc7d27e):_0x180456,_0x1e50c5=_0xf4546e[_0x4f565e(0x446)]-0x1,_0x13906c;_0x1e50c5>=0x0;_0x1e50c5--)(_0x13906c=_0xf4546e[_0x1e50c5])&&(_0x1a753c=_0x13906c(_0x1a753c)||_0x1a753c);return _0x1a753c;},_0x5eb809=(_0x273866,_0xdf4b3c)=>(_0x3a0d8e,_0x58fc07)=>_0xdf4b3c(_0x3a0d8e,_0x58fc07,_0x273866);_0x13c6bf[_0x3674d4(0x118)]=class extends _0x1db671[_0x3674d4(0x17e)]{constructor(_0x420695,_0x137ace,_0x39b644,_0x1f19c7,_0x3cf6b5){var _0x5e0f81=_0x3674d4;super(_0x420695,_0x137ace,_0x39b644),this[_0x5e0f81(0x3ad)]=_0x1f19c7,this[_0x5e0f81(0x43a)]=_0x3cf6b5;}['transformUndoRedo'](_0x5e8797,_0x1ea164){var _0xad3596=_0x3674d4;const _0x2a3568=this[_0xad3596(0x291)](_0x5e8797);if(_0x2a3568)try{const _0x38e237=this[_0xad3596(0x202)](_0x2a3568,_0x1ea164);this[_0xad3596(0x3cb)](_0x5e8797,_0x38e237);}catch(_0x1321ed){this[_0xad3596(0x43a)]['error'](_0xad3596(0x2dd),_0x1321ed),this[_0xad3596(0x41f)](_0x5e8797);}const _0x5e5be1=this['_getRedoStack'](_0x5e8797);if(_0x5e5be1)try{const _0x4b541a=this['_transformStack'](_0x5e5be1,_0x1ea164);this[_0xad3596(0x246)](_0x5e8797,_0x4b541a);}catch(_0x4455e9){this[_0xad3596(0x43a)]['error'](_0x4455e9),this[_0xad3596(0x3ee)](_0x5e8797);}}[_0x3674d4(0x41f)](_0x31cab5){var _0x18fd40=_0x3674d4;const _0x27b150=this[_0x18fd40(0x291)](_0x31cab5);_0x27b150&&(_0x27b150[_0x18fd40(0x446)]=0x0,this['_updateStatus']());}[_0x3674d4(0x3ee)](_0x485fc1){var _0x9cb249=_0x3674d4;const _0x3466af=this[_0x9cb249(0x164)](_0x485fc1);_0x3466af&&(_0x3466af[_0x9cb249(0x446)]=0x0,this[_0x9cb249(0x3f7)]());}['_substituteUndoStack'](_0x2f4ca3,_0x16e38c){var _0x1bbb49=_0x3674d4;this['_undoStacks']['set'](_0x2f4ca3,_0x16e38c),this[_0x1bbb49(0x3f7)]();}['_substituteRedoStack'](_0x1b5eff,_0x26107c){var _0x6fca90=_0x3674d4;this[_0x6fca90(0xe7)][_0x6fca90(0x35d)](_0x1b5eff,_0x26107c),this[_0x6fca90(0x3f7)]();}['_transformStack'](_0x31e585,_0x4c1adc){var _0x235557=_0x3674d4;const _0x681902=[];let _0x4fea5a=_0x4c1adc,_0x448e11=_0x4c1adc;for(let _0x3d8ebe=_0x31e585[_0x235557(0x446)]-0x1;_0x3d8ebe>=0x0;_0x3d8ebe--){const {unitID:_0x24f089,undoMutations:_0x1bba4b,redoMutations:_0x46a09f}=_0x31e585[_0x3d8ebe],_0x4bc06d=this[_0x235557(0x3ad)][_0x235557(0x262)](_0x4fea5a,_0x1bba4b),_0x29f26c=this['_transformService'][_0x235557(0x262)](_0x448e11,_0x46a09f);if(_0x473659['isTransformMutationsWithChangesetFailure'](_0x4bc06d)||_0x473659[_0x235557(0xef)](_0x29f26c)){this[_0x235557(0x43a)][_0x235557(0x36a)](_0x235557(0x2dd),_0x235557(0xf8),_0x4bc06d,_0x29f26c);break;}_0x4fea5a=_0x4bc06d[_0x235557(0x267)],_0x448e11=_0x29f26c[_0x235557(0x267)],_0x681902['push']({'unitID':_0x24f089,'undoMutations':_0x4bc06d['m2Prime'],'redoMutations':_0x29f26c[_0x235557(0x398)]});}return _0x681902[_0x235557(0x25f)]();}},_0x13c6bf[_0x3674d4(0x118)]=_0x35946c([_0x5eb809(0x0,_0x1db671['IUniverInstanceService']),_0x5eb809(0x1,_0x1db671[_0x3674d4(0x28d)]),_0x5eb809(0x2,_0x1db671['IContextService']),_0x5eb809(0x3,_0x473659['ITransformService']),_0x5eb809(0x4,_0x1db671[_0x3674d4(0x271)])],_0x13c6bf[_0x3674d4(0x118)]);var _0x130606=Object[_0x3674d4(0x3eb)],_0x13585d=Object[_0x3674d4(0x2f2)],_0xbe80bf=(_0x209ab7,_0x1b72e8,_0x2439c0)=>_0x1b72e8 in _0x209ab7?_0x130606(_0x209ab7,_0x1b72e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2439c0}):_0x209ab7[_0x1b72e8]=_0x2439c0,_0xcc11d3=(_0x379290,_0x5f06b9,_0x3f7aa3,_0x2629c5)=>{for(var _0x1c23b9=_0x2629c5>0x1?void 0x0:_0x2629c5?_0x13585d(_0x5f06b9,_0x3f7aa3):_0x5f06b9,_0x2d9eee=_0x379290['length']-0x1,_0x4d01e3;_0x2d9eee>=0x0;_0x2d9eee--)(_0x4d01e3=_0x379290[_0x2d9eee])&&(_0x1c23b9=_0x4d01e3(_0x1c23b9)||_0x1c23b9);return _0x1c23b9;},_0x100528=(_0x5f4269,_0x5e25bc)=>(_0x2b070f,_0x41ed23)=>_0x5e25bc(_0x2b070f,_0x41ed23,_0x5f4269),_0x47f0e8=(_0x479483,_0x3a3668,_0x5e5659)=>_0xbe80bf(_0x479483,_0x3a3668+'',_0x5e5659);const _0x59337b='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x13c6bf[_0x3674d4(0x457)]=class extends _0x1db671[_0x3674d4(0x20c)]{constructor(_0x5aca5e,_0x198632,_0x42bb42,_0x3dc951){var _0x2afe68=_0x3674d4;super(),_0x47ca49(this,_0x2afe68(0x269)),(this['_logService']=_0x198632,this[_0x2afe68(0x44d)]=_0x42bb42,this[_0x2afe68(0x3c5)]=_0x3dc951);const {..._0x4c2a5e}=_0x1db671['merge']({},_0x590690,_0x5aca5e);if(!_0x4c2a5e[_0x2afe68(0x16a)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2afe68(0x269)]=_0x4c2a5e,this[_0x2afe68(0x3c5)][_0x2afe68(0x2a4)](_0x3edafe,_0x4c2a5e);}[_0x3674d4(0x2f1)](){var _0x486f5e=_0x3674d4;this[_0x486f5e(0x105)](),this[_0x486f5e(0x41c)]();}[_0x3674d4(0x105)](){var _0xf223a1=_0x3674d4,_0x1541ca,_0x1cca28;this[_0xf223a1(0x44d)][_0xf223a1(0x298)](_0x1db671[_0xf223a1(0x31b)])&&this[_0xf223a1(0x43a)][_0xf223a1(0x36a)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2cbd41=_0x1db671[_0xf223a1(0x3c0)]([[_0x1db671[_0xf223a1(0x31b)],{'useClass':_0x13c6bf[_0xf223a1(0x118)]}],[_0x13c6bf['CollaborationSessionService']],[_0x13c6bf[_0xf223a1(0x1b3)]],[_0x13c6bf['SheetTransformSelectionsService']],[_0x2255c3],[_0x106433],[_0xad72e5],[_0xad9565],[_0x42d231],[_0x13c6bf[_0xf223a1(0x1fc)]],[_0x5d68bb,{'useClass':this[_0xf223a1(0x269)][_0xf223a1(0x16a)]}],[_0x473659[_0xf223a1(0x3aa)],{'useClass':_0x13c6bf[_0xf223a1(0x219)]}],[_0x1db671[_0xf223a1(0x133)],{'useClass':_0x13c6bf['AuthzIoHttpService']}],[_0x18c9ec[_0xf223a1(0x340)],{'useClass':_0x13c6bf[_0xf223a1(0x2de)]}],[_0x1db671[_0xf223a1(0x460)],{'useClass':_0x13c6bf[_0xf223a1(0x315)]}],[_0x13c6bf[_0xf223a1(0x2aa)]],[_0x2e1dcf]],(_0x1541ca=this[_0xf223a1(0x269)])==null?void 0x0:_0x1541ca[_0xf223a1(0x342)]);if(!((_0x1cca28=this[_0xf223a1(0x269)])!=null&&_0x1cca28[_0xf223a1(0x31c)])){const _0x36b23e=_0x2cbd41[_0xf223a1(0x125)](([_0x5f96e9])=>_0x5f96e9===_0x2899dc);_0x36b23e!==-0x1&&_0x2cbd41[_0xf223a1(0x2e9)](_0x36b23e,0x1);}_0x1db671[_0xf223a1(0x390)](this[_0xf223a1(0x44d)],_0x2cbd41);}['_initDependencies'](){var _0x4eb9b3=_0x3674d4,_0x2d008a,_0x1f1889,_0x524237;this['_injector'][_0x4eb9b3(0x3cd)](_0x160ac5[_0x4eb9b3(0x264)])[_0x4eb9b3(0x442)]({'priority':0x14,'interceptor':_0x160ac5[_0x4eb9b3(0x169)]({'maxParallel':0x6})}),(_0x2d008a=this[_0x4eb9b3(0x269)])!=null&&_0x2d008a[_0x4eb9b3(0x14a)]||(_0x1f1889=this[_0x4eb9b3(0x44d)][_0x4eb9b3(0x3cd)](_0x358068,_0x1db671['Quantity'][_0x4eb9b3(0x359)]))==null||_0x1f1889[_0x4eb9b3(0x3ca)](),(_0x524237=this[_0x4eb9b3(0x269)])!=null&&_0x524237['enableAuthServer']&&_0x1db671[_0x4eb9b3(0xf5)](this[_0x4eb9b3(0x44d)],[[_0x2255c3]]),_0x1db671['touchDependencies'](this[_0x4eb9b3(0x44d)],[[_0x106433],[_0x13c6bf[_0x4eb9b3(0x2aa)]],[_0xad9565]]);}},_0x47f0e8(_0x13c6bf[_0x3674d4(0x457)],_0x3674d4(0x3d5),_0x59337b),_0x13c6bf[_0x3674d4(0x457)]=_0xcc11d3([_0x1db671[_0x3674d4(0x34f)](_0x473659[_0x3674d4(0x201)],_0x160ac5['UniverNetworkPlugin']),_0x100528(0x1,_0x1db671['ILogService']),_0x100528(0x2,_0x1db671[_0x3674d4(0x1ce)](_0x1db671['Injector'])),_0x100528(0x3,_0x1db671[_0x3674d4(0x25a)])],_0x13c6bf[_0x3674d4(0x457)]),_0x13c6bf[_0x3674d4(0x12f)]=_0x554be2,_0x13c6bf[_0x3674d4(0x3e9)]=_0x3edafe,_0x13c6bf['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x399e8e,_0x13c6bf[_0x3674d4(0x18d)]=_0x2df92c,_0x13c6bf[_0x3674d4(0x424)]=_0x1cac78,_0x13c6bf[_0x3674d4(0x42b)]=_0x423d42,_0x13c6bf['CollaborationUIEventService']=_0x42d231,_0x13c6bf[_0x3674d4(0x409)]=_0xad72e5,_0x13c6bf[_0x3674d4(0x2a6)]=_0x41e25e,_0x13c6bf[_0x3674d4(0x3e7)]=_0x320a44,_0x13c6bf[_0x3674d4(0x2a5)]=_0x80fcb5,_0x13c6bf[_0x3674d4(0x2ed)]=_0xd8d5db,_0x13c6bf[_0x3674d4(0x2ac)]=_0x21bc0b,_0x13c6bf[_0x3674d4(0x38f)]=_0x5d68bb,_0x13c6bf['ILocalCacheService']=_0x358068,_0x13c6bf[_0x3674d4(0x333)]=_0x40b6f5,_0x13c6bf[_0x3674d4(0x2a3)]=_0x2899dc,_0x13c6bf['LOCAL_CACHE_INTERVAL']=0x3e8,_0x13c6bf[_0x3674d4(0x3dc)]=_0x258ece,_0x13c6bf[_0x3674d4(0x3d0)]=_0x2918c4,_0x13c6bf[_0x3674d4(0x1a8)]=_0x4790c1,_0x13c6bf[_0x3674d4(0x236)]=_0x5b2b66,_0x13c6bf[_0x3674d4(0x372)]=_0x2aefdf,_0x13c6bf['SNAPSHOT_SERVER_URL_KEY']=_0xb7b4fb,_0x13c6bf[_0x3674d4(0x2e6)]=_0x1870f7,_0x13c6bf[_0x3674d4(0x440)]=_0x284fc8,_0x13c6bf[_0x3674d4(0x2e5)]=_0x55cbb3,_0x13c6bf['deserializeToCombResponse']=_0x3f44a3,_0x13c6bf[_0x3674d4(0x44e)]=_0x5a4eb1,_0x13c6bf[_0x3674d4(0x22a)]=_0xd3fbbe,Object[_0x3674d4(0x3eb)](_0x13c6bf,Symbol[_0x3674d4(0x13f)],{'value':_0x3674d4(0x3a9)});}));function _0x14a2(){var _0x52f0eb=['encode','dispose','_process','ivSize','[CollaborationSessionService]:\x20socket\x20error','onTransformRemoteChangesetByStateCache','RxDisposable','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_onUserJoin','decryptBlock','_remoteChangesetQueue','objectID','isInternalEditorID','save\x20fail\x20reason\x20is\x20','UNKNOWN_CMD','BlockCipher','_unlockTransition','awaitingChangeset','getTime','kdf','_nDataBytes','LICENSE_MAX_UNITS_EXCEEDED','People','ICollaborationSocketService','registerDependencies','_resendTimeout','url','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','isTransformMutationsWithChangesetSuccess','SNAPSHOT_INVALID_SNAPSHOT','liveShareOperation','_nRounds','m2Prime','RETRY_CONNECTING_MAX_COUNT','href','shouldCloseConn','_getLoginPath','$super','\x20-\x20','leaveEvent','close$','parse','socket$','map','INTERNAL_ERROR','_replaceFileID','connection\x20error','getCollabEntity','SOCKET_FAILED','Module','ISnapshotServerService','_showConflictNotification','finalize','_transformService','UNISCRIPT_RUN','LICENSE_EXPORT_SIZE_EXCEEDED','_state$','FAIL','_sessionStatus$','/universer-api/comb','_getDownloadEndpointURL','COMPRESS_MUTATION_APPLY','CHANGESET_REJ','_onConnectionOpen','/allowed','_onConflict','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_univerInstanceService','copyFileMeta','random','getImageSourceCache','setShowComponents','mergeOverrideWithDependencies','_transformUndoredo','LIVESHARE_FETCH_OPERATIONS','?url=','UniverSheets','_configService','_retryConnectingTimer','_startCollaboration','objects','_onRemoteACK','disableLocalCache','_substituteUndoStack','HttpImport','get','error$','string','LOGIN_URL_KEY','toString','getRandomValues','mode','CONFLICT','pluginName','Could\x20not\x20dynamically\x20require\x20\x22','batchAllowed','BehaviorSubject','_iv','SheetCollaborationEntity','GLOBAL_ROOMS_CNT_EXCEEDS','LOCAL_CACHE_INTERVAL_KEY','_transformIMECache','take','/universer-api/snapshot/','setCurrentUser','_rescheduleHeartbeat','keySize','MD5','@univerjs/core','SNAPSHOT_SERVER_URL_KEY','OpenSSL','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','RichTextEditingMutation','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_onOffline','defineProperty','repeat','startsWith','_clearRedo','addImageSourceCache','symbol','OTHER_CLIENT_EDITING','collaboration_new_changeset','refreshPermission','onMissedChangesetFetched','getConfig','EmptyMutation','_updateStatus','event$','failed\x20to\x20apply\x20missed\x20changesets!','UniverTelemetry','b64DecodeUnicode','_prevBlock','@univerjs/network','call','Base','NoPadding','_revisionService','280246pbVHpD','[CollaborationSessionService]','_loadDoc','clamp','_change$','_minBufferSize','loginUrlKey','CommentService','c2Prime','origin','SerializableCipher','JOIN','function','padding','loadOfflineData','_getSignURL','BufferedBlockAlgorithm','StreamCipher','UNIVER_DOC','ImageUploadStatusType','_status$','ITelemetryService','_clearCollaborationTimeoutTimer','AES','_collabSessionService','hasOwnProperty','_initDependencies','csAckEvent','getTypeOfUnitAdded$','_clearUndo','appendMutation','getCurrentUser','append','asObservable','CollaborationStatus','_checkMissing','mapDocumentTypeToUniverType','POST','isArray','takeUntil','_initCloseConn','CollaborationUIEventId','UNIVER_SLIDE','dispose$','range','_toggleOffline','PERMISSION_REJ','subscribe','_networkConditionService','resend','_unitInfo$','_keySchedule','&source=','onTransformState','ALREADY_EXISTS','_fetchMissChangesets','_logService','equals','_tryReconnect','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_scheduleCompleteTimestamp','CHANGESET_REVISION_CONFILICT','SessionStatus','_submitChangeset','registerHTTPInterceptor','title','_onCombEvent','getImage','length','catch','createIdentifier','288XRnqTN','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','signUrlServerUrl','transformSelections','_injector','getLocalCacheKey','CHANGESET_ACK','SheetTransformSelectionsService','unitId','_socketService','roomInfos','actions','operators','_append','UniverCollaborationClientPlugin','saveImage','_collaborationUIEventService','UniverInstanceType','UserManagerService','byteLength','_updateLocalCache','HMAC','image/jpeg','IMentionIOService','LIVESHARE_REQUEST_HOST','_sessions','_cipher','ERROR_IMAGE','_queuedRemoteChangesets','PERMISSION_DENIED','_schedule','delay','CollaborationSessionService','[CollaborationSession]','randomBytes','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_transformRemoteChangesetByStateCache','_redoStacks','updateCollaborator','delete','fetchThroughInterceptors','requireSession','getTypeOfUnitDisposed$','floor','[CollaborationState]:\x20apply\x20error!','isTransformMutationsWithChangesetFailure','_hasher','textEncoder','clear','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','min','touchDependencies','\x20to\x20','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','transformStack\x20failed!','_collaborationSessionService','unknown','Encryptor','format','transformChangesets','unitId\x20is\x20not\x20found','_telemetryService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','?size=','memberID','@univerjs/docs','_registerDependencies','USERS_LEAVE','randomUUID','SnapshotService','stringify','setWaitCount','substr','FileId','_createHelper','socket\x20open.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','crypto','x-univer-host','src','createInstance','UPDATE_CURSOR','Malformed\x20UTF-8\x20data','RECV','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','CollaborativeUndoRedoService','_applyRemoteChangeset','ENSURE_SNAPSHOT_EXECUTION','OfflineState','_isPermissionRej','getUnit','concatMap','_sheetTransformSelectionsService','@univerjs/sheets','25124605jfuGMe','_transformSelections','HttpExport','_httpService','findIndex','reduce','_getCtorByUniverType','_ENC_XFORM_MODE','join','Injector','onTransformSelections','_onRemoteRejected','onRemoteRej','isTransformChangesetsSuccess','AUTHZ_URL_KEY','_doReset','HEARTBEAT','_memberService','IAuthzIoService','message$','Base64','parseProtocolChangeset','_parse','toggleOffline','telemetry\x20info\x20is\x20not\x20initialized','198840YCAkVE','_createHmacHelper','ceil','828168dHqdCT','status','toStringTag','AWAITING_WITH_PENDING','_socket','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','PSEUDO_FETCH_MISSING_RESULT','forEach','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','PERSON','_doCryptBlock','_onRemoteRetry','_getAPIPrefix','enableOfflineEditing','DocCollaborationEntity','code','DisposableCollection','UNRECOGNIZED','/collaborator','compute','session.room-cnt-exceeds','ISocketService','HEARTBEAT_INTERVAL','LIVESHARE_TERMINATE','sigBytes','bind','getCollabEntity$','HELLO','COLLAB_SUBMIT_CHANGESET_URL','_pendingMutations','COMPRESS_MUTATION_SEND','2449810pNZbPd','editingUnit','result','enc','buffer','toDisposable','_resendTimer','_handlerCallback','_getRedoStack','12CHVZth','_acknowledgedAwaitingChangeset','putCollaborators','/block/','ThresholdInterceptorFactory','socketService','getAllMembers','object','_keyPriorReset','type','createDecryptor','[OfflineState]:\x20received\x20acknowledgement.','byteOffset','confirm','Hasher','[PendingState]:\x20received\x20rejection.','now','_invKeySchedule','unpad','sin','ws://127.0.0.1:8000/universer-api/comb/connect','createCollaborator','SOCKET_FAILED_RETRY','add','WorkbookEditablePermission','LocalUndoRedoService','_waitForHeartbeatResponse','TOO_MANY_REQUESTS','getLatestCsReqIdBySid','status$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMissingChangesets','/-/object/list','put','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','charAt','cfg','push','post','_singleActiveUnitService','COLLAB_WEB_SOCKET_URL_KEY','_onConnectionFailed','rxjs','_startTelemetryCollaborationNewChangeset','_imageSourceCache','_userManagerService','RevisionService','[DataLoaderService]','[SyncedState]:\x20received\x20acknowledgement.','ciphertext','/new_changes','iterations','_emitMembers','submit\x20changeset\x20error!','EvpKDF','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','params','_localCacheService','getUnitType','FETCH_MISS','_sendHeartbeatTimer','univer-pro.collaboration-client-socket-service','mixIn','update','permissionRejEvent','image/jpg','every','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','session','FETCH_MISSING','_resendWithTimeout','create','ImageSourceType','SUBMIT_CHANGESET_TIMEOUT','focused$','_executeRemoteChangeset','CompressMutationService','rev','MemberService','collabWebSocketUrl','isPermissionRej','image/gif','YUUMI_UNABLE_LOAD_URL','DEFAULT_FILE_NAME','_sendHeartbeat','subUnitId','_onFetchMissResult','pad','APPLY_PERMISSION_DENIED','UNIVER_PROJECT','getSnapshotAPIPath','_onMessage','_init','rxjs/operators','parseChangesetToProtocol','getFocusedUnit','filter','reject','CipherParams','onTransformIME','getSheetId','_entityInit$','LIVESHARE_OPERATION','_decreaseWaiting','waitForRoom$','Inject','CollaborationSession','originalMeta','target','patch','collaMsg','localeService','_waitCount','@univerjs-pro/collaboration','_hash','removeMember','Cipher','UNAUTHENTICATED','UniverProCollaboration','USER_NOT_INVITED_CODE','session.room-not-exists','image/bmp','formatter','_members','INGEST','updatePermissionPoint','_unitID','Latin1','Undefined','CLOSE_ROOM','_localeService','ConflictState','extend','_socketMessageSubscription','replace','collaboration-client.config','workbook','reqId','Rectangle','reset','interceptor','collabSubmitChangesetUrl','/object','getResourcesRequest','_compressMutationService','LocaleService','conflict','Univer','_iKey','{fileID}','ERROR_IMAGE_TYPE','DataLoaderService','_roomMembers','Disposable','_onRemoteChangeset','COMPLETION_FINISHED','UniverCollaborationPlugin','_transformStack','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','YUUMI_URL_COL_OUT_OF_RANGE','_disableEditing','JOIN_ROOM_FULL','LICENSE_DISTRO_REJECTED','_members$','/unit/','HEARTBEAT_TIMEOUT','headers','Plugin','_timeoutTimer','Pkcs7','onRemoteChangeset','_socket$','CommandType','/object/','localCacheService','HmacSHA1','readInt32LE','downloadEndpointUrl','PY_RUNTIME_SCRIPT_ERROR','body','SnapshotServerOverHTTPService','_collaborationTimeoutTimer','default','/rev/','uniscriptRunEvent','not_collab','_tryEnsureSocket','2524OghhYz','UPDATE_PERMISSION_OBJ','prototype','_getCurrentRevision','_awaitingChangeset','\x0aAfter:\x20','IDLE','getWorkbookSelections','unitInfo$','updateMember','serializeCombRequest','unsubscribe','key','snapshot','state$','USERS_ENTER','univer-pro.collaboration-client.single-active-unit-service','_clearTimeoutTimer','_initRequestHeader','getGlobalObject','encryptBlock','subject','RETRY_CONNECTING_MAX_COUNT_KEY','INVITE_CODE_ALREADY_BOUND','CollaborationEntity','members$','APPLY_REVISION_CONFILICT','_toggleOnline','_roomCreated$','_createHandler','MentionType','algo','[CollaborationEntity]','UNIVER_UNKNOWN','pipe','/universer-api/user/session-ticket','_HTTPService','ITransformService','_substituteRedoStack','objectActions','_throwTelemetryCollaborationNewChangeset','_getSendChangesetTimeout','_type','AwaitingWithPendingState','InsertSheetMutation','MUTATION','decrypt','sessionStatus','loadUnit','concat','blockSize','_shouldReportTelemetry','auth.needGotoLoginAlert','awaiting_with_pending','UniverDrawing','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','UNIVER_SHEET','INVITE_CODE_REQUIRED','IConfigService','_clearHeartbeatTimer','size','changesets','_reverseMap','reverse','__esModule','&assign=','transformMutationsWithChangeset','_sendingTimer','HTTPService','WordArray','onMissingChangesets','c1Prime','_commentUpdate$','_config','_stopTelemetryCollaborationNewChangeset','listRoles','/fetchmissing?from=','readyForCollab','ReplaySubject','method','onLocalMutation','ILogService','onCommentUpdate','disposeWithMe','AwaitingState','_createInitialState','withCredentials','YUUMI_RATE_OVER_LIMIT','_getAPIPrefixPath','objectType','executeCommand','Tools','saveChangeset','UniverProCollaborationClient','ONLINE','_transformStateCache','_event$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','find','[PendingState]:\x20received\x20acknowledgement.','getMember','INVALID_INVITE_CODE','LEAVE','@univerjs-pro/license','transformUndoRedo','_initMergeInterceptor','_lockTransition','emitEvent','list','ICommandService','onSyncEditingCollabCursor','baseRev','editing\x20status\x20changed\x20to','_getUndoStack','addHandlerCallback','loadSheet','SHOULD_CLOSE_CONN','getSheetBlock','getInterceptPoints','image/png','has','FetchingMissState','sessionStatus$','UNKNOWN_CODE','values','firstValueFrom','UniverNetwork','cmd','salt','synced','onTransformRemoteChangesetByIMECache','ISingleActiveUnitService','setConfig','DEFAULT_WS_SESSION_TICKET_URL','DEFAULT_COLLAB_WEB_SOCKET_URL','JOIN_ROOM_FAILED','apply','updateOfflineData','CollaborationController','change$','HEARTBEAT_TIMEOUT_KEY','NOT_FOUND','sequenceExecute','readAsDataURL','Subject','pending','compose','CONNECTOR_DATA_TOO_LARGE','session.room-permission-denied','_telemetryInfo','AuthzIoHttpService','encrypt','reconnect','_snapshotServerService','deleteCollaborator','userID','@univerjs/telemetry','_onJoinRoomEvent','CollaborationEvent','getUnitOnRev','IPermissionService','Optional','_clearLocalCache','/universer-api/stream/file/upload','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateState','SyncedState','AWAITING','sid','fromCollab','YUUMI_SUBSCRIPTION_NOT_FOUND','allowed','CHANGESET_SHOULD_RETRY','merge','Decryptor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SHA1','requestParams','lib','sheets','from','updatePermissionObjEvent','words','_loadSheet','LOGIN_FAILED','_doCreateSocket','commentUpdate$','toLowerCase','&to=','[CollaborationUndoRedoService]','CollaborationImageIoService','_snapshotService','_permissionService','_map','APPLY_REJECT','MergeInterceptorFactory','debug','UnitStatus','SNAPSHOT_URL_KEY','msCrypto','getCurrentRevOfUnit','splice','retryConnectingInterval','_clearScheduledTask','/-/object/-/batch_allowed','HEARTBEAT_INTERVAL_KEY','online$','NO_OTHER_CLIENTS_EDITING','__Key__','onStarting','getOwnPropertyDescriptor','__creator','charCodeAt','_initUnitPermissionChange','hasher','SheetsSelectionsService','_onUserLeave','_incrementRevisionNumber','IUniverInstanceService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','state','_instanceService','revision','clone','_socketReady','LICENSE_IMPORT_SIZE_EXCEEDED','_scheduleCollaborationTimeoutTimer','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getUnitId','_syncEditingCollabCursor','routeKey','_state','onRemoteRetry','APPLY_NON_SEQUENTIAL_REVISION','generateRandomId','OFFLINE','execute','_retryCount','_candidateSocket','_xformMode','_undoRedoService','Hex','SUBMIT_CHANGESET','fetchMiss','abs','MentionIoHttpService','listCollaborators','next','textRanges','collaborators','max','IUndoRedoService','enableSingleActiveInstanceLock','SEND_CHANGESET_TIMEOUT','slice','31188kqpvEB','authzUrl','encodeURIComponent','send','mutations','_data','COMMENT_UPDATE','toggleOnline','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','avatar','_onLocalMutation','loadDoc','UnitEmbedded','SNAPSHOT_HAS_BEEN_REMOVED','2845FNCwHI','action','/universer-api/file/{fileID}/sign-url','OTHER_CLIENTS_EDITING','getActiveSheet','_sender','INetworkConditionService','createEncryptor','\x0aCurrent:\x20','_commandService','onRemoteAck','PasswordBasedCipher','eventID','session.room-full','close','includes','917RgBwjY','_entities','awaiting','IImageIoService','commentUpdateEvent','override','Utf8','INVALID_ARGUMENT','startTime','exports','/universer-api/oidc/authpage','[SyncedState]:\x20received\x20rejection.','_commentService','JOIN_ROOM_NOT_EXISTS','_doProcessBlock','UNDEFINED','snapshotServerUrl','data','DependentOn','_changesetSessionId','PendingState','_key','_removeRoom','UniverDocs','_oKey','init','complete','_getUploadFileURL','OPTIONAL','LIVESHARE_NEW_HOST','SetSelectionsOperation','JOIN_ROOM_PERMISSION_DENIED','set','location','joinRsp','offline','[FetchMissState]','JOINING','onlyLocal','CollaborationSocketService','_collaborationPaused','/universer-api/snapshot','_clearRetryConnectingTimer','Workbook','_transitionLocked','error','_mode','open$','unitID','_changesetReqId','UnitSnapshot','name','entries','SEND_CHANGESET_TIMEOUT_KEY','_handler','fetch_missing','collaboration-client.local-cache-service','_joinRoom','stopTime'];_0x14a2=function(){return _0x52f0eb;};return _0x14a2();}
|